@ianicdev/datatables2 0.8.15 → 0.9.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/{Columns-CbCyHqIz.cjs → Columns-BcKul1XU.cjs} +1 -1
- package/dist/{Columns-yWAGrf5J.js → Columns-WV_XTcfk.js} +1 -1
- package/dist/{Comparison-aai1XuBD.cjs → Comparison-B-0lzZby.cjs} +1 -1
- package/dist/{Comparison-Bnnoe8Bt.js → Comparison-CS3dbw7-.js} +1 -1
- package/dist/{Datepicker-NgLRJwEn.js → Datepicker-CBF5JWDm.js} +2 -2
- package/dist/{Datepicker-CLnsGSS6.cjs → Datepicker-DayGtvzT.cjs} +1 -1
- package/dist/{Download-C5jSumSU.cjs → Download-DObh-0qf.cjs} +1 -1
- package/dist/{Download-CgMeWjIL.js → Download-HnSkTpjH.js} +3 -3
- package/dist/{Options-BJIkNcEi.js → Options-B6aA6OT0.js} +1 -1
- package/dist/{Options-DMUT5noM.cjs → Options-CrhimulB.cjs} +1 -1
- package/dist/{RefreshTable-BsupAIBX.js → RefreshTable-Doiv_YZB.js} +2 -2
- package/dist/{RefreshTable-C3ZiDeOk.cjs → RefreshTable-s7gqKe6b.cjs} +1 -1
- package/dist/{Search-CrCOD6gZ.js → Search-CTLGwT0r.js} +2 -2
- package/dist/{Search-wlws1Tg-.cjs → Search-Dz0QZMXz.cjs} +1 -1
- package/dist/{Table-BAXZWtzv.cjs → Table-ClcPfYL5.cjs} +1 -1
- package/dist/{Table-BjmvxzG6.js → Table-DUoBK9K2.js} +2 -2
- package/dist/{TableServer-ByWJDF4y.cjs → TableServer-CP_gJg6t.cjs} +1 -8
- package/dist/{TableServer-9e0SnBbT.js → TableServer-DlguQn9Z.js} +3 -11
- package/dist/{cellRender-D-TK2Vx6.cjs → cellRender-DPw3VrGL.cjs} +1 -1
- package/dist/{cellRender-Dh1TBBCc.js → cellRender-O1eaCIAB.js} +2 -2
- package/dist/{dataTables-BEt0Mho4.js → dataTables-CPyO3-V6.js} +160 -160
- package/dist/dataTables-DqovKov-.cjs +4 -0
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/datatables2.css +1 -1
- package/dist/{html2canvas.esm-CUkZERmf.cjs → html2canvas.esm-CNmnTSlr.cjs} +1 -18
- package/dist/{html2canvas.esm-Dmi1NfiH.js → html2canvas.esm-DQ00cQCm.js} +0 -19
- package/dist/{index-B4ImFSQF.js → index-BUe_gyg1.js} +12 -12
- package/dist/{index-SVP6CdDP.cjs → index-Bj2papn9.cjs} +1 -1
- package/dist/{index-B6n9PS9m.js → index-CAZtJOlN.js} +1 -1
- package/dist/{index-eV98ePHW.cjs → index-CBmwmlHg.cjs} +1 -1
- package/dist/{index.es-sKSodxcW.js → index.es-BXudRhtE.js} +1 -15
- package/dist/{index.es-B0GUE7KM.cjs → index.es-DbLPWyn6.cjs} +2 -15
- package/dist/{jspdf-BDkAtFGI.cjs → jspdf-DQdhUPLM.cjs} +3 -118
- package/dist/{jspdf-CzuJJB6C.js → jspdf-Dt---f5Z.js} +3 -125
- package/dist/{purify.es-DHbHSKL1.js → purify.es-BwLardii.js} +0 -1
- package/dist/purify.es-ClceE12G.cjs +2 -0
- package/dist/{sortablejs-DSHM8iDp.js → sortablejs-C0WJhxmJ.js} +0 -6
- package/dist/sortablejs-Da6TYh39.cjs +1 -0
- package/dist/{xlsx-vtl6oPEm.js → xlsx-Beik4N2o.js} +0 -2
- package/dist/{xlsx-BBXALOAs.cjs → xlsx-BiH37OJz.cjs} +2 -2
- package/package.json +12 -12
- package/dist/dataTables-codcCcM8.cjs +0 -4
- package/dist/purify.es-D1I7B1hP.cjs +0 -2
- package/dist/sortablejs-BhPwT7wS.cjs +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { warn as Et, reactive as Ge, watchEffect as be, toRef as k, capitalize as Pa, shallowRef as $, camelize as gn, isVNode as Oi, Comment as Ii, Fragment as Ce, unref as Ae, isRef as bt, isReactive as
|
|
1
|
+
import { warn as Et, reactive as Ge, watchEffect as be, toRef as k, capitalize as Pa, shallowRef as $, camelize as gn, isVNode as Oi, Comment as Ii, Fragment as Ce, unref as Ae, isRef as bt, isReactive as Ti, isProxy as Vi, toRaw as q, getCurrentInstance as Bi, ref as N, computed as S, provide as ce, inject as J, defineComponent as At, h as _t, toValue as ie, createElementVNode as E, normalizeClass as M, createVNode as w, normalizeStyle as X, watch as D, onScopeDispose as le, effectScope as yn, useId as Ea, onBeforeUnmount as ke, onMounted as hn, onUpdated as Li, mergeProps as j, toRefs as Ri, Text as $i, readonly as bn, Transition as Be, resolveDynamicComponent as Ni, nextTick as ue, withDirectives as Ue, toDisplayString as et, TransitionGroup as Sn, onBeforeMount as pn, vShow as wn, Teleport as Fi, onDeactivated as Mi, createBlock as St, openBlock as _e, withCtx as yt, createElementBlock as Xt, renderList as Di, normalizeProps as Yt, guardReactiveProps as zi, resolveComponent as ji, createTextVNode as Wi, defineAsyncComponent as Hi } from "vue";
|
|
2
2
|
function Mt(e) {
|
|
3
3
|
if (e === null || typeof e != "object")
|
|
4
4
|
return !1;
|
|
@@ -203,8 +203,8 @@ function De() {
|
|
|
203
203
|
}
|
|
204
204
|
return a;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
return e.map((t) => t.type === Ce ?
|
|
206
|
+
function Ta(e) {
|
|
207
|
+
return e.map((t) => t.type === Ce ? Ta(t.children) : t).flat();
|
|
208
208
|
}
|
|
209
209
|
function Oe() {
|
|
210
210
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
@@ -264,7 +264,7 @@ function En(e) {
|
|
|
264
264
|
function wt(e, t) {
|
|
265
265
|
return e.includes(t);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Va(e) {
|
|
268
268
|
return e[2].toLowerCase() + e.slice(3);
|
|
269
269
|
}
|
|
270
270
|
const Ze = () => [Function, Array];
|
|
@@ -388,7 +388,7 @@ function rr(e) {
|
|
|
388
388
|
}));
|
|
389
389
|
}
|
|
390
390
|
function Hs(e) {
|
|
391
|
-
const t = (n) => Array.isArray(n) ? n.map((a) => t(a)) : bt(n) ||
|
|
391
|
+
const t = (n) => Array.isArray(n) ? n.map((a) => t(a)) : bt(n) || Ti(n) || Vi(n) ? t(q(n)) : Jt(n) ? Object.keys(n).reduce((a, i) => (a[i] = t(n[i]), a), {}) : n;
|
|
392
392
|
return t(e);
|
|
393
393
|
}
|
|
394
394
|
const La = ["top", "bottom"], or = ["start", "end", "left", "right"];
|
|
@@ -551,7 +551,7 @@ const ht = /* @__PURE__ */ new WeakMap();
|
|
|
551
551
|
function lr(e, t) {
|
|
552
552
|
Object.keys(t).forEach((n) => {
|
|
553
553
|
if (Ia(n)) {
|
|
554
|
-
const a =
|
|
554
|
+
const a = Va(n), i = ht.get(e);
|
|
555
555
|
if (t[n] == null)
|
|
556
556
|
i?.forEach((r) => {
|
|
557
557
|
const [o, s] = r;
|
|
@@ -569,7 +569,7 @@ function lr(e, t) {
|
|
|
569
569
|
function ur(e, t) {
|
|
570
570
|
Object.keys(t).forEach((n) => {
|
|
571
571
|
if (Ia(n)) {
|
|
572
|
-
const a =
|
|
572
|
+
const a = Va(n), i = ht.get(e);
|
|
573
573
|
i?.forEach((r) => {
|
|
574
574
|
const [o, s] = r;
|
|
575
575
|
o === a && (e.removeEventListener(a, s), i.delete(r));
|
|
@@ -963,7 +963,7 @@ function Q(e) {
|
|
|
963
963
|
const t = Y("useRender");
|
|
964
964
|
t.render = e;
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function Tr(e, t) {
|
|
967
967
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
968
968
|
leading: !0,
|
|
969
969
|
trailing: !0
|
|
@@ -979,9 +979,9 @@ function Vr(e, t) {
|
|
|
979
979
|
o || (o = f);
|
|
980
980
|
const g = f - Math.max(o, i);
|
|
981
981
|
function p() {
|
|
982
|
-
i = Date.now(), a =
|
|
982
|
+
i = Date.now(), a = setTimeout(s, t), e(...c);
|
|
983
983
|
}
|
|
984
|
-
r ? g >= t ? p() : n.trailing && (a =
|
|
984
|
+
r ? g >= t ? p() : n.trailing && (a = setTimeout(p, t - g)) : (r = !0, n.leading && p());
|
|
985
985
|
};
|
|
986
986
|
return l.clear = s, l.immediate = e, l;
|
|
987
987
|
}
|
|
@@ -997,11 +997,11 @@ function st(e) {
|
|
|
997
997
|
})
|
|
998
998
|
};
|
|
999
999
|
}
|
|
1000
|
-
const
|
|
1000
|
+
const Vr = [null, "default", "comfortable", "compact"], lt = A({
|
|
1001
1001
|
density: {
|
|
1002
1002
|
type: String,
|
|
1003
1003
|
default: "default",
|
|
1004
|
-
validator: (e) =>
|
|
1004
|
+
validator: (e) => Vr.includes(e)
|
|
1005
1005
|
}
|
|
1006
1006
|
}, "density");
|
|
1007
1007
|
function ut(e) {
|
|
@@ -1021,7 +1021,7 @@ const It = A({
|
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
}, "elevation");
|
|
1024
|
-
function
|
|
1024
|
+
function Tt(e) {
|
|
1025
1025
|
return {
|
|
1026
1026
|
elevationClasses: k(() => {
|
|
1027
1027
|
const n = bt(e) ? e.value : e.elevation;
|
|
@@ -1133,7 +1133,7 @@ function Lr(e) {
|
|
|
1133
1133
|
};
|
|
1134
1134
|
}
|
|
1135
1135
|
const Rr = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
|
1136
|
-
function
|
|
1136
|
+
function Tn(e, t) {
|
|
1137
1137
|
return E(Ce, null, [e && E("span", {
|
|
1138
1138
|
key: "overlay",
|
|
1139
1139
|
class: M(`${t}__overlay`)
|
|
@@ -1150,7 +1150,7 @@ const ct = A({
|
|
|
1150
1150
|
validator: (e) => Rr.includes(e)
|
|
1151
1151
|
}
|
|
1152
1152
|
}, "variant");
|
|
1153
|
-
function
|
|
1153
|
+
function Vn(e) {
|
|
1154
1154
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xe();
|
|
1155
1155
|
const n = k(() => {
|
|
1156
1156
|
const {
|
|
@@ -1205,7 +1205,7 @@ const Ma = A({
|
|
|
1205
1205
|
borderClasses: r
|
|
1206
1206
|
} = st(e), {
|
|
1207
1207
|
elevationClasses: o
|
|
1208
|
-
} =
|
|
1208
|
+
} = Tt(e), {
|
|
1209
1209
|
roundedClasses: s
|
|
1210
1210
|
} = $e(e);
|
|
1211
1211
|
_n({
|
|
@@ -1240,7 +1240,7 @@ function dt(e, t) {
|
|
|
1240
1240
|
n?.stop();
|
|
1241
1241
|
});
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function Te(e, t, n) {
|
|
1244
1244
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (d) => d, i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (d) => d;
|
|
1245
1245
|
const r = Y("useProxiedModel"), o = N(e[t] !== void 0 ? e[t] : n), s = Oe(t), u = s !== t ? S(() => (e[t], !!((r.vnode.props?.hasOwnProperty(t) || r.vnode.props?.hasOwnProperty(s)) && (r.vnode.props?.hasOwnProperty(`onUpdate:${t}`) || r.vnode.props?.hasOwnProperty(`onUpdate:${s}`))))) : S(() => (e[t], !!(r.vnode.props?.hasOwnProperty(t) && r.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));
|
|
1246
1246
|
dt(() => !u.value, () => {
|
|
@@ -1325,7 +1325,7 @@ function Fr(e, t) {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
function Mr(e, t) {
|
|
1327
1327
|
let n = !1;
|
|
1328
|
-
const a = Ge([]), i =
|
|
1328
|
+
const a = Ge([]), i = Te(e, "modelValue", [], (f) => f === void 0 ? [] : Da(a, f === null ? [null] : Pn(f)), (f) => {
|
|
1329
1329
|
const g = zr(a, f);
|
|
1330
1330
|
return e.multiple ? g : g[0];
|
|
1331
1331
|
}), r = Y("useGroup");
|
|
@@ -1483,7 +1483,7 @@ const Wr = A({
|
|
|
1483
1483
|
disabled: i
|
|
1484
1484
|
}), () => n.default?.();
|
|
1485
1485
|
}
|
|
1486
|
-
}), ae = [String, Function, Object, Array], Hr = Symbol.for("vuetify:icons"),
|
|
1486
|
+
}), ae = [String, Function, Object, Array], Hr = Symbol.for("vuetify:icons"), Vt = A({
|
|
1487
1487
|
icon: {
|
|
1488
1488
|
type: ae
|
|
1489
1489
|
},
|
|
@@ -1494,7 +1494,7 @@ const Wr = A({
|
|
|
1494
1494
|
}
|
|
1495
1495
|
}, "icon"), sa = z()({
|
|
1496
1496
|
name: "VComponentIcon",
|
|
1497
|
-
props:
|
|
1497
|
+
props: Vt(),
|
|
1498
1498
|
setup(e, t) {
|
|
1499
1499
|
let {
|
|
1500
1500
|
slots: n
|
|
@@ -1509,7 +1509,7 @@ const Wr = A({
|
|
|
1509
1509
|
}), Gr = rt({
|
|
1510
1510
|
name: "VSvgIcon",
|
|
1511
1511
|
inheritAttrs: !1,
|
|
1512
|
-
props:
|
|
1512
|
+
props: Vt(),
|
|
1513
1513
|
setup(e, t) {
|
|
1514
1514
|
let {
|
|
1515
1515
|
attrs: n
|
|
@@ -1536,7 +1536,7 @@ const Wr = A({
|
|
|
1536
1536
|
});
|
|
1537
1537
|
rt({
|
|
1538
1538
|
name: "VLigatureIcon",
|
|
1539
|
-
props:
|
|
1539
|
+
props: Vt(),
|
|
1540
1540
|
setup(e) {
|
|
1541
1541
|
return () => w(e.tag, null, {
|
|
1542
1542
|
default: () => [e.icon]
|
|
@@ -1545,7 +1545,7 @@ rt({
|
|
|
1545
1545
|
});
|
|
1546
1546
|
rt({
|
|
1547
1547
|
name: "VClassIcon",
|
|
1548
|
-
props:
|
|
1548
|
+
props: Vt(),
|
|
1549
1549
|
setup(e) {
|
|
1550
1550
|
return () => w(e.tag, {
|
|
1551
1551
|
class: M(e.icon)
|
|
@@ -1612,7 +1612,7 @@ const Kr = A({
|
|
|
1612
1612
|
tag: "i"
|
|
1613
1613
|
}),
|
|
1614
1614
|
...me()
|
|
1615
|
-
}, "VIcon"),
|
|
1615
|
+
}, "VIcon"), Ve = z()({
|
|
1616
1616
|
name: "VIcon",
|
|
1617
1617
|
props: Kr(),
|
|
1618
1618
|
setup(e, t) {
|
|
@@ -1632,7 +1632,7 @@ const Kr = A({
|
|
|
1632
1632
|
} = Ke(() => e.color);
|
|
1633
1633
|
return Q(() => {
|
|
1634
1634
|
const c = a.default?.();
|
|
1635
|
-
c && (i.value =
|
|
1635
|
+
c && (i.value = Ta(c).filter((f) => f.type === $i && f.children && typeof f.children == "string")[0]?.children);
|
|
1636
1636
|
const d = !!(n.onClick || n.onClickOnce);
|
|
1637
1637
|
return w(o.value.component, {
|
|
1638
1638
|
tag: e.tag,
|
|
@@ -1744,7 +1744,7 @@ const Xr = A({
|
|
|
1744
1744
|
} = ja(), {
|
|
1745
1745
|
resizeRef: b,
|
|
1746
1746
|
contentRect: m
|
|
1747
|
-
} = Wa(), v = k(() => qe(parseFloat(e.modelValue), 0, 100)), h = k(() => Number(e.width)), y = k(() => l.value ? Number(e.size) : m.value ? m.value.width : Math.max(h.value, 32)), C = k(() => a / (1 - h.value / y.value) * 2), P = k(() => h.value / y.value * C.value),
|
|
1747
|
+
} = Wa(), v = k(() => qe(parseFloat(e.modelValue), 0, 100)), h = k(() => Number(e.width)), y = k(() => l.value ? Number(e.size) : m.value ? m.value.width : Math.max(h.value, 32)), C = k(() => a / (1 - h.value / y.value) * 2), P = k(() => h.value / y.value * C.value), V = k(() => B((100 - v.value) / 100 * i));
|
|
1748
1748
|
return be(() => {
|
|
1749
1749
|
g.value = r.value, b.value = r.value;
|
|
1750
1750
|
}), Q(() => w(e.tag, {
|
|
@@ -1784,7 +1784,7 @@ const Xr = A({
|
|
|
1784
1784
|
r: a,
|
|
1785
1785
|
"stroke-width": P.value,
|
|
1786
1786
|
"stroke-dasharray": i,
|
|
1787
|
-
"stroke-dashoffset":
|
|
1787
|
+
"stroke-dashoffset": V.value
|
|
1788
1788
|
}, null)]), n.default && E("div", {
|
|
1789
1789
|
class: "v-progress-circular__content"
|
|
1790
1790
|
}, [n.default({
|
|
@@ -1960,7 +1960,7 @@ const Jr = A({
|
|
|
1960
1960
|
let {
|
|
1961
1961
|
slots: n
|
|
1962
1962
|
} = t;
|
|
1963
|
-
const a = N(), i =
|
|
1963
|
+
const a = N(), i = Te(e, "modelValue"), {
|
|
1964
1964
|
isRtl: r,
|
|
1965
1965
|
rtlClasses: o
|
|
1966
1966
|
} = Rt(), {
|
|
@@ -1984,25 +1984,25 @@ const Jr = A({
|
|
|
1984
1984
|
} = $e(e), {
|
|
1985
1985
|
intersectionRef: h,
|
|
1986
1986
|
isIntersecting: y
|
|
1987
|
-
} = ja(), C = S(() => parseFloat(e.max)), P = S(() => parseFloat(e.height)),
|
|
1987
|
+
} = ja(), C = S(() => parseFloat(e.max)), P = S(() => parseFloat(e.height)), V = S(() => qe(parseFloat(e.bufferValue) / C.value * 100, 0, 100)), R = S(() => qe(parseFloat(i.value) / C.value * 100, 0, 100)), x = S(() => r.value !== e.reverse), G = S(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), K = $(0), {
|
|
1988
1988
|
hasChunks: F,
|
|
1989
1989
|
chunksMaskStyles: L,
|
|
1990
1990
|
snapValueToChunk: O
|
|
1991
1991
|
} = Zr(e, K);
|
|
1992
1992
|
dt(F, () => {
|
|
1993
1993
|
const {
|
|
1994
|
-
resizeRef:
|
|
1994
|
+
resizeRef: U
|
|
1995
1995
|
} = Wa((Z) => K.value = Z[0].contentRect.width);
|
|
1996
|
-
be(() =>
|
|
1996
|
+
be(() => U.value = a.value);
|
|
1997
1997
|
});
|
|
1998
|
-
const
|
|
1999
|
-
function W(
|
|
1998
|
+
const T = S(() => F.value ? O(V.value) : V.value), I = S(() => F.value ? O(R.value) : R.value);
|
|
1999
|
+
function W(U) {
|
|
2000
2000
|
if (!h.value) return;
|
|
2001
2001
|
const {
|
|
2002
2002
|
left: Z,
|
|
2003
2003
|
right: ge,
|
|
2004
2004
|
width: H
|
|
2005
|
-
} = h.value.getBoundingClientRect(), oe = x.value ? H -
|
|
2005
|
+
} = h.value.getBoundingClientRect(), oe = x.value ? H - U.clientX + (ge - H) : U.clientX - Z;
|
|
2006
2006
|
i.value = Math.round(oe / H * C.value);
|
|
2007
2007
|
}
|
|
2008
2008
|
return be(() => {
|
|
@@ -2041,7 +2041,7 @@ const Jr = A({
|
|
|
2041
2041
|
borderTop: `${B(P.value / 2)} dotted`,
|
|
2042
2042
|
opacity: parseFloat(e.bufferOpacity),
|
|
2043
2043
|
top: `calc(50% - ${B(P.value / 4)})`,
|
|
2044
|
-
width: B(100 -
|
|
2044
|
+
width: B(100 - V.value, "%"),
|
|
2045
2045
|
"--v-progress-linear-stream-to": B(P.value * (x.value ? 1 : -1))
|
|
2046
2046
|
}
|
|
2047
2047
|
}, null), E("div", {
|
|
@@ -2054,16 +2054,16 @@ const Jr = A({
|
|
|
2054
2054
|
class: M(["v-progress-linear__buffer", g.value]),
|
|
2055
2055
|
style: X([p.value, {
|
|
2056
2056
|
opacity: parseFloat(e.bufferOpacity),
|
|
2057
|
-
width: B(
|
|
2057
|
+
width: B(T.value, "%")
|
|
2058
2058
|
}])
|
|
2059
2059
|
}, null), w(Be, {
|
|
2060
|
-
name:
|
|
2060
|
+
name: G.value
|
|
2061
2061
|
}, {
|
|
2062
2062
|
default: () => [e.indeterminate ? E("div", {
|
|
2063
2063
|
class: "v-progress-linear__indeterminate"
|
|
2064
|
-
}, [["long", "short"].map((
|
|
2065
|
-
key:
|
|
2066
|
-
class: M(["v-progress-linear__indeterminate",
|
|
2064
|
+
}, [["long", "short"].map((U) => E("div", {
|
|
2065
|
+
key: U,
|
|
2066
|
+
class: M(["v-progress-linear__indeterminate", U, b.value]),
|
|
2067
2067
|
style: X(m.value)
|
|
2068
2068
|
}, null))]) : E("div", {
|
|
2069
2069
|
class: M(["v-progress-linear__determinate", b.value]),
|
|
@@ -2075,7 +2075,7 @@ const Jr = A({
|
|
|
2075
2075
|
class: "v-progress-linear__content"
|
|
2076
2076
|
}, [n.default({
|
|
2077
2077
|
value: R.value,
|
|
2078
|
-
buffer:
|
|
2078
|
+
buffer: V.value
|
|
2079
2079
|
})])]
|
|
2080
2080
|
})), {};
|
|
2081
2081
|
}
|
|
@@ -2425,7 +2425,7 @@ const un = {
|
|
|
2425
2425
|
dimensionStyles: s
|
|
2426
2426
|
} = vt(e), {
|
|
2427
2427
|
elevationClasses: l
|
|
2428
|
-
} =
|
|
2428
|
+
} = Tt(e), {
|
|
2429
2429
|
loaderClasses: u
|
|
2430
2430
|
} = no(e), {
|
|
2431
2431
|
locationStyles: c
|
|
@@ -2442,8 +2442,8 @@ const un = {
|
|
|
2442
2442
|
})), {
|
|
2443
2443
|
colorClasses: C,
|
|
2444
2444
|
colorStyles: P,
|
|
2445
|
-
variantClasses:
|
|
2446
|
-
} =
|
|
2445
|
+
variantClasses: V
|
|
2446
|
+
} = Vn(y), R = S(() => b?.disabled.value || e.disabled), x = k(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), G = S(() => {
|
|
2447
2447
|
if (!(e.value === void 0 || typeof e.value == "symbol"))
|
|
2448
2448
|
return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
|
|
2449
2449
|
});
|
|
@@ -2451,7 +2451,7 @@ const un = {
|
|
|
2451
2451
|
R.value || m.isLink.value && (F.metaKey || F.ctrlKey || F.shiftKey || F.button !== 0 || n.target === "_blank") || (m.isRouterLink.value ? m.navigate?.(F) : b?.toggle());
|
|
2452
2452
|
}
|
|
2453
2453
|
return uo(m, b?.select), Q(() => {
|
|
2454
|
-
const F = m.isLink.value ? "a" : e.tag, L = !!(e.prependIcon || a.prepend), O = !!(e.appendIcon || a.append),
|
|
2454
|
+
const F = m.isLink.value ? "a" : e.tag, L = !!(e.prependIcon || a.prepend), O = !!(e.appendIcon || a.append), T = !!(e.icon && e.icon !== !0);
|
|
2455
2455
|
return Ue(w(F, j(m.linkProps, {
|
|
2456
2456
|
type: F === "a" ? void 0 : "button",
|
|
2457
2457
|
class: ["v-btn", b?.selectedClass.value, {
|
|
@@ -2465,15 +2465,15 @@ const un = {
|
|
|
2465
2465
|
"v-btn--readonly": e.readonly,
|
|
2466
2466
|
"v-btn--slim": e.slim,
|
|
2467
2467
|
"v-btn--stacked": e.stacked
|
|
2468
|
-
}, e.spaced ? ["v-btn--spaced", `v-btn--spaced-${e.spaced}`] : [], i.value, r.value, C.value, o.value, l.value, u.value, d.value, f.value, g.value,
|
|
2468
|
+
}, e.spaced ? ["v-btn--spaced", `v-btn--spaced-${e.spaced}`] : [], i.value, r.value, C.value, o.value, l.value, u.value, d.value, f.value, g.value, V.value, e.class],
|
|
2469
2469
|
style: [P.value, s.value, c.value, p.value, e.style],
|
|
2470
2470
|
"aria-busy": e.loading ? !0 : void 0,
|
|
2471
2471
|
disabled: R.value && F !== "a" || void 0,
|
|
2472
2472
|
tabindex: e.loading || e.readonly ? -1 : void 0,
|
|
2473
2473
|
onClick: K,
|
|
2474
|
-
value:
|
|
2474
|
+
value: G.value
|
|
2475
2475
|
}), {
|
|
2476
|
-
default: () => [
|
|
2476
|
+
default: () => [Tn(!0, "v-btn"), !e.icon && L && E("span", {
|
|
2477
2477
|
key: "prepend",
|
|
2478
2478
|
class: "v-btn__prepend"
|
|
2479
2479
|
}, [a.prepend ? w(we, {
|
|
@@ -2484,18 +2484,18 @@ const un = {
|
|
|
2484
2484
|
icon: e.prependIcon
|
|
2485
2485
|
}
|
|
2486
2486
|
}
|
|
2487
|
-
}, a.prepend) : w(
|
|
2487
|
+
}, a.prepend) : w(Ve, {
|
|
2488
2488
|
key: "prepend-icon",
|
|
2489
2489
|
icon: e.prependIcon
|
|
2490
2490
|
}, null)]), E("span", {
|
|
2491
2491
|
class: "v-btn__content",
|
|
2492
2492
|
"data-no-activator": ""
|
|
2493
|
-
}, [!a.default &&
|
|
2493
|
+
}, [!a.default && T ? w(Ve, {
|
|
2494
2494
|
key: "content-icon",
|
|
2495
2495
|
icon: e.icon
|
|
2496
2496
|
}, null) : w(we, {
|
|
2497
2497
|
key: "content-defaults",
|
|
2498
|
-
disabled: !
|
|
2498
|
+
disabled: !T,
|
|
2499
2499
|
defaults: {
|
|
2500
2500
|
VIcon: {
|
|
2501
2501
|
icon: e.icon
|
|
@@ -2514,7 +2514,7 @@ const un = {
|
|
|
2514
2514
|
icon: e.appendIcon
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
|
-
}, a.append) : w(
|
|
2517
|
+
}, a.append) : w(Ve, {
|
|
2518
2518
|
key: "append-icon",
|
|
2519
2519
|
icon: e.appendIcon
|
|
2520
2520
|
}, null)]), !!e.loading && E("span", {
|
|
@@ -3175,7 +3175,7 @@ const Bn = (e) => {
|
|
|
3175
3175
|
mandatory: Boolean
|
|
3176
3176
|
}, "nested"), Oo = (e) => {
|
|
3177
3177
|
let t = !1;
|
|
3178
|
-
const n = $(/* @__PURE__ */ new Map()), a = $(/* @__PURE__ */ new Map()), i = $(/* @__PURE__ */ new Set()), r =
|
|
3178
|
+
const n = $(/* @__PURE__ */ new Map()), a = $(/* @__PURE__ */ new Map()), i = $(/* @__PURE__ */ new Set()), r = Te(e, "opened", e.opened, (m) => new Set(Array.isArray(m) ? m.map((v) => q(v)) : m), (m) => [...m.values()]), o = S(() => {
|
|
3179
3179
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
|
3180
3180
|
if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
|
|
3181
3181
|
switch (e.activeStrategy) {
|
|
@@ -3218,7 +3218,7 @@ const Bn = (e) => {
|
|
|
3218
3218
|
default:
|
|
3219
3219
|
return li;
|
|
3220
3220
|
}
|
|
3221
|
-
}), u =
|
|
3221
|
+
}), u = Te(e, "activated", e.activated, (m) => o.value.in(m, n.value, a.value), (m) => o.value.out(m, n.value, a.value)), c = Te(e, "selected", e.selected, (m) => s.value.in(m, n.value, a.value, i.value), (m) => s.value.out(m, n.value, a.value));
|
|
3222
3222
|
ke(() => {
|
|
3223
3223
|
t = !0;
|
|
3224
3224
|
});
|
|
@@ -3229,7 +3229,7 @@ const Bn = (e) => {
|
|
|
3229
3229
|
v.unshift(h), h = a.value.get(h);
|
|
3230
3230
|
return v;
|
|
3231
3231
|
}
|
|
3232
|
-
const f = Y("nested"), g = /* @__PURE__ */ new Set(), p =
|
|
3232
|
+
const f = Y("nested"), g = /* @__PURE__ */ new Set(), p = Tr(() => {
|
|
3233
3233
|
ue(() => {
|
|
3234
3234
|
n.value = new Map(n.value), a.value = new Map(a.value);
|
|
3235
3235
|
});
|
|
@@ -3391,7 +3391,7 @@ const Bn = (e) => {
|
|
|
3391
3391
|
isGroupActivator: !0
|
|
3392
3392
|
});
|
|
3393
3393
|
};
|
|
3394
|
-
function
|
|
3394
|
+
function To() {
|
|
3395
3395
|
const e = $(!1);
|
|
3396
3396
|
return hn(() => {
|
|
3397
3397
|
window.requestAnimationFrame(() => {
|
|
@@ -3430,7 +3430,7 @@ const vi = A({
|
|
|
3430
3430
|
}), o) : u = j({
|
|
3431
3431
|
name: i || !a ? "" : a
|
|
3432
3432
|
}, o), _t(s, u, n);
|
|
3433
|
-
},
|
|
3433
|
+
}, Vo = rt({
|
|
3434
3434
|
name: "VListGroupActivator",
|
|
3435
3435
|
setup(e, t) {
|
|
3436
3436
|
let {
|
|
@@ -3474,7 +3474,7 @@ const vi = A({
|
|
|
3474
3474
|
id: r
|
|
3475
3475
|
} = fi(() => e.value, () => e.disabled, !0), o = S(() => `v-list-group--id-${String(e.rawId ?? r.value)}`), s = oi(), {
|
|
3476
3476
|
isBooted: l
|
|
3477
|
-
} =
|
|
3477
|
+
} = To();
|
|
3478
3478
|
function u(g) {
|
|
3479
3479
|
["INPUT", "TEXTAREA"].includes(g.target?.tagName) || i(!a.value, g);
|
|
3480
3480
|
}
|
|
@@ -3505,7 +3505,7 @@ const vi = A({
|
|
|
3505
3505
|
default: () => [n.activator && w(we, {
|
|
3506
3506
|
defaults: f.value
|
|
3507
3507
|
}, {
|
|
3508
|
-
default: () => [w(
|
|
3508
|
+
default: () => [w(Vo, null, {
|
|
3509
3509
|
default: () => [n.activator({
|
|
3510
3510
|
props: c.value,
|
|
3511
3511
|
isOpen: a.value
|
|
@@ -3720,20 +3720,20 @@ const ya = {
|
|
|
3720
3720
|
});
|
|
3721
3721
|
function C(L) {
|
|
3722
3722
|
let O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
3723
|
-
const
|
|
3723
|
+
const T = () => {
|
|
3724
3724
|
if (clearTimeout(y), s.isUnmounted) return;
|
|
3725
3725
|
const {
|
|
3726
3726
|
naturalHeight: I,
|
|
3727
3727
|
naturalWidth: W
|
|
3728
3728
|
} = L;
|
|
3729
|
-
I || W ? (d.value = W, f.value = I) : !L.complete && c.value === "loading" && O != null ? y = window.setTimeout(
|
|
3729
|
+
I || W ? (d.value = W, f.value = I) : !L.complete && c.value === "loading" && O != null ? y = window.setTimeout(T, O) : (L.currentSrc.endsWith(".svg") || L.currentSrc.startsWith("data:image/svg+xml")) && (d.value = 1, f.value = 1);
|
|
3730
3730
|
};
|
|
3731
|
-
|
|
3731
|
+
T();
|
|
3732
3732
|
}
|
|
3733
3733
|
const P = k(() => ({
|
|
3734
3734
|
"v-img__img--cover": e.cover,
|
|
3735
3735
|
"v-img__img--contain": !e.cover
|
|
3736
|
-
})),
|
|
3736
|
+
})), V = () => {
|
|
3737
3737
|
if (!g.value.src || c.value === "idle") return null;
|
|
3738
3738
|
const L = E("img", {
|
|
3739
3739
|
class: M(["v-img__img", P.value]),
|
|
@@ -3780,7 +3780,7 @@ const ya = {
|
|
|
3780
3780
|
default: () => [(c.value === "loading" || c.value === "error" && !a.error) && E("div", {
|
|
3781
3781
|
class: "v-img__placeholder"
|
|
3782
3782
|
}, [a.placeholder()])]
|
|
3783
|
-
}) : null,
|
|
3783
|
+
}) : null, G = () => a.error ? w(ze, {
|
|
3784
3784
|
transition: e.transition,
|
|
3785
3785
|
appear: !0
|
|
3786
3786
|
}, {
|
|
@@ -3817,7 +3817,7 @@ const ya = {
|
|
|
3817
3817
|
"aria-label": e.alt,
|
|
3818
3818
|
role: e.alt ? "img" : void 0
|
|
3819
3819
|
}), {
|
|
3820
|
-
additional: () => E(Ce, null, [w(
|
|
3820
|
+
additional: () => E(Ce, null, [w(V, null, null), w(R, null, null), w(K, null, null), w(x, null, null), w(G, null, null)]),
|
|
3821
3821
|
default: a.default
|
|
3822
3822
|
}), [[ya, {
|
|
3823
3823
|
handler: b,
|
|
@@ -3864,7 +3864,7 @@ const ya = {
|
|
|
3864
3864
|
colorClasses: r,
|
|
3865
3865
|
colorStyles: o,
|
|
3866
3866
|
variantClasses: s
|
|
3867
|
-
} =
|
|
3867
|
+
} = Vn(e), {
|
|
3868
3868
|
densityClasses: l
|
|
3869
3869
|
} = ut(e), {
|
|
3870
3870
|
roundedClasses: u
|
|
@@ -3897,10 +3897,10 @@ const ya = {
|
|
|
3897
3897
|
src: e.image,
|
|
3898
3898
|
alt: "",
|
|
3899
3899
|
cover: !0
|
|
3900
|
-
}, null) : e.icon ? w(
|
|
3900
|
+
}, null) : e.icon ? w(Ve, {
|
|
3901
3901
|
key: "icon",
|
|
3902
3902
|
icon: e.icon
|
|
3903
|
-
}, null) : e.text,
|
|
3903
|
+
}, null) : e.text, Tn(!1, "v-avatar")]
|
|
3904
3904
|
})), {};
|
|
3905
3905
|
}
|
|
3906
3906
|
}), jo = A({
|
|
@@ -3978,10 +3978,10 @@ const ya = {
|
|
|
3978
3978
|
parent: b,
|
|
3979
3979
|
openOnSelect: m,
|
|
3980
3980
|
id: v
|
|
3981
|
-
} = fi(o, () => e.disabled, !1), h = oi(), y = S(() => e.active !== !1 && (e.active || r.isActive?.value || (p.activatable.value ? l.value : d.value))), C = k(() => e.link !== !1 && r.isLink.value), P = S(() => !!h && (p.selectable.value || p.activatable.value || e.value != null)),
|
|
3981
|
+
} = fi(o, () => e.disabled, !1), h = oi(), y = S(() => e.active !== !1 && (e.active || r.isActive?.value || (p.activatable.value ? l.value : d.value))), C = k(() => e.link !== !1 && r.isLink.value), P = S(() => !!h && (p.selectable.value || p.activatable.value || e.value != null)), V = S(() => !e.disabled && e.link !== !1 && (e.link || r.isClickable.value || P.value)), R = S(() => h ? C.value ? "link" : P.value ? "option" : "listitem" : void 0), x = S(() => {
|
|
3982
3982
|
if (P.value)
|
|
3983
3983
|
return p.activatable.value ? l.value : p.selectable.value ? d.value : y.value;
|
|
3984
|
-
}),
|
|
3984
|
+
}), G = k(() => e.rounded || e.nav), K = k(() => e.color ?? e.activeColor), F = k(() => ({
|
|
3985
3985
|
color: y.value ? K.value ?? e.baseColor : e.baseColor,
|
|
3986
3986
|
variant: e.variant
|
|
3987
3987
|
}));
|
|
@@ -3996,20 +3996,20 @@ const ya = {
|
|
|
3996
3996
|
const {
|
|
3997
3997
|
themeClasses: O
|
|
3998
3998
|
} = Se(e), {
|
|
3999
|
-
borderClasses:
|
|
3999
|
+
borderClasses: T
|
|
4000
4000
|
} = st(e), {
|
|
4001
4001
|
colorClasses: I,
|
|
4002
4002
|
colorStyles: W,
|
|
4003
|
-
variantClasses:
|
|
4004
|
-
} =
|
|
4003
|
+
variantClasses: U
|
|
4004
|
+
} = Vn(F), {
|
|
4005
4005
|
densityClasses: Z
|
|
4006
4006
|
} = ut(e), {
|
|
4007
4007
|
dimensionStyles: ge
|
|
4008
4008
|
} = vt(e), {
|
|
4009
4009
|
elevationClasses: H
|
|
4010
|
-
} =
|
|
4010
|
+
} = Tt(e), {
|
|
4011
4011
|
roundedClasses: oe
|
|
4012
|
-
} = $e(
|
|
4012
|
+
} = $e(G), Ne = k(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), ye = k(() => e.ripple !== void 0 && e.ripple && h?.filterable ? {
|
|
4013
4013
|
keys: ["Enter"]
|
|
4014
4014
|
} : e.ripple), pe = S(() => ({
|
|
4015
4015
|
isActive: y.value,
|
|
@@ -4019,7 +4019,7 @@ const ya = {
|
|
|
4019
4019
|
isIndeterminate: f.value
|
|
4020
4020
|
}));
|
|
4021
4021
|
function $t(_) {
|
|
4022
|
-
i("click", _), !["INPUT", "TEXTAREA"].includes(_.target?.tagName) &&
|
|
4022
|
+
i("click", _), !["INPUT", "TEXTAREA"].includes(_.target?.tagName) && V.value && (r.navigate?.(_), !g && (p.activatable.value ? s(!l.value, _) : (p.selectable.value || e.value != null && !C.value) && u(!d.value, _)));
|
|
4023
4023
|
}
|
|
4024
4024
|
function Nt(_) {
|
|
4025
4025
|
const fe = _.target;
|
|
@@ -4031,20 +4031,20 @@ const ya = {
|
|
|
4031
4031
|
class: ["v-list-item", {
|
|
4032
4032
|
"v-list-item--active": y.value,
|
|
4033
4033
|
"v-list-item--disabled": e.disabled,
|
|
4034
|
-
"v-list-item--link":
|
|
4034
|
+
"v-list-item--link": V.value,
|
|
4035
4035
|
"v-list-item--nav": e.nav,
|
|
4036
4036
|
"v-list-item--prepend": !Ft && h?.hasPrepend.value,
|
|
4037
4037
|
"v-list-item--slim": e.slim,
|
|
4038
4038
|
[`${e.activeClass}`]: e.activeClass && y.value
|
|
4039
|
-
}, O.value,
|
|
4039
|
+
}, O.value, T.value, I.value, Z.value, H.value, Ne.value, oe.value, U.value, e.class],
|
|
4040
4040
|
style: [W.value, ge.value, e.style],
|
|
4041
|
-
tabindex:
|
|
4041
|
+
tabindex: V.value ? h ? -2 : 0 : void 0,
|
|
4042
4042
|
"aria-selected": x.value,
|
|
4043
4043
|
role: R.value,
|
|
4044
4044
|
onClick: $t,
|
|
4045
|
-
onKeydown:
|
|
4045
|
+
onKeydown: V.value && !C.value && Nt
|
|
4046
4046
|
}), {
|
|
4047
|
-
default: () => [
|
|
4047
|
+
default: () => [Tn(V.value || y.value, "v-list-item"), Ft && E("div", {
|
|
4048
4048
|
key: "prepend",
|
|
4049
4049
|
class: "v-list-item__prepend"
|
|
4050
4050
|
}, [a.prepend ? w(we, {
|
|
@@ -4069,7 +4069,7 @@ const ya = {
|
|
|
4069
4069
|
key: "prepend-avatar",
|
|
4070
4070
|
density: e.density,
|
|
4071
4071
|
image: e.prependAvatar
|
|
4072
|
-
}, null), e.prependIcon && w(
|
|
4072
|
+
}, null), e.prependIcon && w(Ve, {
|
|
4073
4073
|
key: "prepend-icon",
|
|
4074
4074
|
density: e.density,
|
|
4075
4075
|
icon: e.prependIcon
|
|
@@ -4111,7 +4111,7 @@ const ya = {
|
|
|
4111
4111
|
}
|
|
4112
4112
|
}, {
|
|
4113
4113
|
default: () => [a.append?.(pe.value)]
|
|
4114
|
-
}) : E(Ce, null, [e.appendIcon && w(
|
|
4114
|
+
}) : E(Ce, null, [e.appendIcon && w(Ve, {
|
|
4115
4115
|
key: "append-icon",
|
|
4116
4116
|
density: e.density,
|
|
4117
4117
|
icon: e.appendIcon
|
|
@@ -4122,7 +4122,7 @@ const ya = {
|
|
|
4122
4122
|
}, null)]), E("div", {
|
|
4123
4123
|
class: "v-list-item__spacer"
|
|
4124
4124
|
}, null)])]
|
|
4125
|
-
}), [[un,
|
|
4125
|
+
}), [[un, V.value && ye.value]]);
|
|
4126
4126
|
}), {
|
|
4127
4127
|
activate: s,
|
|
4128
4128
|
isActivated: l,
|
|
@@ -4491,7 +4491,7 @@ const Jo = A({
|
|
|
4491
4491
|
dimensionStyles: u
|
|
4492
4492
|
} = vt(e), {
|
|
4493
4493
|
elevationClasses: c
|
|
4494
|
-
} =
|
|
4494
|
+
} = Tt(e), {
|
|
4495
4495
|
roundedClasses: d
|
|
4496
4496
|
} = $e(e), {
|
|
4497
4497
|
children: f,
|
|
@@ -4523,38 +4523,38 @@ const Jo = A({
|
|
|
4523
4523
|
variant: k(() => e.variant)
|
|
4524
4524
|
}
|
|
4525
4525
|
});
|
|
4526
|
-
const
|
|
4527
|
-
function x(
|
|
4528
|
-
|
|
4526
|
+
const V = $(!1), R = N();
|
|
4527
|
+
function x(T) {
|
|
4528
|
+
V.value = !0;
|
|
4529
4529
|
}
|
|
4530
|
-
function
|
|
4531
|
-
|
|
4530
|
+
function G(T) {
|
|
4531
|
+
V.value = !1;
|
|
4532
4532
|
}
|
|
4533
|
-
function K(
|
|
4534
|
-
!
|
|
4533
|
+
function K(T) {
|
|
4534
|
+
!V.value && !(T.relatedTarget && R.value?.contains(T.relatedTarget)) && O();
|
|
4535
4535
|
}
|
|
4536
|
-
function F(
|
|
4537
|
-
const I =
|
|
4538
|
-
if (!(!R.value || I.tagName === "INPUT" && ["Home", "End"].includes(
|
|
4539
|
-
if (
|
|
4536
|
+
function F(T) {
|
|
4537
|
+
const I = T.target;
|
|
4538
|
+
if (!(!R.value || I.tagName === "INPUT" && ["Home", "End"].includes(T.key) || I.tagName === "TEXTAREA")) {
|
|
4539
|
+
if (T.key === "ArrowDown")
|
|
4540
4540
|
O("next");
|
|
4541
|
-
else if (
|
|
4541
|
+
else if (T.key === "ArrowUp")
|
|
4542
4542
|
O("prev");
|
|
4543
|
-
else if (
|
|
4543
|
+
else if (T.key === "Home")
|
|
4544
4544
|
O("first");
|
|
4545
|
-
else if (
|
|
4545
|
+
else if (T.key === "End")
|
|
4546
4546
|
O("last");
|
|
4547
4547
|
else
|
|
4548
4548
|
return;
|
|
4549
|
-
|
|
4549
|
+
T.preventDefault();
|
|
4550
4550
|
}
|
|
4551
4551
|
}
|
|
4552
|
-
function L(
|
|
4553
|
-
|
|
4552
|
+
function L(T) {
|
|
4553
|
+
V.value = !0;
|
|
4554
4554
|
}
|
|
4555
|
-
function O(
|
|
4555
|
+
function O(T) {
|
|
4556
4556
|
if (R.value)
|
|
4557
|
-
return Je(R.value,
|
|
4557
|
+
return Je(R.value, T);
|
|
4558
4558
|
}
|
|
4559
4559
|
return Q(() => w(e.tag, {
|
|
4560
4560
|
ref: R,
|
|
@@ -4568,7 +4568,7 @@ const Jo = A({
|
|
|
4568
4568
|
role: P.value ? "listbox" : "list",
|
|
4569
4569
|
"aria-activedescendant": void 0,
|
|
4570
4570
|
onFocusin: x,
|
|
4571
|
-
onFocusout:
|
|
4571
|
+
onFocusout: G,
|
|
4572
4572
|
onFocus: K,
|
|
4573
4573
|
onKeydown: F,
|
|
4574
4574
|
onMousedown: L
|
|
@@ -4746,8 +4746,8 @@ function os(e, t, n) {
|
|
|
4746
4746
|
(Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (b = Ra(e.target.value));
|
|
4747
4747
|
const v = rs(e.contentEl.value, e.isRtl.value), h = kt(e.contentEl.value), y = t.stickToTarget ? 0 : 12;
|
|
4748
4748
|
h.length || (h.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (v.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), v.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
|
4749
|
-
const C = h.reduce((O,
|
|
4750
|
-
const I = sr(
|
|
4749
|
+
const C = h.reduce((O, T) => {
|
|
4750
|
+
const I = sr(T);
|
|
4751
4751
|
return O ? new se({
|
|
4752
4752
|
x: Math.max(O.left, I.left),
|
|
4753
4753
|
y: Math.max(O.top, I.top),
|
|
@@ -4760,10 +4760,10 @@ function os(e, t, n) {
|
|
|
4760
4760
|
anchor: i.value,
|
|
4761
4761
|
origin: r.value
|
|
4762
4762
|
};
|
|
4763
|
-
function
|
|
4764
|
-
const
|
|
4763
|
+
function V(O) {
|
|
4764
|
+
const T = new se(v), I = ba(O.anchor, b), W = ba(O.origin, T);
|
|
4765
4765
|
let {
|
|
4766
|
-
x:
|
|
4766
|
+
x: U,
|
|
4767
4767
|
y: Z
|
|
4768
4768
|
} = ts(I, W);
|
|
4769
4769
|
switch (O.anchor.side) {
|
|
@@ -4774,10 +4774,10 @@ function os(e, t, n) {
|
|
|
4774
4774
|
Z += c.value[0];
|
|
4775
4775
|
break;
|
|
4776
4776
|
case "left":
|
|
4777
|
-
|
|
4777
|
+
U -= c.value[0];
|
|
4778
4778
|
break;
|
|
4779
4779
|
case "right":
|
|
4780
|
-
|
|
4780
|
+
U += c.value[0];
|
|
4781
4781
|
break;
|
|
4782
4782
|
}
|
|
4783
4783
|
switch (O.anchor.align) {
|
|
@@ -4788,20 +4788,20 @@ function os(e, t, n) {
|
|
|
4788
4788
|
Z += c.value[1];
|
|
4789
4789
|
break;
|
|
4790
4790
|
case "left":
|
|
4791
|
-
|
|
4791
|
+
U -= c.value[1];
|
|
4792
4792
|
break;
|
|
4793
4793
|
case "right":
|
|
4794
|
-
|
|
4794
|
+
U += c.value[1];
|
|
4795
4795
|
break;
|
|
4796
4796
|
}
|
|
4797
|
-
return
|
|
4798
|
-
overflows: qn(
|
|
4799
|
-
x:
|
|
4797
|
+
return T.x += U, T.y += Z, T.width = Math.min(T.width, l.value), T.height = Math.min(T.height, u.value), {
|
|
4798
|
+
overflows: qn(T, C),
|
|
4799
|
+
x: U,
|
|
4800
4800
|
y: Z
|
|
4801
4801
|
};
|
|
4802
4802
|
}
|
|
4803
4803
|
let R = 0, x = 0;
|
|
4804
|
-
const
|
|
4804
|
+
const G = {
|
|
4805
4805
|
x: 0,
|
|
4806
4806
|
y: 0
|
|
4807
4807
|
}, K = {
|
|
@@ -4816,15 +4816,15 @@ function os(e, t, n) {
|
|
|
4816
4816
|
}
|
|
4817
4817
|
const {
|
|
4818
4818
|
x: O,
|
|
4819
|
-
y:
|
|
4819
|
+
y: T,
|
|
4820
4820
|
overflows: I
|
|
4821
|
-
} =
|
|
4822
|
-
R += O, x +=
|
|
4821
|
+
} = V(P);
|
|
4822
|
+
R += O, x += T, v.x += O, v.y += T;
|
|
4823
4823
|
{
|
|
4824
|
-
const W = Un(P.anchor),
|
|
4824
|
+
const W = Un(P.anchor), U = I.x.before || I.x.after, Z = I.y.before || I.y.after;
|
|
4825
4825
|
let ge = !1;
|
|
4826
4826
|
if (["x", "y"].forEach((H) => {
|
|
4827
|
-
if (H === "x" &&
|
|
4827
|
+
if (H === "x" && U && !K.x || H === "y" && Z && !K.y) {
|
|
4828
4828
|
const oe = {
|
|
4829
4829
|
anchor: {
|
|
4830
4830
|
...P.anchor
|
|
@@ -4836,7 +4836,7 @@ function os(e, t, n) {
|
|
|
4836
4836
|
oe.anchor = Ne(oe.anchor), oe.origin = Ne(oe.origin);
|
|
4837
4837
|
const {
|
|
4838
4838
|
overflows: ye
|
|
4839
|
-
} =
|
|
4839
|
+
} = V(oe);
|
|
4840
4840
|
(ye[H].before <= I[H].before && ye[H].after <= I[H].after || ye[H].before + ye[H].after < (I[H].before + I[H].after) / 2) && (P = oe, ge = K[H] = !0);
|
|
4841
4841
|
}
|
|
4842
4842
|
}), ge) continue;
|
|
@@ -4844,7 +4844,7 @@ function os(e, t, n) {
|
|
|
4844
4844
|
I.x.before && (R += I.x.before, v.x += I.x.before), I.x.after && (R -= I.x.after, v.x -= I.x.after), I.y.before && (x += I.y.before, v.y += I.y.before), I.y.after && (x -= I.y.after, v.y -= I.y.after);
|
|
4845
4845
|
{
|
|
4846
4846
|
const W = qn(v, C);
|
|
4847
|
-
|
|
4847
|
+
G.x = C.width - W.x.before - W.x.after, G.y = C.height - W.y.before - W.y.after, R += W.x.before, v.x += W.x.before, x += W.y.before, v.y += W.y.before;
|
|
4848
4848
|
}
|
|
4849
4849
|
break;
|
|
4850
4850
|
}
|
|
@@ -4857,10 +4857,10 @@ function os(e, t, n) {
|
|
|
4857
4857
|
left: e.isRtl.value ? void 0 : B(Ut(R)),
|
|
4858
4858
|
right: e.isRtl.value ? B(Ut(-R)) : void 0,
|
|
4859
4859
|
minWidth: B(L === "y" ? Math.min(o.value, b.width) : o.value),
|
|
4860
|
-
maxWidth: B(Sa(qe(
|
|
4861
|
-
maxHeight: B(Sa(qe(
|
|
4860
|
+
maxWidth: B(Sa(qe(G.x, o.value === 1 / 0 ? 0 : o.value, l.value))),
|
|
4861
|
+
maxHeight: B(Sa(qe(G.y, s.value === 1 / 0 ? 0 : s.value, u.value)))
|
|
4862
4862
|
}), {
|
|
4863
|
-
available:
|
|
4863
|
+
available: G,
|
|
4864
4864
|
contentBox: v,
|
|
4865
4865
|
flipped: K
|
|
4866
4866
|
};
|
|
@@ -5063,16 +5063,16 @@ function ys(e, t) {
|
|
|
5063
5063
|
s = !0, f();
|
|
5064
5064
|
}, x.onMouseleave = () => {
|
|
5065
5065
|
s = !1, g();
|
|
5066
|
-
}), c.value && (x.onFocusin = () => {
|
|
5067
|
-
l = !0, f();
|
|
5066
|
+
}), c.value && (x.onFocusin = (G) => {
|
|
5067
|
+
G.target.matches(":focus-visible") && (l = !0, f());
|
|
5068
5068
|
}, x.onFocusout = () => {
|
|
5069
5069
|
l = !1, g({
|
|
5070
5070
|
minDelay: 1
|
|
5071
5071
|
});
|
|
5072
5072
|
}), e.closeOnContentClick) {
|
|
5073
|
-
const
|
|
5073
|
+
const G = J(mn, null);
|
|
5074
5074
|
x.onClick = () => {
|
|
5075
|
-
n.value = !1,
|
|
5075
|
+
n.value = !1, G?.closeParents();
|
|
5076
5076
|
};
|
|
5077
5077
|
}
|
|
5078
5078
|
return x;
|
|
@@ -5099,7 +5099,7 @@ function ys(e, t) {
|
|
|
5099
5099
|
o.value = y.el;
|
|
5100
5100
|
});
|
|
5101
5101
|
});
|
|
5102
|
-
const C = tn(), P = S(() => e.target === "cursor" && p.value ? p.value : C.value ? C.el : Ci(e.target, r) || o.value),
|
|
5102
|
+
const C = tn(), P = S(() => e.target === "cursor" && p.value ? p.value : C.value ? C.el : Ci(e.target, r) || o.value), V = S(() => Array.isArray(P.value) ? void 0 : P.value);
|
|
5103
5103
|
let R;
|
|
5104
5104
|
return D(() => !!e.activator, (x) => {
|
|
5105
5105
|
x && te ? (R = yn(), R.run(() => {
|
|
@@ -5117,7 +5117,7 @@ function ys(e, t) {
|
|
|
5117
5117
|
activatorEl: o,
|
|
5118
5118
|
activatorRef: y,
|
|
5119
5119
|
target: P,
|
|
5120
|
-
targetEl:
|
|
5120
|
+
targetEl: V,
|
|
5121
5121
|
targetRef: C,
|
|
5122
5122
|
activatorEvents: m,
|
|
5123
5123
|
contentEvents: v,
|
|
@@ -5394,7 +5394,7 @@ const Ei = A({
|
|
|
5394
5394
|
attrs: a,
|
|
5395
5395
|
emit: i
|
|
5396
5396
|
} = t;
|
|
5397
|
-
const r = Y("VOverlay"), o = N(), s = N(), l = N(), u =
|
|
5397
|
+
const r = Y("VOverlay"), o = N(), s = N(), l = N(), u = Te(e, "modelValue"), c = S({
|
|
5398
5398
|
get: () => u.value,
|
|
5399
5399
|
set: (_) => {
|
|
5400
5400
|
_ && e.disabled || (u.value = _);
|
|
@@ -5414,10 +5414,10 @@ const Ei = A({
|
|
|
5414
5414
|
} = ks(c, () => e.zIndex, e._disableGlobalStack), {
|
|
5415
5415
|
activatorEl: C,
|
|
5416
5416
|
activatorRef: P,
|
|
5417
|
-
target:
|
|
5417
|
+
target: V,
|
|
5418
5418
|
targetEl: R,
|
|
5419
5419
|
targetRef: x,
|
|
5420
|
-
activatorEvents:
|
|
5420
|
+
activatorEvents: G,
|
|
5421
5421
|
contentEvents: K,
|
|
5422
5422
|
scrimEvents: F
|
|
5423
5423
|
} = ys(e, {
|
|
@@ -5433,7 +5433,7 @@ const Ei = A({
|
|
|
5433
5433
|
return fe instanceof ShadowRoot ? fe : !1;
|
|
5434
5434
|
}), {
|
|
5435
5435
|
dimensionStyles: O
|
|
5436
|
-
} = vt(e),
|
|
5436
|
+
} = vt(e), T = ps(), {
|
|
5437
5437
|
scopeId: I
|
|
5438
5438
|
} = ki();
|
|
5439
5439
|
D(() => e.disabled, (_) => {
|
|
@@ -5441,20 +5441,20 @@ const Ei = A({
|
|
|
5441
5441
|
});
|
|
5442
5442
|
const {
|
|
5443
5443
|
contentStyles: W,
|
|
5444
|
-
updateLocation:
|
|
5444
|
+
updateLocation: U
|
|
5445
5445
|
} = as(e, {
|
|
5446
5446
|
isRtl: g,
|
|
5447
5447
|
contentEl: l,
|
|
5448
|
-
target:
|
|
5448
|
+
target: V,
|
|
5449
5449
|
isActive: c
|
|
5450
5450
|
});
|
|
5451
5451
|
us(e, {
|
|
5452
5452
|
root: o,
|
|
5453
5453
|
contentEl: l,
|
|
5454
5454
|
targetEl: R,
|
|
5455
|
-
target:
|
|
5455
|
+
target: V,
|
|
5456
5456
|
isActive: c,
|
|
5457
|
-
updateLocation:
|
|
5457
|
+
updateLocation: U
|
|
5458
5458
|
});
|
|
5459
5459
|
function Z(_) {
|
|
5460
5460
|
i("click:outside", _), e.persistent ? pe() : c.value = !1;
|
|
@@ -5512,8 +5512,8 @@ const Ei = A({
|
|
|
5512
5512
|
targetRef: x,
|
|
5513
5513
|
props: j({
|
|
5514
5514
|
ref: P
|
|
5515
|
-
},
|
|
5516
|
-
}),
|
|
5515
|
+
}, G.value, e.activatorProps)
|
|
5516
|
+
}), T.value && p.value && w(Fi, {
|
|
5517
5517
|
disabled: !L.value,
|
|
5518
5518
|
to: L.value
|
|
5519
5519
|
}, {
|
|
@@ -5537,7 +5537,7 @@ const Ei = A({
|
|
|
5537
5537
|
appear: !0,
|
|
5538
5538
|
persisted: !0,
|
|
5539
5539
|
transition: e.transition,
|
|
5540
|
-
target:
|
|
5540
|
+
target: V.value,
|
|
5541
5541
|
onAfterEnter: $t,
|
|
5542
5542
|
onAfterLeave: Nt
|
|
5543
5543
|
}, {
|
|
@@ -5556,13 +5556,13 @@ const Ei = A({
|
|
|
5556
5556
|
})])), {
|
|
5557
5557
|
activatorEl: C,
|
|
5558
5558
|
scrimEl: s,
|
|
5559
|
-
target:
|
|
5559
|
+
target: V,
|
|
5560
5560
|
animateClick: pe,
|
|
5561
5561
|
contentEl: l,
|
|
5562
5562
|
rootEl: o,
|
|
5563
5563
|
globalTop: v,
|
|
5564
5564
|
localTop: h,
|
|
5565
|
-
updateLocation:
|
|
5565
|
+
updateLocation: U
|
|
5566
5566
|
};
|
|
5567
5567
|
}
|
|
5568
5568
|
}), qt = Symbol("Forwarded refs");
|
|
@@ -5659,7 +5659,7 @@ const Os = A({
|
|
|
5659
5659
|
let {
|
|
5660
5660
|
slots: n
|
|
5661
5661
|
} = t;
|
|
5662
|
-
const a =
|
|
5662
|
+
const a = Te(e, "modelValue"), {
|
|
5663
5663
|
scopeId: i
|
|
5664
5664
|
} = ki(), {
|
|
5665
5665
|
isRtl: r
|
|
@@ -5739,8 +5739,8 @@ const Os = A({
|
|
|
5739
5739
|
}, i), {
|
|
5740
5740
|
activator: n.activator,
|
|
5741
5741
|
default: function() {
|
|
5742
|
-
for (var C = arguments.length, P = new Array(C),
|
|
5743
|
-
P[
|
|
5742
|
+
for (var C = arguments.length, P = new Array(C), V = 0; V < C; V++)
|
|
5743
|
+
P[V] = arguments[V];
|
|
5744
5744
|
return w(we, {
|
|
5745
5745
|
root: "VMenu"
|
|
5746
5746
|
}, {
|
|
@@ -5753,7 +5753,7 @@ const Os = A({
|
|
|
5753
5753
|
ΨopenChildren: c
|
|
5754
5754
|
}, l);
|
|
5755
5755
|
}
|
|
5756
|
-
}),
|
|
5756
|
+
}), Ts = /* @__PURE__ */ At({
|
|
5757
5757
|
__name: "ActionButtons",
|
|
5758
5758
|
props: {
|
|
5759
5759
|
buttons: { default: () => [] }
|
|
@@ -5766,7 +5766,7 @@ const Os = A({
|
|
|
5766
5766
|
size: "small"
|
|
5767
5767
|
}, {
|
|
5768
5768
|
default: yt(() => [
|
|
5769
|
-
w(
|
|
5769
|
+
w(Ve),
|
|
5770
5770
|
w(Is, {
|
|
5771
5771
|
class: "action-buttons",
|
|
5772
5772
|
location: "bottom end",
|
|
@@ -5798,7 +5798,7 @@ const Os = A({
|
|
|
5798
5798
|
_: 1
|
|
5799
5799
|
}, 8, ["icon"]));
|
|
5800
5800
|
}
|
|
5801
|
-
}),
|
|
5801
|
+
}), Vs = /* @__PURE__ */ At({
|
|
5802
5802
|
__name: "Button",
|
|
5803
5803
|
props: {
|
|
5804
5804
|
options: { default: () => ({ to: "#" }) }
|
|
@@ -5826,7 +5826,7 @@ const Os = A({
|
|
|
5826
5826
|
}
|
|
5827
5827
|
});
|
|
5828
5828
|
function tl() {
|
|
5829
|
-
return {
|
|
5829
|
+
return { DTActionButtons: Ts, DTButton: Vs, DTLink: Bs };
|
|
5830
5830
|
}
|
|
5831
5831
|
const nl = {
|
|
5832
5832
|
install(e, t) {
|
|
@@ -5852,7 +5852,7 @@ const nl = {
|
|
|
5852
5852
|
})
|
|
5853
5853
|
), e.component(
|
|
5854
5854
|
"DataTable",
|
|
5855
|
-
Hi(() => import("./index-
|
|
5855
|
+
Hi(() => import("./index-BUe_gyg1.js").then((n) => n.p))
|
|
5856
5856
|
);
|
|
5857
5857
|
}
|
|
5858
5858
|
};
|
|
@@ -5868,7 +5868,7 @@ export {
|
|
|
5868
5868
|
Ze as H,
|
|
5869
5869
|
ae as I,
|
|
5870
5870
|
Ie as J,
|
|
5871
|
-
|
|
5871
|
+
Te as K,
|
|
5872
5872
|
Ks as L,
|
|
5873
5873
|
Ns as M,
|
|
5874
5874
|
Pn as N,
|
|
@@ -5952,17 +5952,17 @@ export {
|
|
|
5952
5952
|
Fs as az,
|
|
5953
5953
|
ee as b,
|
|
5954
5954
|
Pr as c,
|
|
5955
|
-
|
|
5955
|
+
Ve as d,
|
|
5956
5956
|
we as e,
|
|
5957
5957
|
lt as f,
|
|
5958
5958
|
z as g,
|
|
5959
5959
|
Se as h,
|
|
5960
5960
|
st as i,
|
|
5961
|
-
|
|
5961
|
+
Vn as j,
|
|
5962
5962
|
ut as k,
|
|
5963
5963
|
vt as l,
|
|
5964
5964
|
de as m,
|
|
5965
|
-
|
|
5965
|
+
Tt as n,
|
|
5966
5966
|
no as o,
|
|
5967
5967
|
A as p,
|
|
5968
5968
|
Ua as q,
|
|
@@ -5970,7 +5970,7 @@ export {
|
|
|
5970
5970
|
$e as s,
|
|
5971
5971
|
qa as t,
|
|
5972
5972
|
Q as u,
|
|
5973
|
-
|
|
5973
|
+
Tn as v,
|
|
5974
5974
|
Do as w,
|
|
5975
5975
|
ct as x,
|
|
5976
5976
|
me as y,
|