x-prop-tree 0.3.1 → 0.3.2

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,19 +1,20 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.id="x-prop-tree",e.appendChild(document.createTextNode('.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1em;min-width:1em}.v-icon--clickable{cursor:pointer}.v-icon--disabled{pointer-events:none;opacity:.38}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- import { Fragment as Be, reactive as ye, computed as C, watchEffect as he, toRefs as Ie, warn as Ae, getCurrentInstance as De, inject as Z, shallowRef as Te, provide as ve, defineComponent as z, isRef as ze, createVNode as k, mergeProps as Re, unref as Me, ref as B, toRef as Pe, Text as Ne, mergeModels as Y, useModel as ke, resolveComponent as H, openBlock as p, createElementBlock as Ce, normalizeStyle as xe, createBlock as W, resolveDirective as Oe, withDirectives as Ee, createElementVNode as Le, toDisplayString as He, withModifiers as J, createCommentVNode as Q, h as g } from "vue";
3
- import { useColor as We } from "x-essential-lib";
4
- import { getPropDefault as O } from "x-runtime-lib";
2
+ import { Fragment as Ie, reactive as he, computed as C, watchEffect as ve, toRefs as Ae, warn as De, getCurrentInstance as Te, inject as J, shallowRef as ze, provide as ke, defineComponent as z, isRef as Re, createVNode as k, mergeProps as Me, unref as Pe, ref as B, toRef as Ne, Text as Oe, mergeModels as K, useModel as Ce, resolveComponent as W, openBlock as _, createElementBlock as xe, normalizeStyle as be, createBlock as G, resolveDirective as Ee, withDirectives as Le, createElementVNode as He, toDisplayString as We, withModifiers as Q, createCommentVNode as j, h as y } from "vue";
3
+ import { useI18n as Ge } from "vue-i18n";
4
+ import { useColor as Ue } from "x-essential-lib";
5
+ import { getPropDefault as E } from "x-runtime-lib";
5
6
  function w(e, t) {
6
- return (s) => Object.keys(e).reduce((n, a) => {
7
- const r = typeof e[a] == "object" && e[a] != null && !Array.isArray(e[a]) ? e[a] : {
7
+ return (n) => Object.keys(e).reduce((s, a) => {
8
+ const u = typeof e[a] == "object" && e[a] != null && !Array.isArray(e[a]) ? e[a] : {
8
9
  type: e[a]
9
10
  };
10
- return s && a in s ? n[a] = {
11
- ...r,
12
- default: s[a]
13
- } : n[a] = r, t && !n[a].source && (n[a].source = t), n;
11
+ return n && a in n ? s[a] = {
12
+ ...u,
13
+ default: n[a]
14
+ } : s[a] = u, t && !s[a].source && (s[a].source = t), s;
14
15
  }, {});
15
16
  }
16
- const Ge = w({
17
+ const qe = w({
17
18
  class: [String, Array, Object],
18
19
  style: {
19
20
  type: [String, Array, Object],
@@ -25,51 +26,51 @@ function A(e) {
25
26
  if (!(e == null || e === ""))
26
27
  return isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${t}` : void 0;
27
28
  }
28
- function j(e) {
29
+ function ee(e) {
29
30
  return e !== null && typeof e == "object" && !Array.isArray(e);
30
31
  }
31
- function q(e, t) {
32
- return t.every((s) => e.hasOwnProperty(s));
32
+ function Y(e, t) {
33
+ return t.every((n) => e.hasOwnProperty(n));
33
34
  }
34
- function Ue(e, t) {
35
- const s = {}, n = new Set(Object.keys(e));
35
+ function Ye(e, t) {
36
+ const n = {}, s = new Set(Object.keys(e));
36
37
  for (const a of t)
37
- n.has(a) && (s[a] = e[a]);
38
- return s;
38
+ s.has(a) && (n[a] = e[a]);
39
+ return n;
39
40
  }
40
- function ee(e, t) {
41
- let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
42
- return e + s.repeat(Math.max(0, t - e.length));
41
+ function te(e, t) {
42
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
43
+ return e + n.repeat(Math.max(0, t - e.length));
43
44
  }
44
- function qe(e) {
45
+ function Ke(e) {
45
46
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
46
- const s = [];
47
- let n = 0;
48
- for (; n < e.length; )
49
- s.push(e.substr(n, t)), n += t;
50
- return s;
47
+ const n = [];
48
+ let s = 0;
49
+ for (; s < e.length; )
50
+ n.push(e.substr(s, t)), s += t;
51
+ return n;
51
52
  }
52
- function be() {
53
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 ? arguments[2] : void 0;
54
- const n = {};
53
+ function Se() {
54
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
55
+ const s = {};
55
56
  for (const a in e)
56
- n[a] = e[a];
57
+ s[a] = e[a];
57
58
  for (const a in t) {
58
- const u = e[a], r = t[a];
59
- if (j(u) && j(r)) {
60
- n[a] = be(u, r, s);
59
+ const r = e[a], u = t[a];
60
+ if (ee(r) && ee(u)) {
61
+ s[a] = Se(r, u, n);
61
62
  continue;
62
63
  }
63
- if (Array.isArray(u) && Array.isArray(r) && s) {
64
- n[a] = s(u, r);
64
+ if (Array.isArray(r) && Array.isArray(u) && n) {
65
+ s[a] = n(r, u);
65
66
  continue;
66
67
  }
67
- n[a] = r;
68
+ s[a] = u;
68
69
  }
69
- return n;
70
+ return s;
70
71
  }
71
- function Se(e) {
72
- return e.map((t) => t.type === Be ? Se(t.children) : t).flat();
72
+ function Ve(e) {
73
+ return e.map((t) => t.type === Ie ? Ve(t.children) : t).flat();
73
74
  }
74
75
  function F() {
75
76
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
@@ -79,79 +80,79 @@ function F() {
79
80
  return F.cache.set(e, t), t;
80
81
  }
81
82
  F.cache = /* @__PURE__ */ new Map();
82
- function Ve(e) {
83
- const t = ye({}), s = C(e);
84
- return he(() => {
85
- for (const n in s.value)
86
- t[n] = s.value[n];
83
+ function we(e) {
84
+ const t = he({}), n = C(e);
85
+ return ve(() => {
86
+ for (const s in n.value)
87
+ t[s] = n.value[s];
87
88
  }, {
88
89
  flush: "sync"
89
- }), Ie(t);
90
+ }), Ae(t);
90
91
  }
91
- function Ye(e, t) {
92
+ function Xe(e, t) {
92
93
  return e.includes(t);
93
94
  }
94
- const _ = 2.4, te = 0.2126729, ne = 0.7151522, se = 0.072175, Ke = 0.55, Xe = 0.58, Ze = 0.57, Je = 0.62, E = 0.03, ae = 1.45, Qe = 5e-4, je = 1.25, et = 1.25, le = 0.078, ie = 12.82051282051282, L = 0.06, re = 1e-3;
95
- function ue(e, t) {
96
- const s = (e.r / 255) ** _, n = (e.g / 255) ** _, a = (e.b / 255) ** _, u = (t.r / 255) ** _, r = (t.g / 255) ** _, m = (t.b / 255) ** _;
97
- let o = s * te + n * ne + a * se, f = u * te + r * ne + m * se;
98
- if (o <= E && (o += (E - o) ** ae), f <= E && (f += (E - f) ** ae), Math.abs(f - o) < Qe)
95
+ const p = 2.4, ne = 0.2126729, se = 0.7151522, ae = 0.072175, Ze = 0.55, Je = 0.58, Qe = 0.57, je = 0.62, L = 0.03, le = 1.45, et = 5e-4, tt = 1.25, nt = 1.25, re = 0.078, ie = 12.82051282051282, H = 0.06, ue = 1e-3;
96
+ function oe(e, t) {
97
+ const n = (e.r / 255) ** p, s = (e.g / 255) ** p, a = (e.b / 255) ** p, r = (t.r / 255) ** p, u = (t.g / 255) ** p, m = (t.b / 255) ** p;
98
+ let o = n * ne + s * se + a * ae, f = r * ne + u * se + m * ae;
99
+ if (o <= L && (o += (L - o) ** le), f <= L && (f += (L - f) ** le), Math.abs(f - o) < et)
99
100
  return 0;
100
- let v;
101
+ let h;
101
102
  if (f > o) {
102
- const y = (f ** Ke - o ** Xe) * je;
103
- v = y < re ? 0 : y < le ? y - y * ie * L : y - L;
103
+ const g = (f ** Ze - o ** Je) * tt;
104
+ h = g < ue ? 0 : g < re ? g - g * ie * H : g - H;
104
105
  } else {
105
- const y = (f ** Je - o ** Ze) * et;
106
- v = y > -re ? 0 : y > -le ? y - y * ie * L : y + L;
106
+ const g = (f ** je - o ** Qe) * nt;
107
+ h = g > -ue ? 0 : g > -re ? g - g * ie * H : g + H;
107
108
  }
108
- return v * 100;
109
+ return h * 100;
109
110
  }
110
111
  function D(e) {
111
- Ae(`Vuetify: ${e}`);
112
+ De(`Vuetify: ${e}`);
112
113
  }
113
- function K(e) {
114
+ function X(e) {
114
115
  return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e);
115
116
  }
116
- function tt(e) {
117
- return K(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e);
117
+ function st(e) {
118
+ return X(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e);
118
119
  }
119
- const oe = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, nt = {
120
- rgb: (e, t, s, n) => ({
120
+ const ce = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, at = {
121
+ rgb: (e, t, n, s) => ({
121
122
  r: e,
122
123
  g: t,
123
- b: s,
124
- a: n
124
+ b: n,
125
+ a: s
125
126
  }),
126
- rgba: (e, t, s, n) => ({
127
+ rgba: (e, t, n, s) => ({
127
128
  r: e,
128
129
  g: t,
129
- b: s,
130
- a: n
130
+ b: n,
131
+ a: s
131
132
  }),
132
- hsl: (e, t, s, n) => ce({
133
+ hsl: (e, t, n, s) => fe({
133
134
  h: e,
134
135
  s: t,
135
- l: s,
136
- a: n
136
+ l: n,
137
+ a: s
137
138
  }),
138
- hsla: (e, t, s, n) => ce({
139
+ hsla: (e, t, n, s) => fe({
139
140
  h: e,
140
141
  s: t,
141
- l: s,
142
- a: n
142
+ l: n,
143
+ a: s
143
144
  }),
144
- hsv: (e, t, s, n) => T({
145
+ hsv: (e, t, n, s) => T({
145
146
  h: e,
146
147
  s: t,
147
- v: s,
148
- a: n
148
+ v: n,
149
+ a: s
149
150
  }),
150
- hsva: (e, t, s, n) => T({
151
+ hsva: (e, t, n, s) => T({
151
152
  h: e,
152
153
  s: t,
153
- v: s,
154
- a: n
154
+ v: n,
155
+ a: s
155
156
  })
156
157
  };
157
158
  function I(e) {
@@ -161,25 +162,25 @@ function I(e) {
161
162
  g: (e & 65280) >> 8,
162
163
  b: e & 255
163
164
  };
164
- if (typeof e == "string" && oe.test(e)) {
165
+ if (typeof e == "string" && ce.test(e)) {
165
166
  const {
166
167
  groups: t
167
- } = e.match(oe), {
168
- fn: s,
169
- values: n
170
- } = t, a = n.split(/,\s*/).map((u) => u.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(s) ? parseFloat(u) / 100 : parseFloat(u));
171
- return nt[s](...a);
168
+ } = e.match(ce), {
169
+ fn: n,
170
+ values: s
171
+ } = t, a = s.split(/,\s*/).map((r) => r.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(r) / 100 : parseFloat(r));
172
+ return at[n](...a);
172
173
  } else if (typeof e == "string") {
173
174
  let t = e.startsWith("#") ? e.slice(1) : e;
174
- [3, 4].includes(t.length) ? t = t.split("").map((n) => n + n).join("") : [6, 8].includes(t.length) || D(`'${e}' is not a valid hex(a) color`);
175
- const s = parseInt(t, 16);
176
- return (isNaN(s) || s < 0 || s > 4294967295) && D(`'${e}' is not a valid hex(a) color`), st(t);
175
+ [3, 4].includes(t.length) ? t = t.split("").map((s) => s + s).join("") : [6, 8].includes(t.length) || D(`'${e}' is not a valid hex(a) color`);
176
+ const n = parseInt(t, 16);
177
+ return (isNaN(n) || n < 0 || n > 4294967295) && D(`'${e}' is not a valid hex(a) color`), lt(t);
177
178
  } else if (typeof e == "object") {
178
- if (q(e, ["r", "g", "b"]))
179
+ if (Y(e, ["r", "g", "b"]))
179
180
  return e;
180
- if (q(e, ["h", "s", "l"]))
181
- return T(we(e));
182
- if (q(e, ["h", "s", "v"]))
181
+ if (Y(e, ["h", "s", "l"]))
182
+ return T(pe(e));
183
+ if (Y(e, ["h", "s", "v"]))
183
184
  return T(e);
184
185
  }
185
186
  throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name}
@@ -188,236 +189,236 @@ Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`);
188
189
  function T(e) {
189
190
  const {
190
191
  h: t,
191
- s,
192
- v: n,
192
+ s: n,
193
+ v: s,
193
194
  a
194
- } = e, u = (m) => {
195
+ } = e, r = (m) => {
195
196
  const o = (m + t / 60) % 6;
196
- return n - n * s * Math.max(Math.min(o, 4 - o, 1), 0);
197
- }, r = [u(5), u(3), u(1)].map((m) => Math.round(m * 255));
197
+ return s - s * n * Math.max(Math.min(o, 4 - o, 1), 0);
198
+ }, u = [r(5), r(3), r(1)].map((m) => Math.round(m * 255));
198
199
  return {
199
- r: r[0],
200
- g: r[1],
201
- b: r[2],
200
+ r: u[0],
201
+ g: u[1],
202
+ b: u[2],
202
203
  a
203
204
  };
204
205
  }
205
- function ce(e) {
206
- return T(we(e));
206
+ function fe(e) {
207
+ return T(pe(e));
207
208
  }
208
- function we(e) {
209
+ function pe(e) {
209
210
  const {
210
211
  h: t,
211
- s,
212
- l: n,
212
+ s: n,
213
+ l: s,
213
214
  a
214
- } = e, u = n + s * Math.min(n, 1 - n), r = u === 0 ? 0 : 2 - 2 * n / u;
215
+ } = e, r = s + n * Math.min(s, 1 - s), u = r === 0 ? 0 : 2 - 2 * s / r;
215
216
  return {
216
217
  h: t,
217
- s: r,
218
- v: u,
218
+ s: u,
219
+ v: r,
219
220
  a
220
221
  };
221
222
  }
222
- function st(e) {
223
- e = at(e);
224
- let [t, s, n, a] = qe(e, 2).map((u) => parseInt(u, 16));
223
+ function lt(e) {
224
+ e = rt(e);
225
+ let [t, n, s, a] = Ke(e, 2).map((r) => parseInt(r, 16));
225
226
  return a = a === void 0 ? a : a / 255, {
226
227
  r: t,
227
- g: s,
228
- b: n,
228
+ g: n,
229
+ b: s,
229
230
  a
230
231
  };
231
232
  }
232
- function at(e) {
233
- return e.startsWith("#") && (e = e.slice(1)), e = e.replace(/([^0-9a-f])/gi, "F"), (e.length === 3 || e.length === 4) && (e = e.split("").map((t) => t + t).join("")), e.length !== 6 && (e = ee(ee(e, 6), 8, "F")), e;
233
+ function rt(e) {
234
+ return e.startsWith("#") && (e = e.slice(1)), e = e.replace(/([^0-9a-f])/gi, "F"), (e.length === 3 || e.length === 4) && (e = e.split("").map((t) => t + t).join("")), e.length !== 6 && (e = te(te(e, 6), 8, "F")), e;
234
235
  }
235
- function lt(e) {
236
- const t = Math.abs(ue(I(0), I(e)));
237
- return Math.abs(ue(I(16777215), I(e))) > Math.min(t, 50) ? "#fff" : "#000";
236
+ function it(e) {
237
+ const t = Math.abs(oe(I(0), I(e)));
238
+ return Math.abs(oe(I(16777215), I(e))) > Math.min(t, 50) ? "#fff" : "#000";
238
239
  }
239
240
  function R(e, t) {
240
- const s = De();
241
- if (!s)
241
+ const n = Te();
242
+ if (!n)
242
243
  throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);
243
- return s;
244
+ return n;
244
245
  }
245
- function it() {
246
+ function ut() {
246
247
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables";
247
248
  const t = R(e).type;
248
249
  return F((t == null ? void 0 : t.aliasName) || (t == null ? void 0 : t.name));
249
250
  }
250
- function rt(e) {
251
+ function ot(e) {
251
252
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : R("injectSelf");
252
253
  const {
253
- provides: s
254
+ provides: n
254
255
  } = t;
255
- if (s && e in s)
256
- return s[e];
256
+ if (n && e in n)
257
+ return n[e];
257
258
  }
258
- const X = Symbol.for("vuetify:defaults");
259
+ const Z = Symbol.for("vuetify:defaults");
259
260
  function _e() {
260
- const e = Z(X);
261
+ const e = J(Z);
261
262
  if (!e)
262
263
  throw new Error("[Vuetify] Could not find defaults instance");
263
264
  return e;
264
265
  }
265
- function ut(e, t) {
266
- var s, n;
267
- return typeof ((s = e.props) == null ? void 0 : s[t]) < "u" || typeof ((n = e.props) == null ? void 0 : n[F(t)]) < "u";
266
+ function ct(e, t) {
267
+ var n, s;
268
+ return typeof ((n = e.props) == null ? void 0 : n[t]) < "u" || typeof ((s = e.props) == null ? void 0 : s[F(t)]) < "u";
268
269
  }
269
- function ot() {
270
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _e();
271
- const n = R("useDefaults");
272
- if (t = t ?? n.type.name ?? n.type.__name, !t)
270
+ function ft() {
271
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _e();
272
+ const s = R("useDefaults");
273
+ if (t = t ?? s.type.name ?? s.type.__name, !t)
273
274
  throw new Error("[Vuetify] Could not determine component name");
274
275
  const a = C(() => {
275
276
  var o;
276
- return (o = s.value) == null ? void 0 : o[e._as ?? t];
277
- }), u = new Proxy(e, {
277
+ return (o = n.value) == null ? void 0 : o[e._as ?? t];
278
+ }), r = new Proxy(e, {
278
279
  get(o, f) {
279
- var y, S, V, b, M, d, l;
280
- const v = Reflect.get(o, f);
281
- return f === "class" || f === "style" ? [(y = a.value) == null ? void 0 : y[f], v].filter((i) => i != null) : typeof f == "string" && !ut(n.vnode, f) ? ((S = a.value) == null ? void 0 : S[f]) !== void 0 ? (V = a.value) == null ? void 0 : V[f] : ((M = (b = s.value) == null ? void 0 : b.global) == null ? void 0 : M[f]) !== void 0 ? (l = (d = s.value) == null ? void 0 : d.global) == null ? void 0 : l[f] : v : v;
280
+ var g, S, V, b, M, P, d;
281
+ const h = Reflect.get(o, f);
282
+ return f === "class" || f === "style" ? [(g = a.value) == null ? void 0 : g[f], h].filter((l) => l != null) : typeof f == "string" && !ct(s.vnode, f) ? ((S = a.value) == null ? void 0 : S[f]) !== void 0 ? (V = a.value) == null ? void 0 : V[f] : ((M = (b = n.value) == null ? void 0 : b.global) == null ? void 0 : M[f]) !== void 0 ? (d = (P = n.value) == null ? void 0 : P.global) == null ? void 0 : d[f] : h : h;
282
283
  }
283
- }), r = Te();
284
- he(() => {
284
+ }), u = ze();
285
+ ve(() => {
285
286
  if (a.value) {
286
287
  const o = Object.entries(a.value).filter((f) => {
287
- let [v] = f;
288
- return v.startsWith(v[0].toUpperCase());
288
+ let [h] = f;
289
+ return h.startsWith(h[0].toUpperCase());
289
290
  });
290
- r.value = o.length ? Object.fromEntries(o) : void 0;
291
+ u.value = o.length ? Object.fromEntries(o) : void 0;
291
292
  } else
292
- r.value = void 0;
293
+ u.value = void 0;
293
294
  });
294
295
  function m() {
295
- const o = rt(X, n);
296
- ve(X, C(() => r.value ? be((o == null ? void 0 : o.value) ?? {}, r.value) : o == null ? void 0 : o.value));
296
+ const o = ot(Z, s);
297
+ ke(Z, C(() => u.value ? Se((o == null ? void 0 : o.value) ?? {}, u.value) : o == null ? void 0 : o.value));
297
298
  }
298
299
  return {
299
- props: u,
300
+ props: r,
300
301
  provideSubDefaults: m
301
302
  };
302
303
  }
303
- function G(e) {
304
+ function U(e) {
304
305
  if (e._setup = e._setup ?? e.setup, !e.name)
305
306
  return D("The component is missing an explicit name, unable to generate default prop value"), e;
306
307
  if (e._setup) {
307
308
  e.props = w(e.props ?? {}, e.name)();
308
- const t = Object.keys(e.props).filter((s) => s !== "class" && s !== "style");
309
- e.filterProps = function(n) {
310
- return Ue(n, t);
311
- }, e.props._as = String, e.setup = function(n, a) {
312
- const u = _e();
313
- if (!u.value)
314
- return e._setup(n, a);
309
+ const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style");
310
+ e.filterProps = function(s) {
311
+ return Ye(s, t);
312
+ }, e.props._as = String, e.setup = function(s, a) {
313
+ const r = _e();
314
+ if (!r.value)
315
+ return e._setup(s, a);
315
316
  const {
316
- props: r,
317
+ props: u,
317
318
  provideSubDefaults: m
318
- } = ot(n, n._as ?? e.name, u), o = e._setup(r, a);
319
+ } = ft(s, s._as ?? e.name, r), o = e._setup(u, a);
319
320
  return m(), o;
320
321
  };
321
322
  }
322
323
  return e;
323
324
  }
324
- function pe() {
325
+ function Fe() {
325
326
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
326
- return (t) => (e ? G : z)(t);
327
+ return (t) => (e ? U : z)(t);
327
328
  }
328
- function ct(e) {
329
+ function dt(e) {
329
330
  const t = R("useRender");
330
331
  t.render = e;
331
332
  }
332
- const fe = Symbol.for("vuetify:theme"), ft = w({
333
+ const de = Symbol.for("vuetify:theme"), mt = w({
333
334
  theme: String
334
335
  }, "theme");
335
- function dt(e) {
336
+ function gt(e) {
336
337
  R("provideTheme");
337
- const t = Z(fe, null);
338
+ const t = J(de, null);
338
339
  if (!t)
339
340
  throw new Error("Could not find Vuetify theme injection");
340
- const s = C(() => e.theme ?? t.name.value), n = C(() => t.themes.value[s.value]), a = C(() => t.isDisabled ? void 0 : `v-theme--${s.value}`), u = {
341
+ const n = C(() => e.theme ?? t.name.value), s = C(() => t.themes.value[n.value]), a = C(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), r = {
341
342
  ...t,
342
- name: s,
343
- current: n,
343
+ name: n,
344
+ current: s,
344
345
  themeClasses: a
345
346
  };
346
- return ve(fe, u), u;
347
+ return ke(de, r), r;
347
348
  }
348
- const mt = w({
349
+ const yt = w({
349
350
  tag: {
350
351
  type: String,
351
352
  default: "div"
352
353
  }
353
354
  }, "tag");
354
- function gt(e) {
355
- return Ve(() => {
356
- const t = [], s = {};
355
+ function ht(e) {
356
+ return we(() => {
357
+ const t = [], n = {};
357
358
  if (e.value.background)
358
- if (K(e.value.background)) {
359
- if (s.backgroundColor = e.value.background, !e.value.text && tt(e.value.background)) {
360
- const n = I(e.value.background);
361
- if (n.a == null || n.a === 1) {
362
- const a = lt(n);
363
- s.color = a, s.caretColor = a;
359
+ if (X(e.value.background)) {
360
+ if (n.backgroundColor = e.value.background, !e.value.text && st(e.value.background)) {
361
+ const s = I(e.value.background);
362
+ if (s.a == null || s.a === 1) {
363
+ const a = it(s);
364
+ n.color = a, n.caretColor = a;
364
365
  }
365
366
  }
366
367
  } else
367
368
  t.push(`bg-${e.value.background}`);
368
- return e.value.text && (K(e.value.text) ? (s.color = e.value.text, s.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
369
+ return e.value.text && (X(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
369
370
  colorClasses: t,
370
- colorStyles: s
371
+ colorStyles: n
371
372
  };
372
373
  });
373
374
  }
374
- function yt(e, t) {
375
- const s = C(() => ({
376
- text: ze(e) ? e.value : null
375
+ function vt(e, t) {
376
+ const n = C(() => ({
377
+ text: Re(e) ? e.value : null
377
378
  })), {
378
- colorClasses: n,
379
+ colorClasses: s,
379
380
  colorStyles: a
380
- } = gt(s);
381
+ } = ht(n);
381
382
  return {
382
- textColorClasses: n,
383
+ textColorClasses: s,
383
384
  textColorStyles: a
384
385
  };
385
386
  }
386
- const Fe = [String, Function, Object, Array], ht = Symbol.for("vuetify:icons"), U = w({
387
+ const $e = [String, Function, Object, Array], kt = Symbol.for("vuetify:icons"), q = w({
387
388
  icon: {
388
- type: Fe
389
+ type: $e
389
390
  },
390
391
  // Could not remove this and use makeTagProps, types complained because it is not required
391
392
  tag: {
392
393
  type: String,
393
394
  required: !0
394
395
  }
395
- }, "icon"), de = pe()({
396
+ }, "icon"), me = Fe()({
396
397
  name: "VComponentIcon",
397
- props: U(),
398
+ props: q(),
398
399
  setup(e, t) {
399
400
  let {
400
- slots: s
401
+ slots: n
401
402
  } = t;
402
403
  return () => {
403
- const n = e.icon;
404
+ const s = e.icon;
404
405
  return k(e.tag, null, {
405
406
  default: () => {
406
407
  var a;
407
- return [e.icon ? k(n, null, null) : (a = s.default) == null ? void 0 : a.call(s)];
408
+ return [e.icon ? k(s, null, null) : (a = n.default) == null ? void 0 : a.call(n)];
408
409
  }
409
410
  });
410
411
  };
411
412
  }
412
- }), vt = G({
413
+ }), Ct = U({
413
414
  name: "VSvgIcon",
414
415
  inheritAttrs: !1,
415
- props: U(),
416
+ props: q(),
416
417
  setup(e, t) {
417
418
  let {
418
- attrs: s
419
+ attrs: n
419
420
  } = t;
420
- return () => k(e.tag, Re(s, {
421
+ return () => k(e.tag, Me(n, {
421
422
  style: null
422
423
  }), {
423
424
  default: () => [k("svg", {
@@ -426,124 +427,124 @@ const Fe = [String, Function, Object, Array], ht = Symbol.for("vuetify:icons"),
426
427
  viewBox: "0 0 24 24",
427
428
  role: "img",
428
429
  "aria-hidden": "true"
429
- }, [Array.isArray(e.icon) ? e.icon.map((n) => Array.isArray(n) ? k("path", {
430
- d: n[0],
431
- "fill-opacity": n[1]
430
+ }, [Array.isArray(e.icon) ? e.icon.map((s) => Array.isArray(s) ? k("path", {
431
+ d: s[0],
432
+ "fill-opacity": s[1]
432
433
  }, null) : k("path", {
433
- d: n
434
+ d: s
434
435
  }, null)) : k("path", {
435
436
  d: e.icon
436
437
  }, null)])]
437
438
  });
438
439
  }
439
440
  });
440
- G({
441
+ U({
441
442
  name: "VLigatureIcon",
442
- props: U(),
443
+ props: q(),
443
444
  setup(e) {
444
445
  return () => k(e.tag, null, {
445
446
  default: () => [e.icon]
446
447
  });
447
448
  }
448
449
  });
449
- G({
450
+ U({
450
451
  name: "VClassIcon",
451
- props: U(),
452
+ props: q(),
452
453
  setup(e) {
453
454
  return () => k(e.tag, {
454
455
  class: e.icon
455
456
  }, null);
456
457
  }
457
458
  });
458
- const kt = (e) => {
459
- const t = Z(ht);
459
+ const xt = (e) => {
460
+ const t = J(kt);
460
461
  if (!t)
461
462
  throw new Error("Missing Vuetify Icons provide!");
462
463
  return {
463
464
  iconData: C(() => {
464
465
  var o;
465
- const n = Me(e);
466
- if (!n)
466
+ const s = Pe(e);
467
+ if (!s)
467
468
  return {
468
- component: de
469
+ component: me
469
470
  };
470
- let a = n;
471
- if (typeof a == "string" && (a = a.trim(), a.startsWith("$") && (a = (o = t.aliases) == null ? void 0 : o[a.slice(1)])), a || D(`Could not find aliased icon "${n}"`), Array.isArray(a))
471
+ let a = s;
472
+ if (typeof a == "string" && (a = a.trim(), a.startsWith("$") && (a = (o = t.aliases) == null ? void 0 : o[a.slice(1)])), a || D(`Could not find aliased icon "${s}"`), Array.isArray(a))
472
473
  return {
473
- component: vt,
474
+ component: Ct,
474
475
  icon: a
475
476
  };
476
477
  if (typeof a != "string")
477
478
  return {
478
- component: de,
479
+ component: me,
479
480
  icon: a
480
481
  };
481
- const u = Object.keys(t.sets).find((f) => typeof a == "string" && a.startsWith(`${f}:`)), r = u ? a.slice(u.length + 1) : a;
482
+ const r = Object.keys(t.sets).find((f) => typeof a == "string" && a.startsWith(`${f}:`)), u = r ? a.slice(r.length + 1) : a;
482
483
  return {
483
- component: t.sets[u ?? t.defaultSet].component,
484
- icon: r
484
+ component: t.sets[r ?? t.defaultSet].component,
485
+ icon: u
485
486
  };
486
487
  })
487
488
  };
488
- }, Ct = ["x-small", "small", "default", "large", "x-large"], xt = w({
489
+ }, bt = ["x-small", "small", "default", "large", "x-large"], St = w({
489
490
  size: {
490
491
  type: [String, Number],
491
492
  default: "default"
492
493
  }
493
494
  }, "size");
494
- function bt(e) {
495
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : it();
496
- return Ve(() => {
497
- let s, n;
498
- return Ye(Ct, e.size) ? s = `${t}--size-${e.size}` : e.size && (n = {
495
+ function Vt(e) {
496
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ut();
497
+ return we(() => {
498
+ let n, s;
499
+ return Xe(bt, e.size) ? n = `${t}--size-${e.size}` : e.size && (s = {
499
500
  width: A(e.size),
500
501
  height: A(e.size)
501
502
  }), {
502
- sizeClasses: s,
503
- sizeStyles: n
503
+ sizeClasses: n,
504
+ sizeStyles: s
504
505
  };
505
506
  });
506
507
  }
507
- const St = w({
508
+ const wt = w({
508
509
  color: String,
509
510
  disabled: Boolean,
510
511
  start: Boolean,
511
512
  end: Boolean,
512
- icon: Fe,
513
- ...Ge(),
514
- ...xt(),
515
- ...mt({
513
+ icon: $e,
514
+ ...qe(),
515
+ ...St(),
516
+ ...yt({
516
517
  tag: "i"
517
518
  }),
518
- ...ft()
519
- }, "VIcon"), Vt = pe()({
519
+ ...mt()
520
+ }, "VIcon"), pt = Fe()({
520
521
  name: "VIcon",
521
- props: St(),
522
+ props: wt(),
522
523
  setup(e, t) {
523
524
  let {
524
- attrs: s,
525
- slots: n
525
+ attrs: n,
526
+ slots: s
526
527
  } = t;
527
528
  const a = B(), {
528
- themeClasses: u
529
- } = dt(e), {
530
- iconData: r
531
- } = kt(C(() => a.value || e.icon)), {
529
+ themeClasses: r
530
+ } = gt(e), {
531
+ iconData: u
532
+ } = xt(C(() => a.value || e.icon)), {
532
533
  sizeClasses: m
533
- } = bt(e), {
534
+ } = Vt(e), {
534
535
  textColorClasses: o,
535
536
  textColorStyles: f
536
- } = yt(Pe(e, "color"));
537
- return ct(() => {
537
+ } = vt(Ne(e, "color"));
538
+ return dt(() => {
538
539
  var S, V;
539
- const v = (S = n.default) == null ? void 0 : S.call(n);
540
- v && (a.value = (V = Se(v).filter((b) => b.type === Ne && b.children && typeof b.children == "string")[0]) == null ? void 0 : V.children);
541
- const y = !!(s.onClick || s.onClickOnce);
542
- return k(r.value.component, {
540
+ const h = (S = s.default) == null ? void 0 : S.call(s);
541
+ h && (a.value = (V = Ve(h).filter((b) => b.type === Oe && b.children && typeof b.children == "string")[0]) == null ? void 0 : V.children);
542
+ const g = !!(n.onClick || n.onClickOnce);
543
+ return k(u.value.component, {
543
544
  tag: e.tag,
544
- icon: r.value.icon,
545
- class: ["v-icon", "notranslate", u.value, m.value, o.value, {
546
- "v-icon--clickable": y,
545
+ icon: u.value.icon,
546
+ class: ["v-icon", "notranslate", r.value, m.value, o.value, {
547
+ "v-icon--clickable": g,
547
548
  "v-icon--disabled": e.disabled,
548
549
  "v-icon--start": e.start,
549
550
  "v-icon--end": e.end
@@ -553,17 +554,17 @@ const St = w({
553
554
  height: A(e.size),
554
555
  width: A(e.size)
555
556
  }, f.value, e.style],
556
- role: y ? "button" : void 0,
557
- "aria-hidden": !y,
558
- tabindex: y ? e.disabled ? -1 : 0 : void 0
557
+ role: g ? "button" : void 0,
558
+ "aria-hidden": !g,
559
+ tabindex: g ? e.disabled ? -1 : 0 : void 0
559
560
  }, {
560
- default: () => [v]
561
+ default: () => [h]
561
562
  });
562
563
  }), {};
563
564
  }
564
- }), wt = /* @__PURE__ */ z({
565
+ }), _t = /* @__PURE__ */ z({
565
566
  __name: "index",
566
- props: /* @__PURE__ */ Y({
567
+ props: /* @__PURE__ */ K({
567
568
  min: { default: -1 / 0 },
568
569
  max: { default: 1 / 0 },
569
570
  precision: { default: 4 },
@@ -575,53 +576,53 @@ const St = w({
575
576
  }),
576
577
  emits: ["update:modelValue"],
577
578
  setup(e) {
578
- const t = ke(e, "modelValue"), s = e, n = C(() => ({
579
+ const t = Ce(e, "modelValue"), n = e, s = C(() => ({
579
580
  width: "250px"
580
581
  }));
581
- return (a, u) => {
582
- const r = H("v-text-field");
583
- return p(), Ce("div", {
584
- style: xe(n.value)
582
+ return (a, r) => {
583
+ const u = W("v-text-field");
584
+ return _(), xe("div", {
585
+ style: be(s.value)
585
586
  }, [
586
- k(r, {
587
+ k(u, {
587
588
  "model-value": t.value,
588
589
  variant: "outlined",
589
590
  density: "compact",
590
- readonly: s.readonly,
591
+ readonly: n.readonly,
591
592
  "hide-details": "",
592
593
  "single-line": ""
593
594
  }, null, 8, ["model-value", "readonly"])
594
595
  ], 4);
595
596
  };
596
597
  }
597
- }), me = /* @__PURE__ */ z({
598
+ }), ge = /* @__PURE__ */ z({
598
599
  __name: "index",
599
- props: /* @__PURE__ */ Y({
600
+ props: /* @__PURE__ */ K({
600
601
  readonly: { type: Boolean, default: !1 },
601
602
  hasDelete: { type: Boolean, default: !1 }
602
603
  }, {
603
604
  modelValue: {},
604
605
  modelModifiers: {}
605
606
  }),
606
- emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
607
+ emits: /* @__PURE__ */ K(["delete"], ["update:modelValue"]),
607
608
  setup(e, { emit: t }) {
608
- const s = ke(e, "modelValue"), n = e, a = t;
609
- return (u, r) => {
610
- const m = H("v-text-field");
611
- return p(), W(m, {
612
- modelValue: s.value,
613
- "onUpdate:modelValue": r[0] || (r[0] = (o) => s.value = o),
614
- "onClick:appendInner": r[1] || (r[1] = (o) => a("delete")),
609
+ const n = Ce(e, "modelValue"), s = e, a = t;
610
+ return (r, u) => {
611
+ const m = W("v-text-field");
612
+ return _(), G(m, {
613
+ modelValue: n.value,
614
+ "onUpdate:modelValue": u[0] || (u[0] = (o) => n.value = o),
615
+ "onClick:appendInner": u[1] || (u[1] = (o) => a("delete")),
615
616
  variant: "outlined",
616
617
  density: "compact",
617
- "append-inner-icon": n.hasDelete ? "$minus" : "",
618
- readonly: n.readonly,
618
+ "append-inner-icon": s.hasDelete ? "$minus" : "",
619
+ readonly: s.readonly,
619
620
  "hide-details": "",
620
621
  "single-line": ""
621
622
  }, null, 8, ["modelValue", "append-inner-icon", "readonly"]);
622
623
  };
623
624
  }
624
- }), ge = /* @__PURE__ */ z({
625
+ }), ye = /* @__PURE__ */ z({
625
626
  __name: "index",
626
627
  props: {
627
628
  title: {},
@@ -632,65 +633,64 @@ const St = w({
632
633
  },
633
634
  emits: ["collapse", "create", "delete"],
634
635
  setup(e, { emit: t }) {
635
- const s = e, n = t, a = C(() => ({
636
+ const n = e, s = t, a = C(() => ({
636
637
  height: "36px"
637
638
  }));
638
- return (u, r) => {
639
- const m = H("v-icon"), o = H("v-spacer"), f = Oe("ripple");
640
- return Ee((p(), Ce("div", {
641
- onClick: r[2] || (r[2] = (v) => n("collapse", !s.collapse)),
639
+ return (r, u) => {
640
+ const m = W("v-icon"), o = W("v-spacer"), f = Ee("ripple");
641
+ return Le((_(), xe("div", {
642
+ onClick: u[2] || (u[2] = (h) => s("collapse", !n.collapse)),
642
643
  class: "d-flex align-center",
643
- style: xe(a.value)
644
+ style: be(a.value)
644
645
  }, [
645
646
  k(m, {
646
647
  class: "mr-1",
647
- icon: s.collapse ? "$chevronRight" : "$chevronDown"
648
+ icon: n.collapse ? "$chevronRight" : "$chevronDown"
648
649
  }, null, 8, ["icon"]),
649
- Le("span", null, He(s.title), 1),
650
+ He("span", null, We(n.title), 1),
650
651
  k(o),
651
- s.hasCreate ? (p(), W(m, {
652
+ n.hasCreate ? (_(), G(m, {
652
653
  key: 0,
653
- onClick: r[0] || (r[0] = J((v) => n("create"), ["stop"])),
654
+ onClick: u[0] || (u[0] = Q((h) => s("create"), ["stop"])),
654
655
  class: "ml-3",
655
656
  icon: "$plus"
656
- })) : Q("", !0),
657
- s.hasDelete ? (p(), W(m, {
657
+ })) : j("", !0),
658
+ n.hasDelete ? (_(), G(m, {
658
659
  key: 1,
659
- onClick: r[1] || (r[1] = J((v) => n("delete", s.index), ["stop"])),
660
+ onClick: u[1] || (u[1] = Q((h) => s("delete", n.index), ["stop"])),
660
661
  class: "ml-3",
661
662
  icon: "$sub"
662
- })) : Q("", !0)
663
+ })) : j("", !0)
663
664
  ], 4)), [
664
665
  [f]
665
666
  ]);
666
667
  };
667
668
  }
668
- }), _t = /* @__PURE__ */ z({
669
+ }), Ft = /* @__PURE__ */ z({
669
670
  __name: "index",
670
671
  props: {
671
- i18n: {},
672
672
  unique: {},
673
673
  config: {},
674
674
  object: {}
675
675
  },
676
676
  emits: ["change"],
677
677
  setup(e, { emit: t }) {
678
- const { backgroundColor2: s } = We(), n = e, a = t, u = B("20px"), r = B("56px"), m = B("10px"), o = B("250px"), f = ye({});
679
- function v(d, l, i, c) {
680
- return l.keyFlag || (d += l.key), l.children ? l.array ? y(d, l, i, c) : S(d, l, i, c) : l.array ? V(d, l, i) : b(d, l, i);
678
+ const { t: n } = Ge(), { backgroundColor2: s } = Ue(), a = e, r = t, u = B("20px"), m = B("56px"), o = B("10px"), f = B("250px"), h = he({});
679
+ function g(d, l, i, c) {
680
+ return l.keyFlag || (d += l.key), l.children ? l.array ? S(d, l, i, c) : V(d, l, i, c) : l.array ? b(d, l, i) : M(d, l, i);
681
681
  }
682
- function y(d, l, i, c) {
683
- i[l.key] instanceof Array || (i[l.key] = [], a("change", d, i[l.key]));
684
- const $ = g(ge, {
685
- title: n.i18n.global.t(l.name),
682
+ function S(d, l, i, c) {
683
+ i[l.key] instanceof Array || (i[l.key] = [], r("change", d, i[l.key]));
684
+ const $ = y(ye, {
685
+ title: n(l.name),
686
686
  collapse: !!c.collapse,
687
- onCollapse: (h) => {
688
- c.collapse = h;
687
+ onCollapse: (v) => {
688
+ c.collapse = v;
689
689
  },
690
690
  onCreate: () => {
691
- i[l.key].push({}), a("change", d, i[l.key]);
691
+ i[l.key].push({}), r("change", d, i[l.key]);
692
692
  }
693
- }), x = g(
693
+ }), x = y(
694
694
  "div",
695
695
  {
696
696
  style: {
@@ -699,14 +699,14 @@ const St = w({
699
699
  },
700
700
  (() => {
701
701
  c[l.key] instanceof Array || (c[l.key] = []);
702
- for (let h = 0; h < i[l.key].length; h++)
703
- typeof c[l.key][h] != "object" && (c[l.key][h] = {
702
+ for (let v = 0; v < i[l.key].length; v++)
703
+ typeof c[l.key][v] != "object" && (c[l.key][v] = {
704
704
  collapse: !0
705
705
  });
706
706
  return [];
707
707
  })()
708
708
  );
709
- return g(
709
+ return y(
710
710
  "div",
711
711
  {
712
712
  style: {
@@ -715,19 +715,19 @@ const St = w({
715
715
  }
716
716
  },
717
717
  (() => {
718
- const h = [];
719
- return h.push($), c.collapse || h.push(x), h;
718
+ const v = [];
719
+ return v.push($), c.collapse || v.push(x), v;
720
720
  })()
721
721
  );
722
722
  }
723
- function S(d, l, i, c) {
724
- const $ = g(ge, {
725
- title: n.i18n.global.t(l.name),
723
+ function V(d, l, i, c) {
724
+ const $ = y(ye, {
725
+ title: n(l.name),
726
726
  collapse: !!c.collapse,
727
- onCollapse: (h) => {
728
- c.collapse = h;
727
+ onCollapse: (v) => {
728
+ c.collapse = v;
729
729
  }
730
- }), x = g(
730
+ }), x = y(
731
731
  "div",
732
732
  {
733
733
  style: {
@@ -735,23 +735,23 @@ const St = w({
735
735
  }
736
736
  },
737
737
  (() => {
738
- var P;
739
- const h = [];
740
- return (P = l.children) == null || P.forEach((N) => {
741
- typeof c[N.key] != "object" && (c[N.key] = {
738
+ var N;
739
+ const v = [];
740
+ return (N = l.children) == null || N.forEach((O) => {
741
+ typeof c[O.key] != "object" && (c[O.key] = {
742
742
  collapse: !0
743
743
  });
744
- const $e = v(
744
+ const Be = g(
745
745
  d,
746
- N,
747
- l.keyFlag ? i : (typeof i[l.key] != "object" && (i[l.key] = {}, a("change", d, i[l.key])), i[l.key]),
748
- c[N.key]
746
+ O,
747
+ l.keyFlag ? i : (typeof i[l.key] != "object" && (i[l.key] = {}, r("change", d, i[l.key])), i[l.key]),
748
+ c[O.key]
749
749
  );
750
- h.push($e);
751
- }), h;
750
+ v.push(Be);
751
+ }), v;
752
752
  })()
753
753
  );
754
- return g(
754
+ return y(
755
755
  "div",
756
756
  {
757
757
  style: {
@@ -760,14 +760,14 @@ const St = w({
760
760
  }
761
761
  },
762
762
  (() => {
763
- const h = [];
764
- return h.push($), c.collapse || h.push(x), h;
763
+ const v = [];
764
+ return v.push($), c.collapse || v.push(x), v;
765
765
  })()
766
766
  );
767
767
  }
768
- function V(d, l, i) {
769
- if (i[l.key] instanceof Array || (i[l.key] = O(l), a("change", d, i[l.key])), l.ui === "strInput")
770
- return g(
768
+ function b(d, l, i) {
769
+ if (i[l.key] instanceof Array || (i[l.key] = E(l), r("change", d, i[l.key])), l.ui === "strInput")
770
+ return y(
771
771
  "div",
772
772
  {
773
773
  class: {
@@ -776,27 +776,27 @@ const St = w({
776
776
  "align-center": !0
777
777
  },
778
778
  style: {
779
- marginRight: m.value
779
+ marginRight: o.value
780
780
  }
781
781
  },
782
782
  [
783
- g("span", {
783
+ y("span", {
784
784
  style: {
785
785
  marginLeft: "4px"
786
786
  },
787
- innerHTML: n.i18n.global.t(l.name)
787
+ innerHTML: n(l.name)
788
788
  }),
789
- g(
789
+ y(
790
790
  "div",
791
791
  {
792
792
  style: {
793
- width: o.value
793
+ width: f.value
794
794
  }
795
795
  },
796
796
  (() => {
797
797
  const c = [];
798
798
  for (let x = 0; x < i[l.key].length; x++) {
799
- const h = g(
799
+ const v = y(
800
800
  "div",
801
801
  {
802
802
  class: {
@@ -805,25 +805,25 @@ const St = w({
805
805
  "justify-center": !0
806
806
  },
807
807
  style: {
808
- height: r.value
808
+ height: m.value
809
809
  }
810
810
  },
811
811
  [
812
- g(me, {
812
+ y(ge, {
813
813
  modelValue: i[l.key][x],
814
- "onUpdate:modelValue": (P) => {
815
- i[l.key][x] = P, a("change", d, i[l.key]);
814
+ "onUpdate:modelValue": (N) => {
815
+ i[l.key][x] = N, r("change", d, i[l.key]);
816
816
  },
817
817
  hasDelete: !0,
818
818
  onDelete: () => {
819
- i[l.key].splice(x, 1), a("change", d, i[l.key]);
819
+ i[l.key].splice(x, 1), r("change", d, i[l.key]);
820
820
  }
821
821
  })
822
822
  ]
823
823
  );
824
- c.push(h);
824
+ c.push(v);
825
825
  }
826
- const $ = g(
826
+ const $ = y(
827
827
  "div",
828
828
  {
829
829
  class: {
@@ -841,10 +841,10 @@ const St = w({
841
841
  border: "thin dashed #bdbdbd"
842
842
  },
843
843
  onClick: () => {
844
- i[l.key].push(""), a("change", d, i[l.key]);
844
+ i[l.key].push(""), r("change", d, i[l.key]);
845
845
  }
846
846
  },
847
- [g(Vt, { icon: "$plus" })]
847
+ [y(pt, { icon: "$plus" })]
848
848
  );
849
849
  return c.push($), c;
850
850
  })()
@@ -853,12 +853,12 @@ const St = w({
853
853
  );
854
854
  console.assert(!1);
855
855
  }
856
- function b(d, l, i) {
856
+ function M(d, l, i) {
857
857
  if (l.ui === "void")
858
- i[l.key] === void 0 && (console.assert(l.default !== void 0), i[l.key] = O(l), a("change", d, i[l.key]));
858
+ i[l.key] === void 0 && (console.assert(l.default !== void 0), i[l.key] = E(l), r("change", d, i[l.key]));
859
859
  else {
860
860
  if (l.ui === "strInput")
861
- return g(
861
+ return y(
862
862
  "div",
863
863
  {
864
864
  class: {
@@ -867,29 +867,29 @@ const St = w({
867
867
  "align-center": !0
868
868
  },
869
869
  style: {
870
- height: r.value,
871
- marginRight: m.value
870
+ height: m.value,
871
+ marginRight: o.value
872
872
  }
873
873
  },
874
874
  [
875
- g("span", {
875
+ y("span", {
876
876
  style: {
877
877
  marginLeft: "4px"
878
878
  },
879
- innerHTML: n.i18n.global.t(l.name)
879
+ innerHTML: n(l.name)
880
880
  }),
881
- g(
881
+ y(
882
882
  "div",
883
883
  {
884
884
  style: {
885
- width: o.value
885
+ width: f.value
886
886
  }
887
887
  },
888
888
  [
889
- g(me, {
890
- modelValue: l.static ? l.value : (typeof i[l.key] != "string" && (i[l.key] = O(l), a("change", d, i[l.key])), i[l.key]),
889
+ y(ge, {
890
+ modelValue: l.static ? l.value : (typeof i[l.key] != "string" && (i[l.key] = E(l), r("change", d, i[l.key])), i[l.key]),
891
891
  "onUpdate:modelValue": (c) => {
892
- l.static || c !== i[l.key] && (i[l.key] = c, a("change", d, c));
892
+ l.static || c !== i[l.key] && (i[l.key] = c, r("change", d, c));
893
893
  },
894
894
  readonly: l.static || l.readonly
895
895
  })
@@ -898,7 +898,7 @@ const St = w({
898
898
  ]
899
899
  );
900
900
  if (l.ui === "numInput")
901
- return g(
901
+ return y(
902
902
  "div",
903
903
  {
904
904
  class: {
@@ -907,29 +907,29 @@ const St = w({
907
907
  "align-center": !0
908
908
  },
909
909
  style: {
910
- height: r.value,
911
- marginRight: m.value
910
+ height: m.value,
911
+ marginRight: o.value
912
912
  }
913
913
  },
914
914
  [
915
- g("span", {
915
+ y("span", {
916
916
  style: {
917
917
  marginLeft: "4px"
918
918
  },
919
- innerHTML: n.i18n.global.t(l.name)
919
+ innerHTML: n(l.name)
920
920
  }),
921
- g(
921
+ y(
922
922
  "div",
923
923
  {
924
924
  style: {
925
- width: o.value
925
+ width: f.value
926
926
  }
927
927
  },
928
928
  [
929
- g(wt, {
930
- modelValue: (typeof i[l.key] != "number" && (i[l.key] = O(l), a("change", d, i[l.key])), i[l.key]),
929
+ y(_t, {
930
+ modelValue: (typeof i[l.key] != "number" && (i[l.key] = E(l), r("change", d, i[l.key])), i[l.key]),
931
931
  "onUpdate:modelValue": (c) => {
932
- c !== i[l.key] && (i[l.key] = c, a("change", d, c));
932
+ c !== i[l.key] && (i[l.key] = c, r("change", d, c));
933
933
  },
934
934
  readonly: l.readonly
935
935
  })
@@ -939,7 +939,7 @@ const St = w({
939
939
  );
940
940
  }
941
941
  }
942
- const M = () => g(
942
+ const P = () => y(
943
943
  "div",
944
944
  {
945
945
  class: {
@@ -948,22 +948,22 @@ const St = w({
948
948
  },
949
949
  (() => {
950
950
  const d = [];
951
- if (n.unique && n.config && n.object) {
952
- f[n.unique] || (f[n.unique] = {});
953
- const l = f[n.unique];
954
- n.config.forEach((i) => {
955
- const c = v("", i, n.object, l);
951
+ if (a.unique && a.config && a.object) {
952
+ h[a.unique] || (h[a.unique] = {});
953
+ const l = h[a.unique];
954
+ a.config.forEach((i) => {
955
+ const c = g("", i, a.object, l);
956
956
  d.push(c);
957
957
  });
958
958
  }
959
959
  return d;
960
960
  })()
961
961
  );
962
- return (d, l) => (p(), W(M));
962
+ return (d, l) => (_(), G(P));
963
963
  }
964
- }), pt = (e) => {
965
- e.component("x-prop-tree", _t);
966
- }, It = { install: pt };
964
+ }), $t = (e) => {
965
+ e.component("x-prop-tree", Ft);
966
+ }, Tt = { install: $t };
967
967
  export {
968
- It as default
968
+ Tt as default
969
969
  };