@alfadocs/ui-kit 1.141.0 → 1.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{actions-cell-renderer-C-l_ppP6.js → actions-cell-renderer-CPNyF6ye.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-BNFcQoXo.js → ai-credits-notice-D_Zm_N2A.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-B2QFwuJ1.js → ai-prompt-input-y4-dtQIT.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CVBlKur9.js → alia-sidebar-uxTsUbIt.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-YJGs2uWD.js → anamnesis-summary-rows-C2Ca9_Qj.js} +8 -8
- package/dist/_chunks/{appointment-card-r0OZm77v.js → appointment-card-C0UFYFLZ.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-DrIMDQYf.js → appointment-details-panel.history-BUXwhill.js} +2 -2
- package/dist/_chunks/{appointment-peek-BP_ACFz5.js → appointment-peek-BCzekfWh.js} +3 -3
- package/dist/_chunks/{appointment-timeline-Bs-rTMzi.js → appointment-timeline-BK68CCBl.js} +4 -4
- package/dist/_chunks/{appointment-tray-t_ltp-Yi.js → appointment-tray-dfgScPcC.js} +2 -2
- package/dist/_chunks/{audio-recorder-6dUq8I38.js → audio-recorder-DxhCiLqG.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CRStPNDd.js → balance-badge-cell-CXi6moSa.js} +5 -5
- package/dist/_chunks/{bill-line-table-DTqXdBED.js → bill-line-table-qAdmV19W.js} +2 -2
- package/dist/_chunks/{bishop-score-M7Fi-ykx.js → bishop-score-DbvfBlBM.js} +2 -2
- package/dist/_chunks/{button-group-DuQuuulC.js → button-group-DoKG16Fy.js} +2 -2
- package/dist/_chunks/{calculator-dialog-Cg3GjaRf.js → calculator-dialog-BWizCwN5.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CuXpgLCw.js → calendar-appointment-editor-dialog-BDc8Q4Ji.js} +17 -17
- package/dist/_chunks/{calendar-editor-discard-host-BcMEgVEq.js → calendar-editor-discard-host-BblBxMqT.js} +5 -5
- package/dist/_chunks/{calendar-waiting-list-panel-BNQrUndD.js → calendar-waiting-list-panel-js-0KEh8.js} +6 -6
- package/dist/_chunks/{calendar.sheets-DcW8A3DI.js → calendar.sheets-sBWH7Jxn.js} +12 -12
- package/dist/_chunks/{calls-panel-CJNQm7r8.js → calls-panel-CnjAKFgA.js} +92 -90
- package/dist/_chunks/{care-plan-card-CjHq6PLo.js → care-plan-card-TZH6C60K.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DY1toF6E.js → care-plan-entry-card-CufvXAWa.js} +2 -2
- package/dist/_chunks/{chart-D0EeFWst.js → chart-ChNsJf9_.js} +2 -2
- package/dist/_chunks/{color-picker-CC8ZfntU.js → color-picker-5FKOk_z1.js} +2 -2
- package/dist/_chunks/{communications-panel-DBWM9II9.js → communications-panel-EP27FN7e.js} +3 -3
- package/dist/_chunks/{control-room-rail-DcJpHbp4.js → control-room-rail-7SidoPJH.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Cb66X2Pf.js → cycle-calculator-BUCGfEcy.js} +2 -2
- package/dist/_chunks/{dashboard-grid-2uVXEe9e.js → dashboard-grid-D2egA1Zu.js} +2 -2
- package/dist/_chunks/{data-grid-tabs-D9Y4DeeH.js → data-grid-tabs-Mbj6bSK2.js} +2 -2
- package/dist/_chunks/{data-grid-CRUSZcVT.js → data-grid-tyE2kGfx.js} +5 -5
- package/dist/_chunks/{data-table-CnLfOwxg.js → data-table-Bq1FRBGB.js} +4 -4
- package/dist/_chunks/{data-table-tabs-NYLhD8_Z.js → data-table-tabs-D5ujdK56.js} +2 -2
- package/dist/_chunks/{date-picker-BmVBVpVu.js → date-picker-CD-PBzXM.js} +2 -2
- package/dist/_chunks/{date-range-panel-CT9Pk-HF.js → date-range-panel-BOgfP_V3.js} +2 -2
- package/dist/_chunks/{date-range-picker-2Up_FRrM.js → date-range-picker-Z-hI5Vb7.js} +2 -2
- package/dist/_chunks/{date-time-picker-C6b_Vymc.js → date-time-picker-DHza1SEH.js} +2 -2
- package/dist/_chunks/{default-tabs-CRbVCDSU.js → default-tabs-ChkVzOL8.js} +7 -7
- package/dist/_chunks/dialog-239Geb7Z.js +431 -0
- package/dist/_chunks/dialog-container-DHR0byah.js +17 -0
- package/dist/_chunks/{document-preview-FTCHXYhk.js → document-preview-x_S8V7VC.js} +3 -3
- package/dist/_chunks/{dropdown-menu-DBWaW4pq.js → dropdown-menu-Bm1KALnk.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dlqegxx9.js → due-date-calculator-DpN0Z9p4.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-CZMQ5xRT.js → editable-currency-cell-renderer-C6z6ABN_.js} +2 -2
- package/dist/_chunks/{face-scheme-Bxt7ZnJn.js → face-scheme-S88jbOzl.js} +3 -3
- package/dist/_chunks/{file-manager-Bsccb8Jj.js → file-manager-ChQSjfU8.js} +5 -5
- package/dist/_chunks/{gestational-age-calculator-DXSPWG8u.js → gestational-age-calculator-CCDIhSMV.js} +3 -3
- package/dist/_chunks/{hcg-doubling-Dqbj6PQj.js → hcg-doubling-BekuksBv.js} +2 -2
- package/dist/_chunks/{header-settings-Cu-MKOsO.js → header-settings-CvZ7Qii6.js} +3 -3
- package/dist/_chunks/{heatmap-CFPaEKD_.js → heatmap-D0OGx-70.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-DO6vJeP4.js → help-me-write-templates-C84_4iwX.js} +2 -2
- package/dist/_chunks/{hover-card-CuRIA4wN.js → hover-card-CIiPOlyM.js} +2 -2
- package/dist/_chunks/{icon-button-group-SmkdVCNx.js → icon-button-group-CLhC7wjU.js} +2 -2
- package/dist/_chunks/{icon-picker-BmU6gpZT.js → icon-picker-Ct6n8GTa.js} +2 -2
- package/dist/_chunks/{info-tip-B3cn3fY2.js → info-tip-CkH2En-i.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-BR6vycF7.js → invoice-upload-list-CZ1B9yWh.js} +4 -4
- package/dist/_chunks/{kit-extensions-QddOSnIq.js → kit-extensions-C_oZ7WOq.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-hAJplRFF.js → link-cell-renderer-ByOAy2Sb.js} +4 -4
- package/dist/_chunks/{locale-picker-C86h8Yt1.js → locale-picker-OrojXX6E.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-dMmxI6MT.js → marketplace-app-shell-DnL187-U.js} +4 -4
- package/dist/_chunks/{message-tray-pLGgLmoG.js → message-tray-g6dp_AAt.js} +2 -2
- package/dist/_chunks/{muscle-scheme-BB2eBfww.js → muscle-scheme-vNd8wU7V.js} +2 -2
- package/dist/_chunks/{non-modal-tab-exit-j3CPOuE3.js → non-modal-tab-exit-DqJao_E-.js} +2 -1
- package/dist/_chunks/{notes-panel-C4HSUudf.js → notes-panel-CtMLUJOe.js} +5 -4
- package/dist/_chunks/{notification-tray-mlCfxNRH.js → notification-tray-DqCYs9Bw.js} +2 -2
- package/dist/_chunks/{optical-prescription-GzeK_2cf.js → optical-prescription-CWwrW4YQ.js} +2 -2
- package/dist/_chunks/{pagination-C7N_NiRN.js → pagination-BpXG5jVk.js} +2 -2
- package/dist/_chunks/{parts-BOnDDU3E.js → parts-IFiXO68Y.js} +3 -3
- package/dist/_chunks/{patient-account-settings-nSvNKKOL.js → patient-account-settings-e8Wp2g-F.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-Cj2wg_NQ.js → patient-check-in-resume-_nwf9gpx.js} +5 -5
- package/dist/_chunks/{patient-details-D0PjzALT.js → patient-details-6uJZ27ZL.js} +2 -2
- package/dist/_chunks/{patient-field-row-DlpIModg.js → patient-field-row-D8Cu_MQp.js} +5 -5
- package/dist/_chunks/{patient-search-aTFd7p9s.js → patient-search-C6-INPjs.js} +2 -2
- package/dist/_chunks/{patient-summary-card-BP_K7g_q.js → patient-summary-card-NYjO0IfN.js} +3 -3
- package/dist/_chunks/{pdf-viewer-TRC5jEm5.js → pdf-viewer-C8no312t.js} +2 -2
- package/dist/_chunks/{phone-input-DRKcJUi4.js → phone-input-DHiYJZ9v.js} +2 -2
- package/dist/_chunks/{popover-CN5IsOeS.js → popover-CkvP3rHZ.js} +2 -2
- package/dist/_chunks/{popup-region-qz_5_A0V.js → popup-region-BgZ8oeUB.js} +2 -2
- package/dist/_chunks/{portal-details-Cnyqf9kY.js → portal-details-D9oF6FUV.js} +2 -2
- package/dist/_chunks/{portal-documents-g109Dl0O.js → portal-documents-DSiLSave.js} +5 -5
- package/dist/_chunks/{portal-parts-DgDFuED8.js → portal-parts-8qrUM-uK.js} +3 -3
- package/dist/_chunks/{practice-results-DaxGw9_f.js → practice-results-BUEsl2Pj.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-a6WIg4oy.js → pregnancy-dating-wc9iCN0f.js} +3 -3
- package/dist/_chunks/{prescription-history-Bp_JHhdF.js → prescription-history-DFcPXYdF.js} +8 -8
- package/dist/_chunks/{product-hub-panel-K4QbULG7.js → product-hub-panel-BPpmVDm5.js} +2 -2
- package/dist/_chunks/{public-header.agent-DaeDfLfy.js → public-header.agent-Dsl9zhA2.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-88VjqlG7.js → radiograph-panel.agent-CSpr2paU.js} +4 -4
- package/dist/_chunks/{registration-form-Cs9o6e5q.js → registration-form-DRGMzq9V.js} +3 -3
- package/dist/_chunks/{reserved.agent-L2ElYPuj.js → reserved.agent-C_pr0bHy.js} +4 -4
- package/dist/_chunks/{rich-text-editor-orJ-hPgm.js → rich-text-editor-CQ54ybTB.js} +7 -7
- package/dist/_chunks/{row-actions-BF2-uizV.js → row-actions-C6d6vy5z.js} +3 -3
- package/dist/_chunks/{saved-view-tabs-DLWm88Eq.js → saved-view-tabs-CVUM3Nqz.js} +2 -2
- package/dist/_chunks/{select-Bm8s3q-X.js → select-Bw5FvGJ7.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-C1vw6H1M.js → send-registration-link-form-D-NkS__p.js} +3 -3
- package/dist/_chunks/{sheet-BdhYeQQT.js → sheet-BIAhwdyS.js} +2 -2
- package/dist/_chunks/{sign-document-DDZbmYHu.js → sign-document-BUhWw-7S.js} +2 -2
- package/dist/_chunks/{signature-request-D3sLLOM6.js → signature-request-BfKo3vOz.js} +4 -4
- package/dist/_chunks/{signing-end-screen-BdhbkPKO.js → signing-end-screen-Pmda6tCH.js} +4 -4
- package/dist/_chunks/{step-up-dialog-C2JqJmCA.js → step-up-dialog-C1O8ctoh.js} +2 -2
- package/dist/_chunks/{sync-tray-BhnkgXKK.js → sync-tray-BTmveFGE.js} +2 -2
- package/dist/_chunks/{tab-bar-CeC2QOwB.js → tab-bar-C6tPDq9s.js} +2 -2
- package/dist/_chunks/{tabs-BXr5XeGq.js → tabs-BOf9OO--.js} +3 -3
- package/dist/_chunks/{task-editor-DDVDPKJf.js → task-editor-DNkrLbgK.js} +7 -6
- package/dist/_chunks/{tasks-panel-BHXaPNOZ.js → tasks-panel-Dmp49cBo.js} +3 -3
- package/dist/_chunks/{theme-toggle-BQDFxvVS.js → theme-toggle-C2LPw3xr.js} +3 -3
- package/dist/_chunks/{token-insert-menu-BLtfMTJd.js → token-insert-menu-sGtftx4Y.js} +2 -2
- package/dist/_chunks/{tool-rail-Kup1b7xI.js → tool-rail-CKOuVHUQ.js} +213 -209
- package/dist/_chunks/{toolbar-B7UHCMSr.js → toolbar-JTR20W-U.js} +3 -3
- package/dist/_chunks/{tooth-scheme-BtnFgugP.js → tooth-scheme-DpgciFU8.js} +2 -2
- package/dist/_chunks/{unit-converter-OBhSDXee.js → unit-converter-D1e1wZRE.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-DeQnmmZw.js → use-appointment-details-read-DIRHedaM.js} +7 -7
- package/dist/_chunks/{verify-identity-types-C6Bam8v6.js → verify-identity-types-CpeJIc9F.js} +2 -2
- package/dist/_chunks/{voice-control-panel-Dc_NFH2R.js → voice-control-panel-CfBUrzhJ.js} +3 -3
- package/dist/_chunks/{widget-picker-D3T7e8a4.js → widget-picker-Ddl0lDWV.js} +2 -2
- package/dist/_chunks/{workflow-map-DaZFP9SJ.js → workflow-map-CsfRHhlz.js} +2 -2
- package/dist/_chunks/{workflow-status-CO0mxXs2.js → workflow-status-Cg7yjnye.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-BsGSh3h9.js → workflow-webhook-action-BUWc2txJ.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/appointment-editor-panel/index.js +2 -2
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/non-modal-tab-exit.d.ts +1 -0
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- 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/audio-recorder/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/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/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/chart/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/communications-panel/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/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-grid-tabs/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/dialog-container.d.ts +27 -0
- package/dist/components/dialog/dialog.d.ts +12 -2
- package/dist/components/dialog/index.d.ts +3 -1
- package/dist/components/dialog/index.js +5 -3
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/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-button-group/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/invoice-upload-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/muscle-scheme/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/optical-prescription/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/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/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-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/row-actions/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/step-up-dialog/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/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/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/index.js +945 -943
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +3 -3
- package/dist/patterns/help-me-write-templates/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/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/dialog-CVTxyR0v.js +0 -349
|
@@ -18,20 +18,20 @@ import { c as Y } from "./index-D2ZczOXr.js";
|
|
|
18
18
|
import { a as cs } from "./compact-editor-fields-cP6yh7xv.js";
|
|
19
19
|
import { F as _a } from "./form-field-context-DtiROUJV.js";
|
|
20
20
|
import { N as us } from "./number-input-Bi5Yk6PX.js";
|
|
21
|
-
import { S as br } from "./select-
|
|
21
|
+
import { S as br } from "./select-Bw5FvGJ7.js";
|
|
22
22
|
import { T as xa } from "./text-input-B6iAgCr3.js";
|
|
23
23
|
import { a as ds, b as gi } from "./accessible-target-D3j6F-AG.js";
|
|
24
24
|
import { C as Ia } from "./chevron-right-I9AeSxH2.js";
|
|
25
25
|
import { a as Fa, r as Ea, d as mi, b as Ma, D as Oa } from "./grid-context-jn9y8tNE.js";
|
|
26
26
|
import { u as fs } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
27
|
-
import { P as Kn } from "./popover-
|
|
27
|
+
import { P as Kn } from "./popover-CkvP3rHZ.js";
|
|
28
28
|
import { B as pi } from "./button-DohK_Ak_.js";
|
|
29
29
|
import { F as so } from "./form-field-CyHfOVKF.js";
|
|
30
30
|
import { S as Pa } from "./state-backed-text-input-DVETOhSS.js";
|
|
31
31
|
import { F as Da } from "./funnel-DpPV3Qkd.js";
|
|
32
32
|
import { A as ka, a as Aa } from "./arrow-up-BYvcvTkB.js";
|
|
33
33
|
import { C as za } from "./chevrons-up-down-CgiVAHb7.js";
|
|
34
|
-
import { P as Va } from "./pagination-
|
|
34
|
+
import { P as Va } from "./pagination-BpXG5jVk.js";
|
|
35
35
|
import { E as Ko } from "./empty-state-DwJ5YNzz.js";
|
|
36
36
|
import { S as Ta } from "./skeleton-tTWJpvAq.js";
|
|
37
37
|
import { d as Ga, u as La } from "./index-Bze5jCG_.js";
|
|
@@ -6965,7 +6965,7 @@ function Am({
|
|
|
6965
6965
|
);
|
|
6966
6966
|
}
|
|
6967
6967
|
const zm = aa(
|
|
6968
|
-
() => import("./date-range-panel-
|
|
6968
|
+
() => import("./date-range-panel-BOgfP_V3.js").then((e) => ({
|
|
6969
6969
|
default: e.DateRangeFilterPanel
|
|
6970
6970
|
}))
|
|
6971
6971
|
), Vm = Y("ds:relative ds:inline-flex ds:shrink-0"), Tm = Y(
|
|
@@ -9867,4 +9867,4 @@ export {
|
|
|
9867
9867
|
Rm as f,
|
|
9868
9868
|
xh as g
|
|
9869
9869
|
};
|
|
9870
|
-
//# sourceMappingURL=data-grid-
|
|
9870
|
+
//# sourceMappingURL=data-grid-tyE2kGfx.js.map
|
|
@@ -6,14 +6,14 @@ import { c as Ot } from "./index-D2ZczOXr.js";
|
|
|
6
6
|
import { useTranslation as H } from "react-i18next";
|
|
7
7
|
import { useGridFilter as Vt, AgGridReact as _t } from "ag-grid-react";
|
|
8
8
|
import { ModuleRegistry as Wt, AllCommunityModule as qt } from "ag-grid-community";
|
|
9
|
-
import { I as Bt } from "./icon-button-group-
|
|
9
|
+
import { I as Bt } from "./icon-button-group-CLhC7wjU.js";
|
|
10
10
|
import { u as Ut } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
11
|
import { I as We } from "./icon-button-S8_weU3g.js";
|
|
12
|
-
import { T as jt, c as Kt } from "./parts-
|
|
12
|
+
import { T as jt, c as Kt } from "./parts-IFiXO68Y.js";
|
|
13
13
|
import { m as zt, h as Ht, a as Qt, w as Xt } from "./export-files-BByoK9Cg.js";
|
|
14
14
|
import $t from "i18next";
|
|
15
15
|
import { S as qe } from "./state-backed-text-input-DVETOhSS.js";
|
|
16
|
-
import { S as Yt } from "./select-
|
|
16
|
+
import { S as Yt } from "./select-Bw5FvGJ7.js";
|
|
17
17
|
import { B as Ne } from "./button-DohK_Ak_.js";
|
|
18
18
|
import { S as Be } from "./search-QbWPlY5f.js";
|
|
19
19
|
import { X as Zt } from "./x-B5YnXwCz.js";
|
|
@@ -1691,4 +1691,4 @@ export {
|
|
|
1691
1691
|
P as i,
|
|
1692
1692
|
fr as r
|
|
1693
1693
|
};
|
|
1694
|
-
//# sourceMappingURL=data-table-
|
|
1694
|
+
//# sourceMappingURL=data-table-Bq1FRBGB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as S } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as D, useMemo as F, forwardRef as I } from "react";
|
|
3
|
-
import { s as q, a as V, S as L } from "./saved-view-tabs-
|
|
3
|
+
import { s as q, a as V, S as L } from "./saved-view-tabs-CVUM3Nqz.js";
|
|
4
4
|
const K = {
|
|
5
5
|
id: "data-table-tabs",
|
|
6
6
|
capabilities: ["select_single", "view_change"],
|
|
@@ -239,4 +239,4 @@ export {
|
|
|
239
239
|
G as b,
|
|
240
240
|
K as d
|
|
241
241
|
};
|
|
242
|
-
//# sourceMappingURL=data-table-tabs-
|
|
242
|
+
//# sourceMappingURL=data-table-tabs-D5ujdK56.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as le, useContext as de, useState as b, useRef as A, useEffect as ce, useCallback as K, useMemo as pe, useImperativeHandle as ue } from "react";
|
|
3
3
|
import { useTranslation as fe } from "react-i18next";
|
|
4
4
|
import * as k from "@radix-ui/react-popover";
|
|
5
|
-
import { u as me, f as ge } from "./non-modal-tab-exit-
|
|
5
|
+
import { u as me, f as ge } from "./non-modal-tab-exit-DqJao_E-.js";
|
|
6
6
|
import { S as he } from "./spinner-CoflYlEx.js";
|
|
7
7
|
import { u as ve, b as ye, i as be, a as ke, t as Ce, c as De, p as xe, D as Pe, C as Se, d as we, e as Ie } from "./date-picker-variants-DmfVRNDB.js";
|
|
8
8
|
import { u as Oe } from "./use-controllable-state-BiY4xTzM.js";
|
|
@@ -280,4 +280,4 @@ export {
|
|
|
280
280
|
_e as D,
|
|
281
281
|
Be as d
|
|
282
282
|
};
|
|
283
|
-
//# sourceMappingURL=date-picker-
|
|
283
|
+
//# sourceMappingURL=date-picker-CD-PBzXM.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as v } from "react";
|
|
|
3
3
|
import { useTranslation as h } from "react-i18next";
|
|
4
4
|
import { c as m } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { B as x } from "./button-DohK_Ak_.js";
|
|
6
|
-
import { D } from "./date-range-picker-
|
|
6
|
+
import { D } from "./date-range-picker-Z-hI5Vb7.js";
|
|
7
7
|
import { f as r, t as i } from "./export-files-BByoK9Cg.js";
|
|
8
8
|
import { b as R } from "./accessible-target-D3j6F-AG.js";
|
|
9
9
|
const T = m("ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]"), k = m(
|
|
@@ -59,4 +59,4 @@ function M({
|
|
|
59
59
|
export {
|
|
60
60
|
M as DateRangeFilterPanel
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=date-range-panel-
|
|
62
|
+
//# sourceMappingURL=date-range-panel-BOgfP_V3.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as u, Fragment as $t } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Wt, useState as b, useRef as ge, useId as M, useCallback as Be, useEffect as ze, useMemo as jt, useImperativeHandle as _t, Fragment as qt } from "react";
|
|
3
3
|
import { useTranslation as Bt } from "react-i18next";
|
|
4
4
|
import * as H from "@radix-ui/react-popover";
|
|
5
|
-
import { u as zt, f as Yt } from "./non-modal-tab-exit-
|
|
5
|
+
import { u as zt, f as Yt } from "./non-modal-tab-exit-DqJao_E-.js";
|
|
6
6
|
import * as Q from "@radix-ui/react-radio-group";
|
|
7
7
|
import { S as Ut } from "./spinner-CoflYlEx.js";
|
|
8
8
|
import { f as Ht, g as Qt, u as Jt, b as Xt, h as Ye, j as Zt, s as ea, c as ta, t as aa, k as Ue, l as He, r as Qe, p as ra, m as sa, D as na, C as oa, n as ia, d as da, o as J, e as la, a as ve, i as ca } from "./date-picker-variants-DmfVRNDB.js";
|
|
@@ -865,4 +865,4 @@ export {
|
|
|
865
865
|
Na as D,
|
|
866
866
|
Pa as d
|
|
867
867
|
};
|
|
868
|
-
//# sourceMappingURL=date-range-picker-
|
|
868
|
+
//# sourceMappingURL=date-range-picker-Z-hI5Vb7.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as de, useState as D, useRef as le, useCallback as A, useMem
|
|
|
3
3
|
import { c as me } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as pe } from "react-i18next";
|
|
5
5
|
import * as w from "@radix-ui/react-popover";
|
|
6
|
-
import { u as fe, f as ge } from "./non-modal-tab-exit-
|
|
6
|
+
import { u as fe, f as ge } from "./non-modal-tab-exit-DqJao_E-.js";
|
|
7
7
|
import { S as he } from "./spinner-CoflYlEx.js";
|
|
8
8
|
import { u as ve, b as be, i as ye, a as Te, c as ke, t as De, D as we, C as Ce, d as Pe, e as xe } from "./date-picker-variants-DmfVRNDB.js";
|
|
9
9
|
import { u as Se } from "./use-controllable-state-BiY4xTzM.js";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
Ze as D,
|
|
352
352
|
Fe as d
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=date-time-picker-
|
|
354
|
+
//# sourceMappingURL=date-time-picker-DHza1SEH.js.map
|
|
@@ -2,19 +2,19 @@ import { jsxs as T, jsx as l, Fragment as ne } from "react/jsx-runtime";
|
|
|
2
2
|
import { useId as Pe, useMemo as M, createElement as mt, forwardRef as ft, useRef as K, useState as yt, useImperativeHandle as ht, useCallback as gt } from "react";
|
|
3
3
|
import { useTranslation as v } from "react-i18next";
|
|
4
4
|
import { u as Tt } from "./registry-DvAUVLHh.js";
|
|
5
|
-
import { D as St, e as vt } from "./data-grid-
|
|
6
|
-
import { D as N } from "./toolbar-
|
|
7
|
-
import { I as wt } from "./icon-button-group-
|
|
5
|
+
import { D as St, e as vt } from "./data-grid-tyE2kGfx.js";
|
|
6
|
+
import { D as N } from "./toolbar-JTR20W-U.js";
|
|
7
|
+
import { I as wt } from "./icon-button-group-CLhC7wjU.js";
|
|
8
8
|
import { c as w } from "./index-D2ZczOXr.js";
|
|
9
9
|
import { b as It, a as kt } from "./accessible-target-D3j6F-AG.js";
|
|
10
|
-
import { R as Nt } from "./row-actions-
|
|
10
|
+
import { R as Nt } from "./row-actions-C6d6vy5z.js";
|
|
11
11
|
import { V as Ee } from "./visually-hidden-BHxEUGyT.js";
|
|
12
12
|
import { B as Lt } from "./badge-BUk4RjTS.js";
|
|
13
13
|
import { B as Ot } from "./button-DohK_Ak_.js";
|
|
14
14
|
import { I as At } from "./icon-button-S8_weU3g.js";
|
|
15
|
-
import { I as _t } from "./info-tip-
|
|
15
|
+
import { I as _t } from "./info-tip-CkH2En-i.js";
|
|
16
16
|
import { M as oe } from "./money-OE6_oDPH.js";
|
|
17
|
-
import { P as F } from "./popover-
|
|
17
|
+
import { P as F } from "./popover-CkvP3rHZ.js";
|
|
18
18
|
import { a as Dt } from "./format-number-DdzqwMs1.js";
|
|
19
19
|
import { decimalToNumber as Ct } from "../decimal/index.js";
|
|
20
20
|
import { f as Rt } from "./intl-locale-FWh-Y5_3.js";
|
|
@@ -2211,4 +2211,4 @@ export {
|
|
|
2211
2211
|
ii as m,
|
|
2212
2212
|
Ka as u
|
|
2213
2213
|
};
|
|
2214
|
-
//# sourceMappingURL=default-tabs-
|
|
2214
|
+
//# sourceMappingURL=default-tabs-ChkVzOL8.js.map
|
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
import { jsx as i, jsxs as I } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as D, useEffect as z, useMemo as V, useCallback as se, forwardRef as g, useContext as $, createContext as re } from "react";
|
|
3
|
+
import * as m from "@radix-ui/react-dialog";
|
|
4
|
+
import { c as U } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as ie } from "react-i18next";
|
|
6
|
+
import { u as le } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
|
+
import { u as de } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
+
import { u as ce } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { u as ue, g as fe } from "./non-modal-tab-exit-DqJao_E-.js";
|
|
10
|
+
import { c as X } from "./compose-refs-C0k0tdqF.js";
|
|
11
|
+
import { u as me, a as w } from "./dialog-container-DHR0byah.js";
|
|
12
|
+
import { r as pe } from "./body-pointer-lock-CsOEDm1I.js";
|
|
13
|
+
import { X as ge } from "./x-B5YnXwCz.js";
|
|
14
|
+
const be = 8;
|
|
15
|
+
function H(e) {
|
|
16
|
+
return e instanceof HTMLElement ? e : null;
|
|
17
|
+
}
|
|
18
|
+
function ye(e) {
|
|
19
|
+
var s;
|
|
20
|
+
const t = e.ownerDocument, o = ((s = e.getAttribute("aria-labelledby")) == null ? void 0 : s.split(/\s+/)) ?? [];
|
|
21
|
+
for (const r of o) {
|
|
22
|
+
const b = r ? H(t.getElementById(r)) : null;
|
|
23
|
+
if (b && !e.contains(b)) return b;
|
|
24
|
+
}
|
|
25
|
+
if (e.id) {
|
|
26
|
+
const r = H(
|
|
27
|
+
t.querySelector(`[aria-controls~="${CSS.escape(e.id)}"]`)
|
|
28
|
+
);
|
|
29
|
+
if (r && !e.contains(r)) return r;
|
|
30
|
+
}
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
function ve(e) {
|
|
34
|
+
const t = [];
|
|
35
|
+
let o = H(e);
|
|
36
|
+
if (!o || o === o.ownerDocument.body) return t;
|
|
37
|
+
for (let s = 0; o && s <= be; s += 1) {
|
|
38
|
+
t.push(o);
|
|
39
|
+
const r = o.closest('[role="menu"]');
|
|
40
|
+
if (!r) break;
|
|
41
|
+
o = ye(r);
|
|
42
|
+
}
|
|
43
|
+
return t;
|
|
44
|
+
}
|
|
45
|
+
function De(e) {
|
|
46
|
+
return e.isConnected && !e.matches(":disabled") && e.closest("[inert]") === null && e.getClientRects().length > 0;
|
|
47
|
+
}
|
|
48
|
+
function K(e) {
|
|
49
|
+
for (const t of e)
|
|
50
|
+
if (De(t) && (t.focus({ preventScroll: !0 }), t.ownerDocument.activeElement === t))
|
|
51
|
+
return !0;
|
|
52
|
+
return !1;
|
|
53
|
+
}
|
|
54
|
+
const he = {
|
|
55
|
+
id: "dialog",
|
|
56
|
+
capabilities: ["open", "close", "dismiss"],
|
|
57
|
+
state: {
|
|
58
|
+
isOpen: {
|
|
59
|
+
type: "boolean",
|
|
60
|
+
descriptionKey: "ui.agent.dialog.state.isOpen",
|
|
61
|
+
description: "True when the dialog is currently open.",
|
|
62
|
+
read: (e) => e.getIsOpen()
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
actions: {
|
|
66
|
+
open: {
|
|
67
|
+
safety: "read",
|
|
68
|
+
idempotent: !0,
|
|
69
|
+
descriptionKey: "ui.agent.dialog.actions.open",
|
|
70
|
+
description: "Open the dialog.",
|
|
71
|
+
invoke: (e) => {
|
|
72
|
+
e.open();
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
close: {
|
|
76
|
+
safety: "read",
|
|
77
|
+
idempotent: !0,
|
|
78
|
+
descriptionKey: "ui.agent.dialog.actions.close",
|
|
79
|
+
description: "Close the dialog. Reversible by reopening.",
|
|
80
|
+
invoke: (e) => {
|
|
81
|
+
e.close();
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
dismiss: {
|
|
85
|
+
safety: "destructive",
|
|
86
|
+
idempotent: !0,
|
|
87
|
+
descriptionKey: "ui.agent.dialog.actions.dismiss",
|
|
88
|
+
description: "Dismiss the dialog. Loses any in-progress input that has not been committed.",
|
|
89
|
+
invoke: (e) => {
|
|
90
|
+
e.close();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
domHooks: {
|
|
95
|
+
root: { attr: "data-component", value: "dialog" },
|
|
96
|
+
instanceId: {
|
|
97
|
+
attr: "data-component-id",
|
|
98
|
+
sourceProp: "id",
|
|
99
|
+
description: "Sourced from the id prop on Dialog.Root."
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}, q = [
|
|
103
|
+
"ds-dialog__backdrop",
|
|
104
|
+
"ds:backdrop-blur-sm",
|
|
105
|
+
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0",
|
|
106
|
+
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0",
|
|
107
|
+
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
108
|
+
].join(" "), _e = [
|
|
109
|
+
"ds:focus-visible:outline-none",
|
|
110
|
+
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0 ds:data-[state=open]:zoom-in-95",
|
|
111
|
+
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0 ds:data-[state=closed]:zoom-out-95",
|
|
112
|
+
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
113
|
+
].join(" "), Ce = U(`ds-dialog ds-dialog__surface ${_e}`, {
|
|
114
|
+
variants: {
|
|
115
|
+
size: {
|
|
116
|
+
sm: "ds-dialog__surface--sm",
|
|
117
|
+
md: "",
|
|
118
|
+
lg: "ds-dialog__surface--lg",
|
|
119
|
+
xl: "ds-dialog__surface--xl",
|
|
120
|
+
fullscreen: "ds-dialog__surface--fullscreen"
|
|
121
|
+
},
|
|
122
|
+
// `body` pins the header and footer and scrolls only `Dialog.Body` once
|
|
123
|
+
// the content passes the height cap. `surface` (default) scrolls the
|
|
124
|
+
// whole panel as one block.
|
|
125
|
+
scroll: {
|
|
126
|
+
surface: "",
|
|
127
|
+
body: "ds-dialog__surface--scroll-body"
|
|
128
|
+
},
|
|
129
|
+
// `flush` drops the surface padding for content that brings its own
|
|
130
|
+
// header, scroll box and footer (a docked panel thrown in a dialog).
|
|
131
|
+
flush: {
|
|
132
|
+
true: "ds-dialog__surface--flush",
|
|
133
|
+
false: ""
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
defaultVariants: { size: "md", scroll: "surface", flush: !1 }
|
|
137
|
+
}), E = /* @__PURE__ */ new WeakMap(), L = re({
|
|
138
|
+
modal: !0,
|
|
139
|
+
open: !1,
|
|
140
|
+
container: null,
|
|
141
|
+
requestClose: () => {
|
|
142
|
+
},
|
|
143
|
+
triggerRef: { current: null },
|
|
144
|
+
returnFocusRef: { current: [] }
|
|
145
|
+
}), B = ({
|
|
146
|
+
children: e,
|
|
147
|
+
id: t,
|
|
148
|
+
open: o,
|
|
149
|
+
defaultOpen: s,
|
|
150
|
+
onOpenChange: r,
|
|
151
|
+
modal: b = !0,
|
|
152
|
+
scope: M = "viewport",
|
|
153
|
+
...h
|
|
154
|
+
}) => {
|
|
155
|
+
const _ = me(), [C, p] = le({
|
|
156
|
+
value: o,
|
|
157
|
+
defaultValue: s ?? !1,
|
|
158
|
+
onChange: r
|
|
159
|
+
}), c = C ?? !1, O = M === "container" ? _ : null, x = D(O);
|
|
160
|
+
c || (x.current = O);
|
|
161
|
+
const v = x.current, y = v ? !1 : b, l = D(c);
|
|
162
|
+
z(() => {
|
|
163
|
+
l.current = c;
|
|
164
|
+
}, [c]);
|
|
165
|
+
const j = V(
|
|
166
|
+
() => ({
|
|
167
|
+
getIsOpen: () => l.current,
|
|
168
|
+
open: () => p(!0),
|
|
169
|
+
close: () => p(!1)
|
|
170
|
+
}),
|
|
171
|
+
[p]
|
|
172
|
+
);
|
|
173
|
+
ce(he, j, t);
|
|
174
|
+
const k = D(null), R = D([]);
|
|
175
|
+
de(() => {
|
|
176
|
+
c && (R.current = ve(document.activeElement));
|
|
177
|
+
}, [c]);
|
|
178
|
+
const N = se(() => p(!1), [p]), T = V(
|
|
179
|
+
() => ({
|
|
180
|
+
id: t,
|
|
181
|
+
modal: y,
|
|
182
|
+
open: c,
|
|
183
|
+
container: v,
|
|
184
|
+
requestClose: N,
|
|
185
|
+
triggerRef: k,
|
|
186
|
+
returnFocusRef: R
|
|
187
|
+
}),
|
|
188
|
+
[t, y, c, v, N]
|
|
189
|
+
);
|
|
190
|
+
return /* @__PURE__ */ i(L.Provider, { value: T, children: /* @__PURE__ */ i(
|
|
191
|
+
m.Root,
|
|
192
|
+
{
|
|
193
|
+
open: c,
|
|
194
|
+
onOpenChange: p,
|
|
195
|
+
modal: y,
|
|
196
|
+
...h,
|
|
197
|
+
children: e
|
|
198
|
+
}
|
|
199
|
+
) });
|
|
200
|
+
};
|
|
201
|
+
B.displayName = "Dialog.Root";
|
|
202
|
+
const G = g(({ children: e, ...t }, o) => {
|
|
203
|
+
const { triggerRef: s } = $(L);
|
|
204
|
+
return /* @__PURE__ */ i(m.Trigger, { ref: X(o, s), ...t, children: e });
|
|
205
|
+
});
|
|
206
|
+
G.displayName = "Dialog.Trigger";
|
|
207
|
+
const W = g(({ children: e, ...t }, o) => /* @__PURE__ */ i(m.Close, { ref: o, ...t, children: e }));
|
|
208
|
+
W.displayName = "Dialog.Close";
|
|
209
|
+
const Y = g(
|
|
210
|
+
({
|
|
211
|
+
size: e = "md",
|
|
212
|
+
variant: t = "default",
|
|
213
|
+
scroll: o = "surface",
|
|
214
|
+
flush: s = !1,
|
|
215
|
+
hideCloseButton: r,
|
|
216
|
+
className: b,
|
|
217
|
+
children: M,
|
|
218
|
+
onKeyDown: h,
|
|
219
|
+
onCloseAutoFocus: _,
|
|
220
|
+
onInteractOutside: C,
|
|
221
|
+
...p
|
|
222
|
+
}, c) => {
|
|
223
|
+
const { t: O } = ie("ui"), {
|
|
224
|
+
id: x,
|
|
225
|
+
modal: v,
|
|
226
|
+
open: y,
|
|
227
|
+
container: l,
|
|
228
|
+
requestClose: j,
|
|
229
|
+
triggerRef: k,
|
|
230
|
+
returnFocusRef: R
|
|
231
|
+
} = $(L), N = D(null), T = D(!1), oe = ue(!v), S = l !== null;
|
|
232
|
+
z(() => {
|
|
233
|
+
if (!l || !y) return;
|
|
234
|
+
const n = /* @__PURE__ */ new Set(), u = () => {
|
|
235
|
+
for (const a of Array.from(l.children)) {
|
|
236
|
+
if (n.has(a) || a.hasAttribute(w))
|
|
237
|
+
continue;
|
|
238
|
+
const f = E.get(a) ?? 0;
|
|
239
|
+
f === 0 && a.hasAttribute("inert") || (a.setAttribute("inert", ""), E.set(a, f + 1), n.add(a));
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
u();
|
|
243
|
+
const d = new MutationObserver(u);
|
|
244
|
+
return d.observe(l, { childList: !0 }), () => {
|
|
245
|
+
d.disconnect();
|
|
246
|
+
for (const a of n) {
|
|
247
|
+
const f = (E.get(a) ?? 1) - 1;
|
|
248
|
+
f > 0 ? E.set(a, f) : (E.delete(a), a.removeAttribute("inert"));
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
}, [l, y]);
|
|
252
|
+
const ne = t === "alert" ? { role: "alertdialog" } : {}, ae = r ?? t !== "default";
|
|
253
|
+
return /* @__PURE__ */ I(m.Portal, { container: l ?? void 0, children: [
|
|
254
|
+
S ? (
|
|
255
|
+
// Radix renders no overlay for a non-modal dialog, so the contained
|
|
256
|
+
// one brings its own: the same skin, sized to the container. A
|
|
257
|
+
// press on it is a press outside the content, which closes.
|
|
258
|
+
/* @__PURE__ */ i(
|
|
259
|
+
"div",
|
|
260
|
+
{
|
|
261
|
+
[w]: "",
|
|
262
|
+
"aria-hidden": "true",
|
|
263
|
+
"data-component": "dialog-overlay",
|
|
264
|
+
"data-state": y ? "open" : "closed",
|
|
265
|
+
className: `${q} ds-dialog__backdrop--contained`
|
|
266
|
+
}
|
|
267
|
+
)
|
|
268
|
+
) : /* @__PURE__ */ i(
|
|
269
|
+
m.Overlay,
|
|
270
|
+
{
|
|
271
|
+
"data-component": "dialog-overlay",
|
|
272
|
+
className: q
|
|
273
|
+
}
|
|
274
|
+
),
|
|
275
|
+
/* @__PURE__ */ I(
|
|
276
|
+
m.Content,
|
|
277
|
+
{
|
|
278
|
+
ref: X(c, N),
|
|
279
|
+
...ne,
|
|
280
|
+
...S ? { [w]: "" } : {},
|
|
281
|
+
"data-component": "dialog",
|
|
282
|
+
"data-component-id": x,
|
|
283
|
+
className: Ce({
|
|
284
|
+
size: e,
|
|
285
|
+
scroll: o,
|
|
286
|
+
flush: s,
|
|
287
|
+
className: [
|
|
288
|
+
S ? "ds-dialog__surface--contained" : "",
|
|
289
|
+
b
|
|
290
|
+
].filter(Boolean).join(" ")
|
|
291
|
+
}),
|
|
292
|
+
...p,
|
|
293
|
+
onKeyDown: (n) => {
|
|
294
|
+
if (h == null || h(n), S && !n.defaultPrevented && n.key === "Tab" && n.shiftKey && !n.altKey && !n.ctrlKey && !n.metaKey) {
|
|
295
|
+
const u = n.currentTarget, d = u.ownerDocument.activeElement, a = fe(u, "first");
|
|
296
|
+
if (d === u || a && d === a) {
|
|
297
|
+
n.preventDefault(), j();
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
oe(n);
|
|
302
|
+
},
|
|
303
|
+
onInteractOutside: (n) => {
|
|
304
|
+
C == null || C(n), n.defaultPrevented || (T.current = !0);
|
|
305
|
+
},
|
|
306
|
+
onCloseAutoFocus: (n) => {
|
|
307
|
+
var P, F;
|
|
308
|
+
pe();
|
|
309
|
+
const u = T.current;
|
|
310
|
+
T.current = !1;
|
|
311
|
+
const d = document.activeElement, a = l !== null && u && d instanceof HTMLElement && d !== document.body && !l.contains(d);
|
|
312
|
+
if (a && n.preventDefault(), _ == null || _(n), a) {
|
|
313
|
+
document.activeElement !== d && d.isConnected && d.focus({ preventScroll: !0 });
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
if (n.defaultPrevented) return;
|
|
317
|
+
if (l !== null && u) {
|
|
318
|
+
const A = k.current;
|
|
319
|
+
A != null && A.isConnected ? (A.focus({ preventScroll: !0 }), n.preventDefault()) : K(R.current) && n.preventDefault();
|
|
320
|
+
return;
|
|
321
|
+
}
|
|
322
|
+
if ((P = k.current) != null && P.isConnected || !v && u) return;
|
|
323
|
+
const f = document.activeElement;
|
|
324
|
+
f !== null && f !== document.body && !((F = N.current) != null && F.contains(f)) || K(R.current) && n.preventDefault();
|
|
325
|
+
},
|
|
326
|
+
children: [
|
|
327
|
+
M,
|
|
328
|
+
!ae && // The close is a plain button carrying the `ds-dialog__close`
|
|
329
|
+
// contract class — the SAME class a vanilla host renders. The CSS
|
|
330
|
+
// (src/styles.css) owns its position, sizing, glyph size, hover
|
|
331
|
+
// wash, and focus ring from tokens, so the React and non-React
|
|
332
|
+
// close buttons are identical and can't drift.
|
|
333
|
+
/* @__PURE__ */ i(
|
|
334
|
+
m.Close,
|
|
335
|
+
{
|
|
336
|
+
type: "button",
|
|
337
|
+
className: "ds-dialog__close",
|
|
338
|
+
"aria-label": O("common.close", "Close"),
|
|
339
|
+
children: /* @__PURE__ */ i(ge, { "aria-hidden": "true" })
|
|
340
|
+
}
|
|
341
|
+
)
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
)
|
|
345
|
+
] });
|
|
346
|
+
}
|
|
347
|
+
);
|
|
348
|
+
Y.displayName = "Dialog.Content";
|
|
349
|
+
const J = g(
|
|
350
|
+
({ className: e, ...t }, o) => /* @__PURE__ */ i(
|
|
351
|
+
"div",
|
|
352
|
+
{
|
|
353
|
+
ref: o,
|
|
354
|
+
className: ["ds-dialog__header", e].filter(Boolean).join(" "),
|
|
355
|
+
...t
|
|
356
|
+
}
|
|
357
|
+
)
|
|
358
|
+
);
|
|
359
|
+
J.displayName = "Dialog.Header";
|
|
360
|
+
const Q = g(
|
|
361
|
+
({ className: e, ...t }, o) => /* @__PURE__ */ i(
|
|
362
|
+
"div",
|
|
363
|
+
{
|
|
364
|
+
ref: o,
|
|
365
|
+
className: ["ds-dialog__body", e].filter(Boolean).join(" "),
|
|
366
|
+
...t
|
|
367
|
+
}
|
|
368
|
+
)
|
|
369
|
+
);
|
|
370
|
+
Q.displayName = "Dialog.Body";
|
|
371
|
+
const Z = g(({ className: e, ...t }, o) => /* @__PURE__ */ i(
|
|
372
|
+
m.Title,
|
|
373
|
+
{
|
|
374
|
+
ref: o,
|
|
375
|
+
className: ["ds-dialog__title type-title-card ds:break-words", e].filter(Boolean).join(" "),
|
|
376
|
+
...t
|
|
377
|
+
}
|
|
378
|
+
));
|
|
379
|
+
Z.displayName = "Dialog.Title";
|
|
380
|
+
const ee = g(({ className: e, ...t }, o) => /* @__PURE__ */ i(
|
|
381
|
+
m.Description,
|
|
382
|
+
{
|
|
383
|
+
ref: o,
|
|
384
|
+
className: ["type-body-sm ds:text-[var(--muted-foreground)]", e].filter(Boolean).join(" "),
|
|
385
|
+
...t
|
|
386
|
+
}
|
|
387
|
+
));
|
|
388
|
+
ee.displayName = "Dialog.Description";
|
|
389
|
+
const Re = U(
|
|
390
|
+
[
|
|
391
|
+
"ds:@container/dialog-footer",
|
|
392
|
+
"ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]",
|
|
393
|
+
"ds:@max-[384px]/dialog-footer:[&>*]:w-full",
|
|
394
|
+
"ds:mt-[var(--spacing-md)]"
|
|
395
|
+
].join(" "),
|
|
396
|
+
{
|
|
397
|
+
variants: {
|
|
398
|
+
divider: {
|
|
399
|
+
true: "ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-md)]",
|
|
400
|
+
false: ""
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
defaultVariants: { divider: !1 }
|
|
404
|
+
}
|
|
405
|
+
), te = g(
|
|
406
|
+
({ className: e, divider: t = !1, ...o }, s) => /* @__PURE__ */ i(
|
|
407
|
+
"div",
|
|
408
|
+
{
|
|
409
|
+
ref: s,
|
|
410
|
+
className: Re({ divider: t, className: e }),
|
|
411
|
+
...o
|
|
412
|
+
}
|
|
413
|
+
)
|
|
414
|
+
);
|
|
415
|
+
te.displayName = "Dialog.Footer";
|
|
416
|
+
const Le = Object.assign(B, {
|
|
417
|
+
Root: B,
|
|
418
|
+
Trigger: G,
|
|
419
|
+
Content: Y,
|
|
420
|
+
Header: J,
|
|
421
|
+
Title: Z,
|
|
422
|
+
Description: ee,
|
|
423
|
+
Body: Q,
|
|
424
|
+
Footer: te,
|
|
425
|
+
Close: W
|
|
426
|
+
});
|
|
427
|
+
export {
|
|
428
|
+
Le as D,
|
|
429
|
+
he as d
|
|
430
|
+
};
|
|
431
|
+
//# sourceMappingURL=dialog-239Geb7Z.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createElement as t, createContext as n, useContext as i } from "react";
|
|
2
|
+
const o = n(null), r = ({
|
|
3
|
+
container: e,
|
|
4
|
+
children: a
|
|
5
|
+
}) => t(
|
|
6
|
+
o.Provider,
|
|
7
|
+
{ value: e },
|
|
8
|
+
a
|
|
9
|
+
);
|
|
10
|
+
r.displayName = "DialogContainerProvider";
|
|
11
|
+
const s = () => i(o), C = "data-dialog-contained";
|
|
12
|
+
export {
|
|
13
|
+
r as D,
|
|
14
|
+
C as a,
|
|
15
|
+
s as u
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=dialog-container-DHR0byah.js.map
|
|
@@ -7,8 +7,8 @@ import { I as j } from "./icon-button-S8_weU3g.js";
|
|
|
7
7
|
import { C as q } from "./card-n6W6LW-N.js";
|
|
8
8
|
import { E as me } from "./empty-state-DwJ5YNzz.js";
|
|
9
9
|
import { P as ue } from "./panel-header-CbtlTe85.js";
|
|
10
|
-
import { P as pe } from "./pdf-viewer-
|
|
11
|
-
import { T as fe, b as he, c as ve, a as ge } from "./tabs-
|
|
10
|
+
import { P as pe } from "./pdf-viewer-C8no312t.js";
|
|
11
|
+
import { T as fe, b as he, c as ve, a as ge } from "./tabs-BOf9OO--.js";
|
|
12
12
|
import { a as we } from "./format-number-DdzqwMs1.js";
|
|
13
13
|
import { c as ye } from "./intl-locale-FWh-Y5_3.js";
|
|
14
14
|
import { b as be } from "./privacy-mask-C2ZLKrMh.js";
|
|
@@ -382,4 +382,4 @@ export {
|
|
|
382
382
|
Ve as D,
|
|
383
383
|
Ce as d
|
|
384
384
|
};
|
|
385
|
-
//# sourceMappingURL=document-preview-
|
|
385
|
+
//# sourceMappingURL=document-preview-x_S8V7VC.js.map
|
|
@@ -5,7 +5,7 @@ import { c as D } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { S as ne } from "./separator-Bdc9bqoJ.js";
|
|
6
6
|
import { K as V } from "./kbd-Bx7eQv9f.js";
|
|
7
7
|
import { b as $ } from "./menu-row-BAr8bx1I.js";
|
|
8
|
-
import { P as E } from "./popup-region-
|
|
8
|
+
import { P as E } from "./popup-region-BgZ8oeUB.js";
|
|
9
9
|
import { u as de } from "./use-controllable-state-BiY4xTzM.js";
|
|
10
10
|
import { u as ie } from "./registry-DvAUVLHh.js";
|
|
11
11
|
import { r as ce } from "./body-pointer-lock-CsOEDm1I.js";
|
|
@@ -680,4 +680,4 @@ export {
|
|
|
680
680
|
Oe as D,
|
|
681
681
|
me as d
|
|
682
682
|
};
|
|
683
|
-
//# sourceMappingURL=dropdown-menu-
|
|
683
|
+
//# sourceMappingURL=dropdown-menu-Bm1KALnk.js.map
|
|
@@ -6,7 +6,7 @@ import { u as de } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { R as C } from "./radio-BZQs6_36.js";
|
|
7
7
|
import { R as z } from "./radio-group-ChIKyeSJ.js";
|
|
8
8
|
import { F as w } from "./form-field-CyHfOVKF.js";
|
|
9
|
-
import { D as T } from "./date-picker-
|
|
9
|
+
import { D as T } from "./date-picker-CD-PBzXM.js";
|
|
10
10
|
import { N as Y } from "./number-input-Bi5Yk6PX.js";
|
|
11
11
|
import { C as U } from "./card-n6W6LW-N.js";
|
|
12
12
|
import { B as W } from "./badge-BUk4RjTS.js";
|
|
@@ -568,4 +568,4 @@ Ae.displayName = "DueDateCalculator";
|
|
|
568
568
|
export {
|
|
569
569
|
Ae as D
|
|
570
570
|
};
|
|
571
|
-
//# sourceMappingURL=due-date-calculator-
|
|
571
|
+
//# sourceMappingURL=due-date-calculator-DpN0Z9p4.js.map
|