@alfadocs/ui-kit 1.133.0 → 1.135.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-tray-Bu46s3dI.js → agenda-tray-CGcS_qoM.js} +2 -2
- package/dist/_chunks/ai-summary-panel-B70S2lgC.js +455 -0
- package/dist/_chunks/{alia-sidebar-CK1zw_Bc.js → alia-sidebar-CtwhdASP.js} +3 -3
- package/dist/_chunks/appointment-card-BT1cMZIX.js +504 -0
- package/dist/_chunks/{appointment-peek-DZa6xyUb.js → appointment-peek-BP_ACFz5.js} +3 -3
- package/dist/_chunks/{appointment-timeline-DQePqpyH.js → appointment-timeline-Dy4YQJ17.js} +2 -2
- package/dist/_chunks/appointment-tray-B3gSHL1j.js +200 -0
- package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js → appointment-workflow-status-S-lx81Yz.js} +2 -2
- package/dist/_chunks/ban-CiSCCcOE.js +15 -0
- package/dist/_chunks/{calendar-BIoOeBTT.js → calendar-CyLtLBNP.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BHx6kUhX.js → calendar-appointment-editor-dialog-I5PfWudy.js} +15 -15
- package/dist/_chunks/{calendar-event-card-BNEzkjm-.js → calendar-event-card-BJifpYZQ.js} +7 -6
- package/dist/_chunks/{care-plan-card-DKScH9Ss.js → care-plan-card-CjHq6PLo.js} +6 -6
- package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js → care-plan-entry-card-DY1toF6E.js} +2 -2
- package/dist/_chunks/{care-plan-header-Dx5OMkc9.js → care-plan-header-CeFXUDnL.js} +6 -6
- package/dist/_chunks/{chat-container-B83b4hut.js → chat-container-CoOT7dzB.js} +37 -36
- package/dist/_chunks/{chat-input-DwQ4_WXK.js → chat-input-CX4dxBq7.js} +85 -84
- package/dist/_chunks/check-in-documents-CEVcgcYZ.js +136 -0
- package/dist/_chunks/{clinical-note-card-pPaeWWnu.js → clinical-note-card-D--IwbZa.js} +2 -2
- package/dist/_chunks/communications-panel-BKPHCiMB.js +973 -0
- package/dist/_chunks/document-preview-DLVIrOYV.js +385 -0
- package/dist/_chunks/{entity-card-fpm-KUKc.js → entity-card-p-LANpYt.js} +18 -17
- package/dist/_chunks/{entity-summary-KHM0PnSI.js → entity-summary-CpNk6ybN.js} +70 -69
- package/dist/_chunks/{error-page-B0fGNTRB.js → error-page-WLhmWUTq.js} +100 -115
- package/dist/_chunks/finished-terminal-unDnXT4j.js +191 -0
- package/dist/_chunks/get-error-message-DbFUzuja.js +7 -0
- package/dist/_chunks/handled-rejection-C-6Dq0As.js +9 -0
- package/dist/_chunks/house-DGCypGTo.js +21 -0
- package/dist/_chunks/is-safe-url-CEy9CEml.js +8 -0
- package/dist/_chunks/keypad-DBH_keVs.js +152 -0
- package/dist/_chunks/keypad-button-mOaPQRrH.js +114 -0
- package/dist/_chunks/megaphone-CzeTT9B3.js +22 -0
- package/dist/_chunks/{message-card-BG3_3nN1.js → message-card-Bw_q1qKx.js} +2 -2
- package/dist/_chunks/{message-tray-BjZv0Fsk.js → message-tray-pLGgLmoG.js} +2 -2
- package/dist/_chunks/{note-attachment-MNTIqdSz.js → note-attachment-JTIy9iXN.js} +2 -2
- package/dist/_chunks/{note-timeline-BQeW0VZY.js → note-timeline-BbjHMhkL.js} +2 -2
- package/dist/_chunks/{notes-panel-Cm-_pCRJ.js → notes-panel-BvjAo4RQ.js} +6 -5
- package/dist/_chunks/{operator-hero-CnfWckNQ.js → operator-hero-D4wfVu2l.js} +2 -2
- package/dist/_chunks/otp-input-BNOTlxq3.js +342 -0
- package/dist/_chunks/patient-account-settings-B2XbN_Fe.js +546 -0
- package/dist/_chunks/patient-card-DTh3QTyS.js +125 -0
- package/dist/_chunks/patient-check-in-resume-B7NY-6KI.js +742 -0
- package/dist/_chunks/patient-sign-in-pin-CDBqV254.js +432 -0
- package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js +199 -0
- package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js → patient-summary-card-Bl2NknPe.js} +2 -2
- package/dist/_chunks/{payment-request-card-Dv4WbRBe.js → payment-request-card-CNW00DCx.js} +6 -6
- package/dist/_chunks/{pdf-viewer-BnBKdx0y.js → pdf-viewer-TRC5jEm5.js} +472 -425
- package/dist/_chunks/pin-entry-BugWQMOS.js +219 -0
- package/dist/_chunks/pin-indicator-Cb-n40UI.js +124 -0
- package/dist/_chunks/portal-details-DCIiGkHA.js +478 -0
- package/dist/_chunks/portal-documents-DJOH8pZx.js +902 -0
- package/dist/_chunks/portal-parts-Br8wuala.js +285 -0
- package/dist/_chunks/{privacy-mask-DJ1gee4c.js → privacy-mask-C19dJFMk.js} +5 -5
- package/dist/_chunks/{product-hub-panel-a8wdVOUt.js → product-hub-panel-K4QbULG7.js} +2 -2
- package/dist/_chunks/{registration-form-CwbhtKcy.js → registration-form-DS3RuKHu.js} +2 -2
- package/dist/_chunks/{reserved.agent-W8mR179D.js → reserved.agent-DOzOBUW7.js} +2 -2
- package/dist/_chunks/session-countdown-DOx1IBUB.js +232 -0
- package/dist/_chunks/{sign-document-CQZVzfpk.js → sign-document-DDZbmYHu.js} +2 -2
- package/dist/_chunks/{signature-field-DjabvRZm.js → signature-field-BjlY_yXH.js} +39 -34
- package/dist/_chunks/{signature-request-4pGq3YBe.js → signature-request-CHsM_iWi.js} +2 -2
- package/dist/_chunks/{signature-status-chip-pIoQjvH8.js → signature-status-chip-DS9hHwIt.js} +66 -69
- package/dist/_chunks/signing-end-screen-BdhbkPKO.js +1355 -0
- package/dist/_chunks/sms-code-entry-Dgp4GwlM.js +316 -0
- package/dist/_chunks/step-up-dialog-C2JqJmCA.js +132 -0
- package/dist/_chunks/{task-editor-BL2hHxNz.js → task-editor-DvwqPfFR.js} +40 -39
- package/dist/_chunks/{tasks-panel-BE3zaayj.js → tasks-panel-6EzdnwT8.js} +155 -171
- package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js → use-appointment-details-read-6_OmOwUs.js} +115 -114
- package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js +221 -0
- package/dist/_chunks/{user-x-DYszNtIg.js → user-x-BJZg4kaP.js} +8 -19
- package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js → verify-identity-types-C6Bam8v6.js} +2 -2
- package/dist/_chunks/{workflow-status-D1WgGVTP.js → workflow-status-CO0mxXs2.js} +3 -2
- package/dist/agent-catalog.json +933 -324
- package/dist/agent-i18n/en.json +103 -18
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/is-safe-url.d.ts +3 -1
- package/dist/components/_shared/sms-segments.d.ts +43 -0
- package/dist/components/agenda-card/index.js +2 -2
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-summary-panel/ai-summary-panel.agent.d.ts +4 -0
- package/dist/components/ai-summary-panel/ai-summary-panel.d.ts +71 -0
- package/dist/components/ai-summary-panel/index.d.ts +4 -0
- package/dist/components/ai-summary-panel/index.js +6 -0
- package/dist/components/appointment-card/appointment-card.d.ts +45 -0
- package/dist/components/appointment-card/appointment-tray.d.ts +11 -0
- 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/chat-container/chat-container.d.ts +7 -0
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/chat-input.d.ts +3 -0
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/communications-panel/communications-panel.agent.d.ts +4 -0
- package/dist/components/communications-panel/communications-panel.d.ts +136 -0
- package/dist/components/communications-panel/index.d.ts +6 -0
- package/dist/components/communications-panel/index.js +7 -0
- package/dist/components/document-preview/document-preview.d.ts +61 -7
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/entity-summary/entity-summary.d.ts +8 -0
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/finished-terminal/finished-terminal.d.ts +63 -6
- package/dist/components/finished-terminal/index.d.ts +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/index.d.ts +14 -0
- package/dist/components/keypad/index.d.ts +3 -0
- package/dist/components/keypad/index.js +6 -0
- package/dist/components/keypad/keypad.d.ts +54 -0
- package/dist/components/keypad-button/index.d.ts +3 -0
- package/dist/components/keypad-button/index.js +6 -0
- package/dist/components/keypad-button/keypad-button.d.ts +33 -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/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.d.ts +7 -0
- package/dist/components/pin-entry/index.d.ts +3 -0
- package/dist/components/pin-entry/index.js +5 -0
- package/dist/components/pin-entry/pin-entry.agent.d.ts +4 -0
- package/dist/components/pin-entry/pin-entry.d.ts +64 -0
- package/dist/components/pin-indicator/index.d.ts +3 -0
- package/dist/components/pin-indicator/index.js +9 -0
- package/dist/components/pin-indicator/pin-indicator.d.ts +34 -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/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-status-chip/index.js +1 -1
- package/dist/components/signature-status-chip/signature-status-chip.d.ts +3 -2
- package/dist/components/sms-code-entry/index.d.ts +3 -0
- package/dist/components/sms-code-entry/index.js +5 -0
- package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts +4 -0
- package/dist/components/sms-code-entry/sms-code-entry.d.ts +156 -0
- package/dist/components/step-up-dialog/index.d.ts +3 -0
- package/dist/components/step-up-dialog/index.js +5 -0
- package/dist/components/step-up-dialog/step-up-dialog.d.ts +108 -0
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/workflow-status/index.js +2 -2
- 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/host-compat.css +18 -3
- package/dist/i18n/locales/ar.d.ts +605 -1
- package/dist/i18n/locales/ar.js +603 -3
- package/dist/i18n/locales/de.d.ts +605 -1
- package/dist/i18n/locales/de.js +611 -4
- package/dist/i18n/locales/el.d.ts +605 -1
- package/dist/i18n/locales/el.js +606 -4
- package/dist/i18n/locales/en.d.ts +607 -1
- package/dist/i18n/locales/en.js +614 -4
- package/dist/i18n/locales/es.d.ts +605 -1
- package/dist/i18n/locales/es.js +604 -4
- package/dist/i18n/locales/fr.d.ts +605 -1
- package/dist/i18n/locales/fr.js +604 -4
- package/dist/i18n/locales/hi.d.ts +605 -1
- package/dist/i18n/locales/hi.js +604 -4
- package/dist/i18n/locales/it.d.ts +605 -1
- package/dist/i18n/locales/it.js +611 -4
- package/dist/i18n/locales/ja.d.ts +605 -1
- package/dist/i18n/locales/ja.js +604 -4
- package/dist/i18n/locales/nl.d.ts +605 -1
- package/dist/i18n/locales/nl.js +611 -4
- package/dist/i18n/locales/pl.d.ts +605 -1
- package/dist/i18n/locales/pl.js +611 -4
- package/dist/i18n/locales/pt.d.ts +605 -1
- package/dist/i18n/locales/pt.js +611 -4
- package/dist/i18n/locales/ro.d.ts +605 -1
- package/dist/i18n/locales/ro.js +611 -4
- package/dist/i18n/locales/ru.d.ts +605 -1
- package/dist/i18n/locales/ru.js +603 -3
- package/dist/i18n/locales/sq.d.ts +605 -1
- package/dist/i18n/locales/sq.js +604 -4
- package/dist/i18n/locales/sv.d.ts +605 -1
- package/dist/i18n/locales/sv.js +604 -4
- package/dist/i18n/locales/tr.d.ts +605 -1
- package/dist/i18n/locales/tr.js +606 -4
- package/dist/i18n/locales/zh.d.ts +605 -1
- package/dist/i18n/locales/zh.js +604 -4
- package/dist/index.js +1305 -1231
- package/dist/locales/ar.json +606 -2
- package/dist/locales/de.json +607 -3
- package/dist/locales/el.json +607 -3
- package/dist/locales/en.json +607 -3
- package/dist/locales/es.json +607 -3
- package/dist/locales/fr.json +607 -3
- package/dist/locales/hi.json +607 -3
- package/dist/locales/it.json +607 -3
- package/dist/locales/ja.json +607 -3
- package/dist/locales/nl.json +607 -3
- package/dist/locales/pl.json +607 -3
- package/dist/locales/pt.json +607 -3
- package/dist/locales/ro.json +607 -3
- package/dist/locales/ru.json +606 -2
- package/dist/locales/sq.json +607 -3
- package/dist/locales/sv.json +607 -3
- package/dist/locales/tr.json +607 -3
- package/dist/locales/zh.json +607 -3
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/calendar/calendar.journey.d.ts +7 -0
- 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-signable-document.d.ts +32 -0
- package/dist/patterns/check-in-documents/index.d.ts +4 -0
- package/dist/patterns/check-in-documents/index.js +5 -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.js +5 -0
- package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
- package/dist/patterns/patient-check-in/index.d.ts +20 -0
- package/dist/patterns/patient-check-in/index.js +13 -0
- package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -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-done.d.ts +25 -0
- package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -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.d.ts +61 -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-privacy.d.ts +9 -0
- package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
- package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
- package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
- package/dist/patterns/patient-portal/index.d.ts +12 -0
- package/dist/patterns/patient-portal/index.js +13 -0
- package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
- package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
- package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
- package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
- package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
- package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
- package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
- package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
- package/dist/patterns/patient-sign-in/index.d.ts +7 -0
- package/dist/patterns/patient-sign-in/index.js +15 -0
- package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -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 +26 -0
- package/dist/patterns/signing/index.js +16 -0
- package/dist/patterns/signing/multi-field-signer.d.ts +138 -0
- package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
- package/dist/patterns/signing/signing-checkbox-pill.d.ts +66 -0
- package/dist/patterns/signing/signing-checkbox-sheet.d.ts +16 -0
- package/dist/patterns/signing/signing-chrome.d.ts +30 -0
- package/dist/patterns/signing/signing-document-screen.d.ts +104 -0
- package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
- package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
- package/dist/patterns/signing/signing-footer.d.ts +56 -0
- package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
- package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
- package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
- package/dist/patterns/signing/signing-roster.d.ts +44 -0
- package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +57 -1
- package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
- package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
- package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
- package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
- package/dist/_chunks/handled-rejection-6gqCf5vt.js +0 -13
- package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
- package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
- package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
- package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfadocs/ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.135.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
|
|
6
6
|
"license": "BUSL-1.1",
|
|
@@ -565,6 +565,22 @@
|
|
|
565
565
|
"types": "./dist/components/password-input/index.d.ts",
|
|
566
566
|
"import": "./dist/components/password-input/index.js"
|
|
567
567
|
},
|
|
568
|
+
"./keypad": {
|
|
569
|
+
"types": "./dist/components/keypad/index.d.ts",
|
|
570
|
+
"import": "./dist/components/keypad/index.js"
|
|
571
|
+
},
|
|
572
|
+
"./keypad-button": {
|
|
573
|
+
"types": "./dist/components/keypad-button/index.d.ts",
|
|
574
|
+
"import": "./dist/components/keypad-button/index.js"
|
|
575
|
+
},
|
|
576
|
+
"./pin-entry": {
|
|
577
|
+
"types": "./dist/components/pin-entry/index.d.ts",
|
|
578
|
+
"import": "./dist/components/pin-entry/index.js"
|
|
579
|
+
},
|
|
580
|
+
"./pin-indicator": {
|
|
581
|
+
"types": "./dist/components/pin-indicator/index.d.ts",
|
|
582
|
+
"import": "./dist/components/pin-indicator/index.js"
|
|
583
|
+
},
|
|
568
584
|
"./patient-details": {
|
|
569
585
|
"types": "./dist/components/patient-details/index.d.ts",
|
|
570
586
|
"import": "./dist/components/patient-details/index.js"
|
|
@@ -753,6 +769,10 @@
|
|
|
753
769
|
"types": "./dist/components/smart-date/index.d.ts",
|
|
754
770
|
"import": "./dist/components/smart-date/index.js"
|
|
755
771
|
},
|
|
772
|
+
"./sms-code-entry": {
|
|
773
|
+
"types": "./dist/components/sms-code-entry/index.d.ts",
|
|
774
|
+
"import": "./dist/components/sms-code-entry/index.js"
|
|
775
|
+
},
|
|
756
776
|
"./social-sign-in-button": {
|
|
757
777
|
"types": "./dist/components/social-sign-in-button/index.d.ts",
|
|
758
778
|
"import": "./dist/components/social-sign-in-button/index.js"
|
|
@@ -773,6 +793,10 @@
|
|
|
773
793
|
"types": "./dist/components/stat-group/index.d.ts",
|
|
774
794
|
"import": "./dist/components/stat-group/index.js"
|
|
775
795
|
},
|
|
796
|
+
"./step-up-dialog": {
|
|
797
|
+
"types": "./dist/components/step-up-dialog/index.d.ts",
|
|
798
|
+
"import": "./dist/components/step-up-dialog/index.js"
|
|
799
|
+
},
|
|
776
800
|
"./stepper-accordion": {
|
|
777
801
|
"types": "./dist/components/stepper-accordion/index.d.ts",
|
|
778
802
|
"import": "./dist/components/stepper-accordion/index.js"
|
|
@@ -809,6 +833,14 @@
|
|
|
809
833
|
"types": "./dist/components/tasks-panel/index.d.ts",
|
|
810
834
|
"import": "./dist/components/tasks-panel/index.js"
|
|
811
835
|
},
|
|
836
|
+
"./communications-panel": {
|
|
837
|
+
"types": "./dist/components/communications-panel/index.d.ts",
|
|
838
|
+
"import": "./dist/components/communications-panel/index.js"
|
|
839
|
+
},
|
|
840
|
+
"./ai-summary-panel": {
|
|
841
|
+
"types": "./dist/components/ai-summary-panel/index.d.ts",
|
|
842
|
+
"import": "./dist/components/ai-summary-panel/index.js"
|
|
843
|
+
},
|
|
812
844
|
"./task-editor": {
|
|
813
845
|
"types": "./dist/components/task-editor/index.d.ts",
|
|
814
846
|
"import": "./dist/components/task-editor/index.js"
|
|
@@ -929,6 +961,10 @@
|
|
|
929
961
|
"types": "./dist/patterns/calendar/index.d.ts",
|
|
930
962
|
"import": "./dist/patterns/calendar/index.js"
|
|
931
963
|
},
|
|
964
|
+
"./patterns/check-in-documents": {
|
|
965
|
+
"types": "./dist/patterns/check-in-documents/index.d.ts",
|
|
966
|
+
"import": "./dist/patterns/check-in-documents/index.js"
|
|
967
|
+
},
|
|
932
968
|
"./error-pages/*": "./dist/error-pages/*",
|
|
933
969
|
"./patterns/error-page": {
|
|
934
970
|
"types": "./dist/patterns/error-page/index.d.ts",
|
|
@@ -950,6 +986,22 @@
|
|
|
950
986
|
"types": "./dist/patterns/marketplace-app-shell/index.d.ts",
|
|
951
987
|
"import": "./dist/patterns/marketplace-app-shell/index.js"
|
|
952
988
|
},
|
|
989
|
+
"./patterns/patient-account-settings": {
|
|
990
|
+
"types": "./dist/patterns/patient-account-settings/index.d.ts",
|
|
991
|
+
"import": "./dist/patterns/patient-account-settings/index.js"
|
|
992
|
+
},
|
|
993
|
+
"./patterns/patient-check-in": {
|
|
994
|
+
"types": "./dist/patterns/patient-check-in/index.d.ts",
|
|
995
|
+
"import": "./dist/patterns/patient-check-in/index.js"
|
|
996
|
+
},
|
|
997
|
+
"./patterns/patient-portal": {
|
|
998
|
+
"types": "./dist/patterns/patient-portal/index.d.ts",
|
|
999
|
+
"import": "./dist/patterns/patient-portal/index.js"
|
|
1000
|
+
},
|
|
1001
|
+
"./patterns/patient-sign-in": {
|
|
1002
|
+
"types": "./dist/patterns/patient-sign-in/index.d.ts",
|
|
1003
|
+
"import": "./dist/patterns/patient-sign-in/index.js"
|
|
1004
|
+
},
|
|
953
1005
|
"./patterns/payment-automation-upsell": {
|
|
954
1006
|
"types": "./dist/patterns/payment-automation-upsell/index.d.ts",
|
|
955
1007
|
"import": "./dist/patterns/payment-automation-upsell/index.js"
|
|
@@ -974,6 +1026,10 @@
|
|
|
974
1026
|
"types": "./dist/patterns/signed-out-frame/index.d.ts",
|
|
975
1027
|
"import": "./dist/patterns/signed-out-frame/index.js"
|
|
976
1028
|
},
|
|
1029
|
+
"./patterns/signing": {
|
|
1030
|
+
"types": "./dist/patterns/signing/index.d.ts",
|
|
1031
|
+
"import": "./dist/patterns/signing/index.js"
|
|
1032
|
+
},
|
|
977
1033
|
"./patterns/verify-identity": {
|
|
978
1034
|
"types": "./dist/patterns/verify-identity/index.d.ts",
|
|
979
1035
|
"import": "./dist/patterns/verify-identity/index.js"
|
|
@@ -1,434 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as la } from "react";
|
|
3
|
-
import { c as ca } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as pa } from "react-i18next";
|
|
5
|
-
import { A as H } from "./avatar-Dp5apm1d.js";
|
|
6
|
-
import { B as t } from "./badge-BUk4RjTS.js";
|
|
7
|
-
import { T as ua } from "./tag-BNlcEJfE.js";
|
|
8
|
-
import { T as ma } from "./timestamp-DPLDWdxA.js";
|
|
9
|
-
import { T as K } from "./transaction-chip-CkYd-3ky.js";
|
|
10
|
-
import { a as fa } from "./workflow-status-D1WgGVTP.js";
|
|
11
|
-
import { i as ga } from "./is-safe-url-DkETxeHz.js";
|
|
12
|
-
import { a as ha, b as va, c as ba } from "./entity-card-fpm-KUKc.js";
|
|
13
|
-
import { V as xa } from "./video-BheNGvsu.js";
|
|
14
|
-
import { M as ya } from "./map-pin-BaY37-Km.js";
|
|
15
|
-
import { U as Na } from "./user-x-DYszNtIg.js";
|
|
16
|
-
import { S as Y } from "./star-Bf9L2Uot.js";
|
|
17
|
-
import { c as J } from "./createLucideIcon-DhHxpK9K.js";
|
|
18
|
-
import { A as ka } from "./armchair-BaLDW6Hz.js";
|
|
19
|
-
import { G as Ca } from "./globe-sHBW1JN5.js";
|
|
20
|
-
import { R as wa } from "./repeat-CvQa5rZt.js";
|
|
21
|
-
import { F as za } from "./file-pen-line-k4uMBM3h.js";
|
|
22
|
-
import { C as Ta } from "./chevron-right-I9AeSxH2.js";
|
|
23
|
-
/**
|
|
24
|
-
* @license lucide-react v1.22.0 - ISC
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the ISC license.
|
|
27
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/
|
|
29
|
-
const Sa = [
|
|
30
|
-
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
31
|
-
[
|
|
32
|
-
"path",
|
|
33
|
-
{
|
|
34
|
-
d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
|
|
35
|
-
key: "116196"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
["path", { d: "M9 14h6", key: "159ibu" }],
|
|
39
|
-
["path", { d: "M12 17v-6", key: "1y8rbf" }]
|
|
40
|
-
], Ma = J("clipboard-plus", Sa);
|
|
41
|
-
/**
|
|
42
|
-
* @license lucide-react v1.22.0 - ISC
|
|
43
|
-
*
|
|
44
|
-
* This source code is licensed under the ISC license.
|
|
45
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/
|
|
47
|
-
const Ra = [
|
|
48
|
-
[
|
|
49
|
-
"path",
|
|
50
|
-
{
|
|
51
|
-
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
52
|
-
key: "18887p"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
["path", { d: "M7 11h10", key: "1twpyw" }],
|
|
56
|
-
["path", { d: "M7 15h6", key: "d9of3u" }],
|
|
57
|
-
["path", { d: "M7 7h8", key: "af5zfr" }]
|
|
58
|
-
], Va = J("message-square-text", Ra), Da = {
|
|
59
|
-
"var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
|
|
60
|
-
"var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
|
|
61
|
-
"var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
|
|
62
|
-
"var(--color-blue-500)": "ds:bg-[var(--color-blue-500)]",
|
|
63
|
-
"var(--color-green-500)": "ds:bg-[var(--color-green-500)]",
|
|
64
|
-
"var(--color-red-500)": "ds:bg-[var(--color-red-500)]",
|
|
65
|
-
"var(--color-yellow-500)": "ds:bg-[var(--color-yellow-500)]",
|
|
66
|
-
"var(--color-indigo-500)": "ds:bg-[var(--color-indigo-500)]",
|
|
67
|
-
"var(--color-orange-500)": "ds:bg-[var(--color-orange-500)]",
|
|
68
|
-
"var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
|
|
69
|
-
"var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
|
|
70
|
-
};
|
|
71
|
-
function Ia(a) {
|
|
72
|
-
return Da[ba(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
73
|
-
}
|
|
74
|
-
function La(a) {
|
|
75
|
-
if (!a) return;
|
|
76
|
-
const d = new Date(a);
|
|
77
|
-
if (Number.isNaN(d.getTime())) return;
|
|
78
|
-
const p = /* @__PURE__ */ new Date();
|
|
79
|
-
let o = p.getFullYear() - d.getFullYear();
|
|
80
|
-
const u = p.getMonth() - d.getMonth();
|
|
81
|
-
return (u < 0 || u === 0 && p.getDate() < d.getDate()) && o--, o < 0 || o > 130 ? void 0 : o;
|
|
82
|
-
}
|
|
83
|
-
const Aa = ca(
|
|
84
|
-
[
|
|
85
|
-
"ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
86
|
-
"ds:rounded-[var(--radius-md)]",
|
|
87
|
-
"ds:text-start ds:group",
|
|
88
|
-
"ds:bg-[var(--card)] ds:text-[color:var(--card-foreground)]",
|
|
89
|
-
"ds:transition-[colors,border-color,box-shadow] ds:duration-[var(--animation-duration)]",
|
|
90
|
-
"ds:motion-reduce:transition-none",
|
|
91
|
-
"ds:forced-colors:border ds:forced-colors:border-[CanvasText]"
|
|
92
|
-
].join(" "),
|
|
93
|
-
{
|
|
94
|
-
variants: {
|
|
95
|
-
size: {
|
|
96
|
-
sm: "ds:p-[var(--spacing-sm)]",
|
|
97
|
-
md: "ds:p-[var(--spacing-md)]"
|
|
98
|
-
},
|
|
99
|
-
interactive: {
|
|
100
|
-
true: "ds:hover:bg-[color:var(--muted)]/40 ds:cursor-pointer",
|
|
101
|
-
false: ""
|
|
102
|
-
},
|
|
103
|
-
surface: {
|
|
104
|
-
// `flat` (default) is the chrome-less row used inside a bordered
|
|
105
|
-
// AppointmentTray. `elevated` gives each row its own card chrome
|
|
106
|
-
// (border + shadow) for use directly on a rail, e.g. AppointmentTimeline.
|
|
107
|
-
// Uses `--shadow-sm` (a row lift), not `--shadow-card`/`--shadow-lg`:
|
|
108
|
-
// the rail's `overflow-y:auto` scroll region clips `overflow-x` at a
|
|
109
|
-
// narrow gutter, so a wide 30px-blur shadow gets a hard-edged clip.
|
|
110
|
-
flat: "",
|
|
111
|
-
elevated: "ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))] ds:border-[color:var(--card-border)] ds:shadow-[var(--shadow-sm)]"
|
|
112
|
-
},
|
|
113
|
-
selected: {
|
|
114
|
-
// The row the host has marked as the active/selected appointment —
|
|
115
|
-
// matches the `current` note's info-tinted accent: a solid
|
|
116
|
-
// inline-start bar plus a soft info wash, so the eye keeps its
|
|
117
|
-
// place in the list after a click.
|
|
118
|
-
true: "ds:border-s-2 ds:border-s-[color:var(--info)] ds:bg-[color:var(--info)]/10",
|
|
119
|
-
false: ""
|
|
120
|
-
},
|
|
121
|
-
dimmed: {
|
|
122
|
-
// Settled (concluded / no-show) rows: a muted wash instead of the
|
|
123
|
-
// elevated card surface, shadow dropped. Only the CHROME dims —
|
|
124
|
-
// text stays `--card-foreground` / `--muted-foreground`, so AA
|
|
125
|
-
// contrast is untouched in every theme.
|
|
126
|
-
true: "ds:bg-[color:var(--muted)]/40 ds:shadow-none",
|
|
127
|
-
false: ""
|
|
128
|
-
},
|
|
129
|
-
next: {
|
|
130
|
-
// The next appointment to start: a STEADY accent outline (a state,
|
|
131
|
-
// not a one-off address like the notes/bookings "addressed" ring,
|
|
132
|
-
// so no keyframe replay). `outline` rather than `border` keeps the
|
|
133
|
-
// row's own border/radius untouched.
|
|
134
|
-
true: "ds:outline ds:outline-2 ds:outline-[color:var(--accent)] ds:[outline-offset:-1px] ds:forced-colors:outline-[Highlight]",
|
|
135
|
-
false: ""
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
defaultVariants: {
|
|
139
|
-
size: "sm",
|
|
140
|
-
interactive: !1,
|
|
141
|
-
surface: "flat",
|
|
142
|
-
selected: !1,
|
|
143
|
-
dimmed: !1,
|
|
144
|
-
next: !1
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
), X = [
|
|
148
|
-
// Interactive elements need a box to remain keyboard-focusable in browsers.
|
|
149
|
-
"ds:inline-flex ds:min-w-0",
|
|
150
|
-
"ds:focus-visible:outline-none",
|
|
151
|
-
"ds:after:content-[''] ds:after:absolute ds:after:inset-0 ds:after:rounded-[var(--radius-md)]",
|
|
152
|
-
"ds:after:pointer-events-auto",
|
|
153
|
-
"ds:focus-visible:after:outline-[length:var(--focus-ring-width)]",
|
|
154
|
-
"ds:focus-visible:after:outline-solid",
|
|
155
|
-
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
156
|
-
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
157
|
-
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
158
|
-
].join(" "), Ua = {
|
|
159
|
-
inPractice: ya,
|
|
160
|
-
telehealth: xa
|
|
161
|
-
}, Pa = la(
|
|
162
|
-
({
|
|
163
|
-
item: a,
|
|
164
|
-
size: d = "sm",
|
|
165
|
-
surface: p = "flat",
|
|
166
|
-
locale: o,
|
|
167
|
-
currency: u = "EUR",
|
|
168
|
-
showPatient: i = !0,
|
|
169
|
-
onActivate: l,
|
|
170
|
-
selected: N = !1,
|
|
171
|
-
hideDefaultStatus: Q = !1,
|
|
172
|
-
className: Z,
|
|
173
|
-
...aa
|
|
174
|
-
}, ea) => {
|
|
175
|
-
var R, V, D, I, L, A, U, P, O, _, j, F, $, q, E, B, W, G;
|
|
176
|
-
const { t: s } = pa("ui"), m = !!l, sa = !!a.url && ga(a.url), ra = !(Q && a.state === "confirmed"), g = ((R = a.patient) == null ? void 0 : R.name) ?? s("appointmentCard.noPatient"), c = (V = a.operator) == null ? void 0 : V.name, h = s(`appointmentCard.state.${a.state}`), k = ha(a.state), na = k.Icon, C = La((D = a.patient) == null ? void 0 : D.dobIso), oa = ((I = a.flags) == null ? void 0 : I.noPatientAssigned) || !a.patient, v = d === "md" ? "md" : "sm", ta = Ua[a.type], w = i ? g : c ?? s("appointmentCard.appointment"), z = i ? s("appointmentCard.itemLabel", {
|
|
177
|
-
patient: g,
|
|
178
|
-
state: h
|
|
179
|
-
}) : s("appointmentCard.itemLabelGeneric", { title: w, state: h }), b = /* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate type-title-item ds:text-[color:var(--foreground)]", children: [
|
|
180
|
-
w,
|
|
181
|
-
i && C !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
|
|
182
|
-
"· ",
|
|
183
|
-
C
|
|
184
|
-
] }) : null
|
|
185
|
-
] });
|
|
186
|
-
let f;
|
|
187
|
-
m && sa ? f = /* @__PURE__ */ e(
|
|
188
|
-
"a",
|
|
189
|
-
{
|
|
190
|
-
href: a.url,
|
|
191
|
-
"aria-label": z,
|
|
192
|
-
className: X,
|
|
193
|
-
onClick: (n) => {
|
|
194
|
-
n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || l == null || l(a);
|
|
195
|
-
},
|
|
196
|
-
children: b
|
|
197
|
-
}
|
|
198
|
-
) : m ? f = /* @__PURE__ */ e(
|
|
199
|
-
"button",
|
|
200
|
-
{
|
|
201
|
-
type: "button",
|
|
202
|
-
"aria-label": z,
|
|
203
|
-
className: X + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
204
|
-
onClick: () => l == null ? void 0 : l(a),
|
|
205
|
-
children: b
|
|
206
|
-
}
|
|
207
|
-
) : f = b;
|
|
208
|
-
const T = (a.treatments ?? []).map((n, da) => {
|
|
209
|
-
const ia = n.elements && n.elements.length > 0 ? s("appointmentCard.treatmentWithElements", {
|
|
210
|
-
care: n.careName,
|
|
211
|
-
elements: n.elements.join(", ")
|
|
212
|
-
}) : n.careName;
|
|
213
|
-
return /* @__PURE__ */ e(
|
|
214
|
-
ua,
|
|
215
|
-
{
|
|
216
|
-
label: ia,
|
|
217
|
-
variant: "neutral",
|
|
218
|
-
fill: "outline",
|
|
219
|
-
size: "sm",
|
|
220
|
-
maxInlineSize: "12rem"
|
|
221
|
-
},
|
|
222
|
-
`${n.careName}-${da}`
|
|
223
|
-
);
|
|
224
|
-
}), x = (L = a.bookingReason) == null ? void 0 : L.advanceAmountCents, S = typeof x == "number" && x > 0, y = (A = a.money) == null ? void 0 : A.unpaidAmountCents, M = typeof y == "number" && y > 0;
|
|
225
|
-
return /* @__PURE__ */ r(
|
|
226
|
-
"div",
|
|
227
|
-
{
|
|
228
|
-
ref: ea,
|
|
229
|
-
role: "listitem",
|
|
230
|
-
"data-component": "appointment-card",
|
|
231
|
-
"data-component-id": a.id,
|
|
232
|
-
"data-state": a.state,
|
|
233
|
-
"data-type": a.type,
|
|
234
|
-
"aria-current": N ? "true" : void 0,
|
|
235
|
-
className: Aa({
|
|
236
|
-
size: d,
|
|
237
|
-
interactive: m,
|
|
238
|
-
surface: p,
|
|
239
|
-
selected: N,
|
|
240
|
-
dimmed: a.dimmed,
|
|
241
|
-
next: a.next,
|
|
242
|
-
className: Z
|
|
243
|
-
}),
|
|
244
|
-
...aa,
|
|
245
|
-
children: [
|
|
246
|
-
/* @__PURE__ */ r("span", { className: "ds:flex ds:min-w-20 ds:shrink-0 ds:flex-col ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
|
|
247
|
-
/* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:whitespace-nowrap ds:text-[color:var(--muted-foreground)]", children: [
|
|
248
|
-
/* @__PURE__ */ e(ta, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
249
|
-
/* @__PURE__ */ e("span", { className: "ds:sr-only", children: s(`appointmentCard.type.${a.type}`) }),
|
|
250
|
-
/* @__PURE__ */ e(
|
|
251
|
-
ma,
|
|
252
|
-
{
|
|
253
|
-
value: a.startIso,
|
|
254
|
-
format: "absolute",
|
|
255
|
-
shape: "bare",
|
|
256
|
-
locale: o,
|
|
257
|
-
absoluteFormat: { hour: "numeric", minute: "2-digit" },
|
|
258
|
-
className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
|
|
259
|
-
}
|
|
260
|
-
)
|
|
261
|
-
] }),
|
|
262
|
-
/* @__PURE__ */ e("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s("appointmentCard.duration", { count: a.durationMin }) })
|
|
263
|
-
] }),
|
|
264
|
-
c ? /* @__PURE__ */ r("span", { className: "ds:relative ds:shrink-0", children: [
|
|
265
|
-
/* @__PURE__ */ e(
|
|
266
|
-
H,
|
|
267
|
-
{
|
|
268
|
-
name: c,
|
|
269
|
-
color: va((U = a.operator) == null ? void 0 : U.colorId),
|
|
270
|
-
size: v,
|
|
271
|
-
"aria-hidden": "true",
|
|
272
|
-
role: "presentation",
|
|
273
|
-
"aria-label": void 0
|
|
274
|
-
}
|
|
275
|
-
),
|
|
276
|
-
/* @__PURE__ */ e(
|
|
277
|
-
"span",
|
|
278
|
-
{
|
|
279
|
-
"aria-hidden": "true",
|
|
280
|
-
className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " + Ia((P = a.operator) == null ? void 0 : P.colorId)
|
|
281
|
-
}
|
|
282
|
-
)
|
|
283
|
-
] }) : null,
|
|
284
|
-
/* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
285
|
-
/* @__PURE__ */ r("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]", children: [
|
|
286
|
-
/* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
287
|
-
i && ((O = a.patient) != null && O.avatarUrl) ? /* @__PURE__ */ e(
|
|
288
|
-
H,
|
|
289
|
-
{
|
|
290
|
-
name: g,
|
|
291
|
-
src: a.patient.avatarUrl,
|
|
292
|
-
size: v,
|
|
293
|
-
className: "ds:shrink-0",
|
|
294
|
-
"aria-hidden": "true",
|
|
295
|
-
role: "presentation",
|
|
296
|
-
"aria-label": void 0
|
|
297
|
-
}
|
|
298
|
-
) : null,
|
|
299
|
-
i && oa ? /* @__PURE__ */ e(
|
|
300
|
-
"span",
|
|
301
|
-
{
|
|
302
|
-
className: `ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--muted)] ds:text-[color:var(--muted-foreground)] ${v === "md" ? "ds:size-10" : "ds:size-8"}`,
|
|
303
|
-
children: /* @__PURE__ */ e(Na, { "aria-hidden": "true", className: "ds:size-4" })
|
|
304
|
-
}
|
|
305
|
-
) : null,
|
|
306
|
-
f
|
|
307
|
-
] }),
|
|
308
|
-
a.next ? /* @__PURE__ */ e(
|
|
309
|
-
t,
|
|
310
|
-
{
|
|
311
|
-
variant: "accentSoft",
|
|
312
|
-
size: "sm",
|
|
313
|
-
className: "ds:shrink-0",
|
|
314
|
-
"aria-hidden": "true",
|
|
315
|
-
children: s("appointmentCard.next")
|
|
316
|
-
}
|
|
317
|
-
) : null,
|
|
318
|
-
ra ? /* @__PURE__ */ e(
|
|
319
|
-
fa,
|
|
320
|
-
{
|
|
321
|
-
size: "sm",
|
|
322
|
-
value: a.state,
|
|
323
|
-
option: {
|
|
324
|
-
value: a.state,
|
|
325
|
-
label: h,
|
|
326
|
-
icon: /* @__PURE__ */ e(na, { "aria-hidden": "true" }),
|
|
327
|
-
tone: k.tone
|
|
328
|
-
},
|
|
329
|
-
className: "ds:shrink-0"
|
|
330
|
-
}
|
|
331
|
-
) : null
|
|
332
|
-
] }),
|
|
333
|
-
a.next ? /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s("appointmentCard.nextSr") }) : null,
|
|
334
|
-
i && c || (_ = a.bookingReason) != null && _.specialty || a.firstVisit === "yes" || a.firstVisit === "unknown" || a.bookingNote ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
|
|
335
|
-
i && c ? /* @__PURE__ */ e("span", { children: c }) : null,
|
|
336
|
-
(j = a.bookingReason) != null && j.specialty ? /* @__PURE__ */ e("span", { children: a.bookingReason.specialty }) : null,
|
|
337
|
-
a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
338
|
-
/* @__PURE__ */ e(Y, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
339
|
-
s("appointmentCard.firstVisit")
|
|
340
|
-
] }) : null,
|
|
341
|
-
a.firstVisit === "unknown" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
342
|
-
/* @__PURE__ */ e(Y, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
343
|
-
s("appointmentCard.firstVisitUnknown")
|
|
344
|
-
] }) : null,
|
|
345
|
-
a.bookingNote ? /* @__PURE__ */ r(
|
|
346
|
-
"span",
|
|
347
|
-
{
|
|
348
|
-
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
349
|
-
title: s("appointmentCard.hasBookingNote"),
|
|
350
|
-
children: [
|
|
351
|
-
/* @__PURE__ */ e(
|
|
352
|
-
Va,
|
|
353
|
-
{
|
|
354
|
-
"aria-hidden": "true",
|
|
355
|
-
className: "ds:size-3 ds:shrink-0"
|
|
356
|
-
}
|
|
357
|
-
),
|
|
358
|
-
s("appointmentCard.hasBookingNote")
|
|
359
|
-
]
|
|
360
|
-
}
|
|
361
|
-
) : null
|
|
362
|
-
] }) : null,
|
|
363
|
-
(F = a.bookingReason) != null && F.description ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
|
|
364
|
-
T.length > 0 ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: T }) : null,
|
|
365
|
-
a.carePlan || a.chair || ($ = a.flags) != null && $.bookedOnline || (q = a.flags) != null && q.highlightedAnamnesis || (E = a.flags) != null && E.billable || a.recurring || a.signing || S || M ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
366
|
-
a.carePlan ? /* @__PURE__ */ e(
|
|
367
|
-
t,
|
|
368
|
-
{
|
|
369
|
-
variant: "accentSoft",
|
|
370
|
-
size: "sm",
|
|
371
|
-
leading: /* @__PURE__ */ e(Ma, {}),
|
|
372
|
-
children: s("appointmentCard.carePlan", {
|
|
373
|
-
number: a.carePlan.number
|
|
374
|
-
})
|
|
375
|
-
}
|
|
376
|
-
) : null,
|
|
377
|
-
a.chair ? /* @__PURE__ */ e(t, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(ka, {}), children: s("appointmentCard.chair", { chair: a.chair }) }) : null,
|
|
378
|
-
(B = a.flags) != null && B.bookedOnline ? /* @__PURE__ */ e(t, { variant: "info", size: "sm", leading: /* @__PURE__ */ e(Ca, {}), children: s("appointmentCard.flag.bookedOnline") }) : null,
|
|
379
|
-
(W = a.flags) != null && W.highlightedAnamnesis ? /* @__PURE__ */ e(t, { variant: "warning", size: "sm", withDot: !0, children: s("appointmentCard.flag.highlightedAnamnesis") }) : null,
|
|
380
|
-
a.recurring ? /* @__PURE__ */ e(t, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(wa, {}), children: s("appointmentCard.recurring") }) : null,
|
|
381
|
-
a.signing ? /* @__PURE__ */ e(
|
|
382
|
-
t,
|
|
383
|
-
{
|
|
384
|
-
variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
|
|
385
|
-
size: "sm",
|
|
386
|
-
leading: /* @__PURE__ */ e(za, {}),
|
|
387
|
-
children: s("appointmentCard.signing", {
|
|
388
|
-
complete: a.signing.toComplete,
|
|
389
|
-
required: a.signing.required
|
|
390
|
-
})
|
|
391
|
-
}
|
|
392
|
-
) : null,
|
|
393
|
-
(G = a.flags) != null && G.billable ? /* @__PURE__ */ e(t, { variant: "success", size: "sm", withDot: !0, children: s("appointmentCard.flag.billable") }) : null,
|
|
394
|
-
S ? /* @__PURE__ */ e(
|
|
395
|
-
K,
|
|
396
|
-
{
|
|
397
|
-
state: "to-invoice",
|
|
398
|
-
amount: x / 100,
|
|
399
|
-
currency: u,
|
|
400
|
-
locale: o,
|
|
401
|
-
size: "sm",
|
|
402
|
-
showLabel: !0
|
|
403
|
-
}
|
|
404
|
-
) : null,
|
|
405
|
-
M ? /* @__PURE__ */ e(
|
|
406
|
-
K,
|
|
407
|
-
{
|
|
408
|
-
state: "debt",
|
|
409
|
-
amount: y / 100,
|
|
410
|
-
currency: u,
|
|
411
|
-
locale: o,
|
|
412
|
-
size: "sm",
|
|
413
|
-
showLabel: !0
|
|
414
|
-
}
|
|
415
|
-
) : null
|
|
416
|
-
] }) : null
|
|
417
|
-
] }),
|
|
418
|
-
m ? /* @__PURE__ */ e(
|
|
419
|
-
Ta,
|
|
420
|
-
{
|
|
421
|
-
"aria-hidden": "true",
|
|
422
|
-
className: "ds:size-4 ds:shrink-0 ds:self-center ds:text-[color:var(--muted-foreground)] ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:group-focus-within:opacity-100 ds:rtl:rotate-180"
|
|
423
|
-
}
|
|
424
|
-
) : null
|
|
425
|
-
]
|
|
426
|
-
}
|
|
427
|
-
);
|
|
428
|
-
}
|
|
429
|
-
);
|
|
430
|
-
Pa.displayName = "AppointmentCard";
|
|
431
|
-
export {
|
|
432
|
-
Pa as A
|
|
433
|
-
};
|
|
434
|
-
//# sourceMappingURL=appointment-card-OAOur8lH.js.map
|