@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pin-entry.agent.d.ts","sourceRoot":"","sources":["../../../src/components/pin-entry/pin-entry.agent.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,cAAc,CAyDtD,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/** Agent-readiness curated handle for PinEntry. It never exposes the PIN. */
|
|
3
|
+
export interface PinEntryHandle {
|
|
4
|
+
clear: () => void;
|
|
5
|
+
focus: () => void;
|
|
6
|
+
getFilledCount: () => number;
|
|
7
|
+
getLength: () => number;
|
|
8
|
+
isComplete: () => boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface PinEntryProps {
|
|
11
|
+
/** Number of digits, from 4 to 12. Default 8. */
|
|
12
|
+
length?: number;
|
|
13
|
+
/** Controlled digits. Pair with `onChange`. */
|
|
14
|
+
value?: string;
|
|
15
|
+
/** Uncontrolled initial digits. */
|
|
16
|
+
defaultValue?: string;
|
|
17
|
+
/** Fires with the digits after every change. */
|
|
18
|
+
onChange?: (value: string) => void;
|
|
19
|
+
/** Fires once when the last digit is typed. */
|
|
20
|
+
onComplete?: (value: string) => void;
|
|
21
|
+
/** Visible label above the dots. Default "PIN". Inside a `FormField` the
|
|
22
|
+
* field's own label is used instead. */
|
|
23
|
+
label?: string;
|
|
24
|
+
/** Keep the label for assistive technology only, e.g. when the screen's
|
|
25
|
+
* heading already says "Enter your PIN". Default `false`. */
|
|
26
|
+
hideLabel?: boolean;
|
|
27
|
+
/** Red dots, one shake, `aria-invalid`. Clear it when the person types
|
|
28
|
+
* again. The message itself is the host's (a FormField error or an
|
|
29
|
+
* Alert). */
|
|
30
|
+
error?: boolean;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/** `current-password` (default) to sign in, `new-password` to set one.
|
|
33
|
+
* With `new-password` the field also carries `minlength`, `maxlength`
|
|
34
|
+
* and `pattern="[0-9]*"`, so a password manager that suggests a PIN
|
|
35
|
+
* suggests one of the right shape. */
|
|
36
|
+
autoComplete?: 'current-password' | 'new-password';
|
|
37
|
+
/** Posts the digits under this name in a native form. */
|
|
38
|
+
name?: string;
|
|
39
|
+
/** The keypad's bottom-start cell, e.g. a "Forgot your PIN?" key. */
|
|
40
|
+
bottomLeft?: ReactNode;
|
|
41
|
+
/** Focus the field on mount. Default `false`. */
|
|
42
|
+
autoFocus?: boolean;
|
|
43
|
+
/** Keypad key size. Default `lg`. */
|
|
44
|
+
size?: 'md' | 'lg';
|
|
45
|
+
/**
|
|
46
|
+
* Privacy / observability seam, NOT a styling hook: the class (or
|
|
47
|
+
* space-separated classes) stamped on the root so session replay and
|
|
48
|
+
* analytics autocapture skip the whole control, keypad included.
|
|
49
|
+
* Default `ph-no-capture` (PostHog). Pass your own tool's marker, or
|
|
50
|
+
* `""` only when nothing on the page records sessions or clicks.
|
|
51
|
+
*/
|
|
52
|
+
maskClassName?: string;
|
|
53
|
+
/** Stable id: the field's id and `data-component-id`. */
|
|
54
|
+
id?: string;
|
|
55
|
+
className?: string;
|
|
56
|
+
'aria-describedby'?: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The PIN screen's control: PIN dots over a real field and a 3 × 4 keypad.
|
|
60
|
+
* Use it for every PIN; use `OTPInput` for SMS codes, which need the
|
|
61
|
+
* phone's own keyboard for autofill.
|
|
62
|
+
*/
|
|
63
|
+
export declare const PinEntry: import("react").ForwardRefExoticComponent<PinEntryProps & import("react").RefAttributes<PinEntryHandle>>;
|
|
64
|
+
//# sourceMappingURL=pin-entry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pin-entry.d.ts","sourceRoot":"","sources":["../../../src/components/pin-entry/pin-entry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAkCf,6EAA6E;AAC7E,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,EAAE,MAAM,MAAM,CAAC;IAC7B,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,OAAO,CAAC;CAC3B;AAmCD,MAAM,WAAW,aAAa;IAC5B,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,+CAA+C;IAC/C,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;6CACyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;kEAC8D;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;kBAEc;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;2CAGuC;IACvC,YAAY,CAAC,EAAE,kBAAkB,GAAG,cAAc,CAAC;IACnD,yDAAyD;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qCAAqC;IACrC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,0GAqKpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pin-indicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,cAAc,GACf,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { D as s, M as P, a as _, P as r, r as I } from "../../_chunks/pin-indicator-Cb-n40UI.js";
|
|
2
|
+
export {
|
|
3
|
+
s as DEFAULT_PIN_LENGTH,
|
|
4
|
+
P as MAX_PIN_LENGTH,
|
|
5
|
+
_ as MIN_PIN_LENGTH,
|
|
6
|
+
r as PinIndicator,
|
|
7
|
+
I as resolvePinLength
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
export declare const MIN_PIN_LENGTH = 4;
|
|
4
|
+
export declare const MAX_PIN_LENGTH = 12;
|
|
5
|
+
/** The patient interface's PIN length for health data (D120). */
|
|
6
|
+
export declare const DEFAULT_PIN_LENGTH = 8;
|
|
7
|
+
/** Clamp a PIN length into [4, 12]; non-finite input falls back to 8. */
|
|
8
|
+
export declare function resolvePinLength(length: number | undefined): number;
|
|
9
|
+
declare const rootVariants: (props?: ({
|
|
10
|
+
size?: "sm" | "md" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
+
export interface PinIndicatorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'children'>, VariantProps<typeof rootVariants> {
|
|
13
|
+
/** Number of digits typed so far. Clamped to `[0, length]`. */
|
|
14
|
+
filled: number;
|
|
15
|
+
/** Number of dots, from 4 to 12. Default 8. */
|
|
16
|
+
length?: number;
|
|
17
|
+
/** Red dots and one shake (no movement in the accessible themes or with
|
|
18
|
+
* reduced motion). Turn it off when the person types again. */
|
|
19
|
+
error?: boolean;
|
|
20
|
+
/** Dot size. Default `md`. */
|
|
21
|
+
size?: 'sm' | 'md';
|
|
22
|
+
/** Say the count in a polite live region as it changes. Default `true`;
|
|
23
|
+
* turn it off when the host already speaks the count. */
|
|
24
|
+
announce?: boolean;
|
|
25
|
+
/** Opaque instance id, emitted as `data-component-id`. */
|
|
26
|
+
id?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The dots of a PIN screen. Display only: pair it with `Keypad`, or use
|
|
30
|
+
* `PinEntry`, which wires both to a real field.
|
|
31
|
+
*/
|
|
32
|
+
export declare const PinIndicator: import("react").ForwardRefExoticComponent<PinIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=pin-indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pin-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/pin-indicator/pin-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiBlE,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,yEAAyE;AACzE,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMnE;AAED,QAAA,MAAM,YAAY;;8EAgBjB,CAAC;AA+CF,MAAM,WAAW,iBACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,EACzD,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;oEACgE;IAChE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;8DAC0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,8GAsDxB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-
|
|
2
|
-
import { i as s } from "../../_chunks/is-safe-url-
|
|
1
|
+
import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-K4QbULG7.js";
|
|
2
|
+
import { i as s } from "../../_chunks/is-safe-url-CEy9CEml.js";
|
|
3
3
|
export {
|
|
4
4
|
u as ProductHubPanel,
|
|
5
5
|
o as ProductHubTray,
|
|
@@ -30,6 +30,25 @@ export interface SessionCountdownProps extends Omit<HTMLAttributes<HTMLDivElemen
|
|
|
30
30
|
locale?: string;
|
|
31
31
|
/** Override the accessible name of the timer region. */
|
|
32
32
|
label?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Replace the visible sentence of a tone. `running` receives the formatted
|
|
35
|
+
* time, for example `(time) => \`Your session ends in ${time}.\``. Each
|
|
36
|
+
* defaults to the check-in wording, so existing uses do not change.
|
|
37
|
+
*/
|
|
38
|
+
messages?: {
|
|
39
|
+
running?: (time: string) => string;
|
|
40
|
+
warning?: string;
|
|
41
|
+
expired?: string;
|
|
42
|
+
};
|
|
43
|
+
/** Replace the Restart button's label. Default "Restart check-in". */
|
|
44
|
+
restartLabel?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Announce the warning sentence once, when the tone turns to warning, and
|
|
47
|
+
* speak minute counts only from then on. Off by default: the polite region
|
|
48
|
+
* then speaks every minute, from the start. Turn it on for a long session
|
|
49
|
+
* (30 minutes) where a minute-by-minute voice would be noise.
|
|
50
|
+
*/
|
|
51
|
+
announceWarning?: boolean;
|
|
33
52
|
/** Merged onto the outermost element. CVA-composed, never inline style. */
|
|
34
53
|
className?: string;
|
|
35
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-countdown.d.ts","sourceRoot":"","sources":["../../../src/components/session-countdown/session-countdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA8BlE,QAAA,MAAM,iBAAiB;;;8EA0CtB,CAAC;AAmGF,KAAK,qBAAqB,GAAG,IAAI,CAC/B,YAAY,CAAC,OAAO,iBAAiB,CAAC,EACtC,MAAM,CACP,CAAC;AAEF,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;IAC3E,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACnC,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oDAAoD;IACpD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"session-countdown.d.ts","sourceRoot":"","sources":["../../../src/components/session-countdown/session-countdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA8BlE,QAAA,MAAM,iBAAiB;;;8EA0CtB,CAAC;AAmGF,KAAK,qBAAqB,GAAG,IAAI,CAC/B,YAAY,CAAC,OAAO,iBAAiB,CAAC,EACtC,MAAM,CACP,CAAC;AAEF,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;IAC3E,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACnC,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oDAAoD;IACpD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,eAAO,MAAM,gBAAgB,kHA8P5B,CAAC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export type SignatureFieldState = 'unsigned' | 'signing' | 'signed';
|
|
3
3
|
export interface SignatureFieldProps extends Omit<ComponentPropsWithoutRef<'button'>, 'onClick' | 'children' | 'aria-label' | 'disabled'> {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Lifecycle state. Drives both the visual treatment and the accessible name.
|
|
6
|
+
* `signed` is final: the field stays focusable and keeps its accessible
|
|
7
|
+
* name, but is `aria-disabled` and never calls `onActivate` (a signed field
|
|
8
|
+
* cannot be reopened, HTP-6900).
|
|
9
|
+
*/
|
|
5
10
|
state?: SignatureFieldState;
|
|
6
11
|
/**
|
|
7
12
|
* Percent offset of the field's logical start edge within the overlay box.
|
|
@@ -14,14 +19,19 @@ export interface SignatureFieldProps extends Omit<ComponentPropsWithoutRef<'butt
|
|
|
14
19
|
inlineSize?: number;
|
|
15
20
|
/** Percent of the overlay's logical block size — the field height. */
|
|
16
21
|
blockSize?: number;
|
|
17
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Called when an unsigned field is activated by click or keyboard. Never
|
|
24
|
+
* called while `state="signing"`, when `disabled`, or once `state="signed"`:
|
|
25
|
+
* a signed field cannot be reopened (HTP-6900). The button carries
|
|
26
|
+
* `data-action="sign-field"`.
|
|
27
|
+
*/
|
|
18
28
|
onActivate?: () => void;
|
|
19
29
|
/** Captured signature image (PNG data URL or URL) shown when `state="signed"`. */
|
|
20
30
|
signedImageSrc?: string;
|
|
21
31
|
/**
|
|
22
32
|
* Caption shown in the unsigned prompt and used as the accessible name
|
|
23
33
|
* (e.g. "Sign here", "Date", "Initial here"). Falls back to the
|
|
24
|
-
* translated default
|
|
34
|
+
* translated default "Sign here", which serves as both.
|
|
25
35
|
*/
|
|
26
36
|
label?: string;
|
|
27
37
|
/**
|
|
@@ -35,9 +45,10 @@ export interface SignatureFieldProps extends Omit<ComponentPropsWithoutRef<'butt
|
|
|
35
45
|
disabled?: boolean;
|
|
36
46
|
/**
|
|
37
47
|
* Marks the field as the one currently targeted by field-to-field navigation
|
|
38
|
-
* (Next / Previous signature). Renders a **persistent** selection
|
|
39
|
-
* the transient `:focus-visible`
|
|
40
|
-
* they're on as they step through, even
|
|
48
|
+
* (Next / Previous signature). Renders a **persistent** inset selection
|
|
49
|
+
* ring, drawn differently from the transient `:focus-visible` outline, so
|
|
50
|
+
* the signer can see which field they're on as they step through, even
|
|
51
|
+
* after focus moves, and can tell it apart from the field that has focus.
|
|
41
52
|
*/
|
|
42
53
|
active?: boolean;
|
|
43
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature-field.d.ts","sourceRoot":"","sources":["../../../src/components/signature-field/signature-field.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"signature-field.d.ts","sourceRoot":"","sources":["../../../src/components/signature-field/signature-field.tsx"],"names":[],"mappings":"AA2BA,OAAO,EAEL,KAAK,wBAAwB,EAG9B,MAAM,OAAO,CAAC;AAUf,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAC/C,wBAAwB,CAAC,QAAQ,CAAC,EAClC,SAAS,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,CACnD;IACC;;;;;OAKG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAMD,QAAA,MAAM,sBAAsB;;;8EAmF3B,CAAC;AAMF,eAAO,MAAM,cAAc,mHA4I1B,CAAC;AAIF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -22,8 +22,9 @@ export interface SignerRepresentative {
|
|
|
22
22
|
name: string;
|
|
23
23
|
/**
|
|
24
24
|
* Already-translated relationship to the party, e.g. "Mother",
|
|
25
|
-
* "Legal guardian". Same contract as `
|
|
26
|
-
* host translates it, because the set
|
|
25
|
+
* "Legal guardian". Same contract as `RosterSigner.relationship` (the
|
|
26
|
+
* signing pattern's roster row): the host translates it, because the set
|
|
27
|
+
* is open.
|
|
27
28
|
*/
|
|
28
29
|
relationship?: string;
|
|
29
30
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature-status-chip.d.ts","sourceRoot":"","sources":["../../../src/components/signature-status-chip/signature-status-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AASxD,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;AAElE,gCAAgC;AAChC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;AAEhF;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAIjE;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb
|
|
1
|
+
{"version":3,"file":"signature-status-chip.d.ts","sourceRoot":"","sources":["../../../src/components/signature-status-chip/signature-status-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AASxD,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;AAElE,gCAAgC;AAChC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;AAEhF;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAIjE;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,cAAc;IAC7B,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;CAC1D;AAYD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,EACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,cAAc,GACjC,cAAc,CAKhB;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,cAAc,CAAC,CAC/C,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,cAAc,EACvB,SAAS,GAAE,cAA8B,EACzC,KAAK,CAAC,EAAE,oBAAoB,GAC3B,eAAe,CAUjB;AA6DD,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CACpD,cAAc,CAAC,eAAe,CAAC,EAC/B,UAAU,CACX;IACC,+BAA+B;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,8BAA8B;IAC9B,OAAO,EAAE,cAAc,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAMD,eAAO,MAAM,mBAAmB,sHAqO/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sms-code-entry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-code-entry.agent.d.ts","sourceRoot":"","sources":["../../../src/components/sms-code-entry/sms-code-entry.agent.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,kBAAkB,CAiE9D,CAAC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
/** What the host reports about the code. See `SmsCodeEntryProps.error`. */
|
|
3
|
+
export type SmsCodeEntryError = 'wrong' | 'expired' | 'locked' | 'send-failed' | 'resend-limit';
|
|
4
|
+
/**
|
|
5
|
+
* Agent-readiness curated handle for SmsCodeEntry. The code is a one-time
|
|
6
|
+
* credential: the handle never returns the digits, and it can neither
|
|
7
|
+
* submit the code nor ask for a new one. The person presses those buttons.
|
|
8
|
+
*/
|
|
9
|
+
export interface SmsCodeEntryHandle {
|
|
10
|
+
/** Empties the boxes. If a box had focus, focus waits in the first box. */
|
|
11
|
+
clear: () => void;
|
|
12
|
+
/** Moves focus to the boxes. Does nothing while they are disabled. */
|
|
13
|
+
focus: () => void;
|
|
14
|
+
/** How many digits are typed. Never the digits themselves. */
|
|
15
|
+
getFilledCount: () => number;
|
|
16
|
+
/** How many digits the code has. */
|
|
17
|
+
getLength: () => number;
|
|
18
|
+
/** Whether every box is filled. */
|
|
19
|
+
isComplete: () => boolean;
|
|
20
|
+
/** What the host reported about the code (`error`), or null. */
|
|
21
|
+
getError: () => SmsCodeEntryError | null;
|
|
22
|
+
}
|
|
23
|
+
export interface SmsCodeEntryProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'defaultValue' | 'onChange' | 'onSubmit'> {
|
|
24
|
+
/**
|
|
25
|
+
* The masked mobile the code went to, as the host formats it, for example
|
|
26
|
+
* "+39 ••• ••• 4521" (the last four digits). Shown inside
|
|
27
|
+
* `<bdi dir="ltr">`. Under `privacy`, or when absent, the sentence says
|
|
28
|
+
* "your mobile" instead.
|
|
29
|
+
*/
|
|
30
|
+
destination?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Replaces the default sentence that names the destination. Rendered as
|
|
33
|
+
* given, also under `privacy`: keep it free of personal data there.
|
|
34
|
+
*/
|
|
35
|
+
body?: ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Number of digit boxes, passed to `OTPInput`. Default 6. OTPInput draws
|
|
38
|
+
* 3 to 10 boxes and clamps anything else into that range. The boxes sit
|
|
39
|
+
* in groups of three that wrap onto more lines on a narrow screen.
|
|
40
|
+
*/
|
|
41
|
+
length?: number;
|
|
42
|
+
/** The digits, when controlled. Pair with `onValueChange`. */
|
|
43
|
+
value?: string;
|
|
44
|
+
/** The first digits, when uncontrolled. */
|
|
45
|
+
defaultValue?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Called with the digits on every change, controlled or not, including
|
|
48
|
+
* the empty string when the boxes empty after a submit or a resend.
|
|
49
|
+
*/
|
|
50
|
+
onValueChange?: (value: string) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Called with the code when the submit button is pressed with every box
|
|
53
|
+
* filled; the boxes then empty for the next attempt. The host decides
|
|
54
|
+
* right or wrong. Never called as the last digit lands (WCAG 3.2.2).
|
|
55
|
+
*/
|
|
56
|
+
onSubmit?: (code: string) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Submit button text. Default "Verify"; the step-up dialog passes
|
|
59
|
+
* "Confirm". Rendered as given, also under `privacy`: keep it free of
|
|
60
|
+
* personal data there.
|
|
61
|
+
*/
|
|
62
|
+
submitLabel?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The host is checking the code: the submit button shows a spinner and
|
|
65
|
+
* keeps focus; the boxes and "Send a new code" are disabled.
|
|
66
|
+
*/
|
|
67
|
+
submitting?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* What the host reports. `wrong` and `expired` sit on the field and the
|
|
70
|
+
* entry stays open; after a new attempt, focus returns to the first box.
|
|
71
|
+
* `locked` and `send-failed` disable the entry and show an alert.
|
|
72
|
+
* `resend-limit` hides "Send a new code" only: the last code still works.
|
|
73
|
+
* A field error is read out when it appears, so set `submitting` while the
|
|
74
|
+
* host checks the next code: the message then mounts again on each result.
|
|
75
|
+
*/
|
|
76
|
+
error?: SmsCodeEntryError | null;
|
|
77
|
+
/**
|
|
78
|
+
* Host text that replaces the default message for the current `error`,
|
|
79
|
+
* for example how long a lock lasts. Rendered as given, also under
|
|
80
|
+
* `privacy`: keep it free of personal data there.
|
|
81
|
+
*/
|
|
82
|
+
errorText?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Seconds until "Send a new code" unlocks, counted down by the host. Until
|
|
85
|
+
* then a line says how long is left; 0 or absent shows the button. The
|
|
86
|
+
* component runs no timer. A screen reader hears the wait only when it
|
|
87
|
+
* starts and when it ends.
|
|
88
|
+
*/
|
|
89
|
+
remainingSeconds?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Called when "Send a new code" is pressed. The button shows only when
|
|
92
|
+
* this is given. The boxes empty and focus waits in the first one.
|
|
93
|
+
*/
|
|
94
|
+
onResend?: () => void;
|
|
95
|
+
/**
|
|
96
|
+
* Shows "A new code is on its way" in a polite live region. Hidden while
|
|
97
|
+
* an `error` is shown.
|
|
98
|
+
*/
|
|
99
|
+
resent?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Adds the line "The code works for N minutes", for example 10 at
|
|
102
|
+
* sign-in. The figure is the host's. Plural through i18n.
|
|
103
|
+
*/
|
|
104
|
+
validityMinutes?: number;
|
|
105
|
+
/**
|
|
106
|
+
* An extra line under the boxes. Rendered as given, also under `privacy`:
|
|
107
|
+
* keep it free of personal data there.
|
|
108
|
+
*/
|
|
109
|
+
note?: ReactNode;
|
|
110
|
+
/**
|
|
111
|
+
* Default true: shows the line that the phone may fill in the code, and
|
|
112
|
+
* turns on `OTPInput`'s `webOtp` (D117). A filled code is never submitted
|
|
113
|
+
* for the person.
|
|
114
|
+
*/
|
|
115
|
+
autofillHint?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Shows "No SMS? Contact the practice." once a new code may be sent (no
|
|
118
|
+
* wait left) or the entry is stopped (AUTH-01: a landline takes the SMS
|
|
119
|
+
* silently).
|
|
120
|
+
*/
|
|
121
|
+
contactPracticeHint?: boolean;
|
|
122
|
+
/** Disables the boxes and both buttons. */
|
|
123
|
+
disabled?: boolean;
|
|
124
|
+
/** Moves focus to the first empty box on mount. */
|
|
125
|
+
autoFocus?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Posts the code under this name, through `OTPInput`'s hidden field. The
|
|
128
|
+
* boxes empty when the submit button is pressed, so a surrounding native
|
|
129
|
+
* form carries the code only if the host submits it synchronously inside
|
|
130
|
+
* `onSubmit` (for example `form.requestSubmit()`).
|
|
131
|
+
*/
|
|
132
|
+
name?: string;
|
|
133
|
+
/**
|
|
134
|
+
* The root's id, also written as `data-component-id` and used as the
|
|
135
|
+
* agent-registry key.
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
138
|
+
/** Extra classes for the root. */
|
|
139
|
+
className?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Privacy mode: the sentence says "your mobile" instead of the masked
|
|
142
|
+
* number. Nothing else the component writes is personal. Text the host
|
|
143
|
+
* passes in (`body`, `note`, `errorText`, `submitLabel`) is rendered as
|
|
144
|
+
* given, also under `privacy`.
|
|
145
|
+
*/
|
|
146
|
+
privacy?: boolean;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The SMS code step of sign-in, the step-up dialog, the check before a
|
|
150
|
+
* document opens and check-in: the masked mobile, one box per digit, resend
|
|
151
|
+
* and the code's states. Presentational: the host reports `error`,
|
|
152
|
+
* `remainingSeconds` and `resent`, and decides what a code means. Nothing
|
|
153
|
+
* here fetches, counts tries, compares codes or runs a timer. No email.
|
|
154
|
+
*/
|
|
155
|
+
export declare const SmsCodeEntry: import("react").ForwardRefExoticComponent<SmsCodeEntryProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
156
|
+
//# sourceMappingURL=sms-code-entry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-code-entry.d.ts","sourceRoot":"","sources":["../../../src/components/sms-code-entry/sms-code-entry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAYf,2EAA2E;AAC3E,MAAM,MAAM,iBAAiB,GACzB,OAAO,GACP,SAAS,GACT,QAAQ,GACR,aAAa,GACb,cAAc,CAAC;AAEnB;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,2EAA2E;IAC3E,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,sEAAsE;IACtE,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,8DAA8D;IAC9D,cAAc,EAAE,MAAM,MAAM,CAAC;IAC7B,oCAAoC;IACpC,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,mCAAmC;IACnC,UAAU,EAAE,MAAM,OAAO,CAAC;IAC1B,gEAAgE;IAChE,QAAQ,EAAE,MAAM,iBAAiB,GAAG,IAAI,CAAC;CAC1C;AA+CD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAC7C,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,UAAU,CACtD;IACC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mDAAmD;IACnD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,8GAiXxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/step-up-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type SmsCodeEntryProps } from '../sms-code-entry';
|
|
3
|
+
/** The `SmsCodeEntry` props the dialog passes through as they are. */
|
|
4
|
+
type EntryProps = Pick<SmsCodeEntryProps, 'destination' | 'length' | 'value' | 'defaultValue' | 'onValueChange' | 'error' | 'errorText' | 'remainingSeconds' | 'onResend' | 'resent' | 'validityMinutes' | 'note' | 'autofillHint' | 'contactPracticeHint'>;
|
|
5
|
+
/** Attributes for the dialog surface. The dialog owns its role and content. */
|
|
6
|
+
type SurfaceProps = Omit<HTMLAttributes<HTMLDivElement>, 'autoFocus' | 'children' | 'className' | 'dangerouslySetInnerHTML' | 'defaultValue' | 'id' | 'onChange' | 'onSubmit' | 'role' | 'title'>;
|
|
7
|
+
export interface StepUpDialogProps extends EntryProps, SurfaceProps {
|
|
8
|
+
/** Controlled open state. Pair with `onOpenChange`. */
|
|
9
|
+
open?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Initial open state, when uncontrolled. Uncontrolled, the dialog closes
|
|
12
|
+
* only when the person leaves: to close it after a passed check, control
|
|
13
|
+
* `open` or unmount it.
|
|
14
|
+
*/
|
|
15
|
+
defaultOpen?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Called when the dialog asks to open or close: Cancel, Close, Escape or
|
|
18
|
+
* a click on the scrim. The host's own `open={false}`, after a passed
|
|
19
|
+
* check, does not call it.
|
|
20
|
+
*/
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
/** The dialog title. Default "Confirm it's you". */
|
|
23
|
+
title?: string;
|
|
24
|
+
/**
|
|
25
|
+
* What the check is for, under the title, for example "Cancel your
|
|
26
|
+
* appointment on 12 March". Rendered as given, also under `privacy`:
|
|
27
|
+
* keep personal data out of it there.
|
|
28
|
+
*/
|
|
29
|
+
subject?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* No verified mobile on file (D99, D140): the code entry gives way to a
|
|
32
|
+
* line saying so and "Contact the practice", and Cancel becomes Close.
|
|
33
|
+
* There is no other way through: no email code and no tick box.
|
|
34
|
+
*/
|
|
35
|
+
noMobile?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Replaces the default no-mobile sentence ("There is no verified mobile
|
|
38
|
+
* number on your record…") when `noMobile` is set, for a host whose
|
|
39
|
+
* refusal differs, for example one with no contact at all to send a code
|
|
40
|
+
* to. Rendered as given. Has no effect without `noMobile`.
|
|
41
|
+
*/
|
|
42
|
+
noMobileText?: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* Called whenever the person leaves without a passed check: Cancel,
|
|
45
|
+
* Close, Escape or the scrim, after `onOpenChange(false)`. The host keeps
|
|
46
|
+
* the change unsaved.
|
|
47
|
+
*/
|
|
48
|
+
onCancel?: () => void;
|
|
49
|
+
/**
|
|
50
|
+
* Called with the code when Confirm is pressed with every box filled.
|
|
51
|
+
* The host checks it: on a pass it closes the dialog through `open`, on
|
|
52
|
+
* a fail it reports `error`. The dialog never closes itself on submit.
|
|
53
|
+
*/
|
|
54
|
+
onSubmit?: (code: string) => void;
|
|
55
|
+
/** Submit button text. Default "Confirm". */
|
|
56
|
+
submitLabel?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The host is checking the code: Confirm shows a spinner, and the boxes
|
|
59
|
+
* and "Send a new code" are disabled. Cancel stays available.
|
|
60
|
+
*/
|
|
61
|
+
submitting?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Disables the boxes, Confirm and "Send a new code". Cancel stays
|
|
64
|
+
* available, so the person can always leave.
|
|
65
|
+
*/
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Default true: on open, focus moves to the first box (to Close in the
|
|
69
|
+
* no-mobile view). False keeps focus on the dialog itself, so a screen
|
|
70
|
+
* reader starts at the title.
|
|
71
|
+
*/
|
|
72
|
+
autoFocus?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Passed to the entry, which posts the code under this name through
|
|
75
|
+
* `OTPInput`'s hidden field. The dialog renders in a portal, outside the
|
|
76
|
+
* host's form, so a form does not receive it: take the code from
|
|
77
|
+
* `onSubmit`.
|
|
78
|
+
*/
|
|
79
|
+
name?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Privacy mode: the entry says "your mobile" instead of the masked
|
|
82
|
+
* number, and the dialog carries `data-privacy="masked"`. The subject is
|
|
83
|
+
* shown as given.
|
|
84
|
+
*/
|
|
85
|
+
privacy?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Instance id, written as `data-component-id` in two places: on the
|
|
88
|
+
* dialog surface, which keeps the Dialog's own `data-component="dialog"`,
|
|
89
|
+
* and on the step-up body wrapper (`data-component="step-up-dialog"`).
|
|
90
|
+
* The composed Dialog registers its agent handle (open, close, dismiss)
|
|
91
|
+
* under it.
|
|
92
|
+
*/
|
|
93
|
+
id?: string;
|
|
94
|
+
/** Extra classes for the dialog surface. */
|
|
95
|
+
className?: string;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The SMS check before a sensitive step: cancelling, opening documents,
|
|
99
|
+
* editing details and every change of login email, mobile or PIN (D95,
|
|
100
|
+
* D122). A Radix dialog around `SmsCodeEntry`: focus moves to the first box
|
|
101
|
+
* on open and Escape cancels. Presentational: the host sends and checks the
|
|
102
|
+
* code, reports `error` and closes the dialog once the check passes. Nothing
|
|
103
|
+
* here fetches, counts tries, compares codes or remembers a passed check.
|
|
104
|
+
* The ref points at the dialog surface.
|
|
105
|
+
*/
|
|
106
|
+
export declare const StepUpDialog: import("react").ForwardRefExoticComponent<StepUpDialogProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
107
|
+
export {};
|
|
108
|
+
//# sourceMappingURL=step-up-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"step-up-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/step-up-dialog/step-up-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKhF,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAYzE,sEAAsE;AACtE,KAAK,UAAU,GAAG,IAAI,CACpB,iBAAiB,EACf,aAAa,GACb,QAAQ,GACR,OAAO,GACP,cAAc,GACd,eAAe,GACf,OAAO,GACP,WAAW,GACX,kBAAkB,GAClB,UAAU,GACV,QAAQ,GACR,iBAAiB,GACjB,MAAM,GACN,cAAc,GACd,qBAAqB,CACxB,CAAC;AAEF,+EAA+E;AAC/E,KAAK,YAAY,GAAG,IAAI,CACtB,cAAc,CAAC,cAAc,CAAC,EAC5B,WAAW,GACX,UAAU,GACV,WAAW,GACX,yBAAyB,GACzB,cAAc,GACd,IAAI,GACJ,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,CACV,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,UAAU,EAAE,YAAY;IACjE,uDAAuD;IACvD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,8GAyKxB,CAAC"}
|