@alfadocs/ui-kit 1.138.0 → 1.140.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 (246) hide show
  1. package/dist/_chunks/{address-fields-DvSWdeR0.js → address-fields-Bh9JZJHZ.js} +4 -4
  2. package/dist/_chunks/{ai-prompt-input-CVNeusoW.js → ai-prompt-input-B2QFwuJ1.js} +2 -2
  3. package/dist/_chunks/{anamnesis-summary-rows-Dr2V1Rtf.js → anamnesis-summary-rows-YJGs2uWD.js} +5 -5
  4. package/dist/_chunks/{audio-recorder-BOF5YYoC.js → audio-recorder-6dUq8I38.js} +2 -2
  5. package/dist/_chunks/autocomplete-HZNW7_Pa.js +642 -0
  6. package/dist/_chunks/{balance-badge-cell-BSB02Bwo.js → balance-badge-cell-CRStPNDd.js} +4 -4
  7. package/dist/_chunks/{bill-line-table-By-YL2ms.js → bill-line-table-DTqXdBED.js} +3 -3
  8. package/dist/_chunks/{bishop-score-DWGESRP9.js → bishop-score-M7Fi-ykx.js} +2 -2
  9. package/dist/_chunks/{bmi-calculator-rri5vvMt.js → bmi-calculator-rq3ZsKp0.js} +2 -2
  10. package/dist/_chunks/{calendar-appointment-editor-dialog-SxSkOTnO.js → calendar-appointment-editor-dialog-BBrJlmyd.js} +7 -7
  11. package/dist/_chunks/{calendar-editor-discard-host-DjUhoFr2.js → calendar-editor-discard-host-BcMEgVEq.js} +2 -2
  12. package/dist/_chunks/{calendar-waiting-list-panel-331vzAdl.js → calendar-waiting-list-panel-Cdg9YssA.js} +3 -3
  13. package/dist/_chunks/{calendar.sheets-aodjllWd.js → calendar.sheets-DbMOO7YV.js} +113 -112
  14. package/dist/_chunks/{calls-panel-BIfatK90.js → calls-panel-CtxJAzkJ.js} +2 -2
  15. package/dist/_chunks/{city-input-DXipzTfZ.js → city-input-DARVDJhH.js} +2 -2
  16. package/dist/_chunks/{combobox-BBCVQS-S.js → combobox-BYl6mY4c.js} +12 -13
  17. package/dist/_chunks/{communications-panel-SQ-55e3V.js → communications-panel-DBWM9II9.js} +2 -2
  18. package/dist/_chunks/{country-select-C2GdvRtS.js → country-select-BPISkYVU.js} +3 -3
  19. package/dist/_chunks/{cycle-calculator-WFhMfJHt.js → cycle-calculator-Cb66X2Pf.js} +2 -2
  20. package/dist/_chunks/{data-grid-CxKz8flO.js → data-grid-CRUSZcVT.js} +16 -8
  21. package/dist/_chunks/{data-table-_tgj0C_T.js → data-table-CnLfOwxg.js} +2 -2
  22. package/dist/_chunks/{default-tabs-oDWQzbN7.js → default-tabs-CRbVCDSU.js} +3 -3
  23. package/dist/_chunks/{document-preview-CirR3C_m.js → document-preview-FTCHXYhk.js} +2 -2
  24. package/dist/_chunks/{due-date-calculator-CALlODZe.js → due-date-calculator-Dlqegxx9.js} +2 -2
  25. package/dist/_chunks/{face-scheme-D_Y1StPl.js → face-scheme-Bxt7ZnJn.js} +2 -2
  26. package/dist/_chunks/{fetal-weight-D0KofJJw.js → fetal-weight-DWj-_ME8.js} +2 -2
  27. package/dist/_chunks/{file-manager-CEi4z2i0.js → file-manager-Bsccb8Jj.js} +2 -2
  28. package/dist/_chunks/{forgot-password-form-YvI9vX-G.js → forgot-password-form-B4ufmBFn.js} +5 -4
  29. package/dist/_chunks/{gestational-age-calculator-CHbpC4vL.js → gestational-age-calculator-DXSPWG8u.js} +2 -2
  30. package/dist/_chunks/{hcg-doubling-Dhdt3Jyd.js → hcg-doubling-Dqbj6PQj.js} +2 -2
  31. package/dist/_chunks/{heatmap-_546qI2V.js → heatmap-CFPaEKD_.js} +2 -2
  32. package/dist/_chunks/{invoice-upload-list-CQI9MUl6.js → invoice-upload-list-BR6vycF7.js} +3 -3
  33. package/dist/_chunks/{kit-extensions-BNBf4m8O.js → kit-extensions-QddOSnIq.js} +7 -7
  34. package/dist/_chunks/{link-cell-renderer-Xx5T8u5Q.js → link-cell-renderer-hAJplRFF.js} +6 -6
  35. package/dist/_chunks/{login-dev-card-Dz3ezx1o.js → login-dev-card-oRh9h7N2.js} +18 -17
  36. package/dist/_chunks/medication-I6QvOq6k.js +21 -0
  37. package/dist/_chunks/medication-line-BohqbCYD.js +238 -0
  38. package/dist/_chunks/medication-search-DoEDakoM.js +380 -0
  39. package/dist/_chunks/{multi-select-Df3R8lv_.js → multi-select-DeMiHm8T.js} +4 -5
  40. package/dist/_chunks/{muscle-scheme-D_rSyGDj.js → muscle-scheme-BB2eBfww.js} +2 -2
  41. package/dist/_chunks/normalize-diacritics-DhJjQ3Bp.js +7 -0
  42. package/dist/_chunks/{notes-panel-DsEKNtsw.js → notes-panel-CnmQqhwq.js} +2 -2
  43. package/dist/_chunks/{number-input-DUSvP7Dq.js → number-input-Bi5Yk6PX.js} +135 -133
  44. package/dist/_chunks/{optical-prescription-DaSbsh4p.js → optical-prescription-GzeK_2cf.js} +3 -3
  45. package/dist/_chunks/{option-row-Dc7BrbK8.js → option-row-DpCnuUqo.js} +25 -12
  46. package/dist/_chunks/{patient-account-settings-Cs9y-pVA.js → patient-account-settings-DfEPHmCh.js} +2 -2
  47. package/dist/_chunks/{patient-check-in-resume-4qi_klQV.js → patient-check-in-resume-TWs8CPQr.js} +3 -3
  48. package/dist/_chunks/{patient-details-Dv7EiTCo.js → patient-details-D0PjzALT.js} +2 -2
  49. package/dist/_chunks/{patient-field-row-DuHWGlLz.js → patient-field-row-DlpIModg.js} +7 -7
  50. package/dist/_chunks/patient-picker-CQNsqYn2.js +163 -0
  51. package/dist/_chunks/{patient-search-DBvLFArV.js → patient-search-aTFd7p9s.js} +2 -2
  52. package/dist/_chunks/{patient-summary-card-D-cDzOim.js → patient-summary-card-BP_K7g_q.js} +2 -2
  53. package/dist/_chunks/{phone-input-BL8Sj6OG.js → phone-input-DRKcJUi4.js} +2 -2
  54. package/dist/_chunks/{portal-details-BGc_FLQk.js → portal-details-VfeOI4PB.js} +2 -2
  55. package/dist/_chunks/{portal-documents-BSI1U5lI.js → portal-documents-hGHlwmbv.js} +2 -2
  56. package/dist/_chunks/{pregnancy-dating-lJbzai73.js → pregnancy-dating-a6WIg4oy.js} +3 -3
  57. package/dist/_chunks/{pregnancy-weight-gain-DkGcEc_l.js → pregnancy-weight-gain-DmrVHk9y.js} +2 -2
  58. package/dist/_chunks/prescription-history-Bp_JHhdF.js +1719 -0
  59. package/dist/_chunks/print-sheet-gaxObGcm.js +328 -0
  60. package/dist/_chunks/{province-select-CTM8A9SM.js → province-select-D-iY9bQG.js} +3 -3
  61. package/dist/_chunks/{registration-form-CuLiTA52.js → registration-form-Cs9o6e5q.js} +7 -6
  62. package/dist/_chunks/{reserved.agent-CabZHFJC.js → reserved.agent-L2ElYPuj.js} +7 -7
  63. package/dist/_chunks/{reset-password-form-D_TePSM1.js → reset-password-form-DwtSNhnA.js} +18 -17
  64. package/dist/_chunks/{rich-text-editor-C48omVjq.js → rich-text-editor-DFsH5RAj.js} +2 -2
  65. package/dist/_chunks/save-Dn8uje3f.js +22 -0
  66. package/dist/_chunks/{search-bar-CQ9_V3EJ.js → search-bar-k1mS5yZl.js} +2 -2
  67. package/dist/_chunks/{select-CIXKyUMw.js → select-Bm8s3q-X.js} +16 -17
  68. package/dist/_chunks/{send-registration-link-form-BjkXr0TD.js → send-registration-link-form-C1vw6H1M.js} +6 -5
  69. package/dist/_chunks/{signature-request-vJDSHZld.js → signature-request-D3sLLOM6.js} +2 -2
  70. package/dist/_chunks/sync-tray-BhnkgXKK.js +567 -0
  71. package/dist/_chunks/{tabs-Czkmw5ou.js → tabs-BXr5XeGq.js} +2 -2
  72. package/dist/_chunks/{task-editor-wKbFbGqW.js → task-editor-DDVDPKJf.js} +26 -25
  73. package/dist/_chunks/{tasks-panel-DbtJS4QI.js → tasks-panel-BHXaPNOZ.js} +2 -2
  74. package/dist/_chunks/{toolbar-DjG-cpD_.js → toolbar-B7UHCMSr.js} +2 -2
  75. package/dist/_chunks/{unit-converter-CUAUTu2B.js → unit-converter-OBhSDXee.js} +3 -3
  76. package/dist/_chunks/{use-appointment-details-read-jGkJalX8.js → use-appointment-details-read-DeQnmmZw.js} +2 -2
  77. package/dist/_chunks/use-error-summary-CecJZo6w.js +32 -0
  78. package/dist/_chunks/use-registration-submit-CVukOAQk.js +84 -0
  79. package/dist/_chunks/{variables-menu-DQl8H4Gh.js → variables-menu-C4NcClKi.js} +2 -2
  80. package/dist/_chunks/{voice-control-panel-Cp4vs1iy.js → voice-control-panel-Dc_NFH2R.js} +2 -2
  81. package/dist/agent-catalog.json +449 -1
  82. package/dist/agent-i18n/en.json +53 -0
  83. package/dist/appointment-editor-panel/index.js +2 -2
  84. package/dist/browser-support.js +1 -1
  85. package/dist/components/_shared/medication.d.ts +28 -0
  86. package/dist/components/_shared/normalize-diacritics.d.ts +5 -0
  87. package/dist/components/_shared/patient-picker.d.ts +7 -0
  88. package/dist/components/address-fields/index.js +1 -1
  89. package/dist/components/ai-prompt-input/index.js +1 -1
  90. package/dist/components/appointment-details-panel/index.js +1 -1
  91. package/dist/components/audio-recorder/index.js +1 -1
  92. package/dist/components/autocomplete/autocomplete.d.ts +50 -0
  93. package/dist/components/autocomplete/index.d.ts +1 -1
  94. package/dist/components/autocomplete/index.js +1 -1
  95. package/dist/components/bill-line-table/index.js +1 -1
  96. package/dist/components/bill-table/index.js +1 -1
  97. package/dist/components/bishop-score/index.js +1 -1
  98. package/dist/components/bmi-calculator/index.js +1 -1
  99. package/dist/components/booking/index.js +1 -1
  100. package/dist/components/calls-panel/index.js +1 -1
  101. package/dist/components/city-input/index.js +1 -1
  102. package/dist/components/combobox/index.js +1 -1
  103. package/dist/components/communications-panel/index.js +1 -1
  104. package/dist/components/country-select/index.js +1 -1
  105. package/dist/components/cycle-calculator/index.js +1 -1
  106. package/dist/components/data-grid/index.js +2 -2
  107. package/dist/components/data-table/index.js +2 -2
  108. package/dist/components/document-preview/index.js +1 -1
  109. package/dist/components/due-date-calculator/index.js +1 -1
  110. package/dist/components/face-scheme/index.js +1 -1
  111. package/dist/components/fetal-weight/index.js +1 -1
  112. package/dist/components/file-manager/index.js +1 -1
  113. package/dist/components/gestational-age-calculator/index.js +1 -1
  114. package/dist/components/hcg-doubling/index.js +1 -1
  115. package/dist/components/heatmap/index.js +1 -1
  116. package/dist/components/index.d.ts +5 -0
  117. package/dist/components/invoice-upload-list/index.js +1 -1
  118. package/dist/components/medication-line/index.d.ts +6 -0
  119. package/dist/components/medication-line/index.js +7 -0
  120. package/dist/components/medication-line/medication-line.agent.d.ts +14 -0
  121. package/dist/components/medication-line/medication-line.d.ts +46 -0
  122. package/dist/components/medication-search/index.d.ts +6 -0
  123. package/dist/components/medication-search/index.js +10 -0
  124. package/dist/components/medication-search/medication-search.agent.d.ts +15 -0
  125. package/dist/components/medication-search/medication-search.d.ts +49 -0
  126. package/dist/components/multi-select/index.js +1 -1
  127. package/dist/components/muscle-scheme/index.js +1 -1
  128. package/dist/components/notes-panel/index.js +1 -1
  129. package/dist/components/number-input/index.js +1 -1
  130. package/dist/components/optical-prescription/index.js +1 -1
  131. package/dist/components/patient-details/index.js +1 -1
  132. package/dist/components/patient-search/index.js +1 -1
  133. package/dist/components/patient-summary-card/index.js +1 -1
  134. package/dist/components/patient-table/index.js +1 -1
  135. package/dist/components/phone-input/index.js +1 -1
  136. package/dist/components/pregnancy-dating/index.js +1 -1
  137. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  138. package/dist/components/print-sheet/index.d.ts +5 -0
  139. package/dist/components/print-sheet/index.js +6 -0
  140. package/dist/components/print-sheet/print-isolation.d.ts +17 -0
  141. package/dist/components/print-sheet/print-sheet.agent.d.ts +19 -0
  142. package/dist/components/print-sheet/print-sheet.d.ts +61 -0
  143. package/dist/components/province-select/index.js +1 -1
  144. package/dist/components/rich-text-editor/index.js +2 -2
  145. package/dist/components/search-bar/index.js +1 -1
  146. package/dist/components/select/index.js +1 -1
  147. package/dist/components/skeleton-scheme/index.js +1 -1
  148. package/dist/components/sync-tray/index.d.ts +4 -0
  149. package/dist/components/sync-tray/index.js +7 -0
  150. package/dist/components/sync-tray/sync-tray.agent.d.ts +15 -0
  151. package/dist/components/sync-tray/sync-tray.d.ts +77 -0
  152. package/dist/components/tabs/index.js +1 -1
  153. package/dist/components/task-editor/index.js +1 -1
  154. package/dist/components/tasks-panel/index.js +1 -1
  155. package/dist/components/unit-converter/index.js +1 -1
  156. package/dist/components/variables-menu/index.js +1 -1
  157. package/dist/components/voice-control-panel/index.js +1 -1
  158. package/dist/core.css +1 -1
  159. package/dist/find-free-slots-panel/index.js +1 -1
  160. package/dist/host-compat.css +18 -1
  161. package/dist/i18n/locales/ar.d.ts +151 -0
  162. package/dist/i18n/locales/ar.js +151 -0
  163. package/dist/i18n/locales/de.d.ts +151 -0
  164. package/dist/i18n/locales/de.js +151 -0
  165. package/dist/i18n/locales/el.d.ts +151 -0
  166. package/dist/i18n/locales/el.js +151 -0
  167. package/dist/i18n/locales/en.d.ts +151 -0
  168. package/dist/i18n/locales/en.js +151 -0
  169. package/dist/i18n/locales/es.d.ts +151 -0
  170. package/dist/i18n/locales/es.js +151 -0
  171. package/dist/i18n/locales/fr.d.ts +151 -0
  172. package/dist/i18n/locales/fr.js +151 -0
  173. package/dist/i18n/locales/hi.d.ts +151 -0
  174. package/dist/i18n/locales/hi.js +151 -0
  175. package/dist/i18n/locales/it.d.ts +151 -0
  176. package/dist/i18n/locales/it.js +151 -0
  177. package/dist/i18n/locales/ja.d.ts +151 -0
  178. package/dist/i18n/locales/ja.js +151 -0
  179. package/dist/i18n/locales/nl.d.ts +151 -0
  180. package/dist/i18n/locales/nl.js +151 -0
  181. package/dist/i18n/locales/pl.d.ts +151 -0
  182. package/dist/i18n/locales/pl.js +151 -0
  183. package/dist/i18n/locales/pt.d.ts +151 -0
  184. package/dist/i18n/locales/pt.js +151 -0
  185. package/dist/i18n/locales/ro.d.ts +151 -0
  186. package/dist/i18n/locales/ro.js +151 -0
  187. package/dist/i18n/locales/ru.d.ts +151 -0
  188. package/dist/i18n/locales/ru.js +151 -0
  189. package/dist/i18n/locales/sq.d.ts +151 -0
  190. package/dist/i18n/locales/sq.js +151 -0
  191. package/dist/i18n/locales/sv.d.ts +151 -0
  192. package/dist/i18n/locales/sv.js +151 -0
  193. package/dist/i18n/locales/tr.d.ts +151 -0
  194. package/dist/i18n/locales/tr.js +151 -0
  195. package/dist/i18n/locales/zh.d.ts +151 -0
  196. package/dist/i18n/locales/zh.js +151 -0
  197. package/dist/index.js +1006 -978
  198. package/dist/locales/ar.json +151 -0
  199. package/dist/locales/de.json +151 -0
  200. package/dist/locales/el.json +151 -0
  201. package/dist/locales/en.json +151 -0
  202. package/dist/locales/es.json +151 -0
  203. package/dist/locales/fr.json +151 -0
  204. package/dist/locales/hi.json +151 -0
  205. package/dist/locales/it.json +151 -0
  206. package/dist/locales/ja.json +151 -0
  207. package/dist/locales/nl.json +151 -0
  208. package/dist/locales/pl.json +151 -0
  209. package/dist/locales/pt.json +151 -0
  210. package/dist/locales/ro.json +151 -0
  211. package/dist/locales/ru.json +151 -0
  212. package/dist/locales/sq.json +151 -0
  213. package/dist/locales/sv.json +151 -0
  214. package/dist/locales/tr.json +151 -0
  215. package/dist/locales/zh.json +151 -0
  216. package/dist/online-bookings-panel/index.js +1 -1
  217. package/dist/patterns/anamnesis/index.js +1 -1
  218. package/dist/patterns/calendar/index.js +3 -3
  219. package/dist/patterns/forgot-password-form/index.js +1 -1
  220. package/dist/patterns/login-form/index.js +1 -1
  221. package/dist/patterns/patient-account-settings/index.js +1 -1
  222. package/dist/patterns/patient-check-in/index.js +1 -1
  223. package/dist/patterns/patient-portal/index.js +2 -2
  224. package/dist/patterns/prescription/index.d.ts +11 -0
  225. package/dist/patterns/prescription/index.js +13 -0
  226. package/dist/patterns/prescription/prescription-composer-errors.d.ts +6 -0
  227. package/dist/patterns/prescription/prescription-composer-item.d.ts +41 -0
  228. package/dist/patterns/prescription/prescription-composer.d.ts +94 -0
  229. package/dist/patterns/prescription/prescription-history.d.ts +48 -0
  230. package/dist/patterns/prescription/prescription-patient-block.d.ts +13 -0
  231. package/dist/patterns/prescription/prescription-sheet.d.ts +71 -0
  232. package/dist/patterns/prescription/prescription-status-badge.d.ts +5 -0
  233. package/dist/patterns/prescription/prescription-types.d.ts +122 -0
  234. package/dist/patterns/prescription/prescription-validation.d.ts +46 -0
  235. package/dist/patterns/registration-form/index.js +1 -1
  236. package/dist/patterns/reset-password-form/index.js +1 -1
  237. package/dist/patterns/send-registration-link-form/index.js +1 -1
  238. package/dist/patterns/signature-request/index.js +1 -1
  239. package/dist/tokens.css +1 -1
  240. package/dist/waiting-list-panel/index.js +2 -2
  241. package/package.json +21 -1
  242. package/dist/_chunks/autocomplete-D10ydpgi.js +0 -562
  243. package/dist/_chunks/group-options-BvKhQ3xb.js +0 -16
  244. package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js +0 -7
  245. package/dist/_chunks/patient-picker-BZJuOgMw.js +0 -173
  246. package/dist/_chunks/use-registration-submit-CLGHxwoT.js +0 -112
