x-runtime-lib 0.6.1 → 0.6.3
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/index.d.ts +0 -1
- package/dist/{i18n-en-gfjc7opo.js → i18n-en-le0745p9.js} +1 -0
- package/dist/{i18n-zhHans-n1biwdnr.js → i18n-zhHans-d9x07647.js} +1 -0
- package/dist/index.js +858 -859
- package/package.json +1 -1
- package/dist/composables/element/common/echarts.d.ts +0 -4
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var xo = Object.defineProperty;
|
|
2
2
|
var To = (i, a, c) => a in i ? xo(i, a, { enumerable: !0, configurable: !0, writable: !0, value: c }) : i[a] = c;
|
|
3
3
|
var Zt = (i, a, c) => To(i, typeof a != "symbol" ? a + "" : a, c);
|
|
4
|
-
import { provide as _e, inject as ge, readonly as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { provide as _e, inject as ge, readonly as Rr, isReactive as ai, defineComponent as ie, computed as O, resolveComponent as oe, createBlock as Q, openBlock as G, withCtx as ee, renderSlot as Sr, createElementBlock as Ne, unref as Fe, createVNode as Z, onBeforeMount as Oo, onUnmounted as St, normalizeStyle as si, ref as Et, watchEffect as ui, watch as rr, h as J, createSlots as nr, renderList as No, isRef as wo, createCommentVNode as Po, useTemplateRef as Co, onMounted as ko } from "vue";
|
|
5
|
+
import { eventBus as Ue, messageInfo as Ao, messageSuccess as Io, messageWarning as Lo, messageError as Do, openConfirmDlg as Mo, openPromptDlg as jo, useViewStack as Fo, waitUtil as Uo } from "x-essential-lib";
|
|
6
|
+
import { useI18n as li } from "vue-i18n";
|
|
7
|
+
import { u as $o, r as ci, i as Bo, a as Vo, b as Go, c as Wo, d as Yo, e as zo, f as Xo } from "./echarts-d1cinmqx.js";
|
|
8
8
|
const _n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
9
9
|
function fi(i) {
|
|
10
10
|
let a = "";
|
|
11
11
|
for (let c = 0; c < i; c++) {
|
|
12
|
-
const
|
|
13
|
-
a += _n[
|
|
12
|
+
const y = Math.floor(Math.random() * _n.length);
|
|
13
|
+
a += _n[y];
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
}
|
|
@@ -43,24 +43,24 @@ function Qt(i) {
|
|
|
43
43
|
if (!isNaN(c))
|
|
44
44
|
return c;
|
|
45
45
|
}
|
|
46
|
-
var pi = typeof global == "object" && global && global.Object === Object && global,
|
|
47
|
-
function
|
|
48
|
-
var a =
|
|
46
|
+
var pi = typeof global == "object" && global && global.Object === Object && global, Ho = typeof self == "object" && self && self.Object === Object && self, se = pi || Ho || Function("return this")(), $e = se.Symbol, di = Object.prototype, Jo = di.hasOwnProperty, Ko = di.toString, Qe = $e ? $e.toStringTag : void 0;
|
|
47
|
+
function qo(i) {
|
|
48
|
+
var a = Jo.call(i, Qe), c = i[Qe];
|
|
49
49
|
try {
|
|
50
50
|
i[Qe] = void 0;
|
|
51
|
-
var
|
|
51
|
+
var y = !0;
|
|
52
52
|
} catch {
|
|
53
53
|
}
|
|
54
|
-
var m =
|
|
55
|
-
return
|
|
54
|
+
var m = Ko.call(i);
|
|
55
|
+
return y && (a ? i[Qe] = c : delete i[Qe]), m;
|
|
56
56
|
}
|
|
57
|
-
var
|
|
58
|
-
function
|
|
59
|
-
return
|
|
57
|
+
var Zo = Object.prototype, Qo = Zo.toString;
|
|
58
|
+
function ea(i) {
|
|
59
|
+
return Qo.call(i);
|
|
60
60
|
}
|
|
61
|
-
var
|
|
61
|
+
var ta = "[object Null]", ra = "[object Undefined]", gn = $e ? $e.toStringTag : void 0;
|
|
62
62
|
function nt(i) {
|
|
63
|
-
return i == null ? i === void 0 ?
|
|
63
|
+
return i == null ? i === void 0 ? ra : ta : gn && gn in Object(i) ? qo(i) : ea(i);
|
|
64
64
|
}
|
|
65
65
|
function it(i) {
|
|
66
66
|
return i != null && typeof i == "object";
|
|
@@ -70,25 +70,25 @@ function xt(i) {
|
|
|
70
70
|
var a = typeof i;
|
|
71
71
|
return i != null && (a == "object" || a == "function");
|
|
72
72
|
}
|
|
73
|
-
var
|
|
73
|
+
var na = "[object AsyncFunction]", ia = "[object Function]", oa = "[object GeneratorFunction]", aa = "[object Proxy]";
|
|
74
74
|
function hi(i) {
|
|
75
75
|
if (!xt(i))
|
|
76
76
|
return !1;
|
|
77
77
|
var a = nt(i);
|
|
78
|
-
return a ==
|
|
78
|
+
return a == ia || a == oa || a == na || a == aa;
|
|
79
79
|
}
|
|
80
80
|
var er = se["__core-js_shared__"], En = function() {
|
|
81
81
|
var i = /[^.]+$/.exec(er && er.keys && er.keys.IE_PROTO || "");
|
|
82
82
|
return i ? "Symbol(src)_1." + i : "";
|
|
83
83
|
}();
|
|
84
|
-
function
|
|
84
|
+
function sa(i) {
|
|
85
85
|
return !!En && En in i;
|
|
86
86
|
}
|
|
87
|
-
var
|
|
87
|
+
var ua = Function.prototype, la = ua.toString;
|
|
88
88
|
function we(i) {
|
|
89
89
|
if (i != null) {
|
|
90
90
|
try {
|
|
91
|
-
return
|
|
91
|
+
return la.call(i);
|
|
92
92
|
} catch {
|
|
93
93
|
}
|
|
94
94
|
try {
|
|
@@ -98,23 +98,23 @@ function we(i) {
|
|
|
98
98
|
}
|
|
99
99
|
return "";
|
|
100
100
|
}
|
|
101
|
-
var
|
|
102
|
-
"^" +
|
|
101
|
+
var ca = /[\\^$.*+?()[\]{}|]/g, fa = /^\[object .+?Constructor\]$/, pa = Function.prototype, da = Object.prototype, ha = pa.toString, ya = da.hasOwnProperty, ma = RegExp(
|
|
102
|
+
"^" + ha.call(ya).replace(ca, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
103
103
|
);
|
|
104
|
-
function
|
|
105
|
-
if (!xt(i) ||
|
|
104
|
+
function va(i) {
|
|
105
|
+
if (!xt(i) || sa(i))
|
|
106
106
|
return !1;
|
|
107
|
-
var a = hi(i) ?
|
|
107
|
+
var a = hi(i) ? ma : fa;
|
|
108
108
|
return a.test(we(i));
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function ba(i, a) {
|
|
111
111
|
return i == null ? void 0 : i[a];
|
|
112
112
|
}
|
|
113
113
|
function Pe(i, a) {
|
|
114
|
-
var c =
|
|
115
|
-
return
|
|
114
|
+
var c = ba(i, a);
|
|
115
|
+
return va(c) ? c : void 0;
|
|
116
116
|
}
|
|
117
|
-
var
|
|
117
|
+
var ir = Pe(se, "WeakMap"), Rn = Object.create, _a = /* @__PURE__ */ function() {
|
|
118
118
|
function i() {
|
|
119
119
|
}
|
|
120
120
|
return function(a) {
|
|
@@ -133,17 +133,17 @@ var nr = Pe(se, "WeakMap"), Rn = Object.create, ba = /* @__PURE__ */ function()
|
|
|
133
133
|
} catch {
|
|
134
134
|
}
|
|
135
135
|
}();
|
|
136
|
-
function
|
|
137
|
-
for (var c = -1,
|
|
136
|
+
function ga(i, a) {
|
|
137
|
+
for (var c = -1, y = i == null ? 0 : i.length; ++c < y && a(i[c], c, i) !== !1; )
|
|
138
138
|
;
|
|
139
139
|
return i;
|
|
140
140
|
}
|
|
141
|
-
var
|
|
142
|
-
function
|
|
141
|
+
var Ea = 9007199254740991, Ra = /^(?:0|[1-9]\d*)$/;
|
|
142
|
+
function Sa(i, a) {
|
|
143
143
|
var c = typeof i;
|
|
144
|
-
return a = a ??
|
|
144
|
+
return a = a ?? Ea, !!a && (c == "number" || c != "symbol" && Ra.test(i)) && i > -1 && i % 1 == 0 && i < a;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function xa(i, a, c) {
|
|
147
147
|
a == "__proto__" && Sn ? Sn(i, a, {
|
|
148
148
|
configurable: !0,
|
|
149
149
|
enumerable: !0,
|
|
@@ -154,44 +154,44 @@ function Sa(i, a, c) {
|
|
|
154
154
|
function yi(i, a) {
|
|
155
155
|
return i === a || i !== i && a !== a;
|
|
156
156
|
}
|
|
157
|
-
var
|
|
158
|
-
function
|
|
159
|
-
var
|
|
160
|
-
(!(
|
|
157
|
+
var Ta = Object.prototype, Oa = Ta.hasOwnProperty;
|
|
158
|
+
function Na(i, a, c) {
|
|
159
|
+
var y = i[a];
|
|
160
|
+
(!(Oa.call(i, a) && yi(y, c)) || c === void 0 && !(a in i)) && xa(i, a, c);
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var wa = 9007199254740991;
|
|
163
163
|
function mi(i) {
|
|
164
|
-
return typeof i == "number" && i > -1 && i % 1 == 0 && i <=
|
|
164
|
+
return typeof i == "number" && i > -1 && i % 1 == 0 && i <= wa;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Pa(i) {
|
|
167
167
|
return i != null && mi(i.length) && !hi(i);
|
|
168
168
|
}
|
|
169
|
-
var
|
|
169
|
+
var Ca = Object.prototype;
|
|
170
170
|
function vi(i) {
|
|
171
|
-
var a = i && i.constructor, c = typeof a == "function" && a.prototype ||
|
|
171
|
+
var a = i && i.constructor, c = typeof a == "function" && a.prototype || Ca;
|
|
172
172
|
return i === c;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
for (var c = -1,
|
|
176
|
-
|
|
177
|
-
return
|
|
174
|
+
function ka(i, a) {
|
|
175
|
+
for (var c = -1, y = Array(i); ++c < i; )
|
|
176
|
+
y[c] = a(c);
|
|
177
|
+
return y;
|
|
178
178
|
}
|
|
179
|
-
var
|
|
179
|
+
var Aa = "[object Arguments]";
|
|
180
180
|
function xn(i) {
|
|
181
|
-
return it(i) && nt(i) ==
|
|
181
|
+
return it(i) && nt(i) == Aa;
|
|
182
182
|
}
|
|
183
|
-
var bi = Object.prototype,
|
|
183
|
+
var bi = Object.prototype, Ia = bi.hasOwnProperty, La = bi.propertyIsEnumerable, Da = xn(/* @__PURE__ */ function() {
|
|
184
184
|
return arguments;
|
|
185
185
|
}()) ? xn : function(i) {
|
|
186
|
-
return it(i) &&
|
|
186
|
+
return it(i) && Ia.call(i, "callee") && !La.call(i, "callee");
|
|
187
187
|
};
|
|
188
|
-
function
|
|
188
|
+
function Ma() {
|
|
189
189
|
return !1;
|
|
190
190
|
}
|
|
191
|
-
var _i = typeof exports == "object" && exports && !exports.nodeType && exports, Tn = _i && typeof module == "object" && module && !module.nodeType && module,
|
|
192
|
-
F[
|
|
193
|
-
F[
|
|
194
|
-
function
|
|
191
|
+
var _i = typeof exports == "object" && exports && !exports.nodeType && exports, Tn = _i && typeof module == "object" && module && !module.nodeType && module, ja = Tn && Tn.exports === _i, On = ja ? se.Buffer : void 0, Fa = On ? On.isBuffer : void 0, gi = Fa || Ma, Ua = "[object Arguments]", $a = "[object Array]", Ba = "[object Boolean]", Va = "[object Date]", Ga = "[object Error]", Wa = "[object Function]", Ya = "[object Map]", za = "[object Number]", Xa = "[object Object]", Ha = "[object RegExp]", Ja = "[object Set]", Ka = "[object String]", qa = "[object WeakMap]", Za = "[object ArrayBuffer]", Qa = "[object DataView]", es = "[object Float32Array]", ts = "[object Float64Array]", rs = "[object Int8Array]", ns = "[object Int16Array]", is = "[object Int32Array]", os = "[object Uint8Array]", as = "[object Uint8ClampedArray]", ss = "[object Uint16Array]", us = "[object Uint32Array]", F = {};
|
|
192
|
+
F[es] = F[ts] = F[rs] = F[ns] = F[is] = F[os] = F[as] = F[ss] = F[us] = !0;
|
|
193
|
+
F[Ua] = F[$a] = F[Za] = F[Ba] = F[Qa] = F[Va] = F[Ga] = F[Wa] = F[Ya] = F[za] = F[Xa] = F[Ha] = F[Ja] = F[Ka] = F[qa] = !1;
|
|
194
|
+
function ls(i) {
|
|
195
195
|
return it(i) && mi(i.length) && !!F[nt(i)];
|
|
196
196
|
}
|
|
197
197
|
function wr(i) {
|
|
@@ -199,80 +199,80 @@ function wr(i) {
|
|
|
199
199
|
return i(a);
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
var Ei = typeof exports == "object" && exports && !exports.nodeType && exports, et = Ei && typeof module == "object" && module && !module.nodeType && module,
|
|
202
|
+
var Ei = typeof exports == "object" && exports && !exports.nodeType && exports, et = Ei && typeof module == "object" && module && !module.nodeType && module, cs = et && et.exports === Ei, tr = cs && pi.process, Be = function() {
|
|
203
203
|
try {
|
|
204
204
|
var i = et && et.require && et.require("util").types;
|
|
205
205
|
return i || tr && tr.binding && tr.binding("util");
|
|
206
206
|
} catch {
|
|
207
207
|
}
|
|
208
|
-
}(), Nn = Be && Be.isTypedArray,
|
|
209
|
-
function
|
|
210
|
-
var c = Nr(i),
|
|
208
|
+
}(), Nn = Be && Be.isTypedArray, fs = Nn ? wr(Nn) : ls, ps = Object.prototype, ds = ps.hasOwnProperty;
|
|
209
|
+
function hs(i, a) {
|
|
210
|
+
var c = Nr(i), y = !c && Da(i), m = !c && !y && gi(i), g = !c && !y && !m && fs(i), v = c || y || m || g, x = v ? ka(i.length, String) : [], S = x.length;
|
|
211
211
|
for (var r in i)
|
|
212
|
-
|
|
212
|
+
ds.call(i, r) && !(v && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
213
213
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
214
214
|
m && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
215
215
|
g && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
216
|
-
|
|
217
|
-
return
|
|
216
|
+
Sa(r, S))) && x.push(r);
|
|
217
|
+
return x;
|
|
218
218
|
}
|
|
219
219
|
function Ri(i, a) {
|
|
220
220
|
return function(c) {
|
|
221
221
|
return i(a(c));
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
function
|
|
224
|
+
var ys = Ri(Object.keys, Object), ms = Object.prototype, vs = ms.hasOwnProperty;
|
|
225
|
+
function bs(i) {
|
|
226
226
|
if (!vi(i))
|
|
227
|
-
return
|
|
227
|
+
return ys(i);
|
|
228
228
|
var a = [];
|
|
229
229
|
for (var c in Object(i))
|
|
230
|
-
|
|
230
|
+
vs.call(i, c) && c != "constructor" && a.push(c);
|
|
231
231
|
return a;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
return
|
|
233
|
+
function _s(i) {
|
|
234
|
+
return Pa(i) ? hs(i) : bs(i);
|
|
235
235
|
}
|
|
236
236
|
var tt = Pe(Object, "create");
|
|
237
|
-
function
|
|
237
|
+
function gs() {
|
|
238
238
|
this.__data__ = tt ? tt(null) : {}, this.size = 0;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Es(i) {
|
|
241
241
|
var a = this.has(i) && delete this.__data__[i];
|
|
242
242
|
return this.size -= a ? 1 : 0, a;
|
|
243
243
|
}
|
|
244
|
-
var
|
|
245
|
-
function
|
|
244
|
+
var Rs = "__lodash_hash_undefined__", Ss = Object.prototype, xs = Ss.hasOwnProperty;
|
|
245
|
+
function Ts(i) {
|
|
246
246
|
var a = this.__data__;
|
|
247
247
|
if (tt) {
|
|
248
248
|
var c = a[i];
|
|
249
|
-
return c ===
|
|
249
|
+
return c === Rs ? void 0 : c;
|
|
250
250
|
}
|
|
251
|
-
return
|
|
251
|
+
return xs.call(a, i) ? a[i] : void 0;
|
|
252
252
|
}
|
|
253
|
-
var
|
|
254
|
-
function
|
|
253
|
+
var Os = Object.prototype, Ns = Os.hasOwnProperty;
|
|
254
|
+
function ws(i) {
|
|
255
255
|
var a = this.__data__;
|
|
256
|
-
return tt ? a[i] !== void 0 :
|
|
256
|
+
return tt ? a[i] !== void 0 : Ns.call(a, i);
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
258
|
+
var Ps = "__lodash_hash_undefined__";
|
|
259
|
+
function Cs(i, a) {
|
|
260
260
|
var c = this.__data__;
|
|
261
|
-
return this.size += this.has(i) ? 0 : 1, c[i] = tt && a === void 0 ?
|
|
261
|
+
return this.size += this.has(i) ? 0 : 1, c[i] = tt && a === void 0 ? Ps : a, this;
|
|
262
262
|
}
|
|
263
263
|
function Te(i) {
|
|
264
264
|
var a = -1, c = i == null ? 0 : i.length;
|
|
265
265
|
for (this.clear(); ++a < c; ) {
|
|
266
|
-
var
|
|
267
|
-
this.set(
|
|
266
|
+
var y = i[a];
|
|
267
|
+
this.set(y[0], y[1]);
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
Te.prototype.clear =
|
|
271
|
-
Te.prototype.delete =
|
|
272
|
-
Te.prototype.get =
|
|
273
|
-
Te.prototype.has =
|
|
274
|
-
Te.prototype.set =
|
|
275
|
-
function
|
|
270
|
+
Te.prototype.clear = gs;
|
|
271
|
+
Te.prototype.delete = Es;
|
|
272
|
+
Te.prototype.get = Ts;
|
|
273
|
+
Te.prototype.has = ws;
|
|
274
|
+
Te.prototype.set = Cs;
|
|
275
|
+
function ks() {
|
|
276
276
|
this.__data__ = [], this.size = 0;
|
|
277
277
|
}
|
|
278
278
|
function Tt(i, a) {
|
|
@@ -281,106 +281,106 @@ function Tt(i, a) {
|
|
|
281
281
|
return c;
|
|
282
282
|
return -1;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
285
|
-
function
|
|
284
|
+
var As = Array.prototype, Is = As.splice;
|
|
285
|
+
function Ls(i) {
|
|
286
286
|
var a = this.__data__, c = Tt(a, i);
|
|
287
287
|
if (c < 0)
|
|
288
288
|
return !1;
|
|
289
|
-
var
|
|
290
|
-
return c ==
|
|
289
|
+
var y = a.length - 1;
|
|
290
|
+
return c == y ? a.pop() : Is.call(a, c, 1), --this.size, !0;
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function Ds(i) {
|
|
293
293
|
var a = this.__data__, c = Tt(a, i);
|
|
294
294
|
return c < 0 ? void 0 : a[c][1];
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Ms(i) {
|
|
297
297
|
return Tt(this.__data__, i) > -1;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
var c = this.__data__,
|
|
301
|
-
return
|
|
299
|
+
function js(i, a) {
|
|
300
|
+
var c = this.__data__, y = Tt(c, i);
|
|
301
|
+
return y < 0 ? (++this.size, c.push([i, a])) : c[y][1] = a, this;
|
|
302
302
|
}
|
|
303
303
|
function he(i) {
|
|
304
304
|
var a = -1, c = i == null ? 0 : i.length;
|
|
305
305
|
for (this.clear(); ++a < c; ) {
|
|
306
|
-
var
|
|
307
|
-
this.set(
|
|
306
|
+
var y = i[a];
|
|
307
|
+
this.set(y[0], y[1]);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
he.prototype.clear =
|
|
311
|
-
he.prototype.delete =
|
|
312
|
-
he.prototype.get =
|
|
313
|
-
he.prototype.has =
|
|
314
|
-
he.prototype.set =
|
|
310
|
+
he.prototype.clear = ks;
|
|
311
|
+
he.prototype.delete = Ls;
|
|
312
|
+
he.prototype.get = Ds;
|
|
313
|
+
he.prototype.has = Ms;
|
|
314
|
+
he.prototype.set = js;
|
|
315
315
|
var rt = Pe(se, "Map");
|
|
316
|
-
function
|
|
316
|
+
function Fs() {
|
|
317
317
|
this.size = 0, this.__data__ = {
|
|
318
318
|
hash: new Te(),
|
|
319
319
|
map: new (rt || he)(),
|
|
320
320
|
string: new Te()
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function Us(i) {
|
|
324
324
|
var a = typeof i;
|
|
325
325
|
return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? i !== "__proto__" : i === null;
|
|
326
326
|
}
|
|
327
327
|
function Ot(i, a) {
|
|
328
328
|
var c = i.__data__;
|
|
329
|
-
return
|
|
329
|
+
return Us(a) ? c[typeof a == "string" ? "string" : "hash"] : c.map;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function $s(i) {
|
|
332
332
|
var a = Ot(this, i).delete(i);
|
|
333
333
|
return this.size -= a ? 1 : 0, a;
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Bs(i) {
|
|
336
336
|
return Ot(this, i).get(i);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function Vs(i) {
|
|
339
339
|
return Ot(this, i).has(i);
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
var c = Ot(this, i),
|
|
343
|
-
return c.set(i, a), this.size += c.size ==
|
|
341
|
+
function Gs(i, a) {
|
|
342
|
+
var c = Ot(this, i), y = c.size;
|
|
343
|
+
return c.set(i, a), this.size += c.size == y ? 0 : 1, this;
|
|
344
344
|
}
|
|
345
345
|
function Ve(i) {
|
|
346
346
|
var a = -1, c = i == null ? 0 : i.length;
|
|
347
347
|
for (this.clear(); ++a < c; ) {
|
|
348
|
-
var
|
|
349
|
-
this.set(
|
|
348
|
+
var y = i[a];
|
|
349
|
+
this.set(y[0], y[1]);
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
Ve.prototype.clear =
|
|
353
|
-
Ve.prototype.delete =
|
|
354
|
-
Ve.prototype.get =
|
|
355
|
-
Ve.prototype.has =
|
|
356
|
-
Ve.prototype.set =
|
|
357
|
-
function
|
|
358
|
-
for (var c = -1,
|
|
352
|
+
Ve.prototype.clear = Fs;
|
|
353
|
+
Ve.prototype.delete = $s;
|
|
354
|
+
Ve.prototype.get = Bs;
|
|
355
|
+
Ve.prototype.has = Vs;
|
|
356
|
+
Ve.prototype.set = Gs;
|
|
357
|
+
function Ws(i, a) {
|
|
358
|
+
for (var c = -1, y = a.length, m = i.length; ++c < y; )
|
|
359
359
|
i[m + c] = a[c];
|
|
360
360
|
return i;
|
|
361
361
|
}
|
|
362
|
-
var
|
|
363
|
-
function
|
|
362
|
+
var Ys = Ri(Object.getPrototypeOf, Object);
|
|
363
|
+
function zs() {
|
|
364
364
|
this.__data__ = new he(), this.size = 0;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Xs(i) {
|
|
367
367
|
var a = this.__data__, c = a.delete(i);
|
|
368
368
|
return this.size = a.size, c;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Hs(i) {
|
|
371
371
|
return this.__data__.get(i);
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Js(i) {
|
|
374
374
|
return this.__data__.has(i);
|
|
375
375
|
}
|
|
376
|
-
var
|
|
377
|
-
function
|
|
376
|
+
var Ks = 200;
|
|
377
|
+
function qs(i, a) {
|
|
378
378
|
var c = this.__data__;
|
|
379
379
|
if (c instanceof he) {
|
|
380
|
-
var
|
|
381
|
-
if (!rt ||
|
|
382
|
-
return
|
|
383
|
-
c = this.__data__ = new Ve(
|
|
380
|
+
var y = c.__data__;
|
|
381
|
+
if (!rt || y.length < Ks - 1)
|
|
382
|
+
return y.push([i, a]), this.size = ++c.size, this;
|
|
383
|
+
c = this.__data__ = new Ve(y);
|
|
384
384
|
}
|
|
385
385
|
return c.set(i, a), this.size = c.size, this;
|
|
386
386
|
}
|
|
@@ -388,95 +388,94 @@ function Ge(i) {
|
|
|
388
388
|
var a = this.__data__ = new he(i);
|
|
389
389
|
this.size = a.size;
|
|
390
390
|
}
|
|
391
|
-
Ge.prototype.clear =
|
|
392
|
-
Ge.prototype.delete =
|
|
393
|
-
Ge.prototype.get =
|
|
394
|
-
Ge.prototype.has =
|
|
395
|
-
Ge.prototype.set =
|
|
396
|
-
var Si = typeof exports == "object" && exports && !exports.nodeType && exports, wn = Si && typeof module == "object" && module && !module.nodeType && module,
|
|
391
|
+
Ge.prototype.clear = zs;
|
|
392
|
+
Ge.prototype.delete = Xs;
|
|
393
|
+
Ge.prototype.get = Hs;
|
|
394
|
+
Ge.prototype.has = Js;
|
|
395
|
+
Ge.prototype.set = qs;
|
|
396
|
+
var Si = typeof exports == "object" && exports && !exports.nodeType && exports, wn = Si && typeof module == "object" && module && !module.nodeType && module, Zs = wn && wn.exports === Si, Pn = Zs ? se.Buffer : void 0;
|
|
397
397
|
Pn && Pn.allocUnsafe;
|
|
398
|
-
function
|
|
398
|
+
function Qs(i, a) {
|
|
399
399
|
return i.slice();
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
for (var c = -1,
|
|
401
|
+
function eu(i, a) {
|
|
402
|
+
for (var c = -1, y = i == null ? 0 : i.length, m = 0, g = []; ++c < y; ) {
|
|
403
403
|
var v = i[c];
|
|
404
404
|
a(v, c, i) && (g[m++] = v);
|
|
405
405
|
}
|
|
406
406
|
return g;
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function tu() {
|
|
409
409
|
return [];
|
|
410
410
|
}
|
|
411
|
-
var
|
|
412
|
-
return i == null ? [] : (i = Object(i),
|
|
413
|
-
return
|
|
411
|
+
var ru = Object.prototype, nu = ru.propertyIsEnumerable, Cn = Object.getOwnPropertySymbols, iu = Cn ? function(i) {
|
|
412
|
+
return i == null ? [] : (i = Object(i), eu(Cn(i), function(a) {
|
|
413
|
+
return nu.call(i, a);
|
|
414
414
|
}));
|
|
415
|
-
} :
|
|
416
|
-
function
|
|
417
|
-
var
|
|
418
|
-
return Nr(i) ?
|
|
419
|
-
}
|
|
420
|
-
function
|
|
421
|
-
return
|
|
422
|
-
}
|
|
423
|
-
var
|
|
424
|
-
(
|
|
425
|
-
var a = nt(i), c = a ==
|
|
426
|
-
if (
|
|
427
|
-
switch (
|
|
428
|
-
case su:
|
|
429
|
-
return Dn;
|
|
415
|
+
} : tu;
|
|
416
|
+
function ou(i, a, c) {
|
|
417
|
+
var y = a(i);
|
|
418
|
+
return Nr(i) ? y : Ws(y, c(i));
|
|
419
|
+
}
|
|
420
|
+
function au(i) {
|
|
421
|
+
return ou(i, _s, iu);
|
|
422
|
+
}
|
|
423
|
+
var or = Pe(se, "DataView"), ar = Pe(se, "Promise"), sr = Pe(se, "Set"), kn = "[object Map]", su = "[object Object]", An = "[object Promise]", In = "[object Set]", Ln = "[object WeakMap]", Dn = "[object DataView]", uu = we(or), lu = we(rt), cu = we(ar), fu = we(sr), pu = we(ir), de = nt;
|
|
424
|
+
(or && de(new or(new ArrayBuffer(1))) != Dn || rt && de(new rt()) != kn || ar && de(ar.resolve()) != An || sr && de(new sr()) != In || ir && de(new ir()) != Ln) && (de = function(i) {
|
|
425
|
+
var a = nt(i), c = a == su ? i.constructor : void 0, y = c ? we(c) : "";
|
|
426
|
+
if (y)
|
|
427
|
+
switch (y) {
|
|
430
428
|
case uu:
|
|
431
|
-
return
|
|
429
|
+
return Dn;
|
|
432
430
|
case lu:
|
|
433
|
-
return
|
|
431
|
+
return kn;
|
|
434
432
|
case cu:
|
|
435
|
-
return
|
|
433
|
+
return An;
|
|
436
434
|
case fu:
|
|
435
|
+
return In;
|
|
436
|
+
case pu:
|
|
437
437
|
return Ln;
|
|
438
438
|
}
|
|
439
439
|
return a;
|
|
440
440
|
});
|
|
441
|
-
var
|
|
442
|
-
function
|
|
441
|
+
var du = Object.prototype, hu = du.hasOwnProperty;
|
|
442
|
+
function yu(i) {
|
|
443
443
|
var a = i.length, c = new i.constructor(a);
|
|
444
|
-
return a && typeof i[0] == "string" &&
|
|
444
|
+
return a && typeof i[0] == "string" && hu.call(i, "index") && (c.index = i.index, c.input = i.input), c;
|
|
445
445
|
}
|
|
446
446
|
var Mn = se.Uint8Array;
|
|
447
447
|
function Pr(i) {
|
|
448
448
|
var a = new i.constructor(i.byteLength);
|
|
449
449
|
return new Mn(a).set(new Mn(i)), a;
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function mu(i, a) {
|
|
452
452
|
var c = Pr(i.buffer);
|
|
453
453
|
return new i.constructor(c, i.byteOffset, i.byteLength);
|
|
454
454
|
}
|
|
455
|
-
var
|
|
456
|
-
function
|
|
457
|
-
var a = new i.constructor(i.source,
|
|
455
|
+
var vu = /\w*$/;
|
|
456
|
+
function bu(i) {
|
|
457
|
+
var a = new i.constructor(i.source, vu.exec(i));
|
|
458
458
|
return a.lastIndex = i.lastIndex, a;
|
|
459
459
|
}
|
|
460
460
|
var jn = $e ? $e.prototype : void 0, Fn = jn ? jn.valueOf : void 0;
|
|
461
|
-
function
|
|
461
|
+
function _u(i) {
|
|
462
462
|
return Fn ? Object(Fn.call(i)) : {};
|
|
463
463
|
}
|
|
464
|
-
function
|
|
464
|
+
function gu(i, a) {
|
|
465
465
|
var c = Pr(i.buffer);
|
|
466
466
|
return new i.constructor(c, i.byteOffset, i.length);
|
|
467
467
|
}
|
|
468
|
-
var
|
|
469
|
-
function
|
|
470
|
-
var
|
|
468
|
+
var Eu = "[object Boolean]", Ru = "[object Date]", Su = "[object Map]", xu = "[object Number]", Tu = "[object RegExp]", Ou = "[object Set]", Nu = "[object String]", wu = "[object Symbol]", Pu = "[object ArrayBuffer]", Cu = "[object DataView]", ku = "[object Float32Array]", Au = "[object Float64Array]", Iu = "[object Int8Array]", Lu = "[object Int16Array]", Du = "[object Int32Array]", Mu = "[object Uint8Array]", ju = "[object Uint8ClampedArray]", Fu = "[object Uint16Array]", Uu = "[object Uint32Array]";
|
|
469
|
+
function $u(i, a, c) {
|
|
470
|
+
var y = i.constructor;
|
|
471
471
|
switch (a) {
|
|
472
|
-
case
|
|
472
|
+
case Pu:
|
|
473
473
|
return Pr(i);
|
|
474
|
-
case gu:
|
|
475
474
|
case Eu:
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
return yu(i);
|
|
475
|
+
case Ru:
|
|
476
|
+
return new y(+i);
|
|
479
477
|
case Cu:
|
|
478
|
+
return mu(i);
|
|
480
479
|
case ku:
|
|
481
480
|
case Au:
|
|
482
481
|
case Iu:
|
|
@@ -485,74 +484,75 @@ function Uu(i, a, c) {
|
|
|
485
484
|
case Mu:
|
|
486
485
|
case ju:
|
|
487
486
|
case Fu:
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
return new h();
|
|
487
|
+
case Uu:
|
|
488
|
+
return gu(i);
|
|
491
489
|
case Su:
|
|
492
|
-
|
|
493
|
-
return new h(i);
|
|
490
|
+
return new y();
|
|
494
491
|
case xu:
|
|
495
|
-
return vu(i);
|
|
496
|
-
case Tu:
|
|
497
|
-
return new h();
|
|
498
492
|
case Nu:
|
|
493
|
+
return new y(i);
|
|
494
|
+
case Tu:
|
|
499
495
|
return bu(i);
|
|
496
|
+
case Ou:
|
|
497
|
+
return new y();
|
|
498
|
+
case wu:
|
|
499
|
+
return _u(i);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
503
|
-
return typeof i.constructor == "function" && !vi(i) ?
|
|
502
|
+
function Bu(i) {
|
|
503
|
+
return typeof i.constructor == "function" && !vi(i) ? _a(Ys(i)) : {};
|
|
504
504
|
}
|
|
505
|
-
var
|
|
506
|
-
function
|
|
507
|
-
return it(i) && de(i) ==
|
|
505
|
+
var Vu = "[object Map]";
|
|
506
|
+
function Gu(i) {
|
|
507
|
+
return it(i) && de(i) == Vu;
|
|
508
508
|
}
|
|
509
|
-
var Un = Be && Be.isMap,
|
|
510
|
-
function
|
|
511
|
-
return it(i) && de(i) ==
|
|
509
|
+
var Un = Be && Be.isMap, Wu = Un ? wr(Un) : Gu, Yu = "[object Set]";
|
|
510
|
+
function zu(i) {
|
|
511
|
+
return it(i) && de(i) == Yu;
|
|
512
512
|
}
|
|
513
|
-
var $n = Be && Be.isSet,
|
|
514
|
-
j[xi] = j[
|
|
515
|
-
j[
|
|
516
|
-
function bt(i, a, c,
|
|
513
|
+
var $n = Be && Be.isSet, Xu = $n ? wr($n) : zu, xi = "[object Arguments]", Hu = "[object Array]", Ju = "[object Boolean]", Ku = "[object Date]", qu = "[object Error]", Ti = "[object Function]", Zu = "[object GeneratorFunction]", Qu = "[object Map]", el = "[object Number]", Oi = "[object Object]", tl = "[object RegExp]", rl = "[object Set]", nl = "[object String]", il = "[object Symbol]", ol = "[object WeakMap]", al = "[object ArrayBuffer]", sl = "[object DataView]", ul = "[object Float32Array]", ll = "[object Float64Array]", cl = "[object Int8Array]", fl = "[object Int16Array]", pl = "[object Int32Array]", dl = "[object Uint8Array]", hl = "[object Uint8ClampedArray]", yl = "[object Uint16Array]", ml = "[object Uint32Array]", j = {};
|
|
514
|
+
j[xi] = j[Hu] = j[al] = j[sl] = j[Ju] = j[Ku] = j[ul] = j[ll] = j[cl] = j[fl] = j[pl] = j[Qu] = j[el] = j[Oi] = j[tl] = j[rl] = j[nl] = j[il] = j[dl] = j[hl] = j[yl] = j[ml] = !0;
|
|
515
|
+
j[qu] = j[Ti] = j[ol] = !1;
|
|
516
|
+
function bt(i, a, c, y, m, g) {
|
|
517
517
|
var v;
|
|
518
518
|
if (v !== void 0)
|
|
519
519
|
return v;
|
|
520
520
|
if (!xt(i))
|
|
521
521
|
return i;
|
|
522
|
-
var
|
|
523
|
-
if (
|
|
524
|
-
v =
|
|
522
|
+
var x = Nr(i);
|
|
523
|
+
if (x)
|
|
524
|
+
v = yu(i);
|
|
525
525
|
else {
|
|
526
|
-
var S = de(i), r = S == Ti || S ==
|
|
526
|
+
var S = de(i), r = S == Ti || S == Zu;
|
|
527
527
|
if (gi(i))
|
|
528
|
-
return
|
|
528
|
+
return Qs(i);
|
|
529
529
|
if (S == Oi || S == xi || r && !m)
|
|
530
|
-
v = r ? {} :
|
|
530
|
+
v = r ? {} : Bu(i);
|
|
531
531
|
else {
|
|
532
532
|
if (!j[S])
|
|
533
533
|
return m ? i : {};
|
|
534
|
-
v =
|
|
534
|
+
v = $u(i, S);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
g || (g = new Ge());
|
|
538
538
|
var t = g.get(i);
|
|
539
539
|
if (t)
|
|
540
540
|
return t;
|
|
541
|
-
g.set(i, v),
|
|
541
|
+
g.set(i, v), Xu(i) ? i.forEach(function(u) {
|
|
542
542
|
v.add(bt(u, a, c, u, i, g));
|
|
543
|
-
}) :
|
|
543
|
+
}) : Wu(i) && i.forEach(function(u, s) {
|
|
544
544
|
v.set(s, bt(u, a, c, s, i, g));
|
|
545
545
|
});
|
|
546
|
-
var e =
|
|
547
|
-
return
|
|
548
|
-
n && (s = u, u = i[s]),
|
|
546
|
+
var e = au, n = x ? void 0 : e(i);
|
|
547
|
+
return ga(n || i, function(u, s) {
|
|
548
|
+
n && (s = u, u = i[s]), Na(v, s, bt(u, a, c, s, i, g));
|
|
549
549
|
}), v;
|
|
550
550
|
}
|
|
551
|
-
var
|
|
551
|
+
var vl = 1, bl = 4;
|
|
552
552
|
function be(i) {
|
|
553
|
-
return bt(i,
|
|
553
|
+
return bt(i, vl | bl);
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function _l(i, a) {
|
|
556
556
|
if (i === "page") {
|
|
557
557
|
if (a == "common")
|
|
558
558
|
return "pageCommon";
|
|
@@ -568,26 +568,26 @@ function Bn(i, a) {
|
|
|
568
568
|
return i.array ? be(a ? i.default : i.defaultArray) : be(i.default);
|
|
569
569
|
}
|
|
570
570
|
function Vn(i, a) {
|
|
571
|
-
function c(
|
|
571
|
+
function c(y, m) {
|
|
572
572
|
if (m.ui) {
|
|
573
573
|
if (m.ui === "strInput" && m.static)
|
|
574
574
|
return;
|
|
575
|
-
|
|
575
|
+
y[m.key] = Bn(m);
|
|
576
576
|
} else
|
|
577
|
-
m.array ?
|
|
578
|
-
|
|
577
|
+
m.array ? y[m.key] = Bn(m) : m.children.forEach((g) => {
|
|
578
|
+
y[m.key] || (y[m.key] = {}), c(y[m.key], g);
|
|
579
579
|
});
|
|
580
580
|
}
|
|
581
|
-
a.forEach((
|
|
581
|
+
a.forEach((y) => c(i, y));
|
|
582
582
|
}
|
|
583
|
-
function
|
|
584
|
-
const g = `type=${i} subtype=${a} version=${c} ref=${
|
|
583
|
+
function gl(i, a, c, y, m) {
|
|
584
|
+
const g = `type=${i} subtype=${a} version=${c} ref=${y} keyOrRefid=${m}`, v = _l(i, a);
|
|
585
585
|
if (!v) {
|
|
586
586
|
console.error(`spawnNode prop tag not found, ${g}`);
|
|
587
587
|
return;
|
|
588
588
|
}
|
|
589
|
-
const
|
|
590
|
-
if (!
|
|
589
|
+
const x = Ar[c];
|
|
590
|
+
if (!x) {
|
|
591
591
|
console.error(`spawnNode pkg not found version, ${g}`);
|
|
592
592
|
return;
|
|
593
593
|
}
|
|
@@ -597,9 +597,9 @@ function _l(i, a, c, h, m) {
|
|
|
597
597
|
key: ""
|
|
598
598
|
}
|
|
599
599
|
}, r = fi(16);
|
|
600
|
-
if (
|
|
601
|
-
const t =
|
|
602
|
-
if (!
|
|
600
|
+
if (y) {
|
|
601
|
+
const t = x.refKey, e = m;
|
|
602
|
+
if (!x.elements.has(t)) {
|
|
603
603
|
console.error(`spawnNode [ref] element not found in pkg, ${g}`);
|
|
604
604
|
return;
|
|
605
605
|
}
|
|
@@ -618,7 +618,7 @@ function _l(i, a, c, h, m) {
|
|
|
618
618
|
};
|
|
619
619
|
} else {
|
|
620
620
|
const t = m;
|
|
621
|
-
if (!
|
|
621
|
+
if (!x.elements.has(t)) {
|
|
622
622
|
console.error(`spawnNode [key] element not found in pkg, ${g}`);
|
|
623
623
|
return;
|
|
624
624
|
}
|
|
@@ -637,26 +637,26 @@ function _l(i, a, c, h, m) {
|
|
|
637
637
|
return S;
|
|
638
638
|
}
|
|
639
639
|
function ep(i, a) {
|
|
640
|
-
function c(
|
|
641
|
-
if (
|
|
642
|
-
return
|
|
643
|
-
if (
|
|
644
|
-
for (let m = 0; m <
|
|
645
|
-
const g = c(
|
|
640
|
+
function c(y) {
|
|
641
|
+
if (y.basic.id === a)
|
|
642
|
+
return y;
|
|
643
|
+
if (y.children)
|
|
644
|
+
for (let m = 0; m < y.children.length; m++) {
|
|
645
|
+
const g = c(y.children[m]);
|
|
646
646
|
if (g)
|
|
647
647
|
return g;
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
for (let
|
|
651
|
-
const m = c(i[
|
|
650
|
+
for (let y = 0; y < i.length; y++) {
|
|
651
|
+
const m = c(i[y]);
|
|
652
652
|
if (m)
|
|
653
653
|
return m;
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
-
function
|
|
657
|
-
function a(
|
|
656
|
+
function El(i) {
|
|
657
|
+
function a(y) {
|
|
658
658
|
var m;
|
|
659
|
-
|
|
659
|
+
y.basic.id = fi(16), (m = y.children) == null || m.forEach((g) => a(g));
|
|
660
660
|
}
|
|
661
661
|
const c = be(i);
|
|
662
662
|
return a(c), c;
|
|
@@ -664,7 +664,7 @@ function gl(i) {
|
|
|
664
664
|
function tp(i) {
|
|
665
665
|
const a = [];
|
|
666
666
|
return i.forEach((c) => {
|
|
667
|
-
a.push(
|
|
667
|
+
a.push(El(c));
|
|
668
668
|
}), a;
|
|
669
669
|
}
|
|
670
670
|
const Ni = "runtimeEnv", wi = "runtimeMode", Pi = "runtimeDevice", Ci = "runtimeDark", ki = "runtimeType", Ai = "runtimeData", Ii = "runtimeDepends", Li = "runtimeSandbox";
|
|
@@ -681,13 +681,13 @@ function ue() {
|
|
|
681
681
|
return ge(wi);
|
|
682
682
|
}
|
|
683
683
|
function ip(i) {
|
|
684
|
-
_e(Pi,
|
|
684
|
+
_e(Pi, Rr(i));
|
|
685
685
|
}
|
|
686
686
|
function Cr() {
|
|
687
687
|
return ge(Pi);
|
|
688
688
|
}
|
|
689
689
|
function op(i) {
|
|
690
|
-
_e(Ci,
|
|
690
|
+
_e(Ci, Rr(i));
|
|
691
691
|
}
|
|
692
692
|
function Ce() {
|
|
693
693
|
return ge(Ci);
|
|
@@ -705,7 +705,7 @@ function wt() {
|
|
|
705
705
|
return ge(Ai);
|
|
706
706
|
}
|
|
707
707
|
function up(i) {
|
|
708
|
-
console.assert(ai(i)), _e(Ii,
|
|
708
|
+
console.assert(ai(i)), _e(Ii, Rr(i));
|
|
709
709
|
}
|
|
710
710
|
function Mi() {
|
|
711
711
|
return ge(Ii);
|
|
@@ -713,23 +713,23 @@ function Mi() {
|
|
|
713
713
|
function ji(i) {
|
|
714
714
|
_e(Li, i);
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function Rl() {
|
|
717
717
|
return ge(Li);
|
|
718
718
|
}
|
|
719
|
-
const
|
|
719
|
+
const Sl = /* @__PURE__ */ ie({
|
|
720
720
|
__name: "index",
|
|
721
721
|
props: {
|
|
722
722
|
node: {},
|
|
723
723
|
outer: { type: Boolean }
|
|
724
724
|
},
|
|
725
725
|
setup(i) {
|
|
726
|
-
const a = i, c = ue(),
|
|
726
|
+
const a = i, c = ue(), y = Ce(), m = Rl(), g = O(() => {
|
|
727
727
|
var n;
|
|
728
728
|
return (n = a.node.settings) == null ? void 0 : n.text;
|
|
729
729
|
}), v = O(() => {
|
|
730
730
|
var n;
|
|
731
731
|
return (n = a.node.settings) == null ? void 0 : n.disabled;
|
|
732
|
-
}),
|
|
732
|
+
}), x = O(() => {
|
|
733
733
|
var n;
|
|
734
734
|
return (n = a.node.settings) == null ? void 0 : n.variant;
|
|
735
735
|
}), S = O(() => {
|
|
@@ -738,7 +738,7 @@ const Rl = /* @__PURE__ */ ie({
|
|
|
738
738
|
}), r = O(() => {
|
|
739
739
|
var n;
|
|
740
740
|
return (n = a.node.settings) == null ? void 0 : n.block;
|
|
741
|
-
}), t = O(() =>
|
|
741
|
+
}), t = O(() => y.value ? "dark" : "light"), e = () => {
|
|
742
742
|
if (c !== "runtime")
|
|
743
743
|
return;
|
|
744
744
|
const n = m.interpreter;
|
|
@@ -752,7 +752,7 @@ const Rl = /* @__PURE__ */ ie({
|
|
|
752
752
|
return G(), Q(s, {
|
|
753
753
|
text: g.value,
|
|
754
754
|
disabled: v.value,
|
|
755
|
-
variant:
|
|
755
|
+
variant: x.value,
|
|
756
756
|
density: S.value,
|
|
757
757
|
block: r.value,
|
|
758
758
|
theme: t.value,
|
|
@@ -760,12 +760,12 @@ const Rl = /* @__PURE__ */ ie({
|
|
|
760
760
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
|
-
}),
|
|
763
|
+
}), xl = [
|
|
764
764
|
{ title: "x-runtime-lib.default", value: "" },
|
|
765
765
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
766
766
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
767
767
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
768
|
-
],
|
|
768
|
+
], Tl = [
|
|
769
769
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
770
770
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
771
771
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
@@ -776,7 +776,7 @@ const Rl = /* @__PURE__ */ ie({
|
|
|
776
776
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
777
777
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
778
778
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
779
|
-
],
|
|
779
|
+
], ur = "bar_chart_v1", lr = "btn_v1", cr = "card_v1", fr = "chip_v1", pr = "combobox_v1", dr = "container_v1", hr = "data_table_v1", yr = "dialog_v1", mr = "globality_v1", vr = "number_input_v1", br = "rating_v1", _t = "ref_v1", _r = "select_v1", gr = "text_area_v1", Er = "text_field_v1", M = {
|
|
780
780
|
key: "basic",
|
|
781
781
|
name: "x-runtime-lib.basic",
|
|
782
782
|
children: [
|
|
@@ -821,7 +821,7 @@ const Rl = /* @__PURE__ */ ie({
|
|
|
821
821
|
key: "variant",
|
|
822
822
|
name: "x-runtime-lib.variant",
|
|
823
823
|
ui: "select",
|
|
824
|
-
items:
|
|
824
|
+
items: Tl,
|
|
825
825
|
default: "elevated"
|
|
826
826
|
},
|
|
827
827
|
{
|
|
@@ -838,10 +838,10 @@ const Rl = /* @__PURE__ */ ie({
|
|
|
838
838
|
default: !1
|
|
839
839
|
}
|
|
840
840
|
]
|
|
841
|
-
},
|
|
842
|
-
key:
|
|
841
|
+
}, Ol = {
|
|
842
|
+
key: lr,
|
|
843
843
|
name: "x-runtime-lib.button",
|
|
844
|
-
comp:
|
|
844
|
+
comp: Sl,
|
|
845
845
|
slots: [],
|
|
846
846
|
events: [
|
|
847
847
|
{
|
|
@@ -857,20 +857,20 @@ const Rl = /* @__PURE__ */ ie({
|
|
|
857
857
|
}
|
|
858
858
|
}, Pt = (i, a) => {
|
|
859
859
|
const c = i.__vccOpts || i;
|
|
860
|
-
for (const [
|
|
861
|
-
c[
|
|
860
|
+
for (const [y, m] of a)
|
|
861
|
+
c[y] = m;
|
|
862
862
|
return c;
|
|
863
|
-
},
|
|
864
|
-
function
|
|
863
|
+
}, Nl = {};
|
|
864
|
+
function wl(i, a) {
|
|
865
865
|
const c = oe("v-card");
|
|
866
866
|
return G(), Q(c, null, {
|
|
867
867
|
default: ee(() => [
|
|
868
|
-
|
|
868
|
+
Sr(i.$slots, "default")
|
|
869
869
|
]),
|
|
870
870
|
_: 3
|
|
871
871
|
});
|
|
872
872
|
}
|
|
873
|
-
const
|
|
873
|
+
const Pl = /* @__PURE__ */ Pt(Nl, [["render", wl]]), te = [
|
|
874
874
|
{
|
|
875
875
|
name: "x-runtime-lib.default",
|
|
876
876
|
ui: "word",
|
|
@@ -905,7 +905,7 @@ const wl = /* @__PURE__ */ Pt(Ol, [["render", Nl]]), te = [
|
|
|
905
905
|
key: "style",
|
|
906
906
|
name: "x-runtime-lib.style",
|
|
907
907
|
ui: "select",
|
|
908
|
-
items:
|
|
908
|
+
items: xl,
|
|
909
909
|
default: ""
|
|
910
910
|
},
|
|
911
911
|
{
|
|
@@ -1135,10 +1135,10 @@ const wl = /* @__PURE__ */ Pt(Ol, [["render", Nl]]), te = [
|
|
|
1135
1135
|
default: ""
|
|
1136
1136
|
}
|
|
1137
1137
|
]
|
|
1138
|
-
},
|
|
1139
|
-
key:
|
|
1138
|
+
}, Cl = {
|
|
1139
|
+
key: cr,
|
|
1140
1140
|
name: "x-runtime-lib.card",
|
|
1141
|
-
comp:
|
|
1141
|
+
comp: Pl,
|
|
1142
1142
|
slots: [
|
|
1143
1143
|
{
|
|
1144
1144
|
key: "default",
|
|
@@ -1151,15 +1151,15 @@ const wl = /* @__PURE__ */ Pt(Ol, [["render", Nl]]), te = [
|
|
|
1151
1151
|
pageCommon: [M],
|
|
1152
1152
|
compCommon: [M]
|
|
1153
1153
|
}
|
|
1154
|
-
},
|
|
1155
|
-
function
|
|
1154
|
+
}, kl = {};
|
|
1155
|
+
function Al(i, a) {
|
|
1156
1156
|
const c = oe("v-chip");
|
|
1157
1157
|
return G(), Q(c);
|
|
1158
1158
|
}
|
|
1159
|
-
const
|
|
1160
|
-
key:
|
|
1159
|
+
const Il = /* @__PURE__ */ Pt(kl, [["render", Al]]), Ll = {
|
|
1160
|
+
key: fr,
|
|
1161
1161
|
name: "x-runtime-lib.chip",
|
|
1162
|
-
comp:
|
|
1162
|
+
comp: Il,
|
|
1163
1163
|
slots: [],
|
|
1164
1164
|
events: [],
|
|
1165
1165
|
methods: [],
|
|
@@ -1167,14 +1167,14 @@ const Al = /* @__PURE__ */ Pt(Cl, [["render", kl]]), Il = {
|
|
|
1167
1167
|
pageCommon: [M],
|
|
1168
1168
|
compCommon: [M]
|
|
1169
1169
|
}
|
|
1170
|
-
},
|
|
1170
|
+
}, Dl = { key: 0 }, Ml = /* @__PURE__ */ ie({
|
|
1171
1171
|
__name: "index",
|
|
1172
1172
|
props: {
|
|
1173
1173
|
node: {},
|
|
1174
1174
|
outer: { type: Boolean }
|
|
1175
1175
|
},
|
|
1176
1176
|
setup(i) {
|
|
1177
|
-
const a = i, c = ue(),
|
|
1177
|
+
const a = i, c = ue(), y = Ce(), m = O(() => {
|
|
1178
1178
|
var e;
|
|
1179
1179
|
return (e = a.node.settings) == null ? void 0 : e.value;
|
|
1180
1180
|
}), g = O(() => {
|
|
@@ -1183,7 +1183,7 @@ const Al = /* @__PURE__ */ Pt(Cl, [["render", kl]]), Il = {
|
|
|
1183
1183
|
}), v = O(() => {
|
|
1184
1184
|
var e;
|
|
1185
1185
|
return (e = a.node.settings) == null ? void 0 : e.placeholder;
|
|
1186
|
-
}),
|
|
1186
|
+
}), x = O(() => {
|
|
1187
1187
|
var e;
|
|
1188
1188
|
return (e = a.node.settings) == null ? void 0 : e.hideDetails;
|
|
1189
1189
|
}), S = O(() => {
|
|
@@ -1192,15 +1192,15 @@ const Al = /* @__PURE__ */ Pt(Cl, [["render", kl]]), Il = {
|
|
|
1192
1192
|
}), r = O(() => {
|
|
1193
1193
|
var e;
|
|
1194
1194
|
return c !== "runtime" ? !0 : (e = a.node.settings) == null ? void 0 : e.readonly;
|
|
1195
|
-
}), t = O(() =>
|
|
1195
|
+
}), t = O(() => y.value ? "dark" : "light");
|
|
1196
1196
|
return (e, n) => {
|
|
1197
1197
|
const u = oe("v-combobox");
|
|
1198
|
-
return Fe(c) === "editor" ? (G(), Ne("div",
|
|
1198
|
+
return Fe(c) === "editor" ? (G(), Ne("div", Dl, [
|
|
1199
1199
|
Z(u, {
|
|
1200
1200
|
"model-value": m.value,
|
|
1201
1201
|
label: g.value,
|
|
1202
1202
|
placeholder: v.value,
|
|
1203
|
-
"hide-details":
|
|
1203
|
+
"hide-details": x.value,
|
|
1204
1204
|
"single-line": S.value,
|
|
1205
1205
|
readonly: r.value,
|
|
1206
1206
|
theme: t.value
|
|
@@ -1210,7 +1210,7 @@ const Al = /* @__PURE__ */ Pt(Cl, [["render", kl]]), Il = {
|
|
|
1210
1210
|
"model-value": m.value,
|
|
1211
1211
|
label: g.value,
|
|
1212
1212
|
placeholder: v.value,
|
|
1213
|
-
"hide-details":
|
|
1213
|
+
"hide-details": x.value,
|
|
1214
1214
|
"single-line": S.value,
|
|
1215
1215
|
readonly: r.value,
|
|
1216
1216
|
theme: t.value
|
|
@@ -1258,10 +1258,10 @@ const Al = /* @__PURE__ */ Pt(Cl, [["render", kl]]), Il = {
|
|
|
1258
1258
|
default: !1
|
|
1259
1259
|
}
|
|
1260
1260
|
]
|
|
1261
|
-
},
|
|
1262
|
-
key:
|
|
1261
|
+
}, jl = {
|
|
1262
|
+
key: pr,
|
|
1263
1263
|
name: "x-runtime-lib.combobox",
|
|
1264
|
-
comp:
|
|
1264
|
+
comp: Ml,
|
|
1265
1265
|
slots: [],
|
|
1266
1266
|
events: [],
|
|
1267
1267
|
methods: [],
|
|
@@ -1270,30 +1270,30 @@ const Al = /* @__PURE__ */ Pt(Cl, [["render", kl]]), Il = {
|
|
|
1270
1270
|
compCommon: [M, Xn]
|
|
1271
1271
|
}
|
|
1272
1272
|
};
|
|
1273
|
-
function
|
|
1273
|
+
function Fl(i) {
|
|
1274
1274
|
const a = O(() => {
|
|
1275
1275
|
var g;
|
|
1276
1276
|
return (g = i.node.border) == null ? void 0 : g.style;
|
|
1277
1277
|
}), c = O(() => {
|
|
1278
1278
|
var g;
|
|
1279
1279
|
return (g = i.node.border) == null ? void 0 : g.width;
|
|
1280
|
-
}),
|
|
1280
|
+
}), y = O(() => {
|
|
1281
1281
|
var g;
|
|
1282
1282
|
return (g = i.node.border) == null ? void 0 : g.color;
|
|
1283
1283
|
});
|
|
1284
1284
|
function m(g) {
|
|
1285
|
-
a.value && (g.borderStyle = a.value), c.value && (g.borderWidth = c.value),
|
|
1285
|
+
a.value && (g.borderStyle = a.value), c.value && (g.borderWidth = c.value), y.value && (g.borderColor = y.value);
|
|
1286
1286
|
}
|
|
1287
|
-
return { borderStyle: a, borderWidth: c, borderColor:
|
|
1287
|
+
return { borderStyle: a, borderWidth: c, borderColor: y, applyBorder: m };
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function Ul(i) {
|
|
1290
1290
|
const a = O(() => {
|
|
1291
1291
|
var v;
|
|
1292
1292
|
return (v = i.node.margin) == null ? void 0 : v.top;
|
|
1293
1293
|
}), c = O(() => {
|
|
1294
1294
|
var v;
|
|
1295
1295
|
return (v = i.node.margin) == null ? void 0 : v.left;
|
|
1296
|
-
}),
|
|
1296
|
+
}), y = O(() => {
|
|
1297
1297
|
var v;
|
|
1298
1298
|
return (v = i.node.margin) == null ? void 0 : v.bottom;
|
|
1299
1299
|
}), m = O(() => {
|
|
@@ -1301,18 +1301,18 @@ function Fl(i) {
|
|
|
1301
1301
|
return (v = i.node.margin) == null ? void 0 : v.right;
|
|
1302
1302
|
});
|
|
1303
1303
|
function g(v) {
|
|
1304
|
-
a.value && (v.marginTop = a.value), c.value && (v.marginLeft = c.value),
|
|
1304
|
+
a.value && (v.marginTop = a.value), c.value && (v.marginLeft = c.value), y.value && (v.marginBottom = y.value), m.value && (v.marginRight = m.value);
|
|
1305
1305
|
}
|
|
1306
|
-
return { marginTop: a, marginLeft: c, marginBottom:
|
|
1306
|
+
return { marginTop: a, marginLeft: c, marginBottom: y, marginRight: m, applyMargin: g };
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function $l(i) {
|
|
1309
1309
|
const a = O(() => {
|
|
1310
1310
|
var v;
|
|
1311
1311
|
return (v = i.node.padding) == null ? void 0 : v.top;
|
|
1312
1312
|
}), c = O(() => {
|
|
1313
1313
|
var v;
|
|
1314
1314
|
return (v = i.node.padding) == null ? void 0 : v.left;
|
|
1315
|
-
}),
|
|
1315
|
+
}), y = O(() => {
|
|
1316
1316
|
var v;
|
|
1317
1317
|
return (v = i.node.padding) == null ? void 0 : v.bottom;
|
|
1318
1318
|
}), m = O(() => {
|
|
@@ -1320,12 +1320,12 @@ function Ul(i) {
|
|
|
1320
1320
|
return (v = i.node.padding) == null ? void 0 : v.right;
|
|
1321
1321
|
});
|
|
1322
1322
|
function g(v) {
|
|
1323
|
-
a.value && (v.paddingTop = a.value), c.value && (v.paddingLeft = c.value),
|
|
1323
|
+
a.value && (v.paddingTop = a.value), c.value && (v.paddingLeft = c.value), y.value && (v.paddingBottom = y.value), m.value && (v.paddingRight = m.value);
|
|
1324
1324
|
}
|
|
1325
|
-
return { paddingTop: a, paddingLeft: c, paddingBottom:
|
|
1325
|
+
return { paddingTop: a, paddingLeft: c, paddingBottom: y, paddingRight: m, applyPadding: g };
|
|
1326
1326
|
}
|
|
1327
1327
|
function kr(i, a, c) {
|
|
1328
|
-
const
|
|
1328
|
+
const y = O(() => {
|
|
1329
1329
|
var t;
|
|
1330
1330
|
return (t = c.node.size) == null ? void 0 : t.width;
|
|
1331
1331
|
}), m = O(() => {
|
|
@@ -1342,7 +1342,7 @@ function kr(i, a, c) {
|
|
|
1342
1342
|
return n / 100 * a.value.height + "px";
|
|
1343
1343
|
}
|
|
1344
1344
|
return (e = c.node.size) == null ? void 0 : e.height;
|
|
1345
|
-
}),
|
|
1345
|
+
}), x = O(() => {
|
|
1346
1346
|
var t, e;
|
|
1347
1347
|
if (c.outer && i === "editor") {
|
|
1348
1348
|
const n = Qt((t = c.node.size) == null ? void 0 : t.minHeight);
|
|
@@ -1360,11 +1360,11 @@ function kr(i, a, c) {
|
|
|
1360
1360
|
return (e = c.node.size) == null ? void 0 : e.maxHeight;
|
|
1361
1361
|
});
|
|
1362
1362
|
function r(t) {
|
|
1363
|
-
|
|
1363
|
+
y.value && (t.width = y.value), m.value && (t.minWidth = m.value), g.value && (t.maxWidth = g.value), v.value && (t.height = v.value), x.value && (t.minHeight = x.value), S.value && (t.maxHeight = S.value);
|
|
1364
1364
|
}
|
|
1365
|
-
return { width:
|
|
1365
|
+
return { width: y, minWidth: m, maxWidth: g, height: v, minHeight: x, maxHeight: S, applySize: r };
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function Bl(i) {
|
|
1368
1368
|
const a = O(() => {
|
|
1369
1369
|
var m;
|
|
1370
1370
|
return (m = i.node.legend) == null ? void 0 : m.show;
|
|
@@ -1372,22 +1372,22 @@ function $l(i) {
|
|
|
1372
1372
|
var m;
|
|
1373
1373
|
return (m = i.node.legend) == null ? void 0 : m.data;
|
|
1374
1374
|
});
|
|
1375
|
-
function
|
|
1375
|
+
function y(m) {
|
|
1376
1376
|
m.legend = {
|
|
1377
1377
|
show: a.value,
|
|
1378
1378
|
data: c.value
|
|
1379
1379
|
};
|
|
1380
1380
|
}
|
|
1381
|
-
return { show: a, data: c, applyLegend:
|
|
1381
|
+
return { show: a, data: c, applyLegend: y };
|
|
1382
1382
|
}
|
|
1383
|
-
function
|
|
1383
|
+
function Vl(i) {
|
|
1384
1384
|
const a = O(() => {
|
|
1385
1385
|
var g;
|
|
1386
1386
|
return (g = i.node.title) == null ? void 0 : g.show;
|
|
1387
1387
|
}), c = O(() => {
|
|
1388
1388
|
var g;
|
|
1389
1389
|
return (g = i.node.title) == null ? void 0 : g.text;
|
|
1390
|
-
}),
|
|
1390
|
+
}), y = O(() => {
|
|
1391
1391
|
var g;
|
|
1392
1392
|
return (g = i.node.title) == null ? void 0 : g.subtext;
|
|
1393
1393
|
});
|
|
@@ -1395,131 +1395,44 @@ function Bl(i) {
|
|
|
1395
1395
|
g.title = {
|
|
1396
1396
|
show: a.value,
|
|
1397
1397
|
text: c.value,
|
|
1398
|
-
subtext:
|
|
1398
|
+
subtext: y.value
|
|
1399
1399
|
};
|
|
1400
1400
|
}
|
|
1401
|
-
return { show: a, text: c, subtext:
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
title: Yl,
|
|
1408
|
-
line: zl,
|
|
1409
|
-
radar: Xl,
|
|
1410
|
-
bar: Hl,
|
|
1411
|
-
pie: Jl,
|
|
1412
|
-
scatter: Kl,
|
|
1413
|
-
boxplot: ql,
|
|
1414
|
-
parallel: Zl,
|
|
1415
|
-
sankey: Ql,
|
|
1416
|
-
funnel: ec,
|
|
1417
|
-
gauge: tc,
|
|
1418
|
-
candlestick: rc,
|
|
1419
|
-
graph: nc,
|
|
1420
|
-
map: ic,
|
|
1421
|
-
geo: oc,
|
|
1422
|
-
categoryAxis: ac,
|
|
1423
|
-
valueAxis: sc,
|
|
1424
|
-
logAxis: uc,
|
|
1425
|
-
timeAxis: lc,
|
|
1426
|
-
toolbox: cc,
|
|
1427
|
-
legend: fc,
|
|
1428
|
-
tooltip: pc,
|
|
1429
|
-
timeline: dc,
|
|
1430
|
-
visualMap: hc,
|
|
1431
|
-
dataZoom: yc,
|
|
1432
|
-
markPoint: mc
|
|
1433
|
-
}, bc = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], _c = "#eeeeee", gc = {}, Ec = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Rc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Sc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, xc = { 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" } }, Cc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, kc = { 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"] } } }, 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"] } } }, 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"] } } }, $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 = {
|
|
1434
|
-
color: bc,
|
|
1435
|
-
backgroundColor: _c,
|
|
1436
|
-
textStyle: gc,
|
|
1437
|
-
title: Ec,
|
|
1438
|
-
line: Rc,
|
|
1439
|
-
radar: Sc,
|
|
1440
|
-
bar: xc,
|
|
1441
|
-
pie: Tc,
|
|
1442
|
-
scatter: Oc,
|
|
1443
|
-
boxplot: Nc,
|
|
1444
|
-
parallel: wc,
|
|
1445
|
-
sankey: Pc,
|
|
1446
|
-
funnel: Cc,
|
|
1447
|
-
gauge: kc,
|
|
1448
|
-
candlestick: Ac,
|
|
1449
|
-
graph: Ic,
|
|
1450
|
-
map: Lc,
|
|
1451
|
-
geo: Dc,
|
|
1452
|
-
categoryAxis: Mc,
|
|
1453
|
-
valueAxis: jc,
|
|
1454
|
-
logAxis: Fc,
|
|
1455
|
-
timeAxis: Uc,
|
|
1456
|
-
toolbox: $c,
|
|
1457
|
-
legend: Bc,
|
|
1458
|
-
tooltip: Vc,
|
|
1459
|
-
timeline: Gc,
|
|
1460
|
-
visualMap: Wc,
|
|
1461
|
-
dataZoom: Yc,
|
|
1462
|
-
markPoint: zc
|
|
1463
|
-
};
|
|
1464
|
-
Ao([
|
|
1465
|
-
Io,
|
|
1466
|
-
Lo,
|
|
1467
|
-
Do,
|
|
1468
|
-
Mo,
|
|
1469
|
-
jo,
|
|
1470
|
-
Fo
|
|
1471
|
-
]);
|
|
1472
|
-
li("dark", vc);
|
|
1473
|
-
li("light", Xc);
|
|
1474
|
-
function Hc(i, a, c) {
|
|
1475
|
-
const h = Ce();
|
|
1476
|
-
let m;
|
|
1477
|
-
const g = () => {
|
|
1478
|
-
m && m.dispose(), m = Uo.init(i, h.value ? "dark" : "light"), m.setOption(a);
|
|
1479
|
-
}, v = () => {
|
|
1480
|
-
m == null || m.resize();
|
|
1481
|
-
};
|
|
1482
|
-
return Oo(() => {
|
|
1483
|
-
window.addEventListener("resize", v, !1), g(), c(m);
|
|
1484
|
-
}), St(() => {
|
|
1485
|
-
window.removeEventListener("resize", v, !1);
|
|
1486
|
-
}), Sr([h], () => {
|
|
1487
|
-
g(), c(m);
|
|
1488
|
-
}), { onResize: v };
|
|
1489
|
-
}
|
|
1490
|
-
function Jc(i, a) {
|
|
1491
|
-
const c = O(() => i.node.basic.id), h = O(() => `callMethod@${c.value}`);
|
|
1492
|
-
No(() => {
|
|
1493
|
-
Ue.on(h.value, a);
|
|
1401
|
+
return { show: a, text: c, subtext: y, applyTitle: m };
|
|
1402
|
+
}
|
|
1403
|
+
function Gl(i, a) {
|
|
1404
|
+
const c = O(() => i.node.basic.id), y = O(() => `callMethod@${c.value}`);
|
|
1405
|
+
Oo(() => {
|
|
1406
|
+
Ue.on(y.value, a);
|
|
1494
1407
|
}), St(() => {
|
|
1495
|
-
Ue.off(
|
|
1408
|
+
Ue.off(y.value, a);
|
|
1496
1409
|
});
|
|
1497
1410
|
}
|
|
1498
|
-
const
|
|
1411
|
+
const Wl = /* @__PURE__ */ ie({
|
|
1499
1412
|
__name: "index",
|
|
1500
1413
|
props: {
|
|
1501
1414
|
node: {},
|
|
1502
1415
|
outer: { type: Boolean }
|
|
1503
1416
|
},
|
|
1504
1417
|
setup(i) {
|
|
1505
|
-
const a = i, c = ue(),
|
|
1418
|
+
const a = i, c = ue(), y = Cr(), m = Nt(), g = wt(), { applySize: v } = kr(c, y, a), { applyMargin: x } = Ul(a), { applyPadding: S } = $l(a), { applyBorder: r } = Fl(a), t = O(() => {
|
|
1506
1419
|
const e = {}, n = g.type;
|
|
1507
|
-
return m === "page" ? n === "common" ? (v(e),
|
|
1420
|
+
return m === "page" ? n === "common" ? (v(e), x(e), S(e), r(e)) : console.assert(!1) : m === "comp" && n === "common" ? (v(e), x(e), S(e), r(e)) : console.assert(!1), e;
|
|
1508
1421
|
});
|
|
1509
1422
|
return (e, n) => (G(), Ne("div", {
|
|
1510
1423
|
style: si(t.value)
|
|
1511
1424
|
}, [
|
|
1512
|
-
|
|
1425
|
+
Sr(e.$slots, "default")
|
|
1513
1426
|
], 4));
|
|
1514
1427
|
}
|
|
1515
1428
|
}), Hn = {
|
|
1516
1429
|
key: "settings",
|
|
1517
1430
|
name: "x-runtime-lib.settings",
|
|
1518
1431
|
children: []
|
|
1519
|
-
},
|
|
1520
|
-
key:
|
|
1432
|
+
}, Yl = {
|
|
1433
|
+
key: dr,
|
|
1521
1434
|
name: "x-runtime-lib.container",
|
|
1522
|
-
comp:
|
|
1435
|
+
comp: Wl,
|
|
1523
1436
|
slots: [
|
|
1524
1437
|
{
|
|
1525
1438
|
key: "default",
|
|
@@ -1539,39 +1452,39 @@ const Kc = /* @__PURE__ */ ie({
|
|
|
1539
1452
|
compCommon: [M, Rt, Wn, Yn, zn, Hn]
|
|
1540
1453
|
}
|
|
1541
1454
|
};
|
|
1542
|
-
function
|
|
1455
|
+
function zl(i) {
|
|
1543
1456
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
1544
1457
|
}
|
|
1545
|
-
function
|
|
1458
|
+
function Xl(i) {
|
|
1546
1459
|
if (i.__esModule) return i;
|
|
1547
1460
|
var a = i.default;
|
|
1548
1461
|
if (typeof a == "function") {
|
|
1549
|
-
var c = function
|
|
1550
|
-
return this instanceof
|
|
1462
|
+
var c = function y() {
|
|
1463
|
+
return this instanceof y ? Reflect.construct(a, arguments, this.constructor) : a.apply(this, arguments);
|
|
1551
1464
|
};
|
|
1552
1465
|
c.prototype = a.prototype;
|
|
1553
1466
|
} else c = {};
|
|
1554
|
-
return Object.defineProperty(c, "__esModule", { value: !0 }), Object.keys(i).forEach(function(
|
|
1555
|
-
var m = Object.getOwnPropertyDescriptor(i,
|
|
1556
|
-
Object.defineProperty(c,
|
|
1467
|
+
return Object.defineProperty(c, "__esModule", { value: !0 }), Object.keys(i).forEach(function(y) {
|
|
1468
|
+
var m = Object.getOwnPropertyDescriptor(i, y);
|
|
1469
|
+
Object.defineProperty(c, y, m.get ? m : {
|
|
1557
1470
|
enumerable: !0,
|
|
1558
1471
|
get: function() {
|
|
1559
|
-
return i[
|
|
1472
|
+
return i[y];
|
|
1560
1473
|
}
|
|
1561
1474
|
});
|
|
1562
1475
|
}), c;
|
|
1563
1476
|
}
|
|
1564
1477
|
var gt = { exports: {} };
|
|
1565
|
-
const
|
|
1478
|
+
const Hl = {}, Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1566
1479
|
__proto__: null,
|
|
1567
|
-
default:
|
|
1568
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1569
|
-
var
|
|
1570
|
-
function
|
|
1480
|
+
default: Hl
|
|
1481
|
+
}, Symbol.toStringTag, { value: "Module" })), Kl = /* @__PURE__ */ Xl(Jl);
|
|
1482
|
+
var ql = gt.exports, Jn;
|
|
1483
|
+
function Zl() {
|
|
1571
1484
|
return Jn || (Jn = 1, function(i, a) {
|
|
1572
|
-
(function(
|
|
1485
|
+
(function(y, m) {
|
|
1573
1486
|
i.exports = m();
|
|
1574
|
-
})(
|
|
1487
|
+
})(ql, () => (
|
|
1575
1488
|
/******/
|
|
1576
1489
|
(() => {
|
|
1577
1490
|
var c = {
|
|
@@ -1581,7 +1494,7 @@ function of() {
|
|
|
1581
1494
|
!*** ./original-repo/interpreter.js ***!
|
|
1582
1495
|
\**************************************/
|
|
1583
1496
|
/***/
|
|
1584
|
-
function(v,
|
|
1497
|
+
function(v, x, S) {
|
|
1585
1498
|
/**
|
|
1586
1499
|
* @license
|
|
1587
1500
|
* Copyright 2013 Neil Fraser
|
|
@@ -1602,8 +1515,8 @@ function of() {
|
|
|
1602
1515
|
typeof this[p] == "function" && (o = p.match(l)) && (this.stepFunctions_[o[1]] = this[p].bind(this));
|
|
1603
1516
|
this.globalScope = this.createScope(this.ast, null), this.globalObject = this.globalScope.object, this.ast = this.parse_(this.polyfills_.join(`
|
|
1604
1517
|
`), "polyfills"), this.polyfills_ = void 0, r.stripLocations_(this.ast, void 0, void 0);
|
|
1605
|
-
var
|
|
1606
|
-
|
|
1518
|
+
var h = new r.State(this.ast, this.globalScope);
|
|
1519
|
+
h.done = !1, this.stateStack = [h], this.run(), this.value = void 0, this.ast = u, h = new r.State(this.ast, this.globalScope), h.done = !1, this.stateStack.length = 0, this.stateStack[0] = h;
|
|
1607
1520
|
};
|
|
1608
1521
|
r.Completion = {
|
|
1609
1522
|
NORMAL: 0,
|
|
@@ -1823,8 +1736,8 @@ function of() {
|
|
|
1823
1736
|
return function(p) {
|
|
1824
1737
|
try {
|
|
1825
1738
|
return o(p);
|
|
1826
|
-
} catch (
|
|
1827
|
-
e.throwException(e.URI_ERROR,
|
|
1739
|
+
} catch (h) {
|
|
1740
|
+
e.throwException(e.URI_ERROR, h.message);
|
|
1828
1741
|
}
|
|
1829
1742
|
};
|
|
1830
1743
|
}(s[l][0]), this.setProperty(
|
|
@@ -1871,24 +1784,24 @@ function of() {
|
|
|
1871
1784
|
var o = "";
|
|
1872
1785
|
var p = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1873
1786
|
if (p) {
|
|
1874
|
-
for (var
|
|
1875
|
-
var
|
|
1876
|
-
u.test(
|
|
1787
|
+
for (var h = p.split(/\s*,\s*/), b = 0; b < h.length; b++) {
|
|
1788
|
+
var T = h[b];
|
|
1789
|
+
u.test(T) || e.throwException(
|
|
1877
1790
|
e.SYNTAX_ERROR,
|
|
1878
|
-
"Invalid function argument: " +
|
|
1791
|
+
"Invalid function argument: " + T
|
|
1879
1792
|
);
|
|
1880
1793
|
}
|
|
1881
|
-
p =
|
|
1794
|
+
p = h.join(", ");
|
|
1882
1795
|
}
|
|
1883
1796
|
try {
|
|
1884
1797
|
var R = e.parse_(
|
|
1885
1798
|
"(function(" + p + ") {" + o + "})",
|
|
1886
1799
|
"function" + e.functionCodeNumber_++
|
|
1887
1800
|
);
|
|
1888
|
-
} catch (
|
|
1801
|
+
} catch (P) {
|
|
1889
1802
|
e.throwException(
|
|
1890
1803
|
e.SYNTAX_ERROR,
|
|
1891
|
-
"Invalid code: " +
|
|
1804
|
+
"Invalid code: " + P.message
|
|
1892
1805
|
);
|
|
1893
1806
|
}
|
|
1894
1807
|
R.body.length !== 1 && e.throwException(
|
|
@@ -1923,11 +1836,11 @@ function of() {
|
|
|
1923
1836
|
0,
|
|
1924
1837
|
r.READONLY_NONENUMERABLE_DESCRIPTOR
|
|
1925
1838
|
), this.FUNCTION_PROTO.class = "Function", n = function(l, o, p) {
|
|
1926
|
-
var
|
|
1927
|
-
|
|
1839
|
+
var h = e.stateStack[e.stateStack.length - 1];
|
|
1840
|
+
h.func_ = l, h.funcThis_ = o, h.arguments_ = [], p != null && (p instanceof r.Object ? h.arguments_ = Array.from(p.properties) : e.throwException(
|
|
1928
1841
|
e.TYPE_ERROR,
|
|
1929
1842
|
"CreateListFromArrayLike called on non-object"
|
|
1930
|
-
)),
|
|
1843
|
+
)), h.doneExec_ = !1;
|
|
1931
1844
|
}, this.setNativeFunctionPrototype(this.FUNCTION, "apply", n), this.polyfills_.push(
|
|
1932
1845
|
/* POLYFILL START */
|
|
1933
1846
|
// Flatten the apply args list to remove any inheritance or getter functions.
|
|
@@ -2118,25 +2031,25 @@ function of() {
|
|
|
2118
2031
|
e.TYPE_ERROR,
|
|
2119
2032
|
"Object.getOwnPropertyDescriptor called on non-object: " + l
|
|
2120
2033
|
), o = String(o), o in l.properties) {
|
|
2121
|
-
var p = Object.getOwnPropertyDescriptor(l.properties, o),
|
|
2122
|
-
return
|
|
2123
|
-
|
|
2034
|
+
var p = Object.getOwnPropertyDescriptor(l.properties, o), h = l.getter[o], b = l.setter[o], T = e.createObjectProto(e.OBJECT_PROTO);
|
|
2035
|
+
return h || b ? (e.setProperty(T, "get", h), e.setProperty(T, "set", b)) : (e.setProperty(
|
|
2036
|
+
T,
|
|
2124
2037
|
"value",
|
|
2125
2038
|
/** @type {!Interpreter.Value} */
|
|
2126
2039
|
p.value
|
|
2127
2040
|
), e.setProperty(
|
|
2128
|
-
|
|
2041
|
+
T,
|
|
2129
2042
|
"writable",
|
|
2130
2043
|
p.writable
|
|
2131
2044
|
)), e.setProperty(
|
|
2132
|
-
|
|
2045
|
+
T,
|
|
2133
2046
|
"configurable",
|
|
2134
2047
|
p.configurable
|
|
2135
2048
|
), e.setProperty(
|
|
2136
|
-
|
|
2049
|
+
T,
|
|
2137
2050
|
"enumerable",
|
|
2138
2051
|
p.enumerable
|
|
2139
|
-
),
|
|
2052
|
+
), T;
|
|
2140
2053
|
}
|
|
2141
2054
|
}, this.setProperty(
|
|
2142
2055
|
this.OBJECT,
|
|
@@ -2698,15 +2611,15 @@ function of() {
|
|
|
2698
2611
|
u[s],
|
|
2699
2612
|
String.prototype[u[s]]
|
|
2700
2613
|
);
|
|
2701
|
-
n = function(o, p,
|
|
2702
|
-
p = e.pseudoToNative(p),
|
|
2614
|
+
n = function(o, p, h) {
|
|
2615
|
+
p = e.pseudoToNative(p), h = e.pseudoToNative(h);
|
|
2703
2616
|
try {
|
|
2704
2617
|
return String(this).localeCompare(
|
|
2705
2618
|
o,
|
|
2706
2619
|
/** @type {?} */
|
|
2707
2620
|
p,
|
|
2708
2621
|
/** @type {?} */
|
|
2709
|
-
|
|
2622
|
+
h
|
|
2710
2623
|
);
|
|
2711
2624
|
} catch (b) {
|
|
2712
2625
|
e.throwException(
|
|
@@ -2714,90 +2627,90 @@ function of() {
|
|
|
2714
2627
|
"localeCompare: " + b.message
|
|
2715
2628
|
);
|
|
2716
2629
|
}
|
|
2717
|
-
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", n), n = function(o, p,
|
|
2630
|
+
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", n), n = function(o, p, h) {
|
|
2718
2631
|
var b = String(this);
|
|
2719
|
-
if (p = p ? Number(p) : void 0, e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o,
|
|
2632
|
+
if (p = p ? Number(p) : void 0, e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o, h), e.REGEXP_MODE === 2)) {
|
|
2720
2633
|
if (r.vm) {
|
|
2721
|
-
var
|
|
2634
|
+
var T = {
|
|
2722
2635
|
string: b,
|
|
2723
2636
|
separator: o,
|
|
2724
2637
|
limit: p
|
|
2725
|
-
}, R = "string.split(separator, limit)", D = e.vmCall(R,
|
|
2726
|
-
D !== r.REGEXP_TIMEOUT &&
|
|
2638
|
+
}, R = "string.split(separator, limit)", D = e.vmCall(R, T, o, h);
|
|
2639
|
+
D !== r.REGEXP_TIMEOUT && h(e.nativeToPseudo(D));
|
|
2727
2640
|
} else {
|
|
2728
|
-
var N = e.createWorker(),
|
|
2641
|
+
var N = e.createWorker(), P = e.regExpTimeout(
|
|
2729
2642
|
o,
|
|
2730
2643
|
N,
|
|
2731
|
-
|
|
2644
|
+
h
|
|
2732
2645
|
);
|
|
2733
2646
|
N.onmessage = function(H) {
|
|
2734
|
-
clearTimeout(
|
|
2647
|
+
clearTimeout(P), h(e.nativeToPseudo(H.data));
|
|
2735
2648
|
}, N.postMessage(["split", b, o, p]);
|
|
2736
2649
|
}
|
|
2737
2650
|
return;
|
|
2738
2651
|
}
|
|
2739
2652
|
var D = b.split(o, p);
|
|
2740
|
-
|
|
2653
|
+
h(e.nativeToPseudo(D));
|
|
2741
2654
|
}, this.setAsyncFunctionPrototype(this.STRING, "split", n), n = function(o, p) {
|
|
2742
|
-
var
|
|
2655
|
+
var h = String(this);
|
|
2743
2656
|
if (o = e.isa(o, e.REGEXP) ? o.data : new RegExp(o), e.maybeThrowRegExp(o, p), e.REGEXP_MODE === 2) {
|
|
2744
2657
|
if (r.vm) {
|
|
2745
2658
|
var b = {
|
|
2746
|
-
string:
|
|
2659
|
+
string: h,
|
|
2747
2660
|
regexp: o
|
|
2748
|
-
},
|
|
2749
|
-
|
|
2661
|
+
}, T = "string.match(regexp)", P = e.vmCall(T, b, o, p);
|
|
2662
|
+
P !== r.REGEXP_TIMEOUT && p(P && e.matchToPseudo_(P));
|
|
2750
2663
|
} else {
|
|
2751
2664
|
var R = e.createWorker(), N = e.regExpTimeout(o, R, p);
|
|
2752
2665
|
R.onmessage = function(D) {
|
|
2753
2666
|
clearTimeout(N), p(D.data && e.matchToPseudo_(D.data));
|
|
2754
|
-
}, R.postMessage(["match",
|
|
2667
|
+
}, R.postMessage(["match", h, o]);
|
|
2755
2668
|
}
|
|
2756
2669
|
return;
|
|
2757
2670
|
}
|
|
2758
|
-
var
|
|
2759
|
-
p(
|
|
2671
|
+
var P = h.match(o);
|
|
2672
|
+
p(P && e.matchToPseudo_(P));
|
|
2760
2673
|
}, this.setAsyncFunctionPrototype(this.STRING, "match", n), n = function(o, p) {
|
|
2761
|
-
var
|
|
2674
|
+
var h = String(this);
|
|
2762
2675
|
if (e.isa(o, e.REGEXP) ? o = o.data : o = new RegExp(o), e.maybeThrowRegExp(o, p), e.REGEXP_MODE === 2) {
|
|
2763
2676
|
if (r.vm) {
|
|
2764
2677
|
var b = {
|
|
2765
|
-
string:
|
|
2678
|
+
string: h,
|
|
2766
2679
|
regexp: o
|
|
2767
|
-
},
|
|
2680
|
+
}, T = "string.search(regexp)", R = e.vmCall(T, b, o, p);
|
|
2768
2681
|
R !== r.REGEXP_TIMEOUT && p(R);
|
|
2769
2682
|
} else {
|
|
2770
|
-
var N = e.createWorker(),
|
|
2683
|
+
var N = e.createWorker(), P = e.regExpTimeout(o, N, p);
|
|
2771
2684
|
N.onmessage = function(D) {
|
|
2772
|
-
clearTimeout(
|
|
2773
|
-
}, N.postMessage(["search",
|
|
2685
|
+
clearTimeout(P), p(D.data);
|
|
2686
|
+
}, N.postMessage(["search", h, o]);
|
|
2774
2687
|
}
|
|
2775
2688
|
return;
|
|
2776
2689
|
}
|
|
2777
|
-
p(
|
|
2778
|
-
}, this.setAsyncFunctionPrototype(this.STRING, "search", n), n = function(o, p,
|
|
2690
|
+
p(h.search(o));
|
|
2691
|
+
}, this.setAsyncFunctionPrototype(this.STRING, "search", n), n = function(o, p, h) {
|
|
2779
2692
|
var b = String(this);
|
|
2780
|
-
if (p = String(p), e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o,
|
|
2693
|
+
if (p = String(p), e.isa(o, e.REGEXP) && (o = o.data, e.maybeThrowRegExp(o, h), e.REGEXP_MODE === 2)) {
|
|
2781
2694
|
if (r.vm) {
|
|
2782
|
-
var
|
|
2695
|
+
var T = {
|
|
2783
2696
|
string: b,
|
|
2784
2697
|
substr: o,
|
|
2785
2698
|
newSubstr: p
|
|
2786
|
-
}, R = "string.replace(substr, newSubstr)", N = e.vmCall(R,
|
|
2787
|
-
N !== r.REGEXP_TIMEOUT &&
|
|
2699
|
+
}, R = "string.replace(substr, newSubstr)", N = e.vmCall(R, T, o, h);
|
|
2700
|
+
N !== r.REGEXP_TIMEOUT && h(N);
|
|
2788
2701
|
} else {
|
|
2789
|
-
var
|
|
2702
|
+
var P = e.createWorker(), D = e.regExpTimeout(
|
|
2790
2703
|
o,
|
|
2791
|
-
|
|
2792
|
-
|
|
2704
|
+
P,
|
|
2705
|
+
h
|
|
2793
2706
|
);
|
|
2794
|
-
|
|
2795
|
-
clearTimeout(D),
|
|
2796
|
-
},
|
|
2707
|
+
P.onmessage = function(H) {
|
|
2708
|
+
clearTimeout(D), h(H.data);
|
|
2709
|
+
}, P.postMessage(["replace", b, o, p]);
|
|
2797
2710
|
}
|
|
2798
2711
|
return;
|
|
2799
2712
|
}
|
|
2800
|
-
|
|
2713
|
+
h(b.replace(o, p));
|
|
2801
2714
|
}, this.setAsyncFunctionPrototype(this.STRING, "replace", n), this.polyfills_.push(
|
|
2802
2715
|
/* POLYFILL START */
|
|
2803
2716
|
"(function() {",
|
|
@@ -2903,10 +2816,10 @@ function of() {
|
|
|
2903
2816
|
/** @type {?} */
|
|
2904
2817
|
p
|
|
2905
2818
|
);
|
|
2906
|
-
} catch (
|
|
2819
|
+
} catch (h) {
|
|
2907
2820
|
e.throwException(
|
|
2908
2821
|
e.ERROR,
|
|
2909
|
-
"toLocaleString: " +
|
|
2822
|
+
"toLocaleString: " + h.message
|
|
2910
2823
|
);
|
|
2911
2824
|
}
|
|
2912
2825
|
}, this.setNativeFunctionPrototype(this.NUMBER, "toLocaleString", n);
|
|
@@ -2915,10 +2828,10 @@ function of() {
|
|
|
2915
2828
|
n = function(o, p) {
|
|
2916
2829
|
if (!e.calledWithNew())
|
|
2917
2830
|
return r.nativeGlobal.Date();
|
|
2918
|
-
var
|
|
2831
|
+
var h = [null].concat(Array.from(arguments));
|
|
2919
2832
|
return this.data = new (Function.prototype.bind.apply(
|
|
2920
2833
|
r.nativeGlobal.Date,
|
|
2921
|
-
|
|
2834
|
+
h
|
|
2922
2835
|
))(), this;
|
|
2923
2836
|
}, this.DATE = this.createNativeFunction(n, !0), this.DATE_PROTO = this.DATE.properties.prototype, this.setProperty(
|
|
2924
2837
|
t,
|
|
@@ -2993,9 +2906,9 @@ function of() {
|
|
|
2993
2906
|
e.TYPE_ERROR,
|
|
2994
2907
|
l + " not called on a Date"
|
|
2995
2908
|
);
|
|
2996
|
-
for (var
|
|
2997
|
-
|
|
2998
|
-
return p[l].apply(p,
|
|
2909
|
+
for (var h = [], b = 0; b < arguments.length; b++)
|
|
2910
|
+
h[b] = e.pseudoToNative(arguments[b]);
|
|
2911
|
+
return p[l].apply(p, h);
|
|
2999
2912
|
};
|
|
3000
2913
|
}(u[s]), this.setNativeFunctionPrototype(this.DATE, u[s], n);
|
|
3001
2914
|
n = function() {
|
|
@@ -3024,8 +2937,8 @@ function of() {
|
|
|
3024
2937
|
);
|
|
3025
2938
|
try {
|
|
3026
2939
|
var p = new r.nativeGlobal.RegExp(s, l);
|
|
3027
|
-
} catch (
|
|
3028
|
-
e.throwException(e.SYNTAX_ERROR,
|
|
2940
|
+
} catch (h) {
|
|
2941
|
+
e.throwException(e.SYNTAX_ERROR, h.message);
|
|
3029
2942
|
}
|
|
3030
2943
|
return e.populateRegExp(o, p), o;
|
|
3031
2944
|
}, this.REGEXP = this.createNativeFunction(n, !0), this.REGEXP_PROTO = this.REGEXP.properties.prototype, this.setProperty(
|
|
@@ -3069,12 +2982,12 @@ function of() {
|
|
|
3069
2982
|
var p = {
|
|
3070
2983
|
string: s,
|
|
3071
2984
|
regexp: o
|
|
3072
|
-
},
|
|
2985
|
+
}, h = "regexp.exec(string)", N = e.vmCall(h, p, o, l);
|
|
3073
2986
|
N !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", o.lastIndex), l(e.matchToPseudo_(N)));
|
|
3074
2987
|
} else {
|
|
3075
|
-
var b = e.createWorker(),
|
|
3076
|
-
b.onmessage = function(
|
|
3077
|
-
clearTimeout(
|
|
2988
|
+
var b = e.createWorker(), T = e.regExpTimeout(o, b, l), R = this;
|
|
2989
|
+
b.onmessage = function(P) {
|
|
2990
|
+
clearTimeout(T), e.setProperty(R, "lastIndex", P.data[1]), l(e.matchToPseudo_(P.data[0]));
|
|
3078
2991
|
}, b.postMessage(["exec", o, o.lastIndex, s]);
|
|
3079
2992
|
}
|
|
3080
2993
|
return;
|
|
@@ -3215,14 +3128,14 @@ function of() {
|
|
|
3215
3128
|
o && o.class === "Function" ? n.throwException(
|
|
3216
3129
|
n.TYPE_ERROR,
|
|
3217
3130
|
"Function replacer on JSON.stringify not supported"
|
|
3218
|
-
) : o && o.class === "Array" ? (o = n.pseudoToNative(o), o = o.filter(function(
|
|
3219
|
-
return typeof
|
|
3131
|
+
) : o && o.class === "Array" ? (o = n.pseudoToNative(o), o = o.filter(function(T) {
|
|
3132
|
+
return typeof T == "string" || typeof T == "number";
|
|
3220
3133
|
})) : o = null, typeof p != "string" && typeof p != "number" && (p = void 0);
|
|
3221
|
-
var
|
|
3134
|
+
var h = n.pseudoToNative(l);
|
|
3222
3135
|
try {
|
|
3223
|
-
var b = JSON.stringify(
|
|
3224
|
-
} catch (
|
|
3225
|
-
n.throwException(n.TYPE_ERROR,
|
|
3136
|
+
var b = JSON.stringify(h, o, p);
|
|
3137
|
+
} catch (T) {
|
|
3138
|
+
n.throwException(n.TYPE_ERROR, T.message);
|
|
3226
3139
|
}
|
|
3227
3140
|
return b;
|
|
3228
3141
|
}, this.setProperty(
|
|
@@ -3284,9 +3197,9 @@ function of() {
|
|
|
3284
3197
|
}
|
|
3285
3198
|
l.loc && (!n.length || l.type === "CallExpression") && n.push({ datumLoc: l.loc });
|
|
3286
3199
|
}
|
|
3287
|
-
for (var p = String(this.getProperty(t, "name")),
|
|
3200
|
+
for (var p = String(this.getProperty(t, "name")), h = String(this.getProperty(t, "message")), b = p + ": " + h + `
|
|
3288
3201
|
`, u = 0; u < n.length; u++) {
|
|
3289
|
-
var
|
|
3202
|
+
var T = n[u].datumLoc, R = n[u].datumName, N = T.source + ":" + T.start.line + ":" + T.start.column;
|
|
3290
3203
|
R ? b += " at " + R + " (" + N + `)
|
|
3291
3204
|
` : b += " at " + N + `
|
|
3292
3205
|
`;
|
|
@@ -3432,20 +3345,20 @@ function of() {
|
|
|
3432
3345
|
var o = this, p = function() {
|
|
3433
3346
|
var N = Array.prototype.slice.call(arguments).map(function(D) {
|
|
3434
3347
|
return o.pseudoToNative(D);
|
|
3435
|
-
}),
|
|
3436
|
-
return o.nativeToPseudo(
|
|
3437
|
-
},
|
|
3348
|
+
}), P = t.apply(o, N);
|
|
3349
|
+
return o.nativeToPseudo(P);
|
|
3350
|
+
}, h = Object.getOwnPropertyDescriptor(t, "prototype"), b = this.createNativeFunction(p, !!h);
|
|
3438
3351
|
return n.pseudo.push(b), b;
|
|
3439
3352
|
}
|
|
3440
|
-
var
|
|
3441
|
-
Array.isArray(t) ?
|
|
3353
|
+
var T;
|
|
3354
|
+
Array.isArray(t) ? T = this.createArray() : T = this.createObjectProto(this.OBJECT_PROTO), n.pseudo.push(T);
|
|
3442
3355
|
for (var R in t)
|
|
3443
3356
|
this.setProperty(
|
|
3444
|
-
|
|
3357
|
+
T,
|
|
3445
3358
|
R,
|
|
3446
3359
|
this.nativeToPseudo(t[R], n)
|
|
3447
3360
|
);
|
|
3448
|
-
return
|
|
3361
|
+
return T;
|
|
3449
3362
|
}, r.prototype.pseudoToNative = function(t, e) {
|
|
3450
3363
|
if (t == null || t === !0 || t === !1 || typeof t == "string" || typeof t == "number")
|
|
3451
3364
|
return t;
|
|
@@ -3468,10 +3381,10 @@ function of() {
|
|
|
3468
3381
|
var o = this.isa(t, this.ARRAY) ? [] : {};
|
|
3469
3382
|
n.native.push(o);
|
|
3470
3383
|
var p;
|
|
3471
|
-
for (var
|
|
3472
|
-
p = this.pseudoToNative(t.properties[
|
|
3384
|
+
for (var h in t.properties)
|
|
3385
|
+
p = this.pseudoToNative(t.properties[h], n), Object.defineProperty(
|
|
3473
3386
|
o,
|
|
3474
|
-
|
|
3387
|
+
h,
|
|
3475
3388
|
{
|
|
3476
3389
|
value: p,
|
|
3477
3390
|
writable: !0,
|
|
@@ -3566,10 +3479,10 @@ function of() {
|
|
|
3566
3479
|
return;
|
|
3567
3480
|
}
|
|
3568
3481
|
if (u) {
|
|
3569
|
-
var
|
|
3570
|
-
"get" in u && u.get && (t.getter[e] = u.get,
|
|
3482
|
+
var h = {};
|
|
3483
|
+
"get" in u && u.get && (t.getter[e] = u.get, h.get = this.setProperty.placeholderGet_), "set" in u && u.set && (t.setter[e] = u.set, h.set = this.setProperty.placeholderSet_), "configurable" in u && (h.configurable = u.configurable), "enumerable" in u && (h.enumerable = u.enumerable), "writable" in u && (h.writable = u.writable, delete t.getter[e], delete t.setter[e]), "value" in u ? (h.value = u.value, delete t.getter[e], delete t.setter[e]) : n !== r.VALUE_IN_DESCRIPTOR && (h.value = n, delete t.getter[e], delete t.setter[e]);
|
|
3571
3484
|
try {
|
|
3572
|
-
Object.defineProperty(t.properties, e,
|
|
3485
|
+
Object.defineProperty(t.properties, e, h);
|
|
3573
3486
|
} catch {
|
|
3574
3487
|
this.throwException(this.TYPE_ERROR, "Cannot redefine property: " + e);
|
|
3575
3488
|
}
|
|
@@ -3777,8 +3690,8 @@ function of() {
|
|
|
3777
3690
|
SyntaxError,
|
|
3778
3691
|
TypeError,
|
|
3779
3692
|
URIError
|
|
3780
|
-
}, p = String(this.getProperty(e, "name")),
|
|
3781
|
-
l = b(
|
|
3693
|
+
}, p = String(this.getProperty(e, "name")), h = this.getProperty(e, "message").valueOf(), b = o[p] || Error;
|
|
3694
|
+
l = b(h), l.stack = String(this.getProperty(e, "stack"));
|
|
3782
3695
|
} else
|
|
3783
3696
|
l = String(e);
|
|
3784
3697
|
throw this.value = l, l;
|
|
@@ -3814,9 +3727,9 @@ function of() {
|
|
|
3814
3727
|
}
|
|
3815
3728
|
return "???";
|
|
3816
3729
|
}, r.prototype.createTask_ = function(t, e) {
|
|
3817
|
-
var n = this.stateStack[this.stateStack.length - 1], u = Array.from(e), s = u.shift(), l = Math.max(Number(u.shift() || 0), 0), o = this.newNode(), p,
|
|
3730
|
+
var n = this.stateStack[this.stateStack.length - 1], u = Array.from(e), s = u.shift(), l = Math.max(Number(u.shift() || 0), 0), o = this.newNode(), p, h, b;
|
|
3818
3731
|
if (s instanceof r.Object && s.class === "Function")
|
|
3819
|
-
|
|
3732
|
+
h = s, o.type = "CallExpression", p = n.scope;
|
|
3820
3733
|
else {
|
|
3821
3734
|
try {
|
|
3822
3735
|
b = this.parse_(String(s), "taskCode" + this.taskCodeNumber_++);
|
|
@@ -3824,17 +3737,17 @@ function of() {
|
|
|
3824
3737
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + D.message);
|
|
3825
3738
|
}
|
|
3826
3739
|
o.type = "EvalProgram_", o.body = b.body;
|
|
3827
|
-
var
|
|
3740
|
+
var T = n.node.arguments[0], R = T ? T.start : void 0, N = T ? T.end : void 0;
|
|
3828
3741
|
r.stripLocations_(o, R, N), p = this.globalScope, u.length = 0;
|
|
3829
3742
|
}
|
|
3830
|
-
var
|
|
3831
|
-
|
|
3743
|
+
var P = new r.Task(
|
|
3744
|
+
h,
|
|
3832
3745
|
u,
|
|
3833
3746
|
p,
|
|
3834
3747
|
o,
|
|
3835
3748
|
t ? l : -1
|
|
3836
3749
|
);
|
|
3837
|
-
return this.scheduleTask_(
|
|
3750
|
+
return this.scheduleTask_(P, l), P.pid;
|
|
3838
3751
|
}, r.prototype.scheduleTask_ = function(t, e) {
|
|
3839
3752
|
t.time = Date.now() + e, this.tasks.push(t), this.tasks.sort(function(n, u) {
|
|
3840
3753
|
return n.time - u.time;
|
|
@@ -3921,20 +3834,20 @@ function of() {
|
|
|
3921
3834
|
var t = r.toStringCycles_;
|
|
3922
3835
|
if (t.indexOf(this) !== -1)
|
|
3923
3836
|
return "[object Error]";
|
|
3924
|
-
var o, p,
|
|
3837
|
+
var o, p, h = this;
|
|
3925
3838
|
do
|
|
3926
|
-
if ("name" in
|
|
3927
|
-
o =
|
|
3839
|
+
if ("name" in h.properties) {
|
|
3840
|
+
o = h.properties.name;
|
|
3928
3841
|
break;
|
|
3929
3842
|
}
|
|
3930
|
-
while (
|
|
3931
|
-
|
|
3843
|
+
while (h = h.proto);
|
|
3844
|
+
h = this;
|
|
3932
3845
|
do
|
|
3933
|
-
if ("message" in
|
|
3934
|
-
p =
|
|
3846
|
+
if ("message" in h.properties) {
|
|
3847
|
+
p = h.properties.message;
|
|
3935
3848
|
break;
|
|
3936
3849
|
}
|
|
3937
|
-
while (
|
|
3850
|
+
while (h = h.proto);
|
|
3938
3851
|
t.push(this);
|
|
3939
3852
|
try {
|
|
3940
3853
|
o = o && String(o), p = p && String(p);
|
|
@@ -4024,9 +3937,9 @@ function of() {
|
|
|
4024
3937
|
default:
|
|
4025
3938
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
4026
3939
|
}
|
|
4027
|
-
var
|
|
4028
|
-
if (
|
|
4029
|
-
return e.doneSetter_ = !0, e.setterValue_ = o, this.createSetter_(
|
|
3940
|
+
var h = this.setValue(e.leftReference_, o);
|
|
3941
|
+
if (h)
|
|
3942
|
+
return e.doneSetter_ = !0, e.setterValue_ = o, this.createSetter_(h, e.leftReference_, o);
|
|
4030
3943
|
t.pop(), t[t.length - 1].value = o;
|
|
4031
3944
|
}, r.prototype.stepBinaryExpression = function(t, e, n) {
|
|
4032
3945
|
if (!e.doneLeft_)
|
|
@@ -4164,12 +4077,12 @@ function of() {
|
|
|
4164
4077
|
);
|
|
4165
4078
|
var o = s.node;
|
|
4166
4079
|
if (o) {
|
|
4167
|
-
for (var p = this.createScope(o.body, s.parentScope),
|
|
4168
|
-
this.setProperty(
|
|
4169
|
-
this.setProperty(p.object, "arguments",
|
|
4080
|
+
for (var p = this.createScope(o.body, s.parentScope), h = this.createArray(), b = 0; b < e.arguments_.length; b++)
|
|
4081
|
+
this.setProperty(h, b, e.arguments_[b]);
|
|
4082
|
+
this.setProperty(p.object, "arguments", h);
|
|
4170
4083
|
for (var b = 0; b < o.params.length; b++) {
|
|
4171
|
-
var
|
|
4172
|
-
this.setProperty(p.object,
|
|
4084
|
+
var T = o.params[b].name, R = e.arguments_.length > b ? e.arguments_[b] : void 0;
|
|
4085
|
+
this.setProperty(p.object, T, R);
|
|
4173
4086
|
}
|
|
4174
4087
|
return p.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
4175
4088
|
p.object,
|
|
@@ -4183,7 +4096,7 @@ function of() {
|
|
|
4183
4096
|
e.value = N;
|
|
4184
4097
|
else {
|
|
4185
4098
|
try {
|
|
4186
|
-
var
|
|
4099
|
+
var P = this.parse_(
|
|
4187
4100
|
String(N),
|
|
4188
4101
|
"eval" + this.evalCodeNumber_++
|
|
4189
4102
|
);
|
|
@@ -4191,9 +4104,9 @@ function of() {
|
|
|
4191
4104
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + B.message);
|
|
4192
4105
|
}
|
|
4193
4106
|
var D = this.newNode();
|
|
4194
|
-
D.type = "EvalProgram_", D.body =
|
|
4107
|
+
D.type = "EvalProgram_", D.body = P.body, r.stripLocations_(D, n.start, n.end);
|
|
4195
4108
|
var p = e.directEval_ ? e.scope : this.globalScope;
|
|
4196
|
-
return p.strict ? p = this.createScope(
|
|
4109
|
+
return p.strict ? p = this.createScope(P, p) : this.populateScope_(P, p), this.value = void 0, new r.State(D, p);
|
|
4197
4110
|
}
|
|
4198
4111
|
} else if (s.nativeFunc)
|
|
4199
4112
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
@@ -4426,7 +4339,7 @@ function of() {
|
|
|
4426
4339
|
for (var o in e.properties_) {
|
|
4427
4340
|
var p = e.properties_[o];
|
|
4428
4341
|
if ("get" in p || "set" in p) {
|
|
4429
|
-
var
|
|
4342
|
+
var h = {
|
|
4430
4343
|
configurable: !0,
|
|
4431
4344
|
enumerable: !0,
|
|
4432
4345
|
get: p.get,
|
|
@@ -4436,7 +4349,7 @@ function of() {
|
|
|
4436
4349
|
e.object_,
|
|
4437
4350
|
o,
|
|
4438
4351
|
r.VALUE_IN_DESCRIPTOR,
|
|
4439
|
-
|
|
4352
|
+
h
|
|
4440
4353
|
);
|
|
4441
4354
|
} else
|
|
4442
4355
|
this.setProperty(e.object_, o, p.init);
|
|
@@ -4575,9 +4488,9 @@ function of() {
|
|
|
4575
4488
|
o = l - 1;
|
|
4576
4489
|
else
|
|
4577
4490
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
4578
|
-
var p = n.prefix ? o : l,
|
|
4579
|
-
if (
|
|
4580
|
-
return e.doneSetter_ = !0, e.setterValue_ = p, this.createSetter_(
|
|
4491
|
+
var p = n.prefix ? o : l, h = this.setValue(e.leftSide_, o);
|
|
4492
|
+
if (h)
|
|
4493
|
+
return e.doneSetter_ = !0, e.setterValue_ = p, this.createSetter_(h, e.leftSide_, o);
|
|
4581
4494
|
t.pop(), t[t.length - 1].value = p;
|
|
4582
4495
|
}, r.prototype.stepVariableDeclaration = function(t, e, n) {
|
|
4583
4496
|
var u = n.declarations, s = e.n_ || 0, l = u[s];
|
|
@@ -4604,9 +4517,9 @@ function of() {
|
|
|
4604
4517
|
!*** ./original-repo/acorn.js ***!
|
|
4605
4518
|
\********************************/
|
|
4606
4519
|
/***/
|
|
4607
|
-
function(v,
|
|
4520
|
+
function(v, x) {
|
|
4608
4521
|
(function(S, r) {
|
|
4609
|
-
return r(
|
|
4522
|
+
return r(x);
|
|
4610
4523
|
})(typeof globalThis > "u" ? this || window : globalThis, function(S) {
|
|
4611
4524
|
S.version = "0.5.0";
|
|
4612
4525
|
var r, t = "", e, n;
|
|
@@ -4680,14 +4593,14 @@ function of() {
|
|
|
4680
4593
|
var l = function(f, d) {
|
|
4681
4594
|
for (var _ = 1, E = 0; ; ) {
|
|
4682
4595
|
ct.lastIndex = E;
|
|
4683
|
-
var
|
|
4684
|
-
if (
|
|
4685
|
-
++_, E =
|
|
4596
|
+
var k = ct.exec(f);
|
|
4597
|
+
if (k && k.index < d)
|
|
4598
|
+
++_, E = k.index + k[0].length;
|
|
4686
4599
|
else
|
|
4687
4600
|
break;
|
|
4688
4601
|
}
|
|
4689
4602
|
return { line: _, column: d - E };
|
|
4690
|
-
}, o = 0, p = 0,
|
|
4603
|
+
}, o = 0, p = 0, h = 0, b, T, R, N, P, D, H, We = 0, re = 0, ke, Ee, B, q;
|
|
4691
4604
|
function I(f, d) {
|
|
4692
4605
|
var _ = l(t, f);
|
|
4693
4606
|
d += " (" + _.line + ":" + _.column + ")";
|
|
@@ -4728,8 +4641,8 @@ function of() {
|
|
|
4728
4641
|
function st(f) {
|
|
4729
4642
|
for (var d = f.split(" "), _ = /* @__PURE__ */ Object.create(null), E = 0; E < d.length; E++)
|
|
4730
4643
|
_[d[E]] = !0;
|
|
4731
|
-
return function(
|
|
4732
|
-
return _[
|
|
4644
|
+
return function(k) {
|
|
4645
|
+
return _[k] || !1;
|
|
4733
4646
|
};
|
|
4734
4647
|
}
|
|
4735
4648
|
var qi = st("class enum extends super const export import"), an = st("implements interface let package private protected public static yield"), ut = st("eval arguments"), Zi = st("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"), Qi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, sn = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", eo = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", un = new RegExp("[" + sn + "]"), to = new RegExp("[" + sn + eo + "]"), lt = /[\n\r\u2028\u2029]/, ct = /\r\n|[\n\r\u2028\u2029]/g, ft = function(f) {
|
|
@@ -4741,10 +4654,10 @@ function of() {
|
|
|
4741
4654
|
this.line = D, this.column = o - H;
|
|
4742
4655
|
}
|
|
4743
4656
|
function ro() {
|
|
4744
|
-
D = 1, o = H = 0,
|
|
4657
|
+
D = 1, o = H = 0, P = !0, Xe();
|
|
4745
4658
|
}
|
|
4746
4659
|
function W(f, d) {
|
|
4747
|
-
|
|
4660
|
+
h = o, r.locations && (T = new Se()), R = f, Xe(), N = d, P = f.beforeExpr;
|
|
4748
4661
|
}
|
|
4749
4662
|
function no() {
|
|
4750
4663
|
var f = r.onComment && r.locations && new Se(), d = o, _ = t.indexOf("*/", o += 2);
|
|
@@ -4808,7 +4721,7 @@ function of() {
|
|
|
4808
4721
|
}
|
|
4809
4722
|
function oo() {
|
|
4810
4723
|
var f = t.charCodeAt(o + 1);
|
|
4811
|
-
|
|
4724
|
+
P ? (++o, cn()) : f === 61 ? Y(Re, 2) : Y(en, 1);
|
|
4812
4725
|
}
|
|
4813
4726
|
function ao() {
|
|
4814
4727
|
var f = t.charCodeAt(o + 1);
|
|
@@ -4958,19 +4871,19 @@ function of() {
|
|
|
4958
4871
|
}
|
|
4959
4872
|
++o;
|
|
4960
4873
|
}
|
|
4961
|
-
var
|
|
4874
|
+
var k = t.slice(_, o);
|
|
4962
4875
|
++o;
|
|
4963
4876
|
var w = pn();
|
|
4964
4877
|
w && !/^[gmi]*$/.test(w) && I(_, "Invalid regexp flag");
|
|
4965
4878
|
try {
|
|
4966
|
-
var A = new RegExp(
|
|
4879
|
+
var A = new RegExp(k, w);
|
|
4967
4880
|
} catch (U) {
|
|
4968
4881
|
throw U instanceof SyntaxError && I(_, U.message), U;
|
|
4969
4882
|
}
|
|
4970
4883
|
W(Ir, A);
|
|
4971
4884
|
}
|
|
4972
4885
|
function He(f, d) {
|
|
4973
|
-
for (var _ = o, E = 0,
|
|
4886
|
+
for (var _ = o, E = 0, k = d === void 0 ? 1 / 0 : d, w = 0; w < k; ++w) {
|
|
4974
4887
|
var A = t.charCodeAt(o), U;
|
|
4975
4888
|
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= f) break;
|
|
4976
4889
|
++o, E = E * f + U;
|
|
@@ -4985,8 +4898,8 @@ function of() {
|
|
|
4985
4898
|
function fn(f) {
|
|
4986
4899
|
var d = o, _ = !1, E = t.charCodeAt(o) === 48;
|
|
4987
4900
|
!f && He(10) === null && I(d, "Invalid number"), t.charCodeAt(o) === 46 && (++o, He(10), _ = !0);
|
|
4988
|
-
var
|
|
4989
|
-
(
|
|
4901
|
+
var k = t.charCodeAt(o);
|
|
4902
|
+
(k === 69 || k === 101) && (k = t.charCodeAt(++o), (k === 43 || k === 45) && ++o, He(10) === null && I(d, "Invalid number"), _ = !0), ft(t.charCodeAt(o)) && I(o, "Identifier directly after number");
|
|
4990
4903
|
var w = t.slice(d, o), A;
|
|
4991
4904
|
_ ? A = parseFloat(w) : !E || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || q ? I(d, "Invalid number") : A = parseInt(w, 8), W(ot, A);
|
|
4992
4905
|
}
|
|
@@ -5076,8 +4989,8 @@ function of() {
|
|
|
5076
4989
|
De && (f += t.charAt(o)), ++o;
|
|
5077
4990
|
else if (E === 92) {
|
|
5078
4991
|
De || (f = t.slice(_, o)), De = !0, t.charCodeAt(++o) !== 117 && I(o, "Expecting Unicode escape sequence \\uXXXX"), ++o;
|
|
5079
|
-
var
|
|
5080
|
-
w || I(o - 1, "Invalid Unicode escape"), (d ? ft(
|
|
4992
|
+
var k = pt(4), w = String.fromCharCode(k);
|
|
4993
|
+
w || I(o - 1, "Invalid Unicode escape"), (d ? ft(k) : ln(k)) || I(o - 4, "Invalid Unicode escape"), f += w;
|
|
5081
4994
|
} else
|
|
5082
4995
|
break;
|
|
5083
4996
|
d = !1;
|
|
@@ -5089,7 +5002,7 @@ function of() {
|
|
|
5089
5002
|
!De && Zi(f) && (d = Bi[f]), W(d, f);
|
|
5090
5003
|
}
|
|
5091
5004
|
function L() {
|
|
5092
|
-
We = p, re =
|
|
5005
|
+
We = p, re = h, ke = T, Le();
|
|
5093
5006
|
}
|
|
5094
5007
|
function Bt(f) {
|
|
5095
5008
|
if (q = f, o = p, r.locations)
|
|
@@ -5112,7 +5025,7 @@ function of() {
|
|
|
5112
5025
|
var d = new hn();
|
|
5113
5026
|
return d.start = f.start, r.locations && (d.loc = new yn(), d.loc.start = f.loc.start), r.ranges && (d.range = [f.range[0], 0]), d;
|
|
5114
5027
|
}
|
|
5115
|
-
function
|
|
5028
|
+
function C(f, d) {
|
|
5116
5029
|
return f.type = d, f.end = re, r.locations && (f.loc.end = ke), r.ranges && (f.range[1] = re), f;
|
|
5117
5030
|
}
|
|
5118
5031
|
function Vt(f) {
|
|
@@ -5143,7 +5056,7 @@ function of() {
|
|
|
5143
5056
|
var E = ne();
|
|
5144
5057
|
d.body.push(E), _ && Vt(E) && Bt(!0), _ = !1;
|
|
5145
5058
|
}
|
|
5146
|
-
return
|
|
5059
|
+
return C(d, "Program");
|
|
5147
5060
|
}
|
|
5148
5061
|
var Gt = { kind: "loop" }, vo = { kind: "switch" };
|
|
5149
5062
|
function ne() {
|
|
@@ -5156,15 +5069,15 @@ function of() {
|
|
|
5156
5069
|
var _ = f === At;
|
|
5157
5070
|
$(ce) || dt() ? d.label = null : R !== Ae ? fe() : (d.label = ve(), xe());
|
|
5158
5071
|
for (var E = 0; E < B.length; ++E) {
|
|
5159
|
-
var
|
|
5160
|
-
if ((d.label === null ||
|
|
5072
|
+
var k = B[E];
|
|
5073
|
+
if ((d.label === null || k.name === d.label.name) && (k.kind !== null && (_ || k.kind === "loop") || d.label && _))
|
|
5161
5074
|
break;
|
|
5162
5075
|
}
|
|
5163
|
-
return E === B.length && I(d.start, "Unsyntactic " + f.keyword),
|
|
5076
|
+
return E === B.length && I(d.start, "Unsyntactic " + f.keyword), C(d, _ ? "BreakStatement" : "ContinueStatement");
|
|
5164
5077
|
case Mr:
|
|
5165
|
-
return L(), xe(),
|
|
5078
|
+
return L(), xe(), C(d, "DebuggerStatement");
|
|
5166
5079
|
case Fr:
|
|
5167
|
-
return L(), B.push(Gt), d.body = ne(), B.pop(), V(jt), d.test = Je(), xe(),
|
|
5080
|
+
return L(), B.push(Gt), d.body = ne(), B.pop(), V(jt), d.test = Je(), xe(), C(d, "DoWhileStatement");
|
|
5168
5081
|
// Disambiguating between a `for` and a `for`/`in` loop is
|
|
5169
5082
|
// non-trivial. Basically, we have to parse the init `var`
|
|
5170
5083
|
// statement or expression, disallowing the `in` operator (see
|
|
@@ -5176,43 +5089,43 @@ function of() {
|
|
|
5176
5089
|
if (L(), B.push(Gt), V(le), R === ce) return Wt(d, null);
|
|
5177
5090
|
if (R === Mt) {
|
|
5178
5091
|
var w = z();
|
|
5179
|
-
return L(), vn(w, !0),
|
|
5092
|
+
return L(), vn(w, !0), C(w, "VariableDeclaration"), w.declarations.length === 1 && $(at) ? mn(d, w) : Wt(d, w);
|
|
5180
5093
|
}
|
|
5181
5094
|
var w = X(!1, !0);
|
|
5182
5095
|
return $(at) ? (ht(w), mn(d, w)) : Wt(d, w);
|
|
5183
5096
|
case Lt:
|
|
5184
5097
|
return L(), Jt(d, !0);
|
|
5185
5098
|
case Vr:
|
|
5186
|
-
return L(), d.test = Je(), d.consequent = ne(), d.alternate = $(Ur) ? ne() : null,
|
|
5099
|
+
return L(), d.test = Je(), d.consequent = ne(), d.alternate = $(Ur) ? ne() : null, C(d, "IfStatement");
|
|
5187
5100
|
case Gr:
|
|
5188
|
-
return !Ee && !r.allowReturnOutsideFunction && I(p, "'return' outside of function"), L(), $(ce) || dt() ? d.argument = null : (d.argument = X(), xe()),
|
|
5101
|
+
return !Ee && !r.allowReturnOutsideFunction && I(p, "'return' outside of function"), L(), $(ce) || dt() ? d.argument = null : (d.argument = X(), xe()), C(d, "ReturnStatement");
|
|
5189
5102
|
case Dt:
|
|
5190
5103
|
L(), d.discriminant = Je(), d.cases = [], V(Ye), B.push(vo);
|
|
5191
5104
|
for (var A, U; R !== Ie; )
|
|
5192
5105
|
if (R === It || R === jr) {
|
|
5193
5106
|
var Ze = R === It;
|
|
5194
|
-
A &&
|
|
5107
|
+
A && C(A, "SwitchCase"), d.cases.push(A = z()), A.consequent = [], L(), Ze ? A.test = X() : (U && I(We, "Multiple default clauses"), U = !0, A.test = null), V(ze);
|
|
5195
5108
|
} else
|
|
5196
5109
|
A || fe(), A.consequent.push(ne());
|
|
5197
|
-
return A &&
|
|
5110
|
+
return A && C(A, "SwitchCase"), L(), B.pop(), C(d, "SwitchStatement");
|
|
5198
5111
|
case Wr:
|
|
5199
|
-
return L(), lt.test(t.slice(re, p)) && I(re, "Illegal newline after throw"), d.argument = X(), xe(),
|
|
5112
|
+
return L(), lt.test(t.slice(re, p)) && I(re, "Illegal newline after throw"), d.argument = X(), xe(), C(d, "ThrowStatement");
|
|
5200
5113
|
case Yr:
|
|
5201
5114
|
if (L(), d.block = Ke(), d.handler = null, R === Lr) {
|
|
5202
5115
|
var Me = z();
|
|
5203
|
-
L(), V(le), Me.param = ve(), q && ut(Me.param.name) && I(Me.param.start, "Binding " + Me.param.name + " in strict mode"), V(ae), Me.body = Ke(), d.handler =
|
|
5116
|
+
L(), V(le), Me.param = ve(), q && ut(Me.param.name) && I(Me.param.start, "Binding " + Me.param.name + " in strict mode"), V(ae), Me.body = Ke(), d.handler = C(Me, "CatchClause");
|
|
5204
5117
|
}
|
|
5205
|
-
return d.finalizer = $($r) ? Ke() : null, !d.handler && !d.finalizer && I(d.start, "Missing catch or finally clause"),
|
|
5118
|
+
return d.finalizer = $($r) ? Ke() : null, !d.handler && !d.finalizer && I(d.start, "Missing catch or finally clause"), C(d, "TryStatement");
|
|
5206
5119
|
case Mt:
|
|
5207
|
-
return L(), vn(d), xe(),
|
|
5120
|
+
return L(), vn(d), xe(), C(d, "VariableDeclaration");
|
|
5208
5121
|
case jt:
|
|
5209
|
-
return L(), d.test = Je(), B.push(Gt), d.body = ne(), B.pop(),
|
|
5122
|
+
return L(), d.test = Je(), B.push(Gt), d.body = ne(), B.pop(), C(d, "WhileStatement");
|
|
5210
5123
|
case zr:
|
|
5211
|
-
return q && I(p, "'with' in strict mode"), L(), d.object = Je(), d.body = ne(),
|
|
5124
|
+
return q && I(p, "'with' in strict mode"), L(), d.object = Je(), d.body = ne(), C(d, "WithStatement");
|
|
5212
5125
|
case Ye:
|
|
5213
5126
|
return Ke();
|
|
5214
5127
|
case ce:
|
|
5215
|
-
return L(),
|
|
5128
|
+
return L(), C(d, "EmptyStatement");
|
|
5216
5129
|
// If the statement does not start with a statement keyword or a
|
|
5217
5130
|
// brace, it's an ExpressionStatement or LabeledStatement. We
|
|
5218
5131
|
// simply start parsing an expression, and afterwards, if the
|
|
@@ -5224,9 +5137,9 @@ function of() {
|
|
|
5224
5137
|
for (var E = 0; E < B.length; ++E)
|
|
5225
5138
|
B[E].name === qt && I(yt.start, "Label '" + qt + "' is already declared");
|
|
5226
5139
|
var So = R.isLoop ? "loop" : R === Dt ? "switch" : null;
|
|
5227
|
-
return B.push({ name: qt, kind: So }), d.body = ne(), B.pop(), d.label = yt,
|
|
5140
|
+
return B.push({ name: qt, kind: So }), d.body = ne(), B.pop(), d.label = yt, C(d, "LabeledStatement");
|
|
5228
5141
|
} else
|
|
5229
|
-
return d.expression = yt, xe(),
|
|
5142
|
+
return d.expression = yt, xe(), C(d, "ExpressionStatement");
|
|
5230
5143
|
}
|
|
5231
5144
|
}
|
|
5232
5145
|
function Je() {
|
|
@@ -5235,23 +5148,23 @@ function of() {
|
|
|
5235
5148
|
return V(ae), f;
|
|
5236
5149
|
}
|
|
5237
5150
|
function Ke(f) {
|
|
5238
|
-
var d = z(), _ = !0, E = !1,
|
|
5151
|
+
var d = z(), _ = !0, E = !1, k;
|
|
5239
5152
|
for (d.body = [], V(Ye); !$(Ie); ) {
|
|
5240
5153
|
var w = ne();
|
|
5241
|
-
d.body.push(w), _ && f && Vt(w) && (
|
|
5154
|
+
d.body.push(w), _ && f && Vt(w) && (k = E, Bt(E = !0)), _ = !1;
|
|
5242
5155
|
}
|
|
5243
|
-
return E && !
|
|
5156
|
+
return E && !k && Bt(!1), C(d, "BlockStatement");
|
|
5244
5157
|
}
|
|
5245
5158
|
function Wt(f, d) {
|
|
5246
|
-
return f.init = d, V(ce), f.test = R === ce ? null : X(), V(ce), f.update = R === ae ? null : X(), V(ae), f.body = ne(), B.pop(),
|
|
5159
|
+
return f.init = d, V(ce), f.test = R === ce ? null : X(), V(ce), f.update = R === ae ? null : X(), V(ae), f.body = ne(), B.pop(), C(f, "ForStatement");
|
|
5247
5160
|
}
|
|
5248
5161
|
function mn(f, d) {
|
|
5249
|
-
return f.left = d, f.right = X(), V(ae), f.body = ne(), B.pop(),
|
|
5162
|
+
return f.left = d, f.right = X(), V(ae), f.body = ne(), B.pop(), C(f, "ForInStatement");
|
|
5250
5163
|
}
|
|
5251
5164
|
function vn(f, d) {
|
|
5252
5165
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
5253
5166
|
var _ = z();
|
|
5254
|
-
if (_.id = ve(), q && ut(_.id.name) && I(_.id.start, "Binding " + _.id.name + " in strict mode"), _.init = $(tn) ? X(!0, d) : null, f.declarations.push(
|
|
5167
|
+
if (_.id = ve(), q && ut(_.id.name) && I(_.id.start, "Binding " + _.id.name + " in strict mode"), _.init = $(tn) ? X(!0, d) : null, f.declarations.push(C(_, "VariableDeclarator")), !$(ye)) break;
|
|
5255
5168
|
}
|
|
5256
5169
|
}
|
|
5257
5170
|
function X(f, d) {
|
|
@@ -5259,7 +5172,7 @@ function of() {
|
|
|
5259
5172
|
if (!f && R === ye) {
|
|
5260
5173
|
var E = me(_);
|
|
5261
5174
|
for (E.expressions = [_]; $(ye); ) E.expressions.push(Yt(d));
|
|
5262
|
-
return
|
|
5175
|
+
return C(E, "SequenceExpression");
|
|
5263
5176
|
}
|
|
5264
5177
|
return _;
|
|
5265
5178
|
}
|
|
@@ -5267,7 +5180,7 @@ function of() {
|
|
|
5267
5180
|
var d = bo(f);
|
|
5268
5181
|
if (R.isAssign) {
|
|
5269
5182
|
var _ = me(d);
|
|
5270
|
-
return _.operator = N, _.left = d, L(), _.right = Yt(f), ht(d),
|
|
5183
|
+
return _.operator = N, _.left = d, L(), _.right = Yt(f), ht(d), C(_, "AssignmentExpression");
|
|
5271
5184
|
}
|
|
5272
5185
|
return d;
|
|
5273
5186
|
}
|
|
@@ -5275,7 +5188,7 @@ function of() {
|
|
|
5275
5188
|
var d = _o(f);
|
|
5276
5189
|
if ($(Qr)) {
|
|
5277
5190
|
var _ = me(d);
|
|
5278
|
-
return _.test = d, _.consequent = X(!0), V(ze), _.alternate = X(!0, f),
|
|
5191
|
+
return _.test = d, _.consequent = X(!0), V(ze), _.alternate = X(!0, f), C(_, "ConditionalExpression");
|
|
5279
5192
|
}
|
|
5280
5193
|
return d;
|
|
5281
5194
|
}
|
|
@@ -5285,11 +5198,11 @@ function of() {
|
|
|
5285
5198
|
function zt(f, d, _) {
|
|
5286
5199
|
var E = R.binop;
|
|
5287
5200
|
if (E !== null && (!_ || R !== at) && E > d) {
|
|
5288
|
-
var
|
|
5289
|
-
|
|
5201
|
+
var k = me(f);
|
|
5202
|
+
k.left = f, k.operator = N;
|
|
5290
5203
|
var w = R;
|
|
5291
|
-
L(),
|
|
5292
|
-
var A =
|
|
5204
|
+
L(), k.right = zt(Xt(), E, _);
|
|
5205
|
+
var A = C(k, w === nn || w === on ? "LogicalExpression" : "BinaryExpression");
|
|
5293
5206
|
return zt(A, d, _);
|
|
5294
5207
|
}
|
|
5295
5208
|
return f;
|
|
@@ -5297,11 +5210,11 @@ function of() {
|
|
|
5297
5210
|
function Xt() {
|
|
5298
5211
|
if (R.prefix) {
|
|
5299
5212
|
var f = z(), d = R.isUpdate;
|
|
5300
|
-
return f.operator = N, f.prefix = !0,
|
|
5213
|
+
return f.operator = N, f.prefix = !0, P = !0, L(), f.argument = Xt(), d ? ht(f.argument) : q && f.operator === "delete" && f.argument.type === "Identifier" && I(f.start, "Deleting local variable in strict mode"), C(f, d ? "UpdateExpression" : "UnaryExpression");
|
|
5301
5214
|
}
|
|
5302
5215
|
for (var _ = go(); R.postfix && !dt(); ) {
|
|
5303
5216
|
var f = me(_);
|
|
5304
|
-
f.operator = N, f.prefix = !1, f.argument = _, ht(_), L(), _ =
|
|
5217
|
+
f.operator = N, f.prefix = !1, f.argument = _, ht(_), L(), _ = C(f, "UpdateExpression");
|
|
5305
5218
|
}
|
|
5306
5219
|
return _;
|
|
5307
5220
|
}
|
|
@@ -5310,30 +5223,30 @@ function of() {
|
|
|
5310
5223
|
}
|
|
5311
5224
|
function qe(f, d) {
|
|
5312
5225
|
var _;
|
|
5313
|
-
return $(Zr) ? (_ = me(f), _.object = f, _.property = ve(!0), _.computed = !1, qe(
|
|
5226
|
+
return $(Zr) ? (_ = me(f), _.object = f, _.property = ve(!0), _.computed = !1, qe(C(_, "MemberExpression"), d)) : $(Ft) ? (_ = me(f), _.object = f, _.property = X(), _.computed = !0, V(Ut), qe(C(_, "MemberExpression"), d)) : !d && $(le) ? (_ = me(f), _.callee = f, _.arguments = Kt(ae, !1), qe(C(_, "CallExpression"), d)) : f;
|
|
5314
5227
|
}
|
|
5315
5228
|
function Ht() {
|
|
5316
5229
|
var f;
|
|
5317
5230
|
switch (R) {
|
|
5318
5231
|
case Hr:
|
|
5319
|
-
return f = z(), L(),
|
|
5232
|
+
return f = z(), L(), C(f, "ThisExpression");
|
|
5320
5233
|
case Ae:
|
|
5321
5234
|
return ve();
|
|
5322
5235
|
case ot:
|
|
5323
5236
|
case Ct:
|
|
5324
5237
|
case Ir:
|
|
5325
|
-
return f = z(), f.value = N, f.raw = t.slice(p,
|
|
5238
|
+
return f = z(), f.value = N, f.raw = t.slice(p, h), L(), C(f, "Literal");
|
|
5326
5239
|
case Jr:
|
|
5327
5240
|
case Kr:
|
|
5328
5241
|
case qr:
|
|
5329
|
-
return f = z(), f.value = R.atomValue, f.raw = R.keyword, L(),
|
|
5242
|
+
return f = z(), f.value = R.atomValue, f.raw = R.keyword, L(), C(f, "Literal");
|
|
5330
5243
|
case le:
|
|
5331
5244
|
var d = b, _ = p;
|
|
5332
5245
|
L();
|
|
5333
5246
|
var E = X();
|
|
5334
|
-
return E.start = _, E.end =
|
|
5247
|
+
return E.start = _, E.end = h, r.locations && (E.loc.start = d, E.loc.end = T), r.ranges && (E.range = [_, h]), V(ae), E;
|
|
5335
5248
|
case Ft:
|
|
5336
|
-
return f = z(), L(), f.elements = Kt(Ut, !0, !0),
|
|
5249
|
+
return f = z(), L(), f.elements = Kt(Ut, !0, !0), C(f, "ArrayExpression");
|
|
5337
5250
|
case Ye:
|
|
5338
5251
|
return Ro();
|
|
5339
5252
|
case Lt:
|
|
@@ -5345,7 +5258,7 @@ function of() {
|
|
|
5345
5258
|
}
|
|
5346
5259
|
function Eo() {
|
|
5347
5260
|
var f = z();
|
|
5348
|
-
return L(), f.callee = qe(Ht(), !0), f.arguments = $(le) ? Kt(ae, !1) : $i,
|
|
5261
|
+
return L(), f.callee = qe(Ht(), !0), f.arguments = $(le) ? Kt(ae, !1) : $i, C(f, "NewExpression");
|
|
5349
5262
|
}
|
|
5350
5263
|
function Ro() {
|
|
5351
5264
|
var f = z(), d = !0, _ = !1;
|
|
@@ -5354,18 +5267,18 @@ function of() {
|
|
|
5354
5267
|
d = !1;
|
|
5355
5268
|
else if (V(ye), r.allowTrailingCommas && $(Ie))
|
|
5356
5269
|
break;
|
|
5357
|
-
var E = { key: bn() },
|
|
5358
|
-
if ($(ze) ? (E.value = X(!0), w = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (
|
|
5270
|
+
var E = { key: bn() }, k = !1, w;
|
|
5271
|
+
if ($(ze) ? (E.value = X(!0), w = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (k = _ = !0, w = E.kind = E.key.name, E.key = bn(), R !== le && fe(), E.value = Jt(z(), !1)) : fe(), E.key.type === "Identifier" && (q || _))
|
|
5359
5272
|
for (var A = 0; A < f.properties.length; ++A) {
|
|
5360
5273
|
var U = f.properties[A];
|
|
5361
5274
|
if (U.key.name === E.key.name) {
|
|
5362
|
-
var Ze = w === U.kind ||
|
|
5275
|
+
var Ze = w === U.kind || k && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5363
5276
|
Ze && !q && w === "init" && U.kind === "init" && (Ze = !1), Ze && I(E.key.start, "Redefinition of property");
|
|
5364
5277
|
}
|
|
5365
5278
|
}
|
|
5366
5279
|
f.properties.push(E);
|
|
5367
5280
|
}
|
|
5368
|
-
return
|
|
5281
|
+
return C(f, "ObjectExpression");
|
|
5369
5282
|
}
|
|
5370
5283
|
function bn() {
|
|
5371
5284
|
return R === ot || R === Ct ? Ht() : ve(!0);
|
|
@@ -5375,20 +5288,20 @@ function of() {
|
|
|
5375
5288
|
var _ = !0;
|
|
5376
5289
|
for (V(le); !$(ae); )
|
|
5377
5290
|
_ ? _ = !1 : V(ye), f.params.push(ve());
|
|
5378
|
-
var E = Ee,
|
|
5379
|
-
if (Ee = !0, B = [], f.body = Ke(!0), Ee = E, B =
|
|
5291
|
+
var E = Ee, k = B;
|
|
5292
|
+
if (Ee = !0, B = [], f.body = Ke(!0), Ee = E, B = k, q || f.body.body.length && Vt(f.body.body[0]))
|
|
5380
5293
|
for (var w = f.id ? -1 : 0; w < f.params.length; ++w) {
|
|
5381
5294
|
var A = w < 0 ? f.id : f.params[w];
|
|
5382
5295
|
if ((an(A.name) || ut(A.name)) && I(A.start, "Defining '" + A.name + "' in strict mode"), w >= 0)
|
|
5383
5296
|
for (var U = 0; U < w; ++U)
|
|
5384
5297
|
A.name === f.params[U].name && I(A.start, "Argument name clash in strict mode");
|
|
5385
5298
|
}
|
|
5386
|
-
return
|
|
5299
|
+
return C(f, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5387
5300
|
}
|
|
5388
5301
|
function Kt(f, d, _) {
|
|
5389
|
-
for (var E = [],
|
|
5390
|
-
if (
|
|
5391
|
-
|
|
5302
|
+
for (var E = [], k = !0; !$(f); ) {
|
|
5303
|
+
if (k)
|
|
5304
|
+
k = !1;
|
|
5392
5305
|
else if (V(ye), d && r.allowTrailingCommas && $(f))
|
|
5393
5306
|
break;
|
|
5394
5307
|
E.push(_ && R === ye ? null : X(!0));
|
|
@@ -5397,7 +5310,7 @@ function of() {
|
|
|
5397
5310
|
}
|
|
5398
5311
|
function ve(f) {
|
|
5399
5312
|
var d = z();
|
|
5400
|
-
return f && r.forbidReserved === "everywhere" && (f = !1), R === Ae ? (!f && (r.forbidReserved && qi(N) || q && an(N)) && t.slice(p,
|
|
5313
|
+
return f && r.forbidReserved === "everywhere" && (f = !1), R === Ae ? (!f && (r.forbidReserved && qi(N) || q && an(N)) && t.slice(p, h).indexOf("\\") === -1 && I(p, "The keyword '" + N + "' is reserved"), d.name = N) : f && R.keyword ? d.name = R.keyword : fe(), P = !1, L(), C(d, "Identifier");
|
|
5401
5314
|
}
|
|
5402
5315
|
});
|
|
5403
5316
|
}
|
|
@@ -5409,16 +5322,16 @@ function of() {
|
|
|
5409
5322
|
\*********************/
|
|
5410
5323
|
/***/
|
|
5411
5324
|
(v) => {
|
|
5412
|
-
v.exports =
|
|
5325
|
+
v.exports = Kl;
|
|
5413
5326
|
}
|
|
5414
5327
|
)
|
|
5415
5328
|
/******/
|
|
5416
|
-
},
|
|
5329
|
+
}, y = {};
|
|
5417
5330
|
function m(v) {
|
|
5418
|
-
var
|
|
5419
|
-
if (
|
|
5420
|
-
return
|
|
5421
|
-
var S =
|
|
5331
|
+
var x = y[v];
|
|
5332
|
+
if (x !== void 0)
|
|
5333
|
+
return x.exports;
|
|
5334
|
+
var S = y[v] = {
|
|
5422
5335
|
/******/
|
|
5423
5336
|
// no module.id needed
|
|
5424
5337
|
/******/
|
|
@@ -5429,10 +5342,10 @@ function of() {
|
|
|
5429
5342
|
};
|
|
5430
5343
|
return c[v].call(S.exports, S, S.exports, m), S.exports;
|
|
5431
5344
|
}
|
|
5432
|
-
m.d = (v,
|
|
5433
|
-
for (var S in
|
|
5434
|
-
m.o(
|
|
5435
|
-
}, m.o = (v,
|
|
5345
|
+
m.d = (v, x) => {
|
|
5346
|
+
for (var S in x)
|
|
5347
|
+
m.o(x, S) && !m.o(v, S) && Object.defineProperty(v, S, { enumerable: !0, get: x[S] });
|
|
5348
|
+
}, m.o = (v, x) => Object.prototype.hasOwnProperty.call(v, x), m.r = (v) => {
|
|
5436
5349
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(v, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(v, "__esModule", { value: !0 });
|
|
5437
5350
|
};
|
|
5438
5351
|
var g = {};
|
|
@@ -5450,39 +5363,39 @@ function of() {
|
|
|
5450
5363
|
"./original-repo/acorn.js"
|
|
5451
5364
|
);
|
|
5452
5365
|
globalThis.acorn = v;
|
|
5453
|
-
const { Interpreter:
|
|
5366
|
+
const { Interpreter: x } = m(
|
|
5454
5367
|
/*! ../original-repo/interpreter */
|
|
5455
5368
|
"./original-repo/interpreter.js"
|
|
5456
|
-
), S =
|
|
5369
|
+
), S = x;
|
|
5457
5370
|
})(), g = g.default, g;
|
|
5458
5371
|
})()
|
|
5459
5372
|
));
|
|
5460
5373
|
}(gt)), gt.exports;
|
|
5461
5374
|
}
|
|
5462
|
-
var
|
|
5463
|
-
const
|
|
5464
|
-
function
|
|
5465
|
-
function c(
|
|
5466
|
-
const S = i.pseudoToNative(
|
|
5375
|
+
var Ql = Zl();
|
|
5376
|
+
const ec = /* @__PURE__ */ zl(Ql);
|
|
5377
|
+
function tc(i, a) {
|
|
5378
|
+
function c(x) {
|
|
5379
|
+
const S = i.pseudoToNative(x);
|
|
5467
5380
|
console.log(S);
|
|
5468
5381
|
}
|
|
5469
|
-
function
|
|
5470
|
-
const S = i.pseudoToNative(
|
|
5382
|
+
function y(x) {
|
|
5383
|
+
const S = i.pseudoToNative(x);
|
|
5471
5384
|
let r = "";
|
|
5472
5385
|
typeof S == "object" ? r = JSON.stringify(S) : r = String(S), Ue.emit("consoleAppend", r);
|
|
5473
5386
|
}
|
|
5474
|
-
function m(
|
|
5475
|
-
const r = i.pseudoToNative(
|
|
5476
|
-
r === "info" ?
|
|
5387
|
+
function m(x, S) {
|
|
5388
|
+
const r = i.pseudoToNative(x), t = i.pseudoToNative(S);
|
|
5389
|
+
r === "info" ? Ao(t) : r === "success" ? Io(t) : r === "warning" ? Lo(t) : r === "error" && Do(t);
|
|
5477
5390
|
}
|
|
5478
|
-
function g(
|
|
5479
|
-
const r = i.pseudoToNative(
|
|
5391
|
+
function g(x, S) {
|
|
5392
|
+
const r = i.pseudoToNative(x), t = i.pseudoToNative(S);
|
|
5480
5393
|
setTimeout(() => {
|
|
5481
5394
|
i.appendCode(`__timeoutCallbackV1__(${r})`), i.run();
|
|
5482
5395
|
}, t);
|
|
5483
5396
|
}
|
|
5484
|
-
function v(
|
|
5485
|
-
const r = i.pseudoToNative(
|
|
5397
|
+
function v(x, S) {
|
|
5398
|
+
const r = i.pseudoToNative(x);
|
|
5486
5399
|
setTimeout(() => {
|
|
5487
5400
|
S(), i.run();
|
|
5488
5401
|
}, r);
|
|
@@ -5494,7 +5407,7 @@ function uf(i, a) {
|
|
|
5494
5407
|
), i.setProperty(
|
|
5495
5408
|
a,
|
|
5496
5409
|
"__debugTraceV1__",
|
|
5497
|
-
i.createNativeFunction(
|
|
5410
|
+
i.createNativeFunction(y)
|
|
5498
5411
|
), i.setProperty(
|
|
5499
5412
|
a,
|
|
5500
5413
|
"__messageV1__",
|
|
@@ -5509,40 +5422,40 @@ function uf(i, a) {
|
|
|
5509
5422
|
i.createAsyncFunction(v)
|
|
5510
5423
|
);
|
|
5511
5424
|
}
|
|
5512
|
-
class
|
|
5425
|
+
class rc {
|
|
5513
5426
|
constructor(a) {
|
|
5514
5427
|
Zt(this, "context");
|
|
5515
5428
|
Zt(this, "nodes");
|
|
5516
5429
|
this.context = a, this.nodes = {};
|
|
5517
|
-
const c = (
|
|
5430
|
+
const c = (y) => {
|
|
5518
5431
|
var m;
|
|
5519
|
-
this.nodes[
|
|
5432
|
+
this.nodes[y.basic.id] = y, (m = y.children) == null || m.forEach((g) => c(g));
|
|
5520
5433
|
};
|
|
5521
|
-
this.context.data.view.nodes.forEach((
|
|
5434
|
+
this.context.data.view.nodes.forEach((y) => c(y));
|
|
5522
5435
|
}
|
|
5523
5436
|
getNode(a) {
|
|
5524
5437
|
return this.nodes[a];
|
|
5525
5438
|
}
|
|
5526
|
-
addNode(a, c,
|
|
5527
|
-
const m = `parent=${a} ref=${c} keyOrRefid=${
|
|
5439
|
+
addNode(a, c, y) {
|
|
5440
|
+
const m = `parent=${a} ref=${c} keyOrRefid=${y}`;
|
|
5528
5441
|
let g;
|
|
5529
5442
|
if (a) {
|
|
5530
|
-
const
|
|
5531
|
-
if (!
|
|
5443
|
+
const x = this.getNode(a);
|
|
5444
|
+
if (!x)
|
|
5532
5445
|
return console.error(`NodeMgr/addNode parent not found, ${m}`), "";
|
|
5533
|
-
if (!
|
|
5446
|
+
if (!x.children)
|
|
5534
5447
|
return console.error(`NodeMgr/addNode parent no children, ${m}`), "";
|
|
5535
|
-
g =
|
|
5448
|
+
g = x.children;
|
|
5536
5449
|
} else
|
|
5537
5450
|
g = this.context.data.view.nodes;
|
|
5538
5451
|
if (!g)
|
|
5539
5452
|
return "";
|
|
5540
|
-
const v =
|
|
5453
|
+
const v = gl(
|
|
5541
5454
|
this.context.type,
|
|
5542
5455
|
this.context.data.type,
|
|
5543
5456
|
this.context.data.version,
|
|
5544
5457
|
c,
|
|
5545
|
-
|
|
5458
|
+
y
|
|
5546
5459
|
);
|
|
5547
5460
|
return v ? (g.push(v), this.nodes[v.basic.id] = v, v.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${m}`), "");
|
|
5548
5461
|
}
|
|
@@ -5550,70 +5463,70 @@ class lf {
|
|
|
5550
5463
|
this.getNode(a);
|
|
5551
5464
|
}
|
|
5552
5465
|
}
|
|
5553
|
-
function
|
|
5554
|
-
const
|
|
5466
|
+
function nc(i, a, c) {
|
|
5467
|
+
const y = new rc(i);
|
|
5555
5468
|
function m(e, n, u) {
|
|
5556
|
-
const s = a.pseudoToNative(e), l = a.pseudoToNative(n), o = a.pseudoToNative(u), p =
|
|
5469
|
+
const s = a.pseudoToNative(e), l = a.pseudoToNative(n), o = a.pseudoToNative(u), p = y.addNode(s, l, o);
|
|
5557
5470
|
return a.nativeToPseudo(p);
|
|
5558
5471
|
}
|
|
5559
5472
|
function g(e) {
|
|
5560
5473
|
const n = a.pseudoToNative(e);
|
|
5561
|
-
|
|
5474
|
+
y.deleteNode(n);
|
|
5562
5475
|
}
|
|
5563
5476
|
function v(e, n) {
|
|
5564
5477
|
const u = a.pseudoToNative(e), s = a.pseudoToNative(n), l = `id=${u} keys=${s}`;
|
|
5565
5478
|
let o;
|
|
5566
|
-
if (u === "globality" ? o = i.data.view : o =
|
|
5479
|
+
if (u === "globality" ? o = i.data.view : o = y.getNode(u), !o) {
|
|
5567
5480
|
console.error(`getNodePropV1 node not found, ${l}`);
|
|
5568
5481
|
return;
|
|
5569
5482
|
}
|
|
5570
|
-
const p = s.split("."),
|
|
5571
|
-
for (let b = 0; b <
|
|
5572
|
-
const
|
|
5573
|
-
if (b ===
|
|
5574
|
-
return a.nativeToPseudo(o[
|
|
5483
|
+
const p = s.split("."), h = p.length;
|
|
5484
|
+
for (let b = 0; b < h; b++) {
|
|
5485
|
+
const T = p[b];
|
|
5486
|
+
if (b === h - 1)
|
|
5487
|
+
return a.nativeToPseudo(o[T]);
|
|
5575
5488
|
if (!o) {
|
|
5576
5489
|
console.error(`getNodePropV1 unpkg failed, ${l}`);
|
|
5577
5490
|
return;
|
|
5578
5491
|
}
|
|
5579
|
-
o = o[
|
|
5492
|
+
o = o[T];
|
|
5580
5493
|
}
|
|
5581
5494
|
}
|
|
5582
|
-
function
|
|
5495
|
+
function x(e, n, u) {
|
|
5583
5496
|
const s = a.pseudoToNative(e), l = a.pseudoToNative(n), o = a.pseudoToNative(u), p = `id=${s} keys=${l} value=${o}`;
|
|
5584
|
-
let
|
|
5585
|
-
if (s === "globality" ?
|
|
5497
|
+
let h;
|
|
5498
|
+
if (s === "globality" ? h = i.data.view : h = y.getNode(s), !h) {
|
|
5586
5499
|
console.error(`setNodePropV1 node not found, ${p}`);
|
|
5587
5500
|
return;
|
|
5588
5501
|
}
|
|
5589
|
-
const b = l.split("."),
|
|
5590
|
-
for (let R = 0; R <
|
|
5502
|
+
const b = l.split("."), T = b.length;
|
|
5503
|
+
for (let R = 0; R < T; R++) {
|
|
5591
5504
|
const N = b[R];
|
|
5592
|
-
if (R ===
|
|
5593
|
-
|
|
5505
|
+
if (R === T - 1)
|
|
5506
|
+
h[N] = o;
|
|
5594
5507
|
else {
|
|
5595
|
-
if (!
|
|
5508
|
+
if (!h) {
|
|
5596
5509
|
console.error(`setNodePropV1 unpkg failed, ${p}`);
|
|
5597
5510
|
return;
|
|
5598
5511
|
}
|
|
5599
|
-
|
|
5512
|
+
h = h[N];
|
|
5600
5513
|
}
|
|
5601
5514
|
}
|
|
5602
5515
|
}
|
|
5603
5516
|
function S(e, n, u, s) {
|
|
5604
|
-
const l = a.pseudoToNative(e), o = a.pseudoToNative(n), p = a.pseudoToNative(u),
|
|
5605
|
-
Ue.emit(`callMethod@${l}`, { name: o, inputs: p, result:
|
|
5517
|
+
const l = a.pseudoToNative(e), o = a.pseudoToNative(n), p = a.pseudoToNative(u), h = { outputs: [] };
|
|
5518
|
+
Ue.emit(`callMethod@${l}`, { name: o, inputs: p, result: h }), s(a.nativeToPseudo(h.outputs)), a.run();
|
|
5606
5519
|
}
|
|
5607
5520
|
function r(e, n, u) {
|
|
5608
5521
|
const s = a.pseudoToNative(e), l = a.pseudoToNative(n);
|
|
5609
|
-
|
|
5522
|
+
Mo({ title: s, text: l }).then((o) => {
|
|
5610
5523
|
u(a.nativeToPseudo(o)), a.run();
|
|
5611
5524
|
});
|
|
5612
5525
|
}
|
|
5613
5526
|
function t(e, n, u, s) {
|
|
5614
5527
|
const l = a.pseudoToNative(e), o = a.pseudoToNative(n), p = a.pseudoToNative(u);
|
|
5615
|
-
|
|
5616
|
-
s(a.nativeToPseudo(
|
|
5528
|
+
jo({ title: l, label: o, value: p }).then((h) => {
|
|
5529
|
+
s(a.nativeToPseudo(h)), a.run();
|
|
5617
5530
|
});
|
|
5618
5531
|
}
|
|
5619
5532
|
a.setProperty(
|
|
@@ -5631,7 +5544,7 @@ function cf(i, a, c) {
|
|
|
5631
5544
|
), a.setProperty(
|
|
5632
5545
|
c,
|
|
5633
5546
|
"__setNodePropV1__",
|
|
5634
|
-
a.createNativeFunction(
|
|
5547
|
+
a.createNativeFunction(x)
|
|
5635
5548
|
), a.setProperty(
|
|
5636
5549
|
c,
|
|
5637
5550
|
"__callNodeMethodV1__",
|
|
@@ -5646,16 +5559,16 @@ function cf(i, a, c) {
|
|
|
5646
5559
|
a.createAsyncFunction(t)
|
|
5647
5560
|
);
|
|
5648
5561
|
}
|
|
5649
|
-
function
|
|
5650
|
-
|
|
5562
|
+
function ic(i, a, c) {
|
|
5563
|
+
tc(a, c), nc(i, a, c);
|
|
5651
5564
|
}
|
|
5652
|
-
const
|
|
5565
|
+
const oc = `
|
|
5653
5566
|
var __env__ = 'dev'
|
|
5654
5567
|
|
|
5655
5568
|
function __getEnvV1__() {
|
|
5656
5569
|
return __env__
|
|
5657
5570
|
}
|
|
5658
|
-
`,
|
|
5571
|
+
`, ac = `
|
|
5659
5572
|
var __events__ = {}
|
|
5660
5573
|
|
|
5661
5574
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5726,7 +5639,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5726
5639
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5727
5640
|
}
|
|
5728
5641
|
}
|
|
5729
|
-
`,
|
|
5642
|
+
`, sc = `
|
|
5730
5643
|
var __timers__ = {}
|
|
5731
5644
|
var __currTimerId__ = 0
|
|
5732
5645
|
|
|
@@ -5768,15 +5681,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5768
5681
|
}
|
|
5769
5682
|
}
|
|
5770
5683
|
}
|
|
5771
|
-
`,
|
|
5684
|
+
`, uc = `
|
|
5772
5685
|
function __destroy__() {
|
|
5773
5686
|
}
|
|
5774
|
-
`,
|
|
5687
|
+
`, lc = oc + ac + sc + uc;
|
|
5775
5688
|
function Ui(i, a) {
|
|
5776
|
-
const c = new
|
|
5777
|
-
|
|
5778
|
-
(
|
|
5779
|
-
|
|
5689
|
+
const c = new ec(
|
|
5690
|
+
lc,
|
|
5691
|
+
(y, m) => {
|
|
5692
|
+
ic(i, y, m);
|
|
5780
5693
|
}
|
|
5781
5694
|
);
|
|
5782
5695
|
return c.appendCode(a), c.appendCode(`
|
|
@@ -5794,9 +5707,9 @@ const pe = /* @__PURE__ */ ie({
|
|
|
5794
5707
|
state: {}
|
|
5795
5708
|
},
|
|
5796
5709
|
setup(i) {
|
|
5797
|
-
const { t: a } =
|
|
5710
|
+
const { t: a } = li(), c = i, y = Di(), m = ue(), g = Nt(), v = wt(), x = Mi(), S = Et(-1), r = Et(), t = {};
|
|
5798
5711
|
ji(t), ui(() => {
|
|
5799
|
-
const p =
|
|
5712
|
+
const p = x[c.refContext.refid];
|
|
5800
5713
|
if (!p) {
|
|
5801
5714
|
S.value = -1, r.value = void 0, t.interpreter && (je(t.interpreter), t.interpreter = void 0), Ue.emit("compNotAvail", c.refContext.refid);
|
|
5802
5715
|
return;
|
|
@@ -5804,15 +5717,15 @@ const pe = /* @__PURE__ */ ie({
|
|
|
5804
5717
|
if (S.value === p.dataSeq)
|
|
5805
5718
|
return;
|
|
5806
5719
|
S.value = p.dataSeq, r.value = be(p.data), t.interpreter && je(t.interpreter);
|
|
5807
|
-
const
|
|
5808
|
-
b && (t.interpreter = Ui({ env:
|
|
5720
|
+
const h = r.value, b = h.code.script;
|
|
5721
|
+
b && (t.interpreter = Ui({ env: y, type: g, data: h }, b));
|
|
5809
5722
|
}), St(() => {
|
|
5810
5723
|
t.interpreter && (je(t.interpreter), t.interpreter = void 0);
|
|
5811
5724
|
});
|
|
5812
5725
|
const e = () => {
|
|
5813
5726
|
console.log("triggerUpdate");
|
|
5814
5727
|
};
|
|
5815
|
-
|
|
5728
|
+
rr(
|
|
5816
5729
|
() => c.state,
|
|
5817
5730
|
() => {
|
|
5818
5731
|
e();
|
|
@@ -5820,24 +5733,24 @@ const pe = /* @__PURE__ */ ie({
|
|
|
5820
5733
|
{ deep: !0, immediate: !0 }
|
|
5821
5734
|
);
|
|
5822
5735
|
function n(p) {
|
|
5823
|
-
const
|
|
5736
|
+
const h = Ar[v.version].refKey, b = Oe[h];
|
|
5824
5737
|
return b ? J(b.comp, {
|
|
5825
5738
|
refContext: {
|
|
5826
5739
|
parent: c.refContext,
|
|
5827
5740
|
refid: p.ref.id
|
|
5828
5741
|
},
|
|
5829
5742
|
node: p
|
|
5830
|
-
}) : (console.assert(!1, `ref element not found key=${
|
|
5743
|
+
}) : (console.assert(!1, `ref element not found key=${h}`), J("div", `ref element not found key=${h}`));
|
|
5831
5744
|
}
|
|
5832
5745
|
function u(p) {
|
|
5833
|
-
var
|
|
5834
|
-
const
|
|
5835
|
-
if (!
|
|
5746
|
+
var T;
|
|
5747
|
+
const h = Oe[p.basic.key];
|
|
5748
|
+
if (!h)
|
|
5836
5749
|
return console.assert(!1, `element not found key=${p.basic.key}`), J("div", `element not found key=${p.basic.key}`);
|
|
5837
5750
|
const b = [];
|
|
5838
|
-
return
|
|
5751
|
+
return h.slots.some((R) => R.key === "default") && ((T = p.children) == null || T.forEach((R) => {
|
|
5839
5752
|
b.push(s(R));
|
|
5840
|
-
})), J(
|
|
5753
|
+
})), J(h.comp, { node: p }, { default: () => b });
|
|
5841
5754
|
}
|
|
5842
5755
|
function s(p) {
|
|
5843
5756
|
return p.ref ? n(p) : u(p);
|
|
@@ -5858,23 +5771,23 @@ const pe = /* @__PURE__ */ ie({
|
|
|
5858
5771
|
return J("div", a("x-runtime-lib.compNotAvail"));
|
|
5859
5772
|
const p = r.value.type;
|
|
5860
5773
|
if (p === "common") {
|
|
5861
|
-
const
|
|
5774
|
+
const h = [];
|
|
5862
5775
|
return r.value.view.nodes.forEach((b) => {
|
|
5863
|
-
|
|
5864
|
-
}),
|
|
5776
|
+
h.push(s(b));
|
|
5777
|
+
}), h;
|
|
5865
5778
|
} else
|
|
5866
5779
|
return console.assert(!1, `invalid subtype=${p}`), J("div", `invalid subtype=${p}`);
|
|
5867
5780
|
};
|
|
5868
|
-
return (p,
|
|
5781
|
+
return (p, h) => (G(), Q(o));
|
|
5869
5782
|
}
|
|
5870
|
-
}),
|
|
5783
|
+
}), cc = /* @__PURE__ */ ie({
|
|
5871
5784
|
__name: "index",
|
|
5872
5785
|
props: {
|
|
5873
5786
|
node: {},
|
|
5874
5787
|
outer: { type: Boolean }
|
|
5875
5788
|
},
|
|
5876
5789
|
setup(i) {
|
|
5877
|
-
const a = i, c = Ce(),
|
|
5790
|
+
const a = i, c = Ce(), y = O(() => {
|
|
5878
5791
|
var l;
|
|
5879
5792
|
return (l = a.node.size) == null ? void 0 : l.width;
|
|
5880
5793
|
}), m = O(() => {
|
|
@@ -5886,7 +5799,7 @@ const pe = /* @__PURE__ */ ie({
|
|
|
5886
5799
|
}), v = O(() => {
|
|
5887
5800
|
var l;
|
|
5888
5801
|
return (l = a.node.settings) == null ? void 0 : l.items;
|
|
5889
|
-
}),
|
|
5802
|
+
}), x = O(() => {
|
|
5890
5803
|
var l;
|
|
5891
5804
|
return (l = a.node.settings) == null ? void 0 : l.density;
|
|
5892
5805
|
}), S = O(() => {
|
|
@@ -5907,30 +5820,30 @@ const pe = /* @__PURE__ */ ie({
|
|
|
5907
5820
|
}), u = O(() => c.value ? "dark" : "light"), s = O(() => {
|
|
5908
5821
|
var p;
|
|
5909
5822
|
const l = [];
|
|
5910
|
-
return (((p = a.node.slots) == null ? void 0 : p.items) ?? []).forEach((
|
|
5911
|
-
|
|
5823
|
+
return (((p = a.node.slots) == null ? void 0 : p.items) ?? []).forEach((h) => {
|
|
5824
|
+
h.column && h.comp && l.push(h);
|
|
5912
5825
|
}), l;
|
|
5913
5826
|
});
|
|
5914
5827
|
return (l, o) => {
|
|
5915
5828
|
const p = oe("v-data-table");
|
|
5916
5829
|
return G(), Q(p, {
|
|
5917
|
-
width:
|
|
5830
|
+
width: y.value,
|
|
5918
5831
|
height: m.value,
|
|
5919
5832
|
headers: g.value,
|
|
5920
5833
|
items: v.value,
|
|
5921
|
-
density:
|
|
5834
|
+
density: x.value,
|
|
5922
5835
|
hover: S.value,
|
|
5923
5836
|
"fixed-header": r.value,
|
|
5924
5837
|
"fixed-footer": t.value,
|
|
5925
5838
|
loading: e.value,
|
|
5926
5839
|
"multi-sort": n.value,
|
|
5927
5840
|
theme: u.value
|
|
5928
|
-
},
|
|
5929
|
-
|
|
5930
|
-
name: `item.${
|
|
5841
|
+
}, nr({ _: 2 }, [
|
|
5842
|
+
No(s.value, (h) => ({
|
|
5843
|
+
name: `item.${h.column}`,
|
|
5931
5844
|
fn: ee(({ value: b }) => [
|
|
5932
5845
|
Z(pe, {
|
|
5933
|
-
"ref-context": { refid:
|
|
5846
|
+
"ref-context": { refid: h.comp },
|
|
5934
5847
|
state: { value: b }
|
|
5935
5848
|
}, null, 8, ["ref-context", "state"])
|
|
5936
5849
|
])
|
|
@@ -5938,7 +5851,7 @@ const pe = /* @__PURE__ */ ie({
|
|
|
5938
5851
|
]), 1032, ["width", "height", "headers", "items", "density", "hover", "fixed-header", "fixed-footer", "loading", "multi-sort", "theme"]);
|
|
5939
5852
|
};
|
|
5940
5853
|
}
|
|
5941
|
-
}),
|
|
5854
|
+
}), fc = [
|
|
5942
5855
|
{
|
|
5943
5856
|
name: "x-runtime-lib.start",
|
|
5944
5857
|
ui: "word",
|
|
@@ -6006,7 +5919,7 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6006
5919
|
key: "align",
|
|
6007
5920
|
name: "x-runtime-lib.align",
|
|
6008
5921
|
ui: "multiTypes",
|
|
6009
|
-
types:
|
|
5922
|
+
types: fc,
|
|
6010
5923
|
default: "start"
|
|
6011
5924
|
},
|
|
6012
5925
|
{
|
|
@@ -6109,10 +6022,10 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6109
6022
|
defaultArray: []
|
|
6110
6023
|
}
|
|
6111
6024
|
]
|
|
6112
|
-
},
|
|
6113
|
-
key:
|
|
6025
|
+
}, pc = {
|
|
6026
|
+
key: hr,
|
|
6114
6027
|
name: "x-runtime-lib.dataTable",
|
|
6115
|
-
comp:
|
|
6028
|
+
comp: cc,
|
|
6116
6029
|
slots: [],
|
|
6117
6030
|
events: [],
|
|
6118
6031
|
methods: [],
|
|
@@ -6120,43 +6033,43 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6120
6033
|
pageCommon: [M, Kn, qn, Zn],
|
|
6121
6034
|
compCommon: [M, Kn, qn, Zn]
|
|
6122
6035
|
}
|
|
6123
|
-
},
|
|
6036
|
+
}, dc = ["id"], hc = /* @__PURE__ */ ie({
|
|
6124
6037
|
__name: "index",
|
|
6125
6038
|
props: {
|
|
6126
6039
|
node: {},
|
|
6127
6040
|
outer: { type: Boolean }
|
|
6128
6041
|
},
|
|
6129
6042
|
setup(i) {
|
|
6130
|
-
const a = i, c = ue(),
|
|
6043
|
+
const a = i, c = ue(), y = O(() => {
|
|
6131
6044
|
var v;
|
|
6132
6045
|
return (v = a.node.basic) == null ? void 0 : v.id;
|
|
6133
|
-
}), { open: m } =
|
|
6134
|
-
return
|
|
6135
|
-
const { name:
|
|
6136
|
-
|
|
6137
|
-
}), (v,
|
|
6046
|
+
}), { open: m } = Fo(`runtimeDlg/${y.value}`);
|
|
6047
|
+
return Gl(a, (v) => {
|
|
6048
|
+
const { name: x } = v;
|
|
6049
|
+
x === "open" ? m.value = !0 : x === "close" && (m.value = !1);
|
|
6050
|
+
}), (v, x) => {
|
|
6138
6051
|
const S = oe("v-dialog");
|
|
6139
6052
|
return G(), Q(S, {
|
|
6140
6053
|
modelValue: Fe(m),
|
|
6141
|
-
"onUpdate:modelValue":
|
|
6054
|
+
"onUpdate:modelValue": x[0] || (x[0] = (r) => wo(m) ? m.value = r : null)
|
|
6142
6055
|
}, {
|
|
6143
6056
|
activator: ee(() => [
|
|
6144
6057
|
Fe(c) === "editor" ? (G(), Ne("div", {
|
|
6145
6058
|
key: 0,
|
|
6146
|
-
id: `__node__@${
|
|
6147
|
-
}, null, 8,
|
|
6059
|
+
id: `__node__@${y.value}`
|
|
6060
|
+
}, null, 8, dc)) : Po("", !0)
|
|
6148
6061
|
]),
|
|
6149
6062
|
default: ee(() => [
|
|
6150
|
-
|
|
6063
|
+
Sr(v.$slots, "default")
|
|
6151
6064
|
]),
|
|
6152
6065
|
_: 3
|
|
6153
6066
|
}, 8, ["modelValue"]);
|
|
6154
6067
|
};
|
|
6155
6068
|
}
|
|
6156
|
-
}),
|
|
6157
|
-
key:
|
|
6069
|
+
}), yc = {
|
|
6070
|
+
key: yr,
|
|
6158
6071
|
name: "x-runtime-lib.dialog",
|
|
6159
|
-
comp:
|
|
6072
|
+
comp: hc,
|
|
6160
6073
|
slots: [
|
|
6161
6074
|
{
|
|
6162
6075
|
key: "default",
|
|
@@ -6194,8 +6107,8 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6194
6107
|
default: "#00000000"
|
|
6195
6108
|
}
|
|
6196
6109
|
]
|
|
6197
|
-
},
|
|
6198
|
-
key:
|
|
6110
|
+
}, mc = {
|
|
6111
|
+
key: mr,
|
|
6199
6112
|
name: "x-runtime-lib.globality",
|
|
6200
6113
|
comp: null,
|
|
6201
6114
|
slots: [
|
|
@@ -6241,14 +6154,14 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6241
6154
|
compCommon: [Qn]
|
|
6242
6155
|
},
|
|
6243
6156
|
internal: !0
|
|
6244
|
-
},
|
|
6157
|
+
}, vc = { key: 0 }, bc = /* @__PURE__ */ ie({
|
|
6245
6158
|
__name: "index",
|
|
6246
6159
|
props: {
|
|
6247
6160
|
node: {},
|
|
6248
6161
|
outer: { type: Boolean }
|
|
6249
6162
|
},
|
|
6250
6163
|
setup(i) {
|
|
6251
|
-
const a = i, c = ue(),
|
|
6164
|
+
const a = i, c = ue(), y = Ce(), m = O(() => {
|
|
6252
6165
|
var e;
|
|
6253
6166
|
return (e = a.node.settings) == null ? void 0 : e.value;
|
|
6254
6167
|
}), g = O(() => {
|
|
@@ -6257,7 +6170,7 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6257
6170
|
}), v = O(() => {
|
|
6258
6171
|
var e;
|
|
6259
6172
|
return (e = a.node.settings) == null ? void 0 : e.placeholder;
|
|
6260
|
-
}),
|
|
6173
|
+
}), x = O(() => {
|
|
6261
6174
|
var e;
|
|
6262
6175
|
return (e = a.node.settings) == null ? void 0 : e.hideDetails;
|
|
6263
6176
|
}), S = O(() => {
|
|
@@ -6266,15 +6179,15 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6266
6179
|
}), r = O(() => {
|
|
6267
6180
|
var e;
|
|
6268
6181
|
return c !== "runtime" ? !0 : (e = a.node.settings) == null ? void 0 : e.readonly;
|
|
6269
|
-
}), t = O(() =>
|
|
6182
|
+
}), t = O(() => y.value ? "dark" : "light");
|
|
6270
6183
|
return (e, n) => {
|
|
6271
6184
|
const u = oe("v-number-input");
|
|
6272
|
-
return Fe(c) === "editor" ? (G(), Ne("div",
|
|
6185
|
+
return Fe(c) === "editor" ? (G(), Ne("div", vc, [
|
|
6273
6186
|
Z(u, {
|
|
6274
6187
|
"model-value": m.value,
|
|
6275
6188
|
label: g.value,
|
|
6276
6189
|
placeholder: v.value,
|
|
6277
|
-
"hide-details":
|
|
6190
|
+
"hide-details": x.value,
|
|
6278
6191
|
"single-line": S.value,
|
|
6279
6192
|
readonly: r.value,
|
|
6280
6193
|
theme: t.value
|
|
@@ -6284,7 +6197,7 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6284
6197
|
"model-value": m.value,
|
|
6285
6198
|
label: g.value,
|
|
6286
6199
|
placeholder: v.value,
|
|
6287
|
-
"hide-details":
|
|
6200
|
+
"hide-details": x.value,
|
|
6288
6201
|
"single-line": S.value,
|
|
6289
6202
|
readonly: r.value,
|
|
6290
6203
|
theme: t.value
|
|
@@ -6336,10 +6249,10 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6336
6249
|
default: !1
|
|
6337
6250
|
}
|
|
6338
6251
|
]
|
|
6339
|
-
},
|
|
6340
|
-
key:
|
|
6252
|
+
}, _c = {
|
|
6253
|
+
key: vr,
|
|
6341
6254
|
name: "x-runtime-lib.numberInput",
|
|
6342
|
-
comp:
|
|
6255
|
+
comp: bc,
|
|
6343
6256
|
slots: [],
|
|
6344
6257
|
events: [],
|
|
6345
6258
|
methods: [],
|
|
@@ -6347,15 +6260,15 @@ const pe = /* @__PURE__ */ ie({
|
|
|
6347
6260
|
pageCommon: [M, ei],
|
|
6348
6261
|
compCommon: [M, ei]
|
|
6349
6262
|
}
|
|
6350
|
-
},
|
|
6351
|
-
function
|
|
6263
|
+
}, gc = {};
|
|
6264
|
+
function Ec(i, a) {
|
|
6352
6265
|
const c = oe("v-rating");
|
|
6353
6266
|
return G(), Q(c);
|
|
6354
6267
|
}
|
|
6355
|
-
const
|
|
6356
|
-
key:
|
|
6268
|
+
const Rc = /* @__PURE__ */ Pt(gc, [["render", Ec]]), Sc = {
|
|
6269
|
+
key: br,
|
|
6357
6270
|
name: "x-runtime-lib.rating",
|
|
6358
|
-
comp:
|
|
6271
|
+
comp: Rc,
|
|
6359
6272
|
slots: [],
|
|
6360
6273
|
events: [],
|
|
6361
6274
|
methods: [],
|
|
@@ -6363,7 +6276,7 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6363
6276
|
pageCommon: [M],
|
|
6364
6277
|
compCommon: [M]
|
|
6365
6278
|
}
|
|
6366
|
-
},
|
|
6279
|
+
}, xc = /* @__PURE__ */ ie({
|
|
6367
6280
|
__name: "index",
|
|
6368
6281
|
props: {
|
|
6369
6282
|
id: {},
|
|
@@ -6372,7 +6285,7 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6372
6285
|
outer: { type: Boolean }
|
|
6373
6286
|
},
|
|
6374
6287
|
setup(i) {
|
|
6375
|
-
const { t: a } =
|
|
6288
|
+
const { t: a } = li(), c = i, y = Di(), m = ue(), g = Cr(), v = Nt(), x = wt(), S = Mi(), r = Et(-1), t = Et(), e = {};
|
|
6376
6289
|
ji(e), ui(() => {
|
|
6377
6290
|
const b = S[c.refContext.refid];
|
|
6378
6291
|
if (!b) {
|
|
@@ -6382,35 +6295,35 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6382
6295
|
if (r.value === b.dataSeq)
|
|
6383
6296
|
return;
|
|
6384
6297
|
r.value = b.dataSeq, t.value = be(b.data), e.interpreter && je(e.interpreter);
|
|
6385
|
-
const
|
|
6386
|
-
R && (e.interpreter = Ui({ env:
|
|
6298
|
+
const T = t.value, R = T.code.script;
|
|
6299
|
+
R && (e.interpreter = Ui({ env: y, type: v, data: T }, R));
|
|
6387
6300
|
}), St(() => {
|
|
6388
6301
|
e.interpreter && (je(e.interpreter), e.interpreter = void 0);
|
|
6389
6302
|
});
|
|
6390
6303
|
const { applySize: n } = kr(m, g, c), u = O(() => {
|
|
6391
|
-
const b = {},
|
|
6392
|
-
return v === "page" ?
|
|
6304
|
+
const b = {}, T = x.type;
|
|
6305
|
+
return v === "page" ? T === "common" ? n(b) : console.assert(!1) : v === "comp" && T === "common" ? n(b) : console.assert(!1), b;
|
|
6393
6306
|
});
|
|
6394
6307
|
function s(b) {
|
|
6395
|
-
const
|
|
6308
|
+
const T = Ar[x.version].refKey, R = Oe[T];
|
|
6396
6309
|
return R ? J(R.comp, {
|
|
6397
6310
|
refContext: {
|
|
6398
6311
|
parent: c.refContext,
|
|
6399
6312
|
refid: b.ref.id
|
|
6400
6313
|
},
|
|
6401
6314
|
node: b
|
|
6402
|
-
}) : (console.assert(!1, `ref element not found key=${
|
|
6315
|
+
}) : (console.assert(!1, `ref element not found key=${T}`), J("div", `ref element not found key=${T}`));
|
|
6403
6316
|
}
|
|
6404
6317
|
function l(b) {
|
|
6405
6318
|
var N;
|
|
6406
|
-
const
|
|
6407
|
-
if (!
|
|
6319
|
+
const T = Oe[b.basic.key];
|
|
6320
|
+
if (!T)
|
|
6408
6321
|
return console.assert(!1, `element not found key=${b.basic.key}`), J("div", `element not found key=${b.basic.key}`);
|
|
6409
6322
|
const R = [];
|
|
6410
|
-
return
|
|
6411
|
-
const D = o(
|
|
6323
|
+
return T.slots.some((P) => P.key === "default") && ((N = b.children) == null || N.forEach((P) => {
|
|
6324
|
+
const D = o(P);
|
|
6412
6325
|
R.push(D);
|
|
6413
|
-
})), J(
|
|
6326
|
+
})), J(T.comp, { node: b }, { default: () => R });
|
|
6414
6327
|
}
|
|
6415
6328
|
function o(b) {
|
|
6416
6329
|
return b.ref ? s(b) : l(b);
|
|
@@ -6424,21 +6337,21 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6424
6337
|
}
|
|
6425
6338
|
return !1;
|
|
6426
6339
|
}
|
|
6427
|
-
const
|
|
6340
|
+
const h = () => {
|
|
6428
6341
|
if (p())
|
|
6429
6342
|
return J("div", { id: c.id }, a("x-runtime-lib.circularRef"));
|
|
6430
6343
|
if (!t.value)
|
|
6431
6344
|
return J("div", { id: c.id }, a("x-runtime-lib.compNotAvail"));
|
|
6432
6345
|
const b = t.value.type;
|
|
6433
6346
|
if (b === "common") {
|
|
6434
|
-
const
|
|
6347
|
+
const T = [];
|
|
6435
6348
|
return t.value.view.nodes.forEach((R) => {
|
|
6436
|
-
|
|
6437
|
-
}), J("div", { id: c.id, style: u.value },
|
|
6349
|
+
T.push(o(R));
|
|
6350
|
+
}), J("div", { id: c.id, style: u.value }, T);
|
|
6438
6351
|
} else
|
|
6439
6352
|
return console.assert(!1, `invalid subtype=${b}`), J("div", { id: c.id }, `invalid subtype=${b}`);
|
|
6440
6353
|
};
|
|
6441
|
-
return (b,
|
|
6354
|
+
return (b, T) => (G(), Q(h));
|
|
6442
6355
|
}
|
|
6443
6356
|
}), ti = {
|
|
6444
6357
|
key: "ref",
|
|
@@ -6451,10 +6364,10 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6451
6364
|
default: ""
|
|
6452
6365
|
}
|
|
6453
6366
|
]
|
|
6454
|
-
},
|
|
6367
|
+
}, Tc = {
|
|
6455
6368
|
key: _t,
|
|
6456
6369
|
name: "x-runtime-lib.ref",
|
|
6457
|
-
comp:
|
|
6370
|
+
comp: xc,
|
|
6458
6371
|
slots: [],
|
|
6459
6372
|
events: [],
|
|
6460
6373
|
methods: [],
|
|
@@ -6462,14 +6375,14 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6462
6375
|
pageCommon: [M, Rt, ti],
|
|
6463
6376
|
compCommon: [M, Rt, ti]
|
|
6464
6377
|
}
|
|
6465
|
-
},
|
|
6378
|
+
}, Oc = { key: 0 }, Nc = /* @__PURE__ */ ie({
|
|
6466
6379
|
__name: "index",
|
|
6467
6380
|
props: {
|
|
6468
6381
|
node: {},
|
|
6469
6382
|
outer: { type: Boolean }
|
|
6470
6383
|
},
|
|
6471
6384
|
setup(i) {
|
|
6472
|
-
const a = i, c = ue(),
|
|
6385
|
+
const a = i, c = ue(), y = Ce(), m = O(() => {
|
|
6473
6386
|
var e;
|
|
6474
6387
|
return (e = a.node.settings) == null ? void 0 : e.value;
|
|
6475
6388
|
}), g = O(() => {
|
|
@@ -6478,7 +6391,7 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6478
6391
|
}), v = O(() => {
|
|
6479
6392
|
var e;
|
|
6480
6393
|
return (e = a.node.settings) == null ? void 0 : e.placeholder;
|
|
6481
|
-
}),
|
|
6394
|
+
}), x = O(() => {
|
|
6482
6395
|
var e;
|
|
6483
6396
|
return (e = a.node.settings) == null ? void 0 : e.hideDetails;
|
|
6484
6397
|
}), S = O(() => {
|
|
@@ -6487,15 +6400,15 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6487
6400
|
}), r = O(() => {
|
|
6488
6401
|
var e;
|
|
6489
6402
|
return c !== "runtime" ? !0 : (e = a.node.settings) == null ? void 0 : e.readonly;
|
|
6490
|
-
}), t = O(() =>
|
|
6403
|
+
}), t = O(() => y.value ? "dark" : "light");
|
|
6491
6404
|
return (e, n) => {
|
|
6492
6405
|
const u = oe("v-select");
|
|
6493
|
-
return Fe(c) === "editor" ? (G(), Ne("div",
|
|
6406
|
+
return Fe(c) === "editor" ? (G(), Ne("div", Oc, [
|
|
6494
6407
|
Z(u, {
|
|
6495
6408
|
"model-value": m.value,
|
|
6496
6409
|
label: g.value,
|
|
6497
6410
|
placeholder: v.value,
|
|
6498
|
-
"hide-details":
|
|
6411
|
+
"hide-details": x.value,
|
|
6499
6412
|
"single-line": S.value,
|
|
6500
6413
|
readonly: r.value,
|
|
6501
6414
|
theme: t.value
|
|
@@ -6505,7 +6418,7 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6505
6418
|
"model-value": m.value,
|
|
6506
6419
|
label: g.value,
|
|
6507
6420
|
placeholder: v.value,
|
|
6508
|
-
"hide-details":
|
|
6421
|
+
"hide-details": x.value,
|
|
6509
6422
|
"single-line": S.value,
|
|
6510
6423
|
readonly: r.value,
|
|
6511
6424
|
theme: t.value
|
|
@@ -6553,10 +6466,10 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6553
6466
|
default: !1
|
|
6554
6467
|
}
|
|
6555
6468
|
]
|
|
6556
|
-
},
|
|
6557
|
-
key:
|
|
6469
|
+
}, wc = {
|
|
6470
|
+
key: _r,
|
|
6558
6471
|
name: "x-runtime-lib.select",
|
|
6559
|
-
comp:
|
|
6472
|
+
comp: Nc,
|
|
6560
6473
|
slots: [],
|
|
6561
6474
|
events: [],
|
|
6562
6475
|
methods: [],
|
|
@@ -6564,15 +6477,15 @@ const Pf = /* @__PURE__ */ Pt(Nf, [["render", wf]]), Cf = {
|
|
|
6564
6477
|
pageCommon: [M, ri],
|
|
6565
6478
|
compCommon: [M, ri]
|
|
6566
6479
|
}
|
|
6567
|
-
},
|
|
6568
|
-
function
|
|
6480
|
+
}, Pc = {};
|
|
6481
|
+
function Cc(i, a) {
|
|
6569
6482
|
const c = oe("v-text-area");
|
|
6570
6483
|
return G(), Q(c);
|
|
6571
6484
|
}
|
|
6572
|
-
const
|
|
6573
|
-
key:
|
|
6485
|
+
const kc = /* @__PURE__ */ Pt(Pc, [["render", Cc]]), Ac = {
|
|
6486
|
+
key: gr,
|
|
6574
6487
|
name: "x-runtime-lib.textArea",
|
|
6575
|
-
comp:
|
|
6488
|
+
comp: kc,
|
|
6576
6489
|
slots: [],
|
|
6577
6490
|
events: [],
|
|
6578
6491
|
methods: [],
|
|
@@ -6580,14 +6493,14 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6580
6493
|
pageCommon: [M],
|
|
6581
6494
|
compCommon: [M]
|
|
6582
6495
|
}
|
|
6583
|
-
},
|
|
6496
|
+
}, Ic = { key: 0 }, Lc = /* @__PURE__ */ ie({
|
|
6584
6497
|
__name: "index",
|
|
6585
6498
|
props: {
|
|
6586
6499
|
node: {},
|
|
6587
6500
|
outer: { type: Boolean }
|
|
6588
6501
|
},
|
|
6589
6502
|
setup(i) {
|
|
6590
|
-
const a = i, c = ue(),
|
|
6503
|
+
const a = i, c = ue(), y = Ce(), m = O(() => {
|
|
6591
6504
|
var s;
|
|
6592
6505
|
return (s = a.node.settings) == null ? void 0 : s.label;
|
|
6593
6506
|
}), g = O(() => {
|
|
@@ -6596,13 +6509,13 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6596
6509
|
}), v = O(() => {
|
|
6597
6510
|
var s;
|
|
6598
6511
|
return (s = a.node.settings) == null ? void 0 : s.hideDetails;
|
|
6599
|
-
}),
|
|
6512
|
+
}), x = O(() => {
|
|
6600
6513
|
var s;
|
|
6601
6514
|
return (s = a.node.settings) == null ? void 0 : s.singleLine;
|
|
6602
6515
|
}), S = O(() => {
|
|
6603
6516
|
var s;
|
|
6604
6517
|
return c !== "runtime" ? !0 : (s = a.node.settings) == null ? void 0 : s.readonly;
|
|
6605
|
-
}), r = O(() =>
|
|
6518
|
+
}), r = O(() => y.value ? "dark" : "light"), t = O(() => {
|
|
6606
6519
|
var s;
|
|
6607
6520
|
return (s = a.node.slots) == null ? void 0 : s.append;
|
|
6608
6521
|
}), e = O(() => {
|
|
@@ -6617,15 +6530,15 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6617
6530
|
});
|
|
6618
6531
|
return (s, l) => {
|
|
6619
6532
|
const o = oe("v-text-field");
|
|
6620
|
-
return Fe(c) === "editor" ? (G(), Ne("div",
|
|
6533
|
+
return Fe(c) === "editor" ? (G(), Ne("div", Ic, [
|
|
6621
6534
|
Z(o, {
|
|
6622
6535
|
label: m.value,
|
|
6623
6536
|
placeholder: g.value,
|
|
6624
6537
|
"hide-details": v.value,
|
|
6625
|
-
"single-line":
|
|
6538
|
+
"single-line": x.value,
|
|
6626
6539
|
readonly: S.value,
|
|
6627
6540
|
theme: r.value
|
|
6628
|
-
},
|
|
6541
|
+
}, nr({ _: 2 }, [
|
|
6629
6542
|
t.value ? {
|
|
6630
6543
|
name: "append",
|
|
6631
6544
|
fn: ee(() => [
|
|
@@ -6672,10 +6585,10 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6672
6585
|
label: m.value,
|
|
6673
6586
|
placeholder: g.value,
|
|
6674
6587
|
"hide-details": v.value,
|
|
6675
|
-
"single-line":
|
|
6588
|
+
"single-line": x.value,
|
|
6676
6589
|
readonly: S.value,
|
|
6677
6590
|
theme: r.value
|
|
6678
|
-
},
|
|
6591
|
+
}, nr({ _: 2 }, [
|
|
6679
6592
|
t.value ? {
|
|
6680
6593
|
name: "append",
|
|
6681
6594
|
fn: ee(() => [
|
|
@@ -6783,10 +6696,10 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6783
6696
|
default: ""
|
|
6784
6697
|
}
|
|
6785
6698
|
]
|
|
6786
|
-
},
|
|
6787
|
-
key:
|
|
6699
|
+
}, Dc = {
|
|
6700
|
+
key: Er,
|
|
6788
6701
|
name: "x-runtime-lib.textField",
|
|
6789
|
-
comp:
|
|
6702
|
+
comp: Lc,
|
|
6790
6703
|
slots: [
|
|
6791
6704
|
{
|
|
6792
6705
|
key: "append",
|
|
@@ -6811,25 +6724,111 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6811
6724
|
pageCommon: [M, ni, ii],
|
|
6812
6725
|
compCommon: [M, ni, ii]
|
|
6813
6726
|
}
|
|
6814
|
-
},
|
|
6727
|
+
}, Mc = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], jc = "#272727", Fc = {}, Uc = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, $c = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Bc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Vc = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Gc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Wc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Yc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, zc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Xc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Hc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Jc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Kc = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, qc = { 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" } }, Zc = { 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)" } } }, Qc = { 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)" } } }, ef = { 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"] } } }, tf = { 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"] } } }, rf = { 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"] } } }, nf = { 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"] } } }, of = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, af = { textStyle: { color: "#eeeeee" } }, sf = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, uf = { 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" } } }, lf = { color: ["#bf444c", "#d88273", "#f6efa6"] }, cf = { 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" } }, ff = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, pf = {
|
|
6728
|
+
color: Mc,
|
|
6729
|
+
backgroundColor: jc,
|
|
6730
|
+
textStyle: Fc,
|
|
6731
|
+
title: Uc,
|
|
6732
|
+
line: $c,
|
|
6733
|
+
radar: Bc,
|
|
6734
|
+
bar: Vc,
|
|
6735
|
+
pie: Gc,
|
|
6736
|
+
scatter: Wc,
|
|
6737
|
+
boxplot: Yc,
|
|
6738
|
+
parallel: zc,
|
|
6739
|
+
sankey: Xc,
|
|
6740
|
+
funnel: Hc,
|
|
6741
|
+
gauge: Jc,
|
|
6742
|
+
candlestick: Kc,
|
|
6743
|
+
graph: qc,
|
|
6744
|
+
map: Zc,
|
|
6745
|
+
geo: Qc,
|
|
6746
|
+
categoryAxis: ef,
|
|
6747
|
+
valueAxis: tf,
|
|
6748
|
+
logAxis: rf,
|
|
6749
|
+
timeAxis: nf,
|
|
6750
|
+
toolbox: of,
|
|
6751
|
+
legend: af,
|
|
6752
|
+
tooltip: sf,
|
|
6753
|
+
timeline: uf,
|
|
6754
|
+
visualMap: lf,
|
|
6755
|
+
dataZoom: cf,
|
|
6756
|
+
markPoint: ff
|
|
6757
|
+
}, df = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], hf = "#eeeeee", yf = {}, mf = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, vf = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, bf = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, _f = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, gf = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ef = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Rf = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Sf = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, xf = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Tf = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Of = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Nf = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, wf = { 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" } }, Pf = { 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)" } } }, Cf = { 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)" } } }, kf = { 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"] } } }, Af = { 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"] } } }, If = { 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"] } } }, Lf = { 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"] } } }, Df = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Mf = { textStyle: { color: "#333333" } }, jf = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, Ff = { 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" } } }, Uf = { color: ["#bf444c", "#d88273", "#f6efa6"] }, $f = { 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" } }, Bf = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, Vf = {
|
|
6758
|
+
color: df,
|
|
6759
|
+
backgroundColor: hf,
|
|
6760
|
+
textStyle: yf,
|
|
6761
|
+
title: mf,
|
|
6762
|
+
line: vf,
|
|
6763
|
+
radar: bf,
|
|
6764
|
+
bar: _f,
|
|
6765
|
+
pie: gf,
|
|
6766
|
+
scatter: Ef,
|
|
6767
|
+
boxplot: Rf,
|
|
6768
|
+
parallel: Sf,
|
|
6769
|
+
sankey: xf,
|
|
6770
|
+
funnel: Tf,
|
|
6771
|
+
gauge: Of,
|
|
6772
|
+
candlestick: Nf,
|
|
6773
|
+
graph: wf,
|
|
6774
|
+
map: Pf,
|
|
6775
|
+
geo: Cf,
|
|
6776
|
+
categoryAxis: kf,
|
|
6777
|
+
valueAxis: Af,
|
|
6778
|
+
logAxis: If,
|
|
6779
|
+
timeAxis: Lf,
|
|
6780
|
+
toolbox: Df,
|
|
6781
|
+
legend: Mf,
|
|
6782
|
+
tooltip: jf,
|
|
6783
|
+
timeline: Ff,
|
|
6784
|
+
visualMap: Uf,
|
|
6785
|
+
dataZoom: $f,
|
|
6786
|
+
markPoint: Bf
|
|
6787
|
+
};
|
|
6788
|
+
$o([
|
|
6789
|
+
Bo,
|
|
6790
|
+
Vo,
|
|
6791
|
+
Go,
|
|
6792
|
+
Wo,
|
|
6793
|
+
Yo,
|
|
6794
|
+
zo
|
|
6795
|
+
]);
|
|
6796
|
+
ci("dark", pf);
|
|
6797
|
+
ci("light", Vf);
|
|
6798
|
+
const Gf = /* @__PURE__ */ ie({
|
|
6815
6799
|
__name: "index",
|
|
6816
6800
|
props: {
|
|
6817
6801
|
node: {},
|
|
6818
6802
|
outer: { type: Boolean }
|
|
6819
6803
|
},
|
|
6820
6804
|
setup(i) {
|
|
6821
|
-
const a = i, c = ue(),
|
|
6822
|
-
const
|
|
6823
|
-
return
|
|
6824
|
-
}),
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
}
|
|
6831
|
-
|
|
6832
|
-
|
|
6805
|
+
const a = i, c = ue(), y = Cr(), m = Ce(), g = Nt(), v = wt(), { width: x, minWidth: S, maxWidth: r, height: t, minHeight: e, maxHeight: n, applySize: u } = kr(c, y, a), { applyTitle: s } = Vl(a), { applyLegend: l } = Bl(a), o = O(() => {
|
|
6806
|
+
const N = {}, P = v.type;
|
|
6807
|
+
return g === "page" ? P === "common" ? u(N) : console.assert(!1) : g === "comp" && P === "common" ? u(N) : console.assert(!1), N;
|
|
6808
|
+
}), p = Co("chart");
|
|
6809
|
+
let h;
|
|
6810
|
+
const b = () => {
|
|
6811
|
+
h && h.dispose(), h = Xo.init(p.value, m.value ? "dark" : "light");
|
|
6812
|
+
const N = {};
|
|
6813
|
+
h.setOption(N);
|
|
6814
|
+
}, T = () => {
|
|
6815
|
+
h == null || h.resize();
|
|
6816
|
+
}, R = () => {
|
|
6817
|
+
const N = {};
|
|
6818
|
+
s(N), l(N), h == null || h.setOption(N, !0);
|
|
6819
|
+
};
|
|
6820
|
+
return ko(async () => {
|
|
6821
|
+
window.addEventListener("resize", T, !1), await Uo(() => !!p.value), b(), R();
|
|
6822
|
+
}), St(() => {
|
|
6823
|
+
window.removeEventListener("resize", T, !1);
|
|
6824
|
+
}), rr([m], () => {
|
|
6825
|
+
b(), R();
|
|
6826
|
+
}), rr([x, S, r, t, e, n], () => {
|
|
6827
|
+
T();
|
|
6828
|
+
}), (N, P) => (G(), Ne("div", {
|
|
6829
|
+
ref_key: "chart",
|
|
6830
|
+
ref: h,
|
|
6831
|
+
style: si(o.value)
|
|
6833
6832
|
}, null, 4));
|
|
6834
6833
|
}
|
|
6835
6834
|
}), oi = {
|
|
@@ -6837,7 +6836,7 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6837
6836
|
name: "x-runtime-lib.settings",
|
|
6838
6837
|
children: []
|
|
6839
6838
|
}, Wf = {
|
|
6840
|
-
key:
|
|
6839
|
+
key: ur,
|
|
6841
6840
|
name: "x-runtime-lib.barChart",
|
|
6842
6841
|
comp: Gf,
|
|
6843
6842
|
slots: [],
|
|
@@ -6849,10 +6848,9 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6849
6848
|
}
|
|
6850
6849
|
}, Yf = {
|
|
6851
6850
|
version: "v1",
|
|
6852
|
-
globalityKey:
|
|
6851
|
+
globalityKey: mr,
|
|
6853
6852
|
refKey: _t,
|
|
6854
6853
|
elements: /* @__PURE__ */ new Set([
|
|
6855
|
-
sr,
|
|
6856
6854
|
ur,
|
|
6857
6855
|
lr,
|
|
6858
6856
|
cr,
|
|
@@ -6863,35 +6861,36 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6863
6861
|
yr,
|
|
6864
6862
|
mr,
|
|
6865
6863
|
vr,
|
|
6866
|
-
_t,
|
|
6867
6864
|
br,
|
|
6865
|
+
_t,
|
|
6868
6866
|
_r,
|
|
6869
|
-
gr
|
|
6867
|
+
gr,
|
|
6868
|
+
Er
|
|
6870
6869
|
]),
|
|
6871
6870
|
groups: [
|
|
6872
6871
|
{
|
|
6873
6872
|
key: "basic",
|
|
6874
6873
|
name: "x-runtime-lib.basic",
|
|
6875
6874
|
items: [
|
|
6876
|
-
ur,
|
|
6877
6875
|
lr,
|
|
6878
6876
|
cr,
|
|
6879
6877
|
fr,
|
|
6880
6878
|
pr,
|
|
6881
6879
|
dr,
|
|
6882
6880
|
hr,
|
|
6883
|
-
|
|
6881
|
+
yr,
|
|
6884
6882
|
vr,
|
|
6885
|
-
_t,
|
|
6886
6883
|
br,
|
|
6884
|
+
_t,
|
|
6887
6885
|
_r,
|
|
6888
|
-
gr
|
|
6886
|
+
gr,
|
|
6887
|
+
Er
|
|
6889
6888
|
]
|
|
6890
6889
|
},
|
|
6891
6890
|
{
|
|
6892
6891
|
key: "chart",
|
|
6893
6892
|
name: "x-runtime-lib.chart",
|
|
6894
|
-
items: [
|
|
6893
|
+
items: [ur]
|
|
6895
6894
|
}
|
|
6896
6895
|
]
|
|
6897
6896
|
}, Ar = {
|
|
@@ -6909,24 +6908,24 @@ const Ff = /* @__PURE__ */ Pt(Mf, [["render", jf]]), Uf = {
|
|
|
6909
6908
|
}, K = (i) => {
|
|
6910
6909
|
i.slots.some((a) => a.key === "default") && i.methods.unshift(zf), Oe[i.key] = i;
|
|
6911
6910
|
};
|
|
6912
|
-
K(
|
|
6913
|
-
K(
|
|
6914
|
-
K(
|
|
6915
|
-
K(
|
|
6916
|
-
K(
|
|
6917
|
-
K(
|
|
6918
|
-
K(
|
|
6919
|
-
K(
|
|
6920
|
-
K(
|
|
6921
|
-
K(
|
|
6922
|
-
K(
|
|
6923
|
-
K(
|
|
6924
|
-
K(
|
|
6925
|
-
K(
|
|
6911
|
+
K(Ol);
|
|
6912
|
+
K(Cl);
|
|
6913
|
+
K(Ll);
|
|
6914
|
+
K(jl);
|
|
6915
|
+
K(Yl);
|
|
6916
|
+
K(pc);
|
|
6917
|
+
K(yc);
|
|
6918
|
+
K(mc);
|
|
6919
|
+
K(_c);
|
|
6920
|
+
K(Sc);
|
|
6921
|
+
K(Tc);
|
|
6922
|
+
K(wc);
|
|
6923
|
+
K(Ac);
|
|
6924
|
+
K(Dc);
|
|
6926
6925
|
K(Wf);
|
|
6927
6926
|
const Xf = (i, a, c) => {
|
|
6928
|
-
const
|
|
6929
|
-
return
|
|
6927
|
+
const y = i[a];
|
|
6928
|
+
return y ? typeof y == "function" ? y() : Promise.resolve(y) : new Promise((m, g) => {
|
|
6930
6929
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6931
6930
|
g.bind(
|
|
6932
6931
|
null,
|
|
@@ -6938,22 +6937,22 @@ const Xf = (i, a, c) => {
|
|
|
6938
6937
|
});
|
|
6939
6938
|
};
|
|
6940
6939
|
async function lp(i) {
|
|
6941
|
-
return (await Xf(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-
|
|
6940
|
+
return (await Xf(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-le0745p9.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-d9x07647.js") }), `./locales/${i}/index.ts`, 4)).default;
|
|
6942
6941
|
}
|
|
6943
|
-
function cp(i, a, c,
|
|
6942
|
+
function cp(i, a, c, y, m) {
|
|
6944
6943
|
let g = i;
|
|
6945
|
-
for (let
|
|
6946
|
-
if (g = g.children[a[
|
|
6944
|
+
for (let x = 0; x < a.length; x++)
|
|
6945
|
+
if (g = g.children[a[x]], !g) {
|
|
6947
6946
|
console.assert(!1, `unpkg context failed parentKeys=${a}`);
|
|
6948
6947
|
return;
|
|
6949
6948
|
}
|
|
6950
6949
|
let v = g.children[c];
|
|
6951
|
-
v ? v.dataSeq !==
|
|
6952
|
-
dataSeq:
|
|
6950
|
+
v ? v.dataSeq !== y && (v = {
|
|
6951
|
+
dataSeq: y,
|
|
6953
6952
|
data: be(m),
|
|
6954
6953
|
children: {}
|
|
6955
6954
|
}) : (v = {
|
|
6956
|
-
dataSeq:
|
|
6955
|
+
dataSeq: y,
|
|
6957
6956
|
data: be(m),
|
|
6958
6957
|
children: {}
|
|
6959
6958
|
}, g.children[c] = v);
|
|
@@ -6966,7 +6965,7 @@ const fp = [
|
|
|
6966
6965
|
"object"
|
|
6967
6966
|
];
|
|
6968
6967
|
export {
|
|
6969
|
-
|
|
6968
|
+
El as duplicateNode,
|
|
6970
6969
|
tp as duplicateNodes,
|
|
6971
6970
|
Oe as elements,
|
|
6972
6971
|
cp as ensureContext,
|
|
@@ -6974,7 +6973,7 @@ export {
|
|
|
6974
6973
|
fi as genId,
|
|
6975
6974
|
ep as getNode,
|
|
6976
6975
|
Bn as getPropDefault,
|
|
6977
|
-
|
|
6976
|
+
_l as getPropTag,
|
|
6978
6977
|
Vn as initProps,
|
|
6979
6978
|
Ce as injectDark,
|
|
6980
6979
|
wt as injectData,
|
|
@@ -6982,7 +6981,7 @@ export {
|
|
|
6982
6981
|
Cr as injectDevice,
|
|
6983
6982
|
Di as injectEnv,
|
|
6984
6983
|
ue as injectMode,
|
|
6985
|
-
|
|
6984
|
+
Rl as injectSandbox,
|
|
6986
6985
|
Nt as injectType,
|
|
6987
6986
|
xr as isEmptyStr,
|
|
6988
6987
|
Or as isPercentStr,
|
|
@@ -6999,7 +6998,7 @@ export {
|
|
|
6999
6998
|
np as provideMode,
|
|
7000
6999
|
ji as provideSandbox,
|
|
7001
7000
|
ap as provideType,
|
|
7002
|
-
|
|
7001
|
+
gl as spawnNode,
|
|
7003
7002
|
Ui as startInterpreter,
|
|
7004
7003
|
je as stopInterpreter
|
|
7005
7004
|
};
|