@zyui/components 0.0.85 → 0.0.86
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/index.js +2 -2
- package/es/index.mjs +263 -256
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var mhe = Object.defineProperty;
|
|
2
2
|
var ghe = (o, r, i) => r in o ? mhe(o, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[r] = i;
|
|
3
3
|
var cu = (o, r, i) => ghe(o, typeof r != "symbol" ? r + "" : r, i);
|
|
4
|
-
import { defineComponent as zo, reactive as gD, provide as gg, inject as hg, ref as cn, watch as
|
|
4
|
+
import { defineComponent as zo, reactive as gD, provide as gg, inject as hg, ref as cn, watch as jo, toValue as xt, computed as _n, openBlock as ut, createElementBlock as sn, createElementVNode as Vt, mergeModels as la, useModel as vr, Fragment as lr, renderList as ca, createVNode as fn, unref as De, withCtx as Cn, createCommentVNode as Mo, toDisplayString as Ls, createTextVNode as Gs, createBlock as mo, withDirectives as hz, mergeProps as Am, resolveComponent as X4, isRef as hp, onUnmounted as fd, watchEffect as lce, onMounted as Fi, onBeforeUnmount as hD, nextTick as dd, toRefs as nx, getCurrentScope as Mne, onScopeDispose as iR, renderSlot as Ir, normalizeStyle as Xl, onActivated as hhe, onDeactivated as phe, h as Ka, withModifiers as ox, Teleport as Rne, normalizeClass as Bi, vShow as vhe, resolveDynamicComponent as EE, createPropsRestProxy as bhe, toRef as gi, effectScope as cce, getCurrentInstance as sx, useSlots as yhe, onBeforeMount as whe, useAttrs as Che, isMemoSame as xhe, customRef as She, markRaw as lR, readonly as _he, createStaticVNode as Ehe, createSlots as uce, normalizeProps as The, guardReactiveProps as khe, withKeys as OR } from "vue";
|
|
5
5
|
import Ahe from "side-channel";
|
|
6
6
|
import { ElImage as Ky, ElIcon as uh, ElPopover as $R, ElForm as rx, ElFormItem as dg, ElInput as fh, ElButton as ju, ElScrollbar as pz, ElLoadingDirective as Ine, ElSelect as zE, ElOption as UE, ElDialog as vz, ElTabs as dce, ElTabPane as fce, useFormItem as Dhe, ElTable as Ohe, ElTableColumn as qH, ElCheckbox as Xy, ElMessageBox as $he, ElRadioGroup as mce, ElRadio as XC, ElTree as gce } from "element-plus";
|
|
7
|
-
const Nhe = "0.0.
|
|
7
|
+
const Nhe = "0.0.86";
|
|
8
8
|
var Mhe = Object.defineProperty, Rhe = (o, r, i) => r in o ? Mhe(o, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[r] = i, Hee = (o, r, i) => Rhe(o, typeof r != "symbol" ? r + "" : r, i);
|
|
9
9
|
function hce(o, r) {
|
|
10
10
|
return function() {
|
|
@@ -4731,7 +4731,7 @@ const CCe = (o) => {
|
|
|
4731
4731
|
m.value = !1;
|
|
4732
4732
|
}));
|
|
4733
4733
|
};
|
|
4734
|
-
return
|
|
4734
|
+
return jo(
|
|
4735
4735
|
() => r,
|
|
4736
4736
|
(C, x) => {
|
|
4737
4737
|
Da(C, x) || v();
|
|
@@ -5434,7 +5434,7 @@ const Li = (o, r) => {
|
|
|
5434
5434
|
var G, W;
|
|
5435
5435
|
return (W = (G = C.value) == null ? void 0 : G[0]) == null ? void 0 : W.value;
|
|
5436
5436
|
});
|
|
5437
|
-
|
|
5437
|
+
jo(
|
|
5438
5438
|
() => x.value,
|
|
5439
5439
|
() => {
|
|
5440
5440
|
v.value = x.value;
|
|
@@ -5777,7 +5777,7 @@ function cxe(o, r) {
|
|
|
5777
5777
|
}
|
|
5778
5778
|
function pg(o) {
|
|
5779
5779
|
const { formItem: r } = Dhe();
|
|
5780
|
-
|
|
5780
|
+
jo(
|
|
5781
5781
|
() => o,
|
|
5782
5782
|
() => {
|
|
5783
5783
|
r == null || r.validate("change").catch((i) => cxe(i));
|
|
@@ -7421,7 +7421,7 @@ function z$e(o, r, i) {
|
|
|
7421
7421
|
() => Array.isArray(o) ? o.map((D) => QC(D)) : [QC(o)]
|
|
7422
7422
|
), x = () => {
|
|
7423
7423
|
v && (v.disconnect(), v = null);
|
|
7424
|
-
}, _ =
|
|
7424
|
+
}, _ = jo(
|
|
7425
7425
|
C,
|
|
7426
7426
|
(D) => {
|
|
7427
7427
|
x(), h.value && window && (v = new ResizeObserver(r), D.forEach((R) => {
|
|
@@ -7472,7 +7472,7 @@ function Ide(o, r) {
|
|
|
7472
7472
|
}), m && Fae("scroll", C, {
|
|
7473
7473
|
capture: !0,
|
|
7474
7474
|
passive: !0
|
|
7475
|
-
}), z$e(o, C),
|
|
7475
|
+
}), z$e(o, C), jo(() => QC(o), C), Fi(() => {
|
|
7476
7476
|
h && C();
|
|
7477
7477
|
}), {
|
|
7478
7478
|
...nx(v)
|
|
@@ -7615,7 +7615,7 @@ var J$e = [
|
|
|
7615
7615
|
});
|
|
7616
7616
|
}, t5e = function(o, r, i, u) {
|
|
7617
7617
|
var m = o.modelEvents ? o.modelEvents : null, h = Array.isArray(m) ? m.join(" ") : m;
|
|
7618
|
-
|
|
7618
|
+
jo(u, function(v, C) {
|
|
7619
7619
|
i && typeof v == "string" && v !== C && v !== i.getContent({ format: o.outputFormat }) && i.setContent(v);
|
|
7620
7620
|
}), i.on(h || "change input undo redo", function() {
|
|
7621
7621
|
r.emit("update:modelValue", i.getContent({ format: o.outputFormat }));
|
|
@@ -7729,11 +7729,11 @@ var J$e = [
|
|
|
7729
7729
|
} });
|
|
7730
7730
|
o5e(x.value) && (x.value.style.visibility = ""), vE().init(de), B = !1;
|
|
7731
7731
|
};
|
|
7732
|
-
|
|
7732
|
+
jo(h, function(H) {
|
|
7733
7733
|
_ !== null && cte(_, H ? "readonly" : "design");
|
|
7734
|
-
}),
|
|
7734
|
+
}), jo(m, function(H) {
|
|
7735
7735
|
_ !== null && (Aie(_) ? _.options.set("disabled", H) : cte(_, H ? "readonly" : "design"));
|
|
7736
|
-
}),
|
|
7736
|
+
}), jo(C, function(H) {
|
|
7737
7737
|
var de;
|
|
7738
7738
|
_ && (R || (G = _.getContent()), (de = vE()) === null || de === void 0 || de.remove(_), dd(function() {
|
|
7739
7739
|
return K();
|
|
@@ -9566,13 +9566,13 @@ Required: ` + n.join(", "));
|
|
|
9566
9566
|
}
|
|
9567
9567
|
});
|
|
9568
9568
|
});
|
|
9569
|
-
},
|
|
9569
|
+
}, Wo = (e, n, s) => {
|
|
9570
9570
|
ee([...s, ...yd(e, n) ? [n] : []], (l) => ee(Zr(Qe.fromDom(l), l.nodeName.toLowerCase()), (d) => {
|
|
9571
9571
|
Ax(e, d.dom) && J(d);
|
|
9572
9572
|
}));
|
|
9573
9573
|
}, em = (e, n) => {
|
|
9574
9574
|
const s = U0(e, n);
|
|
9575
|
-
Kc(e, n, s),
|
|
9575
|
+
Kc(e, n, s), Wo(e, n, s);
|
|
9576
9576
|
}, yw = (e, n) => {
|
|
9577
9577
|
if (ww(e, n)) {
|
|
9578
9578
|
const s = z0(e.getBlockElements());
|
|
@@ -28117,7 +28117,7 @@ Required: ` + a.join(", "));
|
|
|
28117
28117
|
extract: (f, b) => t().extract(f, b),
|
|
28118
28118
|
toString: () => t().toString()
|
|
28119
28119
|
}), eI = (t) => En(Ro(t, G)), Kc = (t) => {
|
|
28120
|
-
const a =
|
|
28120
|
+
const a = Wo(t), c = Et(t, (b, S) => H0(S, (E) => vn(b, { [E]: !0 }), te(b)), {});
|
|
28121
28121
|
return {
|
|
28122
28122
|
extract: (b, S) => {
|
|
28123
28123
|
const E = R(S) ? [] : eI(S), N = Ct(E, (I) => !br(c, I));
|
|
@@ -28125,7 +28125,7 @@ Required: ` + a.join(", "));
|
|
|
28125
28125
|
},
|
|
28126
28126
|
toString: a.toString
|
|
28127
28127
|
};
|
|
28128
|
-
},
|
|
28128
|
+
}, Wo = (t) => ({
|
|
28129
28129
|
extract: (f, b) => U0(f, b, t),
|
|
28130
28130
|
toString: () => `obj{
|
|
28131
28131
|
` + Pe(t, (b) => H0(b, (S, E, N, I) => S + " -> " + I.toString(), (S, E) => "state(" + S + ")")).join(`
|
|
@@ -28161,7 +28161,7 @@ Required: ` + a.join(", "));
|
|
|
28161
28161
|
const N = En(E), I = c(S, N);
|
|
28162
28162
|
return ti.bind(I, (V) => {
|
|
28163
28163
|
const q = Pe(V, (ne) => Qf(ne, ne, rf(), a));
|
|
28164
|
-
return
|
|
28164
|
+
return Wo(q).extract(S, E);
|
|
28165
28165
|
});
|
|
28166
28166
|
},
|
|
28167
28167
|
toString: () => "setOf(" + a.toString() + ")"
|
|
@@ -28172,7 +28172,7 @@ Required: ` + a.join(", "));
|
|
|
28172
28172
|
extract: (S, E) => c().extract(S, E),
|
|
28173
28173
|
toString: () => c().toString()
|
|
28174
28174
|
};
|
|
28175
|
-
}, Rp = Xe(em,
|
|
28175
|
+
}, Rp = Xe(em, Wo), ww = (t, a, c, f) => Tn(c, f).fold(() => rT(t, c, f), (S) => S.extract(t.concat(["branch: " + f]), a)), yd = (t, a) => ({
|
|
28176
28176
|
extract: (b, S) => Tn(S, t).fold(() => sT(b, t), (N) => ww(b, S, a, N)),
|
|
28177
28177
|
toString: () => "chooseOn(" + t + "). Possible values: " + En(a)
|
|
28178
28178
|
}), Ax = () => em(vw), Ip = (t) => Np((a) => t(a).fold(ti.serror, ti.svalue)), uT = (t, a) => $D((c) => ti.fromResult(t(c)), a), dT = (t, a, c) => {
|
|
@@ -28184,7 +28184,7 @@ Required: ` + a.join(", "));
|
|
|
28184
28184
|
` + Xf(t.errors).join(`
|
|
28185
28185
|
`) + `
|
|
28186
28186
|
|
|
28187
|
-
Input object: ` + Hm(t.input), zl = (t, a) => yd(t, Lt(a,
|
|
28187
|
+
Input object: ` + Hm(t.input), zl = (t, a) => yd(t, Lt(a, Wo)), Dx = (t, a) => kx(t, a), Ul = Qf, oc = Cc, Cw = (t) => Ip((a) => We(t, a) ? ro.value(a) : ro.error(`Unsupported value: "${a}", choose one of "${t.join(", ")}".`)), gn = (t) => Ul(t, t, rf(), Jf()), Ou = (t, a) => Ul(t, t, rf(), a), fT = (t) => Ou(t, yx), Ui = (t) => Ou(t, Qo), $u = (t, a) => Ul(t, t, rf(), Cw(a)), af = (t) => Ou(t, tv), xw = (t, a) => Ul(t, t, Mp(), Np((c) => ti.serror("The field: " + t + " is forbidden. " + a))), lf = (t, a) => Ul(t, t, rf(), Wo(a)), mT = (t, a) => Ul(t, t, rf(), Rp(a)), Nu = (t, a) => Ul(t, t, rf(), em(a)), dr = (t) => Ul(t, t, Mp(), Jf()), Jc = (t, a) => Ul(t, t, Mp(), a), j0 = (t) => Jc(t, yx), vi = (t) => Jc(t, Qo), W0 = (t, a) => Jc(t, Cw(a)), Cd = (t) => Jc(t, tv), Sw = (t, a) => Jc(t, em(a)), Mu = (t, a) => Jc(t, Wo(a)), gT = (t, a) => Jc(t, Kc(a)), Ft = (t, a) => Ul(t, t, xx(a), Jf()), xd = (t, a, c) => Ul(t, t, xx(a), c), hT = (t, a) => xd(t, a, yx), Kr = (t, a) => xd(t, a, Qo), Ca = (t, a, c) => xd(t, a, Cw(c)), Tl = (t, a) => xd(t, a, ev), Xr = (t, a) => xd(t, a, tv), pT = (t, a) => xd(t, a, aT), kh = (t, a, c) => xd(t, a, em(c)), Ox = (t, a, c) => xd(t, a, Wo(c)), Pp = (t, a) => {
|
|
28188
28188
|
const c = {};
|
|
28189
28189
|
return no(t, (f, b) => {
|
|
28190
28190
|
We(a, b) || (c[b] = f);
|
|
@@ -28272,8 +28272,8 @@ Input object: ` + Hm(t.input), zl = (t, a) => yd(t, Lt(a, jo)), Dx = (t, a) => k
|
|
|
28272
28272
|
gn("item"),
|
|
28273
28273
|
gn("selectedItem")
|
|
28274
28274
|
]);
|
|
28275
|
-
te(
|
|
28276
|
-
const tI = te(
|
|
28275
|
+
te(Wo(Fx().concat(Bx())));
|
|
28276
|
+
const tI = te(Wo(Fx())), Dw = lf("initSize", [
|
|
28277
28277
|
gn("numColumns"),
|
|
28278
28278
|
gn("numRows")
|
|
28279
28279
|
]), BD = () => Ou("markers", tI()), kT = () => lf("markers", [
|
|
@@ -28405,27 +28405,27 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
28405
28405
|
{ group: ["data"] }
|
|
28406
28406
|
]), _d = Ft("factory", { sketch: $e }), Rw = Ft("schema", []), Pg = gn("name"), Wp = Ul("pname", "pname", Cx((t) => "<alloy." + ke(t.name) + ">"), Jf()), FD = oc("schema", () => [
|
|
28407
28407
|
dr("preprocess")
|
|
28408
|
-
]), Iw = Ft("defaults", te({})), Bg = Ft("overrides", te({})), Fg =
|
|
28408
|
+
]), Iw = Ft("defaults", te({})), Bg = Ft("overrides", te({})), Fg = Wo([
|
|
28409
28409
|
_d,
|
|
28410
28410
|
Rw,
|
|
28411
28411
|
Pg,
|
|
28412
28412
|
Wp,
|
|
28413
28413
|
Iw,
|
|
28414
28414
|
Bg
|
|
28415
|
-
]), LD =
|
|
28415
|
+
]), LD = Wo([
|
|
28416
28416
|
_d,
|
|
28417
28417
|
Rw,
|
|
28418
28418
|
Pg,
|
|
28419
28419
|
Iw,
|
|
28420
28420
|
Bg
|
|
28421
|
-
]), al =
|
|
28421
|
+
]), al = Wo([
|
|
28422
28422
|
_d,
|
|
28423
28423
|
Rw,
|
|
28424
28424
|
Pg,
|
|
28425
28425
|
Wp,
|
|
28426
28426
|
Iw,
|
|
28427
28427
|
Bg
|
|
28428
|
-
]), tb =
|
|
28428
|
+
]), tb = Wo([
|
|
28429
28429
|
_d,
|
|
28430
28430
|
FD,
|
|
28431
28431
|
Pg,
|
|
@@ -28495,7 +28495,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
28495
28495
|
Qc(f).each((b) => {
|
|
28496
28496
|
const S = Pw(t, b.pname);
|
|
28497
28497
|
c[b.name] = (E) => {
|
|
28498
|
-
const N = Xc("Part: " + b.name + " in " + t,
|
|
28498
|
+
const N = Xc("Part: " + b.name + " in " + t, Wo(b.schema), E);
|
|
28499
28499
|
return {
|
|
28500
28500
|
...S,
|
|
28501
28501
|
config: E,
|
|
@@ -29685,7 +29685,7 @@ Check the ` + Vm() + " event handlers"), !1) : !0;
|
|
|
29685
29685
|
gn("config"),
|
|
29686
29686
|
Ft("state", mf)
|
|
29687
29687
|
])
|
|
29688
|
-
)), f = Ia("component.behaviours",
|
|
29688
|
+
)), f = Ia("component.behaviours", Wo(c), t.behaviours).fold((b) => {
|
|
29689
29689
|
throw new Error(Th(b) + `
|
|
29690
29690
|
Complete spec:
|
|
29691
29691
|
` + JSON.stringify(t, null, 2));
|
|
@@ -29782,8 +29782,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(a, (c) => c.name),
|
|
|
29782
29782
|
return Fp(b, O2(N, I));
|
|
29783
29783
|
}));
|
|
29784
29784
|
return yT(c, {});
|
|
29785
|
-
}, Gg = "alloy.base.behaviour", Vk =
|
|
29786
|
-
Ul("dom", "dom", rf(),
|
|
29785
|
+
}, Gg = "alloy.base.behaviour", Vk = Wo([
|
|
29786
|
+
Ul("dom", "dom", rf(), Wo([
|
|
29787
29787
|
// Note, no children.
|
|
29788
29788
|
gn("tag"),
|
|
29789
29789
|
Ft("styles", {}),
|
|
@@ -31517,7 +31517,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(a, (c) => c.name),
|
|
|
31517
31517
|
const S = M.none();
|
|
31518
31518
|
O$(t, a, c, f, b, S);
|
|
31519
31519
|
}, O$ = (t, a, c, f, b, S) => {
|
|
31520
|
-
const E = Xc("placement.info",
|
|
31520
|
+
const E = Xc("placement.info", Wo(A$), b), N = E.anchor, I = f.element, V = c.get(f.uid);
|
|
31521
31521
|
Rv(() => {
|
|
31522
31522
|
Jo(I, "position", "fixed");
|
|
31523
31523
|
const q = Ze(I, "visibility");
|
|
@@ -33035,7 +33035,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33035
33035
|
init: oP,
|
|
33036
33036
|
extractPreparedMenu: e5
|
|
33037
33037
|
}, sP = ke("tiered-menu-item-highlight"), rP = ke("tiered-menu-item-dehighlight"), FW = (t, a) => {
|
|
33038
|
-
const c = Xo(), f = (pn, Vn,
|
|
33038
|
+
const c = Xo(), f = (pn, Vn, Zo) => Lt(Zo, (hs, No) => {
|
|
33039
33039
|
const ms = () => np.sketch({
|
|
33040
33040
|
...hs,
|
|
33041
33041
|
value: No,
|
|
@@ -33076,27 +33076,27 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33076
33076
|
nbMenu: ms
|
|
33077
33077
|
};
|
|
33078
33078
|
}), b = t5.init(), S = (pn) => {
|
|
33079
|
-
const Vn = f(pn, t.data.primary, t.data.menus),
|
|
33080
|
-
return b.setContents(t.data.primary, Vn, t.data.expansions,
|
|
33081
|
-
}, E = (pn) => Qn.getValue(pn).value, N = (pn, Vn,
|
|
33079
|
+
const Vn = f(pn, t.data.primary, t.data.menus), Zo = I();
|
|
33080
|
+
return b.setContents(t.data.primary, Vn, t.data.expansions, Zo), b.getPrimary();
|
|
33081
|
+
}, E = (pn) => Qn.getValue(pn).value, N = (pn, Vn, Zo) => (
|
|
33082
33082
|
// Can *greatly* improve the performance of this by calculating things up front.
|
|
33083
33083
|
rn(Vn, (hs) => {
|
|
33084
33084
|
if (!hs.getSystem().isConnected())
|
|
33085
33085
|
return M.none();
|
|
33086
33086
|
const No = rr.getCandidates(hs);
|
|
33087
|
-
return Q(No, (ms) => E(ms) ===
|
|
33087
|
+
return Q(No, (ms) => E(ms) === Zo);
|
|
33088
33088
|
})
|
|
33089
|
-
), I = (pn) => Lt(t.data.menus, (Vn,
|
|
33090
|
-
V(pn, Vn), rr.getHighlighted(Vn).orThunk(() => rr.getFirst(Vn)).each((
|
|
33091
|
-
t.fakeFocus ? rr.highlight(Vn,
|
|
33089
|
+
), I = (pn) => Lt(t.data.menus, (Vn, Zo) => ee(Vn.items, (hs) => hs.type === "separator" ? [] : [hs.data.value])), V = rr.highlight, q = (pn, Vn) => {
|
|
33090
|
+
V(pn, Vn), rr.getHighlighted(Vn).orThunk(() => rr.getFirst(Vn)).each((Zo) => {
|
|
33091
|
+
t.fakeFocus ? rr.highlight(Vn, Zo) : yb(pn, Zo.element, $h());
|
|
33092
33092
|
});
|
|
33093
|
-
}, ne = (pn, Vn) => Ko(Pe(Vn, (
|
|
33094
|
-
const hs = ne(Vn, Vn.otherMenus(
|
|
33093
|
+
}, ne = (pn, Vn) => Ko(Pe(Vn, (Zo) => pn.lookupMenu(Zo).bind((hs) => hs.type === "prepared" ? M.some(hs.menu) : M.none()))), he = (pn, Vn, Zo) => {
|
|
33094
|
+
const hs = ne(Vn, Vn.otherMenus(Zo));
|
|
33095
33095
|
bt(hs, (No) => {
|
|
33096
33096
|
Hl(No.element, [t.markers.backgroundMenu]), t.stayInDom || as.remove(pn, No);
|
|
33097
33097
|
});
|
|
33098
33098
|
}, _e = (pn) => c.get().getOrThunk(() => {
|
|
33099
|
-
const Vn = {},
|
|
33099
|
+
const Vn = {}, Zo = Zr(pn.element, `.${t.markers.item}`), hs = Ct(Zo, (No) => hi(No, "aria-haspopup") === "true");
|
|
33100
33100
|
return bt(hs, (No) => {
|
|
33101
33101
|
pn.getSystem().getByDom(No).each((ms) => {
|
|
33102
33102
|
const Vr = E(ms);
|
|
@@ -33104,58 +33104,58 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33104
33104
|
});
|
|
33105
33105
|
}), c.set(Vn), Vn;
|
|
33106
33106
|
}), Le = (pn, Vn) => {
|
|
33107
|
-
const
|
|
33108
|
-
no(
|
|
33107
|
+
const Zo = _e(pn);
|
|
33108
|
+
no(Zo, (hs, No) => {
|
|
33109
33109
|
const ms = We(Vn, No);
|
|
33110
33110
|
Uo(hs.element, "aria-expanded", ms);
|
|
33111
33111
|
});
|
|
33112
|
-
}, Ke = (pn, Vn,
|
|
33112
|
+
}, Ke = (pn, Vn, Zo) => M.from(Zo[0]).bind((hs) => Vn.lookupMenu(hs).bind((No) => {
|
|
33113
33113
|
if (No.type === "notbuilt")
|
|
33114
33114
|
return M.none();
|
|
33115
33115
|
{
|
|
33116
|
-
const ms = No.menu, Vr = ne(Vn,
|
|
33116
|
+
const ms = No.menu, Vr = ne(Vn, Zo.slice(1));
|
|
33117
33117
|
return bt(Vr, ($r) => {
|
|
33118
33118
|
wa($r.element, t.markers.backgroundMenu);
|
|
33119
|
-
}), ya(ms.element) || as.append(pn, nd(ms)), Hl(ms.element, [t.markers.backgroundMenu]), q(pn, ms), he(pn, Vn,
|
|
33119
|
+
}), ya(ms.element) || as.append(pn, nd(ms)), Hl(ms.element, [t.markers.backgroundMenu]), q(pn, ms), he(pn, Vn, Zo), M.some(ms);
|
|
33120
33120
|
}
|
|
33121
33121
|
}));
|
|
33122
33122
|
let dt;
|
|
33123
33123
|
(function(pn) {
|
|
33124
33124
|
pn[pn.HighlightSubmenu = 0] = "HighlightSubmenu", pn[pn.HighlightParent = 1] = "HighlightParent";
|
|
33125
33125
|
})(dt || (dt = {}));
|
|
33126
|
-
const Ye = (pn, Vn,
|
|
33127
|
-
if (
|
|
33128
|
-
const hs = pn.getSystem().build(
|
|
33126
|
+
const Ye = (pn, Vn, Zo) => {
|
|
33127
|
+
if (Zo.type === "notbuilt") {
|
|
33128
|
+
const hs = pn.getSystem().build(Zo.nbMenu());
|
|
33129
33129
|
return b.setMenuBuilt(Vn, hs), hs;
|
|
33130
33130
|
} else
|
|
33131
|
-
return
|
|
33132
|
-
}, ht = (pn, Vn,
|
|
33131
|
+
return Zo.menu;
|
|
33132
|
+
}, ht = (pn, Vn, Zo = dt.HighlightSubmenu) => {
|
|
33133
33133
|
if (Vn.hasConfigured(co) && co.isDisabled(Vn))
|
|
33134
33134
|
return M.some(Vn);
|
|
33135
33135
|
{
|
|
33136
33136
|
const hs = E(Vn);
|
|
33137
33137
|
return b.expand(hs).bind((No) => (Le(pn, No), M.from(No[0]).bind((ms) => b.lookupMenu(ms).bind((Vr) => {
|
|
33138
33138
|
const $r = Ye(pn, ms, Vr);
|
|
33139
|
-
return ya($r.element) || as.append(pn, nd($r)), t.onOpenSubmenu(pn, Vn, $r, Re(No)),
|
|
33139
|
+
return ya($r.element) || as.append(pn, nd($r)), t.onOpenSubmenu(pn, Vn, $r, Re(No)), Zo === dt.HighlightSubmenu ? (rr.highlightFirst($r), Ke(pn, b, No)) : (rr.dehighlightAll($r), M.some(Vn));
|
|
33140
33140
|
}))));
|
|
33141
33141
|
}
|
|
33142
33142
|
}, vt = (pn, Vn) => {
|
|
33143
|
-
const
|
|
33144
|
-
return b.collapse(
|
|
33143
|
+
const Zo = E(Vn);
|
|
33144
|
+
return b.collapse(Zo).bind((hs) => (Le(pn, hs), Ke(pn, b, hs).map((No) => (t.onCollapseMenu(pn, Vn, No), No))));
|
|
33145
33145
|
}, Ut = (pn, Vn) => {
|
|
33146
|
-
const
|
|
33147
|
-
return b.refresh(
|
|
33146
|
+
const Zo = E(Vn);
|
|
33147
|
+
return b.refresh(Zo).bind((hs) => (Le(pn, hs), Ke(pn, b, hs)));
|
|
33148
33148
|
}, Xt = (pn, Vn) => Jp(Vn.element) ? M.none() : ht(pn, Vn, dt.HighlightSubmenu), Wn = (pn, Vn) => (
|
|
33149
33149
|
// Exclude inputs, textareas etc.
|
|
33150
33150
|
Jp(Vn.element) ? M.none() : vt(pn, Vn)
|
|
33151
33151
|
), eo = (pn, Vn) => vt(pn, Vn).orThunk(
|
|
33152
33152
|
() => t.onEscape(pn, Vn).map(() => pn)
|
|
33153
33153
|
// This should only fire when the user presses ESC ... not any other close.
|
|
33154
|
-
), It = (pn) => (Vn,
|
|
33154
|
+
), It = (pn) => (Vn, Zo) => Sl(Zo.getSource(), `.${t.markers.item}`).bind((hs) => Vn.getSystem().getByDom(hs).toOptional().bind((No) => pn(Vn, No).map(Ee))), Xn = ia([
|
|
33155
33155
|
// Set "active-menu" for the menu with focus
|
|
33156
33156
|
an(J8(), (pn, Vn) => {
|
|
33157
|
-
const
|
|
33158
|
-
b.lookupItem(E(
|
|
33157
|
+
const Zo = Vn.event.item;
|
|
33158
|
+
b.lookupItem(E(Zo)).each(() => {
|
|
33159
33159
|
const hs = Vn.event.menu;
|
|
33160
33160
|
rr.highlight(pn, hs);
|
|
33161
33161
|
const No = E(Vn.event.item);
|
|
@@ -33163,8 +33163,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33163
33163
|
});
|
|
33164
33164
|
}),
|
|
33165
33165
|
zg((pn, Vn) => {
|
|
33166
|
-
const
|
|
33167
|
-
pn.getSystem().getByDom(
|
|
33166
|
+
const Zo = Vn.event.target;
|
|
33167
|
+
pn.getSystem().getByDom(Zo).each((hs) => {
|
|
33168
33168
|
E(hs).indexOf("collapse-item") === 0 && vt(pn, hs), ht(pn, hs, dt.HighlightSubmenu).fold(() => {
|
|
33169
33169
|
t.onExecute(pn, hs);
|
|
33170
33170
|
}, H);
|
|
@@ -33172,8 +33172,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33172
33172
|
}),
|
|
33173
33173
|
// Open the menu as soon as it is added to the DOM
|
|
33174
33174
|
Jr((pn, Vn) => {
|
|
33175
|
-
S(pn).each((
|
|
33176
|
-
as.append(pn, nd(
|
|
33175
|
+
S(pn).each((Zo) => {
|
|
33176
|
+
as.append(pn, nd(Zo)), t.onOpenMenu(pn, Zo), t.highlightOnOpen === ic.HighlightMenuAndItem ? q(pn, Zo) : t.highlightOnOpen === ic.HighlightJustMenu && V(pn, Zo);
|
|
33177
33177
|
});
|
|
33178
33178
|
}),
|
|
33179
33179
|
// Listen to the events bubbling up from menu about highlighting, and trigger
|
|
@@ -33188,8 +33188,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33188
33188
|
// Hide any irrelevant submenus and expand any submenus based
|
|
33189
33189
|
// on hovered item
|
|
33190
33190
|
an(DA(), (pn, Vn) => {
|
|
33191
|
-
const
|
|
33192
|
-
Ut(pn,
|
|
33191
|
+
const Zo = Vn.event.item;
|
|
33192
|
+
Ut(pn, Zo), ht(pn, Zo, dt.HighlightParent), t.onHover(pn, Zo);
|
|
33193
33193
|
})
|
|
33194
33194
|
] : []
|
|
33195
33195
|
]), Po = (pn) => rr.getHighlighted(pn).bind(rr.getHighlighted), Co = (pn) => {
|
|
@@ -33204,18 +33204,18 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33204
33204
|
collapseMenu: Co,
|
|
33205
33205
|
highlightPrimary: Ms,
|
|
33206
33206
|
repositionMenus: (pn) => {
|
|
33207
|
-
b.getPrimary().bind((
|
|
33207
|
+
b.getPrimary().bind((Zo) => (
|
|
33208
33208
|
// Get the triggering path (item, menu) up to the active item
|
|
33209
33209
|
Po(pn).bind((hs) => {
|
|
33210
33210
|
const No = E(hs), ms = sr(b.getMenus()), Vr = Ko(Pe(ms, t5.extractPreparedMenu));
|
|
33211
33211
|
return b.getTriggeringPath(No, ($r) => N(pn, Vr, $r));
|
|
33212
|
-
}).map((hs) => ({ primary:
|
|
33212
|
+
}).map((hs) => ({ primary: Zo, triggeringPath: hs }))
|
|
33213
33213
|
)).fold(() => {
|
|
33214
|
-
es(pn).each((
|
|
33215
|
-
t.onRepositionMenu(pn,
|
|
33214
|
+
es(pn).each((Zo) => {
|
|
33215
|
+
t.onRepositionMenu(pn, Zo, []);
|
|
33216
33216
|
});
|
|
33217
|
-
}, ({ primary:
|
|
33218
|
-
t.onRepositionMenu(pn,
|
|
33217
|
+
}, ({ primary: Zo, triggeringPath: hs }) => {
|
|
33218
|
+
t.onRepositionMenu(pn, Zo, hs);
|
|
33219
33219
|
});
|
|
33220
33220
|
}
|
|
33221
33221
|
};
|
|
@@ -33230,8 +33230,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
33230
33230
|
onLeft: It(Wn),
|
|
33231
33231
|
onEscape: It(eo),
|
|
33232
33232
|
focusIn: (pn, Vn) => {
|
|
33233
|
-
b.getPrimary().each((
|
|
33234
|
-
yb(pn,
|
|
33233
|
+
b.getPrimary().each((Zo) => {
|
|
33234
|
+
yb(pn, Zo.element, $h());
|
|
33235
33235
|
});
|
|
33236
33236
|
}
|
|
33237
33237
|
}),
|
|
@@ -36486,7 +36486,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
36486
36486
|
DATA_ATTR: yo,
|
|
36487
36487
|
ARIA_ATTR: pn,
|
|
36488
36488
|
IS_SCRIPT_OR_DATA: Vn,
|
|
36489
|
-
ATTR_WHITESPACE:
|
|
36489
|
+
ATTR_WHITESPACE: Zo,
|
|
36490
36490
|
CUSTOM_ELEMENT: hs
|
|
36491
36491
|
} = eF;
|
|
36492
36492
|
let {
|
|
@@ -36672,9 +36672,9 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
36672
36672
|
Bo === "is" && Pa.allowCustomizedBuiltInElements && (Pa.tagNameCheck instanceof RegExp && Hd(Pa.tagNameCheck, Vs) || Pa.tagNameCheck instanceof Function && Pa.tagNameCheck(Vs)))
|
|
36673
36673
|
) return !1;
|
|
36674
36674
|
} else if (!Iee[Bo]) {
|
|
36675
|
-
if (!Hd(No, Qv(Vs,
|
|
36675
|
+
if (!Hd(No, Qv(Vs, Zo, ""))) {
|
|
36676
36676
|
if (!((Bo === "src" || Bo === "xlink:href" || Bo === "href") && Yt !== "script" && hm(Vs, "data:") === 0 && bre[Yt])) {
|
|
36677
|
-
if (!(lg && !Hd(Vn, Qv(Vs,
|
|
36677
|
+
if (!(lg && !Hd(Vn, Qv(Vs, Zo, "")))) {
|
|
36678
36678
|
if (Vs)
|
|
36679
36679
|
return !1;
|
|
36680
36680
|
}
|
|
@@ -37536,7 +37536,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37536
37536
|
$u("level", ["info", "warn", "error", "success"]),
|
|
37537
37537
|
kN,
|
|
37538
37538
|
Ft("url", "")
|
|
37539
|
-
], EF =
|
|
37539
|
+
], EF = Wo(_F), hq = (t) => [
|
|
37540
37540
|
oi,
|
|
37541
37541
|
t
|
|
37542
37542
|
], TF = [
|
|
@@ -37551,7 +37551,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37551
37551
|
// this should be removed, but must live here because FieldSchema doesn't have a way to manage deprecated fields
|
|
37552
37552
|
P_,
|
|
37553
37553
|
Kr("context", "mode:design")
|
|
37554
|
-
], pq =
|
|
37554
|
+
], pq = Wo(TF), yy = [
|
|
37555
37555
|
oi,
|
|
37556
37556
|
iC
|
|
37557
37557
|
], Lu = yy.concat([
|
|
@@ -37560,17 +37560,17 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37560
37560
|
lC,
|
|
37561
37561
|
bm,
|
|
37562
37562
|
Kr("context", "mode:design")
|
|
37563
|
-
]), kF =
|
|
37563
|
+
]), kF = Wo(vq), bq = ev, yq = Lu.concat([
|
|
37564
37564
|
AN("auto"),
|
|
37565
37565
|
Kr("context", "mode:design")
|
|
37566
|
-
]), wq =
|
|
37566
|
+
]), wq = Wo(yq), Cq = Rp([
|
|
37567
37567
|
cC,
|
|
37568
37568
|
x1,
|
|
37569
37569
|
kN
|
|
37570
37570
|
]), AF = Lu.concat([
|
|
37571
37571
|
Kr("storageKey", "default"),
|
|
37572
37572
|
Kr("context", "mode:design")
|
|
37573
|
-
]), xq =
|
|
37573
|
+
]), xq = Wo(AF), DF = Qo, S1 = Wo(Lu), NN = Qo, $F = yy.concat([
|
|
37574
37574
|
Kr("tag", "textarea"),
|
|
37575
37575
|
Ui("scriptId"),
|
|
37576
37576
|
Ui("scriptUrl"),
|
|
@@ -37587,7 +37587,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37587
37587
|
gq("menuitem"),
|
|
37588
37588
|
DN,
|
|
37589
37589
|
Kr("context", "mode:design")
|
|
37590
|
-
], RF =
|
|
37590
|
+
], RF = Wo([
|
|
37591
37591
|
oi,
|
|
37592
37592
|
iC
|
|
37593
37593
|
].concat(Qg)), IF = ev, RN = [
|
|
@@ -37628,7 +37628,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37628
37628
|
togglebutton: _q
|
|
37629
37629
|
}), FF = Lu.concat([
|
|
37630
37630
|
Kr("context", "mode:design")
|
|
37631
|
-
]), Eq =
|
|
37631
|
+
]), Eq = Wo(FF), Tq = Ax(), kq = (t) => [
|
|
37632
37632
|
oi,
|
|
37633
37633
|
fT("columns"),
|
|
37634
37634
|
t
|
|
@@ -37638,14 +37638,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37638
37638
|
Ca("presets", "presentation", ["presentation", "document"]),
|
|
37639
37639
|
Xr("onInit", H),
|
|
37640
37640
|
Tl("stretched", !1)
|
|
37641
|
-
], Aq =
|
|
37641
|
+
], Aq = Wo(y3), Dq = Lu.concat([
|
|
37642
37642
|
Tl("border", !1),
|
|
37643
37643
|
Tl("sandboxed", !0),
|
|
37644
37644
|
Tl("streamContent", !1),
|
|
37645
37645
|
Tl("transparent", !0)
|
|
37646
|
-
]), LF =
|
|
37646
|
+
]), LF = Wo(Dq), HF = Qo, Oq = Wo(yy.concat([
|
|
37647
37647
|
vi("height")
|
|
37648
|
-
])), $q =
|
|
37648
|
+
])), $q = Wo([
|
|
37649
37649
|
Ui("url"),
|
|
37650
37650
|
j0("zoom"),
|
|
37651
37651
|
j0("cachedWidth"),
|
|
@@ -37656,7 +37656,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37656
37656
|
Tl("maximized", !1),
|
|
37657
37657
|
bm,
|
|
37658
37658
|
Kr("context", "mode:design")
|
|
37659
|
-
]), Nq =
|
|
37659
|
+
]), Nq = Wo(PN), VF = Qo, Mq = (t) => [
|
|
37660
37660
|
oi,
|
|
37661
37661
|
lC,
|
|
37662
37662
|
t,
|
|
@@ -37669,13 +37669,13 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37669
37669
|
x1,
|
|
37670
37670
|
Nu("items", Dx("items", () => BN))
|
|
37671
37671
|
], BN = yw([
|
|
37672
|
-
|
|
37673
|
-
|
|
37672
|
+
Wo(Rq),
|
|
37673
|
+
Wo(Iq)
|
|
37674
37674
|
]), zF = Lu.concat([
|
|
37675
37675
|
Nu("items", BN),
|
|
37676
37676
|
bm,
|
|
37677
37677
|
Kr("context", "mode:design")
|
|
37678
|
-
]), Pq =
|
|
37678
|
+
]), Pq = Wo(zF), Bq = Qo, Fq = Lu.concat([
|
|
37679
37679
|
mT("items", [
|
|
37680
37680
|
x1,
|
|
37681
37681
|
cC
|
|
@@ -37683,27 +37683,27 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37683
37683
|
hT("size", 1),
|
|
37684
37684
|
bm,
|
|
37685
37685
|
Kr("context", "mode:design")
|
|
37686
|
-
]), Lq =
|
|
37686
|
+
]), Lq = Wo(Fq), UF = Qo, Hq = Lu.concat([
|
|
37687
37687
|
Tl("constrain", !0),
|
|
37688
37688
|
bm,
|
|
37689
37689
|
Kr("context", "mode:design")
|
|
37690
|
-
]), jF =
|
|
37690
|
+
]), jF = Wo(Hq), WF = Wo([
|
|
37691
37691
|
Ui("width"),
|
|
37692
37692
|
Ui("height")
|
|
37693
37693
|
]), Vq = yy.concat([
|
|
37694
37694
|
lC,
|
|
37695
37695
|
hT("min", 0),
|
|
37696
37696
|
hT("max", 0)
|
|
37697
|
-
]), zq =
|
|
37697
|
+
]), zq = Wo(Vq), Uq = yx, jq = [
|
|
37698
37698
|
oi,
|
|
37699
37699
|
Nu("header", Qo),
|
|
37700
37700
|
Nu("cells", em(Qo))
|
|
37701
|
-
], Wq =
|
|
37701
|
+
], Wq = Wo(jq), Zq = Lu.concat([
|
|
37702
37702
|
vi("placeholder"),
|
|
37703
37703
|
Tl("maximized", !1),
|
|
37704
37704
|
bm,
|
|
37705
37705
|
Kr("context", "mode:design")
|
|
37706
|
-
]), Gq =
|
|
37706
|
+
]), Gq = Wo(Zq), qq = Qo, FN = [
|
|
37707
37707
|
Kr("buttonType", "default"),
|
|
37708
37708
|
vi("text"),
|
|
37709
37709
|
vi("tooltip"),
|
|
@@ -37719,7 +37719,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37719
37719
|
// Unfortunately, due to objOf not checking to see that the
|
|
37720
37720
|
// input is an object, the boolean check MUST be first
|
|
37721
37721
|
ev,
|
|
37722
|
-
|
|
37722
|
+
Wo([
|
|
37723
37723
|
vi("placeholder")
|
|
37724
37724
|
])
|
|
37725
37725
|
],
|
|
@@ -37730,7 +37730,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37730
37730
|
af("fetch"),
|
|
37731
37731
|
Xr("onSetup", () => H),
|
|
37732
37732
|
Kr("context", "mode:design")
|
|
37733
|
-
], ZF =
|
|
37733
|
+
], ZF = Wo([
|
|
37734
37734
|
oi,
|
|
37735
37735
|
...FN
|
|
37736
37736
|
]), GF = (t) => Ia("menubutton", ZF, t), qF = [
|
|
@@ -37740,12 +37740,12 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37740
37740
|
Jc("menu", ZF),
|
|
37741
37741
|
vi("customStateIcon"),
|
|
37742
37742
|
vi("customStateIconTooltip")
|
|
37743
|
-
], C3 =
|
|
37743
|
+
], C3 = Wo(qF), Yq = qF.concat([
|
|
37744
37744
|
Nu("children", Dx("children", () => yd("type", {
|
|
37745
37745
|
directory: YF,
|
|
37746
37746
|
leaf: C3
|
|
37747
37747
|
})))
|
|
37748
|
-
]), YF =
|
|
37748
|
+
]), YF = Wo(Yq), LN = yd("type", {
|
|
37749
37749
|
directory: YF,
|
|
37750
37750
|
leaf: C3
|
|
37751
37751
|
}), Kq = [
|
|
@@ -37755,23 +37755,23 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37755
37755
|
Cd("onToggleExpand"),
|
|
37756
37756
|
kh("defaultExpandedIds", [], Qo),
|
|
37757
37757
|
vi("defaultSelectedId")
|
|
37758
|
-
], HN =
|
|
37758
|
+
], HN = Wo(Kq), KF = Lu.concat([
|
|
37759
37759
|
Ca("filetype", "file", ["image", "media", "file"]),
|
|
37760
37760
|
bm,
|
|
37761
37761
|
vi("picker_text"),
|
|
37762
37762
|
Kr("context", "mode:design")
|
|
37763
|
-
]), Xq =
|
|
37763
|
+
]), Xq = Wo(KF), Jq = Wo([
|
|
37764
37764
|
cC,
|
|
37765
37765
|
DN
|
|
37766
37766
|
]), x3 = (t) => Ul("items", "items", rf(), em(Ip((a) => Ia(`Checking item of ${t}`, S3, a).fold((c) => ro.error(Th(c)), (c) => ro.value(c))))), S3 = cT(() => yd("type", {
|
|
37767
37767
|
alertbanner: EF,
|
|
37768
|
-
bar:
|
|
37768
|
+
bar: Wo(hq(x3("bar"))),
|
|
37769
37769
|
button: pq,
|
|
37770
37770
|
checkbox: kF,
|
|
37771
37771
|
colorinput: xq,
|
|
37772
37772
|
colorpicker: S1,
|
|
37773
37773
|
dropzone: Eq,
|
|
37774
|
-
grid:
|
|
37774
|
+
grid: Wo(kq(x3("grid"))),
|
|
37775
37775
|
iframe: LF,
|
|
37776
37776
|
input: Nq,
|
|
37777
37777
|
listbox: Pq,
|
|
@@ -37784,7 +37784,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37784
37784
|
htmlpanel: Aq,
|
|
37785
37785
|
imagepreview: Oq,
|
|
37786
37786
|
collection: wq,
|
|
37787
|
-
label:
|
|
37787
|
+
label: Wo(Mq(x3("label"))),
|
|
37788
37788
|
table: Wq,
|
|
37789
37789
|
tree: HN,
|
|
37790
37790
|
panel: VN
|
|
@@ -37792,14 +37792,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37792
37792
|
oi,
|
|
37793
37793
|
Ft("classes", []),
|
|
37794
37794
|
Nu("items", S3)
|
|
37795
|
-
], VN =
|
|
37795
|
+
], VN = Wo(Qq), XF = [
|
|
37796
37796
|
$N("tab"),
|
|
37797
37797
|
xF,
|
|
37798
37798
|
Nu("items", S3)
|
|
37799
37799
|
], eY = [
|
|
37800
37800
|
oi,
|
|
37801
37801
|
mT("tabs", XF)
|
|
37802
|
-
], JF =
|
|
37802
|
+
], JF = Wo(eY), QF = PF, e7 = BF, tY = Wo([
|
|
37803
37803
|
Ui("title"),
|
|
37804
37804
|
Ou("body", yd("type", {
|
|
37805
37805
|
panel: VN,
|
|
@@ -37814,10 +37814,10 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37814
37814
|
Xr("onClose", H),
|
|
37815
37815
|
Xr("onCancel", H),
|
|
37816
37816
|
Xr("onTabChange", H)
|
|
37817
|
-
]), nY = (t) => Ia("dialog", tY, t), oY =
|
|
37817
|
+
]), nY = (t) => Ia("dialog", tY, t), oY = Wo([
|
|
37818
37818
|
$u("type", ["cancel", "custom"]),
|
|
37819
37819
|
...QF
|
|
37820
|
-
]), t7 =
|
|
37820
|
+
]), t7 = Wo([
|
|
37821
37821
|
Ui("title"),
|
|
37822
37822
|
Ui("url"),
|
|
37823
37823
|
j0("height"),
|
|
@@ -37847,7 +37847,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37847
37847
|
togglemenuitem: IF
|
|
37848
37848
|
}, zN = (t) => M.from(aY[t.type]), iY = (t) => Ct(_3(t), rY), lY = (t) => {
|
|
37849
37849
|
const a = iY(t), c = ee(a, (f) => zN(f).fold(() => [], (b) => [Ou(f.name, b)]));
|
|
37850
|
-
return
|
|
37850
|
+
return Wo(c);
|
|
37851
37851
|
}, n7 = (t) => {
|
|
37852
37852
|
var a;
|
|
37853
37853
|
const c = wd(nY(t)), f = lY(t), b = (a = t.initialData) !== null && a !== void 0 ? a : {};
|
|
@@ -37866,10 +37866,10 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37866
37866
|
return t(c);
|
|
37867
37867
|
},
|
|
37868
37868
|
redial: (t) => n7(t)
|
|
37869
|
-
}, o7 =
|
|
37869
|
+
}, o7 = Wo([
|
|
37870
37870
|
oi,
|
|
37871
37871
|
e0
|
|
37872
|
-
]), s7 = (t) => Ia("separatormenuitem", o7, t), cY =
|
|
37872
|
+
]), s7 = (t) => Ia("separatormenuitem", o7, t), cY = Wo([
|
|
37873
37873
|
// Currently, autocomplete items don't support configuring type, active, disabled, meta
|
|
37874
37874
|
by("autocompleteitem"),
|
|
37875
37875
|
ip,
|
|
@@ -37885,13 +37885,13 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37885
37885
|
e0,
|
|
37886
37886
|
sd,
|
|
37887
37887
|
Kr("context", "mode:design")
|
|
37888
|
-
], dY =
|
|
37888
|
+
], dY = Wo([
|
|
37889
37889
|
oi,
|
|
37890
37890
|
py,
|
|
37891
37891
|
uC
|
|
37892
37892
|
].concat(dC)), UN = (t) => Ia("toolbarbutton", dY, t), jN = [
|
|
37893
37893
|
ip
|
|
37894
|
-
].concat(dC), a7 =
|
|
37894
|
+
].concat(dC), a7 = Wo(jN.concat([
|
|
37895
37895
|
oi,
|
|
37896
37896
|
py,
|
|
37897
37897
|
uC
|
|
@@ -37951,7 +37951,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37951
37951
|
contextsizeinputform: u7
|
|
37952
37952
|
}), f7 = (t) => Ia("ContextForm", d7, t), T3 = dC.concat([
|
|
37953
37953
|
by("contexttoolbarbutton")
|
|
37954
|
-
]), vY =
|
|
37954
|
+
]), vY = Wo([
|
|
37955
37955
|
by("contexttoolbar"),
|
|
37956
37956
|
Mu("launch", T3),
|
|
37957
37957
|
Ou("items", yw([
|
|
@@ -37975,28 +37975,28 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
37975
37975
|
Ui("src"),
|
|
37976
37976
|
vi("alt"),
|
|
37977
37977
|
kh("classes", [], Qo)
|
|
37978
|
-
], CY =
|
|
37978
|
+
], CY = Wo(m7), xY = [
|
|
37979
37979
|
oi,
|
|
37980
37980
|
x1,
|
|
37981
37981
|
b3,
|
|
37982
37982
|
kh("classes", ["tox-collection__item-label"], Qo)
|
|
37983
|
-
], SY =
|
|
37983
|
+
], SY = Wo(xY), ZN = cT(() => yd("type", {
|
|
37984
37984
|
cardimage: CY,
|
|
37985
37985
|
cardtext: SY,
|
|
37986
37986
|
cardcontainer: g7
|
|
37987
|
-
})), g7 =
|
|
37987
|
+
})), g7 = Wo([
|
|
37988
37988
|
oi,
|
|
37989
37989
|
Kr("direction", "horizontal"),
|
|
37990
37990
|
Kr("align", "left"),
|
|
37991
37991
|
Kr("valign", "middle"),
|
|
37992
37992
|
Nu("items", ZN)
|
|
37993
|
-
]), _Y =
|
|
37993
|
+
]), _Y = Wo([
|
|
37994
37994
|
oi,
|
|
37995
37995
|
vy,
|
|
37996
37996
|
Nu("items", ZN),
|
|
37997
37997
|
sd,
|
|
37998
37998
|
ON
|
|
37999
|
-
].concat(Qg)), EY = (t) => Ia("cardmenuitem", _Y, t), h7 =
|
|
37999
|
+
].concat(Qg)), EY = (t) => Ia("cardmenuitem", _Y, t), h7 = Wo([
|
|
38000
38000
|
oi,
|
|
38001
38001
|
ip,
|
|
38002
38002
|
_f,
|
|
@@ -38026,42 +38026,42 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
38026
38026
|
inserttable: us,
|
|
38027
38027
|
colorswatch: B_,
|
|
38028
38028
|
imageselect: p7
|
|
38029
|
-
}), b7 = (t) => Ia("fancymenuitem", v7, t), y7 =
|
|
38029
|
+
}), b7 = (t) => Ia("fancymenuitem", v7, t), y7 = Wo([
|
|
38030
38030
|
oi,
|
|
38031
38031
|
ip,
|
|
38032
38032
|
cq,
|
|
38033
38033
|
vy,
|
|
38034
38034
|
t0
|
|
38035
|
-
].concat(Qg)), kY =
|
|
38035
|
+
].concat(Qg)), kY = Wo([
|
|
38036
38036
|
oi,
|
|
38037
38037
|
ip,
|
|
38038
38038
|
kN,
|
|
38039
38039
|
lC,
|
|
38040
38040
|
t0,
|
|
38041
38041
|
cC
|
|
38042
|
-
].concat(Qg)), w7 = (t) => Ia("imagemenuitem", y7, t), AY = (t) => Ia("resetimageitem", kY, t), DY =
|
|
38042
|
+
].concat(Qg)), w7 = (t) => Ia("imagemenuitem", y7, t), AY = (t) => Ia("resetimageitem", kY, t), DY = Wo([
|
|
38043
38043
|
oi,
|
|
38044
38044
|
sd,
|
|
38045
38045
|
ON,
|
|
38046
38046
|
_f
|
|
38047
|
-
].concat(Qg)), OY = (t) => Ia("menuitem", DY, t), C7 =
|
|
38047
|
+
].concat(Qg)), OY = (t) => Ia("menuitem", DY, t), C7 = Wo([
|
|
38048
38048
|
oi,
|
|
38049
38049
|
dq,
|
|
38050
38050
|
sd,
|
|
38051
38051
|
_f
|
|
38052
|
-
].concat(Qg)), x7 = (t) => Ia("nestedmenuitem", C7, t), Cse =
|
|
38052
|
+
].concat(Qg)), x7 = (t) => Ia("nestedmenuitem", C7, t), Cse = Wo([
|
|
38053
38053
|
oi,
|
|
38054
38054
|
_f,
|
|
38055
38055
|
ip,
|
|
38056
38056
|
sd,
|
|
38057
38057
|
py
|
|
38058
|
-
].concat(Qg)), F_ = (t) => Ia("togglemenuitem", Cse, t), qN =
|
|
38058
|
+
].concat(Qg)), F_ = (t) => Ia("togglemenuitem", Cse, t), qN = Wo([
|
|
38059
38059
|
_f,
|
|
38060
38060
|
t0,
|
|
38061
38061
|
Xr("onShow", H),
|
|
38062
38062
|
Xr("onHide", H),
|
|
38063
38063
|
sd
|
|
38064
|
-
]), S7 = (t) => Ia("sidebar", qN, t), $Y =
|
|
38064
|
+
]), S7 = (t) => Ia("sidebar", qN, t), $Y = Wo([
|
|
38065
38065
|
oi,
|
|
38066
38066
|
Ou("items", yw([
|
|
38067
38067
|
Rp([
|
|
@@ -38070,7 +38070,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
38070
38070
|
]),
|
|
38071
38071
|
Qo
|
|
38072
38072
|
]))
|
|
38073
|
-
].concat(dC)), NY = (t) => Ia("GroupToolbarButton", $Y, t), _7 =
|
|
38073
|
+
].concat(dC)), NY = (t) => Ia("GroupToolbarButton", $Y, t), _7 = Wo([
|
|
38074
38074
|
oi,
|
|
38075
38075
|
t0,
|
|
38076
38076
|
_f,
|
|
@@ -38109,7 +38109,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
38109
38109
|
], T7 = zl("type", {
|
|
38110
38110
|
...L_,
|
|
38111
38111
|
group: IY
|
|
38112
|
-
}), PY =
|
|
38112
|
+
}), PY = Wo([
|
|
38113
38113
|
kh("buttons", [], T7),
|
|
38114
38114
|
af("onShow"),
|
|
38115
38115
|
af("onHide")
|
|
@@ -39826,7 +39826,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
39826
39826
|
childAt: (t) => Wt.config({
|
|
39827
39827
|
find: (a) => qu(a.element, t).bind((c) => a.getSystem().getByDom(c).toOptional())
|
|
39828
39828
|
})
|
|
39829
|
-
}, YK =
|
|
39829
|
+
}, YK = Wo([
|
|
39830
39830
|
Ft("preprocess", $e),
|
|
39831
39831
|
Ft("postprocess", $e)
|
|
39832
39832
|
]), KK = (t, a) => {
|
|
@@ -40050,8 +40050,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
40050
40050
|
}, Ye = (yo) => Ke[yo].get(), ht = (yo, pn) => {
|
|
40051
40051
|
Ke[yo].set(pn);
|
|
40052
40052
|
}, vt = () => Ye("red").bind((yo) => Ye("green").bind((pn) => Ye("blue").map((Vn) => n0(yo, pn, Vn, 1)))), Ut = (yo) => {
|
|
40053
|
-
const pn = yo.red, Vn = yo.green,
|
|
40054
|
-
ht("red", M.some(pn)), ht("green", M.some(Vn)), ht("blue", M.some(
|
|
40053
|
+
const pn = yo.red, Vn = yo.green, Zo = yo.blue;
|
|
40054
|
+
ht("red", M.some(pn)), ht("green", M.some(Vn)), ht("blue", M.some(Zo));
|
|
40055
40055
|
}, Xt = (yo, pn) => {
|
|
40056
40056
|
const Vn = pn.event;
|
|
40057
40057
|
Vn.type !== "hex" ? ht(Vn.type, M.none()) : f(yo);
|
|
@@ -40059,13 +40059,13 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
40059
40059
|
c(yo);
|
|
40060
40060
|
const Vn = P7(pn);
|
|
40061
40061
|
ht("hex", M.some(Vn.value));
|
|
40062
|
-
const
|
|
40063
|
-
q(yo,
|
|
40062
|
+
const Zo = _y(Vn);
|
|
40063
|
+
q(yo, Zo), Ut(Zo), Do(yo, _6, {
|
|
40064
40064
|
hex: Vn
|
|
40065
40065
|
}), he(yo, Vn);
|
|
40066
40066
|
}, eo = (yo, pn, Vn) => {
|
|
40067
|
-
const
|
|
40068
|
-
ht(pn, M.some(
|
|
40067
|
+
const Zo = parseInt(Vn, 10);
|
|
40068
|
+
ht(pn, M.some(Zo)), vt().each((hs) => {
|
|
40069
40069
|
const No = V(yo, hs);
|
|
40070
40070
|
Do(yo, _6, {
|
|
40071
40071
|
hex: No
|
|
@@ -45150,12 +45150,12 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
45150
45150
|
)) : 0, vt = (yo) => {
|
|
45151
45151
|
switch (W5(t)) {
|
|
45152
45152
|
case T1.auto:
|
|
45153
|
-
const pn = ta.getToolbar(S.outerContainer), Vn = ht(pn),
|
|
45154
|
-
if (hs.y >
|
|
45153
|
+
const pn = ta.getToolbar(S.outerContainer), Vn = ht(pn), Zo = Es(yo.element) - Vn, hs = sl(a);
|
|
45154
|
+
if (hs.y > Zo)
|
|
45155
45155
|
return "top";
|
|
45156
45156
|
{
|
|
45157
45157
|
const ms = Oc(a), Vr = Math.max(ms.dom.scrollHeight, Es(ms));
|
|
45158
|
-
return hs.bottom < Vr -
|
|
45158
|
+
return hs.bottom < Vr - Zo || Vl().bottom < hs.bottom - Zo ? "bottom" : "top";
|
|
45159
45159
|
}
|
|
45160
45160
|
case T1.bottom:
|
|
45161
45161
|
return "bottom";
|
|
@@ -45176,7 +45176,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
45176
45176
|
});
|
|
45177
45177
|
}, Wn = (yo, pn) => {
|
|
45178
45178
|
b.on((Vn) => {
|
|
45179
|
-
const
|
|
45179
|
+
const Zo = ta.getToolbar(S.outerContainer), hs = ht(Zo), No = sl(a), ms = eo(t, S.outerContainer.element), Vr = () => ms.fold(() => No.x, (_c) => {
|
|
45180
45180
|
const Af = sl(_c);
|
|
45181
45181
|
return Ss(_c, xl()) ? No.x : No.x - Af.x;
|
|
45182
45182
|
}), $r = () => ms.fold(() => he() ? Math.max(No.y - Es(Vn.element) + hs, 0) : No.bottom, (_c) => {
|
|
@@ -45212,9 +45212,9 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
45212
45212
|
I || Xt();
|
|
45213
45213
|
const pn = pi(), Vn = I ? !1 : Xn();
|
|
45214
45214
|
if (Ke && ta.refreshToolbar(S.outerContainer), !I) {
|
|
45215
|
-
const
|
|
45215
|
+
const Zo = pi(), hs = jr(pn.left !== Zo.left, pn);
|
|
45216
45216
|
Wn(Vn, hs), hs.each((No) => {
|
|
45217
|
-
Ni(No.left,
|
|
45217
|
+
Ni(No.left, Zo.top);
|
|
45218
45218
|
});
|
|
45219
45219
|
}
|
|
45220
45220
|
V && b.on(yo), It();
|
|
@@ -45871,11 +45871,11 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
45871
45871
|
forwardContents: ht(fs)
|
|
45872
45872
|
});
|
|
45873
45873
|
}, Ut = Oa(() => X(a, vt)), Xt = (es, fs) => D4(t, { buttons: es, toolbar: fs.items, allowToolbarGroups: !1 }, f.backstage, M.some(["form:", "toolbar:"])), Wn = (es, fs) => MC.buildInitGroups(es, fs), eo = (es) => {
|
|
45874
|
-
const { buttons: fs } = t.ui.registry.getAll(), yo = Ut(), pn = { ...fs, ...yo.formNavigators }, Vn = X2(t) === mm.scrolling ? mm.scrolling : mm.default,
|
|
45874
|
+
const { buttons: fs } = t.ui.registry.getAll(), yo = Ut(), pn = { ...fs, ...yo.formNavigators }, Vn = X2(t) === mm.scrolling ? mm.scrolling : mm.default, Zo = ie(Pe(es, (hs) => hs.type === "contexttoolbar" ? Xt(pn, yY(hs)) : Wn(hs, S.providers)));
|
|
45875
45875
|
return y4({
|
|
45876
45876
|
type: Vn,
|
|
45877
45877
|
uid: ke("context-toolbar"),
|
|
45878
|
-
initGroups:
|
|
45878
|
+
initGroups: Zo,
|
|
45879
45879
|
onEscape: M.none,
|
|
45880
45880
|
cyclicKeying: !0,
|
|
45881
45881
|
providers: S.providers
|
|
@@ -45899,14 +45899,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
45899
45899
|
1
|
|
45900
45900
|
/* TriggerCause.NewAnchor */
|
|
45901
45901
|
);
|
|
45902
|
-
const
|
|
45903
|
-
Bn(
|
|
45902
|
+
const Zo = ne.element;
|
|
45903
|
+
Bn(Zo, "display"), Le(fs) || (Wr(Zo, se), Pc.reset(c, ne)), _a.showWithinBounds(ne, ht(yo), {
|
|
45904
45904
|
anchor: Vn,
|
|
45905
45905
|
transition: {
|
|
45906
45906
|
classes: [se],
|
|
45907
45907
|
mode: "placement"
|
|
45908
45908
|
}
|
|
45909
|
-
}, () => M.some(he())), fs.fold(N.clear, N.set), Ke() && Jo(
|
|
45909
|
+
}, () => M.some(he())), fs.fold(N.clear, N.set), Ke() && Jo(Zo, "display", "none");
|
|
45910
45910
|
}, Po = () => {
|
|
45911
45911
|
Jo(ne.element, "transition", "none"), Ye(), Bn(ne.element, "transition");
|
|
45912
45912
|
};
|
|
@@ -47087,8 +47087,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
47087
47087
|
pn(ms.outerContainer), TC(t, ms.mothership, $r), b.setup(t, It.popup.shared, Ye), Rn(t, It.popup), LC(t, It.popup.shared.getSink, It.popup), H9(t), YJ(t, eo, It.popup.shared), xe(t, kf, Vr.sink, { backstage: It.popup }), Pn(t, Vr.sink);
|
|
47088
47088
|
const hE = t.getElement(), fp = yo(ms.outerContainer), zM = { targetNode: hE, height: fp };
|
|
47089
47089
|
return f.render(t, No, lg, It.popup, zM);
|
|
47090
|
-
},
|
|
47091
|
-
const No = fs(), ms = Ms(), Vr = Xv(t) ? es() :
|
|
47090
|
+
}, Zo = (No) => (I.set(No.mothership), No), hs = () => {
|
|
47091
|
+
const No = fs(), ms = Ms(), Vr = Xv(t) ? es() : Zo(ms);
|
|
47092
47092
|
S.dialogUi.set(ms), S.popupUi.set(Vr), S.mainUi.set(No);
|
|
47093
47093
|
const $r = {
|
|
47094
47094
|
popupUi: Vr,
|
|
@@ -48330,7 +48330,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
|
|
|
48330
48330
|
}));
|
|
48331
48331
|
eo.set(Ms);
|
|
48332
48332
|
const es = () => t.backstages.popup.shared.getSink().toOptional().bind((fs) => {
|
|
48333
|
-
const yo = Jv(a, fs.element), pn = 15, Vn = yo.map((No) => fy(No)).getOr(Vl()),
|
|
48333
|
+
const yo = Jv(a, fs.element), pn = 15, Vn = yo.map((No) => fy(No)).getOr(Vl()), Zo = sl(Nn.fromDom(a.getContentAreaContainer())), hs = Q1(Zo, Vn);
|
|
48334
48334
|
return M.some(Ra(hs.x, hs.y, hs.width, hs.height - pn));
|
|
48335
48335
|
});
|
|
48336
48336
|
return _a.showWithinBounds(Ms, nd(Co.dialog), { anchor: Ke }, es), xa.refresh(Ms), a.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", Po), Co.instanceApi.setData(Wn), bo.focusIn(Co.dialog), Co.instanceApi;
|
|
@@ -50131,7 +50131,7 @@ Required: ` + y.join(", "));
|
|
|
50131
50131
|
delta: lT,
|
|
50132
50132
|
edge: $g,
|
|
50133
50133
|
positions: (g) => z0(Ex, iT, g)
|
|
50134
|
-
}),
|
|
50134
|
+
}), Wo = {
|
|
50135
50135
|
delta: (g, y) => Kc(y).delta(g, y),
|
|
50136
50136
|
positions: (g, y) => Kc(y).positions(g, y),
|
|
50137
50137
|
edge: (g) => Kc(g).edge(g)
|
|
@@ -50174,7 +50174,7 @@ Required: ` + y.join(", "));
|
|
|
50174
50174
|
() => Y(Cc(T, y)),
|
|
50175
50175
|
(ue) => z(ue)
|
|
50176
50176
|
), Cd = (g, y, T, O) => {
|
|
50177
|
-
const z = L0(g), Y = Qo.hasColumns(g) ? j0(g) : z, ue = [ce.some(
|
|
50177
|
+
const z = L0(g), Y = Qo.hasColumns(g) ? j0(g) : z, ue = [ce.some(Wo.edge(y))].concat(et(Wo.positions(z, y), (Ve) => Ve.map((lt) => lt.x))), Se = te($p);
|
|
50178
50178
|
return et(Y, (Ve, lt) => W0(Ve, lt, ue, Se, (Rt) => {
|
|
50179
50179
|
if (vi(Rt))
|
|
50180
50180
|
return T(Rt);
|
|
@@ -51589,7 +51589,7 @@ Required: ` + y.join(", "));
|
|
|
51589
51589
|
}, hO = (g, y, T, O, z) => {
|
|
51590
51590
|
const Y = rs(T), ue = y.isResizable, Se = O.length > 0 ? U0.positions(O, T) : [], Ve = Se.length > 0 ? rr(g, ue) : [], lt = He(Se, (Kn, _o) => be(Ve, (Hn) => _o === Hn));
|
|
51591
51591
|
rk(y, lt, Y, F(T));
|
|
51592
|
-
const Rt = z.length > 0 ?
|
|
51592
|
+
const Rt = z.length > 0 ? Wo.positions(z, T) : [], Wt = Rt.length > 0 ? ok(g, ue) : [], Jn = He(Rt, (Kn, _o) => be(Wt, (Hn) => _o === Hn));
|
|
51593
51593
|
Xp(y, Jn, Y, li(T));
|
|
51594
51594
|
}, s2 = (g, y) => {
|
|
51595
51595
|
if (Eb(g), g.isResizable(y)) {
|
|
@@ -51667,7 +51667,7 @@ Required: ` + y.join(", "));
|
|
|
51667
51667
|
};
|
|
51668
51668
|
}, lk = {
|
|
51669
51669
|
create: (g, y, T) => {
|
|
51670
|
-
const O = U0, z =
|
|
51670
|
+
const O = U0, z = Wo, Y = vO(g), ue = Kp({
|
|
51671
51671
|
beforeResize: hf(["table", "type"]),
|
|
51672
51672
|
afterResize: hf(["table", "type"]),
|
|
51673
51673
|
startDrag: hf([])
|
|
@@ -69728,8 +69728,8 @@ const N5e = [
|
|
|
69728
69728
|
},
|
|
69729
69729
|
setup(o, { emit: r }) {
|
|
69730
69730
|
pg(o.modelValue);
|
|
69731
|
-
const i = gD({
|
|
69732
|
-
myInit:
|
|
69731
|
+
const i = cn(null), u = gD({
|
|
69732
|
+
myInit: h(R5e),
|
|
69733
69733
|
// 初始化
|
|
69734
69734
|
contentValue: o.modelValue,
|
|
69735
69735
|
// 绑定文本
|
|
@@ -69738,53 +69738,59 @@ const N5e = [
|
|
|
69738
69738
|
Fi(() => {
|
|
69739
69739
|
qV.init({
|
|
69740
69740
|
license_key: "gpl"
|
|
69741
|
-
}), qV.activeEditor.on("pagesizechange", (
|
|
69742
|
-
r("update:pagesize",
|
|
69741
|
+
}), qV.activeEditor.on("pagesizechange", (v) => {
|
|
69742
|
+
r("update:pagesize", v.size);
|
|
69743
69743
|
});
|
|
69744
|
-
}),
|
|
69745
|
-
() =>
|
|
69744
|
+
}), jo(
|
|
69745
|
+
() => u.contentValue,
|
|
69746
69746
|
() => {
|
|
69747
|
-
|
|
69748
|
-
r("update:modelValue",
|
|
69747
|
+
m(() => {
|
|
69748
|
+
r("update:modelValue", u.contentValue);
|
|
69749
69749
|
});
|
|
69750
69750
|
}
|
|
69751
|
-
),
|
|
69751
|
+
), jo(
|
|
69752
69752
|
() => o.modelValue,
|
|
69753
|
-
(
|
|
69754
|
-
!UV(
|
|
69753
|
+
(v) => {
|
|
69754
|
+
!UV(v) && v !== u.contentValue && (u.contentValue = v);
|
|
69755
|
+
}
|
|
69756
|
+
), jo(
|
|
69757
|
+
() => o.height,
|
|
69758
|
+
(v) => {
|
|
69759
|
+
i.value && i.value.getEditor().dom.setStyle(i.value.getEditor().editorContainer, "height", v + "px");
|
|
69755
69760
|
}
|
|
69756
69761
|
);
|
|
69757
|
-
function
|
|
69758
|
-
|
|
69762
|
+
function m(v, C = 400) {
|
|
69763
|
+
u.timeout !== null && clearTimeout(u.timeout), u.timeout = setTimeout(v, C);
|
|
69759
69764
|
}
|
|
69760
|
-
function
|
|
69761
|
-
var
|
|
69762
|
-
o != null && o.height && (
|
|
69763
|
-
const { placeholder:
|
|
69764
|
-
return
|
|
69765
|
-
...
|
|
69765
|
+
function h(v) {
|
|
69766
|
+
var A;
|
|
69767
|
+
o != null && o.height && (v.height = o.height), o != null && o.width && (v.width = o.width);
|
|
69768
|
+
const { placeholder: C, pagesize: x } = o, _ = `${location == null ? void 0 : location.origin}/${UV(window == null ? void 0 : window.zyuiAssetsPath) ? "assets/" : window == null ? void 0 : window.zyuiAssetsPath}`;
|
|
69769
|
+
return v = {
|
|
69770
|
+
...v,
|
|
69766
69771
|
// 判断带没有带http,带了才加assetsPath,没有的话就直接用
|
|
69767
|
-
content_css: (
|
|
69768
|
-
placeholder:
|
|
69772
|
+
content_css: (A = v == null ? void 0 : v.content_css) == null ? void 0 : A.map((D) => D.includes("http") ? D : `${_}${D}`),
|
|
69773
|
+
placeholder: C,
|
|
69769
69774
|
...o.hasPagesize && {
|
|
69770
69775
|
menu: {
|
|
69771
|
-
...
|
|
69772
|
-
pagesize:
|
|
69776
|
+
...v.menu,
|
|
69777
|
+
pagesize: v.menu.pagesize
|
|
69773
69778
|
},
|
|
69774
|
-
menubar:
|
|
69775
|
-
pagesize:
|
|
69779
|
+
menubar: v.menubar.includes("pagesize") ? v.menubar : `${v.menubar} pagesize`,
|
|
69780
|
+
pagesize: x
|
|
69776
69781
|
},
|
|
69777
69782
|
...!o.hasPagesize && {
|
|
69778
|
-
menu: Object.fromEntries(Object.entries(
|
|
69779
|
-
menubar:
|
|
69783
|
+
menu: Object.fromEntries(Object.entries(v.menu).filter(([D]) => D !== "pagesize")),
|
|
69784
|
+
menubar: v.menubar.replace(/pagesize/g, "").trim(),
|
|
69780
69785
|
pagesize: ""
|
|
69781
69786
|
}
|
|
69782
|
-
},
|
|
69787
|
+
}, v;
|
|
69783
69788
|
}
|
|
69784
69789
|
return {
|
|
69785
|
-
...nx(
|
|
69786
|
-
|
|
69787
|
-
|
|
69790
|
+
...nx(u),
|
|
69791
|
+
editorRef: i,
|
|
69792
|
+
customer: h,
|
|
69793
|
+
debounce: m
|
|
69788
69794
|
};
|
|
69789
69795
|
}
|
|
69790
69796
|
}, P5e = { class: "my-tinymce" };
|
|
@@ -69794,7 +69800,8 @@ function B5e(o, r, i, u, m, h) {
|
|
|
69794
69800
|
fn(v, {
|
|
69795
69801
|
modelValue: o.contentValue,
|
|
69796
69802
|
"onUpdate:modelValue": r[0] || (r[0] = (C) => o.contentValue = C),
|
|
69797
|
-
init: o.myInit
|
|
69803
|
+
init: o.myInit,
|
|
69804
|
+
ref: "editorRef"
|
|
69798
69805
|
}, null, 8, ["modelValue", "init"])
|
|
69799
69806
|
]);
|
|
69800
69807
|
}
|
|
@@ -70192,7 +70199,7 @@ const zde = (o, r) => {
|
|
|
70192
70199
|
var D, R, B, j, G;
|
|
70193
70200
|
(D = r == null ? void 0 : r.node) != null && D.element && ((R = r.node.element) == null || R.removeAttribute("data-dataGroupKey"), (B = r.node.element) == null || B.removeAttribute("selectable"), (j = r.node.element) == null || j.classList.remove("activated"), (G = r.node.element) == null || G.classList.remove("disabled"));
|
|
70194
70201
|
};
|
|
70195
|
-
return
|
|
70202
|
+
return jo(
|
|
70196
70203
|
() => x,
|
|
70197
70204
|
() => {
|
|
70198
70205
|
const D = xt(x);
|
|
@@ -70360,13 +70367,13 @@ function jde() {
|
|
|
70360
70367
|
const $e = document.createElement("div");
|
|
70361
70368
|
$e.id = `select_area_${u}`, $e.style.position = "absolute", $e.style.border = "1px solid #1677ff", $e.style.backgroundColor = "rgba(22, 119, 255, 0.05)", $e.style.pointerEvents = "none", $e.style.display = "none", i.value.appendChild($e), A.value = $e;
|
|
70362
70369
|
};
|
|
70363
|
-
return
|
|
70370
|
+
return jo(
|
|
70364
70371
|
_,
|
|
70365
70372
|
(te, $e) => {
|
|
70366
70373
|
Da(te, $e) || (Xe(te), v.value && Z());
|
|
70367
70374
|
},
|
|
70368
70375
|
{ deep: !0 }
|
|
70369
|
-
),
|
|
70376
|
+
), jo(
|
|
70370
70377
|
() => i.value,
|
|
70371
70378
|
(te) => {
|
|
70372
70379
|
xt(te) && Oe();
|
|
@@ -70390,7 +70397,7 @@ function Wde() {
|
|
|
70390
70397
|
h.classList.add("node-selected");
|
|
70391
70398
|
});
|
|
70392
70399
|
};
|
|
70393
|
-
|
|
70400
|
+
jo(
|
|
70394
70401
|
() => o,
|
|
70395
70402
|
() => {
|
|
70396
70403
|
i(), setTimeout(() => {
|
|
@@ -70522,7 +70529,7 @@ function rNe() {
|
|
|
70522
70529
|
var h;
|
|
70523
70530
|
(h = r.value) == null || h.addEventListener("dblclick", u);
|
|
70524
70531
|
};
|
|
70525
|
-
return
|
|
70532
|
+
return jo(
|
|
70526
70533
|
r,
|
|
70527
70534
|
(h) => {
|
|
70528
70535
|
h && m();
|
|
@@ -70580,7 +70587,7 @@ function aNe() {
|
|
|
70580
70587
|
var _;
|
|
70581
70588
|
(_ = o.value) == null || _.addEventListener("focus", C, !0);
|
|
70582
70589
|
};
|
|
70583
|
-
return
|
|
70590
|
+
return jo(
|
|
70584
70591
|
o,
|
|
70585
70592
|
(_) => {
|
|
70586
70593
|
_ && x();
|
|
@@ -70608,7 +70615,7 @@ function iNe(o) {
|
|
|
70608
70615
|
window.addEventListener("keydown", x);
|
|
70609
70616
|
}), fd(() => {
|
|
70610
70617
|
window.removeEventListener("keydown", x);
|
|
70611
|
-
}),
|
|
70618
|
+
}), jo(
|
|
70612
70619
|
o,
|
|
70613
70620
|
$E((_) => {
|
|
70614
70621
|
_ && !m.value && (i.value.splice(u.value + 1), i.value.push(JSON.parse(JSON.stringify(_))), u.value++), m.value && (m.value = !1);
|
|
@@ -70678,7 +70685,7 @@ function cNe() {
|
|
|
70678
70685
|
}, C = () => {
|
|
70679
70686
|
r.value && (window.addEventListener("keydown", h), r.value.addEventListener("mousedown", v));
|
|
70680
70687
|
};
|
|
70681
|
-
|
|
70688
|
+
jo(
|
|
70682
70689
|
() => r.value,
|
|
70683
70690
|
(x) => {
|
|
70684
70691
|
xt(x) && C();
|
|
@@ -70703,7 +70710,7 @@ function Zz() {
|
|
|
70703
70710
|
})) || []
|
|
70704
70711
|
].filter((_) => !!(_ != null && _.element)), console.log("找不到对应模版节点,已删除", v), m((x = v == null ? void 0 : v.map((_) => _ == null ? void 0 : _.id)) == null ? void 0 : x.filter(Boolean));
|
|
70705
70712
|
};
|
|
70706
|
-
|
|
70713
|
+
jo(
|
|
70707
70714
|
() => [o.value, r.value, u],
|
|
70708
70715
|
() => {
|
|
70709
70716
|
xt(u) && dd(() => {
|
|
@@ -71205,7 +71212,7 @@ function _Ne(o) {
|
|
|
71205
71212
|
let _ = [];
|
|
71206
71213
|
h.value === "single" ? (A = i.value) != null && A[0] && _.push((D = i.value) == null ? void 0 : D[0]) : _ = Aa(i.value), bE == null || bE({ data: _, type: x }), x === "blur" && (bE = null, h.value = "multiple"), m(_);
|
|
71207
71214
|
};
|
|
71208
|
-
return
|
|
71215
|
+
return jo(
|
|
71209
71216
|
() => i,
|
|
71210
71217
|
() => {
|
|
71211
71218
|
u.value && (v(), r == null || r(xt(i)));
|
|
@@ -71261,7 +71268,7 @@ const ENe = { class: "relative" }, TNe = ["innerHTML"], kNe = /* @__PURE__ */ zo
|
|
|
71261
71268
|
W.value && (W.value.innerHTML = xt(C), Z(), m.value = !0);
|
|
71262
71269
|
}));
|
|
71263
71270
|
};
|
|
71264
|
-
|
|
71271
|
+
jo(
|
|
71265
71272
|
() => [v, C, W],
|
|
71266
71273
|
() => {
|
|
71267
71274
|
H();
|
|
@@ -71967,7 +71974,7 @@ function YNe(o, r, i) {
|
|
|
71967
71974
|
}
|
|
71968
71975
|
}
|
|
71969
71976
|
};
|
|
71970
|
-
return
|
|
71977
|
+
return jo(
|
|
71971
71978
|
() => [r, o],
|
|
71972
71979
|
() => {
|
|
71973
71980
|
var C;
|
|
@@ -72002,7 +72009,7 @@ function KNe(o) {
|
|
|
72002
72009
|
var C;
|
|
72003
72010
|
return (C = i == null ? void 0 : i.value) == null ? void 0 : C.filter((x) => ["range", "cell"].includes(x.type));
|
|
72004
72011
|
});
|
|
72005
|
-
return
|
|
72012
|
+
return jo(
|
|
72006
72013
|
() => h,
|
|
72007
72014
|
() => {
|
|
72008
72015
|
var x, _, A, D, R, B;
|
|
@@ -72019,7 +72026,7 @@ function KNe(o) {
|
|
|
72019
72026
|
{
|
|
72020
72027
|
deep: !0
|
|
72021
72028
|
}
|
|
72022
|
-
),
|
|
72029
|
+
), jo(
|
|
72023
72030
|
() => [h, v],
|
|
72024
72031
|
() => {
|
|
72025
72032
|
var C, x, _, A, D;
|
|
@@ -72077,7 +72084,7 @@ const XNe = (o) => {
|
|
|
72077
72084
|
var C;
|
|
72078
72085
|
(C = r.value) == null || C.addEventListener("focus", h, !0);
|
|
72079
72086
|
};
|
|
72080
|
-
return
|
|
72087
|
+
return jo(
|
|
72081
72088
|
r,
|
|
72082
72089
|
(C) => {
|
|
72083
72090
|
C && v();
|
|
@@ -72120,7 +72127,7 @@ const QNe = (o, r) => {
|
|
|
72120
72127
|
), A.value = Z.length));
|
|
72121
72128
|
}
|
|
72122
72129
|
};
|
|
72123
|
-
|
|
72130
|
+
jo(
|
|
72124
72131
|
() => h,
|
|
72125
72132
|
() => {
|
|
72126
72133
|
var G, W, K, Z, H, de;
|
|
@@ -72149,7 +72156,7 @@ const QNe = (o, r) => {
|
|
|
72149
72156
|
);
|
|
72150
72157
|
}, t6e = (o) => {
|
|
72151
72158
|
const { startOffset: r, showStr: i } = o, u = cn(-1);
|
|
72152
|
-
|
|
72159
|
+
jo(
|
|
72153
72160
|
() => r,
|
|
72154
72161
|
() => {
|
|
72155
72162
|
var h;
|
|
@@ -72209,7 +72216,7 @@ const o6e = (o, r) => {
|
|
|
72209
72216
|
), x.value = G.length);
|
|
72210
72217
|
}
|
|
72211
72218
|
};
|
|
72212
|
-
|
|
72219
|
+
jo(
|
|
72213
72220
|
() => m,
|
|
72214
72221
|
() => {
|
|
72215
72222
|
var B, j, G, W, K;
|
|
@@ -72456,7 +72463,7 @@ function E6e(o, r, i = {}) {
|
|
|
72456
72463
|
eventFilter: u = Xde,
|
|
72457
72464
|
...m
|
|
72458
72465
|
} = i;
|
|
72459
|
-
return
|
|
72466
|
+
return jo(
|
|
72460
72467
|
o,
|
|
72461
72468
|
S6e(
|
|
72462
72469
|
u,
|
|
@@ -72508,7 +72515,7 @@ function une(o, r = !1) {
|
|
|
72508
72515
|
function i(D, { flush: R = "sync", deep: B = !1, timeout: j, throwOnTimeout: G } = {}) {
|
|
72509
72516
|
let W = null;
|
|
72510
72517
|
const Z = [new Promise((H) => {
|
|
72511
|
-
W =
|
|
72518
|
+
W = jo(
|
|
72512
72519
|
o,
|
|
72513
72520
|
(de) => {
|
|
72514
72521
|
D(de) !== r && (W == null || W(), H(de));
|
|
@@ -72530,7 +72537,7 @@ function une(o, r = !1) {
|
|
|
72530
72537
|
const { flush: B = "sync", deep: j = !1, timeout: G, throwOnTimeout: W } = R ?? {};
|
|
72531
72538
|
let K = null;
|
|
72532
72539
|
const H = [new Promise((de) => {
|
|
72533
|
-
K =
|
|
72540
|
+
K = jo(
|
|
72534
72541
|
[o, D],
|
|
72535
72542
|
([Xe, Oe]) => {
|
|
72536
72543
|
r !== (Xe === Oe) && (K == null || K(), de(Xe));
|
|
@@ -72609,7 +72616,7 @@ function Qde(...o) {
|
|
|
72609
72616
|
Array.isArray(i) || (i = [i]), Array.isArray(u) || (u = [u]);
|
|
72610
72617
|
const h = [], v = () => {
|
|
72611
72618
|
h.forEach((A) => A()), h.length = 0;
|
|
72612
|
-
}, C = (A, D, R, B) => (A.addEventListener(D, R, B), () => A.removeEventListener(D, R, B)), x =
|
|
72619
|
+
}, C = (A, D, R, B) => (A.addEventListener(D, R, B), () => A.removeEventListener(D, R, B)), x = jo(
|
|
72613
72620
|
() => [k6e(r), Wy(m)],
|
|
72614
72621
|
([A, D]) => {
|
|
72615
72622
|
if (v(), !A)
|
|
@@ -72662,12 +72669,12 @@ function ute(o, r, i, u = {}) {
|
|
|
72662
72669
|
if (x) {
|
|
72663
72670
|
const H = K(), de = cn(H);
|
|
72664
72671
|
let Xe = !1;
|
|
72665
|
-
return
|
|
72672
|
+
return jo(
|
|
72666
72673
|
() => o[r],
|
|
72667
72674
|
(Oe) => {
|
|
72668
72675
|
Xe || (Xe = !0, de.value = W(Oe), dd(() => Xe = !1));
|
|
72669
72676
|
}
|
|
72670
|
-
),
|
|
72677
|
+
), jo(
|
|
72671
72678
|
de,
|
|
72672
72679
|
(Oe) => {
|
|
72673
72680
|
!Xe && (Oe !== o[r] || A) && Z(Oe);
|
|
@@ -74915,7 +74922,7 @@ function fR(o, r) {
|
|
|
74915
74922
|
let v = !1;
|
|
74916
74923
|
const C = /* @__PURE__ */ new Set();
|
|
74917
74924
|
let x = A(xt(o));
|
|
74918
|
-
|
|
74925
|
+
jo(
|
|
74919
74926
|
() => xt(o),
|
|
74920
74927
|
(D, R) => {
|
|
74921
74928
|
typeof R == "boolean" && typeof D != "boolean" && _(), x = A(D);
|
|
@@ -75919,7 +75926,7 @@ function qfe(o) {
|
|
|
75919
75926
|
}
|
|
75920
75927
|
Ee = [], ye.value = !1, At = !1, me = !1, be = { x: void 0, y: void 0 }, cancelAnimationFrame(We);
|
|
75921
75928
|
};
|
|
75922
|
-
return
|
|
75929
|
+
return jo([() => xt(nt), ot], ([Et, jt], gt, Q) => {
|
|
75923
75930
|
if (jt) {
|
|
75924
75931
|
const ae = M1(jt);
|
|
75925
75932
|
Et || (M = vRe().on("start", (ie) => oe(ie, jt)).on("drag", (ie) => xn(ie, jt)).on("end", (ie) => Ct(ie)).filter((ie) => {
|
|
@@ -76467,7 +76474,7 @@ function q8e(o, r, i) {
|
|
|
76467
76474
|
});
|
|
76468
76475
|
}, C = () => {
|
|
76469
76476
|
u.run(() => {
|
|
76470
|
-
|
|
76477
|
+
jo(
|
|
76471
76478
|
() => r.maxZoom,
|
|
76472
76479
|
() => {
|
|
76473
76480
|
r.maxZoom && du(r.maxZoom) && i.setMaxZoom(r.maxZoom);
|
|
@@ -76479,7 +76486,7 @@ function q8e(o, r, i) {
|
|
|
76479
76486
|
});
|
|
76480
76487
|
}, x = () => {
|
|
76481
76488
|
u.run(() => {
|
|
76482
|
-
|
|
76489
|
+
jo(
|
|
76483
76490
|
() => r.minZoom,
|
|
76484
76491
|
() => {
|
|
76485
76492
|
r.minZoom && du(r.minZoom) && i.setMinZoom(r.minZoom);
|
|
@@ -76489,7 +76496,7 @@ function q8e(o, r, i) {
|
|
|
76489
76496
|
});
|
|
76490
76497
|
}, _ = () => {
|
|
76491
76498
|
u.run(() => {
|
|
76492
|
-
|
|
76499
|
+
jo(
|
|
76493
76500
|
() => r.translateExtent,
|
|
76494
76501
|
() => {
|
|
76495
76502
|
r.translateExtent && du(r.translateExtent) && i.setTranslateExtent(r.translateExtent);
|
|
@@ -76501,7 +76508,7 @@ function q8e(o, r, i) {
|
|
|
76501
76508
|
});
|
|
76502
76509
|
}, A = () => {
|
|
76503
76510
|
u.run(() => {
|
|
76504
|
-
|
|
76511
|
+
jo(
|
|
76505
76512
|
() => r.nodeExtent,
|
|
76506
76513
|
() => {
|
|
76507
76514
|
r.nodeExtent && du(r.nodeExtent) && i.setNodeExtent(r.nodeExtent);
|
|
@@ -76513,7 +76520,7 @@ function q8e(o, r, i) {
|
|
|
76513
76520
|
});
|
|
76514
76521
|
}, D = () => {
|
|
76515
76522
|
u.run(() => {
|
|
76516
|
-
|
|
76523
|
+
jo(
|
|
76517
76524
|
() => r.applyDefault,
|
|
76518
76525
|
() => {
|
|
76519
76526
|
du(r.applyDefault) && (i.applyDefault.value = r.applyDefault);
|
|
@@ -76529,13 +76536,13 @@ function q8e(o, r, i) {
|
|
|
76529
76536
|
let K = W;
|
|
76530
76537
|
typeof r.autoConnect == "function" && (K = await r.autoConnect(W)), K !== !1 && i.addEdges([K]);
|
|
76531
76538
|
};
|
|
76532
|
-
|
|
76539
|
+
jo(
|
|
76533
76540
|
() => r.autoConnect,
|
|
76534
76541
|
() => {
|
|
76535
76542
|
du(r.autoConnect) && (i.autoConnect.value = r.autoConnect);
|
|
76536
76543
|
},
|
|
76537
76544
|
{ immediate: !0 }
|
|
76538
|
-
),
|
|
76545
|
+
), jo(
|
|
76539
76546
|
i.autoConnect,
|
|
76540
76547
|
(W, K, Z) => {
|
|
76541
76548
|
W ? i.onConnect(G) : i.hooks.value.connect.off(G), Z(() => {
|
|
@@ -76563,7 +76570,7 @@ function q8e(o, r, i) {
|
|
|
76563
76570
|
if (!G.includes(K)) {
|
|
76564
76571
|
const Z = gi(() => r[K]), H = i[K];
|
|
76565
76572
|
hp(H) && u.run(() => {
|
|
76566
|
-
|
|
76573
|
+
jo(
|
|
76567
76574
|
Z,
|
|
76568
76575
|
(de) => {
|
|
76569
76576
|
du(de) && (H.value = de);
|
|
@@ -77348,7 +77355,7 @@ const oPe = rU, sPe = ["transform"], rPe = ["width", "height", "x", "y", "rx", "
|
|
|
77348
77355
|
},
|
|
77349
77356
|
setup(o) {
|
|
77350
77357
|
const r = cn({ x: 0, y: 0, width: 0, height: 0 }), i = cn(null), u = _n(() => `translate(${o.x - r.value.width / 2} ${o.y - r.value.height / 2})`);
|
|
77351
|
-
Fi(m),
|
|
77358
|
+
Fi(m), jo([() => o.x, () => o.y, i, () => o.label], m);
|
|
77352
77359
|
function m() {
|
|
77353
77360
|
if (!i.value)
|
|
77354
77361
|
return;
|
|
@@ -78026,7 +78033,7 @@ function Gr(o) {
|
|
|
78026
78033
|
if (C || v && (C = r.get(v)), !C || v && C.id !== v) {
|
|
78027
78034
|
const x = h ?? r.getId(), _ = r.create(x, m);
|
|
78028
78035
|
C = _, (i ?? cce(!0)).run(() => {
|
|
78029
|
-
|
|
78036
|
+
jo(
|
|
78030
78037
|
_.applyDefault,
|
|
78031
78038
|
(D, R, B) => {
|
|
78032
78039
|
const j = (W) => {
|
|
@@ -78186,9 +78193,9 @@ const IPe = {
|
|
|
78186
78193
|
} = Gr(), te = cn(null), $e = cn(/* @__PURE__ */ new Set()), ot = cn(/* @__PURE__ */ new Set()), nt = cn(), Ae = gi(() => x.value && (o.isSelecting || h.value)), ce = gi(() => Oe.value !== null);
|
|
78187
78194
|
let Jt = !1, ye = !1;
|
|
78188
78195
|
const Ee = fR(G, { actInsideInputWithModifier: !1 }), M = fR(W);
|
|
78189
|
-
|
|
78196
|
+
jo(Ee, (He) => {
|
|
78190
78197
|
He && (R(D.value), B(A.value), _.value = !1);
|
|
78191
|
-
}),
|
|
78198
|
+
}), jo(M, (He) => {
|
|
78192
78199
|
K.value = He;
|
|
78193
78200
|
});
|
|
78194
78201
|
function je(He, pt) {
|
|
@@ -78381,7 +78388,7 @@ const IPe = {
|
|
|
78381
78388
|
return !1;
|
|
78382
78389
|
const Ue = Array.isArray(D.value) && D.value.includes(ft) || v.value === !0 && Array.isArray(D.value) && !D.value.includes(0) || !ft || ft <= 1;
|
|
78383
78390
|
return (!ee.ctrlKey || be.value || ee.type === "wheel") && Ue;
|
|
78384
|
-
}),
|
|
78391
|
+
}), jo(
|
|
78385
78392
|
[de, me],
|
|
78386
78393
|
() => {
|
|
78387
78394
|
de.value && !ce.value ? Et.on("zoom", null) : de.value || Et.on("zoom", (ee) => {
|
|
@@ -78391,7 +78398,7 @@ const IPe = {
|
|
|
78391
78398
|
});
|
|
78392
78399
|
},
|
|
78393
78400
|
{ immediate: !0 }
|
|
78394
|
-
),
|
|
78401
|
+
), jo(
|
|
78395
78402
|
[de, We, _, et, B, G, W],
|
|
78396
78403
|
() => {
|
|
78397
78404
|
We.value && !et.value && !de.value ? jt.on(
|
|
@@ -78510,7 +78517,7 @@ const IPe = {
|
|
|
78510
78517
|
});
|
|
78511
78518
|
function ZPe() {
|
|
78512
78519
|
const o = Gr();
|
|
78513
|
-
|
|
78520
|
+
jo(
|
|
78514
78521
|
() => o.viewportHelper.value.viewportInitialized,
|
|
78515
78522
|
(r) => {
|
|
78516
78523
|
r && setTimeout(() => {
|
|
@@ -79038,7 +79045,7 @@ const Cle = Ooe, YPe = zo({
|
|
|
79038
79045
|
return A((ie) => {
|
|
79039
79046
|
(ie.includes(o.id) || !ie.length) && oe();
|
|
79040
79047
|
}), Fi(() => {
|
|
79041
|
-
|
|
79048
|
+
jo(
|
|
79042
79049
|
() => ce.hidden,
|
|
79043
79050
|
(ie = !1, ee, ve) => {
|
|
79044
79051
|
!ie && $e.value && (o.resizeObserver.observe($e.value), ve(() => {
|
|
@@ -79047,11 +79054,11 @@ const Cle = Ooe, YPe = zo({
|
|
|
79047
79054
|
},
|
|
79048
79055
|
{ immediate: !0, flush: "post" }
|
|
79049
79056
|
);
|
|
79050
|
-
}),
|
|
79057
|
+
}), jo([() => ce.type, () => ce.sourcePosition, () => ce.targetPosition], () => {
|
|
79051
79058
|
dd(() => {
|
|
79052
79059
|
_([{ id: o.id, nodeElement: $e.value, forceUpdate: !0 }]);
|
|
79053
79060
|
});
|
|
79054
|
-
}),
|
|
79061
|
+
}), jo(
|
|
79055
79062
|
[
|
|
79056
79063
|
() => ce.position.x,
|
|
79057
79064
|
() => ce.position.y,
|
|
@@ -79089,7 +79096,7 @@ const Cle = Ooe, YPe = zo({
|
|
|
79089
79096
|
typeof ve < "u" && typeof Re < "u" ? ce.computedPosition = w8e({ x: ve, y: Re, z: Ie }, Ue) : ce.computedPosition = Ue;
|
|
79090
79097
|
},
|
|
79091
79098
|
{ flush: "post", immediate: !0 }
|
|
79092
|
-
),
|
|
79099
|
+
), jo([() => ce.extent, R], ([ie, ee], [ve, Re]) => {
|
|
79093
79100
|
(ie !== ve || ee !== Re) && bt();
|
|
79094
79101
|
}), ce.extent === "parent" || typeof ce.extent == "object" && "range" in ce.extent && ce.extent.range === "parent" ? dne(() => me).toBe(!0).then(bt) : bt(), () => ce.hidden ? null : Ka(
|
|
79095
79102
|
"div",
|
|
@@ -79257,7 +79264,7 @@ const mBe = { class: "vue-flow__nodes vue-flow__container" }, gBe = {
|
|
|
79257
79264
|
...gBe,
|
|
79258
79265
|
setup(o) {
|
|
79259
79266
|
const { getNodes: r, updateNodeDimensions: i, emits: u } = Gr(), m = fBe(), h = cn();
|
|
79260
|
-
return
|
|
79267
|
+
return jo(
|
|
79261
79268
|
m,
|
|
79262
79269
|
(v) => {
|
|
79263
79270
|
v && dd(() => {
|
|
@@ -81741,7 +81748,7 @@ function oHe(o, r) {
|
|
|
81741
81748
|
changed: H
|
|
81742
81749
|
}), u.value = i.value.length - 1;
|
|
81743
81750
|
}, nHe);
|
|
81744
|
-
|
|
81751
|
+
jo(
|
|
81745
81752
|
[o, r],
|
|
81746
81753
|
// 同时监听 nodes 和 edges
|
|
81747
81754
|
([j, G], [W, K]) => {
|
|
@@ -81785,11 +81792,11 @@ function Vme(o, r) {
|
|
|
81785
81792
|
}, v = $E(() => {
|
|
81786
81793
|
Da(xt(m), xt(o)) || (o.value = Aa(xt(m)));
|
|
81787
81794
|
}, uV);
|
|
81788
|
-
|
|
81795
|
+
jo(m, v);
|
|
81789
81796
|
const C = $E(() => {
|
|
81790
81797
|
Da(xt(m), xt(o)) || (i.value = Aa(xt(o)));
|
|
81791
81798
|
}, uV);
|
|
81792
|
-
|
|
81799
|
+
jo(o, C, {
|
|
81793
81800
|
deep: !0
|
|
81794
81801
|
});
|
|
81795
81802
|
const x = _n(() => zle(xt(u))), _ = (B) => {
|
|
@@ -81798,11 +81805,11 @@ function Vme(o, r) {
|
|
|
81798
81805
|
}, A = $E(() => {
|
|
81799
81806
|
Da(xt(x), xt(r)) || (r.value = Aa(xt(x)));
|
|
81800
81807
|
}, uV);
|
|
81801
|
-
|
|
81808
|
+
jo(x, A);
|
|
81802
81809
|
const D = $E(() => {
|
|
81803
81810
|
Da(xt(x), xt(r)) || (u.value = Aa(xt(r)));
|
|
81804
81811
|
}, uV);
|
|
81805
|
-
|
|
81812
|
+
jo(r, D, {
|
|
81806
81813
|
deep: !0
|
|
81807
81814
|
});
|
|
81808
81815
|
const R = {
|
|
@@ -82240,7 +82247,7 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
|
|
|
82240
82247
|
Z.selected = !1;
|
|
82241
82248
|
}), K.selected = !0;
|
|
82242
82249
|
};
|
|
82243
|
-
|
|
82250
|
+
jo(
|
|
82244
82251
|
() => u.selected,
|
|
82245
82252
|
() => {
|
|
82246
82253
|
u.selected || C.value.forEach((W) => {
|
|
@@ -82266,7 +82273,7 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
|
|
|
82266
82273
|
}, B = (W) => {
|
|
82267
82274
|
u.data.children = C.value.filter((K) => K.id !== W.id);
|
|
82268
82275
|
};
|
|
82269
|
-
|
|
82276
|
+
jo(
|
|
82270
82277
|
() => C,
|
|
82271
82278
|
() => {
|
|
82272
82279
|
var W;
|
|
@@ -84263,7 +84270,7 @@ function $Ve(...o) {
|
|
|
84263
84270
|
const de = ($e) => {
|
|
84264
84271
|
$e = Z($e), x && Xe.destroy(), x = new Er($e, H());
|
|
84265
84272
|
};
|
|
84266
|
-
|
|
84273
|
+
jo(
|
|
84267
84274
|
() => C,
|
|
84268
84275
|
() => {
|
|
84269
84276
|
x && qle(H(), ($e, ot) => {
|
|
@@ -84391,7 +84398,7 @@ const Nne = [
|
|
|
84391
84398
|
const r = o, i = vr(o, "modelValue");
|
|
84392
84399
|
pg(i);
|
|
84393
84400
|
const u = vr(o, "defaultValue"), m = cn("");
|
|
84394
|
-
|
|
84401
|
+
jo(m, (x) => {
|
|
84395
84402
|
const _ = x.split(`
|
|
84396
84403
|
`).filter(Boolean).map((A, D) => ({
|
|
84397
84404
|
sort: D + 1,
|
|
@@ -84399,7 +84406,7 @@ const Nne = [
|
|
|
84399
84406
|
value: A.trim()
|
|
84400
84407
|
}));
|
|
84401
84408
|
Da(_, i.value) || (i.value = _);
|
|
84402
|
-
}),
|
|
84409
|
+
}), jo(
|
|
84403
84410
|
i,
|
|
84404
84411
|
(x) => {
|
|
84405
84412
|
var _;
|
|
@@ -84710,7 +84717,7 @@ const Nne = [
|
|
|
84710
84717
|
return (h == null ? void 0 : h.label) === `${(v = r.value) == null ? void 0 : v["true-value"]}/${(C = r.value) == null ? void 0 : C["false-value"]}`;
|
|
84711
84718
|
}
|
|
84712
84719
|
));
|
|
84713
|
-
return
|
|
84720
|
+
return jo(i, (h) => {
|
|
84714
84721
|
var v;
|
|
84715
84722
|
if (h) {
|
|
84716
84723
|
const [C, x] = ((v = h == null ? void 0 : h.split("/")) == null ? void 0 : v.filter(Boolean)) || [];
|
|
@@ -84720,7 +84727,7 @@ const Nne = [
|
|
|
84720
84727
|
});
|
|
84721
84728
|
} else
|
|
84722
84729
|
r.value = JSON.parse(JSON.stringify(u.value));
|
|
84723
|
-
}),
|
|
84730
|
+
}), jo(
|
|
84724
84731
|
() => r.value,
|
|
84725
84732
|
() => {
|
|
84726
84733
|
if (m.value)
|
|
@@ -84738,7 +84745,7 @@ const Nne = [
|
|
|
84738
84745
|
immediate: !0,
|
|
84739
84746
|
deep: !0
|
|
84740
84747
|
}
|
|
84741
|
-
),
|
|
84748
|
+
), jo(
|
|
84742
84749
|
u,
|
|
84743
84750
|
() => {
|
|
84744
84751
|
if (u.value["true-value"] && u.value["false-value"])
|
|
@@ -84894,7 +84901,7 @@ const Nne = [
|
|
|
84894
84901
|
m.value = !1;
|
|
84895
84902
|
}));
|
|
84896
84903
|
};
|
|
84897
|
-
return
|
|
84904
|
+
return jo(
|
|
84898
84905
|
() => xt(r),
|
|
84899
84906
|
(C, x) => {
|
|
84900
84907
|
Da(C, x) || v();
|
|
@@ -85044,7 +85051,7 @@ const Nne = [
|
|
|
85044
85051
|
}))
|
|
85045
85052
|
};
|
|
85046
85053
|
})), A = cn(null);
|
|
85047
|
-
|
|
85054
|
+
jo(
|
|
85048
85055
|
() => h.value,
|
|
85049
85056
|
(G) => {
|
|
85050
85057
|
A.value && G && (i ? A.value.setCheckedKeys(G) : A.value.setCurrentKey(G));
|
|
@@ -85386,7 +85393,7 @@ const Nne = [
|
|
|
85386
85393
|
});
|
|
85387
85394
|
}), K;
|
|
85388
85395
|
});
|
|
85389
|
-
|
|
85396
|
+
jo(
|
|
85390
85397
|
() => i ? D.value : R.value,
|
|
85391
85398
|
(K) => {
|
|
85392
85399
|
A.value && (i && K ? A.value.setCheckedKeys(K) : !i && K && A.value.setCurrentKey(K));
|
|
@@ -85871,7 +85878,7 @@ const Nne = [
|
|
|
85871
85878
|
const i = o, u = vr(o, "modelValue");
|
|
85872
85879
|
pg(u);
|
|
85873
85880
|
const m = cn(null), h = Hoe(u), v = vr(o, "userList");
|
|
85874
|
-
|
|
85881
|
+
jo(
|
|
85875
85882
|
() => h,
|
|
85876
85883
|
(_) => {
|
|
85877
85884
|
Da(xt(v), xt(_)) || (v.value = Aa(xt(_)));
|
|
@@ -85980,7 +85987,7 @@ const Nne = [
|
|
|
85980
85987
|
m.value = !1;
|
|
85981
85988
|
}));
|
|
85982
85989
|
};
|
|
85983
|
-
return
|
|
85990
|
+
return jo(
|
|
85984
85991
|
() => xt(r),
|
|
85985
85992
|
(C, x) => {
|
|
85986
85993
|
Da(C, x) || v();
|
|
@@ -86156,7 +86163,7 @@ const Nne = [
|
|
|
86156
86163
|
m.value = !1;
|
|
86157
86164
|
}));
|
|
86158
86165
|
};
|
|
86159
|
-
return
|
|
86166
|
+
return jo(
|
|
86160
86167
|
() => xt(r),
|
|
86161
86168
|
(C, x) => {
|
|
86162
86169
|
Da(C, x) || v();
|
|
@@ -86527,7 +86534,7 @@ const Nne = [
|
|
|
86527
86534
|
const r = o, i = vr(o, "modelValue");
|
|
86528
86535
|
pg(i);
|
|
86529
86536
|
const u = cn(null), m = Tge(i), h = vr(o, "departmentList");
|
|
86530
|
-
|
|
86537
|
+
jo(
|
|
86531
86538
|
() => m,
|
|
86532
86539
|
(C) => {
|
|
86533
86540
|
Da(xt(h), xt(C)) || (h.value = Aa(xt(C)));
|
|
@@ -86619,7 +86626,7 @@ const Nne = [
|
|
|
86619
86626
|
m.value = !1;
|
|
86620
86627
|
}));
|
|
86621
86628
|
};
|
|
86622
|
-
return
|
|
86629
|
+
return jo(
|
|
86623
86630
|
() => xt(r),
|
|
86624
86631
|
(C, x) => {
|
|
86625
86632
|
Da(C, x) || v();
|
|
@@ -86795,7 +86802,7 @@ const Nne = [
|
|
|
86795
86802
|
m.value = !1;
|
|
86796
86803
|
}));
|
|
86797
86804
|
};
|
|
86798
|
-
return
|
|
86805
|
+
return jo(
|
|
86799
86806
|
() => xt(r),
|
|
86800
86807
|
(C, x) => {
|
|
86801
86808
|
Da(C, x) || v();
|
|
@@ -87151,7 +87158,7 @@ const Nne = [
|
|
|
87151
87158
|
const r = o, i = vr(o, "modelValue");
|
|
87152
87159
|
pg(i);
|
|
87153
87160
|
const u = cn(null), m = $ge(i), h = vr(o, "positionList");
|
|
87154
|
-
|
|
87161
|
+
jo(
|
|
87155
87162
|
() => m,
|
|
87156
87163
|
(C) => {
|
|
87157
87164
|
Da(xt(h), xt(C)) || (h.value = Aa(xt(C)));
|
|
@@ -87243,7 +87250,7 @@ const Nne = [
|
|
|
87243
87250
|
m.value = !1;
|
|
87244
87251
|
}));
|
|
87245
87252
|
};
|
|
87246
|
-
return
|
|
87253
|
+
return jo(
|
|
87247
87254
|
() => xt(r),
|
|
87248
87255
|
(C, x) => {
|
|
87249
87256
|
Da(C, x) || v();
|
|
@@ -87400,7 +87407,7 @@ const Nne = [
|
|
|
87400
87407
|
m.value = !1;
|
|
87401
87408
|
}));
|
|
87402
87409
|
};
|
|
87403
|
-
return
|
|
87410
|
+
return jo(
|
|
87404
87411
|
() => xt(r),
|
|
87405
87412
|
(C, x) => {
|
|
87406
87413
|
Da(C, x) || v();
|
|
@@ -87634,7 +87641,7 @@ const Nne = [
|
|
|
87634
87641
|
(G) => G.roleId === D.roleId && G.groupId === D.groupId
|
|
87635
87642
|
) || (i.value = [...i.value || [], D])), (B = h.value) == null || B.hide();
|
|
87636
87643
|
}, h = cn(null), v = Nje(i), C = vr(o, "groupRolesList");
|
|
87637
|
-
|
|
87644
|
+
jo(
|
|
87638
87645
|
() => v,
|
|
87639
87646
|
(D) => {
|
|
87640
87647
|
Da(xt(C), xt(D)) || (C.value = Aa(xt(D)));
|