@alfadocs/ui-kit 1.37.0 → 1.39.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-CUn1pqEq.js → actions-cell-renderer-BXBy9c0f.js} +3 -3
- package/dist/_chunks/{agenda-tray-DYGCTIWB.js → agenda-tray-CBaJASb5.js} +4 -4
- package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js → ai-consent-banner-DvtaM3yg.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js → ai-prompt-input-DXknpQCB.js} +2 -2
- package/dist/_chunks/{alia-sidebar-B6bXlZZk.js → alia-sidebar-CUqaJNPQ.js} +7 -7
- package/dist/_chunks/{anamnesis-card-DGwINeNn.js → anamnesis-card-xtEhyojD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-GYHa7VGp.js → anamnesis-summary-card-CclBbiXg.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js → anamnesis-summary-rows-DQUqwWc1.js} +7 -7
- package/dist/_chunks/{appointment-card-WsDGBBut.js → appointment-card-TgR_2GKS.js} +134 -102
- package/dist/_chunks/{appointment-peek-5S4O1VQP.js → appointment-peek-abiR0T9e.js} +3 -3
- package/dist/_chunks/{appointment-timeline-ByfovxqR.js → appointment-timeline-CCnyUYKz.js} +67 -63
- package/dist/_chunks/{appointment-tray-D6UyJHej.js → appointment-tray-N0yEI8UF.js} +5 -5
- package/dist/_chunks/{audio-recorder-BlQBC7N_.js → audio-recorder-B7dT-Y3v.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-B0Z8Dwn8.js → balance-badge-cell-o6LldMUA.js} +5 -5
- package/dist/_chunks/{bishop-score-D5b8tktp.js → bishop-score-Cu70iv9C.js} +2 -2
- package/dist/_chunks/{bmi-calculator-dOKP-vW4.js → bmi-calculator-C9N19aLX.js} +2 -2
- package/dist/_chunks/{booking-Dp-9qR6F.js → booking-Dn3jvv3K.js} +6 -6
- package/dist/_chunks/{button-nJaPh_HC.js → button-CaUe1uyd.js} +11 -7
- package/dist/_chunks/{button-group-QmN1VdUW.js → button-group-R32U7SyV.js} +2 -2
- package/dist/_chunks/{calendar-7GAUlsNO.js → calendar-ChJQzRw-.js} +2 -2
- package/dist/_chunks/calendar-workspace-B-fUbm62.js +11372 -0
- package/dist/_chunks/{care-plan-card-COFOI-fI.js → care-plan-card-BOv0NRle.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js → care-plan-entry-card-d-rZD4li.js} +3 -3
- package/dist/_chunks/{care-plan-header-CbuOuVBw.js → care-plan-header-CEmBXn6-.js} +2 -2
- package/dist/_chunks/{carousel.agent-Dv4a4M8L.js → carousel.agent-z1yLBpyC.js} +2 -2
- package/dist/_chunks/{chart-iWl76PXv.js → chart-PF2krCZC.js} +3 -3
- package/dist/_chunks/{chat-input-qM5QpUSq.js → chat-input-Cj7ZYQr5.js} +2 -2
- package/dist/_chunks/{chat-message-RniXtrCH.js → chat-message-BMVxiUIX.js} +3 -3
- package/dist/_chunks/{code-block-uVjNSI9g.js → code-block-BB-viuTn.js} +2 -2
- package/dist/_chunks/{connection-status-OEsWjmRk.js → connection-status-BmA9T0UO.js} +3 -3
- package/dist/_chunks/{contact-profile-card--My1H2UD.js → contact-profile-card-Zt6WNg1u.js} +2 -2
- package/dist/_chunks/{control-room-rail-DQoHdE1U.js → control-room-rail-CnNZusR5.js} +3 -3
- package/dist/_chunks/{copy-field-fYKpl6aN.js → copy-field-B8XRVmQv.js} +2 -2
- package/dist/_chunks/credit-card-D9XZsHGA.js +15 -0
- package/dist/_chunks/{cycle-calculator-BJeaXiZv.js → cycle-calculator-BH2StWoT.js} +2 -2
- package/dist/_chunks/{dashboard-grid-B23BFzRl.js → dashboard-grid-BcXWL5S9.js} +2 -2
- package/dist/_chunks/{data-table-BYGK-gUJ.js → data-table-CcAx_I1w.js} +7 -7
- package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js → data-table-tabs-B9SXA5VP.js} +3 -3
- package/dist/_chunks/{description-list-C1RXMDZ_.js → description-list-BsJ_6CQE.js} +2 -2
- package/dist/_chunks/{document-preview-DsEyRcNd.js → document-preview-COV0BC6n.js} +2 -2
- package/dist/_chunks/{document-scanner-CbWVtm7u.js → document-scanner-B1abl-A4.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js → due-date-calculator-Buh_mVHq.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js → editable-currency-cell-renderer-Psb6XKHR.js} +3 -3
- package/dist/_chunks/editable-description-ADMVFPUz.js +142 -0
- package/dist/_chunks/{editor-overlay-8fKAcRsm.js → editor-overlay-9tcPXNWt.js} +2 -2
- package/dist/_chunks/{empty-state-X0sVPfVo.js → empty-state-BUN_UAWf.js} +2 -2
- package/dist/_chunks/{entity-summary-BbW0mIzU.js → entity-summary-DXejuQ8i.js} +3 -3
- package/dist/_chunks/{error-boundary-ayXFCcq4.js → error-boundary-BNT2iQ1w.js} +2 -2
- package/dist/_chunks/{face-scheme-uFvhqz6h.js → face-scheme-Dg6ZyLKb.js} +5 -5
- package/dist/_chunks/{fetal-weight-C6SxchOv.js → fetal-weight-wx4ycKc6.js} +2 -2
- package/dist/_chunks/{field-array-C9dmRaIM.js → field-array-BW9KeeXG.js} +3 -3
- package/dist/_chunks/{file-manager-DvkFgj7d.js → file-manager-BfLQxF5t.js} +137 -151
- package/dist/_chunks/{finished-terminal-Br61Ip4e.js → finished-terminal-DJd7Z_po.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js → fiscal-code-input-ODQRd_Sw.js} +2 -2
- package/dist/_chunks/folder-BghC8_S2.js +20 -0
- package/dist/_chunks/{freemium-paywall-BqGk_SBU.js → freemium-paywall-Cz-O9lQD.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js → gestational-age-calculator-CwbecTul.js} +2 -2
- package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js → hcg-doubling-BcXriXJe.js} +2 -2
- package/dist/_chunks/{header-BZ4pZlJV.js → header-3o9o9v_T.js} +2 -2
- package/dist/_chunks/{header-settings-B8mLc03Q.js → header-settings-CTe45iDy.js} +4 -4
- package/dist/_chunks/{hover-card-Bcku1GQu.js → hover-card-BMJBVqIf.js} +2 -2
- package/dist/_chunks/{icon-button-8xqRnkdG.js → icon-button-CehAeZoP.js} +2 -2
- package/dist/_chunks/{icon-button-group-Dj6CRoYR.js → icon-button-group-DkkdIygu.js} +2 -2
- package/dist/_chunks/{icon-picker-CTWzlHJr.js → icon-picker-DMEelg9v.js} +3 -3
- package/dist/_chunks/{image-cropper-C84NDTB7.js → image-cropper-BjPjT7wU.js} +2 -2
- package/dist/_chunks/{info-tip-ey_Pon2y.js → info-tip-iP2Pm9dh.js} +2 -2
- package/dist/_chunks/{insert-result-LCNTskNJ.js → insert-result-DPnOBD85.js} +2 -2
- package/dist/_chunks/{key-value-pair-DczGb4yz.js → key-value-pair-DaQI_LZB.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js → link-cell-renderer-s3oHzOwi.js} +2 -2
- package/dist/_chunks/{locale-picker-BLeHbFSc.js → locale-picker-CH3kfrIG.js} +3 -3
- package/dist/_chunks/{map-view-CCAlC9IL.js → map-view-CHw4RL6w.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js → marketplace-app-shell-d2EtcUbe.js} +4 -4
- package/dist/_chunks/{message-card-Dm5Xshup.js → message-card-V3sFPiQI.js} +3 -3
- package/dist/_chunks/{message-tray-BcLyaO-G.js → message-tray-CrRIHfiQ.js} +5 -5
- package/dist/_chunks/note-timeline-Dn_XTo1s.js +333 -0
- package/dist/_chunks/notes-panel-CAD1Ytcj.js +647 -0
- package/dist/_chunks/{notification-card-ChcK9Wat.js → notification-card-B2gLO6dK.js} +3 -3
- package/dist/_chunks/{notification-tray-CJ8jOe-U.js → notification-tray-BOEKegVV.js} +5 -5
- package/dist/_chunks/{optical-prescription-cphK41eP.js → optical-prescription-LGgmtcST.js} +2 -2
- package/dist/_chunks/{panel-subview-BNXN8OEL.js → panel-subview-Cc2Wtt7D.js} +52 -52
- package/dist/_chunks/{patient-details-2cIaL-Zb.js → patient-details-C8ImUrVg.js} +3 -3
- package/dist/_chunks/{patient-field-row-IHb2VFc2.js → patient-field-row-BRSOKvme.js} +7 -7
- package/dist/_chunks/{patient-search-D08b6jgj.js → patient-search-5QcmQKJD.js} +2 -2
- package/dist/_chunks/{patient-summary-card-BzmJH9a-.js → patient-summary-card-BhmKB2KR.js} +8 -8
- package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js → payment-automation-upsell-BKmBXU4i.js} +17 -16
- package/dist/_chunks/{payment-request-card-BxcdvxKR.js → payment-request-card-Cer6XXCn.js} +6 -5
- package/dist/_chunks/{periodontal-chart-BF_e3wZp.js → periodontal-chart-DJoZS_o7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js → periodontal-chart-card-Nd1ZoYWb.js} +2 -2
- package/dist/_chunks/{popover-DzR5QYxp.js → popover-DO-pssF3.js} +2 -2
- package/dist/_chunks/{practice-results-DOcORTkP.js → practice-results-D_jjzwgf.js} +6 -6
- package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js → pregnancy-dating-DcyV9ZRD.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js → pregnancy-weight-gain-Bfq4Kwt5.js} +2 -2
- package/dist/_chunks/{privacy-lock-Be39vQUN.js → privacy-lock-CbFCAMM3.js} +3 -3
- package/dist/_chunks/{product-hub-panel-C0TO69P7.js → product-hub-panel-w40-_-1s.js} +4 -4
- package/dist/_chunks/{public-header.agent-Bl1KFwSE.js → public-header.agent-D-EBVskf.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js → radiograph-panel.agent-LrILY2lN.js} +4 -4
- package/dist/_chunks/{receipt-euro-C6k4Gzhr.js → receipt-euro-B1cLM_TN.js} +3 -14
- package/dist/_chunks/{reviews-panel-BaHZb_ai.js → reviews-panel-2GVuxGeT.js} +5 -5
- package/dist/_chunks/{rich-text-editor-BTXlorm5.js → rich-text-editor-C6fE-uP4.js} +5 -5
- package/dist/_chunks/{session-countdown-QMsnRa1x.js → session-countdown-BqppPrw6.js} +2 -2
- package/dist/_chunks/{sheet-hm04DGFd.js → sheet-C8WIDFS8.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js → sign-in-with-alfadocs-button-DWwBJtyE.js} +2 -2
- package/dist/_chunks/{signature-request-Dej2g86d.js → signature-request-D_j2aQu1.js} +360 -371
- package/dist/_chunks/{skeleton-CZbwyJAA.js → skeleton-B1KTdJ4N.js} +46 -33
- package/dist/_chunks/{slot-grid-8Ko6thzz.js → slot-grid-B3eOPkKD.js} +5 -5
- package/dist/_chunks/{streaming-text-DjFqLSt_.js → streaming-text-CE1u_oGa.js} +2 -2
- package/dist/_chunks/{task-tray-CQ8UAR2j.js → task-tray-DIwjAIes.js} +4 -4
- package/dist/_chunks/{tasks-panel-CBGMtQ_f.js → tasks-panel-CpcikOeY.js} +6 -6
- package/dist/_chunks/{theme-toggle-CMz8YfC1.js → theme-toggle-bI0pgDDv.js} +3 -3
- package/dist/_chunks/{toast-8jqtbfAB.js → toast-ZZfhA5u0.js} +2 -2
- package/dist/_chunks/{token-insert-menu-9Um0JinI.js → token-insert-menu-A9B5AJw6.js} +2 -2
- package/dist/_chunks/tool-rail-D89USYE6.js +799 -0
- package/dist/_chunks/{tooth-scheme-BWkYxxjR.js → tooth-scheme-DPAq0vQK.js} +3 -3
- package/dist/_chunks/{transaction-chip-Dth1nThY.js → transaction-chip-CwgcJiqF.js} +47 -46
- package/dist/_chunks/treatment-receipt-dUm99mdn.js +160 -0
- package/dist/_chunks/{unit-converter-BTgU50gk.js → unit-converter-C-LpGzrN.js} +2 -2
- package/dist/_chunks/user-plus-BtcOLgNU.js +17 -0
- package/dist/_chunks/{warning-stack-BW5Dwb3z.js → warning-stack-C0glSB7p.js} +3 -3
- package/dist/_chunks/{workflow-map-CXdsxvUj.js → workflow-map-DhR_h5yw.js} +5 -5
- package/dist/agent-catalog.json +3 -418
- package/dist/agent-i18n/en.json +2 -18
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +24 -0
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +15 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/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-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/editable-description.d.ts +6 -0
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/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/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/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/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/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/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/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 +17 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +5 -4
- package/dist/components/notification-card/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/panel-subview/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/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/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/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/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/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +3 -2
- package/dist/components/skeleton/skeleton.d.ts +12 -0
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/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/theme-toggle/index.js +1 -1
- package/dist/components/toast/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/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +8 -0
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-compat.css +13 -4
- package/dist/i18n/locales/ar.d.ts +235 -183
- package/dist/i18n/locales/ar.js +239 -187
- package/dist/i18n/locales/de.d.ts +219 -167
- package/dist/i18n/locales/de.js +223 -171
- package/dist/i18n/locales/el.d.ts +234 -182
- package/dist/i18n/locales/el.js +238 -186
- package/dist/i18n/locales/en.d.ts +52 -0
- package/dist/i18n/locales/en.js +56 -4
- package/dist/i18n/locales/es.d.ts +227 -175
- package/dist/i18n/locales/es.js +231 -179
- package/dist/i18n/locales/fr.d.ts +221 -169
- package/dist/i18n/locales/fr.js +225 -173
- package/dist/i18n/locales/hi.d.ts +235 -183
- package/dist/i18n/locales/hi.js +243 -187
- package/dist/i18n/locales/it.d.ts +179 -127
- package/dist/i18n/locales/it.js +183 -131
- package/dist/i18n/locales/ja.d.ts +233 -181
- package/dist/i18n/locales/ja.js +237 -185
- package/dist/i18n/locales/nl.d.ts +224 -172
- package/dist/i18n/locales/nl.js +228 -176
- package/dist/i18n/locales/pl.d.ts +229 -177
- package/dist/i18n/locales/pl.js +233 -181
- package/dist/i18n/locales/pt.d.ts +229 -177
- package/dist/i18n/locales/pt.js +233 -181
- package/dist/i18n/locales/ro.d.ts +228 -176
- package/dist/i18n/locales/ro.js +232 -180
- package/dist/i18n/locales/ru.d.ts +234 -182
- package/dist/i18n/locales/ru.js +238 -186
- package/dist/i18n/locales/sq.d.ts +228 -176
- package/dist/i18n/locales/sq.js +232 -180
- package/dist/i18n/locales/sv.d.ts +229 -177
- package/dist/i18n/locales/sv.js +233 -181
- package/dist/i18n/locales/tr.d.ts +235 -183
- package/dist/i18n/locales/tr.js +239 -187
- package/dist/i18n/locales/zh.d.ts +228 -176
- package/dist/i18n/locales/zh.js +232 -180
- package/dist/index.js +785 -784
- package/dist/locales/ar.json +239 -187
- package/dist/locales/de.json +223 -171
- package/dist/locales/el.json +238 -186
- package/dist/locales/en.json +56 -4
- package/dist/locales/es.json +231 -179
- package/dist/locales/fr.json +225 -173
- package/dist/locales/hi.json +239 -187
- package/dist/locales/it.json +183 -131
- package/dist/locales/ja.json +237 -185
- package/dist/locales/nl.json +228 -176
- package/dist/locales/pl.json +233 -181
- package/dist/locales/pt.json +233 -181
- package/dist/locales/ro.json +232 -180
- package/dist/locales/ru.json +238 -186
- package/dist/locales/sq.json +232 -180
- package/dist/locales/sv.json +233 -181
- package/dist/locales/tr.json +239 -187
- package/dist/locales/zh.json +232 -180
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +8 -1
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +10 -5
- package/dist/patterns/calendar/calendar-bookings-panel.d.ts +31 -0
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts +0 -2
- package/dist/patterns/calendar/calendar-info-hover.d.ts +15 -1
- package/dist/patterns/calendar/calendar-privacy.d.ts +23 -0
- package/dist/patterns/calendar/calendar-rail-settle.d.ts +14 -0
- package/dist/patterns/calendar/calendar-upcoming-panel.d.ts +32 -0
- package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +62 -0
- package/dist/patterns/calendar/calendar-workspace.d.ts +14 -1
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +37 -1
- package/dist/patterns/calendar/calendar.model.d.ts +8 -2
- package/dist/patterns/calendar/calendar.sheets.d.ts +43 -27
- package/dist/patterns/calendar/calendar.types.d.ts +6 -0
- package/dist/patterns/calendar/index.d.ts +2 -2
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +3 -1
- package/dist/_chunks/calendar-workspace-BqKBj26r.js +0 -9715
- package/dist/_chunks/editable-description-BOfAeY3T.js +0 -112
- package/dist/_chunks/note-timeline-CXfSV3yX.js +0 -231
- package/dist/_chunks/notes-panel-4y5JioWN.js +0 -556
- package/dist/_chunks/tool-rail-BP8sjxCw.js +0 -667
- package/dist/_chunks/treatment-receipt-D4kOLXOk.js +0 -94
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
2
|
+
import { forwardRef as la } from "react";
|
|
3
|
+
import { c as ca } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as pa } from "react-i18next";
|
|
5
5
|
import { A as K } from "./avatar-CkDeQOSI.js";
|
|
6
|
-
import { B as
|
|
7
|
-
import { T as
|
|
8
|
-
import { T as
|
|
9
|
-
import { T as Y } from "./transaction-chip-
|
|
10
|
-
import { a as
|
|
11
|
-
import { i as
|
|
12
|
-
import { a as
|
|
13
|
-
import { V as
|
|
14
|
-
import { M as
|
|
15
|
-
import { U as
|
|
6
|
+
import { B as t } from "./badge-BudgzTe_.js";
|
|
7
|
+
import { T as ua } from "./tag-Ci3xJPcH.js";
|
|
8
|
+
import { T as ma } from "./timestamp-BV2lC-wV.js";
|
|
9
|
+
import { T as Y } from "./transaction-chip-CwgcJiqF.js";
|
|
10
|
+
import { a as fa } from "./workflow-status-xeaJTzD3.js";
|
|
11
|
+
import { i as ga } from "./is-safe-url-DkETxeHz.js";
|
|
12
|
+
import { a as ha, b as va, c as ba } from "./entity-card-I-Gio5wo.js";
|
|
13
|
+
import { V as xa } from "./video-BheNGvsu.js";
|
|
14
|
+
import { M as ya } from "./map-pin-BaY37-Km.js";
|
|
15
|
+
import { U as Na } from "./user-x-DYszNtIg.js";
|
|
16
16
|
import { S as X } from "./star-Bf9L2Uot.js";
|
|
17
|
-
import { c as
|
|
18
|
-
import { A as
|
|
19
|
-
import { G as
|
|
20
|
-
import { R as
|
|
21
|
-
import { C as
|
|
17
|
+
import { c as N } from "./createLucideIcon-DhHxpK9K.js";
|
|
18
|
+
import { A as ka } from "./armchair-BaLDW6Hz.js";
|
|
19
|
+
import { G as Ca } from "./globe-sHBW1JN5.js";
|
|
20
|
+
import { R as wa } from "./repeat-CvQa5rZt.js";
|
|
21
|
+
import { C as za } from "./chevron-right-I9AeSxH2.js";
|
|
22
22
|
/**
|
|
23
23
|
* @license lucide-react v1.22.0 - ISC
|
|
24
24
|
*
|
|
25
25
|
* This source code is licensed under the ISC license.
|
|
26
26
|
* See the LICENSE file in the root directory of this source tree.
|
|
27
27
|
*/
|
|
28
|
-
const
|
|
28
|
+
const Ta = [
|
|
29
29
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
30
30
|
[
|
|
31
31
|
"path",
|
|
@@ -36,14 +36,14 @@ const wa = [
|
|
|
36
36
|
],
|
|
37
37
|
["path", { d: "M9 14h6", key: "159ibu" }],
|
|
38
38
|
["path", { d: "M12 17v-6", key: "1y8rbf" }]
|
|
39
|
-
],
|
|
39
|
+
], Ma = N("clipboard-plus", Ta);
|
|
40
40
|
/**
|
|
41
41
|
* @license lucide-react v1.22.0 - ISC
|
|
42
42
|
*
|
|
43
43
|
* This source code is licensed under the ISC license.
|
|
44
44
|
* See the LICENSE file in the root directory of this source tree.
|
|
45
45
|
*/
|
|
46
|
-
const
|
|
46
|
+
const Sa = [
|
|
47
47
|
[
|
|
48
48
|
"path",
|
|
49
49
|
{
|
|
@@ -60,14 +60,14 @@ const Ta = [
|
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
["path", { d: "M8 18h1", key: "13wk12" }]
|
|
63
|
-
],
|
|
63
|
+
], Va = N("file-pen-line", Sa);
|
|
64
64
|
/**
|
|
65
65
|
* @license lucide-react v1.22.0 - ISC
|
|
66
66
|
*
|
|
67
67
|
* This source code is licensed under the ISC license.
|
|
68
68
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
69
|
*/
|
|
70
|
-
const
|
|
70
|
+
const Ra = [
|
|
71
71
|
[
|
|
72
72
|
"path",
|
|
73
73
|
{
|
|
@@ -78,7 +78,7 @@ const Va = [
|
|
|
78
78
|
["path", { d: "M7 11h10", key: "1twpyw" }],
|
|
79
79
|
["path", { d: "M7 15h6", key: "d9of3u" }],
|
|
80
80
|
["path", { d: "M7 7h8", key: "af5zfr" }]
|
|
81
|
-
],
|
|
81
|
+
], Da = N("message-square-text", Ra), Ia = {
|
|
82
82
|
"var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
|
|
83
83
|
"var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
|
|
84
84
|
"var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
|
|
@@ -91,19 +91,19 @@ const Va = [
|
|
|
91
91
|
"var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
|
|
92
92
|
"var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
|
|
93
93
|
};
|
|
94
|
-
function
|
|
95
|
-
return
|
|
94
|
+
function Aa(a) {
|
|
95
|
+
return Ia[ba(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function La(a) {
|
|
98
98
|
if (!a) return;
|
|
99
|
-
const
|
|
100
|
-
if (Number.isNaN(
|
|
99
|
+
const d = new Date(a);
|
|
100
|
+
if (Number.isNaN(d.getTime())) return;
|
|
101
101
|
const p = /* @__PURE__ */ new Date();
|
|
102
|
-
let o = p.getFullYear() -
|
|
103
|
-
const u = p.getMonth() -
|
|
104
|
-
return (u < 0 || u === 0 && p.getDate() <
|
|
102
|
+
let o = p.getFullYear() - d.getFullYear();
|
|
103
|
+
const u = p.getMonth() - d.getMonth();
|
|
104
|
+
return (u < 0 || u === 0 && p.getDate() < d.getDate()) && o--, o < 0 || o > 130 ? void 0 : o;
|
|
105
105
|
}
|
|
106
|
-
const
|
|
106
|
+
const _a = ca(
|
|
107
107
|
[
|
|
108
108
|
"ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
109
109
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -140,13 +140,31 @@ const Aa = ia(
|
|
|
140
140
|
// place in the list after a click.
|
|
141
141
|
true: "ds:border-s-2 ds:border-s-[color:var(--info)] ds:bg-[color:var(--info)]/10",
|
|
142
142
|
false: ""
|
|
143
|
+
},
|
|
144
|
+
dimmed: {
|
|
145
|
+
// Settled (concluded / no-show) rows: a muted wash instead of the
|
|
146
|
+
// elevated card surface, shadow dropped. Only the CHROME dims —
|
|
147
|
+
// text stays `--card-foreground` / `--muted-foreground`, so AA
|
|
148
|
+
// contrast is untouched in every theme.
|
|
149
|
+
true: "ds:bg-[color:var(--muted)]/40 ds:shadow-none",
|
|
150
|
+
false: ""
|
|
151
|
+
},
|
|
152
|
+
next: {
|
|
153
|
+
// The next appointment to start: a STEADY accent outline (a state,
|
|
154
|
+
// not a one-off address like the notes/bookings "addressed" ring,
|
|
155
|
+
// so no keyframe replay). `outline` rather than `border` keeps the
|
|
156
|
+
// row's own border/radius untouched.
|
|
157
|
+
true: "ds:outline ds:outline-2 ds:outline-[color:var(--accent)] ds:[outline-offset:-1px] ds:forced-colors:outline-[Highlight]",
|
|
158
|
+
false: ""
|
|
143
159
|
}
|
|
144
160
|
},
|
|
145
161
|
defaultVariants: {
|
|
146
162
|
size: "sm",
|
|
147
163
|
interactive: !1,
|
|
148
164
|
surface: "flat",
|
|
149
|
-
selected: !1
|
|
165
|
+
selected: !1,
|
|
166
|
+
dimmed: !1,
|
|
167
|
+
next: !1
|
|
150
168
|
}
|
|
151
169
|
}
|
|
152
170
|
), J = [
|
|
@@ -160,97 +178,100 @@ const Aa = ia(
|
|
|
160
178
|
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
161
179
|
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
162
180
|
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
163
|
-
].join(" "),
|
|
164
|
-
inPractice:
|
|
165
|
-
telehealth:
|
|
166
|
-
},
|
|
181
|
+
].join(" "), Ua = {
|
|
182
|
+
inPractice: ya,
|
|
183
|
+
telehealth: xa
|
|
184
|
+
}, Pa = la(
|
|
167
185
|
({
|
|
168
186
|
item: a,
|
|
169
|
-
size:
|
|
187
|
+
size: d = "sm",
|
|
170
188
|
surface: p = "flat",
|
|
171
189
|
locale: o,
|
|
172
190
|
currency: u = "EUR",
|
|
173
|
-
showPatient:
|
|
174
|
-
onActivate:
|
|
175
|
-
selected:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
191
|
+
showPatient: i = !0,
|
|
192
|
+
onActivate: l,
|
|
193
|
+
selected: k = !1,
|
|
194
|
+
hideDefaultStatus: Q = !1,
|
|
195
|
+
className: Z,
|
|
196
|
+
...aa
|
|
197
|
+
}, ea) => {
|
|
198
|
+
var R, D, I, A, L, _, U, P, O, $, j, q, E, F, B, H, W, G;
|
|
199
|
+
const { t: s } = pa(), m = !!l, sa = !!a.url && ga(a.url), ra = !(Q && a.state === "confirmed"), g = ((R = a.patient) == null ? void 0 : R.name) ?? s("appointmentCard.noPatient"), c = (D = a.operator) == null ? void 0 : D.name, h = s(`appointmentCard.state.${a.state}`), C = ha(a.state), na = C.Icon, w = La((I = a.patient) == null ? void 0 : I.dobIso), oa = ((A = a.flags) == null ? void 0 : A.noPatientAssigned) || !a.patient, v = d === "md" ? "md" : "sm", ta = Ua[a.type], z = i ? g : c ?? s("appointmentCard.appointment"), T = i ? s("appointmentCard.itemLabel", {
|
|
200
|
+
patient: g,
|
|
182
201
|
state: h
|
|
183
202
|
}) : s("appointmentCard.itemLabelGeneric", { title: z, state: h }), b = /* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate type-title-item ds:text-[color:var(--foreground)]", children: [
|
|
184
203
|
z,
|
|
185
|
-
|
|
204
|
+
i && w !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
|
|
186
205
|
"· ",
|
|
187
206
|
w
|
|
188
207
|
] }) : null
|
|
189
208
|
] });
|
|
190
|
-
let
|
|
191
|
-
m &&
|
|
209
|
+
let f;
|
|
210
|
+
m && sa ? f = /* @__PURE__ */ e(
|
|
192
211
|
"a",
|
|
193
212
|
{
|
|
194
213
|
href: a.url,
|
|
195
214
|
"aria-label": T,
|
|
196
215
|
className: J,
|
|
197
216
|
onClick: (n) => {
|
|
198
|
-
n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey ||
|
|
217
|
+
n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || l == null || l(a);
|
|
199
218
|
},
|
|
200
219
|
children: b
|
|
201
220
|
}
|
|
202
|
-
) : m ?
|
|
221
|
+
) : m ? f = /* @__PURE__ */ e(
|
|
203
222
|
"button",
|
|
204
223
|
{
|
|
205
224
|
type: "button",
|
|
206
225
|
"aria-label": T,
|
|
207
226
|
className: J + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
208
|
-
onClick: () =>
|
|
227
|
+
onClick: () => l == null ? void 0 : l(a),
|
|
209
228
|
children: b
|
|
210
229
|
}
|
|
211
|
-
) :
|
|
212
|
-
const M = (a.treatments ?? []).map((n,
|
|
213
|
-
const
|
|
230
|
+
) : f = b;
|
|
231
|
+
const M = (a.treatments ?? []).map((n, da) => {
|
|
232
|
+
const ia = n.elements && n.elements.length > 0 ? s("appointmentCard.treatmentWithElements", {
|
|
214
233
|
care: n.careName,
|
|
215
234
|
elements: n.elements.join(", ")
|
|
216
235
|
}) : n.careName;
|
|
217
236
|
return /* @__PURE__ */ e(
|
|
218
|
-
|
|
237
|
+
ua,
|
|
219
238
|
{
|
|
220
|
-
label:
|
|
239
|
+
label: ia,
|
|
221
240
|
variant: "neutral",
|
|
222
241
|
fill: "outline",
|
|
223
242
|
size: "sm",
|
|
224
243
|
maxInlineSize: "12rem"
|
|
225
244
|
},
|
|
226
|
-
`${n.careName}-${
|
|
245
|
+
`${n.careName}-${da}`
|
|
227
246
|
);
|
|
228
|
-
}),
|
|
247
|
+
}), x = (L = a.bookingReason) == null ? void 0 : L.advanceAmountCents, S = typeof x == "number" && x > 0, y = (_ = a.money) == null ? void 0 : _.unpaidAmountCents, V = typeof y == "number" && y > 0;
|
|
229
248
|
return /* @__PURE__ */ r(
|
|
230
249
|
"div",
|
|
231
250
|
{
|
|
232
|
-
ref:
|
|
251
|
+
ref: ea,
|
|
233
252
|
role: "listitem",
|
|
234
253
|
"data-component": "appointment-card",
|
|
235
254
|
"data-component-id": a.id,
|
|
236
255
|
"data-state": a.state,
|
|
237
256
|
"data-type": a.type,
|
|
238
|
-
"aria-current":
|
|
239
|
-
className:
|
|
240
|
-
size:
|
|
257
|
+
"aria-current": k ? "true" : void 0,
|
|
258
|
+
className: _a({
|
|
259
|
+
size: d,
|
|
241
260
|
interactive: m,
|
|
242
261
|
surface: p,
|
|
243
|
-
selected:
|
|
244
|
-
|
|
262
|
+
selected: k,
|
|
263
|
+
dimmed: a.dimmed,
|
|
264
|
+
next: a.next,
|
|
265
|
+
className: Z
|
|
245
266
|
}),
|
|
246
|
-
...
|
|
267
|
+
...aa,
|
|
247
268
|
children: [
|
|
248
269
|
/* @__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: [
|
|
249
270
|
/* @__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: [
|
|
250
|
-
/* @__PURE__ */ e(
|
|
271
|
+
/* @__PURE__ */ e(ta, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
251
272
|
/* @__PURE__ */ e("span", { className: "ds:sr-only", children: s(`appointmentCard.type.${a.type}`) }),
|
|
252
273
|
/* @__PURE__ */ e(
|
|
253
|
-
|
|
274
|
+
ma,
|
|
254
275
|
{
|
|
255
276
|
value: a.startIso,
|
|
256
277
|
format: "absolute",
|
|
@@ -268,7 +289,7 @@ const Aa = ia(
|
|
|
268
289
|
K,
|
|
269
290
|
{
|
|
270
291
|
name: c,
|
|
271
|
-
color:
|
|
292
|
+
color: va((U = a.operator) == null ? void 0 : U.colorId),
|
|
272
293
|
size: v,
|
|
273
294
|
"aria-hidden": "true",
|
|
274
295
|
role: "presentation",
|
|
@@ -279,17 +300,17 @@ const Aa = ia(
|
|
|
279
300
|
"span",
|
|
280
301
|
{
|
|
281
302
|
"aria-hidden": "true",
|
|
282
|
-
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)] " +
|
|
303
|
+
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)] " + Aa((P = a.operator) == null ? void 0 : P.colorId)
|
|
283
304
|
}
|
|
284
305
|
)
|
|
285
306
|
] }) : null,
|
|
286
307
|
/* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
287
308
|
/* @__PURE__ */ r("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]", children: [
|
|
288
309
|
/* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
289
|
-
|
|
310
|
+
i && ((O = a.patient) != null && O.avatarUrl) ? /* @__PURE__ */ e(
|
|
290
311
|
K,
|
|
291
312
|
{
|
|
292
|
-
name:
|
|
313
|
+
name: g,
|
|
293
314
|
src: a.patient.avatarUrl,
|
|
294
315
|
size: v,
|
|
295
316
|
className: "ds:shrink-0",
|
|
@@ -298,32 +319,43 @@ const Aa = ia(
|
|
|
298
319
|
"aria-label": void 0
|
|
299
320
|
}
|
|
300
321
|
) : null,
|
|
301
|
-
|
|
322
|
+
i && oa ? /* @__PURE__ */ e(
|
|
302
323
|
"span",
|
|
303
324
|
{
|
|
304
325
|
className: `ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--muted)] ds:text-[color:var(--muted-foreground)] ${v === "md" ? "ds:size-10" : "ds:size-8"}`,
|
|
305
|
-
children: /* @__PURE__ */ e(
|
|
326
|
+
children: /* @__PURE__ */ e(Na, { "aria-hidden": "true", className: "ds:size-4" })
|
|
306
327
|
}
|
|
307
328
|
) : null,
|
|
308
|
-
|
|
329
|
+
f
|
|
309
330
|
] }),
|
|
310
|
-
/* @__PURE__ */ e(
|
|
311
|
-
|
|
331
|
+
a.next ? /* @__PURE__ */ e(
|
|
332
|
+
t,
|
|
333
|
+
{
|
|
334
|
+
variant: "accentSoft",
|
|
335
|
+
size: "sm",
|
|
336
|
+
className: "ds:shrink-0",
|
|
337
|
+
"aria-hidden": "true",
|
|
338
|
+
children: s("appointmentCard.next")
|
|
339
|
+
}
|
|
340
|
+
) : null,
|
|
341
|
+
ra ? /* @__PURE__ */ e(
|
|
342
|
+
fa,
|
|
312
343
|
{
|
|
313
344
|
size: "sm",
|
|
314
345
|
value: a.state,
|
|
315
346
|
option: {
|
|
316
347
|
value: a.state,
|
|
317
348
|
label: h,
|
|
318
|
-
icon: /* @__PURE__ */ e(
|
|
349
|
+
icon: /* @__PURE__ */ e(na, { "aria-hidden": "true" }),
|
|
319
350
|
tone: C.tone
|
|
320
351
|
},
|
|
321
352
|
className: "ds:shrink-0"
|
|
322
353
|
}
|
|
323
|
-
)
|
|
354
|
+
) : null
|
|
324
355
|
] }),
|
|
325
|
-
|
|
326
|
-
|
|
356
|
+
a.next ? /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s("appointmentCard.nextSr") }) : null,
|
|
357
|
+
i && c || ($ = a.bookingReason) != null && $.specialty || a.firstVisit === "yes" || a.firstVisit === "unknown" || a.bookingNote ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
|
|
358
|
+
i && c ? /* @__PURE__ */ e("span", { children: c }) : null,
|
|
327
359
|
(j = a.bookingReason) != null && j.specialty ? /* @__PURE__ */ e("span", { children: a.bookingReason.specialty }) : null,
|
|
328
360
|
a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
329
361
|
/* @__PURE__ */ e(X, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
@@ -340,7 +372,7 @@ const Aa = ia(
|
|
|
340
372
|
title: s("appointmentCard.hasBookingNote"),
|
|
341
373
|
children: [
|
|
342
374
|
/* @__PURE__ */ e(
|
|
343
|
-
|
|
375
|
+
Da,
|
|
344
376
|
{
|
|
345
377
|
"aria-hidden": "true",
|
|
346
378
|
className: "ds:size-3 ds:shrink-0"
|
|
@@ -353,51 +385,51 @@ const Aa = ia(
|
|
|
353
385
|
] }) : null,
|
|
354
386
|
(q = a.bookingReason) != null && q.description ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
|
|
355
387
|
M.length > 0 ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: M }) : null,
|
|
356
|
-
a.carePlan || a.chair || (E = a.flags) != null && E.bookedOnline || (F = a.flags) != null && F.highlightedAnamnesis || (B = a.flags) != null && B.billable || a.recurring || a.signing ||
|
|
388
|
+
a.carePlan || a.chair || (E = a.flags) != null && E.bookedOnline || (F = a.flags) != null && F.highlightedAnamnesis || (B = a.flags) != null && B.billable || a.recurring || a.signing || S || V ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
357
389
|
a.carePlan ? /* @__PURE__ */ e(
|
|
358
|
-
|
|
390
|
+
t,
|
|
359
391
|
{
|
|
360
392
|
variant: "accentSoft",
|
|
361
393
|
size: "sm",
|
|
362
|
-
leading: /* @__PURE__ */ e(
|
|
394
|
+
leading: /* @__PURE__ */ e(Ma, {}),
|
|
363
395
|
children: s("appointmentCard.carePlan", {
|
|
364
396
|
number: a.carePlan.number
|
|
365
397
|
})
|
|
366
398
|
}
|
|
367
399
|
) : null,
|
|
368
|
-
a.chair ? /* @__PURE__ */ e(
|
|
369
|
-
(
|
|
370
|
-
(
|
|
371
|
-
a.recurring ? /* @__PURE__ */ e(
|
|
400
|
+
a.chair ? /* @__PURE__ */ e(t, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(ka, {}), children: s("appointmentCard.chair", { chair: a.chair }) }) : null,
|
|
401
|
+
(H = a.flags) != null && H.bookedOnline ? /* @__PURE__ */ e(t, { variant: "info", size: "sm", leading: /* @__PURE__ */ e(Ca, {}), children: s("appointmentCard.flag.bookedOnline") }) : null,
|
|
402
|
+
(W = a.flags) != null && W.highlightedAnamnesis ? /* @__PURE__ */ e(t, { variant: "warning", size: "sm", withDot: !0, children: s("appointmentCard.flag.highlightedAnamnesis") }) : null,
|
|
403
|
+
a.recurring ? /* @__PURE__ */ e(t, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(wa, {}), children: s("appointmentCard.recurring") }) : null,
|
|
372
404
|
a.signing ? /* @__PURE__ */ e(
|
|
373
|
-
|
|
405
|
+
t,
|
|
374
406
|
{
|
|
375
407
|
variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
|
|
376
408
|
size: "sm",
|
|
377
|
-
leading: /* @__PURE__ */ e(
|
|
409
|
+
leading: /* @__PURE__ */ e(Va, {}),
|
|
378
410
|
children: s("appointmentCard.signing", {
|
|
379
411
|
complete: a.signing.toComplete,
|
|
380
412
|
required: a.signing.required
|
|
381
413
|
})
|
|
382
414
|
}
|
|
383
415
|
) : null,
|
|
384
|
-
(
|
|
385
|
-
|
|
416
|
+
(G = a.flags) != null && G.billable ? /* @__PURE__ */ e(t, { variant: "success", size: "sm", withDot: !0, children: s("appointmentCard.flag.billable") }) : null,
|
|
417
|
+
S ? /* @__PURE__ */ e(
|
|
386
418
|
Y,
|
|
387
419
|
{
|
|
388
420
|
state: "to-invoice",
|
|
389
|
-
amount:
|
|
421
|
+
amount: x / 100,
|
|
390
422
|
currency: u,
|
|
391
423
|
locale: o,
|
|
392
424
|
size: "sm",
|
|
393
425
|
showLabel: !0
|
|
394
426
|
}
|
|
395
427
|
) : null,
|
|
396
|
-
|
|
428
|
+
V ? /* @__PURE__ */ e(
|
|
397
429
|
Y,
|
|
398
430
|
{
|
|
399
431
|
state: "debt",
|
|
400
|
-
amount:
|
|
432
|
+
amount: y / 100,
|
|
401
433
|
currency: u,
|
|
402
434
|
locale: o,
|
|
403
435
|
size: "sm",
|
|
@@ -407,7 +439,7 @@ const Aa = ia(
|
|
|
407
439
|
] }) : null
|
|
408
440
|
] }),
|
|
409
441
|
m ? /* @__PURE__ */ e(
|
|
410
|
-
|
|
442
|
+
za,
|
|
411
443
|
{
|
|
412
444
|
"aria-hidden": "true",
|
|
413
445
|
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"
|
|
@@ -418,8 +450,8 @@ const Aa = ia(
|
|
|
418
450
|
);
|
|
419
451
|
}
|
|
420
452
|
);
|
|
421
|
-
|
|
453
|
+
Pa.displayName = "AppointmentCard";
|
|
422
454
|
export {
|
|
423
|
-
|
|
455
|
+
Pa as A
|
|
424
456
|
};
|
|
425
|
-
//# sourceMappingURL=appointment-card-
|
|
457
|
+
//# sourceMappingURL=appointment-card-TgR_2GKS.js.map
|
|
@@ -3,8 +3,8 @@ import { forwardRef as C, isValidElement as P } from "react";
|
|
|
3
3
|
import { c as D } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as V } from "react-i18next";
|
|
5
5
|
import { A as y } from "./avatar-CkDeQOSI.js";
|
|
6
|
-
import { D as l } from "./description-list-
|
|
7
|
-
import { H as z } from "./hover-card-
|
|
6
|
+
import { D as l } from "./description-list-BsJ_6CQE.js";
|
|
7
|
+
import { H as z } from "./hover-card-BMJBVqIf.js";
|
|
8
8
|
import { a as E } from "./workflow-status-xeaJTzD3.js";
|
|
9
9
|
import { C as H } from "./clock-Drd4Wtis.js";
|
|
10
10
|
import { V as I } from "./video-BheNGvsu.js";
|
|
@@ -112,4 +112,4 @@ T.displayName = "AppointmentPeek";
|
|
|
112
112
|
export {
|
|
113
113
|
T as A
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=appointment-peek-
|
|
115
|
+
//# sourceMappingURL=appointment-peek-abiR0T9e.js.map
|