@alfadocs/ui-kit 1.150.0 → 1.151.1

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 (263) 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-card-BPZggqck.js → appointment-card-CCKjbU5y.js} +105 -104
  10. package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
  11. package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
  12. package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
  13. package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-B9KRurfc.js} +3 -3
  14. package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-Be3HuEyO.js} +3 -3
  15. package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
  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-BfoEpFVx.js → calendar-appointment-editor-dialog-B9MtcBvx.js} +337 -334
  18. package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
  19. package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
  20. package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
  21. package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
  22. package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
  23. package/dist/_chunks/code-BfU9G1ZM.js +15 -0
  24. package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
  25. package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
  26. package/dist/_chunks/control-room-rail-C-3o1e0e.js +456 -0
  27. package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
  28. package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
  29. package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
  30. package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
  31. package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
  32. package/dist/_chunks/{document-preview-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
  33. package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
  34. package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
  35. package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
  36. package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
  37. package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
  38. package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
  39. package/dist/_chunks/{feature-preview-switch-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
  40. package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
  41. package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
  42. package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
  43. package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
  44. package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
  45. package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
  46. package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
  47. package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
  48. package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
  49. package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
  50. package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
  51. package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
  52. package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
  53. package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
  54. package/dist/_chunks/{notes-panel-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
  55. package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
  56. package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
  57. package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
  58. package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
  59. package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DmB_h5fq.js} +3 -3
  60. package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-CI54cY8Z.js} +6 -6
  61. package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
  62. package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
  63. package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
  64. package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
  65. package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-BZm8UNMx.js} +4 -4
  66. package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-CBVSCKAB.js} +3 -3
  67. package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DRfyhL5P.js} +3 -3
  68. package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
  69. package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
  70. package/dist/_chunks/{privacy-mask-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
  71. package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
  72. package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
  73. package/dist/_chunks/{radiograph-panel.agent-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
  74. package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
  75. package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
  76. package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
  77. package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
  78. package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
  79. package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
  80. package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
  81. package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
  82. package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
  83. package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
  84. package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
  85. package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
  86. package/dist/_chunks/{task-editor-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
  87. package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
  88. package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
  89. package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-C_Ay0Gxi.js} +260 -256
  90. package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
  91. package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
  92. package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
  93. package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
  94. package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
  95. package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
  96. package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
  97. package/dist/agent-catalog.json +1 -1
  98. package/dist/appointment-editor-panel/index.js +3 -3
  99. package/dist/booking-tools-data/index.js +1 -1
  100. package/dist/browser-support.js +1 -1
  101. package/dist/calendar-action-buttons/index.js +1 -1
  102. package/dist/components/_shared/mark-adrift.d.ts +12 -0
  103. package/dist/components/_shared/safe-html.d.ts +6 -0
  104. package/dist/components/_shared/tooth-chip.d.ts +21 -0
  105. package/dist/components/address-autocomplete/index.js +1 -1
  106. package/dist/components/address-fields/index.js +1 -1
  107. package/dist/components/agenda-tray/index.js +1 -1
  108. package/dist/components/ai-summary-panel/index.js +1 -1
  109. package/dist/components/anamnesis-card/index.js +1 -1
  110. package/dist/components/app-frame/index.js +1 -1
  111. package/dist/components/appointment-card/appointment-card.d.ts +5 -1
  112. package/dist/components/appointment-card/index.js +2 -2
  113. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
  114. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -2
  115. package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
  116. package/dist/components/appointment-details-panel/index.d.ts +1 -0
  117. package/dist/components/appointment-details-panel/index.js +7 -6
  118. package/dist/components/appointment-peek/index.js +1 -1
  119. package/dist/components/appointment-timeline/index.js +1 -1
  120. package/dist/components/bill-line-table/index.js +1 -1
  121. package/dist/components/bill-table/index.js +1 -1
  122. package/dist/components/booking/index.js +1 -1
  123. package/dist/components/calls-panel/index.js +1 -1
  124. package/dist/components/communications-panel/index.js +1 -1
  125. package/dist/components/connection-status/index.js +1 -1
  126. package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
  127. package/dist/components/control-room-rail/index.js +1 -1
  128. package/dist/components/data-grid/index.js +2 -2
  129. package/dist/components/data-table/index.js +3 -3
  130. package/dist/components/description-list/index.js +1 -1
  131. package/dist/components/dev-bypass-button/index.js +1 -1
  132. package/dist/components/document-preview/index.js +1 -1
  133. package/dist/components/empty-state/index.js +1 -1
  134. package/dist/components/error-boundary/index.js +1 -1
  135. package/dist/components/face-scheme/index.js +1 -1
  136. package/dist/components/feature-preview-switch/index.js +1 -1
  137. package/dist/components/file-manager/index.js +1 -1
  138. package/dist/components/heatmap/index.js +1 -1
  139. package/dist/components/info-tip/index.js +1 -1
  140. package/dist/components/invoice-upload-list/index.js +1 -1
  141. package/dist/components/map-view/index.js +1 -1
  142. package/dist/components/message-tray/index.js +1 -1
  143. package/dist/components/note-timeline/index.js +1 -1
  144. package/dist/components/note-timeline/note-timeline.d.ts +8 -0
  145. package/dist/components/notes-panel/index.js +1 -1
  146. package/dist/components/notes-panel/notes-panel.d.ts +18 -7
  147. package/dist/components/notification-tray/index.js +1 -1
  148. package/dist/components/optical-prescription/index.js +1 -1
  149. package/dist/components/panel-subview/index.js +1 -1
  150. package/dist/components/patient-details/index.js +1 -1
  151. package/dist/components/patient-summary-card/index.js +1 -1
  152. package/dist/components/patient-table/index.js +1 -1
  153. package/dist/components/payment-card/index.js +1 -1
  154. package/dist/components/practice-results/index.js +1 -1
  155. package/dist/components/product-hub-tray/index.js +1 -1
  156. package/dist/components/public-header/index.js +1 -1
  157. package/dist/components/radiograph-panel/index.js +1 -1
  158. package/dist/components/registry-connection-panel/index.js +1 -1
  159. package/dist/components/reviews-panel/index.js +1 -1
  160. package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -6
  161. package/dist/components/rich-text-editor/index.d.ts +1 -1
  162. package/dist/components/rich-text-editor/index.js +1 -1
  163. package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
  164. package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
  165. package/dist/components/scroll-area/index.js +1 -1
  166. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  167. package/dist/components/sheet/index.js +1 -1
  168. package/dist/components/sidebar/index.js +1 -1
  169. package/dist/components/slot-grid/index.js +1 -1
  170. package/dist/components/sync-tray/index.js +1 -1
  171. package/dist/components/task-editor/index.js +1 -1
  172. package/dist/components/task-tray/index.js +1 -1
  173. package/dist/components/tasks-panel/index.js +1 -1
  174. package/dist/components/tool-rail/index.js +1 -1
  175. package/dist/components/tool-rail/tool-rail.d.ts +14 -0
  176. package/dist/components/treatment-receipt/index.js +1 -1
  177. package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
  178. package/dist/components/week-availability/index.js +1 -1
  179. package/dist/components/workflow/index.js +1 -1
  180. package/dist/core.css +1 -1
  181. package/dist/find-free-slots-panel/index.js +1 -1
  182. package/dist/host-compat.css +4 -1
  183. package/dist/host-legacy.css +13 -1
  184. package/dist/i18n/locales/ar.d.ts +9 -0
  185. package/dist/i18n/locales/ar.js +11 -2
  186. package/dist/i18n/locales/de.d.ts +9 -0
  187. package/dist/i18n/locales/de.js +11 -2
  188. package/dist/i18n/locales/el.d.ts +9 -0
  189. package/dist/i18n/locales/el.js +11 -2
  190. package/dist/i18n/locales/en.d.ts +9 -0
  191. package/dist/i18n/locales/en.js +10 -1
  192. package/dist/i18n/locales/es.d.ts +9 -0
  193. package/dist/i18n/locales/es.js +11 -2
  194. package/dist/i18n/locales/fr.d.ts +9 -0
  195. package/dist/i18n/locales/fr.js +11 -2
  196. package/dist/i18n/locales/hi.d.ts +9 -0
  197. package/dist/i18n/locales/hi.js +11 -2
  198. package/dist/i18n/locales/it.d.ts +9 -0
  199. package/dist/i18n/locales/it.js +11 -2
  200. package/dist/i18n/locales/ja.d.ts +9 -0
  201. package/dist/i18n/locales/ja.js +11 -2
  202. package/dist/i18n/locales/nl.d.ts +9 -0
  203. package/dist/i18n/locales/nl.js +11 -2
  204. package/dist/i18n/locales/pl.d.ts +9 -0
  205. package/dist/i18n/locales/pl.js +11 -2
  206. package/dist/i18n/locales/pt.d.ts +9 -0
  207. package/dist/i18n/locales/pt.js +11 -2
  208. package/dist/i18n/locales/ro.d.ts +9 -0
  209. package/dist/i18n/locales/ro.js +11 -2
  210. package/dist/i18n/locales/ru.d.ts +9 -0
  211. package/dist/i18n/locales/ru.js +11 -2
  212. package/dist/i18n/locales/sq.d.ts +9 -0
  213. package/dist/i18n/locales/sq.js +11 -2
  214. package/dist/i18n/locales/sv.d.ts +9 -0
  215. package/dist/i18n/locales/sv.js +11 -2
  216. package/dist/i18n/locales/tr.d.ts +9 -0
  217. package/dist/i18n/locales/tr.js +11 -2
  218. package/dist/i18n/locales/zh.d.ts +9 -0
  219. package/dist/i18n/locales/zh.js +11 -2
  220. package/dist/index.js +818 -817
  221. package/dist/locales/ar.json +11 -2
  222. package/dist/locales/de.json +11 -2
  223. package/dist/locales/el.json +11 -2
  224. package/dist/locales/en.json +10 -1
  225. package/dist/locales/es.json +11 -2
  226. package/dist/locales/fr.json +11 -2
  227. package/dist/locales/hi.json +11 -2
  228. package/dist/locales/it.json +11 -2
  229. package/dist/locales/ja.json +11 -2
  230. package/dist/locales/nl.json +11 -2
  231. package/dist/locales/pl.json +11 -2
  232. package/dist/locales/pt.json +11 -2
  233. package/dist/locales/ro.json +11 -2
  234. package/dist/locales/ru.json +11 -2
  235. package/dist/locales/sq.json +11 -2
  236. package/dist/locales/sv.json +11 -2
  237. package/dist/locales/tr.json +11 -2
  238. package/dist/locales/zh.json +11 -2
  239. package/dist/online-bookings-panel/index.js +2 -2
  240. package/dist/patterns/alia-assistant/index.js +1 -1
  241. package/dist/patterns/anamnesis/index.js +1 -1
  242. package/dist/patterns/calendar/index.js +4 -4
  243. package/dist/patterns/error-page/index.js +2 -2
  244. package/dist/patterns/help-me-write-templates/index.js +1 -1
  245. package/dist/patterns/login-form/index.js +1 -1
  246. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  247. package/dist/patterns/patient-account-settings/index.js +1 -1
  248. package/dist/patterns/patient-check-in/index.js +1 -1
  249. package/dist/patterns/patient-portal/index.js +2 -2
  250. package/dist/patterns/prescription/index.js +1 -1
  251. package/dist/patterns/registration-form/index.js +1 -1
  252. package/dist/patterns/signed-out-frame/index.js +1 -1
  253. package/dist/patterns/signing/index.js +1 -1
  254. package/dist/redactor.css +9 -0
  255. package/dist/safe-html/index.js +33 -19
  256. package/dist/tokens.css +61 -52
  257. package/dist/waiting-list-panel/index.js +3 -3
  258. package/package.json +1 -1
  259. package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
  260. package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
  261. package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
  262. package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
  263. /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
@@ -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-C9kWtC6m.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-BO31ZFQp.js.map
333
+ //# sourceMappingURL=appointment-details-panel.history-FSsTXj1t.js.map
@@ -226,10 +226,10 @@ export {
226
226
  Y as e,
227
227
  Z as f,
228
228
  se as g,
229
- X as h,
230
- oe as i,
231
- le as j,
229
+ oe as h,
230
+ le as i,
231
+ X as j,
232
232
  te as p,
233
233
  ae as s
234
234
  };
235
- //# sourceMappingURL=appointment-details-panel.identity-C9kWtC6m.js.map
235
+ //# sourceMappingURL=appointment-details-panel.identity-9hRo85Lx.js.map
@@ -0,0 +1,223 @@
1
+ import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
+ import { forwardRef as R, isValidElement as j } from "react";
3
+ import { c as B } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as G } from "react-i18next";
5
+ import { A as M } from "./avatar-Dp5apm1d.js";
6
+ import { B as z } from "./badge-BUk4RjTS.js";
7
+ import { D as e } from "./description-list-DaldSpGy.js";
8
+ import { E as q } from "./editable-description-B2F54K4T.js";
9
+ import { H as $ } from "./hover-card-CS8ulBf9.js";
10
+ import { T as D } from "./transaction-chip-6jToArJn.js";
11
+ import { a as F } from "./workflow-status-Cg7yjnye.js";
12
+ import { C as J } from "./clock-Drd4Wtis.js";
13
+ import { V as K } from "./video-BheNGvsu.js";
14
+ import { A as Q } from "./armchair-BaLDW6Hz.js";
15
+ import { E as U } from "./eye-off-C_4xkbRP.js";
16
+ import { G as T } from "./globe-sHBW1JN5.js";
17
+ import { M as X } from "./message-square-warning-DsGGfd0K.js";
18
+ import { N as Y } from "./notebook-text-spVSekMN.js";
19
+ import { a as Z } from "./entity-card-p-LANpYt.js";
20
+ const _ = B(
21
+ "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-sm)]"
22
+ ), aa = R(
23
+ ({
24
+ name: h,
25
+ avatarSrc: W,
26
+ time: C,
27
+ location: u,
28
+ locationLabel: y,
29
+ bookingReason: d,
30
+ telehealth: E = !1,
31
+ status: l,
32
+ statusLabel: I,
33
+ description: o,
34
+ details: v,
35
+ treatment: g,
36
+ bookedOnline: k = !1,
37
+ highlightedAnamnesisCount: c = 0,
38
+ unpaidAmount: m = 0,
39
+ billableAmount: p = 0,
40
+ currency: x,
41
+ locale: w,
42
+ flags: N,
43
+ privacy: f = !1,
44
+ className: L,
45
+ ...P
46
+ }, S) => {
47
+ const { t: i } = G("ui"), r = l ? Z(l) : null, b = r == null ? void 0 : r.Icon, V = E ? K : Q, t = !f, A = k || c > 0 || m > 0 || p > 0, H = [
48
+ { icon: /* @__PURE__ */ a(J, {}), label: i("appointmentPeek.time"), value: C },
49
+ ...u ? [
50
+ {
51
+ icon: /* @__PURE__ */ a(V, {}),
52
+ label: y ?? i("appointmentPeek.location"),
53
+ value: u
54
+ }
55
+ ] : [],
56
+ ...t && g ? [
57
+ {
58
+ icon: null,
59
+ label: i("calendarWorkspace.details.care"),
60
+ value: g
61
+ }
62
+ ] : [],
63
+ ...t && v ? v.map((n) => ({
64
+ icon: j(n.icon) ? n.icon : null,
65
+ label: n.label,
66
+ value: n.value
67
+ })) : []
68
+ ];
69
+ return /* @__PURE__ */ s(
70
+ "div",
71
+ {
72
+ ref: S,
73
+ "data-component": "appointment-peek",
74
+ "data-status": l,
75
+ className: _({ className: L }),
76
+ ...P,
77
+ children: [
78
+ /* @__PURE__ */ s("div", { className: "ds:flex ds:min-w-0 ds:items-start ds:gap-[var(--spacing-sm)]", children: [
79
+ f ? null : /* @__PURE__ */ a(
80
+ M,
81
+ {
82
+ size: "sm",
83
+ name: h,
84
+ src: W,
85
+ "aria-hidden": "true",
86
+ className: "ds:shrink-0"
87
+ }
88
+ ),
89
+ /* @__PURE__ */ s("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
90
+ /* @__PURE__ */ a($.Heading, { className: "ds:min-w-0", children: f ? /* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
91
+ /* @__PURE__ */ a(
92
+ U,
93
+ {
94
+ "aria-hidden": "true",
95
+ className: "ds:size-4 ds:shrink-0"
96
+ }
97
+ ),
98
+ i("appointmentPeek.hiddenName")
99
+ ] }) : h }),
100
+ t && (A || N) ? /* @__PURE__ */ s(
101
+ "div",
102
+ {
103
+ "data-slot": "flags",
104
+ className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
105
+ children: [
106
+ k ? /* @__PURE__ */ a(
107
+ z,
108
+ {
109
+ "data-chip": "bookedOnline",
110
+ variant: "info",
111
+ size: "sm",
112
+ leading: /* @__PURE__ */ a(T, { "aria-hidden": "true" }),
113
+ children: i("calendarWorkspace.details.indicators.bookedOnline")
114
+ }
115
+ ) : null,
116
+ c > 0 ? /* @__PURE__ */ a(
117
+ z,
118
+ {
119
+ "data-chip": "highlightedAnamnesis",
120
+ variant: "warning",
121
+ size: "sm",
122
+ leading: /* @__PURE__ */ a(X, { "aria-hidden": "true" }),
123
+ children: i("patientSummaryCard.flag.highlightedAnamnesis", {
124
+ count: c
125
+ })
126
+ }
127
+ ) : null,
128
+ m > 0 ? /* @__PURE__ */ a(
129
+ D,
130
+ {
131
+ "data-chip": "unpaid",
132
+ state: "debt",
133
+ amount: m,
134
+ currency: x,
135
+ locale: w,
136
+ size: "sm",
137
+ showLabel: !0,
138
+ showIcon: !1
139
+ }
140
+ ) : null,
141
+ p > 0 ? /* @__PURE__ */ a(
142
+ D,
143
+ {
144
+ "data-chip": "billable",
145
+ state: "to-invoice",
146
+ tone: "neutral",
147
+ amount: p,
148
+ currency: x,
149
+ locale: w,
150
+ size: "sm",
151
+ showLabel: !0,
152
+ showIcon: !1
153
+ }
154
+ ) : null,
155
+ N
156
+ ]
157
+ }
158
+ ) : null
159
+ ] })
160
+ ] }),
161
+ /* @__PURE__ */ a(
162
+ e,
163
+ {
164
+ layout: "inline",
165
+ density: "compact",
166
+ divider: "none",
167
+ className: "ds:[--description-list-icon-color:var(--accent)]",
168
+ children: H.map((n, O) => /* @__PURE__ */ s(e.Row, { icon: n.icon, children: [
169
+ /* @__PURE__ */ a(e.Term, { children: n.label }),
170
+ /* @__PURE__ */ a(e.Detail, { children: n.value })
171
+ ] }, O))
172
+ }
173
+ ),
174
+ t && (o != null && o.trim()) || d ? /* @__PURE__ */ s(
175
+ e,
176
+ {
177
+ layout: "stacked",
178
+ density: "compact",
179
+ divider: "none",
180
+ className: "ds:[--description-list-icon-color:var(--accent)] ds:[--description-list-icon-gap:var(--spacing-md)]",
181
+ children: [
182
+ t && (o != null && o.trim()) ? /* @__PURE__ */ s(e.Row, { icon: /* @__PURE__ */ a(Y, {}), children: [
183
+ /* @__PURE__ */ a(e.Term, { children: i("calendarWorkspace.editor.description") }),
184
+ /* @__PURE__ */ a(e.Detail, { children: /* @__PURE__ */ a(
185
+ q,
186
+ {
187
+ "data-slot": "description",
188
+ value: o,
189
+ maxLines: 3,
190
+ expandable: !1
191
+ }
192
+ ) })
193
+ ] }) : null,
194
+ d ? /* @__PURE__ */ s(e.Row, { icon: /* @__PURE__ */ a(T, {}), children: [
195
+ /* @__PURE__ */ a(e.Term, { children: i("calendarWorkspace.details.bookingReason") }),
196
+ /* @__PURE__ */ a(e.Detail, { children: /* @__PURE__ */ a("span", { "data-slot": "booking-reason", className: "ds:font-medium", children: d }) })
197
+ ] }) : null
198
+ ]
199
+ }
200
+ ) : null,
201
+ l && r && b ? /* @__PURE__ */ a("div", { "data-slot": "workflow", children: /* @__PURE__ */ a(
202
+ F,
203
+ {
204
+ size: "sm",
205
+ value: l,
206
+ option: {
207
+ value: l,
208
+ label: I ?? i(`appointmentCard.state.${l}`),
209
+ icon: /* @__PURE__ */ a(b, { "aria-hidden": "true" }),
210
+ tone: r.tone
211
+ }
212
+ }
213
+ ) }) : null
214
+ ]
215
+ }
216
+ );
217
+ }
218
+ );
219
+ aa.displayName = "AppointmentPeek";
220
+ export {
221
+ aa as A
222
+ };
223
+ //# sourceMappingURL=appointment-peek-CmQM4wvx.js.map
@@ -2,7 +2,7 @@ import { jsxs as g, Fragment as Xe, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as Zt, useId as Qt, useState as oe, useMemo as D, useRef as m, useEffect as xe, useCallback as S, useImperativeHandle as Xt } from "react";
3
3
  import { c as Jt } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as es } from "react-i18next";
