@alfadocs/ui-kit 1.56.0 → 1.58.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-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
- package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/alia-sidebar-dybRpWml.js +1284 -0
- package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-M-FUkw9p.js} +6 -6
- package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CGoJZlKf.js} +3 -3
- package/dist/_chunks/{booking-WyNGKPE2.js → booking-CiFSAMR-.js} +4 -4
- package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-DNHzjG7O.js} +19 -19
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
- package/dist/_chunks/{chart-HsF1KHbx.js → chart-ZMkX-Gqy.js} +338 -341
- package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
- package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
- package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-Yn5xiGzs.js} +3 -3
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
- package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-DEtkQR1F.js} +4 -4
- package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-DiyOSQk9.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-CM1p6qkm.js} +3 -3
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-rOFTawXk.js} +3 -3
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-C1wOyxDF.js} +3 -3
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
- package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-DmU0poD7.js} +76 -69
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-DHLHsxpW.js} +4 -4
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-DPU-Xg0i.js} +83 -76
- package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-BCaVuaXz.js} +2 -2
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-jcRSTrp4.js} +7 -7
- package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-kQIfPQOE.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
- package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-D07wgCqV.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DCYX0rPG.js} +103 -96
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-C1SlVSYt.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-DrSR9Sjk.js} +4 -4
- package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-UgXri8h6.js} +490 -485
- package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
- package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
- package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-Dtjk0CVv.js} +3 -3
- package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-dAVgE0_5.js} +3 -3
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-DOJpobp8.js} +3 -3
- package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
- package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-BflEZmcF.js} +7 -6
- package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
- package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-izwoXh-G.js} +8 -8
- package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-an-bpQfF.js} +3 -3
- package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-DlJOgYrZ.js} +80 -57
- package/dist/agent-catalog.json +3 -3
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
- package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
- package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +5 -5
- package/dist/components/chart/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/contact-card/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/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/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-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/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/pdf-viewer/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/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/rich-text-editor/index.js +2 -2
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -5
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/search-bar.d.ts +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.d.ts +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar-move.d.ts +88 -0
- package/dist/components/sidebar/sidebar.d.ts +26 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/host-compat.css +2 -1
- package/dist/i18n/locales/ar.d.ts +24 -0
- package/dist/i18n/locales/ar.js +26 -2
- package/dist/i18n/locales/de.d.ts +24 -0
- package/dist/i18n/locales/de.js +26 -2
- package/dist/i18n/locales/el.d.ts +24 -0
- package/dist/i18n/locales/el.js +26 -2
- package/dist/i18n/locales/en.d.ts +24 -0
- package/dist/i18n/locales/en.js +26 -2
- package/dist/i18n/locales/es.d.ts +24 -0
- package/dist/i18n/locales/es.js +26 -2
- package/dist/i18n/locales/fr.d.ts +24 -0
- package/dist/i18n/locales/fr.js +26 -2
- package/dist/i18n/locales/hi.d.ts +24 -0
- package/dist/i18n/locales/hi.js +26 -2
- package/dist/i18n/locales/it.d.ts +24 -0
- package/dist/i18n/locales/it.js +26 -2
- package/dist/i18n/locales/ja.d.ts +24 -0
- package/dist/i18n/locales/ja.js +26 -2
- package/dist/i18n/locales/nl.d.ts +24 -0
- package/dist/i18n/locales/nl.js +26 -2
- package/dist/i18n/locales/pl.d.ts +24 -0
- package/dist/i18n/locales/pl.js +26 -2
- package/dist/i18n/locales/pt.d.ts +24 -0
- package/dist/i18n/locales/pt.js +26 -2
- package/dist/i18n/locales/ro.d.ts +24 -0
- package/dist/i18n/locales/ro.js +26 -2
- package/dist/i18n/locales/ru.d.ts +24 -0
- package/dist/i18n/locales/ru.js +26 -2
- package/dist/i18n/locales/sq.d.ts +24 -0
- package/dist/i18n/locales/sq.js +26 -2
- package/dist/i18n/locales/sv.d.ts +24 -0
- package/dist/i18n/locales/sv.js +26 -2
- package/dist/i18n/locales/tr.d.ts +24 -0
- package/dist/i18n/locales/tr.js +26 -2
- package/dist/i18n/locales/zh.d.ts +24 -0
- package/dist/i18n/locales/zh.js +26 -2
- package/dist/index.js +204 -203
- package/dist/locales/ar.json +26 -2
- package/dist/locales/de.json +26 -2
- package/dist/locales/el.json +26 -2
- package/dist/locales/en.json +26 -2
- package/dist/locales/es.json +26 -2
- package/dist/locales/fr.json +26 -2
- package/dist/locales/hi.json +26 -2
- package/dist/locales/it.json +26 -2
- package/dist/locales/ja.json +26 -2
- package/dist/locales/nl.json +26 -2
- package/dist/locales/pl.json +26 -2
- package/dist/locales/pt.json +26 -2
- package/dist/locales/ro.json +26 -2
- package/dist/locales/ru.json +26 -2
- package/dist/locales/sq.json +26 -2
- package/dist/locales/sv.json +26 -2
- package/dist/locales/tr.json +26 -2
- package/dist/locales/zh.json +26 -2
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- 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/marketplace-app-shell/marketplace-app-shell.d.ts +40 -10
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js +0 -541
- package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
- package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { jsx as i, jsxs as c, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as i, jsxs as c, Fragment as E } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as oe, useState as re, useCallback as se, useEffect as L, useRef as f, useMemo as de, useImperativeHandle as ce } from "react";
|
|
3
3
|
import * as N from "@radix-ui/react-popover";
|
|
4
|
-
import {
|
|
4
|
+
import { u as le, f as pe } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
5
|
+
import { c as H } from "./index-D2ZczOXr.js";
|
|
5
6
|
import { useTranslation as U } from "react-i18next";
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { I as
|
|
9
|
-
import { B as
|
|
10
|
-
import { S as
|
|
11
|
-
import { S as
|
|
12
|
-
import { C as
|
|
13
|
-
import { S as
|
|
14
|
-
import { N as
|
|
15
|
-
import { u as
|
|
16
|
-
import { c as
|
|
7
|
+
import { u as fe } from "./use-controllable-state-BiY4xTzM.js";
|
|
8
|
+
import { u as me } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
|
+
import { I as ue } from "./icon-button-COX76Jdj.js";
|
|
10
|
+
import { B as A } from "./button-Bn16lcFM.js";
|
|
11
|
+
import { S as F } from "./separator-CYU_bGFn.js";
|
|
12
|
+
import { S as T } from "./skeleton-B1KTdJ4N.js";
|
|
13
|
+
import { C as ge } from "./counter-WsvRuum1.js";
|
|
14
|
+
import { S as ve } from "./scroll-area-CY5SLYNw.js";
|
|
15
|
+
import { N as he } from "./notification-card-BGCIL6Mu.js";
|
|
16
|
+
import { u as ye } from "./registry-DvAUVLHh.js";
|
|
17
|
+
import { c as xe } from "./createLucideIcon-DhHxpK9K.js";
|
|
17
18
|
/**
|
|
18
19
|
* @license lucide-react v1.22.0 - ISC
|
|
19
20
|
*
|
|
20
21
|
* This source code is licensed under the ISC license.
|
|
21
22
|
* See the LICENSE file in the root directory of this source tree.
|
|
22
23
|
*/
|
|
23
|
-
const
|
|
24
|
+
const Ne = [
|
|
24
25
|
["path", { d: "M10.268 21a2 2 0 0 0 3.464 0", key: "vwvbt9" }],
|
|
25
26
|
[
|
|
26
27
|
"path",
|
|
@@ -29,7 +30,7 @@ const he = [
|
|
|
29
30
|
key: "11g9vi"
|
|
30
31
|
}
|
|
31
32
|
]
|
|
32
|
-
], V =
|
|
33
|
+
], V = xe("bell", Ne), Te = {
|
|
33
34
|
id: "notification-tray",
|
|
34
35
|
capabilities: ["open", "close", "select_single", "dismiss", "navigate"],
|
|
35
36
|
state: {
|
|
@@ -157,7 +158,7 @@ const he = [
|
|
|
157
158
|
description: "Stable notification id emitted on each rendered NotificationCard inside the tray."
|
|
158
159
|
}
|
|
159
160
|
}
|
|
160
|
-
},
|
|
161
|
+
}, be = H(
|
|
161
162
|
"ds:relative ds:inline-flex ds:items-center",
|
|
162
163
|
{
|
|
163
164
|
variants: {
|
|
@@ -170,7 +171,7 @@ const he = [
|
|
|
170
171
|
size: "md"
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
|
-
),
|
|
174
|
+
), we = H(
|
|
174
175
|
[
|
|
175
176
|
"ds:flex ds:flex-col",
|
|
176
177
|
"ds:bg-[var(--popover)] ds:text-[var(--popover-foreground)]",
|
|
@@ -214,8 +215,8 @@ const he = [
|
|
|
214
215
|
size: "md"
|
|
215
216
|
}
|
|
216
217
|
}
|
|
217
|
-
),
|
|
218
|
-
function
|
|
218
|
+
), ze = "ds:absolute ds:-top-[var(--spacing-xs)] ds:-end-[var(--spacing-xs)] ds:pointer-events-none";
|
|
219
|
+
function Ce(t, a) {
|
|
219
220
|
return t > 99 ? a : String(t);
|
|
220
221
|
}
|
|
221
222
|
function S() {
|
|
@@ -225,17 +226,17 @@ function S() {
|
|
|
225
226
|
"aria-hidden": "true",
|
|
226
227
|
className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]",
|
|
227
228
|
children: [
|
|
228
|
-
/* @__PURE__ */ i(
|
|
229
|
+
/* @__PURE__ */ i(T, { variant: "circular", size: "sm" }),
|
|
229
230
|
/* @__PURE__ */ c("div", { className: "ds:flex-1 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
230
|
-
/* @__PURE__ */ i(
|
|
231
|
-
/* @__PURE__ */ i(
|
|
232
|
-
/* @__PURE__ */ i(
|
|
231
|
+
/* @__PURE__ */ i(T, { variant: "text", size: "md", width: "70%" }),
|
|
232
|
+
/* @__PURE__ */ i(T, { variant: "text", size: "sm", width: "90%" }),
|
|
233
|
+
/* @__PURE__ */ i(T, { variant: "text", size: "sm", width: "30%" })
|
|
233
234
|
] })
|
|
234
235
|
]
|
|
235
236
|
}
|
|
236
237
|
);
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
+
function Se() {
|
|
239
240
|
const { t } = U("ui");
|
|
240
241
|
return /* @__PURE__ */ c(
|
|
241
242
|
"div",
|
|
@@ -261,16 +262,16 @@ function we() {
|
|
|
261
262
|
}
|
|
262
263
|
);
|
|
263
264
|
}
|
|
264
|
-
const
|
|
265
|
+
const ke = oe(
|
|
265
266
|
({
|
|
266
267
|
id: t,
|
|
267
268
|
items: a,
|
|
268
|
-
unseenCount:
|
|
269
|
+
unseenCount: b,
|
|
269
270
|
open: W,
|
|
270
271
|
onOpenChange: Y,
|
|
271
272
|
onItemClick: m,
|
|
272
273
|
onDismiss: u,
|
|
273
|
-
onMarkRead:
|
|
274
|
+
onMarkRead: y,
|
|
274
275
|
onMarkAllRead: l,
|
|
275
276
|
loading: k = !1,
|
|
276
277
|
maxVisible: G,
|
|
@@ -282,26 +283,26 @@ const ze = ne(
|
|
|
282
283
|
className: X,
|
|
283
284
|
...Z
|
|
284
285
|
}, $) => {
|
|
285
|
-
var
|
|
286
|
-
const { t: s } = U("ui"), [D,
|
|
286
|
+
var q;
|
|
287
|
+
const { t: s } = U("ui"), [D, v] = fe({
|
|
287
288
|
value: W,
|
|
288
289
|
defaultValue: !1,
|
|
289
290
|
onChange: Y
|
|
290
|
-
}), z = D ?? !1, [
|
|
291
|
+
}), z = D ?? !1, [h, R] = re(
|
|
291
292
|
() => a.map((e) => ({ item: e, leaving: !1 }))
|
|
292
|
-
), j =
|
|
293
|
+
), j = se(() => {
|
|
293
294
|
if (typeof window > "u") return 200;
|
|
294
295
|
const e = window.getComputedStyle(document.documentElement).getPropertyValue("--animation-duration");
|
|
295
296
|
if (!e) return 200;
|
|
296
297
|
const n = e.trim(), o = parseFloat(n);
|
|
297
298
|
return Number.isFinite(o) ? n.endsWith("ms") ? o : o * 1e3 : 200;
|
|
298
299
|
}, []);
|
|
299
|
-
|
|
300
|
+
me(() => {
|
|
300
301
|
R((e) => {
|
|
301
302
|
const n = new Set(a.map((r) => r.id)), o = new Set(e.map((r) => r.item.id)), d = e.map((r) => {
|
|
302
303
|
if (n.has(r.item.id)) {
|
|
303
|
-
const
|
|
304
|
-
return
|
|
304
|
+
const B = a.find((ne) => ne.id === r.item.id);
|
|
305
|
+
return B ? { item: B, leaving: !1 } : { ...r, leaving: !0 };
|
|
305
306
|
}
|
|
306
307
|
return { ...r, leaving: !0 };
|
|
307
308
|
});
|
|
@@ -309,15 +310,15 @@ const ze = ne(
|
|
|
309
310
|
o.has(r.id) || d.push({ item: r, leaving: !1 });
|
|
310
311
|
return d;
|
|
311
312
|
});
|
|
312
|
-
}, [a]),
|
|
313
|
-
if (!
|
|
313
|
+
}, [a]), L(() => {
|
|
314
|
+
if (!h.some((o) => o.leaving)) return;
|
|
314
315
|
const e = j(), n = setTimeout(() => {
|
|
315
316
|
R((o) => o.filter((d) => !d.leaving));
|
|
316
317
|
}, e);
|
|
317
318
|
return () => clearTimeout(n);
|
|
318
|
-
}, [
|
|
319
|
-
const C = f(null), I = f((
|
|
320
|
-
|
|
319
|
+
}, [h, j]);
|
|
320
|
+
const C = f(null), I = f((q = a[0]) == null ? void 0 : q.id);
|
|
321
|
+
L(() => {
|
|
321
322
|
var o;
|
|
322
323
|
const e = (o = a[0]) == null ? void 0 : o.id, n = I.current;
|
|
323
324
|
if (n && e && n !== e && C.current) {
|
|
@@ -332,23 +333,23 @@ const ze = ne(
|
|
|
332
333
|
}
|
|
333
334
|
I.current = e;
|
|
334
335
|
}, [a, s]);
|
|
335
|
-
const x =
|
|
336
|
+
const x = b ?? 0, M = x > 0 ? s("notificationTray.triggerLabel", {
|
|
336
337
|
count: x,
|
|
337
338
|
defaultValue: "Notifications, {{count}} unread"
|
|
338
|
-
}) : s("notificationTray.triggerLabelNone", "Notifications, none unread"), ee =
|
|
339
|
+
}) : s("notificationTray.triggerLabelNone", "Notifications, none unread"), ee = Ce(
|
|
339
340
|
x,
|
|
340
341
|
s("notificationTray.badgeCountOverflow", "99+")
|
|
341
|
-
), te =
|
|
342
|
+
), te = we({ size: w }), p = f(a);
|
|
342
343
|
p.current = a;
|
|
343
|
-
const K = f(
|
|
344
|
-
K.current =
|
|
345
|
-
const
|
|
346
|
-
|
|
347
|
-
const ie =
|
|
344
|
+
const K = f(b);
|
|
345
|
+
K.current = b;
|
|
346
|
+
const P = f(z);
|
|
347
|
+
P.current = z;
|
|
348
|
+
const ie = de(
|
|
348
349
|
() => ({
|
|
349
|
-
open: () =>
|
|
350
|
-
close: () =>
|
|
351
|
-
isOpen: () =>
|
|
350
|
+
open: () => v(!0),
|
|
351
|
+
close: () => v(!1),
|
|
352
|
+
isOpen: () => P.current,
|
|
352
353
|
getItems: () => p.current.map((e) => ({ id: e.id, read: !!e.read })),
|
|
353
354
|
getUnreadCount: () => K.current ?? p.current.filter((e) => !e.read).length,
|
|
354
355
|
selectItem: (e) => {
|
|
@@ -357,7 +358,7 @@ const ze = ne(
|
|
|
357
358
|
},
|
|
358
359
|
markRead: (e) => {
|
|
359
360
|
const n = p.current.find((o) => o.id === e);
|
|
360
|
-
n && (
|
|
361
|
+
n && (y == null || y(n));
|
|
361
362
|
},
|
|
362
363
|
dismiss: (e) => {
|
|
363
364
|
const n = p.current.find((o) => o.id === e);
|
|
@@ -367,25 +368,30 @@ const ze = ne(
|
|
|
367
368
|
viewAll: () => g == null ? void 0 : g()
|
|
368
369
|
}),
|
|
369
370
|
[
|
|
370
|
-
|
|
371
|
+
v,
|
|
371
372
|
m,
|
|
372
|
-
|
|
373
|
+
y,
|
|
373
374
|
u,
|
|
374
375
|
l,
|
|
375
376
|
g
|
|
376
377
|
]
|
|
377
|
-
),
|
|
378
|
-
|
|
378
|
+
), _ = f(null);
|
|
379
|
+
ce($, () => _.current, []), ye(Te, ie, t);
|
|
380
|
+
const ae = le(!0, {
|
|
381
|
+
getAnchor: pe,
|
|
382
|
+
onReturnToTrigger: () => v(!1)
|
|
383
|
+
});
|
|
384
|
+
return /* @__PURE__ */ i(
|
|
379
385
|
"div",
|
|
380
386
|
{
|
|
381
|
-
ref:
|
|
387
|
+
ref: _,
|
|
382
388
|
"data-component": "notification-tray",
|
|
383
389
|
"data-component-id": t,
|
|
384
|
-
className: [
|
|
390
|
+
className: [be({ size: w }), X].filter(Boolean).join(" "),
|
|
385
391
|
...Z,
|
|
386
|
-
children: /* @__PURE__ */ c(N.Root, { open: z, onOpenChange:
|
|
392
|
+
children: /* @__PURE__ */ c(N.Root, { open: z, onOpenChange: v, children: [
|
|
387
393
|
/* @__PURE__ */ i(N.Trigger, { asChild: !0, children: /* @__PURE__ */ i(
|
|
388
|
-
|
|
394
|
+
ue,
|
|
389
395
|
{
|
|
390
396
|
icon: /* @__PURE__ */ i(V, {}),
|
|
391
397
|
intent: "outline",
|
|
@@ -395,13 +401,13 @@ const ze = ne(
|
|
|
395
401
|
}
|
|
396
402
|
) }),
|
|
397
403
|
x > 0 ? /* @__PURE__ */ i(
|
|
398
|
-
|
|
404
|
+
ge,
|
|
399
405
|
{
|
|
400
406
|
variant: "notification",
|
|
401
407
|
size: "md",
|
|
402
408
|
"aria-hidden": "true",
|
|
403
409
|
"data-testid": "notification-tray-badge",
|
|
404
|
-
className:
|
|
410
|
+
className: ze,
|
|
405
411
|
children: ee
|
|
406
412
|
}
|
|
407
413
|
) : null,
|
|
@@ -418,6 +424,7 @@ const ze = ne(
|
|
|
418
424
|
N.Content,
|
|
419
425
|
{
|
|
420
426
|
role: "dialog",
|
|
427
|
+
onKeyDown: ae,
|
|
421
428
|
"aria-label": s("notificationTray.panelTitle", "Notifications"),
|
|
422
429
|
side: Q,
|
|
423
430
|
align: J,
|
|
@@ -428,7 +435,7 @@ const ze = ne(
|
|
|
428
435
|
/* @__PURE__ */ c("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pb-[var(--spacing-xs)]", children: [
|
|
429
436
|
/* @__PURE__ */ i("h3", { className: "ds:m-0 type-title-card ds:text-[color:var(--foreground)]", children: s("notificationTray.panelTitle", "Notifications") }),
|
|
430
437
|
l && a.some((e) => !e.read) ? /* @__PURE__ */ i(
|
|
431
|
-
|
|
438
|
+
A,
|
|
432
439
|
{
|
|
433
440
|
intent: "link",
|
|
434
441
|
size: "sm",
|
|
@@ -438,24 +445,24 @@ const ze = ne(
|
|
|
438
445
|
}
|
|
439
446
|
) : null
|
|
440
447
|
] }),
|
|
441
|
-
/* @__PURE__ */ i(
|
|
448
|
+
/* @__PURE__ */ i(F, {}),
|
|
442
449
|
/* @__PURE__ */ i(
|
|
443
|
-
|
|
450
|
+
ve,
|
|
444
451
|
{
|
|
445
452
|
orientation: "vertical",
|
|
446
453
|
className: "ds:flex-1 ds:sm:flex-none ds:sm:[max-block-size:var(--notification-tray-max-block-size,24rem)]",
|
|
447
454
|
children: /* @__PURE__ */ i(
|
|
448
455
|
"div",
|
|
449
456
|
{
|
|
450
|
-
role: k ||
|
|
457
|
+
role: k || h.length === 0 ? void 0 : "list",
|
|
451
458
|
"data-max-visible": G,
|
|
452
459
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)]",
|
|
453
|
-
children: k ? /* @__PURE__ */ c(
|
|
460
|
+
children: k ? /* @__PURE__ */ c(E, { children: [
|
|
454
461
|
/* @__PURE__ */ i(S, {}),
|
|
455
462
|
/* @__PURE__ */ i(S, {}),
|
|
456
463
|
/* @__PURE__ */ i(S, {})
|
|
457
|
-
] }) :
|
|
458
|
-
|
|
464
|
+
] }) : h.length === 0 ? /* @__PURE__ */ i(Se, {}) : h.map(({ item: e, leaving: n }) => /* @__PURE__ */ i(
|
|
465
|
+
he,
|
|
459
466
|
{
|
|
460
467
|
item: e,
|
|
461
468
|
variant: "compact",
|
|
@@ -470,10 +477,10 @@ const ze = ne(
|
|
|
470
477
|
)
|
|
471
478
|
}
|
|
472
479
|
),
|
|
473
|
-
O ? /* @__PURE__ */ c(
|
|
474
|
-
/* @__PURE__ */ i(
|
|
480
|
+
O ? /* @__PURE__ */ c(E, { children: [
|
|
481
|
+
/* @__PURE__ */ i(F, {}),
|
|
475
482
|
/* @__PURE__ */ i("div", { className: "ds:pt-[var(--spacing-xs)]", children: /* @__PURE__ */ i(
|
|
476
|
-
|
|
483
|
+
A,
|
|
477
484
|
{
|
|
478
485
|
intent: "link",
|
|
479
486
|
size: "sm",
|
|
@@ -491,9 +498,9 @@ const ze = ne(
|
|
|
491
498
|
);
|
|
492
499
|
}
|
|
493
500
|
);
|
|
494
|
-
|
|
501
|
+
ke.displayName = "NotificationTray";
|
|
495
502
|
export {
|
|
496
|
-
|
|
497
|
-
|
|
503
|
+
ke as N,
|
|
504
|
+
Te as n
|
|
498
505
|
};
|
|
499
|
-
//# sourceMappingURL=notification-tray-
|
|
506
|
+
//# sourceMappingURL=notification-tray-DPU-Xg0i.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
2
|
-
import { forwardRef as C, useId as K, useRef as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsxs as I, jsx as a, Fragment as D } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as C, useId as K, useRef as u, useCallback as U, useEffect as N } from "react";
|
|
3
|
+
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { I as _ } from "./icon-button-COX76Jdj.js";
|
|
5
5
|
import { P as G } from "./panel-header-D_mTdhUp.js";
|
|
6
|
-
import { S as J } from "./scroll-area-
|
|
6
|
+
import { S as J } from "./scroll-area-CY5SLYNw.js";
|
|
7
7
|
import { u as R } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { u as Q } from "./use-presence-transition-cDwWUXV-.js";
|
|
9
9
|
import { A as W } from "./arrow-left-BfaGqVam.js";
|
|
10
|
-
const X =
|
|
10
|
+
const X = x(
|
|
11
11
|
[
|
|
12
12
|
"ds:relative ds:flex ds:h-full ds:min-h-0 ds:flex-col ds:overflow-hidden",
|
|
13
13
|
// Focus lands on the host itself, from script, only when the panel it
|
|
@@ -29,22 +29,22 @@ function B(e) {
|
|
|
29
29
|
}
|
|
30
30
|
function Z(e, i) {
|
|
31
31
|
if (!B(e)) return;
|
|
32
|
-
const
|
|
32
|
+
const c = Array.from(
|
|
33
33
|
e.querySelectorAll(Y)
|
|
34
|
-
).filter((
|
|
35
|
-
const f =
|
|
34
|
+
).filter((d) => !(i != null && i.contains(d)) && B(d)), s = e.getBoundingClientRect(), v = c.find((d) => {
|
|
35
|
+
const f = d.getBoundingClientRect();
|
|
36
36
|
return f.bottom > s.top && f.top < s.bottom;
|
|
37
|
-
}) ??
|
|
38
|
-
if (
|
|
39
|
-
|
|
37
|
+
}) ?? c[0];
|
|
38
|
+
if (v) {
|
|
39
|
+
v.focus();
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
|
-
const
|
|
43
|
-
|
|
42
|
+
const p = !e.hasAttribute("tabindex");
|
|
43
|
+
p && e.setAttribute("tabindex", "-1"), e.focus(), p && (document.activeElement === e ? e.addEventListener("blur", () => e.removeAttribute("tabindex"), {
|
|
44
44
|
once: !0
|
|
45
45
|
}) : e.removeAttribute("tabindex"));
|
|
46
46
|
}
|
|
47
|
-
const $ =
|
|
47
|
+
const $ = x(
|
|
48
48
|
[
|
|
49
49
|
"ds:absolute ds:inset-0 ds:z-[2] ds:flex ds:min-h-0 ds:flex-col",
|
|
50
50
|
"ds:bg-[var(--background)] ds:focus-visible:outline-none",
|
|
@@ -57,7 +57,12 @@ const $ = E(
|
|
|
57
57
|
"ds:rtl:data-[presence=entering]:-translate-x-full ds:rtl:data-[presence=leaving]:-translate-x-full",
|
|
58
58
|
"ds:data-[presence=leaving]:pointer-events-none"
|
|
59
59
|
].join(" ")
|
|
60
|
-
), F =
|
|
60
|
+
), F = x(
|
|
61
|
+
[
|
|
62
|
+
"ds:[--panel-subview-inset:calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
|
|
63
|
+
"ds:p-[var(--panel-subview-inset)]"
|
|
64
|
+
].join(" ")
|
|
65
|
+
), ee = '[role="combobox"][aria-expanded="true"], [aria-haspopup][aria-expanded="true"]', te = x(
|
|
61
66
|
[
|
|
62
67
|
"ds:flex ds:shrink-0 ds:items-center",
|
|
63
68
|
"ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]",
|
|
@@ -77,13 +82,13 @@ const $ = E(
|
|
|
77
82
|
defaultVariants: { align: "end" }
|
|
78
83
|
}
|
|
79
84
|
), H = C(
|
|
80
|
-
({ className: e, children: i, ...
|
|
85
|
+
({ className: e, children: i, ...c }, s) => /* @__PURE__ */ a(
|
|
81
86
|
"div",
|
|
82
87
|
{
|
|
83
88
|
ref: s,
|
|
84
89
|
"data-component": "panel-subview-host",
|
|
85
90
|
className: [X(), e].filter(Boolean).join(" "),
|
|
86
|
-
...
|
|
91
|
+
...c,
|
|
87
92
|
children: i
|
|
88
93
|
}
|
|
89
94
|
)
|
|
@@ -93,11 +98,11 @@ const L = C(
|
|
|
93
98
|
({
|
|
94
99
|
open: e,
|
|
95
100
|
onBack: i,
|
|
96
|
-
title:
|
|
101
|
+
title: c,
|
|
97
102
|
backLabel: s,
|
|
98
|
-
icon:
|
|
99
|
-
headingLevel:
|
|
100
|
-
headerActions:
|
|
103
|
+
icon: v,
|
|
104
|
+
headingLevel: p,
|
|
105
|
+
headerActions: d,
|
|
101
106
|
footer: f,
|
|
102
107
|
footerAlign: V = "end",
|
|
103
108
|
onExited: O,
|
|
@@ -106,15 +111,15 @@ const L = C(
|
|
|
106
111
|
children: T,
|
|
107
112
|
...q
|
|
108
113
|
}, m) => {
|
|
109
|
-
const
|
|
114
|
+
const h = K(), l = Q(e, { onExited: O }), b = u(null), w = u(null), A = u(i);
|
|
110
115
|
A.current = i;
|
|
111
|
-
const { ref: P } =
|
|
116
|
+
const { ref: P } = l, z = U(
|
|
112
117
|
(t) => {
|
|
113
118
|
b.current = t, P(t), typeof m == "function" ? m(t) : m && (m.current = t);
|
|
114
119
|
},
|
|
115
120
|
[P, m]
|
|
116
|
-
),
|
|
117
|
-
S.current = e, e &&
|
|
121
|
+
), E = u(null), j = u(!1), S = u(e);
|
|
122
|
+
S.current = e, e && E.current !== !0 && typeof document < "u" && (w.current = document.activeElement instanceof HTMLElement ? document.activeElement : null, j.current = E.current === null), E.current = e, R(() => {
|
|
118
123
|
const t = b.current, n = t == null ? void 0 : t.parentElement;
|
|
119
124
|
if (!e || !t || !n) return;
|
|
120
125
|
const r = Array.from(n.children).filter(
|
|
@@ -123,20 +128,20 @@ const L = C(
|
|
|
123
128
|
return r.forEach((o) => o.setAttribute("inert", "")), ((g == null ? void 0 : g.current) ?? t).focus({ preventScroll: !0 }), () => {
|
|
124
129
|
r.forEach((o) => o.removeAttribute("inert"));
|
|
125
130
|
};
|
|
126
|
-
}, [e,
|
|
131
|
+
}, [e, l.mounted, g]);
|
|
127
132
|
const y = !e;
|
|
128
133
|
return R(() => {
|
|
129
134
|
const t = b.current;
|
|
130
135
|
if (!t) return;
|
|
131
136
|
const n = document.activeElement;
|
|
132
137
|
y && n instanceof HTMLElement && t.contains(n) && n.blur(), t.toggleAttribute("inert", y);
|
|
133
|
-
}, [y,
|
|
138
|
+
}, [y, l.mounted]), N(() => {
|
|
134
139
|
if (!e) return;
|
|
135
140
|
const t = b.current, n = (t == null ? void 0 : t.parentElement) ?? null;
|
|
136
141
|
return () => {
|
|
137
142
|
if (S.current && (t != null && t.isConnected)) return;
|
|
138
|
-
const r =
|
|
139
|
-
|
|
143
|
+
const r = w.current;
|
|
144
|
+
w.current = null;
|
|
140
145
|
const o = r != null && r.isConnected && (!j.current || n != null && n.contains(r)) ? r : null;
|
|
141
146
|
if (o) {
|
|
142
147
|
o.focus();
|
|
@@ -151,35 +156,35 @@ const L = C(
|
|
|
151
156
|
const t = b.current;
|
|
152
157
|
if (!e || !t) return;
|
|
153
158
|
const n = (r) => {
|
|
154
|
-
r.key === "Escape" && (r.stopPropagation(), !(r.defaultPrevented && t.querySelector(
|
|
159
|
+
r.key === "Escape" && (r.stopPropagation(), !(r.defaultPrevented && t.querySelector(ee)) && (r.preventDefault(), A.current()));
|
|
155
160
|
};
|
|
156
161
|
return t.addEventListener("keydown", n), () => t.removeEventListener("keydown", n);
|
|
157
|
-
}, [e,
|
|
162
|
+
}, [e, l.mounted]), l.mounted ? /* @__PURE__ */ I(
|
|
158
163
|
"section",
|
|
159
164
|
{
|
|
160
165
|
...q,
|
|
161
166
|
ref: z,
|
|
162
167
|
tabIndex: -1,
|
|
163
|
-
"aria-labelledby":
|
|
168
|
+
"aria-labelledby": h,
|
|
164
169
|
"aria-hidden": y || void 0,
|
|
165
170
|
"data-component": "panel-subview",
|
|
166
|
-
"data-presence":
|
|
171
|
+
"data-presence": l.phase,
|
|
167
172
|
className: [$(), M].filter(Boolean).join(" "),
|
|
168
173
|
children: [
|
|
169
|
-
/* @__PURE__ */
|
|
174
|
+
/* @__PURE__ */ a(
|
|
170
175
|
G,
|
|
171
176
|
{
|
|
172
|
-
icon:
|
|
173
|
-
title:
|
|
174
|
-
headingId:
|
|
175
|
-
headingLevel:
|
|
177
|
+
icon: v,
|
|
178
|
+
title: c,
|
|
179
|
+
headingId: h,
|
|
180
|
+
headingLevel: p,
|
|
176
181
|
sticky: !0,
|
|
177
182
|
divider: !0,
|
|
178
183
|
actions: /* @__PURE__ */ I(D, { children: [
|
|
179
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ a(
|
|
180
185
|
_,
|
|
181
186
|
{
|
|
182
|
-
icon: /* @__PURE__ */
|
|
187
|
+
icon: /* @__PURE__ */ a(W, { "aria-hidden": "true" }),
|
|
183
188
|
intent: "ghost",
|
|
184
189
|
size: "sm",
|
|
185
190
|
flipIconInRtl: !0,
|
|
@@ -189,16 +194,25 @@ const L = C(
|
|
|
189
194
|
onClick: i
|
|
190
195
|
}
|
|
191
196
|
),
|
|
192
|
-
|
|
197
|
+
d
|
|
193
198
|
] })
|
|
194
199
|
}
|
|
195
200
|
),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
|
|
201
|
+
/* @__PURE__ */ a(
|
|
202
|
+
J,
|
|
203
|
+
{
|
|
204
|
+
orientation: "vertical",
|
|
205
|
+
role: "group",
|
|
206
|
+
"aria-labelledby": h,
|
|
207
|
+
className: "ds:min-h-0 ds:flex-1",
|
|
208
|
+
children: /* @__PURE__ */ a("div", { "data-panel-subview-body": "", className: F(), children: T })
|
|
209
|
+
}
|
|
210
|
+
),
|
|
211
|
+
f ? /* @__PURE__ */ a(
|
|
198
212
|
"div",
|
|
199
213
|
{
|
|
200
214
|
"data-panel-subview-footer": "",
|
|
201
|
-
className:
|
|
215
|
+
className: te({ align: V }),
|
|
202
216
|
children: f
|
|
203
217
|
}
|
|
204
218
|
) : null
|
|
@@ -208,10 +222,10 @@ const L = C(
|
|
|
208
222
|
}
|
|
209
223
|
);
|
|
210
224
|
L.displayName = "PanelSubview";
|
|
211
|
-
const
|
|
225
|
+
const ue = Object.assign(L, {
|
|
212
226
|
Host: H
|
|
213
227
|
});
|
|
214
228
|
export {
|
|
215
|
-
|
|
229
|
+
ue as P
|
|
216
230
|
};
|
|
217
|
-
//# sourceMappingURL=panel-subview-
|
|
231
|
+
//# sourceMappingURL=panel-subview-D4o6ar6_.js.map
|
|
@@ -8,7 +8,7 @@ import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
|
|
|
8
8
|
import { D as ae } from "./description-list-DkLeHiew.js";
|
|
9
9
|
import { P as de } from "./panel-header-D_mTdhUp.js";
|
|
10
10
|
import { u as re } from "./registry-DvAUVLHh.js";
|
|
11
|
-
import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-
|
|
11
|
+
import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-jcRSTrp4.js";
|
|
12
12
|
import { C as pe } from "./clipboard-list-rSzfIYZB.js";
|
|
13
13
|
const me = {
|
|
14
14
|
id: "patient-details",
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
ue as P,
|
|
369
369
|
me as p
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=patient-details-
|
|
371
|
+
//# sourceMappingURL=patient-details-BCaVuaXz.js.map
|
|
@@ -5,32 +5,32 @@ import { useTranslation as A } from "react-i18next";
|
|
|
5
5
|
import { B as ee } from "./button-Bn16lcFM.js";
|
|
6
6
|
import { I } from "./icon-button-COX76Jdj.js";
|
|
7
7
|
import { C as R } from "./checkbox--ndmyokr.js";
|
|
8
|
-
import { P as O } from "./popover-
|
|
8
|
+
import { P as O } from "./popover-BG75rYjN.js";
|
|
9
9
|
import { S as te } from "./separator-CYU_bGFn.js";
|
|
10
10
|
import { S as ae } from "./settings-d25ju_6L.js";
|
|
11
11
|
import { G as se } from "./grip-vertical-onSb1JXO.js";
|
|
12
12
|
import { D as $ } from "./description-list-DkLeHiew.js";
|
|
13
13
|
import { B as j } from "./badge-hnBt8o7n.js";
|
|
14
|
-
import { L as re } from "./link-
|
|
14
|
+
import { L as re } from "./link-gRw3NtOt.js";
|
|
15
15
|
import { T as ne } from "./transaction-chip-CohY6sTA.js";
|
|
16
16
|
import { H as ie } from "./hash-CSQ9SChR.js";
|
|
17
17
|
import { C as oe } from "./calendar-days-BGWklvE-.js";
|
|
18
18
|
import { c as q } from "./createLucideIcon-DhHxpK9K.js";
|
|
19
19
|
import { U as le } from "./user-B12p7bVF.js";
|
|
20
|
-
import { C as ce } from "./city-input-
|
|
20
|
+
import { C as ce } from "./city-input-3J3bz9EO.js";
|
|
21
21
|
import { C as de } from "./country-select-DF5Bd_mn.js";
|
|
22
|
-
import { D as ue } from "./date-picker-
|
|
22
|
+
import { D as ue } from "./date-picker-BSZuKo13.js";
|
|
23
23
|
import { E as me } from "./email-input-C7THAwh2.js";
|
|
24
24
|
import { F as pe } from "./fiscal-code-input-DesSQ6Fh.js";
|
|
25
25
|
import { N as fe } from "./number-input-CVwI1ltI.js";
|
|
26
|
-
import { P as ge } from "./phone-input-
|
|
26
|
+
import { P as ge } from "./phone-input-O9camxkq.js";
|
|
27
27
|
import { P as he } from "./postal-code-input-CfZOnIkW.js";
|
|
28
28
|
import { P as ye } from "./province-select-Bd20Z9Br.js";
|
|
29
29
|
import { S as be } from "./select-Ce5RMk93.js";
|
|
30
30
|
import { S as ve } from "./switch-D--x7n6h.js";
|
|
31
31
|
import { T as xe } from "./text-area-COMVJ1yE.js";
|
|
32
32
|
import { T as ke } from "./text-input-CaG9ApoE.js";
|
|
33
|
-
import { u as Ce } from "./use-state-backed-input-
|
|
33
|
+
import { u as Ce } from "./use-state-backed-input-DhRQo6gM.js";
|
|
34
34
|
import { C as K } from "./check-DrFSN__t.js";
|
|
35
35
|
import { X as Ve } from "./x-B5YnXwCz.js";
|
|
36
36
|
import { P as Ne } from "./pencil-B1sKKyuT.js";
|
|
@@ -826,4 +826,4 @@ export {
|
|
|
826
826
|
Dt as r,
|
|
827
827
|
St as u
|
|
828
828
|
};
|
|
829
|
-
//# sourceMappingURL=patient-field-row-
|
|
829
|
+
//# sourceMappingURL=patient-field-row-jcRSTrp4.js.map
|
|
@@ -7,14 +7,14 @@ import { B as D } from "./badge-hnBt8o7n.js";
|
|
|
7
7
|
import { I as Ue } from "./icon-button-COX76Jdj.js";
|
|
8
8
|
import { C as le } from "./card-DMO2nkt4.js";
|
|
9
9
|
import { K as Be, a as Re } from "./key-value-pair-BNNITp6S.js";
|
|
10
|
-
import { L as V } from "./link-
|
|
10
|
+
import { L as V } from "./link-gRw3NtOt.js";
|
|
11
11
|
import { S as k } from "./skeleton-B1KTdJ4N.js";
|
|
12
12
|
import { T as oe } from "./tag-CS5cXpfx.js";
|
|
13
13
|
import { T as Ke } from "./transaction-chip-CohY6sTA.js";
|
|
14
14
|
import { T as je } from "./tooltip-Cp-PLePW.js";
|
|
15
|
-
import { H as G } from "./hover-card-
|
|
15
|
+
import { H as G } from "./hover-card-U_ZYoh1n.js";
|
|
16
16
|
import { i as de } from "./is-safe-url-DkETxeHz.js";
|
|
17
|
-
import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-
|
|
17
|
+
import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-jcRSTrp4.js";
|
|
18
18
|
import { u as Oe } from "./registry-DvAUVLHh.js";
|
|
19
19
|
import { M as ea } from "./mail-BqXVF2zH.js";
|
|
20
20
|
import { P as aa } from "./phone-FceYcIFQ.js";
|
|
@@ -548,4 +548,4 @@ export {
|
|
|
548
548
|
Ca as P,
|
|
549
549
|
ma as p
|
|
550
550
|
};
|
|
551
|
-
//# sourceMappingURL=patient-summary-card-
|
|
551
|
+
//# sourceMappingURL=patient-summary-card-kQIfPQOE.js.map
|