@alfadocs/ui-kit 1.133.0 → 1.135.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 (285) hide show
  1. package/dist/_chunks/{agenda-card-B8hV3dZV.js → agenda-card-B9wgX_Ed.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-Bu46s3dI.js → agenda-tray-CGcS_qoM.js} +2 -2
  3. package/dist/_chunks/ai-summary-panel-B70S2lgC.js +455 -0
  4. package/dist/_chunks/{alia-sidebar-CK1zw_Bc.js → alia-sidebar-CtwhdASP.js} +3 -3
  5. package/dist/_chunks/appointment-card-BT1cMZIX.js +504 -0
  6. package/dist/_chunks/{appointment-peek-DZa6xyUb.js → appointment-peek-BP_ACFz5.js} +3 -3
  7. package/dist/_chunks/{appointment-timeline-DQePqpyH.js → appointment-timeline-Dy4YQJ17.js} +2 -2
  8. package/dist/_chunks/appointment-tray-B3gSHL1j.js +200 -0
  9. package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js → appointment-workflow-status-S-lx81Yz.js} +2 -2
  10. package/dist/_chunks/ban-CiSCCcOE.js +15 -0
  11. package/dist/_chunks/{calendar-BIoOeBTT.js → calendar-CyLtLBNP.js} +2 -2
  12. package/dist/_chunks/{calendar-appointment-editor-dialog-BHx6kUhX.js → calendar-appointment-editor-dialog-I5PfWudy.js} +15 -15
  13. package/dist/_chunks/{calendar-event-card-BNEzkjm-.js → calendar-event-card-BJifpYZQ.js} +7 -6
  14. package/dist/_chunks/{care-plan-card-DKScH9Ss.js → care-plan-card-CjHq6PLo.js} +6 -6
  15. package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js → care-plan-entry-card-DY1toF6E.js} +2 -2
  16. package/dist/_chunks/{care-plan-header-Dx5OMkc9.js → care-plan-header-CeFXUDnL.js} +6 -6
  17. package/dist/_chunks/{chat-container-B83b4hut.js → chat-container-CoOT7dzB.js} +37 -36
  18. package/dist/_chunks/{chat-input-DwQ4_WXK.js → chat-input-CX4dxBq7.js} +85 -84
  19. package/dist/_chunks/check-in-documents-CEVcgcYZ.js +136 -0
  20. package/dist/_chunks/{clinical-note-card-pPaeWWnu.js → clinical-note-card-D--IwbZa.js} +2 -2
  21. package/dist/_chunks/communications-panel-BKPHCiMB.js +973 -0
  22. package/dist/_chunks/document-preview-DLVIrOYV.js +385 -0
  23. package/dist/_chunks/{entity-card-fpm-KUKc.js → entity-card-p-LANpYt.js} +18 -17
  24. package/dist/_chunks/{entity-summary-KHM0PnSI.js → entity-summary-CpNk6ybN.js} +70 -69
  25. package/dist/_chunks/{error-page-B0fGNTRB.js → error-page-WLhmWUTq.js} +100 -115
  26. package/dist/_chunks/finished-terminal-unDnXT4j.js +191 -0
  27. package/dist/_chunks/get-error-message-DbFUzuja.js +7 -0
  28. package/dist/_chunks/handled-rejection-C-6Dq0As.js +9 -0
  29. package/dist/_chunks/house-DGCypGTo.js +21 -0
  30. package/dist/_chunks/is-safe-url-CEy9CEml.js +8 -0
  31. package/dist/_chunks/keypad-DBH_keVs.js +152 -0
  32. package/dist/_chunks/keypad-button-mOaPQRrH.js +114 -0
  33. package/dist/_chunks/megaphone-CzeTT9B3.js +22 -0
  34. package/dist/_chunks/{message-card-BG3_3nN1.js → message-card-Bw_q1qKx.js} +2 -2
  35. package/dist/_chunks/{message-tray-BjZv0Fsk.js → message-tray-pLGgLmoG.js} +2 -2
  36. package/dist/_chunks/{note-attachment-MNTIqdSz.js → note-attachment-JTIy9iXN.js} +2 -2
  37. package/dist/_chunks/{note-timeline-BQeW0VZY.js → note-timeline-BbjHMhkL.js} +2 -2
  38. package/dist/_chunks/{notes-panel-Cm-_pCRJ.js → notes-panel-BvjAo4RQ.js} +6 -5
  39. package/dist/_chunks/{operator-hero-CnfWckNQ.js → operator-hero-D4wfVu2l.js} +2 -2
  40. package/dist/_chunks/otp-input-BNOTlxq3.js +342 -0
  41. package/dist/_chunks/patient-account-settings-B2XbN_Fe.js +546 -0
  42. package/dist/_chunks/patient-card-DTh3QTyS.js +125 -0
  43. package/dist/_chunks/patient-check-in-resume-B7NY-6KI.js +742 -0
  44. package/dist/_chunks/patient-sign-in-pin-CDBqV254.js +432 -0
  45. package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js +199 -0
  46. package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js → patient-summary-card-Bl2NknPe.js} +2 -2
  47. package/dist/_chunks/{payment-request-card-Dv4WbRBe.js → payment-request-card-CNW00DCx.js} +6 -6
  48. package/dist/_chunks/{pdf-viewer-BnBKdx0y.js → pdf-viewer-TRC5jEm5.js} +472 -425
  49. package/dist/_chunks/pin-entry-BugWQMOS.js +219 -0
  50. package/dist/_chunks/pin-indicator-Cb-n40UI.js +124 -0
  51. package/dist/_chunks/portal-details-DCIiGkHA.js +478 -0
  52. package/dist/_chunks/portal-documents-DJOH8pZx.js +902 -0
  53. package/dist/_chunks/portal-parts-Br8wuala.js +285 -0
  54. package/dist/_chunks/{privacy-mask-DJ1gee4c.js → privacy-mask-C19dJFMk.js} +5 -5
  55. package/dist/_chunks/{product-hub-panel-a8wdVOUt.js → product-hub-panel-K4QbULG7.js} +2 -2
  56. package/dist/_chunks/{registration-form-CwbhtKcy.js → registration-form-DS3RuKHu.js} +2 -2
  57. package/dist/_chunks/{reserved.agent-W8mR179D.js → reserved.agent-DOzOBUW7.js} +2 -2
  58. package/dist/_chunks/session-countdown-DOx1IBUB.js +232 -0
  59. package/dist/_chunks/{sign-document-CQZVzfpk.js → sign-document-DDZbmYHu.js} +2 -2
  60. package/dist/_chunks/{signature-field-DjabvRZm.js → signature-field-BjlY_yXH.js} +39 -34
  61. package/dist/_chunks/{signature-request-4pGq3YBe.js → signature-request-CHsM_iWi.js} +2 -2
  62. package/dist/_chunks/{signature-status-chip-pIoQjvH8.js → signature-status-chip-DS9hHwIt.js} +66 -69
  63. package/dist/_chunks/signing-end-screen-BdhbkPKO.js +1355 -0
  64. package/dist/_chunks/sms-code-entry-Dgp4GwlM.js +316 -0
  65. package/dist/_chunks/step-up-dialog-C2JqJmCA.js +132 -0
  66. package/dist/_chunks/{task-editor-BL2hHxNz.js → task-editor-DvwqPfFR.js} +40 -39
  67. package/dist/_chunks/{tasks-panel-BE3zaayj.js → tasks-panel-6EzdnwT8.js} +155 -171
  68. package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js → use-appointment-details-read-6_OmOwUs.js} +115 -114
  69. package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js +221 -0
  70. package/dist/_chunks/{user-x-DYszNtIg.js → user-x-BJZg4kaP.js} +8 -19
  71. package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js → verify-identity-types-C6Bam8v6.js} +2 -2
  72. package/dist/_chunks/{workflow-status-D1WgGVTP.js → workflow-status-CO0mxXs2.js} +3 -2
  73. package/dist/agent-catalog.json +933 -324
  74. package/dist/agent-i18n/en.json +103 -18
  75. package/dist/browser-support.js +1 -1
  76. package/dist/components/_shared/is-safe-url.d.ts +3 -1
  77. package/dist/components/_shared/sms-segments.d.ts +43 -0
  78. package/dist/components/agenda-card/index.js +2 -2
  79. package/dist/components/agenda-tray/index.js +1 -1
  80. package/dist/components/ai-summary-panel/ai-summary-panel.agent.d.ts +4 -0
  81. package/dist/components/ai-summary-panel/ai-summary-panel.d.ts +71 -0
  82. package/dist/components/ai-summary-panel/index.d.ts +4 -0
  83. package/dist/components/ai-summary-panel/index.js +6 -0
  84. package/dist/components/appointment-card/appointment-card.d.ts +45 -0
  85. package/dist/components/appointment-card/appointment-tray.d.ts +11 -0
  86. package/dist/components/appointment-card/index.js +3 -3
  87. package/dist/components/appointment-details-panel/index.js +1 -1
  88. package/dist/components/appointment-peek/index.js +1 -1
  89. package/dist/components/appointment-timeline/index.js +1 -1
  90. package/dist/components/booking/index.js +1 -1
  91. package/dist/components/calendar/index.js +1 -1
  92. package/dist/components/calendar-event-card/index.js +1 -1
  93. package/dist/components/care-plan-card/index.js +1 -1
  94. package/dist/components/care-plan-entry-card/index.js +1 -1
  95. package/dist/components/care-plan-header/index.js +1 -1
  96. package/dist/components/chat-container/chat-container.d.ts +7 -0
  97. package/dist/components/chat-container/index.js +1 -1
  98. package/dist/components/chat-input/chat-input.d.ts +3 -0
  99. package/dist/components/chat-input/index.js +1 -1
  100. package/dist/components/clinical-note-card/index.js +1 -1
  101. package/dist/components/communications-panel/communications-panel.agent.d.ts +4 -0
  102. package/dist/components/communications-panel/communications-panel.d.ts +136 -0
  103. package/dist/components/communications-panel/index.d.ts +6 -0
  104. package/dist/components/communications-panel/index.js +7 -0
  105. package/dist/components/document-preview/document-preview.d.ts +61 -7
  106. package/dist/components/document-preview/index.js +1 -1
  107. package/dist/components/entity-summary/entity-summary.d.ts +8 -0
  108. package/dist/components/entity-summary/index.js +1 -1
  109. package/dist/components/finished-terminal/finished-terminal.d.ts +63 -6
  110. package/dist/components/finished-terminal/index.d.ts +1 -1
  111. package/dist/components/finished-terminal/index.js +1 -1
  112. package/dist/components/index.d.ts +14 -0
  113. package/dist/components/keypad/index.d.ts +3 -0
  114. package/dist/components/keypad/index.js +6 -0
  115. package/dist/components/keypad/keypad.d.ts +54 -0
  116. package/dist/components/keypad-button/index.d.ts +3 -0
  117. package/dist/components/keypad-button/index.js +6 -0
  118. package/dist/components/keypad-button/keypad-button.d.ts +33 -0
  119. package/dist/components/message-card/index.js +2 -2
  120. package/dist/components/message-tray/index.js +1 -1
  121. package/dist/components/note-timeline/index.js +1 -1
  122. package/dist/components/notes-panel/index.js +1 -1
  123. package/dist/components/operator-hero/index.js +1 -1
  124. package/dist/components/otp-input/index.js +1 -1
  125. package/dist/components/otp-input/otp-input.d.ts +11 -0
  126. package/dist/components/patient-summary-card/index.js +1 -1
  127. package/dist/components/payment-card/index.js +1 -1
  128. package/dist/components/pdf-viewer/index.js +1 -1
  129. package/dist/components/pdf-viewer/pdf-viewer.d.ts +7 -0
  130. package/dist/components/pin-entry/index.d.ts +3 -0
  131. package/dist/components/pin-entry/index.js +5 -0
  132. package/dist/components/pin-entry/pin-entry.agent.d.ts +4 -0
  133. package/dist/components/pin-entry/pin-entry.d.ts +64 -0
  134. package/dist/components/pin-indicator/index.d.ts +3 -0
  135. package/dist/components/pin-indicator/index.js +9 -0
  136. package/dist/components/pin-indicator/pin-indicator.d.ts +34 -0
  137. package/dist/components/product-hub-tray/index.js +2 -2
  138. package/dist/components/session-countdown/index.js +1 -1
  139. package/dist/components/session-countdown/session-countdown.d.ts +19 -0
  140. package/dist/components/sign-document/index.js +1 -1
  141. package/dist/components/signature-field/index.js +1 -1
  142. package/dist/components/signature-field/signature-field.d.ts +17 -6
  143. package/dist/components/signature-status-chip/index.js +1 -1
  144. package/dist/components/signature-status-chip/signature-status-chip.d.ts +3 -2
  145. package/dist/components/sms-code-entry/index.d.ts +3 -0
  146. package/dist/components/sms-code-entry/index.js +5 -0
  147. package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts +4 -0
  148. package/dist/components/sms-code-entry/sms-code-entry.d.ts +156 -0
  149. package/dist/components/step-up-dialog/index.d.ts +3 -0
  150. package/dist/components/step-up-dialog/index.js +5 -0
  151. package/dist/components/step-up-dialog/step-up-dialog.d.ts +108 -0
  152. package/dist/components/task-editor/index.js +1 -1
  153. package/dist/components/tasks-panel/index.js +1 -1
  154. package/dist/components/workflow-status/index.js +2 -2
  155. package/dist/core.css +1 -1
  156. package/dist/hooks/index.js +1 -1
  157. package/dist/hooks/use-signing-session.d.ts +7 -2
  158. package/dist/host-compat.css +18 -3
  159. package/dist/i18n/locales/ar.d.ts +605 -1
  160. package/dist/i18n/locales/ar.js +603 -3
  161. package/dist/i18n/locales/de.d.ts +605 -1
  162. package/dist/i18n/locales/de.js +611 -4
  163. package/dist/i18n/locales/el.d.ts +605 -1
  164. package/dist/i18n/locales/el.js +606 -4
  165. package/dist/i18n/locales/en.d.ts +607 -1
  166. package/dist/i18n/locales/en.js +614 -4
  167. package/dist/i18n/locales/es.d.ts +605 -1
  168. package/dist/i18n/locales/es.js +604 -4
  169. package/dist/i18n/locales/fr.d.ts +605 -1
  170. package/dist/i18n/locales/fr.js +604 -4
  171. package/dist/i18n/locales/hi.d.ts +605 -1
  172. package/dist/i18n/locales/hi.js +604 -4
  173. package/dist/i18n/locales/it.d.ts +605 -1
  174. package/dist/i18n/locales/it.js +611 -4
  175. package/dist/i18n/locales/ja.d.ts +605 -1
  176. package/dist/i18n/locales/ja.js +604 -4
  177. package/dist/i18n/locales/nl.d.ts +605 -1
  178. package/dist/i18n/locales/nl.js +611 -4
  179. package/dist/i18n/locales/pl.d.ts +605 -1
  180. package/dist/i18n/locales/pl.js +611 -4
  181. package/dist/i18n/locales/pt.d.ts +605 -1
  182. package/dist/i18n/locales/pt.js +611 -4
  183. package/dist/i18n/locales/ro.d.ts +605 -1
  184. package/dist/i18n/locales/ro.js +611 -4
  185. package/dist/i18n/locales/ru.d.ts +605 -1
  186. package/dist/i18n/locales/ru.js +603 -3
  187. package/dist/i18n/locales/sq.d.ts +605 -1
  188. package/dist/i18n/locales/sq.js +604 -4
  189. package/dist/i18n/locales/sv.d.ts +605 -1
  190. package/dist/i18n/locales/sv.js +604 -4
  191. package/dist/i18n/locales/tr.d.ts +605 -1
  192. package/dist/i18n/locales/tr.js +606 -4
  193. package/dist/i18n/locales/zh.d.ts +605 -1
  194. package/dist/i18n/locales/zh.js +604 -4
  195. package/dist/index.js +1305 -1231
  196. package/dist/locales/ar.json +606 -2
  197. package/dist/locales/de.json +607 -3
  198. package/dist/locales/el.json +607 -3
  199. package/dist/locales/en.json +607 -3
  200. package/dist/locales/es.json +607 -3
  201. package/dist/locales/fr.json +607 -3
  202. package/dist/locales/hi.json +607 -3
  203. package/dist/locales/it.json +607 -3
  204. package/dist/locales/ja.json +607 -3
  205. package/dist/locales/nl.json +607 -3
  206. package/dist/locales/pl.json +607 -3
  207. package/dist/locales/pt.json +607 -3
  208. package/dist/locales/ro.json +607 -3
  209. package/dist/locales/ru.json +606 -2
  210. package/dist/locales/sq.json +607 -3
  211. package/dist/locales/sv.json +607 -3
  212. package/dist/locales/tr.json +607 -3
  213. package/dist/locales/zh.json +607 -3
  214. package/dist/patterns/alia-assistant/index.js +1 -1
  215. package/dist/patterns/calendar/calendar.journey.d.ts +7 -0
  216. package/dist/patterns/calendar/index.js +1 -1
  217. package/dist/patterns/check-in-documents/check-in-documents.d.ts +61 -0
  218. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts +32 -0
  219. package/dist/patterns/check-in-documents/index.d.ts +4 -0
  220. package/dist/patterns/check-in-documents/index.js +5 -0
  221. package/dist/patterns/error-page/index.js +1 -1
  222. package/dist/patterns/patient-account-settings/index.d.ts +4 -0
  223. package/dist/patterns/patient-account-settings/index.js +5 -0
  224. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
  225. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
  226. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
  227. package/dist/patterns/patient-check-in/index.d.ts +20 -0
  228. package/dist/patterns/patient-check-in/index.js +13 -0
  229. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -0
  230. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts +29 -0
  231. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts +25 -0
  232. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -0
  233. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts +23 -0
  234. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts +61 -0
  235. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts +73 -0
  236. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts +9 -0
  237. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
  238. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
  239. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
  240. package/dist/patterns/patient-portal/index.d.ts +12 -0
  241. package/dist/patterns/patient-portal/index.js +13 -0
  242. package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
  243. package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
  244. package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
  245. package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
  246. package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
  247. package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
  248. package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
  249. package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
  250. package/dist/patterns/patient-sign-in/index.d.ts +7 -0
  251. package/dist/patterns/patient-sign-in/index.js +15 -0
  252. package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
  253. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
  254. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
  255. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -0
  256. package/dist/patterns/registration-form/index.js +1 -1
  257. package/dist/patterns/signature-request/index.js +1 -1
  258. package/dist/patterns/signing/index.d.ts +26 -0
  259. package/dist/patterns/signing/index.js +16 -0
  260. package/dist/patterns/signing/multi-field-signer.d.ts +138 -0
  261. package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
  262. package/dist/patterns/signing/signing-checkbox-pill.d.ts +66 -0
  263. package/dist/patterns/signing/signing-checkbox-sheet.d.ts +16 -0
  264. package/dist/patterns/signing/signing-chrome.d.ts +30 -0
  265. package/dist/patterns/signing/signing-document-screen.d.ts +104 -0
  266. package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
  267. package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
  268. package/dist/patterns/signing/signing-footer.d.ts +56 -0
  269. package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
  270. package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
  271. package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
  272. package/dist/patterns/signing/signing-roster.d.ts +44 -0
  273. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
  274. package/dist/patterns/verify-identity/index.js +1 -1
  275. package/dist/tokens.css +1 -1
  276. package/package.json +57 -1
  277. package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
  278. package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
  279. package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
  280. package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
  281. package/dist/_chunks/handled-rejection-6gqCf5vt.js +0 -13
  282. package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
  283. package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
  284. package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
  285. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