@@ -0,0 +1,238 @@
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as I, useContext as T, useRef as g, useCallback as U, useMemo as W, useImperativeHandle as X, createContext as k } from "react";
3
+ import { c as n } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Y } from "react-i18next";
5
+ import { B as Z } from "./badge-BUk4RjTS.js";
6
+ import { I as $ } from "./icon-button-S8_weU3g.js";
7
+ import { u as q } from "./registry-DvAUVLHh.js";
8
+ import { n as ee } from "./intl-locale-FWh-Y5_3.js";
9
+ import { f as te, m as ae, M as ie } from "./medication-I6QvOq6k.js";
10
+ import { T as ne } from "./trash-2-uumy3fy1.js";
11
+ const se = {
12
+ id: "medication-line",
13
+ // Closed set (§4): `dismiss` is "hide or acknowledge with no commitment";
14
+ // removing a line changes the list, so it is `edit_inline`, as field-array
15
+ // declares for its `remove`.
16
+ capabilities: ["edit_inline"],
17
+ state: {
18
+ value: {
19
+ type: "string",
20
+ descriptionKey: "ui.agent.medicationLine.state.value",
21
+ description: "The catalogue id of the medication on this line. An id only, never a name.",
22
+ read: (t) => t.getMedicationId()
23
+ }
24
+ },
25
+ actions: {
26
+ remove: {
27
+ // §3: `destructive`. Taking a medication off a prescription or therapy
28
+ // list has no undo in this UI (the host owns the list), so it is "hard
29
+ // to reverse via the same UI", the same class field-array and
30
+ // suggestion-chip give removal. It is not `phi`: the line holds a
31
+ // catalogue id, not patient identity.
32
+ safety: "destructive",
33
+ idempotent: !0,
34
+ descriptionKey: "ui.agent.medicationLine.actions.remove",
35
+ description: "Remove this medication from the list. Does nothing on a read-only line.",
36
+ invoke: (t) => {
37
+ t.remove();
38
+ }
39
+ }
40
+ },
41
+ domHooks: {
42
+ root: {
43
+ attr: "data-component",
44
+ value: "medication-line",
45
+ description: "Marks one medication line. The remove button is present only on the removable variant."
46
+ },
47
+ instanceId: {
48
+ attr: "data-component-id",
49
+ sourceProp: "id",
50
+ description: "Sourced from the id prop, when provided."
51
+ },
52
+ item: {
53
+ attr: "data-medication-id",
54
+ description: "The root also emits the catalogue id of the medication. An id only, never a name."
55
+ }
56
+ }
57
+ }, de = n(
58
+ [
59
+ "ds:flex ds:items-start ds:justify-between",
60
+ "ds:text-foreground ds:break-inside-avoid",
61
+ "ds:m-0 ds:list-none"
62
+ ].join(" "),
63
+ {
64
+ variants: {
65
+ density: {
66
+ default: "ds:gap-[var(--spacing-md)] ds:py-[var(--spacing-sm)]",
67
+ compact: "ds:gap-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]"
68
+ }
69
+ },
70
+ defaultVariants: { density: "default" }
71
+ }
72
+ ), oe = n("ds:flex ds:flex-col ds:flex-1 ds:min-w-0", {
73
+ variants: {
74
+ density: {
75
+ default: "ds:gap-[var(--spacing-xs)]",
76
+ compact: "ds:gap-0"
77
+ }
78
+ },
79
+ defaultVariants: { density: "default" }
80
+ }), re = n(
81
+ "ds:m-0 ds:[overflow-wrap:anywhere] ds:text-foreground",
82
+ {
83
+ variants: {
84
+ density: {
85
+ default: "type-title-item",
86
+ compact: "type-label"
87
+ }
88
+ },
89
+ defaultVariants: { density: "default" }
90
+ }
91
+ ), le = n(
92
+ "ds:m-0 ds:[overflow-wrap:anywhere] ds:text-muted-foreground",
93
+ {
94
+ variants: {
95
+ density: {
96
+ default: "type-body-sm",
97
+ compact: "type-meta"
98
+ }
99
+ },
100
+ defaultVariants: { density: "default" }
101
+ }
102
+ ), c = n(
103
+ "ds:flex ds:flex-wrap ds:items-baseline ds:gap-x-[var(--spacing-xs)]"
104
+ ), m = n("ds:shrink-0 ds:text-muted-foreground", {
105
+ variants: {
106
+ density: { default: "type-label", compact: "type-meta" }
107
+ },
108
+ defaultVariants: { density: "default" }
109
+ }), u = n(
110
+ "ds:m-0 ds:min-w-0 ds:[overflow-wrap:anywhere] ds:text-foreground",
111
+ {
112
+ variants: {
113
+ density: { default: "type-body", compact: "type-body-sm" }
114
+ },
115
+ defaultVariants: { density: "default" }
116
+ }
117
+ ), ce = n(
118
+ [
119
+ "ds:m-0 ds:p-0 ds:list-none",
120
+ "ds:divide-y ds:divide-[color:var(--border)]"
121
+ ].join(" ")
122
+ ), A = k("default"), C = k(!1);
123
+ function b(t) {
124
+ return t !== void 0 && t.trim() !== "";
125
+ }
126
+ const me = I(
127
+ ({
128
+ medication: t,
129
+ dosage: p,
130
+ notes: o,
131
+ quantity: d,
132
+ duration: r,
133
+ notSubstitutable: R = !1,
134
+ codeLabel: j,
135
+ showDetail: P = !0,
136
+ density: D,
137
+ as: S,
138
+ onRemove: f,
139
+ removeLabel: F,
140
+ disabled: v = !1,
141
+ id: N,
142
+ className: z,
143
+ ...B
144
+ }, _) => {
145
+ const { t: i, i18n: E } = Y("ui"), H = T(A), a = D ?? H, K = T(C), O = S ?? (K ? "li" : "div"), x = te(t), G = b(t.code) ? i("medicationSearch.code", {
146
+ label: j ?? i("medicationSearch.codeFallbackLabel"),
147
+ code: t.code.trim()
148
+ }) : void 0, L = ae(
149
+ { ...t, strength: void 0, form: void 0 },
150
+ G
151
+ ).join(ie), J = f !== void 0, l = g(f);
152
+ l.current = f;
153
+ const w = g(v);
154
+ w.current = v;
155
+ const V = g(t.id);
156
+ V.current = t.id;
157
+ const h = U(() => {
158
+ var M;
159
+ w.current || (M = l.current) == null || M.call(l);
160
+ }, []), y = W(
161
+ () => ({
162
+ getMedicationId: () => V.current,
163
+ remove: h
164
+ }),
165
+ [h]
166
+ );
167
+ X(_, () => y, [y]), q(se, y, N);
168
+ const Q = F ?? i("medicationLine.remove", { name: x });
169
+ return /* @__PURE__ */ s(
170
+ O,
171
+ {
172
+ ...B,
173
+ className: de({ density: a, className: z }),
174
+ "data-component": "medication-line",
175
+ "data-component-id": N,
176
+ "data-medication-id": t.id,
177
+ children: [
178
+ /* @__PURE__ */ s("div", { className: oe({ density: a }), children: [
179
+ /* @__PURE__ */ e("p", { dir: "auto", className: re({ density: a }), children: x }),
180
+ P && L !== "" ? /* @__PURE__ */ e("p", { dir: "auto", className: le({ density: a }), children: L }) : null,
181
+ /* @__PURE__ */ s("dl", { className: "ds:m-0 ds:flex ds:flex-col", children: [
182
+ /* @__PURE__ */ s("div", { className: c(), children: [
183
+ /* @__PURE__ */ e("dt", { className: m({ density: a }), children: i("medicationLine.dosage") }),
184
+ /* @__PURE__ */ e("dd", { dir: "auto", className: u({ density: a }), children: p })
185
+ ] }),
186
+ d !== void 0 && Number.isFinite(d) ? /* @__PURE__ */ s("div", { className: c(), children: [
187
+ /* @__PURE__ */ e("dt", { className: m({ density: a }), children: i("medicationLine.quantity") }),
188
+ /* @__PURE__ */ e("dd", { className: u({ density: a }), children: new Intl.NumberFormat(ee(E.language)).format(
189
+ d
190
+ ) })
191
+ ] }) : null,
192
+ b(r) ? /* @__PURE__ */ s("div", { className: c(), children: [
193
+ /* @__PURE__ */ e("dt", { className: m({ density: a }), children: i("medicationLine.duration") }),
194
+ /* @__PURE__ */ e("dd", { dir: "auto", className: u({ density: a }), children: r })
195
+ ] }) : null,
196
+ b(o) ? /* @__PURE__ */ s("div", { className: c(), children: [
197
+ /* @__PURE__ */ e("dt", { className: m({ density: a }), children: i("medicationLine.notes") }),
198
+ /* @__PURE__ */ e("dd", { dir: "auto", className: u({ density: a }), children: o })
199
+ ] }) : null
200
+ ] }),
201
+ R ? /* @__PURE__ */ e("p", { className: "ds:m-0", "data-slot": "not-substitutable", children: /* @__PURE__ */ e(Z, { size: "sm", variant: "neutral", children: i("medicationLine.notSubstitutable") }) }) : null
202
+ ] }),
203
+ J ? /* @__PURE__ */ e(
204
+ $,
205
+ {
206
+ type: "button",
207
+ intent: "ghost",
208
+ icon: /* @__PURE__ */ e(ne, { "aria-hidden": "true" }),
209
+ "aria-label": Q,
210
+ disabled: v,
211
+ onClick: h,
212
+ className: "ds:shrink-0 ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)] ds:print:hidden"
213
+ }
214
+ ) : null
215
+ ]
216
+ }
217
+ );
218
+ }
219
+ );
220
+ me.displayName = "MedicationLine";
221
+ const ue = I(({ density: t = "default", className: p, children: o, ...d }, r) => /* @__PURE__ */ e(A.Provider, { value: t, children: /* @__PURE__ */ e(C.Provider, { value: !0, children: /* @__PURE__ */ e(
222
+ "ul",
223
+ {
224
+ ref: r,
225
+ role: "list",
226
+ ...d,
227
+ className: ce({ className: p }),
228
+ "data-component": "medication-line-list",
229
+ children: o
230
+ }
231
+ ) }) }));
232
+ ue.displayName = "MedicationLineList";
233
+ export {
234
+ me as M,
235
+ ue as a,
236
+ se as m
237
+ };
238
+ //# sourceMappingURL=medication-line-BohqbCYD.js.map
@@ -0,0 +1,380 @@
1
+ import { jsxs as K, jsx as c } from "react/jsx-runtime";
2
+ import { forwardRef as xe, useState as j, useRef as o, useEffect as ke, useCallback as h, useMemo as Me, useImperativeHandle as qe } from "react";
3
+ import { c as Ce } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Te } from "react-i18next";
5
+ import { A as Ie } from "./autocomplete-HZNW7_Pa.js";
6
+ import { B as Ne } from "./button-DohK_Ak_.js";
7
+ import { S as Oe } from "./spinner-CoflYlEx.js";
8
+ import { T as Re } from "./tooltip-uEBdD1-5.js";
9
+ import { u as Ee } from "./form-field-context-DtiROUJV.js";
10
+ import { u as Fe } from "./use-controllable-state-BiY4xTzM.js";
11
+ import { u as A } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
12
+ import { u as Ke } from "./registry-DvAUVLHh.js";
13
+ import { f as u, m as je } from "./medication-I6QvOq6k.js";
14
+ const Ae = {
15
+ id: "medication-search",
16
+ // `select_single`, not `pick`: the component keeps the selection (as
17
+ // Autocomplete does), and `pick` is "without persisting selection state".
18
+ capabilities: ["select_single", "filter", "open", "close"],
19
+ state: {
20
+ value: {
21
+ type: "string | null",
22
+ descriptionKey: "ui.agent.medicationSearch.state.value",
23
+ description: "Catalogue id of the selected medication, or null when none is selected.",
24
+ read: (r) => r.getValue()
25
+ },
26
+ query: {
27
+ type: "string",
28
+ descriptionKey: "ui.agent.medicationSearch.state.query",
29
+ description: "The text typed in the search field while no medication is selected, and an empty string once one is selected (the field then shows the medication name, which is not state).",
30
+ read: (r) => r.getValue() === null ? r.getQuery() : ""
31
+ },
32
+ isOpen: {
33
+ type: "boolean",
34
+ descriptionKey: "ui.agent.medicationSearch.state.isOpen",
35
+ description: "True when the list of results is visible.",
36
+ read: (r) => r.getIsOpen()
37
+ }
38
+ },
39
+ actions: {
40
+ apply_filter: {
41
+ // Clears any selection and calls the host catalogue.
42
+ safety: "write",
43
+ openWorld: !0,
44
+ argsType: "{ query: string }",
45
+ argsSchema: {
46
+ type: "object",
47
+ properties: { query: { type: "string" } },
48
+ required: ["query"]
49
+ },
50
+ idempotent: !0,
51
+ descriptionKey: "ui.agent.medicationSearch.actions.applyFilter",
52
+ description: "Type a search into the field, as a user would. This clears any selected medication and calls the host catalogue.",
53
+ invoke: (r, p) => {
54
+ r.setQuery(p.query);
55
+ }
56
+ },
57
+ pick: {
58
+ // The field holds a catalogue id and persists nothing; the pattern
59
+ // that links it to a patient classes its own workflow `phi`. Same
60
+ // class as combobox.set_value and select.set_value.
61
+ safety: "write",
62
+ argsType: "{ id: string }",
63
+ argsSchema: {
64
+ type: "object",
65
+ properties: {
66
+ id: {
67
+ type: "string",
68
+ description: "Catalogue id of a result the host search returned for the current query. Never free text."
69
+ }
70
+ },
71
+ required: ["id"]
72
+ },
73
+ idempotent: !0,
74
+ returns: "boolean",
75
+ returnsSchema: {
76
+ type: "boolean",
77
+ description: "True when a loaded result had that id and was chosen."
78
+ },
79
+ descriptionKey: "ui.agent.medicationSearch.actions.pick",
80
+ description: "Choose one of the currently loaded results by its catalogue id. Fails (false) for an id the search did not return.",
81
+ invoke: (r, p) => r.pick(p.id)
82
+ },
83
+ clear: {
84
+ safety: "destructive",
85
+ idempotent: !0,
86
+ descriptionKey: "ui.agent.medicationSearch.actions.clear",
87
+ description: "Clear the selected medication and the search text.",
88
+ invoke: (r) => {
89
+ r.clear();
90
+ }
91
+ },
92
+ open: {
93
+ safety: "read",
94
+ idempotent: !0,
95
+ descriptionKey: "ui.agent.medicationSearch.actions.open",
96
+ description: "Open the list of results.",
97
+ invoke: (r) => {
98
+ r.open();
99
+ }
100
+ },
101
+ close: {
102
+ safety: "read",
103
+ idempotent: !0,
104
+ descriptionKey: "ui.agent.medicationSearch.actions.close",
105
+ description: "Close the list of results.",
106
+ invoke: (r) => {
107
+ r.close();
108
+ }
109
+ }
110
+ },
111
+ domHooks: {
112
+ root: {
113
+ attr: "data-component",
114
+ value: "medication-search",
115
+ description: "Marks the MedicationSearch root."
116
+ },
117
+ instanceId: {
118
+ attr: "data-component-id",
119
+ sourceProp: "id",
120
+ description: "Sourced from the id prop."
121
+ },
122
+ item: {
123
+ attr: "data-option-id",
124
+ description: "Each result emits its catalogue id as data-option-id. Never the name."
125
+ }
126
+ }
127
+ }, Le = Ce(
128
+ [
129
+ "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-xs)]",
130
+ "ds:[&_input]:text-ellipsis"
131
+ ].join(" ")
132
+ ), Be = xe(function({
133
+ loadOptions: p,
134
+ value: U,
135
+ defaultValue: X,
136
+ onValueChange: Y,
137
+ codeLabel: Z,
138
+ status: f = "ready",
139
+ onRetry: l,
140
+ placeholder: ee,
141
+ disabled: te,
142
+ required: re,
143
+ size: ae,
144
+ tone: ne,
145
+ id: v,
146
+ name: ie,
147
+ debounceMs: oe,
148
+ className: se,
149
+ "aria-label": ce,
150
+ "aria-labelledby": L,
151
+ "aria-describedby": le,
152
+ "aria-invalid": de
153
+ }, ue) {
154
+ const { t: i } = Te("ui"), B = Ee(), [pe, S] = Fe({
155
+ value: U,
156
+ defaultValue: X ?? null,
157
+ onChange: Y
158
+ }), n = pe ?? null, [b, I] = j(
159
+ n ? u(n) : ""
160
+ ), [Q, w] = j(!1), [N, O] = j(!1), V = o(null), m = o(!1), R = o(!1), x = o(null), s = o(null), E = o(n), D = o(n), k = o(b), P = o(p), M = o(/* @__PURE__ */ new Map()), q = o(!1);
161
+ A(() => {
162
+ E.current = n, k.current = b, P.current = p;
163
+ }), ke(() => {
164
+ const e = D.current;
165
+ D.current = n, I((t) => n ? u(n) : e && t === u(e) ? "" : t);
166
+ }, [n]);
167
+ const _ = Z ?? i("medicationSearch.codeFallbackLabel"), z = h(
168
+ (e) => {
169
+ var d, J;
170
+ const t = (d = e.activeIngredient) == null ? void 0 : d.trim(), a = (J = e.code) == null ? void 0 : J.trim(), y = je(
171
+ {
172
+ id: e.id,
173
+ name: e.name,
174
+ form: e.form,
175
+ activeIngredient: t ? i("medicationSearch.activeIngredient", { value: t }) : void 0
176
+ },
177
+ a ? i("medicationSearch.code", { label: _, code: a }) : void 0
178
+ );
179
+ return {
180
+ value: e.id,
181
+ label: u({
182
+ id: e.id,
183
+ name: e.name,
184
+ strength: e.strength
185
+ }),
186
+ // Each data part is isolated (U+2068 ... U+2069), so a Latin drug
187
+ // name in an Arabic line keeps its own order and does not reorder
188
+ // its neighbours.
189
+ description: y.length > 0 ? y.map((we) => `⁨${we}⁩`).join(" · ") : void 0,
190
+ dir: "auto"
191
+ };
192
+ },
193
+ [_, i]
194
+ ), H = o(z);
195
+ A(() => {
196
+ H.current = z;
197
+ });
198
+ const fe = h(
199
+ async (e, t) => {
200
+ const a = await P.current(e, t);
201
+ if (t.signal.aborted) throw new DOMException("Aborted", "AbortError");
202
+ const y = /* @__PURE__ */ new Map();
203
+ for (const d of a) y.set(d.id, d);
204
+ return M.current = y, w(!1), a.map((d) => H.current(d));
205
+ },
206
+ []
207
+ ), me = h(() => {
208
+ M.current = /* @__PURE__ */ new Map(), k.current !== "" && w(!0);
209
+ }, []), he = h(
210
+ (e) => {
211
+ I(e), e === "" && w(!1);
212
+ const t = E.current;
213
+ t && e !== u(t) && (q.current = !0, queueMicrotask(() => {
214
+ q.current && (q.current = !1, S(null));
215
+ }));
216
+ },
217
+ [S]
218
+ ), C = h(
219
+ (e) => {
220
+ q.current = !1, I(u(e)), S(e);
221
+ },
222
+ [S]
223
+ ), ge = h(
224
+ (e) => {
225
+ const t = M.current.get(e.value);
226
+ t && C(t);
227
+ },
228
+ [C]
229
+ ), F = Me(
230
+ () => ({
231
+ getValue: () => {
232
+ var e;
233
+ return ((e = E.current) == null ? void 0 : e.id) ?? null;
234
+ },
235
+ getQuery: () => k.current,
236
+ setQuery: (e) => {
237
+ var t;
238
+ return (t = s.current) == null ? void 0 : t.search(e);
239
+ },
240
+ clear: () => {
241
+ var e;
242
+ return (e = s.current) == null ? void 0 : e.clear();
243
+ },
244
+ focus: () => {
245
+ var e;
246
+ return (e = x.current) == null ? void 0 : e.focus();
247
+ },
248
+ open: () => {
249
+ var e;
250
+ return (e = s.current) == null ? void 0 : e.open();
251
+ },
252
+ close: () => {
253
+ var e;
254
+ return (e = s.current) == null ? void 0 : e.close();
255
+ },
256
+ getIsOpen: () => {
257
+ var e;
258
+ return ((e = s.current) == null ? void 0 : e.getIsOpen()) ?? !1;
259
+ },
260
+ pick: (e) => {
261
+ var a;
262
+ const t = M.current.get(e);
263
+ return t ? (C(t), (a = s.current) == null || a.close(), !0) : !1;
264
+ }
265
+ }),
266
+ [C]
267
+ );
268
+ qe(ue, () => F, [F]), Ke(Ae, F, v);
269
+ const g = f === "loading", T = f === "error" || Q, $ = l !== void 0 && (T || N);
270
+ A(() => {
271
+ var t;
272
+ if (!N) return;
273
+ if (f === "loading") {
274
+ R.current = !0;
275
+ return;
276
+ }
277
+ const e = R.current;
278
+ if (R.current = !1, f === "ready") {
279
+ const a = document.activeElement;
280
+ m.current && (!a || a === document.body || a === V.current) && ((t = x.current) == null || t.focus()), m.current = !1, O(!1);
281
+ return;
282
+ }
283
+ e && (m.current = !1, O(!1));
284
+ }, [N, f]);
285
+ const ye = () => {
286
+ var t, a;
287
+ if (m.current = !0, f === "error") {
288
+ O(!0), l == null || l();
289
+ return;
290
+ }
291
+ w(!1), (t = x.current) == null || t.focus();
292
+ const e = k.current;
293
+ e !== "" && ((a = s.current) == null || a.search(e)), m.current = !1, l == null || l();
294
+ }, W = `${v ?? B.id}-status`, ve = [le, T ? W : void 0].filter(Boolean).join(" ") || void 0, Se = g ? i("medicationSearch.loading") : ee ?? i("medicationSearch.placeholder"), be = ce ?? (L || B.label ? void 0 : i("medicationSearch.label")), G = n ? u(n) : "";
295
+ return /* @__PURE__ */ K(
296
+ "div",
297
+ {
298
+ className: Le({ className: se }),
299
+ "data-component": "medication-search",
300
+ "data-component-id": v,
301
+ "data-has-value": n ? !0 : void 0,
302
+ children: [
303
+ /* @__PURE__ */ c(Re, { label: G, open: n ? void 0 : !1, side: "top", children: /* @__PURE__ */ c("div", { className: "ds:w-full", children: /* @__PURE__ */ c(
304
+ Ie,
305
+ {
306
+ ref: x,
307
+ handleRef: s,
308
+ registerAgent: !1,
309
+ openOnFocus: !(n && b === G),
310
+ showDescriptions: !0,
311
+ inputDir: "auto",
312
+ emptyMessage: i(Q ? "medicationSearch.error" : "medicationSearch.empty"),
313
+ onLoadError: me,
314
+ "aria-labelledby": L,
315
+ id: v,
316
+ name: ie,
317
+ loadOptions: fe,
318
+ debounceMs: oe,
319
+ value: b,
320
+ onChange: he,
321
+ onSelect: ge,
322
+ placeholder: Se,
323
+ disabled: te || g,
324
+ required: re,
325
+ size: ae,
326
+ tone: ne,
327
+ "aria-label": be,
328
+ "aria-invalid": de,
329
+ "aria-describedby": ve
330
+ }
331
+ ) }) }),
332
+ /* @__PURE__ */ c("span", { role: "status", className: "ds:sr-only", children: g ? i("medicationSearch.loading") : "" }),
333
+ g ? /* @__PURE__ */ K(
334
+ "div",
335
+ {
336
+ "aria-hidden": "true",
337
+ className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-muted-foreground",
338
+ children: [
339
+ /* @__PURE__ */ c(Oe, { size: "sm" }),
340
+ /* @__PURE__ */ c("span", { children: i("medicationSearch.loading") })
341
+ ]
342
+ }
343
+ ) : null,
344
+ T || $ ? /* @__PURE__ */ K("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: [
345
+ T ? /* @__PURE__ */ c(
346
+ "p",
347
+ {
348
+ id: W,
349
+ role: "alert",
350
+ className: "type-body-sm ds:text-destructive",
351
+ children: i("medicationSearch.error")
352
+ }
353
+ ) : null,
354
+ $ ? /* @__PURE__ */ c(
355
+ Ne,
356
+ {
357
+ ref: V,
358
+ type: "button",
359
+ intent: "outline",
360
+ className: "ds:min-h-[var(--min-target-size)]",
361
+ loading: g,
362
+ onClick: ye,
363
+ onBlur: (e) => {
364
+ e.relatedTarget && (m.current = !1);
365
+ },
366
+ children: i("medicationSearch.retry")
367
+ }
368
+ ) : null
369
+ ] }) : null
370
+ ]
371
+ }
372
+ );
373
+ });
374
+ Be.displayName = "MedicationSearch";
375
+ export {
376
+ Be as M,
377
+ Le as a,
378
+ Ae as m
379
+ };
380
+ //# sourceMappingURL=medication-search-DoEDakoM.js.map
@@ -9,9 +9,8 @@ import { T as he } from "./tooltip-uEBdD1-5.js";
9
9
  import { c as dt } from "./compose-refs-C0k0tdqF.js";
