@alfadocs/ui-kit 1.150.0 → 1.151.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 (261) hide show
  1. package/dist/_chunks/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
  2. package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
  4. package/dist/_chunks/{ai-summary-panel-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
  8. package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
  9. package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
  10. package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
  11. package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
  12. package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-COfoHpoJ.js} +2 -2
  13. package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-BlKwDJKi.js} +2 -2
  14. package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
  15. package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
  16. package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +337 -334
  17. package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
  18. package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
  19. package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
  20. package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
  21. package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
  22. package/dist/_chunks/code-BfU9G1ZM.js +15 -0
  23. package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
  24. package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
  25. package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
  26. package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
  27. package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
  28. package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
  29. package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
  30. package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
  31. package/dist/_chunks/{document-preview-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
  32. package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
  33. package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
  34. package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
  35. package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
  36. package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
  37. package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
  38. package/dist/_chunks/{feature-preview-switch-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
  39. package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
  40. package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
  41. package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
  42. package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
  43. package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
  44. package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
  45. package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
  46. package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
  47. package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
  48. package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
  49. package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
  50. package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
  51. package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
  52. package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
  53. package/dist/_chunks/{notes-panel-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
  54. package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
  55. package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
  56. package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
  57. package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
  58. package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DQx_9CYV.js} +3 -3
  59. package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-BOHcm9hT.js} +5 -5
  60. package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
  61. package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
  62. package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
  63. package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
  64. package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-R-lwrisO.js} +4 -4
  65. package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-C6XlWpEl.js} +3 -3
  66. package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DlvSUZFX.js} +2 -2
  67. package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
  68. package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
  69. package/dist/_chunks/{privacy-mask-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
  71. package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
  72. package/dist/_chunks/{radiograph-panel.agent-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
  73. package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
  74. package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
  75. package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
  76. package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
  77. package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
  78. package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
  79. package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
  80. package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
  81. package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
  82. package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
  83. package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
  84. package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
  85. package/dist/_chunks/{task-editor-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
  86. package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
  87. package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
  88. package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-B4p6MmxA.js} +253 -250
  89. package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
  90. package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
  91. package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
  92. package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
  93. package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
  94. package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
  95. package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
  96. package/dist/agent-catalog.json +1 -1
  97. package/dist/appointment-editor-panel/index.js +3 -3
  98. package/dist/booking-tools-data/index.js +1 -1
  99. package/dist/browser-support.js +1 -1
  100. package/dist/calendar-action-buttons/index.js +1 -1
  101. package/dist/components/_shared/mark-adrift.d.ts +12 -0
  102. package/dist/components/_shared/safe-html.d.ts +6 -0
  103. package/dist/components/_shared/tooth-chip.d.ts +21 -0
  104. package/dist/components/address-autocomplete/index.js +1 -1
  105. package/dist/components/address-fields/index.js +1 -1
  106. package/dist/components/agenda-tray/index.js +1 -1
  107. package/dist/components/ai-summary-panel/index.js +1 -1
  108. package/dist/components/anamnesis-card/index.js +1 -1
  109. package/dist/components/app-frame/index.js +1 -1
  110. package/dist/components/appointment-card/index.js +1 -1
  111. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
  112. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -2
  113. package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
  114. package/dist/components/appointment-details-panel/index.d.ts +1 -0
  115. package/dist/components/appointment-details-panel/index.js +7 -6
  116. package/dist/components/appointment-peek/index.js +1 -1
  117. package/dist/components/appointment-timeline/index.js +1 -1
  118. package/dist/components/bill-line-table/index.js +1 -1
  119. package/dist/components/bill-table/index.js +1 -1
  120. package/dist/components/booking/index.js +1 -1
  121. package/dist/components/calls-panel/index.js +1 -1
  122. package/dist/components/communications-panel/index.js +1 -1
  123. package/dist/components/connection-status/index.js +1 -1
  124. package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
  125. package/dist/components/control-room-rail/index.js +1 -1
  126. package/dist/components/data-grid/index.js +2 -2
  127. package/dist/components/data-table/index.js +3 -3
  128. package/dist/components/description-list/index.js +1 -1
  129. package/dist/components/dev-bypass-button/index.js +1 -1
  130. package/dist/components/document-preview/index.js +1 -1
  131. package/dist/components/empty-state/index.js +1 -1
  132. package/dist/components/error-boundary/index.js +1 -1
  133. package/dist/components/face-scheme/index.js +1 -1
  134. package/dist/components/feature-preview-switch/index.js +1 -1
  135. package/dist/components/file-manager/index.js +1 -1
  136. package/dist/components/heatmap/index.js +1 -1
  137. package/dist/components/info-tip/index.js +1 -1
  138. package/dist/components/invoice-upload-list/index.js +1 -1
  139. package/dist/components/map-view/index.js +1 -1
  140. package/dist/components/message-tray/index.js +1 -1
  141. package/dist/components/note-timeline/index.js +1 -1
  142. package/dist/components/note-timeline/note-timeline.d.ts +8 -0
  143. package/dist/components/notes-panel/index.js +1 -1
  144. package/dist/components/notes-panel/notes-panel.d.ts +18 -7
  145. package/dist/components/notification-tray/index.js +1 -1
  146. package/dist/components/optical-prescription/index.js +1 -1
  147. package/dist/components/panel-subview/index.js +1 -1
  148. package/dist/components/patient-details/index.js +1 -1
  149. package/dist/components/patient-summary-card/index.js +1 -1
  150. package/dist/components/patient-table/index.js +1 -1
  151. package/dist/components/payment-card/index.js +1 -1
  152. package/dist/components/practice-results/index.js +1 -1
  153. package/dist/components/product-hub-tray/index.js +1 -1
  154. package/dist/components/public-header/index.js +1 -1
  155. package/dist/components/radiograph-panel/index.js +1 -1
  156. package/dist/components/registry-connection-panel/index.js +1 -1
  157. package/dist/components/reviews-panel/index.js +1 -1
  158. package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -6
  159. package/dist/components/rich-text-editor/index.d.ts +1 -1
  160. package/dist/components/rich-text-editor/index.js +1 -1
  161. package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
  162. package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
  163. package/dist/components/scroll-area/index.js +1 -1
  164. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  165. package/dist/components/sheet/index.js +1 -1
  166. package/dist/components/sidebar/index.js +1 -1
  167. package/dist/components/slot-grid/index.js +1 -1
  168. package/dist/components/sync-tray/index.js +1 -1
  169. package/dist/components/task-editor/index.js +1 -1
  170. package/dist/components/task-tray/index.js +1 -1
  171. package/dist/components/tasks-panel/index.js +1 -1
  172. package/dist/components/tool-rail/index.js +1 -1
  173. package/dist/components/tool-rail/tool-rail.d.ts +11 -0
  174. package/dist/components/treatment-receipt/index.js +1 -1
  175. package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
  176. package/dist/components/week-availability/index.js +1 -1
  177. package/dist/components/workflow/index.js +1 -1
  178. package/dist/core.css +1 -1
  179. package/dist/find-free-slots-panel/index.js +1 -1
  180. package/dist/host-compat.css +4 -1
  181. package/dist/host-legacy.css +13 -1
  182. package/dist/i18n/locales/ar.d.ts +9 -0
  183. package/dist/i18n/locales/ar.js +11 -2
  184. package/dist/i18n/locales/de.d.ts +9 -0
  185. package/dist/i18n/locales/de.js +11 -2
  186. package/dist/i18n/locales/el.d.ts +9 -0
  187. package/dist/i18n/locales/el.js +11 -2
  188. package/dist/i18n/locales/en.d.ts +9 -0
  189. package/dist/i18n/locales/en.js +10 -1
  190. package/dist/i18n/locales/es.d.ts +9 -0
  191. package/dist/i18n/locales/es.js +11 -2
  192. package/dist/i18n/locales/fr.d.ts +9 -0
  193. package/dist/i18n/locales/fr.js +11 -2
  194. package/dist/i18n/locales/hi.d.ts +9 -0
  195. package/dist/i18n/locales/hi.js +11 -2
  196. package/dist/i18n/locales/it.d.ts +9 -0
  197. package/dist/i18n/locales/it.js +11 -2
  198. package/dist/i18n/locales/ja.d.ts +9 -0
  199. package/dist/i18n/locales/ja.js +11 -2
  200. package/dist/i18n/locales/nl.d.ts +9 -0
  201. package/dist/i18n/locales/nl.js +11 -2
  202. package/dist/i18n/locales/pl.d.ts +9 -0
  203. package/dist/i18n/locales/pl.js +11 -2
  204. package/dist/i18n/locales/pt.d.ts +9 -0
  205. package/dist/i18n/locales/pt.js +11 -2
  206. package/dist/i18n/locales/ro.d.ts +9 -0
  207. package/dist/i18n/locales/ro.js +11 -2
  208. package/dist/i18n/locales/ru.d.ts +9 -0
  209. package/dist/i18n/locales/ru.js +11 -2
  210. package/dist/i18n/locales/sq.d.ts +9 -0
  211. package/dist/i18n/locales/sq.js +11 -2
  212. package/dist/i18n/locales/sv.d.ts +9 -0
  213. package/dist/i18n/locales/sv.js +11 -2
  214. package/dist/i18n/locales/tr.d.ts +9 -0
  215. package/dist/i18n/locales/tr.js +11 -2
  216. package/dist/i18n/locales/zh.d.ts +9 -0
  217. package/dist/i18n/locales/zh.js +11 -2
  218. package/dist/index.js +817 -816
  219. package/dist/locales/ar.json +11 -2
  220. package/dist/locales/de.json +11 -2
  221. package/dist/locales/el.json +11 -2
  222. package/dist/locales/en.json +10 -1
  223. package/dist/locales/es.json +11 -2
  224. package/dist/locales/fr.json +11 -2
  225. package/dist/locales/hi.json +11 -2
  226. package/dist/locales/it.json +11 -2
  227. package/dist/locales/ja.json +11 -2
  228. package/dist/locales/nl.json +11 -2
  229. package/dist/locales/pl.json +11 -2
  230. package/dist/locales/pt.json +11 -2
  231. package/dist/locales/ro.json +11 -2
  232. package/dist/locales/ru.json +11 -2
  233. package/dist/locales/sq.json +11 -2
  234. package/dist/locales/sv.json +11 -2
  235. package/dist/locales/tr.json +11 -2
  236. package/dist/locales/zh.json +11 -2
  237. package/dist/online-bookings-panel/index.js +2 -2
  238. package/dist/patterns/alia-assistant/index.js +1 -1
  239. package/dist/patterns/anamnesis/index.js +1 -1
  240. package/dist/patterns/calendar/index.js +4 -4
  241. package/dist/patterns/error-page/index.js +2 -2
  242. package/dist/patterns/help-me-write-templates/index.js +1 -1
  243. package/dist/patterns/login-form/index.js +1 -1
  244. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  245. package/dist/patterns/patient-account-settings/index.js +1 -1
  246. package/dist/patterns/patient-check-in/index.js +1 -1
  247. package/dist/patterns/patient-portal/index.js +2 -2
  248. package/dist/patterns/prescription/index.js +1 -1
  249. package/dist/patterns/registration-form/index.js +1 -1
  250. package/dist/patterns/signed-out-frame/index.js +1 -1
  251. package/dist/patterns/signing/index.js +1 -1
  252. package/dist/redactor.css +9 -0
  253. package/dist/safe-html/index.js +33 -19
  254. package/dist/tokens.css +61 -52
  255. package/dist/waiting-list-panel/index.js +3 -3
  256. package/package.json +1 -1
  257. package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
  258. package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
  259. package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
  260. package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
  261. /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
@@ -1,38 +1,38 @@
1
1
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
- import { forwardRef as $e, useId as De, useMemo as Ge } from "react";
3
- import { c as Le } from "./index-D2ZczOXr.js";
4
- import { useTranslation as Ue } from "react-i18next";
5
- import { A as re } from "./avatar-Dp5apm1d.js";
2
+ import { forwardRef as De, useId as Ge, useMemo as Le } from "react";
3
+ import { c as Ue } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Be } from "react-i18next";
5
+ import { A as le } from "./avatar-Dp5apm1d.js";
6
6
  import { B as D } from "./badge-BUk4RjTS.js";
7
- import { I as Be } from "./icon-button-u9VMQn3x.js";
8
- import { C as le } from "./card-n6W6LW-N.js";
9
- import { K as Re, a as Ke } from "./key-value-pair-BykhMTcP.js";
7
+ import { I as Re } from "./icon-button-u9VMQn3x.js";
8
+ import { C as oe } from "./card-n6W6LW-N.js";
9
+ import { K as Ke, a as je } from "./key-value-pair-BykhMTcP.js";
10
10
  import { L as V } from "./link-CeV7FoI6.js";
11
11
  import { S as k } from "./skeleton-tTWJpvAq.js";
12
- import { T as oe } from "./tag-BNlcEJfE.js";
13
- import { T as je } from "./transaction-chip-6jToArJn.js";
14
- import { T as We } from "./tooltip-uEBdD1-5.js";
12
+ import { T as de } from "./tag-BNlcEJfE.js";
13
+ import { T as We } from "./transaction-chip-6jToArJn.js";
14
+ import { T as qe } from "./tooltip-uEBdD1-5.js";
15
15
  import { H as G } from "./hover-card-CS8ulBf9.js";
16
- import { i as de } from "./is-safe-url-CEy9CEml.js";
17
- import { u as qe, r as He, a as Je, b as Qe, F as Xe, S as Ye, A as Ze, N as Oe } from "./patient-field-row-DytaHdGw.js";
18
- import { u as ea } from "./registry-DvAUVLHh.js";
19
- import { M as aa } from "./mail-BqXVF2zH.js";
20
- import { P as ta } from "./phone-FceYcIFQ.js";
21
- import { M as na } from "./map-pin-BaY37-Km.js";
22
- import { S as ia } from "./shield-check-DCJALLVh.js";
23
- import { A as sa } from "./astroid-BN4f5VXU.js";
24
- import { U as ra } from "./users-BjS_Gg1E.js";
25
- import { c as la } from "./createLucideIcon-DhHxpK9K.js";
26
- import { M as oa } from "./message-square-warning-DsGGfd0K.js";
27
- import { A as da } from "./arrow-up-right-C2v_MKsK.js";
28
- import { C as ca } from "./calendar-days-BGWklvE-.js";
16
+ import { i as ce } from "./is-safe-url-CEy9CEml.js";
17
+ import { u as He, r as Je, a as Qe, b as Xe, F as Ye, S as Ze, A as Oe, N as ea } from "./patient-field-row-BDgfYLgz.js";
18
+ import { u as aa } from "./registry-DvAUVLHh.js";
19
+ import { M as ta } from "./mail-BqXVF2zH.js";
20
+ import { P as na } from "./phone-FceYcIFQ.js";
21
+ import { M as ia } from "./map-pin-BaY37-Km.js";
22
+ import { S as sa } from "./shield-check-DCJALLVh.js";
23
+ import { A as ra } from "./astroid-BN4f5VXU.js";
24
+ import { U as la } from "./users-BjS_Gg1E.js";
25
+ import { c as oa } from "./createLucideIcon-DhHxpK9K.js";
26
+ import { M as da } from "./message-square-warning-DsGGfd0K.js";
27
+ import { A as ca } from "./arrow-up-right-C2v_MKsK.js";
28
+ import { C as ua } from "./calendar-days-BGWklvE-.js";
29
29
  /**
30
30
  * @license lucide-react v1.22.0 - ISC
31
31
  *
32
32
  * This source code is licensed under the ISC license.
33
33
  * See the LICENSE file in the root directory of this source tree.
34
34
  */
35
- const ua = [
35
+ const ma = [
36
36
  [
37
37
  "path",
38
38
  {
@@ -42,7 +42,7 @@ const ua = [
42
42
  ],
43
43
  ["path", { d: "M12 9v4", key: "juzpu7" }],
44
44
  ["path", { d: "M12 17h.01", key: "p32p05" }]
45
- ], ma = la("file-exclamation-point", ua), pa = {
45
+ ], pa = oa("file-exclamation-point", ma), ha = {
46
46
  id: "patient-summary-card",
47
47
  // The agent surface is a structural snapshot only — the single handle method
48
48
  // is a getSummary projection. The card MAY be human-customized (the optional
@@ -71,7 +71,7 @@ const ua = [
71
71
  description: "Sourced from the id prop."
72
72
  }
73
73
  }
74
- }, fa = [], ha = Le("ds:w-full ds:text-[color:var(--foreground)]", {
74
+ }, fa = [], ga = Ue("ds:w-full ds:text-[color:var(--foreground)]", {
75
75
  variants: {
76
76
  // Matches the kit's other `surface` props (ContactProfileCard,
77
77
  // OperatorHero). `'elevated'` wraps the content in `<Card>`.
@@ -91,44 +91,44 @@ const ua = [
91
91
  density: "comfortable"
92
92
  }
93
93
  });
94
- function ga(o) {
94
+ function va(o) {
95
95
  return o.replace(/[^\d+]/g, "");
96
96
  }
97
- const va = {
98
- highlightedAnamnesis: oa,
99
- unsignedDocuments: ma
100
- }, ya = {
97
+ const ya = {
98
+ highlightedAnamnesis: da,
99
+ unsignedDocuments: pa
100
+ }, ba = {
101
101
  highlightedAnamnesis: "warning",
102
102
  unsignedDocuments: "info"
103
- }, ba = {
103
+ }, Ca = {
104
104
  highlightedAnamnesis: "{{count}} highlighted anamnesis answers",
105
105
  unsignedDocuments: "{{count}} unsigned documents"
106
- }, Ca = {
106
+ }, xa = {
107
107
  yes: "Yes",
108
108
  no: "No",
109
109
  not_specified: "Not specified"
110
- }, xa = $e(
110
+ }, Sa = De(
111
111
  ({
112
112
  name: o,
113
113
  title: P,
114
114
  ageYears: L,
115
115
  dateOfBirth: U,
116
116
  gender: B,
117
- avatarUrl: ce,
117
+ avatarUrl: ue,
118
118
  patientUrl: T,
119
119
  sections: u,
120
120
  visibleFieldOrder: R,
121
121
  onVisibleFieldsChange: K,
122
122
  email: b,
123
- emailEnabled: ue = !1,
123
+ emailEnabled: me = !1,
124
124
  phone: p,
125
125
  cityProvince: j,
126
- marketingConsent: f,
126
+ marketingConsent: h,
127
127
  aiConsent: d,
128
128
  flags: i,
129
129
  familyRelations: M,
130
130
  assignedTo: C,
131
- currency: me = "EUR",
131
+ currency: pe = "EUR",
132
132
  locale: W,
133
133
  loading: x = !1,
134
134
  actionSlot: q,
@@ -136,24 +136,24 @@ const va = {
136
136
  flagHover: F,
137
137
  flagOpenLabel: S,
138
138
  extraChips: H,
139
- editable: pe = !1,
139
+ editable: he = !1,
140
140
  onFieldSave: fe,
141
- validateField: he,
141
+ validateField: ge,
142
142
  onActivate: J,
143
143
  surface: Q = "elevated",
144
- density: h = "comfortable",
145
- fieldColumns: ge = "auto",
146
- wrapFieldValues: ve = !1,
144
+ density: f = "comfortable",
145
+ fieldColumns: ve = "auto",
146
+ wrapFieldValues: ye = !1,
147
147
  "aria-label": E,
148
148
  id: g,
149
- className: ye,
150
- ...be
151
- }, Ce) => {
152
- const { t, i18n: xe } = Ue("ui"), z = De(), Se = W ?? xe.language ?? "en", I = i == null ? void 0 : i.unpaidAmountCents, N = (i == null ? void 0 : i.unsignedDocumentsCount) ?? 0, A = (i == null ? void 0 : i.highlightedAnamnesisCount) ?? 0, _ = I != null && I > 0, Ne = Ge(
149
+ className: be,
150
+ ...Ce
151
+ }, xe) => {
152
+ const { t, i18n: Se } = Be("ui"), $ = Ge(), Ne = W ?? Se.language ?? "en", z = i == null ? void 0 : i.unpaidAmountCents, N = (i == null ? void 0 : i.unsignedDocumentsCount) ?? 0, A = (i == null ? void 0 : i.highlightedAnamnesisCount) ?? 0, I = z != null && z > 0, Ae = Le(
153
153
  () => ({
154
154
  getSummary: () => ({
155
155
  id: g,
156
- hasUnpaid: _,
156
+ hasUnpaid: I,
157
157
  unsignedDocumentsCount: N,
158
158
  highlightedAnamnesisCount: A,
159
159
  aiConsentGranted: d != null
@@ -161,35 +161,35 @@ const va = {
161
161
  }),
162
162
  [
163
163
  g,
164
- _,
164
+ I,
165
165
  N,
166
166
  A,
167
167
  d
168
168
  ]
169
169
  );
170
- ea(pa, Ne, g);
171
- const X = !!u && !!K, m = qe(u ?? fa, {
170
+ aa(ha, Ae, g);
171
+ const X = !!u && !!K, m = He(u ?? fa, {
172
172
  value: R,
173
173
  onChange: K
174
- }), Ae = E ?? t("patientSummaryCard.regionLabel", { defaultValue: "Patient overview" }), Ve = {
174
+ }), Ve = E ?? t("patientSummaryCard.regionLabel", { defaultValue: "Patient overview" }), ke = {
175
175
  mr: "Mr.",
176
176
  ms: "Ms."
177
177
  }, Y = P ? t(`patientSummaryCard.title.${P}`, {
178
- defaultValue: Ve[P]
178
+ defaultValue: ke[P]
179
179
  }) : void 0, Z = Y ? t("patientSummaryCard.nameWithHonorific", {
180
180
  honorific: Y,
181
181
  name: o,
182
182
  defaultValue: "{{honorific}} {{name}}"
183
183
  }) : o, v = [];
184
- B && v.push(/* @__PURE__ */ e(Ye, { code: B }, "sex")), L != null && v.push(/* @__PURE__ */ e(Ze, { years: L }, "age")), U && v.push(
185
- /* @__PURE__ */ e(Oe, { icon: /* @__PURE__ */ e(ca, {}), children: U }, "dob")
184
+ B && v.push(/* @__PURE__ */ e(Ze, { code: B }, "sex")), L != null && v.push(/* @__PURE__ */ e(Oe, { years: L }, "age")), U && v.push(
185
+ /* @__PURE__ */ e(ea, { icon: /* @__PURE__ */ e(ua, {}), children: U }, "dob")
186
186
  );
187
- const ke = !!T && de(T), Pe = h === "comfortable" ? "xl" : "lg", O = h === "comfortable" ? "type-title-card" : "type-title-item", ee = h === "comfortable" ? "ds:gap-[var(--spacing-md)]" : "ds:gap-[var(--spacing-sm)]", c = [];
187
+ const Pe = !!T && ce(T), Te = f === "comfortable" ? "xl" : "lg", O = f === "comfortable" ? "type-title-card" : "type-title-item", ee = f === "comfortable" ? "ds:gap-[var(--spacing-md)]" : "ds:gap-[var(--spacing-sm)]", c = [];
188
188
  b && c.push({
189
189
  key: "email",
190
- icon: /* @__PURE__ */ e(aa, { "aria-hidden": "true" }),
190
+ icon: /* @__PURE__ */ e(ta, { "aria-hidden": "true" }),
191
191
  label: t("patientSummaryCard.label.email", { defaultValue: "Email" }),
192
- value: ue ? /* @__PURE__ */ e(
192
+ value: me ? /* @__PURE__ */ e(
193
193
  V,
194
194
  {
195
195
  href: `mailto:${b}`,
@@ -201,13 +201,13 @@ const va = {
201
201
  ) : /* @__PURE__ */ e("span", { className: "ds:text-[color:var(--muted-foreground)]", dir: "ltr", children: b })
202
202
  }), p && c.push({
203
203
  key: "phone",
204
- icon: /* @__PURE__ */ e(ta, { "aria-hidden": "true" }),
204
+ icon: /* @__PURE__ */ e(na, { "aria-hidden": "true" }),
205
205
  label: p.label ?? t("patientSummaryCard.label.phone", { defaultValue: "Phone" }),
206
206
  value: /* @__PURE__ */ n("span", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
207
207
  /* @__PURE__ */ e(
208
208
  V,
209
209
  {
210
- href: `tel:${ga(p.prefixAndNumber)}`,
210
+ href: `tel:${va(p.prefixAndNumber)}`,
211
211
  intent: "default",
212
212
  dir: "ltr",
213
213
  children: p.prefixAndNumber
@@ -219,31 +219,31 @@ const va = {
219
219
  ] })
220
220
  }), j && c.push({
221
221
  key: "cityProvince",
222
- icon: /* @__PURE__ */ e(na, { "aria-hidden": "true" }),
222
+ icon: /* @__PURE__ */ e(ia, { "aria-hidden": "true" }),
223
223
  label: t("patientSummaryCard.label.cityProvince", {
224
224
  defaultValue: "City / province"
225
225
  }),
226
226
  value: j
227
- }), f && c.push({
227
+ }), h && c.push({
228
228
  key: "marketingConsent",
229
- icon: /* @__PURE__ */ e(ia, { "aria-hidden": "true" }),
229
+ icon: /* @__PURE__ */ e(sa, { "aria-hidden": "true" }),
230
230
  label: t("patientSummaryCard.label.marketingConsent", {
231
231
  defaultValue: "Marketing consent"
232
232
  }),
233
233
  value: /* @__PURE__ */ e(
234
234
  D,
235
235
  {
236
- variant: f === "yes" ? "success" : f === "no" ? "error" : "neutral",
236
+ variant: h === "yes" ? "success" : h === "no" ? "error" : "neutral",
237
237
  size: "sm",
238
238
  withDot: !0,
239
- children: t(`patientSummaryCard.marketingConsent.${f}`, {
240
- defaultValue: Ca[f]
239
+ children: t(`patientSummaryCard.marketingConsent.${h}`, {
240
+ defaultValue: xa[h]
241
241
  })
242
242
  }
243
243
  )
244
244
  }), d && c.push({
245
245
  key: "aiConsent",
246
- icon: /* @__PURE__ */ e(sa, { "aria-hidden": "true" }),
246
+ icon: /* @__PURE__ */ e(ra, { "aria-hidden": "true" }),
247
247
  label: t("patientSummaryCard.label.aiConsent", {
248
248
  defaultValue: "AI consent"
249
249
  }),
@@ -257,13 +257,13 @@ const va = {
257
257
  })
258
258
  }), C && c.push({
259
259
  key: "assignedTo",
260
- icon: /* @__PURE__ */ e(ra, { "aria-hidden": "true" }),
260
+ icon: /* @__PURE__ */ e(la, { "aria-hidden": "true" }),
261
261
  label: t("patientSummaryCard.label.assignedTo", {
262
262
  defaultValue: "Assigned to"
263
263
  }),
264
264
  value: /* @__PURE__ */ n("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
265
265
  /* @__PURE__ */ e(
266
- re,
266
+ le,
267
267
  {
268
268
  size: "xs",
269
269
  name: C.name,
@@ -273,18 +273,18 @@ const va = {
273
273
  /* @__PURE__ */ e("span", { children: C.name })
274
274
  ] })
275
275
  });
276
- const $ = [];
277
- A > 0 && $.push({
276
+ const _ = [];
277
+ A > 0 && _.push({
278
278
  key: "highlightedAnamnesis",
279
279
  count: A
280
- }), N > 0 && $.push({
280
+ }), N > 0 && _.push({
281
281
  key: "unsignedDocuments",
282
282
  count: N
283
283
  });
284
284
  const ae = (a, r) => {
285
285
  const s = w == null ? void 0 : w[a], l = F == null ? void 0 : F[a];
286
286
  if (l == null && !s) return r;
287
- const ie = "ds:inline-flex ds:cursor-pointer ds:rounded-[var(--radius-full)] ds:p-0 ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]";
287
+ const se = "ds:inline-flex ds:cursor-pointer ds:rounded-[var(--radius-full)] ds:p-0 ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]";
288
288
  if (l == null)
289
289
  return /* @__PURE__ */ e(
290
290
  "button",
@@ -292,24 +292,24 @@ const va = {
292
292
  type: "button",
293
293
  "data-flag-action": a,
294
294
  onClick: s,
295
- className: ie,
295
+ className: se,
296
296
  children: r
297
297
  },
298
298
  a
299
299
  );
300
- const se = /* @__PURE__ */ e(
300
+ const re = /* @__PURE__ */ e(
301
301
  "button",
302
302
  {
303
303
  type: "button",
304
304
  "data-flag-action": s ? a : void 0,
305
305
  "data-flag-hover": a,
306
- className: ie,
306
+ className: se,
307
307
  children: r
308
308
  },
309
309
  a
310
310
  );
311
- return typeof l == "string" ? /* @__PURE__ */ e(We, { label: l, side: "bottom", children: se }, a) : /* @__PURE__ */ n(G, { children: [
312
- /* @__PURE__ */ e(G.Trigger, { asChild: !0, children: se }),
311
+ return typeof l == "string" ? /* @__PURE__ */ e(qe, { label: l, side: "bottom", children: re }, a) : /* @__PURE__ */ n(G, { children: [
312
+ /* @__PURE__ */ e(G.Trigger, { asChild: !0, children: re }),
313
313
  /* @__PURE__ */ e(
314
314
  G.Content,
315
315
  {
@@ -317,9 +317,9 @@ const va = {
317
317
  align: "start",
318
318
  size: "sm",
319
319
  headerAction: s && (S != null && S[a]) ? /* @__PURE__ */ e(
320
- Be,
320
+ Re,
321
321
  {
322
- icon: /* @__PURE__ */ e(da, {}),
322
+ icon: /* @__PURE__ */ e(ca, {}),
323
323
  intent: "outline",
324
324
  background: "surface",
325
325
  size: "sm",
@@ -332,36 +332,36 @@ const va = {
332
332
  )
333
333
  ] }, a);
334
334
  }, y = [];
335
- _ && y.push(
335
+ I && y.push(
336
336
  ae(
337
337
  "unpaid",
338
338
  /* @__PURE__ */ e(
339
- je,
339
+ We,
340
340
  {
341
341
  state: "debt",
342
- amount: I / 100,
343
- currency: me,
344
- locale: Se,
342
+ amount: z / 100,
343
+ currency: pe,
344
+ locale: Ne,
345
345
  size: "md",
346
346
  showLabel: !0
347
347
  },
348
348
  "unpaid"
349
349
  )
350
350
  )
351
- ), $.forEach(({ key: a, count: r }) => {
352
- const s = va[a];
351
+ ), _.forEach(({ key: a, count: r }) => {
352
+ const s = ya[a];
353
353
  y.push(
354
354
  ae(
355
355
  a,
356
356
  /* @__PURE__ */ e(
357
357
  D,
358
358
  {
359
- variant: ya[a],
359
+ variant: ba[a],
360
360
  size: "md",
361
361
  leading: /* @__PURE__ */ e(s, { "aria-hidden": "true" }),
362
362
  children: t(`patientSummaryCard.flag.${a}`, {
363
363
  count: r,
364
- defaultValue: ba[a]
364
+ defaultValue: Ca[a]
365
365
  })
366
366
  },
367
367
  a
@@ -369,7 +369,7 @@ const va = {
369
369
  )
370
370
  );
371
371
  }), H && y.push(H);
372
- const Te = /* @__PURE__ */ n("div", { className: `ds:flex ds:flex-col ${ee}`, children: [
372
+ const Me = /* @__PURE__ */ n("div", { className: `ds:flex ds:flex-col ${ee}`, children: [
373
373
  /* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-md)]", children: [
374
374
  /* @__PURE__ */ e(k, { variant: "circular", size: "lg" }),
375
375
  /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
@@ -378,7 +378,7 @@ const va = {
378
378
  ] })
379
379
  ] }),
380
380
  /* @__PURE__ */ e(k, { variant: "text", lines: 3 })
381
- ] }), Me = ke ? /* @__PURE__ */ e(
381
+ ] }), we = Pe ? /* @__PURE__ */ e(
382
382
  V,
383
383
  {
384
384
  href: T,
@@ -386,52 +386,59 @@ const va = {
386
386
  weight: "strong",
387
387
  onClick: J,
388
388
  className: `${O} ds:no-underline`,
389
- children: /* @__PURE__ */ e("span", { id: z, children: Z })
389
+ children: /* @__PURE__ */ e("span", { id: $, children: Z })
390
390
  }
391
391
  ) : /* @__PURE__ */ e(
392
392
  "span",
393
393
  {
394
- id: z,
394
+ id: $,
395
395
  className: `${O} ds:text-[color:var(--foreground)]`,
396
396
  children: Z
397
397
  }
398
- ), we = /* @__PURE__ */ n("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-md)]", children: [
399
- /* @__PURE__ */ e(
400
- re,
401
- {
402
- size: Pe,
403
- name: o,
404
- src: ce,
405
- className: "ds:shrink-0"
406
- }
407
- ),
408
- /* @__PURE__ */ n("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
409
- Me,
410
- y.length > 0 || v.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
411
- y,
412
- v
413
- ] }) : null
414
- ] }),
415
- X || q ? /* @__PURE__ */ n("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: [
416
- X && u ? /* @__PURE__ */ e(
417
- Xe,
418
- {
419
- sections: u,
420
- visible: m.visible,
421
- onToggleField: m.toggleField,
422
- onToggleSection: m.toggleSection,
423
- onMoveFieldOnto: m.moveFieldOnto,
424
- onReset: m.reset
425
- }
426
- ) : null,
427
- q
428
- ] }) : null
429
- ] }), Fe = M && M.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
398
+ ), te = y.length > 0 || v.length > 0, Fe = /* @__PURE__ */ n(
399
+ "div",
400
+ {
401
+ "data-slot": "header",
402
+ className: `ds:flex ds:gap-[var(--spacing-md)] ${te ? "ds:items-start" : "ds:items-center"}`,
403
+ children: [
404
+ /* @__PURE__ */ e(
405
+ le,
406
+ {
407
+ size: Te,
408
+ name: o,
409
+ src: ue,
410
+ className: "ds:shrink-0"
411
+ }
412
+ ),
413
+ /* @__PURE__ */ n("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
414
+ we,
415
+ te ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
416
+ y,
417
+ v
418
+ ] }) : null
419
+ ] }),
420
+ X || q ? /* @__PURE__ */ n("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: [
421
+ X && u ? /* @__PURE__ */ e(
422
+ Ye,
423
+ {
424
+ sections: u,
425
+ visible: m.visible,
426
+ onToggleField: m.toggleField,
427
+ onToggleSection: m.toggleSection,
428
+ onMoveFieldOnto: m.moveFieldOnto,
429
+ onReset: m.reset
430
+ }
431
+ ) : null,
432
+ q
433
+ ] }) : null
434
+ ]
435
+ }
436
+ ), Ee = M && M.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
430
437
  /* @__PURE__ */ e("span", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: t("patientSummaryCard.label.familyRelations", {
431
438
  defaultValue: "Family relations"
432
439
  }) }),
433
440
  /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: M.map((a, r) => {
434
- const s = !!a.relatedPatient.url && de(a.relatedPatient.url), l = t("patientSummaryCard.value.familyRelation", {
441
+ const s = !!a.relatedPatient.url && ce(a.relatedPatient.url), l = t("patientSummaryCard.value.familyRelation", {
435
442
  relation: a.relation,
436
443
  name: a.relatedPatient.name,
437
444
  defaultValue: "{{relation}}: {{name}}"
@@ -442,11 +449,11 @@ const va = {
442
449
  href: a.relatedPatient.url,
443
450
  intent: "default",
444
451
  className: "ds:no-underline",
445
- children: /* @__PURE__ */ e(oe, { label: l, variant: "neutral" })
452
+ children: /* @__PURE__ */ e(de, { label: l, variant: "neutral" })
446
453
  },
447
454
  `${a.relation}-${r}`
448
455
  ) : /* @__PURE__ */ e(
449
- oe,
456
+ de,
450
457
  {
451
458
  label: l,
452
459
  variant: "neutral"
@@ -454,19 +461,19 @@ const va = {
454
461
  `${a.relation}-${r}`
455
462
  );
456
463
  }) })
457
- ] }) : null, Ee = c.map((a) => ({
464
+ ] }) : null, $e = c.map((a) => ({
458
465
  id: a.key,
459
466
  label: a.label,
460
467
  value: a.value,
461
468
  icon: a.icon
462
469
  })), ze = u ?? [
463
- { id: "contact", heading: "", fields: Ee }
464
- ], Ie = u ? m.visible : R, te = He(
470
+ { id: "contact", heading: "", fields: $e }
471
+ ], Ie = u ? m.visible : R, ne = Je(
465
472
  ze,
466
473
  Ie
467
474
  ).flatMap((a) => a.fields), _e = /* @__PURE__ */ n("div", { className: `ds:flex ds:flex-col ${ee}`, children: [
468
- we,
469
- te.length > 0 ? (
475
+ Fe,
476
+ ne.length > 0 ? (
470
477
  // Container-queried so the fields flow into two columns when the
471
478
  // card is wide enough (the banner spans the full folder width), and
472
479
  // stay single-column in a narrow rail. The list's KeyValuePair
@@ -480,27 +487,27 @@ const va = {
480
487
  // label wraps instead of squeezing its value, as KeyValueList's
481
488
  // single-column cap does at 40%.
482
489
  /* @__PURE__ */ e("div", { className: "ds:@container/pfields", children: /* @__PURE__ */ e(
483
- Re,
490
+ Ke,
484
491
  {
485
492
  rowGap: "sm",
486
- className: ge === "auto" ? "ds:@[672px]/pfields:grid-cols-[repeat(2,auto_fit-content(20%)_minmax(0,1fr))]" : void 0,
487
- children: te.map((a) => /* @__PURE__ */ e(
488
- Ke,
493
+ className: ve === "auto" ? "ds:@[672px]/pfields:grid-cols-[repeat(2,auto_fit-content(20%)_minmax(0,1fr))]" : void 0,
494
+ children: ne.map((a) => /* @__PURE__ */ e(
495
+ je,
489
496
  {
490
497
  icon: a.icon ?? void 0,
491
498
  label: a.label,
492
- labelNode: /* @__PURE__ */ e(Qe, { field: a }),
499
+ labelNode: /* @__PURE__ */ e(Xe, { field: a }),
493
500
  className: "ds:group",
494
501
  "data-field-id": a.id,
495
502
  value: /* @__PURE__ */ e(
496
- Je,
503
+ Qe,
497
504
  {
498
505
  field: a,
499
- editable: pe,
506
+ editable: he,
500
507
  onFieldSave: fe,
501
- validate: he,
508
+ validate: ge,
502
509
  locale: W,
503
- wrap: ve
510
+ wrap: ye
504
511
  }
505
512
  )
506
513
  },
@@ -509,30 +516,30 @@ const va = {
509
516
  }
510
517
  ) })
511
518
  ) : null,
512
- Fe
513
- ] }), ne = x ? Te : _e;
519
+ Ee
520
+ ] }), ie = x ? Me : _e;
514
521
  return /* @__PURE__ */ e(
515
522
  "div",
516
523
  {
517
- ref: Ce,
524
+ ref: xe,
518
525
  role: "region",
519
- "aria-label": x || E ? Ae : void 0,
520
- "aria-labelledby": x || E ? void 0 : z,
526
+ "aria-label": x || E ? Ve : void 0,
527
+ "aria-labelledby": x || E ? void 0 : $,
521
528
  "aria-busy": x || void 0,
522
529
  "data-component": "patient-summary-card",
523
530
  "data-component-id": g,
524
- "data-density": h,
531
+ "data-density": f,
525
532
  id: g,
526
- className: ha({ surface: Q, density: h, className: ye }),
527
- ...be,
528
- children: Q === "elevated" ? /* @__PURE__ */ e(le, { variant: "elevated", children: /* @__PURE__ */ e(le.Body, { children: ne }) }) : ne
533
+ className: ga({ surface: Q, density: f, className: be }),
534
+ ...Ce,
535
+ children: Q === "elevated" ? /* @__PURE__ */ e(oe, { variant: "elevated", children: /* @__PURE__ */ e(oe.Body, { children: ie }) }) : ie
529
536
  }
530
537
  );
531
538
  }
532
539
  );
533
- xa.displayName = "PatientSummaryCard";
540
+ Sa.displayName = "PatientSummaryCard";
534
541
  export {
535
- xa as P,
536
- pa as p
542
+ Sa as P,
543
+ ha as p
537
544
  };
538
- //# sourceMappingURL=patient-summary-card-7Werxl48.js.map
545
+ //# sourceMappingURL=patient-summary-card-ZunOre3Q.js.map
@@ -4,7 +4,7 @@ import { c as K } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as M } from "react-i18next";
5
5
  import { B as O } from "./badge-BUk4RjTS.js";
6
6
  import { C as D } from "./card-n6W6LW-N.js";
7
- import { D as d } from "./description-list-DA4TgL_I.js";
7
+ import { D as d } from "./description-list-DaldSpGy.js";
8
8
  import { K as Y, a as H } from "./key-value-pair-BykhMTcP.js";
9
9
  import { T as j } from "./transaction-chip-6jToArJn.js";
10
10
  import { u as W } from "./registry-DvAUVLHh.js";
@@ -440,4 +440,4 @@ export {
440
440
  Ce as b,
441
441
  me as p
442
442
  };
443
- //# sourceMappingURL=payment-request-card-BF3rakTQ.js.map
443
+ //# sourceMappingURL=payment-request-card-BSSfKrcc.js.map