@validol4ik/uikit 0.3.29 → 0.3.31
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/AppButtonCopy-0BhYb2nY.cjs +1 -0
- package/dist/{AppButtonCopy-CBiI1PFG.js → AppButtonCopy-DhpGToMA.js} +22 -17
- package/dist/{AppSelect-DkpvIHUg.js → AppSelect-Bg_r7IT-.js} +515 -510
- package/dist/AppSelect-DYglZ5gw.cjs +1 -0
- package/dist/{focusout-DjvPXP_b.js → QNoSsr-B6NOqbLV.js} +75 -41
- package/dist/QNoSsr-DIrrSzFf.cjs +1 -0
- package/dist/index-DMWwOLS3.cjs +1 -0
- package/dist/{index-Ccvx5Q-3.js → index-VwoDHcYO.js} +153 -153
- package/dist/style.css +1 -1
- package/dist/types/components/buttons/CopyButton/AppButtonCopy.vue.d.ts +1 -1
- package/dist/types/components/form/AppSelect/AppSelect.vue.d.ts +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/uikit.cjs +1 -1
- package/dist/uikit.es.js +1 -1
- package/package.json +2 -12
- package/dist/AppButtonCopy-CzEFYWZ_.cjs +0 -1
- package/dist/AppSelect-DyDlPz00.cjs +0 -1
- package/dist/focusout-DzWGke-4.cjs +0 -1
- package/dist/index-DnduCzlS.cjs +0 -1
- package/dist/types/boot.d.ts +0 -0
- package/dist/types/plugin.d.ts +0 -0
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const Pe =
|
|
3
|
-
__name: "AppIcon",
|
|
4
|
-
props: {
|
|
5
|
-
name: {},
|
|
6
|
-
size: {},
|
|
7
|
-
color: {}
|
|
8
|
-
},
|
|
9
|
-
setup(e) {
|
|
10
|
-
return (t, a) => (D(), F("i", {
|
|
11
|
-
class: V(["icon-kl", `icon-kl-${t.name}`, t.color ? `text-${t.color}` : ""]),
|
|
12
|
-
style: Ee(t.size ? `font-size: ${t.size}` : void 0)
|
|
13
|
-
}, null, 6));
|
|
14
|
-
}
|
|
15
|
-
}), ge = (e, t) => {
|
|
16
|
-
const a = e.__vccOpts || e;
|
|
17
|
-
for (const [n, r] of t)
|
|
18
|
-
a[n] = r;
|
|
19
|
-
return a;
|
|
20
|
-
}, kt = /* @__PURE__ */ ge(Pe, [["__scopeId", "data-v-24fca0cf"]]), Me = {
|
|
1
|
+
import { computed as s, markRaw as de, defineComponent as X, h as v, withDirectives as fe, getCurrentInstance as Z, unref as F, ref as ee, onBeforeUnmount as Ee, Transition as Se, openBlock as D, createBlock as Le, normalizeClass as V, withCtx as Ce, createElementBlock as Q, createCommentVNode as U, renderSlot as xe, Fragment as Be, createTextVNode as Re, toDisplayString as _e, normalizeStyle as we, defineAsyncComponent as ve } from "vue";
|
|
2
|
+
const Pe = {
|
|
21
3
|
PRIMARY: "primary",
|
|
22
4
|
INFO: "info"
|
|
23
5
|
}, R = {
|
|
24
6
|
SM: "sm",
|
|
25
7
|
MD: "md",
|
|
26
8
|
LG: "lg"
|
|
27
|
-
},
|
|
9
|
+
}, Me = {
|
|
28
10
|
[R.SM]: "3px 9px",
|
|
29
11
|
[R.MD]: "5px 12px",
|
|
30
12
|
[R.LG]: "9px 20px"
|
|
@@ -34,22 +16,22 @@ const Pe = /* @__PURE__ */ X({
|
|
|
34
16
|
md: 32,
|
|
35
17
|
lg: 38,
|
|
36
18
|
xl: 46
|
|
37
|
-
},
|
|
19
|
+
}, ge = {
|
|
38
20
|
size: String
|
|
39
21
|
};
|
|
40
|
-
function
|
|
22
|
+
function me(e, t = Y) {
|
|
41
23
|
return s(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
|
|
42
24
|
}
|
|
43
25
|
function J(e) {
|
|
44
26
|
return de(X(e));
|
|
45
27
|
}
|
|
46
|
-
function
|
|
28
|
+
function Te(e) {
|
|
47
29
|
return de(e);
|
|
48
30
|
}
|
|
49
|
-
function
|
|
31
|
+
function Oe(e, t) {
|
|
50
32
|
return e !== void 0 && e() || t;
|
|
51
33
|
}
|
|
52
|
-
function
|
|
34
|
+
function kt(e, t) {
|
|
53
35
|
if (e !== void 0) {
|
|
54
36
|
const a = e();
|
|
55
37
|
if (a != null)
|
|
@@ -60,15 +42,15 @@ function $t(e, t) {
|
|
|
60
42
|
function I(e, t) {
|
|
61
43
|
return e !== void 0 ? t.concat(e()) : t;
|
|
62
44
|
}
|
|
63
|
-
function
|
|
45
|
+
function $t(e, t) {
|
|
64
46
|
return e === void 0 ? t : t !== void 0 ? t.concat(e()) : e();
|
|
65
47
|
}
|
|
66
|
-
function
|
|
48
|
+
function qt(e, t, a, n, r, d) {
|
|
67
49
|
t.key = n + r;
|
|
68
50
|
const u = v(e, t, a);
|
|
69
51
|
return r === !0 ? fe(u, d()) : u;
|
|
70
52
|
}
|
|
71
|
-
const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`,
|
|
53
|
+
const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, pe = {
|
|
72
54
|
"mdi-": (e) => `mdi ${e}`,
|
|
73
55
|
"icon-": ne,
|
|
74
56
|
// fontawesome equiv
|
|
@@ -80,18 +62,18 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, he = {
|
|
|
80
62
|
"iconfont ": ne,
|
|
81
63
|
"ti-": (e) => `themify-icon ${e}`,
|
|
82
64
|
"bi-": (e) => `bootstrap-icons ${e}`
|
|
83
|
-
},
|
|
65
|
+
}, he = {
|
|
84
66
|
o_: "-outlined",
|
|
85
67
|
r_: "-round",
|
|
86
68
|
s_: "-sharp"
|
|
87
|
-
},
|
|
69
|
+
}, be = {
|
|
88
70
|
sym_o_: "-outlined",
|
|
89
71
|
sym_r_: "-rounded",
|
|
90
72
|
sym_s_: "-sharp"
|
|
91
|
-
},
|
|
73
|
+
}, Ae = new RegExp("^(" + Object.keys(pe).join("|") + ")"), ze = new RegExp("^(" + Object.keys(he).join("|") + ")"), ae = new RegExp("^(" + Object.keys(be).join("|") + ")"), je = /^[Mm]\s?[-+]?\.?\d/, De = /^img:/, Ie = /^svguse:/, Ke = /^ion-/, Ne = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, re = J({
|
|
92
74
|
name: "QIcon",
|
|
93
75
|
props: {
|
|
94
|
-
...
|
|
76
|
+
...ge,
|
|
95
77
|
tag: {
|
|
96
78
|
type: String,
|
|
97
79
|
default: "i"
|
|
@@ -102,7 +84,7 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, he = {
|
|
|
102
84
|
right: Boolean
|
|
103
85
|
},
|
|
104
86
|
setup(e, { slots: t }) {
|
|
105
|
-
const { proxy: { $q: a } } = Z(), n =
|
|
87
|
+
const { proxy: { $q: a } } = Z(), n = me(e), r = s(
|
|
106
88
|
() => "q-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color !== void 0 ? ` text-${e.color}` : "")
|
|
107
89
|
), d = s(() => {
|
|
108
90
|
let u, o = e.name;
|
|
@@ -120,7 +102,7 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, he = {
|
|
|
120
102
|
content: c.content !== void 0 ? c.content : " "
|
|
121
103
|
};
|
|
122
104
|
}
|
|
123
|
-
if (
|
|
105
|
+
if (je.test(o) === !0) {
|
|
124
106
|
const [c, b = te] = o.split("|");
|
|
125
107
|
return {
|
|
126
108
|
svg: !0,
|
|
@@ -131,12 +113,12 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, he = {
|
|
|
131
113
|
})
|
|
132
114
|
};
|
|
133
115
|
}
|
|
134
|
-
if (
|
|
116
|
+
if (De.test(o) === !0)
|
|
135
117
|
return {
|
|
136
118
|
img: !0,
|
|
137
119
|
src: o.substring(4)
|
|
138
120
|
};
|
|
139
|
-
if (
|
|
121
|
+
if (Ie.test(o) === !0) {
|
|
140
122
|
const [c, b = te] = o.split("|");
|
|
141
123
|
return {
|
|
142
124
|
svguse: !0,
|
|
@@ -145,21 +127,21 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, he = {
|
|
|
145
127
|
};
|
|
146
128
|
}
|
|
147
129
|
let q = " ";
|
|
148
|
-
const h = o.match(
|
|
130
|
+
const h = o.match(Ae);
|
|
149
131
|
if (h !== null)
|
|
150
|
-
u =
|
|
151
|
-
else if (Fe.test(o) === !0)
|
|
152
|
-
u = o;
|
|
132
|
+
u = pe[h[1]](o);
|
|
153
133
|
else if (Ne.test(o) === !0)
|
|
134
|
+
u = o;
|
|
135
|
+
else if (Ke.test(o) === !0)
|
|
154
136
|
u = `ionicons ion-${a.platform.is.ios === !0 ? "ios" : "md"}${o.substring(3)}`;
|
|
155
137
|
else if (ae.test(o) === !0) {
|
|
156
138
|
u = "notranslate material-symbols";
|
|
157
139
|
const c = o.match(ae);
|
|
158
|
-
c !== null && (o = o.substring(6), u +=
|
|
140
|
+
c !== null && (o = o.substring(6), u += be[c[1]]), q = o;
|
|
159
141
|
} else {
|
|
160
142
|
u = "notranslate material-icons";
|
|
161
|
-
const c = o.match(
|
|
162
|
-
c !== null && (o = o.substring(2), u +=
|
|
143
|
+
const c = o.match(ze);
|
|
144
|
+
c !== null && (o = o.substring(2), u += he[c[1]]), q = o;
|
|
163
145
|
}
|
|
164
146
|
return {
|
|
165
147
|
cls: u,
|
|
@@ -173,7 +155,7 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, he = {
|
|
|
173
155
|
"aria-hidden": "true",
|
|
174
156
|
role: "presentation"
|
|
175
157
|
};
|
|
176
|
-
return d.value.none === !0 ? v(e.tag, u,
|
|
158
|
+
return d.value.none === !0 ? v(e.tag, u, Oe(t.default)) : d.value.img === !0 ? v(e.tag, u, I(t.default, [
|
|
177
159
|
v("img", { src: d.value.src })
|
|
178
160
|
])) : d.value.svg === !0 ? v(e.tag, u, I(t.default, [
|
|
179
161
|
v("svg", {
|
|
@@ -190,14 +172,14 @@ const te = "0 0 24 24", ne = (e) => e, G = (e) => `ionicons ${e}`, he = {
|
|
|
190
172
|
])));
|
|
191
173
|
};
|
|
192
174
|
}
|
|
193
|
-
}),
|
|
175
|
+
}), Fe = {
|
|
194
176
|
size: {
|
|
195
177
|
type: [String, Number],
|
|
196
178
|
default: "1em"
|
|
197
179
|
},
|
|
198
180
|
color: String
|
|
199
181
|
};
|
|
200
|
-
function
|
|
182
|
+
function Ve(e) {
|
|
201
183
|
return {
|
|
202
184
|
cSize: s(() => e.size in Y ? `${Y[e.size]}px` : e.size),
|
|
203
185
|
classes: s(
|
|
@@ -205,17 +187,17 @@ function Qe(e) {
|
|
|
205
187
|
)
|
|
206
188
|
};
|
|
207
189
|
}
|
|
208
|
-
const
|
|
190
|
+
const Qe = J({
|
|
209
191
|
name: "QSpinner",
|
|
210
192
|
props: {
|
|
211
|
-
...
|
|
193
|
+
...Fe,
|
|
212
194
|
thickness: {
|
|
213
195
|
type: Number,
|
|
214
196
|
default: 5
|
|
215
197
|
}
|
|
216
198
|
},
|
|
217
199
|
setup(e) {
|
|
218
|
-
const { cSize: t, classes: a } =
|
|
200
|
+
const { cSize: t, classes: a } = Ve(e);
|
|
219
201
|
return () => v("svg", {
|
|
220
202
|
class: a.value + " q-spinner-mat",
|
|
221
203
|
width: t.value,
|
|
@@ -235,12 +217,12 @@ const He = J({
|
|
|
235
217
|
]);
|
|
236
218
|
}
|
|
237
219
|
});
|
|
238
|
-
function
|
|
220
|
+
function He(e, t) {
|
|
239
221
|
const a = e.style;
|
|
240
222
|
for (const n in t)
|
|
241
223
|
a[n] = t[n];
|
|
242
224
|
}
|
|
243
|
-
function
|
|
225
|
+
function Et(e) {
|
|
244
226
|
if (e == null)
|
|
245
227
|
return;
|
|
246
228
|
if (typeof e == "string")
|
|
@@ -249,11 +231,11 @@ function St(e) {
|
|
|
249
231
|
} catch {
|
|
250
232
|
return;
|
|
251
233
|
}
|
|
252
|
-
const t =
|
|
234
|
+
const t = F(e);
|
|
253
235
|
if (t)
|
|
254
236
|
return t.$el || t;
|
|
255
237
|
}
|
|
256
|
-
function
|
|
238
|
+
function St(e, t) {
|
|
257
239
|
if (e == null || e.contains(t) === !0)
|
|
258
240
|
return !0;
|
|
259
241
|
for (let a = e.nextElementSibling; a !== null; a = a.nextElementSibling)
|
|
@@ -281,15 +263,15 @@ try {
|
|
|
281
263
|
window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
|
|
282
264
|
} catch {
|
|
283
265
|
}
|
|
284
|
-
function
|
|
266
|
+
function Lt() {
|
|
285
267
|
}
|
|
286
|
-
function
|
|
268
|
+
function Ue(e) {
|
|
287
269
|
return e.touches && e.touches[0] ? e = e.touches[0] : e.changedTouches && e.changedTouches[0] ? e = e.changedTouches[0] : e.targetTouches && e.targetTouches[0] && (e = e.targetTouches[0]), {
|
|
288
270
|
top: e.clientY,
|
|
289
271
|
left: e.clientX
|
|
290
272
|
};
|
|
291
273
|
}
|
|
292
|
-
function
|
|
274
|
+
function Ct(e) {
|
|
293
275
|
if (e.path)
|
|
294
276
|
return e.path;
|
|
295
277
|
if (e.composedPath)
|
|
@@ -302,34 +284,34 @@ function xt(e) {
|
|
|
302
284
|
a = a.parentElement;
|
|
303
285
|
}
|
|
304
286
|
}
|
|
305
|
-
function
|
|
287
|
+
function ye(e) {
|
|
306
288
|
e.stopPropagation();
|
|
307
289
|
}
|
|
308
|
-
function
|
|
290
|
+
function Ge(e) {
|
|
309
291
|
e.cancelable !== !1 && e.preventDefault();
|
|
310
292
|
}
|
|
311
293
|
function M(e) {
|
|
312
294
|
e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
|
|
313
295
|
}
|
|
314
|
-
function
|
|
296
|
+
function Ye(e, t, a) {
|
|
315
297
|
const n = `__q_${t}_evt`;
|
|
316
298
|
e[n] = e[n] !== void 0 ? e[n].concat(a) : a, a.forEach((r) => {
|
|
317
299
|
r[0].addEventListener(r[1], e[r[2]], H[r[3]]);
|
|
318
300
|
});
|
|
319
301
|
}
|
|
320
|
-
function
|
|
302
|
+
function We(e, t) {
|
|
321
303
|
const a = `__q_${t}_evt`;
|
|
322
304
|
e[a] !== void 0 && (e[a].forEach((n) => {
|
|
323
305
|
n[0].removeEventListener(n[1], e[n[2]], H[n[3]]);
|
|
324
306
|
}), e[a] = void 0);
|
|
325
307
|
}
|
|
326
|
-
function
|
|
308
|
+
function Xe(e) {
|
|
327
309
|
return e !== Object(e) || e.isComposing === !0 || e.qKeyEvent === !0;
|
|
328
310
|
}
|
|
329
311
|
function W(e, t) {
|
|
330
|
-
return
|
|
312
|
+
return Xe(e) === !0 ? !1 : [].concat(t).includes(e.keyCode);
|
|
331
313
|
}
|
|
332
|
-
function
|
|
314
|
+
function Ze(e, t = 250) {
|
|
333
315
|
let a = !1, n;
|
|
334
316
|
return function() {
|
|
335
317
|
return a === !1 && (a = !0, setTimeout(() => {
|
|
@@ -338,12 +320,12 @@ function Je(e, t = 250) {
|
|
|
338
320
|
};
|
|
339
321
|
}
|
|
340
322
|
function ie(e, t, a, n) {
|
|
341
|
-
a.modifiers.stop === !0 &&
|
|
323
|
+
a.modifiers.stop === !0 && ye(e);
|
|
342
324
|
const r = a.modifiers.color;
|
|
343
325
|
let d = a.modifiers.center;
|
|
344
326
|
d = d === !0 || n === !0;
|
|
345
|
-
const u = document.createElement("span"), o = document.createElement("span"), q =
|
|
346
|
-
o.className = "q-ripple__inner",
|
|
327
|
+
const u = document.createElement("span"), o = document.createElement("span"), q = Ue(e), { left: h, top: c, width: b, height: l } = t.getBoundingClientRect(), y = Math.sqrt(b * b + l * l), p = y / 2, k = `${(b - y) / 2}px`, f = d ? k : `${q.left - h - p}px`, $ = `${(l - y) / 2}px`, P = d ? $ : `${q.top - c - p}px`;
|
|
328
|
+
o.className = "q-ripple__inner", He(o, {
|
|
347
329
|
height: `${y}px`,
|
|
348
330
|
width: `${y}px`,
|
|
349
331
|
transform: `translate3d(${f},${P},0) scale3d(.2,.2,1)`,
|
|
@@ -371,7 +353,7 @@ function oe(e, { modifiers: t, value: a, arg: n }) {
|
|
|
371
353
|
keyCodes: [].concat(r.keyCodes || 13)
|
|
372
354
|
};
|
|
373
355
|
}
|
|
374
|
-
const
|
|
356
|
+
const Je = Te(
|
|
375
357
|
{
|
|
376
358
|
name: "ripple",
|
|
377
359
|
beforeMount(e, t) {
|
|
@@ -386,11 +368,11 @@ const et = Oe(
|
|
|
386
368
|
start(r) {
|
|
387
369
|
n.enabled === !0 && r.qSkipRipple !== !0 && r.type === (n.modifiers.early === !0 ? "pointerdown" : "click") && ie(r, e, n, r.qKeyEvent === !0);
|
|
388
370
|
},
|
|
389
|
-
keystart:
|
|
371
|
+
keystart: Ze((r) => {
|
|
390
372
|
n.enabled === !0 && r.qSkipRipple !== !0 && W(r, n.modifiers.keyCodes) === !0 && r.type === `key${n.modifiers.early === !0 ? "down" : "up"}` && ie(r, e, n, !0);
|
|
391
373
|
}, 300)
|
|
392
374
|
};
|
|
393
|
-
oe(n, t), e.__qripple = n,
|
|
375
|
+
oe(n, t), e.__qripple = n, Ye(n, "main", [
|
|
394
376
|
[e, "pointerdown", "start", "passive"],
|
|
395
377
|
[e, "click", "start", "passive"],
|
|
396
378
|
[e, "keydown", "keystart", "passive"],
|
|
@@ -407,10 +389,10 @@ const et = Oe(
|
|
|
407
389
|
const t = e.__qripple;
|
|
408
390
|
t !== void 0 && (t.abort.forEach((a) => {
|
|
409
391
|
a();
|
|
410
|
-
}),
|
|
392
|
+
}), We(t, "main"), delete e._qripple);
|
|
411
393
|
}
|
|
412
394
|
}
|
|
413
|
-
),
|
|
395
|
+
), ke = {
|
|
414
396
|
left: "start",
|
|
415
397
|
center: "center",
|
|
416
398
|
right: "end",
|
|
@@ -418,19 +400,19 @@ const et = Oe(
|
|
|
418
400
|
around: "around",
|
|
419
401
|
evenly: "evenly",
|
|
420
402
|
stretch: "stretch"
|
|
421
|
-
},
|
|
403
|
+
}, et = Object.keys(ke), tt = {
|
|
422
404
|
align: {
|
|
423
405
|
type: String,
|
|
424
|
-
validator: (e) =>
|
|
406
|
+
validator: (e) => et.includes(e)
|
|
425
407
|
}
|
|
426
408
|
};
|
|
427
|
-
function
|
|
409
|
+
function nt(e) {
|
|
428
410
|
return s(() => {
|
|
429
411
|
const t = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
|
|
430
|
-
return `${e.vertical === !0 ? "items" : "justify"}-${
|
|
412
|
+
return `${e.vertical === !0 ? "items" : "justify"}-${ke[t]}`;
|
|
431
413
|
});
|
|
432
414
|
}
|
|
433
|
-
function
|
|
415
|
+
function xt(e) {
|
|
434
416
|
if (Object(e.$parent) === e.$parent)
|
|
435
417
|
return e.$parent;
|
|
436
418
|
let { parent: t } = e.$;
|
|
@@ -440,10 +422,10 @@ function Bt(e) {
|
|
|
440
422
|
t = t.parent;
|
|
441
423
|
}
|
|
442
424
|
}
|
|
443
|
-
function
|
|
425
|
+
function at(e) {
|
|
444
426
|
return e.appContext.config.globalProperties.$router !== void 0;
|
|
445
427
|
}
|
|
446
|
-
function
|
|
428
|
+
function Bt(e) {
|
|
447
429
|
return e.isUnmounted === !0 || e.isDeactivated === !0;
|
|
448
430
|
}
|
|
449
431
|
function le(e) {
|
|
@@ -452,7 +434,7 @@ function le(e) {
|
|
|
452
434
|
function ue(e, t) {
|
|
453
435
|
return (e.aliasOf || e) === (t.aliasOf || t);
|
|
454
436
|
}
|
|
455
|
-
function
|
|
437
|
+
function rt(e, t) {
|
|
456
438
|
for (const a in t) {
|
|
457
439
|
const n = t[a], r = e[a];
|
|
458
440
|
if (typeof n == "string") {
|
|
@@ -466,18 +448,18 @@ function it(e, t) {
|
|
|
466
448
|
function se(e, t) {
|
|
467
449
|
return Array.isArray(t) === !0 ? e.length === t.length && e.every((a, n) => a === t[n]) : e.length === 1 && e[0] === t;
|
|
468
450
|
}
|
|
469
|
-
function
|
|
451
|
+
function it(e, t) {
|
|
470
452
|
return Array.isArray(e) === !0 ? se(e, t) : Array.isArray(t) === !0 ? se(t, e) : e === t;
|
|
471
453
|
}
|
|
472
|
-
function
|
|
454
|
+
function ot(e, t) {
|
|
473
455
|
if (Object.keys(e).length !== Object.keys(t).length)
|
|
474
456
|
return !1;
|
|
475
457
|
for (const a in e)
|
|
476
|
-
if (
|
|
458
|
+
if (it(e[a], t[a]) === !1)
|
|
477
459
|
return !1;
|
|
478
460
|
return !0;
|
|
479
461
|
}
|
|
480
|
-
const
|
|
462
|
+
const $e = {
|
|
481
463
|
// router-link
|
|
482
464
|
to: [String, Object],
|
|
483
465
|
replace: Boolean,
|
|
@@ -486,8 +468,8 @@ const qe = {
|
|
|
486
468
|
target: String,
|
|
487
469
|
// state
|
|
488
470
|
disable: Boolean
|
|
489
|
-
},
|
|
490
|
-
|
|
471
|
+
}, Rt = {
|
|
472
|
+
...$e,
|
|
491
473
|
// router-link
|
|
492
474
|
exact: Boolean,
|
|
493
475
|
activeClass: {
|
|
@@ -499,8 +481,8 @@ const qe = {
|
|
|
499
481
|
default: "q-router-link--exact-active"
|
|
500
482
|
}
|
|
501
483
|
};
|
|
502
|
-
function
|
|
503
|
-
const a = Z(), { props: n, proxy: r, emit: d } = a, u =
|
|
484
|
+
function lt({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
485
|
+
const a = Z(), { props: n, proxy: r, emit: d } = a, u = at(a), o = s(() => n.disable !== !0 && n.href !== void 0), q = t === !0 ? s(
|
|
504
486
|
() => u === !0 && n.disable !== !0 && o.value !== !0 && n.to !== void 0 && n.to !== null && n.to !== ""
|
|
505
487
|
) : s(
|
|
506
488
|
() => u === !0 && o.value !== !0 && n.to !== void 0 && n.to !== null && n.to !== ""
|
|
@@ -532,9 +514,9 @@ function ut({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
532
514
|
) : B
|
|
533
515
|
);
|
|
534
516
|
}), k = s(
|
|
535
|
-
() => c.value === !0 && p.value !== -1 &&
|
|
517
|
+
() => c.value === !0 && p.value !== -1 && rt(r.$route.params, h.value.params)
|
|
536
518
|
), f = s(
|
|
537
|
-
() => k.value === !0 && p.value === r.$route.matched.length - 1 &&
|
|
519
|
+
() => k.value === !0 && p.value === r.$route.matched.length - 1 && ot(r.$route.params, h.value.params)
|
|
538
520
|
), $ = s(() => c.value === !0 ? f.value === !0 ? ` ${n.exactActiveClass} ${n.activeClass}` : n.exact === !0 ? "" : k.value === !0 ? ` ${n.activeClass}` : "" : "");
|
|
539
521
|
function P(g) {
|
|
540
522
|
try {
|
|
@@ -587,19 +569,19 @@ const ce = {
|
|
|
587
569
|
md: 16,
|
|
588
570
|
lg: 24,
|
|
589
571
|
xl: 32
|
|
590
|
-
},
|
|
572
|
+
}, ut = {
|
|
591
573
|
xs: 8,
|
|
592
574
|
sm: 10,
|
|
593
575
|
md: 14,
|
|
594
576
|
lg: 20,
|
|
595
577
|
xl: 24
|
|
596
|
-
},
|
|
597
|
-
function
|
|
578
|
+
}, st = ["button", "submit", "reset"], ct = /[^\s]\/[^\s]/, dt = ["flat", "outline", "push", "unelevated"];
|
|
579
|
+
function ft(e, t) {
|
|
598
580
|
return e.flat === !0 ? "flat" : e.outline === !0 ? "outline" : e.push === !0 ? "push" : e.unelevated === !0 ? "unelevated" : t;
|
|
599
581
|
}
|
|
600
|
-
const
|
|
601
|
-
...
|
|
602
|
-
|
|
582
|
+
const vt = {
|
|
583
|
+
...ge,
|
|
584
|
+
...$e,
|
|
603
585
|
type: {
|
|
604
586
|
type: String,
|
|
605
587
|
default: "button"
|
|
@@ -607,7 +589,7 @@ const gt = {
|
|
|
607
589
|
label: [Number, String],
|
|
608
590
|
icon: String,
|
|
609
591
|
iconRight: String,
|
|
610
|
-
...
|
|
592
|
+
...dt.reduce(
|
|
611
593
|
(e, t) => (e[t] = Boolean) && e,
|
|
612
594
|
{}
|
|
613
595
|
),
|
|
@@ -629,7 +611,7 @@ const gt = {
|
|
|
629
611
|
default: !0
|
|
630
612
|
},
|
|
631
613
|
align: {
|
|
632
|
-
...
|
|
614
|
+
...tt.align,
|
|
633
615
|
default: "center"
|
|
634
616
|
},
|
|
635
617
|
stack: Boolean,
|
|
@@ -639,12 +621,12 @@ const gt = {
|
|
|
639
621
|
default: null
|
|
640
622
|
},
|
|
641
623
|
disable: Boolean
|
|
642
|
-
},
|
|
643
|
-
...
|
|
624
|
+
}, gt = {
|
|
625
|
+
...vt,
|
|
644
626
|
round: Boolean
|
|
645
627
|
};
|
|
646
|
-
function
|
|
647
|
-
const t =
|
|
628
|
+
function mt(e) {
|
|
629
|
+
const t = me(e, ut), a = nt(e), { hasRouterLink: n, hasLink: r, linkTag: d, linkAttrs: u, navigateOnClick: o } = lt({
|
|
648
630
|
fallbackTag: "button"
|
|
649
631
|
}), q = s(() => {
|
|
650
632
|
const f = e.fab === !1 && e.fabMini === !1 ? t.value : {};
|
|
@@ -657,9 +639,9 @@ function pt(e) {
|
|
|
657
639
|
() => e.rounded === !0 || e.fab === !0 || e.fabMini === !0
|
|
658
640
|
), c = s(
|
|
659
641
|
() => e.disable !== !0 && e.loading !== !0
|
|
660
|
-
), b = s(() => c.value === !0 ? e.tabindex || 0 : -1), l = s(() =>
|
|
642
|
+
), b = s(() => c.value === !0 ? e.tabindex || 0 : -1), l = s(() => ft(e, "standard")), y = s(() => {
|
|
661
643
|
const f = { tabindex: b.value };
|
|
662
|
-
return r.value === !0 ? Object.assign(f, u.value) :
|
|
644
|
+
return r.value === !0 ? Object.assign(f, u.value) : st.includes(e.type) === !0 && (f.type = e.type), d.value === "a" ? (e.disable === !0 ? f["aria-disabled"] = "true" : f.href === void 0 && (f.role = "button"), n.value !== !0 && ct.test(e.type) === !0 && (f.type = e.type)) : e.disable === !0 && (f.disabled = "", f["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(f, {
|
|
663
645
|
role: "progressbar",
|
|
664
646
|
"aria-valuemin": 0,
|
|
665
647
|
"aria-valuemax": 100,
|
|
@@ -686,10 +668,10 @@ function pt(e) {
|
|
|
686
668
|
}
|
|
687
669
|
const { passiveCapture: S } = H;
|
|
688
670
|
let T = null, O = null, A = null;
|
|
689
|
-
const
|
|
671
|
+
const pt = J({
|
|
690
672
|
name: "QBtn",
|
|
691
673
|
props: {
|
|
692
|
-
...
|
|
674
|
+
...gt,
|
|
693
675
|
percentage: Number,
|
|
694
676
|
darkPercentage: Boolean,
|
|
695
677
|
onTouchstart: [Function, Array]
|
|
@@ -705,7 +687,7 @@ const ht = J({
|
|
|
705
687
|
linkTag: h,
|
|
706
688
|
navigateOnClick: c,
|
|
707
689
|
isActionable: b
|
|
708
|
-
} =
|
|
690
|
+
} = mt(e), l = ee(null), y = ee(null);
|
|
709
691
|
let p = null, k, f = null;
|
|
710
692
|
const $ = s(
|
|
711
693
|
() => e.label !== void 0 && e.label !== null && e.label !== ""
|
|
@@ -780,7 +762,7 @@ const ht = J({
|
|
|
780
762
|
if (i !== void 0 && i.type === "keyup") {
|
|
781
763
|
if (O === l.value && W(i, [13, 32]) === !0) {
|
|
782
764
|
const m = new MouseEvent("click", i);
|
|
783
|
-
m.qKeyEvent = !0, i.defaultPrevented === !0 &&
|
|
765
|
+
m.qKeyEvent = !0, i.defaultPrevented === !0 && Ge(m), i.cancelBubble === !0 && ye(m), l.value.dispatchEvent(m), M(i), i.qKeyEvent = !0;
|
|
784
766
|
}
|
|
785
767
|
a("keyup", i);
|
|
786
768
|
}
|
|
@@ -794,7 +776,7 @@ const ht = J({
|
|
|
794
776
|
function j(i) {
|
|
795
777
|
M(i), i.qSkipRipple = !0;
|
|
796
778
|
}
|
|
797
|
-
return
|
|
779
|
+
return Ee(() => {
|
|
798
780
|
z(!0);
|
|
799
781
|
}), Object.assign(n, {
|
|
800
782
|
click: (i) => {
|
|
@@ -837,13 +819,13 @@ const ht = J({
|
|
|
837
819
|
class: "q-btn__content text-center col items-center q-anchor--skip " + u.value
|
|
838
820
|
}, i)
|
|
839
821
|
), e.loading !== null && m.push(
|
|
840
|
-
v(
|
|
822
|
+
v(Se, {
|
|
841
823
|
name: "q-transition--fade"
|
|
842
824
|
}, () => e.loading === !0 ? [
|
|
843
825
|
v("span", {
|
|
844
826
|
key: "loading",
|
|
845
827
|
class: "absolute-full flex flex-center"
|
|
846
|
-
}, t.loading !== void 0 ? t.loading() : [v(
|
|
828
|
+
}, t.loading !== void 0 ? t.loading() : [v(Qe)])
|
|
847
829
|
] : null)
|
|
848
830
|
), fe(
|
|
849
831
|
v(
|
|
@@ -852,7 +834,7 @@ const ht = J({
|
|
|
852
834
|
m
|
|
853
835
|
),
|
|
854
836
|
[[
|
|
855
|
-
|
|
837
|
+
Je,
|
|
856
838
|
P.value,
|
|
857
839
|
void 0,
|
|
858
840
|
_.value
|
|
@@ -860,14 +842,14 @@ const ht = J({
|
|
|
860
842
|
);
|
|
861
843
|
};
|
|
862
844
|
}
|
|
863
|
-
}),
|
|
845
|
+
}), ht = /* @__PURE__ */ X({
|
|
864
846
|
__name: "AppButton",
|
|
865
847
|
props: {
|
|
866
848
|
size: { default: R.MD },
|
|
867
849
|
transparent: { type: Boolean },
|
|
868
850
|
flat: { type: Boolean },
|
|
869
851
|
rounded: { type: Boolean },
|
|
870
|
-
color: { default:
|
|
852
|
+
color: { default: Pe.PRIMARY },
|
|
871
853
|
iconLeft: {},
|
|
872
854
|
iconRight: {},
|
|
873
855
|
iconMiddle: {},
|
|
@@ -898,11 +880,11 @@ const ht = J({
|
|
|
898
880
|
},
|
|
899
881
|
`app-btn_${t.color}`
|
|
900
882
|
]);
|
|
901
|
-
return (n, r) => (D(),
|
|
883
|
+
return (n, r) => (D(), Le(F(pt), {
|
|
902
884
|
"no-caps": "",
|
|
903
885
|
unelevated: "",
|
|
904
886
|
class: V(a.value),
|
|
905
|
-
padding:
|
|
887
|
+
padding: F(Me)[n.size || F(R).MD],
|
|
906
888
|
loading: n.loading,
|
|
907
889
|
disable: n.disabled || void 0,
|
|
908
890
|
to: n.to,
|
|
@@ -912,8 +894,8 @@ const ht = J({
|
|
|
912
894
|
"aria-label": n.ariaLabel,
|
|
913
895
|
onClick: r[0] || (r[0] = (d) => n.$emit("click", d))
|
|
914
896
|
}, {
|
|
915
|
-
default:
|
|
916
|
-
n.iconLeft || n.iconMiddle ? (D(),
|
|
897
|
+
default: Ce(() => [
|
|
898
|
+
n.iconLeft || n.iconMiddle ? (D(), Q("i", {
|
|
917
899
|
key: 0,
|
|
918
900
|
class: V([
|
|
919
901
|
"icon-kl",
|
|
@@ -922,11 +904,11 @@ const ht = J({
|
|
|
922
904
|
n.transparent || n.flat ? `text-${n.color}` : "text-secondary"
|
|
923
905
|
])
|
|
924
906
|
}, null, 2)) : U("", !0),
|
|
925
|
-
|
|
926
|
-
n.label ? (D(),
|
|
927
|
-
_e(
|
|
907
|
+
xe(n.$slots, "default", {}, void 0, !0),
|
|
908
|
+
n.label ? (D(), Q(Be, { key: 1 }, [
|
|
909
|
+
Re(_e(n.label), 1)
|
|
928
910
|
], 64)) : U("", !0),
|
|
929
|
-
n.iconRight ? (D(),
|
|
911
|
+
n.iconRight ? (D(), Q("i", {
|
|
930
912
|
key: 2,
|
|
931
913
|
class: V([
|
|
932
914
|
"icon-kl",
|
|
@@ -939,47 +921,65 @@ const ht = J({
|
|
|
939
921
|
_: 3
|
|
940
922
|
}, 8, ["class", "padding", "loading", "disable", "to", "href", "target", "type", "aria-label"]));
|
|
941
923
|
}
|
|
942
|
-
}),
|
|
943
|
-
|
|
924
|
+
}), qe = (e, t) => {
|
|
925
|
+
const a = e.__vccOpts || e;
|
|
926
|
+
for (const [n, r] of t)
|
|
927
|
+
a[n] = r;
|
|
928
|
+
return a;
|
|
929
|
+
}, _t = /* @__PURE__ */ qe(ht, [["__scopeId", "data-v-70840407"]]), bt = /* @__PURE__ */ X({
|
|
930
|
+
__name: "AppIcon",
|
|
931
|
+
props: {
|
|
932
|
+
name: {},
|
|
933
|
+
size: {},
|
|
934
|
+
color: {}
|
|
935
|
+
},
|
|
936
|
+
setup(e) {
|
|
937
|
+
return (t, a) => (D(), Q("i", {
|
|
938
|
+
class: V(["icon-kl", `icon-kl-${t.name}`, t.color ? `text-${t.color}` : ""]),
|
|
939
|
+
style: we(t.size ? `font-size: ${t.size}` : void 0)
|
|
940
|
+
}, null, 6));
|
|
941
|
+
}
|
|
942
|
+
}), wt = /* @__PURE__ */ qe(bt, [["__scopeId", "data-v-941765ee"]]), Pt = ve(
|
|
943
|
+
() => import("./AppButtonCopy-DhpGToMA.js")
|
|
944
944
|
), Mt = ve(
|
|
945
|
-
() => import("./AppSelect-
|
|
945
|
+
() => import("./AppSelect-Bg_r7IT-.js")
|
|
946
946
|
);
|
|
947
947
|
export {
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
948
|
+
_t as A,
|
|
949
|
+
ye as B,
|
|
950
|
+
Pe as C,
|
|
951
|
+
Xe as D,
|
|
952
|
+
wt as E,
|
|
953
953
|
Pt as F,
|
|
954
954
|
Mt as G,
|
|
955
955
|
re as Q,
|
|
956
|
-
|
|
956
|
+
Je as R,
|
|
957
957
|
R as S,
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
958
|
+
qe as _,
|
|
959
|
+
Oe as a,
|
|
960
|
+
ge as b,
|
|
961
961
|
J as c,
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
962
|
+
lt as d,
|
|
963
|
+
kt as e,
|
|
964
|
+
Rt as f,
|
|
965
|
+
Qe as g,
|
|
966
966
|
I as h,
|
|
967
967
|
W as i,
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
968
|
+
qt as j,
|
|
969
|
+
$t as k,
|
|
970
|
+
Ye as l,
|
|
971
|
+
We as m,
|
|
972
972
|
H as n,
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
973
|
+
xt as o,
|
|
974
|
+
Ge as p,
|
|
975
|
+
Bt as q,
|
|
976
|
+
Et as r,
|
|
977
977
|
M as s,
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
978
|
+
He as t,
|
|
979
|
+
me as u,
|
|
980
|
+
at as v,
|
|
981
|
+
Ue as w,
|
|
982
|
+
St as x,
|
|
983
|
+
Ct as y,
|
|
984
|
+
Lt as z
|
|
985
985
|
};
|