@alfadocs/ui-kit-debug 1.37.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{actions-cell-renderer-CUn1pqEq.js → actions-cell-renderer-BXBy9c0f.js} +3 -3
- package/dist/_chunks/{actions-cell-renderer-CUn1pqEq.js.map → actions-cell-renderer-BXBy9c0f.js.map} +1 -1
- package/dist/_chunks/{agenda-tray-DYGCTIWB.js → agenda-tray-CBaJASb5.js} +4 -4
- package/dist/_chunks/{agenda-tray-DYGCTIWB.js.map → agenda-tray-CBaJASb5.js.map} +1 -1
- package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js → ai-consent-banner-DvtaM3yg.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js.map → ai-consent-banner-DvtaM3yg.js.map} +1 -1
- package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js → ai-prompt-input-DXknpQCB.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js.map → ai-prompt-input-DXknpQCB.js.map} +1 -1
- package/dist/_chunks/{alia-sidebar-B6bXlZZk.js → alia-sidebar-CUqaJNPQ.js} +7 -7
- package/dist/_chunks/{alia-sidebar-B6bXlZZk.js.map → alia-sidebar-CUqaJNPQ.js.map} +1 -1
- package/dist/_chunks/{anamnesis-card-DGwINeNn.js → anamnesis-card-xtEhyojD.js} +2 -2
- package/dist/_chunks/{anamnesis-card-DGwINeNn.js.map → anamnesis-card-xtEhyojD.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-card-GYHa7VGp.js → anamnesis-summary-card-CclBbiXg.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-GYHa7VGp.js.map → anamnesis-summary-card-CclBbiXg.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js → anamnesis-summary-rows-DQUqwWc1.js} +7 -7
- package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js.map → anamnesis-summary-rows-DQUqwWc1.js.map} +1 -1
- package/dist/_chunks/{appointment-card-WsDGBBut.js → appointment-card-TgR_2GKS.js} +134 -102
- package/dist/_chunks/appointment-card-TgR_2GKS.js.map +1 -0
- package/dist/_chunks/{appointment-peek-5S4O1VQP.js → appointment-peek-abiR0T9e.js} +3 -3
- package/dist/_chunks/{appointment-peek-5S4O1VQP.js.map → appointment-peek-abiR0T9e.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-ByfovxqR.js → appointment-timeline-CCnyUYKz.js} +67 -63
- package/dist/_chunks/appointment-timeline-CCnyUYKz.js.map +1 -0
- package/dist/_chunks/{appointment-tray-D6UyJHej.js → appointment-tray-N0yEI8UF.js} +5 -5
- package/dist/_chunks/{appointment-tray-D6UyJHej.js.map → appointment-tray-N0yEI8UF.js.map} +1 -1
- package/dist/_chunks/{audio-recorder-BlQBC7N_.js → audio-recorder-B7dT-Y3v.js} +3 -3
- package/dist/_chunks/{audio-recorder-BlQBC7N_.js.map → audio-recorder-B7dT-Y3v.js.map} +1 -1
- package/dist/_chunks/{balance-badge-cell-B0Z8Dwn8.js → balance-badge-cell-o6LldMUA.js} +5 -5
- package/dist/_chunks/{balance-badge-cell-B0Z8Dwn8.js.map → balance-badge-cell-o6LldMUA.js.map} +1 -1
- package/dist/_chunks/{bishop-score-D5b8tktp.js → bishop-score-Cu70iv9C.js} +2 -2
- package/dist/_chunks/{bishop-score-D5b8tktp.js.map → bishop-score-Cu70iv9C.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-dOKP-vW4.js → bmi-calculator-C9N19aLX.js} +2 -2
- package/dist/_chunks/{bmi-calculator-dOKP-vW4.js.map → bmi-calculator-C9N19aLX.js.map} +1 -1
- package/dist/_chunks/{booking-Dp-9qR6F.js → booking-Dn3jvv3K.js} +6 -6
- package/dist/_chunks/{booking-Dp-9qR6F.js.map → booking-Dn3jvv3K.js.map} +1 -1
- package/dist/_chunks/{button-nJaPh_HC.js → button-CaUe1uyd.js} +11 -7
- package/dist/_chunks/button-CaUe1uyd.js.map +1 -0
- package/dist/_chunks/{button-group-QmN1VdUW.js → button-group-R32U7SyV.js} +2 -2
- package/dist/_chunks/{button-group-QmN1VdUW.js.map → button-group-R32U7SyV.js.map} +1 -1
- package/dist/_chunks/{calendar-7GAUlsNO.js → calendar-ChJQzRw-.js} +2 -2
- package/dist/_chunks/{calendar-7GAUlsNO.js.map → calendar-ChJQzRw-.js.map} +1 -1
- package/dist/_chunks/calendar-workspace-B-fUbm62.js +11372 -0
- package/dist/_chunks/calendar-workspace-B-fUbm62.js.map +1 -0
- package/dist/_chunks/{care-plan-card-COFOI-fI.js → care-plan-card-BOv0NRle.js} +3 -3
- package/dist/_chunks/{care-plan-card-COFOI-fI.js.map → care-plan-card-BOv0NRle.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js → care-plan-entry-card-d-rZD4li.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js.map → care-plan-entry-card-d-rZD4li.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-CbuOuVBw.js → care-plan-header-CEmBXn6-.js} +2 -2
- package/dist/_chunks/{care-plan-header-CbuOuVBw.js.map → care-plan-header-CEmBXn6-.js.map} +1 -1
- package/dist/_chunks/{carousel.agent-Dv4a4M8L.js → carousel.agent-z1yLBpyC.js} +2 -2
- package/dist/_chunks/{carousel.agent-Dv4a4M8L.js.map → carousel.agent-z1yLBpyC.js.map} +1 -1
- package/dist/_chunks/{chart-iWl76PXv.js → chart-PF2krCZC.js} +3 -3
- package/dist/_chunks/{chart-iWl76PXv.js.map → chart-PF2krCZC.js.map} +1 -1
- package/dist/_chunks/{chat-input-qM5QpUSq.js → chat-input-Cj7ZYQr5.js} +2 -2
- package/dist/_chunks/{chat-input-qM5QpUSq.js.map → chat-input-Cj7ZYQr5.js.map} +1 -1
- package/dist/_chunks/{chat-message-RniXtrCH.js → chat-message-BMVxiUIX.js} +3 -3
- package/dist/_chunks/{chat-message-RniXtrCH.js.map → chat-message-BMVxiUIX.js.map} +1 -1
- package/dist/_chunks/{code-block-uVjNSI9g.js → code-block-BB-viuTn.js} +2 -2
- package/dist/_chunks/{code-block-uVjNSI9g.js.map → code-block-BB-viuTn.js.map} +1 -1
- package/dist/_chunks/{connection-status-OEsWjmRk.js → connection-status-BmA9T0UO.js} +3 -3
- package/dist/_chunks/{connection-status-OEsWjmRk.js.map → connection-status-BmA9T0UO.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card--My1H2UD.js → contact-profile-card-Zt6WNg1u.js} +2 -2
- package/dist/_chunks/{contact-profile-card--My1H2UD.js.map → contact-profile-card-Zt6WNg1u.js.map} +1 -1
- package/dist/_chunks/{control-room-rail-DQoHdE1U.js → control-room-rail-CnNZusR5.js} +3 -3
- package/dist/_chunks/{control-room-rail-DQoHdE1U.js.map → control-room-rail-CnNZusR5.js.map} +1 -1
- package/dist/_chunks/{copy-field-fYKpl6aN.js → copy-field-B8XRVmQv.js} +2 -2
- package/dist/_chunks/{copy-field-fYKpl6aN.js.map → copy-field-B8XRVmQv.js.map} +1 -1
- package/dist/_chunks/credit-card-D9XZsHGA.js +15 -0
- package/dist/_chunks/credit-card-D9XZsHGA.js.map +1 -0
- package/dist/_chunks/{cycle-calculator-BJeaXiZv.js → cycle-calculator-BH2StWoT.js} +2 -2
- package/dist/_chunks/{cycle-calculator-BJeaXiZv.js.map → cycle-calculator-BH2StWoT.js.map} +1 -1
- package/dist/_chunks/{dashboard-grid-B23BFzRl.js → dashboard-grid-BcXWL5S9.js} +2 -2
- package/dist/_chunks/{dashboard-grid-B23BFzRl.js.map → dashboard-grid-BcXWL5S9.js.map} +1 -1
- package/dist/_chunks/{data-table-BYGK-gUJ.js → data-table-CcAx_I1w.js} +7 -7
- package/dist/_chunks/{data-table-BYGK-gUJ.js.map → data-table-CcAx_I1w.js.map} +1 -1
- package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js → data-table-tabs-B9SXA5VP.js} +3 -3
- package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js.map → data-table-tabs-B9SXA5VP.js.map} +1 -1
- package/dist/_chunks/{description-list-C1RXMDZ_.js → description-list-BsJ_6CQE.js} +2 -2
- package/dist/_chunks/{description-list-C1RXMDZ_.js.map → description-list-BsJ_6CQE.js.map} +1 -1
- package/dist/_chunks/{document-preview-DsEyRcNd.js → document-preview-COV0BC6n.js} +2 -2
- package/dist/_chunks/{document-preview-DsEyRcNd.js.map → document-preview-COV0BC6n.js.map} +1 -1
- package/dist/_chunks/{document-scanner-CbWVtm7u.js → document-scanner-B1abl-A4.js} +2 -2
- package/dist/_chunks/{document-scanner-CbWVtm7u.js.map → document-scanner-B1abl-A4.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js → due-date-calculator-Buh_mVHq.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js.map → due-date-calculator-Buh_mVHq.js.map} +1 -1
- package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js → editable-currency-cell-renderer-Psb6XKHR.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js.map → editable-currency-cell-renderer-Psb6XKHR.js.map} +1 -1
- package/dist/_chunks/editable-description-ADMVFPUz.js +142 -0
- package/dist/_chunks/editable-description-ADMVFPUz.js.map +1 -0
- package/dist/_chunks/{editor-overlay-8fKAcRsm.js → editor-overlay-9tcPXNWt.js} +2 -2
- package/dist/_chunks/{editor-overlay-8fKAcRsm.js.map → editor-overlay-9tcPXNWt.js.map} +1 -1
- package/dist/_chunks/{empty-state-X0sVPfVo.js → empty-state-BUN_UAWf.js} +2 -2
- package/dist/_chunks/{empty-state-X0sVPfVo.js.map → empty-state-BUN_UAWf.js.map} +1 -1
- package/dist/_chunks/{entity-summary-BbW0mIzU.js → entity-summary-DXejuQ8i.js} +3 -3
- package/dist/_chunks/{entity-summary-BbW0mIzU.js.map → entity-summary-DXejuQ8i.js.map} +1 -1
- package/dist/_chunks/{error-boundary-ayXFCcq4.js → error-boundary-BNT2iQ1w.js} +2 -2
- package/dist/_chunks/{error-boundary-ayXFCcq4.js.map → error-boundary-BNT2iQ1w.js.map} +1 -1
- package/dist/_chunks/{face-scheme-uFvhqz6h.js → face-scheme-Dg6ZyLKb.js} +5 -5
- package/dist/_chunks/{face-scheme-uFvhqz6h.js.map → face-scheme-Dg6ZyLKb.js.map} +1 -1
- package/dist/_chunks/{fetal-weight-C6SxchOv.js → fetal-weight-wx4ycKc6.js} +2 -2
- package/dist/_chunks/{fetal-weight-C6SxchOv.js.map → fetal-weight-wx4ycKc6.js.map} +1 -1
- package/dist/_chunks/{field-array-C9dmRaIM.js → field-array-BW9KeeXG.js} +3 -3
- package/dist/_chunks/{field-array-C9dmRaIM.js.map → field-array-BW9KeeXG.js.map} +1 -1
- package/dist/_chunks/{file-manager-DvkFgj7d.js → file-manager-BfLQxF5t.js} +137 -151
- package/dist/_chunks/file-manager-BfLQxF5t.js.map +1 -0
- package/dist/_chunks/{finished-terminal-Br61Ip4e.js → finished-terminal-DJd7Z_po.js} +2 -2
- package/dist/_chunks/{finished-terminal-Br61Ip4e.js.map → finished-terminal-DJd7Z_po.js.map} +1 -1
- package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js → fiscal-code-input-ODQRd_Sw.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js.map → fiscal-code-input-ODQRd_Sw.js.map} +1 -1
- package/dist/_chunks/folder-BghC8_S2.js +20 -0
- package/dist/_chunks/folder-BghC8_S2.js.map +1 -0
- package/dist/_chunks/{freemium-paywall-BqGk_SBU.js → freemium-paywall-Cz-O9lQD.js} +2 -2
- package/dist/_chunks/{freemium-paywall-BqGk_SBU.js.map → freemium-paywall-Cz-O9lQD.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js → gestational-age-calculator-CwbecTul.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js.map → gestational-age-calculator-CwbecTul.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js → hcg-doubling-BcXriXJe.js} +2 -2
- package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js.map → hcg-doubling-BcXriXJe.js.map} +1 -1
- package/dist/_chunks/{header-BZ4pZlJV.js → header-3o9o9v_T.js} +2 -2
- package/dist/_chunks/{header-BZ4pZlJV.js.map → header-3o9o9v_T.js.map} +1 -1
- package/dist/_chunks/{header-settings-B8mLc03Q.js → header-settings-CTe45iDy.js} +4 -4
- package/dist/_chunks/{header-settings-B8mLc03Q.js.map → header-settings-CTe45iDy.js.map} +1 -1
- package/dist/_chunks/{hover-card-Bcku1GQu.js → hover-card-BMJBVqIf.js} +2 -2
- package/dist/_chunks/{hover-card-Bcku1GQu.js.map → hover-card-BMJBVqIf.js.map} +1 -1
- package/dist/_chunks/{icon-button-8xqRnkdG.js → icon-button-CehAeZoP.js} +2 -2
- package/dist/_chunks/{icon-button-8xqRnkdG.js.map → icon-button-CehAeZoP.js.map} +1 -1
- package/dist/_chunks/{icon-button-group-Dj6CRoYR.js → icon-button-group-DkkdIygu.js} +2 -2
- package/dist/_chunks/{icon-button-group-Dj6CRoYR.js.map → icon-button-group-DkkdIygu.js.map} +1 -1
- package/dist/_chunks/{icon-picker-CTWzlHJr.js → icon-picker-DMEelg9v.js} +3 -3
- package/dist/_chunks/{icon-picker-CTWzlHJr.js.map → icon-picker-DMEelg9v.js.map} +1 -1
- package/dist/_chunks/{image-cropper-C84NDTB7.js → image-cropper-BjPjT7wU.js} +2 -2
- package/dist/_chunks/{image-cropper-C84NDTB7.js.map → image-cropper-BjPjT7wU.js.map} +1 -1
- package/dist/_chunks/{info-tip-ey_Pon2y.js → info-tip-iP2Pm9dh.js} +2 -2
- package/dist/_chunks/{info-tip-ey_Pon2y.js.map → info-tip-iP2Pm9dh.js.map} +1 -1
- package/dist/_chunks/{insert-result-LCNTskNJ.js → insert-result-DPnOBD85.js} +2 -2
- package/dist/_chunks/{insert-result-LCNTskNJ.js.map → insert-result-DPnOBD85.js.map} +1 -1
- package/dist/_chunks/{key-value-pair-DczGb4yz.js → key-value-pair-DaQI_LZB.js} +2 -2
- package/dist/_chunks/{key-value-pair-DczGb4yz.js.map → key-value-pair-DaQI_LZB.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js → link-cell-renderer-s3oHzOwi.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js.map → link-cell-renderer-s3oHzOwi.js.map} +1 -1
- package/dist/_chunks/{locale-picker-BLeHbFSc.js → locale-picker-CH3kfrIG.js} +3 -3
- package/dist/_chunks/{locale-picker-BLeHbFSc.js.map → locale-picker-CH3kfrIG.js.map} +1 -1
- package/dist/_chunks/{map-view-CCAlC9IL.js → map-view-CHw4RL6w.js} +2 -2
- package/dist/_chunks/{map-view-CCAlC9IL.js.map → map-view-CHw4RL6w.js.map} +1 -1
- package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js → marketplace-app-shell-d2EtcUbe.js} +4 -4
- package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js.map → marketplace-app-shell-d2EtcUbe.js.map} +1 -1
- package/dist/_chunks/{message-card-Dm5Xshup.js → message-card-V3sFPiQI.js} +3 -3
- package/dist/_chunks/{message-card-Dm5Xshup.js.map → message-card-V3sFPiQI.js.map} +1 -1
- package/dist/_chunks/{message-tray-BcLyaO-G.js → message-tray-CrRIHfiQ.js} +5 -5
- package/dist/_chunks/{message-tray-BcLyaO-G.js.map → message-tray-CrRIHfiQ.js.map} +1 -1
- package/dist/_chunks/note-timeline-Dn_XTo1s.js +333 -0
- package/dist/_chunks/note-timeline-Dn_XTo1s.js.map +1 -0
- package/dist/_chunks/notes-panel-CAD1Ytcj.js +647 -0
- package/dist/_chunks/notes-panel-CAD1Ytcj.js.map +1 -0
- package/dist/_chunks/{notification-card-ChcK9Wat.js → notification-card-B2gLO6dK.js} +3 -3
- package/dist/_chunks/{notification-card-ChcK9Wat.js.map → notification-card-B2gLO6dK.js.map} +1 -1
- package/dist/_chunks/{notification-tray-CJ8jOe-U.js → notification-tray-BOEKegVV.js} +5 -5
- package/dist/_chunks/{notification-tray-CJ8jOe-U.js.map → notification-tray-BOEKegVV.js.map} +1 -1
- package/dist/_chunks/{optical-prescription-cphK41eP.js → optical-prescription-LGgmtcST.js} +2 -2
- package/dist/_chunks/{optical-prescription-cphK41eP.js.map → optical-prescription-LGgmtcST.js.map} +1 -1
- package/dist/_chunks/{panel-subview-BNXN8OEL.js → panel-subview-Cc2Wtt7D.js} +52 -52
- package/dist/_chunks/panel-subview-Cc2Wtt7D.js.map +1 -0
- package/dist/_chunks/{patient-details-2cIaL-Zb.js → patient-details-C8ImUrVg.js} +3 -3
- package/dist/_chunks/{patient-details-2cIaL-Zb.js.map → patient-details-C8ImUrVg.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-IHb2VFc2.js → patient-field-row-BRSOKvme.js} +7 -7
- package/dist/_chunks/{patient-field-row-IHb2VFc2.js.map → patient-field-row-BRSOKvme.js.map} +1 -1
- package/dist/_chunks/{patient-search-D08b6jgj.js → patient-search-5QcmQKJD.js} +2 -2
- package/dist/_chunks/{patient-search-D08b6jgj.js.map → patient-search-5QcmQKJD.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-BzmJH9a-.js → patient-summary-card-BhmKB2KR.js} +8 -8
- package/dist/_chunks/patient-summary-card-BhmKB2KR.js.map +1 -0
- package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js → payment-automation-upsell-BKmBXU4i.js} +17 -16
- package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js.map → payment-automation-upsell-BKmBXU4i.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-BxcdvxKR.js → payment-request-card-Cer6XXCn.js} +6 -5
- package/dist/_chunks/{payment-request-card-BxcdvxKR.js.map → payment-request-card-Cer6XXCn.js.map} +1 -1
- package/dist/_chunks/{periodontal-chart-BF_e3wZp.js → periodontal-chart-DJoZS_o7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-BF_e3wZp.js.map → periodontal-chart-DJoZS_o7.js.map} +1 -1
- package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js → periodontal-chart-card-Nd1ZoYWb.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js.map → periodontal-chart-card-Nd1ZoYWb.js.map} +1 -1
- package/dist/_chunks/{popover-DzR5QYxp.js → popover-DO-pssF3.js} +2 -2
- package/dist/_chunks/{popover-DzR5QYxp.js.map → popover-DO-pssF3.js.map} +1 -1
- package/dist/_chunks/{practice-results-DOcORTkP.js → practice-results-D_jjzwgf.js} +6 -6
- package/dist/_chunks/{practice-results-DOcORTkP.js.map → practice-results-D_jjzwgf.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js → pregnancy-dating-DcyV9ZRD.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js.map → pregnancy-dating-DcyV9ZRD.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js → pregnancy-weight-gain-Bfq4Kwt5.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js.map → pregnancy-weight-gain-Bfq4Kwt5.js.map} +1 -1
- package/dist/_chunks/{privacy-lock-Be39vQUN.js → privacy-lock-CbFCAMM3.js} +3 -3
- package/dist/_chunks/{privacy-lock-Be39vQUN.js.map → privacy-lock-CbFCAMM3.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-C0TO69P7.js → product-hub-panel-w40-_-1s.js} +4 -4
- package/dist/_chunks/{product-hub-panel-C0TO69P7.js.map → product-hub-panel-w40-_-1s.js.map} +1 -1
- package/dist/_chunks/{public-header.agent-Bl1KFwSE.js → public-header.agent-D-EBVskf.js} +3 -3
- package/dist/_chunks/{public-header.agent-Bl1KFwSE.js.map → public-header.agent-D-EBVskf.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js → radiograph-panel.agent-LrILY2lN.js} +4 -4
- package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js.map → radiograph-panel.agent-LrILY2lN.js.map} +1 -1
- package/dist/_chunks/{receipt-euro-C6k4Gzhr.js → receipt-euro-B1cLM_TN.js} +3 -14
- package/dist/_chunks/receipt-euro-B1cLM_TN.js.map +1 -0
- package/dist/_chunks/{reviews-panel-BaHZb_ai.js → reviews-panel-2GVuxGeT.js} +5 -5
- package/dist/_chunks/{reviews-panel-BaHZb_ai.js.map → reviews-panel-2GVuxGeT.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-BTXlorm5.js → rich-text-editor-C6fE-uP4.js} +5 -5
- package/dist/_chunks/{rich-text-editor-BTXlorm5.js.map → rich-text-editor-C6fE-uP4.js.map} +1 -1
- package/dist/_chunks/{session-countdown-QMsnRa1x.js → session-countdown-BqppPrw6.js} +2 -2
- package/dist/_chunks/{session-countdown-QMsnRa1x.js.map → session-countdown-BqppPrw6.js.map} +1 -1
- package/dist/_chunks/{sheet-hm04DGFd.js → sheet-C8WIDFS8.js} +2 -2
- package/dist/_chunks/{sheet-hm04DGFd.js.map → sheet-C8WIDFS8.js.map} +1 -1
- package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js → sign-in-with-alfadocs-button-DWwBJtyE.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js.map → sign-in-with-alfadocs-button-DWwBJtyE.js.map} +1 -1
- package/dist/_chunks/{signature-request-Dej2g86d.js → signature-request-D_j2aQu1.js} +360 -371
- package/dist/_chunks/signature-request-D_j2aQu1.js.map +1 -0
- package/dist/_chunks/{skeleton-CZbwyJAA.js → skeleton-B1KTdJ4N.js} +46 -33
- package/dist/_chunks/skeleton-B1KTdJ4N.js.map +1 -0
- package/dist/_chunks/{slot-grid-8Ko6thzz.js → slot-grid-B3eOPkKD.js} +5 -5
- package/dist/_chunks/{slot-grid-8Ko6thzz.js.map → slot-grid-B3eOPkKD.js.map} +1 -1
- package/dist/_chunks/{streaming-text-DjFqLSt_.js → streaming-text-CE1u_oGa.js} +2 -2
- package/dist/_chunks/{streaming-text-DjFqLSt_.js.map → streaming-text-CE1u_oGa.js.map} +1 -1
- package/dist/_chunks/{task-tray-CQ8UAR2j.js → task-tray-DIwjAIes.js} +4 -4
- package/dist/_chunks/{task-tray-CQ8UAR2j.js.map → task-tray-DIwjAIes.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-CBGMtQ_f.js → tasks-panel-CpcikOeY.js} +6 -6
- package/dist/_chunks/{tasks-panel-CBGMtQ_f.js.map → tasks-panel-CpcikOeY.js.map} +1 -1
- package/dist/_chunks/{theme-toggle-CMz8YfC1.js → theme-toggle-bI0pgDDv.js} +3 -3
- package/dist/_chunks/{theme-toggle-CMz8YfC1.js.map → theme-toggle-bI0pgDDv.js.map} +1 -1
- package/dist/_chunks/{toast-8jqtbfAB.js → toast-ZZfhA5u0.js} +2 -2
- package/dist/_chunks/{toast-8jqtbfAB.js.map → toast-ZZfhA5u0.js.map} +1 -1
- package/dist/_chunks/{token-insert-menu-9Um0JinI.js → token-insert-menu-A9B5AJw6.js} +2 -2
- package/dist/_chunks/{token-insert-menu-9Um0JinI.js.map → token-insert-menu-A9B5AJw6.js.map} +1 -1
- package/dist/_chunks/tool-rail-D89USYE6.js +799 -0
- package/dist/_chunks/tool-rail-D89USYE6.js.map +1 -0
- package/dist/_chunks/{tooth-scheme-BWkYxxjR.js → tooth-scheme-DPAq0vQK.js} +3 -3
- package/dist/_chunks/{tooth-scheme-BWkYxxjR.js.map → tooth-scheme-DPAq0vQK.js.map} +1 -1
- package/dist/_chunks/{transaction-chip-Dth1nThY.js → transaction-chip-CwgcJiqF.js} +47 -46
- package/dist/_chunks/{transaction-chip-Dth1nThY.js.map → transaction-chip-CwgcJiqF.js.map} +1 -1
- package/dist/_chunks/treatment-receipt-dUm99mdn.js +160 -0
- package/dist/_chunks/treatment-receipt-dUm99mdn.js.map +1 -0
- package/dist/_chunks/{unit-converter-BTgU50gk.js → unit-converter-C-LpGzrN.js} +2 -2
- package/dist/_chunks/{unit-converter-BTgU50gk.js.map → unit-converter-C-LpGzrN.js.map} +1 -1
- package/dist/_chunks/user-plus-BtcOLgNU.js +17 -0
- package/dist/_chunks/user-plus-BtcOLgNU.js.map +1 -0
- package/dist/_chunks/{warning-stack-BW5Dwb3z.js → warning-stack-C0glSB7p.js} +3 -3
- package/dist/_chunks/{warning-stack-BW5Dwb3z.js.map → warning-stack-C0glSB7p.js.map} +1 -1
- package/dist/_chunks/{workflow-map-CXdsxvUj.js → workflow-map-DhR_h5yw.js} +5 -5
- package/dist/_chunks/{workflow-map-CXdsxvUj.js.map → workflow-map-DhR_h5yw.js.map} +1 -1
- package/dist/agent-catalog.json +3 -418
- package/dist/agent-i18n/en.json +2 -18
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +24 -0
- package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +15 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/editable-description.d.ts +6 -0
- package/dist/components/editable-description/editable-description.d.ts.map +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/note-timeline/note-timeline.d.ts +17 -0
- package/dist/components/note-timeline/note-timeline.d.ts.map +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +5 -4
- package/dist/components/notes-panel/notes-panel.d.ts.map +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/panel-subview/panel-subview.d.ts.map +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.d.ts.map +1 -1
- package/dist/components/skeleton/index.js +3 -2
- package/dist/components/skeleton/skeleton.d.ts +12 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts.map +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
- package/dist/components/transaction-chip/transaction-chip.d.ts.map +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +8 -0
- package/dist/components/treatment-receipt/treatment-receipt.d.ts.map +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-compat.css +13 -4
- package/dist/i18n/locales/ar.d.ts +235 -183
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +239 -187
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +219 -167
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +223 -171
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +234 -182
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +238 -186
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +52 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +56 -4
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +227 -175
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +231 -179
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +221 -169
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +225 -173
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +235 -183
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +243 -187
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +179 -127
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +183 -131
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +233 -181
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +237 -185
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +224 -172
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +228 -176
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +229 -177
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +233 -181
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +229 -177
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +233 -181
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +228 -176
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +232 -180
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +234 -182
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +238 -186
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +228 -176
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +232 -180
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +229 -177
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +233 -181
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +235 -183
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +239 -187
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +228 -176
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +232 -180
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +785 -784
- package/dist/locales/ar.json +239 -187
- package/dist/locales/de.json +223 -171
- package/dist/locales/el.json +238 -186
- package/dist/locales/en.json +56 -4
- package/dist/locales/es.json +231 -179
- package/dist/locales/fr.json +225 -173
- package/dist/locales/hi.json +239 -187
- package/dist/locales/it.json +183 -131
- package/dist/locales/ja.json +237 -185
- package/dist/locales/nl.json +228 -176
- package/dist/locales/pl.json +233 -181
- package/dist/locales/pt.json +233 -181
- package/dist/locales/ro.json +232 -180
- package/dist/locales/ru.json +238 -186
- package/dist/locales/sq.json +232 -180
- package/dist/locales/sv.json +233 -181
- package/dist/locales/tr.json +239 -187
- package/dist/locales/zh.json +232 -180
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +8 -1
- package/dist/patterns/calendar/calendar-appointment-details.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +10 -5
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-bookings-panel.d.ts +31 -0
- package/dist/patterns/calendar/calendar-bookings-panel.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts +0 -2
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-info-hover.d.ts +15 -1
- package/dist/patterns/calendar/calendar-info-hover.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-privacy.d.ts +23 -0
- package/dist/patterns/calendar/calendar-privacy.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-rail-settle.d.ts +14 -0
- package/dist/patterns/calendar/calendar-rail-settle.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-upcoming-panel.d.ts +32 -0
- package/dist/patterns/calendar/calendar-upcoming-panel.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +62 -0
- package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-workspace.d.ts +14 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +37 -1
- package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.model.d.ts +8 -2
- package/dist/patterns/calendar/calendar.model.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.sheets.d.ts +43 -27
- package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.types.d.ts +6 -0
- package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
- package/dist/patterns/calendar/index.d.ts +2 -2
- package/dist/patterns/calendar/index.d.ts.map +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +3 -1
- package/dist/_chunks/appointment-card-WsDGBBut.js.map +0 -1
- package/dist/_chunks/appointment-timeline-ByfovxqR.js.map +0 -1
- package/dist/_chunks/button-nJaPh_HC.js.map +0 -1
- package/dist/_chunks/calendar-workspace-BqKBj26r.js +0 -9715
- package/dist/_chunks/calendar-workspace-BqKBj26r.js.map +0 -1
- package/dist/_chunks/editable-description-BOfAeY3T.js +0 -112
- package/dist/_chunks/editable-description-BOfAeY3T.js.map +0 -1
- package/dist/_chunks/file-manager-DvkFgj7d.js.map +0 -1
- package/dist/_chunks/note-timeline-CXfSV3yX.js +0 -231
- package/dist/_chunks/note-timeline-CXfSV3yX.js.map +0 -1
- package/dist/_chunks/notes-panel-4y5JioWN.js +0 -556
- package/dist/_chunks/notes-panel-4y5JioWN.js.map +0 -1
- package/dist/_chunks/panel-subview-BNXN8OEL.js.map +0 -1
- package/dist/_chunks/patient-summary-card-BzmJH9a-.js.map +0 -1
- package/dist/_chunks/receipt-euro-C6k4Gzhr.js.map +0 -1
- package/dist/_chunks/signature-request-Dej2g86d.js.map +0 -1
- package/dist/_chunks/skeleton-CZbwyJAA.js.map +0 -1
- package/dist/_chunks/tool-rail-BP8sjxCw.js +0 -667
- package/dist/_chunks/tool-rail-BP8sjxCw.js.map +0 -1
- package/dist/_chunks/treatment-receipt-D4kOLXOk.js +0 -94
- package/dist/_chunks/treatment-receipt-D4kOLXOk.js.map +0 -1
|
@@ -1,556 +0,0 @@
|
|
|
1
|
-
import { jsxs as d, jsx as n, Fragment as We } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as Oe, useRef as f, useState as C, useId as Ge, useCallback as x, useEffect as ue, useImperativeHandle as Ye, useMemo as Je } from "react";
|
|
3
|
-
import { c as Qe } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as Ue } from "react-i18next";
|
|
5
|
-
import { u as Xe } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { C as Ze } from "./clinical-note-card-DdsGYMmI.js";
|
|
7
|
-
import { R as $e } from "./rich-text-editor-BTXlorm5.js";
|
|
8
|
-
import { T as et } from "./text-area-Bt3p7Pt0.js";
|
|
9
|
-
import { A as j } from "./alert-CiQ5Pa3Q.js";
|
|
10
|
-
import { B as S } from "./button-nJaPh_HC.js";
|
|
11
|
-
import { I as fe } from "./icon-button-8xqRnkdG.js";
|
|
12
|
-
import { C as tt } from "./checkbox-CZkipDn7.js";
|
|
13
|
-
import { S as nt } from "./spinner-hbwuKwMf.js";
|
|
14
|
-
import { D as h } from "./dialog-BJiLqhx6.js";
|
|
15
|
-
import { P as it } from "./panel-header-D_mTdhUp.js";
|
|
16
|
-
import { a as at, u as rt, R as lt } from "./use-list-reflow-Cw43nxw5.js";
|
|
17
|
-
import { u as st } from "./use-theme-CAuo6EYT.js";
|
|
18
|
-
import { N as ot } from "./notebook-pen-CO7HoM-W.js";
|
|
19
|
-
import { P as dt } from "./pencil-B1sKKyuT.js";
|
|
20
|
-
import { T as ct } from "./trash-2-uumy3fy1.js";
|
|
21
|
-
function pe(a, c) {
|
|
22
|
-
return typeof a == "object" && a !== null && "message" in a && typeof a.message == "string" && a.message.trim() ? a.message : c;
|
|
23
|
-
}
|
|
24
|
-
const ut = {
|
|
25
|
-
id: "notes-panel",
|
|
26
|
-
// 'submit' backs add_note (compose + commit a note). pin / flag are toggles
|
|
27
|
-
// with no dedicated capability in the closed vocabulary.
|
|
28
|
-
capabilities: ["submit"],
|
|
29
|
-
state: {
|
|
30
|
-
notes: {
|
|
31
|
-
type: "Array<{ id?: string; pinned: boolean; flagged: boolean; clinical: boolean }>",
|
|
32
|
-
descriptionKey: "ui.agent.notesPanel.state.notes",
|
|
33
|
-
description: "Timeline note ids + pinned / flagged / clinical flags. Never the note body or author (both PHI).",
|
|
34
|
-
read: (a) => a.getNotes()
|
|
35
|
-
},
|
|
36
|
-
canAddClinical: {
|
|
37
|
-
type: "boolean",
|
|
38
|
-
descriptionKey: "ui.agent.notesPanel.state.canAddClinical",
|
|
39
|
-
description: "Whether the current user may write clinical notes (the practice_add_clinical_note permission gate).",
|
|
40
|
-
read: (a) => a.canAddClinical()
|
|
41
|
-
},
|
|
42
|
-
currentNoteId: {
|
|
43
|
-
type: "string | null",
|
|
44
|
-
descriptionKey: "ui.agent.notesPanel.state.currentNoteId",
|
|
45
|
-
description: "Id of the note the host has addressed — the one marked, scrolled to and focused. Null when none is. An id only, never note content.",
|
|
46
|
-
read: (a) => a.getCurrentNoteId()
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
actions: {
|
|
50
|
-
add_note: {
|
|
51
|
-
// Writes a clinical/admin note body — patient-identifiable content. PHI.
|
|
52
|
-
safety: "phi",
|
|
53
|
-
argsType: "{ content: string; clinical: boolean }",
|
|
54
|
-
argsSchema: {
|
|
55
|
-
type: "object",
|
|
56
|
-
properties: {
|
|
57
|
-
content: {
|
|
58
|
-
type: "string",
|
|
59
|
-
description: "Note body. Rich HTML for the rich composer, else plain text."
|
|
60
|
-
},
|
|
61
|
-
clinical: {
|
|
62
|
-
type: "boolean",
|
|
63
|
-
description: "Whether the note is clinical. Requires the clinical-note permission; the submission is dropped when the gate is closed."
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
required: ["content", "clinical"]
|
|
67
|
-
},
|
|
68
|
-
openWorld: !0,
|
|
69
|
-
descriptionKey: "ui.agent.notesPanel.actions.addNote",
|
|
70
|
-
description: "Compose and commit a new note. A clinical note requires the clinical-note permission (read canAddClinical first).",
|
|
71
|
-
examples: [
|
|
72
|
-
{
|
|
73
|
-
args: { content: "Patient reported improvement.", clinical: !0 },
|
|
74
|
-
note: "Add a clinical note."
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
invoke: (a, c) => a.addNote(c)
|
|
78
|
-
},
|
|
79
|
-
toggle_pin: {
|
|
80
|
-
// Re-orders the timeline (pinned notes lead) — reversible view write.
|
|
81
|
-
safety: "write",
|
|
82
|
-
argsType: "{ id: string }",
|
|
83
|
-
argsSchema: {
|
|
84
|
-
type: "object",
|
|
85
|
-
properties: { id: { type: "string" } },
|
|
86
|
-
required: ["id"]
|
|
87
|
-
},
|
|
88
|
-
idempotent: !1,
|
|
89
|
-
descriptionKey: "ui.agent.notesPanel.actions.togglePin",
|
|
90
|
-
description: "Toggle the pinned state of the note with the given id. Refused for a deleted note or one whose actions.pin is false.",
|
|
91
|
-
invoke: (a, c) => {
|
|
92
|
-
a.togglePin(c.id);
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
toggle_flag: {
|
|
96
|
-
safety: "write",
|
|
97
|
-
argsType: "{ id: string }",
|
|
98
|
-
argsSchema: {
|
|
99
|
-
type: "object",
|
|
100
|
-
properties: { id: { type: "string" } },
|
|
101
|
-
required: ["id"]
|
|
102
|
-
},
|
|
103
|
-
idempotent: !1,
|
|
104
|
-
descriptionKey: "ui.agent.notesPanel.actions.toggleFlag",
|
|
105
|
-
description: "Toggle the flagged state of the note with the given id.",
|
|
106
|
-
invoke: (a, c) => {
|
|
107
|
-
a.toggleFlag(c.id);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
domHooks: {
|
|
112
|
-
root: {
|
|
113
|
-
attr: "data-component",
|
|
114
|
-
value: "notes-panel",
|
|
115
|
-
description: "Marks the NotesPanel region."
|
|
116
|
-
},
|
|
117
|
-
instanceId: {
|
|
118
|
-
attr: "data-component-id",
|
|
119
|
-
sourceProp: "id",
|
|
120
|
-
description: "Sourced from the id prop. Required to address a specific notes panel from the agent."
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}, ft = Qe(
|
|
124
|
-
"ds:flex ds:flex-col ds:rounded-[var(--radius-md)] ds:border-s-2 ds:ps-[var(--spacing-sm)]",
|
|
125
|
-
{
|
|
126
|
-
variants: {
|
|
127
|
-
current: {
|
|
128
|
-
true: "ds:border-[color:var(--info)] ds:bg-[color:var(--info)]/10 ds:focus:outline-[length:var(--focus-ring-width)] ds:focus:outline-solid ds:focus:outline-[color:var(--ring)] ds:focus:outline-offset-[length:var(--focus-ring-offset)]",
|
|
129
|
-
false: "ds:border-transparent"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
defaultVariants: { current: !1 }
|
|
133
|
-
}
|
|
134
|
-
), pt = "ds:opacity-0", mt = [
|
|
135
|
-
"ds:transition-opacity ds:duration-[var(--animation-duration)]",
|
|
136
|
-
"ds:ease-[var(--ease-out)] ds:motion-reduce:transition-none"
|
|
137
|
-
].join(" ");
|
|
138
|
-
function me(a) {
|
|
139
|
-
return a ? /<img\b/i.test(a) ? !0 : a.replace(/<[^>]*>/g, "").replace(/ /gi, " ").trim().length > 0 : !1;
|
|
140
|
-
}
|
|
141
|
-
const Ht = Oe(
|
|
142
|
-
function({
|
|
143
|
-
id: c,
|
|
144
|
-
notes: z,
|
|
145
|
-
onAddNote: p,
|
|
146
|
-
status: M = "ready",
|
|
147
|
-
onRetry: X,
|
|
148
|
-
currentNoteId: y,
|
|
149
|
-
currentNoteKey: ge,
|
|
150
|
-
composer: m = "rich",
|
|
151
|
-
editorToolbar: he = "standard",
|
|
152
|
-
redactor: ve,
|
|
153
|
-
imageUploadUrl: ye,
|
|
154
|
-
showClinicalToggle: be = !0,
|
|
155
|
-
canAddClinicalNote: N = !0,
|
|
156
|
-
clinicalGatedReason: Pe,
|
|
157
|
-
defaultClinical: w = !1,
|
|
158
|
-
onRequestAiDraft: Ce,
|
|
159
|
-
aiDraftFormat: xe,
|
|
160
|
-
aiPrivacyNotice: we,
|
|
161
|
-
onDictate: Re,
|
|
162
|
-
onProofread: Ve,
|
|
163
|
-
onAutoFormat: ke,
|
|
164
|
-
onTogglePin: A,
|
|
165
|
-
onToggleFlag: H,
|
|
166
|
-
noteActions: Z,
|
|
167
|
-
onEditNote: R,
|
|
168
|
-
editClinical: Te = !1,
|
|
169
|
-
onDeleteNote: g,
|
|
170
|
-
confirmDelete: W = !0,
|
|
171
|
-
title: Ie,
|
|
172
|
-
composerPlaceholder: Ee,
|
|
173
|
-
addNoteLabel: je,
|
|
174
|
-
emptyState: Se,
|
|
175
|
-
className: ze,
|
|
176
|
-
"aria-label": O,
|
|
177
|
-
...Ne
|
|
178
|
-
}, Ae) {
|
|
179
|
-
const { t: i, i18n: $ } = Ue(), v = f(null), [b, V] = C(""), [L, _] = C(w), [u, ee] = C(!1), [te, k] = C(null), [l, G] = C(null), He = Ie ?? i("notesPanel.title", { defaultValue: "Notes" }), ne = Ge(), ie = Ee ?? i("notesPanel.placeholder", { defaultValue: "Add a note…" }), ae = l !== null ? i("notesPanel.edit", { defaultValue: "Edit note" }) : i("notesPanel.composerLabel", { defaultValue: "New note" }), Le = m === "rich" ? me(b) : b.trim().length > 0, _e = x(() => {
|
|
180
|
-
var E;
|
|
181
|
-
if (!(l !== null ? R : p) || u) return;
|
|
182
|
-
const t = m === "rich", o = t ? ((E = v.current) == null ? void 0 : E.getHTML()) ?? b : b.trim();
|
|
183
|
-
if (t ? !me(o) : !o) return;
|
|
184
|
-
const s = () => {
|
|
185
|
-
var P;
|
|
186
|
-
t && ((P = v.current) == null || P.clear()), V(""), _(w), G(null);
|
|
187
|
-
};
|
|
188
|
-
k(null);
|
|
189
|
-
let r;
|
|
190
|
-
try {
|
|
191
|
-
r = l !== null && R ? R(l, { content: o, clinical: L }) : p == null ? void 0 : p({ content: o, clinical: L });
|
|
192
|
-
} catch (P) {
|
|
193
|
-
k(pe(P, i("notesPanel.addFailed")));
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
if (!r || typeof r.then != "function") return s();
|
|
197
|
-
ee(!0), Promise.resolve(r).then(
|
|
198
|
-
s,
|
|
199
|
-
(P) => k(pe(P, i("notesPanel.addFailed")))
|
|
200
|
-
).finally(() => ee(!1));
|
|
201
|
-
}, [
|
|
202
|
-
m,
|
|
203
|
-
b,
|
|
204
|
-
L,
|
|
205
|
-
w,
|
|
206
|
-
l,
|
|
207
|
-
p,
|
|
208
|
-
R,
|
|
209
|
-
u,
|
|
210
|
-
i
|
|
211
|
-
]), re = be && (l === null || Te), le = x(
|
|
212
|
-
(e) => {
|
|
213
|
-
try {
|
|
214
|
-
return new Intl.DateTimeFormat($.language, {
|
|
215
|
-
day: "numeric",
|
|
216
|
-
month: "long",
|
|
217
|
-
year: "numeric",
|
|
218
|
-
hour: "2-digit",
|
|
219
|
-
minute: "2-digit"
|
|
220
|
-
}).format(new Date(e.dateIso));
|
|
221
|
-
} catch {
|
|
222
|
-
return e.dateIso;
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
[$.language]
|
|
226
|
-
), Be = x(
|
|
227
|
-
(e) => {
|
|
228
|
-
var o, s, r;
|
|
229
|
-
if (!e.id || u) return;
|
|
230
|
-
const t = e.content ?? "";
|
|
231
|
-
k(null), G(e.id), _(e.clinical ?? !1), V(t), m === "rich" && ((o = v.current) == null || o.clear(), (s = v.current) == null || s.insertAtCursor(t, { asHtml: !0 })), (r = v.current) == null || r.focus();
|
|
232
|
-
},
|
|
233
|
-
[m, u]
|
|
234
|
-
), B = x(() => {
|
|
235
|
-
var e;
|
|
236
|
-
m === "rich" && ((e = v.current) == null || e.clear()), V(""), _(w), k(null), G(null);
|
|
237
|
-
}, [m, w]), se = l === null || z.some((e) => e.id === l && !e.deleted);
|
|
238
|
-
ue(() => {
|
|
239
|
-
se || B();
|
|
240
|
-
}, [se, B]);
|
|
241
|
-
const Y = [...z].sort(
|
|
242
|
-
(e, t) => Number(t.pinned ?? !1) - Number(e.pinned ?? !1)
|
|
243
|
-
), { resolvedTheme: De } = st(), oe = De.endsWith("-accessible") || void 0, { containerRef: qe } = at({
|
|
244
|
-
key: Y.map((e) => e.id).join(),
|
|
245
|
-
reduceMotion: oe
|
|
246
|
-
}), T = rt({ reduceMotion: oe }), [D, q] = C(null), Fe = x(
|
|
247
|
-
(e) => {
|
|
248
|
-
g && (W ? q(e) : T.leave(e, () => g(e)));
|
|
249
|
-
},
|
|
250
|
-
[W, T, g]
|
|
251
|
-
), Ke = x(() => {
|
|
252
|
-
if (!D || !g) return;
|
|
253
|
-
const e = D;
|
|
254
|
-
q(null), T.leave(e, () => g(e));
|
|
255
|
-
}, [D, g, T]), J = f(null);
|
|
256
|
-
ue(() => {
|
|
257
|
-
var e, t;
|
|
258
|
-
y && ((e = J.current) == null || e.scrollIntoView({ block: "center" }), (t = J.current) == null || t.focus());
|
|
259
|
-
}, [y, ge]);
|
|
260
|
-
const Q = f(z);
|
|
261
|
-
Q.current = z;
|
|
262
|
-
const I = f(p);
|
|
263
|
-
I.current = p;
|
|
264
|
-
const F = f(A);
|
|
265
|
-
F.current = A;
|
|
266
|
-
const K = f(H);
|
|
267
|
-
K.current = H;
|
|
268
|
-
const U = f(N);
|
|
269
|
-
U.current = N;
|
|
270
|
-
const de = f(y);
|
|
271
|
-
de.current = y;
|
|
272
|
-
const ce = f(null);
|
|
273
|
-
Ye(Ae, () => ce.current, []);
|
|
274
|
-
const Me = Je(
|
|
275
|
-
() => ({
|
|
276
|
-
// Ids + flags only — never the note body or author (both PHI).
|
|
277
|
-
getNotes: () => Q.current.map((e) => ({
|
|
278
|
-
id: e.id,
|
|
279
|
-
pinned: !!e.pinned,
|
|
280
|
-
flagged: !!e.flagged,
|
|
281
|
-
clinical: !!e.clinical
|
|
282
|
-
})),
|
|
283
|
-
canAddNote: () => !!I.current,
|
|
284
|
-
canAddClinical: () => U.current,
|
|
285
|
-
getCurrentNoteId: () => de.current ?? null,
|
|
286
|
-
addNote: (e) => {
|
|
287
|
-
var t;
|
|
288
|
-
if (!(e.clinical && !U.current))
|
|
289
|
-
return (t = I.current) == null ? void 0 : t.call(I, e);
|
|
290
|
-
},
|
|
291
|
-
togglePin: (e) => {
|
|
292
|
-
var o, s;
|
|
293
|
-
const t = Q.current.find((r) => r.id === e);
|
|
294
|
-
t && (t.deleted || ((o = t.actions) == null ? void 0 : o.pin) === !1) || (s = F.current) == null || s.call(F, e);
|
|
295
|
-
},
|
|
296
|
-
toggleFlag: (e) => {
|
|
297
|
-
var t;
|
|
298
|
-
return (t = K.current) == null ? void 0 : t.call(K, e);
|
|
299
|
-
}
|
|
300
|
-
}),
|
|
301
|
-
[]
|
|
302
|
-
);
|
|
303
|
-
return Xe(ut, Me, c), /* @__PURE__ */ d(
|
|
304
|
-
"section",
|
|
305
|
-
{
|
|
306
|
-
ref: ce,
|
|
307
|
-
"data-component": "notes-panel",
|
|
308
|
-
"data-component-id": c,
|
|
309
|
-
"aria-labelledby": O ? void 0 : ne,
|
|
310
|
-
"aria-label": O,
|
|
311
|
-
className: ["ds:flex ds:flex-col", ze].filter(Boolean).join(" "),
|
|
312
|
-
...Ne,
|
|
313
|
-
children: [
|
|
314
|
-
/* @__PURE__ */ n(
|
|
315
|
-
it,
|
|
316
|
-
{
|
|
317
|
-
title: He,
|
|
318
|
-
icon: /* @__PURE__ */ n(ot, { "aria-hidden": "true" }),
|
|
319
|
-
headingId: O ? void 0 : ne,
|
|
320
|
-
sticky: !0,
|
|
321
|
-
divider: !0
|
|
322
|
-
}
|
|
323
|
-
),
|
|
324
|
-
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:p-[var(--spacing-md)]", children: [
|
|
325
|
-
p || l !== null ? /* @__PURE__ */ d(
|
|
326
|
-
"div",
|
|
327
|
-
{
|
|
328
|
-
"data-notes-panel-composer": l !== null ? "edit" : "add",
|
|
329
|
-
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
330
|
-
children: [
|
|
331
|
-
m === "rich" ? /* @__PURE__ */ n(
|
|
332
|
-
$e,
|
|
333
|
-
{
|
|
334
|
-
ref: v,
|
|
335
|
-
ariaLabel: ae,
|
|
336
|
-
placeholder: ie,
|
|
337
|
-
toolbar: he,
|
|
338
|
-
minHeight: "fill",
|
|
339
|
-
redactor: ve,
|
|
340
|
-
imageUploadUrl: ye,
|
|
341
|
-
readOnly: u,
|
|
342
|
-
onChange: ({ html: e }) => V(e),
|
|
343
|
-
onRequestAiDraft: Ce,
|
|
344
|
-
aiDraftFormat: xe,
|
|
345
|
-
aiPrivacyNotice: we,
|
|
346
|
-
onDictate: Re,
|
|
347
|
-
onProofread: Ve,
|
|
348
|
-
onAutoFormat: ke
|
|
349
|
-
}
|
|
350
|
-
) : /* @__PURE__ */ n(
|
|
351
|
-
et,
|
|
352
|
-
{
|
|
353
|
-
value: b,
|
|
354
|
-
readOnly: u,
|
|
355
|
-
onChange: (e) => V(e.target.value),
|
|
356
|
-
placeholder: ie,
|
|
357
|
-
autoResize: !0,
|
|
358
|
-
minRows: 2,
|
|
359
|
-
maxRows: 6,
|
|
360
|
-
"aria-label": ae
|
|
361
|
-
}
|
|
362
|
-
),
|
|
363
|
-
/* @__PURE__ */ d(
|
|
364
|
-
"div",
|
|
365
|
-
{
|
|
366
|
-
className: [
|
|
367
|
-
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
368
|
-
re ? "ds:justify-between" : "ds:justify-end"
|
|
369
|
-
].join(" "),
|
|
370
|
-
children: [
|
|
371
|
-
re ? /* @__PURE__ */ n(
|
|
372
|
-
tt,
|
|
373
|
-
{
|
|
374
|
-
size: "sm",
|
|
375
|
-
label: i("notesPanel.clinicalToggle", {
|
|
376
|
-
defaultValue: "Clinical note"
|
|
377
|
-
}),
|
|
378
|
-
checked: L,
|
|
379
|
-
onCheckedChange: (e) => _(e === !0),
|
|
380
|
-
disabled: u || !N,
|
|
381
|
-
disabledReason: N ? void 0 : Pe ?? i("notesPanel.clinicalGated", {
|
|
382
|
-
defaultValue: "You do not have permission to write clinical notes."
|
|
383
|
-
})
|
|
384
|
-
}
|
|
385
|
-
) : null,
|
|
386
|
-
/* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
387
|
-
l !== null ? /* @__PURE__ */ n(
|
|
388
|
-
S,
|
|
389
|
-
{
|
|
390
|
-
type: "button",
|
|
391
|
-
size: "sm",
|
|
392
|
-
intent: "ghost",
|
|
393
|
-
onClick: B,
|
|
394
|
-
disabled: u,
|
|
395
|
-
children: i("notesPanel.cancelEdit", { defaultValue: "Cancel" })
|
|
396
|
-
}
|
|
397
|
-
) : null,
|
|
398
|
-
/* @__PURE__ */ n(
|
|
399
|
-
S,
|
|
400
|
-
{
|
|
401
|
-
type: "button",
|
|
402
|
-
size: "sm",
|
|
403
|
-
onClick: _e,
|
|
404
|
-
disabled: !Le,
|
|
405
|
-
loading: u,
|
|
406
|
-
children: l !== null ? i("notesPanel.saveEdit", { defaultValue: "Save note" }) : je ?? i("notesPanel.add", { defaultValue: "Add note" })
|
|
407
|
-
}
|
|
408
|
-
)
|
|
409
|
-
] })
|
|
410
|
-
]
|
|
411
|
-
}
|
|
412
|
-
),
|
|
413
|
-
te ? /* @__PURE__ */ n(j, { variant: "error", children: /* @__PURE__ */ n(j.Description, { children: te }) }) : null
|
|
414
|
-
]
|
|
415
|
-
}
|
|
416
|
-
) : null,
|
|
417
|
-
M === "loading" ? /* @__PURE__ */ d("p", { className: "ds:m-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
418
|
-
/* @__PURE__ */ n(nt, { size: "sm", label: i("notesPanel.loading") }),
|
|
419
|
-
/* @__PURE__ */ n("span", { "aria-hidden": "true", children: i("notesPanel.loading") })
|
|
420
|
-
] }) : M === "error" ? /* @__PURE__ */ d(j, { variant: "error", children: [
|
|
421
|
-
/* @__PURE__ */ n(j.Description, { children: i("notesPanel.loadError") }),
|
|
422
|
-
X ? /* @__PURE__ */ n(j.Action, { children: /* @__PURE__ */ n(S, { intent: "secondary", size: "sm", onClick: X, children: i("notesPanel.retry") }) }) : null
|
|
423
|
-
] }) : null,
|
|
424
|
-
Y.length > 0 ? /* @__PURE__ */ n(
|
|
425
|
-
"ul",
|
|
426
|
-
{
|
|
427
|
-
ref: qe,
|
|
428
|
-
className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0",
|
|
429
|
-
children: Y.map(({ actions: e, ...t }, o) => {
|
|
430
|
-
const s = y != null && t.id === y, r = t.id, E = r != null && T.isLeaving(r);
|
|
431
|
-
return /* @__PURE__ */ d(
|
|
432
|
-
"li",
|
|
433
|
-
{
|
|
434
|
-
ref: s ? J : void 0,
|
|
435
|
-
tabIndex: s ? -1 : void 0,
|
|
436
|
-
"aria-current": s ? "true" : void 0,
|
|
437
|
-
"data-reflow-id": r,
|
|
438
|
-
"data-leaving": E ? "" : void 0,
|
|
439
|
-
"data-editing": l === r ? "" : void 0,
|
|
440
|
-
className: [
|
|
441
|
-
ft({
|
|
442
|
-
current: s || l === r
|
|
443
|
-
}),
|
|
444
|
-
mt,
|
|
445
|
-
lt,
|
|
446
|
-
E ? pt : ""
|
|
447
|
-
].filter(Boolean).join(" "),
|
|
448
|
-
children: [
|
|
449
|
-
s ? /* @__PURE__ */ n("span", { className: "ds:sr-only", children: i("notesPanel.current", {
|
|
450
|
-
defaultValue: "Current note"
|
|
451
|
-
}) }) : null,
|
|
452
|
-
/* @__PURE__ */ n(
|
|
453
|
-
Ze,
|
|
454
|
-
{
|
|
455
|
-
surface: "elevated",
|
|
456
|
-
truncate: !s,
|
|
457
|
-
headerActions: /* @__PURE__ */ d(We, { children: [
|
|
458
|
-
Z ? Z({ ...t, actions: e }) : null,
|
|
459
|
-
R && r && !t.deleted && (e == null ? void 0 : e.edit) !== !1 ? /* @__PURE__ */ n(
|
|
460
|
-
fe,
|
|
461
|
-
{
|
|
462
|
-
icon: /* @__PURE__ */ n(dt, {}),
|
|
463
|
-
intent: "ghost",
|
|
464
|
-
size: "sm",
|
|
465
|
-
"aria-label": i("notesPanel.editNamed", {
|
|
466
|
-
date: le(t),
|
|
467
|
-
defaultValue: "Edit note · {{date}}"
|
|
468
|
-
}),
|
|
469
|
-
tooltip: i("notesPanel.edit", {
|
|
470
|
-
defaultValue: "Edit note"
|
|
471
|
-
}),
|
|
472
|
-
"aria-pressed": l === r,
|
|
473
|
-
disabled: u,
|
|
474
|
-
"data-notes-panel-edit": "",
|
|
475
|
-
onClick: () => l === r ? B() : Be(t)
|
|
476
|
-
}
|
|
477
|
-
) : null,
|
|
478
|
-
g && r && !t.deleted ? /* @__PURE__ */ n(
|
|
479
|
-
fe,
|
|
480
|
-
{
|
|
481
|
-
icon: /* @__PURE__ */ n(ct, {}),
|
|
482
|
-
intent: "ghost",
|
|
483
|
-
size: "sm",
|
|
484
|
-
"aria-label": i("notesPanel.deleteNamed", {
|
|
485
|
-
date: le(t),
|
|
486
|
-
defaultValue: "Delete note · {{date}}"
|
|
487
|
-
}),
|
|
488
|
-
tooltip: i("notesPanel.delete", {
|
|
489
|
-
defaultValue: "Delete note"
|
|
490
|
-
}),
|
|
491
|
-
onClick: () => Fe(r)
|
|
492
|
-
}
|
|
493
|
-
) : null
|
|
494
|
-
] }),
|
|
495
|
-
...t,
|
|
496
|
-
onTogglePin: A && t.id && (e == null ? void 0 : e.pin) !== !1 && !t.deleted ? () => A(t.id) : void 0,
|
|
497
|
-
onToggleFlag: H && t.id ? () => H(t.id) : void 0
|
|
498
|
-
}
|
|
499
|
-
)
|
|
500
|
-
]
|
|
501
|
-
},
|
|
502
|
-
t.id ?? o
|
|
503
|
-
);
|
|
504
|
-
})
|
|
505
|
-
}
|
|
506
|
-
) : M !== "ready" ? null : Se ?? /* @__PURE__ */ n("p", { className: "ds:m-0 type-body-sm ds:text-[color:var(--muted-foreground)]", children: i("notesPanel.empty", { defaultValue: "No notes yet." }) })
|
|
507
|
-
] }),
|
|
508
|
-
g && W ? /* @__PURE__ */ n(
|
|
509
|
-
h,
|
|
510
|
-
{
|
|
511
|
-
open: D !== null,
|
|
512
|
-
onOpenChange: (e) => !e && q(null),
|
|
513
|
-
children: /* @__PURE__ */ d(h.Content, { variant: "alert", size: "sm", children: [
|
|
514
|
-
/* @__PURE__ */ n(h.Header, { children: /* @__PURE__ */ n(h.Title, { children: i("notesPanel.deleteConfirmTitle", {
|
|
515
|
-
defaultValue: "Delete this note?"
|
|
516
|
-
}) }) }),
|
|
517
|
-
/* @__PURE__ */ n(h.Body, { children: /* @__PURE__ */ n(h.Description, { children: i("notesPanel.deleteConfirmBody", {
|
|
518
|
-
defaultValue: "The note will be removed from the record."
|
|
519
|
-
}) }) }),
|
|
520
|
-
/* @__PURE__ */ d(h.Footer, { children: [
|
|
521
|
-
/* @__PURE__ */ n(h.Close, { asChild: !0, children: /* @__PURE__ */ n(
|
|
522
|
-
S,
|
|
523
|
-
{
|
|
524
|
-
intent: "secondary",
|
|
525
|
-
size: "sm",
|
|
526
|
-
onClick: () => q(null),
|
|
527
|
-
children: i("notesPanel.deleteConfirmCancel", {
|
|
528
|
-
defaultValue: "Cancel"
|
|
529
|
-
})
|
|
530
|
-
}
|
|
531
|
-
) }),
|
|
532
|
-
/* @__PURE__ */ n(
|
|
533
|
-
S,
|
|
534
|
-
{
|
|
535
|
-
intent: "destructive",
|
|
536
|
-
size: "sm",
|
|
537
|
-
onClick: Ke,
|
|
538
|
-
children: i("notesPanel.deleteConfirmAction", {
|
|
539
|
-
defaultValue: "Delete"
|
|
540
|
-
})
|
|
541
|
-
}
|
|
542
|
-
)
|
|
543
|
-
] })
|
|
544
|
-
] })
|
|
545
|
-
}
|
|
546
|
-
) : null
|
|
547
|
-
]
|
|
548
|
-
}
|
|
549
|
-
);
|
|
550
|
-
}
|
|
551
|
-
);
|
|
552
|
-
export {
|
|
553
|
-
Ht as N,
|
|
554
|
-
pe as g
|
|
555
|
-
};
|
|
556
|
-
//# sourceMappingURL=notes-panel-4y5JioWN.js.map
|