@alfadocs/ui-kit 1.150.0 → 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-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
- 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-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
- package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
- package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
- package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
- package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-COfoHpoJ.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-BlKwDJKi.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
- package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +337 -334
- package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
- package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
- package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
- package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
- package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
- package/dist/_chunks/code-BfU9G1ZM.js +15 -0
- package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
- 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-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
- package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
- 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-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
- package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
- package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
- package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
- 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-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-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
- package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
- package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
- package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
- package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
- package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DQx_9CYV.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-BOHcm9hT.js} +5 -5
- package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
- package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
- package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
- package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
- package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-R-lwrisO.js} +4 -4
- package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-C6XlWpEl.js} +3 -3
- package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DlvSUZFX.js} +2 -2
- 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-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
- 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-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
- package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
- package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
- package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
- package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
- 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-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
- package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
- package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
- package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-B4p6MmxA.js} +253 -250
- package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
- package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
- package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
- package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
- 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 +1 -1
- package/dist/appointment-editor-panel/index.js +3 -3
- 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/mark-adrift.d.ts +12 -0
- 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 +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -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/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/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/empty-state/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/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- 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 +18 -7
- 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/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- 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 +16 -6
- 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/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +11 -0
- 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 +13 -1
- package/dist/i18n/locales/ar.d.ts +9 -0
- package/dist/i18n/locales/ar.js +11 -2
- package/dist/i18n/locales/de.d.ts +9 -0
- package/dist/i18n/locales/de.js +11 -2
- package/dist/i18n/locales/el.d.ts +9 -0
- package/dist/i18n/locales/el.js +11 -2
- package/dist/i18n/locales/en.d.ts +9 -0
- package/dist/i18n/locales/en.js +10 -1
- package/dist/i18n/locales/es.d.ts +9 -0
- package/dist/i18n/locales/es.js +11 -2
- package/dist/i18n/locales/fr.d.ts +9 -0
- package/dist/i18n/locales/fr.js +11 -2
- package/dist/i18n/locales/hi.d.ts +9 -0
- package/dist/i18n/locales/hi.js +11 -2
- package/dist/i18n/locales/it.d.ts +9 -0
- package/dist/i18n/locales/it.js +11 -2
- package/dist/i18n/locales/ja.d.ts +9 -0
- package/dist/i18n/locales/ja.js +11 -2
- package/dist/i18n/locales/nl.d.ts +9 -0
- package/dist/i18n/locales/nl.js +11 -2
- package/dist/i18n/locales/pl.d.ts +9 -0
- package/dist/i18n/locales/pl.js +11 -2
- package/dist/i18n/locales/pt.d.ts +9 -0
- package/dist/i18n/locales/pt.js +11 -2
- package/dist/i18n/locales/ro.d.ts +9 -0
- package/dist/i18n/locales/ro.js +11 -2
- package/dist/i18n/locales/ru.d.ts +9 -0
- package/dist/i18n/locales/ru.js +11 -2
- package/dist/i18n/locales/sq.d.ts +9 -0
- package/dist/i18n/locales/sq.js +11 -2
- package/dist/i18n/locales/sv.d.ts +9 -0
- package/dist/i18n/locales/sv.js +11 -2
- package/dist/i18n/locales/tr.d.ts +9 -0
- package/dist/i18n/locales/tr.js +11 -2
- package/dist/i18n/locales/zh.d.ts +9 -0
- package/dist/i18n/locales/zh.js +11 -2
- package/dist/index.js +817 -816
- package/dist/locales/ar.json +11 -2
- package/dist/locales/de.json +11 -2
- package/dist/locales/el.json +11 -2
- package/dist/locales/en.json +10 -1
- package/dist/locales/es.json +11 -2
- package/dist/locales/fr.json +11 -2
- package/dist/locales/hi.json +11 -2
- package/dist/locales/it.json +11 -2
- package/dist/locales/ja.json +11 -2
- package/dist/locales/nl.json +11 -2
- package/dist/locales/pl.json +11 -2
- package/dist/locales/pt.json +11 -2
- package/dist/locales/ro.json +11 -2
- package/dist/locales/ru.json +11 -2
- package/dist/locales/sq.json +11 -2
- package/dist/locales/sv.json +11 -2
- package/dist/locales/tr.json +11 -2
- package/dist/locales/zh.json +11 -2
- 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 +1 -1
- package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
- package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
- package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
- package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
- /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { A as
|
|
2
|
+
import { forwardRef as De, useId as Ge, useMemo as Le } from "react";
|
|
3
|
+
import { c as Ue } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Be } from "react-i18next";
|
|
5
|
+
import { A as le } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B as D } from "./badge-BUk4RjTS.js";
|
|
7
|
-
import { I as
|
|
8
|
-
import { C as
|
|
9
|
-
import { K as
|
|
7
|
+
import { I as Re } from "./icon-button-u9VMQn3x.js";
|
|
8
|
+
import { C as oe } from "./card-n6W6LW-N.js";
|
|
9
|
+
import { K as Ke, a as je } from "./key-value-pair-BykhMTcP.js";
|
|
10
10
|
import { L as V } from "./link-CeV7FoI6.js";
|
|
11
11
|
import { S as k } from "./skeleton-tTWJpvAq.js";
|
|
12
|
-
import { T as
|
|
13
|
-
import { T as
|
|
14
|
-
import { T as
|
|
12
|
+
import { T as de } from "./tag-BNlcEJfE.js";
|
|
13
|
+
import { T as We } from "./transaction-chip-6jToArJn.js";
|
|
14
|
+
import { T as qe } from "./tooltip-uEBdD1-5.js";
|
|
15
15
|
import { H as G } from "./hover-card-CS8ulBf9.js";
|
|
16
|
-
import { i as
|
|
17
|
-
import { u as
|
|
18
|
-
import { u as
|
|
19
|
-
import { M as
|
|
20
|
-
import { P as
|
|
21
|
-
import { M as
|
|
22
|
-
import { S as
|
|
23
|
-
import { A as
|
|
24
|
-
import { U as
|
|
25
|
-
import { c as
|
|
26
|
-
import { M as
|
|
27
|
-
import { A as
|
|
28
|
-
import { C as
|
|
16
|
+
import { i as ce } from "./is-safe-url-CEy9CEml.js";
|
|
17
|
+
import { u as He, r as Je, a as Qe, b as Xe, F as Ye, S as Ze, A as Oe, N as ea } from "./patient-field-row-BDgfYLgz.js";
|
|
18
|
+
import { u as aa } from "./registry-DvAUVLHh.js";
|
|
19
|
+
import { M as ta } from "./mail-BqXVF2zH.js";
|
|
20
|
+
import { P as na } from "./phone-FceYcIFQ.js";
|
|
21
|
+
import { M as ia } from "./map-pin-BaY37-Km.js";
|
|
22
|
+
import { S as sa } from "./shield-check-DCJALLVh.js";
|
|
23
|
+
import { A as ra } from "./astroid-BN4f5VXU.js";
|
|
24
|
+
import { U as la } from "./users-BjS_Gg1E.js";
|
|
25
|
+
import { c as oa } from "./createLucideIcon-DhHxpK9K.js";
|
|
26
|
+
import { M as da } from "./message-square-warning-DsGGfd0K.js";
|
|
27
|
+
import { A as ca } from "./arrow-up-right-C2v_MKsK.js";
|
|
28
|
+
import { C as ua } from "./calendar-days-BGWklvE-.js";
|
|
29
29
|
/**
|
|
30
30
|
* @license lucide-react v1.22.0 - ISC
|
|
31
31
|
*
|
|
32
32
|
* This source code is licensed under the ISC license.
|
|
33
33
|
* See the LICENSE file in the root directory of this source tree.
|
|
34
34
|
*/
|
|
35
|
-
const
|
|
35
|
+
const ma = [
|
|
36
36
|
[
|
|
37
37
|
"path",
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const ua = [
|
|
|
42
42
|
],
|
|
43
43
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
44
44
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
45
|
-
],
|
|
45
|
+
], pa = oa("file-exclamation-point", ma), ha = {
|
|
46
46
|
id: "patient-summary-card",
|
|
47
47
|
// The agent surface is a structural snapshot only — the single handle method
|
|
48
48
|
// is a getSummary projection. The card MAY be human-customized (the optional
|
|
@@ -71,7 +71,7 @@ const ua = [
|
|
|
71
71
|
description: "Sourced from the id prop."
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
}, fa = [],
|
|
74
|
+
}, fa = [], ga = Ue("ds:w-full ds:text-[color:var(--foreground)]", {
|
|
75
75
|
variants: {
|
|
76
76
|
// Matches the kit's other `surface` props (ContactProfileCard,
|
|
77
77
|
// OperatorHero). `'elevated'` wraps the content in `<Card>`.
|
|
@@ -91,44 +91,44 @@ const ua = [
|
|
|
91
91
|
density: "comfortable"
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
function
|
|
94
|
+
function va(o) {
|
|
95
95
|
return o.replace(/[^\d+]/g, "");
|
|
96
96
|
}
|
|
97
|
-
const
|
|
98
|
-
highlightedAnamnesis:
|
|
99
|
-
unsignedDocuments:
|
|
100
|
-
},
|
|
97
|
+
const ya = {
|
|
98
|
+
highlightedAnamnesis: da,
|
|
99
|
+
unsignedDocuments: pa
|
|
100
|
+
}, ba = {
|
|
101
101
|
highlightedAnamnesis: "warning",
|
|
102
102
|
unsignedDocuments: "info"
|
|
103
|
-
},
|
|
103
|
+
}, Ca = {
|
|
104
104
|
highlightedAnamnesis: "{{count}} highlighted anamnesis answers",
|
|
105
105
|
unsignedDocuments: "{{count}} unsigned documents"
|
|
106
|
-
},
|
|
106
|
+
}, xa = {
|
|
107
107
|
yes: "Yes",
|
|
108
108
|
no: "No",
|
|
109
109
|
not_specified: "Not specified"
|
|
110
|
-
},
|
|
110
|
+
}, Sa = De(
|
|
111
111
|
({
|
|
112
112
|
name: o,
|
|
113
113
|
title: P,
|
|
114
114
|
ageYears: L,
|
|
115
115
|
dateOfBirth: U,
|
|
116
116
|
gender: B,
|
|
117
|
-
avatarUrl:
|
|
117
|
+
avatarUrl: ue,
|
|
118
118
|
patientUrl: T,
|
|
119
119
|
sections: u,
|
|
120
120
|
visibleFieldOrder: R,
|
|
121
121
|
onVisibleFieldsChange: K,
|
|
122
122
|
email: b,
|
|
123
|
-
emailEnabled:
|
|
123
|
+
emailEnabled: me = !1,
|
|
124
124
|
phone: p,
|
|
125
125
|
cityProvince: j,
|
|
126
|
-
marketingConsent:
|
|
126
|
+
marketingConsent: h,
|
|
127
127
|
aiConsent: d,
|
|
128
128
|
flags: i,
|
|
129
129
|
familyRelations: M,
|
|
130
130
|
assignedTo: C,
|
|
131
|
-
currency:
|
|
131
|
+
currency: pe = "EUR",
|
|
132
132
|
locale: W,
|
|
133
133
|
loading: x = !1,
|
|
134
134
|
actionSlot: q,
|
|
@@ -136,24 +136,24 @@ const va = {
|
|
|
136
136
|
flagHover: F,
|
|
137
137
|
flagOpenLabel: S,
|
|
138
138
|
extraChips: H,
|
|
139
|
-
editable:
|
|
139
|
+
editable: he = !1,
|
|
140
140
|
onFieldSave: fe,
|
|
141
|
-
validateField:
|
|
141
|
+
validateField: ge,
|
|
142
142
|
onActivate: J,
|
|
143
143
|
surface: Q = "elevated",
|
|
144
|
-
density:
|
|
145
|
-
fieldColumns:
|
|
146
|
-
wrapFieldValues:
|
|
144
|
+
density: f = "comfortable",
|
|
145
|
+
fieldColumns: ve = "auto",
|
|
146
|
+
wrapFieldValues: ye = !1,
|
|
147
147
|
"aria-label": E,
|
|
148
148
|
id: g,
|
|
149
|
-
className:
|
|
150
|
-
...
|
|
151
|
-
},
|
|
152
|
-
const { t, i18n:
|
|
149
|
+
className: be,
|
|
150
|
+
...Ce
|
|
151
|
+
}, xe) => {
|
|
152
|
+
const { t, i18n: Se } = Be("ui"), $ = Ge(), Ne = W ?? Se.language ?? "en", z = i == null ? void 0 : i.unpaidAmountCents, N = (i == null ? void 0 : i.unsignedDocumentsCount) ?? 0, A = (i == null ? void 0 : i.highlightedAnamnesisCount) ?? 0, I = z != null && z > 0, Ae = Le(
|
|
153
153
|
() => ({
|
|
154
154
|
getSummary: () => ({
|
|
155
155
|
id: g,
|
|
156
|
-
hasUnpaid:
|
|
156
|
+
hasUnpaid: I,
|
|
157
157
|
unsignedDocumentsCount: N,
|
|
158
158
|
highlightedAnamnesisCount: A,
|
|
159
159
|
aiConsentGranted: d != null
|
|
@@ -161,35 +161,35 @@ const va = {
|
|
|
161
161
|
}),
|
|
162
162
|
[
|
|
163
163
|
g,
|
|
164
|
-
|
|
164
|
+
I,
|
|
165
165
|
N,
|
|
166
166
|
A,
|
|
167
167
|
d
|
|
168
168
|
]
|
|
169
169
|
);
|
|
170
|
-
|
|
171
|
-
const X = !!u && !!K, m =
|
|
170
|
+
aa(ha, Ae, g);
|
|
171
|
+
const X = !!u && !!K, m = He(u ?? fa, {
|
|
172
172
|
value: R,
|
|
173
173
|
onChange: K
|
|
174
|
-
}),
|
|
174
|
+
}), Ve = E ?? t("patientSummaryCard.regionLabel", { defaultValue: "Patient overview" }), ke = {
|
|
175
175
|
mr: "Mr.",
|
|
176
176
|
ms: "Ms."
|
|
177
177
|
}, Y = P ? t(`patientSummaryCard.title.${P}`, {
|
|
178
|
-
defaultValue:
|
|
178
|
+
defaultValue: ke[P]
|
|
179
179
|
}) : void 0, Z = Y ? t("patientSummaryCard.nameWithHonorific", {
|
|
180
180
|
honorific: Y,
|
|
181
181
|
name: o,
|
|
182
182
|
defaultValue: "{{honorific}} {{name}}"
|
|
183
183
|
}) : o, v = [];
|
|
184
|
-
B && v.push(/* @__PURE__ */ e(
|
|
185
|
-
/* @__PURE__ */ e(
|
|
184
|
+
B && v.push(/* @__PURE__ */ e(Ze, { code: B }, "sex")), L != null && v.push(/* @__PURE__ */ e(Oe, { years: L }, "age")), U && v.push(
|
|
185
|
+
/* @__PURE__ */ e(ea, { icon: /* @__PURE__ */ e(ua, {}), children: U }, "dob")
|
|
186
186
|
);
|
|
187
|
-
const
|
|
187
|
+
const Pe = !!T && ce(T), Te = f === "comfortable" ? "xl" : "lg", O = f === "comfortable" ? "type-title-card" : "type-title-item", ee = f === "comfortable" ? "ds:gap-[var(--spacing-md)]" : "ds:gap-[var(--spacing-sm)]", c = [];
|
|
188
188
|
b && c.push({
|
|
189
189
|
key: "email",
|
|
190
|
-
icon: /* @__PURE__ */ e(
|
|
190
|
+
icon: /* @__PURE__ */ e(ta, { "aria-hidden": "true" }),
|
|
191
191
|
label: t("patientSummaryCard.label.email", { defaultValue: "Email" }),
|
|
192
|
-
value:
|
|
192
|
+
value: me ? /* @__PURE__ */ e(
|
|
193
193
|
V,
|
|
194
194
|
{
|
|
195
195
|
href: `mailto:${b}`,
|
|
@@ -201,13 +201,13 @@ const va = {
|
|
|
201
201
|
) : /* @__PURE__ */ e("span", { className: "ds:text-[color:var(--muted-foreground)]", dir: "ltr", children: b })
|
|
202
202
|
}), p && c.push({
|
|
203
203
|
key: "phone",
|
|
204
|
-
icon: /* @__PURE__ */ e(
|
|
204
|
+
icon: /* @__PURE__ */ e(na, { "aria-hidden": "true" }),
|
|
205
205
|
label: p.label ?? t("patientSummaryCard.label.phone", { defaultValue: "Phone" }),
|
|
206
206
|
value: /* @__PURE__ */ n("span", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
207
207
|
/* @__PURE__ */ e(
|
|
208
208
|
V,
|
|
209
209
|
{
|
|
210
|
-
href: `tel:${
|
|
210
|
+
href: `tel:${va(p.prefixAndNumber)}`,
|
|
211
211
|
intent: "default",
|
|
212
212
|
dir: "ltr",
|
|
213
213
|
children: p.prefixAndNumber
|
|
@@ -219,31 +219,31 @@ const va = {
|
|
|
219
219
|
] })
|
|
220
220
|
}), j && c.push({
|
|
221
221
|
key: "cityProvince",
|
|
222
|
-
icon: /* @__PURE__ */ e(
|
|
222
|
+
icon: /* @__PURE__ */ e(ia, { "aria-hidden": "true" }),
|
|
223
223
|
label: t("patientSummaryCard.label.cityProvince", {
|
|
224
224
|
defaultValue: "City / province"
|
|
225
225
|
}),
|
|
226
226
|
value: j
|
|
227
|
-
}),
|
|
227
|
+
}), h && c.push({
|
|
228
228
|
key: "marketingConsent",
|
|
229
|
-
icon: /* @__PURE__ */ e(
|
|
229
|
+
icon: /* @__PURE__ */ e(sa, { "aria-hidden": "true" }),
|
|
230
230
|
label: t("patientSummaryCard.label.marketingConsent", {
|
|
231
231
|
defaultValue: "Marketing consent"
|
|
232
232
|
}),
|
|
233
233
|
value: /* @__PURE__ */ e(
|
|
234
234
|
D,
|
|
235
235
|
{
|
|
236
|
-
variant:
|
|
236
|
+
variant: h === "yes" ? "success" : h === "no" ? "error" : "neutral",
|
|
237
237
|
size: "sm",
|
|
238
238
|
withDot: !0,
|
|
239
|
-
children: t(`patientSummaryCard.marketingConsent.${
|
|
240
|
-
defaultValue:
|
|
239
|
+
children: t(`patientSummaryCard.marketingConsent.${h}`, {
|
|
240
|
+
defaultValue: xa[h]
|
|
241
241
|
})
|
|
242
242
|
}
|
|
243
243
|
)
|
|
244
244
|
}), d && c.push({
|
|
245
245
|
key: "aiConsent",
|
|
246
|
-
icon: /* @__PURE__ */ e(
|
|
246
|
+
icon: /* @__PURE__ */ e(ra, { "aria-hidden": "true" }),
|
|
247
247
|
label: t("patientSummaryCard.label.aiConsent", {
|
|
248
248
|
defaultValue: "AI consent"
|
|
249
249
|
}),
|
|
@@ -257,13 +257,13 @@ const va = {
|
|
|
257
257
|
})
|
|
258
258
|
}), C && c.push({
|
|
259
259
|
key: "assignedTo",
|
|
260
|
-
icon: /* @__PURE__ */ e(
|
|
260
|
+
icon: /* @__PURE__ */ e(la, { "aria-hidden": "true" }),
|
|
261
261
|
label: t("patientSummaryCard.label.assignedTo", {
|
|
262
262
|
defaultValue: "Assigned to"
|
|
263
263
|
}),
|
|
264
264
|
value: /* @__PURE__ */ n("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
265
265
|
/* @__PURE__ */ e(
|
|
266
|
-
|
|
266
|
+
le,
|
|
267
267
|
{
|
|
268
268
|
size: "xs",
|
|
269
269
|
name: C.name,
|
|
@@ -273,18 +273,18 @@ const va = {
|
|
|
273
273
|
/* @__PURE__ */ e("span", { children: C.name })
|
|
274
274
|
] })
|
|
275
275
|
});
|
|
276
|
-
const
|
|
277
|
-
A > 0 &&
|
|
276
|
+
const _ = [];
|
|
277
|
+
A > 0 && _.push({
|
|
278
278
|
key: "highlightedAnamnesis",
|
|
279
279
|
count: A
|
|
280
|
-
}), N > 0 &&
|
|
280
|
+
}), N > 0 && _.push({
|
|
281
281
|
key: "unsignedDocuments",
|
|
282
282
|
count: N
|
|
283
283
|
});
|
|
284
284
|
const ae = (a, r) => {
|
|
285
285
|
const s = w == null ? void 0 : w[a], l = F == null ? void 0 : F[a];
|
|
286
286
|
if (l == null && !s) return r;
|
|
287
|
-
const
|
|
287
|
+
const se = "ds:inline-flex ds:cursor-pointer ds:rounded-[var(--radius-full)] ds:p-0 ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]";
|
|
288
288
|
if (l == null)
|
|
289
289
|
return /* @__PURE__ */ e(
|
|
290
290
|
"button",
|
|
@@ -292,24 +292,24 @@ const va = {
|
|
|
292
292
|
type: "button",
|
|
293
293
|
"data-flag-action": a,
|
|
294
294
|
onClick: s,
|
|
295
|
-
className:
|
|
295
|
+
className: se,
|
|
296
296
|
children: r
|
|
297
297
|
},
|
|
298
298
|
a
|
|
299
299
|
);
|
|
300
|
-
const
|
|
300
|
+
const re = /* @__PURE__ */ e(
|
|
301
301
|
"button",
|
|
302
302
|
{
|
|
303
303
|
type: "button",
|
|
304
304
|
"data-flag-action": s ? a : void 0,
|
|
305
305
|
"data-flag-hover": a,
|
|
306
|
-
className:
|
|
306
|
+
className: se,
|
|
307
307
|
children: r
|
|
308
308
|
},
|
|
309
309
|
a
|
|
310
310
|
);
|
|
311
|
-
return typeof l == "string" ? /* @__PURE__ */ e(
|
|
312
|
-
/* @__PURE__ */ e(G.Trigger, { asChild: !0, children:
|
|
311
|
+
return typeof l == "string" ? /* @__PURE__ */ e(qe, { label: l, side: "bottom", children: re }, a) : /* @__PURE__ */ n(G, { children: [
|
|
312
|
+
/* @__PURE__ */ e(G.Trigger, { asChild: !0, children: re }),
|
|
313
313
|
/* @__PURE__ */ e(
|
|
314
314
|
G.Content,
|
|
315
315
|
{
|
|
@@ -317,9 +317,9 @@ const va = {
|
|
|
317
317
|
align: "start",
|
|
318
318
|
size: "sm",
|
|
319
319
|
headerAction: s && (S != null && S[a]) ? /* @__PURE__ */ e(
|
|
320
|
-
|
|
320
|
+
Re,
|
|
321
321
|
{
|
|
322
|
-
icon: /* @__PURE__ */ e(
|
|
322
|
+
icon: /* @__PURE__ */ e(ca, {}),
|
|
323
323
|
intent: "outline",
|
|
324
324
|
background: "surface",
|
|
325
325
|
size: "sm",
|
|
@@ -332,36 +332,36 @@ const va = {
|
|
|
332
332
|
)
|
|
333
333
|
] }, a);
|
|
334
334
|
}, y = [];
|
|
335
|
-
|
|
335
|
+
I && y.push(
|
|
336
336
|
ae(
|
|
337
337
|
"unpaid",
|
|
338
338
|
/* @__PURE__ */ e(
|
|
339
|
-
|
|
339
|
+
We,
|
|
340
340
|
{
|
|
341
341
|
state: "debt",
|
|
342
|
-
amount:
|
|
343
|
-
currency:
|
|
344
|
-
locale:
|
|
342
|
+
amount: z / 100,
|
|
343
|
+
currency: pe,
|
|
344
|
+
locale: Ne,
|
|
345
345
|
size: "md",
|
|
346
346
|
showLabel: !0
|
|
347
347
|
},
|
|
348
348
|
"unpaid"
|
|
349
349
|
)
|
|
350
350
|
)
|
|
351
|
-
),
|
|
352
|
-
const s =
|
|
351
|
+
), _.forEach(({ key: a, count: r }) => {
|
|
352
|
+
const s = ya[a];
|
|
353
353
|
y.push(
|
|
354
354
|
ae(
|
|
355
355
|
a,
|
|
356
356
|
/* @__PURE__ */ e(
|
|
357
357
|
D,
|
|
358
358
|
{
|
|
359
|
-
variant:
|
|
359
|
+
variant: ba[a],
|
|
360
360
|
size: "md",
|
|
361
361
|
leading: /* @__PURE__ */ e(s, { "aria-hidden": "true" }),
|
|
362
362
|
children: t(`patientSummaryCard.flag.${a}`, {
|
|
363
363
|
count: r,
|
|
364
|
-
defaultValue:
|
|
364
|
+
defaultValue: Ca[a]
|
|
365
365
|
})
|
|
366
366
|
},
|
|
367
367
|
a
|
|
@@ -369,7 +369,7 @@ const va = {
|
|
|
369
369
|
)
|
|
370
370
|
);
|
|
371
371
|
}), H && y.push(H);
|
|
372
|
-
const
|
|
372
|
+
const Me = /* @__PURE__ */ n("div", { className: `ds:flex ds:flex-col ${ee}`, children: [
|
|
373
373
|
/* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-md)]", children: [
|
|
374
374
|
/* @__PURE__ */ e(k, { variant: "circular", size: "lg" }),
|
|
375
375
|
/* @__PURE__ */ n("div", { className: "ds:flex ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
@@ -378,7 +378,7 @@ const va = {
|
|
|
378
378
|
] })
|
|
379
379
|
] }),
|
|
380
380
|
/* @__PURE__ */ e(k, { variant: "text", lines: 3 })
|
|
381
|
-
] }),
|
|
381
|
+
] }), we = Pe ? /* @__PURE__ */ e(
|
|
382
382
|
V,
|
|
383
383
|
{
|
|
384
384
|
href: T,
|
|
@@ -386,52 +386,59 @@ const va = {
|
|
|
386
386
|
weight: "strong",
|
|
387
387
|
onClick: J,
|
|
388
388
|
className: `${O} ds:no-underline`,
|
|
389
|
-
children: /* @__PURE__ */ e("span", { id:
|
|
389
|
+
children: /* @__PURE__ */ e("span", { id: $, children: Z })
|
|
390
390
|
}
|
|
391
391
|
) : /* @__PURE__ */ e(
|
|
392
392
|
"span",
|
|
393
393
|
{
|
|
394
|
-
id:
|
|
394
|
+
id: $,
|
|
395
395
|
className: `${O} ds:text-[color:var(--foreground)]`,
|
|
396
396
|
children: Z
|
|
397
397
|
}
|
|
398
|
-
),
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
398
|
+
), te = y.length > 0 || v.length > 0, Fe = /* @__PURE__ */ n(
|
|
399
|
+
"div",
|
|
400
|
+
{
|
|
401
|
+
"data-slot": "header",
|
|
402
|
+
className: `ds:flex ds:gap-[var(--spacing-md)] ${te ? "ds:items-start" : "ds:items-center"}`,
|
|
403
|
+
children: [
|
|
404
|
+
/* @__PURE__ */ e(
|
|
405
|
+
le,
|
|
406
|
+
{
|
|
407
|
+
size: Te,
|
|
408
|
+
name: o,
|
|
409
|
+
src: ue,
|
|
410
|
+
className: "ds:shrink-0"
|
|
411
|
+
}
|
|
412
|
+
),
|
|
413
|
+
/* @__PURE__ */ n("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
414
|
+
we,
|
|
415
|
+
te ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
416
|
+
y,
|
|
417
|
+
v
|
|
418
|
+
] }) : null
|
|
419
|
+
] }),
|
|
420
|
+
X || q ? /* @__PURE__ */ n("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
421
|
+
X && u ? /* @__PURE__ */ e(
|
|
422
|
+
Ye,
|
|
423
|
+
{
|
|
424
|
+
sections: u,
|
|
425
|
+
visible: m.visible,
|
|
426
|
+
onToggleField: m.toggleField,
|
|
427
|
+
onToggleSection: m.toggleSection,
|
|
428
|
+
onMoveFieldOnto: m.moveFieldOnto,
|
|
429
|
+
onReset: m.reset
|
|
430
|
+
}
|
|
431
|
+
) : null,
|
|
432
|
+
q
|
|
433
|
+
] }) : null
|
|
434
|
+
]
|
|
435
|
+
}
|
|
436
|
+
), Ee = M && M.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
430
437
|
/* @__PURE__ */ e("span", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: t("patientSummaryCard.label.familyRelations", {
|
|
431
438
|
defaultValue: "Family relations"
|
|
432
439
|
}) }),
|
|
433
440
|
/* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: M.map((a, r) => {
|
|
434
|
-
const s = !!a.relatedPatient.url &&
|
|
441
|
+
const s = !!a.relatedPatient.url && ce(a.relatedPatient.url), l = t("patientSummaryCard.value.familyRelation", {
|
|
435
442
|
relation: a.relation,
|
|
436
443
|
name: a.relatedPatient.name,
|
|
437
444
|
defaultValue: "{{relation}}: {{name}}"
|
|
@@ -442,11 +449,11 @@ const va = {
|
|
|
442
449
|
href: a.relatedPatient.url,
|
|
443
450
|
intent: "default",
|
|
444
451
|
className: "ds:no-underline",
|
|
445
|
-
children: /* @__PURE__ */ e(
|
|
452
|
+
children: /* @__PURE__ */ e(de, { label: l, variant: "neutral" })
|
|
446
453
|
},
|
|
447
454
|
`${a.relation}-${r}`
|
|
448
455
|
) : /* @__PURE__ */ e(
|
|
449
|
-
|
|
456
|
+
de,
|
|
450
457
|
{
|
|
451
458
|
label: l,
|
|
452
459
|
variant: "neutral"
|
|
@@ -454,19 +461,19 @@ const va = {
|
|
|
454
461
|
`${a.relation}-${r}`
|
|
455
462
|
);
|
|
456
463
|
}) })
|
|
457
|
-
] }) : null,
|
|
464
|
+
] }) : null, $e = c.map((a) => ({
|
|
458
465
|
id: a.key,
|
|
459
466
|
label: a.label,
|
|
460
467
|
value: a.value,
|
|
461
468
|
icon: a.icon
|
|
462
469
|
})), ze = u ?? [
|
|
463
|
-
{ id: "contact", heading: "", fields:
|
|
464
|
-
], Ie = u ? m.visible : R,
|
|
470
|
+
{ id: "contact", heading: "", fields: $e }
|
|
471
|
+
], Ie = u ? m.visible : R, ne = Je(
|
|
465
472
|
ze,
|
|
466
473
|
Ie
|
|
467
474
|
).flatMap((a) => a.fields), _e = /* @__PURE__ */ n("div", { className: `ds:flex ds:flex-col ${ee}`, children: [
|
|
468
|
-
|
|
469
|
-
|
|
475
|
+
Fe,
|
|
476
|
+
ne.length > 0 ? (
|
|
470
477
|
// Container-queried so the fields flow into two columns when the
|
|
471
478
|
// card is wide enough (the banner spans the full folder width), and
|
|
472
479
|
// stay single-column in a narrow rail. The list's KeyValuePair
|
|
@@ -480,27 +487,27 @@ const va = {
|
|
|
480
487
|
// label wraps instead of squeezing its value, as KeyValueList's
|
|
481
488
|
// single-column cap does at 40%.
|
|
482
489
|
/* @__PURE__ */ e("div", { className: "ds:@container/pfields", children: /* @__PURE__ */ e(
|
|
483
|
-
|
|
490
|
+
Ke,
|
|
484
491
|
{
|
|
485
492
|
rowGap: "sm",
|
|
486
|
-
className:
|
|
487
|
-
children:
|
|
488
|
-
|
|
493
|
+
className: ve === "auto" ? "ds:@[672px]/pfields:grid-cols-[repeat(2,auto_fit-content(20%)_minmax(0,1fr))]" : void 0,
|
|
494
|
+
children: ne.map((a) => /* @__PURE__ */ e(
|
|
495
|
+
je,
|
|
489
496
|
{
|
|
490
497
|
icon: a.icon ?? void 0,
|
|
491
498
|
label: a.label,
|
|
492
|
-
labelNode: /* @__PURE__ */ e(
|
|
499
|
+
labelNode: /* @__PURE__ */ e(Xe, { field: a }),
|
|
493
500
|
className: "ds:group",
|
|
494
501
|
"data-field-id": a.id,
|
|
495
502
|
value: /* @__PURE__ */ e(
|
|
496
|
-
|
|
503
|
+
Qe,
|
|
497
504
|
{
|
|
498
505
|
field: a,
|
|
499
|
-
editable:
|
|
506
|
+
editable: he,
|
|
500
507
|
onFieldSave: fe,
|
|
501
|
-
validate:
|
|
508
|
+
validate: ge,
|
|
502
509
|
locale: W,
|
|
503
|
-
wrap:
|
|
510
|
+
wrap: ye
|
|
504
511
|
}
|
|
505
512
|
)
|
|
506
513
|
},
|
|
@@ -509,30 +516,30 @@ const va = {
|
|
|
509
516
|
}
|
|
510
517
|
) })
|
|
511
518
|
) : null,
|
|
512
|
-
|
|
513
|
-
] }),
|
|
519
|
+
Ee
|
|
520
|
+
] }), ie = x ? Me : _e;
|
|
514
521
|
return /* @__PURE__ */ e(
|
|
515
522
|
"div",
|
|
516
523
|
{
|
|
517
|
-
ref:
|
|
524
|
+
ref: xe,
|
|
518
525
|
role: "region",
|
|
519
|
-
"aria-label": x || E ?
|
|
520
|
-
"aria-labelledby": x || E ? void 0 :
|
|
526
|
+
"aria-label": x || E ? Ve : void 0,
|
|
527
|
+
"aria-labelledby": x || E ? void 0 : $,
|
|
521
528
|
"aria-busy": x || void 0,
|
|
522
529
|
"data-component": "patient-summary-card",
|
|
523
530
|
"data-component-id": g,
|
|
524
|
-
"data-density":
|
|
531
|
+
"data-density": f,
|
|
525
532
|
id: g,
|
|
526
|
-
className:
|
|
527
|
-
...
|
|
528
|
-
children: Q === "elevated" ? /* @__PURE__ */ e(
|
|
533
|
+
className: ga({ surface: Q, density: f, className: be }),
|
|
534
|
+
...Ce,
|
|
535
|
+
children: Q === "elevated" ? /* @__PURE__ */ e(oe, { variant: "elevated", children: /* @__PURE__ */ e(oe.Body, { children: ie }) }) : ie
|
|
529
536
|
}
|
|
530
537
|
);
|
|
531
538
|
}
|
|
532
539
|
);
|
|
533
|
-
|
|
540
|
+
Sa.displayName = "PatientSummaryCard";
|
|
534
541
|
export {
|
|
535
|
-
|
|
536
|
-
|
|
542
|
+
Sa as P,
|
|
543
|
+
ha as p
|
|
537
544
|
};
|
|
538
|
-
//# sourceMappingURL=patient-summary-card-
|
|
545
|
+
//# sourceMappingURL=patient-summary-card-ZunOre3Q.js.map
|
|
@@ -4,7 +4,7 @@ import { c as K } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { B as O } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as D } from "./card-n6W6LW-N.js";
|
|
7
|
-
import { D as d } from "./description-list-
|
|
7
|
+
import { D as d } from "./description-list-DaldSpGy.js";
|
|
8
8
|
import { K as Y, a as H } from "./key-value-pair-BykhMTcP.js";
|
|
9
9
|
import { T as j } from "./transaction-chip-6jToArJn.js";
|
|
10
10
|
import { u as W } from "./registry-DvAUVLHh.js";
|
|
@@ -440,4 +440,4 @@ export {
|
|
|
440
440
|
Ce as b,
|
|
441
441
|
me as p
|
|
442
442
|
};
|
|
443
|
-
//# sourceMappingURL=payment-request-card-
|
|
443
|
+
//# sourceMappingURL=payment-request-card-BSSfKrcc.js.map
|