@alfadocs/ui-kit-debug 1.132.0 → 1.134.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 (463) hide show
  1. package/dist/_chunks/{agenda-card-B8hV3dZV.js → agenda-card-B9wgX_Ed.js} +2 -2
  2. package/dist/_chunks/{agenda-card-B8hV3dZV.js.map → agenda-card-B9wgX_Ed.js.map} +1 -1
  3. package/dist/_chunks/{agenda-tray-Bu46s3dI.js → agenda-tray-CGcS_qoM.js} +2 -2
  4. package/dist/_chunks/{agenda-tray-Bu46s3dI.js.map → agenda-tray-CGcS_qoM.js.map} +1 -1
  5. package/dist/_chunks/appointment-card-DG3m9yN-.js +504 -0
  6. package/dist/_chunks/appointment-card-DG3m9yN-.js.map +1 -0
  7. package/dist/_chunks/{appointment-peek-DZa6xyUb.js → appointment-peek-BK0tDs4C.js} +2 -2
  8. package/dist/_chunks/{appointment-peek-DZa6xyUb.js.map → appointment-peek-BK0tDs4C.js.map} +1 -1
  9. package/dist/_chunks/{appointment-timeline-DQePqpyH.js → appointment-timeline-BiI2riRZ.js} +2 -2
  10. package/dist/_chunks/{appointment-timeline-DQePqpyH.js.map → appointment-timeline-BiI2riRZ.js.map} +1 -1
  11. package/dist/_chunks/appointment-tray-ClJCtYQj.js +200 -0
  12. package/dist/_chunks/appointment-tray-ClJCtYQj.js.map +1 -0
  13. package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js → appointment-workflow-status-S-lx81Yz.js} +2 -2
  14. package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js.map → appointment-workflow-status-S-lx81Yz.js.map} +1 -1
  15. package/dist/_chunks/ban-CiSCCcOE.js +15 -0
  16. package/dist/_chunks/ban-CiSCCcOE.js.map +1 -0
  17. package/dist/_chunks/{calendar-BIoOeBTT.js → calendar-CyLtLBNP.js} +2 -2
  18. package/dist/_chunks/{calendar-BIoOeBTT.js.map → calendar-CyLtLBNP.js.map} +1 -1
  19. package/dist/_chunks/calendar-appointment-editor-dialog-BSkIYGlW.js +13773 -0
  20. package/dist/_chunks/calendar-appointment-editor-dialog-BSkIYGlW.js.map +1 -0
  21. package/dist/_chunks/{calendar-event-card-BNEzkjm-.js → calendar-event-card-BJifpYZQ.js} +7 -6
  22. package/dist/_chunks/{calendar-event-card-BNEzkjm-.js.map → calendar-event-card-BJifpYZQ.js.map} +1 -1
  23. package/dist/_chunks/{care-plan-card-DKScH9Ss.js → care-plan-card-CjHq6PLo.js} +6 -6
  24. package/dist/_chunks/{care-plan-card-DKScH9Ss.js.map → care-plan-card-CjHq6PLo.js.map} +1 -1
  25. package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js → care-plan-entry-card-DY1toF6E.js} +2 -2
  26. package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js.map → care-plan-entry-card-DY1toF6E.js.map} +1 -1
  27. package/dist/_chunks/{care-plan-header-Dx5OMkc9.js → care-plan-header-CeFXUDnL.js} +6 -6
  28. package/dist/_chunks/{care-plan-header-Dx5OMkc9.js.map → care-plan-header-CeFXUDnL.js.map} +1 -1
  29. package/dist/_chunks/check-in-documents-CEVcgcYZ.js +136 -0
  30. package/dist/_chunks/check-in-documents-CEVcgcYZ.js.map +1 -0
  31. package/dist/_chunks/{clinical-note-card-pPaeWWnu.js → clinical-note-card-D--IwbZa.js} +2 -2
  32. package/dist/_chunks/{clinical-note-card-pPaeWWnu.js.map → clinical-note-card-D--IwbZa.js.map} +1 -1
  33. package/dist/_chunks/document-preview-DLVIrOYV.js +385 -0
  34. package/dist/_chunks/document-preview-DLVIrOYV.js.map +1 -0
  35. package/dist/_chunks/{entity-card-fpm-KUKc.js → entity-card-p-LANpYt.js} +18 -17
  36. package/dist/_chunks/{entity-card-fpm-KUKc.js.map → entity-card-p-LANpYt.js.map} +1 -1
  37. package/dist/_chunks/{error-page-B0fGNTRB.js → error-page-WLhmWUTq.js} +100 -115
  38. package/dist/_chunks/error-page-WLhmWUTq.js.map +1 -0
  39. package/dist/_chunks/finished-terminal-unDnXT4j.js +191 -0
  40. package/dist/_chunks/finished-terminal-unDnXT4j.js.map +1 -0
  41. package/dist/_chunks/house-DGCypGTo.js +21 -0
  42. package/dist/_chunks/house-DGCypGTo.js.map +1 -0
  43. package/dist/_chunks/is-safe-url-CEy9CEml.js +8 -0
  44. package/dist/_chunks/is-safe-url-CEy9CEml.js.map +1 -0
  45. package/dist/_chunks/keypad-DBH_keVs.js +152 -0
  46. package/dist/_chunks/keypad-DBH_keVs.js.map +1 -0
  47. package/dist/_chunks/keypad-button-mOaPQRrH.js +114 -0
  48. package/dist/_chunks/keypad-button-mOaPQRrH.js.map +1 -0
  49. package/dist/_chunks/{message-card-BG3_3nN1.js → message-card-Bw_q1qKx.js} +2 -2
  50. package/dist/_chunks/{message-card-BG3_3nN1.js.map → message-card-Bw_q1qKx.js.map} +1 -1
  51. package/dist/_chunks/{message-tray-BjZv0Fsk.js → message-tray-pLGgLmoG.js} +2 -2
  52. package/dist/_chunks/{message-tray-BjZv0Fsk.js.map → message-tray-pLGgLmoG.js.map} +1 -1
  53. package/dist/_chunks/{note-attachment-MNTIqdSz.js → note-attachment-JTIy9iXN.js} +2 -2
  54. package/dist/_chunks/{note-attachment-MNTIqdSz.js.map → note-attachment-JTIy9iXN.js.map} +1 -1
  55. package/dist/_chunks/{note-timeline-BQeW0VZY.js → note-timeline-BbjHMhkL.js} +2 -2
  56. package/dist/_chunks/{note-timeline-BQeW0VZY.js.map → note-timeline-BbjHMhkL.js.map} +1 -1
  57. package/dist/_chunks/{notes-panel-Cm-_pCRJ.js → notes-panel-BAyPOr8N.js} +2 -2
  58. package/dist/_chunks/{notes-panel-Cm-_pCRJ.js.map → notes-panel-BAyPOr8N.js.map} +1 -1
  59. package/dist/_chunks/{operator-hero-CnfWckNQ.js → operator-hero-D4wfVu2l.js} +2 -2
  60. package/dist/_chunks/{operator-hero-CnfWckNQ.js.map → operator-hero-D4wfVu2l.js.map} +1 -1
  61. package/dist/_chunks/otp-input-BNOTlxq3.js +342 -0
  62. package/dist/_chunks/otp-input-BNOTlxq3.js.map +1 -0
  63. package/dist/_chunks/patient-account-settings-BkAtIxJW.js +546 -0
  64. package/dist/_chunks/patient-account-settings-BkAtIxJW.js.map +1 -0
  65. package/dist/_chunks/patient-card-DTh3QTyS.js +125 -0
  66. package/dist/_chunks/patient-card-DTh3QTyS.js.map +1 -0
  67. package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js +742 -0
  68. package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js.map +1 -0
  69. package/dist/_chunks/patient-sign-in-pin-CDBqV254.js +432 -0
  70. package/dist/_chunks/patient-sign-in-pin-CDBqV254.js.map +1 -0
  71. package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js +199 -0
  72. package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js.map +1 -0
  73. package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js → patient-summary-card-Bl2NknPe.js} +2 -2
  74. package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js.map → patient-summary-card-Bl2NknPe.js.map} +1 -1
  75. package/dist/_chunks/{payment-request-card-Dv4WbRBe.js → payment-request-card-CNW00DCx.js} +6 -6
  76. package/dist/_chunks/{payment-request-card-Dv4WbRBe.js.map → payment-request-card-CNW00DCx.js.map} +1 -1
  77. package/dist/_chunks/{pdf-viewer-BnBKdx0y.js → pdf-viewer-TRC5jEm5.js} +472 -425
  78. package/dist/_chunks/pdf-viewer-TRC5jEm5.js.map +1 -0
  79. package/dist/_chunks/pin-entry-BugWQMOS.js +219 -0
  80. package/dist/_chunks/pin-entry-BugWQMOS.js.map +1 -0
  81. package/dist/_chunks/pin-indicator-Cb-n40UI.js +124 -0
  82. package/dist/_chunks/pin-indicator-Cb-n40UI.js.map +1 -0
  83. package/dist/_chunks/portal-details-CTEsm705.js +478 -0
  84. package/dist/_chunks/portal-details-CTEsm705.js.map +1 -0
  85. package/dist/_chunks/portal-documents-D8skew0h.js +902 -0
  86. package/dist/_chunks/portal-documents-D8skew0h.js.map +1 -0
  87. package/dist/_chunks/portal-parts-BdR29P7z.js +285 -0
  88. package/dist/_chunks/portal-parts-BdR29P7z.js.map +1 -0
  89. package/dist/_chunks/{privacy-mask-DJ1gee4c.js → privacy-mask-C19dJFMk.js} +5 -5
  90. package/dist/_chunks/{privacy-mask-DJ1gee4c.js.map → privacy-mask-C19dJFMk.js.map} +1 -1
  91. package/dist/_chunks/{product-hub-panel-a8wdVOUt.js → product-hub-panel-K4QbULG7.js} +2 -2
  92. package/dist/_chunks/{product-hub-panel-a8wdVOUt.js.map → product-hub-panel-K4QbULG7.js.map} +1 -1
  93. package/dist/_chunks/{registration-form-CwbhtKcy.js → registration-form-DS3RuKHu.js} +2 -2
  94. package/dist/_chunks/{registration-form-CwbhtKcy.js.map → registration-form-DS3RuKHu.js.map} +1 -1
  95. package/dist/_chunks/{reserved.agent-W8mR179D.js → reserved.agent-DOzOBUW7.js} +2 -2
  96. package/dist/_chunks/{reserved.agent-W8mR179D.js.map → reserved.agent-DOzOBUW7.js.map} +1 -1
  97. package/dist/_chunks/session-countdown-DOx1IBUB.js +232 -0
  98. package/dist/_chunks/session-countdown-DOx1IBUB.js.map +1 -0
  99. package/dist/_chunks/{sign-document-CQZVzfpk.js → sign-document-DDZbmYHu.js} +2 -2
  100. package/dist/_chunks/{sign-document-CQZVzfpk.js.map → sign-document-DDZbmYHu.js.map} +1 -1
  101. package/dist/_chunks/{signature-field-DjabvRZm.js → signature-field-BjlY_yXH.js} +39 -34
  102. package/dist/_chunks/signature-field-BjlY_yXH.js.map +1 -0
  103. package/dist/_chunks/{signature-request-4pGq3YBe.js → signature-request-CHsM_iWi.js} +2 -2
  104. package/dist/_chunks/{signature-request-4pGq3YBe.js.map → signature-request-CHsM_iWi.js.map} +1 -1
  105. package/dist/_chunks/{signature-status-chip-pIoQjvH8.js → signature-status-chip-DS9hHwIt.js} +66 -69
  106. package/dist/_chunks/signature-status-chip-DS9hHwIt.js.map +1 -0
  107. package/dist/_chunks/signing-end-screen-an9P8DOT.js +1041 -0
  108. package/dist/_chunks/signing-end-screen-an9P8DOT.js.map +1 -0
  109. package/dist/_chunks/sms-code-entry-Dgp4GwlM.js +316 -0
  110. package/dist/_chunks/sms-code-entry-Dgp4GwlM.js.map +1 -0
  111. package/dist/_chunks/step-up-dialog-C2JqJmCA.js +132 -0
  112. package/dist/_chunks/step-up-dialog-C2JqJmCA.js.map +1 -0
  113. package/dist/_chunks/{task-editor-BL2hHxNz.js → task-editor-g1AGfxhr.js} +38 -38
  114. package/dist/_chunks/{task-editor-BL2hHxNz.js.map → task-editor-g1AGfxhr.js.map} +1 -1
  115. package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js → use-appointment-details-read-Dzc6fEzG.js} +6 -6
  116. package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js.map → use-appointment-details-read-Dzc6fEzG.js.map} +1 -1
  117. package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js +221 -0
  118. package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js.map +1 -0
  119. package/dist/_chunks/{user-x-DYszNtIg.js → user-x-BJZg4kaP.js} +8 -19
  120. package/dist/_chunks/user-x-BJZg4kaP.js.map +1 -0
  121. package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js → verify-identity-types-C6Bam8v6.js} +2 -2
  122. package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js.map → verify-identity-types-C6Bam8v6.js.map} +1 -1
  123. package/dist/agent-catalog.json +723 -364
  124. package/dist/agent-i18n/en.json +75 -18
  125. package/dist/browser-support.js +1 -1
  126. package/dist/components/_shared/is-safe-url.d.ts +3 -1
  127. package/dist/components/_shared/is-safe-url.d.ts.map +1 -1
  128. package/dist/components/agenda-card/index.js +2 -2
  129. package/dist/components/agenda-tray/index.js +1 -1
  130. package/dist/components/appointment-card/appointment-card.d.ts +45 -0
  131. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  132. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -1
  133. package/dist/components/appointment-card/appointment-tray.d.ts +11 -0
  134. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -1
  135. package/dist/components/appointment-card/index.js +3 -3
  136. package/dist/components/appointment-details-panel/index.js +1 -1
  137. package/dist/components/appointment-peek/index.js +1 -1
  138. package/dist/components/appointment-timeline/index.js +1 -1
  139. package/dist/components/booking/index.js +1 -1
  140. package/dist/components/calendar/index.js +1 -1
  141. package/dist/components/calendar-event-card/index.js +1 -1
  142. package/dist/components/care-plan-card/index.js +1 -1
  143. package/dist/components/care-plan-entry-card/index.js +1 -1
  144. package/dist/components/care-plan-header/index.js +1 -1
  145. package/dist/components/clinical-note-card/index.js +1 -1
  146. package/dist/components/document-preview/document-preview.agent.d.ts.map +1 -1
  147. package/dist/components/document-preview/document-preview.d.ts +61 -7
  148. package/dist/components/document-preview/document-preview.d.ts.map +1 -1
  149. package/dist/components/document-preview/index.js +1 -1
  150. package/dist/components/finished-terminal/finished-terminal.d.ts +63 -6
  151. package/dist/components/finished-terminal/finished-terminal.d.ts.map +1 -1
  152. package/dist/components/finished-terminal/index.d.ts +1 -1
  153. package/dist/components/finished-terminal/index.d.ts.map +1 -1
  154. package/dist/components/finished-terminal/index.js +1 -1
  155. package/dist/components/index.d.ts +12 -0
  156. package/dist/components/index.d.ts.map +1 -1
  157. package/dist/components/keypad/index.d.ts +3 -0
  158. package/dist/components/keypad/index.d.ts.map +1 -0
  159. package/dist/components/keypad/index.js +6 -0
  160. package/dist/components/keypad/index.js.map +1 -0
  161. package/dist/components/keypad/keypad.d.ts +54 -0
  162. package/dist/components/keypad/keypad.d.ts.map +1 -0
  163. package/dist/components/keypad-button/index.d.ts +3 -0
  164. package/dist/components/keypad-button/index.d.ts.map +1 -0
  165. package/dist/components/keypad-button/index.js +6 -0
  166. package/dist/components/keypad-button/index.js.map +1 -0
  167. package/dist/components/keypad-button/keypad-button.d.ts +33 -0
  168. package/dist/components/keypad-button/keypad-button.d.ts.map +1 -0
  169. package/dist/components/message-card/index.js +2 -2
  170. package/dist/components/message-tray/index.js +1 -1
  171. package/dist/components/note-timeline/index.js +1 -1
  172. package/dist/components/notes-panel/index.js +1 -1
  173. package/dist/components/operator-hero/index.js +1 -1
  174. package/dist/components/otp-input/index.js +1 -1
  175. package/dist/components/otp-input/otp-input.d.ts +11 -0
  176. package/dist/components/otp-input/otp-input.d.ts.map +1 -1
  177. package/dist/components/patient-summary-card/index.js +1 -1
  178. package/dist/components/payment-card/index.js +1 -1
  179. package/dist/components/pdf-viewer/index.js +1 -1
  180. package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
  181. package/dist/components/pdf-viewer/pdf-viewer.d.ts +7 -0
  182. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  183. package/dist/components/pin-entry/index.d.ts +3 -0
  184. package/dist/components/pin-entry/index.d.ts.map +1 -0
  185. package/dist/components/pin-entry/index.js +5 -0
  186. package/dist/components/pin-entry/index.js.map +1 -0
  187. package/dist/components/pin-entry/pin-entry.agent.d.ts +4 -0
  188. package/dist/components/pin-entry/pin-entry.agent.d.ts.map +1 -0
  189. package/dist/components/pin-entry/pin-entry.d.ts +64 -0
  190. package/dist/components/pin-entry/pin-entry.d.ts.map +1 -0
  191. package/dist/components/pin-indicator/index.d.ts +3 -0
  192. package/dist/components/pin-indicator/index.d.ts.map +1 -0
  193. package/dist/components/pin-indicator/index.js +9 -0
  194. package/dist/components/pin-indicator/index.js.map +1 -0
  195. package/dist/components/pin-indicator/pin-indicator.d.ts +34 -0
  196. package/dist/components/pin-indicator/pin-indicator.d.ts.map +1 -0
  197. package/dist/components/product-hub-tray/index.js +2 -2
  198. package/dist/components/session-countdown/index.js +1 -1
  199. package/dist/components/session-countdown/session-countdown.d.ts +19 -0
  200. package/dist/components/session-countdown/session-countdown.d.ts.map +1 -1
  201. package/dist/components/sign-document/index.js +1 -1
  202. package/dist/components/signature-field/index.js +1 -1
  203. package/dist/components/signature-field/signature-field.d.ts +17 -6
  204. package/dist/components/signature-field/signature-field.d.ts.map +1 -1
  205. package/dist/components/signature-status-chip/index.js +1 -1
  206. package/dist/components/signature-status-chip/signature-status-chip.d.ts +3 -2
  207. package/dist/components/signature-status-chip/signature-status-chip.d.ts.map +1 -1
  208. package/dist/components/sms-code-entry/index.d.ts +3 -0
  209. package/dist/components/sms-code-entry/index.d.ts.map +1 -0
  210. package/dist/components/sms-code-entry/index.js +5 -0
  211. package/dist/components/sms-code-entry/index.js.map +1 -0
  212. package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts +4 -0
  213. package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts.map +1 -0
  214. package/dist/components/sms-code-entry/sms-code-entry.d.ts +156 -0
  215. package/dist/components/sms-code-entry/sms-code-entry.d.ts.map +1 -0
  216. package/dist/components/step-up-dialog/index.d.ts +3 -0
  217. package/dist/components/step-up-dialog/index.d.ts.map +1 -0
  218. package/dist/components/step-up-dialog/index.js +5 -0
  219. package/dist/components/step-up-dialog/index.js.map +1 -0
  220. package/dist/components/step-up-dialog/step-up-dialog.d.ts +108 -0
  221. package/dist/components/step-up-dialog/step-up-dialog.d.ts.map +1 -0
  222. package/dist/components/task-editor/index.js +1 -1
  223. package/dist/components/workflow-status/index.js +1 -1
  224. package/dist/core.css +1 -1
  225. package/dist/hooks/index.js +1 -1
  226. package/dist/hooks/use-signing-session.d.ts +7 -2
  227. package/dist/hooks/use-signing-session.d.ts.map +1 -1
  228. package/dist/host-compat.css +10 -1
  229. package/dist/i18n/locales/ar.d.ts +514 -1
  230. package/dist/i18n/locales/ar.d.ts.map +1 -1
  231. package/dist/i18n/locales/ar.js +512 -4
  232. package/dist/i18n/locales/ar.js.map +1 -1
  233. package/dist/i18n/locales/de.d.ts +514 -1
  234. package/dist/i18n/locales/de.d.ts.map +1 -1
  235. package/dist/i18n/locales/de.js +520 -5
  236. package/dist/i18n/locales/de.js.map +1 -1
  237. package/dist/i18n/locales/el.d.ts +514 -1
  238. package/dist/i18n/locales/el.d.ts.map +1 -1
  239. package/dist/i18n/locales/el.js +515 -5
  240. package/dist/i18n/locales/el.js.map +1 -1
  241. package/dist/i18n/locales/en.d.ts +516 -1
  242. package/dist/i18n/locales/en.d.ts.map +1 -1
  243. package/dist/i18n/locales/en.js +522 -4
  244. package/dist/i18n/locales/en.js.map +1 -1
  245. package/dist/i18n/locales/es.d.ts +514 -1
  246. package/dist/i18n/locales/es.d.ts.map +1 -1
  247. package/dist/i18n/locales/es.js +513 -5
  248. package/dist/i18n/locales/es.js.map +1 -1
  249. package/dist/i18n/locales/fr.d.ts +514 -1
  250. package/dist/i18n/locales/fr.d.ts.map +1 -1
  251. package/dist/i18n/locales/fr.js +513 -5
  252. package/dist/i18n/locales/fr.js.map +1 -1
  253. package/dist/i18n/locales/hi.d.ts +514 -1
  254. package/dist/i18n/locales/hi.d.ts.map +1 -1
  255. package/dist/i18n/locales/hi.js +513 -5
  256. package/dist/i18n/locales/hi.js.map +1 -1
  257. package/dist/i18n/locales/it.d.ts +514 -1
  258. package/dist/i18n/locales/it.d.ts.map +1 -1
  259. package/dist/i18n/locales/it.js +520 -5
  260. package/dist/i18n/locales/it.js.map +1 -1
  261. package/dist/i18n/locales/ja.d.ts +514 -1
  262. package/dist/i18n/locales/ja.d.ts.map +1 -1
  263. package/dist/i18n/locales/ja.js +513 -5
  264. package/dist/i18n/locales/ja.js.map +1 -1
  265. package/dist/i18n/locales/nl.d.ts +514 -1
  266. package/dist/i18n/locales/nl.d.ts.map +1 -1
  267. package/dist/i18n/locales/nl.js +520 -5
  268. package/dist/i18n/locales/nl.js.map +1 -1
  269. package/dist/i18n/locales/pl.d.ts +514 -1
  270. package/dist/i18n/locales/pl.d.ts.map +1 -1
  271. package/dist/i18n/locales/pl.js +520 -5
  272. package/dist/i18n/locales/pl.js.map +1 -1
  273. package/dist/i18n/locales/pt.d.ts +514 -1
  274. package/dist/i18n/locales/pt.d.ts.map +1 -1
  275. package/dist/i18n/locales/pt.js +520 -5
  276. package/dist/i18n/locales/pt.js.map +1 -1
  277. package/dist/i18n/locales/ro.d.ts +514 -1
  278. package/dist/i18n/locales/ro.d.ts.map +1 -1
  279. package/dist/i18n/locales/ro.js +520 -5
  280. package/dist/i18n/locales/ro.js.map +1 -1
  281. package/dist/i18n/locales/ru.d.ts +514 -1
  282. package/dist/i18n/locales/ru.d.ts.map +1 -1
  283. package/dist/i18n/locales/ru.js +512 -4
  284. package/dist/i18n/locales/ru.js.map +1 -1
  285. package/dist/i18n/locales/sq.d.ts +514 -1
  286. package/dist/i18n/locales/sq.d.ts.map +1 -1
  287. package/dist/i18n/locales/sq.js +513 -5
  288. package/dist/i18n/locales/sq.js.map +1 -1
  289. package/dist/i18n/locales/sv.d.ts +514 -1
  290. package/dist/i18n/locales/sv.d.ts.map +1 -1
  291. package/dist/i18n/locales/sv.js +513 -5
  292. package/dist/i18n/locales/sv.js.map +1 -1
  293. package/dist/i18n/locales/tr.d.ts +514 -1
  294. package/dist/i18n/locales/tr.d.ts.map +1 -1
  295. package/dist/i18n/locales/tr.js +515 -5
  296. package/dist/i18n/locales/tr.js.map +1 -1
  297. package/dist/i18n/locales/zh.d.ts +514 -1
  298. package/dist/i18n/locales/zh.d.ts.map +1 -1
  299. package/dist/i18n/locales/zh.js +513 -5
  300. package/dist/i18n/locales/zh.js.map +1 -1
  301. package/dist/index.js +1271 -1204
  302. package/dist/index.js.map +1 -1
  303. package/dist/locales/ar.json +516 -3
  304. package/dist/locales/de.json +517 -4
  305. package/dist/locales/el.json +517 -4
  306. package/dist/locales/en.json +516 -3
  307. package/dist/locales/es.json +517 -4
  308. package/dist/locales/fr.json +517 -4
  309. package/dist/locales/hi.json +517 -4
  310. package/dist/locales/it.json +517 -4
  311. package/dist/locales/ja.json +517 -4
  312. package/dist/locales/nl.json +517 -4
  313. package/dist/locales/pl.json +517 -4
  314. package/dist/locales/pt.json +517 -4
  315. package/dist/locales/ro.json +517 -4
  316. package/dist/locales/ru.json +516 -3
  317. package/dist/locales/sq.json +517 -4
  318. package/dist/locales/sv.json +517 -4
  319. package/dist/locales/tr.json +517 -4
  320. package/dist/locales/zh.json +517 -4
  321. package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
  322. package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
  323. package/dist/patterns/calendar/calendar.journey.d.ts +4 -0
  324. package/dist/patterns/calendar/calendar.journey.d.ts.map +1 -1
  325. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  326. package/dist/patterns/calendar/calendar.surface.d.ts +15 -1
  327. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  328. package/dist/patterns/calendar/calendar.types.d.ts +4 -0
  329. package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
  330. package/dist/patterns/calendar/index.js +1 -1
  331. package/dist/patterns/check-in-documents/check-in-documents.d.ts +61 -0
  332. package/dist/patterns/check-in-documents/check-in-documents.d.ts.map +1 -0
  333. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts +32 -0
  334. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts.map +1 -0
  335. package/dist/patterns/check-in-documents/index.d.ts +4 -0
  336. package/dist/patterns/check-in-documents/index.d.ts.map +1 -0
  337. package/dist/patterns/check-in-documents/index.js +5 -0
  338. package/dist/patterns/check-in-documents/index.js.map +1 -0
  339. package/dist/patterns/error-page/index.js +1 -1
  340. package/dist/patterns/patient-account-settings/index.d.ts +4 -0
  341. package/dist/patterns/patient-account-settings/index.d.ts.map +1 -0
  342. package/dist/patterns/patient-account-settings/index.js +5 -0
  343. package/dist/patterns/patient-account-settings/index.js.map +1 -0
  344. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
  345. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts.map +1 -0
  346. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
  347. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts.map +1 -0
  348. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
  349. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts.map +1 -0
  350. package/dist/patterns/patient-check-in/index.d.ts +20 -0
  351. package/dist/patterns/patient-check-in/index.d.ts.map +1 -0
  352. package/dist/patterns/patient-check-in/index.js +13 -0
  353. package/dist/patterns/patient-check-in/index.js.map +1 -0
  354. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -0
  355. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts.map +1 -0
  356. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts +29 -0
  357. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts.map +1 -0
  358. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts +25 -0
  359. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts.map +1 -0
  360. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -0
  361. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts.map +1 -0
  362. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts +23 -0
  363. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts.map +1 -0
  364. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts +61 -0
  365. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts.map +1 -0
  366. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts +73 -0
  367. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts.map +1 -0
  368. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts +9 -0
  369. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts.map +1 -0
  370. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
  371. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts.map +1 -0
  372. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
  373. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts.map +1 -0
  374. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
  375. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts.map +1 -0
  376. package/dist/patterns/patient-portal/index.d.ts +12 -0
  377. package/dist/patterns/patient-portal/index.d.ts.map +1 -0
  378. package/dist/patterns/patient-portal/index.js +13 -0
  379. package/dist/patterns/patient-portal/index.js.map +1 -0
  380. package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
  381. package/dist/patterns/patient-portal/portal-appointments.d.ts.map +1 -0
  382. package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
  383. package/dist/patterns/patient-portal/portal-details.d.ts.map +1 -0
  384. package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
  385. package/dist/patterns/patient-portal/portal-documents.d.ts.map +1 -0
  386. package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
  387. package/dist/patterns/patient-portal/portal-format.d.ts.map +1 -0
  388. package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
  389. package/dist/patterns/patient-portal/portal-home.d.ts.map +1 -0
  390. package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
  391. package/dist/patterns/patient-portal/portal-parts.d.ts.map +1 -0
  392. package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
  393. package/dist/patterns/patient-portal/portal-shell.d.ts.map +1 -0
  394. package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
  395. package/dist/patterns/patient-portal/portal-types.d.ts.map +1 -0
  396. package/dist/patterns/patient-sign-in/index.d.ts +7 -0
  397. package/dist/patterns/patient-sign-in/index.d.ts.map +1 -0
  398. package/dist/patterns/patient-sign-in/index.js +15 -0
  399. package/dist/patterns/patient-sign-in/index.js.map +1 -0
  400. package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
  401. package/dist/patterns/patient-sign-in/patient-card.d.ts.map +1 -0
  402. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
  403. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts.map +1 -0
  404. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
  405. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts.map +1 -0
  406. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -0
  407. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts.map +1 -0
  408. package/dist/patterns/registration-form/index.js +1 -1
  409. package/dist/patterns/signature-request/index.js +1 -1
  410. package/dist/patterns/signing/index.d.ts +25 -0
  411. package/dist/patterns/signing/index.d.ts.map +1 -0
  412. package/dist/patterns/signing/index.js +16 -0
  413. package/dist/patterns/signing/index.js.map +1 -0
  414. package/dist/patterns/signing/multi-field-signer.d.ts +117 -0
  415. package/dist/patterns/signing/multi-field-signer.d.ts.map +1 -0
  416. package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
  417. package/dist/patterns/signing/signing-awaiting-screen.d.ts.map +1 -0
  418. package/dist/patterns/signing/signing-chrome.d.ts +30 -0
  419. package/dist/patterns/signing/signing-chrome.d.ts.map +1 -0
  420. package/dist/patterns/signing/signing-document-screen.d.ts +87 -0
  421. package/dist/patterns/signing/signing-document-screen.d.ts.map +1 -0
  422. package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
  423. package/dist/patterns/signing/signing-end-screen.d.ts.map +1 -0
  424. package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
  425. package/dist/patterns/signing/signing-finished-screen.d.ts.map +1 -0
  426. package/dist/patterns/signing/signing-footer.d.ts +56 -0
  427. package/dist/patterns/signing/signing-footer.d.ts.map +1 -0
  428. package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
  429. package/dist/patterns/signing/signing-handoff-screen.d.ts.map +1 -0
  430. package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
  431. package/dist/patterns/signing/signing-message-dialog.d.ts.map +1 -0
  432. package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
  433. package/dist/patterns/signing/signing-progress-chip.d.ts.map +1 -0
  434. package/dist/patterns/signing/signing-roster.d.ts +44 -0
  435. package/dist/patterns/signing/signing-roster.d.ts.map +1 -0
  436. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
  437. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts.map +1 -0
  438. package/dist/patterns/verify-identity/index.js +1 -1
  439. package/dist/tokens.css +1 -1
  440. package/package.json +49 -1
  441. package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
  442. package/dist/_chunks/appointment-card-OAOur8lH.js.map +0 -1
  443. package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
  444. package/dist/_chunks/appointment-tray-DSFqO5Rm.js.map +0 -1
  445. package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js +0 -13663
  446. package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js.map +0 -1
  447. package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
  448. package/dist/_chunks/document-preview-_kQ9QvZV.js.map +0 -1
  449. package/dist/_chunks/error-page-B0fGNTRB.js.map +0 -1
  450. package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
  451. package/dist/_chunks/finished-terminal-FR8uc_Ws.js.map +0 -1
  452. package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
  453. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +0 -1
  454. package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
  455. package/dist/_chunks/otp-input-gV1446Dw.js.map +0 -1
  456. package/dist/_chunks/pdf-viewer-BnBKdx0y.js.map +0 -1
  457. package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
  458. package/dist/_chunks/session-countdown-C4tzbJVc.js.map +0 -1
  459. package/dist/_chunks/signature-field-DjabvRZm.js.map +0 -1
  460. package/dist/_chunks/signature-status-chip-pIoQjvH8.js.map +0 -1
  461. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
  462. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js.map +0 -1
  463. package/dist/_chunks/user-x-DYszNtIg.js.map +0 -1
