@alfadocs/ui-kit 1.146.0 → 1.147.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/_chunks/{prescription-history-CYCg6nxp.js → prescription-history-CFs3JMIE.js} +718 -717
  2. package/dist/_chunks/registry-connection-panel-ACOsXu3F.js +529 -0
  3. package/dist/agent-catalog.json +4 -4
  4. package/dist/agent-i18n/en.json +2 -2
  5. package/dist/browser-support.js +1 -1
  6. package/dist/components/registry-connection-panel/index.js +1 -1
  7. package/dist/components/registry-connection-panel/registry-connection-panel.d.ts +14 -0
  8. package/dist/i18n/locales/ar.d.ts +1 -0
  9. package/dist/i18n/locales/ar.js +1 -0
  10. package/dist/i18n/locales/de.d.ts +1 -0
  11. package/dist/i18n/locales/de.js +1 -0
  12. package/dist/i18n/locales/el.d.ts +1 -0
  13. package/dist/i18n/locales/el.js +1 -0
  14. package/dist/i18n/locales/en.d.ts +1 -0
  15. package/dist/i18n/locales/en.js +1 -0
  16. package/dist/i18n/locales/es.d.ts +1 -0
  17. package/dist/i18n/locales/es.js +1 -0
  18. package/dist/i18n/locales/fr.d.ts +1 -0
  19. package/dist/i18n/locales/fr.js +1 -0
  20. package/dist/i18n/locales/hi.d.ts +1 -0
  21. package/dist/i18n/locales/hi.js +1 -0
  22. package/dist/i18n/locales/it.d.ts +1 -0
  23. package/dist/i18n/locales/it.js +1 -0
  24. package/dist/i18n/locales/ja.d.ts +1 -0
  25. package/dist/i18n/locales/ja.js +1 -0
  26. package/dist/i18n/locales/nl.d.ts +1 -0
  27. package/dist/i18n/locales/nl.js +1 -0
  28. package/dist/i18n/locales/pl.d.ts +1 -0
  29. package/dist/i18n/locales/pl.js +1 -0
  30. package/dist/i18n/locales/pt.d.ts +1 -0
  31. package/dist/i18n/locales/pt.js +1 -0
  32. package/dist/i18n/locales/ro.d.ts +1 -0
  33. package/dist/i18n/locales/ro.js +1 -0
  34. package/dist/i18n/locales/ru.d.ts +1 -0
  35. package/dist/i18n/locales/ru.js +1 -0
  36. package/dist/i18n/locales/sq.d.ts +1 -0
  37. package/dist/i18n/locales/sq.js +1 -0
  38. package/dist/i18n/locales/sv.d.ts +1 -0
  39. package/dist/i18n/locales/sv.js +1 -0
  40. package/dist/i18n/locales/tr.d.ts +1 -0
  41. package/dist/i18n/locales/tr.js +1 -0
  42. package/dist/i18n/locales/zh.d.ts +1 -0
  43. package/dist/i18n/locales/zh.js +1 -0
  44. package/dist/index.js +2 -2
  45. package/dist/locales/ar.json +1 -0
  46. package/dist/locales/de.json +1 -0
  47. package/dist/locales/el.json +1 -0
  48. package/dist/locales/en.json +1 -0
  49. package/dist/locales/es.json +1 -0
  50. package/dist/locales/fr.json +1 -0
  51. package/dist/locales/hi.json +1 -0
  52. package/dist/locales/it.json +1 -0
  53. package/dist/locales/ja.json +1 -0
  54. package/dist/locales/nl.json +1 -0
  55. package/dist/locales/pl.json +1 -0
  56. package/dist/locales/pt.json +1 -0
  57. package/dist/locales/ro.json +1 -0
  58. package/dist/locales/ru.json +1 -0
  59. package/dist/locales/sq.json +1 -0
  60. package/dist/locales/sv.json +1 -0
  61. package/dist/locales/tr.json +1 -0
  62. package/dist/locales/zh.json +1 -0
  63. package/dist/patterns/prescription/index.js +1 -1
  64. package/dist/patterns/prescription/prescription-composer.d.ts +2 -0
  65. package/package.json +1 -1
  66. package/dist/_chunks/registry-connection-panel-BEAkwivy.js +0 -503
