x-prop-tree 0.3.1 → 0.3.3

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";
2
+ import { Fragment as Ae, reactive as ve, computed as k, watchEffect as Ce, toRefs as De, warn as Le, getCurrentInstance as Me, inject as Q, shallowRef as Te, provide as ke, defineComponent as M, isRef as ze, createVNode as C, mergeProps as Re, unref as W, ref as I, toRef as Pe, Text as Ne, mergeModels as K, useModel as xe, resolveComponent as G, openBlock as _, createElementBlock as be, normalizeStyle as Se, createBlock as U, resolveDirective as Oe, withDirectives as Ee, createElementVNode as He, toDisplayString as We, withModifiers as j, createCommentVNode as ee, h as y } from "vue";
3
+ import { useI18n as Ge } from "vue-i18n";
4
+ import { useColor as Ue } from "x-essential-lib";
4
5
  import { getPropDefault as O } 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 te(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 Ze(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 ne(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 Ye(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 Ve() {
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 (te(r) && te(u)) {
61
+ s[a] = Ve(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 we(e) {
73
+ return e.map((t) => t.type === Ae ? we(t.children) : t).flat();
73
74
  }
74
75
  function F() {
75
76
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
@@ -79,471 +80,471 @@ 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 pe(e) {
84
+ const t = ve({}), n = k(e);
85
+ return Ce(() => {
86
+ for (const s in n.value)
87
+ t[s] = n.value[s];
87
88
  }, {
88
89
  flush: "sync"
89
- }), Ie(t);
90
+ }), De(t);
90
91
  }
91
- function Ye(e, t) {
92
+ function Ke(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, se = 0.2126729, ae = 0.7151522, le = 0.072175, Xe = 0.55, Je = 0.58, Qe = 0.57, je = 0.62, E = 0.03, re = 1.45, et = 5e-4, tt = 1.25, nt = 1.25, ie = 0.078, ue = 12.82051282051282, H = 0.06, oe = 1e-3;
96
+ function ce(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 * se + s * ae + a * le, f = r * se + u * ae + m * le;
99
+ if (o <= E && (o += (E - o) ** re), f <= E && (f += (E - f) ** re), 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 ** Xe - o ** Je) * tt;
104
+ h = g < oe ? 0 : g < ie ? g - g * ue * 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 > -oe ? 0 : g > -ie ? g - g * ue * 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
+ Le(`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 fe = /^(?<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) => de({
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) => de({
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) => L({
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) => L({
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
- function I(e) {
158
+ function $(e) {
158
159
  if (typeof e == "number")
159
160
  return (isNaN(e) || e < 0 || e > 16777215) && D(`'${e}' is not a valid hex color`), {
160
161
  r: (e & 16711680) >> 16,
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" && fe.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(fe), {
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"]))
183
- return T(e);
181
+ if (Y(e, ["h", "s", "l"]))
182
+ return L(_e(e));
183
+ if (Y(e, ["h", "s", "v"]))
184
+ return L(e);
184
185
  }
185
186
  throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name}
186
187
  Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`);
187
188
  }
188
- function T(e) {
189
+ function L(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 de(e) {
207
+ return L(_e(e));
207
208
  }
208
- function we(e) {
209
+ function _e(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] = Ye(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 = ne(ne(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(ce($(0), $(e)));
238
+ return Math.abs(ce($(16777215), $(e))) > Math.min(t, 50) ? "#fff" : "#000";
238
239
  }
239
- function R(e, t) {
240
- const s = De();
241
- if (!s)
240
+ function T(e, t) {
241
+ const n = Me();
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
- const t = R(e).type;
248
+ const t = T(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
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : R("injectSelf");
251
+ function ot(e) {
252
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : T("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
- function _e() {
260
- const e = Z(X);
259
+ const J = Symbol.for("vuetify:defaults");
260
+ function Fe() {
261
+ const e = Q(J);
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] : Fe();
272
+ const s = T("useDefaults");
273
+ if (t = t ?? s.type.name ?? s.type.__name, !t)
273
274
  throw new Error("[Vuetify] Could not determine component name");
274
- const a = C(() => {
275
+ const a = k(() => {
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, z, R, 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] : ((z = (b = n.value) == null ? void 0 : b.global) == null ? void 0 : z[f]) !== void 0 ? (d = (R = n.value) == null ? void 0 : R.global) == null ? void 0 : d[f] : h : h;
282
283
  }
283
- }), r = Te();
284
- he(() => {
284
+ }), u = Te();
285
+ Ce(() => {
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(J, s);
297
+ ke(J, k(() => u.value ? Ve((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 q(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 Ze(s, t);
312
+ }, e.props._as = String, e.setup = function(s, a) {
313
+ const r = Fe();
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 Be() {
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 ? q : M)(t);
327
328
  }
328
- function ct(e) {
329
- const t = R("useRender");
329
+ function dt(e) {
330
+ const t = T("useRender");
330
331
  t.render = e;
331
332
  }
332
- const fe = Symbol.for("vuetify:theme"), ft = w({
333
+ const me = Symbol.for("vuetify:theme"), mt = w({
333
334
  theme: String
334
335
  }, "theme");
335
- function dt(e) {
336
- R("provideTheme");
337
- const t = Z(fe, null);
336
+ function gt(e) {
337
+ T("provideTheme");
338
+ const t = Q(me, 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 = k(() => e.theme ?? t.name.value), s = k(() => t.themes.value[n.value]), a = k(() => 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(me, 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 pe(() => {
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 = $(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(() => ({
375
+ function vt(e, t) {
376
+ const n = k(() => ({
376
377
  text: ze(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 Ie = [String, Function, Object, Array], Ct = Symbol.for("vuetify:icons"), Z = w({
387
388
  icon: {
388
- type: Fe
389
+ type: Ie
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"), ge = Be()({
396
397
  name: "VComponentIcon",
397
- props: U(),
398
+ props: Z(),
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
- return k(e.tag, null, {
404
+ const s = e.icon;
405
+ return C(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 ? C(s, null, null) : (a = n.default) == null ? void 0 : a.call(n)];
408
409
  }
409
410
  });
410
411
  };
411
412
  }
412
- }), vt = G({
413
+ }), kt = q({
413
414
  name: "VSvgIcon",
414
415
  inheritAttrs: !1,
415
- props: U(),
416
+ props: Z(),
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 () => C(e.tag, Re(n, {
421
422
  style: null
422
423
  }), {
423
- default: () => [k("svg", {
424
+ default: () => [C("svg", {
424
425
  class: "v-icon__svg",
425
426
  xmlns: "http://www.w3.org/2000/svg",
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]
432
- }, null) : k("path", {
433
- d: n
434
- }, null)) : k("path", {
430
+ }, [Array.isArray(e.icon) ? e.icon.map((s) => Array.isArray(s) ? C("path", {
431
+ d: s[0],
432
+ "fill-opacity": s[1]
433
+ }, null) : C("path", {
434
+ d: s
435
+ }, null)) : C("path", {
435
436
  d: e.icon
436
437
  }, null)])]
437
438
  });
438
439
  }
439
440
  });
440
- G({
441
+ q({
441
442
  name: "VLigatureIcon",
442
- props: U(),
443
+ props: Z(),
443
444
  setup(e) {
444
- return () => k(e.tag, null, {
445
+ return () => C(e.tag, null, {
445
446
  default: () => [e.icon]
446
447
  });
447
448
  }
448
449
  });
449
- G({
450
+ q({
450
451
  name: "VClassIcon",
451
- props: U(),
452
+ props: Z(),
452
453
  setup(e) {
453
- return () => k(e.tag, {
454
+ return () => C(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 = Q(Ct);
460
461
  if (!t)
461
462
  throw new Error("Missing Vuetify Icons provide!");
462
463
  return {
463
- iconData: C(() => {
464
+ iconData: k(() => {
464
465
  var o;
465
- const n = Me(e);
466
- if (!n)
466
+ const s = W(e);
467
+ if (!s)
467
468
  return {
468
- component: de
469
+ component: ge
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: kt,
474
475
  icon: a
475
476
  };
476
477
  if (typeof a != "string")
477
478
  return {
478
- component: de,
479
+ component: ge,
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 pe(() => {
498
+ let n, s;
499
+ return Ke(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: Ie,
514
+ ...qe(),
515
+ ...St(),
516
+ ...yt({
516
517
  tag: "i"
517
518
  }),
518
- ...ft()
519
- }, "VIcon"), Vt = pe()({
519
+ ...mt()
520
+ }, "VIcon"), pt = Be()({
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
- const a = B(), {
528
- themeClasses: u
529
- } = dt(e), {
530
- iconData: r
531
- } = kt(C(() => a.value || e.icon)), {
528
+ const a = I(), {
529
+ themeClasses: r
530
+ } = gt(e), {
531
+ iconData: u
532
+ } = xt(k(() => 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(Pe(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 = we(h).filter((b) => b.type === Ne && b.children && typeof b.children == "string")[0]) == null ? void 0 : V.children);
542
+ const g = !!(n.onClick || n.onClickOnce);
543
+ return C(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__ */ M({
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,55 @@ 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 = xe(e, "modelValue"), n = e, s = k(() => ({
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 = G("v-text-field");
584
+ return _(), be("div", {
585
+ style: Se(s.value)
585
586
  }, [
586
- k(r, {
587
+ C(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
+ });
599
+ var Ft = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", Bt = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", It = "M19,13H5V11H19V13Z";
600
+ const ye = /* @__PURE__ */ M({
598
601
  __name: "index",
599
- props: /* @__PURE__ */ Y({
602
+ props: /* @__PURE__ */ K({
600
603
  readonly: { type: Boolean, default: !1 },
601
604
  hasDelete: { type: Boolean, default: !1 }
602
605
  }, {
603
606
  modelValue: {},
604
607
  modelModifiers: {}
605
608
  }),
606
- emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
609
+ emits: /* @__PURE__ */ K(["delete"], ["update:modelValue"]),
607
610
  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")),
611
+ const n = xe(e, "modelValue"), s = e, a = t;
612
+ return (r, u) => {
613
+ const m = G("v-text-field");
614
+ return _(), U(m, {
615
+ modelValue: n.value,
616
+ "onUpdate:modelValue": u[0] || (u[0] = (o) => n.value = o),
617
+ "onClick:appendInner": u[1] || (u[1] = (o) => a("delete")),
615
618
  variant: "outlined",
616
619
  density: "compact",
617
- "append-inner-icon": n.hasDelete ? "$minus" : "",
618
- readonly: n.readonly,
620
+ "append-inner-icon": s.hasDelete ? W(It) : "",
621
+ readonly: s.readonly,
619
622
  "hide-details": "",
620
623
  "single-line": ""
621
624
  }, null, 8, ["modelValue", "append-inner-icon", "readonly"]);
622
625
  };
623
626
  }
624
- }), ge = /* @__PURE__ */ z({
627
+ }), he = /* @__PURE__ */ M({
625
628
  __name: "index",
626
629
  props: {
627
630
  title: {},
@@ -632,65 +635,64 @@ const St = w({
632
635
  },
633
636
  emits: ["collapse", "create", "delete"],
634
637
  setup(e, { emit: t }) {
635
- const s = e, n = t, a = C(() => ({
638
+ const n = e, s = t, a = k(() => ({
636
639
  height: "36px"
637
640
  }));
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)),
641
+ return (r, u) => {
642
+ const m = G("v-icon"), o = G("v-spacer"), f = Oe("ripple");
643
+ return Ee((_(), be("div", {
644
+ onClick: u[2] || (u[2] = (h) => s("collapse", !n.collapse)),
642
645
  class: "d-flex align-center",
643
- style: xe(a.value)
646
+ style: Se(a.value)
644
647
  }, [
645
- k(m, {
648
+ C(m, {
646
649
  class: "mr-1",
647
- icon: s.collapse ? "$chevronRight" : "$chevronDown"
650
+ icon: n.collapse ? W(Bt) : W(Ft)
648
651
  }, null, 8, ["icon"]),
649
- Le("span", null, He(s.title), 1),
650
- k(o),
651
- s.hasCreate ? (p(), W(m, {
652
+ He("span", null, We(n.title), 1),
653
+ C(o),
654
+ n.hasCreate ? (_(), U(m, {
652
655
  key: 0,
653
- onClick: r[0] || (r[0] = J((v) => n("create"), ["stop"])),
656
+ onClick: u[0] || (u[0] = j((h) => s("create"), ["stop"])),
654
657
  class: "ml-3",
655
658
  icon: "$plus"
656
- })) : Q("", !0),
657
- s.hasDelete ? (p(), W(m, {
659
+ })) : ee("", !0),
660
+ n.hasDelete ? (_(), U(m, {
658
661
  key: 1,
659
- onClick: r[1] || (r[1] = J((v) => n("delete", s.index), ["stop"])),
662
+ onClick: u[1] || (u[1] = j((h) => s("delete", n.index), ["stop"])),
660
663
  class: "ml-3",
661
664
  icon: "$sub"
662
- })) : Q("", !0)
665
+ })) : ee("", !0)
663
666
  ], 4)), [
664
667
  [f]
665
668
  ]);
666
669
  };
667
670
  }
668
- }), _t = /* @__PURE__ */ z({
671
+ }), $t = /* @__PURE__ */ M({
669
672
  __name: "index",
670
673
  props: {
671
- i18n: {},
672
674
  unique: {},
673
675
  config: {},
674
676
  object: {}
675
677
  },
676
678
  emits: ["change"],
677
679
  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);
680
+ const { t: n } = Ge(), { backgroundColor2: s } = Ue(), a = e, r = t, u = I("20px"), m = I("56px"), o = I("10px"), f = I("250px"), h = ve({});
681
+ function g(d, l, i, c) {
682
+ 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) : z(d, l, i);
681
683
  }
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),
684
+ function S(d, l, i, c) {
685
+ i[l.key] instanceof Array || (i[l.key] = [], r("change", d, i[l.key]));
686
+ const B = y(he, {
687
+ title: n(l.name),
686
688
  collapse: !!c.collapse,
687
- onCollapse: (h) => {
688
- c.collapse = h;
689
+ onCollapse: (v) => {
690
+ c.collapse = v;
689
691
  },
690
692
  onCreate: () => {
691
- i[l.key].push({}), a("change", d, i[l.key]);
693
+ i[l.key].push({}), r("change", d, i[l.key]);
692
694
  }
693
- }), x = g(
695
+ }), x = y(
694
696
  "div",
695
697
  {
696
698
  style: {
@@ -699,14 +701,14 @@ const St = w({
699
701
  },
700
702
  (() => {
701
703
  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] = {
704
+ for (let v = 0; v < i[l.key].length; v++)
705
+ typeof c[l.key][v] != "object" && (c[l.key][v] = {
704
706
  collapse: !0
705
707
  });
706
708
  return [];
707
709
  })()
708
710
  );
709
- return g(
711
+ return y(
710
712
  "div",
711
713
  {
712
714
  style: {
@@ -715,19 +717,19 @@ const St = w({
715
717
  }
716
718
  },
717
719
  (() => {
718
- const h = [];
719
- return h.push($), c.collapse || h.push(x), h;
720
+ const v = [];
721
+ return v.push(B), c.collapse || v.push(x), v;
720
722
  })()
721
723
  );
722
724
  }
723
- function S(d, l, i, c) {
724
- const $ = g(ge, {
725
- title: n.i18n.global.t(l.name),
725
+ function V(d, l, i, c) {
726
+ const B = y(he, {
727
+ title: n(l.name),
726
728
  collapse: !!c.collapse,
727
- onCollapse: (h) => {
728
- c.collapse = h;
729
+ onCollapse: (v) => {
730
+ c.collapse = v;
729
731
  }
730
- }), x = g(
732
+ }), x = y(
731
733
  "div",
732
734
  {
733
735
  style: {
@@ -736,22 +738,22 @@ const St = w({
736
738
  },
737
739
  (() => {
738
740
  var P;
739
- const h = [];
741
+ const v = [];
740
742
  return (P = l.children) == null || P.forEach((N) => {
741
743
  typeof c[N.key] != "object" && (c[N.key] = {
742
744
  collapse: !0
743
745
  });
744
- const $e = v(
746
+ const $e = g(
745
747
  d,
746
748
  N,
747
- l.keyFlag ? i : (typeof i[l.key] != "object" && (i[l.key] = {}, a("change", d, i[l.key])), i[l.key]),
749
+ l.keyFlag ? i : (typeof i[l.key] != "object" && (i[l.key] = {}, r("change", d, i[l.key])), i[l.key]),
748
750
  c[N.key]
749
751
  );
750
- h.push($e);
751
- }), h;
752
+ v.push($e);
753
+ }), v;
752
754
  })()
753
755
  );
754
- return g(
756
+ return y(
755
757
  "div",
756
758
  {
757
759
  style: {
@@ -760,14 +762,14 @@ const St = w({
760
762
  }
761
763
  },
762
764
  (() => {
763
- const h = [];
764
- return h.push($), c.collapse || h.push(x), h;
765
+ const v = [];
766
+ return v.push(B), c.collapse || v.push(x), v;
765
767
  })()
766
768
  );
767
769
  }
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(
770
+ function b(d, l, i) {
771
+ if (i[l.key] instanceof Array || (i[l.key] = O(l), r("change", d, i[l.key])), l.ui === "strInput")
772
+ return y(
771
773
  "div",
772
774
  {
773
775
  class: {
@@ -776,27 +778,27 @@ const St = w({
776
778
  "align-center": !0
777
779
  },
778
780
  style: {
779
- marginRight: m.value
781
+ marginRight: o.value
780
782
  }
781
783
  },
782
784
  [
783
- g("span", {
785
+ y("span", {
784
786
  style: {
785
787
  marginLeft: "4px"
786
788
  },
787
- innerHTML: n.i18n.global.t(l.name)
789
+ innerHTML: n(l.name)
788
790
  }),
789
- g(
791
+ y(
790
792
  "div",
791
793
  {
792
794
  style: {
793
- width: o.value
795
+ width: f.value
794
796
  }
795
797
  },
796
798
  (() => {
797
799
  const c = [];
798
800
  for (let x = 0; x < i[l.key].length; x++) {
799
- const h = g(
801
+ const v = y(
800
802
  "div",
801
803
  {
802
804
  class: {
@@ -805,25 +807,25 @@ const St = w({
805
807
  "justify-center": !0
806
808
  },
807
809
  style: {
808
- height: r.value
810
+ height: m.value
809
811
  }
810
812
  },
811
813
  [
812
- g(me, {
814
+ y(ye, {
813
815
  modelValue: i[l.key][x],
814
816
  "onUpdate:modelValue": (P) => {
815
- i[l.key][x] = P, a("change", d, i[l.key]);
817
+ i[l.key][x] = P, r("change", d, i[l.key]);
816
818
  },
817
819
  hasDelete: !0,
818
820
  onDelete: () => {
819
- i[l.key].splice(x, 1), a("change", d, i[l.key]);
821
+ i[l.key].splice(x, 1), r("change", d, i[l.key]);
820
822
  }
821
823
  })
822
824
  ]
823
825
  );
824
- c.push(h);
826
+ c.push(v);
825
827
  }
826
- const $ = g(
828
+ const B = y(
827
829
  "div",
828
830
  {
829
831
  class: {
@@ -841,24 +843,24 @@ const St = w({
841
843
  border: "thin dashed #bdbdbd"
842
844
  },
843
845
  onClick: () => {
844
- i[l.key].push(""), a("change", d, i[l.key]);
846
+ i[l.key].push(""), r("change", d, i[l.key]);
845
847
  }
846
848
  },
847
- [g(Vt, { icon: "$plus" })]
849
+ [y(pt, { icon: "$plus" })]
848
850
  );
849
- return c.push($), c;
851
+ return c.push(B), c;
850
852
  })()
851
853
  )
852
854
  ]
853
855
  );
854
856
  console.assert(!1);
855
857
  }
856
- function b(d, l, i) {
858
+ function z(d, l, i) {
857
859
  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]));
860
+ i[l.key] === void 0 && (console.assert(l.default !== void 0), i[l.key] = O(l), r("change", d, i[l.key]));
859
861
  else {
860
862
  if (l.ui === "strInput")
861
- return g(
863
+ return y(
862
864
  "div",
863
865
  {
864
866
  class: {
@@ -867,29 +869,29 @@ const St = w({
867
869
  "align-center": !0
868
870
  },
869
871
  style: {
870
- height: r.value,
871
- marginRight: m.value
872
+ height: m.value,
873
+ marginRight: o.value
872
874
  }
873
875
  },
874
876
  [
875
- g("span", {
877
+ y("span", {
876
878
  style: {
877
879
  marginLeft: "4px"
878
880
  },
879
- innerHTML: n.i18n.global.t(l.name)
881
+ innerHTML: n(l.name)
880
882
  }),
881
- g(
883
+ y(
882
884
  "div",
883
885
  {
884
886
  style: {
885
- width: o.value
887
+ width: f.value
886
888
  }
887
889
  },
888
890
  [
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]),
891
+ y(ye, {
892
+ modelValue: l.static ? l.value : (typeof i[l.key] != "string" && (i[l.key] = O(l), r("change", d, i[l.key])), i[l.key]),
891
893
  "onUpdate:modelValue": (c) => {
892
- l.static || c !== i[l.key] && (i[l.key] = c, a("change", d, c));
894
+ l.static || c !== i[l.key] && (i[l.key] = c, r("change", d, c));
893
895
  },
894
896
  readonly: l.static || l.readonly
895
897
  })
@@ -898,7 +900,7 @@ const St = w({
898
900
  ]
899
901
  );
900
902
  if (l.ui === "numInput")
901
- return g(
903
+ return y(
902
904
  "div",
903
905
  {
904
906
  class: {
@@ -907,29 +909,29 @@ const St = w({
907
909
  "align-center": !0
908
910
  },
909
911
  style: {
910
- height: r.value,
911
- marginRight: m.value
912
+ height: m.value,
913
+ marginRight: o.value
912
914
  }
913
915
  },
914
916
  [
915
- g("span", {
917
+ y("span", {
916
918
  style: {
917
919
  marginLeft: "4px"
918
920
  },
919
- innerHTML: n.i18n.global.t(l.name)
921
+ innerHTML: n(l.name)
920
922
  }),
921
- g(
923
+ y(
922
924
  "div",
923
925
  {
924
926
  style: {
925
- width: o.value
927
+ width: f.value
926
928
  }
927
929
  },
928
930
  [
929
- g(wt, {
930
- modelValue: (typeof i[l.key] != "number" && (i[l.key] = O(l), a("change", d, i[l.key])), i[l.key]),
931
+ y(_t, {
932
+ modelValue: (typeof i[l.key] != "number" && (i[l.key] = O(l), r("change", d, i[l.key])), i[l.key]),
931
933
  "onUpdate:modelValue": (c) => {
932
- c !== i[l.key] && (i[l.key] = c, a("change", d, c));
934
+ c !== i[l.key] && (i[l.key] = c, r("change", d, c));
933
935
  },
934
936
  readonly: l.readonly
935
937
  })
@@ -939,7 +941,7 @@ const St = w({
939
941
  );
940
942
  }
941
943
  }
942
- const M = () => g(
944
+ const R = () => y(
943
945
  "div",
944
946
  {
945
947
  class: {
@@ -948,22 +950,22 @@ const St = w({
948
950
  },
949
951
  (() => {
950
952
  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);
953
+ if (a.unique && a.config && a.object) {
954
+ h[a.unique] || (h[a.unique] = {});
955
+ const l = h[a.unique];
956
+ a.config.forEach((i) => {
957
+ const c = g("", i, a.object, l);
956
958
  d.push(c);
957
959
  });
958
960
  }
959
961
  return d;
960
962
  })()
961
963
  );
962
- return (d, l) => (p(), W(M));
964
+ return (d, l) => (_(), U(R));
963
965
  }
964
- }), pt = (e) => {
965
- e.component("x-prop-tree", _t);
966
- }, It = { install: pt };
966
+ }), At = (e) => {
967
+ e.component("x-prop-tree", $t);
968
+ }, zt = { install: At };
967
969
  export {
968
- It as default
970
+ zt as default
969
971
  };