<div class="flex flex-col gap-4">
  <app-card-data cardTitle="اطلاعات پروفایل" [editable]="true" [(editMode)]="editing">
    <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>

  <partner-reset-password-card />

  @if (editing()) {
    <partner-profile-form [(visible)]="editing" [initialValues]="profile()!" (onSubmit)="onEditSuccess()" />
  }
</div>
