@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,94 @@
|
|
|
1
|
+
import type { PortalHeadingLevel, PortalListStatus, StepUpConfig } from '../patient-portal/portal-types';
|
|
2
|
+
import type { PatientAccountSettingsChange, PatientAccountSettingsRowError, PatientAccountSettingsSection } from './patient-account-settings.types';
|
|
3
|
+
export interface PatientAccountSettingsProps {
|
|
4
|
+
/**
|
|
5
|
+
* The sections and rows to show, and no others. The screen adds no
|
|
6
|
+
* two-factor item, no new-message setting and no password row.
|
|
7
|
+
*/
|
|
8
|
+
sections: PatientAccountSettingsSection[];
|
|
9
|
+
/** The state of the read. Default `ready`. */
|
|
10
|
+
status?: PortalListStatus;
|
|
11
|
+
/**
|
|
12
|
+
* Host text that replaces the default error sentence in the `error` state.
|
|
13
|
+
* Rendered as given, also under `privacy`: keep personal data out of it there.
|
|
14
|
+
*/
|
|
15
|
+
errorText?: string;
|
|
16
|
+
/** Called by "Try again" in the error state. The button shows only when given. */
|
|
17
|
+
onRetry?: () => void;
|
|
18
|
+
/**
|
|
19
|
+
* Called by Save with the typed values. The screen saves nothing, compares
|
|
20
|
+
* nothing and judges nothing: the host checks the change, may ask for an
|
|
21
|
+
* SMS check first (it sets `stepUp`), and answers with `savingRowId`,
|
|
22
|
+
* `rowError` and `savedRowId`. The row keeps its old value until the host
|
|
23
|
+
* reports `savedRowId`.
|
|
24
|
+
*/
|
|
25
|
+
onSubmitChange: (change: PatientAccountSettingsChange) => void;
|
|
26
|
+
/** Id of the row whose panel is open, or `null` for none. Controlled; pair with `onEditingRowIdChange`. */
|
|
27
|
+
editingRowId?: string | null;
|
|
28
|
+
/** Initial `editingRowId` when uncontrolled. Default none. */
|
|
29
|
+
defaultEditingRowId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Called with a row id when its Change button opens the panel, and with
|
|
32
|
+
* `null` when Cancel closes it or when `savedRowId` names the open row.
|
|
33
|
+
*/
|
|
34
|
+
onEditingRowIdChange?: (rowId: string | null) => void;
|
|
35
|
+
/** The row whose change the host is checking: its Save shows a spinner. */
|
|
36
|
+
savingRowId?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The row whose change the host saved: its panel closes and a success
|
|
39
|
+
* message shows. The row's new value comes in through `sections`.
|
|
40
|
+
*/
|
|
41
|
+
savedRowId?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Replaces the default success sentence for `savedRowId` (for example to
|
|
44
|
+
* add that a notice went to your old email). Shows only while `savedRowId`
|
|
45
|
+
* names a row. Whether it is wanted is to confirm. Rendered as given, also
|
|
46
|
+
* under `privacy`: keep personal data out of it there.
|
|
47
|
+
*/
|
|
48
|
+
savedText?: string;
|
|
49
|
+
/** The host's refusal of the last change, for one row. */
|
|
50
|
+
rowError?: PatientAccountSettingsRowError | null;
|
|
51
|
+
/**
|
|
52
|
+
* The SMS check before a change goes through (D95, D122): the dialog is
|
|
53
|
+
* open while this is not null. SMS only, no email option. The host binds
|
|
54
|
+
* the step, sends and checks the code, and reports `error`, `submitting`
|
|
55
|
+
* and `noMobile`; the code goes to the current mobile. An unconfirmed
|
|
56
|
+
* change stays unsaved, and the draft stays when the person cancels.
|
|
57
|
+
*
|
|
58
|
+
* Give `onCancel` and let it set `stepUp` back to `null`: the dialog is
|
|
59
|
+
* forced open, so without it Escape and Cancel cannot close it. Close the
|
|
60
|
+
* dialog and report `savedRowId` in the same update, so focus can return
|
|
61
|
+
* to the row. The default sentence "The code goes to your current mobile"
|
|
62
|
+
* shows on a mobile change; `note: null` hides it.
|
|
63
|
+
*/
|
|
64
|
+
stepUp?: StepUpConfig | null;
|
|
65
|
+
/**
|
|
66
|
+
* Number of PIN digits, 4 to 12. Default 8. At 320 px a PIN of 12 digits
|
|
67
|
+
* fits: `PinIndicator` shrinks its dots to the width it has.
|
|
68
|
+
*/
|
|
69
|
+
pinLength?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Privacy mode: email and mobile values are masked, the Change buttons are
|
|
72
|
+
* hidden, an open panel is withheld (with a Cancel button, and its typed
|
|
73
|
+
* draft is dropped) and the dialog says "your mobile".
|
|
74
|
+
*/
|
|
75
|
+
privacy?: boolean;
|
|
76
|
+
/** Replaces the heading. Default "Account settings". */
|
|
77
|
+
title?: string;
|
|
78
|
+
/** Heading level of the title. Default 1; use 2 inside a page with an h1. */
|
|
79
|
+
headingLevel?: PortalHeadingLevel;
|
|
80
|
+
/** Move focus to the heading when the screen shows. Default false. */
|
|
81
|
+
focusOnMount?: boolean;
|
|
82
|
+
/** Extra classes for the root. */
|
|
83
|
+
className?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Account settings (HTP-6917): how the patient signs in. Each editable row
|
|
87
|
+
* (login email, mobile, PIN) opens an inline panel with Save and Cancel. The
|
|
88
|
+
* host does the checking, the SMS code and the saving; this screen sends the
|
|
89
|
+
* typed values out and shows what the host reports. Ends with the passkey
|
|
90
|
+
* note. Drafts and PINs live only in the open panel and go when it closes or
|
|
91
|
+
* the screen unmounts.
|
|
92
|
+
*/
|
|
93
|
+
export declare function PatientAccountSettings({ sections, status, errorText, onRetry, onSubmitChange, editingRowId, defaultEditingRowId, onEditingRowIdChange, savingRowId, savedRowId, savedText, rowError, stepUp, pinLength, privacy, title, headingLevel, focusOnMount, className, }: PatientAccountSettingsProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
//# sourceMappingURL=patient-account-settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-account-settings.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-account-settings/patient-account-settings.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACb,MAAM,gCAAgC,CAAC;AAQxC,OAAO,KAAK,EACV,4BAA4B,EAE5B,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,kCAAkC,CAAC;AAgL1C,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,QAAQ,EAAE,6BAA6B,EAAE,CAAC;IAC1C,8CAA8C;IAC9C,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;;OAMG;IACH,cAAc,EAAE,CAAC,MAAM,EAAE,4BAA4B,KAAK,IAAI,CAAC;IAC/D,2GAA2G;IAC3G,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,8DAA8D;IAC9D,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACtD,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,8BAA8B,GAAG,IAAI,CAAC;IACjD;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,MAAgB,EAChB,SAAS,EACT,OAAO,EACP,cAAc,EACd,YAAY,EACZ,mBAA0B,EAC1B,oBAAoB,EACpB,WAAkB,EAClB,UAAiB,EACjB,SAAS,EACT,QAAe,EACf,MAAa,EACb,SAAS,EACT,OAAe,EACf,KAAK,EACL,YAAgB,EAChB,YAAoB,EACpB,SAAS,GACV,EAAE,2BAA2B,2CA4J7B"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a row is. `email`, `mobile` and `pin` open an inline change panel.
|
|
3
|
+
* `readonly` shows a label and a value and offers no change (unsourced, to
|
|
4
|
+
* confirm). There is no on/off kind (D128), no password and no two-factor.
|
|
5
|
+
*/
|
|
6
|
+
export type PatientAccountSettingsRowKind = 'readonly' | 'email' | 'mobile' | 'pin';
|
|
7
|
+
/** One row of a section (PORTAL-DS-03:112). */
|
|
8
|
+
export interface PatientAccountSettingsRow {
|
|
9
|
+
/** Stable id, handed to the callbacks and matched by `editingRowId`. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** What the row is. */
|
|
12
|
+
kind: PatientAccountSettingsRowKind;
|
|
13
|
+
/**
|
|
14
|
+
* The row label, already translated by the host (for example "Login
|
|
15
|
+
* email"). Absent: the kit's own label for the kind ("Login email",
|
|
16
|
+
* "Mobile", "PIN"). A `readonly` row has no default, so it shows no label.
|
|
17
|
+
*/
|
|
18
|
+
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The value on record. An email and a mobile are laid out in
|
|
21
|
+
* `<bdi dir="ltr">`, a read-only value in a plain `<bdi>` (the host masks
|
|
22
|
+
* a mobile, for example `+39 ••• ••• 4521`).
|
|
23
|
+
* Absent for `pin`: the PIN is never shown, the row says it is set and
|
|
24
|
+
* hidden. Masked under `privacy`.
|
|
25
|
+
*/
|
|
26
|
+
value?: string;
|
|
27
|
+
/** Replaces the label of the Change button. Default by kind ("Change email"). */
|
|
28
|
+
changeLabel?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Disables the Change button (unsourced, to confirm). A panel that is
|
|
31
|
+
* already open stays usable.
|
|
32
|
+
*/
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/** A group of rows. The screen shows the sections it is given, and no others. */
|
|
36
|
+
export interface PatientAccountSettingsSection {
|
|
37
|
+
/** Stable id of the section. */
|
|
38
|
+
id: string;
|
|
39
|
+
/** The section heading, host data. Absent: the rows show with no heading. */
|
|
40
|
+
title?: string;
|
|
41
|
+
/** The rows of the section. */
|
|
42
|
+
rows: PatientAccountSettingsRow[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* What "Save" sends to the host (HTP-6938 AC). The screen compares nothing:
|
|
46
|
+
* `newPin` and `confirmPin` both go out, and the host answers with a
|
|
47
|
+
* `rowError` (`pin-mismatch`) when they differ.
|
|
48
|
+
*/
|
|
49
|
+
export type PatientAccountSettingsChange = {
|
|
50
|
+
/** The id of the row that was edited. */
|
|
51
|
+
rowId: string;
|
|
52
|
+
kind: 'email';
|
|
53
|
+
/** The new login email, as typed. */
|
|
54
|
+
email: string;
|
|
55
|
+
} | {
|
|
56
|
+
rowId: string;
|
|
57
|
+
kind: 'mobile';
|
|
58
|
+
/** The current PIN, as typed on the keypad. */
|
|
59
|
+
currentPin: string;
|
|
60
|
+
/** The new mobile number in E.164 form. */
|
|
61
|
+
mobile: string;
|
|
62
|
+
} | {
|
|
63
|
+
rowId: string;
|
|
64
|
+
kind: 'pin';
|
|
65
|
+
/** The current PIN. */
|
|
66
|
+
currentPin: string;
|
|
67
|
+
/** The new PIN. */
|
|
68
|
+
newPin: string;
|
|
69
|
+
/** The new PIN again. Not compared here. */
|
|
70
|
+
confirmPin: string;
|
|
71
|
+
};
|
|
72
|
+
/** Why the host refused a change. */
|
|
73
|
+
export type PatientAccountSettingsRowErrorCode = 'invalid-value' | 'wrong-current-pin' | 'pin-refused' | 'pin-mismatch';
|
|
74
|
+
/**
|
|
75
|
+
* A refusal the host reports for one row (PORTAL-DS-03:114, :142; D131).
|
|
76
|
+
* `invalid-value` sits on the new email or mobile field; the others sit on
|
|
77
|
+
* the PIN entry. The host's judgement, the screen's wording.
|
|
78
|
+
*/
|
|
79
|
+
export interface PatientAccountSettingsRowError {
|
|
80
|
+
/** The row the refusal belongs to. */
|
|
81
|
+
rowId: string;
|
|
82
|
+
/** What kind of refusal it is. */
|
|
83
|
+
code: PatientAccountSettingsRowErrorCode;
|
|
84
|
+
/**
|
|
85
|
+
* The host's reason, shown as given (for example why a PIN is refused).
|
|
86
|
+
* Rendered as given, also under `privacy`: keep personal data out of it there.
|
|
87
|
+
* Absent: a short default for the code (the fallback wording is to confirm).
|
|
88
|
+
*/
|
|
89
|
+
text?: string;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=patient-account-settings.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-account-settings.types.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-account-settings/patient-account-settings.types.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GACrC,UAAU,GACV,OAAO,GACP,QAAQ,GACR,KAAK,CAAC;AAEV,+CAA+C;AAC/C,MAAM,WAAW,yBAAyB;IACxC,wEAAwE;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,uBAAuB;IACvB,IAAI,EAAE,6BAA6B,CAAC;IACpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,iFAAiF;AACjF,MAAM,WAAW,6BAA6B;IAC5C,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,IAAI,EAAE,yBAAyB,EAAE,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GACpC;IACE,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;CACf,GACD;IACE,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,CAAC;IACf,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IACE,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEN,qCAAqC;AACrC,MAAM,MAAM,kCAAkC,GAC1C,eAAe,GACf,mBAAmB,GACnB,aAAa,GACb,cAAc,CAAC;AAEnB;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,IAAI,EAAE,kCAAkC,CAAC;IACzC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { CheckInShell } from './patient-check-in-shell';
|
|
2
|
+
export type { CheckInShellProps, CheckInShellSession, CheckInShellTimedOut, } from './patient-check-in-shell';
|
|
3
|
+
export { CheckInEntry } from './patient-check-in-entry';
|
|
4
|
+
export type { CheckInEntryProps } from './patient-check-in-entry';
|
|
5
|
+
export { CheckInHub } from './patient-check-in-hub';
|
|
6
|
+
export type { CheckInHubProps } from './patient-check-in-hub';
|
|
7
|
+
export { CheckInHubEmpty } from './patient-check-in-hub-empty';
|
|
8
|
+
export type { CheckInHubEmptyProps, CheckInHubEmptyReason, } from './patient-check-in-hub-empty';
|
|
9
|
+
export { CheckInPersonalData } from './patient-check-in-personal-data';
|
|
10
|
+
export type { CheckInPersonalDataProps, CheckInRecordField, } from './patient-check-in-personal-data';
|
|
11
|
+
export { CheckInDone } from './patient-check-in-done';
|
|
12
|
+
export type { CheckInDoneProps } from './patient-check-in-done';
|
|
13
|
+
export { CheckInAppointmentChanged } from './patient-check-in-changed';
|
|
14
|
+
export type { CheckInAppointmentChangedProps } from './patient-check-in-changed';
|
|
15
|
+
export { CheckInConnectionNotice } from './patient-check-in-connection-notice';
|
|
16
|
+
export type { CheckInConnectionNoticeProps } from './patient-check-in-connection-notice';
|
|
17
|
+
export { CheckInResume } from './patient-check-in-resume';
|
|
18
|
+
export type { CheckInResumeProps } from './patient-check-in-resume';
|
|
19
|
+
export type { CheckInHeadingLevel, CheckInDueReason, CheckInDueItem, CheckInAvailability, CheckInStepRef, CheckInSummaryItem, CheckInSourceOption, CheckInSource, CheckInPersonalDataValues, CheckInPersonalDataFieldErrors, CheckInPortalLink, } from './patient-check-in-types';
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,YAAY,EACV,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,YAAY,EACV,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,YAAY,EACV,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,YAAY,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,YAAY,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,YAAY,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EACV,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,yBAAyB,EACzB,8BAA8B,EAC9B,iBAAiB,GAClB,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { C as a, a as c, b as h, c as C, d as s, e as k, f as I, g as o, h as t } from "../../_chunks/patient-check-in-resume-xhqjC6gf.js";
|
|
2
|
+
export {
|
|
3
|
+
a as CheckInAppointmentChanged,
|
|
4
|
+
c as CheckInConnectionNotice,
|
|
5
|
+
h as CheckInDone,
|
|
6
|
+
C as CheckInEntry,
|
|
7
|
+
s as CheckInHub,
|
|
8
|
+
k as CheckInHubEmpty,
|
|
9
|
+
I as CheckInPersonalData,
|
|
10
|
+
o as CheckInResume,
|
|
11
|
+
t as CheckInShell
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type AppointmentItem } from '../../components/appointment-card';
|
|
2
|
+
import type { CheckInHeadingLevel } from './patient-check-in-types';
|
|
3
|
+
export interface CheckInAppointmentChangedProps {
|
|
4
|
+
/**
|
|
5
|
+
* The appointment that was cancelled while the patient did the paperwork.
|
|
6
|
+
* The card always shows it as cancelled, whatever `state` the item holds.
|
|
7
|
+
* A moved appointment is not built (CHECKIN-19 Q1, to confirm).
|
|
8
|
+
*/
|
|
9
|
+
appointment: AppointmentItem;
|
|
10
|
+
/** IANA time zone of the practice, for example `"Europe/Rome"`. */
|
|
11
|
+
timeZone?: string;
|
|
12
|
+
/** BCP 47 locale for the day and time. Default: the UI language. */
|
|
13
|
+
locale?: string;
|
|
14
|
+
/** Called by "Open the patient portal". The button shows only when this is given. */
|
|
15
|
+
onPortal?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Privacy mode: the card keeps only day, time, place, operator and status.
|
|
18
|
+
*/
|
|
19
|
+
privacy?: boolean;
|
|
20
|
+
/** Heading level of the title. Default 1; use 2 inside a page with an h1. */
|
|
21
|
+
headingLevel?: CheckInHeadingLevel;
|
|
22
|
+
/** Move focus to the heading when the screen shows. Default false. */
|
|
23
|
+
focusOnMount?: boolean;
|
|
24
|
+
/** Extra classes for the root. */
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The mid-flow stop (HTP-6958 AC, CHECKIN-19:57): the appointment was
|
|
29
|
+
* cancelled while the patient did the paperwork, and nothing more is
|
|
30
|
+
* recorded for it. The host stops the flow and shows this.
|
|
31
|
+
*/
|
|
32
|
+
export declare function CheckInAppointmentChanged({ appointment, timeZone, locale, onPortal, privacy, headingLevel, focusOnMount, className, }: CheckInAppointmentChangedProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=patient-check-in-changed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-changed.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-changed.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,mCAAmC,CAAC;AAQ3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,WAAW,8BAA8B;IAC7C;;;;OAIG;IACH,WAAW,EAAE,eAAe,CAAC;IAC7B,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,WAAW,EACX,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,OAAe,EACf,YAAgB,EAChB,YAAoB,EACpB,SAAS,GACV,EAAE,8BAA8B,2CA8ChC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface CheckInConnectionNoticeProps {
|
|
2
|
+
/**
|
|
3
|
+
* Called by "Try again". Required: the notice has no other action. The
|
|
4
|
+
* host tries the last step again. The form under it keeps what was typed.
|
|
5
|
+
*
|
|
6
|
+
* Focus: a retry that works makes the host remove the notice, and the
|
|
7
|
+
* focused "Try again" button goes with it, so focus falls to the page. The
|
|
8
|
+
* host must then move focus to the current step's heading (the portal does
|
|
9
|
+
* the same for its retry).
|
|
10
|
+
*/
|
|
11
|
+
onRetry: () => void;
|
|
12
|
+
/** The host is trying again: the button shows a spinner and ignores presses. */
|
|
13
|
+
submitting?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Heading level of the title. Default: none, the title is plain text, so
|
|
16
|
+
* the notice never puts an h2 before the screen's h1. Give 2 or 3 to make
|
|
17
|
+
* it a heading inside a section.
|
|
18
|
+
*/
|
|
19
|
+
headingLevel?: 2 | 3;
|
|
20
|
+
/** Extra classes for the root. */
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The non-blocking notice for a lost connection (HTP-6920 AC, CHECKIN-19:76):
|
|
25
|
+
* it sits above the current step and does not replace it, so nothing the
|
|
26
|
+
* patient typed is lost. The host decides when it shows.
|
|
27
|
+
*/
|
|
28
|
+
export declare function CheckInConnectionNotice({ onRetry, submitting, headingLevel, className, }: CheckInConnectionNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=patient-check-in-connection-notice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-connection-notice.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-connection-notice.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,4BAA4B;IAC3C;;;;;;;;OAQG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gFAAgF;IAChF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACrB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,UAAkB,EAClB,YAAY,EACZ,SAAS,GACV,EAAE,4BAA4B,2CA4B9B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { CheckInPortalLink, CheckInSummaryItem } from './patient-check-in-types';
|
|
2
|
+
export interface CheckInDoneProps {
|
|
3
|
+
/**
|
|
4
|
+
* The steps and how each ended: `done`, or `skipped` when the practice
|
|
5
|
+
* needs nothing for it (HTP-6948). Empty: no list.
|
|
6
|
+
*/
|
|
7
|
+
summary: CheckInSummaryItem[];
|
|
8
|
+
/**
|
|
9
|
+
* The one link to the portal. It holds no patient data and no appointment
|
|
10
|
+
* id. No button shows when neither `onClick` nor `href` is given.
|
|
11
|
+
*/
|
|
12
|
+
portal?: CheckInPortalLink;
|
|
13
|
+
/** Move focus to the title when the screen shows. Default false. */
|
|
14
|
+
focusOnMount?: boolean;
|
|
15
|
+
/** Extra classes for the root. */
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The one end screen of check-in (HTP-6920 AC, CHECKIN-16): "Paperwork done"
|
|
20
|
+
* and "The front desk will welcome you when you arrive." It never says "You
|
|
21
|
+
* are checked in", because paperwork done is not arrival. Sign out is the
|
|
22
|
+
* shell's: the host renders this inside `CheckInShell`.
|
|
23
|
+
*/
|
|
24
|
+
export declare function CheckInDone({ summary, portal, focusOnMount, className, }: CheckInDoneProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=patient-check-in-done.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-done.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-done.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAElC,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B;;;OAGG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,MAAM,EACN,YAAoB,EACpB,SAAS,GACV,EAAE,gBAAgB,2CA4DlB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { CheckInHeadingLevel } from './patient-check-in-types';
|
|
3
|
+
export interface CheckInEntryProps {
|
|
4
|
+
/**
|
|
5
|
+
* Called by "Sign in". Required: the screen has no other way on. The host
|
|
6
|
+
* starts the sign-in (the sign-in pattern, HTP-6898).
|
|
7
|
+
*/
|
|
8
|
+
onSignIn: () => void;
|
|
9
|
+
/** The host is starting the sign-in: the button shows a spinner. */
|
|
10
|
+
submitting?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The language control. A slot, because the kit stores nothing: the host
|
|
13
|
+
* passes a controlled `LocalePicker`.
|
|
14
|
+
*/
|
|
15
|
+
languageSlot?: ReactNode;
|
|
16
|
+
/** Heading level of the title. Default 1; use 2 inside a page with an h1. */
|
|
17
|
+
headingLevel?: CheckInHeadingLevel;
|
|
18
|
+
/** Move focus to the heading when the screen shows. Default false. */
|
|
19
|
+
focusOnMount?: boolean;
|
|
20
|
+
/** Extra classes for the root. */
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The first screen of check-in (HTP-6920 AC, CHECKIN-DS-01:106): the
|
|
25
|
+
* language and one Sign in action. It names no patient, appointment or
|
|
26
|
+
* practice and shows no QR code, because nobody is signed in yet.
|
|
27
|
+
*/
|
|
28
|
+
export declare function CheckInEntry({ onSignIn, submitting, languageSlot, headingLevel, focusOnMount, className, }: CheckInEntryProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=patient-check-in-entry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-entry.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-entry.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,oEAAoE;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,UAAkB,EAClB,YAAY,EACZ,YAAgB,EAChB,YAAoB,EACpB,SAAS,GACV,EAAE,iBAAiB,2CA0BnB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CheckInHeadingLevel } from './patient-check-in-types';
|
|
2
|
+
/**
|
|
3
|
+
* Why there is nothing to check in for (CHECKIN-06:40, :85, :105):
|
|
4
|
+
* `no-appointment` the patient has no appointment to prepare;
|
|
5
|
+
* `no-linked-record` the account has no linked record, so no appointment can
|
|
6
|
+
* show. The host decides which.
|
|
7
|
+
*/
|
|
8
|
+
export type CheckInHubEmptyReason = 'no-appointment' | 'no-linked-record';
|
|
9
|
+
export interface CheckInHubEmptyProps {
|
|
10
|
+
/** Why the hub is empty. Required. */
|
|
11
|
+
reason: CheckInHubEmptyReason;
|
|
12
|
+
/** Called by "Open the patient portal". The button shows only when this is given. */
|
|
13
|
+
onPortal?: () => void;
|
|
14
|
+
/** Heading level of the title. Default 1; use 2 inside a page with an h1. */
|
|
15
|
+
headingLevel?: CheckInHeadingLevel;
|
|
16
|
+
/** Move focus to the heading when the screen shows. Default false. */
|
|
17
|
+
focusOnMount?: boolean;
|
|
18
|
+
/** Extra classes for the root. */
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
/** The hub when there is nothing to check in for (HTP-6920 AC, CI-12). */
|
|
22
|
+
export declare function CheckInHubEmpty({ reason, onPortal, headingLevel, focusOnMount, className, }: CheckInHubEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=patient-check-in-hub-empty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-hub-empty.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-hub-empty.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,kBAAkB,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,0EAA0E;AAC1E,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,QAAQ,EACR,YAAgB,EAChB,YAAoB,EACpB,SAAS,GACV,EAAE,oBAAoB,2CAiCtB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type AppointmentItem } from '../../components/appointment-card';
|
|
2
|
+
import type { CheckInAvailability, CheckInDueItem, CheckInHeadingLevel } from './patient-check-in-types';
|
|
3
|
+
export interface CheckInHubProps {
|
|
4
|
+
/**
|
|
5
|
+
* The appointment, as the kit's `AppointmentItem`, with `practiceName` and
|
|
6
|
+
* its treatments. The screen shows it and computes nothing from it.
|
|
7
|
+
*/
|
|
8
|
+
appointment: AppointmentItem;
|
|
9
|
+
/**
|
|
10
|
+
* IANA time zone of the practice, for example `"Europe/Rome"`. The day and
|
|
11
|
+
* time read on the practice's clock, not the browser's.
|
|
12
|
+
*/
|
|
13
|
+
timeZone?: string;
|
|
14
|
+
/** BCP 47 locale for the day and time, for example `"it-IT"`. Default: the UI language. */
|
|
15
|
+
locale?: string;
|
|
16
|
+
/** What is due before the visit, in the order to show. Empty: no list. */
|
|
17
|
+
due: CheckInDueItem[];
|
|
18
|
+
/**
|
|
19
|
+
* Whether online check-in is on. Default: on. Off, the appointment and the
|
|
20
|
+
* due list still show, with the host's reason, and Continue is disabled.
|
|
21
|
+
*/
|
|
22
|
+
checkIn?: CheckInAvailability;
|
|
23
|
+
/**
|
|
24
|
+
* The host decided all paperwork is done. The screen then says so and shows
|
|
25
|
+
* no Continue. The kit never works this out from `due`.
|
|
26
|
+
*/
|
|
27
|
+
paperworkDone?: boolean;
|
|
28
|
+
/** The host is acting on Continue: the button shows a spinner. */
|
|
29
|
+
submitting?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Called by "Continue". It selects and marks nothing (D110): the host moves
|
|
32
|
+
* to the next step. Always called while the button is enabled.
|
|
33
|
+
*/
|
|
34
|
+
onContinue: () => void;
|
|
35
|
+
/** Called by "Not me". Required: a patient who is not this person must have a way out. */
|
|
36
|
+
onNotMe: () => void;
|
|
37
|
+
/** Called by "Documents". The button shows only when this is given. */
|
|
38
|
+
onDocuments?: () => void;
|
|
39
|
+
/** Called by "Cancel appointment". The button shows only when this is given. */
|
|
40
|
+
onCancel?: () => void;
|
|
41
|
+
/**
|
|
42
|
+
* Privacy mode: the card keeps only day, time, place, operator and status.
|
|
43
|
+
* The booking reason, care plan, treatments and patient are dropped. The
|
|
44
|
+
* labels of the due list show as given: keep them free of personal or
|
|
45
|
+
* clinical detail.
|
|
46
|
+
*/
|
|
47
|
+
privacy?: boolean;
|
|
48
|
+
/** Heading level of the title. Default 1; use 2 inside a page with an h1. */
|
|
49
|
+
headingLevel?: CheckInHeadingLevel;
|
|
50
|
+
/** Move focus to the heading when the screen shows. Default false. */
|
|
51
|
+
focusOnMount?: boolean;
|
|
52
|
+
/** Extra classes for the root. */
|
|
53
|
+
className?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The hub of check-in (HTP-6920 AC, CHECKIN-DS-01:108): one appointment, what
|
|
57
|
+
* is due and the actions. It has no "arrived" button and no QR code. The
|
|
58
|
+
* host decides every status, and the pattern computes nothing.
|
|
59
|
+
*/
|
|
60
|
+
export declare function CheckInHub({ appointment, timeZone, locale, due, checkIn, paperworkDone, submitting, onContinue, onNotMe, onDocuments, onCancel, privacy, headingLevel, focusOnMount, className, }: CheckInHubProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
//# sourceMappingURL=patient-check-in-hub.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-hub.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-hub.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,mCAAmC,CAAC;AAS3C,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,WAAW,EAAE,eAAe,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2FAA2F;IAC3F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,GAAG,EAAE,cAAc,EAAE,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,0FAA0F;IAC1F,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,WAAW,EACX,QAAQ,EACR,MAAM,EACN,GAAG,EACH,OAAO,EACP,aAAqB,EACrB,UAAkB,EAClB,UAAU,EACV,OAAO,EACP,WAAW,EACX,QAAQ,EACR,OAAe,EACf,YAAgB,EAChB,YAAoB,EACpB,SAAS,GACV,EAAE,eAAe,2CA2JjB"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type PortalDetailsReadOnly, type StepUpConfig } from '../patient-portal';
|
|
2
|
+
import type { CheckInHeadingLevel, CheckInPersonalDataFieldErrors, CheckInPersonalDataValues, CheckInSource } from './patient-check-in-types';
|
|
3
|
+
/** The fields that can carry the "From your record" mark. */
|
|
4
|
+
export type CheckInRecordField = 'firstName' | 'lastName' | 'address' | 'country' | 'contactEmail' | 'phone';
|
|
5
|
+
export interface CheckInPersonalDataProps {
|
|
6
|
+
/** The facts the patient cannot change here: birth date, codice fiscale and the masked mobile. */
|
|
7
|
+
readOnly: PortalDetailsReadOnly;
|
|
8
|
+
/** The values on screen, for controlled use. Pair with `onValuesChange`. */
|
|
9
|
+
values?: CheckInPersonalDataValues;
|
|
10
|
+
/** The first values when uncontrolled. Default: all empty. */
|
|
11
|
+
defaultValues?: CheckInPersonalDataValues;
|
|
12
|
+
/** Called with the whole next set of values on every change, `source` included. */
|
|
13
|
+
onValuesChange?: (values: CheckInPersonalDataValues) => void;
|
|
14
|
+
/** Host error texts, one per field. The server decides; nothing is checked here. */
|
|
15
|
+
fieldErrors?: CheckInPersonalDataFieldErrors;
|
|
16
|
+
/**
|
|
17
|
+
* The Fonte field (C-14). It shows only when this is given: the host
|
|
18
|
+
* decides whether the practice asks, and whether an empty choice is an
|
|
19
|
+
* error (it answers through `source.error`).
|
|
20
|
+
*/
|
|
21
|
+
source?: CheckInSource;
|
|
22
|
+
/**
|
|
23
|
+
* Marks the values "From your record". Default true: every value is marked.
|
|
24
|
+
* Pass `false` for none, or an object with one flag per field: the host
|
|
25
|
+
* knows which values came from the record, so an empty field the patient
|
|
26
|
+
* must complete can stay unmarked. A field left out of the object is
|
|
27
|
+
* unmarked.
|
|
28
|
+
*/
|
|
29
|
+
fromRecord?: boolean | Partial<Record<CheckInRecordField, boolean>>;
|
|
30
|
+
/**
|
|
31
|
+
* Called by "Continue" with the current values. Always called: only the
|
|
32
|
+
* host judges the answers and replies with `fieldErrors` or `source.error`.
|
|
33
|
+
*/
|
|
34
|
+
onSubmit: (values: CheckInPersonalDataValues) => void;
|
|
35
|
+
/** The host is saving: the button shows a spinner and the fields are disabled. */
|
|
36
|
+
submitting?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The patient has no verified mobile in this session (C-1, D140). The
|
|
39
|
+
* details show read-only, Continue is hidden and a message sends the
|
|
40
|
+
* patient to the front desk. There is no tick box and no code by email.
|
|
41
|
+
*/
|
|
42
|
+
noMobile?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The SMS check before the host saves a change (D95). The dialog is open
|
|
45
|
+
* while this is not null. The host binds the step, decides the code and
|
|
46
|
+
* may never ask (Q81, to confirm).
|
|
47
|
+
*
|
|
48
|
+
* Give `onCancel` and let it set `stepUp` back to `null`: the dialog is
|
|
49
|
+
* forced open, so without it Escape and Cancel cannot close it (WCAG 2.1.2).
|
|
50
|
+
*/
|
|
51
|
+
stepUp?: StepUpConfig | null;
|
|
52
|
+
/** BCP 47 locale for the birth date and the country name. Default: the UI language. */
|
|
53
|
+
locale?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Privacy mode: every personal value is masked, the form and Fonte are
|
|
56
|
+
* withheld, and Continue stays.
|
|
57
|
+
*/
|
|
58
|
+
privacy?: boolean;
|
|
59
|
+
/** Heading level of the title. Default 1; use 2 inside a page with an h1. */
|
|
60
|
+
headingLevel?: CheckInHeadingLevel;
|
|
61
|
+
/** Move focus to the heading when the screen shows. Default false. */
|
|
62
|
+
focusOnMount?: boolean;
|
|
63
|
+
/** Extra classes for the root. */
|
|
64
|
+
className?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The personal data step of check-in (HTP-6920 AC, CHECKIN-08): "Are your
|
|
68
|
+
* details right?". It wraps the portal's details form module (R5) and adds
|
|
69
|
+
* only the "From your record" mark and the Fonte field. It saves nothing and
|
|
70
|
+
* validates nothing: Continue always calls `onSubmit`.
|
|
71
|
+
*/
|
|
72
|
+
export declare function CheckInPersonalData({ readOnly, values, defaultValues, onValuesChange, fieldErrors, source, fromRecord, onSubmit, submitting, noMobile, stepUp, locale, privacy, headingLevel, focusOnMount, className, }: CheckInPersonalDataProps): import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
//# sourceMappingURL=patient-check-in-personal-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-personal-data.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-personal-data.tsx"],"names":[],"mappings":"AAeA,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,KAAK,EACV,mBAAmB,EACnB,8BAA8B,EAC9B,yBAAyB,EACzB,aAAa,EACd,MAAM,0BAA0B,CAAC;AA2BlC,6DAA6D;AAC7D,MAAM,MAAM,kBAAkB,GAC1B,WAAW,GACX,UAAU,GACV,SAAS,GACT,SAAS,GACT,cAAc,GACd,OAAO,CAAC;AAWZ,MAAM,WAAW,wBAAwB;IACvC,kGAAkG;IAClG,QAAQ,EAAE,qBAAqB,CAAC;IAChC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,8DAA8D;IAC9D,aAAa,CAAC,EAAE,yBAAyB,CAAC;IAC1C,mFAAmF;IACnF,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC7D,oFAAoF;IACpF,WAAW,CAAC,EAAE,8BAA8B,CAAC;IAC7C;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC;IACpE;;;OAGG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACtD,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,uFAAuF;IACvF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAM,EACN,aAAa,EACb,cAAc,EACd,WAAW,EACX,MAAM,EACN,UAAiB,EACjB,QAAQ,EACR,UAAkB,EAClB,QAAgB,EAChB,MAAa,EACb,MAAM,EACN,OAAe,EACf,YAAgB,EAChB,YAAoB,EACpB,SAAS,GACV,EAAE,wBAAwB,2CAmN1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AppointmentItem } from '../../components/appointment-card';
|
|
2
|
+
/**
|
|
3
|
+
* The appointment as privacy mode may show it (HTP-6920, PHASE5 1.3): an
|
|
4
|
+
* allow-list, so a field the host adds later stays hidden until it is chosen
|
|
5
|
+
* here. Time, place, operator and status stay. The booking reason, booking
|
|
6
|
+
* note, care plan, treatments, patient, money, signing and link are dropped.
|
|
7
|
+
*/
|
|
8
|
+
export declare function privateAppointmentItem(item: AppointmentItem): AppointmentItem;
|
|
9
|
+
//# sourceMappingURL=patient-check-in-privacy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-privacy.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-privacy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe,CAW7E"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CheckInHeadingLevel, CheckInStepRef } from './patient-check-in-types';
|
|
2
|
+
export interface CheckInResumeProps {
|
|
3
|
+
/** The steps, in order, with which are done. The host decides; nothing is computed. */
|
|
4
|
+
steps: CheckInStepRef[];
|
|
5
|
+
/**
|
|
6
|
+
* Called by "Resume check-in". The host opens the first step that is not
|
|
7
|
+
* done and applies its own time limit (HTP-6958 QA).
|
|
8
|
+
*/
|
|
9
|
+
onResume: () => void;
|
|
10
|
+
/**
|
|
11
|
+
* Called by "Start over". Required. The note under it says starting over
|
|
12
|
+
* keeps what is already saved (a proposal, to confirm).
|
|
13
|
+
*/
|
|
14
|
+
onStartOver: () => void;
|
|
15
|
+
/** The host is acting on Resume: the button shows a spinner and both ignore presses. */
|
|
16
|
+
submitting?: boolean;
|
|
17
|
+
/** Heading level of the title. Default 1; use 2 inside a page with an h1. */
|
|
18
|
+
headingLevel?: CheckInHeadingLevel;
|
|
19
|
+
/** Move focus to the heading when the screen shows. Default false. */
|
|
20
|
+
focusOnMount?: boolean;
|
|
21
|
+
/** Extra classes for the root. */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* "Continue where you left off" (HTP-6958 QA, CHECKIN-17): what is done, what
|
|
26
|
+
* is still to do, and the two ways on. The host keeps the saved steps.
|
|
27
|
+
*/
|
|
28
|
+
export declare function CheckInResume({ steps, onResume, onStartOver, submitting, headingLevel, focusOnMount, className, }: CheckInResumeProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=patient-check-in-resume.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-check-in-resume.d.ts","sourceRoot":"","sources":["../../../src/patterns/patient-check-in/patient-check-in-resume.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,0BAA0B,CAAC;AAElC,MAAM,WAAW,kBAAkB;IACjC,uFAAuF;IACvF,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB;;;OAGG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,wFAAwF;IACxF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,sEAAsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,UAAkB,EAClB,YAAgB,EAChB,YAAoB,EACpB,SAAS,GACV,EAAE,kBAAkB,2CAwEpB"}
|