10
10
  import { u as ct } from "./use-controllable-state-BiY4xTzM.js";
11
11
  import { u as E } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
12
- import { g as ut } from "./group-options-BvKhQ3xb.js";
12
+ import { g as ut, O as mt, a as pt, c as ft, b as ht, o as gt } from "./option-row-DpCnuUqo.js";
13
13
  import { b as ye } from "./menu-row-BAr8bx1I.js";
14
- import { O as mt, a as pt, o as ft, b as ht, c as gt } from "./option-row-Dc7BrbK8.js";
15
14
  import { b as X, c as bt } from "./input-surface-BMffm2Vd.js";
16
15
  import { u as vt } from "./registry-DvAUVLHh.js";
17
16
  import { X as yt } from "./x-B5YnXwCz.js";
@@ -698,10 +697,10 @@ const It = {
698
697
  }
699
698
  );
700
699
  Se.displayName = "MultiSelect";
701
- const Ut = Se;
700
+ const $t = Se;
702
701
  export {
703
- Ut as M,
702
+ $t as M,
704
703
  xt as a,
705
704
  It as m
706
705
  };
707
- //# sourceMappingURL=multi-select-Df3R8lv_.js.map
706
+ //# sourceMappingURL=multi-select-DeMiHm8T.js.map
@@ -5,7 +5,7 @@ import { c as E1 } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as a2 } from "react-i18next";
6
6
  import { u as $2 } from "./registry-DvAUVLHh.js";
