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