st-comp 0.0.213 → 0.0.215
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/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +55 -55
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +3 -6
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +2 -2
- package/lib/{index-ead7586a.js → index-5f11e3e4.js} +231 -234
- package/lib/{python-2a542cf4.js → python-e8c63eb9.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineConfig/index.vue +1 -1
- package/packages/VarietySearch/components/CompositeOrder/index.vue +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentInstance as Wn, inject as _t, ref as ue, computed as te, unref as R, watch as
|
|
1
|
+
import { getCurrentInstance as Wn, inject as _t, ref as ue, computed as te, unref as R, watch as ot, shallowRef as hl, watchEffect as Ed, readonly as sw, customRef as Mhe, getCurrentScope as The, onScopeDispose as PQ, onMounted as rn, nextTick as Pt, isRef as e2, warn as Ahe, provide as zi, defineComponent as Be, openBlock as K, createElementBlock as pe, mergeProps as Kn, renderSlot as et, createElementVNode as fe, toRef as ko, onUnmounted as Vo, useAttrs as PA, useSlots as d3, normalizeClass as Ae, normalizeStyle as Jt, createCommentVNode as Ve, Fragment as ct, createBlock as Fe, withCtx as ae, resolveDynamicComponent as Ni, withModifiers as qn, toDisplayString as tt, onBeforeUnmount as Lr, Transition as fu, withDirectives as wi, vShow as so, createVNode as ne, reactive as Ai, onActivated as BQ, onUpdated as Eg, cloneVNode as khe, Comment as mN, Text as zQ, Teleport as VQ, onBeforeMount as BA, onDeactivated as Ihe, renderList as Ot, createTextVNode as lt, withKeys as vo, createSlots as _h, isVNode as Us, toRaw as vN, vModelCheckbox as HQ, toRefs as kc, vModelRadio as WQ, toHandlers as Ohe, h as Et, resolveComponent as kn, normalizeProps as jQ, guardReactiveProps as Rhe, TransitionGroup as Fhe, resolveDirective as zA, toHandlerKey as Phe, vModelText as Bhe, render as Ip, createApp as zhe, shallowReactive as $Q, markRaw as bN, pushScopeId as g1, popScopeId as m1, mergeModels as Pd, useModel as h3 } from "vue";
|
|
2
2
|
import * as Oo from "echarts";
|
|
3
3
|
const UQ = Symbol(), y5 = "el", Vhe = "is-", C2 = (n, e, t, i, r) => {
|
|
4
4
|
let o = `${n}-${e}`;
|
|
@@ -1390,7 +1390,7 @@ function ime(n, e) {
|
|
|
1390
1390
|
const o = ue(!0), s = () => {
|
|
1391
1391
|
o.value = !0, r();
|
|
1392
1392
|
};
|
|
1393
|
-
|
|
1393
|
+
ot(n, s, { flush: "sync" });
|
|
1394
1394
|
const a = zP(e) ? e : e.get, l = zP(e) ? void 0 : e.set, u = Mhe((c, d) => (i = c, r = d, {
|
|
1395
1395
|
get() {
|
|
1396
1396
|
return o.value && (t = a(), o.value = !1), i(), t;
|
|
@@ -1411,7 +1411,7 @@ function ome(n, e = 200, t = {}) {
|
|
|
1411
1411
|
const i = ue(n.value), r = rme(() => {
|
|
1412
1412
|
i.value = n.value;
|
|
1413
1413
|
}, e, t);
|
|
1414
|
-
return
|
|
1414
|
+
return ot(n, () => r()), i;
|
|
1415
1415
|
}
|
|
1416
1416
|
function LZ(n, e = !0) {
|
|
1417
1417
|
Wn() ? rn(n) : e ? n() : Pt(n);
|
|
@@ -1451,7 +1451,7 @@ function ao(...n) {
|
|
|
1451
1451
|
Array.isArray(t) || (t = [t]), Array.isArray(i) || (i = [i]);
|
|
1452
1452
|
const o = [], s = () => {
|
|
1453
1453
|
o.forEach((c) => c()), o.length = 0;
|
|
1454
|
-
}, a = (c, d, h, f) => (c.addEventListener(d, h, f), () => c.removeEventListener(d, h, f)), l =
|
|
1454
|
+
}, a = (c, d, h, f) => (c.addEventListener(d, h, f), () => c.removeEventListener(d, h, f)), l = ot(() => [oc(e), l9(r)], ([c, d]) => {
|
|
1455
1455
|
s(), c && o.push(...t.flatMap((h) => i.map((f) => a(c, h, f, d))));
|
|
1456
1456
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
1457
1457
|
l(), s();
|
|
@@ -1522,7 +1522,7 @@ function ds(n, e, t = {}) {
|
|
|
1522
1522
|
let s;
|
|
1523
1523
|
const a = TZ(() => r && "ResizeObserver" in r), l = () => {
|
|
1524
1524
|
s && (s.disconnect(), s = void 0);
|
|
1525
|
-
}, u =
|
|
1525
|
+
}, u = ot(() => oc(n), (d) => {
|
|
1526
1526
|
l(), a.value && r && d && (s = new ResizeObserver(e), s.observe(d, o));
|
|
1527
1527
|
}, { immediate: !0, flush: "post" }), c = () => {
|
|
1528
1528
|
l(), u();
|
|
@@ -1546,7 +1546,7 @@ function fme(n, e, t = {}) {
|
|
|
1546
1546
|
let s;
|
|
1547
1547
|
const a = TZ(() => r && "MutationObserver" in r), l = () => {
|
|
1548
1548
|
s && (s.disconnect(), s = void 0);
|
|
1549
|
-
}, u =
|
|
1549
|
+
}, u = ot(() => oc(n), (d) => {
|
|
1550
1550
|
l(), a.value && r && d && (s = new MutationObserver(e), s.observe(d, o));
|
|
1551
1551
|
}, { immediate: !0 }), c = () => {
|
|
1552
1552
|
l(), u();
|
|
@@ -2743,7 +2743,7 @@ const m3 = (n) => n, O5e = Bt({
|
|
|
2743
2743
|
return !!(!(n.label || n.ariaLabel) && e && e.inputIds && ((u = e.inputIds) == null ? void 0 : u.length) <= 1);
|
|
2744
2744
|
});
|
|
2745
2745
|
return rn(() => {
|
|
2746
|
-
a =
|
|
2746
|
+
a = ot([ko(n, "id"), t], ([u, c]) => {
|
|
2747
2747
|
const d = u ?? (c ? void 0 : ba().value);
|
|
2748
2748
|
d !== s.value && (e != null && e.removeInputId && !o() && (s.value && e.removeInputId(s.value), !(i != null && i.value) && !c && d && e.addInputId(d)), s.value = d);
|
|
2749
2749
|
}, { immediate: !0 });
|
|
@@ -2811,7 +2811,7 @@ function XZ(n, {
|
|
|
2811
2811
|
var p, g;
|
|
2812
2812
|
R(e) || c9(f.target) || (p = l.value) != null && p.contains(document.activeElement) && l.value !== document.activeElement || (g = n.value) == null || g.focus();
|
|
2813
2813
|
};
|
|
2814
|
-
return
|
|
2814
|
+
return ot([l, () => R(e)], ([f, p]) => {
|
|
2815
2815
|
f && (p ? f.removeAttribute("tabindex") : f.setAttribute("tabindex", "-1"));
|
|
2816
2816
|
}), ao(l, "focus", c, !0), ao(l, "blur", d, !0), ao(l, "click", h, !0), {
|
|
2817
2817
|
isFocused: u,
|
|
@@ -2995,10 +2995,10 @@ const $5e = "ElInput", U5e = Be({
|
|
|
2995
2995
|
}, B = () => {
|
|
2996
2996
|
t(Ei, ""), t(kr, ""), t("clear"), t(Xl, "");
|
|
2997
2997
|
};
|
|
2998
|
-
return
|
|
2998
|
+
return ot(() => i.modelValue, () => {
|
|
2999
2999
|
var z;
|
|
3000
3000
|
Pt(() => ge()), i.validateEvent && ((z = c == null ? void 0 : c.validate) == null || z.call(c, "change").catch((q) => void 0));
|
|
3001
|
-
}),
|
|
3001
|
+
}), ot(M, () => _e()), ot(() => i.type, async () => {
|
|
3002
3002
|
await Pt(), _e(), ge();
|
|
3003
3003
|
}), rn(() => {
|
|
3004
3004
|
!i.formatter && i.parser, _e(), Pt(ge);
|
|
@@ -3481,9 +3481,9 @@ const t9e = Bt({
|
|
|
3481
3481
|
var N;
|
|
3482
3482
|
(N = g.value) == null || N.update(), d[c] = !1;
|
|
3483
3483
|
};
|
|
3484
|
-
return
|
|
3484
|
+
return ot(() => i.noresize, (N) => {
|
|
3485
3485
|
N ? (o == null || o(), s == null || s(), a == null || a()) : ({ stop: o } = ds(p, L), { stop: s } = ds(f, L), a = ao("resize", L));
|
|
3486
|
-
}, { immediate: !0 }),
|
|
3486
|
+
}, { immediate: !0 }), ot(() => [i.maxHeight, i.height], () => {
|
|
3487
3487
|
i.native || Pt(() => {
|
|
3488
3488
|
var N;
|
|
3489
3489
|
L(), f.value && ((N = g.value) == null || N.handleScroll(f.value));
|
|
@@ -3714,16 +3714,16 @@ const g9e = Be({
|
|
|
3714
3714
|
"onContextmenu"
|
|
3715
3715
|
];
|
|
3716
3716
|
return rn(() => {
|
|
3717
|
-
|
|
3717
|
+
ot(() => t.virtualRef, (d) => {
|
|
3718
3718
|
d && (r.value = oc(d));
|
|
3719
3719
|
}, {
|
|
3720
3720
|
immediate: !0
|
|
3721
|
-
}),
|
|
3721
|
+
}), ot(r, (d, h) => {
|
|
3722
3722
|
u == null || u(), u = void 0, hc(d) && (c.forEach((f) => {
|
|
3723
3723
|
var p;
|
|
3724
3724
|
const g = t[f];
|
|
3725
3725
|
g && (d.addEventListener(f.slice(2).toLowerCase(), g, ["onFocus", "onBlur"].includes(f)), (p = h == null ? void 0 : h.removeEventListener) == null || p.call(h, f.slice(2).toLowerCase(), g, ["onFocus", "onBlur"].includes(f)));
|
|
3726
|
-
}), c9(d) && (u =
|
|
3726
|
+
}), c9(d) && (u = ot([o, s, a, l], (f) => {
|
|
3727
3727
|
[
|
|
3728
3728
|
"aria-controls",
|
|
3729
3729
|
"aria-describedby",
|
|
@@ -3933,9 +3933,9 @@ const hB = (n) => {
|
|
|
3933
3933
|
zi(dk, {
|
|
3934
3934
|
focusTrapRef: t,
|
|
3935
3935
|
onKeydown: a
|
|
3936
|
-
}),
|
|
3936
|
+
}), ot(() => n.focusTrapEl, (p) => {
|
|
3937
3937
|
p && (t.value = p);
|
|
3938
|
-
}, { immediate: !0 }),
|
|
3938
|
+
}, { immediate: !0 }), ot([t], ([p], [g]) => {
|
|
3939
3939
|
p && (p.addEventListener("keydown", a), p.addEventListener("focusin", c), p.addEventListener("focusout", d)), g && (g.removeEventListener("keydown", a), g.removeEventListener("focusin", c), g.removeEventListener("focusout", d));
|
|
3940
3940
|
});
|
|
3941
3941
|
const l = (p) => {
|
|
@@ -3993,7 +3993,7 @@ const hB = (n) => {
|
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
return rn(() => {
|
|
3996
|
-
n.trapped && h(),
|
|
3996
|
+
n.trapped && h(), ot(() => n.trapped, (p) => {
|
|
3997
3997
|
p ? h() : f();
|
|
3998
3998
|
});
|
|
3999
3999
|
}), Lr(() => {
|
|
@@ -4748,12 +4748,12 @@ const V8e = (n, e, t = {}) => {
|
|
|
4748
4748
|
}), a = () => {
|
|
4749
4749
|
o.value && (o.value.destroy(), o.value = void 0);
|
|
4750
4750
|
};
|
|
4751
|
-
return
|
|
4751
|
+
return ot(r, (l) => {
|
|
4752
4752
|
const u = R(o);
|
|
4753
4753
|
u && u.setOptions(l);
|
|
4754
4754
|
}, {
|
|
4755
4755
|
deep: !0
|
|
4756
|
-
}),
|
|
4756
|
+
}), ot([n, e], ([l, u]) => {
|
|
4757
4757
|
a(), !(!l || !u) && (o.value = A8e(l, u, R(r)));
|
|
4758
4758
|
}), Lr(() => {
|
|
4759
4759
|
a();
|
|
@@ -4806,10 +4806,10 @@ const W8e = 0, j8e = (n) => {
|
|
|
4806
4806
|
R(a)
|
|
4807
4807
|
])
|
|
4808
4808
|
})), c = te(() => P8e(n.referenceEl) || R(i)), { attributes: d, state: h, styles: f, update: p, forceUpdate: g, instanceRef: b } = V8e(c, t, u);
|
|
4809
|
-
return
|
|
4809
|
+
return ot(b, (m) => e.value = m, {
|
|
4810
4810
|
flush: "sync"
|
|
4811
4811
|
}), rn(() => {
|
|
4812
|
-
|
|
4812
|
+
ot(() => {
|
|
4813
4813
|
var m, y;
|
|
4814
4814
|
return (y = (m = R(c)) == null ? void 0 : m.getBoundingClientRect) == null ? void 0 : y.call(m);
|
|
4815
4815
|
}, () => {
|
|
@@ -4894,17 +4894,17 @@ const W8e = 0, j8e = (n) => {
|
|
|
4894
4894
|
L(!1), i.visible && i.focusOnShow ? o.value = !0 : i.visible === !1 && (o.value = !1);
|
|
4895
4895
|
};
|
|
4896
4896
|
return rn(() => {
|
|
4897
|
-
|
|
4897
|
+
ot(() => i.triggerTargetEl, (E, A) => {
|
|
4898
4898
|
D == null || D(), D = void 0;
|
|
4899
4899
|
const F = R(E || f.value), I = R(A || f.value);
|
|
4900
|
-
hc(F) && (D =
|
|
4900
|
+
hc(F) && (D = ot([b, () => i.ariaLabel, y, () => i.id], (k) => {
|
|
4901
4901
|
["role", "aria-label", "aria-modal", "id"].forEach((M, O) => {
|
|
4902
4902
|
Zl(k[O]) ? F.removeAttribute(M) : F.setAttribute(M, k[O]);
|
|
4903
4903
|
});
|
|
4904
4904
|
}, { immediate: !0 })), I !== F && hc(I) && ["role", "aria-label", "aria-modal", "id"].forEach((k) => {
|
|
4905
4905
|
I.removeAttribute(k);
|
|
4906
4906
|
});
|
|
4907
|
-
}, { immediate: !0 }),
|
|
4907
|
+
}, { immediate: !0 }), ot(() => i.visible, N, { immediate: !0 });
|
|
4908
4908
|
}), Lr(() => {
|
|
4909
4909
|
D == null || D(), D = void 0;
|
|
4910
4910
|
}), e({
|
|
@@ -5021,7 +5021,7 @@ const G8e = Wi(l9e), Ck = Symbol("elTooltip"), xk = Bt({
|
|
|
5021
5021
|
}, C = () => {
|
|
5022
5022
|
s.value ? _() : v();
|
|
5023
5023
|
};
|
|
5024
|
-
return
|
|
5024
|
+
return ot(() => p[n], w), l && h.appContext.config.globalProperties.$route !== void 0 && ot(() => ({
|
|
5025
5025
|
...h.proxy.$route
|
|
5026
5026
|
}), () => {
|
|
5027
5027
|
l.value && s.value && _();
|
|
@@ -5195,7 +5195,7 @@ const Sk = Wi(a6e), SX = () => {
|
|
|
5195
5195
|
const U = (P = o.value) == null ? void 0 : P.popperContentRef, Z = (O == null ? void 0 : O.relatedTarget) || document.activeElement;
|
|
5196
5196
|
return U == null ? void 0 : U.contains(Z);
|
|
5197
5197
|
};
|
|
5198
|
-
return
|
|
5198
|
+
return ot(() => R(c), (O) => {
|
|
5199
5199
|
O ? (S.value = !1, a = MZ(s, () => {
|
|
5200
5200
|
if (R(l))
|
|
5201
5201
|
return;
|
|
@@ -5203,7 +5203,7 @@ const Sk = Wi(a6e), SX = () => {
|
|
|
5203
5203
|
})) : a == null || a();
|
|
5204
5204
|
}, {
|
|
5205
5205
|
flush: "post"
|
|
5206
|
-
}),
|
|
5206
|
+
}), ot(() => t.content, () => {
|
|
5207
5207
|
var O, P;
|
|
5208
5208
|
(P = (O = o.value) == null ? void 0 : O.updatePopper) == null || P.call(O);
|
|
5209
5209
|
}), e({
|
|
@@ -5316,7 +5316,7 @@ const p6e = Be({
|
|
|
5316
5316
|
t("before-hide", c.value);
|
|
5317
5317
|
},
|
|
5318
5318
|
updatePopper: l
|
|
5319
|
-
}),
|
|
5319
|
+
}), ot(() => i.disabled, (v) => {
|
|
5320
5320
|
v && u.value && (u.value = !1);
|
|
5321
5321
|
});
|
|
5322
5322
|
const y = (v) => {
|
|
@@ -5798,7 +5798,7 @@ const NX = Wi(w6e), C6e = Bt({
|
|
|
5798
5798
|
});
|
|
5799
5799
|
var D6e = /* @__PURE__ */ jt(S6e, [["__file", "badge.vue"]]);
|
|
5800
5800
|
const N6e = Wi(D6e), EX = Symbol("buttonGroupContextKey"), wh = ({ from: n, replacement: e, scope: t, version: i, ref: r, type: o = "API" }, s) => {
|
|
5801
|
-
|
|
5801
|
+
ot(() => R(s), (a) => {
|
|
5802
5802
|
}, {
|
|
5803
5803
|
immediate: !0
|
|
5804
5804
|
});
|
|
@@ -6965,7 +6965,7 @@ const N4 = (n) => {
|
|
|
6965
6965
|
t.value || !i.value && !r.value && o.value && (p.composedPath().some((m) => m.tagName === "LABEL") || (e.value = u([!1, n.falseValue, n.falseLabel].includes(e.value)), await Pt(), c(e.value, p)));
|
|
6966
6966
|
}
|
|
6967
6967
|
const f = te(() => (s == null ? void 0 : s.validateEvent) || n.validateEvent);
|
|
6968
|
-
return
|
|
6968
|
+
return ot(() => n.modelValue, () => {
|
|
6969
6969
|
f.value && (a == null || a.validate("change").catch((p) => void 0));
|
|
6970
6970
|
}), {
|
|
6971
6971
|
handleChange: d,
|
|
@@ -7297,7 +7297,7 @@ const s7e = Bt({
|
|
|
7297
7297
|
]),
|
|
7298
7298
|
modelValue: l,
|
|
7299
7299
|
changeEvent: a
|
|
7300
|
-
}),
|
|
7300
|
+
}), ot(() => t.modelValue, (d, h) => {
|
|
7301
7301
|
t.validateEvent && !Uu(d, h) && (r == null || r.validate("change").catch((f) => void 0));
|
|
7302
7302
|
}), (d, h) => {
|
|
7303
7303
|
var f;
|
|
@@ -7567,7 +7567,7 @@ const m7e = Bt({
|
|
|
7567
7567
|
...kc(t),
|
|
7568
7568
|
changeEvent: u,
|
|
7569
7569
|
name: c
|
|
7570
|
-
})),
|
|
7570
|
+
})), ot(() => t.modelValue, (f, p) => {
|
|
7571
7571
|
t.validateEvent && !Uu(f, p) && (s == null || s.validate("change").catch((g) => void 0));
|
|
7572
7572
|
}), (f, p) => (K(), pe("div", {
|
|
7573
7573
|
id: R(a),
|
|
@@ -7819,7 +7819,7 @@ const E7e = Wi(N7e), L7e = Bt({
|
|
|
7819
7819
|
props: L7e,
|
|
7820
7820
|
setup(n, { slots: e }) {
|
|
7821
7821
|
const t = zZ(n);
|
|
7822
|
-
return
|
|
7822
|
+
return ot(() => n.message, (i) => {
|
|
7823
7823
|
var r, o;
|
|
7824
7824
|
Object.assign(Rs, (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.message) != null ? o : {}, i ?? {});
|
|
7825
7825
|
}, { immediate: !0, deep: !0 }), () => et(e, "default", { config: t == null ? void 0 : t.value });
|
|
@@ -8123,7 +8123,7 @@ const XX = Bt({
|
|
|
8123
8123
|
typeof document > "u" || o && document && (document.body.style.width = s, Sl(document.body, i.value));
|
|
8124
8124
|
}, 200);
|
|
8125
8125
|
};
|
|
8126
|
-
|
|
8126
|
+
ot(n, (l) => {
|
|
8127
8127
|
if (!l) {
|
|
8128
8128
|
a();
|
|
8129
8129
|
return;
|
|
@@ -8218,15 +8218,15 @@ const XX = Bt({
|
|
|
8218
8218
|
function U() {
|
|
8219
8219
|
n.closeOnPressEscape && A();
|
|
8220
8220
|
}
|
|
8221
|
-
return
|
|
8221
|
+
return ot(() => n.zIndex, () => {
|
|
8222
8222
|
var Z;
|
|
8223
8223
|
h.value = (Z = n.zIndex) != null ? Z : o();
|
|
8224
|
-
}),
|
|
8224
|
+
}), ot(() => n.modelValue, (Z) => {
|
|
8225
8225
|
var j;
|
|
8226
8226
|
Z ? (c.value = !1, N(), d.value = !0, h.value = (j = n.zIndex) != null ? j : o(), Pt(() => {
|
|
8227
8227
|
r("open"), e.value && (e.value.parentElement.scrollTop = 0, e.value.parentElement.scrollLeft = 0, e.value.scrollTop = 0);
|
|
8228
8228
|
})) : u.value && E();
|
|
8229
|
-
}),
|
|
8229
|
+
}), ot(() => n.fullscreen, (Z) => {
|
|
8230
8230
|
e.value && (Z ? (s = e.value.style.transform, e.value.style.transform = "") : e.value.style.transform = s);
|
|
8231
8231
|
}), rn(() => {
|
|
8232
8232
|
n.modelValue && (u.value = !0, d.value = !0, N());
|
|
@@ -8479,7 +8479,7 @@ function Y7e(n, e) {
|
|
|
8479
8479
|
const _ = (v = e.value) == null ? void 0 : v.closest('[aria-modal="true"]');
|
|
8480
8480
|
return _ ? r.value ? _.offsetWidth : _.offsetHeight : 100;
|
|
8481
8481
|
};
|
|
8482
|
-
|
|
8482
|
+
ot(() => [n.size, n.resizable], () => {
|
|
8483
8483
|
d.value = !1, l.value = 0, u.value = 0, m();
|
|
8484
8484
|
});
|
|
8485
8485
|
const g = (v) => {
|
|
@@ -8832,7 +8832,7 @@ const nJ = "data-el-collection-item", iJ = (n) => {
|
|
|
8832
8832
|
onBlur: f,
|
|
8833
8833
|
onFocus: h,
|
|
8834
8834
|
onMousedown: d
|
|
8835
|
-
}),
|
|
8835
|
+
}), ot(() => n.currentTabId, (g) => {
|
|
8836
8836
|
i.value = g ?? null;
|
|
8837
8837
|
}), ao(s, AB, p);
|
|
8838
8838
|
}
|
|
@@ -9802,7 +9802,7 @@ const J6 = (n, e) => {
|
|
|
9802
9802
|
const C = u(_);
|
|
9803
9803
|
C && ((w = C.$el) == null || w.scrollIntoView(i.scrollIntoViewOptions));
|
|
9804
9804
|
};
|
|
9805
|
-
return
|
|
9805
|
+
return ot(() => i.rules, () => {
|
|
9806
9806
|
i.validateOnRuleChange && b().catch((_) => void 0);
|
|
9807
9807
|
}, { deep: !0, flush: "post" }), zi(Ag, Ai({
|
|
9808
9808
|
...kc(i),
|
|
@@ -10554,7 +10554,7 @@ var zbe = Be({
|
|
|
10554
10554
|
u();
|
|
10555
10555
|
}), Lr(() => {
|
|
10556
10556
|
l("remove");
|
|
10557
|
-
}), Eg(() => u()),
|
|
10557
|
+
}), Eg(() => u()), ot(s, (c, d) => {
|
|
10558
10558
|
n.updateAll && (t == null || t.registerLabelWidth(c, d));
|
|
10559
10559
|
}), ds(te(() => {
|
|
10560
10560
|
var c, d;
|
|
@@ -10684,9 +10684,9 @@ const Vbe = Be({
|
|
|
10684
10684
|
}, ge = (ce) => {
|
|
10685
10685
|
u.value = u.value.filter((_e) => _e !== ce);
|
|
10686
10686
|
};
|
|
10687
|
-
|
|
10687
|
+
ot(() => t.error, (ce) => {
|
|
10688
10688
|
h.value = ce || "", O(ce ? "error" : "");
|
|
10689
|
-
}, { immediate: !0 }),
|
|
10689
|
+
}, { immediate: !0 }), ot(() => t.validateStatus, (ce) => O(ce || ""));
|
|
10690
10690
|
const se = Ai({
|
|
10691
10691
|
...kc(t),
|
|
10692
10692
|
$el: f,
|
|
@@ -10948,10 +10948,10 @@ const i2 = Wi(obe, {
|
|
|
10948
10948
|
}, I = (k) => {
|
|
10949
10949
|
document.activeElement === k.target && k.preventDefault();
|
|
10950
10950
|
};
|
|
10951
|
-
return
|
|
10951
|
+
return ot(() => i.modelValue, (k, M) => {
|
|
10952
10952
|
const O = C(k, !0);
|
|
10953
10953
|
a.userInput === null && O !== M && (a.currentValue = O);
|
|
10954
|
-
}, { immediate: !0 }),
|
|
10954
|
+
}, { immediate: !0 }), ot(() => i.precision, () => {
|
|
10955
10955
|
a.currentValue = C(i.modelValue);
|
|
10956
10956
|
}), rn(() => {
|
|
10957
10957
|
var k;
|
|
@@ -11324,7 +11324,7 @@ var Ok = Be({
|
|
|
11324
11324
|
}
|
|
11325
11325
|
h == null || h(), u.mouseInChild.value = !1, { stop: h } = u9(() => !f.value && l.closeMenu(n.index, r.value), I.value), v.value && Z && ((j = u.handleMouseleave) == null || j.call(u, !0));
|
|
11326
11326
|
};
|
|
11327
|
-
|
|
11327
|
+
ot(() => l.props.collapse, (Z) => M(!!Z));
|
|
11328
11328
|
{
|
|
11329
11329
|
const Z = (V) => {
|
|
11330
11330
|
d.value[V.index] = V;
|
|
@@ -11568,11 +11568,11 @@ var o_e = Be({
|
|
|
11568
11568
|
};
|
|
11569
11569
|
E ? O() : N(O)(), E = !1;
|
|
11570
11570
|
};
|
|
11571
|
-
|
|
11571
|
+
ot(() => n.defaultActive, (M) => {
|
|
11572
11572
|
p.value[M] || (f.value = ""), x(M);
|
|
11573
|
-
}),
|
|
11573
|
+
}), ot(() => n.collapse, (M) => {
|
|
11574
11574
|
M && (h.value = []);
|
|
11575
|
-
}),
|
|
11575
|
+
}), ot(p.value, m);
|
|
11576
11576
|
let F;
|
|
11577
11577
|
Ed(() => {
|
|
11578
11578
|
n.mode === "horizontal" && n.ellipsis ? F = ds(s, A).stop : F == null || F();
|
|
@@ -11914,16 +11914,16 @@ function D_e(n, e) {
|
|
|
11914
11914
|
const p = new RegExp(S_e(f), "i");
|
|
11915
11915
|
e.visible = p.test(String(s.value)) || n.created;
|
|
11916
11916
|
};
|
|
11917
|
-
return
|
|
11917
|
+
return ot(() => s.value, () => {
|
|
11918
11918
|
!n.created && !t.props.remote && t.setSelected();
|
|
11919
|
-
}),
|
|
11919
|
+
}), ot(() => n.value, (f, p) => {
|
|
11920
11920
|
const { remote: g, valueKey: b } = t.props;
|
|
11921
11921
|
if ((g ? f !== p : !Uu(f, p)) && (t.onOptionDestroy(p, u.proxy), t.onOptionCreate(u.proxy)), !n.created && !g) {
|
|
11922
11922
|
if (b && Li(f) && Li(p) && f[b] === p[b])
|
|
11923
11923
|
return;
|
|
11924
11924
|
t.setSelected();
|
|
11925
11925
|
}
|
|
11926
|
-
}),
|
|
11926
|
+
}), ot(() => i.disabled, () => {
|
|
11927
11927
|
e.groupDisabled = i.disabled;
|
|
11928
11928
|
}, { immediate: !0 }), {
|
|
11929
11929
|
select: t,
|
|
@@ -12116,18 +12116,18 @@ const A_e = (n, e) => {
|
|
|
12116
12116
|
const Ct = (Ke = n.placeholder) != null ? Ke : t("el.select.placeholder");
|
|
12117
12117
|
return n.multiple || !M.value ? Ct : s.selectedLabel;
|
|
12118
12118
|
}), re = te(() => EN ? null : "mouseenter");
|
|
12119
|
-
|
|
12119
|
+
ot(() => n.modelValue, (Ke, Ct) => {
|
|
12120
12120
|
n.multiple && n.filterable && !n.reserveKeyword && (s.inputValue = "", ee("")), Y(), !Uu(Ke, Ct) && n.validateEvent && (w == null || w.validate("change").catch((Dn) => void 0));
|
|
12121
12121
|
}, {
|
|
12122
12122
|
flush: "post",
|
|
12123
12123
|
deep: !0
|
|
12124
|
-
}),
|
|
12124
|
+
}), ot(() => y.value, (Ke) => {
|
|
12125
12125
|
Ke ? ee(s.inputValue) : (s.inputValue = "", s.previousQuery = null, s.isBeforeHide = !0), e("visible-change", Ke);
|
|
12126
|
-
}),
|
|
12126
|
+
}), ot(() => s.options.entries(), () => {
|
|
12127
12127
|
Ri && (Y(), n.defaultFirstOption && (n.filterable || n.remote) && se.value && le());
|
|
12128
12128
|
}, {
|
|
12129
12129
|
flush: "post"
|
|
12130
|
-
}),
|
|
12130
|
+
}), ot([() => s.hoveringIndex, ce], ([Ke]) => {
|
|
12131
12131
|
Vt(Ke) && Ke > -1 ? v.value = ce.value[Ke] || {} : v.value = {}, ce.value.forEach((Ct) => {
|
|
12132
12132
|
Ct.hover = v.value === Ct;
|
|
12133
12133
|
});
|
|
@@ -12313,7 +12313,7 @@ const A_e = (n, e) => {
|
|
|
12313
12313
|
};
|
|
12314
12314
|
ds(l, B), ds(F, q), ds(g, G), ds(b, z);
|
|
12315
12315
|
let ol;
|
|
12316
|
-
return
|
|
12316
|
+
return ot(() => ie.value, (Ke) => {
|
|
12317
12317
|
Ke ? ol = ds(p, q).stop : (ol == null || ol(), ol = void 0);
|
|
12318
12318
|
}), rn(() => {
|
|
12319
12319
|
Y();
|
|
@@ -12650,7 +12650,7 @@ const BB = "ElSelect", F_e = Be({
|
|
|
12650
12650
|
}
|
|
12651
12651
|
});
|
|
12652
12652
|
};
|
|
12653
|
-
|
|
12653
|
+
ot(() => {
|
|
12654
12654
|
var m;
|
|
12655
12655
|
return (m = t.default) == null ? void 0 : m.call(t);
|
|
12656
12656
|
}, (m) => {
|
|
@@ -13083,12 +13083,12 @@ const Pk = () => _t(wJ, {}), z_e = Bt({
|
|
|
13083
13083
|
emits: ["page-size-change"],
|
|
13084
13084
|
setup(n, { emit: e }) {
|
|
13085
13085
|
const t = n, { t: i } = ws(), r = Lt("pagination"), o = Pk(), s = ue(t.pageSize);
|
|
13086
|
-
|
|
13086
|
+
ot(() => t.pageSizes, (u, c) => {
|
|
13087
13087
|
if (!Uu(u, c) && fn(u)) {
|
|
13088
13088
|
const d = u.includes(t.pageSize) ? t.pageSize : t.pageSizes[0];
|
|
13089
13089
|
e("page-size-change", d);
|
|
13090
13090
|
}
|
|
13091
|
-
}),
|
|
13091
|
+
}), ot(() => t.pageSize, (u) => {
|
|
13092
13092
|
s.value = u;
|
|
13093
13093
|
});
|
|
13094
13094
|
const a = te(() => t.pageSizes);
|
|
@@ -13243,7 +13243,7 @@ const Z_e = Bt({
|
|
|
13243
13243
|
r.b(),
|
|
13244
13244
|
i.is("disabled", t.disabled)
|
|
13245
13245
|
]), g = te(() => t.disabled ? -1 : 0);
|
|
13246
|
-
|
|
13246
|
+
ot(() => [t.pageCount, t.pagerCount, t.currentPage], ([_, w, C]) => {
|
|
13247
13247
|
const x = (w - 1) / 2;
|
|
13248
13248
|
let S = !1, D = !1;
|
|
13249
13249
|
_ > w && (S = C > w - x, D = C < _ - x), l.value && (l.value = S), u.value && (u.value = D), s.value = S, a.value = D;
|
|
@@ -13438,9 +13438,9 @@ var iye = Be({
|
|
|
13438
13438
|
w < 1 ? C = 1 : w > p.value && (C = p.value), ta(n.currentPage) && (h.value = C), l && (e("update:current-page", C), e("current-change", C));
|
|
13439
13439
|
}
|
|
13440
13440
|
});
|
|
13441
|
-
|
|
13441
|
+
ot(p, (w) => {
|
|
13442
13442
|
g.value > w && (g.value = w);
|
|
13443
|
-
}),
|
|
13443
|
+
}), ot([g, f], (w) => {
|
|
13444
13444
|
e(kr, ...w);
|
|
13445
13445
|
}, { flush: "post" });
|
|
13446
13446
|
function b(w) {
|
|
@@ -14069,7 +14069,7 @@ const KB = Be({
|
|
|
14069
14069
|
const x = Math.abs(C.target.getBoundingClientRect()[c.value.direction] - C[c.value.client]), S = s.value[c.value.offset] / 2, D = x - S;
|
|
14070
14070
|
u.traveled = Math.max(0, Math.min(D, g.value)), e("scroll", D, g.value);
|
|
14071
14071
|
};
|
|
14072
|
-
return
|
|
14072
|
+
return ot(() => n.scrollFrom, (C) => {
|
|
14073
14073
|
u.isDragging || (u.traveled = Math.ceil(C * g.value));
|
|
14074
14074
|
}), Lr(() => {
|
|
14075
14075
|
m();
|
|
@@ -14180,11 +14180,11 @@ const KB = Be({
|
|
|
14180
14180
|
]), g = te(() => ({
|
|
14181
14181
|
width: wo(i.width)
|
|
14182
14182
|
}));
|
|
14183
|
-
|
|
14183
|
+
ot(() => i.modelValue, () => {
|
|
14184
14184
|
u.value = !0;
|
|
14185
14185
|
});
|
|
14186
14186
|
const b = te(() => u.value ? i.modelValue : !1), m = te(() => b.value === i.activeValue);
|
|
14187
|
-
[i.activeValue, i.inactiveValue].includes(b.value) || (t(Ei, i.inactiveValue), t(kr, i.inactiveValue), t(Xl, i.inactiveValue)),
|
|
14187
|
+
[i.activeValue, i.inactiveValue].includes(b.value) || (t(Ei, i.inactiveValue), t(kr, i.inactiveValue), t(Xl, i.inactiveValue)), ot(m, (w) => {
|
|
14188
14188
|
var C;
|
|
14189
14189
|
c.value.checked = w, i.validateEvent && ((C = r == null ? void 0 : r.validate) == null || C.call(r, "change").catch((x) => void 0));
|
|
14190
14190
|
});
|
|
@@ -14727,11 +14727,11 @@ function $ye(n) {
|
|
|
14727
14727
|
}
|
|
14728
14728
|
t.value = N, (x = u.store) == null || x.updateTableScrollY();
|
|
14729
14729
|
};
|
|
14730
|
-
|
|
14730
|
+
ot(() => e.value, () => {
|
|
14731
14731
|
f(!0);
|
|
14732
|
-
}),
|
|
14732
|
+
}), ot(() => c.value, () => {
|
|
14733
14733
|
f();
|
|
14734
|
-
}),
|
|
14734
|
+
}), ot(() => d.value, () => {
|
|
14735
14735
|
f();
|
|
14736
14736
|
});
|
|
14737
14737
|
const p = (_) => {
|
|
@@ -14794,7 +14794,7 @@ const Uye = (n, e) => {
|
|
|
14794
14794
|
function qye() {
|
|
14795
14795
|
var n;
|
|
14796
14796
|
const e = Wn(), { size: t } = kc((n = e.proxy) == null ? void 0 : n.$props), i = ue(null), r = ue([]), o = ue([]), s = ue(!1), a = ue([]), l = ue([]), u = ue([]), c = ue([]), d = ue([]), h = ue([]), f = ue([]), p = ue([]), g = [], b = ue(0), m = ue(0), y = ue(0), v = ue(!1), _ = ue([]), w = ue(!1), C = ue(!1), x = ue(null), S = ue({}), D = ue(null), L = ue(null), N = ue(null), E = ue(null), A = ue(null), F = te(() => i.value ? J4(_.value, i.value) : void 0);
|
|
14797
|
-
|
|
14797
|
+
ot(r, () => {
|
|
14798
14798
|
var Te;
|
|
14799
14799
|
e.state && (O(!1), e.props.tableLayout === "auto" && ((Te = e.refs.tableHeaderRef) == null || Te.updateFixedColumnStyle()));
|
|
14800
14800
|
}, {
|
|
@@ -15177,7 +15177,7 @@ function Gye(n, e) {
|
|
|
15177
15177
|
}
|
|
15178
15178
|
function Yye(n, e) {
|
|
15179
15179
|
Object.keys(Wk).forEach((t) => {
|
|
15180
|
-
|
|
15180
|
+
ot(() => WJ(e, t), (i) => {
|
|
15181
15181
|
HJ(i, t, n);
|
|
15182
15182
|
});
|
|
15183
15183
|
});
|
|
@@ -15392,7 +15392,7 @@ const { CheckboxGroup: Zye } = zd, Xye = Be({
|
|
|
15392
15392
|
values: w
|
|
15393
15393
|
}), (x = n.store) == null || x.updateAllSelected();
|
|
15394
15394
|
};
|
|
15395
|
-
|
|
15395
|
+
ot(o, (w) => {
|
|
15396
15396
|
var C;
|
|
15397
15397
|
n.column && ((C = n.upDataColumn) == null || C.call(n, "filterOpened", w));
|
|
15398
15398
|
}, {
|
|
@@ -15793,7 +15793,7 @@ var rwe = Be({
|
|
|
15793
15793
|
}), u.clear());
|
|
15794
15794
|
});
|
|
15795
15795
|
};
|
|
15796
|
-
|
|
15796
|
+
ot(u, h), Lr(() => {
|
|
15797
15797
|
d && (clearTimeout(d), d = void 0);
|
|
15798
15798
|
}), rn(async () => {
|
|
15799
15799
|
await Pt(), await Pt();
|
|
@@ -16268,7 +16268,7 @@ var hwe = Be({
|
|
|
16268
16268
|
setup(n) {
|
|
16269
16269
|
var e;
|
|
16270
16270
|
const t = Wn(), i = _t(w1), r = Lt("table"), { wrappedRowRender: o, tooltipContent: s, tooltipTrigger: a } = cwe(n), { onColumnsChange: l, onScrollableChange: u } = jk(i), c = [];
|
|
16271
|
-
return
|
|
16271
|
+
return ot((e = n.store) == null ? void 0 : e.states.hoverRow, (d, h) => {
|
|
16272
16272
|
var f, p;
|
|
16273
16273
|
const g = t == null ? void 0 : t.vnode.el, b = Array.from((g == null ? void 0 : g.children) || []).filter((v) => v == null ? void 0 : v.classList.contains(`${r.e("row")}`));
|
|
16274
16274
|
let m = d;
|
|
@@ -16487,11 +16487,11 @@ function vwe(n, e, t, i) {
|
|
|
16487
16487
|
}), Ed(() => {
|
|
16488
16488
|
var M;
|
|
16489
16489
|
e.setMaxHeight((M = n.maxHeight) != null ? M : null);
|
|
16490
|
-
}),
|
|
16490
|
+
}), ot(() => [n.currentRowKey, t.states.rowKey], ([M, O]) => {
|
|
16491
16491
|
!R(O) || !R(M) || t.setCurrentRowKey(`${M}`);
|
|
16492
16492
|
}, {
|
|
16493
16493
|
immediate: !0
|
|
16494
|
-
}),
|
|
16494
|
+
}), ot(() => n.data, (M) => {
|
|
16495
16495
|
i.store.commit("setData", M);
|
|
16496
16496
|
}, {
|
|
16497
16497
|
immediate: !0,
|
|
@@ -17355,7 +17355,7 @@ function Bwe(n, e) {
|
|
|
17355
17355
|
}, a = tz(o, s);
|
|
17356
17356
|
Object.keys(a).forEach((l) => {
|
|
17357
17357
|
const u = s[l];
|
|
17358
|
-
Ql(e, u) &&
|
|
17358
|
+
Ql(e, u) && ot(() => e[u], (c) => {
|
|
17359
17359
|
let d = c;
|
|
17360
17360
|
u === "width" && l === "realWidth" && (d = zk(c)), u === "minWidth" && l === "realMinWidth" && (d = BJ(c)), t.columnConfig.value[u] = d, t.columnConfig.value[l] = d;
|
|
17361
17361
|
const h = u === "fixed";
|
|
@@ -17384,11 +17384,11 @@ function Bwe(n, e) {
|
|
|
17384
17384
|
}, l = tz(o, a);
|
|
17385
17385
|
Object.keys(l).forEach((u) => {
|
|
17386
17386
|
const c = a[u];
|
|
17387
|
-
Ql(e, c) &&
|
|
17387
|
+
Ql(e, c) && ot(() => e[c], (d) => {
|
|
17388
17388
|
t.columnConfig.value[u] = d;
|
|
17389
17389
|
});
|
|
17390
17390
|
}), s.forEach((u) => {
|
|
17391
|
-
Ql(n.value.props, u) &&
|
|
17391
|
+
Ql(n.value.props, u) && ot(() => n.value.props[u], (c) => {
|
|
17392
17392
|
t.columnConfig.value[u] = c;
|
|
17393
17393
|
});
|
|
17394
17394
|
});
|
|
@@ -17734,7 +17734,7 @@ const $we = (n, {
|
|
|
17734
17734
|
var g;
|
|
17735
17735
|
(g = e.value) == null || g.scrollToRow(f, p);
|
|
17736
17736
|
}
|
|
17737
|
-
return
|
|
17737
|
+
return ot(() => R(o).scrollTop, (f, p) => {
|
|
17738
17738
|
f > p && r();
|
|
17739
17739
|
}), {
|
|
17740
17740
|
scrollPos: o,
|
|
@@ -17828,7 +17828,7 @@ const $we = (n, {
|
|
|
17828
17828
|
const { data: a, expandColumnKey: l } = n;
|
|
17829
17829
|
return l ? R(o) : a;
|
|
17830
17830
|
});
|
|
17831
|
-
return
|
|
17831
|
+
return ot(s, (a, l) => {
|
|
17832
17832
|
a !== l && (t.value = -1, i(0, !0));
|
|
17833
17833
|
}), {
|
|
17834
17834
|
data: s,
|
|
@@ -17966,7 +17966,7 @@ function Ywe(n) {
|
|
|
17966
17966
|
const { scrollTop: W } = R(y), Q = R(O), re = R(oe), ee = Q - (W + re) + n.hScrollbarSize;
|
|
17967
17967
|
!Ee.value && R(x) >= 0 && Q <= W + R(Z) - R(ce) ? (Ee.value = !0, ie(ee)) : Ee.value = !1;
|
|
17968
17968
|
}
|
|
17969
|
-
return
|
|
17969
|
+
return ot(() => R(O), () => Ee.value = !1), ot(() => n.expandedRowKeys, (ie) => C.value = ie, {
|
|
17970
17970
|
deep: !0
|
|
17971
17971
|
}), {
|
|
17972
17972
|
columns: r,
|
|
@@ -18910,7 +18910,7 @@ const tCe = ({ atXEndEdge: n, atXStartEdge: e, atYEndEdge: t, atYStartEdge: i },
|
|
|
18910
18910
|
var b, m;
|
|
18911
18911
|
(b = R(t)) == null || b.$forceUpdate(), (m = R(e)) == null || m.$forceUpdate();
|
|
18912
18912
|
}
|
|
18913
|
-
return
|
|
18913
|
+
return ot(() => n.bodyWidth, () => {
|
|
18914
18914
|
var b;
|
|
18915
18915
|
Vt(n.estimatedRowHeight) && ((b = t.value) == null || b.resetAfter({
|
|
18916
18916
|
columnIndex: 0
|
|
@@ -19882,7 +19882,7 @@ const UCe = Bt({
|
|
|
19882
19882
|
}).stop;
|
|
19883
19883
|
}), Lr(() => {
|
|
19884
19884
|
r == null || r();
|
|
19885
|
-
}),
|
|
19885
|
+
}), ot([t, i], ([o, s]) => {
|
|
19886
19886
|
var a;
|
|
19887
19887
|
(a = n.onResize) == null || a.call(n, {
|
|
19888
19888
|
width: o,
|
|
@@ -20065,7 +20065,7 @@ const Dw = Wi(exe), mee = {
|
|
|
20065
20065
|
i.is("disabled", y(_(t.modelValue))),
|
|
20066
20066
|
i.is("focus-visible", h.focusVisible)
|
|
20067
20067
|
]), L = te(() => t.name || r.value);
|
|
20068
|
-
return ds(c, C),
|
|
20068
|
+
return ds(c, C), ot(d, C), ot(() => t.modelValue, () => {
|
|
20069
20069
|
var N;
|
|
20070
20070
|
C(), t.validateEvent && ((N = a == null ? void 0 : a.validate) == null || N.call(a, "change").catch((E) => void 0));
|
|
20071
20071
|
}, {
|
|
@@ -20453,7 +20453,7 @@ const bee = [
|
|
|
20453
20453
|
}
|
|
20454
20454
|
return rn(() => {
|
|
20455
20455
|
S(), u(), d.value = !0;
|
|
20456
|
-
}),
|
|
20456
|
+
}), ot(() => i.repeatNum, () => {
|
|
20457
20457
|
D(), S();
|
|
20458
20458
|
}), ao(document, "keydown", N), ds(c, () => {
|
|
20459
20459
|
h.value = c.value.getBoundingClientRect().height;
|
|
@@ -20754,9 +20754,9 @@ const wn = Ame(Uf, "$message"), uE = "_trap-focus-children", cf = [], cz = (n) =
|
|
|
20754
20754
|
const M = u.type;
|
|
20755
20755
|
return u.icon || M && zb[M] || "";
|
|
20756
20756
|
}), p = te(() => !!u.message), g = ue(), b = ue(), m = ue(), y = ue(), v = ue(), _ = te(() => u.confirmButtonClass);
|
|
20757
|
-
|
|
20757
|
+
ot(() => u.inputValue, async (M) => {
|
|
20758
20758
|
await Pt(), n.boxType === "prompt" && M && A();
|
|
20759
|
-
}, { immediate: !0 }),
|
|
20759
|
+
}, { immediate: !0 }), ot(() => l.value, (M) => {
|
|
20760
20760
|
var O, P;
|
|
20761
20761
|
M && (n.boxType !== "prompt" && (u.autofocus ? m.value = (P = (O = v.value) == null ? void 0 : O.$el) != null ? P : g.value : m.value = g.value), u.zIndex = a()), n.boxType === "prompt" && (M ? Pt().then(() => {
|
|
20762
20762
|
var U;
|
|
@@ -61467,7 +61467,7 @@ const ynt = (n) => {
|
|
|
61467
61467
|
env: t.env,
|
|
61468
61468
|
request: e(t.env)
|
|
61469
61469
|
});
|
|
61470
|
-
return
|
|
61470
|
+
return ot(
|
|
61471
61471
|
() => t,
|
|
61472
61472
|
(r) => {
|
|
61473
61473
|
Object.assign(i, toRefs(r)), console.log("已更新神兔组件库配置: ", i);
|
|
@@ -61683,7 +61683,7 @@ const rse = (n) => (g1("data-v-ff7c4544"), n = n(), m1(), n), knt = { class: "cu
|
|
|
61683
61683
|
};
|
|
61684
61684
|
return rn(() => {
|
|
61685
61685
|
g();
|
|
61686
|
-
}),
|
|
61686
|
+
}), ot(
|
|
61687
61687
|
() => u.value,
|
|
61688
61688
|
(N) => {
|
|
61689
61689
|
switch (N) {
|
|
@@ -62314,7 +62314,7 @@ const _C = (n) => (g1("data-v-b2d15520"), n = n(), m1(), n), tit = { class: "st-
|
|
|
62314
62314
|
type: "warning"
|
|
62315
62315
|
}).then(() => r("shortcutDelete", _));
|
|
62316
62316
|
};
|
|
62317
|
-
return
|
|
62317
|
+
return ot(
|
|
62318
62318
|
() => i.value,
|
|
62319
62319
|
(_) => {
|
|
62320
62320
|
_ && (t.value = o.allowOperation ? "ruleForm" : "table", f());
|
|
@@ -62871,7 +62871,7 @@ const _C = (n) => (g1("data-v-b2d15520"), n = n(), m1(), n), tit = { class: "st-
|
|
|
62871
62871
|
};
|
|
62872
62872
|
let i, r;
|
|
62873
62873
|
const o = n, s = ue(), a = te(() => ({ ...t, ...o.config }));
|
|
62874
|
-
|
|
62874
|
+
ot(
|
|
62875
62875
|
() => [o.data],
|
|
62876
62876
|
() => {
|
|
62877
62877
|
l();
|
|
@@ -66418,7 +66418,7 @@ const Kut = { class: "st-kline" }, Gut = { class: "st-kline-header" }, Yut = 300
|
|
|
66418
66418
|
}
|
|
66419
66419
|
return [];
|
|
66420
66420
|
});
|
|
66421
|
-
|
|
66421
|
+
ot(
|
|
66422
66422
|
() => [e.klineData, e.indicator, e.markData, e.netPositionData, e.relevanceData],
|
|
66423
66423
|
() => {
|
|
66424
66424
|
u();
|
|
@@ -66426,7 +66426,7 @@ const Kut = { class: "st-kline" }, Gut = { class: "st-kline-header" }, Yut = 300
|
|
|
66426
66426
|
{
|
|
66427
66427
|
deep: !0
|
|
66428
66428
|
}
|
|
66429
|
-
),
|
|
66429
|
+
), ot(
|
|
66430
66430
|
() => e.lineData,
|
|
66431
66431
|
async () => {
|
|
66432
66432
|
Nm("st-kline组件消息:props.lineData监控,额外画线数据发生改变,重绘->line", {
|
|
@@ -66436,7 +66436,7 @@ const Kut = { class: "st-kline" }, Gut = { class: "st-kline-header" }, Yut = 300
|
|
|
66436
66436
|
{
|
|
66437
66437
|
deep: !0
|
|
66438
66438
|
}
|
|
66439
|
-
),
|
|
66439
|
+
), ot(
|
|
66440
66440
|
() => e.brushRange,
|
|
66441
66441
|
async () => {
|
|
66442
66442
|
Nm("st-kline组件消息:props.brushRange监控,区域刷选数据发生改变,重绘->brush", {
|
|
@@ -66446,7 +66446,7 @@ const Kut = { class: "st-kline" }, Gut = { class: "st-kline-header" }, Yut = 300
|
|
|
66446
66446
|
{
|
|
66447
66447
|
deep: !0
|
|
66448
66448
|
}
|
|
66449
|
-
),
|
|
66449
|
+
), ot(
|
|
66450
66450
|
() => e.priceTrendData,
|
|
66451
66451
|
async () => {
|
|
66452
66452
|
u("priceTrend");
|
|
@@ -66454,7 +66454,7 @@ const Kut = { class: "st-kline" }, Gut = { class: "st-kline-header" }, Yut = 300
|
|
|
66454
66454
|
{
|
|
66455
66455
|
deep: !0
|
|
66456
66456
|
}
|
|
66457
|
-
),
|
|
66457
|
+
), ot(
|
|
66458
66458
|
() => e.priceTrendPercentData,
|
|
66459
66459
|
async () => {
|
|
66460
66460
|
u("priceTrendPercent");
|
|
@@ -67159,7 +67159,7 @@ const u1t = {
|
|
|
67159
67159
|
setup(n, { expose: e, emit: t }) {
|
|
67160
67160
|
let i, r, o = null;
|
|
67161
67161
|
const s = t, a = n, l = ue();
|
|
67162
|
-
|
|
67162
|
+
ot(
|
|
67163
67163
|
() => a.data,
|
|
67164
67164
|
() => {
|
|
67165
67165
|
d();
|
|
@@ -67898,7 +67898,7 @@ const oue = (n) => (g1("data-v-9e6456be"), n = n(), m1(), n), k1t = { class: "kl
|
|
|
67898
67898
|
// 是否获取因子数据
|
|
67899
67899
|
...d.config
|
|
67900
67900
|
}));
|
|
67901
|
-
|
|
67901
|
+
ot(
|
|
67902
67902
|
() => {
|
|
67903
67903
|
var j, V;
|
|
67904
67904
|
return [d.variety, d.cycle, d.mainIndicator, m.value, (j = d.indicatorStore) == null ? void 0 : j.filterIndicator, (V = d.indicatorStore) == null ? void 0 : V.customIndicator];
|
|
@@ -68407,7 +68407,7 @@ const j1t = [
|
|
|
68407
68407
|
var t;
|
|
68408
68408
|
return ((t = e.find((i) => i.value === n)) == null ? void 0 : t.label) ?? "-";
|
|
68409
68409
|
};
|
|
68410
|
-
const Cu = (n) => (g1("data-v-
|
|
68410
|
+
const Cu = (n) => (g1("data-v-6e5050a9"), n = n(), m1(), n), U1t = { class: "kline-config element-dark" }, q1t = { class: "setting-item" }, K1t = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "主图指标: ", -1)), G1t = { class: "setting-item" }, Y1t = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "交易点位: ", -1)), Q1t = { class: "setting-item" }, Z1t = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "开平点按价格标: ", -1)), X1t = { class: "setting-item" }, J1t = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "单周期: ", -1)), ect = { class: "setting-item" }, tct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "多周期: ", -1)), nct = { class: "mode" }, ict = { class: "cycleName" }, rct = { class: "content" }, oct = { class: "setting-item" }, sct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "默认展示: ", -1)), act = { class: "setting-item" }, lct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "高亮交易范围: ", -1)), uct = { class: "setting-item" }, cct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "展示当屏时间: ", -1)), dct = { class: "setting-item" }, hct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "展示当屏最高价: ", -1)), fct = { class: "setting-item" }, pct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "多周期双击图表切换至单周期: ", -1)), gct = { class: "setting-item" }, mct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "开启副图: ", -1)), vct = { class: "setting-item" }, bct = /* @__PURE__ */ Cu(() => /* @__PURE__ */ fe("span", { class: "label" }, "开启拖拽轴: ", -1)), _ct = { class: "setting-footer" }, yct = {
|
|
68411
68411
|
__name: "index",
|
|
68412
68412
|
props: {
|
|
68413
68413
|
indicatorStore: { type: Object, default: () => ({}) },
|
|
@@ -68444,7 +68444,7 @@ const Cu = (n) => (g1("data-v-f364d4b3"), n = n(), m1(), n), U1t = { class: "kli
|
|
|
68444
68444
|
};
|
|
68445
68445
|
return rn(() => {
|
|
68446
68446
|
f(), u.value = o.indicatorStore.mainIndicatorList ?? [];
|
|
68447
|
-
}),
|
|
68447
|
+
}), ot(
|
|
68448
68448
|
() => o.indicatorStore.mainIndicatorList,
|
|
68449
68449
|
() => {
|
|
68450
68450
|
u.value = o.indicatorStore.mainIndicatorList ?? [];
|
|
@@ -68665,7 +68665,7 @@ const Cu = (n) => (g1("data-v-f364d4b3"), n = n(), m1(), n), U1t = { class: "kli
|
|
|
68665
68665
|
]);
|
|
68666
68666
|
};
|
|
68667
68667
|
}
|
|
68668
|
-
}, wct = /* @__PURE__ */ $n(yct, [["__scopeId", "data-v-
|
|
68668
|
+
}, wct = /* @__PURE__ */ $n(yct, [["__scopeId", "data-v-6e5050a9"]]), Cct = {
|
|
68669
68669
|
install(n) {
|
|
68670
68670
|
n.component("st-klineConfig", wct);
|
|
68671
68671
|
}
|
|
@@ -69188,7 +69188,7 @@ const Ict = /* @__PURE__ */ $n(kct, [["__scopeId", "data-v-0a2f256e"]]), Oct = /
|
|
|
69188
69188
|
setup(n, { expose: e, emit: t }) {
|
|
69189
69189
|
let i, r, o = null;
|
|
69190
69190
|
const s = t, a = n, l = ue();
|
|
69191
|
-
|
|
69191
|
+
ot(
|
|
69192
69192
|
() => a.data,
|
|
69193
69193
|
() => {
|
|
69194
69194
|
d();
|
|
@@ -69944,7 +69944,7 @@ const Qct = {
|
|
|
69944
69944
|
Pt(() => {
|
|
69945
69945
|
r = Oo.init(o.value), r.on("datazoom", c), u();
|
|
69946
69946
|
});
|
|
69947
|
-
}),
|
|
69947
|
+
}), ot(
|
|
69948
69948
|
() => a.screenTimeRange,
|
|
69949
69949
|
(f) => {
|
|
69950
69950
|
const [p, g] = f;
|
|
@@ -70512,14 +70512,14 @@ const Xct = { class: "main-chart" }, Jct = { class: "indicator" }, edt = {
|
|
|
70512
70512
|
return rn(() => {
|
|
70513
70513
|
const [O, P] = l.initTimeRange;
|
|
70514
70514
|
N({ startTime: O, endTime: P });
|
|
70515
|
-
}),
|
|
70515
|
+
}), ot(
|
|
70516
70516
|
() => [l.varietyCode, l.initTimeRange],
|
|
70517
70517
|
() => {
|
|
70518
70518
|
const [O, P] = l.initTimeRange;
|
|
70519
70519
|
N({ startTime: O, endTime: P });
|
|
70520
70520
|
},
|
|
70521
70521
|
{ deep: !0 }
|
|
70522
|
-
),
|
|
70522
|
+
), ot(
|
|
70523
70523
|
() => [l.cycle],
|
|
70524
70524
|
() => {
|
|
70525
70525
|
var j;
|
|
@@ -70532,7 +70532,7 @@ const Xct = { class: "main-chart" }, Jct = { class: "indicator" }, edt = {
|
|
|
70532
70532
|
N({ startTime: U, endTime: Z });
|
|
70533
70533
|
},
|
|
70534
70534
|
{ deep: !0 }
|
|
70535
|
-
),
|
|
70535
|
+
), ot(
|
|
70536
70536
|
() => {
|
|
70537
70537
|
var O, P;
|
|
70538
70538
|
return [l.mainIndicator, C.value, (O = l.indicatorStore) == null ? void 0 : O.filterIndicator, (P = l.indicatorStore) == null ? void 0 : P.customIndicator, l.rightType, l.klineType];
|
|
@@ -70543,7 +70543,7 @@ const Xct = { class: "main-chart" }, Jct = { class: "indicator" }, edt = {
|
|
|
70543
70543
|
N({ startTime: U, endTime: Z });
|
|
70544
70544
|
},
|
|
70545
70545
|
{ deep: !0 }
|
|
70546
|
-
),
|
|
70546
|
+
), ot(
|
|
70547
70547
|
() => [l.sellBuy, l.tradeLog, l.netPositionData, l.incomeType, l.tradeIncomeRateData],
|
|
70548
70548
|
() => {
|
|
70549
70549
|
var U;
|
|
@@ -173544,7 +173544,7 @@ const pdt = /* @__PURE__ */ $n(fdt, [["__scopeId", "data-v-88fd5500"]]), gdt = {
|
|
|
173544
173544
|
};
|
|
173545
173545
|
let i, r;
|
|
173546
173546
|
const o = n, s = ue(), a = te(() => ({ ...e, ...o.style })), l = te(() => ({ ...t, ...o.config }));
|
|
173547
|
-
|
|
173547
|
+
ot(
|
|
173548
173548
|
() => [o.data, o.pieces, o.style],
|
|
173549
173549
|
() => {
|
|
173550
173550
|
u();
|
|
@@ -182480,7 +182480,7 @@ const { registerWindow: lkt, getWindow: It, getDocument: ukt, getWindows: r1e, g
|
|
|
182480
182480
|
};
|
|
182481
182481
|
return n.set(s.vscodeWindowId, l), a.add(Yt(() => {
|
|
182482
182482
|
n.delete(s.vscodeWindowId), i.fire(s);
|
|
182483
|
-
})), a.add(je(s,
|
|
182483
|
+
})), a.add(je(s, st.BEFORE_UNLOAD, () => {
|
|
182484
182484
|
r.fire(s);
|
|
182485
182485
|
})), t.fire(l), a;
|
|
182486
182486
|
},
|
|
@@ -182855,7 +182855,7 @@ function iR(n) {
|
|
|
182855
182855
|
function rR(n) {
|
|
182856
182856
|
return n instanceof KeyboardEvent || n instanceof It(n).KeyboardEvent;
|
|
182857
182857
|
}
|
|
182858
|
-
const
|
|
182858
|
+
const st = {
|
|
182859
182859
|
// Mouse
|
|
182860
182860
|
CLICK: "click",
|
|
182861
182861
|
AUXCLICK: "auxclick",
|
|
@@ -182955,7 +182955,7 @@ class H_ extends Ge {
|
|
|
182955
182955
|
};
|
|
182956
182956
|
this._refreshStateHandler = () => {
|
|
182957
182957
|
H_.hasFocusWithin(e) !== t && (t ? o() : r());
|
|
182958
|
-
}, this._register(je(e,
|
|
182958
|
+
}, this._register(je(e, st.FOCUS, r, !0)), this._register(je(e, st.BLUR, o, !0)), e instanceof HTMLElement && (this._register(je(e, st.FOCUS_IN, () => this._refreshStateHandler())), this._register(je(e, st.FOCUS_OUT, () => this._refreshStateHandler())));
|
|
182959
182959
|
}
|
|
182960
182960
|
}
|
|
182961
182961
|
function B9(n) {
|
|
@@ -183192,25 +183192,25 @@ class nft extends Ge {
|
|
|
183192
183192
|
super(), this.element = e, this.callbacks = t, this.counter = 0, this.dragStartTime = 0, this.registerListeners();
|
|
183193
183193
|
}
|
|
183194
183194
|
registerListeners() {
|
|
183195
|
-
this.callbacks.onDragStart && this._register(je(this.element,
|
|
183195
|
+
this.callbacks.onDragStart && this._register(je(this.element, st.DRAG_START, (e) => {
|
|
183196
183196
|
var t, i;
|
|
183197
183197
|
(i = (t = this.callbacks).onDragStart) === null || i === void 0 || i.call(t, e);
|
|
183198
|
-
})), this.callbacks.onDrag && this._register(je(this.element,
|
|
183198
|
+
})), this.callbacks.onDrag && this._register(je(this.element, st.DRAG, (e) => {
|
|
183199
183199
|
var t, i;
|
|
183200
183200
|
(i = (t = this.callbacks).onDrag) === null || i === void 0 || i.call(t, e);
|
|
183201
|
-
})), this._register(je(this.element,
|
|
183201
|
+
})), this._register(je(this.element, st.DRAG_ENTER, (e) => {
|
|
183202
183202
|
var t, i;
|
|
183203
183203
|
this.counter++, this.dragStartTime = e.timeStamp, (i = (t = this.callbacks).onDragEnter) === null || i === void 0 || i.call(t, e);
|
|
183204
|
-
})), this._register(je(this.element,
|
|
183204
|
+
})), this._register(je(this.element, st.DRAG_OVER, (e) => {
|
|
183205
183205
|
var t, i;
|
|
183206
183206
|
e.preventDefault(), (i = (t = this.callbacks).onDragOver) === null || i === void 0 || i.call(t, e, e.timeStamp - this.dragStartTime);
|
|
183207
|
-
})), this._register(je(this.element,
|
|
183207
|
+
})), this._register(je(this.element, st.DRAG_LEAVE, (e) => {
|
|
183208
183208
|
var t, i;
|
|
183209
183209
|
this.counter--, this.counter === 0 && (this.dragStartTime = 0, (i = (t = this.callbacks).onDragLeave) === null || i === void 0 || i.call(t, e));
|
|
183210
|
-
})), this._register(je(this.element,
|
|
183210
|
+
})), this._register(je(this.element, st.DRAG_END, (e) => {
|
|
183211
183211
|
var t, i;
|
|
183212
183212
|
this.counter = 0, this.dragStartTime = 0, (i = (t = this.callbacks).onDragEnd) === null || i === void 0 || i.call(t, e);
|
|
183213
|
-
})), this._register(je(this.element,
|
|
183213
|
+
})), this._register(je(this.element, st.DROP, (e) => {
|
|
183214
183214
|
var t, i;
|
|
183215
183215
|
this.counter = 0, this.dragStartTime = 0, (i = (t = this.callbacks).onDrop) === null || i === void 0 || i.call(t, e);
|
|
183216
183216
|
}));
|
|
@@ -193757,13 +193757,13 @@ class QC {
|
|
|
193757
193757
|
} catch {
|
|
193758
193758
|
s = It(e);
|
|
193759
193759
|
}
|
|
193760
|
-
this._hooks.add(je(s,
|
|
193760
|
+
this._hooks.add(je(s, st.POINTER_MOVE, (a) => {
|
|
193761
193761
|
if (a.buttons !== i) {
|
|
193762
193762
|
this.stopMonitoring(!0);
|
|
193763
193763
|
return;
|
|
193764
193764
|
}
|
|
193765
193765
|
a.preventDefault(), this._pointerMoveCallback(a);
|
|
193766
|
-
})), this._hooks.add(je(s,
|
|
193766
|
+
})), this._hooks.add(je(s, st.POINTER_UP, (a) => this.stopMonitoring(!0)));
|
|
193767
193767
|
}
|
|
193768
193768
|
}
|
|
193769
193769
|
function xR(n) {
|
|
@@ -194061,17 +194061,17 @@ class Zgt {
|
|
|
194061
194061
|
});
|
|
194062
194062
|
}
|
|
194063
194063
|
onMouseDown(e, t) {
|
|
194064
|
-
return je(e,
|
|
194064
|
+
return je(e, st.MOUSE_DOWN, (i) => {
|
|
194065
194065
|
t(this._create(i));
|
|
194066
194066
|
});
|
|
194067
194067
|
}
|
|
194068
194068
|
onPointerDown(e, t) {
|
|
194069
|
-
return je(e,
|
|
194069
|
+
return je(e, st.POINTER_DOWN, (i) => {
|
|
194070
194070
|
t(this._create(i), i.pointerId);
|
|
194071
194071
|
});
|
|
194072
194072
|
}
|
|
194073
194073
|
onMouseLeave(e, t) {
|
|
194074
|
-
return je(e,
|
|
194074
|
+
return je(e, st.MOUSE_LEAVE, (i) => {
|
|
194075
194075
|
t(this._create(i));
|
|
194076
194076
|
});
|
|
194077
194077
|
}
|
|
@@ -194092,12 +194092,12 @@ class Xgt {
|
|
|
194092
194092
|
});
|
|
194093
194093
|
}
|
|
194094
194094
|
onPointerDown(e, t) {
|
|
194095
|
-
return je(e,
|
|
194095
|
+
return je(e, st.POINTER_DOWN, (i) => {
|
|
194096
194096
|
t(this._create(i), i.pointerId);
|
|
194097
194097
|
});
|
|
194098
194098
|
}
|
|
194099
194099
|
onPointerLeave(e, t) {
|
|
194100
|
-
return je(e,
|
|
194100
|
+
return je(e, st.POINTER_LEAVE, (i) => {
|
|
194101
194101
|
t(this._create(i));
|
|
194102
194102
|
});
|
|
194103
194103
|
}
|
|
@@ -195633,31 +195633,31 @@ dmt([
|
|
|
195633
195633
|
], Di, "isTouchDevice", null);
|
|
195634
195634
|
let l0 = class extends Ge {
|
|
195635
195635
|
onclick(e, t) {
|
|
195636
|
-
this._register(je(e,
|
|
195636
|
+
this._register(je(e, st.CLICK, (i) => t(new Yu(It(e), i))));
|
|
195637
195637
|
}
|
|
195638
195638
|
onmousedown(e, t) {
|
|
195639
|
-
this._register(je(e,
|
|
195639
|
+
this._register(je(e, st.MOUSE_DOWN, (i) => t(new Yu(It(e), i))));
|
|
195640
195640
|
}
|
|
195641
195641
|
onmouseover(e, t) {
|
|
195642
|
-
this._register(je(e,
|
|
195642
|
+
this._register(je(e, st.MOUSE_OVER, (i) => t(new Yu(It(e), i))));
|
|
195643
195643
|
}
|
|
195644
195644
|
onmouseleave(e, t) {
|
|
195645
|
-
this._register(je(e,
|
|
195645
|
+
this._register(je(e, st.MOUSE_LEAVE, (i) => t(new Yu(It(e), i))));
|
|
195646
195646
|
}
|
|
195647
195647
|
onkeydown(e, t) {
|
|
195648
|
-
this._register(je(e,
|
|
195648
|
+
this._register(je(e, st.KEY_DOWN, (i) => t(new Mi(i))));
|
|
195649
195649
|
}
|
|
195650
195650
|
onkeyup(e, t) {
|
|
195651
|
-
this._register(je(e,
|
|
195651
|
+
this._register(je(e, st.KEY_UP, (i) => t(new Mi(i))));
|
|
195652
195652
|
}
|
|
195653
195653
|
oninput(e, t) {
|
|
195654
|
-
this._register(je(e,
|
|
195654
|
+
this._register(je(e, st.INPUT, t));
|
|
195655
195655
|
}
|
|
195656
195656
|
onblur(e, t) {
|
|
195657
|
-
this._register(je(e,
|
|
195657
|
+
this._register(je(e, st.BLUR, t));
|
|
195658
195658
|
}
|
|
195659
195659
|
onfocus(e, t) {
|
|
195660
|
-
this._register(je(e,
|
|
195660
|
+
this._register(je(e, st.FOCUS, t));
|
|
195661
195661
|
}
|
|
195662
195662
|
ignoreGesture(e) {
|
|
195663
195663
|
return Di.ignoreTarget(e);
|
|
@@ -195666,7 +195666,7 @@ let l0 = class extends Ge {
|
|
|
195666
195666
|
const mg = 11;
|
|
195667
195667
|
class hmt extends l0 {
|
|
195668
195668
|
constructor(e) {
|
|
195669
|
-
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...Ln.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = mg + "px", this.domNode.style.height = mg + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new QC()), this._register(Gr(this.bgDomNode,
|
|
195669
|
+
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...Ln.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = mg + "px", this.domNode.style.height = mg + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new QC()), this._register(Gr(this.bgDomNode, st.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._register(Gr(this.domNode, st.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._pointerdownRepeatTimer = this._register(new JO()), this._pointerdownScheduleRepeatTimer = this._register(new F3());
|
|
195670
195670
|
}
|
|
195671
195671
|
_arrowPointerDown(e) {
|
|
195672
195672
|
if (!e.target || !(e.target instanceof Element))
|
|
@@ -195725,7 +195725,7 @@ class fmt extends Ge {
|
|
|
195725
195725
|
const pmt = 140;
|
|
195726
195726
|
class _ce extends l0 {
|
|
195727
195727
|
constructor(e) {
|
|
195728
|
-
super(), this._lazyRender = e.lazyRender, this._host = e.host, this._scrollable = e.scrollable, this._scrollByPage = e.scrollByPage, this._scrollbarState = e.scrollbarState, this._visibilityController = this._register(new fmt(e.visibility, "visible scrollbar " + e.extraScrollbarClassName, "invisible scrollbar " + e.extraScrollbarClassName)), this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()), this._pointerMoveMonitor = this._register(new QC()), this._shouldRender = !0, this.domNode = Fn(document.createElement("div")), this.domNode.setAttribute("role", "presentation"), this.domNode.setAttribute("aria-hidden", "true"), this._visibilityController.setDomNode(this.domNode), this.domNode.setPosition("absolute"), this._register(je(this.domNode.domNode,
|
|
195728
|
+
super(), this._lazyRender = e.lazyRender, this._host = e.host, this._scrollable = e.scrollable, this._scrollByPage = e.scrollByPage, this._scrollbarState = e.scrollbarState, this._visibilityController = this._register(new fmt(e.visibility, "visible scrollbar " + e.extraScrollbarClassName, "invisible scrollbar " + e.extraScrollbarClassName)), this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()), this._pointerMoveMonitor = this._register(new QC()), this._shouldRender = !0, this.domNode = Fn(document.createElement("div")), this.domNode.setAttribute("role", "presentation"), this.domNode.setAttribute("aria-hidden", "true"), this._visibilityController.setDomNode(this.domNode), this.domNode.setPosition("absolute"), this._register(je(this.domNode.domNode, st.POINTER_DOWN, (t) => this._domNodePointerDown(t)));
|
|
195729
195729
|
}
|
|
195730
195730
|
// ----------------- creation
|
|
195731
195731
|
/**
|
|
@@ -195739,7 +195739,7 @@ class _ce extends l0 {
|
|
|
195739
195739
|
* Creates the slider dom node, adds it to the container & hooks up the events
|
|
195740
195740
|
*/
|
|
195741
195741
|
_createSlider(e, t, i, r) {
|
|
195742
|
-
this.slider = Fn(document.createElement("div")), this.slider.setClassName("slider"), this.slider.setPosition("absolute"), this.slider.setTop(e), this.slider.setLeft(t), typeof i == "number" && this.slider.setWidth(i), typeof r == "number" && this.slider.setHeight(r), this.slider.setLayerHinting(!0), this.slider.setContain("strict"), this.domNode.domNode.appendChild(this.slider.domNode), this._register(je(this.slider.domNode,
|
|
195742
|
+
this.slider = Fn(document.createElement("div")), this.slider.setClassName("slider"), this.slider.setPosition("absolute"), this.slider.setTop(e), this.slider.setLeft(t), typeof i == "number" && this.slider.setWidth(i), typeof r == "number" && this.slider.setHeight(r), this.slider.setLayerHinting(!0), this.slider.setContain("strict"), this.domNode.domNode.appendChild(this.slider.domNode), this._register(je(this.slider.domNode, st.POINTER_DOWN, (o) => {
|
|
195743
195743
|
o.button === 0 && (o.preventDefault(), this._sliderPointerDown(o));
|
|
195744
195744
|
})), this.onclick(this.slider.domNode, (o) => {
|
|
195745
195745
|
o.leftButton && o.stopPropagation();
|
|
@@ -196347,7 +196347,7 @@ class ER extends l0 {
|
|
|
196347
196347
|
const i = (r) => {
|
|
196348
196348
|
this._onMouseWheel(new n3(r));
|
|
196349
196349
|
};
|
|
196350
|
-
this._mouseWheelToDispose.push(je(this._listenOnDomNode,
|
|
196350
|
+
this._mouseWheelToDispose.push(je(this._listenOnDomNode, st.MOUSE_WHEEL, i, { passive: !1 }));
|
|
196351
196351
|
}
|
|
196352
196352
|
}
|
|
196353
196353
|
_onMouseWheel(e) {
|
|
@@ -196517,7 +196517,7 @@ class MR extends N6 {
|
|
|
196517
196517
|
let o = 0;
|
|
196518
196518
|
this._register(r.onPointerDown(this.viewHelper.viewDomNode, (s, a) => {
|
|
196519
196519
|
o = a;
|
|
196520
|
-
})), this._register(je(this.viewHelper.viewDomNode,
|
|
196520
|
+
})), this._register(je(this.viewHelper.viewDomNode, st.POINTER_UP, (s) => {
|
|
196521
196521
|
this._mouseDownOperation.onPointerUp();
|
|
196522
196522
|
})), this._register(r.onMouseDown(this.viewHelper.viewDomNode, (s) => this._onMouseDown(s, o))), this._setupMouseWheelZoomListener(), this._context.addEventHandler(this);
|
|
196523
196523
|
}
|
|
@@ -196539,7 +196539,7 @@ class MR extends N6 {
|
|
|
196539
196539
|
} else
|
|
196540
196540
|
Date.now() - t > 50 && (i = K0.getZoomLevel(), r = a(l), o = 0), t = Date.now(), o += u.deltaY, r && (K0.setZoomLevel(i + o / 5), u.preventDefault(), u.stopPropagation());
|
|
196541
196541
|
};
|
|
196542
|
-
this._register(je(this.viewHelper.viewDomNode,
|
|
196542
|
+
this._register(je(this.viewHelper.viewDomNode, st.MOUSE_WHEEL, s, { capture: !0, passive: !1 }));
|
|
196543
196543
|
function a(l) {
|
|
196544
196544
|
return Hn ? (l.metaKey || l.ctrlKey) && !l.shiftKey && !l.altKey : l.ctrlKey && !l.metaKey && !l.shiftKey && !l.altKey;
|
|
196545
196545
|
}
|
|
@@ -205458,7 +205458,7 @@ class cy extends Ge {
|
|
|
205458
205458
|
this._domNode,
|
|
205459
205459
|
9
|
|
205460
205460
|
/* PartFingerprint.Minimap */
|
|
205461
|
-
), this._domNode.setClassName(this._getMinimapDomNodeClassName()), this._domNode.setPosition("absolute"), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._shadow = Fn(document.createElement("div")), this._shadow.setClassName("minimap-shadow-hidden"), this._domNode.appendChild(this._shadow), this._canvas = Fn(document.createElement("canvas")), this._canvas.setPosition("absolute"), this._canvas.setLeft(0), this._domNode.appendChild(this._canvas), this._decorationsCanvas = Fn(document.createElement("canvas")), this._decorationsCanvas.setPosition("absolute"), this._decorationsCanvas.setClassName("minimap-decorations-layer"), this._decorationsCanvas.setLeft(0), this._domNode.appendChild(this._decorationsCanvas), this._slider = Fn(document.createElement("div")), this._slider.setPosition("absolute"), this._slider.setClassName("minimap-slider"), this._slider.setLayerHinting(!0), this._slider.setContain("strict"), this._domNode.appendChild(this._slider), this._sliderHorizontal = Fn(document.createElement("div")), this._sliderHorizontal.setPosition("absolute"), this._sliderHorizontal.setClassName("minimap-slider-horizontal"), this._slider.appendChild(this._sliderHorizontal), this._applyLayout(), this._pointerDownListener = Gr(this._domNode.domNode,
|
|
205461
|
+
), this._domNode.setClassName(this._getMinimapDomNodeClassName()), this._domNode.setPosition("absolute"), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._shadow = Fn(document.createElement("div")), this._shadow.setClassName("minimap-shadow-hidden"), this._domNode.appendChild(this._shadow), this._canvas = Fn(document.createElement("canvas")), this._canvas.setPosition("absolute"), this._canvas.setLeft(0), this._domNode.appendChild(this._canvas), this._decorationsCanvas = Fn(document.createElement("canvas")), this._decorationsCanvas.setPosition("absolute"), this._decorationsCanvas.setClassName("minimap-decorations-layer"), this._decorationsCanvas.setLeft(0), this._domNode.appendChild(this._decorationsCanvas), this._slider = Fn(document.createElement("div")), this._slider.setPosition("absolute"), this._slider.setClassName("minimap-slider"), this._slider.setLayerHinting(!0), this._slider.setContain("strict"), this._domNode.appendChild(this._slider), this._sliderHorizontal = Fn(document.createElement("div")), this._sliderHorizontal.setPosition("absolute"), this._sliderHorizontal.setClassName("minimap-slider-horizontal"), this._slider.appendChild(this._sliderHorizontal), this._applyLayout(), this._pointerDownListener = Gr(this._domNode.domNode, st.POINTER_DOWN, (i) => {
|
|
205462
205462
|
if (i.preventDefault(), this._model.options.renderMinimap === 0 || !this._lastRenderData)
|
|
205463
205463
|
return;
|
|
205464
205464
|
if (this._model.options.size !== "proportional") {
|
|
@@ -205471,7 +205471,7 @@ class cy extends Ge {
|
|
|
205471
205471
|
const o = this._model.options.minimapLineHeight, s = this._model.options.canvasInnerHeight / this._model.options.canvasOuterHeight * i.offsetY;
|
|
205472
205472
|
let l = Math.floor(s / o) + this._lastRenderData.renderedLayout.startLineNumber - this._lastRenderData.renderedLayout.topPaddingLineCount;
|
|
205473
205473
|
l = Math.min(l, this._model.getLineCount()), this._model.revealLineNumber(l);
|
|
205474
|
-
}), this._sliderPointerMoveMonitor = new QC(), this._sliderPointerDownListener = Gr(this._slider.domNode,
|
|
205474
|
+
}), this._sliderPointerMoveMonitor = new QC(), this._sliderPointerDownListener = Gr(this._slider.domNode, st.POINTER_DOWN, (i) => {
|
|
205475
205475
|
i.preventDefault(), i.stopPropagation(), i.button === 0 && this._lastRenderData && this._startSliderDragging(i, i.pageY, this._lastRenderData.renderedLayout);
|
|
205476
205476
|
}), this._gestureDisposable = Di.addTarget(this._domNode.domNode), this._sliderTouchStartListener = je(this._domNode.domNode, mi.Start, (i) => {
|
|
205477
205477
|
i.preventDefault(), i.stopPropagation(), this._lastRenderData && (this._slider.toggleClassName("active", !0), this._gestureInProgress = !0, this.scrollDueToTouchEvent(i));
|
|
@@ -221209,9 +221209,9 @@ class ZR extends Ge {
|
|
|
221209
221209
|
constructor(e, t, i) {
|
|
221210
221210
|
super(), this.actionContainer = yt(e, vv("div.action-container")), this.actionContainer.setAttribute("tabindex", "0"), this.action = yt(this.actionContainer, vv("a.action")), this.action.setAttribute("role", "button"), t.iconClass && yt(this.action, vv(`span.icon.${t.iconClass}`));
|
|
221211
221211
|
const r = yt(this.action, vv("span"));
|
|
221212
|
-
r.textContent = i ? `${t.label} (${i})` : t.label, this._register(je(this.actionContainer,
|
|
221212
|
+
r.textContent = i ? `${t.label} (${i})` : t.label, this._register(je(this.actionContainer, st.CLICK, (o) => {
|
|
221213
221213
|
o.stopPropagation(), o.preventDefault(), t.run(this.actionContainer);
|
|
221214
|
-
})), this._register(je(this.actionContainer,
|
|
221214
|
+
})), this._register(je(this.actionContainer, st.KEY_DOWN, (o) => {
|
|
221215
221215
|
const s = new Mi(o);
|
|
221216
221216
|
(s.equals(
|
|
221217
221217
|
3
|
|
@@ -223975,25 +223975,25 @@ let NT = class {
|
|
|
223975
223975
|
}
|
|
223976
223976
|
const h = this._contextViewService;
|
|
223977
223977
|
if (h.showContextView(new ibt(d, t), e.container), d.onRequestLayout(() => h.layout()), !((a = e.persistence) === null || a === void 0) && a.sticky)
|
|
223978
|
-
c.add(je(It(e.container).document,
|
|
223978
|
+
c.add(je(It(e.container).document, st.MOUSE_DOWN, (f) => {
|
|
223979
223979
|
yo(f.target, d.domNode) || this.doHideHover();
|
|
223980
223980
|
}));
|
|
223981
223981
|
else {
|
|
223982
223982
|
if ("targetElements" in e.target)
|
|
223983
223983
|
for (const p of e.target.targetElements)
|
|
223984
|
-
c.add(je(p,
|
|
223984
|
+
c.add(je(p, st.CLICK, () => this.hideHover()));
|
|
223985
223985
|
else
|
|
223986
|
-
c.add(je(e.target,
|
|
223986
|
+
c.add(je(e.target, st.CLICK, () => this.hideHover()));
|
|
223987
223987
|
const f = es();
|
|
223988
223988
|
if (f) {
|
|
223989
223989
|
const p = It(f).document;
|
|
223990
|
-
c.add(je(f,
|
|
223990
|
+
c.add(je(f, st.KEY_DOWN, (g) => {
|
|
223991
223991
|
var b;
|
|
223992
223992
|
return this._keyDown(g, d, !!(!((b = e.persistence) === null || b === void 0) && b.hideOnKeyDown));
|
|
223993
|
-
})), c.add(je(p,
|
|
223993
|
+
})), c.add(je(p, st.KEY_DOWN, (g) => {
|
|
223994
223994
|
var b;
|
|
223995
223995
|
return this._keyDown(g, d, !!(!((b = e.persistence) === null || b === void 0) && b.hideOnKeyDown));
|
|
223996
|
-
})), c.add(je(f,
|
|
223996
|
+
})), c.add(je(f, st.KEY_UP, (g) => this._keyUp(g, d))), c.add(je(p, st.KEY_UP, (g) => this._keyUp(g, d)));
|
|
223997
223997
|
}
|
|
223998
223998
|
}
|
|
223999
223999
|
if ("IntersectionObserver" in ai) {
|
|
@@ -226495,11 +226495,11 @@ function K3(n, e, t, i) {
|
|
|
226495
226495
|
(!o || o.isDisposed) && (o = new Qbt(n, v || e, m > 0), await o.update(typeof t == "function" ? t() : t, y, i));
|
|
226496
226496
|
}, m);
|
|
226497
226497
|
let l = !1;
|
|
226498
|
-
const u = je(e,
|
|
226498
|
+
const u = je(e, st.MOUSE_DOWN, () => {
|
|
226499
226499
|
l = !0, s(!0, !0);
|
|
226500
|
-
}, !0), c = je(e,
|
|
226500
|
+
}, !0), c = je(e, st.MOUSE_UP, () => {
|
|
226501
226501
|
l = !1;
|
|
226502
|
-
}, !0), d = je(e,
|
|
226502
|
+
}, !0), d = je(e, st.MOUSE_LEAVE, (m) => {
|
|
226503
226503
|
l = !1, s(!1, m.fromElement === e);
|
|
226504
226504
|
}, !0), h = () => {
|
|
226505
226505
|
if (r)
|
|
@@ -226513,10 +226513,10 @@ function K3(n, e, t, i) {
|
|
|
226513
226513
|
const v = (_) => {
|
|
226514
226514
|
y.x = _.x + 10, _.target instanceof HTMLElement && _.target.classList.contains("action-label") && s(!0, !0);
|
|
226515
226515
|
};
|
|
226516
|
-
m.add(je(e,
|
|
226516
|
+
m.add(je(e, st.MOUSE_MOVE, v, !0));
|
|
226517
226517
|
}
|
|
226518
226518
|
m.add(a(n.delay, !1, y)), r = m;
|
|
226519
|
-
}, f = je(e,
|
|
226519
|
+
}, f = je(e, st.MOUSE_OVER, h, !0), p = () => {
|
|
226520
226520
|
if (l || r)
|
|
226521
226521
|
return;
|
|
226522
226522
|
const m = {
|
|
@@ -226524,8 +226524,8 @@ function K3(n, e, t, i) {
|
|
|
226524
226524
|
dispose: () => {
|
|
226525
226525
|
}
|
|
226526
226526
|
}, y = new Tt(), v = () => s(!0, !0);
|
|
226527
|
-
y.add(je(e,
|
|
226528
|
-
}, g = je(e,
|
|
226527
|
+
y.add(je(e, st.BLUR, v, !0)), y.add(a(n.delay, !1, m)), r = y;
|
|
226528
|
+
}, g = je(e, st.FOCUS, p, !0);
|
|
226529
226529
|
return {
|
|
226530
226530
|
show: (m) => {
|
|
226531
226531
|
s(!1, !0), a(0, m);
|
|
@@ -228362,7 +228362,7 @@ class ic extends Ge {
|
|
|
228362
228362
|
constructSelectDropDown(e) {
|
|
228363
228363
|
this.contextViewProvider = e, this.selectDropDownContainer = Rt(".monaco-select-box-dropdown-container"), this.selectDropDownContainer.classList.add("monaco-select-box-dropdown-padding"), this.selectionDetailsPane = yt(this.selectDropDownContainer, mf(".select-box-details-pane"));
|
|
228364
228364
|
const t = yt(this.selectDropDownContainer, mf(".select-box-dropdown-container-width-control")), i = yt(t, mf(".width-control-div"));
|
|
228365
|
-
this.widthControlElement = document.createElement("span"), this.widthControlElement.className = "option-text-width-control", yt(i, this.widthControlElement), this._dropDownPosition = 0, this.styleElement = du(this.selectDropDownContainer), this.selectDropDownContainer.setAttribute("draggable", "true"), this._register(je(this.selectDropDownContainer,
|
|
228365
|
+
this.widthControlElement = document.createElement("span"), this.widthControlElement.className = "option-text-width-control", yt(i, this.widthControlElement), this._dropDownPosition = 0, this.styleElement = du(this.selectDropDownContainer), this.selectDropDownContainer.setAttribute("draggable", "true"), this._register(je(this.selectDropDownContainer, st.DRAG_START, (r) => {
|
|
228366
228366
|
tn.stop(r, !0);
|
|
228367
228367
|
}));
|
|
228368
228368
|
}
|
|
@@ -228372,9 +228372,9 @@ class ic extends Ge {
|
|
|
228372
228372
|
index: t.target.selectedIndex,
|
|
228373
228373
|
selected: t.target.value
|
|
228374
228374
|
}), this.options[this.selected] && this.options[this.selected].text && this._hover.update(this.options[this.selected].text);
|
|
228375
|
-
})), this._register(je(this.selectElement,
|
|
228375
|
+
})), this._register(je(this.selectElement, st.CLICK, (t) => {
|
|
228376
228376
|
tn.stop(t), this._isVisible ? this.hideSelectDropDown(!0) : this.showSelectDropDown();
|
|
228377
|
-
})), this._register(je(this.selectElement,
|
|
228377
|
+
})), this._register(je(this.selectElement, st.MOUSE_DOWN, (t) => {
|
|
228378
228378
|
tn.stop(t);
|
|
228379
228379
|
}));
|
|
228380
228380
|
let e;
|
|
@@ -228382,7 +228382,7 @@ class ic extends Ge {
|
|
|
228382
228382
|
e = this._isVisible;
|
|
228383
228383
|
})), this._register(je(this.selectElement, "touchend", (t) => {
|
|
228384
228384
|
tn.stop(t), e ? this.hideSelectDropDown(!0) : this.showSelectDropDown();
|
|
228385
|
-
})), this._register(je(this.selectElement,
|
|
228385
|
+
})), this._register(je(this.selectElement, st.KEY_DOWN, (t) => {
|
|
228386
228386
|
const i = new Mi(t);
|
|
228387
228387
|
let r = !1;
|
|
228388
228388
|
Hn ? (i.keyCode === 18 || i.keyCode === 16 || i.keyCode === 10 || i.keyCode === 3) && (r = !0) : (i.keyCode === 18 && i.altKey || i.keyCode === 16 && i.altKey || i.keyCode === 10 || i.keyCode === 3) && (r = !0), r && (this.showSelectDropDown(), tn.stop(t, !0));
|
|
@@ -228559,7 +228559,7 @@ class ic extends Ge {
|
|
|
228559
228559
|
))(this.onHome, this)), this._register(at.chain(i, (r) => r.filter(
|
|
228560
228560
|
(o) => o.keyCode === 13
|
|
228561
228561
|
/* KeyCode.End */
|
|
228562
|
-
))(this.onEnd, this)), this._register(at.chain(i, (r) => r.filter((o) => o.keyCode >= 21 && o.keyCode <= 56 || o.keyCode >= 85 && o.keyCode <= 113))(this.onCharacter, this)), this._register(je(this.selectList.getHTMLElement(),
|
|
228562
|
+
))(this.onEnd, this)), this._register(at.chain(i, (r) => r.filter((o) => o.keyCode >= 21 && o.keyCode <= 56 || o.keyCode >= 85 && o.keyCode <= 113))(this.onCharacter, this)), this._register(je(this.selectList.getHTMLElement(), st.POINTER_UP, (r) => this.onPointerUp(r))), this._register(this.selectList.onMouseOver((r) => typeof r.index < "u" && this.selectList.setFocus([r.index]))), this._register(this.selectList.onDidChangeFocus((r) => this.onListFocus(r))), this._register(je(this.selectDropDownContainer, st.FOCUS_OUT, (r) => {
|
|
228563
228563
|
!this._isVisible || yo(r.relatedTarget, this.selectDropDownContainer) || this.onListBlur();
|
|
228564
228564
|
})), this.selectList.getHTMLElement().setAttribute("aria-label", this.selectBoxOptions.ariaLabel || ""), this.selectList.getHTMLElement().setAttribute("aria-expanded", "true"), this.styleList();
|
|
228565
228565
|
}
|
|
@@ -228785,18 +228785,18 @@ class Wu extends Ge {
|
|
|
228785
228785
|
const t = this.element = e;
|
|
228786
228786
|
this._register(Di.addTarget(e));
|
|
228787
228787
|
const i = this.options && this.options.draggable;
|
|
228788
|
-
i && (e.draggable = !0, uu && this._register(je(e,
|
|
228788
|
+
i && (e.draggable = !0, uu && this._register(je(e, st.DRAG_START, (r) => {
|
|
228789
228789
|
var o;
|
|
228790
228790
|
return (o = r.dataTransfer) === null || o === void 0 ? void 0 : o.setData(Bde.TEXT, this._action.label);
|
|
228791
|
-
}))), this._register(je(t, mi.Tap, (r) => this.onClick(r, !0))), this._register(je(t,
|
|
228791
|
+
}))), this._register(je(t, mi.Tap, (r) => this.onClick(r, !0))), this._register(je(t, st.MOUSE_DOWN, (r) => {
|
|
228792
228792
|
i || tn.stop(r, !0), this._action.enabled && r.button === 0 && t.classList.add("active");
|
|
228793
|
-
})), Hn && this._register(je(t,
|
|
228793
|
+
})), Hn && this._register(je(t, st.CONTEXT_MENU, (r) => {
|
|
228794
228794
|
r.button === 0 && r.ctrlKey === !0 && this.onClick(r);
|
|
228795
|
-
})), this._register(je(t,
|
|
228795
|
+
})), this._register(je(t, st.CLICK, (r) => {
|
|
228796
228796
|
tn.stop(r, !0), this.options && this.options.isMenu || this.onClick(r);
|
|
228797
|
-
})), this._register(je(t,
|
|
228797
|
+
})), this._register(je(t, st.DBLCLICK, (r) => {
|
|
228798
228798
|
tn.stop(r, !0);
|
|
228799
|
-
})), [
|
|
228799
|
+
})), [st.MOUSE_UP, st.MOUSE_OUT].forEach((r) => {
|
|
228800
228800
|
this._register(je(t, r, (o) => {
|
|
228801
228801
|
tn.stop(o), t.classList.remove("active");
|
|
228802
228802
|
}));
|
|
@@ -228950,13 +228950,13 @@ class N_t extends i3 {
|
|
|
228950
228950
|
super(), this._onDidChangeVisibility = this._register(new Le()), this.onDidChangeVisibility = this._onDidChangeVisibility.event, this._element = yt(e, Rt(".monaco-dropdown")), this._label = yt(this._element, Rt(".dropdown-label"));
|
|
228951
228951
|
let i = t.labelRenderer;
|
|
228952
228952
|
i || (i = (o) => (o.textContent = t.label || "", null));
|
|
228953
|
-
for (const o of [
|
|
228953
|
+
for (const o of [st.CLICK, st.MOUSE_DOWN, mi.Tap])
|
|
228954
228954
|
this._register(je(this.element, o, (s) => tn.stop(s, !0)));
|
|
228955
|
-
for (const o of [
|
|
228955
|
+
for (const o of [st.MOUSE_DOWN, mi.Tap])
|
|
228956
228956
|
this._register(je(this._label, o, (s) => {
|
|
228957
228957
|
iR(s) && (s.detail > 1 || s.button !== 0) || (this.visible ? this.hide() : this.show());
|
|
228958
228958
|
}));
|
|
228959
|
-
this._register(je(this._label,
|
|
228959
|
+
this._register(je(this._label, st.KEY_UP, (o) => {
|
|
228960
228960
|
const s = new Mi(o);
|
|
228961
228961
|
(s.equals(
|
|
228962
228962
|
3
|
|
@@ -229624,7 +229624,7 @@ let IT = class extends Wu {
|
|
|
229624
229624
|
render(e) {
|
|
229625
229625
|
this._container = e, super.render(this._container), this._container.classList.add("monaco-dropdown-with-default");
|
|
229626
229626
|
const t = Rt(".action-container");
|
|
229627
|
-
this._defaultAction.render(yt(this._container, t)), this._register(je(t,
|
|
229627
|
+
this._defaultAction.render(yt(this._container, t)), this._register(je(t, st.KEY_DOWN, (r) => {
|
|
229628
229628
|
const o = new Mi(r);
|
|
229629
229629
|
o.equals(
|
|
229630
229630
|
17
|
|
@@ -229632,7 +229632,7 @@ let IT = class extends Wu {
|
|
|
229632
229632
|
) && (this._defaultAction.element.tabIndex = -1, this._dropdown.focus(), o.stopPropagation());
|
|
229633
229633
|
}));
|
|
229634
229634
|
const i = Rt(".dropdown-action-container");
|
|
229635
|
-
this._dropdown.render(yt(this._container, i)), this._register(je(i,
|
|
229635
|
+
this._dropdown.render(yt(this._container, i)), this._register(je(i, st.KEY_DOWN, (r) => {
|
|
229636
229636
|
var o;
|
|
229637
229637
|
const s = new Mi(r);
|
|
229638
229638
|
s.equals(
|
|
@@ -229715,7 +229715,7 @@ class Xh extends Ge {
|
|
|
229715
229715
|
], this.domNode.className += " vertical";
|
|
229716
229716
|
break;
|
|
229717
229717
|
}
|
|
229718
|
-
this._register(je(this.domNode,
|
|
229718
|
+
this._register(je(this.domNode, st.KEY_DOWN, (h) => {
|
|
229719
229719
|
const f = new Mi(h);
|
|
229720
229720
|
let p = !0;
|
|
229721
229721
|
const g = typeof this.focusedItem == "number" ? this.viewItems[this.focusedItem] : void 0;
|
|
@@ -229732,7 +229732,7 @@ class Xh extends Ge {
|
|
|
229732
229732
|
2
|
|
229733
229733
|
/* KeyCode.Tab */
|
|
229734
229734
|
) && g instanceof Wu && g.trapsArrowNavigation ? p = this.focusNext() : this.isTriggerKeyEvent(f) ? this._triggerKeys.keyDown ? this.doTrigger(f) : this.triggerKeyDown = !0 : p = !1, p && (f.preventDefault(), f.stopPropagation());
|
|
229735
|
-
})), this._register(je(this.domNode,
|
|
229735
|
+
})), this._register(je(this.domNode, st.KEY_UP, (h) => {
|
|
229736
229736
|
const f = new Mi(h);
|
|
229737
229737
|
this.isTriggerKeyEvent(f) ? (!this._triggerKeys.keyDown && this.triggerKeyDown && (this.triggerKeyDown = !1, this.doTrigger(f)), f.preventDefault(), f.stopPropagation()) : (f.equals(
|
|
229738
229738
|
2
|
|
@@ -229826,7 +229826,7 @@ class Xh extends Ge {
|
|
|
229826
229826
|
s.className = "action-item", s.setAttribute("role", "presentation");
|
|
229827
229827
|
let a;
|
|
229828
229828
|
const l = { hoverDelegate: this._hoverDelegate, ...t };
|
|
229829
|
-
this.options.actionViewItemProvider && (a = this.options.actionViewItemProvider(o, l)), a || (a = new uF(this.context, o, l)), this.options.allowContextMenu || this.viewItemDisposables.set(a, je(s,
|
|
229829
|
+
this.options.actionViewItemProvider && (a = this.options.actionViewItemProvider(o, l)), a || (a = new uF(this.context, o, l)), this.options.allowContextMenu || this.viewItemDisposables.set(a, je(s, st.CONTEXT_MENU, (u) => {
|
|
229830
229830
|
tn.stop(u, !0);
|
|
229831
229831
|
})), a.actionRunner = this._actionRunner, a.setActionContext(this.context), a.render(s), this.focusable && a instanceof Wu && this.viewItems.length === 0 && a.setFocusable(!0), r === null || r < 0 || r >= this.actionsList.children.length ? (this.actionsList.appendChild(s), this.viewItems.push(a)) : (this.actionsList.insertBefore(s, this.actionsList.children[r]), this.viewItems.splice(r, 0, a), r++);
|
|
229832
229832
|
}), typeof this.focusedItem == "number" && this.focus(this.focusedItem), this.refreshRole();
|
|
@@ -229931,12 +229931,12 @@ class Mp extends Xh {
|
|
|
229931
229931
|
10
|
|
229932
229932
|
/* KeyCode.Space */
|
|
229933
229933
|
] : []], keyDown: !0 }
|
|
229934
|
-
}), this.menuStyles = r, this.menuElement = o, this.actionsList.tabIndex = 0, this.initializeOrUpdateStyleSheet(e, r), this._register(Di.addTarget(o)), this._register(je(o,
|
|
229934
|
+
}), this.menuStyles = r, this.menuElement = o, this.actionsList.tabIndex = 0, this.initializeOrUpdateStyleSheet(e, r), this._register(Di.addTarget(o)), this._register(je(o, st.KEY_DOWN, (u) => {
|
|
229935
229935
|
new Mi(u).equals(
|
|
229936
229936
|
2
|
|
229937
229937
|
/* KeyCode.Tab */
|
|
229938
229938
|
) && u.preventDefault();
|
|
229939
|
-
})), i.enableMnemonics && this._register(je(o,
|
|
229939
|
+
})), i.enableMnemonics && this._register(je(o, st.KEY_DOWN, (u) => {
|
|
229940
229940
|
const c = u.key.toLocaleLowerCase();
|
|
229941
229941
|
if (this.mnemonics.has(c)) {
|
|
229942
229942
|
tn.stop(u, !0);
|
|
@@ -229946,7 +229946,7 @@ class Mp extends Xh {
|
|
|
229946
229946
|
h && h.container && (this.focusItemByElement(h.container), d.push(h)), this.mnemonics.set(c, d);
|
|
229947
229947
|
}
|
|
229948
229948
|
}
|
|
229949
|
-
})), Ys && this._register(je(o,
|
|
229949
|
+
})), Ys && this._register(je(o, st.KEY_DOWN, (u) => {
|
|
229950
229950
|
const c = new Mi(u);
|
|
229951
229951
|
c.equals(
|
|
229952
229952
|
14
|
|
@@ -229961,10 +229961,10 @@ class Mp extends Xh {
|
|
|
229961
229961
|
12
|
|
229962
229962
|
/* KeyCode.PageDown */
|
|
229963
229963
|
)) && (this.focusedItem = 0, this.focusPrevious(), tn.stop(u, !0));
|
|
229964
|
-
})), this._register(je(this.domNode,
|
|
229964
|
+
})), this._register(je(this.domNode, st.MOUSE_OUT, (u) => {
|
|
229965
229965
|
const c = u.relatedTarget;
|
|
229966
229966
|
yo(c, this.domNode) || (this.focusedItem = void 0, this.updateFocus(), u.stopPropagation());
|
|
229967
|
-
})), this._register(je(this.actionsList,
|
|
229967
|
+
})), this._register(je(this.actionsList, st.MOUSE_OVER, (u) => {
|
|
229968
229968
|
let c = u.target;
|
|
229969
229969
|
if (!(!c || !yo(c, this.actionsList) || c === this.actionsList)) {
|
|
229970
229970
|
for (; c.parentElement !== this.actionsList && c.parentElement !== null; )
|
|
@@ -230001,7 +230001,7 @@ class Mp extends Xh {
|
|
|
230001
230001
|
tn.stop(u, !0);
|
|
230002
230002
|
const c = this.scrollableElement.getScrollPosition().scrollTop;
|
|
230003
230003
|
this.scrollableElement.setScrollPosition({ scrollTop: c - u.translationY });
|
|
230004
|
-
})), this._register(je(a,
|
|
230004
|
+
})), this._register(je(a, st.MOUSE_UP, (u) => {
|
|
230005
230005
|
u.preventDefault();
|
|
230006
230006
|
}));
|
|
230007
230007
|
const l = It(e);
|
|
@@ -230088,7 +230088,7 @@ class Yde extends Wu {
|
|
|
230088
230088
|
}
|
|
230089
230089
|
}
|
|
230090
230090
|
this.runOnceToEnableMouseUp = new bs(() => {
|
|
230091
|
-
this.element && (this._register(je(this.element,
|
|
230091
|
+
this.element && (this._register(je(this.element, st.MOUSE_UP, (o) => {
|
|
230092
230092
|
if (tn.stop(o, !0), uu) {
|
|
230093
230093
|
if (new Yu(It(this.element), o).rightButton)
|
|
230094
230094
|
return;
|
|
@@ -230097,7 +230097,7 @@ class Yde extends Wu {
|
|
|
230097
230097
|
setTimeout(() => {
|
|
230098
230098
|
this.onClick(o);
|
|
230099
230099
|
}, 0);
|
|
230100
|
-
})), this._register(je(this.element,
|
|
230100
|
+
})), this._register(je(this.element, st.CONTEXT_MENU, (o) => {
|
|
230101
230101
|
tn.stop(o, !0);
|
|
230102
230102
|
})));
|
|
230103
230103
|
}, 100), this._register(this.runOnceToEnableMouseUp);
|
|
@@ -230167,7 +230167,7 @@ class tY extends Yde {
|
|
|
230167
230167
|
}, 750);
|
|
230168
230168
|
}
|
|
230169
230169
|
render(e) {
|
|
230170
|
-
super.render(e), this.element && (this.item && (this.item.classList.add("monaco-submenu-item"), this.item.tabIndex = 0, this.item.setAttribute("aria-haspopup", "true"), this.updateAriaExpanded("false"), this.submenuIndicator = yt(this.item, Rt("span.submenu-indicator" + Ln.asCSSSelector(gt.menuSubmenu))), this.submenuIndicator.setAttribute("aria-hidden", "true")), this._register(je(this.element,
|
|
230170
|
+
super.render(e), this.element && (this.item && (this.item.classList.add("monaco-submenu-item"), this.item.tabIndex = 0, this.item.setAttribute("aria-haspopup", "true"), this.updateAriaExpanded("false"), this.submenuIndicator = yt(this.item, Rt("span.submenu-indicator" + Ln.asCSSSelector(gt.menuSubmenu))), this.submenuIndicator.setAttribute("aria-hidden", "true")), this._register(je(this.element, st.KEY_UP, (t) => {
|
|
230171
230171
|
const i = new Mi(t);
|
|
230172
230172
|
(i.equals(
|
|
230173
230173
|
17
|
|
@@ -230176,7 +230176,7 @@ class tY extends Yde {
|
|
|
230176
230176
|
3
|
|
230177
230177
|
/* KeyCode.Enter */
|
|
230178
230178
|
)) && (tn.stop(t, !0), this.createSubmenu(!0));
|
|
230179
|
-
})), this._register(je(this.element,
|
|
230179
|
+
})), this._register(je(this.element, st.KEY_DOWN, (t) => {
|
|
230180
230180
|
const i = new Mi(t);
|
|
230181
230181
|
es() === this.item && (i.equals(
|
|
230182
230182
|
17
|
|
@@ -230185,11 +230185,11 @@ class tY extends Yde {
|
|
|
230185
230185
|
3
|
|
230186
230186
|
/* KeyCode.Enter */
|
|
230187
230187
|
)) && tn.stop(t, !0);
|
|
230188
|
-
})), this._register(je(this.element,
|
|
230188
|
+
})), this._register(je(this.element, st.MOUSE_OVER, (t) => {
|
|
230189
230189
|
this.mouseOver || (this.mouseOver = !0, this.showScheduler.schedule());
|
|
230190
|
-
})), this._register(je(this.element,
|
|
230190
|
+
})), this._register(je(this.element, st.MOUSE_LEAVE, (t) => {
|
|
230191
230191
|
this.mouseOver = !1;
|
|
230192
|
-
})), this._register(je(this.element,
|
|
230192
|
+
})), this._register(je(this.element, st.FOCUS_OUT, (t) => {
|
|
230193
230193
|
this.element && !yo(es(), this.element) && this.hideScheduler.schedule();
|
|
230194
230194
|
})), this._register(this.parentData.parent.onScroll(() => {
|
|
230195
230195
|
this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(!1), this.cleanupExistingSubmenu(!0));
|
|
@@ -230227,12 +230227,12 @@ class tY extends Yde {
|
|
|
230227
230227
|
height: r.height + 2 * i,
|
|
230228
230228
|
width: r.width
|
|
230229
230229
|
}, s = this.submenuContainer.getBoundingClientRect(), a = It(this.element), { top: l, left: u } = this.calculateSubmenuMenuLayout(new pl(a.innerWidth, a.innerHeight), pl.lift(s), o, this.expandDirection);
|
|
230230
|
-
this.submenuContainer.style.left = `${u - s.left}px`, this.submenuContainer.style.top = `${l - s.top}px`, this.submenuDisposables.add(je(this.submenuContainer,
|
|
230230
|
+
this.submenuContainer.style.left = `${u - s.left}px`, this.submenuContainer.style.top = `${l - s.top}px`, this.submenuDisposables.add(je(this.submenuContainer, st.KEY_UP, (c) => {
|
|
230231
230231
|
new Mi(c).equals(
|
|
230232
230232
|
15
|
|
230233
230233
|
/* KeyCode.LeftArrow */
|
|
230234
230234
|
) && (tn.stop(c, !0), this.parentData.parent.focus(), this.cleanupExistingSubmenu(!0));
|
|
230235
|
-
})), this.submenuDisposables.add(je(this.submenuContainer,
|
|
230235
|
+
})), this.submenuDisposables.add(je(this.submenuContainer, st.KEY_DOWN, (c) => {
|
|
230236
230236
|
new Mi(c).equals(
|
|
230237
230237
|
15
|
|
230238
230238
|
/* KeyCode.LeftArrow */
|
|
@@ -230679,7 +230679,7 @@ class $_t {
|
|
|
230679
230679
|
var s;
|
|
230680
230680
|
this.lastContainer = o;
|
|
230681
230681
|
const a = e.getMenuClassName ? e.getMenuClassName() : "";
|
|
230682
|
-
a && (o.className += " " + a), this.options.blockMouse && (this.block = o.appendChild(Rt(".context-view-block")), this.block.style.position = "fixed", this.block.style.cursor = "initial", this.block.style.left = "0", this.block.style.top = "0", this.block.style.width = "100%", this.block.style.height = "100%", this.block.style.zIndex = "-1", (s = this.blockDisposable) === null || s === void 0 || s.dispose(), this.blockDisposable = je(this.block,
|
|
230682
|
+
a && (o.className += " " + a), this.options.blockMouse && (this.block = o.appendChild(Rt(".context-view-block")), this.block.style.position = "fixed", this.block.style.cursor = "initial", this.block.style.left = "0", this.block.style.top = "0", this.block.style.width = "100%", this.block.style.height = "100%", this.block.style.zIndex = "-1", (s = this.blockDisposable) === null || s === void 0 || s.dispose(), this.blockDisposable = je(this.block, st.MOUSE_DOWN, (d) => d.stopPropagation()));
|
|
230683
230683
|
const l = new Tt(), u = e.actionRunner || new i3();
|
|
230684
230684
|
u.onWillRun((d) => this.onActionRun(d, !e.skipTelemetry), this, l), u.onDidRun(this.onDidActionRun, this, l), i = new Mp(o, t, {
|
|
230685
230685
|
actionViewItemProvider: e.getActionViewItem,
|
|
@@ -230688,7 +230688,7 @@ class $_t {
|
|
|
230688
230688
|
getKeyBinding: e.getKeyBinding ? e.getKeyBinding : (d) => this.keybindingService.lookupKeybinding(d.id)
|
|
230689
230689
|
}, B_t), i.onDidCancel(() => this.contextViewService.hideContextView(!0), null, l), i.onDidBlur(() => this.contextViewService.hideContextView(!0), null, l);
|
|
230690
230690
|
const c = It(o);
|
|
230691
|
-
return l.add(je(c,
|
|
230691
|
+
return l.add(je(c, st.BLUR, () => this.contextViewService.hideContextView(!0))), l.add(je(c, st.MOUSE_DOWN, (d) => {
|
|
230692
230692
|
if (d.defaultPrevented)
|
|
230693
230693
|
return;
|
|
230694
230694
|
const h = new Yu(c, d);
|
|
@@ -236636,7 +236636,7 @@ function Awt(n, e, t) {
|
|
|
236636
236636
|
a.style.textDecoration = "underline";
|
|
236637
236637
|
const l = (f) => {
|
|
236638
236638
|
G2t(f) && tn.stop(f, !0), t.callback(o.href);
|
|
236639
|
-
}, u = t.disposables.add(new dn(a,
|
|
236639
|
+
}, u = t.disposables.add(new dn(a, st.CLICK)).event, c = t.disposables.add(new dn(a, st.KEY_DOWN)).event, d = at.chain(c, (f) => f.filter((p) => {
|
|
236640
236640
|
const g = new Mi(p);
|
|
236641
236641
|
return g.equals(
|
|
236642
236642
|
10
|
|
@@ -236740,9 +236740,9 @@ class z6 {
|
|
|
236740
236740
|
const t = /* @__PURE__ */ Object.create(null);
|
|
236741
236741
|
t.toDisposeElement = [], t.toDisposeTemplate = [], t.entry = yt(e, Ru(".quick-input-list-entry"));
|
|
236742
236742
|
const i = yt(t.entry, Ru("label.quick-input-list-label"));
|
|
236743
|
-
t.toDisposeTemplate.push(Gr(i,
|
|
236743
|
+
t.toDisposeTemplate.push(Gr(i, st.CLICK, (u) => {
|
|
236744
236744
|
t.checkbox.offsetParent || u.preventDefault();
|
|
236745
|
-
})), t.checkbox = yt(i, Ru("input.quick-input-list-checkbox")), t.checkbox.type = "checkbox", t.toDisposeTemplate.push(Gr(t.checkbox,
|
|
236745
|
+
})), t.checkbox = yt(i, Ru("input.quick-input-list-checkbox")), t.checkbox.type = "checkbox", t.toDisposeTemplate.push(Gr(t.checkbox, st.CHANGE, (u) => {
|
|
236746
236746
|
t.element.checked = t.checkbox.checked;
|
|
236747
236747
|
}));
|
|
236748
236748
|
const r = yt(i, Ru(".quick-input-list-rows")), o = yt(r, Ru(".quick-input-list-row")), s = yt(r, Ru(".quick-input-list-row"));
|
|
@@ -236855,7 +236855,7 @@ class MF {
|
|
|
236855
236855
|
this._onKeyDown.fire(u);
|
|
236856
236856
|
})), this.disposables.push(this.list.onMouseDown((l) => {
|
|
236857
236857
|
l.browserEvent.button !== 2 && l.browserEvent.preventDefault();
|
|
236858
|
-
})), this.disposables.push(je(this.container,
|
|
236858
|
+
})), this.disposables.push(je(this.container, st.CLICK, (l) => {
|
|
236859
236859
|
(l.x || l.y) && this._onLeave.fire();
|
|
236860
236860
|
})), this.disposables.push(this.list.onMouseMiddleClick((l) => {
|
|
236861
236861
|
this._onLeave.fire();
|
|
@@ -237549,7 +237549,7 @@ class _8 extends V6 {
|
|
|
237549
237549
|
this.onWillAcceptEmitter.fire({ veto: () => t = !0 }), t || this.onDidAcceptEmitter.fire({ inBackground: e });
|
|
237550
237550
|
}
|
|
237551
237551
|
registerQuickNavigation() {
|
|
237552
|
-
return je(this.ui.container,
|
|
237552
|
+
return je(this.ui.container, st.KEY_UP, (e) => {
|
|
237553
237553
|
if (this.canSelectMany || !this._quickNavigate)
|
|
237554
237554
|
return;
|
|
237555
237555
|
const t = new Mi(e), i = t.keyCode;
|
|
@@ -237669,7 +237669,7 @@ class ZT extends Ge {
|
|
|
237669
237669
|
constructor(e, t) {
|
|
237670
237670
|
super(), this._label = "", this._onDidClick = this._register(new Le()), this._onDidEscape = this._register(new Le()), this.options = t, this._element = document.createElement("a"), this._element.classList.add("monaco-button"), this._element.tabIndex = 0, this._element.setAttribute("role", "button"), this._element.classList.toggle("secondary", !!t.secondary);
|
|
237671
237671
|
const i = t.secondary ? t.buttonSecondaryBackground : t.buttonBackground, r = t.secondary ? t.buttonSecondaryForeground : t.buttonForeground;
|
|
237672
|
-
this._element.style.color = r || "", this._element.style.backgroundColor = i || "", t.supportShortLabel && (this._labelShortElement = document.createElement("div"), this._labelShortElement.classList.add("monaco-button-label-short"), this._element.appendChild(this._labelShortElement), this._labelElement = document.createElement("div"), this._labelElement.classList.add("monaco-button-label"), this._element.appendChild(this._labelElement), this._element.classList.add("monaco-text-button-with-short-label")), typeof t.ariaLabel == "string" && this._element.setAttribute("aria-label", t.ariaLabel), e.appendChild(this._element), this._register(Di.addTarget(this._element)), [
|
|
237672
|
+
this._element.style.color = r || "", this._element.style.backgroundColor = i || "", t.supportShortLabel && (this._labelShortElement = document.createElement("div"), this._labelShortElement.classList.add("monaco-button-label-short"), this._element.appendChild(this._labelShortElement), this._labelElement = document.createElement("div"), this._labelElement.classList.add("monaco-button-label"), this._element.appendChild(this._labelElement), this._element.classList.add("monaco-text-button-with-short-label")), typeof t.ariaLabel == "string" && this._element.setAttribute("aria-label", t.ariaLabel), e.appendChild(this._element), this._register(Di.addTarget(this._element)), [st.CLICK, mi.Tap].forEach((o) => {
|
|
237673
237673
|
this._register(je(this._element, o, (s) => {
|
|
237674
237674
|
if (!this.enabled) {
|
|
237675
237675
|
tn.stop(s);
|
|
@@ -237677,7 +237677,7 @@ class ZT extends Ge {
|
|
|
237677
237677
|
}
|
|
237678
237678
|
this._onDidClick.fire(s);
|
|
237679
237679
|
}));
|
|
237680
|
-
}), this._register(je(this._element,
|
|
237680
|
+
}), this._register(je(this._element, st.KEY_DOWN, (o) => {
|
|
237681
237681
|
const s = new Mi(o);
|
|
237682
237682
|
let a = !1;
|
|
237683
237683
|
this.enabled && (s.equals(
|
|
@@ -237690,9 +237690,9 @@ class ZT extends Ge {
|
|
|
237690
237690
|
9
|
|
237691
237691
|
/* KeyCode.Escape */
|
|
237692
237692
|
) && (this._onDidEscape.fire(o), this._element.blur(), a = !0), a && tn.stop(s, !0);
|
|
237693
|
-
})), this._register(je(this._element,
|
|
237693
|
+
})), this._register(je(this._element, st.MOUSE_OVER, (o) => {
|
|
237694
237694
|
this._element.classList.contains("disabled") || this.updateBackground(!0);
|
|
237695
|
-
})), this._register(je(this._element,
|
|
237695
|
+
})), this._register(je(this._element, st.MOUSE_OUT, (o) => {
|
|
237696
237696
|
this.updateBackground(!1);
|
|
237697
237697
|
})), this.focusTracker = this._register(B9(this._element)), this._register(this.focusTracker.onDidFocus(() => {
|
|
237698
237698
|
this.enabled && this.updateBackground(!0);
|
|
@@ -237807,7 +237807,7 @@ wx.LONG_RUNNING_INFINITE_THRESHOLD = 1e4;
|
|
|
237807
237807
|
const zwt = Rt;
|
|
237808
237808
|
class Vwt extends Ge {
|
|
237809
237809
|
constructor(e, t, i) {
|
|
237810
|
-
super(), this.parent = e, this.onKeyDown = (o) => Gr(this.findInput.inputBox.inputElement,
|
|
237810
|
+
super(), this.parent = e, this.onKeyDown = (o) => Gr(this.findInput.inputBox.inputElement, st.KEY_DOWN, o), this.onDidChange = (o) => this.findInput.onDidChange(o), this.container = yt(this.parent, zwt(".quick-input-box")), this.findInput = this._register(new Nyt(this.container, void 0, { label: "", inputBoxStyles: t, toggleStyles: i }));
|
|
237811
237811
|
const r = this.findInput.inputBox.inputElement;
|
|
237812
237812
|
r.role = "combobox", r.ariaHasPopup = "menu", r.ariaAutoComplete = "list", r.ariaExpanded = "true";
|
|
237813
237813
|
}
|
|
@@ -237874,7 +237874,7 @@ class Cx extends Ge {
|
|
|
237874
237874
|
const i = (r) => {
|
|
237875
237875
|
this.keyMods.ctrlCmd = r.ctrlKey || r.metaKey, this.keyMods.alt = r.altKey;
|
|
237876
237876
|
};
|
|
237877
|
-
for (const r of [
|
|
237877
|
+
for (const r of [st.KEY_DOWN, st.KEY_UP, st.MOUSE_DOWN])
|
|
237878
237878
|
t.add(je(e, r, i, !0));
|
|
237879
237879
|
}
|
|
237880
237880
|
getUI(e) {
|
|
@@ -237887,10 +237887,10 @@ class Cx extends Ge {
|
|
|
237887
237887
|
const s = yt(r, ia(".quick-input-title")), a = this._register(new Xh(r, { hoverDelegate: this.options.hoverDelegate }));
|
|
237888
237888
|
a.domNode.classList.add("quick-input-right-action-bar");
|
|
237889
237889
|
const l = yt(t, ia(".quick-input-header")), u = yt(l, ia("input.quick-input-check-all"));
|
|
237890
|
-
u.type = "checkbox", u.setAttribute("aria-label", T("quickInput.checkAll", "Toggle all checkboxes")), this._register(Gr(u,
|
|
237890
|
+
u.type = "checkbox", u.setAttribute("aria-label", T("quickInput.checkAll", "Toggle all checkboxes")), this._register(Gr(u, st.CHANGE, (A) => {
|
|
237891
237891
|
const F = u.checked;
|
|
237892
237892
|
N.setAllVisibleChecked(F);
|
|
237893
|
-
})), this._register(je(u,
|
|
237893
|
+
})), this._register(je(u, st.CLICK, (A) => {
|
|
237894
237894
|
(A.x || A.y) && f.setFocus();
|
|
237895
237895
|
}));
|
|
237896
237896
|
const c = yt(l, ia(".quick-input-description")), d = yt(l, ia(".quick-input-and-message")), h = yt(d, ia(".quick-input-filter")), f = this._register(new Vwt(h, this.styles.inputBox, this.styles.toggle));
|
|
@@ -237927,13 +237927,13 @@ class Cx extends Ge {
|
|
|
237927
237927
|
}, 0);
|
|
237928
237928
|
}));
|
|
237929
237929
|
const E = B9(t);
|
|
237930
|
-
return this._register(E), this._register(je(t,
|
|
237930
|
+
return this._register(E), this._register(je(t, st.FOCUS, (A) => {
|
|
237931
237931
|
yo(A.relatedTarget, t) || (this.previousFocusElement = A.relatedTarget instanceof HTMLElement ? A.relatedTarget : void 0);
|
|
237932
237932
|
}, !0)), this._register(E.onDidBlur(() => {
|
|
237933
237933
|
!this.getUI().ignoreFocusOut && !this.options.ignoreFocusOut() && this.hide(b8.Blur), this.previousFocusElement = void 0;
|
|
237934
|
-
})), this._register(je(t,
|
|
237934
|
+
})), this._register(je(t, st.FOCUS, (A) => {
|
|
237935
237935
|
f.setFocus();
|
|
237936
|
-
})), this._register(Gr(t,
|
|
237936
|
+
})), this._register(Gr(t, st.KEY_DOWN, (A) => {
|
|
237937
237937
|
if (!yo(A.target, S))
|
|
237938
237938
|
switch (A.keyCode) {
|
|
237939
237939
|
case 3:
|
|
@@ -240743,10 +240743,10 @@ let Sg = class extends vbt {
|
|
|
240743
240743
|
super(e, t, i, r, o), this._cachedResolver = null, this._dynamicKeybindings = [], this._domNodeListeners = [];
|
|
240744
240744
|
const a = (f) => {
|
|
240745
240745
|
const p = new Tt();
|
|
240746
|
-
p.add(je(f,
|
|
240746
|
+
p.add(je(f, st.KEY_DOWN, (g) => {
|
|
240747
240747
|
const b = new Mi(g);
|
|
240748
240748
|
this._dispatch(b, b.target) && (b.preventDefault(), b.stopPropagation());
|
|
240749
|
-
})), p.add(je(f,
|
|
240749
|
+
})), p.add(je(f, st.KEY_UP, (g) => {
|
|
240750
240750
|
const b = new Mi(g);
|
|
240751
240751
|
this._singleModifierDispatch(b, b.target) && b.preventDefault();
|
|
240752
240752
|
})), this._domNodeListeners.push(new ICt(f, p));
|
|
@@ -243984,9 +243984,9 @@ let c3 = zl = class extends Ge {
|
|
|
243984
243984
|
const d = Oi("div.diffOverview", {
|
|
243985
243985
|
style: { position: "absolute", top: "0px", width: zl.ENTIRE_DIFF_OVERVIEW_WIDTH + "px" }
|
|
243986
243986
|
}).root;
|
|
243987
|
-
this._register(Tv(d, c.domNode)), this._register(Gr(d,
|
|
243987
|
+
this._register(Tv(d, c.domNode)), this._register(Gr(d, st.POINTER_DOWN, (h) => {
|
|
243988
243988
|
this._editors.modified.delegateVerticalScrollbarPointerDown(h);
|
|
243989
|
-
})), this._register(je(d,
|
|
243989
|
+
})), this._register(je(d, st.MOUSE_WHEEL, (h) => {
|
|
243990
243990
|
this._editors.modified.delegateScrollFromMouseWheelEvent(h);
|
|
243991
243991
|
}, { passive: !1 })), this._register(Tv(this._rootElement, d)), this._register(_2((h, f) => {
|
|
243992
243992
|
const p = this._diffModel.read(h), g = this._editors.original.createOverviewRuler("original diffOverviewRuler");
|
|
@@ -244363,11 +244363,11 @@ class D8 extends Ge {
|
|
|
244363
244363
|
constructor(e, t, i, r) {
|
|
244364
244364
|
super(), this._lineNumber = e, this._widget = t, this._diffs = i, this._revertSelection = r, this._id = `revertButton${D8.counter++}`, this._domNode = Oi("div.revertButton", {
|
|
244365
244365
|
title: this._revertSelection ? T("revertSelectedChanges", "Revert Selected Changes") : T("revertChange", "Revert Change")
|
|
244366
|
-
}, [Dy(gt.arrowRight)]).root, this._register(je(this._domNode,
|
|
244366
|
+
}, [Dy(gt.arrowRight)]).root, this._register(je(this._domNode, st.MOUSE_DOWN, (o) => {
|
|
244367
244367
|
o.button !== 2 && (o.stopPropagation(), o.preventDefault());
|
|
244368
|
-
})), this._register(je(this._domNode,
|
|
244368
|
+
})), this._register(je(this._domNode, st.MOUSE_UP, (o) => {
|
|
244369
244369
|
o.stopPropagation(), o.preventDefault();
|
|
244370
|
-
})), this._register(je(this._domNode,
|
|
244370
|
+
})), this._register(je(this._domNode, st.CLICK, (o) => {
|
|
244371
244371
|
this._widget.revertRangeMappings(this._diffs), o.stopPropagation(), o.preventDefault();
|
|
244372
244372
|
}));
|
|
244373
244373
|
}
|
|
@@ -246601,7 +246601,7 @@ Y0e({
|
|
|
246601
246601
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
246602
246602
|
aliases: ["Python", "py"],
|
|
246603
246603
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
246604
|
-
loader: () => import("./python-
|
|
246604
|
+
loader: () => import("./python-e8c63eb9.js")
|
|
246605
246605
|
});
|
|
246606
246606
|
/*!-----------------------------------------------------------------------------
|
|
246607
246607
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -247116,7 +247116,7 @@ const uNt = {
|
|
|
247116
247116
|
};
|
|
247117
247117
|
let a, l;
|
|
247118
247118
|
const u = n, c = ue(), d = te(() => ({ ...o, ...u.style })), h = te(() => ({ ...s, ...u.config }));
|
|
247119
|
-
|
|
247119
|
+
ot(
|
|
247120
247120
|
() => [u.data, u.style],
|
|
247121
247121
|
() => {
|
|
247122
247122
|
f();
|
|
@@ -247424,7 +247424,7 @@ const mNt = /* @__PURE__ */ $n(gNt, [["__scopeId", "data-v-964eca86"]]), vNt = {
|
|
|
247424
247424
|
};
|
|
247425
247425
|
let i, r;
|
|
247426
247426
|
const o = n, s = ue(), a = te(() => ({ ...t, ...o.config }));
|
|
247427
|
-
|
|
247427
|
+
ot(
|
|
247428
247428
|
() => [o.data],
|
|
247429
247429
|
() => {
|
|
247430
247430
|
l();
|
|
@@ -252340,7 +252340,7 @@ const xhe = (n) => (g1("data-v-8554bb2c"), n = n(), m1(), n), IMt = { class: "fa
|
|
|
252340
252340
|
return wn.warning("请先进行测试, 等待测试完成后可查看日志");
|
|
252341
252341
|
d.value = !0;
|
|
252342
252342
|
};
|
|
252343
|
-
return
|
|
252343
|
+
return ot(
|
|
252344
252344
|
() => s.value,
|
|
252345
252345
|
(N) => {
|
|
252346
252346
|
switch (N) {
|
|
@@ -252359,7 +252359,7 @@ const xhe = (n) => (g1("data-v-8554bb2c"), n = n(), m1(), n), IMt = { class: "fa
|
|
|
252359
252359
|
}
|
|
252360
252360
|
}
|
|
252361
252361
|
}
|
|
252362
|
-
),
|
|
252362
|
+
), ot(
|
|
252363
252363
|
() => l.value,
|
|
252364
252364
|
(N) => {
|
|
252365
252365
|
N === "模版" && o.value.close(), N === "脚本" && Pt(() => {
|
|
@@ -253242,7 +253242,7 @@ const Px = (n) => (g1("data-v-6a791396"), n = n(), m1(), n), eTt = {
|
|
|
253242
253242
|
break;
|
|
253243
253243
|
}
|
|
253244
253244
|
};
|
|
253245
|
-
|
|
253245
|
+
ot(
|
|
253246
253246
|
() => l.value,
|
|
253247
253247
|
() => {
|
|
253248
253248
|
r.value.length && (r.value = r.value.filter(({ key: y }) => l.value.find((v) => v.key === y)));
|
|
@@ -253709,7 +253709,7 @@ const Px = (n) => (g1("data-v-6a791396"), n = n(), m1(), n), eTt = {
|
|
|
253709
253709
|
};
|
|
253710
253710
|
}
|
|
253711
253711
|
}, ATt = /* @__PURE__ */ $n(TTt, [["__scopeId", "data-v-6a791396"]]);
|
|
253712
|
-
const kTt = (n) => (g1("data-v-
|
|
253712
|
+
const kTt = (n) => (g1("data-v-0c889ca6"), n = n(), m1(), n), ITt = {
|
|
253713
253713
|
key: 0,
|
|
253714
253714
|
class: "composite-order"
|
|
253715
253715
|
}, OTt = { class: "title" }, RTt = /* @__PURE__ */ kTt(() => /* @__PURE__ */ fe("span", null, "组合排序: ", -1)), FTt = { class: "tag-box" }, PTt = ["onClick"], BTt = { class: "custom-header" }, zTt = { class: "left" }, VTt = ["id"], HTt = { class: "right" }, WTt = { class: "dialog-footer" }, jTt = {
|
|
@@ -253766,12 +253766,12 @@ const kTt = (n) => (g1("data-v-3a2c59c7"), n = n(), m1(), n), ITt = {
|
|
|
253766
253766
|
break;
|
|
253767
253767
|
}
|
|
253768
253768
|
case "delete": {
|
|
253769
|
-
t.value.splice(u, 1)
|
|
253769
|
+
t.value.splice(u, 1);
|
|
253770
253770
|
break;
|
|
253771
253771
|
}
|
|
253772
253772
|
}
|
|
253773
253773
|
};
|
|
253774
|
-
return
|
|
253774
|
+
return ot(
|
|
253775
253775
|
() => s.value,
|
|
253776
253776
|
() => {
|
|
253777
253777
|
t.value.length && (t.value = t.value.filter(({ name: l }) => s.value.find((u) => u.key === l)));
|
|
@@ -253820,10 +253820,7 @@ const kTt = (n) => (g1("data-v-3a2c59c7"), n = n(), m1(), n), ITt = {
|
|
|
253820
253820
|
width: "400",
|
|
253821
253821
|
"align-center": "",
|
|
253822
253822
|
"destroy-on-close": "",
|
|
253823
|
-
draggable: "",
|
|
253824
253823
|
overflow: "",
|
|
253825
|
-
modal: !1,
|
|
253826
|
-
"modal-penetrable": !0,
|
|
253827
253824
|
"show-close": !1
|
|
253828
253825
|
}, {
|
|
253829
253826
|
header: ae(({ titleId: _, titleClass: w }) => [
|
|
@@ -253924,7 +253921,7 @@ const kTt = (n) => (g1("data-v-3a2c59c7"), n = n(), m1(), n), ITt = {
|
|
|
253924
253921
|
])) : Ve("", !0);
|
|
253925
253922
|
};
|
|
253926
253923
|
}
|
|
253927
|
-
}, $Tt = /* @__PURE__ */ $n(jTt, [["__scopeId", "data-v-
|
|
253924
|
+
}, $Tt = /* @__PURE__ */ $n(jTt, [["__scopeId", "data-v-0c889ca6"]]);
|
|
253928
253925
|
const pm = (n) => (g1("data-v-c14d66fc"), n = n(), m1(), n), UTt = { class: "variety-search" }, qTt = {
|
|
253929
253926
|
key: 0,
|
|
253930
253927
|
class: "variety-search-row"
|
|
@@ -254037,13 +254034,13 @@ const pm = (n) => (g1("data-v-c14d66fc"), n = n(), m1(), n), UTt = { class: "var
|
|
|
254037
254034
|
}
|
|
254038
254035
|
}
|
|
254039
254036
|
};
|
|
254040
|
-
return
|
|
254037
|
+
return ot(
|
|
254041
254038
|
() => s.value,
|
|
254042
254039
|
(d) => {
|
|
254043
254040
|
var h;
|
|
254044
254041
|
(h = i.value.commonOption) != null && h.length && (i.value.commonOption = i.value.commonOption.filter((f) => d.find(({ value: p }) => p === f)));
|
|
254045
254042
|
}
|
|
254046
|
-
),
|
|
254043
|
+
), ot(
|
|
254047
254044
|
() => a.value,
|
|
254048
254045
|
(d) => {
|
|
254049
254046
|
var h;
|
|
@@ -254880,7 +254877,7 @@ const UAt = {
|
|
|
254880
254877
|
};
|
|
254881
254878
|
return rn(() => {
|
|
254882
254879
|
window.addEventListener("keydown", f);
|
|
254883
|
-
}),
|
|
254880
|
+
}), ot(() => i.tableLoading, (m) => {
|
|
254884
254881
|
m || (s.value = 0);
|
|
254885
254882
|
}), Vo(() => {
|
|
254886
254883
|
window.removeEventListener("keydown", f);
|