x-runtime-lib 0.6.35 → 0.6.37
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/dist/index.js +457 -460
- package/dist/types/element.d.ts +1 -5
- package/dist/utils/misc.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var sa = Object.defineProperty;
|
|
2
2
|
var ua = (r, o, c) => o in r ? sa(r, o, { enumerable: !0, configurable: !0, writable: !0, value: c }) : r[o] = c;
|
|
3
3
|
var lr = (r, o, c) => ua(r, typeof o != "symbol" ? o + "" : o, c);
|
|
4
|
-
import { computed as R, provide as Se, inject as Re, readonly as $r, onBeforeMount as la, onUnmounted as lt, defineComponent as q, useTemplateRef as Ri, onMounted as Ti, watch as ke, nextTick as
|
|
4
|
+
import { computed as R, provide as Se, inject as Re, readonly as $r, onBeforeMount as la, onUnmounted as lt, defineComponent as q, useTemplateRef as Ri, onMounted as Ti, watch as ke, nextTick as wi, createElementBlock as ae, openBlock as j, normalizeStyle as ct, ref as Ge, watchEffect as Oi, createBlock as ee, h as J, resolveComponent as se, unref as be, withCtx as Q, renderSlot as Ye, createVNode as ie, createSlots as dr, renderList as ca, useId as Ni, isRef as ki, createCommentVNode as Ci, normalizeClass as fa, toDisplayString as pa } from "vue";
|
|
5
5
|
import { waitUtil as Pi, eventBus as jr, messageInfo as da, messageSuccess as ha, messageWarning as ma, messageError as ya, openConfirmDlg as va, openPromptDlg as ba, useViewStack as Ai } from "x-essential-lib";
|
|
6
6
|
import { useTheme as ga } from "vuetify";
|
|
7
|
-
import { u as _a, r as Ii, i as Ea, a as xa, b as Sa, c as Ra, d as Ta, e as
|
|
7
|
+
import { u as _a, r as Ii, i as Ea, a as xa, b as Sa, c as Ra, d as Ta, e as wa, f as Oa, g as Na, h as Li } from "./echarts-i9kva4al.js";
|
|
8
8
|
import { useI18n as Di } from "vue-i18n";
|
|
9
9
|
var Mi = typeof global == "object" && global && global.Object === Object && global, ka = typeof self == "object" && self && self.Object === Object && self, fe = Mi || ka || Function("return this")(), We = fe.Symbol, Vi = Object.prototype, Ca = Vi.hasOwnProperty, Pa = Vi.toString, it = We ? We.toStringTag : void 0;
|
|
10
10
|
function Aa(r) {
|
|
@@ -14,8 +14,8 @@ function Aa(r) {
|
|
|
14
14
|
var d = !0;
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
return d && (o ? r[it] = c : delete r[it]),
|
|
17
|
+
var y = Pa.call(r);
|
|
18
|
+
return d && (o ? r[it] = c : delete r[it]), y;
|
|
19
19
|
}
|
|
20
20
|
var Ia = Object.prototype, La = Ia.toString;
|
|
21
21
|
function Da(r) {
|
|
@@ -151,9 +151,9 @@ var Ui = Object.prototype, hs = Ui.hasOwnProperty, ms = Ui.propertyIsEnumerable,
|
|
|
151
151
|
function vs() {
|
|
152
152
|
return !1;
|
|
153
153
|
}
|
|
154
|
-
var Gi = typeof exports == "object" && exports && !exports.nodeType && exports, Bn = Gi && typeof module == "object" && module && !module.nodeType && module, bs = Bn && Bn.exports === Gi, Fn = bs ? fe.Buffer : void 0, gs = Fn ? Fn.isBuffer : void 0, Wi = gs || vs, _s = "[object Arguments]", Es = "[object Array]", xs = "[object Boolean]", Ss = "[object Date]", Rs = "[object Error]", Ts = "[object Function]",
|
|
154
|
+
var Gi = typeof exports == "object" && exports && !exports.nodeType && exports, Bn = Gi && typeof module == "object" && module && !module.nodeType && module, bs = Bn && Bn.exports === Gi, Fn = bs ? fe.Buffer : void 0, gs = Fn ? Fn.isBuffer : void 0, Wi = gs || vs, _s = "[object Arguments]", Es = "[object Array]", xs = "[object Boolean]", Ss = "[object Date]", Rs = "[object Error]", Ts = "[object Function]", ws = "[object Map]", Os = "[object Number]", Ns = "[object Object]", ks = "[object RegExp]", Cs = "[object Set]", Ps = "[object String]", As = "[object WeakMap]", Is = "[object ArrayBuffer]", Ls = "[object DataView]", Ds = "[object Float32Array]", Ms = "[object Float64Array]", Vs = "[object Int8Array]", $s = "[object Int16Array]", js = "[object Int32Array]", Bs = "[object Uint8Array]", Fs = "[object Uint8ClampedArray]", Us = "[object Uint16Array]", Gs = "[object Uint32Array]", B = {};
|
|
155
155
|
B[Ds] = B[Ms] = B[Vs] = B[$s] = B[js] = B[Bs] = B[Fs] = B[Us] = B[Gs] = !0;
|
|
156
|
-
B[_s] = B[Es] = B[Is] = B[xs] = B[Ls] = B[Ss] = B[Rs] = B[Ts] = B[
|
|
156
|
+
B[_s] = B[Es] = B[Is] = B[xs] = B[Ls] = B[Ss] = B[Rs] = B[Ts] = B[ws] = B[Os] = B[Ns] = B[ks] = B[Cs] = B[Ps] = B[As] = !1;
|
|
157
157
|
function Ws(r) {
|
|
158
158
|
return pt(r) && Bi(r.length) && !!B[ft(r)];
|
|
159
159
|
}
|
|
@@ -170,11 +170,11 @@ var zi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
170
170
|
}
|
|
171
171
|
}(), Un = ze && ze.isTypedArray, Ys = Un ? Fr(Un) : Ws, Xs = Object.prototype, Hs = Xs.hasOwnProperty;
|
|
172
172
|
function Js(r, o) {
|
|
173
|
-
var c = Br(r), d = !c && ys(r),
|
|
173
|
+
var c = Br(r), d = !c && ys(r), y = !c && !d && Wi(r), b = !c && !d && !y && Ys(r), v = c || d || y || b, S = v ? ps(r.length, String) : [], x = S.length;
|
|
174
174
|
for (var n in r)
|
|
175
|
-
Hs.call(r, n) && !(
|
|
175
|
+
Hs.call(r, n) && !(v && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
176
176
|
(n == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
177
|
-
|
|
177
|
+
y && (n == "offset" || n == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
178
178
|
b && (n == "buffer" || n == "byteLength" || n == "byteOffset") || // Skip index properties.
|
|
179
179
|
is(n, x))) && S.push(n);
|
|
180
180
|
return S;
|
|
@@ -318,12 +318,12 @@ Xe.prototype.get = xu;
|
|
|
318
318
|
Xe.prototype.has = Su;
|
|
319
319
|
Xe.prototype.set = Ru;
|
|
320
320
|
function Tu(r, o) {
|
|
321
|
-
for (var c = -1, d = o.length,
|
|
322
|
-
r[
|
|
321
|
+
for (var c = -1, d = o.length, y = r.length; ++c < d; )
|
|
322
|
+
r[y + c] = o[c];
|
|
323
323
|
return r;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
325
|
+
var wu = Yi(Object.getPrototypeOf, Object);
|
|
326
|
+
function Ou() {
|
|
327
327
|
this.__data__ = new ge(), this.size = 0;
|
|
328
328
|
}
|
|
329
329
|
function Nu(r) {
|
|
@@ -351,7 +351,7 @@ function He(r) {
|
|
|
351
351
|
var o = this.__data__ = new ge(r);
|
|
352
352
|
this.size = o.size;
|
|
353
353
|
}
|
|
354
|
-
He.prototype.clear =
|
|
354
|
+
He.prototype.clear = Ou;
|
|
355
355
|
He.prototype.delete = Nu;
|
|
356
356
|
He.prototype.get = ku;
|
|
357
357
|
He.prototype.has = Cu;
|
|
@@ -362,9 +362,9 @@ function Lu(r, o) {
|
|
|
362
362
|
return r.slice();
|
|
363
363
|
}
|
|
364
364
|
function Du(r, o) {
|
|
365
|
-
for (var c = -1, d = r == null ? 0 : r.length,
|
|
366
|
-
var
|
|
367
|
-
o(
|
|
365
|
+
for (var c = -1, d = r == null ? 0 : r.length, y = 0, b = []; ++c < d; ) {
|
|
366
|
+
var v = r[c];
|
|
367
|
+
o(v, c, r) && (b[y++] = v);
|
|
368
368
|
}
|
|
369
369
|
return b;
|
|
370
370
|
}
|
|
@@ -463,53 +463,53 @@ function El(r, o, c) {
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
function xl(r) {
|
|
466
|
-
return typeof r.constructor == "function" && !Fi(r) ? es(
|
|
466
|
+
return typeof r.constructor == "function" && !Fi(r) ? es(wu(r)) : {};
|
|
467
467
|
}
|
|
468
468
|
var Sl = "[object Map]";
|
|
469
469
|
function Rl(r) {
|
|
470
470
|
return pt(r) && ve(r) == Sl;
|
|
471
471
|
}
|
|
472
|
-
var ei = ze && ze.isMap, Tl = ei ? Fr(ei) : Rl,
|
|
473
|
-
function
|
|
474
|
-
return pt(r) && ve(r) ==
|
|
472
|
+
var ei = ze && ze.isMap, Tl = ei ? Fr(ei) : Rl, wl = "[object Set]";
|
|
473
|
+
function Ol(r) {
|
|
474
|
+
return pt(r) && ve(r) == wl;
|
|
475
475
|
}
|
|
476
|
-
var ti = ze && ze.isSet, Nl = ti ? Fr(ti) :
|
|
476
|
+
var ti = ze && ze.isSet, Nl = ti ? Fr(ti) : Ol, Hi = "[object Arguments]", kl = "[object Array]", Cl = "[object Boolean]", Pl = "[object Date]", Al = "[object Error]", Ji = "[object Function]", Il = "[object GeneratorFunction]", Ll = "[object Map]", Dl = "[object Number]", Ki = "[object Object]", Ml = "[object RegExp]", Vl = "[object Set]", $l = "[object String]", jl = "[object Symbol]", Bl = "[object WeakMap]", Fl = "[object ArrayBuffer]", Ul = "[object DataView]", Gl = "[object Float32Array]", Wl = "[object Float64Array]", zl = "[object Int8Array]", Yl = "[object Int16Array]", Xl = "[object Int32Array]", Hl = "[object Uint8Array]", Jl = "[object Uint8ClampedArray]", Kl = "[object Uint16Array]", ql = "[object Uint32Array]", $ = {};
|
|
477
477
|
$[Hi] = $[kl] = $[Fl] = $[Ul] = $[Cl] = $[Pl] = $[Gl] = $[Wl] = $[zl] = $[Yl] = $[Xl] = $[Ll] = $[Dl] = $[Ki] = $[Ml] = $[Vl] = $[$l] = $[jl] = $[Hl] = $[Jl] = $[Kl] = $[ql] = !0;
|
|
478
478
|
$[Al] = $[Ji] = $[Bl] = !1;
|
|
479
|
-
function Tt(r, o, c, d,
|
|
480
|
-
var
|
|
481
|
-
if (
|
|
482
|
-
return
|
|
479
|
+
function Tt(r, o, c, d, y, b) {
|
|
480
|
+
var v;
|
|
481
|
+
if (v !== void 0)
|
|
482
|
+
return v;
|
|
483
483
|
if (!Dt(r))
|
|
484
484
|
return r;
|
|
485
485
|
var S = Br(r);
|
|
486
486
|
if (S)
|
|
487
|
-
|
|
487
|
+
v = Ku(r);
|
|
488
488
|
else {
|
|
489
489
|
var x = ve(r), n = x == Ji || x == Il;
|
|
490
490
|
if (Wi(r))
|
|
491
491
|
return Lu(r);
|
|
492
|
-
if (x == Ki || x == Hi || n && !
|
|
493
|
-
|
|
492
|
+
if (x == Ki || x == Hi || n && !y)
|
|
493
|
+
v = n ? {} : xl(r);
|
|
494
494
|
else {
|
|
495
495
|
if (!$[x])
|
|
496
|
-
return
|
|
497
|
-
|
|
496
|
+
return y ? r : {};
|
|
497
|
+
v = El(r, x);
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
b || (b = new He());
|
|
501
501
|
var t = b.get(r);
|
|
502
502
|
if (t)
|
|
503
503
|
return t;
|
|
504
|
-
b.set(r,
|
|
505
|
-
|
|
504
|
+
b.set(r, v), Nl(r) ? r.forEach(function(u) {
|
|
505
|
+
v.add(Tt(u, o, c, u, r, b));
|
|
506
506
|
}) : Tl(r) && r.forEach(function(u, s) {
|
|
507
|
-
|
|
507
|
+
v.set(s, Tt(u, o, c, s, r, b));
|
|
508
508
|
});
|
|
509
509
|
var e = Fu, i = S ? void 0 : e(r);
|
|
510
510
|
return ts(i || r, function(u, s) {
|
|
511
|
-
i && (s = u, u = r[s]), us(
|
|
512
|
-
}),
|
|
511
|
+
i && (s = u, u = r[s]), us(v, s, Tt(u, o, c, s, r, b));
|
|
512
|
+
}), v;
|
|
513
513
|
}
|
|
514
514
|
var Zl = 1, Ql = 4;
|
|
515
515
|
function Z(r) {
|
|
@@ -517,14 +517,14 @@ function Z(r) {
|
|
|
517
517
|
}
|
|
518
518
|
function qi(r) {
|
|
519
519
|
const o = R(() => {
|
|
520
|
-
var
|
|
521
|
-
return (
|
|
520
|
+
var y;
|
|
521
|
+
return (y = r.node.legend) == null ? void 0 : y.show;
|
|
522
522
|
}), c = R(() => {
|
|
523
|
-
var
|
|
524
|
-
return (
|
|
523
|
+
var y;
|
|
524
|
+
return (y = r.node.legend) == null ? void 0 : y.data;
|
|
525
525
|
});
|
|
526
|
-
function d(
|
|
527
|
-
|
|
526
|
+
function d(y) {
|
|
527
|
+
y.legend = {
|
|
528
528
|
show: o.value,
|
|
529
529
|
data: c.value
|
|
530
530
|
};
|
|
@@ -549,72 +549,72 @@ function Qi(r) {
|
|
|
549
549
|
var b;
|
|
550
550
|
return (b = r.node.title) == null ? void 0 : b.subtext;
|
|
551
551
|
});
|
|
552
|
-
function
|
|
552
|
+
function y(b) {
|
|
553
553
|
b.title = {
|
|
554
554
|
show: o.value,
|
|
555
555
|
text: c.value,
|
|
556
556
|
subtext: d.value
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
return { show: o, text: c, subtext: d, applyTitle:
|
|
559
|
+
return { show: o, text: c, subtext: d, applyTitle: y };
|
|
560
560
|
}
|
|
561
561
|
function eo(r) {
|
|
562
562
|
const o = R(() => {
|
|
563
|
-
var
|
|
564
|
-
return (
|
|
563
|
+
var v;
|
|
564
|
+
return (v = r.node.xAxis) == null ? void 0 : v.show;
|
|
565
565
|
}), c = R(() => {
|
|
566
|
-
var
|
|
567
|
-
return (
|
|
566
|
+
var v;
|
|
567
|
+
return (v = r.node.xAxis) == null ? void 0 : v.position;
|
|
568
568
|
}), d = R(() => {
|
|
569
|
-
var
|
|
570
|
-
return (
|
|
571
|
-
}),
|
|
572
|
-
var
|
|
573
|
-
return (
|
|
569
|
+
var v;
|
|
570
|
+
return (v = r.node.xAxis) == null ? void 0 : v.type;
|
|
571
|
+
}), y = R(() => {
|
|
572
|
+
var v;
|
|
573
|
+
return (v = r.node.xAxis) == null ? void 0 : v.data;
|
|
574
574
|
});
|
|
575
|
-
function b(
|
|
576
|
-
|
|
575
|
+
function b(v) {
|
|
576
|
+
v.xAxis = {
|
|
577
577
|
show: o.value,
|
|
578
578
|
position: c.value,
|
|
579
579
|
type: d.value,
|
|
580
|
-
data:
|
|
580
|
+
data: y.value
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
|
-
return { show: o, position: c, type: d, data:
|
|
583
|
+
return { show: o, position: c, type: d, data: y, applyXAxis: b };
|
|
584
584
|
}
|
|
585
585
|
function to(r) {
|
|
586
586
|
const o = R(() => {
|
|
587
|
-
var
|
|
588
|
-
return (
|
|
587
|
+
var v;
|
|
588
|
+
return (v = r.node.yAxis) == null ? void 0 : v.show;
|
|
589
589
|
}), c = R(() => {
|
|
590
|
-
var
|
|
591
|
-
return (
|
|
590
|
+
var v;
|
|
591
|
+
return (v = r.node.yAxis) == null ? void 0 : v.position;
|
|
592
592
|
}), d = R(() => {
|
|
593
|
-
var
|
|
594
|
-
return (
|
|
595
|
-
}),
|
|
596
|
-
var
|
|
597
|
-
return (
|
|
593
|
+
var v;
|
|
594
|
+
return (v = r.node.yAxis) == null ? void 0 : v.type;
|
|
595
|
+
}), y = R(() => {
|
|
596
|
+
var v;
|
|
597
|
+
return (v = r.node.yAxis) == null ? void 0 : v.data;
|
|
598
598
|
});
|
|
599
|
-
function b(
|
|
600
|
-
|
|
599
|
+
function b(v) {
|
|
600
|
+
v.yAxis = {
|
|
601
601
|
show: o.value,
|
|
602
602
|
position: c.value,
|
|
603
603
|
type: d.value,
|
|
604
|
-
data:
|
|
604
|
+
data: y.value
|
|
605
605
|
};
|
|
606
606
|
}
|
|
607
|
-
return { show: o, position: c, type: d, data:
|
|
607
|
+
return { show: o, position: c, type: d, data: y, applyYAxis: b };
|
|
608
608
|
}
|
|
609
609
|
function $t(r, o) {
|
|
610
|
-
const { computedThemes: c } = ga(), d = R(() => o == null ? void 0 : o.mode),
|
|
610
|
+
const { computedThemes: c } = ga(), d = R(() => o == null ? void 0 : o.mode), y = R(() => {
|
|
611
611
|
const S = o == null ? void 0 : o.theme;
|
|
612
612
|
return S ? S === "background0" ? r.value ? "#2e2e2e" : "#bdbdbd" : S === "background1" ? r.value ? "#272727" : "#eeeeee" : S === "background2" ? r.value ? "#1e1e1e" : "#ffffff" : (r.value ? c.value.dark : c.value.light).colors[S] : void 0;
|
|
613
613
|
}), b = R(() => {
|
|
614
614
|
var S, x;
|
|
615
615
|
return r.value ? (S = o == null ? void 0 : o.custom) == null ? void 0 : S.dark : (x = o == null ? void 0 : o.custom) == null ? void 0 : x.light;
|
|
616
616
|
});
|
|
617
|
-
return { color: R(() => d.value === "theme" ?
|
|
617
|
+
return { color: R(() => d.value === "theme" ? y.value : d.value === "custom" ? b.value : "") };
|
|
618
618
|
}
|
|
619
619
|
function ro(r, o) {
|
|
620
620
|
var t;
|
|
@@ -624,10 +624,10 @@ function ro(r, o) {
|
|
|
624
624
|
}), d = R(() => {
|
|
625
625
|
var e;
|
|
626
626
|
return (e = o.node.border) == null ? void 0 : e.width;
|
|
627
|
-
}), { color:
|
|
627
|
+
}), { color: y } = $t(r, (t = o.node.border) == null ? void 0 : t.color), b = R(() => {
|
|
628
628
|
var e, i;
|
|
629
629
|
return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.tl;
|
|
630
|
-
}),
|
|
630
|
+
}), v = R(() => {
|
|
631
631
|
var e, i;
|
|
632
632
|
return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.tr;
|
|
633
633
|
}), S = R(() => {
|
|
@@ -638,47 +638,47 @@ function ro(r, o) {
|
|
|
638
638
|
return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.br;
|
|
639
639
|
});
|
|
640
640
|
function n(e) {
|
|
641
|
-
c.value && (e.borderStyle = c.value), d.value && (e.borderWidth = d.value),
|
|
641
|
+
c.value && (e.borderStyle = c.value), d.value && (e.borderWidth = d.value), y.value && (e.borderColor = y.value), b.value && (e.borderTopLeftRadius = b.value), v.value && (e.borderTopRightRadius = v.value), S.value && (e.borderBottomLeftRadius = S.value), x.value && (e.borderBottomRightRadius = x.value);
|
|
642
642
|
}
|
|
643
|
-
return { borderStyle: c, borderWidth: d, borderColor:
|
|
643
|
+
return { borderStyle: c, borderWidth: d, borderColor: y, applyBorder: n };
|
|
644
644
|
}
|
|
645
645
|
function no(r) {
|
|
646
646
|
const o = R(() => {
|
|
647
|
-
var
|
|
648
|
-
return (
|
|
647
|
+
var v;
|
|
648
|
+
return (v = r.node.margin) == null ? void 0 : v.top;
|
|
649
649
|
}), c = R(() => {
|
|
650
|
-
var
|
|
651
|
-
return (
|
|
650
|
+
var v;
|
|
651
|
+
return (v = r.node.margin) == null ? void 0 : v.left;
|
|
652
652
|
}), d = R(() => {
|
|
653
|
-
var
|
|
654
|
-
return (
|
|
655
|
-
}),
|
|
656
|
-
var
|
|
657
|
-
return (
|
|
653
|
+
var v;
|
|
654
|
+
return (v = r.node.margin) == null ? void 0 : v.bottom;
|
|
655
|
+
}), y = R(() => {
|
|
656
|
+
var v;
|
|
657
|
+
return (v = r.node.margin) == null ? void 0 : v.right;
|
|
658
658
|
});
|
|
659
|
-
function b(
|
|
660
|
-
o.value && (
|
|
659
|
+
function b(v) {
|
|
660
|
+
o.value && (v.marginTop = o.value), c.value && (v.marginLeft = c.value), d.value && (v.marginBottom = d.value), y.value && (v.marginRight = y.value);
|
|
661
661
|
}
|
|
662
|
-
return { marginTop: o, marginLeft: c, marginBottom: d, marginRight:
|
|
662
|
+
return { marginTop: o, marginLeft: c, marginBottom: d, marginRight: y, applyMargin: b };
|
|
663
663
|
}
|
|
664
664
|
function io(r) {
|
|
665
665
|
const o = R(() => {
|
|
666
|
-
var
|
|
667
|
-
return (
|
|
666
|
+
var v;
|
|
667
|
+
return (v = r.node.padding) == null ? void 0 : v.top;
|
|
668
668
|
}), c = R(() => {
|
|
669
|
-
var
|
|
670
|
-
return (
|
|
669
|
+
var v;
|
|
670
|
+
return (v = r.node.padding) == null ? void 0 : v.left;
|
|
671
671
|
}), d = R(() => {
|
|
672
|
-
var
|
|
673
|
-
return (
|
|
674
|
-
}),
|
|
675
|
-
var
|
|
676
|
-
return (
|
|
672
|
+
var v;
|
|
673
|
+
return (v = r.node.padding) == null ? void 0 : v.bottom;
|
|
674
|
+
}), y = R(() => {
|
|
675
|
+
var v;
|
|
676
|
+
return (v = r.node.padding) == null ? void 0 : v.right;
|
|
677
677
|
});
|
|
678
|
-
function b(
|
|
679
|
-
o.value && (
|
|
678
|
+
function b(v) {
|
|
679
|
+
o.value && (v.paddingTop = o.value), c.value && (v.paddingLeft = c.value), d.value && (v.paddingBottom = d.value), y.value && (v.paddingRight = y.value);
|
|
680
680
|
}
|
|
681
|
-
return { paddingTop: o, paddingLeft: c, paddingBottom: d, paddingRight:
|
|
681
|
+
return { paddingTop: o, paddingLeft: c, paddingBottom: d, paddingRight: y, applyPadding: b };
|
|
682
682
|
}
|
|
683
683
|
const ri = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
684
684
|
function oo(r) {
|
|
@@ -689,9 +689,6 @@ function oo(r) {
|
|
|
689
689
|
}
|
|
690
690
|
return o;
|
|
691
691
|
}
|
|
692
|
-
function fd(r) {
|
|
693
|
-
return r === "";
|
|
694
|
-
}
|
|
695
692
|
function jt(r) {
|
|
696
693
|
if (typeof r != "string" || !r.endsWith("px"))
|
|
697
694
|
return !1;
|
|
@@ -704,7 +701,7 @@ function Gr(r) {
|
|
|
704
701
|
const o = r.substring(0, r.length - 1), c = parseFloat(o);
|
|
705
702
|
return !isNaN(c);
|
|
706
703
|
}
|
|
707
|
-
function
|
|
704
|
+
function fd(r) {
|
|
708
705
|
if (typeof r != "string" || !r.endsWith("px"))
|
|
709
706
|
return;
|
|
710
707
|
const o = r.substring(0, r.length - 2), c = parseFloat(o);
|
|
@@ -750,21 +747,22 @@ function ii(r, o) {
|
|
|
750
747
|
return r.array ? Z(o ? r.default : r.defaultArray) : Z(r.default);
|
|
751
748
|
}
|
|
752
749
|
function oi(r, o) {
|
|
753
|
-
function c(d,
|
|
754
|
-
if (
|
|
755
|
-
|
|
750
|
+
function c(d, y) {
|
|
751
|
+
if (y.ui) {
|
|
752
|
+
const b = ii(y);
|
|
753
|
+
if (y.ui === "strInput" && y.static || (y.ui === "switch" || y.ui === "select" || y.ui === "multiTypes") && !b)
|
|
756
754
|
return;
|
|
757
|
-
d[
|
|
755
|
+
d[y.key] = b;
|
|
758
756
|
} else
|
|
759
|
-
|
|
760
|
-
d[
|
|
757
|
+
y.array ? d[y.key] = ii(y) : y.children.forEach((b) => {
|
|
758
|
+
d[y.key] || (d[y.key] = {}), c(d[y.key], b);
|
|
761
759
|
});
|
|
762
760
|
}
|
|
763
761
|
o.forEach((d) => c(r, d));
|
|
764
762
|
}
|
|
765
|
-
function rc(r, o, c, d,
|
|
766
|
-
const b = `type=${r} subtype=${o} version=${c} ref=${d} keyOrRefid=${
|
|
767
|
-
if (!
|
|
763
|
+
function rc(r, o, c, d, y) {
|
|
764
|
+
const b = `type=${r} subtype=${o} version=${c} ref=${d} keyOrRefid=${y}`, v = tc(r, o);
|
|
765
|
+
if (!v) {
|
|
768
766
|
console.error(`spawnNode prop tag not found, ${b}`);
|
|
769
767
|
return;
|
|
770
768
|
}
|
|
@@ -780,7 +778,7 @@ function rc(r, o, c, d, v) {
|
|
|
780
778
|
}
|
|
781
779
|
}, n = oo(16);
|
|
782
780
|
if (d) {
|
|
783
|
-
const t = S.refKey, e =
|
|
781
|
+
const t = S.refKey, e = y;
|
|
784
782
|
if (!S.elements.has(t)) {
|
|
785
783
|
console.error(`spawnNode [ref] element not found in pkg, ${b}`);
|
|
786
784
|
return;
|
|
@@ -790,7 +788,7 @@ function rc(r, o, c, d, v) {
|
|
|
790
788
|
console.error(`spawnNode [ref] element not found in global, ${b}`);
|
|
791
789
|
return;
|
|
792
790
|
}
|
|
793
|
-
const u = i.props[
|
|
791
|
+
const u = i.props[v];
|
|
794
792
|
if (!u) {
|
|
795
793
|
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
796
794
|
return;
|
|
@@ -799,7 +797,7 @@ function rc(r, o, c, d, v) {
|
|
|
799
797
|
id: e
|
|
800
798
|
};
|
|
801
799
|
} else {
|
|
802
|
-
const t =
|
|
800
|
+
const t = y;
|
|
803
801
|
if (!S.elements.has(t)) {
|
|
804
802
|
console.error(`spawnNode [key] element not found in pkg, ${b}`);
|
|
805
803
|
return;
|
|
@@ -809,7 +807,7 @@ function rc(r, o, c, d, v) {
|
|
|
809
807
|
console.error(`spawnNode [key] element not found in global, ${b}`);
|
|
810
808
|
return;
|
|
811
809
|
}
|
|
812
|
-
const i = e.props[
|
|
810
|
+
const i = e.props[v];
|
|
813
811
|
if (!i) {
|
|
814
812
|
console.error(`spawnNode [key] props not found, ${b}`);
|
|
815
813
|
return;
|
|
@@ -818,75 +816,75 @@ function rc(r, o, c, d, v) {
|
|
|
818
816
|
}
|
|
819
817
|
return x;
|
|
820
818
|
}
|
|
821
|
-
function
|
|
819
|
+
function pd(r, o) {
|
|
822
820
|
function c(d) {
|
|
823
821
|
if (d.basic.id === o)
|
|
824
822
|
return d;
|
|
825
823
|
if (d.children)
|
|
826
|
-
for (let
|
|
827
|
-
const b = c(d.children[
|
|
824
|
+
for (let y = 0; y < d.children.length; y++) {
|
|
825
|
+
const b = c(d.children[y]);
|
|
828
826
|
if (b)
|
|
829
827
|
return b;
|
|
830
828
|
}
|
|
831
829
|
}
|
|
832
830
|
for (let d = 0; d < r.length; d++) {
|
|
833
|
-
const
|
|
834
|
-
if (
|
|
835
|
-
return
|
|
831
|
+
const y = c(r[d]);
|
|
832
|
+
if (y)
|
|
833
|
+
return y;
|
|
836
834
|
}
|
|
837
835
|
}
|
|
838
836
|
function nc(r) {
|
|
839
837
|
function o(d) {
|
|
840
|
-
var
|
|
841
|
-
d.basic.id = oo(16), (
|
|
838
|
+
var y;
|
|
839
|
+
d.basic.id = oo(16), (y = d.children) == null || y.forEach((b) => o(b));
|
|
842
840
|
}
|
|
843
841
|
const c = Z(r);
|
|
844
842
|
return o(c), c;
|
|
845
843
|
}
|
|
846
|
-
function
|
|
844
|
+
function dd(r) {
|
|
847
845
|
const o = [];
|
|
848
846
|
return r.forEach((c) => {
|
|
849
847
|
o.push(nc(c));
|
|
850
848
|
}), o;
|
|
851
849
|
}
|
|
852
850
|
const uo = "runtimeEnv", lo = "runtimeMode", co = "runtimeDevice", fo = "runtimeDark", po = "runtimeType", ho = "runtimeData", mo = "runtimeDepends", yo = "runtimeSandbox";
|
|
853
|
-
function
|
|
851
|
+
function hd(r) {
|
|
854
852
|
Se(uo, r);
|
|
855
853
|
}
|
|
856
854
|
function vo() {
|
|
857
855
|
return Re(uo);
|
|
858
856
|
}
|
|
859
|
-
function
|
|
857
|
+
function md(r) {
|
|
860
858
|
Se(lo, r);
|
|
861
859
|
}
|
|
862
860
|
function te() {
|
|
863
861
|
return Re(lo);
|
|
864
862
|
}
|
|
865
|
-
function
|
|
863
|
+
function yd(r) {
|
|
866
864
|
Se(co, $r(r));
|
|
867
865
|
}
|
|
868
866
|
function Le() {
|
|
869
867
|
return Re(co);
|
|
870
868
|
}
|
|
871
|
-
function
|
|
869
|
+
function vd(r) {
|
|
872
870
|
Se(fo, $r(r));
|
|
873
871
|
}
|
|
874
872
|
function pe() {
|
|
875
873
|
return Re(fo);
|
|
876
874
|
}
|
|
877
|
-
function
|
|
875
|
+
function bd(r) {
|
|
878
876
|
Se(po, r);
|
|
879
877
|
}
|
|
880
878
|
function De() {
|
|
881
879
|
return Re(po);
|
|
882
880
|
}
|
|
883
|
-
function
|
|
881
|
+
function gd(r) {
|
|
884
882
|
Se(ho, r);
|
|
885
883
|
}
|
|
886
884
|
function Me() {
|
|
887
885
|
return Re(ho);
|
|
888
886
|
}
|
|
889
|
-
function
|
|
887
|
+
function _d(r) {
|
|
890
888
|
Se(mo, $r(r));
|
|
891
889
|
}
|
|
892
890
|
function bo() {
|
|
@@ -902,13 +900,13 @@ function Je(r, o, c) {
|
|
|
902
900
|
const d = R(() => {
|
|
903
901
|
var t;
|
|
904
902
|
return (t = c.node.size) == null ? void 0 : t.width;
|
|
905
|
-
}),
|
|
903
|
+
}), y = R(() => {
|
|
906
904
|
var t;
|
|
907
905
|
return (t = c.node.size) == null ? void 0 : t.minWidth;
|
|
908
906
|
}), b = R(() => {
|
|
909
907
|
var t;
|
|
910
908
|
return (t = c.node.size) == null ? void 0 : t.maxWidth;
|
|
911
|
-
}),
|
|
909
|
+
}), v = R(() => {
|
|
912
910
|
var t, e;
|
|
913
911
|
if (c.outer && r === "editor") {
|
|
914
912
|
const i = pr((t = c.node.size) == null ? void 0 : t.height);
|
|
@@ -934,21 +932,21 @@ function Je(r, o, c) {
|
|
|
934
932
|
return (e = c.node.size) == null ? void 0 : e.maxHeight;
|
|
935
933
|
});
|
|
936
934
|
function n(t) {
|
|
937
|
-
d.value && (t.width = d.value),
|
|
935
|
+
d.value && (t.width = d.value), y.value && (t.minWidth = y.value), b.value && (t.maxWidth = b.value), v.value && (t.height = v.value), S.value && (t.minHeight = S.value), x.value && (t.maxHeight = x.value);
|
|
938
936
|
}
|
|
939
|
-
return { width: d, minWidth:
|
|
937
|
+
return { width: d, minWidth: y, maxWidth: b, height: v, minHeight: S, maxHeight: x, applySize: n };
|
|
940
938
|
}
|
|
941
939
|
function _o(r, o, c) {
|
|
942
|
-
const d = R(() => o.node.basic.id),
|
|
940
|
+
const d = R(() => o.node.basic.id), y = R(() => `callMethod@${d.value}`);
|
|
943
941
|
la(() => {
|
|
944
942
|
var b;
|
|
945
|
-
(b = r.eventBus) == null || b.on(
|
|
943
|
+
(b = r.eventBus) == null || b.on(y.value, c);
|
|
946
944
|
}), lt(() => {
|
|
947
945
|
var b;
|
|
948
|
-
(b = r.eventBus) == null || b.off(
|
|
946
|
+
(b = r.eventBus) == null || b.off(y.value, c);
|
|
949
947
|
});
|
|
950
948
|
}
|
|
951
|
-
const ic = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], oc = "#242424", ac = {}, sc = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, uc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, lc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, cc = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, fc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, pc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, dc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, hc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, mc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, yc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, vc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, bc = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, gc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, _c = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Ec = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, xc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Sc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Rc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Tc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } },
|
|
949
|
+
const ic = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], oc = "#242424", ac = {}, sc = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, uc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, lc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, cc = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, fc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, pc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, dc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, hc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, mc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, yc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, vc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, bc = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, gc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, _c = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Ec = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, xc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Sc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Rc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Tc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, wc = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Oc = { textStyle: { color: "#eeeeee" } }, Nc = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, kc = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, Cc = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Pc = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, Ac = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, Ic = {
|
|
952
950
|
color: ic,
|
|
953
951
|
backgroundColor: oc,
|
|
954
952
|
textStyle: ac,
|
|
@@ -971,8 +969,8 @@ const ic = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#
|
|
|
971
969
|
valueAxis: Sc,
|
|
972
970
|
logAxis: Rc,
|
|
973
971
|
timeAxis: Tc,
|
|
974
|
-
toolbox:
|
|
975
|
-
legend:
|
|
972
|
+
toolbox: wc,
|
|
973
|
+
legend: Oc,
|
|
976
974
|
tooltip: Nc,
|
|
977
975
|
timeline: kc,
|
|
978
976
|
visualMap: Cc,
|
|
@@ -1015,8 +1013,8 @@ _a([
|
|
|
1015
1013
|
Sa,
|
|
1016
1014
|
Ra,
|
|
1017
1015
|
Ta,
|
|
1018
|
-
Oa,
|
|
1019
1016
|
wa,
|
|
1017
|
+
Oa,
|
|
1020
1018
|
Na
|
|
1021
1019
|
]);
|
|
1022
1020
|
Ii("dark", Ic);
|
|
@@ -1028,13 +1026,13 @@ const ff = /* @__PURE__ */ q({
|
|
|
1028
1026
|
outer: { type: Boolean }
|
|
1029
1027
|
},
|
|
1030
1028
|
setup(r) {
|
|
1031
|
-
const o = r, c = te(), d = Le(),
|
|
1032
|
-
const k = {}, re =
|
|
1029
|
+
const o = r, c = te(), d = Le(), y = pe(), b = De(), v = Me(), { width: S, minWidth: x, maxWidth: n, height: t, minHeight: e, maxHeight: i, applySize: u } = Je(c, d, o), { applyTitle: s } = Qi(o), { applyXAxis: l } = eo(o), { applyYAxis: a } = to(o), { applyLegend: p } = qi(o), { applySeries: m } = Zi(o), E = R(() => {
|
|
1030
|
+
const k = {}, re = v.value.type;
|
|
1033
1031
|
return b === "page" ? re === "common" ? u(k) : console.assert(!1) : b === "comp" && re === "common" ? u(k) : console.assert(!1), k;
|
|
1034
1032
|
}), T = Ri("chart");
|
|
1035
1033
|
let g;
|
|
1036
|
-
const
|
|
1037
|
-
g == null || g.dispose(), g = Li.init(T.value,
|
|
1034
|
+
const O = () => {
|
|
1035
|
+
g == null || g.dispose(), g = Li.init(T.value, y.value ? "dark" : "light");
|
|
1038
1036
|
const k = {};
|
|
1039
1037
|
g.setOption(k);
|
|
1040
1038
|
}, N = () => {
|
|
@@ -1044,7 +1042,7 @@ const ff = /* @__PURE__ */ q({
|
|
|
1044
1042
|
s(k), l(k), a(k), p(k), m(k), g == null || g.setOption(k, !0);
|
|
1045
1043
|
};
|
|
1046
1044
|
return Ti(async () => {
|
|
1047
|
-
window.addEventListener("resize", N, !1), await Pi(() => !!T.value),
|
|
1045
|
+
window.addEventListener("resize", N, !1), await Pi(() => !!T.value), O(), P();
|
|
1048
1046
|
}), lt(() => {
|
|
1049
1047
|
window.removeEventListener("resize", N, !1), g == null || g.dispose();
|
|
1050
1048
|
}), ke(
|
|
@@ -1059,10 +1057,10 @@ const ff = /* @__PURE__ */ q({
|
|
|
1059
1057
|
i
|
|
1060
1058
|
],
|
|
1061
1059
|
async () => {
|
|
1062
|
-
await
|
|
1060
|
+
await wi(), N();
|
|
1063
1061
|
}
|
|
1064
|
-
), ke([
|
|
1065
|
-
|
|
1062
|
+
), ke([y], () => {
|
|
1063
|
+
O(), P();
|
|
1066
1064
|
}), ke(
|
|
1067
1065
|
[o],
|
|
1068
1066
|
() => {
|
|
@@ -1081,13 +1079,13 @@ const ff = /* @__PURE__ */ q({
|
|
|
1081
1079
|
outer: { type: Boolean }
|
|
1082
1080
|
},
|
|
1083
1081
|
setup(r) {
|
|
1084
|
-
const o = r, c = te(), d = Le(),
|
|
1085
|
-
const k = {}, re =
|
|
1082
|
+
const o = r, c = te(), d = Le(), y = pe(), b = De(), v = Me(), { width: S, minWidth: x, maxWidth: n, height: t, minHeight: e, maxHeight: i, applySize: u } = Je(c, d, o), { applyTitle: s } = Qi(o), { applyXAxis: l } = eo(o), { applyYAxis: a } = to(o), { applyLegend: p } = qi(o), { applySeries: m } = Zi(o), E = R(() => {
|
|
1083
|
+
const k = {}, re = v.value.type;
|
|
1086
1084
|
return b === "page" ? re === "common" ? u(k) : console.assert(!1) : b === "comp" && re === "common" ? u(k) : console.assert(!1), k;
|
|
1087
1085
|
}), T = Ri("chart");
|
|
1088
1086
|
let g;
|
|
1089
|
-
const
|
|
1090
|
-
g == null || g.dispose(), g = Li.init(T.value,
|
|
1087
|
+
const O = () => {
|
|
1088
|
+
g == null || g.dispose(), g = Li.init(T.value, y.value ? "dark" : "light");
|
|
1091
1089
|
const k = {};
|
|
1092
1090
|
g.setOption(k);
|
|
1093
1091
|
}, N = () => {
|
|
@@ -1097,7 +1095,7 @@ const ff = /* @__PURE__ */ q({
|
|
|
1097
1095
|
s(k), l(k), a(k), p(k), m(k), g == null || g.setOption(k, !0);
|
|
1098
1096
|
};
|
|
1099
1097
|
return Ti(async () => {
|
|
1100
|
-
window.addEventListener("resize", N, !1), await Pi(() => !!T.value),
|
|
1098
|
+
window.addEventListener("resize", N, !1), await Pi(() => !!T.value), O(), P();
|
|
1101
1099
|
}), lt(() => {
|
|
1102
1100
|
window.removeEventListener("resize", N, !1), g == null || g.dispose();
|
|
1103
1101
|
}), ke(
|
|
@@ -1112,10 +1110,10 @@ const ff = /* @__PURE__ */ q({
|
|
|
1112
1110
|
i
|
|
1113
1111
|
],
|
|
1114
1112
|
async () => {
|
|
1115
|
-
await
|
|
1113
|
+
await wi(), N();
|
|
1116
1114
|
}
|
|
1117
|
-
), ke([
|
|
1118
|
-
|
|
1115
|
+
), ke([y], () => {
|
|
1116
|
+
O(), P();
|
|
1119
1117
|
}), ke(
|
|
1120
1118
|
[o],
|
|
1121
1119
|
() => {
|
|
@@ -1141,8 +1139,8 @@ function hf(r) {
|
|
|
1141
1139
|
c.prototype = o.prototype;
|
|
1142
1140
|
} else c = {};
|
|
1143
1141
|
return Object.defineProperty(c, "__esModule", { value: !0 }), Object.keys(r).forEach(function(d) {
|
|
1144
|
-
var
|
|
1145
|
-
Object.defineProperty(c, d,
|
|
1142
|
+
var y = Object.getOwnPropertyDescriptor(r, d);
|
|
1143
|
+
Object.defineProperty(c, d, y.get ? y : {
|
|
1146
1144
|
enumerable: !0,
|
|
1147
1145
|
get: function() {
|
|
1148
1146
|
return r[d];
|
|
@@ -1150,16 +1148,16 @@ function hf(r) {
|
|
|
1150
1148
|
});
|
|
1151
1149
|
}), c;
|
|
1152
1150
|
}
|
|
1153
|
-
var
|
|
1151
|
+
var wt = { exports: {} };
|
|
1154
1152
|
const mf = {}, yf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1155
1153
|
__proto__: null,
|
|
1156
1154
|
default: mf
|
|
1157
1155
|
}, Symbol.toStringTag, { value: "Module" })), vf = /* @__PURE__ */ hf(yf);
|
|
1158
|
-
var bf =
|
|
1156
|
+
var bf = wt.exports, ai;
|
|
1159
1157
|
function gf() {
|
|
1160
1158
|
return ai || (ai = 1, function(r, o) {
|
|
1161
|
-
(function(d,
|
|
1162
|
-
r.exports =
|
|
1159
|
+
(function(d, y) {
|
|
1160
|
+
r.exports = y();
|
|
1163
1161
|
})(bf, () => (
|
|
1164
1162
|
/******/
|
|
1165
1163
|
(() => {
|
|
@@ -1170,7 +1168,7 @@ function gf() {
|
|
|
1170
1168
|
!*** ./original-repo/interpreter.js ***!
|
|
1171
1169
|
\**************************************/
|
|
1172
1170
|
/***/
|
|
1173
|
-
function(
|
|
1171
|
+
function(v, S, x) {
|
|
1174
1172
|
/**
|
|
1175
1173
|
* @license
|
|
1176
1174
|
* Copyright 2013 Neil Fraser
|
|
@@ -1484,9 +1482,9 @@ function gf() {
|
|
|
1484
1482
|
e.SYNTAX_ERROR,
|
|
1485
1483
|
"Invalid code in function body"
|
|
1486
1484
|
);
|
|
1487
|
-
var
|
|
1485
|
+
var O = g.body[0].expression;
|
|
1488
1486
|
return e.createFunction(
|
|
1489
|
-
|
|
1487
|
+
O,
|
|
1490
1488
|
e.globalScope,
|
|
1491
1489
|
"anonymous"
|
|
1492
1490
|
);
|
|
@@ -2314,14 +2312,14 @@ function gf() {
|
|
|
2314
2312
|
}, g = "string.split(separator, limit)", P = e.vmCall(g, T, a, m);
|
|
2315
2313
|
P !== n.REGEXP_TIMEOUT && m(e.nativeToPseudo(P));
|
|
2316
2314
|
} else {
|
|
2317
|
-
var
|
|
2315
|
+
var O = e.createWorker(), N = e.regExpTimeout(
|
|
2318
2316
|
a,
|
|
2319
|
-
|
|
2317
|
+
O,
|
|
2320
2318
|
m
|
|
2321
2319
|
);
|
|
2322
|
-
|
|
2320
|
+
O.onmessage = function(k) {
|
|
2323
2321
|
clearTimeout(N), m(e.nativeToPseudo(k.data));
|
|
2324
|
-
},
|
|
2322
|
+
}, O.postMessage(["split", E, a, p]);
|
|
2325
2323
|
}
|
|
2326
2324
|
return;
|
|
2327
2325
|
}
|
|
@@ -2337,9 +2335,9 @@ function gf() {
|
|
|
2337
2335
|
}, T = "string.match(regexp)", N = e.vmCall(T, E, a, p);
|
|
2338
2336
|
N !== n.REGEXP_TIMEOUT && p(N && e.matchToPseudo_(N));
|
|
2339
2337
|
} else {
|
|
2340
|
-
var g = e.createWorker(),
|
|
2338
|
+
var g = e.createWorker(), O = e.regExpTimeout(a, g, p);
|
|
2341
2339
|
g.onmessage = function(P) {
|
|
2342
|
-
clearTimeout(
|
|
2340
|
+
clearTimeout(O), p(P.data && e.matchToPseudo_(P.data));
|
|
2343
2341
|
}, g.postMessage(["match", m, a]);
|
|
2344
2342
|
}
|
|
2345
2343
|
return;
|
|
@@ -2356,10 +2354,10 @@ function gf() {
|
|
|
2356
2354
|
}, T = "string.search(regexp)", g = e.vmCall(T, E, a, p);
|
|
2357
2355
|
g !== n.REGEXP_TIMEOUT && p(g);
|
|
2358
2356
|
} else {
|
|
2359
|
-
var
|
|
2360
|
-
|
|
2357
|
+
var O = e.createWorker(), N = e.regExpTimeout(a, O, p);
|
|
2358
|
+
O.onmessage = function(P) {
|
|
2361
2359
|
clearTimeout(N), p(P.data);
|
|
2362
|
-
},
|
|
2360
|
+
}, O.postMessage(["search", m, a]);
|
|
2363
2361
|
}
|
|
2364
2362
|
return;
|
|
2365
2363
|
}
|
|
@@ -2372,8 +2370,8 @@ function gf() {
|
|
|
2372
2370
|
string: E,
|
|
2373
2371
|
substr: a,
|
|
2374
2372
|
newSubstr: p
|
|
2375
|
-
}, g = "string.replace(substr, newSubstr)",
|
|
2376
|
-
|
|
2373
|
+
}, g = "string.replace(substr, newSubstr)", O = e.vmCall(g, T, a, m);
|
|
2374
|
+
O !== n.REGEXP_TIMEOUT && m(O);
|
|
2377
2375
|
} else {
|
|
2378
2376
|
var N = e.createWorker(), P = e.regExpTimeout(
|
|
2379
2377
|
a,
|
|
@@ -2658,8 +2656,8 @@ function gf() {
|
|
|
2658
2656
|
var p = {
|
|
2659
2657
|
string: s,
|
|
2660
2658
|
regexp: a
|
|
2661
|
-
}, m = "regexp.exec(string)",
|
|
2662
|
-
|
|
2659
|
+
}, m = "regexp.exec(string)", O = e.vmCall(m, p, a, l);
|
|
2660
|
+
O !== n.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(O)));
|
|
2663
2661
|
} else {
|
|
2664
2662
|
var E = e.createWorker(), T = e.regExpTimeout(a, E, l), g = this;
|
|
2665
2663
|
E.onmessage = function(N) {
|
|
@@ -2668,8 +2666,8 @@ function gf() {
|
|
|
2668
2666
|
}
|
|
2669
2667
|
return;
|
|
2670
2668
|
}
|
|
2671
|
-
var
|
|
2672
|
-
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(
|
|
2669
|
+
var O = a.exec(s);
|
|
2670
|
+
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(O));
|
|
2673
2671
|
}, this.setAsyncFunctionPrototype(this.REGEXP, "exec", i);
|
|
2674
2672
|
}, n.prototype.matchToPseudo_ = function(t) {
|
|
2675
2673
|
if (t) {
|
|
@@ -2875,9 +2873,9 @@ function gf() {
|
|
|
2875
2873
|
}
|
|
2876
2874
|
for (var p = String(this.getProperty(t, "name")), m = String(this.getProperty(t, "message")), E = p + ": " + m + `
|
|
2877
2875
|
`, u = 0; u < i.length; u++) {
|
|
2878
|
-
var T = i[u].datumLoc, g = i[u].datumName,
|
|
2879
|
-
g ? E += " at " + g + " (" +
|
|
2880
|
-
` : E += " at " +
|
|
2876
|
+
var T = i[u].datumLoc, g = i[u].datumName, O = T.source + ":" + T.start.line + ":" + T.start.column;
|
|
2877
|
+
g ? E += " at " + g + " (" + O + `)
|
|
2878
|
+
` : E += " at " + O + `
|
|
2881
2879
|
`;
|
|
2882
2880
|
}
|
|
2883
2881
|
this.setProperty(
|
|
@@ -3031,11 +3029,11 @@ function gf() {
|
|
|
3031
3029
|
}
|
|
3032
3030
|
var g;
|
|
3033
3031
|
Array.isArray(t) ? g = this.createArray() : g = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(g);
|
|
3034
|
-
for (var
|
|
3032
|
+
for (var O in t)
|
|
3035
3033
|
this.setProperty(
|
|
3036
3034
|
g,
|
|
3037
|
-
|
|
3038
|
-
this.nativeToPseudo(t[
|
|
3035
|
+
O,
|
|
3036
|
+
this.nativeToPseudo(t[O], i)
|
|
3039
3037
|
);
|
|
3040
3038
|
return g;
|
|
3041
3039
|
}, n.prototype.pseudoToNative = function(t, e) {
|
|
@@ -3420,8 +3418,8 @@ function gf() {
|
|
|
3420
3418
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + P.message);
|
|
3421
3419
|
}
|
|
3422
3420
|
a.type = "EvalProgram_", a.body = E.body;
|
|
3423
|
-
var T = i.node.arguments[0], g = T ? T.start : void 0,
|
|
3424
|
-
n.stripLocations_(a, g,
|
|
3421
|
+
var T = i.node.arguments[0], g = T ? T.start : void 0, O = T ? T.end : void 0;
|
|
3422
|
+
n.stripLocations_(a, g, O), p = this.globalScope, u.length = 0;
|
|
3425
3423
|
}
|
|
3426
3424
|
var N = new n.Task(
|
|
3427
3425
|
m,
|
|
@@ -3774,13 +3772,13 @@ function gf() {
|
|
|
3774
3772
|
n.READONLY_DESCRIPTOR
|
|
3775
3773
|
), e.value = void 0, new n.State(a.body, p);
|
|
3776
3774
|
} else if (s.eval) {
|
|
3777
|
-
var
|
|
3778
|
-
if (typeof
|
|
3779
|
-
e.value =
|
|
3775
|
+
var O = e.arguments_[0];
|
|
3776
|
+
if (typeof O != "string")
|
|
3777
|
+
e.value = O;
|
|
3780
3778
|
else {
|
|
3781
3779
|
try {
|
|
3782
3780
|
var N = this.parse_(
|
|
3783
|
-
String(
|
|
3781
|
+
String(O),
|
|
3784
3782
|
"eval" + this.evalCodeNumber_++
|
|
3785
3783
|
);
|
|
3786
3784
|
} catch (G) {
|
|
@@ -4189,7 +4187,7 @@ function gf() {
|
|
|
4189
4187
|
t.pop();
|
|
4190
4188
|
var u = this.createSpecialScope(e.scope, e.value);
|
|
4191
4189
|
return new n.State(i.body, u);
|
|
4192
|
-
}, n.prototype.stepWhileStatement = n.prototype.stepDoWhileStatement, n.nativeGlobal.Interpreter = n, n.prototype.step = n.prototype.step, n.prototype.run = n.prototype.run, n.prototype.getStatus = n.prototype.getStatus, n.prototype.appendCode = n.prototype.appendCode, n.prototype.createObject = n.prototype.createObject, n.prototype.createObjectProto = n.prototype.createObjectProto, n.prototype.createNativeFunction = n.prototype.createNativeFunction, n.prototype.createAsyncFunction = n.prototype.createAsyncFunction, n.prototype.getProperty = n.prototype.getProperty, n.prototype.setProperty = n.prototype.setProperty, n.prototype.nativeToPseudo = n.prototype.nativeToPseudo, n.prototype.pseudoToNative = n.prototype.pseudoToNative, n.prototype.getGlobalScope = n.prototype.getGlobalScope, n.prototype.setGlobalScope = n.prototype.setGlobalScope, n.prototype.getStateStack = n.prototype.getStateStack, n.prototype.setStateStack = n.prototype.setStateStack, n.Status = n.Status, n.VALUE_IN_DESCRIPTOR = n.VALUE_IN_DESCRIPTOR,
|
|
4190
|
+
}, n.prototype.stepWhileStatement = n.prototype.stepDoWhileStatement, n.nativeGlobal.Interpreter = n, n.prototype.step = n.prototype.step, n.prototype.run = n.prototype.run, n.prototype.getStatus = n.prototype.getStatus, n.prototype.appendCode = n.prototype.appendCode, n.prototype.createObject = n.prototype.createObject, n.prototype.createObjectProto = n.prototype.createObjectProto, n.prototype.createNativeFunction = n.prototype.createNativeFunction, n.prototype.createAsyncFunction = n.prototype.createAsyncFunction, n.prototype.getProperty = n.prototype.getProperty, n.prototype.setProperty = n.prototype.setProperty, n.prototype.nativeToPseudo = n.prototype.nativeToPseudo, n.prototype.pseudoToNative = n.prototype.pseudoToNative, n.prototype.getGlobalScope = n.prototype.getGlobalScope, n.prototype.setGlobalScope = n.prototype.setGlobalScope, n.prototype.getStateStack = n.prototype.getStateStack, n.prototype.setStateStack = n.prototype.setStateStack, n.Status = n.Status, n.VALUE_IN_DESCRIPTOR = n.VALUE_IN_DESCRIPTOR, v.exports = {
|
|
4193
4191
|
Interpreter: n
|
|
4194
4192
|
};
|
|
4195
4193
|
}
|
|
@@ -4200,7 +4198,7 @@ function gf() {
|
|
|
4200
4198
|
!*** ./original-repo/acorn.js ***!
|
|
4201
4199
|
\********************************/
|
|
4202
4200
|
/***/
|
|
4203
|
-
function(
|
|
4201
|
+
function(v, S) {
|
|
4204
4202
|
(function(x, n) {
|
|
4205
4203
|
return n(S);
|
|
4206
4204
|
})(typeof globalThis > "u" ? this || window : globalThis, function(x) {
|
|
@@ -4274,21 +4272,21 @@ function gf() {
|
|
|
4274
4272
|
i = n.sourceFile;
|
|
4275
4273
|
}
|
|
4276
4274
|
var l = function(f, h) {
|
|
4277
|
-
for (var _ = 1,
|
|
4278
|
-
gt.lastIndex =
|
|
4275
|
+
for (var _ = 1, w = 0; ; ) {
|
|
4276
|
+
gt.lastIndex = w;
|
|
4279
4277
|
var I = gt.exec(f);
|
|
4280
4278
|
if (I && I.index < h)
|
|
4281
|
-
++_,
|
|
4279
|
+
++_, w = I.index + I[0].length;
|
|
4282
4280
|
else
|
|
4283
4281
|
break;
|
|
4284
4282
|
}
|
|
4285
|
-
return { line: _, column: h -
|
|
4286
|
-
}, a = 0, p = 0, m = 0, E, T, g,
|
|
4283
|
+
return { line: _, column: h - w };
|
|
4284
|
+
}, a = 0, p = 0, m = 0, E, T, g, O, N, P, k, re = 0, ue = 0, Ve, Te, G, ne;
|
|
4287
4285
|
function M(f, h) {
|
|
4288
4286
|
var _ = l(t, f);
|
|
4289
4287
|
h += " (" + _.line + ":" + _.column + ")";
|
|
4290
|
-
var
|
|
4291
|
-
throw
|
|
4288
|
+
var w = new SyntaxError(h);
|
|
4289
|
+
throw w.pos = f, w.loc = _, w.raisedAt = a, w;
|
|
4292
4290
|
}
|
|
4293
4291
|
var Ro = [], ht = { type: "num" }, Jr = { type: "regexp" }, Ft = { type: "string" }, $e = { type: "name" }, Ut = { type: "eof" }, Gt = { keyword: "break" }, Wt = { keyword: "case", beforeExpr: !0 }, Kr = { keyword: "catch" }, qr = { keyword: "continue" }, Zr = { keyword: "debugger" }, Qr = { keyword: "default" }, en = { keyword: "do", isLoop: !0 }, tn = { keyword: "else", beforeExpr: !0 }, rn = { keyword: "finally" }, nn = { keyword: "for", isLoop: !0 }, zt = { keyword: "function" }, on = { keyword: "if" }, an = { keyword: "return", beforeExpr: !0 }, Yt = { keyword: "switch" }, sn = { keyword: "throw", beforeExpr: !0 }, un = { keyword: "try" }, Xt = { keyword: "var" }, Ht = { keyword: "while", isLoop: !0 }, ln = { keyword: "with" }, cn = { keyword: "new", beforeExpr: !0 }, fn = { keyword: "this" }, pn = { keyword: "null", atomValue: null }, dn = { keyword: "true", atomValue: !0 }, hn = { keyword: "false", atomValue: !1 }, mt = { keyword: "in", binop: 7, beforeExpr: !0 }, To = {
|
|
4294
4292
|
break: Gt,
|
|
@@ -4320,10 +4318,10 @@ function gf() {
|
|
|
4320
4318
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4321
4319
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4322
4320
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4323
|
-
}, Jt = { type: "[", beforeExpr: !0 }, Kt = { type: "]" }, Ke = { type: "{", beforeExpr: !0 }, je = { type: "}" }, de = { type: "(", beforeExpr: !0 }, ce = { type: ")" }, _e = { type: ",", beforeExpr: !0 }, he = { type: ";", beforeExpr: !0 }, qe = { type: ":", beforeExpr: !0 }, mn = { type: "." }, yn = { type: "?", beforeExpr: !0 }, vn = { binop: 10, beforeExpr: !0 }, bn = { isAssign: !0, beforeExpr: !0 },
|
|
4321
|
+
}, Jt = { type: "[", beforeExpr: !0 }, Kt = { type: "]" }, Ke = { type: "{", beforeExpr: !0 }, je = { type: "}" }, de = { type: "(", beforeExpr: !0 }, ce = { type: ")" }, _e = { type: ",", beforeExpr: !0 }, he = { type: ";", beforeExpr: !0 }, qe = { type: ":", beforeExpr: !0 }, mn = { type: "." }, yn = { type: "?", beforeExpr: !0 }, vn = { binop: 10, beforeExpr: !0 }, bn = { isAssign: !0, beforeExpr: !0 }, we = { isAssign: !0, beforeExpr: !0 }, wo = { postfix: !0, prefix: !0, isUpdate: !0 }, gn = { prefix: !0, beforeExpr: !0 }, _n = { binop: 1, beforeExpr: !0 }, En = { binop: 2, beforeExpr: !0 }, Oo = { binop: 3, beforeExpr: !0 }, No = { binop: 4, beforeExpr: !0 }, ko = { binop: 5, beforeExpr: !0 }, Co = { binop: 6, beforeExpr: !0 }, Po = { binop: 7, beforeExpr: !0 }, Ao = { binop: 8, beforeExpr: !0 }, Io = { binop: 9, prefix: !0, beforeExpr: !0 }, Lo = { binop: 10, beforeExpr: !0 };
|
|
4324
4322
|
function yt(f) {
|
|
4325
|
-
for (var h = f.split(" "), _ = /* @__PURE__ */ Object.create(null),
|
|
4326
|
-
_[h[
|
|
4323
|
+
for (var h = f.split(" "), _ = /* @__PURE__ */ Object.create(null), w = 0; w < h.length; w++)
|
|
4324
|
+
_[h[w]] = !0;
|
|
4327
4325
|
return function(I) {
|
|
4328
4326
|
return _[I] || !1;
|
|
4329
4327
|
};
|
|
@@ -4333,21 +4331,21 @@ function gf() {
|
|
|
4333
4331
|
}, Tn = function(f) {
|
|
4334
4332
|
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && jo.test(String.fromCharCode(f));
|
|
4335
4333
|
};
|
|
4336
|
-
function
|
|
4334
|
+
function Oe() {
|
|
4337
4335
|
this.line = P, this.column = a - k;
|
|
4338
4336
|
}
|
|
4339
4337
|
function Bo() {
|
|
4340
4338
|
P = 1, a = k = 0, N = !0, Ze();
|
|
4341
4339
|
}
|
|
4342
4340
|
function Y(f, h) {
|
|
4343
|
-
m = a, n.locations && (T = new
|
|
4341
|
+
m = a, n.locations && (T = new Oe()), g = f, Ze(), O = h, N = f.beforeExpr;
|
|
4344
4342
|
}
|
|
4345
4343
|
function Fo() {
|
|
4346
|
-
var f = n.onComment && n.locations && new
|
|
4344
|
+
var f = n.onComment && n.locations && new Oe(), h = a, _ = t.indexOf("*/", a += 2);
|
|
4347
4345
|
if (_ === -1 && M(a - 2, "Unterminated comment"), a = _ + 2, n.locations) {
|
|
4348
4346
|
gt.lastIndex = h;
|
|
4349
|
-
for (var
|
|
4350
|
-
++P, k =
|
|
4347
|
+
for (var w; (w = gt.exec(t)) && w.index < a; )
|
|
4348
|
+
++P, k = w.index + w[0].length;
|
|
4351
4349
|
}
|
|
4352
4350
|
n.onComment && n.onComment(
|
|
4353
4351
|
!0,
|
|
@@ -4355,11 +4353,11 @@ function gf() {
|
|
|
4355
4353
|
h,
|
|
4356
4354
|
a,
|
|
4357
4355
|
f,
|
|
4358
|
-
n.locations && new
|
|
4356
|
+
n.locations && new Oe()
|
|
4359
4357
|
);
|
|
4360
4358
|
}
|
|
4361
4359
|
function qt() {
|
|
4362
|
-
for (var f = a, h = n.onComment && n.locations && new
|
|
4360
|
+
for (var f = a, h = n.onComment && n.locations && new Oe(), _ = t.charCodeAt(a += 2); a < e && _ !== 10 && _ !== 13 && _ !== 8232 && _ !== 8233; )
|
|
4363
4361
|
++a, _ = t.charCodeAt(a);
|
|
4364
4362
|
n.onComment && n.onComment(
|
|
4365
4363
|
!1,
|
|
@@ -4367,7 +4365,7 @@ function gf() {
|
|
|
4367
4365
|
f,
|
|
4368
4366
|
a,
|
|
4369
4367
|
h,
|
|
4370
|
-
n.locations && new
|
|
4368
|
+
n.locations && new Oe()
|
|
4371
4369
|
);
|
|
4372
4370
|
}
|
|
4373
4371
|
function Ze() {
|
|
@@ -4400,23 +4398,23 @@ function gf() {
|
|
|
4400
4398
|
}
|
|
4401
4399
|
function Uo() {
|
|
4402
4400
|
var f = t.charCodeAt(a + 1);
|
|
4403
|
-
f >= 48 && f <= 57 ?
|
|
4401
|
+
f >= 48 && f <= 57 ? On(!0) : (++a, Y(mn));
|
|
4404
4402
|
}
|
|
4405
4403
|
function Go() {
|
|
4406
4404
|
var f = t.charCodeAt(a + 1);
|
|
4407
|
-
N ? (++a,
|
|
4405
|
+
N ? (++a, wn()) : f === 61 ? X(we, 2) : X(vn, 1);
|
|
4408
4406
|
}
|
|
4409
4407
|
function Wo() {
|
|
4410
4408
|
var f = t.charCodeAt(a + 1);
|
|
4411
|
-
f === 61 ? X(
|
|
4409
|
+
f === 61 ? X(we, 2) : X(Lo, 1);
|
|
4412
4410
|
}
|
|
4413
4411
|
function zo(f) {
|
|
4414
4412
|
var h = t.charCodeAt(a + 1);
|
|
4415
|
-
h === f ? X(f === 124 ? _n : En, 2) : h === 61 ? X(
|
|
4413
|
+
h === f ? X(f === 124 ? _n : En, 2) : h === 61 ? X(we, 2) : X(f === 124 ? Oo : ko, 1);
|
|
4416
4414
|
}
|
|
4417
4415
|
function Yo() {
|
|
4418
4416
|
var f = t.charCodeAt(a + 1);
|
|
4419
|
-
f === 61 ? X(
|
|
4417
|
+
f === 61 ? X(we, 2) : X(No, 1);
|
|
4420
4418
|
}
|
|
4421
4419
|
function Xo(f) {
|
|
4422
4420
|
var h = t.charCodeAt(a + 1);
|
|
@@ -4425,13 +4423,13 @@ function gf() {
|
|
|
4425
4423
|
a += 3, qt(), Ze(), Be();
|
|
4426
4424
|
return;
|
|
4427
4425
|
}
|
|
4428
|
-
X(
|
|
4429
|
-
} else h === 61 ? X(
|
|
4426
|
+
X(wo, 2);
|
|
4427
|
+
} else h === 61 ? X(we, 2) : X(Io, 1);
|
|
4430
4428
|
}
|
|
4431
4429
|
function Ho(f) {
|
|
4432
4430
|
var h = t.charCodeAt(a + 1), _ = 1;
|
|
4433
4431
|
if (h === f) {
|
|
4434
|
-
_ = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + _) === 61 ? X(
|
|
4432
|
+
_ = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + _) === 61 ? X(we, _ + 1) : X(Ao, _);
|
|
4435
4433
|
return;
|
|
4436
4434
|
}
|
|
4437
4435
|
if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
@@ -4486,7 +4484,7 @@ function gf() {
|
|
|
4486
4484
|
case 55:
|
|
4487
4485
|
case 56:
|
|
4488
4486
|
case 57:
|
|
4489
|
-
return
|
|
4487
|
+
return On(!1);
|
|
4490
4488
|
// Quotes produce strings.
|
|
4491
4489
|
case 34:
|
|
4492
4490
|
case 39:
|
|
@@ -4520,37 +4518,37 @@ function gf() {
|
|
|
4520
4518
|
return !1;
|
|
4521
4519
|
}
|
|
4522
4520
|
function Be(f) {
|
|
4523
|
-
if (f ? a = p + 1 : p = a, n.locations && (E = new
|
|
4521
|
+
if (f ? a = p + 1 : p = a, n.locations && (E = new Oe()), f) return wn();
|
|
4524
4522
|
if (a >= e) return Y(Ut);
|
|
4525
4523
|
var h = t.charCodeAt(a);
|
|
4526
4524
|
if (_t(h) || h === 92)
|
|
4527
4525
|
return kn();
|
|
4528
4526
|
var _ = Ko(h);
|
|
4529
4527
|
if (_ === !1) {
|
|
4530
|
-
var
|
|
4531
|
-
if (
|
|
4528
|
+
var w = String.fromCharCode(h);
|
|
4529
|
+
if (w === "\\" || Rn.test(w))
|
|
4532
4530
|
return kn();
|
|
4533
|
-
M(a, "Unexpected character '" +
|
|
4531
|
+
M(a, "Unexpected character '" + w + "'");
|
|
4534
4532
|
}
|
|
4535
4533
|
}
|
|
4536
4534
|
function X(f, h) {
|
|
4537
4535
|
var _ = t.slice(a, a + h);
|
|
4538
4536
|
a += h, Y(f, _);
|
|
4539
4537
|
}
|
|
4540
|
-
function
|
|
4538
|
+
function wn() {
|
|
4541
4539
|
for (var f, h, _ = a; ; ) {
|
|
4542
4540
|
a >= e && M(_, "Unterminated regexp");
|
|
4543
|
-
var
|
|
4544
|
-
if (bt.test(
|
|
4541
|
+
var w = t.charAt(a);
|
|
4542
|
+
if (bt.test(w) && M(_, "Unterminated regexp"), f)
|
|
4545
4543
|
f = !1;
|
|
4546
4544
|
else {
|
|
4547
|
-
if (
|
|
4545
|
+
if (w === "[")
|
|
4548
4546
|
h = !0;
|
|
4549
|
-
else if (
|
|
4547
|
+
else if (w === "]" && h)
|
|
4550
4548
|
h = !1;
|
|
4551
|
-
else if (
|
|
4549
|
+
else if (w === "/" && !h)
|
|
4552
4550
|
break;
|
|
4553
|
-
f =
|
|
4551
|
+
f = w === "\\";
|
|
4554
4552
|
}
|
|
4555
4553
|
++a;
|
|
4556
4554
|
}
|
|
@@ -4566,25 +4564,25 @@ function gf() {
|
|
|
4566
4564
|
Y(Jr, L);
|
|
4567
4565
|
}
|
|
4568
4566
|
function Qe(f, h) {
|
|
4569
|
-
for (var _ = a,
|
|
4567
|
+
for (var _ = a, w = 0, I = h === void 0 ? 1 / 0 : h, C = 0; C < I; ++C) {
|
|
4570
4568
|
var L = t.charCodeAt(a), F;
|
|
4571
4569
|
if (L >= 97 ? F = L - 97 + 10 : L >= 65 ? F = L - 65 + 10 : L >= 48 && L <= 57 ? F = L - 48 : F = 1 / 0, F >= f) break;
|
|
4572
|
-
++a,
|
|
4570
|
+
++a, w = w * f + F;
|
|
4573
4571
|
}
|
|
4574
|
-
return a === _ || h !== void 0 && a - _ !== h ? null :
|
|
4572
|
+
return a === _ || h !== void 0 && a - _ !== h ? null : w;
|
|
4575
4573
|
}
|
|
4576
4574
|
function qo() {
|
|
4577
4575
|
a += 2;
|
|
4578
4576
|
var f = Qe(16);
|
|
4579
4577
|
f === null && M(p + 2, "Expected hexadecimal number"), _t(t.charCodeAt(a)) && M(a, "Identifier directly after number"), Y(ht, f);
|
|
4580
4578
|
}
|
|
4581
|
-
function
|
|
4582
|
-
var h = a, _ = !1,
|
|
4579
|
+
function On(f) {
|
|
4580
|
+
var h = a, _ = !1, w = t.charCodeAt(a) === 48;
|
|
4583
4581
|
!f && Qe(10) === null && M(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Qe(10), _ = !0);
|
|
4584
4582
|
var I = t.charCodeAt(a);
|
|
4585
4583
|
(I === 69 || I === 101) && (I = t.charCodeAt(++a), (I === 43 || I === 45) && ++a, Qe(10) === null && M(h, "Invalid number"), _ = !0), _t(t.charCodeAt(a)) && M(a, "Identifier directly after number");
|
|
4586
4584
|
var C = t.slice(h, a), L;
|
|
4587
|
-
_ ? L = parseFloat(C) : !
|
|
4585
|
+
_ ? L = parseFloat(C) : !w || C.length === 1 ? L = parseInt(C, 10) : /[89]/.test(C) || ne ? M(h, "Invalid number") : L = parseInt(C, 8), Y(ht, L);
|
|
4588
4586
|
}
|
|
4589
4587
|
function Zo(f) {
|
|
4590
4588
|
a++;
|
|
@@ -4597,11 +4595,11 @@ function gf() {
|
|
|
4597
4595
|
}
|
|
4598
4596
|
if (_ === 92) {
|
|
4599
4597
|
_ = t.charCodeAt(++a);
|
|
4600
|
-
var
|
|
4601
|
-
for (
|
|
4602
|
-
|
|
4603
|
-
if (
|
|
4604
|
-
ne && M(a - 2, "Octal literal in strict mode"), h += String.fromCharCode(parseInt(
|
|
4598
|
+
var w = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
4599
|
+
for (w && (w = w[0]); w && parseInt(w, 8) > 255; )
|
|
4600
|
+
w = w.slice(0, -1);
|
|
4601
|
+
if (w === "0" && (w = null), ++a, w)
|
|
4602
|
+
ne && M(a - 2, "Octal literal in strict mode"), h += String.fromCharCode(parseInt(w, 8)), a += w.length - 1;
|
|
4605
4603
|
else
|
|
4606
4604
|
switch (_) {
|
|
4607
4605
|
case 110:
|
|
@@ -4667,10 +4665,10 @@ function gf() {
|
|
|
4667
4665
|
function Nn() {
|
|
4668
4666
|
Fe = !1;
|
|
4669
4667
|
for (var f, h = !0, _ = a; ; ) {
|
|
4670
|
-
var
|
|
4671
|
-
if (Tn(
|
|
4668
|
+
var w = t.charCodeAt(a);
|
|
4669
|
+
if (Tn(w))
|
|
4672
4670
|
Fe && (f += t.charAt(a)), ++a;
|
|
4673
|
-
else if (
|
|
4671
|
+
else if (w === 92) {
|
|
4674
4672
|
Fe || (f = t.slice(_, a)), Fe = !0, t.charCodeAt(++a) !== 117 && M(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4675
4673
|
var I = Et(4), C = String.fromCharCode(I);
|
|
4676
4674
|
C || M(a - 1, "Invalid Unicode escape"), (h ? _t(I) : Tn(I)) || M(a - 4, "Invalid Unicode escape"), f += C;
|
|
@@ -4733,17 +4731,17 @@ function gf() {
|
|
|
4733
4731
|
f.type !== "Identifier" && f.type !== "MemberExpression" && M(f.start, "Assigning to rvalue"), ne && f.type === "Identifier" && vt(f.name) && M(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4734
4732
|
}
|
|
4735
4733
|
function Qo(f) {
|
|
4736
|
-
re = ue = a, n.locations && (Ve = new
|
|
4734
|
+
re = ue = a, n.locations && (Ve = new Oe()), Te = ne = !1, G = [], Be();
|
|
4737
4735
|
var h = f || H(), _ = !0;
|
|
4738
4736
|
for (f || (h.body = []); g !== Ut; ) {
|
|
4739
|
-
var
|
|
4740
|
-
h.body.push(
|
|
4737
|
+
var w = le();
|
|
4738
|
+
h.body.push(w), _ && Qt(w) && Zt(!0), _ = !1;
|
|
4741
4739
|
}
|
|
4742
4740
|
return A(h, "Program");
|
|
4743
4741
|
}
|
|
4744
4742
|
var er = { kind: "loop" }, ea = { kind: "switch" };
|
|
4745
4743
|
function le() {
|
|
4746
|
-
(g === vn || g ===
|
|
4744
|
+
(g === vn || g === we && O === "/=") && Be(!0);
|
|
4747
4745
|
var f = g, h = H();
|
|
4748
4746
|
switch (f) {
|
|
4749
4747
|
case Gt:
|
|
@@ -4751,12 +4749,12 @@ function gf() {
|
|
|
4751
4749
|
V();
|
|
4752
4750
|
var _ = f === Gt;
|
|
4753
4751
|
U(he) || xt() ? h.label = null : g !== $e ? me() : (h.label = xe(), Ne());
|
|
4754
|
-
for (var
|
|
4755
|
-
var I = G[
|
|
4752
|
+
for (var w = 0; w < G.length; ++w) {
|
|
4753
|
+
var I = G[w];
|
|
4756
4754
|
if ((h.label === null || I.name === h.label.name) && (I.kind !== null && (_ || I.kind === "loop") || h.label && _))
|
|
4757
4755
|
break;
|
|
4758
4756
|
}
|
|
4759
|
-
return
|
|
4757
|
+
return w === G.length && M(h.start, "Unsyntactic " + f.keyword), A(h, _ ? "BreakStatement" : "ContinueStatement");
|
|
4760
4758
|
case Zr:
|
|
4761
4759
|
return V(), Ne(), A(h, "DebuggerStatement");
|
|
4762
4760
|
case en:
|
|
@@ -4815,10 +4813,10 @@ function gf() {
|
|
|
4815
4813
|
// next token is a colon and the expression was a simple
|
|
4816
4814
|
// Identifier node, we switch to interpreting it as a label.
|
|
4817
4815
|
default:
|
|
4818
|
-
var ur =
|
|
4816
|
+
var ur = O, Rt = K();
|
|
4819
4817
|
if (f === $e && Rt.type === "Identifier" && U(qe)) {
|
|
4820
|
-
for (var
|
|
4821
|
-
G[
|
|
4818
|
+
for (var w = 0; w < G.length; ++w)
|
|
4819
|
+
G[w].name === ur && M(Rt.start, "Label '" + ur + "' is already declared");
|
|
4822
4820
|
var aa = g.isLoop ? "loop" : g === Yt ? "switch" : null;
|
|
4823
4821
|
return G.push({ name: ur, kind: aa }), h.body = le(), G.pop(), h.label = Rt, A(h, "LabeledStatement");
|
|
4824
4822
|
} else
|
|
@@ -4831,12 +4829,12 @@ function gf() {
|
|
|
4831
4829
|
return W(ce), f;
|
|
4832
4830
|
}
|
|
4833
4831
|
function tt(f) {
|
|
4834
|
-
var h = H(), _ = !0,
|
|
4832
|
+
var h = H(), _ = !0, w = !1, I;
|
|
4835
4833
|
for (h.body = [], W(Ke); !U(je); ) {
|
|
4836
4834
|
var C = le();
|
|
4837
|
-
h.body.push(C), _ && f && Qt(C) && (I =
|
|
4835
|
+
h.body.push(C), _ && f && Qt(C) && (I = w, Zt(w = !0)), _ = !1;
|
|
4838
4836
|
}
|
|
4839
|
-
return
|
|
4837
|
+
return w && !I && Zt(!1), A(h, "BlockStatement");
|
|
4840
4838
|
}
|
|
4841
4839
|
function tr(f, h) {
|
|
4842
4840
|
return f.init = h, W(he), f.test = g === he ? null : K(), W(he), f.update = g === ce ? null : K(), W(ce), f.body = le(), G.pop(), A(f, "ForStatement");
|
|
@@ -4853,9 +4851,9 @@ function gf() {
|
|
|
4853
4851
|
function K(f, h) {
|
|
4854
4852
|
var _ = rr(h);
|
|
4855
4853
|
if (!f && g === _e) {
|
|
4856
|
-
var
|
|
4857
|
-
for (
|
|
4858
|
-
return A(
|
|
4854
|
+
var w = Ee(_);
|
|
4855
|
+
for (w.expressions = [_]; U(_e); ) w.expressions.push(rr(h));
|
|
4856
|
+
return A(w, "SequenceExpression");
|
|
4859
4857
|
}
|
|
4860
4858
|
return _;
|
|
4861
4859
|
}
|
|
@@ -4863,7 +4861,7 @@ function gf() {
|
|
|
4863
4861
|
var h = ta(f);
|
|
4864
4862
|
if (g.isAssign) {
|
|
4865
4863
|
var _ = Ee(h);
|
|
4866
|
-
return _.operator =
|
|
4864
|
+
return _.operator = O, _.left = h, V(), _.right = rr(f), St(h), A(_, "AssignmentExpression");
|
|
4867
4865
|
}
|
|
4868
4866
|
return h;
|
|
4869
4867
|
}
|
|
@@ -4879,12 +4877,12 @@ function gf() {
|
|
|
4879
4877
|
return nr(ir(), -1, f);
|
|
4880
4878
|
}
|
|
4881
4879
|
function nr(f, h, _) {
|
|
4882
|
-
var
|
|
4883
|
-
if (
|
|
4880
|
+
var w = g.binop;
|
|
4881
|
+
if (w !== null && (!_ || g !== mt) && w > h) {
|
|
4884
4882
|
var I = Ee(f);
|
|
4885
|
-
I.left = f, I.operator =
|
|
4883
|
+
I.left = f, I.operator = O;
|
|
4886
4884
|
var C = g;
|
|
4887
|
-
V(), I.right = nr(ir(),
|
|
4885
|
+
V(), I.right = nr(ir(), w, _);
|
|
4888
4886
|
var L = A(I, C === _n || C === En ? "LogicalExpression" : "BinaryExpression");
|
|
4889
4887
|
return nr(L, h, _);
|
|
4890
4888
|
}
|
|
@@ -4893,11 +4891,11 @@ function gf() {
|
|
|
4893
4891
|
function ir() {
|
|
4894
4892
|
if (g.prefix) {
|
|
4895
4893
|
var f = H(), h = g.isUpdate;
|
|
4896
|
-
return f.operator =
|
|
4894
|
+
return f.operator = O, f.prefix = !0, N = !0, V(), f.argument = ir(), h ? St(f.argument) : ne && f.operator === "delete" && f.argument.type === "Identifier" && M(f.start, "Deleting local variable in strict mode"), A(f, h ? "UpdateExpression" : "UnaryExpression");
|
|
4897
4895
|
}
|
|
4898
4896
|
for (var _ = na(); g.postfix && !xt(); ) {
|
|
4899
4897
|
var f = Ee(_);
|
|
4900
|
-
f.operator =
|
|
4898
|
+
f.operator = O, f.prefix = !1, f.argument = _, St(_), V(), _ = A(f, "UpdateExpression");
|
|
4901
4899
|
}
|
|
4902
4900
|
return _;
|
|
4903
4901
|
}
|
|
@@ -4918,7 +4916,7 @@ function gf() {
|
|
|
4918
4916
|
case ht:
|
|
4919
4917
|
case Ft:
|
|
4920
4918
|
case Jr:
|
|
4921
|
-
return f = H(), f.value =
|
|
4919
|
+
return f = H(), f.value = O, f.raw = t.slice(p, m), V(), A(f, "Literal");
|
|
4922
4920
|
case pn:
|
|
4923
4921
|
case dn:
|
|
4924
4922
|
case hn:
|
|
@@ -4926,8 +4924,8 @@ function gf() {
|
|
|
4926
4924
|
case de:
|
|
4927
4925
|
var h = E, _ = p;
|
|
4928
4926
|
V();
|
|
4929
|
-
var
|
|
4930
|
-
return
|
|
4927
|
+
var w = K();
|
|
4928
|
+
return w.start = _, w.end = m, n.locations && (w.loc.start = h, w.loc.end = T), n.ranges && (w.range = [_, m]), W(ce), w;
|
|
4931
4929
|
case Jt:
|
|
4932
4930
|
return f = H(), V(), f.elements = sr(Kt, !0, !0), A(f, "ArrayExpression");
|
|
4933
4931
|
case Ke:
|
|
@@ -4950,16 +4948,16 @@ function gf() {
|
|
|
4950
4948
|
h = !1;
|
|
4951
4949
|
else if (W(_e), n.allowTrailingCommas && U(je))
|
|
4952
4950
|
break;
|
|
4953
|
-
var
|
|
4954
|
-
if (U(qe) ? (
|
|
4951
|
+
var w = { key: Ln() }, I = !1, C;
|
|
4952
|
+
if (U(qe) ? (w.value = K(!0), C = w.kind = "init") : w.key.type === "Identifier" && (w.key.name === "get" || w.key.name === "set") ? (I = _ = !0, C = w.kind = w.key.name, w.key = Ln(), g !== de && me(), w.value = ar(H(), !1)) : me(), w.key.type === "Identifier" && (ne || _))
|
|
4955
4953
|
for (var L = 0; L < f.properties.length; ++L) {
|
|
4956
4954
|
var F = f.properties[L];
|
|
4957
|
-
if (F.key.name ===
|
|
4955
|
+
if (F.key.name === w.key.name) {
|
|
4958
4956
|
var nt = C === F.kind || I && F.kind === "init" || C === "init" && (F.kind === "get" || F.kind === "set");
|
|
4959
|
-
nt && !ne && C === "init" && F.kind === "init" && (nt = !1), nt && M(
|
|
4957
|
+
nt && !ne && C === "init" && F.kind === "init" && (nt = !1), nt && M(w.key.start, "Redefinition of property");
|
|
4960
4958
|
}
|
|
4961
4959
|
}
|
|
4962
|
-
f.properties.push(
|
|
4960
|
+
f.properties.push(w);
|
|
4963
4961
|
}
|
|
4964
4962
|
return A(f, "ObjectExpression");
|
|
4965
4963
|
}
|
|
@@ -4971,8 +4969,8 @@ function gf() {
|
|
|
4971
4969
|
var _ = !0;
|
|
4972
4970
|
for (W(de); !U(ce); )
|
|
4973
4971
|
_ ? _ = !1 : W(_e), f.params.push(xe());
|
|
4974
|
-
var
|
|
4975
|
-
if (Te = !0, G = [], f.body = tt(!0), Te =
|
|
4972
|
+
var w = Te, I = G;
|
|
4973
|
+
if (Te = !0, G = [], f.body = tt(!0), Te = w, G = I, ne || f.body.body.length && Qt(f.body.body[0]))
|
|
4976
4974
|
for (var C = f.id ? -1 : 0; C < f.params.length; ++C) {
|
|
4977
4975
|
var L = C < 0 ? f.id : f.params[C];
|
|
4978
4976
|
if ((xn(L.name) || vt(L.name)) && M(L.start, "Defining '" + L.name + "' in strict mode"), C >= 0)
|
|
@@ -4982,18 +4980,18 @@ function gf() {
|
|
|
4982
4980
|
return A(f, h ? "FunctionDeclaration" : "FunctionExpression");
|
|
4983
4981
|
}
|
|
4984
4982
|
function sr(f, h, _) {
|
|
4985
|
-
for (var
|
|
4983
|
+
for (var w = [], I = !0; !U(f); ) {
|
|
4986
4984
|
if (I)
|
|
4987
4985
|
I = !1;
|
|
4988
4986
|
else if (W(_e), h && n.allowTrailingCommas && U(f))
|
|
4989
4987
|
break;
|
|
4990
|
-
|
|
4988
|
+
w.push(_ && g === _e ? null : K(!0));
|
|
4991
4989
|
}
|
|
4992
|
-
return
|
|
4990
|
+
return w;
|
|
4993
4991
|
}
|
|
4994
4992
|
function xe(f) {
|
|
4995
4993
|
var h = H();
|
|
4996
|
-
return f && n.forbidReserved === "everywhere" && (f = !1), g === $e ? (!f && (n.forbidReserved && Do(
|
|
4994
|
+
return f && n.forbidReserved === "everywhere" && (f = !1), g === $e ? (!f && (n.forbidReserved && Do(O) || ne && xn(O)) && t.slice(p, m).indexOf("\\") === -1 && M(p, "The keyword '" + O + "' is reserved"), h.name = O) : f && g.keyword ? h.name = g.keyword : me(), N = !1, V(), A(h, "Identifier");
|
|
4997
4995
|
}
|
|
4998
4996
|
});
|
|
4999
4997
|
}
|
|
@@ -5004,17 +5002,17 @@ function gf() {
|
|
|
5004
5002
|
!*** external "vm" ***!
|
|
5005
5003
|
\*********************/
|
|
5006
5004
|
/***/
|
|
5007
|
-
(
|
|
5008
|
-
|
|
5005
|
+
(v) => {
|
|
5006
|
+
v.exports = vf;
|
|
5009
5007
|
}
|
|
5010
5008
|
)
|
|
5011
5009
|
/******/
|
|
5012
5010
|
}, d = {};
|
|
5013
|
-
function v
|
|
5014
|
-
var S = d[
|
|
5011
|
+
function y(v) {
|
|
5012
|
+
var S = d[v];
|
|
5015
5013
|
if (S !== void 0)
|
|
5016
5014
|
return S.exports;
|
|
5017
|
-
var x = d[
|
|
5015
|
+
var x = d[v] = {
|
|
5018
5016
|
/******/
|
|
5019
5017
|
// no module.id needed
|
|
5020
5018
|
/******/
|
|
@@ -5023,37 +5021,37 @@ function gf() {
|
|
|
5023
5021
|
exports: {}
|
|
5024
5022
|
/******/
|
|
5025
5023
|
};
|
|
5026
|
-
return c[
|
|
5024
|
+
return c[v].call(x.exports, x, x.exports, y), x.exports;
|
|
5027
5025
|
}
|
|
5028
|
-
|
|
5026
|
+
y.d = (v, S) => {
|
|
5029
5027
|
for (var x in S)
|
|
5030
|
-
|
|
5031
|
-
},
|
|
5032
|
-
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(
|
|
5028
|
+
y.o(S, x) && !y.o(v, x) && Object.defineProperty(v, x, { enumerable: !0, get: S[x] });
|
|
5029
|
+
}, y.o = (v, S) => Object.prototype.hasOwnProperty.call(v, S), y.r = (v) => {
|
|
5030
|
+
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(v, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(v, "__esModule", { value: !0 });
|
|
5033
5031
|
};
|
|
5034
5032
|
var b = {};
|
|
5035
5033
|
return (() => {
|
|
5036
5034
|
/*!*******************************!*\
|
|
5037
5035
|
!*** ./src/js-interpreter.js ***!
|
|
5038
5036
|
\*******************************/
|
|
5039
|
-
|
|
5037
|
+
y.r(b), y.d(b, {
|
|
5040
5038
|
/* harmony export */
|
|
5041
5039
|
default: () => x
|
|
5042
5040
|
/* harmony export */
|
|
5043
5041
|
});
|
|
5044
|
-
const
|
|
5042
|
+
const v = y(
|
|
5045
5043
|
/*! ../original-repo/acorn */
|
|
5046
5044
|
"./original-repo/acorn.js"
|
|
5047
5045
|
);
|
|
5048
|
-
globalThis.acorn =
|
|
5049
|
-
const { Interpreter: S } =
|
|
5046
|
+
globalThis.acorn = v;
|
|
5047
|
+
const { Interpreter: S } = y(
|
|
5050
5048
|
/*! ../original-repo/interpreter */
|
|
5051
5049
|
"./original-repo/interpreter.js"
|
|
5052
5050
|
), x = S;
|
|
5053
5051
|
})(), b = b.default, b;
|
|
5054
5052
|
})()
|
|
5055
5053
|
));
|
|
5056
|
-
}(
|
|
5054
|
+
}(wt)), wt.exports;
|
|
5057
5055
|
}
|
|
5058
5056
|
var _f = gf();
|
|
5059
5057
|
const Ef = /* @__PURE__ */ df(_f);
|
|
@@ -5067,7 +5065,7 @@ function xf(r, o) {
|
|
|
5067
5065
|
let n = "";
|
|
5068
5066
|
typeof x == "object" ? n = JSON.stringify(x) : n = String(x), jr.emit("consoleAppend", n);
|
|
5069
5067
|
}
|
|
5070
|
-
function
|
|
5068
|
+
function y(S, x) {
|
|
5071
5069
|
const n = r.pseudoToNative(S), t = r.pseudoToNative(x);
|
|
5072
5070
|
n === "info" ? da(t) : n === "success" ? ha(t) : n === "warning" ? ma(t) : n === "error" && ya(t);
|
|
5073
5071
|
}
|
|
@@ -5077,7 +5075,7 @@ function xf(r, o) {
|
|
|
5077
5075
|
r.appendCode(`__timeoutCallbackV1__(${n})`), r.run();
|
|
5078
5076
|
}, t);
|
|
5079
5077
|
}
|
|
5080
|
-
function
|
|
5078
|
+
function v(S, x) {
|
|
5081
5079
|
const n = r.pseudoToNative(S);
|
|
5082
5080
|
setTimeout(() => {
|
|
5083
5081
|
x(), r.run();
|
|
@@ -5094,7 +5092,7 @@ function xf(r, o) {
|
|
|
5094
5092
|
), r.setProperty(
|
|
5095
5093
|
o,
|
|
5096
5094
|
"__messageV1__",
|
|
5097
|
-
r.createNativeFunction(
|
|
5095
|
+
r.createNativeFunction(y)
|
|
5098
5096
|
), r.setProperty(
|
|
5099
5097
|
o,
|
|
5100
5098
|
"__timeoutV1__",
|
|
@@ -5102,7 +5100,7 @@ function xf(r, o) {
|
|
|
5102
5100
|
), r.setProperty(
|
|
5103
5101
|
o,
|
|
5104
5102
|
"__delayV1__",
|
|
5105
|
-
r.createAsyncFunction(
|
|
5103
|
+
r.createAsyncFunction(v)
|
|
5106
5104
|
);
|
|
5107
5105
|
}
|
|
5108
5106
|
class Sf {
|
|
@@ -5111,8 +5109,8 @@ class Sf {
|
|
|
5111
5109
|
lr(this, "nodes");
|
|
5112
5110
|
this.context = o, this.nodes = {};
|
|
5113
5111
|
const c = (d) => {
|
|
5114
|
-
var
|
|
5115
|
-
this.nodes[d.basic.id] = d, (
|
|
5112
|
+
var y;
|
|
5113
|
+
this.nodes[d.basic.id] = d, (y = d.children) == null || y.forEach((b) => c(b));
|
|
5116
5114
|
};
|
|
5117
5115
|
this.context.data.view.nodes.forEach((d) => c(d));
|
|
5118
5116
|
}
|
|
@@ -5120,27 +5118,27 @@ class Sf {
|
|
|
5120
5118
|
return this.nodes[o];
|
|
5121
5119
|
}
|
|
5122
5120
|
addNode(o, c, d) {
|
|
5123
|
-
const
|
|
5121
|
+
const y = `parent=${o} ref=${c} keyOrRefid=${d}`;
|
|
5124
5122
|
let b;
|
|
5125
5123
|
if (o) {
|
|
5126
5124
|
const S = this.getNode(o);
|
|
5127
5125
|
if (!S)
|
|
5128
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5126
|
+
return console.error(`NodeMgr/addNode parent not found, ${y}`), "";
|
|
5129
5127
|
if (!S.children)
|
|
5130
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5128
|
+
return console.error(`NodeMgr/addNode parent no children, ${y}`), "";
|
|
5131
5129
|
b = S.children;
|
|
5132
5130
|
} else
|
|
5133
5131
|
b = this.context.data.view.nodes;
|
|
5134
5132
|
if (!b)
|
|
5135
5133
|
return "";
|
|
5136
|
-
const
|
|
5134
|
+
const v = rc(
|
|
5137
5135
|
this.context.type,
|
|
5138
5136
|
this.context.data.type,
|
|
5139
5137
|
this.context.data.version,
|
|
5140
5138
|
c,
|
|
5141
5139
|
d
|
|
5142
5140
|
);
|
|
5143
|
-
return
|
|
5141
|
+
return v ? (b.push(v), this.nodes[v.basic.id] = v, v.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${y}`), "");
|
|
5144
5142
|
}
|
|
5145
5143
|
deleteNode(o) {
|
|
5146
5144
|
this.getNode(o);
|
|
@@ -5148,7 +5146,7 @@ class Sf {
|
|
|
5148
5146
|
}
|
|
5149
5147
|
function Rf(r, o, c) {
|
|
5150
5148
|
const d = new Sf(r);
|
|
5151
|
-
function
|
|
5149
|
+
function y(e, i, u) {
|
|
5152
5150
|
const s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = o.pseudoToNative(u), p = d.addNode(s, l, a);
|
|
5153
5151
|
return o.nativeToPseudo(p);
|
|
5154
5152
|
}
|
|
@@ -5156,7 +5154,7 @@ function Rf(r, o, c) {
|
|
|
5156
5154
|
const i = o.pseudoToNative(e);
|
|
5157
5155
|
d.deleteNode(i);
|
|
5158
5156
|
}
|
|
5159
|
-
function
|
|
5157
|
+
function v(e, i) {
|
|
5160
5158
|
const u = o.pseudoToNative(e), s = o.pseudoToNative(i), l = `id=${u} keys=${s}`;
|
|
5161
5159
|
let a;
|
|
5162
5160
|
if (u === "globality" ? a = r.data.view : a = d.getNode(u), !a) {
|
|
@@ -5184,15 +5182,15 @@ function Rf(r, o, c) {
|
|
|
5184
5182
|
}
|
|
5185
5183
|
const E = l.split("."), T = E.length;
|
|
5186
5184
|
for (let g = 0; g < T; g++) {
|
|
5187
|
-
const
|
|
5185
|
+
const O = E[g];
|
|
5188
5186
|
if (g === T - 1)
|
|
5189
|
-
m[
|
|
5187
|
+
m[O] = a;
|
|
5190
5188
|
else {
|
|
5191
5189
|
if (!m) {
|
|
5192
5190
|
console.error(`setNodePropV1 unpkg failed, ${p}`);
|
|
5193
5191
|
return;
|
|
5194
5192
|
}
|
|
5195
|
-
m = m[
|
|
5193
|
+
m = m[O];
|
|
5196
5194
|
}
|
|
5197
5195
|
}
|
|
5198
5196
|
}
|
|
@@ -5216,7 +5214,7 @@ function Rf(r, o, c) {
|
|
|
5216
5214
|
o.setProperty(
|
|
5217
5215
|
c,
|
|
5218
5216
|
"__addNodeV1__",
|
|
5219
|
-
o.createNativeFunction(
|
|
5217
|
+
o.createNativeFunction(y)
|
|
5220
5218
|
), o.setProperty(
|
|
5221
5219
|
c,
|
|
5222
5220
|
"__deleteNodeV1__",
|
|
@@ -5224,7 +5222,7 @@ function Rf(r, o, c) {
|
|
|
5224
5222
|
), o.setProperty(
|
|
5225
5223
|
c,
|
|
5226
5224
|
"__getNodePropV1__",
|
|
5227
|
-
o.createNativeFunction(
|
|
5225
|
+
o.createNativeFunction(v)
|
|
5228
5226
|
), o.setProperty(
|
|
5229
5227
|
c,
|
|
5230
5228
|
"__setNodePropV1__",
|
|
@@ -5246,7 +5244,7 @@ function Rf(r, o, c) {
|
|
|
5246
5244
|
function Tf(r, o, c) {
|
|
5247
5245
|
xf(o, c), Rf(r, o, c);
|
|
5248
5246
|
}
|
|
5249
|
-
const
|
|
5247
|
+
const wf = `
|
|
5250
5248
|
var __env__ = 'dev'
|
|
5251
5249
|
|
|
5252
5250
|
function __getEnvV1__() {
|
|
@@ -5255,7 +5253,7 @@ function __getEnvV1__() {
|
|
|
5255
5253
|
|
|
5256
5254
|
var __pointerPosX__ = 0
|
|
5257
5255
|
var __pointerPosY__ = 0
|
|
5258
|
-
`,
|
|
5256
|
+
`, Of = `
|
|
5259
5257
|
var __events__ = {}
|
|
5260
5258
|
|
|
5261
5259
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5371,12 +5369,12 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5371
5369
|
`, kf = `
|
|
5372
5370
|
function __destroy__() {
|
|
5373
5371
|
}
|
|
5374
|
-
`, Cf =
|
|
5372
|
+
`, Cf = wf + Of + Nf + kf;
|
|
5375
5373
|
function Eo(r, o) {
|
|
5376
5374
|
const c = new Ef(
|
|
5377
5375
|
Cf,
|
|
5378
|
-
(d,
|
|
5379
|
-
Tf(r, d,
|
|
5376
|
+
(d, y) => {
|
|
5377
|
+
Tf(r, d, y);
|
|
5380
5378
|
}
|
|
5381
5379
|
);
|
|
5382
5380
|
return c.appendCode(o), c.appendCode(`
|
|
@@ -5387,25 +5385,25 @@ __triggerEvent__('globality', 'startup');
|
|
|
5387
5385
|
function xo(r) {
|
|
5388
5386
|
r.appendCode("__destroy__();"), r.run();
|
|
5389
5387
|
}
|
|
5390
|
-
function
|
|
5388
|
+
function Ed(r, o, c, d, y) {
|
|
5391
5389
|
let b = r;
|
|
5392
5390
|
for (let S = 0; S < o.length; S++)
|
|
5393
5391
|
if (b = b.children[o[S]], !b) {
|
|
5394
5392
|
console.assert(!1, `unpkg context failed parentKeys=${o}`);
|
|
5395
5393
|
return;
|
|
5396
5394
|
}
|
|
5397
|
-
let
|
|
5398
|
-
|
|
5395
|
+
let v = b.children[c];
|
|
5396
|
+
v ? v.dataSeq !== d && (v = {
|
|
5399
5397
|
dataSeq: d,
|
|
5400
|
-
data: Z(
|
|
5398
|
+
data: Z(y),
|
|
5401
5399
|
children: {}
|
|
5402
|
-
}) : (
|
|
5400
|
+
}) : (v = {
|
|
5403
5401
|
dataSeq: d,
|
|
5404
|
-
data: Z(
|
|
5402
|
+
data: Z(y),
|
|
5405
5403
|
children: {}
|
|
5406
|
-
}, b.children[c] =
|
|
5404
|
+
}, b.children[c] = v);
|
|
5407
5405
|
}
|
|
5408
|
-
const
|
|
5406
|
+
const xd = [
|
|
5409
5407
|
"string",
|
|
5410
5408
|
"number",
|
|
5411
5409
|
"boolean",
|
|
@@ -5421,10 +5419,10 @@ function Pf(r) {
|
|
|
5421
5419
|
d && (c ? d.splice(d.indexOf(c) >>> 0, 1) : r.set(o, []));
|
|
5422
5420
|
}, emit: function(o, c) {
|
|
5423
5421
|
var d = r.get(o);
|
|
5424
|
-
d && d.slice().map(function(
|
|
5425
|
-
|
|
5426
|
-
}), (d = r.get("*")) && d.slice().map(function(
|
|
5427
|
-
|
|
5422
|
+
d && d.slice().map(function(y) {
|
|
5423
|
+
y(c);
|
|
5424
|
+
}), (d = r.get("*")) && d.slice().map(function(y) {
|
|
5425
|
+
y(o, c);
|
|
5428
5426
|
});
|
|
5429
5427
|
} };
|
|
5430
5428
|
}
|
|
@@ -5440,12 +5438,12 @@ const Af = /* @__PURE__ */ q({
|
|
|
5440
5438
|
outer: { type: Boolean }
|
|
5441
5439
|
},
|
|
5442
5440
|
setup(r) {
|
|
5443
|
-
const { t: o } = Di(), c = r, d = vo(),
|
|
5441
|
+
const { t: o } = Di(), c = r, d = vo(), y = te(), b = Le(), v = De(), S = Me(), x = bo(), n = Ge(-1), t = Ge(), e = {};
|
|
5444
5442
|
go(e);
|
|
5445
5443
|
const i = () => {
|
|
5446
5444
|
e.eventBus && (e.eventBus = void 0), e.interpreter && (xo(e.interpreter), e.interpreter = void 0);
|
|
5447
5445
|
};
|
|
5448
|
-
|
|
5446
|
+
Oi(() => {
|
|
5449
5447
|
if (!c.refContext.refid) {
|
|
5450
5448
|
n.value = -1, t.value = void 0, i();
|
|
5451
5449
|
return;
|
|
@@ -5455,27 +5453,27 @@ const Af = /* @__PURE__ */ q({
|
|
|
5455
5453
|
n.value = -1, t.value = null, i(), jr.emit("compNotAvail", c.refContext.refid);
|
|
5456
5454
|
return;
|
|
5457
5455
|
}
|
|
5458
|
-
if (n.value === T.dataSeq || (n.value = T.dataSeq, t.value = Z(T.data),
|
|
5456
|
+
if (n.value === T.dataSeq || (n.value = T.dataSeq, t.value = Z(T.data), y !== "runtime"))
|
|
5459
5457
|
return;
|
|
5460
5458
|
i();
|
|
5461
|
-
const g = t.value,
|
|
5462
|
-
if (
|
|
5459
|
+
const g = t.value, O = g.code.script;
|
|
5460
|
+
if (O) {
|
|
5463
5461
|
const N = So();
|
|
5464
5462
|
e.eventBus = N, e.interpreter = Eo(
|
|
5465
|
-
{ env: d, type:
|
|
5466
|
-
|
|
5463
|
+
{ env: d, type: v, data: g, eventBus: N },
|
|
5464
|
+
O
|
|
5467
5465
|
);
|
|
5468
5466
|
}
|
|
5469
5467
|
}), lt(() => {
|
|
5470
5468
|
i();
|
|
5471
5469
|
});
|
|
5472
|
-
const { applySize: u } = Je(
|
|
5470
|
+
const { applySize: u } = Je(y, b, c), s = R(() => {
|
|
5473
5471
|
const T = {}, g = S.value.type;
|
|
5474
|
-
return
|
|
5472
|
+
return v === "page" ? g === "common" ? u(T) : console.assert(!1) : v === "comp" && g === "common" ? u(T) : console.assert(!1), T;
|
|
5475
5473
|
});
|
|
5476
5474
|
function l(T) {
|
|
5477
|
-
const g = Hr[S.value.version].refKey,
|
|
5478
|
-
return
|
|
5475
|
+
const g = Hr[S.value.version].refKey, O = Pe[g];
|
|
5476
|
+
return O ? J(O.comp, {
|
|
5479
5477
|
refContext: {
|
|
5480
5478
|
parent: c.refContext,
|
|
5481
5479
|
refid: T.ref.id
|
|
@@ -5488,11 +5486,11 @@ const Af = /* @__PURE__ */ q({
|
|
|
5488
5486
|
const g = Pe[T.basic.key];
|
|
5489
5487
|
if (!g)
|
|
5490
5488
|
return console.assert(!1, `element not found key=${T.basic.key}`), J("div", `element not found key=${T.basic.key}`);
|
|
5491
|
-
const
|
|
5489
|
+
const O = [];
|
|
5492
5490
|
return g.slots.some((P) => P.key === "default") && ((N = T.children) == null || N.forEach((P) => {
|
|
5493
5491
|
const k = p(P);
|
|
5494
|
-
|
|
5495
|
-
})), J(g.comp, { node: T }, { default: () =>
|
|
5492
|
+
O.push(k);
|
|
5493
|
+
})), J(g.comp, { node: T }, { default: () => O });
|
|
5496
5494
|
}
|
|
5497
5495
|
function p(T) {
|
|
5498
5496
|
return T.ref ? l(T) : a(T);
|
|
@@ -5514,8 +5512,8 @@ const Af = /* @__PURE__ */ q({
|
|
|
5514
5512
|
const T = t.value.type;
|
|
5515
5513
|
if (T === "common") {
|
|
5516
5514
|
const g = [];
|
|
5517
|
-
return t.value.view.nodes.forEach((
|
|
5518
|
-
g.push(p(
|
|
5515
|
+
return t.value.view.nodes.forEach((O) => {
|
|
5516
|
+
g.push(p(O));
|
|
5519
5517
|
}), J("div", { id: c.id, style: s.value }, g);
|
|
5520
5518
|
} else
|
|
5521
5519
|
return console.assert(!1, `invalid subtype=${T}`), J("div", { id: c.id }, `invalid subtype=${T}`);
|
|
@@ -5529,12 +5527,12 @@ const Af = /* @__PURE__ */ q({
|
|
|
5529
5527
|
state: {}
|
|
5530
5528
|
},
|
|
5531
5529
|
setup(r) {
|
|
5532
|
-
const { t: o } = Di(), c = r, d = vo(),
|
|
5530
|
+
const { t: o } = Di(), c = r, d = vo(), y = te(), b = De(), v = Me(), S = bo(), x = Ge(-1), n = Ge(), t = {};
|
|
5533
5531
|
go(t);
|
|
5534
5532
|
const e = () => {
|
|
5535
5533
|
t.eventBus && (t.eventBus = void 0), t.interpreter && (xo(t.interpreter), t.interpreter = void 0);
|
|
5536
5534
|
};
|
|
5537
|
-
|
|
5535
|
+
Oi(() => {
|
|
5538
5536
|
if (!c.refContext.refid) {
|
|
5539
5537
|
x.value = -1, n.value = void 0, e();
|
|
5540
5538
|
return;
|
|
@@ -5544,7 +5542,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
5544
5542
|
x.value = -1, n.value = null, e(), jr.emit("compNotAvail", c.refContext.refid);
|
|
5545
5543
|
return;
|
|
5546
5544
|
}
|
|
5547
|
-
if (x.value === m.dataSeq || (x.value = m.dataSeq, n.value = Z(m.data),
|
|
5545
|
+
if (x.value === m.dataSeq || (x.value = m.dataSeq, n.value = Z(m.data), y !== "runtime"))
|
|
5548
5546
|
return;
|
|
5549
5547
|
e();
|
|
5550
5548
|
const E = n.value, T = E.code.script;
|
|
@@ -5569,7 +5567,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
5569
5567
|
{ deep: !0, immediate: !0 }
|
|
5570
5568
|
);
|
|
5571
5569
|
function u(m) {
|
|
5572
|
-
const E = Hr[
|
|
5570
|
+
const E = Hr[v.value.version].refKey, T = Pe[E];
|
|
5573
5571
|
return T ? J(T.comp, {
|
|
5574
5572
|
refContext: {
|
|
5575
5573
|
parent: c.refContext,
|
|
@@ -5584,8 +5582,8 @@ const Af = /* @__PURE__ */ q({
|
|
|
5584
5582
|
if (!E)
|
|
5585
5583
|
return console.assert(!1, `element not found key=${m.basic.key}`), J("div", `element not found key=${m.basic.key}`);
|
|
5586
5584
|
const T = [];
|
|
5587
|
-
return E.slots.some((
|
|
5588
|
-
T.push(l(
|
|
5585
|
+
return E.slots.some((O) => O.key === "default") && ((g = m.children) == null || g.forEach((O) => {
|
|
5586
|
+
T.push(l(O));
|
|
5589
5587
|
})), J(E.comp, { node: m }, { default: () => T });
|
|
5590
5588
|
}
|
|
5591
5589
|
function l(m) {
|
|
@@ -5624,10 +5622,10 @@ const Af = /* @__PURE__ */ q({
|
|
|
5624
5622
|
},
|
|
5625
5623
|
setup(r) {
|
|
5626
5624
|
var u;
|
|
5627
|
-
const o = r, c = te(), d = pe(),
|
|
5625
|
+
const o = r, c = te(), d = pe(), y = Wr(), b = R(() => {
|
|
5628
5626
|
var s;
|
|
5629
5627
|
return (s = o.node.settings) == null ? void 0 : s.text;
|
|
5630
|
-
}),
|
|
5628
|
+
}), v = R(() => {
|
|
5631
5629
|
var s;
|
|
5632
5630
|
return (s = o.node.settings) == null ? void 0 : s.disabled;
|
|
5633
5631
|
}), S = R(() => {
|
|
@@ -5642,7 +5640,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
5642
5640
|
}), t = R(() => d.value ? "dark" : "light"), { color: e } = $t(d, (u = o.node.settings) == null ? void 0 : u.color), i = (s) => {
|
|
5643
5641
|
if (c !== "runtime")
|
|
5644
5642
|
return;
|
|
5645
|
-
const l =
|
|
5643
|
+
const l = y.interpreter;
|
|
5646
5644
|
if (!l)
|
|
5647
5645
|
return;
|
|
5648
5646
|
const a = l.nativeToPseudo(s.clientX), p = l.nativeToPseudo(s.clientY), m = l.nativeToPseudo(o.node.basic.id);
|
|
@@ -5652,7 +5650,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
5652
5650
|
const a = se("v-btn");
|
|
5653
5651
|
return j(), ee(a, {
|
|
5654
5652
|
text: b.value,
|
|
5655
|
-
disabled:
|
|
5653
|
+
disabled: v.value,
|
|
5656
5654
|
variant: S.value,
|
|
5657
5655
|
density: x.value,
|
|
5658
5656
|
color: be(e),
|
|
@@ -5664,8 +5662,8 @@ const Af = /* @__PURE__ */ q({
|
|
|
5664
5662
|
}
|
|
5665
5663
|
}), Bt = (r, o) => {
|
|
5666
5664
|
const c = r.__vccOpts || r;
|
|
5667
|
-
for (const [d,
|
|
5668
|
-
c[d] =
|
|
5665
|
+
for (const [d, y] of o)
|
|
5666
|
+
c[d] = y;
|
|
5669
5667
|
return c;
|
|
5670
5668
|
}, Lf = {};
|
|
5671
5669
|
function Df(r, o) {
|
|
@@ -5689,13 +5687,13 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5689
5687
|
outer: { type: Boolean }
|
|
5690
5688
|
},
|
|
5691
5689
|
setup(r) {
|
|
5692
|
-
const o = r, c = te(), d = pe(),
|
|
5690
|
+
const o = r, c = te(), d = pe(), y = R(() => {
|
|
5693
5691
|
var e;
|
|
5694
5692
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
5695
5693
|
}), b = R(() => {
|
|
5696
5694
|
var e;
|
|
5697
5695
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
5698
|
-
}),
|
|
5696
|
+
}), v = R(() => {
|
|
5699
5697
|
var e;
|
|
5700
5698
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
5701
5699
|
}), S = R(() => {
|
|
@@ -5712,9 +5710,9 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5712
5710
|
const u = se("v-combobox");
|
|
5713
5711
|
return be(c) === "editor" ? (j(), ae("div", Bf, [
|
|
5714
5712
|
ie(u, {
|
|
5715
|
-
"model-value":
|
|
5713
|
+
"model-value": y.value,
|
|
5716
5714
|
label: b.value,
|
|
5717
|
-
placeholder:
|
|
5715
|
+
placeholder: v.value,
|
|
5718
5716
|
"hide-details": S.value,
|
|
5719
5717
|
"single-line": x.value,
|
|
5720
5718
|
readonly: n.value,
|
|
@@ -5722,9 +5720,9 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5722
5720
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5723
5721
|
])) : (j(), ee(u, {
|
|
5724
5722
|
key: 1,
|
|
5725
|
-
"model-value":
|
|
5723
|
+
"model-value": y.value,
|
|
5726
5724
|
label: b.value,
|
|
5727
|
-
placeholder:
|
|
5725
|
+
placeholder: v.value,
|
|
5728
5726
|
"hide-details": S.value,
|
|
5729
5727
|
"single-line": x.value,
|
|
5730
5728
|
readonly: n.value,
|
|
@@ -5740,11 +5738,11 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5740
5738
|
},
|
|
5741
5739
|
setup(r) {
|
|
5742
5740
|
var u;
|
|
5743
|
-
const o = r, c = te(), d = Le(),
|
|
5744
|
-
|
|
5741
|
+
const o = r, c = te(), d = Le(), y = pe(), b = De(), v = Me(), { applySize: S } = Je(c, d, o), { applyMargin: x } = no(o), { applyPadding: n } = io(o), { applyBorder: t } = ro(y, o), { color: e } = $t(
|
|
5742
|
+
y,
|
|
5745
5743
|
(u = o.node.settings) == null ? void 0 : u.backgroundColor
|
|
5746
5744
|
), i = R(() => {
|
|
5747
|
-
const s = {}, l =
|
|
5745
|
+
const s = {}, l = v.value.type;
|
|
5748
5746
|
return b === "page" ? l === "common" ? (S(s), x(s), n(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1) : b === "comp" && l === "common" ? (S(s), x(s), n(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1), s;
|
|
5749
5747
|
});
|
|
5750
5748
|
return (s, l) => (j(), ae("div", {
|
|
@@ -5763,13 +5761,13 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5763
5761
|
const o = r, c = pe(), d = R(() => {
|
|
5764
5762
|
var l;
|
|
5765
5763
|
return (l = o.node.size) == null ? void 0 : l.width;
|
|
5766
|
-
}),
|
|
5764
|
+
}), y = R(() => {
|
|
5767
5765
|
var l;
|
|
5768
5766
|
return (l = o.node.size) == null ? void 0 : l.height;
|
|
5769
5767
|
}), b = R(() => {
|
|
5770
5768
|
var l;
|
|
5771
5769
|
return (l = o.node.settings) == null ? void 0 : l.headers;
|
|
5772
|
-
}),
|
|
5770
|
+
}), v = R(() => {
|
|
5773
5771
|
var l;
|
|
5774
5772
|
return (l = o.node.settings) == null ? void 0 : l.items;
|
|
5775
5773
|
}), S = R(() => {
|
|
@@ -5801,9 +5799,9 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5801
5799
|
const p = se("v-data-table");
|
|
5802
5800
|
return j(), ee(p, {
|
|
5803
5801
|
width: d.value,
|
|
5804
|
-
height:
|
|
5802
|
+
height: y.value,
|
|
5805
5803
|
headers: b.value,
|
|
5806
|
-
items:
|
|
5804
|
+
items: v.value,
|
|
5807
5805
|
density: S.value,
|
|
5808
5806
|
hover: x.value,
|
|
5809
5807
|
"fixed-header": n.value,
|
|
@@ -5831,7 +5829,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5831
5829
|
outer: { type: Boolean }
|
|
5832
5830
|
},
|
|
5833
5831
|
setup(r) {
|
|
5834
|
-
const o = r, c = te(), d = Wr(),
|
|
5832
|
+
const o = r, c = te(), d = Wr(), y = R(() => {
|
|
5835
5833
|
var S;
|
|
5836
5834
|
return (S = o.node.basic) == null ? void 0 : S.id;
|
|
5837
5835
|
}), { open: b } = Ai(`runtimeDlg/${Ni()}`);
|
|
@@ -5850,7 +5848,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5850
5848
|
activator: Q(() => [
|
|
5851
5849
|
be(c) === "editor" ? (j(), ae("div", {
|
|
5852
5850
|
key: 0,
|
|
5853
|
-
id: `__node__@${
|
|
5851
|
+
id: `__node__@${y.value}`
|
|
5854
5852
|
}, null, 8, Wf)) : Ci("", !0)
|
|
5855
5853
|
]),
|
|
5856
5854
|
default: Q(() => [
|
|
@@ -5868,22 +5866,22 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5868
5866
|
},
|
|
5869
5867
|
setup(r) {
|
|
5870
5868
|
var s;
|
|
5871
|
-
const o = r, c = te(), d = Le(),
|
|
5872
|
-
|
|
5869
|
+
const o = r, c = te(), d = Le(), y = pe(), b = De(), v = Me(), { applySize: S } = Je(c, d, o), { applyMargin: x } = no(o), { applyPadding: n } = io(o), { applyBorder: t } = ro(y, o), { color: e } = $t(
|
|
5870
|
+
y,
|
|
5873
5871
|
(s = o.node.settings) == null ? void 0 : s.backgroundColor
|
|
5874
5872
|
), i = (l) => {
|
|
5875
|
-
var g,
|
|
5873
|
+
var g, O, N, P;
|
|
5876
5874
|
e.value && (l.backgroundColor = e.value), l.display = "flex";
|
|
5877
5875
|
const a = so(d.value.width), p = ot(a, (g = o.node.settings) == null ? void 0 : g.direction);
|
|
5878
5876
|
p === "row" ? l.flexDirection = "row" : p === "rowReverse" ? l.flexDirection = "row-reverse" : p === "column" ? l.flexDirection = "column" : p === "columnReverse" && (l.flexDirection = "column-reverse");
|
|
5879
|
-
const m = ot(a, (
|
|
5877
|
+
const m = ot(a, (O = o.node.settings) == null ? void 0 : O.wrap);
|
|
5880
5878
|
m === "no" ? l.flexWrap = "nowrap" : m === "yes" ? l.flexWrap = "wrap" : m === "reverse" && (l.flexWrap = "wrap-reverse");
|
|
5881
5879
|
const E = ot(a, (N = o.node.settings) == null ? void 0 : N.mainAlign);
|
|
5882
5880
|
E === "start" ? l.justifyContent = "flex-start" : E === "end" ? l.justifyContent = "flex-end" : E === "center" ? l.justifyContent = "center" : E === "spaceBetween" ? l.justifyContent = "space-between" : E === "spaceAround" ? l.justifyContent = "space-around" : E === "spaceEvenly" && (l.justifyContent = "space-evenly");
|
|
5883
5881
|
const T = ot(a, (P = o.node.settings) == null ? void 0 : P.crossAlign);
|
|
5884
5882
|
T === "start" ? l.alignItems = "flex-start" : T === "end" ? l.alignItems = "flex-end" : T === "center" ? l.alignItems = "center" : T === "baseline" ? l.alignItems = "baseline" : T === "stretch" && (l.alignItems = "stretch");
|
|
5885
5883
|
}, u = R(() => {
|
|
5886
|
-
const l = {}, a =
|
|
5884
|
+
const l = {}, a = v.value.type;
|
|
5887
5885
|
return b === "page" ? a === "common" ? (S(l), x(l), n(l), t(l), i(l)) : console.assert(!1) : b === "comp" && a === "common" ? (S(l), x(l), n(l), t(l), i(l)) : console.assert(!1), l;
|
|
5888
5886
|
});
|
|
5889
5887
|
return (l, a) => (j(), ae("div", {
|
|
@@ -5899,7 +5897,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5899
5897
|
outer: { type: Boolean }
|
|
5900
5898
|
},
|
|
5901
5899
|
setup(r) {
|
|
5902
|
-
const o = r, c = te(), d = Le(),
|
|
5900
|
+
const o = r, c = te(), d = Le(), y = De(), b = Me(), { applySize: v } = Je(c, d, o), S = R(() => {
|
|
5903
5901
|
var t;
|
|
5904
5902
|
return (t = o.node.settings) == null ? void 0 : t.grow;
|
|
5905
5903
|
}), x = R(() => {
|
|
@@ -5907,7 +5905,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5907
5905
|
return (t = o.node.settings) == null ? void 0 : t.shrink;
|
|
5908
5906
|
}), n = R(() => {
|
|
5909
5907
|
const t = {}, e = b.value.type;
|
|
5910
|
-
return
|
|
5908
|
+
return y === "page" ? e === "common" ? (v(t), t.flexGrow = S.value ? 1 : 0, t.flexShrink = x.value ? 1 : 0) : console.assert(!1) : y === "comp" && e === "common" ? (v(t), t.flexGrow = S.value ? 1 : 0, t.flexShrink = x.value ? 1 : 0) : console.assert(!1), t;
|
|
5911
5909
|
});
|
|
5912
5910
|
return (t, e) => (j(), ae("div", {
|
|
5913
5911
|
style: ct(n.value)
|
|
@@ -5922,7 +5920,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5922
5920
|
outer: { type: Boolean }
|
|
5923
5921
|
},
|
|
5924
5922
|
setup(r) {
|
|
5925
|
-
const o = r, c = te(), d = Wr(),
|
|
5923
|
+
const o = r, c = te(), d = Wr(), y = Ge(0), b = Ge(0), v = R(() => [y.value, b.value]), S = R(() => {
|
|
5926
5924
|
var t;
|
|
5927
5925
|
return (t = o.node.basic) == null ? void 0 : t.id;
|
|
5928
5926
|
}), { open: x } = Ai(`runtimeMenu/${Ni()}`);
|
|
@@ -5933,14 +5931,14 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5933
5931
|
if (!e)
|
|
5934
5932
|
return;
|
|
5935
5933
|
const { name: i } = t;
|
|
5936
|
-
i === "open" ? (
|
|
5934
|
+
i === "open" ? (y.value = e.getProperty(e.globalObject, "__pointerPosX__"), b.value = e.getProperty(e.globalObject, "__pointerPosY__"), x.value = !0) : i === "close" && (x.value = !1);
|
|
5937
5935
|
}), (t, e) => {
|
|
5938
5936
|
const i = se("v-menu");
|
|
5939
5937
|
return j(), ee(i, {
|
|
5940
5938
|
modelValue: be(x),
|
|
5941
5939
|
"onUpdate:modelValue": e[0] || (e[0] = (u) => ki(x) ? x.value = u : null),
|
|
5942
5940
|
"location-strategy": "connected",
|
|
5943
|
-
target:
|
|
5941
|
+
target: v.value,
|
|
5944
5942
|
attach: "menuContainer",
|
|
5945
5943
|
scrim: "transparent"
|
|
5946
5944
|
}, {
|
|
@@ -5964,13 +5962,13 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5964
5962
|
outer: { type: Boolean }
|
|
5965
5963
|
},
|
|
5966
5964
|
setup(r) {
|
|
5967
|
-
const o = r, c = te(), d = pe(),
|
|
5965
|
+
const o = r, c = te(), d = pe(), y = R(() => {
|
|
5968
5966
|
var e;
|
|
5969
5967
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
5970
5968
|
}), b = R(() => {
|
|
5971
5969
|
var e;
|
|
5972
5970
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
5973
|
-
}),
|
|
5971
|
+
}), v = R(() => {
|
|
5974
5972
|
var e;
|
|
5975
5973
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
5976
5974
|
}), S = R(() => {
|
|
@@ -5987,9 +5985,9 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5987
5985
|
const u = se("v-number-input");
|
|
5988
5986
|
return be(c) === "editor" ? (j(), ae("div", Kf, [
|
|
5989
5987
|
ie(u, {
|
|
5990
|
-
"model-value":
|
|
5988
|
+
"model-value": y.value,
|
|
5991
5989
|
label: b.value,
|
|
5992
|
-
placeholder:
|
|
5990
|
+
placeholder: v.value,
|
|
5993
5991
|
"hide-details": S.value,
|
|
5994
5992
|
"single-line": x.value,
|
|
5995
5993
|
readonly: n.value,
|
|
@@ -5997,9 +5995,9 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5997
5995
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5998
5996
|
])) : (j(), ee(u, {
|
|
5999
5997
|
key: 1,
|
|
6000
|
-
"model-value":
|
|
5998
|
+
"model-value": y.value,
|
|
6001
5999
|
label: b.value,
|
|
6002
|
-
placeholder:
|
|
6000
|
+
placeholder: v.value,
|
|
6003
6001
|
"hide-details": S.value,
|
|
6004
6002
|
"single-line": x.value,
|
|
6005
6003
|
readonly: n.value,
|
|
@@ -6019,13 +6017,13 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
|
|
|
6019
6017
|
outer: { type: Boolean }
|
|
6020
6018
|
},
|
|
6021
6019
|
setup(r) {
|
|
6022
|
-
const o = r, c = te(), d = pe(),
|
|
6020
|
+
const o = r, c = te(), d = pe(), y = R(() => {
|
|
6023
6021
|
var e;
|
|
6024
6022
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6025
6023
|
}), b = R(() => {
|
|
6026
6024
|
var e;
|
|
6027
6025
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
6028
|
-
}),
|
|
6026
|
+
}), v = R(() => {
|
|
6029
6027
|
var e;
|
|
6030
6028
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
6031
6029
|
}), S = R(() => {
|
|
@@ -6042,9 +6040,9 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
|
|
|
6042
6040
|
const u = se("v-select");
|
|
6043
6041
|
return be(c) === "editor" ? (j(), ae("div", tp, [
|
|
6044
6042
|
ie(u, {
|
|
6045
|
-
"model-value":
|
|
6043
|
+
"model-value": y.value,
|
|
6046
6044
|
label: b.value,
|
|
6047
|
-
placeholder:
|
|
6045
|
+
placeholder: v.value,
|
|
6048
6046
|
"hide-details": S.value,
|
|
6049
6047
|
"single-line": x.value,
|
|
6050
6048
|
readonly: n.value,
|
|
@@ -6052,9 +6050,9 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
|
|
|
6052
6050
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6053
6051
|
])) : (j(), ee(u, {
|
|
6054
6052
|
key: 1,
|
|
6055
|
-
"model-value":
|
|
6053
|
+
"model-value": y.value,
|
|
6056
6054
|
label: b.value,
|
|
6057
|
-
placeholder:
|
|
6055
|
+
placeholder: v.value,
|
|
6058
6056
|
"hide-details": S.value,
|
|
6059
6057
|
"single-line": x.value,
|
|
6060
6058
|
readonly: n.value,
|
|
@@ -6072,13 +6070,13 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
|
|
|
6072
6070
|
const o = r, c = Le(), d = R(() => {
|
|
6073
6071
|
var t;
|
|
6074
6072
|
return (t = o.node.settings) == null ? void 0 : t.text;
|
|
6075
|
-
}),
|
|
6073
|
+
}), y = R(() => {
|
|
6076
6074
|
var t;
|
|
6077
6075
|
return (t = o.node.settings) == null ? void 0 : t.emphasis;
|
|
6078
6076
|
}), b = R(() => {
|
|
6079
6077
|
var t;
|
|
6080
6078
|
return (t = o.node.settings) == null ? void 0 : t.align;
|
|
6081
|
-
}),
|
|
6079
|
+
}), v = R(() => {
|
|
6082
6080
|
var t;
|
|
6083
6081
|
return (t = o.node.settings) == null ? void 0 : t.decoration;
|
|
6084
6082
|
}), S = R(() => {
|
|
@@ -6090,7 +6088,7 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
|
|
|
6090
6088
|
}), n = R(() => {
|
|
6091
6089
|
var u;
|
|
6092
6090
|
const t = [], e = so(c.value.width), i = ot(e, (u = o.node.settings) == null ? void 0 : u.style);
|
|
6093
|
-
return i && t.push(`text-${i}`),
|
|
6091
|
+
return i && t.push(`text-${i}`), y.value === "high" ? t.push("text-high-emphasis") : y.value === "medium" ? t.push("text-medium-emphasis") : y.value === "disabled" && t.push("text-disabled"), b.value && t.push(`font-${b.value}`), v.value && t.push(`font-decoration-${v.value}`), S.value && t.push(`font-weight-${S.value}`), x.value && t.push("font-italic"), t.join(" ");
|
|
6094
6092
|
});
|
|
6095
6093
|
return (t, e) => (j(), ae("span", {
|
|
6096
6094
|
class: fa(n.value)
|
|
@@ -6108,13 +6106,13 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
6108
6106
|
outer: { type: Boolean }
|
|
6109
6107
|
},
|
|
6110
6108
|
setup(r) {
|
|
6111
|
-
const o = r, c = te(), d = pe(),
|
|
6109
|
+
const o = r, c = te(), d = pe(), y = R(() => {
|
|
6112
6110
|
var s;
|
|
6113
6111
|
return (s = o.node.settings) == null ? void 0 : s.label;
|
|
6114
6112
|
}), b = R(() => {
|
|
6115
6113
|
var s;
|
|
6116
6114
|
return (s = o.node.settings) == null ? void 0 : s.placeholder;
|
|
6117
|
-
}),
|
|
6115
|
+
}), v = R(() => {
|
|
6118
6116
|
var s;
|
|
6119
6117
|
return (s = o.node.settings) == null ? void 0 : s.hideDetails;
|
|
6120
6118
|
}), S = R(() => {
|
|
@@ -6140,9 +6138,9 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
6140
6138
|
const a = se("v-text-field");
|
|
6141
6139
|
return be(c) === "editor" ? (j(), ae("div", sp, [
|
|
6142
6140
|
ie(a, {
|
|
6143
|
-
label:
|
|
6141
|
+
label: y.value,
|
|
6144
6142
|
placeholder: b.value,
|
|
6145
|
-
"hide-details":
|
|
6143
|
+
"hide-details": v.value,
|
|
6146
6144
|
"single-line": S.value,
|
|
6147
6145
|
readonly: x.value,
|
|
6148
6146
|
theme: n.value
|
|
@@ -6190,9 +6188,9 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
6190
6188
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6191
6189
|
])) : (j(), ee(a, {
|
|
6192
6190
|
key: 1,
|
|
6193
|
-
label:
|
|
6191
|
+
label: y.value,
|
|
6194
6192
|
placeholder: b.value,
|
|
6195
|
-
"hide-details":
|
|
6193
|
+
"hide-details": v.value,
|
|
6196
6194
|
"single-line": S.value,
|
|
6197
6195
|
readonly: x.value,
|
|
6198
6196
|
theme: n.value
|
|
@@ -6240,7 +6238,7 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
6240
6238
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6241
6239
|
};
|
|
6242
6240
|
}
|
|
6243
|
-
}), br = "bar_chart_v1", gr = "btn_v1", _r = "card_v1", Er = "chip_v1", xr = "combobox_v1", Sr = "container_v1", Rr = "data_table_v1", Tr = "dialog_v1",
|
|
6241
|
+
}), br = "bar_chart_v1", gr = "btn_v1", _r = "card_v1", Er = "chip_v1", xr = "combobox_v1", Sr = "container_v1", Rr = "data_table_v1", Tr = "dialog_v1", wr = "flex_layout_v1", Or = "flex_layout_entry_v1", Nr = "globality_v1", kr = "line_chart_v1", Cr = "menu_v1", Pr = "number_input_v1", Ar = "rating_v1", Ot = "ref_v1", Ir = "select_v1", Lr = "text_v1", Dr = "text_area_v1", Mr = "text_field_v1", D = {
|
|
6244
6242
|
key: "basic",
|
|
6245
6243
|
name: "x-runtime-lib.basic",
|
|
6246
6244
|
children: [
|
|
@@ -6743,7 +6741,7 @@ const li = {
|
|
|
6743
6741
|
}
|
|
6744
6742
|
]
|
|
6745
6743
|
}, hp = {
|
|
6746
|
-
key:
|
|
6744
|
+
key: Ot,
|
|
6747
6745
|
name: "x-runtime-lib.ref",
|
|
6748
6746
|
comp: Af,
|
|
6749
6747
|
slots: [],
|
|
@@ -7283,7 +7281,7 @@ const vi = {
|
|
|
7283
7281
|
}
|
|
7284
7282
|
]
|
|
7285
7283
|
}, Sp = {
|
|
7286
|
-
key:
|
|
7284
|
+
key: wr,
|
|
7287
7285
|
name: "x-runtime-lib.flexLayout",
|
|
7288
7286
|
comp: Yf,
|
|
7289
7287
|
slots: [
|
|
@@ -7322,7 +7320,7 @@ const vi = {
|
|
|
7322
7320
|
}
|
|
7323
7321
|
]
|
|
7324
7322
|
}, Rp = {
|
|
7325
|
-
key:
|
|
7323
|
+
key: Or,
|
|
7326
7324
|
name: "x-runtime-lib.flexLayoutEntry",
|
|
7327
7325
|
comp: Xf,
|
|
7328
7326
|
slots: [
|
|
@@ -7408,7 +7406,7 @@ const vi = {
|
|
|
7408
7406
|
default: !1
|
|
7409
7407
|
}
|
|
7410
7408
|
]
|
|
7411
|
-
},
|
|
7409
|
+
}, wp = {
|
|
7412
7410
|
key: Pr,
|
|
7413
7411
|
name: "x-runtime-lib.numberInput",
|
|
7414
7412
|
comp: qf,
|
|
@@ -7419,7 +7417,7 @@ const vi = {
|
|
|
7419
7417
|
pageCommon: [D, gi],
|
|
7420
7418
|
compCommon: [D, gi]
|
|
7421
7419
|
}
|
|
7422
|
-
},
|
|
7420
|
+
}, Op = {
|
|
7423
7421
|
key: Ar,
|
|
7424
7422
|
name: "x-runtime-lib.rating",
|
|
7425
7423
|
comp: ep,
|
|
@@ -7807,9 +7805,9 @@ const vi = {
|
|
|
7807
7805
|
{
|
|
7808
7806
|
title: "x-runtime-lib.notSet",
|
|
7809
7807
|
value: "",
|
|
7810
|
-
ui: "
|
|
7811
|
-
validator: (r) => r
|
|
7812
|
-
default:
|
|
7808
|
+
ui: "word",
|
|
7809
|
+
validator: (r) => !r,
|
|
7810
|
+
default: ""
|
|
7813
7811
|
},
|
|
7814
7812
|
{
|
|
7815
7813
|
title: "x-runtime-lib.thin",
|
|
@@ -7847,9 +7845,9 @@ const vi = {
|
|
|
7847
7845
|
{
|
|
7848
7846
|
title: "x-runtime-lib.notSet",
|
|
7849
7847
|
value: "",
|
|
7850
|
-
ui: "
|
|
7851
|
-
validator: (r) => r
|
|
7852
|
-
default:
|
|
7848
|
+
ui: "word",
|
|
7849
|
+
validator: (r) => !r,
|
|
7850
|
+
default: ""
|
|
7853
7851
|
},
|
|
7854
7852
|
{
|
|
7855
7853
|
title: "x-runtime-lib.left",
|
|
@@ -7869,9 +7867,9 @@ const vi = {
|
|
|
7869
7867
|
{
|
|
7870
7868
|
title: "x-runtime-lib.notSet",
|
|
7871
7869
|
value: "",
|
|
7872
|
-
ui: "
|
|
7873
|
-
validator: (r) => r
|
|
7874
|
-
default:
|
|
7870
|
+
ui: "word",
|
|
7871
|
+
validator: (r) => !r,
|
|
7872
|
+
default: ""
|
|
7875
7873
|
},
|
|
7876
7874
|
{
|
|
7877
7875
|
title: "x-runtime-lib.auto",
|
|
@@ -7899,9 +7897,9 @@ const vi = {
|
|
|
7899
7897
|
{
|
|
7900
7898
|
title: "x-runtime-lib.notSet",
|
|
7901
7899
|
value: "",
|
|
7902
|
-
ui: "
|
|
7903
|
-
validator: (r) => r
|
|
7904
|
-
default:
|
|
7900
|
+
ui: "word",
|
|
7901
|
+
validator: (r) => !r,
|
|
7902
|
+
default: ""
|
|
7905
7903
|
},
|
|
7906
7904
|
{
|
|
7907
7905
|
title: "x-runtime-lib.pixel",
|
|
@@ -7924,9 +7922,9 @@ const vi = {
|
|
|
7924
7922
|
{
|
|
7925
7923
|
title: "x-runtime-lib.notSet",
|
|
7926
7924
|
value: "",
|
|
7927
|
-
ui: "
|
|
7928
|
-
validator: (r) => r
|
|
7929
|
-
default:
|
|
7925
|
+
ui: "word",
|
|
7926
|
+
validator: (r) => !r,
|
|
7927
|
+
default: ""
|
|
7930
7928
|
},
|
|
7931
7929
|
{
|
|
7932
7930
|
title: "x-runtime-lib.pixel",
|
|
@@ -7949,9 +7947,9 @@ const vi = {
|
|
|
7949
7947
|
{
|
|
7950
7948
|
title: "x-runtime-lib.notSet",
|
|
7951
7949
|
value: "",
|
|
7952
|
-
ui: "
|
|
7953
|
-
validator: (r) => r
|
|
7954
|
-
default:
|
|
7950
|
+
ui: "word",
|
|
7951
|
+
validator: (r) => !r,
|
|
7952
|
+
default: ""
|
|
7955
7953
|
},
|
|
7956
7954
|
{
|
|
7957
7955
|
title: "x-runtime-lib.start",
|
|
@@ -7978,9 +7976,9 @@ const vi = {
|
|
|
7978
7976
|
{
|
|
7979
7977
|
title: "x-runtime-lib.notSet",
|
|
7980
7978
|
value: "",
|
|
7981
|
-
ui: "
|
|
7982
|
-
validator: (r) => r
|
|
7983
|
-
default:
|
|
7979
|
+
ui: "word",
|
|
7980
|
+
validator: (r) => !r,
|
|
7981
|
+
default: ""
|
|
7984
7982
|
},
|
|
7985
7983
|
{
|
|
7986
7984
|
title: "x-runtime-lib.top",
|
|
@@ -8008,7 +8006,7 @@ const vi = {
|
|
|
8008
8006
|
}, Symbol.toStringTag, { value: "Module" })), rd = {
|
|
8009
8007
|
version: "v1",
|
|
8010
8008
|
globalityKey: Nr,
|
|
8011
|
-
refKey:
|
|
8009
|
+
refKey: Ot,
|
|
8012
8010
|
items: { ...Xp },
|
|
8013
8011
|
types: { ...td },
|
|
8014
8012
|
elements: /* @__PURE__ */ new Set([
|
|
@@ -8020,14 +8018,14 @@ const vi = {
|
|
|
8020
8018
|
Sr,
|
|
8021
8019
|
Rr,
|
|
8022
8020
|
Tr,
|
|
8023
|
-
Or,
|
|
8024
8021
|
wr,
|
|
8022
|
+
Or,
|
|
8025
8023
|
Nr,
|
|
8026
8024
|
kr,
|
|
8027
8025
|
Cr,
|
|
8028
8026
|
Pr,
|
|
8029
8027
|
Ar,
|
|
8030
|
-
|
|
8028
|
+
Ot,
|
|
8031
8029
|
Ir,
|
|
8032
8030
|
Lr,
|
|
8033
8031
|
Dr,
|
|
@@ -8042,11 +8040,11 @@ const vi = {
|
|
|
8042
8040
|
_r,
|
|
8043
8041
|
Er,
|
|
8044
8042
|
Sr,
|
|
8045
|
-
Or,
|
|
8046
8043
|
wr,
|
|
8044
|
+
Or,
|
|
8047
8045
|
Tr,
|
|
8048
8046
|
Cr,
|
|
8049
|
-
|
|
8047
|
+
Ot
|
|
8050
8048
|
]
|
|
8051
8049
|
},
|
|
8052
8050
|
{
|
|
@@ -8101,15 +8099,15 @@ z(xp);
|
|
|
8101
8099
|
z(Sp);
|
|
8102
8100
|
z(Rp);
|
|
8103
8101
|
z(Tp);
|
|
8104
|
-
z(Op);
|
|
8105
8102
|
z(wp);
|
|
8103
|
+
z(Op);
|
|
8106
8104
|
z(Np);
|
|
8107
8105
|
z(kp);
|
|
8108
8106
|
z(Cp);
|
|
8109
8107
|
z(Pp);
|
|
8110
8108
|
const id = (r, o, c) => {
|
|
8111
8109
|
const d = r[o];
|
|
8112
|
-
return d ? typeof d == "function" ? d() : Promise.resolve(d) : new Promise((
|
|
8110
|
+
return d ? typeof d == "function" ? d() : Promise.resolve(d) : new Promise((y, b) => {
|
|
8113
8111
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
8114
8112
|
b.bind(
|
|
8115
8113
|
null,
|
|
@@ -8120,21 +8118,21 @@ const id = (r, o, c) => {
|
|
|
8120
8118
|
);
|
|
8121
8119
|
});
|
|
8122
8120
|
};
|
|
8123
|
-
async function
|
|
8121
|
+
async function Sd(r) {
|
|
8124
8122
|
return (await id(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-8nm0zvdm.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-ckvgmwcn.js") }), `./locales/${r}/index.ts`, 4)).default;
|
|
8125
8123
|
}
|
|
8126
8124
|
export {
|
|
8127
8125
|
ao as breakpoints,
|
|
8128
8126
|
so as calcBreakpoint,
|
|
8129
8127
|
nc as duplicateNode,
|
|
8130
|
-
|
|
8128
|
+
dd as duplicateNodes,
|
|
8131
8129
|
Pe as elements,
|
|
8132
|
-
|
|
8133
|
-
|
|
8130
|
+
Ed as ensureContext,
|
|
8131
|
+
xd as fieldTypes,
|
|
8134
8132
|
oo as genId,
|
|
8135
8133
|
ot as getBreakpointProp,
|
|
8136
8134
|
ni as getIndexOfBreakpoint,
|
|
8137
|
-
|
|
8135
|
+
pd as getNode,
|
|
8138
8136
|
ii as getPropDefault,
|
|
8139
8137
|
tc as getPropTag,
|
|
8140
8138
|
oi as initProps,
|
|
@@ -8146,22 +8144,21 @@ export {
|
|
|
8146
8144
|
te as injectMode,
|
|
8147
8145
|
Wr as injectSandbox,
|
|
8148
8146
|
De as injectType,
|
|
8149
|
-
fd as isEmptyStr,
|
|
8150
8147
|
Gr as isPercentStr,
|
|
8151
8148
|
jt as isPixelStr,
|
|
8152
|
-
|
|
8149
|
+
Sd as loadLocaleMessageRuntime,
|
|
8153
8150
|
So as newEventBus,
|
|
8154
8151
|
pr as parsePercentStr,
|
|
8155
|
-
|
|
8152
|
+
fd as parsePixelStr,
|
|
8156
8153
|
Hr as pkgs,
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8154
|
+
vd as provideDark,
|
|
8155
|
+
gd as provideData,
|
|
8156
|
+
_d as provideDepends,
|
|
8157
|
+
yd as provideDevice,
|
|
8158
|
+
hd as provideEnv,
|
|
8159
|
+
md as provideMode,
|
|
8163
8160
|
go as provideSandbox,
|
|
8164
|
-
|
|
8161
|
+
bd as provideType,
|
|
8165
8162
|
ec as reverseBreakpoints,
|
|
8166
8163
|
rc as spawnNode,
|
|
8167
8164
|
Eo as startInterpreter,
|