@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,60 @@
1
+ import type { ReactNode } from 'react';
2
+ /** The session as the host counts it. The shell runs no timer. */
3
+ export interface CheckInShellSession {
4
+ /** Milliseconds left in the session, counted by the host. */
5
+ remainingMs: number;
6
+ /** Full session length in ms. The host's value; when omitted, SessionCountdown falls back to 15 minutes. */
7
+ totalMs?: number;
8
+ /** Remaining ms at or below which the banner turns to its warning tone. */
9
+ warnAtMs?: number;
10
+ /** Called once when `remainingMs` reaches 0. The host ends the session. */
11
+ onExpire?: () => void;
12
+ }
13
+ /** The session ended by the host's idle timeout (D142). */
14
+ export interface CheckInShellTimedOut {
15
+ /** The idle length the host used, in minutes. */
16
+ idleMinutes: number;
17
+ /** Called by "Restart". The host starts check-in again. */
18
+ onRestart: () => void;
19
+ }
20
+ interface CheckInShellBaseProps {
21
+ /**
22
+ * Set when the host's idle timeout ended the session. The shell then
23
+ * renders only the neutral end screen (`PatientSessionEnded`, reason
24
+ * `timed-out`, with a Restart button) and unmounts `children`, so no name
25
+ * or date stays on the page.
26
+ */
27
+ timedOut?: CheckInShellTimedOut | null;
28
+ /** The active screen. */
29
+ children?: ReactNode;
30
+ /** Move focus to the end screen's heading when it shows. Default false. */
31
+ focusOnMount?: boolean;
32
+ /** Extra classes for the root. */
33
+ className?: string;
34
+ }
35
+ /**
36
+ * The session and Sign out go together: Sign out shows only with the banner,
37
+ * so `onSignOut` is required with `session` and optional without it.
38
+ */
39
+ export type CheckInShellProps = CheckInShellBaseProps & ({
40
+ /**
41
+ * The signed-in session. Omit it before sign-in: no banner and no
42
+ * Sign out show. There is no built-in session length.
43
+ */
44
+ session: CheckInShellSession;
45
+ /** Called by "Sign out", which stays visible in every tone of the banner. */
46
+ onSignOut: () => void;
47
+ } | {
48
+ session?: undefined;
49
+ /** Not used without a `session`: there is no Sign out to show. */
50
+ onSignOut?: () => void;
51
+ });
52
+ /**
53
+ * Thin placement for check-in (HTP-6920 AC, D142): the shared session banner
54
+ * and a visible Sign out above the active screen. No progress bar, no route,
55
+ * no timer and no session of its own: the host's app counts the time, signs
56
+ * out and picks the screen.
57
+ */
58
+ export declare function CheckInShell({ session, onSignOut, timedOut, children, focusOnMount, className, }: CheckInShellProps): import("react/jsx-runtime").JSX.Element;
59
+ export {};
60
+ //# sourceMappingURL=patient-check-in-shell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-check-in-shell.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,kEAAkE;AAClE,MAAM,WAAW,mBAAmB;IAClC,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,4GAA4G;IAC5G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,2DAA2D;AAC3D,MAAM,WAAW,oBAAoB;IACnC,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,UAAU,qBAAqB;IAC7B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACvC,yBAAyB;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,GACnD,CACI;IACE;;;OAGG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B,6EAA6E;IAC7E,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,GACD;IACE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CACJ,CAAC;AAEJ;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,SAAS,EACT,QAAe,EACf,QAAQ,EACR,YAAoB,EACpB,SAAS,GACV,EAAE,iBAAiB,2CA6CnB"}
@@ -0,0 +1,92 @@
1
+ import type { PortalDetailsFieldErrors, PortalDetailsValues } from '../patient-portal';
2
+ /** The heading level a check-in screen renders its title at. */
3
+ export type CheckInHeadingLevel = 1 | 2;
4
+ /** Why a step the patient had done is open again (CI-28, HTP-6952). */
5
+ export type CheckInDueReason = 'changed-after-signing' | 'expired';
6
+ /** One thing that is due before the visit (HTP-6920 AC, CHECKIN-DS-01:108). */
7
+ export interface CheckInDueItem {
8
+ /** Stable id of the step. Emitted as `data-step-id` on the row. */
9
+ id: string;
10
+ /**
11
+ * The label as the host writes it (for example "Privacy consent"). It
12
+ * shows as given in privacy mode too: keep it free of personal or clinical
13
+ * detail.
14
+ */
15
+ label: string;
16
+ /** Whether the patient has done it. The host decides; nothing is computed. */
17
+ status: 'open' | 'done';
18
+ /**
19
+ * Why an open step is open again, for example a document edited after it
20
+ * was signed. Read only while `status` is `open`.
21
+ */
22
+ reason?: CheckInDueReason;
23
+ }
24
+ /**
25
+ * Whether online check-in is on for this appointment (C-15, D141). The
26
+ * host decides. When it is off the hub still shows the appointment and what
27
+ * is due, with Continue disabled.
28
+ */
29
+ export interface CheckInAvailability {
30
+ /** False turns Continue off. */
31
+ available: boolean;
32
+ /** Host text that says why. Default: a neutral sentence. */
33
+ reason?: string;
34
+ }
35
+ /** One step of the check-in, for the resume screen (CHECKIN-17, HTP-6958). */
36
+ export interface CheckInStepRef {
37
+ /** Stable id of the step. */
38
+ id: string;
39
+ /** The label as the host writes it. */
40
+ label: string;
41
+ /** Whether the patient has done it. */
42
+ done: boolean;
43
+ }
44
+ /** One line of the end screen's list of steps (HTP-6948). */
45
+ export interface CheckInSummaryItem {
46
+ /** Stable id of the step. */
47
+ id: string;
48
+ /** The label as the host writes it. */
49
+ label: string;
50
+ /** `done`, or `skipped` when the practice needs nothing for this step. */
51
+ outcome: 'done' | 'skipped';
52
+ }
53
+ /** One option of the Fonte (how the patient heard of the practice) select. */
54
+ export interface CheckInSourceOption {
55
+ /** The value sent back in `values.source`. */
56
+ value: string;
57
+ /** The label as the host writes it. */
58
+ label: string;
59
+ }
60
+ /**
61
+ * The Fonte field of the personal data step (C-14, CHECKIN-08:79). The field
62
+ * shows only when the host passes this. The host decides whether it is
63
+ * required and answers a missing value through `error`.
64
+ */
65
+ export interface CheckInSource {
66
+ /** Replaces the label "Source (Fonte)". */
67
+ label?: string;
68
+ /** The options, from the platform's `doctor_source`. */
69
+ options: CheckInSourceOption[];
70
+ /** Host error text for the field. */
71
+ error?: string;
72
+ }
73
+ /**
74
+ * What the personal data step edits: the portal's editable fields (one form
75
+ * module, R5) and the Fonte choice. `source` is an empty string until chosen.
76
+ */
77
+ export interface CheckInPersonalDataValues extends PortalDetailsValues {
78
+ /** The chosen Fonte option's value, or `''`. */
79
+ source: string;
80
+ }
81
+ /** Host error texts for the personal data step, one per field. */
82
+ export type CheckInPersonalDataFieldErrors = PortalDetailsFieldErrors;
83
+ /** The one portal link of the end screen. Holds no patient data. */
84
+ export interface CheckInPortalLink {
85
+ /** Replaces the label "Go to the portal". */
86
+ label?: string;
87
+ /** Called when pressed. With `href` as well it runs first. */
88
+ onClick?: () => void;
89
+ /** Makes the button a link. Only http(s), mailto, tel and same-site paths work. */
90
+ href?: string;
91
+ }
92
+ //# sourceMappingURL=patient-check-in-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-check-in-types.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-types.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,gEAAgE;AAChE,MAAM,MAAM,mBAAmB,GAAG,CAAC,GAAG,CAAC,CAAC;AAExC,uEAAuE;AACvE,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,GAAG,SAAS,CAAC;AAEnE,+EAA+E;AAC/E,MAAM,WAAW,cAAc;IAC7B,mEAAmE;IACnE,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,gCAAgC;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,8EAA8E;AAC9E,MAAM,WAAW,cAAc;IAC7B,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,IAAI,EAAE,OAAO,CAAC;CACf;AAED,6DAA6D;AAC7D,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED,8EAA8E;AAC9E,MAAM,WAAW,mBAAmB;IAClC,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,yBAA0B,SAAQ,mBAAmB;IACpE,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,kEAAkE;AAClE,MAAM,MAAM,8BAA8B,GAAG,wBAAwB,CAAC;AAEtE,oEAAoE;AACpE,MAAM,WAAW,iBAAiB;IAChC,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mFAAmF;IACnF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,12 @@
1
+ export { PortalShell } from './portal-shell';
2
+ export type { PortalShellProps } from './portal-shell';
3
+ export { PortalHome, PortalPracticeContact } from './portal-home';
4
+ export type { PortalHomeProps, PortalPracticeContactProps, } from './portal-home';
5
+ export { PortalAppointments } from './portal-appointments';
6
+ export type { PortalAppointmentsProps } from './portal-appointments';
7
+ export { PortalDocuments } from './portal-documents';
8
+ export type { PortalDocumentsProps } from './portal-documents';
9
+ export { PortalDetails, PortalDetailsFields, PortalDetailsReadOnlyList, } from './portal-details';
10
+ export type { PortalDetailsProps, PortalDetailsFieldsProps, PortalDetailsFieldAddon, PortalDetailsReadOnlyListProps, } from './portal-details';
11
+ export type { StepUpConfig, PortalHeadingLevel, PortalListStatus, PortalNavItem, PortalPractice, PortalAppointment, PortalAppointmentStatus, PortalSharedDocument, PortalOpenDocument, PortalDetailsValues, PortalDetailsFieldErrors, PortalDetailsReadOnly, } from './portal-types';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAClE,YAAY,EACV,eAAe,EACf,0BAA0B,GAC3B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { P as o, a as l, b as s, c as r, d as e } from "../../_chunks/portal-documents-D8skew0h.js";
2
+ import { P as i, a as c, b as m } from "../../_chunks/portal-details-CTEsm705.js";
3
+ export {
4
+ o as PortalAppointments,
5
+ i as PortalDetails,
6
+ c as PortalDetailsFields,
7
+ m as PortalDetailsReadOnlyList,
8
+ l as PortalDocuments,
9
+ s as PortalHome,
10
+ r as PortalPracticeContact,
11
+ e as PortalShell
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,70 @@
1
+ import type { PortalAppointment, PortalHeadingLevel, PortalListStatus, StepUpConfig } from './portal-types';
2
+ export interface PortalAppointmentsProps {
3
+ /**
4
+ * Every appointment to list, in the host's order. The screen groups them
5
+ * by `status`: upcoming, cancelled and past (the host trims past to the
6
+ * last 12 months).
7
+ */
8
+ appointments?: PortalAppointment[];
9
+ /** The state of the read. Default `ready`. */
10
+ status?: PortalListStatus;
11
+ /** Called by "Try again" in the error state. The button shows only when given. */
12
+ onRetry?: () => void;
13
+ /**
14
+ * The id of the appointment whose cancel is being confirmed, or null.
15
+ * Controlled; pair with `onConfirmingChange`. Dialog open state follows
16
+ * it, and the confirm step hides while `stepUp` is open.
17
+ */
18
+ confirmingId?: string | null;
19
+ /** Initial value of `confirmingId` when uncontrolled. Default null. */
20
+ defaultConfirmingId?: string | null;
21
+ /**
22
+ * Called with the appointment id when "Cancel appointment" is pressed
23
+ * (nothing is sent: it only opens the confirm step), and with null when
24
+ * the person keeps the appointment or closes the confirm step.
25
+ */
26
+ onConfirmingChange?: (appointmentId: string | null) => void;
27
+ /**
28
+ * Called with the appointment id by "Yes, cancel it" (PORTAL-03). The host
29
+ * decides whether an SMS check comes first (it sets `stepUp`) or cancels
30
+ * at once, and updates the data afterwards. When the visit comes back as
31
+ * `cancelled` the screen says so politely and moves focus to its row.
32
+ */
33
+ onCancelAppointment: (appointmentId: string) => void;
34
+ /**
35
+ * The SMS check before the cancel goes through (D95). The dialog is open
36
+ * while this is not null. The host binds the step and decides the code:
37
+ * the screen compares nothing. Without a `subject` the dialog says which
38
+ * appointment it is for.
39
+ *
40
+ * Give `onCancel` and let it set `stepUp` back to `null`: the dialog is
41
+ * forced open, so without it Escape and Cancel cannot close it (WCAG 2.1.2).
42
+ */
43
+ stepUp?: StepUpConfig | null;
44
+ /**
45
+ * BCP 47 locale for the dates, for example `"it-IT"`. Default: the UI
46
+ * language. Pass it together with each practice's `timeZone`.
47
+ */
48
+ locale?: string;
49
+ /** Heading level of the title. Default 1; use 2 inside a page with an h1. */
50
+ headingLevel?: PortalHeadingLevel;
51
+ /** Move focus to the heading when the screen shows. Default false. */
52
+ focusOnMount?: boolean;
53
+ /**
54
+ * Privacy mode: each card masks what is personal and keeps time, place and
55
+ * status. The clinician's name stays (it is the card's title, PHASE4 s7
56
+ * "operator stays"); the care name goes.
57
+ */
58
+ privacy?: boolean;
59
+ /** Extra classes for the root. */
60
+ className?: string;
61
+ }
62
+ /**
63
+ * The portal's appointments (HTP-6904 QA, HTP-6916, HTP-6950): upcoming,
64
+ * cancelled (with "Book a new appointment" when the practice gave a booking
65
+ * link) and past, each card naming its practice. Cancel opens a confirm
66
+ * step; the confirm calls the host. An appointment inside the practice's
67
+ * cut-off shows "call the practice" and no Cancel and no Move (D92, D141).
68
+ */
69
+ export declare function PortalAppointments({ appointments, status, onRetry, confirmingId, defaultConfirmingId, onConfirmingChange, onCancelAppointment, stepUp, locale, headingLevel, focusOnMount, privacy, className, }: PortalAppointmentsProps): import("react/jsx-runtime").JSX.Element;
70
+ //# sourceMappingURL=portal-appointments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-appointments.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-portal/portal-appointments.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACb,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,uEAAuE;IACvE,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5D;;;;;OAKG;IACH,mBAAmB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,YAAiB,EACjB,MAAgB,EAChB,OAAO,EACP,YAAY,EACZ,mBAA0B,EAC1B,kBAAkB,EAClB,mBAAmB,EACnB,MAAa,EACb,MAAM,EACN,YAAgB,EAChB,YAAoB,EACpB,OAAe,EACf,SAAS,GACV,EAAE,uBAAuB,2CAmWzB"}
@@ -0,0 +1,148 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { PortalDetailsFieldErrors, PortalDetailsReadOnly, PortalDetailsValues, PortalHeadingLevel, PortalListStatus, StepUpConfig } from './portal-types';
3
+ /** The id of one control of the form, for an `ErrorSummary` link. */
4
+ export declare const portalDetailsFieldId: (prefix: string, key: keyof PortalDetailsValues) => string;
5
+ /** A node to place beside a field's label, for each field. */
6
+ export type PortalDetailsFieldAddon = Partial<Record<keyof PortalDetailsValues, ReactNode>>;
7
+ export interface PortalDetailsFieldsProps {
8
+ /** The values on screen. Controlled: the form keeps none of its own. */
9
+ values: PortalDetailsValues;
10
+ /** Called with the whole next set of values on every change. */
11
+ onChange: (next: PortalDetailsValues) => void;
12
+ /** Host error texts, one per field. The server decides; nothing is checked here. */
13
+ fieldErrors?: PortalDetailsFieldErrors;
14
+ /** Disables every field, for example while saving. */
15
+ disabled?: boolean;
16
+ /**
17
+ * Prefix of the control ids (`{idPrefix}-firstName` and so on), so an
18
+ * `ErrorSummary` can link to a field. Default: a generated one.
19
+ */
20
+ idPrefix?: string;
21
+ /**
22
+ * Whether each field reads its own error out as it appears. Default true.
23
+ * Pass false while an `ErrorSummary` lists them.
24
+ */
25
+ announceErrors?: boolean;
26
+ /**
27
+ * A node beside a field's label, for example a "From your record" tag in
28
+ * check-in. Absent fields show nothing.
29
+ */
30
+ fieldAddon?: PortalDetailsFieldAddon;
31
+ /**
32
+ * Whether the marketing consent box shows. Default true. Check-in passes
33
+ * false: no source asks for it there.
34
+ */
35
+ showMarketing?: boolean;
36
+ /** Extra classes for the root. */
37
+ className?: string;
38
+ }
39
+ /**
40
+ * The editable personal fields: first and last name, address, country,
41
+ * contact email (not the login email), other phone and marketing consent.
42
+ * One field renderer for the portal's My details and check-in's personal
43
+ * data step (CHECKIN-08, D79). It is controlled and holds no flow logic.
44
+ *
45
+ * It has no `privacy` prop: the values sit in the inputs, so a host in
46
+ * privacy mode must not render it. `PortalDetails` withholds it and shows a
47
+ * `PrivacyHiddenLine` instead. A host error that repeats a typed value is
48
+ * shown to the person, so keep such text out of `fieldErrors` too.
49
+ */
50
+ export declare function PortalDetailsFields({ values, onChange, fieldErrors, disabled, idPrefix, announceErrors, fieldAddon, showMarketing, className, }: PortalDetailsFieldsProps): import("react/jsx-runtime").JSX.Element;
51
+ export interface PortalDetailsReadOnlyListProps {
52
+ /** The facts the patient cannot change here. */
53
+ readOnly: PortalDetailsReadOnly;
54
+ /**
55
+ * BCP 47 locale for the birth date, for example `"it-IT"`. Default: the UI
56
+ * language.
57
+ */
58
+ locale?: string;
59
+ /** A node shown after each value, for example "From your record" in check-in. */
60
+ recordMark?: ReactNode;
61
+ /** Privacy mode: every value is masked. */
62
+ privacy?: boolean;
63
+ /** Extra classes for the root. */
64
+ className?: string;
65
+ }
66
+ /**
67
+ * The read-only rows: date of birth, codice fiscale and, when the host gives
68
+ * it, the masked mobile. They link records, so only the practice changes
69
+ * them (PORTAL-05). Shared with check-in (R5).
70
+ */
71
+ export declare function PortalDetailsReadOnlyList({ readOnly, locale, recordMark, privacy, className, }: PortalDetailsReadOnlyListProps): import("react/jsx-runtime").JSX.Element;
72
+ export interface PortalDetailsProps {
73
+ /** The details on record: what the view shows and what Discard returns to. */
74
+ values: PortalDetailsValues;
75
+ /** The facts shown read-only above the fields. */
76
+ readOnly: PortalDetailsReadOnly;
77
+ /**
78
+ * The edited copy, for controlled use. Pair with `onDraftChange`. Discarding
79
+ * or the session ending drops it: the screen keeps it nowhere else.
80
+ */
81
+ draft?: PortalDetailsValues;
82
+ /** Initial draft when uncontrolled. Default: `values`. */
83
+ defaultDraft?: PortalDetailsValues;
84
+ /** Called with the whole next draft on every change, and with `values` on Edit and Discard. */
85
+ onDraftChange?: (draft: PortalDetailsValues) => void;
86
+ /** Whether the form shows instead of the view. Controlled; pair with `onEditingChange`. */
87
+ editing?: boolean;
88
+ /** Initial `editing` when uncontrolled. Default false. */
89
+ defaultEditing?: boolean;
90
+ /**
91
+ * Called with true by Edit and with false by Discard. When a save goes
92
+ * through, the host sets `editing` to false itself: the screen never
93
+ * leaves the form on its own.
94
+ */
95
+ onEditingChange?: (editing: boolean) => void;
96
+ /** Host error texts, one per field. The server decides; nothing is checked here. */
97
+ fieldErrors?: PortalDetailsFieldErrors;
98
+ /**
99
+ * The save in flight or its outcome, reported by the host. `saving` shows a
100
+ * spinner on Save and disables the fields; `saved` shows "Saved." A save
101
+ * the server refuses comes back as `fieldErrors`. A failed-save state and
102
+ * its wording are to confirm and are not built.
103
+ */
104
+ saveState?: 'idle' | 'saving' | 'saved';
105
+ /**
106
+ * Called with the draft by Save. Never blocked by a rule of the kit: the
107
+ * host checks it, may ask for an SMS check first (it sets `stepUp`), and
108
+ * answers through `fieldErrors` and `saveState`.
109
+ */
110
+ onSave: (values: PortalDetailsValues) => void;
111
+ /** The state of the read. Default `ready`. */
112
+ status?: PortalListStatus;
113
+ /** Called by "Try again" in the error state. The button shows only when given. */
114
+ onRetry?: () => void;
115
+ /**
116
+ * The SMS check before a save goes through (D95). The dialog is open while
117
+ * this is not null. The host binds the step and decides the code.
118
+ *
119
+ * Give `onCancel` and let it set `stepUp` back to `null`: the dialog is
120
+ * forced open, so without it Escape and Cancel cannot close it (WCAG 2.1.2).
121
+ */
122
+ stepUp?: StepUpConfig | null;
123
+ /**
124
+ * BCP 47 locale for the birth date and the country name, for example
125
+ * `"it-IT"`. Default: the UI language.
126
+ */
127
+ locale?: string;
128
+ /** Heading level of the title. Default 1; use 2 inside a page with an h1. */
129
+ headingLevel?: PortalHeadingLevel;
130
+ /** Move focus to the heading when the screen shows. Default false. */
131
+ focusOnMount?: boolean;
132
+ /**
133
+ * Privacy mode: every personal value is masked, and the form is withheld
134
+ * (there is nothing to edit while the values are hidden). Marketing
135
+ * consent stays.
136
+ */
137
+ privacy?: boolean;
138
+ /** Extra classes for the root. */
139
+ className?: string;
140
+ }
141
+ /**
142
+ * The portal's My details (HTP-6923, PORTAL-05): the codice fiscale, date of
143
+ * birth and masked mobile read-only, and the name, contact, address and
144
+ * marketing consent to edit. Edit, Save and Discard are the person's; the
145
+ * host saves. No custom fields (no data shape, held).
146
+ */
147
+ export declare function PortalDetails({ values, readOnly, draft, defaultDraft, onDraftChange, editing, defaultEditing, onEditingChange, fieldErrors, saveState, onSave, status, onRetry, stepUp, locale, headingLevel, focusOnMount, privacy, className, }: PortalDetailsProps): import("react/jsx-runtime").JSX.Element;
148
+ //# sourceMappingURL=portal-details.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-details.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-portal/portal-details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAyBjE,OAAO,KAAK,EACV,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACb,MAAM,gBAAgB,CAAC;AAMxB,qEAAqE;AACrE,eAAO,MAAM,oBAAoB,GAC/B,QAAQ,MAAM,EACd,KAAK,MAAM,mBAAmB,KAC7B,MAA4B,CAAC;AAEhC,8DAA8D;AAC9D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,MAAM,CAAC,MAAM,mBAAmB,EAAE,SAAS,CAAC,CAC7C,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,wEAAwE;IACxE,MAAM,EAAE,mBAAmB,CAAC;IAC5B,gEAAgE;IAChE,QAAQ,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC9C,oFAAoF;IACpF,WAAW,CAAC,EAAE,wBAAwB,CAAC;IACvC,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,QAAQ,EACR,WAAW,EACX,QAAgB,EAChB,QAAQ,EACR,cAAqB,EACrB,UAAU,EACV,aAAoB,EACpB,SAAS,GACV,EAAE,wBAAwB,2CAkJ1B;AAED,MAAM,WAAW,8BAA8B;IAC7C,gDAAgD;IAChD,QAAQ,EAAE,qBAAqB,CAAC;IAChC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,MAAM,EACN,UAAU,EACV,OAAe,EACf,SAAS,GACV,EAAE,8BAA8B,2CAiDhC;AAqBD,MAAM,WAAW,kBAAkB;IACjC,8EAA8E;IAC9E,MAAM,EAAE,mBAAmB,CAAC;IAC5B,kDAAkD;IAClD,QAAQ,EAAE,qBAAqB,CAAC;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,0DAA0D;IAC1D,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,+FAA+F;IAC/F,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrD,2FAA2F;IAC3F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,oFAAoF;IACpF,WAAW,CAAC,EAAE,wBAAwB,CAAC;IACvC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC;;;;OAIG;IACH,MAAM,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC9C,8CAA8C;IAC9C,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,aAAa,EACb,OAAO,EACP,cAAsB,EACtB,eAAe,EACf,WAAW,EACX,SAAkB,EAClB,MAAM,EACN,MAAgB,EAChB,OAAO,EACP,MAAa,EACb,MAAM,EACN,YAAgB,EAChB,YAAoB,EACpB,OAAe,EACf,SAAS,GACV,EAAE,kBAAkB,2CA0QpB"}
@@ -0,0 +1,74 @@
1
+ import type { PortalHeadingLevel, PortalListStatus, PortalOpenDocument, PortalSharedDocument, StepUpConfig } from './portal-types';
2
+ export interface PortalDocumentsProps {
3
+ /** The files the practices shared with the patient, in the host's order. */
4
+ documents?: PortalSharedDocument[];
5
+ /** The state of the read. Default `ready`. */
6
+ status?: PortalListStatus;
7
+ /** Called by "Try again" in the error state. The button shows only when given. */
8
+ onRetry?: () => void;
9
+ /**
10
+ * Called with the document id by "Open". The host decides whether an SMS
11
+ * check comes first (it sets `stepUp`) or opens at once (it sets
12
+ * `openDocument`). The screen never opens a new tab (D86).
13
+ */
14
+ onOpenDocument: (documentId: string) => void;
15
+ /**
16
+ * Called with the document id by "Download". The "Download" button shows
17
+ * only when this is given. Whether it sits in the rows or only in the
18
+ * viewer is to confirm (PORTAL-DS-01:118): it shows in both.
19
+ */
20
+ onDownloadDocument?: (documentId: string) => void;
21
+ /**
22
+ * The file on screen, or null. While set, the file shows inside the page
23
+ * in the kit `DocumentPreview` and the list is hidden. The host owns the
24
+ * address and its auth.
25
+ */
26
+ openDocument?: PortalOpenDocument | null;
27
+ /**
28
+ * Called by the viewer's Close button, which shows only when this is given.
29
+ * The host sets `openDocument` to null. The screen moves focus itself: to
30
+ * the viewer's heading when a file opens, and back to that file's Open
31
+ * button when it closes.
32
+ */
33
+ onCloseDocument?: () => void;
34
+ /**
35
+ * The SMS check before a file opens or downloads (D95, D102). The dialog
36
+ * is open while this is not null. The host binds the step, so it also
37
+ * gives the `subject` (which file, open or download). Under `privacy` the
38
+ * subject must not contain the file name or anything from it: the dialog
39
+ * shows the subject as given. The screen compares nothing.
40
+ *
41
+ * Give `onCancel` and let it set `stepUp` back to `null`: the dialog is
42
+ * forced open, so without it Escape and Cancel cannot close it (WCAG 2.1.2).
43
+ */
44
+ stepUp?: StepUpConfig | null;
45
+ /**
46
+ * BCP 47 locale for the dates, for example `"it-IT"`. Default: the UI
47
+ * language.
48
+ */
49
+ locale?: string;
50
+ /**
51
+ * IANA time zone the "shared on" dates read in, for example
52
+ * `"Europe/Rome"`. Default: the browser's.
53
+ */
54
+ timeZone?: string;
55
+ /** Heading level of the title. Default 1; use 2 inside a page with an h1. */
56
+ headingLevel?: PortalHeadingLevel;
57
+ /** Move focus to the heading when the screen shows. Default false. */
58
+ focusOnMount?: boolean;
59
+ /**
60
+ * Privacy mode: file names are masked (and drop out of accessible names),
61
+ * and the open file's body is withheld by `DocumentPreview`. The practice,
62
+ * the date and the actions stay.
63
+ */
64
+ privacy?: boolean;
65
+ /** Extra classes for the root. */
66
+ className?: string;
67
+ }
68
+ /**
69
+ * The "Shared with you" documents (HTP-6904 QA test 2, HTP-6919): name,
70
+ * practice and date, with Open and, when the host gives a handler, Download.
71
+ * An opened file shows inside the page. There are no uploads.
72
+ */
73
+ export declare function PortalDocuments({ documents, status, onRetry, onOpenDocument, onDownloadDocument, openDocument, onCloseDocument, stepUp, locale, timeZone, headingLevel, focusOnMount, privacy, className, }: PortalDocumentsProps): import("react/jsx-runtime").JSX.Element;
74
+ //# sourceMappingURL=portal-documents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-documents.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-portal/portal-documents.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACb,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,oBAAoB;IACnC,4EAA4E;IAC5E,SAAS,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACnC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD;;;;OAIG;IACH,YAAY,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACzC;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAc,EACd,MAAgB,EAChB,OAAO,EACP,cAAc,EACd,kBAAkB,EAClB,YAAmB,EACnB,eAAe,EACf,MAAa,EACb,MAAM,EACN,QAAQ,EACR,YAAgB,EAChB,YAAoB,EACpB,OAAe,EACf,SAAS,GACV,EAAE,oBAAoB,2CA0MtB"}
@@ -0,0 +1,14 @@
1
+ /** The locale to format with: the `locale` prop, else the UI language. */
2
+ export declare function usePortalLocale(locale?: string): string;
3
+ /** "Thursday 12 November 2026", on the given clock. */
4
+ export declare function formatPortalDay(iso: string, locale: string, timeZone?: string): string;
5
+ /** "12 November 2026", on the given clock. */
6
+ export declare function formatPortalDate(iso: string, locale: string, timeZone?: string): string;
7
+ /** A date with no time (`YYYY-MM-DD`), read as that day in any zone. */
8
+ export declare function formatPortalCalendarDate(dateIso: string, locale: string): string;
9
+ /**
10
+ * A `tel:` address from a phone number as typed: digits and a leading plus
11
+ * only, so nothing else can ride in the link. Null when no digit is left.
12
+ */
13
+ export declare function telHref(phone: string | undefined): string | null;
14
+ //# sourceMappingURL=portal-format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-format.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-portal/portal-format.ts"],"names":[],"mappings":"AASA,0EAA0E;AAC1E,wBAAgB,eAAe,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAGvD;AAuBD,uDAAuD;AACvD,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,GAChB,MAAM,CAOR;AAED,8CAA8C;AAC9C,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,GAChB,MAAM,CAOR;AAED,wEAAwE;AACxE,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GACb,MAAM,CAKR;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAIhE"}
@@ -0,0 +1,71 @@
1
+ import type { PortalAppointment, PortalHeadingLevel, PortalListStatus, PortalPractice } from './portal-types';
2
+ export interface PortalPracticeContactProps {
3
+ /**
4
+ * The practices to offer a contact for, in the host's order. One block
5
+ * each. Empty: nothing renders.
6
+ */
7
+ practices: PortalPractice[];
8
+ /**
9
+ * Heading level of "Questions for the practice?". Default 2 (under the
10
+ * screen's own h1); use 3 under an h2.
11
+ */
12
+ headingLevel?: 2 | 3;
13
+ /** Extra classes for the root. */
14
+ className?: string;
15
+ }
16
+ /**
17
+ * The practice contact (HTP-6904 AC, HTP-6936 AC, D141): one WhatsApp
18
+ * click-to-chat button per practice, the kit `WhatsAppButton`. A practice
19
+ * with no WhatsApp number gets its phone as a `tel:` link (a proposal, to
20
+ * confirm); with neither, nothing shows. There is no messages
21
+ * area (D108): the chat happens in WhatsApp.
22
+ */
23
+ export declare function PortalPracticeContact({ practices, headingLevel, className, }: PortalPracticeContactProps): import("react/jsx-runtime").JSX.Element | null;
24
+ export interface PortalHomeProps {
25
+ /**
26
+ * The patient's appointments, in the host's order (the earliest first).
27
+ * Home shows every one that is not `past`. Nothing is pre-selected.
28
+ * A cancelled one shows its state and no Check in.
29
+ */
30
+ appointments?: PortalAppointment[];
31
+ /** The practices for the contact block. */
32
+ practices?: PortalPractice[];
33
+ /**
34
+ * The patient's first name for the greeting. Absent, or under `privacy`,
35
+ * the greeting has no name.
36
+ */
37
+ patientName?: string;
38
+ /** The state of the read. Default `ready`. */
39
+ status?: PortalListStatus;
40
+ /** Called by "Try again" in the error state. The button shows only when given. */
41
+ onRetry?: () => void;
42
+ /**
43
+ * Called with the appointment id by "Check in". The button shows only when
44
+ * given, and only on an upcoming appointment with `checkInDue`.
45
+ */
46
+ onCheckIn?: (appointmentId: string) => void;
47
+ /**
48
+ * BCP 47 locale for the dates, for example `"it-IT"`. Default: the UI
49
+ * language. Pass it together with each practice's `timeZone`.
50
+ */
51
+ locale?: string;
52
+ /** Heading level of the title. Default 1; use 2 inside a page with an h1. */
53
+ headingLevel?: PortalHeadingLevel;
54
+ /** Move focus to the heading when the screen shows. Default false. */
55
+ focusOnMount?: boolean;
56
+ /**
57
+ * Privacy mode: the greeting drops the name, and each card masks what is
58
+ * personal and keeps time, place and status. The clinician's name stays
59
+ * (it is the card's title, PHASE4 s7 "operator stays"); the care name goes.
60
+ */
61
+ privacy?: boolean;
62
+ /** Extra classes for the root. */
63
+ className?: string;
64
+ }
65
+ /**
66
+ * The portal's first screen (HTP-6911, HTP-6904 AC): a greeting, the upcoming
67
+ * appointments with "Check in" where paperwork is due, and the practice
68
+ * contact. The last past appointment is held, not built (PORTAL-06).
69
+ */
70
+ export declare function PortalHome({ appointments, practices, patientName, status, onRetry, onCheckIn, locale, headingLevel, focusOnMount, privacy, className, }: PortalHomeProps): import("react/jsx-runtime").JSX.Element;
71
+ //# sourceMappingURL=portal-home.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-home.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-portal/portal-home.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACf,MAAM,gBAAgB,CAAC;AAMxB,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACrB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,SAAS,EACT,YAAgB,EAChB,SAAS,GACV,EAAE,0BAA0B,kDA4F5B;AAMD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,YAAiB,EACjB,SAAc,EACd,WAAW,EACX,MAAgB,EAChB,OAAO,EACP,SAAS,EACT,MAAM,EACN,YAAgB,EAChB,YAAoB,EACpB,OAAe,EACf,SAAS,GACV,EAAE,eAAe,2CA6GjB"}