@vokril/ui-solid 0.2.0 → 0.2.1
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 +13 -1
- package/dist/{AttributeGrid-DIXRIlOc.cjs → AttributeGrid-DgORu6BF.cjs} +1 -1
- package/dist/{AttributeGrid-ijp495PQ.js → AttributeGrid-iOgTCpF7.js} +4 -4
- package/dist/{Button-DwrhdGJd.js → Button-CCm03bSE.js} +2 -2
- package/dist/{Button-B9GkMXVu.cjs → Button-DntBQ4fM.cjs} +1 -1
- package/dist/{CommandPalette-DYoGvfhU.cjs → CommandPalette-4w3pEbna.cjs} +1 -1
- package/dist/{CommandPalette-BUPt-KKd.js → CommandPalette-D5BzLE0U.js} +9 -9
- package/dist/{CopyButton-MwE6Yanp.cjs → CopyButton-BxwyIJxL.cjs} +1 -1
- package/dist/{CopyButton-DNVyxYsa.js → CopyButton-ClqxiGPb.js} +1 -1
- package/dist/{DateRangePicker-Bq7tOjcy.js → DateRangePicker-Qho0OzUE.js} +4 -4
- package/dist/{DateRangePicker-1Z9ik8dX.cjs → DateRangePicker-dLlHJR71.cjs} +1 -1
- package/dist/{GuidedTour-B9f4KNrW.cjs → GuidedTour-CYgy48bt.cjs} +1 -1
- package/dist/{GuidedTour-CfdVAiPb.js → GuidedTour-YUs4zuez.js} +9 -9
- package/dist/IconPicker-BreG8jKY.cjs +1 -0
- package/dist/{IconPicker-D6u_c4aZ.js → IconPicker-CO5TWhFx.js} +17 -17
- package/dist/{Input-BFQPx2vy.js → Input-BqiQPUxA.js} +1 -1
- package/dist/{Input-BGISaDoR.cjs → Input-BrxV_Xcb.cjs} +1 -1
- package/dist/{Modal-BbXTj7pn.cjs → Modal-BqajyLjD.cjs} +1 -1
- package/dist/{Modal-CymMi6pT.js → Modal-DdbgnOMR.js} +98 -98
- package/dist/{PageSkeleton-B1ilf_e0.js → PageSkeleton-DfLEHkrh.js} +9 -9
- package/dist/{PageSkeleton-CbL10kfw.cjs → PageSkeleton-VbWHl878.cjs} +3 -3
- package/dist/{SearchableSelect-DL8gN3uQ.js → SearchableSelect-CBpLrNvW.js} +3 -3
- package/dist/{SearchableSelect-DEVOuNMk.cjs → SearchableSelect-D6yjIQO1.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-BWKZJj4r.js → StatusBarNotificationBell-BWZj0Pc2.js} +13 -13
- package/dist/StatusBarNotificationBell-DQ94Snzi.cjs +4 -0
- package/dist/Stepper-B_nRDFxN.cjs +1 -0
- package/dist/{Stepper-CMj6X0hu.js → Stepper-CrXi8mfh.js} +3 -3
- package/dist/{Textarea-DgVXMcvw.js → Textarea-CXFZz3Oe.js} +1 -1
- package/dist/{Textarea-DHKgbDMq.cjs → Textarea-vl5fZzJa.cjs} +1 -1
- package/dist/{TimeSeriesChart-WQ_5GGxu.cjs → TimeSeriesChart-BzzqarqB.cjs} +1 -1
- package/dist/{TimeSeriesChart-CWElte_X.js → TimeSeriesChart-D18yHUrf.js} +1 -1
- package/dist/{ToggleButton-Bd9nADaB.js → ToggleButton-BiEKoA4q.js} +6 -6
- package/dist/{ToggleButton-BrZHAmBD.cjs → ToggleButton-l1cEdv9w.cjs} +1 -1
- package/dist/_internal/app/icons/iconSetRegistry.d.cts +10 -0
- package/dist/_internal/app/icons/iconSetRegistry.d.ts +10 -0
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/{server/announcerService-Cz271R3_.js → announcerService-B7yicxvU.js} +1 -1
- package/dist/{announcerService-aMJZgWvZ.cjs → announcerService-D_pFE24a.cjs} +1 -1
- package/dist/{catalogNotify-Ct4lFOLm.cjs → catalogNotify-B6x3enJ5.cjs} +3 -3
- package/dist/{catalogNotify-CpYLdvEy.js → catalogNotify-CcaMBipB.js} +52 -52
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/createResizableSidebar-_yb33Qli.cjs +1 -0
- package/dist/{createResizableSidebar-B-448Xy-.js → createResizableSidebar-onQNGhy_.js} +75 -75
- package/dist/{server/defineSettings-C1g7a15Z.js → defineSettings-By5ell8e.js} +1 -1
- package/dist/{server/defineSettings-ChU6Fp3a.cjs → defineSettings-DRv1FRbv.cjs} +1 -1
- package/dist/{descriptor-DZKBkm2H.cjs → descriptor-NxSXaBdy.cjs} +1 -1
- package/dist/{descriptor-BUfj0gQG.js → descriptor-zKWZdo3E.js} +2 -2
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +5 -5
- package/dist/displayOwner-BNw2Foa_.cjs +1 -0
- package/dist/displayOwner-B_ezJv-O.js +75 -0
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +3 -3
- package/dist/{focusModality-XwqzUScC.js → focusModality-B150daiS.js} +2 -2
- package/dist/{focusModality-DP3Alh3k.cjs → focusModality-PPfeW05D.cjs} +1 -1
- package/dist/{format-CKQJNZwf.js → format-C46MmwwW.js} +3 -3
- package/dist/{format-Cj3xSpw6.cjs → format-Cy7RJpYG.cjs} +1 -1
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/forms/numberInputClamp.d.cts +1 -1
- package/dist/forms/numberInputClamp.d.ts +1 -1
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/{headerIconOverrides-BnJaJqAJ.cjs → headerIconOverrides-64lFnqTt.cjs} +1 -1
- package/dist/{server/headerIconOverrides-BNiSWfFJ.js → headerIconOverrides-BCzeaBA1.js} +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.js +7 -7
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/{server/i18n-BN4NEmw6.js → i18n-B_XRSWWN.js} +1 -1
- package/dist/{server/i18n-JhoYAx5N.cjs → i18n-DZZyw7Iu.cjs} +1 -1
- package/dist/iconSetRegistry-CMUqn1IQ.cjs +1 -0
- package/dist/{tablerIconRegistry-Da8Hw_kr.js → iconSetRegistry-r8c82MmK.js} +2 -2
- package/dist/icons/index.cjs +1 -1
- package/dist/icons/index.d.cts +1 -1
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +39 -39
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/{mainRealmDom-POWe8_Pf.js → mainRealmDom-COGBiX78.js} +1 -1
- package/dist/{mainRealmDom-Ds5Zc1QE.cjs → mainRealmDom-DijAgSXt.cjs} +1 -1
- package/dist/{menuFavorites-D6ILaBPZ.js → menuFavorites-Db1DpHX6.js} +1 -1
- package/dist/{menuFavorites-DAzw7zjN.cjs → menuFavorites-EluLLTfi.cjs} +1 -1
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/navigation/pageHeaderContract.d.cts +1 -1
- package/dist/navigation/pageHeaderContract.d.ts +1 -1
- package/dist/{server/notification-CX0xc5jc.cjs → notification-CrxHMXsk.cjs} +1 -1
- package/dist/{notification-Bepj_MAz.js → notification-DFbp3S_f.js} +1 -1
- package/dist/{notificationSuppressions-aS8dpNnq.js → notificationSuppressions-CBIJ4bC4.js} +53 -53
- package/dist/notificationSuppressions-DFbFpayS.cjs +1 -0
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +6 -6
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.js +6 -6
- package/dist/{server/preferencesCache-Zqtds5QF.js → preferencesCache-BhUd3K9p.js} +1 -1
- package/dist/{preferencesCache-X6b8L__G.cjs → preferencesCache-DJPCTPYx.cjs} +1 -1
- package/dist/{server/rendererLogging-BFSH5YKd.cjs → rendererLogging-B4XML4_G.cjs} +2 -2
- package/dist/{server/rendererLogging-RDouoz5K.js → rendererLogging-Edo4ALXU.js} +2 -2
- package/dist/server/{AttributeGrid-_7NdS1WK.js → AttributeGrid-Bq6AC927.js} +3 -3
- package/dist/server/{AttributeGrid-piFH6Xyi.cjs → AttributeGrid-Cz49ZLQJ.cjs} +1 -1
- package/dist/server/{Button-CRfjjdJW.cjs → Button-C9c6mzTA.cjs} +1 -1
- package/dist/server/{Button-DyPAaop_.js → Button-CHjpZWyZ.js} +1 -1
- package/dist/server/{CommandPalette-CW1Xw15d.cjs → CommandPalette-C-Y0biXL.cjs} +1 -1
- package/dist/server/{CommandPalette-Cr81FRAH.js → CommandPalette-C69NFoDY.js} +5 -5
- package/dist/server/{CopyButton-5-c3aEbO.cjs → CopyButton-C3AnCUW9.cjs} +1 -1
- package/dist/server/{CopyButton-aIjxxlvQ.js → CopyButton-DOeXnVFC.js} +1 -1
- package/dist/server/{DateRangePicker-rlcLBpJH.cjs → DateRangePicker-BZIjmD5b.cjs} +1 -1
- package/dist/server/{DateRangePicker-DQ6AkI8q.js → DateRangePicker-tEwswamx.js} +3 -3
- package/dist/server/{GuidedTour-qJV4uaFX.js → GuidedTour-C38isG70.js} +9 -9
- package/dist/server/{GuidedTour-BVElbQi6.cjs → GuidedTour-TAGGtEp2.cjs} +1 -1
- package/dist/server/IconPicker-DpsgVG2H.cjs +1 -0
- package/dist/server/{IconPicker-DHctBAMA.js → IconPicker-tGQ6T_7R.js} +18 -18
- package/dist/server/{Modal-BgwyBtzV.js → Modal-C4E01jt8.js} +2 -2
- package/dist/server/{Modal-DZlKkUDu.cjs → Modal-w2CtUJ-g.cjs} +1 -1
- package/dist/server/{PageSkeleton-Kk8oxeYs.js → PageSkeleton-BIoewFZz.js} +8 -8
- package/dist/server/{PageSkeleton-Dh_Aj1rd.cjs → PageSkeleton-t1PiXgcp.cjs} +3 -3
- package/dist/server/{SearchableSelect-y9pGwJ-n.js → SearchableSelect-CTDUjMFB.js} +2 -2
- package/dist/server/{SearchableSelect-vuDEubiH.cjs → SearchableSelect-T6iS1AYR.cjs} +1 -1
- package/dist/server/{StatusBarNotificationBell-CFQiQ4EC.js → StatusBarNotificationBell-Bm2ZiM-t.js} +80 -80
- package/dist/server/{StatusBarNotificationBell-CTAMHPer.cjs → StatusBarNotificationBell-DL_OCMv7.cjs} +2 -2
- package/dist/server/{Stepper-DJKBsR1i.cjs → Stepper-CZ695tkt.cjs} +1 -1
- package/dist/server/{Stepper-4jnS2eXn.js → Stepper-Il_NS3YQ.js} +1 -1
- package/dist/server/{TimeSeriesChart-CZigVuc_.js → TimeSeriesChart-CWxwWo-G.js} +1 -1
- package/dist/server/{TimeSeriesChart-D2SG8Ss7.cjs → TimeSeriesChart-Cjpjciv2.cjs} +1 -1
- package/dist/server/{ToggleButton-HiS48_5d.cjs → ToggleButton-CXwvg-Hr.cjs} +1 -1
- package/dist/server/{ToggleButton-C501EuVP.js → ToggleButton-D7Qu7T2P.js} +4 -4
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/{announcerService-Cz271R3_.js → server/announcerService-B7yicxvU.js} +1 -1
- package/dist/server/{announcerService-aMJZgWvZ.cjs → announcerService-D_pFE24a.cjs} +1 -1
- package/dist/server/{catalogNotify-CDW-bK-M.cjs → catalogNotify-CTZ3DSTN.cjs} +4 -4
- package/dist/server/{catalogNotify-_2rg9gGZ.js → catalogNotify-Dnyfrb-0.js} +92 -92
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{createResizableSidebar-COZjMAIY.js → createResizableSidebar-CBSfZVJk.js} +20 -20
- package/dist/server/createResizableSidebar-rfcmiXuS.cjs +1 -0
- package/dist/{defineSettings-C1g7a15Z.js → server/defineSettings-By5ell8e.js} +1 -1
- package/dist/{defineSettings-ChU6Fp3a.cjs → server/defineSettings-DRv1FRbv.cjs} +1 -1
- package/dist/server/{descriptor-CRBceC5O.cjs → descriptor-B6FQLHie.cjs} +1 -1
- package/dist/server/{descriptor-lk-Bhef_.js → descriptor-DNWBt66Z.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 +1 -0
- package/dist/server/displayOwner-B_ezJv-O.js +75 -0
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +2 -2
- package/dist/server/{focusModality-BnOnbaen.cjs → focusModality-CeTPyRiF.cjs} +1 -1
- package/dist/server/{focusModality-ABJEOL1D.js → focusModality-DmOZptla.js} +2 -2
- package/dist/server/{format-BU_aMpTT.cjs → format-BWHKiXRe.cjs} +1 -1
- package/dist/server/{format-CZuUwpfB.js → format-BubrMUMq.js} +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/server/{headerIconOverrides-BnJaJqAJ.cjs → headerIconOverrides-64lFnqTt.cjs} +1 -1
- package/dist/{headerIconOverrides-BNiSWfFJ.js → server/headerIconOverrides-BCzeaBA1.js} +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +7 -7
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/{i18n-BN4NEmw6.js → server/i18n-B_XRSWWN.js} +1 -1
- package/dist/{i18n-JhoYAx5N.cjs → server/i18n-DZZyw7Iu.cjs} +1 -1
- package/dist/server/iconSetRegistry-u0H4_7nI.cjs +1 -0
- package/dist/server/icons/index.cjs +1 -1
- package/dist/server/icons/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +33 -33
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +2 -2
- package/dist/server/{menuFavorites-D6ILaBPZ.js → menuFavorites-Db1DpHX6.js} +1 -1
- package/dist/server/{menuFavorites-DAzw7zjN.cjs → menuFavorites-EluLLTfi.cjs} +1 -1
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/{notification-CX0xc5jc.cjs → server/notification-CrxHMXsk.cjs} +1 -1
- package/dist/server/{notification-Bepj_MAz.js → notification-DFbp3S_f.js} +1 -1
- package/dist/server/{notificationSuppressions-JKZaCrMN.cjs → notificationSuppressions-D7FZmJy8.cjs} +1 -1
- package/dist/server/{notificationSuppressions-FPh4wkRy.js → notificationSuppressions-DkrUMXHx.js} +2 -2
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +6 -6
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +5 -5
- package/dist/{preferencesCache-Zqtds5QF.js → server/preferencesCache-BhUd3K9p.js} +1 -1
- package/dist/server/{preferencesCache-X6b8L__G.cjs → preferencesCache-DJPCTPYx.cjs} +1 -1
- package/dist/{rendererLogging-BFSH5YKd.cjs → server/rendererLogging-B4XML4_G.cjs} +2 -2
- package/dist/{rendererLogging-RDouoz5K.js → server/rendererLogging-Edo4ALXU.js} +2 -2
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +3 -3
- package/dist/server/{settingsSearchContributor-DqYjIJVw.cjs → settingsSearchContributor-CDqRlqt7.cjs} +1 -1
- package/dist/server/{settingsSearchContributor-Sae2-vbZ.js → settingsSearchContributor-Dn-HFipc.js} +2 -2
- 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-DP_HU8Pd.js → settingsSearchContributor-BGImAgsw.js} +2 -2
- package/dist/{settingsSearchContributor-DxQyhu1R.cjs → settingsSearchContributor-Ci6vEEQ1.cjs} +1 -1
- package/dist/solid/_internal/app/icons/{tablerIconRegistry.js → iconSetRegistry.js} +3 -7
- package/dist/solid/_internal/base/bestEffort.js +2 -2
- package/dist/solid/_internal/contract/catalogNotify.js +1 -1
- package/dist/solid/_internal/contract/transfer/textEncoding.js +1 -1
- package/dist/solid/_internal/platform/errors/diagnosticReport.js +1 -1
- package/dist/solid/_internal/platform/vendorErrors/index.js +2 -2
- package/dist/solid/_internal/platform/window/displayOwner.js +4 -4
- package/dist/solid/feedback/ErrorBoundary.jsx +1 -1
- package/dist/solid/forms/IconPicker.jsx +2 -2
- package/dist/solid/icons/index.jsx +1 -1
- package/dist/solid/layout/PageHeaderIcon.jsx +5 -5
- package/dist/solid/navigation/Tabs.jsx +2 -2
- package/dist/solid/notifications/NotificationPanel.jsx +2 -2
- package/dist/solid/notifications/notificationAudio.js +4 -4
- package/dist/solid/notifications/webhookDelivery.js +1 -1
- package/dist/solid/overlay/Modal.jsx +1 -1
- package/dist/style.css +1 -1
- package/dist/{tooltipCoordinator-Dm4qkkL7.js → tooltipCoordinator-GV0L9lXH.js} +1 -1
- package/dist/{tooltipCoordinator-CuReoi-Y.cjs → tooltipCoordinator-y5YP3tsJ.cjs} +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 +1 -1
- package/dist/IconPicker-CdWBUDg8.cjs +0 -1
- package/dist/StatusBarNotificationBell-DIxJNADf.cjs +0 -4
- package/dist/Stepper-DvmytRIe.cjs +0 -1
- package/dist/_internal/app/icons/tablerIconRegistry.d.cts +0 -16
- package/dist/_internal/app/icons/tablerIconRegistry.d.ts +0 -16
- package/dist/createResizableSidebar-BunLsdM1.cjs +0 -1
- package/dist/displayOwner-B11aUTFt.cjs +0 -1
- package/dist/displayOwner-B8CAEiHu.js +0 -75
- package/dist/notificationSuppressions-DaqXCX63.cjs +0 -1
- package/dist/server/IconPicker-OkOT7sTz.cjs +0 -1
- package/dist/server/createResizableSidebar-BTjNQOi9.cjs +0 -1
- package/dist/server/displayOwner-B11aUTFt.cjs +0 -1
- package/dist/server/displayOwner-B8CAEiHu.js +0 -75
- package/dist/server/tablerIconRegistry-CmYr538-.cjs +0 -1
- package/dist/tablerIconRegistry-C85jD5eX.cjs +0 -1
- /package/dist/server/{tablerIconRegistry-yPeAzzz7.js → iconSetRegistry-yPeAzzz7.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as re, g as L } from "./rendererLogging-
|
|
2
|
-
import { n as s } from "./notification-
|
|
1
|
+
import { t as re, g as L } from "./rendererLogging-Edo4ALXU.js";
|
|
2
|
+
import { n as s } from "./notification-DFbp3S_f.js";
|
|
3
3
|
import { B as I } from "./bugIndicatingError-h3J5qkL6.js";
|
|
4
|
-
const
|
|
4
|
+
const M = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function we(e, n) {
|
|
6
|
-
return
|
|
6
|
+
return M.set(e, [...M.get(e) ?? [], ...n]), e;
|
|
7
7
|
}
|
|
8
8
|
function oe(e) {
|
|
9
|
-
return typeof e == "object" && e !== null ?
|
|
9
|
+
return typeof e == "object" && e !== null ? M.get(e) ?? [] : [];
|
|
10
10
|
}
|
|
11
11
|
const P = {
|
|
12
12
|
text: (e, n) => re(e, n),
|
|
@@ -19,10 +19,10 @@ function pe(e) {
|
|
|
19
19
|
function $() {
|
|
20
20
|
return O;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function he(e, n) {
|
|
23
23
|
return $().text(e, n);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function ye(e) {
|
|
26
26
|
return $().actions(e);
|
|
27
27
|
}
|
|
28
28
|
const x = L("ElectronBridge");
|
|
@@ -102,21 +102,21 @@ function N(e) {
|
|
|
102
102
|
muted: 0
|
|
103
103
|
}, H.set(e, n)), n;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Fe(e, n, o) {
|
|
106
106
|
const i = N(e);
|
|
107
107
|
i.total += 1, n && (i.shown += 1), o && (i.muted += 1);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function be(e) {
|
|
110
110
|
N(e).clicked += 1;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function De(e) {
|
|
113
113
|
N(e).dismissed += 1;
|
|
114
114
|
}
|
|
115
115
|
function ce(e) {
|
|
116
116
|
N(e).autoFaded += 1;
|
|
117
117
|
}
|
|
118
118
|
const ae = L("NativeNotificationEngine");
|
|
119
|
-
function
|
|
119
|
+
function ke(e) {
|
|
120
120
|
return e.id === "";
|
|
121
121
|
}
|
|
122
122
|
function ue(e, n = s.get()) {
|
|
@@ -138,59 +138,59 @@ function de(e, n = s.get()) {
|
|
|
138
138
|
return o !== void 0 && (!Number.isFinite(o) || o <= 0);
|
|
139
139
|
}
|
|
140
140
|
function fe(e = {}) {
|
|
141
|
-
const n = e.getSettings ?? (() => s.get()), o = e.now ?? (() => Date.now()), i = e.setTimeout ?? ((t, r) => window.setTimeout(t, r)), d = e.clearTimeout ?? ((t) => window.clearTimeout(t)), w = e.recordAutoFade ?? ce,
|
|
142
|
-
function
|
|
141
|
+
const n = e.getSettings ?? (() => s.get()), o = e.now ?? (() => Date.now()), i = e.setTimeout ?? ((t, r) => window.setTimeout(t, r)), d = e.clearTimeout ?? ((t) => window.clearTimeout(t)), w = e.recordAutoFade ?? ce, F = e.warn ?? ((t, r) => ae.warn(t, r)), u = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Map();
|
|
142
|
+
function b() {
|
|
143
143
|
return [...u.values()].sort((t, r) => t.createdAt - r.createdAt);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function B(t) {
|
|
146
146
|
const r = n();
|
|
147
147
|
if (!r.pauseTimerWhileHidden) return !1;
|
|
148
|
-
const a =
|
|
148
|
+
const a = b(), m = Math.max(1, r.maxVisibleNotifications);
|
|
149
149
|
if (a.length <= m) return !1;
|
|
150
|
-
const c = a.length - m, f = a.findIndex((
|
|
150
|
+
const c = a.length - m, f = a.findIndex((D) => D.id === t);
|
|
151
151
|
return f >= 0 && f < c;
|
|
152
152
|
}
|
|
153
153
|
function _() {
|
|
154
154
|
for (const t of u.keys()) {
|
|
155
|
-
if (
|
|
156
|
-
|
|
155
|
+
if (y.has(t)) {
|
|
156
|
+
B(t) && p(t);
|
|
157
157
|
continue;
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
h(t);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
function g() {
|
|
163
|
-
const t =
|
|
163
|
+
const t = b();
|
|
164
164
|
for (const r of Array.from(E))
|
|
165
165
|
try {
|
|
166
166
|
r(t);
|
|
167
167
|
} catch (a) {
|
|
168
|
-
|
|
168
|
+
F("Bildirim motoru dinleyicisi firlatti:", a);
|
|
169
169
|
}
|
|
170
170
|
_();
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function K(t) {
|
|
173
173
|
return !!(de(t, n()) || t.hovered || t.focused);
|
|
174
174
|
}
|
|
175
175
|
function V(t) {
|
|
176
176
|
return ue(t, n());
|
|
177
177
|
}
|
|
178
178
|
function p(t) {
|
|
179
|
-
const r =
|
|
180
|
-
r !== void 0 && (d(r),
|
|
179
|
+
const r = y.get(t);
|
|
180
|
+
r !== void 0 && (d(r), y.delete(t));
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function h(t) {
|
|
183
183
|
p(t);
|
|
184
184
|
const r = u.get(t);
|
|
185
|
-
if (!r ||
|
|
185
|
+
if (!r || K(r) || B(t)) return;
|
|
186
186
|
const a = V(r);
|
|
187
187
|
if (!Number.isFinite(a) || a <= 0) return;
|
|
188
188
|
const m = i(() => {
|
|
189
|
-
|
|
189
|
+
y.delete(t);
|
|
190
190
|
const c = u.get(t);
|
|
191
|
-
c && (
|
|
191
|
+
c && (K(c) || (w(c.source ?? "general"), u.delete(t), g()));
|
|
192
192
|
}, a);
|
|
193
|
-
|
|
193
|
+
y.set(t, m);
|
|
194
194
|
}
|
|
195
195
|
let U = 0;
|
|
196
196
|
function j() {
|
|
@@ -228,7 +228,7 @@ function fe(e = {}) {
|
|
|
228
228
|
close: () => {
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
|
-
const c = a ?? j(), f = u.get(c),
|
|
231
|
+
const c = a ?? j(), f = u.get(c), D = {
|
|
232
232
|
...t,
|
|
233
233
|
id: c,
|
|
234
234
|
createdAt: (f == null ? void 0 : f.createdAt) ?? o(),
|
|
@@ -238,15 +238,15 @@ function fe(e = {}) {
|
|
|
238
238
|
hovered: (f == null ? void 0 : f.hovered) ?? !1,
|
|
239
239
|
focused: (f == null ? void 0 : f.focused) ?? !1
|
|
240
240
|
};
|
|
241
|
-
return u.set(c,
|
|
241
|
+
return u.set(c, D), m && z(), g(), h(c), {
|
|
242
242
|
id: c,
|
|
243
|
-
update(
|
|
243
|
+
update(k) {
|
|
244
244
|
const v = u.get(c);
|
|
245
|
-
v && (u.set(c, { ...v, ...
|
|
245
|
+
v && (u.set(c, { ...v, ...k }), g(), h(c));
|
|
246
246
|
},
|
|
247
|
-
setProgress(
|
|
247
|
+
setProgress(k) {
|
|
248
248
|
const v = u.get(c);
|
|
249
|
-
v && (u.set(c, { ...v, progress:
|
|
249
|
+
v && (u.set(c, { ...v, progress: k }), g(), h(c));
|
|
250
250
|
},
|
|
251
251
|
close() {
|
|
252
252
|
p(c), u.delete(c) && g();
|
|
@@ -254,27 +254,27 @@ function fe(e = {}) {
|
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
function X(t) {
|
|
257
|
-
return E.add(t), t(
|
|
257
|
+
return E.add(t), t(b()), () => {
|
|
258
258
|
E.delete(t);
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
function Y(t, r) {
|
|
262
262
|
const a = u.get(t);
|
|
263
|
-
!a || a.hovered === r || (u.set(t, { ...a, hovered: r }), g(), r ? p(t) :
|
|
263
|
+
!a || a.hovered === r || (u.set(t, { ...a, hovered: r }), g(), r ? p(t) : h(t));
|
|
264
264
|
}
|
|
265
265
|
function Z(t, r) {
|
|
266
266
|
const a = u.get(t);
|
|
267
|
-
!a || a.focused === r || (u.set(t, { ...a, focused: r }), g(), r ? p(t) :
|
|
267
|
+
!a || a.focused === r || (u.set(t, { ...a, focused: r }), g(), r ? p(t) : h(t));
|
|
268
268
|
}
|
|
269
269
|
function ee(t) {
|
|
270
270
|
const r = u.get(t);
|
|
271
|
-
r && (u.set(t, { ...r, expanded: !r.expanded }), g(),
|
|
271
|
+
r && (u.set(t, { ...r, expanded: !r.expanded }), g(), h(t));
|
|
272
272
|
}
|
|
273
273
|
function te(t) {
|
|
274
274
|
p(t), u.delete(t) && g();
|
|
275
275
|
}
|
|
276
276
|
function ne() {
|
|
277
|
-
for (const t of
|
|
277
|
+
for (const t of y.keys()) p(t);
|
|
278
278
|
u.clear(), E.clear();
|
|
279
279
|
}
|
|
280
280
|
return {
|
|
@@ -287,7 +287,7 @@ function fe(e = {}) {
|
|
|
287
287
|
dispose: ne
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
|
-
const S = fe(),
|
|
290
|
+
const S = fe(), Me = S.notify, Be = S.subscribe, Ke = S.setHover, Ue = S.setFocus, Re = S.toggleExpanded, He = S.close;
|
|
291
291
|
let T = null;
|
|
292
292
|
function Le(e) {
|
|
293
293
|
T = e;
|
|
@@ -298,7 +298,7 @@ function Ie() {
|
|
|
298
298
|
function C() {
|
|
299
299
|
if (T === null)
|
|
300
300
|
throw new I(
|
|
301
|
-
"[vendorErrors]
|
|
301
|
+
"[vendorErrors] read before a source was installed — the host must call installVendorErrorSource at startup."
|
|
302
302
|
);
|
|
303
303
|
return T;
|
|
304
304
|
}
|
|
@@ -310,7 +310,7 @@ function Oe(e, n, o) {
|
|
|
310
310
|
const i = C().errorHelpersFor(e);
|
|
311
311
|
if (i === null)
|
|
312
312
|
throw new I(
|
|
313
|
-
`[vendorErrors]
|
|
313
|
+
`[vendorErrors] unknown preview vendor: ${e}`
|
|
314
314
|
);
|
|
315
315
|
return {
|
|
316
316
|
message: `${i.formatCode(n)}: ${o}`,
|
|
@@ -348,7 +348,7 @@ function qe(e) {
|
|
|
348
348
|
}
|
|
349
349
|
async function We(e, n) {
|
|
350
350
|
if (!e || n <= 0) return;
|
|
351
|
-
const o = s.get(), i = Date.now() + n, w = [...o.remindersUntil.filter((
|
|
351
|
+
const o = s.get(), i = Date.now() + n, w = [...o.remindersUntil.filter((F) => F.key !== e), { key: e, remindAt: i }];
|
|
352
352
|
s.applyFromBroadcast({ ...o, remindersUntil: w }), await s.update({ ...o, remindersUntil: w });
|
|
353
353
|
}
|
|
354
354
|
async function Ge(e, n) {
|
|
@@ -385,20 +385,20 @@ async function Xe() {
|
|
|
385
385
|
e.mutedSources.length !== 0 && (s.applyFromBroadcast({ ...e, mutedSources: [] }), await s.update({ ...e, mutedSources: [] }));
|
|
386
386
|
}
|
|
387
387
|
export {
|
|
388
|
-
|
|
388
|
+
Ke as A,
|
|
389
389
|
Ge as B,
|
|
390
|
-
|
|
390
|
+
Be as C,
|
|
391
391
|
Re as D,
|
|
392
392
|
Xe as E,
|
|
393
|
-
|
|
393
|
+
he as F,
|
|
394
394
|
xe as G,
|
|
395
395
|
Ee as H,
|
|
396
|
-
|
|
397
|
-
|
|
396
|
+
Fe as I,
|
|
397
|
+
be as J,
|
|
398
398
|
ve as K,
|
|
399
399
|
Ae as L,
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
ye as M,
|
|
401
|
+
De as N,
|
|
402
402
|
Te as O,
|
|
403
403
|
Ne as P,
|
|
404
404
|
oe as a,
|
|
@@ -419,8 +419,8 @@ export {
|
|
|
419
419
|
pe as p,
|
|
420
420
|
Ve as q,
|
|
421
421
|
Pe as r,
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
ke as s,
|
|
423
|
+
Me as t,
|
|
424
424
|
We as u,
|
|
425
425
|
ue as v,
|
|
426
426
|
we as w,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const B=require("./rendererLogging-B4XML4_G.cjs"),s=require("./notification-CrxHMXsk.cjs"),P=require("./bugIndicatingError-D2X5Hfgg.cjs"),k=new WeakMap;function ce(e,n){return k.set(e,[...k.get(e)??[],...n]),e}function O(e){return typeof e=="object"&&e!==null?k.get(e)??[]:[]}const V={text:(e,n)=>B.toErrorMessage(e,n),actions:e=>O(e)};let $=V;function ae(e){$=e??V}function C(){return $}function ue(e,n){return C().text(e,n)}function de(e){return C().actions(e)}const x=B.getLogger("ElectronBridge");let l={};function fe(e){l=e??{}}const le=new Set(["http:","https:","mailto:"]);function ge(e){let n;try{n=new URL(e).protocol}catch{x.warn("openExternal: unparseable URL refused",{url:e});return}if(!le.has(n)){x.warn("openExternal: protocol refused",{url:e,protocol:n});return}if(l.openExternal){Promise.resolve(l.openExternal(e)).catch(o=>{x.warn("openExternal: host refused",{url:e,error:o})});return}typeof window<"u"&&window.open(e,"_blank","noopener,noreferrer")}function me(e){l.osNotify&&Promise.resolve(l.osNotify(e)).catch(()=>{})}function we(e){l.setBadgeCount&&Promise.resolve(l.setBadgeCount(e)).catch(()=>{})}async function Se(e){if(!l.readAudioAsDataUrl)return null;try{return await l.readAudioAsDataUrl(e)}catch(n){return x.warn("custom sound could not be read",{filePath:e,error:n}),null}}const pe={showSaveDialog:async e=>({filePath:(e==null?void 0:e.defaultPath)??"export.txt"}),writeFile:async(e,n)=>{if(typeof document>"u")return;const o=e.split(/[\\/]/).pop()||"export.txt",i=URL.createObjectURL(new Blob([n],{type:"text/plain;charset=utf-8"})),d=document.createElement("a");d.href=i,d.download=o,d.rel="noopener",d.click(),setTimeout(()=>URL.revokeObjectURL(i),0)}};function ye(){return l.fs??pe}function he(e){var n;if(e)return(n=l.notificationOverlay)==null?void 0:n.call(l,e)}const L=new Map;function T(e){let n=L.get(e);return n||(n={source:e,total:0,shown:0,clicked:0,dismissed:0,autoFaded:0,muted:0},L.set(e,n)),n}function Ee(e,n,o){const i=T(e);i.total+=1,n&&(i.shown+=1),o&&(i.muted+=1)}function Ae(e){T(e).clicked+=1}function ve(e){T(e).dismissed+=1}function xe(e){T(e).autoFaded+=1}const Ne=B.getLogger("NativeNotificationEngine");function Te(e){return e.id===""}function _(e,n=s.notificationSettings.get()){if(e.durationMs!==void 0)return e.durationMs;switch(e.severity){case"info":return n.infoDurationMs;case"success":return n.successDurationMs;case"warning":return n.warningDurationMs;case"error":return n.errorDurationMs}}function q(e,n=s.notificationSettings.get()){if(e.sticky||e.priority==="urgent"||e.priority==="acknowledgment-required"||e.progress&&!e.progress.done||e.severity==="error"&&n.errorsAlwaysSticky||e.severity==="warning"&&n.warningsAlwaysSticky)return!0;const o=e.durationMs;return o!==void 0&&(!Number.isFinite(o)||o<=0)}function j(e={}){const n=e.getSettings??(()=>s.notificationSettings.get()),o=e.now??(()=>Date.now()),i=e.setTimeout??((t,r)=>window.setTimeout(t,r)),d=e.clearTimeout??(t=>window.clearTimeout(t)),w=e.recordAutoFade??xe,F=e.warn??((t,r)=>Ne.warn(t,r)),u=new Map,v=new Set,y=new Map;function b(){return[...u.values()].sort((t,r)=>t.createdAt-r.createdAt)}function U(t){const r=n();if(!r.pauseTimerWhileHidden)return!1;const a=b(),m=Math.max(1,r.maxVisibleNotifications);if(a.length<=m)return!1;const c=a.length-m,f=a.findIndex(D=>D.id===t);return f>=0&&f<c}function W(){for(const t of u.keys()){if(y.has(t)){U(t)&&S(t);continue}p(t)}}function g(){const t=b();for(const r of Array.from(v))try{r(t)}catch(a){F("Bildirim motoru dinleyicisi firlatti:",a)}W()}function R(t){return!!(q(t,n())||t.hovered||t.focused)}function G(t){return _(t,n())}function S(t){const r=y.get(t);r!==void 0&&(d(r),y.delete(t))}function p(t){S(t);const r=u.get(t);if(!r||R(r)||U(t))return;const a=G(r);if(!Number.isFinite(a)||a<=0)return;const m=i(()=>{y.delete(t);const c=u.get(t);c&&(R(c)||(w(c.source??"general"),u.delete(t),g()))},a);y.set(t,m)}let H=0;function Q(){return H+=1,`n-${o().toString(36)}-${H.toString(36)}`}const X=800,z=3,E=[];function J(){const t=o();for(;E.length>0&&(E[0]??0)<t-X;)E.shift();return E.length>=z}function Y(){E.push(o())}function I(t){return!t||t.length===0?"":t.filter(r=>r.primary).map(r=>`${r.id??""}::${r.label}`).sort().join("|")}function Z(t){const r=t.source??"",a=I(t.actions);for(const[m,c]of u)if((c.source??"")===r&&c.title===t.title&&I(c.actions)===a)return m;return null}function ee(t){const r=t.id,a=r??Z(t),m=a===null;if(m&&!r&&J())return{id:"",update:()=>{},setProgress:()=>{},close:()=>{}};const c=a??Q(),f=u.get(c),D={...t,id:c,createdAt:(f==null?void 0:f.createdAt)??o(),expanded:(f==null?void 0:f.expanded)??!1,hovered:(f==null?void 0:f.hovered)??!1,focused:(f==null?void 0:f.focused)??!1};return u.set(c,D),m&&Y(),g(),p(c),{id:c,update(K){const A=u.get(c);A&&(u.set(c,{...A,...K}),g(),p(c))},setProgress(K){const A=u.get(c);A&&(u.set(c,{...A,progress:K}),g(),p(c))},close(){S(c),u.delete(c)&&g()}}}function te(t){return v.add(t),t(b()),()=>{v.delete(t)}}function ne(t,r){const a=u.get(t);!a||a.hovered===r||(u.set(t,{...a,hovered:r}),g(),r?S(t):p(t))}function re(t,r){const a=u.get(t);!a||a.focused===r||(u.set(t,{...a,focused:r}),g(),r?S(t):p(t))}function oe(t){const r=u.get(t);r&&(u.set(t,{...r,expanded:!r.expanded}),g(),p(t))}function ie(t){S(t),u.delete(t)&&g()}function se(){for(const t of y.keys())S(t);u.clear(),v.clear()}return{notify:ee,subscribe:te,setHover:ne,setFocus:re,toggleExpanded:oe,close:ie,dispose:se}}const h=j(),Fe=h.notify,be=h.subscribe,De=h.setHover,Ke=h.setFocus,ke=h.toggleExpanded,Be=h.close;let N=null;function Me(e){N=e}function Ue(){return N!==null}function M(){if(N===null)throw new P.BugIndicatingError("[vendorErrors] read before a source was installed — the host must call installVendorErrorSource at startup.");return N}function Re(e){const n=M().errorHelpersFor(e.vendorId);return n===null?null:{vendorId:e.vendorId,code:e.code,helpers:n}}function He(e,n,o){const i=M().errorHelpersFor(e);if(i===null)throw new P.BugIndicatingError(`[vendorErrors] unknown preview vendor: ${e}`);return{message:`${i.formatCode(n)}: ${o}`,vendorError:{vendorId:e,code:n}}}function Ie(e){return`https://www.google.com/search?q=${encodeURIComponent(e)}`}function Le(e,n){return`__remind:${e}:${n}`}function Pe(e,n,o){const{priority:i}=e,d=e.recordTimeline!==!1;if(!n.notificationsEnabled)return{showToast:!1,recordTimeline:!1};if(o.dismissed)return{showToast:!1,recordTimeline:!1};if(o.remindSuppressed)return{showToast:!1,recordTimeline:!1};if(i==="silent")return{showToast:!1,recordTimeline:d};const w=i==="urgent"||i==="acknowledgment-required";return n.doNotDisturb&&(!w||i==="urgent"&&n.dndBlocksUrgent)?{showToast:!1,recordTimeline:d}:o.inQuietHours&&(!w||i==="urgent"&&n.quietHoursBlocksUrgent)?{showToast:!1,recordTimeline:d}:w?n.urgentRoutesToCenterOnly&&i==="urgent"?{showToast:!1,recordTimeline:d}:{showToast:!0,recordTimeline:d}:o.sourceMuted?{showToast:!1,recordTimeline:d}:{showToast:!0,recordTimeline:d}}function Oe(e){return s.notificationSettings.get().mutedSources.includes(e)}function Ve(e){return s.notificationSettings.get().dontShowAgainKeys.includes(e)}function $e(e){const n=Date.now();return s.notificationSettings.get().remindersUntil.some(i=>i.key===e&&i.remindAt>n)}async function Ce(e,n){if(!e||n<=0)return;const o=s.notificationSettings.get(),i=Date.now()+n,w=[...o.remindersUntil.filter(F=>F.key!==e),{key:e,remindAt:i}];s.notificationSettings.applyFromBroadcast({...o,remindersUntil:w}),await s.notificationSettings.update({...o,remindersUntil:w})}async function _e(e,n){const o=s.notificationSettings.get(),i=n?Array.from(new Set([...o.mutedSources,e])):o.mutedSources.filter(d=>d!==e);s.notificationSettings.applyFromBroadcast({...o,mutedSources:i}),await s.notificationSettings.update({...o,mutedSources:i})}async function qe(e){const n=s.notificationSettings.get();if(n.dontShowAgainKeys.includes(e))return;const o=[...n.dontShowAgainKeys,e];s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function je(e){const n=s.notificationSettings.get();if(!n.dontShowAgainKeys.includes(e))return;const o=n.dontShowAgainKeys.filter(i=>i!==e);s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function We(){const e=s.notificationSettings.get();e.dontShowAgainKeys.length!==0&&(s.notificationSettings.applyFromBroadcast({...e,dontShowAgainKeys:[]}),await s.notificationSettings.update({...e,dontShowAgainKeys:[]}))}async function Ge(){const e=s.notificationSettings.get();e.mutedSources.length!==0&&(s.notificationSettings.applyFromBroadcast({...e,mutedSources:[]}),await s.notificationSettings.update({...e,mutedSources:[]}))}exports.attachedErrorActions=O;exports.closeNotification=Be;exports.configureDesktopBridge=fe;exports.createNativeNotificationEngine=j;exports.createVendorErrorPreview=He;exports.decideFilter=Pe;exports.deriveImplicitRemindKey=Le;exports.dismissKey=qe;exports.errorActions=de;exports.errorText=ue;exports.getFsService=ye;exports.getGoogleSearchUrl=Ie;exports.getVendorErrorSource=M;exports.installVendorErrorSource=Me;exports.isKeyDismissed=Ve;exports.isKeyRemindSuppressed=$e;exports.isNotificationSticky=q;exports.isSourceMuted=Oe;exports.isSpamDropHandle=Te;exports.isVendorErrorSourceInstalled=Ue;exports.notificationOverlayBridge=he;exports.notify=Fe;exports.openExternal=ge;exports.osNotify=me;exports.provideHostErrorPresenter=ae;exports.readAudioAsDataUrl=Se;exports.recordClick=Ae;exports.recordDismiss=ve;exports.recordFire=Ee;exports.remindLater=Ce;exports.resolveNotificationDuration=_;exports.resolveVendorError=Re;exports.restoreAllKeys=We;exports.restoreKey=je;exports.setNotificationFocus=Ke;exports.setNotificationHover=De;exports.setOsBadgeCount=we;exports.setSourceMuted=_e;exports.subscribeNotifications=be;exports.toggleNotificationExpanded=ke;exports.unmuteAllSources=Ge;exports.withErrorActions=ce;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-DQ94Snzi.cjs"),i=require("../catalogNotify-B6x3enJ5.cjs"),e=require("../notificationSuppressions-DFbFpayS.cjs"),o=require("../GuidedTour-CYgy48bt.cjs"),s=require("../notification-CrxHMXsk.cjs"),n=require("../visibleBrowserRegistry-CZFCFSo_.cjs"),a=require("../displayOwner-BNw2Foa_.cjs");exports.LogFilterBar=t.LogFilterBar;exports.NOTIFICATION_SOURCES=t.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=t.NOTIFICATION_SOURCE_IDS;exports.NotificationPanel=t.NotificationPanel;exports.NotificationsCenter=t.NotificationsCenter;exports.StatusBarNotificationBell=t.StatusBarNotificationBell;exports.compileNotificationSearchMatcher=t.compileNotificationSearchMatcher;exports.createNotificationPreviewRuntime=t.createNotificationPreviewRuntime;exports.exportTimelineAsCsv=t.exportTimelineAsCsv;exports.exportTimelineAsJson=t.exportTimelineAsJson;exports.filterNotificationTimeline=t.filterNotificationTimeline;exports.groupTimelineEntries=t.groupTimelineEntries;exports.isNotificationSourceId=t.isNotificationSourceId;exports.listNotificationSources=t.listNotificationSources;exports.resolveNotificationSource=t.resolveNotificationSource;exports.startNotificationSchedulers=t.startNotificationSchedulers;exports.startNotificationSettingsReactions=t.startNotificationSettingsReactions;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.addTimelineEntry=i.addTimelineEntry;exports.applyNotificationRules=i.applyNotificationRules;exports.catalogNotificationHost=i.catalogNotificationHost;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.clearNotificationTimeline=i.clearNotificationTimeline;exports.defineNotification=i.defineNotification;exports.defineNotificationScenario=i.defineNotificationScenario;exports.digestNotSentText=i.digestNotSentText;exports.dismissNotificationFromCatalog=i.dismissNotificationFromCatalog;exports.dismissNotificationTimelineEntries=i.dismissNotificationTimelineEntries;exports.dismissNotificationTimelineEntriesBySource=i.dismissNotificationTimelineEntriesBySource;exports.dismissNotificationTimelineEntry=i.dismissNotificationTimelineEntry;exports.enrichErrorToast=i.enrichErrorToast;exports.entryVendorMatch=i.entryVendorMatch;exports.fire=i.fire;exports.flushDigest=i.flushDigest;exports.invalidateCustomSoundCache=i.invalidateCustomSoundCache;exports.isInQuietHours=i.isInQuietHours;exports.loadCustomSoundDataUrl=i.loadCustomSoundDataUrl;exports.markTimelineSeen=i.markTimelineSeen;exports.notifyFromCatalog=i.notifyFromCatalog;exports.playQueryCompletedCue=i.playQueryCompletedCue;exports.playSeverityToneIfEnabled=i.playSeverityToneIfEnabled;exports.progressFromCatalog=i.progressFromCatalog;exports.provideCatalogNotificationHost=i.provideCatalogNotificationHost;exports.refreshOsBadge=i.refreshOsBadge;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationScenario=i.resolveNotificationScenario;exports.resolveSeverityTone=i.resolveSeverityTone;exports.setEmailDigestTransport=i.setEmailDigestTransport;exports.shouldFireOsNative=i.shouldFireOsNative;exports.showCatalogPreviewToast=i.showCatalogPreviewToast;exports.subscribeNotificationTimeline=i.subscribeNotificationTimeline;exports.subscribeUnreadCount=i.subscribeUnreadCount;exports.toTimelineActions=i.toTimelineActions;exports.toast=i.toast;exports.toggleTimelineEntryPin=i.toggleTimelineEntryPin;exports.closeNotification=e.closeNotification;exports.configureDesktopBridge=e.configureDesktopBridge;exports.createNativeNotificationEngine=e.createNativeNotificationEngine;exports.decideFilter=e.decideFilter;exports.deriveImplicitRemindKey=e.deriveImplicitRemindKey;exports.dismissKey=e.dismissKey;exports.isKeyDismissed=e.isKeyDismissed;exports.isKeyRemindSuppressed=e.isKeyRemindSuppressed;exports.isNotificationSticky=e.isNotificationSticky;exports.isSourceMuted=e.isSourceMuted;exports.isSpamDropHandle=e.isSpamDropHandle;exports.notify=e.notify;exports.remindLater=e.remindLater;exports.resolveNotificationDuration=e.resolveNotificationDuration;exports.restoreAllKeys=e.restoreAllKeys;exports.restoreKey=e.restoreKey;exports.setNotificationFocus=e.setNotificationFocus;exports.setNotificationHover=e.setNotificationHover;exports.setSourceMuted=e.setSourceMuted;exports.subscribeNotifications=e.subscribeNotifications;exports.toggleNotificationExpanded=e.toggleNotificationExpanded;exports.unmuteAllSources=e.unmuteAllSources;exports.NO_NOTIFICATION_OVERLAY=o.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=o.NotificationHost;exports.NotificationItem=o.NotificationItem;exports.appWindowNotificationOverlay=o.appWindowNotificationOverlay;exports.dismissableToastIds=o.dismissableToastIds;exports.notificationSettings=s.notificationSettings;exports.setOpenSettingsHandler=n.setOpenSettingsHandler;exports.registerNotificationHost=a.registerDisplayHost;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as u, l as S, r as p, s as T, k as g } from "../StatusBarNotificationBell-
|
|
2
|
-
import { S as C, c as E, d as v, e as I, f as O, h, i as x, j as R, k as b, l as A, m as D, n as F, o as H, q as B, r as K, t as _, u as k, v as w, w as P, x as L, y as M, z as U, A as V, B as j, C as Y, D as q, p as z, E as J, F as Q, G, H as W, b as X, I as Z, J as $, K as ii, L as si, M as ai, N as ei, O as ti } from "../catalogNotify-
|
|
3
|
-
import { f as ri, c as ni, h as ci, j as li, k as fi, l as Ni, m as mi, n as di, o as ui, q as Si, s as pi, t as Ti, u as gi, v as yi, x as Ci, y as Ei, z as vi, A as Ii, B as Oi, C as hi, D as xi, E as Ri } from "../notificationSuppressions-
|
|
4
|
-
import { N as Ai, a as Di, b as Fi, c as Hi, d as Bi } from "../GuidedTour-
|
|
5
|
-
import { n as _i } from "../notification-
|
|
1
|
+
import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as u, l as S, r as p, s as T, k as g } from "../StatusBarNotificationBell-BWZj0Pc2.js";
|
|
2
|
+
import { S as C, c as E, d as v, e as I, f as O, h, i as x, j as R, k as b, l as A, m as D, n as F, o as H, q as B, r as K, t as _, u as k, v as w, w as P, x as L, y as M, z as U, A as V, B as j, C as Y, D as q, p as z, E as J, F as Q, G, H as W, b as X, I as Z, J as $, K as ii, L as si, M as ai, N as ei, O as ti } from "../catalogNotify-CcaMBipB.js";
|
|
3
|
+
import { f as ri, c as ni, h as ci, j as li, k as fi, l as Ni, m as mi, n as di, o as ui, q as Si, s as pi, t as Ti, u as gi, v as yi, x as Ci, y as Ei, z as vi, A as Ii, B as Oi, C as hi, D as xi, E as Ri } from "../notificationSuppressions-CBIJ4bC4.js";
|
|
4
|
+
import { N as Ai, a as Di, b as Fi, c as Hi, d as Bi } from "../GuidedTour-YUs4zuez.js";
|
|
5
|
+
import { n as _i } from "../notification-DFbp3S_f.js";
|
|
6
6
|
import { s as wi } from "../visibleBrowserRegistry-DOZlLrpo.js";
|
|
7
|
-
import { r as Li } from "../displayOwner-
|
|
7
|
+
import { r as Li } from "../displayOwner-B_ezJv-O.js";
|
|
8
8
|
export {
|
|
9
9
|
a as LogFilterBar,
|
|
10
10
|
e as NOTIFICATION_SOURCES,
|
package/dist/overlay/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-4w3pEbna.cjs"),n=require("../Modal-BqajyLjD.cjs"),p=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-CYgy48bt.cjs"),i=require("../format-Cy7RJpYG.cjs"),r=require("../tooltipCoordinator-y5YP3tsJ.cjs"),s=require("../dialogFocusRestore-BAF8QM6v.cjs"),t=require("../anchoredLayout-Dstwa5OH.cjs"),o=require("../overlayStack-BZR1emYS.cjs"),T=require("../useFloatingDropdown-BKckfuUv.cjs"),d=require("../ownerWindow-BCmJFMbR.cjs"),c=require("../prefersReducedMotion-BQp-Q4UR.cjs"),u=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),O=require("../settingsSearchContributor-Ci6vEEQ1.cjs"),l=require("../Popover-B8ozGuDX.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createConfirmDialog=e.createConfirmDialog;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.createPromptDialog=e.createPromptDialog;exports.createSaveDiscardDialog=e.createSaveDiscardDialog;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=n.ActionPlaceRow;exports.Modal=n.Modal;exports.collectFocusableElements=n.collectFocusableElements;exports.modalTitlebarHeight=n.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=n.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=n.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=n.trapTabFocusWithin;exports.OverlayScrollArea=p.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.ToastHost=a.NotificationHost;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=r.COLD_DELAY_MS;exports.COOLDOWN_MS=r.COOLDOWN_MS;exports.DEFAULT_MARGIN=r.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=r.DEFAULT_OFFSET;exports.WARM_DELAY_MS=r.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=r.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=r.createTooltipCoordinator;exports.tooltipCoordinator=r.tooltipCoordinator;exports.OverlayPortal=s.OverlayPortal;exports.restoreFocusTo=s.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=s.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=T.useFloatingDropdown;exports.ownerWindow=d.ownerWindow;exports.modalBackgroundExemption=c.modalBackgroundExemption;exports.neutralizeBackground=c.neutralizeBackground;exports.DesktopContextMenuContext=u.DesktopContextMenuContext;exports.useDesktopContextMenu=u.useDesktopContextMenu;exports.setDatabaseObjectSearchProvider=O.setDatabaseObjectSearchProvider;exports.setSettingsSearchSource=O.setSettingsSearchSource;exports.LISTBOX_OPTION_SELECTOR=l.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=l.MENU_ITEM_SELECTOR;exports.Popover=l.Popover;exports.isPopoverNavigationKey=l.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=l.resolvePopoverFocusForKey;
|
package/dist/overlay/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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, N as O, O as p, S as u, f as T, g as d, h as m, i as D, j as M, k as _, l as A, T as E, m as P, n as v, o as S, p as g, q as F, r as x, s as I, t as C, u as y, v as f, w as R, x as L, y as h, z as N, A as U, B as b, E as G, G as H, H as w, I as W, J as k, K as B } from "../CommandPalette-
|
|
2
|
-
import { A as K, M as Y, c as q, m as X, r as j, a as z, t as J } 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, N as O, O as p, S as u, f as T, g as d, h as m, i as D, j as M, k as _, l as A, T as E, m as P, n as v, o as S, p as g, q as F, r as x, s as I, t as C, u as y, v as f, w as R, x as L, y as h, z as N, A as U, B as b, E as G, G as H, H as w, I as W, J as k, K as B } from "../CommandPalette-D5BzLE0U.js";
|
|
2
|
+
import { A as K, M as Y, c as q, m as X, r as j, a as z, t as J } from "../Modal-DdbgnOMR.js";
|
|
3
3
|
import { O as Z } from "../OverlayScrollArea-c8Za77qs.js";
|
|
4
|
-
import { D as ee, G as ae, P as oe, e as se, a as te, p as re } from "../GuidedTour-
|
|
5
|
-
import { H as ie, T as le, a as ce, c as Oe, d as pe, e as ue, f as Te } from "../format-
|
|
6
|
-
import { C as me, a as De, D as Me, b as _e, W as Ae, c as Ee, d as Pe, t as ve } from "../tooltipCoordinator-
|
|
4
|
+
import { D as ee, G as ae, P as oe, e as se, a as te, p as re } from "../GuidedTour-YUs4zuez.js";
|
|
5
|
+
import { H as ie, T as le, a as ce, c as Oe, d as pe, e as ue, f as Te } from "../format-C46MmwwW.js";
|
|
6
|
+
import { C as me, a as De, D as Me, b as _e, W as Ae, c as Ee, d as Pe, t as ve } from "../tooltipCoordinator-GV0L9lXH.js";
|
|
7
7
|
import { O as ge, r as Fe, s as xe } from "../dialogFocusRestore-DKxaV82N.js";
|
|
8
8
|
import { A as Ce, a as ye, b as fe, O as Re, c as Le, P as he, d as Ne, e as Ue, f as be, g as Ge, h as He, l as we, r as We, i as ke } from "../anchoredLayout-FC-qv8xm.js";
|
|
9
9
|
import { g as Ve, h as Ke, i as Ye, a as qe, b as Xe, n as je, c as ze, d as Je, o as Qe, e as Ze, r as $e, f as ea, j as aa, k as oa, u as sa } from "../overlayStack-ND6EQZlX.js";
|
|
@@ -11,7 +11,7 @@ import { u as ra } from "../useFloatingDropdown-CaQNfmfZ.js";
|
|
|
11
11
|
import { o as ia } from "../ownerWindow-9mx_LD47.js";
|
|
12
12
|
import { m as ca, n as Oa } from "../prefersReducedMotion-B2mMn01s.js";
|
|
13
13
|
import { D as ua, u as Ta } from "../DesktopContextMenuContext-DJ3PnqAv.js";
|
|
14
|
-
import { s as ma, a as Da } from "../settingsSearchContributor-
|
|
14
|
+
import { s as ma, a as Da } from "../settingsSearchContributor-BGImAgsw.js";
|
|
15
15
|
import { L as _a, M as Aa, P as Ea, i as Pa, r as va } from "../Popover-Cg8LZCYo.js";
|
|
16
16
|
export {
|
|
17
17
|
K as ActionPlaceRow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./rendererLogging-
|
|
1
|
+
"use strict";const c=require("./rendererLogging-B4XML4_G.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
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");function M(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 U(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("
|
|
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");function M(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 U(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
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
|
|
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(M(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=U(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 x(t,e){I.onUnexpectedError(t,e)}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 j{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){x(a,{source:"event-listener",...i!==void 0?{registeredAt:i}:{}})}}dispose(){this._disposed||(this._disposed=!0,this._listeners.clear(),this._event=void 0)}}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 N=3;function V(t,e){return e===6?!0:t===0?!1: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){x(r,{source:"dispose"})}this._store.clear()}}}class me extends _e{constructor(r=N){super();u(this,"_level");u(this,"_onDidChangeLogLevel",this._register(new j));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 V(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
4
|
${z(n)}`,r),[n,...r]);return}const s=r[0];if(s instanceof Error){this.log(o.Error,E(`${e}: ${s.message}
|
|
5
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
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}
|
|
@@ -46,7 +46,7 @@ function m(t) {
|
|
|
46
46
|
"[REDACTED-PRIVATE-KEY]"
|
|
47
47
|
), e;
|
|
48
48
|
}
|
|
49
|
-
const J = Symbol.for("
|
|
49
|
+
const J = Symbol.for("vokril.base.bestEffortSink");
|
|
50
50
|
function q() {
|
|
51
51
|
return globalThis;
|
|
52
52
|
}
|
|
@@ -54,7 +54,7 @@ function W(t, e) {
|
|
|
54
54
|
const r = q()[J];
|
|
55
55
|
if (r === void 0)
|
|
56
56
|
throw new Z(
|
|
57
|
-
"base/bestEffort:
|
|
57
|
+
"base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup."
|
|
58
58
|
);
|
|
59
59
|
r(t, e);
|
|
60
60
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ssr as s, ssrAttribute as o, escape as t, createComponent as n, mergeProps as f } from "solid-js/web";
|
|
2
2
|
import { createMemo as p, onMount as k, Show as h, For as S } from "solid-js";
|
|
3
|
-
import { S as w } from "./SearchableSelect-
|
|
4
|
-
import { B as b } from "./Button-
|
|
5
|
-
import { t as r } from "./i18n-
|
|
3
|
+
import { S as w } from "./SearchableSelect-CTDUjMFB.js";
|
|
4
|
+
import { B as b } from "./Button-CHjpZWyZ.js";
|
|
5
|
+
import { t as r } from "./i18n-B_XRSWWN.js";
|
|
6
6
|
import { I as P, P as m } from "./Input-Cxwc5CK4.js";
|
|
7
7
|
import { i as _ } from "./iconScale.module-Cw_Yn8O6.js";
|
|
8
8
|
import { i as B } from "./keys-B2nlkpqc.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("solid-js/web"),c=require("solid-js"),d=require("./SearchableSelect-
|
|
1
|
+
"use strict";const e=require("solid-js/web"),c=require("solid-js"),d=require("./SearchableSelect-T6iS1AYR.cjs"),b=require("./Button-C9c6mzTA.cjs"),n=require("./i18n-DZZyw7Iu.cjs"),u=require("./Input-k-IAQ5Wp.cjs"),v=require("./iconScale.module-BA7n9qSH.cjs"),_=require("./keys-GMxY2wcl.cjs"),m=require("./VpClose-O8jHAcCB.cjs"),S=require("./VpSearch-BqIXmlaU.cjs"),k=require("./bugIndicatingError-D2X5Hfgg.cjs"),C=require("./VpCheck-CGTZXiSk.cjs");function h(t,a){return t<=0?a:String(t)}const f="vk_paginationRow_hg8fj",w="vk_paginationMeta_rPi8N",A="vk_paginationActions_gD2Fz",P="vk_paginationLabel_9x9Ah",B="vk_paginationSelect_h5BcT",$="vk_paginationPage_CYJRF",o={paginationRow:f,paginationMeta:w,paginationActions:A,paginationLabel:P,paginationSelect:B,paginationPage:$};var z=["<div","><span",">","</span><div","><label",">","","</label>","<span",">"," / ","</span>","</div></div>"];function I(t){const a=c.createMemo(()=>{const r=n.t("Unlimited");return t.pageSizeOptions.map(g=>({value:String(g),label:h(g,r)}))});return e.ssr(z,e.ssrAttribute("class",e.escape(o.paginationRow,!0),!1),e.ssrAttribute("class",e.escape(o.paginationMeta,!0),!1),e.escape(n.t("Showing {shown} of {total} items",{shown:t.shownCount(),total:t.totalCount()})),e.ssrAttribute("class",e.escape(o.paginationActions,!0),!1),e.ssrAttribute("class",e.escape(o.paginationLabel,!0),!1),e.escape(n.t("Page size")),e.escape(e.createComponent(d.SearchableSelect,{size:"sm",get class(){return o.paginationSelect},get value(){return String(t.pageSize())},get options(){return a()},onChange:r=>{t.onPageSizeChange(Number(r))},searchable:!1,get ariaLabel(){return n.t("Page size")}})),e.escape(e.createComponent(b.Button,{size:"sm",variant:"secondary",get disabled(){return t.page()<=1},onClick:()=>t.onPageChange(Math.max(1,t.page()-1)),get children(){return n.t("Previous")}})),e.ssrAttribute("class",e.escape(o.paginationPage,!0),!1),e.escape(t.page()),e.escape(t.totalPages()),e.escape(e.createComponent(b.Button,{size:"sm",variant:"secondary",get disabled(){return t.page()>=t.totalPages()},onClick:()=>t.onPageChange(Math.min(t.totalPages(),t.page()+1)),get children(){return n.t("Next")}})))}const O="vk_toolbarBtnActive_UgTBV",q="vk_toolbarSettingsBtn_XXfMz",M="vk_toolbarIcon_0FvlL",i={toolbarBtnActive:O,toolbarSettingsBtn:q,toolbarIcon:M},y="vk_searchRow_2pwXX",R="vk_searchInput_PbDtG",T="vk_clearBtn_upa-E",l={searchRow:y,searchInput:R,clearBtn:T};var L=["<div",">","","</div>"];function V(t){return e.createComponent(u.PressableSurface,{type:"button",get class(){return`${i.toolbarSettingsBtn} ${t.active?i.toolbarBtnActive:""}`},get onClick(){return t.onToggle},get"aria-pressed"(){return t.active},get"aria-label"(){return n.t("Search")},get title(){return n.t("Search")},get children(){return e.createComponent(S.VpSearch,{get class(){return i.toolbarIcon},"aria-hidden":"true"})}})}function x(t){let a;return c.onMount(()=>a==null?void 0:a.focus()),e.ssr(L,e.ssrAttribute("class",e.escape(l.searchRow,!0),!1),e.escape(e.createComponent(u.Input,e.mergeProps({get class(){return l.searchInput},type:"search",size:"sm",get value(){return t.value},onInput:r=>t.onInput(r.currentTarget.value),onKeyDown:r=>{_.isKey(r,"Escape")&&t.onClose()},get placeholder(){return t.placeholder??n.t("Search…")}},()=>t.disabled!==void 0?{disabled:t.disabled}:{}))),e.escape(e.createComponent(c.Show,{get when(){return t.value.length>0},get children(){return e.createComponent(u.PressableSurface,{type:"button",get class(){return l.clearBtn},onClick:()=>t.onInput(""),get"aria-label"(){return n.t("Clear search")},get title(){return n.t("Clear search")},get children(){return e.createComponent(m.VpClose,{get class(){return v.iconScale.iconSm},"aria-hidden":"true"})}})}})))}function F(t,a){const r=`${a}: `;throw new k.BugIndicatingError(`${r}Non-exhaustive switch: unexpected value ${JSON.stringify(t)}`)}const N="vk_grid_uK6pm",E="vk_card_33OV3",K="vk_item_UeZrE",X="vk_label_a-LFz",D="vk_value_9ZQBt",G="vk_valueMono_knknq",J="vk_boolOn_5zd-H",U="vk_boolOff_-6I4K",Z="vk_stacked_2T--a",s={grid:N,card:E,item:K,label:X,value:D,valueMono:G,boolOn:J,boolOff:U,stacked:Z};var p=["<span",">","</span>"],j=['<span class="','">',"</span>"],H=['<div class="','">',"</div>"],Q=["<div","><span",">","</span>","</div>"];function Y(t,a){switch(t.kind){case"text":return e.ssr(p,e.ssrAttribute("class",e.escape(s.value,!0),!1),e.escape(t.value(a)));case"mono":return e.ssr(p,e.ssrAttribute("class",e.escape(s.valueMono,!0),!1),e.escape(t.value(a)));case"bool":return e.ssr(j,`${e.escape(s.value,!0)} ${t.on(a)?e.escape(s.boolOn,!0):e.escape(s.boolOff,!0)}`,t.on(a)?e.escape(e.createComponent(C.VpCheck,{get class(){return v.iconScale.iconSm},"aria-hidden":"true"})):"—");case"custom":return t.render(a);default:return F(t,"AttributeField.kind")}}function W(t){return e.createComponent(c.Show,{get when(){return t.row()!=null},get children(){return e.ssr(H,`${e.escape(s.grid,!0)} ${e.escape(s[t.variant]??"",!0)}`,e.escape(e.createComponent(c.For,{get each(){return t.fields},children:a=>e.ssr(Q,e.ssrAttribute("class",e.escape(s.item,!0),!1),e.ssrAttribute("class",e.escape(s.label,!0),!1),e.escape(a.label),e.escape(Y(a,t.row())))})))}})}exports.AttributeGrid=W;exports.Pagination=I;exports.ToolbarSearchRow=x;exports.ToolbarSearchToggle=V;exports.pageSizeOptionLabel=h;
|
|
@@ -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-DZZyw7Iu.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;
|
|
@@ -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-B_XRSWWN.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,
|