@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
@@ -3,7 +3,7 @@ import { forwardRef as Ne, useRef as _, useMemo as le, useId as Pe, useState as
3
3
  import { c as G } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as fe } from "react-i18next";
5
5
  import { M as Fe, A as Ve, u as Be } from "./maps-core-gate-CP8SEHH1.js";
6
- import { E as De } from "./error-boundary-BQ5mRqEd.js";
6
+ import { E as De } from "./error-boundary-BDS1XStO.js";
7
7
  import { u as Me, a as Se } from "./form-field-context-DtiROUJV.js";
8
8
  import { c as Ue } from "./compose-refs-C0k0tdqF.js";
9
9
  import { u as $e } from "./use-controllable-state-BiY4xTzM.js";
@@ -516,4 +516,4 @@ export {
516
516
  Le as a,
517
517
  ue as p
518
518
  };
519
- //# sourceMappingURL=address-autocomplete-_LeOFdM7.js.map
519
+ //# sourceMappingURL=address-autocomplete-Bt1nwxyn.js.map
@@ -8,7 +8,7 @@ import { P as W } from "./postal-code-input-dJdSAVkP.js";
8
8
  import { C as Y } from "./city-input-DARVDJhH.js";
9
9
  import { T as z } from "./text-input-B6iAgCr3.js";
10
10
  import { F as y } from "./form-field-CyHfOVKF.js";
11
- import { A as G } from "./address-autocomplete-_LeOFdM7.js";
11
+ import { A as G } from "./address-autocomplete-Bt1nwxyn.js";
12
12
  import { u as J } from "./registry-DvAUVLHh.js";
13
13
  const Q = {
14
14
  street: { type: "string" },
@@ -295,4 +295,4 @@ export {
295
295
  te as A,
296
296
  X as a
297
297
  };
298
- //# sourceMappingURL=address-fields-C4khof4C.js.map
298
+ //# sourceMappingURL=address-fields-COumFRSX.js.map
@@ -4,7 +4,7 @@ import { c as H } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as K } from "react-i18next";
5
5
  import { I as M } from "./icon-button-u9VMQn3x.js";
6
6
  import { S as A } from "./skeleton-tTWJpvAq.js";
7
- import { E as D } from "./empty-state-5REM7oDM.js";
7
+ import { E as D } from "./empty-state-qHtpcasr.js";
8
8
  import { A as V } from "./agenda-card-B9wgX_Ed.js";
9
9
  import { u as F } from "./registry-DvAUVLHh.js";
10
10
  import { C as G } from "./calendar-days-BGWklvE-.js";
@@ -212,4 +212,4 @@ export {
212
212
  U as A,
213
213
  L as a
214
214
  };
215
- //# sourceMappingURL=agenda-tray-NgxPuAAz.js.map
215
+ //# sourceMappingURL=agenda-tray-CmfcYQhc.js.map
@@ -11,10 +11,10 @@ import { A as Et } from "./avatar-Dp5apm1d.js";
11
11
  import { B as Qe } from "./badge-BUk4RjTS.js";
12
12
  import { B as ue } from "./button-Dp4j9ygh.js";
13
13
  import { I as Rt } from "./icon-button-u9VMQn3x.js";
14
- import { E as b } from "./empty-state-5REM7oDM.js";
15
- import { E as Ct } from "./entity-summary-CZmGcWi2.js";
14
+ import { E as b } from "./empty-state-qHtpcasr.js";
15
+ import { E as Ct } from "./entity-summary-BNnTP1F6.js";
16
16
  import { L as rt } from "./link-CeV7FoI6.js";
17
- import { P as Xe } from "./panel-header-CbtlTe85.js";
17
+ import { P as Xe } from "./panel-header-DTc5OFUg.js";
18
18
  import { S as Ae } from "./skeleton-tTWJpvAq.js";
19
19
  import { C as ke } from "./clock-Drd4Wtis.js";
20
20
  import { C as nt } from "./circle-alert-rGDZ73Wh.js";
@@ -1042,4 +1042,4 @@ export {
1042
1042
  Wt as A,
1043
1043
  zt as a
1044
1044
  };
1045
- //# sourceMappingURL=ai-summary-panel-Cdsve-XN.js.map
1045
+ //# sourceMappingURL=ai-summary-panel-DyAHCqaj.js.map
@@ -4,7 +4,7 @@ import * as is from "@radix-ui/react-dialog";
4
4
  import { useTranslation as w } from "react-i18next";