@@ -0,0 +1,504 @@
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as Na, useMemo as aa, useEffect as wa } from "react";
3
+ import { c as ka } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as ya } from "react-i18next";
5
+ import { A as ea } from "./avatar-Dp5apm1d.js";
6
+ import { B as c } from "./badge-BUk4RjTS.js";
7
+ import { T as Ca } from "./tag-BNlcEJfE.js";
8
+ import { T as za } from "./timestamp-DPLDWdxA.js";
9
+ import { T as sa } from "./transaction-chip-CkYd-3ky.js";
10
+ import { i as Ta } from "./is-development-CLUAnsU7.js";
11
+ import { V as Sa } from "./visually-hidden-BHxEUGyT.js";
12
+ import { p as Ma } from "./privacy-mask-text-B8YfzB7L.js";
13
+ import { a as Ra } from "./workflow-status-CO0mxXs2.js";
14
+ import { i as Aa } from "./is-safe-url-CEy9CEml.js";
15
+ import { a as Da, b as Va, c as _a } from "./entity-card-p-LANpYt.js";
16
+ import { V as Ia } from "./video-BheNGvsu.js";
17
+ import { M as La } from "./map-pin-BaY37-Km.js";
18
+ import { E as Pa } from "./eye-off-C_4xkbRP.js";
19
+ import { U as Ea } from "./user-x-BJZg4kaP.js";
20
+ import { B as Oa } from "./building-2-D33bLCWL.js";
21
+ import { S as ra } from "./star-Bf9L2Uot.js";
22
+ import { c as oa } from "./createLucideIcon-DhHxpK9K.js";
23
+ import { A as Ua } from "./armchair-BaLDW6Hz.js";
24
+ import { G as Fa } from "./globe-sHBW1JN5.js";
25
+ import { R as ja } from "./repeat-CvQa5rZt.js";
26
+ import { F as $a } from "./file-pen-line-k4uMBM3h.js";
27
+ import { C as Ba } from "./chevron-right-I9AeSxH2.js";
28
+ /**
29
+ * @license lucide-react v1.22.0 - ISC
30
+ *
31
+ * This source code is licensed under the ISC license.
32
+ * See the LICENSE file in the root directory of this source tree.
33
+ */
34
+ const qa = [
35
+ ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
36
+ [
37
+ "path",
38
+ {
39
+ d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
40
+ key: "116196"
41
+ }
42
+ ],
43
+ ["path", { d: "M9 14h6", key: "159ibu" }],
44
+ ["path", { d: "M12 17v-6", key: "1y8rbf" }]
45
+ ], Wa = oa("clipboard-plus", qa);
46
+ /**
47
+ * @license lucide-react v1.22.0 - ISC
48
+ *
49
+ * This source code is licensed under the ISC license.
50
+ * See the LICENSE file in the root directory of this source tree.
51
+ */
52
+ const Ga = [
53
+ [
54
+ "path",
55
+ {
56
+ 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",
57
+ key: "18887p"
58
+ }
59
+ ],
60
+ ["path", { d: "M7 11h10", key: "1twpyw" }],
61
+ ["path", { d: "M7 15h6", key: "d9of3u" }],
62
+ ["path", { d: "M7 7h8", key: "af5zfr" }]
63
+ ], Ha = oa("message-square-text", Ga), Ka = {
64
+ "var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
65
+ "var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
66
+ "var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
67
+ "var(--color-blue-500)": "ds:bg-[var(--color-blue-500)]",
68
+ "var(--color-green-500)": "ds:bg-[var(--color-green-500)]",
69
+ "var(--color-red-500)": "ds:bg-[var(--color-red-500)]",
70
+ "var(--color-yellow-500)": "ds:bg-[var(--color-yellow-500)]",
71
+ "var(--color-indigo-500)": "ds:bg-[var(--color-indigo-500)]",
72
+ "var(--color-orange-500)": "ds:bg-[var(--color-orange-500)]",
73
+ "var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
74
+ "var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
75
+ };
76
+ function Ya(a) {
77
+ return Ka[_a(a)] ?? "ds:bg-[var(--color-grey-700)]";
78
+ }
79
+ function Xa(a) {
80
+ if (!a) return;
81
+ const t = new Date(a);
82
+ if (Number.isNaN(t.getTime())) return;
83
+ const u = /* @__PURE__ */ new Date();
84
+ let o = u.getFullYear() - t.getFullYear();
85
+ const d = u.getMonth() - t.getMonth();
86
+ return (d < 0 || d === 0 && u.getDate() < t.getDate()) && o--, o < 0 || o > 130 ? void 0 : o;
87
+ }
88
+ const na = {
89
+ hour: "numeric",
90
+ minute: "2-digit"
91
+ };
92
+ function Ja(a) {
93
+ if (a)
94
+ try {
95
+ return new Intl.DateTimeFormat("en", { timeZone: a }).resolvedOptions().timeZone;
96
+ } catch {
97
+ return;
98
+ }
99
+ }
100
+ const Qa = ka(
101
+ [
102
+ "ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
103
+ "ds:rounded-[var(--radius-md)]",
104
+ "ds:text-start ds:group",
105
+ "ds:bg-[var(--card)] ds:text-[color:var(--card-foreground)]",
106
+ "ds:transition-[colors,border-color,box-shadow] ds:duration-[var(--animation-duration)]",
107
+ "ds:motion-reduce:transition-none",
108
+ "ds:forced-colors:border ds:forced-colors:border-[CanvasText]"
109
+ ].join(" "),
110
+ {
111
+ variants: {
112
+ size: {
113
+ sm: "ds:p-[var(--spacing-sm)]",
114
+ md: "ds:p-[var(--spacing-md)]"
115
+ },
116
+ interactive: {
117
+ true: "ds:hover:bg-[color:var(--muted)]/40 ds:cursor-pointer",
118
+ false: ""
119
+ },
120
+ surface: {
121
+ // `flat` (default) is the chrome-less row used inside a bordered
122
+ // AppointmentTray. `elevated` gives each row its own card chrome
123
+ // (border + shadow) for use directly on a rail, e.g. AppointmentTimeline.
124
+ // Uses `--shadow-sm` (a row lift), not `--shadow-card`/`--shadow-lg`:
125
+ // the rail's `overflow-y:auto` scroll region clips `overflow-x` at a
126
+ // narrow gutter, so a wide 30px-blur shadow gets a hard-edged clip.
127
+ flat: "",
128
+ elevated: "ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))] ds:border-[color:var(--card-border)] ds:shadow-[var(--shadow-sm)]"
129
+ },
130
+ selected: {
131
+ // The row the host has marked as the active/selected appointment —
132
+ // matches the `current` note's info-tinted accent: a solid
133
+ // inline-start bar plus a soft info wash, so the eye keeps its
134
+ // place in the list after a click.
135
+ true: "ds:border-s-2 ds:border-s-[color:var(--info)] ds:bg-[color:var(--info)]/10",
136
+ false: ""
137
+ },
138
+ dimmed: {
139
+ // Settled (concluded / no-show) rows: a muted wash instead of the
140
+ // elevated card surface, shadow dropped. Only the CHROME dims —
141
+ // text stays `--card-foreground` / `--muted-foreground`, so AA
142
+ // contrast is untouched in every theme.
143
+ true: "ds:bg-[color:var(--muted)]/40 ds:shadow-none",
144
+ false: ""
145
+ },
146
+ next: {
147
+ // The next appointment to start: a STEADY accent outline (a state,
148
+ // not a one-off address like the notes/bookings "addressed" ring,
149
+ // so no keyframe replay). `outline` rather than `border` keeps the
150
+ // row's own border/radius untouched.
151
+ true: "ds:outline ds:outline-2 ds:outline-[color:var(--accent)] ds:[outline-offset:-1px] ds:forced-colors:outline-[Highlight]",
152
+ false: ""
153
+ }
154
+ },
155
+ defaultVariants: {
156
+ size: "sm",
157
+ interactive: !1,
158
+ surface: "flat",
159
+ selected: !1,
160
+ dimmed: !1,
161
+ next: !1
162
+ }
163
+ }
164
+ ), Za = [
165
+ "ds:min-w-0",
166
+ "ds:[&>div]:h-auto ds:[&>div]:min-h-8 ds:[&>div]:py-[var(--spacing-2xs)]",
167
+ "ds:[&_[data-workflow-status-value]]:overflow-visible",
168
+ "ds:[&_[data-workflow-status-value]]:whitespace-normal",
169
+ "ds:[&_[data-workflow-status-value]]:break-words"
170
+ ].join(" "), ta = [
171
+ // Interactive elements need a box to remain keyboard-focusable in browsers.
172
+ "ds:inline-flex ds:min-w-0",
173
+ "ds:focus-visible:outline-none",
174
+ "ds:after:content-[''] ds:after:absolute ds:after:inset-0 ds:after:rounded-[var(--radius-md)]",
175
+ "ds:after:pointer-events-auto",
176
+ "ds:focus-visible:after:outline-[length:var(--focus-ring-width)]",
177
+ "ds:focus-visible:after:outline-solid",
178
+ "ds:focus-visible:after:outline-[color:var(--ring)]",
179
+ "ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
180
+ "ds:forced-colors:focus-visible:after:outline-[CanvasText]"
181
+ ].join(" "), ae = {
182
+ inPractice: La,
183
+ telehealth: Ia
184
+ }, ee = Na(
185
+ ({
186
+ item: a,
187
+ size: t = "sm",
188
+ surface: u = "flat",
189
+ locale: o,
190
+ timeZone: d,
191
+ currency: C = "EUR",
192
+ showPatient: i = !0,
193
+ onActivate: p,
194
+ selected: z = !1,
195
+ hideDefaultStatus: da = !1,
196
+ privacy: l = !1,
197
+ privacyTitle: ia,
198
+ wrapText: b = !1,
199
+ className: la,
200
+ ...ca
201
+ }, pa) => {
202
+ var P, E, O, U, F, j, $, B, q, W, G, H, K, Y, X, J, Q, Z;
203
+ const { t: s } = ya("ui"), f = aa(() => Ja(d), [d]), ma = aa(
204
+ () => f ? { ...na, timeZone: f } : na,
205
+ [f]
206
+ );
207
+ wa(() => {
208
+ d && !f && Ta() && console.warn(
209
+ `AppointmentCard: "${d}" is not a time zone this browser knows, so the start time shows in the browser's own zone.`
210
+ );
211
+ }, [d, f]);
212
+ const g = !!p, ua = !!a.url && Aa(a.url), fa = !(da && a.state === "confirmed"), x = ((P = a.patient) == null ? void 0 : P.name) ?? s("appointmentCard.noPatient"), m = (E = a.operator) == null ? void 0 : E.name, h = s(`appointmentCard.state.${a.state}`), T = Da(a.state), ga = T.Icon, ha = ((O = a.flags) == null ? void 0 : O.noPatientAssigned) || !a.patient, S = l && i && a.patient !== void 0, M = l ? void 0 : Xa((U = a.patient) == null ? void 0 : U.dobIso), R = ((F = a.practiceName) == null ? void 0 : F.trim()) || void 0, N = t === "md" ? "md" : "sm", va = ae[a.type], A = i ? x : m ?? s("appointmentCard.appointment"), D = S ? s("appointmentCard.itemLabelGeneric", {
213
+ title: s("appointmentPeek.hiddenName"),
214
+ state: h
215
+ }) : i ? s("appointmentCard.itemLabel", {
216
+ patient: x,
217
+ state: h
218
+ }) : s("appointmentCard.itemLabelGeneric", { title: A, state: h }), w = /* @__PURE__ */ r(
219
+ "span",
220
+ {
221
+ className: (b ? "ds:min-w-0 ds:break-words" : "ds:min-w-0 ds:truncate") + " type-title-item ds:text-[color:var(--foreground)]",
222
+ children: [
223
+ S ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
224
+ /* @__PURE__ */ e(Pa, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
225
+ /* @__PURE__ */ e(Sa, { children: s("appointmentPeek.hiddenName") }),
226
+ /* @__PURE__ */ e("span", { "aria-hidden": "true", children: Ma(ia) })
227
+ ] }) : A,
228
+ i && M !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
229
+ "· ",
230
+ M
231
+ ] }) : null
232
+ ]
233
+ }
234
+ );
235
+ let v;
236
+ g && ua ? v = /* @__PURE__ */ e(
237
+ "a",
238
+ {
239
+ href: a.url,
240
+ "aria-label": D,
241
+ "data-action": "open-appointment",
242
+ className: ta,
243
+ onClick: (n) => {
244
+ n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || p == null || p(a);
245
+ },
246
+ children: w
247
+ }
248
+ ) : g ? v = /* @__PURE__ */ e(
249
+ "button",
250
+ {
251
+ type: "button",
252
+ "aria-label": D,
253
+ "data-action": "open-appointment",
254
+ className: ta + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
255
+ onClick: () => p == null ? void 0 : p(a),
256
+ children: w
257
+ }
258
+ ) : v = w;
259
+ const V = (a.treatments ?? []).map((n, ba) => {
260
+ const xa = n.elements && n.elements.length > 0 ? s("appointmentCard.treatmentWithElements", {
261
+ care: n.careName,
262
+ elements: n.elements.join(", ")
263
+ }) : n.careName;
264
+ return /* @__PURE__ */ e(
265
+ Ca,
266
+ {
267
+ label: xa,
268
+ variant: "neutral",
269
+ fill: "outline",
270
+ size: "sm",
271
+ maxInlineSize: "12rem"
272
+ },
273
+ `${n.careName}-${ba}`
274
+ );
275
+ }), k = (j = a.bookingReason) == null ? void 0 : j.advanceAmountCents, _ = !l && typeof k == "number" && k > 0, y = ($ = a.money) == null ? void 0 : $.unpaidAmountCents, I = !l && typeof y == "number" && y > 0, L = !l && ((B = a.flags) == null ? void 0 : B.highlightedAnamnesis);
276
+ return /* @__PURE__ */ r(
277
+ "div",
278
+ {
279
+ ref: pa,
280
+ role: "listitem",
281
+ "data-component": "appointment-card",
282
+ "data-component-id": a.id,
283
+ "data-state": a.state,
284
+ "data-type": a.type,
285
+ "data-privacy": l ? "masked" : void 0,
286
+ "aria-current": z ? "true" : void 0,
287
+ className: Qa({
288
+ size: t,
289
+ interactive: g,
290
+ surface: u,
291
+ selected: z,
292
+ dimmed: a.dimmed,
293
+ next: a.next,
294
+ className: la
295
+ }),
296
+ ...ca,
297
+ children: [
298
+ /* @__PURE__ */ r("span", { className: "ds:flex ds:min-w-20 ds:shrink-0 ds:flex-col ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
299
+ /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:whitespace-nowrap ds:text-[color:var(--muted-foreground)]", children: [
300
+ /* @__PURE__ */ e(va, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
301
+ /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s(`appointmentCard.type.${a.type}`) }),
302
+ /* @__PURE__ */ e(
303
+ za,
304
+ {
305
+ value: a.startIso,
306
+ format: "absolute",
307
+ shape: "bare",
308
+ locale: o,
309
+ absoluteFormat: ma,
310
+ className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
311
+ }
312
+ )
313
+ ] }),
314
+ /* @__PURE__ */ e("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s("appointmentCard.duration", { count: a.durationMin }) })
315
+ ] }),
316
+ m ? /* @__PURE__ */ r("span", { className: "ds:relative ds:shrink-0", children: [
317
+ /* @__PURE__ */ e(
318
+ ea,
319
+ {
320
+ name: m,
321
+ color: Va((q = a.operator) == null ? void 0 : q.colorId),
322
+ size: N,
323
+ "aria-hidden": "true",
324
+ role: "presentation",
325
+ "aria-label": void 0
326
+ }
327
+ ),
328
+ /* @__PURE__ */ e(
329
+ "span",
330
+ {
331
+ "aria-hidden": "true",
332
+ className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " + Ya((W = a.operator) == null ? void 0 : W.colorId)
333
+ }
334
+ )
335
+ ] }) : null,
336
+ /* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
337
+ /* @__PURE__ */ r(
338
+ "div",
339
+ {
340
+ className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]" + (b ? " ds:flex-wrap" : ""),
341
+ children: [
342
+ /* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
343
+ i && !l && ((G = a.patient) != null && G.avatarUrl) ? /* @__PURE__ */ e(
344
+ ea,
345
+ {
346
+ name: x,
347
+ src: a.patient.avatarUrl,
348
+ size: N,
349
+ className: "ds:shrink-0",
350
+ "aria-hidden": "true",
351
+ role: "presentation",
352
+ "aria-label": void 0
353
+ }
354
+ ) : null,
355
+ i && ha ? /* @__PURE__ */ e(
356
+ "span",
357
+ {
358
+ className: `ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--muted)] ds:text-[color:var(--muted-foreground)] ${N === "md" ? "ds:size-10" : "ds:size-8"}`,
359
+ children: /* @__PURE__ */ e(Ea, { "aria-hidden": "true", className: "ds:size-4" })
360
+ }
361
+ ) : null,
362
+ v
363
+ ] }),
364
+ a.next ? /* @__PURE__ */ e(
365
+ c,
366
+ {
367
+ variant: "accentSoft",
368
+ size: "sm",
369
+ className: "ds:shrink-0",
370
+ "aria-hidden": "true",
371
+ children: s("appointmentCard.next")
372
+ }
373
+ ) : null,
374
+ fa ? /* @__PURE__ */ e(
375
+ Ra,
376
+ {
377
+ size: "sm",
378
+ value: a.state,
379
+ option: {
380
+ value: a.state,
381
+ label: h,
382
+ icon: /* @__PURE__ */ e(ga, { "aria-hidden": "true" }),
383
+ tone: T.tone
384
+ },
385
+ className: b ? Za : "ds:shrink-0"
386
+ }
387
+ ) : null
388
+ ]
389
+ }
390
+ ),
391
+ a.next ? /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s("appointmentCard.nextSr") }) : null,
392
+ R ? /* @__PURE__ */ r(
393
+ "span",
394
+ {
395
+ "data-slot": "practice",
396
+ className: "type-meta ds:flex ds:min-w-0 ds:items-start ds:gap-[var(--spacing-2xs)] ds:text-[color:var(--muted-foreground)]",
397
+ children: [
398
+ /* @__PURE__ */ e("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ e(Oa, { "aria-hidden": "true", className: "ds:size-3" }) }),
399
+ /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s("appointmentCard.practice") }),
400
+ /* @__PURE__ */ e("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: R })
401
+ ]
402
+ }
403
+ ) : null,
404
+ i && m || (H = a.bookingReason) != null && H.specialty || a.firstVisit === "yes" || a.firstVisit === "unknown" || a.bookingNote ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
405
+ i && m ? /* @__PURE__ */ e("span", { children: m }) : null,
406
+ (K = a.bookingReason) != null && K.specialty ? /* @__PURE__ */ e("span", { children: a.bookingReason.specialty }) : null,
407
+ a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
408
+ /* @__PURE__ */ e(ra, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
409
+ s("appointmentCard.firstVisit")
410
+ ] }) : null,
411
+ a.firstVisit === "unknown" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
412
+ /* @__PURE__ */ e(ra, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
413
+ s("appointmentCard.firstVisitUnknown")
414
+ ] }) : null,
415
+ a.bookingNote ? /* @__PURE__ */ r(
416
+ "span",
417
+ {
418
+ className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
419
+ title: s("appointmentCard.hasBookingNote"),
420
+ children: [
421
+ /* @__PURE__ */ e(
422
+ Ha,
423
+ {
424
+ "aria-hidden": "true",
425
+ className: "ds:size-3 ds:shrink-0"
426
+ }
427
+ ),
428
+ s("appointmentCard.hasBookingNote")
429
+ ]
430
+ }
431
+ ) : null
432
+ ] }) : null,
433
+ (Y = a.bookingReason) != null && Y.description && !l ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
434
+ V.length > 0 ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: V }) : null,
435
+ a.carePlan || a.chair || (X = a.flags) != null && X.bookedOnline || L || (J = a.flags) != null && J.billable || a.recurring || a.signing || _ || I ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
436
+ a.carePlan ? /* @__PURE__ */ e(
437
+ c,
438
+ {
439
+ variant: "accentSoft",
440
+ size: "sm",
441
+ leading: /* @__PURE__ */ e(Wa, {}),
442
+ children: s("appointmentCard.carePlan", {
443
+ number: a.carePlan.number
444
+ })
445
+ }
446
+ ) : null,
447
+ a.chair ? /* @__PURE__ */ e(c, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(Ua, {}), children: s("appointmentCard.chair", { chair: a.chair }) }) : null,
448
+ (Q = a.flags) != null && Q.bookedOnline ? /* @__PURE__ */ e(c, { variant: "info", size: "sm", leading: /* @__PURE__ */ e(Fa, {}), children: s("appointmentCard.flag.bookedOnline") }) : null,
449
+ L ? /* @__PURE__ */ e(c, { variant: "warning", size: "sm", withDot: !0, children: s("appointmentCard.flag.highlightedAnamnesis") }) : null,
450
+ a.recurring ? /* @__PURE__ */ e(c, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(ja, {}), children: s("appointmentCard.recurring") }) : null,
451
+ a.signing ? /* @__PURE__ */ e(
452
+ c,
453
+ {
454
+ variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
455
+ size: "sm",
456
+ leading: /* @__PURE__ */ e($a, {}),
457
+ children: s("appointmentCard.signing", {
458
+ complete: a.signing.toComplete,
459
+ required: a.signing.required
460
+ })
461
+ }
462
+ ) : null,
463
+ (Z = a.flags) != null && Z.billable ? /* @__PURE__ */ e(c, { variant: "success", size: "sm", withDot: !0, children: s("appointmentCard.flag.billable") }) : null,
464
+ _ ? /* @__PURE__ */ e(
465
+ sa,
466
+ {
467
+ state: "to-invoice",
468
+ amount: k / 100,
469
+ currency: C,
470
+ locale: o,
471
+ size: "sm",
472
+ showLabel: !0
473
+ }
474
+ ) : null,
475
+ I ? /* @__PURE__ */ e(
476
+ sa,
477
+ {
478
+ state: "debt",
479
+ amount: y / 100,
480
+ currency: C,
481
+ locale: o,
482
+ size: "sm",
483
+ showLabel: !0
484
+ }
485
+ ) : null
486
+ ] }) : null
487
+ ] }),
488
+ g ? /* @__PURE__ */ e(
489
+ Ba,
490
+ {
491
+ "aria-hidden": "true",
492
+ className: "ds:size-4 ds:shrink-0 ds:self-center ds:text-[color:var(--muted-foreground)] ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:group-focus-within:opacity-100 ds:rtl:rotate-180"
493
+ }
494
+ ) : null
495
+ ]
496
+ }
497
+ );
498
+ }
499
+ );
500
+ ee.displayName = "AppointmentCard";
501
+ export {
502
+ ee as A
503
+ };
504
+ //# sourceMappingURL=appointment-card-BT1cMZIX.js.map
@@ -5,12 +5,12 @@ import { useTranslation as y } from "react-i18next";
5
5
  import { A as z } from "./avatar-Dp5apm1d.js";
