@c3labsbr/vuetify-elements 1.9.0 → 1.11.0
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/molecules/AdjustColumnsDialog.vue.d.ts.map +1 -1
- package/dist/components/organisms/GenericDataTable.vue.d.ts.map +1 -1
- package/dist/components/organisms/TableHeader.vue.d.ts.map +1 -1
- package/dist/interfaces/genericTable.d.ts +1 -0
- package/dist/interfaces/genericTable.d.ts.map +1 -1
- package/dist/utils/export.d.ts +1 -0
- package/dist/utils/export.d.ts.map +1 -1
- package/dist/vuetify-elements.cjs.js +2 -2
- package/dist/vuetify-elements.css +1 -1
- package/dist/vuetify-elements.es.js +487 -465
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { warn as la, reactive as zt, watchEffect as Je, toRef as V, capitalize as fn, shallowRef as Q, Fragment as
|
|
1
|
+
import { warn as la, reactive as zt, watchEffect as Je, toRef as V, capitalize as fn, shallowRef as Q, Fragment as se, camelize as ll, isVNode as ps, Comment as Ss, unref as fe, getCurrentInstance as ws, ref as j, computed as x, provide as Te, inject as he, defineComponent as xe, h as vn, isRef as Ra, toValue as Ae, createElementVNode as w, normalizeClass as X, createVNode as y, normalizeStyle as ie, watch as Z, onScopeDispose as qe, effectScope as ol, toRaw as we, useId as dt, onBeforeUnmount as lt, onMounted as Bt, onUpdated as Cs, mergeProps as W, toRefs as Wo, Text as xs, readonly as il, Transition as jt, resolveDynamicComponent as ks, nextTick as Se, withDirectives as He, toDisplayString as pe, TransitionGroup as rl, Teleport as Ps, vShow as Kt, createBlock as le, openBlock as q, withCtx as O, createCommentVNode as Ce, createTextVNode as $e, onBeforeMount as oa, onDeactivated as Vs, onBeforeUpdate as Is, markRaw as Ds, cloneVNode as As, mergeModels as Ve, useModel as Ne, createElementBlock as Pe, withModifiers as an, onUnmounted as Es, renderSlot as ut, vModelText as qo, renderList as Xt, createSlots as sl, useSlots as Ts, normalizeProps as $l, guardReactiveProps as Nl, resolveComponent as Fs } from "vue";
|
|
2
2
|
import Bs from "jspdf";
|
|
3
3
|
import $s from "jspdf-autotable";
|
|
4
4
|
import Ns from "exceljs";
|
|
@@ -177,7 +177,7 @@ function ht() {
|
|
|
177
177
|
return a;
|
|
178
178
|
}
|
|
179
179
|
function Zo(e) {
|
|
180
|
-
return e.map((t) => t.type ===
|
|
180
|
+
return e.map((t) => t.type === se ? Zo(t.children) : t).flat();
|
|
181
181
|
}
|
|
182
182
|
function Mt() {
|
|
183
183
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
@@ -298,7 +298,7 @@ function Xn(e, t) {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
function ei(e) {
|
|
301
|
-
return e.some((t) => ps(t) ? t.type === Ss ? !1 : t.type !==
|
|
301
|
+
return e.some((t) => ps(t) ? t.type === Ss ? !1 : t.type !== se || ei(t.children) : !0) ? e : null;
|
|
302
302
|
}
|
|
303
303
|
function js(e, t) {
|
|
304
304
|
if (!Ee || e === 0)
|
|
@@ -677,7 +677,7 @@ function F(e, t) {
|
|
|
677
677
|
} : a[l] = i, t && !a[l].source && (a[l].source = t), a;
|
|
678
678
|
}, {});
|
|
679
679
|
}
|
|
680
|
-
const
|
|
680
|
+
const re = F({
|
|
681
681
|
class: [String, Array, Object],
|
|
682
682
|
style: {
|
|
683
683
|
type: [String, Array, Object],
|
|
@@ -805,7 +805,7 @@ function gl(e) {
|
|
|
805
805
|
type: String,
|
|
806
806
|
default: t
|
|
807
807
|
},
|
|
808
|
-
...
|
|
808
|
+
...re()
|
|
809
809
|
},
|
|
810
810
|
setup(a, l) {
|
|
811
811
|
let {
|
|
@@ -1083,7 +1083,7 @@ function wu(e) {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
const Cu = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
|
1085
1085
|
function $n(e, t) {
|
|
1086
|
-
return w(
|
|
1086
|
+
return w(se, null, [e && w("span", {
|
|
1087
1087
|
key: "overlay",
|
|
1088
1088
|
class: X(`${t}__overlay`)
|
|
1089
1089
|
}, null), w("span", {
|
|
@@ -1132,7 +1132,7 @@ const ii = F({
|
|
|
1132
1132
|
default: "horizontal"
|
|
1133
1133
|
},
|
|
1134
1134
|
...$t(),
|
|
1135
|
-
...
|
|
1135
|
+
...re(),
|
|
1136
1136
|
...Ge(),
|
|
1137
1137
|
...Zt(),
|
|
1138
1138
|
...ot(),
|
|
@@ -1170,7 +1170,7 @@ const ii = F({
|
|
|
1170
1170
|
class: X(["v-btn-group", `v-btn-group--${e.direction}`, {
|
|
1171
1171
|
"v-btn-group--divided": e.divided
|
|
1172
1172
|
}, a.value, o.value, l.value, i.value, r.value, e.class]),
|
|
1173
|
-
style:
|
|
1173
|
+
style: ie(e.style)
|
|
1174
1174
|
}, n));
|
|
1175
1175
|
}
|
|
1176
1176
|
});
|
|
@@ -1279,8 +1279,8 @@ function pl(e, t) {
|
|
|
1279
1279
|
return e.multiple ? v : v[0];
|
|
1280
1280
|
}), o = Ie("useGroup");
|
|
1281
1281
|
function i(f, v) {
|
|
1282
|
-
const g = f, m = Symbol.for(`${t.description}:id`),
|
|
1283
|
-
fe(g.value) === void 0 && (g.value =
|
|
1282
|
+
const g = f, m = Symbol.for(`${t.description}:id`), p = Sn(m, o?.vnode).indexOf(v);
|
|
1283
|
+
fe(g.value) === void 0 && (g.value = p, g.useIndexAsValue = !0), p > -1 ? a.splice(p, 0, g) : a.push(g);
|
|
1284
1284
|
}
|
|
1285
1285
|
function r(f) {
|
|
1286
1286
|
if (n) return;
|
|
@@ -1304,8 +1304,8 @@ function pl(e, t) {
|
|
|
1304
1304
|
const g = a.find((m) => m.id === f);
|
|
1305
1305
|
if (!(v && g?.disabled))
|
|
1306
1306
|
if (e.multiple) {
|
|
1307
|
-
const m = l.value.slice(), h = m.findIndex((b) => b === f),
|
|
1308
|
-
if (v = v ?? !
|
|
1307
|
+
const m = l.value.slice(), h = m.findIndex((b) => b === f), p = ~h;
|
|
1308
|
+
if (v = v ?? !p, p && e.mandatory && m.length <= 1 || !p && e.max != null && m.length + 1 > e.max) return;
|
|
1309
1309
|
h < 0 && v ? m.push(f) : h >= 0 && !v && m.splice(h, 1), l.value = m;
|
|
1310
1310
|
} else {
|
|
1311
1311
|
const m = l.value.includes(f);
|
|
@@ -1315,7 +1315,7 @@ function pl(e, t) {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
function u(f) {
|
|
1317
1317
|
if (e.multiple && It('This method is not supported when using "multiple" prop'), l.value.length) {
|
|
1318
|
-
const v = l.value[0], g = a.findIndex((
|
|
1318
|
+
const v = l.value[0], g = a.findIndex((p) => p.id === v);
|
|
1319
1319
|
let m = (g + f) % a.length, h = a[m];
|
|
1320
1320
|
for (; h.disabled && m !== g; )
|
|
1321
1321
|
m = (m + f) % a.length, h = a[m];
|
|
@@ -1555,7 +1555,7 @@ const Tu = F({
|
|
|
1555
1555
|
end: Boolean,
|
|
1556
1556
|
icon: ne,
|
|
1557
1557
|
opacity: [String, Number],
|
|
1558
|
-
...
|
|
1558
|
+
...re(),
|
|
1559
1559
|
...gn(),
|
|
1560
1560
|
...ke({
|
|
1561
1561
|
tag: "i"
|
|
@@ -1592,7 +1592,7 @@ const Tu = F({
|
|
|
1592
1592
|
"v-icon--start": e.start,
|
|
1593
1593
|
"v-icon--end": e.end
|
|
1594
1594
|
}, e.class]),
|
|
1595
|
-
style:
|
|
1595
|
+
style: ie([{
|
|
1596
1596
|
"--v-icon-opacity": e.opacity
|
|
1597
1597
|
}, r.value ? void 0 : {
|
|
1598
1598
|
fontSize: U(e.size),
|
|
@@ -1664,7 +1664,7 @@ const Fu = F({
|
|
|
1664
1664
|
type: [Number, String],
|
|
1665
1665
|
default: 4
|
|
1666
1666
|
},
|
|
1667
|
-
...
|
|
1667
|
+
...re(),
|
|
1668
1668
|
...gn(),
|
|
1669
1669
|
...ke({
|
|
1670
1670
|
tag: "div"
|
|
@@ -1694,9 +1694,9 @@ const Fu = F({
|
|
|
1694
1694
|
} = ci(), {
|
|
1695
1695
|
resizeRef: m,
|
|
1696
1696
|
contentRect: h
|
|
1697
|
-
} = qt(),
|
|
1698
|
-
const C = (100 -
|
|
1699
|
-
return e.rounded &&
|
|
1697
|
+
} = qt(), p = V(() => Ue(parseFloat(e.modelValue), 0, 100)), b = V(() => Number(e.width)), S = V(() => s.value ? Number(e.size) : h.value ? h.value.width : Math.max(b.value, 32)), k = V(() => a / (1 - b.value / S.value) * 2), P = V(() => b.value / S.value * k.value), A = V(() => {
|
|
1698
|
+
const C = (100 - p.value) / 100 * l;
|
|
1699
|
+
return e.rounded && p.value > 0 && p.value < 100 ? U(Math.min(l - 0.01, C + P.value)) : U(C);
|
|
1700
1700
|
}), T = x(() => {
|
|
1701
1701
|
const C = Number(e.rotate);
|
|
1702
1702
|
return e.rounded ? C + P.value / 2 / l * 360 : C;
|
|
@@ -1710,11 +1710,11 @@ const Fu = F({
|
|
|
1710
1710
|
"v-progress-circular--visible": g.value,
|
|
1711
1711
|
"v-progress-circular--disable-shrink": e.indeterminate && (e.indeterminate === "disable-shrink" || rn())
|
|
1712
1712
|
}, i.value, r.value, c.value, e.class]),
|
|
1713
|
-
style:
|
|
1713
|
+
style: ie([s.value, u.value, e.style]),
|
|
1714
1714
|
role: "progressbar",
|
|
1715
1715
|
"aria-valuemin": "0",
|
|
1716
1716
|
"aria-valuemax": "100",
|
|
1717
|
-
"aria-valuenow": e.indeterminate ? void 0 :
|
|
1717
|
+
"aria-valuenow": e.indeterminate ? void 0 : p.value
|
|
1718
1718
|
}, {
|
|
1719
1719
|
default: () => [w("svg", {
|
|
1720
1720
|
style: {
|
|
@@ -1724,7 +1724,7 @@ const Fu = F({
|
|
|
1724
1724
|
viewBox: `0 0 ${k.value} ${k.value}`
|
|
1725
1725
|
}, [w("circle", {
|
|
1726
1726
|
class: X(["v-progress-circular__underlay", d.value]),
|
|
1727
|
-
style:
|
|
1727
|
+
style: ie(f.value),
|
|
1728
1728
|
fill: "transparent",
|
|
1729
1729
|
cx: "50%",
|
|
1730
1730
|
cy: "50%",
|
|
@@ -1745,7 +1745,7 @@ const Fu = F({
|
|
|
1745
1745
|
}, null)]), n.default && w("div", {
|
|
1746
1746
|
class: "v-progress-circular__content"
|
|
1747
1747
|
}, [n.default({
|
|
1748
|
-
value:
|
|
1748
|
+
value: p.value
|
|
1749
1749
|
})])]
|
|
1750
1750
|
})), {};
|
|
1751
1751
|
}
|
|
@@ -1900,7 +1900,7 @@ const Nu = F({
|
|
|
1900
1900
|
striped: Boolean,
|
|
1901
1901
|
roundedBar: Boolean,
|
|
1902
1902
|
...Bu(),
|
|
1903
|
-
...
|
|
1903
|
+
...re(),
|
|
1904
1904
|
...Sl({
|
|
1905
1905
|
location: "top"
|
|
1906
1906
|
}),
|
|
@@ -1937,10 +1937,10 @@ const Nu = F({
|
|
|
1937
1937
|
backgroundColorClasses: m,
|
|
1938
1938
|
backgroundColorStyles: h
|
|
1939
1939
|
} = bt(() => e.color), {
|
|
1940
|
-
roundedClasses:
|
|
1940
|
+
roundedClasses: p
|
|
1941
1941
|
} = mt(e), {
|
|
1942
1942
|
intersectionRef: b,
|
|
1943
|
-
isIntersecting:
|
|
1943
|
+
isIntersecting: S
|
|
1944
1944
|
} = ci(), k = x(() => parseFloat(e.max)), P = x(() => parseFloat(e.height)), A = x(() => Ue(parseFloat(e.bufferValue) / k.value * 100, 0, 100)), T = x(() => Ue(parseFloat(l.value) / k.value * 100, 0, 100)), C = x(() => o.value !== e.reverse), E = x(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), I = Q(0), {
|
|
1945
1945
|
hasChunks: N,
|
|
1946
1946
|
chunksMaskStyles: $,
|
|
@@ -1968,14 +1968,14 @@ const Nu = F({
|
|
|
1968
1968
|
ref: a,
|
|
1969
1969
|
class: X(["v-progress-linear", {
|
|
1970
1970
|
"v-progress-linear--absolute": e.absolute,
|
|
1971
|
-
"v-progress-linear--active": e.active &&
|
|
1971
|
+
"v-progress-linear--active": e.active && S.value,
|
|
1972
1972
|
"v-progress-linear--reverse": C.value,
|
|
1973
1973
|
"v-progress-linear--rounded": e.rounded,
|
|
1974
1974
|
"v-progress-linear--rounded-bar": e.roundedBar,
|
|
1975
1975
|
"v-progress-linear--striped": e.striped,
|
|
1976
1976
|
"v-progress-linear--clickable": e.clickable
|
|
1977
|
-
},
|
|
1978
|
-
style:
|
|
1977
|
+
}, p.value, r.value, i.value, e.class]),
|
|
1978
|
+
style: ie([{
|
|
1979
1979
|
bottom: e.location === "bottom" ? 0 : void 0,
|
|
1980
1980
|
top: e.location === "top" ? 0 : void 0,
|
|
1981
1981
|
height: e.active ? U(P.value) : 0,
|
|
@@ -2003,13 +2003,13 @@ const Nu = F({
|
|
|
2003
2003
|
}
|
|
2004
2004
|
}, null), w("div", {
|
|
2005
2005
|
class: X(["v-progress-linear__background", d.value]),
|
|
2006
|
-
style:
|
|
2006
|
+
style: ie([f.value, {
|
|
2007
2007
|
opacity: parseFloat(e.bgOpacity),
|
|
2008
2008
|
width: e.stream ? 0 : void 0
|
|
2009
2009
|
}])
|
|
2010
2010
|
}, null), w("div", {
|
|
2011
2011
|
class: X(["v-progress-linear__buffer", v.value]),
|
|
2012
|
-
style:
|
|
2012
|
+
style: ie([g.value, {
|
|
2013
2013
|
opacity: parseFloat(e.bufferOpacity),
|
|
2014
2014
|
width: U(R.value, "%")
|
|
2015
2015
|
}])
|
|
@@ -2021,10 +2021,10 @@ const Nu = F({
|
|
|
2021
2021
|
}, [["long", "short"].map((ee) => w("div", {
|
|
2022
2022
|
key: ee,
|
|
2023
2023
|
class: X(["v-progress-linear__indeterminate", ee, m.value]),
|
|
2024
|
-
style:
|
|
2024
|
+
style: ie(h.value)
|
|
2025
2025
|
}, null))]) : w("div", {
|
|
2026
2026
|
class: X(["v-progress-linear__determinate", m.value]),
|
|
2027
|
-
style:
|
|
2027
|
+
style: ie([h.value, {
|
|
2028
2028
|
width: U(G.value, "%")
|
|
2029
2029
|
}])
|
|
2030
2030
|
}, null)]
|
|
@@ -2343,7 +2343,7 @@ const wt = {
|
|
|
2343
2343
|
default: void 0
|
|
2344
2344
|
},
|
|
2345
2345
|
...$t(),
|
|
2346
|
-
...
|
|
2346
|
+
...re(),
|
|
2347
2347
|
...Ge(),
|
|
2348
2348
|
...Nt(),
|
|
2349
2349
|
...Zt(),
|
|
@@ -2393,14 +2393,14 @@ const wt = {
|
|
|
2393
2393
|
} = mt(e), {
|
|
2394
2394
|
sizeClasses: v,
|
|
2395
2395
|
sizeStyles: g
|
|
2396
|
-
} = Ln(e), m = ja(e, e.symbol, !1), h = ca(e, n),
|
|
2396
|
+
} = Ln(e), m = ja(e, e.symbol, !1), h = ca(e, n), p = x(() => e.active !== void 0 ? e.active : h.isRouterLink.value ? h.isActive?.value : m?.isSelected.value), b = V(() => p.value ? e.activeColor ?? e.color : e.color), S = x(() => ({
|
|
2397
2397
|
color: m?.isSelected.value && (!h.isLink.value || h.isActive?.value) || !m || h.isActive?.value ? b.value ?? e.baseColor : e.baseColor,
|
|
2398
2398
|
variant: e.variant
|
|
2399
2399
|
})), {
|
|
2400
2400
|
colorClasses: k,
|
|
2401
2401
|
colorStyles: P,
|
|
2402
2402
|
variantClasses: A
|
|
2403
|
-
} = Nn(
|
|
2403
|
+
} = Nn(S), T = x(() => m?.disabled.value || e.disabled), C = V(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), E = x(() => {
|
|
2404
2404
|
if (!(e.value === void 0 || typeof e.value == "symbol"))
|
|
2405
2405
|
return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
|
|
2406
2406
|
});
|
|
@@ -2412,7 +2412,7 @@ const wt = {
|
|
|
2412
2412
|
return He(y(N, W(h.linkProps, {
|
|
2413
2413
|
type: N === "a" ? void 0 : "button",
|
|
2414
2414
|
class: ["v-btn", m?.selectedClass.value, {
|
|
2415
|
-
"v-btn--active":
|
|
2415
|
+
"v-btn--active": p.value,
|
|
2416
2416
|
"v-btn--block": e.block,
|
|
2417
2417
|
"v-btn--disabled": T.value,
|
|
2418
2418
|
"v-btn--elevated": C.value,
|
|
@@ -2596,23 +2596,23 @@ function Ju(e, t, n) {
|
|
|
2596
2596
|
preferredAnchor: l,
|
|
2597
2597
|
preferredOrigin: o
|
|
2598
2598
|
} = dl(() => {
|
|
2599
|
-
const
|
|
2600
|
-
return
|
|
2601
|
-
preferredAnchor: ql(
|
|
2599
|
+
const p = _a(t.location, e.isRtl.value), b = t.origin === "overlap" ? p : t.origin === "auto" ? Va(p) : _a(t.origin, e.isRtl.value);
|
|
2600
|
+
return p.side === b.side && p.align === Ia(b).align ? {
|
|
2601
|
+
preferredAnchor: ql(p),
|
|
2602
2602
|
preferredOrigin: ql(b)
|
|
2603
2603
|
} : {
|
|
2604
|
-
preferredAnchor:
|
|
2604
|
+
preferredAnchor: p,
|
|
2605
2605
|
preferredOrigin: b
|
|
2606
2606
|
};
|
|
2607
|
-
}), [i, r, s, c] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((
|
|
2608
|
-
const b = parseFloat(t[
|
|
2607
|
+
}), [i, r, s, c] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((p) => x(() => {
|
|
2608
|
+
const b = parseFloat(t[p]);
|
|
2609
2609
|
return isNaN(b) ? 1 / 0 : b;
|
|
2610
2610
|
})), u = x(() => {
|
|
2611
2611
|
if (Array.isArray(t.offset))
|
|
2612
2612
|
return t.offset;
|
|
2613
2613
|
if (typeof t.offset == "string") {
|
|
2614
|
-
const
|
|
2615
|
-
return
|
|
2614
|
+
const p = t.offset.split(" ").map(parseFloat);
|
|
2615
|
+
return p.length < 2 && p.push(0), p;
|
|
2616
2616
|
}
|
|
2617
2617
|
return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
|
|
2618
2618
|
});
|
|
@@ -2620,16 +2620,16 @@ function Ju(e, t, n) {
|
|
|
2620
2620
|
const v = new zs(4), g = new ResizeObserver(() => {
|
|
2621
2621
|
if (!d) return;
|
|
2622
2622
|
if (requestAnimationFrame((b) => {
|
|
2623
|
-
b !== f && v.clear(), requestAnimationFrame((
|
|
2624
|
-
f =
|
|
2623
|
+
b !== f && v.clear(), requestAnimationFrame((S) => {
|
|
2624
|
+
f = S;
|
|
2625
2625
|
});
|
|
2626
2626
|
}), v.isFull) {
|
|
2627
2627
|
const b = v.values();
|
|
2628
2628
|
if (Ke(b.at(-1), b.at(-3)) && !Ke(b.at(-1), b.at(-2)))
|
|
2629
2629
|
return;
|
|
2630
2630
|
}
|
|
2631
|
-
const
|
|
2632
|
-
|
|
2631
|
+
const p = h();
|
|
2632
|
+
p && v.push(p.flipped);
|
|
2633
2633
|
});
|
|
2634
2634
|
let m = new at({
|
|
2635
2635
|
x: 0,
|
|
@@ -2637,12 +2637,12 @@ function Ju(e, t, n) {
|
|
|
2637
2637
|
width: 0,
|
|
2638
2638
|
height: 0
|
|
2639
2639
|
});
|
|
2640
|
-
Z(e.target, (
|
|
2641
|
-
b && !Array.isArray(b) && g.unobserve(b), Array.isArray(
|
|
2640
|
+
Z(e.target, (p, b) => {
|
|
2641
|
+
b && !Array.isArray(b) && g.unobserve(b), Array.isArray(p) ? Ke(p, b) || h() : p && g.observe(p);
|
|
2642
2642
|
}, {
|
|
2643
2643
|
immediate: !0
|
|
2644
|
-
}), Z(e.contentEl, (
|
|
2645
|
-
b && g.unobserve(b),
|
|
2644
|
+
}), Z(e.contentEl, (p, b) => {
|
|
2645
|
+
b && g.unobserve(b), p && g.observe(p);
|
|
2646
2646
|
}, {
|
|
2647
2647
|
immediate: !0
|
|
2648
2648
|
}), qe(() => {
|
|
@@ -2651,8 +2651,8 @@ function Ju(e, t, n) {
|
|
|
2651
2651
|
function h() {
|
|
2652
2652
|
if (d = !1, requestAnimationFrame(() => d = !0), !e.target.value || !e.contentEl.value) return;
|
|
2653
2653
|
(Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (m = ni(e.target.value));
|
|
2654
|
-
const
|
|
2655
|
-
b.length || (b.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (
|
|
2654
|
+
const p = Qu(e.contentEl.value, e.isRtl.value), b = Qn(e.contentEl.value), S = Number(t.viewportMargin);
|
|
2655
|
+
b.length || (b.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (p.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), p.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
|
2656
2656
|
const k = b.reduce((_, R) => {
|
|
2657
2657
|
const G = Ks(R);
|
|
2658
2658
|
return _ ? new at({
|
|
@@ -2662,13 +2662,13 @@ function Ju(e, t, n) {
|
|
|
2662
2662
|
height: Math.min(_.bottom, G.bottom) - Math.max(_.top, G.top)
|
|
2663
2663
|
}) : G;
|
|
2664
2664
|
}, void 0);
|
|
2665
|
-
t.stickToTarget ? (k.x += Math.min(
|
|
2665
|
+
t.stickToTarget ? (k.x += Math.min(S, m.x), k.y += Math.min(S, m.y), k.width = Math.max(k.width - S * 2, m.x + m.width - S), k.height = Math.max(k.height - S * 2, m.y + m.height - S)) : (k.x += S, k.y += S, k.width -= S * 2, k.height -= S * 2);
|
|
2666
2666
|
let P = {
|
|
2667
2667
|
anchor: l.value,
|
|
2668
2668
|
origin: o.value
|
|
2669
2669
|
};
|
|
2670
2670
|
function A(_) {
|
|
2671
|
-
const R = new at(
|
|
2671
|
+
const R = new at(p), G = mo(_.anchor, m), Y = mo(_.origin, R);
|
|
2672
2672
|
let {
|
|
2673
2673
|
x: ee,
|
|
2674
2674
|
y: ae
|
|
@@ -2726,7 +2726,7 @@ function Ju(e, t, n) {
|
|
|
2726
2726
|
y: R,
|
|
2727
2727
|
overflows: G
|
|
2728
2728
|
} = A(P);
|
|
2729
|
-
T += _, C += R,
|
|
2729
|
+
T += _, C += R, p.x += _, p.y += R;
|
|
2730
2730
|
{
|
|
2731
2731
|
const Y = Gl(P.anchor), ee = G.x.before || G.x.after, ae = G.y.before || G.y.after;
|
|
2732
2732
|
let me = !1;
|
|
@@ -2748,10 +2748,10 @@ function Ju(e, t, n) {
|
|
|
2748
2748
|
}
|
|
2749
2749
|
}), me) continue;
|
|
2750
2750
|
}
|
|
2751
|
-
G.x.before && (T += G.x.before,
|
|
2751
|
+
G.x.before && (T += G.x.before, p.x += G.x.before), G.x.after && (T -= G.x.after, p.x -= G.x.after), G.y.before && (C += G.y.before, p.y += G.y.before), G.y.after && (C -= G.y.after, p.y -= G.y.after);
|
|
2752
2752
|
{
|
|
2753
|
-
const Y = Ul(
|
|
2754
|
-
E.x = k.width - Y.x.before - Y.x.after, E.y = k.height - Y.y.before - Y.y.after, T += Y.x.before,
|
|
2753
|
+
const Y = Ul(p, k);
|
|
2754
|
+
E.x = k.width - Y.x.before - Y.x.after, E.y = k.height - Y.y.before - Y.y.after, T += Y.x.before, p.x += Y.x.before, C += Y.y.before, p.y += Y.y.before;
|
|
2755
2755
|
}
|
|
2756
2756
|
break;
|
|
2757
2757
|
}
|
|
@@ -2768,18 +2768,18 @@ function Ju(e, t, n) {
|
|
|
2768
2768
|
maxHeight: U(go(Ue(E.y, r.value === 1 / 0 ? 0 : r.value, c.value)))
|
|
2769
2769
|
}), {
|
|
2770
2770
|
available: E,
|
|
2771
|
-
contentBox:
|
|
2771
|
+
contentBox: p,
|
|
2772
2772
|
flipped: I
|
|
2773
2773
|
};
|
|
2774
2774
|
}
|
|
2775
2775
|
return Z(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => h()), Se(() => {
|
|
2776
|
-
const
|
|
2777
|
-
if (!
|
|
2776
|
+
const p = h();
|
|
2777
|
+
if (!p) return;
|
|
2778
2778
|
const {
|
|
2779
2779
|
available: b,
|
|
2780
|
-
contentBox:
|
|
2781
|
-
} =
|
|
2782
|
-
|
|
2780
|
+
contentBox: S
|
|
2781
|
+
} = p;
|
|
2782
|
+
S.height > b.y && requestAnimationFrame(() => {
|
|
2783
2783
|
h(), requestAnimationFrame(() => {
|
|
2784
2784
|
h();
|
|
2785
2785
|
});
|
|
@@ -2964,7 +2964,7 @@ function rc(e, t) {
|
|
|
2964
2964
|
}, h = x(() => {
|
|
2965
2965
|
const C = {};
|
|
2966
2966
|
return d.value && (C.onClick = m.onClick), e.openOnHover && (C.onMouseenter = m.onMouseenter, C.onMouseleave = m.onMouseleave), u.value && (C.onFocus = m.onFocus, C.onBlur = m.onBlur), C;
|
|
2967
|
-
}),
|
|
2967
|
+
}), p = x(() => {
|
|
2968
2968
|
const C = {};
|
|
2969
2969
|
if (e.openOnHover && (C.onMouseenter = () => {
|
|
2970
2970
|
r = !0, f();
|
|
@@ -3000,10 +3000,10 @@ function rc(e, t) {
|
|
|
3000
3000
|
}, {
|
|
3001
3001
|
flush: "post"
|
|
3002
3002
|
});
|
|
3003
|
-
const
|
|
3003
|
+
const S = Ma();
|
|
3004
3004
|
Je(() => {
|
|
3005
|
-
|
|
3006
|
-
i.value =
|
|
3005
|
+
S.value && Se(() => {
|
|
3006
|
+
i.value = S.el;
|
|
3007
3007
|
});
|
|
3008
3008
|
});
|
|
3009
3009
|
const k = Ma(), P = x(() => e.target === "cursor" && g.value ? g.value : k.value ? k.el : Ii(e.target, o) || i.value), A = x(() => Array.isArray(P.value) ? void 0 : P.value);
|
|
@@ -3022,12 +3022,12 @@ function rc(e, t) {
|
|
|
3022
3022
|
T?.stop();
|
|
3023
3023
|
}), {
|
|
3024
3024
|
activatorEl: i,
|
|
3025
|
-
activatorRef:
|
|
3025
|
+
activatorRef: S,
|
|
3026
3026
|
target: P,
|
|
3027
3027
|
targetEl: A,
|
|
3028
3028
|
targetRef: k,
|
|
3029
3029
|
activatorEvents: h,
|
|
3030
|
-
contentEvents:
|
|
3030
|
+
contentEvents: p,
|
|
3031
3031
|
scrimEvents: b
|
|
3032
3032
|
};
|
|
3033
3033
|
}
|
|
@@ -3381,7 +3381,7 @@ const ga = F({
|
|
|
3381
3381
|
default: 2e3
|
|
3382
3382
|
},
|
|
3383
3383
|
...ic(),
|
|
3384
|
-
...
|
|
3384
|
+
...re(),
|
|
3385
3385
|
...Nt(),
|
|
3386
3386
|
...mc(),
|
|
3387
3387
|
...Xu(),
|
|
@@ -3426,9 +3426,9 @@ const ga = F({
|
|
|
3426
3426
|
hasContent: g,
|
|
3427
3427
|
onAfterLeave: m
|
|
3428
3428
|
} = gc(e, u), h = bt(() => typeof e.scrim == "string" ? e.scrim : null), {
|
|
3429
|
-
globalTop:
|
|
3429
|
+
globalTop: p,
|
|
3430
3430
|
localTop: b,
|
|
3431
|
-
stackStyles:
|
|
3431
|
+
stackStyles: S
|
|
3432
3432
|
} = yc(u, () => e.zIndex, e._disableGlobalStack), {
|
|
3433
3433
|
activatorEl: k,
|
|
3434
3434
|
activatorRef: P,
|
|
@@ -3493,15 +3493,15 @@ const ga = F({
|
|
|
3493
3493
|
Ee && window.removeEventListener("keydown", M);
|
|
3494
3494
|
});
|
|
3495
3495
|
function M(z) {
|
|
3496
|
-
z.key === "Escape" &&
|
|
3496
|
+
z.key === "Escape" && p.value && (s.value?.contains(document.activeElement) || l("keydown", z), e.persistent ? B() : (u.value = !1, s.value?.contains(document.activeElement) && k.value?.focus()));
|
|
3497
3497
|
}
|
|
3498
3498
|
function J(z) {
|
|
3499
|
-
z.key === "Escape" && !
|
|
3499
|
+
z.key === "Escape" && !p.value || l("keydown", z);
|
|
3500
3500
|
}
|
|
3501
3501
|
const L = Mu();
|
|
3502
3502
|
Et(() => e.closeOnBack, () => {
|
|
3503
3503
|
_u(L, (z) => {
|
|
3504
|
-
|
|
3504
|
+
p.value && u.value ? (z(!1), e.persistent ? B() : u.value = !1) : z();
|
|
3505
3505
|
});
|
|
3506
3506
|
});
|
|
3507
3507
|
const H = j();
|
|
@@ -3529,7 +3529,7 @@ const ga = F({
|
|
|
3529
3529
|
function de() {
|
|
3530
3530
|
m(), l("afterLeave");
|
|
3531
3531
|
}
|
|
3532
|
-
return te(() => w(
|
|
3532
|
+
return te(() => w(se, null, [n.activator?.({
|
|
3533
3533
|
isActive: u.value,
|
|
3534
3534
|
targetRef: C,
|
|
3535
3535
|
props: W({
|
|
@@ -3545,7 +3545,7 @@ const ga = F({
|
|
|
3545
3545
|
"v-overlay--active": u.value,
|
|
3546
3546
|
"v-overlay--contained": e.contained
|
|
3547
3547
|
}, d.value, f.value, e.class],
|
|
3548
|
-
style: [
|
|
3548
|
+
style: [S.value, {
|
|
3549
3549
|
"--v-overlay-opacity": e.opacity,
|
|
3550
3550
|
top: U(H.value)
|
|
3551
3551
|
}, e.style],
|
|
@@ -3582,7 +3582,7 @@ const ga = F({
|
|
|
3582
3582
|
animateClick: B,
|
|
3583
3583
|
contentEl: s,
|
|
3584
3584
|
rootEl: i,
|
|
3585
|
-
globalTop:
|
|
3585
|
+
globalTop: p,
|
|
3586
3586
|
localTop: b,
|
|
3587
3587
|
updateLocation: ee
|
|
3588
3588
|
};
|
|
@@ -3823,11 +3823,24 @@ function xc(e, t) {
|
|
|
3823
3823
|
(v) => v.isVisible && v.value !== "actions"
|
|
3824
3824
|
), d = u.map((v) => Ti(c, v));
|
|
3825
3825
|
a.addRow(d).eachCell((v, g) => {
|
|
3826
|
+
const m = g - 1;
|
|
3826
3827
|
v.border = {
|
|
3827
3828
|
left: { style: "thin", color: { argb: "FF000000" } },
|
|
3828
3829
|
bottom: { style: "thin", color: { argb: "FF000000" } },
|
|
3829
3830
|
right: { style: "thin", color: { argb: "FF000000" } }
|
|
3830
|
-
}
|
|
3831
|
+
};
|
|
3832
|
+
const h = u[m]?.type;
|
|
3833
|
+
if (h == "date")
|
|
3834
|
+
v.numFmt = "dd/mm/yyyy";
|
|
3835
|
+
else if (h == "currency") {
|
|
3836
|
+
const p = d[m];
|
|
3837
|
+
if (!p || p == " ") {
|
|
3838
|
+
v.value = "-";
|
|
3839
|
+
return;
|
|
3840
|
+
}
|
|
3841
|
+
const [b, S] = p.split(" ");
|
|
3842
|
+
v.value = Number(S.replace(/\./g, "").replace(",", ".")), v.numFmt = `[$${b}]#,##0.00_);([$${b}]#,##0.00);[$${b}]0.00;@`;
|
|
3843
|
+
}
|
|
3831
3844
|
});
|
|
3832
3845
|
}
|
|
3833
3846
|
const s = a.addRow([`Exportado em: ${o}`]);
|
|
@@ -3878,7 +3891,7 @@ const Pc = ["dotted", "dashed", "solid", "double"], Vc = F({
|
|
|
3878
3891
|
default: "solid",
|
|
3879
3892
|
validator: (e) => Pc.includes(e)
|
|
3880
3893
|
},
|
|
3881
|
-
...
|
|
3894
|
+
...re(),
|
|
3882
3895
|
...Fe()
|
|
3883
3896
|
}, "VDivider"), Rn = K()({
|
|
3884
3897
|
name: "VDivider",
|
|
@@ -3912,7 +3925,7 @@ const Pc = ["dotted", "dashed", "solid", "double"], Vc = F({
|
|
|
3912
3925
|
"v-divider--inset": e.inset,
|
|
3913
3926
|
"v-divider--vertical": e.vertical
|
|
3914
3927
|
}, l.value, o.value, e.class]),
|
|
3915
|
-
style:
|
|
3928
|
+
style: ie([r.value, i.value, {
|
|
3916
3929
|
"--v-border-opacity": e.opacity
|
|
3917
3930
|
}, {
|
|
3918
3931
|
"border-style": e.variant
|
|
@@ -3928,7 +3941,7 @@ const Pc = ["dotted", "dashed", "solid", "double"], Vc = F({
|
|
|
3928
3941
|
}])
|
|
3929
3942
|
}, [c, w("div", {
|
|
3930
3943
|
class: "v-divider__content",
|
|
3931
|
-
style:
|
|
3944
|
+
style: ie(s.value)
|
|
3932
3945
|
}, [a.default()]), c]) : c;
|
|
3933
3946
|
}), {};
|
|
3934
3947
|
}
|
|
@@ -3983,7 +3996,7 @@ const Dc = ["auto", "start", "end", "center", "baseline", "stretch"], Ac = F({
|
|
|
3983
3996
|
default: null,
|
|
3984
3997
|
validator: (e) => Dc.includes(e)
|
|
3985
3998
|
},
|
|
3986
|
-
...
|
|
3999
|
+
...re(),
|
|
3987
4000
|
...ke()
|
|
3988
4001
|
}, "VCol"), Qe = K()({
|
|
3989
4002
|
name: "VCol",
|
|
@@ -4074,7 +4087,7 @@ const Nc = F({
|
|
|
4074
4087
|
validator: Hi
|
|
4075
4088
|
},
|
|
4076
4089
|
...zi,
|
|
4077
|
-
...
|
|
4090
|
+
...re(),
|
|
4078
4091
|
...ke()
|
|
4079
4092
|
}, "VRow"), un = K()({
|
|
4080
4093
|
name: "VRow",
|
|
@@ -4350,7 +4363,7 @@ function Co(e) {
|
|
|
4350
4363
|
return t && [...t];
|
|
4351
4364
|
}
|
|
4352
4365
|
function xo(e, t) {
|
|
4353
|
-
const n = ni(e), a = vl(t), [l, o] = getComputedStyle(t).transformOrigin.split(" ").map((
|
|
4366
|
+
const n = ni(e), a = vl(t), [l, o] = getComputedStyle(t).transformOrigin.split(" ").map((p) => parseFloat(p)), [i, r] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");
|
|
4354
4367
|
let s = n.left + n.width / 2;
|
|
4355
4368
|
i === "left" || r === "left" ? s -= n.width / 2 : (i === "right" || r === "right") && (s += n.width / 2);
|
|
4356
4369
|
let c = n.top + n.height / 2;
|
|
@@ -4751,7 +4764,7 @@ const Dl = (e) => {
|
|
|
4751
4764
|
}
|
|
4752
4765
|
}, "nested"), Kc = (e, t, n) => {
|
|
4753
4766
|
let a = !1;
|
|
4754
|
-
const l = Q(/* @__PURE__ */ new Map()), o = Q(/* @__PURE__ */ new Map()), i = Q(/* @__PURE__ */ new Set()), r = ge(e, "opened", e.opened, (
|
|
4767
|
+
const l = Q(/* @__PURE__ */ new Map()), o = Q(/* @__PURE__ */ new Map()), i = Q(/* @__PURE__ */ new Set()), r = ge(e, "opened", e.opened, (S) => new Set(Array.isArray(S) ? S.map((k) => we(k)) : S), (S) => [...S.values()]), s = x(() => {
|
|
4755
4768
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
|
4756
4769
|
if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
|
|
4757
4770
|
switch (e.activeStrategy) {
|
|
@@ -4794,13 +4807,13 @@ const Dl = (e) => {
|
|
|
4794
4807
|
default:
|
|
4795
4808
|
return Zi;
|
|
4796
4809
|
}
|
|
4797
|
-
}), d = ge(e, "activated", e.activated, (
|
|
4810
|
+
}), d = ge(e, "activated", e.activated, (S) => s.value.in(S, l.value, o.value), (S) => s.value.out(S, l.value, o.value)), f = ge(e, "selected", e.selected, (S) => c.value.in(S, l.value, o.value, i.value), (S) => c.value.out(S, l.value, o.value));
|
|
4798
4811
|
lt(() => {
|
|
4799
4812
|
a = !0;
|
|
4800
4813
|
});
|
|
4801
|
-
function v(
|
|
4814
|
+
function v(S) {
|
|
4802
4815
|
const k = [];
|
|
4803
|
-
let P = we(
|
|
4816
|
+
let P = we(S);
|
|
4804
4817
|
for (; P !== void 0; )
|
|
4805
4818
|
k.unshift(P), P = o.value.get(P);
|
|
4806
4819
|
return k;
|
|
@@ -4811,12 +4824,12 @@ const Dl = (e) => {
|
|
|
4811
4824
|
});
|
|
4812
4825
|
}, 100);
|
|
4813
4826
|
Z(() => [t.value, Ae(n)], () => {
|
|
4814
|
-
e.itemsRegistration === "props" &&
|
|
4827
|
+
e.itemsRegistration === "props" && p();
|
|
4815
4828
|
}, {
|
|
4816
4829
|
immediate: !0
|
|
4817
4830
|
});
|
|
4818
|
-
function
|
|
4819
|
-
const
|
|
4831
|
+
function p() {
|
|
4832
|
+
const S = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Set(), A = Ae(n) ? (E) => we(E.raw) : (E) => E.value, T = [...t.value];
|
|
4820
4833
|
let C = 0;
|
|
4821
4834
|
for (; C < T.length; ) {
|
|
4822
4835
|
const E = T[C++], I = A(E);
|
|
@@ -4824,13 +4837,13 @@ const Dl = (e) => {
|
|
|
4824
4837
|
const N = [];
|
|
4825
4838
|
for (const $ of E.children) {
|
|
4826
4839
|
const _ = A($);
|
|
4827
|
-
|
|
4840
|
+
S.set(_, I), N.push(_), T.push($);
|
|
4828
4841
|
}
|
|
4829
4842
|
k.set(I, N);
|
|
4830
4843
|
}
|
|
4831
4844
|
E.props.disabled && P.add(I);
|
|
4832
4845
|
}
|
|
4833
|
-
l.value = k, o.value =
|
|
4846
|
+
l.value = k, o.value = S, i.value = P;
|
|
4834
4847
|
}
|
|
4835
4848
|
const b = {
|
|
4836
4849
|
id: Q(),
|
|
@@ -4841,42 +4854,42 @@ const Dl = (e) => {
|
|
|
4841
4854
|
activated: d,
|
|
4842
4855
|
selected: f,
|
|
4843
4856
|
selectedValues: x(() => {
|
|
4844
|
-
const
|
|
4857
|
+
const S = [];
|
|
4845
4858
|
for (const [k, P] of f.value.entries())
|
|
4846
|
-
P === "on" &&
|
|
4847
|
-
return
|
|
4859
|
+
P === "on" && S.push(k);
|
|
4860
|
+
return S;
|
|
4848
4861
|
}),
|
|
4849
4862
|
itemsRegistration: V(() => e.itemsRegistration),
|
|
4850
|
-
register: (
|
|
4851
|
-
if (m.has(
|
|
4852
|
-
const T = v(
|
|
4863
|
+
register: (S, k, P, A) => {
|
|
4864
|
+
if (m.has(S)) {
|
|
4865
|
+
const T = v(S).map(String).join(" -> "), C = v(k).concat(S).map(String).join(" -> ");
|
|
4853
4866
|
ia(`Multiple nodes with the same ID
|
|
4854
4867
|
${T}
|
|
4855
4868
|
${C}`);
|
|
4856
4869
|
return;
|
|
4857
4870
|
} else
|
|
4858
|
-
m.add(
|
|
4859
|
-
k &&
|
|
4871
|
+
m.add(S);
|
|
4872
|
+
k && S !== k && o.value.set(S, k), P && i.value.add(S), A && l.value.set(S, []), k != null && l.value.set(k, [...l.value.get(k) || [], S]), h();
|
|
4860
4873
|
},
|
|
4861
|
-
unregister: (
|
|
4874
|
+
unregister: (S) => {
|
|
4862
4875
|
if (a) return;
|
|
4863
|
-
m.delete(
|
|
4864
|
-
const k = o.value.get(
|
|
4876
|
+
m.delete(S), l.value.delete(S), i.value.delete(S);
|
|
4877
|
+
const k = o.value.get(S);
|
|
4865
4878
|
if (k) {
|
|
4866
4879
|
const P = l.value.get(k) ?? [];
|
|
4867
|
-
l.value.set(k, P.filter((A) => A !==
|
|
4880
|
+
l.value.set(k, P.filter((A) => A !== S));
|
|
4868
4881
|
}
|
|
4869
|
-
o.value.delete(
|
|
4882
|
+
o.value.delete(S), h();
|
|
4870
4883
|
},
|
|
4871
|
-
open: (
|
|
4884
|
+
open: (S, k, P) => {
|
|
4872
4885
|
g.emit("click:open", {
|
|
4873
|
-
id:
|
|
4886
|
+
id: S,
|
|
4874
4887
|
value: k,
|
|
4875
|
-
path: v(
|
|
4888
|
+
path: v(S),
|
|
4876
4889
|
event: P
|
|
4877
4890
|
});
|
|
4878
4891
|
const A = u.value.open({
|
|
4879
|
-
id:
|
|
4892
|
+
id: S,
|
|
4880
4893
|
value: k,
|
|
4881
4894
|
opened: new Set(r.value),
|
|
4882
4895
|
children: l.value,
|
|
@@ -4885,9 +4898,9 @@ const Dl = (e) => {
|
|
|
4885
4898
|
});
|
|
4886
4899
|
A && (r.value = A);
|
|
4887
4900
|
},
|
|
4888
|
-
openOnSelect: (
|
|
4901
|
+
openOnSelect: (S, k, P) => {
|
|
4889
4902
|
const A = u.value.select({
|
|
4890
|
-
id:
|
|
4903
|
+
id: S,
|
|
4891
4904
|
value: k,
|
|
4892
4905
|
selected: new Map(f.value),
|
|
4893
4906
|
opened: new Set(r.value),
|
|
@@ -4897,15 +4910,15 @@ const Dl = (e) => {
|
|
|
4897
4910
|
});
|
|
4898
4911
|
A && (r.value = A);
|
|
4899
4912
|
},
|
|
4900
|
-
select: (
|
|
4913
|
+
select: (S, k, P) => {
|
|
4901
4914
|
g.emit("click:select", {
|
|
4902
|
-
id:
|
|
4915
|
+
id: S,
|
|
4903
4916
|
value: k,
|
|
4904
|
-
path: v(
|
|
4917
|
+
path: v(S),
|
|
4905
4918
|
event: P
|
|
4906
4919
|
});
|
|
4907
4920
|
const A = c.value.select({
|
|
4908
|
-
id:
|
|
4921
|
+
id: S,
|
|
4909
4922
|
value: k,
|
|
4910
4923
|
selected: new Map(f.value),
|
|
4911
4924
|
children: l.value,
|
|
@@ -4913,19 +4926,19 @@ const Dl = (e) => {
|
|
|
4913
4926
|
disabled: i.value,
|
|
4914
4927
|
event: P
|
|
4915
4928
|
});
|
|
4916
|
-
A && (f.value = A), b.root.openOnSelect(
|
|
4929
|
+
A && (f.value = A), b.root.openOnSelect(S, k, P);
|
|
4917
4930
|
},
|
|
4918
|
-
activate: (
|
|
4931
|
+
activate: (S, k, P) => {
|
|
4919
4932
|
if (!e.activatable)
|
|
4920
|
-
return b.root.select(
|
|
4933
|
+
return b.root.select(S, !0, P);
|
|
4921
4934
|
g.emit("click:activate", {
|
|
4922
|
-
id:
|
|
4935
|
+
id: S,
|
|
4923
4936
|
value: k,
|
|
4924
|
-
path: v(
|
|
4937
|
+
path: v(S),
|
|
4925
4938
|
event: P
|
|
4926
4939
|
});
|
|
4927
4940
|
const A = s.value.activate({
|
|
4928
|
-
id:
|
|
4941
|
+
id: S,
|
|
4929
4942
|
value: k,
|
|
4930
4943
|
activated: new Set(d.value),
|
|
4931
4944
|
children: l.value,
|
|
@@ -5033,7 +5046,7 @@ const Zc = Bn({
|
|
|
5033
5046
|
subgroup: Boolean,
|
|
5034
5047
|
title: String,
|
|
5035
5048
|
value: null,
|
|
5036
|
-
...
|
|
5049
|
+
...re(),
|
|
5037
5050
|
...ke()
|
|
5038
5051
|
}, "VListGroup"), Po = K()({
|
|
5039
5052
|
name: "VListGroup",
|
|
@@ -5074,7 +5087,7 @@ const Zc = Bn({
|
|
|
5074
5087
|
"v-list-group--subgroup": e.subgroup,
|
|
5075
5088
|
"v-list-group--open": a.value
|
|
5076
5089
|
}, e.class]),
|
|
5077
|
-
style:
|
|
5090
|
+
style: ie(e.style)
|
|
5078
5091
|
}, {
|
|
5079
5092
|
default: () => [n.activator && y(Be, {
|
|
5080
5093
|
defaults: g.value
|
|
@@ -5107,7 +5120,7 @@ const Zc = Bn({
|
|
|
5107
5120
|
}
|
|
5108
5121
|
}), Jc = F({
|
|
5109
5122
|
opacity: [Number, String],
|
|
5110
|
-
...
|
|
5123
|
+
...re(),
|
|
5111
5124
|
...ke()
|
|
5112
5125
|
}, "VListItemSubtitle"), ed = K()({
|
|
5113
5126
|
name: "VListItemSubtitle",
|
|
@@ -5118,7 +5131,7 @@ const Zc = Bn({
|
|
|
5118
5131
|
} = t;
|
|
5119
5132
|
return te(() => y(e.tag, {
|
|
5120
5133
|
class: X(["v-list-item-subtitle", e.class]),
|
|
5121
|
-
style:
|
|
5134
|
+
style: ie([{
|
|
5122
5135
|
"--v-list-item-subtitle-opacity": e.opacity
|
|
5123
5136
|
}, e.style])
|
|
5124
5137
|
}, n)), {};
|
|
@@ -5138,7 +5151,7 @@ const nr = F({
|
|
|
5138
5151
|
aspectRatio: [String, Number],
|
|
5139
5152
|
contentClass: null,
|
|
5140
5153
|
inline: Boolean,
|
|
5141
|
-
...
|
|
5154
|
+
...re(),
|
|
5142
5155
|
...Nt()
|
|
5143
5156
|
}, "VResponsive"), Vo = K()({
|
|
5144
5157
|
name: "VResponsive",
|
|
@@ -5156,10 +5169,10 @@ const nr = F({
|
|
|
5156
5169
|
class: X(["v-responsive", {
|
|
5157
5170
|
"v-responsive--inline": e.inline
|
|
5158
5171
|
}, e.class]),
|
|
5159
|
-
style:
|
|
5172
|
+
style: ie([l.value, e.style])
|
|
5160
5173
|
}, [w("div", {
|
|
5161
5174
|
class: "v-responsive__sizer",
|
|
5162
|
-
style:
|
|
5175
|
+
style: ie(a.value)
|
|
5163
5176
|
}, null), n.additional?.(), n.default && w("div", {
|
|
5164
5177
|
class: X(["v-responsive__content", e.contentClass])
|
|
5165
5178
|
}, [n.default()])])), {};
|
|
@@ -5224,7 +5237,7 @@ const ta = {
|
|
|
5224
5237
|
srcset: String,
|
|
5225
5238
|
position: String,
|
|
5226
5239
|
...nr(),
|
|
5227
|
-
...
|
|
5240
|
+
...re(),
|
|
5228
5241
|
...ot(),
|
|
5229
5242
|
...On()
|
|
5230
5243
|
}, "VImg"), lr = K()({
|
|
@@ -5274,7 +5287,7 @@ const ta = {
|
|
|
5274
5287
|
n("loadstart", c.value?.currentSrc || v.value.src), setTimeout(() => {
|
|
5275
5288
|
if (!r.isUnmounted)
|
|
5276
5289
|
if (c.value?.complete) {
|
|
5277
|
-
if (c.value.naturalWidth ||
|
|
5290
|
+
if (c.value.naturalWidth || p(), u.value === "error") return;
|
|
5278
5291
|
g.value || k(c.value, null), u.value === "loading" && h();
|
|
5279
5292
|
} else
|
|
5280
5293
|
g.value || k(c.value), b();
|
|
@@ -5285,26 +5298,26 @@ const ta = {
|
|
|
5285
5298
|
function h() {
|
|
5286
5299
|
r.isUnmounted || (b(), k(c.value), u.value = "loaded", n("load", c.value?.currentSrc || v.value.src));
|
|
5287
5300
|
}
|
|
5288
|
-
function
|
|
5301
|
+
function p() {
|
|
5289
5302
|
r.isUnmounted || (u.value = "error", n("error", c.value?.currentSrc || v.value.src));
|
|
5290
5303
|
}
|
|
5291
5304
|
function b() {
|
|
5292
5305
|
const $ = c.value;
|
|
5293
5306
|
$ && (s.value = $.currentSrc || $.src);
|
|
5294
5307
|
}
|
|
5295
|
-
let
|
|
5308
|
+
let S = -1;
|
|
5296
5309
|
lt(() => {
|
|
5297
|
-
clearTimeout(
|
|
5310
|
+
clearTimeout(S);
|
|
5298
5311
|
});
|
|
5299
5312
|
function k($) {
|
|
5300
5313
|
let _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
5301
5314
|
const R = () => {
|
|
5302
|
-
if (clearTimeout(
|
|
5315
|
+
if (clearTimeout(S), r.isUnmounted) return;
|
|
5303
5316
|
const {
|
|
5304
5317
|
naturalHeight: G,
|
|
5305
5318
|
naturalWidth: Y
|
|
5306
5319
|
} = $;
|
|
5307
|
-
G || Y ? (d.value = Y, f.value = G) : !$.complete && u.value === "loading" && _ != null ?
|
|
5320
|
+
G || Y ? (d.value = Y, f.value = G) : !$.complete && u.value === "loading" && _ != null ? S = window.setTimeout(R, _) : ($.currentSrc.endsWith(".svg") || $.currentSrc.startsWith("data:image/svg+xml")) && (d.value = 1, f.value = 1);
|
|
5308
5321
|
};
|
|
5309
5322
|
R();
|
|
5310
5323
|
}
|
|
@@ -5327,7 +5340,7 @@ const ta = {
|
|
|
5327
5340
|
sizes: e.sizes,
|
|
5328
5341
|
ref: c,
|
|
5329
5342
|
onLoad: h,
|
|
5330
|
-
onError:
|
|
5343
|
+
onError: p
|
|
5331
5344
|
}, null), _ = a.sources?.();
|
|
5332
5345
|
return y(Vt, {
|
|
5333
5346
|
transition: e.transition,
|
|
@@ -5395,7 +5408,7 @@ const ta = {
|
|
|
5395
5408
|
"aria-label": e.alt,
|
|
5396
5409
|
role: e.alt ? "img" : void 0
|
|
5397
5410
|
}), {
|
|
5398
|
-
additional: () => w(
|
|
5411
|
+
additional: () => w(se, null, [y(A, null, null), y(T, null, null), y(I, null, null), y(C, null, null), y(E, null, null)]),
|
|
5399
5412
|
default: a.default
|
|
5400
5413
|
}), [[ta, {
|
|
5401
5414
|
handler: m,
|
|
@@ -5418,7 +5431,7 @@ const ta = {
|
|
|
5418
5431
|
image: String,
|
|
5419
5432
|
text: String,
|
|
5420
5433
|
...$t(),
|
|
5421
|
-
...
|
|
5434
|
+
...re(),
|
|
5422
5435
|
...Ge(),
|
|
5423
5436
|
...ot(),
|
|
5424
5437
|
...gn(),
|
|
@@ -5455,7 +5468,7 @@ const ta = {
|
|
|
5455
5468
|
"v-avatar--start": e.start,
|
|
5456
5469
|
"v-avatar--end": e.end
|
|
5457
5470
|
}, a.value, l.value, o.value, s.value, c.value, u.value, r.value, e.class]),
|
|
5458
|
-
style:
|
|
5471
|
+
style: ie([i.value, d.value, e.style])
|
|
5459
5472
|
}, {
|
|
5460
5473
|
default: () => [n.default ? y(Be, {
|
|
5461
5474
|
key: "content-defaults",
|
|
@@ -5519,7 +5532,7 @@ const ta = {
|
|
|
5519
5532
|
onClick: Me(),
|
|
5520
5533
|
onClickOnce: Me(),
|
|
5521
5534
|
...$t(),
|
|
5522
|
-
...
|
|
5535
|
+
...re(),
|
|
5523
5536
|
...Ge(),
|
|
5524
5537
|
...Nt(),
|
|
5525
5538
|
...Zt(),
|
|
@@ -5556,12 +5569,12 @@ const ta = {
|
|
|
5556
5569
|
root: g,
|
|
5557
5570
|
parent: m,
|
|
5558
5571
|
openOnSelect: h,
|
|
5559
|
-
id:
|
|
5560
|
-
} = tr(i, () => e.disabled, !1), b = Xi(),
|
|
5572
|
+
id: p
|
|
5573
|
+
} = tr(i, () => e.disabled, !1), b = Xi(), S = x(() => e.active !== !1 && (e.active || o.isActive?.value || (g.activatable.value ? s.value : d.value))), k = V(() => e.link !== !1 && o.isLink.value), P = x(() => !!b && (g.selectable.value || g.activatable.value || e.value != null)), A = x(() => !e.disabled && e.link !== !1 && (e.link || o.isClickable.value || P.value)), T = x(() => b ? k.value ? "link" : P.value ? "option" : "listitem" : void 0), C = x(() => {
|
|
5561
5574
|
if (P.value)
|
|
5562
|
-
return g.activatable.value ? s.value : g.selectable.value ? d.value :
|
|
5575
|
+
return g.activatable.value ? s.value : g.selectable.value ? d.value : S.value;
|
|
5563
5576
|
}), E = V(() => e.rounded || e.nav), I = V(() => e.color ?? e.activeColor), N = V(() => ({
|
|
5564
|
-
color:
|
|
5577
|
+
color: S.value ? I.value ?? e.baseColor : e.baseColor,
|
|
5565
5578
|
variant: e.variant
|
|
5566
5579
|
}));
|
|
5567
5580
|
Z(() => o.isActive?.value, (z) => {
|
|
@@ -5591,7 +5604,7 @@ const ta = {
|
|
|
5591
5604
|
} = mt(E), L = V(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), H = V(() => e.ripple !== void 0 && e.ripple && b?.filterable ? {
|
|
5592
5605
|
keys: ["Enter"]
|
|
5593
5606
|
} : e.ripple), B = x(() => ({
|
|
5594
|
-
isActive:
|
|
5607
|
+
isActive: S.value,
|
|
5595
5608
|
select: c,
|
|
5596
5609
|
isOpen: u.value,
|
|
5597
5610
|
isSelected: d.value,
|
|
@@ -5605,15 +5618,15 @@ const ta = {
|
|
|
5605
5618
|
["INPUT", "TEXTAREA"].includes(ve.tagName) || (z.key === "Enter" || z.key === " " && !b?.filterable) && (z.preventDefault(), z.stopPropagation(), z.target.dispatchEvent(new MouseEvent("click", z)));
|
|
5606
5619
|
}
|
|
5607
5620
|
return te(() => {
|
|
5608
|
-
const z = k.value ? "a" : e.tag, ve = a.title || e.title != null,
|
|
5621
|
+
const z = k.value ? "a" : e.tag, ve = a.title || e.title != null, ue = a.subtitle || e.subtitle != null, ye = !!(e.appendAvatar || e.appendIcon), De = !!(ye || a.append), it = !!(e.prependAvatar || e.prependIcon), be = !!(it || a.prepend);
|
|
5609
5622
|
return b?.updateHasPrepend(be), e.activeColor && Ls("active-color", ["color", "base-color"]), He(y(z, W(o.linkProps, {
|
|
5610
5623
|
class: ["v-list-item", {
|
|
5611
|
-
"v-list-item--active":
|
|
5624
|
+
"v-list-item--active": S.value,
|
|
5612
5625
|
"v-list-item--disabled": e.disabled,
|
|
5613
5626
|
"v-list-item--link": A.value,
|
|
5614
5627
|
"v-list-item--nav": e.nav,
|
|
5615
5628
|
"v-list-item--slim": e.slim,
|
|
5616
|
-
[`${e.activeClass}`]: e.activeClass &&
|
|
5629
|
+
[`${e.activeClass}`]: e.activeClass && S.value
|
|
5617
5630
|
}, _.value, R.value, G.value, ae.value, M.value, L.value, J.value, ee.value, e.class],
|
|
5618
5631
|
style: [{
|
|
5619
5632
|
"--v-list-prepend-gap": U(e.prependGap)
|
|
@@ -5624,7 +5637,7 @@ const ta = {
|
|
|
5624
5637
|
onClick: oe,
|
|
5625
5638
|
onKeydown: A.value && !k.value && de
|
|
5626
5639
|
}), {
|
|
5627
|
-
default: () => [$n(A.value ||
|
|
5640
|
+
default: () => [$n(A.value || S.value, "v-list-item"), be && w("div", {
|
|
5628
5641
|
key: "prepend",
|
|
5629
5642
|
class: "v-list-item__prepend"
|
|
5630
5643
|
}, [a.prepend ? y(Be, {
|
|
@@ -5645,7 +5658,7 @@ const ta = {
|
|
|
5645
5658
|
}
|
|
5646
5659
|
}, {
|
|
5647
5660
|
default: () => [a.prepend?.(B.value)]
|
|
5648
|
-
}) : w(
|
|
5661
|
+
}) : w(se, null, [e.prependAvatar && y(Gt, {
|
|
5649
5662
|
key: "prepend-avatar",
|
|
5650
5663
|
density: e.density,
|
|
5651
5664
|
image: e.prependAvatar
|
|
@@ -5664,7 +5677,7 @@ const ta = {
|
|
|
5664
5677
|
default: () => [a.title?.({
|
|
5665
5678
|
title: e.title
|
|
5666
5679
|
}) ?? pe(e.title)]
|
|
5667
|
-
}),
|
|
5680
|
+
}), ue && y(ed, {
|
|
5668
5681
|
key: "subtitle"
|
|
5669
5682
|
}, {
|
|
5670
5683
|
default: () => [a.subtitle?.({
|
|
@@ -5691,7 +5704,7 @@ const ta = {
|
|
|
5691
5704
|
}
|
|
5692
5705
|
}, {
|
|
5693
5706
|
default: () => [a.append?.(B.value)]
|
|
5694
|
-
}) : w(
|
|
5707
|
+
}) : w(se, null, [e.appendIcon && y(ce, {
|
|
5695
5708
|
key: "append-icon",
|
|
5696
5709
|
density: e.density,
|
|
5697
5710
|
icon: e.appendIcon
|
|
@@ -5711,7 +5724,7 @@ const ta = {
|
|
|
5711
5724
|
list: b,
|
|
5712
5725
|
select: c,
|
|
5713
5726
|
root: g,
|
|
5714
|
-
id:
|
|
5727
|
+
id: p,
|
|
5715
5728
|
link: o
|
|
5716
5729
|
};
|
|
5717
5730
|
}
|
|
@@ -5720,7 +5733,7 @@ const ta = {
|
|
|
5720
5733
|
inset: Boolean,
|
|
5721
5734
|
sticky: Boolean,
|
|
5722
5735
|
title: String,
|
|
5723
|
-
...
|
|
5736
|
+
...re(),
|
|
5724
5737
|
...ke()
|
|
5725
5738
|
}, "VListSubheader"), or = K()({
|
|
5726
5739
|
name: "VListSubheader",
|
|
@@ -5740,7 +5753,7 @@ const ta = {
|
|
|
5740
5753
|
"v-list-subheader--inset": e.inset,
|
|
5741
5754
|
"v-list-subheader--sticky": e.sticky
|
|
5742
5755
|
}, a.value, e.class]),
|
|
5743
|
-
style:
|
|
5756
|
+
style: ie([{
|
|
5744
5757
|
textColorStyles: l
|
|
5745
5758
|
}, e.style])
|
|
5746
5759
|
}, {
|
|
@@ -5888,20 +5901,20 @@ function ud(e) {
|
|
|
5888
5901
|
});
|
|
5889
5902
|
function o(r) {
|
|
5890
5903
|
const s = a.value, c = t.value, u = l.value, d = n.value, f = e.returnObject, v = !!e.valueComparator, g = e.valueComparator || Ke, m = Wt(e, ln.neededProps), h = [];
|
|
5891
|
-
e: for (const
|
|
5892
|
-
if (!d &&
|
|
5893
|
-
if (f && typeof
|
|
5894
|
-
h.push(ln(m,
|
|
5904
|
+
e: for (const p of r) {
|
|
5905
|
+
if (!d && p === null) continue;
|
|
5906
|
+
if (f && typeof p == "string") {
|
|
5907
|
+
h.push(ln(m, p));
|
|
5895
5908
|
continue;
|
|
5896
5909
|
}
|
|
5897
|
-
const b = s.get(
|
|
5910
|
+
const b = s.get(p);
|
|
5898
5911
|
if (v || !b) {
|
|
5899
|
-
for (const
|
|
5900
|
-
if (g(
|
|
5901
|
-
h.push(
|
|
5912
|
+
for (const S of v ? c : u)
|
|
5913
|
+
if (g(p, S.value)) {
|
|
5914
|
+
h.push(S);
|
|
5902
5915
|
continue e;
|
|
5903
5916
|
}
|
|
5904
|
-
h.push(ln(m,
|
|
5917
|
+
h.push(ln(m, p));
|
|
5905
5918
|
continue;
|
|
5906
5919
|
}
|
|
5907
5920
|
h.push(...b);
|
|
@@ -5983,7 +5996,7 @@ const vd = F({
|
|
|
5983
5996
|
openStrategy: "list"
|
|
5984
5997
|
}),
|
|
5985
5998
|
...$t(),
|
|
5986
|
-
...
|
|
5999
|
+
...re(),
|
|
5987
6000
|
...Ge(),
|
|
5988
6001
|
...Nt(),
|
|
5989
6002
|
...Zt(),
|
|
@@ -6032,13 +6045,13 @@ const vd = F({
|
|
|
6032
6045
|
parents: g,
|
|
6033
6046
|
select: m,
|
|
6034
6047
|
getPath: h
|
|
6035
|
-
} = Kc(e, a, () => e.returnObject),
|
|
6048
|
+
} = Kc(e, a, () => e.returnObject), p = V(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = V(() => e.activeColor), S = V(() => e.baseColor), k = V(() => e.color), P = V(() => e.selectable || e.activatable);
|
|
6036
6049
|
Ki({
|
|
6037
6050
|
filterable: e.filterable
|
|
6038
6051
|
}), pt({
|
|
6039
6052
|
VListGroup: {
|
|
6040
6053
|
activeColor: b,
|
|
6041
|
-
baseColor:
|
|
6054
|
+
baseColor: S,
|
|
6042
6055
|
color: k,
|
|
6043
6056
|
expandIcon: V(() => e.expandIcon),
|
|
6044
6057
|
collapseIcon: V(() => e.collapseIcon)
|
|
@@ -6046,7 +6059,7 @@ const vd = F({
|
|
|
6046
6059
|
VListItem: {
|
|
6047
6060
|
activeClass: V(() => e.activeClass),
|
|
6048
6061
|
activeColor: b,
|
|
6049
|
-
baseColor:
|
|
6062
|
+
baseColor: S,
|
|
6050
6063
|
color: k,
|
|
6051
6064
|
density: V(() => e.density),
|
|
6052
6065
|
disabled: V(() => e.disabled),
|
|
@@ -6097,8 +6110,8 @@ const vd = F({
|
|
|
6097
6110
|
"v-list--disabled": e.disabled,
|
|
6098
6111
|
"v-list--nav": e.nav,
|
|
6099
6112
|
"v-list--slim": e.slim
|
|
6100
|
-
}, l.value, o.value, r.value, s.value, u.value,
|
|
6101
|
-
style:
|
|
6113
|
+
}, l.value, o.value, r.value, s.value, u.value, p.value, d.value, e.class]),
|
|
6114
|
+
style: ie([{
|
|
6102
6115
|
"--v-list-indent": U(R),
|
|
6103
6116
|
"--v-list-group-prepend": R ? "0px" : void 0,
|
|
6104
6117
|
"--v-list-prepend-gap": U(e.prependGap)
|
|
@@ -6183,7 +6196,7 @@ const vd = F({
|
|
|
6183
6196
|
if (!e.disabled)
|
|
6184
6197
|
if (m.key === "Tab" || m.key === "Enter" && !e.closeOnContentClick) {
|
|
6185
6198
|
if (m.key === "Enter" && (m.target instanceof HTMLTextAreaElement || m.target instanceof HTMLInputElement && m.target.closest("form"))) return;
|
|
6186
|
-
m.key === "Enter" && m.preventDefault(), !Jo(_t(s.value?.contentEl, !1), m.shiftKey ? "prev" : "next", (
|
|
6199
|
+
m.key === "Enter" && m.preventDefault(), !Jo(_t(s.value?.contentEl, !1), m.shiftKey ? "prev" : "next", (p) => p.tabIndex >= 0) && !e.retainFocus && (a.value = !1, s.value?.activatorEl?.focus());
|
|
6187
6200
|
} else e.submenu && m.key === (o.value ? "ArrowRight" : "ArrowLeft") && (a.value = !1, s.value?.activatorEl?.focus());
|
|
6188
6201
|
}
|
|
6189
6202
|
function v(m) {
|
|
@@ -6216,12 +6229,12 @@ const vd = F({
|
|
|
6216
6229
|
}, l), {
|
|
6217
6230
|
activator: n.activator,
|
|
6218
6231
|
default: function() {
|
|
6219
|
-
for (var h = arguments.length,
|
|
6220
|
-
|
|
6232
|
+
for (var h = arguments.length, p = new Array(h), b = 0; b < h; b++)
|
|
6233
|
+
p[b] = arguments[b];
|
|
6221
6234
|
return y(Be, {
|
|
6222
6235
|
root: "VMenu"
|
|
6223
6236
|
}, {
|
|
6224
|
-
default: () => [n.default?.(...
|
|
6237
|
+
default: () => [n.default?.(...p)]
|
|
6225
6238
|
});
|
|
6226
6239
|
}
|
|
6227
6240
|
});
|
|
@@ -6269,10 +6282,10 @@ async function Io(e, t, n, a) {
|
|
|
6269
6282
|
if (u === d) return Promise.resolve(u);
|
|
6270
6283
|
const f = performance.now();
|
|
6271
6284
|
return new Promise((v) => requestAnimationFrame(function g(m) {
|
|
6272
|
-
const
|
|
6273
|
-
if (s[l] = b,
|
|
6285
|
+
const p = (m - f) / o.duration, b = Math.floor(d + (u - d) * c(Ue(p, 0, 1)));
|
|
6286
|
+
if (s[l] = b, p >= 1 && Math.abs(b - s[l]) < 10)
|
|
6274
6287
|
return v(u);
|
|
6275
|
-
if (
|
|
6288
|
+
if (p > 2)
|
|
6276
6289
|
return It("Scroll target is not reachable"), v(s[l]);
|
|
6277
6290
|
requestAnimationFrame(g);
|
|
6278
6291
|
}));
|
|
@@ -6379,7 +6392,7 @@ const wd = F({
|
|
|
6379
6392
|
},
|
|
6380
6393
|
showFirstLastPage: Boolean,
|
|
6381
6394
|
...$t(),
|
|
6382
|
-
...
|
|
6395
|
+
...re(),
|
|
6383
6396
|
...Ge(),
|
|
6384
6397
|
...Zt(),
|
|
6385
6398
|
...ot(),
|
|
@@ -6455,12 +6468,12 @@ const wd = F({
|
|
|
6455
6468
|
return [v.value, e.ellipsis, ...Mn($, _), e.ellipsis, f.value];
|
|
6456
6469
|
}
|
|
6457
6470
|
});
|
|
6458
|
-
function
|
|
6471
|
+
function p(C, E, I) {
|
|
6459
6472
|
C.preventDefault(), l.value = E, I && a(I, E);
|
|
6460
6473
|
}
|
|
6461
6474
|
const {
|
|
6462
6475
|
refs: b,
|
|
6463
|
-
updateRef:
|
|
6476
|
+
updateRef: S
|
|
6464
6477
|
} = Sd();
|
|
6465
6478
|
pt({
|
|
6466
6479
|
VPaginationBtn: {
|
|
@@ -6474,7 +6487,7 @@ const wd = F({
|
|
|
6474
6487
|
}
|
|
6475
6488
|
});
|
|
6476
6489
|
const k = x(() => h.value.map((C, E) => {
|
|
6477
|
-
const I = (N) =>
|
|
6490
|
+
const I = (N) => S(N, E);
|
|
6478
6491
|
if (typeof C == "string")
|
|
6479
6492
|
return {
|
|
6480
6493
|
isActive: !1,
|
|
@@ -6501,7 +6514,7 @@ const wd = F({
|
|
|
6501
6514
|
color: N ? e.activeColor : e.color,
|
|
6502
6515
|
"aria-current": N,
|
|
6503
6516
|
"aria-label": o(N ? e.currentPageAriaLabel : e.pageAriaLabel, C),
|
|
6504
|
-
onClick: ($) =>
|
|
6517
|
+
onClick: ($) => p($, C)
|
|
6505
6518
|
}
|
|
6506
6519
|
};
|
|
6507
6520
|
}
|
|
@@ -6510,28 +6523,28 @@ const wd = F({
|
|
|
6510
6523
|
return {
|
|
6511
6524
|
first: e.showFirstLastPage ? {
|
|
6512
6525
|
icon: r.value ? e.lastIcon : e.firstIcon,
|
|
6513
|
-
onClick: (I) =>
|
|
6526
|
+
onClick: (I) => p(I, v.value, "first"),
|
|
6514
6527
|
disabled: C,
|
|
6515
6528
|
"aria-label": o(e.firstAriaLabel),
|
|
6516
6529
|
"aria-disabled": C
|
|
6517
6530
|
} : void 0,
|
|
6518
6531
|
prev: {
|
|
6519
6532
|
icon: r.value ? e.nextIcon : e.prevIcon,
|
|
6520
|
-
onClick: (I) =>
|
|
6533
|
+
onClick: (I) => p(I, l.value - 1, "prev"),
|
|
6521
6534
|
disabled: C,
|
|
6522
6535
|
"aria-label": o(e.previousAriaLabel),
|
|
6523
6536
|
"aria-disabled": C
|
|
6524
6537
|
},
|
|
6525
6538
|
next: {
|
|
6526
6539
|
icon: r.value ? e.prevIcon : e.nextIcon,
|
|
6527
|
-
onClick: (I) =>
|
|
6540
|
+
onClick: (I) => p(I, l.value + 1, "next"),
|
|
6528
6541
|
disabled: E,
|
|
6529
6542
|
"aria-label": o(e.nextAriaLabel),
|
|
6530
6543
|
"aria-disabled": E
|
|
6531
6544
|
},
|
|
6532
6545
|
last: e.showFirstLastPage ? {
|
|
6533
6546
|
icon: r.value ? e.firstIcon : e.lastIcon,
|
|
6534
|
-
onClick: (I) =>
|
|
6547
|
+
onClick: (I) => p(I, v.value + f.value - 1, "last"),
|
|
6535
6548
|
disabled: E,
|
|
6536
6549
|
"aria-label": o(e.lastAriaLabel),
|
|
6537
6550
|
"aria-disabled": E
|
|
@@ -6548,7 +6561,7 @@ const wd = F({
|
|
|
6548
6561
|
return te(() => y(e.tag, {
|
|
6549
6562
|
ref: d,
|
|
6550
6563
|
class: X(["v-pagination", s.value, e.class]),
|
|
6551
|
-
style:
|
|
6564
|
+
style: ie(e.style),
|
|
6552
6565
|
role: "navigation",
|
|
6553
6566
|
"aria-label": o(e.ariaLabel),
|
|
6554
6567
|
onKeydown: T,
|
|
@@ -6596,7 +6609,7 @@ const wd = F({
|
|
|
6596
6609
|
}), Cd = F({
|
|
6597
6610
|
text: String,
|
|
6598
6611
|
onClick: Me(),
|
|
6599
|
-
...
|
|
6612
|
+
...re(),
|
|
6600
6613
|
...Fe()
|
|
6601
6614
|
}, "VLabel"), dr = K()({
|
|
6602
6615
|
name: "VLabel",
|
|
@@ -6609,7 +6622,7 @@ const wd = F({
|
|
|
6609
6622
|
class: X(["v-label", {
|
|
6610
6623
|
"v-label--clickable": !!e.onClick
|
|
6611
6624
|
}, e.class]),
|
|
6612
|
-
style:
|
|
6625
|
+
style: ie(e.style),
|
|
6613
6626
|
onClick: e.onClick
|
|
6614
6627
|
}, [e.text, n.default?.()])), {};
|
|
6615
6628
|
}
|
|
@@ -6644,7 +6657,7 @@ const wd = F({
|
|
|
6644
6657
|
type: Function,
|
|
6645
6658
|
default: Ke
|
|
6646
6659
|
},
|
|
6647
|
-
...
|
|
6660
|
+
...re(),
|
|
6648
6661
|
...Ge(),
|
|
6649
6662
|
...Fe()
|
|
6650
6663
|
}, "SelectionControlGroup"), xd = F({
|
|
@@ -6694,7 +6707,7 @@ K()({
|
|
|
6694
6707
|
class: X(["v-selection-control-group", {
|
|
6695
6708
|
"v-selection-control-group--inline": e.inline
|
|
6696
6709
|
}, e.class]),
|
|
6697
|
-
style:
|
|
6710
|
+
style: ie(e.style),
|
|
6698
6711
|
role: e.type === "radio" ? "radiogroup" : void 0
|
|
6699
6712
|
}, [n.default?.()])), {};
|
|
6700
6713
|
}
|
|
@@ -6705,7 +6718,7 @@ const mr = F({
|
|
|
6705
6718
|
trueValue: null,
|
|
6706
6719
|
falseValue: null,
|
|
6707
6720
|
value: null,
|
|
6708
|
-
...
|
|
6721
|
+
...re(),
|
|
6709
6722
|
...vr()
|
|
6710
6723
|
}, "VSelectionControl");
|
|
6711
6724
|
function kd(e) {
|
|
@@ -6770,11 +6783,11 @@ const Do = K()({
|
|
|
6770
6783
|
backgroundColorClasses: u,
|
|
6771
6784
|
backgroundColorStyles: d,
|
|
6772
6785
|
trueValue: f
|
|
6773
|
-
} = kd(e), v = dt(), g = Q(!1), m = Q(!1), h = j(),
|
|
6786
|
+
} = kd(e), v = dt(), g = Q(!1), m = Q(!1), h = j(), p = V(() => e.id || `input-${v}`), b = V(() => !e.disabled && !e.readonly);
|
|
6774
6787
|
l?.onForceUpdate(() => {
|
|
6775
6788
|
h.value && (h.value.checked = r.value);
|
|
6776
6789
|
});
|
|
6777
|
-
function
|
|
6790
|
+
function S(T) {
|
|
6778
6791
|
b.value && (g.value = !0, Xn(T.target, ":focus-visible") !== !1 && (m.value = !0));
|
|
6779
6792
|
}
|
|
6780
6793
|
function k() {
|
|
@@ -6794,15 +6807,15 @@ const Do = K()({
|
|
|
6794
6807
|
const T = a.label ? a.label({
|
|
6795
6808
|
label: e.label,
|
|
6796
6809
|
props: {
|
|
6797
|
-
for:
|
|
6810
|
+
for: p.value
|
|
6798
6811
|
}
|
|
6799
6812
|
}) : e.label, [C, E] = Yo(n), I = w("input", W({
|
|
6800
6813
|
ref: h,
|
|
6801
6814
|
checked: r.value,
|
|
6802
6815
|
disabled: !!e.disabled,
|
|
6803
|
-
id:
|
|
6816
|
+
id: p.value,
|
|
6804
6817
|
onBlur: k,
|
|
6805
|
-
onFocus:
|
|
6818
|
+
onFocus: S,
|
|
6806
6819
|
onInput: A,
|
|
6807
6820
|
"aria-disabled": !!e.disabled,
|
|
6808
6821
|
"aria-label": e.label,
|
|
@@ -6824,7 +6837,7 @@ const Do = K()({
|
|
|
6824
6837
|
style: e.style
|
|
6825
6838
|
}), [w("div", {
|
|
6826
6839
|
class: X(["v-selection-control__wrapper", s.value]),
|
|
6827
|
-
style:
|
|
6840
|
+
style: ie(c.value)
|
|
6828
6841
|
}, [a.default?.({
|
|
6829
6842
|
backgroundColorClasses: u,
|
|
6830
6843
|
backgroundColorStyles: d
|
|
@@ -6839,18 +6852,18 @@ const Do = K()({
|
|
|
6839
6852
|
inputNode: I,
|
|
6840
6853
|
icon: i.value,
|
|
6841
6854
|
props: {
|
|
6842
|
-
onFocus:
|
|
6855
|
+
onFocus: S,
|
|
6843
6856
|
onBlur: k,
|
|
6844
|
-
id:
|
|
6857
|
+
id: p.value
|
|
6845
6858
|
}
|
|
6846
|
-
}) ?? w(
|
|
6859
|
+
}) ?? w(se, null, [i.value && y(ce, {
|
|
6847
6860
|
key: "icon",
|
|
6848
6861
|
icon: i.value
|
|
6849
6862
|
}, null), I])]), [[wt, !e.disabled && !e.readonly && e.ripple, null, {
|
|
6850
6863
|
center: !0,
|
|
6851
6864
|
circle: !0
|
|
6852
6865
|
}]])]), T && y(dr, {
|
|
6853
|
-
for:
|
|
6866
|
+
for: p.value,
|
|
6854
6867
|
onClick: P
|
|
6855
6868
|
}, {
|
|
6856
6869
|
default: () => [T]
|
|
@@ -6941,7 +6954,7 @@ const Vd = F({
|
|
|
6941
6954
|
type: [Array, String],
|
|
6942
6955
|
default: () => []
|
|
6943
6956
|
},
|
|
6944
|
-
...
|
|
6957
|
+
...re(),
|
|
6945
6958
|
...On({
|
|
6946
6959
|
transition: {
|
|
6947
6960
|
component: Gi,
|
|
@@ -6964,7 +6977,7 @@ const Vd = F({
|
|
|
6964
6977
|
transition: e.transition,
|
|
6965
6978
|
tag: "div",
|
|
6966
6979
|
class: X(["v-messages", l.value, e.class]),
|
|
6967
|
-
style:
|
|
6980
|
+
style: ie([o.value, e.style])
|
|
6968
6981
|
}, {
|
|
6969
6982
|
default: () => [e.active && a.value.map((i, r) => w("div", {
|
|
6970
6983
|
class: "v-messages__message",
|
|
@@ -7159,38 +7172,38 @@ function Bd(e) {
|
|
|
7159
7172
|
o.register?.({
|
|
7160
7173
|
id: h.value,
|
|
7161
7174
|
vm: m,
|
|
7162
|
-
validate:
|
|
7163
|
-
reset:
|
|
7175
|
+
validate: S,
|
|
7176
|
+
reset: p,
|
|
7164
7177
|
resetValidation: b
|
|
7165
7178
|
});
|
|
7166
7179
|
}), lt(() => {
|
|
7167
7180
|
o.unregister?.(h.value);
|
|
7168
7181
|
}), Bt(async () => {
|
|
7169
|
-
d.value.lazy || await
|
|
7182
|
+
d.value.lazy || await S(!d.value.eager), o.update?.(h.value, f.value, u.value);
|
|
7170
7183
|
}), Et(() => d.value.input || d.value.invalidInput && f.value === !1, () => {
|
|
7171
7184
|
Z(l, () => {
|
|
7172
7185
|
if (l.value != null)
|
|
7173
|
-
|
|
7186
|
+
S();
|
|
7174
7187
|
else if (e.focused) {
|
|
7175
7188
|
const k = Z(() => e.focused, (P) => {
|
|
7176
|
-
P ||
|
|
7189
|
+
P || S(), k();
|
|
7177
7190
|
});
|
|
7178
7191
|
}
|
|
7179
7192
|
});
|
|
7180
7193
|
}), Et(() => d.value.blur, () => {
|
|
7181
7194
|
Z(() => e.focused, (k) => {
|
|
7182
|
-
k ||
|
|
7195
|
+
k || S();
|
|
7183
7196
|
});
|
|
7184
7197
|
}), Z([f, u], () => {
|
|
7185
7198
|
o.update?.(h.value, f.value, u.value);
|
|
7186
7199
|
});
|
|
7187
|
-
async function
|
|
7200
|
+
async function p() {
|
|
7188
7201
|
a.value = null, await Se(), await b();
|
|
7189
7202
|
}
|
|
7190
7203
|
async function b() {
|
|
7191
|
-
s.value = !0, d.value.lazy ? r.value = [] : await
|
|
7204
|
+
s.value = !0, d.value.lazy ? r.value = [] : await S(!d.value.eager);
|
|
7192
7205
|
}
|
|
7193
|
-
async function
|
|
7206
|
+
async function S() {
|
|
7194
7207
|
let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
7195
7208
|
const P = [];
|
|
7196
7209
|
v.value = !0;
|
|
@@ -7216,9 +7229,9 @@ function Bd(e) {
|
|
|
7216
7229
|
isPristine: s,
|
|
7217
7230
|
isValid: f,
|
|
7218
7231
|
isValidating: v,
|
|
7219
|
-
reset:
|
|
7232
|
+
reset: p,
|
|
7220
7233
|
resetValidation: b,
|
|
7221
|
-
validate:
|
|
7234
|
+
validate: S,
|
|
7222
7235
|
validationClasses: g
|
|
7223
7236
|
};
|
|
7224
7237
|
}
|
|
@@ -7249,7 +7262,7 @@ const Sr = F({
|
|
|
7249
7262
|
},
|
|
7250
7263
|
"onClick:prepend": Me(),
|
|
7251
7264
|
"onClick:append": Me(),
|
|
7252
|
-
...
|
|
7265
|
+
...re(),
|
|
7253
7266
|
...Ge(),
|
|
7254
7267
|
...Wt(Nt(), ["maxWidth", "minWidth", "width"]),
|
|
7255
7268
|
...Fe(),
|
|
@@ -7284,9 +7297,9 @@ const Sr = F({
|
|
|
7284
7297
|
isDisabled: g,
|
|
7285
7298
|
isReadonly: m,
|
|
7286
7299
|
isPristine: h,
|
|
7287
|
-
isValid:
|
|
7300
|
+
isValid: p,
|
|
7288
7301
|
isValidating: b,
|
|
7289
|
-
reset:
|
|
7302
|
+
reset: S,
|
|
7290
7303
|
resetValidation: k,
|
|
7291
7304
|
validate: P,
|
|
7292
7305
|
validationClasses: A
|
|
@@ -7297,10 +7310,10 @@ const Sr = F({
|
|
|
7297
7310
|
isDisabled: g,
|
|
7298
7311
|
isReadonly: m,
|
|
7299
7312
|
isPristine: h,
|
|
7300
|
-
isValid:
|
|
7313
|
+
isValid: p,
|
|
7301
7314
|
isValidating: b,
|
|
7302
7315
|
hasDetails: E,
|
|
7303
|
-
reset:
|
|
7316
|
+
reset: S,
|
|
7304
7317
|
resetValidation: k,
|
|
7305
7318
|
validate: P
|
|
7306
7319
|
})), $ = V(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), _ = V(() => {
|
|
@@ -7316,7 +7329,7 @@ const Sr = F({
|
|
|
7316
7329
|
"v-input--glow": e.glow,
|
|
7317
7330
|
"v-input--hide-spin-buttons": e.hideSpinButtons
|
|
7318
7331
|
}, o.value, r.value, s.value, A.value, e.class]),
|
|
7319
|
-
style:
|
|
7332
|
+
style: ie([i.value, e.style])
|
|
7320
7333
|
}, [R && w("div", {
|
|
7321
7334
|
key: "prepend",
|
|
7322
7335
|
class: "v-input__prepend"
|
|
@@ -7345,10 +7358,10 @@ const Sr = F({
|
|
|
7345
7358
|
message: a.message
|
|
7346
7359
|
}), a.details?.(N.value)])]);
|
|
7347
7360
|
}), {
|
|
7348
|
-
reset:
|
|
7361
|
+
reset: S,
|
|
7349
7362
|
resetValidation: k,
|
|
7350
7363
|
validate: P,
|
|
7351
|
-
isValid:
|
|
7364
|
+
isValid: p,
|
|
7352
7365
|
errorMessages: f
|
|
7353
7366
|
};
|
|
7354
7367
|
}
|
|
@@ -7421,7 +7434,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7421
7434
|
type: [Boolean, String],
|
|
7422
7435
|
validator: (e) => typeof e == "boolean" || ["always", "desktop", "mobile"].includes(e)
|
|
7423
7436
|
},
|
|
7424
|
-
...
|
|
7437
|
+
...re(),
|
|
7425
7438
|
...va({
|
|
7426
7439
|
mobile: null
|
|
7427
7440
|
}),
|
|
@@ -7450,11 +7463,11 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7450
7463
|
} = qt(), {
|
|
7451
7464
|
resizeRef: g,
|
|
7452
7465
|
contentRect: m
|
|
7453
|
-
} = qt(), h = bd(),
|
|
7466
|
+
} = qt(), h = bd(), p = x(() => ({
|
|
7454
7467
|
container: f.el,
|
|
7455
7468
|
duration: 200,
|
|
7456
7469
|
easing: "easeOutQuart"
|
|
7457
|
-
})), b = x(() => i.selected.value.length ? i.items.value.findIndex((L) => L.id === i.selected.value[0]) : -1),
|
|
7470
|
+
})), b = x(() => i.selected.value.length ? i.items.value.findIndex((L) => L.id === i.selected.value[0]) : -1), S = x(() => i.selected.value.length ? i.items.value.findIndex((L) => L.id === i.selected.value[i.selected.value.length - 1]) : -1);
|
|
7458
7471
|
if (Ee) {
|
|
7459
7472
|
let L = -1;
|
|
7460
7473
|
Z(() => [i.selected.value, v.value, m.value, d.value], () => {
|
|
@@ -7464,7 +7477,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7464
7477
|
c.value = v.value[H], u.value = m.value[H], r.value = c.value + 1 < u.value;
|
|
7465
7478
|
}
|
|
7466
7479
|
if (e.scrollToActive && b.value >= 0 && g.el) {
|
|
7467
|
-
const H = g.el.children[
|
|
7480
|
+
const H = g.el.children[S.value];
|
|
7468
7481
|
P(H, e.centerActive);
|
|
7469
7482
|
}
|
|
7470
7483
|
});
|
|
@@ -7496,7 +7509,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7496
7509
|
} = f.el;
|
|
7497
7510
|
L = de - z - L;
|
|
7498
7511
|
}
|
|
7499
|
-
d.value ? h.horizontal(L,
|
|
7512
|
+
d.value ? h.horizontal(L, p.value) : h(L, p.value);
|
|
7500
7513
|
}
|
|
7501
7514
|
}
|
|
7502
7515
|
function T(L) {
|
|
@@ -7604,7 +7617,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7604
7617
|
"v-slide-group--has-affixes": me.value,
|
|
7605
7618
|
"v-slide-group--is-overflowing": r.value
|
|
7606
7619
|
}, l.value, e.class]),
|
|
7607
|
-
style:
|
|
7620
|
+
style: ie(e.style),
|
|
7608
7621
|
tabindex: k.value || i.selected.value.length ? -1 : 0,
|
|
7609
7622
|
onFocus: N
|
|
7610
7623
|
}, {
|
|
@@ -7662,7 +7675,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7662
7675
|
...kr({
|
|
7663
7676
|
scrollToActive: !1
|
|
7664
7677
|
}),
|
|
7665
|
-
...
|
|
7678
|
+
...re(),
|
|
7666
7679
|
...bl({
|
|
7667
7680
|
selectedClass: "v-chip--selected"
|
|
7668
7681
|
}),
|
|
@@ -7761,7 +7774,7 @@ const Rd = F({
|
|
|
7761
7774
|
onClick: Me(),
|
|
7762
7775
|
onClickOnce: Me(),
|
|
7763
7776
|
...$t(),
|
|
7764
|
-
...
|
|
7777
|
+
...re(),
|
|
7765
7778
|
...Ge(),
|
|
7766
7779
|
...Zt(),
|
|
7767
7780
|
...ri(),
|
|
@@ -7807,7 +7820,7 @@ const Rd = F({
|
|
|
7807
7820
|
sizeClasses: u
|
|
7808
7821
|
} = Ln(e), {
|
|
7809
7822
|
themeClasses: d
|
|
7810
|
-
} = je(e), f = ge(e, "modelValue"), v = ja(e, Pr, !1), g = ja(e, xr, !1), m = ca(e, n), h = V(() => e.link !== !1 && m.isLink.value),
|
|
7823
|
+
} = je(e), f = ge(e, "modelValue"), v = ja(e, Pr, !1), g = ja(e, xr, !1), m = ca(e, n), h = V(() => e.link !== !1 && m.isLink.value), p = x(() => !e.disabled && e.link !== !1 && (!!v || e.link || m.isClickable.value)), b = V(() => ({
|
|
7811
7824
|
"aria-label": o(e.closeLabel),
|
|
7812
7825
|
disabled: e.disabled,
|
|
7813
7826
|
onClick(C) {
|
|
@@ -7818,7 +7831,7 @@ const Rd = F({
|
|
|
7818
7831
|
C ? (v?.register(), g?.register()) : (v?.unregister(), g?.unregister());
|
|
7819
7832
|
});
|
|
7820
7833
|
const {
|
|
7821
|
-
colorClasses:
|
|
7834
|
+
colorClasses: S,
|
|
7822
7835
|
colorStyles: k,
|
|
7823
7836
|
variantClasses: P
|
|
7824
7837
|
} = Nn(() => ({
|
|
@@ -7826,7 +7839,7 @@ const Rd = F({
|
|
|
7826
7839
|
variant: e.variant
|
|
7827
7840
|
}));
|
|
7828
7841
|
function A(C) {
|
|
7829
|
-
a("click", C),
|
|
7842
|
+
a("click", C), p.value && (m.navigate?.(C), v?.toggle());
|
|
7830
7843
|
}
|
|
7831
7844
|
function T(C) {
|
|
7832
7845
|
(C.key === "Enter" || C.key === " ") && (C.preventDefault(), A(C));
|
|
@@ -7837,19 +7850,19 @@ const Rd = F({
|
|
|
7837
7850
|
class: ["v-chip", {
|
|
7838
7851
|
"v-chip--disabled": e.disabled,
|
|
7839
7852
|
"v-chip--label": e.label,
|
|
7840
|
-
"v-chip--link":
|
|
7853
|
+
"v-chip--link": p.value,
|
|
7841
7854
|
"v-chip--filter": $,
|
|
7842
7855
|
"v-chip--pill": e.pill,
|
|
7843
7856
|
[`${e.activeClass}`]: e.activeClass && m.isActive?.value
|
|
7844
|
-
}, d.value, i.value,
|
|
7857
|
+
}, d.value, i.value, S.value, r.value, s.value, c.value, u.value, P.value, v?.selectedClass.value, e.class],
|
|
7845
7858
|
style: [k.value, e.style],
|
|
7846
7859
|
disabled: e.disabled || void 0,
|
|
7847
7860
|
draggable: e.draggable,
|
|
7848
|
-
tabindex:
|
|
7861
|
+
tabindex: p.value ? 0 : void 0,
|
|
7849
7862
|
onClick: A,
|
|
7850
|
-
onKeydown:
|
|
7863
|
+
onKeydown: p.value && !h.value && T
|
|
7851
7864
|
}), {
|
|
7852
|
-
default: () => [$n(
|
|
7865
|
+
default: () => [$n(p.value, "v-chip"), $ && y(Ui, {
|
|
7853
7866
|
key: "filter"
|
|
7854
7867
|
}, {
|
|
7855
7868
|
default: () => [He(w("div", {
|
|
@@ -7882,7 +7895,7 @@ const Rd = F({
|
|
|
7882
7895
|
start: !0
|
|
7883
7896
|
}
|
|
7884
7897
|
}
|
|
7885
|
-
}, l.prepend) : w(
|
|
7898
|
+
}, l.prepend) : w(se, null, [e.prependIcon && y(ce, {
|
|
7886
7899
|
key: "prepend-icon",
|
|
7887
7900
|
icon: e.prependIcon,
|
|
7888
7901
|
start: !0
|
|
@@ -7916,7 +7929,7 @@ const Rd = F({
|
|
|
7916
7929
|
icon: e.appendIcon
|
|
7917
7930
|
}
|
|
7918
7931
|
}
|
|
7919
|
-
}, l.append) : w(
|
|
7932
|
+
}, l.append) : w(se, null, [e.appendIcon && y(ce, {
|
|
7920
7933
|
key: "append-icon",
|
|
7921
7934
|
end: !0,
|
|
7922
7935
|
icon: e.appendIcon
|
|
@@ -7942,7 +7955,7 @@ const Rd = F({
|
|
|
7942
7955
|
icon: e.closeIcon,
|
|
7943
7956
|
size: "x-small"
|
|
7944
7957
|
}, null)])]
|
|
7945
|
-
}), [[wt,
|
|
7958
|
+
}), [[wt, p.value && e.ripple, null]]);
|
|
7946
7959
|
};
|
|
7947
7960
|
}
|
|
7948
7961
|
}), Md = F({
|
|
@@ -7953,7 +7966,7 @@ const Rd = F({
|
|
|
7953
7966
|
type: [Number, String],
|
|
7954
7967
|
default: 0
|
|
7955
7968
|
},
|
|
7956
|
-
...
|
|
7969
|
+
...re(),
|
|
7957
7970
|
...On({
|
|
7958
7971
|
transition: {
|
|
7959
7972
|
component: Gi
|
|
@@ -7975,7 +7988,7 @@ const Rd = F({
|
|
|
7975
7988
|
class: X(["v-counter", {
|
|
7976
7989
|
"text-error": e.max && !e.disabled && parseFloat(e.value) > parseFloat(e.max)
|
|
7977
7990
|
}, e.class]),
|
|
7978
|
-
style:
|
|
7991
|
+
style: ie(e.style)
|
|
7979
7992
|
}, [n.default ? n.default({
|
|
7980
7993
|
counter: a.value,
|
|
7981
7994
|
max: e.max,
|
|
@@ -7985,7 +7998,7 @@ const Rd = F({
|
|
|
7985
7998
|
}
|
|
7986
7999
|
}), Hd = F({
|
|
7987
8000
|
floating: Boolean,
|
|
7988
|
-
...
|
|
8001
|
+
...re()
|
|
7989
8002
|
}, "VFieldLabel"), jn = K()({
|
|
7990
8003
|
name: "VFieldLabel",
|
|
7991
8004
|
props: Hd(),
|
|
@@ -7997,7 +8010,7 @@ const Rd = F({
|
|
|
7997
8010
|
class: X(["v-field-label", {
|
|
7998
8011
|
"v-field-label--floating": e.floating
|
|
7999
8012
|
}, e.class]),
|
|
8000
|
-
style:
|
|
8013
|
+
style: ie(e.style)
|
|
8001
8014
|
}, n)), {};
|
|
8002
8015
|
}
|
|
8003
8016
|
}), zd = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Vr = F({
|
|
@@ -8037,7 +8050,7 @@ const Rd = F({
|
|
|
8037
8050
|
"onClick:clear": Me(),
|
|
8038
8051
|
"onClick:appendInner": Me(),
|
|
8039
8052
|
"onClick:prependInner": Me(),
|
|
8040
|
-
...
|
|
8053
|
+
...re(),
|
|
8041
8054
|
...sa(),
|
|
8042
8055
|
...ot(),
|
|
8043
8056
|
...Fe()
|
|
@@ -8075,7 +8088,7 @@ const Rd = F({
|
|
|
8075
8088
|
roundedClasses: f
|
|
8076
8089
|
} = mt(e), {
|
|
8077
8090
|
rtlClasses: v
|
|
8078
|
-
} = kt(), g = V(() => e.dirty || e.active), m = V(() => !!(e.label || l.label)), h = V(() => !e.singleLine && m.value),
|
|
8091
|
+
} = kt(), g = V(() => e.dirty || e.active), m = V(() => !!(e.label || l.label)), h = V(() => !e.singleLine && m.value), p = dt(), b = x(() => e.id || `input-${p}`), S = V(() => e.details ? `${b.value}-messages` : void 0), k = j(), P = j(), A = j(), T = x(() => ["plain", "underlined"].includes(e.variant)), C = x(() => e.error || e.disabled ? void 0 : g.value && s.value ? e.color : e.baseColor), E = x(() => {
|
|
8079
8092
|
if (!(!e.iconColor || e.glow && !s.value))
|
|
8080
8093
|
return e.iconColor === !0 ? C.value : e.iconColor;
|
|
8081
8094
|
}), {
|
|
@@ -8091,10 +8104,10 @@ const Rd = F({
|
|
|
8091
8104
|
requestAnimationFrame(() => {
|
|
8092
8105
|
const me = vl(ee), M = ae.getBoundingClientRect(), J = M.x - me.x, L = M.y - me.y - (me.height / 2 - M.height / 2), H = M.width / 0.75, B = Math.abs(H - me.width) > 1 ? {
|
|
8093
8106
|
maxWidth: U(H)
|
|
8094
|
-
} : void 0, oe = getComputedStyle(ee), de = getComputedStyle(ae), z = parseFloat(oe.transitionDuration) * 1e3 || 150, ve = parseFloat(de.getPropertyValue("--v-field-label-scale")),
|
|
8107
|
+
} : void 0, oe = getComputedStyle(ee), de = getComputedStyle(ae), z = parseFloat(oe.transitionDuration) * 1e3 || 150, ve = parseFloat(de.getPropertyValue("--v-field-label-scale")), ue = de.getPropertyValue("color");
|
|
8095
8108
|
ee.style.visibility = "visible", ae.style.visibility = "hidden", Pt(ee, {
|
|
8096
8109
|
transform: `translate(${J}px, ${L}px) scale(${ve})`,
|
|
8097
|
-
color:
|
|
8110
|
+
color: ue,
|
|
8098
8111
|
...B
|
|
8099
8112
|
}, {
|
|
8100
8113
|
duration: z,
|
|
@@ -8171,7 +8184,7 @@ const Rd = F({
|
|
|
8171
8184
|
floating: !0,
|
|
8172
8185
|
for: b.value,
|
|
8173
8186
|
"aria-hidden": !g.value,
|
|
8174
|
-
style:
|
|
8187
|
+
style: ie(_.value)
|
|
8175
8188
|
}, {
|
|
8176
8189
|
default: () => [M()]
|
|
8177
8190
|
}), m.value && y(jn, {
|
|
@@ -8185,14 +8198,14 @@ const Rd = F({
|
|
|
8185
8198
|
props: {
|
|
8186
8199
|
id: b.value,
|
|
8187
8200
|
class: "v-field__input",
|
|
8188
|
-
"aria-describedby":
|
|
8201
|
+
"aria-describedby": S.value
|
|
8189
8202
|
},
|
|
8190
8203
|
focus: c,
|
|
8191
8204
|
blur: u
|
|
8192
8205
|
}) ?? w("div", {
|
|
8193
8206
|
id: b.value,
|
|
8194
8207
|
class: "v-field__input",
|
|
8195
|
-
"aria-describedby":
|
|
8208
|
+
"aria-describedby": S.value
|
|
8196
8209
|
}, null)]), ae && y(Ui, {
|
|
8197
8210
|
key: "clear"
|
|
8198
8211
|
}, {
|
|
@@ -8232,8 +8245,8 @@ const Rd = F({
|
|
|
8232
8245
|
color: E.value
|
|
8233
8246
|
}, null)]), w("div", {
|
|
8234
8247
|
class: X(["v-field__outline", $.value]),
|
|
8235
|
-
style:
|
|
8236
|
-
}, [Y && w(
|
|
8248
|
+
style: ie(_.value)
|
|
8249
|
+
}, [Y && w(se, null, [w("div", {
|
|
8237
8250
|
class: "v-field__outline__start"
|
|
8238
8251
|
}, null), h.value && w("div", {
|
|
8239
8252
|
class: "v-field__outline__notch"
|
|
@@ -8329,13 +8342,13 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8329
8342
|
if (n.maxlength) return n.maxlength;
|
|
8330
8343
|
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
|
8331
8344
|
return e.counter;
|
|
8332
|
-
}), f = x(() => ["plain", "underlined"].includes(e.variant)), v = j(), g = j(), m = j(), h = Ir(e),
|
|
8345
|
+
}), f = x(() => ["plain", "underlined"].includes(e.variant)), v = j(), g = j(), m = j(), h = Ir(e), p = x(() => qd.includes(e.type) || e.persistentPlaceholder || i.value || e.active);
|
|
8333
8346
|
function b() {
|
|
8334
8347
|
h.isSuppressing.value && h.update(), i.value || r(), Se(() => {
|
|
8335
8348
|
m.value !== document.activeElement && m.value?.focus();
|
|
8336
8349
|
});
|
|
8337
8350
|
}
|
|
8338
|
-
function
|
|
8351
|
+
function S(T) {
|
|
8339
8352
|
a("mousedown:control", T), T.target !== m.value && (b(), T.preventDefault());
|
|
8340
8353
|
}
|
|
8341
8354
|
function k(T) {
|
|
@@ -8390,13 +8403,13 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8390
8403
|
} = R;
|
|
8391
8404
|
return y(Fo, W({
|
|
8392
8405
|
ref: g,
|
|
8393
|
-
onMousedown:
|
|
8406
|
+
onMousedown: S,
|
|
8394
8407
|
onClick: k,
|
|
8395
8408
|
"onClick:clear": (L) => P(L, J),
|
|
8396
8409
|
role: e.role
|
|
8397
8410
|
}, tt(_, ["onClick:clear"]), {
|
|
8398
8411
|
id: G.value,
|
|
8399
|
-
active:
|
|
8412
|
+
active: p.value || ee.value,
|
|
8400
8413
|
dirty: ee.value || e.dirty,
|
|
8401
8414
|
disabled: Y.value,
|
|
8402
8415
|
focused: i.value,
|
|
@@ -8432,7 +8445,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8432
8445
|
}, null, {
|
|
8433
8446
|
once: !0
|
|
8434
8447
|
}]]);
|
|
8435
|
-
return w(
|
|
8448
|
+
return w(se, null, [e.prefix && w("span", {
|
|
8436
8449
|
class: "v-text-field__prefix"
|
|
8437
8450
|
}, [w("span", {
|
|
8438
8451
|
class: "v-text-field__prefix__text"
|
|
@@ -8449,7 +8462,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8449
8462
|
}
|
|
8450
8463
|
});
|
|
8451
8464
|
},
|
|
8452
|
-
details: C ? (R) => w(
|
|
8465
|
+
details: C ? (R) => w(se, null, [l.details?.(R), T && w(se, null, [w("span", null, null), y(_d, {
|
|
8453
8466
|
active: e.persistentCounter || i.value,
|
|
8454
8467
|
value: u.value,
|
|
8455
8468
|
max: d.value,
|
|
@@ -8460,7 +8473,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8460
8473
|
}
|
|
8461
8474
|
}), Gd = F({
|
|
8462
8475
|
renderless: Boolean,
|
|
8463
|
-
...
|
|
8476
|
+
...re()
|
|
8464
8477
|
}, "VVirtualScrollItem"), Ud = K()({
|
|
8465
8478
|
name: "VVirtualScrollItem",
|
|
8466
8479
|
inheritAttrs: !1,
|
|
@@ -8480,7 +8493,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8480
8493
|
} = qt(void 0, "border");
|
|
8481
8494
|
Z(() => i.value?.height, (r) => {
|
|
8482
8495
|
r != null && a("update:height", r);
|
|
8483
|
-
}), te(() => e.renderless ? w(
|
|
8496
|
+
}), te(() => e.renderless ? w(se, null, [l.default?.({
|
|
8484
8497
|
itemRef: o
|
|
8485
8498
|
})]) : w("div", W({
|
|
8486
8499
|
ref: o,
|
|
@@ -8525,9 +8538,9 @@ function Zd(e, t) {
|
|
|
8525
8538
|
}), h = Array.from({
|
|
8526
8539
|
length: t.value.length
|
|
8527
8540
|
});
|
|
8528
|
-
const
|
|
8541
|
+
const p = Q(0);
|
|
8529
8542
|
let b = -1;
|
|
8530
|
-
function
|
|
8543
|
+
function S(M) {
|
|
8531
8544
|
return m[M] || a.value;
|
|
8532
8545
|
}
|
|
8533
8546
|
const k = _s(() => {
|
|
@@ -8535,9 +8548,9 @@ function Zd(e, t) {
|
|
|
8535
8548
|
h[0] = 0;
|
|
8536
8549
|
const J = t.value.length;
|
|
8537
8550
|
for (let L = 1; L <= J; L++)
|
|
8538
|
-
h[L] = (h[L - 1] || 0) +
|
|
8539
|
-
|
|
8540
|
-
},
|
|
8551
|
+
h[L] = (h[L - 1] || 0) + S(L - 1);
|
|
8552
|
+
p.value = Math.max(p.value, performance.now() - M);
|
|
8553
|
+
}, p), P = Z(g, (M) => {
|
|
8541
8554
|
M && (P(), u = c.value.offsetTop, k.immediate(), Y(), ~b && Se(() => {
|
|
8542
8555
|
Ee && window.requestAnimationFrame(() => {
|
|
8543
8556
|
ae(b), b = -1;
|
|
@@ -8643,7 +8656,7 @@ const Jd = F({
|
|
|
8643
8656
|
},
|
|
8644
8657
|
renderless: Boolean,
|
|
8645
8658
|
...Yd(),
|
|
8646
|
-
...
|
|
8659
|
+
...re(),
|
|
8647
8660
|
...Nt()
|
|
8648
8661
|
}, "VVirtualScroll"), ef = K()({
|
|
8649
8662
|
name: "VVirtualScroll",
|
|
@@ -8668,12 +8681,12 @@ const Jd = F({
|
|
|
8668
8681
|
} = Zd(e, V(() => e.items));
|
|
8669
8682
|
return Et(() => e.renderless, () => {
|
|
8670
8683
|
function m() {
|
|
8671
|
-
const
|
|
8672
|
-
i.value === document.documentElement ? (document[
|
|
8684
|
+
const p = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
|
|
8685
|
+
i.value === document.documentElement ? (document[p]("scroll", s, {
|
|
8673
8686
|
passive: !0
|
|
8674
|
-
}), document[
|
|
8687
|
+
}), document[p]("scrollend", c)) : (i.value?.[p]("scroll", s, {
|
|
8675
8688
|
passive: !0
|
|
8676
|
-
}), i.value?.[
|
|
8689
|
+
}), i.value?.[p]("scrollend", c));
|
|
8677
8690
|
}
|
|
8678
8691
|
Bt(() => {
|
|
8679
8692
|
i.value = oi(a.vnode.el, !0), m(!0);
|
|
@@ -8682,15 +8695,15 @@ const Jd = F({
|
|
|
8682
8695
|
const m = g.value.map((h) => y(Ud, {
|
|
8683
8696
|
key: h.key,
|
|
8684
8697
|
renderless: e.renderless,
|
|
8685
|
-
"onUpdate:height": (
|
|
8698
|
+
"onUpdate:height": (p) => u(h.index, p)
|
|
8686
8699
|
}, {
|
|
8687
|
-
default: (
|
|
8700
|
+
default: (p) => n.default?.({
|
|
8688
8701
|
item: h.raw,
|
|
8689
8702
|
index: h.index,
|
|
8690
|
-
...
|
|
8703
|
+
...p
|
|
8691
8704
|
})
|
|
8692
8705
|
}));
|
|
8693
|
-
return e.renderless ? w(
|
|
8706
|
+
return e.renderless ? w(se, null, [w("div", {
|
|
8694
8707
|
ref: r,
|
|
8695
8708
|
class: "v-virtual-scroll__spacer",
|
|
8696
8709
|
style: {
|
|
@@ -8706,7 +8719,7 @@ const Jd = F({
|
|
|
8706
8719
|
class: X(["v-virtual-scroll", e.class]),
|
|
8707
8720
|
onScrollPassive: s,
|
|
8708
8721
|
onScrollend: c,
|
|
8709
|
-
style:
|
|
8722
|
+
style: ie([l.value, e.style])
|
|
8710
8723
|
}, [w("div", {
|
|
8711
8724
|
ref: r,
|
|
8712
8725
|
class: "v-virtual-scroll__container",
|
|
@@ -8853,8 +8866,8 @@ const lf = F({
|
|
|
8853
8866
|
const oe = c(B);
|
|
8854
8867
|
return e.multiple ? oe : oe[0] ?? null;
|
|
8855
8868
|
}), d = x(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : typeof e.counterValue == "number" ? e.counterValue : u.value.length), f = pr(e), v = Ir(e), g = x(() => u.value.map((B) => B.value)), m = Q(!1);
|
|
8856
|
-
let h = "",
|
|
8857
|
-
const
|
|
8869
|
+
let h = "", p = -1, b;
|
|
8870
|
+
const S = x(() => e.hideSelected ? r.value.filter((B) => !u.value.some((oe) => (e.valueComparator || Ke)(oe, B))) : r.value), k = x(() => e.hideNoData && !S.value.length || f.isReadonly.value || f.isDisabled.value), P = ge(e, "menu"), A = x({
|
|
8858
8871
|
get: () => P.value,
|
|
8859
8872
|
set: (B) => {
|
|
8860
8873
|
P.value && !B && o.value?.ΨopenChildren.size || B && k.value || (P.value = B);
|
|
@@ -8887,14 +8900,14 @@ const lf = F({
|
|
|
8887
8900
|
const oe = 1e3;
|
|
8888
8901
|
if (!jl(B)) return;
|
|
8889
8902
|
const de = performance.now();
|
|
8890
|
-
de - b > oe && (h = "",
|
|
8891
|
-
const z =
|
|
8903
|
+
de - b > oe && (h = "", p = -1), h += B.key.toLowerCase(), b = de;
|
|
8904
|
+
const z = S.value;
|
|
8892
8905
|
function ve() {
|
|
8893
|
-
let be =
|
|
8894
|
-
return be || h.at(-1) === h.at(-2) && (h = h.slice(0, -1), be =
|
|
8906
|
+
let be = ue();
|
|
8907
|
+
return be || h.at(-1) === h.at(-2) && (h = h.slice(0, -1), be = ue(), be) || (p = -1, be = ue(), be) ? be : (h = B.key.toLowerCase(), ue());
|
|
8895
8908
|
}
|
|
8896
|
-
function
|
|
8897
|
-
for (let be =
|
|
8909
|
+
function ue() {
|
|
8910
|
+
for (let be = p + 1; be < z.length; be++) {
|
|
8898
8911
|
const gt = z[be];
|
|
8899
8912
|
if (gt.title.toLowerCase().startsWith(h))
|
|
8900
8913
|
return [gt, be];
|
|
@@ -8903,7 +8916,7 @@ const lf = F({
|
|
|
8903
8916
|
const ye = ve();
|
|
8904
8917
|
if (!ye) return;
|
|
8905
8918
|
const [De, it] = ye;
|
|
8906
|
-
|
|
8919
|
+
p = it, $.value?.focus(it), e.multiple || (u.value = [De]);
|
|
8907
8920
|
}
|
|
8908
8921
|
function ae(B) {
|
|
8909
8922
|
let oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
@@ -8942,7 +8955,7 @@ const lf = F({
|
|
|
8942
8955
|
}
|
|
8943
8956
|
return Z(A, () => {
|
|
8944
8957
|
if (!e.hideSelected && A.value && u.value.length) {
|
|
8945
|
-
const B =
|
|
8958
|
+
const B = S.value.findIndex((oe) => u.value.some((de) => (e.valueComparator || Ke)(de.value, oe.value)));
|
|
8946
8959
|
Ee && !e.noAutoScroll && window.requestAnimationFrame(() => {
|
|
8947
8960
|
B >= 0 && i.value?.scrollToIndex(B);
|
|
8948
8961
|
});
|
|
@@ -8950,15 +8963,15 @@ const lf = F({
|
|
|
8950
8963
|
}), Z(r, (B, oe) => {
|
|
8951
8964
|
A.value || m.value && e.hideNoData && !oe.length && B.length && (A.value = !0);
|
|
8952
8965
|
}), te(() => {
|
|
8953
|
-
const B = !!(e.chips || n.chip), oe = !!(!e.hideNoData ||
|
|
8966
|
+
const B = !!(e.chips || n.chip), oe = !!(!e.hideNoData || S.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), de = u.value.length > 0, z = An.filterProps(e), ve = de || !m.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
|
|
8954
8967
|
return y(An, W({
|
|
8955
8968
|
ref: l
|
|
8956
8969
|
}, z, {
|
|
8957
|
-
modelValue: u.value.map((
|
|
8970
|
+
modelValue: u.value.map((ue) => ue.props.title).join(", "),
|
|
8958
8971
|
name: void 0,
|
|
8959
8972
|
"onUpdate:modelValue": H,
|
|
8960
8973
|
focused: m.value,
|
|
8961
|
-
"onUpdate:focused": (
|
|
8974
|
+
"onUpdate:focused": (ue) => m.value = ue,
|
|
8962
8975
|
validationValue: u.externalValue,
|
|
8963
8976
|
counterValue: d.value,
|
|
8964
8977
|
dirty: de,
|
|
@@ -8982,19 +8995,19 @@ const lf = F({
|
|
|
8982
8995
|
title: I.value
|
|
8983
8996
|
}), {
|
|
8984
8997
|
...n,
|
|
8985
|
-
default: () => w(
|
|
8998
|
+
default: () => w(se, null, [w("select", {
|
|
8986
8999
|
hidden: !0,
|
|
8987
9000
|
multiple: e.multiple,
|
|
8988
9001
|
name: v.fieldName.value
|
|
8989
|
-
}, [r.value.map((
|
|
8990
|
-
key:
|
|
8991
|
-
value:
|
|
8992
|
-
selected: g.value.includes(
|
|
9002
|
+
}, [r.value.map((ue) => w("option", {
|
|
9003
|
+
key: ue.value,
|
|
9004
|
+
value: ue.value,
|
|
9005
|
+
selected: g.value.includes(ue.value)
|
|
8993
9006
|
}, null))]), y(ya, W({
|
|
8994
9007
|
id: T.value,
|
|
8995
9008
|
ref: o,
|
|
8996
9009
|
modelValue: A.value,
|
|
8997
|
-
"onUpdate:modelValue": (
|
|
9010
|
+
"onUpdate:modelValue": (ue) => A.value = ue,
|
|
8998
9011
|
activator: "parent",
|
|
8999
9012
|
contentClass: "v-select__content",
|
|
9000
9013
|
disabled: k.value,
|
|
@@ -9010,7 +9023,7 @@ const lf = F({
|
|
|
9010
9023
|
ref: $,
|
|
9011
9024
|
selected: g.value,
|
|
9012
9025
|
selectStrategy: e.multiple ? "independent" : "single-independent",
|
|
9013
|
-
onMousedown: (
|
|
9026
|
+
onMousedown: (ue) => ue.preventDefault(),
|
|
9014
9027
|
onKeydown: Y,
|
|
9015
9028
|
onFocusin: L,
|
|
9016
9029
|
tabindex: "-1",
|
|
@@ -9019,21 +9032,21 @@ const lf = F({
|
|
|
9019
9032
|
"aria-label": `${e.label}-list`,
|
|
9020
9033
|
color: e.itemColor ?? e.color
|
|
9021
9034
|
}, _, e.listProps), {
|
|
9022
|
-
default: () => [n["prepend-item"]?.(), !
|
|
9035
|
+
default: () => [n["prepend-item"]?.(), !S.value.length && !e.hideNoData && (n["no-data"]?.() ?? y(st, {
|
|
9023
9036
|
key: "no-data",
|
|
9024
9037
|
title: a(e.noDataText)
|
|
9025
9038
|
}, null)), y(ef, {
|
|
9026
9039
|
ref: i,
|
|
9027
9040
|
renderless: !0,
|
|
9028
|
-
items:
|
|
9041
|
+
items: S.value,
|
|
9029
9042
|
itemKey: "value"
|
|
9030
9043
|
}, {
|
|
9031
|
-
default: (
|
|
9044
|
+
default: (ue) => {
|
|
9032
9045
|
let {
|
|
9033
9046
|
item: ye,
|
|
9034
9047
|
index: De,
|
|
9035
9048
|
itemRef: it
|
|
9036
|
-
} =
|
|
9049
|
+
} = ue;
|
|
9037
9050
|
const be = qs(ye.props), gt = W(ye.props, {
|
|
9038
9051
|
ref: it,
|
|
9039
9052
|
key: ye.value,
|
|
@@ -9060,7 +9073,7 @@ const lf = F({
|
|
|
9060
9073
|
let {
|
|
9061
9074
|
isSelected: hs
|
|
9062
9075
|
} = Xe;
|
|
9063
|
-
return w(
|
|
9076
|
+
return w(se, null, [e.multiple && !e.hideSelected ? y(In, {
|
|
9064
9077
|
key: ye.value,
|
|
9065
9078
|
modelValue: hs,
|
|
9066
9079
|
ripple: !1,
|
|
@@ -9076,11 +9089,11 @@ const lf = F({
|
|
|
9076
9089
|
}
|
|
9077
9090
|
}), n["append-item"]?.()]
|
|
9078
9091
|
})]
|
|
9079
|
-
}), u.value.map((
|
|
9092
|
+
}), u.value.map((ue, ye) => {
|
|
9080
9093
|
function De(Xe) {
|
|
9081
|
-
Xe.stopPropagation(), Xe.preventDefault(), ae(
|
|
9094
|
+
Xe.stopPropagation(), Xe.preventDefault(), ae(ue, !1);
|
|
9082
9095
|
}
|
|
9083
|
-
const it = W(Ja.filterProps(
|
|
9096
|
+
const it = W(Ja.filterProps(ue.props), {
|
|
9084
9097
|
"onClick:close": De,
|
|
9085
9098
|
onKeydown(Xe) {
|
|
9086
9099
|
Xe.key !== "Enter" && Xe.key !== " " || (Xe.preventDefault(), Xe.stopPropagation(), De(Xe));
|
|
@@ -9091,16 +9104,16 @@ const lf = F({
|
|
|
9091
9104
|
modelValue: !0,
|
|
9092
9105
|
"onUpdate:modelValue": void 0
|
|
9093
9106
|
}), be = B ? !!n.chip : !!n.selection, gt = be ? ei(B ? n.chip({
|
|
9094
|
-
item:
|
|
9107
|
+
item: ue,
|
|
9095
9108
|
index: ye,
|
|
9096
9109
|
props: it
|
|
9097
9110
|
}) : n.selection({
|
|
9098
|
-
item:
|
|
9111
|
+
item: ue,
|
|
9099
9112
|
index: ye
|
|
9100
9113
|
})) : void 0;
|
|
9101
9114
|
if (!(be && !gt))
|
|
9102
9115
|
return w("div", {
|
|
9103
|
-
key:
|
|
9116
|
+
key: ue.value,
|
|
9104
9117
|
class: "v-select__selection"
|
|
9105
9118
|
}, [B ? n.chip ? y(Be, {
|
|
9106
9119
|
key: "chip-defaults",
|
|
@@ -9108,7 +9121,7 @@ const lf = F({
|
|
|
9108
9121
|
VChip: {
|
|
9109
9122
|
closable: e.closableChips,
|
|
9110
9123
|
size: "small",
|
|
9111
|
-
text:
|
|
9124
|
+
text: ue.title
|
|
9112
9125
|
}
|
|
9113
9126
|
}
|
|
9114
9127
|
}, {
|
|
@@ -9117,18 +9130,18 @@ const lf = F({
|
|
|
9117
9130
|
key: "chip",
|
|
9118
9131
|
closable: e.closableChips,
|
|
9119
9132
|
size: "small",
|
|
9120
|
-
text:
|
|
9121
|
-
disabled:
|
|
9133
|
+
text: ue.title,
|
|
9134
|
+
disabled: ue.props.disabled
|
|
9122
9135
|
}, it), null) : gt ?? w("span", {
|
|
9123
9136
|
class: "v-select__selection-text"
|
|
9124
|
-
}, [
|
|
9137
|
+
}, [ue.title, e.multiple && ye < u.value.length - 1 && w("span", {
|
|
9125
9138
|
class: "v-select__selection-comma"
|
|
9126
9139
|
}, [$e(",")])])]);
|
|
9127
9140
|
})]),
|
|
9128
9141
|
"append-inner": function() {
|
|
9129
|
-
for (var
|
|
9142
|
+
for (var ue = arguments.length, ye = new Array(ue), De = 0; De < ue; De++)
|
|
9130
9143
|
ye[De] = arguments[De];
|
|
9131
|
-
return w(
|
|
9144
|
+
return w(se, null, [n["append-inner"]?.(...ye), e.menuIcon ? y(ce, {
|
|
9132
9145
|
class: "v-select__menu-icon",
|
|
9133
9146
|
color: l.value?.fieldIconColor,
|
|
9134
9147
|
icon: e.menuIcon
|
|
@@ -9170,7 +9183,7 @@ const lf = F({
|
|
|
9170
9183
|
const a = (l) => {
|
|
9171
9184
|
kc(l, t.data ?? [], t.headers);
|
|
9172
9185
|
};
|
|
9173
|
-
return (l, o) => (q(), Pe(
|
|
9186
|
+
return (l, o) => (q(), Pe(se, null, [
|
|
9174
9187
|
y(Rn),
|
|
9175
9188
|
y(un, {
|
|
9176
9189
|
class: "px-6 py-2",
|
|
@@ -9334,11 +9347,11 @@ function ff(e, t, n) {
|
|
|
9334
9347
|
};
|
|
9335
9348
|
continue;
|
|
9336
9349
|
}
|
|
9337
|
-
const
|
|
9338
|
-
g =
|
|
9339
|
-
for (const b of
|
|
9340
|
-
const
|
|
9341
|
-
if (v = k ? k(
|
|
9350
|
+
const p = o || Object.keys(u);
|
|
9351
|
+
g = p.length === i;
|
|
9352
|
+
for (const b of p) {
|
|
9353
|
+
const S = _e(u, b), k = n?.customKeyFilter?.[b];
|
|
9354
|
+
if (v = k ? k(S, t, c) : l(S, t, c), v !== -1 && v !== !1)
|
|
9342
9355
|
k ? d[b] = La(v, t) : f[b] = La(v, t);
|
|
9343
9356
|
else if (n?.filterMode === "every")
|
|
9344
9357
|
continue e;
|
|
@@ -9376,8 +9389,8 @@ function vf(e, t, n, a) {
|
|
|
9376
9389
|
index: m,
|
|
9377
9390
|
matches: h
|
|
9378
9391
|
} = g;
|
|
9379
|
-
const
|
|
9380
|
-
f.push(
|
|
9392
|
+
const p = d[m];
|
|
9393
|
+
f.push(p), v.set(p.value, h);
|
|
9381
9394
|
}), l.value = f, o.value = v;
|
|
9382
9395
|
});
|
|
9383
9396
|
function r(s) {
|
|
@@ -9471,7 +9484,7 @@ const mf = F({
|
|
|
9471
9484
|
}), yn({}, i);
|
|
9472
9485
|
}
|
|
9473
9486
|
}), gf = F({
|
|
9474
|
-
...
|
|
9487
|
+
...re(),
|
|
9475
9488
|
...ke()
|
|
9476
9489
|
}, "VCardActions"), yf = K()({
|
|
9477
9490
|
name: "VCardActions",
|
|
@@ -9487,12 +9500,12 @@ const mf = F({
|
|
|
9487
9500
|
}
|
|
9488
9501
|
}), te(() => y(e.tag, {
|
|
9489
9502
|
class: X(["v-card-actions", e.class]),
|
|
9490
|
-
style:
|
|
9503
|
+
style: ie(e.style)
|
|
9491
9504
|
}, n)), {};
|
|
9492
9505
|
}
|
|
9493
9506
|
}), hf = F({
|
|
9494
9507
|
opacity: [Number, String],
|
|
9495
|
-
...
|
|
9508
|
+
...re(),
|
|
9496
9509
|
...ke()
|
|
9497
9510
|
}, "VCardSubtitle"), bf = K()({
|
|
9498
9511
|
name: "VCardSubtitle",
|
|
@@ -9503,7 +9516,7 @@ const mf = F({
|
|
|
9503
9516
|
} = t;
|
|
9504
9517
|
return te(() => y(e.tag, {
|
|
9505
9518
|
class: X(["v-card-subtitle", e.class]),
|
|
9506
|
-
style:
|
|
9519
|
+
style: ie([{
|
|
9507
9520
|
"--v-card-subtitle-opacity": e.opacity
|
|
9508
9521
|
}, e.style])
|
|
9509
9522
|
}, n)), {};
|
|
@@ -9521,7 +9534,7 @@ const mf = F({
|
|
|
9521
9534
|
type: [String, Number, Boolean],
|
|
9522
9535
|
default: void 0
|
|
9523
9536
|
},
|
|
9524
|
-
...
|
|
9537
|
+
...re(),
|
|
9525
9538
|
...Ge(),
|
|
9526
9539
|
...ke()
|
|
9527
9540
|
}, "VCardItem"), Sf = K()({
|
|
@@ -9535,7 +9548,7 @@ const mf = F({
|
|
|
9535
9548
|
const a = !!(e.prependAvatar || e.prependIcon), l = !!(a || n.prepend), o = !!(e.appendAvatar || e.appendIcon), i = !!(o || n.append), r = !!(e.title != null || n.title), s = !!(e.subtitle != null || n.subtitle);
|
|
9536
9549
|
return y(e.tag, {
|
|
9537
9550
|
class: X(["v-card-item", e.class]),
|
|
9538
|
-
style:
|
|
9551
|
+
style: ie(e.style)
|
|
9539
9552
|
}, {
|
|
9540
9553
|
default: () => [l && w("div", {
|
|
9541
9554
|
key: "prepend",
|
|
@@ -9553,7 +9566,7 @@ const mf = F({
|
|
|
9553
9566
|
icon: e.prependIcon
|
|
9554
9567
|
}
|
|
9555
9568
|
}
|
|
9556
|
-
}, n.prepend) : w(
|
|
9569
|
+
}, n.prepend) : w(se, null, [e.prependAvatar && y(Gt, {
|
|
9557
9570
|
key: "prepend-avatar",
|
|
9558
9571
|
density: e.density,
|
|
9559
9572
|
image: e.prependAvatar
|
|
@@ -9587,7 +9600,7 @@ const mf = F({
|
|
|
9587
9600
|
icon: e.appendIcon
|
|
9588
9601
|
}
|
|
9589
9602
|
}
|
|
9590
|
-
}, n.append) : w(
|
|
9603
|
+
}, n.append) : w(se, null, [e.appendIcon && y(ce, {
|
|
9591
9604
|
key: "append-icon",
|
|
9592
9605
|
density: e.density,
|
|
9593
9606
|
icon: e.appendIcon
|
|
@@ -9601,7 +9614,7 @@ const mf = F({
|
|
|
9601
9614
|
}
|
|
9602
9615
|
}), wf = F({
|
|
9603
9616
|
opacity: [Number, String],
|
|
9604
|
-
...
|
|
9617
|
+
...re(),
|
|
9605
9618
|
...ke()
|
|
9606
9619
|
}, "VCardText"), En = K()({
|
|
9607
9620
|
name: "VCardText",
|
|
@@ -9612,7 +9625,7 @@ const mf = F({
|
|
|
9612
9625
|
} = t;
|
|
9613
9626
|
return te(() => y(e.tag, {
|
|
9614
9627
|
class: X(["v-card-text", e.class]),
|
|
9615
|
-
style:
|
|
9628
|
+
style: ie([{
|
|
9616
9629
|
"--v-card-text-opacity": e.opacity
|
|
9617
9630
|
}, e.style])
|
|
9618
9631
|
}, n)), {};
|
|
@@ -9647,7 +9660,7 @@ const mf = F({
|
|
|
9647
9660
|
default: void 0
|
|
9648
9661
|
},
|
|
9649
9662
|
...$t(),
|
|
9650
|
-
...
|
|
9663
|
+
...re(),
|
|
9651
9664
|
...Ge(),
|
|
9652
9665
|
...Nt(),
|
|
9653
9666
|
...Zt(),
|
|
@@ -9694,22 +9707,22 @@ const mf = F({
|
|
|
9694
9707
|
positionClasses: g
|
|
9695
9708
|
} = mi(e), {
|
|
9696
9709
|
roundedClasses: m
|
|
9697
|
-
} = mt(e), h = ca(e, n),
|
|
9698
|
-
return Z(() => e.loading, (b,
|
|
9699
|
-
|
|
9710
|
+
} = mt(e), h = ca(e, n), p = Q(void 0);
|
|
9711
|
+
return Z(() => e.loading, (b, S) => {
|
|
9712
|
+
p.value = !b && typeof S == "string" ? S : typeof b == "boolean" ? void 0 : b;
|
|
9700
9713
|
}, {
|
|
9701
9714
|
immediate: !0
|
|
9702
9715
|
}), te(() => {
|
|
9703
|
-
const b = e.link !== !1 && h.isLink.value,
|
|
9716
|
+
const b = e.link !== !1 && h.isLink.value, S = !e.disabled && e.link !== !1 && (e.link || h.isClickable.value), k = b ? "a" : e.tag, P = !!(a.title || e.title != null), A = !!(a.subtitle || e.subtitle != null), T = P || A, C = !!(a.append || e.appendAvatar || e.appendIcon), E = !!(a.prepend || e.prependAvatar || e.prependIcon), I = !!(a.image || e.image), N = T || E || C, $ = !!(a.text || e.text != null);
|
|
9704
9717
|
return He(y(k, W(h.linkProps, {
|
|
9705
9718
|
class: ["v-card", {
|
|
9706
9719
|
"v-card--disabled": e.disabled,
|
|
9707
9720
|
"v-card--flat": e.flat,
|
|
9708
9721
|
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
9709
|
-
"v-card--link":
|
|
9722
|
+
"v-card--link": S
|
|
9710
9723
|
}, l.value, o.value, i.value, c.value, d.value, f.value, g.value, m.value, s.value, e.class],
|
|
9711
9724
|
style: [r.value, u.value, v.value, e.style],
|
|
9712
|
-
onClick:
|
|
9725
|
+
onClick: S && h.navigate,
|
|
9713
9726
|
tabindex: e.disabled ? -1 : void 0
|
|
9714
9727
|
}), {
|
|
9715
9728
|
default: () => [I && w("div", {
|
|
@@ -9731,7 +9744,7 @@ const mf = F({
|
|
|
9731
9744
|
}, null)]), y(Cl, {
|
|
9732
9745
|
name: "v-card",
|
|
9733
9746
|
active: !!e.loading,
|
|
9734
|
-
color:
|
|
9747
|
+
color: p.value
|
|
9735
9748
|
}, {
|
|
9736
9749
|
default: a.loader
|
|
9737
9750
|
}), N && y(Sf, {
|
|
@@ -9754,8 +9767,8 @@ const mf = F({
|
|
|
9754
9767
|
default: () => [a.text?.() ?? e.text]
|
|
9755
9768
|
}), a.default?.(), a.actions && y(yf, null, {
|
|
9756
9769
|
default: a.actions
|
|
9757
|
-
}), $n(
|
|
9758
|
-
}), [[wt,
|
|
9770
|
+
}), $n(S, "v-card")]
|
|
9771
|
+
}), [[wt, S && e.ripple]]);
|
|
9759
9772
|
}), {};
|
|
9760
9773
|
}
|
|
9761
9774
|
}), xf = F({
|
|
@@ -10079,8 +10092,8 @@ function Mf(e, t) {
|
|
|
10079
10092
|
currentPage: a
|
|
10080
10093
|
} = t;
|
|
10081
10094
|
const l = ge(e, "modelValue", e.modelValue, (b) => {
|
|
10082
|
-
const
|
|
10083
|
-
return
|
|
10095
|
+
const S = e.valueComparator;
|
|
10096
|
+
return S ? new Set(Oe(b).map((k) => n.value.find((P) => S(k, P.value))?.value ?? k)) : new Set(Oe(b).map((k) => At(k) ? n.value.find((P) => k === P.value)?.value ?? k : n.value.find((P) => Ke(k, P.value))?.value ?? k));
|
|
10084
10097
|
}, (b) => [...b.values()]), o = x(() => n.value.filter((b) => b.selectable)), i = x(() => a.value.filter((b) => b.selectable)), r = x(() => {
|
|
10085
10098
|
if (typeof e.selectStrategy == "object") return e.selectStrategy;
|
|
10086
10099
|
switch (e.selectStrategy) {
|
|
@@ -10094,36 +10107,36 @@ function Mf(e, t) {
|
|
|
10094
10107
|
}
|
|
10095
10108
|
}), s = Q(null);
|
|
10096
10109
|
function c(b) {
|
|
10097
|
-
return Oe(b).every((
|
|
10110
|
+
return Oe(b).every((S) => l.value.has(S.value));
|
|
10098
10111
|
}
|
|
10099
10112
|
function u(b) {
|
|
10100
|
-
return Oe(b).some((
|
|
10113
|
+
return Oe(b).some((S) => l.value.has(S.value));
|
|
10101
10114
|
}
|
|
10102
|
-
function d(b,
|
|
10115
|
+
function d(b, S) {
|
|
10103
10116
|
const k = r.value.select({
|
|
10104
10117
|
items: b,
|
|
10105
|
-
value:
|
|
10118
|
+
value: S,
|
|
10106
10119
|
selected: new Set(l.value)
|
|
10107
10120
|
});
|
|
10108
10121
|
l.value = k;
|
|
10109
10122
|
}
|
|
10110
|
-
function f(b,
|
|
10123
|
+
function f(b, S, k) {
|
|
10111
10124
|
const P = [];
|
|
10112
|
-
if (
|
|
10113
|
-
const [A, T] = [s.value,
|
|
10125
|
+
if (S = S ?? a.value.findIndex((A) => A.value === b.value), e.selectStrategy !== "single" && k?.shiftKey && s.value !== null) {
|
|
10126
|
+
const [A, T] = [s.value, S].sort((C, E) => C - E);
|
|
10114
10127
|
P.push(...a.value.slice(A, T + 1).filter((C) => C.selectable));
|
|
10115
10128
|
} else
|
|
10116
|
-
P.push(b), s.value =
|
|
10129
|
+
P.push(b), s.value = S;
|
|
10117
10130
|
d(P, !c([b]));
|
|
10118
10131
|
}
|
|
10119
10132
|
function v(b) {
|
|
10120
|
-
const
|
|
10133
|
+
const S = r.value.selectAll({
|
|
10121
10134
|
value: b,
|
|
10122
10135
|
allItems: o.value,
|
|
10123
10136
|
currentPage: i.value,
|
|
10124
10137
|
selected: new Set(l.value)
|
|
10125
10138
|
});
|
|
10126
|
-
l.value =
|
|
10139
|
+
l.value = S;
|
|
10127
10140
|
}
|
|
10128
10141
|
const g = x(() => l.value.size > 0), m = x(() => {
|
|
10129
10142
|
const b = r.value.allSelected({
|
|
@@ -10131,7 +10144,7 @@ function Mf(e, t) {
|
|
|
10131
10144
|
currentPage: i.value
|
|
10132
10145
|
});
|
|
10133
10146
|
return !!b.length && c(b);
|
|
10134
|
-
}), h = V(() => r.value.showSelectAll),
|
|
10147
|
+
}), h = V(() => r.value.showSelectAll), p = {
|
|
10135
10148
|
toggleSelect: f,
|
|
10136
10149
|
select: d,
|
|
10137
10150
|
selectAll: v,
|
|
@@ -10143,7 +10156,7 @@ function Mf(e, t) {
|
|
|
10143
10156
|
lastSelectedIndex: s,
|
|
10144
10157
|
selectStrategy: r
|
|
10145
10158
|
};
|
|
10146
|
-
return Te(Mr,
|
|
10159
|
+
return Te(Mr, p), p;
|
|
10147
10160
|
}
|
|
10148
10161
|
function ba() {
|
|
10149
10162
|
const e = he(Mr);
|
|
@@ -10722,10 +10735,10 @@ const Xr = F({
|
|
|
10722
10735
|
return I ? I.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
|
|
10723
10736
|
}
|
|
10724
10737
|
const {
|
|
10725
|
-
backgroundColorClasses:
|
|
10738
|
+
backgroundColorClasses: p,
|
|
10726
10739
|
backgroundColorStyles: b
|
|
10727
10740
|
} = bt(() => e.color), {
|
|
10728
|
-
displayClasses:
|
|
10741
|
+
displayClasses: S,
|
|
10729
10742
|
mobile: k
|
|
10730
10743
|
} = Qt(e), P = x(() => ({
|
|
10731
10744
|
headers: f.value,
|
|
@@ -10739,7 +10752,7 @@ const Xr = F({
|
|
|
10739
10752
|
getSortIcon: h
|
|
10740
10753
|
})), A = x(() => ["v-data-table__th", {
|
|
10741
10754
|
"v-data-table__th--sticky": e.sticky || e.fixedHeader
|
|
10742
|
-
},
|
|
10755
|
+
}, S.value, v.value]), T = (E) => {
|
|
10743
10756
|
let {
|
|
10744
10757
|
column: I,
|
|
10745
10758
|
x: N,
|
|
@@ -10797,8 +10810,8 @@ const Xr = F({
|
|
|
10797
10810
|
icon: h(I)
|
|
10798
10811
|
}, null), e.multiSort && i(I) && w("div", {
|
|
10799
10812
|
key: "badge",
|
|
10800
|
-
class: X(["v-data-table-header__sort-badge", ...
|
|
10801
|
-
style:
|
|
10813
|
+
class: X(["v-data-table-header__sort-badge", ...p.value]),
|
|
10814
|
+
style: ie(b.value)
|
|
10802
10815
|
}, [o.value.findIndex((ae) => ae.key === I.key) + 1])]);
|
|
10803
10816
|
}
|
|
10804
10817
|
});
|
|
@@ -10846,7 +10859,7 @@ const Xr = F({
|
|
|
10846
10859
|
})])]
|
|
10847
10860
|
});
|
|
10848
10861
|
};
|
|
10849
|
-
te(() => k.value ? w("tr", null, [y(C, null, null)]) : w(
|
|
10862
|
+
te(() => k.value ? w("tr", null, [y(C, null, null)]) : w(se, null, [n.headers ? n.headers(P.value) : f.value.map((E, I) => w("tr", null, [E.map((N, $) => y(T, {
|
|
10850
10863
|
column: N,
|
|
10851
10864
|
x: $,
|
|
10852
10865
|
y: I
|
|
@@ -10996,8 +11009,8 @@ const Xr = F({
|
|
|
10996
11009
|
onClick: e.onClick,
|
|
10997
11010
|
onContextmenu: e.onContextmenu,
|
|
10998
11011
|
onDblclick: e.onDblclick
|
|
10999
|
-
}, [e.item && m.value.map((h,
|
|
11000
|
-
const b = e.item,
|
|
11012
|
+
}, [e.item && m.value.map((h, p) => {
|
|
11013
|
+
const b = e.item, S = `item.${h.key}`, k = `header.${h.key}`, P = {
|
|
11001
11014
|
index: e.index,
|
|
11002
11015
|
item: b.raw,
|
|
11003
11016
|
internalItem: b,
|
|
@@ -11078,13 +11091,13 @@ const Xr = F({
|
|
|
11078
11091
|
variant: "text",
|
|
11079
11092
|
onClick: an(() => d(b), ["stop"])
|
|
11080
11093
|
}, null);
|
|
11081
|
-
if (n[
|
|
11094
|
+
if (n[S] && !l.value) return n[S](P);
|
|
11082
11095
|
const N = pe(P.value);
|
|
11083
|
-
return l.value ? w(
|
|
11096
|
+
return l.value ? w(se, null, [w("div", {
|
|
11084
11097
|
class: "v-data-table__td-title"
|
|
11085
11098
|
}, [n[k]?.(A) ?? h.title]), w("div", {
|
|
11086
11099
|
class: "v-data-table__td-value"
|
|
11087
|
-
}, [n[
|
|
11100
|
+
}, [n[S]?.(P) ?? N])]) : N;
|
|
11088
11101
|
}
|
|
11089
11102
|
});
|
|
11090
11103
|
})]));
|
|
@@ -11148,9 +11161,9 @@ const Xr = F({
|
|
|
11148
11161
|
key: "no-data"
|
|
11149
11162
|
}, [w("td", {
|
|
11150
11163
|
colspan: l.value.length
|
|
11151
|
-
}, [a["no-data"]?.() ?? f(e.noDataText)])]) : w(
|
|
11164
|
+
}, [a["no-data"]?.() ?? f(e.noDataText)])]) : w(se, null, [e.items.map((m, h) => {
|
|
11152
11165
|
if (m.type === "group") {
|
|
11153
|
-
const
|
|
11166
|
+
const S = {
|
|
11154
11167
|
index: h,
|
|
11155
11168
|
item: m,
|
|
11156
11169
|
columns: l.value,
|
|
@@ -11161,21 +11174,21 @@ const Xr = F({
|
|
|
11161
11174
|
toggleGroup: u,
|
|
11162
11175
|
isGroupOpen: d
|
|
11163
11176
|
};
|
|
11164
|
-
return a["group-header"] ? a["group-header"](
|
|
11177
|
+
return a["group-header"] ? a["group-header"](S) : y(Jf, W({
|
|
11165
11178
|
key: `group-header_${m.id}`,
|
|
11166
11179
|
item: m
|
|
11167
|
-
}, io(n, ":groupHeader", () =>
|
|
11180
|
+
}, io(n, ":groupHeader", () => S), g), a);
|
|
11168
11181
|
}
|
|
11169
11182
|
if (m.type === "group-summary") {
|
|
11170
|
-
const
|
|
11183
|
+
const S = {
|
|
11171
11184
|
index: h,
|
|
11172
11185
|
item: m,
|
|
11173
11186
|
columns: l.value,
|
|
11174
11187
|
toggleGroup: u
|
|
11175
11188
|
};
|
|
11176
|
-
return a["group-summary"]?.(
|
|
11189
|
+
return a["group-summary"]?.(S) ?? "";
|
|
11177
11190
|
}
|
|
11178
|
-
const
|
|
11191
|
+
const p = {
|
|
11179
11192
|
index: h,
|
|
11180
11193
|
item: m.raw,
|
|
11181
11194
|
internalItem: m,
|
|
@@ -11185,7 +11198,7 @@ const Xr = F({
|
|
|
11185
11198
|
isSelected: s,
|
|
11186
11199
|
toggleSelect: c
|
|
11187
11200
|
}, b = {
|
|
11188
|
-
...
|
|
11201
|
+
...p,
|
|
11189
11202
|
props: W({
|
|
11190
11203
|
key: `item_${m.key ?? m.index}`,
|
|
11191
11204
|
onClick: o.value ? () => {
|
|
@@ -11199,15 +11212,15 @@ const Xr = F({
|
|
|
11199
11212
|
expandIcon: e.expandIcon,
|
|
11200
11213
|
density: e.density,
|
|
11201
11214
|
mobile: v.value
|
|
11202
|
-
}, io(n, ":row", () =>
|
|
11203
|
-
item:
|
|
11204
|
-
index:
|
|
11205
|
-
internalItem:
|
|
11215
|
+
}, io(n, ":row", () => p), typeof e.rowProps == "function" ? e.rowProps({
|
|
11216
|
+
item: p.item,
|
|
11217
|
+
index: p.index,
|
|
11218
|
+
internalItem: p.internalItem
|
|
11206
11219
|
}) : e.rowProps)
|
|
11207
11220
|
};
|
|
11208
|
-
return w(
|
|
11221
|
+
return w(se, {
|
|
11209
11222
|
key: b.props.key
|
|
11210
|
-
}, [a.item ? a.item(b) : y(ev, b.props, a), r(m) && a["expanded-row"]?.(
|
|
11223
|
+
}, [a.item ? a.item(b) : y(ev, b.props, a), r(m) && a["expanded-row"]?.(p)]);
|
|
11211
11224
|
})]);
|
|
11212
11225
|
}), {};
|
|
11213
11226
|
}
|
|
@@ -11221,7 +11234,7 @@ const Xr = F({
|
|
|
11221
11234
|
default: null,
|
|
11222
11235
|
validator: (e) => ["even", "odd"].includes(e)
|
|
11223
11236
|
},
|
|
11224
|
-
...
|
|
11237
|
+
...re(),
|
|
11225
11238
|
...Ge(),
|
|
11226
11239
|
...ke(),
|
|
11227
11240
|
...Fe()
|
|
@@ -11249,7 +11262,7 @@ const Xr = F({
|
|
|
11249
11262
|
"v-table--striped-even": e.striped === "even",
|
|
11250
11263
|
"v-table--striped-odd": e.striped === "odd"
|
|
11251
11264
|
}, l.value, o.value, e.class]),
|
|
11252
|
-
style:
|
|
11265
|
+
style: ie(e.style)
|
|
11253
11266
|
}, {
|
|
11254
11267
|
default: () => [n.top?.(), n.default ? w("div", {
|
|
11255
11268
|
class: "v-table__wrapper",
|
|
@@ -11357,10 +11370,10 @@ const ov = F({
|
|
|
11357
11370
|
showSelect: V(() => e.showSelect),
|
|
11358
11371
|
showExpand: V(() => e.showExpand)
|
|
11359
11372
|
}), {
|
|
11360
|
-
items:
|
|
11373
|
+
items: p
|
|
11361
11374
|
} = lv(e, f), b = V(() => e.search), {
|
|
11362
|
-
filteredItems:
|
|
11363
|
-
} = vf(e,
|
|
11375
|
+
filteredItems: S
|
|
11376
|
+
} = vf(e, p, b, {
|
|
11364
11377
|
transform: (ve) => ve.columns,
|
|
11365
11378
|
customKeyFilter: h
|
|
11366
11379
|
}), {
|
|
@@ -11383,7 +11396,7 @@ const ov = F({
|
|
|
11383
11396
|
disableSort: d
|
|
11384
11397
|
}), {
|
|
11385
11398
|
sortedItems: I
|
|
11386
|
-
} = Wf(e,
|
|
11399
|
+
} = Wf(e, S, P, {
|
|
11387
11400
|
transform: (ve) => ({
|
|
11388
11401
|
...ve.raw,
|
|
11389
11402
|
...ve.columns
|
|
@@ -11416,7 +11429,7 @@ const ov = F({
|
|
|
11416
11429
|
someSelected: H,
|
|
11417
11430
|
allSelected: B
|
|
11418
11431
|
} = Mf(e, {
|
|
11419
|
-
allItems:
|
|
11432
|
+
allItems: p,
|
|
11420
11433
|
currentPage: ae
|
|
11421
11434
|
}), {
|
|
11422
11435
|
isExpanded: oe,
|
|
@@ -11460,7 +11473,7 @@ const ov = F({
|
|
|
11460
11473
|
headers: v.value
|
|
11461
11474
|
}));
|
|
11462
11475
|
return te(() => {
|
|
11463
|
-
const ve = Bo.filterProps(e),
|
|
11476
|
+
const ve = Bo.filterProps(e), ue = $o.filterProps(tt(e, ["multiSort"])), ye = No.filterProps(e), De = Lo.filterProps(e);
|
|
11464
11477
|
return y(Lo, W({
|
|
11465
11478
|
class: ["v-data-table", {
|
|
11466
11479
|
"v-data-table--show-select": e.showSelect,
|
|
@@ -11471,21 +11484,21 @@ const ov = F({
|
|
|
11471
11484
|
fixedHeader: e.fixedHeader || e.sticky
|
|
11472
11485
|
}), {
|
|
11473
11486
|
top: () => a.top?.(z.value),
|
|
11474
|
-
default: () => a.default ? a.default(z.value) : w(
|
|
11487
|
+
default: () => a.default ? a.default(z.value) : w(se, null, [a.colgroup?.(z.value), !e.hideDefaultHeader && w("thead", {
|
|
11475
11488
|
key: "thead"
|
|
11476
|
-
}, [y($o, W(
|
|
11489
|
+
}, [y($o, W(ue, {
|
|
11477
11490
|
multiSort: !!e.multiSort
|
|
11478
11491
|
}), a)]), a.thead?.(z.value), !e.hideDefaultBody && w("tbody", null, [a["body.prepend"]?.(z.value), a.body ? a.body(z.value) : y(No, W(n, ye, {
|
|
11479
11492
|
items: ee.value
|
|
11480
11493
|
}), a), a["body.append"]?.(z.value)]), a.tbody?.(z.value), a.tfoot?.(z.value)]),
|
|
11481
|
-
bottom: () => a.bottom ? a.bottom(z.value) : !e.hideDefaultFooter && w(
|
|
11494
|
+
bottom: () => a.bottom ? a.bottom(z.value) : !e.hideDefaultFooter && w(se, null, [y(Rn, null, null), y(Bo, ve, {
|
|
11482
11495
|
prepend: a["footer.prepend"]
|
|
11483
11496
|
})])
|
|
11484
11497
|
});
|
|
11485
11498
|
}), {};
|
|
11486
11499
|
}
|
|
11487
11500
|
}), sv = F({
|
|
11488
|
-
...
|
|
11501
|
+
...re(),
|
|
11489
11502
|
...Dd()
|
|
11490
11503
|
}, "VForm"), uv = K()({
|
|
11491
11504
|
name: "VForm",
|
|
@@ -11515,7 +11528,7 @@ const ov = F({
|
|
|
11515
11528
|
return te(() => w("form", {
|
|
11516
11529
|
ref: o,
|
|
11517
11530
|
class: X(["v-form", e.class]),
|
|
11518
|
-
style:
|
|
11531
|
+
style: ie(e.style),
|
|
11519
11532
|
novalidate: !0,
|
|
11520
11533
|
onReset: i,
|
|
11521
11534
|
onSubmit: r
|
|
@@ -11584,7 +11597,7 @@ const ov = F({
|
|
|
11584
11597
|
]);
|
|
11585
11598
|
return Es(() => {
|
|
11586
11599
|
i.value = "";
|
|
11587
|
-
}), (s, c) => (q(), Pe(
|
|
11600
|
+
}), (s, c) => (q(), Pe(se, null, [
|
|
11588
11601
|
e.hideHeader ? Ce("", !0) : (q(), le(un, {
|
|
11589
11602
|
key: 0,
|
|
11590
11603
|
class: "pa-2",
|
|
@@ -11643,7 +11656,7 @@ const ov = F({
|
|
|
11643
11656
|
}, {
|
|
11644
11657
|
default: O(() => [
|
|
11645
11658
|
e.hideActions ? Ce("", !0) : (q(), Pe("div", vv, [
|
|
11646
|
-
(q(!0), Pe(
|
|
11659
|
+
(q(!0), Pe(se, null, Xt(r, (u) => (q(), Pe(se, {
|
|
11647
11660
|
key: u.key
|
|
11648
11661
|
}, [
|
|
11649
11662
|
u?.show && u.show() ? (q(), le(Ei, {
|
|
@@ -12695,8 +12708,8 @@ function tm(e, t, n, a, l, o) {
|
|
|
12695
12708
|
"overflow"
|
|
12696
12709
|
], u = (g, m) => {
|
|
12697
12710
|
const h = window.getComputedStyle(g);
|
|
12698
|
-
c.forEach((
|
|
12699
|
-
m.style[
|
|
12711
|
+
c.forEach((p) => {
|
|
12712
|
+
m.style[p] = h[p];
|
|
12700
12713
|
});
|
|
12701
12714
|
}, d = (g, m = {}) => {
|
|
12702
12715
|
Object.assign(g.style, {
|
|
@@ -12989,23 +13002,23 @@ function Dt(e, t) {
|
|
|
12989
13002
|
function Mo(e, t, n, a, l) {
|
|
12990
13003
|
const i = l.axis === "x", r = e === document.scrollingElement, s = i ? "scrollLeft" : "scrollTop", c = i ? "clientWidth" : "clientHeight", u = i ? "offsetWidth" : "offsetHeight", d = i ? "scrollWidth" : "scrollHeight", f = i ? t.clientX : t.clientY, v = i ? a.left : a.top, g = i ? n.overflowX : n.overflowY;
|
|
12991
13004
|
if (r) {
|
|
12992
|
-
const m = e[s], h = e[c],
|
|
13005
|
+
const m = e[s], h = e[c], p = m > 0, b = m + h < (i ? l.state.rootScrollWidth || 0 : e[d]);
|
|
12993
13006
|
return i ? {
|
|
12994
|
-
left:
|
|
13007
|
+
left: p && f < h * 0.075,
|
|
12995
13008
|
right: b && f > h * (1 - 0.075)
|
|
12996
13009
|
} : {
|
|
12997
|
-
up:
|
|
13010
|
+
up: p && f < h * 0.075,
|
|
12998
13011
|
down: b && f > h * (1 - 0.075)
|
|
12999
13012
|
};
|
|
13000
13013
|
}
|
|
13001
13014
|
if ((g === "auto" || g === "scroll") && e !== document.body && e !== document.documentElement) {
|
|
13002
|
-
const m = e[d], h = e[u],
|
|
13015
|
+
const m = e[d], h = e[u], p = e[s], b = p > 0, S = p < m - h;
|
|
13003
13016
|
return i ? {
|
|
13004
13017
|
left: b && f < v + h * 0.075,
|
|
13005
|
-
right:
|
|
13018
|
+
right: S && f > v + h * (1 - 0.075)
|
|
13006
13019
|
} : {
|
|
13007
13020
|
up: b && f < v + h * 0.075,
|
|
13008
|
-
down:
|
|
13021
|
+
down: S && f > v + h * (1 - 0.075)
|
|
13009
13022
|
};
|
|
13010
13023
|
}
|
|
13011
13024
|
return i ? { left: !1, right: !1 } : { up: !1, down: !1 };
|
|
@@ -13167,38 +13180,43 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
|
|
|
13167
13180
|
}),
|
|
13168
13181
|
emits: /* @__PURE__ */ Ve(["update:showAdjustColumns"], ["update:sortedHeaders"]),
|
|
13169
13182
|
setup(e, { emit: t }) {
|
|
13170
|
-
const n = Jt(), a = t, l = e, o = Ne(e, "sortedHeaders"), i = j(), r = (
|
|
13171
|
-
a("update:showAdjustColumns",
|
|
13172
|
-
}, s = j(o.value)
|
|
13183
|
+
const n = Jt(), a = t, l = e, o = Ne(e, "sortedHeaders"), i = j(), r = (d) => {
|
|
13184
|
+
a("update:showAdjustColumns", d);
|
|
13185
|
+
}, s = j(o.value), c = (d) => {
|
|
13186
|
+
o.value[d].isVisible = !o.value[d].isVisible;
|
|
13187
|
+
};
|
|
13173
13188
|
Z(
|
|
13189
|
+
() => o.value,
|
|
13190
|
+
(d) => s.value = d
|
|
13191
|
+
), Z(
|
|
13174
13192
|
() => l.showAdjustColumns,
|
|
13175
|
-
(
|
|
13176
|
-
|
|
13193
|
+
(d) => {
|
|
13194
|
+
d && setTimeout(() => {
|
|
13177
13195
|
ym({
|
|
13178
13196
|
parent: i,
|
|
13179
13197
|
values: s,
|
|
13180
|
-
draggable: (
|
|
13198
|
+
draggable: (f) => f.classList.contains("kanban-card"),
|
|
13181
13199
|
plugins: [bv()],
|
|
13182
|
-
handleEnd: (
|
|
13183
|
-
us(
|
|
13200
|
+
handleEnd: (f) => {
|
|
13201
|
+
us(f), u(f);
|
|
13184
13202
|
}
|
|
13185
13203
|
});
|
|
13186
13204
|
}, 100);
|
|
13187
13205
|
}
|
|
13188
13206
|
);
|
|
13189
|
-
const
|
|
13190
|
-
const
|
|
13191
|
-
(
|
|
13207
|
+
const u = (d) => {
|
|
13208
|
+
const f = o.value.find(
|
|
13209
|
+
(v) => v.sequence === d.initialIndex
|
|
13192
13210
|
);
|
|
13193
|
-
if (
|
|
13194
|
-
for (const
|
|
13195
|
-
|
|
13211
|
+
if (d.initialIndex < d.targetIndex)
|
|
13212
|
+
for (const v of o.value)
|
|
13213
|
+
v.sequence > d.initialIndex && v.sequence <= d.targetIndex && v.sequence--;
|
|
13196
13214
|
else
|
|
13197
|
-
for (const
|
|
13198
|
-
|
|
13199
|
-
|
|
13215
|
+
for (const v of o.value)
|
|
13216
|
+
v.sequence < d.initialIndex && v.sequence >= d.targetIndex && v.sequence++;
|
|
13217
|
+
f && (f.sequence = d.targetIndex);
|
|
13200
13218
|
};
|
|
13201
|
-
return (
|
|
13219
|
+
return (d, f) => (q(), le(Ar, {
|
|
13202
13220
|
"model-value": l.showAdjustColumns,
|
|
13203
13221
|
"onUpdate:modelValue": r,
|
|
13204
13222
|
width: "500"
|
|
@@ -13215,10 +13233,10 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
|
|
|
13215
13233
|
ref: i,
|
|
13216
13234
|
class: "kanban-board-drop-zone mb-4 rounded d-flex flex-column gap-4"
|
|
13217
13235
|
}, [
|
|
13218
|
-
(q(!0), Pe(
|
|
13219
|
-
key:
|
|
13236
|
+
(q(!0), Pe(se, null, Xt(s.value, (v, g) => (q(), Pe(se, {
|
|
13237
|
+
key: v.sequence
|
|
13220
13238
|
}, [
|
|
13221
|
-
|
|
13239
|
+
v ? (q(), le(Tt, {
|
|
13222
13240
|
key: 0,
|
|
13223
13241
|
variant: "outlined",
|
|
13224
13242
|
ripple: !1,
|
|
@@ -13236,13 +13254,13 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
|
|
|
13236
13254
|
size: "20",
|
|
13237
13255
|
icon: "ri-draggable"
|
|
13238
13256
|
}),
|
|
13239
|
-
$e(" " + pe(
|
|
13257
|
+
$e(" " + pe(v.title), 1)
|
|
13240
13258
|
]),
|
|
13241
13259
|
y(ce, {
|
|
13242
|
-
onClick: (
|
|
13260
|
+
onClick: (m) => c(g),
|
|
13243
13261
|
class: "drag-handler",
|
|
13244
13262
|
size: "18",
|
|
13245
|
-
icon:
|
|
13263
|
+
icon: v.isVisible ? "ri-eye-fill" : "ri-eye-off-fill"
|
|
13246
13264
|
}, null, 8, ["onClick", "icon"])
|
|
13247
13265
|
])
|
|
13248
13266
|
])
|
|
@@ -13264,7 +13282,7 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
|
|
|
13264
13282
|
_: 1
|
|
13265
13283
|
}, 8, ["model-value"]));
|
|
13266
13284
|
}
|
|
13267
|
-
}), Cm = /* @__PURE__ */ hn(wm, [["__scopeId", "data-v-
|
|
13285
|
+
}), Cm = /* @__PURE__ */ hn(wm, [["__scopeId", "data-v-209af8cf"]]);
|
|
13268
13286
|
function xm({
|
|
13269
13287
|
tableRef: e,
|
|
13270
13288
|
props: t,
|
|
@@ -13276,7 +13294,7 @@ function xm({
|
|
|
13276
13294
|
let d = null, f = null, v = null;
|
|
13277
13295
|
const g = () => {
|
|
13278
13296
|
s.value = e.value?.$el ?? e.value ?? null, c.value = s.value?.querySelector(".v-table__wrapper") ?? null, u.value = c.value?.querySelector(".v-table__wrapper tbody") ?? c.value?.querySelector(".v-table__wrapper table") ?? s.value?.querySelector("tbody") ?? null;
|
|
13279
|
-
}, m = () => u.value?.getBoundingClientRect().height ?? null, h = () => window.innerHeight * (a / 100),
|
|
13297
|
+
}, m = () => u.value?.getBoundingClientRect().height ?? null, h = () => window.innerHeight * (a / 100), p = (k) => {
|
|
13280
13298
|
i.value = !k, r.value = !0, o.value = k ? `${a}vh` : void 0, requestAnimationFrame(() => r.value = !1);
|
|
13281
13299
|
}, b = () => {
|
|
13282
13300
|
if (r.value) return;
|
|
@@ -13287,8 +13305,8 @@ function xm({
|
|
|
13287
13305
|
const k = m();
|
|
13288
13306
|
if (k == null) return;
|
|
13289
13307
|
const P = h(), A = o.value !== null, T = k > P + l, C = k < P - l;
|
|
13290
|
-
A && T ?
|
|
13291
|
-
},
|
|
13308
|
+
A && T ? p(!0) : A && C && p(!1);
|
|
13309
|
+
}, S = () => {
|
|
13292
13310
|
v == null && !t.disableScroll && (v = requestAnimationFrame(() => {
|
|
13293
13311
|
v = null, b();
|
|
13294
13312
|
}));
|
|
@@ -13297,25 +13315,25 @@ function xm({
|
|
|
13297
13315
|
await Se(), g();
|
|
13298
13316
|
const k = c.value;
|
|
13299
13317
|
if (!k) return;
|
|
13300
|
-
d = new ResizeObserver(() =>
|
|
13318
|
+
d = new ResizeObserver(() => S()), d.observe(k);
|
|
13301
13319
|
const P = u.value;
|
|
13302
|
-
P && (f = new MutationObserver(() =>
|
|
13320
|
+
P && (f = new MutationObserver(() => S()), f.observe(P, { childList: !0, subtree: !0 })), window.addEventListener("resize", S, { passive: !0 }), Z(
|
|
13303
13321
|
[
|
|
13304
13322
|
() => t.items.length,
|
|
13305
13323
|
() => n.value.pageSize,
|
|
13306
13324
|
() => n.value.page
|
|
13307
13325
|
],
|
|
13308
13326
|
async () => {
|
|
13309
|
-
await Se(),
|
|
13327
|
+
await Se(), S();
|
|
13310
13328
|
},
|
|
13311
13329
|
{ flush: "post" }
|
|
13312
13330
|
), Z(
|
|
13313
13331
|
() => t.headers.map((A) => ({ v: A.value, vis: A.isVisible })),
|
|
13314
|
-
|
|
13332
|
+
S,
|
|
13315
13333
|
{ deep: !0, flush: "post" }
|
|
13316
|
-
),
|
|
13334
|
+
), S();
|
|
13317
13335
|
}), lt(() => {
|
|
13318
|
-
d?.disconnect(), f?.disconnect(), v != null && cancelAnimationFrame(v), window.removeEventListener("resize",
|
|
13336
|
+
d?.disconnect(), f?.disconnect(), v != null && cancelAnimationFrame(v), window.removeEventListener("resize", S), d = f = null, v = null;
|
|
13319
13337
|
}), { tableHeight: o, tableHideOverflow: i };
|
|
13320
13338
|
}
|
|
13321
13339
|
const km = /* @__PURE__ */ xe({
|
|
@@ -13560,9 +13578,12 @@ const km = /* @__PURE__ */ xe({
|
|
|
13560
13578
|
}
|
|
13561
13579
|
}, o = (i) => i.filterable;
|
|
13562
13580
|
return (i, r) => (q(), Pe("tr", Bm, [
|
|
13563
|
-
(q(!0), Pe(
|
|
13581
|
+
(q(!0), Pe(se, null, Xt(e.columns, (s) => (q(), Pe("th", {
|
|
13564
13582
|
key: s.title,
|
|
13565
|
-
scope: "col"
|
|
13583
|
+
scope: "col",
|
|
13584
|
+
style: ie(
|
|
13585
|
+
s.width ? `min-width: ${s.width}; max-width: ${s.width}` : ""
|
|
13586
|
+
)
|
|
13566
13587
|
}, [
|
|
13567
13588
|
w("div", $m, [
|
|
13568
13589
|
y(Fm, {
|
|
@@ -13580,7 +13601,7 @@ const km = /* @__PURE__ */ xe({
|
|
|
13580
13601
|
filterFn: e.filterFn
|
|
13581
13602
|
}, null, 8, ["column", "filterFn"])) : Ce("", !0)
|
|
13582
13603
|
])
|
|
13583
|
-
]))), 128))
|
|
13604
|
+
], 4))), 128))
|
|
13584
13605
|
]));
|
|
13585
13606
|
}
|
|
13586
13607
|
}), en = (e) => e.replace(/\D/g, ""), fs = (e) => {
|
|
@@ -13653,19 +13674,19 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13653
13674
|
try {
|
|
13654
13675
|
if (n.header.displayValue)
|
|
13655
13676
|
return n.header.displayValue(n.item);
|
|
13656
|
-
const
|
|
13677
|
+
const p = n.header.value, b = p.split(".");
|
|
13657
13678
|
if (b.length == 1)
|
|
13658
|
-
return al(n.header.mask, n.item[
|
|
13679
|
+
return al(n.header.mask, n.item[p]);
|
|
13659
13680
|
{
|
|
13660
|
-
let
|
|
13681
|
+
let S = n.item;
|
|
13661
13682
|
for (let k of b)
|
|
13662
|
-
|
|
13663
|
-
return al(n.header.mask,
|
|
13683
|
+
S = S[k];
|
|
13684
|
+
return al(n.header.mask, S);
|
|
13664
13685
|
}
|
|
13665
|
-
} catch (
|
|
13686
|
+
} catch (p) {
|
|
13666
13687
|
return console.error(
|
|
13667
13688
|
`${t("errorGettingHeaderValue")} ${n.header.value}:`,
|
|
13668
|
-
|
|
13689
|
+
p
|
|
13669
13690
|
), "";
|
|
13670
13691
|
}
|
|
13671
13692
|
}, v = () => l.value, g = () => {
|
|
@@ -13675,8 +13696,8 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13675
13696
|
}, m = () => !(n.disableEdit || !n.header.editable), h = () => {
|
|
13676
13697
|
console.warn(t("editFnNotDefined"));
|
|
13677
13698
|
};
|
|
13678
|
-
return (
|
|
13679
|
-
default: O(({ isHovering:
|
|
13699
|
+
return (p, b) => (q(), le(dv, null, {
|
|
13700
|
+
default: O(({ isHovering: S, props: k }) => [
|
|
13680
13701
|
y(un, W({ class: "d-flex justify-space-between position-relative align-center" }, k), {
|
|
13681
13702
|
default: O(() => [
|
|
13682
13703
|
y(Qe, {
|
|
@@ -13711,7 +13732,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13711
13732
|
]),
|
|
13712
13733
|
_: 1
|
|
13713
13734
|
}, 8, ["cols"]),
|
|
13714
|
-
|
|
13735
|
+
S && m() && !v() ? (q(), le(ce, {
|
|
13715
13736
|
key: 0,
|
|
13716
13737
|
class: "cursor-pointer position-absolute right-0",
|
|
13717
13738
|
onClick: b[4] || (b[4] = (P) => g()),
|
|
@@ -13799,8 +13820,9 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13799
13820
|
density: "compact",
|
|
13800
13821
|
ref_key: "tableRef",
|
|
13801
13822
|
ref: s,
|
|
13802
|
-
height: fe(c),
|
|
13803
|
-
class: X({ "hide-overflow-y": fe(u) })
|
|
13823
|
+
height: fe(c) + 10,
|
|
13824
|
+
class: X({ "hide-overflow-y": fe(u) }),
|
|
13825
|
+
style: ie([fe(u) ? "overflow-y: hidden !important" : null, { "overflow-y": "hidden" }])
|
|
13804
13826
|
}, sl({
|
|
13805
13827
|
headers: O(({ columns: v, isSorted: g, getSortIcon: m, toggleSort: h }) => [
|
|
13806
13828
|
y(Nm, {
|
|
@@ -13810,7 +13832,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13810
13832
|
toggleSort: h,
|
|
13811
13833
|
filterFn: e.filterFn,
|
|
13812
13834
|
sortedHeaders: a.value,
|
|
13813
|
-
"onUpdate:sortedHeaders": f[0] || (f[0] = (
|
|
13835
|
+
"onUpdate:sortedHeaders": f[0] || (f[0] = (p) => a.value = p)
|
|
13814
13836
|
}, null, 8, ["columns", "isSorted", "getSortIcon", "toggleSort", "filterFn", "sortedHeaders"])
|
|
13815
13837
|
]),
|
|
13816
13838
|
"item.actions": O(({ item: v }) => [
|
|
@@ -13837,7 +13859,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13837
13859
|
}, null, 8, ["header", "item", "disable-edit"]))
|
|
13838
13860
|
])
|
|
13839
13861
|
}))
|
|
13840
|
-
]), 1032, ["sort-by", "loading", "items-per-page", "page", "items", "headers", "no-data-text", "v-bind", "height", "class"]));
|
|
13862
|
+
]), 1032, ["sort-by", "loading", "items-per-page", "page", "items", "headers", "no-data-text", "v-bind", "height", "class", "style"]));
|
|
13841
13863
|
}
|
|
13842
13864
|
}), Qm = /* @__PURE__ */ xe({
|
|
13843
13865
|
__name: "GenericTable",
|
|
@@ -13876,7 +13898,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13876
13898
|
);
|
|
13877
13899
|
return Bt(() => {
|
|
13878
13900
|
r.value.page = 1;
|
|
13879
|
-
}), (f, v) => (q(), Pe(
|
|
13901
|
+
}), (f, v) => (q(), Pe(se, null, [
|
|
13880
13902
|
y(Tt, {
|
|
13881
13903
|
variant: e.variant ?? "elevated",
|
|
13882
13904
|
class: "py-0"
|
|
@@ -14171,7 +14193,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14171
14193
|
() => n.field.options && n.field.options.length ? 12 / n.field.options.length : 12
|
|
14172
14194
|
), o = (i) => n.field.value == i.text || n.field.value == i.value ? "flat" : "text";
|
|
14173
14195
|
return (i, r) => (q(), Pe("div", cg, [
|
|
14174
|
-
(q(!0), Pe(
|
|
14196
|
+
(q(!0), Pe(se, null, Xt(e.field.options || [], (s, c) => (q(), le(Qe, {
|
|
14175
14197
|
key: c,
|
|
14176
14198
|
cols: l.value,
|
|
14177
14199
|
class: "pa-0"
|
|
@@ -14685,7 +14707,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14685
14707
|
class: X(["ma-0", e.noPadding ? "pa-0" : "pa-5"])
|
|
14686
14708
|
}, {
|
|
14687
14709
|
default: O(() => [
|
|
14688
|
-
(q(!0), Pe(
|
|
14710
|
+
(q(!0), Pe(se, null, Xt(e.fields, (u, d) => (q(), Pe(se, { key: d }, [
|
|
14689
14711
|
l.value[u.model] ? (q(), le(Qe, {
|
|
14690
14712
|
key: 0,
|
|
14691
14713
|
cols: fe(zo)(u),
|