@alfadocs/ui-kit-debug 1.133.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 (452) 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-BHx6kUhX.js → calendar-appointment-editor-dialog-BSkIYGlW.js} +13 -13
  20. package/dist/_chunks/{calendar-appointment-editor-dialog-BHx6kUhX.js.map → calendar-appointment-editor-dialog-BSkIYGlW.js.map} +1 -1
  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 +512 -1
  230. package/dist/i18n/locales/ar.d.ts.map +1 -1
  231. package/dist/i18n/locales/ar.js +509 -3
  232. package/dist/i18n/locales/ar.js.map +1 -1
  233. package/dist/i18n/locales/de.d.ts +512 -1
  234. package/dist/i18n/locales/de.d.ts.map +1 -1
  235. package/dist/i18n/locales/de.js +517 -4
  236. package/dist/i18n/locales/de.js.map +1 -1
  237. package/dist/i18n/locales/el.d.ts +512 -1
  238. package/dist/i18n/locales/el.d.ts.map +1 -1
  239. package/dist/i18n/locales/el.js +512 -4
  240. package/dist/i18n/locales/el.js.map +1 -1
  241. package/dist/i18n/locales/en.d.ts +514 -1
  242. package/dist/i18n/locales/en.d.ts.map +1 -1
  243. package/dist/i18n/locales/en.js +520 -4
  244. package/dist/i18n/locales/en.js.map +1 -1
  245. package/dist/i18n/locales/es.d.ts +512 -1
  246. package/dist/i18n/locales/es.d.ts.map +1 -1
  247. package/dist/i18n/locales/es.js +510 -4
  248. package/dist/i18n/locales/es.js.map +1 -1
  249. package/dist/i18n/locales/fr.d.ts +512 -1
  250. package/dist/i18n/locales/fr.d.ts.map +1 -1
  251. package/dist/i18n/locales/fr.js +510 -4
  252. package/dist/i18n/locales/fr.js.map +1 -1
  253. package/dist/i18n/locales/hi.d.ts +512 -1
  254. package/dist/i18n/locales/hi.d.ts.map +1 -1
  255. package/dist/i18n/locales/hi.js +510 -4
  256. package/dist/i18n/locales/hi.js.map +1 -1
  257. package/dist/i18n/locales/it.d.ts +512 -1
  258. package/dist/i18n/locales/it.d.ts.map +1 -1
  259. package/dist/i18n/locales/it.js +517 -4
  260. package/dist/i18n/locales/it.js.map +1 -1
  261. package/dist/i18n/locales/ja.d.ts +512 -1
  262. package/dist/i18n/locales/ja.d.ts.map +1 -1
  263. package/dist/i18n/locales/ja.js +510 -4
  264. package/dist/i18n/locales/ja.js.map +1 -1
  265. package/dist/i18n/locales/nl.d.ts +512 -1
  266. package/dist/i18n/locales/nl.d.ts.map +1 -1
  267. package/dist/i18n/locales/nl.js +517 -4
  268. package/dist/i18n/locales/nl.js.map +1 -1
  269. package/dist/i18n/locales/pl.d.ts +512 -1
  270. package/dist/i18n/locales/pl.d.ts.map +1 -1
  271. package/dist/i18n/locales/pl.js +517 -4
  272. package/dist/i18n/locales/pl.js.map +1 -1
  273. package/dist/i18n/locales/pt.d.ts +512 -1
  274. package/dist/i18n/locales/pt.d.ts.map +1 -1
  275. package/dist/i18n/locales/pt.js +517 -4
  276. package/dist/i18n/locales/pt.js.map +1 -1
  277. package/dist/i18n/locales/ro.d.ts +512 -1
  278. package/dist/i18n/locales/ro.d.ts.map +1 -1
  279. package/dist/i18n/locales/ro.js +517 -4
  280. package/dist/i18n/locales/ro.js.map +1 -1
  281. package/dist/i18n/locales/ru.d.ts +512 -1
  282. package/dist/i18n/locales/ru.d.ts.map +1 -1
  283. package/dist/i18n/locales/ru.js +509 -3
  284. package/dist/i18n/locales/ru.js.map +1 -1
  285. package/dist/i18n/locales/sq.d.ts +512 -1
  286. package/dist/i18n/locales/sq.d.ts.map +1 -1
  287. package/dist/i18n/locales/sq.js +510 -4
  288. package/dist/i18n/locales/sq.js.map +1 -1
  289. package/dist/i18n/locales/sv.d.ts +512 -1
  290. package/dist/i18n/locales/sv.d.ts.map +1 -1
  291. package/dist/i18n/locales/sv.js +510 -4
  292. package/dist/i18n/locales/sv.js.map +1 -1
  293. package/dist/i18n/locales/tr.d.ts +512 -1
  294. package/dist/i18n/locales/tr.d.ts.map +1 -1
  295. package/dist/i18n/locales/tr.js +512 -4
  296. package/dist/i18n/locales/tr.js.map +1 -1
  297. package/dist/i18n/locales/zh.d.ts +512 -1
  298. package/dist/i18n/locales/zh.d.ts.map +1 -1
  299. package/dist/i18n/locales/zh.js +510 -4
  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 +513 -2
  304. package/dist/locales/de.json +514 -3
  305. package/dist/locales/el.json +514 -3
  306. package/dist/locales/en.json +514 -3
  307. package/dist/locales/es.json +514 -3
  308. package/dist/locales/fr.json +514 -3
  309. package/dist/locales/hi.json +514 -3
  310. package/dist/locales/it.json +514 -3
  311. package/dist/locales/ja.json +514 -3
  312. package/dist/locales/nl.json +514 -3
  313. package/dist/locales/pl.json +514 -3
  314. package/dist/locales/pt.json +514 -3
  315. package/dist/locales/ro.json +514 -3
  316. package/dist/locales/ru.json +513 -2
  317. package/dist/locales/sq.json +514 -3
  318. package/dist/locales/sv.json +514 -3
  319. package/dist/locales/tr.json +514 -3
  320. package/dist/locales/zh.json +514 -3
  321. package/dist/patterns/calendar/index.js +1 -1
  322. package/dist/patterns/check-in-documents/check-in-documents.d.ts +61 -0
  323. package/dist/patterns/check-in-documents/check-in-documents.d.ts.map +1 -0
  324. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts +32 -0
  325. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts.map +1 -0
  326. package/dist/patterns/check-in-documents/index.d.ts +4 -0
  327. package/dist/patterns/check-in-documents/index.d.ts.map +1 -0
  328. package/dist/patterns/check-in-documents/index.js +5 -0
  329. package/dist/patterns/check-in-documents/index.js.map +1 -0
  330. package/dist/patterns/error-page/index.js +1 -1
  331. package/dist/patterns/patient-account-settings/index.d.ts +4 -0
  332. package/dist/patterns/patient-account-settings/index.d.ts.map +1 -0
  333. package/dist/patterns/patient-account-settings/index.js +5 -0
  334. package/dist/patterns/patient-account-settings/index.js.map +1 -0
  335. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
  336. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts.map +1 -0
  337. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
  338. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts.map +1 -0
  339. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
  340. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts.map +1 -0
  341. package/dist/patterns/patient-check-in/index.d.ts +20 -0
  342. package/dist/patterns/patient-check-in/index.d.ts.map +1 -0
  343. package/dist/patterns/patient-check-in/index.js +13 -0
  344. package/dist/patterns/patient-check-in/index.js.map +1 -0
  345. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -0
  346. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts.map +1 -0
  347. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts +29 -0
  348. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts.map +1 -0
  349. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts +25 -0
  350. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts.map +1 -0
  351. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -0
  352. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts.map +1 -0
  353. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts +23 -0
  354. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts.map +1 -0
  355. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts +61 -0
  356. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts.map +1 -0
  357. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts +73 -0
  358. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts.map +1 -0
  359. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts +9 -0
  360. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts.map +1 -0
  361. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
  362. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts.map +1 -0
  363. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
  364. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts.map +1 -0
  365. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
  366. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts.map +1 -0
  367. package/dist/patterns/patient-portal/index.d.ts +12 -0
  368. package/dist/patterns/patient-portal/index.d.ts.map +1 -0
  369. package/dist/patterns/patient-portal/index.js +13 -0
  370. package/dist/patterns/patient-portal/index.js.map +1 -0
  371. package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
  372. package/dist/patterns/patient-portal/portal-appointments.d.ts.map +1 -0
  373. package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
  374. package/dist/patterns/patient-portal/portal-details.d.ts.map +1 -0
  375. package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
  376. package/dist/patterns/patient-portal/portal-documents.d.ts.map +1 -0
  377. package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
  378. package/dist/patterns/patient-portal/portal-format.d.ts.map +1 -0
  379. package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
  380. package/dist/patterns/patient-portal/portal-home.d.ts.map +1 -0
  381. package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
  382. package/dist/patterns/patient-portal/portal-parts.d.ts.map +1 -0
  383. package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
  384. package/dist/patterns/patient-portal/portal-shell.d.ts.map +1 -0
  385. package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
  386. package/dist/patterns/patient-portal/portal-types.d.ts.map +1 -0
  387. package/dist/patterns/patient-sign-in/index.d.ts +7 -0
  388. package/dist/patterns/patient-sign-in/index.d.ts.map +1 -0
  389. package/dist/patterns/patient-sign-in/index.js +15 -0
  390. package/dist/patterns/patient-sign-in/index.js.map +1 -0
  391. package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
  392. package/dist/patterns/patient-sign-in/patient-card.d.ts.map +1 -0
  393. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
  394. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts.map +1 -0
  395. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
  396. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts.map +1 -0
  397. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -0
  398. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts.map +1 -0
  399. package/dist/patterns/registration-form/index.js +1 -1
  400. package/dist/patterns/signature-request/index.js +1 -1
  401. package/dist/patterns/signing/index.d.ts +25 -0
  402. package/dist/patterns/signing/index.d.ts.map +1 -0
  403. package/dist/patterns/signing/index.js +16 -0
  404. package/dist/patterns/signing/index.js.map +1 -0
  405. package/dist/patterns/signing/multi-field-signer.d.ts +117 -0
  406. package/dist/patterns/signing/multi-field-signer.d.ts.map +1 -0
  407. package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
  408. package/dist/patterns/signing/signing-awaiting-screen.d.ts.map +1 -0
  409. package/dist/patterns/signing/signing-chrome.d.ts +30 -0
  410. package/dist/patterns/signing/signing-chrome.d.ts.map +1 -0
  411. package/dist/patterns/signing/signing-document-screen.d.ts +87 -0
  412. package/dist/patterns/signing/signing-document-screen.d.ts.map +1 -0
  413. package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
  414. package/dist/patterns/signing/signing-end-screen.d.ts.map +1 -0
  415. package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
  416. package/dist/patterns/signing/signing-finished-screen.d.ts.map +1 -0
  417. package/dist/patterns/signing/signing-footer.d.ts +56 -0
  418. package/dist/patterns/signing/signing-footer.d.ts.map +1 -0
  419. package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
  420. package/dist/patterns/signing/signing-handoff-screen.d.ts.map +1 -0
  421. package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
  422. package/dist/patterns/signing/signing-message-dialog.d.ts.map +1 -0
  423. package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
  424. package/dist/patterns/signing/signing-progress-chip.d.ts.map +1 -0
  425. package/dist/patterns/signing/signing-roster.d.ts +44 -0
  426. package/dist/patterns/signing/signing-roster.d.ts.map +1 -0
  427. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
  428. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts.map +1 -0
  429. package/dist/patterns/verify-identity/index.js +1 -1
  430. package/dist/tokens.css +1 -1
  431. package/package.json +49 -1
  432. package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
  433. package/dist/_chunks/appointment-card-OAOur8lH.js.map +0 -1
  434. package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
  435. package/dist/_chunks/appointment-tray-DSFqO5Rm.js.map +0 -1
  436. package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
  437. package/dist/_chunks/document-preview-_kQ9QvZV.js.map +0 -1
  438. package/dist/_chunks/error-page-B0fGNTRB.js.map +0 -1
  439. package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
  440. package/dist/_chunks/finished-terminal-FR8uc_Ws.js.map +0 -1
  441. package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
  442. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +0 -1
  443. package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
  444. package/dist/_chunks/otp-input-gV1446Dw.js.map +0 -1
  445. package/dist/_chunks/pdf-viewer-BnBKdx0y.js.map +0 -1
  446. package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
  447. package/dist/_chunks/session-countdown-C4tzbJVc.js.map +0 -1
  448. package/dist/_chunks/signature-field-DjabvRZm.js.map +0 -1
  449. package/dist/_chunks/signature-status-chip-pIoQjvH8.js.map +0 -1
  450. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
  451. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js.map +0 -1
  452. package/dist/_chunks/user-x-DYszNtIg.js.map +0 -1
