@alfadocs/ui-kit 1.149.1 → 1.151.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/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
- package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
- package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
- package/dist/_chunks/{ai-summary-panel-Cdsve-XN.js → ai-summary-panel-DyAHCqaj.js} +4 -4
- package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
- package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-QCv6zW-J.js → anamnesis-summary-rows-CFpaA1GP.js} +4 -4
- package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
- package/dist/_chunks/{appointment-card-HOZrABrQ.js → appointment-card-BPZggqck.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BxNqcA-r.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
- package/dist/_chunks/{appointment-details-panel.identity--_j07UG1.js → appointment-details-panel.identity-9hRo85Lx.js} +91 -79
- package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
- package/dist/_chunks/{appointment-timeline-CuZW-CGT.js → appointment-timeline-COfoHpoJ.js} +4 -4
- package/dist/_chunks/{appointment-tray-CFCxukwq.js → appointment-tray-BlKwDJKi.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-BPz9bQAB.js → balance-badge-cell-OghXENKK.js} +4 -4
- package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-fQleWmJE.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +590 -583
- package/dist/_chunks/{calendar-editor-discard-host-DWS_kM-a.js → calendar-editor-discard-host-BudLsUZO.js} +5 -5
- package/dist/_chunks/{calendar-waiting-list-panel-BKBHfBpn.js → calendar-waiting-list-panel-DukgSOPH.js} +9 -9
- package/dist/_chunks/{calendar-workspace.model-4zmA3BFE.js → calendar-workspace.model-BulUpy0I.js} +2 -2
- package/dist/_chunks/{calendar.sheets-lgAqJB34.js → calendar.sheets-OmTiQdCg.js} +11 -11
- package/dist/_chunks/{calls-panel-BTTfHnPD.js → calls-panel-eohONLia.js} +5 -5
- package/dist/_chunks/{care-plan-card-2U2LuIJD.js → care-plan-card-DJXNWjKB.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CUAlQv1c.js → care-plan-entry-card-W5QvNv8m.js} +2 -2
- package/dist/_chunks/code-BfU9G1ZM.js +15 -0
- package/dist/_chunks/{communications-panel-DDzUyoHi.js → communications-panel-CqiFs8BH.js} +4 -4
- package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
- package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
- package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
- package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
- package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
- package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
- package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
- package/dist/_chunks/{document-preview-oSuJsJ3k.js → document-preview-TbwhY_eK.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
- package/dist/_chunks/{editable-description-BsSjLnSx.js → editable-description-B2F54K4T.js} +34 -33
- package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
- package/dist/_chunks/{entity-summary-CZmGcWi2.js → entity-summary-BNnTP1F6.js} +62 -50
- package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
- package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
- package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
- package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
- package/dist/_chunks/feature-preview-switch-B_8JTya_.js +75 -0
- package/dist/_chunks/{file-manager-Cp3Z4VvM.js → file-manager-DMvYx-Gq.js} +165 -180
- package/dist/_chunks/folder-DvNxod7_.js +36 -0
- package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-DlA54nu5.js → help-me-write-templates-VnvlK87x.js} +3 -3
- package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
- package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
- package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
- package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
- package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
- package/dist/_chunks/message-square-warning-DsGGfd0K.js +22 -0
- package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
- package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
- package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
- package/dist/_chunks/{notes-panel-Cw06dLDm.js → notes-panel-d0I3hOEY.js} +363 -341
- package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
- package/dist/_chunks/{optical-prescription-DZvauMiM.js → optical-prescription-CAnXavjq.js} +3 -3
- package/dist/_chunks/{panel-header-CbtlTe85.js → panel-header-DTc5OFUg.js} +78 -66
- package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
- package/dist/_chunks/{panel-subview-DjBwNV16.js → panel-subview-B5hnQwfQ.js} +3 -3
- package/dist/_chunks/{patient-account-settings-Do0QbDJe.js → patient-account-settings-DQx_9CYV.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-Bxy1_Pfo.js → patient-check-in-resume-BOHcm9hT.js} +6 -6
- package/dist/_chunks/{patient-details-Cj3dp9GB.js → patient-details-wFIzTz7N.js} +4 -4
- package/dist/_chunks/{patient-field-row-DDjsUsc_.js → patient-field-row-BDgfYLgz.js} +202 -201
- package/dist/_chunks/{patient-summary-card-roM9Esfb.js → patient-summary-card-ZunOre3Q.js} +158 -164
- package/dist/_chunks/{payment-request-card-C9VglWsV.js → payment-request-card-BSSfKrcc.js} +3 -3
- package/dist/_chunks/{portal-details-CKF4yFHs.js → portal-details-R-lwrisO.js} +4 -4
- package/dist/_chunks/{portal-documents-DvpAwmSI.js → portal-documents-C6XlWpEl.js} +3 -3
- package/dist/_chunks/{portal-parts-Cvu4PfIY.js → portal-parts-DlvSUZFX.js} +3 -3
- package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
- package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
- package/dist/_chunks/{privacy-mask-zVh0ntm0.js → privacy-mask-CaLBAxzj.js} +3 -3
- package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
- package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BUZPsuSP.js → radiograph-panel.agent-kgCmmgZk.js} +4 -4
- package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
- package/dist/_chunks/{registry-connection-panel-ACOsXu3F.js → registry-connection-panel-BkPPA3Fj.js} +4 -4
- package/dist/_chunks/{reserved.agent-DjvapRF1.js → reserved.agent-C-sMq0pb.js} +5 -5
- package/dist/_chunks/{reviews-panel-Cw5ygAxs.js → reviews-panel-jIz5aP2X.js} +4 -4
- package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
- package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
- package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
- package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
- package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
- package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
- package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
- package/dist/_chunks/{task-editor-C-4I2sBa.js → task-editor-aXjGMwYA.js} +6 -6
- package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
- package/dist/_chunks/{tasks-panel-BDPQPOP6.js → tasks-panel-BdxHb-fX.js} +3 -3
- package/dist/_chunks/text-area-DbxGkpzE.js +269 -0
- package/dist/_chunks/{tool-rail-DjPEiBa2.js → tool-rail-B4p6MmxA.js} +383 -363
- package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
- package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
- package/dist/_chunks/{transaction-chip-CkYd-3ky.js → transaction-chip-6jToArJn.js} +45 -43
- package/dist/_chunks/{transcript-panel-Wr8e4Zgi.js → transcript-panel-Dc0fK4WO.js} +2 -2
- package/dist/_chunks/{treatment-receipt-BZzwvsnY.js → treatment-receipt-CZQV1NkJ.js} +59 -62
- package/dist/_chunks/use-appointment-details-read-BR3TQOHx.js +2091 -0
- package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
- package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
- package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
- package/dist/agent-catalog.json +15 -1
- package/dist/appointment-editor-panel/index.js +4 -4
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/appointment-format.d.ts +4 -0
- package/dist/components/_shared/mark-adrift.d.ts +12 -0
- package/dist/components/_shared/patient-field-row.d.ts +5 -1
- package/dist/components/_shared/safe-html.d.ts +6 -0
- package/dist/components/_shared/tooth-chip.d.ts +21 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +12 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +3 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +12 -2
- package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
- package/dist/components/appointment-details-panel/index.d.ts +1 -0
- package/dist/components/appointment-details-panel/index.js +7 -6
- package/dist/components/appointment-peek/appointment-peek.d.ts +45 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/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/booking/index.js +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/communications-panel/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/editable-description/editable-description.d.ts +7 -0
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/feature-preview-switch/feature-preview-switch.d.ts +55 -0
- package/dist/components/feature-preview-switch/index.d.ts +2 -0
- package/dist/components/feature-preview-switch/index.js +5 -0
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/note-timeline/note-timeline.d.ts +8 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +33 -2
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +8 -0
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +9 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/practice-results/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/registry-connection-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +18 -5
- package/dist/components/rich-text-editor/index.d.ts +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -0
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-area/text-area.d.ts +15 -0
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +23 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
- package/dist/components/week-availability/index.js +1 -1
- package/dist/components/workflow/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 +4 -1
- package/dist/host-legacy.css +63 -4
- package/dist/i18n/locales/ar.d.ts +18 -0
- package/dist/i18n/locales/ar.js +18 -3
- package/dist/i18n/locales/de.d.ts +18 -0
- package/dist/i18n/locales/de.js +18 -3
- package/dist/i18n/locales/el.d.ts +18 -0
- package/dist/i18n/locales/el.js +21 -3
- package/dist/i18n/locales/en.d.ts +18 -0
- package/dist/i18n/locales/en.js +21 -3
- package/dist/i18n/locales/es.d.ts +18 -0
- package/dist/i18n/locales/es.js +21 -3
- package/dist/i18n/locales/fr.d.ts +18 -0
- package/dist/i18n/locales/fr.js +21 -3
- package/dist/i18n/locales/hi.d.ts +18 -0
- package/dist/i18n/locales/hi.js +18 -3
- package/dist/i18n/locales/it.d.ts +28 -10
- package/dist/i18n/locales/it.js +31 -13
- package/dist/i18n/locales/ja.d.ts +18 -0
- package/dist/i18n/locales/ja.js +18 -3
- package/dist/i18n/locales/nl.d.ts +18 -0
- package/dist/i18n/locales/nl.js +18 -3
- package/dist/i18n/locales/pl.d.ts +18 -0
- package/dist/i18n/locales/pl.js +21 -3
- package/dist/i18n/locales/pt.d.ts +18 -0
- package/dist/i18n/locales/pt.js +21 -3
- package/dist/i18n/locales/ro.d.ts +18 -0
- package/dist/i18n/locales/ro.js +21 -3
- package/dist/i18n/locales/ru.d.ts +18 -0
- package/dist/i18n/locales/ru.js +18 -3
- package/dist/i18n/locales/sq.d.ts +18 -0
- package/dist/i18n/locales/sq.js +21 -3
- package/dist/i18n/locales/sv.d.ts +18 -0
- package/dist/i18n/locales/sv.js +18 -3
- package/dist/i18n/locales/tr.d.ts +18 -0
- package/dist/i18n/locales/tr.js +18 -3
- package/dist/i18n/locales/zh.d.ts +18 -0
- package/dist/i18n/locales/zh.js +18 -3
- package/dist/index.js +820 -817
- package/dist/locales/ar.json +21 -3
- package/dist/locales/de.json +21 -3
- package/dist/locales/el.json +21 -3
- package/dist/locales/en.json +21 -3
- package/dist/locales/es.json +21 -3
- package/dist/locales/fr.json +21 -3
- package/dist/locales/hi.json +21 -3
- package/dist/locales/it.json +31 -13
- package/dist/locales/ja.json +21 -3
- package/dist/locales/nl.json +21 -3
- package/dist/locales/pl.json +21 -3
- package/dist/locales/pt.json +21 -3
- package/dist/locales/ro.json +21 -3
- package/dist/locales/ru.json +21 -3
- package/dist/locales/sq.json +21 -3
- package/dist/locales/sv.json +21 -3
- package/dist/locales/tr.json +21 -3
- package/dist/locales/zh.json +21 -3
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/error-page/index.js +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/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/signed-out-frame/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/redactor.css +9 -0
- package/dist/safe-html/index.js +33 -19
- package/dist/tokens.css +61 -52
- package/dist/waiting-list-panel/index.js +3 -3
- package/package.json +5 -1
- package/dist/_chunks/appointment-peek-B3raO90X.js +0 -123
- package/dist/_chunks/contact-round-DiSvB3LP.js +0 -18
- package/dist/_chunks/control-room-rail-BQvaYowi.js +0 -416
- package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
- package/dist/_chunks/folder-BghC8_S2.js +0 -20
- package/dist/_chunks/rich-text-editor-eGdYDPK2.js +0 -4405
- package/dist/_chunks/text-area-COMVJ1yE.js +0 -258
- package/dist/_chunks/use-appointment-details-read-Bl1DHXQ2.js +0 -1998
- /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as v } from "react-i18next";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as x } from "./alert-C4WKViaS.js";
|
|
4
4
|
import { A as I } from "./avatar-Dp5apm1d.js";
|
|
5
|
-
import { B as
|
|
5
|
+
import { B as w } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { B as R } from "./button-Dp4j9ygh.js";
|
|
7
7
|
import { u as k } from "./appointment-workflow-status-S-lx81Yz.js";
|
|
8
|
-
import { H as
|
|
8
|
+
import { H as A } from "./heart-pulse-BCppJyN2.js";
|
|
9
9
|
import { G as E } from "./globe-sHBW1JN5.js";
|
|
10
|
-
import { T as
|
|
11
|
-
import { E as
|
|
12
|
-
import { V as
|
|
13
|
-
import { R as
|
|
14
|
-
function
|
|
10
|
+
import { T as B } from "./triangle-alert-CBnO6nq_.js";
|
|
11
|
+
import { E as F } from "./euro-Dsuz4ixO.js";
|
|
12
|
+
import { V as S } from "./video-BheNGvsu.js";
|
|
13
|
+
import { R as $ } from "./repeat-CvQa5rZt.js";
|
|
14
|
+
function h(e) {
|
|
15
15
|
return typeof e == "string" && /^\d{4}-\d{2}-\d{2}$/.test(e) ? /* @__PURE__ */ new Date(`${e}T00:00:00`) : new Date(e);
|
|
16
16
|
}
|
|
17
17
|
function _(e, n) {
|
|
@@ -21,54 +21,65 @@ function _(e, n) {
|
|
|
21
21
|
day: "numeric",
|
|
22
22
|
month: "long",
|
|
23
23
|
year: "numeric"
|
|
24
|
-
}).format(
|
|
24
|
+
}).format(h(n));
|
|
25
25
|
} catch {
|
|
26
26
|
return "";
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
function X(e, n
|
|
30
|
-
const t = new Date(n), s = a ? new Date(a) : t;
|
|
29
|
+
function X(e, n) {
|
|
31
30
|
try {
|
|
32
|
-
|
|
31
|
+
return new Intl.DateTimeFormat(e, {
|
|
32
|
+
day: "numeric",
|
|
33
|
+
month: "short",
|
|
34
|
+
year: "numeric"
|
|
35
|
+
}).format(h(n));
|
|
36
|
+
} catch {
|
|
37
|
+
return "";
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function Z(e, n, a) {
|
|
41
|
+
const t = new Date(n), i = a ? new Date(a) : t;
|
|
42
|
+
try {
|
|
43
|
+
const s = new Intl.DateTimeFormat(e, {
|
|
33
44
|
hour: "2-digit",
|
|
34
45
|
minute: "2-digit",
|
|
35
46
|
hour12: !1
|
|
36
47
|
});
|
|
37
|
-
return typeof
|
|
48
|
+
return typeof s.formatRange == "function" ? s.formatRange(t, i) : `${s.format(t)} – ${s.format(i)}`;
|
|
38
49
|
} catch {
|
|
39
50
|
return "";
|
|
40
51
|
}
|
|
41
52
|
}
|
|
42
|
-
const
|
|
53
|
+
const ee = {
|
|
43
54
|
weekday: "short",
|
|
44
55
|
day: "numeric",
|
|
45
56
|
month: "short",
|
|
46
57
|
hour: "2-digit",
|
|
47
58
|
minute: "2-digit"
|
|
48
59
|
};
|
|
49
|
-
function
|
|
50
|
-
const a =
|
|
51
|
-
let
|
|
52
|
-
const
|
|
53
|
-
return (
|
|
60
|
+
function ne(e, n) {
|
|
61
|
+
const a = h(e), t = h(n);
|
|
62
|
+
let i = t.getFullYear() - a.getFullYear();
|
|
63
|
+
const s = t.getMonth() - a.getMonth();
|
|
64
|
+
return (s < 0 || s === 0 && t.getDate() < a.getDate()) && (i -= 1), Math.max(0, i);
|
|
54
65
|
}
|
|
55
66
|
const M = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})$/;
|
|
56
|
-
function
|
|
67
|
+
function te(e) {
|
|
57
68
|
const n = typeof e == "string" ? M.exec(e) : null;
|
|
58
69
|
if (!n) return;
|
|
59
|
-
const [a, t,
|
|
60
|
-
if (f.setFullYear(a, t, 0), t < 1 || t > 12 ||
|
|
70
|
+
const [a, t, i, s, u, p] = n.slice(1).map(Number), f = /* @__PURE__ */ new Date(0);
|
|
71
|
+
if (f.setFullYear(a, t, 0), t < 1 || t > 12 || i < 1 || i > f.getDate() || s > 23 || u > 59 || p > 59)
|
|
61
72
|
return;
|
|
62
73
|
const l = /* @__PURE__ */ new Date(0);
|
|
63
|
-
return l.setFullYear(a, t - 1,
|
|
74
|
+
return l.setFullYear(a, t - 1, i), l.setHours(s, u, p, 0), l;
|
|
64
75
|
}
|
|
65
|
-
function
|
|
76
|
+
function ae(e) {
|
|
66
77
|
return e.map((n) => {
|
|
67
78
|
const a = Date.parse(n.atIso);
|
|
68
79
|
return { entry: n, time: Number.isFinite(a) ? a : -1 / 0 };
|
|
69
80
|
}).sort((n, a) => n.time === a.time ? 0 : a.time - n.time).map(({ entry: n }) => n);
|
|
70
81
|
}
|
|
71
|
-
const
|
|
82
|
+
const re = {
|
|
72
83
|
daily: "recurrenceDaily",
|
|
73
84
|
weekly: "recurrenceWeekly",
|
|
74
85
|
monthly: "recurrenceMonthly",
|
|
@@ -85,11 +96,11 @@ function Y(e) {
|
|
|
85
96
|
function se(e) {
|
|
86
97
|
return [e.address, e.city].filter((n) => !!n).join(", ");
|
|
87
98
|
}
|
|
88
|
-
function
|
|
99
|
+
function oe(e) {
|
|
89
100
|
const n = Y(e);
|
|
90
101
|
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(n)}`;
|
|
91
102
|
}
|
|
92
|
-
const
|
|
103
|
+
const j = {
|
|
93
104
|
confirmed: "success",
|
|
94
105
|
waiting: "info",
|
|
95
106
|
in_care: "accentSoft",
|
|
@@ -97,105 +108,105 @@ const C = {
|
|
|
97
108
|
cancelled: "error",
|
|
98
109
|
absent: "warning"
|
|
99
110
|
};
|
|
100
|
-
function
|
|
101
|
-
const { t: n } = v("ui"), a = (
|
|
111
|
+
function C({ event: e }) {
|
|
112
|
+
const { t: n } = v("ui"), a = (i) => `calendarWorkspace.details.indicators.${i}`, t = [];
|
|
102
113
|
return e.isBookedOnline && t.push({
|
|
103
114
|
id: "online",
|
|
104
|
-
icon: /* @__PURE__ */
|
|
115
|
+
icon: /* @__PURE__ */ r(E, { "aria-hidden": "true" }),
|
|
105
116
|
label: n(a("bookedOnline")),
|
|
106
117
|
variant: "info"
|
|
107
118
|
}), e.hasUnassignedPatient && t.push({
|
|
108
119
|
id: "unassigned",
|
|
109
|
-
icon: /* @__PURE__ */
|
|
120
|
+
icon: /* @__PURE__ */ r(B, { "aria-hidden": "true" }),
|
|
110
121
|
label: n(a("unassignedPatient")),
|
|
111
122
|
variant: "warning"
|
|
112
123
|
}), e.hasHighlightedAnamnesis && t.push({
|
|
113
124
|
id: "anamnesis",
|
|
114
|
-
icon: /* @__PURE__ */
|
|
125
|
+
icon: /* @__PURE__ */ r(A, { "aria-hidden": "true" }),
|
|
115
126
|
label: n(a("anamnesis")),
|
|
116
127
|
variant: "accentSoft"
|
|
117
128
|
}), e.hasBillableAmount && t.push({
|
|
118
129
|
id: "billable",
|
|
119
|
-
icon: /* @__PURE__ */
|
|
130
|
+
icon: /* @__PURE__ */ r(F, { "aria-hidden": "true" }),
|
|
120
131
|
label: n(a("billable")),
|
|
121
132
|
variant: "warning"
|
|
122
133
|
}), e.isTelehealth && t.push({
|
|
123
134
|
id: "telehealth",
|
|
124
|
-
icon: /* @__PURE__ */
|
|
135
|
+
icon: /* @__PURE__ */ r(S, { "aria-hidden": "true" }),
|
|
125
136
|
label: n(a("telehealth")),
|
|
126
137
|
variant: "info"
|
|
127
138
|
}), e.isRecurring && t.push({
|
|
128
139
|
id: "recurring",
|
|
129
|
-
icon: /* @__PURE__ */
|
|
140
|
+
icon: /* @__PURE__ */ r($, { "aria-hidden": "true" }),
|
|
130
141
|
label: n(a("recurring")),
|
|
131
142
|
variant: "info"
|
|
132
|
-
}), t.length === 0 ? null : /* @__PURE__ */
|
|
133
|
-
|
|
143
|
+
}), t.length === 0 ? null : /* @__PURE__ */ r("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: t.map((i) => /* @__PURE__ */ r(
|
|
144
|
+
w,
|
|
134
145
|
{
|
|
135
|
-
variant:
|
|
146
|
+
variant: i.variant,
|
|
136
147
|
size: "sm",
|
|
137
|
-
leading:
|
|
138
|
-
children:
|
|
148
|
+
leading: i.icon,
|
|
149
|
+
children: i.label
|
|
139
150
|
},
|
|
140
|
-
|
|
151
|
+
i.id
|
|
141
152
|
)) });
|
|
142
153
|
}
|
|
143
|
-
function
|
|
154
|
+
function le({
|
|
144
155
|
name: e,
|
|
145
156
|
avatarSrc: n,
|
|
146
157
|
unresolved: a = !1,
|
|
147
158
|
status: t,
|
|
148
|
-
flags:
|
|
149
|
-
age:
|
|
159
|
+
flags: i,
|
|
160
|
+
age: s,
|
|
150
161
|
onOpenPatient: u,
|
|
151
162
|
highlightedAnamnesisCount: p = 0,
|
|
152
163
|
expiredAnamnesisCount: f = 0,
|
|
153
164
|
anamnesisAnswers: l = [],
|
|
154
|
-
locale:
|
|
165
|
+
locale: D
|
|
155
166
|
}) {
|
|
156
|
-
const { t: d, i18n:
|
|
167
|
+
const { t: d, i18n: T } = v("ui"), c = (o) => `calendarWorkspace.details.${o}`, { optionFor: N } = k(t), g = t ? N(t) : void 0, y = p, b = f;
|
|
157
168
|
return /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)] ds:pb-0", children: [
|
|
158
169
|
/* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
159
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ r(I, { name: e, src: n }),
|
|
160
171
|
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)] ds:[min-inline-size:0]", children: [
|
|
161
172
|
/* @__PURE__ */ m("span", { className: "ds:flex ds:flex-wrap ds:items-baseline ds:gap-[var(--spacing-2xs)] ds:text-start", children: [
|
|
162
|
-
u ? /* @__PURE__ */
|
|
163
|
-
|
|
173
|
+
u ? /* @__PURE__ */ r(R, { size: "sm", intent: "link", onClick: () => u(), children: e }) : /* @__PURE__ */ r("span", { className: "ds:font-[var(--font-weight-semibold)] ds:truncate", children: e }),
|
|
174
|
+
s !== void 0 ? /* @__PURE__ */ r("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: d(c("patientAge"), { n: s }) }) : null
|
|
164
175
|
] }),
|
|
165
|
-
a ? /* @__PURE__ */
|
|
166
|
-
t &&
|
|
167
|
-
|
|
176
|
+
a ? /* @__PURE__ */ r("span", { className: "type-body-sm ds:text-start ds:text-[color:var(--muted-foreground)]", children: d(c("patientNotLoaded")) }) : null,
|
|
177
|
+
t && g ? /* @__PURE__ */ r("span", { children: /* @__PURE__ */ r(
|
|
178
|
+
w,
|
|
168
179
|
{
|
|
169
|
-
variant:
|
|
180
|
+
variant: j[t],
|
|
170
181
|
size: "sm",
|
|
171
|
-
leading:
|
|
172
|
-
children:
|
|
182
|
+
leading: g.icon,
|
|
183
|
+
children: g.label
|
|
173
184
|
}
|
|
174
185
|
) }) : null,
|
|
175
|
-
/* @__PURE__ */
|
|
186
|
+
/* @__PURE__ */ r(C, { event: i })
|
|
176
187
|
] })
|
|
177
188
|
] }),
|
|
178
|
-
|
|
179
|
-
|
|
189
|
+
y + b > 0 ? /* @__PURE__ */ m(
|
|
190
|
+
x,
|
|
180
191
|
{
|
|
181
192
|
variant: "warning",
|
|
182
193
|
announce: "off",
|
|
183
|
-
icon: /* @__PURE__ */
|
|
194
|
+
icon: /* @__PURE__ */ r(A, { "aria-hidden": "true" }),
|
|
184
195
|
children: [
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
|
|
188
|
-
|
|
196
|
+
/* @__PURE__ */ r(x.Title, { as: "p", children: d(c("anamnesisTitle")) }),
|
|
197
|
+
/* @__PURE__ */ r(x.Description, { children: [
|
|
198
|
+
y > 0 ? d(c("anamnesisHighlighted"), { n: y }) : null,
|
|
199
|
+
b > 0 ? d(c("anamnesisExpired"), { n: b }) : null
|
|
189
200
|
].filter((o) => o !== null).join(" · ") }),
|
|
190
201
|
l.length > 0 ? (
|
|
191
202
|
/* Question · yes or no · answer · interview date, as the
|
|
192
203
|
platform's details dialog lists them. A list, not a
|
|
193
204
|
Description, which renders a <p>. */
|
|
194
|
-
/* @__PURE__ */
|
|
195
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ r("ul", { className: "type-body-sm ds:m-0 ds:mt-[var(--spacing-xs)] ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)] ds:p-0", children: l.map((o) => /* @__PURE__ */ m("li", { className: "ds:text-start", children: [
|
|
206
|
+
/* @__PURE__ */ r("span", { className: "ds:font-[var(--font-weight-semibold)]", children: o.question }),
|
|
196
207
|
` · ${d(c(o.yes ? "anamnesisYes" : "anamnesisNo"))}`,
|
|
197
208
|
o.answer ? ` · ${o.answer}` : "",
|
|
198
|
-
` · ${_(
|
|
209
|
+
` · ${_(D ?? T.language, o.interviewIso)}`
|
|
199
210
|
] }, o.question)) })
|
|
200
211
|
) : null
|
|
201
212
|
]
|
|
@@ -204,20 +215,21 @@ function oe({
|
|
|
204
215
|
] });
|
|
205
216
|
}
|
|
206
217
|
export {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
218
|
+
j as A,
|
|
219
|
+
ee as D,
|
|
220
|
+
C as I,
|
|
221
|
+
re as R,
|
|
222
|
+
h as a,
|
|
212
223
|
_ as b,
|
|
213
|
-
|
|
224
|
+
ne as c,
|
|
214
225
|
ie as d,
|
|
215
226
|
Y as e,
|
|
216
|
-
|
|
227
|
+
Z as f,
|
|
217
228
|
se as g,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
te as
|
|
229
|
+
oe as h,
|
|
230
|
+
le as i,
|
|
231
|
+
X as j,
|
|
232
|
+
te as p,
|
|
233
|
+
ae as s
|
|
222
234
|
};
|
|
223
|
-
//# sourceMappingURL=appointment-details-panel.identity
|
|
235
|
+
//# sourceMappingURL=appointment-details-panel.identity-9hRo85Lx.js.map
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as R, isValidElement as j } from "react";
|
|
3
|
+
import { c as B } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as G } from "react-i18next";
|
|
5
|
+
import { A as M } from "./avatar-Dp5apm1d.js";
|
|
6
|
+
import { B as z } from "./badge-BUk4RjTS.js";
|
|
7
|
+
import { D as e } from "./description-list-DaldSpGy.js";
|
|
8
|
+
import { E as q } from "./editable-description-B2F54K4T.js";
|
|
9
|
+
import { H as $ } from "./hover-card-CS8ulBf9.js";
|
|
10
|
+
import { T as D } from "./transaction-chip-6jToArJn.js";
|
|
11
|
+
import { a as F } from "./workflow-status-Cg7yjnye.js";
|
|
12
|
+
import { C as J } from "./clock-Drd4Wtis.js";
|
|
13
|
+
import { V as K } from "./video-BheNGvsu.js";
|
|
14
|
+
import { A as Q } from "./armchair-BaLDW6Hz.js";
|
|
15
|
+
import { E as U } from "./eye-off-C_4xkbRP.js";
|
|
16
|
+
import { G as T } from "./globe-sHBW1JN5.js";
|
|
17
|
+
import { M as X } from "./message-square-warning-DsGGfd0K.js";
|
|
18
|
+
import { N as Y } from "./notebook-text-spVSekMN.js";
|
|
19
|
+
import { a as Z } from "./entity-card-p-LANpYt.js";
|
|
20
|
+
const _ = B(
|
|
21
|
+
"ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-sm)]"
|
|
22
|
+
), aa = R(
|
|
23
|
+
({
|
|
24
|
+
name: h,
|
|
25
|
+
avatarSrc: W,
|
|
26
|
+
time: C,
|
|
27
|
+
location: u,
|
|
28
|
+
locationLabel: y,
|
|
29
|
+
bookingReason: d,
|
|
30
|
+
telehealth: E = !1,
|
|
31
|
+
status: l,
|
|
32
|
+
statusLabel: I,
|
|
33
|
+
description: o,
|
|
34
|
+
details: v,
|
|
35
|
+
treatment: g,
|
|
36
|
+
bookedOnline: k = !1,
|
|
37
|
+
highlightedAnamnesisCount: c = 0,
|
|
38
|
+
unpaidAmount: m = 0,
|
|
39
|
+
billableAmount: p = 0,
|
|
40
|
+
currency: x,
|
|
41
|
+
locale: w,
|
|
42
|
+
flags: N,
|
|
43
|
+
privacy: f = !1,
|
|
44
|
+
className: L,
|
|
45
|
+
...P
|
|
46
|
+
}, S) => {
|
|
47
|
+
const { t: i } = G("ui"), r = l ? Z(l) : null, b = r == null ? void 0 : r.Icon, V = E ? K : Q, t = !f, A = k || c > 0 || m > 0 || p > 0, H = [
|
|
48
|
+
{ icon: /* @__PURE__ */ a(J, {}), label: i("appointmentPeek.time"), value: C },
|
|
49
|
+
...u ? [
|
|
50
|
+
{
|
|
51
|
+
icon: /* @__PURE__ */ a(V, {}),
|
|
52
|
+
label: y ?? i("appointmentPeek.location"),
|
|
53
|
+
value: u
|
|
54
|
+
}
|
|
55
|
+
] : [],
|
|
56
|
+
...t && g ? [
|
|
57
|
+
{
|
|
58
|
+
icon: null,
|
|
59
|
+
label: i("calendarWorkspace.details.care"),
|
|
60
|
+
value: g
|
|
61
|
+
}
|
|
62
|
+
] : [],
|
|
63
|
+
...t && v ? v.map((n) => ({
|
|
64
|
+
icon: j(n.icon) ? n.icon : null,
|
|
65
|
+
label: n.label,
|
|
66
|
+
value: n.value
|
|
67
|
+
})) : []
|
|
68
|
+
];
|
|
69
|
+
return /* @__PURE__ */ s(
|
|
70
|
+
"div",
|
|
71
|
+
{
|
|
72
|
+
ref: S,
|
|
73
|
+
"data-component": "appointment-peek",
|
|
74
|
+
"data-status": l,
|
|
75
|
+
className: _({ className: L }),
|
|
76
|
+
...P,
|
|
77
|
+
children: [
|
|
78
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:min-w-0 ds:items-start ds:gap-[var(--spacing-sm)]", children: [
|
|
79
|
+
f ? null : /* @__PURE__ */ a(
|
|
80
|
+
M,
|
|
81
|
+
{
|
|
82
|
+
size: "sm",
|
|
83
|
+
name: h,
|
|
84
|
+
src: W,
|
|
85
|
+
"aria-hidden": "true",
|
|
86
|
+
className: "ds:shrink-0"
|
|
87
|
+
}
|
|
88
|
+
),
|
|
89
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
90
|
+
/* @__PURE__ */ a($.Heading, { className: "ds:min-w-0", children: f ? /* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
91
|
+
/* @__PURE__ */ a(
|
|
92
|
+
U,
|
|
93
|
+
{
|
|
94
|
+
"aria-hidden": "true",
|
|
95
|
+
className: "ds:size-4 ds:shrink-0"
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
i("appointmentPeek.hiddenName")
|
|
99
|
+
] }) : h }),
|
|
100
|
+
t && (A || N) ? /* @__PURE__ */ s(
|
|
101
|
+
"div",
|
|
102
|
+
{
|
|
103
|
+
"data-slot": "flags",
|
|
104
|
+
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
105
|
+
children: [
|
|
106
|
+
k ? /* @__PURE__ */ a(
|
|
107
|
+
z,
|
|
108
|
+
{
|
|
109
|
+
"data-chip": "bookedOnline",
|
|
110
|
+
variant: "info",
|
|
111
|
+
size: "sm",
|
|
112
|
+
leading: /* @__PURE__ */ a(T, { "aria-hidden": "true" }),
|
|
113
|
+
children: i("calendarWorkspace.details.indicators.bookedOnline")
|
|
114
|
+
}
|
|
115
|
+
) : null,
|
|
116
|
+
c > 0 ? /* @__PURE__ */ a(
|
|
117
|
+
z,
|
|
118
|
+
{
|
|
119
|
+
"data-chip": "highlightedAnamnesis",
|
|
120
|
+
variant: "warning",
|
|
121
|
+
size: "sm",
|
|
122
|
+
leading: /* @__PURE__ */ a(X, { "aria-hidden": "true" }),
|
|
123
|
+
children: i("patientSummaryCard.flag.highlightedAnamnesis", {
|
|
124
|
+
count: c
|
|
125
|
+
})
|
|
126
|
+
}
|
|
127
|
+
) : null,
|
|
128
|
+
m > 0 ? /* @__PURE__ */ a(
|
|
129
|
+
D,
|
|
130
|
+
{
|
|
131
|
+
"data-chip": "unpaid",
|
|
132
|
+
state: "debt",
|
|
133
|
+
amount: m,
|
|
134
|
+
currency: x,
|
|
135
|
+
locale: w,
|
|
136
|
+
size: "sm",
|
|
137
|
+
showLabel: !0,
|
|
138
|
+
showIcon: !1
|
|
139
|
+
}
|
|
140
|
+
) : null,
|
|
141
|
+
p > 0 ? /* @__PURE__ */ a(
|
|
142
|
+
D,
|
|
143
|
+
{
|
|
144
|
+
"data-chip": "billable",
|
|
145
|
+
state: "to-invoice",
|
|
146
|
+
tone: "neutral",
|
|
147
|
+
amount: p,
|
|
148
|
+
currency: x,
|
|
149
|
+
locale: w,
|
|
150
|
+
size: "sm",
|
|
151
|
+
showLabel: !0,
|
|
152
|
+
showIcon: !1
|
|
153
|
+
}
|
|
154
|
+
) : null,
|
|
155
|
+
N
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
) : null
|
|
159
|
+
] })
|
|
160
|
+
] }),
|
|
161
|
+
/* @__PURE__ */ a(
|
|
162
|
+
e,
|
|
163
|
+
{
|
|
164
|
+
layout: "inline",
|
|
165
|
+
density: "compact",
|
|
166
|
+
divider: "none",
|
|
167
|
+
className: "ds:[--description-list-icon-color:var(--accent)]",
|
|
168
|
+
children: H.map((n, O) => /* @__PURE__ */ s(e.Row, { icon: n.icon, children: [
|
|
169
|
+
/* @__PURE__ */ a(e.Term, { children: n.label }),
|
|
170
|
+
/* @__PURE__ */ a(e.Detail, { children: n.value })
|
|
171
|
+
] }, O))
|
|
172
|
+
}
|
|
173
|
+
),
|
|
174
|
+
t && (o != null && o.trim()) || d ? /* @__PURE__ */ s(
|
|
175
|
+
e,
|
|
176
|
+
{
|
|
177
|
+
layout: "stacked",
|
|
178
|
+
density: "compact",
|
|
179
|
+
divider: "none",
|
|
180
|
+
className: "ds:[--description-list-icon-color:var(--accent)] ds:[--description-list-icon-gap:var(--spacing-md)]",
|
|
181
|
+
children: [
|
|
182
|
+
t && (o != null && o.trim()) ? /* @__PURE__ */ s(e.Row, { icon: /* @__PURE__ */ a(Y, {}), children: [
|
|
183
|
+
/* @__PURE__ */ a(e.Term, { children: i("calendarWorkspace.editor.description") }),
|
|
184
|
+
/* @__PURE__ */ a(e.Detail, { children: /* @__PURE__ */ a(
|
|
185
|
+
q,
|
|
186
|
+
{
|
|
187
|
+
"data-slot": "description",
|
|
188
|
+
value: o,
|
|
189
|
+
maxLines: 3,
|
|
190
|
+
expandable: !1
|
|
191
|
+
}
|
|
192
|
+
) })
|
|
193
|
+
] }) : null,
|
|
194
|
+
d ? /* @__PURE__ */ s(e.Row, { icon: /* @__PURE__ */ a(T, {}), children: [
|
|
195
|
+
/* @__PURE__ */ a(e.Term, { children: i("calendarWorkspace.details.bookingReason") }),
|
|
196
|
+
/* @__PURE__ */ a(e.Detail, { children: /* @__PURE__ */ a("span", { "data-slot": "booking-reason", className: "ds:font-medium", children: d }) })
|
|
197
|
+
] }) : null
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
) : null,
|
|
201
|
+
l && r && b ? /* @__PURE__ */ a("div", { "data-slot": "workflow", children: /* @__PURE__ */ a(
|
|
202
|
+
F,
|
|
203
|
+
{
|
|
204
|
+
size: "sm",
|
|
205
|
+
value: l,
|
|
206
|
+
option: {
|
|
207
|
+
value: l,
|
|
208
|
+
label: I ?? i(`appointmentCard.state.${l}`),
|
|
209
|
+
icon: /* @__PURE__ */ a(b, { "aria-hidden": "true" }),
|
|
210
|
+
tone: r.tone
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
) }) : null
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
);
|
|
219
|
+
aa.displayName = "AppointmentPeek";
|
|
220
|
+
export {
|
|
221
|
+
aa as A
|
|
222
|
+
};
|
|
223
|
+
//# sourceMappingURL=appointment-peek-CmQM4wvx.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as g, Fragment as Xe, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Zt, useId as Qt, useState as oe, useMemo as D, useRef as m, useEffect as xe, useCallback as S, useImperativeHandle as Xt } from "react";
|
|
3
3
|
import { c as Jt } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as es } from "react-i18next";
|
|
5
|
-
import { A as Je } from "./appointment-card-
|
|
5
|
+
import { A as Je } from "./appointment-card-BPZggqck.js";
|
|
6
6
|
import { g as ts } from "./date-locale-OG-MupVD.js";
|
|
7
7
|
import { f as ot } from "./intl-locale-FWh-Y5_3.js";
|
|
8
8
|
import { n as et } from "./normalize-diacritics-DhJjQ3Bp.js";
|
|
@@ -12,9 +12,9 @@ import { S as ns } from "./search-input-CRAMo1CA.js";
|
|
|
12
12
|
import { B as le } from "./button-Dp4j9ygh.js";
|
|
13
13
|
import { B as st } from "./button-group-CHQD8GJ0.js";
|
|
14
14
|
import { D as nt } from "./date-picker-CD-PBzXM.js";
|
|
15
|
-
import { P as as } from "./panel-header-
|
|
15
|
+
import { P as as } from "./panel-header-DTc5OFUg.js";
|
|
16
16
|
import { S as rs } from "./skeleton-tTWJpvAq.js";
|
|
17
|
-
import { E as at } from "./empty-state-
|
|
17
|
+
import { E as at } from "./empty-state-qHtpcasr.js";
|
|
18
18
|
import { u as De } from "./use-controllable-state-BiY4xTzM.js";
|
|
19
19
|
import { u as rt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
20
20
|
import { u as is } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
@@ -773,4 +773,4 @@ export {
|
|
|
773
773
|
Ts as A,
|
|
774
774
|
fs as a
|
|
775
775
|
};
|
|
776
|
-
//# sourceMappingURL=appointment-timeline-
|
|
776
|
+
//# sourceMappingURL=appointment-timeline-COfoHpoJ.js.map
|
|
@@ -4,8 +4,8 @@ import { c as M } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as q } from "react-i18next";
|
|
5
5
|
import { I as K } from "./icon-button-u9VMQn3x.js";
|
|
6
6
|
import { S as V } from "./skeleton-tTWJpvAq.js";
|
|
7
|
-
import { E as W } from "./empty-state-
|
|
8
|
-
import { A as B } from "./appointment-card-
|
|
7
|
+
import { E as W } from "./empty-state-qHtpcasr.js";
|
|
8
|
+
import { A as B } from "./appointment-card-BPZggqck.js";
|
|
9
9
|
import { u as D } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { C as L } from "./calendar-days-BGWklvE-.js";
|
|
11
11
|
import { P as _ } from "./plus-DzMQ_c6b.js";
|
|
@@ -197,4 +197,4 @@ export {
|
|
|
197
197
|
it as a,
|
|
198
198
|
F as b
|
|
199
199
|
};
|
|
200
|
-
//# sourceMappingURL=appointment-tray-
|
|
200
|
+
//# sourceMappingURL=appointment-tray-BlKwDJKi.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as C, jsxs as M } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as G, useRef as k, useEffect as ae, useCallback as K, forwardRef as be, useState as ie, useImperativeHandle as ge, useMemo as X } from "react";
|
|
3
3
|
import { useTranslation as Y } from "react-i18next";
|
|
4
|
-
import { a as b, T as g, D as S, d as Ce } from "./data-table-
|
|
4
|
+
import { a as b, T as g, D as S, d as Ce } from "./data-table-CgpHO6EZ.js";
|
|
5
5
|
import { A as ve, a as re } from "./actions-cell-renderer-BA1FB6cT.js";
|
|
6
6
|
import { S as Te } from "./select-Bw5FvGJ7.js";
|
|
7
7
|
import { u as we } from "./registry-DvAUVLHh.js";
|
|
8
|
-
import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe } from "./link-cell-renderer-
|
|
9
|
-
import { T as Se } from "./transaction-chip-
|
|
8
|
+
import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe } from "./link-cell-renderer-DTunki79.js";
|
|
9
|
+
import { T as Se } from "./transaction-chip-6jToArJn.js";
|
|
10
10
|
import { B as oe } from "./badge-BUk4RjTS.js";
|
|
11
11
|
import { c as We } from "./index-D2ZczOXr.js";
|
|
12
12
|
import { T as Ae } from "./timestamp-UMF1llBs.js";
|
|
@@ -1180,4 +1180,4 @@ export {
|
|
|
1180
1180
|
se as g,
|
|
1181
1181
|
nt as u
|
|
1182
1182
|
};
|
|
1183
|
-
//# sourceMappingURL=balance-badge-cell-
|
|
1183
|
+
//# sourceMappingURL=balance-badge-cell-OghXENKK.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as w, jsx as l, Fragment as ot } from "react/jsx-runtime";
|
|
|
2
2
|
import { createContext as Jt, useContext as we, useRef as A, useLayoutEffect as Kn, useMemo as E, forwardRef as Pn, useEffect as Ae, useState as qe, useCallback as B, useImperativeHandle as $n, useId as Fn } from "react";
|
|
3
3
|
import { useTranslation as Pe } from "react-i18next";
|
|
4
4
|
import { u as zn } from "./registry-DvAUVLHh.js";
|
|
5
|
-
import { e as Yn } from "./data-grid-
|
|
5
|
+
import { e as Yn } from "./data-grid-DTAwrOiq.js";
|
|
6
6
|
import { a as K } from "./format-number-DdzqwMs1.js";
|
|
7
7
|
import { i as Vt } from "./is-development-CLUAnsU7.js";
|
|
8
8
|
import { B as st } from "./badge-BUk4RjTS.js";
|
|
@@ -1997,4 +1997,4 @@ export {
|
|
|
1997
1997
|
Ci as u,
|
|
1998
1998
|
Yt as v
|
|
1999
1999
|
};
|
|
2000
|
-
//# sourceMappingURL=bill-line-table-
|
|
2000
|
+
//# sourceMappingURL=bill-line-table-DxV5_Dmq.js.map
|