x-runtime-lib 0.6.19 → 0.6.20
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
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
var ha = Object.defineProperty;
|
|
2
2
|
var ma = (n, o, c) => o in n ? ha(n, o, { enumerable: !0, configurable: !0, writable: !0, value: c }) : n[o] = c;
|
|
3
3
|
var vr = (n, o, c) => ma(n, typeof o != "symbol" ? o + "" : o, c);
|
|
4
|
-
import { computed as
|
|
4
|
+
import { computed as S, provide as Se, inject as Te, readonly as Yr, onBeforeMount as ya, onUnmounted as ht, defineComponent as Q, useTemplateRef as Pi, onMounted as Ai, watch as Ce, nextTick as Ii, createElementBlock as ce, openBlock as F, normalizeStyle as mt, ref as We, watchEffect as Li, createBlock as te, h as K, resolveComponent as se, unref as ge, withCtx as ee, renderSlot as Xe, createVNode as oe, createSlots as Er, renderList as va, useId as Di, isRef as Mi, createCommentVNode as $i } from "vue";
|
|
5
5
|
import { waitUtil as Bi, eventBus as zr, messageInfo as ba, messageSuccess as ga, messageWarning as _a, messageError as Ea, openConfirmDlg as xa, openPromptDlg as Ra, useViewStack as ji } from "x-essential-lib";
|
|
6
6
|
import { useTheme as Sa } from "vuetify";
|
|
7
7
|
import { u as Ta, r as Fi, i as Oa, a as Na, b as wa, c as ka, d as Ca, e as Pa, f as Aa, g as Ia, h as Ui } from "./echarts-i9kva4al.js";
|
|
8
8
|
import { useI18n as Vi } from "vue-i18n";
|
|
9
|
-
var Gi = typeof global == "object" && global && global.Object === Object && global, La = typeof self == "object" && self && self.Object === Object && self, pe = Gi || La || Function("return this")(),
|
|
9
|
+
var Gi = typeof global == "object" && global && global.Object === Object && global, La = typeof self == "object" && self && self.Object === Object && self, pe = Gi || La || Function("return this")(), Ye = pe.Symbol, Wi = Object.prototype, Da = Wi.hasOwnProperty, Ma = Wi.toString, at = Ye ? Ye.toStringTag : void 0;
|
|
10
10
|
function $a(n) {
|
|
11
|
-
var o = Da.call(n,
|
|
11
|
+
var o = Da.call(n, at), c = n[at];
|
|
12
12
|
try {
|
|
13
|
-
n[
|
|
13
|
+
n[at] = void 0;
|
|
14
14
|
var h = !0;
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
17
|
var v = Ma.call(n);
|
|
18
|
-
return h && (o ? n[
|
|
18
|
+
return h && (o ? n[at] = c : delete n[at]), v;
|
|
19
19
|
}
|
|
20
20
|
var Ba = Object.prototype, ja = Ba.toString;
|
|
21
21
|
function Fa(n) {
|
|
22
22
|
return ja.call(n);
|
|
23
23
|
}
|
|
24
|
-
var Ua = "[object Null]", Va = "[object Undefined]", Gn =
|
|
25
|
-
function
|
|
24
|
+
var Ua = "[object Null]", Va = "[object Undefined]", Gn = Ye ? Ye.toStringTag : void 0;
|
|
25
|
+
function yt(n) {
|
|
26
26
|
return n == null ? n === void 0 ? Va : Ua : Gn && Gn in Object(n) ? $a(n) : Fa(n);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function vt(n) {
|
|
29
29
|
return n != null && typeof n == "object";
|
|
30
30
|
}
|
|
31
31
|
var Xr = Array.isArray;
|
|
@@ -37,7 +37,7 @@ var Ga = "[object AsyncFunction]", Wa = "[object Function]", Ya = "[object Gener
|
|
|
37
37
|
function Yi(n) {
|
|
38
38
|
if (!Gt(n))
|
|
39
39
|
return !1;
|
|
40
|
-
var o =
|
|
40
|
+
var o = yt(n);
|
|
41
41
|
return o == Wa || o == Ya || o == Ga || o == za;
|
|
42
42
|
}
|
|
43
43
|
var br = pe["__core-js_shared__"], Wn = function() {
|
|
@@ -141,12 +141,12 @@ function vs(n, o) {
|
|
|
141
141
|
}
|
|
142
142
|
var bs = "[object Arguments]";
|
|
143
143
|
function Xn(n) {
|
|
144
|
-
return
|
|
144
|
+
return vt(n) && yt(n) == bs;
|
|
145
145
|
}
|
|
146
146
|
var Ji = Object.prototype, gs = Ji.hasOwnProperty, _s = Ji.propertyIsEnumerable, Es = Xn(/* @__PURE__ */ function() {
|
|
147
147
|
return arguments;
|
|
148
148
|
}()) ? Xn : function(n) {
|
|
149
|
-
return
|
|
149
|
+
return vt(n) && gs.call(n, "callee") && !_s.call(n, "callee");
|
|
150
150
|
};
|
|
151
151
|
function xs() {
|
|
152
152
|
return !1;
|
|
@@ -155,29 +155,29 @@ var Ki = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
155
155
|
j[Fs] = j[Us] = j[Vs] = j[Gs] = j[Ws] = j[Ys] = j[zs] = j[Xs] = j[Hs] = !0;
|
|
156
156
|
j[Ts] = j[Os] = j[Bs] = j[Ns] = j[js] = j[ws] = j[ks] = j[Cs] = j[Ps] = j[As] = j[Is] = j[Ls] = j[Ds] = j[Ms] = j[$s] = !1;
|
|
157
157
|
function Js(n) {
|
|
158
|
-
return
|
|
158
|
+
return vt(n) && Xi(n.length) && !!j[yt(n)];
|
|
159
159
|
}
|
|
160
160
|
function Hr(n) {
|
|
161
161
|
return function(o) {
|
|
162
162
|
return n(o);
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
var Zi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
165
|
+
var Zi = typeof exports == "object" && exports && !exports.nodeType && exports, ft = Zi && typeof module == "object" && module && !module.nodeType && module, Ks = ft && ft.exports === Zi, gr = Ks && Gi.process, ze = function() {
|
|
166
166
|
try {
|
|
167
|
-
var n =
|
|
167
|
+
var n = ft && ft.require && ft.require("util").types;
|
|
168
168
|
return n || gr && gr.binding && gr.binding("util");
|
|
169
169
|
} catch {
|
|
170
170
|
}
|
|
171
|
-
}(), Kn =
|
|
171
|
+
}(), Kn = ze && ze.isTypedArray, qs = Kn ? Hr(Kn) : Js, Zs = Object.prototype, Qs = Zs.hasOwnProperty;
|
|
172
172
|
function eu(n, o) {
|
|
173
|
-
var c = Xr(n), h = !c && Es(n), v = !c && !h && qi(n), g = !c && !h && !v && qs(n), m = c || h || v || g,
|
|
173
|
+
var c = Xr(n), h = !c && Es(n), v = !c && !h && qi(n), g = !c && !h && !v && qs(n), m = c || h || v || g, R = m ? vs(n.length, String) : [], x = R.length;
|
|
174
174
|
for (var r in n)
|
|
175
175
|
Qs.call(n, r) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
176
176
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
177
177
|
v && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
178
178
|
g && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
179
|
-
ls(r,
|
|
180
|
-
return
|
|
179
|
+
ls(r, x))) && R.push(r);
|
|
180
|
+
return R;
|
|
181
181
|
}
|
|
182
182
|
function Qi(n, o) {
|
|
183
183
|
return function(c) {
|
|
@@ -196,9 +196,9 @@ function iu(n) {
|
|
|
196
196
|
function ou(n) {
|
|
197
197
|
return ms(n) ? eu(n) : iu(n);
|
|
198
198
|
}
|
|
199
|
-
var
|
|
199
|
+
var pt = Le(Object, "create");
|
|
200
200
|
function au() {
|
|
201
|
-
this.__data__ =
|
|
201
|
+
this.__data__ = pt ? pt(null) : {}, this.size = 0;
|
|
202
202
|
}
|
|
203
203
|
function su(n) {
|
|
204
204
|
var o = this.has(n) && delete this.__data__[n];
|
|
@@ -207,7 +207,7 @@ function su(n) {
|
|
|
207
207
|
var uu = "__lodash_hash_undefined__", lu = Object.prototype, cu = lu.hasOwnProperty;
|
|
208
208
|
function fu(n) {
|
|
209
209
|
var o = this.__data__;
|
|
210
|
-
if (
|
|
210
|
+
if (pt) {
|
|
211
211
|
var c = o[n];
|
|
212
212
|
return c === uu ? void 0 : c;
|
|
213
213
|
}
|
|
@@ -216,12 +216,12 @@ function fu(n) {
|
|
|
216
216
|
var pu = Object.prototype, du = pu.hasOwnProperty;
|
|
217
217
|
function hu(n) {
|
|
218
218
|
var o = this.__data__;
|
|
219
|
-
return
|
|
219
|
+
return pt ? o[n] !== void 0 : du.call(o, n);
|
|
220
220
|
}
|
|
221
221
|
var mu = "__lodash_hash_undefined__";
|
|
222
222
|
function yu(n, o) {
|
|
223
223
|
var c = this.__data__;
|
|
224
|
-
return this.size += this.has(n) ? 0 : 1, c[n] =
|
|
224
|
+
return this.size += this.has(n) ? 0 : 1, c[n] = pt && o === void 0 ? mu : o, this;
|
|
225
225
|
}
|
|
226
226
|
function Pe(n) {
|
|
227
227
|
var o = -1, c = n == null ? 0 : n.length;
|
|
@@ -275,11 +275,11 @@ _e.prototype.delete = _u;
|
|
|
275
275
|
_e.prototype.get = Eu;
|
|
276
276
|
_e.prototype.has = xu;
|
|
277
277
|
_e.prototype.set = Ru;
|
|
278
|
-
var
|
|
278
|
+
var dt = Le(pe, "Map");
|
|
279
279
|
function Su() {
|
|
280
280
|
this.size = 0, this.__data__ = {
|
|
281
281
|
hash: new Pe(),
|
|
282
|
-
map: new (
|
|
282
|
+
map: new (dt || _e)(),
|
|
283
283
|
string: new Pe()
|
|
284
284
|
};
|
|
285
285
|
}
|
|
@@ -305,18 +305,18 @@ function ku(n, o) {
|
|
|
305
305
|
var c = Yt(this, n), h = c.size;
|
|
306
306
|
return c.set(n, o), this.size += c.size == h ? 0 : 1, this;
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function He(n) {
|
|
309
309
|
var o = -1, c = n == null ? 0 : n.length;
|
|
310
310
|
for (this.clear(); ++o < c; ) {
|
|
311
311
|
var h = n[o];
|
|
312
312
|
this.set(h[0], h[1]);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
315
|
+
He.prototype.clear = Su;
|
|
316
|
+
He.prototype.delete = Ou;
|
|
317
|
+
He.prototype.get = Nu;
|
|
318
|
+
He.prototype.has = wu;
|
|
319
|
+
He.prototype.set = ku;
|
|
320
320
|
function Cu(n, o) {
|
|
321
321
|
for (var c = -1, h = o.length, v = n.length; ++c < h; )
|
|
322
322
|
n[v + c] = o[c];
|
|
@@ -341,21 +341,21 @@ function $u(n, o) {
|
|
|
341
341
|
var c = this.__data__;
|
|
342
342
|
if (c instanceof _e) {
|
|
343
343
|
var h = c.__data__;
|
|
344
|
-
if (!
|
|
344
|
+
if (!dt || h.length < Mu - 1)
|
|
345
345
|
return h.push([n, o]), this.size = ++c.size, this;
|
|
346
|
-
c = this.__data__ = new
|
|
346
|
+
c = this.__data__ = new He(h);
|
|
347
347
|
}
|
|
348
348
|
return c.set(n, o), this.size = c.size, this;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function Je(n) {
|
|
351
351
|
var o = this.__data__ = new _e(n);
|
|
352
352
|
this.size = o.size;
|
|
353
353
|
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
354
|
+
Je.prototype.clear = Au;
|
|
355
|
+
Je.prototype.delete = Iu;
|
|
356
|
+
Je.prototype.get = Lu;
|
|
357
|
+
Je.prototype.has = Du;
|
|
358
|
+
Je.prototype.set = $u;
|
|
359
359
|
var eo = typeof exports == "object" && exports && !exports.nodeType && exports, qn = eo && typeof module == "object" && module && !module.nodeType && module, Bu = qn && qn.exports === eo, Zn = Bu ? pe.Buffer : void 0;
|
|
360
360
|
Zn && Zn.allocUnsafe;
|
|
361
361
|
function ju(n, o) {
|
|
@@ -383,9 +383,9 @@ function Yu(n, o, c) {
|
|
|
383
383
|
function zu(n) {
|
|
384
384
|
return Yu(n, ou, Wu);
|
|
385
385
|
}
|
|
386
|
-
var Rr = Le(pe, "DataView"), Sr = Le(pe, "Promise"), Tr = Le(pe, "Set"), ei = "[object Map]", Xu = "[object Object]", ti = "[object Promise]", ri = "[object Set]", ni = "[object WeakMap]", ii = "[object DataView]", Hu = Ie(Rr), Ju = Ie(
|
|
387
|
-
(Rr && be(new Rr(new ArrayBuffer(1))) != ii ||
|
|
388
|
-
var o =
|
|
386
|
+
var Rr = Le(pe, "DataView"), Sr = Le(pe, "Promise"), Tr = Le(pe, "Set"), ei = "[object Map]", Xu = "[object Object]", ti = "[object Promise]", ri = "[object Set]", ni = "[object WeakMap]", ii = "[object DataView]", Hu = Ie(Rr), Ju = Ie(dt), Ku = Ie(Sr), qu = Ie(Tr), Zu = Ie(xr), be = yt;
|
|
387
|
+
(Rr && be(new Rr(new ArrayBuffer(1))) != ii || dt && be(new dt()) != ei || Sr && be(Sr.resolve()) != ti || Tr && be(new Tr()) != ri || xr && be(new xr()) != ni) && (be = function(n) {
|
|
388
|
+
var o = yt(n), c = o == Xu ? n.constructor : void 0, h = c ? Ie(c) : "";
|
|
389
389
|
if (h)
|
|
390
390
|
switch (h) {
|
|
391
391
|
case Hu:
|
|
@@ -420,7 +420,7 @@ function il(n) {
|
|
|
420
420
|
var o = new n.constructor(n.source, nl.exec(n));
|
|
421
421
|
return o.lastIndex = n.lastIndex, o;
|
|
422
422
|
}
|
|
423
|
-
var ai =
|
|
423
|
+
var ai = Ye ? Ye.prototype : void 0, si = ai ? ai.valueOf : void 0;
|
|
424
424
|
function ol(n) {
|
|
425
425
|
return si ? Object(si.call(n)) : {};
|
|
426
426
|
}
|
|
@@ -467,59 +467,59 @@ function Nl(n) {
|
|
|
467
467
|
}
|
|
468
468
|
var wl = "[object Map]";
|
|
469
469
|
function kl(n) {
|
|
470
|
-
return
|
|
470
|
+
return vt(n) && be(n) == wl;
|
|
471
471
|
}
|
|
472
|
-
var ui =
|
|
472
|
+
var ui = ze && ze.isMap, Cl = ui ? Hr(ui) : kl, Pl = "[object Set]";
|
|
473
473
|
function Al(n) {
|
|
474
|
-
return
|
|
474
|
+
return vt(n) && be(n) == Pl;
|
|
475
475
|
}
|
|
476
|
-
var li =
|
|
476
|
+
var li = ze && ze.isSet, Il = li ? Hr(li) : Al, to = "[object Arguments]", Ll = "[object Array]", Dl = "[object Boolean]", Ml = "[object Date]", $l = "[object Error]", ro = "[object Function]", Bl = "[object GeneratorFunction]", jl = "[object Map]", Fl = "[object Number]", no = "[object Object]", Ul = "[object RegExp]", Vl = "[object Set]", Gl = "[object String]", Wl = "[object Symbol]", Yl = "[object WeakMap]", zl = "[object ArrayBuffer]", Xl = "[object DataView]", Hl = "[object Float32Array]", Jl = "[object Float64Array]", Kl = "[object Int8Array]", ql = "[object Int16Array]", Zl = "[object Int32Array]", Ql = "[object Uint8Array]", ec = "[object Uint8ClampedArray]", tc = "[object Uint16Array]", rc = "[object Uint32Array]", B = {};
|
|
477
477
|
B[to] = B[Ll] = B[zl] = B[Xl] = B[Dl] = B[Ml] = B[Hl] = B[Jl] = B[Kl] = B[ql] = B[Zl] = B[jl] = B[Fl] = B[no] = B[Ul] = B[Vl] = B[Gl] = B[Wl] = B[Ql] = B[ec] = B[tc] = B[rc] = !0;
|
|
478
478
|
B[$l] = B[ro] = B[Yl] = !1;
|
|
479
|
-
function
|
|
479
|
+
function It(n, o, c, h, v, g) {
|
|
480
480
|
var m;
|
|
481
481
|
if (m !== void 0)
|
|
482
482
|
return m;
|
|
483
483
|
if (!Gt(n))
|
|
484
484
|
return n;
|
|
485
|
-
var
|
|
486
|
-
if (
|
|
485
|
+
var R = Xr(n);
|
|
486
|
+
if (R)
|
|
487
487
|
m = tl(n);
|
|
488
488
|
else {
|
|
489
|
-
var
|
|
489
|
+
var x = be(n), r = x == ro || x == Bl;
|
|
490
490
|
if (qi(n))
|
|
491
491
|
return ju(n);
|
|
492
|
-
if (
|
|
492
|
+
if (x == no || x == to || r && !v)
|
|
493
493
|
m = r ? {} : Nl(n);
|
|
494
494
|
else {
|
|
495
|
-
if (!B[
|
|
495
|
+
if (!B[x])
|
|
496
496
|
return v ? n : {};
|
|
497
|
-
m = Ol(n,
|
|
497
|
+
m = Ol(n, x);
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
g || (g = new
|
|
500
|
+
g || (g = new Je());
|
|
501
501
|
var t = g.get(n);
|
|
502
502
|
if (t)
|
|
503
503
|
return t;
|
|
504
504
|
g.set(n, m), Il(n) ? n.forEach(function(u) {
|
|
505
|
-
m.add(
|
|
505
|
+
m.add(It(u, o, c, u, n, g));
|
|
506
506
|
}) : Cl(n) && n.forEach(function(u, s) {
|
|
507
|
-
m.set(s,
|
|
507
|
+
m.set(s, It(u, o, c, s, n, g));
|
|
508
508
|
});
|
|
509
|
-
var e = zu, i =
|
|
509
|
+
var e = zu, i = R ? void 0 : e(n);
|
|
510
510
|
return as(i || n, function(u, s) {
|
|
511
|
-
i && (s = u, u = n[s]), ds(m, s,
|
|
511
|
+
i && (s = u, u = n[s]), ds(m, s, It(u, o, c, s, n, g));
|
|
512
512
|
}), m;
|
|
513
513
|
}
|
|
514
514
|
var nc = 1, ic = 4;
|
|
515
515
|
function Z(n) {
|
|
516
|
-
return
|
|
516
|
+
return It(n, nc | ic);
|
|
517
517
|
}
|
|
518
518
|
function io(n) {
|
|
519
|
-
const o =
|
|
519
|
+
const o = S(() => {
|
|
520
520
|
var v;
|
|
521
521
|
return (v = n.node.legend) == null ? void 0 : v.show;
|
|
522
|
-
}), c =
|
|
522
|
+
}), c = S(() => {
|
|
523
523
|
var v;
|
|
524
524
|
return (v = n.node.legend) == null ? void 0 : v.data;
|
|
525
525
|
});
|
|
@@ -532,20 +532,20 @@ function io(n) {
|
|
|
532
532
|
return { show: o, data: c, applyLegend: h };
|
|
533
533
|
}
|
|
534
534
|
function oo(n) {
|
|
535
|
-
const o =
|
|
535
|
+
const o = S(() => n.node.series);
|
|
536
536
|
function c(h) {
|
|
537
537
|
h.series = o.value;
|
|
538
538
|
}
|
|
539
539
|
return { series: o, applySeries: c };
|
|
540
540
|
}
|
|
541
541
|
function ao(n) {
|
|
542
|
-
const o =
|
|
542
|
+
const o = S(() => {
|
|
543
543
|
var g;
|
|
544
544
|
return (g = n.node.title) == null ? void 0 : g.show;
|
|
545
|
-
}), c =
|
|
545
|
+
}), c = S(() => {
|
|
546
546
|
var g;
|
|
547
547
|
return (g = n.node.title) == null ? void 0 : g.text;
|
|
548
|
-
}), h =
|
|
548
|
+
}), h = S(() => {
|
|
549
549
|
var g;
|
|
550
550
|
return (g = n.node.title) == null ? void 0 : g.subtext;
|
|
551
551
|
});
|
|
@@ -559,16 +559,16 @@ function ao(n) {
|
|
|
559
559
|
return { show: o, text: c, subtext: h, applyTitle: v };
|
|
560
560
|
}
|
|
561
561
|
function so(n) {
|
|
562
|
-
const o =
|
|
562
|
+
const o = S(() => {
|
|
563
563
|
var m;
|
|
564
564
|
return (m = n.node.xAxis) == null ? void 0 : m.show;
|
|
565
|
-
}), c =
|
|
565
|
+
}), c = S(() => {
|
|
566
566
|
var m;
|
|
567
567
|
return (m = n.node.xAxis) == null ? void 0 : m.position;
|
|
568
|
-
}), h =
|
|
568
|
+
}), h = S(() => {
|
|
569
569
|
var m;
|
|
570
570
|
return (m = n.node.xAxis) == null ? void 0 : m.type;
|
|
571
|
-
}), v =
|
|
571
|
+
}), v = S(() => {
|
|
572
572
|
var m;
|
|
573
573
|
return (m = n.node.xAxis) == null ? void 0 : m.data;
|
|
574
574
|
});
|
|
@@ -583,16 +583,16 @@ function so(n) {
|
|
|
583
583
|
return { show: o, position: c, type: h, data: v, applyXAxis: g };
|
|
584
584
|
}
|
|
585
585
|
function uo(n) {
|
|
586
|
-
const o =
|
|
586
|
+
const o = S(() => {
|
|
587
587
|
var m;
|
|
588
588
|
return (m = n.node.yAxis) == null ? void 0 : m.show;
|
|
589
|
-
}), c =
|
|
589
|
+
}), c = S(() => {
|
|
590
590
|
var m;
|
|
591
591
|
return (m = n.node.yAxis) == null ? void 0 : m.position;
|
|
592
|
-
}), h =
|
|
592
|
+
}), h = S(() => {
|
|
593
593
|
var m;
|
|
594
594
|
return (m = n.node.yAxis) == null ? void 0 : m.type;
|
|
595
|
-
}), v =
|
|
595
|
+
}), v = S(() => {
|
|
596
596
|
var m;
|
|
597
597
|
return (m = n.node.yAxis) == null ? void 0 : m.data;
|
|
598
598
|
});
|
|
@@ -607,52 +607,52 @@ function uo(n) {
|
|
|
607
607
|
return { show: o, position: c, type: h, data: v, applyYAxis: g };
|
|
608
608
|
}
|
|
609
609
|
function zt(n, o) {
|
|
610
|
-
const { computedThemes: c } = Sa(), h =
|
|
611
|
-
const
|
|
612
|
-
return
|
|
613
|
-
}), g =
|
|
614
|
-
var
|
|
615
|
-
return n.value ? (
|
|
610
|
+
const { computedThemes: c } = Sa(), h = S(() => o == null ? void 0 : o.mode), v = S(() => {
|
|
611
|
+
const R = o == null ? void 0 : o.theme;
|
|
612
|
+
return R ? R === "background0" ? n.value ? "#2e2e2e" : "#bdbdbd" : R === "background1" ? n.value ? "#272727" : "#eeeeee" : R === "background2" ? n.value ? "#1e1e1e" : "#ffffff" : (n.value ? c.value.dark : c.value.light).colors[R] : void 0;
|
|
613
|
+
}), g = S(() => {
|
|
614
|
+
var R, x;
|
|
615
|
+
return n.value ? (R = o == null ? void 0 : o.custom) == null ? void 0 : R.dark : (x = o == null ? void 0 : o.custom) == null ? void 0 : x.light;
|
|
616
616
|
});
|
|
617
|
-
return { color:
|
|
617
|
+
return { color: S(() => h.value === "theme" ? v.value : h.value === "custom" ? g.value : "") };
|
|
618
618
|
}
|
|
619
619
|
function lo(n, o) {
|
|
620
620
|
var t;
|
|
621
|
-
const c =
|
|
621
|
+
const c = S(() => {
|
|
622
622
|
var e;
|
|
623
623
|
return (e = o.node.border) == null ? void 0 : e.style;
|
|
624
|
-
}), h =
|
|
624
|
+
}), h = S(() => {
|
|
625
625
|
var e;
|
|
626
626
|
return (e = o.node.border) == null ? void 0 : e.width;
|
|
627
|
-
}), { color: v } = zt(n, (t = o.node.border) == null ? void 0 : t.color), g =
|
|
627
|
+
}), { color: v } = zt(n, (t = o.node.border) == null ? void 0 : t.color), g = S(() => {
|
|
628
628
|
var e, i;
|
|
629
629
|
return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.tl;
|
|
630
|
-
}), m =
|
|
630
|
+
}), m = S(() => {
|
|
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
|
+
}), R = S(() => {
|
|
634
634
|
var e, i;
|
|
635
635
|
return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.bl;
|
|
636
|
-
}),
|
|
636
|
+
}), x = S(() => {
|
|
637
637
|
var e, i;
|
|
638
638
|
return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.br;
|
|
639
639
|
});
|
|
640
640
|
function r(e) {
|
|
641
|
-
c.value && (e.borderStyle = c.value), h.value && (e.borderWidth = h.value), v.value && (e.borderColor = v.value), g.value && (e.borderTopLeftRadius = g.value), m.value && (e.borderTopRightRadius = m.value),
|
|
641
|
+
c.value && (e.borderStyle = c.value), h.value && (e.borderWidth = h.value), v.value && (e.borderColor = v.value), g.value && (e.borderTopLeftRadius = g.value), m.value && (e.borderTopRightRadius = m.value), R.value && (e.borderBottomLeftRadius = R.value), x.value && (e.borderBottomRightRadius = x.value);
|
|
642
642
|
}
|
|
643
643
|
return { borderStyle: c, borderWidth: h, borderColor: v, applyBorder: r };
|
|
644
644
|
}
|
|
645
645
|
function co(n) {
|
|
646
|
-
const o =
|
|
646
|
+
const o = S(() => {
|
|
647
647
|
var m;
|
|
648
648
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
649
|
-
}), c =
|
|
649
|
+
}), c = S(() => {
|
|
650
650
|
var m;
|
|
651
651
|
return (m = n.node.margin) == null ? void 0 : m.left;
|
|
652
|
-
}), h =
|
|
652
|
+
}), h = S(() => {
|
|
653
653
|
var m;
|
|
654
654
|
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
655
|
-
}), v =
|
|
655
|
+
}), v = S(() => {
|
|
656
656
|
var m;
|
|
657
657
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
658
658
|
});
|
|
@@ -662,16 +662,16 @@ function co(n) {
|
|
|
662
662
|
return { marginTop: o, marginLeft: c, marginBottom: h, marginRight: v, applyMargin: g };
|
|
663
663
|
}
|
|
664
664
|
function fo(n) {
|
|
665
|
-
const o =
|
|
665
|
+
const o = S(() => {
|
|
666
666
|
var m;
|
|
667
667
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
668
|
-
}), c =
|
|
668
|
+
}), c = S(() => {
|
|
669
669
|
var m;
|
|
670
670
|
return (m = n.node.padding) == null ? void 0 : m.left;
|
|
671
|
-
}), h =
|
|
671
|
+
}), h = S(() => {
|
|
672
672
|
var m;
|
|
673
673
|
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
674
|
-
}), v =
|
|
674
|
+
}), v = S(() => {
|
|
675
675
|
var m;
|
|
676
676
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
677
677
|
});
|
|
@@ -725,7 +725,7 @@ function ac(n) {
|
|
|
725
725
|
function fi(n) {
|
|
726
726
|
return ho.findIndex((o) => o === n);
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function Ct(n, o) {
|
|
729
729
|
let c;
|
|
730
730
|
for (const h of oc) {
|
|
731
731
|
if (fi(h) < fi(n))
|
|
@@ -768,20 +768,20 @@ function uc(n, o, c, h, v) {
|
|
|
768
768
|
console.error(`spawnNode prop tag not found, ${g}`);
|
|
769
769
|
return;
|
|
770
770
|
}
|
|
771
|
-
const
|
|
772
|
-
if (!
|
|
771
|
+
const R = rn[c];
|
|
772
|
+
if (!R) {
|
|
773
773
|
console.error(`spawnNode pkg not found version, ${g}`);
|
|
774
774
|
return;
|
|
775
775
|
}
|
|
776
|
-
const
|
|
776
|
+
const x = {
|
|
777
777
|
basic: {
|
|
778
778
|
id: "",
|
|
779
779
|
key: ""
|
|
780
780
|
}
|
|
781
781
|
}, r = po(16);
|
|
782
782
|
if (h) {
|
|
783
|
-
const t =
|
|
784
|
-
if (!
|
|
783
|
+
const t = R.refKey, e = v;
|
|
784
|
+
if (!R.elements.has(t)) {
|
|
785
785
|
console.error(`spawnNode [ref] element not found in pkg, ${g}`);
|
|
786
786
|
return;
|
|
787
787
|
}
|
|
@@ -795,12 +795,12 @@ function uc(n, o, c, h, v) {
|
|
|
795
795
|
console.error(`spawnNode [ref] props not found, ${g}`);
|
|
796
796
|
return;
|
|
797
797
|
}
|
|
798
|
-
di(
|
|
798
|
+
di(x, u), x.basic.id = r, x.basic.key = t, x.ref = {
|
|
799
799
|
id: e
|
|
800
800
|
};
|
|
801
801
|
} else {
|
|
802
802
|
const t = v;
|
|
803
|
-
if (!
|
|
803
|
+
if (!R.elements.has(t)) {
|
|
804
804
|
console.error(`spawnNode [key] element not found in pkg, ${g}`);
|
|
805
805
|
return;
|
|
806
806
|
}
|
|
@@ -814,9 +814,9 @@ function uc(n, o, c, h, v) {
|
|
|
814
814
|
console.error(`spawnNode [key] props not found, ${g}`);
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
|
-
di(
|
|
817
|
+
di(x, i), x.basic.id = r, x.basic.key = t, e.slots.some((u) => u.key === "default") && (x.children = []);
|
|
818
818
|
}
|
|
819
|
-
return
|
|
819
|
+
return x;
|
|
820
820
|
}
|
|
821
821
|
function ed(n, o) {
|
|
822
822
|
function c(h) {
|
|
@@ -865,7 +865,7 @@ function re() {
|
|
|
865
865
|
function id(n) {
|
|
866
866
|
Se(vo, Yr(n));
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Ke() {
|
|
869
869
|
return Te(vo);
|
|
870
870
|
}
|
|
871
871
|
function od(n) {
|
|
@@ -898,17 +898,17 @@ function To(n) {
|
|
|
898
898
|
function Zr() {
|
|
899
899
|
return Te(xo);
|
|
900
900
|
}
|
|
901
|
-
function
|
|
902
|
-
const h =
|
|
901
|
+
function qe(n, o, c) {
|
|
902
|
+
const h = S(() => {
|
|
903
903
|
var t;
|
|
904
904
|
return (t = c.node.size) == null ? void 0 : t.width;
|
|
905
|
-
}), v =
|
|
905
|
+
}), v = S(() => {
|
|
906
906
|
var t;
|
|
907
907
|
return (t = c.node.size) == null ? void 0 : t.minWidth;
|
|
908
|
-
}), g =
|
|
908
|
+
}), g = S(() => {
|
|
909
909
|
var t;
|
|
910
910
|
return (t = c.node.size) == null ? void 0 : t.maxWidth;
|
|
911
|
-
}), m =
|
|
911
|
+
}), m = S(() => {
|
|
912
912
|
var t, e;
|
|
913
913
|
if (c.outer && n === "editor") {
|
|
914
914
|
const i = _r((t = c.node.size) == null ? void 0 : t.height);
|
|
@@ -916,7 +916,7 @@ function Ke(n, o, c) {
|
|
|
916
916
|
return i / 100 * o.value.height + "px";
|
|
917
917
|
}
|
|
918
918
|
return (e = c.node.size) == null ? void 0 : e.height;
|
|
919
|
-
}),
|
|
919
|
+
}), R = S(() => {
|
|
920
920
|
var t, e;
|
|
921
921
|
if (c.outer && n === "editor") {
|
|
922
922
|
const i = _r((t = c.node.size) == null ? void 0 : t.minHeight);
|
|
@@ -924,7 +924,7 @@ function Ke(n, o, c) {
|
|
|
924
924
|
return i / 100 * o.value.height + "px";
|
|
925
925
|
}
|
|
926
926
|
return (e = c.node.size) == null ? void 0 : e.minHeight;
|
|
927
|
-
}),
|
|
927
|
+
}), x = S(() => {
|
|
928
928
|
var t, e;
|
|
929
929
|
if (c.outer && n === "editor") {
|
|
930
930
|
const i = _r((t = c.node.size) == null ? void 0 : t.maxHeight);
|
|
@@ -934,16 +934,16 @@ function Ke(n, o, c) {
|
|
|
934
934
|
return (e = c.node.size) == null ? void 0 : e.maxHeight;
|
|
935
935
|
});
|
|
936
936
|
function r(t) {
|
|
937
|
-
h.value && (t.width = h.value), v.value && (t.minWidth = v.value), g.value && (t.maxWidth = g.value), m.value && (t.height = m.value),
|
|
937
|
+
h.value && (t.width = h.value), v.value && (t.minWidth = v.value), g.value && (t.maxWidth = g.value), m.value && (t.height = m.value), R.value && (t.minHeight = R.value), x.value && (t.maxHeight = x.value);
|
|
938
938
|
}
|
|
939
|
-
return { width: h, minWidth: v, maxWidth: g, height: m, minHeight:
|
|
939
|
+
return { width: h, minWidth: v, maxWidth: g, height: m, minHeight: R, maxHeight: x, applySize: r };
|
|
940
940
|
}
|
|
941
941
|
function Oo(n, o, c) {
|
|
942
|
-
const h =
|
|
942
|
+
const h = S(() => o.node.basic.id), v = S(() => `callMethod@${h.value}`);
|
|
943
943
|
ya(() => {
|
|
944
944
|
var g;
|
|
945
945
|
(g = n.eventBus) == null || g.on(v.value, c);
|
|
946
|
-
}),
|
|
946
|
+
}), ht(() => {
|
|
947
947
|
var g;
|
|
948
948
|
(g = n.eventBus) == null || g.off(v.value, c);
|
|
949
949
|
});
|
|
@@ -1028,7 +1028,7 @@ const vf = /* @__PURE__ */ Q({
|
|
|
1028
1028
|
outer: { type: Boolean }
|
|
1029
1029
|
},
|
|
1030
1030
|
setup(n) {
|
|
1031
|
-
const o = n, c = re(), h =
|
|
1031
|
+
const o = n, c = re(), h = Ke(), v = de(), g = De(), m = Me(), { width: R, minWidth: x, maxWidth: r, height: t, minHeight: e, maxHeight: i, applySize: u } = qe(c, h, o), { applyTitle: s } = ao(o), { applyXAxis: l } = so(o), { applyYAxis: a } = uo(o), { applyLegend: f } = io(o), { applySeries: y } = oo(o), b = S(() => {
|
|
1032
1032
|
const k = {}, ne = m.value.type;
|
|
1033
1033
|
return g === "page" ? ne === "common" ? u(k) : console.assert(!1) : g === "comp" && ne === "common" ? u(k) : console.assert(!1), k;
|
|
1034
1034
|
}), O = Pi("chart");
|
|
@@ -1045,9 +1045,9 @@ const vf = /* @__PURE__ */ Q({
|
|
|
1045
1045
|
};
|
|
1046
1046
|
return Ai(async () => {
|
|
1047
1047
|
window.addEventListener("resize", w, !1), await Bi(() => !!O.value), N(), P();
|
|
1048
|
-
}),
|
|
1048
|
+
}), ht(() => {
|
|
1049
1049
|
window.removeEventListener("resize", w, !1), E == null || E.dispose();
|
|
1050
|
-
}), Ce([
|
|
1050
|
+
}), Ce([R, x, r, t, e, i], async () => {
|
|
1051
1051
|
await Ii(), w();
|
|
1052
1052
|
}), Ce([v], () => {
|
|
1053
1053
|
N(), P();
|
|
@@ -1059,7 +1059,7 @@ const vf = /* @__PURE__ */ Q({
|
|
|
1059
1059
|
{ deep: !0 }
|
|
1060
1060
|
), (k, ne) => (F(), ce("div", {
|
|
1061
1061
|
ref: "chart",
|
|
1062
|
-
style:
|
|
1062
|
+
style: mt(b.value)
|
|
1063
1063
|
}, null, 4));
|
|
1064
1064
|
}
|
|
1065
1065
|
}), bf = /* @__PURE__ */ Q({
|
|
@@ -1069,7 +1069,7 @@ const vf = /* @__PURE__ */ Q({
|
|
|
1069
1069
|
outer: { type: Boolean }
|
|
1070
1070
|
},
|
|
1071
1071
|
setup(n) {
|
|
1072
|
-
const o = n, c = re(), h =
|
|
1072
|
+
const o = n, c = re(), h = Ke(), v = de(), g = De(), m = Me(), { width: R, minWidth: x, maxWidth: r, height: t, minHeight: e, maxHeight: i, applySize: u } = qe(c, h, o), { applyTitle: s } = ao(o), { applyXAxis: l } = so(o), { applyYAxis: a } = uo(o), { applyLegend: f } = io(o), { applySeries: y } = oo(o), b = S(() => {
|
|
1073
1073
|
const k = {}, ne = m.value.type;
|
|
1074
1074
|
return g === "page" ? ne === "common" ? u(k) : console.assert(!1) : g === "comp" && ne === "common" ? u(k) : console.assert(!1), k;
|
|
1075
1075
|
}), O = Pi("chart");
|
|
@@ -1086,9 +1086,9 @@ const vf = /* @__PURE__ */ Q({
|
|
|
1086
1086
|
};
|
|
1087
1087
|
return Ai(async () => {
|
|
1088
1088
|
window.addEventListener("resize", w, !1), await Bi(() => !!O.value), N(), P();
|
|
1089
|
-
}),
|
|
1089
|
+
}), ht(() => {
|
|
1090
1090
|
window.removeEventListener("resize", w, !1), E == null || E.dispose();
|
|
1091
|
-
}), Ce([
|
|
1091
|
+
}), Ce([R, x, r, t, e, i], async () => {
|
|
1092
1092
|
await Ii(), w();
|
|
1093
1093
|
}), Ce([v], () => {
|
|
1094
1094
|
N(), P();
|
|
@@ -1100,7 +1100,7 @@ const vf = /* @__PURE__ */ Q({
|
|
|
1100
1100
|
{ deep: !0 }
|
|
1101
1101
|
), (k, ne) => (F(), ce("div", {
|
|
1102
1102
|
ref: "chart",
|
|
1103
|
-
style:
|
|
1103
|
+
style: mt(b.value)
|
|
1104
1104
|
}, null, 4));
|
|
1105
1105
|
}
|
|
1106
1106
|
});
|
|
@@ -1126,12 +1126,12 @@ function _f(n) {
|
|
|
1126
1126
|
});
|
|
1127
1127
|
}), c;
|
|
1128
1128
|
}
|
|
1129
|
-
var
|
|
1129
|
+
var Lt = { exports: {} };
|
|
1130
1130
|
const Ef = {}, xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1131
1131
|
__proto__: null,
|
|
1132
1132
|
default: Ef
|
|
1133
1133
|
}, Symbol.toStringTag, { value: "Module" })), Rf = /* @__PURE__ */ _f(xf);
|
|
1134
|
-
var Sf =
|
|
1134
|
+
var Sf = Lt.exports, hi;
|
|
1135
1135
|
function Tf() {
|
|
1136
1136
|
return hi || (hi = 1, function(n, o) {
|
|
1137
1137
|
(function(h, v) {
|
|
@@ -1146,7 +1146,7 @@ function Tf() {
|
|
|
1146
1146
|
!*** ./original-repo/interpreter.js ***!
|
|
1147
1147
|
\**************************************/
|
|
1148
1148
|
/***/
|
|
1149
|
-
function(m,
|
|
1149
|
+
function(m, R, x) {
|
|
1150
1150
|
/**
|
|
1151
1151
|
* @license
|
|
1152
1152
|
* Copyright 2013 Neil Fraser
|
|
@@ -2889,7 +2889,7 @@ function Tf() {
|
|
|
2889
2889
|
i = !0;
|
|
2890
2890
|
else {
|
|
2891
2891
|
try {
|
|
2892
|
-
r.vm =
|
|
2892
|
+
r.vm = x(
|
|
2893
2893
|
/*! vm */
|
|
2894
2894
|
"vm"
|
|
2895
2895
|
);
|
|
@@ -4176,13 +4176,13 @@ function Tf() {
|
|
|
4176
4176
|
!*** ./original-repo/acorn.js ***!
|
|
4177
4177
|
\********************************/
|
|
4178
4178
|
/***/
|
|
4179
|
-
function(m,
|
|
4180
|
-
(function(
|
|
4181
|
-
return r(
|
|
4182
|
-
})(typeof globalThis > "u" ? this || window : globalThis, function(
|
|
4183
|
-
|
|
4179
|
+
function(m, R) {
|
|
4180
|
+
(function(x, r) {
|
|
4181
|
+
return r(R);
|
|
4182
|
+
})(typeof globalThis > "u" ? this || window : globalThis, function(x) {
|
|
4183
|
+
x.version = "0.5.0";
|
|
4184
4184
|
var r, t = "", e, i;
|
|
4185
|
-
|
|
4185
|
+
x.parse = function(p, d) {
|
|
4186
4186
|
return t = String(p), e = t.length, s(d), Xo(), aa(r.program);
|
|
4187
4187
|
};
|
|
4188
4188
|
var u = {
|
|
@@ -4250,23 +4250,23 @@ function Tf() {
|
|
|
4250
4250
|
i = r.sourceFile;
|
|
4251
4251
|
}
|
|
4252
4252
|
var l = function(p, d) {
|
|
4253
|
-
for (var _ = 1,
|
|
4254
|
-
|
|
4255
|
-
var I =
|
|
4253
|
+
for (var _ = 1, T = 0; ; ) {
|
|
4254
|
+
St.lastIndex = T;
|
|
4255
|
+
var I = St.exec(p);
|
|
4256
4256
|
if (I && I.index < d)
|
|
4257
|
-
++_,
|
|
4257
|
+
++_, T = I.index + I[0].length;
|
|
4258
4258
|
else
|
|
4259
4259
|
break;
|
|
4260
4260
|
}
|
|
4261
|
-
return { line: _, column: d -
|
|
4261
|
+
return { line: _, column: d - T };
|
|
4262
4262
|
}, a = 0, f = 0, y = 0, b, O, E, N, w, P, k, ne = 0, ue = 0, $e, Oe, G, ie;
|
|
4263
4263
|
function D(p, d) {
|
|
4264
4264
|
var _ = l(t, p);
|
|
4265
4265
|
d += " (" + _.line + ":" + _.column + ")";
|
|
4266
|
-
var
|
|
4267
|
-
throw
|
|
4266
|
+
var T = new SyntaxError(d);
|
|
4267
|
+
throw T.pos = p, T.loc = _, T.raisedAt = a, T;
|
|
4268
4268
|
}
|
|
4269
|
-
var Po = [],
|
|
4269
|
+
var Po = [], gt = { type: "num" }, nn = { type: "regexp" }, Jt = { type: "string" }, Be = { type: "name" }, Kt = { type: "eof" }, qt = { keyword: "break" }, Zt = { keyword: "case", beforeExpr: !0 }, on = { keyword: "catch" }, an = { keyword: "continue" }, sn = { keyword: "debugger" }, un = { keyword: "default" }, ln = { keyword: "do", isLoop: !0 }, cn = { keyword: "else", beforeExpr: !0 }, fn = { keyword: "finally" }, pn = { keyword: "for", isLoop: !0 }, Qt = { keyword: "function" }, dn = { keyword: "if" }, hn = { keyword: "return", beforeExpr: !0 }, er = { keyword: "switch" }, mn = { keyword: "throw", beforeExpr: !0 }, yn = { keyword: "try" }, tr = { keyword: "var" }, rr = { keyword: "while", isLoop: !0 }, vn = { keyword: "with" }, bn = { keyword: "new", beforeExpr: !0 }, gn = { keyword: "this" }, _n = { keyword: "null", atomValue: null }, En = { keyword: "true", atomValue: !0 }, xn = { keyword: "false", atomValue: !1 }, _t = { keyword: "in", binop: 7, beforeExpr: !0 }, Ao = {
|
|
4270
4270
|
break: qt,
|
|
4271
4271
|
case: Zt,
|
|
4272
4272
|
catch: on,
|
|
@@ -4290,21 +4290,21 @@ function Tf() {
|
|
|
4290
4290
|
true: En,
|
|
4291
4291
|
false: xn,
|
|
4292
4292
|
new: bn,
|
|
4293
|
-
in:
|
|
4293
|
+
in: _t,
|
|
4294
4294
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4295
4295
|
this: gn,
|
|
4296
4296
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4297
4297
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4298
4298
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4299
|
-
}, nr = { type: "[", beforeExpr: !0 }, ir = { type: "]" },
|
|
4300
|
-
function
|
|
4301
|
-
for (var d = p.split(" "), _ = /* @__PURE__ */ Object.create(null),
|
|
4302
|
-
_[d[
|
|
4299
|
+
}, nr = { type: "[", beforeExpr: !0 }, ir = { type: "]" }, Ze = { type: "{", beforeExpr: !0 }, je = { type: "}" }, he = { type: "(", beforeExpr: !0 }, fe = { type: ")" }, Ee = { type: ",", beforeExpr: !0 }, me = { type: ";", beforeExpr: !0 }, Qe = { type: ":", beforeExpr: !0 }, Rn = { type: "." }, Sn = { type: "?", beforeExpr: !0 }, Tn = { binop: 10, beforeExpr: !0 }, On = { isAssign: !0, beforeExpr: !0 }, Ne = { isAssign: !0, beforeExpr: !0 }, Io = { postfix: !0, prefix: !0, isUpdate: !0 }, Nn = { prefix: !0, beforeExpr: !0 }, wn = { binop: 1, beforeExpr: !0 }, kn = { binop: 2, beforeExpr: !0 }, Lo = { binop: 3, beforeExpr: !0 }, Do = { binop: 4, beforeExpr: !0 }, Mo = { binop: 5, beforeExpr: !0 }, $o = { binop: 6, beforeExpr: !0 }, Bo = { binop: 7, beforeExpr: !0 }, jo = { binop: 8, beforeExpr: !0 }, Fo = { binop: 9, prefix: !0, beforeExpr: !0 }, Uo = { binop: 10, beforeExpr: !0 };
|
|
4300
|
+
function Et(p) {
|
|
4301
|
+
for (var d = p.split(" "), _ = /* @__PURE__ */ Object.create(null), T = 0; T < d.length; T++)
|
|
4302
|
+
_[d[T]] = !0;
|
|
4303
4303
|
return function(I) {
|
|
4304
4304
|
return _[I] || !1;
|
|
4305
4305
|
};
|
|
4306
4306
|
}
|
|
4307
|
-
var Vo =
|
|
4307
|
+
var Vo = Et("class enum extends super const export import"), Cn = Et("implements interface let package private protected public static yield"), xt = Et("eval arguments"), Go = Et("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Wo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Pn = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Yo = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", An = new RegExp("[" + Pn + "]"), zo = new RegExp("[" + Pn + Yo + "]"), Rt = /[\n\r\u2028\u2029]/, St = /\r\n|[\n\r\u2028\u2029]/g, Tt = function(p) {
|
|
4308
4308
|
return p < 65 ? p === 36 : p < 91 ? !0 : p < 97 ? p === 95 : p < 123 ? !0 : p >= 170 && An.test(String.fromCharCode(p));
|
|
4309
4309
|
}, In = function(p) {
|
|
4310
4310
|
return p < 48 ? p === 36 : p < 58 ? !0 : p < 65 ? !1 : p < 91 ? !0 : p < 97 ? p === 95 : p < 123 ? !0 : p >= 170 && zo.test(String.fromCharCode(p));
|
|
@@ -4313,17 +4313,17 @@ function Tf() {
|
|
|
4313
4313
|
this.line = P, this.column = a - k;
|
|
4314
4314
|
}
|
|
4315
4315
|
function Xo() {
|
|
4316
|
-
P = 1, a = k = 0, w = !0,
|
|
4316
|
+
P = 1, a = k = 0, w = !0, et();
|
|
4317
4317
|
}
|
|
4318
4318
|
function z(p, d) {
|
|
4319
|
-
y = a, r.locations && (O = new we()), E = p,
|
|
4319
|
+
y = a, r.locations && (O = new we()), E = p, et(), N = d, w = p.beforeExpr;
|
|
4320
4320
|
}
|
|
4321
4321
|
function Ho() {
|
|
4322
4322
|
var p = r.onComment && r.locations && new we(), d = a, _ = t.indexOf("*/", a += 2);
|
|
4323
4323
|
if (_ === -1 && D(a - 2, "Unterminated comment"), a = _ + 2, r.locations) {
|
|
4324
|
-
|
|
4325
|
-
for (var
|
|
4326
|
-
++P, k =
|
|
4324
|
+
St.lastIndex = d;
|
|
4325
|
+
for (var T; (T = St.exec(t)) && T.index < a; )
|
|
4326
|
+
++P, k = T.index + T[0].length;
|
|
4327
4327
|
}
|
|
4328
4328
|
r.onComment && r.onComment(
|
|
4329
4329
|
!0,
|
|
@@ -4346,7 +4346,7 @@ function Tf() {
|
|
|
4346
4346
|
r.locations && new we()
|
|
4347
4347
|
);
|
|
4348
4348
|
}
|
|
4349
|
-
function
|
|
4349
|
+
function et() {
|
|
4350
4350
|
for (; a < e; ) {
|
|
4351
4351
|
var p = t.charCodeAt(a);
|
|
4352
4352
|
if (p === 32)
|
|
@@ -4397,8 +4397,8 @@ function Tf() {
|
|
|
4397
4397
|
function ea(p) {
|
|
4398
4398
|
var d = t.charCodeAt(a + 1);
|
|
4399
4399
|
if (d === p) {
|
|
4400
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
4401
|
-
a += 3, or(),
|
|
4400
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && Rt.test(t.slice(ue, a))) {
|
|
4401
|
+
a += 3, or(), et(), Fe();
|
|
4402
4402
|
return;
|
|
4403
4403
|
}
|
|
4404
4404
|
X(Io, 2);
|
|
@@ -4411,7 +4411,7 @@ function Tf() {
|
|
|
4411
4411
|
return;
|
|
4412
4412
|
}
|
|
4413
4413
|
if (d === 33 && p === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4414
|
-
a += 4, or(),
|
|
4414
|
+
a += 4, or(), et(), Fe();
|
|
4415
4415
|
return;
|
|
4416
4416
|
}
|
|
4417
4417
|
d === 61 && (_ = t.charCodeAt(a + 2) === 61 ? 3 : 2), X(Bo, _);
|
|
@@ -4440,11 +4440,11 @@ function Tf() {
|
|
|
4440
4440
|
case 93:
|
|
4441
4441
|
return ++a, z(ir);
|
|
4442
4442
|
case 123:
|
|
4443
|
-
return ++a, z(
|
|
4443
|
+
return ++a, z(Ze);
|
|
4444
4444
|
case 125:
|
|
4445
4445
|
return ++a, z(je);
|
|
4446
4446
|
case 58:
|
|
4447
|
-
return ++a, z(
|
|
4447
|
+
return ++a, z(Qe);
|
|
4448
4448
|
case 63:
|
|
4449
4449
|
return ++a, z(Sn);
|
|
4450
4450
|
// '0x' is a hexadecimal number.
|
|
@@ -4499,14 +4499,14 @@ function Tf() {
|
|
|
4499
4499
|
if (p ? a = f + 1 : f = a, r.locations && (b = new we()), p) return Ln();
|
|
4500
4500
|
if (a >= e) return z(Kt);
|
|
4501
4501
|
var d = t.charCodeAt(a);
|
|
4502
|
-
if (
|
|
4502
|
+
if (Tt(d) || d === 92)
|
|
4503
4503
|
return $n();
|
|
4504
4504
|
var _ = na(d);
|
|
4505
4505
|
if (_ === !1) {
|
|
4506
|
-
var
|
|
4507
|
-
if (
|
|
4506
|
+
var T = String.fromCharCode(d);
|
|
4507
|
+
if (T === "\\" || An.test(T))
|
|
4508
4508
|
return $n();
|
|
4509
|
-
D(a, "Unexpected character '" +
|
|
4509
|
+
D(a, "Unexpected character '" + T + "'");
|
|
4510
4510
|
}
|
|
4511
4511
|
}
|
|
4512
4512
|
function X(p, d) {
|
|
@@ -4516,17 +4516,17 @@ function Tf() {
|
|
|
4516
4516
|
function Ln() {
|
|
4517
4517
|
for (var p, d, _ = a; ; ) {
|
|
4518
4518
|
a >= e && D(_, "Unterminated regexp");
|
|
4519
|
-
var
|
|
4520
|
-
if (
|
|
4519
|
+
var T = t.charAt(a);
|
|
4520
|
+
if (Rt.test(T) && D(_, "Unterminated regexp"), p)
|
|
4521
4521
|
p = !1;
|
|
4522
4522
|
else {
|
|
4523
|
-
if (
|
|
4523
|
+
if (T === "[")
|
|
4524
4524
|
d = !0;
|
|
4525
|
-
else if (
|
|
4525
|
+
else if (T === "]" && d)
|
|
4526
4526
|
d = !1;
|
|
4527
|
-
else if (
|
|
4527
|
+
else if (T === "/" && !d)
|
|
4528
4528
|
break;
|
|
4529
|
-
p =
|
|
4529
|
+
p = T === "\\";
|
|
4530
4530
|
}
|
|
4531
4531
|
++a;
|
|
4532
4532
|
}
|
|
@@ -4541,26 +4541,26 @@ function Tf() {
|
|
|
4541
4541
|
}
|
|
4542
4542
|
z(nn, L);
|
|
4543
4543
|
}
|
|
4544
|
-
function
|
|
4545
|
-
for (var _ = a,
|
|
4544
|
+
function tt(p, d) {
|
|
4545
|
+
for (var _ = a, T = 0, I = d === void 0 ? 1 / 0 : d, C = 0; C < I; ++C) {
|
|
4546
4546
|
var L = t.charCodeAt(a), U;
|
|
4547
4547
|
if (L >= 97 ? U = L - 97 + 10 : L >= 65 ? U = L - 65 + 10 : L >= 48 && L <= 57 ? U = L - 48 : U = 1 / 0, U >= p) break;
|
|
4548
|
-
++a,
|
|
4548
|
+
++a, T = T * p + U;
|
|
4549
4549
|
}
|
|
4550
|
-
return a === _ || d !== void 0 && a - _ !== d ? null :
|
|
4550
|
+
return a === _ || d !== void 0 && a - _ !== d ? null : T;
|
|
4551
4551
|
}
|
|
4552
4552
|
function ia() {
|
|
4553
4553
|
a += 2;
|
|
4554
|
-
var p =
|
|
4555
|
-
p === null && D(f + 2, "Expected hexadecimal number"),
|
|
4554
|
+
var p = tt(16);
|
|
4555
|
+
p === null && D(f + 2, "Expected hexadecimal number"), Tt(t.charCodeAt(a)) && D(a, "Identifier directly after number"), z(gt, p);
|
|
4556
4556
|
}
|
|
4557
4557
|
function Dn(p) {
|
|
4558
|
-
var d = a, _ = !1,
|
|
4559
|
-
!p &&
|
|
4558
|
+
var d = a, _ = !1, T = t.charCodeAt(a) === 48;
|
|
4559
|
+
!p && tt(10) === null && D(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, tt(10), _ = !0);
|
|
4560
4560
|
var I = t.charCodeAt(a);
|
|
4561
|
-
(I === 69 || I === 101) && (I = t.charCodeAt(++a), (I === 43 || I === 45) && ++a,
|
|
4561
|
+
(I === 69 || I === 101) && (I = t.charCodeAt(++a), (I === 43 || I === 45) && ++a, tt(10) === null && D(d, "Invalid number"), _ = !0), Tt(t.charCodeAt(a)) && D(a, "Identifier directly after number");
|
|
4562
4562
|
var C = t.slice(d, a), L;
|
|
4563
|
-
_ ? L = parseFloat(C) : !
|
|
4563
|
+
_ ? L = parseFloat(C) : !T || C.length === 1 ? L = parseInt(C, 10) : /[89]/.test(C) || ie ? D(d, "Invalid number") : L = parseInt(C, 8), z(gt, L);
|
|
4564
4564
|
}
|
|
4565
4565
|
function oa(p) {
|
|
4566
4566
|
a++;
|
|
@@ -4573,11 +4573,11 @@ function Tf() {
|
|
|
4573
4573
|
}
|
|
4574
4574
|
if (_ === 92) {
|
|
4575
4575
|
_ = t.charCodeAt(++a);
|
|
4576
|
-
var
|
|
4577
|
-
for (
|
|
4578
|
-
|
|
4579
|
-
if (
|
|
4580
|
-
ie && D(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(
|
|
4576
|
+
var T = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
4577
|
+
for (T && (T = T[0]); T && parseInt(T, 8) > 255; )
|
|
4578
|
+
T = T.slice(0, -1);
|
|
4579
|
+
if (T === "0" && (T = null), ++a, T)
|
|
4580
|
+
ie && D(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(T, 8)), a += T.length - 1;
|
|
4581
4581
|
else
|
|
4582
4582
|
switch (_) {
|
|
4583
4583
|
case 110:
|
|
@@ -4590,15 +4590,15 @@ function Tf() {
|
|
|
4590
4590
|
break;
|
|
4591
4591
|
// 'r' -> '\r'
|
|
4592
4592
|
case 120:
|
|
4593
|
-
d += String.fromCharCode(
|
|
4593
|
+
d += String.fromCharCode(Ot(2));
|
|
4594
4594
|
break;
|
|
4595
4595
|
// 'x'
|
|
4596
4596
|
case 117:
|
|
4597
|
-
d += String.fromCharCode(
|
|
4597
|
+
d += String.fromCharCode(Ot(4));
|
|
4598
4598
|
break;
|
|
4599
4599
|
// 'u'
|
|
4600
4600
|
case 85:
|
|
4601
|
-
d += String.fromCharCode(
|
|
4601
|
+
d += String.fromCharCode(Ot(8));
|
|
4602
4602
|
break;
|
|
4603
4603
|
// 'U'
|
|
4604
4604
|
case 116:
|
|
@@ -4634,8 +4634,8 @@ function Tf() {
|
|
|
4634
4634
|
(_ === 13 || _ === 10 || _ === 8232 || _ === 8233) && D(f, "Unterminated string constant"), d += String.fromCharCode(_), ++a;
|
|
4635
4635
|
}
|
|
4636
4636
|
}
|
|
4637
|
-
function
|
|
4638
|
-
var d =
|
|
4637
|
+
function Ot(p) {
|
|
4638
|
+
var d = tt(16, p);
|
|
4639
4639
|
return d === null && D(f, "Bad character escape sequence"), /** @type {number} */
|
|
4640
4640
|
d;
|
|
4641
4641
|
}
|
|
@@ -4643,13 +4643,13 @@ function Tf() {
|
|
|
4643
4643
|
function Mn() {
|
|
4644
4644
|
Ue = !1;
|
|
4645
4645
|
for (var p, d = !0, _ = a; ; ) {
|
|
4646
|
-
var
|
|
4647
|
-
if (In(
|
|
4646
|
+
var T = t.charCodeAt(a);
|
|
4647
|
+
if (In(T))
|
|
4648
4648
|
Ue && (p += t.charAt(a)), ++a;
|
|
4649
|
-
else if (
|
|
4649
|
+
else if (T === 92) {
|
|
4650
4650
|
Ue || (p = t.slice(_, a)), Ue = !0, t.charCodeAt(++a) !== 117 && D(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4651
|
-
var I =
|
|
4652
|
-
C || D(a - 1, "Invalid Unicode escape"), (d ?
|
|
4651
|
+
var I = Ot(4), C = String.fromCharCode(I);
|
|
4652
|
+
C || D(a - 1, "Invalid Unicode escape"), (d ? Tt(I) : In(I)) || D(a - 4, "Invalid Unicode escape"), p += C;
|
|
4653
4653
|
} else
|
|
4654
4654
|
break;
|
|
4655
4655
|
d = !1;
|
|
@@ -4668,7 +4668,7 @@ function Tf() {
|
|
|
4668
4668
|
for (; a < k; )
|
|
4669
4669
|
k = t.lastIndexOf(`
|
|
4670
4670
|
`, k - 2) + 1, --P;
|
|
4671
|
-
|
|
4671
|
+
et(), Fe();
|
|
4672
4672
|
}
|
|
4673
4673
|
function Bn() {
|
|
4674
4674
|
this.type = null, this.start = f, this.end = null;
|
|
@@ -4693,11 +4693,11 @@ function Tf() {
|
|
|
4693
4693
|
function V(p) {
|
|
4694
4694
|
return E === p ? ($(), !0) : !1;
|
|
4695
4695
|
}
|
|
4696
|
-
function
|
|
4697
|
-
return !r.strictSemicolons && (E === Kt || E === je ||
|
|
4696
|
+
function Nt() {
|
|
4697
|
+
return !r.strictSemicolons && (E === Kt || E === je || Rt.test(t.slice(ue, f)));
|
|
4698
4698
|
}
|
|
4699
4699
|
function ke() {
|
|
4700
|
-
!V(me) && !
|
|
4700
|
+
!V(me) && !Nt() && ye();
|
|
4701
4701
|
}
|
|
4702
4702
|
function W(p) {
|
|
4703
4703
|
E === p ? $() : ye();
|
|
@@ -4705,15 +4705,15 @@ function Tf() {
|
|
|
4705
4705
|
function ye() {
|
|
4706
4706
|
D(f, "Unexpected token");
|
|
4707
4707
|
}
|
|
4708
|
-
function
|
|
4709
|
-
p.type !== "Identifier" && p.type !== "MemberExpression" && D(p.start, "Assigning to rvalue"), ie && p.type === "Identifier" &&
|
|
4708
|
+
function wt(p) {
|
|
4709
|
+
p.type !== "Identifier" && p.type !== "MemberExpression" && D(p.start, "Assigning to rvalue"), ie && p.type === "Identifier" && xt(p.name) && D(p.start, "Assigning to " + p.name + " in strict mode");
|
|
4710
4710
|
}
|
|
4711
4711
|
function aa(p) {
|
|
4712
4712
|
ne = ue = a, r.locations && ($e = new we()), Oe = ie = !1, G = [], Fe();
|
|
4713
4713
|
var d = p || H(), _ = !0;
|
|
4714
4714
|
for (p || (d.body = []); E !== Kt; ) {
|
|
4715
|
-
var
|
|
4716
|
-
d.body.push(
|
|
4715
|
+
var T = le();
|
|
4716
|
+
d.body.push(T), _ && sr(T) && ar(!0), _ = !1;
|
|
4717
4717
|
}
|
|
4718
4718
|
return A(d, "Program");
|
|
4719
4719
|
}
|
|
@@ -4726,17 +4726,17 @@ function Tf() {
|
|
|
4726
4726
|
case an:
|
|
4727
4727
|
$();
|
|
4728
4728
|
var _ = p === qt;
|
|
4729
|
-
V(me) ||
|
|
4730
|
-
for (var
|
|
4731
|
-
var I = G[
|
|
4729
|
+
V(me) || Nt() ? d.label = null : E !== Be ? ye() : (d.label = Re(), ke());
|
|
4730
|
+
for (var T = 0; T < G.length; ++T) {
|
|
4731
|
+
var I = G[T];
|
|
4732
4732
|
if ((d.label === null || I.name === d.label.name) && (I.kind !== null && (_ || I.kind === "loop") || d.label && _))
|
|
4733
4733
|
break;
|
|
4734
4734
|
}
|
|
4735
|
-
return
|
|
4735
|
+
return T === G.length && D(d.start, "Unsyntactic " + p.keyword), A(d, _ ? "BreakStatement" : "ContinueStatement");
|
|
4736
4736
|
case sn:
|
|
4737
4737
|
return $(), ke(), A(d, "DebuggerStatement");
|
|
4738
4738
|
case ln:
|
|
4739
|
-
return $(), G.push(ur), d.body = le(), G.pop(), W(rr), d.test =
|
|
4739
|
+
return $(), G.push(ur), d.body = le(), G.pop(), W(rr), d.test = rt(), ke(), A(d, "DoWhileStatement");
|
|
4740
4740
|
// Disambiguating between a `for` and a `for`/`in` loop is
|
|
4741
4741
|
// non-trivial. Basically, we have to parse the init `var`
|
|
4742
4742
|
// statement or expression, disallowing the `in` operator (see
|
|
@@ -4748,41 +4748,41 @@ function Tf() {
|
|
|
4748
4748
|
if ($(), G.push(ur), W(he), E === me) return lr(d, null);
|
|
4749
4749
|
if (E === tr) {
|
|
4750
4750
|
var C = H();
|
|
4751
|
-
return $(), Un(C, !0), A(C, "VariableDeclaration"), C.declarations.length === 1 && V(
|
|
4751
|
+
return $(), Un(C, !0), A(C, "VariableDeclaration"), C.declarations.length === 1 && V(_t) ? Fn(d, C) : lr(d, C);
|
|
4752
4752
|
}
|
|
4753
4753
|
var C = J(!1, !0);
|
|
4754
|
-
return V(
|
|
4754
|
+
return V(_t) ? (wt(C), Fn(d, C)) : lr(d, C);
|
|
4755
4755
|
case Qt:
|
|
4756
4756
|
return $(), hr(d, !0);
|
|
4757
4757
|
case dn:
|
|
4758
|
-
return $(), d.test =
|
|
4758
|
+
return $(), d.test = rt(), d.consequent = le(), d.alternate = V(cn) ? le() : null, A(d, "IfStatement");
|
|
4759
4759
|
case hn:
|
|
4760
|
-
return !Oe && !r.allowReturnOutsideFunction && D(f, "'return' outside of function"), $(), V(me) ||
|
|
4760
|
+
return !Oe && !r.allowReturnOutsideFunction && D(f, "'return' outside of function"), $(), V(me) || Nt() ? d.argument = null : (d.argument = J(), ke()), A(d, "ReturnStatement");
|
|
4761
4761
|
case er:
|
|
4762
|
-
$(), d.discriminant =
|
|
4762
|
+
$(), d.discriminant = rt(), d.cases = [], W(Ze), G.push(sa);
|
|
4763
4763
|
for (var L, U; E !== je; )
|
|
4764
4764
|
if (E === Zt || E === un) {
|
|
4765
|
-
var
|
|
4766
|
-
L && A(L, "SwitchCase"), d.cases.push(L = H()), L.consequent = [], $(),
|
|
4765
|
+
var ot = E === Zt;
|
|
4766
|
+
L && A(L, "SwitchCase"), d.cases.push(L = H()), L.consequent = [], $(), ot ? L.test = J() : (U && D(ne, "Multiple default clauses"), U = !0, L.test = null), W(Qe);
|
|
4767
4767
|
} else
|
|
4768
4768
|
L || ye(), L.consequent.push(le());
|
|
4769
4769
|
return L && A(L, "SwitchCase"), $(), G.pop(), A(d, "SwitchStatement");
|
|
4770
4770
|
case mn:
|
|
4771
|
-
return $(),
|
|
4771
|
+
return $(), Rt.test(t.slice(ue, f)) && D(ue, "Illegal newline after throw"), d.argument = J(), ke(), A(d, "ThrowStatement");
|
|
4772
4772
|
case yn:
|
|
4773
|
-
if ($(), d.block =
|
|
4773
|
+
if ($(), d.block = nt(), d.handler = null, E === on) {
|
|
4774
4774
|
var Ve = H();
|
|
4775
|
-
$(), W(he), Ve.param = Re(), ie &&
|
|
4775
|
+
$(), W(he), Ve.param = Re(), ie && xt(Ve.param.name) && D(Ve.param.start, "Binding " + Ve.param.name + " in strict mode"), W(fe), Ve.body = nt(), d.handler = A(Ve, "CatchClause");
|
|
4776
4776
|
}
|
|
4777
|
-
return d.finalizer = V(fn) ?
|
|
4777
|
+
return d.finalizer = V(fn) ? nt() : null, !d.handler && !d.finalizer && D(d.start, "Missing catch or finally clause"), A(d, "TryStatement");
|
|
4778
4778
|
case tr:
|
|
4779
4779
|
return $(), Un(d), ke(), A(d, "VariableDeclaration");
|
|
4780
4780
|
case rr:
|
|
4781
|
-
return $(), d.test =
|
|
4781
|
+
return $(), d.test = rt(), G.push(ur), d.body = le(), G.pop(), A(d, "WhileStatement");
|
|
4782
4782
|
case vn:
|
|
4783
|
-
return ie && D(f, "'with' in strict mode"), $(), d.object =
|
|
4784
|
-
case
|
|
4785
|
-
return
|
|
4783
|
+
return ie && D(f, "'with' in strict mode"), $(), d.object = rt(), d.body = le(), A(d, "WithStatement");
|
|
4784
|
+
case Ze:
|
|
4785
|
+
return nt();
|
|
4786
4786
|
case me:
|
|
4787
4787
|
return $(), A(d, "EmptyStatement");
|
|
4788
4788
|
// If the statement does not start with a statement keyword or a
|
|
@@ -4791,28 +4791,28 @@ function Tf() {
|
|
|
4791
4791
|
// next token is a colon and the expression was a simple
|
|
4792
4792
|
// Identifier node, we switch to interpreting it as a label.
|
|
4793
4793
|
default:
|
|
4794
|
-
var yr = N,
|
|
4795
|
-
if (p === Be &&
|
|
4796
|
-
for (var
|
|
4797
|
-
G[
|
|
4794
|
+
var yr = N, kt = J();
|
|
4795
|
+
if (p === Be && kt.type === "Identifier" && V(Qe)) {
|
|
4796
|
+
for (var T = 0; T < G.length; ++T)
|
|
4797
|
+
G[T].name === yr && D(kt.start, "Label '" + yr + "' is already declared");
|
|
4798
4798
|
var da = E.isLoop ? "loop" : E === er ? "switch" : null;
|
|
4799
|
-
return G.push({ name: yr, kind: da }), d.body = le(), G.pop(), d.label =
|
|
4799
|
+
return G.push({ name: yr, kind: da }), d.body = le(), G.pop(), d.label = kt, A(d, "LabeledStatement");
|
|
4800
4800
|
} else
|
|
4801
|
-
return d.expression =
|
|
4801
|
+
return d.expression = kt, ke(), A(d, "ExpressionStatement");
|
|
4802
4802
|
}
|
|
4803
4803
|
}
|
|
4804
|
-
function
|
|
4804
|
+
function rt() {
|
|
4805
4805
|
W(he);
|
|
4806
4806
|
var p = J();
|
|
4807
4807
|
return W(fe), p;
|
|
4808
4808
|
}
|
|
4809
|
-
function
|
|
4810
|
-
var d = H(), _ = !0,
|
|
4811
|
-
for (d.body = [], W(
|
|
4809
|
+
function nt(p) {
|
|
4810
|
+
var d = H(), _ = !0, T = !1, I;
|
|
4811
|
+
for (d.body = [], W(Ze); !V(je); ) {
|
|
4812
4812
|
var C = le();
|
|
4813
|
-
d.body.push(C), _ && p && sr(C) && (I =
|
|
4813
|
+
d.body.push(C), _ && p && sr(C) && (I = T, ar(T = !0)), _ = !1;
|
|
4814
4814
|
}
|
|
4815
|
-
return
|
|
4815
|
+
return T && !I && ar(!1), A(d, "BlockStatement");
|
|
4816
4816
|
}
|
|
4817
4817
|
function lr(p, d) {
|
|
4818
4818
|
return p.init = d, W(me), p.test = E === me ? null : J(), W(me), p.update = E === fe ? null : J(), W(fe), p.body = le(), G.pop(), A(p, "ForStatement");
|
|
@@ -4823,15 +4823,15 @@ function Tf() {
|
|
|
4823
4823
|
function Un(p, d) {
|
|
4824
4824
|
for (p.declarations = [], p.kind = "var"; ; ) {
|
|
4825
4825
|
var _ = H();
|
|
4826
|
-
if (_.id = Re(), ie &&
|
|
4826
|
+
if (_.id = Re(), ie && xt(_.id.name) && D(_.id.start, "Binding " + _.id.name + " in strict mode"), _.init = V(On) ? J(!0, d) : null, p.declarations.push(A(_, "VariableDeclarator")), !V(Ee)) break;
|
|
4827
4827
|
}
|
|
4828
4828
|
}
|
|
4829
4829
|
function J(p, d) {
|
|
4830
4830
|
var _ = cr(d);
|
|
4831
4831
|
if (!p && E === Ee) {
|
|
4832
|
-
var
|
|
4833
|
-
for (
|
|
4834
|
-
return A(
|
|
4832
|
+
var T = xe(_);
|
|
4833
|
+
for (T.expressions = [_]; V(Ee); ) T.expressions.push(cr(d));
|
|
4834
|
+
return A(T, "SequenceExpression");
|
|
4835
4835
|
}
|
|
4836
4836
|
return _;
|
|
4837
4837
|
}
|
|
@@ -4839,7 +4839,7 @@ function Tf() {
|
|
|
4839
4839
|
var d = ua(p);
|
|
4840
4840
|
if (E.isAssign) {
|
|
4841
4841
|
var _ = xe(d);
|
|
4842
|
-
return _.operator = N, _.left = d, $(), _.right = cr(p),
|
|
4842
|
+
return _.operator = N, _.left = d, $(), _.right = cr(p), wt(d), A(_, "AssignmentExpression");
|
|
4843
4843
|
}
|
|
4844
4844
|
return d;
|
|
4845
4845
|
}
|
|
@@ -4847,7 +4847,7 @@ function Tf() {
|
|
|
4847
4847
|
var d = la(p);
|
|
4848
4848
|
if (V(Sn)) {
|
|
4849
4849
|
var _ = xe(d);
|
|
4850
|
-
return _.test = d, _.consequent = J(!0), W(
|
|
4850
|
+
return _.test = d, _.consequent = J(!0), W(Qe), _.alternate = J(!0, p), A(_, "ConditionalExpression");
|
|
4851
4851
|
}
|
|
4852
4852
|
return d;
|
|
4853
4853
|
}
|
|
@@ -4855,12 +4855,12 @@ function Tf() {
|
|
|
4855
4855
|
return fr(pr(), -1, p);
|
|
4856
4856
|
}
|
|
4857
4857
|
function fr(p, d, _) {
|
|
4858
|
-
var
|
|
4859
|
-
if (
|
|
4858
|
+
var T = E.binop;
|
|
4859
|
+
if (T !== null && (!_ || E !== _t) && T > d) {
|
|
4860
4860
|
var I = xe(p);
|
|
4861
4861
|
I.left = p, I.operator = N;
|
|
4862
4862
|
var C = E;
|
|
4863
|
-
$(), I.right = fr(pr(),
|
|
4863
|
+
$(), I.right = fr(pr(), T, _);
|
|
4864
4864
|
var L = A(I, C === wn || C === kn ? "LogicalExpression" : "BinaryExpression");
|
|
4865
4865
|
return fr(L, d, _);
|
|
4866
4866
|
}
|
|
@@ -4869,20 +4869,20 @@ function Tf() {
|
|
|
4869
4869
|
function pr() {
|
|
4870
4870
|
if (E.prefix) {
|
|
4871
4871
|
var p = H(), d = E.isUpdate;
|
|
4872
|
-
return p.operator = N, p.prefix = !0, w = !0, $(), p.argument = pr(), d ?
|
|
4872
|
+
return p.operator = N, p.prefix = !0, w = !0, $(), p.argument = pr(), d ? wt(p.argument) : ie && p.operator === "delete" && p.argument.type === "Identifier" && D(p.start, "Deleting local variable in strict mode"), A(p, d ? "UpdateExpression" : "UnaryExpression");
|
|
4873
4873
|
}
|
|
4874
|
-
for (var _ = ca(); E.postfix && !
|
|
4874
|
+
for (var _ = ca(); E.postfix && !Nt(); ) {
|
|
4875
4875
|
var p = xe(_);
|
|
4876
|
-
p.operator = N, p.prefix = !1, p.argument = _,
|
|
4876
|
+
p.operator = N, p.prefix = !1, p.argument = _, wt(_), $(), _ = A(p, "UpdateExpression");
|
|
4877
4877
|
}
|
|
4878
4878
|
return _;
|
|
4879
4879
|
}
|
|
4880
4880
|
function ca() {
|
|
4881
|
-
return
|
|
4881
|
+
return it(dr());
|
|
4882
4882
|
}
|
|
4883
|
-
function
|
|
4883
|
+
function it(p, d) {
|
|
4884
4884
|
var _;
|
|
4885
|
-
return V(Rn) ? (_ = xe(p), _.object = p, _.property = Re(!0), _.computed = !1,
|
|
4885
|
+
return V(Rn) ? (_ = xe(p), _.object = p, _.property = Re(!0), _.computed = !1, it(A(_, "MemberExpression"), d)) : V(nr) ? (_ = xe(p), _.object = p, _.property = J(), _.computed = !0, W(ir), it(A(_, "MemberExpression"), d)) : !d && V(he) ? (_ = xe(p), _.callee = p, _.arguments = mr(fe, !1), it(A(_, "CallExpression"), d)) : p;
|
|
4886
4886
|
}
|
|
4887
4887
|
function dr() {
|
|
4888
4888
|
var p;
|
|
@@ -4891,7 +4891,7 @@ function Tf() {
|
|
|
4891
4891
|
return p = H(), $(), A(p, "ThisExpression");
|
|
4892
4892
|
case Be:
|
|
4893
4893
|
return Re();
|
|
4894
|
-
case
|
|
4894
|
+
case gt:
|
|
4895
4895
|
case Jt:
|
|
4896
4896
|
case nn:
|
|
4897
4897
|
return p = H(), p.value = N, p.raw = t.slice(f, y), $(), A(p, "Literal");
|
|
@@ -4902,11 +4902,11 @@ function Tf() {
|
|
|
4902
4902
|
case he:
|
|
4903
4903
|
var d = b, _ = f;
|
|
4904
4904
|
$();
|
|
4905
|
-
var
|
|
4906
|
-
return
|
|
4905
|
+
var T = J();
|
|
4906
|
+
return T.start = _, T.end = y, r.locations && (T.loc.start = d, T.loc.end = O), r.ranges && (T.range = [_, y]), W(fe), T;
|
|
4907
4907
|
case nr:
|
|
4908
4908
|
return p = H(), $(), p.elements = mr(ir, !0, !0), A(p, "ArrayExpression");
|
|
4909
|
-
case
|
|
4909
|
+
case Ze:
|
|
4910
4910
|
return pa();
|
|
4911
4911
|
case Qt:
|
|
4912
4912
|
return p = H(), $(), hr(p, !1);
|
|
@@ -4917,7 +4917,7 @@ function Tf() {
|
|
|
4917
4917
|
}
|
|
4918
4918
|
function fa() {
|
|
4919
4919
|
var p = H();
|
|
4920
|
-
return $(), p.callee =
|
|
4920
|
+
return $(), p.callee = it(dr(), !0), p.arguments = V(he) ? mr(fe, !1) : Po, A(p, "NewExpression");
|
|
4921
4921
|
}
|
|
4922
4922
|
function pa() {
|
|
4923
4923
|
var p = H(), d = !0, _ = !1;
|
|
@@ -4926,46 +4926,46 @@ function Tf() {
|
|
|
4926
4926
|
d = !1;
|
|
4927
4927
|
else if (W(Ee), r.allowTrailingCommas && V(je))
|
|
4928
4928
|
break;
|
|
4929
|
-
var
|
|
4930
|
-
if (V(
|
|
4929
|
+
var T = { key: Vn() }, I = !1, C;
|
|
4930
|
+
if (V(Qe) ? (T.value = J(!0), C = T.kind = "init") : T.key.type === "Identifier" && (T.key.name === "get" || T.key.name === "set") ? (I = _ = !0, C = T.kind = T.key.name, T.key = Vn(), E !== he && ye(), T.value = hr(H(), !1)) : ye(), T.key.type === "Identifier" && (ie || _))
|
|
4931
4931
|
for (var L = 0; L < p.properties.length; ++L) {
|
|
4932
4932
|
var U = p.properties[L];
|
|
4933
|
-
if (U.key.name ===
|
|
4934
|
-
var
|
|
4935
|
-
|
|
4933
|
+
if (U.key.name === T.key.name) {
|
|
4934
|
+
var ot = C === U.kind || I && U.kind === "init" || C === "init" && (U.kind === "get" || U.kind === "set");
|
|
4935
|
+
ot && !ie && C === "init" && U.kind === "init" && (ot = !1), ot && D(T.key.start, "Redefinition of property");
|
|
4936
4936
|
}
|
|
4937
4937
|
}
|
|
4938
|
-
p.properties.push(
|
|
4938
|
+
p.properties.push(T);
|
|
4939
4939
|
}
|
|
4940
4940
|
return A(p, "ObjectExpression");
|
|
4941
4941
|
}
|
|
4942
4942
|
function Vn() {
|
|
4943
|
-
return E ===
|
|
4943
|
+
return E === gt || E === Jt ? dr() : Re(!0);
|
|
4944
4944
|
}
|
|
4945
4945
|
function hr(p, d) {
|
|
4946
4946
|
E === Be ? p.id = Re() : d ? ye() : p.id = null, p.params = [];
|
|
4947
4947
|
var _ = !0;
|
|
4948
4948
|
for (W(he); !V(fe); )
|
|
4949
4949
|
_ ? _ = !1 : W(Ee), p.params.push(Re());
|
|
4950
|
-
var
|
|
4951
|
-
if (Oe = !0, G = [], p.body =
|
|
4950
|
+
var T = Oe, I = G;
|
|
4951
|
+
if (Oe = !0, G = [], p.body = nt(!0), Oe = T, G = I, ie || p.body.body.length && sr(p.body.body[0]))
|
|
4952
4952
|
for (var C = p.id ? -1 : 0; C < p.params.length; ++C) {
|
|
4953
4953
|
var L = C < 0 ? p.id : p.params[C];
|
|
4954
|
-
if ((Cn(L.name) ||
|
|
4954
|
+
if ((Cn(L.name) || xt(L.name)) && D(L.start, "Defining '" + L.name + "' in strict mode"), C >= 0)
|
|
4955
4955
|
for (var U = 0; U < C; ++U)
|
|
4956
4956
|
L.name === p.params[U].name && D(L.start, "Argument name clash in strict mode");
|
|
4957
4957
|
}
|
|
4958
4958
|
return A(p, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
4959
4959
|
}
|
|
4960
4960
|
function mr(p, d, _) {
|
|
4961
|
-
for (var
|
|
4961
|
+
for (var T = [], I = !0; !V(p); ) {
|
|
4962
4962
|
if (I)
|
|
4963
4963
|
I = !1;
|
|
4964
4964
|
else if (W(Ee), d && r.allowTrailingCommas && V(p))
|
|
4965
4965
|
break;
|
|
4966
|
-
|
|
4966
|
+
T.push(_ && E === Ee ? null : J(!0));
|
|
4967
4967
|
}
|
|
4968
|
-
return
|
|
4968
|
+
return T;
|
|
4969
4969
|
}
|
|
4970
4970
|
function Re(p) {
|
|
4971
4971
|
var d = H();
|
|
@@ -4987,10 +4987,10 @@ function Tf() {
|
|
|
4987
4987
|
/******/
|
|
4988
4988
|
}, h = {};
|
|
4989
4989
|
function v(m) {
|
|
4990
|
-
var
|
|
4991
|
-
if (
|
|
4992
|
-
return
|
|
4993
|
-
var
|
|
4990
|
+
var R = h[m];
|
|
4991
|
+
if (R !== void 0)
|
|
4992
|
+
return R.exports;
|
|
4993
|
+
var x = h[m] = {
|
|
4994
4994
|
/******/
|
|
4995
4995
|
// no module.id needed
|
|
4996
4996
|
/******/
|
|
@@ -4999,12 +4999,12 @@ function Tf() {
|
|
|
4999
4999
|
exports: {}
|
|
5000
5000
|
/******/
|
|
5001
5001
|
};
|
|
5002
|
-
return c[m].call(
|
|
5002
|
+
return c[m].call(x.exports, x, x.exports, v), x.exports;
|
|
5003
5003
|
}
|
|
5004
|
-
v.d = (m,
|
|
5005
|
-
for (var
|
|
5006
|
-
v.o(
|
|
5007
|
-
}, v.o = (m,
|
|
5004
|
+
v.d = (m, R) => {
|
|
5005
|
+
for (var x in R)
|
|
5006
|
+
v.o(R, x) && !v.o(m, x) && Object.defineProperty(m, x, { enumerable: !0, get: R[x] });
|
|
5007
|
+
}, v.o = (m, R) => Object.prototype.hasOwnProperty.call(m, R), v.r = (m) => {
|
|
5008
5008
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5009
5009
|
};
|
|
5010
5010
|
var g = {};
|
|
@@ -5014,7 +5014,7 @@ function Tf() {
|
|
|
5014
5014
|
\*******************************/
|
|
5015
5015
|
v.r(g), v.d(g, {
|
|
5016
5016
|
/* harmony export */
|
|
5017
|
-
default: () =>
|
|
5017
|
+
default: () => x
|
|
5018
5018
|
/* harmony export */
|
|
5019
5019
|
});
|
|
5020
5020
|
const m = v(
|
|
@@ -5022,41 +5022,41 @@ function Tf() {
|
|
|
5022
5022
|
"./original-repo/acorn.js"
|
|
5023
5023
|
);
|
|
5024
5024
|
globalThis.acorn = m;
|
|
5025
|
-
const { Interpreter:
|
|
5025
|
+
const { Interpreter: R } = v(
|
|
5026
5026
|
/*! ../original-repo/interpreter */
|
|
5027
5027
|
"./original-repo/interpreter.js"
|
|
5028
|
-
),
|
|
5028
|
+
), x = R;
|
|
5029
5029
|
})(), g = g.default, g;
|
|
5030
5030
|
})()
|
|
5031
5031
|
));
|
|
5032
|
-
}(
|
|
5032
|
+
}(Lt)), Lt.exports;
|
|
5033
5033
|
}
|
|
5034
5034
|
var Of = Tf();
|
|
5035
5035
|
const Nf = /* @__PURE__ */ gf(Of);
|
|
5036
5036
|
function wf(n, o) {
|
|
5037
|
-
function c(
|
|
5038
|
-
const
|
|
5039
|
-
console.log(
|
|
5037
|
+
function c(R) {
|
|
5038
|
+
const x = n.pseudoToNative(R);
|
|
5039
|
+
console.log(x);
|
|
5040
5040
|
}
|
|
5041
|
-
function h(
|
|
5042
|
-
const
|
|
5041
|
+
function h(R) {
|
|
5042
|
+
const x = n.pseudoToNative(R);
|
|
5043
5043
|
let r = "";
|
|
5044
|
-
typeof
|
|
5044
|
+
typeof x == "object" ? r = JSON.stringify(x) : r = String(x), zr.emit("consoleAppend", r);
|
|
5045
5045
|
}
|
|
5046
|
-
function v(
|
|
5047
|
-
const r = n.pseudoToNative(
|
|
5046
|
+
function v(R, x) {
|
|
5047
|
+
const r = n.pseudoToNative(R), t = n.pseudoToNative(x);
|
|
5048
5048
|
r === "info" ? ba(t) : r === "success" ? ga(t) : r === "warning" ? _a(t) : r === "error" && Ea(t);
|
|
5049
5049
|
}
|
|
5050
|
-
function g(
|
|
5051
|
-
const r = n.pseudoToNative(
|
|
5050
|
+
function g(R, x) {
|
|
5051
|
+
const r = n.pseudoToNative(R), t = n.pseudoToNative(x);
|
|
5052
5052
|
setTimeout(() => {
|
|
5053
5053
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
5054
5054
|
}, t);
|
|
5055
5055
|
}
|
|
5056
|
-
function m(
|
|
5057
|
-
const r = n.pseudoToNative(
|
|
5056
|
+
function m(R, x) {
|
|
5057
|
+
const r = n.pseudoToNative(R);
|
|
5058
5058
|
setTimeout(() => {
|
|
5059
|
-
|
|
5059
|
+
x(), n.run();
|
|
5060
5060
|
}, r);
|
|
5061
5061
|
}
|
|
5062
5062
|
n.setProperty(
|
|
@@ -5099,12 +5099,12 @@ class kf {
|
|
|
5099
5099
|
const v = `parent=${o} ref=${c} keyOrRefid=${h}`;
|
|
5100
5100
|
let g;
|
|
5101
5101
|
if (o) {
|
|
5102
|
-
const
|
|
5103
|
-
if (!
|
|
5102
|
+
const R = this.getNode(o);
|
|
5103
|
+
if (!R)
|
|
5104
5104
|
return console.error(`NodeMgr/addNode parent not found, ${v}`), "";
|
|
5105
|
-
if (!
|
|
5105
|
+
if (!R.children)
|
|
5106
5106
|
return console.error(`NodeMgr/addNode parent no children, ${v}`), "";
|
|
5107
|
-
g =
|
|
5107
|
+
g = R.children;
|
|
5108
5108
|
} else
|
|
5109
5109
|
g = this.context.data.view.nodes;
|
|
5110
5110
|
if (!g)
|
|
@@ -5151,7 +5151,7 @@ function Cf(n, o, c) {
|
|
|
5151
5151
|
a = a[O];
|
|
5152
5152
|
}
|
|
5153
5153
|
}
|
|
5154
|
-
function
|
|
5154
|
+
function R(e, i, u) {
|
|
5155
5155
|
const s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = o.pseudoToNative(u), f = `id=${s} keys=${l} value=${a}`;
|
|
5156
5156
|
let y;
|
|
5157
5157
|
if (s === "globality" ? y = n.data.view : y = h.getNode(s), !y) {
|
|
@@ -5172,7 +5172,7 @@ function Cf(n, o, c) {
|
|
|
5172
5172
|
}
|
|
5173
5173
|
}
|
|
5174
5174
|
}
|
|
5175
|
-
function
|
|
5175
|
+
function x(e, i, u, s) {
|
|
5176
5176
|
var b;
|
|
5177
5177
|
const l = o.pseudoToNative(e), a = o.pseudoToNative(i), f = o.pseudoToNative(u), y = { outputs: [] };
|
|
5178
5178
|
(b = n.eventBus) == null || b.emit(`callMethod@${l}`, { name: a, inputs: f, result: y }), s(o.nativeToPseudo(y.outputs)), o.run();
|
|
@@ -5204,11 +5204,11 @@ function Cf(n, o, c) {
|
|
|
5204
5204
|
), o.setProperty(
|
|
5205
5205
|
c,
|
|
5206
5206
|
"__setNodePropV1__",
|
|
5207
|
-
o.createNativeFunction(
|
|
5207
|
+
o.createNativeFunction(R)
|
|
5208
5208
|
), o.setProperty(
|
|
5209
5209
|
c,
|
|
5210
5210
|
"__callNodeMethodV1__",
|
|
5211
|
-
o.createAsyncFunction(
|
|
5211
|
+
o.createAsyncFunction(x)
|
|
5212
5212
|
), o.setProperty(
|
|
5213
5213
|
c,
|
|
5214
5214
|
"__openConfirmDlgV1__",
|
|
@@ -5228,6 +5228,9 @@ var __env__ = 'dev'
|
|
|
5228
5228
|
function __getEnvV1__() {
|
|
5229
5229
|
return __env__
|
|
5230
5230
|
}
|
|
5231
|
+
|
|
5232
|
+
var __pointerPosX__ = 0
|
|
5233
|
+
var __pointerPosY__ = 0
|
|
5231
5234
|
`, If = `
|
|
5232
5235
|
var __events__ = {}
|
|
5233
5236
|
|
|
@@ -5362,8 +5365,8 @@ function Ge(n) {
|
|
|
5362
5365
|
}
|
|
5363
5366
|
function ld(n, o, c, h, v) {
|
|
5364
5367
|
let g = n;
|
|
5365
|
-
for (let
|
|
5366
|
-
if (g = g.children[o[
|
|
5368
|
+
for (let R = 0; R < o.length; R++)
|
|
5369
|
+
if (g = g.children[o[R]], !g) {
|
|
5367
5370
|
console.assert(!1, `unpkg context failed parentKeys=${o}`);
|
|
5368
5371
|
return;
|
|
5369
5372
|
}
|
|
@@ -5413,9 +5416,9 @@ const Bf = /* @__PURE__ */ Q({
|
|
|
5413
5416
|
outer: { type: Boolean }
|
|
5414
5417
|
},
|
|
5415
5418
|
setup(n) {
|
|
5416
|
-
const { t: o } = Vi(), c = n, h = Ro(), v = re(), g =
|
|
5419
|
+
const { t: o } = Vi(), c = n, h = Ro(), v = re(), g = Ke(), m = De(), R = Me(), x = So(), r = We(-1), t = We(), e = {};
|
|
5417
5420
|
To(e), v === "runtime" && (e.eventBus = wo()), Li(() => {
|
|
5418
|
-
const b =
|
|
5421
|
+
const b = x.value[c.refContext.refid];
|
|
5419
5422
|
if (!b) {
|
|
5420
5423
|
r.value = -1, t.value = void 0, e.interpreter && (Ge(e.interpreter), e.interpreter = void 0), zr.emit("compNotAvail", c.refContext.refid);
|
|
5421
5424
|
return;
|
|
@@ -5428,15 +5431,15 @@ const Bf = /* @__PURE__ */ Q({
|
|
|
5428
5431
|
{ env: h, type: m, data: O, eventBus: e.eventBus },
|
|
5429
5432
|
E
|
|
5430
5433
|
));
|
|
5431
|
-
}),
|
|
5434
|
+
}), ht(() => {
|
|
5432
5435
|
e.interpreter && (Ge(e.interpreter), e.interpreter = void 0);
|
|
5433
5436
|
});
|
|
5434
|
-
const { applySize: i } =
|
|
5435
|
-
const b = {}, O =
|
|
5437
|
+
const { applySize: i } = qe(v, g, c), u = S(() => {
|
|
5438
|
+
const b = {}, O = R.value.type;
|
|
5436
5439
|
return m === "page" ? O === "common" ? i(b) : console.assert(!1) : m === "comp" && O === "common" ? i(b) : console.assert(!1), b;
|
|
5437
5440
|
});
|
|
5438
5441
|
function s(b) {
|
|
5439
|
-
const O = rn[
|
|
5442
|
+
const O = rn[R.value.version].refKey, E = Ae[O];
|
|
5440
5443
|
return E ? K(E.comp, {
|
|
5441
5444
|
refContext: {
|
|
5442
5445
|
parent: c.refContext,
|
|
@@ -5491,22 +5494,22 @@ const Bf = /* @__PURE__ */ Q({
|
|
|
5491
5494
|
state: {}
|
|
5492
5495
|
},
|
|
5493
5496
|
setup(n) {
|
|
5494
|
-
const { t: o } = Vi(), c = n, h = Ro(), v = re(), g = De(), m = Me(),
|
|
5497
|
+
const { t: o } = Vi(), c = n, h = Ro(), v = re(), g = De(), m = Me(), R = So(), x = We(-1), r = We(), t = {};
|
|
5495
5498
|
To(t), v === "runtime" && (t.eventBus = wo()), Li(() => {
|
|
5496
|
-
const f =
|
|
5499
|
+
const f = R.value[c.refContext.refid];
|
|
5497
5500
|
if (!f) {
|
|
5498
|
-
|
|
5501
|
+
x.value = -1, r.value = void 0, t.interpreter && (Ge(t.interpreter), t.interpreter = void 0), zr.emit("compNotAvail", c.refContext.refid);
|
|
5499
5502
|
return;
|
|
5500
5503
|
}
|
|
5501
|
-
if (
|
|
5504
|
+
if (x.value === f.dataSeq)
|
|
5502
5505
|
return;
|
|
5503
|
-
|
|
5506
|
+
x.value = f.dataSeq, r.value = Z(f.data), t.interpreter && Ge(t.interpreter);
|
|
5504
5507
|
const y = r.value, b = y.code.script;
|
|
5505
5508
|
b && (t.interpreter = No(
|
|
5506
5509
|
{ env: h, type: g, data: y, eventBus: t.eventBus },
|
|
5507
5510
|
b
|
|
5508
5511
|
));
|
|
5509
|
-
}),
|
|
5512
|
+
}), ht(() => {
|
|
5510
5513
|
t.interpreter && (Ge(t.interpreter), t.interpreter = void 0);
|
|
5511
5514
|
});
|
|
5512
5515
|
const e = () => {
|
|
@@ -5575,37 +5578,37 @@ const Bf = /* @__PURE__ */ Q({
|
|
|
5575
5578
|
},
|
|
5576
5579
|
setup(n) {
|
|
5577
5580
|
var u;
|
|
5578
|
-
const o = n, c = re(), h = de(), v = Zr(), g =
|
|
5581
|
+
const o = n, c = re(), h = de(), v = Zr(), g = S(() => {
|
|
5579
5582
|
var s;
|
|
5580
5583
|
return (s = o.node.settings) == null ? void 0 : s.text;
|
|
5581
|
-
}), m =
|
|
5584
|
+
}), m = S(() => {
|
|
5582
5585
|
var s;
|
|
5583
5586
|
return (s = o.node.settings) == null ? void 0 : s.disabled;
|
|
5584
|
-
}),
|
|
5587
|
+
}), R = S(() => {
|
|
5585
5588
|
var s;
|
|
5586
5589
|
return (s = o.node.settings) == null ? void 0 : s.variant;
|
|
5587
|
-
}),
|
|
5590
|
+
}), x = S(() => {
|
|
5588
5591
|
var s;
|
|
5589
5592
|
return (s = o.node.settings) == null ? void 0 : s.density;
|
|
5590
|
-
}), r =
|
|
5593
|
+
}), r = S(() => {
|
|
5591
5594
|
var s;
|
|
5592
5595
|
return (s = o.node.settings) == null ? void 0 : s.block;
|
|
5593
|
-
}), t =
|
|
5596
|
+
}), t = S(() => h.value ? "dark" : "light"), { color: e } = zt(h, (u = o.node.settings) == null ? void 0 : u.color), i = (s) => {
|
|
5594
5597
|
if (c !== "runtime")
|
|
5595
5598
|
return;
|
|
5596
|
-
const
|
|
5597
|
-
if (!
|
|
5599
|
+
const l = v.interpreter;
|
|
5600
|
+
if (!l)
|
|
5598
5601
|
return;
|
|
5599
|
-
const l = s.nativeToPseudo(o.node.basic.id);
|
|
5600
|
-
|
|
5602
|
+
const a = l.nativeToPseudo(s.clientX), f = l.nativeToPseudo(s.clientY), y = l.nativeToPseudo(o.node.basic.id);
|
|
5603
|
+
l.appendCode(`__pointerPosX__ = ${a};`), l.appendCode(`__pointerPosY__ = ${f};`), l.appendCode(`__triggerEvent__('${y}', 'click');`), l.run();
|
|
5601
5604
|
};
|
|
5602
5605
|
return (s, l) => {
|
|
5603
5606
|
const a = se("v-btn");
|
|
5604
5607
|
return F(), te(a, {
|
|
5605
5608
|
text: g.value,
|
|
5606
5609
|
disabled: m.value,
|
|
5607
|
-
variant:
|
|
5608
|
-
density:
|
|
5610
|
+
variant: R.value,
|
|
5611
|
+
density: x.value,
|
|
5609
5612
|
color: ge(e),
|
|
5610
5613
|
block: r.value,
|
|
5611
5614
|
theme: t.value,
|
|
@@ -5623,7 +5626,7 @@ function Uf(n, o) {
|
|
|
5623
5626
|
const c = se("v-card");
|
|
5624
5627
|
return F(), te(c, null, {
|
|
5625
5628
|
default: ee(() => [
|
|
5626
|
-
|
|
5629
|
+
Xe(n.$slots, "default")
|
|
5627
5630
|
]),
|
|
5628
5631
|
_: 3
|
|
5629
5632
|
});
|
|
@@ -5640,25 +5643,25 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5640
5643
|
outer: { type: Boolean }
|
|
5641
5644
|
},
|
|
5642
5645
|
setup(n) {
|
|
5643
|
-
const o = n, c = re(), h = de(), v =
|
|
5646
|
+
const o = n, c = re(), h = de(), v = S(() => {
|
|
5644
5647
|
var e;
|
|
5645
5648
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
5646
|
-
}), g =
|
|
5649
|
+
}), g = S(() => {
|
|
5647
5650
|
var e;
|
|
5648
5651
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
5649
|
-
}), m =
|
|
5652
|
+
}), m = S(() => {
|
|
5650
5653
|
var e;
|
|
5651
5654
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
5652
|
-
}),
|
|
5655
|
+
}), R = S(() => {
|
|
5653
5656
|
var e;
|
|
5654
5657
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
5655
|
-
}),
|
|
5658
|
+
}), x = S(() => {
|
|
5656
5659
|
var e;
|
|
5657
5660
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
5658
|
-
}), r =
|
|
5661
|
+
}), r = S(() => {
|
|
5659
5662
|
var e;
|
|
5660
5663
|
return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
5661
|
-
}), t =
|
|
5664
|
+
}), t = S(() => h.value ? "dark" : "light");
|
|
5662
5665
|
return (e, i) => {
|
|
5663
5666
|
const u = se("v-combobox");
|
|
5664
5667
|
return ge(c) === "editor" ? (F(), ce("div", zf, [
|
|
@@ -5666,8 +5669,8 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5666
5669
|
"model-value": v.value,
|
|
5667
5670
|
label: g.value,
|
|
5668
5671
|
placeholder: m.value,
|
|
5669
|
-
"hide-details":
|
|
5670
|
-
"single-line":
|
|
5672
|
+
"hide-details": R.value,
|
|
5673
|
+
"single-line": x.value,
|
|
5671
5674
|
readonly: r.value,
|
|
5672
5675
|
theme: t.value
|
|
5673
5676
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
@@ -5676,8 +5679,8 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5676
5679
|
"model-value": v.value,
|
|
5677
5680
|
label: g.value,
|
|
5678
5681
|
placeholder: m.value,
|
|
5679
|
-
"hide-details":
|
|
5680
|
-
"single-line":
|
|
5682
|
+
"hide-details": R.value,
|
|
5683
|
+
"single-line": x.value,
|
|
5681
5684
|
readonly: r.value,
|
|
5682
5685
|
theme: t.value
|
|
5683
5686
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
@@ -5691,17 +5694,17 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5691
5694
|
},
|
|
5692
5695
|
setup(n) {
|
|
5693
5696
|
var u;
|
|
5694
|
-
const o = n, c = re(), h =
|
|
5697
|
+
const o = n, c = re(), h = Ke(), v = de(), g = De(), m = Me(), { applySize: R } = qe(c, h, o), { applyMargin: x } = co(o), { applyPadding: r } = fo(o), { applyBorder: t } = lo(v, o), { color: e } = zt(
|
|
5695
5698
|
v,
|
|
5696
5699
|
(u = o.node.settings) == null ? void 0 : u.backgroundColor
|
|
5697
|
-
), i =
|
|
5700
|
+
), i = S(() => {
|
|
5698
5701
|
const s = {}, l = m.value.type;
|
|
5699
|
-
return g === "page" ? l === "common" ? (
|
|
5702
|
+
return g === "page" ? l === "common" ? (R(s), x(s), r(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1) : g === "comp" && l === "common" ? (R(s), x(s), r(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1), s;
|
|
5700
5703
|
});
|
|
5701
5704
|
return (s, l) => (F(), ce("div", {
|
|
5702
|
-
style:
|
|
5705
|
+
style: mt(i.value)
|
|
5703
5706
|
}, [
|
|
5704
|
-
|
|
5707
|
+
Xe(s.$slots, "default")
|
|
5705
5708
|
], 4));
|
|
5706
5709
|
}
|
|
5707
5710
|
}), Jf = /* @__PURE__ */ Q({
|
|
@@ -5711,37 +5714,37 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5711
5714
|
outer: { type: Boolean }
|
|
5712
5715
|
},
|
|
5713
5716
|
setup(n) {
|
|
5714
|
-
const o = n, c = de(), h =
|
|
5717
|
+
const o = n, c = de(), h = S(() => {
|
|
5715
5718
|
var l;
|
|
5716
5719
|
return (l = o.node.size) == null ? void 0 : l.width;
|
|
5717
|
-
}), v =
|
|
5720
|
+
}), v = S(() => {
|
|
5718
5721
|
var l;
|
|
5719
5722
|
return (l = o.node.size) == null ? void 0 : l.height;
|
|
5720
|
-
}), g =
|
|
5723
|
+
}), g = S(() => {
|
|
5721
5724
|
var l;
|
|
5722
5725
|
return (l = o.node.settings) == null ? void 0 : l.headers;
|
|
5723
|
-
}), m =
|
|
5726
|
+
}), m = S(() => {
|
|
5724
5727
|
var l;
|
|
5725
5728
|
return (l = o.node.settings) == null ? void 0 : l.items;
|
|
5726
|
-
}),
|
|
5729
|
+
}), R = S(() => {
|
|
5727
5730
|
var l;
|
|
5728
5731
|
return (l = o.node.settings) == null ? void 0 : l.density;
|
|
5729
|
-
}),
|
|
5732
|
+
}), x = S(() => {
|
|
5730
5733
|
var l;
|
|
5731
5734
|
return (l = o.node.settings) == null ? void 0 : l.hover;
|
|
5732
|
-
}), r =
|
|
5735
|
+
}), r = S(() => {
|
|
5733
5736
|
var l;
|
|
5734
5737
|
return (l = o.node.settings) == null ? void 0 : l.fixedHeader;
|
|
5735
|
-
}), t =
|
|
5738
|
+
}), t = S(() => {
|
|
5736
5739
|
var l;
|
|
5737
5740
|
return (l = o.node.settings) == null ? void 0 : l.fixedFooter;
|
|
5738
|
-
}), e =
|
|
5741
|
+
}), e = S(() => {
|
|
5739
5742
|
var l;
|
|
5740
5743
|
return (l = o.node.settings) == null ? void 0 : l.loading;
|
|
5741
|
-
}), i =
|
|
5744
|
+
}), i = S(() => {
|
|
5742
5745
|
var l;
|
|
5743
5746
|
return (l = o.node.settings) == null ? void 0 : l.multiSort;
|
|
5744
|
-
}), u =
|
|
5747
|
+
}), u = S(() => c.value ? "dark" : "light"), s = S(() => {
|
|
5745
5748
|
var f;
|
|
5746
5749
|
const l = [];
|
|
5747
5750
|
return (((f = o.node.slots) == null ? void 0 : f.items) ?? []).forEach((y) => {
|
|
@@ -5755,8 +5758,8 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5755
5758
|
height: v.value,
|
|
5756
5759
|
headers: g.value,
|
|
5757
5760
|
items: m.value,
|
|
5758
|
-
density:
|
|
5759
|
-
hover:
|
|
5761
|
+
density: R.value,
|
|
5762
|
+
hover: x.value,
|
|
5760
5763
|
"fixed-header": r.value,
|
|
5761
5764
|
"fixed-footer": t.value,
|
|
5762
5765
|
loading: e.value,
|
|
@@ -5782,18 +5785,20 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5782
5785
|
outer: { type: Boolean }
|
|
5783
5786
|
},
|
|
5784
5787
|
setup(n) {
|
|
5785
|
-
const o = n, c = re(), h = Zr(), v =
|
|
5786
|
-
var
|
|
5787
|
-
return (
|
|
5788
|
+
const o = n, c = re(), h = Zr(), v = S(() => {
|
|
5789
|
+
var R;
|
|
5790
|
+
return (R = o.node.basic) == null ? void 0 : R.id;
|
|
5788
5791
|
}), { open: g } = ji(`runtimeDlg/${Di()}`);
|
|
5789
|
-
return Oo(h, o, (
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5792
|
+
return Oo(h, o, (R) => {
|
|
5793
|
+
if (c !== "runtime" || !h.interpreter)
|
|
5794
|
+
return;
|
|
5795
|
+
const { name: r } = R;
|
|
5796
|
+
r === "open" ? g.value = !0 : r === "close" && (g.value = !1);
|
|
5797
|
+
}), (R, x) => {
|
|
5793
5798
|
const r = se("v-dialog");
|
|
5794
5799
|
return F(), te(r, {
|
|
5795
5800
|
modelValue: ge(g),
|
|
5796
|
-
"onUpdate:modelValue":
|
|
5801
|
+
"onUpdate:modelValue": x[0] || (x[0] = (t) => Mi(g) ? g.value = t : null)
|
|
5797
5802
|
}, {
|
|
5798
5803
|
activator: ee(() => [
|
|
5799
5804
|
ge(c) === "editor" ? (F(), ce("div", {
|
|
@@ -5802,7 +5807,7 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5802
5807
|
}, null, 8, Kf)) : $i("", !0)
|
|
5803
5808
|
]),
|
|
5804
5809
|
default: ee(() => [
|
|
5805
|
-
|
|
5810
|
+
Xe(R.$slots, "default")
|
|
5806
5811
|
]),
|
|
5807
5812
|
_: 3
|
|
5808
5813
|
}, 8, ["modelValue"]);
|
|
@@ -5816,28 +5821,28 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5816
5821
|
},
|
|
5817
5822
|
setup(n) {
|
|
5818
5823
|
var s;
|
|
5819
|
-
const o = n, c = re(), h =
|
|
5824
|
+
const o = n, c = re(), h = Ke(), v = de(), g = De(), m = Me(), { applySize: R } = qe(c, h, o), { applyMargin: x } = co(o), { applyPadding: r } = fo(o), { applyBorder: t } = lo(v, o), { color: e } = zt(
|
|
5820
5825
|
v,
|
|
5821
5826
|
(s = o.node.settings) == null ? void 0 : s.backgroundColor
|
|
5822
5827
|
), i = (l) => {
|
|
5823
5828
|
var E, N, w, P;
|
|
5824
5829
|
e.value && (l.backgroundColor = e.value), l.display = "flex";
|
|
5825
|
-
const a = ac(h.value.width), f =
|
|
5830
|
+
const a = ac(h.value.width), f = Ct(a, (E = o.node.settings) == null ? void 0 : E.direction);
|
|
5826
5831
|
f === "row" ? l.flexDirection = "row" : f === "rowReverse" ? l.flexDirection = "row-reverse" : f === "column" ? l.flexDirection = "column" : f === "columnReverse" && (l.flexDirection = "column-reverse");
|
|
5827
|
-
const y =
|
|
5832
|
+
const y = Ct(a, (N = o.node.settings) == null ? void 0 : N.wrap);
|
|
5828
5833
|
y === "no" ? l.flexWrap = "nowrap" : y === "yes" ? l.flexWrap = "wrap" : y === "reverse" && (l.flexWrap = "wrap-reverse");
|
|
5829
|
-
const b =
|
|
5834
|
+
const b = Ct(a, (w = o.node.settings) == null ? void 0 : w.mainAlign);
|
|
5830
5835
|
b === "start" ? l.justifyContent = "flex-start" : b === "end" ? l.justifyContent = "flex-end" : b === "center" ? l.justifyContent = "center" : b === "spaceBetween" ? l.justifyContent = "space-between" : b === "spaceAround" ? l.justifyContent = "space-around" : b === "spaceEvenly" && (l.justifyContent = "space-evenly");
|
|
5831
|
-
const O =
|
|
5836
|
+
const O = Ct(a, (P = o.node.settings) == null ? void 0 : P.crossAlign);
|
|
5832
5837
|
O === "start" ? l.alignItems = "flex-start" : O === "end" ? l.alignItems = "flex-end" : O === "center" ? l.alignItems = "center" : O === "baseline" ? l.alignItems = "baseline" : O === "stretch" && (l.alignItems = "stretch");
|
|
5833
|
-
}, u =
|
|
5838
|
+
}, u = S(() => {
|
|
5834
5839
|
const l = {}, a = m.value.type;
|
|
5835
|
-
return g === "page" ? a === "common" ? (
|
|
5840
|
+
return g === "page" ? a === "common" ? (R(l), x(l), r(l), t(l), i(l)) : console.assert(!1) : g === "comp" && a === "common" ? (R(l), x(l), r(l), t(l), i(l)) : console.assert(!1), l;
|
|
5836
5841
|
});
|
|
5837
5842
|
return (l, a) => (F(), ce("div", {
|
|
5838
|
-
style:
|
|
5843
|
+
style: mt(u.value)
|
|
5839
5844
|
}, [
|
|
5840
|
-
|
|
5845
|
+
Xe(l.$slots, "default")
|
|
5841
5846
|
], 4));
|
|
5842
5847
|
}
|
|
5843
5848
|
}), Qf = /* @__PURE__ */ Q({
|
|
@@ -5847,20 +5852,20 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5847
5852
|
outer: { type: Boolean }
|
|
5848
5853
|
},
|
|
5849
5854
|
setup(n) {
|
|
5850
|
-
const o = n, c = re(), h =
|
|
5855
|
+
const o = n, c = re(), h = Ke(), v = De(), g = Me(), { applySize: m } = qe(c, h, o), R = S(() => {
|
|
5851
5856
|
var t;
|
|
5852
5857
|
return (t = o.node.settings) == null ? void 0 : t.grow;
|
|
5853
|
-
}),
|
|
5858
|
+
}), x = S(() => {
|
|
5854
5859
|
var t;
|
|
5855
5860
|
return (t = o.node.settings) == null ? void 0 : t.shrink;
|
|
5856
|
-
}), r =
|
|
5861
|
+
}), r = S(() => {
|
|
5857
5862
|
const t = {}, e = g.value.type;
|
|
5858
|
-
return v === "page" ? e === "common" ? (m(t), t.flexGrow =
|
|
5863
|
+
return v === "page" ? e === "common" ? (m(t), t.flexGrow = R.value ? 1 : 0, t.flexShrink = x.value ? 1 : 0) : console.assert(!1) : v === "comp" && e === "common" ? (m(t), t.flexGrow = R.value ? 1 : 0, t.flexShrink = x.value ? 1 : 0) : console.assert(!1), t;
|
|
5859
5864
|
});
|
|
5860
5865
|
return (t, e) => (F(), ce("div", {
|
|
5861
|
-
style:
|
|
5866
|
+
style: mt(r.value)
|
|
5862
5867
|
}, [
|
|
5863
|
-
|
|
5868
|
+
Xe(t.$slots, "default")
|
|
5864
5869
|
], 4));
|
|
5865
5870
|
}
|
|
5866
5871
|
}), ep = ["id"], tp = /* @__PURE__ */ Q({
|
|
@@ -5870,30 +5875,38 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5870
5875
|
outer: { type: Boolean }
|
|
5871
5876
|
},
|
|
5872
5877
|
setup(n) {
|
|
5873
|
-
const o = n, c = re(), h = Zr(), v =
|
|
5874
|
-
var
|
|
5875
|
-
return (
|
|
5876
|
-
}), { open:
|
|
5877
|
-
return Oo(h, o, (
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5878
|
+
const o = n, c = re(), h = Zr(), v = We(0), g = We(0), m = S(() => [v.value, g.value]), R = S(() => {
|
|
5879
|
+
var t;
|
|
5880
|
+
return (t = o.node.basic) == null ? void 0 : t.id;
|
|
5881
|
+
}), { open: x } = ji(`runtimeMenu/${Di()}`);
|
|
5882
|
+
return Oo(h, o, (t) => {
|
|
5883
|
+
if (c !== "runtime")
|
|
5884
|
+
return;
|
|
5885
|
+
const e = h.interpreter;
|
|
5886
|
+
if (!e)
|
|
5887
|
+
return;
|
|
5888
|
+
const { name: i } = t;
|
|
5889
|
+
i === "open" ? (v.value = e.getProperty(e.globalObject, "__pointerPosX__"), g.value = e.getProperty(e.globalObject, "__pointerPosY__"), x.value = !0) : i === "close" && (x.value = !1);
|
|
5890
|
+
}), (t, e) => {
|
|
5891
|
+
const i = se("v-menu");
|
|
5892
|
+
return F(), te(i, {
|
|
5893
|
+
modelValue: ge(x),
|
|
5894
|
+
"onUpdate:modelValue": e[0] || (e[0] = (u) => Mi(x) ? x.value = u : null),
|
|
5895
|
+
"location-strategy": "connected",
|
|
5896
|
+
target: m.value,
|
|
5897
|
+
scrim: "transparent"
|
|
5885
5898
|
}, {
|
|
5886
5899
|
activator: ee(() => [
|
|
5887
5900
|
ge(c) === "editor" ? (F(), ce("div", {
|
|
5888
5901
|
key: 0,
|
|
5889
|
-
id: `__node__@${
|
|
5902
|
+
id: `__node__@${R.value}`
|
|
5890
5903
|
}, null, 8, ep)) : $i("", !0)
|
|
5891
5904
|
]),
|
|
5892
5905
|
default: ee(() => [
|
|
5893
|
-
|
|
5906
|
+
Xe(t.$slots, "default")
|
|
5894
5907
|
]),
|
|
5895
5908
|
_: 3
|
|
5896
|
-
}, 8, ["modelValue"]);
|
|
5909
|
+
}, 8, ["modelValue", "target"]);
|
|
5897
5910
|
};
|
|
5898
5911
|
}
|
|
5899
5912
|
}), rp = { key: 0 }, np = /* @__PURE__ */ Q({
|
|
@@ -5903,25 +5916,25 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5903
5916
|
outer: { type: Boolean }
|
|
5904
5917
|
},
|
|
5905
5918
|
setup(n) {
|
|
5906
|
-
const o = n, c = re(), h = de(), v =
|
|
5919
|
+
const o = n, c = re(), h = de(), v = S(() => {
|
|
5907
5920
|
var e;
|
|
5908
5921
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
5909
|
-
}), g =
|
|
5922
|
+
}), g = S(() => {
|
|
5910
5923
|
var e;
|
|
5911
5924
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
5912
|
-
}), m =
|
|
5925
|
+
}), m = S(() => {
|
|
5913
5926
|
var e;
|
|
5914
5927
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
5915
|
-
}),
|
|
5928
|
+
}), R = S(() => {
|
|
5916
5929
|
var e;
|
|
5917
5930
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
5918
|
-
}),
|
|
5931
|
+
}), x = S(() => {
|
|
5919
5932
|
var e;
|
|
5920
5933
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
5921
|
-
}), r =
|
|
5934
|
+
}), r = S(() => {
|
|
5922
5935
|
var e;
|
|
5923
5936
|
return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
5924
|
-
}), t =
|
|
5937
|
+
}), t = S(() => h.value ? "dark" : "light");
|
|
5925
5938
|
return (e, i) => {
|
|
5926
5939
|
const u = se("v-number-input");
|
|
5927
5940
|
return ge(c) === "editor" ? (F(), ce("div", rp, [
|
|
@@ -5929,8 +5942,8 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5929
5942
|
"model-value": v.value,
|
|
5930
5943
|
label: g.value,
|
|
5931
5944
|
placeholder: m.value,
|
|
5932
|
-
"hide-details":
|
|
5933
|
-
"single-line":
|
|
5945
|
+
"hide-details": R.value,
|
|
5946
|
+
"single-line": x.value,
|
|
5934
5947
|
readonly: r.value,
|
|
5935
5948
|
theme: t.value
|
|
5936
5949
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
@@ -5939,8 +5952,8 @@ const Yf = /* @__PURE__ */ Ht(Gf, [["render", Wf]]), zf = { key: 0 }, Xf = /* @_
|
|
|
5939
5952
|
"model-value": v.value,
|
|
5940
5953
|
label: g.value,
|
|
5941
5954
|
placeholder: m.value,
|
|
5942
|
-
"hide-details":
|
|
5943
|
-
"single-line":
|
|
5955
|
+
"hide-details": R.value,
|
|
5956
|
+
"single-line": x.value,
|
|
5944
5957
|
readonly: r.value,
|
|
5945
5958
|
theme: t.value
|
|
5946
5959
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
@@ -5958,25 +5971,25 @@ const ap = /* @__PURE__ */ Ht(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
5958
5971
|
outer: { type: Boolean }
|
|
5959
5972
|
},
|
|
5960
5973
|
setup(n) {
|
|
5961
|
-
const o = n, c = re(), h = de(), v =
|
|
5974
|
+
const o = n, c = re(), h = de(), v = S(() => {
|
|
5962
5975
|
var e;
|
|
5963
5976
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
5964
|
-
}), g =
|
|
5977
|
+
}), g = S(() => {
|
|
5965
5978
|
var e;
|
|
5966
5979
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
5967
|
-
}), m =
|
|
5980
|
+
}), m = S(() => {
|
|
5968
5981
|
var e;
|
|
5969
5982
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
5970
|
-
}),
|
|
5983
|
+
}), R = S(() => {
|
|
5971
5984
|
var e;
|
|
5972
5985
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
5973
|
-
}),
|
|
5986
|
+
}), x = S(() => {
|
|
5974
5987
|
var e;
|
|
5975
5988
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
5976
|
-
}), r =
|
|
5989
|
+
}), r = S(() => {
|
|
5977
5990
|
var e;
|
|
5978
5991
|
return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
5979
|
-
}), t =
|
|
5992
|
+
}), t = S(() => h.value ? "dark" : "light");
|
|
5980
5993
|
return (e, i) => {
|
|
5981
5994
|
const u = se("v-select");
|
|
5982
5995
|
return ge(c) === "editor" ? (F(), ce("div", sp, [
|
|
@@ -5984,8 +5997,8 @@ const ap = /* @__PURE__ */ Ht(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
5984
5997
|
"model-value": v.value,
|
|
5985
5998
|
label: g.value,
|
|
5986
5999
|
placeholder: m.value,
|
|
5987
|
-
"hide-details":
|
|
5988
|
-
"single-line":
|
|
6000
|
+
"hide-details": R.value,
|
|
6001
|
+
"single-line": x.value,
|
|
5989
6002
|
readonly: r.value,
|
|
5990
6003
|
theme: t.value
|
|
5991
6004
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
@@ -5994,8 +6007,8 @@ const ap = /* @__PURE__ */ Ht(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
5994
6007
|
"model-value": v.value,
|
|
5995
6008
|
label: g.value,
|
|
5996
6009
|
placeholder: m.value,
|
|
5997
|
-
"hide-details":
|
|
5998
|
-
"single-line":
|
|
6010
|
+
"hide-details": R.value,
|
|
6011
|
+
"single-line": x.value,
|
|
5999
6012
|
readonly: r.value,
|
|
6000
6013
|
theme: t.value
|
|
6001
6014
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
@@ -6013,31 +6026,31 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6013
6026
|
outer: { type: Boolean }
|
|
6014
6027
|
},
|
|
6015
6028
|
setup(n) {
|
|
6016
|
-
const o = n, c = re(), h = de(), v =
|
|
6029
|
+
const o = n, c = re(), h = de(), v = S(() => {
|
|
6017
6030
|
var s;
|
|
6018
6031
|
return (s = o.node.settings) == null ? void 0 : s.label;
|
|
6019
|
-
}), g =
|
|
6032
|
+
}), g = S(() => {
|
|
6020
6033
|
var s;
|
|
6021
6034
|
return (s = o.node.settings) == null ? void 0 : s.placeholder;
|
|
6022
|
-
}), m =
|
|
6035
|
+
}), m = S(() => {
|
|
6023
6036
|
var s;
|
|
6024
6037
|
return (s = o.node.settings) == null ? void 0 : s.hideDetails;
|
|
6025
|
-
}),
|
|
6038
|
+
}), R = S(() => {
|
|
6026
6039
|
var s;
|
|
6027
6040
|
return (s = o.node.settings) == null ? void 0 : s.singleLine;
|
|
6028
|
-
}),
|
|
6041
|
+
}), x = S(() => {
|
|
6029
6042
|
var s;
|
|
6030
6043
|
return c !== "runtime" ? !0 : (s = o.node.settings) == null ? void 0 : s.readonly;
|
|
6031
|
-
}), r =
|
|
6044
|
+
}), r = S(() => h.value ? "dark" : "light"), t = S(() => {
|
|
6032
6045
|
var s;
|
|
6033
6046
|
return (s = o.node.slots) == null ? void 0 : s.append;
|
|
6034
|
-
}), e =
|
|
6047
|
+
}), e = S(() => {
|
|
6035
6048
|
var s;
|
|
6036
6049
|
return (s = o.node.slots) == null ? void 0 : s.appendInner;
|
|
6037
|
-
}), i =
|
|
6050
|
+
}), i = S(() => {
|
|
6038
6051
|
var s;
|
|
6039
6052
|
return (s = o.node.slots) == null ? void 0 : s.prepend;
|
|
6040
|
-
}), u =
|
|
6053
|
+
}), u = S(() => {
|
|
6041
6054
|
var s;
|
|
6042
6055
|
return (s = o.node.slots) == null ? void 0 : s.prependInner;
|
|
6043
6056
|
});
|
|
@@ -6048,8 +6061,8 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6048
6061
|
label: v.value,
|
|
6049
6062
|
placeholder: g.value,
|
|
6050
6063
|
"hide-details": m.value,
|
|
6051
|
-
"single-line":
|
|
6052
|
-
readonly:
|
|
6064
|
+
"single-line": R.value,
|
|
6065
|
+
readonly: x.value,
|
|
6053
6066
|
theme: r.value
|
|
6054
6067
|
}, Er({ _: 2 }, [
|
|
6055
6068
|
t.value ? {
|
|
@@ -6098,8 +6111,8 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6098
6111
|
label: v.value,
|
|
6099
6112
|
placeholder: g.value,
|
|
6100
6113
|
"hide-details": m.value,
|
|
6101
|
-
"single-line":
|
|
6102
|
-
readonly:
|
|
6114
|
+
"single-line": R.value,
|
|
6115
|
+
readonly: x.value,
|
|
6103
6116
|
theme: r.value
|
|
6104
6117
|
}, Er({ _: 2 }, [
|
|
6105
6118
|
t.value ? {
|
|
@@ -6145,7 +6158,7 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6145
6158
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6146
6159
|
};
|
|
6147
6160
|
}
|
|
6148
|
-
}), Or = "bar_chart_v1", Nr = "btn_v1", wr = "card_v1", kr = "chip_v1", Cr = "combobox_v1", Pr = "container_v1", Ar = "data_table_v1", Ir = "dialog_v1", Lr = "flex_layout_v1", Dr = "flex_layout_entry_v1", Mr = "globality_v1", $r = "line_chart_v1", Br = "menu_v1", jr = "number_input_v1", Fr = "rating_v1",
|
|
6161
|
+
}), Or = "bar_chart_v1", Nr = "btn_v1", wr = "card_v1", kr = "chip_v1", Cr = "combobox_v1", Pr = "container_v1", Ar = "data_table_v1", Ir = "dialog_v1", Lr = "flex_layout_v1", Dr = "flex_layout_entry_v1", Mr = "globality_v1", $r = "line_chart_v1", Br = "menu_v1", jr = "number_input_v1", Fr = "rating_v1", Dt = "ref_v1", Ur = "select_v1", Vr = "text_area_v1", Gr = "text_field_v1", M = {
|
|
6149
6162
|
key: "basic",
|
|
6150
6163
|
name: "x-runtime-lib.basic",
|
|
6151
6164
|
children: [
|
|
@@ -6251,20 +6264,20 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6251
6264
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
6252
6265
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
6253
6266
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
6254
|
-
],
|
|
6267
|
+
], st = [
|
|
6255
6268
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6256
6269
|
{ title: "x-runtime-lib.start", value: "start" },
|
|
6257
6270
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
6258
6271
|
{ title: "x-runtime-lib.center", value: "center" },
|
|
6259
6272
|
{ title: "x-runtime-lib.baseline", value: "baseline" },
|
|
6260
6273
|
{ title: "x-runtime-lib.stretch", value: "stretch" }
|
|
6261
|
-
],
|
|
6274
|
+
], ut = [
|
|
6262
6275
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6263
6276
|
{ title: "x-runtime-lib.row", value: "row" },
|
|
6264
6277
|
{ title: "x-runtime-lib.rowReverse", value: "rowReverse" },
|
|
6265
6278
|
{ title: "x-runtime-lib.column", value: "column" },
|
|
6266
6279
|
{ title: "x-runtime-lib.columnReverse", value: "columnReverse" }
|
|
6267
|
-
],
|
|
6280
|
+
], lt = [
|
|
6268
6281
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6269
6282
|
{ title: "x-runtime-lib.start", value: "start" },
|
|
6270
6283
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
@@ -6272,7 +6285,7 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6272
6285
|
{ title: "x-runtime-lib.spaceBetween", value: "spaceBetween" },
|
|
6273
6286
|
{ title: "x-runtime-lib.spaceAround", value: "spaceAround" },
|
|
6274
6287
|
{ title: "x-runtime-lib.spaceEvenly", value: "spaceEvenly" }
|
|
6275
|
-
],
|
|
6288
|
+
], ct = [
|
|
6276
6289
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6277
6290
|
{ title: "x-runtime-lib.no", value: "no" },
|
|
6278
6291
|
{ title: "x-runtime-lib.yes", value: "yes" },
|
|
@@ -6288,7 +6301,7 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6288
6301
|
{ title: "x-runtime-lib.background0", value: "background0" },
|
|
6289
6302
|
{ title: "x-runtime-lib.background1", value: "background1" },
|
|
6290
6303
|
{ title: "x-runtime-lib.background2", value: "background2" }
|
|
6291
|
-
],
|
|
6304
|
+
], bt = {
|
|
6292
6305
|
key: "color",
|
|
6293
6306
|
name: "x-runtime-lib.color",
|
|
6294
6307
|
children: [
|
|
@@ -6325,7 +6338,7 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6325
6338
|
]
|
|
6326
6339
|
}
|
|
6327
6340
|
]
|
|
6328
|
-
}, gp = Z(
|
|
6341
|
+
}, gp = Z(bt), Mt = {
|
|
6329
6342
|
key: "border",
|
|
6330
6343
|
name: "x-runtime-lib.border",
|
|
6331
6344
|
children: [
|
|
@@ -6404,7 +6417,7 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6404
6417
|
defaultArray: []
|
|
6405
6418
|
}
|
|
6406
6419
|
]
|
|
6407
|
-
},
|
|
6420
|
+
}, Pt = [
|
|
6408
6421
|
{
|
|
6409
6422
|
name: "x-runtime-lib.notSet",
|
|
6410
6423
|
ui: "word",
|
|
@@ -6445,32 +6458,32 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6445
6458
|
key: "top",
|
|
6446
6459
|
name: "x-runtime-lib.top",
|
|
6447
6460
|
ui: "multiTypes",
|
|
6448
|
-
types:
|
|
6461
|
+
types: Pt,
|
|
6449
6462
|
default: ""
|
|
6450
6463
|
},
|
|
6451
6464
|
{
|
|
6452
6465
|
key: "left",
|
|
6453
6466
|
name: "x-runtime-lib.left",
|
|
6454
6467
|
ui: "multiTypes",
|
|
6455
|
-
types:
|
|
6468
|
+
types: Pt,
|
|
6456
6469
|
default: ""
|
|
6457
6470
|
},
|
|
6458
6471
|
{
|
|
6459
6472
|
key: "bottom",
|
|
6460
6473
|
name: "x-runtime-lib.bottom",
|
|
6461
6474
|
ui: "multiTypes",
|
|
6462
|
-
types:
|
|
6475
|
+
types: Pt,
|
|
6463
6476
|
default: ""
|
|
6464
6477
|
},
|
|
6465
6478
|
{
|
|
6466
6479
|
key: "right",
|
|
6467
6480
|
name: "x-runtime-lib.right",
|
|
6468
6481
|
ui: "multiTypes",
|
|
6469
|
-
types:
|
|
6482
|
+
types: Pt,
|
|
6470
6483
|
default: ""
|
|
6471
6484
|
}
|
|
6472
6485
|
]
|
|
6473
|
-
},
|
|
6486
|
+
}, At = [
|
|
6474
6487
|
{
|
|
6475
6488
|
name: "x-runtime-lib.notSet",
|
|
6476
6489
|
ui: "word",
|
|
@@ -6505,28 +6518,28 @@ const fp = /* @__PURE__ */ Ht(lp, [["render", cp]]), pp = { key: 0 }, dp = /* @_
|
|
|
6505
6518
|
key: "top",
|
|
6506
6519
|
name: "x-runtime-lib.top",
|
|
6507
6520
|
ui: "multiTypes",
|
|
6508
|
-
types:
|
|
6521
|
+
types: At,
|
|
6509
6522
|
default: ""
|
|
6510
6523
|
},
|
|
6511
6524
|
{
|
|
6512
6525
|
key: "left",
|
|
6513
6526
|
name: "x-runtime-lib.left",
|
|
6514
6527
|
ui: "multiTypes",
|
|
6515
|
-
types:
|
|
6528
|
+
types: At,
|
|
6516
6529
|
default: ""
|
|
6517
6530
|
},
|
|
6518
6531
|
{
|
|
6519
6532
|
key: "bottom",
|
|
6520
6533
|
name: "x-runtime-lib.bottom",
|
|
6521
6534
|
ui: "multiTypes",
|
|
6522
|
-
types:
|
|
6535
|
+
types: At,
|
|
6523
6536
|
default: ""
|
|
6524
6537
|
},
|
|
6525
6538
|
{
|
|
6526
6539
|
key: "right",
|
|
6527
6540
|
name: "x-runtime-lib.right",
|
|
6528
6541
|
ui: "multiTypes",
|
|
6529
|
-
types:
|
|
6542
|
+
types: At,
|
|
6530
6543
|
default: ""
|
|
6531
6544
|
}
|
|
6532
6545
|
]
|
|
@@ -6811,7 +6824,7 @@ const yi = {
|
|
|
6811
6824
|
pageCommon: [M, ae, Ft, Ut, Vt, $t, yi],
|
|
6812
6825
|
compCommon: [M, ae, Ft, Ut, Vt, $t, yi]
|
|
6813
6826
|
}
|
|
6814
|
-
}, Qr = Z(
|
|
6827
|
+
}, Qr = Z(bt);
|
|
6815
6828
|
Qr.key = "backgroundColor";
|
|
6816
6829
|
Qr.name = "x-runtime-lib.backgroundColor";
|
|
6817
6830
|
const vi = {
|
|
@@ -6877,7 +6890,7 @@ const vi = {
|
|
|
6877
6890
|
}
|
|
6878
6891
|
]
|
|
6879
6892
|
}, Np = {
|
|
6880
|
-
key:
|
|
6893
|
+
key: Dt,
|
|
6881
6894
|
name: "x-runtime-lib.ref",
|
|
6882
6895
|
comp: Bf,
|
|
6883
6896
|
slots: [],
|
|
@@ -6887,7 +6900,7 @@ const vi = {
|
|
|
6887
6900
|
pageCommon: [M, ae, bi],
|
|
6888
6901
|
compCommon: [M, ae, bi]
|
|
6889
6902
|
}
|
|
6890
|
-
}, wp = Z(
|
|
6903
|
+
}, wp = Z(bt), gi = {
|
|
6891
6904
|
key: "settings",
|
|
6892
6905
|
name: "x-runtime-lib.settings",
|
|
6893
6906
|
children: [
|
|
@@ -7021,7 +7034,7 @@ const vi = {
|
|
|
7021
7034
|
pageCommon: [M, _i],
|
|
7022
7035
|
compCommon: [M, _i]
|
|
7023
7036
|
}
|
|
7024
|
-
}, en = Z(
|
|
7037
|
+
}, en = Z(bt);
|
|
7025
7038
|
en.key = "backgroundColor";
|
|
7026
7039
|
en.name = "x-runtime-lib.backgroundColor";
|
|
7027
7040
|
const Ei = {
|
|
@@ -7243,7 +7256,7 @@ const Ei = {
|
|
|
7243
7256
|
compCommon: [M]
|
|
7244
7257
|
},
|
|
7245
7258
|
teleport: !0
|
|
7246
|
-
}, tn = Z(
|
|
7259
|
+
}, tn = Z(bt);
|
|
7247
7260
|
tn.key = "backgroundColor";
|
|
7248
7261
|
tn.name = "x-runtime-lib.backgroundColor";
|
|
7249
7262
|
const Ti = {
|
|
@@ -7259,35 +7272,35 @@ const Ti = {
|
|
|
7259
7272
|
key: "xs",
|
|
7260
7273
|
name: "x-runtime-lib.bp.xs",
|
|
7261
7274
|
ui: "select",
|
|
7262
|
-
items:
|
|
7275
|
+
items: ut,
|
|
7263
7276
|
default: ""
|
|
7264
7277
|
},
|
|
7265
7278
|
{
|
|
7266
7279
|
key: "sm",
|
|
7267
7280
|
name: "x-runtime-lib.bp.sm",
|
|
7268
7281
|
ui: "select",
|
|
7269
|
-
items:
|
|
7282
|
+
items: ut,
|
|
7270
7283
|
default: ""
|
|
7271
7284
|
},
|
|
7272
7285
|
{
|
|
7273
7286
|
key: "md",
|
|
7274
7287
|
name: "x-runtime-lib.bp.md",
|
|
7275
7288
|
ui: "select",
|
|
7276
|
-
items:
|
|
7289
|
+
items: ut,
|
|
7277
7290
|
default: ""
|
|
7278
7291
|
},
|
|
7279
7292
|
{
|
|
7280
7293
|
key: "lg",
|
|
7281
7294
|
name: "x-runtime-lib.bp.lg",
|
|
7282
7295
|
ui: "select",
|
|
7283
|
-
items:
|
|
7296
|
+
items: ut,
|
|
7284
7297
|
default: ""
|
|
7285
7298
|
},
|
|
7286
7299
|
{
|
|
7287
7300
|
key: "xl",
|
|
7288
7301
|
name: "x-runtime-lib.bp.xl",
|
|
7289
7302
|
ui: "select",
|
|
7290
|
-
items:
|
|
7303
|
+
items: ut,
|
|
7291
7304
|
default: ""
|
|
7292
7305
|
}
|
|
7293
7306
|
]
|
|
@@ -7300,35 +7313,35 @@ const Ti = {
|
|
|
7300
7313
|
key: "xs",
|
|
7301
7314
|
name: "x-runtime-lib.bp.xs",
|
|
7302
7315
|
ui: "select",
|
|
7303
|
-
items:
|
|
7316
|
+
items: ct,
|
|
7304
7317
|
default: ""
|
|
7305
7318
|
},
|
|
7306
7319
|
{
|
|
7307
7320
|
key: "sm",
|
|
7308
7321
|
name: "x-runtime-lib.bp.sm",
|
|
7309
7322
|
ui: "select",
|
|
7310
|
-
items:
|
|
7323
|
+
items: ct,
|
|
7311
7324
|
default: ""
|
|
7312
7325
|
},
|
|
7313
7326
|
{
|
|
7314
7327
|
key: "md",
|
|
7315
7328
|
name: "x-runtime-lib.bp.md",
|
|
7316
7329
|
ui: "select",
|
|
7317
|
-
items:
|
|
7330
|
+
items: ct,
|
|
7318
7331
|
default: ""
|
|
7319
7332
|
},
|
|
7320
7333
|
{
|
|
7321
7334
|
key: "lg",
|
|
7322
7335
|
name: "x-runtime-lib.bp.lg",
|
|
7323
7336
|
ui: "select",
|
|
7324
|
-
items:
|
|
7337
|
+
items: ct,
|
|
7325
7338
|
default: ""
|
|
7326
7339
|
},
|
|
7327
7340
|
{
|
|
7328
7341
|
key: "xl",
|
|
7329
7342
|
name: "x-runtime-lib.bp.xl",
|
|
7330
7343
|
ui: "select",
|
|
7331
|
-
items:
|
|
7344
|
+
items: ct,
|
|
7332
7345
|
default: ""
|
|
7333
7346
|
}
|
|
7334
7347
|
]
|
|
@@ -7341,35 +7354,35 @@ const Ti = {
|
|
|
7341
7354
|
key: "xs",
|
|
7342
7355
|
name: "x-runtime-lib.bp.xs",
|
|
7343
7356
|
ui: "select",
|
|
7344
|
-
items:
|
|
7357
|
+
items: lt,
|
|
7345
7358
|
default: ""
|
|
7346
7359
|
},
|
|
7347
7360
|
{
|
|
7348
7361
|
key: "sm",
|
|
7349
7362
|
name: "x-runtime-lib.bp.sm",
|
|
7350
7363
|
ui: "select",
|
|
7351
|
-
items:
|
|
7364
|
+
items: lt,
|
|
7352
7365
|
default: ""
|
|
7353
7366
|
},
|
|
7354
7367
|
{
|
|
7355
7368
|
key: "md",
|
|
7356
7369
|
name: "x-runtime-lib.bp.md",
|
|
7357
7370
|
ui: "select",
|
|
7358
|
-
items:
|
|
7371
|
+
items: lt,
|
|
7359
7372
|
default: ""
|
|
7360
7373
|
},
|
|
7361
7374
|
{
|
|
7362
7375
|
key: "lg",
|
|
7363
7376
|
name: "x-runtime-lib.bp.lg",
|
|
7364
7377
|
ui: "select",
|
|
7365
|
-
items:
|
|
7378
|
+
items: lt,
|
|
7366
7379
|
default: ""
|
|
7367
7380
|
},
|
|
7368
7381
|
{
|
|
7369
7382
|
key: "xl",
|
|
7370
7383
|
name: "x-runtime-lib.bp.xl",
|
|
7371
7384
|
ui: "select",
|
|
7372
|
-
items:
|
|
7385
|
+
items: lt,
|
|
7373
7386
|
default: ""
|
|
7374
7387
|
}
|
|
7375
7388
|
]
|
|
@@ -7382,35 +7395,35 @@ const Ti = {
|
|
|
7382
7395
|
key: "xs",
|
|
7383
7396
|
name: "x-runtime-lib.bp.xs",
|
|
7384
7397
|
ui: "select",
|
|
7385
|
-
items:
|
|
7398
|
+
items: st,
|
|
7386
7399
|
default: ""
|
|
7387
7400
|
},
|
|
7388
7401
|
{
|
|
7389
7402
|
key: "sm",
|
|
7390
7403
|
name: "x-runtime-lib.bp.sm",
|
|
7391
7404
|
ui: "select",
|
|
7392
|
-
items:
|
|
7405
|
+
items: st,
|
|
7393
7406
|
default: ""
|
|
7394
7407
|
},
|
|
7395
7408
|
{
|
|
7396
7409
|
key: "md",
|
|
7397
7410
|
name: "x-runtime-lib.bp.md",
|
|
7398
7411
|
ui: "select",
|
|
7399
|
-
items:
|
|
7412
|
+
items: st,
|
|
7400
7413
|
default: ""
|
|
7401
7414
|
},
|
|
7402
7415
|
{
|
|
7403
7416
|
key: "lg",
|
|
7404
7417
|
name: "x-runtime-lib.bp.lg",
|
|
7405
7418
|
ui: "select",
|
|
7406
|
-
items:
|
|
7419
|
+
items: st,
|
|
7407
7420
|
default: ""
|
|
7408
7421
|
},
|
|
7409
7422
|
{
|
|
7410
7423
|
key: "xl",
|
|
7411
7424
|
name: "x-runtime-lib.bp.xl",
|
|
7412
7425
|
ui: "select",
|
|
7413
|
-
items:
|
|
7426
|
+
items: st,
|
|
7414
7427
|
default: ""
|
|
7415
7428
|
}
|
|
7416
7429
|
]
|
|
@@ -7726,7 +7739,7 @@ const Ti = {
|
|
|
7726
7739
|
}, Wp = {
|
|
7727
7740
|
version: "v1",
|
|
7728
7741
|
globalityKey: Mr,
|
|
7729
|
-
refKey:
|
|
7742
|
+
refKey: Dt,
|
|
7730
7743
|
elements: /* @__PURE__ */ new Set([
|
|
7731
7744
|
Or,
|
|
7732
7745
|
Nr,
|
|
@@ -7743,7 +7756,7 @@ const Ti = {
|
|
|
7743
7756
|
Br,
|
|
7744
7757
|
jr,
|
|
7745
7758
|
Fr,
|
|
7746
|
-
|
|
7759
|
+
Dt,
|
|
7747
7760
|
Ur,
|
|
7748
7761
|
Vr,
|
|
7749
7762
|
Gr
|
|
@@ -7761,7 +7774,7 @@ const Ti = {
|
|
|
7761
7774
|
Dr,
|
|
7762
7775
|
Ir,
|
|
7763
7776
|
Br,
|
|
7764
|
-
|
|
7777
|
+
Dt
|
|
7765
7778
|
]
|
|
7766
7779
|
},
|
|
7767
7780
|
{
|
|
@@ -7845,7 +7858,7 @@ export {
|
|
|
7845
7858
|
ld as ensureContext,
|
|
7846
7859
|
cd as fieldTypes,
|
|
7847
7860
|
po as genId,
|
|
7848
|
-
|
|
7861
|
+
Ct as getBreakpointProp,
|
|
7849
7862
|
fi as getIndexOfBreakpoint,
|
|
7850
7863
|
ed as getNode,
|
|
7851
7864
|
pi as getPropDefault,
|
|
@@ -7854,7 +7867,7 @@ export {
|
|
|
7854
7867
|
de as injectDark,
|
|
7855
7868
|
Me as injectData,
|
|
7856
7869
|
So as injectDepends,
|
|
7857
|
-
|
|
7870
|
+
Ke as injectDevice,
|
|
7858
7871
|
Ro as injectEnv,
|
|
7859
7872
|
re as injectMode,
|
|
7860
7873
|
Zr as injectSandbox,
|