5
- import { A as Je } from "./appointment-card-BPZggqck.js";
5
+ import { A as Je } from "./appointment-card-CCKjbU5y.js";
6
6
  import { g as ts } from "./date-locale-OG-MupVD.js";
7
7
  import { f as ot } from "./intl-locale-FWh-Y5_3.js";
8
8
  import { n as et } from "./normalize-diacritics-DhJjQ3Bp.js";
@@ -14,7 +14,7 @@ import { B as st } from "./button-group-CHQD8GJ0.js";
14
14
  import { D as nt } from "./date-picker-CD-PBzXM.js";
15
15
  import { P as as } from "./panel-header-DTc5OFUg.js";
16
16
  import { S as rs } from "./skeleton-tTWJpvAq.js";
17
- import { E as at } from "./empty-state-5REM7oDM.js";
17
+ import { E as at } from "./empty-state-qHtpcasr.js";
18
18
  import { u as De } from "./use-controllable-state-BiY4xTzM.js";
19
19
  import { u as rt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
20
20
  import { u as is } from "./use-prefers-reduced-motion-BMwIQRjB.js";
@@ -773,4 +773,4 @@ export {
773
773
  Ts as A,
774
774
  fs as a
775
775
  };
776
- //# sourceMappingURL=appointment-timeline-ynFqcw0S.js.map
776
+ //# sourceMappingURL=appointment-timeline-B9KRurfc.js.map
@@ -4,8 +4,8 @@ import { c as M } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as q } from "react-i18next";
5
5
  import { I as K } from "./icon-button-u9VMQn3x.js";