@@ -1,4 +1,4 @@
1
- import { R as o } from "../../_chunks/registry-connection-panel-BEAkwivy.js";
1
+ import { R as o } from "../../_chunks/registry-connection-panel-ACOsXu3F.js";
2
2
  export {
3
3
  o as RegistryConnectionPanel
4
4
  };
@@ -38,11 +38,24 @@ export interface RegistryConnectionPanelProps {
38
38
  values: Readonly<Record<string, string>>;
39
39
  /** Host messages per field name, shown under the field. */
40
40
  fieldErrors?: Readonly<Record<string, string>>;
41
+ /**
42
+ * May return a promise. A fulfilled promise means it worked: the panel
43
+ * empties the secret fields it sent. A rejected promise means the registry
44
+ * or the host's server refused: the panel keeps what the user typed and
45
+ * stays where it is. The host shows the reason through `error` and
46
+ * `fieldErrors`. A handler that returns nothing counts as done.
47
+ * A host message under a field is hidden once the user edits that field.
48
+ */
41
49
  onSaveSettings: (values: Record<string, string>) => void | Promise<void>;
42
50
  /** Host text above the code field. */
43
51
  codeExplanation?: string;
44
52
  /** Absent: the connect view has no "Send me the code" button. */
45
53
  onRequestCode?: () => void | Promise<void>;
54
+ /**
55
+ * Same contract as `onSaveSettings`. A fulfilled promise while `status` is
56
+ * `'connected'` closes the code step. A rejected one keeps the step and the
57
+ * code.
58
+ */
46
59
  onConnect: (code: string) => void | Promise<void>;
47
60
  /** Controlled view. Use with `onViewChange`. */
48
61
  view?: RegistryConnectionView;
@@ -57,6 +70,7 @@ export interface RegistryConnectionPanelProps {
57
70
  export interface RegistryConnectionPanelHandle {
58
71
  getStatus(): RegistryConnectionStatus;
59
72
  getView(): RegistryConnectionView;
73
+ /** Ignores `'connect'` while the status is `'incomplete'`, as the UI does. */
60
74
  setView(view: RegistryConnectionView): void;
61
75
  /** Checks the required fields, then calls `onSaveSettings` with what the panel holds. */
62
76
  saveSettings(): Promise<void>;
@@ -7652,6 +7652,7 @@ export declare const arUi: {
7652
7652
  };
7653
7653
  readonly composer: {
7654
7654
  readonly title: "وصفة طبية جديدة";
7655
+ readonly editTitle: "تعديل الوصفة الطبية";
7655
7656
  readonly patient: "المريض";
7656
7657
  readonly patientPlaceholder: "ابحث بالاسم الأول أو اسم العائلة";
7657
7658
  readonly choosePatientTitle: "اختر مريضاً";
@@ -7538,6 +7538,7 @@ const e = {
7538
7538
  },
7539
7539
  composer: {
7540
7540
  title: "وصفة طبية جديدة",
7541
+ editTitle: "تعديل الوصفة الطبية",
7541
7542
  patient: "المريض",
7542
7543
  patientPlaceholder: "ابحث بالاسم الأول أو اسم العائلة",
7543
7544
  choosePatientTitle: "اختر مريضاً",
@@ -7613,6 +7613,7 @@ export declare const deUi: {
7613
7613
  };
7614
7614
  readonly composer: {
7615
7615
  readonly title: "Neues Rezept";
7616
+ readonly editTitle: "Rezept bearbeiten";
7616
7617
  readonly patient: "Patient";
7617
7618
  readonly patientPlaceholder: "Nach Vor- oder Nachname suchen";
7618
7619
  readonly choosePatientTitle: "Patient auswählen";
@@ -7501,6 +7501,7 @@ const e = {
7501
7501
  },
7502
7502
  composer: {
7503
7503
  title: "Neues Rezept",
7504
+ editTitle: "Rezept bearbeiten",
7504
7505
  patient: "Patient",
7505
7506
  patientPlaceholder: "Nach Vor- oder Nachname suchen",
7506
7507
  choosePatientTitle: "Patient auswählen",
@@ -7610,6 +7610,7 @@ export declare const elUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "Νέα συνταγή";
7613
+ readonly editTitle: "Επεξεργασία συνταγής";
7613
7614
  readonly patient: "Ασθενής";
7614
7615
  readonly patientPlaceholder: "Αναζήτηση με όνομα ή επώνυμο";
7615
7616
  readonly choosePatientTitle: "Επιλέξτε ασθενή";
@@ -7521,6 +7521,7 @@ const e = {
7521
7521
  },
7522
7522
  composer: {
7523
7523
  title: "Νέα συνταγή",
7524
+ editTitle: "Επεξεργασία συνταγής",
7524
7525
  patient: "Ασθενής",
7525
7526
  patientPlaceholder: "Αναζήτηση με όνομα ή επώνυμο",
7526
7527
  choosePatientTitle: "Επιλέξτε ασθενή",
@@ -7615,6 +7615,7 @@ export declare const enUi: {
7615
7615
  };
7616
7616
  readonly composer: {
7617
7617
  readonly title: "New prescription";
7618
+ readonly editTitle: "Edit prescription";
7618
7619
  readonly patient: "Patient";
7619
7620
  readonly patientPlaceholder: "Search by first or last name";
7620
7621
  readonly choosePatientTitle: "Choose a patient";
@@ -7532,6 +7532,7 @@ const e = {
7532
7532
  },
7533
7533
  composer: {
7534
7534
  title: "New prescription",
7535
+ editTitle: "Edit prescription",
7535
7536
  patient: "Patient",
7536
7537
  patientPlaceholder: "Search by first or last name",
7537
7538
  choosePatientTitle: "Choose a patient",
@@ -7613,6 +7613,7 @@ export declare const esUi: {
7613
7613
  };
7614
7614
  readonly composer: {
7615
7615
  readonly title: "Nueva receta";
7616
+ readonly editTitle: "Editar receta";
7616
7617
  readonly patient: "Paciente";
7617
7618
  readonly patientPlaceholder: "Buscar por nombre o apellidos";
7618
7619
  readonly choosePatientTitle: "Elija un paciente";
@@ -7497,6 +7497,7 @@ const e = {
7497
7497
  },
7498
7498
  composer: {
7499
7499
  title: "Nueva receta",
7500
+ editTitle: "Editar receta",
7500
7501
  patient: "Paciente",
7501
7502
  patientPlaceholder: "Buscar por nombre o apellidos",
7502
7503
  choosePatientTitle: "Elija un paciente",
@@ -7613,6 +7613,7 @@ export declare const frUi: {
7613
7613
  };
7614
7614
  readonly composer: {
7615
7615
  readonly title: "Nouvelle ordonnance";
7616
+ readonly editTitle: "Modifier l’ordonnance";
7616
7617
  readonly patient: "Patient";
7617
7618
  readonly patientPlaceholder: "Rechercher par prénom ou nom";
7618
7619
  readonly choosePatientTitle: "Choisir un patient";
@@ -7488,6 +7488,7 @@ const e = {
7488
7488
  },
7489
7489
  composer: {
7490
7490
  title: "Nouvelle ordonnance",
7491
+ editTitle: "Modifier l’ordonnance",
7491
7492
  patient: "Patient",
7492
7493
  patientPlaceholder: "Rechercher par prénom ou nom",
7493
7494
  choosePatientTitle: "Choisir un patient",
@@ -7610,6 +7610,7 @@ export declare const hiUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "नया नुस्खा";
7613
+ readonly editTitle: "नुस्खा संपादित करें";
7613
7614
  readonly patient: "रोगी";
7614
7615
  readonly patientPlaceholder: "पहले नाम या उपनाम से खोजें";
7615
7616
  readonly choosePatientTitle: "रोगी चुनें";
@@ -7483,6 +7483,7 @@ const e = {
7483
7483
  },
7484
7484
  composer: {
7485
7485
  title: "नया नुस्खा",
7486
+ editTitle: "नुस्खा संपादित करें",
7486
7487
  patient: "रोगी",
7487
7488
  patientPlaceholder: "पहले नाम या उपनाम से खोजें",
7488
7489
  choosePatientTitle: "रोगी चुनें",
@@ -7610,6 +7610,7 @@ export declare const itUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "Nuova prescrizione";
7613
+ readonly editTitle: "Modifica prescrizione";
7613
7614
  readonly patient: "Paziente";
7614
7615
  readonly patientPlaceholder: "Cerca per nome o cognome";
7615
7616
  readonly choosePatientTitle: "Scegli un paziente";
@@ -7496,6 +7496,7 @@ const e = {
7496
7496
  },
7497
7497
  composer: {
7498
7498
  title: "Nuova prescrizione",
7499
+ editTitle: "Modifica prescrizione",
7499
7500
  patient: "Paziente",
7500
7501
  patientPlaceholder: "Cerca per nome o cognome",
7501
7502
  choosePatientTitle: "Scegli un paziente",
@@ -7610,6 +7610,7 @@ export declare const jaUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "新規処方箋";
7613
+ readonly editTitle: "処方箋を編集";
7613
7614
  readonly patient: "患者";
7614
7615
  readonly patientPlaceholder: "姓または名で検索";
7615
7616
  readonly choosePatientTitle: "患者を選択してください";
@@ -7456,6 +7456,7 @@ const e = {
7456
7456
  },
7457
7457
  composer: {
7458
7458
  title: "新規処方箋",
7459
+ editTitle: "処方箋を編集",
7459
7460
  patient: "患者",
7460
7461
  patientPlaceholder: "姓または名で検索",
7461
7462
  choosePatientTitle: "患者を選択してください",
@@ -7610,6 +7610,7 @@ export declare const nlUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "Nieuw recept";
7613
+ readonly editTitle: "Recept bewerken";
7613
7614
  readonly patient: "Patiënt";
7614
7615
  readonly patientPlaceholder: "Zoek op voor- of achternaam";
7615
7616
  readonly choosePatientTitle: "Kies een patiënt";
@@ -7475,6 +7475,7 @@ const e = {
7475
7475
  },
7476
7476
  composer: {
7477
7477
  title: "Nieuw recept",
7478
+ editTitle: "Recept bewerken",
7478
7479
  patient: "Patiënt",
7479
7480
  patientPlaceholder: "Zoek op voor- of achternaam",
7480
7481
  choosePatientTitle: "Kies een patiënt",
@@ -7625,6 +7625,7 @@ export declare const plUi: {
7625
7625
  };
7626
7626
  readonly composer: {
7627
7627
  readonly title: "Nowa recepta";
7628
+ readonly editTitle: "Edytuj receptę";
7628
7629
  readonly patient: "Pacjent";
7629
7630
  readonly patientPlaceholder: "Szukaj według imienia lub nazwiska";
7630
7631
  readonly choosePatientTitle: "Wybierz pacjenta";
@@ -7531,6 +7531,7 @@ const e = {
7531
7531
  },
7532
7532
  composer: {
7533
7533
  title: "Nowa recepta",
7534
+ editTitle: "Edytuj receptę",
7534
7535
  patient: "Pacjent",
7535
7536
  patientPlaceholder: "Szukaj według imienia lub nazwiska",
7536
7537
  choosePatientTitle: "Wybierz pacjenta",
@@ -7617,6 +7617,7 @@ export declare const ptUi: {
7617
7617
  };
7618
7618
  readonly composer: {
7619
7619
  readonly title: "Nova receita";
7620
+ readonly editTitle: "Editar receita";
7620
7621
  readonly patient: "Paciente";
7621
7622
  readonly patientPlaceholder: "Pesquisar por nome próprio ou apelido";
7622
7623
  readonly choosePatientTitle: "Escolha um paciente";
@@ -7520,6 +7520,7 @@ const e = {
7520
7520
  },
7521
7521
  composer: {
7522
7522
  title: "Nova receita",
7523
+ editTitle: "Editar receita",
7523
7524
  patient: "Paciente",
7524
7525
  patientPlaceholder: "Pesquisar por nome próprio ou apelido",
7525
7526
  choosePatientTitle: "Escolha um paciente",
@@ -7622,6 +7622,7 @@ export declare const roUi: {
7622
7622
  };
7623
7623
  readonly composer: {
7624
7624
  readonly title: "Rețetă nouă";
7625
+ readonly editTitle: "Editează rețeta";
7625
7626
  readonly patient: "Pacient";
7626
7627
  readonly patientPlaceholder: "Caută după prenume sau nume";
7627
7628
  readonly choosePatientTitle: "Alegeți un pacient";
@@ -7523,6 +7523,7 @@ const e = {
7523
7523
  },
7524
7524
  composer: {
7525
7525
  title: "Rețetă nouă",
7526
+ editTitle: "Editează rețeta",
7526
7527
  patient: "Pacient",
7527
7528
  patientPlaceholder: "Caută după prenume sau nume",
7528
7529
  choosePatientTitle: "Alegeți un pacient",
@@ -7625,6 +7625,7 @@ export declare const ruUi: {
7625
7625
  };
7626
7626
  readonly composer: {
7627
7627
  readonly title: "Новый рецепт";
7628
+ readonly editTitle: "Изменить рецепт";
7628
7629
  readonly patient: "Пациент";
7629
7630
  readonly patientPlaceholder: "Поиск по имени или фамилии";
7630
7631
  readonly choosePatientTitle: "Выберите пациента";
@@ -7538,6 +7538,7 @@ const e = {
7538
7538
  },
7539
7539
  composer: {
7540
7540
  title: "Новый рецепт",
7541
+ editTitle: "Изменить рецепт",
7541
7542
  patient: "Пациент",
7542
7543
  patientPlaceholder: "Поиск по имени или фамилии",
7543
7544
  choosePatientTitle: "Выберите пациента",
@@ -7610,6 +7610,7 @@ export declare const sqUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "Recetë e re";
7613
+ readonly editTitle: "Modifiko recetën";
7613
7614
  readonly patient: "Pacienti";
7614
7615
  readonly patientPlaceholder: "Kërko sipas emrit ose mbiemrit";
7615
7616
  readonly choosePatientTitle: "Zgjidhni një pacient";
@@ -7506,6 +7506,7 @@ const e = {
7506
7506
  },
7507
7507
  composer: {
7508
7508
  title: "Recetë e re",
7509
+ editTitle: "Modifiko recetën",
7509
7510
  patient: "Pacienti",
7510
7511
  patientPlaceholder: "Kërko sipas emrit ose mbiemrit",
7511
7512
  choosePatientTitle: "Zgjidhni një pacient",
@@ -7610,6 +7610,7 @@ export declare const svUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "Nytt recept";
7613
+ readonly editTitle: "Redigera recept";
7613
7614
  readonly patient: "Patient";
7614
7615
  readonly patientPlaceholder: "Sök på förnamn eller efternamn";
7615
7616
  readonly choosePatientTitle: "Välj en patient";
@@ -7470,6 +7470,7 @@ const e = {
7470
7470
  },
7471
7471
  composer: {
7472
7472
  title: "Nytt recept",
7473
+ editTitle: "Redigera recept",
7473
7474
  patient: "Patient",
7474
7475
  patientPlaceholder: "Sök på förnamn eller efternamn",
7475
7476
  choosePatientTitle: "Välj en patient",
@@ -7610,6 +7610,7 @@ export declare const trUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "Yeni reçete";
7613
+ readonly editTitle: "Reçeteyi düzenle";
7613
7614
  readonly patient: "Hasta";
7614
7615
  readonly patientPlaceholder: "Ada veya soyada göre ara";
7615
7616
  readonly choosePatientTitle: "Hasta seçin";
@@ -7472,6 +7472,7 @@ const e = {
7472
7472
  },
7473
7473
  composer: {
7474
7474
  title: "Yeni reçete",
7475
+ editTitle: "Reçeteyi düzenle",
7475
7476
  patient: "Hasta",
7476
7477
  patientPlaceholder: "Ada veya soyada göre ara",
7477
7478
  choosePatientTitle: "Hasta seçin",
@@ -7610,6 +7610,7 @@ export declare const zhUi: {
7610
7610
  };
7611
7611
  readonly composer: {
7612
7612
  readonly title: "新建处方";
7613
+ readonly editTitle: "编辑处方";
7613
7614
  readonly patient: "患者";
7614
7615
  readonly patientPlaceholder: "按姓或名搜索";
7615
7616
  readonly choosePatientTitle: "请选择患者";
@@ -7437,6 +7437,7 @@ const e = {
7437
7437
  },
7438
7438
  composer: {
7439
7439
  title: "新建处方",
7440
+ editTitle: "编辑处方",
7440
7441
  patient: "患者",
7441
7442
  patientPlaceholder: "按姓或名搜索",
7442
7443
  choosePatientTitle: "请选择患者",
package/dist/index.js CHANGED
@@ -194,7 +194,7 @@ import { n as Yd } from "./_chunks/notification-card.agent-DxGBZb8T.js";
194
194
  import { N as qd, n as jd } from "./_chunks/notification-tray-BnC5OItw.js";
195
195
  import { N as zd, n as Zd } from "./_chunks/notice-group-B-trhof8.js";
196
196
  import { N as $d } from "./_chunks/notes-panel-C9aB1Cma.js";
197
- import { R as eS } from "./_chunks/registry-connection-panel-BEAkwivy.js";
197
+ import { R as eS } from "./_chunks/registry-connection-panel-ACOsXu3F.js";
198
198
  import { C as rS, c as oS, s as tS } from "./_chunks/communications-panel-DDzUyoHi.js";
199
199
  import { C as iS } from "./_chunks/call-status-chip-pajxN5eZ.js";
200
200
  import { C as mS, c as lS } from "./_chunks/calls-panel-BTTfHnPD.js";
@@ -315,7 +315,7 @@ import { P as m_, a as l_, b as A_ } from "./_chunks/portal-details-CKF4yFHs.js"
315
315
  import { P as S_, a as c_, b as f_, c as g_, d as T_ } from "./_chunks/patient-sign-in-pin-da7C8DOd.js";
316
316
  import { P as I_, a as x_, b as P_, c as E_, d as u_ } from "./_chunks/patient-sign-in-steps-kS2ktytw.js";
317
317
  import { P as R_ } from "./_chunks/payment-automation-upsell-N1A_IIw0.js";
318
- import { E as D_, P as N_, a as b_, b as O_, c as h_, i as F_, d as M_, n as y_, v as B_ } from "./_chunks/prescription-history-CYCg6nxp.js";
318
+ import { E as D_, P as N_, a as b_, b as O_, c as h_, i as F_, d as M_, n as y_, v as B_ } from "./_chunks/prescription-history-CFs3JMIE.js";
319
319
  import { R as G_, a as v_ } from "./_chunks/registration-form-AtRCt8n5.js";
320
320
  import { R as H_, a as W_ } from "./_chunks/reset-password-form-AMUxqdAS.js";
321
321
  import { S as w_, a as K_ } from "./_chunks/send-registration-link-form-D1lPdOPC.js";
@@ -7645,6 +7645,7 @@
7645
7645
  },
7646
7646
  "composer": {
7647
7647
  "title": "وصفة طبية جديدة",
7648
+ "editTitle": "تعديل الوصفة الطبية",
7648
7649
  "patient": "المريض",
7649
7650
  "patientPlaceholder": "ابحث بالاسم الأول أو اسم العائلة",
7650
7651
  "choosePatientTitle": "اختر مريضاً",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "Neues Rezept",
7609
+ "editTitle": "Rezept bearbeiten",
7609
7610
  "patient": "Patient",
7610
7611
  "patientPlaceholder": "Nach Vor- oder Nachname suchen",
7611
7612
  "choosePatientTitle": "Patient auswählen",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "Νέα συνταγή",
7609
+ "editTitle": "Επεξεργασία συνταγής",
7609
7610
  "patient": "Ασθενής",
7610
7611
  "patientPlaceholder": "Αναζήτηση με όνομα ή επώνυμο",
7611
7612
  "choosePatientTitle": "Επιλέξτε ασθενή",
@@ -7598,6 +7598,7 @@
7598
7598
  },
7599
7599
  "composer": {
7600
7600
  "title": "New prescription",
7601
+ "editTitle": "Edit prescription",
7601
7602
  "patient": "Patient",
7602
7603
  "patientPlaceholder": "Search by first or last name",
7603
7604
  "choosePatientTitle": "Choose a patient",
@@ -7609,6 +7609,7 @@
7609
7609
  },
7610
7610
  "composer": {
7611
7611
  "title": "Nueva receta",
7612
+ "editTitle": "Editar receta",
7612
7613
  "patient": "Paciente",
7613
7614
  "patientPlaceholder": "Buscar por nombre o apellidos",
7614
7615
  "choosePatientTitle": "Elija un paciente",
@@ -7609,6 +7609,7 @@
7609
7609
  },
7610
7610
  "composer": {
7611
7611
  "title": "Nouvelle ordonnance",
7612
+ "editTitle": "Modifier l’ordonnance",
7612
7613
  "patient": "Patient",
7613
7614
  "patientPlaceholder": "Rechercher par prénom ou nom",
7614
7615
  "choosePatientTitle": "Choisir un patient",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "नया नुस्खा",
7609
+ "editTitle": "नुस्खा संपादित करें",
7609
7610
  "patient": "रोगी",
7610
7611
  "patientPlaceholder": "पहले नाम या उपनाम से खोजें",
7611
7612
  "choosePatientTitle": "रोगी चुनें",
@@ -7609,6 +7609,7 @@
7609
7609
  },
7610
7610
  "composer": {
7611
7611
  "title": "Nuova prescrizione",
7612
+ "editTitle": "Modifica prescrizione",
7612
7613
  "patient": "Paziente",
7613
7614
  "patientPlaceholder": "Cerca per nome o cognome",
7614
7615
  "choosePatientTitle": "Scegli un paziente",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "新規処方箋",
7609
+ "editTitle": "処方箋を編集",
7609
7610
  "patient": "患者",
7610
7611
  "patientPlaceholder": "姓または名で検索",
7611
7612
  "choosePatientTitle": "患者を選択してください",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "Nieuw recept",
7609
+ "editTitle": "Recept bewerken",
7609
7610
  "patient": "Patiënt",
7610
7611
  "patientPlaceholder": "Zoek op voor- of achternaam",
7611
7612
  "choosePatientTitle": "Kies een patiënt",
@@ -7621,6 +7621,7 @@
7621
7621
  },
7622
7622
  "composer": {
7623
7623
  "title": "Nowa recepta",
7624
+ "editTitle": "Edytuj receptę",
7624
7625
  "patient": "Pacjent",
7625
7626
  "patientPlaceholder": "Szukaj według imienia lub nazwiska",
7626
7627
  "choosePatientTitle": "Wybierz pacjenta",
@@ -7612,6 +7612,7 @@
7612
7612
  },
7613
7613
  "composer": {
7614
7614
  "title": "Nova receita",
7615
+ "editTitle": "Editar receita",
7615
7616
  "patient": "Paciente",
7616
7617
  "patientPlaceholder": "Pesquisar por nome próprio ou apelido",
7617
7618
  "choosePatientTitle": "Escolha um paciente",
@@ -7618,6 +7618,7 @@
7618
7618
  },
7619
7619
  "composer": {
7620
7620
  "title": "Rețetă nouă",
7621
+ "editTitle": "Editează rețeta",
7621
7622
  "patient": "Pacient",
7622
7623
  "patientPlaceholder": "Caută după prenume sau nume",
7623
7624
  "choosePatientTitle": "Alegeți un pacient",
@@ -7621,6 +7621,7 @@
7621
7621
  },
7622
7622
  "composer": {
7623
7623
  "title": "Новый рецепт",
7624
+ "editTitle": "Изменить рецепт",
7624
7625
  "patient": "Пациент",
7625
7626
  "patientPlaceholder": "Поиск по имени или фамилии",
7626
7627
  "choosePatientTitle": "Выберите пациента",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "Recetë e re",
7609
+ "editTitle": "Modifiko recetën",
7609
7610
  "patient": "Pacienti",
7610
7611
  "patientPlaceholder": "Kërko sipas emrit ose mbiemrit",
7611
7612
  "choosePatientTitle": "Zgjidhni një pacient",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "Nytt recept",
7609
+ "editTitle": "Redigera recept",
7609
7610
  "patient": "Patient",
7610
7611
  "patientPlaceholder": "Sök på förnamn eller efternamn",
7611
7612
  "choosePatientTitle": "Välj en patient",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "Yeni reçete",
7609
+ "editTitle": "Reçeteyi düzenle",
7609
7610
  "patient": "Hasta",
7610
7611
  "patientPlaceholder": "Ada veya soyada göre ara",
7611
7612
  "choosePatientTitle": "Hasta seçin",
@@ -7606,6 +7606,7 @@
7606
7606
  },
7607
7607
  "composer": {
7608
7608
  "title": "新建处方",
7609
+ "editTitle": "编辑处方",
7609
7610
  "patient": "患者",
7610
7611
  "patientPlaceholder": "按姓或名搜索",
7611
7612
  "choosePatientTitle": "请选择患者",
@@ -1,4 +1,4 @@
1
- import { E as s, P as a, a as t, b as e, c as o, i as P, d as n, n as p, v as c } from "../../_chunks/prescription-history-CYCg6nxp.js";
1
+ import { E as s, P as a, a as t, b as e, c as o, i as P, d as n, n as p, v as c } from "../../_chunks/prescription-history-CFs3JMIE.js";
2
2
  export {
3
3
  s as EMPTY_PRESCRIPTION_ITEM,
4
4
  a as PrescriptionComposer,
@@ -64,6 +64,8 @@ export interface PrescriptionComposerProps extends Omit<HTMLAttributes<HTMLDivEl
64
64
  * normal picker shows. Default false.
65
65
  */
66
66
  lockPatient?: boolean;
67
+ /** The form edits a saved prescription, for example one the registry refused. The heading reads "Edit prescription" instead of "New prescription". Nothing else changes: the submit label is still `submitLabel`. Default `false`. */
68
+ editing?: boolean;
67
69
  /** Text of the submit button, already translated. Default "Save prescription". A host that sends on save passes, say, "Send to Sistema TS". */
68
70
  submitLabel?: string;
69
71
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.146.0",
3
+ "version": "1.147.1",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",