5
5
  import { F as ds } from "./floating-action-button-BesoUmO_.js";
6
6
  import { I as z } from "./icon-button-u9VMQn3x.js";
7
- import { S as ee } from "./sheet-CZDjW9Q-.js";
7
+ import { S as ee } from "./sheet-1LXzej6Q.js";
8
8
  import { X as Ie } from "./x-B5YnXwCz.js";
9
9
  import { A as ls } from "./astroid-BN4f5VXU.js";
10
10
  import { AliaAsteroidIcon as he } from "../alia-asteroid-icon/index.js";
@@ -1320,4 +1320,4 @@ export {
1320
1320
  Ks as b,
1321
1321
  Gs as c
1322
1322
  };
1323
- //# sourceMappingURL=alia-sidebar-Bjuxk8mU.js.map
1323
+ //# sourceMappingURL=alia-sidebar-BqZjnVoF.js.map
@@ -5,7 +5,7 @@ import { useTranslation as q } from "react-i18next";
5
5
  import { B as n } from "./badge-BUk4RjTS.js";
6
6
  import { C as N } from "./card-n6W6LW-N.js";
7
7
  import { A as z, b as G, c as Q, a as S } from "./accordion-Ch3xp0mX.js";
8
- import { D as t } from "./description-list-DA4TgL_I.js";
8
+ import { D as t } from "./description-list-DaldSpGy.js";
9
9
  import { T as y } from "./timestamp-UMF1llBs.js";
10
10
  import { T as w } from "./triangle-alert-CBnO6nq_.js";
