@ianicdev/datatables2 0.8.16 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Columns-CXLpVp9o.cjs → Columns-5FUNk8-6.cjs} +1 -1
- package/dist/{Columns-DFFA76r9.js → Columns-lW5ifpVY.js} +1 -1
- package/dist/{Comparison-CHgtd2_K.cjs → Comparison-B_jdQPdW.cjs} +1 -1
- package/dist/{Comparison-CxtIF1j1.js → Comparison-OWm3KG63.js} +1 -1
- package/dist/Datepicker-BDXMvB6Q.cjs +1 -0
- package/dist/Datepicker-D0Yzqhky.js +1272 -0
- package/dist/{Download-DQeQ7L-F.cjs → Download-DZv0Co50.cjs} +1 -1
- package/dist/{Download-CVYfz0Dn.js → Download-Dv6nv_kh.js} +2 -2
- package/dist/{Options-CCs38y2s.js → Options-CvAQ7vuJ.js} +2 -2
- package/dist/{Options-zU-AQOf5.cjs → Options-Dmq3tFGa.cjs} +1 -1
- package/dist/{RefreshTable-CL-wZop-.cjs → RefreshTable-DQt3K_wT.cjs} +1 -1
- package/dist/{RefreshTable-Bd3R53R5.js → RefreshTable-vbz6jP_l.js} +2 -2
- package/dist/{Search-D8HrkoPb.js → Search-KNaJ43Yv.js} +2 -2
- package/dist/{Search-Bx6YYkMQ.cjs → Search-w6O09lLl.cjs} +1 -1
- package/dist/{Table-Bmliyq7v.cjs → Table-Bfa_XCKK.cjs} +1 -1
- package/dist/{Table-CNs60LSW.js → Table-P3KDor2k.js} +2 -2
- package/dist/{TableServer-iUuU7UzF.js → TableServer-C7VVLhRY.js} +3 -3
- package/dist/{TableServer-DofMcT2r.cjs → TableServer-CraUFndq.cjs} +1 -1
- package/dist/{cellRender-B33OOzkW.cjs → cellRender-AyOlbHkM.cjs} +1 -1
- package/dist/{cellRender-B0HWDUm8.js → cellRender-BSERCH_s.js} +2 -2
- package/dist/{dataTables-B08Xc7bo.js → dataTables-DqHE-hm9.js} +134 -141
- package/dist/{dataTables-DCnrUmUh.cjs → dataTables-oPwexOUF.cjs} +2 -2
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/datatables2.css +1 -1
- package/dist/escapeKeyString-CngwDxKW.js +17 -0
- package/dist/escapeKeyString-nS7kXLwu.cjs +1 -0
- package/dist/{index-bh7xyE4p.js → index-BjboPrMg.js} +1 -1
- package/dist/index-BwtJBnu1.cjs +1 -0
- package/dist/{index-BtA1RE4g.js → index-FhbzpwmS.js} +559 -552
- package/dist/{index-CR-8W111.cjs → index-Wzi3PVax.cjs} +1 -1
- package/lib/locale/de.js +14 -0
- package/lib/locale/index.js +1 -0
- package/package.json +7 -7
- package/dist/Datepicker-9OGqYUYS.js +0 -1246
- package/dist/Datepicker-CqIdbz1C.cjs +0 -1
- package/dist/escapeKeyString-B_mzfoez.js +0 -17
- package/dist/escapeKeyString-CQVlwp30.cjs +0 -1
- package/dist/index-DYDMoN3B.cjs +0 -1
|
@@ -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"];
|
|
@@ -437,13 +437,13 @@ function Un(e) {
|
|
|
437
437
|
}
|
|
438
438
|
class se {
|
|
439
439
|
constructor(t) {
|
|
440
|
-
const n = document.body.currentCSSZoom ?? 1,
|
|
441
|
-
x:
|
|
442
|
-
y:
|
|
443
|
-
width:
|
|
444
|
-
height:
|
|
440
|
+
const n = document.body.currentCSSZoom ?? 1, i = t.top === void 0 ? 1 : 1 + (1 - n) / n, {
|
|
441
|
+
x: r,
|
|
442
|
+
y: o,
|
|
443
|
+
width: s,
|
|
444
|
+
height: l
|
|
445
445
|
} = t;
|
|
446
|
-
this.x =
|
|
446
|
+
this.x = r * i, this.y = o * i, this.width = s * i, this.height = l * i;
|
|
447
447
|
}
|
|
448
448
|
get top() {
|
|
449
449
|
return this.y;
|
|
@@ -499,15 +499,8 @@ function sr(e) {
|
|
|
499
499
|
width: document.documentElement.clientWidth,
|
|
500
500
|
height: document.documentElement.clientHeight
|
|
501
501
|
});
|
|
502
|
-
else
|
|
503
|
-
|
|
504
|
-
return new se({
|
|
505
|
-
x: t.x,
|
|
506
|
-
y: t.y,
|
|
507
|
-
width: e.clientWidth,
|
|
508
|
-
height: e.clientHeight
|
|
509
|
-
});
|
|
510
|
-
}
|
|
502
|
+
else
|
|
503
|
+
return new se(e.getBoundingClientRect());
|
|
511
504
|
}
|
|
512
505
|
function $a(e) {
|
|
513
506
|
const t = new se(e.getBoundingClientRect()), n = getComputedStyle(e), a = n.transform;
|
|
@@ -551,7 +544,7 @@ const ht = /* @__PURE__ */ new WeakMap();
|
|
|
551
544
|
function lr(e, t) {
|
|
552
545
|
Object.keys(t).forEach((n) => {
|
|
553
546
|
if (Ia(n)) {
|
|
554
|
-
const a =
|
|
547
|
+
const a = Va(n), i = ht.get(e);
|
|
555
548
|
if (t[n] == null)
|
|
556
549
|
i?.forEach((r) => {
|
|
557
550
|
const [o, s] = r;
|
|
@@ -569,7 +562,7 @@ function lr(e, t) {
|
|
|
569
562
|
function ur(e, t) {
|
|
570
563
|
Object.keys(t).forEach((n) => {
|
|
571
564
|
if (Ia(n)) {
|
|
572
|
-
const a =
|
|
565
|
+
const a = Va(n), i = ht.get(e);
|
|
573
566
|
i?.forEach((r) => {
|
|
574
567
|
const [o, s] = r;
|
|
575
568
|
o === a && (e.removeEventListener(a, s), i.delete(r));
|
|
@@ -963,7 +956,7 @@ function Q(e) {
|
|
|
963
956
|
const t = Y("useRender");
|
|
964
957
|
t.render = e;
|
|
965
958
|
}
|
|
966
|
-
function
|
|
959
|
+
function Tr(e, t) {
|
|
967
960
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
968
961
|
leading: !0,
|
|
969
962
|
trailing: !0
|
|
@@ -997,11 +990,11 @@ function st(e) {
|
|
|
997
990
|
})
|
|
998
991
|
};
|
|
999
992
|
}
|
|
1000
|
-
const
|
|
993
|
+
const Vr = [null, "default", "comfortable", "compact"], lt = A({
|
|
1001
994
|
density: {
|
|
1002
995
|
type: String,
|
|
1003
996
|
default: "default",
|
|
1004
|
-
validator: (e) =>
|
|
997
|
+
validator: (e) => Vr.includes(e)
|
|
1005
998
|
}
|
|
1006
999
|
}, "density");
|
|
1007
1000
|
function ut(e) {
|
|
@@ -1021,7 +1014,7 @@ const It = A({
|
|
|
1021
1014
|
}
|
|
1022
1015
|
}
|
|
1023
1016
|
}, "elevation");
|
|
1024
|
-
function
|
|
1017
|
+
function Tt(e) {
|
|
1025
1018
|
return {
|
|
1026
1019
|
elevationClasses: k(() => {
|
|
1027
1020
|
const n = bt(e) ? e.value : e.elevation;
|
|
@@ -1133,7 +1126,7 @@ function Lr(e) {
|
|
|
1133
1126
|
};
|
|
1134
1127
|
}
|
|
1135
1128
|
const Rr = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
|
1136
|
-
function
|
|
1129
|
+
function Tn(e, t) {
|
|
1137
1130
|
return E(Ce, null, [e && E("span", {
|
|
1138
1131
|
key: "overlay",
|
|
1139
1132
|
class: M(`${t}__overlay`)
|
|
@@ -1150,7 +1143,7 @@ const ct = A({
|
|
|
1150
1143
|
validator: (e) => Rr.includes(e)
|
|
1151
1144
|
}
|
|
1152
1145
|
}, "variant");
|
|
1153
|
-
function
|
|
1146
|
+
function Vn(e) {
|
|
1154
1147
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xe();
|
|
1155
1148
|
const n = k(() => {
|
|
1156
1149
|
const {
|
|
@@ -1205,7 +1198,7 @@ const Ma = A({
|
|
|
1205
1198
|
borderClasses: r
|
|
1206
1199
|
} = st(e), {
|
|
1207
1200
|
elevationClasses: o
|
|
1208
|
-
} =
|
|
1201
|
+
} = Tt(e), {
|
|
1209
1202
|
roundedClasses: s
|
|
1210
1203
|
} = $e(e);
|
|
1211
1204
|
_n({
|
|
@@ -1240,7 +1233,7 @@ function dt(e, t) {
|
|
|
1240
1233
|
n?.stop();
|
|
1241
1234
|
});
|
|
1242
1235
|
}
|
|
1243
|
-
function
|
|
1236
|
+
function Te(e, t, n) {
|
|
1244
1237
|
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
1238
|
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
1239
|
dt(() => !u.value, () => {
|
|
@@ -1325,7 +1318,7 @@ function Fr(e, t) {
|
|
|
1325
1318
|
}
|
|
1326
1319
|
function Mr(e, t) {
|
|
1327
1320
|
let n = !1;
|
|
1328
|
-
const a = Ge([]), i =
|
|
1321
|
+
const a = Ge([]), i = Te(e, "modelValue", [], (f) => f === void 0 ? [] : Da(a, f === null ? [null] : Pn(f)), (f) => {
|
|
1329
1322
|
const g = zr(a, f);
|
|
1330
1323
|
return e.multiple ? g : g[0];
|
|
1331
1324
|
}), r = Y("useGroup");
|
|
@@ -1483,7 +1476,7 @@ const Wr = A({
|
|
|
1483
1476
|
disabled: i
|
|
1484
1477
|
}), () => n.default?.();
|
|
1485
1478
|
}
|
|
1486
|
-
}), ae = [String, Function, Object, Array], Hr = Symbol.for("vuetify:icons"),
|
|
1479
|
+
}), ae = [String, Function, Object, Array], Hr = Symbol.for("vuetify:icons"), Vt = A({
|
|
1487
1480
|
icon: {
|
|
1488
1481
|
type: ae
|
|
1489
1482
|
},
|
|
@@ -1494,7 +1487,7 @@ const Wr = A({
|
|
|
1494
1487
|
}
|
|
1495
1488
|
}, "icon"), sa = z()({
|
|
1496
1489
|
name: "VComponentIcon",
|
|
1497
|
-
props:
|
|
1490
|
+
props: Vt(),
|
|
1498
1491
|
setup(e, t) {
|
|
1499
1492
|
let {
|
|
1500
1493
|
slots: n
|
|
@@ -1509,7 +1502,7 @@ const Wr = A({
|
|
|
1509
1502
|
}), Gr = rt({
|
|
1510
1503
|
name: "VSvgIcon",
|
|
1511
1504
|
inheritAttrs: !1,
|
|
1512
|
-
props:
|
|
1505
|
+
props: Vt(),
|
|
1513
1506
|
setup(e, t) {
|
|
1514
1507
|
let {
|
|
1515
1508
|
attrs: n
|
|
@@ -1536,7 +1529,7 @@ const Wr = A({
|
|
|
1536
1529
|
});
|
|
1537
1530
|
rt({
|
|
1538
1531
|
name: "VLigatureIcon",
|
|
1539
|
-
props:
|
|
1532
|
+
props: Vt(),
|
|
1540
1533
|
setup(e) {
|
|
1541
1534
|
return () => w(e.tag, null, {
|
|
1542
1535
|
default: () => [e.icon]
|
|
@@ -1545,7 +1538,7 @@ rt({
|
|
|
1545
1538
|
});
|
|
1546
1539
|
rt({
|
|
1547
1540
|
name: "VClassIcon",
|
|
1548
|
-
props:
|
|
1541
|
+
props: Vt(),
|
|
1549
1542
|
setup(e) {
|
|
1550
1543
|
return () => w(e.tag, {
|
|
1551
1544
|
class: M(e.icon)
|
|
@@ -1612,7 +1605,7 @@ const Kr = A({
|
|
|
1612
1605
|
tag: "i"
|
|
1613
1606
|
}),
|
|
1614
1607
|
...me()
|
|
1615
|
-
}, "VIcon"),
|
|
1608
|
+
}, "VIcon"), Ve = z()({
|
|
1616
1609
|
name: "VIcon",
|
|
1617
1610
|
props: Kr(),
|
|
1618
1611
|
setup(e, t) {
|
|
@@ -1632,7 +1625,7 @@ const Kr = A({
|
|
|
1632
1625
|
} = Ke(() => e.color);
|
|
1633
1626
|
return Q(() => {
|
|
1634
1627
|
const c = a.default?.();
|
|
1635
|
-
c && (i.value =
|
|
1628
|
+
c && (i.value = Ta(c).filter((f) => f.type === $i && f.children && typeof f.children == "string")[0]?.children);
|
|
1636
1629
|
const d = !!(n.onClick || n.onClickOnce);
|
|
1637
1630
|
return w(o.value.component, {
|
|
1638
1631
|
tag: e.tag,
|
|
@@ -1744,7 +1737,7 @@ const Xr = A({
|
|
|
1744
1737
|
} = ja(), {
|
|
1745
1738
|
resizeRef: b,
|
|
1746
1739
|
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),
|
|
1740
|
+
} = 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
1741
|
return be(() => {
|
|
1749
1742
|
g.value = r.value, b.value = r.value;
|
|
1750
1743
|
}), Q(() => w(e.tag, {
|
|
@@ -1784,7 +1777,7 @@ const Xr = A({
|
|
|
1784
1777
|
r: a,
|
|
1785
1778
|
"stroke-width": P.value,
|
|
1786
1779
|
"stroke-dasharray": i,
|
|
1787
|
-
"stroke-dashoffset":
|
|
1780
|
+
"stroke-dashoffset": V.value
|
|
1788
1781
|
}, null)]), n.default && E("div", {
|
|
1789
1782
|
class: "v-progress-circular__content"
|
|
1790
1783
|
}, [n.default({
|
|
@@ -1960,7 +1953,7 @@ const Jr = A({
|
|
|
1960
1953
|
let {
|
|
1961
1954
|
slots: n
|
|
1962
1955
|
} = t;
|
|
1963
|
-
const a = N(), i =
|
|
1956
|
+
const a = N(), i = Te(e, "modelValue"), {
|
|
1964
1957
|
isRtl: r,
|
|
1965
1958
|
rtlClasses: o
|
|
1966
1959
|
} = Rt(), {
|
|
@@ -1984,7 +1977,7 @@ const Jr = A({
|
|
|
1984
1977
|
} = $e(e), {
|
|
1985
1978
|
intersectionRef: h,
|
|
1986
1979
|
isIntersecting: y
|
|
1987
|
-
} = ja(), C = S(() => parseFloat(e.max)), P = S(() => parseFloat(e.height)),
|
|
1980
|
+
} = 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
1981
|
hasChunks: F,
|
|
1989
1982
|
chunksMaskStyles: L,
|
|
1990
1983
|
snapValueToChunk: O
|
|
@@ -1995,7 +1988,7 @@ const Jr = A({
|
|
|
1995
1988
|
} = Wa((Z) => K.value = Z[0].contentRect.width);
|
|
1996
1989
|
be(() => U.value = a.value);
|
|
1997
1990
|
});
|
|
1998
|
-
const
|
|
1991
|
+
const T = S(() => F.value ? O(V.value) : V.value), I = S(() => F.value ? O(R.value) : R.value);
|
|
1999
1992
|
function W(U) {
|
|
2000
1993
|
if (!h.value) return;
|
|
2001
1994
|
const {
|
|
@@ -2041,7 +2034,7 @@ const Jr = A({
|
|
|
2041
2034
|
borderTop: `${B(P.value / 2)} dotted`,
|
|
2042
2035
|
opacity: parseFloat(e.bufferOpacity),
|
|
2043
2036
|
top: `calc(50% - ${B(P.value / 4)})`,
|
|
2044
|
-
width: B(100 -
|
|
2037
|
+
width: B(100 - V.value, "%"),
|
|
2045
2038
|
"--v-progress-linear-stream-to": B(P.value * (x.value ? 1 : -1))
|
|
2046
2039
|
}
|
|
2047
2040
|
}, null), E("div", {
|
|
@@ -2054,7 +2047,7 @@ const Jr = A({
|
|
|
2054
2047
|
class: M(["v-progress-linear__buffer", g.value]),
|
|
2055
2048
|
style: X([p.value, {
|
|
2056
2049
|
opacity: parseFloat(e.bufferOpacity),
|
|
2057
|
-
width: B(
|
|
2050
|
+
width: B(T.value, "%")
|
|
2058
2051
|
}])
|
|
2059
2052
|
}, null), w(Be, {
|
|
2060
2053
|
name: G.value
|
|
@@ -2075,7 +2068,7 @@ const Jr = A({
|
|
|
2075
2068
|
class: "v-progress-linear__content"
|
|
2076
2069
|
}, [n.default({
|
|
2077
2070
|
value: R.value,
|
|
2078
|
-
buffer:
|
|
2071
|
+
buffer: V.value
|
|
2079
2072
|
})])]
|
|
2080
2073
|
})), {};
|
|
2081
2074
|
}
|
|
@@ -2425,7 +2418,7 @@ const un = {
|
|
|
2425
2418
|
dimensionStyles: s
|
|
2426
2419
|
} = vt(e), {
|
|
2427
2420
|
elevationClasses: l
|
|
2428
|
-
} =
|
|
2421
|
+
} = Tt(e), {
|
|
2429
2422
|
loaderClasses: u
|
|
2430
2423
|
} = no(e), {
|
|
2431
2424
|
locationStyles: c
|
|
@@ -2442,8 +2435,8 @@ const un = {
|
|
|
2442
2435
|
})), {
|
|
2443
2436
|
colorClasses: C,
|
|
2444
2437
|
colorStyles: P,
|
|
2445
|
-
variantClasses:
|
|
2446
|
-
} =
|
|
2438
|
+
variantClasses: V
|
|
2439
|
+
} = Vn(y), R = S(() => b?.disabled.value || e.disabled), x = k(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), G = S(() => {
|
|
2447
2440
|
if (!(e.value === void 0 || typeof e.value == "symbol"))
|
|
2448
2441
|
return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
|
|
2449
2442
|
});
|
|
@@ -2451,7 +2444,7 @@ const un = {
|
|
|
2451
2444
|
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
2445
|
}
|
|
2453
2446
|
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),
|
|
2447
|
+
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
2448
|
return Ue(w(F, j(m.linkProps, {
|
|
2456
2449
|
type: F === "a" ? void 0 : "button",
|
|
2457
2450
|
class: ["v-btn", b?.selectedClass.value, {
|
|
@@ -2465,7 +2458,7 @@ const un = {
|
|
|
2465
2458
|
"v-btn--readonly": e.readonly,
|
|
2466
2459
|
"v-btn--slim": e.slim,
|
|
2467
2460
|
"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,
|
|
2461
|
+
}, 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
2462
|
style: [P.value, s.value, c.value, p.value, e.style],
|
|
2470
2463
|
"aria-busy": e.loading ? !0 : void 0,
|
|
2471
2464
|
disabled: R.value && F !== "a" || void 0,
|
|
@@ -2473,7 +2466,7 @@ const un = {
|
|
|
2473
2466
|
onClick: K,
|
|
2474
2467
|
value: G.value
|
|
2475
2468
|
}), {
|
|
2476
|
-
default: () => [
|
|
2469
|
+
default: () => [Tn(!0, "v-btn"), !e.icon && L && E("span", {
|
|
2477
2470
|
key: "prepend",
|
|
2478
2471
|
class: "v-btn__prepend"
|
|
2479
2472
|
}, [a.prepend ? w(we, {
|
|
@@ -2484,18 +2477,18 @@ const un = {
|
|
|
2484
2477
|
icon: e.prependIcon
|
|
2485
2478
|
}
|
|
2486
2479
|
}
|
|
2487
|
-
}, a.prepend) : w(
|
|
2480
|
+
}, a.prepend) : w(Ve, {
|
|
2488
2481
|
key: "prepend-icon",
|
|
2489
2482
|
icon: e.prependIcon
|
|
2490
2483
|
}, null)]), E("span", {
|
|
2491
2484
|
class: "v-btn__content",
|
|
2492
2485
|
"data-no-activator": ""
|
|
2493
|
-
}, [!a.default &&
|
|
2486
|
+
}, [!a.default && T ? w(Ve, {
|
|
2494
2487
|
key: "content-icon",
|
|
2495
2488
|
icon: e.icon
|
|
2496
2489
|
}, null) : w(we, {
|
|
2497
2490
|
key: "content-defaults",
|
|
2498
|
-
disabled: !
|
|
2491
|
+
disabled: !T,
|
|
2499
2492
|
defaults: {
|
|
2500
2493
|
VIcon: {
|
|
2501
2494
|
icon: e.icon
|
|
@@ -2514,7 +2507,7 @@ const un = {
|
|
|
2514
2507
|
icon: e.appendIcon
|
|
2515
2508
|
}
|
|
2516
2509
|
}
|
|
2517
|
-
}, a.append) : w(
|
|
2510
|
+
}, a.append) : w(Ve, {
|
|
2518
2511
|
key: "append-icon",
|
|
2519
2512
|
icon: e.appendIcon
|
|
2520
2513
|
}, null)]), !!e.loading && E("span", {
|
|
@@ -3175,7 +3168,7 @@ const Bn = (e) => {
|
|
|
3175
3168
|
mandatory: Boolean
|
|
3176
3169
|
}, "nested"), Oo = (e) => {
|
|
3177
3170
|
let t = !1;
|
|
3178
|
-
const n = $(/* @__PURE__ */ new Map()), a = $(/* @__PURE__ */ new Map()), i = $(/* @__PURE__ */ new Set()), r =
|
|
3171
|
+
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
3172
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
|
3180
3173
|
if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
|
|
3181
3174
|
switch (e.activeStrategy) {
|
|
@@ -3218,7 +3211,7 @@ const Bn = (e) => {
|
|
|
3218
3211
|
default:
|
|
3219
3212
|
return li;
|
|
3220
3213
|
}
|
|
3221
|
-
}), u =
|
|
3214
|
+
}), 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
3215
|
ke(() => {
|
|
3223
3216
|
t = !0;
|
|
3224
3217
|
});
|
|
@@ -3229,7 +3222,7 @@ const Bn = (e) => {
|
|
|
3229
3222
|
v.unshift(h), h = a.value.get(h);
|
|
3230
3223
|
return v;
|
|
3231
3224
|
}
|
|
3232
|
-
const f = Y("nested"), g = /* @__PURE__ */ new Set(), p =
|
|
3225
|
+
const f = Y("nested"), g = /* @__PURE__ */ new Set(), p = Tr(() => {
|
|
3233
3226
|
ue(() => {
|
|
3234
3227
|
n.value = new Map(n.value), a.value = new Map(a.value);
|
|
3235
3228
|
});
|
|
@@ -3391,7 +3384,7 @@ const Bn = (e) => {
|
|
|
3391
3384
|
isGroupActivator: !0
|
|
3392
3385
|
});
|
|
3393
3386
|
};
|
|
3394
|
-
function
|
|
3387
|
+
function To() {
|
|
3395
3388
|
const e = $(!1);
|
|
3396
3389
|
return hn(() => {
|
|
3397
3390
|
window.requestAnimationFrame(() => {
|
|
@@ -3430,7 +3423,7 @@ const vi = A({
|
|
|
3430
3423
|
}), o) : u = j({
|
|
3431
3424
|
name: i || !a ? "" : a
|
|
3432
3425
|
}, o), _t(s, u, n);
|
|
3433
|
-
},
|
|
3426
|
+
}, Vo = rt({
|
|
3434
3427
|
name: "VListGroupActivator",
|
|
3435
3428
|
setup(e, t) {
|
|
3436
3429
|
let {
|
|
@@ -3474,7 +3467,7 @@ const vi = A({
|
|
|
3474
3467
|
id: r
|
|
3475
3468
|
} = fi(() => e.value, () => e.disabled, !0), o = S(() => `v-list-group--id-${String(e.rawId ?? r.value)}`), s = oi(), {
|
|
3476
3469
|
isBooted: l
|
|
3477
|
-
} =
|
|
3470
|
+
} = To();
|
|
3478
3471
|
function u(g) {
|
|
3479
3472
|
["INPUT", "TEXTAREA"].includes(g.target?.tagName) || i(!a.value, g);
|
|
3480
3473
|
}
|
|
@@ -3505,7 +3498,7 @@ const vi = A({
|
|
|
3505
3498
|
default: () => [n.activator && w(we, {
|
|
3506
3499
|
defaults: f.value
|
|
3507
3500
|
}, {
|
|
3508
|
-
default: () => [w(
|
|
3501
|
+
default: () => [w(Vo, null, {
|
|
3509
3502
|
default: () => [n.activator({
|
|
3510
3503
|
props: c.value,
|
|
3511
3504
|
isOpen: a.value
|
|
@@ -3720,20 +3713,20 @@ const ya = {
|
|
|
3720
3713
|
});
|
|
3721
3714
|
function C(L) {
|
|
3722
3715
|
let O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
3723
|
-
const
|
|
3716
|
+
const T = () => {
|
|
3724
3717
|
if (clearTimeout(y), s.isUnmounted) return;
|
|
3725
3718
|
const {
|
|
3726
3719
|
naturalHeight: I,
|
|
3727
3720
|
naturalWidth: W
|
|
3728
3721
|
} = L;
|
|
3729
|
-
I || W ? (d.value = W, f.value = I) : !L.complete && c.value === "loading" && O != null ? y = window.setTimeout(
|
|
3722
|
+
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
3723
|
};
|
|
3731
|
-
|
|
3724
|
+
T();
|
|
3732
3725
|
}
|
|
3733
3726
|
const P = k(() => ({
|
|
3734
3727
|
"v-img__img--cover": e.cover,
|
|
3735
3728
|
"v-img__img--contain": !e.cover
|
|
3736
|
-
})),
|
|
3729
|
+
})), V = () => {
|
|
3737
3730
|
if (!g.value.src || c.value === "idle") return null;
|
|
3738
3731
|
const L = E("img", {
|
|
3739
3732
|
class: M(["v-img__img", P.value]),
|
|
@@ -3817,7 +3810,7 @@ const ya = {
|
|
|
3817
3810
|
"aria-label": e.alt,
|
|
3818
3811
|
role: e.alt ? "img" : void 0
|
|
3819
3812
|
}), {
|
|
3820
|
-
additional: () => E(Ce, null, [w(
|
|
3813
|
+
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
3814
|
default: a.default
|
|
3822
3815
|
}), [[ya, {
|
|
3823
3816
|
handler: b,
|
|
@@ -3864,7 +3857,7 @@ const ya = {
|
|
|
3864
3857
|
colorClasses: r,
|
|
3865
3858
|
colorStyles: o,
|
|
3866
3859
|
variantClasses: s
|
|
3867
|
-
} =
|
|
3860
|
+
} = Vn(e), {
|
|
3868
3861
|
densityClasses: l
|
|
3869
3862
|
} = ut(e), {
|
|
3870
3863
|
roundedClasses: u
|
|
@@ -3897,10 +3890,10 @@ const ya = {
|
|
|
3897
3890
|
src: e.image,
|
|
3898
3891
|
alt: "",
|
|
3899
3892
|
cover: !0
|
|
3900
|
-
}, null) : e.icon ? w(
|
|
3893
|
+
}, null) : e.icon ? w(Ve, {
|
|
3901
3894
|
key: "icon",
|
|
3902
3895
|
icon: e.icon
|
|
3903
|
-
}, null) : e.text,
|
|
3896
|
+
}, null) : e.text, Tn(!1, "v-avatar")]
|
|
3904
3897
|
})), {};
|
|
3905
3898
|
}
|
|
3906
3899
|
}), jo = A({
|
|
@@ -3978,7 +3971,7 @@ const ya = {
|
|
|
3978
3971
|
parent: b,
|
|
3979
3972
|
openOnSelect: m,
|
|
3980
3973
|
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)),
|
|
3974
|
+
} = 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
3975
|
if (P.value)
|
|
3983
3976
|
return p.activatable.value ? l.value : p.selectable.value ? d.value : y.value;
|
|
3984
3977
|
}), G = k(() => e.rounded || e.nav), K = k(() => e.color ?? e.activeColor), F = k(() => ({
|
|
@@ -3996,18 +3989,18 @@ const ya = {
|
|
|
3996
3989
|
const {
|
|
3997
3990
|
themeClasses: O
|
|
3998
3991
|
} = Se(e), {
|
|
3999
|
-
borderClasses:
|
|
3992
|
+
borderClasses: T
|
|
4000
3993
|
} = st(e), {
|
|
4001
3994
|
colorClasses: I,
|
|
4002
3995
|
colorStyles: W,
|
|
4003
3996
|
variantClasses: U
|
|
4004
|
-
} =
|
|
3997
|
+
} = Vn(F), {
|
|
4005
3998
|
densityClasses: Z
|
|
4006
3999
|
} = ut(e), {
|
|
4007
4000
|
dimensionStyles: ge
|
|
4008
4001
|
} = vt(e), {
|
|
4009
4002
|
elevationClasses: H
|
|
4010
|
-
} =
|
|
4003
|
+
} = Tt(e), {
|
|
4011
4004
|
roundedClasses: oe
|
|
4012
4005
|
} = $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
4006
|
keys: ["Enter"]
|
|
@@ -4019,7 +4012,7 @@ const ya = {
|
|
|
4019
4012
|
isIndeterminate: f.value
|
|
4020
4013
|
}));
|
|
4021
4014
|
function $t(_) {
|
|
4022
|
-
i("click", _), !["INPUT", "TEXTAREA"].includes(_.target?.tagName) &&
|
|
4015
|
+
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
4016
|
}
|
|
4024
4017
|
function Nt(_) {
|
|
4025
4018
|
const fe = _.target;
|
|
@@ -4031,20 +4024,20 @@ const ya = {
|
|
|
4031
4024
|
class: ["v-list-item", {
|
|
4032
4025
|
"v-list-item--active": y.value,
|
|
4033
4026
|
"v-list-item--disabled": e.disabled,
|
|
4034
|
-
"v-list-item--link":
|
|
4027
|
+
"v-list-item--link": V.value,
|
|
4035
4028
|
"v-list-item--nav": e.nav,
|
|
4036
4029
|
"v-list-item--prepend": !Ft && h?.hasPrepend.value,
|
|
4037
4030
|
"v-list-item--slim": e.slim,
|
|
4038
4031
|
[`${e.activeClass}`]: e.activeClass && y.value
|
|
4039
|
-
}, O.value,
|
|
4032
|
+
}, O.value, T.value, I.value, Z.value, H.value, Ne.value, oe.value, U.value, e.class],
|
|
4040
4033
|
style: [W.value, ge.value, e.style],
|
|
4041
|
-
tabindex:
|
|
4034
|
+
tabindex: V.value ? h ? -2 : 0 : void 0,
|
|
4042
4035
|
"aria-selected": x.value,
|
|
4043
4036
|
role: R.value,
|
|
4044
4037
|
onClick: $t,
|
|
4045
|
-
onKeydown:
|
|
4038
|
+
onKeydown: V.value && !C.value && Nt
|
|
4046
4039
|
}), {
|
|
4047
|
-
default: () => [
|
|
4040
|
+
default: () => [Tn(V.value || y.value, "v-list-item"), Ft && E("div", {
|
|
4048
4041
|
key: "prepend",
|
|
4049
4042
|
class: "v-list-item__prepend"
|
|
4050
4043
|
}, [a.prepend ? w(we, {
|
|
@@ -4069,7 +4062,7 @@ const ya = {
|
|
|
4069
4062
|
key: "prepend-avatar",
|
|
4070
4063
|
density: e.density,
|
|
4071
4064
|
image: e.prependAvatar
|
|
4072
|
-
}, null), e.prependIcon && w(
|
|
4065
|
+
}, null), e.prependIcon && w(Ve, {
|
|
4073
4066
|
key: "prepend-icon",
|
|
4074
4067
|
density: e.density,
|
|
4075
4068
|
icon: e.prependIcon
|
|
@@ -4111,7 +4104,7 @@ const ya = {
|
|
|
4111
4104
|
}
|
|
4112
4105
|
}, {
|
|
4113
4106
|
default: () => [a.append?.(pe.value)]
|
|
4114
|
-
}) : E(Ce, null, [e.appendIcon && w(
|
|
4107
|
+
}) : E(Ce, null, [e.appendIcon && w(Ve, {
|
|
4115
4108
|
key: "append-icon",
|
|
4116
4109
|
density: e.density,
|
|
4117
4110
|
icon: e.appendIcon
|
|
@@ -4122,7 +4115,7 @@ const ya = {
|
|
|
4122
4115
|
}, null)]), E("div", {
|
|
4123
4116
|
class: "v-list-item__spacer"
|
|
4124
4117
|
}, null)])]
|
|
4125
|
-
}), [[un,
|
|
4118
|
+
}), [[un, V.value && ye.value]]);
|
|
4126
4119
|
}), {
|
|
4127
4120
|
activate: s,
|
|
4128
4121
|
isActivated: l,
|
|
@@ -4491,7 +4484,7 @@ const Jo = A({
|
|
|
4491
4484
|
dimensionStyles: u
|
|
4492
4485
|
} = vt(e), {
|
|
4493
4486
|
elevationClasses: c
|
|
4494
|
-
} =
|
|
4487
|
+
} = Tt(e), {
|
|
4495
4488
|
roundedClasses: d
|
|
4496
4489
|
} = $e(e), {
|
|
4497
4490
|
children: f,
|
|
@@ -4523,38 +4516,38 @@ const Jo = A({
|
|
|
4523
4516
|
variant: k(() => e.variant)
|
|
4524
4517
|
}
|
|
4525
4518
|
});
|
|
4526
|
-
const
|
|
4527
|
-
function x(
|
|
4528
|
-
|
|
4519
|
+
const V = $(!1), R = N();
|
|
4520
|
+
function x(T) {
|
|
4521
|
+
V.value = !0;
|
|
4529
4522
|
}
|
|
4530
|
-
function G(
|
|
4531
|
-
|
|
4523
|
+
function G(T) {
|
|
4524
|
+
V.value = !1;
|
|
4532
4525
|
}
|
|
4533
|
-
function K(
|
|
4534
|
-
!
|
|
4526
|
+
function K(T) {
|
|
4527
|
+
!V.value && !(T.relatedTarget && R.value?.contains(T.relatedTarget)) && O();
|
|
4535
4528
|
}
|
|
4536
|
-
function F(
|
|
4537
|
-
const I =
|
|
4538
|
-
if (!(!R.value || I.tagName === "INPUT" && ["Home", "End"].includes(
|
|
4539
|
-
if (
|
|
4529
|
+
function F(T) {
|
|
4530
|
+
const I = T.target;
|
|
4531
|
+
if (!(!R.value || I.tagName === "INPUT" && ["Home", "End"].includes(T.key) || I.tagName === "TEXTAREA")) {
|
|
4532
|
+
if (T.key === "ArrowDown")
|
|
4540
4533
|
O("next");
|
|
4541
|
-
else if (
|
|
4534
|
+
else if (T.key === "ArrowUp")
|
|
4542
4535
|
O("prev");
|
|
4543
|
-
else if (
|
|
4536
|
+
else if (T.key === "Home")
|
|
4544
4537
|
O("first");
|
|
4545
|
-
else if (
|
|
4538
|
+
else if (T.key === "End")
|
|
4546
4539
|
O("last");
|
|
4547
4540
|
else
|
|
4548
4541
|
return;
|
|
4549
|
-
|
|
4542
|
+
T.preventDefault();
|
|
4550
4543
|
}
|
|
4551
4544
|
}
|
|
4552
|
-
function L(
|
|
4553
|
-
|
|
4545
|
+
function L(T) {
|
|
4546
|
+
V.value = !0;
|
|
4554
4547
|
}
|
|
4555
|
-
function O(
|
|
4548
|
+
function O(T) {
|
|
4556
4549
|
if (R.value)
|
|
4557
|
-
return Je(R.value,
|
|
4550
|
+
return Je(R.value, T);
|
|
4558
4551
|
}
|
|
4559
4552
|
return Q(() => w(e.tag, {
|
|
4560
4553
|
ref: R,
|
|
@@ -4746,8 +4739,8 @@ function os(e, t, n) {
|
|
|
4746
4739
|
(Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (b = Ra(e.target.value));
|
|
4747
4740
|
const v = rs(e.contentEl.value, e.isRtl.value), h = kt(e.contentEl.value), y = t.stickToTarget ? 0 : 12;
|
|
4748
4741
|
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(
|
|
4742
|
+
const C = h.reduce((O, T) => {
|
|
4743
|
+
const I = sr(T);
|
|
4751
4744
|
return O ? new se({
|
|
4752
4745
|
x: Math.max(O.left, I.left),
|
|
4753
4746
|
y: Math.max(O.top, I.top),
|
|
@@ -4760,8 +4753,8 @@ function os(e, t, n) {
|
|
|
4760
4753
|
anchor: i.value,
|
|
4761
4754
|
origin: r.value
|
|
4762
4755
|
};
|
|
4763
|
-
function
|
|
4764
|
-
const
|
|
4756
|
+
function V(O) {
|
|
4757
|
+
const T = new se(v), I = ba(O.anchor, b), W = ba(O.origin, T);
|
|
4765
4758
|
let {
|
|
4766
4759
|
x: U,
|
|
4767
4760
|
y: Z
|
|
@@ -4794,8 +4787,8 @@ function os(e, t, n) {
|
|
|
4794
4787
|
U += c.value[1];
|
|
4795
4788
|
break;
|
|
4796
4789
|
}
|
|
4797
|
-
return
|
|
4798
|
-
overflows: qn(
|
|
4790
|
+
return T.x += U, T.y += Z, T.width = Math.min(T.width, l.value), T.height = Math.min(T.height, u.value), {
|
|
4791
|
+
overflows: qn(T, C),
|
|
4799
4792
|
x: U,
|
|
4800
4793
|
y: Z
|
|
4801
4794
|
};
|
|
@@ -4816,10 +4809,10 @@ function os(e, t, n) {
|
|
|
4816
4809
|
}
|
|
4817
4810
|
const {
|
|
4818
4811
|
x: O,
|
|
4819
|
-
y:
|
|
4812
|
+
y: T,
|
|
4820
4813
|
overflows: I
|
|
4821
|
-
} =
|
|
4822
|
-
R += O, x +=
|
|
4814
|
+
} = V(P);
|
|
4815
|
+
R += O, x += T, v.x += O, v.y += T;
|
|
4823
4816
|
{
|
|
4824
4817
|
const W = Un(P.anchor), U = I.x.before || I.x.after, Z = I.y.before || I.y.after;
|
|
4825
4818
|
let ge = !1;
|
|
@@ -4836,7 +4829,7 @@ function os(e, t, n) {
|
|
|
4836
4829
|
oe.anchor = Ne(oe.anchor), oe.origin = Ne(oe.origin);
|
|
4837
4830
|
const {
|
|
4838
4831
|
overflows: ye
|
|
4839
|
-
} =
|
|
4832
|
+
} = V(oe);
|
|
4840
4833
|
(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
4834
|
}
|
|
4842
4835
|
}), ge) continue;
|
|
@@ -4985,10 +4978,10 @@ function ms(e, t) {
|
|
|
4985
4978
|
};
|
|
4986
4979
|
function a(o, s) {
|
|
4987
4980
|
n?.();
|
|
4988
|
-
const l = Math.max(s?.minDelay ?? 0, Number(
|
|
4989
|
-
return new Promise((
|
|
4990
|
-
n = ar(
|
|
4991
|
-
t?.(o),
|
|
4981
|
+
const l = o ? e.openDelay : e.closeDelay, u = Math.max(s?.minDelay ?? 0, Number(l ?? 0));
|
|
4982
|
+
return new Promise((c) => {
|
|
4983
|
+
n = ar(u, () => {
|
|
4984
|
+
t?.(o), c(o);
|
|
4992
4985
|
});
|
|
4993
4986
|
});
|
|
4994
4987
|
}
|
|
@@ -5099,7 +5092,7 @@ function ys(e, t) {
|
|
|
5099
5092
|
o.value = y.el;
|
|
5100
5093
|
});
|
|
5101
5094
|
});
|
|
5102
|
-
const C = tn(), P = S(() => e.target === "cursor" && p.value ? p.value : C.value ? C.el : Ci(e.target, r) || o.value),
|
|
5095
|
+
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
5096
|
let R;
|
|
5104
5097
|
return D(() => !!e.activator, (x) => {
|
|
5105
5098
|
x && te ? (R = yn(), R.run(() => {
|
|
@@ -5117,7 +5110,7 @@ function ys(e, t) {
|
|
|
5117
5110
|
activatorEl: o,
|
|
5118
5111
|
activatorRef: y,
|
|
5119
5112
|
target: P,
|
|
5120
|
-
targetEl:
|
|
5113
|
+
targetEl: V,
|
|
5121
5114
|
targetRef: C,
|
|
5122
5115
|
activatorEvents: m,
|
|
5123
5116
|
contentEvents: v,
|
|
@@ -5394,7 +5387,7 @@ const Ei = A({
|
|
|
5394
5387
|
attrs: a,
|
|
5395
5388
|
emit: i
|
|
5396
5389
|
} = t;
|
|
5397
|
-
const r = Y("VOverlay"), o = N(), s = N(), l = N(), u =
|
|
5390
|
+
const r = Y("VOverlay"), o = N(), s = N(), l = N(), u = Te(e, "modelValue"), c = S({
|
|
5398
5391
|
get: () => u.value,
|
|
5399
5392
|
set: (_) => {
|
|
5400
5393
|
_ && e.disabled || (u.value = _);
|
|
@@ -5414,7 +5407,7 @@ const Ei = A({
|
|
|
5414
5407
|
} = ks(c, () => e.zIndex, e._disableGlobalStack), {
|
|
5415
5408
|
activatorEl: C,
|
|
5416
5409
|
activatorRef: P,
|
|
5417
|
-
target:
|
|
5410
|
+
target: V,
|
|
5418
5411
|
targetEl: R,
|
|
5419
5412
|
targetRef: x,
|
|
5420
5413
|
activatorEvents: G,
|
|
@@ -5433,7 +5426,7 @@ const Ei = A({
|
|
|
5433
5426
|
return fe instanceof ShadowRoot ? fe : !1;
|
|
5434
5427
|
}), {
|
|
5435
5428
|
dimensionStyles: O
|
|
5436
|
-
} = vt(e),
|
|
5429
|
+
} = vt(e), T = ps(), {
|
|
5437
5430
|
scopeId: I
|
|
5438
5431
|
} = ki();
|
|
5439
5432
|
D(() => e.disabled, (_) => {
|
|
@@ -5445,14 +5438,14 @@ const Ei = A({
|
|
|
5445
5438
|
} = as(e, {
|
|
5446
5439
|
isRtl: g,
|
|
5447
5440
|
contentEl: l,
|
|
5448
|
-
target:
|
|
5441
|
+
target: V,
|
|
5449
5442
|
isActive: c
|
|
5450
5443
|
});
|
|
5451
5444
|
us(e, {
|
|
5452
5445
|
root: o,
|
|
5453
5446
|
contentEl: l,
|
|
5454
5447
|
targetEl: R,
|
|
5455
|
-
target:
|
|
5448
|
+
target: V,
|
|
5456
5449
|
isActive: c,
|
|
5457
5450
|
updateLocation: U
|
|
5458
5451
|
});
|
|
@@ -5513,7 +5506,7 @@ const Ei = A({
|
|
|
5513
5506
|
props: j({
|
|
5514
5507
|
ref: P
|
|
5515
5508
|
}, G.value, e.activatorProps)
|
|
5516
|
-
}),
|
|
5509
|
+
}), T.value && p.value && w(Fi, {
|
|
5517
5510
|
disabled: !L.value,
|
|
5518
5511
|
to: L.value
|
|
5519
5512
|
}, {
|
|
@@ -5537,7 +5530,7 @@ const Ei = A({
|
|
|
5537
5530
|
appear: !0,
|
|
5538
5531
|
persisted: !0,
|
|
5539
5532
|
transition: e.transition,
|
|
5540
|
-
target:
|
|
5533
|
+
target: V.value,
|
|
5541
5534
|
onAfterEnter: $t,
|
|
5542
5535
|
onAfterLeave: Nt
|
|
5543
5536
|
}, {
|
|
@@ -5556,7 +5549,7 @@ const Ei = A({
|
|
|
5556
5549
|
})])), {
|
|
5557
5550
|
activatorEl: C,
|
|
5558
5551
|
scrimEl: s,
|
|
5559
|
-
target:
|
|
5552
|
+
target: V,
|
|
5560
5553
|
animateClick: pe,
|
|
5561
5554
|
contentEl: l,
|
|
5562
5555
|
rootEl: o,
|
|
@@ -5659,7 +5652,7 @@ const Os = A({
|
|
|
5659
5652
|
let {
|
|
5660
5653
|
slots: n
|
|
5661
5654
|
} = t;
|
|
5662
|
-
const a =
|
|
5655
|
+
const a = Te(e, "modelValue"), {
|
|
5663
5656
|
scopeId: i
|
|
5664
5657
|
} = ki(), {
|
|
5665
5658
|
isRtl: r
|
|
@@ -5739,8 +5732,8 @@ const Os = A({
|
|
|
5739
5732
|
}, i), {
|
|
5740
5733
|
activator: n.activator,
|
|
5741
5734
|
default: function() {
|
|
5742
|
-
for (var C = arguments.length, P = new Array(C),
|
|
5743
|
-
P[
|
|
5735
|
+
for (var C = arguments.length, P = new Array(C), V = 0; V < C; V++)
|
|
5736
|
+
P[V] = arguments[V];
|
|
5744
5737
|
return w(we, {
|
|
5745
5738
|
root: "VMenu"
|
|
5746
5739
|
}, {
|
|
@@ -5753,7 +5746,7 @@ const Os = A({
|
|
|
5753
5746
|
ΨopenChildren: c
|
|
5754
5747
|
}, l);
|
|
5755
5748
|
}
|
|
5756
|
-
}),
|
|
5749
|
+
}), Ts = /* @__PURE__ */ At({
|
|
5757
5750
|
__name: "ActionButtons",
|
|
5758
5751
|
props: {
|
|
5759
5752
|
buttons: { default: () => [] }
|
|
@@ -5766,7 +5759,7 @@ const Os = A({
|
|
|
5766
5759
|
size: "small"
|
|
5767
5760
|
}, {
|
|
5768
5761
|
default: yt(() => [
|
|
5769
|
-
w(
|
|
5762
|
+
w(Ve),
|
|
5770
5763
|
w(Is, {
|
|
5771
5764
|
class: "action-buttons",
|
|
5772
5765
|
location: "bottom end",
|
|
@@ -5798,7 +5791,7 @@ const Os = A({
|
|
|
5798
5791
|
_: 1
|
|
5799
5792
|
}, 8, ["icon"]));
|
|
5800
5793
|
}
|
|
5801
|
-
}),
|
|
5794
|
+
}), Vs = /* @__PURE__ */ At({
|
|
5802
5795
|
__name: "Button",
|
|
5803
5796
|
props: {
|
|
5804
5797
|
options: { default: () => ({ to: "#" }) }
|
|
@@ -5826,7 +5819,7 @@ const Os = A({
|
|
|
5826
5819
|
}
|
|
5827
5820
|
});
|
|
5828
5821
|
function tl() {
|
|
5829
|
-
return {
|
|
5822
|
+
return { DTActionButtons: Ts, DTButton: Vs, DTLink: Bs };
|
|
5830
5823
|
}
|
|
5831
5824
|
const nl = {
|
|
5832
5825
|
install(e, t) {
|
|
@@ -5852,7 +5845,7 @@ const nl = {
|
|
|
5852
5845
|
})
|
|
5853
5846
|
), e.component(
|
|
5854
5847
|
"DataTable",
|
|
5855
|
-
Hi(() => import("./index-
|
|
5848
|
+
Hi(() => import("./index-FhbzpwmS.js").then((n) => n.p))
|
|
5856
5849
|
);
|
|
5857
5850
|
}
|
|
5858
5851
|
};
|
|
@@ -5868,7 +5861,7 @@ export {
|
|
|
5868
5861
|
Ze as H,
|
|
5869
5862
|
ae as I,
|
|
5870
5863
|
Ie as J,
|
|
5871
|
-
|
|
5864
|
+
Te as K,
|
|
5872
5865
|
Ks as L,
|
|
5873
5866
|
Ns as M,
|
|
5874
5867
|
Pn as N,
|
|
@@ -5952,17 +5945,17 @@ export {
|
|
|
5952
5945
|
Fs as az,
|
|
5953
5946
|
ee as b,
|
|
5954
5947
|
Pr as c,
|
|
5955
|
-
|
|
5948
|
+
Ve as d,
|
|
5956
5949
|
we as e,
|
|
5957
5950
|
lt as f,
|
|
5958
5951
|
z as g,
|
|
5959
5952
|
Se as h,
|
|
5960
5953
|
st as i,
|
|
5961
|
-
|
|
5954
|
+
Vn as j,
|
|
5962
5955
|
ut as k,
|
|
5963
5956
|
vt as l,
|
|
5964
5957
|
de as m,
|
|
5965
|
-
|
|
5958
|
+
Tt as n,
|
|
5966
5959
|
no as o,
|
|
5967
5960
|
A as p,
|
|
5968
5961
|
Ua as q,
|
|
@@ -5970,7 +5963,7 @@ export {
|
|
|
5970
5963
|
$e as s,
|
|
5971
5964
|
qa as t,
|
|
5972
5965
|
Q as u,
|
|
5973
|
-
|
|
5966
|
+
Tn as v,
|
|
5974
5967
|
Do as w,
|
|
5975
5968
|
ct as x,
|
|
5976
5969
|
me as y,
|