@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,425 @@
|
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as da } from "react";
|
|
3
|
+
import { c as ia } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as la } from "react-i18next";
|
|
5
|
+
import { A as K } from "./avatar-CkDeQOSI.js";
|
|
6
|
+
import { B as l } from "./badge-BudgzTe_.js";
|
|
7
|
+
import { T as ca } from "./tag-Ci3xJPcH.js";
|
|
8
|
+
import { T as pa } from "./timestamp-BV2lC-wV.js";
|
|
9
|
+
import { T as Y } from "./transaction-chip-Dth1nThY.js";
|
|
10
|
+
import { a as ua } from "./workflow-status-xeaJTzD3.js";
|
|
11
|
+
import { i as ma } from "./is-safe-url-DkETxeHz.js";
|
|
12
|
+
import { a as ga, b as fa, c as ha } from "./entity-card-I-Gio5wo.js";
|
|
13
|
+
import { V as va } from "./video-BheNGvsu.js";
|
|
14
|
+
import { M as ba } from "./map-pin-BaY37-Km.js";
|
|
15
|
+
import { U as ya } from "./user-x-DYszNtIg.js";
|
|
16
|
+
import { S as X } from "./star-Bf9L2Uot.js";
|
|
17
|
+
import { c as k } from "./createLucideIcon-DhHxpK9K.js";
|
|
18
|
+
import { A as xa } from "./armchair-BaLDW6Hz.js";
|
|
19
|
+
import { G as ka } from "./globe-sHBW1JN5.js";
|
|
20
|
+
import { R as Na } from "./repeat-CvQa5rZt.js";
|
|
21
|
+
import { C as Ca } from "./chevron-right-I9AeSxH2.js";
|
|
22
|
+
/**
|
|
23
|
+
* @license lucide-react v1.22.0 - ISC
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the ISC license.
|
|
26
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/
|
|
28
|
+
const wa = [
|
|
29
|
+
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
30
|
+
[
|
|
31
|
+
"path",
|
|
32
|
+
{
|
|
33
|
+
d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
|
|
34
|
+
key: "116196"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
["path", { d: "M9 14h6", key: "159ibu" }],
|
|
38
|
+
["path", { d: "M12 17v-6", key: "1y8rbf" }]
|
|
39
|
+
], za = k("clipboard-plus", wa);
|
|
40
|
+
/**
|
|
41
|
+
* @license lucide-react v1.22.0 - ISC
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the ISC license.
|
|
44
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/
|
|
46
|
+
const Ta = [
|
|
47
|
+
[
|
|
48
|
+
"path",
|
|
49
|
+
{
|
|
50
|
+
d: "M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z",
|
|
51
|
+
key: "ukzhwg"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
["path", { d: "M14.487 7.858A1 1 0 0 1 14 7V2", key: "1klhew" }],
|
|
55
|
+
[
|
|
56
|
+
"path",
|
|
57
|
+
{
|
|
58
|
+
d: "M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516",
|
|
59
|
+
key: "rxaxab"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
["path", { d: "M8 18h1", key: "13wk12" }]
|
|
63
|
+
], Ma = k("file-pen-line", Ta);
|
|
64
|
+
/**
|
|
65
|
+
* @license lucide-react v1.22.0 - ISC
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the ISC license.
|
|
68
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/
|
|
70
|
+
const Va = [
|
|
71
|
+
[
|
|
72
|
+
"path",
|
|
73
|
+
{
|
|
74
|
+
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
75
|
+
key: "18887p"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
["path", { d: "M7 11h10", key: "1twpyw" }],
|
|
79
|
+
["path", { d: "M7 15h6", key: "d9of3u" }],
|
|
80
|
+
["path", { d: "M7 7h8", key: "af5zfr" }]
|
|
81
|
+
], Ra = k("message-square-text", Va), Sa = {
|
|
82
|
+
"var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
|
|
83
|
+
"var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
|
|
84
|
+
"var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
|
|
85
|
+
"var(--color-blue-500)": "ds:bg-[var(--color-blue-500)]",
|
|
86
|
+
"var(--color-green-500)": "ds:bg-[var(--color-green-500)]",
|
|
87
|
+
"var(--color-red-500)": "ds:bg-[var(--color-red-500)]",
|
|
88
|
+
"var(--color-yellow-500)": "ds:bg-[var(--color-yellow-500)]",
|
|
89
|
+
"var(--color-indigo-500)": "ds:bg-[var(--color-indigo-500)]",
|
|
90
|
+
"var(--color-orange-500)": "ds:bg-[var(--color-orange-500)]",
|
|
91
|
+
"var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
|
|
92
|
+
"var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
|
|
93
|
+
};
|
|
94
|
+
function Da(a) {
|
|
95
|
+
return Sa[ha(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
96
|
+
}
|
|
97
|
+
function Ia(a) {
|
|
98
|
+
if (!a) return;
|
|
99
|
+
const t = new Date(a);
|
|
100
|
+
if (Number.isNaN(t.getTime())) return;
|
|
101
|
+
const p = /* @__PURE__ */ new Date();
|
|
102
|
+
let o = p.getFullYear() - t.getFullYear();
|
|
103
|
+
const u = p.getMonth() - t.getMonth();
|
|
104
|
+
return (u < 0 || u === 0 && p.getDate() < t.getDate()) && o--, o < 0 || o > 130 ? void 0 : o;
|
|
105
|
+
}
|
|
106
|
+
const Aa = ia(
|
|
107
|
+
[
|
|
108
|
+
"ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
109
|
+
"ds:rounded-[var(--radius-md)]",
|
|
110
|
+
"ds:text-start ds:group",
|
|
111
|
+
"ds:bg-[var(--card)] ds:text-[color:var(--card-foreground)]",
|
|
112
|
+
"ds:transition-[colors,border-color,box-shadow] ds:duration-[var(--animation-duration)]",
|
|
113
|
+
"ds:motion-reduce:transition-none",
|
|
114
|
+
"ds:forced-colors:border ds:forced-colors:border-[CanvasText]"
|
|
115
|
+
].join(" "),
|
|
116
|
+
{
|
|
117
|
+
variants: {
|
|
118
|
+
size: {
|
|
119
|
+
sm: "ds:p-[var(--spacing-sm)]",
|
|
120
|
+
md: "ds:p-[var(--spacing-md)]"
|
|
121
|
+
},
|
|
122
|
+
interactive: {
|
|
123
|
+
true: "ds:hover:bg-[color:var(--muted)]/40 ds:cursor-pointer",
|
|
124
|
+
false: ""
|
|
125
|
+
},
|
|
126
|
+
surface: {
|
|
127
|
+
// `flat` (default) is the chrome-less row used inside a bordered
|
|
128
|
+
// AppointmentTray. `elevated` gives each row its own card chrome
|
|
129
|
+
// (border + shadow) for use directly on a rail, e.g. AppointmentTimeline.
|
|
130
|
+
// Uses `--shadow-sm` (a row lift), not `--shadow-card`/`--shadow-lg`:
|
|
131
|
+
// the rail's `overflow-y:auto` scroll region clips `overflow-x` at a
|
|
132
|
+
// narrow gutter, so a wide 30px-blur shadow gets a hard-edged clip.
|
|
133
|
+
flat: "",
|
|
134
|
+
elevated: "ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2 ds:shadow-[var(--shadow-sm)]"
|
|
135
|
+
},
|
|
136
|
+
selected: {
|
|
137
|
+
// The row the host has marked as the active/selected appointment —
|
|
138
|
+
// matches the `current` note's info-tinted accent: a solid
|
|
139
|
+
// inline-start bar plus a soft info wash, so the eye keeps its
|
|
140
|
+
// place in the list after a click.
|
|
141
|
+
true: "ds:border-s-2 ds:border-s-[color:var(--info)] ds:bg-[color:var(--info)]/10",
|
|
142
|
+
false: ""
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
defaultVariants: {
|
|
146
|
+
size: "sm",
|
|
147
|
+
interactive: !1,
|
|
148
|
+
surface: "flat",
|
|
149
|
+
selected: !1
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
), J = [
|
|
153
|
+
// Interactive elements need a box to remain keyboard-focusable in browsers.
|
|
154
|
+
"ds:inline-flex ds:min-w-0",
|
|
155
|
+
"ds:focus-visible:outline-none",
|
|
156
|
+
"ds:after:content-[''] ds:after:absolute ds:after:inset-0 ds:after:rounded-[var(--radius-md)]",
|
|
157
|
+
"ds:after:pointer-events-auto",
|
|
158
|
+
"ds:focus-visible:after:outline-[length:var(--focus-ring-width)]",
|
|
159
|
+
"ds:focus-visible:after:outline-solid",
|
|
160
|
+
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
161
|
+
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
162
|
+
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
163
|
+
].join(" "), La = {
|
|
164
|
+
inPractice: ba,
|
|
165
|
+
telehealth: va
|
|
166
|
+
}, _a = da(
|
|
167
|
+
({
|
|
168
|
+
item: a,
|
|
169
|
+
size: t = "sm",
|
|
170
|
+
surface: p = "flat",
|
|
171
|
+
locale: o,
|
|
172
|
+
currency: u = "EUR",
|
|
173
|
+
showPatient: d = !0,
|
|
174
|
+
onActivate: i,
|
|
175
|
+
selected: N = !1,
|
|
176
|
+
className: Q,
|
|
177
|
+
...Z
|
|
178
|
+
}, aa) => {
|
|
179
|
+
var S, D, I, A, L, _, U, P, O, $, j, q, E, F, B, W, G, H;
|
|
180
|
+
const { t: s } = la(), m = !!i, ea = !!a.url && ma(a.url), f = ((S = a.patient) == null ? void 0 : S.name) ?? s("appointmentCard.noPatient"), c = (D = a.operator) == null ? void 0 : D.name, h = s(`appointmentCard.state.${a.state}`), C = ga(a.state), sa = C.Icon, w = Ia((I = a.patient) == null ? void 0 : I.dobIso), ra = ((A = a.flags) == null ? void 0 : A.noPatientAssigned) || !a.patient, v = t === "md" ? "md" : "sm", na = La[a.type], z = d ? f : c ?? s("appointmentCard.appointment"), T = d ? s("appointmentCard.itemLabel", {
|
|
181
|
+
patient: f,
|
|
182
|
+
state: h
|
|
183
|
+
}) : 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
|
+
z,
|
|
185
|
+
d && w !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
|
|
186
|
+
"· ",
|
|
187
|
+
w
|
|
188
|
+
] }) : null
|
|
189
|
+
] });
|
|
190
|
+
let g;
|
|
191
|
+
m && ea ? g = /* @__PURE__ */ e(
|
|
192
|
+
"a",
|
|
193
|
+
{
|
|
194
|
+
href: a.url,
|
|
195
|
+
"aria-label": T,
|
|
196
|
+
className: J,
|
|
197
|
+
onClick: (n) => {
|
|
198
|
+
n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || i == null || i(a);
|
|
199
|
+
},
|
|
200
|
+
children: b
|
|
201
|
+
}
|
|
202
|
+
) : m ? g = /* @__PURE__ */ e(
|
|
203
|
+
"button",
|
|
204
|
+
{
|
|
205
|
+
type: "button",
|
|
206
|
+
"aria-label": T,
|
|
207
|
+
className: J + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
208
|
+
onClick: () => i == null ? void 0 : i(a),
|
|
209
|
+
children: b
|
|
210
|
+
}
|
|
211
|
+
) : g = b;
|
|
212
|
+
const M = (a.treatments ?? []).map((n, oa) => {
|
|
213
|
+
const ta = n.elements && n.elements.length > 0 ? s("appointmentCard.treatmentWithElements", {
|
|
214
|
+
care: n.careName,
|
|
215
|
+
elements: n.elements.join(", ")
|
|
216
|
+
}) : n.careName;
|
|
217
|
+
return /* @__PURE__ */ e(
|
|
218
|
+
ca,
|
|
219
|
+
{
|
|
220
|
+
label: ta,
|
|
221
|
+
variant: "neutral",
|
|
222
|
+
fill: "outline",
|
|
223
|
+
size: "sm",
|
|
224
|
+
maxInlineSize: "12rem"
|
|
225
|
+
},
|
|
226
|
+
`${n.careName}-${oa}`
|
|
227
|
+
);
|
|
228
|
+
}), y = (L = a.bookingReason) == null ? void 0 : L.advanceAmountCents, V = typeof y == "number" && y > 0, x = (_ = a.money) == null ? void 0 : _.unpaidAmountCents, R = typeof x == "number" && x > 0;
|
|
229
|
+
return /* @__PURE__ */ r(
|
|
230
|
+
"div",
|
|
231
|
+
{
|
|
232
|
+
ref: aa,
|
|
233
|
+
role: "listitem",
|
|
234
|
+
"data-component": "appointment-card",
|
|
235
|
+
"data-component-id": a.id,
|
|
236
|
+
"data-state": a.state,
|
|
237
|
+
"data-type": a.type,
|
|
238
|
+
"aria-current": N ? "true" : void 0,
|
|
239
|
+
className: Aa({
|
|
240
|
+
size: t,
|
|
241
|
+
interactive: m,
|
|
242
|
+
surface: p,
|
|
243
|
+
selected: N,
|
|
244
|
+
className: Q
|
|
245
|
+
}),
|
|
246
|
+
...Z,
|
|
247
|
+
children: [
|
|
248
|
+
/* @__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
|
+
/* @__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(na, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
251
|
+
/* @__PURE__ */ e("span", { className: "ds:sr-only", children: s(`appointmentCard.type.${a.type}`) }),
|
|
252
|
+
/* @__PURE__ */ e(
|
|
253
|
+
pa,
|
|
254
|
+
{
|
|
255
|
+
value: a.startIso,
|
|
256
|
+
format: "absolute",
|
|
257
|
+
shape: "bare",
|
|
258
|
+
locale: o,
|
|
259
|
+
absoluteFormat: { hour: "numeric", minute: "2-digit" },
|
|
260
|
+
className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
|
|
261
|
+
}
|
|
262
|
+
)
|
|
263
|
+
] }),
|
|
264
|
+
/* @__PURE__ */ e("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s("appointmentCard.duration", { count: a.durationMin }) })
|
|
265
|
+
] }),
|
|
266
|
+
c ? /* @__PURE__ */ r("span", { className: "ds:relative ds:shrink-0", children: [
|
|
267
|
+
/* @__PURE__ */ e(
|
|
268
|
+
K,
|
|
269
|
+
{
|
|
270
|
+
name: c,
|
|
271
|
+
color: fa((U = a.operator) == null ? void 0 : U.colorId),
|
|
272
|
+
size: v,
|
|
273
|
+
"aria-hidden": "true",
|
|
274
|
+
role: "presentation",
|
|
275
|
+
"aria-label": void 0
|
|
276
|
+
}
|
|
277
|
+
),
|
|
278
|
+
/* @__PURE__ */ e(
|
|
279
|
+
"span",
|
|
280
|
+
{
|
|
281
|
+
"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)] " + Da((P = a.operator) == null ? void 0 : P.colorId)
|
|
283
|
+
}
|
|
284
|
+
)
|
|
285
|
+
] }) : null,
|
|
286
|
+
/* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
287
|
+
/* @__PURE__ */ r("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]", children: [
|
|
288
|
+
/* @__PURE__ */ r("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
289
|
+
d && ((O = a.patient) != null && O.avatarUrl) ? /* @__PURE__ */ e(
|
|
290
|
+
K,
|
|
291
|
+
{
|
|
292
|
+
name: f,
|
|
293
|
+
src: a.patient.avatarUrl,
|
|
294
|
+
size: v,
|
|
295
|
+
className: "ds:shrink-0",
|
|
296
|
+
"aria-hidden": "true",
|
|
297
|
+
role: "presentation",
|
|
298
|
+
"aria-label": void 0
|
|
299
|
+
}
|
|
300
|
+
) : null,
|
|
301
|
+
d && ra ? /* @__PURE__ */ e(
|
|
302
|
+
"span",
|
|
303
|
+
{
|
|
304
|
+
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(ya, { "aria-hidden": "true", className: "ds:size-4" })
|
|
306
|
+
}
|
|
307
|
+
) : null,
|
|
308
|
+
g
|
|
309
|
+
] }),
|
|
310
|
+
/* @__PURE__ */ e(
|
|
311
|
+
ua,
|
|
312
|
+
{
|
|
313
|
+
size: "sm",
|
|
314
|
+
value: a.state,
|
|
315
|
+
option: {
|
|
316
|
+
value: a.state,
|
|
317
|
+
label: h,
|
|
318
|
+
icon: /* @__PURE__ */ e(sa, { "aria-hidden": "true" }),
|
|
319
|
+
tone: C.tone
|
|
320
|
+
},
|
|
321
|
+
className: "ds:shrink-0"
|
|
322
|
+
}
|
|
323
|
+
)
|
|
324
|
+
] }),
|
|
325
|
+
d && 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: [
|
|
326
|
+
d && c ? /* @__PURE__ */ e("span", { children: c }) : null,
|
|
327
|
+
(j = a.bookingReason) != null && j.specialty ? /* @__PURE__ */ e("span", { children: a.bookingReason.specialty }) : null,
|
|
328
|
+
a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
329
|
+
/* @__PURE__ */ e(X, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
330
|
+
s("appointmentCard.firstVisit")
|
|
331
|
+
] }) : null,
|
|
332
|
+
a.firstVisit === "unknown" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
333
|
+
/* @__PURE__ */ e(X, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
334
|
+
s("appointmentCard.firstVisitUnknown")
|
|
335
|
+
] }) : null,
|
|
336
|
+
a.bookingNote ? /* @__PURE__ */ r(
|
|
337
|
+
"span",
|
|
338
|
+
{
|
|
339
|
+
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
340
|
+
title: s("appointmentCard.hasBookingNote"),
|
|
341
|
+
children: [
|
|
342
|
+
/* @__PURE__ */ e(
|
|
343
|
+
Ra,
|
|
344
|
+
{
|
|
345
|
+
"aria-hidden": "true",
|
|
346
|
+
className: "ds:size-3 ds:shrink-0"
|
|
347
|
+
}
|
|
348
|
+
),
|
|
349
|
+
s("appointmentCard.hasBookingNote")
|
|
350
|
+
]
|
|
351
|
+
}
|
|
352
|
+
) : null
|
|
353
|
+
] }) : null,
|
|
354
|
+
(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
|
+
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 || V || R ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
357
|
+
a.carePlan ? /* @__PURE__ */ e(
|
|
358
|
+
l,
|
|
359
|
+
{
|
|
360
|
+
variant: "accentSoft",
|
|
361
|
+
size: "sm",
|
|
362
|
+
leading: /* @__PURE__ */ e(za, {}),
|
|
363
|
+
children: s("appointmentCard.carePlan", {
|
|
364
|
+
number: a.carePlan.number
|
|
365
|
+
})
|
|
366
|
+
}
|
|
367
|
+
) : null,
|
|
368
|
+
a.chair ? /* @__PURE__ */ e(l, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(xa, {}), children: s("appointmentCard.chair", { chair: a.chair }) }) : null,
|
|
369
|
+
(W = a.flags) != null && W.bookedOnline ? /* @__PURE__ */ e(l, { variant: "info", size: "sm", leading: /* @__PURE__ */ e(ka, {}), children: s("appointmentCard.flag.bookedOnline") }) : null,
|
|
370
|
+
(G = a.flags) != null && G.highlightedAnamnesis ? /* @__PURE__ */ e(l, { variant: "warning", size: "sm", withDot: !0, children: s("appointmentCard.flag.highlightedAnamnesis") }) : null,
|
|
371
|
+
a.recurring ? /* @__PURE__ */ e(l, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(Na, {}), children: s("appointmentCard.recurring") }) : null,
|
|
372
|
+
a.signing ? /* @__PURE__ */ e(
|
|
373
|
+
l,
|
|
374
|
+
{
|
|
375
|
+
variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
|
|
376
|
+
size: "sm",
|
|
377
|
+
leading: /* @__PURE__ */ e(Ma, {}),
|
|
378
|
+
children: s("appointmentCard.signing", {
|
|
379
|
+
complete: a.signing.toComplete,
|
|
380
|
+
required: a.signing.required
|
|
381
|
+
})
|
|
382
|
+
}
|
|
383
|
+
) : null,
|
|
384
|
+
(H = a.flags) != null && H.billable ? /* @__PURE__ */ e(l, { variant: "success", size: "sm", withDot: !0, children: s("appointmentCard.flag.billable") }) : null,
|
|
385
|
+
V ? /* @__PURE__ */ e(
|
|
386
|
+
Y,
|
|
387
|
+
{
|
|
388
|
+
state: "to-invoice",
|
|
389
|
+
amount: y / 100,
|
|
390
|
+
currency: u,
|
|
391
|
+
locale: o,
|
|
392
|
+
size: "sm",
|
|
393
|
+
showLabel: !0
|
|
394
|
+
}
|
|
395
|
+
) : null,
|
|
396
|
+
R ? /* @__PURE__ */ e(
|
|
397
|
+
Y,
|
|
398
|
+
{
|
|
399
|
+
state: "debt",
|
|
400
|
+
amount: x / 100,
|
|
401
|
+
currency: u,
|
|
402
|
+
locale: o,
|
|
403
|
+
size: "sm",
|
|
404
|
+
showLabel: !0
|
|
405
|
+
}
|
|
406
|
+
) : null
|
|
407
|
+
] }) : null
|
|
408
|
+
] }),
|
|
409
|
+
m ? /* @__PURE__ */ e(
|
|
410
|
+
Ca,
|
|
411
|
+
{
|
|
412
|
+
"aria-hidden": "true",
|
|
413
|
+
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"
|
|
414
|
+
}
|
|
415
|
+
) : null
|
|
416
|
+
]
|
|
417
|
+
}
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
);
|
|
421
|
+
_a.displayName = "AppointmentCard";
|
|
422
|
+
export {
|
|
423
|
+
_a as A
|
|
424
|
+
};
|
|
425
|
+
//# sourceMappingURL=appointment-card-WsDGBBut.js.map
|