@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,30 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface SigningChromeProps {
3
+ /** The page content under the bar. */
4
+ children: ReactNode;
5
+ /**
6
+ * Replaces the wordmark in the bar (the practice's brand, for example).
7
+ * Default: the Alfadocs logo.
8
+ */
9
+ brand?: ReactNode;
10
+ /**
11
+ * Top-right slot of the bar, usually a `SigningProgressChip`. It sits in the
12
+ * flex row beside the wordmark and may wrap, so the two never overlap. With
13
+ * an action present the wordmark starts at the inline start.
14
+ */
15
+ headerActions?: ReactNode;
16
+ /**
17
+ * Accessible name of the bar, and of the default Alfadocs wordmark.
18
+ * Default: "Alfadocs". A custom `brand` is rendered as given and carries its
19
+ * own name (visible text, or an image with alt text).
20
+ */
21
+ brandLabel?: string;
22
+ /** Extra classes for the root. */
23
+ className?: string;
24
+ }
25
+ /**
26
+ * The brand bar and warm shell around a signing screen. Placement only: it
27
+ * holds no state and no flow logic.
28
+ */
29
+ export declare function SigningChrome({ children, brand, headerActions, brandLabel, className, }: SigningChromeProps): ReactNode;
30
+ //# sourceMappingURL=signing-chrome.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-chrome.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-chrome.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,aAAa,EACb,UAAU,EACV,SAAS,GACV,EAAE,kBAAkB,GAAG,SAAS,CAyChC"}
@@ -0,0 +1,87 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { SignatureConfirmPayload } from '../../components/signature-capture';
3
+ import type { UseSigningSessionReturn } from '../../hooks';
4
+ import { type SigningStepDocument, type SigningStepField } from './multi-field-signer';
5
+ import { type SigningRosterProps } from './signing-roster';
6
+ export interface SigningDocumentScreenProps {
7
+ /** The signing session for this signee, from `useSigningSession`. Required. */
8
+ session: UseSigningSessionReturn<SigningStepField, SignatureConfirmPayload>;
9
+ /** Single-document PDF source. Provide EITHER `src` OR `documents`. */
10
+ src?: string | ArrayBuffer | Uint8Array;
11
+ /** Multi-document envelope. */
12
+ documents?: SigningStepDocument[];
13
+ /** Headline of the step. Host text (the document's name). Also names the PDF region. Shown as given, also under `privacy`: keep personal data out of it there. */
14
+ title?: string;
15
+ /** Line under the headline, for example the practice or the date. Host content. Shown as given, also under `privacy`. */
16
+ meta?: ReactNode;
17
+ /** Level of the headline. Default 1. */
18
+ headingLevel?: 1 | 2;
19
+ /** Instruction shown in an alert above the document. Plain text only, never HTML. Shown as given, also under `privacy`. */
20
+ instruction?: string;
21
+ /** The two-row roster, when the envelope has two signees. Its `privacy` follows this screen's. */
22
+ roster?: Omit<SigningRosterProps, 'privacy'>;
23
+ /** Signers complete so far, for "N of M signers complete". Absent: no line. */
24
+ envelopeProgress?: {
25
+ done: number;
26
+ total: number;
27
+ };
28
+ /** First name of the signee, for the named progress chip after a hand-off. */
29
+ progressName?: string;
30
+ /** The host is completing the document: the footer shows "Completing your document…". */
31
+ completing?: boolean;
32
+ /**
33
+ * Called when the signer presses Sign, the last step of the round (D133).
34
+ * The button arms once every field of `session` is signed
35
+ * (`session.isComplete`); unarmed, it ignores presses. The host signs the
36
+ * envelope and sets `completing` in the same handler as the press (a press
37
+ * while `completing` is ignored). No code is asked at the end: the check
38
+ * came before the document opened. Absent: no Sign button.
39
+ */
40
+ onSign?: () => void;
41
+ /**
42
+ * The host's message about the last Sign press, for example the server
43
+ * refused it. Shown above the Sign button, which stays armed for another
44
+ * try. The host sets `completing` in the same handler as the press and
45
+ * keeps or clears this as it likes: the kit hides it while `completing`.
46
+ * Host text, shown as given, also under `privacy`.
47
+ */
48
+ signError?: string | null;
49
+ /** Called when the signer confirms a signature. See `MultiFieldSigner.onFieldConfirm`. */
50
+ onFieldConfirm?: (fieldId: string, payload: SignatureConfirmPayload) => void;
51
+ /** The field the host is sending now. */
52
+ submittingFieldId?: string | null;
53
+ /** The host's message about the last confirm; shown in the capture dialog. */
54
+ captureError?: string | null;
55
+ /** Extra dialogs, for example a `SigningMessageDialog`. The host owns them. */
56
+ dialogs?: ReactNode;
57
+ /** Render every field glyph-only. Labels stay the accessible names. */
58
+ hideFieldLabels?: boolean;
59
+ /** Wrap the screen in the signing brand bar. Default true. */
60
+ withChrome?: boolean;
61
+ /** Replaces the wordmark in the brand bar. */
62
+ brand?: ReactNode;
63
+ /** Accessible name of the brand bar. See `SigningChrome.brandLabel`. */
64
+ brandLabel?: string;
65
+ /**
66
+ * Move focus to the heading on arrival. Turn it on whenever the round
67
+ * replaces another view in place (after a code gate, a list or a hand-off),
68
+ * check-in included. Needs `title`. Default false.
69
+ */
70
+ focusOnMount?: boolean;
71
+ /**
72
+ * Privacy mode for the roster and the progress chip. It does not cover
73
+ * the PDF, the signature images, the field labels or the host text
74
+ * (`title`, `meta`, `instruction`, `signError`, `dialogs`): keep personal
75
+ * data out of those there (to confirm).
76
+ */
77
+ privacy?: boolean;
78
+ /** Extra classes for the root. */
79
+ className?: string;
80
+ }
81
+ /**
82
+ * The document step of a signing round. Session-driven and callback-driven:
83
+ * it shows the document, the progress and the Sign button, and tells the
84
+ * host what happened.
85
+ */
86
+ export declare function SigningDocumentScreen({ session, src, documents, title, meta, headingLevel, instruction, roster, envelopeProgress, progressName, completing, onSign, signError, onFieldConfirm, submittingFieldId, captureError, dialogs, hideFieldLabels, withChrome, brand, brandLabel, focusOnMount, privacy, className, }: SigningDocumentScreenProps): ReactNode;
87
+ //# sourceMappingURL=signing-document-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-document-screen.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-document-screen.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE1E,MAAM,WAAW,0BAA0B;IACzC,+EAA+E;IAC/E,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,EAAE,uBAAuB,CAAC,CAAC;IAC5E,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,UAAU,CAAC;IACxC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAClC,kKAAkK;IAClK,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yHAAyH;IACzH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wCAAwC;IACxC,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACrB,2HAA2H;IAC3H,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kGAAkG;IAClG,MAAM,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAC;IAC7C,+EAA+E;IAC/E,gBAAgB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0FAA0F;IAC1F,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAC7E,yCAAyC;IACzC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,uEAAuE;IACvE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,OAAO,EACP,GAAG,EACH,SAAS,EACT,KAAK,EACL,IAAI,EACJ,YAAgB,EAChB,WAAW,EACX,MAAM,EACN,gBAAgB,EAChB,YAAY,EACZ,UAAkB,EAClB,MAAM,EACN,SAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,eAAe,EACf,UAAiB,EACjB,KAAK,EACL,UAAU,EACV,YAAoB,EACpB,OAAe,EACf,SAAS,GACV,EAAE,0BAA0B,GAAG,SAAS,CAiIxC"}
@@ -0,0 +1,27 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Why the signing link ends here. */
3
+ export type SigningEndReason = 'expired' | 'already-completed' | 'cancelled';
4
+ export interface SigningEndScreenProps {
5
+ /** Why the link ends here. Required. */
6
+ reason: SigningEndReason;
7
+ /** The practice's name, for "Contact {practice}…". Host data. Absent: "the practice". */
8
+ practiceName?: string;
9
+ /** Replaces the default headline. Host text. */
10
+ title?: string;
11
+ /** Replaces the default sentence. Host text. */
12
+ body?: string;
13
+ /** Wrap the screen in the signing brand bar. Default true. */
14
+ withChrome?: boolean;
15
+ /** Replaces the wordmark in the brand bar. */
16
+ brand?: ReactNode;
17
+ /** Accessible name of the brand bar. See `SigningChrome.brandLabel`. */
18
+ brandLabel?: string;
19
+ /** Extra classes for the root. */
20
+ className?: string;
21
+ }
22
+ /**
23
+ * The end screen of a signing link that cannot be used: expired, already
24
+ * signed, or cancelled by the practice. No button.
25
+ */
26
+ export declare function SigningEndScreen({ reason, practiceName, title, body, withChrome, brand, brandLabel, className, }: SigningEndScreenProps): ReactNode;
27
+ //# sourceMappingURL=signing-end-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-end-screen.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-end-screen.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,sCAAsC;AACtC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,mBAAmB,GAAG,WAAW,CAAC;AAE7E,MAAM,WAAW,qBAAqB;IACpC,wCAAwC;IACxC,MAAM,EAAE,gBAAgB,CAAC;IACzB,yFAAyF;IACzF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,UAAiB,EACjB,KAAK,EACL,UAAU,EACV,SAAS,GACV,EAAE,qBAAqB,GAAG,SAAS,CA6DnC"}
@@ -0,0 +1,34 @@
1
+ import type { ReactNode } from 'react';
2
+ import { type FinishedTerminalAction } from '../../components/finished-terminal';
3
+ /** Which finished screen to show. */
4
+ export type SigningFinishedReason = 'signed' | 'all-signed';
5
+ export interface SigningFinishedScreenProps {
6
+ /** `signed`: one signer is done. `all-signed`: every signature is recorded. Default `signed`. */
7
+ reason?: SigningFinishedReason;
8
+ /** The practice's name, for "{practice} has your signed document." Host data. Absent: "Your practice". */
9
+ practiceName?: string;
10
+ /** Replaces the default headline. Host text. */
11
+ title?: string;
12
+ /** Replaces the default sentence. Host text. */
13
+ body?: string;
14
+ /**
15
+ * The one button: host label and target. Required, so the screen never
16
+ * ends in a dead end. With neither `onClick` nor a usable `href`, no
17
+ * button shows (the `FinishedTerminal` rule). Label default: "Continue".
18
+ */
19
+ action: Partial<FinishedTerminalAction>;
20
+ /** Wrap the screen in the signing brand bar. Default true. */
21
+ withChrome?: boolean;
22
+ /** Replaces the wordmark in the brand bar. */
23
+ brand?: ReactNode;
24
+ /** Accessible name of the brand bar. See `SigningChrome.brandLabel`. */
25
+ brandLabel?: string;
26
+ /** Extra classes for the root. */
27
+ className?: string;
28
+ }
29
+ /**
30
+ * The end of a signing round. One button and no countdown: nobody is moved
31
+ * on against their will.
32
+ */
33
+ export declare function SigningFinishedScreen({ reason, practiceName, title, body, action, withChrome, brand, brandLabel, className, }: SigningFinishedScreenProps): ReactNode;
34
+ //# sourceMappingURL=signing-finished-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-finished-screen.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-finished-screen.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,oCAAoC,CAAC;AAG5C,qCAAqC;AACrC,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,YAAY,CAAC;AAE5D,MAAM,WAAW,0BAA0B;IACzC,iGAAiG;IACjG,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,0GAA0G;IAC1G,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACxC,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,MAAiB,EACjB,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,UAAiB,EACjB,KAAK,EACL,UAAU,EACV,SAAS,GACV,EAAE,0BAA0B,GAAG,SAAS,CAmDxC"}
@@ -0,0 +1,56 @@
1
+ import { type ReactNode } from 'react';
2
+ export interface SigningFooterProps {
3
+ /**
4
+ * How many fields there are. Under 2 the bar shows no Previous and Next,
5
+ * and is hidden unless `onSign` is given or `completing` is set.
6
+ */
7
+ total: number;
8
+ /** Called when Previous is pressed. Absent: no Previous button. */
9
+ onPrevious?: () => void;
10
+ /** Called when Next is pressed. Absent: no Next button. */
11
+ onNext?: () => void;
12
+ /** Disables Previous. */
13
+ previousDisabled?: boolean;
14
+ /** Disables Next. */
15
+ nextDisabled?: boolean;
16
+ /**
17
+ * Called when the armed Sign button is pressed: the last step of the round
18
+ * (D133). The host signs the envelope and sets `completing` in the same
19
+ * handler as the press (the footer also ignores presses while it is
20
+ * `completing`, as a double-press guard). Absent: no
21
+ * Sign button. There is no code step at the end: the check came before the
22
+ * document opened.
23
+ */
24
+ onSign?: () => void;
25
+ /**
26
+ * Arms the Sign button: every field is signed. Unarmed, the button is
27
+ * neutral, `aria-disabled` and ignores presses; armed, it takes the
28
+ * accent. The host decides; the footer has no arming rule of its own.
29
+ */
30
+ signArmed?: boolean;
31
+ /**
32
+ * The host's message about the last Sign press, for example the server
33
+ * refused it. Shown above the buttons as an alert; the Sign button stays
34
+ * armed for another try. The host sets `completing` in the same handler as
35
+ * the press and keeps or clears this as it likes: the kit hides the alert
36
+ * while `completing`, and shows it again if it is still set when
37
+ * `completing` ends. Host text, shown as given, also under privacy.
38
+ */
39
+ signError?: string | null;
40
+ /**
41
+ * The host is completing the document: "Completing your document…"
42
+ * replaces Previous and Next, in a polite status region. The Sign button,
43
+ * when there is one, stays in place and shows that it is busy, so focus
44
+ * is not lost.
45
+ */
46
+ completing?: boolean;
47
+ /** Extra classes for the bar. */
48
+ className?: string;
49
+ }
50
+ /**
51
+ * The sticky footer of the document step: Previous and Next signature, the
52
+ * Sign button that ends the round, or the completing state. Presentational:
53
+ * it moves nothing and signs nothing itself.
54
+ */
55
+ export declare function SigningFooter({ total, onPrevious, onNext, previousDisabled, nextDisabled, onSign, signArmed, signError, completing, className, }: SigningFooterProps): ReactNode;
56
+ //# sourceMappingURL=signing-footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-footer.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-footer.tsx"],"names":[],"mappings":"AASA,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAenE,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,qBAAqB;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,UAAU,EACV,MAAM,EACN,gBAAwB,EACxB,YAAoB,EACpB,MAAM,EACN,SAAiB,EACjB,SAAgB,EAChB,UAAkB,EAClB,SAAS,GACV,EAAE,kBAAkB,GAAG,SAAS,CAyJhC"}
@@ -0,0 +1,37 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type SigningRosterProps } from './signing-roster';
3
+ export interface SigningHandoffScreenProps {
4
+ /** The signee who has just finished. Host data. */
5
+ signerName: string;
6
+ /** The signee who takes the device next. Host data. */
7
+ nextName: string;
8
+ /** The two-row roster to show under the text. Absent: no roster. Its `privacy` follows this screen's. */
9
+ roster?: Omit<SigningRosterProps, 'privacy'>;
10
+ /** Called when "Continue as {next}" is pressed. The host starts the second round. */
11
+ onContinue: () => void;
12
+ /**
13
+ * Replaces the button text. Default: "Continue as {next}". Ignored under
14
+ * `privacy`, where the masked default shows (a host label may carry the name).
15
+ */
16
+ continueLabel?: string;
17
+ /** The host is preparing the second round: Continue shows a spinner and ignores presses. */
18
+ submitting?: boolean;
19
+ /** Move focus to the heading on arrival. Default true: the screen replaces the document without a page change. */
20
+ focusOnMount?: boolean;
21
+ /** Wrap the screen in the signing brand bar. Default true. */
22
+ withChrome?: boolean;
23
+ /** Replaces the wordmark in the brand bar. */
24
+ brand?: ReactNode;
25
+ /** Accessible name of the brand bar. See `SigningChrome.brandLabel`. */
26
+ brandLabel?: string;
27
+ /** Privacy mode: both names show as the mask. */
28
+ privacy?: boolean;
29
+ /** Extra classes for the root. */
30
+ className?: string;
31
+ }
32
+ /**
33
+ * "Pass this device to {next}": the same-device hand-off between two signees.
34
+ * It holds no document and no signature image.
35
+ */
36
+ export declare function SigningHandoffScreen({ signerName, nextName, roster, onContinue, continueLabel, submitting, focusOnMount, withChrome, brand, brandLabel, privacy, className, }: SigningHandoffScreenProps): ReactNode;
37
+ //# sourceMappingURL=signing-handoff-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-handoff-screen.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-handoff-screen.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAM1D,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE1E,MAAM,WAAW,yBAAyB;IACxC,mDAAmD;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,yGAAyG;IACzG,MAAM,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAC;IAC7C,qFAAqF;IACrF,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4FAA4F;IAC5F,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kHAAkH;IAClH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,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,oBAAoB,CAAC,EACnC,UAAU,EACV,QAAQ,EACR,MAAM,EACN,UAAU,EACV,aAAa,EACb,UAAkB,EAClB,YAAmB,EACnB,UAAiB,EACjB,KAAK,EACL,UAAU,EACV,OAAe,EACf,SAAS,GACV,EAAE,yBAAyB,GAAG,SAAS,CAmFvC"}
@@ -0,0 +1,29 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface SigningMessageDialogProps {
3
+ /** Whether the dialog is open. The host owns it. */
4
+ open: boolean;
5
+ /** The message title. Host text. */
6
+ title: string;
7
+ /** The message body. Host text, shown as plain text. */
8
+ body: string;
9
+ /** Called when the signer dismisses the message (button, Escape or scrim). */
10
+ onDismiss: () => void;
11
+ /** Text of the dismiss button. Default: "Close". */
12
+ dismissLabel?: string;
13
+ /**
14
+ * Called when focus returns after the dialog closes. There is no trigger:
15
+ * the host calls `event.preventDefault()` and focuses the control that
16
+ * opened it.
17
+ */
18
+ onCloseAutoFocus?: (event: Event) => void;
19
+ /** Instance id for agent addressing. Default `signing-message`. */
20
+ id?: string;
21
+ /** Extra classes for the dialog surface. */
22
+ className?: string;
23
+ }
24
+ /**
25
+ * The practice's message shown before or after signing, in a dialog with one
26
+ * way out.
27
+ */
28
+ export declare function SigningMessageDialog({ open, title, body, onDismiss, dismissLabel, onCloseAutoFocus, id, className, }: SigningMessageDialogProps): ReactNode;
29
+ //# sourceMappingURL=signing-message-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-message-dialog.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-message-dialog.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,yBAAyB;IACxC,oDAAoD;IACpD,IAAI,EAAE,OAAO,CAAC;IACd,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAC1C,mEAAmE;IACnE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,EAAsB,EACtB,SAAS,GACV,EAAE,yBAAyB,GAAG,SAAS,CAwCvC"}
@@ -0,0 +1,27 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface SigningProgressChipProps {
3
+ /** How many fields are signed. */
4
+ signed: number;
5
+ /** How many fields there are. */
6
+ total: number;
7
+ /**
8
+ * The signer's first name, for the named copy after a hand-off
9
+ * ("Marco: 1 of 2 signed"). Absent: the plain copy.
10
+ */
11
+ name?: string;
12
+ /** Privacy mode: the name is dropped and the plain copy shows. */
13
+ privacy?: boolean;
14
+ /**
15
+ * Where the chip sits. `header` (default): in the brand bar, header ink.
16
+ * `page`: in the page body (no brand bar), page ink.
17
+ */
18
+ placement?: 'header' | 'page';
19
+ /** Extra classes for the chip. */
20
+ className?: string;
21
+ }
22
+ /**
23
+ * The signed-field counter shown in the brand bar. The host passes the
24
+ * counts (from `useSigningSession`); the chip counts nothing.
25
+ */
26
+ export declare function SigningProgressChip({ signed, total, name, privacy, placement, className, }: SigningProgressChipProps): ReactNode;
27
+ //# sourceMappingURL=signing-progress-chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-progress-chip.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-progress-chip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBvC,MAAM,WAAW,wBAAwB;IACvC,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC9B,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,KAAK,EACL,IAAI,EACJ,OAAe,EACf,SAAoB,EACpB,SAAS,GACV,EAAE,wBAAwB,GAAG,SAAS,CAwBtC"}
@@ -0,0 +1,44 @@
1
+ import { type ReactNode } from 'react';
2
+ /** Where a signer is up to. */
3
+ export type SigningRosterStatus = 'awaiting' | 'verifying' | 'signing' | 'signed';
4
+ /** One signer row. */
5
+ export interface RosterSigner {
6
+ /** Stable id for the row key. */
7
+ id: string;
8
+ /** Display name, as the host gives it (drives the Avatar initials). */
9
+ name: string;
10
+ /** Where this signer is up to. The host sets it; the roster never moves it. */
11
+ status: SigningRosterStatus;
12
+ /** Status text. Default: the translated label for `status`. */
13
+ statusLabel?: string;
14
+ /** Host text under the name, for example "Patient" or "Co-signer". Shown as given, also under `privacy`: keep personal data out of it. */
15
+ relationship?: string;
16
+ /** Marks the signer holding the device or link right now ("(you)"). */
17
+ isCurrent?: boolean;
18
+ /** Replaces the name under `privacy`. Default: the shared mask. Only the roster uses it: the hand-off, awaiting and staff screens always show the shared mask. */
19
+ maskedName?: string;
20
+ }
21
+ export interface SigningRosterProps {
22
+ /** Group label naming the list for assistive technology. Default: "Signers". */
23
+ title?: string;
24
+ /** The first signer: always present. */
25
+ primary: RosterSigner;
26
+ /** The second signer, or `null` when nobody is assigned yet (pending row). */
27
+ secondary?: RosterSigner | null;
28
+ /** The "(you)" suffix for the current signer. Default: "(you)". */
29
+ youLabel?: string;
30
+ /** Row title of the unassigned second slot. Default: "Second signer". */
31
+ secondaryPendingLabel?: string;
32
+ /** Meta line of the unassigned second slot. Default: "Not yet assigned". */
33
+ secondaryPendingHint?: string;
34
+ /** Privacy mode: names show as the mask and the avatars drop the initials. */
35
+ privacy?: boolean;
36
+ /** Extra classes for the root. */
37
+ className?: string;
38
+ }
39
+ /**
40
+ * The two-row signer list of a two-signee envelope: who signs and where each
41
+ * one is up to. Names mask under `privacy`.
42
+ */
43
+ export declare function SigningRoster({ title, primary, secondary, youLabel, secondaryPendingLabel, secondaryPendingHint, privacy, className, }: SigningRosterProps): ReactNode;
44
+ //# sourceMappingURL=signing-roster.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-roster.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-roster.tsx"],"names":[],"mappings":"AAWA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMpE,+BAA+B;AAC/B,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,WAAW,GACX,SAAS,GACT,QAAQ,CAAC;AAEb,sBAAsB;AACtB,MAAM,WAAW,YAAY;IAC3B,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,MAAM,EAAE,mBAAmB,CAAC;IAC5B,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0IAA0I;IAC1I,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kKAAkK;IAClK,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,OAAO,EAAE,YAAY,CAAC;IACtB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAChC,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,4EAA4E;IAC5E,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,8EAA8E;IAC9E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0ED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,qBAAqB,EACrB,oBAAoB,EACpB,OAAe,EACf,SAAS,GACV,EAAE,kBAAkB,GAAG,SAAS,CAwFhC"}
@@ -0,0 +1,49 @@
1
+ import type { ReactNode } from 'react';
2
+ /** What the host reports about the confirmation. */
3
+ export type SigningStaffIdError = 'failed';
4
+ export interface SigningStaffIdConfirmationProps {
5
+ /** Whether the dialog is open. The host owns it. */
6
+ open: boolean;
7
+ /** Called when the dialog asks to open or close (Cancel, Escape, the scrim). */
8
+ onOpenChange: (open: boolean) => void;
9
+ /**
10
+ * The logged-in staff member who confirms (the platform's operator, SIGN-17:97).
11
+ * Read only: it is shown, never edited. Required.
12
+ */
13
+ staffName: string;
14
+ /** The patient whose ID was seen. Absent: the text does not name them. Masks under `privacy`. */
15
+ patientName?: string;
16
+ /** The document being signed, shown under the text. Host text, shown as given also under `privacy`: keep personal data out of it there. */
17
+ documentTitle?: string;
18
+ /** Called when "I have seen the ID" is pressed. The host records it. */
19
+ onConfirm: () => void;
20
+ /** Called whenever the dialog is left without confirming. Runs after `onOpenChange(false)`. */
21
+ onCancel?: () => void;
22
+ /** The host is recording the confirmation: the button shows a spinner and ignores presses. */
23
+ submitting?: boolean;
24
+ /**
25
+ * What went wrong, if anything. `failed`: the host could not record it.
26
+ * The dialog stays open and the confirm button stays available.
27
+ */
28
+ error?: SigningStaffIdError | null;
29
+ /** Host text that replaces the default message for `error`. */
30
+ errorText?: string;
31
+ /** Privacy mode: the patient's name shows as the mask. The staff name is the user's own and stays. */
32
+ privacy?: boolean;
33
+ /**
34
+ * Called when focus returns after the dialog closes (Cancel, Escape, the
35
+ * scrim). The dialog has no trigger of its own, so the host moves focus to
36
+ * the control that opened it: call `event.preventDefault()` and focus it.
37
+ */
38
+ onCloseAutoFocus?: (event: Event) => void;
39
+ /** Instance id for agent addressing. Default `signing-staff-id`. */
40
+ id?: string;
41
+ /** Extra classes for the dialog surface. */
42
+ className?: string;
43
+ }
44
+ /**
45
+ * The practice-device ID confirmation: staff say they have seen the patient's
46
+ * ID, against their own name. A button, not a tick box.
47
+ */
48
+ export declare function SigningStaffIdConfirmation({ open, onOpenChange, staffName, patientName, documentTitle, onConfirm, onCancel, submitting, error, errorText, privacy, onCloseAutoFocus, id, className, }: SigningStaffIdConfirmationProps): ReactNode;
49
+ //# sourceMappingURL=signing-staff-id-confirmation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing-staff-id-confirmation.d.ts","sourceRoot":"","sources":["../../../src/patterns/signing/signing-staff-id-confirmation.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,oDAAoD;AACpD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;AAE3C,MAAM,WAAW,+BAA+B;IAC9C,oDAAoD;IACpD,IAAI,EAAE,OAAO,CAAC;IACd,gFAAgF;IAChF,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2IAA2I;IAC3I,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wEAAwE;IACxE,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,8FAA8F;IAC9F,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACnC,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sGAAsG;IACtG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAC1C,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,WAAW,EACX,aAAa,EACb,SAAS,EACT,QAAQ,EACR,UAAkB,EAClB,KAAY,EACZ,SAAS,EACT,OAAe,EACf,gBAAgB,EAChB,EAAuB,EACvB,SAAS,GACV,EAAE,+BAA+B,GAAG,SAAS,CAqF7C"}
@@ -1,4 +1,4 @@
1
- import { C as e, V as t, a as I, b as o } from "../../_chunks/verify-identity-types-CxtrBXsZ.js";
1
+ import { C as e, V as t, a as I, b as o } from "../../_chunks/verify-identity-types-C6Bam8v6.js";
2
2
  export {
3
3
  e as ChangeEmailDialog,
4
4
  t as VERIFY_IDENTITY_STEPS,