@alfadocs/ui-kit 1.149.1 → 1.151.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/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
- package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
- package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
- package/dist/_chunks/{ai-summary-panel-Cdsve-XN.js → ai-summary-panel-DyAHCqaj.js} +4 -4
- package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
- package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-QCv6zW-J.js → anamnesis-summary-rows-CFpaA1GP.js} +4 -4
- package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
- package/dist/_chunks/{appointment-card-HOZrABrQ.js → appointment-card-BPZggqck.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BxNqcA-r.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
- package/dist/_chunks/{appointment-details-panel.identity--_j07UG1.js → appointment-details-panel.identity-9hRo85Lx.js} +91 -79
- package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
- package/dist/_chunks/{appointment-timeline-CuZW-CGT.js → appointment-timeline-COfoHpoJ.js} +4 -4
- package/dist/_chunks/{appointment-tray-CFCxukwq.js → appointment-tray-BlKwDJKi.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-BPz9bQAB.js → balance-badge-cell-OghXENKK.js} +4 -4
- package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-fQleWmJE.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +590 -583
- package/dist/_chunks/{calendar-editor-discard-host-DWS_kM-a.js → calendar-editor-discard-host-BudLsUZO.js} +5 -5
- package/dist/_chunks/{calendar-waiting-list-panel-BKBHfBpn.js → calendar-waiting-list-panel-DukgSOPH.js} +9 -9
- package/dist/_chunks/{calendar-workspace.model-4zmA3BFE.js → calendar-workspace.model-BulUpy0I.js} +2 -2
- package/dist/_chunks/{calendar.sheets-lgAqJB34.js → calendar.sheets-OmTiQdCg.js} +11 -11
- package/dist/_chunks/{calls-panel-BTTfHnPD.js → calls-panel-eohONLia.js} +5 -5
- package/dist/_chunks/{care-plan-card-2U2LuIJD.js → care-plan-card-DJXNWjKB.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CUAlQv1c.js → care-plan-entry-card-W5QvNv8m.js} +2 -2
- package/dist/_chunks/code-BfU9G1ZM.js +15 -0
- package/dist/_chunks/{communications-panel-DDzUyoHi.js → communications-panel-CqiFs8BH.js} +4 -4
- package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
- package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
- package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
- package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
- package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
- package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
- package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
- package/dist/_chunks/{document-preview-oSuJsJ3k.js → document-preview-TbwhY_eK.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
- package/dist/_chunks/{editable-description-BsSjLnSx.js → editable-description-B2F54K4T.js} +34 -33
- package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
- package/dist/_chunks/{entity-summary-CZmGcWi2.js → entity-summary-BNnTP1F6.js} +62 -50
- package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
- package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
- package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
- package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
- package/dist/_chunks/feature-preview-switch-B_8JTya_.js +75 -0
- package/dist/_chunks/{file-manager-Cp3Z4VvM.js → file-manager-DMvYx-Gq.js} +165 -180
- package/dist/_chunks/folder-DvNxod7_.js +36 -0
- package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-DlA54nu5.js → help-me-write-templates-VnvlK87x.js} +3 -3
- package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
- package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
- package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
- package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
- package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
- package/dist/_chunks/message-square-warning-DsGGfd0K.js +22 -0
- package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
- package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
- package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
- package/dist/_chunks/{notes-panel-Cw06dLDm.js → notes-panel-d0I3hOEY.js} +363 -341
- package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
- package/dist/_chunks/{optical-prescription-DZvauMiM.js → optical-prescription-CAnXavjq.js} +3 -3
- package/dist/_chunks/{panel-header-CbtlTe85.js → panel-header-DTc5OFUg.js} +78 -66
- package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
- package/dist/_chunks/{panel-subview-DjBwNV16.js → panel-subview-B5hnQwfQ.js} +3 -3
- package/dist/_chunks/{patient-account-settings-Do0QbDJe.js → patient-account-settings-DQx_9CYV.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-Bxy1_Pfo.js → patient-check-in-resume-BOHcm9hT.js} +6 -6
- package/dist/_chunks/{patient-details-Cj3dp9GB.js → patient-details-wFIzTz7N.js} +4 -4
- package/dist/_chunks/{patient-field-row-DDjsUsc_.js → patient-field-row-BDgfYLgz.js} +202 -201
- package/dist/_chunks/{patient-summary-card-roM9Esfb.js → patient-summary-card-ZunOre3Q.js} +158 -164
- package/dist/_chunks/{payment-request-card-C9VglWsV.js → payment-request-card-BSSfKrcc.js} +3 -3
- package/dist/_chunks/{portal-details-CKF4yFHs.js → portal-details-R-lwrisO.js} +4 -4
- package/dist/_chunks/{portal-documents-DvpAwmSI.js → portal-documents-C6XlWpEl.js} +3 -3
- package/dist/_chunks/{portal-parts-Cvu4PfIY.js → portal-parts-DlvSUZFX.js} +3 -3
- package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
- package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
- package/dist/_chunks/{privacy-mask-zVh0ntm0.js → privacy-mask-CaLBAxzj.js} +3 -3
- package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
- package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BUZPsuSP.js → radiograph-panel.agent-kgCmmgZk.js} +4 -4
- package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
- package/dist/_chunks/{registry-connection-panel-ACOsXu3F.js → registry-connection-panel-BkPPA3Fj.js} +4 -4
- package/dist/_chunks/{reserved.agent-DjvapRF1.js → reserved.agent-C-sMq0pb.js} +5 -5
- package/dist/_chunks/{reviews-panel-Cw5ygAxs.js → reviews-panel-jIz5aP2X.js} +4 -4
- package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
- package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
- package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
- package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
- package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
- package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
- package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
- package/dist/_chunks/{task-editor-C-4I2sBa.js → task-editor-aXjGMwYA.js} +6 -6
- package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
- package/dist/_chunks/{tasks-panel-BDPQPOP6.js → tasks-panel-BdxHb-fX.js} +3 -3
- package/dist/_chunks/text-area-DbxGkpzE.js +269 -0
- package/dist/_chunks/{tool-rail-DjPEiBa2.js → tool-rail-B4p6MmxA.js} +383 -363
- package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
- package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
- package/dist/_chunks/{transaction-chip-CkYd-3ky.js → transaction-chip-6jToArJn.js} +45 -43
- package/dist/_chunks/{transcript-panel-Wr8e4Zgi.js → transcript-panel-Dc0fK4WO.js} +2 -2
- package/dist/_chunks/{treatment-receipt-BZzwvsnY.js → treatment-receipt-CZQV1NkJ.js} +59 -62
- package/dist/_chunks/use-appointment-details-read-BR3TQOHx.js +2091 -0
- package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
- package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
- package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
- package/dist/agent-catalog.json +15 -1
- package/dist/appointment-editor-panel/index.js +4 -4
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/appointment-format.d.ts +4 -0
- package/dist/components/_shared/mark-adrift.d.ts +12 -0
- package/dist/components/_shared/patient-field-row.d.ts +5 -1
- package/dist/components/_shared/safe-html.d.ts +6 -0
- package/dist/components/_shared/tooth-chip.d.ts +21 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +12 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +3 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +12 -2
- package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
- package/dist/components/appointment-details-panel/index.d.ts +1 -0
- package/dist/components/appointment-details-panel/index.js +7 -6
- package/dist/components/appointment-peek/appointment-peek.d.ts +45 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calls-panel/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/communications-panel/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/editable-description/editable-description.d.ts +7 -0
- package/dist/components/editable-description/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/feature-preview-switch/feature-preview-switch.d.ts +55 -0
- package/dist/components/feature-preview-switch/index.d.ts +2 -0
- package/dist/components/feature-preview-switch/index.js +5 -0
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/map-view/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 +8 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +33 -2
- package/dist/components/notification-tray/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 +8 -0
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/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 +9 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/practice-results/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/registry-connection-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +18 -5
- package/dist/components/rich-text-editor/index.d.ts +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -0
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/task-editor/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/text-area/index.js +1 -1
- package/dist/components/text-area/text-area.d.ts +15 -0
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +23 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
- package/dist/components/week-availability/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/host-legacy.css +63 -4
- package/dist/i18n/locales/ar.d.ts +18 -0
- package/dist/i18n/locales/ar.js +18 -3
- package/dist/i18n/locales/de.d.ts +18 -0
- package/dist/i18n/locales/de.js +18 -3
- package/dist/i18n/locales/el.d.ts +18 -0
- package/dist/i18n/locales/el.js +21 -3
- package/dist/i18n/locales/en.d.ts +18 -0
- package/dist/i18n/locales/en.js +21 -3
- package/dist/i18n/locales/es.d.ts +18 -0
- package/dist/i18n/locales/es.js +21 -3
- package/dist/i18n/locales/fr.d.ts +18 -0
- package/dist/i18n/locales/fr.js +21 -3
- package/dist/i18n/locales/hi.d.ts +18 -0
- package/dist/i18n/locales/hi.js +18 -3
- package/dist/i18n/locales/it.d.ts +28 -10
- package/dist/i18n/locales/it.js +31 -13
- package/dist/i18n/locales/ja.d.ts +18 -0
- package/dist/i18n/locales/ja.js +18 -3
- package/dist/i18n/locales/nl.d.ts +18 -0
- package/dist/i18n/locales/nl.js +18 -3
- package/dist/i18n/locales/pl.d.ts +18 -0
- package/dist/i18n/locales/pl.js +21 -3
- package/dist/i18n/locales/pt.d.ts +18 -0
- package/dist/i18n/locales/pt.js +21 -3
- package/dist/i18n/locales/ro.d.ts +18 -0
- package/dist/i18n/locales/ro.js +21 -3
- package/dist/i18n/locales/ru.d.ts +18 -0
- package/dist/i18n/locales/ru.js +18 -3
- package/dist/i18n/locales/sq.d.ts +18 -0
- package/dist/i18n/locales/sq.js +21 -3
- package/dist/i18n/locales/sv.d.ts +18 -0
- package/dist/i18n/locales/sv.js +18 -3
- package/dist/i18n/locales/tr.d.ts +18 -0
- package/dist/i18n/locales/tr.js +18 -3
- package/dist/i18n/locales/zh.d.ts +18 -0
- package/dist/i18n/locales/zh.js +18 -3
- package/dist/index.js +820 -817
- package/dist/locales/ar.json +21 -3
- package/dist/locales/de.json +21 -3
- package/dist/locales/el.json +21 -3
- package/dist/locales/en.json +21 -3
- package/dist/locales/es.json +21 -3
- package/dist/locales/fr.json +21 -3
- package/dist/locales/hi.json +21 -3
- package/dist/locales/it.json +31 -13
- package/dist/locales/ja.json +21 -3
- package/dist/locales/nl.json +21 -3
- package/dist/locales/pl.json +21 -3
- package/dist/locales/pt.json +21 -3
- package/dist/locales/ro.json +21 -3
- package/dist/locales/ru.json +21 -3
- package/dist/locales/sq.json +21 -3
- package/dist/locales/sv.json +21 -3
- package/dist/locales/tr.json +21 -3
- package/dist/locales/zh.json +21 -3
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/error-page/index.js +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/redactor.css +9 -0
- package/dist/safe-html/index.js +33 -19
- package/dist/tokens.css +61 -52
- package/dist/waiting-list-panel/index.js +3 -3
- package/package.json +5 -1
- package/dist/_chunks/appointment-peek-B3raO90X.js +0 -123
- package/dist/_chunks/contact-round-DiSvB3LP.js +0 -18
- package/dist/_chunks/control-room-rail-BQvaYowi.js +0 -416
- package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
- package/dist/_chunks/folder-BghC8_S2.js +0 -20
- package/dist/_chunks/rich-text-editor-eGdYDPK2.js +0 -4405
- package/dist/_chunks/text-area-COMVJ1yE.js +0 -258
- package/dist/_chunks/use-appointment-details-read-Bl1DHXQ2.js +0 -1998
- /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
|
@@ -1,20 +1,32 @@
|
|
|
1
|
-
import { jsxs as a, jsx as t, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { A as
|
|
1
|
+
import { jsxs as a, jsx as t, Fragment as q } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as K, useId as E, useRef as p, useImperativeHandle as P, useMemo as D } from "react";
|
|
3
|
+
import { useTranslation as H } from "react-i18next";
|
|
4
|
+
import { A as g } from "./alert-C4WKViaS.js";
|
|
5
5
|
import { A as O } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B as F } from "./button-Dp4j9ygh.js";
|
|
7
7
|
import { I as G } from "./icon-button-u9VMQn3x.js";
|
|
8
8
|
import { C as L } from "./card-n6W6LW-N.js";
|
|
9
9
|
import { L as W } from "./link-CeV7FoI6.js";
|
|
10
|
-
import { P as X } from "./panel-header-
|
|
10
|
+
import { P as X } from "./panel-header-DTc5OFUg.js";
|
|
11
11
|
import { T as J } from "./timestamp-UMF1llBs.js";
|
|
12
12
|
import { u as Q } from "./registry-DvAUVLHh.js";
|
|
13
13
|
import { C as U } from "./clock-Drd4Wtis.js";
|
|
14
14
|
import { R as Y } from "./refresh-cw-DnI0cLFC.js";
|
|
15
15
|
import { X as Z } from "./x-B5YnXwCz.js";
|
|
16
|
-
import {
|
|
17
|
-
|
|
16
|
+
import { c as ee } from "./createLucideIcon-DhHxpK9K.js";
|
|
17
|
+
/**
|
|
18
|
+
* @license lucide-react v1.22.0 - ISC
|
|
19
|
+
*
|
|
20
|
+
* This source code is licensed under the ISC license.
|
|
21
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
22
|
+
*/
|
|
23
|
+
const te = [
|
|
24
|
+
["path", { d: "M16 2v2", key: "scm5qe" }],
|
|
25
|
+
["path", { d: "M17.915 22a6 6 0 0 0-12 0", key: "suqz9p" }],
|
|
26
|
+
["path", { d: "M8 2v2", key: "pbkmx" }],
|
|
27
|
+
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
28
|
+
["rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", key: "12vinp" }]
|
|
29
|
+
], re = ee("contact-round", te), ae = {
|
|
18
30
|
id: "entity-summary",
|
|
19
31
|
// 'close' backs close; regenerate is a host-driven refresh with no
|
|
20
32
|
// dedicated capability in the closed vocabulary.
|
|
@@ -67,37 +79,37 @@ const te = {
|
|
|
67
79
|
description: "Sourced from the id prop. Required to address a specific summary panel from the agent."
|
|
68
80
|
}
|
|
69
81
|
}
|
|
70
|
-
},
|
|
82
|
+
}, se = "ds:flex ds:size-7 ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-md)] ds:[&_svg]:size-4 ds:bg-primary/10 ds:text-[color:var(--primary)]", ne = "ds:m-0 ds:flex ds:list-disc ds:flex-col ds:gap-[var(--spacing-2xs)] ds:ps-[var(--spacing-md)] ds:break-words type-body-sm", ke = K(
|
|
71
83
|
function({
|
|
72
84
|
id: s,
|
|
73
85
|
title: f,
|
|
74
86
|
entityName: n,
|
|
75
87
|
entityHref: v,
|
|
76
|
-
entityAvatarSrc:
|
|
88
|
+
entityAvatarSrc: M,
|
|
77
89
|
generatedAtIso: i,
|
|
78
90
|
stats: d,
|
|
79
|
-
sections:
|
|
91
|
+
sections: h,
|
|
80
92
|
onRegenerate: o,
|
|
81
|
-
regenerateLabel:
|
|
93
|
+
regenerateLabel: R,
|
|
82
94
|
onClose: l,
|
|
83
95
|
disclaimer: x,
|
|
84
|
-
locale:
|
|
96
|
+
locale: j,
|
|
85
97
|
showHeader: b = !0,
|
|
86
|
-
className:
|
|
87
|
-
"aria-label":
|
|
88
|
-
...
|
|
89
|
-
},
|
|
90
|
-
const { t: c } =
|
|
91
|
-
N.current =
|
|
98
|
+
className: B,
|
|
99
|
+
"aria-label": y,
|
|
100
|
+
...T
|
|
101
|
+
}, V) {
|
|
102
|
+
const { t: c } = H("ui"), S = E(), _ = f ?? c("entitySummary.title", { defaultValue: "AI summary" }), N = p(h);
|
|
103
|
+
N.current = h;
|
|
92
104
|
const k = p(i);
|
|
93
105
|
k.current = i;
|
|
94
106
|
const m = p(o);
|
|
95
107
|
m.current = o;
|
|
96
108
|
const u = p(l);
|
|
97
109
|
u.current = l;
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
const
|
|
110
|
+
const I = p(null);
|
|
111
|
+
P(V, () => I.current, []);
|
|
112
|
+
const $ = D(
|
|
101
113
|
() => ({
|
|
102
114
|
// Structural only — section headings are fixed category labels, never
|
|
103
115
|
// the entity name or the bullet items (both PHI).
|
|
@@ -123,32 +135,32 @@ const te = {
|
|
|
123
135
|
}),
|
|
124
136
|
[]
|
|
125
137
|
);
|
|
126
|
-
Q(
|
|
127
|
-
const
|
|
138
|
+
Q(ae, $, s);
|
|
139
|
+
const A = i ? /* @__PURE__ */ a("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] type-meta ds:text-[color:var(--muted-foreground)]", children: [
|
|
128
140
|
/* @__PURE__ */ t(U, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
129
141
|
/* @__PURE__ */ t("span", { children: c("entitySummary.generatedAt", { defaultValue: "Generated" }) }),
|
|
130
|
-
/* @__PURE__ */ t(J, { value: i, format: "absolute", locale:
|
|
142
|
+
/* @__PURE__ */ t(J, { value: i, format: "absolute", locale: j })
|
|
131
143
|
] }) : null;
|
|
132
144
|
return /* @__PURE__ */ a(
|
|
133
145
|
"section",
|
|
134
146
|
{
|
|
135
|
-
ref:
|
|
147
|
+
ref: I,
|
|
136
148
|
"data-component": "entity-summary",
|
|
137
149
|
"data-component-id": s,
|
|
138
|
-
"aria-labelledby":
|
|
139
|
-
"aria-label":
|
|
140
|
-
className: ["ds:flex ds:flex-col",
|
|
141
|
-
...
|
|
150
|
+
"aria-labelledby": y || !b ? void 0 : S,
|
|
151
|
+
"aria-label": y,
|
|
152
|
+
className: ["ds:flex ds:flex-col", B].filter(Boolean).join(" "),
|
|
153
|
+
...T,
|
|
142
154
|
children: [
|
|
143
155
|
b ? /* @__PURE__ */ t(
|
|
144
156
|
X,
|
|
145
157
|
{
|
|
146
|
-
title:
|
|
147
|
-
icon: /* @__PURE__ */ t(
|
|
148
|
-
headingId:
|
|
158
|
+
title: _,
|
|
159
|
+
icon: /* @__PURE__ */ t(re, { "aria-hidden": "true" }),
|
|
160
|
+
headingId: y ? void 0 : S,
|
|
149
161
|
sticky: !0,
|
|
150
162
|
divider: !0,
|
|
151
|
-
actions: o || l ? /* @__PURE__ */ a(
|
|
163
|
+
actions: o || l ? /* @__PURE__ */ a(q, { children: [
|
|
152
164
|
o ? /* @__PURE__ */ t(
|
|
153
165
|
F,
|
|
154
166
|
{
|
|
@@ -157,7 +169,7 @@ const te = {
|
|
|
157
169
|
intent: "ghost",
|
|
158
170
|
startIcon: /* @__PURE__ */ t(Y, { "aria-hidden": "true" }),
|
|
159
171
|
onClick: o,
|
|
160
|
-
children:
|
|
172
|
+
children: R ?? c("entitySummary.regenerate", {
|
|
161
173
|
defaultValue: "Regenerate"
|
|
162
174
|
})
|
|
163
175
|
}
|
|
@@ -182,7 +194,7 @@ const te = {
|
|
|
182
194
|
O,
|
|
183
195
|
{
|
|
184
196
|
name: n,
|
|
185
|
-
src:
|
|
197
|
+
src: M,
|
|
186
198
|
size: "sm",
|
|
187
199
|
className: "ds:shrink-0"
|
|
188
200
|
}
|
|
@@ -196,9 +208,9 @@ const te = {
|
|
|
196
208
|
children: n
|
|
197
209
|
}
|
|
198
210
|
) : /* @__PURE__ */ t("span", { className: "type-body-sm ds:font-semibold ds:text-[color:var(--foreground)]", children: n }),
|
|
199
|
-
|
|
211
|
+
A
|
|
200
212
|
] })
|
|
201
|
-
] }) :
|
|
213
|
+
] }) : A,
|
|
202
214
|
d && d.length > 0 ? /* @__PURE__ */ t(L, { variant: "elevated", children: /* @__PURE__ */ t(
|
|
203
215
|
"ul",
|
|
204
216
|
{
|
|
@@ -221,7 +233,7 @@ const te = {
|
|
|
221
233
|
}
|
|
222
234
|
) }) : null
|
|
223
235
|
] }) : null,
|
|
224
|
-
|
|
236
|
+
h.map((r) => /* @__PURE__ */ t(ie, { section: r }, r.id)),
|
|
225
237
|
x === !1 ? null : /* @__PURE__ */ t("p", { className: "ds:m-0 type-meta ds:text-[color:var(--muted-foreground)]", children: x ?? c("entitySummary.disclaimer", {
|
|
226
238
|
defaultValue: "Does not replace clinical judgement · verify accuracy before clinical use · BETA"
|
|
227
239
|
}) })
|
|
@@ -231,10 +243,10 @@ const te = {
|
|
|
231
243
|
);
|
|
232
244
|
}
|
|
233
245
|
);
|
|
234
|
-
function
|
|
235
|
-
const s =
|
|
246
|
+
function ie({ section: e }) {
|
|
247
|
+
const s = E();
|
|
236
248
|
return e.tone === "attention" ? /* @__PURE__ */ a(
|
|
237
|
-
|
|
249
|
+
g,
|
|
238
250
|
{
|
|
239
251
|
variant: "warning",
|
|
240
252
|
live: "off",
|
|
@@ -242,10 +254,10 @@ function se({ section: e }) {
|
|
|
242
254
|
className: "ds:shadow-[var(--shadow-card)]",
|
|
243
255
|
...C(e),
|
|
244
256
|
children: [
|
|
245
|
-
/* @__PURE__ */ t(
|
|
246
|
-
/* @__PURE__ */ t(
|
|
257
|
+
/* @__PURE__ */ t(g.Title, { as: "h3", children: e.heading }),
|
|
258
|
+
/* @__PURE__ */ t(z, { section: e }),
|
|
247
259
|
e.footer,
|
|
248
|
-
e.actions ? /* @__PURE__ */ t(
|
|
260
|
+
e.actions ? /* @__PURE__ */ t(g.Action, { children: e.actions }) : null
|
|
249
261
|
]
|
|
250
262
|
}
|
|
251
263
|
) : /* @__PURE__ */ t(
|
|
@@ -256,7 +268,7 @@ function se({ section: e }) {
|
|
|
256
268
|
...C(e),
|
|
257
269
|
children: /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]", children: [
|
|
258
270
|
/* @__PURE__ */ a("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
259
|
-
e.icon ? /* @__PURE__ */ t("span", { "aria-hidden": "true", className:
|
|
271
|
+
e.icon ? /* @__PURE__ */ t("span", { "aria-hidden": "true", className: se, children: e.icon }) : null,
|
|
260
272
|
/* @__PURE__ */ t(
|
|
261
273
|
"h3",
|
|
262
274
|
{
|
|
@@ -268,7 +280,7 @@ function se({ section: e }) {
|
|
|
268
280
|
e.actions ? /* @__PURE__ */ t("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center", children: e.actions }) : null
|
|
269
281
|
] }),
|
|
270
282
|
/* @__PURE__ */ t(
|
|
271
|
-
|
|
283
|
+
z,
|
|
272
284
|
{
|
|
273
285
|
section: e,
|
|
274
286
|
tone: "ds:text-[color:var(--foreground)]"
|
|
@@ -285,13 +297,13 @@ function C(e) {
|
|
|
285
297
|
"aria-busy": e.busy || void 0
|
|
286
298
|
};
|
|
287
299
|
}
|
|
288
|
-
function
|
|
300
|
+
function z({
|
|
289
301
|
section: e,
|
|
290
302
|
tone: s = ""
|
|
291
303
|
}) {
|
|
292
|
-
return e.body !== void 0 ? e.body : e.items.length === 0 && e.emptyLabel ? /* @__PURE__ */ t("p", { className: `ds:m-0 type-body-sm ${s}`.trim(), children: e.emptyLabel }) : /* @__PURE__ */ t("ul", { className: `${
|
|
304
|
+
return e.body !== void 0 ? e.body : e.items.length === 0 && e.emptyLabel ? /* @__PURE__ */ t("p", { className: `ds:m-0 type-body-sm ${s}`.trim(), children: e.emptyLabel }) : /* @__PURE__ */ t("ul", { className: `${ne} ${s}`.trim(), children: e.items.map((f, n) => /* @__PURE__ */ t("li", { children: f }, n)) });
|
|
293
305
|
}
|
|
294
306
|
export {
|
|
295
|
-
|
|
307
|
+
ke as E
|
|
296
308
|
};
|
|
297
|
-
//# sourceMappingURL=entity-summary-
|
|
309
|
+
//# sourceMappingURL=entity-summary-BNnTP1F6.js.map
|
|
@@ -4,7 +4,7 @@ var i = (n, e, r) => u(n, typeof e != "symbol" ? e + "" : e, r);
|
|
|
4
4
|
import { jsx as a, Fragment as y } from "react/jsx-runtime";
|
|
5
5
|
import { Component as f } from "react";
|
|
6
6
|
import { useTranslation as v } from "react-i18next";
|
|
7
|
-
import { E } from "./empty-state-
|
|
7
|
+
import { E } from "./empty-state-qHtpcasr.js";
|
|
8
8
|
function p({
|
|
9
9
|
size: n,
|
|
10
10
|
title: e,
|
|
@@ -87,4 +87,4 @@ i(b, "displayName", "ErrorBoundary");
|
|
|
87
87
|
export {
|
|
88
88
|
b as E
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=error-boundary-
|
|
90
|
+
//# sourceMappingURL=error-boundary-BDS1XStO.js.map
|
|
@@ -6,7 +6,7 @@ import { B as S } from "./button-Dp4j9ygh.js";
|
|
|
6
6
|
import { L as pe } from "./logo-hIsyVE96.js";
|
|
7
7
|
import { i as ye } from "./is-development-CLUAnsU7.js";
|
|
8
8
|
import { i as be } from "./safe-href-5dbsfbQn.js";
|
|
9
|
-
import { a as ve } from "./error-page-illustration-
|
|
9
|
+
import { a as ve } from "./error-page-illustration-CJCjLk_-.js";
|
|
10
10
|
import { loadLocale as ke, LOCALES_WITH_BUNDLES as we } from "../i18n/config.js";
|
|
11
11
|
import { R as Pe } from "./rotate-ccw-BBQnIVTr.js";
|
|
12
12
|
import { L as xe } from "./log-in-OQUEoGhX.js";
|
|
@@ -401,4 +401,4 @@ export {
|
|
|
401
401
|
Te as e,
|
|
402
402
|
Be as r
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=error-page-
|
|
404
|
+
//# sourceMappingURL=error-page-3gWV-Vmj.js.map
|