x-prop-tree 0.6.13 → 0.6.14
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 +58 -53
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { provide as Te, inject as Se, defineComponent as K, ref as R, computed as k, resolveComponent as x, createBlock as F, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as B, createElementBlock as H, Fragment as He, renderList as Ht, createTextVNode as at, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as q, normalizeStyle as le, createElementVNode as z, createCommentVNode as I, renderSlot as jn, h as _, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as Kt, withKeys as En, mergeProps as qt, watchEffect as mt, watch as
|
|
1
|
+
import { provide as Te, inject as Se, defineComponent as K, ref as R, computed as k, resolveComponent as x, createBlock as F, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as B, createElementBlock as H, Fragment as He, renderList as Ht, createTextVNode as at, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as q, normalizeStyle as le, createElementVNode as z, createCommentVNode as I, renderSlot as jn, h as _, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as Kt, withKeys as En, mergeProps as qt, watchEffect as mt, watch as Oe, reactive as Nn, onMounted as Bn, onBeforeUnmount as Rn } from "vue";
|
|
2
2
|
import { useI18n as ue } from "vue-i18n";
|
|
3
3
|
import { useViewStack as ut, useColor as we, eventBus as _e, useSystem as kn } from "x-essential-lib";
|
|
4
4
|
import { getPropDefault as N, pkgs as zt, parsePixelStr as Fn, parsePercentStr as Hn } from "x-runtime-lib";
|
|
@@ -20,13 +20,13 @@ function Wn(e) {
|
|
|
20
20
|
return Jn.call(e);
|
|
21
21
|
}
|
|
22
22
|
var Yn = "[object Null]", Qn = "[object Undefined]", gt = se ? se.toStringTag : void 0;
|
|
23
|
-
function
|
|
23
|
+
function Le(e) {
|
|
24
24
|
return e == null ? e === void 0 ? Qn : Yn : gt && gt in Object(e) ? Xn(e) : Wn(e);
|
|
25
25
|
}
|
|
26
26
|
function de(e) {
|
|
27
27
|
return e != null && typeof e == "object";
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var Ve = Array.isArray;
|
|
30
30
|
function ze(e) {
|
|
31
31
|
var t = typeof e;
|
|
32
32
|
return e != null && (t == "object" || t == "function");
|
|
@@ -35,7 +35,7 @@ var er = "[object AsyncFunction]", tr = "[object Function]", nr = "[object Gener
|
|
|
35
35
|
function Zt(e) {
|
|
36
36
|
if (!ze(e))
|
|
37
37
|
return !1;
|
|
38
|
-
var t =
|
|
38
|
+
var t = Le(e);
|
|
39
39
|
return t == tr || t == nr || t == er || t == rr;
|
|
40
40
|
}
|
|
41
41
|
var Qe = Y["__core-js_shared__"], yt = function() {
|
|
@@ -139,7 +139,7 @@ function Or(e, t) {
|
|
|
139
139
|
}
|
|
140
140
|
var xr = "[object Arguments]";
|
|
141
141
|
function bt(e) {
|
|
142
|
-
return de(e) &&
|
|
142
|
+
return de(e) && Le(e) == xr;
|
|
143
143
|
}
|
|
144
144
|
var Yt = Object.prototype, Vr = Yt.hasOwnProperty, Mr = Yt.propertyIsEnumerable, Ur = bt(/* @__PURE__ */ function() {
|
|
145
145
|
return arguments;
|
|
@@ -153,22 +153,22 @@ var Qt = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
153
153
|
M[Wr] = M[Yr] = M[Qr] = M[eo] = M[to] = M[no] = M[ro] = M[oo] = M[io] = !0;
|
|
154
154
|
M[Er] = M[Nr] = M[Zr] = M[Br] = M[Jr] = M[Rr] = M[kr] = M[Fr] = M[Hr] = M[Gr] = M[Kr] = M[qr] = M[zr] = M[Ir] = M[Xr] = !1;
|
|
155
155
|
function lo(e) {
|
|
156
|
-
return de(e) && Jt(e.length) && !!M[
|
|
156
|
+
return de(e) && Jt(e.length) && !!M[Le(e)];
|
|
157
157
|
}
|
|
158
158
|
function ft(e) {
|
|
159
159
|
return function(t) {
|
|
160
160
|
return e(t);
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
|
-
var en = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
163
|
+
var en = typeof exports == "object" && exports && !exports.nodeType && exports, xe = en && typeof module == "object" && module && !module.nodeType && module, so = xe && xe.exports === en, et = so && It.process, $e = function() {
|
|
164
164
|
try {
|
|
165
|
-
var e =
|
|
165
|
+
var e = xe && xe.require && xe.require("util").types;
|
|
166
166
|
return e || et && et.binding && et.binding("util");
|
|
167
167
|
} catch {
|
|
168
168
|
}
|
|
169
169
|
}(), St = $e && $e.isTypedArray, tn = St ? ft(St) : lo, ao = Object.prototype, uo = ao.hasOwnProperty;
|
|
170
170
|
function co(e, t) {
|
|
171
|
-
var n =
|
|
171
|
+
var n = Ve(e), r = !n && Ur(e), i = !n && !r && Ge(e), o = !n && !r && !i && tn(e), l = n || r || i || o, u = l ? Or(e.length, String) : [], a = u.length;
|
|
172
172
|
for (var s in e)
|
|
173
173
|
uo.call(e, s) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
174
174
|
(s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -194,9 +194,9 @@ function mo(e) {
|
|
|
194
194
|
function go(e) {
|
|
195
195
|
return Cr(e) ? co(e) : mo(e);
|
|
196
196
|
}
|
|
197
|
-
var
|
|
197
|
+
var Me = me(Object, "create");
|
|
198
198
|
function yo() {
|
|
199
|
-
this.__data__ =
|
|
199
|
+
this.__data__ = Me ? Me(null) : {}, this.size = 0;
|
|
200
200
|
}
|
|
201
201
|
function ho(e) {
|
|
202
202
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -205,7 +205,7 @@ function ho(e) {
|
|
|
205
205
|
var _o = "__lodash_hash_undefined__", bo = Object.prototype, $o = bo.hasOwnProperty;
|
|
206
206
|
function To(e) {
|
|
207
207
|
var t = this.__data__;
|
|
208
|
-
if (
|
|
208
|
+
if (Me) {
|
|
209
209
|
var n = t[e];
|
|
210
210
|
return n === _o ? void 0 : n;
|
|
211
211
|
}
|
|
@@ -214,12 +214,12 @@ function To(e) {
|
|
|
214
214
|
var So = Object.prototype, wo = So.hasOwnProperty;
|
|
215
215
|
function Ao(e) {
|
|
216
216
|
var t = this.__data__;
|
|
217
|
-
return
|
|
217
|
+
return Me ? t[e] !== void 0 : wo.call(t, e);
|
|
218
218
|
}
|
|
219
219
|
var Co = "__lodash_hash_undefined__";
|
|
220
220
|
function Po(e, t) {
|
|
221
221
|
var n = this.__data__;
|
|
222
|
-
return this.size += this.has(e) ? 0 : 1, n[e] =
|
|
222
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Me && t === void 0 ? Co : t, this;
|
|
223
223
|
}
|
|
224
224
|
function pe(e) {
|
|
225
225
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -273,11 +273,11 @@ ie.prototype.delete = Mo;
|
|
|
273
273
|
ie.prototype.get = Uo;
|
|
274
274
|
ie.prototype.has = Lo;
|
|
275
275
|
ie.prototype.set = Do;
|
|
276
|
-
var
|
|
276
|
+
var Ue = me(Y, "Map");
|
|
277
277
|
function jo() {
|
|
278
278
|
this.size = 0, this.__data__ = {
|
|
279
279
|
hash: new pe(),
|
|
280
|
-
map: new (
|
|
280
|
+
map: new (Ue || ie)(),
|
|
281
281
|
string: new pe()
|
|
282
282
|
};
|
|
283
283
|
}
|
|
@@ -339,7 +339,7 @@ function Xo(e, t) {
|
|
|
339
339
|
var n = this.__data__;
|
|
340
340
|
if (n instanceof ie) {
|
|
341
341
|
var r = n.__data__;
|
|
342
|
-
if (!
|
|
342
|
+
if (!Ue || r.length < Io - 1)
|
|
343
343
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
344
344
|
n = this.__data__ = new ge(r);
|
|
345
345
|
}
|
|
@@ -376,14 +376,14 @@ var Qo = Object.prototype, ei = Qo.propertyIsEnumerable, Ct = Object.getOwnPrope
|
|
|
376
376
|
} : Yo;
|
|
377
377
|
function ni(e, t, n) {
|
|
378
378
|
var r = t(e);
|
|
379
|
-
return
|
|
379
|
+
return Ve(e) ? r : Fo(r, n(e));
|
|
380
380
|
}
|
|
381
381
|
function ot(e) {
|
|
382
382
|
return ni(e, go, ti);
|
|
383
383
|
}
|
|
384
|
-
var it = me(Y, "DataView"), lt = me(Y, "Promise"), st = me(Y, "Set"), Pt = "[object Map]", ri = "[object Object]", Ot = "[object Promise]", xt = "[object Set]", Vt = "[object WeakMap]", Mt = "[object DataView]", oi = ve(it), ii = ve(
|
|
385
|
-
(it && Z(new it(new ArrayBuffer(1))) != Mt ||
|
|
386
|
-
var t =
|
|
384
|
+
var it = me(Y, "DataView"), lt = me(Y, "Promise"), st = me(Y, "Set"), Pt = "[object Map]", ri = "[object Object]", Ot = "[object Promise]", xt = "[object Set]", Vt = "[object WeakMap]", Mt = "[object DataView]", oi = ve(it), ii = ve(Ue), li = ve(lt), si = ve(st), ai = ve(rt), Z = Le;
|
|
385
|
+
(it && Z(new it(new ArrayBuffer(1))) != Mt || Ue && Z(new Ue()) != Pt || lt && Z(lt.resolve()) != Ot || st && Z(new st()) != xt || rt && Z(new rt()) != Vt) && (Z = function(e) {
|
|
386
|
+
var t = Le(e), n = t == ri ? e.constructor : void 0, r = n ? ve(n) : "";
|
|
387
387
|
if (r)
|
|
388
388
|
switch (r) {
|
|
389
389
|
case oi:
|
|
@@ -480,7 +480,7 @@ function ke(e, t, n, r, i, o) {
|
|
|
480
480
|
return l;
|
|
481
481
|
if (!ze(e))
|
|
482
482
|
return e;
|
|
483
|
-
var u =
|
|
483
|
+
var u = Ve(e);
|
|
484
484
|
if (u)
|
|
485
485
|
l = fi(e);
|
|
486
486
|
else {
|
|
@@ -650,11 +650,11 @@ function Fl(e, t, n, r, i, o) {
|
|
|
650
650
|
}
|
|
651
651
|
return o.delete(e), o.delete(t), V;
|
|
652
652
|
}
|
|
653
|
-
var Hl = 1, Nt = "[object Arguments]", Bt = "[object Array]",
|
|
653
|
+
var Hl = 1, Nt = "[object Arguments]", Bt = "[object Array]", Ne = "[object Object]", Gl = Object.prototype, Rt = Gl.hasOwnProperty;
|
|
654
654
|
function Kl(e, t, n, r, i, o) {
|
|
655
|
-
var l =
|
|
656
|
-
a = a == Nt ?
|
|
657
|
-
var p = a ==
|
|
655
|
+
var l = Ve(e), u = Ve(t), a = l ? Bt : Z(e), s = u ? Bt : Z(t);
|
|
656
|
+
a = a == Nt ? Ne : a, s = s == Nt ? Ne : s;
|
|
657
|
+
var p = a == Ne, f = s == Ne, d = a == s;
|
|
658
658
|
if (d && Ge(e)) {
|
|
659
659
|
if (!Ge(t))
|
|
660
660
|
return !1;
|
|
@@ -712,7 +712,7 @@ function zl(e, t, n) {
|
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
|
-
const
|
|
715
|
+
const Be = (e, t) => {
|
|
716
716
|
let n = { key: "", name: "", children: e };
|
|
717
717
|
return t.forEach((r) => {
|
|
718
718
|
if (typeof r != "number") {
|
|
@@ -914,7 +914,7 @@ const cs = /* @__PURE__ */ K({
|
|
|
914
914
|
const A = () => !(a.value.length <= 0 || !be(i.value, a.value)), b = () => {
|
|
915
915
|
if (!A())
|
|
916
916
|
return;
|
|
917
|
-
const U =
|
|
917
|
+
const U = Be(n.value, a.value);
|
|
918
918
|
if (U)
|
|
919
919
|
if (U.ui) {
|
|
920
920
|
const C = Pe(r.value, a.value.slice(0, -1));
|
|
@@ -955,7 +955,7 @@ const cs = /* @__PURE__ */ K({
|
|
|
955
955
|
});
|
|
956
956
|
}, f = (w) => {
|
|
957
957
|
const A = () => {
|
|
958
|
-
const b =
|
|
958
|
+
const b = Be(n.value, a.value), U = Pe(r.value, a.value);
|
|
959
959
|
localStorage.setItem("propTreeCopy", JSON.stringify({ prop: b, object: U }));
|
|
960
960
|
};
|
|
961
961
|
w.push({
|
|
@@ -968,7 +968,7 @@ const cs = /* @__PURE__ */ K({
|
|
|
968
968
|
if (!U)
|
|
969
969
|
return !1;
|
|
970
970
|
try {
|
|
971
|
-
const { prop: C } = JSON.parse(U), L =
|
|
971
|
+
const { prop: C } = JSON.parse(U), L = Be(n.value, a.value);
|
|
972
972
|
return Il(C, L);
|
|
973
973
|
} catch (C) {
|
|
974
974
|
console.error(C);
|
|
@@ -980,7 +980,7 @@ const cs = /* @__PURE__ */ K({
|
|
|
980
980
|
const U = localStorage.getItem("propTreeCopy");
|
|
981
981
|
if (U)
|
|
982
982
|
try {
|
|
983
|
-
const { object: C } = JSON.parse(U), L =
|
|
983
|
+
const { object: C } = JSON.parse(U), L = Be(n.value, a.value);
|
|
984
984
|
console.log(C, L);
|
|
985
985
|
} catch (C) {
|
|
986
986
|
console.error(C);
|
|
@@ -1033,7 +1033,7 @@ const cs = /* @__PURE__ */ K({
|
|
|
1033
1033
|
}
|
|
1034
1034
|
});
|
|
1035
1035
|
var bn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", $n = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", fs = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", ye = "M19,13H5V11H19V13Z", ds = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
|
|
1036
|
-
const
|
|
1036
|
+
const Re = /* @__PURE__ */ K({
|
|
1037
1037
|
__name: "title",
|
|
1038
1038
|
props: {
|
|
1039
1039
|
title: {},
|
|
@@ -1812,7 +1812,7 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
|
|
|
1812
1812
|
}, f = R(0);
|
|
1813
1813
|
return mt(() => {
|
|
1814
1814
|
s.value.ui === "pixelInput" ? f.value = Fn(r.value) : s.value.ui === "percentInput" && (f.value = Hn(r.value));
|
|
1815
|
-
}),
|
|
1815
|
+
}), Oe(f, (d) => {
|
|
1816
1816
|
s.value.ui === "pixelInput" ? r.value = d + "px" : s.value.ui === "percentInput" && (r.value = d + "%");
|
|
1817
1817
|
}), (d, v) => {
|
|
1818
1818
|
const h = x("v-select"), V = x("v-number-input"), w = x("v-icon"), A = ae("ripple");
|
|
@@ -1908,7 +1908,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
1908
1908
|
const { t: n } = ue(), { backgroundColor1: r } = we(), i = e, o = t, l = R("20px"), u = R("56px"), a = R("200px"), s = Nn({}), p = R({}), f = (g, c) => {
|
|
1909
1909
|
Ft(p, i.config, i.object), o("change", g, c);
|
|
1910
1910
|
};
|
|
1911
|
-
|
|
1911
|
+
Oe(
|
|
1912
1912
|
[() => i.config, () => i.object],
|
|
1913
1913
|
() => {
|
|
1914
1914
|
Ft(p, i.config, i.object, (g, c) => {
|
|
@@ -1918,16 +1918,21 @@ const zs = /* @__PURE__ */ K({
|
|
|
1918
1918
|
{ immediate: !0 }
|
|
1919
1919
|
);
|
|
1920
1920
|
const d = R(i.version);
|
|
1921
|
-
es(d)
|
|
1921
|
+
es(d), Oe(
|
|
1922
|
+
() => i.version,
|
|
1923
|
+
() => {
|
|
1924
|
+
d.value = i.version;
|
|
1925
|
+
}
|
|
1926
|
+
);
|
|
1922
1927
|
const v = R(i.config);
|
|
1923
|
-
ts(v),
|
|
1928
|
+
ts(v), Oe(
|
|
1924
1929
|
() => i.config,
|
|
1925
1930
|
() => {
|
|
1926
1931
|
v.value = i.config;
|
|
1927
1932
|
}
|
|
1928
1933
|
);
|
|
1929
1934
|
const h = R(i.object);
|
|
1930
|
-
rs(h),
|
|
1935
|
+
rs(h), Oe(
|
|
1931
1936
|
() => i.object,
|
|
1932
1937
|
() => {
|
|
1933
1938
|
h.value = i.object;
|
|
@@ -1963,7 +1968,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
1963
1968
|
}), Rn(() => {
|
|
1964
1969
|
U();
|
|
1965
1970
|
});
|
|
1966
|
-
const { renderProp: C } = vs(p, u, a), { renderUiDummy: L } = ms(f), { renderUiStrInput: W } = hs(f), { renderUiNumInput: Ye } = $s(f), { renderUiSwitch: Tn } = ws(f), { renderUiSelect: Sn } = Ps(f), { renderUiColorPicker: wn } = Fs(f), { renderUiMultiTypes: An } = qs(f), { renderUiCompSelect: Cn } = Bs(f),
|
|
1971
|
+
const { renderProp: C } = vs(p, u, a), { renderUiDummy: L } = ms(f), { renderUiStrInput: W } = hs(f), { renderUiNumInput: Ye } = $s(f), { renderUiSwitch: Tn } = ws(f), { renderUiSelect: Sn } = Ps(f), { renderUiColorPicker: wn } = Fs(f), { renderUiMultiTypes: An } = qs(f), { renderUiCompSelect: Cn } = Bs(f), De = (g, c, y, m, $, P) => (g = an(g), $ !== void 0 ? (g.push($), P && g.push(c.key)) : g.push(c.key), c.ui ? c.array && m ? xn(g, c, y, m, $, P) : Vn(g, c, y, $, P) : c.array ? Pn(g, c, y, m, $, P) : On(
|
|
1967
1972
|
g,
|
|
1968
1973
|
c,
|
|
1969
1974
|
y,
|
|
@@ -1981,7 +1986,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
1981
1986
|
$ !== void 0 && !P ? (y[$] instanceof Array || (y[$] = N(c), f(g, y[c.key])), D = y[$]) : (y[c.key] instanceof Array || (y[c.key] = N(c), f(g, y[c.key])), D = y[c.key]);
|
|
1982
1987
|
let Q = n(c.name);
|
|
1983
1988
|
m.collapse && be(p.value, g) && (Q += " *");
|
|
1984
|
-
const Ae = _(
|
|
1989
|
+
const Ae = _(Re, {
|
|
1985
1990
|
title: Q,
|
|
1986
1991
|
collapse: m.collapse,
|
|
1987
1992
|
hasCreate: !0,
|
|
@@ -2012,10 +2017,10 @@ const zs = /* @__PURE__ */ K({
|
|
|
2012
2017
|
collapse: !0,
|
|
2013
2018
|
children: {}
|
|
2014
2019
|
});
|
|
2015
|
-
const
|
|
2020
|
+
const je = [...g, j], Ee = m.children[j];
|
|
2016
2021
|
let vt = `[${j + 1}]`;
|
|
2017
|
-
m.children[j].collapse && be(p.value,
|
|
2018
|
-
const Un = _(
|
|
2022
|
+
m.children[j].collapse && be(p.value, je) && (vt += " *");
|
|
2023
|
+
const Un = _(Re, {
|
|
2019
2024
|
title: vt,
|
|
2020
2025
|
collapse: m.children[j].collapse,
|
|
2021
2026
|
hasDelete: !0,
|
|
@@ -2028,7 +2033,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
2028
2033
|
m.children[j].collapse = ee;
|
|
2029
2034
|
},
|
|
2030
2035
|
onMenu: (ee, fe) => {
|
|
2031
|
-
_e.emit("propTreeMenu", { x: ee, y: fe, keys:
|
|
2036
|
+
_e.emit("propTreeMenu", { x: ee, y: fe, keys: je });
|
|
2032
2037
|
},
|
|
2033
2038
|
onDelete: (ee) => {
|
|
2034
2039
|
if (!nt(m.children)) {
|
|
@@ -2049,19 +2054,19 @@ const zs = /* @__PURE__ */ K({
|
|
|
2049
2054
|
(() => {
|
|
2050
2055
|
const ee = [];
|
|
2051
2056
|
return c.children.forEach((fe) => {
|
|
2052
|
-
if (!kt(
|
|
2057
|
+
if (!kt(Ee.children)) {
|
|
2053
2058
|
console.assert(!1);
|
|
2054
2059
|
return;
|
|
2055
2060
|
}
|
|
2056
|
-
|
|
2061
|
+
Ee.children[fe.key] || (Ee.children[fe.key] = {
|
|
2057
2062
|
collapse: !0,
|
|
2058
2063
|
children: fe.array ? [] : {}
|
|
2059
2064
|
});
|
|
2060
|
-
const Dn =
|
|
2065
|
+
const Dn = De(
|
|
2061
2066
|
g,
|
|
2062
2067
|
fe,
|
|
2063
2068
|
D[j],
|
|
2064
|
-
|
|
2069
|
+
Ee.children[fe.key],
|
|
2065
2070
|
j,
|
|
2066
2071
|
!0
|
|
2067
2072
|
);
|
|
@@ -2095,7 +2100,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
2095
2100
|
return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
|
|
2096
2101
|
let D = n(c.name);
|
|
2097
2102
|
m.collapse && be(p.value, g) && (D += " *");
|
|
2098
|
-
const Q = _(
|
|
2103
|
+
const Q = _(Re, {
|
|
2099
2104
|
title: D,
|
|
2100
2105
|
collapse: m.collapse,
|
|
2101
2106
|
hasDelete: $ !== void 0 && !P,
|
|
@@ -2126,7 +2131,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
2126
2131
|
collapse: !0,
|
|
2127
2132
|
children: !T.ui && T.array ? [] : {}
|
|
2128
2133
|
});
|
|
2129
|
-
const j =
|
|
2134
|
+
const j = De(
|
|
2130
2135
|
g,
|
|
2131
2136
|
T,
|
|
2132
2137
|
(typeof y[c.key] != "object" && (y[c.key] = {}, f(g, y[c.key])), y[c.key]),
|
|
@@ -2159,7 +2164,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
2159
2164
|
$ !== void 0 && !P ? (y[$] instanceof Array || (y[$] = N(c), f(g, y[$])), D = y[$]) : (y[c.key] instanceof Array || (y[c.key] = N(c), f(g, y[c.key])), D = y[c.key]);
|
|
2160
2165
|
let Q = n(c.name);
|
|
2161
2166
|
m.collapse && be(p.value, g) && (Q += " *");
|
|
2162
|
-
const Ae = _(
|
|
2167
|
+
const Ae = _(Re, {
|
|
2163
2168
|
title: Q,
|
|
2164
2169
|
collapse: m.collapse,
|
|
2165
2170
|
hasCreate: !0,
|
|
@@ -2182,8 +2187,8 @@ const zs = /* @__PURE__ */ K({
|
|
|
2182
2187
|
(() => {
|
|
2183
2188
|
const T = [];
|
|
2184
2189
|
for (let j = 0; j < D.length; j++) {
|
|
2185
|
-
const
|
|
2186
|
-
T.push(
|
|
2190
|
+
const je = De(g, c, D, void 0, j, !1);
|
|
2191
|
+
T.push(je);
|
|
2187
2192
|
}
|
|
2188
2193
|
return T;
|
|
2189
2194
|
})()
|
|
@@ -2223,7 +2228,7 @@ const zs = /* @__PURE__ */ K({
|
|
|
2223
2228
|
collapse: !0,
|
|
2224
2229
|
children: !y.ui && y.array ? [] : {}
|
|
2225
2230
|
});
|
|
2226
|
-
const m =
|
|
2231
|
+
const m = De([], y, i.object, c[y.key]);
|
|
2227
2232
|
g.push(m);
|
|
2228
2233
|
});
|
|
2229
2234
|
}
|