@alfadocs/ui-kit 1.146.0 → 1.147.0

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 (61) hide show
  1. package/dist/_chunks/{prescription-history-CYCg6nxp.js → prescription-history-CFs3JMIE.js} +718 -717
  2. package/dist/agent-catalog.json +1 -1
  3. package/dist/browser-support.js +1 -1
  4. package/dist/i18n/locales/ar.d.ts +1 -0
  5. package/dist/i18n/locales/ar.js +1 -0
  6. package/dist/i18n/locales/de.d.ts +1 -0
  7. package/dist/i18n/locales/de.js +1 -0
  8. package/dist/i18n/locales/el.d.ts +1 -0
  9. package/dist/i18n/locales/el.js +1 -0
  10. package/dist/i18n/locales/en.d.ts +1 -0
  11. package/dist/i18n/locales/en.js +1 -0
  12. package/dist/i18n/locales/es.d.ts +1 -0
  13. package/dist/i18n/locales/es.js +1 -0
  14. package/dist/i18n/locales/fr.d.ts +1 -0
  15. package/dist/i18n/locales/fr.js +1 -0
  16. package/dist/i18n/locales/hi.d.ts +1 -0
  17. package/dist/i18n/locales/hi.js +1 -0
  18. package/dist/i18n/locales/it.d.ts +1 -0
  19. package/dist/i18n/locales/it.js +1 -0
  20. package/dist/i18n/locales/ja.d.ts +1 -0
  21. package/dist/i18n/locales/ja.js +1 -0
  22. package/dist/i18n/locales/nl.d.ts +1 -0
  23. package/dist/i18n/locales/nl.js +1 -0
  24. package/dist/i18n/locales/pl.d.ts +1 -0
  25. package/dist/i18n/locales/pl.js +1 -0
  26. package/dist/i18n/locales/pt.d.ts +1 -0
  27. package/dist/i18n/locales/pt.js +1 -0
  28. package/dist/i18n/locales/ro.d.ts +1 -0
  29. package/dist/i18n/locales/ro.js +1 -0
  30. package/dist/i18n/locales/ru.d.ts +1 -0
  31. package/dist/i18n/locales/ru.js +1 -0
  32. package/dist/i18n/locales/sq.d.ts +1 -0
  33. package/dist/i18n/locales/sq.js +1 -0
  34. package/dist/i18n/locales/sv.d.ts +1 -0
  35. package/dist/i18n/locales/sv.js +1 -0
  36. package/dist/i18n/locales/tr.d.ts +1 -0
  37. package/dist/i18n/locales/tr.js +1 -0
  38. package/dist/i18n/locales/zh.d.ts +1 -0
  39. package/dist/i18n/locales/zh.js +1 -0
  40. package/dist/index.js +1 -1
  41. package/dist/locales/ar.json +1 -0
  42. package/dist/locales/de.json +1 -0
  43. package/dist/locales/el.json +1 -0
  44. package/dist/locales/en.json +1 -0
  45. package/dist/locales/es.json +1 -0
  46. package/dist/locales/fr.json +1 -0
  47. package/dist/locales/hi.json +1 -0
  48. package/dist/locales/it.json +1 -0
  49. package/dist/locales/ja.json +1 -0
  50. package/dist/locales/nl.json +1 -0
  51. package/dist/locales/pl.json +1 -0
  52. package/dist/locales/pt.json +1 -0
  53. package/dist/locales/ro.json +1 -0
  54. package/dist/locales/ru.json +1 -0
  55. package/dist/locales/sq.json +1 -0
  56. package/dist/locales/sv.json +1 -0
  57. package/dist/locales/tr.json +1 -0
  58. package/dist/locales/zh.json +1 -0
  59. package/dist/patterns/prescription/index.js +1 -1
  60. package/dist/patterns/prescription/prescription-composer.d.ts +2 -0
  61. package/package.json +1 -1
@@ -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.0",
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",