@@ -0,0 +1,109 @@
1
+ import { type ReactNode } from 'react';
2
+ /**
3
+ * What the host reports about an email (HTP-6898, AUTH-DS-01:101, D124):
4
+ * `no-account` means no account has this email, and the person is told to
5
+ * use the practice invite; `slowed` means too many lookups were tried from
6
+ * this connection. The host decides both; the kit never looks anything up.
7
+ */
8
+ export type PatientEmailError = 'no-account' | 'slowed';
9
+ export interface PatientSignInEmailProps {
10
+ /** The email, when controlled. Pair with `onEmailChange`. */
11
+ email?: string;
12
+ /** The first email, when uncontrolled. */
13
+ defaultEmail?: string;
14
+ /** Called with the text on every change, controlled or not. */
15
+ onEmailChange?: (email: string) => void;
16
+ /**
17
+ * Called with the trimmed email when "Continue" is pressed or Enter is
18
+ * hit. Only an empty field blocks it. The host looks the account up.
19
+ */
20
+ onSubmit: (email: string) => void;
21
+ /**
22
+ * The host is looking the email up: the button shows a spinner.
23
+ * Set it while checking: a repeated refusal then clears the message and
24
+ * returns focus to the field.
25
+ */
26
+ submitting?: boolean;
27
+ /**
28
+ * What the host found. `no-account`: tells the person to use the practice
29
+ * invite. `slowed`: too many tries; the field and button stay usable so a
30
+ * robot check in `challenge` can be passed. Focus returns to the email
31
+ * after a refusal.
32
+ */
33
+ error?: PatientEmailError | null;
34
+ /** Host text that replaces the default message for `error`. */
35
+ errorText?: string;
36
+ /** The host's robot check, shown above the button. */
37
+ challenge?: ReactNode;
38
+ /**
39
+ * The language control. The host passes a controlled `LocalePicker`: it
40
+ * is a slot because `LocalePicker` writes to localStorage and the kit
41
+ * stores nothing. The pattern wraps the slot in a group named
42
+ * "Language", so the host adds no label of its own.
43
+ */
44
+ languageSlot?: ReactNode;
45
+ /** Reserved for the passkey control. Renders nothing while empty. */
46
+ passkeySlot?: ReactNode;
47
+ /** Replaces the title (for example on an invite). */
48
+ title?: string;
49
+ /** Replaces the sentence under the title (for example on an invite). */
50
+ description?: ReactNode;
51
+ /** Move focus to the heading when the screen shows. */
52
+ focusOnMount?: boolean;
53
+ /** Extra classes for the root. */
54
+ className?: string;
55
+ }
56
+ /**
57
+ * Sign-in screen 1 (D124): the email and the language. The kit looks nothing
58
+ * up: the host answers with `error`, and moves on to the PIN only for an
59
+ * email with an account.
60
+ */
61
+ export declare function PatientSignInEmail({ email, defaultEmail, onEmailChange, onSubmit, submitting, error, errorText, challenge, languageSlot, passkeySlot, title, description, focusOnMount, className, }: PatientSignInEmailProps): import("react/jsx-runtime").JSX.Element;
62
+ export interface PatientForgotPinProps {
63
+ /** The email, when controlled. Pair with `onEmailChange`. */
64
+ email?: string;
65
+ /** The first email, when uncontrolled. */
66
+ defaultEmail?: string;
67
+ /** Called with the text on every change, controlled or not. */
68
+ onEmailChange?: (email: string) => void;
69
+ /**
70
+ * Called with the trimmed email when "Send the link" is pressed. Only an
71
+ * empty field blocks it. The host looks the account up and sends the link.
72
+ */
73
+ onSubmit: (email: string) => void;
74
+ /**
75
+ * The host is looking the email up: the button shows a spinner.
76
+ * Set it while checking: a repeated refusal then clears the message and
77
+ * returns focus to the field.
78
+ */
79
+ submitting?: boolean;
80
+ /** Same two states and the same message as sign-in; no link is sent (D130). */
81
+ error?: PatientEmailError | null;
82
+ /** Host text that replaces the default message for `error`. */
83
+ errorText?: string;
84
+ /** The host's robot check, shown above the button. */
85
+ challenge?: ReactNode;
86
+ /** Called by "Back to sign in". The link shows only when this is given. */
87
+ onBack?: () => void;
88
+ /** Move focus to the heading when the screen shows. */
89
+ focusOnMount?: boolean;
90
+ /** Extra classes for the root. */
91
+ className?: string;
92
+ }
93
+ /** "Forgot your PIN?", step 1 (D130): the email. The host sends the link. */
94
+ export declare function PatientForgotPin({ email, defaultEmail, onEmailChange, onSubmit, submitting, error, errorText, challenge, onBack, focusOnMount, className, }: PatientForgotPinProps): import("react/jsx-runtime").JSX.Element;
95
+ export interface PatientForgotPinSentProps {
96
+ /** The email the link went to. Hidden under `privacy`. */
97
+ email: string;
98
+ /** Called by "Back to sign in". The button shows only when this is given. */
99
+ onBack?: () => void;
100
+ /** Move focus to the heading when the screen shows. Default false. */
101
+ focusOnMount?: boolean;
102
+ /** Privacy mode: the sentence says "your email" instead of the address. */
103
+ privacy?: boolean;
104
+ /** Extra classes for the root. */
105
+ className?: string;
106
+ }
107
+ /** "Check your email": the end of the reset's first step. */
108
+ export declare function PatientForgotPinSent({ email, onBack, focusOnMount, privacy, className, }: PatientForgotPinSentProps): import("react/jsx-runtime").JSX.Element;
109
+ //# sourceMappingURL=patient-sign-in-email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-sign-in-email.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-sign-in/patient-sign-in-email.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAi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,157 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type PatientHeadingLevel } from './patient-card';
3
+ /**
4
+ * What the host reports about the PIN (HTP-6898, D119, D125): `wrong` is a
5
+ * PIN that is not right; `paused` means sign-in is paused after too many
6
+ * wrong PINs. The host compares the PIN and counts the tries; the kit does
7
+ * neither.
8
+ */
9
+ export type PatientPinError = 'wrong' | 'paused';
10
+ export interface PatientSignInPinProps {
11
+ /**
12
+ * The email the person is signing in as, echoed under the title. Hidden
13
+ * under `privacy`.
14
+ */
15
+ email: string;
16
+ /** The digits, when controlled. Pair with `onValueChange`. */
17
+ value?: string;
18
+ /** The first digits, when uncontrolled. */
19
+ defaultValue?: string;
20
+ /** Called with the digits on every change, controlled or not. */
21
+ onValueChange?: (value: string) => void;
22
+ /** Number of digits, 4 to 12. Default 8. */
23
+ length?: number;
24
+ /**
25
+ * Called with the PIN when "Continue" is pressed with every digit typed.
26
+ * Never called as the last digit lands. The host compares the PIN.
27
+ */
28
+ onSubmit: (pin: string) => void;
29
+ /**
30
+ * The host is checking the PIN: the button shows a spinner.
31
+ * Set it while checking: a repeated refusal then clears the message, empties
32
+ * the field and returns focus to it.
33
+ */
34
+ submitting?: boolean;
35
+ /**
36
+ * What the host found. `wrong`: the dots turn red, the PIN empties and
37
+ * focus returns to it. `paused`: the keypad is off and the main button
38
+ * becomes "Reset my PIN".
39
+ */
40
+ error?: PatientPinError | null;
41
+ /**
42
+ * Host text that replaces the default message for `error`. Rendered as given, also under `privacy`: keep it free of personal data there.
43
+ */
44
+ errorText?: string;
45
+ /**
46
+ * Called by "Forgot your PIN?" and, while `paused`, by "Reset my PIN".
47
+ */
48
+ onForgot: () => void;
49
+ /** Called by "Use a different email". The link shows only when given. */
50
+ onChangeEmail?: () => void;
51
+ /**
52
+ * Extra content in the card footer, for example a host note. Rendered as given, also under `privacy`: keep it free of personal data there.
53
+ */
54
+ footer?: ReactNode;
55
+ /** Move focus to the heading when the screen shows. */
56
+ focusOnMount?: boolean;
57
+ /** Privacy mode: the email is not shown. */
58
+ privacy?: boolean;
59
+ /**
60
+ * Class stamped on the PIN control so session replay skips it. Default
61
+ * `ph-no-capture`.
62
+ */
63
+ maskClassName?: string;
64
+ /** Extra classes for the root. */
65
+ className?: string;
66
+ }
67
+ /**
68
+ * Sign-in screen 2 (D124, D125): the PIN as dots on the keypad, for an email
69
+ * that has an account. The SMS code follows only after the host accepts the
70
+ * PIN.
71
+ */
72
+ export declare function PatientSignInPin({ email, value, defaultValue, onValueChange, length, onSubmit, submitting, error, errorText, onForgot, onChangeEmail, footer, focusOnMount, privacy, maskClassName, className, }: PatientSignInPinProps): import("react/jsx-runtime").JSX.Element;
73
+ /**
74
+ * What the host reports about a new PIN (D131). Only the mobile's last four
75
+ * digits has a built-in text. Every other refusal (repeated or run digits,
76
+ * a birth date, two entries that differ) arrives as `errorText`.
77
+ */
78
+ export type PatientSetPinError = 'mobile';
79
+ export interface PatientSetPinProps {
80
+ /**
81
+ * `choose`: the first entry. `confirm`: the second. The host holds the
82
+ * first PIN, compares the two, and sets the phase. Changing it empties
83
+ * the field and moves focus to the heading.
84
+ */
85
+ phase: 'choose' | 'confirm';
86
+ /** The digits, when controlled. Pair with `onValueChange`. */
87
+ value?: string;
88
+ /** The first digits, when uncontrolled. */
89
+ defaultValue?: string;
90
+ /** Called with the digits on every change, controlled or not. */
91
+ onValueChange?: (value: string) => void;
92
+ /** Number of digits, 4 to 12. Default 8. */
93
+ length?: number;
94
+ /**
95
+ * Called with the PIN and the phase when "Continue" is pressed with every
96
+ * digit typed. Never called as the last digit lands. The host decides
97
+ * whether the PIN is allowed and whether the two entries match.
98
+ */
99
+ onSubmit: (pin: string, phase: 'choose' | 'confirm') => void;
100
+ /**
101
+ * The host is checking the PIN: the button shows a spinner.
102
+ * Set it while checking: a repeated refusal then clears the message, empties
103
+ * the field and returns focus to it.
104
+ */
105
+ submitting?: boolean;
106
+ /**
107
+ * `mobile`: the PIN contains the last four digits of the person's mobile
108
+ * (D131), with a built-in message. The host decides; the kit never reads
109
+ * the mobile.
110
+ */
111
+ error?: PatientSetPinError | null;
112
+ /**
113
+ * Host text for any refusal: it replaces the built-in message and is the
114
+ * only way to show the other reasons. On refusal the field empties and
115
+ * takes focus.
116
+ * Rendered as given, also under `privacy`: keep it free of personal data there.
117
+ */
118
+ errorText?: string;
119
+ /**
120
+ * An extra line under the description, for example a host rule list.
121
+ * Rendered as given, also under `privacy`: keep it free of personal data there.
122
+ */
123
+ note?: ReactNode;
124
+ /**
125
+ * The account's email, shown read-only as the username so a password
126
+ * manager saves the new PIN with it. `null` or absent: no field (an
127
+ * invite shows no patient data, AUTH-15). Not shown under `privacy`.
128
+ */
129
+ email?: string | null;
130
+ /**
131
+ * A line above the title, for example "Step 2 of 3". Rendered as given, also under `privacy`: keep it free of personal data there.
132
+ */
133
+ step?: string;
134
+ /** Heading level. Default 1; use 2 inside a page that has an h1. */
135
+ headingLevel?: PatientHeadingLevel;
136
+ /**
137
+ * Move focus to the heading when the screen shows. Focus also moves to
138
+ * the heading whenever `phase` changes, so the new step is announced.
139
+ */
140
+ focusOnMount?: boolean;
141
+ /** Privacy mode: the email is not shown. */
142
+ privacy?: boolean;
143
+ /**
144
+ * Class stamped on the PIN control so session replay skips it. Default
145
+ * `ph-no-capture`.
146
+ */
147
+ maskClassName?: string;
148
+ /** Extra classes for the root. */
149
+ className?: string;
150
+ }
151
+ /**
152
+ * Setting a PIN (HTP-6898, D131): the PIN twice on the keypad, one phase at
153
+ * a time. The kit compares nothing: the host holds the first entry and
154
+ * answers with `phase`, `error` and `errorText`.
155
+ */
156
+ export declare function PatientSetPin({ phase, value, defaultValue, onValueChange, length, onSubmit, submitting, error, errorText, note, email, step, headingLevel, focusOnMount, privacy, maskClassName, className, }: PatientSetPinProps): import("react/jsx-runtime").JSX.Element;
157
+ //# sourceMappingURL=patient-sign-in-pin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-sign-in-pin.d.ts","sourceRoot":"","sources":["../../../src/patterns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;CACpB;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,QAAQ,EACR,UAAkB,EAClB,KAAY,EACZ,SAAS,EACT,IAAI,EACJ,KAAY,EACZ,IAAI,EACJ,YAAgB,EAChB,YAAoB,EACpB,OAAe,EACf,aAAa,EACb,SAAS,GACV,EAAE,kBAAkB,2CA6HpB"}
@@ -0,0 +1,143 @@
1
+ import type { ReactNode } from 'react';
2
+ import { type SmsCodeEntryProps } from '../../components/sms-code-entry';
3
+ import { type PatientHeadingLevel } from './patient-card';
4
+ export interface PatientSignInCodeProps extends Omit<SmsCodeEntryProps, 'body' | 'className' | 'title'> {
5
+ /** Replaces the heading. Default "Enter the SMS code". */
6
+ title?: string;
7
+ /**
8
+ * A line under the heading. The entry itself names the mobile. Rendered as given, also under `privacy`: keep it free of personal data there.
9
+ */
10
+ description?: ReactNode;
11
+ /**
12
+ * Called by "Back". The button shows only when this is given. Use it to
13
+ * return to the PIN, or to the invite step before.
14
+ */
15
+ onBack?: () => void;
16
+ /** Heading level. Default 1; use 2 inside a page that has an h1. */
17
+ headingLevel?: PatientHeadingLevel;
18
+ /**
19
+ * Move focus to the heading when the screen shows. `autoFocus` (an
20
+ * `SmsCodeEntry` prop) puts focus in the first box instead; if both are
21
+ * set, the heading wins.
22
+ */
23
+ focusOnMount?: boolean;
24
+ /** Extra classes for the root. */
25
+ className?: string;
26
+ }
27
+ /**
28
+ * A titled card around the Phase 4 `SmsCodeEntry`: the SMS code of sign-in,
29
+ * of a PIN reset and of an invite's "prove your mobile" step. Every
30
+ * `SmsCodeEntry` prop except `body` passes through (`destination`, `value`,
31
+ * `onSubmit`, `error`, `remainingSeconds`, `onResend`, `resent`,
32
+ * `privacy` and the rest). The host decides whether a code is right, counts
33
+ * the tries and the wait, and keeps the 10 minute window.
34
+ */
35
+ export declare function PatientSignInCode({ title, description, onBack, headingLevel, focusOnMount, className, ...entry }: PatientSignInCodeProps): import("react/jsx-runtime").JSX.Element;
36
+ export interface PatientNoMobileProps {
37
+ /**
38
+ * Which flow ended here: `sign-in` (no verified mobile, so no code can
39
+ * go out) or `reset` (the same, while resetting the PIN). Not the
40
+ * in-session refusal, which is the `StepUpDialog` `noMobile` state.
41
+ */
42
+ context: 'sign-in' | 'reset';
43
+ /** Called by "Back to sign in". The button shows only when given. */
44
+ onBack?: () => void;
45
+ /** Move focus to the heading when the screen shows. Default false. */
46
+ focusOnMount?: boolean;
47
+ /** Extra classes for the root. */
48
+ className?: string;
49
+ }
50
+ /**
51
+ * The dead end "Contact your practice": the account has no verified mobile,
52
+ * so no SMS code can be sent (D118, D140).
53
+ */
54
+ export declare function PatientNoMobile({ context, onBack, focusOnMount, className, }: PatientNoMobileProps): import("react/jsx-runtime").JSX.Element;
55
+ export interface PatientPinChangedProps {
56
+ /** Called by "Back to sign in". The button shows only when given. */
57
+ onContinue?: () => void;
58
+ /**
59
+ * The host sent a notice of the change to the person's email: a line says
60
+ * so. Set false when no notice went out. Default true.
61
+ */
62
+ noticeSent?: boolean;
63
+ /** Move focus to the heading when the screen shows. Default false. */
64
+ focusOnMount?: boolean;
65
+ /** Extra classes for the root. */
66
+ className?: string;
67
+ }
68
+ /** "Your PIN is changed": the end of a PIN reset. */
69
+ export declare function PatientPinChanged({ onContinue, noticeSent, focusOnMount, className, }: PatientPinChangedProps): import("react/jsx-runtime").JSX.Element;
70
+ export interface PatientSessionBarProps {
71
+ /**
72
+ * Milliseconds left in the session, counted by the host. The bar runs no
73
+ * timer: it shows what it is given. Lengths (15 minutes, 30 minutes,
74
+ * 8 hours) are the host's values.
75
+ */
76
+ remainingMs: number;
77
+ /** Full session length in ms. Default: the countdown's own (15 minutes). */
78
+ totalMs?: number;
79
+ /** Remaining ms at or below which the banner turns to its warning tone. */
80
+ warnAtMs?: number;
81
+ /**
82
+ * Accessible name of the timer. Keep it neutral: it is shared by login,
83
+ * portal and check-in, so it must not say "check-in". The visible
84
+ * sentences and the Restart label are neutral by default too.
85
+ */
86
+ label?: string;
87
+ /** Called by "Sign out", which stays visible in every tone. */
88
+ onSignOut: () => void;
89
+ /** Replaces the Sign out label. Default "Sign out". */
90
+ signOutLabel?: string;
91
+ /** Called once when `remainingMs` reaches 0. */
92
+ onExpire?: () => void;
93
+ /** Called by the expired banner's button. The button shows only when given. */
94
+ onRestart?: () => void;
95
+ /** Replaces the expired banner's button label. Default "Sign in again". */
96
+ restartLabel?: string;
97
+ /** Extra classes for the root. */
98
+ className?: string;
99
+ }
100
+ /**
101
+ * The session banner and a visible Sign out, shared by login, the portal and
102
+ * check-in (D142). The banner is the Phase 4 `SessionCountdown`: running,
103
+ * then a warning tone, then expired. There is no warning dialog; the tone is
104
+ * the warning.
105
+ */
106
+ export declare function PatientSessionBar({ remainingMs, totalMs, warnAtMs, label, onSignOut, signOutLabel, onExpire, onRestart, restartLabel, className, }: PatientSessionBarProps): import("react/jsx-runtime").JSX.Element;
107
+ /** Why the session ended. See `PatientSessionEndedProps`. */
108
+ export type PatientSessionEndReason = 'signed-out' | 'timed-out' | 'max-age';
109
+ interface PatientSessionEndedBase {
110
+ /**
111
+ * Label of the one button. Default "Sign in again"; check-in passes its
112
+ * Restart wording here.
113
+ */
114
+ actionLabel?: string;
115
+ /** Called by the button. The host starts sign-in again. */
116
+ onSignIn: () => void;
117
+ /** Move focus to the heading when the screen shows. Default false. */
118
+ focusOnMount?: boolean;
119
+ /** Extra classes for the root. */
120
+ className?: string;
121
+ }
122
+ export type PatientSessionEndedProps = PatientSessionEndedBase & ({
123
+ /** The person pressed Sign out. */
124
+ reason: 'signed-out';
125
+ } | {
126
+ /** Nothing happened for a while, so the host ended the session. */
127
+ reason: 'timed-out';
128
+ /** The idle length the host used, in minutes (15 or 30). */
129
+ idleMinutes: number;
130
+ } | {
131
+ /** The host's longest session length was reached (D69). */
132
+ reason: 'max-age';
133
+ /** The longest session length, in hours (for example 8). */
134
+ maxAgeHours: number;
135
+ });
136
+ /**
137
+ * The end screen after Sign out, a timeout or the longest session length.
138
+ * One button, no countdown and no automatic move. The host clears the
139
+ * session; this only says so.
140
+ */
141
+ export declare function PatientSessionEnded(props: PatientSessionEndedProps): import("react/jsx-runtime").JSX.Element;
142
+ export {};
143
+ //# sourceMappingURL=patient-sign-in-steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-sign-in-steps.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-sign-in/patient-sign-in-steps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,iBAAiB,EACjB,MAAM,GAAG,WAAW,GAAG,OAAO,CAC/B;IACC,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,oEAAoE;IACpE,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,WAAW,EACX,MAAM,EACN,YAAgB,EAChB,YAAoB,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAsBxB;AAMD,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC;IAC7B,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,sEAAsE;IACtE,Y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,EACR,SAAS,EACT,YAAY,EACZ,SAAS,GACV,EAAE,sBAAsB,2CA6CxB;AAED,6DAA6D;AAC7D,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG,WAAW,GAAG,SAAS,CAAC;AAE7E,UAAU,uBAAuB;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,GAC5D,CACI;IACE,mCAAmC;IACnC,MAAM,EAAE,YAAY,CAAC;CACtB,GACD;IACE,mEAAmE;IACnE,MAAM,EAAE,WAAW,CAAC;IACpB,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;CACrB,GACD;IACE,2DAA2D;IAC3D,MAAM,EAAE,SAAS,CAAC;IAClB,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;CACrB,CACJ,CAAC;AAEJ;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAgClE"}
@@ -1,4 +1,4 @@
1
- import { R as o, a as r } from "../../_chunks/registration-form-CwbhtKcy.js";
1
+ import { R as o, a as r } from "../../_chunks/registration-form-DS3RuKHu.js";
2
2
  export {
3
3
  o as REGISTRATION_FORM_FIELDS,
4
4
  r as RegistrationForm
@@ -1,4 +1,4 @@
1
- import { S as o } from "../../_chunks/signature-request-4pGq3YBe.js";
1
+ import { S as o } from "../../_chunks/signature-request-CHsM_iWi.js";
2
2
  export {
3
3
  o as SignatureRequestModal
4
4
  };
@@ -0,0 +1,25 @@
1
+ export { MultiFieldSigner } from './multi-field-signer';
2
+ export type { MultiFieldSignerProps, SigningStepDocument, SigningStepField, SigningStepLabels, } from './multi-field-signer';
3
+ export { SigningChrome } from './signing-chrome';
4
+ export type { SigningChromeProps } from './signing-chrome';
5
+ export { SigningProgressChip } from './signing-progress-chip';
6
+ export type { SigningProgressChipProps } from './signing-progress-chip';
7
+ export { SigningFooter } from './signing-footer';
8
+ export type { SigningFooterProps } from './signing-footer';
9
+ export { SigningRoster } from './signing-roster';
10
+ export type { RosterSigner, SigningRosterProps, SigningRosterStatus, } from './signing-roster';
11
+ export { SigningDocumentScreen } from './signing-document-screen';
12
+ export type { SigningDocumentScreenProps } from './signing-document-screen';
13
+ export { SigningMessageDialog } from './signing-message-dialog';
14
+ export type { SigningMessageDialogProps } from './signing-message-dialog';
15
+ export { SigningStaffIdConfirmation } from './signing-staff-id-confirmation';
16
+ export type { SigningStaffIdConfirmationProps, SigningStaffIdError, } from './signing-staff-id-confirmation';
17
+ export { SigningHandoffScreen } from './signing-handoff-screen';
18
+ export type { SigningHandoffScreenProps } from './signing-handoff-screen';
19
+ export { SigningAwaitingScreen } from './signing-awaiting-screen';
20
+ export type { SigningAwaitingScreenProps } from './signing-awaiting-screen';
21
+ export { SigningFinishedScreen } from './signing-finished-screen';
22
+ export type { SigningFinishedReason, SigningFinishedScreenProps, } from './signing-finished-screen';
23
+ export { SigningEndScreen } from './signing-end-screen';
24
+ export type { SigningEndReason, SigningEndScreenProps, } from './signing-end-screen';
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,YAAY,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,YAAY,EACV,+BAA+B,EAC/B,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,YAAY,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EACV,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EACV,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { M as g, S as e, a, b as S, c as s, d as r, e as o, f as t, g as c, h as f, i as d, j as h } from "../../_chunks/signing-end-screen-an9P8DOT.js";
2
+ export {
3
+ g as MultiFieldSigner,
4
+ e as SigningAwaitingScreen,
5
+ a as SigningChrome,
6
+ S as SigningDocumentScreen,
7
+ s as SigningEndScreen,
8
+ r as SigningFinishedScreen,
9
+ o as SigningFooter,
10
+ t as SigningHandoffScreen,
11
+ c as SigningMessageDialog,
12
+ f as SigningProgressChip,
13
+ d as SigningRoster,
14
+ h as SigningStaffIdConfirmation
15
+ };
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,117 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type PDFZoomPreset } from '../../components/pdf-viewer';
3
+ import { type SignatureConfirmPayload } from '../../components/signature-capture';
4
+ import type { SigningFieldBase, UseSigningSessionReturn } from '../../hooks';
5
+ /** A signature field: id + live signed state (via the session) + page-overlay geometry. */
6
+ export interface SigningStepField extends SigningFieldBase {
7
+ /** 1-based page the field sits on. */
8
+ page: number;
9
+ /** Which document in the envelope (default 0). */
10
+ docIndex?: number;
11
+ /**
12
+ * Percent offset of the field's logical start edge on the page. The PDF
13
+ * page is always left to right, so in an RTL layout the host converts the
14
+ * template's left offset to this start offset (100 - left - width).
15
+ */
16
+ insetInlineStart: number;
17
+ /** Percent offset of the field's logical top edge on the page. */
18
+ insetBlockStart: number;
19
+ /** Percent of the page's inline size. */
20
+ inlineSize: number;
21
+ /** Percent of the page's block size. */
22
+ blockSize: number;
23
+ /** Already-translated caption / accessible name for the field. */
24
+ label: string;
25
+ /**
26
+ * Render THIS field glyph-only (`SignatureField hideLabel`) while others
27
+ * keep their captions. The label stays the accessible name.
28
+ */
29
+ hideLabel?: boolean;
30
+ }
31
+ /** All already-translated strings the capture dialog needs. */
32
+ export interface SigningStepLabels {
33
+ /** Capture dialog title. */
34
+ dialogTitle: string;
35
+ /** Capture dialog subtitle. */
36
+ dialogSubtitle: string;
37
+ /**
38
+ * Apply label (kept for existing callers). Not rendered: the capture pad's
39
+ * own confirm button submits each field. The armed button that ends the
40
+ * round is the footer's Sign button (`SigningFooter.onSign`, D133).
41
+ */
42
+ apply: string;
43
+ /** Per-document heading for multi-document envelopes, e.g. (1, 2) gives "Document 1 of 2". */
44
+ documentHeading?: (current: number, total: number) => string;
45
+ /**
46
+ * With `nextField`, enables Previous/Next controls inside the capture
47
+ * dialog: the signer jumps to the adjacent unsigned field without closing
48
+ * the dialog.
49
+ */
50
+ previousField?: string;
51
+ /** See `previousField`. */
52
+ nextField?: string;
53
+ }
54
+ /** One document in a multi-PDF envelope. */
55
+ export interface SigningStepDocument {
56
+ /** Stable document index: matches each field's `docIndex`. */
57
+ docIndex: number;
58
+ /** PDF source for this document. */
59
+ src: string | ArrayBuffer | Uint8Array;
60
+ /** Already-translated accessible label / heading for this document. */
61
+ title: string;
62
+ }
63
+ export interface MultiFieldSignerProps {
64
+ /** Single-document PDF source. Provide EITHER `src` OR `documents`. */
65
+ src?: string | ArrayBuffer | Uint8Array;
66
+ /** Multi-document envelope: renders every document in one continuous scroll. */
67
+ documents?: SigningStepDocument[];
68
+ /** Session from `useSigningSession(fields)`: owns signed state and the counter. */
69
+ session: UseSigningSessionReturn<SigningStepField, SignatureConfirmPayload>;
70
+ /** Already-translated capture dialog strings. */
71
+ labels: SigningStepLabels;
72
+ /** Single-document field filter (ignored when `documents` is set). */
73
+ docIndex?: number;
74
+ /** Accessible label for the PDF region (the document title). */
75
+ ariaLabel?: string;
76
+ /** Initial PDF zoom. Default `'fit-width'`. */
77
+ initialZoom?: PDFZoomPreset;
78
+ /**
79
+ * Render every field glyph-only (`SignatureField hideLabel`), for surfaces
80
+ * whose field labels are long document titles. Labels still form each
81
+ * field's accessible name.
82
+ */
83
+ hideFieldLabels?: boolean;
84
+ /**
85
+ * Called when the signer confirms the capture dialog. It returns nothing
86
+ * and is never awaited. Absent: the component calls `session.markSigned`
87
+ * itself. Present: the host sends the signature and calls
88
+ * `session.markSigned` after its own success; until then the dialog stays
89
+ * open.
90
+ */
91
+ onFieldConfirm?: (fieldId: string, payload: SignatureConfirmPayload) => void;
92
+ /**
93
+ * The field the host is sending right now. That field shows its `signing`
94
+ * state, and the capture pad and the in-dialog field buttons are disabled.
95
+ */
96
+ submittingFieldId?: string | null;
97
+ /**
98
+ * A message from the host about the last confirm (for example the server
99
+ * refused it). Shown as an alert in the capture dialog, which stays open.
100
+ */
101
+ captureError?: string | null;
102
+ /**
103
+ * Called once when the last field becomes signed during this component's
104
+ * life. It informs only: opening a dialog or moving on is the host's call.
105
+ */
106
+ onAllSigned?: () => void;
107
+ /** Extra classes for the root. */
108
+ className?: string;
109
+ }
110
+ /**
111
+ * The document surface of a signing round: PDFs in one scroll, a
112
+ * `SignatureField` overlay on each field, and a capture dialog (draw or type).
113
+ * Session-driven: it never decides what is signed. A signed field cannot be
114
+ * reopened (the session refuses it and the field is not activatable).
115
+ */
116
+ export declare function MultiFieldSigner({ src, documents, session, labels, docIndex, ariaLabel, initialZoom, hideFieldLabels, onFieldConfirm, submittingFieldId, captureError, onAllSigned, className, }: MultiFieldSignerProps): ReactNode;
117
+ //# sourceMappingURL=multi-field-signer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-field-signer.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/multi-field-signer.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,oCAAoC,CAAC;AAI5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE7E,2FAA2F;AAC3F,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB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AC/C,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAC7E;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA2BD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EACH,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAyB,EACzB,eAAuB,EACvB,cAAc,EACd,iBAAwB,EACxB,YAAmB,EACnB,WAAW,EACX,SAAS,GACV,EAAE,qBAAqB,GAAG,SAAS,CAoQnC"}
@@ -0,0 +1,25 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface SigningAwaitingScreenProps {
3
+ /** The signee who has just finished. Host data. */
4
+ signerName: string;
5
+ /** The signee who signs next. Required unless `secondaryPending`. Host data. */
6
+ nextName?: string;
7
+ /** Nobody is assigned as the second signee yet: the "not assigned" copy shows and `nextName` is ignored. */
8
+ secondaryPending?: boolean;
9
+ /** Wrap the screen in the signing brand bar. Default true. */
10
+ withChrome?: boolean;
11
+ /** Replaces the wordmark in the brand bar. */
12
+ brand?: ReactNode;
13
+ /** Accessible name of the brand bar. See `SigningChrome.brandLabel`. */
14
+ brandLabel?: string;
15
+ /** Privacy mode: both names show as the mask. */
16
+ privacy?: boolean;
17
+ /** Extra classes for the root. */
18
+ className?: string;
19
+ }
20
+ /**
21
+ * "Your part is done": the first signee is finished and has nothing more to
22
+ * do. No button and no countdown.
23
+ */
24
+ export declare function SigningAwaitingScreen({ signerName, nextName, secondaryPending, withChrome, brand, brandLabel, privacy, className, }: SigningAwaitingScreenProps): ReactNode;
25
+ //# sourceMappingURL=signing-awaiting-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-awaiting-screen.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-awaiting-screen.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,0BAA0B;IACzC,mDAAmD;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4GAA4G;IAC5G,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,QAAQ,EACR,gBAAwB,EACxB,UAAiB,EACjB,KAAK,EACL,UAAU,EACV,OAAe,EACf,SAAS,GACV,EAAE,0BAA0B,GAAG,SAAS,CAoCxC"}