7
7
  import { m as c2, A as N2 } from "./annotation-marker-D-M7y4R1.js";
8
- import { T as m1 } from "./tabs-Czkmw5ou.js";
8
+ import { T as m1 } from "./tabs-BXr5XeGq.js";
9
9
  import { B as I2 } from "./button-DohK_Ak_.js";
10
10
  import { C as E2 } from "./check-DrFSN__t.js";
11
11
  const P = {
@@ -3415,4 +3415,4 @@ export {
3415
3415
  I3 as u,
3416
3416
  c3 as v
3417
3417
  };
3418
- //# sourceMappingURL=muscle-scheme-D_rSyGDj.js.map
3418
+ //# sourceMappingURL=muscle-scheme-BB2eBfww.js.map
@@ -0,0 +1,7 @@
1
+ function u(e) {
2
+ return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[\u2018\u2019\u02bc\u2032\u0060\u00b4]/g, "'").toLowerCase();
3
+ }
4
+ export {
5
+ u as n
6
+ };
7
+ //# sourceMappingURL=normalize-diacritics-DhJjQ3Bp.js.map
@@ -6,7 +6,7 @@ import { g as mt } from "./get-error-message-DbFUzuja.js";
6
6
  import { h as Rt } from "./handled-rejection-C-6Dq0As.js";
7
7
  import { u as zn } from "./registry-DvAUVLHh.js";
8
8
  import { C as Hn } from "./clinical-note-card-D--IwbZa.js";
9
- import { R as Mn } from "./rich-text-editor-C48omVjq.js";
9
+ import { R as Mn } from "./rich-text-editor-DFsH5RAj.js";
10
10
  import { T as Wn } from "./text-area-COMVJ1yE.js";
11
11
  import { A as j } from "./alert-C4WKViaS.js";
12
12
  import { B as te } from "./button-DohK_Ak_.js";
@@ -1110,4 +1110,4 @@ const Lr = qn(
1110
1110
  export {
1111
1111
  Lr as N
1112
1112
  };
1113
- //# sourceMappingURL=notes-panel-DsEKNtsw.js.map
1113
+ //# sourceMappingURL=notes-panel-CnmQqhwq.js.map