vi-grid-builder 2.3.32 → 2.3.34
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/vi-grid-builder.js +161 -154
- package/dist/vi-grid-builder.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/vi-grid-builder.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as _, createElementBlock as
|
|
1
|
+
import { openBlock as _, createElementBlock as P, mergeProps as Pe, toDisplayString as ce, createElementVNode as I, defineComponent as Ue, computed as k, watch as Lt, h as We, reactive as sn, createVNode as R, toRaw as Fe, nextTick as js, resolveComponent as ne, normalizeClass as Ne, createBlock as ee, createCommentVNode as W, renderSlot as te, ref as V, Fragment as Re, createTextVNode as Kc, normalizeStyle as Qc, isVNode as zs, createApp as Zc, onMounted as Eo, onUnmounted as Ao, shallowRef as Jc, getCurrentScope as eu, onScopeDispose as tu, shallowReadonly as Vt, unref as nu, watchEffect as oa, cloneVNode as au, withModifiers as za, renderList as vt, withCtx as Nt, resolveDynamicComponent as ia } from "vue";
|
|
2
2
|
const be = (e, t) => {
|
|
3
3
|
const n = e.__vccOpts || e;
|
|
4
4
|
for (const [a, r] of t)
|
|
@@ -11,7 +11,7 @@ const be = (e, t) => {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
function ou(e, t, n, a, r, o) {
|
|
14
|
-
return _(),
|
|
14
|
+
return _(), P("div", Pe({ class: "vi-grid-badge" }, e.$attrs, { class: n.value }), ce(n.value), 17);
|
|
15
15
|
}
|
|
16
16
|
const iu = /* @__PURE__ */ be(ru, [["render", ou]]);
|
|
17
17
|
const su = {
|
|
@@ -21,7 +21,7 @@ const su = {
|
|
|
21
21
|
}
|
|
22
22
|
}, lu = { class: "vi-grid-image" }, cu = ["src"];
|
|
23
23
|
function uu(e, t, n, a, r, o) {
|
|
24
|
-
return _(),
|
|
24
|
+
return _(), P("div", lu, [
|
|
25
25
|
I("img", { src: n.value }, null, 8, cu)
|
|
26
26
|
]);
|
|
27
27
|
}
|
|
@@ -445,28 +445,28 @@ const Js = {
|
|
|
445
445
|
xn.familyPrefix && (xn.cssPrefix = xn.familyPrefix);
|
|
446
446
|
const tn = b(b({}, Js), xn);
|
|
447
447
|
tn.autoReplaceSvg || (tn.observeMutations = !1);
|
|
448
|
-
const
|
|
448
|
+
const E = {};
|
|
449
449
|
Object.keys(Js).forEach((e) => {
|
|
450
|
-
Object.defineProperty(
|
|
450
|
+
Object.defineProperty(E, e, {
|
|
451
451
|
enumerable: !0,
|
|
452
452
|
set: function(t) {
|
|
453
|
-
tn[e] = t, Sn.forEach((n) => n(
|
|
453
|
+
tn[e] = t, Sn.forEach((n) => n(E));
|
|
454
454
|
},
|
|
455
455
|
get: function() {
|
|
456
456
|
return tn[e];
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
});
|
|
460
|
-
Object.defineProperty(
|
|
460
|
+
Object.defineProperty(E, "familyPrefix", {
|
|
461
461
|
enumerable: !0,
|
|
462
462
|
set: function(e) {
|
|
463
|
-
tn.cssPrefix = e, Sn.forEach((t) => t(
|
|
463
|
+
tn.cssPrefix = e, Sn.forEach((t) => t(E));
|
|
464
464
|
},
|
|
465
465
|
get: function() {
|
|
466
466
|
return tn.cssPrefix;
|
|
467
467
|
}
|
|
468
468
|
});
|
|
469
|
-
bt.FontAwesomeConfig =
|
|
469
|
+
bt.FontAwesomeConfig = E;
|
|
470
470
|
const Sn = [];
|
|
471
471
|
function Qu(e) {
|
|
472
472
|
return Sn.push(e), () => {
|
|
@@ -1105,7 +1105,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1105
1105
|
fill: black;
|
|
1106
1106
|
}`;
|
|
1107
1107
|
function tl() {
|
|
1108
|
-
const e = qs, t = Xs, n =
|
|
1108
|
+
const e = qs, t = Xs, n = E.cssPrefix, a = E.replacementClass;
|
|
1109
1109
|
let r = af;
|
|
1110
1110
|
if (n !== e || a !== t) {
|
|
1111
1111
|
const o = new RegExp("\\.".concat(e, "\\-"), "g"), i = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
@@ -1115,7 +1115,7 @@ function tl() {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
let yi = !1;
|
|
1117
1117
|
function lr() {
|
|
1118
|
-
|
|
1118
|
+
E.autoAddCss && !yi && (Zu(tl()), yi = !0);
|
|
1119
1119
|
}
|
|
1120
1120
|
var rf = {
|
|
1121
1121
|
mixout() {
|
|
@@ -1233,7 +1233,7 @@ const fl = () => {
|
|
|
1233
1233
|
a[s] = o;
|
|
1234
1234
|
}), a;
|
|
1235
1235
|
});
|
|
1236
|
-
const t = "far" in Ln ||
|
|
1236
|
+
const t = "far" in Ln || E.autoFetchSvg, n = cr(cf, (a, r) => {
|
|
1237
1237
|
const o = r[0];
|
|
1238
1238
|
let i = r[1];
|
|
1239
1239
|
const s = r[2];
|
|
@@ -1248,13 +1248,13 @@ const fl = () => {
|
|
|
1248
1248
|
names: {},
|
|
1249
1249
|
unicodes: {}
|
|
1250
1250
|
});
|
|
1251
|
-
ll = n.names, cl = n.unicodes, Fo = Ua(
|
|
1252
|
-
family:
|
|
1251
|
+
ll = n.names, cl = n.unicodes, Fo = Ua(E.styleDefault, {
|
|
1252
|
+
family: E.familyDefault
|
|
1253
1253
|
});
|
|
1254
1254
|
};
|
|
1255
1255
|
Qu((e) => {
|
|
1256
1256
|
Fo = Ua(e.styleDefault, {
|
|
1257
|
-
family:
|
|
1257
|
+
family: E.familyDefault
|
|
1258
1258
|
});
|
|
1259
1259
|
});
|
|
1260
1260
|
fl();
|
|
@@ -1293,7 +1293,7 @@ const ml = () => ({
|
|
|
1293
1293
|
});
|
|
1294
1294
|
function hf(e) {
|
|
1295
1295
|
let t = de;
|
|
1296
|
-
const n = ol.reduce((a, r) => (a[r] = "".concat(
|
|
1296
|
+
const n = ol.reduce((a, r) => (a[r] = "".concat(E.cssPrefix, "-").concat(r), a), {});
|
|
1297
1297
|
return Gs.forEach((a) => {
|
|
1298
1298
|
(e.includes(n[a]) || e.some((r) => uf[a].includes(r))) && (t = a);
|
|
1299
1299
|
}), t;
|
|
@@ -1311,7 +1311,7 @@ function Ua(e) {
|
|
|
1311
1311
|
function pf(e) {
|
|
1312
1312
|
let t = [], n = null;
|
|
1313
1313
|
return e.forEach((a) => {
|
|
1314
|
-
const r = df(
|
|
1314
|
+
const r = df(E.cssPrefix, a);
|
|
1315
1315
|
r ? n = r : a && t.push(a);
|
|
1316
1316
|
}), {
|
|
1317
1317
|
iconName: n,
|
|
@@ -1336,7 +1336,7 @@ function Ya(e) {
|
|
|
1336
1336
|
values: e,
|
|
1337
1337
|
family: c,
|
|
1338
1338
|
styles: Ln,
|
|
1339
|
-
config:
|
|
1339
|
+
config: E,
|
|
1340
1340
|
canonical: u,
|
|
1341
1341
|
givenPrefix: a
|
|
1342
1342
|
})), vf(n, a, u));
|
|
@@ -1352,7 +1352,7 @@ function vf(e, t, n) {
|
|
|
1352
1352
|
iconName: r
|
|
1353
1353
|
};
|
|
1354
1354
|
const o = t === "fa" ? dl(r) : {}, i = It(a, r);
|
|
1355
|
-
return r = o.iconName || i || r, a = o.prefix || a, a === "far" && !Ln.far && Ln.fas && !
|
|
1355
|
+
return r = o.iconName || i || r, a = o.prefix || a, a === "far" && !Ln.far && Ln.fas && !E.autoFetchSvg && (a = "fas"), {
|
|
1356
1356
|
prefix: a,
|
|
1357
1357
|
iconName: r
|
|
1358
1358
|
};
|
|
@@ -1457,7 +1457,7 @@ function Vr(e) {
|
|
|
1457
1457
|
return t = It(n, t) || t, bi(gl.definitions, n, t) || bi(Ge.styles, n, t);
|
|
1458
1458
|
}
|
|
1459
1459
|
const gl = new xf(), Cf = () => {
|
|
1460
|
-
|
|
1460
|
+
E.autoReplaceSvg = !1, E.observeMutations = !1, Rt("noAuto");
|
|
1461
1461
|
}, kf = {
|
|
1462
1462
|
i2svg: function() {
|
|
1463
1463
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -1468,7 +1468,7 @@ const gl = new xf(), Cf = () => {
|
|
|
1468
1468
|
const {
|
|
1469
1469
|
autoReplaceSvgRoot: t
|
|
1470
1470
|
} = e;
|
|
1471
|
-
|
|
1471
|
+
E.autoReplaceSvg === !1 && (E.autoReplaceSvg = !0), E.observeMutations = !0, of(() => {
|
|
1472
1472
|
Pf({
|
|
1473
1473
|
autoReplaceSvgRoot: t
|
|
1474
1474
|
}), Rt("watch", e);
|
|
@@ -1490,7 +1490,7 @@ const gl = new xf(), Cf = () => {
|
|
|
1490
1490
|
iconName: It(n, t) || t
|
|
1491
1491
|
};
|
|
1492
1492
|
}
|
|
1493
|
-
if (typeof e == "string" && (e.indexOf("".concat(
|
|
1493
|
+
if (typeof e == "string" && (e.indexOf("".concat(E.cssPrefix, "-")) > -1 || e.match(Wu))) {
|
|
1494
1494
|
const t = Ya(e.split(" "), {
|
|
1495
1495
|
skipLookups: !0
|
|
1496
1496
|
});
|
|
@@ -1509,7 +1509,7 @@ const gl = new xf(), Cf = () => {
|
|
|
1509
1509
|
}
|
|
1510
1510
|
}, Ee = {
|
|
1511
1511
|
noAuto: Cf,
|
|
1512
|
-
config:
|
|
1512
|
+
config: E,
|
|
1513
1513
|
dom: kf,
|
|
1514
1514
|
parse: Of,
|
|
1515
1515
|
library: gl,
|
|
@@ -1520,7 +1520,7 @@ const gl = new xf(), Cf = () => {
|
|
|
1520
1520
|
const {
|
|
1521
1521
|
autoReplaceSvgRoot: t = q
|
|
1522
1522
|
} = e;
|
|
1523
|
-
(Object.keys(Ge.styles).length > 0 ||
|
|
1523
|
+
(Object.keys(Ge.styles).length > 0 || E.autoFetchSvg) && lt && E.autoReplaceSvg && Ee.dom.i2svg({
|
|
1524
1524
|
node: t
|
|
1525
1525
|
});
|
|
1526
1526
|
};
|
|
@@ -1575,7 +1575,7 @@ function Af(e) {
|
|
|
1575
1575
|
attributes: r,
|
|
1576
1576
|
symbol: o
|
|
1577
1577
|
} = e;
|
|
1578
|
-
const i = o === !0 ? "".concat(t, "-").concat(
|
|
1578
|
+
const i = o === !0 ? "".concat(t, "-").concat(E.cssPrefix, "-").concat(n) : o;
|
|
1579
1579
|
return [{
|
|
1580
1580
|
tag: "svg",
|
|
1581
1581
|
attributes: {
|
|
@@ -1608,7 +1608,7 @@ function jo(e) {
|
|
|
1608
1608
|
} = e, {
|
|
1609
1609
|
width: d,
|
|
1610
1610
|
height: h
|
|
1611
|
-
} = n.found ? n : t, p = Eu.includes(a), v = [
|
|
1611
|
+
} = n.found ? n : t, p = Eu.includes(a), v = [E.replacementClass, r ? "".concat(E.cssPrefix, "-").concat(r) : ""].filter((O) => u.classes.indexOf(O) === -1).filter((O) => O !== "" || !!O).concat(u.classes).join(" ");
|
|
1612
1612
|
let y = {
|
|
1613
1613
|
children: [],
|
|
1614
1614
|
attributes: b(b({}, u.attributes), {}, {
|
|
@@ -1721,19 +1721,19 @@ function Ur(e) {
|
|
|
1721
1721
|
return Array.isArray(a) ? r = {
|
|
1722
1722
|
tag: "g",
|
|
1723
1723
|
attributes: {
|
|
1724
|
-
class: "".concat(
|
|
1724
|
+
class: "".concat(E.cssPrefix, "-").concat(sr.GROUP)
|
|
1725
1725
|
},
|
|
1726
1726
|
children: [{
|
|
1727
1727
|
tag: "path",
|
|
1728
1728
|
attributes: {
|
|
1729
|
-
class: "".concat(
|
|
1729
|
+
class: "".concat(E.cssPrefix, "-").concat(sr.SECONDARY),
|
|
1730
1730
|
fill: "currentColor",
|
|
1731
1731
|
d: a[0]
|
|
1732
1732
|
}
|
|
1733
1733
|
}, {
|
|
1734
1734
|
tag: "path",
|
|
1735
1735
|
attributes: {
|
|
1736
|
-
class: "".concat(
|
|
1736
|
+
class: "".concat(E.cssPrefix, "-").concat(sr.PRIMARY),
|
|
1737
1737
|
fill: "currentColor",
|
|
1738
1738
|
d: a[1]
|
|
1739
1739
|
}
|
|
@@ -1757,11 +1757,11 @@ const Df = {
|
|
|
1757
1757
|
height: 512
|
|
1758
1758
|
};
|
|
1759
1759
|
function Nf(e, t) {
|
|
1760
|
-
!Ks && !
|
|
1760
|
+
!Ks && !E.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
1761
1761
|
}
|
|
1762
1762
|
function Yr(e, t) {
|
|
1763
1763
|
let n = t;
|
|
1764
|
-
return t === "fa" &&
|
|
1764
|
+
return t === "fa" && E.styleDefault !== null && (t = wt()), new Promise((a, r) => {
|
|
1765
1765
|
if (n === "fa") {
|
|
1766
1766
|
const o = dl(e);
|
|
1767
1767
|
e = o.iconName || e, t = o.prefix || t;
|
|
@@ -1771,12 +1771,12 @@ function Yr(e, t) {
|
|
|
1771
1771
|
return a(Ur(o));
|
|
1772
1772
|
}
|
|
1773
1773
|
Nf(e, t), a(b(b({}, Df), {}, {
|
|
1774
|
-
icon:
|
|
1774
|
+
icon: E.showMissingIcons && e ? xt("missingIconAbstract") || {} : {}
|
|
1775
1775
|
}));
|
|
1776
1776
|
});
|
|
1777
1777
|
}
|
|
1778
1778
|
const Ci = () => {
|
|
1779
|
-
}, Wr =
|
|
1779
|
+
}, Wr = E.measurePerformance && Kn && Kn.mark && Kn.measure ? Kn : {
|
|
1780
1780
|
mark: Ci,
|
|
1781
1781
|
measure: Ci
|
|
1782
1782
|
}, pn = 'FA "6.7.2"', If = (e) => (Wr.mark("".concat(pn, " ").concat(e, " begins")), () => hl(e)), hl = (e) => {
|
|
@@ -1796,10 +1796,10 @@ function Mf(e) {
|
|
|
1796
1796
|
return t && n;
|
|
1797
1797
|
}
|
|
1798
1798
|
function Lf(e) {
|
|
1799
|
-
return e && e.classList && e.classList.contains && e.classList.contains(
|
|
1799
|
+
return e && e.classList && e.classList.contains && e.classList.contains(E.replacementClass);
|
|
1800
1800
|
}
|
|
1801
1801
|
function Ff() {
|
|
1802
|
-
return
|
|
1802
|
+
return E.autoReplaceSvg === !0 ? la.replace : la[E.autoReplaceSvg] || la.replace;
|
|
1803
1803
|
}
|
|
1804
1804
|
function Rf(e) {
|
|
1805
1805
|
return q.createElementNS("http://www.w3.org/2000/svg", e);
|
|
@@ -1833,7 +1833,7 @@ const la = {
|
|
|
1833
1833
|
if (t.parentNode)
|
|
1834
1834
|
if (e[1].forEach((n) => {
|
|
1835
1835
|
t.parentNode.insertBefore(pl(n), t);
|
|
1836
|
-
}), t.getAttribute(Ft) === null &&
|
|
1836
|
+
}), t.getAttribute(Ft) === null && E.keepOriginalSource) {
|
|
1837
1837
|
let n = q.createComment(zf(t));
|
|
1838
1838
|
t.parentNode.replaceChild(n, t);
|
|
1839
1839
|
} else
|
|
@@ -1841,11 +1841,11 @@ const la = {
|
|
|
1841
1841
|
},
|
|
1842
1842
|
nest: function(e) {
|
|
1843
1843
|
const t = e[0], n = e[1];
|
|
1844
|
-
if (~Mo(t).indexOf(
|
|
1844
|
+
if (~Mo(t).indexOf(E.replacementClass))
|
|
1845
1845
|
return la.replace(e);
|
|
1846
|
-
const a = new RegExp("".concat(
|
|
1846
|
+
const a = new RegExp("".concat(E.cssPrefix, "-.*"));
|
|
1847
1847
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
1848
|
-
const o = n[0].attributes.class.split(" ").reduce((i, s) => (s ===
|
|
1848
|
+
const o = n[0].attributes.class.split(" ").reduce((i, s) => (s === E.replacementClass || s.match(a) ? i.toSvg.push(s) : i.toNode.push(s), i), {
|
|
1849
1849
|
toNode: [],
|
|
1850
1850
|
toSvg: []
|
|
1851
1851
|
});
|
|
@@ -1865,7 +1865,7 @@ function vl(e, t) {
|
|
|
1865
1865
|
n();
|
|
1866
1866
|
else {
|
|
1867
1867
|
let a = Oi;
|
|
1868
|
-
|
|
1868
|
+
E.mutateApproach === Vu && (a = bt.requestAnimationFrame || Oi), a(() => {
|
|
1869
1869
|
const r = Ff(), o = zo.begin("mutate");
|
|
1870
1870
|
e.map(r), o(), n();
|
|
1871
1871
|
});
|
|
@@ -1880,7 +1880,7 @@ function $r() {
|
|
|
1880
1880
|
}
|
|
1881
1881
|
let wa = null;
|
|
1882
1882
|
function Pi(e) {
|
|
1883
|
-
if (!mi || !
|
|
1883
|
+
if (!mi || !E.observeMutations)
|
|
1884
1884
|
return;
|
|
1885
1885
|
const {
|
|
1886
1886
|
treeCallback: t = sa,
|
|
@@ -1893,7 +1893,7 @@ function Pi(e) {
|
|
|
1893
1893
|
return;
|
|
1894
1894
|
const i = wt();
|
|
1895
1895
|
ln(o).forEach((s) => {
|
|
1896
|
-
if (s.type === "childList" && s.addedNodes.length > 0 && !ki(s.addedNodes[0]) && (
|
|
1896
|
+
if (s.type === "childList" && s.addedNodes.length > 0 && !ki(s.addedNodes[0]) && (E.searchPseudoElements && a(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && E.searchPseudoElements && a(s.target.parentNode), s.type === "attributes" && ki(s.target) && ~Hu.indexOf(s.attributeName))
|
|
1897
1897
|
if (s.attributeName === "class" && Mf(s.target)) {
|
|
1898
1898
|
const {
|
|
1899
1899
|
prefix: l,
|
|
@@ -1924,11 +1924,11 @@ function Vf(e) {
|
|
|
1924
1924
|
function Uf(e) {
|
|
1925
1925
|
const t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "";
|
|
1926
1926
|
let r = Ya(Mo(e));
|
|
1927
|
-
return r.prefix || (r.prefix = wt()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = mf(r.prefix, e.innerText) || Ro(r.prefix, rl(e.innerText))), !r.iconName &&
|
|
1927
|
+
return r.prefix || (r.prefix = wt()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = mf(r.prefix, e.innerText) || Ro(r.prefix, rl(e.innerText))), !r.iconName && E.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
1928
1928
|
}
|
|
1929
1929
|
function Yf(e) {
|
|
1930
1930
|
const t = ln(e.attributes).reduce((r, o) => (r.name !== "class" && r.name !== "style" && (r[o.name] = o.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
|
|
1931
|
-
return
|
|
1931
|
+
return E.autoA11y && (n ? t["aria-labelledby"] = "".concat(E.replacementClass, "-title-").concat(a || Mn()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
|
1932
1932
|
}
|
|
1933
1933
|
function Wf() {
|
|
1934
1934
|
return {
|
|
@@ -1985,7 +1985,7 @@ const {
|
|
|
1985
1985
|
styles: $f
|
|
1986
1986
|
} = Ge;
|
|
1987
1987
|
function bl(e) {
|
|
1988
|
-
const t =
|
|
1988
|
+
const t = E.autoReplaceSvg === "nest" ? Ei(e, {
|
|
1989
1989
|
styleParser: !1
|
|
1990
1990
|
}) : Ei(e);
|
|
1991
1991
|
return ~t.extra.classes.indexOf(Zs) ? xt("generateLayersText", e, t) : xt("generateSvgReplacementMutation", e, t);
|
|
@@ -1997,7 +1997,7 @@ function Ai(e) {
|
|
|
1997
1997
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1998
1998
|
if (!lt)
|
|
1999
1999
|
return Promise.resolve();
|
|
2000
|
-
const n = q.documentElement.classList, a = (u) => n.add("".concat(pi, "-").concat(u)), r = (u) => n.remove("".concat(pi, "-").concat(u)), o =
|
|
2000
|
+
const n = q.documentElement.classList, a = (u) => n.add("".concat(pi, "-").concat(u)), r = (u) => n.remove("".concat(pi, "-").concat(u)), o = E.autoFetchSvg ? Gf() : $s.concat(Object.keys($f));
|
|
2001
2001
|
o.includes("fa") || o.push("fa");
|
|
2002
2002
|
const i = [".".concat(Zs, ":not([").concat(Ft, "])")].concat(o.map((u) => ".".concat(u, ":not([").concat(Ft, "])"))).join(", ");
|
|
2003
2003
|
if (i.length === 0)
|
|
@@ -2073,7 +2073,7 @@ const Xf = function(e) {
|
|
|
2073
2073
|
}, e), () => (Rt("beforeDOMElementCreation", {
|
|
2074
2074
|
iconDefinition: e,
|
|
2075
2075
|
params: t
|
|
2076
|
-
}),
|
|
2076
|
+
}), E.autoA11y && (i ? c["aria-labelledby"] = "".concat(E.replacementClass, "-title-").concat(s || Mn()) : (c["aria-hidden"] = "true", c.focusable = "false")), jo({
|
|
2077
2077
|
icons: {
|
|
2078
2078
|
main: Ur(h),
|
|
2079
2079
|
mask: r ? Ur(r.icon) : {
|
|
@@ -2200,7 +2200,7 @@ var Kf = {
|
|
|
2200
2200
|
}), [{
|
|
2201
2201
|
tag: "span",
|
|
2202
2202
|
attributes: {
|
|
2203
|
-
class: ["".concat(
|
|
2203
|
+
class: ["".concat(E.cssPrefix, "-layers"), ...n].join(" ")
|
|
2204
2204
|
},
|
|
2205
2205
|
children: a
|
|
2206
2206
|
}];
|
|
@@ -2231,7 +2231,7 @@ var Kf = {
|
|
|
2231
2231
|
extra: {
|
|
2232
2232
|
attributes: r,
|
|
2233
2233
|
styles: o,
|
|
2234
|
-
classes: ["".concat(
|
|
2234
|
+
classes: ["".concat(E.cssPrefix, "-layers-counter"), ...a]
|
|
2235
2235
|
}
|
|
2236
2236
|
})));
|
|
2237
2237
|
}
|
|
@@ -2262,7 +2262,7 @@ var Kf = {
|
|
|
2262
2262
|
extra: {
|
|
2263
2263
|
attributes: o,
|
|
2264
2264
|
styles: i,
|
|
2265
|
-
classes: ["".concat(
|
|
2265
|
+
classes: ["".concat(E.cssPrefix, "-layers-text"), ...r]
|
|
2266
2266
|
}
|
|
2267
2267
|
})));
|
|
2268
2268
|
}
|
|
@@ -2280,7 +2280,7 @@ var Kf = {
|
|
|
2280
2280
|
const l = parseInt(getComputedStyle(t).fontSize, 10), c = t.getBoundingClientRect();
|
|
2281
2281
|
i = c.width / l, s = c.height / l;
|
|
2282
2282
|
}
|
|
2283
|
-
return
|
|
2283
|
+
return E.autoA11y && !a && (o.attributes["aria-hidden"] = "true"), Promise.resolve([t, _i({
|
|
2284
2284
|
content: t.innerHTML,
|
|
2285
2285
|
width: i,
|
|
2286
2286
|
height: s,
|
|
@@ -2387,7 +2387,7 @@ var id = {
|
|
|
2387
2387
|
const {
|
|
2388
2388
|
node: n = q
|
|
2389
2389
|
} = t;
|
|
2390
|
-
|
|
2390
|
+
E.searchPseudoElements && Ii(n);
|
|
2391
2391
|
};
|
|
2392
2392
|
}
|
|
2393
2393
|
};
|
|
@@ -3264,13 +3264,13 @@ const cn = (e, t) => {
|
|
|
3264
3264
|
}, zd = ["innerHTML"];
|
|
3265
3265
|
function Bd(e, t, n, a, r, o) {
|
|
3266
3266
|
const i = ne("font-awesome-icon");
|
|
3267
|
-
return n.link ? (_(),
|
|
3267
|
+
return n.link ? (_(), P("a", {
|
|
3268
3268
|
key: 0,
|
|
3269
3269
|
href: n.link,
|
|
3270
3270
|
target: "_blank",
|
|
3271
3271
|
class: Ne(["vi-button", [{ "icon-right": n.iconRight }, { "is-disabled": n.isDisabled }, { "is-loading": n.isLoading }, o.buttonSize, o.buttonMode]])
|
|
3272
3272
|
}, [
|
|
3273
|
-
n.isLoading ? (_(),
|
|
3273
|
+
n.isLoading ? (_(), P("div", Md)) : o.icon ? (_(), ee(i, {
|
|
3274
3274
|
key: 1,
|
|
3275
3275
|
icon: ["fas", o.icon],
|
|
3276
3276
|
class: "vi-button-icon"
|
|
@@ -3282,13 +3282,13 @@ function Bd(e, t, n, a, r, o) {
|
|
|
3282
3282
|
class: "typestyle-b1 m-typestyle-b2",
|
|
3283
3283
|
innerHTML: n.label
|
|
3284
3284
|
}, null, 8, Fd)
|
|
3285
|
-
], 10, Id)) : (_(),
|
|
3285
|
+
], 10, Id)) : (_(), P("button", {
|
|
3286
3286
|
key: 1,
|
|
3287
3287
|
class: Ne(["vi-button", [{ "icon-right": n.iconRight }, { "is-disabled": n.isDisabled }, { "is-loading": n.isLoading }, o.buttonSize, o.buttonMode]]),
|
|
3288
3288
|
type: n.type,
|
|
3289
3289
|
onClick: t[0] || (t[0] = (s) => e.$emit("click", s))
|
|
3290
3290
|
}, [
|
|
3291
|
-
n.isLoading ? (_(),
|
|
3291
|
+
n.isLoading ? (_(), P("span", jd)) : o.icon ? (_(), ee(i, {
|
|
3292
3292
|
key: 1,
|
|
3293
3293
|
icon: ["fas", o.icon],
|
|
3294
3294
|
class: "vi-button-icon"
|
|
@@ -3318,7 +3318,7 @@ const $a = /* @__PURE__ */ cn(Nd, [["render", Bd]]), Vd = {
|
|
|
3318
3318
|
}, Ud = { class: "vi-main-header" }, Yd = { class: "header-title" };
|
|
3319
3319
|
function Wd(e, t, n, a, r, o) {
|
|
3320
3320
|
const i = ne("vi-button");
|
|
3321
|
-
return _(),
|
|
3321
|
+
return _(), P("div", Ud, [
|
|
3322
3322
|
I("h3", Yd, ce(n.headerTitle), 1),
|
|
3323
3323
|
n.buttonLabel && n.showButton ? (_(), ee(i, {
|
|
3324
3324
|
key: 0,
|
|
@@ -3344,8 +3344,8 @@ const $d = /* @__PURE__ */ cn(Vd, [["render", Wd]]), Gd = {
|
|
|
3344
3344
|
class: "header-container"
|
|
3345
3345
|
}, Xd = { class: "content-container" };
|
|
3346
3346
|
function Kd(e, t, n, a, r, o) {
|
|
3347
|
-
return _(),
|
|
3348
|
-
n.hideHeader ? W("", !0) : (_(),
|
|
3347
|
+
return _(), P("div", Hd, [
|
|
3348
|
+
n.hideHeader ? W("", !0) : (_(), P("div", qd, [
|
|
3349
3349
|
te(e.$slots, "header")
|
|
3350
3350
|
])),
|
|
3351
3351
|
I("div", Xd, [
|
|
@@ -3432,7 +3432,7 @@ const Qd = /* @__PURE__ */ cn(Gd, [["render", Kd]]), Zd = {
|
|
|
3432
3432
|
}, em = { class: "dialog-label" }, tm = { class: "extra-content" }, nm = { class: "dialog-actions" };
|
|
3433
3433
|
function am(e, t, n, a, r, o) {
|
|
3434
3434
|
const i = ne("vi-button");
|
|
3435
|
-
return n.modelValue ? (_(),
|
|
3435
|
+
return n.modelValue ? (_(), P("div", Jd, [
|
|
3436
3436
|
I("div", {
|
|
3437
3437
|
class: Ne(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
|
|
3438
3438
|
}, [
|
|
@@ -3501,7 +3501,7 @@ const rm = /* @__PURE__ */ cn(Zd, [["render", am]]), om = {
|
|
|
3501
3501
|
}, sm = { class: "dialog-header-container" }, lm = ["innerHTML"], cm = { class: "dialog-content" };
|
|
3502
3502
|
function um(e, t, n, a, r, o) {
|
|
3503
3503
|
const i = ne("font-awesome-icon");
|
|
3504
|
-
return n.modelValue ? (_(),
|
|
3504
|
+
return n.modelValue ? (_(), P("div", im, [
|
|
3505
3505
|
I("div", {
|
|
3506
3506
|
class: Ne(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
|
|
3507
3507
|
}, [
|
|
@@ -4453,7 +4453,7 @@ const Wm = {
|
|
|
4453
4453
|
}
|
|
4454
4454
|
}, $m = { key: 0 };
|
|
4455
4455
|
function Gm(e, t, n, a, r, o) {
|
|
4456
|
-
return _(),
|
|
4456
|
+
return _(), P(Re, null, [
|
|
4457
4457
|
I("div", {
|
|
4458
4458
|
class: "vi-tooltip-content",
|
|
4459
4459
|
ref: "reference",
|
|
@@ -4467,13 +4467,13 @@ function Gm(e, t, n, a, r, o) {
|
|
|
4467
4467
|
Kc(ce(a.truncatedText), 1)
|
|
4468
4468
|
], !0)
|
|
4469
4469
|
], 544),
|
|
4470
|
-
a.open && !a.hideAlwaysTooltip ? (_(),
|
|
4470
|
+
a.open && !a.hideAlwaysTooltip ? (_(), P("div", {
|
|
4471
4471
|
key: 0,
|
|
4472
4472
|
class: "vi-tooltip",
|
|
4473
4473
|
ref: "floating",
|
|
4474
4474
|
style: Qc({ ...a.floatingStyles, "background-color": a.backgroundColor, color: a.textColor })
|
|
4475
4475
|
}, [
|
|
4476
|
-
n.text ? (_(),
|
|
4476
|
+
n.text ? (_(), P("span", $m, ce(n.text), 1)) : te(e.$slots, "content", { key: 1 }, void 0, !0)
|
|
4477
4477
|
], 4)) : W("", !0)
|
|
4478
4478
|
], 64);
|
|
4479
4479
|
}
|
|
@@ -5588,7 +5588,7 @@ const Yg = {
|
|
|
5588
5588
|
}, Wg = ["value", "placeholder"];
|
|
5589
5589
|
function $g(e, t, n, a, r, o) {
|
|
5590
5590
|
const i = ne("vi-tooltip");
|
|
5591
|
-
return o.isEditable ? (_(),
|
|
5591
|
+
return o.isEditable ? (_(), P("div", Pe({
|
|
5592
5592
|
key: 1,
|
|
5593
5593
|
class: "vi-grid-text editable"
|
|
5594
5594
|
}, e.$attrs), [
|
|
@@ -5599,7 +5599,7 @@ function $g(e, t, n, a, r, o) {
|
|
|
5599
5599
|
onClick: t[0] || (t[0] = za((s) => s.stopPropagation(), ["stop"])),
|
|
5600
5600
|
onInput: t[1] || (t[1] = (...s) => o.emitValue && o.emitValue(...s))
|
|
5601
5601
|
}, null, 40, Wg)
|
|
5602
|
-
], 16)) : (_(),
|
|
5602
|
+
], 16)) : (_(), P("div", Pe({
|
|
5603
5603
|
key: 0,
|
|
5604
5604
|
class: "vi-grid-text"
|
|
5605
5605
|
}, e.$attrs), [
|
|
@@ -7032,7 +7032,7 @@ const kp = {
|
|
|
7032
7032
|
}
|
|
7033
7033
|
}, Op = { class: "vi-grid-date" };
|
|
7034
7034
|
function Pp(e, t, n, a, r, o) {
|
|
7035
|
-
return _(),
|
|
7035
|
+
return _(), P("div", Op, ce(o.dateFormatted), 1);
|
|
7036
7036
|
}
|
|
7037
7037
|
const Ep = /* @__PURE__ */ be(kp, [["render", Pp]]);
|
|
7038
7038
|
/*!
|
|
@@ -7447,28 +7447,28 @@ const fc = {
|
|
|
7447
7447
|
On.familyPrefix && (On.cssPrefix = On.familyPrefix);
|
|
7448
7448
|
const rn = w(w({}, fc), On);
|
|
7449
7449
|
rn.autoReplaceSvg || (rn.observeMutations = !1);
|
|
7450
|
-
const
|
|
7450
|
+
const A = {};
|
|
7451
7451
|
Object.keys(fc).forEach((e) => {
|
|
7452
|
-
Object.defineProperty(
|
|
7452
|
+
Object.defineProperty(A, e, {
|
|
7453
7453
|
enumerable: !0,
|
|
7454
7454
|
set: function(t) {
|
|
7455
|
-
rn[e] = t, Pn.forEach((n) => n(
|
|
7455
|
+
rn[e] = t, Pn.forEach((n) => n(A));
|
|
7456
7456
|
},
|
|
7457
7457
|
get: function() {
|
|
7458
7458
|
return rn[e];
|
|
7459
7459
|
}
|
|
7460
7460
|
});
|
|
7461
7461
|
});
|
|
7462
|
-
Object.defineProperty(
|
|
7462
|
+
Object.defineProperty(A, "familyPrefix", {
|
|
7463
7463
|
enumerable: !0,
|
|
7464
7464
|
set: function(e) {
|
|
7465
|
-
rn.cssPrefix = e, Pn.forEach((t) => t(
|
|
7465
|
+
rn.cssPrefix = e, Pn.forEach((t) => t(A));
|
|
7466
7466
|
},
|
|
7467
7467
|
get: function() {
|
|
7468
7468
|
return rn.cssPrefix;
|
|
7469
7469
|
}
|
|
7470
7470
|
});
|
|
7471
|
-
Ct.FontAwesomeConfig =
|
|
7471
|
+
Ct.FontAwesomeConfig = A;
|
|
7472
7472
|
const Pn = [];
|
|
7473
7473
|
function mv(e) {
|
|
7474
7474
|
return Pn.push(e), () => {
|
|
@@ -8107,7 +8107,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
8107
8107
|
fill: black;
|
|
8108
8108
|
}`;
|
|
8109
8109
|
function mc() {
|
|
8110
|
-
const e = ic, t = sc, n =
|
|
8110
|
+
const e = ic, t = sc, n = A.cssPrefix, a = A.replacementClass;
|
|
8111
8111
|
let r = bv;
|
|
8112
8112
|
if (n !== e || a !== t) {
|
|
8113
8113
|
const o = new RegExp("\\.".concat(e, "\\-"), "g"), i = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
@@ -8117,7 +8117,7 @@ function mc() {
|
|
|
8117
8117
|
}
|
|
8118
8118
|
let os = !1;
|
|
8119
8119
|
function vr() {
|
|
8120
|
-
|
|
8120
|
+
A.autoAddCss && !os && (gv(mc()), os = !0);
|
|
8121
8121
|
}
|
|
8122
8122
|
var wv = {
|
|
8123
8123
|
mixout() {
|
|
@@ -8239,7 +8239,7 @@ const Sc = () => {
|
|
|
8239
8239
|
a[s] = o;
|
|
8240
8240
|
}), a;
|
|
8241
8241
|
});
|
|
8242
|
-
const t = "far" in Bn ||
|
|
8242
|
+
const t = "far" in Bn || A.autoFetchSvg, n = yr(kv, (a, r) => {
|
|
8243
8243
|
const o = r[0];
|
|
8244
8244
|
let i = r[1];
|
|
8245
8245
|
const s = r[2];
|
|
@@ -8254,13 +8254,13 @@ const Sc = () => {
|
|
|
8254
8254
|
names: {},
|
|
8255
8255
|
unicodes: {}
|
|
8256
8256
|
});
|
|
8257
|
-
bc = n.names, wc = n.unicodes, ei = nr(
|
|
8258
|
-
family:
|
|
8257
|
+
bc = n.names, wc = n.unicodes, ei = nr(A.styleDefault, {
|
|
8258
|
+
family: A.familyDefault
|
|
8259
8259
|
});
|
|
8260
8260
|
};
|
|
8261
8261
|
mv((e) => {
|
|
8262
8262
|
ei = nr(e.styleDefault, {
|
|
8263
|
-
family:
|
|
8263
|
+
family: A.familyDefault
|
|
8264
8264
|
});
|
|
8265
8265
|
});
|
|
8266
8266
|
Sc();
|
|
@@ -8299,7 +8299,7 @@ const Cc = () => ({
|
|
|
8299
8299
|
});
|
|
8300
8300
|
function Dv(e) {
|
|
8301
8301
|
let t = me;
|
|
8302
|
-
const n = pc.reduce((a, r) => (a[r] = "".concat(
|
|
8302
|
+
const n = pc.reduce((a, r) => (a[r] = "".concat(A.cssPrefix, "-").concat(r), a), {});
|
|
8303
8303
|
return rc.forEach((a) => {
|
|
8304
8304
|
(e.includes(n[a]) || e.some((r) => Ov[a].includes(r))) && (t = a);
|
|
8305
8305
|
}), t;
|
|
@@ -8317,7 +8317,7 @@ function nr(e) {
|
|
|
8317
8317
|
function Nv(e) {
|
|
8318
8318
|
let t = [], n = null;
|
|
8319
8319
|
return e.forEach((a) => {
|
|
8320
|
-
const r = Ev(
|
|
8320
|
+
const r = Ev(A.cssPrefix, a);
|
|
8321
8321
|
r ? n = r : a && t.push(a);
|
|
8322
8322
|
}), {
|
|
8323
8323
|
iconName: n,
|
|
@@ -8342,7 +8342,7 @@ function ar(e) {
|
|
|
8342
8342
|
values: e,
|
|
8343
8343
|
family: c,
|
|
8344
8344
|
styles: Bn,
|
|
8345
|
-
config:
|
|
8345
|
+
config: A,
|
|
8346
8346
|
canonical: u,
|
|
8347
8347
|
givenPrefix: a
|
|
8348
8348
|
})), Iv(n, a, u));
|
|
@@ -8358,7 +8358,7 @@ function Iv(e, t, n) {
|
|
|
8358
8358
|
iconName: r
|
|
8359
8359
|
};
|
|
8360
8360
|
const o = t === "fa" ? _c(r) : {}, i = Mt(a, r);
|
|
8361
|
-
return r = o.iconName || i || r, a = o.prefix || a, a === "far" && !Bn.far && Bn.fas && !
|
|
8361
|
+
return r = o.iconName || i || r, a = o.prefix || a, a === "far" && !Bn.far && Bn.fas && !A.autoFetchSvg && (a = "fas"), {
|
|
8362
8362
|
prefix: a,
|
|
8363
8363
|
iconName: r
|
|
8364
8364
|
};
|
|
@@ -8463,7 +8463,7 @@ function go(e) {
|
|
|
8463
8463
|
return t = Mt(n, t) || t, is(kc.definitions, n, t) || is(qe.styles, n, t);
|
|
8464
8464
|
}
|
|
8465
8465
|
const kc = new Rv(), Bv = () => {
|
|
8466
|
-
|
|
8466
|
+
A.autoReplaceSvg = !1, A.observeMutations = !1, zt("noAuto");
|
|
8467
8467
|
}, Vv = {
|
|
8468
8468
|
i2svg: function() {
|
|
8469
8469
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -8474,7 +8474,7 @@ const kc = new Rv(), Bv = () => {
|
|
|
8474
8474
|
const {
|
|
8475
8475
|
autoReplaceSvgRoot: t
|
|
8476
8476
|
} = e;
|
|
8477
|
-
|
|
8477
|
+
A.autoReplaceSvg === !1 && (A.autoReplaceSvg = !0), A.observeMutations = !0, xv(() => {
|
|
8478
8478
|
Yv({
|
|
8479
8479
|
autoReplaceSvgRoot: t
|
|
8480
8480
|
}), zt("watch", e);
|
|
@@ -8496,7 +8496,7 @@ const kc = new Rv(), Bv = () => {
|
|
|
8496
8496
|
iconName: Mt(n, t) || t
|
|
8497
8497
|
};
|
|
8498
8498
|
}
|
|
8499
|
-
if (typeof e == "string" && (e.indexOf("".concat(
|
|
8499
|
+
if (typeof e == "string" && (e.indexOf("".concat(A.cssPrefix, "-")) > -1 || e.match(iv))) {
|
|
8500
8500
|
const t = ar(e.split(" "), {
|
|
8501
8501
|
skipLookups: !0
|
|
8502
8502
|
});
|
|
@@ -8515,7 +8515,7 @@ const kc = new Rv(), Bv = () => {
|
|
|
8515
8515
|
}
|
|
8516
8516
|
}, Ae = {
|
|
8517
8517
|
noAuto: Bv,
|
|
8518
|
-
config:
|
|
8518
|
+
config: A,
|
|
8519
8519
|
dom: Vv,
|
|
8520
8520
|
parse: Uv,
|
|
8521
8521
|
library: kc,
|
|
@@ -8526,7 +8526,7 @@ const kc = new Rv(), Bv = () => {
|
|
|
8526
8526
|
const {
|
|
8527
8527
|
autoReplaceSvgRoot: t = X
|
|
8528
8528
|
} = e;
|
|
8529
|
-
(Object.keys(qe.styles).length > 0 ||
|
|
8529
|
+
(Object.keys(qe.styles).length > 0 || A.autoFetchSvg) && ut && A.autoReplaceSvg && Ae.dom.i2svg({
|
|
8530
8530
|
node: t
|
|
8531
8531
|
});
|
|
8532
8532
|
};
|
|
@@ -8581,7 +8581,7 @@ function $v(e) {
|
|
|
8581
8581
|
attributes: r,
|
|
8582
8582
|
symbol: o
|
|
8583
8583
|
} = e;
|
|
8584
|
-
const i = o === !0 ? "".concat(t, "-").concat(
|
|
8584
|
+
const i = o === !0 ? "".concat(t, "-").concat(A.cssPrefix, "-").concat(n) : o;
|
|
8585
8585
|
return [{
|
|
8586
8586
|
tag: "svg",
|
|
8587
8587
|
attributes: {
|
|
@@ -8614,7 +8614,7 @@ function ni(e) {
|
|
|
8614
8614
|
} = e, {
|
|
8615
8615
|
width: d,
|
|
8616
8616
|
height: h
|
|
8617
|
-
} = n.found ? n : t, p = Wp.includes(a), v = [
|
|
8617
|
+
} = n.found ? n : t, p = Wp.includes(a), v = [A.replacementClass, r ? "".concat(A.cssPrefix, "-").concat(r) : ""].filter((O) => u.classes.indexOf(O) === -1).filter((O) => O !== "" || !!O).concat(u.classes).join(" ");
|
|
8618
8618
|
let y = {
|
|
8619
8619
|
children: [],
|
|
8620
8620
|
attributes: w(w({}, u.attributes), {}, {
|
|
@@ -8727,19 +8727,19 @@ function ho(e) {
|
|
|
8727
8727
|
return Array.isArray(a) ? r = {
|
|
8728
8728
|
tag: "g",
|
|
8729
8729
|
attributes: {
|
|
8730
|
-
class: "".concat(
|
|
8730
|
+
class: "".concat(A.cssPrefix, "-").concat(pr.GROUP)
|
|
8731
8731
|
},
|
|
8732
8732
|
children: [{
|
|
8733
8733
|
tag: "path",
|
|
8734
8734
|
attributes: {
|
|
8735
|
-
class: "".concat(
|
|
8735
|
+
class: "".concat(A.cssPrefix, "-").concat(pr.SECONDARY),
|
|
8736
8736
|
fill: "currentColor",
|
|
8737
8737
|
d: a[0]
|
|
8738
8738
|
}
|
|
8739
8739
|
}, {
|
|
8740
8740
|
tag: "path",
|
|
8741
8741
|
attributes: {
|
|
8742
|
-
class: "".concat(
|
|
8742
|
+
class: "".concat(A.cssPrefix, "-").concat(pr.PRIMARY),
|
|
8743
8743
|
fill: "currentColor",
|
|
8744
8744
|
d: a[1]
|
|
8745
8745
|
}
|
|
@@ -8763,11 +8763,11 @@ const Hv = {
|
|
|
8763
8763
|
height: 512
|
|
8764
8764
|
};
|
|
8765
8765
|
function qv(e, t) {
|
|
8766
|
-
!lc && !
|
|
8766
|
+
!lc && !A.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
8767
8767
|
}
|
|
8768
8768
|
function po(e, t) {
|
|
8769
8769
|
let n = t;
|
|
8770
|
-
return t === "fa" &&
|
|
8770
|
+
return t === "fa" && A.styleDefault !== null && (t = kt()), new Promise((a, r) => {
|
|
8771
8771
|
if (n === "fa") {
|
|
8772
8772
|
const o = _c(e) || {};
|
|
8773
8773
|
e = o.iconName || e, t = o.prefix || t;
|
|
@@ -8777,12 +8777,12 @@ function po(e, t) {
|
|
|
8777
8777
|
return a(ho(o));
|
|
8778
8778
|
}
|
|
8779
8779
|
qv(e, t), a(w(w({}, Hv), {}, {
|
|
8780
|
-
icon:
|
|
8780
|
+
icon: A.showMissingIcons && e ? Ot("missingIconAbstract") || {} : {}
|
|
8781
8781
|
}));
|
|
8782
8782
|
});
|
|
8783
8783
|
}
|
|
8784
8784
|
const fs = () => {
|
|
8785
|
-
}, vo =
|
|
8785
|
+
}, vo = A.measurePerformance && Jn && Jn.mark && Jn.measure ? Jn : {
|
|
8786
8786
|
mark: fs,
|
|
8787
8787
|
measure: fs
|
|
8788
8788
|
}, vn = 'FA "6.7.2"', Xv = (e) => (vo.mark("".concat(vn, " ").concat(e, " begins")), () => Oc(e)), Oc = (e) => {
|
|
@@ -8802,10 +8802,10 @@ function Kv(e) {
|
|
|
8802
8802
|
return t && n;
|
|
8803
8803
|
}
|
|
8804
8804
|
function Qv(e) {
|
|
8805
|
-
return e && e.classList && e.classList.contains && e.classList.contains(
|
|
8805
|
+
return e && e.classList && e.classList.contains && e.classList.contains(A.replacementClass);
|
|
8806
8806
|
}
|
|
8807
8807
|
function Zv() {
|
|
8808
|
-
return
|
|
8808
|
+
return A.autoReplaceSvg === !0 ? ma.replace : ma[A.autoReplaceSvg] || ma.replace;
|
|
8809
8809
|
}
|
|
8810
8810
|
function Jv(e) {
|
|
8811
8811
|
return X.createElementNS("http://www.w3.org/2000/svg", e);
|
|
@@ -8839,7 +8839,7 @@ const ma = {
|
|
|
8839
8839
|
if (t.parentNode)
|
|
8840
8840
|
if (e[1].forEach((n) => {
|
|
8841
8841
|
t.parentNode.insertBefore(Pc(n), t);
|
|
8842
|
-
}), t.getAttribute(jt) === null &&
|
|
8842
|
+
}), t.getAttribute(jt) === null && A.keepOriginalSource) {
|
|
8843
8843
|
let n = X.createComment(t1(t));
|
|
8844
8844
|
t.parentNode.replaceChild(n, t);
|
|
8845
8845
|
} else
|
|
@@ -8847,11 +8847,11 @@ const ma = {
|
|
|
8847
8847
|
},
|
|
8848
8848
|
nest: function(e) {
|
|
8849
8849
|
const t = e[0], n = e[1];
|
|
8850
|
-
if (~Zo(t).indexOf(
|
|
8850
|
+
if (~Zo(t).indexOf(A.replacementClass))
|
|
8851
8851
|
return ma.replace(e);
|
|
8852
|
-
const a = new RegExp("".concat(
|
|
8852
|
+
const a = new RegExp("".concat(A.cssPrefix, "-.*"));
|
|
8853
8853
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
8854
|
-
const o = n[0].attributes.class.split(" ").reduce((i, s) => (s ===
|
|
8854
|
+
const o = n[0].attributes.class.split(" ").reduce((i, s) => (s === A.replacementClass || s.match(a) ? i.toSvg.push(s) : i.toNode.push(s), i), {
|
|
8855
8855
|
toNode: [],
|
|
8856
8856
|
toSvg: []
|
|
8857
8857
|
});
|
|
@@ -8871,7 +8871,7 @@ function Ec(e, t) {
|
|
|
8871
8871
|
n();
|
|
8872
8872
|
else {
|
|
8873
8873
|
let a = ms;
|
|
8874
|
-
|
|
8874
|
+
A.mutateApproach === av && (a = Ct.requestAnimationFrame || ms), a(() => {
|
|
8875
8875
|
const r = Zv(), o = ai.begin("mutate");
|
|
8876
8876
|
e.map(r), o(), n();
|
|
8877
8877
|
});
|
|
@@ -8886,7 +8886,7 @@ function yo() {
|
|
|
8886
8886
|
}
|
|
8887
8887
|
let Da = null;
|
|
8888
8888
|
function gs(e) {
|
|
8889
|
-
if (!es || !
|
|
8889
|
+
if (!es || !A.observeMutations)
|
|
8890
8890
|
return;
|
|
8891
8891
|
const {
|
|
8892
8892
|
treeCallback: t = da,
|
|
@@ -8899,7 +8899,7 @@ function gs(e) {
|
|
|
8899
8899
|
return;
|
|
8900
8900
|
const i = kt();
|
|
8901
8901
|
un(o).forEach((s) => {
|
|
8902
|
-
if (s.type === "childList" && s.addedNodes.length > 0 && !ds(s.addedNodes[0]) && (
|
|
8902
|
+
if (s.type === "childList" && s.addedNodes.length > 0 && !ds(s.addedNodes[0]) && (A.searchPseudoElements && a(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && A.searchPseudoElements && a(s.target.parentNode), s.type === "attributes" && ds(s.target) && ~cv.indexOf(s.attributeName))
|
|
8903
8903
|
if (s.attributeName === "class" && Kv(s.target)) {
|
|
8904
8904
|
const {
|
|
8905
8905
|
prefix: l,
|
|
@@ -8930,11 +8930,11 @@ function a1(e) {
|
|
|
8930
8930
|
function r1(e) {
|
|
8931
8931
|
const t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "";
|
|
8932
8932
|
let r = ar(Zo(e));
|
|
8933
|
-
return r.prefix || (r.prefix = kt()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Av(r.prefix, e.innerText) || ti(r.prefix, uo(e.innerText))), !r.iconName &&
|
|
8933
|
+
return r.prefix || (r.prefix = kt()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = Av(r.prefix, e.innerText) || ti(r.prefix, uo(e.innerText))), !r.iconName && A.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
8934
8934
|
}
|
|
8935
8935
|
function o1(e) {
|
|
8936
8936
|
const t = un(e.attributes).reduce((r, o) => (r.name !== "class" && r.name !== "style" && (r[o.name] = o.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
|
|
8937
|
-
return
|
|
8937
|
+
return A.autoA11y && (n ? t["aria-labelledby"] = "".concat(A.replacementClass, "-title-").concat(a || zn()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
|
8938
8938
|
}
|
|
8939
8939
|
function i1() {
|
|
8940
8940
|
return {
|
|
@@ -8991,7 +8991,7 @@ const {
|
|
|
8991
8991
|
styles: s1
|
|
8992
8992
|
} = qe;
|
|
8993
8993
|
function Tc(e) {
|
|
8994
|
-
const t =
|
|
8994
|
+
const t = A.autoReplaceSvg === "nest" ? hs(e, {
|
|
8995
8995
|
styleParser: !1
|
|
8996
8996
|
}) : hs(e);
|
|
8997
8997
|
return ~t.extra.classes.indexOf(uc) ? Ot("generateLayersText", e, t) : Ot("generateSvgReplacementMutation", e, t);
|
|
@@ -9003,7 +9003,7 @@ function ps(e) {
|
|
|
9003
9003
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
9004
9004
|
if (!ut)
|
|
9005
9005
|
return Promise.resolve();
|
|
9006
|
-
const n = X.documentElement.classList, a = (u) => n.add("".concat(as, "-").concat(u)), r = (u) => n.remove("".concat(as, "-").concat(u)), o =
|
|
9006
|
+
const n = X.documentElement.classList, a = (u) => n.add("".concat(as, "-").concat(u)), r = (u) => n.remove("".concat(as, "-").concat(u)), o = A.autoFetchSvg ? l1() : ac.concat(Object.keys(s1));
|
|
9007
9007
|
o.includes("fa") || o.push("fa");
|
|
9008
9008
|
const i = [".".concat(uc, ":not([").concat(jt, "])")].concat(o.map((u) => ".".concat(u, ":not([").concat(jt, "])"))).join(", ");
|
|
9009
9009
|
if (i.length === 0)
|
|
@@ -9079,7 +9079,7 @@ const f1 = function(e) {
|
|
|
9079
9079
|
}, e), () => (zt("beforeDOMElementCreation", {
|
|
9080
9080
|
iconDefinition: e,
|
|
9081
9081
|
params: t
|
|
9082
|
-
}),
|
|
9082
|
+
}), A.autoA11y && (i ? c["aria-labelledby"] = "".concat(A.replacementClass, "-title-").concat(s || zn()) : (c["aria-hidden"] = "true", c.focusable = "false")), ni({
|
|
9083
9083
|
icons: {
|
|
9084
9084
|
main: ho(h),
|
|
9085
9085
|
mask: r ? ho(r.icon) : {
|
|
@@ -9206,7 +9206,7 @@ var d1 = {
|
|
|
9206
9206
|
}), [{
|
|
9207
9207
|
tag: "span",
|
|
9208
9208
|
attributes: {
|
|
9209
|
-
class: ["".concat(
|
|
9209
|
+
class: ["".concat(A.cssPrefix, "-layers"), ...n].join(" ")
|
|
9210
9210
|
},
|
|
9211
9211
|
children: a
|
|
9212
9212
|
}];
|
|
@@ -9237,7 +9237,7 @@ var d1 = {
|
|
|
9237
9237
|
extra: {
|
|
9238
9238
|
attributes: r,
|
|
9239
9239
|
styles: o,
|
|
9240
|
-
classes: ["".concat(
|
|
9240
|
+
classes: ["".concat(A.cssPrefix, "-layers-counter"), ...a]
|
|
9241
9241
|
}
|
|
9242
9242
|
})));
|
|
9243
9243
|
}
|
|
@@ -9268,7 +9268,7 @@ var d1 = {
|
|
|
9268
9268
|
extra: {
|
|
9269
9269
|
attributes: o,
|
|
9270
9270
|
styles: i,
|
|
9271
|
-
classes: ["".concat(
|
|
9271
|
+
classes: ["".concat(A.cssPrefix, "-layers-text"), ...r]
|
|
9272
9272
|
}
|
|
9273
9273
|
})));
|
|
9274
9274
|
}
|
|
@@ -9286,7 +9286,7 @@ var d1 = {
|
|
|
9286
9286
|
const l = parseInt(getComputedStyle(t).fontSize, 10), c = t.getBoundingClientRect();
|
|
9287
9287
|
i = c.width / l, s = c.height / l;
|
|
9288
9288
|
}
|
|
9289
|
-
return
|
|
9289
|
+
return A.autoA11y && !a && (o.attributes["aria-hidden"] = "true"), Promise.resolve([t, us({
|
|
9290
9290
|
content: t.innerHTML,
|
|
9291
9291
|
width: i,
|
|
9292
9292
|
height: s,
|
|
@@ -9393,7 +9393,7 @@ var S1 = {
|
|
|
9393
9393
|
const {
|
|
9394
9394
|
node: n = X
|
|
9395
9395
|
} = t;
|
|
9396
|
-
|
|
9396
|
+
A.searchPseudoElements && ws(n);
|
|
9397
9397
|
};
|
|
9398
9398
|
}
|
|
9399
9399
|
};
|
|
@@ -10230,14 +10230,14 @@ const H1 = {
|
|
|
10230
10230
|
}, X1 = ["onClick"];
|
|
10231
10231
|
function K1(e, t, n, a, r, o) {
|
|
10232
10232
|
const i = ne("font-awesome-icon");
|
|
10233
|
-
return _(),
|
|
10233
|
+
return _(), P("div", {
|
|
10234
10234
|
class: "vi-grid-kebab-menu",
|
|
10235
10235
|
ref: "kebabMenu",
|
|
10236
10236
|
onClick: t[0] || (t[0] = za((s) => e.$emit("toggleMenu"), ["stop"]))
|
|
10237
10237
|
}, [
|
|
10238
10238
|
R(i, { icon: ["fas", "ellipsis"] }),
|
|
10239
|
-
n.showMenu ? (_(),
|
|
10240
|
-
(_(!0),
|
|
10239
|
+
n.showMenu ? (_(), P("div", q1, [
|
|
10240
|
+
(_(!0), P(Re, null, vt(n.actions, (s) => (_(), P("div", {
|
|
10241
10241
|
key: s.action,
|
|
10242
10242
|
onClick: (l) => e.$emit("action-clicked", s.action),
|
|
10243
10243
|
class: "actions-menu-item"
|
|
@@ -10258,8 +10258,8 @@ const Z1 = {
|
|
|
10258
10258
|
}, J1 = { class: "vi-grid-builder-actions" };
|
|
10259
10259
|
function e0(e, t, n, a, r, o) {
|
|
10260
10260
|
const i = ne("vi-button");
|
|
10261
|
-
return _(),
|
|
10262
|
-
(_(!0),
|
|
10261
|
+
return _(), P("div", J1, [
|
|
10262
|
+
(_(!0), P(Re, null, vt(n.actions, (s, l) => (_(), ee(i, {
|
|
10263
10263
|
key: l,
|
|
10264
10264
|
label: s.name,
|
|
10265
10265
|
mode: s.mode,
|
|
@@ -10321,7 +10321,7 @@ const a0 = {
|
|
|
10321
10321
|
};
|
|
10322
10322
|
function o0(e, t, n, a, r, o) {
|
|
10323
10323
|
const i = ne("vi-grid-kebab-menu"), s = ne("vi-grid-simple-actions");
|
|
10324
|
-
return _(),
|
|
10324
|
+
return _(), P("div", r0, [
|
|
10325
10325
|
n.kebab ? (_(), ee(i, {
|
|
10326
10326
|
key: 0,
|
|
10327
10327
|
actions: a.visibleActions,
|
|
@@ -10364,7 +10364,7 @@ const s0 = {
|
|
|
10364
10364
|
}, l0 = { class: "vi-grid-link" }, c0 = ["href"], u0 = { key: 1 };
|
|
10365
10365
|
function f0(e, t, n, a, r, o) {
|
|
10366
10366
|
const i = ne("vi-tooltip");
|
|
10367
|
-
return _(),
|
|
10367
|
+
return _(), P("div", l0, [
|
|
10368
10368
|
R(i, {
|
|
10369
10369
|
text: n.value,
|
|
10370
10370
|
color: o.ViGridTooltipSettings.color,
|
|
@@ -10375,12 +10375,12 @@ function f0(e, t, n, a, r, o) {
|
|
|
10375
10375
|
"show-only-if-overflowed": ""
|
|
10376
10376
|
}, {
|
|
10377
10377
|
text: Nt(({ text: s }) => [
|
|
10378
|
-
n.link && n.row[n.link] || !n.link && n.value ? (_(),
|
|
10378
|
+
n.link && n.row[n.link] || !n.link && n.value ? (_(), P("a", {
|
|
10379
10379
|
key: 0,
|
|
10380
10380
|
href: n.row[n.link] ?? n.value,
|
|
10381
10381
|
target: "_blank",
|
|
10382
10382
|
onClick: t[0] || (t[0] = (l) => l.stopPropagation())
|
|
10383
|
-
}, ce(s), 9, c0)) : (_(),
|
|
10383
|
+
}, ce(s), 9, c0)) : (_(), P("div", u0, ce(s), 1))
|
|
10384
10384
|
]),
|
|
10385
10385
|
_: 1
|
|
10386
10386
|
}, 8, ["text", "color", "custom-color", "text-custom-color", "truncate"])
|
|
@@ -10402,7 +10402,7 @@ const m0 = {
|
|
|
10402
10402
|
}
|
|
10403
10403
|
}, g0 = { class: "vi-grid-number" };
|
|
10404
10404
|
function h0(e, t, n, a, r, o) {
|
|
10405
|
-
return _(),
|
|
10405
|
+
return _(), P("div", g0, ce(o.formattedNumber), 1);
|
|
10406
10406
|
}
|
|
10407
10407
|
const p0 = /* @__PURE__ */ be(m0, [["render", h0]]);
|
|
10408
10408
|
const v0 = {
|
|
@@ -10441,7 +10441,7 @@ const v0 = {
|
|
|
10441
10441
|
}
|
|
10442
10442
|
}, y0 = { class: "vi-grid-field" };
|
|
10443
10443
|
function b0(e, t, n, a, r, o) {
|
|
10444
|
-
return _(),
|
|
10444
|
+
return _(), P("div", y0, [
|
|
10445
10445
|
(_(), ee(ia(o.fieldComponent), Pe({
|
|
10446
10446
|
...n.field,
|
|
10447
10447
|
...e.$attrs
|
|
@@ -10470,7 +10470,7 @@ const x0 = {
|
|
|
10470
10470
|
}
|
|
10471
10471
|
}, S0 = { class: "vi-grid-checkbox" }, _0 = ["checked"];
|
|
10472
10472
|
function C0(e, t, n, a, r, o) {
|
|
10473
|
-
return _(),
|
|
10473
|
+
return _(), P("div", S0, [
|
|
10474
10474
|
I("input", {
|
|
10475
10475
|
type: "checkbox",
|
|
10476
10476
|
checked: n.value,
|
|
@@ -10482,7 +10482,7 @@ function C0(e, t, n, a, r, o) {
|
|
|
10482
10482
|
}
|
|
10483
10483
|
const k0 = /* @__PURE__ */ be(x0, [["render", C0]]);
|
|
10484
10484
|
function O0(e) {
|
|
10485
|
-
const t = k(() => e.columns.filter((a) => a.isVisible === void 0 || a.isVisible)), n = k(() => e.selectable ? 1 +
|
|
10485
|
+
const t = k(() => e.columns.filter((a) => a.isVisible === void 0 || a.isVisible)), n = k(() => t.value.length + (e.selectable ? 1 : 0) + (e.enableDraggable ? 1 : 0));
|
|
10486
10486
|
return {
|
|
10487
10487
|
visibleColumns: t,
|
|
10488
10488
|
totalColumns: n
|
|
@@ -10635,7 +10635,7 @@ const N0 = {
|
|
|
10635
10635
|
}
|
|
10636
10636
|
}, I0 = ["colspan"];
|
|
10637
10637
|
function M0(e, t, n, a, r, o) {
|
|
10638
|
-
return _(),
|
|
10638
|
+
return _(), P("th", {
|
|
10639
10639
|
class: "vi-header-cell vi-cell",
|
|
10640
10640
|
colspan: n.colspan
|
|
10641
10641
|
}, [
|
|
@@ -10716,7 +10716,7 @@ function j0(e, t, n, a, r, o) {
|
|
|
10716
10716
|
"text-custom-color": o.ViGridTooltipSettings.textCustomColor
|
|
10717
10717
|
}, null, 8, ["text", "truncate", "color", "custom-color", "text-custom-color"])
|
|
10718
10718
|
], !0),
|
|
10719
|
-
n.column.sortable ? (_(),
|
|
10719
|
+
n.column.sortable ? (_(), P("div", R0, [
|
|
10720
10720
|
n.sortableState === "descending" ? (_(), ee(s, {
|
|
10721
10721
|
key: 0,
|
|
10722
10722
|
icon: ["fas", "chevron-down"],
|
|
@@ -12397,6 +12397,10 @@ const Py = {
|
|
|
12397
12397
|
enableDraggable: {
|
|
12398
12398
|
type: Boolean,
|
|
12399
12399
|
default: !1
|
|
12400
|
+
},
|
|
12401
|
+
enableExtraRow: {
|
|
12402
|
+
type: Boolean,
|
|
12403
|
+
default: !1
|
|
12400
12404
|
}
|
|
12401
12405
|
},
|
|
12402
12406
|
setup(e, { emit: t }) {
|
|
@@ -12549,11 +12553,14 @@ const Py = {
|
|
|
12549
12553
|
}, Yy = {
|
|
12550
12554
|
key: 1,
|
|
12551
12555
|
class: "vi-cell vi-select-cell"
|
|
12552
|
-
}, Wy = {
|
|
12556
|
+
}, Wy = {
|
|
12557
|
+
key: 0,
|
|
12558
|
+
class: "vi-body-row vi-table-row vi-row-details"
|
|
12559
|
+
}, $y = ["colspan"], Gy = { class: "vi-body-row vi-table-row vi-footer-row" }, Hy = ["colspan"];
|
|
12553
12560
|
function qy(e, t, n, a, r, o) {
|
|
12554
12561
|
const i = ne("vi-grid-head-cell"), s = ne("vi-grid-checkbox"), l = ne("vi-grid-head-column-cell"), c = ne("vi-grid-field"), u = ne("vi-pagination"), f = ne("draggable");
|
|
12555
|
-
return _(),
|
|
12556
|
-
e.$slots.top ? (_(),
|
|
12562
|
+
return _(), P("div", Ey, [
|
|
12563
|
+
e.$slots.top ? (_(), P("div", Ay, [
|
|
12557
12564
|
te(e.$slots, "top")
|
|
12558
12565
|
])) : W("", !0),
|
|
12559
12566
|
I("div", {
|
|
@@ -12563,14 +12570,14 @@ function qy(e, t, n, a, r, o) {
|
|
|
12563
12570
|
class: Ne(["vi-table", { stripped: a.settings.stripped, bordered: a.settings.bordered }])
|
|
12564
12571
|
}, [
|
|
12565
12572
|
I("colgroup", null, [
|
|
12566
|
-
n.enableDraggable ? (_(),
|
|
12567
|
-
n.selectable ? (_(),
|
|
12568
|
-
(_(!0),
|
|
12573
|
+
n.enableDraggable ? (_(), P("col", Ty)) : W("", !0),
|
|
12574
|
+
n.selectable ? (_(), P("col", Dy)) : W("", !0),
|
|
12575
|
+
(_(!0), P(Re, null, vt(a.visibleColumns, (d, h) => (_(), P("col", {
|
|
12569
12576
|
class: Ne({ "first-column": h === 0, "last-column": h === a.visibleColumns.length - 1, ["column-" + h]: !0, [d.type]: !0, ["column-" + d.name]: !0 })
|
|
12570
12577
|
}, null, 2))), 256))
|
|
12571
12578
|
]),
|
|
12572
12579
|
I("thead", Ny, [
|
|
12573
|
-
n.title ? (_(),
|
|
12580
|
+
n.title ? (_(), P("tr", Iy, [
|
|
12574
12581
|
n.title ? (_(), ee(i, {
|
|
12575
12582
|
key: 0,
|
|
12576
12583
|
colspan: a.visibleColumns.length,
|
|
@@ -12605,7 +12612,7 @@ function qy(e, t, n, a, r, o) {
|
|
|
12605
12612
|
]),
|
|
12606
12613
|
_: 1
|
|
12607
12614
|
}, 8, ["align"])) : W("", !0),
|
|
12608
|
-
(_(!0),
|
|
12615
|
+
(_(!0), P(Re, null, vt(a.visibleColumns, (d) => (_(), ee(l, {
|
|
12609
12616
|
key: d.name,
|
|
12610
12617
|
column: d,
|
|
12611
12618
|
align: a.settings.align,
|
|
@@ -12618,14 +12625,14 @@ function qy(e, t, n, a, r, o) {
|
|
|
12618
12625
|
_: 2
|
|
12619
12626
|
}, 1032, ["column", "align", "sortable-state", "onSort"]))), 128))
|
|
12620
12627
|
]),
|
|
12621
|
-
a.isDataLoading ? (_(),
|
|
12628
|
+
a.isDataLoading ? (_(), P("tr", Ly, [
|
|
12622
12629
|
R(i, {
|
|
12623
12630
|
colspan: a.totalColumns,
|
|
12624
12631
|
class: "vi-loading-cell"
|
|
12625
12632
|
}, {
|
|
12626
12633
|
default: Nt(() => [
|
|
12627
12634
|
te(e.$slots, "loading", {}, () => [
|
|
12628
|
-
a.settings.defaultSlots.loading ? (_(), ee(ia(a.settings.defaultSlots.loading), { key: 0 })) : (_(),
|
|
12635
|
+
a.settings.defaultSlots.loading ? (_(), ee(ia(a.settings.defaultSlots.loading), { key: 0 })) : (_(), P("div", Fy, t[3] || (t[3] = [
|
|
12629
12636
|
I("div", { class: "loading-bar" }, null, -1)
|
|
12630
12637
|
])))
|
|
12631
12638
|
])
|
|
@@ -12634,14 +12641,14 @@ function qy(e, t, n, a, r, o) {
|
|
|
12634
12641
|
}, 8, ["colspan"])
|
|
12635
12642
|
])) : W("", !0)
|
|
12636
12643
|
]),
|
|
12637
|
-
!a.currentVisibleRows.length && !a.isDataLoading ? (_(),
|
|
12644
|
+
!a.currentVisibleRows.length && !a.isDataLoading ? (_(), P("tbody", Ry, [
|
|
12638
12645
|
I("tr", jy, [
|
|
12639
12646
|
I("td", {
|
|
12640
12647
|
class: "vi-body-cell vi-cell",
|
|
12641
12648
|
colspan: a.totalColumns
|
|
12642
12649
|
}, [
|
|
12643
12650
|
te(e.$slots, "empty-data", {}, () => [
|
|
12644
|
-
a.settings.defaultSlots.noRows ? (_(), ee(ia(a.settings.defaultSlots.noRows), { key: 0 })) : (_(),
|
|
12651
|
+
a.settings.defaultSlots.noRows ? (_(), ee(ia(a.settings.defaultSlots.noRows), { key: 0 })) : (_(), P("span", By, ce(a.settings.noDataLabel), 1))
|
|
12645
12652
|
])
|
|
12646
12653
|
], 8, zy)
|
|
12647
12654
|
])
|
|
@@ -12662,20 +12669,20 @@ function qy(e, t, n, a, r, o) {
|
|
|
12662
12669
|
onChange: a.onDragChange
|
|
12663
12670
|
}, {
|
|
12664
12671
|
default: Nt(() => [
|
|
12665
|
-
(_(!0),
|
|
12672
|
+
(_(!0), P(Re, null, vt(a.currentVisibleRows, (d) => (_(), P(Re, {
|
|
12666
12673
|
key: d[n.rowKey]
|
|
12667
12674
|
}, [
|
|
12668
12675
|
I("tr", {
|
|
12669
12676
|
class: Ne([{ clickable: n.clickableRow, selected: a.isRowSelected(d) }, "vi-body-row vi-table-row"]),
|
|
12670
12677
|
onClick: (h) => a.onRowClicked(d)
|
|
12671
12678
|
}, [
|
|
12672
|
-
n.enableDraggable ? (_(),
|
|
12679
|
+
n.enableDraggable ? (_(), P("td", Uy, t[4] || (t[4] = [
|
|
12673
12680
|
I("span", {
|
|
12674
12681
|
class: "drag-handle",
|
|
12675
12682
|
title: "Drag to reorder"
|
|
12676
12683
|
}, "☰", -1)
|
|
12677
12684
|
]))) : W("", !0),
|
|
12678
|
-
n.selectable ? (_(),
|
|
12685
|
+
n.selectable ? (_(), P("td", Yy, [
|
|
12679
12686
|
I("div", {
|
|
12680
12687
|
class: Ne(["vi-grid-field", a.settings.align])
|
|
12681
12688
|
}, [
|
|
@@ -12687,7 +12694,7 @@ function qy(e, t, n, a, r, o) {
|
|
|
12687
12694
|
}, null, 8, ["row", "name", "value", "onCheckboxClicked"])
|
|
12688
12695
|
], 2)
|
|
12689
12696
|
])) : W("", !0),
|
|
12690
|
-
(_(!0),
|
|
12697
|
+
(_(!0), P(Re, null, vt(a.visibleColumns, (h) => (_(), P("td", {
|
|
12691
12698
|
key: h.name,
|
|
12692
12699
|
class: "vi-body-cell vi-cell"
|
|
12693
12700
|
}, [
|
|
@@ -12705,14 +12712,14 @@ function qy(e, t, n, a, r, o) {
|
|
|
12705
12712
|
}), null, 16, ["row-menu-opened", "class", "field", "field-value", "row-value", "row-key", "onActionClicked", "onCheckboxClicked"])
|
|
12706
12713
|
]))), 128))
|
|
12707
12714
|
], 10, Vy),
|
|
12708
|
-
|
|
12715
|
+
n.enableExtraRow ? (_(), P("tr", Wy, [
|
|
12709
12716
|
I("td", {
|
|
12710
12717
|
colspan: a.totalColumns,
|
|
12711
12718
|
class: "vi-body-cell vi-cell vi-row-details-cell"
|
|
12712
12719
|
}, [
|
|
12713
12720
|
te(e.$slots, "row-details", { row: d })
|
|
12714
12721
|
], 8, $y)
|
|
12715
|
-
])
|
|
12722
|
+
])) : W("", !0)
|
|
12716
12723
|
], 64))), 128)),
|
|
12717
12724
|
I("tr", Gy, [
|
|
12718
12725
|
I("td", {
|
|
@@ -12864,7 +12871,7 @@ const Ky = {
|
|
|
12864
12871
|
}, ob = ["onClick"], ib = { class: "page-actions" };
|
|
12865
12872
|
function sb(e, t, n, a, r, o) {
|
|
12866
12873
|
const i = ne("font-awesome-icon");
|
|
12867
|
-
return _(),
|
|
12874
|
+
return _(), P("div", Qy, [
|
|
12868
12875
|
I("div", Zy, [
|
|
12869
12876
|
te(e.$slots, "rows-per-page", {
|
|
12870
12877
|
rowsPerPage: o.rowsOnPage,
|
|
@@ -12875,7 +12882,7 @@ function sb(e, t, n, a, r, o) {
|
|
|
12875
12882
|
value: n.rowsPerPage,
|
|
12876
12883
|
onChange: t[0] || (t[0] = (...s) => o.rowsPerPageChange && o.rowsPerPageChange(...s))
|
|
12877
12884
|
}, [
|
|
12878
|
-
(_(!0),
|
|
12885
|
+
(_(!0), P(Re, null, vt(n.rowsPerPageOptions, (s) => (_(), P("option", {
|
|
12879
12886
|
key: s.value,
|
|
12880
12887
|
value: s.value
|
|
12881
12888
|
}, ce(s.label), 9, eb))), 128))
|
|
@@ -12887,7 +12894,7 @@ function sb(e, t, n, a, r, o) {
|
|
|
12887
12894
|
firstVisibleRow: o.firstVisibleRow,
|
|
12888
12895
|
lastVisibleRow: o.lastVisibleRow
|
|
12889
12896
|
}, () => [
|
|
12890
|
-
n.totalRows > 0 ? (_(),
|
|
12897
|
+
n.totalRows > 0 ? (_(), P("div", tb, " Showing " + ce(o.firstVisibleRow) + " - " + ce(o.lastVisibleRow) + " of " + ce(n.totalRows), 1)) : W("", !0)
|
|
12891
12898
|
]),
|
|
12892
12899
|
I("div", nb, [
|
|
12893
12900
|
te(e.$slots, "navigation-prev", {}, () => [
|
|
@@ -12909,8 +12916,8 @@ function sb(e, t, n, a, r, o) {
|
|
|
12909
12916
|
])
|
|
12910
12917
|
])
|
|
12911
12918
|
]),
|
|
12912
|
-
o.compactPagination ? W("", !0) : (_(),
|
|
12913
|
-
(_(!0),
|
|
12919
|
+
o.compactPagination ? W("", !0) : (_(), P("div", rb, [
|
|
12920
|
+
(_(!0), P(Re, null, vt(o.visiblePages, (s) => (_(), P("div", {
|
|
12914
12921
|
class: Ne(["vi-page-number", { active: s === n.currentPage }]),
|
|
12915
12922
|
key: s,
|
|
12916
12923
|
onClick: (l) => o.pageChange(s)
|