@alfadocs/ui-kit 1.150.0 → 1.151.1
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-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
- 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-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
- package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
- package/dist/_chunks/{appointment-card-BPZggqck.js → appointment-card-CCKjbU5y.js} +105 -104
- package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
- package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
- package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
- package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-B9KRurfc.js} +3 -3
- package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-Be3HuEyO.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
- package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-B9MtcBvx.js} +337 -334
- package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
- package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
- package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
- package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
- package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
- package/dist/_chunks/code-BfU9G1ZM.js +15 -0
- package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
- package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
- package/dist/_chunks/control-room-rail-C-3o1e0e.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-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
- package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
- 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-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
- package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
- package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
- package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
- 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-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-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
- package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
- package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
- package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
- package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
- package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DmB_h5fq.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-CI54cY8Z.js} +6 -6
- package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
- package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
- package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
- package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
- package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-BZm8UNMx.js} +4 -4
- package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-CBVSCKAB.js} +3 -3
- package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DRfyhL5P.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-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
- 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-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
- package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
- package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
- package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
- package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
- 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-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
- package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
- package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
- package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-C_Ay0Gxi.js} +260 -256
- package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
- package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
- package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
- package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
- 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 +1 -1
- package/dist/appointment-editor-panel/index.js +3 -3
- 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/mark-adrift.d.ts +12 -0
- 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/appointment-card.d.ts +5 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -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/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/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/empty-state/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/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/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/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 +18 -7
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- 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-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 +16 -6
- 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/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +14 -0
- 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 +13 -1
- package/dist/i18n/locales/ar.d.ts +9 -0
- package/dist/i18n/locales/ar.js +11 -2
- package/dist/i18n/locales/de.d.ts +9 -0
- package/dist/i18n/locales/de.js +11 -2
- package/dist/i18n/locales/el.d.ts +9 -0
- package/dist/i18n/locales/el.js +11 -2
- package/dist/i18n/locales/en.d.ts +9 -0
- package/dist/i18n/locales/en.js +10 -1
- package/dist/i18n/locales/es.d.ts +9 -0
- package/dist/i18n/locales/es.js +11 -2
- package/dist/i18n/locales/fr.d.ts +9 -0
- package/dist/i18n/locales/fr.js +11 -2
- package/dist/i18n/locales/hi.d.ts +9 -0
- package/dist/i18n/locales/hi.js +11 -2
- package/dist/i18n/locales/it.d.ts +9 -0
- package/dist/i18n/locales/it.js +11 -2
- package/dist/i18n/locales/ja.d.ts +9 -0
- package/dist/i18n/locales/ja.js +11 -2
- package/dist/i18n/locales/nl.d.ts +9 -0
- package/dist/i18n/locales/nl.js +11 -2
- package/dist/i18n/locales/pl.d.ts +9 -0
- package/dist/i18n/locales/pl.js +11 -2
- package/dist/i18n/locales/pt.d.ts +9 -0
- package/dist/i18n/locales/pt.js +11 -2
- package/dist/i18n/locales/ro.d.ts +9 -0
- package/dist/i18n/locales/ro.js +11 -2
- package/dist/i18n/locales/ru.d.ts +9 -0
- package/dist/i18n/locales/ru.js +11 -2
- package/dist/i18n/locales/sq.d.ts +9 -0
- package/dist/i18n/locales/sq.js +11 -2
- package/dist/i18n/locales/sv.d.ts +9 -0
- package/dist/i18n/locales/sv.js +11 -2
- package/dist/i18n/locales/tr.d.ts +9 -0
- package/dist/i18n/locales/tr.js +11 -2
- package/dist/i18n/locales/zh.d.ts +9 -0
- package/dist/i18n/locales/zh.js +11 -2
- package/dist/index.js +818 -817
- package/dist/locales/ar.json +11 -2
- package/dist/locales/de.json +11 -2
- package/dist/locales/el.json +11 -2
- package/dist/locales/en.json +10 -1
- package/dist/locales/es.json +11 -2
- package/dist/locales/fr.json +11 -2
- package/dist/locales/hi.json +11 -2
- package/dist/locales/it.json +11 -2
- package/dist/locales/ja.json +11 -2
- package/dist/locales/nl.json +11 -2
- package/dist/locales/pl.json +11 -2
- package/dist/locales/pt.json +11 -2
- package/dist/locales/ro.json +11 -2
- package/dist/locales/ru.json +11 -2
- package/dist/locales/sq.json +11 -2
- package/dist/locales/sv.json +11 -2
- package/dist/locales/tr.json +11 -2
- package/dist/locales/zh.json +11 -2
- 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 +1 -1
- package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
- package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
- package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
- package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
- /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
|
@@ -3,7 +3,7 @@ import { forwardRef as Ne, useRef as _, useMemo as le, useId as Pe, useState as
|
|
|
3
3
|
import { c as G } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as fe } from "react-i18next";
|
|
5
5
|
import { M as Fe, A as Ve, u as Be } from "./maps-core-gate-CP8SEHH1.js";
|
|
6
|
-
import { E as De } from "./error-boundary-
|
|
6
|
+
import { E as De } from "./error-boundary-BDS1XStO.js";
|
|
7
7
|
import { u as Me, a as Se } from "./form-field-context-DtiROUJV.js";
|
|
8
8
|
import { c as Ue } from "./compose-refs-C0k0tdqF.js";
|
|
9
9
|
import { u as $e } from "./use-controllable-state-BiY4xTzM.js";
|
|
@@ -516,4 +516,4 @@ export {
|
|
|
516
516
|
Le as a,
|
|
517
517
|
ue as p
|
|
518
518
|
};
|
|
519
|
-
//# sourceMappingURL=address-autocomplete-
|
|
519
|
+
//# sourceMappingURL=address-autocomplete-Bt1nwxyn.js.map
|
|
@@ -8,7 +8,7 @@ import { P as W } from "./postal-code-input-dJdSAVkP.js";
|
|
|
8
8
|
import { C as Y } from "./city-input-DARVDJhH.js";
|
|
9
9
|
import { T as z } from "./text-input-B6iAgCr3.js";
|
|
10
10
|
import { F as y } from "./form-field-CyHfOVKF.js";
|
|
11
|
-
import { A as G } from "./address-autocomplete-
|
|
11
|
+
import { A as G } from "./address-autocomplete-Bt1nwxyn.js";
|
|
12
12
|
import { u as J } from "./registry-DvAUVLHh.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
street: { type: "string" },
|
|
@@ -295,4 +295,4 @@ export {
|
|
|
295
295
|
te as A,
|
|
296
296
|
X as a
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=address-fields-
|
|
298
|
+
//# sourceMappingURL=address-fields-COumFRSX.js.map
|
|
@@ -4,7 +4,7 @@ import { c as H } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as K } from "react-i18next";
|
|
5
5
|
import { I as M } from "./icon-button-u9VMQn3x.js";
|
|
6
6
|
import { S as A } from "./skeleton-tTWJpvAq.js";
|
|
7
|
-
import { E as D } from "./empty-state-
|
|
7
|
+
import { E as D } from "./empty-state-qHtpcasr.js";
|
|
8
8
|
import { A as V } from "./agenda-card-B9wgX_Ed.js";
|
|
9
9
|
import { u as F } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { C as G } from "./calendar-days-BGWklvE-.js";
|
|
@@ -212,4 +212,4 @@ export {
|
|
|
212
212
|
U as A,
|
|
213
213
|
L as a
|
|
214
214
|
};
|
|
215
|
-
//# sourceMappingURL=agenda-tray-
|
|
215
|
+
//# sourceMappingURL=agenda-tray-CmfcYQhc.js.map
|
|
@@ -11,7 +11,7 @@ import { A as Et } from "./avatar-Dp5apm1d.js";
|
|
|
11
11
|
import { B as Qe } from "./badge-BUk4RjTS.js";
|
|
12
12
|
import { B as ue } from "./button-Dp4j9ygh.js";
|
|
13
13
|
import { I as Rt } from "./icon-button-u9VMQn3x.js";
|
|
14
|
-
import { E as b } from "./empty-state-
|
|
14
|
+
import { E as b } from "./empty-state-qHtpcasr.js";
|
|
15
15
|
import { E as Ct } from "./entity-summary-BNnTP1F6.js";
|
|
16
16
|
import { L as rt } from "./link-CeV7FoI6.js";
|
|
17
17
|
import { P as Xe } from "./panel-header-DTc5OFUg.js";
|
|
@@ -1042,4 +1042,4 @@ export {
|
|
|
1042
1042
|
Wt as A,
|
|
1043
1043
|
zt as a
|
|
1044
1044
|
};
|
|
1045
|
-
//# sourceMappingURL=ai-summary-panel-
|
|
1045
|
+
//# sourceMappingURL=ai-summary-panel-DyAHCqaj.js.map
|
|
@@ -4,7 +4,7 @@ import * as is from "@radix-ui/react-dialog";
|
|
|
4
4
|
import { useTranslation as w } from "react-i18next";
|
|
5
5
|
import { F as ds } from "./floating-action-button-BesoUmO_.js";
|
|
6
6
|
import { I as z } from "./icon-button-u9VMQn3x.js";
|
|
7
|
-
import { S as ee } from "./sheet-
|
|
7
|
+
import { S as ee } from "./sheet-1LXzej6Q.js";
|
|
8
8
|
import { X as Ie } from "./x-B5YnXwCz.js";
|
|
9
9
|
import { A as ls } from "./astroid-BN4f5VXU.js";
|
|
10
10
|
import { AliaAsteroidIcon as he } from "../alia-asteroid-icon/index.js";
|
|
@@ -1320,4 +1320,4 @@ export {
|
|
|
1320
1320
|
Ks as b,
|
|
1321
1321
|
Gs as c
|
|
1322
1322
|
};
|
|
1323
|
-
//# sourceMappingURL=alia-sidebar-
|
|
1323
|
+
//# sourceMappingURL=alia-sidebar-BqZjnVoF.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as q } from "react-i18next";
|
|
|
5
5
|
import { B as n } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as N } from "./card-n6W6LW-N.js";
|
|
7
7
|
import { A as z, b as G, c as Q, a as S } from "./accordion-Ch3xp0mX.js";
|
|
8
|
-
import { D as t } from "./description-list-
|
|
8
|
+
import { D as t } from "./description-list-DaldSpGy.js";
|
|
9
9
|
import { T as y } from "./timestamp-UMF1llBs.js";
|
|
10
10
|
import { T as w } from "./triangle-alert-CBnO6nq_.js";
|
|
11
11
|
const H = R("ds:w-full ds:text-[color:var(--foreground)]", {
|
|
@@ -154,4 +154,4 @@ J.displayName = "AnamnesisCard";
|
|
|
154
154
|
export {
|
|
155
155
|
J as A
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=anamnesis-card-
|
|
157
|
+
//# sourceMappingURL=anamnesis-card-CoiG7vDj.js.map
|
package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { B as ie } from "./button-Dp4j9ygh.js";
|
|
|
5
5
|
import { I as de } from "./icon-button-u9VMQn3x.js";
|
|
6
6
|
import { C as le } from "./card-n6W6LW-N.js";
|
|
7
7
|
import { C as Zt, b as Yt, a as Jt } from "./collapsible-DVPM46bq.js";
|
|
8
|
-
import { E as Xe } from "./empty-state-
|
|
8
|
+
import { E as Xe } from "./empty-state-qHtpcasr.js";
|
|
9
9
|
import { F as M } from "./form-field-CyHfOVKF.js";
|
|
10
10
|
import { M as ln } from "./multi-select-DeMiHm8T.js";
|
|
11
11
|
import { N as ga } from "./number-input-Bi5Yk6PX.js";
|
|
@@ -18,7 +18,7 @@ import { S as te } from "./state-backed-text-input-DVETOhSS.js";
|
|
|
18
18
|
import { T as Ze } from "./timestamp-UMF1llBs.js";
|
|
19
19
|
import { D as sn } from "./date-picker-CD-PBzXM.js";
|
|
20
20
|
import { A as Ue } from "./alert-C4WKViaS.js";
|
|
21
|
-
import { D as L } from "./description-list-
|
|
21
|
+
import { D as L } from "./description-list-DaldSpGy.js";
|
|
22
22
|
import { c as Xt } from "./index-D2ZczOXr.js";
|
|
23
23
|
import { S as dn } from "./sparkline-SnniCoCl.js";
|
|
24
24
|
import { A as ei, a as ai } from "./arrow-up-BYvcvTkB.js";
|
|
@@ -20936,4 +20936,4 @@ export {
|
|
|
20936
20936
|
Vi as t,
|
|
20937
20937
|
od as u
|
|
20938
20938
|
};
|
|
20939
|
-
//# sourceMappingURL=anamnesis-summary-rows-
|
|
20939
|
+
//# sourceMappingURL=anamnesis-summary-rows-CFpaA1GP.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as V, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as I, useRef as a, useState as c, useEffect as U, useCallback as Y, useMemo as q } from "react";
|
|
3
3
|
import { c as s } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as D } from "react-i18next";
|
|
5
|
-
import { S as G } from "./scroll-area-
|
|
5
|
+
import { S as G } from "./scroll-area-RQtcKkHf.js";
|
|
6
6
|
import { u as J } from "./use-media-query-CcAx5SMM.js";
|
|
7
7
|
import { u as j } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { A as K } from "./app-frame-context-CPszhDDb.js";
|
|
@@ -176,4 +176,4 @@ ne.displayName = "AppFrame";
|
|
|
176
176
|
export {
|
|
177
177
|
ne as A
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=app-frame-
|
|
179
|
+
//# sourceMappingURL=app-frame-XEjLsLGY.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { A as
|
|
2
|
+
import { forwardRef as za, useMemo as ta, useEffect as Ta } from "react";
|
|
3
|
+
import { c as Sa } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Ma } from "react-i18next";
|
|
5
|
+
import { A as oa } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B as o } from "./badge-BUk4RjTS.js";
|
|
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 Ea, a as Oa, c 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 { H as
|
|
26
|
-
import { R as
|
|
27
|
-
import { F as
|
|
28
|
-
import { C as
|
|
7
|
+
import { T as Ra } from "./tag-BNlcEJfE.js";
|
|
8
|
+
import { T as Aa } from "./timestamp-UMF1llBs.js";
|
|
9
|
+
import { T as ia } from "./transaction-chip-6jToArJn.js";
|
|
10
|
+
import { i as La } from "./is-development-CLUAnsU7.js";
|
|
11
|
+
import { V as da } from "./visually-hidden-BHxEUGyT.js";
|
|
12
|
+
import { p as Da } from "./privacy-mask-text-B8YfzB7L.js";
|
|
13
|
+
import { a as Va } from "./workflow-status-Cg7yjnye.js";
|
|
14
|
+
import { i as _a } from "./is-safe-url-CEy9CEml.js";
|
|
15
|
+
import { V as Ia } from "./video-BheNGvsu.js";
|
|
16
|
+
import { M as Pa } from "./map-pin-BaY37-Km.js";
|
|
17
|
+
import { E as Ua } from "./eye-off-C_4xkbRP.js";
|
|
18
|
+
import { b as Ea, a as Oa, c as Fa } from "./entity-card-p-LANpYt.js";
|
|
19
|
+
import { U as $a } from "./user-x-BJZg4kaP.js";
|
|
20
|
+
import { B as ja } from "./building-2-D33bLCWL.js";
|
|
21
|
+
import { S as la } from "./star-Bf9L2Uot.js";
|
|
22
|
+
import { c as ma } from "./createLucideIcon-DhHxpK9K.js";
|
|
23
|
+
import { A as Ba } from "./armchair-BaLDW6Hz.js";
|
|
24
|
+
import { G as Ha } from "./globe-sHBW1JN5.js";
|
|
25
|
+
import { H as Wa } from "./hourglass-BEAzW1wE.js";
|
|
26
|
+
import { R as qa } from "./repeat-CvQa5rZt.js";
|
|
27
|
+
import { F as Ga } from "./file-pen-line-k4uMBM3h.js";
|
|
28
|
+
import { C as Ka } from "./chevron-right-I9AeSxH2.js";
|
|
29
29
|
/**
|
|
30
30
|
* @license lucide-react v1.22.0 - ISC
|
|
31
31
|
*
|
|
32
32
|
* This source code is licensed under the ISC license.
|
|
33
33
|
* See the LICENSE file in the root directory of this source tree.
|
|
34
34
|
*/
|
|
35
|
-
const
|
|
35
|
+
const Ya = [
|
|
36
36
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
37
37
|
[
|
|
38
38
|
"path",
|
|
@@ -43,14 +43,14 @@ const Ka = [
|
|
|
43
43
|
],
|
|
44
44
|
["path", { d: "M9 14h6", key: "159ibu" }],
|
|
45
45
|
["path", { d: "M12 17v-6", key: "1y8rbf" }]
|
|
46
|
-
],
|
|
46
|
+
], Xa = ma("clipboard-plus", Ya);
|
|
47
47
|
/**
|
|
48
48
|
* @license lucide-react v1.22.0 - ISC
|
|
49
49
|
*
|
|
50
50
|
* This source code is licensed under the ISC license.
|
|
51
51
|
* See the LICENSE file in the root directory of this source tree.
|
|
52
52
|
*/
|
|
53
|
-
const
|
|
53
|
+
const Ja = [
|
|
54
54
|
[
|
|
55
55
|
"path",
|
|
56
56
|
{
|
|
@@ -61,7 +61,7 @@ const Xa = [
|
|
|
61
61
|
["path", { d: "M7 11h10", key: "1twpyw" }],
|
|
62
62
|
["path", { d: "M7 15h6", key: "d9of3u" }],
|
|
63
63
|
["path", { d: "M7 7h8", key: "af5zfr" }]
|
|
64
|
-
],
|
|
64
|
+
], Qa = ma("message-square-text", Ja), Za = {
|
|
65
65
|
"var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
|
|
66
66
|
"var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
|
|
67
67
|
"var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
|
|
@@ -74,10 +74,10 @@ const Xa = [
|
|
|
74
74
|
"var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
|
|
75
75
|
"var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
|
|
76
76
|
};
|
|
77
|
-
function Za(a) {
|
|
78
|
-
return Qa[Ua(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
79
|
-
}
|
|
80
77
|
function as(a) {
|
|
78
|
+
return Za[Fa(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
79
|
+
}
|
|
80
|
+
function ss(a) {
|
|
81
81
|
if (!a) return;
|
|
82
82
|
const i = new Date(a);
|
|
83
83
|
if (Number.isNaN(i.getTime())) return;
|
|
@@ -86,11 +86,11 @@ function as(a) {
|
|
|
86
86
|
const l = f.getMonth() - i.getMonth();
|
|
87
87
|
return (l < 0 || l === 0 && f.getDate() < i.getDate()) && d--, d < 0 || d > 130 ? void 0 : d;
|
|
88
88
|
}
|
|
89
|
-
const
|
|
89
|
+
const ca = {
|
|
90
90
|
hour: "numeric",
|
|
91
91
|
minute: "2-digit"
|
|
92
92
|
};
|
|
93
|
-
function
|
|
93
|
+
function es(a) {
|
|
94
94
|
if (a)
|
|
95
95
|
try {
|
|
96
96
|
return new Intl.DateTimeFormat("en", { timeZone: a }).resolvedOptions().timeZone;
|
|
@@ -98,7 +98,7 @@ function ss(a) {
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
const
|
|
101
|
+
const rs = Sa(
|
|
102
102
|
[
|
|
103
103
|
"ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
104
104
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -162,13 +162,13 @@ const es = Ta(
|
|
|
162
162
|
next: !1
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
),
|
|
165
|
+
), ns = [
|
|
166
166
|
"ds:max-w-full ds:shrink-0",
|
|
167
167
|
"ds:[&>div]:h-auto ds:[&>div]:min-h-8 ds:[&>div]:py-[var(--spacing-2xs)]",
|
|
168
168
|
"ds:[&_[data-workflow-status-value]]:overflow-visible",
|
|
169
169
|
"ds:[&_[data-workflow-status-value]]:whitespace-normal",
|
|
170
170
|
"ds:[&_[data-workflow-status-value]]:[overflow-wrap:normal]"
|
|
171
|
-
].join(" "),
|
|
171
|
+
].join(" "), pa = [
|
|
172
172
|
// Interactive elements need a box to remain keyboard-focusable in browsers.
|
|
173
173
|
"ds:inline-flex ds:min-w-0",
|
|
174
174
|
"ds:focus-visible:outline-none",
|
|
@@ -179,10 +179,10 @@ const es = Ta(
|
|
|
179
179
|
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
180
180
|
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
181
181
|
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
182
|
-
].join(" "),
|
|
183
|
-
inPractice:
|
|
184
|
-
telehealth:
|
|
185
|
-
},
|
|
182
|
+
].join(" "), ts = {
|
|
183
|
+
inPractice: Pa,
|
|
184
|
+
telehealth: Ia
|
|
185
|
+
}, os = za(
|
|
186
186
|
({
|
|
187
187
|
item: a,
|
|
188
188
|
size: i = "sm",
|
|
@@ -193,24 +193,24 @@ const es = Ta(
|
|
|
193
193
|
showPatient: c = !0,
|
|
194
194
|
onActivate: m,
|
|
195
195
|
selected: T = !1,
|
|
196
|
-
hideDefaultStatus:
|
|
196
|
+
hideDefaultStatus: ua = !1,
|
|
197
197
|
privacy: p = !1,
|
|
198
|
-
privacyTitle:
|
|
198
|
+
privacyTitle: fa,
|
|
199
199
|
wrapText: g = !1,
|
|
200
200
|
className: S,
|
|
201
|
-
...
|
|
202
|
-
},
|
|
203
|
-
var
|
|
204
|
-
const { t: e } =
|
|
205
|
-
() => h ? { ...
|
|
201
|
+
...ga
|
|
202
|
+
}, ha) => {
|
|
203
|
+
var E, O, F, $, j, B, H, W, q, G, K, Y, X, J, Q, Z, aa, sa, ea, ra, na;
|
|
204
|
+
const { t: e } = Ma("ui"), h = ta(() => es(l), [l]), va = ta(
|
|
205
|
+
() => h ? { ...ca, timeZone: h } : ca,
|
|
206
206
|
[h]
|
|
207
207
|
);
|
|
208
|
-
|
|
209
|
-
l && !h &&
|
|
208
|
+
Ta(() => {
|
|
209
|
+
l && !h && La() && console.warn(
|
|
210
210
|
`AppointmentCard: "${l}" is not a time zone this browser knows, so the start time shows in the browser's own zone.`
|
|
211
211
|
);
|
|
212
212
|
}, [l, h]);
|
|
213
|
-
const v = !!m,
|
|
213
|
+
const v = !!m, ba = !!a.url && _a(a.url), t = a.state ?? void 0, xa = t !== void 0 && !(ua && t === "confirmed"), w = ((E = a.patient) == null ? void 0 : E.name) ?? e("appointmentCard.noPatient"), u = (O = a.operator) == null ? void 0 : O.name, b = e(t ? `appointmentCard.state.${t}` : "workflowStatus.noStatus"), M = Oa(t ?? ""), wa = M.Icon, Na = ((F = a.flags) == null ? void 0 : F.noPatientAssigned) || !a.patient, R = p && c && a.patient !== void 0, A = p ? void 0 : ss(($ = a.patient) == null ? void 0 : $.dobIso), L = ((j = a.practiceName) == null ? void 0 : j.trim()) || void 0, N = i === "md" ? "md" : "sm", ka = ts[a.type], D = c ? w : u ?? e("appointmentCard.appointment"), V = t ? R ? e("appointmentCard.itemLabelGeneric", {
|
|
214
214
|
title: e("appointmentPeek.hiddenName"),
|
|
215
215
|
state: b
|
|
216
216
|
}) : c ? e("appointmentCard.itemLabel", {
|
|
@@ -222,9 +222,9 @@ const es = Ta(
|
|
|
222
222
|
className: (g ? "ds:min-w-0 ds:break-words" : "ds:min-w-0 ds:truncate") + " type-title-item ds:text-[color:var(--foreground)]",
|
|
223
223
|
children: [
|
|
224
224
|
R ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
225
|
-
/* @__PURE__ */ s(
|
|
226
|
-
/* @__PURE__ */ s(
|
|
227
|
-
/* @__PURE__ */ s("span", { "aria-hidden": "true", children:
|
|
225
|
+
/* @__PURE__ */ s(Ua, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
|
|
226
|
+
/* @__PURE__ */ s(da, { children: e("appointmentPeek.hiddenName") }),
|
|
227
|
+
/* @__PURE__ */ s("span", { "aria-hidden": "true", children: Da(fa) })
|
|
228
228
|
] }) : D,
|
|
229
229
|
c && A !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
|
|
230
230
|
"· ",
|
|
@@ -234,13 +234,13 @@ const es = Ta(
|
|
|
234
234
|
}
|
|
235
235
|
);
|
|
236
236
|
let x;
|
|
237
|
-
v &&
|
|
237
|
+
v && ba ? x = /* @__PURE__ */ s(
|
|
238
238
|
"a",
|
|
239
239
|
{
|
|
240
240
|
href: a.url,
|
|
241
241
|
"aria-label": V,
|
|
242
242
|
"data-action": "open-appointment",
|
|
243
|
-
className:
|
|
243
|
+
className: pa,
|
|
244
244
|
onClick: (n) => {
|
|
245
245
|
n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || m == null || m(a);
|
|
246
246
|
},
|
|
@@ -252,32 +252,32 @@ const es = Ta(
|
|
|
252
252
|
type: "button",
|
|
253
253
|
"aria-label": V,
|
|
254
254
|
"data-action": "open-appointment",
|
|
255
|
-
className:
|
|
255
|
+
className: pa + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
256
256
|
onClick: () => m == null ? void 0 : m(a),
|
|
257
257
|
children: k
|
|
258
258
|
}
|
|
259
259
|
) : x = k;
|
|
260
|
-
const _ = (a.treatments ?? []).map((n,
|
|
261
|
-
const
|
|
260
|
+
const _ = (a.treatments ?? []).map((n, ya) => {
|
|
261
|
+
const Ca = n.elements && n.elements.length > 0 ? e("appointmentCard.treatmentWithElements", {
|
|
262
262
|
care: n.careName,
|
|
263
263
|
elements: n.elements.join(", ")
|
|
264
264
|
}) : n.careName;
|
|
265
265
|
return /* @__PURE__ */ s(
|
|
266
|
-
|
|
266
|
+
Ra,
|
|
267
267
|
{
|
|
268
|
-
label:
|
|
268
|
+
label: Ca,
|
|
269
269
|
variant: "neutral",
|
|
270
270
|
fill: "outline",
|
|
271
271
|
size: "sm",
|
|
272
272
|
maxInlineSize: "12rem"
|
|
273
273
|
},
|
|
274
|
-
`${n.careName}-${
|
|
274
|
+
`${n.careName}-${ya}`
|
|
275
275
|
);
|
|
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,
|
|
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, U = !p && ((W = a.flags) == null ? void 0 : W.highlightedAnamnesis);
|
|
277
277
|
return /* @__PURE__ */ r(
|
|
278
278
|
"div",
|
|
279
279
|
{
|
|
280
|
-
ref:
|
|
280
|
+
ref: ha,
|
|
281
281
|
role: "listitem",
|
|
282
282
|
"data-component": "appointment-card",
|
|
283
283
|
"data-component-id": a.id,
|
|
@@ -285,7 +285,7 @@ const es = Ta(
|
|
|
285
285
|
"data-type": a.type,
|
|
286
286
|
"data-privacy": p ? "masked" : void 0,
|
|
287
287
|
"aria-current": T ? "true" : void 0,
|
|
288
|
-
className:
|
|
288
|
+
className: rs({
|
|
289
289
|
size: i,
|
|
290
290
|
interactive: v,
|
|
291
291
|
surface: f,
|
|
@@ -294,20 +294,20 @@ const es = Ta(
|
|
|
294
294
|
next: a.next,
|
|
295
295
|
className: g ? `ds:@container/apptcard ${S ?? ""}`.trim() : S
|
|
296
296
|
}),
|
|
297
|
-
...
|
|
297
|
+
...ga,
|
|
298
298
|
children: [
|
|
299
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: [
|
|
300
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: [
|
|
301
|
-
/* @__PURE__ */ s(
|
|
301
|
+
/* @__PURE__ */ s(ka, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
302
302
|
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: e(`appointmentCard.type.${a.type}`) }),
|
|
303
303
|
/* @__PURE__ */ s(
|
|
304
|
-
|
|
304
|
+
Aa,
|
|
305
305
|
{
|
|
306
306
|
value: a.startIso,
|
|
307
307
|
format: "absolute",
|
|
308
308
|
shape: "bare",
|
|
309
309
|
locale: d,
|
|
310
|
-
absoluteFormat:
|
|
310
|
+
absoluteFormat: va,
|
|
311
311
|
className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
|
|
312
312
|
}
|
|
313
313
|
)
|
|
@@ -316,10 +316,11 @@ const es = Ta(
|
|
|
316
316
|
] }),
|
|
317
317
|
u ? /* @__PURE__ */ r("span", { className: "ds:relative ds:shrink-0", children: [
|
|
318
318
|
/* @__PURE__ */ s(
|
|
319
|
-
|
|
319
|
+
oa,
|
|
320
320
|
{
|
|
321
321
|
name: u,
|
|
322
|
-
|
|
322
|
+
src: (q = a.operator) == null ? void 0 : q.avatarUrl,
|
|
323
|
+
color: Ea((G = a.operator) == null ? void 0 : G.colorId),
|
|
323
324
|
size: N,
|
|
324
325
|
"aria-hidden": "true",
|
|
325
326
|
role: "presentation",
|
|
@@ -330,7 +331,7 @@ const es = Ta(
|
|
|
330
331
|
"span",
|
|
331
332
|
{
|
|
332
333
|
"aria-hidden": "true",
|
|
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)] " +
|
|
334
|
+
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)] " + as((K = a.operator) == null ? void 0 : K.colorId)
|
|
334
335
|
}
|
|
335
336
|
)
|
|
336
337
|
] }) : null,
|
|
@@ -345,8 +346,8 @@ const es = Ta(
|
|
|
345
346
|
{
|
|
346
347
|
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" : ""),
|
|
347
348
|
children: [
|
|
348
|
-
c && !p && ((
|
|
349
|
-
|
|
349
|
+
c && !p && ((Y = a.patient) != null && Y.avatarUrl) ? /* @__PURE__ */ s(
|
|
350
|
+
oa,
|
|
350
351
|
{
|
|
351
352
|
name: w,
|
|
352
353
|
src: a.patient.avatarUrl,
|
|
@@ -357,11 +358,11 @@ const es = Ta(
|
|
|
357
358
|
"aria-label": void 0
|
|
358
359
|
}
|
|
359
360
|
) : null,
|
|
360
|
-
c &&
|
|
361
|
+
c && Na ? /* @__PURE__ */ s(
|
|
361
362
|
"span",
|
|
362
363
|
{
|
|
363
364
|
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(
|
|
365
|
+
children: /* @__PURE__ */ s($a, { "aria-hidden": "true", className: "ds:size-4" })
|
|
365
366
|
}
|
|
366
367
|
) : null,
|
|
367
368
|
x
|
|
@@ -378,18 +379,18 @@ const es = Ta(
|
|
|
378
379
|
children: e("appointmentCard.next")
|
|
379
380
|
}
|
|
380
381
|
) : null,
|
|
381
|
-
|
|
382
|
-
|
|
382
|
+
xa && t ? /* @__PURE__ */ s(
|
|
383
|
+
Va,
|
|
383
384
|
{
|
|
384
385
|
size: "sm",
|
|
385
386
|
value: t,
|
|
386
387
|
option: {
|
|
387
388
|
value: t,
|
|
388
389
|
label: b,
|
|
389
|
-
icon: /* @__PURE__ */ s(
|
|
390
|
+
icon: /* @__PURE__ */ s(wa, { "aria-hidden": "true" }),
|
|
390
391
|
tone: M.tone
|
|
391
392
|
},
|
|
392
|
-
className: g ?
|
|
393
|
+
className: g ? ns : "ds:shrink-0"
|
|
393
394
|
}
|
|
394
395
|
) : null
|
|
395
396
|
]
|
|
@@ -402,21 +403,21 @@ const es = Ta(
|
|
|
402
403
|
"data-slot": "practice",
|
|
403
404
|
className: "type-meta ds:flex ds:min-w-0 ds:items-start ds:gap-[var(--spacing-2xs)] ds:text-[color:var(--muted-foreground)]",
|
|
404
405
|
children: [
|
|
405
|
-
/* @__PURE__ */ s("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ s(
|
|
406
|
+
/* @__PURE__ */ s("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ s(ja, { "aria-hidden": "true", className: "ds:size-3" }) }),
|
|
406
407
|
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: e("appointmentCard.practice") }),
|
|
407
408
|
/* @__PURE__ */ s("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: L })
|
|
408
409
|
]
|
|
409
410
|
}
|
|
410
411
|
) : null,
|
|
411
|
-
c && u || (
|
|
412
|
+
c && u || (X = a.bookingReason) != null && X.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
413
|
c && u ? /* @__PURE__ */ s("span", { children: u }) : null,
|
|
413
|
-
(
|
|
414
|
+
(J = a.bookingReason) != null && J.specialty ? /* @__PURE__ */ s("span", { children: a.bookingReason.specialty }) : null,
|
|
414
415
|
a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
415
|
-
/* @__PURE__ */ s(
|
|
416
|
+
/* @__PURE__ */ s(la, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
416
417
|
e("appointmentCard.firstVisit")
|
|
417
418
|
] }) : null,
|
|
418
419
|
a.firstVisit === "unknown" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
419
|
-
/* @__PURE__ */ s(
|
|
420
|
+
/* @__PURE__ */ s(la, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
420
421
|
e("appointmentCard.firstVisitUnknown")
|
|
421
422
|
] }) : null,
|
|
422
423
|
a.bookingNote ? /* @__PURE__ */ r(
|
|
@@ -426,7 +427,7 @@ const es = Ta(
|
|
|
426
427
|
title: e("appointmentCard.hasBookingNote"),
|
|
427
428
|
children: [
|
|
428
429
|
/* @__PURE__ */ s(
|
|
429
|
-
|
|
430
|
+
Qa,
|
|
430
431
|
{
|
|
431
432
|
"aria-hidden": "true",
|
|
432
433
|
className: "ds:size-3 ds:shrink-0"
|
|
@@ -437,46 +438,46 @@ const es = Ta(
|
|
|
437
438
|
}
|
|
438
439
|
) : null
|
|
439
440
|
] }) : null,
|
|
440
|
-
(
|
|
441
|
+
(Q = a.bookingReason) != null && Q.description && !p ? /* @__PURE__ */ s("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
|
|
441
442
|
_.length > 0 ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: _ }) : null,
|
|
442
|
-
a.carePlan || a.chair || (
|
|
443
|
+
a.carePlan || a.chair || (Z = a.flags) != null && Z.bookedOnline || (aa = a.flags) != null && aa.waitingList || U || (sa = a.flags) != null && sa.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
444
|
a.carePlan ? /* @__PURE__ */ s(
|
|
444
445
|
o,
|
|
445
446
|
{
|
|
446
447
|
variant: "accentSoft",
|
|
447
448
|
size: "sm",
|
|
448
|
-
leading: /* @__PURE__ */ s(
|
|
449
|
+
leading: /* @__PURE__ */ s(Xa, {}),
|
|
449
450
|
children: e("appointmentCard.carePlan", {
|
|
450
451
|
number: a.carePlan.number
|
|
451
452
|
})
|
|
452
453
|
}
|
|
453
454
|
) : null,
|
|
454
|
-
a.chair ? /* @__PURE__ */ r(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(
|
|
455
|
-
/* @__PURE__ */ r(
|
|
455
|
+
a.chair ? /* @__PURE__ */ r(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Ba, {}), children: [
|
|
456
|
+
/* @__PURE__ */ r(da, { children: [
|
|
456
457
|
e("calendarWorkspace.details.chair"),
|
|
457
458
|
" "
|
|
458
459
|
] }),
|
|
459
460
|
a.chair
|
|
460
461
|
] }) : null,
|
|
461
|
-
(
|
|
462
|
-
(
|
|
463
|
-
|
|
464
|
-
a.recurring ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(
|
|
462
|
+
(ea = a.flags) != null && ea.bookedOnline ? /* @__PURE__ */ s(o, { variant: "info", size: "sm", leading: /* @__PURE__ */ s(Ha, {}), children: e("appointmentCard.flag.bookedOnline") }) : null,
|
|
463
|
+
(ra = a.flags) != null && ra.waitingList ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Wa, {}), children: e("appointmentCard.flag.waitingList") }) : null,
|
|
464
|
+
U ? /* @__PURE__ */ s(o, { variant: "warning", size: "sm", withDot: !0, children: e("appointmentCard.flag.highlightedAnamnesis") }) : null,
|
|
465
|
+
a.recurring ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(qa, {}), children: e("appointmentCard.recurring") }) : null,
|
|
465
466
|
a.signing ? /* @__PURE__ */ s(
|
|
466
467
|
o,
|
|
467
468
|
{
|
|
468
469
|
variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
|
|
469
470
|
size: "sm",
|
|
470
|
-
leading: /* @__PURE__ */ s(
|
|
471
|
+
leading: /* @__PURE__ */ s(Ga, {}),
|
|
471
472
|
children: e("appointmentCard.signing", {
|
|
472
473
|
complete: a.signing.toComplete,
|
|
473
474
|
required: a.signing.required
|
|
474
475
|
})
|
|
475
476
|
}
|
|
476
477
|
) : null,
|
|
477
|
-
(
|
|
478
|
+
(na = a.flags) != null && na.billable ? /* @__PURE__ */ s(o, { variant: "success", size: "sm", withDot: !0, children: e("appointmentCard.flag.billable") }) : null,
|
|
478
479
|
I ? /* @__PURE__ */ s(
|
|
479
|
-
|
|
480
|
+
ia,
|
|
480
481
|
{
|
|
481
482
|
state: "to-invoice",
|
|
482
483
|
amount: y / 100,
|
|
@@ -487,7 +488,7 @@ const es = Ta(
|
|
|
487
488
|
}
|
|
488
489
|
) : null,
|
|
489
490
|
P ? /* @__PURE__ */ s(
|
|
490
|
-
|
|
491
|
+
ia,
|
|
491
492
|
{
|
|
492
493
|
state: "debt",
|
|
493
494
|
amount: C / 100,
|
|
@@ -500,7 +501,7 @@ const es = Ta(
|
|
|
500
501
|
] }) : null
|
|
501
502
|
] }),
|
|
502
503
|
v ? /* @__PURE__ */ s(
|
|
503
|
-
|
|
504
|
+
Ka,
|
|
504
505
|
{
|
|
505
506
|
"aria-hidden": "true",
|
|
506
507
|
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"
|
|
@@ -511,8 +512,8 @@ const es = Ta(
|
|
|
511
512
|
);
|
|
512
513
|
}
|
|
513
514
|
);
|
|
514
|
-
|
|
515
|
+
os.displayName = "AppointmentCard";
|
|
515
516
|
export {
|
|
516
|
-
|
|
517
|
+
os as A
|
|
517
518
|
};
|
|
518
|
-
//# sourceMappingURL=appointment-card-
|
|
519
|
+
//# sourceMappingURL=appointment-card-CCKjbU5y.js.map
|