x-runtime-lib 0.4.5 → 0.4.6
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/i18n-en-qjkol4ql.js +35 -0
- package/dist/i18n-zhHans-chbmhnb3.js +35 -0
- package/dist/index.js +110 -110
- package/package.json +1 -1
- package/dist/i18n-en-kzjkkzqt.js +0 -18
- package/dist/i18n-zhHans-gscwf2xh.js +0 -18
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
"x-runtime-lib": {
|
|
3
|
+
backgroundColor: "Background Color",
|
|
4
|
+
basic: "Basic",
|
|
5
|
+
button: "Button",
|
|
6
|
+
circularRef: "Circular Reference",
|
|
7
|
+
click: "Click",
|
|
8
|
+
comfortable: "Comfortable",
|
|
9
|
+
compNotAvail: "Comp Not Available",
|
|
10
|
+
compact: "Compact",
|
|
11
|
+
darkModeInitOrChange: "Dark Mode Initialize Or Change",
|
|
12
|
+
default: "Default",
|
|
13
|
+
density: "Density",
|
|
14
|
+
globality: "Globality",
|
|
15
|
+
globalSettings: "Global Settings",
|
|
16
|
+
height: "Height",
|
|
17
|
+
id: "ID",
|
|
18
|
+
isDarkMode: "Is Dark Mode",
|
|
19
|
+
maxHeight: "Max Height",
|
|
20
|
+
maxWidth: "Max Width",
|
|
21
|
+
minHeight: "Min Height",
|
|
22
|
+
minWidth: "Min Width",
|
|
23
|
+
name: "Name",
|
|
24
|
+
newScreenSize: "New Screen Size",
|
|
25
|
+
oldScreenSize: "Old Screen Size",
|
|
26
|
+
ref: "Reference",
|
|
27
|
+
screenSizeInitOrChange: "Screen Size Initialize Or Change",
|
|
28
|
+
settings: "Settings",
|
|
29
|
+
startup: "Startup",
|
|
30
|
+
width: "Width"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
e as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
"x-runtime-lib": {
|
|
3
|
+
backgroundColor: "背景颜色",
|
|
4
|
+
basic: "基本",
|
|
5
|
+
button: "按钮",
|
|
6
|
+
circularRef: "循环引用",
|
|
7
|
+
click: "单击",
|
|
8
|
+
comfortable: "舒适",
|
|
9
|
+
compNotAvail: "组件不可用",
|
|
10
|
+
compact: "紧凑",
|
|
11
|
+
darkModeInitOrChange: "暗模式初始化或改变",
|
|
12
|
+
default: "缺省",
|
|
13
|
+
density: "密度",
|
|
14
|
+
globality: "全局",
|
|
15
|
+
globalSettings: "全局设置",
|
|
16
|
+
height: "高度",
|
|
17
|
+
id: "ID",
|
|
18
|
+
isDarkMode: "是否暗模式",
|
|
19
|
+
maxHeight: "最大高度",
|
|
20
|
+
maxWidth: "最大宽度",
|
|
21
|
+
minHeight: "最小高度",
|
|
22
|
+
minWidth: "最小宽度",
|
|
23
|
+
name: "名称",
|
|
24
|
+
newScreenSize: "新屏幕大小",
|
|
25
|
+
oldScreenSize: "旧屏幕大小",
|
|
26
|
+
ref: "引用",
|
|
27
|
+
screenSizeInitOrChange: "屏幕大小初始化或改变",
|
|
28
|
+
settings: "设置",
|
|
29
|
+
startup: "启动",
|
|
30
|
+
width: "宽度"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
e as default
|
|
35
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var wi = Object.defineProperty;
|
|
2
2
|
var Ci = (n, s, p) => s in n ? wi(n, s, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[s] = p;
|
|
3
3
|
var wt = (n, s, p) => Ci(n, typeof s != "symbol" ? s + "" : s, p);
|
|
4
|
-
import { provide as ae, inject as oe, readonly as $e, isReactive as an, defineComponent as on, resolveComponent as
|
|
4
|
+
import { provide as ae, inject as oe, readonly as $e, isReactive as an, defineComponent as on, resolveComponent as xi, openBlock as un, createBlock as sn, unref as Ai, computed as le, ref as Cr, watchEffect as Ii, watch as ki, onBeforeUnmount as Di, h as Le } from "vue";
|
|
5
5
|
import { useI18n as Fi } from "vue-i18n";
|
|
6
6
|
import { openConfirmDlg as Li, openPromptDlg as Ui, eventBus as Mi } from "x-essential-lib";
|
|
7
7
|
const ji = /* @__PURE__ */ new Set([
|
|
@@ -22,12 +22,12 @@ const ji = /* @__PURE__ */ new Set([
|
|
|
22
22
|
groups: Bi
|
|
23
23
|
}, cn = {
|
|
24
24
|
v1: $i
|
|
25
|
-
},
|
|
25
|
+
}, xr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
26
26
|
function fn(n) {
|
|
27
27
|
let s = "";
|
|
28
28
|
for (let p = 0; p < n; p++) {
|
|
29
|
-
const y = Math.floor(Math.random() *
|
|
30
|
-
s +=
|
|
29
|
+
const y = Math.floor(Math.random() * xr.length);
|
|
30
|
+
s += xr[y];
|
|
31
31
|
}
|
|
32
32
|
return s;
|
|
33
33
|
}
|
|
@@ -75,9 +75,9 @@ var Hi = Object.prototype, Ki = Hi.toString;
|
|
|
75
75
|
function qi(n) {
|
|
76
76
|
return Ki.call(n);
|
|
77
77
|
}
|
|
78
|
-
var Zi = "[object Null]", Qi = "[object Undefined]",
|
|
78
|
+
var Zi = "[object Null]", Qi = "[object Undefined]", Ar = Re ? Re.toStringTag : void 0;
|
|
79
79
|
function Ge(n) {
|
|
80
|
-
return n == null ? n === void 0 ? Qi : Zi :
|
|
80
|
+
return n == null ? n === void 0 ? Qi : Zi : Ar && Ar in Object(n) ? Ji(n) : qi(n);
|
|
81
81
|
}
|
|
82
82
|
function Ve(n) {
|
|
83
83
|
return n != null && typeof n == "object";
|
|
@@ -94,8 +94,8 @@ function hn(n) {
|
|
|
94
94
|
var s = Ge(n);
|
|
95
95
|
return s == ta || s == ra || s == ea || s == na;
|
|
96
96
|
}
|
|
97
|
-
var
|
|
98
|
-
var n = /[^.]+$/.exec(
|
|
97
|
+
var xt = K["__core-js_shared__"], Ir = function() {
|
|
98
|
+
var n = /[^.]+$/.exec(xt && xt.keys && xt.keys.IE_PROTO || "");
|
|
99
99
|
return n ? "Symbol(src)_1." + n : "";
|
|
100
100
|
}();
|
|
101
101
|
function ia(n) {
|
|
@@ -213,15 +213,15 @@ var Pa = "[object Arguments]";
|
|
|
213
213
|
function Fr(n) {
|
|
214
214
|
return Ve(n) && Ge(n) == Pa;
|
|
215
215
|
}
|
|
216
|
-
var gn = Object.prototype, wa = gn.hasOwnProperty, Ca = gn.propertyIsEnumerable,
|
|
216
|
+
var gn = Object.prototype, wa = gn.hasOwnProperty, Ca = gn.propertyIsEnumerable, xa = Fr(/* @__PURE__ */ function() {
|
|
217
217
|
return arguments;
|
|
218
218
|
}()) ? Fr : function(n) {
|
|
219
219
|
return Ve(n) && wa.call(n, "callee") && !Ca.call(n, "callee");
|
|
220
220
|
};
|
|
221
|
-
function
|
|
221
|
+
function Aa() {
|
|
222
222
|
return !1;
|
|
223
223
|
}
|
|
224
|
-
var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Lr = bn && typeof module == "object" && module && !module.nodeType && module, Ia = Lr && Lr.exports === bn, Ur = Ia ? K.Buffer : void 0, ka = Ur ? Ur.isBuffer : void 0, mn = ka ||
|
|
224
|
+
var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Lr = bn && typeof module == "object" && module && !module.nodeType && module, Ia = Lr && Lr.exports === bn, Ur = Ia ? K.Buffer : void 0, ka = Ur ? Ur.isBuffer : void 0, mn = ka || Aa, Da = "[object Arguments]", Fa = "[object Array]", La = "[object Boolean]", Ua = "[object Date]", Ma = "[object Error]", ja = "[object Function]", Ba = "[object Map]", $a = "[object Number]", Ga = "[object Object]", Va = "[object RegExp]", Ya = "[object Set]", Xa = "[object String]", Wa = "[object WeakMap]", za = "[object ArrayBuffer]", Ja = "[object DataView]", Ha = "[object Float32Array]", Ka = "[object Float64Array]", qa = "[object Int8Array]", Za = "[object Int16Array]", Qa = "[object Int32Array]", eo = "[object Uint8Array]", to = "[object Uint8ClampedArray]", ro = "[object Uint16Array]", no = "[object Uint32Array]", L = {};
|
|
225
225
|
L[Ha] = L[Ka] = L[qa] = L[Za] = L[Qa] = L[eo] = L[to] = L[ro] = L[no] = !0;
|
|
226
226
|
L[Da] = L[Fa] = L[za] = L[La] = L[Ja] = L[Ua] = L[Ma] = L[ja] = L[Ba] = L[$a] = L[Ga] = L[Va] = L[Ya] = L[Xa] = L[Wa] = !1;
|
|
227
227
|
function io(n) {
|
|
@@ -232,15 +232,15 @@ function jt(n) {
|
|
|
232
232
|
return n(s);
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports, Me = Rn && typeof module == "object" && module && !module.nodeType && module, ao = Me && Me.exports === Rn,
|
|
235
|
+
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports, Me = Rn && typeof module == "object" && module && !module.nodeType && module, ao = Me && Me.exports === Rn, At = ao && ln.process, Oe = function() {
|
|
236
236
|
try {
|
|
237
237
|
var n = Me && Me.require && Me.require("util").types;
|
|
238
|
-
return n ||
|
|
238
|
+
return n || At && At.binding && At.binding("util");
|
|
239
239
|
} catch {
|
|
240
240
|
}
|
|
241
241
|
}(), Mr = Oe && Oe.isTypedArray, oo = Mr ? jt(Mr) : io, uo = Object.prototype, so = uo.hasOwnProperty;
|
|
242
242
|
function On(n, s) {
|
|
243
|
-
var p = Ut(n), y = !p &&
|
|
243
|
+
var p = Ut(n), y = !p && xa(n), _ = !p && !y && mn(n), R = !p && !y && !_ && oo(n), m = p || y || _ || R, N = m ? Sa(n.length, String) : [], T = N.length;
|
|
244
244
|
for (var r in n)
|
|
245
245
|
(s || so.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
246
246
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -333,13 +333,13 @@ function it(n, s) {
|
|
|
333
333
|
return p;
|
|
334
334
|
return -1;
|
|
335
335
|
}
|
|
336
|
-
var
|
|
336
|
+
var xo = Array.prototype, Ao = xo.splice;
|
|
337
337
|
function Io(n) {
|
|
338
338
|
var s = this.__data__, p = it(s, n);
|
|
339
339
|
if (p < 0)
|
|
340
340
|
return !1;
|
|
341
341
|
var y = s.length - 1;
|
|
342
|
-
return p == y ? s.pop() :
|
|
342
|
+
return p == y ? s.pop() : Ao.call(s, p, 1), --this.size, !0;
|
|
343
343
|
}
|
|
344
344
|
function ko(n) {
|
|
345
345
|
var s = this.__data__, p = it(s, n);
|
|
@@ -484,15 +484,15 @@ var ru = Object.getOwnPropertySymbols, Cn = ru ? function(n) {
|
|
|
484
484
|
function nu(n, s) {
|
|
485
485
|
return nt(n, Cn(n), s);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function xn(n, s, p) {
|
|
488
488
|
var y = s(n);
|
|
489
489
|
return Ut(n) ? y : Tn(y, p(n));
|
|
490
490
|
}
|
|
491
491
|
function iu(n) {
|
|
492
|
-
return
|
|
492
|
+
return xn(n, Bt, Gt);
|
|
493
493
|
}
|
|
494
494
|
function au(n) {
|
|
495
|
-
return
|
|
495
|
+
return xn(n, $t, Cn);
|
|
496
496
|
}
|
|
497
497
|
var kt = de(K, "DataView"), Dt = de(K, "Promise"), Ft = de(K, "Set"), Vr = "[object Map]", ou = "[object Object]", Yr = "[object Promise]", Xr = "[object Set]", Wr = "[object WeakMap]", zr = "[object DataView]", uu = he(kt), su = he(Be), cu = he(Dt), fu = he(Ft), lu = he(It), ee = Ge;
|
|
498
498
|
(kt && ee(new kt(new ArrayBuffer(1))) != zr || Be && ee(new Be()) != Vr || Dt && ee(Dt.resolve()) != Yr || Ft && ee(new Ft()) != Xr || It && ee(new It()) != Wr) && (ee = function(n) {
|
|
@@ -539,7 +539,7 @@ function gu(n, s) {
|
|
|
539
539
|
var p = s ? Vt(n.buffer) : n.buffer;
|
|
540
540
|
return new n.constructor(p, n.byteOffset, n.length);
|
|
541
541
|
}
|
|
542
|
-
var bu = "[object Boolean]", mu = "[object Date]", Ru = "[object Map]", Ou = "[object Number]", Nu = "[object RegExp]", Tu = "[object Set]", Su = "[object String]", Pu = "[object Symbol]", wu = "[object ArrayBuffer]", Cu = "[object DataView]",
|
|
542
|
+
var bu = "[object Boolean]", mu = "[object Date]", Ru = "[object Map]", Ou = "[object Number]", Nu = "[object RegExp]", Tu = "[object Set]", Su = "[object String]", Pu = "[object Symbol]", wu = "[object ArrayBuffer]", Cu = "[object DataView]", xu = "[object Float32Array]", Au = "[object Float64Array]", Iu = "[object Int8Array]", ku = "[object Int16Array]", Du = "[object Int32Array]", Fu = "[object Uint8Array]", Lu = "[object Uint8ClampedArray]", Uu = "[object Uint16Array]", Mu = "[object Uint32Array]";
|
|
543
543
|
function ju(n, s, p) {
|
|
544
544
|
var y = n.constructor;
|
|
545
545
|
switch (s) {
|
|
@@ -550,8 +550,8 @@ function ju(n, s, p) {
|
|
|
550
550
|
return new y(+n);
|
|
551
551
|
case Cu:
|
|
552
552
|
return vu(n, p);
|
|
553
|
-
case Au:
|
|
554
553
|
case xu:
|
|
554
|
+
case Au:
|
|
555
555
|
case Iu:
|
|
556
556
|
case ku:
|
|
557
557
|
case Du:
|
|
@@ -584,8 +584,8 @@ var qr = Oe && Oe.isMap, Vu = qr ? jt(qr) : Gu, Yu = "[object Set]";
|
|
|
584
584
|
function Xu(n) {
|
|
585
585
|
return Ve(n) && ee(n) == Yu;
|
|
586
586
|
}
|
|
587
|
-
var Zr = Oe && Oe.isSet, Wu = Zr ? jt(Zr) : Xu, zu = 1, Ju = 2, Hu = 4,
|
|
588
|
-
F[
|
|
587
|
+
var Zr = Oe && Oe.isSet, Wu = Zr ? jt(Zr) : Xu, zu = 1, Ju = 2, Hu = 4, An = "[object Arguments]", Ku = "[object Array]", qu = "[object Boolean]", Zu = "[object Date]", Qu = "[object Error]", In = "[object Function]", es = "[object GeneratorFunction]", ts = "[object Map]", rs = "[object Number]", kn = "[object Object]", ns = "[object RegExp]", is = "[object Set]", as = "[object String]", os = "[object Symbol]", us = "[object WeakMap]", ss = "[object ArrayBuffer]", cs = "[object DataView]", fs = "[object Float32Array]", ls = "[object Float64Array]", ps = "[object Int8Array]", hs = "[object Int16Array]", ds = "[object Int32Array]", vs = "[object Uint8Array]", ys = "[object Uint8ClampedArray]", Es = "[object Uint16Array]", _s = "[object Uint32Array]", F = {};
|
|
588
|
+
F[An] = F[Ku] = F[ss] = F[cs] = F[qu] = F[Zu] = F[fs] = F[ls] = F[ps] = F[hs] = F[ds] = F[ts] = F[rs] = F[kn] = F[ns] = F[is] = F[as] = F[os] = F[vs] = F[ys] = F[Es] = F[_s] = !0;
|
|
589
589
|
F[Qu] = F[In] = F[us] = !1;
|
|
590
590
|
function rt(n, s, p, y, _, R) {
|
|
591
591
|
var m, N = s & zu, T = s & Ju, r = s & Hu;
|
|
@@ -601,7 +601,7 @@ function rt(n, s, p, y, _, R) {
|
|
|
601
601
|
var e = ee(n), i = e == In || e == es;
|
|
602
602
|
if (mn(n))
|
|
603
603
|
return qo(n, N);
|
|
604
|
-
if (e == kn || e ==
|
|
604
|
+
if (e == kn || e == An || i && !_) {
|
|
605
605
|
if (m = T || i ? {} : Bu(n), !N)
|
|
606
606
|
return T ? nu(n, Ho(m, n)) : tu(n, Jo(m, n));
|
|
607
607
|
} else {
|
|
@@ -782,20 +782,20 @@ function Cs() {
|
|
|
782
782
|
const n = oe(Bn);
|
|
783
783
|
return console.assert(an(n)), n;
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function xs(n) {
|
|
786
786
|
ae($n, $e(n));
|
|
787
787
|
}
|
|
788
788
|
function _c() {
|
|
789
789
|
return oe($n);
|
|
790
790
|
}
|
|
791
|
-
const
|
|
791
|
+
const As = /* @__PURE__ */ on({
|
|
792
792
|
__name: "index",
|
|
793
793
|
setup(n) {
|
|
794
794
|
const s = Ss();
|
|
795
795
|
return (p, y) => {
|
|
796
|
-
const _ =
|
|
796
|
+
const _ = xi("v-btn");
|
|
797
797
|
return un(), sn(_, {
|
|
798
|
-
theme:
|
|
798
|
+
theme: Ai(s) ? "dark" : "light"
|
|
799
799
|
}, null, 8, ["theme"]);
|
|
800
800
|
};
|
|
801
801
|
}
|
|
@@ -806,11 +806,11 @@ const xs = /* @__PURE__ */ on({
|
|
|
806
806
|
], tn = {
|
|
807
807
|
key: "settings",
|
|
808
808
|
keyFlag: !0,
|
|
809
|
-
name: "settings",
|
|
809
|
+
name: "x-runtime-lib.settings",
|
|
810
810
|
children: [
|
|
811
811
|
{
|
|
812
812
|
key: "density",
|
|
813
|
-
name: "density",
|
|
813
|
+
name: "x-runtime-lib.density",
|
|
814
814
|
ui: "select",
|
|
815
815
|
items: Is,
|
|
816
816
|
default: "default"
|
|
@@ -818,13 +818,13 @@ const xs = /* @__PURE__ */ on({
|
|
|
818
818
|
]
|
|
819
819
|
}, ks = {
|
|
820
820
|
key: "btn_v1",
|
|
821
|
-
name: "button",
|
|
822
|
-
comp:
|
|
821
|
+
name: "x-runtime-lib.button",
|
|
822
|
+
comp: As,
|
|
823
823
|
leaf: !0,
|
|
824
824
|
events: [
|
|
825
825
|
{
|
|
826
826
|
key: "click",
|
|
827
|
-
name: "click"
|
|
827
|
+
name: "x-runtime-lib.click"
|
|
828
828
|
}
|
|
829
829
|
],
|
|
830
830
|
methods: [],
|
|
@@ -834,46 +834,46 @@ const xs = /* @__PURE__ */ on({
|
|
|
834
834
|
}
|
|
835
835
|
}, rn = {
|
|
836
836
|
key: "globalSettings",
|
|
837
|
-
name: "globalSettings",
|
|
837
|
+
name: "x-runtime-lib.globalSettings",
|
|
838
838
|
children: [
|
|
839
839
|
{
|
|
840
840
|
key: "backgroundColor",
|
|
841
|
-
name: "backgroundColor",
|
|
841
|
+
name: "x-runtime-lib.backgroundColor",
|
|
842
842
|
ui: "colorPicker",
|
|
843
843
|
default: "#00000000"
|
|
844
844
|
}
|
|
845
845
|
]
|
|
846
846
|
}, Ds = {
|
|
847
847
|
key: "globality_v1",
|
|
848
|
-
name: "globality",
|
|
848
|
+
name: "x-runtime-lib.globality",
|
|
849
849
|
comp: "",
|
|
850
850
|
leaf: !1,
|
|
851
851
|
events: [
|
|
852
852
|
{
|
|
853
853
|
key: "startup",
|
|
854
|
-
name: "startup"
|
|
854
|
+
name: "x-runtime-lib.startup"
|
|
855
855
|
},
|
|
856
856
|
{
|
|
857
857
|
key: "screenSizeInitOrChange",
|
|
858
|
-
name: "screenSizeInitOrChange",
|
|
858
|
+
name: "x-runtime-lib.screenSizeInitOrChange",
|
|
859
859
|
params: [
|
|
860
860
|
{
|
|
861
861
|
key: "newScreenSize",
|
|
862
|
-
name: "newScreenSize"
|
|
862
|
+
name: "x-runtime-lib.newScreenSize"
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
865
|
key: "oldScreenSize",
|
|
866
|
-
name: "oldScreenSize"
|
|
866
|
+
name: "x-runtime-lib.oldScreenSize"
|
|
867
867
|
}
|
|
868
868
|
]
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
871
|
key: "darkModeInitOrChange",
|
|
872
|
-
name: "darkModeInitOrChange",
|
|
872
|
+
name: "x-runtime-lib.darkModeInitOrChange",
|
|
873
873
|
params: [
|
|
874
874
|
{
|
|
875
875
|
key: "isDarkMode",
|
|
876
|
-
name: "isDarkMode"
|
|
876
|
+
name: "x-runtime-lib.isDarkMode"
|
|
877
877
|
}
|
|
878
878
|
]
|
|
879
879
|
}
|
|
@@ -4061,7 +4061,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4061
4061
|
}
|
|
4062
4062
|
return { line: d, column: h - E };
|
|
4063
4063
|
}, a = 0, l = 0, v = 0, g, O, b, P, I, D, X, Pe = 0, z = 0, ve, ue, j, W;
|
|
4064
|
-
function
|
|
4064
|
+
function A(f, h) {
|
|
4065
4065
|
var d = c(t, f);
|
|
4066
4066
|
h += " (" + d.line + ":" + d.column + ")";
|
|
4067
4067
|
var E = new SyntaxError(h);
|
|
@@ -4114,14 +4114,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4114
4114
|
this.line = D, this.column = a - X;
|
|
4115
4115
|
}
|
|
4116
4116
|
function ui() {
|
|
4117
|
-
D = 1, a = X = 0, I = !0,
|
|
4117
|
+
D = 1, a = X = 0, I = !0, xe();
|
|
4118
4118
|
}
|
|
4119
4119
|
function $(f, h) {
|
|
4120
|
-
v = a, r.locations && (O = new ce()), b = f,
|
|
4120
|
+
v = a, r.locations && (O = new ce()), b = f, xe(), P = h, I = f.beforeExpr;
|
|
4121
4121
|
}
|
|
4122
4122
|
function si() {
|
|
4123
4123
|
var f = r.onComment && r.locations && new ce(), h = a, d = t.indexOf("*/", a += 2);
|
|
4124
|
-
if (d === -1 &&
|
|
4124
|
+
if (d === -1 && A(a - 2, "Unterminated comment"), a = d + 2, r.locations) {
|
|
4125
4125
|
Ke.lastIndex = h;
|
|
4126
4126
|
for (var E; (E = Ke.exec(t)) && E.index < a; )
|
|
4127
4127
|
++D, X = E.index + E[0].length;
|
|
@@ -4147,7 +4147,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4147
4147
|
r.locations && new ce()
|
|
4148
4148
|
);
|
|
4149
4149
|
}
|
|
4150
|
-
function
|
|
4150
|
+
function xe() {
|
|
4151
4151
|
for (; a < e; ) {
|
|
4152
4152
|
var f = t.charCodeAt(a);
|
|
4153
4153
|
if (f === 32)
|
|
@@ -4199,7 +4199,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4199
4199
|
var h = t.charCodeAt(a + 1);
|
|
4200
4200
|
if (h === f) {
|
|
4201
4201
|
if (h === 45 && t.charCodeAt(a + 2) === 62 && He.test(t.slice(z, a))) {
|
|
4202
|
-
a += 3, yt(),
|
|
4202
|
+
a += 3, yt(), xe(), _e();
|
|
4203
4203
|
return;
|
|
4204
4204
|
}
|
|
4205
4205
|
G(zn, 2);
|
|
@@ -4212,7 +4212,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4212
4212
|
return;
|
|
4213
4213
|
}
|
|
4214
4214
|
if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4215
|
-
a += 4, yt(),
|
|
4215
|
+
a += 4, yt(), xe(), _e();
|
|
4216
4216
|
return;
|
|
4217
4217
|
}
|
|
4218
4218
|
h === 61 && (d = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Zn, d);
|
|
@@ -4296,7 +4296,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4296
4296
|
var E = String.fromCharCode(h);
|
|
4297
4297
|
if (E === "\\" || _r.test(E))
|
|
4298
4298
|
return Or();
|
|
4299
|
-
|
|
4299
|
+
A(a, "Unexpected character '" + E + "'");
|
|
4300
4300
|
}
|
|
4301
4301
|
}
|
|
4302
4302
|
function G(f, h) {
|
|
@@ -4305,9 +4305,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4305
4305
|
}
|
|
4306
4306
|
function br() {
|
|
4307
4307
|
for (var f, h, d = a; ; ) {
|
|
4308
|
-
a >= e &&
|
|
4308
|
+
a >= e && A(d, "Unterminated regexp");
|
|
4309
4309
|
var E = t.charAt(a);
|
|
4310
|
-
if (He.test(E) &&
|
|
4310
|
+
if (He.test(E) && A(d, "Unterminated regexp"), f)
|
|
4311
4311
|
f = !1;
|
|
4312
4312
|
else {
|
|
4313
4313
|
if (E === "[")
|
|
@@ -4323,39 +4323,39 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4323
4323
|
var C = t.slice(d, a);
|
|
4324
4324
|
++a;
|
|
4325
4325
|
var S = Rr();
|
|
4326
|
-
S && !/^[gmi]*$/.test(S) &&
|
|
4326
|
+
S && !/^[gmi]*$/.test(S) && A(d, "Invalid regexp flag");
|
|
4327
4327
|
try {
|
|
4328
|
-
var
|
|
4328
|
+
var x = new RegExp(C, S);
|
|
4329
4329
|
} catch (U) {
|
|
4330
|
-
throw U instanceof SyntaxError &&
|
|
4330
|
+
throw U instanceof SyntaxError && A(d, U.message), U;
|
|
4331
4331
|
}
|
|
4332
|
-
$(Yt,
|
|
4332
|
+
$(Yt, x);
|
|
4333
4333
|
}
|
|
4334
|
-
function
|
|
4334
|
+
function Ae(f, h) {
|
|
4335
4335
|
for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h, S = 0; S < C; ++S) {
|
|
4336
|
-
var
|
|
4337
|
-
if (
|
|
4336
|
+
var x = t.charCodeAt(a), U;
|
|
4337
|
+
if (x >= 97 ? U = x - 97 + 10 : x >= 65 ? U = x - 65 + 10 : x >= 48 && x <= 57 ? U = x - 48 : U = 1 / 0, U >= f) break;
|
|
4338
4338
|
++a, E = E * f + U;
|
|
4339
4339
|
}
|
|
4340
4340
|
return a === d || h !== void 0 && a - d !== h ? null : E;
|
|
4341
4341
|
}
|
|
4342
4342
|
function _i() {
|
|
4343
4343
|
a += 2;
|
|
4344
|
-
var f =
|
|
4345
|
-
f === null &&
|
|
4344
|
+
var f = Ae(16);
|
|
4345
|
+
f === null && A(l + 2, "Expected hexadecimal number"), qe(t.charCodeAt(a)) && A(a, "Identifier directly after number"), $(Xe, f);
|
|
4346
4346
|
}
|
|
4347
4347
|
function mr(f) {
|
|
4348
4348
|
var h = a, d = !1, E = t.charCodeAt(a) === 48;
|
|
4349
|
-
!f &&
|
|
4349
|
+
!f && Ae(10) === null && A(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Ae(10), d = !0);
|
|
4350
4350
|
var C = t.charCodeAt(a);
|
|
4351
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a,
|
|
4352
|
-
var S = t.slice(h, a),
|
|
4353
|
-
d ?
|
|
4351
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, Ae(10) === null && A(h, "Invalid number"), d = !0), qe(t.charCodeAt(a)) && A(a, "Identifier directly after number");
|
|
4352
|
+
var S = t.slice(h, a), x;
|
|
4353
|
+
d ? x = parseFloat(S) : !E || S.length === 1 ? x = parseInt(S, 10) : /[89]/.test(S) || W ? A(h, "Invalid number") : x = parseInt(S, 8), $(Xe, x);
|
|
4354
4354
|
}
|
|
4355
4355
|
function gi(f) {
|
|
4356
4356
|
a++;
|
|
4357
4357
|
for (var h = ""; ; ) {
|
|
4358
|
-
a >= e &&
|
|
4358
|
+
a >= e && A(l, "Unterminated string constant");
|
|
4359
4359
|
var d = t.charCodeAt(a);
|
|
4360
4360
|
if (d === f) {
|
|
4361
4361
|
++a, $(ot, h);
|
|
@@ -4367,7 +4367,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4367
4367
|
for (E && (E = E[0]); E && parseInt(E, 8) > 255; )
|
|
4368
4368
|
E = E.slice(0, -1);
|
|
4369
4369
|
if (E === "0" && (E = null), ++a, E)
|
|
4370
|
-
W &&
|
|
4370
|
+
W && A(a - 2, "Octal literal in strict mode"), h += String.fromCharCode(parseInt(E, 8)), a += E.length - 1;
|
|
4371
4371
|
else
|
|
4372
4372
|
switch (d) {
|
|
4373
4373
|
case 110:
|
|
@@ -4411,12 +4411,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4411
4411
|
break;
|
|
4412
4412
|
}
|
|
4413
4413
|
} else
|
|
4414
|
-
(d === 13 || d === 10 || d === 8232 || d === 8233) &&
|
|
4414
|
+
(d === 13 || d === 10 || d === 8232 || d === 8233) && A(l, "Unterminated string constant"), h += String.fromCharCode(d), ++a;
|
|
4415
4415
|
}
|
|
4416
4416
|
}
|
|
4417
4417
|
function Ze(f) {
|
|
4418
|
-
var h =
|
|
4419
|
-
return h === null &&
|
|
4418
|
+
var h = Ae(16, f);
|
|
4419
|
+
return h === null && A(l, "Bad character escape sequence"), /** @type {number} */
|
|
4420
4420
|
h;
|
|
4421
4421
|
}
|
|
4422
4422
|
var ge;
|
|
@@ -4427,9 +4427,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4427
4427
|
if (gr(E))
|
|
4428
4428
|
ge && (f += t.charAt(a)), ++a;
|
|
4429
4429
|
else if (E === 92) {
|
|
4430
|
-
ge || (f = t.slice(d, a)), ge = !0, t.charCodeAt(++a) !== 117 &&
|
|
4430
|
+
ge || (f = t.slice(d, a)), ge = !0, t.charCodeAt(++a) !== 117 && A(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4431
4431
|
var C = Ze(4), S = String.fromCharCode(C);
|
|
4432
|
-
S ||
|
|
4432
|
+
S || A(a - 1, "Invalid Unicode escape"), (h ? qe(C) : gr(C)) || A(a - 4, "Invalid Unicode escape"), f += S;
|
|
4433
4433
|
} else
|
|
4434
4434
|
break;
|
|
4435
4435
|
h = !1;
|
|
@@ -4448,7 +4448,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4448
4448
|
for (; a < X; )
|
|
4449
4449
|
X = t.lastIndexOf(`
|
|
4450
4450
|
`, X - 2) + 1, --D;
|
|
4451
|
-
|
|
4451
|
+
xe(), _e();
|
|
4452
4452
|
}
|
|
4453
4453
|
function Nr() {
|
|
4454
4454
|
this.type = null, this.start = l, this.end = null;
|
|
@@ -4483,10 +4483,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4483
4483
|
b === f ? k() : Q();
|
|
4484
4484
|
}
|
|
4485
4485
|
function Q() {
|
|
4486
|
-
|
|
4486
|
+
A(l, "Unexpected token");
|
|
4487
4487
|
}
|
|
4488
4488
|
function et(f) {
|
|
4489
|
-
f.type !== "Identifier" && f.type !== "MemberExpression" &&
|
|
4489
|
+
f.type !== "Identifier" && f.type !== "MemberExpression" && A(f.start, "Assigning to rvalue"), W && f.type === "Identifier" && Je(f.name) && A(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4490
4490
|
}
|
|
4491
4491
|
function bi(f) {
|
|
4492
4492
|
Pe = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [], _e();
|
|
@@ -4512,7 +4512,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4512
4512
|
if ((h.label === null || C.name === h.label.name) && (C.kind !== null && (d || C.kind === "loop") || h.label && d))
|
|
4513
4513
|
break;
|
|
4514
4514
|
}
|
|
4515
|
-
return E === j.length &&
|
|
4515
|
+
return E === j.length && A(h.start, "Unsyntactic " + f.keyword), w(h, d ? "BreakStatement" : "ContinueStatement");
|
|
4516
4516
|
case zt:
|
|
4517
4517
|
return k(), fe(), w(h, "DebuggerStatement");
|
|
4518
4518
|
case Ht:
|
|
@@ -4530,30 +4530,30 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4530
4530
|
case Qt:
|
|
4531
4531
|
return k(), h.test = Ie(), h.consequent = J(), h.alternate = M(Kt) ? J() : null, w(h, "IfStatement");
|
|
4532
4532
|
case er:
|
|
4533
|
-
return !ue && !r.allowReturnOutsideFunction &&
|
|
4533
|
+
return !ue && !r.allowReturnOutsideFunction && A(l, "'return' outside of function"), k(), M(Z) || Qe() ? h.argument = null : (h.argument = Y(), fe()), w(h, "ReturnStatement");
|
|
4534
4534
|
case lt:
|
|
4535
4535
|
k(), h.discriminant = Ie(), h.cases = [], B(we), j.push(mi);
|
|
4536
|
-
for (var
|
|
4536
|
+
for (var x, U; b !== Ee; )
|
|
4537
4537
|
if (b === ct || b === Jt) {
|
|
4538
4538
|
var Fe = b === ct;
|
|
4539
|
-
|
|
4539
|
+
x && w(x, "SwitchCase"), h.cases.push(x = V()), x.consequent = [], k(), Fe ? x.test = Y() : (U && A(Pe, "Multiple default clauses"), U = !0, x.test = null), B(Ce);
|
|
4540
4540
|
} else
|
|
4541
|
-
|
|
4542
|
-
return
|
|
4541
|
+
x || Q(), x.consequent.push(J());
|
|
4542
|
+
return x && w(x, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
|
|
4543
4543
|
case tr:
|
|
4544
|
-
return k(), He.test(t.slice(z, l)) &&
|
|
4544
|
+
return k(), He.test(t.slice(z, l)) && A(z, "Illegal newline after throw"), h.argument = Y(), fe(), w(h, "ThrowStatement");
|
|
4545
4545
|
case rr:
|
|
4546
4546
|
if (k(), h.block = ke(), h.handler = null, b === Xt) {
|
|
4547
4547
|
var be = V();
|
|
4548
|
-
k(), B(q), be.param = ie(), W && Je(be.param.name) &&
|
|
4548
|
+
k(), B(q), be.param = ie(), W && Je(be.param.name) && A(be.param.start, "Binding " + be.param.name + " in strict mode"), B(H), be.body = ke(), h.handler = w(be, "CatchClause");
|
|
4549
4549
|
}
|
|
4550
|
-
return h.finalizer = M(qt) ? ke() : null, !h.handler && !h.finalizer &&
|
|
4550
|
+
return h.finalizer = M(qt) ? ke() : null, !h.handler && !h.finalizer && A(h.start, "Missing catch or finally clause"), w(h, "TryStatement");
|
|
4551
4551
|
case pt:
|
|
4552
4552
|
return k(), Pr(h), fe(), w(h, "VariableDeclaration");
|
|
4553
4553
|
case ht:
|
|
4554
4554
|
return k(), h.test = Ie(), j.push(gt), h.body = J(), j.pop(), w(h, "WhileStatement");
|
|
4555
4555
|
case nr:
|
|
4556
|
-
return W &&
|
|
4556
|
+
return W && A(l, "'with' in strict mode"), k(), h.object = Ie(), h.body = J(), w(h, "WithStatement");
|
|
4557
4557
|
case we:
|
|
4558
4558
|
return ke();
|
|
4559
4559
|
case Z:
|
|
@@ -4562,7 +4562,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4562
4562
|
var Pt = P, tt = Y();
|
|
4563
4563
|
if (f === ye && tt.type === "Identifier" && M(Ce)) {
|
|
4564
4564
|
for (var E = 0; E < j.length; ++E)
|
|
4565
|
-
j[E].name === Pt &&
|
|
4565
|
+
j[E].name === Pt && A(tt.start, "Label '" + Pt + "' is already declared");
|
|
4566
4566
|
var Pi = b.isLoop ? "loop" : b === lt ? "switch" : null;
|
|
4567
4567
|
return j.push({ name: Pt, kind: Pi }), h.body = J(), j.pop(), h.label = tt, w(h, "LabeledStatement");
|
|
4568
4568
|
} else
|
|
@@ -4591,7 +4591,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4591
4591
|
function Pr(f, h) {
|
|
4592
4592
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
4593
4593
|
var d = V();
|
|
4594
|
-
if (d.id = ie(), W && Je(d.id.name) &&
|
|
4594
|
+
if (d.id = ie(), W && Je(d.id.name) && A(d.id.start, "Binding " + d.id.name + " in strict mode"), d.init = M(pr) ? Y(!0, h) : null, f.declarations.push(w(d, "VariableDeclarator")), !M(re)) break;
|
|
4595
4595
|
}
|
|
4596
4596
|
}
|
|
4597
4597
|
function Y(f, h) {
|
|
@@ -4629,15 +4629,15 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4629
4629
|
C.left = f, C.operator = P;
|
|
4630
4630
|
var S = b;
|
|
4631
4631
|
k(), C.right = Rt(Ot(), E, d);
|
|
4632
|
-
var
|
|
4633
|
-
return Rt(
|
|
4632
|
+
var x = w(C, S === dr || S === vr ? "LogicalExpression" : "BinaryExpression");
|
|
4633
|
+
return Rt(x, h, d);
|
|
4634
4634
|
}
|
|
4635
4635
|
return f;
|
|
4636
4636
|
}
|
|
4637
4637
|
function Ot() {
|
|
4638
4638
|
if (b.prefix) {
|
|
4639
4639
|
var f = V(), h = b.isUpdate;
|
|
4640
|
-
return f.operator = P, f.prefix = !0, I = !0, k(), f.argument = Ot(), h ? et(f.argument) : W && f.operator === "delete" && f.argument.type === "Identifier" &&
|
|
4640
|
+
return f.operator = P, f.prefix = !0, I = !0, k(), f.argument = Ot(), h ? et(f.argument) : W && f.operator === "delete" && f.argument.type === "Identifier" && A(f.start, "Deleting local variable in strict mode"), w(f, h ? "UpdateExpression" : "UnaryExpression");
|
|
4641
4641
|
}
|
|
4642
4642
|
for (var d = Ni(); b.postfix && !Qe(); ) {
|
|
4643
4643
|
var f = ne(d);
|
|
@@ -4696,11 +4696,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4696
4696
|
break;
|
|
4697
4697
|
var E = { key: wr() }, C = !1, S;
|
|
4698
4698
|
if (M(Ce) ? (E.value = Y(!0), S = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (C = d = !0, S = E.kind = E.key.name, E.key = wr(), b !== q && Q(), E.value = Tt(V(), !1)) : Q(), E.key.type === "Identifier" && (W || d))
|
|
4699
|
-
for (var
|
|
4700
|
-
var U = f.properties[
|
|
4699
|
+
for (var x = 0; x < f.properties.length; ++x) {
|
|
4700
|
+
var U = f.properties[x];
|
|
4701
4701
|
if (U.key.name === E.key.name) {
|
|
4702
4702
|
var Fe = S === U.kind || C && U.kind === "init" || S === "init" && (U.kind === "get" || U.kind === "set");
|
|
4703
|
-
Fe && !W && S === "init" && U.kind === "init" && (Fe = !1), Fe &&
|
|
4703
|
+
Fe && !W && S === "init" && U.kind === "init" && (Fe = !1), Fe && A(E.key.start, "Redefinition of property");
|
|
4704
4704
|
}
|
|
4705
4705
|
}
|
|
4706
4706
|
f.properties.push(E);
|
|
@@ -4718,10 +4718,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4718
4718
|
var E = ue, C = j;
|
|
4719
4719
|
if (ue = !0, j = [], f.body = ke(!0), ue = E, j = C, W || f.body.body.length && _t(f.body.body[0]))
|
|
4720
4720
|
for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
|
|
4721
|
-
var
|
|
4722
|
-
if ((yr(
|
|
4721
|
+
var x = S < 0 ? f.id : f.params[S];
|
|
4722
|
+
if ((yr(x.name) || Je(x.name)) && A(x.start, "Defining '" + x.name + "' in strict mode"), S >= 0)
|
|
4723
4723
|
for (var U = 0; U < S; ++U)
|
|
4724
|
-
|
|
4724
|
+
x.name === f.params[U].name && A(x.start, "Argument name clash in strict mode");
|
|
4725
4725
|
}
|
|
4726
4726
|
return w(f, h ? "FunctionDeclaration" : "FunctionExpression");
|
|
4727
4727
|
}
|
|
@@ -4737,7 +4737,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4737
4737
|
}
|
|
4738
4738
|
function ie(f) {
|
|
4739
4739
|
var h = V();
|
|
4740
|
-
return f && r.forbidReserved === "everywhere" && (f = !1), b === ye ? (!f && (r.forbidReserved && ri(P) || W && yr(P)) && t.slice(l, v).indexOf("\\") === -1 &&
|
|
4740
|
+
return f && r.forbidReserved === "everywhere" && (f = !1), b === ye ? (!f && (r.forbidReserved && ri(P) || W && yr(P)) && t.slice(l, v).indexOf("\\") === -1 && A(l, "The keyword '" + P + "' is reserved"), h.name = P) : f && b.keyword ? h.name = b.keyword : Q(), I = !1, k(), w(h, "Identifier");
|
|
4741
4741
|
}
|
|
4742
4742
|
});
|
|
4743
4743
|
}
|
|
@@ -5056,7 +5056,7 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5056
5056
|
N.value = m[p.refContext.refid];
|
|
5057
5057
|
});
|
|
5058
5058
|
const T = Cr();
|
|
5059
|
-
|
|
5059
|
+
xs(T), ki(N, (a) => {
|
|
5060
5060
|
a || Mi.emit("compNotAvail", p.refContext.refid), T.value && (nn(T.value), T.value = void 0), a && (T.value = qs(
|
|
5061
5061
|
{
|
|
5062
5062
|
env: y,
|
|
@@ -5179,57 +5179,57 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5179
5179
|
}
|
|
5180
5180
|
], Yn = {
|
|
5181
5181
|
key: "ref",
|
|
5182
|
-
name: "ref",
|
|
5182
|
+
name: "x-runtime-lib.ref",
|
|
5183
5183
|
children: [
|
|
5184
5184
|
{
|
|
5185
5185
|
key: "id",
|
|
5186
|
-
name: "id",
|
|
5186
|
+
name: "x-runtime-lib.id",
|
|
5187
5187
|
ui: "compSelect"
|
|
5188
5188
|
},
|
|
5189
5189
|
{
|
|
5190
5190
|
key: "name",
|
|
5191
|
-
name: "name",
|
|
5191
|
+
name: "x-runtime-lib.name",
|
|
5192
5192
|
ui: "strInput",
|
|
5193
5193
|
static: !0
|
|
5194
5194
|
},
|
|
5195
5195
|
{
|
|
5196
5196
|
key: "width",
|
|
5197
|
-
name: "width",
|
|
5197
|
+
name: "x-runtime-lib.width",
|
|
5198
5198
|
ui: "multiTypes",
|
|
5199
5199
|
types: me,
|
|
5200
5200
|
default: ""
|
|
5201
5201
|
},
|
|
5202
5202
|
{
|
|
5203
5203
|
key: "minWidth",
|
|
5204
|
-
name: "minWidth",
|
|
5204
|
+
name: "x-runtime-lib.minWidth",
|
|
5205
5205
|
ui: "multiTypes",
|
|
5206
5206
|
types: me,
|
|
5207
5207
|
default: ""
|
|
5208
5208
|
},
|
|
5209
5209
|
{
|
|
5210
5210
|
key: "maxWidth",
|
|
5211
|
-
name: "maxWidth",
|
|
5211
|
+
name: "x-runtime-lib.maxWidth",
|
|
5212
5212
|
ui: "multiTypes",
|
|
5213
5213
|
types: me,
|
|
5214
5214
|
default: ""
|
|
5215
5215
|
},
|
|
5216
5216
|
{
|
|
5217
5217
|
key: "height",
|
|
5218
|
-
name: "height",
|
|
5218
|
+
name: "x-runtime-lib.height",
|
|
5219
5219
|
ui: "multiTypes",
|
|
5220
5220
|
types: me,
|
|
5221
5221
|
default: ""
|
|
5222
5222
|
},
|
|
5223
5223
|
{
|
|
5224
5224
|
key: "minHeight",
|
|
5225
|
-
name: "minHeight",
|
|
5225
|
+
name: "x-runtime-lib.minHeight",
|
|
5226
5226
|
ui: "multiTypes",
|
|
5227
5227
|
types: me,
|
|
5228
5228
|
default: ""
|
|
5229
5229
|
},
|
|
5230
5230
|
{
|
|
5231
5231
|
key: "maxHeight",
|
|
5232
|
-
name: "maxHeight",
|
|
5232
|
+
name: "x-runtime-lib.maxHeight",
|
|
5233
5233
|
ui: "multiTypes",
|
|
5234
5234
|
types: me,
|
|
5235
5235
|
default: ""
|
|
@@ -5237,7 +5237,7 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5237
5237
|
]
|
|
5238
5238
|
}, Qs = [Vn, Yn], ec = [Vn, Yn], tc = {
|
|
5239
5239
|
key: "ref_v1",
|
|
5240
|
-
name: "ref",
|
|
5240
|
+
name: "x-runtime-lib.ref",
|
|
5241
5241
|
comp: Zs,
|
|
5242
5242
|
leaf: !0,
|
|
5243
5243
|
events: [],
|
|
@@ -5279,7 +5279,7 @@ const nc = (n, s, p) => {
|
|
|
5279
5279
|
});
|
|
5280
5280
|
};
|
|
5281
5281
|
async function gc(n) {
|
|
5282
|
-
return (await nc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-
|
|
5282
|
+
return (await nc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-qjkol4ql.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-chbmhnb3.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
5283
5283
|
}
|
|
5284
5284
|
export {
|
|
5285
5285
|
fc as duplicateNode,
|
|
@@ -5309,7 +5309,7 @@ export {
|
|
|
5309
5309
|
Ec as provideDepends,
|
|
5310
5310
|
hc as provideDevice,
|
|
5311
5311
|
lc as provideEnv,
|
|
5312
|
-
|
|
5312
|
+
xs as provideInterpreter,
|
|
5313
5313
|
pc as provideMode,
|
|
5314
5314
|
vc as provideType,
|
|
5315
5315
|
Rs as spawnNode,
|
package/package.json
CHANGED
package/dist/i18n-en-kzjkkzqt.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
"x-runtime-lib": {
|
|
3
|
-
basic: "Basic",
|
|
4
|
-
button: "Button",
|
|
5
|
-
circularRef: "Circular Reference",
|
|
6
|
-
click: "Click",
|
|
7
|
-
comfortable: "Comfortable",
|
|
8
|
-
compNotAvail: "Comp Not Available",
|
|
9
|
-
compact: "Compact",
|
|
10
|
-
default: "Default",
|
|
11
|
-
density: "Density",
|
|
12
|
-
ref: "Reference",
|
|
13
|
-
settings: "Settings"
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
e as default
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
"x-runtime-lib": {
|
|
3
|
-
basic: "基本",
|
|
4
|
-
button: "按钮",
|
|
5
|
-
circularRef: "循环引用",
|
|
6
|
-
click: "单击",
|
|
7
|
-
comfortable: "舒适",
|
|
8
|
-
compNotAvail: "组件不可用",
|
|
9
|
-
compact: "紧凑",
|
|
10
|
-
default: "缺省",
|
|
11
|
-
density: "密度",
|
|
12
|
-
ref: "引用",
|
|
13
|
-
settings: "设置"
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
t as default
|
|
18
|
-
};
|