@alfadocs/ui-kit-debug 1.132.0 → 1.134.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{agenda-card-B8hV3dZV.js → agenda-card-B9wgX_Ed.js} +2 -2
- package/dist/_chunks/{agenda-card-B8hV3dZV.js.map → agenda-card-B9wgX_Ed.js.map} +1 -1
- package/dist/_chunks/{agenda-tray-Bu46s3dI.js → agenda-tray-CGcS_qoM.js} +2 -2
- package/dist/_chunks/{agenda-tray-Bu46s3dI.js.map → agenda-tray-CGcS_qoM.js.map} +1 -1
- package/dist/_chunks/appointment-card-DG3m9yN-.js +504 -0
- package/dist/_chunks/appointment-card-DG3m9yN-.js.map +1 -0
- package/dist/_chunks/{appointment-peek-DZa6xyUb.js → appointment-peek-BK0tDs4C.js} +2 -2
- package/dist/_chunks/{appointment-peek-DZa6xyUb.js.map → appointment-peek-BK0tDs4C.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-DQePqpyH.js → appointment-timeline-BiI2riRZ.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DQePqpyH.js.map → appointment-timeline-BiI2riRZ.js.map} +1 -1
- package/dist/_chunks/appointment-tray-ClJCtYQj.js +200 -0
- package/dist/_chunks/appointment-tray-ClJCtYQj.js.map +1 -0
- package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js → appointment-workflow-status-S-lx81Yz.js} +2 -2
- package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js.map → appointment-workflow-status-S-lx81Yz.js.map} +1 -1
- package/dist/_chunks/ban-CiSCCcOE.js +15 -0
- package/dist/_chunks/ban-CiSCCcOE.js.map +1 -0
- package/dist/_chunks/{calendar-BIoOeBTT.js → calendar-CyLtLBNP.js} +2 -2
- package/dist/_chunks/{calendar-BIoOeBTT.js.map → calendar-CyLtLBNP.js.map} +1 -1
- package/dist/_chunks/calendar-appointment-editor-dialog-BSkIYGlW.js +13773 -0
- package/dist/_chunks/calendar-appointment-editor-dialog-BSkIYGlW.js.map +1 -0
- package/dist/_chunks/{calendar-event-card-BNEzkjm-.js → calendar-event-card-BJifpYZQ.js} +7 -6
- package/dist/_chunks/{calendar-event-card-BNEzkjm-.js.map → calendar-event-card-BJifpYZQ.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-DKScH9Ss.js → care-plan-card-CjHq6PLo.js} +6 -6
- package/dist/_chunks/{care-plan-card-DKScH9Ss.js.map → care-plan-card-CjHq6PLo.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js → care-plan-entry-card-DY1toF6E.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js.map → care-plan-entry-card-DY1toF6E.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-Dx5OMkc9.js → care-plan-header-CeFXUDnL.js} +6 -6
- package/dist/_chunks/{care-plan-header-Dx5OMkc9.js.map → care-plan-header-CeFXUDnL.js.map} +1 -1
- package/dist/_chunks/check-in-documents-CEVcgcYZ.js +136 -0
- package/dist/_chunks/check-in-documents-CEVcgcYZ.js.map +1 -0
- package/dist/_chunks/{clinical-note-card-pPaeWWnu.js → clinical-note-card-D--IwbZa.js} +2 -2
- package/dist/_chunks/{clinical-note-card-pPaeWWnu.js.map → clinical-note-card-D--IwbZa.js.map} +1 -1
- package/dist/_chunks/document-preview-DLVIrOYV.js +385 -0
- package/dist/_chunks/document-preview-DLVIrOYV.js.map +1 -0
- package/dist/_chunks/{entity-card-fpm-KUKc.js → entity-card-p-LANpYt.js} +18 -17
- package/dist/_chunks/{entity-card-fpm-KUKc.js.map → entity-card-p-LANpYt.js.map} +1 -1
- package/dist/_chunks/{error-page-B0fGNTRB.js → error-page-WLhmWUTq.js} +100 -115
- package/dist/_chunks/error-page-WLhmWUTq.js.map +1 -0
- package/dist/_chunks/finished-terminal-unDnXT4j.js +191 -0
- package/dist/_chunks/finished-terminal-unDnXT4j.js.map +1 -0
- package/dist/_chunks/house-DGCypGTo.js +21 -0
- package/dist/_chunks/house-DGCypGTo.js.map +1 -0
- package/dist/_chunks/is-safe-url-CEy9CEml.js +8 -0
- package/dist/_chunks/is-safe-url-CEy9CEml.js.map +1 -0
- package/dist/_chunks/keypad-DBH_keVs.js +152 -0
- package/dist/_chunks/keypad-DBH_keVs.js.map +1 -0
- package/dist/_chunks/keypad-button-mOaPQRrH.js +114 -0
- package/dist/_chunks/keypad-button-mOaPQRrH.js.map +1 -0
- package/dist/_chunks/{message-card-BG3_3nN1.js → message-card-Bw_q1qKx.js} +2 -2
- package/dist/_chunks/{message-card-BG3_3nN1.js.map → message-card-Bw_q1qKx.js.map} +1 -1
- package/dist/_chunks/{message-tray-BjZv0Fsk.js → message-tray-pLGgLmoG.js} +2 -2
- package/dist/_chunks/{message-tray-BjZv0Fsk.js.map → message-tray-pLGgLmoG.js.map} +1 -1
- package/dist/_chunks/{note-attachment-MNTIqdSz.js → note-attachment-JTIy9iXN.js} +2 -2
- package/dist/_chunks/{note-attachment-MNTIqdSz.js.map → note-attachment-JTIy9iXN.js.map} +1 -1
- package/dist/_chunks/{note-timeline-BQeW0VZY.js → note-timeline-BbjHMhkL.js} +2 -2
- package/dist/_chunks/{note-timeline-BQeW0VZY.js.map → note-timeline-BbjHMhkL.js.map} +1 -1
- package/dist/_chunks/{notes-panel-Cm-_pCRJ.js → notes-panel-BAyPOr8N.js} +2 -2
- package/dist/_chunks/{notes-panel-Cm-_pCRJ.js.map → notes-panel-BAyPOr8N.js.map} +1 -1
- package/dist/_chunks/{operator-hero-CnfWckNQ.js → operator-hero-D4wfVu2l.js} +2 -2
- package/dist/_chunks/{operator-hero-CnfWckNQ.js.map → operator-hero-D4wfVu2l.js.map} +1 -1
- package/dist/_chunks/otp-input-BNOTlxq3.js +342 -0
- package/dist/_chunks/otp-input-BNOTlxq3.js.map +1 -0
- package/dist/_chunks/patient-account-settings-BkAtIxJW.js +546 -0
- package/dist/_chunks/patient-account-settings-BkAtIxJW.js.map +1 -0
- package/dist/_chunks/patient-card-DTh3QTyS.js +125 -0
- package/dist/_chunks/patient-card-DTh3QTyS.js.map +1 -0
- package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js +742 -0
- package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js.map +1 -0
- package/dist/_chunks/patient-sign-in-pin-CDBqV254.js +432 -0
- package/dist/_chunks/patient-sign-in-pin-CDBqV254.js.map +1 -0
- package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js +199 -0
- package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js.map +1 -0
- package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js → patient-summary-card-Bl2NknPe.js} +2 -2
- package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js.map → patient-summary-card-Bl2NknPe.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-Dv4WbRBe.js → payment-request-card-CNW00DCx.js} +6 -6
- package/dist/_chunks/{payment-request-card-Dv4WbRBe.js.map → payment-request-card-CNW00DCx.js.map} +1 -1
- package/dist/_chunks/{pdf-viewer-BnBKdx0y.js → pdf-viewer-TRC5jEm5.js} +472 -425
- package/dist/_chunks/pdf-viewer-TRC5jEm5.js.map +1 -0
- package/dist/_chunks/pin-entry-BugWQMOS.js +219 -0
- package/dist/_chunks/pin-entry-BugWQMOS.js.map +1 -0
- package/dist/_chunks/pin-indicator-Cb-n40UI.js +124 -0
- package/dist/_chunks/pin-indicator-Cb-n40UI.js.map +1 -0
- package/dist/_chunks/portal-details-CTEsm705.js +478 -0
- package/dist/_chunks/portal-details-CTEsm705.js.map +1 -0
- package/dist/_chunks/portal-documents-D8skew0h.js +902 -0
- package/dist/_chunks/portal-documents-D8skew0h.js.map +1 -0
- package/dist/_chunks/portal-parts-BdR29P7z.js +285 -0
- package/dist/_chunks/portal-parts-BdR29P7z.js.map +1 -0
- package/dist/_chunks/{privacy-mask-DJ1gee4c.js → privacy-mask-C19dJFMk.js} +5 -5
- package/dist/_chunks/{privacy-mask-DJ1gee4c.js.map → privacy-mask-C19dJFMk.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-a8wdVOUt.js → product-hub-panel-K4QbULG7.js} +2 -2
- package/dist/_chunks/{product-hub-panel-a8wdVOUt.js.map → product-hub-panel-K4QbULG7.js.map} +1 -1
- package/dist/_chunks/{registration-form-CwbhtKcy.js → registration-form-DS3RuKHu.js} +2 -2
- package/dist/_chunks/{registration-form-CwbhtKcy.js.map → registration-form-DS3RuKHu.js.map} +1 -1
- package/dist/_chunks/{reserved.agent-W8mR179D.js → reserved.agent-DOzOBUW7.js} +2 -2
- package/dist/_chunks/{reserved.agent-W8mR179D.js.map → reserved.agent-DOzOBUW7.js.map} +1 -1
- package/dist/_chunks/session-countdown-DOx1IBUB.js +232 -0
- package/dist/_chunks/session-countdown-DOx1IBUB.js.map +1 -0
- package/dist/_chunks/{sign-document-CQZVzfpk.js → sign-document-DDZbmYHu.js} +2 -2
- package/dist/_chunks/{sign-document-CQZVzfpk.js.map → sign-document-DDZbmYHu.js.map} +1 -1
- package/dist/_chunks/{signature-field-DjabvRZm.js → signature-field-BjlY_yXH.js} +39 -34
- package/dist/_chunks/signature-field-BjlY_yXH.js.map +1 -0
- package/dist/_chunks/{signature-request-4pGq3YBe.js → signature-request-CHsM_iWi.js} +2 -2
- package/dist/_chunks/{signature-request-4pGq3YBe.js.map → signature-request-CHsM_iWi.js.map} +1 -1
- package/dist/_chunks/{signature-status-chip-pIoQjvH8.js → signature-status-chip-DS9hHwIt.js} +66 -69
- package/dist/_chunks/signature-status-chip-DS9hHwIt.js.map +1 -0
- package/dist/_chunks/signing-end-screen-an9P8DOT.js +1041 -0
- package/dist/_chunks/signing-end-screen-an9P8DOT.js.map +1 -0
- package/dist/_chunks/sms-code-entry-Dgp4GwlM.js +316 -0
- package/dist/_chunks/sms-code-entry-Dgp4GwlM.js.map +1 -0
- package/dist/_chunks/step-up-dialog-C2JqJmCA.js +132 -0
- package/dist/_chunks/step-up-dialog-C2JqJmCA.js.map +1 -0
- package/dist/_chunks/{task-editor-BL2hHxNz.js → task-editor-g1AGfxhr.js} +38 -38
- package/dist/_chunks/{task-editor-BL2hHxNz.js.map → task-editor-g1AGfxhr.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js → use-appointment-details-read-Dzc6fEzG.js} +6 -6
- package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js.map → use-appointment-details-read-Dzc6fEzG.js.map} +1 -1
- package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js +221 -0
- package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js.map +1 -0
- package/dist/_chunks/{user-x-DYszNtIg.js → user-x-BJZg4kaP.js} +8 -19
- package/dist/_chunks/user-x-BJZg4kaP.js.map +1 -0
- package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js → verify-identity-types-C6Bam8v6.js} +2 -2
- package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js.map → verify-identity-types-C6Bam8v6.js.map} +1 -1
- package/dist/agent-catalog.json +723 -364
- package/dist/agent-i18n/en.json +75 -18
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/is-safe-url.d.ts +3 -1
- package/dist/components/_shared/is-safe-url.d.ts.map +1 -1
- package/dist/components/agenda-card/index.js +2 -2
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +45 -0
- package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
- package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -1
- package/dist/components/appointment-card/appointment-tray.d.ts +11 -0
- package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -1
- package/dist/components/appointment-card/index.js +3 -3
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/document-preview/document-preview.agent.d.ts.map +1 -1
- package/dist/components/document-preview/document-preview.d.ts +61 -7
- package/dist/components/document-preview/document-preview.d.ts.map +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/finished-terminal/finished-terminal.d.ts +63 -6
- package/dist/components/finished-terminal/finished-terminal.d.ts.map +1 -1
- package/dist/components/finished-terminal/index.d.ts +1 -1
- package/dist/components/finished-terminal/index.d.ts.map +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/index.d.ts +12 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/keypad/index.d.ts +3 -0
- package/dist/components/keypad/index.d.ts.map +1 -0
- package/dist/components/keypad/index.js +6 -0
- package/dist/components/keypad/index.js.map +1 -0
- package/dist/components/keypad/keypad.d.ts +54 -0
- package/dist/components/keypad/keypad.d.ts.map +1 -0
- package/dist/components/keypad-button/index.d.ts +3 -0
- package/dist/components/keypad-button/index.d.ts.map +1 -0
- package/dist/components/keypad-button/index.js +6 -0
- package/dist/components/keypad-button/index.js.map +1 -0
- package/dist/components/keypad-button/keypad-button.d.ts +33 -0
- package/dist/components/keypad-button/keypad-button.d.ts.map +1 -0
- package/dist/components/message-card/index.js +2 -2
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/otp-input.d.ts +11 -0
- package/dist/components/otp-input/otp-input.d.ts.map +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +7 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/pin-entry/index.d.ts +3 -0
- package/dist/components/pin-entry/index.d.ts.map +1 -0
- package/dist/components/pin-entry/index.js +5 -0
- package/dist/components/pin-entry/index.js.map +1 -0
- package/dist/components/pin-entry/pin-entry.agent.d.ts +4 -0
- package/dist/components/pin-entry/pin-entry.agent.d.ts.map +1 -0
- package/dist/components/pin-entry/pin-entry.d.ts +64 -0
- package/dist/components/pin-entry/pin-entry.d.ts.map +1 -0
- package/dist/components/pin-indicator/index.d.ts +3 -0
- package/dist/components/pin-indicator/index.d.ts.map +1 -0
- package/dist/components/pin-indicator/index.js +9 -0
- package/dist/components/pin-indicator/index.js.map +1 -0
- package/dist/components/pin-indicator/pin-indicator.d.ts +34 -0
- package/dist/components/pin-indicator/pin-indicator.d.ts.map +1 -0
- package/dist/components/product-hub-tray/index.js +2 -2
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/session-countdown/session-countdown.d.ts +19 -0
- package/dist/components/session-countdown/session-countdown.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/signature-field/signature-field.d.ts +17 -6
- package/dist/components/signature-field/signature-field.d.ts.map +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/signature-status-chip/signature-status-chip.d.ts +3 -2
- package/dist/components/signature-status-chip/signature-status-chip.d.ts.map +1 -1
- package/dist/components/sms-code-entry/index.d.ts +3 -0
- package/dist/components/sms-code-entry/index.d.ts.map +1 -0
- package/dist/components/sms-code-entry/index.js +5 -0
- package/dist/components/sms-code-entry/index.js.map +1 -0
- package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts +4 -0
- package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts.map +1 -0
- package/dist/components/sms-code-entry/sms-code-entry.d.ts +156 -0
- package/dist/components/sms-code-entry/sms-code-entry.d.ts.map +1 -0
- package/dist/components/step-up-dialog/index.d.ts +3 -0
- package/dist/components/step-up-dialog/index.d.ts.map +1 -0
- package/dist/components/step-up-dialog/index.js +5 -0
- package/dist/components/step-up-dialog/index.js.map +1 -0
- package/dist/components/step-up-dialog/step-up-dialog.d.ts +108 -0
- package/dist/components/step-up-dialog/step-up-dialog.d.ts.map +1 -0
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-signing-session.d.ts +7 -2
- package/dist/hooks/use-signing-session.d.ts.map +1 -1
- package/dist/host-compat.css +10 -1
- package/dist/i18n/locales/ar.d.ts +514 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +512 -4
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +514 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +520 -5
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +514 -1
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +515 -5
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +516 -1
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +522 -4
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +514 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +513 -5
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +514 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +513 -5
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +514 -1
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +513 -5
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +514 -1
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +520 -5
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +514 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +513 -5
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +514 -1
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +520 -5
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +514 -1
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +520 -5
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +514 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +520 -5
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +514 -1
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +520 -5
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +514 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +512 -4
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +514 -1
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +513 -5
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +514 -1
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +513 -5
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +514 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +515 -5
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +514 -1
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +513 -5
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +1271 -1204
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +516 -3
- package/dist/locales/de.json +517 -4
- package/dist/locales/el.json +517 -4
- package/dist/locales/en.json +516 -3
- package/dist/locales/es.json +517 -4
- package/dist/locales/fr.json +517 -4
- package/dist/locales/hi.json +517 -4
- package/dist/locales/it.json +517 -4
- package/dist/locales/ja.json +517 -4
- package/dist/locales/nl.json +517 -4
- package/dist/locales/pl.json +517 -4
- package/dist/locales/pt.json +517 -4
- package/dist/locales/ro.json +517 -4
- package/dist/locales/ru.json +516 -3
- package/dist/locales/sq.json +517 -4
- package/dist/locales/sv.json +517 -4
- package/dist/locales/tr.json +517 -4
- package/dist/locales/zh.json +517 -4
- package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.journey.d.ts +4 -0
- package/dist/patterns/calendar/calendar.journey.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.surface.d.ts +15 -1
- package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.types.d.ts +4 -0
- package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/check-in-documents/check-in-documents.d.ts +61 -0
- package/dist/patterns/check-in-documents/check-in-documents.d.ts.map +1 -0
- package/dist/patterns/check-in-documents/check-in-signable-document.d.ts +32 -0
- package/dist/patterns/check-in-documents/check-in-signable-document.d.ts.map +1 -0
- package/dist/patterns/check-in-documents/index.d.ts +4 -0
- package/dist/patterns/check-in-documents/index.d.ts.map +1 -0
- package/dist/patterns/check-in-documents/index.js +5 -0
- package/dist/patterns/check-in-documents/index.js.map +1 -0
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.d.ts +4 -0
- package/dist/patterns/patient-account-settings/index.d.ts.map +1 -0
- package/dist/patterns/patient-account-settings/index.js +5 -0
- package/dist/patterns/patient-account-settings/index.js.map +1 -0
- package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
- package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts.map +1 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.d.ts.map +1 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/index.d.ts +20 -0
- package/dist/patterns/patient-check-in/index.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/index.js +13 -0
- package/dist/patterns/patient-check-in/index.js.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -0
- package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts +29 -0
- package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-done.d.ts +25 -0
- package/dist/patterns/patient-check-in/patient-check-in-done.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -0
- package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts +23 -0
- package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts +61 -0
- package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts +73 -0
- package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts +9 -0
- package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
- package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
- package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts.map +1 -0
- package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
- package/dist/patterns/patient-check-in/patient-check-in-types.d.ts.map +1 -0
- package/dist/patterns/patient-portal/index.d.ts +12 -0
- package/dist/patterns/patient-portal/index.d.ts.map +1 -0
- package/dist/patterns/patient-portal/index.js +13 -0
- package/dist/patterns/patient-portal/index.js.map +1 -0
- package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
- package/dist/patterns/patient-portal/portal-appointments.d.ts.map +1 -0
- package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
- package/dist/patterns/patient-portal/portal-details.d.ts.map +1 -0
- package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
- package/dist/patterns/patient-portal/portal-documents.d.ts.map +1 -0
- package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
- package/dist/patterns/patient-portal/portal-format.d.ts.map +1 -0
- package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
- package/dist/patterns/patient-portal/portal-home.d.ts.map +1 -0
- package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
- package/dist/patterns/patient-portal/portal-parts.d.ts.map +1 -0
- package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
- package/dist/patterns/patient-portal/portal-shell.d.ts.map +1 -0
- package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
- package/dist/patterns/patient-portal/portal-types.d.ts.map +1 -0
- package/dist/patterns/patient-sign-in/index.d.ts +7 -0
- package/dist/patterns/patient-sign-in/index.d.ts.map +1 -0
- package/dist/patterns/patient-sign-in/index.js +15 -0
- package/dist/patterns/patient-sign-in/index.js.map +1 -0
- package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
- package/dist/patterns/patient-sign-in/patient-card.d.ts.map +1 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts.map +1 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts.map +1 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts.map +1 -0
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signing/index.d.ts +25 -0
- package/dist/patterns/signing/index.d.ts.map +1 -0
- package/dist/patterns/signing/index.js +16 -0
- package/dist/patterns/signing/index.js.map +1 -0
- package/dist/patterns/signing/multi-field-signer.d.ts +117 -0
- package/dist/patterns/signing/multi-field-signer.d.ts.map +1 -0
- package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
- package/dist/patterns/signing/signing-awaiting-screen.d.ts.map +1 -0
- package/dist/patterns/signing/signing-chrome.d.ts +30 -0
- package/dist/patterns/signing/signing-chrome.d.ts.map +1 -0
- package/dist/patterns/signing/signing-document-screen.d.ts +87 -0
- package/dist/patterns/signing/signing-document-screen.d.ts.map +1 -0
- package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
- package/dist/patterns/signing/signing-end-screen.d.ts.map +1 -0
- package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
- package/dist/patterns/signing/signing-finished-screen.d.ts.map +1 -0
- package/dist/patterns/signing/signing-footer.d.ts +56 -0
- package/dist/patterns/signing/signing-footer.d.ts.map +1 -0
- package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
- package/dist/patterns/signing/signing-handoff-screen.d.ts.map +1 -0
- package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
- package/dist/patterns/signing/signing-message-dialog.d.ts.map +1 -0
- package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
- package/dist/patterns/signing/signing-progress-chip.d.ts.map +1 -0
- package/dist/patterns/signing/signing-roster.d.ts +44 -0
- package/dist/patterns/signing/signing-roster.d.ts.map +1 -0
- package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
- package/dist/patterns/signing/signing-staff-id-confirmation.d.ts.map +1 -0
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +49 -1
- package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
- package/dist/_chunks/appointment-card-OAOur8lH.js.map +0 -1
- package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
- package/dist/_chunks/appointment-tray-DSFqO5Rm.js.map +0 -1
- package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js +0 -13663
- package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js.map +0 -1
- package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
- package/dist/_chunks/document-preview-_kQ9QvZV.js.map +0 -1
- package/dist/_chunks/error-page-B0fGNTRB.js.map +0 -1
- package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
- package/dist/_chunks/finished-terminal-FR8uc_Ws.js.map +0 -1
- package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
- package/dist/_chunks/is-safe-url-DkETxeHz.js.map +0 -1
- package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
- package/dist/_chunks/otp-input-gV1446Dw.js.map +0 -1
- package/dist/_chunks/pdf-viewer-BnBKdx0y.js.map +0 -1
- package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
- package/dist/_chunks/session-countdown-C4tzbJVc.js.map +0 -1
- package/dist/_chunks/signature-field-DjabvRZm.js.map +0 -1
- package/dist/_chunks/signature-status-chip-pIoQjvH8.js.map +0 -1
- package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
- package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js.map +0 -1
- package/dist/_chunks/user-x-DYszNtIg.js.map +0 -1
|
@@ -0,0 +1,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/patient-sign-in/patient-sign-in-pin.tsx"],"names":[],"mappings":"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"}
|
|
@@ -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":"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"}
|
|
@@ -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":"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"}
|
|
@@ -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"}
|
|
@@ -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"}
|