@alfadocs/ui-kit 1.34.0 → 1.36.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-yy03OgRL.js → actions-cell-renderer-CUn1pqEq.js} +3 -3
- package/dist/_chunks/{agenda-card-DVz3jwTf.js → agenda-card-DyQtHb9z.js} +2 -2
- package/dist/_chunks/{agenda-tray-1oDWCJdB.js → agenda-tray-DYGCTIWB.js} +3 -3
- package/dist/_chunks/{ai-consent-banner-OggpS5hW.js → ai-consent-banner-De4gzSBZ.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-Dt7tpCBh.js → ai-prompt-input-DdxlaI7q.js} +2 -2
- package/dist/_chunks/{alert-CiJT540z.js → alert-CiQ5Pa3Q.js} +2 -2
- package/dist/_chunks/{alia-sidebar-D18kp3p9.js → alia-sidebar-B6bXlZZk.js} +6 -6
- package/dist/_chunks/{anamnesis-card-NTi4LLzI.js → anamnesis-card-DGwINeNn.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-DGVKBQoq.js → anamnesis-summary-card-GYHa7VGp.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-rows-BYgyp_i2.js → anamnesis-summary-rows-Cxtgo2ok.js} +12 -12
- package/dist/_chunks/{antenatal-schedule-timeline-sXfIp5lp.js → antenatal-schedule-timeline-CXk_tzWG.js} +2 -2
- package/dist/_chunks/appointment-card-WsDGBBut.js +425 -0
- package/dist/_chunks/appointment-timeline-ByfovxqR.js +449 -0
- package/dist/_chunks/{appointment-tray-6rg071CL.js → appointment-tray-D6UyJHej.js} +3 -3
- package/dist/_chunks/arrow-right-KsIrLdt0.js +15 -0
- package/dist/_chunks/{audio-recorder-11wClczr.js → audio-recorder-BlQBC7N_.js} +3 -3
- package/dist/_chunks/{badge-sTusUqZD.js → badge-BudgzTe_.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DhBtFRoW.js → balance-badge-cell-B0Z8Dwn8.js} +6 -6
- package/dist/_chunks/{bishop-score-CAl7C5hm.js → bishop-score-D5b8tktp.js} +2 -2
- package/dist/_chunks/{bmi-calculator-Dwkih9a4.js → bmi-calculator-dOKP-vW4.js} +4 -4
- package/dist/_chunks/{booking-BqkEtsKx.js → booking-Dp-9qR6F.js} +9 -9
- package/dist/_chunks/button-group-QmN1VdUW.js +307 -0
- package/dist/_chunks/{calendar-Dgvl5L4T.js → calendar-7GAUlsNO.js} +3 -3
- package/dist/_chunks/{calendar-event-card-DSh-69HT.js → calendar-event-card-DKUnT9Be.js} +91 -134
- package/dist/_chunks/{calendar-workspace-4NH1Z47_.js → calendar-workspace-Duv_5B4j.js} +2494 -2415
- package/dist/_chunks/{care-plan-card-CZW476Kg.js → care-plan-card-COFOI-fI.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-BMUYagEw.js → care-plan-entry-card-BOKn0KW-.js} +6 -6
- package/dist/_chunks/{care-plan-header-B5CBE0zu.js → care-plan-header-CbuOuVBw.js} +4 -4
- package/dist/_chunks/{carousel.agent-CLxdHEBP.js → carousel.agent-Dv4a4M8L.js} +2 -2
- package/dist/_chunks/{chart-C6eHTxkO.js → chart-iWl76PXv.js} +3 -3
- package/dist/_chunks/{chat-input-BsB5Umpj.js → chat-input-qM5QpUSq.js} +2 -2
- package/dist/_chunks/{chat-message-C-8UU2av.js → chat-message-RniXtrCH.js} +2 -2
- package/dist/_chunks/{checkbox-BuZ1u__2.js → checkbox-CZkipDn7.js} +2 -2
- package/dist/_chunks/{checkbox-group-CfqMv57d.js → checkbox-group-DomUzpkF.js} +2 -2
- package/dist/_chunks/clinical-note-card-DdsGYMmI.js +325 -0
- package/dist/_chunks/{code-block-BIkpRLkl.js → code-block-uVjNSI9g.js} +2 -2
- package/dist/_chunks/{connection-status-DRZIcMqM.js → connection-status-OEsWjmRk.js} +3 -3
- package/dist/_chunks/{contact-profile-card-DSI9uumA.js → contact-profile-card--My1H2UD.js} +3 -3
- package/dist/_chunks/{control-room-rail-5MbhjsxN.js → control-room-rail-Ds45_g4f.js} +4 -4
- package/dist/_chunks/{counter-dRlTNC_y.js → counter-WsvRuum1.js} +50 -15
- package/dist/_chunks/{cycle-calculator-DVgxBfP0.js → cycle-calculator-BJeaXiZv.js} +3 -3
- package/dist/_chunks/{dashboard-grid-BFtdHqfn.js → dashboard-grid-B23BFzRl.js} +2 -2
- package/dist/_chunks/{data-table-DC96JJIq.js → data-table-BYGK-gUJ.js} +6 -6
- package/dist/_chunks/{data-table-tabs-DVIFkqx_.js → data-table-tabs-BMR0zsVQ.js} +3 -3
- package/dist/_chunks/{date-picker-B6NW_PS5.js → date-picker-6tFnKFty.js} +14 -14
- package/dist/_chunks/{dependent-selector-yTKKsuc9.js → dependent-selector-BHDP0nBB.js} +3 -3
- package/dist/_chunks/{description-list-CjJqR8WK.js → description-list-C1RXMDZ_.js} +2 -2
- package/dist/_chunks/{document-preview-BrhMHNh8.js → document-preview-DsEyRcNd.js} +4 -4
- package/dist/_chunks/{document-scanner-C5Vrbu21.js → document-scanner-CbWVtm7u.js} +53 -52
- package/dist/_chunks/{due-date-calculator-CxgK8vzt.js → due-date-calculator-Dhc9Ljkb.js} +6 -6
- package/dist/_chunks/{editable-currency-cell-renderer-B7TVZ5ZJ.js → editable-currency-cell-renderer-D7blbDFY.js} +4 -4
- package/dist/_chunks/{editor-overlay-DEc5yYwo.js → editor-overlay-8fKAcRsm.js} +2 -2
- package/dist/_chunks/{entity-card-DmrgYSEX.js → entity-card-I-Gio5wo.js} +36 -32
- package/dist/_chunks/{entity-summary-5o768XLU.js → entity-summary-BbW0mIzU.js} +4 -4
- package/dist/_chunks/{face-scheme-l-CQyLs-.js → face-scheme-uFvhqz6h.js} +4 -4
- package/dist/_chunks/{fetal-weight-Dqy0T1fP.js → fetal-weight-C6SxchOv.js} +2 -2
- package/dist/_chunks/{field-array-BjkXZzSr.js → field-array-C9dmRaIM.js} +2 -2
- package/dist/_chunks/{file-manager-CI2Qn8qW.js → file-manager-DvkFgj7d.js} +7 -7
- package/dist/_chunks/{file-upload-CwxdqkMK.js → file-upload-BDpb08GM.js} +71 -78
- package/dist/_chunks/{fiscal-code-input-B_nYMSEM.js → fiscal-code-input-CkwIdB1y.js} +2 -2
- package/dist/_chunks/{freemium-paywall-DrXzYfv-.js → freemium-paywall-BqGk_SBU.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZHVrERT.js → gestational-age-calculator-DDOGaPvg.js} +6 -6
- package/dist/_chunks/{hcg-doubling-C2fQxfXd.js → hcg-doubling-Bb_n6tEa.js} +2 -2
- package/dist/_chunks/{header-DUXRIPyM.js → header-BZ4pZlJV.js} +2 -2
- package/dist/_chunks/{header-settings-DvjZNMhD.js → header-settings-B8mLc03Q.js} +4 -4
- package/dist/_chunks/hover-card-Bcku1GQu.js +511 -0
- package/dist/_chunks/{icon-button-DA2CAGHZ.js → icon-button-8xqRnkdG.js} +2 -2
- package/dist/_chunks/{icon-button-group-VCCod3Hz.js → icon-button-group-Dj6CRoYR.js} +2 -2
- package/dist/_chunks/{icon-picker-DOa89vn3.js → icon-picker-CTWzlHJr.js} +2 -2
- package/dist/_chunks/{info-tip-CADik6WN.js → info-tip-ey_Pon2y.js} +2 -2
- package/dist/_chunks/{key-value-pair-BIBdZBLg.js → key-value-pair-DczGb4yz.js} +42 -41
- package/dist/_chunks/{link-cell-renderer-BEpMNtAa.js → link-cell-renderer-BNa8x6oJ.js} +6 -6
- package/dist/_chunks/loader-circle-BECIU_8N.js +12 -0
- package/dist/_chunks/{locale-picker-CwFtqSkt.js → locale-picker-BLeHbFSc.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-CK_ND8Tr.js → marketplace-app-shell-BwH6Aruw.js} +6 -6
- package/dist/_chunks/{message-card-BUMv16un.js → message-card-Dm5Xshup.js} +2 -2
- package/dist/_chunks/{message-tray-0zsv27xX.js → message-tray-BcLyaO-G.js} +3 -3
- package/dist/_chunks/{multi-select-DYOvx2SJ.js → multi-select-CtPd7g4x.js} +15 -15
- package/dist/_chunks/note-attachment-CwDir3kK.js +124 -0
- package/dist/_chunks/note-timeline-CXfSV3yX.js +231 -0
- package/dist/_chunks/{notes-panel-BjLt-kiP.js → notes-panel-Co8D3uDd.js} +7 -7
- package/dist/_chunks/{notification-card-CtrzoTUO.js → notification-card-ChcK9Wat.js} +2 -2
- package/dist/_chunks/{notification-tray-BiRzXHDf.js → notification-tray-CJ8jOe-U.js} +4 -4
- package/dist/_chunks/{operator-hero-D7-iiFQ9.js → operator-hero-XIdwDmN2.js} +3 -3
- package/dist/_chunks/{optical-prescription-DUJOhKz_.js → optical-prescription-cphK41eP.js} +2 -2
- package/dist/_chunks/panel-header-D_mTdhUp.js +128 -0
- package/dist/_chunks/patient-details-f7SSXkTJ.js +371 -0
- package/dist/_chunks/patient-field-row-BQZoP4m2.js +787 -0
- package/dist/_chunks/{patient-search-HeEUB-_X.js → patient-search-D08b6jgj.js} +2 -2
- package/dist/_chunks/patient-summary-card-Bz7KdUin.js +533 -0
- package/dist/_chunks/{payment-automation-upsell-DwQW2fRp.js → payment-automation-upsell-BLTdE2em.js} +50 -59
- package/dist/_chunks/{payment-form-Ds1I9KqB.js → payment-form-BHMDqW9C.js} +2 -2
- package/dist/_chunks/{payment-request-card-lmKLwsDs.js → payment-request-card-BxcdvxKR.js} +6 -6
- package/dist/_chunks/{pdf-viewer-DUIsV9s5.js → pdf-viewer-DUKdn5iq.js} +2 -2
- package/dist/_chunks/{periodontal-chart-B9fphroR.js → periodontal-chart-BF_e3wZp.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-qEZPXj83.js → periodontal-chart-card-BJEuJuzh.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-lEwA8wqX.js → periodontal-diagnosis-C7pfPOct.js} +5 -5
- package/dist/_chunks/{periodontal-risk-chart-0x7KVZjL.js → periodontal-risk-chart-B2tNFa15.js} +2 -2
- package/dist/_chunks/{permission-matrix-BIJrGEmz.js → permission-matrix-VdAXjjHU.js} +3 -3
- package/dist/_chunks/{popover-DP6WCVwm.js → popover-DzR5QYxp.js} +24 -24
- package/dist/_chunks/{practice-profile-hero-DQyDvpJL.js → practice-profile-hero-DxoLlQr5.js} +2 -2
- package/dist/_chunks/{practice-results-kayDEorM.js → practice-results-DOcORTkP.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-n5j5dAKy.js → pregnancy-dating-nV1_S6w0.js} +6 -6
- package/dist/_chunks/{pregnancy-weight-gain-D5A8vPjj.js → pregnancy-weight-gain-tRecShAD.js} +4 -4
- package/dist/_chunks/{privacy-lock-CkAUo6Dz.js → privacy-lock-Be39vQUN.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BScCotGD.js → product-hub-panel-C0TO69P7.js} +2 -2
- package/dist/_chunks/{public-header.agent-kth2SdXn.js → public-header.agent-Bl1KFwSE.js} +3 -3
- package/dist/_chunks/{radio-DNRe6H_8.js → radio-6fml-pWk.js} +2 -2
- package/dist/_chunks/{radio-group-DyVBgnA3.js → radio-group-CIjmyioi.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-o4jwEJPC.js → radiograph-panel.agent-k0G7JuoM.js} +6 -6
- package/dist/_chunks/{reviews-panel-BKHEfqVQ.js → reviews-panel-BaHZb_ai.js} +3 -3
- package/dist/_chunks/{rich-text-editor-CCI-Y3DN.js → rich-text-editor-BTXlorm5.js} +7 -7
- package/dist/_chunks/{search-bar-CJj6sI9m.js → search-bar-CCmViqaa.js} +46 -46
- package/dist/_chunks/section-card.agent-W18CHEgX.js +74 -0
- package/dist/_chunks/{sheet-BSznOyJs.js → sheet-hm04DGFd.js} +2 -2
- package/dist/_chunks/{sign-document-jF4fZDJ5.js → sign-document-CRQuAn4W.js} +2 -2
- package/dist/_chunks/{signature-request-vihDT8On.js → signature-request-Dej2g86d.js} +5 -5
- package/dist/_chunks/{signature-status-chip-T5fyS-k9.js → signature-status-chip-D4NsrdeI.js} +3 -3
- package/dist/_chunks/{slot-grid-BuZOKfcd.js → slot-grid-8Ko6thzz.js} +2 -2
- package/dist/_chunks/{streaming-text-CvsjIQ7S.js → streaming-text-DjFqLSt_.js} +2 -2
- package/dist/_chunks/{tab-bar-DvFJIQfL.js → tab-bar-rDkLiaA6.js} +2 -2
- package/dist/_chunks/{tag-3wgkwwDB.js → tag-Ci3xJPcH.js} +2 -2
- package/dist/_chunks/{task-tray-COo-RlDv.js → task-tray-wl9eti6J.js} +2 -2
- package/dist/_chunks/{tasks-panel-DLKpSNoE.js → tasks-panel-BDNB7hsZ.js} +5 -5
- package/dist/_chunks/{theme-toggle-uEwoKjl3.js → theme-toggle-CMz8YfC1.js} +3 -3
- package/dist/_chunks/{timeline-Bs9Erxlo.js → timeline-61AihzYz.js} +47 -47
- package/dist/_chunks/{toast-YZz2sBzB.js → toast-8jqtbfAB.js} +2 -2
- package/dist/_chunks/{tool-rail-ONaV-Nzz.js → tool-rail-Bq5eiFMG.js} +3 -3
- package/dist/_chunks/{tooltip-DvmfrNvB.js → tooltip-Cp-PLePW.js} +41 -41
- package/dist/_chunks/{tooth-scheme-Qe7LO5Di.js → tooth-scheme-BWkYxxjR.js} +3 -3
- package/dist/_chunks/{transaction-chip-DJCstquX.js → transaction-chip-Dth1nThY.js} +49 -48
- package/dist/_chunks/{transcript-panel-BGkEhvHO.js → transcript-panel-u2HHxZB6.js} +2 -2
- package/dist/_chunks/user-x-DYszNtIg.js +45 -0
- package/dist/_chunks/{warning-stack-DQz0Jyir.js → warning-stack-BW5Dwb3z.js} +3 -3
- package/dist/_chunks/{widget-picker-DvUkBemi.js → widget-picker-B1sj6uyf.js} +2 -2
- package/dist/_chunks/{workflow-map-dNzJjBWG.js → workflow-map-D-LEni11.js} +5 -5
- package/dist/_chunks/workflow-status-xeaJTzD3.js +476 -0
- package/dist/agent-catalog.json +185 -1
- package/dist/agent-i18n/en.json +27 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts +44 -0
- package/dist/components/_shared/entity-card/index.d.ts +1 -1
- package/dist/components/_shared/note-attachment.d.ts +41 -0
- package/dist/components/_shared/note-markdown.d.ts +3 -0
- package/dist/components/_shared/patient-field-row.d.ts +40 -0
- package/dist/components/agenda-card/index.js +1 -1
- 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/alert/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 +36 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +6 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/badge/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/index.js +1 -1
- package/dist/components/button-group/button-group.d.ts +20 -0
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/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/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +2 -34
- package/dist/components/clinical-note-card/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/counter/counter.d.ts +6 -0
- package/dist/components/counter/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/date-picker/index.js +1 -1
- package/dist/components/dependent-selector/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 +2 -2
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/entity-summary/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/file-upload/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/hover-card.agent.d.ts +4 -0
- package/dist/components/hover-card/hover-card.d.ts +80 -0
- package/dist/components/hover-card/index.d.ts +4 -0
- package/dist/components/hover-card/index.js +6 -0
- 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/index.d.ts +4 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/key-value-pair/key-value-pair.d.ts +8 -1
- package/dist/components/locale-picker/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/multi-select/index.js +1 -1
- package/dist/components/note-timeline/index.d.ts +4 -0
- package/dist/components/note-timeline/index.js +6 -0
- package/dist/components/note-timeline/note-timeline.agent.d.ts +4 -0
- package/dist/components/note-timeline/note-timeline.d.ts +77 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/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 +7 -0
- 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-summary-card/patient-summary-card.d.ts +54 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/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/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-profile-hero/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/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- 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/search-bar/index.js +1 -1
- package/dist/components/section-card/index.d.ts +4 -0
- package/dist/components/section-card/index.js +6 -0
- package/dist/components/section-card/section-card.agent.d.ts +3 -0
- package/dist/components/section-card/section-card.d.ts +30 -0
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tag/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/timeline/index.js +1 -1
- package/dist/components/timeline/timeline.d.ts +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooltip/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 +11 -0
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.d.ts +4 -0
- package/dist/components/workflow-status/index.js +7 -0
- package/dist/components/workflow-status/workflow-status.agent.d.ts +4 -0
- package/dist/components/workflow-status/workflow-status.d.ts +52 -0
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +17 -0
- package/dist/i18n/locales/ar.js +18 -1
- package/dist/i18n/locales/de.d.ts +17 -0
- package/dist/i18n/locales/de.js +18 -1
- package/dist/i18n/locales/el.d.ts +17 -0
- package/dist/i18n/locales/el.js +18 -1
- package/dist/i18n/locales/en.d.ts +17 -0
- package/dist/i18n/locales/en.js +18 -1
- package/dist/i18n/locales/es.d.ts +17 -0
- package/dist/i18n/locales/es.js +18 -1
- package/dist/i18n/locales/fr.d.ts +17 -0
- package/dist/i18n/locales/fr.js +18 -1
- package/dist/i18n/locales/hi.d.ts +17 -0
- package/dist/i18n/locales/hi.js +18 -1
- package/dist/i18n/locales/it.d.ts +20 -3
- package/dist/i18n/locales/it.js +20 -3
- package/dist/i18n/locales/ja.d.ts +17 -0
- package/dist/i18n/locales/ja.js +18 -1
- package/dist/i18n/locales/nl.d.ts +17 -0
- package/dist/i18n/locales/nl.js +18 -1
- package/dist/i18n/locales/pl.d.ts +17 -0
- package/dist/i18n/locales/pl.js +18 -1
- package/dist/i18n/locales/pt.d.ts +17 -0
- package/dist/i18n/locales/pt.js +18 -1
- package/dist/i18n/locales/ro.d.ts +17 -0
- package/dist/i18n/locales/ro.js +18 -1
- package/dist/i18n/locales/ru.d.ts +17 -0
- package/dist/i18n/locales/ru.js +18 -1
- package/dist/i18n/locales/sq.d.ts +17 -0
- package/dist/i18n/locales/sq.js +18 -1
- package/dist/i18n/locales/sv.d.ts +17 -0
- package/dist/i18n/locales/sv.js +18 -1
- package/dist/i18n/locales/tr.d.ts +17 -0
- package/dist/i18n/locales/tr.js +18 -1
- package/dist/i18n/locales/zh.d.ts +17 -0
- package/dist/i18n/locales/zh.js +18 -1
- package/dist/index.js +929 -916
- package/dist/locales/ar.json +18 -1
- package/dist/locales/de.json +18 -1
- package/dist/locales/el.json +18 -1
- package/dist/locales/en.json +18 -1
- package/dist/locales/es.json +18 -1
- package/dist/locales/fr.json +18 -1
- package/dist/locales/hi.json +18 -1
- package/dist/locales/it.json +20 -3
- package/dist/locales/ja.json +18 -1
- package/dist/locales/nl.json +18 -1
- package/dist/locales/pl.json +18 -1
- package/dist/locales/pt.json +18 -1
- package/dist/locales/ro.json +18 -1
- package/dist/locales/ru.json +18 -1
- package/dist/locales/sq.json +18 -1
- package/dist/locales/sv.json +18 -1
- package/dist/locales/tr.json +18 -1
- package/dist/locales/zh.json +18 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar.model.d.ts +2 -0
- 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 +17 -1
- package/dist/_chunks/appointment-card-D6mk39NB.js +0 -296
- package/dist/_chunks/appointment-timeline-D-V97Bhc.js +0 -403
- package/dist/_chunks/button-group-CaxRJsNG.js +0 -289
- package/dist/_chunks/clinical-note-card-CTRzmqvv.js +0 -438
- package/dist/_chunks/field-value-BetdWMA2.js +0 -384
- package/dist/_chunks/panel-header-D313n_9-.js +0 -105
- package/dist/_chunks/patient-details-BGiawUHd.js +0 -760
- package/dist/_chunks/patient-summary-card--CT_gbaQ.js +0 -454
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
import { jsxs as x, jsx as o, Fragment as je } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ce, useId as He, useMemo as j, useRef as v, useState as $, useEffect as Me, useCallback as b, useImperativeHandle as Ne } from "react";
|
|
3
|
+
import { c as _e } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Fe } from "react-i18next";
|
|
5
|
+
import { A as ne } from "./appointment-card-WsDGBBut.js";
|
|
6
|
+
import { B as P } from "./button-nJaPh_HC.js";
|
|
7
|
+
import { B as ze } from "./button-group-QmN1VdUW.js";
|
|
8
|
+
import { D as Ae } from "./date-picker-6tFnKFty.js";
|
|
9
|
+
import { P as Be } from "./panel-header-D_mTdhUp.js";
|
|
10
|
+
import { S as Ke } from "./skeleton-CZbwyJAA.js";
|
|
11
|
+
import { E as Ee } from "./empty-state-X0sVPfVo.js";
|
|
12
|
+
import { u as ae } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
13
|
+
import { u as Ye } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
14
|
+
import { a as $e, u as Pe, R as We } from "./use-list-reflow-Cw43nxw5.js";
|
|
15
|
+
import { u as qe } from "./registry-DvAUVLHh.js";
|
|
16
|
+
import { C as Ge } from "./calendar-days-BGWklvE-.js";
|
|
17
|
+
const Ve = {
|
|
18
|
+
id: "appointment-timeline",
|
|
19
|
+
// 'pick' backs select_item (non-persisting activation through
|
|
20
|
+
// onOpenAppointment); 'scroll' backs jump_to_today, which re-anchors the
|
|
21
|
+
// scroll viewport (mirrors practice-results' scroll_to_result).
|
|
22
|
+
capabilities: ["scroll", "pick"],
|
|
23
|
+
state: {
|
|
24
|
+
items: {
|
|
25
|
+
type: "Array<{ id: string; state: string }>",
|
|
26
|
+
descriptionKey: "ui.agent.appointmentTimeline.state.items",
|
|
27
|
+
description: "Currently-rendered appointments. Ids + lifecycle state only — never patient identity.",
|
|
28
|
+
read: (i) => i.getItems()
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
actions: {
|
|
32
|
+
select_item: {
|
|
33
|
+
safety: "read",
|
|
34
|
+
argsType: "{ id: string }",
|
|
35
|
+
argsSchema: {
|
|
36
|
+
type: "object",
|
|
37
|
+
properties: { id: { type: "string" } },
|
|
38
|
+
required: ["id"]
|
|
39
|
+
},
|
|
40
|
+
idempotent: !0,
|
|
41
|
+
descriptionKey: "ui.agent.appointmentTimeline.actions.selectItem",
|
|
42
|
+
description: "Activate the appointment with the given id.",
|
|
43
|
+
invoke: (i, n) => {
|
|
44
|
+
i.selectItem(n.id);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
jump_to_today: {
|
|
48
|
+
safety: "read",
|
|
49
|
+
idempotent: !0,
|
|
50
|
+
descriptionKey: "ui.agent.appointmentTimeline.actions.jumpToToday",
|
|
51
|
+
description: "Re-anchor the timeline scroll on today's appointments.",
|
|
52
|
+
invoke: (i) => {
|
|
53
|
+
i.jumpToToday();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
domHooks: {
|
|
58
|
+
root: {
|
|
59
|
+
attr: "data-component",
|
|
60
|
+
value: "appointment-timeline",
|
|
61
|
+
description: "Marks the AppointmentTimeline wrapper."
|
|
62
|
+
},
|
|
63
|
+
instanceId: {
|
|
64
|
+
attr: "data-component-id",
|
|
65
|
+
sourceProp: "id",
|
|
66
|
+
description: "Sourced from the id prop. Required to address a specific timeline from the agent."
|
|
67
|
+
},
|
|
68
|
+
item: {
|
|
69
|
+
attr: "data-appointment-id",
|
|
70
|
+
description: "Stable appointment id emitted on each rendered AppointmentCard inside the timeline."
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}, ie = 96, Le = _e(
|
|
74
|
+
[
|
|
75
|
+
"ds:flex ds:flex-col ds:h-full ds:min-h-0",
|
|
76
|
+
"ds:bg-[color:var(--card)] ds:text-[color:var(--card-foreground)]"
|
|
77
|
+
].join(" "),
|
|
78
|
+
{ variants: { size: { sm: "", md: "" } }, defaultVariants: { size: "sm" } }
|
|
79
|
+
), Oe = [
|
|
80
|
+
"ds:flex-1 ds:min-h-0 ds:overflow-y-auto",
|
|
81
|
+
"ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
82
|
+
"ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
|
|
83
|
+
"ds:[--atl-mask-top:black] ds:[--atl-mask-bottom:black]",
|
|
84
|
+
"ds:data-[fade-top=true]:[--atl-mask-top:transparent]",
|
|
85
|
+
"ds:data-[fade-bottom=true]:[--atl-mask-bottom:transparent]",
|
|
86
|
+
"ds:[mask-image:linear-gradient(to_bottom,var(--atl-mask-top)_0,black_var(--atl-fade-distance,var(--spacing-lg)),black_calc(100%-var(--atl-fade-distance,var(--spacing-lg))),var(--atl-mask-bottom)_100%)]",
|
|
87
|
+
"ds:motion-reduce:[mask-image:none]",
|
|
88
|
+
"ds:[.theme-accessible_&]:[mask-image:none]",
|
|
89
|
+
"ds:forced-colors:[mask-image:none]",
|
|
90
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
91
|
+
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:[outline-offset:-2px]",
|
|
92
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
93
|
+
].join(" ");
|
|
94
|
+
function k(i) {
|
|
95
|
+
const n = `${i.getMonth() + 1}`.padStart(2, "0"), d = `${i.getDate()}`.padStart(2, "0");
|
|
96
|
+
return `${i.getFullYear()}-${n}-${d}`;
|
|
97
|
+
}
|
|
98
|
+
function Qe(i) {
|
|
99
|
+
const n = [...i].sort(
|
|
100
|
+
(g, m) => +new Date(g.startIso) - +new Date(m.startIso)
|
|
101
|
+
), d = /* @__PURE__ */ new Map();
|
|
102
|
+
for (const g of n) {
|
|
103
|
+
const m = new Date(g.startIso), h = k(m);
|
|
104
|
+
let r = d.get(h);
|
|
105
|
+
r || (r = {
|
|
106
|
+
key: h,
|
|
107
|
+
date: new Date(m.getFullYear(), m.getMonth(), m.getDate()),
|
|
108
|
+
items: []
|
|
109
|
+
}, d.set(h, r)), r.items.push(g);
|
|
110
|
+
}
|
|
111
|
+
return [...d.values()];
|
|
112
|
+
}
|
|
113
|
+
const Ue = Ce(
|
|
114
|
+
({
|
|
115
|
+
id: i,
|
|
116
|
+
items: n,
|
|
117
|
+
nowIso: d,
|
|
118
|
+
title: g,
|
|
119
|
+
locale: m,
|
|
120
|
+
currency: h,
|
|
121
|
+
size: r = "sm",
|
|
122
|
+
showPatient: C = !1,
|
|
123
|
+
onOpenAppointment: y,
|
|
124
|
+
selectedId: H,
|
|
125
|
+
onLoadEarlier: f,
|
|
126
|
+
onLoadLater: p,
|
|
127
|
+
hasMoreEarlier: F,
|
|
128
|
+
hasMoreLater: oe,
|
|
129
|
+
loadingEarlier: M = !1,
|
|
130
|
+
loadingLater: N = !1,
|
|
131
|
+
showFilters: re = !0,
|
|
132
|
+
onJumpToDate: _,
|
|
133
|
+
emptyTitle: le,
|
|
134
|
+
emptyDescription: ce,
|
|
135
|
+
className: de,
|
|
136
|
+
"aria-label": me,
|
|
137
|
+
...pe
|
|
138
|
+
}, ue) => {
|
|
139
|
+
const { t: l, i18n: fe } = Fe(), W = He(), z = Ye(), A = m ?? fe.language, q = g ?? l("appointmentTimeline.title"), c = j(
|
|
140
|
+
() => d ? new Date(d) : /* @__PURE__ */ new Date(),
|
|
141
|
+
[d]
|
|
142
|
+
), u = j(() => Qe(n), [n]), G = z || void 0, ge = j(
|
|
143
|
+
() => u.flatMap((e) => e.items.map((t) => t.id)).join(),
|
|
144
|
+
[u]
|
|
145
|
+
), { containerRef: he } = $e({
|
|
146
|
+
key: ge,
|
|
147
|
+
reduceMotion: G
|
|
148
|
+
}), V = Pe({ reduceMotion: G }), L = v(n), [O, Q] = $([]);
|
|
149
|
+
Me(() => {
|
|
150
|
+
const e = L.current;
|
|
151
|
+
if (e === n) return;
|
|
152
|
+
const t = new Set(n.map((a) => a.id)), s = e.filter((a) => !t.has(a.id));
|
|
153
|
+
s.length > 0 && (Q((a) => [...a, ...s]), s.forEach((a) => {
|
|
154
|
+
V.leave(a.id, () => {
|
|
155
|
+
Q((Y) => Y.filter((S) => S.id !== a.id));
|
|
156
|
+
});
|
|
157
|
+
})), L.current = n;
|
|
158
|
+
}, [n, V]);
|
|
159
|
+
const U = F ?? !!f, X = oe ?? !!p, B = j(() => {
|
|
160
|
+
if (u.length === 0) return;
|
|
161
|
+
const e = k(c), t = u.map((s) => s.key);
|
|
162
|
+
return t.includes(e) ? e : t.find((s) => s >= e) ?? t[t.length - 1];
|
|
163
|
+
}, [u, c]), D = v(null), w = v(/* @__PURE__ */ new Map()), Z = v(!1), K = v(void 0), J = v(0), [ye, ve] = $(!1), [ke, Te] = $(!1), R = b(() => {
|
|
164
|
+
const e = D.current;
|
|
165
|
+
if (!e) return;
|
|
166
|
+
const { scrollTop: t, scrollHeight: s, clientHeight: a } = e;
|
|
167
|
+
ve(t > 1), Te(t + a < s - 1);
|
|
168
|
+
}, []), I = b(
|
|
169
|
+
(e, t) => {
|
|
170
|
+
const s = D.current;
|
|
171
|
+
if (!s) return;
|
|
172
|
+
let a = w.current.get(e);
|
|
173
|
+
if (!a) {
|
|
174
|
+
const S = [...w.current.keys()].sort(), se = S.find((Se) => Se >= e) ?? S[S.length - 1];
|
|
175
|
+
a = se ? w.current.get(se) : void 0;
|
|
176
|
+
}
|
|
177
|
+
if (!a) return;
|
|
178
|
+
const Y = a.getBoundingClientRect().top - s.getBoundingClientRect().top;
|
|
179
|
+
s.scrollTo({
|
|
180
|
+
top: s.scrollTop + Y,
|
|
181
|
+
behavior: t && !z ? "smooth" : "auto"
|
|
182
|
+
});
|
|
183
|
+
},
|
|
184
|
+
[z]
|
|
185
|
+
);
|
|
186
|
+
ae(() => {
|
|
187
|
+
var s;
|
|
188
|
+
const e = D.current;
|
|
189
|
+
if (!e) return;
|
|
190
|
+
const t = (s = u[0]) == null ? void 0 : s.key;
|
|
191
|
+
if (!Z.current)
|
|
192
|
+
u.length > 0 && B && (I(B, !1), Z.current = !0);
|
|
193
|
+
else if (K.current && t && t < K.current) {
|
|
194
|
+
const a = e.scrollHeight - J.current;
|
|
195
|
+
a > 0 && (e.scrollTop += a);
|
|
196
|
+
}
|
|
197
|
+
K.current = t, J.current = e.scrollHeight, R();
|
|
198
|
+
}, [u, B, I, R]), ae(() => {
|
|
199
|
+
const e = D.current;
|
|
200
|
+
if (!e || typeof ResizeObserver > "u") return;
|
|
201
|
+
const t = new ResizeObserver(R);
|
|
202
|
+
return t.observe(e), () => t.disconnect();
|
|
203
|
+
}, [R]);
|
|
204
|
+
const be = b(() => {
|
|
205
|
+
R();
|
|
206
|
+
const e = D.current;
|
|
207
|
+
if (!e) return;
|
|
208
|
+
const { scrollTop: t, scrollHeight: s, clientHeight: a } = e;
|
|
209
|
+
f && U && !M && t <= ie && f(), p && X && !N && s - t - a <= ie && p();
|
|
210
|
+
}, [
|
|
211
|
+
R,
|
|
212
|
+
f,
|
|
213
|
+
p,
|
|
214
|
+
U,
|
|
215
|
+
X,
|
|
216
|
+
M,
|
|
217
|
+
N
|
|
218
|
+
]), T = b(
|
|
219
|
+
(e) => {
|
|
220
|
+
const t = k(e), s = w.current.has(t);
|
|
221
|
+
I(t, !0), s || _ == null || _(e.toISOString());
|
|
222
|
+
},
|
|
223
|
+
[I, _]
|
|
224
|
+
), xe = b(() => T(c), [T, c]), De = b(() => {
|
|
225
|
+
const e = new Date(c), t = (e.getDay() + 6) % 7;
|
|
226
|
+
e.setDate(e.getDate() - t), T(e);
|
|
227
|
+
}, [T, c]), we = b(() => {
|
|
228
|
+
T(new Date(c.getFullYear(), c.getMonth(), 1));
|
|
229
|
+
}, [T, c]), E = v(n);
|
|
230
|
+
E.current = n;
|
|
231
|
+
const ee = v(null);
|
|
232
|
+
Ne(ue, () => ee.current, []);
|
|
233
|
+
const Re = j(
|
|
234
|
+
() => ({
|
|
235
|
+
getItems: () => E.current.map((e) => ({ id: e.id, state: e.state })),
|
|
236
|
+
selectItem: (e) => {
|
|
237
|
+
const t = E.current.find((s) => s.id === e);
|
|
238
|
+
t && (y == null || y(t));
|
|
239
|
+
},
|
|
240
|
+
jumpToToday: () => I(k(c), !0)
|
|
241
|
+
}),
|
|
242
|
+
[y, I, c]
|
|
243
|
+
);
|
|
244
|
+
qe(Ve, Re, i);
|
|
245
|
+
const Ie = u.length === 0 && !M && !N, te = (e) => /* @__PURE__ */ o(
|
|
246
|
+
"div",
|
|
247
|
+
{
|
|
248
|
+
"aria-hidden": "true",
|
|
249
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)] ds:py-[var(--spacing-xs)]",
|
|
250
|
+
children: /* @__PURE__ */ o(Ke, { variant: "rectangular", height: "3.5rem" })
|
|
251
|
+
},
|
|
252
|
+
e
|
|
253
|
+
);
|
|
254
|
+
return /* @__PURE__ */ x(
|
|
255
|
+
"section",
|
|
256
|
+
{
|
|
257
|
+
ref: ee,
|
|
258
|
+
"data-component": "appointment-timeline",
|
|
259
|
+
"data-component-id": i,
|
|
260
|
+
"aria-label": me ?? q,
|
|
261
|
+
className: Le({ size: r, className: de }),
|
|
262
|
+
...pe,
|
|
263
|
+
children: [
|
|
264
|
+
/* @__PURE__ */ o(
|
|
265
|
+
Be,
|
|
266
|
+
{
|
|
267
|
+
icon: /* @__PURE__ */ o(Ge, {}),
|
|
268
|
+
title: q,
|
|
269
|
+
filters: re ? /* @__PURE__ */ x(je, { children: [
|
|
270
|
+
/* @__PURE__ */ x(ze, { label: l("appointmentTimeline.filtersLabel"), children: [
|
|
271
|
+
/* @__PURE__ */ o(P, { intent: "outline", size: "sm", onClick: xe, children: l("appointmentTimeline.today") }),
|
|
272
|
+
/* @__PURE__ */ o(P, { intent: "outline", size: "sm", onClick: De, children: l("appointmentTimeline.thisWeek") }),
|
|
273
|
+
/* @__PURE__ */ o(P, { intent: "outline", size: "sm", onClick: we, children: l("appointmentTimeline.thisMonth") })
|
|
274
|
+
] }),
|
|
275
|
+
/* @__PURE__ */ o("label", { htmlFor: W, className: "ds:sr-only", children: l("appointmentTimeline.jumpToDate") }),
|
|
276
|
+
/* @__PURE__ */ o(
|
|
277
|
+
Ae,
|
|
278
|
+
{
|
|
279
|
+
id: W,
|
|
280
|
+
size: "sm",
|
|
281
|
+
placeholder: l("appointmentTimeline.jumpToDate"),
|
|
282
|
+
onChange: (e) => {
|
|
283
|
+
e && T(e);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
)
|
|
287
|
+
] }) : void 0
|
|
288
|
+
}
|
|
289
|
+
),
|
|
290
|
+
Ie ? /* @__PURE__ */ o("div", { className: "ds:flex-1 ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ o(
|
|
291
|
+
Ee,
|
|
292
|
+
{
|
|
293
|
+
variant: "first-use",
|
|
294
|
+
size: "sm",
|
|
295
|
+
title: le ?? l("appointmentTimeline.empty.title"),
|
|
296
|
+
description: ce ?? l("appointmentTimeline.empty.description")
|
|
297
|
+
}
|
|
298
|
+
) }) : /* @__PURE__ */ x(
|
|
299
|
+
"div",
|
|
300
|
+
{
|
|
301
|
+
ref: D,
|
|
302
|
+
tabIndex: 0,
|
|
303
|
+
onScroll: be,
|
|
304
|
+
"data-fade-top": ye ? "true" : void 0,
|
|
305
|
+
"data-fade-bottom": ke ? "true" : void 0,
|
|
306
|
+
className: Oe,
|
|
307
|
+
children: [
|
|
308
|
+
M ? te("loading-earlier") : null,
|
|
309
|
+
/* @__PURE__ */ x(
|
|
310
|
+
"ol",
|
|
311
|
+
{
|
|
312
|
+
ref: he,
|
|
313
|
+
role: "list",
|
|
314
|
+
className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-md)] ds:p-0",
|
|
315
|
+
children: [
|
|
316
|
+
u.map((e) => /* @__PURE__ */ x(
|
|
317
|
+
"li",
|
|
318
|
+
{
|
|
319
|
+
ref: (t) => {
|
|
320
|
+
t ? w.current.set(e.key, t) : w.current.delete(e.key);
|
|
321
|
+
},
|
|
322
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
323
|
+
children: [
|
|
324
|
+
/* @__PURE__ */ o(
|
|
325
|
+
Xe,
|
|
326
|
+
{
|
|
327
|
+
date: e.date,
|
|
328
|
+
now: c,
|
|
329
|
+
locale: A,
|
|
330
|
+
todayLabel: l("appointmentTimeline.today"),
|
|
331
|
+
tomorrowLabel: l("appointmentTimeline.tomorrow"),
|
|
332
|
+
yesterdayLabel: l("appointmentTimeline.yesterday")
|
|
333
|
+
}
|
|
334
|
+
),
|
|
335
|
+
/* @__PURE__ */ o(
|
|
336
|
+
"ul",
|
|
337
|
+
{
|
|
338
|
+
role: "list",
|
|
339
|
+
className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0",
|
|
340
|
+
children: e.items.map((t) => /* @__PURE__ */ o(
|
|
341
|
+
ne,
|
|
342
|
+
{
|
|
343
|
+
item: t,
|
|
344
|
+
size: r,
|
|
345
|
+
surface: "elevated",
|
|
346
|
+
showPatient: C,
|
|
347
|
+
locale: A,
|
|
348
|
+
currency: h,
|
|
349
|
+
onActivate: y,
|
|
350
|
+
selected: t.id === H,
|
|
351
|
+
"data-appointment-id": t.id,
|
|
352
|
+
"data-reflow-id": t.id,
|
|
353
|
+
className: We
|
|
354
|
+
},
|
|
355
|
+
t.id
|
|
356
|
+
))
|
|
357
|
+
}
|
|
358
|
+
)
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
e.key
|
|
362
|
+
)),
|
|
363
|
+
O.length > 0 ? O.map((e) => /* @__PURE__ */ o(
|
|
364
|
+
ne,
|
|
365
|
+
{
|
|
366
|
+
item: e,
|
|
367
|
+
size: r,
|
|
368
|
+
surface: "elevated",
|
|
369
|
+
showPatient: C,
|
|
370
|
+
locale: A,
|
|
371
|
+
currency: h,
|
|
372
|
+
"aria-hidden": "true",
|
|
373
|
+
"data-leaving": !0,
|
|
374
|
+
className: [
|
|
375
|
+
"ds:opacity-0",
|
|
376
|
+
"ds:transition-opacity",
|
|
377
|
+
"ds:duration-[var(--animation-duration)]",
|
|
378
|
+
"ds:ease-[var(--ease-out)]",
|
|
379
|
+
"ds:motion-reduce:transition-none"
|
|
380
|
+
].join(" ")
|
|
381
|
+
},
|
|
382
|
+
`leaving-${e.id}`
|
|
383
|
+
)) : null
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
),
|
|
387
|
+
N ? te("loading-later") : null
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
)
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
);
|
|
396
|
+
Ue.displayName = "AppointmentTimeline";
|
|
397
|
+
function Xe({
|
|
398
|
+
date: i,
|
|
399
|
+
now: n,
|
|
400
|
+
locale: d,
|
|
401
|
+
todayLabel: g,
|
|
402
|
+
tomorrowLabel: m,
|
|
403
|
+
yesterdayLabel: h
|
|
404
|
+
}) {
|
|
405
|
+
const r = k(i), C = k(n), y = new Date(n);
|
|
406
|
+
y.setDate(n.getDate() + 1);
|
|
407
|
+
const H = new Date(n);
|
|
408
|
+
H.setDate(n.getDate() - 1);
|
|
409
|
+
const f = r === C;
|
|
410
|
+
let p;
|
|
411
|
+
if (f) p = g;
|
|
412
|
+
else if (r === k(y)) p = m;
|
|
413
|
+
else if (r === k(H)) p = h;
|
|
414
|
+
else {
|
|
415
|
+
const F = i.getFullYear() === n.getFullYear();
|
|
416
|
+
p = new Intl.DateTimeFormat(d, {
|
|
417
|
+
weekday: "short",
|
|
418
|
+
day: "numeric",
|
|
419
|
+
month: "short",
|
|
420
|
+
...F ? {} : { year: "numeric" }
|
|
421
|
+
}).format(i);
|
|
422
|
+
}
|
|
423
|
+
return /* @__PURE__ */ x(
|
|
424
|
+
"div",
|
|
425
|
+
{
|
|
426
|
+
"data-today": f ? "true" : void 0,
|
|
427
|
+
className: [
|
|
428
|
+
"ds:sticky ds:top-0 ds:z-[1] ds:bg-[color:var(--card)] ds:py-[var(--spacing-2xs)]",
|
|
429
|
+
"ds:flex ds:items-center ds:gap-[var(--spacing-2xs)] type-eyebrow",
|
|
430
|
+
f ? "ds:text-[color:var(--primary)] ds:font-semibold" : "ds:text-[color:var(--muted-foreground)]"
|
|
431
|
+
].join(" "),
|
|
432
|
+
children: [
|
|
433
|
+
f ? /* @__PURE__ */ o(
|
|
434
|
+
"span",
|
|
435
|
+
{
|
|
436
|
+
"aria-hidden": "true",
|
|
437
|
+
className: "ds:size-1.5 ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[color:var(--primary)]"
|
|
438
|
+
}
|
|
439
|
+
) : null,
|
|
440
|
+
p
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
export {
|
|
446
|
+
Ue as A,
|
|
447
|
+
Ve as a
|
|
448
|
+
};
|
|
449
|
+
//# sourceMappingURL=appointment-timeline-ByfovxqR.js.map
|
|
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as j, useRef as h, useImperativeHandle as z, useMemo as P } from "react";
|
|
3
3
|
import { c as E } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as H } from "react-i18next";
|
|
5
|
-
import { I as M } from "./icon-button-
|
|
5
|
+
import { I as M } from "./icon-button-8xqRnkdG.js";
|
|
6
6
|
import { S as q } from "./skeleton-CZbwyJAA.js";
|
|
7
7
|
import { E as K } from "./empty-state-X0sVPfVo.js";
|
|
8
|
-
import { A as V } from "./appointment-card-
|
|
8
|
+
import { A as V } from "./appointment-card-WsDGBBut.js";
|
|
9
9
|
import { u as _ } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { C as B } from "./calendar-days-BGWklvE-.js";
|
|
11
11
|
import { P as D } from "./plus-DzMQ_c6b.js";
|
|
@@ -190,4 +190,4 @@ export {
|
|
|
190
190
|
ae as a,
|
|
191
191
|
L as b
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=appointment-tray-
|
|
193
|
+
//# sourceMappingURL=appointment-tray-D6UyJHej.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { c as o } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.22.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const r = [
|
|
9
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
10
|
+
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
11
|
+
], c = o("arrow-right", r);
|
|
12
|
+
export {
|
|
13
|
+
c as A
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=arrow-right-KsIrLdt0.js.map
|
|
@@ -3,10 +3,10 @@ import { forwardRef as ne, useReducer as ae, useState as x, useRef as l, useEffe
|
|
|
3
3
|
import { c as oe } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as ue } from "react-i18next";
|
|
5
5
|
import { B as G } from "./button-nJaPh_HC.js";
|
|
6
|
-
import { I as D } from "./icon-button-
|
|
6
|
+
import { I as D } from "./icon-button-8xqRnkdG.js";
|
|
7
7
|
import { S as pe } from "./select-CLSUnKjF.js";
|
|
8
8
|
import { A as le } from "./audio-visualiser-l6zPd0AG.js";
|
|
9
|
-
import { A as F } from "./alert-
|
|
9
|
+
import { A as F } from "./alert-CiQ5Pa3Q.js";
|
|
10
10
|
import { u as me } from "./registry-DvAUVLHh.js";
|
|
11
11
|
import { M as fe } from "./mic-CUklMZGF.js";
|
|
12
12
|
import { c as J } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -447,4 +447,4 @@ export {
|
|
|
447
447
|
De as A,
|
|
448
448
|
Re as a
|
|
449
449
|
};
|
|
450
|
-
//# sourceMappingURL=audio-recorder-
|
|
450
|
+
//# sourceMappingURL=audio-recorder-BlQBC7N_.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as g, jsx as s, Fragment as w } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { c as d } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as y } from "react-i18next";
|
|
5
|
-
import { T as z } from "./tooltip-
|
|
5
|
+
import { T as z } from "./tooltip-Cp-PLePW.js";
|
|
6
6
|
const _ = d(
|
|
7
7
|
[
|
|
8
8
|
"ds:inline-flex ds:items-center ds:gap-1",
|
|
@@ -135,4 +135,4 @@ B.displayName = "Badge";
|
|
|
135
135
|
export {
|
|
136
136
|
B
|
|
137
137
|
};
|
|
138
|
-
//# sourceMappingURL=badge-
|
|
138
|
+
//# sourceMappingURL=badge-BudgzTe_.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
5
|
-
import { A as ve, a as re } from "./actions-cell-renderer-
|
|
4
|
+
import { a as b, T as g, D as S, d as Ce } from "./data-table-BYGK-gUJ.js";
|
|
5
|
+
import { A as ve, a as re } from "./actions-cell-renderer-CUn1pqEq.js";
|
|
6
6
|
import { S as Te } from "./select-CLSUnKjF.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, h as Se } from "./link-cell-renderer-
|
|
9
|
-
import { T as We } from "./transaction-chip-
|
|
10
|
-
import { B as oe } from "./badge-
|
|
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, h as Se } from "./link-cell-renderer-BNa8x6oJ.js";
|
|
9
|
+
import { T as We } from "./transaction-chip-Dth1nThY.js";
|
|
10
|
+
import { B as oe } from "./badge-BudgzTe_.js";
|
|
11
11
|
import { c as Ae } from "./index-D2ZczOXr.js";
|
|
12
12
|
import { T as xe } from "./timestamp-BV2lC-wV.js";
|
|
13
13
|
import { C as De } from "./calendar-clock-hbObjfGY.js";
|
|
@@ -1179,4 +1179,4 @@ export {
|
|
|
1179
1179
|
se as g,
|
|
1180
1180
|
nt as u
|
|
1181
1181
|
};
|
|
1182
|
-
//# sourceMappingURL=balance-badge-cell-
|
|
1182
|
+
//# sourceMappingURL=balance-badge-cell-B0Z8Dwn8.js.map
|
|
@@ -6,7 +6,7 @@ import { u as L } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { F } from "./form-field-CahJzTxp.js";
|
|
7
7
|
import { S as H } from "./select-CLSUnKjF.js";
|
|
8
8
|
import { C as O } from "./card-DPmk26CL.js";
|
|
9
|
-
import { B as M } from "./badge-
|
|
9
|
+
import { B as M } from "./badge-BudgzTe_.js";
|
|
10
10
|
import { I as j } from "./insert-result-LCNTskNJ.js";
|
|
11
11
|
const D = [
|
|
12
12
|
"dilation",
|
|
@@ -301,4 +301,4 @@ export {
|
|
|
301
301
|
V as d,
|
|
302
302
|
G as e
|
|
303
303
|
};
|
|
304
|
-
//# sourceMappingURL=bishop-score-
|
|
304
|
+
//# sourceMappingURL=bishop-score-D5b8tktp.js.map
|
|
@@ -3,12 +3,12 @@ import { forwardRef as ae, useId as le, useState as d, useMemo as T, useEffect a
|
|
|
3
3
|
import { c as se } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as oe } from "react-i18next";
|
|
5
5
|
import { u as ce } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { R as E } from "./radio-
|
|
7
|
-
import { R as ue } from "./radio-group-
|
|
6
|
+
import { R as E } from "./radio-6fml-pWk.js";
|
|
7
|
+
import { R as ue } from "./radio-group-CIjmyioi.js";
|
|
8
8
|
import { F as G } from "./form-field-CahJzTxp.js";
|
|
9
9
|
import { N as L } from "./number-input-Cgu2TtA8.js";
|
|
10
10
|
import { C as j } from "./card-DPmk26CL.js";
|
|
11
|
-
import { B as me } from "./badge-
|
|
11
|
+
import { B as me } from "./badge-BudgzTe_.js";
|
|
12
12
|
import { B as de, I as ge, b as pe } from "./insert-result-LCNTskNJ.js";
|
|
13
13
|
import { c as q, b as he, e as be, l as D, f as V, k as z } from "./bmi-BxD-tFzU.js";
|
|
14
14
|
const ye = {
|
|
@@ -431,4 +431,4 @@ we.displayName = "BmiCalculator";
|
|
|
431
431
|
export {
|
|
432
432
|
we as B
|
|
433
433
|
};
|
|
434
|
-
//# sourceMappingURL=bmi-calculator-
|
|
434
|
+
//# sourceMappingURL=bmi-calculator-dOKP-vW4.js.map
|
|
@@ -3,27 +3,27 @@ import { forwardRef as Ot, useId as dt, useState as Z, useCallback as X, useRef
|
|
|
3
3
|
import { c as Ue } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as $, Trans as os } from "react-i18next";
|
|
5
5
|
import { u as ds } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { A as Q } from "./alert-
|
|
6
|
+
import { A as Q } from "./alert-CiQ5Pa3Q.js";
|
|
7
7
|
import { B as be } from "./button-nJaPh_HC.js";
|
|
8
|
-
import { C as $e } from "./checkbox-
|
|
9
|
-
import { C as ls } from "./checkbox-group-
|
|
10
|
-
import { D as cs } from "./date-picker-
|
|
8
|
+
import { C as $e } from "./checkbox-CZkipDn7.js";
|
|
9
|
+
import { C as ls } from "./checkbox-group-DomUzpkF.js";
|
|
10
|
+
import { D as cs } from "./date-picker-6tFnKFty.js";
|
|
11
11
|
import { E as us } from "./email-input-Dpe63k0K.js";
|
|
12
12
|
import { F as le } from "./form-field-CahJzTxp.js";
|
|
13
13
|
import { P as ps } from "./phone-input-BsZIoE36.js";
|
|
14
14
|
import { T as ms } from "./text-area-Bt3p7Pt0.js";
|
|
15
15
|
import { T as ze } from "./text-input-CUvCb6ST.js";
|
|
16
16
|
import { S as fs } from "./spinner-hbwuKwMf.js";
|
|
17
|
-
import { B as _t } from "./badge-
|
|
18
|
-
import { I as It } from "./icon-button-
|
|
17
|
+
import { B as _t } from "./badge-BudgzTe_.js";
|
|
18
|
+
import { I as It } from "./icon-button-8xqRnkdG.js";
|
|
19
19
|
import { S as Ye } from "./select-CLSUnKjF.js";
|
|
20
20
|
import { C as lt } from "./combobox-DnSdYssy.js";
|
|
21
|
-
import { M as ct } from "./multi-select-
|
|
21
|
+
import { M as ct } from "./multi-select-CtPd7g4x.js";
|
|
22
22
|
import { S as He } from "./skeleton-CZbwyJAA.js";
|
|
23
23
|
import { E as Bt } from "./empty-state-X0sVPfVo.js";
|
|
24
24
|
import { S as gs } from "./stepper-accordion-DmVykr5F.js";
|
|
25
25
|
import { S as hs } from "./stepper-progress-Bv0njx4g.js";
|
|
26
|
-
import { S as vs } from "./slot-grid-
|
|
26
|
+
import { S as vs } from "./slot-grid-8Ko6thzz.js";
|
|
27
27
|
import { p as G } from "./parseISO-fOGpHKXm.js";
|
|
28
28
|
import { C as bs } from "./chevron-down-DWE7GSq9.js";
|
|
29
29
|
import { l as Se, f as Ge, b as Nt } from "./format-4HNwNGrN.js";
|
|
@@ -3025,4 +3025,4 @@ export {
|
|
|
3025
3025
|
H as O,
|
|
3026
3026
|
sa as b
|
|
3027
3027
|
};
|
|
3028
|
-
//# sourceMappingURL=booking-
|
|
3028
|
+
//# sourceMappingURL=booking-Dp-9qR6F.js.map
|