6
6
  import { D as l } from "./description-list-BxzDN9o2.js";
7
7
  import { H as E } from "./hover-card-CuRIA4wN.js";
8
- import { a as H } from "./workflow-status-D1WgGVTP.js";
8
+ import { a as H } from "./workflow-status-CO0mxXs2.js";
9
9
  import { C as I } from "./clock-Drd4Wtis.js";
10
10
  import { V as S } from "./video-BheNGvsu.js";
11
11
  import { A as W } from "./armchair-BaLDW6Hz.js";
12
12
  import { E as j } from "./eye-off-C_4xkbRP.js";
13
- import { a as L } from "./entity-card-fpm-KUKc.js";
13
+ import { a as L } from "./entity-card-p-LANpYt.js";
14
14
  const R = V(
15
15
  "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-sm)]"
16
16
  ), T = P(
@@ -120,4 +120,4 @@ T.displayName = "AppointmentPeek";
120
120
  export {
121
121
  T as A
122
122
  };
123
- //# sourceMappingURL=appointment-peek-DZa6xyUb.js.map
123
+ //# sourceMappingURL=appointment-peek-BP_ACFz5.js.map
@@ -2,7 +2,7 @@ import { jsxs as x, jsx as o, Fragment as He } from "react/jsx-runtime";
2
2
  import { forwardRef as Me, useId as Ne, useMemo as j, useRef as y, useState as $, useEffect as Fe, useCallback as b, useImperativeHandle as _e } from "react";
3
3
  import { c as ze } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Ae } from "react-i18next";
5
- import { A as ne } from "./appointment-card-OAOur8lH.js";
5
+ import { A as ne } from "./appointment-card-BT1cMZIX.js";
6
6
  import { B as P } from "./button-DohK_Ak_.js";
7
7
  import { B as Be } from "./button-group-DuQuuulC.js";
8
8
  import { D as Ke } from "./date-picker-BmVBVpVu.js";
@@ -449,4 +449,4 @@ export {
449
449
  Ze as A,
450
450
  Oe as a
451
451
  };
452
- //# sourceMappingURL=appointment-timeline-DQePqpyH.js.map
452
+ //# sourceMappingURL=appointment-timeline-Dy4YQJ17.js.map