@dynamicforms/vuetify-inputs 0.1.0 → 0.1.1
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.
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var hl = Object.defineProperty, bl = Object.defineProperties;
|
|
2
2
|
var yl = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var Kt = Object.getOwnPropertySymbols;
|
|
4
4
|
var pl = Object.prototype.hasOwnProperty, _l = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var j = Math.pow, ut = (e, t, n) => t in e ? hl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, k = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
pl.call(t, n) && ut(e, n, t[n]);
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
8
|
+
if (Kt)
|
|
9
|
+
for (var n of Kt(t))
|
|
10
10
|
_l.call(t, n) && ut(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, le = (e, t) => bl(e, yl(t));
|
|
@@ -27,10 +27,10 @@ var We = (e, t, n) => new Promise((l, a) => {
|
|
|
27
27
|
}, r = (u) => u.done ? l(u.value) : Promise.resolve(u.value).then(o, i);
|
|
28
28
|
r((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
31
|
-
import { defineComponent as Z, mergeModels as
|
|
32
|
-
import { debounce as Fl, isEmpty as Ul, isObjectLike as Hl, isString as gt, isBoolean as
|
|
33
|
-
import
|
|
30
|
+
import * as qt from "vue";
|
|
31
|
+
import { defineComponent as Z, mergeModels as Yt, useModel as wl, ref as T, watch as X, onMounted as at, markRaw as kl, onBeforeUnmount as Ve, createBlock as F, openBlock as I, resolveDynamicComponent as Ce, version as Cl, computed as h, createElementBlock as K, Fragment as ot, renderList as Tn, normalizeClass as Ze, toDisplayString as Se, unref as v, mergeProps as z, withCtx as D, createTextVNode as Ee, resolveComponent as H, createCommentVNode as G, createVNode as b, createSlots as Sl, renderSlot as Vl, isRef as ee, withModifiers as xl, mergeDefaults as de, createElementVNode as Ne, normalizeStyle as Ct, reactive as Qe, watchEffect as St, toRefs as xe, capitalize as In, shallowRef as Vt, warn as Tl, getCurrentInstance as Il, inject as he, provide as Re, h as Bl, camelize as Pl, toRef as q, onScopeDispose as Al, effectScope as $l, toRaw as El, useId as Nl, onUpdated as Dl, Text as Ll, readonly as Ml, nextTick as Bn, withDirectives as Rl, withKeys as Xt, useCssVars as Ol, normalizeProps as Pn, guardReactiveProps as An } from "vue";
|
|
32
|
+
import { debounce as Fl, isEmpty as Ul, isObjectLike as Hl, isString as gt, isBoolean as Zt, clone as zl, toNumber as Qt, isNaN as Jt, isArray as en, castArray as $n, first as En } from "lodash-es";
|
|
33
|
+
import tn, { ValidationErrorRenderContent as jl, DisplayMode as ue, ExecuteAction as Wl, Action as ct } from "@dynamicforms/vue-forms";
|
|
34
34
|
import Gl from "vue-markdown-render";
|
|
35
35
|
import ht from "vue-ionicon";
|
|
36
36
|
import { useDisplay as Kl } from "vuetify";
|
|
@@ -179,7 +179,7 @@ function Wa(e) {
|
|
|
179
179
|
const dt = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ga = 300, Ka = /* @__PURE__ */ Z({
|
|
180
180
|
name: "CKEditor",
|
|
181
181
|
__name: "ckeditor",
|
|
182
|
-
props: /* @__PURE__ */
|
|
182
|
+
props: /* @__PURE__ */ Yt({
|
|
183
183
|
editor: {},
|
|
184
184
|
config: { default: () => ({}) },
|
|
185
185
|
tagName: { default: "div" },
|
|
@@ -189,7 +189,7 @@ const dt = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ga = 300, Ka =
|
|
|
189
189
|
modelValue: { type: String, default: "" },
|
|
190
190
|
modelModifiers: {}
|
|
191
191
|
}),
|
|
192
|
-
emits: /* @__PURE__ */
|
|
192
|
+
emits: /* @__PURE__ */ Yt(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
|
|
193
193
|
setup(e, { expose: t, emit: n }) {
|
|
194
194
|
const l = wl(e, "modelValue"), a = e, o = n, i = T(), r = T(), u = T();
|
|
195
195
|
t({
|
|
@@ -242,7 +242,7 @@ const dt = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ga = 300, Ka =
|
|
|
242
242
|
* For licensing, see LICENSE.md.
|
|
243
243
|
*/
|
|
244
244
|
/* istanbul ignore if -- @preserve */
|
|
245
|
-
if (!
|
|
245
|
+
if (!qt.version || !qt.version.startsWith("3."))
|
|
246
246
|
throw new Error(
|
|
247
247
|
"The CKEditor plugin works only with Vue 3+. For more information, please refer to https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs-v3.html"
|
|
248
248
|
);
|
|
@@ -265,12 +265,12 @@ function ce(e, t) {
|
|
|
265
265
|
e.control && (e.control.value = f), t("update:modelValue", f);
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
|
-
if (e.control && !(e.control instanceof
|
|
268
|
+
if (e.control && !(e.control instanceof tn.FieldBase))
|
|
269
269
|
throw new Error("control prop is not a vue-form control instance");
|
|
270
270
|
const l = h(() => e.control ? e.control.valid : !0), a = h(
|
|
271
271
|
() => e.control ? e.control.errors : (e.errors || []).map((f) => new jl(f))
|
|
272
272
|
), o = h(() => a.value.length > 0 ? " " : void 0), i = h(() => e.control ? e.control.enabled : e.enabled !== !1), r = h(
|
|
273
|
-
() => e.control ? e.control.visibility : e.visibility ||
|
|
273
|
+
() => e.control ? e.control.visibility : e.visibility || tn.DisplayMode.FULL
|
|
274
274
|
), u = h(() => e.label || ""), d = h(() => e.placeholder || ""), m = h(() => e.helpText || ""), s = h(() => e.hint || ""), c = h(() => e.cssClass || "");
|
|
275
275
|
return {
|
|
276
276
|
value: n,
|
|
@@ -307,7 +307,7 @@ const Ya = { class: "custom-error-display text-error" }, Xa = { key: 0 }, Za = /
|
|
|
307
307
|
},
|
|
308
308
|
setup(e) {
|
|
309
309
|
return (t, n) => (I(), K("div", Ya, [
|
|
310
|
-
(I(!0), K(ot, null,
|
|
310
|
+
(I(!0), K(ot, null, Tn(t.errors, (l, a) => {
|
|
311
311
|
var o;
|
|
312
312
|
return I(), K("div", {
|
|
313
313
|
key: a,
|
|
@@ -337,7 +337,7 @@ const Ya = { class: "custom-error-display text-error" }, Xa = { key: 0 }, Za = /
|
|
|
337
337
|
}, ge = /* @__PURE__ */ Oe(Za, [["__scopeId", "data-v-b274d086"]]), Qa = {
|
|
338
338
|
key: 0,
|
|
339
339
|
for: "#following-v-input"
|
|
340
|
-
},
|
|
340
|
+
}, xt = /* @__PURE__ */ Z({
|
|
341
341
|
__name: "input-base",
|
|
342
342
|
props: {
|
|
343
343
|
control: {},
|
|
@@ -401,15 +401,15 @@ const Ya = { class: "custom-error-display text-error" }, Xa = { key: 0 }, Za = /
|
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
var oe = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(oe || {});
|
|
404
|
-
const
|
|
404
|
+
const nn = 0;
|
|
405
405
|
((e) => {
|
|
406
406
|
function t(a) {
|
|
407
|
-
return a.toUpperCase() === "BUTTON" ? 0 : a.toUpperCase() === "TEXT" ? 1 :
|
|
407
|
+
return a.toUpperCase() === "BUTTON" ? 0 : a.toUpperCase() === "TEXT" ? 1 : nn;
|
|
408
408
|
}
|
|
409
409
|
e.fromString = t;
|
|
410
410
|
function n(a) {
|
|
411
411
|
const o = typeof a == "number" ? a : e.fromString(a);
|
|
412
|
-
return Object.values(e).includes(o) ? o :
|
|
412
|
+
return Object.values(e).includes(o) ? o : nn;
|
|
413
413
|
}
|
|
414
414
|
e.fromAny = n;
|
|
415
415
|
function l(a) {
|
|
@@ -419,13 +419,13 @@ const tn = 0;
|
|
|
419
419
|
e.isDefined = l;
|
|
420
420
|
})(oe || (oe = {}));
|
|
421
421
|
Object.freeze(oe);
|
|
422
|
-
const
|
|
422
|
+
const ln = ["xl", "lg", "md", "sm", "xs"];
|
|
423
423
|
class Je {
|
|
424
424
|
constructor(t, n) {
|
|
425
425
|
Ie(this, "_value");
|
|
426
426
|
if (this._value = {}, !t) return;
|
|
427
427
|
let l = Je.cleanBreakpoint(t);
|
|
428
|
-
!(l != null && l.label) && n && (l ? l.label || (l.label = n) : l = { label: n }), l && (this._value = l),
|
|
428
|
+
!(l != null && l.label) && n && (l ? l.label || (l.label = n) : l = { label: n }), l && (this._value = l), ln.forEach((a) => {
|
|
429
429
|
const o = Je.cleanBreakpoint(t[a]);
|
|
430
430
|
o && (this._value[a] = o);
|
|
431
431
|
});
|
|
@@ -437,7 +437,7 @@ class Je {
|
|
|
437
437
|
renderAs: (a = this._value.renderAs) != null ? a : oe.BUTTON,
|
|
438
438
|
showLabel: (o = this._value.showLabel) != null ? o : !0,
|
|
439
439
|
showIcon: (i = this._value.showIcon) != null ? i : !0
|
|
440
|
-
}, l = [...
|
|
440
|
+
}, l = [...ln].reverse();
|
|
441
441
|
for (const r of l) {
|
|
442
442
|
const u = this._value[r];
|
|
443
443
|
if (u && (u.label != null && (n.label = u.label), u.renderAs != null && (n.renderAs = u.renderAs), u.showIcon != null && (n.showIcon = u.showIcon), u.showLabel != null && (n.showLabel = u.showLabel)), r === t) break;
|
|
@@ -447,7 +447,7 @@ class Je {
|
|
|
447
447
|
static cleanBreakpoint(t) {
|
|
448
448
|
if (!t || !Hl(t)) return null;
|
|
449
449
|
const n = {};
|
|
450
|
-
return t.renderAs !== void 0 && (n.renderAs = oe.fromAny(t.renderAs)), gt(t.label) && (n.label = t.label),
|
|
450
|
+
return t.renderAs !== void 0 && (n.renderAs = oe.fromAny(t.renderAs)), gt(t.label) && (n.label = t.label), Zt(t.showLabel) && (n.showLabel = t.showLabel), Zt(t.showIcon) && (n.showIcon = t.showIcon), Object.keys(n).length ? n : null;
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
class Ye {
|
|
@@ -571,7 +571,7 @@ const Ja = {
|
|
|
571
571
|
"with-border": m.showAsGroup === "grouped"
|
|
572
572
|
}])
|
|
573
573
|
}, [
|
|
574
|
-
(I(!0), K(ot, null,
|
|
574
|
+
(I(!0), K(ot, null, Tn(v(n), (f, y) => (I(), F(c, {
|
|
575
575
|
key: y,
|
|
576
576
|
variant: u(f) === v(oe).BUTTON ? "tonal" : "text",
|
|
577
577
|
elevation: 0,
|
|
@@ -693,7 +693,7 @@ const Ja = {
|
|
|
693
693
|
]),
|
|
694
694
|
"prepend-inner": D(() => [
|
|
695
695
|
Ne("div", {
|
|
696
|
-
style:
|
|
696
|
+
style: Ct([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: v(o) }])
|
|
697
697
|
}, null, 4)
|
|
698
698
|
]),
|
|
699
699
|
_: 2
|
|
@@ -719,14 +719,14 @@ function fe(e) {
|
|
|
719
719
|
return String(e).padStart(t, "0");
|
|
720
720
|
}
|
|
721
721
|
const Mn = typeof window != "undefined", no = Mn && "IntersectionObserver" in window;
|
|
722
|
-
function
|
|
722
|
+
function Tt(e, t) {
|
|
723
723
|
if (e === t) return !0;
|
|
724
724
|
if (e instanceof Date && t instanceof Date && e.getTime() !== t.getTime() || e !== Object(e) || t !== Object(t))
|
|
725
725
|
return !1;
|
|
726
726
|
const n = Object.keys(e);
|
|
727
|
-
return n.length !== Object.keys(t).length ? !1 : n.every((l) =>
|
|
727
|
+
return n.length !== Object.keys(t).length ? !1 : n.every((l) => Tt(e[l], t[l]));
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function It(e) {
|
|
730
730
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
731
731
|
return Array.from({
|
|
732
732
|
length: e
|
|
@@ -742,7 +742,7 @@ function ae(e) {
|
|
|
742
742
|
function lo(e) {
|
|
743
743
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function an(e) {
|
|
746
746
|
let t;
|
|
747
747
|
return e !== null && typeof e == "object" && ((t = Object.getPrototypeOf(e)) === Object.prototype || t === null);
|
|
748
748
|
}
|
|
@@ -753,7 +753,7 @@ function ao(e) {
|
|
|
753
753
|
}
|
|
754
754
|
return e;
|
|
755
755
|
}
|
|
756
|
-
const
|
|
756
|
+
const on = Object.freeze({
|
|
757
757
|
enter: 13,
|
|
758
758
|
tab: 9,
|
|
759
759
|
delete: 46,
|
|
@@ -788,7 +788,7 @@ function Rn(e, t) {
|
|
|
788
788
|
function io(e) {
|
|
789
789
|
return e == null ? [] : Array.isArray(e) ? e : [e];
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function sn(e, t) {
|
|
792
792
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
|
|
793
793
|
return e + n.repeat(Math.max(0, t - e.length));
|
|
794
794
|
}
|
|
@@ -807,7 +807,7 @@ function we() {
|
|
|
807
807
|
l[a] = e[a];
|
|
808
808
|
for (const a in t) {
|
|
809
809
|
const o = e[a], i = t[a];
|
|
810
|
-
if (
|
|
810
|
+
if (an(o) && an(i)) {
|
|
811
811
|
l[a] = we(o, i, n);
|
|
812
812
|
continue;
|
|
813
813
|
}
|
|
@@ -847,7 +847,7 @@ function Pe(e, t) {
|
|
|
847
847
|
}
|
|
848
848
|
function Fn(e) {
|
|
849
849
|
const t = Qe({}), n = h(e);
|
|
850
|
-
return
|
|
850
|
+
return St(() => {
|
|
851
851
|
for (const l in n.value)
|
|
852
852
|
t[l] = n.value[l];
|
|
853
853
|
}, {
|
|
@@ -857,11 +857,11 @@ function Fn(e) {
|
|
|
857
857
|
function bt(e, t) {
|
|
858
858
|
return e.includes(t);
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function rn(e, t) {
|
|
861
861
|
return t = "on" + In(t), !!(e[t] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]);
|
|
862
862
|
}
|
|
863
863
|
function ro() {
|
|
864
|
-
const e =
|
|
864
|
+
const e = Vt(), t = (n) => {
|
|
865
865
|
e.value = n;
|
|
866
866
|
};
|
|
867
867
|
return Object.defineProperty(t, "value", {
|
|
@@ -877,25 +877,25 @@ const uo = ["top", "bottom"], co = ["start", "end", "left", "right"];
|
|
|
877
877
|
function mo(e, t) {
|
|
878
878
|
let [n, l] = e.split(" ");
|
|
879
879
|
return l || (l = bt(uo, n) ? "start" : bt(co, n) ? "top" : "center"), {
|
|
880
|
-
side:
|
|
881
|
-
align:
|
|
880
|
+
side: un(n, t),
|
|
881
|
+
align: un(l, t)
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function un(e, t) {
|
|
885
885
|
return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e;
|
|
886
886
|
}
|
|
887
|
-
const _e = 2.4,
|
|
888
|
-
function
|
|
887
|
+
const _e = 2.4, cn = 0.2126729, dn = 0.7151522, mn = 0.072175, fo = 0.55, vo = 0.58, go = 0.57, ho = 0.62, Ke = 0.03, fn = 1.45, bo = 5e-4, yo = 1.25, po = 1.25, _o = 0.078, vn = 12.82051282051282, qe = 0.06, wo = 1e-3;
|
|
888
|
+
function gn(e, t) {
|
|
889
889
|
const n = j(e.r / 255, _e), l = j(e.g / 255, _e), a = j(e.b / 255, _e), o = j(t.r / 255, _e), i = j(t.g / 255, _e), r = j(t.b / 255, _e);
|
|
890
|
-
let u = n *
|
|
891
|
-
if (u <= Ke && (u += j(Ke - u,
|
|
890
|
+
let u = n * cn + l * dn + a * mn, d = o * cn + i * dn + r * mn;
|
|
891
|
+
if (u <= Ke && (u += j(Ke - u, fn)), d <= Ke && (d += j(Ke - d, fn)), Math.abs(d - u) < bo) return 0;
|
|
892
892
|
let m;
|
|
893
893
|
if (d > u) {
|
|
894
894
|
const s = (j(d, fo) - j(u, vo)) * yo;
|
|
895
|
-
m = s < wo ? 0 : s < _o ? s - s *
|
|
895
|
+
m = s < wo ? 0 : s < _o ? s - s * vn * qe : s - qe;
|
|
896
896
|
} else {
|
|
897
897
|
const s = (j(d, ho) - j(u, go)) * po;
|
|
898
|
-
m = s > -1e-3 ? 0 : s > -0.078 ? s - s *
|
|
898
|
+
m = s > -1e-3 ? 0 : s > -0.078 ? s - s * vn * qe : s + qe;
|
|
899
899
|
}
|
|
900
900
|
return m * 100;
|
|
901
901
|
}
|
|
@@ -908,7 +908,7 @@ function yt(e) {
|
|
|
908
908
|
function ko(e) {
|
|
909
909
|
return yt(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e);
|
|
910
910
|
}
|
|
911
|
-
const
|
|
911
|
+
const hn = new RegExp("^(?<fn>(?:rgb|hsl)a?)\\((?<values>.+)\\)"), Co = {
|
|
912
912
|
rgb: (e, t, n, l) => ({
|
|
913
913
|
r: e,
|
|
914
914
|
g: t,
|
|
@@ -921,13 +921,13 @@ const gn = new RegExp("^(?<fn>(?:rgb|hsl)a?)\\((?<values>.+)\\)"), Co = {
|
|
|
921
921
|
b: n,
|
|
922
922
|
a: l
|
|
923
923
|
}),
|
|
924
|
-
hsl: (e, t, n, l) =>
|
|
924
|
+
hsl: (e, t, n, l) => bn({
|
|
925
925
|
h: e,
|
|
926
926
|
s: t,
|
|
927
927
|
l: n,
|
|
928
928
|
a: l
|
|
929
929
|
}),
|
|
930
|
-
hsla: (e, t, n, l) =>
|
|
930
|
+
hsla: (e, t, n, l) => bn({
|
|
931
931
|
h: e,
|
|
932
932
|
s: t,
|
|
933
933
|
l: n,
|
|
@@ -953,10 +953,10 @@ function Ae(e) {
|
|
|
953
953
|
g: (e & 65280) >> 8,
|
|
954
954
|
b: e & 255
|
|
955
955
|
};
|
|
956
|
-
if (typeof e == "string" &&
|
|
956
|
+
if (typeof e == "string" && hn.test(e)) {
|
|
957
957
|
const {
|
|
958
958
|
groups: t
|
|
959
|
-
} = e.match(
|
|
959
|
+
} = e.match(hn), {
|
|
960
960
|
fn: n,
|
|
961
961
|
values: l
|
|
962
962
|
} = t, a = l.split(/,\s*|\s*\/\s*|\s+/).map((o, i) => o.endsWith("%") || // unitless slv are %
|
|
@@ -995,7 +995,7 @@ function De(e) {
|
|
|
995
995
|
a
|
|
996
996
|
};
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function bn(e) {
|
|
999
999
|
return De(Un(e));
|
|
1000
1000
|
}
|
|
1001
1001
|
function Un(e) {
|
|
@@ -1023,11 +1023,11 @@ function So(e) {
|
|
|
1023
1023
|
};
|
|
1024
1024
|
}
|
|
1025
1025
|
function Vo(e) {
|
|
1026
|
-
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 =
|
|
1026
|
+
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 = sn(sn(e, 6), 8, "F")), e;
|
|
1027
1027
|
}
|
|
1028
1028
|
function xo(e) {
|
|
1029
|
-
const t = Math.abs(
|
|
1030
|
-
return Math.abs(
|
|
1029
|
+
const t = Math.abs(gn(Ae(0), Ae(e)));
|
|
1030
|
+
return Math.abs(gn(Ae(16777215), Ae(e))) > Math.min(t, 50) ? "#fff" : "#000";
|
|
1031
1031
|
}
|
|
1032
1032
|
function L(e, t) {
|
|
1033
1033
|
return (n) => Object.keys(e).reduce((l, a) => {
|
|
@@ -1066,13 +1066,13 @@ function To(e) {
|
|
|
1066
1066
|
return n[e];
|
|
1067
1067
|
}
|
|
1068
1068
|
const et = Symbol.for("vuetify:defaults");
|
|
1069
|
-
function
|
|
1069
|
+
function Bt() {
|
|
1070
1070
|
const e = he(et);
|
|
1071
1071
|
if (!e) throw new Error("[Vuetify] Could not find defaults instance");
|
|
1072
1072
|
return e;
|
|
1073
1073
|
}
|
|
1074
1074
|
function Hn(e, t) {
|
|
1075
|
-
const n =
|
|
1075
|
+
const n = Bt(), l = T(e), a = h(() => {
|
|
1076
1076
|
if (v(t == null ? void 0 : t.disabled)) return n.value;
|
|
1077
1077
|
const i = v(t == null ? void 0 : t.scoped), r = v(t == null ? void 0 : t.reset), u = v(t == null ? void 0 : t.root);
|
|
1078
1078
|
if (l.value == null && !(i || r || u)) return n.value;
|
|
@@ -1098,7 +1098,7 @@ function Io(e, t) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
function Bo() {
|
|
1100
1100
|
var u;
|
|
1101
|
-
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] :
|
|
1101
|
+
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] : Bt();
|
|
1102
1102
|
const l = ie("useDefaults");
|
|
1103
1103
|
if (t = (u = t != null ? t : l.type.name) != null ? u : l.type.__name, !t)
|
|
1104
1104
|
throw new Error("[Vuetify] Could not determine component name");
|
|
@@ -1111,8 +1111,8 @@ function Bo() {
|
|
|
1111
1111
|
const s = Reflect.get(d, m);
|
|
1112
1112
|
return m === "class" || m === "style" ? [(c = a.value) == null ? void 0 : c[m], s].filter((w) => w != null) : typeof m == "string" && !Io(l.vnode, m) ? ((f = a.value) == null ? void 0 : f[m]) !== void 0 ? (y = a.value) == null ? void 0 : y[m] : ((S = (g = n.value) == null ? void 0 : g.global) == null ? void 0 : S[m]) !== void 0 ? (_ = (V = n.value) == null ? void 0 : V.global) == null ? void 0 : _[m] : s : s;
|
|
1113
1113
|
}
|
|
1114
|
-
}), i =
|
|
1115
|
-
|
|
1114
|
+
}), i = Vt();
|
|
1115
|
+
St(() => {
|
|
1116
1116
|
if (a.value) {
|
|
1117
1117
|
const d = Object.entries(a.value).filter((m) => {
|
|
1118
1118
|
let [s] = m;
|
|
@@ -1145,7 +1145,7 @@ function it(e) {
|
|
|
1145
1145
|
return oo(o, l);
|
|
1146
1146
|
}, e.props._as = String, e.setup = function(o, i) {
|
|
1147
1147
|
var s;
|
|
1148
|
-
const r =
|
|
1148
|
+
const r = Bt();
|
|
1149
1149
|
if (!r.value) return e._setup(o, i);
|
|
1150
1150
|
const {
|
|
1151
1151
|
props: u,
|
|
@@ -1188,7 +1188,7 @@ function se(e) {
|
|
|
1188
1188
|
const t = ie("useRender");
|
|
1189
1189
|
t.render = e;
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function Pt(e) {
|
|
1192
1192
|
return Fn(() => {
|
|
1193
1193
|
const t = [], n = {};
|
|
1194
1194
|
if (e.value.background)
|
|
@@ -1214,19 +1214,19 @@ function tt(e, t) {
|
|
|
1214
1214
|
})), {
|
|
1215
1215
|
colorClasses: l,
|
|
1216
1216
|
colorStyles: a
|
|
1217
|
-
} =
|
|
1217
|
+
} = Pt(n);
|
|
1218
1218
|
return {
|
|
1219
1219
|
textColorClasses: l,
|
|
1220
1220
|
textColorStyles: a
|
|
1221
1221
|
};
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function At(e, t) {
|
|
1224
1224
|
const n = h(() => ({
|
|
1225
1225
|
background: ee(e) ? e.value : null
|
|
1226
1226
|
})), {
|
|
1227
1227
|
colorClasses: l,
|
|
1228
1228
|
colorStyles: a
|
|
1229
|
-
} =
|
|
1229
|
+
} = Pt(n);
|
|
1230
1230
|
return {
|
|
1231
1231
|
backgroundColorClasses: l,
|
|
1232
1232
|
backgroundColorStyles: a
|
|
@@ -1264,7 +1264,7 @@ const Ao = L({
|
|
|
1264
1264
|
modelValue: {
|
|
1265
1265
|
type: Number
|
|
1266
1266
|
}
|
|
1267
|
-
}, "VTimePickerClock"),
|
|
1267
|
+
}, "VTimePickerClock"), yn = te()({
|
|
1268
1268
|
name: "VTimePickerClock",
|
|
1269
1269
|
props: Ao(),
|
|
1270
1270
|
emits: {
|
|
@@ -1281,7 +1281,7 @@ const Ao = L({
|
|
|
1281
1281
|
} = tt(q(e, "color")), {
|
|
1282
1282
|
backgroundColorClasses: s,
|
|
1283
1283
|
backgroundColorStyles: c
|
|
1284
|
-
} =
|
|
1284
|
+
} = At(q(e, "color")), f = h(() => e.max - e.min + 1), y = h(() => e.double ? f.value / 2 : f.value), g = h(() => 360 / y.value), S = h(() => g.value * Math.PI / 180), V = h(() => e.modelValue == null ? e.min : e.modelValue), _ = h(() => 0.62), w = h(() => {
|
|
1285
1285
|
const C = [];
|
|
1286
1286
|
for (let E = e.min; E <= e.max; E = E + e.step)
|
|
1287
1287
|
C.push(E);
|
|
@@ -1345,29 +1345,29 @@ const Ao = L({
|
|
|
1345
1345
|
r.value === null && (r.value = C), u.value = C, P(C);
|
|
1346
1346
|
}
|
|
1347
1347
|
function B(C) {
|
|
1348
|
-
var
|
|
1348
|
+
var jt, Wt, Gt;
|
|
1349
1349
|
if (C.preventDefault(), !i.value && C.type !== "click" || !l.value) return;
|
|
1350
1350
|
const {
|
|
1351
1351
|
width: E,
|
|
1352
1352
|
top: M,
|
|
1353
1353
|
left: re
|
|
1354
|
-
} = (
|
|
1354
|
+
} = (jt = l.value) == null ? void 0 : jt.getBoundingClientRect(), {
|
|
1355
1355
|
width: He
|
|
1356
|
-
} = (
|
|
1356
|
+
} = (Gt = (Wt = a.value) == null ? void 0 : Wt.getBoundingClientRect()) != null ? Gt : {
|
|
1357
1357
|
width: 0
|
|
1358
1358
|
}, {
|
|
1359
1359
|
clientX: ye,
|
|
1360
1360
|
clientY: ze
|
|
1361
|
-
} = "touches" in C ? C.touches[0] : C,
|
|
1361
|
+
} = "touches" in C ? C.touches[0] : C, Ft = {
|
|
1362
1362
|
x: E / 2,
|
|
1363
1363
|
y: -E / 2
|
|
1364
|
-
},
|
|
1364
|
+
}, Ut = {
|
|
1365
1365
|
x: ye - re,
|
|
1366
1366
|
y: M - ze
|
|
1367
|
-
},
|
|
1367
|
+
}, Ht = Math.round(N(Ft, Ut) - e.rotate + 360) % 360, zt = e.double && p(Ft, Ut) < (He + He * _.value) / 4, gl = Math.ceil(15 / g.value);
|
|
1368
1368
|
let pe;
|
|
1369
1369
|
for (let je = 0; je < gl; je++)
|
|
1370
|
-
if (pe = ne(
|
|
1370
|
+
if (pe = ne(Ht + je * g.value, zt), R(pe) || (pe = ne(Ht - je * g.value, zt), R(pe))) return O(pe);
|
|
1371
1371
|
}
|
|
1372
1372
|
function W(C) {
|
|
1373
1373
|
e.disabled || (C.preventDefault(), window.addEventListener("mousemove", B), window.addEventListener("touchmove", B), window.addEventListener("mouseup", Q), window.addEventListener("touchend", Q), r.value = null, u.value = null, i.value = !0, B(C));
|
|
@@ -1408,10 +1408,10 @@ const Ao = L({
|
|
|
1408
1408
|
}, [b("span", null, [e.format(C)])]);
|
|
1409
1409
|
})])]));
|
|
1410
1410
|
}
|
|
1411
|
-
}),
|
|
1411
|
+
}), $t = L({
|
|
1412
1412
|
border: [Boolean, Number, String]
|
|
1413
1413
|
}, "border");
|
|
1414
|
-
function
|
|
1414
|
+
function Et(e) {
|
|
1415
1415
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be();
|
|
1416
1416
|
return {
|
|
1417
1417
|
borderClasses: h(() => {
|
|
@@ -1438,7 +1438,7 @@ function jn(e) {
|
|
|
1438
1438
|
densityClasses: h(() => `${t}--density-${e.density}`)
|
|
1439
1439
|
};
|
|
1440
1440
|
}
|
|
1441
|
-
const
|
|
1441
|
+
const Nt = L({
|
|
1442
1442
|
elevation: {
|
|
1443
1443
|
type: [Number, String],
|
|
1444
1444
|
validator(e) {
|
|
@@ -1449,7 +1449,7 @@ const Et = L({
|
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
1451
|
}, "elevation");
|
|
1452
|
-
function
|
|
1452
|
+
function Dt(e) {
|
|
1453
1453
|
return {
|
|
1454
1454
|
elevationClasses: h(() => {
|
|
1455
1455
|
const n = ee(e) ? e.value : e.elevation, l = [];
|
|
@@ -1457,14 +1457,14 @@ function Nt(e) {
|
|
|
1457
1457
|
})
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
|
-
const
|
|
1460
|
+
const Lt = L({
|
|
1461
1461
|
rounded: {
|
|
1462
1462
|
type: [Boolean, Number, String],
|
|
1463
1463
|
default: void 0
|
|
1464
1464
|
},
|
|
1465
1465
|
tile: Boolean
|
|
1466
1466
|
}, "rounded");
|
|
1467
|
-
function
|
|
1467
|
+
function Mt(e) {
|
|
1468
1468
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be();
|
|
1469
1469
|
return {
|
|
1470
1470
|
roundedClasses: h(() => {
|
|
@@ -1535,7 +1535,7 @@ function Lo(e) {
|
|
|
1535
1535
|
}), {
|
|
1536
1536
|
colorClasses: l,
|
|
1537
1537
|
colorStyles: a
|
|
1538
|
-
} =
|
|
1538
|
+
} = Pt(h(() => {
|
|
1539
1539
|
const {
|
|
1540
1540
|
variant: o,
|
|
1541
1541
|
color: i
|
|
@@ -1553,7 +1553,7 @@ function Lo(e) {
|
|
|
1553
1553
|
const Gn = L(k(k(k(k(k(k(k(k({
|
|
1554
1554
|
baseColor: String,
|
|
1555
1555
|
divided: Boolean
|
|
1556
|
-
},
|
|
1556
|
+
}, $t()), Te()), zn()), Nt()), Lt()), Fe()), Ue()), Wn()), "VBtnGroup"), pn = te()({
|
|
1557
1557
|
name: "VBtnGroup",
|
|
1558
1558
|
props: Gn(),
|
|
1559
1559
|
setup(e, t) {
|
|
@@ -1566,11 +1566,11 @@ const Gn = L(k(k(k(k(k(k(k(k({
|
|
|
1566
1566
|
densityClasses: a
|
|
1567
1567
|
} = jn(e), {
|
|
1568
1568
|
borderClasses: o
|
|
1569
|
-
} =
|
|
1569
|
+
} = Et(e), {
|
|
1570
1570
|
elevationClasses: i
|
|
1571
|
-
} =
|
|
1571
|
+
} = Dt(e), {
|
|
1572
1572
|
roundedClasses: r
|
|
1573
|
-
} =
|
|
1573
|
+
} = Mt(e);
|
|
1574
1574
|
Hn({
|
|
1575
1575
|
VBtn: {
|
|
1576
1576
|
height: "auto",
|
|
@@ -1762,7 +1762,7 @@ function Ho(e, t) {
|
|
|
1762
1762
|
function qn(e, t) {
|
|
1763
1763
|
const n = [];
|
|
1764
1764
|
return t.forEach((l) => {
|
|
1765
|
-
const a = e.find((i) =>
|
|
1765
|
+
const a = e.find((i) => Tt(l, i.value)), o = e[l];
|
|
1766
1766
|
(a == null ? void 0 : a.value) != null ? n.push(a.id) : o != null && n.push(o.id);
|
|
1767
1767
|
}), n;
|
|
1768
1768
|
}
|
|
@@ -1795,8 +1795,8 @@ te()({
|
|
|
1795
1795
|
selected: r
|
|
1796
1796
|
} = Uo(e, Yn);
|
|
1797
1797
|
return se(() => {
|
|
1798
|
-
const u =
|
|
1799
|
-
return b(
|
|
1798
|
+
const u = pn.filterProps(e);
|
|
1799
|
+
return b(pn, z({
|
|
1800
1800
|
class: ["v-btn-toggle", e.class]
|
|
1801
1801
|
}, u, {
|
|
1802
1802
|
style: e.style
|
|
@@ -1858,7 +1858,7 @@ const Wo = L({
|
|
|
1858
1858
|
type: [String, Object, Function],
|
|
1859
1859
|
required: !0
|
|
1860
1860
|
}
|
|
1861
|
-
}, "icon"),
|
|
1861
|
+
}, "icon"), _n = te()({
|
|
1862
1862
|
name: "VComponentIcon",
|
|
1863
1863
|
props: rt(),
|
|
1864
1864
|
setup(e, t) {
|
|
@@ -1929,7 +1929,7 @@ const qo = (e) => {
|
|
|
1929
1929
|
var u;
|
|
1930
1930
|
const l = v(e);
|
|
1931
1931
|
if (!l) return {
|
|
1932
|
-
component:
|
|
1932
|
+
component: _n
|
|
1933
1933
|
};
|
|
1934
1934
|
let a = l;
|
|
1935
1935
|
if (typeof a == "string" && (a = a.trim(), a.startsWith("$") && (a = (u = t.aliases) == null ? void 0 : u[a.slice(1)])), a || ke(`Could not find aliased icon "${l}"`), Array.isArray(a))
|
|
@@ -1939,7 +1939,7 @@ const qo = (e) => {
|
|
|
1939
1939
|
};
|
|
1940
1940
|
if (typeof a != "string")
|
|
1941
1941
|
return {
|
|
1942
|
-
component:
|
|
1942
|
+
component: _n,
|
|
1943
1943
|
icon: a
|
|
1944
1944
|
};
|
|
1945
1945
|
const o = Object.keys(t.sets).find((d) => typeof a == "string" && a.startsWith(`${d}:`)), i = o ? a.slice(o.length + 1) : a;
|
|
@@ -1949,13 +1949,13 @@ const qo = (e) => {
|
|
|
1949
1949
|
};
|
|
1950
1950
|
})
|
|
1951
1951
|
};
|
|
1952
|
-
}, Yo = ["x-small", "small", "default", "large", "x-large"],
|
|
1952
|
+
}, Yo = ["x-small", "small", "default", "large", "x-large"], Rt = L({
|
|
1953
1953
|
size: {
|
|
1954
1954
|
type: [String, Number],
|
|
1955
1955
|
default: "default"
|
|
1956
1956
|
}
|
|
1957
1957
|
}, "size");
|
|
1958
|
-
function
|
|
1958
|
+
function Ot(e) {
|
|
1959
1959
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be();
|
|
1960
1960
|
return Fn(() => {
|
|
1961
1961
|
let n, l;
|
|
@@ -1975,7 +1975,7 @@ const Xo = L(k(k(k(k({
|
|
|
1975
1975
|
end: Boolean,
|
|
1976
1976
|
icon: nt,
|
|
1977
1977
|
opacity: [String, Number]
|
|
1978
|
-
}, Te()),
|
|
1978
|
+
}, Te()), Rt()), Fe({
|
|
1979
1979
|
tag: "i"
|
|
1980
1980
|
})), Ue()), "VIcon"), ft = te()({
|
|
1981
1981
|
name: "VIcon",
|
|
@@ -1991,7 +1991,7 @@ const Xo = L(k(k(k(k({
|
|
|
1991
1991
|
iconData: i
|
|
1992
1992
|
} = qo(h(() => a.value || e.icon)), {
|
|
1993
1993
|
sizeClasses: r
|
|
1994
|
-
} =
|
|
1994
|
+
} = Ot(e), {
|
|
1995
1995
|
textColorClasses: u,
|
|
1996
1996
|
textColorStyles: d
|
|
1997
1997
|
} = tt(q(e, "color"));
|
|
@@ -2026,7 +2026,7 @@ const Xo = L(k(k(k(k({
|
|
|
2026
2026
|
}
|
|
2027
2027
|
});
|
|
2028
2028
|
function Zo(e, t) {
|
|
2029
|
-
const n = T(), l =
|
|
2029
|
+
const n = T(), l = Vt(!1);
|
|
2030
2030
|
if (no) {
|
|
2031
2031
|
const a = new IntersectionObserver((o) => {
|
|
2032
2032
|
l.value = !!o.find((i) => i.isIntersecting);
|
|
@@ -2080,7 +2080,7 @@ const Jo = L(k(k(k(k({
|
|
|
2080
2080
|
type: [Number, String],
|
|
2081
2081
|
default: 4
|
|
2082
2082
|
}
|
|
2083
|
-
}, Te()),
|
|
2083
|
+
}, Te()), Rt()), Fe({
|
|
2084
2084
|
tag: "div"
|
|
2085
2085
|
})), Ue()), "VProgressCircular"), ei = te()({
|
|
2086
2086
|
name: "VProgressCircular",
|
|
@@ -2094,7 +2094,7 @@ const Jo = L(k(k(k(k({
|
|
|
2094
2094
|
} = st(e), {
|
|
2095
2095
|
sizeClasses: r,
|
|
2096
2096
|
sizeStyles: u
|
|
2097
|
-
} =
|
|
2097
|
+
} = Ot(e), {
|
|
2098
2098
|
textColorClasses: d,
|
|
2099
2099
|
textColorStyles: m
|
|
2100
2100
|
} = tt(q(e, "color")), {
|
|
@@ -2107,7 +2107,7 @@ const Jo = L(k(k(k(k({
|
|
|
2107
2107
|
resizeRef: g,
|
|
2108
2108
|
contentRect: S
|
|
2109
2109
|
} = Qo(), V = h(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), _ = h(() => Number(e.width)), w = h(() => u.value ? Number(e.size) : S.value ? S.value.width : Math.max(_.value, 32)), P = h(() => l / (1 - _.value / w.value) * 2), R = h(() => _.value / w.value * P.value), Y = h(() => ae((100 - V.value) / 100 * a));
|
|
2110
|
-
return
|
|
2110
|
+
return St(() => {
|
|
2111
2111
|
f.value = o.value, g.value = o.value;
|
|
2112
2112
|
}), se(() => b(e.tag, {
|
|
2113
2113
|
ref: o,
|
|
@@ -2184,7 +2184,7 @@ function ti() {
|
|
|
2184
2184
|
rtlClasses: e.rtlClasses
|
|
2185
2185
|
};
|
|
2186
2186
|
}
|
|
2187
|
-
const
|
|
2187
|
+
const wn = {
|
|
2188
2188
|
center: "center",
|
|
2189
2189
|
top: "bottom",
|
|
2190
2190
|
bottom: "top",
|
|
@@ -2209,7 +2209,7 @@ function tl(e) {
|
|
|
2209
2209
|
return n ? n(d) : 0;
|
|
2210
2210
|
}
|
|
2211
2211
|
const u = {};
|
|
2212
|
-
return o !== "center" && (t ? u[
|
|
2212
|
+
return o !== "center" && (t ? u[wn[o]] = `calc(100% - ${r(o)}px)` : u[o] = 0), i !== "center" ? t ? u[wn[i]] = `calc(100% - ${r(i)}px)` : u[i] = 0 : (o === "center" ? u.top = u.left = "50%" : u[{
|
|
2213
2213
|
top: "left",
|
|
2214
2214
|
bottom: "left",
|
|
2215
2215
|
left: "top",
|
|
@@ -2259,7 +2259,7 @@ function oi() {
|
|
|
2259
2259
|
}
|
|
2260
2260
|
function ii(e, t) {
|
|
2261
2261
|
var s, c;
|
|
2262
|
-
const n = Ce("RouterLink"), l = h(() => !!(e.href || e.to)), a = h(() => (l == null ? void 0 : l.value) ||
|
|
2262
|
+
const n = Ce("RouterLink"), l = h(() => !!(e.href || e.to)), a = h(() => (l == null ? void 0 : l.value) || rn(t, "click") || rn(e, "click"));
|
|
2263
2263
|
if (typeof n == "string" || !("useLink" in n)) {
|
|
2264
2264
|
const f = q(e, "href");
|
|
2265
2265
|
return {
|
|
@@ -2275,7 +2275,7 @@ function ii(e, t) {
|
|
|
2275
2275
|
to: q(() => e.to || "")
|
|
2276
2276
|
})), i = n.useLink(o.value), r = h(() => e.to ? i : void 0), u = oi(), d = h(() => {
|
|
2277
2277
|
var f, y, g, S, V;
|
|
2278
|
-
return r.value ? e.exact ? u.value ? ((V = r.value.isExactActive) == null ? void 0 : V.value) &&
|
|
2278
|
+
return r.value ? e.exact ? u.value ? ((V = r.value.isExactActive) == null ? void 0 : V.value) && Tt(r.value.route.value.query, u.value.query) : (S = (g = r.value.isExactActive) == null ? void 0 : g.value) != null ? S : !1 : (y = (f = r.value.isActive) == null ? void 0 : f.value) != null ? y : !1 : !1;
|
|
2279
2279
|
}), m = h(() => {
|
|
2280
2280
|
var f;
|
|
2281
2281
|
return e.to ? (f = r.value) == null ? void 0 : f.route.value.href : e.href;
|
|
@@ -2312,7 +2312,7 @@ function ri(e, t) {
|
|
|
2312
2312
|
});
|
|
2313
2313
|
}
|
|
2314
2314
|
const _t = Symbol("rippleStop"), ui = 80;
|
|
2315
|
-
function
|
|
2315
|
+
function kn(e, t) {
|
|
2316
2316
|
e.style.transform = t, e.style.webkitTransform = t;
|
|
2317
2317
|
}
|
|
2318
2318
|
function wt(e) {
|
|
@@ -2358,9 +2358,9 @@ const ci = function(e, t) {
|
|
|
2358
2358
|
} = ci(e, t, n), s = `${o * 2}px`;
|
|
2359
2359
|
a.className = "v-ripple__animation", a.style.width = s, a.style.height = s, t.appendChild(l);
|
|
2360
2360
|
const c = window.getComputedStyle(t);
|
|
2361
|
-
c && c.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"),
|
|
2361
|
+
c && c.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"), kn(a, `translate(${r}, ${u}) scale3d(${i},${i},${i})`), a.dataset.activated = String(performance.now()), requestAnimationFrame(() => {
|
|
2362
2362
|
requestAnimationFrame(() => {
|
|
2363
|
-
a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"),
|
|
2363
|
+
a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"), kn(a, `translate(${d}, ${m}) scale3d(1,1,1)`);
|
|
2364
2364
|
});
|
|
2365
2365
|
});
|
|
2366
2366
|
},
|
|
@@ -2402,7 +2402,7 @@ function Le(e) {
|
|
|
2402
2402
|
lt.show(e, n, t);
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
2405
|
-
function
|
|
2405
|
+
function Cn(e) {
|
|
2406
2406
|
e[_t] = !0;
|
|
2407
2407
|
}
|
|
2408
2408
|
function J(e) {
|
|
@@ -2425,7 +2425,7 @@ function il(e) {
|
|
|
2425
2425
|
}
|
|
2426
2426
|
let Me = !1;
|
|
2427
2427
|
function sl(e) {
|
|
2428
|
-
!Me && (e.keyCode ===
|
|
2428
|
+
!Me && (e.keyCode === on.enter || e.keyCode === on.space) && (Me = !0, Le(e));
|
|
2429
2429
|
}
|
|
2430
2430
|
function rl(e) {
|
|
2431
2431
|
Me = !1, J(e);
|
|
@@ -2441,9 +2441,9 @@ function cl(e, t, n) {
|
|
|
2441
2441
|
} = t, o = ol(l);
|
|
2442
2442
|
if (o || lt.hide(e), e._ripple = (i = e._ripple) != null ? i : {}, e._ripple.enabled = o, e._ripple.centered = a.center, e._ripple.circle = a.circle, lo(l) && l.class && (e._ripple.class = l.class), o && !n) {
|
|
2443
2443
|
if (a.stop) {
|
|
2444
|
-
e.addEventListener("touchstart",
|
|
2444
|
+
e.addEventListener("touchstart", Cn, {
|
|
2445
2445
|
passive: !0
|
|
2446
|
-
}), e.addEventListener("mousedown",
|
|
2446
|
+
}), e.addEventListener("mousedown", Cn);
|
|
2447
2447
|
return;
|
|
2448
2448
|
}
|
|
2449
2449
|
e.addEventListener("touchstart", Le, {
|
|
@@ -2503,7 +2503,7 @@ const vi = {
|
|
|
2503
2503
|
type: [String, Number, Boolean],
|
|
2504
2504
|
default: void 0
|
|
2505
2505
|
}
|
|
2506
|
-
},
|
|
2506
|
+
}, $t()), Te()), zn()), Xn()), Nt()), Oo()), ni()), el()), nl()), Lt()), si()), Rt()), Fe({
|
|
2507
2507
|
tag: "button"
|
|
2508
2508
|
})), Ue()), Wn({
|
|
2509
2509
|
variant: "elevated"
|
|
@@ -2522,13 +2522,13 @@ const vi = {
|
|
|
2522
2522
|
themeClasses: a
|
|
2523
2523
|
} = st(e), {
|
|
2524
2524
|
borderClasses: o
|
|
2525
|
-
} =
|
|
2525
|
+
} = Et(e), {
|
|
2526
2526
|
densityClasses: i
|
|
2527
2527
|
} = jn(e), {
|
|
2528
2528
|
dimensionStyles: r
|
|
2529
2529
|
} = Zn(e), {
|
|
2530
2530
|
elevationClasses: u
|
|
2531
|
-
} =
|
|
2531
|
+
} = Dt(e), {
|
|
2532
2532
|
loaderClasses: d
|
|
2533
2533
|
} = li(e), {
|
|
2534
2534
|
locationStyles: m
|
|
@@ -2536,10 +2536,10 @@ const vi = {
|
|
|
2536
2536
|
positionClasses: s
|
|
2537
2537
|
} = ll(e), {
|
|
2538
2538
|
roundedClasses: c
|
|
2539
|
-
} =
|
|
2539
|
+
} = Mt(e), {
|
|
2540
2540
|
sizeClasses: f,
|
|
2541
2541
|
sizeStyles: y
|
|
2542
|
-
} =
|
|
2542
|
+
} = Ot(e), g = Fo(e, e.symbol, !1), S = ii(e, n), V = h(() => {
|
|
2543
2543
|
var A;
|
|
2544
2544
|
return e.active !== void 0 ? e.active : S.isLink.value ? (A = S.isActive) == null ? void 0 : A.value : g == null ? void 0 : g.isSelected.value;
|
|
2545
2545
|
}), _ = h(() => {
|
|
@@ -2665,7 +2665,7 @@ const vi = {
|
|
|
2665
2665
|
useSeconds: Boolean,
|
|
2666
2666
|
value: Number,
|
|
2667
2667
|
viewMode: String
|
|
2668
|
-
}, "VTimePickerControls"),
|
|
2668
|
+
}, "VTimePickerControls"), Sn = te()({
|
|
2669
2669
|
name: "VTimePickerControls",
|
|
2670
2670
|
props: hi(),
|
|
2671
2671
|
emits: {
|
|
@@ -2769,7 +2769,7 @@ const vi = {
|
|
|
2769
2769
|
}
|
|
2770
2770
|
}), bi = Po("v-picker-title"), ml = L(k(k(k(k(k(k(k(k(k({
|
|
2771
2771
|
color: String
|
|
2772
|
-
},
|
|
2772
|
+
}, $t()), Te()), Xn()), Nt()), el()), nl()), Lt()), Fe()), Ue()), "VSheet"), Vn = te()({
|
|
2773
2773
|
name: "VSheet",
|
|
2774
2774
|
props: ml(),
|
|
2775
2775
|
setup(e, t) {
|
|
@@ -2781,19 +2781,19 @@ const vi = {
|
|
|
2781
2781
|
} = st(e), {
|
|
2782
2782
|
backgroundColorClasses: a,
|
|
2783
2783
|
backgroundColorStyles: o
|
|
2784
|
-
} =
|
|
2784
|
+
} = At(q(e, "color")), {
|
|
2785
2785
|
borderClasses: i
|
|
2786
|
-
} =
|
|
2786
|
+
} = Et(e), {
|
|
2787
2787
|
dimensionStyles: r
|
|
2788
2788
|
} = Zn(e), {
|
|
2789
2789
|
elevationClasses: u
|
|
2790
|
-
} =
|
|
2790
|
+
} = Dt(e), {
|
|
2791
2791
|
locationStyles: d
|
|
2792
2792
|
} = tl(e), {
|
|
2793
2793
|
positionClasses: m
|
|
2794
2794
|
} = ll(e), {
|
|
2795
2795
|
roundedClasses: s
|
|
2796
|
-
} =
|
|
2796
|
+
} = Mt(e);
|
|
2797
2797
|
return se(() => b(e.tag, {
|
|
2798
2798
|
class: ["v-sheet", l.value, a.value, i.value, u.value, m.value, s.value, e.class],
|
|
2799
2799
|
style: [o.value, r.value, d.value, e.style]
|
|
@@ -2805,7 +2805,7 @@ const vi = {
|
|
|
2805
2805
|
landscape: Boolean,
|
|
2806
2806
|
title: String,
|
|
2807
2807
|
hideHeader: Boolean
|
|
2808
|
-
}, ml()), "VPicker"),
|
|
2808
|
+
}, ml()), "VPicker"), xn = te()({
|
|
2809
2809
|
name: "VPicker",
|
|
2810
2810
|
props: fl(),
|
|
2811
2811
|
setup(e, t) {
|
|
@@ -2815,10 +2815,10 @@ const vi = {
|
|
|
2815
2815
|
const {
|
|
2816
2816
|
backgroundColorClasses: l,
|
|
2817
2817
|
backgroundColorStyles: a
|
|
2818
|
-
} =
|
|
2818
|
+
} = At(q(e, "color"));
|
|
2819
2819
|
return se(() => {
|
|
2820
|
-
const o =
|
|
2821
|
-
return b(
|
|
2820
|
+
const o = Vn.filterProps(e), i = !!(e.title || n.title);
|
|
2821
|
+
return b(Vn, z(o, {
|
|
2822
2822
|
color: e.bgColor,
|
|
2823
2823
|
class: ["v-picker", {
|
|
2824
2824
|
"v-picker--divided": e.divided,
|
|
@@ -2860,8 +2860,8 @@ const vi = {
|
|
|
2860
2860
|
});
|
|
2861
2861
|
}), {};
|
|
2862
2862
|
}
|
|
2863
|
-
}), yi =
|
|
2864
|
-
|
|
2863
|
+
}), yi = It(24), vl = It(12), pi = vl.map((e) => e + 12);
|
|
2864
|
+
It(60);
|
|
2865
2865
|
const _i = L(k({
|
|
2866
2866
|
allowedHours: [Function, Array],
|
|
2867
2867
|
allowedMinutes: [Function, Array],
|
|
@@ -2987,8 +2987,8 @@ const _i = L(k({
|
|
|
2987
2987
|
c.value === "hour" ? c.value = "minute" : e.useSeconds && c.value === "minute" && (c.value = "second"), !(o.value === u.value && i.value === d.value && (!e.useSeconds || r.value === m.value) || w() === null) && (u.value = o.value, d.value = i.value, e.useSeconds && (m.value = r.value), N && P());
|
|
2988
2988
|
}
|
|
2989
2989
|
se(() => {
|
|
2990
|
-
const p =
|
|
2991
|
-
return b(
|
|
2990
|
+
const p = xn.filterProps(e), N = Sn.filterProps(e), O = yn.filterProps(Rn(e, ["format", "modelValue", "min", "max"]));
|
|
2991
|
+
return b(xn, z(p, {
|
|
2992
2992
|
color: void 0,
|
|
2993
2993
|
class: ["v-time-picker", e.class],
|
|
2994
2994
|
style: e.style
|
|
@@ -2999,7 +2999,7 @@ const _i = L(k({
|
|
|
2999
2999
|
class: "v-time-picker__title"
|
|
3000
3000
|
}, [a(e.title)]);
|
|
3001
3001
|
},
|
|
3002
|
-
header: () => b(
|
|
3002
|
+
header: () => b(Sn, z(N, {
|
|
3003
3003
|
ampm: _.value || e.ampmInTitle,
|
|
3004
3004
|
ampmReadonly: _.value && !e.ampmInTitle,
|
|
3005
3005
|
hour: o.value,
|
|
@@ -3011,7 +3011,7 @@ const _i = L(k({
|
|
|
3011
3011
|
"onUpdate:viewMode": (B) => c.value = B,
|
|
3012
3012
|
ref: f
|
|
3013
3013
|
}), null),
|
|
3014
|
-
default: () => b(
|
|
3014
|
+
default: () => b(yn, z(O, {
|
|
3015
3015
|
allowedValues: c.value === "hour" ? g.value : c.value === "minute" ? S.value : V.value,
|
|
3016
3016
|
double: c.value === "hour" && !_.value,
|
|
3017
3017
|
format: c.value === "hour" ? _.value ? R : (B) => B : (B) => fe(B, 2),
|
|
@@ -3116,14 +3116,14 @@ const _i = L(k({
|
|
|
3116
3116
|
set(_) {
|
|
3117
3117
|
const w = _.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
3118
3118
|
if (w == null) return;
|
|
3119
|
-
let P =
|
|
3120
|
-
const R =
|
|
3121
|
-
|
|
3119
|
+
let P = Qt(w[1]);
|
|
3120
|
+
const R = Qt(w[2]);
|
|
3121
|
+
Jt(P) || Jt(R) || (w[3] && w[3].toLowerCase() === "pm" && P < 13 && (P += 12), f(`T${P.toString().padStart(2, "0")}:${R.toString().padStart(2, "0")}:00`, 1));
|
|
3122
3122
|
}
|
|
3123
3123
|
});
|
|
3124
3124
|
return (_, w) => {
|
|
3125
3125
|
const P = H("v-text-field"), R = H("v-date-picker"), Y = H("v-confirm-edit"), $ = H("v-menu");
|
|
3126
|
-
return I(), F(v(
|
|
3126
|
+
return I(), F(v(xt), z(n, {
|
|
3127
3127
|
clearable: "",
|
|
3128
3128
|
"onClick:clear": w[13] || (w[13] = (x) => a.value = null)
|
|
3129
3129
|
}), {
|
|
@@ -3150,7 +3150,7 @@ const _i = L(k({
|
|
|
3150
3150
|
name: `${v(o).name}-date`
|
|
3151
3151
|
}, x, {
|
|
3152
3152
|
onClick: w[1] || (w[1] = (U) => d.value = "date"),
|
|
3153
|
-
onKeydown: w[2] || (w[2] =
|
|
3153
|
+
onKeydown: w[2] || (w[2] = Xt((U) => d.value = "date", ["space"]))
|
|
3154
3154
|
}), null, 16, ["modelValue", "readonly", "disabled", "name"])) : G("", !0),
|
|
3155
3155
|
["time", "datetime"].includes(v(i)) ? (I(), F(P, z({
|
|
3156
3156
|
key: 1,
|
|
@@ -3165,7 +3165,7 @@ const _i = L(k({
|
|
|
3165
3165
|
name: `${v(o).name}-time`
|
|
3166
3166
|
}, x, {
|
|
3167
3167
|
onClick: w[4] || (w[4] = (U) => d.value = "time"),
|
|
3168
|
-
onKeydown: w[5] || (w[5] =
|
|
3168
|
+
onKeydown: w[5] || (w[5] = Xt((U) => d.value = "time", ["space"]))
|
|
3169
3169
|
}), null, 16, ["modelValue", "readonly", "disabled", "name"])) : G("", !0)
|
|
3170
3170
|
])
|
|
3171
3171
|
]),
|
|
@@ -3279,7 +3279,7 @@ const _i = L(k({
|
|
|
3279
3279
|
}
|
|
3280
3280
|
return (V, _) => {
|
|
3281
3281
|
const w = H("v-progress-linear"), P = H("v-file-input");
|
|
3282
|
-
return I(), F(v(
|
|
3282
|
+
return I(), F(v(xt), z(n, {
|
|
3283
3283
|
clearable: "",
|
|
3284
3284
|
"onClick:clear": y
|
|
3285
3285
|
}), {
|
|
@@ -3305,7 +3305,7 @@ const _i = L(k({
|
|
|
3305
3305
|
"hide-details": !0,
|
|
3306
3306
|
"show-size": !0,
|
|
3307
3307
|
multiple: !1,
|
|
3308
|
-
style:
|
|
3308
|
+
style: Ct(r.value && u.value < 100 ? "visibility: hidden" : ""),
|
|
3309
3309
|
clearable: !1
|
|
3310
3310
|
}, null, 8, ["modelValue", "label", "readonly", "disabled", "name", "style"])
|
|
3311
3311
|
])
|
|
@@ -3385,7 +3385,7 @@ const _i = L(k({
|
|
|
3385
3385
|
emits: ["update:modelValue"],
|
|
3386
3386
|
setup(e, { expose: t, emit: n }) {
|
|
3387
3387
|
Ol((s) => ({
|
|
3388
|
-
"
|
|
3388
|
+
"3d4d5a06": s.minHeight
|
|
3389
3389
|
}));
|
|
3390
3390
|
const l = n, a = T(!1), o = La, d = {
|
|
3391
3391
|
toolbar: {
|
|
@@ -3534,9 +3534,10 @@ const _i = L(k({
|
|
|
3534
3534
|
editor: v(o),
|
|
3535
3535
|
config: d,
|
|
3536
3536
|
disabled: s.disabled,
|
|
3537
|
+
style: Ct(`min-height: ${s.minHeight}`),
|
|
3537
3538
|
onReady: m,
|
|
3538
3539
|
"onUpdate:modelValue": c[0] || (c[0] = (y) => l("update:modelValue", y))
|
|
3539
|
-
}, null, 8, ["model-value", "editor", "disabled"])) : G("", !0)
|
|
3540
|
+
}, null, 8, ["model-value", "editor", "disabled", "style"])) : G("", !0)
|
|
3540
3541
|
], 512)
|
|
3541
3542
|
])
|
|
3542
3543
|
]);
|
|
@@ -3561,7 +3562,7 @@ const _i = L(k({
|
|
|
3561
3562
|
emits: ["update:modelValue", "click:clear"],
|
|
3562
3563
|
setup(e, { emit: t }) {
|
|
3563
3564
|
const n = e, l = t, { value: a, vuetifyBindings: o } = ce(n, l);
|
|
3564
|
-
return (i, r) => (I(), F(v(
|
|
3565
|
+
return (i, r) => (I(), F(v(xt), Pn(An(n)), {
|
|
3565
3566
|
default: D(() => [
|
|
3566
3567
|
b(Bi, {
|
|
3567
3568
|
ref: "$editor",
|
|
@@ -3580,7 +3581,7 @@ function Pi(e) {
|
|
|
3580
3581
|
}
|
|
3581
3582
|
function $e(e, t) {
|
|
3582
3583
|
var n;
|
|
3583
|
-
return e == null ||
|
|
3584
|
+
return e == null || en(e) && e.length === 0 ? null : t ? $n(e) : en(e) ? (n = En(e)) != null ? n : null : e;
|
|
3584
3585
|
}
|
|
3585
3586
|
function kt(e, t) {
|
|
3586
3587
|
if (t == null) return [];
|
|
@@ -3825,10 +3826,10 @@ export {
|
|
|
3825
3826
|
Qi as DfSelect,
|
|
3826
3827
|
Ji as DfTextArea,
|
|
3827
3828
|
ge as ErrorsWidget,
|
|
3828
|
-
|
|
3829
|
+
xt as InputBase,
|
|
3829
3830
|
es as VuetifyInputs,
|
|
3830
3831
|
me as defaultBaseProps,
|
|
3831
|
-
|
|
3832
|
+
nn as defaultDisplayStyle,
|
|
3832
3833
|
ce as useInputBase
|
|
3833
3834
|
};
|
|
3834
3835
|
//# sourceMappingURL=dynamicforms-vuetify-inputs.js.map
|