2026-05-18 13:19:58 +03:30
|
|
|
<div class="flex flex-col gap-4">
|
|
|
|
|
<app-card-data cardTitle="اطلاعات پروفایل" [editable]="true" [(editMode)]="editing">
|
2026-06-16 15:47:23 +03:30
|
|
|
<ng-template #moreActions>
|
|
|
|
|
<p-button type="button" variant="outlined" size="small" (onClick)="openResetPasswordDialog()">
|
|
|
|
|
تغییر گذرواژه
|
|
|
|
|
</p-button>
|
|
|
|
|
</ng-template>
|
2026-05-18 13:19:58 +03:30
|
|
|
<div class="listKeyValue">
|
|
|
|
|
<app-key-value label="تصویر" [value]="profile()?.logo_url" type="thumbnail" />
|
|
|
|
|
<app-key-value label="عنوان" [value]="profile()?.name" />
|
|
|
|
|
<app-key-value label="کد" [value]="profile()?.code" />
|
|
|
|
|
</div>
|
|
|
|
|
</app-card-data>
|
|
|
|
|
|
|
|
|
|
@if (editing()) {
|
|
|
|
|
<partner-profile-form [(visible)]="editing" [initialValues]="profile()!" (onSubmit)="onEditSuccess()" />
|
|
|
|
|
}
|
|
|
|
|
</div>
|
2026-06-16 15:47:23 +03:30
|
|
|
|
|
|
|
|
<shared-change-password-form-dialog
|
|
|
|
|
[(visible)]="resetPasswordDialog"
|
|
|
|
|
[showCurrentPasswordField]="true"
|
|
|
|
|
[loading]="resetPasswordLoading()"
|
|
|
|
|
(onSubmit)="resetPassword($event)" />
|