11
11
  const H = R("ds:w-full ds:text-[color:var(--foreground)]", {
@@ -154,4 +154,4 @@ J.displayName = "AnamnesisCard";
154
154
  export {
155
155
  J as A
156
156
  };
157
- //# sourceMappingURL=anamnesis-card-G0qzw0Oi.js.map
157
+ //# sourceMappingURL=anamnesis-card-CoiG7vDj.js.map
@@ -5,7 +5,7 @@ import { B as ie } from "./button-Dp4j9ygh.js";
5
5
  import { I as de } from "./icon-button-u9VMQn3x.js";
6
6
  import { C as le } from "./card-n6W6LW-N.js";
7
7
  import { C as Zt, b as Yt, a as Jt } from "./collapsible-DVPM46bq.js";
8
- import { E as Xe } from "./empty-state-5REM7oDM.js";
8
+ import { E as Xe } from "./empty-state-qHtpcasr.js";
9
9
  import { F as M } from "./form-field-CyHfOVKF.js";
10
10
  import { M as ln } from "./multi-select-DeMiHm8T.js";
11
11
  import { N as ga } from "./number-input-Bi5Yk6PX.js";
@@ -13,12 +13,12 @@ import { R as ze } from "./radio-BZQs6_36.js";
13
13
  import { R as ma } from "./radio-group-ChIKyeSJ.js";
14
14
  import { S as Me } from "./select-Bw5FvGJ7.js";
15
15
  import { T as Q } from "./tabs-BOf9OO--.js";
16
- import { T as na } from "./text-area-COMVJ1yE.js";
16
+ import { T as na } from "./text-area-DbxGkpzE.js";
17
17
  import { S as te } from "./state-backed-text-input-DVETOhSS.js";
18
18
  import { T as Ze } from "./timestamp-UMF1llBs.js";
19
19
  import { D as sn } from "./date-picker-CD-PBzXM.js";
20
20
  import { A as Ue } from "./alert-C4WKViaS.js";
21
- import { D as L } from "./description-list-DA4TgL_I.js";
21
+ import { D as L } from "./description-list-DaldSpGy.js";
22
22
  import { c as Xt } from "./index-D2ZczOXr.js";
23
23
  import { S as dn } from "./sparkline-SnniCoCl.js";
24
24
  import { A as ei, a as ai } from "./arrow-up-BYvcvTkB.js";
@@ -20936,4 +20936,4 @@ export {
20936
20936
  Vi as t,
20937
20937
  od as u
20938
20938
  };
20939
- //# sourceMappingURL=anamnesis-summary-rows-QCv6zW-J.js.map
20939
+ //# sourceMappingURL=anamnesis-summary-rows-CFpaA1GP.js.map
@@ -2,7 +2,7 @@ import { jsxs as V, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as I, useRef as a, useState as c, useEffect as U, useCallback as Y, useMemo as q } from "react";
3
3
  import { c as s } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as D } from "react-i18next";
5
- import { S as G } from "./scroll-area-CY5SLYNw.js";
5
+ import { S as G } from "./scroll-area-RQtcKkHf.js";
6
6
  import { u as J } from "./use-media-query-CcAx5SMM.js";
7
7
  import { u as j } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
8
8
  import { A as K } from "./app-frame-context-CPszhDDb.js";
@@ -176,4 +176,4 @@ ne.displayName = "AppFrame";
176
176
  export {
177
177
  ne as A
178
178
  };
179
- //# sourceMappingURL=app-frame-DUPEwu4E.js.map
179
+ //# sourceMappingURL=app-frame-XEjLsLGY.js.map
@@ -6,7 +6,7 @@ import { A as ta } from "./avatar-Dp5apm1d.js";
6
6
  import { B as o } from "./badge-BUk4RjTS.js";
7
7
  import { T as Ma } from "./tag-BNlcEJfE.js";
8
8
  import { T as Ra } from "./timestamp-UMF1llBs.js";
9
- import { T as oa } from "./transaction-chip-CkYd-3ky.js";
9
+ import { T as oa } from "./transaction-chip-6jToArJn.js";
10
10
  import { i as Aa } from "./is-development-CLUAnsU7.js";
11
11
  import { V as ia } from "./visually-hidden-BHxEUGyT.js";
12
12
  import { p as La } from "./privacy-mask-text-B8YfzB7L.js";
@@ -515,4 +515,4 @@ ts.displayName = "AppointmentCard";
515
515
  export {
516
516
  ts as A
517
517
  };
518
- //# sourceMappingURL=appointment-card-HOZrABrQ.js.map
518
+ //# sourceMappingURL=appointment-card-BPZggqck.js.map
@@ -1,18 +1,18 @@
1
- import { c as A } from "./createLucideIcon-DhHxpK9K.js";
1
+ import { c as O } from "./createLucideIcon-DhHxpK9K.js";
2
2
  import { jsx as e, jsxs as h } from "react/jsx-runtime";
3
- import { useTranslation as E } from "react-i18next";
4
- import { s as P, D as F } from "./appointment-details-panel.identity--_j07UG1.js";
5
- import { E as $ } from "./empty-state-5REM7oDM.js";
3
+ import { useTranslation as F } from "react-i18next";
4
+ import { s as E, D as P } from "./appointment-details-panel.identity-9hRo85Lx.js";
5
+ import { E as $ } from "./empty-state-qHtpcasr.js";
6
6
  import { T as y } from "./timeline-BzGi_3GQ.js";
7
7
  import { a as L } from "./workflow-status-Cg7yjnye.js";
8
- import { u as W } from "./appointment-workflow-status-S-lx81Yz.js";
9
- import { C as j } from "./calendar-clock-hbObjfGY.js";
10
- import { T as R } from "./trash-2-uumy3fy1.js";
8
+ import { u as R } from "./appointment-workflow-status-S-lx81Yz.js";
9
+ import { C as W } from "./calendar-clock-hbObjfGY.js";
10
+ import { T as j } from "./trash-2-uumy3fy1.js";
11
11
  import { A as z } from "./entity-card-p-LANpYt.js";
12
12
  import { C as B } from "./copy-vRpqqHtY.js";
13
13
  import { C as H } from "./calendar-plus-BFrIRE4r.js";
14
14
  import { P as k } from "./pencil-B1sKKyuT.js";
15
- import { C as x } from "./clock-Drd4Wtis.js";
15
+ import { C as T } from "./clock-Drd4Wtis.js";
16
16
  import { A as G } from "./arrow-right-KsIrLdt0.js";
17
17
  /**
18
18
  * @license lucide-react v1.22.0 - ISC
@@ -20,60 +20,66 @@ import { A as G } from "./arrow-right-KsIrLdt0.js";
20
20
  * This source code is licensed under the ISC license.
21
21
  * See the LICENSE file in the root directory of this source tree.
22
22
  */
23
- const K = [
23
+ const Y = [
24
24
  ["path", { d: "M11 14h10", key: "1w8e9d" }],
25
25
  ["path", { d: "M16 4h2a2 2 0 0 1 2 2v1.344", key: "1e62lh" }],
26
26
  ["path", { d: "m17 18 4-4-4-4", key: "z2g111" }],
27
27
  ["path", { d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113", key: "bjbb7m" }],
28
28
  ["rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", key: "ublpy" }]
29
- ], ut = A("clipboard-paste", K);
29
+ ], pt = O("clipboard-paste", Y);
30
30
  /**
31
31
  * @license lucide-react v1.22.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
34
34
  * See the LICENSE file in the root directory of this source tree.
35
35
  */
36
- const Y = [
36
+ const K = [
37
37
  ["path", { d: "M12 2v20", key: "t6zp3m" }],
38
38
  ["path", { d: "m15 19-3 3-3-3", key: "11eu04" }],
39
39
  ["path", { d: "m19 9 3 3-3 3", key: "1mg7y2" }],
40
40
  ["path", { d: "M2 12h20", key: "9i4pu4" }],
41
41
  ["path", { d: "m5 9-3 3 3 3", key: "j64kie" }],
42
42
  ["path", { d: "m9 5 3-3 3 3", key: "l8vdw6" }]
43
- ], C = A("move", Y), i = (s) => `calendarWorkspace.details.${s}`, U = /* @__PURE__ */ new Set(["patient", "care"]), S = /^#?(?:[0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i, V = (s) => {
44
- switch (s.field) {
43
+ ], x = O("move", K), U = {
44
+ day: "numeric",
45
+ month: "short",
46
+ year: "numeric",
47
+ hour: "2-digit",
48
+ minute: "2-digit"
49
+ }, s = (o) => `calendarWorkspace.details.${o}`, V = /* @__PURE__ */ new Set(["patient", "care"]), S = /^#?(?:[0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i, X = (o) => {
50
+ switch (o.field) {
45
51
  case "time":
46
- return !!(s.fromIso || s.toIso);
52
+ return !!(o.fromIso || o.toIso);
47
53
  case "duration":
48
- return s.fromMin !== void 0 || s.toMin !== void 0;
54
+ return o.fromMin !== void 0 || o.toMin !== void 0;
49
55
  default:
50
- return !!(s.from || s.to);
56
+ return !!(o.from || o.to);
51
57
  }
52
58
  };
53
- function X(s) {
54
- const f = s.kind === "moved" ? [{ field: "time", fromIso: s.fromIso, toIso: s.toIso }] : s.kind === "resized" ? [{ field: "duration", fromMin: s.fromMin, toMin: s.toMin }] : s.kind === "status" ? [{ field: "status", from: s.from, to: s.to }] : [], w = ("changes" in s ? s.changes ?? [] : []).filter(
55
- V
56
- ), o = new Set(f.map((p) => p.field));
59
+ function q(o) {
60
+ const f = o.kind === "moved" ? [{ field: "time", fromIso: o.fromIso, toIso: o.toIso }] : o.kind === "resized" ? [{ field: "duration", fromMin: o.fromMin, toMin: o.toMin }] : o.kind === "status" ? [{ field: "status", from: o.from, to: o.to }] : [], w = ("changes" in o ? o.changes ?? [] : []).filter(
61
+ X
62
+ ), i = new Set(f.map((p) => p.field));
57
63
  return [
58
64
  ...f,
59
- ...w.filter((p) => o.has(p.field) ? !1 : (o.add(p.field), !0))
65
+ ...w.filter((p) => i.has(p.field) ? !1 : (i.add(p.field), !0))
60
66
  ];
61
67
  }
62
- const q = (s, f) => s.getFullYear() === f.getFullYear() && s.getMonth() === f.getMonth() && s.getDate() === f.getDate();
63
- function pt({
64
- history: s,
68
+ const J = (o, f) => o.getFullYear() === f.getFullYear() && o.getMonth() === f.getMonth() && o.getDate() === f.getDate();
69
+ function ht({
70
+ history: o,
65
71
  locale: f,
66
72
  privacy: w = !1
67
73
  }) {
68
- const { t: o, i18n: p } = E("ui"), { optionFor: I } = W(null), g = f ?? p.language, M = (t, d) => {
74
+ const { t: i, i18n: p } = F("ui"), { optionFor: I } = R(null), M = f ?? p.language, b = (t, d) => {
69
75
  try {
70
- return new Intl.DateTimeFormat(g, d).format(
76
+ return new Intl.DateTimeFormat(M, d).format(
71
77
  new Date(t)
72
78
  );
73
79
  } catch {
74
80
  return t;
75
81
  }
76
- }, N = (t) => M(t, F), b = o(i("history.notSet")), T = (t) => {
82
+ }, N = (t) => b(t, P), g = i(s("history.notSet")), C = (t) => {
77
83
  switch (t.field) {
78
84
  case "status":
79
85
  return {
@@ -81,7 +87,7 @@ function pt({
81
87
  to: t.to && I(t.to).label
82
88
  };
83
89
  case "time": {
84
- const d = t.fromIso && new Date(t.fromIso), a = t.toIso && new Date(t.toIso), l = d && a && q(d, a) ? M(t.toIso, {
90
+ const d = t.fromIso && new Date(t.fromIso), a = t.toIso && new Date(t.toIso), l = d && a && J(d, a) ? b(t.toIso, {
85
91
  hour: "2-digit",
86
92
  minute: "2-digit"
87
93
  }) : void 0;
@@ -92,18 +98,18 @@ function pt({
92
98
  }
93
99
  case "duration":
94
100
  return {
95
- from: t.fromMin === void 0 ? void 0 : o(i("history.minutes"), { n: t.fromMin }),
96
- to: t.toMin === void 0 ? void 0 : o(i("history.minutes"), { n: t.toMin })
101
+ from: t.fromMin === void 0 ? void 0 : i(s("history.minutes"), { n: t.fromMin }),
102
+ to: t.toMin === void 0 ? void 0 : i(s("history.minutes"), { n: t.toMin })
97
103
  };
98
104
  default:
99
105
  return { from: t.from || void 0, to: t.to || void 0 };
100
106
  }
101
- }, D = (t) => {
102
- const d = o(i(`history.fields.${t.field}`)), { from: a, to: l } = T(t);
103
- return t.field === "colour" && [a, l].some((u) => u && S.test(u)) ? o(i("history.changed.colour")) : a && !l ? o(i("history.changeCleared"), { field: d, from: a }) : !a && l ? o(i("history.changeSet"), { field: d, to: l }) : o(i("history.changeFromTo"), {
107
+ }, A = (t) => {
108
+ const d = i(s(`history.fields.${t.field}`)), { from: a, to: l } = C(t);
109
+ return t.field === "colour" && [a, l].some((u) => u && S.test(u)) ? i(s("history.changed.colour")) : a && !l ? i(s("history.changeCleared"), { field: d, from: a }) : !a && l ? i(s("history.changeSet"), { field: d, to: l }) : i(s("history.changeFromTo"), {
104
110
  field: d,
105
- from: a ?? b,
106
- to: l ?? b
111
+ from: a ?? g,
112
+ to: l ?? g
107
113
  });
108
114
  }, v = (t) => {
109
115
  const d = (n, c) => n && t.field === "colour" && S.test(n) ? /* @__PURE__ */ e(
@@ -120,16 +126,16 @@ function pt({
120
126
  className: c ? "ds:min-w-0 ds:font-[var(--font-weight-medium)] ds:text-[color:var(--foreground)]" : "ds:min-w-0 ds:text-[color:var(--muted-foreground)]",
121
127
  children: n
122
128
  }
123
- ) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:text-[color:var(--muted-foreground)]", children: b }), a = (n) => n ? /* @__PURE__ */ e(
129
+ ) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:text-[color:var(--muted-foreground)]", children: g }), a = (n) => n ? /* @__PURE__ */ e(
124
130
  L,
125
131
  {
126
132
  value: n,
127
133
  option: I(n),
128
134
  size: "sm"
129
135
  }
130
- ) : d(void 0, !1), { from: l, to: u } = T(t);
136
+ ) : d(void 0, !1), { from: l, to: u } = C(t);
131
137
  return /* @__PURE__ */ h("div", { className: "ds:min-w-0", "data-history-change": t.field, children: [
132
- /* @__PURE__ */ e("span", { className: "ds:sr-only", children: D(t) }),
138
+ /* @__PURE__ */ e("span", { className: "ds:sr-only", children: A(t) }),
133
139
  /* @__PURE__ */ h(
134
140
  "div",
135
141
  {
@@ -149,49 +155,56 @@ function pt({
149
155
  }
150
156
  )
151
157
  ] });
152
- }, O = (t) => {
158
+ }, D = (t) => {
153
159
  switch (t.kind) {
154
160
  case "created":
155
161
  return {
156
- title: o(i("history.created")),
162
+ title: i(s("history.created")),
157
163
  type: "success",
158
- icon: /* @__PURE__ */ e(H, { size: 16, "aria-hidden": "true" })
164
+ icon: /* @__PURE__ */ e(H, { size: 16, "aria-hidden": "true" }),
165
+ /* A copy still begins with "Created": the line under it says
166
+ which appointment it is a copy of. */
167
+ detail: t.copiedFromIso ? /* @__PURE__ */ e("span", { "data-history-copy-of": "", children: i(s("history.copyOf"), {
168
+ /* With the year: a copy can be of an appointment from
169
+ another year, as a yearly recall is. */
170
+ date: b(t.copiedFromIso, U)
171
+ }) }) : void 0
159
172
  };
160
173
  case "copied":
161
174
  return {
162
- title: o(i("history.copied")),
163
- type: "success",
175
+ title: i(s("history.copied")),
176
+ type: "info",
164
177
  icon: /* @__PURE__ */ e(B, { size: 16, "aria-hidden": "true" })
165
178
  };
166
179
  case "confirmedByPatient": {
167
180
  const r = z.confirmed.Icon;
168
181
  return {
169
- title: o(i("history.confirmedByPatient")),
182
+ title: i(s("history.confirmedByPatient")),
170
183
  type: "success",
171
184
  icon: /* @__PURE__ */ e(r, { size: 16, "aria-hidden": "true" })
172
185
  };
173
186
  }
174
187
  case "deleted":
175
188
  return {
176
- title: o(i("history.deleted")),
189
+ title: i(s("history.deleted")),
177
190
  type: "error",
178
- icon: /* @__PURE__ */ e(R, { size: 16, "aria-hidden": "true" })
191
+ icon: /* @__PURE__ */ e(j, { size: 16, "aria-hidden": "true" })
179
192
  };
180
193
  }
181
- const d = X(t), a = w ? d.filter((r) => !U.has(r.field)) : d, l = new Set(a.map((r) => r.field)), u = [
194
+ const d = q(t), a = w ? d.filter((r) => !V.has(r.field)) : d, l = new Set(a.map((r) => r.field)), u = [
182
195
  ...t.kind === "edited" ? t.fields : [],
183
196
  ...d.filter((r) => !l.has(r.field)).map((r) => r.field)
184
197
  ].filter(
185
198
  (r, m, _) => r !== "status" && !l.has(r) && _.indexOf(r) === m
186
- ), n = u.length > 0 ? o(i("history.editedDetail"), {
187
- fields: u.map((r) => o(i(`history.fields.${r}`))).join(", ")
199
+ ), n = u.length > 0 ? i(s("history.editedDetail"), {
200
+ fields: u.map((r) => i(s(`history.fields.${r}`))).join(", ")
188
201
  }) : void 0, [c] = a;
189
202
  if (a.length === 1 && c && !n)
190
203
  switch (c.field) {
191
204
  case "status": {
192
205
  const { to: r } = c, m = r ? z[r].Icon : k;
193
206
  return {
194
- title: o(i("history.status")),
207
+ title: i(s("history.status")),
195
208
  type: r === "cancelled" || r === "absent" ? "warning" : "neutral",
196
209
  icon: /* @__PURE__ */ e(m, { size: 16, "aria-hidden": "true" }),
197
210
  detail: v(c)
@@ -199,21 +212,21 @@ function pt({
199
212
  }
200
213
  case "time":
201
214
  return {
202
- title: o(i("history.moved")),
215
+ title: i(s("history.moved")),
203
216
  type: "info",
204
- icon: /* @__PURE__ */ e(C, { size: 16, "aria-hidden": "true" }),
217
+ icon: /* @__PURE__ */ e(x, { size: 16, "aria-hidden": "true" }),
205
218
  detail: v(c)
206
219
  };
207
220
  case "duration":
208
221
  return {
209
- title: o(i("history.resized")),
222
+ title: i(s("history.resized")),
210
223
  type: "info",
211
- icon: /* @__PURE__ */ e(x, { size: 16, "aria-hidden": "true" }),
224
+ icon: /* @__PURE__ */ e(T, { size: 16, "aria-hidden": "true" }),
212
225
  detail: v(c)
213
226
  };
214
227
  default:
215
228
  return {
216
- title: o(i(`history.changed.${c.field}`)),
229
+ title: i(s(`history.changed.${c.field}`)),
217
230
  type: "neutral",
218
231
  icon: /* @__PURE__ */ e(k, { size: 16, "aria-hidden": "true" }),
219
232
  detail: v(c)
@@ -222,10 +235,10 @@ function pt({
222
235
  if (a.length > 0) {
223
236
  const r = t.kind === "moved" ? {
224
237
  title: "history.moved",
225
- icon: /* @__PURE__ */ e(C, { size: 16, "aria-hidden": "true" })
238
+ icon: /* @__PURE__ */ e(x, { size: 16, "aria-hidden": "true" })
226
239
  } : t.kind === "resized" ? {
227
240
  title: "history.resized",
228
- icon: /* @__PURE__ */ e(x, { size: 16, "aria-hidden": "true" })
241
+ icon: /* @__PURE__ */ e(T, { size: 16, "aria-hidden": "true" })
229
242
  } : t.kind === "status" ? {
230
243
  title: "history.status",
231
244
  icon: (() => {
@@ -237,17 +250,17 @@ function pt({
237
250
  icon: /* @__PURE__ */ e(k, { size: 16, "aria-hidden": "true" })
238
251
  };
239
252
  return {
240
- title: o(i(r.title)),
253
+ title: i(s(r.title)),
241
254
  type: t.kind === "moved" || t.kind === "resized" ? "info" : t.kind === "status" && (t.to === "cancelled" || t.to === "absent") ? "warning" : "neutral",
242
255
  icon: r.icon,
243
256
  detail: /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
244
257
  /* @__PURE__ */ e(
245
258
  "dl",
246
259
  {
247
- "aria-label": o(i("history.changesLabel")),
260
+ "aria-label": i(s("history.changesLabel")),
248
261
  className: "ds:m-0 ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:items-baseline ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)]",
249
262
  children: a.map((m) => /* @__PURE__ */ h("div", { className: "ds:contents", children: [
250
- /* @__PURE__ */ e("dt", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: o(i(`history.fields.${m.field}`)) }),
263
+ /* @__PURE__ */ e("dt", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: i(s(`history.fields.${m.field}`)) }),
251
264
  /* @__PURE__ */ e("dd", { className: "ds:m-0 ds:min-w-0", children: v(m) })
252
265
  ] }, m.field))
253
266
  }
@@ -257,21 +270,21 @@ function pt({
257
270
  };
258
271
  }
259
272
  return {
260
- title: o(i("history.edited")),
273
+ title: i(s("history.edited")),
261
274
  type: "neutral",
262
275
  icon: /* @__PURE__ */ e(k, { size: 16, "aria-hidden": "true" }),
263
276
  detail: n ?? void 0
264
277
  };
265
278
  };
266
- return s.length === 0 ? /* @__PURE__ */ e(
279
+ return o.length === 0 ? /* @__PURE__ */ e(
267
280
  $,
268
281
  {
269
282
  variant: "first-use",
270
283
  size: "sm",
271
- title: o(i("historyEmpty"))
284
+ title: i(s("historyEmpty"))
272
285
  }
273
- ) : /* @__PURE__ */ e(y, { order: "newest-first", "aria-label": o(i("historyTitle")), children: P(s).map((t) => {
274
- const d = O(t);
286
+ ) : /* @__PURE__ */ e(y, { order: "newest-first", "aria-label": i(s("historyTitle")), children: E(o).map((t) => {
287
+ const d = D(t);
275
288
  return /* @__PURE__ */ h(
276
289
  y.Event,
277
290
  {
@@ -289,7 +302,7 @@ function pt({
289
302
  actor: t.actor.trim() ? { name: t.actor } : void 0,
290
303
  children: /* @__PURE__ */ h("span", { className: "ds:mt-[var(--spacing-sm)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
291
304
  /* @__PURE__ */ e(
292
- j,
305
+ W,
293
306
  {
294
307
  "aria-hidden": "true",
295
308
  className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
@@ -300,7 +313,7 @@ function pt({
300
313
  {
301
314
  date: t.atIso,
302
315
  relative: !1,
303
- locale: g
316
+ locale: M
304
317
  }
305
318
  )
306
319
  ] })
@@ -313,8 +326,8 @@ function pt({
313
326
  }) });
314
327
  }
315
328
  export {
316
- pt as A,
317
- ut as C,
318
- C as M
329
+ ht as A,
330
+ pt as C,
331
+ x as M
319
332
  };
320
- //# sourceMappingURL=appointment-details-panel.history-BxNqcA-r.js.map
333
+ //# sourceMappingURL=appointment-details-panel.history-FSsTXj1t.js.map