@vokril/ui-solid 0.9.2 → 0.13.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/CHANGELOG.md +30 -0
- package/dist/{AttributeGrid-Bnn1w5XX.cjs → AttributeGrid-Bg88JYZI.cjs} +1 -1
- package/dist/{AttributeGrid-DJdW32LQ.js → AttributeGrid-BypjAajJ.js} +4 -4
- package/dist/{Button-BZWXPn8y.js → Button-Db6wMY-3.js} +2 -2
- package/dist/{Button-X8QR6llv.cjs → Button-d9jJBibg.cjs} +1 -1
- package/dist/CommandPalette-DeEImZ8D.cjs +2 -0
- package/dist/{CommandPalette-ZCFlLqrP.js → CommandPalette-yqvM9AuU.js} +1372 -1425
- package/dist/{CopyButton-D3dIRRnn.js → CopyButton-C93PFyYK.js} +1 -1
- package/dist/{CopyButton-3cX5MHAf.cjs → CopyButton-CXaZRU7b.cjs} +1 -1
- package/dist/{DateRangePicker-DHI3SNna.cjs → DateRangePicker-7t4JKCp1.cjs} +1 -1
- package/dist/{DateRangePicker-BcqoUao4.js → DateRangePicker-D-5rg3h1.js} +4 -4
- package/dist/{GuidedTour-c7XiyOmE.cjs → GuidedTour-C_Lxe1t_.cjs} +10 -10
- package/dist/{GuidedTour-B-BXe3ul.js → GuidedTour-lsljVkPL.js} +1489 -1487
- package/dist/{IconPicker-CXbFmJ3y.js → IconPicker-C3ZwWkB1.js} +4 -4
- package/dist/{IconPicker-9tjEtmqt.cjs → IconPicker-DPT-QfsC.cjs} +1 -1
- package/dist/{Input-BEnk4FCF.cjs → Input-Ca8fLm_s.cjs} +1 -1
- package/dist/{Input-PZ5wRvPx.js → Input-gq8EcQao.js} +1 -1
- package/dist/{Modal-CsiV55WW.js → Modal-C4l_yuY9.js} +3 -3
- package/dist/{Modal-DpDHzCWT.cjs → Modal-CJhd27dM.cjs} +1 -1
- package/dist/{PageSkeleton-CyTXvZYm.js → PageSkeleton-C95fXUUk.js} +56 -56
- package/dist/{PageSkeleton-DzKYTuNy.cjs → PageSkeleton-SYSL4Adl.cjs} +1 -1
- package/dist/{SearchableSelect-C6KL7e42.js → SearchableSelect-BpOD2_A-.js} +3 -3
- package/dist/{SearchableSelect-zT8XNpmt.cjs → SearchableSelect-MN5azo9r.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-CZmym2gV.js → StatusBarNotificationBell-B1bvE_SO.js} +45 -45
- package/dist/{StatusBarNotificationBell-DG8Pe6R-.cjs → StatusBarNotificationBell-Cqo6cZbO.cjs} +1 -1
- package/dist/{Stepper-BxXwbDq4.js → Stepper-BgDx1cPX.js} +1 -1
- package/dist/{Stepper-DoJFCfC7.cjs → Stepper-D7rXGxdg.cjs} +1 -1
- package/dist/{Textarea-BunKEY68.cjs → Textarea-BltpSavs.cjs} +1 -1
- package/dist/{Textarea-BUxibzkR.js → Textarea-BueHsjOk.js} +1 -1
- package/dist/{TimeSeriesChart-DBrDzBGE.js → TimeSeriesChart-C3o7NZPh.js} +1 -1
- package/dist/{TimeSeriesChart-CS4jQflv.cjs → TimeSeriesChart-DhYtrAgX.cjs} +1 -1
- package/dist/{ToggleButton-Bjxv8KGH.cjs → ToggleButton-BmwDfsn4.cjs} +1 -1
- package/dist/{ToggleButton-BfjXnp-P.js → ToggleButton-DCP7f6Uo.js} +6 -6
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.cts +23 -14
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +23 -14
- package/dist/_internal/platform/a11y/announcerService.d.cts +9 -13
- package/dist/_internal/platform/a11y/announcerService.d.ts +9 -13
- package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -5
- package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -5
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/{catalogNotify-CIhFuJ1b.js → catalogNotify-BcY9oqVy.js} +287 -274
- package/dist/catalogNotify-DacJjC-p.cjs +27 -0
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/{createResizableSidebar-pDoO-7q9.cjs → createResizableSidebar-BIhyo5zN.cjs} +1 -1
- package/dist/{createResizableSidebar-2TgiFZp1.js → createResizableSidebar-Cqv-1IXG.js} +6 -6
- package/dist/{server/defineSettings-By5ell8e.js → defineSettings-CcYXt2Jf.js} +1 -1
- package/dist/{defineSettings-DRv1FRbv.cjs → defineSettings-yHQdUwxI.cjs} +1 -1
- package/dist/{descriptor-B1MaujhY.js → descriptor-CrCl515S.js} +2 -2
- package/dist/{descriptor-lw1fA9mi.cjs → descriptor-Dmch-3AF.cjs} +1 -1
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +5 -5
- package/dist/{displayOwner-BNw2Foa_.cjs → displayOwner-eYQHHvjt.cjs} +1 -1
- package/dist/{server/displayOwner-B_ezJv-O.js → displayOwner-mT80Oyi-.js} +1 -1
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +3 -3
- package/dist/focusModality-BNjYldd9.cjs +1 -0
- package/dist/focusModality-DxudpWPs.js +135 -0
- package/dist/{format-UGlMj0HW.js → format-BS7oDguE.js} +3 -3
- package/dist/{format-Dih0q9gm.cjs → format-CuANkXXB.cjs} +1 -1
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/{server/headerIconOverrides-BCzeaBA1.js → headerIconOverrides-B7TQUBmD.js} +1 -1
- package/dist/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-DY3BTuca.cjs} +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.d.cts +1 -0
- package/dist/host/index.d.ts +1 -0
- package/dist/host/index.js +94 -91
- package/dist/host/kitHost.d.cts +23 -0
- package/dist/host/kitHost.d.ts +23 -0
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/{i18n-CYq-dVvv.js → i18n-D9k9xwuD.js} +1 -1
- package/dist/{i18n-B9ccWgcR.cjs → i18n-DXXArz-m.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1049 -995
- package/dist/kitHost-BfJExE1G.cjs +1 -0
- package/dist/kitHost-CVAEi9sF.js +23 -0
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/{mainRealmDom-DijAgSXt.cjs → mainRealmDom-CkoRyNhZ.cjs} +1 -1
- package/dist/{mainRealmDom-COGBiX78.js → mainRealmDom-kEStLHIY.js} +1 -1
- package/dist/{menuFavorites-Db1DpHX6.js → menuFavorites-BmdM_qV5.js} +1 -1
- package/dist/{menuFavorites-EluLLTfi.cjs → menuFavorites-DoDFvtlQ.cjs} +1 -1
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/{notification-DFbp3S_f.js → notification-CpDYN_iu.js} +1 -1
- package/dist/{notification-CrxHMXsk.cjs → notification-DygvQB_o.cjs} +1 -1
- package/dist/{notificationSuppressions-DFbFpayS.cjs → notificationSuppressions-DGfo2QKG.cjs} +1 -1
- package/dist/{notificationSuppressions-CBIJ4bC4.js → notificationSuppressions-ddyK85cB.js} +2 -2
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +1 -0
- package/dist/notifications/index.d.ts +1 -0
- package/dist/notifications/index.js +83 -77
- package/dist/overlay/ConfirmDialog.d.cts +22 -4
- package/dist/overlay/ConfirmDialog.d.ts +22 -4
- package/dist/overlay/DangerousActionDialog.d.cts +2 -2
- package/dist/overlay/DangerousActionDialog.d.ts +2 -2
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.js +38 -38
- package/dist/{server/preferencesCache-BhUd3K9p.js → preferencesCache-Bow6TxP1.js} +1 -1
- package/dist/{preferencesCache-DJPCTPYx.cjs → preferencesCache-D7mm43_n.cjs} +1 -1
- package/dist/rendererLogging-Dt5FZ8mq.cjs +7 -0
- package/dist/{rendererLogging-Edo4ALXU.js → rendererLogging-gAhiHWkA.js} +65 -65
- package/dist/server/{AttributeGrid-BVAQshm3.cjs → AttributeGrid-CyMsR4GC.cjs} +1 -1
- package/dist/server/{AttributeGrid-BCYNwNjw.js → AttributeGrid-UJtHTip2.js} +3 -3
- package/dist/server/{Button-BhqhjFpY.js → Button-BesBg6eW.js} +1 -1
- package/dist/server/{Button-CFOM8pOv.cjs → Button-PZulLru4.cjs} +1 -1
- package/dist/server/CommandPalette-C8treS8g.cjs +1 -0
- package/dist/server/CommandPalette-Dslsq5Ez.js +3155 -0
- package/dist/server/{CopyButton-C2jzn9tR.cjs → CopyButton-D_sN2Ggp.cjs} +1 -1
- package/dist/server/{CopyButton-CChDa2p3.js → CopyButton-I5xsXV07.js} +1 -1
- package/dist/server/{DateRangePicker-sX2m4194.cjs → DateRangePicker-CDKi9BAf.cjs} +1 -1
- package/dist/server/{DateRangePicker-QV6U1adB.js → DateRangePicker-DGUl2aE3.js} +3 -3
- package/dist/server/GuidedTour-B3T9rAPX.cjs +20 -0
- package/dist/server/{GuidedTour-BhJGkoPa.js → GuidedTour-DSoSZZby.js} +1559 -1557
- package/dist/server/{IconPicker-CSFowOa0.cjs → IconPicker-BlD0VBca.cjs} +1 -1
- package/dist/server/{IconPicker-B-d_Wcsj.js → IconPicker-o8hUxjYU.js} +4 -4
- package/dist/server/{Modal-CAVr4DU6.cjs → Modal-CCUwQYso.cjs} +1 -1
- package/dist/server/{Modal-usxkqDtK.js → Modal-DmF6CwfY.js} +2 -2
- package/dist/server/{PageSkeleton-Bpgep9QW.js → PageSkeleton-BigztY5i.js} +21 -21
- package/dist/server/{PageSkeleton-KwYRrZua.cjs → PageSkeleton-DdpXfZoC.cjs} +1 -1
- package/dist/server/{SearchableSelect-0dP7bp0a.js → SearchableSelect-Dn-cssWx.js} +2 -2
- package/dist/server/{SearchableSelect-nMecJAYS.cjs → SearchableSelect-R0Dwz9rz.cjs} +1 -1
- package/dist/server/{StatusBarNotificationBell-C9MCuKT6.js → StatusBarNotificationBell-C64Odn2C.js} +169 -169
- package/dist/server/{StatusBarNotificationBell-BJyGqDCX.cjs → StatusBarNotificationBell-DY0Q27su.cjs} +1 -1
- package/dist/server/{Stepper-B8hDDujj.js → Stepper-BaQ6Kexj.js} +1 -1
- package/dist/server/{Stepper-DvoJXLcM.cjs → Stepper-dBm8YaCw.cjs} +1 -1
- package/dist/server/{TimeSeriesChart-C1LbL_xp.js → TimeSeriesChart-BbbfDyeA.js} +1 -1
- package/dist/server/{TimeSeriesChart-DtldQrxS.cjs → TimeSeriesChart-qPgMkkaW.cjs} +1 -1
- package/dist/server/{ToggleButton-DTI2HB97.cjs → ToggleButton-1bNYk35x.cjs} +1 -1
- package/dist/server/{ToggleButton--G4HCOTD.js → ToggleButton-C0_QpslP.js} +4 -4
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/server/catalogNotify-MCW2sa2e.cjs +27 -0
- package/dist/server/{catalogNotify-mUcKuUmZ.js → catalogNotify-s3YymAe8.js} +289 -276
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{createResizableSidebar-D96TivmC.js → createResizableSidebar-MIzUlfdd.js} +5 -5
- package/dist/server/{createResizableSidebar-SJ2NCIYW.cjs → createResizableSidebar-TdxLuiY8.cjs} +1 -1
- package/dist/{defineSettings-By5ell8e.js → server/defineSettings-CcYXt2Jf.js} +1 -1
- package/dist/server/{defineSettings-DRv1FRbv.cjs → defineSettings-yHQdUwxI.cjs} +1 -1
- package/dist/server/{descriptor-IJq9wdXK.cjs → descriptor-DAyyoF-I.cjs} +1 -1
- package/dist/server/{descriptor-DWkJAggS.js → descriptor-DtZDXBe6.js} +2 -2
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +4 -4
- package/dist/server/{displayOwner-BNw2Foa_.cjs → displayOwner-eYQHHvjt.cjs} +1 -1
- package/dist/{displayOwner-B_ezJv-O.js → server/displayOwner-mT80Oyi-.js} +1 -1
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +2 -2
- package/dist/server/{focusModality-DmOZptla.js → focusModality-BCX5GH0P.js} +31 -29
- package/dist/server/focusModality-BKgJWRlC.cjs +1 -0
- package/dist/server/{format-CW_FVfq2.js → format-CYCi8g4r.js} +1 -1
- package/dist/server/{format-x-8syaS2.cjs → format-WfZycMBL.cjs} +1 -1
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +7 -7
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/{headerIconOverrides-BCzeaBA1.js → server/headerIconOverrides-B7TQUBmD.js} +1 -1
- package/dist/server/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-DY3BTuca.cjs} +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +94 -91
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/server/{i18n-CYq-dVvv.js → i18n-D9k9xwuD.js} +1 -1
- package/dist/server/{i18n-B9ccWgcR.cjs → i18n-DXXArz-m.cjs} +1 -1
- package/dist/server/index-B4epvfiq.js +13377 -0
- package/dist/server/index-DlQYWckZ.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1026 -972
- package/dist/server/kitHost-BfJExE1G.cjs +1 -0
- package/dist/server/kitHost-CVAEi9sF.js +23 -0
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +2 -2
- package/dist/server/{menuFavorites-Db1DpHX6.js → menuFavorites-BmdM_qV5.js} +1 -1
- package/dist/server/{menuFavorites-EluLLTfi.cjs → menuFavorites-DoDFvtlQ.cjs} +1 -1
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/server/{notification-DFbp3S_f.js → notification-CpDYN_iu.js} +1 -1
- package/dist/server/{notification-CrxHMXsk.cjs → notification-DygvQB_o.cjs} +1 -1
- package/dist/server/{notificationSuppressions-DkrUMXHx.js → notificationSuppressions-B-LKq9ZU.js} +2 -2
- package/dist/server/{notificationSuppressions-D7FZmJy8.cjs → notificationSuppressions-Dcc2WFBZ.cjs} +1 -1
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +81 -75
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +27 -27
- package/dist/{preferencesCache-BhUd3K9p.js → server/preferencesCache-Bow6TxP1.js} +1 -1
- package/dist/server/{preferencesCache-DJPCTPYx.cjs → preferencesCache-D7mm43_n.cjs} +1 -1
- package/dist/server/rendererLogging-Dt5FZ8mq.cjs +7 -0
- package/dist/server/{rendererLogging-Edo4ALXU.js → rendererLogging-gAhiHWkA.js} +65 -65
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +3 -3
- package/dist/server/{settingsSearchContributor-DeMn-njw.js → settingsSearchContributor-CRZsl2Q_.js} +2 -2
- package/dist/server/{settingsSearchContributor-DZj7Wc8l.cjs → settingsSearchContributor-DH8UFpp2.cjs} +1 -1
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +3 -3
- package/dist/{settingsSearchContributor-C-UJc7Xc.js → settingsSearchContributor-DWP5dwn3.js} +2 -2
- package/dist/{settingsSearchContributor-Du0SDpJt.cjs → settingsSearchContributor-Dltbs1j_.cjs} +1 -1
- package/dist/solid/_internal/app/settings/secrets/notificationSecrets.js +20 -28
- package/dist/solid/_internal/platform/a11y/announcerService.js +0 -24
- package/dist/solid/a11y/AriaAnnouncer.jsx +4 -4
- package/dist/solid/host/index.js +1 -0
- package/dist/solid/host/kitHost.jsx +15 -0
- package/dist/solid/notifications/NotificationItem.jsx +4 -3
- package/dist/solid/notifications/emailDigest.js +2 -2
- package/dist/solid/notifications/index.js +1 -0
- package/dist/solid/notifications/webhookDelivery.js +2 -2
- package/dist/solid/overlay/ConfirmDialog.jsx +1 -21
- package/dist/style.css +1 -1
- package/dist/{tooltipCoordinator-y5YP3tsJ.cjs → tooltipCoordinator-Causlcgt.cjs} +1 -1
- package/dist/{tooltipCoordinator-GV0L9lXH.js → tooltipCoordinator-Zim5pWzk.js} +1 -1
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/ui.css +1 -1
- package/package.json +2 -2
- package/dist/CommandPalette-DToM9pUp.cjs +0 -2
- package/dist/_internal/platform/instantiation/common/descriptors.d.cts +0 -9
- package/dist/_internal/platform/instantiation/common/descriptors.d.ts +0 -9
- package/dist/_internal/platform/instantiation/common/instantiation.d.cts +0 -99
- package/dist/_internal/platform/instantiation/common/instantiation.d.ts +0 -99
- package/dist/_internal/platform/instantiation/common/serviceCollection.d.cts +0 -8
- package/dist/_internal/platform/instantiation/common/serviceCollection.d.ts +0 -8
- package/dist/announcerService-B7yicxvU.js +0 -97
- package/dist/announcerService-D_pFE24a.cjs +0 -1
- package/dist/catalogNotify-C9RzbC6x.cjs +0 -27
- package/dist/focusModality-B150daiS.js +0 -133
- package/dist/focusModality-PPfeW05D.cjs +0 -1
- package/dist/rendererLogging-B4XML4_G.cjs +0 -7
- package/dist/server/CommandPalette-C3Bw1teR.cjs +0 -1
- package/dist/server/CommandPalette-S7tfmFMb.js +0 -3208
- package/dist/server/GuidedTour-Dx0endYh.cjs +0 -20
- package/dist/server/announcerService-B7yicxvU.js +0 -97
- package/dist/server/announcerService-D_pFE24a.cjs +0 -1
- package/dist/server/catalogNotify-BPPTINme.cjs +0 -27
- package/dist/server/focusModality-CeTPyRiF.cjs +0 -1
- package/dist/server/index-BZO0w8b6.js +0 -3661
- package/dist/server/index-DgIX9RIA.cjs +0 -1
- package/dist/server/rendererLogging-B4XML4_G.cjs +0 -7
- package/dist/solid/_internal/platform/instantiation/common/descriptors.js +0 -10
- package/dist/solid/_internal/platform/instantiation/common/instantiation.js +0 -35
- package/dist/solid/_internal/platform/instantiation/common/serviceCollection.js +0 -14
package/dist/overlay/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as c, M as u, f as p, g as O, h as M, i as T, j as
|
|
2
|
-
import { A as ee, M as ae, c as oe, m as se, r as te, a as re, t as ne } from "../Modal-
|
|
1
|
+
import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as c, M as u, f as p, g as O, h as M, i as T, j as d, k as m, N as D, O as P, P as S, S as E, l as _, m as A, n as v, o as g, p as F, q as I, r as x, s as C, T as y, t as f, u as R, v as L, w as h, x as N, y as U, z as b, A as G, B as H, E as W, G as w, H as k, I as B, J as V, K, L as Y, Q as X, R as q, U as j, V as z, W as J, X as Q, Y as Z } from "../CommandPalette-yqvM9AuU.js";
|
|
2
|
+
import { A as ee, M as ae, c as oe, m as se, r as te, a as re, t as ne } from "../Modal-C4l_yuY9.js";
|
|
3
3
|
import { O as le } from "../OverlayScrollArea-c8Za77qs.js";
|
|
4
|
-
import { D as ue, G as pe, P as Oe, f as Me, a as Te, p as
|
|
5
|
-
import { H as De, T as Pe, a as
|
|
6
|
-
import { C as
|
|
4
|
+
import { D as ue, G as pe, P as Oe, f as Me, a as Te, p as de } from "../GuidedTour-lsljVkPL.js";
|
|
5
|
+
import { H as De, T as Pe, a as Se, c as Ee, d as _e, e as Ae, f as ve } from "../format-BS7oDguE.js";
|
|
6
|
+
import { C as Fe, a as Ie, D as xe, b as Ce, W as ye, c as fe, d as Re, t as Le } from "../tooltipCoordinator-Zim5pWzk.js";
|
|
7
7
|
import { O as Ne, r as Ue, s as be } from "../dialogFocusRestore-B4ggeVAM.js";
|
|
8
8
|
import { A as He, a as We, b as we, O as ke, c as Be, P as Ve, d as Ke, e as Ye, f as Xe, g as qe, h as je, l as ze, r as Je, i as Qe } from "../anchoredLayout-FC-qv8xm.js";
|
|
9
9
|
import { g as $e, h as ea, i as aa, a as oa, b as sa, n as ta, c as ra, d as na, o as ia, e as la, r as ca, f as ua, j as pa, k as Oa, u as Ma } from "../overlayStack-DvGdPMdq.js";
|
|
10
|
-
import { u as
|
|
10
|
+
import { u as da } from "../useFloatingDropdown-CfPEYRut.js";
|
|
11
11
|
import { o as Da } from "../ownerWindow-9mx_LD47.js";
|
|
12
|
-
import { m as
|
|
12
|
+
import { m as Sa, n as Ea } from "../prefersReducedMotion-B2mMn01s.js";
|
|
13
13
|
import { D as Aa, u as va } from "../DesktopContextMenuContext-DJ3PnqAv.js";
|
|
14
|
-
import { s as
|
|
15
|
-
import { L as
|
|
14
|
+
import { s as Fa, a as Ia } from "../settingsSearchContributor-DWP5dwn3.js";
|
|
15
|
+
import { L as Ca, M as ya, P as fa, i as Ra, r as La } from "../Popover-C24npAQ7.js";
|
|
16
16
|
export {
|
|
17
17
|
ee as ActionPlaceRow,
|
|
18
18
|
He as AnchorAlignment,
|
|
19
19
|
We as AnchorAxisAlignment,
|
|
20
20
|
we as AnchorPosition,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
Fe as COLD_DELAY_MS,
|
|
22
|
+
Ie as COOLDOWN_MS,
|
|
23
23
|
o as CommandPalette,
|
|
24
24
|
s as ConfirmDialog,
|
|
25
25
|
t as ConsequenceLine,
|
|
26
26
|
r as ContextMenu,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
xe as DEFAULT_MARGIN,
|
|
28
|
+
Ce as DEFAULT_OFFSET,
|
|
29
29
|
n as DesktopContextMenu,
|
|
30
30
|
Aa as DesktopContextMenuContext,
|
|
31
31
|
ue as Disclosure,
|
|
@@ -34,15 +34,15 @@ export {
|
|
|
34
34
|
c as FloatingWindow,
|
|
35
35
|
pe as GuidedTour,
|
|
36
36
|
De as HoverTooltip,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
Ca as LISTBOX_OPTION_SELECTOR,
|
|
38
|
+
ya as MENU_ITEM_SELECTOR,
|
|
39
39
|
u as MenuDisclosure,
|
|
40
40
|
p as MenuEmpty,
|
|
41
41
|
O as MenuItem,
|
|
42
42
|
M as MenuList,
|
|
43
43
|
T as MenuSearch,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
d as MenuSection,
|
|
45
|
+
m as MenuSeparator,
|
|
46
46
|
ae as Modal,
|
|
47
47
|
D as NameStep,
|
|
48
48
|
ke as OVERLAY_DEFAULT_GAP,
|
|
@@ -54,35 +54,35 @@ export {
|
|
|
54
54
|
Ke as POPOVER_VIEWPORT_MARGIN,
|
|
55
55
|
Oe as Panel,
|
|
56
56
|
Me as PanelSeparator,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
fa as Popover,
|
|
58
|
+
S as PopoverPanel,
|
|
59
|
+
E as SUBMENU_ANCHOR_OVERLAP,
|
|
60
60
|
_ as SUBMENU_ESTIMATED_ROW_HEIGHT,
|
|
61
61
|
A as SUBMENU_ESTIMATED_WIDTH,
|
|
62
62
|
v as SUBMENU_MIN_ESTIMATED_HEIGHT,
|
|
63
63
|
g as SUBMENU_VIEWPORT_MARGIN,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
F as SaveDiscardDialog,
|
|
65
|
+
I as SelectedOptions,
|
|
66
|
+
x as StatementPreview,
|
|
67
|
+
C as StepFooter,
|
|
67
68
|
Pe as TOOLTIP_CURSOR_OFFSET_X,
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
Se as TOOLTIP_CURSOR_OFFSET_Y,
|
|
70
|
+
Ee as TOOLTIP_MAX_FOOTPRINT_X,
|
|
70
71
|
_e as TOOLTIP_VIEWPORT_MARGIN,
|
|
71
72
|
Te as ToastHost,
|
|
72
|
-
|
|
73
|
+
y as Tooltip,
|
|
73
74
|
f as TooltipHost,
|
|
74
|
-
|
|
75
|
+
ye as WARM_DELAY_MS,
|
|
75
76
|
Ye as calcFixedWidthDropdownLeft,
|
|
76
|
-
|
|
77
|
+
R as closeContextMenu,
|
|
77
78
|
oe as collectFocusableElements,
|
|
78
79
|
Xe as computeAnchoredPosition,
|
|
79
|
-
|
|
80
|
+
fe as computeAnchoredTooltipPosition,
|
|
80
81
|
qe as computeDropdownPosition,
|
|
81
82
|
je as computePopoverPosition,
|
|
82
|
-
|
|
83
|
+
L as computeSubmenuPlacement,
|
|
83
84
|
Ae as computeTooltipPointerPosition,
|
|
84
|
-
|
|
85
|
-
h as createConfirmDialog,
|
|
85
|
+
h as confirmationLevelOf,
|
|
86
86
|
N as createDangerousActionDialog,
|
|
87
87
|
U as createDesktopContextMenuApi,
|
|
88
88
|
b as createDialogFocusScope,
|
|
@@ -105,9 +105,9 @@ export {
|
|
|
105
105
|
Y as lastFocusableMenuIndex,
|
|
106
106
|
ze as layout2d,
|
|
107
107
|
X as menuSurfaceClasses,
|
|
108
|
-
|
|
108
|
+
Sa as modalBackgroundExemption,
|
|
109
109
|
se as modalTitlebarHeight,
|
|
110
|
-
|
|
110
|
+
Ea as neutralizeBackground,
|
|
111
111
|
q as nextFocusableMenuIndex,
|
|
112
112
|
ta as notifyOverlayChanged,
|
|
113
113
|
ra as notifyOverlayMotionEnd,
|
|
@@ -117,7 +117,7 @@ export {
|
|
|
117
117
|
la as overlayDepth,
|
|
118
118
|
Da as ownerWindow,
|
|
119
119
|
z as panelClasses,
|
|
120
|
-
|
|
120
|
+
de as positionTourCard,
|
|
121
121
|
ca as readOverlayMutationRevision,
|
|
122
122
|
ua as registerOverlayClose,
|
|
123
123
|
pa as registerOverlayCondition,
|
|
@@ -130,13 +130,13 @@ export {
|
|
|
130
130
|
La as resolvePopoverFocusForKey,
|
|
131
131
|
Qe as resolvePopoverSide,
|
|
132
132
|
Ue as restoreFocusTo,
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
Fa as setDatabaseObjectSearchProvider,
|
|
134
|
+
Ia as setSettingsSearchSource,
|
|
135
135
|
be as shouldRestoreFocusOnDialogClose,
|
|
136
136
|
Z as tooltip,
|
|
137
137
|
Le as tooltipCoordinator,
|
|
138
138
|
ne as trapTabFocusWithin,
|
|
139
139
|
va as useDesktopContextMenu,
|
|
140
|
-
|
|
140
|
+
da as useFloatingDropdown,
|
|
141
141
|
Ma as useOverlayRegistration
|
|
142
142
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./rendererLogging-
|
|
1
|
+
"use strict";const c=require("./rendererLogging-Dt5FZ8mq.cjs");c.getLogger("PreferencesCache");const l=()=>({workspacePreferences:{},sshState:{},uiLayoutState:{}});let t=l(),n=null;function f(e){n=e}function S(){return n?n.getUiLayout():t.uiLayoutState}const u="app-sidebar-layout-change";function L(){return u}function r(e,i){typeof window>"u"||window.dispatchEvent(new CustomEvent(u,{detail:{key:e,kind:i}}))}function y(e,i){if(n){n.setSidebarWidth(e,i);return}const o={...t.uiLayoutState.sidebarWidths??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarWidths:o}},s(),r(e,"width")}function h(e,i){if(n){n.setSidebarCollapsed(e,i);return}const o={...t.uiLayoutState.sidebarCollapsed??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarCollapsed:o}},s(),r(e,"collapsed")}let a=null;const p=250;function s(){a&&clearTimeout(a),a=setTimeout(()=>{a=null,d()},p)}async function d(){a&&(clearTimeout(a),a=null)}typeof window<"u"&&window.addEventListener("beforeunload",()=>{d()});exports.getSidebarLayoutChangeEventName=L;exports.getUiLayout=S;exports.provideLayoutPreferences=f;exports.setSidebarCollapsed=h;exports.setSidebarWidth=y;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";var G=Object.defineProperty;var Y=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var u=(t,e,r)=>Y(t,typeof e!="symbol"?e+"":e,r);const X=require("./bugIndicatingError-D2X5Hfgg.cjs");var o=(t=>(t[t.Off=0]="Off",t[t.Trace=1]="Trace",t[t.Debug=2]="Debug",t[t.Info=3]="Info",t[t.Warn=4]="Warn",t[t.Error=5]="Error",t[t.Audit=6]="Audit",t))(o||{});const M=3;function U(t,e){return e===6?!0:t===0?!1:t<=e}function x(t){if(!t)return!1;if(typeof t=="object"){const e=t;if(e.isCancellation===!0||e.cancelled===!0||e.name==="Canceled"&&e.message==="Canceled"||e.name==="AbortError"||e.name==="CancellationError")return!0}return!1}function j(t,e){return t instanceof Error&&t.message.trim()?t.message:typeof t=="string"&&t.trim()?t:e}const L=String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`,J=new RegExp(String.raw`(["']?\b(?:password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer)\b["']?)(\s*[:=]\s*)(`+L+String.raw`|[^\s,;'"}\]]+)`,"gi"),q=new RegExp(String.raw`\b(identified\s+by(?:\s+values)?)\s+(`+L+String.raw`|[^\s,;)]+)`,"gi"),Q=new RegExp(String.raw`(?<!["':])\b(password)\s*(?:=\s*)?(`+L+")","gi");function m(t){let e=t;return e=e.replace(J,(r,s,n,i)=>{if(s.startsWith('"')||s.startsWith("'")){const a=i.startsWith('"')?'"':i.startsWith("'")?"'":"";return`${s}${n}${a}[REDACTED]${a}`}return i.startsWith('"')||i.startsWith("'")?`${s} [REDACTED]`:`${s}=[REDACTED]`}),e=e.replace(q,"$1 [REDACTED]"),e=e.replace(Q,"$1 [REDACTED]"),e=e.replace(/\b([a-z][a-z0-9+\-.]*:\/\/[^\s:@/?#]+):[^\s@/?#]+@/gi,"$1:[REDACTED]@"),e=e.replace(/\beyJ[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\b/g,"[REDACTED-JWT]"),e=e.replace(/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,"[REDACTED-PRIVATE-KEY]"),e}const ee=Symbol.for("vokril.base.bestEffortSink");function te(){return globalThis}function $(t,e){const r=te()[ee];if(r===void 0)throw new X.BugIndicatingError("base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup.");r(t,e)}const S=40,O=/password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer/i;function b(t,e=new WeakSet){if(typeof t=="string")return m(t);if(typeof t=="function")return"[Function]";if(typeof t=="symbol")return t.toString();if(t instanceof Date)return t.toISOString();if(t instanceof RegExp)return t.toString();if(t&&typeof t=="object"){if(e.has(t))return"[Circular]";if(e.add(t),Array.isArray(t))return t.map(s=>b(s,e));if(t instanceof Error){const s={name:t.name,message:m(t.message)};t.stack&&(s.stack=m(t.stack));try{const n=Object.keys(t);for(const i of n)if(!(i==="name"||i==="message"||i==="stack")){if(O.test(i)){s[i]="[REDACTED]";continue}try{const a=t[i];s[i]=b(a,e)}catch{s[i]="[Unserializable]"}}}catch(n){$("ignore entry extraction failures on Error",n)}return s}const r={};try{const s=Object.keys(t);for(const n of s){if(O.test(n)){r[n]="[REDACTED]";continue}try{const i=t[n];r[n]=b(i,e)}catch{r[n]="[Unserializable]"}}}catch{return"[Unserializable]"}return r}return t}const _=[];let k=0,T=null;function re(t){T=t}function C(t){if(T!==null){T.add(t);return}try{const e=t.timestamp??Date.now(),r=m(t.message);let s;if(t.data)try{s=b(t.data)}catch{s={error:"[Unserializable data]"}}const n={timestamp:e,category:t.category,message:r,...s!==void 0?{data:s}:{},...t.level!==void 0?{level:t.level}:{}};_.length<S?_.push(n):(_[k]=n,k=(k+1)%S)}catch(e){$("Defensive: breadcrumb recording must never throw and crash the caller",e)}}function se(){return T!==null?T.list():_.length<S?[..._]:[..._.slice(k),..._.slice(0,k)]}function ne(t){let e=2166136261;for(let r=0;r<t.length;r++)e^=t.charCodeAt(r),e=Math.imul(e,16777619);return e>>>0}const ie=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi,oe=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/g,ae=/\b[0-9a-fA-F]{1,4}(?::[0-9a-fA-F]{1,4}){3,7}\b/g,ce=/\b0x[0-9a-fA-F]+\b/g,ue=/\b\d{5,}\b/g;function fe(t){return t.replace(ie,"<ID>").replace(oe,"<ID>").replace(ae,"<ID>").replace(ce,"<ID>").replace(ue,"<ID>").trim()}function le(t){if(!t)return"";const e=t.split(`
|
|
2
|
+
`).map(s=>s.trim()),r=[];for(const s of e)if(s&&s.startsWith("at ")){const n=s.endsWith(")")?s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?\)$/,")"):s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?$/,"");if(r.push(n),r.length>=2)break}return r.join(`
|
|
3
|
+
`)}function de(t){let e="Error",r="",s;try{if(t instanceof Error)e=t.name||"Error",r=t.message||"",s=t.stack;else if(typeof t=="object"&&t!==null){const c=t;typeof c.name=="string"&&(e=c.name),typeof c.message=="string"&&(r=c.message),typeof c.stack=="string"&&(s=c.stack)}else typeof t=="string"?r=t:r=String(t)}catch{e="UnserializableError",r="Error object threw during fingerprint extraction"}const n=fe(r),i=le(s),a=`${e}|${n}|${i}`;return ne(a).toString(16).padStart(8,"0")}class pe{constructor(e={}){u(this,"dedupWindowMs");u(this,"circuitBreakerWindowMs");u(this,"circuitBreakerThreshold");u(this,"fingerprints",new Map);u(this,"recentTimestamps",[]);u(this,"circuitBreakerSuppressedTotal",0);u(this,"wasCircuitBreakerOpen",!1);u(this,"lastPruneTime",0);this.dedupWindowMs=e.dedupWindowMs??5e3,this.circuitBreakerWindowMs=e.circuitBreakerWindowMs??1e4,this.circuitBreakerThreshold=e.circuitBreakerThreshold??20}shouldReport(e,r=Date.now()){(r-this.lastPruneTime>3e4||this.fingerprints.size>200)&&(this.cleanup(r),this.lastPruneTime=r);const s=r-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<s;)this.recentTimestamps.shift();if(this.recentTimestamps.length>=this.circuitBreakerThreshold){const c=!this.wasCircuitBreakerOpen;this.wasCircuitBreakerOpen=!0,this.circuitBreakerSuppressedTotal++;let l=this.fingerprints.get(e);return l||(l={lastReported:r,suppressedCount:0},this.fingerprints.set(e,l)),l.suppressedCount++,{allowed:!1,reason:"circuit_breaker",...c?{circuitBreakerJustOpened:!0}:{}}}let n;this.wasCircuitBreakerOpen&&(this.wasCircuitBreakerOpen=!1,this.circuitBreakerSuppressedTotal>0&&(n=this.circuitBreakerSuppressedTotal,this.circuitBreakerSuppressedTotal=0));const i=this.fingerprints.get(e);if(!i)return this.fingerprints.set(e,{lastReported:r,suppressedCount:0}),this.recentTimestamps.push(r),{allowed:!0,...n!==void 0?{circuitBreakerSuppressedCount:n}:{}};if(r-i.lastReported<this.dedupWindowMs)return i.suppressedCount++,{allowed:!1,reason:"duplicate"};const f=i.suppressedCount;return i.lastReported=r,i.suppressedCount=0,this.recentTimestamps.push(r),{allowed:!0,...f>0?{suppressedCount:f}:{},...n!==void 0?{circuitBreakerSuppressedCount:n}:{}}}isCircuitBreakerOpen(e=Date.now()){const r=e-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<r;)this.recentTimestamps.shift();return this.recentTimestamps.length>=this.circuitBreakerThreshold}cleanup(e=Date.now()){const r=e-this.dedupWindowMs*2;for(const[s,n]of this.fingerprints.entries())n.lastReported<r&&this.fingerprints.delete(s)}reset(){this.fingerprints.clear(),this.recentTimestamps.length=0,this.circuitBreakerSuppressedTotal=0,this.wasCircuitBreakerOpen=!1,this.lastPruneTime=0}}const he=new pe;let R=null;function ge(t){R=t}class Ee{constructor(e=he){u(this,"listeners",new Set);u(this,"rateLimiter");this.rateLimiter=e}addListener(e){return this.listeners.add(e),{dispose:()=>{this.listeners.delete(e)}}}onUnexpectedError(e,r){if(this===I&&R!==null){R.onUnexpectedError(e,r);return}if(x(e))return;const s=de(e),n=this.rateLimiter.shouldReport(s);if(!n.allowed){if(n.circuitBreakerJustOpened){const f="Error rate limit circuit breaker opened: exceeded volume threshold. Subsequent errors are suppressed until volume subsides.";C({category:"log",level:"warn",message:f,data:{source:"circuit_breaker"}});const c={source:"circuit_breaker",fingerprint:s};for(const l of this.listeners)try{l(new Error(f),c)}catch(g){console.error("Error listener threw:",g)}}return}const i=j(e,"Unexpected error"),a={...r??{},fingerprint:s,...n.suppressedCount!==void 0?{suppressedCount:n.suppressedCount}:{},...n.circuitBreakerSuppressedCount!==void 0?{circuitBreakerSuppressedCount:n.circuitBreakerSuppressedCount}:{}};C({category:"log",level:"error",message:`Unexpected error: ${i}`,data:a});for(const f of this.listeners)try{f(e,a)}catch(c){console.error("Error listener threw:",c)}}}const I=new Ee;function N(t,e){I.onUnexpectedError(t,e)}class _e{constructor(){u(this,"_store",new Set);u(this,"_isDisposed",!1)}_register(e){return this._isDisposed?(console.warn("Registering disposable on already disposed object"),e.dispose()):this._store.add(e),e}get isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of this._store)try{e.dispose()}catch(r){N(r,{source:"dispose"})}this._store.clear()}}}var W;(t=>{t.None=()=>({dispose(){}});function e(a){return(f,c)=>{let l=!1;const g=a(d=>{l||(l=!0,g.dispose(),f.call(c,d))});return g}}t.once=e;function r(a){return new Promise(f=>e(a)(f))}t.toPromise=r;function s(a,f,c){return(l,g)=>{const d=a(p=>{f(p)&&l.call(g,p)});return c==null||c.add(d),d}}t.filter=s;function n(a,f,c=100){return(l,g)=>{let d,p;const H=a(Z=>{d=f(d,Z),p!==void 0&&clearTimeout(p),p=setTimeout(()=>{const K=d;d=void 0,p=void 0,l.call(g,K)},c)});return{dispose:()=>{H.dispose(),p!==void 0&&clearTimeout(p)}}}}t.debounce=n;function i(a,f,c){return f(c),a(l=>f(l))}t.runAndSubscribe=i})(W||(W={}));class V{constructor(){u(this,"_listeners",new Set);u(this,"_disposed",!1);u(this,"_event")}get event(){return this._event||(this._event=(e,r)=>{if(this._disposed)return console.warn("Emitter is already disposed, cannot register listener"),{dispose(){}};const s={fn:e,thisArgs:r};if(process.env.NODE_ENV!=="production"){const n=new Error().stack;n!==void 0&&(s.registeredAt=n)}return this._listeners.add(s),{dispose:()=>{this._listeners.delete(s)}}}),this._event}get _size(){return this._listeners.size}fire(e){if(this._disposed)return;const r=[...this._listeners];for(const{fn:s,thisArgs:n,registeredAt:i}of r)try{s.call(n,e)}catch(a){N(a,{source:"event-listener",...i!==void 0?{registeredAt:i}:{}})}}dispose(){this._disposed||(this._disposed=!0,this._listeners.clear(),this._event=void 0)}}class me extends _e{constructor(r=M){super();u(this,"_level");u(this,"_onDidChangeLogLevel",this._register(new V));u(this,"onDidChangeLogLevel",this._onDidChangeLogLevel.event);this._level=r}getLevel(){return this._level}setLevel(r){this._level!==r&&(this._level=r,this._onDidChangeLogLevel.fire(r))}canLog(r){return U(this._level,r)}withTag(r){return this}}const v="[REDACTED]";function be(t){return t?v:""}const ke=["password","pass","pwd","token","accesstoken","refreshtoken","apikey","api_key","authtoken","secret","privatekey","private_key","masterkey","master_key","masterpassword","username","user_name","email","userid","user_id","vaultname","vault_name","vaultpath","vault_path","recoverycode","recovery_code","mnemonic","connectionstring","conn_string","dsn","sessionid","session_id","cookie","authorization"],Te=new Set(ke.map(t=>t.toLowerCase().replace(/[-_]/g,""))),we=[/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/,/sk-[A-Za-z0-9]{20,}/,/AKIA[0-9A-Z]{16}/,/ghp_[A-Za-z0-9]{36}/,/gho_[A-Za-z0-9]{36}/,/xoxb-[0-9]+-[0-9]+-[A-Za-z0-9]+/];function De(t){return Te.has(t.toLowerCase().replace(/[-_]/g,""))}function w(t){for(const e of we)if(e.test(t))return v;return t}function A(t){const e={};for(const[r,s]of Object.entries(t))De(r)?e[r]=typeof s=="string"?be(s):v:typeof s=="string"?e[r]=w(s):Array.isArray(s)?e[r]=s.map(n=>typeof n=="string"?w(n):n&&typeof n=="object"&&!(n instanceof Error)&&!(n instanceof Date)?A(n):n):s&&typeof s=="object"&&!(s instanceof Error)&&!(s instanceof Date)?e[r]=A(s):e[r]=s;return e}function Ae(t){return m(w(t))}function B(t){return typeof t=="string"?w(t):Array.isArray(t)?t.map(e=>typeof e=="string"?w(e):e&&typeof e=="object"&&!(e instanceof Error)&&!(e instanceof Date)?A(e):e):t&&typeof t=="object"&&!(t instanceof Error)&&!(t instanceof Date)?A(t):t}class ye extends me{constructor(e){super(e)}trace(e,...r){this.canLog(o.Trace)&&this.log(o.Trace,E(e,r),r)}debug(e,...r){this.canLog(o.Debug)&&this.log(o.Debug,E(e,r),r)}info(e,...r){this.canLog(o.Info)&&this.log(o.Info,E(e,r),r)}warn(e,...r){this.canLog(o.Warn)&&this.log(o.Warn,E(e,r),r)}error(e,...r){if(!this.canLog(o.Error))return;if(e instanceof Error){const n=e;this.log(o.Error,E(`${n.message}
|
|
4
|
+
${z(n)}`,r),[n,...r]);return}const s=r[0];if(s instanceof Error){this.log(o.Error,E(`${e}: ${s.message}
|
|
5
|
+
${z(s)}`,r.slice(1)),r);return}this.log(o.Error,E(e,r),r)}audit(e,r,s,...n){if(!this.canLog(o.Audit))return;const i={action:e,userId:r,resource:s,args:n},a=E(`AUDIT: User ${r} performed ${e} on ${s}`,n);this.log(o.Audit,a,n,i)}}function z(t){if(!t.stack)return t.message;const e=t.stack.indexOf(`
|
|
6
|
+
`);return e>=0?t.stack.slice(e+1):t.message}function E(t,e=[]){if(e.length===0)return t;const r=[t];for(const s of e)if(s!=null)if(s instanceof Error)r.push(`${s.message}
|
|
7
|
+
${s.stack??""}`);else if(typeof s=="object")try{r.push(JSON.stringify(B(s)))}catch{r.push(String(s))}else r.push(String(B(s)));return r.length===1?r[0]:r.join(" ")}class Se extends ye{constructor(r=[],s,n){super(s);u(this,"_transports");u(this,"_tag");this._transports=r,this._tag=n??""}log(r,s,n=[],i){const a={level:r,tag:this._tag,message:Ae(s),timestamp:new Date,args:n.map(B),...i?{audit:i}:{}};for(const f of this._transports)f.log(a)}flush(){var r;for(const s of this._transports)(r=s.flush)==null||r.call(s)}addTransport(r){this._transports.push(r)}withTag(r){return new y(this,r)}}class y{constructor(e,r){u(this,"_fullTag");this._parent=e;const s=this._parent._fullTag??this._parent._tag??"";this._fullTag=s?`${s}:${r}`:r}get onDidChangeLogLevel(){return this._getRoot().onDidChangeLogLevel}getLevel(){return this._getRoot().getLevel()}setLevel(e){this._getRoot().debug(`TaggedLogger.setLevel(${o[e]}) ignored on tagged child '[${this._fullTag}]' — call setLevel on the root logger instead.`)}trace(e,...r){this._emit(o.Trace,e,r)}debug(e,...r){this._emit(o.Debug,e,r)}info(e,...r){this._emit(o.Info,e,r)}warn(e,...r){this._emit(o.Warn,e,r)}error(e,...r){if(e instanceof Error){const s=new Error(`[${this._fullTag}] ${e.message}`);e.stack&&(s.stack=e.stack),this._getRoot().error(s,...r)}else this._emit(o.Error,e,r)}audit(e,r,s,...n){this._getRoot().audit(e,r,s,...n)}flush(){this._getRoot().flush()}withTag(e){return new y(this,e)}_emit(e,r,s){const n=this._getRoot(),i=`[${this._fullTag}] ${r}`;switch(e){case o.Trace:n.trace(i,...s);break;case o.Debug:n.debug(i,...s);break;case o.Info:n.info(i,...s);break;case o.Warn:n.warn(i,...s);break;case o.Error:n.error(i,...s);break}}_getRoot(){let e=this._parent;for(;e instanceof y;)e=e._parent;return e}}const Ce={[o.Off]:"",[o.Trace]:"TRACE",[o.Debug]:"DEBUG",[o.Info]:"INFO",[o.Warn]:"WARN",[o.Error]:"ERROR",[o.Audit]:"AUDIT"},Re={[o.Off]:"debug",[o.Trace]:"debug",[o.Debug]:"debug",[o.Info]:"info",[o.Warn]:"warn",[o.Error]:"error",[o.Audit]:"info"};class Be{log(e){const r=Ce[e.level],s=e.tag?` ${e.tag}`:"",n=e.timestamp.toISOString(),i=Re[e.level];console[i](`[${r}]${s} ${n} - ${e.message}`)}}const D=new Be;let F=!0,h=null;const Le={log(t){F&&D.log(t),h==null||h.log(t)},flush(){var t,e;(t=D.flush)==null||t.call(D),(e=h==null?void 0:h.flush)==null||e.call(h)}},P=new Se([Le],o.Info);function $e(t,e={}){h=t,F=t===null||e.keepConsole===!0}function Ie(t){const e=t;P.setLevel(e)}function ve(t){return P.withTag(t)}exports.DEFAULT_LOG_LEVEL=M;exports.Emitter=V;exports.LogLevel=o;exports.addBreadcrumb=C;exports.bestEffortFailed=$;exports.canLog=U;exports.errorHandler=I;exports.getBreadcrumbs=se;exports.getLogger=ve;exports.isCancellationError=x;exports.provideHostBreadcrumbs=re;exports.provideHostErrorHandler=ge;exports.provideHostLogTransport=$e;exports.scrubSecrets=m;exports.scrubValue=b;exports.setRendererLogLevel=Ie;exports.toErrorMessage=j;
|
|
@@ -2,7 +2,12 @@ var P = Object.defineProperty;
|
|
|
2
2
|
var F = (t, e, r) => e in t ? P(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var u = (t, e, r) => F(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
import { B as Z } from "./bugIndicatingError-h3J5qkL6.js";
|
|
5
|
-
|
|
5
|
+
var o = /* @__PURE__ */ ((t) => (t[t.Off = 0] = "Off", t[t.Trace = 1] = "Trace", t[t.Debug = 2] = "Debug", t[t.Info = 3] = "Info", t[t.Warn = 4] = "Warn", t[t.Error = 5] = "Error", t[t.Audit = 6] = "Audit", t))(o || {});
|
|
6
|
+
const K = 3;
|
|
7
|
+
function H(t, e) {
|
|
8
|
+
return e === 6 ? !0 : t === 0 ? !1 : t <= e;
|
|
9
|
+
}
|
|
10
|
+
function Y(t) {
|
|
6
11
|
if (!t) return !1;
|
|
7
12
|
if (typeof t == "object") {
|
|
8
13
|
const e = t;
|
|
@@ -11,23 +16,23 @@ function K(t) {
|
|
|
11
16
|
}
|
|
12
17
|
return !1;
|
|
13
18
|
}
|
|
14
|
-
function
|
|
19
|
+
function G(t, e) {
|
|
15
20
|
return t instanceof Error && t.message.trim() ? t.message : typeof t == "string" && t.trim() ? t : e;
|
|
16
21
|
}
|
|
17
|
-
const B = String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`,
|
|
22
|
+
const B = String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`, X = new RegExp(
|
|
18
23
|
String.raw`(["']?\b(?:password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer)\b["']?)(\s*[:=]\s*)(` + B + String.raw`|[^\s,;'"}\]]+)`,
|
|
19
24
|
"gi"
|
|
20
|
-
),
|
|
25
|
+
), J = new RegExp(
|
|
21
26
|
String.raw`\b(identified\s+by(?:\s+values)?)\s+(` + B + String.raw`|[^\s,;)]+)`,
|
|
22
27
|
"gi"
|
|
23
|
-
),
|
|
28
|
+
), q = new RegExp(
|
|
24
29
|
String.raw`(?<!["':])\b(password)\s*(?:=\s*)?(` + B + ")",
|
|
25
30
|
"gi"
|
|
26
31
|
);
|
|
27
32
|
function m(t) {
|
|
28
33
|
let e = t;
|
|
29
34
|
return e = e.replace(
|
|
30
|
-
|
|
35
|
+
X,
|
|
31
36
|
(r, s, n, i) => {
|
|
32
37
|
if (s.startsWith('"') || s.startsWith("'")) {
|
|
33
38
|
const a = i.startsWith('"') ? '"' : i.startsWith("'") ? "'" : "";
|
|
@@ -35,7 +40,7 @@ function m(t) {
|
|
|
35
40
|
}
|
|
36
41
|
return i.startsWith('"') || i.startsWith("'") ? `${s} [REDACTED]` : `${s}=[REDACTED]`;
|
|
37
42
|
}
|
|
38
|
-
), e = e.replace(
|
|
43
|
+
), e = e.replace(J, "$1 [REDACTED]"), e = e.replace(q, "$1 [REDACTED]"), e = e.replace(
|
|
39
44
|
/\b([a-z][a-z0-9+\-.]*:\/\/[^\s:@/?#]+):[^\s@/?#]+@/gi,
|
|
40
45
|
"$1:[REDACTED]@"
|
|
41
46
|
), e = e.replace(
|
|
@@ -46,12 +51,12 @@ function m(t) {
|
|
|
46
51
|
"[REDACTED-PRIVATE-KEY]"
|
|
47
52
|
), e;
|
|
48
53
|
}
|
|
49
|
-
const
|
|
50
|
-
function
|
|
54
|
+
const Q = Symbol.for("vokril.base.bestEffortSink");
|
|
55
|
+
function ee() {
|
|
51
56
|
return globalThis;
|
|
52
57
|
}
|
|
53
58
|
function W(t, e) {
|
|
54
|
-
const r =
|
|
59
|
+
const r = ee()[Q];
|
|
55
60
|
if (r === void 0)
|
|
56
61
|
throw new Z(
|
|
57
62
|
"base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup."
|
|
@@ -160,17 +165,17 @@ function L(t) {
|
|
|
160
165
|
function Ie() {
|
|
161
166
|
return k !== null ? k.list() : _.length < S ? [..._] : [..._.slice(b), ..._.slice(0, b)];
|
|
162
167
|
}
|
|
163
|
-
function
|
|
168
|
+
function te(t) {
|
|
164
169
|
let e = 2166136261;
|
|
165
170
|
for (let r = 0; r < t.length; r++)
|
|
166
171
|
e ^= t.charCodeAt(r), e = Math.imul(e, 16777619);
|
|
167
172
|
return e >>> 0;
|
|
168
173
|
}
|
|
169
|
-
const
|
|
170
|
-
function
|
|
171
|
-
return t.replace(
|
|
174
|
+
const re = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi, se = /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/g, ne = /\b[0-9a-fA-F]{1,4}(?::[0-9a-fA-F]{1,4}){3,7}\b/g, ie = /\b0x[0-9a-fA-F]+\b/g, oe = /\b\d{5,}\b/g;
|
|
175
|
+
function ae(t) {
|
|
176
|
+
return t.replace(re, "<ID>").replace(se, "<ID>").replace(ne, "<ID>").replace(ie, "<ID>").replace(oe, "<ID>").trim();
|
|
172
177
|
}
|
|
173
|
-
function
|
|
178
|
+
function ce(t) {
|
|
174
179
|
if (!t) return "";
|
|
175
180
|
const e = t.split(`
|
|
176
181
|
`).map((s) => s.trim()), r = [];
|
|
@@ -182,7 +187,7 @@ function oe(t) {
|
|
|
182
187
|
return r.join(`
|
|
183
188
|
`);
|
|
184
189
|
}
|
|
185
|
-
function
|
|
190
|
+
function ue(t) {
|
|
186
191
|
let e = "Error", r = "", s;
|
|
187
192
|
try {
|
|
188
193
|
if (t instanceof Error)
|
|
@@ -194,10 +199,10 @@ function ae(t) {
|
|
|
194
199
|
} catch {
|
|
195
200
|
e = "UnserializableError", r = "Error object threw during fingerprint extraction";
|
|
196
201
|
}
|
|
197
|
-
const n =
|
|
198
|
-
return
|
|
202
|
+
const n = ae(r), i = ce(s), a = `${e}|${n}|${i}`;
|
|
203
|
+
return te(a).toString(16).padStart(8, "0");
|
|
199
204
|
}
|
|
200
|
-
class
|
|
205
|
+
class fe {
|
|
201
206
|
constructor(e = {}) {
|
|
202
207
|
u(this, "dedupWindowMs");
|
|
203
208
|
u(this, "circuitBreakerWindowMs");
|
|
@@ -271,13 +276,13 @@ class ce {
|
|
|
271
276
|
this.fingerprints.clear(), this.recentTimestamps.length = 0, this.circuitBreakerSuppressedTotal = 0, this.wasCircuitBreakerOpen = !1, this.lastPruneTime = 0;
|
|
272
277
|
}
|
|
273
278
|
}
|
|
274
|
-
const
|
|
279
|
+
const le = new fe();
|
|
275
280
|
let C = null;
|
|
276
281
|
function Le(t) {
|
|
277
282
|
C = t;
|
|
278
283
|
}
|
|
279
|
-
class
|
|
280
|
-
constructor(e =
|
|
284
|
+
class de {
|
|
285
|
+
constructor(e = le) {
|
|
281
286
|
u(this, "listeners", /* @__PURE__ */ new Set());
|
|
282
287
|
u(this, "rateLimiter");
|
|
283
288
|
this.rateLimiter = e;
|
|
@@ -303,9 +308,9 @@ class fe {
|
|
|
303
308
|
C.onUnexpectedError(e, r);
|
|
304
309
|
return;
|
|
305
310
|
}
|
|
306
|
-
if (
|
|
311
|
+
if (Y(e))
|
|
307
312
|
return;
|
|
308
|
-
const s =
|
|
313
|
+
const s = ue(e), n = this.rateLimiter.shouldReport(s);
|
|
309
314
|
if (!n.allowed) {
|
|
310
315
|
if (n.circuitBreakerJustOpened) {
|
|
311
316
|
const f = "Error rate limit circuit breaker opened: exceeded volume threshold. Subsequent errors are suppressed until volume subsides.";
|
|
@@ -328,7 +333,7 @@ class fe {
|
|
|
328
333
|
}
|
|
329
334
|
return;
|
|
330
335
|
}
|
|
331
|
-
const i =
|
|
336
|
+
const i = G(e, "Unexpected error"), a = {
|
|
332
337
|
...r ?? {},
|
|
333
338
|
fingerprint: s,
|
|
334
339
|
...n.suppressedCount !== void 0 ? { suppressedCount: n.suppressedCount } : {},
|
|
@@ -350,10 +355,34 @@ class fe {
|
|
|
350
355
|
}
|
|
351
356
|
}
|
|
352
357
|
}
|
|
353
|
-
const z = new
|
|
358
|
+
const z = new de();
|
|
354
359
|
function M(t, e) {
|
|
355
360
|
z.onUnexpectedError(t, e);
|
|
356
361
|
}
|
|
362
|
+
class pe {
|
|
363
|
+
constructor() {
|
|
364
|
+
u(this, "_store", /* @__PURE__ */ new Set());
|
|
365
|
+
u(this, "_isDisposed", !1);
|
|
366
|
+
}
|
|
367
|
+
_register(e) {
|
|
368
|
+
return this._isDisposed ? (console.warn("Registering disposable on already disposed object"), e.dispose()) : this._store.add(e), e;
|
|
369
|
+
}
|
|
370
|
+
get isDisposed() {
|
|
371
|
+
return this._isDisposed;
|
|
372
|
+
}
|
|
373
|
+
dispose() {
|
|
374
|
+
if (!this._isDisposed) {
|
|
375
|
+
this._isDisposed = !0;
|
|
376
|
+
for (const e of this._store)
|
|
377
|
+
try {
|
|
378
|
+
e.dispose();
|
|
379
|
+
} catch (r) {
|
|
380
|
+
M(r, { source: "dispose" });
|
|
381
|
+
}
|
|
382
|
+
this._store.clear();
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
357
386
|
var O;
|
|
358
387
|
((t) => {
|
|
359
388
|
t.None = () => ({ dispose() {
|
|
@@ -403,7 +432,7 @@ var O;
|
|
|
403
432
|
}
|
|
404
433
|
t.runAndSubscribe = i;
|
|
405
434
|
})(O || (O = {}));
|
|
406
|
-
class
|
|
435
|
+
class he {
|
|
407
436
|
constructor() {
|
|
408
437
|
u(this, "_listeners", /* @__PURE__ */ new Set());
|
|
409
438
|
u(this, "_disposed", !1);
|
|
@@ -449,41 +478,12 @@ class le {
|
|
|
449
478
|
this._disposed || (this._disposed = !0, this._listeners.clear(), this._event = void 0);
|
|
450
479
|
}
|
|
451
480
|
}
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
function pe(t, e) {
|
|
455
|
-
return e === 6 ? !0 : t === 0 ? !1 : t <= e;
|
|
456
|
-
}
|
|
457
|
-
class he {
|
|
458
|
-
constructor() {
|
|
459
|
-
u(this, "_store", /* @__PURE__ */ new Set());
|
|
460
|
-
u(this, "_isDisposed", !1);
|
|
461
|
-
}
|
|
462
|
-
_register(e) {
|
|
463
|
-
return this._isDisposed ? (console.warn("Registering disposable on already disposed object"), e.dispose()) : this._store.add(e), e;
|
|
464
|
-
}
|
|
465
|
-
get isDisposed() {
|
|
466
|
-
return this._isDisposed;
|
|
467
|
-
}
|
|
468
|
-
dispose() {
|
|
469
|
-
if (!this._isDisposed) {
|
|
470
|
-
this._isDisposed = !0;
|
|
471
|
-
for (const e of this._store)
|
|
472
|
-
try {
|
|
473
|
-
e.dispose();
|
|
474
|
-
} catch (r) {
|
|
475
|
-
M(r, { source: "dispose" });
|
|
476
|
-
}
|
|
477
|
-
this._store.clear();
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
class ge extends he {
|
|
482
|
-
constructor(r = de) {
|
|
481
|
+
class ge extends pe {
|
|
482
|
+
constructor(r = K) {
|
|
483
483
|
super();
|
|
484
484
|
u(this, "_level");
|
|
485
485
|
u(this, "_onDidChangeLogLevel", this._register(
|
|
486
|
-
new
|
|
486
|
+
new he()
|
|
487
487
|
));
|
|
488
488
|
u(this, "onDidChangeLogLevel", this._onDidChangeLogLevel.event);
|
|
489
489
|
this._level = r;
|
|
@@ -495,7 +495,7 @@ class ge extends he {
|
|
|
495
495
|
this._level !== r && (this._level = r, this._onDidChangeLogLevel.fire(r));
|
|
496
496
|
}
|
|
497
497
|
canLog(r) {
|
|
498
|
-
return
|
|
498
|
+
return H(this._level, r);
|
|
499
499
|
}
|
|
500
500
|
withTag(r) {
|
|
501
501
|
return this;
|
|
@@ -802,21 +802,21 @@ function We(t) {
|
|
|
802
802
|
return U.withTag(t);
|
|
803
803
|
}
|
|
804
804
|
export {
|
|
805
|
-
|
|
806
|
-
|
|
805
|
+
K as D,
|
|
806
|
+
he as E,
|
|
807
807
|
o as L,
|
|
808
808
|
Le as a,
|
|
809
809
|
Oe as b,
|
|
810
|
-
|
|
810
|
+
H as c,
|
|
811
811
|
W as d,
|
|
812
812
|
m as e,
|
|
813
813
|
Ie as f,
|
|
814
814
|
We as g,
|
|
815
815
|
D as h,
|
|
816
|
-
|
|
816
|
+
Y as i,
|
|
817
817
|
L as j,
|
|
818
818
|
z as k,
|
|
819
819
|
$e as p,
|
|
820
820
|
ve as s,
|
|
821
|
-
|
|
821
|
+
G as t
|
|
822
822
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("solid-js/web"),s=require("solid-js"),v=require("./SearchableSelect-
|
|
1
|
+
"use strict";const t=require("solid-js/web"),s=require("solid-js"),v=require("./SearchableSelect-R0Dwz9rz.cjs"),g=require("./Button-PZulLru4.cjs"),r=require("./i18n-DXXArz-m.cjs"),b=require("./Input-CjvD8w18.cjs"),_=require("./iconScale.module-CzmKG1rf.cjs"),B=require("./keys-GMxY2wcl.cjs"),S=require("./VpClose-O8jHAcCB.cjs"),k=require("./VpSearch-BqIXmlaU.cjs"),h=require("./bugIndicatingError-D2X5Hfgg.cjs"),C=require("./VpCheck-CGTZXiSk.cjs");function d(e,a){return e<=0?a:String(e)}const f="vk_paginationRow_hg8fj",I="vk_paginationMeta_rPi8N",m="vk_paginationActions_gD2Fz",V="vk_paginationLabel_9x9Ah",w="vk_paginationSelect_h5BcT",T="vk_paginationPage_CYJRF",c={paginationRow:f,paginationMeta:I,paginationActions:m,paginationLabel:V,paginationSelect:w,paginationPage:T};var z=["<div","><span",">","</span><div","><label",">","","</label>","<span",">"," / ","</span>","</div></div>"];function R(e){const a=s.createMemo(()=>{const l=r.t("Unlimited");return e.pageSizeOptions.map(u=>({value:String(u),label:d(u,l)}))});return t.ssr(z,t.ssrAttribute("class",t.escape(c.paginationRow,!0),!1),t.ssrAttribute("class",t.escape(c.paginationMeta,!0),!1),t.escape(r.t("Showing {shown} of {total} items",{shown:e.shownCount(),total:e.totalCount()})),t.ssrAttribute("class",t.escape(c.paginationActions,!0),!1),t.ssrAttribute("class",t.escape(c.paginationLabel,!0),!1),t.escape(r.t("Page size")),t.escape(t.createComponent(v.SearchableSelect,{size:"sm",get class(){return c.paginationSelect},get value(){return String(e.pageSize())},get options(){return a()},onChange:l=>{e.onPageSizeChange(Number(l))},searchable:!1,get ariaLabel(){return r.t("Page size")}})),t.escape(t.createComponent(g.Button,{size:"sm",variant:"secondary",get disabled(){return e.page()<=1},onClick:()=>e.onPageChange(Math.max(1,e.page()-1)),get children(){return r.t("Previous")}})),t.ssrAttribute("class",t.escape(c.paginationPage,!0),!1),t.escape(e.page()),t.escape(e.totalPages()),t.escape(t.createComponent(g.Button,{size:"sm",variant:"secondary",get disabled(){return e.page()>=e.totalPages()},onClick:()=>e.onPageChange(Math.min(e.totalPages(),e.page()+1)),get children(){return r.t("Next")}})))}const P="vk_toolbar_LSRmU",A="vk_toolbarHorizontal_qHM-8",L="vk_toolbarViewClip_Q893H",O="vk_toolbarScrollRoot_aYbLg",y="vk_toolbarScrollViewport_qBzjd",$="vk_toolbarScrollTrack_Tp8TN",q="vk_segmentedCapsule_k9EBy",M="vk_toolbarBtn_CcyXF",H="vk_toolbarBtnActive_UgTBV",F="vk_toolbarBtnIconOnly_BlE-b",x="vk_toolbarHorizontalBottom_qLzhJ",E="vk_toolbarVertical_EjHi2",N="vk_toolbarVerticalRight_DBgEa",J="vk_toolbarScrollRootVertical_VGLRy",X="vk_toolbarScrollViewportVertical_RLF5g",K="vk_toolbarScrollTrackVertical_c1rBF",U="vk_toolbarSettingsBtn_XXfMz",j="vk_toolbarIcon_0FvlL",D="vk_toolbarSpacer_N3TbQ",G="vk_sortBadgePill_nVrIk",Q="vk_sortBadgeBtn_Is9PS",Y="vk_sortBadgeIcon_kw8oa",Z="vk_sortBadgeLabel_l-p33",W="vk_sortBadgeClearBtn_ioOaP",tt="vk_sortBadgeClearIcon_0e6Kd",et="vk_filterInputContainer_kegUv",ot="vk_filterSearchIcon_gI0m2",at="vk_filterInput_bX9xM",rt="vk_filterClearBtn_WerJL",lt="vk_filterClearIcon_7fuAJ",o={toolbar:P,toolbarHorizontal:A,toolbarViewClip:L,toolbarScrollRoot:O,toolbarScrollViewport:y,toolbarScrollTrack:$,segmentedCapsule:q,toolbarBtn:M,toolbarBtnActive:H,toolbarBtnIconOnly:F,toolbarHorizontalBottom:x,toolbarVertical:E,toolbarVerticalRight:N,toolbarScrollRootVertical:J,toolbarScrollViewportVertical:X,toolbarScrollTrackVertical:K,toolbarSettingsBtn:U,toolbarIcon:j,toolbarSpacer:D,sortBadgePill:G,sortBadgeBtn:Q,sortBadgeIcon:Y,sortBadgeLabel:Z,sortBadgeClearBtn:W,sortBadgeClearIcon:tt,filterInputContainer:et,filterSearchIcon:ot,filterInput:at,filterClearBtn:rt,filterClearIcon:lt},nt="vk_searchRow_2pwXX",ct="vk_searchInput_PbDtG",st="vk_clearBtn_upa-E",i={searchRow:nt,searchInput:ct,clearBtn:st};var it=["<div",">","","</div>"];function bt(e){return t.createComponent(b.PressableSurface,{type:"button",get class(){return`${o.toolbarSettingsBtn} ${e.active?o.toolbarBtnActive:""}`},get onClick(){return e.onToggle},get"aria-pressed"(){return e.active},get"aria-label"(){return r.t("Search")},get title(){return r.t("Search")},get children(){return t.createComponent(k.VpSearch,{get class(){return o.toolbarIcon},"aria-hidden":"true"})}})}function ut(e){let a;return s.onMount(()=>a==null?void 0:a.focus()),t.ssr(it,t.ssrAttribute("class",t.escape(i.searchRow,!0),!1),t.escape(t.createComponent(b.Input,t.mergeProps({get class(){return i.searchInput},type:"search",size:"sm",get value(){return e.value},onInput:l=>e.onInput(l.currentTarget.value),onKeyDown:l=>{B.isKey(l,"Escape")&&e.onClose()},get placeholder(){return e.placeholder??r.t("Search…")}},()=>e.disabled!==void 0?{disabled:e.disabled}:{}))),t.escape(t.createComponent(s.Show,{get when(){return e.value.length>0},get children(){return t.createComponent(b.PressableSurface,{type:"button",get class(){return i.clearBtn},onClick:()=>e.onInput(""),get"aria-label"(){return r.t("Clear search")},get title(){return r.t("Clear search")},get children(){return t.createComponent(S.VpClose,{get class(){return _.iconScale.iconSm},"aria-hidden":"true"})}})}})))}const gt=Object.freeze({toolbar:o.toolbar,toolbarHorizontal:o.toolbarHorizontal,toolbarHorizontalBottom:o.toolbarHorizontalBottom,toolbarVertical:o.toolbarVertical,toolbarVerticalRight:o.toolbarVerticalRight,toolbarViewClip:o.toolbarViewClip,toolbarScrollRoot:o.toolbarScrollRoot,toolbarScrollViewport:o.toolbarScrollViewport,toolbarScrollTrack:o.toolbarScrollTrack,toolbarScrollRootVertical:o.toolbarScrollRootVertical,toolbarScrollViewportVertical:o.toolbarScrollViewportVertical,toolbarScrollTrackVertical:o.toolbarScrollTrackVertical,segmentedCapsule:o.segmentedCapsule,toolbarBtn:o.toolbarBtn,toolbarBtnActive:o.toolbarBtnActive,toolbarBtnIconOnly:o.toolbarBtnIconOnly,toolbarIcon:o.toolbarIcon,toolbarSpacer:o.toolbarSpacer,toolbarSettingsBtn:o.toolbarSettingsBtn,sortBadgePill:o.sortBadgePill,sortBadgeBtn:o.sortBadgeBtn,sortBadgeIcon:o.sortBadgeIcon,sortBadgeLabel:o.sortBadgeLabel,sortBadgeClearBtn:o.sortBadgeClearBtn,sortBadgeClearIcon:o.sortBadgeClearIcon,filterInputContainer:o.filterInputContainer,filterSearchIcon:o.filterSearchIcon,filterInput:o.filterInput,filterClearBtn:o.filterClearBtn,filterClearIcon:o.filterClearIcon});function pt(e,a){const l=`${a}: `;throw new h.BugIndicatingError(`${l}Non-exhaustive switch: unexpected value ${JSON.stringify(e)}`)}const _t="vk_grid_uK6pm",dt="vk_card_33OV3",vt="vk_item_UeZrE",Bt="vk_label_a-LFz",St="vk_value_9ZQBt",kt="vk_valueMono_knknq",ht="vk_boolOn_5zd-H",Ct="vk_boolOff_-6I4K",ft="vk_stacked_2T--a",n={grid:_t,card:dt,item:vt,label:Bt,value:St,valueMono:kt,boolOn:ht,boolOff:Ct,stacked:ft};var p=["<span",">","</span>"],It=['<span class="','">',"</span>"],mt=['<div class="','">',"</div>"],Vt=["<div","><span",">","</span>","</div>"];function wt(e,a){switch(e.kind){case"text":return t.ssr(p,t.ssrAttribute("class",t.escape(n.value,!0),!1),t.escape(e.value(a)));case"mono":return t.ssr(p,t.ssrAttribute("class",t.escape(n.valueMono,!0),!1),t.escape(e.value(a)));case"bool":return t.ssr(It,`${t.escape(n.value,!0)} ${e.on(a)?t.escape(n.boolOn,!0):t.escape(n.boolOff,!0)}`,e.on(a)?t.escape(t.createComponent(C.VpCheck,{get class(){return _.iconScale.iconSm},"aria-hidden":"true"})):"—");case"custom":return e.render(a);default:return pt(e,"AttributeField.kind")}}function Tt(e){return t.createComponent(s.Show,{get when(){return e.row()!=null},get children(){return t.ssr(mt,`${t.escape(n.grid,!0)} ${t.escape(n[e.variant]??"",!0)}`,t.escape(t.createComponent(s.For,{get each(){return e.fields},children:a=>t.ssr(Vt,t.ssrAttribute("class",t.escape(n.item,!0),!1),t.ssrAttribute("class",t.escape(n.label,!0),!1),t.escape(a.label),t.escape(wt(a,e.row())))})))}})}exports.AttributeGrid=Tt;exports.Pagination=R;exports.ToolbarSearchRow=ut;exports.ToolbarSearchToggle=bt;exports.pageSizeOptionLabel=d;exports.resultTabToolbarClasses=gt;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ssr as s, ssrAttribute as n, escape as a, createComponent as r, mergeProps as p } from "solid-js/web";
|
|
2
2
|
import { createMemo as k, onMount as f, Show as d, For as h } from "solid-js";
|
|
3
|
-
import { S as m } from "./SearchableSelect-
|
|
4
|
-
import { B as _ } from "./Button-
|
|
5
|
-
import { t as l } from "./i18n-
|
|
3
|
+
import { S as m } from "./SearchableSelect-Dn-cssWx.js";
|
|
4
|
+
import { B as _ } from "./Button-BesBg6eW.js";
|
|
5
|
+
import { t as l } from "./i18n-D9k9xwuD.js";
|
|
6
6
|
import { I, P as B } from "./Input-DaEN2JJd.js";
|
|
7
7
|
import { i as S } from "./iconScale.module-C3O0bxfp.js";
|
|
8
8
|
import { i as C } from "./keys-B2nlkpqc.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ssr as c, escape as n, ssrAttribute as a, ssrElement as H, mergeProps as V, createComponent as d, memo as v } from "solid-js/web";
|
|
2
2
|
import { splitProps as j, createUniqueId as q, createSignal as A, createEffect as k, onCleanup as $, Show as u } from "solid-js";
|
|
3
|
-
import { t as U } from "./i18n-
|
|
3
|
+
import { t as U } from "./i18n-D9k9xwuD.js";
|
|
4
4
|
const X = "vk_spinner_s8rMh", Z = "vk_xs_UVj9O", F = "vk_sm_G7bj9", K = "vk_lg_SEaSa", b = {
|
|
5
5
|
spinner: X,
|
|
6
6
|
xs: Z,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("solid-js/web"),a=require("solid-js"),B=require("./i18n-
|
|
1
|
+
"use strict";const n=require("solid-js/web"),a=require("solid-js"),B=require("./i18n-DXXArz-m.cjs"),E="vk_spinner_s8rMh",G="vk_xs_UVj9O",W="vk_sm_G7bj9",P="vk_lg_SEaSa",g={spinner:E,xs:G,sm:W,lg:P};var N=['<span data-motion-exempt="true" class="','"',"></span>"];const q={xs:g.xs,sm:g.sm,md:"",lg:g.lg};function b(r){return n.ssr(N,`${n.escape(g.spinner,!0)} ${n.escape(q[r.size??"md"],!0)} ${n.escape(r.class??"",!0)}`,n.ssrAttribute("role",r.decorative?n.escape(void 0,!0):"status",!1)+n.ssrAttribute("aria-label",r.decorative?n.escape(void 0,!0):n.escape(r.label??B.t("Loading…"),!0),!1)+n.ssrAttribute("aria-hidden",r.decorative?"true":n.escape(void 0,!0),!1))}const M="vk_root_Zndmu",H="vk_size2xs_kbyEZ",V="vk_sizeXs_IUmg-",j="vk_sizeSm_s-iaT",U="vk_sizeMd_bAI9d",X="vk_sizeLg_zhdkf",Z="vk_variantPrimary_KTVgG",F="vk_variantTonal_tkJNt",J="vk_variantSecondary_MA7xu",K="vk_variantDanger_L30Uq",Q="vk_variantDangerSolid_htqc7",R="vk_variantLink_3AapU",Y="vk_variantGhost_x0-j-",ee="vk_variantOutline_xGu8I",ne="vk_active_QisSI",te="vk_iconOnly_bhObv",ie="vk_pill_-qH8n",ae="vk_fullWidth_kr6EK",re="vk_icon_h1rmS",se="vk_label_6-wKp",oe="vk_responsiveLabel_4Ma2i",le="vk_loading_EWpLB",ce="vk_iconHidden_Mlyq3",de="vk_spinnerWrap_F8L1B",ue="vk_inlineSpinner_uuJuB",ve="vk_loadingLabelGroup_HO7pg",pe="vk_labelText_v7v-A",ge="vk_animatedDots_CPxN9",t={root:M,size2xs:H,sizeXs:V,sizeSm:j,sizeMd:U,sizeLg:X,variantPrimary:Z,variantTonal:F,variantSecondary:J,variantDanger:K,variantDangerSolid:Q,variantLink:R,variantGhost:Y,variantOutline:ee,active:ne,iconOnly:te,pill:ie,fullWidth:ae,icon:re,label:se,responsiveLabel:oe,loading:le,iconHidden:ce,spinnerWrap:de,inlineSpinner:ue,loadingLabelGroup:ve,labelText:pe,animatedDots:ge};var p=["<span",' aria-hidden="true">',"</span>"],me=["<span",">","</span>"],fe=['<span class="','" aria-hidden="true">',"</span>"],_e=["<span","><span",">","</span><span",' aria-hidden="true" data-testid="button-animated-dots" data-animated-dots="true"></span></span>'];const be={primary:t.variantPrimary,tonal:t.variantTonal,secondary:t.variantSecondary,danger:t.variantDanger,dangerSolid:t.variantDangerSolid,ghost:t.variantGhost,outline:t.variantOutline,link:t.variantLink},he={"2xs":t.size2xs,xs:t.sizeXs,sm:t.sizeSm,md:t.sizeMd,lg:t.sizeLg};function ye(r){let e=r;for(;typeof e=="function";)try{e=e()}catch{break}return typeof e=="string"?e.replace(/(?:\s*\.{2,}|\s*…)\s*$/,""):Array.isArray(e)&&e.every(u=>typeof u=="string")?e.join("").replace(/(?:\s*\.{2,}|\s*…)\s*$/,""):e}function Le(r){const[e,u]=a.splitProps(r,["variant","size","iconOnly","active","pill","fullWidth","responsiveLabel","loading","loadingDelay","minLoadingDuration","loadingLabel","type","leadingIcon","trailingIcon","class","children","disabled","tooltip","tooltipShortcut","tooltipPlacement","title","aria-label","aria-description","ref","onPointerEnter","onPointerLeave","onFocusIn","onFocusOut","onClick"]);a.createUniqueId();const[s,A]=a.createSignal(!1);let m=!1,o,l,f=0;const v=i=>{m=i,A(i)};a.createEffect(()=>{const i=!!e.loading,d=typeof e.loadingDelay=="number"&&!Number.isNaN(e.loadingDelay)?e.loadingDelay:180,z=typeof e.minLoadingDuration=="number"&&!Number.isNaN(e.minLoadingDuration)?e.minLoadingDuration:350;if(i){if(l!==void 0&&(clearTimeout(l),l=void 0),m)return;d<=0?(f=Date.now(),v(!0)):o===void 0&&(o=setTimeout(()=>{o=void 0,f=Date.now(),v(!0)},d))}else if(o!==void 0&&(clearTimeout(o),o=void 0),m){const _=Date.now()-f,x=z-_;x>0?l===void 0&&(l=setTimeout(()=>{l=void 0,v(!1)},x)):v(!1)}});let c;a.createEffect(()=>{e.loading||(c=e.children)}),a.onCleanup(()=>{o!==void 0&&(clearTimeout(o),o=void 0),l!==void 0&&(clearTimeout(l),l=void 0)});const h=()=>!!e.loading||s(),y=()=>{if(e.loadingLabel!==void 0)return typeof e.loadingLabel=="function"?e.loadingLabel():e.loadingLabel},D=()=>{const i=y();return i!==void 0?i:e.children!==void 0&&e.children!==""&&e.children!==null&&e.children!==!1?e.children:c!==void 0?c:e.children},T=()=>e.size==="2xs"||e.size==="xs"?"xs":"sm",O=()=>e.size==="2xs"||e.size==="xs"?"xs":e.size==="sm"?"sm":"md",L=()=>e.tooltip!==void 0?typeof e.tooltip=="function"?e.tooltip():e.tooltip:e.title,[k,w]=a.createSignal("");a.createEffect(()=>{e.children,e.iconOnly,w("")});const S=()=>!e.iconOnly&&k()!=="",C=()=>{const i=y();if(s()&&i)return i;if(e["aria-label"]!==void 0)return e["aria-label"];if(!S())return L()},I=()=>{if(e["aria-description"]!==void 0)return e["aria-description"];if(e["aria-label"]!==void 0||!S())return;const i=L();return i&&i!==k()?i:void 0};a.onCleanup(()=>{});const $=()=>{const i=e.variant??"secondary",d=e.size??(i==="link"?void 0:"md");return[t.root,be[i],d===void 0?void 0:he[d],e.iconOnly?t.iconOnly:void 0,e.active?t.active:void 0,e.pill?t.pill:void 0,e.fullWidth?t.fullWidth:void 0,e.responsiveLabel?t.responsiveLabel:void 0,s()?t.loading:void 0,e.class].filter(_=>!!_).join(" ")};return n.ssrElement("button",n.mergeProps(u,{get type(){return e.type??"button"},get class(){return $()},get disabled(){return e.disabled},get"aria-disabled"(){return h()&&!e.disabled?"true":void 0},get"aria-busy"(){return h()?"true":"false"},get"aria-label"(){return C()},get"aria-description"(){return I()},get title(){return e.tooltip!==void 0?void 0:e.title}}),[n.escape(n.createComponent(a.Show,{get when(){return n.memo(()=>e.leadingIcon!==void 0)()&&!s()},get children(){return n.ssr(p,n.ssrAttribute("class",n.escape(t.icon,!0),!1),n.escape(e.leadingIcon))}})),n.escape(n.createComponent(a.Show,{get when(){return n.memo(()=>!e.iconOnly)()&&s()},get children(){return n.ssr(p,n.ssrAttribute("class",n.escape(t.inlineSpinner,!0),!1),n.escape(n.createComponent(b,{get size(){return T()},decorative:!0})))}})),n.escape(n.createComponent(a.Show,{get when(){return n.memo(()=>!!(e.children!==void 0||s()&&e.loadingLabel!==void 0))()&&!e.iconOnly},get children(){return n.ssr(me,n.ssrAttribute("class",n.escape(t.label,!0),!1),s()?n.ssr(_e,n.ssrAttribute("class",n.escape(t.loadingLabelGroup,!0),!1),n.ssrAttribute("class",n.escape(t.labelText,!0),!1),n.escape(ye(D())),n.ssrAttribute("class",n.escape(t.animatedDots,!0),!1)):e.loading&&c!==void 0?n.escape(c):n.escape(e.children))}})),n.escape(n.createComponent(a.Show,{get when(){return n.memo(()=>!!e.iconOnly)()&&e.children!==void 0},get children(){return n.ssr(fe,`${n.escape(t.icon,!0)} ${s()?n.escape(t.iconHidden,!0):""}`,n.escape(e.children))}})),n.escape(n.createComponent(a.Show,{get when(){return n.memo(()=>e.trailingIcon!==void 0)()&&!s()},get children(){return n.ssr(p,n.ssrAttribute("class",n.escape(t.icon,!0),!1),n.escape(e.trailingIcon))}})),n.escape(n.createComponent(a.Show,{get when(){return n.memo(()=>!!e.iconOnly)()&&s()},get children(){return n.ssr(p,n.ssrAttribute("class",n.escape(t.spinnerWrap,!0),!1),n.escape(n.createComponent(b,{get size(){return O()},decorative:!0})))}}))],!1)}exports.Button=Le;exports.Spinner=b;
|