@alfadocs/ui-kit 1.140.0 → 1.142.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/{actions-cell-renderer-C-l_ppP6.js → actions-cell-renderer-CPNyF6ye.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-BNFcQoXo.js → ai-credits-notice-D_Zm_N2A.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-B2QFwuJ1.js → ai-prompt-input-y4-dtQIT.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CVBlKur9.js → alia-sidebar-uxTsUbIt.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-YJGs2uWD.js → anamnesis-summary-rows-C2Ca9_Qj.js} +8 -8
- package/dist/_chunks/{appointment-card-CaxFXtSn.js → appointment-card-C0UFYFLZ.js} +170 -168
- package/dist/_chunks/{appointment-details-panel.history-DrIMDQYf.js → appointment-details-panel.history-BUXwhill.js} +2 -2
- package/dist/_chunks/{appointment-peek-BP_ACFz5.js → appointment-peek-BCzekfWh.js} +3 -3
- package/dist/_chunks/appointment-timeline-BK68CCBl.js +689 -0
- package/dist/_chunks/{appointment-tray-DPpeR9JT.js → appointment-tray-dfgScPcC.js} +2 -2
- package/dist/_chunks/{audio-recorder-6dUq8I38.js → audio-recorder-DxhCiLqG.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CRStPNDd.js → balance-badge-cell-CXi6moSa.js} +5 -5
- package/dist/_chunks/{bill-line-table-DTqXdBED.js → bill-line-table-qAdmV19W.js} +2 -2
- package/dist/_chunks/{bishop-score-M7Fi-ykx.js → bishop-score-DbvfBlBM.js} +2 -2
- package/dist/_chunks/{button-group-DuQuuulC.js → button-group-DoKG16Fy.js} +2 -2
- package/dist/_chunks/{calculator-dialog-Cg3GjaRf.js → calculator-dialog-BWizCwN5.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BBrJlmyd.js → calendar-appointment-editor-dialog-BDc8Q4Ji.js} +17 -17
- package/dist/_chunks/{calendar-editor-discard-host-BcMEgVEq.js → calendar-editor-discard-host-BblBxMqT.js} +5 -5
- package/dist/_chunks/{calendar-waiting-list-panel-Cdg9YssA.js → calendar-waiting-list-panel-js-0KEh8.js} +6 -6
- package/dist/_chunks/{calendar.sheets-DbMOO7YV.js → calendar.sheets-sBWH7Jxn.js} +12 -12
- package/dist/_chunks/calls-panel-CnjAKFgA.js +1448 -0
- package/dist/_chunks/{care-plan-card-CjHq6PLo.js → care-plan-card-TZH6C60K.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DY1toF6E.js → care-plan-entry-card-CufvXAWa.js} +2 -2
- package/dist/_chunks/{chart-D0EeFWst.js → chart-ChNsJf9_.js} +2 -2
- package/dist/_chunks/{color-picker-CC8ZfntU.js → color-picker-5FKOk_z1.js} +2 -2
- package/dist/_chunks/{communications-panel-DBWM9II9.js → communications-panel-EP27FN7e.js} +3 -3
- package/dist/_chunks/{control-room-rail-DcJpHbp4.js → control-room-rail-7SidoPJH.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Cb66X2Pf.js → cycle-calculator-BUCGfEcy.js} +2 -2
- package/dist/_chunks/{dashboard-grid-2uVXEe9e.js → dashboard-grid-D2egA1Zu.js} +2 -2
- package/dist/_chunks/{data-grid-tabs-D9Y4DeeH.js → data-grid-tabs-Mbj6bSK2.js} +2 -2
- package/dist/_chunks/{data-grid-CRUSZcVT.js → data-grid-tyE2kGfx.js} +5 -5
- package/dist/_chunks/{data-table-CnLfOwxg.js → data-table-Bq1FRBGB.js} +4 -4
- package/dist/_chunks/{data-table-tabs-NYLhD8_Z.js → data-table-tabs-D5ujdK56.js} +2 -2
- package/dist/_chunks/{date-picker-BmVBVpVu.js → date-picker-CD-PBzXM.js} +2 -2
- package/dist/_chunks/{date-range-panel-CT9Pk-HF.js → date-range-panel-BOgfP_V3.js} +2 -2
- package/dist/_chunks/{date-range-picker-2Up_FRrM.js → date-range-picker-Z-hI5Vb7.js} +2 -2
- package/dist/_chunks/{date-time-picker-C6b_Vymc.js → date-time-picker-DHza1SEH.js} +2 -2
- package/dist/_chunks/{default-tabs-CRbVCDSU.js → default-tabs-ChkVzOL8.js} +7 -7
- package/dist/_chunks/dialog-239Geb7Z.js +431 -0
- package/dist/_chunks/dialog-container-DHR0byah.js +17 -0
- package/dist/_chunks/{document-preview-FTCHXYhk.js → document-preview-x_S8V7VC.js} +3 -3
- package/dist/_chunks/{dropdown-menu-DBWaW4pq.js → dropdown-menu-Bm1KALnk.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dlqegxx9.js → due-date-calculator-DpN0Z9p4.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-CZMQ5xRT.js → editable-currency-cell-renderer-C6z6ABN_.js} +2 -2
- package/dist/_chunks/{face-scheme-Bxt7ZnJn.js → face-scheme-S88jbOzl.js} +3 -3
- package/dist/_chunks/{file-manager-Bsccb8Jj.js → file-manager-ChQSjfU8.js} +5 -5
- package/dist/_chunks/{gestational-age-calculator-DXSPWG8u.js → gestational-age-calculator-CCDIhSMV.js} +3 -3
- package/dist/_chunks/{hcg-doubling-Dqbj6PQj.js → hcg-doubling-BekuksBv.js} +2 -2
- package/dist/_chunks/{header-settings-Cu-MKOsO.js → header-settings-CvZ7Qii6.js} +3 -3
- package/dist/_chunks/{heatmap-CFPaEKD_.js → heatmap-D0OGx-70.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-DO6vJeP4.js → help-me-write-templates-C84_4iwX.js} +2 -2
- package/dist/_chunks/{hover-card-CuRIA4wN.js → hover-card-CIiPOlyM.js} +2 -2
- package/dist/_chunks/{icon-button-group-SmkdVCNx.js → icon-button-group-CLhC7wjU.js} +2 -2
- package/dist/_chunks/{icon-picker-BmU6gpZT.js → icon-picker-Ct6n8GTa.js} +2 -2
- package/dist/_chunks/{info-tip-B3cn3fY2.js → info-tip-CkH2En-i.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-BR6vycF7.js → invoice-upload-list-CZ1B9yWh.js} +4 -4
- package/dist/_chunks/{kit-extensions-QddOSnIq.js → kit-extensions-C_oZ7WOq.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-hAJplRFF.js → link-cell-renderer-ByOAy2Sb.js} +4 -4
- package/dist/_chunks/{locale-picker-C86h8Yt1.js → locale-picker-OrojXX6E.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-dMmxI6MT.js → marketplace-app-shell-DnL187-U.js} +4 -4
- package/dist/_chunks/{message-tray-pLGgLmoG.js → message-tray-g6dp_AAt.js} +2 -2
- package/dist/_chunks/{muscle-scheme-BB2eBfww.js → muscle-scheme-vNd8wU7V.js} +2 -2
- package/dist/_chunks/{non-modal-tab-exit-j3CPOuE3.js → non-modal-tab-exit-DqJao_E-.js} +2 -1
- package/dist/_chunks/{notes-panel-CnmQqhwq.js → notes-panel-CtMLUJOe.js} +5 -4
- package/dist/_chunks/{notification-tray-mlCfxNRH.js → notification-tray-DqCYs9Bw.js} +2 -2
- package/dist/_chunks/{optical-prescription-GzeK_2cf.js → optical-prescription-CWwrW4YQ.js} +2 -2
- package/dist/_chunks/{pagination-C7N_NiRN.js → pagination-BpXG5jVk.js} +2 -2
- package/dist/_chunks/{parts-BOnDDU3E.js → parts-IFiXO68Y.js} +3 -3
- package/dist/_chunks/{patient-account-settings-DfEPHmCh.js → patient-account-settings-e8Wp2g-F.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-TWs8CPQr.js → patient-check-in-resume-_nwf9gpx.js} +5 -5
- package/dist/_chunks/{patient-details-D0PjzALT.js → patient-details-6uJZ27ZL.js} +2 -2
- package/dist/_chunks/{patient-field-row-DlpIModg.js → patient-field-row-D8Cu_MQp.js} +5 -5
- package/dist/_chunks/{patient-search-aTFd7p9s.js → patient-search-C6-INPjs.js} +2 -2
- package/dist/_chunks/{patient-summary-card-BP_K7g_q.js → patient-summary-card-NYjO0IfN.js} +3 -3
- package/dist/_chunks/{pdf-viewer-TRC5jEm5.js → pdf-viewer-C8no312t.js} +2 -2
- package/dist/_chunks/{phone-input-DRKcJUi4.js → phone-input-DHiYJZ9v.js} +2 -2
- package/dist/_chunks/{popover-CN5IsOeS.js → popover-CkvP3rHZ.js} +2 -2
- package/dist/_chunks/{popup-region-qz_5_A0V.js → popup-region-BgZ8oeUB.js} +2 -2
- package/dist/_chunks/{portal-details-VfeOI4PB.js → portal-details-D9oF6FUV.js} +2 -2
- package/dist/_chunks/{portal-documents-hGHlwmbv.js → portal-documents-DSiLSave.js} +5 -5
- package/dist/_chunks/{portal-parts-C99CreYO.js → portal-parts-8qrUM-uK.js} +3 -3
- package/dist/_chunks/{practice-results-DaxGw9_f.js → practice-results-BUEsl2Pj.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-a6WIg4oy.js → pregnancy-dating-wc9iCN0f.js} +3 -3
- package/dist/_chunks/{prescription-history-Bp_JHhdF.js → prescription-history-DFcPXYdF.js} +8 -8
- package/dist/_chunks/{product-hub-panel-K4QbULG7.js → product-hub-panel-BPpmVDm5.js} +2 -2
- package/dist/_chunks/{public-header.agent-DaeDfLfy.js → public-header.agent-Dsl9zhA2.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-88VjqlG7.js → radiograph-panel.agent-CSpr2paU.js} +4 -4
- package/dist/_chunks/{registration-form-Cs9o6e5q.js → registration-form-DRGMzq9V.js} +3 -3
- package/dist/_chunks/{reserved.agent-L2ElYPuj.js → reserved.agent-C_pr0bHy.js} +4 -4
- package/dist/_chunks/{rich-text-editor-DFsH5RAj.js → rich-text-editor-CQ54ybTB.js} +1325 -1310
- package/dist/_chunks/{row-actions-BF2-uizV.js → row-actions-C6d6vy5z.js} +3 -3
- package/dist/_chunks/{saved-view-tabs-DLWm88Eq.js → saved-view-tabs-CVUM3Nqz.js} +2 -2
- package/dist/_chunks/{select-Bm8s3q-X.js → select-Bw5FvGJ7.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-C1vw6H1M.js → send-registration-link-form-D-NkS__p.js} +3 -3
- package/dist/_chunks/{sheet-BdhYeQQT.js → sheet-BIAhwdyS.js} +2 -2
- package/dist/_chunks/{sign-document-DDZbmYHu.js → sign-document-BUhWw-7S.js} +2 -2
- package/dist/_chunks/{signature-request-D3sLLOM6.js → signature-request-BfKo3vOz.js} +4 -4
- package/dist/_chunks/{signing-end-screen-BdhbkPKO.js → signing-end-screen-Pmda6tCH.js} +4 -4
- package/dist/_chunks/{step-up-dialog-C2JqJmCA.js → step-up-dialog-C1O8ctoh.js} +2 -2
- package/dist/_chunks/{sync-tray-BhnkgXKK.js → sync-tray-BTmveFGE.js} +2 -2
- package/dist/_chunks/{tab-bar-CeC2QOwB.js → tab-bar-C6tPDq9s.js} +2 -2
- package/dist/_chunks/{tabs-BXr5XeGq.js → tabs-BOf9OO--.js} +3 -3
- package/dist/_chunks/{task-editor-DDVDPKJf.js → task-editor-DNkrLbgK.js} +7 -6
- package/dist/_chunks/{tasks-panel-BHXaPNOZ.js → tasks-panel-Dmp49cBo.js} +3 -3
- package/dist/_chunks/{theme-toggle-BQDFxvVS.js → theme-toggle-C2LPw3xr.js} +3 -3
- package/dist/_chunks/{token-insert-menu-BLtfMTJd.js → token-insert-menu-sGtftx4Y.js} +2 -2
- package/dist/_chunks/{tool-rail-Kup1b7xI.js → tool-rail-CKOuVHUQ.js} +213 -209
- package/dist/_chunks/{toolbar-B7UHCMSr.js → toolbar-JTR20W-U.js} +3 -3
- package/dist/_chunks/{tooth-scheme-BtnFgugP.js → tooth-scheme-DpgciFU8.js} +2 -2
- package/dist/_chunks/{unit-converter-OBhSDXee.js → unit-converter-D1e1wZRE.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-DeQnmmZw.js → use-appointment-details-read-DIRHedaM.js} +7 -7
- package/dist/_chunks/{verify-identity-types-C6Bam8v6.js → verify-identity-types-CpeJIc9F.js} +2 -2
- package/dist/_chunks/{voice-control-panel-Dc_NFH2R.js → voice-control-panel-CfBUrzhJ.js} +3 -3
- package/dist/_chunks/{widget-picker-D3T7e8a4.js → widget-picker-Ddl0lDWV.js} +2 -2
- package/dist/_chunks/{workflow-map-DaZFP9SJ.js → workflow-map-CsfRHhlz.js} +2 -2
- package/dist/_chunks/{workflow-status-CO0mxXs2.js → workflow-status-Cg7yjnye.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-BsGSh3h9.js → workflow-webhook-action-BUWc2txJ.js} +2 -2
- package/dist/agent-catalog.json +134 -3
- package/dist/agent-i18n/en.json +8 -2
- package/dist/appointment-editor-panel/index.js +2 -2
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/non-modal-tab-exit.d.ts +1 -0
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +4 -0
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +51 -0
- package/dist/components/appointment-timeline/index.d.ts +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calls-panel/calls-panel.d.ts +91 -0
- package/dist/components/calls-panel/index.d.ts +1 -1
- package/dist/components/calls-panel/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/chart/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-grid-tabs/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/dialog-container.d.ts +27 -0
- package/dist/components/dialog/dialog.d.ts +12 -2
- package/dist/components/dialog/index.d.ts +3 -1
- package/dist/components/dialog/index.js +5 -3
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/row-actions/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/step-up-dialog/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +13 -1
- package/dist/i18n/locales/ar.d.ts +45 -0
- package/dist/i18n/locales/ar.js +44 -2
- package/dist/i18n/locales/de.d.ts +45 -0
- package/dist/i18n/locales/de.js +44 -2
- package/dist/i18n/locales/el.d.ts +45 -0
- package/dist/i18n/locales/el.js +47 -2
- package/dist/i18n/locales/en.d.ts +37 -0
- package/dist/i18n/locales/en.js +39 -2
- package/dist/i18n/locales/es.d.ts +45 -0
- package/dist/i18n/locales/es.js +44 -2
- package/dist/i18n/locales/fr.d.ts +45 -0
- package/dist/i18n/locales/fr.js +44 -2
- package/dist/i18n/locales/hi.d.ts +45 -0
- package/dist/i18n/locales/hi.js +47 -2
- package/dist/i18n/locales/it.d.ts +45 -0
- package/dist/i18n/locales/it.js +44 -2
- package/dist/i18n/locales/ja.d.ts +45 -0
- package/dist/i18n/locales/ja.js +47 -2
- package/dist/i18n/locales/nl.d.ts +45 -0
- package/dist/i18n/locales/nl.js +44 -2
- package/dist/i18n/locales/pl.d.ts +45 -0
- package/dist/i18n/locales/pl.js +47 -2
- package/dist/i18n/locales/pt.d.ts +45 -0
- package/dist/i18n/locales/pt.js +44 -2
- package/dist/i18n/locales/ro.d.ts +45 -0
- package/dist/i18n/locales/ro.js +44 -2
- package/dist/i18n/locales/ru.d.ts +45 -0
- package/dist/i18n/locales/ru.js +44 -2
- package/dist/i18n/locales/sq.d.ts +45 -0
- package/dist/i18n/locales/sq.js +47 -2
- package/dist/i18n/locales/sv.d.ts +45 -0
- package/dist/i18n/locales/sv.js +44 -2
- package/dist/i18n/locales/tr.d.ts +45 -0
- package/dist/i18n/locales/tr.js +44 -2
- package/dist/i18n/locales/zh.d.ts +45 -0
- package/dist/i18n/locales/zh.js +44 -2
- package/dist/index.js +945 -943
- package/dist/locales/ar.json +47 -2
- package/dist/locales/de.json +47 -2
- package/dist/locales/el.json +47 -2
- package/dist/locales/en.json +39 -2
- package/dist/locales/es.json +47 -2
- package/dist/locales/fr.json +47 -2
- package/dist/locales/hi.json +47 -2
- package/dist/locales/it.json +47 -2
- package/dist/locales/ja.json +47 -2
- package/dist/locales/nl.json +47 -2
- package/dist/locales/pl.json +47 -2
- package/dist/locales/pt.json +47 -2
- package/dist/locales/ro.json +47 -2
- package/dist/locales/ru.json +47 -2
- package/dist/locales/sq.json +47 -2
- package/dist/locales/sv.json +47 -2
- package/dist/locales/tr.json +47 -2
- package/dist/locales/zh.json +47 -2
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +3 -3
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/appointment-timeline-BEwgbYyG.js +0 -455
- package/dist/_chunks/calls-panel-CtxJAzkJ.js +0 -1094
- package/dist/_chunks/dialog-CVTxyR0v.js +0 -349
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { jsxs as r, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { A as
|
|
6
|
-
import { B as
|
|
7
|
-
import { T as
|
|
8
|
-
import { T as
|
|
9
|
-
import { T as
|
|
10
|
-
import { i as
|
|
11
|
-
import { V as
|
|
12
|
-
import { p as
|
|
13
|
-
import { a as
|
|
14
|
-
import { i as
|
|
15
|
-
import { V as
|
|
16
|
-
import { M as
|
|
17
|
-
import { E as
|
|
18
|
-
import { b as
|
|
19
|
-
import { U as
|
|
20
|
-
import { B as
|
|
21
|
-
import { S as
|
|
22
|
-
import { c as
|
|
23
|
-
import { A as
|
|
24
|
-
import { G as
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
1
|
+
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ca, useMemo as na, useEffect as za } from "react";
|
|
3
|
+
import { c as Ta } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Sa } from "react-i18next";
|
|
5
|
+
import { A as ta } from "./avatar-Dp5apm1d.js";
|
|
6
|
+
import { B as o } from "./badge-BUk4RjTS.js";
|
|
7
|
+
import { T as Ma } from "./tag-BNlcEJfE.js";
|
|
8
|
+
import { T as Ra } from "./timestamp-DPLDWdxA.js";
|
|
9
|
+
import { T as oa } from "./transaction-chip-CkYd-3ky.js";
|
|
10
|
+
import { i as Aa } from "./is-development-CLUAnsU7.js";
|
|
11
|
+
import { V as ia } from "./visually-hidden-BHxEUGyT.js";
|
|
12
|
+
import { p as La } from "./privacy-mask-text-B8YfzB7L.js";
|
|
13
|
+
import { a as Da } from "./workflow-status-Cg7yjnye.js";
|
|
14
|
+
import { i as Va } from "./is-safe-url-CEy9CEml.js";
|
|
15
|
+
import { V as _a } from "./video-BheNGvsu.js";
|
|
16
|
+
import { M as Ia } from "./map-pin-BaY37-Km.js";
|
|
17
|
+
import { E as Pa } from "./eye-off-C_4xkbRP.js";
|
|
18
|
+
import { b as Ea, a as Oa, c as Ua } from "./entity-card-p-LANpYt.js";
|
|
19
|
+
import { U as Fa } from "./user-x-BJZg4kaP.js";
|
|
20
|
+
import { B as $a } from "./building-2-D33bLCWL.js";
|
|
21
|
+
import { S as da } from "./star-Bf9L2Uot.js";
|
|
22
|
+
import { c as pa } from "./createLucideIcon-DhHxpK9K.js";
|
|
23
|
+
import { A as ja } from "./armchair-BaLDW6Hz.js";
|
|
24
|
+
import { G as Ba } from "./globe-sHBW1JN5.js";
|
|
25
|
+
import { H as Ha } from "./hourglass-BEAzW1wE.js";
|
|
26
|
+
import { R as Wa } from "./repeat-CvQa5rZt.js";
|
|
27
|
+
import { F as qa } from "./file-pen-line-k4uMBM3h.js";
|
|
28
|
+
import { C as Ga } from "./chevron-right-I9AeSxH2.js";
|
|
28
29
|
/**
|
|
29
30
|
* @license lucide-react v1.22.0 - ISC
|
|
30
31
|
*
|
|
31
32
|
* This source code is licensed under the ISC license.
|
|
32
33
|
* See the LICENSE file in the root directory of this source tree.
|
|
33
34
|
*/
|
|
34
|
-
const
|
|
35
|
+
const Ka = [
|
|
35
36
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
36
37
|
[
|
|
37
38
|
"path",
|
|
@@ -42,14 +43,14 @@ const qa = [
|
|
|
42
43
|
],
|
|
43
44
|
["path", { d: "M9 14h6", key: "159ibu" }],
|
|
44
45
|
["path", { d: "M12 17v-6", key: "1y8rbf" }]
|
|
45
|
-
],
|
|
46
|
+
], Ya = pa("clipboard-plus", Ka);
|
|
46
47
|
/**
|
|
47
48
|
* @license lucide-react v1.22.0 - ISC
|
|
48
49
|
*
|
|
49
50
|
* This source code is licensed under the ISC license.
|
|
50
51
|
* See the LICENSE file in the root directory of this source tree.
|
|
51
52
|
*/
|
|
52
|
-
const
|
|
53
|
+
const Xa = [
|
|
53
54
|
[
|
|
54
55
|
"path",
|
|
55
56
|
{
|
|
@@ -60,7 +61,7 @@ const Ha = [
|
|
|
60
61
|
["path", { d: "M7 11h10", key: "1twpyw" }],
|
|
61
62
|
["path", { d: "M7 15h6", key: "d9of3u" }],
|
|
62
63
|
["path", { d: "M7 7h8", key: "af5zfr" }]
|
|
63
|
-
],
|
|
64
|
+
], Ja = pa("message-square-text", Xa), Qa = {
|
|
64
65
|
"var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
|
|
65
66
|
"var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
|
|
66
67
|
"var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
|
|
@@ -73,23 +74,23 @@ const Ha = [
|
|
|
73
74
|
"var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
|
|
74
75
|
"var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
|
|
75
76
|
};
|
|
76
|
-
function
|
|
77
|
-
return
|
|
77
|
+
function Za(a) {
|
|
78
|
+
return Qa[Ua(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function as(a) {
|
|
80
81
|
if (!a) return;
|
|
81
|
-
const
|
|
82
|
-
if (Number.isNaN(
|
|
82
|
+
const i = new Date(a);
|
|
83
|
+
if (Number.isNaN(i.getTime())) return;
|
|
83
84
|
const f = /* @__PURE__ */ new Date();
|
|
84
|
-
let d = f.getFullYear() -
|
|
85
|
-
const
|
|
86
|
-
return (
|
|
85
|
+
let d = f.getFullYear() - i.getFullYear();
|
|
86
|
+
const l = f.getMonth() - i.getMonth();
|
|
87
|
+
return (l < 0 || l === 0 && f.getDate() < i.getDate()) && d--, d < 0 || d > 130 ? void 0 : d;
|
|
87
88
|
}
|
|
88
|
-
const
|
|
89
|
+
const la = {
|
|
89
90
|
hour: "numeric",
|
|
90
91
|
minute: "2-digit"
|
|
91
92
|
};
|
|
92
|
-
function
|
|
93
|
+
function ss(a) {
|
|
93
94
|
if (a)
|
|
94
95
|
try {
|
|
95
96
|
return new Intl.DateTimeFormat("en", { timeZone: a }).resolvedOptions().timeZone;
|
|
@@ -97,7 +98,7 @@ function Qa(a) {
|
|
|
97
98
|
return;
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
const
|
|
101
|
+
const es = Ta(
|
|
101
102
|
[
|
|
102
103
|
"ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
103
104
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -161,13 +162,13 @@ const Za = Ca(
|
|
|
161
162
|
next: !1
|
|
162
163
|
}
|
|
163
164
|
}
|
|
164
|
-
),
|
|
165
|
-
"ds:
|
|
165
|
+
), rs = [
|
|
166
|
+
"ds:max-w-full ds:shrink-0",
|
|
166
167
|
"ds:[&>div]:h-auto ds:[&>div]:min-h-8 ds:[&>div]:py-[var(--spacing-2xs)]",
|
|
167
168
|
"ds:[&_[data-workflow-status-value]]:overflow-visible",
|
|
168
169
|
"ds:[&_[data-workflow-status-value]]:whitespace-normal",
|
|
169
|
-
"ds:[&_[data-workflow-status-value]]:
|
|
170
|
-
].join(" "),
|
|
170
|
+
"ds:[&_[data-workflow-status-value]]:[overflow-wrap:normal]"
|
|
171
|
+
].join(" "), ca = [
|
|
171
172
|
// Interactive elements need a box to remain keyboard-focusable in browsers.
|
|
172
173
|
"ds:inline-flex ds:min-w-0",
|
|
173
174
|
"ds:focus-visible:outline-none",
|
|
@@ -178,54 +179,54 @@ const Za = Ca(
|
|
|
178
179
|
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
179
180
|
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
180
181
|
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
181
|
-
].join(" "),
|
|
182
|
-
inPractice:
|
|
183
|
-
telehealth:
|
|
184
|
-
},
|
|
182
|
+
].join(" "), ns = {
|
|
183
|
+
inPractice: Ia,
|
|
184
|
+
telehealth: _a
|
|
185
|
+
}, ts = Ca(
|
|
185
186
|
({
|
|
186
187
|
item: a,
|
|
187
|
-
size:
|
|
188
|
+
size: i = "sm",
|
|
188
189
|
surface: f = "flat",
|
|
189
190
|
locale: d,
|
|
190
|
-
timeZone:
|
|
191
|
+
timeZone: l,
|
|
191
192
|
currency: z = "EUR",
|
|
192
|
-
showPatient:
|
|
193
|
+
showPatient: c = !0,
|
|
193
194
|
onActivate: m,
|
|
194
195
|
selected: T = !1,
|
|
195
|
-
hideDefaultStatus:
|
|
196
|
-
privacy:
|
|
197
|
-
privacyTitle:
|
|
196
|
+
hideDefaultStatus: ma = !1,
|
|
197
|
+
privacy: p = !1,
|
|
198
|
+
privacyTitle: ua,
|
|
198
199
|
wrapText: g = !1,
|
|
199
200
|
className: S,
|
|
200
|
-
...
|
|
201
|
-
},
|
|
202
|
-
var O, U, F, $, j, B, W, q, G,
|
|
203
|
-
const { t:
|
|
204
|
-
() => h ? { ...
|
|
201
|
+
...fa
|
|
202
|
+
}, ga) => {
|
|
203
|
+
var O, U, F, $, j, B, H, W, q, G, K, Y, X, J, Q, Z, aa, sa, ea, ra;
|
|
204
|
+
const { t: e } = Sa("ui"), h = na(() => ss(l), [l]), ha = na(
|
|
205
|
+
() => h ? { ...la, timeZone: h } : la,
|
|
205
206
|
[h]
|
|
206
207
|
);
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
`AppointmentCard: "${
|
|
208
|
+
za(() => {
|
|
209
|
+
l && !h && Aa() && console.warn(
|
|
210
|
+
`AppointmentCard: "${l}" is not a time zone this browser knows, so the start time shows in the browser's own zone.`
|
|
210
211
|
);
|
|
211
|
-
}, [
|
|
212
|
-
const v = !!m,
|
|
213
|
-
title:
|
|
212
|
+
}, [l, h]);
|
|
213
|
+
const v = !!m, va = !!a.url && Va(a.url), t = a.state ?? void 0, ba = t !== void 0 && !(ma && t === "confirmed"), w = ((O = a.patient) == null ? void 0 : O.name) ?? e("appointmentCard.noPatient"), u = (U = a.operator) == null ? void 0 : U.name, b = e(t ? `appointmentCard.state.${t}` : "workflowStatus.noStatus"), M = Oa(t ?? ""), xa = M.Icon, wa = ((F = a.flags) == null ? void 0 : F.noPatientAssigned) || !a.patient, R = p && c && a.patient !== void 0, A = p ? void 0 : as(($ = a.patient) == null ? void 0 : $.dobIso), L = ((j = a.practiceName) == null ? void 0 : j.trim()) || void 0, N = i === "md" ? "md" : "sm", Na = ns[a.type], D = c ? w : u ?? e("appointmentCard.appointment"), V = t ? R ? e("appointmentCard.itemLabelGeneric", {
|
|
214
|
+
title: e("appointmentPeek.hiddenName"),
|
|
214
215
|
state: b
|
|
215
|
-
}) :
|
|
216
|
-
patient:
|
|
216
|
+
}) : c ? e("appointmentCard.itemLabel", {
|
|
217
|
+
patient: w,
|
|
217
218
|
state: b
|
|
218
|
-
}) :
|
|
219
|
+
}) : e("appointmentCard.itemLabelGeneric", { title: D, state: b }) : void 0, k = /* @__PURE__ */ r(
|
|
219
220
|
"span",
|
|
220
221
|
{
|
|
221
222
|
className: (g ? "ds:min-w-0 ds:break-words" : "ds:min-w-0 ds:truncate") + " type-title-item ds:text-[color:var(--foreground)]",
|
|
222
223
|
children: [
|
|
223
224
|
R ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
/* @__PURE__ */
|
|
227
|
-
] }) :
|
|
228
|
-
|
|
225
|
+
/* @__PURE__ */ s(Pa, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
|
|
226
|
+
/* @__PURE__ */ s(ia, { children: e("appointmentPeek.hiddenName") }),
|
|
227
|
+
/* @__PURE__ */ s("span", { "aria-hidden": "true", children: La(ua) })
|
|
228
|
+
] }) : D,
|
|
229
|
+
c && A !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
|
|
229
230
|
"· ",
|
|
230
231
|
A
|
|
231
232
|
] }) : null
|
|
@@ -233,59 +234,59 @@ const Za = Ca(
|
|
|
233
234
|
}
|
|
234
235
|
);
|
|
235
236
|
let x;
|
|
236
|
-
v &&
|
|
237
|
+
v && va ? x = /* @__PURE__ */ s(
|
|
237
238
|
"a",
|
|
238
239
|
{
|
|
239
240
|
href: a.url,
|
|
240
|
-
"aria-label":
|
|
241
|
+
"aria-label": V,
|
|
241
242
|
"data-action": "open-appointment",
|
|
242
|
-
className:
|
|
243
|
+
className: ca,
|
|
243
244
|
onClick: (n) => {
|
|
244
245
|
n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || m == null || m(a);
|
|
245
246
|
},
|
|
246
|
-
children:
|
|
247
|
+
children: k
|
|
247
248
|
}
|
|
248
|
-
) : v ? x = /* @__PURE__ */
|
|
249
|
+
) : v ? x = /* @__PURE__ */ s(
|
|
249
250
|
"button",
|
|
250
251
|
{
|
|
251
252
|
type: "button",
|
|
252
|
-
"aria-label":
|
|
253
|
+
"aria-label": V,
|
|
253
254
|
"data-action": "open-appointment",
|
|
254
|
-
className:
|
|
255
|
+
className: ca + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
255
256
|
onClick: () => m == null ? void 0 : m(a),
|
|
256
|
-
children:
|
|
257
|
+
children: k
|
|
257
258
|
}
|
|
258
|
-
) : x =
|
|
259
|
-
const
|
|
260
|
-
const
|
|
259
|
+
) : x = k;
|
|
260
|
+
const _ = (a.treatments ?? []).map((n, ka) => {
|
|
261
|
+
const ya = n.elements && n.elements.length > 0 ? e("appointmentCard.treatmentWithElements", {
|
|
261
262
|
care: n.careName,
|
|
262
263
|
elements: n.elements.join(", ")
|
|
263
264
|
}) : n.careName;
|
|
264
|
-
return /* @__PURE__ */
|
|
265
|
-
|
|
265
|
+
return /* @__PURE__ */ s(
|
|
266
|
+
Ma,
|
|
266
267
|
{
|
|
267
|
-
label:
|
|
268
|
+
label: ya,
|
|
268
269
|
variant: "neutral",
|
|
269
270
|
fill: "outline",
|
|
270
271
|
size: "sm",
|
|
271
272
|
maxInlineSize: "12rem"
|
|
272
273
|
},
|
|
273
|
-
`${n.careName}-${
|
|
274
|
+
`${n.careName}-${ka}`
|
|
274
275
|
);
|
|
275
|
-
}), y = (B = a.bookingReason) == null ? void 0 : B.advanceAmountCents,
|
|
276
|
+
}), y = (B = a.bookingReason) == null ? void 0 : B.advanceAmountCents, I = !p && typeof y == "number" && y > 0, C = (H = a.money) == null ? void 0 : H.unpaidAmountCents, P = !p && typeof C == "number" && C > 0, E = !p && ((W = a.flags) == null ? void 0 : W.highlightedAnamnesis);
|
|
276
277
|
return /* @__PURE__ */ r(
|
|
277
278
|
"div",
|
|
278
279
|
{
|
|
279
|
-
ref:
|
|
280
|
+
ref: ga,
|
|
280
281
|
role: "listitem",
|
|
281
282
|
"data-component": "appointment-card",
|
|
282
283
|
"data-component-id": a.id,
|
|
283
|
-
"data-state":
|
|
284
|
+
"data-state": t,
|
|
284
285
|
"data-type": a.type,
|
|
285
|
-
"data-privacy":
|
|
286
|
+
"data-privacy": p ? "masked" : void 0,
|
|
286
287
|
"aria-current": T ? "true" : void 0,
|
|
287
|
-
className:
|
|
288
|
-
size:
|
|
288
|
+
className: es({
|
|
289
|
+
size: i,
|
|
289
290
|
interactive: v,
|
|
290
291
|
surface: f,
|
|
291
292
|
selected: T,
|
|
@@ -293,43 +294,43 @@ const Za = Ca(
|
|
|
293
294
|
next: a.next,
|
|
294
295
|
className: g ? `ds:@container/apptcard ${S ?? ""}`.trim() : S
|
|
295
296
|
}),
|
|
296
|
-
...
|
|
297
|
+
...fa,
|
|
297
298
|
children: [
|
|
298
299
|
/* @__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: [
|
|
299
300
|
/* @__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: [
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
-
/* @__PURE__ */
|
|
302
|
-
/* @__PURE__ */
|
|
303
|
-
|
|
301
|
+
/* @__PURE__ */ s(Na, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
302
|
+
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: e(`appointmentCard.type.${a.type}`) }),
|
|
303
|
+
/* @__PURE__ */ s(
|
|
304
|
+
Ra,
|
|
304
305
|
{
|
|
305
306
|
value: a.startIso,
|
|
306
307
|
format: "absolute",
|
|
307
308
|
shape: "bare",
|
|
308
309
|
locale: d,
|
|
309
|
-
absoluteFormat:
|
|
310
|
+
absoluteFormat: ha,
|
|
310
311
|
className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
|
|
311
312
|
}
|
|
312
313
|
)
|
|
313
314
|
] }),
|
|
314
|
-
/* @__PURE__ */
|
|
315
|
+
/* @__PURE__ */ s("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: e("appointmentCard.duration", { count: a.durationMin }) })
|
|
315
316
|
] }),
|
|
316
317
|
u ? /* @__PURE__ */ r("span", { className: "ds:relative ds:shrink-0", children: [
|
|
317
|
-
/* @__PURE__ */
|
|
318
|
-
|
|
318
|
+
/* @__PURE__ */ s(
|
|
319
|
+
ta,
|
|
319
320
|
{
|
|
320
321
|
name: u,
|
|
321
|
-
color:
|
|
322
|
-
size:
|
|
322
|
+
color: Ea((q = a.operator) == null ? void 0 : q.colorId),
|
|
323
|
+
size: N,
|
|
323
324
|
"aria-hidden": "true",
|
|
324
325
|
role: "presentation",
|
|
325
326
|
"aria-label": void 0
|
|
326
327
|
}
|
|
327
328
|
),
|
|
328
|
-
/* @__PURE__ */
|
|
329
|
+
/* @__PURE__ */ s(
|
|
329
330
|
"span",
|
|
330
331
|
{
|
|
331
332
|
"aria-hidden": "true",
|
|
332
|
-
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)] " +
|
|
333
|
+
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)] " + Za((G = a.operator) == null ? void 0 : G.colorId)
|
|
333
334
|
}
|
|
334
335
|
)
|
|
335
336
|
] }) : null,
|
|
@@ -344,137 +345,138 @@ const Za = Ca(
|
|
|
344
345
|
{
|
|
345
346
|
className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]" + (g ? " ds:@max-[400px]/apptcard:basis-full" : ""),
|
|
346
347
|
children: [
|
|
347
|
-
|
|
348
|
-
|
|
348
|
+
c && !p && ((K = a.patient) != null && K.avatarUrl) ? /* @__PURE__ */ s(
|
|
349
|
+
ta,
|
|
349
350
|
{
|
|
350
|
-
name:
|
|
351
|
+
name: w,
|
|
351
352
|
src: a.patient.avatarUrl,
|
|
352
|
-
size:
|
|
353
|
+
size: N,
|
|
353
354
|
className: "ds:shrink-0",
|
|
354
355
|
"aria-hidden": "true",
|
|
355
356
|
role: "presentation",
|
|
356
357
|
"aria-label": void 0
|
|
357
358
|
}
|
|
358
359
|
) : null,
|
|
359
|
-
|
|
360
|
+
c && wa ? /* @__PURE__ */ s(
|
|
360
361
|
"span",
|
|
361
362
|
{
|
|
362
|
-
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)] ${
|
|
363
|
-
children: /* @__PURE__ */
|
|
363
|
+
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)] ${N === "md" ? "ds:size-10" : "ds:size-8"}`,
|
|
364
|
+
children: /* @__PURE__ */ s(Fa, { "aria-hidden": "true", className: "ds:size-4" })
|
|
364
365
|
}
|
|
365
366
|
) : null,
|
|
366
367
|
x
|
|
367
368
|
]
|
|
368
369
|
}
|
|
369
370
|
),
|
|
370
|
-
a.next ? /* @__PURE__ */
|
|
371
|
-
|
|
371
|
+
a.next ? /* @__PURE__ */ s(
|
|
372
|
+
o,
|
|
372
373
|
{
|
|
373
374
|
variant: "accentSoft",
|
|
374
375
|
size: "sm",
|
|
375
376
|
className: "ds:shrink-0",
|
|
376
377
|
"aria-hidden": "true",
|
|
377
|
-
children:
|
|
378
|
+
children: e("appointmentCard.next")
|
|
378
379
|
}
|
|
379
380
|
) : null,
|
|
380
|
-
|
|
381
|
-
|
|
381
|
+
ba && t ? /* @__PURE__ */ s(
|
|
382
|
+
Da,
|
|
382
383
|
{
|
|
383
384
|
size: "sm",
|
|
384
|
-
value:
|
|
385
|
+
value: t,
|
|
385
386
|
option: {
|
|
386
|
-
value:
|
|
387
|
+
value: t,
|
|
387
388
|
label: b,
|
|
388
|
-
icon: /* @__PURE__ */
|
|
389
|
+
icon: /* @__PURE__ */ s(xa, { "aria-hidden": "true" }),
|
|
389
390
|
tone: M.tone
|
|
390
391
|
},
|
|
391
|
-
className: g ?
|
|
392
|
+
className: g ? rs : "ds:shrink-0"
|
|
392
393
|
}
|
|
393
394
|
) : null
|
|
394
395
|
]
|
|
395
396
|
}
|
|
396
397
|
),
|
|
397
|
-
a.next ? /* @__PURE__ */
|
|
398
|
-
|
|
398
|
+
a.next ? /* @__PURE__ */ s("span", { className: "ds:sr-only", children: e("appointmentCard.nextSr") }) : null,
|
|
399
|
+
L ? /* @__PURE__ */ r(
|
|
399
400
|
"span",
|
|
400
401
|
{
|
|
401
402
|
"data-slot": "practice",
|
|
402
403
|
className: "type-meta ds:flex ds:min-w-0 ds:items-start ds:gap-[var(--spacing-2xs)] ds:text-[color:var(--muted-foreground)]",
|
|
403
404
|
children: [
|
|
404
|
-
/* @__PURE__ */
|
|
405
|
-
/* @__PURE__ */
|
|
406
|
-
/* @__PURE__ */
|
|
405
|
+
/* @__PURE__ */ s("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ s($a, { "aria-hidden": "true", className: "ds:size-3" }) }),
|
|
406
|
+
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: e("appointmentCard.practice") }),
|
|
407
|
+
/* @__PURE__ */ s("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: L })
|
|
407
408
|
]
|
|
408
409
|
}
|
|
409
410
|
) : null,
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
(X = a.bookingReason) != null && X.specialty ? /* @__PURE__ */
|
|
411
|
+
c && u || (Y = a.bookingReason) != null && Y.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: [
|
|
412
|
+
c && u ? /* @__PURE__ */ s("span", { children: u }) : null,
|
|
413
|
+
(X = a.bookingReason) != null && X.specialty ? /* @__PURE__ */ s("span", { children: a.bookingReason.specialty }) : null,
|
|
413
414
|
a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
414
|
-
/* @__PURE__ */
|
|
415
|
-
|
|
415
|
+
/* @__PURE__ */ s(da, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
416
|
+
e("appointmentCard.firstVisit")
|
|
416
417
|
] }) : null,
|
|
417
418
|
a.firstVisit === "unknown" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
418
|
-
/* @__PURE__ */
|
|
419
|
-
|
|
419
|
+
/* @__PURE__ */ s(da, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
420
|
+
e("appointmentCard.firstVisitUnknown")
|
|
420
421
|
] }) : null,
|
|
421
422
|
a.bookingNote ? /* @__PURE__ */ r(
|
|
422
423
|
"span",
|
|
423
424
|
{
|
|
424
425
|
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
425
|
-
title:
|
|
426
|
+
title: e("appointmentCard.hasBookingNote"),
|
|
426
427
|
children: [
|
|
427
|
-
/* @__PURE__ */
|
|
428
|
-
|
|
428
|
+
/* @__PURE__ */ s(
|
|
429
|
+
Ja,
|
|
429
430
|
{
|
|
430
431
|
"aria-hidden": "true",
|
|
431
432
|
className: "ds:size-3 ds:shrink-0"
|
|
432
433
|
}
|
|
433
434
|
),
|
|
434
|
-
|
|
435
|
+
e("appointmentCard.hasBookingNote")
|
|
435
436
|
]
|
|
436
437
|
}
|
|
437
438
|
) : null
|
|
438
439
|
] }) : null,
|
|
439
|
-
(J = a.bookingReason) != null && J.description && !
|
|
440
|
-
|
|
441
|
-
a.carePlan || a.chair || (Q = a.flags) != null && Q.bookedOnline || E || (
|
|
442
|
-
a.carePlan ? /* @__PURE__ */
|
|
443
|
-
|
|
440
|
+
(J = a.bookingReason) != null && J.description && !p ? /* @__PURE__ */ s("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
|
|
441
|
+
_.length > 0 ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: _ }) : null,
|
|
442
|
+
a.carePlan || a.chair || (Q = a.flags) != null && Q.bookedOnline || (Z = a.flags) != null && Z.waitingList || E || (aa = a.flags) != null && aa.billable || a.recurring || a.signing || I || P ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
443
|
+
a.carePlan ? /* @__PURE__ */ s(
|
|
444
|
+
o,
|
|
444
445
|
{
|
|
445
446
|
variant: "accentSoft",
|
|
446
447
|
size: "sm",
|
|
447
|
-
leading: /* @__PURE__ */
|
|
448
|
-
children:
|
|
448
|
+
leading: /* @__PURE__ */ s(Ya, {}),
|
|
449
|
+
children: e("appointmentCard.carePlan", {
|
|
449
450
|
number: a.carePlan.number
|
|
450
451
|
})
|
|
451
452
|
}
|
|
452
453
|
) : null,
|
|
453
|
-
a.chair ? /* @__PURE__ */ r(
|
|
454
|
-
/* @__PURE__ */ r(
|
|
455
|
-
|
|
454
|
+
a.chair ? /* @__PURE__ */ r(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(ja, {}), children: [
|
|
455
|
+
/* @__PURE__ */ r(ia, { children: [
|
|
456
|
+
e("calendarWorkspace.details.chair"),
|
|
456
457
|
" "
|
|
457
458
|
] }),
|
|
458
459
|
a.chair
|
|
459
460
|
] }) : null,
|
|
460
|
-
(
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
a.
|
|
464
|
-
|
|
461
|
+
(sa = a.flags) != null && sa.bookedOnline ? /* @__PURE__ */ s(o, { variant: "info", size: "sm", leading: /* @__PURE__ */ s(Ba, {}), children: e("appointmentCard.flag.bookedOnline") }) : null,
|
|
462
|
+
(ea = a.flags) != null && ea.waitingList ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Ha, {}), children: e("appointmentCard.flag.waitingList") }) : null,
|
|
463
|
+
E ? /* @__PURE__ */ s(o, { variant: "warning", size: "sm", withDot: !0, children: e("appointmentCard.flag.highlightedAnamnesis") }) : null,
|
|
464
|
+
a.recurring ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Wa, {}), children: e("appointmentCard.recurring") }) : null,
|
|
465
|
+
a.signing ? /* @__PURE__ */ s(
|
|
466
|
+
o,
|
|
465
467
|
{
|
|
466
468
|
variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
|
|
467
469
|
size: "sm",
|
|
468
|
-
leading: /* @__PURE__ */
|
|
469
|
-
children:
|
|
470
|
+
leading: /* @__PURE__ */ s(qa, {}),
|
|
471
|
+
children: e("appointmentCard.signing", {
|
|
470
472
|
complete: a.signing.toComplete,
|
|
471
473
|
required: a.signing.required
|
|
472
474
|
})
|
|
473
475
|
}
|
|
474
476
|
) : null,
|
|
475
|
-
(
|
|
476
|
-
|
|
477
|
-
|
|
477
|
+
(ra = a.flags) != null && ra.billable ? /* @__PURE__ */ s(o, { variant: "success", size: "sm", withDot: !0, children: e("appointmentCard.flag.billable") }) : null,
|
|
478
|
+
I ? /* @__PURE__ */ s(
|
|
479
|
+
oa,
|
|
478
480
|
{
|
|
479
481
|
state: "to-invoice",
|
|
480
482
|
amount: y / 100,
|
|
@@ -484,8 +486,8 @@ const Za = Ca(
|
|
|
484
486
|
showLabel: !0
|
|
485
487
|
}
|
|
486
488
|
) : null,
|
|
487
|
-
P ? /* @__PURE__ */
|
|
488
|
-
|
|
489
|
+
P ? /* @__PURE__ */ s(
|
|
490
|
+
oa,
|
|
489
491
|
{
|
|
490
492
|
state: "debt",
|
|
491
493
|
amount: C / 100,
|
|
@@ -497,8 +499,8 @@ const Za = Ca(
|
|
|
497
499
|
) : null
|
|
498
500
|
] }) : null
|
|
499
501
|
] }),
|
|
500
|
-
v ? /* @__PURE__ */
|
|
501
|
-
|
|
502
|
+
v ? /* @__PURE__ */ s(
|
|
503
|
+
Ga,
|
|
502
504
|
{
|
|
503
505
|
"aria-hidden": "true",
|
|
504
506
|
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"
|
|
@@ -509,8 +511,8 @@ const Za = Ca(
|
|
|
509
511
|
);
|
|
510
512
|
}
|
|
511
513
|
);
|
|
512
|
-
|
|
514
|
+
ts.displayName = "AppointmentCard";
|
|
513
515
|
export {
|
|
514
|
-
|
|
516
|
+
ts as A
|
|
515
517
|
};
|
|
516
|
-
//# sourceMappingURL=appointment-card-
|
|
518
|
+
//# sourceMappingURL=appointment-card-C0UFYFLZ.js.map
|
|
@@ -4,7 +4,7 @@ import { useTranslation as P } from "react-i18next";
|
|
|
4
4
|
import { s as F, D as $ } from "./appointment-details-panel.identity-C20Y9xNC.js";
|
|
5
5
|
import { E as L } from "./empty-state-DwJ5YNzz.js";
|
|
6
6
|
import { T as v } from "./timeline-DXko0M1t.js";
|
|
7
|
-
import { a as W } from "./workflow-status-
|
|
7
|
+
import { a as W } from "./workflow-status-Cg7yjnye.js";
|
|
8
8
|
import { u as j } from "./appointment-workflow-status-S-lx81Yz.js";
|
|
9
9
|
import { C as R } from "./calendar-clock-hbObjfGY.js";
|
|
10
10
|
import { T as B } from "./trash-2-uumy3fy1.js";
|
|
@@ -311,4 +311,4 @@ export {
|
|
|
311
311
|
ft as C,
|
|
312
312
|
S as M
|
|
313
313
|
};
|
|
314
|
-
//# sourceMappingURL=appointment-details-panel.history-
|
|
314
|
+
//# sourceMappingURL=appointment-details-panel.history-BUXwhill.js.map
|