x-runtime-lib 0.6.13 → 0.6.15
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/composables/element/common/border/v1/index.d.ts +2 -2
- package/dist/element/_common/types/borderWidthTypes/v1/index.d.ts +2 -0
- package/dist/{i18n-en-ghwtx5bb.js → i18n-en-gk1u42wl.js} +5 -2
- package/dist/{i18n-zhHans-o6ob6egv.js → i18n-zhHans-mhlcmbyg.js} +5 -1
- package/dist/index.js +857 -810
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Bo = Object.defineProperty;
|
|
2
2
|
var Vo = (n, a, c) => a in n ? Bo(n, a, { enumerable: !0, configurable: !0, writable: !0, value: c }) : n[a] = c;
|
|
3
|
-
var
|
|
4
|
-
import { computed as R, provide as xe, inject as Re, readonly as Cr, onBeforeMount as Go, onUnmounted as ot, defineComponent as ne, useTemplateRef as hi, onMounted as
|
|
3
|
+
var ar = (n, a, c) => Vo(n, typeof a != "symbol" ? a + "" : a, c);
|
|
4
|
+
import { computed as R, provide as xe, inject as Re, readonly as Cr, onBeforeMount as Go, onUnmounted as ot, defineComponent as ne, useTemplateRef as hi, onMounted as mi, watch as Pe, nextTick as yi, createElementBlock as Se, openBlock as G, normalizeStyle as Ar, ref as Ot, watchEffect as vi, createBlock as te, h as K, resolveComponent as ae, withCtx as re, renderSlot as Ir, unref as Be, createVNode as ee, createSlots as cr, renderList as Wo, isRef as Yo, createCommentVNode as zo } from "vue";
|
|
5
5
|
import { eventBus as Ve, waitUtil as bi, messageInfo as Xo, messageSuccess as Ho, messageWarning as Jo, messageError as Ko, openConfirmDlg as qo, openPromptDlg as Zo, useViewStack as Qo } from "x-essential-lib";
|
|
6
6
|
import { u as ea, r as gi, i as ta, a as ra, b as na, c as ia, d as oa, e as aa, f as sa, g as ua, h as _i } from "./echarts-i9kva4al.js";
|
|
7
7
|
import { useI18n as Ei } from "vue-i18n";
|
|
@@ -17,30 +17,30 @@ function pa(n) {
|
|
|
17
17
|
return h && (a ? n[tt] = c : delete n[tt]), v;
|
|
18
18
|
}
|
|
19
19
|
var da = Object.prototype, ha = da.toString;
|
|
20
|
-
function
|
|
20
|
+
function ma(n) {
|
|
21
21
|
return ha.call(n);
|
|
22
22
|
}
|
|
23
|
-
var
|
|
23
|
+
var ya = "[object Null]", va = "[object Undefined]", On = Ge ? Ge.toStringTag : void 0;
|
|
24
24
|
function at(n) {
|
|
25
|
-
return n == null ? n === void 0 ? va :
|
|
25
|
+
return n == null ? n === void 0 ? va : ya : On && On in Object(n) ? pa(n) : ma(n);
|
|
26
26
|
}
|
|
27
27
|
function st(n) {
|
|
28
28
|
return n != null && typeof n == "object";
|
|
29
29
|
}
|
|
30
|
-
var
|
|
31
|
-
function
|
|
30
|
+
var Lr = Array.isArray;
|
|
31
|
+
function Ct(n) {
|
|
32
32
|
var a = typeof n;
|
|
33
33
|
return n != null && (a == "object" || a == "function");
|
|
34
34
|
}
|
|
35
35
|
var ba = "[object AsyncFunction]", ga = "[object Function]", _a = "[object GeneratorFunction]", Ea = "[object Proxy]";
|
|
36
36
|
function Si(n) {
|
|
37
|
-
if (!
|
|
37
|
+
if (!Ct(n))
|
|
38
38
|
return !1;
|
|
39
39
|
var a = at(n);
|
|
40
40
|
return a == ga || a == _a || a == ba || a == Ea;
|
|
41
41
|
}
|
|
42
|
-
var
|
|
43
|
-
var n = /[^.]+$/.exec(
|
|
42
|
+
var sr = ce["__core-js_shared__"], Nn = function() {
|
|
43
|
+
var n = /[^.]+$/.exec(sr && sr.keys && sr.keys.IE_PROTO || "");
|
|
44
44
|
return n ? "Symbol(src)_1." + n : "";
|
|
45
45
|
}();
|
|
46
46
|
function xa(n) {
|
|
@@ -60,13 +60,13 @@ function Ae(n) {
|
|
|
60
60
|
}
|
|
61
61
|
return "";
|
|
62
62
|
}
|
|
63
|
-
var Ta = /[\\^$.*+?()[\]{}|]/g, Oa = /^\[object .+?Constructor\]$/, Na = Function.prototype, wa = Object.prototype, Pa = Na.toString,
|
|
64
|
-
"^" + Pa.call(
|
|
63
|
+
var Ta = /[\\^$.*+?()[\]{}|]/g, Oa = /^\[object .+?Constructor\]$/, Na = Function.prototype, wa = Object.prototype, Pa = Na.toString, ka = wa.hasOwnProperty, Ca = RegExp(
|
|
64
|
+
"^" + Pa.call(ka).replace(Ta, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
65
65
|
);
|
|
66
66
|
function Aa(n) {
|
|
67
|
-
if (!
|
|
67
|
+
if (!Ct(n) || xa(n))
|
|
68
68
|
return !1;
|
|
69
|
-
var a = Si(n) ?
|
|
69
|
+
var a = Si(n) ? Ca : Oa;
|
|
70
70
|
return a.test(Ae(n));
|
|
71
71
|
}
|
|
72
72
|
function Ia(n, a) {
|
|
@@ -76,11 +76,11 @@ function Ie(n, a) {
|
|
|
76
76
|
var c = Ia(n, a);
|
|
77
77
|
return Aa(c) ? c : void 0;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
79
|
+
var fr = Ie(ce, "WeakMap"), wn = Object.create, La = /* @__PURE__ */ function() {
|
|
80
80
|
function n() {
|
|
81
81
|
}
|
|
82
82
|
return function(a) {
|
|
83
|
-
if (!
|
|
83
|
+
if (!Ct(a))
|
|
84
84
|
return {};
|
|
85
85
|
if (wn)
|
|
86
86
|
return wn(a);
|
|
@@ -139,42 +139,42 @@ function za(n, a) {
|
|
|
139
139
|
return h;
|
|
140
140
|
}
|
|
141
141
|
var Xa = "[object Arguments]";
|
|
142
|
-
function
|
|
142
|
+
function kn(n) {
|
|
143
143
|
return st(n) && at(n) == Xa;
|
|
144
144
|
}
|
|
145
|
-
var wi = Object.prototype, Ha = wi.hasOwnProperty, Ja = wi.propertyIsEnumerable, Ka =
|
|
145
|
+
var wi = Object.prototype, Ha = wi.hasOwnProperty, Ja = wi.propertyIsEnumerable, Ka = kn(/* @__PURE__ */ function() {
|
|
146
146
|
return arguments;
|
|
147
|
-
}()) ?
|
|
147
|
+
}()) ? kn : function(n) {
|
|
148
148
|
return st(n) && Ha.call(n, "callee") && !Ja.call(n, "callee");
|
|
149
149
|
};
|
|
150
150
|
function qa() {
|
|
151
151
|
return !1;
|
|
152
152
|
}
|
|
153
|
-
var Pi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
154
|
-
j[
|
|
153
|
+
var Pi = typeof exports == "object" && exports && !exports.nodeType && exports, Cn = Pi && typeof module == "object" && module && !module.nodeType && module, Za = Cn && Cn.exports === Pi, An = Za ? ce.Buffer : void 0, Qa = An ? An.isBuffer : void 0, ki = Qa || qa, es = "[object Arguments]", ts = "[object Array]", rs = "[object Boolean]", ns = "[object Date]", is = "[object Error]", os = "[object Function]", as = "[object Map]", ss = "[object Number]", us = "[object Object]", ls = "[object RegExp]", cs = "[object Set]", fs = "[object String]", ps = "[object WeakMap]", ds = "[object ArrayBuffer]", hs = "[object DataView]", ms = "[object Float32Array]", ys = "[object Float64Array]", vs = "[object Int8Array]", bs = "[object Int16Array]", gs = "[object Int32Array]", _s = "[object Uint8Array]", Es = "[object Uint8ClampedArray]", xs = "[object Uint16Array]", Rs = "[object Uint32Array]", j = {};
|
|
154
|
+
j[ms] = j[ys] = j[vs] = j[bs] = j[gs] = j[_s] = j[Es] = j[xs] = j[Rs] = !0;
|
|
155
155
|
j[es] = j[ts] = j[ds] = j[rs] = j[hs] = j[ns] = j[is] = j[os] = j[as] = j[ss] = j[us] = j[ls] = j[cs] = j[fs] = j[ps] = !1;
|
|
156
156
|
function Ss(n) {
|
|
157
157
|
return st(n) && Oi(n.length) && !!j[at(n)];
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Dr(n) {
|
|
160
160
|
return function(a) {
|
|
161
161
|
return n(a);
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
|
-
var
|
|
164
|
+
var Ci = typeof exports == "object" && exports && !exports.nodeType && exports, rt = Ci && typeof module == "object" && module && !module.nodeType && module, Ts = rt && rt.exports === Ci, ur = Ts && xi.process, We = function() {
|
|
165
165
|
try {
|
|
166
166
|
var n = rt && rt.require && rt.require("util").types;
|
|
167
|
-
return n ||
|
|
167
|
+
return n || ur && ur.binding && ur.binding("util");
|
|
168
168
|
} catch {
|
|
169
169
|
}
|
|
170
|
-
}(), In = We && We.isTypedArray, Os = In ?
|
|
170
|
+
}(), In = We && We.isTypedArray, Os = In ? Dr(In) : Ss, Ns = Object.prototype, ws = Ns.hasOwnProperty;
|
|
171
171
|
function Ps(n, a) {
|
|
172
|
-
var c =
|
|
172
|
+
var c = Lr(n), h = !c && Ka(n), v = !c && !h && ki(n), E = !c && !h && !v && Os(n), m = c || h || v || E, T = m ? za(n.length, String) : [], S = T.length;
|
|
173
173
|
for (var r in n)
|
|
174
|
-
ws.call(n, r) && !(
|
|
174
|
+
ws.call(n, r) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
175
175
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
176
176
|
v && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
177
|
-
|
|
177
|
+
E && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
178
178
|
Ua(r, S))) && T.push(r);
|
|
179
179
|
return T;
|
|
180
180
|
}
|
|
@@ -183,10 +183,10 @@ function Ai(n, a) {
|
|
|
183
183
|
return n(a(c));
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var ks = Ai(Object.keys, Object), Cs = Object.prototype, As = Cs.hasOwnProperty;
|
|
187
187
|
function Is(n) {
|
|
188
188
|
if (!Ni(n))
|
|
189
|
-
return
|
|
189
|
+
return ks(n);
|
|
190
190
|
var a = [];
|
|
191
191
|
for (var c in Object(n))
|
|
192
192
|
As.call(n, c) && c != "constructor" && a.push(c);
|
|
@@ -222,18 +222,18 @@ function Ys(n, a) {
|
|
|
222
222
|
var c = this.__data__;
|
|
223
223
|
return this.size += this.has(n) ? 0 : 1, c[n] = nt && a === void 0 ? Ws : a, this;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function ke(n) {
|
|
226
226
|
var a = -1, c = n == null ? 0 : n.length;
|
|
227
227
|
for (this.clear(); ++a < c; ) {
|
|
228
228
|
var h = n[a];
|
|
229
229
|
this.set(h[0], h[1]);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
232
|
+
ke.prototype.clear = Ds;
|
|
233
|
+
ke.prototype.delete = Ms;
|
|
234
|
+
ke.prototype.get = $s;
|
|
235
|
+
ke.prototype.has = Gs;
|
|
236
|
+
ke.prototype.set = Ys;
|
|
237
237
|
function zs() {
|
|
238
238
|
this.__data__ = [], this.size = 0;
|
|
239
239
|
}
|
|
@@ -262,24 +262,24 @@ function Zs(n, a) {
|
|
|
262
262
|
var c = this.__data__, h = At(c, n);
|
|
263
263
|
return h < 0 ? (++this.size, c.push([n, a])) : c[h][1] = a, this;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function ye(n) {
|
|
266
266
|
var a = -1, c = n == null ? 0 : n.length;
|
|
267
267
|
for (this.clear(); ++a < c; ) {
|
|
268
268
|
var h = n[a];
|
|
269
269
|
this.set(h[0], h[1]);
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
ye.prototype.clear = zs;
|
|
273
|
+
ye.prototype.delete = Js;
|
|
274
|
+
ye.prototype.get = Ks;
|
|
275
|
+
ye.prototype.has = qs;
|
|
276
|
+
ye.prototype.set = Zs;
|
|
277
277
|
var it = Ie(ce, "Map");
|
|
278
278
|
function Qs() {
|
|
279
279
|
this.size = 0, this.__data__ = {
|
|
280
|
-
hash: new
|
|
281
|
-
map: new (it ||
|
|
282
|
-
string: new
|
|
280
|
+
hash: new ke(),
|
|
281
|
+
map: new (it || ye)(),
|
|
282
|
+
string: new ke()
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
285
|
function eu(n) {
|
|
@@ -323,7 +323,7 @@ function ou(n, a) {
|
|
|
323
323
|
}
|
|
324
324
|
var au = Ai(Object.getPrototypeOf, Object);
|
|
325
325
|
function su() {
|
|
326
|
-
this.__data__ = new
|
|
326
|
+
this.__data__ = new ye(), this.size = 0;
|
|
327
327
|
}
|
|
328
328
|
function uu(n) {
|
|
329
329
|
var a = this.__data__, c = a.delete(n);
|
|
@@ -338,7 +338,7 @@ function cu(n) {
|
|
|
338
338
|
var fu = 200;
|
|
339
339
|
function pu(n, a) {
|
|
340
340
|
var c = this.__data__;
|
|
341
|
-
if (c instanceof
|
|
341
|
+
if (c instanceof ye) {
|
|
342
342
|
var h = c.__data__;
|
|
343
343
|
if (!it || h.length < fu - 1)
|
|
344
344
|
return h.push([n, a]), this.size = ++c.size, this;
|
|
@@ -347,7 +347,7 @@ function pu(n, a) {
|
|
|
347
347
|
return c.set(n, a), this.size = c.size, this;
|
|
348
348
|
}
|
|
349
349
|
function ze(n) {
|
|
350
|
-
var a = this.__data__ = new
|
|
350
|
+
var a = this.__data__ = new ye(n);
|
|
351
351
|
this.size = a.size;
|
|
352
352
|
}
|
|
353
353
|
ze.prototype.clear = su;
|
|
@@ -360,30 +360,30 @@ Dn && Dn.allocUnsafe;
|
|
|
360
360
|
function hu(n, a) {
|
|
361
361
|
return n.slice();
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
for (var c = -1, h = n == null ? 0 : n.length, v = 0,
|
|
365
|
-
var
|
|
366
|
-
a(
|
|
363
|
+
function mu(n, a) {
|
|
364
|
+
for (var c = -1, h = n == null ? 0 : n.length, v = 0, E = []; ++c < h; ) {
|
|
365
|
+
var m = n[c];
|
|
366
|
+
a(m, c, n) && (E[v++] = m);
|
|
367
367
|
}
|
|
368
|
-
return
|
|
368
|
+
return E;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function yu() {
|
|
371
371
|
return [];
|
|
372
372
|
}
|
|
373
373
|
var vu = Object.prototype, bu = vu.propertyIsEnumerable, Mn = Object.getOwnPropertySymbols, gu = Mn ? function(n) {
|
|
374
|
-
return n == null ? [] : (n = Object(n),
|
|
374
|
+
return n == null ? [] : (n = Object(n), mu(Mn(n), function(a) {
|
|
375
375
|
return bu.call(n, a);
|
|
376
376
|
}));
|
|
377
|
-
} :
|
|
377
|
+
} : yu;
|
|
378
378
|
function _u(n, a, c) {
|
|
379
379
|
var h = a(n);
|
|
380
|
-
return
|
|
380
|
+
return Lr(n) ? h : ou(h, c(n));
|
|
381
381
|
}
|
|
382
382
|
function Eu(n) {
|
|
383
383
|
return _u(n, Ls, gu);
|
|
384
384
|
}
|
|
385
|
-
var
|
|
386
|
-
(
|
|
385
|
+
var pr = Ie(ce, "DataView"), dr = Ie(ce, "Promise"), hr = Ie(ce, "Set"), Fn = "[object Map]", xu = "[object Object]", Un = "[object Promise]", jn = "[object Set]", $n = "[object WeakMap]", Bn = "[object DataView]", Ru = Ae(pr), Su = Ae(it), Tu = Ae(dr), Ou = Ae(hr), Nu = Ae(fr), me = at;
|
|
386
|
+
(pr && me(new pr(new ArrayBuffer(1))) != Bn || it && me(new it()) != Fn || dr && me(dr.resolve()) != Un || hr && me(new hr()) != jn || fr && me(new fr()) != $n) && (me = function(n) {
|
|
387
387
|
var a = at(n), c = a == xu ? n.constructor : void 0, h = c ? Ae(c) : "";
|
|
388
388
|
if (h)
|
|
389
389
|
switch (h) {
|
|
@@ -401,17 +401,17 @@ var fr = Ie(ce, "DataView"), pr = Ie(ce, "Promise"), dr = Ie(ce, "Set"), Fn = "[
|
|
|
401
401
|
return a;
|
|
402
402
|
});
|
|
403
403
|
var wu = Object.prototype, Pu = wu.hasOwnProperty;
|
|
404
|
-
function
|
|
404
|
+
function ku(n) {
|
|
405
405
|
var a = n.length, c = new n.constructor(a);
|
|
406
406
|
return a && typeof n[0] == "string" && Pu.call(n, "index") && (c.index = n.index, c.input = n.input), c;
|
|
407
407
|
}
|
|
408
408
|
var Vn = ce.Uint8Array;
|
|
409
|
-
function
|
|
409
|
+
function Mr(n) {
|
|
410
410
|
var a = new n.constructor(n.byteLength);
|
|
411
411
|
return new Vn(a).set(new Vn(n)), a;
|
|
412
412
|
}
|
|
413
|
-
function
|
|
414
|
-
var c =
|
|
413
|
+
function Cu(n, a) {
|
|
414
|
+
var c = Mr(n.buffer);
|
|
415
415
|
return new n.constructor(c, n.byteOffset, n.byteLength);
|
|
416
416
|
}
|
|
417
417
|
var Au = /\w*$/;
|
|
@@ -424,7 +424,7 @@ function Lu(n) {
|
|
|
424
424
|
return Wn ? Object(Wn.call(n)) : {};
|
|
425
425
|
}
|
|
426
426
|
function Du(n, a) {
|
|
427
|
-
var c =
|
|
427
|
+
var c = Mr(n.buffer);
|
|
428
428
|
return new n.constructor(c, n.byteOffset, n.length);
|
|
429
429
|
}
|
|
430
430
|
var Mu = "[object Boolean]", Fu = "[object Date]", Uu = "[object Map]", ju = "[object Number]", $u = "[object RegExp]", Bu = "[object Set]", Vu = "[object String]", Gu = "[object Symbol]", Wu = "[object ArrayBuffer]", Yu = "[object DataView]", zu = "[object Float32Array]", Xu = "[object Float64Array]", Hu = "[object Int8Array]", Ju = "[object Int16Array]", Ku = "[object Int32Array]", qu = "[object Uint8Array]", Zu = "[object Uint8ClampedArray]", Qu = "[object Uint16Array]", el = "[object Uint32Array]";
|
|
@@ -432,12 +432,12 @@ function tl(n, a, c) {
|
|
|
432
432
|
var h = n.constructor;
|
|
433
433
|
switch (a) {
|
|
434
434
|
case Wu:
|
|
435
|
-
return
|
|
435
|
+
return Mr(n);
|
|
436
436
|
case Mu:
|
|
437
437
|
case Fu:
|
|
438
438
|
return new h(+n);
|
|
439
439
|
case Yu:
|
|
440
|
-
return
|
|
440
|
+
return Cu(n);
|
|
441
441
|
case zu:
|
|
442
442
|
case Xu:
|
|
443
443
|
case Hu:
|
|
@@ -466,49 +466,49 @@ function rl(n) {
|
|
|
466
466
|
}
|
|
467
467
|
var nl = "[object Map]";
|
|
468
468
|
function il(n) {
|
|
469
|
-
return st(n) &&
|
|
469
|
+
return st(n) && me(n) == nl;
|
|
470
470
|
}
|
|
471
|
-
var Yn = We && We.isMap, ol = Yn ?
|
|
471
|
+
var Yn = We && We.isMap, ol = Yn ? Dr(Yn) : il, al = "[object Set]";
|
|
472
472
|
function sl(n) {
|
|
473
|
-
return st(n) &&
|
|
473
|
+
return st(n) && me(n) == al;
|
|
474
474
|
}
|
|
475
|
-
var zn = We && We.isSet, ul = zn ?
|
|
476
|
-
U[Li] = U[ll] = U[El] = U[xl] = U[cl] = U[fl] = U[Rl] = U[Sl] = U[Tl] = U[Ol] = U[Nl] = U[hl] = U[
|
|
475
|
+
var zn = We && We.isSet, ul = zn ? Dr(zn) : sl, Li = "[object Arguments]", ll = "[object Array]", cl = "[object Boolean]", fl = "[object Date]", pl = "[object Error]", Di = "[object Function]", dl = "[object GeneratorFunction]", hl = "[object Map]", ml = "[object Number]", Mi = "[object Object]", yl = "[object RegExp]", vl = "[object Set]", bl = "[object String]", gl = "[object Symbol]", _l = "[object WeakMap]", El = "[object ArrayBuffer]", xl = "[object DataView]", Rl = "[object Float32Array]", Sl = "[object Float64Array]", Tl = "[object Int8Array]", Ol = "[object Int16Array]", Nl = "[object Int32Array]", wl = "[object Uint8Array]", Pl = "[object Uint8ClampedArray]", kl = "[object Uint16Array]", Cl = "[object Uint32Array]", U = {};
|
|
476
|
+
U[Li] = U[ll] = U[El] = U[xl] = U[cl] = U[fl] = U[Rl] = U[Sl] = U[Tl] = U[Ol] = U[Nl] = U[hl] = U[ml] = U[Mi] = U[yl] = U[vl] = U[bl] = U[gl] = U[wl] = U[Pl] = U[kl] = U[Cl] = !0;
|
|
477
477
|
U[pl] = U[Di] = U[_l] = !1;
|
|
478
|
-
function Rt(n, a, c, h, v,
|
|
479
|
-
var
|
|
480
|
-
if (
|
|
481
|
-
return
|
|
482
|
-
if (!
|
|
478
|
+
function Rt(n, a, c, h, v, E) {
|
|
479
|
+
var m;
|
|
480
|
+
if (m !== void 0)
|
|
481
|
+
return m;
|
|
482
|
+
if (!Ct(n))
|
|
483
483
|
return n;
|
|
484
|
-
var T =
|
|
484
|
+
var T = Lr(n);
|
|
485
485
|
if (T)
|
|
486
|
-
|
|
486
|
+
m = ku(n);
|
|
487
487
|
else {
|
|
488
|
-
var S =
|
|
489
|
-
if (
|
|
488
|
+
var S = me(n), r = S == Di || S == dl;
|
|
489
|
+
if (ki(n))
|
|
490
490
|
return hu(n);
|
|
491
491
|
if (S == Mi || S == Li || r && !v)
|
|
492
|
-
|
|
492
|
+
m = r ? {} : rl(n);
|
|
493
493
|
else {
|
|
494
494
|
if (!U[S])
|
|
495
495
|
return v ? n : {};
|
|
496
|
-
|
|
496
|
+
m = tl(n, S);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
|
|
500
|
-
var t =
|
|
499
|
+
E || (E = new ze());
|
|
500
|
+
var t = E.get(n);
|
|
501
501
|
if (t)
|
|
502
502
|
return t;
|
|
503
|
-
|
|
504
|
-
|
|
503
|
+
E.set(n, m), ul(n) ? n.forEach(function(s) {
|
|
504
|
+
m.add(Rt(s, a, c, s, n, E));
|
|
505
505
|
}) : ol(n) && n.forEach(function(s, u) {
|
|
506
|
-
|
|
506
|
+
m.set(u, Rt(s, a, c, u, n, E));
|
|
507
507
|
});
|
|
508
508
|
var e = Eu, i = T ? void 0 : e(n);
|
|
509
509
|
return Da(i || n, function(s, u) {
|
|
510
|
-
i && (u = s, s = n[u]), Va(
|
|
511
|
-
}),
|
|
510
|
+
i && (u = s, s = n[u]), Va(m, u, Rt(s, a, c, u, n, E));
|
|
511
|
+
}), m;
|
|
512
512
|
}
|
|
513
513
|
var Al = 1, Il = 4;
|
|
514
514
|
function le(n) {
|
|
@@ -539,17 +539,17 @@ function Ui(n) {
|
|
|
539
539
|
}
|
|
540
540
|
function ji(n) {
|
|
541
541
|
const a = R(() => {
|
|
542
|
-
var
|
|
543
|
-
return (
|
|
542
|
+
var E;
|
|
543
|
+
return (E = n.node.title) == null ? void 0 : E.show;
|
|
544
544
|
}), c = R(() => {
|
|
545
|
-
var
|
|
546
|
-
return (
|
|
545
|
+
var E;
|
|
546
|
+
return (E = n.node.title) == null ? void 0 : E.text;
|
|
547
547
|
}), h = R(() => {
|
|
548
|
-
var
|
|
549
|
-
return (
|
|
548
|
+
var E;
|
|
549
|
+
return (E = n.node.title) == null ? void 0 : E.subtext;
|
|
550
550
|
});
|
|
551
|
-
function v(
|
|
552
|
-
|
|
551
|
+
function v(E) {
|
|
552
|
+
E.title = {
|
|
553
553
|
show: a.value,
|
|
554
554
|
text: c.value,
|
|
555
555
|
subtext: h.value
|
|
@@ -559,105 +559,117 @@ function ji(n) {
|
|
|
559
559
|
}
|
|
560
560
|
function $i(n) {
|
|
561
561
|
const a = R(() => {
|
|
562
|
-
var
|
|
563
|
-
return (
|
|
562
|
+
var m;
|
|
563
|
+
return (m = n.node.xAxis) == null ? void 0 : m.show;
|
|
564
564
|
}), c = R(() => {
|
|
565
|
-
var
|
|
566
|
-
return (
|
|
565
|
+
var m;
|
|
566
|
+
return (m = n.node.xAxis) == null ? void 0 : m.position;
|
|
567
567
|
}), h = R(() => {
|
|
568
|
-
var
|
|
569
|
-
return (
|
|
568
|
+
var m;
|
|
569
|
+
return (m = n.node.xAxis) == null ? void 0 : m.type;
|
|
570
570
|
}), v = R(() => {
|
|
571
|
-
var
|
|
572
|
-
return (
|
|
571
|
+
var m;
|
|
572
|
+
return (m = n.node.xAxis) == null ? void 0 : m.data;
|
|
573
573
|
});
|
|
574
|
-
function
|
|
575
|
-
|
|
574
|
+
function E(m) {
|
|
575
|
+
m.xAxis = {
|
|
576
576
|
show: a.value,
|
|
577
577
|
position: c.value,
|
|
578
578
|
type: h.value,
|
|
579
579
|
data: v.value
|
|
580
580
|
};
|
|
581
581
|
}
|
|
582
|
-
return { show: a, position: c, type: h, data: v, applyXAxis:
|
|
582
|
+
return { show: a, position: c, type: h, data: v, applyXAxis: E };
|
|
583
583
|
}
|
|
584
584
|
function Bi(n) {
|
|
585
585
|
const a = R(() => {
|
|
586
|
-
var
|
|
587
|
-
return (
|
|
586
|
+
var m;
|
|
587
|
+
return (m = n.node.yAxis) == null ? void 0 : m.show;
|
|
588
588
|
}), c = R(() => {
|
|
589
|
-
var
|
|
590
|
-
return (
|
|
589
|
+
var m;
|
|
590
|
+
return (m = n.node.yAxis) == null ? void 0 : m.position;
|
|
591
591
|
}), h = R(() => {
|
|
592
|
-
var
|
|
593
|
-
return (
|
|
592
|
+
var m;
|
|
593
|
+
return (m = n.node.yAxis) == null ? void 0 : m.type;
|
|
594
594
|
}), v = R(() => {
|
|
595
|
-
var
|
|
596
|
-
return (
|
|
595
|
+
var m;
|
|
596
|
+
return (m = n.node.yAxis) == null ? void 0 : m.data;
|
|
597
597
|
});
|
|
598
|
-
function
|
|
599
|
-
|
|
598
|
+
function E(m) {
|
|
599
|
+
m.yAxis = {
|
|
600
600
|
show: a.value,
|
|
601
601
|
position: c.value,
|
|
602
602
|
type: h.value,
|
|
603
603
|
data: v.value
|
|
604
604
|
};
|
|
605
605
|
}
|
|
606
|
-
return { show: a, position: c, type: h, data: v, applyYAxis:
|
|
606
|
+
return { show: a, position: c, type: h, data: v, applyYAxis: E };
|
|
607
607
|
}
|
|
608
|
-
function Ll(n) {
|
|
609
|
-
const
|
|
610
|
-
var
|
|
611
|
-
return (
|
|
612
|
-
}), c = R(() => {
|
|
613
|
-
var _;
|
|
614
|
-
return (_ = n.node.border) == null ? void 0 : _.width;
|
|
608
|
+
function Ll(n, a) {
|
|
609
|
+
const c = R(() => {
|
|
610
|
+
var t;
|
|
611
|
+
return (t = a.node.border) == null ? void 0 : t.style;
|
|
615
612
|
}), h = R(() => {
|
|
616
|
-
var
|
|
617
|
-
return (
|
|
613
|
+
var t;
|
|
614
|
+
return (t = a.node.border) == null ? void 0 : t.width;
|
|
615
|
+
}), v = R(() => {
|
|
616
|
+
var t, e, i, s;
|
|
617
|
+
return n.value ? (e = (t = a.node.border) == null ? void 0 : t.color) == null ? void 0 : e.dark : (s = (i = a.node.border) == null ? void 0 : i.color) == null ? void 0 : s.light;
|
|
618
|
+
}), E = R(() => {
|
|
619
|
+
var t, e;
|
|
620
|
+
return (e = (t = a.node.border) == null ? void 0 : t.roundRadius) == null ? void 0 : e.tl;
|
|
621
|
+
}), m = R(() => {
|
|
622
|
+
var t, e;
|
|
623
|
+
return (e = (t = a.node.border) == null ? void 0 : t.roundRadius) == null ? void 0 : e.tr;
|
|
624
|
+
}), T = R(() => {
|
|
625
|
+
var t, e;
|
|
626
|
+
return (e = (t = a.node.border) == null ? void 0 : t.roundRadius) == null ? void 0 : e.bl;
|
|
627
|
+
}), S = R(() => {
|
|
628
|
+
var t, e;
|
|
629
|
+
return (e = (t = a.node.border) == null ? void 0 : t.roundRadius) == null ? void 0 : e.br;
|
|
618
630
|
});
|
|
619
|
-
function
|
|
620
|
-
|
|
631
|
+
function r(t) {
|
|
632
|
+
c.value && (t.borderStyle = c.value), h.value && (t.borderWidth = h.value), v.value && (t.borderColor = v.value), E.value && (t.borderTopLeftRadius = E.value), m.value && (t.borderTopRightRadius = m.value), T.value && (t.borderBottomLeftRadius = T.value), S.value && (t.borderBottomRightRadius = S.value);
|
|
621
633
|
}
|
|
622
|
-
return { borderStyle:
|
|
634
|
+
return { borderStyle: c, borderWidth: h, borderColor: v, applyBorder: r };
|
|
623
635
|
}
|
|
624
636
|
function Dl(n) {
|
|
625
637
|
const a = R(() => {
|
|
626
|
-
var
|
|
627
|
-
return (
|
|
638
|
+
var m;
|
|
639
|
+
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
628
640
|
}), c = R(() => {
|
|
629
|
-
var
|
|
630
|
-
return (
|
|
641
|
+
var m;
|
|
642
|
+
return (m = n.node.margin) == null ? void 0 : m.left;
|
|
631
643
|
}), h = R(() => {
|
|
632
|
-
var
|
|
633
|
-
return (
|
|
644
|
+
var m;
|
|
645
|
+
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
634
646
|
}), v = R(() => {
|
|
635
|
-
var
|
|
636
|
-
return (
|
|
647
|
+
var m;
|
|
648
|
+
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
637
649
|
});
|
|
638
|
-
function
|
|
639
|
-
a.value && (
|
|
650
|
+
function E(m) {
|
|
651
|
+
a.value && (m.marginTop = a.value), c.value && (m.marginLeft = c.value), h.value && (m.marginBottom = h.value), v.value && (m.marginRight = v.value);
|
|
640
652
|
}
|
|
641
|
-
return { marginTop: a, marginLeft: c, marginBottom: h, marginRight: v, applyMargin:
|
|
653
|
+
return { marginTop: a, marginLeft: c, marginBottom: h, marginRight: v, applyMargin: E };
|
|
642
654
|
}
|
|
643
655
|
function Ml(n) {
|
|
644
656
|
const a = R(() => {
|
|
645
|
-
var
|
|
646
|
-
return (
|
|
657
|
+
var m;
|
|
658
|
+
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
647
659
|
}), c = R(() => {
|
|
648
|
-
var
|
|
649
|
-
return (
|
|
660
|
+
var m;
|
|
661
|
+
return (m = n.node.padding) == null ? void 0 : m.left;
|
|
650
662
|
}), h = R(() => {
|
|
651
|
-
var
|
|
652
|
-
return (
|
|
663
|
+
var m;
|
|
664
|
+
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
653
665
|
}), v = R(() => {
|
|
654
|
-
var
|
|
655
|
-
return (
|
|
666
|
+
var m;
|
|
667
|
+
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
656
668
|
});
|
|
657
|
-
function
|
|
658
|
-
a.value && (
|
|
669
|
+
function E(m) {
|
|
670
|
+
a.value && (m.paddingTop = a.value), c.value && (m.paddingLeft = c.value), h.value && (m.paddingBottom = h.value), v.value && (m.paddingRight = v.value);
|
|
659
671
|
}
|
|
660
|
-
return { paddingTop: a, paddingLeft: c, paddingBottom: h, paddingRight: v, applyPadding:
|
|
672
|
+
return { paddingTop: a, paddingLeft: c, paddingBottom: h, paddingRight: v, applyPadding: E };
|
|
661
673
|
}
|
|
662
674
|
const Xn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
663
675
|
function Vi(n) {
|
|
@@ -668,10 +680,10 @@ function Vi(n) {
|
|
|
668
680
|
}
|
|
669
681
|
return a;
|
|
670
682
|
}
|
|
671
|
-
function
|
|
683
|
+
function Fr(n) {
|
|
672
684
|
return n === "";
|
|
673
685
|
}
|
|
674
|
-
function
|
|
686
|
+
function Lt(n) {
|
|
675
687
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
676
688
|
return !1;
|
|
677
689
|
const a = n.substring(0, n.length - 2), c = parseFloat(a);
|
|
@@ -683,14 +695,14 @@ function Ur(n) {
|
|
|
683
695
|
const a = n.substring(0, n.length - 1), c = parseFloat(a);
|
|
684
696
|
return !isNaN(c);
|
|
685
697
|
}
|
|
686
|
-
function
|
|
698
|
+
function bp(n) {
|
|
687
699
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
688
700
|
return;
|
|
689
701
|
const a = n.substring(0, n.length - 2), c = parseFloat(a);
|
|
690
702
|
if (!isNaN(c) && c % 1 === 0)
|
|
691
703
|
return c;
|
|
692
704
|
}
|
|
693
|
-
function
|
|
705
|
+
function lr(n) {
|
|
694
706
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
695
707
|
return;
|
|
696
708
|
const a = n.substring(0, n.length - 1), c = parseFloat(a);
|
|
@@ -719,21 +731,21 @@ function Jn(n, a) {
|
|
|
719
731
|
return;
|
|
720
732
|
h[v.key] = Hn(v);
|
|
721
733
|
} else
|
|
722
|
-
v.array ? h[v.key] = Hn(v) : v.children.forEach((
|
|
723
|
-
h[v.key] || (h[v.key] = {}), c(h[v.key],
|
|
734
|
+
v.array ? h[v.key] = Hn(v) : v.children.forEach((E) => {
|
|
735
|
+
h[v.key] || (h[v.key] = {}), c(h[v.key], E);
|
|
724
736
|
});
|
|
725
737
|
}
|
|
726
738
|
a.forEach((h) => c(n, h));
|
|
727
739
|
}
|
|
728
740
|
function Ul(n, a, c, h, v) {
|
|
729
|
-
const
|
|
730
|
-
if (!
|
|
731
|
-
console.error(`spawnNode prop tag not found, ${
|
|
741
|
+
const E = `type=${n} subtype=${a} version=${c} ref=${h} keyOrRefid=${v}`, m = Fl(n, a);
|
|
742
|
+
if (!m) {
|
|
743
|
+
console.error(`spawnNode prop tag not found, ${E}`);
|
|
732
744
|
return;
|
|
733
745
|
}
|
|
734
746
|
const T = jr[c];
|
|
735
747
|
if (!T) {
|
|
736
|
-
console.error(`spawnNode pkg not found version, ${
|
|
748
|
+
console.error(`spawnNode pkg not found version, ${E}`);
|
|
737
749
|
return;
|
|
738
750
|
}
|
|
739
751
|
const S = {
|
|
@@ -745,17 +757,17 @@ function Ul(n, a, c, h, v) {
|
|
|
745
757
|
if (h) {
|
|
746
758
|
const t = T.refKey, e = v;
|
|
747
759
|
if (!T.elements.has(t)) {
|
|
748
|
-
console.error(`spawnNode [ref] element not found in pkg, ${
|
|
760
|
+
console.error(`spawnNode [ref] element not found in pkg, ${E}`);
|
|
749
761
|
return;
|
|
750
762
|
}
|
|
751
|
-
const i =
|
|
763
|
+
const i = Ce[t];
|
|
752
764
|
if (!i) {
|
|
753
|
-
console.error(`spawnNode [ref] element not found in global, ${
|
|
765
|
+
console.error(`spawnNode [ref] element not found in global, ${E}`);
|
|
754
766
|
return;
|
|
755
767
|
}
|
|
756
|
-
const s = i.props[
|
|
768
|
+
const s = i.props[m];
|
|
757
769
|
if (!s) {
|
|
758
|
-
console.error(`spawnNode [ref] props not found, ${
|
|
770
|
+
console.error(`spawnNode [ref] props not found, ${E}`);
|
|
759
771
|
return;
|
|
760
772
|
}
|
|
761
773
|
Jn(S, s), S.basic.id = r, S.basic.key = t, S.ref = {
|
|
@@ -764,32 +776,32 @@ function Ul(n, a, c, h, v) {
|
|
|
764
776
|
} else {
|
|
765
777
|
const t = v;
|
|
766
778
|
if (!T.elements.has(t)) {
|
|
767
|
-
console.error(`spawnNode [key] element not found in pkg, ${
|
|
779
|
+
console.error(`spawnNode [key] element not found in pkg, ${E}`);
|
|
768
780
|
return;
|
|
769
781
|
}
|
|
770
|
-
const e =
|
|
782
|
+
const e = Ce[t];
|
|
771
783
|
if (!e) {
|
|
772
|
-
console.error(`spawnNode [key] element not found in global, ${
|
|
784
|
+
console.error(`spawnNode [key] element not found in global, ${E}`);
|
|
773
785
|
return;
|
|
774
786
|
}
|
|
775
|
-
const i = e.props[
|
|
787
|
+
const i = e.props[m];
|
|
776
788
|
if (!i) {
|
|
777
|
-
console.error(`spawnNode [key] props not found, ${
|
|
789
|
+
console.error(`spawnNode [key] props not found, ${E}`);
|
|
778
790
|
return;
|
|
779
791
|
}
|
|
780
792
|
Jn(S, i), S.basic.id = r, S.basic.key = t, e.slots.some((s) => s.key === "default") && (S.children = []);
|
|
781
793
|
}
|
|
782
794
|
return S;
|
|
783
795
|
}
|
|
784
|
-
function
|
|
796
|
+
function gp(n, a) {
|
|
785
797
|
function c(h) {
|
|
786
798
|
if (h.basic.id === a)
|
|
787
799
|
return h;
|
|
788
800
|
if (h.children)
|
|
789
801
|
for (let v = 0; v < h.children.length; v++) {
|
|
790
|
-
const
|
|
791
|
-
if (
|
|
792
|
-
return
|
|
802
|
+
const E = c(h.children[v]);
|
|
803
|
+
if (E)
|
|
804
|
+
return E;
|
|
793
805
|
}
|
|
794
806
|
}
|
|
795
807
|
for (let h = 0; h < n.length; h++) {
|
|
@@ -801,55 +813,55 @@ function bp(n, a) {
|
|
|
801
813
|
function jl(n) {
|
|
802
814
|
function a(h) {
|
|
803
815
|
var v;
|
|
804
|
-
h.basic.id = Vi(16), (v = h.children) == null || v.forEach((
|
|
816
|
+
h.basic.id = Vi(16), (v = h.children) == null || v.forEach((E) => a(E));
|
|
805
817
|
}
|
|
806
818
|
const c = le(n);
|
|
807
819
|
return a(c), c;
|
|
808
820
|
}
|
|
809
|
-
function
|
|
821
|
+
function _p(n) {
|
|
810
822
|
const a = [];
|
|
811
823
|
return n.forEach((c) => {
|
|
812
824
|
a.push(jl(c));
|
|
813
825
|
}), a;
|
|
814
826
|
}
|
|
815
827
|
const Gi = "runtimeEnv", Wi = "runtimeMode", Yi = "runtimeDevice", zi = "runtimeDark", Xi = "runtimeType", Hi = "runtimeData", Ji = "runtimeDepends", Ki = "runtimeSandbox";
|
|
816
|
-
function
|
|
828
|
+
function Ep(n) {
|
|
817
829
|
xe(Gi, n);
|
|
818
830
|
}
|
|
819
831
|
function qi() {
|
|
820
832
|
return Re(Gi);
|
|
821
833
|
}
|
|
822
|
-
function
|
|
834
|
+
function xp(n) {
|
|
823
835
|
xe(Wi, n);
|
|
824
836
|
}
|
|
825
837
|
function se() {
|
|
826
838
|
return Re(Wi);
|
|
827
839
|
}
|
|
828
|
-
function
|
|
840
|
+
function Rp(n) {
|
|
829
841
|
xe(Yi, Cr(n));
|
|
830
842
|
}
|
|
831
|
-
function
|
|
843
|
+
function Dt() {
|
|
832
844
|
return Re(Yi);
|
|
833
845
|
}
|
|
834
|
-
function
|
|
846
|
+
function Sp(n) {
|
|
835
847
|
xe(zi, Cr(n));
|
|
836
848
|
}
|
|
837
849
|
function ve() {
|
|
838
850
|
return Re(zi);
|
|
839
851
|
}
|
|
840
|
-
function
|
|
852
|
+
function Tp(n) {
|
|
841
853
|
xe(Xi, n);
|
|
842
854
|
}
|
|
843
855
|
function ut() {
|
|
844
856
|
return Re(Xi);
|
|
845
857
|
}
|
|
846
|
-
function
|
|
858
|
+
function Op(n) {
|
|
847
859
|
xe(Hi, n);
|
|
848
860
|
}
|
|
849
861
|
function lt() {
|
|
850
862
|
return Re(Hi);
|
|
851
863
|
}
|
|
852
|
-
function
|
|
864
|
+
function Np(n) {
|
|
853
865
|
xe(Ji, Cr(n));
|
|
854
866
|
}
|
|
855
867
|
function Zi() {
|
|
@@ -861,20 +873,20 @@ function Qi(n) {
|
|
|
861
873
|
function $l() {
|
|
862
874
|
return Re(Ki);
|
|
863
875
|
}
|
|
864
|
-
function
|
|
876
|
+
function Mt(n, a, c) {
|
|
865
877
|
const h = R(() => {
|
|
866
878
|
var t;
|
|
867
879
|
return (t = c.node.size) == null ? void 0 : t.width;
|
|
868
880
|
}), v = R(() => {
|
|
869
881
|
var t;
|
|
870
882
|
return (t = c.node.size) == null ? void 0 : t.minWidth;
|
|
871
|
-
}),
|
|
883
|
+
}), E = R(() => {
|
|
872
884
|
var t;
|
|
873
885
|
return (t = c.node.size) == null ? void 0 : t.maxWidth;
|
|
874
|
-
}),
|
|
886
|
+
}), m = R(() => {
|
|
875
887
|
var t, e;
|
|
876
888
|
if (c.outer && n === "editor") {
|
|
877
|
-
const i =
|
|
889
|
+
const i = lr((t = c.node.size) == null ? void 0 : t.height);
|
|
878
890
|
if (i)
|
|
879
891
|
return i / 100 * a.value.height + "px";
|
|
880
892
|
}
|
|
@@ -882,7 +894,7 @@ function Dt(n, a, c) {
|
|
|
882
894
|
}), T = R(() => {
|
|
883
895
|
var t, e;
|
|
884
896
|
if (c.outer && n === "editor") {
|
|
885
|
-
const i =
|
|
897
|
+
const i = lr((t = c.node.size) == null ? void 0 : t.minHeight);
|
|
886
898
|
if (i)
|
|
887
899
|
return i / 100 * a.value.height + "px";
|
|
888
900
|
}
|
|
@@ -890,16 +902,16 @@ function Dt(n, a, c) {
|
|
|
890
902
|
}), S = R(() => {
|
|
891
903
|
var t, e;
|
|
892
904
|
if (c.outer && n === "editor") {
|
|
893
|
-
const i =
|
|
905
|
+
const i = lr((t = c.node.size) == null ? void 0 : t.maxHeight);
|
|
894
906
|
if (i)
|
|
895
907
|
return i / 100 * a.value.height + "px";
|
|
896
908
|
}
|
|
897
909
|
return (e = c.node.size) == null ? void 0 : e.maxHeight;
|
|
898
910
|
});
|
|
899
911
|
function r(t) {
|
|
900
|
-
h.value && (t.width = h.value), v.value && (t.minWidth = v.value),
|
|
912
|
+
h.value && (t.width = h.value), v.value && (t.minWidth = v.value), E.value && (t.maxWidth = E.value), m.value && (t.height = m.value), T.value && (t.minHeight = T.value), S.value && (t.maxHeight = S.value);
|
|
901
913
|
}
|
|
902
|
-
return { width: h, minWidth: v, maxWidth:
|
|
914
|
+
return { width: h, minWidth: v, maxWidth: E, height: m, minHeight: T, maxHeight: S, applySize: r };
|
|
903
915
|
}
|
|
904
916
|
function Bl(n, a) {
|
|
905
917
|
const c = R(() => n.node.basic.id), h = R(() => `callMethod@${c.value}`);
|
|
@@ -909,7 +921,7 @@ function Bl(n, a) {
|
|
|
909
921
|
Ve.off(h.value, a);
|
|
910
922
|
});
|
|
911
923
|
}
|
|
912
|
-
const Vl = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Gl = "#242424", Wl = {}, Yl = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, zl = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Xl = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Hl = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Jl = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Kl = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ql = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Zl = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ql = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ec = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, tc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, rc = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, nc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, ic = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, oc = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, ac = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, sc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, uc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, lc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, cc = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, fc = { textStyle: { color: "#eeeeee" } }, pc = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, dc = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, hc = { color: ["#bf444c", "#d88273", "#f6efa6"] },
|
|
924
|
+
const Vl = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Gl = "#242424", Wl = {}, Yl = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, zl = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Xl = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Hl = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Jl = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Kl = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ql = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Zl = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ql = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ec = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, tc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, rc = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, nc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, ic = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, oc = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, ac = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, sc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, uc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, lc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, cc = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, fc = { textStyle: { color: "#eeeeee" } }, pc = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, dc = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, hc = { color: ["#bf444c", "#d88273", "#f6efa6"] }, mc = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, yc = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, vc = {
|
|
913
925
|
color: Vl,
|
|
914
926
|
backgroundColor: Gl,
|
|
915
927
|
textStyle: Wl,
|
|
@@ -937,9 +949,9 @@ const Vl = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#
|
|
|
937
949
|
tooltip: pc,
|
|
938
950
|
timeline: dc,
|
|
939
951
|
visualMap: hc,
|
|
940
|
-
dataZoom:
|
|
941
|
-
markPoint:
|
|
942
|
-
}, bc = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], gc = "#f5f5f5", _c = {}, Ec = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, xc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Rc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Sc = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Tc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Oc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Nc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, wc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Pc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } },
|
|
952
|
+
dataZoom: mc,
|
|
953
|
+
markPoint: yc
|
|
954
|
+
}, bc = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], gc = "#f5f5f5", _c = {}, Ec = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, xc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Rc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Sc = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Tc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Oc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Nc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, wc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Pc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, kc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Cc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ac = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, Ic = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Lc = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Dc = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Mc = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Fc = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Uc = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, jc = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, $c = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Bc = { textStyle: { color: "#333333" } }, Vc = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, Gc = { lineStyle: { color: "#eeeeee", width: "2" }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: "1" }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: "1" }, label: { color: "#eeeeee" } } }, Wc = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Yc = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, zc = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, Xc = {
|
|
943
955
|
color: bc,
|
|
944
956
|
backgroundColor: gc,
|
|
945
957
|
textStyle: _c,
|
|
@@ -952,8 +964,8 @@ const Vl = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#
|
|
|
952
964
|
boxplot: Nc,
|
|
953
965
|
parallel: wc,
|
|
954
966
|
sankey: Pc,
|
|
955
|
-
funnel:
|
|
956
|
-
gauge:
|
|
967
|
+
funnel: kc,
|
|
968
|
+
gauge: Cc,
|
|
957
969
|
candlestick: Ac,
|
|
958
970
|
graph: Ic,
|
|
959
971
|
map: Lc,
|
|
@@ -989,27 +1001,27 @@ const Hc = /* @__PURE__ */ ne({
|
|
|
989
1001
|
outer: { type: Boolean }
|
|
990
1002
|
},
|
|
991
1003
|
setup(n) {
|
|
992
|
-
const a = n, c = se(), h =
|
|
993
|
-
const P = {},
|
|
994
|
-
return
|
|
1004
|
+
const a = n, c = se(), h = Dt(), v = ve(), E = ut(), m = lt(), { width: T, minWidth: S, maxWidth: r, height: t, minHeight: e, maxHeight: i, applySize: s } = Mt(c, h, a), { applyTitle: u } = ji(a), { applyXAxis: l } = $i(a), { applyYAxis: o } = Bi(a), { applyLegend: p } = Fi(a), { applySeries: y } = Ui(a), b = R(() => {
|
|
1005
|
+
const P = {}, Z = m.value.type;
|
|
1006
|
+
return E === "page" ? Z === "common" ? s(P) : console.assert(!1) : E === "comp" && Z === "common" ? s(P) : console.assert(!1), P;
|
|
995
1007
|
}), O = hi("chart");
|
|
996
|
-
let
|
|
1008
|
+
let _;
|
|
997
1009
|
const N = () => {
|
|
998
|
-
|
|
1010
|
+
_ == null || _.dispose(), _ = _i.init(O.value, v.value ? "dark" : "light");
|
|
999
1011
|
const P = {};
|
|
1000
|
-
|
|
1012
|
+
_.setOption(P);
|
|
1001
1013
|
}, w = () => {
|
|
1002
|
-
|
|
1014
|
+
_ == null || _.resize();
|
|
1003
1015
|
}, I = () => {
|
|
1004
1016
|
const P = {};
|
|
1005
|
-
u(P), l(P), o(P), p(P),
|
|
1017
|
+
u(P), l(P), o(P), p(P), y(P), _ == null || _.setOption(P, !0);
|
|
1006
1018
|
};
|
|
1007
|
-
return
|
|
1019
|
+
return mi(async () => {
|
|
1008
1020
|
window.addEventListener("resize", w, !1), await bi(() => !!O.value), N(), I();
|
|
1009
1021
|
}), ot(() => {
|
|
1010
|
-
window.removeEventListener("resize", w, !1),
|
|
1022
|
+
window.removeEventListener("resize", w, !1), _ == null || _.dispose();
|
|
1011
1023
|
}), Pe([T, S, r, t, e, i], async () => {
|
|
1012
|
-
await
|
|
1024
|
+
await yi(), w();
|
|
1013
1025
|
}), Pe([v], () => {
|
|
1014
1026
|
N(), I();
|
|
1015
1027
|
}), Pe(
|
|
@@ -1018,9 +1030,9 @@ const Hc = /* @__PURE__ */ ne({
|
|
|
1018
1030
|
I();
|
|
1019
1031
|
},
|
|
1020
1032
|
{ deep: !0 }
|
|
1021
|
-
), (P,
|
|
1033
|
+
), (P, Z) => (G(), Se("div", {
|
|
1022
1034
|
ref: "chart",
|
|
1023
|
-
style:
|
|
1035
|
+
style: Ar(b.value)
|
|
1024
1036
|
}, null, 4));
|
|
1025
1037
|
}
|
|
1026
1038
|
}), Jc = /* @__PURE__ */ ne({
|
|
@@ -1030,27 +1042,27 @@ const Hc = /* @__PURE__ */ ne({
|
|
|
1030
1042
|
outer: { type: Boolean }
|
|
1031
1043
|
},
|
|
1032
1044
|
setup(n) {
|
|
1033
|
-
const a = n, c = se(), h =
|
|
1034
|
-
const P = {},
|
|
1035
|
-
return
|
|
1045
|
+
const a = n, c = se(), h = Dt(), v = ve(), E = ut(), m = lt(), { width: T, minWidth: S, maxWidth: r, height: t, minHeight: e, maxHeight: i, applySize: s } = Mt(c, h, a), { applyTitle: u } = ji(a), { applyXAxis: l } = $i(a), { applyYAxis: o } = Bi(a), { applyLegend: p } = Fi(a), { applySeries: y } = Ui(a), b = R(() => {
|
|
1046
|
+
const P = {}, Z = m.value.type;
|
|
1047
|
+
return E === "page" ? Z === "common" ? s(P) : console.assert(!1) : E === "comp" && Z === "common" ? s(P) : console.assert(!1), P;
|
|
1036
1048
|
}), O = hi("chart");
|
|
1037
|
-
let
|
|
1049
|
+
let _;
|
|
1038
1050
|
const N = () => {
|
|
1039
|
-
|
|
1051
|
+
_ == null || _.dispose(), _ = _i.init(O.value, v.value ? "dark" : "light");
|
|
1040
1052
|
const P = {};
|
|
1041
|
-
|
|
1053
|
+
_.setOption(P);
|
|
1042
1054
|
}, w = () => {
|
|
1043
|
-
|
|
1055
|
+
_ == null || _.resize();
|
|
1044
1056
|
}, I = () => {
|
|
1045
1057
|
const P = {};
|
|
1046
|
-
u(P), l(P), o(P), p(P),
|
|
1058
|
+
u(P), l(P), o(P), p(P), y(P), _ == null || _.setOption(P, !0);
|
|
1047
1059
|
};
|
|
1048
|
-
return
|
|
1060
|
+
return mi(async () => {
|
|
1049
1061
|
window.addEventListener("resize", w, !1), await bi(() => !!O.value), N(), I();
|
|
1050
1062
|
}), ot(() => {
|
|
1051
|
-
window.removeEventListener("resize", w, !1),
|
|
1063
|
+
window.removeEventListener("resize", w, !1), _ == null || _.dispose();
|
|
1052
1064
|
}), Pe([T, S, r, t, e, i], async () => {
|
|
1053
|
-
await
|
|
1065
|
+
await yi(), w();
|
|
1054
1066
|
}), Pe([v], () => {
|
|
1055
1067
|
N(), I();
|
|
1056
1068
|
}), Pe(
|
|
@@ -1059,9 +1071,9 @@ const Hc = /* @__PURE__ */ ne({
|
|
|
1059
1071
|
I();
|
|
1060
1072
|
},
|
|
1061
1073
|
{ deep: !0 }
|
|
1062
|
-
), (P,
|
|
1074
|
+
), (P, Z) => (G(), Se("div", {
|
|
1063
1075
|
ref: "chart",
|
|
1064
|
-
style:
|
|
1076
|
+
style: Ar(b.value)
|
|
1065
1077
|
}, null, 4));
|
|
1066
1078
|
}
|
|
1067
1079
|
});
|
|
@@ -1107,7 +1119,7 @@ function rf() {
|
|
|
1107
1119
|
!*** ./original-repo/interpreter.js ***!
|
|
1108
1120
|
\**************************************/
|
|
1109
1121
|
/***/
|
|
1110
|
-
function(
|
|
1122
|
+
function(m, T, S) {
|
|
1111
1123
|
/**
|
|
1112
1124
|
* @license
|
|
1113
1125
|
* Copyright 2013 Neil Fraser
|
|
@@ -1128,8 +1140,8 @@ function rf() {
|
|
|
1128
1140
|
typeof this[p] == "function" && (o = p.match(l)) && (this.stepFunctions_[o[1]] = this[p].bind(this));
|
|
1129
1141
|
this.globalScope = this.createScope(this.ast, null), this.globalObject = this.globalScope.object, this.ast = this.parse_(this.polyfills_.join(`
|
|
1130
1142
|
`), "polyfills"), this.polyfills_ = void 0, r.stripLocations_(this.ast, void 0, void 0);
|
|
1131
|
-
var
|
|
1132
|
-
|
|
1143
|
+
var y = new r.State(this.ast, this.globalScope);
|
|
1144
|
+
y.done = !1, this.stateStack = [y], this.run(), this.value = void 0, this.ast = s, y = new r.State(this.ast, this.globalScope), y.done = !1, this.stateStack.length = 0, this.stateStack[0] = y;
|
|
1133
1145
|
};
|
|
1134
1146
|
r.Completion = {
|
|
1135
1147
|
NORMAL: 0,
|
|
@@ -1349,8 +1361,8 @@ function rf() {
|
|
|
1349
1361
|
return function(p) {
|
|
1350
1362
|
try {
|
|
1351
1363
|
return o(p);
|
|
1352
|
-
} catch (
|
|
1353
|
-
e.throwException(e.URI_ERROR,
|
|
1364
|
+
} catch (y) {
|
|
1365
|
+
e.throwException(e.URI_ERROR, y.message);
|
|
1354
1366
|
}
|
|
1355
1367
|
};
|
|
1356
1368
|
}(u[l][0]), this.setProperty(
|
|
@@ -1397,17 +1409,17 @@ function rf() {
|
|
|
1397
1409
|
var o = "";
|
|
1398
1410
|
var p = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1399
1411
|
if (p) {
|
|
1400
|
-
for (var
|
|
1401
|
-
var O =
|
|
1412
|
+
for (var y = p.split(/\s*,\s*/), b = 0; b < y.length; b++) {
|
|
1413
|
+
var O = y[b];
|
|
1402
1414
|
s.test(O) || e.throwException(
|
|
1403
1415
|
e.SYNTAX_ERROR,
|
|
1404
1416
|
"Invalid function argument: " + O
|
|
1405
1417
|
);
|
|
1406
1418
|
}
|
|
1407
|
-
p =
|
|
1419
|
+
p = y.join(", ");
|
|
1408
1420
|
}
|
|
1409
1421
|
try {
|
|
1410
|
-
var
|
|
1422
|
+
var _ = e.parse_(
|
|
1411
1423
|
"(function(" + p + ") {" + o + "})",
|
|
1412
1424
|
"function" + e.functionCodeNumber_++
|
|
1413
1425
|
);
|
|
@@ -1417,11 +1429,11 @@ function rf() {
|
|
|
1417
1429
|
"Invalid code: " + w.message
|
|
1418
1430
|
);
|
|
1419
1431
|
}
|
|
1420
|
-
|
|
1432
|
+
_.body.length !== 1 && e.throwException(
|
|
1421
1433
|
e.SYNTAX_ERROR,
|
|
1422
1434
|
"Invalid code in function body"
|
|
1423
1435
|
);
|
|
1424
|
-
var N =
|
|
1436
|
+
var N = _.body[0].expression;
|
|
1425
1437
|
return e.createFunction(
|
|
1426
1438
|
N,
|
|
1427
1439
|
e.globalScope,
|
|
@@ -1449,11 +1461,11 @@ function rf() {
|
|
|
1449
1461
|
0,
|
|
1450
1462
|
r.READONLY_NONENUMERABLE_DESCRIPTOR
|
|
1451
1463
|
), this.FUNCTION_PROTO.class = "Function", i = function(l, o, p) {
|
|
1452
|
-
var
|
|
1453
|
-
|
|
1464
|
+
var y = e.stateStack[e.stateStack.length - 1];
|
|
1465
|
+
y.func_ = l, y.funcThis_ = o, y.arguments_ = [], p != null && (p instanceof r.Object ? y.arguments_ = Array.from(p.properties) : e.throwException(
|
|
1454
1466
|
e.TYPE_ERROR,
|
|
1455
1467
|
"CreateListFromArrayLike called on non-object"
|
|
1456
|
-
)),
|
|
1468
|
+
)), y.doneExec_ = !1;
|
|
1457
1469
|
}, this.setNativeFunctionPrototype(this.FUNCTION, "apply", i), this.polyfills_.push(
|
|
1458
1470
|
/* POLYFILL START */
|
|
1459
1471
|
// Flatten the apply args list to remove any inheritance or getter functions.
|
|
@@ -1644,8 +1656,8 @@ function rf() {
|
|
|
1644
1656
|
e.TYPE_ERROR,
|
|
1645
1657
|
"Object.getOwnPropertyDescriptor called on non-object: " + l
|
|
1646
1658
|
), o = String(o), o in l.properties) {
|
|
1647
|
-
var p = Object.getOwnPropertyDescriptor(l.properties, o),
|
|
1648
|
-
return
|
|
1659
|
+
var p = Object.getOwnPropertyDescriptor(l.properties, o), y = l.getter[o], b = l.setter[o], O = e.createObjectProto(e.OBJECT_PROTO);
|
|
1660
|
+
return y || b ? (e.setProperty(O, "get", y), e.setProperty(O, "set", b)) : (e.setProperty(
|
|
1649
1661
|
O,
|
|
1650
1662
|
"value",
|
|
1651
1663
|
/** @type {!Interpreter.Value} */
|
|
@@ -2224,15 +2236,15 @@ function rf() {
|
|
|
2224
2236
|
s[u],
|
|
2225
2237
|
String.prototype[s[u]]
|
|
2226
2238
|
);
|
|
2227
|
-
i = function(o, p,
|
|
2228
|
-
p = e.pseudoToNative(p),
|
|
2239
|
+
i = function(o, p, y) {
|
|
2240
|
+
p = e.pseudoToNative(p), y = e.pseudoToNative(y);
|
|
2229
2241
|
try {
|
|
2230
2242
|
return String(this).localeCompare(
|
|
2231
2243
|
o,
|
|
2232
2244
|
/** @type {?} */
|
|
2233
2245
|
p,
|
|
2234
2246
|
/** @type {?} */
|
|
2235
|
-
|
|
2247
|
+
y
|
|
2236
2248
|
);
|
|
2237
2249
|
} catch (b) {
|
|
2238
2250
|
e.throwException(
|
|
@@ -2240,90 +2252,90 @@ function rf() {
|
|
|
2240
2252
|
"localeCompare: " + b.message
|
|
2241
2253
|
);
|
|
2242
2254
|
}
|
|
2243
|
-
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", i), i = function(o, p,
|
|
2255
|
+
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", i), i = function(o, p, y) {
|
|
2244
2256
|
var b = String(this);
|
|
2245
|
-
if (p = p ? Number(p) : void 0, e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o,
|
|
2257
|
+
if (p = p ? Number(p) : void 0, e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o, y), e.REGEXP_MODE === 2)) {
|
|
2246
2258
|
if (r.vm) {
|
|
2247
2259
|
var O = {
|
|
2248
2260
|
string: b,
|
|
2249
2261
|
separator: o,
|
|
2250
2262
|
limit: p
|
|
2251
|
-
},
|
|
2252
|
-
I !== r.REGEXP_TIMEOUT &&
|
|
2263
|
+
}, _ = "string.split(separator, limit)", I = e.vmCall(_, O, o, y);
|
|
2264
|
+
I !== r.REGEXP_TIMEOUT && y(e.nativeToPseudo(I));
|
|
2253
2265
|
} else {
|
|
2254
2266
|
var N = e.createWorker(), w = e.regExpTimeout(
|
|
2255
2267
|
o,
|
|
2256
2268
|
N,
|
|
2257
|
-
|
|
2269
|
+
y
|
|
2258
2270
|
);
|
|
2259
2271
|
N.onmessage = function(P) {
|
|
2260
|
-
clearTimeout(w),
|
|
2272
|
+
clearTimeout(w), y(e.nativeToPseudo(P.data));
|
|
2261
2273
|
}, N.postMessage(["split", b, o, p]);
|
|
2262
2274
|
}
|
|
2263
2275
|
return;
|
|
2264
2276
|
}
|
|
2265
2277
|
var I = b.split(o, p);
|
|
2266
|
-
|
|
2278
|
+
y(e.nativeToPseudo(I));
|
|
2267
2279
|
}, this.setAsyncFunctionPrototype(this.STRING, "split", i), i = function(o, p) {
|
|
2268
|
-
var
|
|
2280
|
+
var y = String(this);
|
|
2269
2281
|
if (o = e.isa(o, e.REGEXP) ? o.data : new RegExp(o), e.maybeThrowRegExp(o, p), e.REGEXP_MODE === 2) {
|
|
2270
2282
|
if (r.vm) {
|
|
2271
2283
|
var b = {
|
|
2272
|
-
string:
|
|
2284
|
+
string: y,
|
|
2273
2285
|
regexp: o
|
|
2274
2286
|
}, O = "string.match(regexp)", w = e.vmCall(O, b, o, p);
|
|
2275
2287
|
w !== r.REGEXP_TIMEOUT && p(w && e.matchToPseudo_(w));
|
|
2276
2288
|
} else {
|
|
2277
|
-
var
|
|
2278
|
-
|
|
2289
|
+
var _ = e.createWorker(), N = e.regExpTimeout(o, _, p);
|
|
2290
|
+
_.onmessage = function(I) {
|
|
2279
2291
|
clearTimeout(N), p(I.data && e.matchToPseudo_(I.data));
|
|
2280
|
-
},
|
|
2292
|
+
}, _.postMessage(["match", y, o]);
|
|
2281
2293
|
}
|
|
2282
2294
|
return;
|
|
2283
2295
|
}
|
|
2284
|
-
var w =
|
|
2296
|
+
var w = y.match(o);
|
|
2285
2297
|
p(w && e.matchToPseudo_(w));
|
|
2286
2298
|
}, this.setAsyncFunctionPrototype(this.STRING, "match", i), i = function(o, p) {
|
|
2287
|
-
var
|
|
2299
|
+
var y = String(this);
|
|
2288
2300
|
if (e.isa(o, e.REGEXP) ? o = o.data : o = new RegExp(o), e.maybeThrowRegExp(o, p), e.REGEXP_MODE === 2) {
|
|
2289
2301
|
if (r.vm) {
|
|
2290
2302
|
var b = {
|
|
2291
|
-
string:
|
|
2303
|
+
string: y,
|
|
2292
2304
|
regexp: o
|
|
2293
|
-
}, O = "string.search(regexp)",
|
|
2294
|
-
|
|
2305
|
+
}, O = "string.search(regexp)", _ = e.vmCall(O, b, o, p);
|
|
2306
|
+
_ !== r.REGEXP_TIMEOUT && p(_);
|
|
2295
2307
|
} else {
|
|
2296
2308
|
var N = e.createWorker(), w = e.regExpTimeout(o, N, p);
|
|
2297
2309
|
N.onmessage = function(I) {
|
|
2298
2310
|
clearTimeout(w), p(I.data);
|
|
2299
|
-
}, N.postMessage(["search",
|
|
2311
|
+
}, N.postMessage(["search", y, o]);
|
|
2300
2312
|
}
|
|
2301
2313
|
return;
|
|
2302
2314
|
}
|
|
2303
|
-
p(
|
|
2304
|
-
}, this.setAsyncFunctionPrototype(this.STRING, "search", i), i = function(o, p,
|
|
2315
|
+
p(y.search(o));
|
|
2316
|
+
}, this.setAsyncFunctionPrototype(this.STRING, "search", i), i = function(o, p, y) {
|
|
2305
2317
|
var b = String(this);
|
|
2306
|
-
if (p = String(p), e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o,
|
|
2318
|
+
if (p = String(p), e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o, y), e.REGEXP_MODE === 2)) {
|
|
2307
2319
|
if (r.vm) {
|
|
2308
2320
|
var O = {
|
|
2309
2321
|
string: b,
|
|
2310
2322
|
substr: o,
|
|
2311
2323
|
newSubstr: p
|
|
2312
|
-
},
|
|
2313
|
-
N !== r.REGEXP_TIMEOUT &&
|
|
2324
|
+
}, _ = "string.replace(substr, newSubstr)", N = e.vmCall(_, O, o, y);
|
|
2325
|
+
N !== r.REGEXP_TIMEOUT && y(N);
|
|
2314
2326
|
} else {
|
|
2315
2327
|
var w = e.createWorker(), I = e.regExpTimeout(
|
|
2316
2328
|
o,
|
|
2317
2329
|
w,
|
|
2318
|
-
|
|
2330
|
+
y
|
|
2319
2331
|
);
|
|
2320
2332
|
w.onmessage = function(P) {
|
|
2321
|
-
clearTimeout(I),
|
|
2333
|
+
clearTimeout(I), y(P.data);
|
|
2322
2334
|
}, w.postMessage(["replace", b, o, p]);
|
|
2323
2335
|
}
|
|
2324
2336
|
return;
|
|
2325
2337
|
}
|
|
2326
|
-
|
|
2338
|
+
y(b.replace(o, p));
|
|
2327
2339
|
}, this.setAsyncFunctionPrototype(this.STRING, "replace", i), this.polyfills_.push(
|
|
2328
2340
|
/* POLYFILL START */
|
|
2329
2341
|
"(function() {",
|
|
@@ -2429,10 +2441,10 @@ function rf() {
|
|
|
2429
2441
|
/** @type {?} */
|
|
2430
2442
|
p
|
|
2431
2443
|
);
|
|
2432
|
-
} catch (
|
|
2444
|
+
} catch (y) {
|
|
2433
2445
|
e.throwException(
|
|
2434
2446
|
e.ERROR,
|
|
2435
|
-
"toLocaleString: " +
|
|
2447
|
+
"toLocaleString: " + y.message
|
|
2436
2448
|
);
|
|
2437
2449
|
}
|
|
2438
2450
|
}, this.setNativeFunctionPrototype(this.NUMBER, "toLocaleString", i);
|
|
@@ -2441,10 +2453,10 @@ function rf() {
|
|
|
2441
2453
|
i = function(o, p) {
|
|
2442
2454
|
if (!e.calledWithNew())
|
|
2443
2455
|
return r.nativeGlobal.Date();
|
|
2444
|
-
var
|
|
2456
|
+
var y = [null].concat(Array.from(arguments));
|
|
2445
2457
|
return this.data = new (Function.prototype.bind.apply(
|
|
2446
2458
|
r.nativeGlobal.Date,
|
|
2447
|
-
|
|
2459
|
+
y
|
|
2448
2460
|
))(), this;
|
|
2449
2461
|
}, this.DATE = this.createNativeFunction(i, !0), this.DATE_PROTO = this.DATE.properties.prototype, this.setProperty(
|
|
2450
2462
|
t,
|
|
@@ -2519,9 +2531,9 @@ function rf() {
|
|
|
2519
2531
|
e.TYPE_ERROR,
|
|
2520
2532
|
l + " not called on a Date"
|
|
2521
2533
|
);
|
|
2522
|
-
for (var
|
|
2523
|
-
|
|
2524
|
-
return p[l].apply(p,
|
|
2534
|
+
for (var y = [], b = 0; b < arguments.length; b++)
|
|
2535
|
+
y[b] = e.pseudoToNative(arguments[b]);
|
|
2536
|
+
return p[l].apply(p, y);
|
|
2525
2537
|
};
|
|
2526
2538
|
}(s[u]), this.setNativeFunctionPrototype(this.DATE, s[u], i);
|
|
2527
2539
|
i = function() {
|
|
@@ -2550,8 +2562,8 @@ function rf() {
|
|
|
2550
2562
|
);
|
|
2551
2563
|
try {
|
|
2552
2564
|
var p = new r.nativeGlobal.RegExp(u, l);
|
|
2553
|
-
} catch (
|
|
2554
|
-
e.throwException(e.SYNTAX_ERROR,
|
|
2565
|
+
} catch (y) {
|
|
2566
|
+
e.throwException(e.SYNTAX_ERROR, y.message);
|
|
2555
2567
|
}
|
|
2556
2568
|
return e.populateRegExp(o, p), o;
|
|
2557
2569
|
}, this.REGEXP = this.createNativeFunction(i, !0), this.REGEXP_PROTO = this.REGEXP.properties.prototype, this.setProperty(
|
|
@@ -2595,12 +2607,12 @@ function rf() {
|
|
|
2595
2607
|
var p = {
|
|
2596
2608
|
string: u,
|
|
2597
2609
|
regexp: o
|
|
2598
|
-
},
|
|
2610
|
+
}, y = "regexp.exec(string)", N = e.vmCall(y, p, o, l);
|
|
2599
2611
|
N !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", o.lastIndex), l(e.matchToPseudo_(N)));
|
|
2600
2612
|
} else {
|
|
2601
|
-
var b = e.createWorker(), O = e.regExpTimeout(o, b, l),
|
|
2613
|
+
var b = e.createWorker(), O = e.regExpTimeout(o, b, l), _ = this;
|
|
2602
2614
|
b.onmessage = function(w) {
|
|
2603
|
-
clearTimeout(O), e.setProperty(
|
|
2615
|
+
clearTimeout(O), e.setProperty(_, "lastIndex", w.data[1]), l(e.matchToPseudo_(w.data[0]));
|
|
2604
2616
|
}, b.postMessage(["exec", o, o.lastIndex, u]);
|
|
2605
2617
|
}
|
|
2606
2618
|
return;
|
|
@@ -2744,9 +2756,9 @@ function rf() {
|
|
|
2744
2756
|
) : o && o.class === "Array" ? (o = i.pseudoToNative(o), o = o.filter(function(O) {
|
|
2745
2757
|
return typeof O == "string" || typeof O == "number";
|
|
2746
2758
|
})) : o = null, typeof p != "string" && typeof p != "number" && (p = void 0);
|
|
2747
|
-
var
|
|
2759
|
+
var y = i.pseudoToNative(l);
|
|
2748
2760
|
try {
|
|
2749
|
-
var b = JSON.stringify(
|
|
2761
|
+
var b = JSON.stringify(y, o, p);
|
|
2750
2762
|
} catch (O) {
|
|
2751
2763
|
i.throwException(i.TYPE_ERROR, O.message);
|
|
2752
2764
|
}
|
|
@@ -2810,10 +2822,10 @@ function rf() {
|
|
|
2810
2822
|
}
|
|
2811
2823
|
l.loc && (!i.length || l.type === "CallExpression") && i.push({ datumLoc: l.loc });
|
|
2812
2824
|
}
|
|
2813
|
-
for (var p = String(this.getProperty(t, "name")),
|
|
2825
|
+
for (var p = String(this.getProperty(t, "name")), y = String(this.getProperty(t, "message")), b = p + ": " + y + `
|
|
2814
2826
|
`, s = 0; s < i.length; s++) {
|
|
2815
|
-
var O = i[s].datumLoc,
|
|
2816
|
-
|
|
2827
|
+
var O = i[s].datumLoc, _ = i[s].datumName, N = O.source + ":" + O.start.line + ":" + O.start.column;
|
|
2828
|
+
_ ? b += " at " + _ + " (" + N + `)
|
|
2817
2829
|
` : b += " at " + N + `
|
|
2818
2830
|
`;
|
|
2819
2831
|
}
|
|
@@ -2958,23 +2970,23 @@ function rf() {
|
|
|
2958
2970
|
if (t instanceof Number ? o = this.createObject(this.NUMBER) : t instanceof String ? o = this.createObject(this.STRING) : t instanceof Boolean && (o = this.createObject(this.BOOLEAN)), o)
|
|
2959
2971
|
return o.data = t.valueOf(), i.pseudo.push(o), o;
|
|
2960
2972
|
if (typeof t == "function") {
|
|
2961
|
-
var p = this,
|
|
2973
|
+
var p = this, y = function() {
|
|
2962
2974
|
var w = Array.prototype.slice.call(arguments).map(function(P) {
|
|
2963
2975
|
return p.pseudoToNative(P);
|
|
2964
2976
|
}), I = t.apply(p, w);
|
|
2965
2977
|
return p.nativeToPseudo(I);
|
|
2966
|
-
}, b = Object.getOwnPropertyDescriptor(t, "prototype"), O = this.createNativeFunction(
|
|
2978
|
+
}, b = Object.getOwnPropertyDescriptor(t, "prototype"), O = this.createNativeFunction(y, !!b);
|
|
2967
2979
|
return i.pseudo.push(O), O;
|
|
2968
2980
|
}
|
|
2969
|
-
var
|
|
2970
|
-
Array.isArray(t) ?
|
|
2981
|
+
var _;
|
|
2982
|
+
Array.isArray(t) ? _ = this.createArray() : _ = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(_);
|
|
2971
2983
|
for (var N in t)
|
|
2972
2984
|
this.setProperty(
|
|
2973
|
-
|
|
2985
|
+
_,
|
|
2974
2986
|
N,
|
|
2975
2987
|
this.nativeToPseudo(t[N], i)
|
|
2976
2988
|
);
|
|
2977
|
-
return
|
|
2989
|
+
return _;
|
|
2978
2990
|
}, r.prototype.pseudoToNative = function(t, e) {
|
|
2979
2991
|
if (t == null || t === !0 || t === !1 || typeof t == "string" || typeof t == "number")
|
|
2980
2992
|
return t;
|
|
@@ -3000,13 +3012,13 @@ function rf() {
|
|
|
3000
3012
|
}
|
|
3001
3013
|
var p = this.isa(t, this.ARRAY) ? [] : {};
|
|
3002
3014
|
i.native.push(p);
|
|
3003
|
-
var
|
|
3015
|
+
var y;
|
|
3004
3016
|
for (var b in t.properties)
|
|
3005
|
-
|
|
3017
|
+
y = this.pseudoToNative(t.properties[b], i), Object.defineProperty(
|
|
3006
3018
|
p,
|
|
3007
3019
|
b,
|
|
3008
3020
|
{
|
|
3009
|
-
value:
|
|
3021
|
+
value: y,
|
|
3010
3022
|
writable: !0,
|
|
3011
3023
|
enumerable: !0,
|
|
3012
3024
|
configurable: !0
|
|
@@ -3099,10 +3111,10 @@ function rf() {
|
|
|
3099
3111
|
return;
|
|
3100
3112
|
}
|
|
3101
3113
|
if (s) {
|
|
3102
|
-
var
|
|
3103
|
-
"get" in s && s.get && (t.getter[e] = s.get,
|
|
3114
|
+
var y = {};
|
|
3115
|
+
"get" in s && s.get && (t.getter[e] = s.get, y.get = this.setProperty.placeholderGet_), "set" in s && s.set && (t.setter[e] = s.set, y.set = this.setProperty.placeholderSet_), "configurable" in s && (y.configurable = s.configurable), "enumerable" in s && (y.enumerable = s.enumerable), "writable" in s && (y.writable = s.writable, delete t.getter[e], delete t.setter[e]), "value" in s ? (y.value = s.value, delete t.getter[e], delete t.setter[e]) : i !== r.VALUE_IN_DESCRIPTOR && (y.value = i, delete t.getter[e], delete t.setter[e]);
|
|
3104
3116
|
try {
|
|
3105
|
-
Object.defineProperty(t.properties, e,
|
|
3117
|
+
Object.defineProperty(t.properties, e, y);
|
|
3106
3118
|
} catch {
|
|
3107
3119
|
this.throwException(this.TYPE_ERROR, "Cannot redefine property: " + e);
|
|
3108
3120
|
}
|
|
@@ -3310,8 +3322,8 @@ function rf() {
|
|
|
3310
3322
|
SyntaxError,
|
|
3311
3323
|
TypeError,
|
|
3312
3324
|
URIError
|
|
3313
|
-
}, p = String(this.getProperty(e, "name")),
|
|
3314
|
-
l = b(
|
|
3325
|
+
}, p = String(this.getProperty(e, "name")), y = this.getProperty(e, "message").valueOf(), b = o[p] || Error;
|
|
3326
|
+
l = b(y), l.stack = String(this.getProperty(e, "stack"));
|
|
3315
3327
|
} else
|
|
3316
3328
|
l = String(e);
|
|
3317
3329
|
throw this.value = l, l;
|
|
@@ -3347,9 +3359,9 @@ function rf() {
|
|
|
3347
3359
|
}
|
|
3348
3360
|
return "???";
|
|
3349
3361
|
}, r.prototype.createTask_ = function(t, e) {
|
|
3350
|
-
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(), l = Math.max(Number(s.shift() || 0), 0), o = this.newNode(), p,
|
|
3362
|
+
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(), l = Math.max(Number(s.shift() || 0), 0), o = this.newNode(), p, y, b;
|
|
3351
3363
|
if (u instanceof r.Object && u.class === "Function")
|
|
3352
|
-
|
|
3364
|
+
y = u, o.type = "CallExpression", p = i.scope;
|
|
3353
3365
|
else {
|
|
3354
3366
|
try {
|
|
3355
3367
|
b = this.parse_(String(u), "taskCode" + this.taskCodeNumber_++);
|
|
@@ -3357,11 +3369,11 @@ function rf() {
|
|
|
3357
3369
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + I.message);
|
|
3358
3370
|
}
|
|
3359
3371
|
o.type = "EvalProgram_", o.body = b.body;
|
|
3360
|
-
var O = i.node.arguments[0],
|
|
3361
|
-
r.stripLocations_(o,
|
|
3372
|
+
var O = i.node.arguments[0], _ = O ? O.start : void 0, N = O ? O.end : void 0;
|
|
3373
|
+
r.stripLocations_(o, _, N), p = this.globalScope, s.length = 0;
|
|
3362
3374
|
}
|
|
3363
3375
|
var w = new r.Task(
|
|
3364
|
-
|
|
3376
|
+
y,
|
|
3365
3377
|
s,
|
|
3366
3378
|
p,
|
|
3367
3379
|
o,
|
|
@@ -3454,20 +3466,20 @@ function rf() {
|
|
|
3454
3466
|
var t = r.toStringCycles_;
|
|
3455
3467
|
if (t.indexOf(this) !== -1)
|
|
3456
3468
|
return "[object Error]";
|
|
3457
|
-
var o, p,
|
|
3469
|
+
var o, p, y = this;
|
|
3458
3470
|
do
|
|
3459
|
-
if ("name" in
|
|
3460
|
-
o =
|
|
3471
|
+
if ("name" in y.properties) {
|
|
3472
|
+
o = y.properties.name;
|
|
3461
3473
|
break;
|
|
3462
3474
|
}
|
|
3463
|
-
while (
|
|
3464
|
-
|
|
3475
|
+
while (y = y.proto);
|
|
3476
|
+
y = this;
|
|
3465
3477
|
do
|
|
3466
|
-
if ("message" in
|
|
3467
|
-
p =
|
|
3478
|
+
if ("message" in y.properties) {
|
|
3479
|
+
p = y.properties.message;
|
|
3468
3480
|
break;
|
|
3469
3481
|
}
|
|
3470
|
-
while (
|
|
3482
|
+
while (y = y.proto);
|
|
3471
3483
|
t.push(this);
|
|
3472
3484
|
try {
|
|
3473
3485
|
o = o && String(o), p = p && String(p);
|
|
@@ -3557,9 +3569,9 @@ function rf() {
|
|
|
3557
3569
|
default:
|
|
3558
3570
|
throw SyntaxError("Unknown assignment expression: " + i.operator);
|
|
3559
3571
|
}
|
|
3560
|
-
var
|
|
3561
|
-
if (
|
|
3562
|
-
return e.doneSetter_ = !0, e.setterValue_ = o, this.createSetter_(
|
|
3572
|
+
var y = this.setValue(e.leftReference_, o);
|
|
3573
|
+
if (y)
|
|
3574
|
+
return e.doneSetter_ = !0, e.setterValue_ = o, this.createSetter_(y, e.leftReference_, o);
|
|
3563
3575
|
t.pop(), t[t.length - 1].value = o;
|
|
3564
3576
|
}, r.prototype.stepBinaryExpression = function(t, e, i) {
|
|
3565
3577
|
if (!e.doneLeft_)
|
|
@@ -3697,12 +3709,12 @@ function rf() {
|
|
|
3697
3709
|
);
|
|
3698
3710
|
var o = u.node;
|
|
3699
3711
|
if (o) {
|
|
3700
|
-
for (var p = this.createScope(o.body, u.parentScope),
|
|
3701
|
-
this.setProperty(
|
|
3702
|
-
this.setProperty(p.object, "arguments",
|
|
3712
|
+
for (var p = this.createScope(o.body, u.parentScope), y = this.createArray(), b = 0; b < e.arguments_.length; b++)
|
|
3713
|
+
this.setProperty(y, b, e.arguments_[b]);
|
|
3714
|
+
this.setProperty(p.object, "arguments", y);
|
|
3703
3715
|
for (var b = 0; b < o.params.length; b++) {
|
|
3704
|
-
var O = o.params[b].name,
|
|
3705
|
-
this.setProperty(p.object, O,
|
|
3716
|
+
var O = o.params[b].name, _ = e.arguments_.length > b ? e.arguments_[b] : void 0;
|
|
3717
|
+
this.setProperty(p.object, O, _);
|
|
3706
3718
|
}
|
|
3707
3719
|
return p.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
3708
3720
|
p.object,
|
|
@@ -3731,12 +3743,12 @@ function rf() {
|
|
|
3731
3743
|
} else if (u.nativeFunc)
|
|
3732
3744
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
3733
3745
|
else if (u.asyncFunc) {
|
|
3734
|
-
var P = this,
|
|
3746
|
+
var P = this, Z = function(Te) {
|
|
3735
3747
|
e.value = Te, P.paused_ = !1;
|
|
3736
3748
|
}, ie = u.asyncFunc.length - 1, Le = e.arguments_.concat(
|
|
3737
3749
|
new Array(ie)
|
|
3738
3750
|
).slice(0, ie);
|
|
3739
|
-
Le.push(
|
|
3751
|
+
Le.push(Z), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, Le);
|
|
3740
3752
|
return;
|
|
3741
3753
|
} else
|
|
3742
3754
|
this.throwException(
|
|
@@ -3959,7 +3971,7 @@ function rf() {
|
|
|
3959
3971
|
for (var o in e.properties_) {
|
|
3960
3972
|
var p = e.properties_[o];
|
|
3961
3973
|
if ("get" in p || "set" in p) {
|
|
3962
|
-
var
|
|
3974
|
+
var y = {
|
|
3963
3975
|
configurable: !0,
|
|
3964
3976
|
enumerable: !0,
|
|
3965
3977
|
get: p.get,
|
|
@@ -3969,7 +3981,7 @@ function rf() {
|
|
|
3969
3981
|
e.object_,
|
|
3970
3982
|
o,
|
|
3971
3983
|
r.VALUE_IN_DESCRIPTOR,
|
|
3972
|
-
|
|
3984
|
+
y
|
|
3973
3985
|
);
|
|
3974
3986
|
} else
|
|
3975
3987
|
this.setProperty(e.object_, o, p.init);
|
|
@@ -4108,9 +4120,9 @@ function rf() {
|
|
|
4108
4120
|
o = l - 1;
|
|
4109
4121
|
else
|
|
4110
4122
|
throw SyntaxError("Unknown update expression: " + i.operator);
|
|
4111
|
-
var p = i.prefix ? o : l,
|
|
4112
|
-
if (
|
|
4113
|
-
return e.doneSetter_ = !0, e.setterValue_ = p, this.createSetter_(
|
|
4123
|
+
var p = i.prefix ? o : l, y = this.setValue(e.leftSide_, o);
|
|
4124
|
+
if (y)
|
|
4125
|
+
return e.doneSetter_ = !0, e.setterValue_ = p, this.createSetter_(y, e.leftSide_, o);
|
|
4114
4126
|
t.pop(), t[t.length - 1].value = p;
|
|
4115
4127
|
}, r.prototype.stepVariableDeclaration = function(t, e, i) {
|
|
4116
4128
|
var s = i.declarations, u = e.n_ || 0, l = s[u];
|
|
@@ -4126,7 +4138,7 @@ function rf() {
|
|
|
4126
4138
|
t.pop();
|
|
4127
4139
|
var s = this.createSpecialScope(e.scope, e.value);
|
|
4128
4140
|
return new r.State(i.body, s);
|
|
4129
|
-
}, r.prototype.stepWhileStatement = r.prototype.stepDoWhileStatement, r.nativeGlobal.Interpreter = r, r.prototype.step = r.prototype.step, r.prototype.run = r.prototype.run, r.prototype.getStatus = r.prototype.getStatus, r.prototype.appendCode = r.prototype.appendCode, r.prototype.createObject = r.prototype.createObject, r.prototype.createObjectProto = r.prototype.createObjectProto, r.prototype.createNativeFunction = r.prototype.createNativeFunction, r.prototype.createAsyncFunction = r.prototype.createAsyncFunction, r.prototype.getProperty = r.prototype.getProperty, r.prototype.setProperty = r.prototype.setProperty, r.prototype.nativeToPseudo = r.prototype.nativeToPseudo, r.prototype.pseudoToNative = r.prototype.pseudoToNative, r.prototype.getGlobalScope = r.prototype.getGlobalScope, r.prototype.setGlobalScope = r.prototype.setGlobalScope, r.prototype.getStateStack = r.prototype.getStateStack, r.prototype.setStateStack = r.prototype.setStateStack, r.Status = r.Status, r.VALUE_IN_DESCRIPTOR = r.VALUE_IN_DESCRIPTOR,
|
|
4141
|
+
}, r.prototype.stepWhileStatement = r.prototype.stepDoWhileStatement, r.nativeGlobal.Interpreter = r, r.prototype.step = r.prototype.step, r.prototype.run = r.prototype.run, r.prototype.getStatus = r.prototype.getStatus, r.prototype.appendCode = r.prototype.appendCode, r.prototype.createObject = r.prototype.createObject, r.prototype.createObjectProto = r.prototype.createObjectProto, r.prototype.createNativeFunction = r.prototype.createNativeFunction, r.prototype.createAsyncFunction = r.prototype.createAsyncFunction, r.prototype.getProperty = r.prototype.getProperty, r.prototype.setProperty = r.prototype.setProperty, r.prototype.nativeToPseudo = r.prototype.nativeToPseudo, r.prototype.pseudoToNative = r.prototype.pseudoToNative, r.prototype.getGlobalScope = r.prototype.getGlobalScope, r.prototype.setGlobalScope = r.prototype.setGlobalScope, r.prototype.getStateStack = r.prototype.getStateStack, r.prototype.setStateStack = r.prototype.setStateStack, r.Status = r.Status, r.VALUE_IN_DESCRIPTOR = r.VALUE_IN_DESCRIPTOR, m.exports = {
|
|
4130
4142
|
Interpreter: r
|
|
4131
4143
|
};
|
|
4132
4144
|
}
|
|
@@ -4137,7 +4149,7 @@ function rf() {
|
|
|
4137
4149
|
!*** ./original-repo/acorn.js ***!
|
|
4138
4150
|
\********************************/
|
|
4139
4151
|
/***/
|
|
4140
|
-
function(
|
|
4152
|
+
function(m, T) {
|
|
4141
4153
|
(function(S, r) {
|
|
4142
4154
|
return r(T);
|
|
4143
4155
|
})(typeof globalThis > "u" ? this || window : globalThis, function(S) {
|
|
@@ -4212,24 +4224,24 @@ function rf() {
|
|
|
4212
4224
|
}
|
|
4213
4225
|
var l = function(f, d) {
|
|
4214
4226
|
for (var g = 1, x = 0; ; ) {
|
|
4215
|
-
|
|
4216
|
-
var A =
|
|
4227
|
+
mt.lastIndex = x;
|
|
4228
|
+
var A = mt.exec(f);
|
|
4217
4229
|
if (A && A.index < d)
|
|
4218
4230
|
++g, x = A.index + A[0].length;
|
|
4219
4231
|
else
|
|
4220
4232
|
break;
|
|
4221
4233
|
}
|
|
4222
4234
|
return { line: g, column: d - x };
|
|
4223
|
-
}, o = 0, p = 0,
|
|
4235
|
+
}, o = 0, p = 0, y = 0, b, O, _, N, w, I, P, Z = 0, ie = 0, Le, Te, V, Q;
|
|
4224
4236
|
function D(f, d) {
|
|
4225
4237
|
var g = l(t, f);
|
|
4226
4238
|
d += " (" + g.line + ":" + g.column + ")";
|
|
4227
4239
|
var x = new SyntaxError(d);
|
|
4228
4240
|
throw x.pos = f, x.loc = g, x.raisedAt = o, x;
|
|
4229
4241
|
}
|
|
4230
|
-
var no = [], ct = { type: "num" }, $r = { type: "regexp" },
|
|
4231
|
-
break:
|
|
4232
|
-
case:
|
|
4242
|
+
var no = [], ct = { type: "num" }, $r = { type: "regexp" }, Ut = { type: "string" }, De = { type: "name" }, jt = { type: "eof" }, $t = { keyword: "break" }, Bt = { keyword: "case", beforeExpr: !0 }, Br = { keyword: "catch" }, Vr = { keyword: "continue" }, Gr = { keyword: "debugger" }, Wr = { keyword: "default" }, Yr = { keyword: "do", isLoop: !0 }, zr = { keyword: "else", beforeExpr: !0 }, Xr = { keyword: "finally" }, Hr = { keyword: "for", isLoop: !0 }, Vt = { keyword: "function" }, Jr = { keyword: "if" }, Kr = { keyword: "return", beforeExpr: !0 }, Gt = { keyword: "switch" }, qr = { keyword: "throw", beforeExpr: !0 }, Zr = { keyword: "try" }, Wt = { keyword: "var" }, Yt = { keyword: "while", isLoop: !0 }, Qr = { keyword: "with" }, en = { keyword: "new", beforeExpr: !0 }, tn = { keyword: "this" }, rn = { keyword: "null", atomValue: null }, nn = { keyword: "true", atomValue: !0 }, on = { keyword: "false", atomValue: !1 }, ft = { keyword: "in", binop: 7, beforeExpr: !0 }, io = {
|
|
4243
|
+
break: $t,
|
|
4244
|
+
case: Bt,
|
|
4233
4245
|
catch: Br,
|
|
4234
4246
|
continue: Vr,
|
|
4235
4247
|
debugger: Gr,
|
|
@@ -4238,14 +4250,14 @@ function rf() {
|
|
|
4238
4250
|
else: zr,
|
|
4239
4251
|
finally: Xr,
|
|
4240
4252
|
for: Hr,
|
|
4241
|
-
function:
|
|
4253
|
+
function: Vt,
|
|
4242
4254
|
if: Jr,
|
|
4243
4255
|
return: Kr,
|
|
4244
|
-
switch:
|
|
4256
|
+
switch: Gt,
|
|
4245
4257
|
throw: qr,
|
|
4246
4258
|
try: Zr,
|
|
4247
|
-
var:
|
|
4248
|
-
while:
|
|
4259
|
+
var: Wt,
|
|
4260
|
+
while: Yt,
|
|
4249
4261
|
with: Qr,
|
|
4250
4262
|
null: rn,
|
|
4251
4263
|
true: nn,
|
|
@@ -4257,7 +4269,7 @@ function rf() {
|
|
|
4257
4269
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4258
4270
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4259
4271
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4260
|
-
},
|
|
4272
|
+
}, zt = { type: "[", beforeExpr: !0 }, Xt = { type: "]" }, Xe = { type: "{", beforeExpr: !0 }, Me = { type: "}" }, fe = { type: "(", beforeExpr: !0 }, ue = { type: ")" }, be = { type: ",", beforeExpr: !0 }, pe = { type: ";", beforeExpr: !0 }, He = { type: ":", beforeExpr: !0 }, an = { type: "." }, sn = { type: "?", beforeExpr: !0 }, un = { binop: 10, beforeExpr: !0 }, ln = { isAssign: !0, beforeExpr: !0 }, Oe = { isAssign: !0, beforeExpr: !0 }, oo = { postfix: !0, prefix: !0, isUpdate: !0 }, cn = { prefix: !0, beforeExpr: !0 }, fn = { binop: 1, beforeExpr: !0 }, pn = { binop: 2, beforeExpr: !0 }, ao = { binop: 3, beforeExpr: !0 }, so = { binop: 4, beforeExpr: !0 }, uo = { binop: 5, beforeExpr: !0 }, lo = { binop: 6, beforeExpr: !0 }, co = { binop: 7, beforeExpr: !0 }, fo = { binop: 8, beforeExpr: !0 }, po = { binop: 9, prefix: !0, beforeExpr: !0 }, ho = { binop: 10, beforeExpr: !0 };
|
|
4261
4273
|
function pt(f) {
|
|
4262
4274
|
for (var d = f.split(" "), g = /* @__PURE__ */ Object.create(null), x = 0; x < d.length; x++)
|
|
4263
4275
|
g[d[x]] = !0;
|
|
@@ -4265,9 +4277,9 @@ function rf() {
|
|
|
4265
4277
|
return g[A] || !1;
|
|
4266
4278
|
};
|
|
4267
4279
|
}
|
|
4268
|
-
var
|
|
4269
|
-
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 &&
|
|
4270
|
-
},
|
|
4280
|
+
var mo = pt("class enum extends super const export import"), dn = pt("implements interface let package private protected public static yield"), dt = pt("eval arguments"), yo = pt("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"), vo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, hn = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", bo = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", mn = new RegExp("[" + hn + "]"), go = new RegExp("[" + hn + bo + "]"), ht = /[\n\r\u2028\u2029]/, mt = /\r\n|[\n\r\u2028\u2029]/g, yt = function(f) {
|
|
4281
|
+
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && mn.test(String.fromCharCode(f));
|
|
4282
|
+
}, yn = function(f) {
|
|
4271
4283
|
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && go.test(String.fromCharCode(f));
|
|
4272
4284
|
};
|
|
4273
4285
|
function Ne() {
|
|
@@ -4277,13 +4289,13 @@ function rf() {
|
|
|
4277
4289
|
I = 1, o = P = 0, w = !0, Je();
|
|
4278
4290
|
}
|
|
4279
4291
|
function Y(f, d) {
|
|
4280
|
-
|
|
4292
|
+
y = o, r.locations && (O = new Ne()), _ = f, Je(), N = d, w = f.beforeExpr;
|
|
4281
4293
|
}
|
|
4282
4294
|
function Eo() {
|
|
4283
4295
|
var f = r.onComment && r.locations && new Ne(), d = o, g = t.indexOf("*/", o += 2);
|
|
4284
4296
|
if (g === -1 && D(o - 2, "Unterminated comment"), o = g + 2, r.locations) {
|
|
4285
|
-
|
|
4286
|
-
for (var x; (x =
|
|
4297
|
+
mt.lastIndex = d;
|
|
4298
|
+
for (var x; (x = mt.exec(t)) && x.index < o; )
|
|
4287
4299
|
++I, P = x.index + x[0].length;
|
|
4288
4300
|
}
|
|
4289
4301
|
r.onComment && r.onComment(
|
|
@@ -4295,7 +4307,7 @@ function rf() {
|
|
|
4295
4307
|
r.locations && new Ne()
|
|
4296
4308
|
);
|
|
4297
4309
|
}
|
|
4298
|
-
function
|
|
4310
|
+
function Ht() {
|
|
4299
4311
|
for (var f = o, d = r.onComment && r.locations && new Ne(), g = t.charCodeAt(o += 2); o < e && g !== 10 && g !== 13 && g !== 8232 && g !== 8233; )
|
|
4300
4312
|
++o, g = t.charCodeAt(o);
|
|
4301
4313
|
r.onComment && r.onComment(
|
|
@@ -4325,7 +4337,7 @@ function rf() {
|
|
|
4325
4337
|
if (d === 42)
|
|
4326
4338
|
Eo();
|
|
4327
4339
|
else if (d === 47)
|
|
4328
|
-
|
|
4340
|
+
Ht();
|
|
4329
4341
|
else break;
|
|
4330
4342
|
} else if (f === 160)
|
|
4331
4343
|
++o;
|
|
@@ -4359,7 +4371,7 @@ function rf() {
|
|
|
4359
4371
|
var d = t.charCodeAt(o + 1);
|
|
4360
4372
|
if (d === f) {
|
|
4361
4373
|
if (d === 45 && t.charCodeAt(o + 2) === 62 && ht.test(t.slice(ie, o))) {
|
|
4362
|
-
o += 3,
|
|
4374
|
+
o += 3, Ht(), Je(), Fe();
|
|
4363
4375
|
return;
|
|
4364
4376
|
}
|
|
4365
4377
|
z(oo, 2);
|
|
@@ -4372,7 +4384,7 @@ function rf() {
|
|
|
4372
4384
|
return;
|
|
4373
4385
|
}
|
|
4374
4386
|
if (d === 33 && f === 60 && t.charCodeAt(o + 2) === 45 && t.charCodeAt(o + 3) === 45) {
|
|
4375
|
-
o += 4,
|
|
4387
|
+
o += 4, Ht(), Je(), Fe();
|
|
4376
4388
|
return;
|
|
4377
4389
|
}
|
|
4378
4390
|
d === 61 && (g = t.charCodeAt(o + 2) === 61 ? 3 : 2), z(co, g);
|
|
@@ -4381,7 +4393,7 @@ function rf() {
|
|
|
4381
4393
|
var d = t.charCodeAt(o + 1);
|
|
4382
4394
|
d === 61 ? z(lo, t.charCodeAt(o + 2) === 61 ? 3 : 2) : z(f === 61 ? ln : cn, 1);
|
|
4383
4395
|
}
|
|
4384
|
-
function
|
|
4396
|
+
function ko(f) {
|
|
4385
4397
|
switch (f) {
|
|
4386
4398
|
// The interpretation of a dot depends on whether it is followed
|
|
4387
4399
|
// by a digit.
|
|
@@ -4397,9 +4409,9 @@ function rf() {
|
|
|
4397
4409
|
case 44:
|
|
4398
4410
|
return ++o, Y(be);
|
|
4399
4411
|
case 91:
|
|
4400
|
-
return ++o, Y(Yt);
|
|
4401
|
-
case 93:
|
|
4402
4412
|
return ++o, Y(zt);
|
|
4413
|
+
case 93:
|
|
4414
|
+
return ++o, Y(Xt);
|
|
4403
4415
|
case 123:
|
|
4404
4416
|
return ++o, Y(Xe);
|
|
4405
4417
|
case 125:
|
|
@@ -4411,7 +4423,7 @@ function rf() {
|
|
|
4411
4423
|
// '0x' is a hexadecimal number.
|
|
4412
4424
|
case 48:
|
|
4413
4425
|
var d = t.charCodeAt(o + 1);
|
|
4414
|
-
if (d === 120 || d === 88) return
|
|
4426
|
+
if (d === 120 || d === 88) return Co();
|
|
4415
4427
|
// Anything else beginning with a digit is an integer, octal
|
|
4416
4428
|
// number, or float.
|
|
4417
4429
|
case 49:
|
|
@@ -4458,14 +4470,14 @@ function rf() {
|
|
|
4458
4470
|
}
|
|
4459
4471
|
function Fe(f) {
|
|
4460
4472
|
if (f ? o = p + 1 : p = o, r.locations && (b = new Ne()), f) return vn();
|
|
4461
|
-
if (o >= e) return Y(
|
|
4473
|
+
if (o >= e) return Y(jt);
|
|
4462
4474
|
var d = t.charCodeAt(o);
|
|
4463
|
-
if (
|
|
4475
|
+
if (yt(d) || d === 92)
|
|
4464
4476
|
return _n();
|
|
4465
|
-
var g =
|
|
4477
|
+
var g = ko(d);
|
|
4466
4478
|
if (g === !1) {
|
|
4467
4479
|
var x = String.fromCharCode(d);
|
|
4468
|
-
if (x === "\\" ||
|
|
4480
|
+
if (x === "\\" || mn.test(x))
|
|
4469
4481
|
return _n();
|
|
4470
4482
|
D(o, "Unexpected character '" + x + "'");
|
|
4471
4483
|
}
|
|
@@ -4493,35 +4505,35 @@ function rf() {
|
|
|
4493
4505
|
}
|
|
4494
4506
|
var A = t.slice(g, o);
|
|
4495
4507
|
++o;
|
|
4496
|
-
var
|
|
4497
|
-
|
|
4508
|
+
var k = gn();
|
|
4509
|
+
k && !/^[gmi]*$/.test(k) && D(g, "Invalid regexp flag");
|
|
4498
4510
|
try {
|
|
4499
|
-
var L = new RegExp(A,
|
|
4511
|
+
var L = new RegExp(A, k);
|
|
4500
4512
|
} catch ($) {
|
|
4501
4513
|
throw $ instanceof SyntaxError && D(g, $.message), $;
|
|
4502
4514
|
}
|
|
4503
4515
|
Y($r, L);
|
|
4504
4516
|
}
|
|
4505
4517
|
function Ke(f, d) {
|
|
4506
|
-
for (var g = o, x = 0, A = d === void 0 ? 1 / 0 : d,
|
|
4518
|
+
for (var g = o, x = 0, A = d === void 0 ? 1 / 0 : d, k = 0; k < A; ++k) {
|
|
4507
4519
|
var L = t.charCodeAt(o), $;
|
|
4508
4520
|
if (L >= 97 ? $ = L - 97 + 10 : L >= 65 ? $ = L - 65 + 10 : L >= 48 && L <= 57 ? $ = L - 48 : $ = 1 / 0, $ >= f) break;
|
|
4509
4521
|
++o, x = x * f + $;
|
|
4510
4522
|
}
|
|
4511
4523
|
return o === g || d !== void 0 && o - g !== d ? null : x;
|
|
4512
4524
|
}
|
|
4513
|
-
function
|
|
4525
|
+
function Co() {
|
|
4514
4526
|
o += 2;
|
|
4515
4527
|
var f = Ke(16);
|
|
4516
|
-
f === null && D(p + 2, "Expected hexadecimal number"),
|
|
4528
|
+
f === null && D(p + 2, "Expected hexadecimal number"), yt(t.charCodeAt(o)) && D(o, "Identifier directly after number"), Y(ct, f);
|
|
4517
4529
|
}
|
|
4518
4530
|
function bn(f) {
|
|
4519
4531
|
var d = o, g = !1, x = t.charCodeAt(o) === 48;
|
|
4520
4532
|
!f && Ke(10) === null && D(d, "Invalid number"), t.charCodeAt(o) === 46 && (++o, Ke(10), g = !0);
|
|
4521
4533
|
var A = t.charCodeAt(o);
|
|
4522
|
-
(A === 69 || A === 101) && (A = t.charCodeAt(++o), (A === 43 || A === 45) && ++o, Ke(10) === null && D(d, "Invalid number"), g = !0),
|
|
4523
|
-
var
|
|
4524
|
-
g ? L = parseFloat(
|
|
4534
|
+
(A === 69 || A === 101) && (A = t.charCodeAt(++o), (A === 43 || A === 45) && ++o, Ke(10) === null && D(d, "Invalid number"), g = !0), yt(t.charCodeAt(o)) && D(o, "Identifier directly after number");
|
|
4535
|
+
var k = t.slice(d, o), L;
|
|
4536
|
+
g ? L = parseFloat(k) : !x || k.length === 1 ? L = parseInt(k, 10) : /[89]/.test(k) || Q ? D(d, "Invalid number") : L = parseInt(k, 8), Y(ct, L);
|
|
4525
4537
|
}
|
|
4526
4538
|
function Ao(f) {
|
|
4527
4539
|
o++;
|
|
@@ -4529,7 +4541,7 @@ function rf() {
|
|
|
4529
4541
|
o >= e && D(p, "Unterminated string constant");
|
|
4530
4542
|
var g = t.charCodeAt(o);
|
|
4531
4543
|
if (g === f) {
|
|
4532
|
-
++o, Y(
|
|
4544
|
+
++o, Y(Ut, d);
|
|
4533
4545
|
return;
|
|
4534
4546
|
}
|
|
4535
4547
|
if (g === 92) {
|
|
@@ -4538,7 +4550,7 @@ function rf() {
|
|
|
4538
4550
|
for (x && (x = x[0]); x && parseInt(x, 8) > 255; )
|
|
4539
4551
|
x = x.slice(0, -1);
|
|
4540
4552
|
if (x === "0" && (x = null), ++o, x)
|
|
4541
|
-
|
|
4553
|
+
Q && D(o - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(x, 8)), o += x.length - 1;
|
|
4542
4554
|
else
|
|
4543
4555
|
switch (g) {
|
|
4544
4556
|
case 110:
|
|
@@ -4605,12 +4617,12 @@ function rf() {
|
|
|
4605
4617
|
Ue = !1;
|
|
4606
4618
|
for (var f, d = !0, g = o; ; ) {
|
|
4607
4619
|
var x = t.charCodeAt(o);
|
|
4608
|
-
if (
|
|
4620
|
+
if (yn(x))
|
|
4609
4621
|
Ue && (f += t.charAt(o)), ++o;
|
|
4610
4622
|
else if (x === 92) {
|
|
4611
4623
|
Ue || (f = t.slice(g, o)), Ue = !0, t.charCodeAt(++o) !== 117 && D(o, "Expecting Unicode escape sequence \\uXXXX"), ++o;
|
|
4612
|
-
var A = vt(4),
|
|
4613
|
-
|
|
4624
|
+
var A = vt(4), k = String.fromCharCode(A);
|
|
4625
|
+
k || D(o - 1, "Invalid Unicode escape"), (d ? yt(A) : yn(A)) || D(o - 4, "Invalid Unicode escape"), f += k;
|
|
4614
4626
|
} else
|
|
4615
4627
|
break;
|
|
4616
4628
|
d = !1;
|
|
@@ -4619,13 +4631,13 @@ function rf() {
|
|
|
4619
4631
|
}
|
|
4620
4632
|
function _n() {
|
|
4621
4633
|
var f = gn(), d = De;
|
|
4622
|
-
!Ue &&
|
|
4634
|
+
!Ue && yo(f) && (d = io[f]), Y(d, f);
|
|
4623
4635
|
}
|
|
4624
4636
|
function M() {
|
|
4625
|
-
|
|
4637
|
+
Z = p, ie = y, Le = O, Fe();
|
|
4626
4638
|
}
|
|
4627
|
-
function
|
|
4628
|
-
if (
|
|
4639
|
+
function Jt(f) {
|
|
4640
|
+
if (Q = f, o = p, r.locations)
|
|
4629
4641
|
for (; o < P; )
|
|
4630
4642
|
P = t.lastIndexOf(`
|
|
4631
4643
|
`, P - 2) + 1, --I;
|
|
@@ -4645,59 +4657,59 @@ function rf() {
|
|
|
4645
4657
|
var d = new En();
|
|
4646
4658
|
return d.start = f.start, r.locations && (d.loc = new xn(), d.loc.start = f.loc.start), r.ranges && (d.range = [f.range[0], 0]), d;
|
|
4647
4659
|
}
|
|
4648
|
-
function
|
|
4660
|
+
function C(f, d) {
|
|
4649
4661
|
return f.type = d, f.end = ie, r.locations && (f.loc.end = Le), r.ranges && (f.range[1] = ie), f;
|
|
4650
4662
|
}
|
|
4651
|
-
function
|
|
4663
|
+
function Kt(f) {
|
|
4652
4664
|
return f.type === "ExpressionStatement" && f.expression.type === "Literal" && f.expression.value === "use strict";
|
|
4653
4665
|
}
|
|
4654
4666
|
function B(f) {
|
|
4655
|
-
return
|
|
4667
|
+
return _ === f ? (M(), !0) : !1;
|
|
4656
4668
|
}
|
|
4657
4669
|
function bt() {
|
|
4658
|
-
return !r.strictSemicolons && (
|
|
4670
|
+
return !r.strictSemicolons && (_ === jt || _ === Me || ht.test(t.slice(ie, p)));
|
|
4659
4671
|
}
|
|
4660
4672
|
function we() {
|
|
4661
4673
|
!B(pe) && !bt() && de();
|
|
4662
4674
|
}
|
|
4663
4675
|
function W(f) {
|
|
4664
|
-
|
|
4676
|
+
_ === f ? M() : de();
|
|
4665
4677
|
}
|
|
4666
4678
|
function de() {
|
|
4667
4679
|
D(p, "Unexpected token");
|
|
4668
4680
|
}
|
|
4669
4681
|
function gt(f) {
|
|
4670
|
-
f.type !== "Identifier" && f.type !== "MemberExpression" && D(f.start, "Assigning to rvalue"),
|
|
4682
|
+
f.type !== "Identifier" && f.type !== "MemberExpression" && D(f.start, "Assigning to rvalue"), Q && f.type === "Identifier" && dt(f.name) && D(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4671
4683
|
}
|
|
4672
4684
|
function Io(f) {
|
|
4673
|
-
|
|
4685
|
+
Z = ie = o, r.locations && (Le = new Ne()), Te = Q = !1, V = [], Fe();
|
|
4674
4686
|
var d = f || X(), g = !0;
|
|
4675
|
-
for (f || (d.body = []);
|
|
4687
|
+
for (f || (d.body = []); _ !== jt; ) {
|
|
4676
4688
|
var x = oe();
|
|
4677
|
-
d.body.push(x), g &&
|
|
4689
|
+
d.body.push(x), g && Kt(x) && Jt(!0), g = !1;
|
|
4678
4690
|
}
|
|
4679
|
-
return
|
|
4691
|
+
return C(d, "Program");
|
|
4680
4692
|
}
|
|
4681
|
-
var
|
|
4693
|
+
var qt = { kind: "loop" }, Lo = { kind: "switch" };
|
|
4682
4694
|
function oe() {
|
|
4683
|
-
(
|
|
4684
|
-
var f =
|
|
4695
|
+
(_ === un || _ === Oe && N === "/=") && Fe(!0);
|
|
4696
|
+
var f = _, d = X();
|
|
4685
4697
|
switch (f) {
|
|
4686
|
-
case
|
|
4698
|
+
case $t:
|
|
4687
4699
|
case Vr:
|
|
4688
4700
|
M();
|
|
4689
|
-
var g = f ===
|
|
4690
|
-
B(pe) || bt() ? d.label = null :
|
|
4701
|
+
var g = f === $t;
|
|
4702
|
+
B(pe) || bt() ? d.label = null : _ !== De ? de() : (d.label = _e(), we());
|
|
4691
4703
|
for (var x = 0; x < V.length; ++x) {
|
|
4692
4704
|
var A = V[x];
|
|
4693
4705
|
if ((d.label === null || A.name === d.label.name) && (A.kind !== null && (g || A.kind === "loop") || d.label && g))
|
|
4694
4706
|
break;
|
|
4695
4707
|
}
|
|
4696
|
-
return x === V.length && D(d.start, "Unsyntactic " + f.keyword),
|
|
4708
|
+
return x === V.length && D(d.start, "Unsyntactic " + f.keyword), C(d, g ? "BreakStatement" : "ContinueStatement");
|
|
4697
4709
|
case Gr:
|
|
4698
|
-
return M(), we(),
|
|
4710
|
+
return M(), we(), C(d, "DebuggerStatement");
|
|
4699
4711
|
case Yr:
|
|
4700
|
-
return M(), V.push(
|
|
4712
|
+
return M(), V.push(qt), d.body = oe(), V.pop(), W(Yt), d.test = qe(), we(), C(d, "DoWhileStatement");
|
|
4701
4713
|
// Disambiguating between a `for` and a `for`/`in` loop is
|
|
4702
4714
|
// non-trivial. Basically, we have to parse the init `var`
|
|
4703
4715
|
// statement or expression, disallowing the `in` operator (see
|
|
@@ -4706,60 +4718,60 @@ function rf() {
|
|
|
4706
4718
|
// (semicolon immediately after the opening parenthesis), it is
|
|
4707
4719
|
// a regular `for` loop.
|
|
4708
4720
|
case Hr:
|
|
4709
|
-
if (M(), V.push(
|
|
4710
|
-
if (
|
|
4711
|
-
var
|
|
4712
|
-
return M(), Sn(
|
|
4721
|
+
if (M(), V.push(qt), W(fe), _ === pe) return Zt(d, null);
|
|
4722
|
+
if (_ === Wt) {
|
|
4723
|
+
var k = X();
|
|
4724
|
+
return M(), Sn(k, !0), C(k, "VariableDeclaration"), k.declarations.length === 1 && B(ft) ? Rn(d, k) : Zt(d, k);
|
|
4713
4725
|
}
|
|
4714
|
-
var
|
|
4715
|
-
return B(ft) ? (gt(
|
|
4716
|
-
case
|
|
4717
|
-
return M(),
|
|
4726
|
+
var k = H(!1, !0);
|
|
4727
|
+
return B(ft) ? (gt(k), Rn(d, k)) : Zt(d, k);
|
|
4728
|
+
case Vt:
|
|
4729
|
+
return M(), nr(d, !0);
|
|
4718
4730
|
case Jr:
|
|
4719
|
-
return M(), d.test = qe(), d.consequent = oe(), d.alternate = B(zr) ? oe() : null,
|
|
4731
|
+
return M(), d.test = qe(), d.consequent = oe(), d.alternate = B(zr) ? oe() : null, C(d, "IfStatement");
|
|
4720
4732
|
case Kr:
|
|
4721
|
-
return !Te && !r.allowReturnOutsideFunction && D(p, "'return' outside of function"), M(), B(pe) || bt() ? d.argument = null : (d.argument = H(), we()),
|
|
4722
|
-
case
|
|
4733
|
+
return !Te && !r.allowReturnOutsideFunction && D(p, "'return' outside of function"), M(), B(pe) || bt() ? d.argument = null : (d.argument = H(), we()), C(d, "ReturnStatement");
|
|
4734
|
+
case Gt:
|
|
4723
4735
|
M(), d.discriminant = qe(), d.cases = [], W(Xe), V.push(Lo);
|
|
4724
|
-
for (var L, $;
|
|
4725
|
-
if (
|
|
4726
|
-
var et =
|
|
4727
|
-
L &&
|
|
4736
|
+
for (var L, $; _ !== Me; )
|
|
4737
|
+
if (_ === Bt || _ === Wr) {
|
|
4738
|
+
var et = _ === Bt;
|
|
4739
|
+
L && C(L, "SwitchCase"), d.cases.push(L = X()), L.consequent = [], M(), et ? L.test = H() : ($ && D(Z, "Multiple default clauses"), $ = !0, L.test = null), W(He);
|
|
4728
4740
|
} else
|
|
4729
4741
|
L || de(), L.consequent.push(oe());
|
|
4730
|
-
return L &&
|
|
4742
|
+
return L && C(L, "SwitchCase"), M(), V.pop(), C(d, "SwitchStatement");
|
|
4731
4743
|
case qr:
|
|
4732
|
-
return M(), ht.test(t.slice(ie, p)) && D(ie, "Illegal newline after throw"), d.argument = H(), we(),
|
|
4744
|
+
return M(), ht.test(t.slice(ie, p)) && D(ie, "Illegal newline after throw"), d.argument = H(), we(), C(d, "ThrowStatement");
|
|
4733
4745
|
case Zr:
|
|
4734
|
-
if (M(), d.block = Ze(), d.handler = null,
|
|
4746
|
+
if (M(), d.block = Ze(), d.handler = null, _ === Br) {
|
|
4735
4747
|
var je = X();
|
|
4736
|
-
M(), W(fe), je.param = _e(),
|
|
4748
|
+
M(), W(fe), je.param = _e(), Q && dt(je.param.name) && D(je.param.start, "Binding " + je.param.name + " in strict mode"), W(ue), je.body = Ze(), d.handler = C(je, "CatchClause");
|
|
4737
4749
|
}
|
|
4738
|
-
return d.finalizer = B(Xr) ? Ze() : null, !d.handler && !d.finalizer && D(d.start, "Missing catch or finally clause"),
|
|
4739
|
-
case Gt:
|
|
4740
|
-
return M(), Sn(d), we(), k(d, "VariableDeclaration");
|
|
4750
|
+
return d.finalizer = B(Xr) ? Ze() : null, !d.handler && !d.finalizer && D(d.start, "Missing catch or finally clause"), C(d, "TryStatement");
|
|
4741
4751
|
case Wt:
|
|
4742
|
-
return M(),
|
|
4752
|
+
return M(), Sn(d), we(), C(d, "VariableDeclaration");
|
|
4753
|
+
case Yt:
|
|
4754
|
+
return M(), d.test = qe(), V.push(qt), d.body = oe(), V.pop(), C(d, "WhileStatement");
|
|
4743
4755
|
case Qr:
|
|
4744
|
-
return
|
|
4756
|
+
return Q && D(p, "'with' in strict mode"), M(), d.object = qe(), d.body = oe(), C(d, "WithStatement");
|
|
4745
4757
|
case Xe:
|
|
4746
4758
|
return Ze();
|
|
4747
4759
|
case pe:
|
|
4748
|
-
return M(),
|
|
4760
|
+
return M(), C(d, "EmptyStatement");
|
|
4749
4761
|
// If the statement does not start with a statement keyword or a
|
|
4750
4762
|
// brace, it's an ExpressionStatement or LabeledStatement. We
|
|
4751
4763
|
// simply start parsing an expression, and afterwards, if the
|
|
4752
4764
|
// next token is a colon and the expression was a simple
|
|
4753
4765
|
// Identifier node, we switch to interpreting it as a label.
|
|
4754
4766
|
default:
|
|
4755
|
-
var
|
|
4767
|
+
var or = N, _t = H();
|
|
4756
4768
|
if (f === De && _t.type === "Identifier" && B(He)) {
|
|
4757
4769
|
for (var x = 0; x < V.length; ++x)
|
|
4758
|
-
V[x].name ===
|
|
4759
|
-
var $o =
|
|
4760
|
-
return V.push({ name:
|
|
4770
|
+
V[x].name === or && D(_t.start, "Label '" + or + "' is already declared");
|
|
4771
|
+
var $o = _.isLoop ? "loop" : _ === Gt ? "switch" : null;
|
|
4772
|
+
return V.push({ name: or, kind: $o }), d.body = oe(), V.pop(), d.label = _t, C(d, "LabeledStatement");
|
|
4761
4773
|
} else
|
|
4762
|
-
return d.expression = _t, we(),
|
|
4774
|
+
return d.expression = _t, we(), C(d, "ExpressionStatement");
|
|
4763
4775
|
}
|
|
4764
4776
|
}
|
|
4765
4777
|
function qe() {
|
|
@@ -4770,37 +4782,37 @@ function rf() {
|
|
|
4770
4782
|
function Ze(f) {
|
|
4771
4783
|
var d = X(), g = !0, x = !1, A;
|
|
4772
4784
|
for (d.body = [], W(Xe); !B(Me); ) {
|
|
4773
|
-
var
|
|
4774
|
-
d.body.push(
|
|
4785
|
+
var k = oe();
|
|
4786
|
+
d.body.push(k), g && f && Kt(k) && (A = x, Jt(x = !0)), g = !1;
|
|
4775
4787
|
}
|
|
4776
|
-
return x && !A &&
|
|
4788
|
+
return x && !A && Jt(!1), C(d, "BlockStatement");
|
|
4777
4789
|
}
|
|
4778
|
-
function
|
|
4779
|
-
return f.init = d, W(pe), f.test =
|
|
4790
|
+
function Zt(f, d) {
|
|
4791
|
+
return f.init = d, W(pe), f.test = _ === pe ? null : H(), W(pe), f.update = _ === ue ? null : H(), W(ue), f.body = oe(), V.pop(), C(f, "ForStatement");
|
|
4780
4792
|
}
|
|
4781
4793
|
function Rn(f, d) {
|
|
4782
|
-
return f.left = d, f.right = H(), W(ue), f.body = oe(), V.pop(),
|
|
4794
|
+
return f.left = d, f.right = H(), W(ue), f.body = oe(), V.pop(), C(f, "ForInStatement");
|
|
4783
4795
|
}
|
|
4784
4796
|
function Sn(f, d) {
|
|
4785
4797
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
4786
4798
|
var g = X();
|
|
4787
|
-
if (g.id = _e(),
|
|
4799
|
+
if (g.id = _e(), Q && dt(g.id.name) && D(g.id.start, "Binding " + g.id.name + " in strict mode"), g.init = B(ln) ? H(!0, d) : null, f.declarations.push(C(g, "VariableDeclarator")), !B(be)) break;
|
|
4788
4800
|
}
|
|
4789
4801
|
}
|
|
4790
4802
|
function H(f, d) {
|
|
4791
|
-
var g =
|
|
4792
|
-
if (!f &&
|
|
4803
|
+
var g = Qt(d);
|
|
4804
|
+
if (!f && _ === be) {
|
|
4793
4805
|
var x = ge(g);
|
|
4794
|
-
for (x.expressions = [g]; B(be); ) x.expressions.push(
|
|
4795
|
-
return
|
|
4806
|
+
for (x.expressions = [g]; B(be); ) x.expressions.push(Qt(d));
|
|
4807
|
+
return C(x, "SequenceExpression");
|
|
4796
4808
|
}
|
|
4797
4809
|
return g;
|
|
4798
4810
|
}
|
|
4799
|
-
function
|
|
4811
|
+
function Qt(f) {
|
|
4800
4812
|
var d = Do(f);
|
|
4801
|
-
if (
|
|
4813
|
+
if (_.isAssign) {
|
|
4802
4814
|
var g = ge(d);
|
|
4803
|
-
return g.operator = N, g.left = d, M(), g.right =
|
|
4815
|
+
return g.operator = N, g.left = d, M(), g.right = Qt(f), gt(d), C(g, "AssignmentExpression");
|
|
4804
4816
|
}
|
|
4805
4817
|
return d;
|
|
4806
4818
|
}
|
|
@@ -4808,69 +4820,69 @@ function rf() {
|
|
|
4808
4820
|
var d = Mo(f);
|
|
4809
4821
|
if (B(sn)) {
|
|
4810
4822
|
var g = ge(d);
|
|
4811
|
-
return g.test = d, g.consequent = H(!0), W(He), g.alternate = H(!0, f),
|
|
4823
|
+
return g.test = d, g.consequent = H(!0), W(He), g.alternate = H(!0, f), C(g, "ConditionalExpression");
|
|
4812
4824
|
}
|
|
4813
4825
|
return d;
|
|
4814
4826
|
}
|
|
4815
4827
|
function Mo(f) {
|
|
4816
|
-
return
|
|
4828
|
+
return er(tr(), -1, f);
|
|
4817
4829
|
}
|
|
4818
|
-
function
|
|
4819
|
-
var x =
|
|
4820
|
-
if (x !== null && (!g ||
|
|
4830
|
+
function er(f, d, g) {
|
|
4831
|
+
var x = _.binop;
|
|
4832
|
+
if (x !== null && (!g || _ !== ft) && x > d) {
|
|
4821
4833
|
var A = ge(f);
|
|
4822
4834
|
A.left = f, A.operator = N;
|
|
4823
|
-
var
|
|
4824
|
-
M(), A.right =
|
|
4825
|
-
var L =
|
|
4826
|
-
return
|
|
4835
|
+
var k = _;
|
|
4836
|
+
M(), A.right = er(tr(), x, g);
|
|
4837
|
+
var L = C(A, k === fn || k === pn ? "LogicalExpression" : "BinaryExpression");
|
|
4838
|
+
return er(L, d, g);
|
|
4827
4839
|
}
|
|
4828
4840
|
return f;
|
|
4829
4841
|
}
|
|
4830
|
-
function
|
|
4831
|
-
if (
|
|
4832
|
-
var f = X(), d =
|
|
4833
|
-
return f.operator = N, f.prefix = !0, w = !0, M(), f.argument =
|
|
4842
|
+
function tr() {
|
|
4843
|
+
if (_.prefix) {
|
|
4844
|
+
var f = X(), d = _.isUpdate;
|
|
4845
|
+
return f.operator = N, f.prefix = !0, w = !0, M(), f.argument = tr(), d ? gt(f.argument) : Q && f.operator === "delete" && f.argument.type === "Identifier" && D(f.start, "Deleting local variable in strict mode"), C(f, d ? "UpdateExpression" : "UnaryExpression");
|
|
4834
4846
|
}
|
|
4835
|
-
for (var g = Fo();
|
|
4847
|
+
for (var g = Fo(); _.postfix && !bt(); ) {
|
|
4836
4848
|
var f = ge(g);
|
|
4837
|
-
f.operator = N, f.prefix = !1, f.argument = g, gt(g), M(), g =
|
|
4849
|
+
f.operator = N, f.prefix = !1, f.argument = g, gt(g), M(), g = C(f, "UpdateExpression");
|
|
4838
4850
|
}
|
|
4839
4851
|
return g;
|
|
4840
4852
|
}
|
|
4841
4853
|
function Fo() {
|
|
4842
|
-
return Qe(
|
|
4854
|
+
return Qe(rr());
|
|
4843
4855
|
}
|
|
4844
4856
|
function Qe(f, d) {
|
|
4845
4857
|
var g;
|
|
4846
|
-
return B(an) ? (g = ge(f), g.object = f, g.property = _e(!0), g.computed = !1, Qe(
|
|
4858
|
+
return B(an) ? (g = ge(f), g.object = f, g.property = _e(!0), g.computed = !1, Qe(C(g, "MemberExpression"), d)) : B(zt) ? (g = ge(f), g.object = f, g.property = H(), g.computed = !0, W(Xt), Qe(C(g, "MemberExpression"), d)) : !d && B(fe) ? (g = ge(f), g.callee = f, g.arguments = ir(ue, !1), Qe(C(g, "CallExpression"), d)) : f;
|
|
4847
4859
|
}
|
|
4848
|
-
function
|
|
4860
|
+
function rr() {
|
|
4849
4861
|
var f;
|
|
4850
|
-
switch (
|
|
4862
|
+
switch (_) {
|
|
4851
4863
|
case tn:
|
|
4852
|
-
return f = X(), M(),
|
|
4864
|
+
return f = X(), M(), C(f, "ThisExpression");
|
|
4853
4865
|
case De:
|
|
4854
4866
|
return _e();
|
|
4855
4867
|
case ct:
|
|
4856
|
-
case
|
|
4868
|
+
case Ut:
|
|
4857
4869
|
case $r:
|
|
4858
|
-
return f = X(), f.value = N, f.raw = t.slice(p,
|
|
4870
|
+
return f = X(), f.value = N, f.raw = t.slice(p, y), M(), C(f, "Literal");
|
|
4859
4871
|
case rn:
|
|
4860
4872
|
case nn:
|
|
4861
4873
|
case on:
|
|
4862
|
-
return f = X(), f.value =
|
|
4874
|
+
return f = X(), f.value = _.atomValue, f.raw = _.keyword, M(), C(f, "Literal");
|
|
4863
4875
|
case fe:
|
|
4864
4876
|
var d = b, g = p;
|
|
4865
4877
|
M();
|
|
4866
4878
|
var x = H();
|
|
4867
|
-
return x.start = g, x.end =
|
|
4868
|
-
case
|
|
4869
|
-
return f = X(), M(), f.elements =
|
|
4879
|
+
return x.start = g, x.end = y, r.locations && (x.loc.start = d, x.loc.end = O), r.ranges && (x.range = [g, y]), W(ue), x;
|
|
4880
|
+
case zt:
|
|
4881
|
+
return f = X(), M(), f.elements = ir(Xt, !0, !0), C(f, "ArrayExpression");
|
|
4870
4882
|
case Xe:
|
|
4871
4883
|
return jo();
|
|
4872
|
-
case
|
|
4873
|
-
return f = X(), M(),
|
|
4884
|
+
case Vt:
|
|
4885
|
+
return f = X(), M(), nr(f, !1);
|
|
4874
4886
|
case en:
|
|
4875
4887
|
return Uo();
|
|
4876
4888
|
}
|
|
@@ -4878,7 +4890,7 @@ function rf() {
|
|
|
4878
4890
|
}
|
|
4879
4891
|
function Uo() {
|
|
4880
4892
|
var f = X();
|
|
4881
|
-
return M(), f.callee = Qe(
|
|
4893
|
+
return M(), f.callee = Qe(rr(), !0), f.arguments = B(fe) ? ir(ue, !1) : no, C(f, "NewExpression");
|
|
4882
4894
|
}
|
|
4883
4895
|
function jo() {
|
|
4884
4896
|
var f = X(), d = !0, g = !1;
|
|
@@ -4887,50 +4899,50 @@ function rf() {
|
|
|
4887
4899
|
d = !1;
|
|
4888
4900
|
else if (W(be), r.allowTrailingCommas && B(Me))
|
|
4889
4901
|
break;
|
|
4890
|
-
var x = { key: Tn() }, A = !1,
|
|
4891
|
-
if (B(He) ? (x.value = H(!0),
|
|
4902
|
+
var x = { key: Tn() }, A = !1, k;
|
|
4903
|
+
if (B(He) ? (x.value = H(!0), k = x.kind = "init") : x.key.type === "Identifier" && (x.key.name === "get" || x.key.name === "set") ? (A = g = !0, k = x.kind = x.key.name, x.key = Tn(), _ !== fe && de(), x.value = nr(X(), !1)) : de(), x.key.type === "Identifier" && (Q || g))
|
|
4892
4904
|
for (var L = 0; L < f.properties.length; ++L) {
|
|
4893
4905
|
var $ = f.properties[L];
|
|
4894
4906
|
if ($.key.name === x.key.name) {
|
|
4895
|
-
var et =
|
|
4896
|
-
et && !
|
|
4907
|
+
var et = k === $.kind || A && $.kind === "init" || k === "init" && ($.kind === "get" || $.kind === "set");
|
|
4908
|
+
et && !Q && k === "init" && $.kind === "init" && (et = !1), et && D(x.key.start, "Redefinition of property");
|
|
4897
4909
|
}
|
|
4898
4910
|
}
|
|
4899
4911
|
f.properties.push(x);
|
|
4900
4912
|
}
|
|
4901
|
-
return
|
|
4913
|
+
return C(f, "ObjectExpression");
|
|
4902
4914
|
}
|
|
4903
4915
|
function Tn() {
|
|
4904
|
-
return
|
|
4916
|
+
return _ === ct || _ === Ut ? rr() : _e(!0);
|
|
4905
4917
|
}
|
|
4906
|
-
function
|
|
4907
|
-
|
|
4918
|
+
function nr(f, d) {
|
|
4919
|
+
_ === De ? f.id = _e() : d ? de() : f.id = null, f.params = [];
|
|
4908
4920
|
var g = !0;
|
|
4909
4921
|
for (W(fe); !B(ue); )
|
|
4910
4922
|
g ? g = !1 : W(be), f.params.push(_e());
|
|
4911
4923
|
var x = Te, A = V;
|
|
4912
|
-
if (Te = !0, V = [], f.body = Ze(!0), Te = x, V = A,
|
|
4913
|
-
for (var
|
|
4914
|
-
var L =
|
|
4915
|
-
if ((dn(L.name) || dt(L.name)) && D(L.start, "Defining '" + L.name + "' in strict mode"),
|
|
4916
|
-
for (var $ = 0; $ <
|
|
4924
|
+
if (Te = !0, V = [], f.body = Ze(!0), Te = x, V = A, Q || f.body.body.length && Kt(f.body.body[0]))
|
|
4925
|
+
for (var k = f.id ? -1 : 0; k < f.params.length; ++k) {
|
|
4926
|
+
var L = k < 0 ? f.id : f.params[k];
|
|
4927
|
+
if ((dn(L.name) || dt(L.name)) && D(L.start, "Defining '" + L.name + "' in strict mode"), k >= 0)
|
|
4928
|
+
for (var $ = 0; $ < k; ++$)
|
|
4917
4929
|
L.name === f.params[$].name && D(L.start, "Argument name clash in strict mode");
|
|
4918
4930
|
}
|
|
4919
|
-
return
|
|
4931
|
+
return C(f, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
4920
4932
|
}
|
|
4921
|
-
function
|
|
4933
|
+
function ir(f, d, g) {
|
|
4922
4934
|
for (var x = [], A = !0; !B(f); ) {
|
|
4923
4935
|
if (A)
|
|
4924
4936
|
A = !1;
|
|
4925
4937
|
else if (W(be), d && r.allowTrailingCommas && B(f))
|
|
4926
4938
|
break;
|
|
4927
|
-
x.push(g &&
|
|
4939
|
+
x.push(g && _ === be ? null : H(!0));
|
|
4928
4940
|
}
|
|
4929
4941
|
return x;
|
|
4930
4942
|
}
|
|
4931
4943
|
function _e(f) {
|
|
4932
4944
|
var d = X();
|
|
4933
|
-
return f && r.forbidReserved === "everywhere" && (f = !1),
|
|
4945
|
+
return f && r.forbidReserved === "everywhere" && (f = !1), _ === De ? (!f && (r.forbidReserved && mo(N) || Q && dn(N)) && t.slice(p, y).indexOf("\\") === -1 && D(p, "The keyword '" + N + "' is reserved"), d.name = N) : f && _.keyword ? d.name = _.keyword : de(), w = !1, M(), C(d, "Identifier");
|
|
4934
4946
|
}
|
|
4935
4947
|
});
|
|
4936
4948
|
}
|
|
@@ -4941,17 +4953,17 @@ function rf() {
|
|
|
4941
4953
|
!*** external "vm" ***!
|
|
4942
4954
|
\*********************/
|
|
4943
4955
|
/***/
|
|
4944
|
-
(
|
|
4945
|
-
|
|
4956
|
+
(m) => {
|
|
4957
|
+
m.exports = ef;
|
|
4946
4958
|
}
|
|
4947
4959
|
)
|
|
4948
4960
|
/******/
|
|
4949
4961
|
}, h = {};
|
|
4950
|
-
function v(
|
|
4951
|
-
var T = h[
|
|
4962
|
+
function v(m) {
|
|
4963
|
+
var T = h[m];
|
|
4952
4964
|
if (T !== void 0)
|
|
4953
4965
|
return T.exports;
|
|
4954
|
-
var S = h[
|
|
4966
|
+
var S = h[m] = {
|
|
4955
4967
|
/******/
|
|
4956
4968
|
// no module.id needed
|
|
4957
4969
|
/******/
|
|
@@ -4960,34 +4972,34 @@ function rf() {
|
|
|
4960
4972
|
exports: {}
|
|
4961
4973
|
/******/
|
|
4962
4974
|
};
|
|
4963
|
-
return c[
|
|
4975
|
+
return c[m].call(S.exports, S, S.exports, v), S.exports;
|
|
4964
4976
|
}
|
|
4965
|
-
v.d = (
|
|
4977
|
+
v.d = (m, T) => {
|
|
4966
4978
|
for (var S in T)
|
|
4967
|
-
v.o(T, S) && !v.o(
|
|
4968
|
-
}, v.o = (
|
|
4969
|
-
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(
|
|
4979
|
+
v.o(T, S) && !v.o(m, S) && Object.defineProperty(m, S, { enumerable: !0, get: T[S] });
|
|
4980
|
+
}, v.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), v.r = (m) => {
|
|
4981
|
+
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
4970
4982
|
};
|
|
4971
|
-
var
|
|
4983
|
+
var E = {};
|
|
4972
4984
|
return (() => {
|
|
4973
4985
|
/*!*******************************!*\
|
|
4974
4986
|
!*** ./src/js-interpreter.js ***!
|
|
4975
4987
|
\*******************************/
|
|
4976
|
-
v.r(
|
|
4988
|
+
v.r(E), v.d(E, {
|
|
4977
4989
|
/* harmony export */
|
|
4978
4990
|
default: () => S
|
|
4979
4991
|
/* harmony export */
|
|
4980
4992
|
});
|
|
4981
|
-
const
|
|
4993
|
+
const m = v(
|
|
4982
4994
|
/*! ../original-repo/acorn */
|
|
4983
4995
|
"./original-repo/acorn.js"
|
|
4984
4996
|
);
|
|
4985
|
-
globalThis.acorn =
|
|
4997
|
+
globalThis.acorn = m;
|
|
4986
4998
|
const { Interpreter: T } = v(
|
|
4987
4999
|
/*! ../original-repo/interpreter */
|
|
4988
5000
|
"./original-repo/interpreter.js"
|
|
4989
5001
|
), S = T;
|
|
4990
|
-
})(),
|
|
5002
|
+
})(), E = E.default, E;
|
|
4991
5003
|
})()
|
|
4992
5004
|
));
|
|
4993
5005
|
}(St)), St.exports;
|
|
@@ -5008,13 +5020,13 @@ function af(n, a) {
|
|
|
5008
5020
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(S);
|
|
5009
5021
|
r === "info" ? Xo(t) : r === "success" ? Ho(t) : r === "warning" ? Jo(t) : r === "error" && Ko(t);
|
|
5010
5022
|
}
|
|
5011
|
-
function
|
|
5023
|
+
function E(T, S) {
|
|
5012
5024
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(S);
|
|
5013
5025
|
setTimeout(() => {
|
|
5014
5026
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
5015
5027
|
}, t);
|
|
5016
5028
|
}
|
|
5017
|
-
function
|
|
5029
|
+
function m(T, S) {
|
|
5018
5030
|
const r = n.pseudoToNative(T);
|
|
5019
5031
|
setTimeout(() => {
|
|
5020
5032
|
S(), n.run();
|
|
@@ -5035,21 +5047,21 @@ function af(n, a) {
|
|
|
5035
5047
|
), n.setProperty(
|
|
5036
5048
|
a,
|
|
5037
5049
|
"__timeoutV1__",
|
|
5038
|
-
n.createNativeFunction(
|
|
5050
|
+
n.createNativeFunction(E)
|
|
5039
5051
|
), n.setProperty(
|
|
5040
5052
|
a,
|
|
5041
5053
|
"__delayV1__",
|
|
5042
|
-
n.createAsyncFunction(
|
|
5054
|
+
n.createAsyncFunction(m)
|
|
5043
5055
|
);
|
|
5044
5056
|
}
|
|
5045
5057
|
class sf {
|
|
5046
5058
|
constructor(a) {
|
|
5047
|
-
|
|
5048
|
-
|
|
5059
|
+
ar(this, "context");
|
|
5060
|
+
ar(this, "nodes");
|
|
5049
5061
|
this.context = a, this.nodes = {};
|
|
5050
5062
|
const c = (h) => {
|
|
5051
5063
|
var v;
|
|
5052
|
-
this.nodes[h.basic.id] = h, (v = h.children) == null || v.forEach((
|
|
5064
|
+
this.nodes[h.basic.id] = h, (v = h.children) == null || v.forEach((E) => c(E));
|
|
5053
5065
|
};
|
|
5054
5066
|
this.context.data.view.nodes.forEach((h) => c(h));
|
|
5055
5067
|
}
|
|
@@ -5058,26 +5070,26 @@ class sf {
|
|
|
5058
5070
|
}
|
|
5059
5071
|
addNode(a, c, h) {
|
|
5060
5072
|
const v = `parent=${a} ref=${c} keyOrRefid=${h}`;
|
|
5061
|
-
let
|
|
5073
|
+
let E;
|
|
5062
5074
|
if (a) {
|
|
5063
5075
|
const T = this.getNode(a);
|
|
5064
5076
|
if (!T)
|
|
5065
5077
|
return console.error(`NodeMgr/addNode parent not found, ${v}`), "";
|
|
5066
5078
|
if (!T.children)
|
|
5067
5079
|
return console.error(`NodeMgr/addNode parent no children, ${v}`), "";
|
|
5068
|
-
|
|
5080
|
+
E = T.children;
|
|
5069
5081
|
} else
|
|
5070
|
-
|
|
5071
|
-
if (!
|
|
5082
|
+
E = this.context.data.view.nodes;
|
|
5083
|
+
if (!E)
|
|
5072
5084
|
return "";
|
|
5073
|
-
const
|
|
5085
|
+
const m = Ul(
|
|
5074
5086
|
this.context.type,
|
|
5075
5087
|
this.context.data.type,
|
|
5076
5088
|
this.context.data.version,
|
|
5077
5089
|
c,
|
|
5078
5090
|
h
|
|
5079
5091
|
);
|
|
5080
|
-
return
|
|
5092
|
+
return m ? (E.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${v}`), "");
|
|
5081
5093
|
}
|
|
5082
5094
|
deleteNode(a) {
|
|
5083
5095
|
this.getNode(a);
|
|
@@ -5089,21 +5101,21 @@ function uf(n, a, c) {
|
|
|
5089
5101
|
const u = a.pseudoToNative(e), l = a.pseudoToNative(i), o = a.pseudoToNative(s), p = h.addNode(u, l, o);
|
|
5090
5102
|
return a.nativeToPseudo(p);
|
|
5091
5103
|
}
|
|
5092
|
-
function
|
|
5104
|
+
function E(e) {
|
|
5093
5105
|
const i = a.pseudoToNative(e);
|
|
5094
5106
|
h.deleteNode(i);
|
|
5095
5107
|
}
|
|
5096
|
-
function
|
|
5108
|
+
function m(e, i) {
|
|
5097
5109
|
const s = a.pseudoToNative(e), u = a.pseudoToNative(i), l = `id=${s} keys=${u}`;
|
|
5098
5110
|
let o;
|
|
5099
5111
|
if (s === "globality" ? o = n.data.view : o = h.getNode(s), !o) {
|
|
5100
5112
|
console.error(`getNodePropV1 node not found, ${l}`);
|
|
5101
5113
|
return;
|
|
5102
5114
|
}
|
|
5103
|
-
const p = u.split("."),
|
|
5104
|
-
for (let b = 0; b <
|
|
5115
|
+
const p = u.split("."), y = p.length;
|
|
5116
|
+
for (let b = 0; b < y; b++) {
|
|
5105
5117
|
const O = p[b];
|
|
5106
|
-
if (b ===
|
|
5118
|
+
if (b === y - 1)
|
|
5107
5119
|
return a.nativeToPseudo(o[O]);
|
|
5108
5120
|
if (!o) {
|
|
5109
5121
|
console.error(`getNodePropV1 unpkg failed, ${l}`);
|
|
@@ -5114,28 +5126,28 @@ function uf(n, a, c) {
|
|
|
5114
5126
|
}
|
|
5115
5127
|
function T(e, i, s) {
|
|
5116
5128
|
const u = a.pseudoToNative(e), l = a.pseudoToNative(i), o = a.pseudoToNative(s), p = `id=${u} keys=${l} value=${o}`;
|
|
5117
|
-
let
|
|
5118
|
-
if (u === "globality" ?
|
|
5129
|
+
let y;
|
|
5130
|
+
if (u === "globality" ? y = n.data.view : y = h.getNode(u), !y) {
|
|
5119
5131
|
console.error(`setNodePropV1 node not found, ${p}`);
|
|
5120
5132
|
return;
|
|
5121
5133
|
}
|
|
5122
5134
|
const b = l.split("."), O = b.length;
|
|
5123
|
-
for (let
|
|
5124
|
-
const N = b[
|
|
5125
|
-
if (
|
|
5126
|
-
|
|
5135
|
+
for (let _ = 0; _ < O; _++) {
|
|
5136
|
+
const N = b[_];
|
|
5137
|
+
if (_ === O - 1)
|
|
5138
|
+
y[N] = o;
|
|
5127
5139
|
else {
|
|
5128
|
-
if (!
|
|
5140
|
+
if (!y) {
|
|
5129
5141
|
console.error(`setNodePropV1 unpkg failed, ${p}`);
|
|
5130
5142
|
return;
|
|
5131
5143
|
}
|
|
5132
|
-
|
|
5144
|
+
y = y[N];
|
|
5133
5145
|
}
|
|
5134
5146
|
}
|
|
5135
5147
|
}
|
|
5136
5148
|
function S(e, i, s, u) {
|
|
5137
|
-
const l = a.pseudoToNative(e), o = a.pseudoToNative(i), p = a.pseudoToNative(s),
|
|
5138
|
-
Ve.emit(`callMethod@${l}`, { name: o, inputs: p, result:
|
|
5149
|
+
const l = a.pseudoToNative(e), o = a.pseudoToNative(i), p = a.pseudoToNative(s), y = { outputs: [] };
|
|
5150
|
+
Ve.emit(`callMethod@${l}`, { name: o, inputs: p, result: y }), u(a.nativeToPseudo(y.outputs)), a.run();
|
|
5139
5151
|
}
|
|
5140
5152
|
function r(e, i, s) {
|
|
5141
5153
|
const u = a.pseudoToNative(e), l = a.pseudoToNative(i);
|
|
@@ -5145,8 +5157,8 @@ function uf(n, a, c) {
|
|
|
5145
5157
|
}
|
|
5146
5158
|
function t(e, i, s, u) {
|
|
5147
5159
|
const l = a.pseudoToNative(e), o = a.pseudoToNative(i), p = a.pseudoToNative(s);
|
|
5148
|
-
Zo({ title: l, label: o, value: p }).then((
|
|
5149
|
-
u(a.nativeToPseudo(
|
|
5160
|
+
Zo({ title: l, label: o, value: p }).then((y) => {
|
|
5161
|
+
u(a.nativeToPseudo(y)), a.run();
|
|
5150
5162
|
});
|
|
5151
5163
|
}
|
|
5152
5164
|
a.setProperty(
|
|
@@ -5156,11 +5168,11 @@ function uf(n, a, c) {
|
|
|
5156
5168
|
), a.setProperty(
|
|
5157
5169
|
c,
|
|
5158
5170
|
"__deleteNodeV1__",
|
|
5159
|
-
a.createNativeFunction(
|
|
5171
|
+
a.createNativeFunction(E)
|
|
5160
5172
|
), a.setProperty(
|
|
5161
5173
|
c,
|
|
5162
5174
|
"__getNodePropV1__",
|
|
5163
|
-
a.createNativeFunction(
|
|
5175
|
+
a.createNativeFunction(m)
|
|
5164
5176
|
), a.setProperty(
|
|
5165
5177
|
c,
|
|
5166
5178
|
"__setNodePropV1__",
|
|
@@ -5320,7 +5332,7 @@ __triggerEvent__('globality', 'startup');
|
|
|
5320
5332
|
function $e(n) {
|
|
5321
5333
|
n.appendCode("__destroy__();"), n.run();
|
|
5322
5334
|
}
|
|
5323
|
-
const
|
|
5335
|
+
const mf = /* @__PURE__ */ ne({
|
|
5324
5336
|
__name: "index",
|
|
5325
5337
|
props: {
|
|
5326
5338
|
id: {},
|
|
@@ -5329,7 +5341,7 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5329
5341
|
outer: { type: Boolean }
|
|
5330
5342
|
},
|
|
5331
5343
|
setup(n) {
|
|
5332
|
-
const { t: a } = Ei(), c = n, h = qi(), v = se(),
|
|
5344
|
+
const { t: a } = Ei(), c = n, h = qi(), v = se(), E = Dt(), m = ut(), T = lt(), S = Zi(), r = Ot(-1), t = Ot(), e = {};
|
|
5333
5345
|
Qi(e), vi(() => {
|
|
5334
5346
|
const b = S.value[c.refContext.refid];
|
|
5335
5347
|
if (!b) {
|
|
@@ -5339,18 +5351,18 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5339
5351
|
if (r.value === b.dataSeq)
|
|
5340
5352
|
return;
|
|
5341
5353
|
r.value = b.dataSeq, t.value = le(b.data), e.interpreter && $e(e.interpreter);
|
|
5342
|
-
const O = t.value,
|
|
5343
|
-
|
|
5354
|
+
const O = t.value, _ = O.code.script;
|
|
5355
|
+
_ && (e.interpreter = eo({ env: h, type: m, data: O }, _));
|
|
5344
5356
|
}), ot(() => {
|
|
5345
5357
|
e.interpreter && ($e(e.interpreter), e.interpreter = void 0);
|
|
5346
5358
|
});
|
|
5347
|
-
const { applySize: i } =
|
|
5359
|
+
const { applySize: i } = Mt(v, E, c), s = R(() => {
|
|
5348
5360
|
const b = {}, O = T.value.type;
|
|
5349
|
-
return
|
|
5361
|
+
return m === "page" ? O === "common" ? i(b) : console.assert(!1) : m === "comp" && O === "common" ? i(b) : console.assert(!1), b;
|
|
5350
5362
|
});
|
|
5351
5363
|
function u(b) {
|
|
5352
|
-
const O = jr[T.value.version].refKey,
|
|
5353
|
-
return
|
|
5364
|
+
const O = jr[T.value.version].refKey, _ = Ce[O];
|
|
5365
|
+
return _ ? K(_.comp, {
|
|
5354
5366
|
refContext: {
|
|
5355
5367
|
parent: c.refContext,
|
|
5356
5368
|
refid: b.ref.id
|
|
@@ -5360,14 +5372,14 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5360
5372
|
}
|
|
5361
5373
|
function l(b) {
|
|
5362
5374
|
var N;
|
|
5363
|
-
const O =
|
|
5375
|
+
const O = Ce[b.basic.key];
|
|
5364
5376
|
if (!O)
|
|
5365
5377
|
return console.assert(!1, `element not found key=${b.basic.key}`), K("div", `element not found key=${b.basic.key}`);
|
|
5366
|
-
const
|
|
5378
|
+
const _ = [];
|
|
5367
5379
|
return O.slots.some((w) => w.key === "default") && ((N = b.children) == null || N.forEach((w) => {
|
|
5368
5380
|
const I = o(w);
|
|
5369
|
-
|
|
5370
|
-
})), K(O.comp, { node: b }, { default: () =>
|
|
5381
|
+
_.push(I);
|
|
5382
|
+
})), K(O.comp, { node: b }, { default: () => _ });
|
|
5371
5383
|
}
|
|
5372
5384
|
function o(b) {
|
|
5373
5385
|
return b.ref ? u(b) : l(b);
|
|
@@ -5381,7 +5393,7 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5381
5393
|
}
|
|
5382
5394
|
return !1;
|
|
5383
5395
|
}
|
|
5384
|
-
const
|
|
5396
|
+
const y = () => {
|
|
5385
5397
|
if (p())
|
|
5386
5398
|
return K("div", { id: c.id }, a("x-runtime-lib.circularRef"));
|
|
5387
5399
|
if (!t.value)
|
|
@@ -5389,13 +5401,13 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5389
5401
|
const b = t.value.type;
|
|
5390
5402
|
if (b === "common") {
|
|
5391
5403
|
const O = [];
|
|
5392
|
-
return t.value.view.nodes.forEach((
|
|
5393
|
-
O.push(o(
|
|
5404
|
+
return t.value.view.nodes.forEach((_) => {
|
|
5405
|
+
O.push(o(_));
|
|
5394
5406
|
}), K("div", { id: c.id, style: s.value }, O);
|
|
5395
5407
|
} else
|
|
5396
5408
|
return console.assert(!1, `invalid subtype=${b}`), K("div", { id: c.id }, `invalid subtype=${b}`);
|
|
5397
5409
|
};
|
|
5398
|
-
return (b, O) => (G(),
|
|
5410
|
+
return (b, O) => (G(), te(y));
|
|
5399
5411
|
}
|
|
5400
5412
|
}), he = /* @__PURE__ */ ne({
|
|
5401
5413
|
__name: "index",
|
|
@@ -5404,7 +5416,7 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5404
5416
|
state: {}
|
|
5405
5417
|
},
|
|
5406
5418
|
setup(n) {
|
|
5407
|
-
const { t: a } = Ei(), c = n, h = qi(), v = se(),
|
|
5419
|
+
const { t: a } = Ei(), c = n, h = qi(), v = se(), E = ut(), m = lt(), T = Zi(), S = Ot(-1), r = Ot(), t = {};
|
|
5408
5420
|
Qi(t), vi(() => {
|
|
5409
5421
|
const p = T.value[c.refContext.refid];
|
|
5410
5422
|
if (!p) {
|
|
@@ -5414,8 +5426,8 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5414
5426
|
if (S.value === p.dataSeq)
|
|
5415
5427
|
return;
|
|
5416
5428
|
S.value = p.dataSeq, r.value = le(p.data), t.interpreter && $e(t.interpreter);
|
|
5417
|
-
const
|
|
5418
|
-
b && (t.interpreter = eo({ env: h, type:
|
|
5429
|
+
const y = r.value, b = y.code.script;
|
|
5430
|
+
b && (t.interpreter = eo({ env: h, type: E, data: y }, b));
|
|
5419
5431
|
}), ot(() => {
|
|
5420
5432
|
t.interpreter && ($e(t.interpreter), t.interpreter = void 0);
|
|
5421
5433
|
});
|
|
@@ -5430,24 +5442,24 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5430
5442
|
{ deep: !0, immediate: !0 }
|
|
5431
5443
|
);
|
|
5432
5444
|
function i(p) {
|
|
5433
|
-
const
|
|
5445
|
+
const y = jr[m.value.version].refKey, b = Ce[y];
|
|
5434
5446
|
return b ? K(b.comp, {
|
|
5435
5447
|
refContext: {
|
|
5436
5448
|
parent: c.refContext,
|
|
5437
5449
|
refid: p.ref.id
|
|
5438
5450
|
},
|
|
5439
5451
|
node: p
|
|
5440
|
-
}) : (console.assert(!1, `ref element not found key=${
|
|
5452
|
+
}) : (console.assert(!1, `ref element not found key=${y}`), K("div", `ref element not found key=${y}`));
|
|
5441
5453
|
}
|
|
5442
5454
|
function s(p) {
|
|
5443
5455
|
var O;
|
|
5444
|
-
const
|
|
5445
|
-
if (!
|
|
5456
|
+
const y = Ce[p.basic.key];
|
|
5457
|
+
if (!y)
|
|
5446
5458
|
return console.assert(!1, `element not found key=${p.basic.key}`), K("div", `element not found key=${p.basic.key}`);
|
|
5447
5459
|
const b = [];
|
|
5448
|
-
return
|
|
5449
|
-
b.push(u(
|
|
5450
|
-
})), K(
|
|
5460
|
+
return y.slots.some((_) => _.key === "default") && ((O = p.children) == null || O.forEach((_) => {
|
|
5461
|
+
b.push(u(_));
|
|
5462
|
+
})), K(y.comp, { node: p }, { default: () => b });
|
|
5451
5463
|
}
|
|
5452
5464
|
function u(p) {
|
|
5453
5465
|
return p.ref ? i(p) : s(p);
|
|
@@ -5468,26 +5480,26 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5468
5480
|
return K("div", a("x-runtime-lib.compNotAvail"));
|
|
5469
5481
|
const p = r.value.type;
|
|
5470
5482
|
if (p === "common") {
|
|
5471
|
-
const
|
|
5483
|
+
const y = [];
|
|
5472
5484
|
return r.value.view.nodes.forEach((b) => {
|
|
5473
|
-
|
|
5474
|
-
}),
|
|
5485
|
+
y.push(u(b));
|
|
5486
|
+
}), y;
|
|
5475
5487
|
} else
|
|
5476
5488
|
return console.assert(!1, `invalid subtype=${p}`), K("div", `invalid subtype=${p}`);
|
|
5477
5489
|
};
|
|
5478
|
-
return (p,
|
|
5490
|
+
return (p, y) => (G(), te(o));
|
|
5479
5491
|
}
|
|
5480
|
-
}),
|
|
5492
|
+
}), yf = /* @__PURE__ */ ne({
|
|
5481
5493
|
__name: "index",
|
|
5482
5494
|
props: {
|
|
5483
5495
|
node: {},
|
|
5484
5496
|
outer: { type: Boolean }
|
|
5485
5497
|
},
|
|
5486
5498
|
setup(n) {
|
|
5487
|
-
const a = n, c = se(), h = ve(), v = $l(),
|
|
5499
|
+
const a = n, c = se(), h = ve(), v = $l(), E = R(() => {
|
|
5488
5500
|
var i;
|
|
5489
5501
|
return (i = a.node.settings) == null ? void 0 : i.text;
|
|
5490
|
-
}),
|
|
5502
|
+
}), m = R(() => {
|
|
5491
5503
|
var i;
|
|
5492
5504
|
return (i = a.node.settings) == null ? void 0 : i.disabled;
|
|
5493
5505
|
}), T = R(() => {
|
|
@@ -5510,9 +5522,9 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5510
5522
|
};
|
|
5511
5523
|
return (i, s) => {
|
|
5512
5524
|
const u = ae("v-btn");
|
|
5513
|
-
return G(),
|
|
5514
|
-
text:
|
|
5515
|
-
disabled:
|
|
5525
|
+
return G(), te(u, {
|
|
5526
|
+
text: E.value,
|
|
5527
|
+
disabled: m.value,
|
|
5516
5528
|
variant: T.value,
|
|
5517
5529
|
density: S.value,
|
|
5518
5530
|
block: r.value,
|
|
@@ -5521,7 +5533,7 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5521
5533
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
5522
5534
|
};
|
|
5523
5535
|
}
|
|
5524
|
-
}),
|
|
5536
|
+
}), Ft = (n, a) => {
|
|
5525
5537
|
const c = n.__vccOpts || n;
|
|
5526
5538
|
for (const [h, v] of a)
|
|
5527
5539
|
c[h] = v;
|
|
@@ -5529,19 +5541,19 @@ const yf = /* @__PURE__ */ ne({
|
|
|
5529
5541
|
}, vf = {};
|
|
5530
5542
|
function bf(n, a) {
|
|
5531
5543
|
const c = ae("v-card");
|
|
5532
|
-
return G(),
|
|
5533
|
-
default:
|
|
5534
|
-
|
|
5544
|
+
return G(), te(c, null, {
|
|
5545
|
+
default: re(() => [
|
|
5546
|
+
Ir(n.$slots, "default")
|
|
5535
5547
|
]),
|
|
5536
5548
|
_: 3
|
|
5537
5549
|
});
|
|
5538
5550
|
}
|
|
5539
|
-
const gf = /* @__PURE__ */
|
|
5551
|
+
const gf = /* @__PURE__ */ Ft(vf, [["render", bf]]), _f = {};
|
|
5540
5552
|
function Ef(n, a) {
|
|
5541
5553
|
const c = ae("v-chip");
|
|
5542
|
-
return G(),
|
|
5554
|
+
return G(), te(c);
|
|
5543
5555
|
}
|
|
5544
|
-
const xf = /* @__PURE__ */
|
|
5556
|
+
const xf = /* @__PURE__ */ Ft(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @__PURE__ */ ne({
|
|
5545
5557
|
__name: "index",
|
|
5546
5558
|
props: {
|
|
5547
5559
|
node: {},
|
|
@@ -5551,10 +5563,10 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5551
5563
|
const a = n, c = se(), h = ve(), v = R(() => {
|
|
5552
5564
|
var e;
|
|
5553
5565
|
return (e = a.node.settings) == null ? void 0 : e.value;
|
|
5554
|
-
}),
|
|
5566
|
+
}), E = R(() => {
|
|
5555
5567
|
var e;
|
|
5556
5568
|
return (e = a.node.settings) == null ? void 0 : e.label;
|
|
5557
|
-
}),
|
|
5569
|
+
}), m = R(() => {
|
|
5558
5570
|
var e;
|
|
5559
5571
|
return (e = a.node.settings) == null ? void 0 : e.placeholder;
|
|
5560
5572
|
}), T = R(() => {
|
|
@@ -5570,20 +5582,20 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5570
5582
|
return (e, i) => {
|
|
5571
5583
|
const s = ae("v-combobox");
|
|
5572
5584
|
return Be(c) === "editor" ? (G(), Se("div", Rf, [
|
|
5573
|
-
|
|
5585
|
+
ee(s, {
|
|
5574
5586
|
"model-value": v.value,
|
|
5575
|
-
label:
|
|
5576
|
-
placeholder:
|
|
5587
|
+
label: E.value,
|
|
5588
|
+
placeholder: m.value,
|
|
5577
5589
|
"hide-details": T.value,
|
|
5578
5590
|
"single-line": S.value,
|
|
5579
5591
|
readonly: r.value,
|
|
5580
5592
|
theme: t.value
|
|
5581
5593
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5582
|
-
])) : (G(),
|
|
5594
|
+
])) : (G(), te(s, {
|
|
5583
5595
|
key: 1,
|
|
5584
5596
|
"model-value": v.value,
|
|
5585
|
-
label:
|
|
5586
|
-
placeholder:
|
|
5597
|
+
label: E.value,
|
|
5598
|
+
placeholder: m.value,
|
|
5587
5599
|
"hide-details": T.value,
|
|
5588
5600
|
"single-line": S.value,
|
|
5589
5601
|
readonly: r.value,
|
|
@@ -5598,17 +5610,17 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5598
5610
|
outer: { type: Boolean }
|
|
5599
5611
|
},
|
|
5600
5612
|
setup(n) {
|
|
5601
|
-
const a = n, c = se(), h =
|
|
5613
|
+
const a = n, c = se(), h = Dt(), v = ve(), E = ut(), m = lt(), { applySize: T } = Mt(c, h, a), { applyMargin: S } = Dl(a), { applyPadding: r } = Ml(a), { applyBorder: t } = Ll(v, a), e = R(() => {
|
|
5602
5614
|
var s, u, l, o;
|
|
5603
5615
|
return v.value ? (u = (s = a.node.settings) == null ? void 0 : s.backgroundColor) == null ? void 0 : u.dark : (o = (l = a.node.settings) == null ? void 0 : l.backgroundColor) == null ? void 0 : o.light;
|
|
5604
5616
|
}), i = R(() => {
|
|
5605
|
-
const s = {}, u =
|
|
5606
|
-
return
|
|
5617
|
+
const s = {}, u = m.value.type;
|
|
5618
|
+
return E === "page" ? u === "common" ? (T(s), S(s), r(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1) : E === "comp" && u === "common" ? (T(s), S(s), r(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1), s;
|
|
5607
5619
|
});
|
|
5608
5620
|
return (s, u) => (G(), Se("div", {
|
|
5609
|
-
style:
|
|
5621
|
+
style: Ar(i.value)
|
|
5610
5622
|
}, [
|
|
5611
|
-
|
|
5623
|
+
Ir(s.$slots, "default")
|
|
5612
5624
|
], 4));
|
|
5613
5625
|
}
|
|
5614
5626
|
}), Of = /* @__PURE__ */ ne({
|
|
@@ -5624,10 +5636,10 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5624
5636
|
}), v = R(() => {
|
|
5625
5637
|
var l;
|
|
5626
5638
|
return (l = a.node.size) == null ? void 0 : l.height;
|
|
5627
|
-
}),
|
|
5639
|
+
}), E = R(() => {
|
|
5628
5640
|
var l;
|
|
5629
5641
|
return (l = a.node.settings) == null ? void 0 : l.headers;
|
|
5630
|
-
}),
|
|
5642
|
+
}), m = R(() => {
|
|
5631
5643
|
var l;
|
|
5632
5644
|
return (l = a.node.settings) == null ? void 0 : l.items;
|
|
5633
5645
|
}), T = R(() => {
|
|
@@ -5651,17 +5663,17 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5651
5663
|
}), s = R(() => c.value ? "dark" : "light"), u = R(() => {
|
|
5652
5664
|
var p;
|
|
5653
5665
|
const l = [];
|
|
5654
|
-
return (((p = a.node.slots) == null ? void 0 : p.items) ?? []).forEach((
|
|
5655
|
-
|
|
5666
|
+
return (((p = a.node.slots) == null ? void 0 : p.items) ?? []).forEach((y) => {
|
|
5667
|
+
y.column && y.comp && l.push(y);
|
|
5656
5668
|
}), l;
|
|
5657
5669
|
});
|
|
5658
5670
|
return (l, o) => {
|
|
5659
5671
|
const p = ae("v-data-table");
|
|
5660
|
-
return G(),
|
|
5672
|
+
return G(), te(p, {
|
|
5661
5673
|
width: h.value,
|
|
5662
5674
|
height: v.value,
|
|
5663
|
-
headers:
|
|
5664
|
-
items:
|
|
5675
|
+
headers: E.value,
|
|
5676
|
+
items: m.value,
|
|
5665
5677
|
density: T.value,
|
|
5666
5678
|
hover: S.value,
|
|
5667
5679
|
"fixed-header": r.value,
|
|
@@ -5669,12 +5681,12 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5669
5681
|
loading: e.value,
|
|
5670
5682
|
"multi-sort": i.value,
|
|
5671
5683
|
theme: s.value
|
|
5672
|
-
},
|
|
5673
|
-
Wo(u.value, (
|
|
5674
|
-
name: `item.${
|
|
5675
|
-
fn:
|
|
5676
|
-
|
|
5677
|
-
"ref-context": { refid:
|
|
5684
|
+
}, cr({ _: 2 }, [
|
|
5685
|
+
Wo(u.value, (y) => ({
|
|
5686
|
+
name: `item.${y.column}`,
|
|
5687
|
+
fn: re(({ value: b }) => [
|
|
5688
|
+
ee(he, {
|
|
5689
|
+
"ref-context": { refid: y.comp },
|
|
5678
5690
|
state: { value: b }
|
|
5679
5691
|
}, null, 8, ["ref-context", "state"])
|
|
5680
5692
|
])
|
|
@@ -5690,32 +5702,32 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5690
5702
|
},
|
|
5691
5703
|
setup(n) {
|
|
5692
5704
|
const a = n, c = se(), h = R(() => {
|
|
5693
|
-
var
|
|
5694
|
-
return (
|
|
5705
|
+
var m;
|
|
5706
|
+
return (m = a.node.basic) == null ? void 0 : m.id;
|
|
5695
5707
|
}), { open: v } = Qo(`runtimeDlg/${h.value}`);
|
|
5696
|
-
return Bl(a, (
|
|
5697
|
-
const { name: T } =
|
|
5708
|
+
return Bl(a, (m) => {
|
|
5709
|
+
const { name: T } = m;
|
|
5698
5710
|
T === "open" ? v.value = !0 : T === "close" && (v.value = !1);
|
|
5699
|
-
}), (
|
|
5711
|
+
}), (m, T) => {
|
|
5700
5712
|
const S = ae("v-dialog");
|
|
5701
|
-
return G(),
|
|
5713
|
+
return G(), te(S, {
|
|
5702
5714
|
modelValue: Be(v),
|
|
5703
5715
|
"onUpdate:modelValue": T[0] || (T[0] = (r) => Yo(v) ? v.value = r : null)
|
|
5704
5716
|
}, {
|
|
5705
|
-
activator:
|
|
5717
|
+
activator: re(() => [
|
|
5706
5718
|
Be(c) === "editor" ? (G(), Se("div", {
|
|
5707
5719
|
key: 0,
|
|
5708
5720
|
id: `__node__@${h.value}`
|
|
5709
5721
|
}, null, 8, Nf)) : zo("", !0)
|
|
5710
5722
|
]),
|
|
5711
|
-
default:
|
|
5712
|
-
|
|
5723
|
+
default: re(() => [
|
|
5724
|
+
Ir(m.$slots, "default")
|
|
5713
5725
|
]),
|
|
5714
5726
|
_: 3
|
|
5715
5727
|
}, 8, ["modelValue"]);
|
|
5716
5728
|
};
|
|
5717
5729
|
}
|
|
5718
|
-
}), Pf = { key: 0 },
|
|
5730
|
+
}), Pf = { key: 0 }, kf = /* @__PURE__ */ ne({
|
|
5719
5731
|
__name: "index",
|
|
5720
5732
|
props: {
|
|
5721
5733
|
node: {},
|
|
@@ -5725,10 +5737,10 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5725
5737
|
const a = n, c = se(), h = ve(), v = R(() => {
|
|
5726
5738
|
var e;
|
|
5727
5739
|
return (e = a.node.settings) == null ? void 0 : e.value;
|
|
5728
|
-
}),
|
|
5740
|
+
}), E = R(() => {
|
|
5729
5741
|
var e;
|
|
5730
5742
|
return (e = a.node.settings) == null ? void 0 : e.label;
|
|
5731
|
-
}),
|
|
5743
|
+
}), m = R(() => {
|
|
5732
5744
|
var e;
|
|
5733
5745
|
return (e = a.node.settings) == null ? void 0 : e.placeholder;
|
|
5734
5746
|
}), T = R(() => {
|
|
@@ -5744,20 +5756,20 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5744
5756
|
return (e, i) => {
|
|
5745
5757
|
const s = ae("v-number-input");
|
|
5746
5758
|
return Be(c) === "editor" ? (G(), Se("div", Pf, [
|
|
5747
|
-
|
|
5759
|
+
ee(s, {
|
|
5748
5760
|
"model-value": v.value,
|
|
5749
|
-
label:
|
|
5750
|
-
placeholder:
|
|
5761
|
+
label: E.value,
|
|
5762
|
+
placeholder: m.value,
|
|
5751
5763
|
"hide-details": T.value,
|
|
5752
5764
|
"single-line": S.value,
|
|
5753
5765
|
readonly: r.value,
|
|
5754
5766
|
theme: t.value
|
|
5755
5767
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5756
|
-
])) : (G(),
|
|
5768
|
+
])) : (G(), te(s, {
|
|
5757
5769
|
key: 1,
|
|
5758
5770
|
"model-value": v.value,
|
|
5759
|
-
label:
|
|
5760
|
-
placeholder:
|
|
5771
|
+
label: E.value,
|
|
5772
|
+
placeholder: m.value,
|
|
5761
5773
|
"hide-details": T.value,
|
|
5762
5774
|
"single-line": S.value,
|
|
5763
5775
|
readonly: r.value,
|
|
@@ -5765,12 +5777,12 @@ const xf = /* @__PURE__ */ Mt(_f, [["render", Ef]]), Rf = { key: 0 }, Sf = /* @_
|
|
|
5765
5777
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
5766
5778
|
};
|
|
5767
5779
|
}
|
|
5768
|
-
}),
|
|
5780
|
+
}), Cf = {};
|
|
5769
5781
|
function Af(n, a) {
|
|
5770
5782
|
const c = ae("v-rating");
|
|
5771
|
-
return G(),
|
|
5783
|
+
return G(), te(c);
|
|
5772
5784
|
}
|
|
5773
|
-
const If = /* @__PURE__ */
|
|
5785
|
+
const If = /* @__PURE__ */ Ft(Cf, [["render", Af]]), Lf = { key: 0 }, Df = /* @__PURE__ */ ne({
|
|
5774
5786
|
__name: "index",
|
|
5775
5787
|
props: {
|
|
5776
5788
|
node: {},
|
|
@@ -5780,10 +5792,10 @@ const If = /* @__PURE__ */ Mt(kf, [["render", Af]]), Lf = { key: 0 }, Df = /* @_
|
|
|
5780
5792
|
const a = n, c = se(), h = ve(), v = R(() => {
|
|
5781
5793
|
var e;
|
|
5782
5794
|
return (e = a.node.settings) == null ? void 0 : e.value;
|
|
5783
|
-
}),
|
|
5795
|
+
}), E = R(() => {
|
|
5784
5796
|
var e;
|
|
5785
5797
|
return (e = a.node.settings) == null ? void 0 : e.label;
|
|
5786
|
-
}),
|
|
5798
|
+
}), m = R(() => {
|
|
5787
5799
|
var e;
|
|
5788
5800
|
return (e = a.node.settings) == null ? void 0 : e.placeholder;
|
|
5789
5801
|
}), T = R(() => {
|
|
@@ -5799,20 +5811,20 @@ const If = /* @__PURE__ */ Mt(kf, [["render", Af]]), Lf = { key: 0 }, Df = /* @_
|
|
|
5799
5811
|
return (e, i) => {
|
|
5800
5812
|
const s = ae("v-select");
|
|
5801
5813
|
return Be(c) === "editor" ? (G(), Se("div", Lf, [
|
|
5802
|
-
|
|
5814
|
+
ee(s, {
|
|
5803
5815
|
"model-value": v.value,
|
|
5804
|
-
label:
|
|
5805
|
-
placeholder:
|
|
5816
|
+
label: E.value,
|
|
5817
|
+
placeholder: m.value,
|
|
5806
5818
|
"hide-details": T.value,
|
|
5807
5819
|
"single-line": S.value,
|
|
5808
5820
|
readonly: r.value,
|
|
5809
5821
|
theme: t.value
|
|
5810
5822
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5811
|
-
])) : (G(),
|
|
5823
|
+
])) : (G(), te(s, {
|
|
5812
5824
|
key: 1,
|
|
5813
5825
|
"model-value": v.value,
|
|
5814
|
-
label:
|
|
5815
|
-
placeholder:
|
|
5826
|
+
label: E.value,
|
|
5827
|
+
placeholder: m.value,
|
|
5816
5828
|
"hide-details": T.value,
|
|
5817
5829
|
"single-line": S.value,
|
|
5818
5830
|
readonly: r.value,
|
|
@@ -5823,9 +5835,9 @@ const If = /* @__PURE__ */ Mt(kf, [["render", Af]]), Lf = { key: 0 }, Df = /* @_
|
|
|
5823
5835
|
}), Mf = {};
|
|
5824
5836
|
function Ff(n, a) {
|
|
5825
5837
|
const c = ae("v-text-area");
|
|
5826
|
-
return G(),
|
|
5838
|
+
return G(), te(c);
|
|
5827
5839
|
}
|
|
5828
|
-
const Uf = /* @__PURE__ */
|
|
5840
|
+
const Uf = /* @__PURE__ */ Ft(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @__PURE__ */ ne({
|
|
5829
5841
|
__name: "index",
|
|
5830
5842
|
props: {
|
|
5831
5843
|
node: {},
|
|
@@ -5835,10 +5847,10 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5835
5847
|
const a = n, c = se(), h = ve(), v = R(() => {
|
|
5836
5848
|
var u;
|
|
5837
5849
|
return (u = a.node.settings) == null ? void 0 : u.label;
|
|
5838
|
-
}),
|
|
5850
|
+
}), E = R(() => {
|
|
5839
5851
|
var u;
|
|
5840
5852
|
return (u = a.node.settings) == null ? void 0 : u.placeholder;
|
|
5841
|
-
}),
|
|
5853
|
+
}), m = R(() => {
|
|
5842
5854
|
var u;
|
|
5843
5855
|
return (u = a.node.settings) == null ? void 0 : u.hideDetails;
|
|
5844
5856
|
}), T = R(() => {
|
|
@@ -5863,18 +5875,18 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5863
5875
|
return (u, l) => {
|
|
5864
5876
|
const o = ae("v-text-field");
|
|
5865
5877
|
return Be(c) === "editor" ? (G(), Se("div", jf, [
|
|
5866
|
-
|
|
5878
|
+
ee(o, {
|
|
5867
5879
|
label: v.value,
|
|
5868
|
-
placeholder:
|
|
5869
|
-
"hide-details":
|
|
5880
|
+
placeholder: E.value,
|
|
5881
|
+
"hide-details": m.value,
|
|
5870
5882
|
"single-line": T.value,
|
|
5871
5883
|
readonly: S.value,
|
|
5872
5884
|
theme: r.value
|
|
5873
|
-
},
|
|
5885
|
+
}, cr({ _: 2 }, [
|
|
5874
5886
|
t.value ? {
|
|
5875
5887
|
name: "append",
|
|
5876
|
-
fn:
|
|
5877
|
-
|
|
5888
|
+
fn: re(() => [
|
|
5889
|
+
ee(he, {
|
|
5878
5890
|
"ref-context": { refid: t.value },
|
|
5879
5891
|
state: {}
|
|
5880
5892
|
}, null, 8, ["ref-context"])
|
|
@@ -5883,8 +5895,8 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5883
5895
|
} : void 0,
|
|
5884
5896
|
e.value ? {
|
|
5885
5897
|
name: "append-inner",
|
|
5886
|
-
fn:
|
|
5887
|
-
|
|
5898
|
+
fn: re(() => [
|
|
5899
|
+
ee(he, {
|
|
5888
5900
|
"ref-context": { refid: e.value },
|
|
5889
5901
|
state: {}
|
|
5890
5902
|
}, null, 8, ["ref-context"])
|
|
@@ -5893,8 +5905,8 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5893
5905
|
} : void 0,
|
|
5894
5906
|
i.value ? {
|
|
5895
5907
|
name: "prepend",
|
|
5896
|
-
fn:
|
|
5897
|
-
|
|
5908
|
+
fn: re(() => [
|
|
5909
|
+
ee(he, {
|
|
5898
5910
|
"ref-context": { refid: i.value },
|
|
5899
5911
|
state: {}
|
|
5900
5912
|
}, null, 8, ["ref-context"])
|
|
@@ -5903,8 +5915,8 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5903
5915
|
} : void 0,
|
|
5904
5916
|
s.value ? {
|
|
5905
5917
|
name: "prepend-inner",
|
|
5906
|
-
fn:
|
|
5907
|
-
|
|
5918
|
+
fn: re(() => [
|
|
5919
|
+
ee(he, {
|
|
5908
5920
|
"ref-context": { refid: s.value },
|
|
5909
5921
|
state: {}
|
|
5910
5922
|
}, null, 8, ["ref-context"])
|
|
@@ -5912,19 +5924,19 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5912
5924
|
key: "3"
|
|
5913
5925
|
} : void 0
|
|
5914
5926
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5915
|
-
])) : (G(),
|
|
5927
|
+
])) : (G(), te(o, {
|
|
5916
5928
|
key: 1,
|
|
5917
5929
|
label: v.value,
|
|
5918
|
-
placeholder:
|
|
5919
|
-
"hide-details":
|
|
5930
|
+
placeholder: E.value,
|
|
5931
|
+
"hide-details": m.value,
|
|
5920
5932
|
"single-line": T.value,
|
|
5921
5933
|
readonly: S.value,
|
|
5922
5934
|
theme: r.value
|
|
5923
|
-
},
|
|
5935
|
+
}, cr({ _: 2 }, [
|
|
5924
5936
|
t.value ? {
|
|
5925
5937
|
name: "append",
|
|
5926
|
-
fn:
|
|
5927
|
-
|
|
5938
|
+
fn: re(() => [
|
|
5939
|
+
ee(he, {
|
|
5928
5940
|
"ref-context": { refid: t.value },
|
|
5929
5941
|
state: {}
|
|
5930
5942
|
}, null, 8, ["ref-context"])
|
|
@@ -5933,8 +5945,8 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5933
5945
|
} : void 0,
|
|
5934
5946
|
e.value ? {
|
|
5935
5947
|
name: "append-inner",
|
|
5936
|
-
fn:
|
|
5937
|
-
|
|
5948
|
+
fn: re(() => [
|
|
5949
|
+
ee(he, {
|
|
5938
5950
|
"ref-context": { refid: e.value },
|
|
5939
5951
|
state: {}
|
|
5940
5952
|
}, null, 8, ["ref-context"])
|
|
@@ -5943,8 +5955,8 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5943
5955
|
} : void 0,
|
|
5944
5956
|
i.value ? {
|
|
5945
5957
|
name: "prepend",
|
|
5946
|
-
fn:
|
|
5947
|
-
|
|
5958
|
+
fn: re(() => [
|
|
5959
|
+
ee(he, {
|
|
5948
5960
|
"ref-context": { refid: i.value },
|
|
5949
5961
|
state: {}
|
|
5950
5962
|
}, null, 8, ["ref-context"])
|
|
@@ -5953,8 +5965,8 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5953
5965
|
} : void 0,
|
|
5954
5966
|
s.value ? {
|
|
5955
5967
|
name: "prepend-inner",
|
|
5956
|
-
fn:
|
|
5957
|
-
|
|
5968
|
+
fn: re(() => [
|
|
5969
|
+
ee(he, {
|
|
5958
5970
|
"ref-context": { refid: s.value },
|
|
5959
5971
|
state: {}
|
|
5960
5972
|
}, null, 8, ["ref-context"])
|
|
@@ -5964,7 +5976,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5964
5976
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
5965
5977
|
};
|
|
5966
5978
|
}
|
|
5967
|
-
}),
|
|
5979
|
+
}), mr = "bar_chart_v1", yr = "btn_v1", vr = "card_v1", br = "chip_v1", gr = "combobox_v1", _r = "container_v1", Er = "data_table_v1", xr = "dialog_v1", Rr = "globality_v1", Sr = "line_chart_v1", Tr = "number_input_v1", Or = "rating_v1", Tt = "ref_v1", Nr = "select_v1", wr = "text_area_v1", Pr = "text_field_v1", F = {
|
|
5968
5980
|
key: "basic",
|
|
5969
5981
|
name: "x-runtime-lib.basic",
|
|
5970
5982
|
children: [
|
|
@@ -5990,21 +6002,50 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
5990
6002
|
}
|
|
5991
6003
|
]
|
|
5992
6004
|
}, Bf = [
|
|
5993
|
-
{ title: "x-runtime-lib.
|
|
6005
|
+
{ title: "x-runtime-lib.notSet", value: "" },
|
|
5994
6006
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
5995
6007
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
5996
6008
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
5997
|
-
],
|
|
6009
|
+
], Vf = [
|
|
5998
6010
|
{
|
|
5999
|
-
name: "x-runtime-lib.
|
|
6011
|
+
name: "x-runtime-lib.thin",
|
|
6000
6012
|
ui: "word",
|
|
6001
|
-
validator:
|
|
6002
|
-
default: ""
|
|
6013
|
+
validator: (n) => n === "thin",
|
|
6014
|
+
default: "thin"
|
|
6015
|
+
},
|
|
6016
|
+
{
|
|
6017
|
+
name: "x-runtime-lib.medium",
|
|
6018
|
+
ui: "word",
|
|
6019
|
+
validator: (n) => n === "medium",
|
|
6020
|
+
default: "medium"
|
|
6021
|
+
},
|
|
6022
|
+
{
|
|
6023
|
+
name: "x-runtime-lib.thick",
|
|
6024
|
+
ui: "word",
|
|
6025
|
+
validator: (n) => n === "thick",
|
|
6026
|
+
default: "thick"
|
|
6003
6027
|
},
|
|
6004
6028
|
{
|
|
6005
6029
|
name: "x-runtime-lib.pixel",
|
|
6006
6030
|
ui: "pixelInput",
|
|
6031
|
+
validator: Lt,
|
|
6032
|
+
default: "0px",
|
|
6033
|
+
precision: 0,
|
|
6034
|
+
min: 0,
|
|
6035
|
+
max: 1 / 0,
|
|
6036
|
+
step: 1
|
|
6037
|
+
}
|
|
6038
|
+
], q = [
|
|
6039
|
+
{
|
|
6040
|
+
name: "x-runtime-lib.notSet",
|
|
6041
|
+
ui: "word",
|
|
6007
6042
|
validator: Fr,
|
|
6043
|
+
default: ""
|
|
6044
|
+
},
|
|
6045
|
+
{
|
|
6046
|
+
name: "x-runtime-lib.pixel",
|
|
6047
|
+
ui: "pixelInput",
|
|
6048
|
+
validator: Lt,
|
|
6008
6049
|
default: "0px",
|
|
6009
6050
|
precision: 0,
|
|
6010
6051
|
min: 0,
|
|
@@ -6035,53 +6076,59 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6035
6076
|
{
|
|
6036
6077
|
key: "width",
|
|
6037
6078
|
name: "x-runtime-lib.width",
|
|
6038
|
-
ui: "
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
max: 1 / 0,
|
|
6042
|
-
step: 1,
|
|
6043
|
-
default: 1
|
|
6079
|
+
ui: "multiTypes",
|
|
6080
|
+
types: Vf,
|
|
6081
|
+
default: "medium"
|
|
6044
6082
|
},
|
|
6045
6083
|
{
|
|
6046
6084
|
key: "color",
|
|
6047
6085
|
name: "x-runtime-lib.color",
|
|
6048
|
-
ui: "colorPicker",
|
|
6049
|
-
default: "#00000000"
|
|
6050
|
-
},
|
|
6051
|
-
{
|
|
6052
|
-
key: "roundCorner",
|
|
6053
|
-
name: "x-runtime-lib.roundCorner",
|
|
6054
6086
|
children: [
|
|
6055
6087
|
{
|
|
6056
|
-
key: "
|
|
6057
|
-
name: "x-runtime-lib.
|
|
6058
|
-
ui: "
|
|
6059
|
-
|
|
6060
|
-
default: ""
|
|
6088
|
+
key: "light",
|
|
6089
|
+
name: "x-runtime-lib.light",
|
|
6090
|
+
ui: "colorPicker",
|
|
6091
|
+
default: "#00000000"
|
|
6061
6092
|
},
|
|
6093
|
+
{
|
|
6094
|
+
key: "dark",
|
|
6095
|
+
name: "x-runtime-lib.dark",
|
|
6096
|
+
ui: "colorPicker",
|
|
6097
|
+
default: "#00000000"
|
|
6098
|
+
}
|
|
6099
|
+
]
|
|
6100
|
+
},
|
|
6101
|
+
{
|
|
6102
|
+
key: "roundRadius",
|
|
6103
|
+
name: "x-runtime-lib.roundRadius",
|
|
6104
|
+
children: [
|
|
6062
6105
|
{
|
|
6063
6106
|
key: "tl",
|
|
6064
6107
|
name: "x-runtime-lib.topLeft",
|
|
6065
|
-
ui: "
|
|
6066
|
-
|
|
6108
|
+
ui: "multiTypes",
|
|
6109
|
+
types: q,
|
|
6110
|
+
default: ""
|
|
6067
6111
|
},
|
|
6068
6112
|
{
|
|
6069
6113
|
key: "tr",
|
|
6070
6114
|
name: "x-runtime-lib.topRight",
|
|
6071
|
-
ui: "
|
|
6072
|
-
|
|
6115
|
+
ui: "multiTypes",
|
|
6116
|
+
types: q,
|
|
6117
|
+
default: ""
|
|
6073
6118
|
},
|
|
6074
6119
|
{
|
|
6075
6120
|
key: "bl",
|
|
6076
6121
|
name: "x-runtime-lib.bottomLeft",
|
|
6077
|
-
ui: "
|
|
6078
|
-
|
|
6122
|
+
ui: "multiTypes",
|
|
6123
|
+
types: q,
|
|
6124
|
+
default: ""
|
|
6079
6125
|
},
|
|
6080
6126
|
{
|
|
6081
6127
|
key: "br",
|
|
6082
6128
|
name: "x-runtime-lib.bottomRight",
|
|
6083
|
-
ui: "
|
|
6084
|
-
|
|
6129
|
+
ui: "multiTypes",
|
|
6130
|
+
types: q,
|
|
6131
|
+
default: ""
|
|
6085
6132
|
}
|
|
6086
6133
|
]
|
|
6087
6134
|
}
|
|
@@ -6113,9 +6160,9 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6113
6160
|
]
|
|
6114
6161
|
}, Et = [
|
|
6115
6162
|
{
|
|
6116
|
-
name: "x-runtime-lib.
|
|
6163
|
+
name: "x-runtime-lib.notSet",
|
|
6117
6164
|
ui: "word",
|
|
6118
|
-
validator:
|
|
6165
|
+
validator: Fr,
|
|
6119
6166
|
default: ""
|
|
6120
6167
|
},
|
|
6121
6168
|
{
|
|
@@ -6127,7 +6174,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6127
6174
|
{
|
|
6128
6175
|
name: "x-runtime-lib.pixel",
|
|
6129
6176
|
ui: "pixelInput",
|
|
6130
|
-
validator:
|
|
6177
|
+
validator: Lt,
|
|
6131
6178
|
default: "0px",
|
|
6132
6179
|
precision: 0,
|
|
6133
6180
|
min: 0,
|
|
@@ -6179,15 +6226,15 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6179
6226
|
]
|
|
6180
6227
|
}, xt = [
|
|
6181
6228
|
{
|
|
6182
|
-
name: "x-runtime-lib.
|
|
6229
|
+
name: "x-runtime-lib.notSet",
|
|
6183
6230
|
ui: "word",
|
|
6184
|
-
validator:
|
|
6231
|
+
validator: Fr,
|
|
6185
6232
|
default: ""
|
|
6186
6233
|
},
|
|
6187
6234
|
{
|
|
6188
6235
|
name: "x-runtime-lib.pixel",
|
|
6189
6236
|
ui: "pixelInput",
|
|
6190
|
-
validator:
|
|
6237
|
+
validator: Lt,
|
|
6191
6238
|
default: "0px",
|
|
6192
6239
|
precision: 0,
|
|
6193
6240
|
min: 0,
|
|
@@ -6245,42 +6292,42 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6245
6292
|
key: "width",
|
|
6246
6293
|
name: "x-runtime-lib.width",
|
|
6247
6294
|
ui: "multiTypes",
|
|
6248
|
-
types:
|
|
6295
|
+
types: q,
|
|
6249
6296
|
default: ""
|
|
6250
6297
|
},
|
|
6251
6298
|
{
|
|
6252
6299
|
key: "minWidth",
|
|
6253
6300
|
name: "x-runtime-lib.minWidth",
|
|
6254
6301
|
ui: "multiTypes",
|
|
6255
|
-
types:
|
|
6302
|
+
types: q,
|
|
6256
6303
|
default: ""
|
|
6257
6304
|
},
|
|
6258
6305
|
{
|
|
6259
6306
|
key: "maxWidth",
|
|
6260
6307
|
name: "x-runtime-lib.maxWidth",
|
|
6261
6308
|
ui: "multiTypes",
|
|
6262
|
-
types:
|
|
6309
|
+
types: q,
|
|
6263
6310
|
default: ""
|
|
6264
6311
|
},
|
|
6265
6312
|
{
|
|
6266
6313
|
key: "height",
|
|
6267
6314
|
name: "x-runtime-lib.height",
|
|
6268
6315
|
ui: "multiTypes",
|
|
6269
|
-
types:
|
|
6316
|
+
types: q,
|
|
6270
6317
|
default: ""
|
|
6271
6318
|
},
|
|
6272
6319
|
{
|
|
6273
6320
|
key: "minHeight",
|
|
6274
6321
|
name: "x-runtime-lib.minHeight",
|
|
6275
6322
|
ui: "multiTypes",
|
|
6276
|
-
types:
|
|
6323
|
+
types: q,
|
|
6277
6324
|
default: ""
|
|
6278
6325
|
},
|
|
6279
6326
|
{
|
|
6280
6327
|
key: "maxHeight",
|
|
6281
6328
|
name: "x-runtime-lib.maxHeight",
|
|
6282
6329
|
ui: "multiTypes",
|
|
6283
|
-
types:
|
|
6330
|
+
types: q,
|
|
6284
6331
|
default: ""
|
|
6285
6332
|
}
|
|
6286
6333
|
]
|
|
@@ -6312,7 +6359,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6312
6359
|
{ title: "x-runtime-lib.category", value: "category" },
|
|
6313
6360
|
{ title: "x-runtime-lib.time", value: "time" },
|
|
6314
6361
|
{ title: "x-runtime-lib.log", value: "log" }
|
|
6315
|
-
],
|
|
6362
|
+
], Gf = [
|
|
6316
6363
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
6317
6364
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
6318
6365
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
@@ -6323,7 +6370,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6323
6370
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
6324
6371
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
6325
6372
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
6326
|
-
],
|
|
6373
|
+
], Wf = [
|
|
6327
6374
|
{
|
|
6328
6375
|
name: "x-runtime-lib.left",
|
|
6329
6376
|
ui: "word",
|
|
@@ -6336,7 +6383,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6336
6383
|
validator: (n) => n === "right",
|
|
6337
6384
|
default: "right"
|
|
6338
6385
|
}
|
|
6339
|
-
],
|
|
6386
|
+
], Yf = [
|
|
6340
6387
|
{
|
|
6341
6388
|
name: "x-runtime-lib.start",
|
|
6342
6389
|
ui: "word",
|
|
@@ -6355,7 +6402,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6355
6402
|
validator: (n) => n === "end",
|
|
6356
6403
|
default: "end"
|
|
6357
6404
|
}
|
|
6358
|
-
],
|
|
6405
|
+
], zf = [
|
|
6359
6406
|
{
|
|
6360
6407
|
name: "x-runtime-lib.top",
|
|
6361
6408
|
ui: "word",
|
|
@@ -6382,7 +6429,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6382
6429
|
key: "position",
|
|
6383
6430
|
name: "x-runtime-lib.position",
|
|
6384
6431
|
ui: "multiTypes",
|
|
6385
|
-
types:
|
|
6432
|
+
types: zf,
|
|
6386
6433
|
default: "bottom"
|
|
6387
6434
|
},
|
|
6388
6435
|
{
|
|
@@ -6401,7 +6448,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6401
6448
|
defaultArray: []
|
|
6402
6449
|
}
|
|
6403
6450
|
]
|
|
6404
|
-
},
|
|
6451
|
+
}, kt = {
|
|
6405
6452
|
key: "yAxis",
|
|
6406
6453
|
name: "x-runtime-lib.yAxis",
|
|
6407
6454
|
children: [
|
|
@@ -6415,7 +6462,7 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6415
6462
|
key: "position",
|
|
6416
6463
|
name: "x-runtime-lib.position",
|
|
6417
6464
|
ui: "multiTypes",
|
|
6418
|
-
types:
|
|
6465
|
+
types: Wf,
|
|
6419
6466
|
default: "left"
|
|
6420
6467
|
},
|
|
6421
6468
|
{
|
|
@@ -6434,8 +6481,8 @@ const Uf = /* @__PURE__ */ Mt(Mf, [["render", Ff]]), jf = { key: 0 }, $f = /* @_
|
|
|
6434
6481
|
defaultArray: []
|
|
6435
6482
|
}
|
|
6436
6483
|
]
|
|
6437
|
-
},
|
|
6438
|
-
|
|
6484
|
+
}, kr = le(Pt);
|
|
6485
|
+
kr.children[3].defaultArray = [
|
|
6439
6486
|
"Mon",
|
|
6440
6487
|
"Tue",
|
|
6441
6488
|
"Wed",
|
|
@@ -6473,19 +6520,19 @@ const ei = {
|
|
|
6473
6520
|
data: [120, 200, 150, 80, 70, 110, 130]
|
|
6474
6521
|
}
|
|
6475
6522
|
]
|
|
6476
|
-
},
|
|
6477
|
-
key:
|
|
6523
|
+
}, Xf = {
|
|
6524
|
+
key: mr,
|
|
6478
6525
|
name: "x-runtime-lib.barChart",
|
|
6479
6526
|
comp: Hc,
|
|
6480
6527
|
slots: [],
|
|
6481
6528
|
events: [],
|
|
6482
6529
|
methods: [],
|
|
6483
6530
|
props: {
|
|
6484
|
-
pageCommon: [F, Ee, wt,
|
|
6485
|
-
compCommon: [F, Ee, wt,
|
|
6531
|
+
pageCommon: [F, Ee, wt, kr, kt, Nt, ei],
|
|
6532
|
+
compCommon: [F, Ee, wt, kr, kt, Nt, ei]
|
|
6486
6533
|
}
|
|
6487
|
-
},
|
|
6488
|
-
|
|
6534
|
+
}, Hf = le(Pt);
|
|
6535
|
+
Hf.children[3].defaultArray = [
|
|
6489
6536
|
"Mon",
|
|
6490
6537
|
"Tue",
|
|
6491
6538
|
"Wed",
|
|
@@ -6523,16 +6570,16 @@ const ti = {
|
|
|
6523
6570
|
data: [150, 230, 224, 218, 135, 147, 260]
|
|
6524
6571
|
}
|
|
6525
6572
|
]
|
|
6526
|
-
},
|
|
6527
|
-
key:
|
|
6573
|
+
}, Jf = {
|
|
6574
|
+
key: Sr,
|
|
6528
6575
|
name: "x-runtime-lib.lineChart",
|
|
6529
6576
|
comp: Jc,
|
|
6530
6577
|
slots: [],
|
|
6531
6578
|
events: [],
|
|
6532
6579
|
methods: [],
|
|
6533
6580
|
props: {
|
|
6534
|
-
pageCommon: [F, Ee, wt, Pt,
|
|
6535
|
-
compCommon: [F, Ee, wt, Pt,
|
|
6581
|
+
pageCommon: [F, Ee, wt, Pt, kt, Nt, ti],
|
|
6582
|
+
compCommon: [F, Ee, wt, Pt, kt, Nt, ti]
|
|
6536
6583
|
}
|
|
6537
6584
|
}, ri = {
|
|
6538
6585
|
key: "globalSettings",
|
|
@@ -6557,8 +6604,8 @@ const ti = {
|
|
|
6557
6604
|
]
|
|
6558
6605
|
}
|
|
6559
6606
|
]
|
|
6560
|
-
},
|
|
6561
|
-
key:
|
|
6607
|
+
}, Kf = {
|
|
6608
|
+
key: Rr,
|
|
6562
6609
|
name: "x-runtime-lib.globality",
|
|
6563
6610
|
comp: null,
|
|
6564
6611
|
slots: [
|
|
@@ -6615,10 +6662,10 @@ const ti = {
|
|
|
6615
6662
|
default: ""
|
|
6616
6663
|
}
|
|
6617
6664
|
]
|
|
6618
|
-
},
|
|
6665
|
+
}, qf = {
|
|
6619
6666
|
key: Tt,
|
|
6620
6667
|
name: "x-runtime-lib.ref",
|
|
6621
|
-
comp:
|
|
6668
|
+
comp: mf,
|
|
6622
6669
|
slots: [],
|
|
6623
6670
|
events: [],
|
|
6624
6671
|
methods: [],
|
|
@@ -6646,7 +6693,7 @@ const ti = {
|
|
|
6646
6693
|
key: "variant",
|
|
6647
6694
|
name: "x-runtime-lib.variant",
|
|
6648
6695
|
ui: "select",
|
|
6649
|
-
items:
|
|
6696
|
+
items: Gf,
|
|
6650
6697
|
default: "elevated"
|
|
6651
6698
|
},
|
|
6652
6699
|
{
|
|
@@ -6663,10 +6710,10 @@ const ti = {
|
|
|
6663
6710
|
default: !1
|
|
6664
6711
|
}
|
|
6665
6712
|
]
|
|
6666
|
-
},
|
|
6713
|
+
}, Zf = {
|
|
6667
6714
|
key: yr,
|
|
6668
6715
|
name: "x-runtime-lib.button",
|
|
6669
|
-
comp:
|
|
6716
|
+
comp: yf,
|
|
6670
6717
|
slots: [],
|
|
6671
6718
|
events: [
|
|
6672
6719
|
{
|
|
@@ -6680,8 +6727,8 @@ const ti = {
|
|
|
6680
6727
|
pageCommon: [F, ii],
|
|
6681
6728
|
compCommon: [F, ii]
|
|
6682
6729
|
}
|
|
6683
|
-
},
|
|
6684
|
-
key:
|
|
6730
|
+
}, Qf = {
|
|
6731
|
+
key: vr,
|
|
6685
6732
|
name: "x-runtime-lib.card",
|
|
6686
6733
|
comp: gf,
|
|
6687
6734
|
slots: [
|
|
@@ -6696,8 +6743,8 @@ const ti = {
|
|
|
6696
6743
|
pageCommon: [F],
|
|
6697
6744
|
compCommon: [F]
|
|
6698
6745
|
}
|
|
6699
|
-
},
|
|
6700
|
-
key:
|
|
6746
|
+
}, ep = {
|
|
6747
|
+
key: br,
|
|
6701
6748
|
name: "x-runtime-lib.chip",
|
|
6702
6749
|
comp: xf,
|
|
6703
6750
|
slots: [],
|
|
@@ -6748,8 +6795,8 @@ const ti = {
|
|
|
6748
6795
|
default: !1
|
|
6749
6796
|
}
|
|
6750
6797
|
]
|
|
6751
|
-
},
|
|
6752
|
-
key:
|
|
6798
|
+
}, tp = {
|
|
6799
|
+
key: gr,
|
|
6753
6800
|
name: "x-runtime-lib.combobox",
|
|
6754
6801
|
comp: Sf,
|
|
6755
6802
|
slots: [],
|
|
@@ -6782,8 +6829,8 @@ const ti = {
|
|
|
6782
6829
|
]
|
|
6783
6830
|
}
|
|
6784
6831
|
]
|
|
6785
|
-
},
|
|
6786
|
-
key:
|
|
6832
|
+
}, rp = {
|
|
6833
|
+
key: _r,
|
|
6787
6834
|
name: "x-runtime-lib.container",
|
|
6788
6835
|
comp: Tf,
|
|
6789
6836
|
slots: [
|
|
@@ -6812,14 +6859,14 @@ const ti = {
|
|
|
6812
6859
|
key: "width",
|
|
6813
6860
|
name: "x-runtime-lib.width",
|
|
6814
6861
|
ui: "multiTypes",
|
|
6815
|
-
types:
|
|
6862
|
+
types: q,
|
|
6816
6863
|
default: ""
|
|
6817
6864
|
},
|
|
6818
6865
|
{
|
|
6819
6866
|
key: "height",
|
|
6820
6867
|
name: "x-runtime-lib.height",
|
|
6821
6868
|
ui: "multiTypes",
|
|
6822
|
-
types:
|
|
6869
|
+
types: q,
|
|
6823
6870
|
default: ""
|
|
6824
6871
|
}
|
|
6825
6872
|
]
|
|
@@ -6853,28 +6900,28 @@ const ti = {
|
|
|
6853
6900
|
key: "align",
|
|
6854
6901
|
name: "x-runtime-lib.align",
|
|
6855
6902
|
ui: "multiTypes",
|
|
6856
|
-
types:
|
|
6903
|
+
types: Yf,
|
|
6857
6904
|
default: "start"
|
|
6858
6905
|
},
|
|
6859
6906
|
{
|
|
6860
6907
|
key: "width",
|
|
6861
6908
|
name: "x-runtime-lib.width",
|
|
6862
6909
|
ui: "multiTypes",
|
|
6863
|
-
types:
|
|
6910
|
+
types: q,
|
|
6864
6911
|
default: ""
|
|
6865
6912
|
},
|
|
6866
6913
|
{
|
|
6867
6914
|
key: "minWidth",
|
|
6868
6915
|
name: "x-runtime-lib.minWidth",
|
|
6869
6916
|
ui: "multiTypes",
|
|
6870
|
-
types:
|
|
6917
|
+
types: q,
|
|
6871
6918
|
default: ""
|
|
6872
6919
|
},
|
|
6873
6920
|
{
|
|
6874
6921
|
key: "maxWidth",
|
|
6875
6922
|
name: "x-runtime-lib.maxWidth",
|
|
6876
6923
|
ui: "multiTypes",
|
|
6877
|
-
types:
|
|
6924
|
+
types: q,
|
|
6878
6925
|
default: ""
|
|
6879
6926
|
},
|
|
6880
6927
|
{
|
|
@@ -6956,8 +7003,8 @@ const ti = {
|
|
|
6956
7003
|
defaultArray: []
|
|
6957
7004
|
}
|
|
6958
7005
|
]
|
|
6959
|
-
},
|
|
6960
|
-
key:
|
|
7006
|
+
}, np = {
|
|
7007
|
+
key: Er,
|
|
6961
7008
|
name: "x-runtime-lib.dataTable",
|
|
6962
7009
|
comp: Of,
|
|
6963
7010
|
slots: [],
|
|
@@ -6967,8 +7014,8 @@ const ti = {
|
|
|
6967
7014
|
pageCommon: [F, si, ui, li],
|
|
6968
7015
|
compCommon: [F, si, ui, li]
|
|
6969
7016
|
}
|
|
6970
|
-
},
|
|
6971
|
-
key:
|
|
7017
|
+
}, ip = {
|
|
7018
|
+
key: xr,
|
|
6972
7019
|
name: "x-runtime-lib.dialog",
|
|
6973
7020
|
comp: wf,
|
|
6974
7021
|
slots: [
|
|
@@ -7042,10 +7089,10 @@ const ti = {
|
|
|
7042
7089
|
default: !1
|
|
7043
7090
|
}
|
|
7044
7091
|
]
|
|
7045
|
-
},
|
|
7046
|
-
key:
|
|
7092
|
+
}, op = {
|
|
7093
|
+
key: Tr,
|
|
7047
7094
|
name: "x-runtime-lib.numberInput",
|
|
7048
|
-
comp:
|
|
7095
|
+
comp: kf,
|
|
7049
7096
|
slots: [],
|
|
7050
7097
|
events: [],
|
|
7051
7098
|
methods: [],
|
|
@@ -7053,8 +7100,8 @@ const ti = {
|
|
|
7053
7100
|
pageCommon: [F, ci],
|
|
7054
7101
|
compCommon: [F, ci]
|
|
7055
7102
|
}
|
|
7056
|
-
},
|
|
7057
|
-
key:
|
|
7103
|
+
}, ap = {
|
|
7104
|
+
key: Or,
|
|
7058
7105
|
name: "x-runtime-lib.rating",
|
|
7059
7106
|
comp: If,
|
|
7060
7107
|
slots: [],
|
|
@@ -7105,8 +7152,8 @@ const ti = {
|
|
|
7105
7152
|
default: !1
|
|
7106
7153
|
}
|
|
7107
7154
|
]
|
|
7108
|
-
},
|
|
7109
|
-
key:
|
|
7155
|
+
}, sp = {
|
|
7156
|
+
key: Nr,
|
|
7110
7157
|
name: "x-runtime-lib.select",
|
|
7111
7158
|
comp: Df,
|
|
7112
7159
|
slots: [],
|
|
@@ -7116,8 +7163,8 @@ const ti = {
|
|
|
7116
7163
|
pageCommon: [F, fi],
|
|
7117
7164
|
compCommon: [F, fi]
|
|
7118
7165
|
}
|
|
7119
|
-
},
|
|
7120
|
-
key:
|
|
7166
|
+
}, up = {
|
|
7167
|
+
key: wr,
|
|
7121
7168
|
name: "x-runtime-lib.textArea",
|
|
7122
7169
|
comp: Uf,
|
|
7123
7170
|
slots: [],
|
|
@@ -7191,8 +7238,8 @@ const ti = {
|
|
|
7191
7238
|
default: ""
|
|
7192
7239
|
}
|
|
7193
7240
|
]
|
|
7194
|
-
},
|
|
7195
|
-
key:
|
|
7241
|
+
}, lp = {
|
|
7242
|
+
key: Pr,
|
|
7196
7243
|
name: "x-runtime-lib.textField",
|
|
7197
7244
|
comp: $f,
|
|
7198
7245
|
slots: [
|
|
@@ -7219,14 +7266,13 @@ const ti = {
|
|
|
7219
7266
|
pageCommon: [F, pi, di],
|
|
7220
7267
|
compCommon: [F, pi, di]
|
|
7221
7268
|
}
|
|
7222
|
-
},
|
|
7269
|
+
}, cp = {
|
|
7223
7270
|
version: "v1",
|
|
7224
|
-
globalityKey:
|
|
7271
|
+
globalityKey: Rr,
|
|
7225
7272
|
refKey: Tt,
|
|
7226
7273
|
elements: /* @__PURE__ */ new Set([
|
|
7227
|
-
hr,
|
|
7228
|
-
yr,
|
|
7229
7274
|
mr,
|
|
7275
|
+
yr,
|
|
7230
7276
|
vr,
|
|
7231
7277
|
br,
|
|
7232
7278
|
gr,
|
|
@@ -7236,10 +7282,11 @@ const ti = {
|
|
|
7236
7282
|
Rr,
|
|
7237
7283
|
Sr,
|
|
7238
7284
|
Tr,
|
|
7239
|
-
Tt,
|
|
7240
7285
|
Or,
|
|
7286
|
+
Tt,
|
|
7241
7287
|
Nr,
|
|
7242
|
-
wr
|
|
7288
|
+
wr,
|
|
7289
|
+
Pr
|
|
7243
7290
|
]),
|
|
7244
7291
|
groups: [
|
|
7245
7292
|
{
|
|
@@ -7247,10 +7294,10 @@ const ti = {
|
|
|
7247
7294
|
name: "x-runtime-lib.containment",
|
|
7248
7295
|
items: [
|
|
7249
7296
|
yr,
|
|
7250
|
-
mr,
|
|
7251
7297
|
vr,
|
|
7252
|
-
|
|
7253
|
-
|
|
7298
|
+
br,
|
|
7299
|
+
_r,
|
|
7300
|
+
xr,
|
|
7254
7301
|
Tt
|
|
7255
7302
|
]
|
|
7256
7303
|
},
|
|
@@ -7258,27 +7305,27 @@ const ti = {
|
|
|
7258
7305
|
key: "formInputAndControl",
|
|
7259
7306
|
name: "x-runtime-ilb.formInputAndControl",
|
|
7260
7307
|
items: [
|
|
7308
|
+
Pr,
|
|
7261
7309
|
wr,
|
|
7310
|
+
Tr,
|
|
7262
7311
|
Nr,
|
|
7263
|
-
|
|
7264
|
-
Or,
|
|
7265
|
-
br
|
|
7312
|
+
gr
|
|
7266
7313
|
]
|
|
7267
7314
|
},
|
|
7268
7315
|
{
|
|
7269
7316
|
key: "dataAndDisplay",
|
|
7270
7317
|
name: "x-runtime-lib.dataAndDisplay",
|
|
7271
|
-
items: [
|
|
7318
|
+
items: [Er, mr, Sr]
|
|
7272
7319
|
},
|
|
7273
7320
|
{
|
|
7274
7321
|
key: "feedback",
|
|
7275
7322
|
name: "x-runtime-lib.feedback",
|
|
7276
|
-
items: [
|
|
7323
|
+
items: [Or]
|
|
7277
7324
|
}
|
|
7278
7325
|
]
|
|
7279
7326
|
}, jr = {
|
|
7280
|
-
v1:
|
|
7281
|
-
},
|
|
7327
|
+
v1: cp
|
|
7328
|
+
}, Ce = {}, fp = {
|
|
7282
7329
|
key: "add",
|
|
7283
7330
|
name: "METHOD_ADD",
|
|
7284
7331
|
inputs: [],
|
|
@@ -7289,10 +7336,9 @@ const ti = {
|
|
|
7289
7336
|
}
|
|
7290
7337
|
]
|
|
7291
7338
|
}, J = (n) => {
|
|
7292
|
-
n.slots.some((a) => a.key === "default") && n.methods.unshift(
|
|
7339
|
+
n.slots.some((a) => a.key === "default") && n.methods.unshift(fp), Ce[n.key] = n;
|
|
7293
7340
|
};
|
|
7294
|
-
J(
|
|
7295
|
-
J(Hf);
|
|
7341
|
+
J(Xf);
|
|
7296
7342
|
J(Jf);
|
|
7297
7343
|
J(Kf);
|
|
7298
7344
|
J(qf);
|
|
@@ -7307,11 +7353,12 @@ J(op);
|
|
|
7307
7353
|
J(ap);
|
|
7308
7354
|
J(sp);
|
|
7309
7355
|
J(up);
|
|
7310
|
-
|
|
7356
|
+
J(lp);
|
|
7357
|
+
const pp = (n, a, c) => {
|
|
7311
7358
|
const h = n[a];
|
|
7312
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((v,
|
|
7359
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((v, E) => {
|
|
7313
7360
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
7314
|
-
|
|
7361
|
+
E.bind(
|
|
7315
7362
|
null,
|
|
7316
7363
|
new Error(
|
|
7317
7364
|
"Unknown variable dynamic import: " + a + (a.split("/").length !== c ? ". Note that variables only represent file names one level deep." : "")
|
|
@@ -7320,28 +7367,28 @@ const fp = (n, a, c) => {
|
|
|
7320
7367
|
);
|
|
7321
7368
|
});
|
|
7322
7369
|
};
|
|
7323
|
-
async function
|
|
7324
|
-
return (await
|
|
7370
|
+
async function wp(n) {
|
|
7371
|
+
return (await pp(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-gk1u42wl.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-mhlcmbyg.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
7325
7372
|
}
|
|
7326
|
-
function
|
|
7327
|
-
let
|
|
7373
|
+
function Pp(n, a, c, h, v) {
|
|
7374
|
+
let E = n;
|
|
7328
7375
|
for (let T = 0; T < a.length; T++)
|
|
7329
|
-
if (
|
|
7376
|
+
if (E = E.children[a[T]], !E) {
|
|
7330
7377
|
console.assert(!1, `unpkg context failed parentKeys=${a}`);
|
|
7331
7378
|
return;
|
|
7332
7379
|
}
|
|
7333
|
-
let
|
|
7334
|
-
|
|
7380
|
+
let m = E.children[c];
|
|
7381
|
+
m ? m.dataSeq !== h && (m = {
|
|
7335
7382
|
dataSeq: h,
|
|
7336
7383
|
data: le(v),
|
|
7337
7384
|
children: {}
|
|
7338
|
-
}) : (
|
|
7385
|
+
}) : (m = {
|
|
7339
7386
|
dataSeq: h,
|
|
7340
7387
|
data: le(v),
|
|
7341
7388
|
children: {}
|
|
7342
|
-
},
|
|
7389
|
+
}, E.children[c] = m);
|
|
7343
7390
|
}
|
|
7344
|
-
const
|
|
7391
|
+
const kp = [
|
|
7345
7392
|
"string",
|
|
7346
7393
|
"number",
|
|
7347
7394
|
"boolean",
|
|
@@ -7350,38 +7397,38 @@ const Pp = [
|
|
|
7350
7397
|
];
|
|
7351
7398
|
export {
|
|
7352
7399
|
jl as duplicateNode,
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7400
|
+
_p as duplicateNodes,
|
|
7401
|
+
Ce as elements,
|
|
7402
|
+
Pp as ensureContext,
|
|
7403
|
+
kp as fieldTypes,
|
|
7357
7404
|
Vi as genId,
|
|
7358
|
-
|
|
7405
|
+
gp as getNode,
|
|
7359
7406
|
Hn as getPropDefault,
|
|
7360
7407
|
Fl as getPropTag,
|
|
7361
7408
|
Jn as initProps,
|
|
7362
7409
|
ve as injectDark,
|
|
7363
7410
|
lt as injectData,
|
|
7364
7411
|
Zi as injectDepends,
|
|
7365
|
-
|
|
7412
|
+
Dt as injectDevice,
|
|
7366
7413
|
qi as injectEnv,
|
|
7367
7414
|
se as injectMode,
|
|
7368
7415
|
$l as injectSandbox,
|
|
7369
7416
|
ut as injectType,
|
|
7370
|
-
|
|
7417
|
+
Fr as isEmptyStr,
|
|
7371
7418
|
Ur as isPercentStr,
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7419
|
+
Lt as isPixelStr,
|
|
7420
|
+
wp as loadLocaleMessageRuntime,
|
|
7421
|
+
lr as parsePercentStr,
|
|
7422
|
+
bp as parsePixelStr,
|
|
7376
7423
|
jr as pkgs,
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7424
|
+
Sp as provideDark,
|
|
7425
|
+
Op as provideData,
|
|
7426
|
+
Np as provideDepends,
|
|
7427
|
+
Rp as provideDevice,
|
|
7428
|
+
Ep as provideEnv,
|
|
7429
|
+
xp as provideMode,
|
|
7383
7430
|
Qi as provideSandbox,
|
|
7384
|
-
|
|
7431
|
+
Tp as provideType,
|
|
7385
7432
|
Ul as spawnNode,
|
|
7386
7433
|
eo as startInterpreter,
|
|
7387
7434
|
$e as stopInterpreter
|