@chamn/render 0.3.20 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var ga = Object.defineProperty;
2
2
  var va = (t, e, r) => e in t ? ga(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var j = (t, e, r) => va(t, typeof e != "symbol" ? e + "" : e, r);
3
+ var w = (t, e, r) => va(t, typeof e != "symbol" ? e + "" : e, r);
4
4
  import x, { Component as ya, createElement as ba, useEffect as Ln, useRef as Fn, useMemo as Vn } from "react";
5
5
  const _a = (t) => () => {
6
6
  console.warn(`${t} need to be implement getComponent`);
@@ -22,15 +22,15 @@ const _a = (t) => () => {
22
22
  var o;
23
23
  return t != null && t[n] ? r[n] = (o = t[n]) == null ? void 0 : o.bind(t) : Mr.includes(n) && (r[n] = _a), r;
24
24
  }, {});
25
- var kn = typeof global == "object" && global && global.Object === Object && global, Ca = typeof self == "object" && self && self.Object === Object && self, xt = kn || Ca || Function("return this")(), Ot = xt.Symbol, Un = Object.prototype, ja = Un.hasOwnProperty, wa = Un.toString, Vt = Ot ? Ot.toStringTag : void 0;
25
+ var kn = typeof global == "object" && global && global.Object === Object && global, ja = typeof self == "object" && self && self.Object === Object && self, xt = kn || ja || Function("return this")(), Ot = xt.Symbol, Un = Object.prototype, wa = Un.hasOwnProperty, Ca = Un.toString, Vt = Ot ? Ot.toStringTag : void 0;
26
26
  function Ea(t) {
27
- var e = ja.call(t, Vt), r = t[Vt];
27
+ var e = wa.call(t, Vt), r = t[Vt];
28
28
  try {
29
29
  t[Vt] = void 0;
30
30
  var n = !0;
31
31
  } catch {
32
32
  }
33
- var o = wa.call(t);
33
+ var o = Ca.call(t);
34
34
  return n && (e ? t[Vt] = r : delete t[Vt]), o;
35
35
  }
36
36
  var Na = Object.prototype, $a = Na.toString;
@@ -53,11 +53,11 @@ function Ia(t, e) {
53
53
  o[r] = e(t[r], r, t);
54
54
  return o;
55
55
  }
56
- var Ct = Array.isArray, Pr = Ot ? Ot.prototype : void 0, Dr = Pr ? Pr.toString : void 0;
56
+ var jt = Array.isArray, Pr = Ot ? Ot.prototype : void 0, Dr = Pr ? Pr.toString : void 0;
57
57
  function Bn(t) {
58
58
  if (typeof t == "string")
59
59
  return t;
60
- if (Ct(t))
60
+ if (jt(t))
61
61
  return Ia(t, Bn) + "";
62
62
  if (Ma(t))
63
63
  return Dr ? Dr.call(t) : "";
@@ -78,8 +78,8 @@ function tr(t) {
78
78
  var e = te(t);
79
79
  return e == Da || e == La || e == Pa || e == Fa;
80
80
  }
81
- var we = xt["__core-js_shared__"], Lr = function() {
82
- var t = /[^.]+$/.exec(we && we.keys && we.keys.IE_PROTO || "");
81
+ var Ce = xt["__core-js_shared__"], Lr = function() {
82
+ var t = /[^.]+$/.exec(Ce && Ce.keys && Ce.keys.IE_PROTO || "");
83
83
  return t ? "Symbol(src)_1." + t : "";
84
84
  }();
85
85
  function Va(t) {
@@ -259,15 +259,15 @@ var Ss = "[object Arguments]";
259
259
  function kr(t) {
260
260
  return Rt(t) && te(t) == Ss;
261
261
  }
262
- var Jn = Object.prototype, Os = Jn.hasOwnProperty, Cs = Jn.propertyIsEnumerable, Pe = kr(/* @__PURE__ */ function() {
262
+ var Jn = Object.prototype, Os = Jn.hasOwnProperty, js = Jn.propertyIsEnumerable, Pe = kr(/* @__PURE__ */ function() {
263
263
  return arguments;
264
264
  }()) ? kr : function(t) {
265
- return Rt(t) && Os.call(t, "callee") && !Cs.call(t, "callee");
265
+ return Rt(t) && Os.call(t, "callee") && !js.call(t, "callee");
266
266
  };
267
- function js() {
267
+ function ws() {
268
268
  return !1;
269
269
  }
270
- var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Ur = Wn && typeof module == "object" && module && !module.nodeType && module, ws = Ur && Ur.exports === Wn, Br = ws ? xt.Buffer : void 0, Es = Br ? Br.isBuffer : void 0, Qn = Es || js, Ns = "[object Arguments]", $s = "[object Array]", xs = "[object Boolean]", Rs = "[object Date]", Ts = "[object Error]", As = "[object Function]", Ms = "[object Map]", Is = "[object Number]", Ps = "[object Object]", Ds = "[object RegExp]", Ls = "[object Set]", Fs = "[object String]", Vs = "[object WeakMap]", ks = "[object ArrayBuffer]", Us = "[object DataView]", Bs = "[object Float32Array]", zs = "[object Float64Array]", Gs = "[object Int8Array]", Hs = "[object Int16Array]", qs = "[object Int32Array]", Js = "[object Uint8Array]", Ws = "[object Uint8ClampedArray]", Qs = "[object Uint16Array]", Ys = "[object Uint32Array]", M = {};
270
+ var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Ur = Wn && typeof module == "object" && module && !module.nodeType && module, Cs = Ur && Ur.exports === Wn, Br = Cs ? xt.Buffer : void 0, Es = Br ? Br.isBuffer : void 0, Qn = Es || ws, Ns = "[object Arguments]", $s = "[object Array]", xs = "[object Boolean]", Rs = "[object Date]", Ts = "[object Error]", As = "[object Function]", Ms = "[object Map]", Is = "[object Number]", Ps = "[object Object]", Ds = "[object RegExp]", Ls = "[object Set]", Fs = "[object String]", Vs = "[object WeakMap]", ks = "[object ArrayBuffer]", Us = "[object DataView]", Bs = "[object Float32Array]", zs = "[object Float64Array]", Gs = "[object Int8Array]", Hs = "[object Int16Array]", qs = "[object Int32Array]", Js = "[object Uint8Array]", Ws = "[object Uint8ClampedArray]", Qs = "[object Uint16Array]", Ys = "[object Uint32Array]", M = {};
271
271
  M[Bs] = M[zs] = M[Gs] = M[Hs] = M[qs] = M[Js] = M[Ws] = M[Qs] = M[Ys] = !0;
272
272
  M[Ns] = M[$s] = M[ks] = M[xs] = M[Us] = M[Rs] = M[Ts] = M[As] = M[Ms] = M[Is] = M[Ps] = M[Ds] = M[Ls] = M[Fs] = M[Vs] = !1;
273
273
  function Ks(t) {
@@ -286,7 +286,7 @@ var Yn = typeof exports == "object" && exports && !exports.nodeType && exports,
286
286
  }
287
287
  }(), Gr = zr && zr.isTypedArray, Kn = Gr ? Xs(Gr) : Ks;
288
288
  function ti(t, e) {
289
- var r = Ct(t), n = !r && Pe(t), o = !r && !n && Qn(t), a = !r && !n && !o && Kn(t), s = r || n || o || a, i = s ? _s(t.length, String) : [], c = i.length;
289
+ var r = jt(t), n = !r && Pe(t), o = !r && !n && Qn(t), a = !r && !n && !o && Kn(t), s = r || n || o || a, i = s ? _s(t.length, String) : [], c = i.length;
290
290
  for (var u in t)
291
291
  s && // Safari 9 has enumerable `arguments.length` in strict mode.
292
292
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -382,7 +382,7 @@ function Si(t) {
382
382
  function Oi(t) {
383
383
  return pe(this.__data__, t) > -1;
384
384
  }
385
- function Ci(t, e) {
385
+ function ji(t, e) {
386
386
  var r = this.__data__, n = pe(r, t);
387
387
  return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
388
388
  }
@@ -397,22 +397,22 @@ et.prototype.clear = vi;
397
397
  et.prototype.delete = _i;
398
398
  et.prototype.get = Si;
399
399
  et.prototype.has = Oi;
400
- et.prototype.set = Ci;
400
+ et.prototype.set = ji;
401
401
  var Zn = er(xt, "Map");
402
- function ji() {
402
+ function wi() {
403
403
  this.size = 0, this.__data__ = {
404
404
  hash: new ft(),
405
405
  map: new (Zn || et)(),
406
406
  string: new ft()
407
407
  };
408
408
  }
409
- function wi(t) {
409
+ function Ci(t) {
410
410
  var e = typeof t;
411
411
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
412
412
  }
413
413
  function he(t, e) {
414
414
  var r = t.__data__;
415
- return wi(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
415
+ return Ci(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
416
416
  }
417
417
  function Ei(t) {
418
418
  var e = he(this, t).delete(t);
@@ -435,7 +435,7 @@ function Tt(t) {
435
435
  this.set(n[0], n[1]);
436
436
  }
437
437
  }
438
- Tt.prototype.clear = ji;
438
+ Tt.prototype.clear = wi;
439
439
  Tt.prototype.delete = Ei;
440
440
  Tt.prototype.get = Ni;
441
441
  Tt.prototype.has = $i;
@@ -560,10 +560,10 @@ function Ve(t, e) {
560
560
  if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
561
561
  return t[e];
562
562
  }
563
- function Cc(t) {
563
+ function jc(t) {
564
564
  return ps(t, Xn(t));
565
565
  }
566
- function jc(t, e, r, n, o, a, s) {
566
+ function wc(t, e, r, n, o, a, s) {
567
567
  var i = Ve(t, r), c = Ve(e, r), u = s.get(c);
568
568
  if (u) {
569
569
  Fe(t, r, u);
@@ -571,22 +571,22 @@ function jc(t, e, r, n, o, a, s) {
571
571
  }
572
572
  var f = a ? a(i, c, r + "", t, e, s) : void 0, l = f === void 0;
573
573
  if (l) {
574
- var d = Ct(c), p = !d && Qn(c), b = !d && !p && Kn(c);
575
- f = c, d || p || b ? Ct(i) ? f = i : Oc(i) ? f = ts(i) : p ? (l = !1, f = gc(c)) : b ? (l = !1, f = yc(c)) : f = [] : At(c) || Pe(c) ? (f = i, Pe(i) ? f = Cc(i) : (!ht(i) || tr(i)) && (f = bc(c))) : l = !1;
574
+ var d = jt(c), p = !d && Qn(c), y = !d && !p && Kn(c);
575
+ f = c, d || p || y ? jt(i) ? f = i : Oc(i) ? f = ts(i) : p ? (l = !1, f = gc(c)) : y ? (l = !1, f = yc(c)) : f = [] : At(c) || Pe(c) ? (f = i, Pe(i) ? f = jc(i) : (!ht(i) || tr(i)) && (f = bc(c))) : l = !1;
576
576
  }
577
577
  l && (s.set(c, f), o(f, c, n, a, s), s.delete(c)), Fe(t, r, f);
578
578
  }
579
579
  function fo(t, e, r, n, o) {
580
580
  t !== e && Sc(e, function(a, s) {
581
581
  if (o || (o = new Mt()), ht(a))
582
- jc(t, e, s, r, fo, n, o);
582
+ wc(t, e, s, r, fo, n, o);
583
583
  else {
584
584
  var i = n ? n(Ve(t, s), a, s + "", t, e, o) : void 0;
585
585
  i === void 0 && (i = a), Fe(t, s, i);
586
586
  }
587
587
  }, Xn);
588
588
  }
589
- var wc = ys(function(t, e, r) {
589
+ var Cc = ys(function(t, e, r) {
590
590
  fo(t, e, r);
591
591
  });
592
592
  const fm = function(t) {
@@ -729,7 +729,7 @@ const bt = (t, e) => {
729
729
  const d = typeof f == "function" ? f(e) : f;
730
730
  if (!Object.is(d, e)) {
731
731
  const p = e;
732
- e = l ?? (typeof d != "object" || d === null) ? d : Object.assign({}, e, d), r.forEach((b) => b(e, p));
732
+ e = l ?? (typeof d != "object" || d === null) ? d : Object.assign({}, e, d), r.forEach((y) => y(e, p));
733
733
  }
734
734
  }, o = () => e, c = { setState: n, getState: o, getInitialState: () => u, subscribe: (f) => (r.add(f), () => r.delete(f)), destroy: () => {
735
735
  (Ac ? "production" : void 0) !== "production" && console.warn(
@@ -740,7 +740,7 @@ const bt = (t, e) => {
740
740
  }, Mc = (t) => t ? Yr(t) : Yr;
741
741
  class Ic {
742
742
  constructor() {
743
- j(this, "storeMap", /* @__PURE__ */ new Map());
743
+ w(this, "storeMap", /* @__PURE__ */ new Map());
744
744
  }
745
745
  addStore(e, r) {
746
746
  const n = Mc(r);
@@ -791,7 +791,7 @@ class Ic {
791
791
  }
792
792
  class Pc {
793
793
  constructor() {
794
- j(this, "varSpace", /* @__PURE__ */ new Map());
794
+ w(this, "varSpace", /* @__PURE__ */ new Map());
795
795
  }
796
796
  get(e) {
797
797
  return this.varSpace.get(e);
@@ -814,7 +814,7 @@ class Pc {
814
814
  }
815
815
  class mo {
816
816
  constructor() {
817
- j(this, "refMap", /* @__PURE__ */ new Map());
817
+ w(this, "refMap", /* @__PURE__ */ new Map());
818
818
  }
819
819
  get(e) {
820
820
  return this.refMap.get(e);
@@ -829,7 +829,7 @@ class mo {
829
829
  this.refMap.clear();
830
830
  }
831
831
  }
832
- var Dc = Object.defineProperty, Lc = (t, e, r) => e in t ? Dc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, w = (t, e, r) => Lc(t, typeof e != "symbol" ? e + "" : e, r), go = typeof global == "object" && global && global.Object === Object && global, Fc = typeof self == "object" && self && self.Object === Object && self, X = go || Fc || Function("return this")(), G = X.Symbol, vo = Object.prototype, Vc = vo.hasOwnProperty, kc = vo.toString, kt = G ? G.toStringTag : void 0;
832
+ var Dc = Object.defineProperty, Lc = (t, e, r) => e in t ? Dc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, C = (t, e, r) => Lc(t, typeof e != "symbol" ? e + "" : e, r), go = typeof global == "object" && global && global.Object === Object && global, Fc = typeof self == "object" && self && self.Object === Object && self, X = go || Fc || Function("return this")(), G = X.Symbol, vo = Object.prototype, Vc = vo.hasOwnProperty, kc = vo.toString, kt = G ? G.toStringTag : void 0;
833
833
  function Uc(t) {
834
834
  var e = Vc.call(t, kt), r = t[kt];
835
835
  try {
@@ -1008,17 +1008,17 @@ function Ou(t, e, r) {
1008
1008
  return n;
1009
1009
  return -1;
1010
1010
  }
1011
- function Cu(t, e, r) {
1011
+ function ju(t, e, r) {
1012
1012
  return e === e ? Ou(t, e, r) : _u(t, Su, r);
1013
1013
  }
1014
- function ju(t, e) {
1014
+ function wu(t, e) {
1015
1015
  var r = t == null ? 0 : t.length;
1016
- return !!r && Cu(t, e, 0) > -1;
1016
+ return !!r && ju(t, e, 0) > -1;
1017
1017
  }
1018
- var wu = 9007199254740991, Eu = /^(?:0|[1-9]\d*)$/;
1018
+ var Cu = 9007199254740991, Eu = /^(?:0|[1-9]\d*)$/;
1019
1019
  function ge(t, e) {
1020
1020
  var r = typeof t;
1021
- return e = e ?? wu, !!e && (r == "number" || r != "symbol" && Eu.test(t)) && t > -1 && t % 1 == 0 && t < e;
1021
+ return e = e ?? Cu, !!e && (r == "number" || r != "symbol" && Eu.test(t)) && t > -1 && t % 1 == 0 && t < e;
1022
1022
  }
1023
1023
  function cr(t, e, r) {
1024
1024
  e == "__proto__" && ce ? ce(t, e, {
@@ -1096,7 +1096,7 @@ var Iu = "[object Arguments]";
1096
1096
  function nn(t) {
1097
1097
  return K(t) && mt(t) == Iu;
1098
1098
  }
1099
- var Co = Object.prototype, Pu = Co.hasOwnProperty, Du = Co.propertyIsEnumerable, Jt = nn(/* @__PURE__ */ function() {
1099
+ var jo = Object.prototype, Pu = jo.hasOwnProperty, Du = jo.propertyIsEnumerable, Jt = nn(/* @__PURE__ */ function() {
1100
1100
  return arguments;
1101
1101
  }()) ? nn : function(t) {
1102
1102
  return K(t) && Pu.call(t, "callee") && !Du.call(t, "callee");
@@ -1104,7 +1104,7 @@ var Co = Object.prototype, Pu = Co.hasOwnProperty, Du = Co.propertyIsEnumerable,
1104
1104
  function Lu() {
1105
1105
  return !1;
1106
1106
  }
1107
- var jo = typeof exports == "object" && exports && !exports.nodeType && exports, on = jo && typeof module == "object" && module && !module.nodeType && module, Fu = on && on.exports === jo, an = Fu ? X.Buffer : void 0, Vu = an ? an.isBuffer : void 0, Wt = Vu || Lu, ku = "[object Arguments]", Uu = "[object Array]", Bu = "[object Boolean]", zu = "[object Date]", Gu = "[object Error]", Hu = "[object Function]", qu = "[object Map]", Ju = "[object Number]", Wu = "[object Object]", Qu = "[object RegExp]", Yu = "[object Set]", Ku = "[object String]", Xu = "[object WeakMap]", Zu = "[object ArrayBuffer]", tl = "[object DataView]", el = "[object Float32Array]", rl = "[object Float64Array]", nl = "[object Int8Array]", ol = "[object Int16Array]", al = "[object Int32Array]", sl = "[object Uint8Array]", il = "[object Uint8ClampedArray]", cl = "[object Uint16Array]", ul = "[object Uint32Array]", I = {};
1107
+ var wo = typeof exports == "object" && exports && !exports.nodeType && exports, on = wo && typeof module == "object" && module && !module.nodeType && module, Fu = on && on.exports === wo, an = Fu ? X.Buffer : void 0, Vu = an ? an.isBuffer : void 0, Wt = Vu || Lu, ku = "[object Arguments]", Uu = "[object Array]", Bu = "[object Boolean]", zu = "[object Date]", Gu = "[object Error]", Hu = "[object Function]", qu = "[object Map]", Ju = "[object Number]", Wu = "[object Object]", Qu = "[object RegExp]", Yu = "[object Set]", Ku = "[object String]", Xu = "[object WeakMap]", Zu = "[object ArrayBuffer]", tl = "[object DataView]", el = "[object Float32Array]", rl = "[object Float64Array]", nl = "[object Int8Array]", ol = "[object Int16Array]", al = "[object Int32Array]", sl = "[object Uint8Array]", il = "[object Uint8ClampedArray]", cl = "[object Uint16Array]", ul = "[object Uint32Array]", I = {};
1108
1108
  I[el] = I[rl] = I[nl] = I[ol] = I[al] = I[sl] = I[il] = I[cl] = I[ul] = !0;
1109
1109
  I[ku] = I[Uu] = I[Zu] = I[Bu] = I[tl] = I[zu] = I[Gu] = I[Hu] = I[qu] = I[Ju] = I[Wu] = I[Qu] = I[Yu] = I[Ku] = I[Xu] = !1;
1110
1110
  function ll(t) {
@@ -1115,13 +1115,13 @@ function dr(t) {
1115
1115
  return t(e);
1116
1116
  };
1117
1117
  }
1118
- var wo = typeof exports == "object" && exports && !exports.nodeType && exports, zt = wo && typeof module == "object" && module && !module.nodeType && module, fl = zt && zt.exports === wo, $e = fl && go.process, jt = function() {
1118
+ var Co = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Co && typeof module == "object" && module && !module.nodeType && module, fl = zt && zt.exports === Co, $e = fl && go.process, wt = function() {
1119
1119
  try {
1120
1120
  var t = zt && zt.require && zt.require("util").types;
1121
1121
  return t || $e && $e.binding && $e.binding("util");
1122
1122
  } catch {
1123
1123
  }
1124
- }(), sn = jt && jt.isTypedArray, pr = sn ? dr(sn) : ll, dl = Object.prototype, pl = dl.hasOwnProperty;
1124
+ }(), sn = wt && wt.isTypedArray, pr = sn ? dr(sn) : ll, dl = Object.prototype, pl = dl.hasOwnProperty;
1125
1125
  function Eo(t, e) {
1126
1126
  var r = L(t), n = !r && Jt(t), o = !r && !n && Wt(t), a = !r && !n && !o && pr(t), s = r || n || o || a, i = s ? Mu(t.length, String) : [], c = i.length;
1127
1127
  for (var u in t)
@@ -1168,18 +1168,18 @@ function Sl(t) {
1168
1168
  function re(t) {
1169
1169
  return ve(t) ? Eo(t, !0) : Sl(t);
1170
1170
  }
1171
- var Ol = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Cl = /^\w*$/;
1171
+ var Ol = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, jl = /^\w*$/;
1172
1172
  function hr(t, e) {
1173
1173
  if (L(t))
1174
1174
  return !1;
1175
1175
  var r = typeof t;
1176
- return r == "number" || r == "symbol" || r == "boolean" || t == null || or(t) ? !0 : Cl.test(t) || !Ol.test(t) || e != null && t in Object(e);
1176
+ return r == "number" || r == "symbol" || r == "boolean" || t == null || or(t) ? !0 : jl.test(t) || !Ol.test(t) || e != null && t in Object(e);
1177
1177
  }
1178
1178
  var Qt = vt(Object, "create");
1179
- function jl() {
1179
+ function wl() {
1180
1180
  this.__data__ = Qt ? Qt(null) : {}, this.size = 0;
1181
1181
  }
1182
- function wl(t) {
1182
+ function Cl(t) {
1183
1183
  var e = this.has(t) && delete this.__data__[t];
1184
1184
  return this.size -= e ? 1 : 0, e;
1185
1185
  }
@@ -1209,8 +1209,8 @@ function dt(t) {
1209
1209
  this.set(n[0], n[1]);
1210
1210
  }
1211
1211
  }
1212
- dt.prototype.clear = jl;
1213
- dt.prototype.delete = wl;
1212
+ dt.prototype.clear = wl;
1213
+ dt.prototype.delete = Cl;
1214
1214
  dt.prototype.get = xl;
1215
1215
  dt.prototype.has = Al;
1216
1216
  dt.prototype.set = Il;
@@ -1370,7 +1370,7 @@ function nf(t) {
1370
1370
  return _o(So(t, void 0, rf), t + "");
1371
1371
  }
1372
1372
  var vr = No(Object.getPrototypeOf, Object), of = "[object Object]", af = Function.prototype, sf = Object.prototype, Ro = af.toString, cf = sf.hasOwnProperty, uf = Ro.call(Object);
1373
- function U(t) {
1373
+ function V(t) {
1374
1374
  if (!K(t) || mt(t) != of)
1375
1375
  return !1;
1376
1376
  var e = vr(t);
@@ -1447,15 +1447,15 @@ var Sf = Object.prototype, Of = Sf.propertyIsEnumerable, dn = Object.getOwnPrope
1447
1447
  return Of.call(t, e);
1448
1448
  }));
1449
1449
  } : Mo;
1450
- function Cf(t, e) {
1450
+ function jf(t, e) {
1451
1451
  return It(t, yr(t), e);
1452
1452
  }
1453
- var jf = Object.getOwnPropertySymbols, Io = jf ? function(t) {
1453
+ var wf = Object.getOwnPropertySymbols, Io = wf ? function(t) {
1454
1454
  for (var e = []; t; )
1455
1455
  gr(e, yr(t)), t = vr(t);
1456
1456
  return e;
1457
1457
  } : Mo;
1458
- function wf(t, e) {
1458
+ function Cf(t, e) {
1459
1459
  return It(t, Io(t), e);
1460
1460
  }
1461
1461
  function Po(t, e, r) {
@@ -1554,13 +1554,13 @@ var ad = "[object Map]";
1554
1554
  function sd(t) {
1555
1555
  return K(t) && q(t) == ad;
1556
1556
  }
1557
- var _n = jt && jt.isMap, id = _n ? dr(_n) : sd, cd = "[object Set]";
1557
+ var _n = wt && wt.isMap, id = _n ? dr(_n) : sd, cd = "[object Set]";
1558
1558
  function ud(t) {
1559
1559
  return K(t) && q(t) == cd;
1560
1560
  }
1561
- var Sn = jt && jt.isSet, ld = Sn ? dr(Sn) : ud, fd = 1, dd = 2, pd = 4, Fo = "[object Arguments]", hd = "[object Array]", md = "[object Boolean]", gd = "[object Date]", vd = "[object Error]", Vo = "[object Function]", yd = "[object GeneratorFunction]", bd = "[object Map]", _d = "[object Number]", ko = "[object Object]", Sd = "[object RegExp]", Od = "[object Set]", Cd = "[object String]", jd = "[object Symbol]", wd = "[object WeakMap]", Ed = "[object ArrayBuffer]", Nd = "[object DataView]", $d = "[object Float32Array]", xd = "[object Float64Array]", Rd = "[object Int8Array]", Td = "[object Int16Array]", Ad = "[object Int32Array]", Md = "[object Uint8Array]", Id = "[object Uint8ClampedArray]", Pd = "[object Uint16Array]", Dd = "[object Uint32Array]", A = {};
1562
- A[Fo] = A[hd] = A[Ed] = A[Nd] = A[md] = A[gd] = A[$d] = A[xd] = A[Rd] = A[Td] = A[Ad] = A[bd] = A[_d] = A[ko] = A[Sd] = A[Od] = A[Cd] = A[jd] = A[Md] = A[Id] = A[Pd] = A[Dd] = !0;
1563
- A[vd] = A[Vo] = A[wd] = !1;
1561
+ var Sn = wt && wt.isSet, ld = Sn ? dr(Sn) : ud, fd = 1, dd = 2, pd = 4, Fo = "[object Arguments]", hd = "[object Array]", md = "[object Boolean]", gd = "[object Date]", vd = "[object Error]", Vo = "[object Function]", yd = "[object GeneratorFunction]", bd = "[object Map]", _d = "[object Number]", ko = "[object Object]", Sd = "[object RegExp]", Od = "[object Set]", jd = "[object String]", wd = "[object Symbol]", Cd = "[object WeakMap]", Ed = "[object ArrayBuffer]", Nd = "[object DataView]", $d = "[object Float32Array]", xd = "[object Float64Array]", Rd = "[object Int8Array]", Td = "[object Int16Array]", Ad = "[object Int32Array]", Md = "[object Uint8Array]", Id = "[object Uint8ClampedArray]", Pd = "[object Uint16Array]", Dd = "[object Uint32Array]", A = {};
1562
+ A[Fo] = A[hd] = A[Ed] = A[Nd] = A[md] = A[gd] = A[$d] = A[xd] = A[Rd] = A[Td] = A[Ad] = A[bd] = A[_d] = A[ko] = A[Sd] = A[Od] = A[jd] = A[wd] = A[Md] = A[Id] = A[Pd] = A[Dd] = !0;
1563
+ A[vd] = A[Vo] = A[Cd] = !1;
1564
1564
  function Gt(t, e, r, n, o, a) {
1565
1565
  var s, i = e & fd, c = e & dd, u = e & pd;
1566
1566
  if (r && (s = o ? r(t, n, o, a) : r(t)), s !== void 0)
@@ -1577,7 +1577,7 @@ function Gt(t, e, r, n, o, a) {
1577
1577
  return Ao(t, i);
1578
1578
  if (l == ko || l == Fo || d && !o) {
1579
1579
  if (s = c || d ? {} : Lo(t), !i)
1580
- return c ? wf(t, yf(s, t)) : Cf(t, vf(s, t));
1580
+ return c ? Cf(t, yf(s, t)) : jf(t, vf(s, t));
1581
1581
  } else {
1582
1582
  if (!A[l])
1583
1583
  return o ? t : {};
@@ -1593,7 +1593,7 @@ function Gt(t, e, r, n, o, a) {
1593
1593
  }) : id(t) && t.forEach(function(h, m) {
1594
1594
  s.set(m, Gt(h, e, r, m, t, a));
1595
1595
  });
1596
- var b = u ? c ? br : Ue : c ? re : ye, S = f ? void 0 : b(t);
1596
+ var y = u ? c ? br : Ue : c ? re : ye, S = f ? void 0 : y(t);
1597
1597
  return bu(S || t, function(h, m) {
1598
1598
  S && (m = h, h = t[m]), ur(s, m, Gt(h, e, r, m, t, a));
1599
1599
  }), s;
@@ -1635,9 +1635,9 @@ function zo(t, e, r, n, o, a) {
1635
1635
  return u == e && f == t;
1636
1636
  var l = -1, d = !0, p = r & Gd ? new Kt() : void 0;
1637
1637
  for (a.set(t, e), a.set(e, t); ++l < i; ) {
1638
- var b = t[l], S = e[l];
1638
+ var y = t[l], S = e[l];
1639
1639
  if (n)
1640
- var h = s ? n(S, b, l, e, t, a) : n(b, S, l, t, e, a);
1640
+ var h = s ? n(S, y, l, e, t, a) : n(y, S, l, t, e, a);
1641
1641
  if (h !== void 0) {
1642
1642
  if (h)
1643
1643
  continue;
@@ -1646,13 +1646,13 @@ function zo(t, e, r, n, o, a) {
1646
1646
  }
1647
1647
  if (p) {
1648
1648
  if (!Bd(e, function(m, v) {
1649
- if (!Bo(p, v) && (b === m || o(b, m, r, n, a)))
1649
+ if (!Bo(p, v) && (y === m || o(y, m, r, n, a)))
1650
1650
  return p.push(v);
1651
1651
  })) {
1652
1652
  d = !1;
1653
1653
  break;
1654
1654
  }
1655
- } else if (!(b === S || o(b, S, r, n, a))) {
1655
+ } else if (!(y === S || o(y, S, r, n, a))) {
1656
1656
  d = !1;
1657
1657
  break;
1658
1658
  }
@@ -1717,9 +1717,9 @@ function up(t, e, r, n, o, a) {
1717
1717
  if (!(s ? d in e : cp.call(e, d)))
1718
1718
  return !1;
1719
1719
  }
1720
- var p = a.get(t), b = a.get(e);
1721
- if (p && b)
1722
- return p == e && b == t;
1720
+ var p = a.get(t), y = a.get(e);
1721
+ if (p && y)
1722
+ return p == e && y == t;
1723
1723
  var S = !0;
1724
1724
  a.set(t, e), a.set(e, t);
1725
1725
  for (var h = s; ++l < c; ) {
@@ -1734,15 +1734,15 @@ function up(t, e, r, n, o, a) {
1734
1734
  h || (h = d == "constructor");
1735
1735
  }
1736
1736
  if (S && !h) {
1737
- var _ = t.constructor, C = e.constructor;
1738
- _ != C && "constructor" in t && "constructor" in e && !(typeof _ == "function" && _ instanceof _ && typeof C == "function" && C instanceof C) && (S = !1);
1737
+ var _ = t.constructor, j = e.constructor;
1738
+ _ != j && "constructor" in t && "constructor" in e && !(typeof _ == "function" && _ instanceof _ && typeof j == "function" && j instanceof j) && (S = !1);
1739
1739
  }
1740
1740
  return a.delete(t), a.delete(e), S;
1741
1741
  }
1742
- var lp = 1, Cn = "[object Arguments]", jn = "[object Array]", oe = "[object Object]", fp = Object.prototype, wn = fp.hasOwnProperty;
1742
+ var lp = 1, jn = "[object Arguments]", wn = "[object Array]", oe = "[object Object]", fp = Object.prototype, Cn = fp.hasOwnProperty;
1743
1743
  function dp(t, e, r, n, o, a) {
1744
- var s = L(t), i = L(e), c = s ? jn : q(t), u = i ? jn : q(e);
1745
- c = c == Cn ? oe : c, u = u == Cn ? oe : u;
1744
+ var s = L(t), i = L(e), c = s ? wn : q(t), u = i ? wn : q(e);
1745
+ c = c == jn ? oe : c, u = u == jn ? oe : u;
1746
1746
  var f = c == oe, l = u == oe, d = c == u;
1747
1747
  if (d && Wt(t)) {
1748
1748
  if (!Wt(e))
@@ -1752,9 +1752,9 @@ function dp(t, e, r, n, o, a) {
1752
1752
  if (d && !f)
1753
1753
  return a || (a = new J()), s || pr(t) ? zo(t, e, r, n, o, a) : ap(t, e, c, r, n, o, a);
1754
1754
  if (!(r & lp)) {
1755
- var p = f && wn.call(t, "__wrapped__"), b = l && wn.call(e, "__wrapped__");
1756
- if (p || b) {
1757
- var S = p ? t.value() : t, h = b ? e.value() : e;
1755
+ var p = f && Cn.call(t, "__wrapped__"), y = l && Cn.call(e, "__wrapped__");
1756
+ if (p || y) {
1757
+ var S = p ? t.value() : t, h = y ? e.value() : e;
1758
1758
  return a || (a = new J()), o(S, h, r, n, a);
1759
1759
  }
1760
1760
  }
@@ -1825,27 +1825,27 @@ function _p(t, e) {
1825
1825
  return t != null && bp(t, e, yp);
1826
1826
  }
1827
1827
  var Sp = 1, Op = 2;
1828
- function Cp(t, e) {
1828
+ function jp(t, e) {
1829
1829
  return hr(t) && Go(e) ? Ho(Dt(t), e) : function(r) {
1830
1830
  var n = $o(r, t);
1831
1831
  return n === void 0 && n === e ? _p(r, t) : Or(e, n, Sp | Op);
1832
1832
  };
1833
1833
  }
1834
- function jp(t) {
1834
+ function wp(t) {
1835
1835
  return function(e) {
1836
1836
  return e == null ? void 0 : e[t];
1837
1837
  };
1838
1838
  }
1839
- function wp(t) {
1839
+ function Cp(t) {
1840
1840
  return function(e) {
1841
1841
  return Se(e, t);
1842
1842
  };
1843
1843
  }
1844
1844
  function Ep(t) {
1845
- return hr(t) ? jp(Dt(t)) : wp(t);
1845
+ return hr(t) ? wp(Dt(t)) : Cp(t);
1846
1846
  }
1847
- function Cr(t) {
1848
- return typeof t == "function" ? t : t == null ? sr : typeof t == "object" ? L(t) ? Cp(t[0], t[1]) : vp(t) : Ep(t);
1847
+ function jr(t) {
1848
+ return typeof t == "function" ? t : t == null ? sr : typeof t == "object" ? L(t) ? jp(t[0], t[1]) : vp(t) : Ep(t);
1849
1849
  }
1850
1850
  function Np(t) {
1851
1851
  return function(e, r, n) {
@@ -1879,8 +1879,8 @@ function Rp(t, e, r, n, o, a, s) {
1879
1879
  }
1880
1880
  var f = a ? a(i, c, r + "", t, e, s) : void 0, l = f === void 0;
1881
1881
  if (l) {
1882
- var d = L(c), p = !d && Wt(c), b = !d && !p && pr(c);
1883
- f = c, d || p || b ? L(i) ? f = i : He(i) ? f = bo(i) : p ? (l = !1, f = Ao(c, !0)) : b ? (l = !1, f = Do(c, !0)) : f = [] : U(c) || Jt(c) ? (f = i, Jt(i) ? f = xp(i) : (!Q(i) || ir(i)) && (f = Lo(c))) : l = !1;
1882
+ var d = L(c), p = !d && Wt(c), y = !d && !p && pr(c);
1883
+ f = c, d || p || y ? L(i) ? f = i : He(i) ? f = bo(i) : p ? (l = !1, f = Ao(c, !0)) : y ? (l = !1, f = Do(c, !0)) : f = [] : V(c) || Jt(c) ? (f = i, Jt(i) ? f = xp(i) : (!Q(i) || ir(i)) && (f = Lo(c))) : l = !1;
1884
1884
  }
1885
1885
  l && (s.set(c, f), o(f, c, n, a, s), s.delete(c)), Ge(t, r, f);
1886
1886
  }
@@ -1926,7 +1926,7 @@ function Ip(t, e) {
1926
1926
  return e = Pt(e, t), t = Tp(t, e), t == null || delete t[Dt(Jo(e))];
1927
1927
  }
1928
1928
  function Pp(t) {
1929
- return U(t) ? void 0 : t;
1929
+ return V(t) ? void 0 : t;
1930
1930
  }
1931
1931
  var Dp = 1, Lp = 2, Fp = 4, Qo = nf(function(t, e) {
1932
1932
  var r = {};
@@ -1969,18 +1969,18 @@ function Up(t, e) {
1969
1969
  var r = ar(br(t), function(n) {
1970
1970
  return [n];
1971
1971
  });
1972
- return e = Cr(e), kp(t, r, function(n, o) {
1972
+ return e = jr(e), kp(t, r, function(n, o) {
1973
1973
  return e(n, o[0]);
1974
1974
  });
1975
1975
  }
1976
1976
  function Bp(t, e) {
1977
- return Up(t, Mp(Cr(e)));
1977
+ return Up(t, Mp(jr(e)));
1978
1978
  }
1979
1979
  var zp = 1 / 0, Gp = _t && 1 / Sr(new _t([, -0]))[1] == zp ? function(t) {
1980
1980
  return new _t(t);
1981
1981
  } : du, Hp = 200;
1982
1982
  function qp(t, e, r) {
1983
- var n = -1, o = ju, a = t.length, s = !0, i = [], c = i;
1983
+ var n = -1, o = wu, a = t.length, s = !0, i = [], c = i;
1984
1984
  if (a >= Hp) {
1985
1985
  var u = e ? null : Gp(t);
1986
1986
  if (u)
@@ -2002,7 +2002,7 @@ function qp(t, e, r) {
2002
2002
  }
2003
2003
  var Jp = Oo(function(t) {
2004
2004
  var e = Jo(t);
2005
- return He(e) && (e = void 0), qp(xo(t, 1, He, !0), Cr(e));
2005
+ return He(e) && (e = void 0), qp(xo(t, 1, He, !0), jr(e));
2006
2006
  });
2007
2007
  class Yo extends TypeError {
2008
2008
  constructor(e, r) {
@@ -2065,7 +2065,7 @@ function* En(t, e, r, n) {
2065
2065
  a && (yield a);
2066
2066
  }
2067
2067
  }
2068
- function* jr(t, e, r) {
2068
+ function* wr(t, e, r) {
2069
2069
  r === void 0 && (r = {});
2070
2070
  const {
2071
2071
  path: n = [],
@@ -2083,7 +2083,7 @@ function* jr(t, e, r) {
2083
2083
  for (const u of e.validator(t, i))
2084
2084
  c = "not_valid", yield [u, void 0];
2085
2085
  for (let [u, f, l] of e.entries(t, i)) {
2086
- const d = jr(f, l, {
2086
+ const d = wr(f, l, {
2087
2087
  path: u === void 0 ? n : [...n, u],
2088
2088
  branch: u === void 0 ? o : [...o, f],
2089
2089
  coerce: a,
@@ -2181,13 +2181,13 @@ function Zp(t, e) {
2181
2181
  }
2182
2182
  function Lt(t, e, r) {
2183
2183
  r === void 0 && (r = {});
2184
- const n = jr(t, e, r), o = Qp(n);
2184
+ const n = wr(t, e, r), o = Qp(n);
2185
2185
  return o[0] ? [new Yo(o[0], function* () {
2186
2186
  for (const a of n)
2187
2187
  a[0] && (yield a[0]);
2188
2188
  }), void 0] : [void 0, o[1]];
2189
2189
  }
2190
- function wr() {
2190
+ function Cr() {
2191
2191
  for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
2192
2192
  e[r] = arguments[r];
2193
2193
  const n = e[0].type === "type", o = e.map((s) => s.schema), a = Object.assign({}, ...o);
@@ -2200,7 +2200,7 @@ function st(t, e) {
2200
2200
  validator: e
2201
2201
  });
2202
2202
  }
2203
- function wt(t) {
2203
+ function Ct(t) {
2204
2204
  return new Z({
2205
2205
  type: "dynamic",
2206
2206
  schema: null,
@@ -2271,7 +2271,7 @@ function Je(t) {
2271
2271
  function Zo() {
2272
2272
  return st("func", (t) => typeof t == "function" || `Expected a function, but received: ${B(t)}`);
2273
2273
  }
2274
- function F(t) {
2274
+ function k(t) {
2275
2275
  const e = B(t), r = typeof t;
2276
2276
  return new Z({
2277
2277
  type: "literal",
@@ -2311,7 +2311,7 @@ function R(t) {
2311
2311
  }
2312
2312
  });
2313
2313
  }
2314
- function y(t) {
2314
+ function b(t) {
2315
2315
  return new Z({
2316
2316
  ...t,
2317
2317
  validator: (e, r) => e === void 0 || t.validator(e, r),
@@ -2352,7 +2352,7 @@ function ea(t) {
2352
2352
  }
2353
2353
  });
2354
2354
  }
2355
- function k(t) {
2355
+ function U(t) {
2356
2356
  const e = t.map((r) => r.type).join(" | ");
2357
2357
  return new Z({
2358
2358
  type: "union",
@@ -2368,7 +2368,7 @@ function k(t) {
2368
2368
  validator(r, n) {
2369
2369
  const o = [];
2370
2370
  for (const a of t) {
2371
- const [...s] = jr(r, a, n), [i] = s;
2371
+ const [...s] = wr(r, a, n), [i] = s;
2372
2372
  if (i[0])
2373
2373
  for (const [c] of s)
2374
2374
  c && o.push(c);
@@ -2386,11 +2386,11 @@ const Er = R({
2386
2386
  package: O(),
2387
2387
  version: O(),
2388
2388
  name: O(),
2389
- exportName: y(O()),
2390
- destructuring: y(pt()),
2391
- subName: y(O()),
2392
- main: y(O()),
2393
- cssPaths: y(P(O()))
2389
+ exportName: b(O()),
2390
+ destructuring: b(pt()),
2391
+ subName: b(O()),
2392
+ main: b(O()),
2393
+ cssPaths: b(P(O()))
2394
2394
  }), rh = P(Er), nh = [
2395
2395
  "CBlock",
2396
2396
  "CContainer",
@@ -2401,78 +2401,78 @@ const Er = R({
2401
2401
  "CText",
2402
2402
  "CNativeTag"
2403
2403
  ];
2404
- var V = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t.ACTION = "ACTION", t.EVENT = "EVENT", t))(V || {}), Nr = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(Nr || {}), We = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(We || {});
2405
- const oh = () => st("normalObj", (t) => !U(t) || [V.SLOT, V.EXPRESSION, V.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Lt(t, Ht(O(), $r)), !0)), $r = k([
2404
+ var F = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t.ACTION = "ACTION", t.EVENT = "EVENT", t))(F || {}), Nr = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(Nr || {}), We = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(We || {});
2405
+ const oh = () => st("normalObj", (t) => !V(t) || [F.SLOT, F.EXPRESSION, F.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Lt(t, Ht(O(), $r)), !0)), $r = U([
2406
2406
  O(),
2407
2407
  ta(),
2408
2408
  pt(),
2409
2409
  R({
2410
- type: F(V.SLOT),
2410
+ type: k(F.SLOT),
2411
2411
  renderType: Je([We.FUNC, We.COMP]),
2412
2412
  // if renderType is Func, params will be useful
2413
- params: y(P(O())),
2413
+ params: b(P(O())),
2414
2414
  // here can't use PropsDataStructDescribe, it will caused "Maximum call stack size exceeded" error
2415
- value: wt(() => k([Et, P(Et)]))
2415
+ value: Ct(() => U([Et, P(Et)]))
2416
2416
  }),
2417
2417
  R({
2418
- type: F(V.EXPRESSION),
2418
+ type: k(F.EXPRESSION),
2419
2419
  value: O()
2420
2420
  }),
2421
2421
  R({
2422
- type: F(V.FUNCTION),
2422
+ type: k(F.FUNCTION),
2423
2423
  value: O()
2424
2424
  }),
2425
2425
  R({
2426
- type: F(V.ACTION),
2426
+ type: k(F.ACTION),
2427
2427
  /** 暂时不做规则强检验 */
2428
2428
  handler: T()
2429
2429
  }),
2430
2430
  oh(),
2431
2431
  P(
2432
- wt(() => $r)
2432
+ Ct(() => $r)
2433
2433
  )
2434
2434
  ]);
2435
2435
  var ra = /* @__PURE__ */ ((t) => (t.COMPONENTS = "COMPONENTS", t))(ra || {});
2436
2436
  const Nn = R({
2437
- type: F(V.EXPRESSION),
2437
+ type: k(F.EXPRESSION),
2438
2438
  value: O()
2439
2439
  }), Et = R({
2440
- id: y(O()),
2441
- title: y(O()),
2440
+ id: b(O()),
2441
+ title: b(O()),
2442
2442
  componentName: O(),
2443
- props: y(Ht(O(), $r)),
2444
- nodeName: y(O()),
2445
- state: y(Ht(O(), T())),
2446
- children: wt(() => y(P(k([O(), Et])))),
2447
- eventListener: y(P(T())),
2448
- configure: y(T()),
2449
- css: y(T()),
2450
- style: y(T()),
2451
- classNames: y(P(T())),
2452
- refId: y(O()),
2453
- extra: y(Ht(T(), T())),
2454
- condition: y(k([pt(), Nn])),
2455
- loop: y(
2443
+ props: b(Ht(O(), $r)),
2444
+ nodeName: b(O()),
2445
+ state: b(Ht(O(), T())),
2446
+ children: Ct(() => b(P(U([O(), Et])))),
2447
+ eventListener: b(P(T())),
2448
+ configure: b(T()),
2449
+ css: b(T()),
2450
+ style: b(T()),
2451
+ classNames: b(P(T())),
2452
+ refId: b(O()),
2453
+ extra: b(Ht(T(), T())),
2454
+ condition: b(U([pt(), Nn])),
2455
+ loop: b(
2456
2456
  R({
2457
2457
  open: pt(),
2458
- data: k([P(T()), Nn]),
2459
- args: y(P(O())),
2460
- forName: y(O()),
2461
- forIndex: y(O()),
2462
- key: y(T()),
2463
- name: y(O())
2458
+ data: U([P(T()), Nn]),
2459
+ args: b(P(O())),
2460
+ forName: b(O()),
2461
+ forIndex: b(O()),
2462
+ key: b(T()),
2463
+ name: b(O())
2464
2464
  })
2465
2465
  ),
2466
- injectEnvList: y(P(T())),
2467
- methods: y(P(T()))
2468
- }), le = k([
2466
+ injectEnvList: b(P(T())),
2467
+ methods: b(P(T()))
2468
+ }), le = U([
2469
2469
  O(),
2470
2470
  R({
2471
2471
  label: O(),
2472
- tip: y(O())
2472
+ tip: b(O())
2473
2473
  })
2474
2474
  ]), ah = R({
2475
- type: F(
2475
+ type: k(
2476
2476
  "shape"
2477
2477
  /* SHAPE */
2478
2478
  ),
@@ -2480,30 +2480,30 @@ const Nn = R({
2480
2480
  R({
2481
2481
  name: O(),
2482
2482
  title: le,
2483
- valueType: wt(() => Oe)
2483
+ valueType: Ct(() => Oe)
2484
2484
  })
2485
2485
  )
2486
2486
  }), sh = R({
2487
- type: F(
2487
+ type: k(
2488
2488
  "enums"
2489
2489
  /* ENUMS */
2490
2490
  ),
2491
2491
  value: P(O())
2492
2492
  });
2493
2493
  R({
2494
- type: F(
2494
+ type: k(
2495
2495
  "array"
2496
2496
  /* ARRAY */
2497
2497
  ),
2498
- value: wt(() => Oe)
2498
+ value: Ct(() => Oe)
2499
2499
  });
2500
2500
  const ih = R({
2501
- type: F(
2501
+ type: k(
2502
2502
  "array"
2503
2503
  /* ARRAY */
2504
2504
  ),
2505
- value: wt(() => P(Oe))
2506
- }), Oe = k([
2505
+ value: Ct(() => P(Oe))
2506
+ }), Oe = U([
2507
2507
  Je([
2508
2508
  "array",
2509
2509
  "boolean",
@@ -2521,36 +2521,36 @@ const ih = R({
2521
2521
  ah,
2522
2522
  sh,
2523
2523
  ih
2524
- ]), ch = k([
2524
+ ]), ch = U([
2525
2525
  O(),
2526
2526
  R({
2527
2527
  componentName: O(),
2528
- props: y(T()),
2528
+ props: b(T()),
2529
2529
  /** 用于标记当前数据的初始值,如添加一个数组元素可以使用该值填充 */
2530
- initialValue: y(T()),
2531
- component: y(T()),
2532
- hiddenLabel: y(pt())
2530
+ initialValue: b(T()),
2531
+ component: b(T()),
2532
+ hiddenLabel: b(pt())
2533
2533
  })
2534
2534
  ]), Re = R({
2535
2535
  name: O(),
2536
2536
  title: le,
2537
2537
  // 描述 name 对应值的类型
2538
2538
  valueType: Oe,
2539
- description: y(O()),
2539
+ description: b(O()),
2540
2540
  defaultValue: T(),
2541
2541
  //用于产生 valueType 类型的值
2542
- setters: y(P(ch)),
2543
- condition: y(Zo())
2542
+ setters: b(P(ch)),
2543
+ condition: b(Zo())
2544
2544
  });
2545
- k([O(), Zo()]);
2545
+ U([O(), Zo()]);
2546
2546
  var Qe = /* @__PURE__ */ ((t) => (t.SINGLE = "single", t.GROUP = "group", t))(Qe || {});
2547
- k([
2547
+ U([
2548
2548
  O(),
2549
2549
  R({
2550
2550
  event: O(),
2551
- name: y(O()),
2552
- describe: y(O()),
2553
- params: y(
2551
+ name: b(O()),
2552
+ describe: b(O()),
2553
+ params: b(
2554
2554
  P(
2555
2555
  R({
2556
2556
  name: O(),
@@ -2559,51 +2559,51 @@ k([
2559
2559
  })
2560
2560
  )
2561
2561
  ),
2562
- template: y(O())
2562
+ template: b(O())
2563
2563
  })
2564
2564
  ]);
2565
2565
  const uh = R({
2566
- id: y(O()),
2566
+ id: b(O()),
2567
2567
  title: O(),
2568
- snapshot: k([O(), T()]),
2569
- snapshotText: y(O()),
2570
- description: y(O()),
2568
+ snapshot: U([O(), T()]),
2569
+ snapshotText: b(O()),
2570
+ description: b(O()),
2571
2571
  // 组件分类,用于搜索
2572
- tags: y(P(O())),
2572
+ tags: b(P(O())),
2573
2573
  // 分 tab 面板
2574
- groupName: y(O()),
2574
+ groupName: b(O()),
2575
2575
  // 分类
2576
- category: y(O()),
2577
- schema: wr(Xo(Et, ["id"]), R({ componentName: y(O()) }))
2576
+ category: b(O()),
2577
+ schema: Cr(Xo(Et, ["id"]), R({ componentName: b(O()) }))
2578
2578
  }), lh = R({
2579
2579
  componentName: O(),
2580
2580
  title: O(),
2581
- screenshot: y(O()),
2582
- icon: y(O()),
2581
+ screenshot: b(O()),
2582
+ icon: b(O()),
2583
2583
  // 组件分类,用于搜索
2584
- tags: y(P(O())),
2584
+ tags: b(P(O())),
2585
2585
  // 分 tab 面板
2586
- groupName: y(O()),
2586
+ groupName: b(O()),
2587
2587
  // 分类
2588
- category: y(O()),
2588
+ category: b(O()),
2589
2589
  // 排序
2590
- priority: y(ta()),
2591
- npm: y(Er),
2590
+ priority: b(ta()),
2591
+ npm: b(Er),
2592
2592
  snippets: P(uh),
2593
2593
  props: P(
2594
- k([
2594
+ U([
2595
2595
  Re,
2596
2596
  R({
2597
- title: y(le),
2598
- type: F(
2597
+ title: b(le),
2598
+ type: k(
2599
2599
  "single"
2600
2600
  /* SINGLE */
2601
2601
  ),
2602
2602
  content: Re
2603
2603
  }),
2604
2604
  R({
2605
- title: y(le),
2606
- type: F(
2605
+ title: b(le),
2606
+ type: k(
2607
2607
  "group"
2608
2608
  /* GROUP */
2609
2609
  ),
@@ -2611,12 +2611,12 @@ const uh = R({
2611
2611
  })
2612
2612
  ])
2613
2613
  ),
2614
- events: y(T()),
2615
- methods: y(T()),
2616
- fixedProps: y(T()),
2614
+ events: b(T()),
2615
+ methods: b(T()),
2616
+ fixedProps: b(T()),
2617
2617
  // 可以拖入组件
2618
- isContainer: y(
2619
- k([
2618
+ isContainer: b(
2619
+ U([
2620
2620
  pt(),
2621
2621
  R({
2622
2622
  placeholder: O(),
@@ -2625,14 +2625,14 @@ const uh = R({
2625
2625
  })
2626
2626
  ])
2627
2627
  ),
2628
- disableEditorDragDom: y(T()),
2628
+ disableEditorDragDom: b(T()),
2629
2629
  // 如果是布局组件,可以考虑将拖拽控制权转移 or 实现 resize
2630
- isLayout: y(pt()),
2631
- rootSelector: y(O()),
2630
+ isLayout: b(pt()),
2631
+ rootSelector: b(O()),
2632
2632
  // selectionToolBarView: optional(func()),
2633
- advanceCustom: y(T()),
2633
+ advanceCustom: b(T()),
2634
2634
  // 扩展配置
2635
- extra: y(Ht(T(), T()))
2635
+ extra: b(Ht(T(), T()))
2636
2636
  }), fh = (t) => ({ data: e, message: r, throwError: n }) => {
2637
2637
  const o = t({ data: e, message: r, throwError: n });
2638
2638
  if (o.isValidate)
@@ -2664,12 +2664,12 @@ const uh = R({
2664
2664
  };
2665
2665
  var Ft = /* @__PURE__ */ ((t) => (t.ROOT_CONTAINER = "RootContainer", t))(Ft || {});
2666
2666
  const dh = R({
2667
- type: F(V.FUNCTION),
2667
+ type: k(F.FUNCTION),
2668
2668
  value: O()
2669
- }), ph = wr(
2669
+ }), ph = Cr(
2670
2670
  Xo(Et, ["componentName"]),
2671
2671
  R({
2672
- componentName: F(
2672
+ componentName: k(
2673
2673
  "RootContainer"
2674
2674
  /* ROOT_CONTAINER */
2675
2675
  )
@@ -2702,7 +2702,7 @@ const ne = hh(), mh = (t, e) => {
2702
2702
  parent: e,
2703
2703
  materials: o
2704
2704
  })
2705
- ) : U(n) && r.value.push(
2705
+ ) : V(n) && r.value.push(
2706
2706
  new D(n, {
2707
2707
  parent: e,
2708
2708
  materials: o
@@ -2711,7 +2711,7 @@ const ne = hh(), mh = (t, e) => {
2711
2711
  };
2712
2712
  class Nt {
2713
2713
  constructor(e, r) {
2714
- w(this, "nodeType", "SLOT"), w(this, "rawData"), w(this, "parent"), w(this, "emitter", ne), w(this, "data"), w(this, "id"), w(this, "materialsMode"), this.parent = (r == null ? void 0 : r.parent) || null, this.rawData = e;
2714
+ C(this, "nodeType", "SLOT"), C(this, "rawData"), C(this, "parent"), C(this, "emitter", ne), C(this, "data"), C(this, "id"), C(this, "materialsMode"), this.parent = (r == null ? void 0 : r.parent) || null, this.rawData = e;
2715
2715
  const n = (r == null ? void 0 : r.materials) || new $t([]);
2716
2716
  this.materialsMode = n, this.id = tt(), this.data = mh(e, this);
2717
2717
  }
@@ -2722,7 +2722,7 @@ class Nt {
2722
2722
  const r = this.data, n = (o) => {
2723
2723
  if (o instanceof D)
2724
2724
  return o.export(e);
2725
- if (U(o)) {
2725
+ if (V(o)) {
2726
2726
  const a = {};
2727
2727
  return Object.keys(o || {}).forEach((s) => {
2728
2728
  a[s] = n(o[s]);
@@ -2741,17 +2741,17 @@ const na = (t) => {
2741
2741
  }), e;
2742
2742
  }, Ye = (t, e, r) => {
2743
2743
  if (t.type)
2744
- return t.type === V.SLOT ? new Nt(t, { parent: e, materials: r }) : t;
2745
- if (U(t)) {
2744
+ return t.type === F.SLOT ? new Nt(t, { parent: e, materials: r }) : t;
2745
+ if (V(t)) {
2746
2746
  const n = {};
2747
2747
  return Object.keys(t).forEach((o) => {
2748
2748
  n[o] = Ke(t[o], e, r);
2749
2749
  }), n;
2750
2750
  } else return Array.isArray(t) ? t.map((n) => Ye(n, e, r)) : t;
2751
- }, Ke = (t, e, r) => U(t) ? Ye(t, e, r) : L(t) ? t.map((n) => Ye(n, e, r)) : t;
2751
+ }, Ke = (t, e, r) => V(t) ? Ye(t, e, r) : L(t) ? t.map((n) => Ye(n, e, r)) : t;
2752
2752
  class at {
2753
2753
  constructor(e, r, n) {
2754
- w(this, "nodeType", "PROP"), w(this, "rawData"), w(this, "parent"), w(this, "emitter", ne), w(this, "data"), w(this, "name"), w(this, "materialsMode");
2754
+ C(this, "nodeType", "PROP"), C(this, "rawData"), C(this, "parent"), C(this, "emitter", ne), C(this, "data"), C(this, "name"), C(this, "materialsMode");
2755
2755
  const o = (n == null ? void 0 : n.materials) || new $t([]);
2756
2756
  this.materialsMode = o, this.parent = n == null ? void 0 : n.parent, this.rawData = r, this.name = e, this.data = Ke(r, this, o);
2757
2757
  }
@@ -2792,7 +2792,7 @@ class at {
2792
2792
  return o.export(e);
2793
2793
  if (L(o))
2794
2794
  return o.map((a) => n(a));
2795
- if (U(o)) {
2795
+ if (V(o)) {
2796
2796
  const a = {};
2797
2797
  return Object.keys(o || {}).forEach((s) => {
2798
2798
  a[s] = n(o[s]);
@@ -2839,7 +2839,7 @@ const gh = (t) => {
2839
2839
  }), t.children && (Array.isArray(t.children) ? n.children = t.children.map((a) => {
2840
2840
  if (a instanceof D)
2841
2841
  return a;
2842
- if (U(a)) {
2842
+ if (V(a)) {
2843
2843
  const s = a;
2844
2844
  return new D(s, {
2845
2845
  parent: e,
@@ -2856,7 +2856,7 @@ const gh = (t) => {
2856
2856
  };
2857
2857
  class D {
2858
2858
  constructor(e, r) {
2859
- w(this, "nodeType", "NODE"), w(this, "rawData"), w(this, "data"), w(this, "emitter", ne), w(this, "parent"), w(this, "materialsModel"), w(this, "listenerHandle"), w(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(e)), gh(e);
2859
+ C(this, "nodeType", "NODE"), C(this, "rawData"), C(this, "data"), C(this, "emitter", ne), C(this, "parent"), C(this, "materialsModel"), C(this, "listenerHandle"), C(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(e)), gh(e);
2860
2860
  const n = (r == null ? void 0 : r.materials) || new $t([]);
2861
2861
  this.parent = (r == null ? void 0 : r.parent) || null, this.materialsModel = n, this.data = $n(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener();
2862
2862
  }
@@ -2978,7 +2978,7 @@ const xn = (t, e, r) => {
2978
2978
  injectEnvList: t.injectEnvList
2979
2979
  };
2980
2980
  let o = [];
2981
- L(t.children) ? o = t.children.map((s) => s instanceof D ? s : U(s) ? new D(s, { parent: e, materials: r }) : s) : t.children instanceof D ? o.push(t.children) : t.children && U(t.children) && o.push(new D(t.children, { parent: e, materials: r }));
2981
+ L(t.children) ? o = t.children.map((s) => s instanceof D ? s : V(s) ? new D(s, { parent: e, materials: r }) : s) : t.children instanceof D ? o.push(t.children) : t.children && V(t.children) && o.push(new D(t.children, { parent: e, materials: r }));
2982
2982
  const a = Object.keys(t.props || {});
2983
2983
  return a.length && a.forEach((s) => {
2984
2984
  var i;
@@ -2991,7 +2991,7 @@ const xn = (t, e, r) => {
2991
2991
  };
2992
2992
  class Xt {
2993
2993
  constructor(e, { parent: r, materials: n }) {
2994
- w(this, "rawData"), w(this, "data"), w(this, "nodeType", Ft.ROOT_CONTAINER), w(this, "emitter", ne), w(this, "materialsModel"), w(this, "listenerHandle"), w(this, "onChangeCbQueue"), w(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = xn(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2994
+ C(this, "rawData"), C(this, "data"), C(this, "nodeType", Ft.ROOT_CONTAINER), C(this, "emitter", ne), C(this, "materialsModel"), C(this, "listenerHandle"), C(this, "onChangeCbQueue"), C(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = xn(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2995
2995
  }
2996
2996
  registerListener() {
2997
2997
  const e = (r) => {
@@ -3088,7 +3088,7 @@ class Xt {
3088
3088
  });
3089
3089
  }
3090
3090
  }
3091
- const ut = (t) => (t == null ? void 0 : t.type) === V.EXPRESSION, oa = (t) => (t == null ? void 0 : t.type) === V.FUNCTION, vh = (t) => (t == null ? void 0 : t.type) === V.ACTION, tt = () => Math.random().toString(32).slice(3, 9), yh = (t) => (t == null ? void 0 : t.nodeType) === "NODE", Xe = (t) => (t == null ? void 0 : t.nodeType) === "PROP", bh = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", Rr = (t) => Bp(t, (e) => U(e) ? !Object.keys(e).length : L(e) ? !e.length : !e);
3091
+ const ut = (t) => (t == null ? void 0 : t.type) === F.EXPRESSION, oa = (t) => (t == null ? void 0 : t.type) === F.FUNCTION, vh = (t) => (t == null ? void 0 : t.type) === F.ACTION, tt = () => Math.random().toString(32).slice(3, 9), yh = (t) => (t == null ? void 0 : t.nodeType) === "NODE", Xe = (t) => (t == null ? void 0 : t.nodeType) === "PROP", bh = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", Rr = (t) => Bp(t, (e) => V(e) ? !Object.keys(e).length : L(e) ? !e.length : !e);
3092
3092
  function _h(t, e) {
3093
3093
  const r = [t];
3094
3094
  for (; r.length; ) {
@@ -3104,7 +3104,7 @@ function _h(t, e) {
3104
3104
  a(i.value);
3105
3105
  return;
3106
3106
  }
3107
- if (U(i)) {
3107
+ if (V(i)) {
3108
3108
  const c = i;
3109
3109
  Object.keys(c).forEach((u) => {
3110
3110
  a(c[u]);
@@ -3146,7 +3146,7 @@ const Sh = (t) => {
3146
3146
  };
3147
3147
  class Oh {
3148
3148
  constructor(e) {
3149
- w(this, "rawData"), w(this, "data"), this.rawData = e, this.data = Sh(e);
3149
+ C(this, "rawData"), C(this, "data"), this.rawData = e, this.data = Sh(e);
3150
3150
  }
3151
3151
  get value() {
3152
3152
  return this.data;
@@ -3168,7 +3168,7 @@ const Te = (t) => {
3168
3168
  if (!L(t))
3169
3169
  throw new Error("Materials must be a array");
3170
3170
  return t.map((e) => new Oh(e));
3171
- }, Ch = (t) => {
3171
+ }, jh = (t) => {
3172
3172
  t == null || t.forEach((e) => {
3173
3173
  xr({
3174
3174
  data: e,
@@ -3179,7 +3179,7 @@ const Te = (t) => {
3179
3179
  };
3180
3180
  class $t {
3181
3181
  constructor(e) {
3182
- w(this, "rawData"), w(this, "data"), w(this, "usedMaterials", []), this.rawData = e, Ch(e), this.data = Te(e);
3182
+ C(this, "rawData"), C(this, "data"), C(this, "usedMaterials", []), this.rawData = e, jh(e), this.data = Te(e);
3183
3183
  }
3184
3184
  addMaterials(e) {
3185
3185
  const r = Te(e), n = [], o = this.data.map((s) => {
@@ -3249,35 +3249,28 @@ class $t {
3249
3249
  return this.rawData;
3250
3250
  }
3251
3251
  }
3252
- const jh = R({
3253
- version: y(O()),
3254
- name: y(O()),
3255
- css: y(O()),
3256
- renderType: y(k([F(
3257
- "COMPONENT"
3258
- /* COMPONENT */
3259
- ), F(
3260
- "PAGE"
3261
- /* PAGE */
3262
- )])),
3263
- loadType: y(T()),
3264
- lifecycle: y(T()),
3265
- props: y(T()),
3266
- methods: y(P(dh)),
3252
+ const wh = R({
3253
+ version: b(O()),
3254
+ name: b(O()),
3255
+ css: b(O()),
3256
+ lifecycle: b(T()),
3257
+ props: b(T()),
3258
+ methods: b(P(dh)),
3267
3259
  componentsMeta: P(
3268
- wr(
3260
+ Cr(
3269
3261
  R({
3270
3262
  componentName: O()
3271
3263
  }),
3272
3264
  Er
3273
3265
  )
3274
3266
  ),
3275
- thirdLibs: y(rh),
3267
+ thirdLibs: b(rh),
3276
3268
  componentsTree: ph,
3277
- assets: y(P(T()))
3269
+ assets: b(P(T())),
3270
+ extra: b(T())
3278
3271
  }), aa = (t) => (xr({
3279
3272
  data: t,
3280
- dataStruct: jh,
3273
+ dataStruct: wh,
3281
3274
  throwError: !1
3282
3275
  }), t), Ae = (t, e, r) => ({
3283
3276
  ...t,
@@ -3288,7 +3281,7 @@ const jh = R({
3288
3281
  });
3289
3282
  class fe {
3290
3283
  constructor(e, r) {
3291
- w(this, "nodeType", "PAGE"), w(this, "rawData"), w(this, "emitter", ne), w(this, "data"), w(this, "parent"), w(this, "materialsModel"), w(this, "assetPackagesList"), aa(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new $t((r == null ? void 0 : r.materials) || []), this.data = Ae(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
3284
+ C(this, "nodeType", "PAGE"), C(this, "rawData"), C(this, "emitter", ne), C(this, "data"), C(this, "parent"), C(this, "materialsModel"), C(this, "assetPackagesList"), aa(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new $t((r == null ? void 0 : r.materials) || []), this.data = Ae(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
3292
3285
  }
3293
3286
  updatePage(e) {
3294
3287
  const r = this.data;
@@ -3336,7 +3329,7 @@ class fe {
3336
3329
  return r.value.children.unshift(e), e.parent = r, r.updateValue(), !0;
3337
3330
  if (n === "CHILD_END")
3338
3331
  return r.value.children.push(e), e.parent = r, r.updateValue(), !0;
3339
- if (U(n)) {
3332
+ if (V(n)) {
3340
3333
  const a = n;
3341
3334
  if (a.type === "CHILD") {
3342
3335
  const s = a.pos, i = a.index || 0;
@@ -3428,20 +3421,20 @@ class fe {
3428
3421
  }
3429
3422
  }
3430
3423
  Ft.ROOT_CONTAINER;
3431
- const Ce = "DYNAMIC", wh = ["$$context", "$$nodeModel"], sa = "ON_DID_RENDER", ia = "ON_WILL_DESTROY", Eh = [sa, ia], Ze = (t, e) => {
3424
+ const je = "DYNAMIC", Ch = ["$$context", "$$nodeModel"], sa = "ON_DID_RENDER", ia = "ON_WILL_DESTROY", Eh = [sa, ia], Ze = (t, e) => {
3432
3425
  let r = t;
3433
3426
  return e && (r = {
3434
3427
  ...t
3435
3428
  }, r.__proto__ = e || null), r;
3436
- }, Zt = (t, e = {}, ...r) => typeof t == "string" || typeof t == "number" ? String(t) : (wh.forEach((o) => {
3437
- o in e && t.__CP_TYPE__ !== Ce && delete e[o];
3429
+ }, Zt = (t, e = {}, ...r) => typeof t == "string" || typeof t == "number" ? String(t) : (Ch.forEach((o) => {
3430
+ o in e && t.__CP_TYPE__ !== je && delete e[o];
3438
3431
  }), x.createElement(t, e, ...r)), Rn = (t = {}, e) => {
3439
3432
  const r = [], n = (o, a) => {
3440
3433
  let s = a;
3441
3434
  Xe(a) && (s = a.value), e(s) ? r.push({
3442
3435
  keyPath: o,
3443
3436
  val: s
3444
- }) : Ct(s) ? s.forEach((i, c) => {
3437
+ }) : jt(s) ? s.forEach((i, c) => {
3445
3438
  n([...o, String(c)], i);
3446
3439
  }) : At(s) && Object.keys(s).forEach((i) => {
3447
3440
  n([...o, i], s[i]);
@@ -3471,11 +3464,11 @@ const Ce = "DYNAMIC", wh = ["$$context", "$$nodeModel"], sa = "ON_DID_RENDER", i
3471
3464
  p != null && p.then ? s[l.id] = await p : s[l.id] = p;
3472
3465
  }
3473
3466
  if (l.type === "REQUEST_API") {
3474
- const { run: d, afterFailedResponse: p, afterSuccessResponse: b } = $h(l, e);
3467
+ const { run: d, afterFailedResponse: p, afterSuccessResponse: y } = $h(l, e);
3475
3468
  try {
3476
3469
  const S = d(...a);
3477
3470
  S != null && S.then ? s[l.id] = await S : s[l.id] = S, l.responseVarName && (e.actionVariableSpace[l.responseVarName] = s[l.id]);
3478
- const h = b(s[l.id], ...a);
3471
+ const h = y(s[l.id], ...a);
3479
3472
  return h != null && h.then ? await h : h;
3480
3473
  } catch (S) {
3481
3474
  const h = await p(S);
@@ -3490,8 +3483,8 @@ const Ce = "DYNAMIC", wh = ["$$context", "$$nodeModel"], sa = "ON_DID_RENDER", i
3490
3483
  const d = Rh(l, e);
3491
3484
  let p = [...a];
3492
3485
  e.$$response !== void 0 && (p = [e.$$response, p]);
3493
- const b = d(...p);
3494
- s[l.id] = await b;
3486
+ const y = d(...p);
3487
+ s[l.id] = await y;
3495
3488
  }
3496
3489
  };
3497
3490
  let c = r[0];
@@ -3527,16 +3520,16 @@ const lt = (t, e) => function(...r) {
3527
3520
  let s = "";
3528
3521
  t.apiPath && (s = lt(t.apiPath, e)(...a));
3529
3522
  const i = t.body || {};
3530
- Object.keys(i).forEach((b) => {
3531
- i[b] = lt(i[b], e)(...a);
3523
+ Object.keys(i).forEach((y) => {
3524
+ i[y] = lt(i[y], e)(...a);
3532
3525
  });
3533
3526
  const c = t.query || {};
3534
- Object.keys(c).forEach((b) => {
3535
- c[b] = lt(c[b], e)(...a);
3527
+ Object.keys(c).forEach((y) => {
3528
+ c[y] = lt(c[y], e)(...a);
3536
3529
  });
3537
3530
  const u = t.header || {};
3538
- Object.keys(u).forEach((b) => {
3539
- u[b] = lt(u[b], e)(...a);
3531
+ Object.keys(u).forEach((y) => {
3532
+ u[y] = lt(u[y], e)(...a);
3540
3533
  });
3541
3534
  const f = t.method || "GET";
3542
3535
  return (p = (d = e.context).requestAPI) == null ? void 0 : p.call(d, {
@@ -3620,12 +3613,12 @@ const lt = (t, e) => function(...r) {
3620
3613
  return console.warn("slot value is null, this maybe cause some error, pls check it", t), () => {
3621
3614
  };
3622
3615
  const l = (d) => {
3623
- const p = `${d.id}-${Ce}`, b = n(d), S = Ar(b, d, {
3616
+ const p = `${d.id}-${je}`, y = n(d), S = Ar(y, d, {
3624
3617
  ...e
3625
3618
  }), h = u.params || [];
3626
3619
  return {
3627
3620
  component: (...g) => {
3628
- const _ = po(g, h), C = Ze(
3621
+ const _ = po(g, h), j = Ze(
3629
3622
  {
3630
3623
  params: _,
3631
3624
  nodeRefs: r.nodeRefs
@@ -3633,7 +3626,7 @@ const lt = (t, e) => function(...r) {
3633
3626
  r
3634
3627
  );
3635
3628
  return Zt(S, {
3636
- $$context: C,
3629
+ $$context: j,
3637
3630
  key: p
3638
3631
  });
3639
3632
  },
@@ -3642,15 +3635,15 @@ const lt = (t, e) => function(...r) {
3642
3635
  };
3643
3636
  if (Array.isArray(f)) {
3644
3637
  const d = f == null ? void 0 : f.map((p) => l(p));
3645
- return (...p) => d.map((b) => {
3646
- if (Ec(b.component)) {
3647
- const h = b.component;
3638
+ return (...p) => d.map((y) => {
3639
+ if (Ec(y.component)) {
3640
+ const h = y.component;
3648
3641
  return x.createElement(h, {
3649
3642
  $$context: r,
3650
- key: b.key
3643
+ key: y.key
3651
3644
  });
3652
3645
  } else {
3653
- const h = b.component;
3646
+ const h = y.component;
3654
3647
  return h == null ? void 0 : h(...p);
3655
3648
  }
3656
3649
  });
@@ -3706,7 +3699,7 @@ const lt = (t, e) => function(...r) {
3706
3699
  component: d
3707
3700
  });
3708
3701
  }
3709
- const p = `${l}-${Ce}`;
3702
+ const p = `${l}-${je}`;
3710
3703
  return Zt(d, {
3711
3704
  $$context: n,
3712
3705
  $$nodeModel: t,
@@ -3730,30 +3723,30 @@ const lt = (t, e) => function(...r) {
3730
3723
  class p extends x.Component {
3731
3724
  constructor(h) {
3732
3725
  super(h);
3733
- j(this, "_CONDITION", !0);
3734
- j(this, "_DESIGN_BOX", !1);
3735
- j(this, "_NODE_MODEL", e);
3736
- j(this, "_NODE_ID", e.id);
3737
- j(this, "UNIQUE_ID", `${e.id}_${tt()}`);
3738
- j(this, "targetComponentRef");
3739
- j(this, "listenerHandle", []);
3740
- j(this, "storeState");
3741
- j(this, "storeListenDisposeList", []);
3726
+ w(this, "_CONDITION", !0);
3727
+ w(this, "_DESIGN_BOX", !1);
3728
+ w(this, "_NODE_MODEL", e);
3729
+ w(this, "_NODE_ID", e.id);
3730
+ w(this, "UNIQUE_ID", `${e.id}_${tt()}`);
3731
+ w(this, "targetComponentRef");
3732
+ w(this, "listenerHandle", []);
3733
+ w(this, "storeState");
3734
+ w(this, "storeListenDisposeList", []);
3742
3735
  /** save dom and media css */
3743
- j(this, "domHeader");
3744
- j(this, "mediaStyleDomMap", {});
3736
+ w(this, "domHeader");
3737
+ w(this, "mediaStyleDomMap", {});
3745
3738
  /** 存储当前节点的一些变量和方法,不具有响应性 */
3746
- j(this, "variableSpace");
3747
- j(this, "nodeName");
3748
- j(this, "updateState", (h) => {
3739
+ w(this, "variableSpace");
3740
+ w(this, "nodeName");
3741
+ w(this, "updateState", (h) => {
3749
3742
  this.storeState.setState(h);
3750
3743
  });
3751
- j(this, "getStyleDomById", (h) => {
3744
+ w(this, "getStyleDomById", (h) => {
3752
3745
  const m = this.mediaStyleDomMap;
3753
3746
  let v = m[h];
3754
3747
  return v || (v = l.createElement("style"), m[h] = v), v.id = h, v;
3755
3748
  });
3756
- j(this, "addMediaCSS", () => {
3749
+ w(this, "addMediaCSS", () => {
3757
3750
  var v;
3758
3751
  let h = this.domHeader;
3759
3752
  if (h || (h = (v = l.getElementsByTagName("head")) == null ? void 0 : v[0], this.domHeader = h), !this.domHeader) {
@@ -3764,25 +3757,25 @@ const lt = (t, e) => function(...r) {
3764
3757
  m && m.value.forEach((g) => {
3765
3758
  var N;
3766
3759
  const _ = `${this.UNIQUE_ID}_${g.state}`;
3767
- let C = Wr(this._NODE_MODEL);
3768
- if (g.state !== "normal" && (C = `${C}:${g.state}`), g.text) {
3760
+ let j = Wr(this._NODE_MODEL);
3761
+ if (g.state !== "normal" && (j = `${j}:${g.state}`), g.text) {
3769
3762
  const $ = this.getStyleDomById(_);
3770
- $.innerText = `.${C} { ${g.text} }`, h == null || h.appendChild($);
3763
+ $.innerText = `.${j} { ${g.text} }`, h == null || h.appendChild($);
3771
3764
  }
3772
3765
  (N = g.media) != null && N.length && g.media.forEach(($) => {
3773
3766
  const E = `${_}_${$.type}_${$.value}`, Y = this.getStyleDomById(E);
3774
- Y.media = `screen and (${$.type}:${$.value}px)`, Y.innerHTML = `.${C} { ${$.text} }`, h == null || h.appendChild(Y);
3767
+ Y.media = `screen and (${$.type}:${$.value}px)`, Y.innerHTML = `.${j} { ${$.text} }`, h == null || h.appendChild(Y);
3775
3768
  });
3776
3769
  });
3777
3770
  });
3778
- j(this, "removeMediaCSS", () => {
3771
+ w(this, "removeMediaCSS", () => {
3779
3772
  const h = this.mediaStyleDomMap;
3780
3773
  Object.keys(h).forEach((m) => {
3781
3774
  var v;
3782
3775
  (v = this.domHeader) == null || v.removeChild(h[m]);
3783
3776
  }), this.mediaStyleDomMap = {};
3784
3777
  });
3785
- j(this, "rebuildNode", () => {
3778
+ w(this, "rebuildNode", () => {
3786
3779
  this.storeListenDisposeList.forEach((h) => h()), this.removeMediaCSS(), this.connectStore(), this.addMediaCSS(), this.forceUpdate();
3787
3780
  });
3788
3781
  this.targetComponentRef = x.createRef(), this.state = e.value.state || {};
@@ -3805,16 +3798,16 @@ const lt = (t, e) => function(...r) {
3805
3798
  }, o.add(m, this.variableSpace));
3806
3799
  }
3807
3800
  connectStore() {
3808
- const h = Rn(e.props, (C) => !!ut(C)), m = Rn(
3801
+ const h = Rn(e.props, (j) => !!ut(j)), m = Rn(
3809
3802
  {
3810
3803
  css: e.value.css,
3811
3804
  class: e.value.classNames
3812
3805
  },
3813
- (C) => !!ut(C)
3806
+ (j) => !!ut(j)
3814
3807
  );
3815
3808
  let v = [];
3816
- [...h, ...m].map((C) => {
3817
- const N = C.val, $ = [
3809
+ [...h, ...m].map((j) => {
3810
+ const N = j.val, $ = [
3818
3811
  /\$\$context.stateManager\.(.+?)\./gim,
3819
3812
  /\$\$context.stateManager\["(.+?)"\]/gim,
3820
3813
  /\$\$context.stateManager\['(.+?)'\]/gim,
@@ -3826,9 +3819,9 @@ const lt = (t, e) => function(...r) {
3826
3819
  v = [...v, ...E];
3827
3820
  }).filter(Boolean);
3828
3821
  const g = Array.from(new Set(v)), _ = [];
3829
- g.length && g.forEach((C) => {
3830
- n.getStore(C) || (n.addStore(C, () => ({})), console.warn(n, C, "not exits"));
3831
- const $ = n.connect(C, (E) => {
3822
+ g.length && g.forEach((j) => {
3823
+ n.getStore(j) || (n.addStore(j, () => ({})), console.warn(n, j, "not exits"));
3824
+ const $ = n.connect(j, (E) => {
3832
3825
  this.setState({
3833
3826
  ...E
3834
3827
  });
@@ -3873,8 +3866,8 @@ const lt = (t, e) => function(...r) {
3873
3866
  $$context: m,
3874
3867
  ...d
3875
3868
  }
3876
- ), g = e.value.methods || [], _ = v.methods, C = g.reduce((N, $, E) => (N[$.name] = _[E], N), {});
3877
- m.methods = C, this.variableSpace.methods = Object.assign(this.variableSpace.methods, C);
3869
+ ), g = e.value.methods || [], _ = v.methods, j = g.reduce((N, $, E) => (N[$.name] = _[E], N), {});
3870
+ m.methods = j, this.variableSpace.methods = Object.assign(this.variableSpace.methods, j);
3878
3871
  }
3879
3872
  /** 处理根节点的 context */
3880
3873
  processRootContext(h) {
@@ -3882,10 +3875,10 @@ const lt = (t, e) => function(...r) {
3882
3875
  }
3883
3876
  processNodeClassName(h, m) {
3884
3877
  var _;
3885
- const v = ((_ = e.value.classNames) == null ? void 0 : _.map((C) => {
3878
+ const v = ((_ = e.value.classNames) == null ? void 0 : _.map((j) => {
3886
3879
  var E;
3887
- const N = C.name;
3888
- return (ut(C.status) ? bt(((E = C.status) == null ? void 0 : E.value) || "", m) : !1) ? N : "";
3880
+ const N = j.name;
3881
+ return (ut(j.status) ? bt(((E = j.status) == null ? void 0 : E.value) || "", m) : !1) ? N : "";
3889
3882
  })) || [];
3890
3883
  let g = `${h ?? ""} ${v.join(" ")}`.trim();
3891
3884
  return e.value.css && (g = `${Wr(e)} ${g}`.trim()), g;
@@ -3908,8 +3901,8 @@ const lt = (t, e) => function(...r) {
3908
3901
  v = Array.isArray(h) ? h : [h];
3909
3902
  else {
3910
3903
  const g = [];
3911
- e.value.children.forEach((C, N) => {
3912
- const $ = Th(C, {
3904
+ e.value.children.forEach((j, N) => {
3905
+ const $ = Th(j, {
3913
3906
  $$context: m,
3914
3907
  idx: N,
3915
3908
  ...d
@@ -3927,15 +3920,15 @@ const lt = (t, e) => function(...r) {
3927
3920
  props: h
3928
3921
  };
3929
3922
  u && (_ = u(_, e));
3930
- const C = Zt(t, _.props, ...m);
3931
- return this._CONDITION = _.condition, _.condition ? C : x.createElement(
3923
+ const j = Zt(t, _.props, ...m);
3924
+ return this._CONDITION = _.condition, _.condition ? j : x.createElement(
3932
3925
  "div",
3933
3926
  {
3934
3927
  style: {
3935
3928
  display: "none"
3936
3929
  }
3937
3930
  },
3938
- C
3931
+ j
3939
3932
  );
3940
3933
  }
3941
3934
  processNodeEventListener(h) {
@@ -3959,18 +3952,18 @@ const lt = (t, e) => function(...r) {
3959
3952
  storeManager: n,
3960
3953
  getState: () => n.getStateObj(m),
3961
3954
  getStateObj: () => n.getStateObj(m),
3962
- getStateObjById: (C) => n.getStateObj(C),
3955
+ getStateObjById: (j) => n.getStateObj(j),
3963
3956
  stateManager: n.getStateSnapshot(),
3964
3957
  getMethods: () => {
3965
- const C = o.get(v).methods, N = c.get(v).current;
3966
- return Qr(C, N);
3958
+ const j = o.get(v).methods, N = c.get(v).current;
3959
+ return Qr(j, N);
3967
3960
  },
3968
- getMethodsById: (C) => {
3969
- const N = o.get(C).methods, $ = c.get(C).current;
3961
+ getMethodsById: (j) => {
3962
+ const N = o.get(j).methods, $ = c.get(j).current;
3970
3963
  return Qr(N, $);
3971
3964
  },
3972
3965
  getStaticVar: () => o.get(m).staticVar,
3973
- getStaticVarById: (C) => o.get(C).staticVar,
3966
+ getStaticVarById: (j) => o.get(j).staticVar,
3974
3967
  nodeRefs: h.nodeRefs
3975
3968
  };
3976
3969
  return this.processRootContext(g), Ze(g, h);
@@ -3996,8 +3989,8 @@ const lt = (t, e) => function(...r) {
3996
3989
  $$context: g,
3997
3990
  ...d
3998
3991
  });
3999
- const C = this.injectEngEnv();
4000
- Object.assign(_, C);
3992
+ const j = this.injectEngEnv();
3993
+ Object.assign(_, j);
4001
3994
  const N = this.processNodeClassName(_.className, g);
4002
3995
  _.className = N;
4003
3996
  const $ = this.processNodeStyle(g);
@@ -4022,7 +4015,7 @@ const lt = (t, e) => function(...r) {
4022
4015
  }, g = this.createCurrentNodeCtx();
4023
4016
  this.transformMethods({ context: g });
4024
4017
  const _ = e.value.loop;
4025
- let C = [];
4018
+ let j = [];
4026
4019
  if (_ && _.open) {
4027
4020
  this.targetComponentRef.current = [];
4028
4021
  let N = _.data || [];
@@ -4030,7 +4023,7 @@ const lt = (t, e) => function(...r) {
4030
4023
  const $ = _.data;
4031
4024
  N = bt($.value, g || {});
4032
4025
  }
4033
- return C = N.map((...$) => {
4026
+ return j = N.map((...$) => {
4034
4027
  const E = $[1], Y = [_.forName || "item", _.forIndex || "index"], it = po($, Y);
4035
4028
  let ct = "loopData";
4036
4029
  _.name && (ct = `${ct}${_.name}`);
@@ -4053,13 +4046,13 @@ const lt = (t, e) => function(...r) {
4053
4046
  delete H.children;
4054
4047
  const ha = this.processNodeChild(pa, yt);
4055
4048
  if (H.key = `${H.key}-${E}`, ut(_.key)) {
4056
- const je = _.key, ma = bt(je.value, yt || {});
4049
+ const we = _.key, ma = bt(we.value, yt || {});
4057
4050
  H.key += `-${ma}`;
4058
4051
  }
4059
- return H.ref = (je) => {
4060
- this.targetComponentRef.current = this.targetComponentRef.current || [], this.targetComponentRef.current[E] = je;
4052
+ return H.ref = (we) => {
4053
+ this.targetComponentRef.current = this.targetComponentRef.current || [], this.targetComponentRef.current[E] = we;
4061
4054
  }, this.processNodeConditionAndConfigHook(H, ha, yt);
4062
- }), C;
4055
+ }), j;
4063
4056
  }
4064
4057
  }
4065
4058
  render() {
@@ -4067,27 +4060,27 @@ const lt = (t, e) => function(...r) {
4067
4060
  return h && h.open ? this.renderLoop() : this.renderCore();
4068
4061
  }
4069
4062
  }
4070
- return j(p, "__CP_TYPE__", Ce), p.displayName = `${e.value.componentName}Dynamic`, p;
4063
+ return w(p, "__CP_TYPE__", je), p.displayName = `${e.value.componentName}Dynamic`, p;
4071
4064
  };
4072
4065
  class Ah {
4073
4066
  constructor() {
4074
- j(this, "renderMode", "normal");
4075
- j(this, "components", {});
4076
- j(this, "storeManager", new Ic());
4067
+ w(this, "renderMode", "normal");
4068
+ w(this, "components", {});
4069
+ w(this, "storeManager", new Ic());
4077
4070
  // 存储节点的变量或者方法
4078
- j(this, "variableManager", new Pc());
4079
- j(this, "runtimeComponentCache", /* @__PURE__ */ new Map());
4080
- j(this, "onGetRef");
4081
- j(this, "onGetComponent");
4082
- j(this, "onComponentMount");
4083
- j(this, "refManager", new mo());
4084
- j(this, "onComponentDestroy");
4071
+ w(this, "variableManager", new Pc());
4072
+ w(this, "runtimeComponentCache", /* @__PURE__ */ new Map());
4073
+ w(this, "onGetRef");
4074
+ w(this, "onGetComponent");
4075
+ w(this, "onComponentMount");
4076
+ w(this, "refManager", new mo());
4077
+ w(this, "onComponentDestroy");
4085
4078
  /**
4086
4079
  * 处理 props 钩子, 可以统一拦截 node 的处理,并修改其值
4087
4080
  */
4088
- j(this, "processNodeConfigHook");
4081
+ w(this, "processNodeConfigHook");
4089
4082
  /** 请求 API */
4090
- j(this, "requestAPI", async (e) => {
4083
+ w(this, "requestAPI", async (e) => {
4091
4084
  throw console.log(e), new Error("Need to implement requestAPI for Render");
4092
4085
  });
4093
4086
  }
@@ -4118,7 +4111,7 @@ class Ah {
4118
4111
  doc: d
4119
4112
  }) {
4120
4113
  this.renderMode = u, this.components = r, this.onGetRef = n, this.onGetComponent = s, this.onComponentMount = i, this.onComponentDestroy = c, this.processNodeConfigHook = f, this.refManager = o, this.requestAPI = l;
4121
- const p = e.value.componentsTree, b = this.getComponent(p), S = Ar(b, e.value.componentsTree, {
4114
+ const p = e.value.componentsTree, y = this.getComponent(p), S = Ar(y, e.value.componentsTree, {
4122
4115
  storeManager: this.storeManager,
4123
4116
  variableManager: this.variableManager,
4124
4117
  runtimeComponentCache: this.runtimeComponentCache,
@@ -4435,14 +4428,14 @@ const Lh = [
4435
4428
  class Qh extends x.Component {
4436
4429
  constructor(r) {
4437
4430
  super(r);
4438
- j(this, "refManager");
4431
+ w(this, "refManager");
4439
4432
  // save component instance
4440
- j(this, "dynamicComponentInstanceMap", /* @__PURE__ */ new Map());
4441
- j(this, "onGetRef", (r, n, o) => {
4433
+ w(this, "dynamicComponentInstanceMap", /* @__PURE__ */ new Map());
4434
+ w(this, "onGetRef", (r, n, o) => {
4442
4435
  var a, s;
4443
4436
  (s = (a = this.props).onGetRef) == null || s.call(a, r, n, o), this.dynamicComponentInstanceMap.set(n.id, o), this.refManager.add(n.value.refId || n.id, r);
4444
4437
  });
4445
- j(this, "rerender", (r) => {
4438
+ w(this, "rerender", (r) => {
4446
4439
  if (this.props.adapter.clear(), (r == null ? void 0 : r.nodeType) === "PAGE" && r)
4447
4440
  this.setState({
4448
4441
  pageModel: r
@@ -4509,7 +4502,7 @@ const ym = () => {
4509
4502
  class Yh extends x.Component {
4510
4503
  constructor(r) {
4511
4504
  super(r);
4512
- j(this, "onDoubleClick", () => {
4505
+ w(this, "onDoubleClick", () => {
4513
4506
  this.setState({
4514
4507
  hasError: !1,
4515
4508
  error: null
@@ -4742,7 +4735,7 @@ function rm(t) {
4742
4735
  }
4743
4736
  class nm {
4744
4737
  constructor() {
4745
- j(this, "instanceMap", /* @__PURE__ */ new Map());
4738
+ w(this, "instanceMap", /* @__PURE__ */ new Map());
4746
4739
  }
4747
4740
  get(e) {
4748
4741
  return this.instanceMap.get(e);
@@ -4801,11 +4794,11 @@ const om = (t) => {
4801
4794
  class bm extends x.Component {
4802
4795
  constructor(r) {
4803
4796
  super(r);
4804
- j(this, "instanceManager", new nm());
4805
- j(this, "renderRef");
4806
- j(this, "dropPlaceholder", om);
4807
- j(this, "_components", {});
4808
- j(this, "onGetComponent", (r, n) => {
4797
+ w(this, "instanceManager", new nm());
4798
+ w(this, "renderRef");
4799
+ w(this, "dropPlaceholder", om);
4800
+ w(this, "_components", {});
4801
+ w(this, "onGetComponent", (r, n) => {
4809
4802
  var c, u;
4810
4803
  const o = this;
4811
4804
  let a = r;
@@ -4817,13 +4810,13 @@ class bm extends x.Component {
4817
4810
  class i extends x.Component {
4818
4811
  constructor() {
4819
4812
  super(...arguments);
4820
- j(this, "_DESIGN_BOX", !0);
4821
- j(this, "_NODE_MODEL", n);
4822
- j(this, "_NODE_ID", n.id);
4823
- j(this, "_UNIQUE_ID", `${n.id}_${tt()}`);
4824
- j(this, "_STATUS");
4825
- j(this, "_design_target_component");
4826
- j(this, "_dom");
4813
+ w(this, "_DESIGN_BOX", !0);
4814
+ w(this, "_NODE_MODEL", n);
4815
+ w(this, "_NODE_ID", n.id);
4816
+ w(this, "_UNIQUE_ID", `${n.id}_${tt()}`);
4817
+ w(this, "_STATUS");
4818
+ w(this, "_design_target_component");
4819
+ w(this, "_dom");
4827
4820
  }
4828
4821
  componentDidMount() {
4829
4822
  o.instanceManager.add(n.id, this);
@@ -4835,14 +4828,14 @@ class bm extends x.Component {
4835
4828
  this._STATUS = "DESTROY", o.instanceManager.remove(n.id, this);
4836
4829
  }
4837
4830
  getDom() {
4838
- var p, b;
4839
- return ((b = (p = n.material) == null ? void 0 : p.value.advanceCustom) == null ? void 0 : b.autoGetDom) ?? !0 ? rm(this) : this._dom;
4831
+ var p, y;
4832
+ return ((y = (p = n.material) == null ? void 0 : p.value.advanceCustom) == null ? void 0 : y.autoGetDom) ?? !0 ? rm(this) : this._dom;
4840
4833
  }
4841
4834
  render() {
4842
- var v, g, _, C;
4843
- const { children: d = [], onlyRenderChild: p, ...b } = this.props;
4835
+ var v, g, _, j;
4836
+ const { children: d = [], onlyRenderChild: p, ...y } = this.props;
4844
4837
  let S = d;
4845
- if (Ct(d) || (S = [d]), !!!S.filter(Boolean).length && (n.isContainer() || n.value.componentName === Ft.ROOT_CONTAINER)) {
4838
+ if (jt(d) || (S = [d]), !!!S.filter(Boolean).length && (n.isContainer() || n.value.componentName === Ft.ROOT_CONTAINER)) {
4846
4839
  const N = (g = (v = n.material) == null ? void 0 : v.value.advanceCustom) == null ? void 0 : g.dropPlaceholder;
4847
4840
  S.push(
4848
4841
  x.createElement(N || o.dropPlaceholder, {
@@ -4850,10 +4843,10 @@ class bm extends x.Component {
4850
4843
  })
4851
4844
  );
4852
4845
  }
4853
- return p ? S : ((C = (_ = n.material) == null ? void 0 : _.value.advanceCustom) == null ? void 0 : C.autoGetDom) ?? !0 ? x.createElement(a, b, ...S) : x.createElement(
4846
+ return p ? S : ((j = (_ = n.material) == null ? void 0 : _.value.advanceCustom) == null ? void 0 : j.autoGetDom) ?? !0 ? x.createElement(a, y, ...S) : x.createElement(
4854
4847
  a,
4855
4848
  {
4856
- ...b,
4849
+ ...y,
4857
4850
  // 注入到组件中, 配合设计器使用
4858
4851
  $SET_DOM: ($) => {
4859
4852
  this._dom = $;
@@ -4939,12 +4932,12 @@ class bm extends x.Component {
4939
4932
  * @returns
4940
4933
  */
4941
4934
  processNodeConfigHook: (s, i) => {
4942
- var b, S;
4935
+ var y, S;
4943
4936
  if (i.nodeType !== "NODE")
4944
4937
  return s;
4945
4938
  const { props: c, condition: u } = s;
4946
4939
  let f = { ...c };
4947
- const l = ((b = i.value.configure) == null ? void 0 : b.devState) || {}, d = (S = i.material) == null ? void 0 : S.value.fixedProps;
4940
+ const l = ((y = i.value.configure) == null ? void 0 : y.devState) || {}, d = (S = i.material) == null ? void 0 : S.value.fixedProps;
4948
4941
  if (d !== void 0) {
4949
4942
  if (At(d))
4950
4943
  f = {
@@ -4961,7 +4954,7 @@ class bm extends x.Component {
4961
4954
  }
4962
4955
  let p = u;
4963
4956
  return l.condition === !1 && (p = l.condition), {
4964
- props: wc(f, l.props || {}),
4957
+ props: Cc(f, l.props || {}),
4965
4958
  condition: p
4966
4959
  };
4967
4960
  },
@@ -5013,9 +5006,9 @@ function sm() {
5013
5006
  }, n = {}, o = {}, a = {};
5014
5007
  function s(d, p) {
5015
5008
  d = d.push ? d : [d];
5016
- var b = [], S = d.length, h = S, m, v, g, _;
5017
- for (m = function(C, N) {
5018
- N.length && b.push(C), h--, h || p(b);
5009
+ var y = [], S = d.length, h = S, m, v, g, _;
5010
+ for (m = function(j, N) {
5011
+ N.length && y.push(j), h--, h || p(y);
5019
5012
  }; S--; ) {
5020
5013
  if (v = d[S], g = o[v], g) {
5021
5014
  m(v, g);
@@ -5026,22 +5019,22 @@ function sm() {
5026
5019
  }
5027
5020
  function i(d, p) {
5028
5021
  if (d) {
5029
- var b = a[d];
5030
- if (o[d] = p, !!b)
5031
- for (; b.length; )
5032
- b[0](d, p), b.splice(0, 1);
5022
+ var y = a[d];
5023
+ if (o[d] = p, !!y)
5024
+ for (; y.length; )
5025
+ y[0](d, p), y.splice(0, 1);
5033
5026
  }
5034
5027
  }
5035
5028
  function c(d, p) {
5036
5029
  d.call && (d = { success: d }), p.length ? (d.error || r)(p) : (d.success || r)(d);
5037
5030
  }
5038
- function u(d, p, b, S) {
5039
- var h = document, m = b.async, v = (b.numRetries || 0) + 1, g = b.before || r, _ = d.replace(/[\?|#].*$/, ""), C = d.replace(/^(css|img|module|nomodule)!/, ""), N, $, E;
5031
+ function u(d, p, y, S) {
5032
+ var h = document, m = y.async, v = (y.numRetries || 0) + 1, g = y.before || r, _ = d.replace(/[\?|#].*$/, ""), j = d.replace(/^(css|img|module|nomodule)!/, ""), N, $, E;
5040
5033
  if (S = S || 0, /(^css!|\.css$)/.test(_))
5041
- E = h.createElement("link"), E.rel = "stylesheet", E.href = C, N = "hideFocus" in E, N && E.relList && (N = 0, E.rel = "preload", E.as = "style");
5034
+ E = h.createElement("link"), E.rel = "stylesheet", E.href = j, N = "hideFocus" in E, N && E.relList && (N = 0, E.rel = "preload", E.as = "style");
5042
5035
  else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(_))
5043
- E = h.createElement("img"), E.src = C;
5044
- else if (E = h.createElement("script"), E.src = C, E.async = m === void 0 ? !0 : m, $ = "noModule" in E, /^module!/.test(_)) {
5036
+ E = h.createElement("img"), E.src = j;
5037
+ else if (E = h.createElement("script"), E.src = j, E.async = m === void 0 ? !0 : m, $ = "noModule" in E, /^module!/.test(_)) {
5045
5038
  if (!$) return p(d, "l");
5046
5039
  E.type = "module";
5047
5040
  } else if (/^nomodule!/.test(_) && $) return p(d, "l");
@@ -5055,25 +5048,25 @@ function sm() {
5055
5048
  }
5056
5049
  if (it == "e") {
5057
5050
  if (S += 1, S < v)
5058
- return u(d, p, b, S);
5051
+ return u(d, p, y, S);
5059
5052
  } else if (E.rel == "preload" && E.as == "style")
5060
5053
  return E.rel = "stylesheet";
5061
5054
  p(d, it, Y.defaultPrevented);
5062
5055
  }, g(d, E) !== !1 && h.head.appendChild(E);
5063
5056
  }
5064
- function f(d, p, b) {
5057
+ function f(d, p, y) {
5065
5058
  d = d.push ? d : [d];
5066
5059
  var S = d.length, h = S, m = [], v, g;
5067
- for (v = function(_, C, N) {
5068
- if (C == "e" && m.push(_), C == "b")
5060
+ for (v = function(_, j, N) {
5061
+ if (j == "e" && m.push(_), j == "b")
5069
5062
  if (N) m.push(_);
5070
5063
  else return;
5071
5064
  S--, S || p(m);
5072
- }, g = 0; g < h; g++) u(d[g], v, b);
5065
+ }, g = 0; g < h; g++) u(d[g], v, y);
5073
5066
  }
5074
- function l(d, p, b) {
5067
+ function l(d, p, y) {
5075
5068
  var S, h;
5076
- if (p && p.trim && (S = p), h = (S ? b : p) || {}, S) {
5069
+ if (p && p.trim && (S = p), h = (S ? y : p) || {}, S) {
5077
5070
  if (S in n)
5078
5071
  throw "LoadJS";
5079
5072
  n[S] = !0;
@@ -5086,9 +5079,9 @@ function sm() {
5086
5079
  if (h.returnPromise) return new Promise(m);
5087
5080
  m();
5088
5081
  }
5089
- return l.ready = function(p, b) {
5082
+ return l.ready = function(p, y) {
5090
5083
  return s(p, function(S) {
5091
- c(b, S);
5084
+ c(y, S);
5092
5085
  }), l;
5093
5086
  }, l.done = function(p) {
5094
5087
  i(p, []);
@@ -5104,11 +5097,11 @@ var im = sm();
5104
5097
  const Dn = /* @__PURE__ */ Mh(im);
5105
5098
  class Sm {
5106
5099
  constructor(e, r) {
5107
- j(this, "assets");
5108
- j(this, "loadStatus");
5109
- j(this, "win", window);
5110
- j(this, "_onSuccessList", []);
5111
- j(this, "_onErrorList", []);
5100
+ w(this, "assets");
5101
+ w(this, "loadStatus");
5102
+ w(this, "win", window);
5103
+ w(this, "_onSuccessList", []);
5104
+ w(this, "_onErrorList", []);
5112
5105
  this.assets = JSON.parse(JSON.stringify(e || [])), this.loadStatus = "INIT", r != null && r.window && (this.win = r.window);
5113
5106
  }
5114
5107
  load(e) {
@@ -5147,12 +5140,12 @@ class Sm {
5147
5140
  export {
5148
5141
  Sm as AssetLoader,
5149
5142
  nm as ComponentInstanceManager,
5150
- Ce as DYNAMIC_COMPONENT_TYPE,
5143
+ je as DYNAMIC_COMPONENT_TYPE,
5151
5144
  om as DefaultDropPlaceholder,
5152
5145
  Ah as DefineReactAdapter,
5153
5146
  bm as DesignRender,
5154
5147
  Eh as INNER_EVENT_LIST,
5155
- wh as InnerPropList,
5148
+ Ch as InnerPropList,
5156
5149
  sa as ON_DID_RENDER,
5157
5150
  ia as ON_WILL_DESTROY,
5158
5151
  vm as ReactAdapter,