6
6
  import { S as V } from "./skeleton-tTWJpvAq.js";
7
- import { E as W } from "./empty-state-5REM7oDM.js";
8
- import { A as B } from "./appointment-card-BPZggqck.js";
7
+ import { E as W } from "./empty-state-qHtpcasr.js";
8
+ import { A as B } from "./appointment-card-CCKjbU5y.js";
9
9
  import { u as D } from "./registry-DvAUVLHh.js";
10
10
  import { C as L } from "./calendar-days-BGWklvE-.js";
11
11
  import { P as _ } from "./plus-DzMQ_c6b.js";
@@ -197,4 +197,4 @@ export {
197
197
  it as a,
198
198
  F as b
199
199
  };
200
- //# sourceMappingURL=appointment-tray-Dx5VDREk.js.map
200
+ //# sourceMappingURL=appointment-tray-Be3HuEyO.js.map
@@ -1,11 +1,11 @@
1
1
  import { jsx as C, jsxs as M } from "react/jsx-runtime";
2
2
  import { createElement as G, useRef as k, useEffect as ae, useCallback as K, forwardRef as be, useState as ie, useImperativeHandle as ge, useMemo as X } from "react";
3
3
  import { useTranslation as Y } from "react-i18next";
4
- import { a as b, T as g, D as S, d as Ce } from "./data-table-DFAYYsSc.js";
4
+ import { a as b, T as g, D as S, d as Ce } from "./data-table-CgpHO6EZ.js";
5
5
  import { A as ve, a as re } from "./actions-cell-renderer-BA1FB6cT.js";
6
6
  import { S as Te } from "./select-Bw5FvGJ7.js";
7
7
  import { u as we } from "./registry-DvAUVLHh.js";
8
- import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe } from "./link-cell-renderer-CWLArl5e.js";
8
+ import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe } from "./link-cell-renderer-DTunki79.js";
9
9
  import { T as Se } from "./transaction-chip-6jToArJn.js";
10
10
  import { B as oe } from "./badge-BUk4RjTS.js";
11
11
  import { c as We } from "./index-D2ZczOXr.js";
@@ -1180,4 +1180,4 @@ export {
1180
1180
  se as g,
1181
1181
  nt as u
1182
1182
  };
1183
- //# sourceMappingURL=balance-badge-cell-DiyJQcmA.js.map
1183
+ //# sourceMappingURL=balance-badge-cell-OghXENKK.js.map