@alfadocs/ui-kit 1.35.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-Bh_CIlc6.js → appointment-card-WsDGBBut.js} +120 -126
- package/dist/_chunks/{appointment-timeline-De-Wqdkw.js → appointment-timeline-ByfovxqR.js} +5 -5
- package/dist/_chunks/{appointment-tray-4I9wTAi4.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-UywR5gUl.js → calendar-workspace-Duv_5B4j.js} +2494 -2415
- package/dist/_chunks/{care-plan-card-DHVhBcvs.js → care-plan-card-COFOI-fI.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-Dx6IdTcR.js → care-plan-entry-card-BOKn0KW-.js} +6 -6
- package/dist/_chunks/{care-plan-header-UTX5ZD74.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-9_62gY7l.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-aG_qyn6g.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-DvEsWEkC.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/index.js +2 -2
- 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 +12 -0
- package/dist/i18n/locales/ar.js +12 -0
- package/dist/i18n/locales/de.d.ts +12 -0
- package/dist/i18n/locales/de.js +12 -0
- package/dist/i18n/locales/el.d.ts +12 -0
- package/dist/i18n/locales/el.js +12 -0
- package/dist/i18n/locales/en.d.ts +12 -0
- package/dist/i18n/locales/en.js +12 -0
- package/dist/i18n/locales/es.d.ts +12 -0
- package/dist/i18n/locales/es.js +12 -0
- package/dist/i18n/locales/fr.d.ts +12 -0
- package/dist/i18n/locales/fr.js +12 -0
- package/dist/i18n/locales/hi.d.ts +12 -0
- package/dist/i18n/locales/hi.js +12 -0
- package/dist/i18n/locales/it.d.ts +12 -0
- package/dist/i18n/locales/it.js +12 -0
- package/dist/i18n/locales/ja.d.ts +12 -0
- package/dist/i18n/locales/ja.js +12 -0
- package/dist/i18n/locales/nl.d.ts +12 -0
- package/dist/i18n/locales/nl.js +12 -0
- package/dist/i18n/locales/pl.d.ts +12 -0
- package/dist/i18n/locales/pl.js +12 -0
- package/dist/i18n/locales/pt.d.ts +12 -0
- package/dist/i18n/locales/pt.js +12 -0
- package/dist/i18n/locales/ro.d.ts +12 -0
- package/dist/i18n/locales/ro.js +12 -0
- package/dist/i18n/locales/ru.d.ts +12 -0
- package/dist/i18n/locales/ru.js +12 -0
- package/dist/i18n/locales/sq.d.ts +12 -0
- package/dist/i18n/locales/sq.js +12 -0
- package/dist/i18n/locales/sv.d.ts +12 -0
- package/dist/i18n/locales/sv.js +12 -0
- package/dist/i18n/locales/tr.d.ts +12 -0
- package/dist/i18n/locales/tr.js +12 -0
- package/dist/i18n/locales/zh.d.ts +12 -0
- package/dist/i18n/locales/zh.js +12 -0
- package/dist/index.js +929 -916
- package/dist/locales/ar.json +12 -0
- package/dist/locales/de.json +12 -0
- package/dist/locales/el.json +12 -0
- package/dist/locales/en.json +12 -0
- package/dist/locales/es.json +12 -0
- package/dist/locales/fr.json +12 -0
- package/dist/locales/hi.json +12 -0
- package/dist/locales/it.json +12 -0
- package/dist/locales/ja.json +12 -0
- package/dist/locales/nl.json +12 -0
- package/dist/locales/pl.json +12 -0
- package/dist/locales/pt.json +12 -0
- package/dist/locales/ro.json +12 -0
- package/dist/locales/ru.json +12 -0
- package/dist/locales/sq.json +12 -0
- package/dist/locales/sv.json +12 -0
- package/dist/locales/tr.json +12 -0
- package/dist/locales/zh.json +12 -0
- 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/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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-
|
|
1
|
+
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-uFvhqz6h.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ANNOTATION_TOOL_KIND,
|
|
4
4
|
o as FACE_ANNOTATION_TOOLS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as c, c as e, a as i, b as l, f as o, w as t, i as C } from "../../_chunks/fiscal-code-input-
|
|
1
|
+
import { F as c, c as e, a as i, b as l, f as o, w as t, i as C } from "../../_chunks/fiscal-code-input-CkwIdB1y.js";
|
|
2
2
|
export {
|
|
3
3
|
c as FiscalCodeInput,
|
|
4
4
|
e as calculateCodiceFiscale,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as r, a as d, b as H, c as s, d as n, e as t, f as i, g as o } from "../../_chunks/header-
|
|
1
|
+
import { H as r, a as d, b as H, c as s, d as n, e as t, f as i, g as o } from "../../_chunks/header-BZ4pZlJV.js";
|
|
2
2
|
export {
|
|
3
3
|
r as Header,
|
|
4
4
|
d as HeaderBrand,
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import * as RadixPopover from '@radix-ui/react-popover';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
export type HoverCardSide = 'top' | 'end' | 'bottom' | 'start';
|
|
5
|
+
declare const contentVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
padding?: "default" | "flush" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
export interface HoverCardHandle {
|
|
10
|
+
getIsOpen: () => boolean;
|
|
11
|
+
open: () => void;
|
|
12
|
+
close: () => void;
|
|
13
|
+
}
|
|
14
|
+
export interface HoverCardProps {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* How the card opens. `hover-or-click` (the default) opens on pointer hover
|
|
18
|
+
* without taking focus, and on click, tap or Enter with focus moved into the
|
|
19
|
+
* card so the footer actions are reachable. `click` disables hover entirely.
|
|
20
|
+
*/
|
|
21
|
+
openOn?: 'hover-or-click' | 'click';
|
|
22
|
+
/** Controlled open state. */
|
|
23
|
+
open?: boolean;
|
|
24
|
+
/** Uncontrolled initial open state. */
|
|
25
|
+
defaultOpen?: boolean;
|
|
26
|
+
onOpenChange?: (open: boolean) => void;
|
|
27
|
+
/** Delay before a hover opens the card, in ms. Default 300. */
|
|
28
|
+
openDelay?: number;
|
|
29
|
+
/** Grace period before a pointer leaving closes the card, in ms. Default 300. */
|
|
30
|
+
closeDelay?: number;
|
|
31
|
+
/** Opaque instance id — emitted on Content as `data-component-id`. */
|
|
32
|
+
id?: string;
|
|
33
|
+
}
|
|
34
|
+
declare function HoverCardRoot({ children, openOn, open: controlledOpen, defaultOpen, onOpenChange, openDelay, closeDelay, id, }: HoverCardProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
declare namespace HoverCardRoot {
|
|
36
|
+
var displayName: string;
|
|
37
|
+
}
|
|
38
|
+
export type HoverCardTriggerProps = ComponentPropsWithoutRef<typeof RadixPopover.Trigger>;
|
|
39
|
+
export type HoverCardAnchorProps = ComponentPropsWithoutRef<typeof RadixPopover.Anchor>;
|
|
40
|
+
export interface HoverCardContentProps extends Omit<ComponentPropsWithoutRef<typeof RadixPopover.Content>, 'side' | 'align'>, VariantProps<typeof contentVariants> {
|
|
41
|
+
/** Logical side, resolved against the reading direction. Default `'top'`. */
|
|
42
|
+
side?: HoverCardSide;
|
|
43
|
+
align?: 'start' | 'center' | 'end';
|
|
44
|
+
size?: 'sm' | 'md' | 'lg';
|
|
45
|
+
padding?: 'default' | 'flush';
|
|
46
|
+
/** Render the arrow. Default `true`. */
|
|
47
|
+
showArrow?: boolean;
|
|
48
|
+
/** Render a close button, for touch users on a card with actions. */
|
|
49
|
+
showClose?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* An action pinned to the top-end corner — the same slot `showClose` uses.
|
|
52
|
+
* For a card whose ANCHOR has a real open action, so the card mirrors it
|
|
53
|
+
* instead of describing it in prose ("Click to open …"). Only give a card
|
|
54
|
+
* one when the trigger genuinely opens something; a card that merely points
|
|
55
|
+
* somewhere else should say so in a hint line, because an icon button there
|
|
56
|
+
* promises a click the anchor does not have.
|
|
57
|
+
*
|
|
58
|
+
* A card carrying one must be interactive — the pointer has to be able to
|
|
59
|
+
* travel into it — so do not combine it with a pointer-events-none peek.
|
|
60
|
+
*/
|
|
61
|
+
headerAction?: ReactNode;
|
|
62
|
+
className?: string;
|
|
63
|
+
children: ReactNode;
|
|
64
|
+
}
|
|
65
|
+
export interface HoverCardHeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
66
|
+
as?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
67
|
+
}
|
|
68
|
+
export declare const HoverCard: typeof HoverCardRoot & {
|
|
69
|
+
Root: typeof HoverCardRoot;
|
|
70
|
+
Trigger: import("react").ForwardRefExoticComponent<Omit<RadixPopover.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
71
|
+
Anchor: import("react").ForwardRefExoticComponent<Omit<RadixPopover.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
72
|
+
Content: import("react").ForwardRefExoticComponent<HoverCardContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
73
|
+
Media: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
74
|
+
Eyebrow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
75
|
+
Heading: import("react").ForwardRefExoticComponent<HoverCardHeadingProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
76
|
+
Body: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
77
|
+
Footer: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
78
|
+
};
|
|
79
|
+
export {};
|
|
80
|
+
//# sourceMappingURL=hover-card.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { HoverCard } from './hover-card';
|
|
2
|
+
export type { HoverCardProps, HoverCardContentProps, HoverCardHeadingProps, HoverCardTriggerProps, HoverCardAnchorProps, HoverCardHandle, HoverCardSide, } from './hover-card';
|
|
3
|
+
export { hoverCardAgent } from './hover-card.agent';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -50,6 +50,7 @@ export * from './recaptcha-widget';
|
|
|
50
50
|
export * from './radio';
|
|
51
51
|
export * from './radio-group';
|
|
52
52
|
export * from './search-input';
|
|
53
|
+
export * from './section-card';
|
|
53
54
|
export * from './select';
|
|
54
55
|
export * from './slider';
|
|
55
56
|
export * from './switch';
|
|
@@ -73,6 +74,7 @@ export * from './counter';
|
|
|
73
74
|
export * from './data-table';
|
|
74
75
|
export * from './data-table-tabs';
|
|
75
76
|
export * from './clinical-note-card';
|
|
77
|
+
export * from './note-timeline';
|
|
76
78
|
export * from './description-list';
|
|
77
79
|
export * from './empty-state';
|
|
78
80
|
export * from './file-manager';
|
|
@@ -119,6 +121,7 @@ export * from './dialog';
|
|
|
119
121
|
export * from './dropdown-menu';
|
|
120
122
|
export * from './error-boundary';
|
|
121
123
|
export * from './finished-terminal';
|
|
124
|
+
export * from './hover-card';
|
|
122
125
|
export * from './info-tip';
|
|
123
126
|
export * from './live-region';
|
|
124
127
|
export * from './matrix-rain';
|
|
@@ -203,6 +206,7 @@ export * from './tooth-scheme';
|
|
|
203
206
|
export * from './tooth-finding-palette';
|
|
204
207
|
export * from './transaction-chip';
|
|
205
208
|
export * from './whatsapp-button';
|
|
209
|
+
export * from './workflow-status';
|
|
206
210
|
export * from './workflow';
|
|
207
211
|
export * from '../patterns/alia-assistant';
|
|
208
212
|
export * from '../patterns/anamnesis';
|
|
@@ -5,8 +5,15 @@ declare const keyValuePairVariants: (props?: ({
|
|
|
5
5
|
hasIcon?: boolean | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface KeyValuePairProps extends React.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof keyValuePairVariants>, 'hasIcon'> {
|
|
8
|
-
/** The label (term)
|
|
8
|
+
/** The label (term). Stays a string: it is interpolated into the copy
|
|
9
|
+
* button's accessible name, where a node would render "[object Object]". */
|
|
9
10
|
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Display-only override for the rendered label — a node when the term needs
|
|
13
|
+
* more than text (a PHI lock beside it, a badge). `label` is still required
|
|
14
|
+
* and remains the string every accessible name is built from.
|
|
15
|
+
*/
|
|
16
|
+
labelNode?: React.ReactNode;
|
|
10
17
|
/** The value — accepts plain text, Badge, Tag, monospace code, any ReactNode */
|
|
11
18
|
value: React.ReactNode;
|
|
12
19
|
/** Layout direction */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as a } from "../../_chunks/message-card-
|
|
1
|
+
import { M as a } from "../../_chunks/message-card-Dm5Xshup.js";
|
|
2
2
|
import { m as o } from "../../_chunks/message-card.agent-ZLhx3Bs5.js";
|
|
3
3
|
import { i as f } from "../../_chunks/is-safe-url-DkETxeHz.js";
|
|
4
4
|
export {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { type NoteAttachment } from '../_shared/note-attachment';
|
|
4
|
+
/** The note author — name, plus an optional avatar the timeline never shows. */
|
|
5
|
+
export interface NoteTimelineAuthor {
|
|
6
|
+
/** Display name. */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Optional avatar image URL. Unused here; kept so a `NotesPanelNote`
|
|
9
|
+
* passes straight through without reshaping. */
|
|
10
|
+
avatarUrl?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* One note. Structurally a subset of `NotesPanelNote` / `ClinicalNoteCardProps`
|
|
14
|
+
* so a host can pass the very objects it already gives `NotesPanel`.
|
|
15
|
+
*/
|
|
16
|
+
export interface NoteTimelineNote {
|
|
17
|
+
/** Stable identifier. Surfaced as `data-note-id` — the ONLY note field that
|
|
18
|
+
* ever reaches an attribute, because it is the only one that is not PHI. */
|
|
19
|
+
id?: string;
|
|
20
|
+
/** ISO-8601 timestamp the note refers to (the clinical date). Drives the
|
|
21
|
+
* date gutter and the sort. */
|
|
22
|
+
dateIso: string;
|
|
23
|
+
/** ISO-8601 timestamp the note was written, when it differs from `dateIso`. */
|
|
24
|
+
createdAtIso?: string;
|
|
25
|
+
/** Who wrote it. Omit for a system-generated note — the byline is then
|
|
26
|
+
* dropped entirely rather than rendered empty. */
|
|
27
|
+
author?: NoteTimelineAuthor;
|
|
28
|
+
/** The note body. */
|
|
29
|
+
content: string;
|
|
30
|
+
/** How `content` is authored. `'markdown'` (default) runs the small Markdown
|
|
31
|
+
* subset through the shared converter; `'html'` treats it as rich HTML.
|
|
32
|
+
* Either way `SafeHtml` is the only carrier. */
|
|
33
|
+
contentFormat?: 'markdown' | 'html';
|
|
34
|
+
/** Pinned notes sort to the top and take an accent dot. */
|
|
35
|
+
pinned?: boolean;
|
|
36
|
+
/** Flagged for follow-up — a warning dot and a Flag glyph. */
|
|
37
|
+
flagged?: boolean;
|
|
38
|
+
/** The entity the note is bound to; renders the shared attachment chip. */
|
|
39
|
+
attachedTo?: NoteAttachment;
|
|
40
|
+
/** Whether the note is clinical. Structural only — it drives no styling
|
|
41
|
+
* here, but it is carried so the same objects serve both surfaces. */
|
|
42
|
+
clinical?: boolean;
|
|
43
|
+
}
|
|
44
|
+
/** Imperative handle for the agent runtime — identifiers / flags only. */
|
|
45
|
+
export interface NoteTimelineHandle {
|
|
46
|
+
/** Structural snapshot of the RENDERED rows: ids + flags, never a body or
|
|
47
|
+
* an author (both PHI). */
|
|
48
|
+
getNotes: () => Array<{
|
|
49
|
+
id?: string;
|
|
50
|
+
pinned: boolean;
|
|
51
|
+
flagged: boolean;
|
|
52
|
+
clinical: boolean;
|
|
53
|
+
}>;
|
|
54
|
+
/** How many rows are rendered, after `maxItems` is applied. */
|
|
55
|
+
getVisibleCount: () => number;
|
|
56
|
+
}
|
|
57
|
+
declare const rowVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
58
|
+
export interface NoteTimelineProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof rowVariants> {
|
|
59
|
+
/** Agent-readiness consumer id, surfaced as `data-component-id`. */
|
|
60
|
+
id?: string;
|
|
61
|
+
/** The notes. Sorted pinned-first, then `dateIso` descending. */
|
|
62
|
+
notes: readonly NoteTimelineNote[];
|
|
63
|
+
/** How many rows to render after sorting. Default 3. The remainder is NOT
|
|
64
|
+
* counted or footered here — the host owns that affordance. */
|
|
65
|
+
maxItems?: number;
|
|
66
|
+
/** Lines each note body clamps to. Default 3. */
|
|
67
|
+
lines?: 1 | 2 | 3 | 4 | 5;
|
|
68
|
+
/** Locale for the date gutter. Defaults to the active i18n language. */
|
|
69
|
+
locale?: string;
|
|
70
|
+
/** Rendered in place of the list when `notes` is empty. */
|
|
71
|
+
emptyState?: ReactNode;
|
|
72
|
+
/** Accessible name for the list region. Defaults to `ui.noteTimeline.regionLabel`. */
|
|
73
|
+
'aria-label'?: string;
|
|
74
|
+
}
|
|
75
|
+
export declare const NoteTimeline: import("react").ForwardRefExoticComponent<NoteTimelineProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
76
|
+
export {};
|
|
77
|
+
//# sourceMappingURL=note-timeline.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-
|
|
1
|
+
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-cphK41eP.js";
|
|
2
2
|
export {
|
|
3
3
|
S as ADD_MAX,
|
|
4
4
|
r as ADD_MIN,
|
|
@@ -35,6 +35,13 @@ export interface PanelHeaderProps extends Omit<HTMLAttributes<HTMLElement>, 'tit
|
|
|
35
35
|
divider?: boolean;
|
|
36
36
|
/** Type scale of the heading. Default `'card'`. */
|
|
37
37
|
titleScale?: 'card' | 'section';
|
|
38
|
+
/**
|
|
39
|
+
* Full title for the overflow tooltip when `title` is not a plain string.
|
|
40
|
+
* A string `title` is used as-is and needs nothing here. Pass this when
|
|
41
|
+
* the title is composed (a name plus a badge, say) and there is still a
|
|
42
|
+
* plain-text form worth showing.
|
|
43
|
+
*/
|
|
44
|
+
titleTooltip?: string;
|
|
38
45
|
}
|
|
39
46
|
export declare const PanelHeader: import("react").ForwardRefExoticComponent<PanelHeaderProps & import("react").RefAttributes<HTMLElement>>;
|
|
40
47
|
export {};
|
|
@@ -36,6 +36,8 @@ export interface PatientSummaryCardAiConsent {
|
|
|
36
36
|
/** Optional name of who recorded the grant. */
|
|
37
37
|
grantedBy?: string;
|
|
38
38
|
}
|
|
39
|
+
/** Addressable attention flags — the keys `onFlagActivate` accepts. */
|
|
40
|
+
export type PatientSummaryCardFlagId = 'highlightedAnamnesis' | 'unsignedDocuments' | 'unpaid';
|
|
39
41
|
/** Status flags rendered as glyph badges (counts / amounts only — no PHI). */
|
|
40
42
|
export interface PatientSummaryCardFlags {
|
|
41
43
|
/** Number of anamnesis answers highlighted for clinical attention. */
|
|
@@ -140,6 +142,58 @@ export interface PatientSummaryCardProps extends Omit<ComponentPropsWithoutRef<'
|
|
|
140
142
|
loading?: boolean;
|
|
141
143
|
/** Rendered at the inline-end of the heading row (e.g. an action menu). */
|
|
142
144
|
actionSlot?: ReactNode;
|
|
145
|
+
/**
|
|
146
|
+
* Make an attention chip actionable. A handler turns that chip into a
|
|
147
|
+
* button — "2 unsigned documents" opens the signing flow, the unpaid
|
|
148
|
+
* balance opens invoicing. Without a handler the chip stays a read-only
|
|
149
|
+
* badge, which is the default: most surfaces have nowhere to send the
|
|
150
|
+
* reader.
|
|
151
|
+
*/
|
|
152
|
+
onFlagActivate?: Partial<Record<PatientSummaryCardFlagId, () => void>>;
|
|
153
|
+
/**
|
|
154
|
+
* Explain a chip on hover / focus. The chip states WHAT ("2 unsigned
|
|
155
|
+
* documents"); this states what the reader cannot see — how the signature
|
|
156
|
+
* was requested, why the balance is outstanding.
|
|
157
|
+
*
|
|
158
|
+
* A string renders a `Tooltip`; a node renders a `HoverCard` with that node
|
|
159
|
+
* as its content, for a host that wants the fuller card grammar (an eyebrow,
|
|
160
|
+
* fact rows, a hint line). Either way the chip's own text stays the
|
|
161
|
+
* accessible name and the surface only describes it.
|
|
162
|
+
*/
|
|
163
|
+
flagHover?: Partial<Record<PatientSummaryCardFlagId, ReactNode>>;
|
|
164
|
+
/**
|
|
165
|
+
* Accessible name for the open button a hover CARD shows in its top-end
|
|
166
|
+
* corner. The button appears only where the flag has BOTH a card and an
|
|
167
|
+
* `onFlagActivate` handler — it mirrors the chip's own click so a pointer
|
|
168
|
+
* that has travelled into the card can still act. Name the destination
|
|
169
|
+
* ("Open signing"), not the gesture.
|
|
170
|
+
*
|
|
171
|
+
* Without a label there is no button: a card that merely describes should
|
|
172
|
+
* not sprout an affordance the chip does not have.
|
|
173
|
+
*/
|
|
174
|
+
flagOpenLabel?: Partial<Record<PatientSummaryCardFlagId, string>>;
|
|
175
|
+
/**
|
|
176
|
+
* Extra chips appended to the attention row, for signals the CARD cannot
|
|
177
|
+
* model because they do not belong to the patient. An appointment panel
|
|
178
|
+
* adds its own to-invoice and paid-online chips here; the card keeps its
|
|
179
|
+
* patient-level flags and does not grow an appointment vocabulary.
|
|
180
|
+
*/
|
|
181
|
+
extraChips?: ReactNode;
|
|
182
|
+
/**
|
|
183
|
+
* Master switch — show the edit affordance on fields marked `editable` in
|
|
184
|
+
* `sections`. The card edits through the SAME shared control as
|
|
185
|
+
* `PatientDetails`, so a field offers the same affordance and the same
|
|
186
|
+
* validation wherever it is shown.
|
|
187
|
+
*/
|
|
188
|
+
editable?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* The single write channel. A rejected promise keeps the row in edit mode
|
|
191
|
+
* and shows the message inline — the card never optimistically mutates the
|
|
192
|
+
* value it was given.
|
|
193
|
+
*/
|
|
194
|
+
onFieldSave?: (fieldId: string, value: unknown) => Promise<void>;
|
|
195
|
+
/** Return a message to block the save and keep the row in edit mode. */
|
|
196
|
+
validateField?: (fieldId: string, value: unknown) => string | null;
|
|
143
197
|
/** Fires when the whole card / heading is activated. */
|
|
144
198
|
onActivate?: () => void;
|
|
145
199
|
/** `'elevated'` (default) wraps in `<Card>`; `'flat'` drops the chrome. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-
|
|
1
|
+
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-B0Z8Dwn8.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-
|
|
1
|
+
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-BHMDqW9C.js";
|
|
2
2
|
export {
|
|
3
3
|
r as PaymentForm,
|
|
4
4
|
s as formatPaymentAmount,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as t, M as s, P as e, a as i, b as E, c as r, d as P, S as _, e as n, f as A, g as d, h as l, p as T, i as p, j as C, k as L, s as N, t as O, l as R } from "../../_chunks/periodontal-chart-
|
|
1
|
+
import { B as t, M as s, P as e, a as i, b as E, c as r, d as P, S as _, e as n, f as A, g as d, h as l, p as T, i as p, j as C, k as L, s as N, t as O, l as R } from "../../_chunks/periodontal-chart-BF_e3wZp.js";
|
|
2
2
|
export {
|
|
3
3
|
t as BLEEDING_WARN_PERCENT,
|
|
4
4
|
s as MODERATE_POCKET_MM,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-
|
|
1
|
+
import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-C7pfPOct.js";
|
|
2
2
|
export {
|
|
3
3
|
i as DEFAULT_DIAGNOSIS_FACTORS,
|
|
4
4
|
S as PERIODONTITIS_EXTENTS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as o, a as s, c as i, p as t, r as e } from "../../_chunks/periodontal-risk-chart-
|
|
1
|
+
import { P as o, a as s, c as i, p as t, r as e } from "../../_chunks/periodontal-risk-chart-B2tNFa15.js";
|
|
2
2
|
export {
|
|
3
3
|
o as PERIODONTAL_RISK_FACTORS,
|
|
4
4
|
s as PeriodontalRiskChart,
|