@@ -0,0 +1,742 @@
1
+ import { jsx as e, jsxs as o, Fragment as O } from "react/jsx-runtime";
2
+ import { useTranslation as I } from "react-i18next";
3
+ import { c as Z, b as ee } from "./patient-sign-in-steps-C2JSqlok.js";
4
+ import { B as k } from "./button-DohK_Ak_.js";
5
+ import { P as N, b as te, c as ae } from "./patient-card-DTh3QTyS.js";
6
+ import { useId as P, useRef as ne, useEffect as se } from "react";
7
+ import { A as b } from "./alert-C4WKViaS.js";
8
+ import { A as _ } from "./appointment-card-DG3m9yN-.js";
9
+ import { B as E } from "./badge-BUk4RjTS.js";
10
+ import { u as B, j as G, d as ie } from "./portal-parts-BdR29P7z.js";
11
+ import { D as M } from "./description-list-BxzDN9o2.js";
12
+ import { E as le } from "./error-summary-DxNhwf_G.js";
13
+ import { F as oe } from "./form-field-CyHfOVKF.js";
14
+ import { S as re } from "./select-uESzXTX6.js";
15
+ import { V as ce } from "./visually-hidden-BHxEUGyT.js";
16
+ import { P as de } from "./privacy-mask-C19dJFMk.js";
17
+ import { u as pe } from "./use-controllable-state-BiY4xTzM.js";
18
+ import { p as me, b as he, a as ue } from "./portal-details-CTEsm705.js";
19
+ import { p as fe } from "./privacy-mask-text-B8YfzB7L.js";
20
+ function Re({
21
+ session: t,
22
+ onSignOut: n,
23
+ timedOut: p = null,
24
+ children: d,
25
+ focusOnMount: a = !1,
26
+ className: s
27
+ }) {
28
+ const { t: c } = I("ui"), r = [
29
+ "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
30
+ s
31
+ ].filter(Boolean).join(" ");
32
+ return p ? /* @__PURE__ */ e(
33
+ "div",
34
+ {
35
+ "data-component": "check-in-shell",
36
+ "data-state": "timed-out",
37
+ className: r,
38
+ children: /* @__PURE__ */ e(
39
+ Z,
40
+ {
41
+ reason: "timed-out",
42
+ idleMinutes: p.idleMinutes,
43
+ actionLabel: c("patientCheckIn.timedOut.restart"),
44
+ onSignIn: p.onRestart,
45
+ focusOnMount: a
46
+ }
47
+ )
48
+ }
49
+ ) : /* @__PURE__ */ o(
50
+ "div",
51
+ {
52
+ "data-component": "check-in-shell",
53
+ "data-state": t ? "signed-in" : "no-session",
54
+ className: r,
55
+ children: [
56
+ t ? /* @__PURE__ */ e(
57
+ ee,
58
+ {
59
+ remainingMs: t.remainingMs,
60
+ totalMs: t.totalMs,
61
+ warnAtMs: t.warnAtMs,
62
+ onExpire: t.onExpire,
63
+ onSignOut: n
64
+ }
65
+ ) : null,
66
+ d
67
+ ]
68
+ }
69
+ );
70
+ }
71
+ function Fe({
72
+ onSignIn: t,
73
+ submitting: n = !1,
74
+ languageSlot: p,
75
+ headingLevel: d = 1,
76
+ focusOnMount: a = !1,
77
+ className: s
78
+ }) {
79
+ const { t: c } = I("ui");
80
+ return /* @__PURE__ */ e(
81
+ N,
82
+ {
83
+ component: "check-in-entry",
84
+ className: s,
85
+ title: c("patientCheckIn.entry.title"),
86
+ description: c("patientCheckIn.entry.body"),
87
+ headerAction: p,
88
+ headingLevel: d,
89
+ focusOnMount: a,
90
+ children: /* @__PURE__ */ e(
91
+ k,
92
+ {
93
+ type: "button",
94
+ intent: "primary",
95
+ className: "ds:min-h-[var(--min-target-size)] ds:w-full",
96
+ loading: n,
97
+ "data-action": "sign-in",
98
+ onClick: () => {
99
+ n || t();
100
+ },
101
+ children: c("patientCheckIn.entry.signIn")
102
+ }
103
+ )
104
+ }
105
+ );
106
+ }
107
+ function K(t) {
108
+ return {
109
+ id: t.id,
110
+ startIso: t.startIso,
111
+ durationMin: t.durationMin,
112
+ state: t.state,
113
+ type: t.type,
114
+ practiceName: t.practiceName,
115
+ operator: t.operator,
116
+ chair: t.chair
117
+ };
118
+ }
119
+ function He({
120
+ appointment: t,
121
+ timeZone: n,
122
+ locale: p,
123
+ due: d,
124
+ checkIn: a,
125
+ paperworkDone: s = !1,
126
+ submitting: c = !1,
127
+ onContinue: r,
128
+ onNotMe: u,
129
+ onDocuments: C,
130
+ onCancel: f,
131
+ privacy: v = !1,
132
+ headingLevel: g = 1,
133
+ focusOnMount: S = !1,
134
+ className: j
135
+ }) {
136
+ const { t: h } = I("ui"), l = B(p), x = P(), w = (a == null ? void 0 : a.available) ?? !0, z = v ? K(t) : t, D = g === 1 ? "h2" : "h3";
137
+ return /* @__PURE__ */ o(
138
+ N,
139
+ {
140
+ component: "check-in-hub",
141
+ className: j,
142
+ title: h("patientCheckIn.hub.title"),
143
+ description: h("patientCheckIn.hub.body"),
144
+ headingLevel: g,
145
+ focusOnMount: S,
146
+ privacy: v,
147
+ children: [
148
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
149
+ /* @__PURE__ */ e("p", { className: "type-label ds:m-0 ds:text-[color:var(--muted-foreground)]", children: G(t.startIso, l, n) }),
150
+ /* @__PURE__ */ e(
151
+ _,
152
+ {
153
+ role: "presentation",
154
+ item: z,
155
+ showPatient: !1,
156
+ wrapText: !0,
157
+ surface: "elevated",
158
+ hideDefaultStatus: !0,
159
+ locale: l,
160
+ timeZone: n,
161
+ privacy: v
162
+ }
163
+ )
164
+ ] }),
165
+ w ? null : /* @__PURE__ */ o(b, { variant: "warning", announce: "off", children: [
166
+ /* @__PURE__ */ e(b.Title, { as: g === 1 ? "h2" : "h3", children: h("patientCheckIn.hub.offTitle") }),
167
+ /* @__PURE__ */ e(b.Description, { children: (a == null ? void 0 : a.reason) ?? h("patientCheckIn.hub.offReason") })
168
+ ] }),
169
+ d.length > 0 ? /* @__PURE__ */ o(
170
+ "section",
171
+ {
172
+ "aria-labelledby": x,
173
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
174
+ children: [
175
+ /* @__PURE__ */ e(D, { id: x, className: "type-title-card ds:m-0", children: h("patientCheckIn.hub.dueTitle") }),
176
+ /* @__PURE__ */ e(
177
+ "ul",
178
+ {
179
+ role: "list",
180
+ className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0",
181
+ children: d.map((m) => /* @__PURE__ */ o(
182
+ "li",
183
+ {
184
+ "data-step-id": m.id,
185
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)] ds:p-[var(--spacing-md)]",
186
+ children: [
187
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
188
+ /* @__PURE__ */ e(
189
+ "span",
190
+ {
191
+ dir: "auto",
192
+ className: "type-title-item ds:min-w-0 ds:break-words",
193
+ children: m.label
194
+ }
195
+ ),
196
+ /* @__PURE__ */ e(
197
+ E,
198
+ {
199
+ variant: m.status === "done" ? "success" : "warning",
200
+ children: m.status === "done" ? h("patientCheckIn.hub.status.done") : h("patientCheckIn.hub.status.open")
201
+ }
202
+ )
203
+ ] }),
204
+ m.status === "open" && m.reason ? /* @__PURE__ */ e("p", { className: "type-meta ds:m-0 ds:text-[color:var(--muted-foreground)]", children: m.reason === "changed-after-signing" ? h("patientCheckIn.hub.reason.changedAfterSigning") : h("patientCheckIn.hub.reason.expired") }) : null
205
+ ]
206
+ },
207
+ m.id
208
+ ))
209
+ }
210
+ )
211
+ ]
212
+ }
213
+ ) : null,
214
+ s ? /* @__PURE__ */ o(b, { variant: "success", announce: "off", children: [
215
+ /* @__PURE__ */ e(b.Title, { as: g === 1 ? "h2" : "h3", children: h("patientCheckIn.hub.allDoneTitle") }),
216
+ /* @__PURE__ */ e(b.Description, { children: h("patientCheckIn.hub.allDoneBody") })
217
+ ] }) : /* @__PURE__ */ e(
218
+ k,
219
+ {
220
+ type: "button",
221
+ intent: "primary",
222
+ className: "ds:min-h-[var(--min-target-size)] ds:w-full",
223
+ disabled: !w,
224
+ loading: c,
225
+ "data-action": "continue",
226
+ onClick: () => {
227
+ c || r();
228
+ },
229
+ children: h("patientCheckIn.hub.continue")
230
+ }
231
+ ),
232
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-sm)]", children: [
233
+ C ? /* @__PURE__ */ e(
234
+ k,
235
+ {
236
+ type: "button",
237
+ intent: "secondary",
238
+ className: "ds:min-h-[var(--min-target-size)]",
239
+ "data-action": "documents",
240
+ onClick: C,
241
+ children: h("patientCheckIn.hub.documents")
242
+ }
243
+ ) : null,
244
+ /* @__PURE__ */ e(
245
+ k,
246
+ {
247
+ type: "button",
248
+ intent: "ghost",
249
+ className: "ds:min-h-[var(--min-target-size)]",
250
+ "data-action": "not-me",
251
+ onClick: u,
252
+ children: h("patientCheckIn.hub.notMe")
253
+ }
254
+ ),
255
+ f ? /* @__PURE__ */ e(
256
+ k,
257
+ {
258
+ type: "button",
259
+ intent: "ghost",
260
+ className: "ds:min-h-[var(--min-target-size)]",
261
+ "data-action": "cancel-appointment",
262
+ onClick: f,
263
+ children: h("patientCheckIn.hub.cancelAppointment")
264
+ }
265
+ ) : null
266
+ ] })
267
+ ]
268
+ }
269
+ );
270
+ }
271
+ function Ve({
272
+ reason: t,
273
+ onPortal: n,
274
+ headingLevel: p = 1,
275
+ focusOnMount: d = !1,
276
+ className: a
277
+ }) {
278
+ const { t: s } = I("ui"), c = t === "no-appointment";
279
+ return /* @__PURE__ */ e(
280
+ N,
281
+ {
282
+ component: "check-in-hub-empty",
283
+ className: a,
284
+ title: s(c ? "patientCheckIn.empty.noAppointment.title" : "patientCheckIn.empty.noLinkedRecord.title"),
285
+ description: s(c ? "patientCheckIn.empty.noAppointment.body" : "patientCheckIn.empty.noLinkedRecord.body"),
286
+ headingLevel: p,
287
+ focusOnMount: d,
288
+ children: n ? /* @__PURE__ */ e(
289
+ k,
290
+ {
291
+ type: "button",
292
+ intent: "secondary",
293
+ className: "ds:min-h-[var(--min-target-size)] ds:self-start",
294
+ "data-action": "portal",
295
+ onClick: n,
296
+ children: s("patientCheckIn.empty.portal")
297
+ }
298
+ ) : null
299
+ }
300
+ );
301
+ }
302
+ const U = {
303
+ firstName: "",
304
+ lastName: "",
305
+ address: "",
306
+ country: "",
307
+ contactEmail: "",
308
+ phone: "",
309
+ marketing: 0,
310
+ source: ""
311
+ };
312
+ function ge(t, n) {
313
+ if (!t) return "";
314
+ try {
315
+ return new Intl.DisplayNames([n], { type: "region" }).of(
316
+ t.toUpperCase()
317
+ ) ?? t;
318
+ } catch {
319
+ return t;
320
+ }
321
+ }
322
+ const $ = [
323
+ "firstName",
324
+ "lastName",
325
+ "address",
326
+ "country",
327
+ "contactEmail",
328
+ "phone"
329
+ ];
330
+ function Oe({
331
+ readOnly: t,
332
+ values: n,
333
+ defaultValues: p,
334
+ onValuesChange: d,
335
+ fieldErrors: a,
336
+ source: s,
337
+ fromRecord: c = !0,
338
+ onSubmit: r,
339
+ submitting: u = !1,
340
+ noMobile: C = !1,
341
+ stepUp: f = null,
342
+ locale: v,
343
+ privacy: g = !1,
344
+ headingLevel: S = 1,
345
+ focusOnMount: j = !1,
346
+ className: h
347
+ }) {
348
+ const { t: l } = I("ui"), x = B(v), w = P(), [z, D] = pe(
349
+ {
350
+ value: n,
351
+ defaultValue: p ?? U,
352
+ onChange: d
353
+ }
354
+ ), m = z ?? U, R = (i) => typeof c == "boolean" ? c : c[i] === !0, F = /* @__PURE__ */ e(E, { variant: "neutral", children: l("patientCheckIn.details.fromRecord") }), Y = c === !1 ? void 0 : F, q = $.some(R) ? Object.fromEntries(
355
+ $.map((i) => [
356
+ i,
357
+ R(i) ? F : void 0
358
+ ])
359
+ ) : void 0, H = P(), V = ne(null), A = [
360
+ ["firstName", l("patientPortal.details.firstName")],
361
+ ["lastName", l("patientPortal.details.lastName")],
362
+ ["address", l("patientPortal.details.address")],
363
+ ["country", l("patientPortal.details.country")],
364
+ ["contactEmail", l("patientPortal.details.contactEmail")],
365
+ ["phone", l("patientPortal.details.phone")]
366
+ ].filter(([i]) => a == null ? void 0 : a[i]).map(([i, T]) => ({
367
+ field: i,
368
+ label: T,
369
+ message: (a == null ? void 0 : a[i]) ?? "",
370
+ targetId: me(H, i)
371
+ }));
372
+ s != null && s.error && A.push({
373
+ field: "source",
374
+ label: s.label ?? l("patientCheckIn.details.sourceLabel"),
375
+ message: s.error,
376
+ targetId: w
377
+ });
378
+ const J = A.map((i) => `${i.field}:${i.message}`).join("|"), L = !g && !C && A.length > 0;
379
+ se(() => {
380
+ var i;
381
+ L && ((i = V.current) == null || i.focus({ preventScroll: !1 }));
382
+ }, [J, L]);
383
+ const y = (i) => g ? fe() : i, Q = l("patientPortal.details.phone"), W = l("patientPortal.details.contactEmail"), X = [
384
+ [l("patientPortal.details.firstName"), y(m.firstName)],
385
+ [l("patientPortal.details.lastName"), y(m.lastName)],
386
+ [l("patientPortal.details.address"), y(m.address)],
387
+ [
388
+ l("patientPortal.details.country"),
389
+ y(ge(m.country, x))
390
+ ],
391
+ [l("patientPortal.details.contactEmail"), y(m.contactEmail)],
392
+ [l("patientPortal.details.phone"), y(m.phone)]
393
+ ];
394
+ return /* @__PURE__ */ o(
395
+ N,
396
+ {
397
+ component: "check-in-personal-data",
398
+ className: h,
399
+ title: l("patientCheckIn.details.title"),
400
+ description: l("patientCheckIn.details.body"),
401
+ headingLevel: S,
402
+ focusOnMount: j,
403
+ privacy: g,
404
+ children: [
405
+ /* @__PURE__ */ e(
406
+ he,
407
+ {
408
+ readOnly: t,
409
+ locale: x,
410
+ recordMark: Y,
411
+ privacy: g
412
+ }
413
+ ),
414
+ C ? /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
415
+ /* @__PURE__ */ e(b, { variant: "warning", announce: "off", children: /* @__PURE__ */ e(b.Description, { children: l("patientCheckIn.details.noMobile") }) }),
416
+ /* @__PURE__ */ e(M, { layout: "responsive", divider: "between", children: X.map(([i, T]) => /* @__PURE__ */ o(M.Row, { children: [
417
+ /* @__PURE__ */ e(M.Term, { children: i }),
418
+ /* @__PURE__ */ e(M.Detail, { children: T ? /* @__PURE__ */ e(
419
+ "bdi",
420
+ {
421
+ dir: i === Q || i === W ? "ltr" : "auto",
422
+ className: "ds:break-words",
423
+ children: T
424
+ }
425
+ ) : /* @__PURE__ */ o(O, { children: [
426
+ /* @__PURE__ */ e("span", { "aria-hidden": "true", children: "–" }),
427
+ /* @__PURE__ */ e(ce, { children: l("patientPortal.details.notGiven") })
428
+ ] }) })
429
+ ] }, i)) })
430
+ ] }) : /* @__PURE__ */ o(
431
+ "form",
432
+ {
433
+ noValidate: !0,
434
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
435
+ onSubmit: (i) => {
436
+ i.preventDefault(), u || r(m);
437
+ },
438
+ children: [
439
+ g ? /* @__PURE__ */ e(de, { block: "details-form" }) : /* @__PURE__ */ o(O, { children: [
440
+ L ? /* @__PURE__ */ e(
441
+ le,
442
+ {
443
+ ref: V,
444
+ headingLevel: S === 1 ? 2 : 3,
445
+ errors: A
446
+ }
447
+ ) : null,
448
+ /* @__PURE__ */ e(
449
+ ue,
450
+ {
451
+ values: m,
452
+ idPrefix: H,
453
+ announceErrors: !1,
454
+ onChange: (i) => D({ ...m, ...i }),
455
+ fieldErrors: a,
456
+ disabled: u,
457
+ fieldAddon: q,
458
+ showMarketing: !1
459
+ }
460
+ ),
461
+ s ? /* @__PURE__ */ e(
462
+ oe,
463
+ {
464
+ label: s.label ?? l("patientCheckIn.details.sourceLabel"),
465
+ error: s.error,
466
+ announceError: !1,
467
+ children: /* @__PURE__ */ e(
468
+ re,
469
+ {
470
+ id: w,
471
+ options: s.options,
472
+ value: m.source,
473
+ onValueChange: (i) => D({ ...m, source: i }),
474
+ placeholder: l("patientCheckIn.details.sourcePlaceholder"),
475
+ tone: s.error ? "error" : "default",
476
+ disabled: u
477
+ }
478
+ )
479
+ }
480
+ ) : null
481
+ ] }),
482
+ /* @__PURE__ */ e(
483
+ k,
484
+ {
485
+ type: "submit",
486
+ intent: "primary",
487
+ className: "ds:min-h-[var(--min-target-size)] ds:w-full",
488
+ loading: u,
489
+ "data-action": "details-continue",
490
+ children: l("patientCheckIn.details.continue")
491
+ }
492
+ )
493
+ ]
494
+ }
495
+ ),
496
+ /* @__PURE__ */ e(
497
+ ie,
498
+ {
499
+ config: f,
500
+ privacy: g,
501
+ defaultSubject: l("patientCheckIn.details.stepUpSubject")
502
+ }
503
+ )
504
+ ]
505
+ }
506
+ );
507
+ }
508
+ function Ue({
509
+ summary: t,
510
+ portal: n,
511
+ focusOnMount: p = !1,
512
+ className: d
513
+ }) {
514
+ const { t: a } = I("ui"), s = P(), c = !!(n && (n.onClick || n.href));
515
+ return /* @__PURE__ */ e(
516
+ te,
517
+ {
518
+ component: "check-in-done",
519
+ className: d,
520
+ icon: void 0,
521
+ title: a("patientCheckIn.done.title"),
522
+ body: a("patientCheckIn.done.body"),
523
+ focusOnMount: p,
524
+ action: c && n ? {
525
+ label: n.label ?? a("patientCheckIn.done.portal"),
526
+ onClick: n.onClick,
527
+ href: n.href
528
+ } : void 0,
529
+ below: t.length > 0 ? /* @__PURE__ */ o(
530
+ "section",
531
+ {
532
+ "aria-labelledby": s,
533
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
534
+ children: [
535
+ /* @__PURE__ */ e("h2", { id: s, className: "type-title-card ds:m-0", children: a("patientCheckIn.done.summaryTitle") }),
536
+ /* @__PURE__ */ e(
537
+ "ul",
538
+ {
539
+ role: "list",
540
+ className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-xs)] ds:p-0",
541
+ children: t.map((r) => /* @__PURE__ */ o(
542
+ "li",
543
+ {
544
+ "data-step-id": r.id,
545
+ className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]",
546
+ children: [
547
+ /* @__PURE__ */ e("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: r.label }),
548
+ /* @__PURE__ */ e(
549
+ E,
550
+ {
551
+ variant: r.outcome === "done" ? "success" : "neutral",
552
+ children: r.outcome === "done" ? a("patientCheckIn.done.outcome.done") : a("patientCheckIn.done.outcome.skipped")
553
+ }
554
+ )
555
+ ]
556
+ },
557
+ r.id
558
+ ))
559
+ }
560
+ )
561
+ ]
562
+ }
563
+ ) : void 0
564
+ }
565
+ );
566
+ }
567
+ function $e({
568
+ appointment: t,
569
+ timeZone: n,
570
+ locale: p,
571
+ onPortal: d,
572
+ privacy: a = !1,
573
+ headingLevel: s = 1,
574
+ focusOnMount: c = !1,
575
+ className: r
576
+ }) {
577
+ const { t: u } = I("ui"), C = B(p), v = {
578
+ ...a ? K(t) : t,
579
+ state: "cancelled"
580
+ };
581
+ return /* @__PURE__ */ o(
582
+ N,
583
+ {
584
+ component: "check-in-appointment-changed",
585
+ className: r,
586
+ title: u("patientCheckIn.changed.title"),
587
+ description: u("patientCheckIn.changed.cancelledBody"),
588
+ headingLevel: s,
589
+ focusOnMount: c,
590
+ privacy: a,
591
+ children: [
592
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
593
+ /* @__PURE__ */ e("p", { className: "type-label ds:m-0 ds:text-[color:var(--muted-foreground)]", children: G(t.startIso, C, n) }),
594
+ /* @__PURE__ */ e(
595
+ _,
596
+ {
597
+ role: "presentation",
598
+ item: v,
599
+ showPatient: !1,
600
+ wrapText: !0,
601
+ surface: "elevated",
602
+ locale: C,
603
+ timeZone: n,
604
+ privacy: a
605
+ }
606
+ )
607
+ ] }),
608
+ d ? /* @__PURE__ */ e(
609
+ k,
610
+ {
611
+ type: "button",
612
+ intent: "secondary",
613
+ className: "ds:min-h-[var(--min-target-size)] ds:self-start",
614
+ "data-action": "portal",
615
+ onClick: d,
616
+ children: u("patientCheckIn.changed.portal")
617
+ }
618
+ ) : null
619
+ ]
620
+ }
621
+ );
622
+ }
623
+ function _e({
624
+ onRetry: t,
625
+ submitting: n = !1,
626
+ headingLevel: p,
627
+ className: d
628
+ }) {
629
+ const { t: a } = I("ui");
630
+ return /* @__PURE__ */ e("div", { "data-component": "check-in-connection-notice", className: d, children: /* @__PURE__ */ o(b, { variant: "warning", announce: "polite", children: [
631
+ /* @__PURE__ */ e(b.Title, { as: p ? `h${p}` : "p", children: a("patientCheckIn.offline.title") }),
632
+ /* @__PURE__ */ e(b.Description, { children: a("patientCheckIn.offline.body") }),
633
+ /* @__PURE__ */ e("div", { className: "ds:mt-[var(--spacing-sm)]", children: /* @__PURE__ */ e(
634
+ k,
635
+ {
636
+ type: "button",
637
+ intent: "secondary",
638
+ className: "ds:min-h-[var(--min-target-size)]",
639
+ loading: n,
640
+ "data-action": "retry",
641
+ onClick: () => {
642
+ n || t();
643
+ },
644
+ children: a("patientSignIn.tryAgain")
645
+ }
646
+ ) })
647
+ ] }) });
648
+ }
649
+ function Ge({
650
+ steps: t,
651
+ onResume: n,
652
+ onStartOver: p,
653
+ submitting: d = !1,
654
+ headingLevel: a = 1,
655
+ focusOnMount: s = !1,
656
+ className: c
657
+ }) {
658
+ const { t: r } = I("ui"), u = P(), C = a === 1 ? "h2" : "h3";
659
+ return /* @__PURE__ */ o(
660
+ N,
661
+ {
662
+ component: "check-in-resume",
663
+ className: c,
664
+ title: r("patientCheckIn.resume.title"),
665
+ description: r("patientCheckIn.resume.body"),
666
+ headingLevel: a,
667
+ focusOnMount: s,
668
+ children: [
669
+ t.length > 0 ? /* @__PURE__ */ o(
670
+ "section",
671
+ {
672
+ "aria-labelledby": u,
673
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
674
+ children: [
675
+ /* @__PURE__ */ e(C, { id: u, className: "type-title-card ds:m-0", children: r("patientCheckIn.resume.stepsTitle") }),
676
+ /* @__PURE__ */ e(
677
+ "ul",
678
+ {
679
+ role: "list",
680
+ className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-xs)] ds:p-0",
681
+ children: t.map((f) => /* @__PURE__ */ o(
682
+ "li",
683
+ {
684
+ "data-step-id": f.id,
685
+ className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]",
686
+ children: [
687
+ /* @__PURE__ */ e("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: f.label }),
688
+ /* @__PURE__ */ e(E, { variant: f.done ? "success" : "neutral", children: f.done ? r("patientCheckIn.resume.stepDone") : r("patientCheckIn.resume.stepTodo") })
689
+ ]
690
+ },
691
+ f.id
692
+ ))
693
+ }
694
+ )
695
+ ]
696
+ }
697
+ ) : null,
698
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
699
+ /* @__PURE__ */ e(
700
+ k,
701
+ {
702
+ type: "button",
703
+ intent: "primary",
704
+ className: "ds:min-h-[var(--min-target-size)] ds:w-full",
705
+ loading: d,
706
+ "data-action": "resume",
707
+ onClick: () => {
708
+ d || n();
709
+ },
710
+ children: r("patientCheckIn.resume.resume")
711
+ }
712
+ ),
713
+ /* @__PURE__ */ e(
714
+ k,
715
+ {
716
+ type: "button",
717
+ intent: "ghost",
718
+ className: "ds:min-h-[var(--min-target-size)] ds:w-full",
719
+ disabled: d,
720
+ "data-action": "start-over",
721
+ onClick: p,
722
+ children: r("patientCheckIn.resume.startOver")
723
+ }
724
+ ),
725
+ /* @__PURE__ */ e(ae, { children: r("patientCheckIn.resume.startOverNote") })
726
+ ] })
727
+ ]
728
+ }
729
+ );
730
+ }
731
+ export {
732
+ $e as C,
733
+ _e as a,
734
+ Ue as b,
735
+ Fe as c,
736
+ He as d,
737
+ Ve as e,
738
+ Oe as f,
739
+ Ge as g,
740
+ Re as h
741
+ };
742
+ //# sourceMappingURL=patient-check-in-resume-xhqjC6gf.js.map