@vokril/ui-solid 0.3.0 → 0.4.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 +28 -0
- package/dist/{AttributeGrid-iOgTCpF7.js → AttributeGrid-BUyv-hUX.js} +3 -3
- package/dist/{AttributeGrid-DgORu6BF.cjs → AttributeGrid-Tk8KJx8e.cjs} +1 -1
- package/dist/{Button-CCm03bSE.js → Button-BZWXPn8y.js} +1 -1
- package/dist/{Button-DntBQ4fM.cjs → Button-X8QR6llv.cjs} +1 -1
- package/dist/{CommandPalette-CF0B1C8k.cjs → CommandPalette-CIAqAbBE.cjs} +2 -2
- package/dist/{CommandPalette-DiCgZhOV.js → CommandPalette-l_vmlEnR.js} +134 -130
- package/dist/{CopyButton-BxwyIJxL.cjs → CopyButton-3cX5MHAf.cjs} +1 -1
- package/dist/{CopyButton-ClqxiGPb.js → CopyButton-D3dIRRnn.js} +1 -1
- package/dist/{DateRangePicker-dLlHJR71.cjs → DateRangePicker-CHrwr34H.cjs} +1 -1
- package/dist/{DateRangePicker-Qho0OzUE.js → DateRangePicker-jnZfDhQA.js} +3 -3
- package/dist/{GuidedTour-C6Na3wqL.js → GuidedTour-Be7OITLu.js} +2836 -2785
- package/dist/GuidedTour-CTHXtWoK.cjs +21 -0
- package/dist/{IconPicker-CO5TWhFx.js → IconPicker-BxofGXCS.js} +3 -3
- package/dist/{IconPicker-BreG8jKY.cjs → IconPicker-C_gAGvo0.cjs} +1 -1
- package/dist/{Modal-BqajyLjD.cjs → Modal-BSSY6C3D.cjs} +1 -1
- package/dist/{Modal-DdbgnOMR.js → Modal-BmtEt5Yo.js} +2 -2
- package/dist/{PageSkeleton-DfLEHkrh.js → PageSkeleton-CyTXvZYm.js} +4 -4
- package/dist/{PageSkeleton-VbWHl878.cjs → PageSkeleton-DzKYTuNy.cjs} +1 -1
- package/dist/{SearchableSelect-D6yjIQO1.cjs → SearchableSelect-9pgcO5JS.cjs} +1 -1
- package/dist/{SearchableSelect-CBpLrNvW.js → SearchableSelect-ByCRBEZI.js} +2 -2
- package/dist/{StatusBarNotificationBell-CGW8eLXe.cjs → StatusBarNotificationBell-jmfcQw6Y.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-DUiOZ0m5.js → StatusBarNotificationBell-k_Ol9XDW.js} +6 -6
- package/dist/Stepper-C3dnwwiV.cjs +1 -0
- package/dist/{Stepper-CrXi8mfh.js → Stepper-CrTxBpDL.js} +137 -137
- package/dist/{TimeSeriesChart-BzzqarqB.cjs → TimeSeriesChart-CS4jQflv.cjs} +1 -1
- package/dist/{TimeSeriesChart-D18yHUrf.js → TimeSeriesChart-DBrDzBGE.js} +1 -1
- package/dist/{ToggleButton-l1cEdv9w.cjs → ToggleButton-CFvMUndy.cjs} +1 -1
- package/dist/{ToggleButton-BiEKoA4q.js → ToggleButton-DBWFnm_R.js} +4 -4
- package/dist/_internal/app/keybindings/index.d.cts +4 -0
- package/dist/_internal/app/keybindings/index.d.ts +4 -0
- package/dist/{catalogNotify-B6x3enJ5.cjs → catalogNotify-C9RzbC6x.cjs} +1 -1
- package/dist/{catalogNotify-CcaMBipB.js → catalogNotify-CIhFuJ1b.js} +1 -1
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/{createResizableSidebar-_yb33Qli.cjs → createResizableSidebar-DVATOkMf.cjs} +1 -1
- package/dist/{createResizableSidebar-onQNGhy_.js → createResizableSidebar-uf_OJsjO.js} +3 -3
- package/dist/{server/de-Cim4IGZg.js → de-CEltsqV5.js} +1 -0
- package/dist/{server/de-B5MOZZDV.cjs → de-DRobPEJV.cjs} +1 -1
- package/dist/{descriptor-DxSLz4-c.js → descriptor-B1MaujhY.js} +1 -1
- package/dist/{descriptor-7e-M9YCk.cjs → descriptor-lw1fA9mi.cjs} +1 -1
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +28 -28
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +2 -2
- package/dist/{format-C46MmwwW.js → format-Dd946oS-.js} +1 -1
- package/dist/{format-Cy7RJpYG.cjs → format-aHRZi12I.cjs} +1 -1
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +7 -7
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.js +3 -3
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/messageKeys.d.cts +1 -1
- package/dist/i18n/messageKeys.d.ts +1 -1
- package/dist/{i18n-DZZyw7Iu.cjs → i18n-B9ccWgcR.cjs} +1 -1
- package/dist/{server/i18n-B_XRSWWN.js → i18n-CYq-dVvv.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +362 -358
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- 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 +57 -53
- package/dist/notifications/notificationCommands.d.cts +14 -5
- package/dist/notifications/notificationCommands.d.ts +14 -5
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.js +5 -5
- package/dist/server/{AttributeGrid-Cz49ZLQJ.cjs → AttributeGrid-CSidAjfz.cjs} +1 -1
- package/dist/server/{AttributeGrid-Bq6AC927.js → AttributeGrid-D6b2qQS9.js} +3 -3
- package/dist/server/{Button-CHjpZWyZ.js → Button-BhqhjFpY.js} +1 -1
- package/dist/server/{Button-C9c6mzTA.cjs → Button-CFOM8pOv.cjs} +1 -1
- package/dist/server/{CommandPalette-Dq-wVRJf.js → CommandPalette-9dL9DSG8.js} +126 -122
- package/dist/server/{CommandPalette-CklLeIaO.cjs → CommandPalette-Q296oZjU.cjs} +1 -1
- package/dist/server/{CopyButton-C3AnCUW9.cjs → CopyButton-C2jzn9tR.cjs} +1 -1
- package/dist/server/{CopyButton-DOeXnVFC.js → CopyButton-CChDa2p3.js} +1 -1
- package/dist/server/{DateRangePicker-tEwswamx.js → DateRangePicker-BK2Ul2uy.js} +2 -2
- package/dist/server/{DateRangePicker-BZIjmD5b.cjs → DateRangePicker-s-I_rNUK.cjs} +1 -1
- package/dist/server/GuidedTour-BW95cjPT.cjs +20 -0
- package/dist/server/{GuidedTour-CC3huRhY.js → GuidedTour-DW5y5xkJ.js} +2290 -2239
- package/dist/server/{IconPicker-tGQ6T_7R.js → IconPicker-BCUZcq-i.js} +3 -3
- package/dist/server/{IconPicker-DpsgVG2H.cjs → IconPicker-Bw8tZjCl.cjs} +1 -1
- package/dist/server/{Modal-C4E01jt8.js → Modal-CM54uXRu.js} +2 -2
- package/dist/server/{Modal-w2CtUJ-g.cjs → Modal-R86Fb2mX.cjs} +1 -1
- package/dist/server/{PageSkeleton-BIoewFZz.js → PageSkeleton-Bpgep9QW.js} +4 -4
- package/dist/server/{PageSkeleton-t1PiXgcp.cjs → PageSkeleton-KwYRrZua.cjs} +1 -1
- package/dist/server/{SearchableSelect-CTDUjMFB.js → SearchableSelect-Cog_rb31.js} +2 -2
- package/dist/server/{SearchableSelect-T6iS1AYR.cjs → SearchableSelect-fofn1Bjg.cjs} +1 -1
- package/dist/server/{StatusBarNotificationBell-DSuT1si2.cjs → StatusBarNotificationBell-BolKvDik.cjs} +1 -1
- package/dist/server/{StatusBarNotificationBell-Cg9Zomfn.js → StatusBarNotificationBell-BqPU9Shw.js} +5 -5
- package/dist/server/{Stepper-Il_NS3YQ.js → Stepper-BdOBuNco.js} +1 -1
- package/dist/server/{Stepper-CZ695tkt.cjs → Stepper-DqwKOszc.cjs} +1 -1
- package/dist/server/{TimeSeriesChart-CWxwWo-G.js → TimeSeriesChart-C1LbL_xp.js} +1 -1
- package/dist/server/{TimeSeriesChart-Cjpjciv2.cjs → TimeSeriesChart-DtldQrxS.cjs} +1 -1
- package/dist/server/{ToggleButton-D7Qu7T2P.js → ToggleButton-B0YuAGY4.js} +3 -3
- package/dist/server/{ToggleButton-CXwvg-Hr.cjs → ToggleButton-CbX1kbpI.cjs} +1 -1
- package/dist/server/{catalogNotify-CTZ3DSTN.cjs → catalogNotify-BPPTINme.cjs} +1 -1
- package/dist/server/{catalogNotify-Dnyfrb-0.js → catalogNotify-mUcKuUmZ.js} +1 -1
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{createResizableSidebar-CBSfZVJk.js → createResizableSidebar-BfTFOM7v.js} +3 -3
- package/dist/server/{createResizableSidebar-rfcmiXuS.cjs → createResizableSidebar-D28fY_SX.cjs} +1 -1
- package/dist/{de-Cim4IGZg.js → server/de-CEltsqV5.js} +1 -0
- package/dist/{de-B5MOZZDV.cjs → server/de-DRobPEJV.cjs} +1 -1
- package/dist/server/{descriptor-CqLXoy2i.js → descriptor-DWkJAggS.js} +1 -1
- package/dist/server/{descriptor-BXVyZiT7.cjs → descriptor-IJq9wdXK.cjs} +1 -1
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +2 -2
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +2 -2
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +6 -6
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +3 -3
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/server/{i18n-DZZyw7Iu.cjs → i18n-B9ccWgcR.cjs} +1 -1
- package/dist/{i18n-B_XRSWWN.js → server/i18n-CYq-dVvv.js} +2 -2
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +661 -657
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +2 -2
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +57 -53
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +4 -4
- package/dist/server/{settingsSearchContributor-BHsOfue1.cjs → settingsSearchContributor-DZj7Wc8l.cjs} +1 -1
- package/dist/server/{settingsSearchContributor-xo70xEuW.js → settingsSearchContributor-DeMn-njw.js} +1 -1
- package/dist/{tr-MCRQ-3Mn.cjs → server/tr-BDbiY5YD.cjs} +1 -1
- package/dist/{tr-DlpnmKv6.js → server/tr-CxuAFkCi.js} +1 -0
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/{settingsSearchContributor-Ba4vBBmO.js → settingsSearchContributor-C-UJc7Xc.js} +1 -1
- package/dist/{settingsSearchContributor-CYWXZV0b.cjs → settingsSearchContributor-Du0SDpJt.cjs} +1 -1
- package/dist/solid/desktop/menu/MenuBar.jsx +2 -1
- package/dist/solid/i18n/locales/de.json +1 -0
- package/dist/solid/i18n/locales/tr.json +1 -0
- package/dist/solid/navigation/Tabs.jsx +5 -0
- package/dist/solid/notifications/NotificationHost.jsx +36 -10
- package/dist/solid/notifications/index.js +1 -0
- package/dist/solid/notifications/notificationCommands.js +55 -17
- package/dist/solid/overlay/command-palette/CommandPalette.jsx +2 -1
- package/dist/style.css +1 -1
- package/dist/{server/tr-MCRQ-3Mn.cjs → tr-BDbiY5YD.cjs} +1 -1
- package/dist/{server/tr-DlpnmKv6.js → tr-CxuAFkCi.js} +1 -0
- 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/GuidedTour-DzQoun_d.cjs +0 -21
- package/dist/Stepper-B_nRDFxN.cjs +0 -1
- package/dist/server/GuidedTour-Dik03Ffv.cjs +0 -20
package/dist/desktop/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import { createComponent as f, use as oe, insert as _, effect as $, className as
|
|
|
2
2
|
import { createSignal as H, createMemo as U, onMount as ie, onCleanup as ae, Show as L, For as fe } from "solid-js";
|
|
3
3
|
import { I as be, P as N } from "../Input-BqiQPUxA.js";
|
|
4
4
|
import { a as ke } from "../HostWindowContext-KL4U1qUv.js";
|
|
5
|
-
import { H as
|
|
6
|
-
import { t as I } from "../i18n-
|
|
5
|
+
import { H as Tt, u as Dt } from "../HostWindowContext-KL4U1qUv.js";
|
|
6
|
+
import { t as I } from "../i18n-CYq-dVvv.js";
|
|
7
7
|
import { i as _e, b as Ce, a as $e, c as pe } from "../menuFavorites-Db1DpHX6.js";
|
|
8
8
|
import { r as Ft } from "../menuFavorites-Db1DpHX6.js";
|
|
9
9
|
import { c as Ot, r as Ht, a as Kt } from "../displayOwner-B_ezJv-O.js";
|
|
@@ -16,10 +16,10 @@ const Ie = 500;
|
|
|
16
16
|
function Le(n) {
|
|
17
17
|
return n.ctrlKey || n.metaKey || n.altKey || n.key.length !== 1 ? !1 : n.key !== " ";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Pe(n, a, d, b, c = Ie) {
|
|
20
20
|
return b - a > c ? d.toLowerCase() : n + d.toLowerCase();
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Te(n, a, d) {
|
|
23
23
|
if (a.length === 0 || n.length === 0) return -1;
|
|
24
24
|
const b = [...a].every((k) => k === a[0]), c = b ? a[0] ?? "" : a, m = b ? d : d - 1, v = n.length;
|
|
25
25
|
for (let k = 1; k <= v; k += 1) {
|
|
@@ -55,7 +55,7 @@ const tt = 8, nt = 80, rt = 160;
|
|
|
55
55
|
function he(n) {
|
|
56
56
|
const [a, d] = H(null), [b, c] = H(null), [m, v] = H(-1), [k, C] = H(""), [M, h] = H(null);
|
|
57
57
|
let K, A;
|
|
58
|
-
const
|
|
58
|
+
const P = [];
|
|
59
59
|
let q = null, R = null;
|
|
60
60
|
const X = U(() => ot(n.items)), Z = U(() => X().some((r) => r.kind === "item" && r.checked !== void 0)), Q = U(() => {
|
|
61
61
|
const r = n.searchScope;
|
|
@@ -63,7 +63,7 @@ function he(n) {
|
|
|
63
63
|
}), z = U(() => {
|
|
64
64
|
const r = X(), i = k().trim().toLowerCase();
|
|
65
65
|
return i ? n.searchScope === "global" && n.globalEntries ? n.globalEntries().filter((u) => u.label.toLowerCase().includes(i)) : n.searchScope === "local" ? r.filter((e) => e.kind === "separator" ? !1 : e.label.toLowerCase().includes(i)) : r : r;
|
|
66
|
-
}),
|
|
66
|
+
}), T = (r, i) => {
|
|
67
67
|
const e = z();
|
|
68
68
|
if (e.length === 0) return -1;
|
|
69
69
|
const u = e.length;
|
|
@@ -76,7 +76,7 @@ function he(n) {
|
|
|
76
76
|
return -1;
|
|
77
77
|
}, O = (r) => {
|
|
78
78
|
v(r);
|
|
79
|
-
const i =
|
|
79
|
+
const i = P[r];
|
|
80
80
|
i && i.focus({
|
|
81
81
|
preventScroll: !1
|
|
82
82
|
});
|
|
@@ -124,31 +124,31 @@ function he(n) {
|
|
|
124
124
|
switch (ye(r)) {
|
|
125
125
|
case "ArrowDown": {
|
|
126
126
|
r.preventDefault();
|
|
127
|
-
const e =
|
|
127
|
+
const e = T(m(), 1);
|
|
128
128
|
e >= 0 && O(e);
|
|
129
129
|
break;
|
|
130
130
|
}
|
|
131
131
|
case "ArrowUp": {
|
|
132
132
|
r.preventDefault();
|
|
133
|
-
const e =
|
|
133
|
+
const e = T(m() < 0 ? 0 : m(), -1);
|
|
134
134
|
e >= 0 && O(e);
|
|
135
135
|
break;
|
|
136
136
|
}
|
|
137
137
|
case "Home": {
|
|
138
138
|
r.preventDefault();
|
|
139
|
-
const e =
|
|
139
|
+
const e = T(-1, 1);
|
|
140
140
|
e >= 0 && O(e);
|
|
141
141
|
break;
|
|
142
142
|
}
|
|
143
143
|
case "End": {
|
|
144
144
|
r.preventDefault();
|
|
145
|
-
const e =
|
|
145
|
+
const e = T(0, -1);
|
|
146
146
|
e >= 0 && O(e);
|
|
147
147
|
break;
|
|
148
148
|
}
|
|
149
149
|
case "Enter": {
|
|
150
150
|
if (k().trim() && m() < 0) {
|
|
151
|
-
const e =
|
|
151
|
+
const e = T(-1, 1);
|
|
152
152
|
if (e >= 0) {
|
|
153
153
|
r.preventDefault();
|
|
154
154
|
const u = z()[e];
|
|
@@ -164,7 +164,7 @@ function he(n) {
|
|
|
164
164
|
case "ArrowRight": {
|
|
165
165
|
const e = m();
|
|
166
166
|
if (e < 0) break;
|
|
167
|
-
const u = i[e], s =
|
|
167
|
+
const u = i[e], s = P[e];
|
|
168
168
|
u && u.kind === "submenu" && s && (r.preventDefault(), w(u, s));
|
|
169
169
|
break;
|
|
170
170
|
}
|
|
@@ -175,9 +175,9 @@ function he(n) {
|
|
|
175
175
|
default: {
|
|
176
176
|
const e = r.target;
|
|
177
177
|
if (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || !Le(r)) break;
|
|
178
|
-
const u = Date.now(), s =
|
|
178
|
+
const u = Date.now(), s = Pe(Y, ee, r.key, u);
|
|
179
179
|
Y = s, ee = u;
|
|
180
|
-
const W = i.map((se) => se.kind === "separator" ? null : se.label), j =
|
|
180
|
+
const W = i.map((se) => se.kind === "separator" ? null : se.label), j = Te(W, s, m());
|
|
181
181
|
j >= 0 && (r.preventDefault(), O(j));
|
|
182
182
|
break;
|
|
183
183
|
}
|
|
@@ -246,7 +246,7 @@ function he(n) {
|
|
|
246
246
|
})() : e.kind === "submenu" ? f(N, {
|
|
247
247
|
type: "button",
|
|
248
248
|
ref: (s) => {
|
|
249
|
-
|
|
249
|
+
P[u()] = s ?? null;
|
|
250
250
|
},
|
|
251
251
|
get class() {
|
|
252
252
|
return `${g.row} ${g.rowSubmenu}`;
|
|
@@ -276,7 +276,7 @@ function he(n) {
|
|
|
276
276
|
}) : f(N, {
|
|
277
277
|
type: "button",
|
|
278
278
|
ref: (s) => {
|
|
279
|
-
|
|
279
|
+
P[u()] = s ?? null;
|
|
280
280
|
},
|
|
281
281
|
get class() {
|
|
282
282
|
return `${g.row} ${e.enabled ? "" : g.rowDisabled}`;
|
|
@@ -478,14 +478,14 @@ function St(n) {
|
|
|
478
478
|
}, A = (t) => {
|
|
479
479
|
const o = K(t);
|
|
480
480
|
o && d(o);
|
|
481
|
-
},
|
|
481
|
+
}, P = () => {
|
|
482
482
|
var o, l;
|
|
483
483
|
const t = ((o = a()) == null ? void 0 : o.groupId) ?? null;
|
|
484
484
|
d(null), k.restore() || it(t, v), (l = n.onClose) == null || l.call(n);
|
|
485
485
|
}, q = (t) => {
|
|
486
486
|
const o = a();
|
|
487
487
|
if ((o == null ? void 0 : o.groupId) === t) {
|
|
488
|
-
|
|
488
|
+
P();
|
|
489
489
|
return;
|
|
490
490
|
}
|
|
491
491
|
A(t);
|
|
@@ -495,10 +495,10 @@ function St(n) {
|
|
|
495
495
|
}, X = (t) => {
|
|
496
496
|
if (!a()) return;
|
|
497
497
|
const o = t.target;
|
|
498
|
-
o && (m != null && m.contains(o) || o instanceof HTMLElement && o.closest('[role="menu"]') ||
|
|
498
|
+
o && (m != null && m.contains(o) || o instanceof HTMLElement && o.closest('[role="menu"]') || P());
|
|
499
499
|
}, Z = (t) => {
|
|
500
500
|
var o;
|
|
501
|
-
if (t.altKey && !t.ctrlKey && !t.metaKey && !t.shiftKey && t.key.length === 1) {
|
|
501
|
+
if (!t.defaultPrevented && t.altKey && !t.ctrlKey && !t.metaKey && !t.shiftKey && t.key.length === 1) {
|
|
502
502
|
const l = t.target;
|
|
503
503
|
if (!(l instanceof HTMLElement && (l.tagName === "INPUT" || l.tagName === "TEXTAREA" || l.tagName === "SELECT" || l.isContentEditable))) {
|
|
504
504
|
const y = t.key.toLowerCase(), S = C().filter((E) => M(E) === y);
|
|
@@ -512,7 +512,7 @@ function St(n) {
|
|
|
512
512
|
}
|
|
513
513
|
if (a()) {
|
|
514
514
|
if (B(t, "Escape")) {
|
|
515
|
-
t.preventDefault(),
|
|
515
|
+
t.preventDefault(), P();
|
|
516
516
|
return;
|
|
517
517
|
}
|
|
518
518
|
if (B(t, "ArrowLeft") || B(t, "ArrowRight")) {
|
|
@@ -530,16 +530,16 @@ function St(n) {
|
|
|
530
530
|
}, z = (t) => {
|
|
531
531
|
t.altKey || c(!1);
|
|
532
532
|
};
|
|
533
|
-
let
|
|
533
|
+
let T = null;
|
|
534
534
|
ie(() => {
|
|
535
535
|
const t = Se(m);
|
|
536
|
-
if (
|
|
536
|
+
if (T = t, t.addEventListener("pointerdown", X), t.addEventListener("keydown", Z), t.addEventListener("keydown", Q), t.addEventListener("keyup", z), n.autoOpenFirst) {
|
|
537
537
|
const o = C()[0];
|
|
538
538
|
o && queueMicrotask(() => A(o.id));
|
|
539
539
|
}
|
|
540
540
|
}), ae(() => {
|
|
541
|
-
const t =
|
|
542
|
-
t && (t.removeEventListener("pointerdown", X), t.removeEventListener("keydown", Z), t.removeEventListener("keydown", Q), t.removeEventListener("keyup", z),
|
|
541
|
+
const t = T;
|
|
542
|
+
t && (t.removeEventListener("pointerdown", X), t.removeEventListener("keydown", Z), t.removeEventListener("keydown", Q), t.removeEventListener("keyup", z), T = null), c(!1);
|
|
543
543
|
});
|
|
544
544
|
const O = U(() => {
|
|
545
545
|
const t = a();
|
|
@@ -620,7 +620,7 @@ function St(n) {
|
|
|
620
620
|
top: o.top
|
|
621
621
|
};
|
|
622
622
|
},
|
|
623
|
-
onClose:
|
|
623
|
+
onClose: P,
|
|
624
624
|
searchScope: l
|
|
625
625
|
}, l === "global" ? {
|
|
626
626
|
globalEntries: G
|
|
@@ -725,7 +725,7 @@ function It(n = {}) {
|
|
|
725
725
|
});
|
|
726
726
|
}
|
|
727
727
|
export {
|
|
728
|
-
|
|
728
|
+
Tt as HostWindowProvider,
|
|
729
729
|
St as MenuBar,
|
|
730
730
|
he as MenuPanel,
|
|
731
731
|
It as WindowControls,
|
package/dist/feedback/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../mainRealmDom-DijAgSXt.cjs"),e=require("../PageSkeleton-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../mainRealmDom-DijAgSXt.cjs"),e=require("../PageSkeleton-DzKYTuNy.cjs"),t=require("../Button-X8QR6llv.cjs"),a=require("../Kbd-BDZklpw9.cjs"),o=require("../Progress-BNy0wsJl.cjs"),i=require("../EmptyState-B9TxGJ5v.cjs");exports.Badge=r.Badge;exports.Alert=e.Alert;exports.AppErrorBoundary=e.AppErrorBoundary;exports.Avatar=e.Avatar;exports.Chip=e.Chip;exports.CircularProgress=e.CircularProgress;exports.CodeBlock=e.CodeBlock;exports.InlineError=e.InlineError;exports.Loader=e.Loader;exports.PageSkeleton=e.PageSkeleton;exports.RowCapNotice=e.RowCapNotice;exports.Skeleton=e.Skeleton;exports.StatusBadge=e.StatusBadge;exports.StatusDot=e.StatusDot;exports.StatusGate=e.StatusGate;exports.createDeferredBusy=e.createDeferredBusy;exports.createPreference=e.createPreference;exports.guidedInstallFailure=e.guidedInstallFailure;exports.isReadUnavailableKind=e.isReadUnavailableKind;exports.preferenceNotSaved=e.preferenceNotSaved;exports.readFailureText=e.readFailureText;exports.readUnavailability=e.readUnavailability;exports.rowCapNoticeText=e.rowCapNoticeText;exports.statusBadgeTone=e.statusBadgeTone;exports.unavailableMessage=e.unavailableMessage;exports.unavailableText=e.unavailableText;exports.Spinner=t.Spinner;exports.Kbd=a.Kbd;exports.describeChordAriaLabel=a.describeChordAriaLabel;exports.normalizeKeySymbol=a.normalizeKeySymbol;exports.parseShortcut=a.parseShortcut;exports.parseSingleChord=a.parseSingleChord;exports.Progress=o.Progress;exports.EmptyState=i.EmptyState;
|
package/dist/feedback/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as s } from "../mainRealmDom-COGBiX78.js";
|
|
2
|
-
import { A as t, a as o, b as l, C as i, c as d, d as n, I as p, L as u, P as S, R as c, S as f, e as g, f as m, g as b, h as x, i as C, j as B, k as v, p as y, r as P, l as h, m as A, s as k, u as E, n as K } from "../PageSkeleton-
|
|
3
|
-
import { S as I } from "../Button-
|
|
2
|
+
import { A as t, a as o, b as l, C as i, c as d, d as n, I as p, L as u, P as S, R as c, S as f, e as g, f as m, g as b, h as x, i as C, j as B, k as v, p as y, r as P, l as h, m as A, s as k, u as E, n as K } from "../PageSkeleton-CyTXvZYm.js";
|
|
3
|
+
import { S as I } from "../Button-BZWXPn8y.js";
|
|
4
4
|
import { K as N, d as R, n as w, p as D, a as F } from "../Kbd-DF6Tvp8V.js";
|
|
5
5
|
import { P as j } from "../Progress-B5YmNeyU.js";
|
|
6
6
|
import { E as G } from "../EmptyState-Dph6HU74.js";
|
|
@@ -7,7 +7,7 @@ import { K as le } from "./Kbd-DF6Tvp8V.js";
|
|
|
7
7
|
import { t as b } from "./tooltipCoordinator-GV0L9lXH.js";
|
|
8
8
|
import { i as ae } from "./keys-Bfgdfak_.js";
|
|
9
9
|
import { n as se } from "./prefersReducedMotion-B2mMn01s.js";
|
|
10
|
-
import { r as ce, t as de } from "./Modal-
|
|
10
|
+
import { r as ce, t as de } from "./Modal-BmtEt5Yo.js";
|
|
11
11
|
const ue = "vk_root_w-T1s", ve = "vk_disabled_kl1Jx", he = "vk_box_mOCAD", me = "vk_checked_YZgPy", fe = "vk_control_748Lw", ge = "vk_input_Ysj9i", be = "vk_indicator_lYKVu", Te = "vk_label_jB-PM", y = {
|
|
12
12
|
root: ue,
|
|
13
13
|
disabled: ve,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("solid-js/web"),K=require("./Input-BrxV_Xcb.cjs"),u=require("solid-js"),P=require("./dialogFocusRestore-BAF8QM6v.cjs"),I=require("./windowRegistry-CGvOBUsw.cjs"),j=require("./Kbd-BDZklpw9.cjs"),_=require("./tooltipCoordinator-y5YP3tsJ.cjs"),G=require("./keys-BeeC5_RZ.cjs"),J=require("./prefersReducedMotion-BQp-Q4UR.cjs"),M=require("./Modal-
|
|
1
|
+
"use strict";const t=require("solid-js/web"),K=require("./Input-BrxV_Xcb.cjs"),u=require("solid-js"),P=require("./dialogFocusRestore-BAF8QM6v.cjs"),I=require("./windowRegistry-CGvOBUsw.cjs"),j=require("./Kbd-BDZklpw9.cjs"),_=require("./tooltipCoordinator-y5YP3tsJ.cjs"),G=require("./keys-BeeC5_RZ.cjs"),J=require("./prefersReducedMotion-BQp-Q4UR.cjs"),M=require("./Modal-BSSY6C3D.cjs"),Q="vk_root_w-T1s",Z="vk_disabled_kl1Jx",ee="vk_box_mOCAD",te="vk_checked_YZgPy",oe="vk_control_748Lw",ie="vk_input_Ysj9i",ne="vk_indicator_lYKVu",re="vk_label_jB-PM",p={root:Q,disabled:Z,box:ee,checked:te,control:oe,input:ie,indicator:ne,label:re};function W(e,r,l,c,a,...h){const v=[];e&&v.push(e),c&&r&&v.push(r),a&&l&&v.push(l);for(const o of h)o!==void 0&&o!==""&&v.push(o);return v.join(" ")}var le=t.template("<span>"),ae=t.template("<label><span><input type=checkbox><span aria-hidden=true><span>");function se(e){const r=K.useFormFieldAria();return(()=>{var l=ae(),c=l.firstChild,a=c.firstChild,h=a.nextSibling,v=h.firstChild;return a.addEventListener("change",o=>{const m=o.currentTarget;e.onChange(m.checked),m.indeterminate=!!e.indeterminate}),t.use(o=>u.createRenderEffect(()=>{o.indeterminate=!!e.indeterminate}),a),t.insert(l,t.createComponent(u.Show,{get when(){return e.children!==void 0},get children(){var o=le();return t.insert(o,()=>e.children),t.effect(()=>t.className(o,p.label)),o}}),null),t.effect(o=>{var m=W(p.root,p.checked,p.disabled,e.checked||!!e.indeterminate,!!e.disabled,e.class),d=p.control,w=e.id,f=`${p.input} ${e.inputClass??""}`,O=e.disabled,y=r==null?void 0:r.describedBy(),g=e.ariaLabel,S=e.ariaLabelledBy,C=`${p.box} ${e.boxClass??""}`,T=p.indicator;return m!==o.e&&t.className(l,o.e=m),d!==o.t&&t.className(c,o.t=d),w!==o.a&&t.setAttribute(a,"id",o.a=w),f!==o.o&&t.className(a,o.o=f),O!==o.i&&(a.disabled=o.i=O),y!==o.n&&t.setAttribute(a,"aria-describedby",o.n=y),g!==o.s&&t.setAttribute(a,"aria-label",o.s=g),S!==o.h&&t.setAttribute(a,"aria-labelledby",o.h=S),C!==o.r&&t.className(h,o.r=C),T!==o.d&&t.className(v,o.d=T),o},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0}),t.effect(()=>a.checked=e.checked),l})()}const ce="vk_trigger_--BjF",de="vk_tooltip_eJQhN",ue="vk_hostTooltip_vLrNc",he="vk_tooltipInner_AyPkl",k={trigger:ce,tooltip:de,hostTooltip:ue,tooltipInner:he},Y=12,R=16,E=8,H=620;function N(e){const r=e.tooltipWidth??H,l=e.tooltipWidth===void 0?e.viewportWidth:e.viewportWidth-E,c=Math.min(e.pointerX+Y,l-r),a=Math.max(E,c),h=e.pointerY+R,v=e.tooltipHeight??0,o=e.viewportHeight===void 0?h:Math.max(E,e.viewportHeight-v-E),m=e.aboveY===void 0?h:e.aboveY-v-R,d=e.viewportHeight!==void 0&&h>o?Math.max(E,Math.min(m,o)):Math.max(E,Math.min(h,o));return{left:a,top:d}}var ve=t.template("<span>"),me=t.template("<div><span>"),fe=t.template("<div role=tooltip>");const ge=1e3,Te=180;function be(e){const r=u.createUniqueId(),[l,c]=u.createSignal(!1),[a,h]=u.createSignal({x:0,y:0}),[v,o]=u.createSignal(),[m,d]=u.createSignal({width:0,height:0}),[w,f]=u.createSignal(!1);let O,y,g,S;const C=()=>I.getWindow(g),T=()=>{O!==void 0&&(C().clearTimeout(O),O=void 0)},L=()=>{y!==void 0&&(C().clearTimeout(y),y=void 0)},x=()=>{L(),y=C().setTimeout(()=>{c(!1),_.tooltipCoordinator.recordTooltipHidden()},Te)},$=i=>{if(!e.content)return;L();const n=i.clientX,s=i.clientY;T(),_.tooltipCoordinator.activeTooltip()&&_.tooltipCoordinator.hideTooltip();const b=_.tooltipCoordinator.isWarm()?0:e.delayMs??ge;O=C().setTimeout(()=>{h({x:n,y:s}),o(s),c(!0),_.tooltipCoordinator.recordTooltipShown()},b)},q=i=>{l()||h({x:i.clientX,y:i.clientY})},B=()=>{T(),l()&&x()},X=()=>{L()},U=()=>{x()},V=()=>{if(!e.content)return;L(),T(),_.tooltipCoordinator.activeTooltip()&&_.tooltipCoordinator.hideTooltip();const i=g==null?void 0:g.getBoundingClientRect();i&&(h({x:i.left,y:i.bottom}),o(i.top)),c(!0),_.tooltipCoordinator.recordTooltipShown()},z=()=>{T(),l()&&x()};return u.createEffect(()=>{_.tooltipCoordinator.activeTooltip()&&l()&&(c(!1),T())}),u.createEffect(()=>{if(!l())return;const i=()=>{c(!1)},n=b=>{G.isKey(b,"Escape")&&(b.stopPropagation(),b.stopImmediatePropagation(),T(),c(!1),_.tooltipCoordinator.dismissAll())},s=I.getWindow(g);s.addEventListener("scroll",i,!0),s.addEventListener("resize",i),s.addEventListener("keydown",n,!0),u.onCleanup(()=>{s.removeEventListener("scroll",i,!0),s.removeEventListener("resize",i),s.removeEventListener("keydown",n,!0)})}),u.onCleanup(()=>{T(),L()}),[(()=>{var i=ve();return i.$$focusout=z,i.$$focusin=V,i.addEventListener("mouseleave",B),i.$$mousemove=q,i.addEventListener("mouseenter",$),t.use(n=>{g=n;const s=n.querySelector('button, a[href], input, select, textarea, [tabindex]:not([tabindex="-1"])');f(s!==null)},i),t.insert(i,()=>e.children),t.effect(n=>{var s=k.trigger,b=w()?void 0:0,F=l()?r:void 0;return s!==n.e&&t.className(i,n.e=s),b!==n.t&&t.setAttribute(i,"tabindex",n.t=b),F!==n.a&&t.setAttribute(i,"aria-describedby",n.a=F),n},{e:void 0,t:void 0,a:void 0}),i})(),t.createComponent(u.Show,{get when(){return t.memo(()=>!!l())()&&e.content},get children(){return t.createComponent(P.OverlayPortal,{type:"tooltip",get mount(){return I.getWindow(g).document.body},element:()=>S,idPrefix:"hover-tooltip",get children(){var i=fe();return i.addEventListener("mouseleave",U),i.addEventListener("mouseenter",X),t.use(n=>{S=n;const s=n.getBoundingClientRect();d({width:s.width,height:s.height})},i),t.setAttribute(i,"id",r),t.insert(i,t.createComponent(u.Show,{get when(){return e.shortcut},get fallback(){return e.content},get children(){var n=me(),s=n.firstChild;return t.insert(s,()=>e.content),t.insert(n,t.createComponent(j.Kbd,{size:"xs",get shortcut(){return e.shortcut}}),null),t.effect(()=>t.className(n,k.tooltipInner)),n}})),t.effect(n=>{var s=k.tooltip,b=(()=>{const F=v(),D=N({pointerX:a().x,pointerY:a().y,viewportWidth:C().innerWidth,viewportHeight:C().innerHeight,tooltipWidth:m().width,tooltipHeight:m().height,...F!==void 0?{aboveY:F}:{}});return{top:`${D.top}px`,left:`${D.left}px`}})();return s!==n.e&&t.className(i,n.e=s),n.t=t.style(i,b,n.t),n},{e:void 0,t:void 0}),i}})}})]}t.delegateEvents(["mousemove","focusin","focusout"]);function _e(e){let r=null,l=null,c=null,a=null;const h=()=>{var d;a!==null&&((d=e.ownerDocument().defaultView)==null||d.cancelAnimationFrame(a),a=null)},v=()=>{h(),c==null||c(),c=null},o=d=>{r=d,l??(l=e.ownerDocument().activeElement)};u.createEffect(u.on(()=>e.open(),(d,w)=>{if(d){r!==null&&c===null&&(c=J.neutralizeBackground(r)),h();const f=e.ownerDocument().defaultView;r!==null&&f!==null&&(a=f.requestAnimationFrame(()=>{a=null,e.open()&&(r==null||r.focus())}));return}w===!0&&(v(),P.restoreFocusTo(l),l=null,r=null)}));const m=d=>{var f;const w=M.resolveDialogShellKeyIntent(d.key,{confirmOnEnter:!1});if(w==="dismiss"){if(((f=e.dismissDisabled)==null?void 0:f.call(e))===!0)return;d.stopPropagation(),e.onDismiss();return}w==="trap"&&r!==null&&M.trapTabFocusWithin(r,d)};return u.onCleanup(()=>{v(),P.restoreFocusTo(l),l=null,r=null}),{captureDialog:o,handleKeyDown:m}}function A(){try{return new Intl.DateTimeFormat().resolvedOptions().locale}catch{return"en-US"}}function we(e,r){return e.toLocaleDateString(A(),r)}function Ce(e,r){return e.toLocaleString(A(),r)}exports.Checkbox=se;exports.HoverTooltip=be;exports.TOOLTIP_CURSOR_OFFSET_X=Y;exports.TOOLTIP_CURSOR_OFFSET_Y=R;exports.TOOLTIP_MAX_FOOTPRINT_X=H;exports.TOOLTIP_VIEWPORT_MARGIN=E;exports.buildSelectionItemClass=W;exports.computeTooltipPointerPosition=N;exports.createDialogShellFocus=_e;exports.formatDate=we;exports.formatDateTime=Ce;exports.styles=k;exports.systemFormatLocale=A;
|
package/dist/forms/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../Button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../Button-X8QR6llv.cjs"),e=require("../ToggleButton-CFvMUndy.cjs"),r=require("../Input-BrxV_Xcb.cjs"),i=require("../format-aHRZi12I.cjs"),n=require("../Textarea-vl5fZzJa.cjs"),l=require("../CopyButton-3cX5MHAf.cjs"),t=require("../SearchableSelect-9pgcO5JS.cjs"),c=require("../IconPicker-C_gAGvo0.cjs"),o=require("../DateRangePicker-CHrwr34H.cjs");exports.Button=a.Button;exports.ButtonGroup=e.ButtonGroup;exports.Combobox=e.Combobox;exports.DatePicker=e.DatePicker;exports.DateTimePicker=e.DateTimePicker;exports.Dropzone=e.Dropzone;exports.FilePickerButton=e.FilePickerButton;exports.FormField=e.FormField;exports.HiddenFileInput=e.HiddenFileInput;exports.MultiSearchableSelect=e.MultiSearchableSelect;exports.NumberInput=e.NumberInput;exports.PasswordInput=e.PasswordInput;exports.Picker=e.Picker;exports.RadioGroup=e.RadioGroup;exports.SearchField=e.SearchInput;exports.SearchInput=e.SearchInput;exports.SegmentedControl=e.SegmentedControl;exports.Slider=e.Slider;exports.SplitButton=e.SplitButton;exports.TagInput=e.TagInput;exports.Toggle=e.Toggle;exports.ToggleButton=e.ToggleButton;exports.clampToRange=e.clampToRange;exports.evaluatePassword=e.evaluatePassword;exports.formatFileSize=e.formatFileSize;exports.isFileAccepted=e.isFileAccepted;exports.nextOptionIndex=e.nextOptionIndex;exports.parseNumericInput=e.parseNumericInput;exports.FormFieldAriaProvider=r.FormFieldAriaProvider;exports.Input=r.Input;exports.PressableSurface=r.PressableSurface;exports.useFormFieldAria=r.useFormFieldAria;exports.Checkbox=i.Checkbox;exports.buildSelectionItemClass=i.buildSelectionItemClass;exports.Textarea=n.Textarea;exports.CopyButton=l.CopyButton;exports.LISTBOX_NAVIGATION_KEYS=t.LISTBOX_NAVIGATION_KEYS;exports.SearchableSelect=t.SearchableSelect;exports.clampHighlightToOptions=t.clampHighlightToOptions;exports.firstSelectableIndex=t.firstSelectableIndex;exports.lastSelectableIndex=t.lastSelectableIndex;exports.nextSelectableIndex=t.nextSelectableIndex;exports.resolveHighlightForKey=t.resolveHighlightForKey;exports.IconPicker=c.IconPicker;exports.DateRangePicker=o.DateRangePicker;exports.endOfDay=o.endOfDay;exports.pickDayState=o.pickDayState;exports.startOfDay=o.startOfDay;
|
package/dist/forms/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as s } from "../Button-
|
|
2
|
-
import { B as r, C as o, D as i, a as l, b as n, F as p, c, H as u, M as m, N as S, P as d, d as x, R as I, S as f, S as F, e as b, f as g, g as P, T, h, i as k, j as B, k as D, l as C, m as O, n as y, p as A } from "../ToggleButton-
|
|
1
|
+
import { B as s } from "../Button-BZWXPn8y.js";
|
|
2
|
+
import { B as r, C as o, D as i, a as l, b as n, F as p, c, H as u, M as m, N as S, P as d, d as x, R as I, S as f, S as F, e as b, f as g, g as P, T, h, i as k, j as B, k as D, l as C, m as O, n as y, p as A } from "../ToggleButton-DBWFnm_R.js";
|
|
3
3
|
import { F as H, I as R, P as v, u as G } from "../Input-BqiQPUxA.js";
|
|
4
|
-
import { C as z, b as K } from "../format-
|
|
4
|
+
import { C as z, b as K } from "../format-Dd946oS-.js";
|
|
5
5
|
import { T as M } from "../Textarea-CXFZz3Oe.js";
|
|
6
|
-
import { C as j } from "../CopyButton-
|
|
7
|
-
import { L as V, S as X, c as Y, f as q, l as J, n as Q, r as U } from "../SearchableSelect-
|
|
8
|
-
import { I as Z } from "../IconPicker-
|
|
9
|
-
import { D as ee, e as ae, p as se, s as te } from "../DateRangePicker-
|
|
6
|
+
import { C as j } from "../CopyButton-D3dIRRnn.js";
|
|
7
|
+
import { L as V, S as X, c as Y, f as q, l as J, n as Q, r as U } from "../SearchableSelect-ByCRBEZI.js";
|
|
8
|
+
import { I as Z } from "../IconPicker-BxofGXCS.js";
|
|
9
|
+
import { D as ee, e as ae, p as se, s as te } from "../DateRangePicker-jnZfDhQA.js";
|
|
10
10
|
export {
|
|
11
11
|
s as Button,
|
|
12
12
|
r as ButtonGroup,
|
package/dist/grid/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../AttributeGrid-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../AttributeGrid-Tk8KJx8e.cjs");exports.AttributeGrid=e.AttributeGrid;exports.Pagination=e.Pagination;exports.ToolbarSearchRow=e.ToolbarSearchRow;exports.ToolbarSearchToggle=e.ToolbarSearchToggle;exports.pageSizeOptionLabel=e.pageSizeOptionLabel;
|
package/dist/grid/index.js
CHANGED
package/dist/host/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../windowRegistry-CGvOBUsw.cjs"),n=require("../catalogNotify-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../windowRegistry-CGvOBUsw.cjs"),n=require("../catalogNotify-C9RzbC6x.cjs"),l=require("../i18n-B9ccWgcR.cjs"),t=require("../rendererLogging-B4XML4_G.cjs"),r=require("../notificationSuppressions-DFbFpayS.cjs"),g=require("../settingsSearchContributor-Du0SDpJt.cjs"),s=require("../menuFavorites-EluLLTfi.cjs"),c=require("../stateDbStore-THFfFGa0.cjs"),o=require("../visibleBrowserRegistry-BTfWUlI1.cjs"),v=require("../preferencesCache-DJPCTPYx.cjs"),d=require("../builtins-DM7FDxEt.cjs"),u=require("../useListCommands-ucngC3t4.cjs"),a=require("../HostWindowContext-DqDeJmBP.cjs"),e=require("../pageTourState-D8Uapyft.cjs");exports.configureHost=i.configureHost;exports.getActiveWindow=i.getActiveWindow;exports.getMainWindow=i.getMainWindow;exports.getWindow=i.getWindow;exports.provideHostWindow=i.provideHostWindow;exports.getAppName=n.getAppName;exports.provideCatalogNotificationHost=n.provideCatalogNotificationHost;exports.provideNotificationSecretStore=n.provideNotificationSecretStore;exports.setAppName=n.setAppName;exports.setEmailDigestTransport=n.setEmailDigestTransport;exports.provideHostTranslator=l.provideHostTranslator;exports.DEFAULT_LOG_LEVEL=t.DEFAULT_LOG_LEVEL;exports.LogLevel=t.LogLevel;exports.canLog=t.canLog;exports.provideHostBreadcrumbs=t.provideHostBreadcrumbs;exports.provideHostErrorHandler=t.provideHostErrorHandler;exports.provideHostLogTransport=t.provideHostLogTransport;exports.setLogLevel=t.setRendererLogLevel;exports.attachedErrorActions=r.attachedErrorActions;exports.configureDesktopBridge=r.configureDesktopBridge;exports.createVendorErrorPreview=r.createVendorErrorPreview;exports.getGoogleSearchUrl=r.getGoogleSearchUrl;exports.getVendorErrorSource=r.getVendorErrorSource;exports.installVendorErrorSource=r.installVendorErrorSource;exports.isVendorErrorSourceInstalled=r.isVendorErrorSourceInstalled;exports.provideHostErrorPresenter=r.provideHostErrorPresenter;exports.resolveVendorError=r.resolveVendorError;exports.withErrorActions=r.withErrorActions;exports.setDatabaseObjectSearchProvider=g.setDatabaseObjectSearchProvider;exports.setSettingsSearchSource=g.setSettingsSearchSource;exports.addMenuFavorite=s.addMenuFavorite;exports.getMenuFavorites=s.getMenuFavorites;exports.isMenuFavorite=s.isMenuFavorite;exports.registerMenuActionIds=s.registerMenuActionIds;exports.removeMenuFavorite=s.removeMenuFavorite;exports.subscribeMenuFavorites=s.subscribeMenuFavorites;exports.StorageScope=c.StorageScope;exports.StorageTarget=c.StorageTarget;exports.configureSettingsBackend=c.configureSettingsBackend;exports.ToolWindowContext=o.ToolWindowContext;exports.WorkspaceTabsContext=o.WorkspaceTabsContext;exports.clearVisibleBrowsersForTesting=o.clearVisibleBrowsersForTesting;exports.getVisibleBrowsers=o.getVisibleBrowsers;exports.hasVisibleBrowser=o.hasVisibleBrowser;exports.registerVisibleBrowser=o.registerVisibleBrowser;exports.setOpenSettingsHandler=o.setOpenSettingsHandler;exports.unregisterVisibleBrowser=o.unregisterVisibleBrowser;exports.useToolWindowLayout=o.useToolWindowLayout;exports.useWorkspaceTabs=o.useWorkspaceTabs;exports.provideLayoutPreferences=v.provideLayoutPreferences;exports.KeybindingsProvider=d.KeybindingsProvider;exports.useKeybindings=d.useKeybindings;exports.useKeybindingsOptional=d.useKeybindingsOptional;exports.createPanelCommandRegistry=u.createPanelCommandRegistry;exports.listHandlers=u.listHandlers;exports.useFocusClaim=u.useFocusClaim;exports.useListCommands=u.useListCommands;exports.HostWindowProvider=a.HostWindowProvider;exports.requireHostWindowProvider=a.requireHostWindowProvider;exports.useHostDocument=a.useHostDocument;exports.useHostWindow=a.useHostWindow;exports.useHostWindowClose=a.useHostWindowClose;exports.canonicalTourPageId=e.canonicalTourPageId;exports.claimTour=e.claimTour;exports.consumeTourRequest=e.consumeTourRequest;exports.getActiveTourPage=e.getActiveTourPage;exports.isNeverShowToursAgain=e.isNeverShowToursAgain;exports.isPageTourActive=e.isPageTourActive;exports.readTourStatus=e.readTourStatus;exports.registerTourHost=e.registerTourHost;exports.releaseTour=e.releaseTour;exports.requestPageTour=e.requestPageTour;exports.setActiveTour=e.setActiveTour;exports.setNeverShowToursAgain=e.setNeverShowToursAgain;exports.setSkipWelcome=e.setSkipWelcome;exports.shouldSkipWelcome=e.shouldSkipWelcome;exports.writeTourStatus=e.writeTourStatus;
|
package/dist/host/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as r, g as o, a, b as t, p as i } from "../windowRegistry-Bk5lXIVd.js";
|
|
2
|
-
import { g as u, p as d, a as c, s as g, b as p } from "../catalogNotify-
|
|
3
|
-
import { p as m } from "../i18n-
|
|
2
|
+
import { g as u, p as d, a as c, s as g, b as p } from "../catalogNotify-CIhFuJ1b.js";
|
|
3
|
+
import { p as m } from "../i18n-CYq-dVvv.js";
|
|
4
4
|
import { D as T, L as b, c as w, p as S, a as f, b as H, s as x } from "../rendererLogging-Edo4ALXU.js";
|
|
5
5
|
import { a as L, c as E, b as A, g as P, d as h, i as V, e as B, p as F, r as k, w as C } from "../notificationSuppressions-CBIJ4bC4.js";
|
|
6
|
-
import { s as y, a as D } from "../settingsSearchContributor-
|
|
6
|
+
import { s as y, a as D } from "../settingsSearchContributor-C-UJc7Xc.js";
|
|
7
7
|
import { a as K, g as O, i as q, r as I, b as j, s as G } from "../menuFavorites-Db1DpHX6.js";
|
|
8
8
|
import { S as U, a as _, c as z } from "../stateDbStore-Ds3zJ4cd.js";
|
|
9
9
|
import { T as Q, W as X, c as Y, g as Z, h as $, r as ee, s as se, u as re, a as oe, b as ae } from "../visibleBrowserRegistry-Dw2Y4y_I.js";
|
package/dist/i18n/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../i18n-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../i18n-B9ccWgcR.cjs"),a=require("../labelText-CwdSPIgk.cjs");exports.DEFAULT_LANGUAGE_ID=e.DEFAULT_LANGUAGE_ID;exports.SUPPORTED_LANGUAGES=e.SUPPORTED_LANGUAGES;exports.SUPPORTED_LANGUAGE_IDS=e.SUPPORTED_LANGUAGE_IDS;exports.appI18n=e.appI18n;exports.clearPluginLocales=e.clearPluginLocales;exports.ensureLocaleLoaded=e.ensureLocaleLoaded;exports.getLocale=e.getLocale;exports.hasPluginLocale=e.hasPluginLocale;exports.isSupportedLanguage=e.isSupportedLanguage;exports.labelText=e.labelText;exports.languageLabel=e.languageLabel;exports.matchNavigatorLanguage=e.matchNavigatorLanguage;exports.provideHostTranslator=e.provideHostTranslator;exports.registerPluginLocale=e.registerPluginLocale;exports.resolveLanguageByNavigator=e.resolveLanguageByNavigator;exports.resolvePluginText=e.resolvePluginText;exports.setAppLanguage=e.setAppLanguage;exports.setLocale=e.setLocale;exports.setMessages=e.setMessages;exports.t=e.t;exports.translatePluginText=e.translatePluginText;exports.unregisterPluginLocale=e.unregisterPluginLocale;exports.labelSourceText=a.labelSourceText;exports.messageText=a.messageText;exports.pluginText=a.pluginText;exports.verbatimText=a.verbatimText;
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as s, S as l, a as g, b as t, c as o, e as r, g as n, h as u, i as L, l as i, d as p, m as c, p as T, r as P, f as x, j as A, s as m, k as v, n as S, t as D, o as E, u as G } from "../i18n-
|
|
1
|
+
import { D as s, S as l, a as g, b as t, c as o, e as r, g as n, h as u, i as L, l as i, d as p, m as c, p as T, r as P, f as x, j as A, s as m, k as v, n as S, t as D, o as E, u as G } from "../i18n-CYq-dVvv.js";
|
|
2
2
|
import { l as b, m as d, p as N, v as _ } from "../labelText-fUyrX04R.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DEFAULT_LANGUAGE_ID,
|
|
@@ -9,4 +9,4 @@ import type { RegisteredMessageKey } from './register.cjs';
|
|
|
9
9
|
*/
|
|
10
10
|
export type MessageKey = KitMessageKey | RegisteredMessageKey;
|
|
11
11
|
/** The keys the kit itself uses. */
|
|
12
|
-
export type KitMessageKey = "(empty)" | "+{count} pending acknowledgment" | "Accept Notification Primary Action" | "Accepted formats: {accept}" | "Acknowledgment required" | "Actions" | "Active" | "Add tag" | "Add tag (press Enter or comma)..." | "Advanced filters (source, priority, regex)" | "All" | "All ({n}) selected" | "All tones" | "An ended session cannot be resumed." | "Apply" | "Back" | "Breadcrumbs" | "Bulk actions" | "CPU" | "Cache Hit Ratio" | "Cancel" | "Change icon" | "Clear" | "Clear advanced filters" | "Clear all notifications" | "Clear date" | "Clear date filter" | "Clear filter" | "Clear filters" | "Clear search" | "Clear search query" | "Click notification entries to expand stack traces, inspect vendor error codes, or navigate directly to affected queries." | "Close" | "Close drawer" | "Close tab" | "Close window" | "Collapse" | "Collation" | "Command" | "Command Palette" | "Configure Keybinding" | "Confirm" | "Connected" | "Connecting..." | "Connecting…" | "Connection" | "Continue" | "Copied" | "Copied to clipboard." | "Copied!" | "Copy" | "Copy Diagnostic Report" | "Copy SQL" | "Copy error code" | "Copy log message" | "Copy to clipboard" | "Could not copy to clipboard." | "Current" | "Custom range" | "Data Type" | "Database" | "Date picker" | "Decrease" | "Default" | "Delete" | "Delete selected" | "Detach window" | "Developer" | "Digit" | "Disable Do Not Disturb" | "Disabled" | "Discard" | "Disconnect" | "Disconnected" | "Documentation" | "Don't Save" | "Don't show again" | "Done" | "Drag and drop files here, or browse" | "Drawer" | "Dropdown menu" | "Editor" | "Email digest is turned off." | "Empty" | "Enable Do Not Disturb" | "Encoding" | "End" | "English" | "Error" | "Escape" | "Every session inside it ends and its open transaction is rolled back; the data is kept and it can be opened again." | "Exit selection mode" | "Expand" | "Export" | "Export CSV" | "Export as CSV" | "Export as JSON" | "Export failed: {message}" | "Export notifications" | "Exported {count} notifications" | "Failed to search database objects" | "File" | "Filter" | "Filter by date" | "Filter by priority" | "Filter by source" | "Filter by tone" | "Finish" | "General" | "German" | "Help" | "Hide notifications" | "Hide password" | "Home" | "Idle" | "Increase" | "Indexes" | "Info" | "Input" | "Insert" | "Interactive Timeline Cards" | "JSON" | "Language" | "Last 30 Days" | "Last 30 days" | "Last 7 Days" | "Last 7 days" | "Loading" | "Loading icons…" | "Loading objects..." | "Loading…" | "Lowercase letter" | "Mark all as read" | "Maximize" | "Minimize" | "Monitoring" | "More actions" | "More tabs" | "Mute \"{source}\"" | "Mute notifications from this source" | "NULL" | "New Query Tab" | "Next" | "Next month" | "No commands found." | "No data is lost." | "No data is lost; the cache fills again as sessions run." | "No database connected." | "No database objects found." | "No icons match your search." | "No matches found." | "No matches." | "No new notifications" | "No notifications match the current filter." | "No notifications yet." | "No results found" | "No samples in this time range" | "No settings found." | "None" | "Not available to this session." | "Notification Center" | "Notification Settings & DND" | "Notification menu" | "Notification settings" | "Notification settings…" | "Notifications" | "Notifications (Do Not Disturb on)" | "Open Documentation" | "Open in File Manager" | "Open in new window" | "Open sessions keep working, but this connection cannot log in as this role again." | "Open the notification menu to configure do-not-disturb, quiet hours, and notification delivery preferences." | "Open {vendor} ({code})" | "Operation failed." | "Optional" | "Page size" | "Persistent error encountered." | "Pick a start date" | "Pick an end date" | "Pin" | "Pin notification" | "Pin selected" | "Pin to Favorites" | "Pinned ({count})" | "Plugins" | "Presets" | "Press the button below to confirm." | "Previous" | "Previous month" | "Priority" | "Progress" | "Rebuild" | "Recent" | "Refresh" | "Refresh Schema" | "Refresh failed. Showing last successful data. {error}" | "Reload Window" | "Remind me in 1 hour" | "Remind me in 15 minutes" | "Remind me tomorrow morning" | "Remove" | "Remove all from \"{source}\"" | "Remove notification" | "Remove tag {tag}" | "Remove {name}" | "Remove {tag}" | "Requires a newer server." | "Reset to default icon" | "Restore" | "Retry" | "Reveal in Finder" | "Rollbacks" | "Run Query" | "SELECT" | "SMTP host, sender and recipient are required." | "SSL Mode" | "Save" | "Save Changes" | "Saved" | "Schema" | "Search" | "Search Everywhere" | "Search commands..." | "Search database objects..." | "Search everywhere..." | "Search icons" | "Search icons…" | "Search notifications, filter by priority or notification source, pin important entries, and export history to CSV or JSON." | "Search notifications…" | "Search on Google" | "Search settings..." | "Search..." | "Search…" | "Select All" | "Select all" | "Select all visible" | "Select date" | "Select multiple notifications" | "Select none" | "Select notification" | "Select..." | "Selected options" | "Setting" | "Settings" | "Settings…" | "Severity" | "Show as toast again" | "Show in File Explorer" | "Show notifications" | "Show password" | "Showing the first {count} entries; further entries are not listed." | "Showing the newest {count} entries; older entries are not listed." | "Showing {shown} of {total} items" | "Silent" | "Silent — timeline only" | "Skip" | "Something went wrong." | "Source" | "Source muted" | "Source: {source}" | "Statement" | "Stay informed on database events, completed exports, query execution errors, and background system alerts." | "Step {number} of {total}" | "Step {number}: {title}" | "Sticky parent rows" | "Stop statement" | "Success" | "Supports SQL scripts, CSV, TSV, dump, or JSON files" | "Symbol" | "Tab" | "Tables" | "Tablespace" | "Tablespaces" | "Tag input" | "Target Environment" | "Target Environments" | "The action could not be completed: {message}" | "The change can be reverted." | "The confirm button unlocks in {count}s." | "The digest could not be sent." | "The preference could not be saved; the previous value was restored." | "The session stays open; the statement can be run again." | "Theme" | "This action cannot be undone." | "This month" | "Time (HH:MM)" | "Timeline Actions & Filter Options" | "To confirm, type the {label} below:" | "Today" | "Tone filter: {tones}" | "Tour progress" | "Turkish" | "Unknown error" | "Unlimited" | "Unmute \"{source}\"" | "Unmute notifications from this source" | "Unpin" | "Unpin from Favorites" | "Unpin notification" | "Unpin selected" | "Upload files by dropping or clicking" | "Uppercase letter" | "Urgent" | "Use regex in search" | "Users" | "Value must be at least {min}." | "Value must be at most {max}." | "Value must be between {min} and {max}." | "Values that do not fit the new type are rounded or cut; they do not come back." | "View" | "Views" | "Warning" | "Wizard progress" | "Word Wrap" | "Workspace" | "YYYY-MM-DD" | "Yes, change it now" | "Yes, close now" | "Yes, convert now" | "Yes, delete now" | "Yes, overwrite now" | "Yes, terminate now" | "Yesterday" | "You are about to change" | "You are about to change the privileges of" | "You are about to close" | "You are about to convert the stored values of" | "You are about to delete or replace the existing data of" | "You are about to discard the cached contents of" | "You are about to permanently delete" | "You are about to rebuild" | "You are about to stop the running statement of" | "You are about to take access away from the connected role" | "You are about to terminate" | "You can reopen this tour from Help → Page tours." | "active" | "ascending" | "auto" | "close" | "column" | "columns" | "connect" | "connections" | "created_at" | "current" | "custom" | "dark" | "day" | "default" | "descending" | "direct" | "disabled" | "disconnect" | "enabled" | "favorites" | "id" | "inherit" | "integer" | "items" | "left" | "light" | "name" | "navigate" | "none" | "notes" | "now" | "object" | "off" | "on" | "optional" | "plugin" | "remove" | "reveal" | "right" | "schema" | "selection" | "skipped" | "space" | "strong" | "tables" | "timeout" | "type" | "unknown" | "user_id" | "username" | "users" | "value" | "weak" | "{count} from \"{source}\"" | "{count} rows" | "{count} selected" | "{count} unread" | "{label} ({seconds})" | "{n}d ago" | "{n}h ago" | "{n}m ago" | "{selected} of {total} selected" | "{severity}: {title}" | "{shown} of {total} icons" | "← Back" | "≥12 characters";
|
|
12
|
+
export type KitMessageKey = "(empty)" | "+{count} pending acknowledgment" | "Accept Notification Primary Action" | "Accepted formats: {accept}" | "Acknowledgment required" | "Actions" | "Active" | "Add tag" | "Add tag (press Enter or comma)..." | "Advanced filters (source, priority, regex)" | "All" | "All ({n}) selected" | "All tones" | "An ended session cannot be resumed." | "Apply" | "Back" | "Breadcrumbs" | "Bulk actions" | "CPU" | "Cache Hit Ratio" | "Cancel" | "Change icon" | "Clear" | "Clear Notification" | "Clear advanced filters" | "Clear all notifications" | "Clear date" | "Clear date filter" | "Clear filter" | "Clear filters" | "Clear search" | "Clear search query" | "Click notification entries to expand stack traces, inspect vendor error codes, or navigate directly to affected queries." | "Close" | "Close drawer" | "Close tab" | "Close window" | "Collapse" | "Collation" | "Command" | "Command Palette" | "Configure Keybinding" | "Confirm" | "Connected" | "Connecting..." | "Connecting…" | "Connection" | "Continue" | "Copied" | "Copied to clipboard." | "Copied!" | "Copy" | "Copy Diagnostic Report" | "Copy SQL" | "Copy error code" | "Copy log message" | "Copy to clipboard" | "Could not copy to clipboard." | "Current" | "Custom range" | "Data Type" | "Database" | "Date picker" | "Decrease" | "Default" | "Delete" | "Delete selected" | "Detach window" | "Developer" | "Digit" | "Disable Do Not Disturb" | "Disabled" | "Discard" | "Disconnect" | "Disconnected" | "Documentation" | "Don't Save" | "Don't show again" | "Done" | "Drag and drop files here, or browse" | "Drawer" | "Dropdown menu" | "Editor" | "Email digest is turned off." | "Empty" | "Enable Do Not Disturb" | "Encoding" | "End" | "English" | "Error" | "Escape" | "Every session inside it ends and its open transaction is rolled back; the data is kept and it can be opened again." | "Exit selection mode" | "Expand" | "Export" | "Export CSV" | "Export as CSV" | "Export as JSON" | "Export failed: {message}" | "Export notifications" | "Exported {count} notifications" | "Failed to search database objects" | "File" | "Filter" | "Filter by date" | "Filter by priority" | "Filter by source" | "Filter by tone" | "Finish" | "General" | "German" | "Help" | "Hide notifications" | "Hide password" | "Home" | "Idle" | "Increase" | "Indexes" | "Info" | "Input" | "Insert" | "Interactive Timeline Cards" | "JSON" | "Language" | "Last 30 Days" | "Last 30 days" | "Last 7 Days" | "Last 7 days" | "Loading" | "Loading icons…" | "Loading objects..." | "Loading…" | "Lowercase letter" | "Mark all as read" | "Maximize" | "Minimize" | "Monitoring" | "More actions" | "More tabs" | "Mute \"{source}\"" | "Mute notifications from this source" | "NULL" | "New Query Tab" | "Next" | "Next month" | "No commands found." | "No data is lost." | "No data is lost; the cache fills again as sessions run." | "No database connected." | "No database objects found." | "No icons match your search." | "No matches found." | "No matches." | "No new notifications" | "No notifications match the current filter." | "No notifications yet." | "No results found" | "No samples in this time range" | "No settings found." | "None" | "Not available to this session." | "Notification Center" | "Notification Settings & DND" | "Notification menu" | "Notification settings" | "Notification settings…" | "Notifications" | "Notifications (Do Not Disturb on)" | "Open Documentation" | "Open in File Manager" | "Open in new window" | "Open sessions keep working, but this connection cannot log in as this role again." | "Open the notification menu to configure do-not-disturb, quiet hours, and notification delivery preferences." | "Open {vendor} ({code})" | "Operation failed." | "Optional" | "Page size" | "Persistent error encountered." | "Pick a start date" | "Pick an end date" | "Pin" | "Pin notification" | "Pin selected" | "Pin to Favorites" | "Pinned ({count})" | "Plugins" | "Presets" | "Press the button below to confirm." | "Previous" | "Previous month" | "Priority" | "Progress" | "Rebuild" | "Recent" | "Refresh" | "Refresh Schema" | "Refresh failed. Showing last successful data. {error}" | "Reload Window" | "Remind me in 1 hour" | "Remind me in 15 minutes" | "Remind me tomorrow morning" | "Remove" | "Remove all from \"{source}\"" | "Remove notification" | "Remove tag {tag}" | "Remove {name}" | "Remove {tag}" | "Requires a newer server." | "Reset to default icon" | "Restore" | "Retry" | "Reveal in Finder" | "Rollbacks" | "Run Query" | "SELECT" | "SMTP host, sender and recipient are required." | "SSL Mode" | "Save" | "Save Changes" | "Saved" | "Schema" | "Search" | "Search Everywhere" | "Search commands..." | "Search database objects..." | "Search everywhere..." | "Search icons" | "Search icons…" | "Search notifications, filter by priority or notification source, pin important entries, and export history to CSV or JSON." | "Search notifications…" | "Search on Google" | "Search settings..." | "Search..." | "Search…" | "Select All" | "Select all" | "Select all visible" | "Select date" | "Select multiple notifications" | "Select none" | "Select notification" | "Select..." | "Selected options" | "Setting" | "Settings" | "Settings…" | "Severity" | "Show as toast again" | "Show in File Explorer" | "Show notifications" | "Show password" | "Showing the first {count} entries; further entries are not listed." | "Showing the newest {count} entries; older entries are not listed." | "Showing {shown} of {total} items" | "Silent" | "Silent — timeline only" | "Skip" | "Something went wrong." | "Source" | "Source muted" | "Source: {source}" | "Statement" | "Stay informed on database events, completed exports, query execution errors, and background system alerts." | "Step {number} of {total}" | "Step {number}: {title}" | "Sticky parent rows" | "Stop statement" | "Success" | "Supports SQL scripts, CSV, TSV, dump, or JSON files" | "Symbol" | "Tab" | "Tables" | "Tablespace" | "Tablespaces" | "Tag input" | "Target Environment" | "Target Environments" | "The action could not be completed: {message}" | "The change can be reverted." | "The confirm button unlocks in {count}s." | "The digest could not be sent." | "The preference could not be saved; the previous value was restored." | "The session stays open; the statement can be run again." | "Theme" | "This action cannot be undone." | "This month" | "Time (HH:MM)" | "Timeline Actions & Filter Options" | "To confirm, type the {label} below:" | "Today" | "Tone filter: {tones}" | "Tour progress" | "Turkish" | "Unknown error" | "Unlimited" | "Unmute \"{source}\"" | "Unmute notifications from this source" | "Unpin" | "Unpin from Favorites" | "Unpin notification" | "Unpin selected" | "Upload files by dropping or clicking" | "Uppercase letter" | "Urgent" | "Use regex in search" | "Users" | "Value must be at least {min}." | "Value must be at most {max}." | "Value must be between {min} and {max}." | "Values that do not fit the new type are rounded or cut; they do not come back." | "View" | "Views" | "Warning" | "Wizard progress" | "Word Wrap" | "Workspace" | "YYYY-MM-DD" | "Yes, change it now" | "Yes, close now" | "Yes, convert now" | "Yes, delete now" | "Yes, overwrite now" | "Yes, terminate now" | "Yesterday" | "You are about to change" | "You are about to change the privileges of" | "You are about to close" | "You are about to convert the stored values of" | "You are about to delete or replace the existing data of" | "You are about to discard the cached contents of" | "You are about to permanently delete" | "You are about to rebuild" | "You are about to stop the running statement of" | "You are about to take access away from the connected role" | "You are about to terminate" | "You can reopen this tour from Help → Page tours." | "active" | "ascending" | "auto" | "close" | "column" | "columns" | "connect" | "connections" | "created_at" | "current" | "custom" | "dark" | "day" | "default" | "descending" | "direct" | "disabled" | "disconnect" | "enabled" | "favorites" | "id" | "inherit" | "integer" | "items" | "left" | "light" | "name" | "navigate" | "none" | "notes" | "now" | "object" | "off" | "on" | "optional" | "plugin" | "remove" | "reveal" | "right" | "schema" | "selection" | "skipped" | "space" | "strong" | "tables" | "timeout" | "type" | "unknown" | "user_id" | "username" | "users" | "value" | "weak" | "{count} from \"{source}\"" | "{count} rows" | "{count} selected" | "{count} unread" | "{label} ({seconds})" | "{n}d ago" | "{n}h ago" | "{n}m ago" | "{selected} of {total} selected" | "{severity}: {title}" | "{shown} of {total} icons" | "← Back" | "≥12 characters";
|
|
@@ -9,4 +9,4 @@ import type { RegisteredMessageKey } from './register.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export type MessageKey = KitMessageKey | RegisteredMessageKey;
|
|
11
11
|
/** The keys the kit itself uses. */
|
|
12
|
-
export type KitMessageKey = "(empty)" | "+{count} pending acknowledgment" | "Accept Notification Primary Action" | "Accepted formats: {accept}" | "Acknowledgment required" | "Actions" | "Active" | "Add tag" | "Add tag (press Enter or comma)..." | "Advanced filters (source, priority, regex)" | "All" | "All ({n}) selected" | "All tones" | "An ended session cannot be resumed." | "Apply" | "Back" | "Breadcrumbs" | "Bulk actions" | "CPU" | "Cache Hit Ratio" | "Cancel" | "Change icon" | "Clear" | "Clear advanced filters" | "Clear all notifications" | "Clear date" | "Clear date filter" | "Clear filter" | "Clear filters" | "Clear search" | "Clear search query" | "Click notification entries to expand stack traces, inspect vendor error codes, or navigate directly to affected queries." | "Close" | "Close drawer" | "Close tab" | "Close window" | "Collapse" | "Collation" | "Command" | "Command Palette" | "Configure Keybinding" | "Confirm" | "Connected" | "Connecting..." | "Connecting…" | "Connection" | "Continue" | "Copied" | "Copied to clipboard." | "Copied!" | "Copy" | "Copy Diagnostic Report" | "Copy SQL" | "Copy error code" | "Copy log message" | "Copy to clipboard" | "Could not copy to clipboard." | "Current" | "Custom range" | "Data Type" | "Database" | "Date picker" | "Decrease" | "Default" | "Delete" | "Delete selected" | "Detach window" | "Developer" | "Digit" | "Disable Do Not Disturb" | "Disabled" | "Discard" | "Disconnect" | "Disconnected" | "Documentation" | "Don't Save" | "Don't show again" | "Done" | "Drag and drop files here, or browse" | "Drawer" | "Dropdown menu" | "Editor" | "Email digest is turned off." | "Empty" | "Enable Do Not Disturb" | "Encoding" | "End" | "English" | "Error" | "Escape" | "Every session inside it ends and its open transaction is rolled back; the data is kept and it can be opened again." | "Exit selection mode" | "Expand" | "Export" | "Export CSV" | "Export as CSV" | "Export as JSON" | "Export failed: {message}" | "Export notifications" | "Exported {count} notifications" | "Failed to search database objects" | "File" | "Filter" | "Filter by date" | "Filter by priority" | "Filter by source" | "Filter by tone" | "Finish" | "General" | "German" | "Help" | "Hide notifications" | "Hide password" | "Home" | "Idle" | "Increase" | "Indexes" | "Info" | "Input" | "Insert" | "Interactive Timeline Cards" | "JSON" | "Language" | "Last 30 Days" | "Last 30 days" | "Last 7 Days" | "Last 7 days" | "Loading" | "Loading icons…" | "Loading objects..." | "Loading…" | "Lowercase letter" | "Mark all as read" | "Maximize" | "Minimize" | "Monitoring" | "More actions" | "More tabs" | "Mute \"{source}\"" | "Mute notifications from this source" | "NULL" | "New Query Tab" | "Next" | "Next month" | "No commands found." | "No data is lost." | "No data is lost; the cache fills again as sessions run." | "No database connected." | "No database objects found." | "No icons match your search." | "No matches found." | "No matches." | "No new notifications" | "No notifications match the current filter." | "No notifications yet." | "No results found" | "No samples in this time range" | "No settings found." | "None" | "Not available to this session." | "Notification Center" | "Notification Settings & DND" | "Notification menu" | "Notification settings" | "Notification settings…" | "Notifications" | "Notifications (Do Not Disturb on)" | "Open Documentation" | "Open in File Manager" | "Open in new window" | "Open sessions keep working, but this connection cannot log in as this role again." | "Open the notification menu to configure do-not-disturb, quiet hours, and notification delivery preferences." | "Open {vendor} ({code})" | "Operation failed." | "Optional" | "Page size" | "Persistent error encountered." | "Pick a start date" | "Pick an end date" | "Pin" | "Pin notification" | "Pin selected" | "Pin to Favorites" | "Pinned ({count})" | "Plugins" | "Presets" | "Press the button below to confirm." | "Previous" | "Previous month" | "Priority" | "Progress" | "Rebuild" | "Recent" | "Refresh" | "Refresh Schema" | "Refresh failed. Showing last successful data. {error}" | "Reload Window" | "Remind me in 1 hour" | "Remind me in 15 minutes" | "Remind me tomorrow morning" | "Remove" | "Remove all from \"{source}\"" | "Remove notification" | "Remove tag {tag}" | "Remove {name}" | "Remove {tag}" | "Requires a newer server." | "Reset to default icon" | "Restore" | "Retry" | "Reveal in Finder" | "Rollbacks" | "Run Query" | "SELECT" | "SMTP host, sender and recipient are required." | "SSL Mode" | "Save" | "Save Changes" | "Saved" | "Schema" | "Search" | "Search Everywhere" | "Search commands..." | "Search database objects..." | "Search everywhere..." | "Search icons" | "Search icons…" | "Search notifications, filter by priority or notification source, pin important entries, and export history to CSV or JSON." | "Search notifications…" | "Search on Google" | "Search settings..." | "Search..." | "Search…" | "Select All" | "Select all" | "Select all visible" | "Select date" | "Select multiple notifications" | "Select none" | "Select notification" | "Select..." | "Selected options" | "Setting" | "Settings" | "Settings…" | "Severity" | "Show as toast again" | "Show in File Explorer" | "Show notifications" | "Show password" | "Showing the first {count} entries; further entries are not listed." | "Showing the newest {count} entries; older entries are not listed." | "Showing {shown} of {total} items" | "Silent" | "Silent — timeline only" | "Skip" | "Something went wrong." | "Source" | "Source muted" | "Source: {source}" | "Statement" | "Stay informed on database events, completed exports, query execution errors, and background system alerts." | "Step {number} of {total}" | "Step {number}: {title}" | "Sticky parent rows" | "Stop statement" | "Success" | "Supports SQL scripts, CSV, TSV, dump, or JSON files" | "Symbol" | "Tab" | "Tables" | "Tablespace" | "Tablespaces" | "Tag input" | "Target Environment" | "Target Environments" | "The action could not be completed: {message}" | "The change can be reverted." | "The confirm button unlocks in {count}s." | "The digest could not be sent." | "The preference could not be saved; the previous value was restored." | "The session stays open; the statement can be run again." | "Theme" | "This action cannot be undone." | "This month" | "Time (HH:MM)" | "Timeline Actions & Filter Options" | "To confirm, type the {label} below:" | "Today" | "Tone filter: {tones}" | "Tour progress" | "Turkish" | "Unknown error" | "Unlimited" | "Unmute \"{source}\"" | "Unmute notifications from this source" | "Unpin" | "Unpin from Favorites" | "Unpin notification" | "Unpin selected" | "Upload files by dropping or clicking" | "Uppercase letter" | "Urgent" | "Use regex in search" | "Users" | "Value must be at least {min}." | "Value must be at most {max}." | "Value must be between {min} and {max}." | "Values that do not fit the new type are rounded or cut; they do not come back." | "View" | "Views" | "Warning" | "Wizard progress" | "Word Wrap" | "Workspace" | "YYYY-MM-DD" | "Yes, change it now" | "Yes, close now" | "Yes, convert now" | "Yes, delete now" | "Yes, overwrite now" | "Yes, terminate now" | "Yesterday" | "You are about to change" | "You are about to change the privileges of" | "You are about to close" | "You are about to convert the stored values of" | "You are about to delete or replace the existing data of" | "You are about to discard the cached contents of" | "You are about to permanently delete" | "You are about to rebuild" | "You are about to stop the running statement of" | "You are about to take access away from the connected role" | "You are about to terminate" | "You can reopen this tour from Help → Page tours." | "active" | "ascending" | "auto" | "close" | "column" | "columns" | "connect" | "connections" | "created_at" | "current" | "custom" | "dark" | "day" | "default" | "descending" | "direct" | "disabled" | "disconnect" | "enabled" | "favorites" | "id" | "inherit" | "integer" | "items" | "left" | "light" | "name" | "navigate" | "none" | "notes" | "now" | "object" | "off" | "on" | "optional" | "plugin" | "remove" | "reveal" | "right" | "schema" | "selection" | "skipped" | "space" | "strong" | "tables" | "timeout" | "type" | "unknown" | "user_id" | "username" | "users" | "value" | "weak" | "{count} from \"{source}\"" | "{count} rows" | "{count} selected" | "{count} unread" | "{label} ({seconds})" | "{n}d ago" | "{n}h ago" | "{n}m ago" | "{selected} of {total} selected" | "{severity}: {title}" | "{shown} of {total} icons" | "← Back" | "≥12 characters";
|
|
12
|
+
export type KitMessageKey = "(empty)" | "+{count} pending acknowledgment" | "Accept Notification Primary Action" | "Accepted formats: {accept}" | "Acknowledgment required" | "Actions" | "Active" | "Add tag" | "Add tag (press Enter or comma)..." | "Advanced filters (source, priority, regex)" | "All" | "All ({n}) selected" | "All tones" | "An ended session cannot be resumed." | "Apply" | "Back" | "Breadcrumbs" | "Bulk actions" | "CPU" | "Cache Hit Ratio" | "Cancel" | "Change icon" | "Clear" | "Clear Notification" | "Clear advanced filters" | "Clear all notifications" | "Clear date" | "Clear date filter" | "Clear filter" | "Clear filters" | "Clear search" | "Clear search query" | "Click notification entries to expand stack traces, inspect vendor error codes, or navigate directly to affected queries." | "Close" | "Close drawer" | "Close tab" | "Close window" | "Collapse" | "Collation" | "Command" | "Command Palette" | "Configure Keybinding" | "Confirm" | "Connected" | "Connecting..." | "Connecting…" | "Connection" | "Continue" | "Copied" | "Copied to clipboard." | "Copied!" | "Copy" | "Copy Diagnostic Report" | "Copy SQL" | "Copy error code" | "Copy log message" | "Copy to clipboard" | "Could not copy to clipboard." | "Current" | "Custom range" | "Data Type" | "Database" | "Date picker" | "Decrease" | "Default" | "Delete" | "Delete selected" | "Detach window" | "Developer" | "Digit" | "Disable Do Not Disturb" | "Disabled" | "Discard" | "Disconnect" | "Disconnected" | "Documentation" | "Don't Save" | "Don't show again" | "Done" | "Drag and drop files here, or browse" | "Drawer" | "Dropdown menu" | "Editor" | "Email digest is turned off." | "Empty" | "Enable Do Not Disturb" | "Encoding" | "End" | "English" | "Error" | "Escape" | "Every session inside it ends and its open transaction is rolled back; the data is kept and it can be opened again." | "Exit selection mode" | "Expand" | "Export" | "Export CSV" | "Export as CSV" | "Export as JSON" | "Export failed: {message}" | "Export notifications" | "Exported {count} notifications" | "Failed to search database objects" | "File" | "Filter" | "Filter by date" | "Filter by priority" | "Filter by source" | "Filter by tone" | "Finish" | "General" | "German" | "Help" | "Hide notifications" | "Hide password" | "Home" | "Idle" | "Increase" | "Indexes" | "Info" | "Input" | "Insert" | "Interactive Timeline Cards" | "JSON" | "Language" | "Last 30 Days" | "Last 30 days" | "Last 7 Days" | "Last 7 days" | "Loading" | "Loading icons…" | "Loading objects..." | "Loading…" | "Lowercase letter" | "Mark all as read" | "Maximize" | "Minimize" | "Monitoring" | "More actions" | "More tabs" | "Mute \"{source}\"" | "Mute notifications from this source" | "NULL" | "New Query Tab" | "Next" | "Next month" | "No commands found." | "No data is lost." | "No data is lost; the cache fills again as sessions run." | "No database connected." | "No database objects found." | "No icons match your search." | "No matches found." | "No matches." | "No new notifications" | "No notifications match the current filter." | "No notifications yet." | "No results found" | "No samples in this time range" | "No settings found." | "None" | "Not available to this session." | "Notification Center" | "Notification Settings & DND" | "Notification menu" | "Notification settings" | "Notification settings…" | "Notifications" | "Notifications (Do Not Disturb on)" | "Open Documentation" | "Open in File Manager" | "Open in new window" | "Open sessions keep working, but this connection cannot log in as this role again." | "Open the notification menu to configure do-not-disturb, quiet hours, and notification delivery preferences." | "Open {vendor} ({code})" | "Operation failed." | "Optional" | "Page size" | "Persistent error encountered." | "Pick a start date" | "Pick an end date" | "Pin" | "Pin notification" | "Pin selected" | "Pin to Favorites" | "Pinned ({count})" | "Plugins" | "Presets" | "Press the button below to confirm." | "Previous" | "Previous month" | "Priority" | "Progress" | "Rebuild" | "Recent" | "Refresh" | "Refresh Schema" | "Refresh failed. Showing last successful data. {error}" | "Reload Window" | "Remind me in 1 hour" | "Remind me in 15 minutes" | "Remind me tomorrow morning" | "Remove" | "Remove all from \"{source}\"" | "Remove notification" | "Remove tag {tag}" | "Remove {name}" | "Remove {tag}" | "Requires a newer server." | "Reset to default icon" | "Restore" | "Retry" | "Reveal in Finder" | "Rollbacks" | "Run Query" | "SELECT" | "SMTP host, sender and recipient are required." | "SSL Mode" | "Save" | "Save Changes" | "Saved" | "Schema" | "Search" | "Search Everywhere" | "Search commands..." | "Search database objects..." | "Search everywhere..." | "Search icons" | "Search icons…" | "Search notifications, filter by priority or notification source, pin important entries, and export history to CSV or JSON." | "Search notifications…" | "Search on Google" | "Search settings..." | "Search..." | "Search…" | "Select All" | "Select all" | "Select all visible" | "Select date" | "Select multiple notifications" | "Select none" | "Select notification" | "Select..." | "Selected options" | "Setting" | "Settings" | "Settings…" | "Severity" | "Show as toast again" | "Show in File Explorer" | "Show notifications" | "Show password" | "Showing the first {count} entries; further entries are not listed." | "Showing the newest {count} entries; older entries are not listed." | "Showing {shown} of {total} items" | "Silent" | "Silent — timeline only" | "Skip" | "Something went wrong." | "Source" | "Source muted" | "Source: {source}" | "Statement" | "Stay informed on database events, completed exports, query execution errors, and background system alerts." | "Step {number} of {total}" | "Step {number}: {title}" | "Sticky parent rows" | "Stop statement" | "Success" | "Supports SQL scripts, CSV, TSV, dump, or JSON files" | "Symbol" | "Tab" | "Tables" | "Tablespace" | "Tablespaces" | "Tag input" | "Target Environment" | "Target Environments" | "The action could not be completed: {message}" | "The change can be reverted." | "The confirm button unlocks in {count}s." | "The digest could not be sent." | "The preference could not be saved; the previous value was restored." | "The session stays open; the statement can be run again." | "Theme" | "This action cannot be undone." | "This month" | "Time (HH:MM)" | "Timeline Actions & Filter Options" | "To confirm, type the {label} below:" | "Today" | "Tone filter: {tones}" | "Tour progress" | "Turkish" | "Unknown error" | "Unlimited" | "Unmute \"{source}\"" | "Unmute notifications from this source" | "Unpin" | "Unpin from Favorites" | "Unpin notification" | "Unpin selected" | "Upload files by dropping or clicking" | "Uppercase letter" | "Urgent" | "Use regex in search" | "Users" | "Value must be at least {min}." | "Value must be at most {max}." | "Value must be between {min} and {max}." | "Values that do not fit the new type are rounded or cut; they do not come back." | "View" | "Views" | "Warning" | "Wizard progress" | "Word Wrap" | "Workspace" | "YYYY-MM-DD" | "Yes, change it now" | "Yes, close now" | "Yes, convert now" | "Yes, delete now" | "Yes, overwrite now" | "Yes, terminate now" | "Yesterday" | "You are about to change" | "You are about to change the privileges of" | "You are about to close" | "You are about to convert the stored values of" | "You are about to delete or replace the existing data of" | "You are about to discard the cached contents of" | "You are about to permanently delete" | "You are about to rebuild" | "You are about to stop the running statement of" | "You are about to take access away from the connected role" | "You are about to terminate" | "You can reopen this tour from Help → Page tours." | "active" | "ascending" | "auto" | "close" | "column" | "columns" | "connect" | "connections" | "created_at" | "current" | "custom" | "dark" | "day" | "default" | "descending" | "direct" | "disabled" | "disconnect" | "enabled" | "favorites" | "id" | "inherit" | "integer" | "items" | "left" | "light" | "name" | "navigate" | "none" | "notes" | "now" | "object" | "off" | "on" | "optional" | "plugin" | "remove" | "reveal" | "right" | "schema" | "selection" | "skipped" | "space" | "strong" | "tables" | "timeout" | "type" | "unknown" | "user_id" | "username" | "users" | "value" | "weak" | "{count} from \"{source}\"" | "{count} rows" | "{count} selected" | "{count} unread" | "{label} ({seconds})" | "{n}d ago" | "{n}h ago" | "{n}m ago" | "{selected} of {total} selected" | "{severity}: {title}" | "{shown} of {total} icons" | "← Back" | "≥12 characters";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";const O=require("solid-js"),ne=require("solid-js/store"),N=require("solid-js/web"),re=require("./rendererLogging-B4XML4_G.cjs");function B(e,t,n){return new Intl.NumberFormat(t,n).format(e)}function C(e,t,n){return new Intl.DateTimeFormat(t,n).format(e)}var l;(function(e){e.number="number",e.plural="plural",e.date="date",e.tag="tag"})(l||(l={}));function A(e){return typeof e=="number"}function g(e){return typeof e=="string"}function oe(e){return e instanceof Date}function ue(e){return typeof e=="function"}function ie(e){return e!==null&&typeof e=="object"}function P(e,t){return g(t)?e==null?void 0:e[t]:e==null?void 0:e.default}function ae(e,t,n,r={},i){if(typeof n=="string")return n;const[o,a,u]=n,c=r[o];if(A(c)&&(!a||a===l.number))return B(c,e,P(t.number,u));if(oe(c)||(g(c)||A(c))&&a===l.date)return C(new Date(c),e,P(t.dateTime,u));if(a===l.tag){const f=g(u)||Array.isArray(u)?S(e,t,u,r,i):void 0;if(ue(c))return c(f);if(i){const y=g(c)?c:o;return i(y,f)}return""}else if(a===l.plural&&A(c)&&ie(u)){if(c===0&&u["=0"])return u["=0"];const f=new Intl.PluralRules(e).select(c),y=u[f]||u.other||"";return S(e,t,y,r,i)}else return String(c)}function S(e,t,n,r={},i){if(Array.isArray(n)){const o=n.map(a=>ae(e,t,a,r,i));return o.every(g)?o.join(""):o}return n}const x="var",v="%%%",K="num|number|plural|date",w="=0|zero|one|two|few|many|other",ce=new RegExp(`((${w})\\s{)`,"g"),se=new RegExp(`^(${w})\\s{(.+?)}$`),le=/(<(\w+?)>(.+?)<\/\w+?>|<(\w+?)(| )\/>)/g,fe=/^<(\w+?)(?:(?:| )\/>|>(.+?)<\/\w+?>)$/,ge=new RegExp(`{(\\w+?)(, (${K})(, ((${w}) {.+?}+|\\w+?)|)|)}`,"g"),me=new RegExp(`^{(\\w+?)(?:, (${K})(?:, ((?:${w}) {.+?}+|\\w+?)|)|)}$`);function pe(e){if(e==="num"||e==="number")return l.number;if(e==="plural")return l.plural;if(e==="date")return l.date}function H(e,t,n){return t.reduce((r,i,o)=>r.replace(i,`${v}${x}${o}${v}`),e).split(v).filter(r=>r!=="").map(r=>{const i=r.match(new RegExp(`^${x}(\\d+?)$`));return i&&i[1]?n(t[i[1]],r):r})}function F(e){return e.reduceRight((t,n)=>!n&&!t.length?t:[n,...t],[])}function de(e){return e!==null&&e.length===3}function q(e){return e!==null&&[...e].filter(Boolean).slice(1)}function ye(e){return e.replace(ce,`
|
|
2
2
|
$1`).split(`
|
|
3
3
|
`).map(t=>t.trim().match(se)).filter(de).reduce((t,n)=>(t[n[1]]=j(n[2]),t),{})}function Le(e,t){return e===l.plural&&t?ye(t):t}function j(e){const t=[e].reduce((n,r)=>{const i=r.match(le);return n.push(...i?H(e,i,(o,a)=>{const u=q(o.match(fe));return u?F([u[0],l.tag,u[1]&&j(u[1])]):a}):[r]),n},[]).reduce((n,r)=>{const i=g(r)&&r.match(ge);return n.push(...i?H(r,i,(o,a)=>{const u=q(o.match(me));if(!u)return a;const c=pe(u[1]);return F([u[0],c,Le(c,u[2])])}):[r]),n},[]);return t.length===1&&typeof t[0]=="string"?t[0]:t}function be(e){const t=new Set;function n(){[...t.values()].forEach(o=>o())}const r={language:e.language,locales:Object.assign({},e.locales),presets:Object.assign({},e.presets),setLanguage:o=>{r.language=o,n()},setLocales:o=>{r.locales=Object.assign(Object.assign({},r.locales),{[r.language]:Object.assign(Object.assign({},r.locales[r.language]),o)}),n()},t:(o,a)=>{var u;const c=g(o)?void 0:o.id,f=g(o)?o:o.message;return S(r.language,r.presets,j(((u=r.locales[r.language])===null||u===void 0?void 0:u[c||f])||f),a,e.formatTag)},formatNumber:(o,a)=>{const u=!a||g(a)?P(r.presets.number,a):a;return B(o,r.language,u)},formatDateTime:(o,a)=>{const u=typeof o=="string"?new Date(o):o,c=!a||g(a)?P(r.presets.dateTime,a):a;return C(u,r.language,c)}};function i(o){return t.add(o),()=>{t.delete(o)}}return{i18n:r,subscribe:i}}function Pe(e,t){return Ae(e)||Ee(e,t)||we(e,t)||he()}function he(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(e,t){if(e){if(typeof e=="string")return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}}function V(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,u=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(y){f=!0,i=y}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return u}}function Ae(e){if(Array.isArray(e))return e}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?X(Object(n),!0).forEach(function(r){ve(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ve(e,t,n){return t=Te(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){var t=Oe(e,"string");return typeof t=="symbol"?t:String(t)}function Oe(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Se(e,t){var n=N.template(`<${e}>`);return N.insert(n(),()=>t),n}function T(e){return e.bind({})}function z(e){return h(h({},e),{},{t:T(e.t),formatNumber:T(e.formatNumber),formatDateTime:T(e.formatDateTime)})}function _e(e){var t=be(h(h({},e),{},{formatTag:Se})),n=t.i18n,r=t.subscribe,i=ne.createStore(z(n)),o=Pe(i,2),a=o[0],u=o[1];return r(()=>u(z(n))),a}const d=new Map;function je(e,t,n){let r=d.get(e);r||(r=new Map,d.set(e,r)),r.set(t,new Map(Object.entries(n)))}function Re(e){d.delete(e)}function De(){d.clear()}function $e(e){return d.has(e)}function W(e,t,n){var i,o;const r=d.get(e);return((i=r==null?void 0:r.get(n))==null?void 0:i.get(t))??((o=r==null?void 0:r.get("en"))==null?void 0:o.get(t))??t}const R={en:{label:"English",navigatorMatch:["en"]},tr:{label:"Turkish",navigatorMatch:["tr"]},de:{label:"German",navigatorMatch:["de"]}},D=Object.keys(R),$=D.map(e=>({id:e,...R[e]}));function Ge(e){return R[e].label}const G="en";function M(e){return $.some(t=>t.id===e)}function I(e,t,n){const r=(e??"").toLowerCase();if(!r)return n;for(const i of t)if(i.navigatorMatch.some(o=>r===o||r.startsWith(`${o}-`)))return i.id;return n}function Me(e){return I(e,$,G)}async function Ue(e){switch(e){case"tr":return(await Promise.resolve().then(()=>require("./tr-
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(e,t){if(e){if(typeof e=="string")return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}}function V(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,u=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(y){f=!0,i=y}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return u}}function Ae(e){if(Array.isArray(e))return e}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?X(Object(n),!0).forEach(function(r){ve(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ve(e,t,n){return t=Te(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){var t=Oe(e,"string");return typeof t=="symbol"?t:String(t)}function Oe(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Se(e,t){var n=N.template(`<${e}>`);return N.insert(n(),()=>t),n}function T(e){return e.bind({})}function z(e){return h(h({},e),{},{t:T(e.t),formatNumber:T(e.formatNumber),formatDateTime:T(e.formatDateTime)})}function _e(e){var t=be(h(h({},e),{},{formatTag:Se})),n=t.i18n,r=t.subscribe,i=ne.createStore(z(n)),o=Pe(i,2),a=o[0],u=o[1];return r(()=>u(z(n))),a}const d=new Map;function je(e,t,n){let r=d.get(e);r||(r=new Map,d.set(e,r)),r.set(t,new Map(Object.entries(n)))}function Re(e){d.delete(e)}function De(){d.clear()}function $e(e){return d.has(e)}function W(e,t,n){var i,o;const r=d.get(e);return((i=r==null?void 0:r.get(n))==null?void 0:i.get(t))??((o=r==null?void 0:r.get("en"))==null?void 0:o.get(t))??t}const R={en:{label:"English",navigatorMatch:["en"]},tr:{label:"Turkish",navigatorMatch:["tr"]},de:{label:"German",navigatorMatch:["de"]}},D=Object.keys(R),$=D.map(e=>({id:e,...R[e]}));function Ge(e){return R[e].label}const G="en";function M(e){return $.some(t=>t.id===e)}function I(e,t,n){const r=(e??"").toLowerCase();if(!r)return n;for(const i of t)if(i.navigatorMatch.some(o=>r===o||r.startsWith(`${o}-`)))return i.id;return n}function Me(e){return I(e,$,G)}async function Ue(e){switch(e){case"tr":return(await Promise.resolve().then(()=>require("./tr-BDbiY5YD.cjs"))).default;case"de":return(await Promise.resolve().then(()=>require("./de-DRobPEJV.cjs"))).default}}const Y=re.getLogger("i18n"),p=new Map,m=new Map;function J(e){return M(e)&&e!=="en"}async function Ne(e){const t=p.get(e);if(t)return t;if(!J(e)){const n=m.get(e)??{};return p.set(e,n),n}try{const r={...await Ue(e),...m.get(e)??{}};return p.set(e,r),r}catch(n){return Y.error(`Failed to load locale "${e}"`,n),null}}function E(e){const t=Q(e);if(t==="en"&&!m.has("en"))return Promise.resolve();const n=p.get(t);return n?(s.language===t&&s.setLocales(n),Promise.resolve()):Ne(t).then(r=>{r&&s.language===t&&s.setLocales(r)})}function Q(e){return M(e)||m.has(e)?e:(Y.warn(`Unsupported language "${e}" — falling back to "en". Supported: ${[...D,...m.keys()].join(", ")}`),"en")}const s=_e({language:G,locales:{}}),[U,xe]=O.createSignal(null);let L=null,b=null;function He(e){if(L==null||L(),L=null,e&&b===null&&(b=s.language),xe(()=>e),!e){if(b!==null){const t=b;b=null,s.setLanguage(t),E(t)}return}O.createRoot(t=>{L=t,O.createEffect(()=>{const n=e.language();n&&s.language!==n&&s.setLanguage(n)})})}function Fe(e,t){const n=typeof HTMLElement<"u";return typeof e=="string"?e:Array.isArray(e)?e.map(r=>typeof r=="string"?r:n&&r instanceof HTMLElement?r.textContent??"":"").join(""):n&&e instanceof HTMLElement?e.textContent??t:t}function _(e,t){const n=U();return n?n.t(e,t):(s.language,Fe(s.t(e,t),e))}function Z(e,t){const n=U();return n!=null&&n.pluginText?n.pluginText(e,t):W(e,t,te())}function k(e){if(typeof e=="string")return _(e);switch(e.kind){case"message":{const t={};for(const[n,r]of Object.entries(e.values))t[n]=typeof r=="number"?r:k(r);return _(e.key,t)}case"plugin":return Z(e.pluginId,e.text);case"verbatim":return e.text}}function ee(e){const t=Q(e);return s.setLanguage(t),(t!=="en"||m.has("en"))&&E(t),typeof document<"u"&&(document.documentElement.lang=t),t}function qe(e){return ee(e)}function te(){var e;return((e=U())==null?void 0:e.language())??s.language}function Ve(e,t){const n={...m.get(e)??{},...t};m.set(e,n);const r=p.get(e);(r||!J(e))&&p.set(e,{...r??{},...n}),s.language===e&&E(e)}exports.DEFAULT_LANGUAGE_ID=G;exports.SUPPORTED_LANGUAGES=$;exports.SUPPORTED_LANGUAGE_IDS=D;exports.appI18n=s;exports.clearPluginLocales=De;exports.ensureLocaleLoaded=E;exports.getLocale=te;exports.hasPluginLocale=$e;exports.isSupportedLanguage=M;exports.labelText=k;exports.languageLabel=Ge;exports.matchNavigatorLanguage=Me;exports.provideHostTranslator=He;exports.registerPluginLocale=je;exports.resolveLanguageByNavigator=I;exports.resolvePluginText=W;exports.setAppLanguage=ee;exports.setLocale=qe;exports.setMessages=Ve;exports.t=_;exports.translatePluginText=Z;exports.unregisterPluginLocale=Re;
|
|
@@ -301,9 +301,9 @@ function Kt(t) {
|
|
|
301
301
|
async function jt(t) {
|
|
302
302
|
switch (t) {
|
|
303
303
|
case "tr":
|
|
304
|
-
return (await import("./tr-
|
|
304
|
+
return (await import("./tr-CxuAFkCi.js")).default;
|
|
305
305
|
case "de":
|
|
306
|
-
return (await import("./de-
|
|
306
|
+
return (await import("./de-CEltsqV5.js")).default;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
const K = tt("i18n"), p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map();
|