@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
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ssr as w, escape as t, createComponent as n, memo as ee, ssrAttribute as o, Portal as Le, ssrStyleProperty as Y, mergeProps as ot, ssrStyle as at } from "solid-js/web";
|
|
2
|
-
import { createSignal as D, onCleanup as F, Show as _, createEffect as J, on as Ue, createUniqueId as ae, getOwner as st, createComputed as it, onMount as
|
|
2
|
+
import { createSignal as D, onCleanup as F, Show as _, createEffect as J, on as Ue, createUniqueId as ae, getOwner as st, createComputed as it, onMount as We, For as oe, createMemo as X } from "solid-js";
|
|
3
3
|
import { K as je } from "./Kbd-BTbz_c_e.js";
|
|
4
4
|
import { s as lt, r as Oe, O as we } from "./dialogFocusRestore-DKxaV82N.js";
|
|
5
|
-
import { B as U } from "./Button-
|
|
5
|
+
import { B as U } from "./Button-BhqhjFpY.js";
|
|
6
6
|
import { I as Pe, P as Ce } from "./Input-Cxwc5CK4.js";
|
|
7
7
|
import { T as ct } from "./Textarea-D_1mHXTj.js";
|
|
8
8
|
import { O as me } from "./OverlayScrollArea-221dfKyz.js";
|
|
9
9
|
import { a as be, g as de } from "./windowRegistry-Bk5lXIVd.js";
|
|
10
|
-
import { t as s } from "./i18n-
|
|
11
|
-
import { A as Ge } from "./Modal-
|
|
10
|
+
import { t as s } from "./i18n-CYq-dVvv.js";
|
|
11
|
+
import { A as Ge } from "./Modal-CM54uXRu.js";
|
|
12
12
|
import { u as ut, D as dt } from "./DesktopContextMenuContext-DJ3PnqAv.js";
|
|
13
13
|
import { o as ye } from "./ownerWindow-9mx_LD47.js";
|
|
14
14
|
import { b as mt, A as ft, e as gt } from "./Popover-CTnX42Jq.js";
|
|
@@ -24,7 +24,7 @@ import { V as kt } from "./VpMinus-Z3sgLAcV.js";
|
|
|
24
24
|
import { a as Ct, V as yt, b as $t } from "./VpExternalLink-OGnThGLH.js";
|
|
25
25
|
import { E as ge } from "./EmptyState-Csydyy_7.js";
|
|
26
26
|
import { c as Lt } from "./tablistKeyboard-AxJcXuc5.js";
|
|
27
|
-
import { c as St, b as It } from "./settingsSearchContributor-
|
|
27
|
+
import { c as St, b as It } from "./settingsSearchContributor-DeMn-njw.js";
|
|
28
28
|
import { V as xt } from "./VpKeyboard-DEpTpo78.js";
|
|
29
29
|
const Dt = "vk_wrapper_u7cKP", Mt = "vk_tooltip_ANskC", Et = "vk_placementTop_Q5EkL", At = "vk_placementBottom_VVLuu", Rt = "vk_placementLeft_uKF0H", Tt = "vk_placementRight_ObusA", he = {
|
|
30
30
|
wrapper: Dt,
|
|
@@ -35,7 +35,7 @@ const Dt = "vk_wrapper_u7cKP", Mt = "vk_tooltip_ANskC", Et = "vk_placementTop_Q5
|
|
|
35
35
|
placementRight: Tt
|
|
36
36
|
};
|
|
37
37
|
var Pt = ['<div role="tooltip" class="', '"><span>', "</span>", "</div>"], zt = ['<div class="', '">', "", "</div>"];
|
|
38
|
-
const
|
|
38
|
+
const Ua = (e) => {
|
|
39
39
|
const [r, i] = D(!1), f = () => e.placement ?? "top";
|
|
40
40
|
F(() => {
|
|
41
41
|
});
|
|
@@ -100,7 +100,7 @@ function _e(e) {
|
|
|
100
100
|
captureReturnFocus: c
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function ja() {
|
|
104
104
|
let e = !1;
|
|
105
105
|
return {
|
|
106
106
|
noteMouseDown(r) {
|
|
@@ -112,9 +112,9 @@ function Ua() {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const
|
|
116
|
-
overlay:
|
|
117
|
-
dialog:
|
|
115
|
+
const Bt = "vk_overlay_7-umT", Wt = "vk_dialog_3YL-7", Ot = "vk_header_asYMs", Nt = "vk_title_0fm8I vk_titleLg_Iswm3", Ft = "vk_body_U-3RF", Vt = "vk_message_UsUIn", qt = "vk_promptField_jlrF3", Ht = "vk_footer_orvoX", Kt = "vk_codeScroll_rzK59", Yt = "vk_code_6rso-", Ut = "vk_codePre_Lj6QF", R = {
|
|
116
|
+
overlay: Bt,
|
|
117
|
+
dialog: Wt,
|
|
118
118
|
header: Ot,
|
|
119
119
|
title: Nt,
|
|
120
120
|
body: Ft,
|
|
@@ -209,7 +209,7 @@ function Zt(e) {
|
|
|
209
209
|
}
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Ga() {
|
|
213
213
|
const [e, r] = D(null), i = (c) => {
|
|
214
214
|
const b = e();
|
|
215
215
|
b && (b.resolve(c), r(null));
|
|
@@ -306,7 +306,7 @@ function en(e) {
|
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function Ja() {
|
|
310
310
|
const [e, r] = D(null);
|
|
311
311
|
let i = !1, f = Promise.resolve();
|
|
312
312
|
const m = (d) => {
|
|
@@ -446,7 +446,7 @@ function tn(e) {
|
|
|
446
446
|
}
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Qa() {
|
|
450
450
|
const [e, r] = D(null), [i, f] = D(""), m = (a) => {
|
|
451
451
|
const d = e();
|
|
452
452
|
d && (d.resolve(a), r(null));
|
|
@@ -500,7 +500,7 @@ function Ja() {
|
|
|
500
500
|
function nn(e) {
|
|
501
501
|
return e !== void 0 && e.type !== "separator";
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Xa(e) {
|
|
504
504
|
return e === "ArrowDown" || e === "ArrowUp" || e === "Home" || e === "End" || e === "ArrowRight" || e === "ArrowLeft";
|
|
505
505
|
}
|
|
506
506
|
function $e(e, r, i) {
|
|
@@ -517,7 +517,7 @@ function Qe(e) {
|
|
|
517
517
|
function rn(e) {
|
|
518
518
|
return $e(e, e.length, -1);
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Za(e, r, i) {
|
|
521
521
|
switch (i) {
|
|
522
522
|
case "ArrowDown":
|
|
523
523
|
return $e(e, r, 1);
|
|
@@ -609,7 +609,7 @@ function Xe(e) {
|
|
|
609
609
|
};
|
|
610
610
|
}, [m, c] = D(f()), [b, a] = D(null), [d, g] = D(-1), [y, L] = D(-1), O = ae(), k = (h) => `ctx-hint-${O}-${h}`, T = [];
|
|
611
611
|
let z;
|
|
612
|
-
const P = () => e.items.some((h) => Ee(h) && h.icon !== void 0), V = () => e.items.some((h) => Ee(h) && h.checked !== void 0),
|
|
612
|
+
const P = () => e.items.some((h) => Ee(h) && h.icon !== void 0), V = () => e.items.some((h) => Ee(h) && h.checked !== void 0), B = (h) => {
|
|
613
613
|
var v;
|
|
614
614
|
L(h), (v = T[h]) == null || v.focus({
|
|
615
615
|
preventScroll: !1
|
|
@@ -637,17 +637,17 @@ function Xe(e) {
|
|
|
637
637
|
})) : a($);
|
|
638
638
|
}, S = () => {
|
|
639
639
|
const h = d();
|
|
640
|
-
a(null), g(-1), h >= 0 &&
|
|
640
|
+
a(null), g(-1), h >= 0 && B(h);
|
|
641
641
|
}, M = () => {
|
|
642
642
|
};
|
|
643
|
-
|
|
643
|
+
We(() => {
|
|
644
644
|
queueMicrotask(() => {
|
|
645
645
|
if (i) return;
|
|
646
646
|
const l = e.hostWin.document.documentElement.getAttribute("data-focus-modality") === "pointer";
|
|
647
647
|
if (e.autoFocusFirst ?? (!l && e.depth === 0)) {
|
|
648
648
|
const p = Qe(e.items);
|
|
649
649
|
if (p >= 0) {
|
|
650
|
-
|
|
650
|
+
B(p);
|
|
651
651
|
return;
|
|
652
652
|
}
|
|
653
653
|
}
|
|
@@ -683,7 +683,7 @@ function Xe(e) {
|
|
|
683
683
|
element: () => r,
|
|
684
684
|
parent: e.parentLayer
|
|
685
685
|
});
|
|
686
|
-
return
|
|
686
|
+
return We(() => {
|
|
687
687
|
if (e.depth !== 0) return;
|
|
688
688
|
const h = e.hostWin, v = (C) => {
|
|
689
689
|
!ue(C, "Escape") || !ie.isTopmost() || (C.stopPropagation(), C.stopImmediatePropagation(), e.onRequestClose());
|
|
@@ -1025,13 +1025,13 @@ function Ze(e) {
|
|
|
1025
1025
|
} : {}
|
|
1026
1026
|
};
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function es(e, r) {
|
|
1029
1029
|
e.preventDefault(), e.stopPropagation(), ze.open(e.clientX, e.clientY, r.map(Ze), e);
|
|
1030
1030
|
}
|
|
1031
|
-
function
|
|
1031
|
+
function ts() {
|
|
1032
1032
|
ze.close();
|
|
1033
1033
|
}
|
|
1034
|
-
function
|
|
1034
|
+
function ns() {
|
|
1035
1035
|
return n(dt.Provider, {
|
|
1036
1036
|
value: ze,
|
|
1037
1037
|
get children() {
|
|
@@ -1039,11 +1039,11 @@ function ts() {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
});
|
|
1041
1041
|
}
|
|
1042
|
-
const Pn = "vk_backdrop_OD2hy", zn = "vk_drawer_TB0OC",
|
|
1042
|
+
const Pn = "vk_backdrop_OD2hy", zn = "vk_drawer_TB0OC", Bn = "vk_placementRight_qWrAL", Wn = "vk_placementLeft_zWVlF", On = "vk_placementBottom_ZOZT3", Nn = "vk_sizeSm_GISo4", Fn = "vk_sizeMd_GHr9h", Vn = "vk_sizeLg_RCTZF", qn = "vk_header_NeiDb", Hn = "vk_title_ku48d", Kn = "vk_closeBtn_1vaaT", Yn = "vk_body_XAjO6", Un = "vk_bodyContent_8qDK-", jn = "vk_footer_vRDdY", K = {
|
|
1043
1043
|
backdrop: Pn,
|
|
1044
1044
|
drawer: zn,
|
|
1045
|
-
placementRight:
|
|
1046
|
-
placementLeft:
|
|
1045
|
+
placementRight: Bn,
|
|
1046
|
+
placementLeft: Wn,
|
|
1047
1047
|
placementBottom: On,
|
|
1048
1048
|
sizeSm: Nn,
|
|
1049
1049
|
sizeMd: Fn,
|
|
@@ -1056,7 +1056,7 @@ const Pn = "vk_backdrop_OD2hy", zn = "vk_drawer_TB0OC", Wn = "vk_placementRight_
|
|
|
1056
1056
|
footer: jn
|
|
1057
1057
|
};
|
|
1058
1058
|
var Gn = ["<div", ' aria-hidden="true"></div>'], Jn = ["<h3", ">", "</h3>"], Qn = ["<div", ">", "</div>"], Xn = ["<footer", ">", "</footer>"], Zn = ['<aside class="', '" role="dialog" aria-modal="true"', ' tabindex="-1"><header', ">", '<button type="button"', ">", "</button></header><div", ">", "</div>", "</aside>"], er = "<div></div>";
|
|
1059
|
-
function
|
|
1059
|
+
function rs(e) {
|
|
1060
1060
|
const r = X((a) => e.open ? a ?? de().document : null, null), i = Se(() => e.open, "drawer", {
|
|
1061
1061
|
type: "modal",
|
|
1062
1062
|
element: () => null,
|
|
@@ -1122,7 +1122,7 @@ const tr = "vk_menuList_Rdcyj", nr = "vk_menuItem_mSh-r", rr = "vk_danger_SuHB-"
|
|
|
1122
1122
|
separator: ir
|
|
1123
1123
|
};
|
|
1124
1124
|
var lr = ["<div", ' style="', '">', "", "</div>"], cr = ['<div role="separator"', "></div>"], ur = ["<span", ' aria-hidden="true">', "</span>"], dr = ["<span", ">", "</span>"], mr = ['<button type="button" role="menuitem"', ' class="', '">', "<span", ">", "</span>", "</button>"];
|
|
1125
|
-
function
|
|
1125
|
+
function os(e) {
|
|
1126
1126
|
const [r, i] = D(!1);
|
|
1127
1127
|
let f = null;
|
|
1128
1128
|
const m = () => e.open !== void 0 ? e.open : r(), c = (d) => {
|
|
@@ -1220,7 +1220,7 @@ function rs(e) {
|
|
|
1220
1220
|
})));
|
|
1221
1221
|
}
|
|
1222
1222
|
var fr = ['<span style="', '" aria-hidden="true"></span>'], gr = ["<div", "><span>", "</span>", "</div>"], hr = ["<div", ' role="tooltip" class="', '" style="', '">', "</div>"], vr = ["<span>", "</span>"];
|
|
1223
|
-
function
|
|
1223
|
+
function as() {
|
|
1224
1224
|
let e, r;
|
|
1225
1225
|
const [i, f] = D({
|
|
1226
1226
|
top: -9999,
|
|
@@ -1287,7 +1287,7 @@ function os() {
|
|
|
1287
1287
|
})
|
|
1288
1288
|
})];
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function ss(e, r) {
|
|
1291
1291
|
const i = ae(), f = () => {
|
|
1292
1292
|
const b = r();
|
|
1293
1293
|
return b ? typeof b == "string" ? { content: b } : b : null;
|
|
@@ -1313,10 +1313,10 @@ function as(e, r) {
|
|
|
1313
1313
|
c(), e.removeEventListener("pointerenter", m), e.removeEventListener("pointerleave", c), e.removeEventListener("focusin", m), e.removeEventListener("focusout", c);
|
|
1314
1314
|
});
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function is(e, r) {
|
|
1317
1317
|
return e === "Escape" ? "dismiss" : e === "Enter" && r.step === "name" && r.nameMatches ? "advance" : "none";
|
|
1318
1318
|
}
|
|
1319
|
-
const br = "vk_overlay_Fd-y-", pr = "vk_dialog_Yf7zX", wr = "vk_header_CYXMR", _r = "vk_warningIcon_qizN5", kr = "vk_title_DPV4m vk_titleLg_Iswm3", Cr = "vk_body_Zvd50", yr = "vk_description_n-sBy", $r = "vk_resourceLine_BeZWP", Lr = "vk_resourceName_JQ9EK", Sr = "vk_field_JETn-", Ir = "vk_fieldLabel_u8YkC", xr = "vk_input_Smbpd", Dr = "vk_inputMatch_k6go-", Mr = "vk_optionsList_XwOCV", Er = "vk_optionRow_OYLHB", Ar = "vk_optionLabel_pJHcY", Rr = "vk_optionDescription_Zi6is", Tr = "vk_finalNote_PVV7h", Pr = "vk_consequenceNote_oaOZl", zr = "vk_selectedOptions_7tn0k",
|
|
1319
|
+
const br = "vk_overlay_Fd-y-", pr = "vk_dialog_Yf7zX", wr = "vk_header_CYXMR", _r = "vk_warningIcon_qizN5", kr = "vk_title_DPV4m vk_titleLg_Iswm3", Cr = "vk_body_Zvd50", yr = "vk_description_n-sBy", $r = "vk_resourceLine_BeZWP", Lr = "vk_resourceName_JQ9EK", Sr = "vk_field_JETn-", Ir = "vk_fieldLabel_u8YkC", xr = "vk_input_Smbpd", Dr = "vk_inputMatch_k6go-", Mr = "vk_optionsList_XwOCV", Er = "vk_optionRow_OYLHB", Ar = "vk_optionLabel_pJHcY", Rr = "vk_optionDescription_Zi6is", Tr = "vk_finalNote_PVV7h", Pr = "vk_consequenceNote_oaOZl", zr = "vk_selectedOptions_7tn0k", Br = "vk_selectedList_LFTe1", Wr = "vk_codeScroll_7A6w3", Or = "vk_code_ozAuk", Nr = "vk_codePre_01c25", Fr = "vk_countdown_CJhCw", Vr = "vk_footer_v0cjd", qr = "vk_footerSpacer_jQepg", x = {
|
|
1320
1320
|
overlay: br,
|
|
1321
1321
|
dialog: pr,
|
|
1322
1322
|
header: wr,
|
|
@@ -1337,8 +1337,8 @@ const br = "vk_overlay_Fd-y-", pr = "vk_dialog_Yf7zX", wr = "vk_header_CYXMR", _
|
|
|
1337
1337
|
finalNote: Tr,
|
|
1338
1338
|
consequenceNote: Pr,
|
|
1339
1339
|
selectedOptions: zr,
|
|
1340
|
-
selectedList:
|
|
1341
|
-
codeScroll:
|
|
1340
|
+
selectedList: Br,
|
|
1341
|
+
codeScroll: Wr,
|
|
1342
1342
|
code: Or,
|
|
1343
1343
|
codePre: Nr,
|
|
1344
1344
|
countdown: Fr,
|
|
@@ -1432,7 +1432,7 @@ const br = "vk_overlay_Fd-y-", pr = "vk_dialog_Yf7zX", wr = "vk_header_CYXMR", _
|
|
|
1432
1432
|
function tt(e) {
|
|
1433
1433
|
return !et[e].reversible;
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function ls(e) {
|
|
1436
1436
|
return tt(e) ? "typed" : "confirm";
|
|
1437
1437
|
}
|
|
1438
1438
|
function Hr(e) {
|
|
@@ -1617,7 +1617,7 @@ function so(e) {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
var qe = ["<p", ">", "</p>"], io = ["<div", ' tabindex="-1" role="presentation"><div', ' role="alertdialog" aria-modal="true"', ' tabindex="-1"><div', "><span", ' aria-hidden="true">!</span><h3', ">", "</h3></div><div", ">", "", "", "", "", "", "</div>", "</div></div>"];
|
|
1619
1619
|
const Ae = (e) => tt(e.consequence), lo = 5;
|
|
1620
|
-
function
|
|
1620
|
+
function cs(e) {
|
|
1621
1621
|
const r = ae(), i = ae(), [f, m] = D(null), [c, b] = D("name"), [a, d] = D(""), [g, y] = D({}), [L, O] = D(0);
|
|
1622
1622
|
let k = null, T = null, z = !1;
|
|
1623
1623
|
const P = () => {
|
|
@@ -1628,15 +1628,15 @@ function ls(e) {
|
|
|
1628
1628
|
open: () => f() !== null,
|
|
1629
1629
|
ownerDocument: V
|
|
1630
1630
|
});
|
|
1631
|
-
const
|
|
1631
|
+
const B = () => {
|
|
1632
1632
|
const v = k;
|
|
1633
1633
|
k = null, v == null || v();
|
|
1634
1634
|
}, j = () => {
|
|
1635
|
-
|
|
1635
|
+
B();
|
|
1636
1636
|
const v = T;
|
|
1637
1637
|
T = null, v == null || v(), m(null);
|
|
1638
1638
|
}, S = () => {
|
|
1639
|
-
|
|
1639
|
+
B(), b("name"), d(""), y({}), O(0);
|
|
1640
1640
|
}, M = (v) => {
|
|
1641
1641
|
const C = f();
|
|
1642
1642
|
if (!C) return;
|
|
@@ -1689,21 +1689,21 @@ function ls(e) {
|
|
|
1689
1689
|
const v = f();
|
|
1690
1690
|
if (!v || !Ae(v) || !re()) return;
|
|
1691
1691
|
const C = v.countdownSeconds ?? lo;
|
|
1692
|
-
|
|
1692
|
+
B(), b("countdown"), O(C);
|
|
1693
1693
|
const A = v.targetWin;
|
|
1694
1694
|
let l = !0;
|
|
1695
1695
|
const u = A.setInterval(() => {
|
|
1696
|
-
!l || f() !== v || O((p) => p <= 1 ? (
|
|
1696
|
+
!l || f() !== v || O((p) => p <= 1 ? (B(), 0) : p - 1);
|
|
1697
1697
|
}, 1e3);
|
|
1698
1698
|
k = () => {
|
|
1699
1699
|
l = !1, A.clearInterval(u);
|
|
1700
1700
|
};
|
|
1701
1701
|
}, ie = () => {
|
|
1702
|
-
|
|
1702
|
+
B(), b("name");
|
|
1703
1703
|
};
|
|
1704
1704
|
return J(() => {
|
|
1705
|
-
f() === null &&
|
|
1706
|
-
}), F(
|
|
1705
|
+
f() === null && B();
|
|
1706
|
+
}), F(B), [() => {
|
|
1707
1707
|
const v = () => f(), C = () => {
|
|
1708
1708
|
var E;
|
|
1709
1709
|
return ((E = v()) == null ? void 0 : E.options) ?? [];
|
|
@@ -1740,42 +1740,42 @@ function ls(e) {
|
|
|
1740
1740
|
},
|
|
1741
1741
|
idPrefix: "dangerous-action-dialog",
|
|
1742
1742
|
get children() {
|
|
1743
|
-
var E, Q,
|
|
1744
|
-
return w(io, o("class", t(x.overlay, !0), !1), o("class", t(x.dialog, !0), !1), o("aria-labelledby", t(r, !0), !1) + o("aria-describedby", (E = v()) != null && E.place ? t(i, !0) : t(void 0, !0), !1) + o("data-confirmation-level", t((Q = A()) == null ? void 0 : Q.level, !0), !1), o("class", t(x.header, !0), !1), o("class", t(x.warningIcon, !0), !1), o("id", t(r, !0), !1) + o("class", t(x.title, !0), !1), t(((
|
|
1743
|
+
var E, Q, Be;
|
|
1744
|
+
return w(io, o("class", t(x.overlay, !0), !1), o("class", t(x.dialog, !0), !1), o("aria-labelledby", t(r, !0), !1) + o("aria-describedby", (E = v()) != null && E.place ? t(i, !0) : t(void 0, !0), !1) + o("data-confirmation-level", t((Q = A()) == null ? void 0 : Q.level, !0), !1), o("class", t(x.header, !0), !1), o("class", t(x.warningIcon, !0), !1), o("id", t(r, !0), !1) + o("class", t(x.title, !0), !1), t(((Be = v()) == null ? void 0 : Be.title) ?? ""), o("class", t(x.body, !0), !1), t(n(_, {
|
|
1745
1745
|
get when() {
|
|
1746
|
-
var
|
|
1747
|
-
return (
|
|
1746
|
+
var W;
|
|
1747
|
+
return (W = v()) == null ? void 0 : W.place;
|
|
1748
1748
|
},
|
|
1749
|
-
children: (
|
|
1749
|
+
children: (W) => n(Ge, {
|
|
1750
1750
|
id: i,
|
|
1751
1751
|
get place() {
|
|
1752
|
-
return
|
|
1752
|
+
return W();
|
|
1753
1753
|
}
|
|
1754
1754
|
})
|
|
1755
1755
|
})), t(n(_, {
|
|
1756
1756
|
get when() {
|
|
1757
|
-
var
|
|
1758
|
-
return (
|
|
1757
|
+
var W;
|
|
1758
|
+
return (W = v()) == null ? void 0 : W.description;
|
|
1759
1759
|
},
|
|
1760
1760
|
get children() {
|
|
1761
1761
|
return w(qe, o("class", t(x.description, !0), !1), t(v().description));
|
|
1762
1762
|
}
|
|
1763
1763
|
})), t(n(_, {
|
|
1764
1764
|
get when() {
|
|
1765
|
-
var
|
|
1766
|
-
return (
|
|
1765
|
+
var W;
|
|
1766
|
+
return (W = v()) == null ? void 0 : W.code;
|
|
1767
1767
|
},
|
|
1768
|
-
children: (
|
|
1768
|
+
children: (W) => n(so, {
|
|
1769
1769
|
get code() {
|
|
1770
|
-
return
|
|
1770
|
+
return W();
|
|
1771
1771
|
}
|
|
1772
1772
|
})
|
|
1773
1773
|
})), t(n(_, {
|
|
1774
1774
|
get when() {
|
|
1775
1775
|
return ee(() => c() === "name")() ? u() : null;
|
|
1776
1776
|
},
|
|
1777
|
-
children: (
|
|
1778
|
-
request:
|
|
1777
|
+
children: (W) => [n(oo, {
|
|
1778
|
+
request: W,
|
|
1779
1779
|
typedName: a,
|
|
1780
1780
|
setTypedName: d,
|
|
1781
1781
|
inputRef: fe,
|
|
@@ -1789,9 +1789,9 @@ function ls(e) {
|
|
|
1789
1789
|
get when() {
|
|
1790
1790
|
return ee(() => c() === "countdown")() ? A() : null;
|
|
1791
1791
|
},
|
|
1792
|
-
children: (
|
|
1792
|
+
children: (W) => [n(Ve, {
|
|
1793
1793
|
get copy() {
|
|
1794
|
-
return
|
|
1794
|
+
return W();
|
|
1795
1795
|
},
|
|
1796
1796
|
get resourceName() {
|
|
1797
1797
|
var pe;
|
|
@@ -1816,9 +1816,9 @@ function ls(e) {
|
|
|
1816
1816
|
get when() {
|
|
1817
1817
|
return ee(() => c() === "confirm")() ? A() : null;
|
|
1818
1818
|
},
|
|
1819
|
-
children: (
|
|
1819
|
+
children: (W) => [n(Ve, {
|
|
1820
1820
|
get copy() {
|
|
1821
|
-
return
|
|
1821
|
+
return W();
|
|
1822
1822
|
},
|
|
1823
1823
|
get resourceName() {
|
|
1824
1824
|
var pe;
|
|
@@ -1863,9 +1863,9 @@ const co = "vk_window_cNPxa", uo = "vk_maximized_nbnO1", mo = "vk_minimized_7iRr
|
|
|
1863
1863
|
resizeGrip: Co
|
|
1864
1864
|
};
|
|
1865
1865
|
var yo = ["<span", ">", "</span>"], $o = ['<button type="button"', ">", "</button>"], Lo = ["<div", ' aria-hidden="true"></div>'], So = ['<div class="', '" style="', '" role="dialog" tabindex="-1"', '><div class="', '"><div', ">", "<span", ">", "</span></div><div", '><button type="button"', ">", '</button><button type="button"', ">", "</button>", '<button type="button" class="', '"', ">", "</button></div></div>", "</div>"];
|
|
1866
|
-
function
|
|
1867
|
-
var P, V,
|
|
1868
|
-
const [r, i] = D(((P = e.initialPosition) == null ? void 0 : P.x) ?? 24), [f, m] = D(((V = e.initialPosition) == null ? void 0 : V.y) ?? 24), [c, b] = D(((
|
|
1866
|
+
function us(e) {
|
|
1867
|
+
var P, V, B, j;
|
|
1868
|
+
const [r, i] = D(((P = e.initialPosition) == null ? void 0 : P.x) ?? 24), [f, m] = D(((V = e.initialPosition) == null ? void 0 : V.y) ?? 24), [c, b] = D(((B = e.initialSize) == null ? void 0 : B.width) ?? 360), [a, d] = D(((j = e.initialSize) == null ? void 0 : j.height) ?? 220), [g, y] = D(!1), [L, O] = D(!1), [k, T] = D(!1);
|
|
1869
1869
|
let z;
|
|
1870
1870
|
return Se(() => e.isOpen, "floating-window", {
|
|
1871
1871
|
type: "popover",
|
|
@@ -1964,7 +1964,7 @@ function Io(e, r) {
|
|
|
1964
1964
|
function xo(e) {
|
|
1965
1965
|
return [e.title, e.description, e.ariaShortcut].filter((r) => !!r).join(", ");
|
|
1966
1966
|
}
|
|
1967
|
-
const Do = "vk_backdrop_aa9-b", Mo = "vk_backdropCompact_PkBAv", Eo = "vk_backdropClassic_ehT8b", Ao = "vk_panel_unTU7", Ro = "vk_panelCompact_SIdhM", To = "vk_panelClassic_aiZlM", Po = "vk_searchRow_zeI45", zo = "vk_searchInput_oshkq",
|
|
1967
|
+
const Do = "vk_backdrop_aa9-b", Mo = "vk_backdropCompact_PkBAv", Eo = "vk_backdropClassic_ehT8b", Ao = "vk_panel_unTU7", Ro = "vk_panelCompact_SIdhM", To = "vk_panelClassic_aiZlM", Po = "vk_searchRow_zeI45", zo = "vk_searchInput_oshkq", Bo = "vk_results_zGg2V", Wo = "vk_section_RoSyC", Oo = "vk_sectionTitle_JpTJl", No = "vk_commandList_y7keL", Fo = "vk_commandItem_0v8jJ", Vo = "vk_commandItemActive_Ar6PV", qo = "vk_commandMain_ogAdz", Ho = "vk_commandTitle_auoxZ vk_titleSm_IecPV", Ko = "vk_commandDescription_8zkPN", Yo = "vk_commandShortcut_UAa5d", Uo = "vk_commandRow_LX6zz", jo = "vk_configureBtn_OMS9G", Go = "vk_commandRowActive_uNRXl", I = {
|
|
1968
1968
|
backdrop: Do,
|
|
1969
1969
|
backdropCompact: Mo,
|
|
1970
1970
|
backdropClassic: Eo,
|
|
@@ -1973,8 +1973,8 @@ const Do = "vk_backdrop_aa9-b", Mo = "vk_backdropCompact_PkBAv", Eo = "vk_backdr
|
|
|
1973
1973
|
panelClassic: To,
|
|
1974
1974
|
searchRow: Po,
|
|
1975
1975
|
searchInput: zo,
|
|
1976
|
-
results:
|
|
1977
|
-
section:
|
|
1976
|
+
results: Bo,
|
|
1977
|
+
section: Wo,
|
|
1978
1978
|
sectionTitle: Oo,
|
|
1979
1979
|
commandList: No,
|
|
1980
1980
|
commandItem: Fo,
|
|
@@ -1984,20 +1984,21 @@ const Do = "vk_backdrop_aa9-b", Mo = "vk_backdropCompact_PkBAv", Eo = "vk_backdr
|
|
|
1984
1984
|
commandDescription: Ko,
|
|
1985
1985
|
commandShortcut: Yo,
|
|
1986
1986
|
commandRow: Uo,
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1987
|
+
configureBtn: jo,
|
|
1988
|
+
commandRowActive: Go
|
|
1989
|
+
}, Jo = "vk_tabsContainer_CiFoB", Qo = "vk_tabButton_M-DwJ", Xo = "vk_tabButtonActive_pgOkL", Zo = "vk_tabBadge_sBmun", ea = "vk_tabBadgeActive_N-q86", ta = "vk_badge_meiW8", na = "vk_badgeSetting_LSTcT", ra = "vk_badgeDb_ThJRG", oa = "vk_statusRow_QoKuX", Z = {
|
|
1990
|
+
tabsContainer: Jo,
|
|
1991
|
+
tabButton: Qo,
|
|
1992
|
+
tabButtonActive: Xo,
|
|
1993
|
+
tabBadge: Zo,
|
|
1994
|
+
tabBadgeActive: ea,
|
|
1995
|
+
badge: ta,
|
|
1996
|
+
badgeSetting: na,
|
|
1997
|
+
badgeDb: ra,
|
|
1998
|
+
statusRow: oa
|
|
1998
1999
|
};
|
|
1999
|
-
var
|
|
2000
|
-
function
|
|
2000
|
+
var aa = ["<div", ' role="tablist"', ">", "</div>"], sa = ['<button type="button" role="tab"', ' class="', '"><span>', "</span>", "</button>"], ia = ['<span class="', '">●</span>'];
|
|
2001
|
+
function la(e) {
|
|
2001
2002
|
const r = [{
|
|
2002
2003
|
mode: "everywhere",
|
|
2003
2004
|
label: "All"
|
|
@@ -2011,15 +2012,15 @@ function ia(e) {
|
|
|
2011
2012
|
mode: "database",
|
|
2012
2013
|
label: "Database"
|
|
2013
2014
|
}];
|
|
2014
|
-
return Lt(), w(
|
|
2015
|
+
return Lt(), w(aa, o("class", t(Z.tabsContainer, !0), !1), o("aria-label", t(s("Search Everywhere"), !0), !1), t(n(oe, {
|
|
2015
2016
|
each: r,
|
|
2016
2017
|
children: (i) => {
|
|
2017
2018
|
const f = () => e.activeMode() === i.mode;
|
|
2018
|
-
return w(
|
|
2019
|
+
return w(sa, o("aria-selected", t(f(), !0), !1) + o("tabindex", f() ? 0 : -1, !1), `${t(Z.tabButton, !0)} ${f() ? t(Z.tabButtonActive, !0) : ""}`, t(s(i.label)), i.mode === "database" && e.hasWorkspaceContext() ? w(ia, `${t(Z.tabBadge, !0)} ${f() ? t(Z.tabBadgeActive, !0) : ""}`) : t(null));
|
|
2019
2020
|
}
|
|
2020
2021
|
})));
|
|
2021
2022
|
}
|
|
2022
|
-
function
|
|
2023
|
+
function ca(e) {
|
|
2023
2024
|
const {
|
|
2024
2025
|
mode: r,
|
|
2025
2026
|
query: i,
|
|
@@ -2083,11 +2084,11 @@ function la(e) {
|
|
|
2083
2084
|
const M = P.get(S.category) ?? [];
|
|
2084
2085
|
M.push(S), P.set(S.category, M);
|
|
2085
2086
|
}
|
|
2086
|
-
const V = c ?? [],
|
|
2087
|
+
const V = c ?? [], B = (S) => {
|
|
2087
2088
|
const M = V.indexOf(S);
|
|
2088
2089
|
return M === -1 ? V.length : M;
|
|
2089
2090
|
}, j = [...P.keys()].sort((S, M) => {
|
|
2090
|
-
const q =
|
|
2091
|
+
const q = B(S) - B(M);
|
|
2091
2092
|
return q !== 0 ? q : S.localeCompare(M);
|
|
2092
2093
|
});
|
|
2093
2094
|
for (const S of j) {
|
|
@@ -2145,12 +2146,12 @@ function la(e) {
|
|
|
2145
2146
|
items: a.slice(0, 10)
|
|
2146
2147
|
}), L;
|
|
2147
2148
|
}
|
|
2148
|
-
var
|
|
2149
|
+
var ua = ['<div class="', '"><div class="', '" role="dialog" aria-modal="true"', "><div", ">", "</div>", "", "</div></div>"], da = ["<div", ">", "</div>"], ma = ["<section", "><div", ">", "</div><div", ">", "</div></section>"], Re = ["<span", ">", "</span>"], Ke = ["<span", "><span", ">", "</span>", "</span>"], Ye = ['<span class="', '">', "</span>"], fa = ["<span", ' aria-hidden="true">', "</span>"], ga = ['<span style="', '">', "", "", "</span>"], ha = ['<div class="', '">', "", "</div>"], va = ["<span", "><span", ">", "</span></span>"], ba = ["<section", "><div", ">", "</div><div", ">", "", "</div></section>"];
|
|
2149
2150
|
const ce = "__palette_back__";
|
|
2150
|
-
function
|
|
2151
|
+
function pa(e) {
|
|
2151
2152
|
return e.kind === "command" && e.rawCommand ? xo(e.rawCommand) : [e.title, e.description, e.detail].filter((r) => !!r).join(", ");
|
|
2152
2153
|
}
|
|
2153
|
-
function
|
|
2154
|
+
function ds(e) {
|
|
2154
2155
|
const r = Se(() => e.open, "command-palette", {
|
|
2155
2156
|
type: "modal",
|
|
2156
2157
|
document: () => e.host().document
|
|
@@ -2185,7 +2186,7 @@ function us(e) {
|
|
|
2185
2186
|
}), z = St({
|
|
2186
2187
|
query: i,
|
|
2187
2188
|
enabled: () => e.open && !k() && (m() === "everywhere" || m() === "database")
|
|
2188
|
-
}), P = X(() => !e.open || k() ? [] : m() !== "everywhere" && m() !== "settings" ? [] : It(i(), m() === "settings" ? 40 : 8)), V = X(() => k() ? [] :
|
|
2189
|
+
}), P = X(() => !e.open || k() ? [] : m() !== "everywhere" && m() !== "settings" ? [] : It(i(), m() === "settings" ? 40 : 8)), V = X(() => k() ? [] : ca({
|
|
2189
2190
|
mode: m(),
|
|
2190
2191
|
query: i(),
|
|
2191
2192
|
commands: e.commands,
|
|
@@ -2194,7 +2195,7 @@ function us(e) {
|
|
|
2194
2195
|
settingsItems: P(),
|
|
2195
2196
|
databaseItems: z.items(),
|
|
2196
2197
|
hasWorkspaceContext: z.hasWorkspaceContext()
|
|
2197
|
-
})),
|
|
2198
|
+
})), B = X(() => {
|
|
2198
2199
|
const l = /* @__PURE__ */ new Map();
|
|
2199
2200
|
for (const u of V())
|
|
2200
2201
|
for (const p of u.items)
|
|
@@ -2244,7 +2245,7 @@ function us(e) {
|
|
|
2244
2245
|
J(() => {
|
|
2245
2246
|
var u;
|
|
2246
2247
|
if (!e.open) {
|
|
2247
|
-
g(null), c("everywhere");
|
|
2248
|
+
g(null), c("everywhere"), a(null);
|
|
2248
2249
|
return;
|
|
2249
2250
|
}
|
|
2250
2251
|
f(""), c("everywhere"), g(null);
|
|
@@ -2313,7 +2314,7 @@ function us(e) {
|
|
|
2313
2314
|
fe && ie(fe);
|
|
2314
2315
|
return;
|
|
2315
2316
|
}
|
|
2316
|
-
const H =
|
|
2317
|
+
const H = B().get($);
|
|
2317
2318
|
if (H) {
|
|
2318
2319
|
if (p.altKey && H.kind === "command" && H.rawCommand) {
|
|
2319
2320
|
se(H.rawCommand);
|
|
@@ -2371,7 +2372,7 @@ function us(e) {
|
|
|
2371
2372
|
return e.host().document.body;
|
|
2372
2373
|
},
|
|
2373
2374
|
get children() {
|
|
2374
|
-
return w(
|
|
2375
|
+
return w(ua, `${t(I.backdrop, !0)} ${e.style === "compact" ? t(I.backdropCompact, !0) : t(I.backdropClassic, !0)}`, `${t(I.panel, !0)} ${e.style === "compact" ? t(I.panelCompact, !0) : t(I.panelClassic, !0)}`, o("aria-label", t(s("Command Palette"), !0), !1), o("class", t(I.searchRow, !0), !1), t(n(Pe, {
|
|
2375
2376
|
get class() {
|
|
2376
2377
|
return I.searchInput;
|
|
2377
2378
|
},
|
|
@@ -2391,7 +2392,7 @@ function us(e) {
|
|
|
2391
2392
|
return !k();
|
|
2392
2393
|
},
|
|
2393
2394
|
get children() {
|
|
2394
|
-
return n(
|
|
2395
|
+
return n(la, {
|
|
2395
2396
|
activeMode: m,
|
|
2396
2397
|
onModeChange: c,
|
|
2397
2398
|
get hasWorkspaceContext() {
|
|
@@ -2483,7 +2484,7 @@ function us(e) {
|
|
|
2483
2484
|
});
|
|
2484
2485
|
},
|
|
2485
2486
|
get children() {
|
|
2486
|
-
return w(
|
|
2487
|
+
return w(da, o("class", t(Z.statusRow, !0), !1), t(s("Loading objects...")));
|
|
2487
2488
|
}
|
|
2488
2489
|
});
|
|
2489
2490
|
}
|
|
@@ -2496,11 +2497,11 @@ function us(e) {
|
|
|
2496
2497
|
get each() {
|
|
2497
2498
|
return V();
|
|
2498
2499
|
},
|
|
2499
|
-
children: (l) => w(
|
|
2500
|
+
children: (l) => w(ma, o("class", t(I.section, !0), !1), o("class", t(I.sectionTitle, !0), !1), t(l.label), o("class", t(I.commandList, !0), !1), t(n(oe, {
|
|
2500
2501
|
get each() {
|
|
2501
2502
|
return l.items;
|
|
2502
2503
|
},
|
|
2503
|
-
children: (u) => w(
|
|
2504
|
+
children: (u) => w(ha, `${t(I.commandRow, !0)} ${b() === u.id ? t(I.commandRowActive, !0) : ""}`, t(n(Ce, {
|
|
2504
2505
|
type: "button",
|
|
2505
2506
|
get class() {
|
|
2506
2507
|
return `${I.commandItem} ${b() === u.id ? I.commandItemActive : ""}`;
|
|
@@ -2509,7 +2510,7 @@ function us(e) {
|
|
|
2509
2510
|
return u.id;
|
|
2510
2511
|
},
|
|
2511
2512
|
get "aria-label"() {
|
|
2512
|
-
return
|
|
2513
|
+
return pa(u);
|
|
2513
2514
|
},
|
|
2514
2515
|
onMouseEnter: () => {
|
|
2515
2516
|
u.enabled && a(u.id);
|
|
@@ -2526,7 +2527,7 @@ function us(e) {
|
|
|
2526
2527
|
get children() {
|
|
2527
2528
|
return w(Re, o("class", t(I.commandDescription, !0), !1), t(u.description));
|
|
2528
2529
|
}
|
|
2529
|
-
}))), w(
|
|
2530
|
+
}))), w(ga, Y("display:", "inline-flex") + Y(";align-items:", "center") + Y(";gap:", "0.4rem"), t(n(_, {
|
|
2530
2531
|
get when() {
|
|
2531
2532
|
return u.kind === "setting";
|
|
2532
2533
|
},
|
|
@@ -2545,7 +2546,7 @@ function us(e) {
|
|
|
2545
2546
|
return u.shortcut;
|
|
2546
2547
|
},
|
|
2547
2548
|
get children() {
|
|
2548
|
-
return w(
|
|
2549
|
+
return w(fa, o("class", t(I.commandShortcut, !0), !1), t(u.shortcut));
|
|
2549
2550
|
}
|
|
2550
2551
|
})))];
|
|
2551
2552
|
}
|
|
@@ -2555,6 +2556,9 @@ function us(e) {
|
|
|
2555
2556
|
},
|
|
2556
2557
|
get children() {
|
|
2557
2558
|
return n(U, {
|
|
2559
|
+
get class() {
|
|
2560
|
+
return I.configureBtn;
|
|
2561
|
+
},
|
|
2558
2562
|
variant: "ghost",
|
|
2559
2563
|
size: "sm",
|
|
2560
2564
|
iconOnly: !0,
|
|
@@ -2581,7 +2585,7 @@ function us(e) {
|
|
|
2581
2585
|
}
|
|
2582
2586
|
});
|
|
2583
2587
|
},
|
|
2584
|
-
children: (l) => w(
|
|
2588
|
+
children: (l) => w(ba, o("class", t(I.section, !0), !1), o("class", t(I.sectionTitle, !0), !1), t(l().descriptor.title), o("class", t(I.commandList, !0), !1), t(n(_, {
|
|
2585
2589
|
get when() {
|
|
2586
2590
|
return d();
|
|
2587
2591
|
},
|
|
@@ -2595,7 +2599,7 @@ function us(e) {
|
|
|
2595
2599
|
onMouseEnter: () => a(ce),
|
|
2596
2600
|
onClick: () => ne(),
|
|
2597
2601
|
get children() {
|
|
2598
|
-
return w(
|
|
2602
|
+
return w(va, o("class", t(I.commandMain, !0), !1), o("class", t(I.commandTitle, !0), !1), t(s("← Back")));
|
|
2599
2603
|
}
|
|
2600
2604
|
});
|
|
2601
2605
|
}
|
|
@@ -2656,26 +2660,26 @@ function us(e) {
|
|
|
2656
2660
|
});
|
|
2657
2661
|
}
|
|
2658
2662
|
export {
|
|
2659
|
-
|
|
2663
|
+
Xa as A,
|
|
2660
2664
|
tt as B,
|
|
2661
|
-
|
|
2665
|
+
ds as C,
|
|
2662
2666
|
An as D,
|
|
2663
2667
|
rn as E,
|
|
2664
|
-
|
|
2668
|
+
us as F,
|
|
2665
2669
|
$e as G,
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
+
es as H,
|
|
2671
|
+
is as I,
|
|
2672
|
+
Za as J,
|
|
2673
|
+
ss as K,
|
|
2670
2674
|
oo as N,
|
|
2671
2675
|
Fe as O,
|
|
2672
2676
|
Me as S,
|
|
2673
|
-
|
|
2677
|
+
Ua as T,
|
|
2674
2678
|
Zt as a,
|
|
2675
2679
|
Ve as b,
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2680
|
+
ns as c,
|
|
2681
|
+
rs as d,
|
|
2682
|
+
os as e,
|
|
2679
2683
|
sn as f,
|
|
2680
2684
|
on as g,
|
|
2681
2685
|
an as h,
|
|
@@ -2683,17 +2687,17 @@ export {
|
|
|
2683
2687
|
ao as j,
|
|
2684
2688
|
so as k,
|
|
2685
2689
|
ro as l,
|
|
2686
|
-
|
|
2687
|
-
|
|
2690
|
+
as as m,
|
|
2691
|
+
ts as n,
|
|
2688
2692
|
un as o,
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2693
|
+
ls as p,
|
|
2694
|
+
Ga as q,
|
|
2695
|
+
cs as r,
|
|
2692
2696
|
Tn as s,
|
|
2693
2697
|
_e as t,
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2698
|
+
ja as u,
|
|
2699
|
+
Qa as v,
|
|
2700
|
+
Ja as w,
|
|
2697
2701
|
Hr as x,
|
|
2698
2702
|
cn as y,
|
|
2699
2703
|
Qe as z
|