x-runtime-lib 0.3.6 → 0.3.7

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.
Files changed (2) hide show
  1. package/dist/index.js +184 -184
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
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), p);
4
- import { provide as ae, inject as oe, readonly as Be, isReactive as an, defineComponent as on, resolveComponent as Ai, openBlock as un, createBlock as sn, unref as xi, computed as le, ref as Cr, watchEffect as Ii, watch as ki, onBeforeUnmount as Fi, h as Le } from "vue";
5
- import { useI18n as Li } from "vue-i18n";
6
- import { openConfirmDlg as Di, openPromptDlg as Ui, eventBus as Mi } from "x-essential-lib";
4
+ import { provide as ae, inject as oe, readonly as Be, isReactive as an, defineComponent as on, resolveComponent as Ai, openBlock as un, createBlock as sn, unref as xi, computed as le, ref as Cr, watchEffect as Ii, watch as ki, onBeforeUnmount as Di, h as Fe } from "vue";
5
+ import { useI18n as Fi } from "vue-i18n";
6
+ import { openConfirmDlg as Li, openPromptDlg as Ui, eventBus as Mi } from "x-essential-lib";
7
7
  const ji = /* @__PURE__ */ new Set([
8
8
  "globality_v1",
9
9
  "btn_v1",
@@ -60,16 +60,16 @@ function Ct(n) {
60
60
  if (!isNaN(p))
61
61
  return p;
62
62
  }
63
- var ln = typeof global == "object" && global && global.Object === Object && global, Xi = typeof self == "object" && self && self.Object === Object && self, K = ln || Xi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Wi = pn.hasOwnProperty, zi = pn.toString, De = Re ? Re.toStringTag : void 0;
63
+ var ln = typeof global == "object" && global && global.Object === Object && global, Xi = typeof self == "object" && self && self.Object === Object && self, K = ln || Xi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Wi = pn.hasOwnProperty, zi = pn.toString, Le = Re ? Re.toStringTag : void 0;
64
64
  function Ji(n) {
65
- var s = Wi.call(n, De), p = n[De];
65
+ var s = Wi.call(n, Le), p = n[Le];
66
66
  try {
67
- n[De] = void 0;
67
+ n[Le] = void 0;
68
68
  var y = !0;
69
69
  } catch {
70
70
  }
71
71
  var g = zi.call(n);
72
- return y && (s ? n[De] = p : delete n[De]), g;
72
+ return y && (s ? n[Le] = p : delete n[Le]), g;
73
73
  }
74
74
  var Hi = Object.prototype, Ki = Hi.toString;
75
75
  function qi(n) {
@@ -150,7 +150,7 @@ function Ea(n, s) {
150
150
  s[p] = n[p];
151
151
  return s;
152
152
  }
153
- var Fr = function() {
153
+ var Dr = function() {
154
154
  try {
155
155
  var n = de(Object, "defineProperty");
156
156
  return n({}, "", {}), n;
@@ -168,7 +168,7 @@ function ma(n, s) {
168
168
  return s = s ?? _a, !!s && (p == "number" || p != "symbol" && ba.test(n)) && n > -1 && n % 1 == 0 && n < s;
169
169
  }
170
170
  function dn(n, s, p) {
171
- s == "__proto__" && Fr ? Fr(n, s, {
171
+ s == "__proto__" && Dr ? Dr(n, s, {
172
172
  configurable: !0,
173
173
  enumerable: !0,
174
174
  value: p,
@@ -187,8 +187,8 @@ function nt(n, s, p, y) {
187
187
  var g = !p;
188
188
  p || (p = {});
189
189
  for (var R = -1, m = s.length; ++R < m; ) {
190
- var N = s[R], S = void 0;
191
- S === void 0 && (S = n[N]), g ? dn(p, N, S) : yn(p, N, S);
190
+ var N = s[R], T = void 0;
191
+ T === void 0 && (T = n[N]), g ? dn(p, N, T) : yn(p, N, T);
192
192
  }
193
193
  return p;
194
194
  }
@@ -199,33 +199,33 @@ function En(n) {
199
199
  function gn(n) {
200
200
  return n != null && En(n.length) && !hn(n);
201
201
  }
202
- var Sa = Object.prototype;
202
+ var Ta = Object.prototype;
203
203
  function Mt(n) {
204
- var s = n && n.constructor, p = typeof s == "function" && s.prototype || Sa;
204
+ var s = n && n.constructor, p = typeof s == "function" && s.prototype || Ta;
205
205
  return n === p;
206
206
  }
207
- function Ta(n, s) {
207
+ function Sa(n, s) {
208
208
  for (var p = -1, y = Array(n); ++p < n; )
209
209
  y[p] = s(p);
210
210
  return y;
211
211
  }
212
212
  var Pa = "[object Arguments]";
213
- function Lr(n) {
213
+ function Fr(n) {
214
214
  return Ge(n) && $e(n) == Pa;
215
215
  }
216
- var _n = Object.prototype, wa = _n.hasOwnProperty, Ca = _n.propertyIsEnumerable, Aa = Lr(/* @__PURE__ */ function() {
216
+ var _n = Object.prototype, wa = _n.hasOwnProperty, Ca = _n.propertyIsEnumerable, Aa = Fr(/* @__PURE__ */ function() {
217
217
  return arguments;
218
- }()) ? Lr : function(n) {
218
+ }()) ? Fr : function(n) {
219
219
  return Ge(n) && wa.call(n, "callee") && !Ca.call(n, "callee");
220
220
  };
221
221
  function xa() {
222
222
  return !1;
223
223
  }
224
- var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Dr = bn && typeof module == "object" && module && !module.nodeType && module, Ia = Dr && Dr.exports === bn, Ur = Ia ? K.Buffer : void 0, ka = Ur ? Ur.isBuffer : void 0, mn = ka || xa, Fa = "[object Arguments]", La = "[object Array]", Da = "[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]", D = {};
225
- D[Ha] = D[Ka] = D[qa] = D[Za] = D[Qa] = D[eo] = D[to] = D[ro] = D[no] = !0;
226
- D[Fa] = D[La] = D[za] = D[Da] = D[Ja] = D[Ua] = D[Ma] = D[ja] = D[Ba] = D[$a] = D[Ga] = D[Va] = D[Ya] = D[Xa] = D[Wa] = !1;
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 || xa, 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
+ L[Ha] = L[Ka] = L[qa] = L[Za] = L[Qa] = L[eo] = L[to] = L[ro] = L[no] = !0;
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) {
228
- return Ge(n) && En(n.length) && !!D[$e(n)];
228
+ return Ge(n) && En(n.length) && !!L[$e(n)];
229
229
  }
230
230
  function jt(n) {
231
231
  return function(s) {
@@ -240,13 +240,13 @@ var Rn = typeof exports == "object" && exports && !exports.nodeType && exports,
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 && Aa(n), g = !p && !y && mn(n), R = !p && !y && !g && oo(n), m = p || y || g || R, N = m ? Ta(n.length, String) : [], S = N.length;
243
+ var p = Ut(n), y = !p && Aa(n), g = !p && !y && mn(n), R = !p && !y && !g && oo(n), m = p || y || g || 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.
247
247
  g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
248
248
  R && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
249
- ma(r, S))) && N.push(r);
249
+ ma(r, T))) && N.push(r);
250
250
  return N;
251
251
  }
252
252
  function Nn(n, s) {
@@ -302,10 +302,10 @@ function Oo(n) {
302
302
  }
303
303
  return Ro.call(s, n) ? s[n] : void 0;
304
304
  }
305
- var No = Object.prototype, So = No.hasOwnProperty;
306
- function To(n) {
305
+ var No = Object.prototype, To = No.hasOwnProperty;
306
+ function So(n) {
307
307
  var s = this.__data__;
308
- return Me ? s[n] !== void 0 : So.call(s, n);
308
+ return Me ? s[n] !== void 0 : To.call(s, n);
309
309
  }
310
310
  var Po = "__lodash_hash_undefined__";
311
311
  function wo(n, s) {
@@ -322,7 +322,7 @@ function pe(n) {
322
322
  pe.prototype.clear = go;
323
323
  pe.prototype.delete = _o;
324
324
  pe.prototype.get = Oo;
325
- pe.prototype.has = To;
325
+ pe.prototype.has = So;
326
326
  pe.prototype.set = wo;
327
327
  function Co() {
328
328
  this.__data__ = [], this.size = 0;
@@ -345,10 +345,10 @@ function ko(n) {
345
345
  var s = this.__data__, p = it(s, n);
346
346
  return p < 0 ? void 0 : s[p][1];
347
347
  }
348
- function Fo(n) {
348
+ function Do(n) {
349
349
  return it(this.__data__, n) > -1;
350
350
  }
351
- function Lo(n, s) {
351
+ function Fo(n, s) {
352
352
  var p = this.__data__, y = it(p, n);
353
353
  return y < 0 ? (++this.size, p.push([n, s])) : p[y][1] = s, this;
354
354
  }
@@ -362,10 +362,10 @@ function te(n) {
362
362
  te.prototype.clear = Co;
363
363
  te.prototype.delete = Io;
364
364
  te.prototype.get = ko;
365
- te.prototype.has = Fo;
366
- te.prototype.set = Lo;
365
+ te.prototype.has = Do;
366
+ te.prototype.set = Fo;
367
367
  var je = de(K, "Map");
368
- function Do() {
368
+ function Lo() {
369
369
  this.size = 0, this.__data__ = {
370
370
  hash: new pe(),
371
371
  map: new (je || te)(),
@@ -401,17 +401,17 @@ function Ne(n) {
401
401
  this.set(y[0], y[1]);
402
402
  }
403
403
  }
404
- Ne.prototype.clear = Do;
404
+ Ne.prototype.clear = Lo;
405
405
  Ne.prototype.delete = Mo;
406
406
  Ne.prototype.get = jo;
407
407
  Ne.prototype.has = Bo;
408
408
  Ne.prototype.set = $o;
409
- function Sn(n, s) {
409
+ function Tn(n, s) {
410
410
  for (var p = -1, y = s.length, g = n.length; ++p < y; )
411
411
  n[g + p] = s[p];
412
412
  return n;
413
413
  }
414
- var Tn = Nn(Object.getPrototypeOf, Object);
414
+ var Sn = Nn(Object.getPrototypeOf, Object);
415
415
  function Go() {
416
416
  this.__data__ = new te(), this.size = 0;
417
417
  }
@@ -436,15 +436,15 @@ function zo(n, s) {
436
436
  }
437
437
  return p.set(n, s), this.size = p.size, this;
438
438
  }
439
- function Se(n) {
439
+ function Te(n) {
440
440
  var s = this.__data__ = new te(n);
441
441
  this.size = s.size;
442
442
  }
443
- Se.prototype.clear = Go;
444
- Se.prototype.delete = Vo;
445
- Se.prototype.get = Yo;
446
- Se.prototype.has = Xo;
447
- Se.prototype.set = zo;
443
+ Te.prototype.clear = Go;
444
+ Te.prototype.delete = Vo;
445
+ Te.prototype.get = Yo;
446
+ Te.prototype.has = Xo;
447
+ Te.prototype.set = zo;
448
448
  function Jo(n, s) {
449
449
  return n && nt(s, Bt(s), n);
450
450
  }
@@ -478,7 +478,7 @@ function tu(n, s) {
478
478
  }
479
479
  var ru = Object.getOwnPropertySymbols, Cn = ru ? function(n) {
480
480
  for (var s = []; n; )
481
- Sn(s, Gt(n)), n = Tn(n);
481
+ Tn(s, Gt(n)), n = Sn(n);
482
482
  return s;
483
483
  } : wn;
484
484
  function nu(n, s) {
@@ -486,7 +486,7 @@ function nu(n, s) {
486
486
  }
487
487
  function An(n, s, p) {
488
488
  var y = s(n);
489
- return Ut(n) ? y : Sn(y, p(n));
489
+ return Ut(n) ? y : Tn(y, p(n));
490
490
  }
491
491
  function iu(n) {
492
492
  return An(n, Bt, Gt);
@@ -494,8 +494,8 @@ function iu(n) {
494
494
  function au(n) {
495
495
  return An(n, $t, Cn);
496
496
  }
497
- var kt = de(K, "DataView"), Ft = de(K, "Promise"), Lt = 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(je), cu = he(Ft), fu = he(Lt), lu = he(It), ee = $e;
498
- (kt && ee(new kt(new ArrayBuffer(1))) != zr || je && ee(new je()) != Vr || Ft && ee(Ft.resolve()) != Yr || Lt && ee(new Lt()) != Xr || It && ee(new It()) != Wr) && (ee = function(n) {
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(je), cu = he(Dt), fu = he(Ft), lu = he(It), ee = $e;
498
+ (kt && ee(new kt(new ArrayBuffer(1))) != zr || je && ee(new je()) != Vr || Dt && ee(Dt.resolve()) != Yr || Ft && ee(new Ft()) != Xr || It && ee(new It()) != Wr) && (ee = function(n) {
499
499
  var s = $e(n), p = s == ou ? n.constructor : void 0, y = p ? he(p) : "";
500
500
  if (y)
501
501
  switch (y) {
@@ -539,7 +539,7 @@ function _u(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]", Su = "[object Set]", Tu = "[object String]", Pu = "[object Symbol]", wu = "[object ArrayBuffer]", Cu = "[object DataView]", Au = "[object Float32Array]", xu = "[object Float64Array]", Iu = "[object Int8Array]", ku = "[object Int16Array]", Fu = "[object Int32Array]", Lu = "[object Uint8Array]", Du = "[object Uint8ClampedArray]", Uu = "[object Uint16Array]", Mu = "[object Uint32Array]";
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]", Au = "[object Float32Array]", xu = "[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) {
@@ -554,27 +554,27 @@ function ju(n, s, p) {
554
554
  case xu:
555
555
  case Iu:
556
556
  case ku:
557
+ case Du:
557
558
  case Fu:
558
559
  case Lu:
559
- case Du:
560
560
  case Uu:
561
561
  case Mu:
562
562
  return _u(n, p);
563
563
  case Ru:
564
564
  return new y();
565
565
  case Ou:
566
- case Tu:
566
+ case Su:
567
567
  return new y(n);
568
568
  case Nu:
569
569
  return Eu(n);
570
- case Su:
570
+ case Tu:
571
571
  return new y();
572
572
  case Pu:
573
573
  return gu(n);
574
574
  }
575
575
  }
576
576
  function Bu(n) {
577
- return typeof n.constructor == "function" && !Mt(n) ? ya(Tn(n)) : {};
577
+ return typeof n.constructor == "function" && !Mt(n) ? ya(Sn(n)) : {};
578
578
  }
579
579
  var $u = "[object Map]";
580
580
  function Gu(n) {
@@ -584,11 +584,11 @@ var qr = Oe && Oe.isMap, Vu = qr ? jt(qr) : Gu, Yu = "[object Set]";
584
584
  function Xu(n) {
585
585
  return Ge(n) && ee(n) == Yu;
586
586
  }
587
- var Zr = Oe && Oe.isSet, Wu = Zr ? jt(Zr) : Xu, zu = 1, Ju = 2, Hu = 4, xn = "[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]", gs = "[object Uint32Array]", L = {};
588
- L[xn] = L[Ku] = L[ss] = L[cs] = L[qu] = L[Zu] = L[fs] = L[ls] = L[ps] = L[hs] = L[ds] = L[ts] = L[rs] = L[kn] = L[ns] = L[is] = L[as] = L[os] = L[vs] = L[ys] = L[Es] = L[gs] = !0;
589
- L[Qu] = L[In] = L[us] = !1;
587
+ var Zr = Oe && Oe.isSet, Wu = Zr ? jt(Zr) : Xu, zu = 1, Ju = 2, Hu = 4, xn = "[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]", gs = "[object Uint32Array]", F = {};
588
+ F[xn] = 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[gs] = !0;
589
+ F[Qu] = F[In] = F[us] = !1;
590
590
  function tt(n, s, p, y, g, R) {
591
- var m, N = s & zu, S = s & Ju, r = s & Hu;
591
+ var m, N = s & zu, T = s & Ju, r = s & Hu;
592
592
  if (m !== void 0)
593
593
  return m;
594
594
  if (!Ve(n))
@@ -602,15 +602,15 @@ function tt(n, s, p, y, g, R) {
602
602
  if (mn(n))
603
603
  return qo(n, N);
604
604
  if (e == kn || e == xn || i && !g) {
605
- if (m = S || i ? {} : Bu(n), !N)
606
- return S ? nu(n, Ho(m, n)) : tu(n, Jo(m, n));
605
+ if (m = T || i ? {} : Bu(n), !N)
606
+ return T ? nu(n, Ho(m, n)) : tu(n, Jo(m, n));
607
607
  } else {
608
- if (!L[e])
608
+ if (!F[e])
609
609
  return g ? n : {};
610
610
  m = ju(n, e, N);
611
611
  }
612
612
  }
613
- R = new Se();
613
+ R = new Te();
614
614
  var o = R.get(n);
615
615
  if (o)
616
616
  return o;
@@ -619,13 +619,13 @@ function tt(n, s, p, y, g, R) {
619
619
  }) : Vu(n) && n.forEach(function(a, l) {
620
620
  m.set(l, tt(a, s, p, l, n, R));
621
621
  });
622
- var u = r ? S ? au : iu : S ? $t : Bt, c = t ? void 0 : u(n);
622
+ var u = r ? T ? au : iu : T ? $t : Bt, c = t ? void 0 : u(n);
623
623
  return ga(c || n, function(a, l) {
624
624
  c && (l = a, a = n[l]), yn(m, l, tt(a, s, p, l, n, R));
625
625
  }), m;
626
626
  }
627
627
  var _s = 1, bs = 4;
628
- function Dt(n) {
628
+ function Lt(n) {
629
629
  return tt(n, _s | bs);
630
630
  }
631
631
  function ms(n, s) {
@@ -638,9 +638,9 @@ function ms(n, s) {
638
638
  function Qr(n) {
639
639
  var s;
640
640
  if (n.array)
641
- return n.default instanceof Array ? Dt(n.default) : [];
641
+ return n.default instanceof Array ? Lt(n.default) : [];
642
642
  if (n.default !== void 0)
643
- return Dt(n.default);
643
+ return Lt(n.default);
644
644
  switch (n.ui) {
645
645
  case "void":
646
646
  return null;
@@ -673,7 +673,7 @@ function Rs(n, s, p, y, g) {
673
673
  console.error(`pkg not found version=${p}`);
674
674
  return;
675
675
  }
676
- const N = {}, S = fn(16);
676
+ const N = {}, T = fn(16);
677
677
  if (y) {
678
678
  const r = m.refKey;
679
679
  if (!m.elements.has(r)) {
@@ -690,7 +690,7 @@ function Rs(n, s, p, y, g) {
690
690
  console.error(`[ref] props not found key=${g} tag=${R}`);
691
691
  return;
692
692
  }
693
- en(N, e), N.id = S, N.ref = {
693
+ en(N, e), N.id = T, N.ref = {
694
694
  id: g
695
695
  };
696
696
  } else {
@@ -708,7 +708,7 @@ function Rs(n, s, p, y, g) {
708
708
  console.error(`[key] props not found key=${g} tag=${R}`);
709
709
  return;
710
710
  }
711
- en(N, t), N.id = S, N.key = g, r.leaf || (N.children = []);
711
+ en(N, t), N.id = T, N.key = g, r.leaf || (N.children = []);
712
712
  }
713
713
  return N;
714
714
  }
@@ -734,32 +734,32 @@ function cc(n) {
734
734
  var g;
735
735
  y.id = fn(16), (g = y.children) == null || g.forEach((R) => s(R));
736
736
  }
737
- const p = Dt(n);
737
+ const p = Lt(n);
738
738
  return s(p), p;
739
739
  }
740
- const Fn = Symbol(), Ln = Symbol(), Dn = Symbol(), Un = Symbol(), Mn = Symbol(), jn = Symbol(), Bn = Symbol(), $n = Symbol();
740
+ const Dn = "runtimeEnv", Fn = "runtimeMode", Ln = "runtimeDevice", Un = "runtimeDark", Mn = "runtimeType", jn = "runtimeData", Bn = "runtimeDepends", $n = "runtimeInterpreter";
741
741
  function fc(n) {
742
- ae(Fn, n);
742
+ ae(Dn, n);
743
743
  }
744
744
  function Os() {
745
- return oe(Fn);
745
+ return oe(Dn);
746
746
  }
747
747
  function lc(n) {
748
- ae(Ln, n);
748
+ ae(Fn, n);
749
749
  }
750
750
  function Ns() {
751
- return oe(Ln);
751
+ return oe(Fn);
752
752
  }
753
753
  function pc(n) {
754
- ae(Dn, Be(n));
754
+ ae(Ln, Be(n));
755
755
  }
756
- function Ss() {
757
- return oe(Dn);
756
+ function Ts() {
757
+ return oe(Ln);
758
758
  }
759
759
  function hc(n) {
760
760
  ae(Un, Be(n));
761
761
  }
762
- function Ts() {
762
+ function Ss() {
763
763
  return oe(Un);
764
764
  }
765
765
  function dc(n) {
@@ -791,7 +791,7 @@ function Ec() {
791
791
  const xs = /* @__PURE__ */ on({
792
792
  __name: "index",
793
793
  setup(n) {
794
- const s = Ts();
794
+ const s = Ss();
795
795
  return (p, y) => {
796
796
  const g = Ai("v-btn");
797
797
  return un(), sn(g, {
@@ -843,7 +843,7 @@ const xs = /* @__PURE__ */ on({
843
843
  default: "#00000000"
844
844
  }
845
845
  ]
846
- }, Fs = {
846
+ }, Ds = {
847
847
  key: "globality_v1",
848
848
  name: "globality",
849
849
  comp: "",
@@ -885,8 +885,8 @@ const xs = /* @__PURE__ */ on({
885
885
  },
886
886
  internal: !0
887
887
  };
888
- function Ls(n) {
889
- const s = Ns(), p = Ss(), y = le(() => n.node.width), g = le(() => n.node.minWidth), R = le(() => n.node.maxWidth), m = le(() => {
888
+ function Fs(n) {
889
+ const s = Ns(), p = Ts(), y = le(() => n.node.width), g = le(() => n.node.minWidth), R = le(() => n.node.maxWidth), m = le(() => {
890
890
  if (n.outer && s === "editor") {
891
891
  const t = Ct(n.node.height);
892
892
  if (t)
@@ -900,7 +900,7 @@ function Ls(n) {
900
900
  return t / 100 * p.value.height + "px";
901
901
  }
902
902
  return n.node.minHeight;
903
- }), S = le(() => {
903
+ }), T = le(() => {
904
904
  if (n.outer && s === "editor") {
905
905
  const t = Ct(n.node.maxHeight);
906
906
  if (t)
@@ -909,11 +909,11 @@ function Ls(n) {
909
909
  return n.node.maxHeight;
910
910
  });
911
911
  function r(t) {
912
- y.value && (t.width = y.value), g.value && (t.minWidth = g.value), R.value && (t.maxWidth = R.value), m.value && (t.height = m.value), N.value && (t.minHeight = N.value), S.value && (t.maxHeight = S.value);
912
+ y.value && (t.width = y.value), g.value && (t.minWidth = g.value), R.value && (t.maxWidth = R.value), m.value && (t.height = m.value), N.value && (t.minHeight = N.value), T.value && (t.maxHeight = T.value);
913
913
  }
914
- return { width: y, minWidth: g, maxWidth: R, height: m, minHeight: N, maxHeight: S, applySize: r };
914
+ return { width: y, minWidth: g, maxWidth: R, height: m, minHeight: N, maxHeight: T, applySize: r };
915
915
  }
916
- var Ds = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
916
+ var Ls = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
917
917
  function Us(n) {
918
918
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
919
919
  }
@@ -946,7 +946,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
946
946
  (function(n, s) {
947
947
  (function(y, g) {
948
948
  n.exports = g();
949
- })(Ds, () => (
949
+ })(Ls, () => (
950
950
  /******/
951
951
  (() => {
952
952
  var p = {
@@ -956,7 +956,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
956
956
  !*** ./original-repo/interpreter.js ***!
957
957
  \**************************************/
958
958
  /***/
959
- function(m, N, S) {
959
+ function(m, N, T) {
960
960
  /**
961
961
  * @license
962
962
  * Copyright 2013 Google LLC
@@ -2097,8 +2097,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2097
2097
  string: _,
2098
2098
  separator: a,
2099
2099
  limit: l
2100
- }, b = "string.split(separator, limit)", F = e.vmCall(b, O, a, v);
2101
- F !== r.REGEXP_TIMEOUT && v(e.nativeToPseudo(F));
2100
+ }, b = "string.split(separator, limit)", D = e.vmCall(b, O, a, v);
2101
+ D !== r.REGEXP_TIMEOUT && v(e.nativeToPseudo(D));
2102
2102
  } else {
2103
2103
  var P = e.createWorker(), I = e.regExpTimeout(
2104
2104
  a,
@@ -2111,8 +2111,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2111
2111
  }
2112
2112
  return;
2113
2113
  }
2114
- var F = _.split(a, l);
2115
- v(e.nativeToPseudo(F));
2114
+ var D = _.split(a, l);
2115
+ v(e.nativeToPseudo(D));
2116
2116
  }, this.setAsyncFunctionPrototype(this.STRING, "split", i), i = function(a, l) {
2117
2117
  var v = String(this);
2118
2118
  if (a = e.isa(a, e.REGEXP) ? a.data : new RegExp(a), e.maybeThrowRegExp(a, l), e.REGEXP_MODE === 2) {
@@ -2124,8 +2124,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2124
2124
  I !== r.REGEXP_TIMEOUT && l(I && e.matchToPseudo_(I));
2125
2125
  } else {
2126
2126
  var b = e.createWorker(), P = e.regExpTimeout(a, b, l);
2127
- b.onmessage = function(F) {
2128
- clearTimeout(P), l(F.data && e.matchToPseudo_(F.data));
2127
+ b.onmessage = function(D) {
2128
+ clearTimeout(P), l(D.data && e.matchToPseudo_(D.data));
2129
2129
  }, b.postMessage(["match", v, a]);
2130
2130
  }
2131
2131
  return;
@@ -2143,8 +2143,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2143
2143
  b !== r.REGEXP_TIMEOUT && l(b);
2144
2144
  } else {
2145
2145
  var P = e.createWorker(), I = e.regExpTimeout(a, P, l);
2146
- P.onmessage = function(F) {
2147
- clearTimeout(I), l(F.data);
2146
+ P.onmessage = function(D) {
2147
+ clearTimeout(I), l(D.data);
2148
2148
  }, P.postMessage(["search", v, a]);
2149
2149
  }
2150
2150
  return;
@@ -2161,13 +2161,13 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2161
2161
  }, b = "string.replace(substr, newSubstr)", P = e.vmCall(b, O, a, v);
2162
2162
  P !== r.REGEXP_TIMEOUT && v(P);
2163
2163
  } else {
2164
- var I = e.createWorker(), F = e.regExpTimeout(
2164
+ var I = e.createWorker(), D = e.regExpTimeout(
2165
2165
  a,
2166
2166
  I,
2167
2167
  v
2168
2168
  );
2169
2169
  I.onmessage = function(X) {
2170
- clearTimeout(F), v(X.data);
2170
+ clearTimeout(D), v(X.data);
2171
2171
  }, I.postMessage(["replace", _, a, l]);
2172
2172
  }
2173
2173
  return;
@@ -2699,7 +2699,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2699
2699
  i = !0;
2700
2700
  else {
2701
2701
  try {
2702
- r.vm = S(
2702
+ r.vm = T(
2703
2703
  /*! vm */
2704
2704
  "vm"
2705
2705
  );
@@ -2805,8 +2805,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2805
2805
  }
2806
2806
  if (typeof t == "function") {
2807
2807
  var a = this, l = function() {
2808
- var P = Array.prototype.slice.call(arguments).map(function(F) {
2809
- return a.pseudoToNative(F);
2808
+ var P = Array.prototype.slice.call(arguments).map(function(D) {
2809
+ return a.pseudoToNative(D);
2810
2810
  }), I = t.apply(a, P);
2811
2811
  return a.nativeToPseudo(I);
2812
2812
  }, v = Object.getOwnPropertyDescriptor(t, "prototype"), _ = this.createNativeFunction(l, !!v);
@@ -3197,8 +3197,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
3197
3197
  else {
3198
3198
  try {
3199
3199
  _ = this.parse_(String(u), "taskCode" + this.taskCodeNumber_++);
3200
- } catch (F) {
3201
- this.throwException(this.SYNTAX_ERROR, "Invalid code: " + F.message);
3200
+ } catch (D) {
3201
+ this.throwException(this.SYNTAX_ERROR, "Invalid code: " + D.message);
3202
3202
  }
3203
3203
  a.type = "EvalProgram_", a.body = _.body;
3204
3204
  var O = i.node.arguments[0], b = O ? O.start : void 0, P = O ? O.end : void 0;
@@ -3565,20 +3565,20 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
3565
3565
  } catch (j) {
3566
3566
  this.throwException(this.SYNTAX_ERROR, "Invalid code: " + j.message);
3567
3567
  }
3568
- var F = this.newNode();
3569
- F.type = "EvalProgram_", F.body = I.body, r.stripLocations_(F, i.start, i.end);
3568
+ var D = this.newNode();
3569
+ D.type = "EvalProgram_", D.body = I.body, r.stripLocations_(D, i.start, i.end);
3570
3570
  var l = e.directEval_ ? e.scope : this.globalScope;
3571
- return l.strict ? l = this.createScope(I, l) : this.populateScope_(I, l), this.value = void 0, new r.State(F, l);
3571
+ return l.strict ? l = this.createScope(I, l) : this.populateScope_(I, l), this.value = void 0, new r.State(D, l);
3572
3572
  }
3573
3573
  } else if (u.nativeFunc)
3574
3574
  e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
3575
3575
  else if (u.asyncFunc) {
3576
- var X = this, Te = function(ue) {
3576
+ var X = this, Se = function(ue) {
3577
3577
  e.value = ue, X.paused_ = !1;
3578
3578
  }, z = u.asyncFunc.length - 1, ve = e.arguments_.concat(
3579
3579
  new Array(z)
3580
3580
  ).slice(0, z);
3581
- ve.push(Te), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, ve);
3581
+ ve.push(Se), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, ve);
3582
3582
  return;
3583
3583
  } else
3584
3584
  this.throwException(
@@ -3981,12 +3981,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
3981
3981
  \********************************/
3982
3982
  /***/
3983
3983
  function(m, N) {
3984
- (function(S, r) {
3984
+ (function(T, r) {
3985
3985
  return r(N);
3986
- })(typeof globalThis > "u" ? this || window : globalThis, function(S) {
3987
- S.version = "0.5.0";
3986
+ })(typeof globalThis > "u" ? this || window : globalThis, function(T) {
3987
+ T.version = "0.5.0";
3988
3988
  var r, t = "", e, i;
3989
- S.parse = function(f, h) {
3989
+ T.parse = function(f, h) {
3990
3990
  return t = String(f), e = t.length, u(h), ui(), bi(r.program);
3991
3991
  };
3992
3992
  var o = {
@@ -4063,7 +4063,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4063
4063
  break;
4064
4064
  }
4065
4065
  return { line: d, column: h - E };
4066
- }, a = 0, l = 0, v = 0, _, O, b, P, I, F, X, Te = 0, z = 0, ve, ue, j, W;
4066
+ }, a = 0, l = 0, v = 0, _, O, b, P, I, D, X, Se = 0, z = 0, ve, ue, j, W;
4067
4067
  function x(f, h) {
4068
4068
  var d = c(t, f);
4069
4069
  h += " (" + d.line + ":" + d.column + ")";
@@ -4114,10 +4114,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4114
4114
  return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && oi.test(String.fromCharCode(f));
4115
4115
  };
4116
4116
  function ce() {
4117
- this.line = F, this.column = a - X;
4117
+ this.line = D, this.column = a - X;
4118
4118
  }
4119
4119
  function ui() {
4120
- F = 1, a = X = 0, I = !0, Ce();
4120
+ D = 1, a = X = 0, I = !0, Ce();
4121
4121
  }
4122
4122
  function $(f, h) {
4123
4123
  v = a, r.locations && (O = new ce()), b = f, Ce(), P = h, I = f.beforeExpr;
@@ -4127,7 +4127,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4127
4127
  if (d === -1 && x(a - 2, "Unterminated comment"), a = d + 2, r.locations) {
4128
4128
  He.lastIndex = h;
4129
4129
  for (var E; (E = He.exec(t)) && E.index < a; )
4130
- ++F, X = E.index + E[0].length;
4130
+ ++D, X = E.index + E[0].length;
4131
4131
  }
4132
4132
  r.onComment && r.onComment(
4133
4133
  !0,
@@ -4158,9 +4158,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4158
4158
  else if (f === 13) {
4159
4159
  ++a;
4160
4160
  var h = t.charCodeAt(a);
4161
- h === 10 && ++a, r.locations && (++F, X = a);
4161
+ h === 10 && ++a, r.locations && (++D, X = a);
4162
4162
  } else if (f === 10 || f === 8232 || f === 8233)
4163
- ++a, r.locations && (++F, X = a);
4163
+ ++a, r.locations && (++D, X = a);
4164
4164
  else if (f > 8 && f < 14)
4165
4165
  ++a;
4166
4166
  else if (f === 47) {
@@ -4330,17 +4330,17 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4330
4330
  }
4331
4331
  var C = t.slice(d, a);
4332
4332
  ++a;
4333
- var T = Rr();
4334
- T && !/^[gmi]*$/.test(T) && x(d, "Invalid regexp flag");
4333
+ var S = Rr();
4334
+ S && !/^[gmi]*$/.test(S) && x(d, "Invalid regexp flag");
4335
4335
  try {
4336
- var A = new RegExp(C, T);
4336
+ var A = new RegExp(C, S);
4337
4337
  } catch (U) {
4338
4338
  throw U instanceof SyntaxError && x(d, U.message), U;
4339
4339
  }
4340
4340
  $(Yt, A);
4341
4341
  }
4342
4342
  function Ae(f, h) {
4343
- for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h, T = 0; T < C; ++T) {
4343
+ for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h, S = 0; S < C; ++S) {
4344
4344
  var A = t.charCodeAt(a), U;
4345
4345
  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)
4346
4346
  break;
@@ -4358,8 +4358,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4358
4358
  !f && Ae(10) === null && x(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Ae(10), d = !0);
4359
4359
  var C = t.charCodeAt(a);
4360
4360
  (C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, Ae(10) === null && x(h, "Invalid number"), d = !0), Ke(t.charCodeAt(a)) && x(a, "Identifier directly after number");
4361
- var T = t.slice(h, a), A;
4362
- d ? A = parseFloat(T) : !E || T.length === 1 ? A = parseInt(T, 10) : /[89]/.test(T) || W ? x(h, "Invalid number") : A = parseInt(T, 8), $(Ye, A);
4361
+ var S = t.slice(h, a), A;
4362
+ d ? A = parseFloat(S) : !E || S.length === 1 ? A = parseInt(S, 10) : /[89]/.test(S) || W ? x(h, "Invalid number") : A = parseInt(S, 8), $(Ye, A);
4363
4363
  }
4364
4364
  function _i(f) {
4365
4365
  a++;
@@ -4413,7 +4413,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4413
4413
  case 13:
4414
4414
  t.charCodeAt(a) === 10 && ++a;
4415
4415
  case 10:
4416
- r.locations && (X = a, ++F);
4416
+ r.locations && (X = a, ++D);
4417
4417
  break;
4418
4418
  default:
4419
4419
  h += String.fromCharCode(d);
@@ -4437,8 +4437,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4437
4437
  _e && (f += t.charAt(a)), ++a;
4438
4438
  else if (E === 92) {
4439
4439
  _e || (f = t.slice(d, a)), _e = !0, t.charCodeAt(++a) !== 117 && x(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
4440
- var C = qe(4), T = String.fromCharCode(C);
4441
- T || x(a - 1, "Invalid Unicode escape"), (h ? Ke(C) : _r(C)) || x(a - 4, "Invalid Unicode escape"), f += T;
4440
+ var C = qe(4), S = String.fromCharCode(C);
4441
+ S || x(a - 1, "Invalid Unicode escape"), (h ? Ke(C) : _r(C)) || x(a - 4, "Invalid Unicode escape"), f += S;
4442
4442
  } else
4443
4443
  break;
4444
4444
  h = !1;
@@ -4450,28 +4450,28 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4450
4450
  !_e && ni(f) && (h = Wn[f]), $(h, f);
4451
4451
  }
4452
4452
  function k() {
4453
- Te = l, z = v, ve = O, ge();
4453
+ Se = l, z = v, ve = O, ge();
4454
4454
  }
4455
4455
  function Et(f) {
4456
4456
  if (W = f, a = l, r.locations)
4457
4457
  for (; a < X; )
4458
4458
  X = t.lastIndexOf(`
4459
- `, X - 2) + 1, --F;
4459
+ `, X - 2) + 1, --D;
4460
4460
  Ce(), ge();
4461
4461
  }
4462
4462
  function Nr() {
4463
4463
  this.type = null, this.start = l, this.end = null;
4464
4464
  }
4465
- function Sr() {
4465
+ function Tr() {
4466
4466
  this.start = _, this.end = null, i && (this.source = i);
4467
4467
  }
4468
4468
  function V() {
4469
4469
  var f = new Nr();
4470
- return r.locations && (f.loc = new Sr()), r.directSourceFile && (f.sourceFile = r.directSourceFile), r.ranges && (f.range = [l, 0]), f;
4470
+ return r.locations && (f.loc = new Tr()), r.directSourceFile && (f.sourceFile = r.directSourceFile), r.ranges && (f.range = [l, 0]), f;
4471
4471
  }
4472
4472
  function ne(f) {
4473
4473
  var h = new Nr();
4474
- return h.start = f.start, r.locations && (h.loc = new Sr(), h.loc.start = f.loc.start), r.ranges && (h.range = [f.range[0], 0]), h;
4474
+ return h.start = f.start, r.locations && (h.loc = new Tr(), h.loc.start = f.loc.start), r.ranges && (h.range = [f.range[0], 0]), h;
4475
4475
  }
4476
4476
  function w(f, h) {
4477
4477
  return f.type = h, f.end = z, r.locations && (f.loc.end = ve), r.ranges && (f.range[1] = z), f;
@@ -4498,7 +4498,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4498
4498
  f.type !== "Identifier" && f.type !== "MemberExpression" && x(f.start, "Assigning to rvalue"), W && f.type === "Identifier" && ze(f.name) && x(f.start, "Assigning to " + f.name + " in strict mode");
4499
4499
  }
4500
4500
  function bi(f) {
4501
- Te = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [], ge();
4501
+ Se = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [], ge();
4502
4502
  var h = f || V(), d = !0;
4503
4503
  for (f || (h.body = []); b !== ut; ) {
4504
4504
  var E = J();
@@ -4530,13 +4530,13 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4530
4530
  if (k(), j.push(_t), B(q), b === Z)
4531
4531
  return bt(h, null);
4532
4532
  if (b === pt) {
4533
- var T = V();
4534
- return k(), Pr(T, !0), w(T, "VariableDeclaration"), T.declarations.length === 1 && M(Xe) ? Tr(h, T) : bt(h, T);
4533
+ var S = V();
4534
+ return k(), Pr(S, !0), w(S, "VariableDeclaration"), S.declarations.length === 1 && M(Xe) ? Sr(h, S) : bt(h, S);
4535
4535
  }
4536
- var T = Y(!1, !0);
4537
- return M(Xe) ? (Qe(T), Tr(h, T)) : bt(h, T);
4536
+ var S = Y(!1, !0);
4537
+ return M(Xe) ? (Qe(S), Sr(h, S)) : bt(h, S);
4538
4538
  case ft:
4539
- return k(), St(h, !0);
4539
+ return k(), Tt(h, !0);
4540
4540
  case Qt:
4541
4541
  return k(), h.test = xe(), h.consequent = J(), h.alternate = M(Kt) ? J() : null, w(h, "IfStatement");
4542
4542
  case er:
@@ -4545,8 +4545,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4545
4545
  k(), h.discriminant = xe(), h.cases = [], B(Pe), j.push(mi);
4546
4546
  for (var A, U; b !== Ee; )
4547
4547
  if (b === ct || b === Jt) {
4548
- var Fe = b === ct;
4549
- A && w(A, "SwitchCase"), h.cases.push(A = V()), A.consequent = [], k(), Fe ? A.test = Y() : (U && x(Te, "Multiple default clauses"), U = !0, A.test = null), B(we);
4548
+ var De = b === ct;
4549
+ A && w(A, "SwitchCase"), h.cases.push(A = V()), A.consequent = [], k(), De ? A.test = Y() : (U && x(Se, "Multiple default clauses"), U = !0, A.test = null), B(we);
4550
4550
  } else
4551
4551
  A || Q(), A.consequent.push(J());
4552
4552
  return A && w(A, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
@@ -4587,15 +4587,15 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4587
4587
  function Ie(f) {
4588
4588
  var h = V(), d = !0, E = !1, C;
4589
4589
  for (h.body = [], B(Pe); !M(Ee); ) {
4590
- var T = J();
4591
- h.body.push(T), d && f && gt(T) && (C = E, Et(E = !0)), d = !1;
4590
+ var S = J();
4591
+ h.body.push(S), d && f && gt(S) && (C = E, Et(E = !0)), d = !1;
4592
4592
  }
4593
4593
  return E && !C && Et(!1), w(h, "BlockStatement");
4594
4594
  }
4595
4595
  function bt(f, h) {
4596
4596
  return f.init = h, B(Z), f.test = b === Z ? null : Y(), B(Z), f.update = b === H ? null : Y(), B(H), f.body = J(), j.pop(), w(f, "ForStatement");
4597
4597
  }
4598
- function Tr(f, h) {
4598
+ function Sr(f, h) {
4599
4599
  return f.left = h, f.right = Y(), B(H), f.body = J(), j.pop(), w(f, "ForInStatement");
4600
4600
  }
4601
4601
  function Pr(f, h) {
@@ -4639,9 +4639,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4639
4639
  if (E !== null && (!d || b !== Xe) && E > h) {
4640
4640
  var C = ne(f);
4641
4641
  C.left = f, C.operator = P;
4642
- var T = b;
4642
+ var S = b;
4643
4643
  k(), C.right = Rt(Ot(), E, d);
4644
- var A = w(C, T === dr || T === vr ? "LogicalExpression" : "BinaryExpression");
4644
+ var A = w(C, S === dr || S === vr ? "LogicalExpression" : "BinaryExpression");
4645
4645
  return Rt(A, h, d);
4646
4646
  }
4647
4647
  return f;
@@ -4662,7 +4662,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4662
4662
  }
4663
4663
  function ke(f, h) {
4664
4664
  var d;
4665
- return M(cr) ? (d = ne(f), d.object = f, d.property = ie(!0), d.computed = !1, ke(w(d, "MemberExpression"), h)) : M(dt) ? (d = ne(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), ke(w(d, "MemberExpression"), h)) : !h && M(q) ? (d = ne(f), d.callee = f, d.arguments = Tt(H, !1), ke(w(d, "CallExpression"), h)) : f;
4665
+ return M(cr) ? (d = ne(f), d.object = f, d.property = ie(!0), d.computed = !1, ke(w(d, "MemberExpression"), h)) : M(dt) ? (d = ne(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), ke(w(d, "MemberExpression"), h)) : !h && M(q) ? (d = ne(f), d.callee = f, d.arguments = St(H, !1), ke(w(d, "CallExpression"), h)) : f;
4666
4666
  }
4667
4667
  function Nt() {
4668
4668
  var f;
@@ -4685,34 +4685,34 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4685
4685
  var E = Y();
4686
4686
  return E.start = d, E.end = v, r.locations && (E.loc.start = h, E.loc.end = O), r.ranges && (E.range = [d, v]), B(H), E;
4687
4687
  case dt:
4688
- return f = V(), k(), f.elements = Tt(vt, !0, !0), w(f, "ArrayExpression");
4688
+ return f = V(), k(), f.elements = St(vt, !0, !0), w(f, "ArrayExpression");
4689
4689
  case Pe:
4690
- return Ti();
4690
+ return Si();
4691
4691
  case ft:
4692
- return f = V(), k(), St(f, !1);
4692
+ return f = V(), k(), Tt(f, !1);
4693
4693
  case ir:
4694
- return Si();
4694
+ return Ti();
4695
4695
  }
4696
4696
  Q();
4697
4697
  }
4698
- function Si() {
4698
+ function Ti() {
4699
4699
  var f = V();
4700
- return k(), f.callee = ke(Nt(), !0), f.arguments = M(q) ? Tt(H, !1) : Xn, w(f, "NewExpression");
4700
+ return k(), f.callee = ke(Nt(), !0), f.arguments = M(q) ? St(H, !1) : Xn, w(f, "NewExpression");
4701
4701
  }
4702
- function Ti() {
4702
+ function Si() {
4703
4703
  var f = V(), h = !0, d = !1;
4704
4704
  for (f.properties = [], k(); !M(Ee); ) {
4705
4705
  if (h)
4706
4706
  h = !1;
4707
4707
  else if (B(re), r.allowTrailingCommas && M(Ee))
4708
4708
  break;
4709
- var E = { key: wr() }, C = !1, T;
4710
- if (M(we) ? (E.value = Y(!0), T = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (C = d = !0, T = E.kind = E.key.name, E.key = wr(), b !== q && Q(), E.value = St(V(), !1)) : Q(), E.key.type === "Identifier" && (W || d))
4709
+ var E = { key: wr() }, C = !1, S;
4710
+ if (M(we) ? (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))
4711
4711
  for (var A = 0; A < f.properties.length; ++A) {
4712
4712
  var U = f.properties[A];
4713
4713
  if (U.key.name === E.key.name) {
4714
- var Fe = T === U.kind || C && U.kind === "init" || T === "init" && (U.kind === "get" || U.kind === "set");
4715
- Fe && !W && T === "init" && U.kind === "init" && (Fe = !1), Fe && x(E.key.start, "Redefinition of property");
4714
+ var De = S === U.kind || C && U.kind === "init" || S === "init" && (U.kind === "get" || U.kind === "set");
4715
+ De && !W && S === "init" && U.kind === "init" && (De = !1), De && x(E.key.start, "Redefinition of property");
4716
4716
  }
4717
4717
  }
4718
4718
  f.properties.push(E);
@@ -4722,22 +4722,22 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4722
4722
  function wr() {
4723
4723
  return b === Ye || b === ot ? Nt() : ie(!0);
4724
4724
  }
4725
- function St(f, h) {
4725
+ function Tt(f, h) {
4726
4726
  b === ye ? f.id = ie() : h ? Q() : f.id = null, f.params = [];
4727
4727
  var d = !0;
4728
4728
  for (B(q); !M(H); )
4729
4729
  d ? d = !1 : B(re), f.params.push(ie());
4730
4730
  var E = ue, C = j;
4731
4731
  if (ue = !0, j = [], f.body = Ie(!0), ue = E, j = C, W || f.body.body.length && gt(f.body.body[0]))
4732
- for (var T = f.id ? -1 : 0; T < f.params.length; ++T) {
4733
- var A = T < 0 ? f.id : f.params[T];
4734
- if ((yr(A.name) || ze(A.name)) && x(A.start, "Defining '" + A.name + "' in strict mode"), T >= 0)
4735
- for (var U = 0; U < T; ++U)
4732
+ for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
4733
+ var A = S < 0 ? f.id : f.params[S];
4734
+ if ((yr(A.name) || ze(A.name)) && x(A.start, "Defining '" + A.name + "' in strict mode"), S >= 0)
4735
+ for (var U = 0; U < S; ++U)
4736
4736
  A.name === f.params[U].name && x(A.start, "Argument name clash in strict mode");
4737
4737
  }
4738
4738
  return w(f, h ? "FunctionDeclaration" : "FunctionExpression");
4739
4739
  }
4740
- function Tt(f, h, d) {
4740
+ function St(f, h, d) {
4741
4741
  for (var E = [], C = !0; !M(f); ) {
4742
4742
  if (C)
4743
4743
  C = !1;
@@ -4770,7 +4770,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4770
4770
  var N = y[m];
4771
4771
  if (N !== void 0)
4772
4772
  return N.exports;
4773
- var S = y[m] = {
4773
+ var T = y[m] = {
4774
4774
  /******/
4775
4775
  // no module.id needed
4776
4776
  /******/
@@ -4779,11 +4779,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4779
4779
  exports: {}
4780
4780
  /******/
4781
4781
  };
4782
- return p[m].call(S.exports, S, S.exports, g), S.exports;
4782
+ return p[m].call(T.exports, T, T.exports, g), T.exports;
4783
4783
  }
4784
4784
  g.d = (m, N) => {
4785
- for (var S in N)
4786
- g.o(N, S) && !g.o(m, S) && Object.defineProperty(m, S, { enumerable: !0, get: N[S] });
4785
+ for (var T in N)
4786
+ g.o(N, T) && !g.o(m, T) && Object.defineProperty(m, T, { enumerable: !0, get: N[T] });
4787
4787
  }, g.o = (m, N) => Object.prototype.hasOwnProperty.call(m, N), g.r = (m) => {
4788
4788
  typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
4789
4789
  };
@@ -4794,7 +4794,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4794
4794
  \*******************************/
4795
4795
  g.r(R), g.d(R, {
4796
4796
  /* harmony export */
4797
- default: () => S
4797
+ default: () => T
4798
4798
  /* harmony export */
4799
4799
  });
4800
4800
  const m = g(
@@ -4805,7 +4805,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4805
4805
  const { Interpreter: N } = g(
4806
4806
  /*! ../original-repo/interpreter */
4807
4807
  "./original-repo/interpreter.js"
4808
- ), S = N;
4808
+ ), T = N;
4809
4809
  })(), R = R.default, R;
4810
4810
  })()
4811
4811
  ));
@@ -4920,9 +4920,9 @@ function Ws(n, s, p) {
4920
4920
  }
4921
4921
  }
4922
4922
  }
4923
- function S(t, e, i) {
4923
+ function T(t, e, i) {
4924
4924
  const o = s.pseudoToNative(t), u = s.pseudoToNative(e);
4925
- Di({ title: o, text: u }).then((c) => {
4925
+ Li({ title: o, text: u }).then((c) => {
4926
4926
  i(s.nativeToPseudo(c)), s.run();
4927
4927
  });
4928
4928
  }
@@ -4951,7 +4951,7 @@ function Ws(n, s, p) {
4951
4951
  ), s.setProperty(
4952
4952
  p,
4953
4953
  "__openConfirmDlgV1__",
4954
- s.createAsyncFunction(S)
4954
+ s.createAsyncFunction(T)
4955
4955
  ), s.setProperty(
4956
4956
  p,
4957
4957
  "__openPromptDlgV1__",
@@ -5063,13 +5063,13 @@ const Zs = /* @__PURE__ */ on({
5063
5063
  outer: { type: Boolean }
5064
5064
  },
5065
5065
  setup(n) {
5066
- const { t: s } = Li(), p = n, y = Os(), g = Ps(), R = ws(), m = Cs(), N = Cr();
5066
+ const { t: s } = Fi(), p = n, y = Os(), g = Ps(), R = ws(), m = Cs(), N = Cr();
5067
5067
  Ii(() => {
5068
5068
  N.value = m[p.refContext.refid];
5069
5069
  });
5070
- const S = Cr();
5071
- As(S), ki(N, (a) => {
5072
- a || Mi.emit("compNotAvail", p.refContext.refid), S.value && (nn(S.value), S.value = void 0), a && (S.value = qs(
5070
+ const T = Cr();
5071
+ As(T), ki(N, (a) => {
5072
+ a || Mi.emit("compNotAvail", p.refContext.refid), T.value && (nn(T.value), T.value = void 0), a && (T.value = qs(
5073
5073
  {
5074
5074
  env: y,
5075
5075
  type: g,
@@ -5077,10 +5077,10 @@ const Zs = /* @__PURE__ */ on({
5077
5077
  },
5078
5078
  a.data.code.main.script
5079
5079
  ));
5080
- }), Fi(() => {
5081
- S.value && (nn(S.value), S.value = void 0);
5080
+ }), Di(() => {
5081
+ T.value && (nn(T.value), T.value = void 0);
5082
5082
  });
5083
- const { applySize: r } = Ls(p), t = le(() => {
5083
+ const { applySize: r } = Fs(p), t = le(() => {
5084
5084
  const a = {};
5085
5085
  switch (R.type) {
5086
5086
  case "common":
@@ -5107,7 +5107,7 @@ const Zs = /* @__PURE__ */ on({
5107
5107
  function o(a) {
5108
5108
  const l = cn[R.version].refKey, v = rt[l];
5109
5109
  let _;
5110
- return v ? _ = Le(v.comp, {
5110
+ return v ? _ = Fe(v.comp, {
5111
5111
  refContext: {
5112
5112
  parent: p.refContext,
5113
5113
  refid: a.ref.id
@@ -5121,12 +5121,12 @@ const Zs = /* @__PURE__ */ on({
5121
5121
  const v = rt[a.key];
5122
5122
  return v ? ((_ = a.children) == null || _.forEach((O) => {
5123
5123
  i(O);
5124
- }), l = Le(v.comp, { node: a })) : console.assert(!1, `invalid element config key=${a.key}`), l;
5124
+ }), l = Fe(v.comp, { node: a })) : console.assert(!1, `invalid element config key=${a.key}`), l;
5125
5125
  }
5126
5126
  const c = () => {
5127
5127
  const a = [];
5128
5128
  if (e())
5129
- a.push(Le("div", s("circularRef")));
5129
+ a.push(Fe("div", s("circularRef")));
5130
5130
  else if (N.value) {
5131
5131
  const l = N.value.data.type;
5132
5132
  l === "common" ? N.value.data.view.nodes.forEach((v) => {
@@ -5134,8 +5134,8 @@ const Zs = /* @__PURE__ */ on({
5134
5134
  a.push(_);
5135
5135
  }) : console.assert(!1, `invalid data type dataType=${l}`);
5136
5136
  } else
5137
- a.push(Le("div", s("compNotAvail")));
5138
- return Le("div", { id: p.id, style: t.value }, a);
5137
+ a.push(Fe("div", s("compNotAvail")));
5138
+ return Fe("div", { id: p.id, style: t.value }, a);
5139
5139
  };
5140
5140
  return (a, l) => (un(), sn(c));
5141
5141
  }
@@ -5261,7 +5261,7 @@ const Zs = /* @__PURE__ */ on({
5261
5261
  }, rt = {
5262
5262
  // basic
5263
5263
  btn_v1: ks,
5264
- globality_v1: Fs,
5264
+ globality_v1: Ds,
5265
5265
  ref_v1: tc
5266
5266
  }, rc = (n, s) => {
5267
5267
  const p = n[s];
@@ -5280,10 +5280,10 @@ export {
5280
5280
  Qr as getPropDefault,
5281
5281
  ms as getPropTag,
5282
5282
  en as initProps,
5283
- Ts as injectDark,
5283
+ Ss as injectDark,
5284
5284
  ws as injectData,
5285
5285
  Cs as injectDepends,
5286
- Ss as injectDevice,
5286
+ Ts as injectDevice,
5287
5287
  Os as injectEnv,
5288
5288
  Ec as injectInterpreter,
5289
5289
  Ns as injectMode,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.3.6",
4
+ "version": "0.3.7",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "js-interpreter": "^5.1.2",
26
26
  "lodash-es": "^4.17.21",
27
- "x-essential-lib": "^0.5.66"
27
+ "x-essential-lib": "^0.5.75"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "vue": "^3.4.30",