x-prop-tree 0.4.8 → 0.4.10
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/components/propTree/util.d.ts +2 -0
- package/dist/index.js +258 -246
- package/package.json +2 -2
- package/dist/components/propTree/colorPicker/index.vue.d.ts +0 -2
- package/dist/components/propTree/keyValue/index.vue.d.ts +0 -16
- package/dist/components/propTree/numInput/index.vue.d.ts +0 -17
- package/dist/components/propTree/select/index.vue.d.ts +0 -17
- package/dist/components/propTree/strInput/index.vue.d.ts +0 -14
- package/dist/components/propTree/switch/index.vue.d.ts +0 -13
- package/dist/components/propTree/title/index.vue.d.ts +0 -17
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 ae, reactive as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { useColor as ue, eventBus as
|
|
5
|
-
import { getPropDefault as
|
|
6
|
-
var
|
|
7
|
-
function
|
|
2
|
+
import { Fragment as ae, reactive as Be, computed as V, watchEffect as $e, toRefs as qe, warn as Xe, getCurrentInstance as Ye, inject as re, shallowRef as Ze, provide as Ie, defineComponent as B, isRef as Me, createVNode as C, mergeProps as Fe, unref as A, ref as I, toRef as Ke, Text as Je, resolveDirective as G, withDirectives as q, openBlock as x, createElementBlock as j, normalizeStyle as De, withModifiers as Q, renderSlot as Qe, resolveComponent as _, createBlock as M, withCtx as T, renderList as je, createTextVNode as Ae, toDisplayString as ie, createElementVNode as en, createCommentVNode as oe, mergeModels as H, useModel as X, h as k } from "vue";
|
|
3
|
+
import { useI18n as Te } from "vue-i18n";
|
|
4
|
+
import { useColor as ue, eventBus as Pe, useViewStack as nn } from "x-essential-lib";
|
|
5
|
+
import { getPropDefault as D } from "x-runtime-lib";
|
|
6
|
+
var tn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", ln = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", Le = "M19,13H5V11H19V13Z", ze = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
|
|
7
|
+
function P(e, n) {
|
|
8
8
|
return (t) => Object.keys(e).reduce((l, a) => {
|
|
9
9
|
const i = typeof e[a] == "object" && e[a] != null && !Array.isArray(e[a]) ? e[a] : {
|
|
10
10
|
type: e[a]
|
|
@@ -15,14 +15,14 @@ function L(e, n) {
|
|
|
15
15
|
} : l[a] = i, n && !l[a].source && (l[a].source = n), l;
|
|
16
16
|
}, {});
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const sn = P({
|
|
19
19
|
class: [String, Array, Object],
|
|
20
20
|
style: {
|
|
21
21
|
type: [String, Array, Object],
|
|
22
22
|
default: null
|
|
23
23
|
}
|
|
24
24
|
}, "component");
|
|
25
|
-
function
|
|
25
|
+
function E(e) {
|
|
26
26
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px";
|
|
27
27
|
if (!(e == null || e === ""))
|
|
28
28
|
return isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${n}` : void 0;
|
|
@@ -34,7 +34,7 @@ function ce(e) {
|
|
|
34
34
|
function te(e, n) {
|
|
35
35
|
return n.every((t) => e.hasOwnProperty(t));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function an(e, n) {
|
|
38
38
|
const t = {}, l = new Set(Object.keys(e));
|
|
39
39
|
for (const a of n)
|
|
40
40
|
l.has(a) && (t[a] = e[a]);
|
|
@@ -44,7 +44,7 @@ function de(e, n) {
|
|
|
44
44
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
|
|
45
45
|
return e + t.repeat(Math.max(0, n - e.length));
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function rn(e) {
|
|
48
48
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
49
49
|
const t = [];
|
|
50
50
|
let l = 0;
|
|
@@ -52,7 +52,7 @@ function an(e) {
|
|
|
52
52
|
t.push(e.substr(l, n)), l += n;
|
|
53
53
|
return t;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Oe() {
|
|
56
56
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 ? arguments[2] : void 0;
|
|
57
57
|
const l = {};
|
|
58
58
|
for (const a in e)
|
|
@@ -60,7 +60,7 @@ function ze() {
|
|
|
60
60
|
for (const a in n) {
|
|
61
61
|
const r = e[a], i = n[a];
|
|
62
62
|
if (ce(r) && ce(i)) {
|
|
63
|
-
l[a] =
|
|
63
|
+
l[a] = Oe(r, i, t);
|
|
64
64
|
continue;
|
|
65
65
|
}
|
|
66
66
|
if (t && Array.isArray(r) && Array.isArray(i)) {
|
|
@@ -71,53 +71,53 @@ function ze() {
|
|
|
71
71
|
}
|
|
72
72
|
return l;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
return e.map((n) => n.type === ae ?
|
|
74
|
+
function He(e) {
|
|
75
|
+
return e.map((n) => n.type === ae ? He(n.children) : n).flat();
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function O() {
|
|
78
78
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
79
|
-
if (
|
|
79
|
+
if (O.cache.has(e)) return O.cache.get(e);
|
|
80
80
|
const n = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase();
|
|
81
|
-
return
|
|
81
|
+
return O.cache.set(e, n), n;
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
function
|
|
85
|
-
const n =
|
|
86
|
-
return
|
|
83
|
+
O.cache = /* @__PURE__ */ new Map();
|
|
84
|
+
function Ne(e) {
|
|
85
|
+
const n = Be({}), t = V(e);
|
|
86
|
+
return $e(() => {
|
|
87
87
|
for (const l in t.value)
|
|
88
88
|
n[l] = t.value[l];
|
|
89
89
|
}, {
|
|
90
90
|
flush: "sync"
|
|
91
|
-
}),
|
|
91
|
+
}), qe(n);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function un(e, n) {
|
|
94
94
|
return e.includes(n);
|
|
95
95
|
}
|
|
96
|
-
const
|
|
96
|
+
const z = 2.4, fe = 0.2126729, me = 0.7151522, ge = 0.072175, on = 0.55, cn = 0.58, dn = 0.57, fn = 0.62, K = 0.03, ye = 1.45, mn = 5e-4, gn = 1.25, yn = 1.25, ve = 0.078, he = 12.82051282051282, J = 0.06, ke = 1e-3;
|
|
97
97
|
function Ce(e, n) {
|
|
98
|
-
const t = (e.r / 255) **
|
|
99
|
-
let c = t * fe + l * me + a * ge, o = r * fe + i * me +
|
|
100
|
-
if (c <= K && (c += (K - c) ** ye), o <= K && (o += (K - o) ** ye), Math.abs(o - c) <
|
|
98
|
+
const t = (e.r / 255) ** z, l = (e.g / 255) ** z, a = (e.b / 255) ** z, r = (n.r / 255) ** z, i = (n.g / 255) ** z, m = (n.b / 255) ** z;
|
|
99
|
+
let c = t * fe + l * me + a * ge, o = r * fe + i * me + m * ge;
|
|
100
|
+
if (c <= K && (c += (K - c) ** ye), o <= K && (o += (K - o) ** ye), Math.abs(o - c) < mn) return 0;
|
|
101
101
|
let f;
|
|
102
102
|
if (o > c) {
|
|
103
|
-
const y = (o **
|
|
103
|
+
const y = (o ** on - c ** cn) * gn;
|
|
104
104
|
f = y < ke ? 0 : y < ve ? y - y * he * J : y - J;
|
|
105
105
|
} else {
|
|
106
|
-
const y = (o **
|
|
106
|
+
const y = (o ** fn - c ** dn) * yn;
|
|
107
107
|
f = y > -ke ? 0 : y > -ve ? y - y * he * J : y + J;
|
|
108
108
|
}
|
|
109
109
|
return f * 100;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
|
|
111
|
+
function U(e) {
|
|
112
|
+
Xe(`Vuetify: ${e}`);
|
|
113
113
|
}
|
|
114
114
|
function le(e) {
|
|
115
115
|
return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function vn(e) {
|
|
118
118
|
return le(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e);
|
|
119
119
|
}
|
|
120
|
-
const
|
|
120
|
+
const pe = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, hn = {
|
|
121
121
|
rgb: (e, n, t, l) => ({
|
|
122
122
|
r: e,
|
|
123
123
|
g: n,
|
|
@@ -130,13 +130,13 @@ const Ve = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, vn = {
|
|
|
130
130
|
b: t,
|
|
131
131
|
a: l
|
|
132
132
|
}),
|
|
133
|
-
hsl: (e, n, t, l) =>
|
|
133
|
+
hsl: (e, n, t, l) => Ve({
|
|
134
134
|
h: e,
|
|
135
135
|
s: n,
|
|
136
136
|
l: t,
|
|
137
137
|
a: l
|
|
138
138
|
}),
|
|
139
|
-
hsla: (e, n, t, l) =>
|
|
139
|
+
hsla: (e, n, t, l) => Ve({
|
|
140
140
|
h: e,
|
|
141
141
|
s: n,
|
|
142
142
|
l: t,
|
|
@@ -157,29 +157,29 @@ const Ve = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, vn = {
|
|
|
157
157
|
};
|
|
158
158
|
function R(e) {
|
|
159
159
|
if (typeof e == "number")
|
|
160
|
-
return (isNaN(e) || e < 0 || e > 16777215) &&
|
|
160
|
+
return (isNaN(e) || e < 0 || e > 16777215) && U(`'${e}' is not a valid hex color`), {
|
|
161
161
|
r: (e & 16711680) >> 16,
|
|
162
162
|
g: (e & 65280) >> 8,
|
|
163
163
|
b: e & 255
|
|
164
164
|
};
|
|
165
|
-
if (typeof e == "string" &&
|
|
165
|
+
if (typeof e == "string" && pe.test(e)) {
|
|
166
166
|
const {
|
|
167
167
|
groups: n
|
|
168
|
-
} = e.match(
|
|
168
|
+
} = e.match(pe), {
|
|
169
169
|
fn: t,
|
|
170
170
|
values: l
|
|
171
171
|
} = n, a = l.split(/,\s*/).map((r) => r.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(t) ? parseFloat(r) / 100 : parseFloat(r));
|
|
172
|
-
return
|
|
172
|
+
return hn[t](...a);
|
|
173
173
|
} else if (typeof e == "string") {
|
|
174
174
|
let n = e.startsWith("#") ? e.slice(1) : e;
|
|
175
|
-
[3, 4].includes(n.length) ? n = n.split("").map((l) => l + l).join("") : [6, 8].includes(n.length) ||
|
|
175
|
+
[3, 4].includes(n.length) ? n = n.split("").map((l) => l + l).join("") : [6, 8].includes(n.length) || U(`'${e}' is not a valid hex(a) color`);
|
|
176
176
|
const t = parseInt(n, 16);
|
|
177
|
-
return (isNaN(t) || t < 0 || t > 4294967295) &&
|
|
177
|
+
return (isNaN(t) || t < 0 || t > 4294967295) && U(`'${e}' is not a valid hex(a) color`), kn(n);
|
|
178
178
|
} else if (typeof e == "object") {
|
|
179
179
|
if (te(e, ["r", "g", "b"]))
|
|
180
180
|
return e;
|
|
181
181
|
if (te(e, ["h", "s", "l"]))
|
|
182
|
-
return W(
|
|
182
|
+
return W(Re(e));
|
|
183
183
|
if (te(e, ["h", "s", "v"]))
|
|
184
184
|
return W(e);
|
|
185
185
|
}
|
|
@@ -192,10 +192,10 @@ function W(e) {
|
|
|
192
192
|
s: t,
|
|
193
193
|
v: l,
|
|
194
194
|
a
|
|
195
|
-
} = e, r = (
|
|
196
|
-
const c = (
|
|
195
|
+
} = e, r = (m) => {
|
|
196
|
+
const c = (m + n / 60) % 6;
|
|
197
197
|
return l - l * t * Math.max(Math.min(c, 4 - c, 1), 0);
|
|
198
|
-
}, i = [r(5), r(3), r(1)].map((
|
|
198
|
+
}, i = [r(5), r(3), r(1)].map((m) => Math.round(m * 255));
|
|
199
199
|
return {
|
|
200
200
|
r: i[0],
|
|
201
201
|
g: i[1],
|
|
@@ -203,10 +203,10 @@ function W(e) {
|
|
|
203
203
|
a
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
return W(
|
|
206
|
+
function Ve(e) {
|
|
207
|
+
return W(Re(e));
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Re(e) {
|
|
210
210
|
const {
|
|
211
211
|
h: n,
|
|
212
212
|
s: t,
|
|
@@ -220,9 +220,9 @@ function Ne(e) {
|
|
|
220
220
|
a
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
e =
|
|
225
|
-
let [n, t, l, a] =
|
|
223
|
+
function kn(e) {
|
|
224
|
+
e = Cn(e);
|
|
225
|
+
let [n, t, l, a] = rn(e, 2).map((r) => parseInt(r, 16));
|
|
226
226
|
return a = a === void 0 ? a : a / 255, {
|
|
227
227
|
r: n,
|
|
228
228
|
g: t,
|
|
@@ -230,15 +230,15 @@ function hn(e) {
|
|
|
230
230
|
a
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function Cn(e) {
|
|
234
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((n) => n + n).join("")), e.length !== 6 && (e = de(de(e, 6), 8, "F")), e;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function pn(e) {
|
|
237
237
|
const n = Math.abs(Ce(R(0), R(e)));
|
|
238
238
|
return Math.abs(Ce(R(16777215), R(e))) > Math.min(n, 50) ? "#fff" : "#000";
|
|
239
239
|
}
|
|
240
240
|
function Y(e, n) {
|
|
241
|
-
const t =
|
|
241
|
+
const t = Ye();
|
|
242
242
|
if (!t)
|
|
243
243
|
throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);
|
|
244
244
|
return t;
|
|
@@ -246,7 +246,7 @@ function Y(e, n) {
|
|
|
246
246
|
function Vn() {
|
|
247
247
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables";
|
|
248
248
|
const n = Y(e).type;
|
|
249
|
-
return
|
|
249
|
+
return O((n == null ? void 0 : n.aliasName) || (n == null ? void 0 : n.name));
|
|
250
250
|
}
|
|
251
251
|
function _n(e) {
|
|
252
252
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Y("injectSelf");
|
|
@@ -257,31 +257,31 @@ function _n(e) {
|
|
|
257
257
|
return t[e];
|
|
258
258
|
}
|
|
259
259
|
const se = Symbol.for("vuetify:defaults");
|
|
260
|
-
function
|
|
260
|
+
function Ee() {
|
|
261
261
|
const e = re(se);
|
|
262
262
|
if (!e) throw new Error("[Vuetify] Could not find defaults instance");
|
|
263
263
|
return e;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function xn(e, n) {
|
|
266
266
|
var t, l;
|
|
267
|
-
return typeof ((t = e.props) == null ? void 0 : t[n]) < "u" || typeof ((l = e.props) == null ? void 0 : l[
|
|
267
|
+
return typeof ((t = e.props) == null ? void 0 : t[n]) < "u" || typeof ((l = e.props) == null ? void 0 : l[O(n)]) < "u";
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
269
|
+
function bn() {
|
|
270
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ee();
|
|
271
271
|
const l = Y("useDefaults");
|
|
272
272
|
if (n = n ?? l.type.name ?? l.type.__name, !n)
|
|
273
273
|
throw new Error("[Vuetify] Could not determine component name");
|
|
274
|
-
const a =
|
|
274
|
+
const a = V(() => {
|
|
275
275
|
var c;
|
|
276
276
|
return (c = t.value) == null ? void 0 : c[e._as ?? n];
|
|
277
277
|
}), r = new Proxy(e, {
|
|
278
278
|
get(c, o) {
|
|
279
|
-
var y, S, w,
|
|
279
|
+
var y, S, w, p, $, F, Z;
|
|
280
280
|
const f = Reflect.get(c, o);
|
|
281
|
-
return o === "class" || o === "style" ? [(y = a.value) == null ? void 0 : y[o], f].filter((d) => d != null) : typeof o == "string" && !
|
|
281
|
+
return o === "class" || o === "style" ? [(y = a.value) == null ? void 0 : y[o], f].filter((d) => d != null) : typeof o == "string" && !xn(l.vnode, o) ? ((S = a.value) == null ? void 0 : S[o]) !== void 0 ? (w = a.value) == null ? void 0 : w[o] : (($ = (p = t.value) == null ? void 0 : p.global) == null ? void 0 : $[o]) !== void 0 ? (Z = (F = t.value) == null ? void 0 : F.global) == null ? void 0 : Z[o] : f : f;
|
|
282
282
|
}
|
|
283
|
-
}), i =
|
|
284
|
-
|
|
283
|
+
}), i = Ze();
|
|
284
|
+
$e(() => {
|
|
285
285
|
if (a.value) {
|
|
286
286
|
const c = Object.entries(a.value).filter((o) => {
|
|
287
287
|
let [f] = o;
|
|
@@ -291,31 +291,31 @@ function xn() {
|
|
|
291
291
|
} else
|
|
292
292
|
i.value = void 0;
|
|
293
293
|
});
|
|
294
|
-
function
|
|
294
|
+
function m() {
|
|
295
295
|
const c = _n(se, l);
|
|
296
|
-
|
|
296
|
+
Ie(se, V(() => i.value ? Oe((c == null ? void 0 : c.value) ?? {}, i.value) : c == null ? void 0 : c.value));
|
|
297
297
|
}
|
|
298
298
|
return {
|
|
299
299
|
props: r,
|
|
300
|
-
provideSubDefaults:
|
|
300
|
+
provideSubDefaults: m
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
function ee(e) {
|
|
304
304
|
if (e._setup = e._setup ?? e.setup, !e.name)
|
|
305
|
-
return
|
|
305
|
+
return U("The component is missing an explicit name, unable to generate default prop value"), e;
|
|
306
306
|
if (e._setup) {
|
|
307
|
-
e.props =
|
|
307
|
+
e.props = P(e.props ?? {}, e.name)();
|
|
308
308
|
const n = Object.keys(e.props).filter((t) => t !== "class" && t !== "style");
|
|
309
309
|
e.filterProps = function(l) {
|
|
310
|
-
return
|
|
310
|
+
return an(l, n);
|
|
311
311
|
}, e.props._as = String, e.setup = function(l, a) {
|
|
312
|
-
const r =
|
|
312
|
+
const r = Ee();
|
|
313
313
|
if (!r.value) return e._setup(l, a);
|
|
314
314
|
const {
|
|
315
315
|
props: i,
|
|
316
|
-
provideSubDefaults:
|
|
317
|
-
} =
|
|
318
|
-
return
|
|
316
|
+
provideSubDefaults: m
|
|
317
|
+
} = bn(l, l._as ?? e.name, r), c = e._setup(i, a);
|
|
318
|
+
return m(), c;
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
321
|
return e;
|
|
@@ -324,40 +324,40 @@ function Ue() {
|
|
|
324
324
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
325
325
|
return (n) => (e ? ee : B)(n);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function Sn(e) {
|
|
328
328
|
const n = Y("useRender");
|
|
329
329
|
n.render = e;
|
|
330
330
|
}
|
|
331
|
-
const
|
|
331
|
+
const _e = Symbol.for("vuetify:theme"), wn = P({
|
|
332
332
|
theme: String
|
|
333
333
|
}, "theme");
|
|
334
|
-
function
|
|
334
|
+
function Bn(e) {
|
|
335
335
|
Y("provideTheme");
|
|
336
|
-
const n = re(
|
|
336
|
+
const n = re(_e, null);
|
|
337
337
|
if (!n) throw new Error("Could not find Vuetify theme injection");
|
|
338
|
-
const t =
|
|
338
|
+
const t = V(() => e.theme ?? n.name.value), l = V(() => n.themes.value[t.value]), a = V(() => n.isDisabled ? void 0 : `v-theme--${t.value}`), r = {
|
|
339
339
|
...n,
|
|
340
340
|
name: t,
|
|
341
341
|
current: l,
|
|
342
342
|
themeClasses: a
|
|
343
343
|
};
|
|
344
|
-
return
|
|
344
|
+
return Ie(_e, r), r;
|
|
345
345
|
}
|
|
346
|
-
const
|
|
346
|
+
const $n = P({
|
|
347
347
|
tag: {
|
|
348
348
|
type: String,
|
|
349
349
|
default: "div"
|
|
350
350
|
}
|
|
351
351
|
}, "tag");
|
|
352
|
-
function
|
|
353
|
-
return
|
|
352
|
+
function In(e) {
|
|
353
|
+
return Ne(() => {
|
|
354
354
|
const n = [], t = {};
|
|
355
355
|
if (e.value.background)
|
|
356
356
|
if (le(e.value.background)) {
|
|
357
|
-
if (t.backgroundColor = e.value.background, !e.value.text &&
|
|
357
|
+
if (t.backgroundColor = e.value.background, !e.value.text && vn(e.value.background)) {
|
|
358
358
|
const l = R(e.value.background);
|
|
359
359
|
if (l.a == null || l.a === 1) {
|
|
360
|
-
const a =
|
|
360
|
+
const a = pn(l);
|
|
361
361
|
t.color = a, t.caretColor = a;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
@@ -369,21 +369,21 @@ function $n(e) {
|
|
|
369
369
|
};
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
const t =
|
|
374
|
-
text:
|
|
372
|
+
function Mn(e, n) {
|
|
373
|
+
const t = V(() => ({
|
|
374
|
+
text: Me(e) ? e.value : null
|
|
375
375
|
})), {
|
|
376
376
|
colorClasses: l,
|
|
377
377
|
colorStyles: a
|
|
378
|
-
} =
|
|
378
|
+
} = In(t);
|
|
379
379
|
return {
|
|
380
380
|
textColorClasses: l,
|
|
381
381
|
textColorStyles: a
|
|
382
382
|
};
|
|
383
383
|
}
|
|
384
|
-
const
|
|
384
|
+
const We = [String, Function, Object, Array], Fn = Symbol.for("vuetify:icons"), ne = P({
|
|
385
385
|
icon: {
|
|
386
|
-
type:
|
|
386
|
+
type: We
|
|
387
387
|
},
|
|
388
388
|
// Could not remove this and use makeTagProps, types complained because it is not required
|
|
389
389
|
tag: {
|
|
@@ -407,7 +407,7 @@ const Ee = [String, Function, Object, Array], Mn = Symbol.for("vuetify:icons"),
|
|
|
407
407
|
});
|
|
408
408
|
};
|
|
409
409
|
}
|
|
410
|
-
}),
|
|
410
|
+
}), Dn = ee({
|
|
411
411
|
name: "VSvgIcon",
|
|
412
412
|
inheritAttrs: !1,
|
|
413
413
|
props: ne(),
|
|
@@ -415,7 +415,7 @@ const Ee = [String, Function, Object, Array], Mn = Symbol.for("vuetify:icons"),
|
|
|
415
415
|
let {
|
|
416
416
|
attrs: t
|
|
417
417
|
} = n;
|
|
418
|
-
return () => C(e.tag,
|
|
418
|
+
return () => C(e.tag, Fe(t, {
|
|
419
419
|
style: null
|
|
420
420
|
}), {
|
|
421
421
|
default: () => [C("svg", {
|
|
@@ -453,20 +453,20 @@ ee({
|
|
|
453
453
|
}, null);
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
|
-
const
|
|
457
|
-
const n = re(
|
|
456
|
+
const An = (e) => {
|
|
457
|
+
const n = re(Fn);
|
|
458
458
|
if (!n) throw new Error("Missing Vuetify Icons provide!");
|
|
459
459
|
return {
|
|
460
|
-
iconData:
|
|
460
|
+
iconData: V(() => {
|
|
461
461
|
var c;
|
|
462
|
-
const l =
|
|
462
|
+
const l = A(e);
|
|
463
463
|
if (!l) return {
|
|
464
464
|
component: xe
|
|
465
465
|
};
|
|
466
466
|
let a = l;
|
|
467
|
-
if (typeof a == "string" && (a = a.trim(), a.startsWith("$") && (a = (c = n.aliases) == null ? void 0 : c[a.slice(1)])), a ||
|
|
467
|
+
if (typeof a == "string" && (a = a.trim(), a.startsWith("$") && (a = (c = n.aliases) == null ? void 0 : c[a.slice(1)])), a || U(`Could not find aliased icon "${l}"`), Array.isArray(a))
|
|
468
468
|
return {
|
|
469
|
-
component:
|
|
469
|
+
component: Dn,
|
|
470
470
|
icon: a
|
|
471
471
|
};
|
|
472
472
|
if (typeof a != "string")
|
|
@@ -481,40 +481,40 @@ const Dn = (e) => {
|
|
|
481
481
|
};
|
|
482
482
|
})
|
|
483
483
|
};
|
|
484
|
-
},
|
|
484
|
+
}, Tn = ["x-small", "small", "default", "large", "x-large"], Pn = P({
|
|
485
485
|
size: {
|
|
486
486
|
type: [String, Number],
|
|
487
487
|
default: "default"
|
|
488
488
|
}
|
|
489
489
|
}, "size");
|
|
490
|
-
function
|
|
490
|
+
function Ln(e) {
|
|
491
491
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Vn();
|
|
492
|
-
return
|
|
492
|
+
return Ne(() => {
|
|
493
493
|
let t, l;
|
|
494
|
-
return
|
|
495
|
-
width:
|
|
496
|
-
height:
|
|
494
|
+
return un(Tn, e.size) ? t = `${n}--size-${e.size}` : e.size && (l = {
|
|
495
|
+
width: E(e.size),
|
|
496
|
+
height: E(e.size)
|
|
497
497
|
}), {
|
|
498
498
|
sizeClasses: t,
|
|
499
499
|
sizeStyles: l
|
|
500
500
|
};
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
|
-
const
|
|
503
|
+
const zn = P({
|
|
504
504
|
color: String,
|
|
505
505
|
disabled: Boolean,
|
|
506
506
|
start: Boolean,
|
|
507
507
|
end: Boolean,
|
|
508
|
-
icon:
|
|
509
|
-
...
|
|
510
|
-
...
|
|
511
|
-
|
|
508
|
+
icon: We,
|
|
509
|
+
...sn(),
|
|
510
|
+
...Pn(),
|
|
511
|
+
...$n({
|
|
512
512
|
tag: "i"
|
|
513
513
|
}),
|
|
514
|
-
...
|
|
515
|
-
}, "VIcon"),
|
|
514
|
+
...wn()
|
|
515
|
+
}, "VIcon"), On = Ue()({
|
|
516
516
|
name: "VIcon",
|
|
517
|
-
props:
|
|
517
|
+
props: zn(),
|
|
518
518
|
setup(e, n) {
|
|
519
519
|
let {
|
|
520
520
|
attrs: t,
|
|
@@ -522,32 +522,32 @@ const Ln = L({
|
|
|
522
522
|
} = n;
|
|
523
523
|
const a = I(), {
|
|
524
524
|
themeClasses: r
|
|
525
|
-
} =
|
|
525
|
+
} = Bn(e), {
|
|
526
526
|
iconData: i
|
|
527
|
-
} =
|
|
528
|
-
sizeClasses:
|
|
529
|
-
} =
|
|
527
|
+
} = An(V(() => a.value || e.icon)), {
|
|
528
|
+
sizeClasses: m
|
|
529
|
+
} = Ln(e), {
|
|
530
530
|
textColorClasses: c,
|
|
531
531
|
textColorStyles: o
|
|
532
|
-
} =
|
|
533
|
-
return
|
|
532
|
+
} = Mn(Ke(e, "color"));
|
|
533
|
+
return Sn(() => {
|
|
534
534
|
var S, w;
|
|
535
535
|
const f = (S = l.default) == null ? void 0 : S.call(l);
|
|
536
|
-
f && (a.value = (w =
|
|
536
|
+
f && (a.value = (w = He(f).filter((p) => p.type === Je && p.children && typeof p.children == "string")[0]) == null ? void 0 : w.children);
|
|
537
537
|
const y = !!(t.onClick || t.onClickOnce);
|
|
538
538
|
return C(i.value.component, {
|
|
539
539
|
tag: e.tag,
|
|
540
540
|
icon: i.value.icon,
|
|
541
|
-
class: ["v-icon", "notranslate", r.value,
|
|
541
|
+
class: ["v-icon", "notranslate", r.value, m.value, c.value, {
|
|
542
542
|
"v-icon--clickable": y,
|
|
543
543
|
"v-icon--disabled": e.disabled,
|
|
544
544
|
"v-icon--start": e.start,
|
|
545
545
|
"v-icon--end": e.end
|
|
546
546
|
}, e.class],
|
|
547
|
-
style: [
|
|
548
|
-
fontSize:
|
|
549
|
-
height:
|
|
550
|
-
width:
|
|
547
|
+
style: [m.value ? void 0 : {
|
|
548
|
+
fontSize: E(e.size),
|
|
549
|
+
height: E(e.size),
|
|
550
|
+
width: E(e.size)
|
|
551
551
|
}, o.value, e.style],
|
|
552
552
|
role: y ? "button" : void 0,
|
|
553
553
|
"aria-hidden": !y,
|
|
@@ -557,43 +557,43 @@ const Ln = L({
|
|
|
557
557
|
});
|
|
558
558
|
}), {};
|
|
559
559
|
}
|
|
560
|
-
}),
|
|
560
|
+
}), Hn = /* @__PURE__ */ B({
|
|
561
561
|
__name: "entry",
|
|
562
562
|
props: {
|
|
563
563
|
minHeight: {}
|
|
564
564
|
},
|
|
565
565
|
setup(e) {
|
|
566
|
-
const { backgroundColor2: n, highlightColor: t } = ue(), l = I(!1), a =
|
|
566
|
+
const { backgroundColor2: n, highlightColor: t } = ue(), l = I(!1), a = V(() => ({
|
|
567
567
|
background: l.value ? t.value : n.value,
|
|
568
568
|
minHeight: e.minHeight,
|
|
569
569
|
paddingRight: "4px",
|
|
570
570
|
marginBottom: "1px",
|
|
571
571
|
userSelect: "none"
|
|
572
572
|
})), r = (i) => {
|
|
573
|
-
|
|
573
|
+
Pe.emit("propTreeMenu", {
|
|
574
574
|
x: i.clientX,
|
|
575
575
|
y: i.clientY
|
|
576
576
|
});
|
|
577
577
|
};
|
|
578
|
-
return (i,
|
|
578
|
+
return (i, m) => {
|
|
579
579
|
const c = G("ripple");
|
|
580
580
|
return q((x(), j("div", {
|
|
581
581
|
class: "d-flex justify-space-between align-center cursor-pointer",
|
|
582
|
-
style:
|
|
582
|
+
style: De(a.value),
|
|
583
583
|
onContextmenu: Q(r, ["prevent"]),
|
|
584
|
-
onMouseover:
|
|
585
|
-
onMouseout:
|
|
584
|
+
onMouseover: m[0] || (m[0] = (o) => l.value = !0),
|
|
585
|
+
onMouseout: m[1] || (m[1] = (o) => l.value = !1)
|
|
586
586
|
}, [
|
|
587
|
-
|
|
587
|
+
Qe(i.$slots, "default")
|
|
588
588
|
], 36)), [
|
|
589
589
|
[c]
|
|
590
590
|
]);
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
|
-
}),
|
|
593
|
+
}), Nn = /* @__PURE__ */ B({
|
|
594
594
|
__name: "menu",
|
|
595
595
|
setup(e) {
|
|
596
|
-
const { t: n } =
|
|
596
|
+
const { t: n } = Te(), t = I(0), l = I(0), a = V(() => [t.value, l.value]), r = (o) => {
|
|
597
597
|
const f = () => {
|
|
598
598
|
console.log("reset");
|
|
599
599
|
};
|
|
@@ -601,33 +601,33 @@ const Ln = L({
|
|
|
601
601
|
title: n("x-prop-tree.reset"),
|
|
602
602
|
func: f
|
|
603
603
|
});
|
|
604
|
-
}, i =
|
|
604
|
+
}, i = V(() => {
|
|
605
605
|
const o = [];
|
|
606
606
|
return r(o), o;
|
|
607
|
-
}),
|
|
607
|
+
}), m = (o) => {
|
|
608
608
|
t.value = o.x, l.value = o.y;
|
|
609
|
-
}, { open: c } =
|
|
609
|
+
}, { open: c } = nn("propTreeMenu", m);
|
|
610
610
|
return (o, f) => {
|
|
611
|
-
const y =
|
|
612
|
-
return x(), M(
|
|
613
|
-
modelValue:
|
|
614
|
-
"onUpdate:modelValue": f[0] || (f[0] = ($) =>
|
|
611
|
+
const y = _("v-list-item-title"), S = _("v-list-item"), w = _("v-list"), p = _("v-menu");
|
|
612
|
+
return x(), M(p, {
|
|
613
|
+
modelValue: A(c),
|
|
614
|
+
"onUpdate:modelValue": f[0] || (f[0] = ($) => Me(c) ? c.value = $ : null),
|
|
615
615
|
"location-strategy": "connected",
|
|
616
616
|
target: a.value,
|
|
617
617
|
scrim: "transparent"
|
|
618
618
|
}, {
|
|
619
|
-
default:
|
|
619
|
+
default: T(() => [
|
|
620
620
|
C(w, null, {
|
|
621
|
-
default:
|
|
622
|
-
(x(!0), j(ae, null,
|
|
623
|
-
key:
|
|
621
|
+
default: T(() => [
|
|
622
|
+
(x(!0), j(ae, null, je(i.value, ($, F) => (x(), M(S, {
|
|
623
|
+
key: F,
|
|
624
624
|
link: "",
|
|
625
625
|
onClick: $.func
|
|
626
626
|
}, {
|
|
627
|
-
default:
|
|
627
|
+
default: T(() => [
|
|
628
628
|
C(y, null, {
|
|
629
|
-
default:
|
|
630
|
-
|
|
629
|
+
default: T(() => [
|
|
630
|
+
Ae(ie($.title), 1)
|
|
631
631
|
]),
|
|
632
632
|
_: 2
|
|
633
633
|
}, 1024)
|
|
@@ -653,55 +653,55 @@ const Ln = L({
|
|
|
653
653
|
},
|
|
654
654
|
emits: ["collapse", "create", "delete"],
|
|
655
655
|
setup(e, { emit: n }) {
|
|
656
|
-
const { backgroundColor2: t, highlightColor: l } = ue(), a = n, r = I(!1), i =
|
|
656
|
+
const { backgroundColor2: t, highlightColor: l } = ue(), a = n, r = I(!1), i = V(() => ({
|
|
657
657
|
background: r.value ? l.value : t.value,
|
|
658
658
|
height: "36px",
|
|
659
659
|
marginBottom: "1px",
|
|
660
660
|
userSelect: "none"
|
|
661
|
-
})),
|
|
661
|
+
})), m = () => {
|
|
662
662
|
a("collapse", !e.collapse);
|
|
663
663
|
}, c = (o) => {
|
|
664
|
-
|
|
664
|
+
Pe.emit("propTreeMenu", {
|
|
665
665
|
x: o.clientX,
|
|
666
666
|
y: o.clientY
|
|
667
667
|
});
|
|
668
668
|
};
|
|
669
669
|
return (o, f) => {
|
|
670
|
-
const y =
|
|
670
|
+
const y = _("v-icon"), S = _("v-spacer"), w = G("ripple");
|
|
671
671
|
return q((x(), j("div", {
|
|
672
672
|
class: "d-flex align-center cursor-pointer",
|
|
673
|
-
style:
|
|
674
|
-
onClick:
|
|
673
|
+
style: De(i.value),
|
|
674
|
+
onClick: m,
|
|
675
675
|
onContextmenu: Q(c, ["prevent"]),
|
|
676
|
-
onMouseover: f[2] || (f[2] = (
|
|
677
|
-
onMouseout: f[3] || (f[3] = (
|
|
676
|
+
onMouseover: f[2] || (f[2] = (p) => r.value = !0),
|
|
677
|
+
onMouseout: f[3] || (f[3] = (p) => r.value = !1)
|
|
678
678
|
}, [
|
|
679
679
|
C(y, {
|
|
680
680
|
class: "mr-1",
|
|
681
|
-
icon: o.collapse ?
|
|
681
|
+
icon: o.collapse ? A(ln) : A(tn)
|
|
682
682
|
}, null, 8, ["icon"]),
|
|
683
|
-
|
|
683
|
+
en("span", null, ie(o.title), 1),
|
|
684
684
|
C(S),
|
|
685
685
|
o.hasCreate ? (x(), M(y, {
|
|
686
686
|
key: 0,
|
|
687
687
|
class: "ml-3",
|
|
688
|
-
icon:
|
|
689
|
-
onClick: f[0] || (f[0] = Q((
|
|
688
|
+
icon: A(ze),
|
|
689
|
+
onClick: f[0] || (f[0] = Q((p) => a("create"), ["stop"]))
|
|
690
690
|
}, null, 8, ["icon"])) : oe("", !0),
|
|
691
691
|
o.hasDelete ? (x(), M(y, {
|
|
692
692
|
key: 1,
|
|
693
693
|
class: "ml-3",
|
|
694
|
-
icon:
|
|
695
|
-
onClick: f[1] || (f[1] = Q((
|
|
694
|
+
icon: A(Le),
|
|
695
|
+
onClick: f[1] || (f[1] = Q((p) => a("delete", o.index), ["stop"]))
|
|
696
696
|
}, null, 8, ["icon"])) : oe("", !0)
|
|
697
697
|
], 36)), [
|
|
698
698
|
[w]
|
|
699
699
|
]);
|
|
700
700
|
};
|
|
701
701
|
}
|
|
702
|
-
}),
|
|
702
|
+
}), Rn = /* @__PURE__ */ B({
|
|
703
703
|
__name: "colorPicker",
|
|
704
|
-
props: /* @__PURE__ */
|
|
704
|
+
props: /* @__PURE__ */ H({
|
|
705
705
|
readonly: { type: Boolean, default: !1 }
|
|
706
706
|
}, {
|
|
707
707
|
modelValue: {},
|
|
@@ -709,25 +709,25 @@ const Ln = L({
|
|
|
709
709
|
}),
|
|
710
710
|
emits: ["update:modelValue"],
|
|
711
711
|
setup(e) {
|
|
712
|
-
const n = X(e, "modelValue"), t =
|
|
712
|
+
const n = X(e, "modelValue"), t = V(() => e.readonly), l = I("hexa");
|
|
713
713
|
return (a, r) => {
|
|
714
|
-
const i =
|
|
714
|
+
const i = _("v-btn"), m = _("v-color-picker"), c = _("v-menu");
|
|
715
715
|
return x(), M(c, { "close-on-content-click": !1 }, {
|
|
716
|
-
activator:
|
|
717
|
-
C(i,
|
|
716
|
+
activator: T(({ props: o }) => [
|
|
717
|
+
C(i, Fe(o, {
|
|
718
718
|
density: "comfortable",
|
|
719
719
|
color: n.value,
|
|
720
720
|
block: "",
|
|
721
721
|
disabled: t.value
|
|
722
722
|
}), {
|
|
723
|
-
default:
|
|
724
|
-
|
|
723
|
+
default: T(() => [
|
|
724
|
+
Ae(ie(n.value), 1)
|
|
725
725
|
]),
|
|
726
726
|
_: 2
|
|
727
727
|
}, 1040, ["color", "disabled"])
|
|
728
728
|
]),
|
|
729
|
-
default:
|
|
730
|
-
C(
|
|
729
|
+
default: T(() => [
|
|
730
|
+
C(m, {
|
|
731
731
|
modelValue: n.value,
|
|
732
732
|
"onUpdate:modelValue": r[0] || (r[0] = (o) => n.value = o),
|
|
733
733
|
mode: l.value,
|
|
@@ -740,9 +740,9 @@ const Ln = L({
|
|
|
740
740
|
});
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
|
-
}),
|
|
743
|
+
}), En = /* @__PURE__ */ B({
|
|
744
744
|
__name: "numInput",
|
|
745
|
-
props: /* @__PURE__ */
|
|
745
|
+
props: /* @__PURE__ */ H({
|
|
746
746
|
min: { default: () => -1 / 0 },
|
|
747
747
|
max: { default: () => 1 / 0 },
|
|
748
748
|
precision: { default: 4 },
|
|
@@ -756,7 +756,7 @@ const Ln = L({
|
|
|
756
756
|
setup(e) {
|
|
757
757
|
const n = X(e, "modelValue");
|
|
758
758
|
return (t, l) => {
|
|
759
|
-
const a =
|
|
759
|
+
const a = _("v-number-input"), r = G("ripple");
|
|
760
760
|
return q((x(), M(a, {
|
|
761
761
|
modelValue: n.value,
|
|
762
762
|
"onUpdate:modelValue": l[0] || (l[0] = (i) => n.value = i),
|
|
@@ -781,7 +781,7 @@ const Ln = L({
|
|
|
781
781
|
}
|
|
782
782
|
}), Un = /* @__PURE__ */ B({
|
|
783
783
|
__name: "select",
|
|
784
|
-
props: /* @__PURE__ */
|
|
784
|
+
props: /* @__PURE__ */ H({
|
|
785
785
|
readonly: { type: Boolean, default: !1 },
|
|
786
786
|
items: {}
|
|
787
787
|
}, {
|
|
@@ -792,7 +792,7 @@ const Ln = L({
|
|
|
792
792
|
setup(e) {
|
|
793
793
|
const n = X(e, "modelValue");
|
|
794
794
|
return (t, l) => {
|
|
795
|
-
const a =
|
|
795
|
+
const a = _("v-select"), r = G("ripple");
|
|
796
796
|
return q((x(), M(a, {
|
|
797
797
|
modelValue: n.value,
|
|
798
798
|
"onUpdate:modelValue": l[0] || (l[0] = (i) => n.value = i),
|
|
@@ -813,30 +813,30 @@ const Ln = L({
|
|
|
813
813
|
}
|
|
814
814
|
}), Se = /* @__PURE__ */ B({
|
|
815
815
|
__name: "strInput",
|
|
816
|
-
props: /* @__PURE__ */
|
|
816
|
+
props: /* @__PURE__ */ H({
|
|
817
817
|
readonly: { type: Boolean, default: !1 },
|
|
818
818
|
hasDelete: { type: Boolean, default: !1 }
|
|
819
819
|
}, {
|
|
820
820
|
modelValue: {},
|
|
821
821
|
modelModifiers: {}
|
|
822
822
|
}),
|
|
823
|
-
emits: /* @__PURE__ */
|
|
823
|
+
emits: /* @__PURE__ */ H(["delete"], ["update:modelValue"]),
|
|
824
824
|
setup(e, { emit: n }) {
|
|
825
825
|
const t = X(e, "modelValue"), l = n;
|
|
826
826
|
return (a, r) => {
|
|
827
|
-
const i =
|
|
827
|
+
const i = _("v-text-field"), m = G("ripple");
|
|
828
828
|
return q((x(), M(i, {
|
|
829
829
|
modelValue: t.value,
|
|
830
830
|
"onUpdate:modelValue": r[0] || (r[0] = (c) => t.value = c),
|
|
831
831
|
density: "compact",
|
|
832
|
-
"append-inner-icon": a.hasDelete ?
|
|
832
|
+
"append-inner-icon": a.hasDelete ? A(Le) : "",
|
|
833
833
|
"hide-details": "",
|
|
834
834
|
"single-line": "",
|
|
835
835
|
readonly: a.readonly,
|
|
836
836
|
"onClick:appendInner": r[1] || (r[1] = (c) => l("delete"))
|
|
837
837
|
}, null, 8, ["modelValue", "append-inner-icon", "readonly"])), [
|
|
838
838
|
[
|
|
839
|
-
|
|
839
|
+
m,
|
|
840
840
|
void 0,
|
|
841
841
|
void 0,
|
|
842
842
|
{ stop: !0 }
|
|
@@ -844,9 +844,9 @@ const Ln = L({
|
|
|
844
844
|
]);
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
|
-
}),
|
|
847
|
+
}), Wn = /* @__PURE__ */ B({
|
|
848
848
|
__name: "switch",
|
|
849
|
-
props: /* @__PURE__ */
|
|
849
|
+
props: /* @__PURE__ */ H({
|
|
850
850
|
readonly: { type: Boolean, default: !1 }
|
|
851
851
|
}, {
|
|
852
852
|
modelValue: { type: Boolean },
|
|
@@ -856,7 +856,7 @@ const Ln = L({
|
|
|
856
856
|
setup(e) {
|
|
857
857
|
const n = X(e, "modelValue");
|
|
858
858
|
return (t, l) => {
|
|
859
|
-
const a =
|
|
859
|
+
const a = _("v-switch");
|
|
860
860
|
return x(), M(a, {
|
|
861
861
|
modelValue: n.value,
|
|
862
862
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => n.value = r),
|
|
@@ -868,7 +868,22 @@ const Ln = L({
|
|
|
868
868
|
}, null, 8, ["modelValue", "readonly"]);
|
|
869
869
|
};
|
|
870
870
|
}
|
|
871
|
-
})
|
|
871
|
+
});
|
|
872
|
+
function we(e, n) {
|
|
873
|
+
const t = n.split(".");
|
|
874
|
+
let l = e;
|
|
875
|
+
return t.forEach((a) => {
|
|
876
|
+
l[a] || (l[a] = {}), l = l[a];
|
|
877
|
+
}), l.collapse === void 0 && (l.collapse = !0), l.collapse;
|
|
878
|
+
}
|
|
879
|
+
function Gn(e, n, t) {
|
|
880
|
+
const l = n.split(".");
|
|
881
|
+
let a = e;
|
|
882
|
+
l.forEach((r) => {
|
|
883
|
+
a[r] || (a[r] = {}), a = a[r];
|
|
884
|
+
}), a.collapse = t;
|
|
885
|
+
}
|
|
886
|
+
const qn = /* @__PURE__ */ B({
|
|
872
887
|
__name: "index",
|
|
873
888
|
props: {
|
|
874
889
|
unique: {},
|
|
@@ -877,17 +892,17 @@ const Ln = L({
|
|
|
877
892
|
},
|
|
878
893
|
emits: ["change"],
|
|
879
894
|
setup(e, { emit: n }) {
|
|
880
|
-
const { t } =
|
|
881
|
-
function y(d, s, u,
|
|
882
|
-
return d !== "" && (d += "."), d += s.key, s.children ? s.array ? S(d, s, u,
|
|
895
|
+
const { t } = Te(), { backgroundColor1: l, backgroundColor2: a } = ue(), r = e, i = n, m = I("20px"), c = I("56px"), o = I("200px"), f = Be({});
|
|
896
|
+
function y(d, s, u, g) {
|
|
897
|
+
return d !== "" && (d += "."), d += s.key, s.children ? s.array ? S(d, s, u, g) : w(d, s, u, g) : s.array ? p(d, s, u) : $(d, s, u);
|
|
883
898
|
}
|
|
884
|
-
function S(d, s, u,
|
|
899
|
+
function S(d, s, u, g) {
|
|
885
900
|
u[s.key] instanceof Array || (u[s.key] = [], i("change", d, u[s.key]));
|
|
886
901
|
const b = k(be, {
|
|
887
902
|
title: t(s.name),
|
|
888
|
-
collapse: (typeof
|
|
903
|
+
collapse: (typeof g.collapse != "boolean" && (g.collapse = !0), g.collapse),
|
|
889
904
|
onCollapse: (h) => {
|
|
890
|
-
|
|
905
|
+
g.collapse = h;
|
|
891
906
|
},
|
|
892
907
|
onCreate: () => {
|
|
893
908
|
u[s.key].push({}), i("change", d, u[s.key]);
|
|
@@ -896,13 +911,13 @@ const Ln = L({
|
|
|
896
911
|
"div",
|
|
897
912
|
{
|
|
898
913
|
style: {
|
|
899
|
-
paddingLeft:
|
|
914
|
+
paddingLeft: m.value
|
|
900
915
|
}
|
|
901
916
|
},
|
|
902
917
|
(() => {
|
|
903
|
-
|
|
918
|
+
g[s.key] instanceof Array || (g[s.key] = []);
|
|
904
919
|
for (let h = 0; h < u[s.key].length; h++)
|
|
905
|
-
typeof
|
|
920
|
+
typeof g[s.key][h] != "object" && (g[s.key][h] = {
|
|
906
921
|
collapse: !0
|
|
907
922
|
});
|
|
908
923
|
return [];
|
|
@@ -918,39 +933,36 @@ const Ln = L({
|
|
|
918
933
|
},
|
|
919
934
|
(() => {
|
|
920
935
|
const h = [];
|
|
921
|
-
return h.push(b),
|
|
936
|
+
return h.push(b), g.collapse || h.push(v), h;
|
|
922
937
|
})()
|
|
923
938
|
);
|
|
924
939
|
}
|
|
925
|
-
function w(d, s, u,
|
|
940
|
+
function w(d, s, u, g) {
|
|
926
941
|
const b = k(be, {
|
|
927
942
|
title: t(s.name),
|
|
928
|
-
collapse:
|
|
943
|
+
collapse: we(g, d),
|
|
929
944
|
onCollapse: (h) => {
|
|
930
|
-
|
|
945
|
+
Gn(g, d, h);
|
|
931
946
|
}
|
|
932
947
|
}), v = k(
|
|
933
948
|
"div",
|
|
934
949
|
{
|
|
935
950
|
style: {
|
|
936
951
|
background: l.value,
|
|
937
|
-
paddingLeft:
|
|
952
|
+
paddingLeft: m.value
|
|
938
953
|
}
|
|
939
954
|
},
|
|
940
955
|
(() => {
|
|
941
|
-
var
|
|
956
|
+
var L;
|
|
942
957
|
const h = [];
|
|
943
|
-
return (
|
|
944
|
-
|
|
945
|
-
collapse: !0
|
|
946
|
-
});
|
|
947
|
-
const We = y(
|
|
958
|
+
return (L = s.children) == null || L.forEach((N) => {
|
|
959
|
+
const Ge = y(
|
|
948
960
|
d,
|
|
949
|
-
|
|
961
|
+
N,
|
|
950
962
|
(typeof u[s.key] != "object" && (u[s.key] = {}, i("change", d, u[s.key])), u[s.key]),
|
|
951
|
-
|
|
963
|
+
g
|
|
952
964
|
);
|
|
953
|
-
h.push(
|
|
965
|
+
h.push(Ge);
|
|
954
966
|
}), h;
|
|
955
967
|
})()
|
|
956
968
|
);
|
|
@@ -963,17 +975,17 @@ const Ln = L({
|
|
|
963
975
|
},
|
|
964
976
|
(() => {
|
|
965
977
|
const h = [];
|
|
966
|
-
return h.push(b),
|
|
978
|
+
return h.push(b), we(g, d) || h.push(v), h;
|
|
967
979
|
})()
|
|
968
980
|
);
|
|
969
981
|
}
|
|
970
|
-
function
|
|
971
|
-
u[s.key] instanceof Array || (u[s.key] =
|
|
972
|
-
let
|
|
973
|
-
return s.ui === "strInput" ?
|
|
982
|
+
function p(d, s, u) {
|
|
983
|
+
u[s.key] instanceof Array || (u[s.key] = D(s), i("change", d, u[s.key]));
|
|
984
|
+
let g = () => [];
|
|
985
|
+
return s.ui === "strInput" ? g = () => {
|
|
974
986
|
const b = [];
|
|
975
987
|
for (let h = 0; h < u[s.key].length; h++) {
|
|
976
|
-
const
|
|
988
|
+
const L = k(
|
|
977
989
|
"div",
|
|
978
990
|
{
|
|
979
991
|
class: "d-flex align-center justify-center",
|
|
@@ -984,8 +996,8 @@ const Ln = L({
|
|
|
984
996
|
[
|
|
985
997
|
k(Se, {
|
|
986
998
|
modelValue: u[s.key][h],
|
|
987
|
-
"onUpdate:modelValue": (
|
|
988
|
-
u[s.key][h] =
|
|
999
|
+
"onUpdate:modelValue": (N) => {
|
|
1000
|
+
u[s.key][h] = N, i("change", d, u[s.key]);
|
|
989
1001
|
},
|
|
990
1002
|
hasDelete: !0,
|
|
991
1003
|
onDelete: () => {
|
|
@@ -994,7 +1006,7 @@ const Ln = L({
|
|
|
994
1006
|
})
|
|
995
1007
|
]
|
|
996
1008
|
);
|
|
997
|
-
b.push(
|
|
1009
|
+
b.push(L);
|
|
998
1010
|
}
|
|
999
1011
|
const v = k(
|
|
1000
1012
|
"div",
|
|
@@ -1013,58 +1025,58 @@ const Ln = L({
|
|
|
1013
1025
|
u[s.key].push(""), i("change", d, u[s.key]);
|
|
1014
1026
|
}
|
|
1015
1027
|
},
|
|
1016
|
-
[k(
|
|
1028
|
+
[k(On, { icon: ze })]
|
|
1017
1029
|
);
|
|
1018
1030
|
return b.push(v), b;
|
|
1019
|
-
} : console.assert(!1, "invalid prop ui", s.ui),
|
|
1031
|
+
} : console.assert(!1, "invalid prop ui", s.ui), F(t(s.name), g());
|
|
1020
1032
|
}
|
|
1021
1033
|
function $(d, s, u) {
|
|
1022
|
-
let
|
|
1023
|
-
return s.ui === "void" ? u[s.key] === void 0 && (console.assert(s.default !== void 0), u[s.key] =
|
|
1024
|
-
modelValue: s.static ? s.value : (typeof u[s.key] != "string" && (u[s.key] =
|
|
1034
|
+
let g = () => [];
|
|
1035
|
+
return s.ui === "void" ? u[s.key] === void 0 && (console.assert(s.default !== void 0), u[s.key] = D(s), i("change", d, u[s.key])) : s.ui === "strInput" ? g = () => [k(Se, {
|
|
1036
|
+
modelValue: s.static ? s.value : (typeof u[s.key] != "string" && (u[s.key] = D(s), i("change", d, u[s.key])), u[s.key]),
|
|
1025
1037
|
"onUpdate:modelValue": (v) => {
|
|
1026
1038
|
s.static || v !== u[s.key] && (u[s.key] = v, i("change", d, v));
|
|
1027
1039
|
},
|
|
1028
1040
|
readonly: s.static || s.readonly
|
|
1029
|
-
})] : s.ui === "numInput" ?
|
|
1030
|
-
modelValue: (typeof u[s.key] != "number" && (u[s.key] =
|
|
1041
|
+
})] : s.ui === "numInput" ? g = () => [k(En, {
|
|
1042
|
+
modelValue: (typeof u[s.key] != "number" && (u[s.key] = D(s), i("change", d, u[s.key])), u[s.key]),
|
|
1031
1043
|
"onUpdate:modelValue": (v) => {
|
|
1032
1044
|
v !== u[s.key] && (u[s.key] = v, i("change", d, v));
|
|
1033
1045
|
},
|
|
1034
1046
|
readonly: s.readonly
|
|
1035
|
-
})] : s.ui === "switch" ?
|
|
1036
|
-
modelValue: (typeof u[s.key] != "boolean" && (u[s.key] =
|
|
1047
|
+
})] : s.ui === "switch" ? g = () => [k(Wn, {
|
|
1048
|
+
modelValue: (typeof u[s.key] != "boolean" && (u[s.key] = D(s), i("change", d, u[s.key])), u[s.key]),
|
|
1037
1049
|
"onUpdate:modelValue": (v) => {
|
|
1038
1050
|
v !== u[s.key] && (u[s.key] = v, i("change", d, v));
|
|
1039
1051
|
},
|
|
1040
1052
|
readonly: s.readonly
|
|
1041
|
-
})] : s.ui === "select" ?
|
|
1042
|
-
modelValue: (typeof u[s.key] != "string" && (u[s.key] =
|
|
1053
|
+
})] : s.ui === "select" ? g = () => [k(Un, {
|
|
1054
|
+
modelValue: (typeof u[s.key] != "string" && (u[s.key] = D(s), i("change", d, u[s.key])), u[s.key]),
|
|
1043
1055
|
"onUpdate:modelValue": (v) => {
|
|
1044
1056
|
v !== u[s.key] && (u[s.key] = v, i("change", d, v));
|
|
1045
1057
|
},
|
|
1046
1058
|
items: (() => {
|
|
1047
1059
|
var h;
|
|
1048
1060
|
const v = [];
|
|
1049
|
-
return (h = s.items) == null || h.forEach(({ title:
|
|
1061
|
+
return (h = s.items) == null || h.forEach(({ title: L, value: N }) => {
|
|
1050
1062
|
v.push({
|
|
1051
|
-
title: t(
|
|
1052
|
-
value:
|
|
1063
|
+
title: t(L),
|
|
1064
|
+
value: N
|
|
1053
1065
|
});
|
|
1054
1066
|
}), v;
|
|
1055
1067
|
})(),
|
|
1056
1068
|
readonly: s.readonly
|
|
1057
|
-
})] : s.ui === "colorPicker" ?
|
|
1058
|
-
modelValue: (typeof u[s.key] != "string" && (u[s.key] =
|
|
1069
|
+
})] : s.ui === "colorPicker" ? g = () => [k(Rn, {
|
|
1070
|
+
modelValue: (typeof u[s.key] != "string" && (u[s.key] = D(s), i("change", d, u[s.key])), u[s.key]),
|
|
1059
1071
|
"onUpdate:modelValue": (v) => {
|
|
1060
1072
|
v !== u[s.key] && (u[s.key] = v, i("change", d, v));
|
|
1061
1073
|
},
|
|
1062
1074
|
readonly: s.readonly
|
|
1063
|
-
})] : console.assert(!1, "invalid prop ui", s.ui),
|
|
1075
|
+
})] : console.assert(!1, "invalid prop ui", s.ui), F(t(s.name), g());
|
|
1064
1076
|
}
|
|
1065
|
-
function
|
|
1077
|
+
function F(d, s) {
|
|
1066
1078
|
return k(
|
|
1067
|
-
|
|
1079
|
+
Hn,
|
|
1068
1080
|
{
|
|
1069
1081
|
minHeight: c.value
|
|
1070
1082
|
},
|
|
@@ -1085,8 +1097,8 @@ const Ln = L({
|
|
|
1085
1097
|
f[r.unique] || (f[r.unique] = {});
|
|
1086
1098
|
const s = f[r.unique];
|
|
1087
1099
|
r.config.forEach((u) => {
|
|
1088
|
-
const
|
|
1089
|
-
d.push(
|
|
1100
|
+
const g = y("", u, r.object, s);
|
|
1101
|
+
d.push(g);
|
|
1090
1102
|
});
|
|
1091
1103
|
}
|
|
1092
1104
|
return d;
|
|
@@ -1094,12 +1106,12 @@ const Ln = L({
|
|
|
1094
1106
|
);
|
|
1095
1107
|
return (d, s) => (x(), j(ae, null, [
|
|
1096
1108
|
C(Z),
|
|
1097
|
-
C(
|
|
1109
|
+
C(Nn)
|
|
1098
1110
|
], 64));
|
|
1099
1111
|
}
|
|
1100
|
-
}),
|
|
1101
|
-
e.component("XPropTree",
|
|
1102
|
-
},
|
|
1112
|
+
}), Xn = (e) => {
|
|
1113
|
+
e.component("XPropTree", qn);
|
|
1114
|
+
}, Qn = { install: Xn };
|
|
1103
1115
|
export {
|
|
1104
|
-
|
|
1116
|
+
Qn as default
|
|
1105
1117
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"vue-i18n": "^10.0.4",
|
|
27
27
|
"vuetify": "^3.7.3",
|
|
28
28
|
"x-essential-lib": "^0.7.3",
|
|
29
|
-
"x-runtime-lib": "^0.4.
|
|
29
|
+
"x-runtime-lib": "^0.4.14"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@eslint/js": "^10.0.0",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
slots: {
|
|
3
|
-
default?(_: {}): any;
|
|
4
|
-
};
|
|
5
|
-
refs: {};
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
};
|
|
8
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
|
-
export default _default;
|
|
12
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
min?: number;
|
|
3
|
-
max?: number;
|
|
4
|
-
precision?: number;
|
|
5
|
-
step?: number;
|
|
6
|
-
readonly?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare let __VLS_typeProps: Props;
|
|
9
|
-
type __VLS_PublicProps = {
|
|
10
|
-
modelValue?: number;
|
|
11
|
-
} & typeof __VLS_typeProps;
|
|
12
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:modelValue": (modelValue: number) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
readonly?: boolean;
|
|
3
|
-
items: {
|
|
4
|
-
title: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}[];
|
|
7
|
-
}
|
|
8
|
-
declare let __VLS_typeProps: Props;
|
|
9
|
-
type __VLS_PublicProps = {
|
|
10
|
-
modelValue?: string;
|
|
11
|
-
} & typeof __VLS_typeProps;
|
|
12
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:modelValue": (modelValue: string) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
readonly?: boolean;
|
|
3
|
-
hasDelete?: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare let __VLS_typeProps: Props;
|
|
6
|
-
type __VLS_PublicProps = {
|
|
7
|
-
modelValue?: string;
|
|
8
|
-
} & typeof __VLS_typeProps;
|
|
9
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
delete: (...args: any[]) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
onDelete?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
readonly?: boolean;
|
|
3
|
-
}
|
|
4
|
-
declare let __VLS_typeProps: Props;
|
|
5
|
-
type __VLS_PublicProps = {
|
|
6
|
-
modelValue?: boolean;
|
|
7
|
-
} & typeof __VLS_typeProps;
|
|
8
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (modelValue: boolean) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
title: string;
|
|
3
|
-
collapse: boolean;
|
|
4
|
-
hasCreate?: boolean;
|
|
5
|
-
hasDelete?: boolean;
|
|
6
|
-
index?: number;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
delete: (...args: any[]) => void;
|
|
10
|
-
collapse: (...args: any[]) => void;
|
|
11
|
-
create: (...args: any[]) => void;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
-
onDelete?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
onCreate?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
export default _default;
|