vi-grid-builder 2.3.31 → 2.3.33
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/style.css +1 -1
- package/dist/vi-grid-builder.js +283 -266
- package/dist/vi-grid-builder.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/vi-grid-builder.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as _, createElementBlock as A, mergeProps as Pe, toDisplayString as ce, createElementVNode as
|
|
1
|
+
import { openBlock as _, createElementBlock as A, 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)
|
|
@@ -22,7 +22,7 @@ const su = {
|
|
|
22
22
|
}, lu = { class: "vi-grid-image" }, cu = ["src"];
|
|
23
23
|
function uu(e, t, n, a, r, o) {
|
|
24
24
|
return _(), A("div", lu, [
|
|
25
|
-
|
|
25
|
+
I("img", { src: n.value }, null, 8, cu)
|
|
26
26
|
]);
|
|
27
27
|
}
|
|
28
28
|
const fu = /* @__PURE__ */ be(su, [["render", uu]]), du = (e, t = 300) => {
|
|
@@ -2347,8 +2347,8 @@ function Ni(e, t) {
|
|
|
2347
2347
|
iconName: g,
|
|
2348
2348
|
extra: x,
|
|
2349
2349
|
watchable: !0
|
|
2350
|
-
})),
|
|
2351
|
-
t === "::before" ? e.insertBefore(
|
|
2350
|
+
})), M = q.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2351
|
+
t === "::before" ? e.insertBefore(M, e.firstChild) : e.appendChild(M), M.outerHTML = O.map((T) => Un(T)).join(`
|
|
2352
2352
|
`), e.removeAttribute(n), a();
|
|
2353
2353
|
}).catch(r);
|
|
2354
2354
|
} else
|
|
@@ -2712,7 +2712,7 @@ function Ri(e, t) {
|
|
|
2712
2712
|
}
|
|
2713
2713
|
return n;
|
|
2714
2714
|
}
|
|
2715
|
-
function
|
|
2715
|
+
function je(e) {
|
|
2716
2716
|
for (var t = 1; t < arguments.length; t++) {
|
|
2717
2717
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
2718
2718
|
t % 2 ? Ri(Object(n), !0).forEach(function(a) {
|
|
@@ -2816,9 +2816,9 @@ var kd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2816
2816
|
var n = function(g, m, x) {
|
|
2817
2817
|
if (!c(m) || f(m) || d(m) || h(m) || l(m))
|
|
2818
2818
|
return m;
|
|
2819
|
-
var C, O = 0,
|
|
2819
|
+
var C, O = 0, M = 0;
|
|
2820
2820
|
if (u(m))
|
|
2821
|
-
for (C = [],
|
|
2821
|
+
for (C = [], M = m.length; O < M; O++)
|
|
2822
2822
|
C.push(n(g, m[O], x));
|
|
2823
2823
|
else {
|
|
2824
2824
|
C = {};
|
|
@@ -2921,9 +2921,9 @@ function Vo(e) {
|
|
|
2921
2921
|
});
|
|
2922
2922
|
n.class;
|
|
2923
2923
|
var o = n.style, i = o === void 0 ? {} : o, s = wd(n, Pd);
|
|
2924
|
-
return
|
|
2924
|
+
return We(e.tag, je(je(je({}, t), {}, {
|
|
2925
2925
|
class: r.class,
|
|
2926
|
-
style:
|
|
2926
|
+
style: je(je({}, r.style), i)
|
|
2927
2927
|
}, r.attrs), s), a);
|
|
2928
2928
|
}
|
|
2929
2929
|
var Sl = !1;
|
|
@@ -2978,7 +2978,7 @@ function ji(e) {
|
|
|
2978
2978
|
iconName: e
|
|
2979
2979
|
};
|
|
2980
2980
|
}
|
|
2981
|
-
var _l =
|
|
2981
|
+
var _l = Ue({
|
|
2982
2982
|
name: "FontAwesomeIcon",
|
|
2983
2983
|
props: {
|
|
2984
2984
|
border: {
|
|
@@ -3108,7 +3108,7 @@ var _l = Ve({
|
|
|
3108
3108
|
}), i = k(function() {
|
|
3109
3109
|
return _n("mask", ji(e.mask));
|
|
3110
3110
|
}), s = k(function() {
|
|
3111
|
-
return hd(a.value,
|
|
3111
|
+
return hd(a.value, je(je(je(je({}, r.value), o.value), i.value), {}, {
|
|
3112
3112
|
symbol: e.symbol,
|
|
3113
3113
|
title: e.title,
|
|
3114
3114
|
titleId: e.titleId,
|
|
@@ -3129,7 +3129,7 @@ var _l = Ve({
|
|
|
3129
3129
|
};
|
|
3130
3130
|
}
|
|
3131
3131
|
});
|
|
3132
|
-
|
|
3132
|
+
Ue({
|
|
3133
3133
|
name: "FontAwesomeLayers",
|
|
3134
3134
|
props: {
|
|
3135
3135
|
fixedWidth: {
|
|
@@ -3142,13 +3142,13 @@ Ve({
|
|
|
3142
3142
|
return ["".concat(a, "-layers")].concat(Hr(e.fixedWidth ? ["".concat(a, "-fw")] : []));
|
|
3143
3143
|
});
|
|
3144
3144
|
return function() {
|
|
3145
|
-
return
|
|
3145
|
+
return We("div", {
|
|
3146
3146
|
class: r.value
|
|
3147
3147
|
}, n.default ? n.default() : []);
|
|
3148
3148
|
};
|
|
3149
3149
|
}
|
|
3150
3150
|
});
|
|
3151
|
-
|
|
3151
|
+
Ue({
|
|
3152
3152
|
name: "FontAwesomeLayersText",
|
|
3153
3153
|
props: {
|
|
3154
3154
|
value: {
|
|
@@ -3177,7 +3177,7 @@ Ve({
|
|
|
3177
3177
|
}), o = k(function() {
|
|
3178
3178
|
return _n("transform", typeof e.transform == "string" ? xa.transform(e.transform) : e.transform);
|
|
3179
3179
|
}), i = k(function() {
|
|
3180
|
-
var l = pd(e.value.toString(),
|
|
3180
|
+
var l = pd(e.value.toString(), je(je({}, o.value), r.value)), c = l.abstract;
|
|
3181
3181
|
return e.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
|
|
3182
3182
|
}), s = k(function() {
|
|
3183
3183
|
return Vo(i.value, {}, n);
|
|
@@ -3263,7 +3263,7 @@ const cn = (e, t) => {
|
|
|
3263
3263
|
class: "loader"
|
|
3264
3264
|
}, zd = ["innerHTML"];
|
|
3265
3265
|
function Bd(e, t, n, a, r, o) {
|
|
3266
|
-
const i =
|
|
3266
|
+
const i = ne("font-awesome-icon");
|
|
3267
3267
|
return n.link ? (_(), A("a", {
|
|
3268
3268
|
key: 0,
|
|
3269
3269
|
href: n.link,
|
|
@@ -3275,10 +3275,10 @@ function Bd(e, t, n, a, r, o) {
|
|
|
3275
3275
|
icon: ["fas", o.icon],
|
|
3276
3276
|
class: "vi-button-icon"
|
|
3277
3277
|
}, null, 8, ["icon"])) : W("", !0),
|
|
3278
|
-
|
|
3279
|
-
!n.isLoading && !o.icon ?
|
|
3278
|
+
I("div", Ld, [
|
|
3279
|
+
!n.isLoading && !o.icon ? te(e.$slots, "icon", { key: 0 }) : W("", !0)
|
|
3280
3280
|
]),
|
|
3281
|
-
|
|
3281
|
+
I("span", {
|
|
3282
3282
|
class: "typestyle-b1 m-typestyle-b2",
|
|
3283
3283
|
innerHTML: n.label
|
|
3284
3284
|
}, null, 8, Fd)
|
|
@@ -3293,7 +3293,7 @@ function Bd(e, t, n, a, r, o) {
|
|
|
3293
3293
|
icon: ["fas", o.icon],
|
|
3294
3294
|
class: "vi-button-icon"
|
|
3295
3295
|
}, null, 8, ["icon"])) : W("", !0),
|
|
3296
|
-
|
|
3296
|
+
I("span", {
|
|
3297
3297
|
class: "typestyle-b1 m-typestyle-b2",
|
|
3298
3298
|
innerHTML: n.label
|
|
3299
3299
|
}, null, 8, zd)
|
|
@@ -3317,9 +3317,9 @@ const $a = /* @__PURE__ */ cn(Nd, [["render", Bd]]), Vd = {
|
|
|
3317
3317
|
}
|
|
3318
3318
|
}, Ud = { class: "vi-main-header" }, Yd = { class: "header-title" };
|
|
3319
3319
|
function Wd(e, t, n, a, r, o) {
|
|
3320
|
-
const i =
|
|
3320
|
+
const i = ne("vi-button");
|
|
3321
3321
|
return _(), A("div", Ud, [
|
|
3322
|
-
|
|
3322
|
+
I("h3", Yd, ce(n.headerTitle), 1),
|
|
3323
3323
|
n.buttonLabel && n.showButton ? (_(), ee(i, {
|
|
3324
3324
|
key: 0,
|
|
3325
3325
|
"button-label": n.buttonLabel,
|
|
@@ -3346,10 +3346,10 @@ const $d = /* @__PURE__ */ cn(Vd, [["render", Wd]]), Gd = {
|
|
|
3346
3346
|
function Kd(e, t, n, a, r, o) {
|
|
3347
3347
|
return _(), A("div", Hd, [
|
|
3348
3348
|
n.hideHeader ? W("", !0) : (_(), A("div", qd, [
|
|
3349
|
-
|
|
3349
|
+
te(e.$slots, "header")
|
|
3350
3350
|
])),
|
|
3351
|
-
|
|
3352
|
-
|
|
3351
|
+
I("div", Xd, [
|
|
3352
|
+
te(e.$slots, "content")
|
|
3353
3353
|
])
|
|
3354
3354
|
]);
|
|
3355
3355
|
}
|
|
@@ -3431,16 +3431,16 @@ const Qd = /* @__PURE__ */ cn(Gd, [["render", Kd]]), Zd = {
|
|
|
3431
3431
|
class: "vi-dialog vi-confirmation-dialog"
|
|
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
|
-
const i =
|
|
3434
|
+
const i = ne("vi-button");
|
|
3435
3435
|
return n.modelValue ? (_(), A("div", Jd, [
|
|
3436
|
-
|
|
3436
|
+
I("div", {
|
|
3437
3437
|
class: Ne(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
|
|
3438
3438
|
}, [
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3439
|
+
I("div", em, ce(n.label), 1),
|
|
3440
|
+
I("div", tm, [
|
|
3441
|
+
te(e.$slots, "default")
|
|
3442
3442
|
]),
|
|
3443
|
-
|
|
3443
|
+
I("div", nm, [
|
|
3444
3444
|
n.hideConfirmButton ? W("", !0) : (_(), ee(i, {
|
|
3445
3445
|
key: 0,
|
|
3446
3446
|
label: n.confirmButtonLabel,
|
|
@@ -3500,25 +3500,25 @@ const rm = /* @__PURE__ */ cn(Zd, [["render", am]]), om = {
|
|
|
3500
3500
|
class: "vi-dialog"
|
|
3501
3501
|
}, sm = { class: "dialog-header-container" }, lm = ["innerHTML"], cm = { class: "dialog-content" };
|
|
3502
3502
|
function um(e, t, n, a, r, o) {
|
|
3503
|
-
const i =
|
|
3503
|
+
const i = ne("font-awesome-icon");
|
|
3504
3504
|
return n.modelValue ? (_(), A("div", im, [
|
|
3505
|
-
|
|
3505
|
+
I("div", {
|
|
3506
3506
|
class: Ne(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
|
|
3507
3507
|
}, [
|
|
3508
|
-
|
|
3509
|
-
|
|
3508
|
+
I("div", sm, [
|
|
3509
|
+
I("div", {
|
|
3510
3510
|
class: "dialog-label",
|
|
3511
3511
|
innerHTML: n.label
|
|
3512
3512
|
}, null, 8, lm),
|
|
3513
|
-
|
|
3513
|
+
I("div", {
|
|
3514
3514
|
class: "dialog-close-button",
|
|
3515
3515
|
onClick: t[0] || (t[0] = (...s) => o.hideDialog && o.hideDialog(...s))
|
|
3516
3516
|
}, [
|
|
3517
3517
|
R(i, { icon: ["fas", "x"] })
|
|
3518
3518
|
])
|
|
3519
3519
|
]),
|
|
3520
|
-
|
|
3521
|
-
|
|
3520
|
+
I("div", cm, [
|
|
3521
|
+
te(e.$slots, "default")
|
|
3522
3522
|
])
|
|
3523
3523
|
], 2)
|
|
3524
3524
|
])) : W("", !0);
|
|
@@ -3803,8 +3803,8 @@ const _m = function(e) {
|
|
|
3803
3803
|
} = Cl(e, t);
|
|
3804
3804
|
if ((n = o.arrow) != null && n.alignmentOffset)
|
|
3805
3805
|
return {};
|
|
3806
|
-
const g = Fn(r), m = Ht(s), x = Fn(s) === s, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), O = d || (x || !v ? [Ca(s)] : pm(s)),
|
|
3807
|
-
!d &&
|
|
3806
|
+
const g = Fn(r), m = Ht(s), x = Fn(s) === s, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), O = d || (x || !v ? [Ca(s)] : pm(s)), M = p !== "none";
|
|
3807
|
+
!d && M && O.push(...ym(s, v, p, C));
|
|
3808
3808
|
const T = [s, ...O], U = await Sm(t, y), Y = [];
|
|
3809
3809
|
let re = ((a = o.flip) == null ? void 0 : a.overflows) || [];
|
|
3810
3810
|
if (u && Y.push(U[g]), f) {
|
|
@@ -3835,7 +3835,7 @@ const _m = function(e) {
|
|
|
3835
3835
|
case "bestFit": {
|
|
3836
3836
|
var ue;
|
|
3837
3837
|
const J = (ue = re.filter((pe) => {
|
|
3838
|
-
if (
|
|
3838
|
+
if (M) {
|
|
3839
3839
|
const Ie = Ht(pe.placement);
|
|
3840
3840
|
return Ie === m || // Create a bias to the `y` side axis due to horizontal
|
|
3841
3841
|
// reading directions favoring greater width.
|
|
@@ -3878,7 +3878,7 @@ function ct(e) {
|
|
|
3878
3878
|
function Yo(e) {
|
|
3879
3879
|
return Ga() ? e instanceof Node || e instanceof Oe(e).Node : !1;
|
|
3880
3880
|
}
|
|
3881
|
-
function
|
|
3881
|
+
function Be(e) {
|
|
3882
3882
|
return Ga() ? e instanceof Element || e instanceof Oe(e).Element : !1;
|
|
3883
3883
|
}
|
|
3884
3884
|
function Ze(e) {
|
|
@@ -3893,7 +3893,7 @@ function Yn(e) {
|
|
|
3893
3893
|
overflowX: n,
|
|
3894
3894
|
overflowY: a,
|
|
3895
3895
|
display: r
|
|
3896
|
-
} =
|
|
3896
|
+
} = Ve(e);
|
|
3897
3897
|
return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !["inline", "contents"].includes(r);
|
|
3898
3898
|
}
|
|
3899
3899
|
function Cm(e) {
|
|
@@ -3909,7 +3909,7 @@ function Ha(e) {
|
|
|
3909
3909
|
});
|
|
3910
3910
|
}
|
|
3911
3911
|
function Wo(e) {
|
|
3912
|
-
const t = $o(), n =
|
|
3912
|
+
const t = $o(), n = Be(e) ? Ve(e) : e;
|
|
3913
3913
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((a) => n[a] ? n[a] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((a) => (n.willChange || "").includes(a)) || ["paint", "layout", "strict", "content"].some((a) => (n.contain || "").includes(a));
|
|
3914
3914
|
}
|
|
3915
3915
|
function km(e) {
|
|
@@ -3929,11 +3929,11 @@ function $o() {
|
|
|
3929
3929
|
function nn(e) {
|
|
3930
3930
|
return ["html", "body", "#document"].includes(Bt(e));
|
|
3931
3931
|
}
|
|
3932
|
-
function
|
|
3932
|
+
function Ve(e) {
|
|
3933
3933
|
return Oe(e).getComputedStyle(e);
|
|
3934
3934
|
}
|
|
3935
3935
|
function qa(e) {
|
|
3936
|
-
return
|
|
3936
|
+
return Be(e) ? {
|
|
3937
3937
|
scrollLeft: e.scrollLeft,
|
|
3938
3938
|
scrollTop: e.scrollTop
|
|
3939
3939
|
} : {
|
|
@@ -3967,7 +3967,7 @@ function Kr(e) {
|
|
|
3967
3967
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
3968
3968
|
}
|
|
3969
3969
|
function Al(e) {
|
|
3970
|
-
const t =
|
|
3970
|
+
const t = Ve(e);
|
|
3971
3971
|
let n = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
|
|
3972
3972
|
const r = Ze(e), o = r ? e.offsetWidth : n, i = r ? e.offsetHeight : a, s = _a(n) !== o || _a(a) !== i;
|
|
3973
3973
|
return s && (n = o, a = i), {
|
|
@@ -3977,7 +3977,7 @@ function Al(e) {
|
|
|
3977
3977
|
};
|
|
3978
3978
|
}
|
|
3979
3979
|
function Tl(e) {
|
|
3980
|
-
return
|
|
3980
|
+
return Be(e) ? e : e.contextElement;
|
|
3981
3981
|
}
|
|
3982
3982
|
function Qt(e) {
|
|
3983
3983
|
const t = Tl(e);
|
|
@@ -4009,14 +4009,14 @@ function Rn(e, t, n, a) {
|
|
|
4009
4009
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
4010
4010
|
const r = e.getBoundingClientRect(), o = Tl(e);
|
|
4011
4011
|
let i = Xe(1);
|
|
4012
|
-
t && (a ?
|
|
4012
|
+
t && (a ? Be(a) && (i = Qt(a)) : i = Qt(e));
|
|
4013
4013
|
const s = Pm(o, n, a) ? Dl(o) : Xe(0);
|
|
4014
4014
|
let l = (r.left + s.x) / i.x, c = (r.top + s.y) / i.y, u = r.width / i.x, f = r.height / i.y;
|
|
4015
4015
|
if (o) {
|
|
4016
|
-
const d = Oe(o), h = a &&
|
|
4016
|
+
const d = Oe(o), h = a && Be(a) ? Oe(a) : a;
|
|
4017
4017
|
let p = d, v = Kr(p);
|
|
4018
4018
|
for (; v && a && h !== p; ) {
|
|
4019
|
-
const y = Qt(v), g = v.getBoundingClientRect(), m =
|
|
4019
|
+
const y = Qt(v), g = v.getBoundingClientRect(), m = Ve(v), x = g.left + (v.clientLeft + parseFloat(m.paddingLeft)) * y.x, C = g.top + (v.clientTop + parseFloat(m.paddingTop)) * y.y;
|
|
4020
4020
|
l *= y.x, c *= y.y, u *= y.x, f *= y.y, l += x, c += C, p = Oe(v), v = Kr(p);
|
|
4021
4021
|
}
|
|
4022
4022
|
}
|
|
@@ -4076,7 +4076,7 @@ function Tm(e) {
|
|
|
4076
4076
|
const t = ct(e), n = qa(e), a = e.ownerDocument.body, r = Cn(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), o = Cn(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
|
|
4077
4077
|
let i = -n.scrollLeft + Go(e);
|
|
4078
4078
|
const s = -n.scrollTop;
|
|
4079
|
-
return
|
|
4079
|
+
return Ve(a).direction === "rtl" && (i += Cn(t.clientWidth, a.clientWidth) - r), {
|
|
4080
4080
|
width: r,
|
|
4081
4081
|
height: o,
|
|
4082
4082
|
x: i,
|
|
@@ -4113,7 +4113,7 @@ function Ui(e, t, n) {
|
|
|
4113
4113
|
a = Dm(e, n);
|
|
4114
4114
|
else if (t === "document")
|
|
4115
4115
|
a = Tm(ct(e));
|
|
4116
|
-
else if (
|
|
4116
|
+
else if (Be(t))
|
|
4117
4117
|
a = Nm(t, n);
|
|
4118
4118
|
else {
|
|
4119
4119
|
const r = Dl(e);
|
|
@@ -4128,17 +4128,17 @@ function Ui(e, t, n) {
|
|
|
4128
4128
|
}
|
|
4129
4129
|
function Il(e, t) {
|
|
4130
4130
|
const n = St(e);
|
|
4131
|
-
return n === t || !
|
|
4131
|
+
return n === t || !Be(n) || nn(n) ? !1 : Ve(n).position === "fixed" || Il(n, t);
|
|
4132
4132
|
}
|
|
4133
4133
|
function Im(e, t) {
|
|
4134
4134
|
const n = t.get(e);
|
|
4135
4135
|
if (n)
|
|
4136
4136
|
return n;
|
|
4137
|
-
let a = El(e, []).filter((s) =>
|
|
4138
|
-
const o =
|
|
4137
|
+
let a = El(e, []).filter((s) => Be(s) && Bt(s) !== "body"), r = null;
|
|
4138
|
+
const o = Ve(e).position === "fixed";
|
|
4139
4139
|
let i = o ? St(e) : e;
|
|
4140
|
-
for (;
|
|
4141
|
-
const s =
|
|
4140
|
+
for (; Be(i) && !nn(i); ) {
|
|
4141
|
+
const s = Ve(i), l = Wo(i);
|
|
4142
4142
|
!l && s.position === "fixed" && (r = null), (o ? !l && !r : !l && s.position === "static" && r && ["absolute", "fixed"].includes(r.position) || Yn(i) && !l && Il(e, i)) ? a = a.filter((c) => c !== i) : r = s, i = St(i);
|
|
4143
4143
|
}
|
|
4144
4144
|
return t.set(e, a), a;
|
|
@@ -4197,10 +4197,10 @@ function Fm(e, t, n) {
|
|
|
4197
4197
|
};
|
|
4198
4198
|
}
|
|
4199
4199
|
function dr(e) {
|
|
4200
|
-
return
|
|
4200
|
+
return Ve(e).position === "static";
|
|
4201
4201
|
}
|
|
4202
4202
|
function Yi(e, t) {
|
|
4203
|
-
if (!Ze(e) ||
|
|
4203
|
+
if (!Ze(e) || Ve(e).position === "fixed")
|
|
4204
4204
|
return null;
|
|
4205
4205
|
if (t)
|
|
4206
4206
|
return t(e);
|
|
@@ -4214,7 +4214,7 @@ function Ml(e, t) {
|
|
|
4214
4214
|
if (!Ze(e)) {
|
|
4215
4215
|
let r = St(e);
|
|
4216
4216
|
for (; r && !nn(r); ) {
|
|
4217
|
-
if (
|
|
4217
|
+
if (Be(r) && !dr(r))
|
|
4218
4218
|
return r;
|
|
4219
4219
|
r = St(r);
|
|
4220
4220
|
}
|
|
@@ -4238,7 +4238,7 @@ const Rm = async function(e) {
|
|
|
4238
4238
|
};
|
|
4239
4239
|
};
|
|
4240
4240
|
function jm(e) {
|
|
4241
|
-
return
|
|
4241
|
+
return Ve(e).direction === "rtl";
|
|
4242
4242
|
}
|
|
4243
4243
|
const zm = {
|
|
4244
4244
|
convertOffsetParentRelativeRectToViewportRelativeRect: Em,
|
|
@@ -4249,7 +4249,7 @@ const zm = {
|
|
|
4249
4249
|
getClientRects: Am,
|
|
4250
4250
|
getDimensions: Lm,
|
|
4251
4251
|
getScale: Qt,
|
|
4252
|
-
isElement:
|
|
4252
|
+
isElement: Be,
|
|
4253
4253
|
isRTL: jm
|
|
4254
4254
|
}, Bm = _m, Vm = (e, t, n) => {
|
|
4255
4255
|
const a = /* @__PURE__ */ new Map(), r = {
|
|
@@ -4345,14 +4345,14 @@ function Ym(e, t, n) {
|
|
|
4345
4345
|
return;
|
|
4346
4346
|
}
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4348
|
+
function M() {
|
|
4349
4349
|
r.value || (y.value = !1);
|
|
4350
4350
|
}
|
|
4351
4351
|
return Lt([o, i, s, r], x, {
|
|
4352
4352
|
flush: "sync"
|
|
4353
4353
|
}), Lt([c, u], O, {
|
|
4354
4354
|
flush: "sync"
|
|
4355
|
-
}), Lt(r,
|
|
4355
|
+
}), Lt(r, M, {
|
|
4356
4356
|
flush: "sync"
|
|
4357
4357
|
}), eu() && tu(C), {
|
|
4358
4358
|
x: Vt(f),
|
|
@@ -4453,8 +4453,8 @@ const Wm = {
|
|
|
4453
4453
|
}
|
|
4454
4454
|
}, $m = { key: 0 };
|
|
4455
4455
|
function Gm(e, t, n, a, r, o) {
|
|
4456
|
-
return _(), A(
|
|
4457
|
-
|
|
4456
|
+
return _(), A(Re, null, [
|
|
4457
|
+
I("div", {
|
|
4458
4458
|
class: "vi-tooltip-content",
|
|
4459
4459
|
ref: "reference",
|
|
4460
4460
|
onMouseenter: t[0] || (t[0] = (i) => n.trigger === "hover" && (a.open = !0)),
|
|
@@ -4463,7 +4463,7 @@ function Gm(e, t, n, a, r, o) {
|
|
|
4463
4463
|
onFocus: t[3] || (t[3] = (i) => n.trigger === "focus" && (a.open = !0)),
|
|
4464
4464
|
onBlur: t[4] || (t[4] = (i) => n.trigger === "focus" && (a.open = !1))
|
|
4465
4465
|
}, [
|
|
4466
|
-
|
|
4466
|
+
te(e.$slots, "text", { text: a.truncatedText }, () => [
|
|
4467
4467
|
Kc(ce(a.truncatedText), 1)
|
|
4468
4468
|
], !0)
|
|
4469
4469
|
], 544),
|
|
@@ -4473,7 +4473,7 @@ function Gm(e, t, n, a, r, o) {
|
|
|
4473
4473
|
ref: "floating",
|
|
4474
4474
|
style: Qc({ ...a.floatingStyles, "background-color": a.backgroundColor, color: a.textColor })
|
|
4475
4475
|
}, [
|
|
4476
|
-
n.text ? (_(), A("span", $m, ce(n.text), 1)) :
|
|
4476
|
+
n.text ? (_(), A("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
|
}
|
|
@@ -5026,7 +5026,7 @@ const Ul = {
|
|
|
5026
5026
|
required: !1,
|
|
5027
5027
|
default: void 0
|
|
5028
5028
|
}
|
|
5029
|
-
}, vg = /* @__PURE__ */
|
|
5029
|
+
}, vg = /* @__PURE__ */ Ue({
|
|
5030
5030
|
name: "ProgressBar",
|
|
5031
5031
|
props: pg,
|
|
5032
5032
|
// @ts-ignore
|
|
@@ -5055,7 +5055,7 @@ const Ul = {
|
|
|
5055
5055
|
style: r.value
|
|
5056
5056
|
}, null);
|
|
5057
5057
|
}
|
|
5058
|
-
}), yg = /* @__PURE__ */
|
|
5058
|
+
}), yg = /* @__PURE__ */ Ue({
|
|
5059
5059
|
name: "CloseButton",
|
|
5060
5060
|
inheritAttrs: !1,
|
|
5061
5061
|
props: {
|
|
@@ -5182,8 +5182,8 @@ function Eg(e) {
|
|
|
5182
5182
|
{ once: !0 }
|
|
5183
5183
|
);
|
|
5184
5184
|
const x = (O) => {
|
|
5185
|
-
const
|
|
5186
|
-
O.target ===
|
|
5185
|
+
const M = d();
|
|
5186
|
+
O.target === M && (M.dispatchEvent(new Event(Qr.ENTRANCE_ANIMATION_END)), M.removeEventListener("animationend", x), M.removeEventListener("animationcancel", x), r.value === fa.Enter && O.type !== "animationcancel" && M.classList.remove(...m));
|
|
5187
5187
|
}, C = () => {
|
|
5188
5188
|
const O = d();
|
|
5189
5189
|
O.classList.add(...m), O.addEventListener("animationend", x), O.addEventListener("animationcancel", x);
|
|
@@ -5234,7 +5234,7 @@ function Eg(e) {
|
|
|
5234
5234
|
eventHandlers: c
|
|
5235
5235
|
};
|
|
5236
5236
|
}
|
|
5237
|
-
const Ag = /* @__PURE__ */
|
|
5237
|
+
const Ag = /* @__PURE__ */ Ue({
|
|
5238
5238
|
name: "ToastItem",
|
|
5239
5239
|
inheritAttrs: !1,
|
|
5240
5240
|
props: Ul,
|
|
@@ -5270,7 +5270,7 @@ const Ag = /* @__PURE__ */ Ve({
|
|
|
5270
5270
|
}, [r.value != null && R("div", {
|
|
5271
5271
|
"data-testid": "toast-icon-".concat(e.type),
|
|
5272
5272
|
class: ["".concat(z.CSS_NAMESPACE, "__toast-icon"), e.isLoading ? "" : "".concat(z.CSS_NAMESPACE, "--animate-icon ").concat(z.CSS_NAMESPACE, "__zoom-enter")].join(" ")
|
|
5273
|
-
}, [ua(r.value) ?
|
|
5273
|
+
}, [ua(r.value) ? We(Fe(r.value), {
|
|
5274
5274
|
theme: e.theme,
|
|
5275
5275
|
type: e.type
|
|
5276
5276
|
}) : Zt(r.value) ? r.value({
|
|
@@ -5278,7 +5278,7 @@ const Ag = /* @__PURE__ */ Ve({
|
|
|
5278
5278
|
type: e.type
|
|
5279
5279
|
}) : r.value]), R("div", {
|
|
5280
5280
|
"data-testid": "toast-content"
|
|
5281
|
-
}, [ua(e.content) ?
|
|
5281
|
+
}, [ua(e.content) ? We(Fe(e.content), {
|
|
5282
5282
|
toastProps: Fe(e),
|
|
5283
5283
|
closeToast: l,
|
|
5284
5284
|
data: e.data
|
|
@@ -5286,14 +5286,14 @@ const Ag = /* @__PURE__ */ Ve({
|
|
|
5286
5286
|
toastProps: Fe(e),
|
|
5287
5287
|
closeToast: l,
|
|
5288
5288
|
data: e.data
|
|
5289
|
-
}) : e.dangerouslyHTMLString ?
|
|
5289
|
+
}) : e.dangerouslyHTMLString ? We("div", {
|
|
5290
5290
|
innerHTML: e.content
|
|
5291
5291
|
}) : e.content])]), (e.closeButton === void 0 || e.closeButton === !0) && R(yg, {
|
|
5292
5292
|
theme: e.theme,
|
|
5293
5293
|
closeToast: (u) => {
|
|
5294
5294
|
u.stopPropagation(), u.preventDefault(), l();
|
|
5295
5295
|
}
|
|
5296
|
-
}, null), ua(e.closeButton) ?
|
|
5296
|
+
}, null), ua(e.closeButton) ? We(Fe(e.closeButton), {
|
|
5297
5297
|
closeToast: l,
|
|
5298
5298
|
type: e.type,
|
|
5299
5299
|
theme: e.theme
|
|
@@ -5321,7 +5321,7 @@ let kn = 0;
|
|
|
5321
5321
|
function Yl() {
|
|
5322
5322
|
typeof window > "u" || (kn && window.cancelAnimationFrame(kn), kn = window.requestAnimationFrame(Yl), Oa.lastUrl !== window.location.href && (Oa.lastUrl = window.location.href, Ke.clear()));
|
|
5323
5323
|
}
|
|
5324
|
-
const Tg = /* @__PURE__ */
|
|
5324
|
+
const Tg = /* @__PURE__ */ Ue({
|
|
5325
5325
|
name: "ToastifyContainer",
|
|
5326
5326
|
inheritAttrs: !1,
|
|
5327
5327
|
props: Ul,
|
|
@@ -5332,7 +5332,7 @@ const Tg = /* @__PURE__ */ Ve({
|
|
|
5332
5332
|
typeof window < "u" && e.clearOnUrlChange && window.requestAnimationFrame(Yl);
|
|
5333
5333
|
}), Ao(() => {
|
|
5334
5334
|
typeof window < "u" && kn && (window.cancelAnimationFrame(kn), Oa.lastUrl = "");
|
|
5335
|
-
}), () => R(
|
|
5335
|
+
}), () => R(Re, null, [a.value.map((r) => {
|
|
5336
5336
|
const {
|
|
5337
5337
|
toastId: o = ""
|
|
5338
5338
|
} = r;
|
|
@@ -5587,12 +5587,12 @@ const Yg = {
|
|
|
5587
5587
|
}
|
|
5588
5588
|
}, Wg = ["value", "placeholder"];
|
|
5589
5589
|
function $g(e, t, n, a, r, o) {
|
|
5590
|
-
const i =
|
|
5590
|
+
const i = ne("vi-tooltip");
|
|
5591
5591
|
return o.isEditable ? (_(), A("div", Pe({
|
|
5592
5592
|
key: 1,
|
|
5593
5593
|
class: "vi-grid-text editable"
|
|
5594
5594
|
}, e.$attrs), [
|
|
5595
|
-
|
|
5595
|
+
I("input", {
|
|
5596
5596
|
type: "text",
|
|
5597
5597
|
value: n.originalValue,
|
|
5598
5598
|
placeholder: e.$attrs.placeholder,
|
|
@@ -6845,10 +6845,10 @@ var np = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ap = /P+p+|P+|
|
|
|
6845
6845
|
function sp(e, t, n) {
|
|
6846
6846
|
var a, r, o, i, s, l, c, u, f, d, h, p, v, y, g, m, x, C;
|
|
6847
6847
|
ge(2, arguments);
|
|
6848
|
-
var O = String(t),
|
|
6848
|
+
var O = String(t), M = Ja(), T = (a = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : M.locale) !== null && a !== void 0 ? a : tp, U = _t((o = (i = (s = (l = n == null ? void 0 : n.firstWeekContainsDate) !== null && l !== void 0 ? l : n == null || (c = n.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && s !== void 0 ? s : M.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = M.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
6849
6849
|
if (!(U >= 1 && U <= 7))
|
|
6850
6850
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
6851
|
-
var Y = _t((h = (p = (v = (y = n == null ? void 0 : n.weekStartsOn) !== null && y !== void 0 ? y : n == null || (g = n.locale) === null || g === void 0 || (m = g.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && v !== void 0 ? v :
|
|
6851
|
+
var Y = _t((h = (p = (v = (y = n == null ? void 0 : n.weekStartsOn) !== null && y !== void 0 ? y : n == null || (g = n.locale) === null || g === void 0 || (m = g.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && v !== void 0 ? v : M.weekStartsOn) !== null && p !== void 0 ? p : (x = M.locale) === null || x === void 0 || (C = x.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
6852
6852
|
if (!(Y >= 0 && Y <= 6))
|
|
6853
6853
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
6854
6854
|
if (!T.localize)
|
|
@@ -9344,7 +9344,7 @@ function bs(e, t) {
|
|
|
9344
9344
|
extra: C
|
|
9345
9345
|
} = x;
|
|
9346
9346
|
C.attributes[io] = t, po(g, h).then((O) => {
|
|
9347
|
-
const
|
|
9347
|
+
const M = ni(w(w({}, x), {}, {
|
|
9348
9348
|
icons: {
|
|
9349
9349
|
main: O,
|
|
9350
9350
|
mask: Cc()
|
|
@@ -9354,7 +9354,7 @@ function bs(e, t) {
|
|
|
9354
9354
|
extra: C,
|
|
9355
9355
|
watchable: !0
|
|
9356
9356
|
})), T = X.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
9357
|
-
t === "::before" ? e.insertBefore(T, e.firstChild) : e.appendChild(T), T.outerHTML =
|
|
9357
|
+
t === "::before" ? e.insertBefore(T, e.firstChild) : e.appendChild(T), T.outerHTML = M.map((U) => Hn(U)).join(`
|
|
9358
9358
|
`), e.removeAttribute(n), a();
|
|
9359
9359
|
}).catch(r);
|
|
9360
9360
|
} else
|
|
@@ -9718,7 +9718,7 @@ function Cs(e, t) {
|
|
|
9718
9718
|
}
|
|
9719
9719
|
return n;
|
|
9720
9720
|
}
|
|
9721
|
-
function
|
|
9721
|
+
function ze(e) {
|
|
9722
9722
|
for (var t = 1; t < arguments.length; t++) {
|
|
9723
9723
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
9724
9724
|
t % 2 ? Cs(Object(n), !0).forEach(function(a) {
|
|
@@ -9822,9 +9822,9 @@ var B1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
9822
9822
|
var n = function(g, m, x) {
|
|
9823
9823
|
if (!c(m) || f(m) || d(m) || h(m) || l(m))
|
|
9824
9824
|
return m;
|
|
9825
|
-
var C, O = 0,
|
|
9825
|
+
var C, O = 0, M = 0;
|
|
9826
9826
|
if (u(m))
|
|
9827
|
-
for (C = [],
|
|
9827
|
+
for (C = [], M = m.length; O < M; O++)
|
|
9828
9828
|
C.push(n(g, m[O], x));
|
|
9829
9829
|
else {
|
|
9830
9830
|
C = {};
|
|
@@ -9927,9 +9927,9 @@ function oi(e) {
|
|
|
9927
9927
|
});
|
|
9928
9928
|
n.class;
|
|
9929
9929
|
var o = n.style, i = o === void 0 ? {} : o, s = L1(n, U1);
|
|
9930
|
-
return
|
|
9930
|
+
return We(e.tag, ze(ze(ze({}, t), {}, {
|
|
9931
9931
|
class: r.class,
|
|
9932
|
-
style:
|
|
9932
|
+
style: ze(ze({}, r.style), i)
|
|
9933
9933
|
}, r.attrs), s), a);
|
|
9934
9934
|
}
|
|
9935
9935
|
var Mc = !1;
|
|
@@ -9984,7 +9984,7 @@ function ks(e) {
|
|
|
9984
9984
|
iconName: e
|
|
9985
9985
|
};
|
|
9986
9986
|
}
|
|
9987
|
-
var fn =
|
|
9987
|
+
var fn = Ue({
|
|
9988
9988
|
name: "FontAwesomeIcon",
|
|
9989
9989
|
props: {
|
|
9990
9990
|
border: {
|
|
@@ -10114,7 +10114,7 @@ var fn = Ve({
|
|
|
10114
10114
|
}), s = k(function() {
|
|
10115
10115
|
return En("mask", ks(t.mask));
|
|
10116
10116
|
}), l = k(function() {
|
|
10117
|
-
return T1(r.value,
|
|
10117
|
+
return T1(r.value, ze(ze(ze(ze({}, o.value), i.value), s.value), {}, {
|
|
10118
10118
|
symbol: t.symbol,
|
|
10119
10119
|
title: t.title,
|
|
10120
10120
|
titleId: t.titleId,
|
|
@@ -10135,7 +10135,7 @@ var fn = Ve({
|
|
|
10135
10135
|
};
|
|
10136
10136
|
}
|
|
10137
10137
|
});
|
|
10138
|
-
|
|
10138
|
+
Ue({
|
|
10139
10139
|
name: "FontAwesomeLayers",
|
|
10140
10140
|
props: {
|
|
10141
10141
|
fixedWidth: {
|
|
@@ -10148,13 +10148,13 @@ Ve({
|
|
|
10148
10148
|
return ["".concat(r, "-layers")].concat(wo(t.fixedWidth ? ["".concat(r, "-fw")] : []));
|
|
10149
10149
|
});
|
|
10150
10150
|
return function() {
|
|
10151
|
-
return
|
|
10151
|
+
return We("div", {
|
|
10152
10152
|
class: o.value
|
|
10153
10153
|
}, a.default ? a.default() : []);
|
|
10154
10154
|
};
|
|
10155
10155
|
}
|
|
10156
10156
|
});
|
|
10157
|
-
|
|
10157
|
+
Ue({
|
|
10158
10158
|
name: "FontAwesomeLayersText",
|
|
10159
10159
|
props: {
|
|
10160
10160
|
value: {
|
|
@@ -10183,7 +10183,7 @@ Ve({
|
|
|
10183
10183
|
}), i = k(function() {
|
|
10184
10184
|
return En("transform", typeof t.transform == "string" ? Na.transform(t.transform) : t.transform);
|
|
10185
10185
|
}), s = k(function() {
|
|
10186
|
-
var c = D1(t.value.toString(),
|
|
10186
|
+
var c = D1(t.value.toString(), ze(ze({}, i.value), o.value)), u = c.abstract;
|
|
10187
10187
|
return t.counter && (u[0].attributes.class = u[0].attributes.class.replace("fa-layers-text", "")), u[0];
|
|
10188
10188
|
}), l = k(function() {
|
|
10189
10189
|
return oi(s.value, {}, a);
|
|
@@ -10229,7 +10229,7 @@ const H1 = {
|
|
|
10229
10229
|
class: "actions-menu"
|
|
10230
10230
|
}, X1 = ["onClick"];
|
|
10231
10231
|
function K1(e, t, n, a, r, o) {
|
|
10232
|
-
const i =
|
|
10232
|
+
const i = ne("font-awesome-icon");
|
|
10233
10233
|
return _(), A("div", {
|
|
10234
10234
|
class: "vi-grid-kebab-menu",
|
|
10235
10235
|
ref: "kebabMenu",
|
|
@@ -10237,7 +10237,7 @@ function K1(e, t, n, a, r, o) {
|
|
|
10237
10237
|
}, [
|
|
10238
10238
|
R(i, { icon: ["fas", "ellipsis"] }),
|
|
10239
10239
|
n.showMenu ? (_(), A("div", q1, [
|
|
10240
|
-
(_(!0), A(
|
|
10240
|
+
(_(!0), A(Re, null, vt(n.actions, (s) => (_(), A("div", {
|
|
10241
10241
|
key: s.action,
|
|
10242
10242
|
onClick: (l) => e.$emit("action-clicked", s.action),
|
|
10243
10243
|
class: "actions-menu-item"
|
|
@@ -10257,9 +10257,9 @@ const Z1 = {
|
|
|
10257
10257
|
}
|
|
10258
10258
|
}, J1 = { class: "vi-grid-builder-actions" };
|
|
10259
10259
|
function e0(e, t, n, a, r, o) {
|
|
10260
|
-
const i =
|
|
10260
|
+
const i = ne("vi-button");
|
|
10261
10261
|
return _(), A("div", J1, [
|
|
10262
|
-
(_(!0), A(
|
|
10262
|
+
(_(!0), A(Re, null, vt(n.actions, (s, l) => (_(), ee(i, {
|
|
10263
10263
|
key: l,
|
|
10264
10264
|
label: s.name,
|
|
10265
10265
|
mode: s.mode,
|
|
@@ -10320,7 +10320,7 @@ const a0 = {
|
|
|
10320
10320
|
ref: "gridActions"
|
|
10321
10321
|
};
|
|
10322
10322
|
function o0(e, t, n, a, r, o) {
|
|
10323
|
-
const i =
|
|
10323
|
+
const i = ne("vi-grid-kebab-menu"), s = ne("vi-grid-simple-actions");
|
|
10324
10324
|
return _(), A("div", r0, [
|
|
10325
10325
|
n.kebab ? (_(), ee(i, {
|
|
10326
10326
|
key: 0,
|
|
@@ -10363,7 +10363,7 @@ const s0 = {
|
|
|
10363
10363
|
}
|
|
10364
10364
|
}, l0 = { class: "vi-grid-link" }, c0 = ["href"], u0 = { key: 1 };
|
|
10365
10365
|
function f0(e, t, n, a, r, o) {
|
|
10366
|
-
const i =
|
|
10366
|
+
const i = ne("vi-tooltip");
|
|
10367
10367
|
return _(), A("div", l0, [
|
|
10368
10368
|
R(i, {
|
|
10369
10369
|
text: n.value,
|
|
@@ -10471,7 +10471,7 @@ const x0 = {
|
|
|
10471
10471
|
}, S0 = { class: "vi-grid-checkbox" }, _0 = ["checked"];
|
|
10472
10472
|
function C0(e, t, n, a, r, o) {
|
|
10473
10473
|
return _(), A("div", S0, [
|
|
10474
|
-
|
|
10474
|
+
I("input", {
|
|
10475
10475
|
type: "checkbox",
|
|
10476
10476
|
checked: n.value,
|
|
10477
10477
|
onChange: t[0] || (t[0] = (i) => e.$emit("checkbox-clicked", { row: this.row, field: this.name, value: i.target.checked })),
|
|
@@ -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
|
|
@@ -10639,10 +10639,10 @@ function M0(e, t, n, a, r, o) {
|
|
|
10639
10639
|
class: "vi-header-cell vi-cell",
|
|
10640
10640
|
colspan: n.colspan
|
|
10641
10641
|
}, [
|
|
10642
|
-
|
|
10642
|
+
I("div", {
|
|
10643
10643
|
class: Ne(["vi-header-cell-content", n.align])
|
|
10644
10644
|
}, [
|
|
10645
|
-
|
|
10645
|
+
te(e.$slots, "default")
|
|
10646
10646
|
], 2)
|
|
10647
10647
|
], 8, I0);
|
|
10648
10648
|
}
|
|
@@ -10700,13 +10700,13 @@ const F0 = {
|
|
|
10700
10700
|
class: "sort-button"
|
|
10701
10701
|
};
|
|
10702
10702
|
function j0(e, t, n, a, r, o) {
|
|
10703
|
-
const i =
|
|
10703
|
+
const i = ne("vi-tooltip"), s = ne("font-awesome-icon"), l = ne("vi-grid-head-cell");
|
|
10704
10704
|
return _(), ee(l, {
|
|
10705
10705
|
class: Ne([n.sortableState, "vi-grid-header-column-cell"]),
|
|
10706
10706
|
align: n.column.align ?? n.align
|
|
10707
10707
|
}, {
|
|
10708
10708
|
default: Nt(() => [
|
|
10709
|
-
|
|
10709
|
+
te(e.$slots, "default", {}, () => [
|
|
10710
10710
|
R(i, {
|
|
10711
10711
|
text: n.column.label,
|
|
10712
10712
|
truncate: o.truncateLimit,
|
|
@@ -10865,7 +10865,7 @@ function Ma(e, t) {
|
|
|
10865
10865
|
function G0(e) {
|
|
10866
10866
|
return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
|
|
10867
10867
|
}
|
|
10868
|
-
function
|
|
10868
|
+
function Ye(e, t, n, a) {
|
|
10869
10869
|
if (e) {
|
|
10870
10870
|
n = n || document;
|
|
10871
10871
|
do {
|
|
@@ -10959,7 +10959,7 @@ function As(e, t, n) {
|
|
|
10959
10959
|
}
|
|
10960
10960
|
function on(e, t, n, a) {
|
|
10961
10961
|
for (var r = 0, o = 0, i = e.children; o < i.length; ) {
|
|
10962
|
-
if (i[o].style.display !== "none" && i[o] !== N.ghost && (a || i[o] !== N.dragged) &&
|
|
10962
|
+
if (i[o].style.display !== "none" && i[o] !== N.ghost && (a || i[o] !== N.dragged) && Ye(i[o], n.draggable, e, !1)) {
|
|
10963
10963
|
if (r === t)
|
|
10964
10964
|
return i[o];
|
|
10965
10965
|
r++;
|
|
@@ -11183,7 +11183,7 @@ var ey = ["evt"], we = function(t, n) {
|
|
|
11183
11183
|
Xn.pluginEvent.bind(N)(t, n, et({
|
|
11184
11184
|
dragEl: S,
|
|
11185
11185
|
parentEl: Q,
|
|
11186
|
-
ghostEl:
|
|
11186
|
+
ghostEl: L,
|
|
11187
11187
|
rootEl: K,
|
|
11188
11188
|
nextEl: Dt,
|
|
11189
11189
|
lastDownEl: ha,
|
|
@@ -11226,7 +11226,7 @@ function ve(e) {
|
|
|
11226
11226
|
newDraggableIndex: ht
|
|
11227
11227
|
}, e));
|
|
11228
11228
|
}
|
|
11229
|
-
var S, Q,
|
|
11229
|
+
var S, Q, L, K, Dt, ha, Z, pt, Xt, Ce, Dn, ht, ta, se, $t = !1, La = !1, Fa = [], Et, Le, _r, Cr, Ds, Ns, yn, Wt, Nn, In = !1, na = !1, pa, fe, kr = [], So = !1, Ra = [], or = typeof document < "u", aa = Fc, Is = qn || ft ? "cssFloat" : "float", ty = or && !$0 && !Fc && "draggable" in document.createElement("div"), Uc = function() {
|
|
11230
11230
|
if (or) {
|
|
11231
11231
|
if (ft)
|
|
11232
11232
|
return !1;
|
|
@@ -11278,9 +11278,9 @@ var S, Q, M, K, Dt, ha, Z, pt, Xt, Ce, Dn, ht, ta, se, $t = !1, La = !1, Fa = []
|
|
|
11278
11278
|
name: r
|
|
11279
11279
|
}), a.name = r.name, a.checkPull = n(r.pull, !0), a.checkPut = n(r.put), a.revertClone = r.revertClone, t.group = a;
|
|
11280
11280
|
}, $c = function() {
|
|
11281
|
-
!Uc &&
|
|
11281
|
+
!Uc && L && D(L, "display", "none");
|
|
11282
11282
|
}, Gc = function() {
|
|
11283
|
-
!Uc &&
|
|
11283
|
+
!Uc && L && D(L, "display", "");
|
|
11284
11284
|
};
|
|
11285
11285
|
or && document.addEventListener("click", function(e) {
|
|
11286
11286
|
if (La)
|
|
@@ -11369,7 +11369,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11369
11369
|
_onTapStart: function(t) {
|
|
11370
11370
|
if (t.cancelable) {
|
|
11371
11371
|
var n = this, a = this.el, r = this.options, o = r.preventOnFilter, i = t.type, s = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (s || t).target, c = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, u = r.filter;
|
|
11372
|
-
if (dy(a), !S && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && An && l && l.tagName.toUpperCase() === "SELECT") && (l =
|
|
11372
|
+
if (dy(a), !S && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && An && l && l.tagName.toUpperCase() === "SELECT") && (l = Ye(l, r.draggable, a, !1), !(l && l.animated) && ha !== l)) {
|
|
11373
11373
|
if (Xt = De(l), Dn = De(l, r.draggable), typeof u == "function") {
|
|
11374
11374
|
if (u.call(this, t, l, this)) {
|
|
11375
11375
|
ve({
|
|
@@ -11385,7 +11385,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11385
11385
|
return;
|
|
11386
11386
|
}
|
|
11387
11387
|
} else if (u && (u = u.split(",").some(function(f) {
|
|
11388
|
-
if (f =
|
|
11388
|
+
if (f = Ye(c, f.trim(), a, !1), f)
|
|
11389
11389
|
return ve({
|
|
11390
11390
|
sortable: n,
|
|
11391
11391
|
rootEl: f,
|
|
@@ -11400,7 +11400,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11400
11400
|
o && t.cancelable && t.preventDefault();
|
|
11401
11401
|
return;
|
|
11402
11402
|
}
|
|
11403
|
-
r.handle && !
|
|
11403
|
+
r.handle && !Ye(c, r.handle, a, !1) || this._prepareDragStart(t, s, l);
|
|
11404
11404
|
}
|
|
11405
11405
|
}
|
|
11406
11406
|
},
|
|
@@ -11496,13 +11496,13 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11496
11496
|
},
|
|
11497
11497
|
_onTouchMove: function(t) {
|
|
11498
11498
|
if (Et) {
|
|
11499
|
-
var n = this.options, a = n.fallbackTolerance, r = n.fallbackOffset, o = t.touches ? t.touches[0] : t, i =
|
|
11499
|
+
var n = this.options, a = n.fallbackTolerance, r = n.fallbackOffset, o = t.touches ? t.touches[0] : t, i = L && en(L, !0), s = L && i && i.a, l = L && i && i.d, c = aa && fe && Ts(fe), u = (o.clientX - Et.clientX + r.x) / (s || 1) + (c ? c[0] - kr[0] : 0) / (s || 1), f = (o.clientY - Et.clientY + r.y) / (l || 1) + (c ? c[1] - kr[1] : 0) / (l || 1);
|
|
11500
11500
|
if (!N.active && !$t) {
|
|
11501
11501
|
if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
|
|
11502
11502
|
return;
|
|
11503
11503
|
this._onDragStart(t, !0);
|
|
11504
11504
|
}
|
|
11505
|
-
if (
|
|
11505
|
+
if (L) {
|
|
11506
11506
|
i ? (i.e += u - (_r || 0), i.f += f - (Cr || 0)) : i = {
|
|
11507
11507
|
a: 1,
|
|
11508
11508
|
b: 0,
|
|
@@ -11512,20 +11512,20 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11512
11512
|
f
|
|
11513
11513
|
};
|
|
11514
11514
|
var d = "matrix(".concat(i.a, ",").concat(i.b, ",").concat(i.c, ",").concat(i.d, ",").concat(i.e, ",").concat(i.f, ")");
|
|
11515
|
-
D(
|
|
11515
|
+
D(L, "webkitTransform", d), D(L, "mozTransform", d), D(L, "msTransform", d), D(L, "transform", d), _r = u, Cr = f, Le = o;
|
|
11516
11516
|
}
|
|
11517
11517
|
t.cancelable && t.preventDefault();
|
|
11518
11518
|
}
|
|
11519
11519
|
},
|
|
11520
11520
|
_appendGhost: function() {
|
|
11521
|
-
if (!
|
|
11521
|
+
if (!L) {
|
|
11522
11522
|
var t = this.options.fallbackOnBody ? document.body : K, n = ie(S, !0, aa, !0, t), a = this.options;
|
|
11523
11523
|
if (aa) {
|
|
11524
11524
|
for (fe = t; D(fe, "position") === "static" && D(fe, "transform") === "none" && fe !== document; )
|
|
11525
11525
|
fe = fe.parentNode;
|
|
11526
11526
|
fe !== document.body && fe !== document.documentElement ? (fe === document && (fe = Qe()), n.top += fe.scrollTop, n.left += fe.scrollLeft) : fe = Qe(), kr = Ts(fe);
|
|
11527
11527
|
}
|
|
11528
|
-
|
|
11528
|
+
L = S.cloneNode(!0), _e(L, a.ghostClass, !1), _e(L, a.fallbackClass, !0), _e(L, a.dragClass, !0), D(L, "transition", ""), D(L, "transform", ""), D(L, "box-sizing", "border-box"), D(L, "margin", 0), D(L, "top", n.top), D(L, "left", n.left), D(L, "width", n.width), D(L, "height", n.height), D(L, "opacity", "0.8"), D(L, "position", aa ? "absolute" : "fixed"), D(L, "zIndex", "100000"), D(L, "pointerEvents", "none"), N.ghost = L, t.appendChild(L), D(L, "transform-origin", Ds / parseInt(L.style.width) * 100 + "% " + Ns / parseInt(L.style.height) * 100 + "%");
|
|
11529
11529
|
}
|
|
11530
11530
|
},
|
|
11531
11531
|
_onDragStart: function(t, n) {
|
|
@@ -11586,7 +11586,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11586
11586
|
originalEvent: t
|
|
11587
11587
|
});
|
|
11588
11588
|
}
|
|
11589
|
-
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), a =
|
|
11589
|
+
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), a = Ye(a, s.draggable, n, !0), y("dragOver"), N.eventCanceled)
|
|
11590
11590
|
return v;
|
|
11591
11591
|
if (S.contains(t.target) || a.animated && a.animatingX && a.animatingY || p._ignoreWhileAnimating === a)
|
|
11592
11592
|
return m(!1);
|
|
@@ -11609,20 +11609,20 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11609
11609
|
return g(), n.insertBefore(S, O), Q = n, x(), m(!0);
|
|
11610
11610
|
} else if (a.parentNode === n) {
|
|
11611
11611
|
o = ie(a);
|
|
11612
|
-
var
|
|
11613
|
-
Wt !== a && (T = o[re], In = !1, na = !Y && s.invertSwap || U),
|
|
11612
|
+
var M = 0, T, U = S.parentNode !== n, Y = !ny(S.animated && S.toRect || r, a.animated && a.toRect || o, h), re = h ? "top" : "left", he = As(a, "top", "top") || As(S, "top", "top"), Te = he ? he.scrollTop : void 0;
|
|
11613
|
+
Wt !== a && (T = o[re], In = !1, na = !Y && s.invertSwap || U), M = cy(t, a, o, h, Y ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, na, Wt === a);
|
|
11614
11614
|
var ue;
|
|
11615
|
-
if (
|
|
11615
|
+
if (M !== 0) {
|
|
11616
11616
|
var oe = De(S);
|
|
11617
11617
|
do
|
|
11618
|
-
oe -=
|
|
11619
|
-
while (ue && (D(ue, "display") === "none" || ue ===
|
|
11618
|
+
oe -= M, ue = Q.children[oe];
|
|
11619
|
+
while (ue && (D(ue, "display") === "none" || ue === L));
|
|
11620
11620
|
}
|
|
11621
|
-
if (
|
|
11621
|
+
if (M === 0 || ue === a)
|
|
11622
11622
|
return m(!1);
|
|
11623
|
-
Wt = a, Nn =
|
|
11623
|
+
Wt = a, Nn = M;
|
|
11624
11624
|
var G = a.nextElementSibling, H = !1;
|
|
11625
|
-
H =
|
|
11625
|
+
H = M === 1;
|
|
11626
11626
|
var J = ra(K, n, S, r, a, o, t, H);
|
|
11627
11627
|
if (J !== !1)
|
|
11628
11628
|
return (J === 1 || J === -1) && (H = J === 1), So = !0, setTimeout(iy, 30), g(), H && !G ? n.appendChild(S) : a.parentNode.insertBefore(S, H ? G : a), he && Bc(he, 0, Te - he.scrollTop), Q = S.parentNode, T !== void 0 && !na && (pa = Math.abs(T - ie(a)[re])), x(), m(!0);
|
|
@@ -11648,7 +11648,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11648
11648
|
this._nulling();
|
|
11649
11649
|
return;
|
|
11650
11650
|
}
|
|
11651
|
-
$t = !1, na = !1, In = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), _o(this.cloneId), _o(this._dragStartId), this.nativeDraggable && (F(document, "drop", this), F(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), An && D(document.body, "user-select", ""), D(S, "transform", ""), t && (yn && (t.cancelable && t.preventDefault(), !a.dropBubble && t.stopPropagation()),
|
|
11651
|
+
$t = !1, na = !1, In = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), _o(this.cloneId), _o(this._dragStartId), this.nativeDraggable && (F(document, "drop", this), F(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), An && D(document.body, "user-select", ""), D(S, "transform", ""), t && (yn && (t.cancelable && t.preventDefault(), !a.dropBubble && t.stopPropagation()), L && L.parentNode && L.parentNode.removeChild(L), (K === Q || se && se.lastPutMode !== "clone") && Z && Z.parentNode && Z.parentNode.removeChild(Z), S && (this.nativeDraggable && F(S, "dragend", this), Or(S), S.style["will-change"] = "", yn && !$t && _e(S, se ? se.options.ghostClass : this.options.ghostClass, !1), _e(S, this.options.chosenClass, !1), ve({
|
|
11652
11652
|
sortable: this,
|
|
11653
11653
|
name: "unchoose",
|
|
11654
11654
|
toEl: Q,
|
|
@@ -11695,7 +11695,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11695
11695
|
}), this.save()))), this._nulling();
|
|
11696
11696
|
},
|
|
11697
11697
|
_nulling: function() {
|
|
11698
|
-
we("nulling", this), K = S = Q =
|
|
11698
|
+
we("nulling", this), K = S = Q = L = Dt = Z = ha = pt = Et = Le = yn = Ce = ht = Xt = Dn = Wt = Nn = se = ta = N.dragged = N.ghost = N.clone = N.active = null, Ra.forEach(function(t) {
|
|
11699
11699
|
t.checked = !0;
|
|
11700
11700
|
}), Ra.length = _r = Cr = 0;
|
|
11701
11701
|
},
|
|
@@ -11720,7 +11720,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11720
11720
|
*/
|
|
11721
11721
|
toArray: function() {
|
|
11722
11722
|
for (var t = [], n, a = this.el.children, r = 0, o = a.length, i = this.options; r < o; r++)
|
|
11723
|
-
n = a[r],
|
|
11723
|
+
n = a[r], Ye(n, i.draggable, this.el, !1) && t.push(n.getAttribute(i.dataIdAttr) || fy(n));
|
|
11724
11724
|
return t;
|
|
11725
11725
|
},
|
|
11726
11726
|
/**
|
|
@@ -11731,7 +11731,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11731
11731
|
var a = {}, r = this.el;
|
|
11732
11732
|
this.toArray().forEach(function(o, i) {
|
|
11733
11733
|
var s = r.children[i];
|
|
11734
|
-
|
|
11734
|
+
Ye(s, this.options.draggable, r, !1) && (a[o] = s);
|
|
11735
11735
|
}, this), n && this.captureAnimationState(), t.forEach(function(o) {
|
|
11736
11736
|
a[o] && (r.removeChild(a[o]), r.appendChild(a[o]));
|
|
11737
11737
|
}), n && this.animateAll();
|
|
@@ -11750,7 +11750,7 @@ N.prototype = /** @lends Sortable.prototype */
|
|
|
11750
11750
|
* @returns {HTMLElement|null}
|
|
11751
11751
|
*/
|
|
11752
11752
|
closest: function(t, n) {
|
|
11753
|
-
return
|
|
11753
|
+
return Ye(t, n || this.options.draggable, this.el, !1);
|
|
11754
11754
|
},
|
|
11755
11755
|
/**
|
|
11756
11756
|
* Set/get option
|
|
@@ -11861,11 +11861,11 @@ N.utils = {
|
|
|
11861
11861
|
css: D,
|
|
11862
11862
|
find: jc,
|
|
11863
11863
|
is: function(t, n) {
|
|
11864
|
-
return !!
|
|
11864
|
+
return !!Ye(t, n, t, !1);
|
|
11865
11865
|
},
|
|
11866
11866
|
extend: q0,
|
|
11867
11867
|
throttle: zc,
|
|
11868
|
-
closest:
|
|
11868
|
+
closest: Ye,
|
|
11869
11869
|
toggleClass: _e,
|
|
11870
11870
|
clone: Vc,
|
|
11871
11871
|
index: De,
|
|
@@ -11890,7 +11890,7 @@ N.create = function(e, t) {
|
|
|
11890
11890
|
return new N(e, t);
|
|
11891
11891
|
};
|
|
11892
11892
|
N.version = W0;
|
|
11893
|
-
var
|
|
11893
|
+
var ae = [], bn, Co, ko = !1, Pr, Er, ja, wn;
|
|
11894
11894
|
function my() {
|
|
11895
11895
|
function e() {
|
|
11896
11896
|
this.defaults = {
|
|
@@ -11916,7 +11916,7 @@ function my() {
|
|
|
11916
11916
|
this.sortable.nativeDraggable ? F(document, "dragover", this._handleAutoScroll) : (F(document, "pointermove", this._handleFallbackAutoScroll), F(document, "touchmove", this._handleFallbackAutoScroll), F(document, "mousemove", this._handleFallbackAutoScroll)), Ms(), ya(), X0();
|
|
11917
11917
|
},
|
|
11918
11918
|
nulling: function() {
|
|
11919
|
-
ja = Co = bn = ko = wn = Pr = Er = null,
|
|
11919
|
+
ja = Co = bn = ko = wn = Pr = Er = null, ae.length = 0;
|
|
11920
11920
|
},
|
|
11921
11921
|
_handleFallbackAutoScroll: function(n) {
|
|
11922
11922
|
this._handleAutoScroll(n, !0);
|
|
@@ -11944,9 +11944,9 @@ function my() {
|
|
|
11944
11944
|
});
|
|
11945
11945
|
}
|
|
11946
11946
|
function ya() {
|
|
11947
|
-
|
|
11947
|
+
ae.forEach(function(e) {
|
|
11948
11948
|
clearInterval(e.pid);
|
|
11949
|
-
}),
|
|
11949
|
+
}), ae = [];
|
|
11950
11950
|
}
|
|
11951
11951
|
function Ms() {
|
|
11952
11952
|
clearInterval(wn);
|
|
@@ -11957,16 +11957,16 @@ var Ar = zc(function(e, t, n, a) {
|
|
|
11957
11957
|
Co !== n && (Co = n, ya(), bn = t.scroll, u = t.scrollFn, bn === !0 && (bn = yt(n, !0)));
|
|
11958
11958
|
var f = 0, d = bn;
|
|
11959
11959
|
do {
|
|
11960
|
-
var h = d, p = ie(h), v = p.top, y = p.bottom, g = p.left, m = p.right, x = p.width, C = p.height, O = void 0,
|
|
11961
|
-
h === l ? (O = x < T && (Y.overflowX === "auto" || Y.overflowX === "scroll" || Y.overflowX === "visible"),
|
|
11962
|
-
var Te = O && (Math.abs(m - r) <= i && re + x < T) - (Math.abs(g - r) <= i && !!re), ue =
|
|
11963
|
-
if (!
|
|
11960
|
+
var h = d, p = ie(h), v = p.top, y = p.bottom, g = p.left, m = p.right, x = p.width, C = p.height, O = void 0, M = void 0, T = h.scrollWidth, U = h.scrollHeight, Y = D(h), re = h.scrollLeft, he = h.scrollTop;
|
|
11961
|
+
h === l ? (O = x < T && (Y.overflowX === "auto" || Y.overflowX === "scroll" || Y.overflowX === "visible"), M = C < U && (Y.overflowY === "auto" || Y.overflowY === "scroll" || Y.overflowY === "visible")) : (O = x < T && (Y.overflowX === "auto" || Y.overflowX === "scroll"), M = C < U && (Y.overflowY === "auto" || Y.overflowY === "scroll"));
|
|
11962
|
+
var Te = O && (Math.abs(m - r) <= i && re + x < T) - (Math.abs(g - r) <= i && !!re), ue = M && (Math.abs(y - o) <= i && he + C < U) - (Math.abs(v - o) <= i && !!he);
|
|
11963
|
+
if (!ae[f])
|
|
11964
11964
|
for (var oe = 0; oe <= f; oe++)
|
|
11965
|
-
|
|
11966
|
-
(
|
|
11965
|
+
ae[oe] || (ae[oe] = {});
|
|
11966
|
+
(ae[f].vx != Te || ae[f].vy != ue || ae[f].el !== h) && (ae[f].el = h, ae[f].vx = Te, ae[f].vy = ue, clearInterval(ae[f].pid), (Te != 0 || ue != 0) && (c = !0, ae[f].pid = setInterval((function() {
|
|
11967
11967
|
a && this.layer === 0 && N.active._onTouchMove(ja);
|
|
11968
|
-
var G =
|
|
11969
|
-
typeof u == "function" && u.call(N.dragged.parentNode[ke], H, G, e, ja,
|
|
11968
|
+
var G = ae[this.layer].vy ? ae[this.layer].vy * s : 0, H = ae[this.layer].vx ? ae[this.layer].vx * s : 0;
|
|
11969
|
+
typeof u == "function" && u.call(N.dragged.parentNode[ke], H, G, e, ja, ae[this.layer].el) !== "continue" || Bc(ae[this.layer].el, H, G);
|
|
11970
11970
|
}).bind({
|
|
11971
11971
|
layer: f
|
|
11972
11972
|
}), 24))), f++;
|
|
@@ -12104,7 +12104,7 @@ const ky = {
|
|
|
12104
12104
|
required: !1,
|
|
12105
12105
|
default: null
|
|
12106
12106
|
}
|
|
12107
|
-
}, Oy =
|
|
12107
|
+
}, Oy = Ue({
|
|
12108
12108
|
name: "VueDraggableNext",
|
|
12109
12109
|
inheritAttrs: !1,
|
|
12110
12110
|
emits: [
|
|
@@ -12128,7 +12128,7 @@ const ky = {
|
|
|
12128
12128
|
},
|
|
12129
12129
|
render() {
|
|
12130
12130
|
const e = this.$slots.default ? this.$slots.default() : null, t = _y(this.$attrs, this.componentData);
|
|
12131
|
-
return e ? (this.transitionMode = Sy(e),
|
|
12131
|
+
return e ? (this.transitionMode = Sy(e), We(this.getTag(), t, e)) : We(this.getTag(), t, []);
|
|
12132
12132
|
},
|
|
12133
12133
|
created() {
|
|
12134
12134
|
this.list !== null && this.modelValue !== null && hy.error("list props are mutually exclusive! Please set one.");
|
|
@@ -12171,7 +12171,7 @@ const ky = {
|
|
|
12171
12171
|
},
|
|
12172
12172
|
methods: {
|
|
12173
12173
|
getTag() {
|
|
12174
|
-
return this.component ?
|
|
12174
|
+
return this.component ? ne(this.component) : this.tag;
|
|
12175
12175
|
},
|
|
12176
12176
|
updateOptions(e) {
|
|
12177
12177
|
for (var t in e) {
|
|
@@ -12424,7 +12424,7 @@ const Py = {
|
|
|
12424
12424
|
...m()
|
|
12425
12425
|
}
|
|
12426
12426
|
}
|
|
12427
|
-
), { localPagination:
|
|
12427
|
+
), { localPagination: M, onPaginationChange: T } = D0(e, t, ({ pagination: Me }) => c({
|
|
12428
12428
|
pagination: {
|
|
12429
12429
|
...Me,
|
|
12430
12430
|
...m()
|
|
@@ -12437,8 +12437,8 @@ const Py = {
|
|
|
12437
12437
|
page: 1,
|
|
12438
12438
|
...m()
|
|
12439
12439
|
}
|
|
12440
|
-
}) :
|
|
12441
|
-
...
|
|
12440
|
+
}) : M.value = {
|
|
12441
|
+
...M.value,
|
|
12442
12442
|
page: 1
|
|
12443
12443
|
};
|
|
12444
12444
|
}), Lt(
|
|
@@ -12475,7 +12475,7 @@ const Py = {
|
|
|
12475
12475
|
isRowSelected: G,
|
|
12476
12476
|
getSortableState: p,
|
|
12477
12477
|
sortDirection: g,
|
|
12478
|
-
localPagination:
|
|
12478
|
+
localPagination: M,
|
|
12479
12479
|
onPaginationChange: T,
|
|
12480
12480
|
rowMenuOpened: n,
|
|
12481
12481
|
settings: J,
|
|
@@ -12486,7 +12486,13 @@ const Py = {
|
|
|
12486
12486
|
i.value = [...U.value];
|
|
12487
12487
|
},
|
|
12488
12488
|
onDragChange: (Me) => {
|
|
12489
|
-
a.value = Me.moved || null, r.value = Me.removed || null, o.value = Me.added || null, t("reorder", {
|
|
12489
|
+
a.value = Me.moved || null, r.value = Me.removed || null, o.value = Me.added || null, t("reorder", {
|
|
12490
|
+
newList: s.value,
|
|
12491
|
+
oldList: i.value,
|
|
12492
|
+
moved: a.value,
|
|
12493
|
+
removed: r.value,
|
|
12494
|
+
added: o.value
|
|
12495
|
+
});
|
|
12490
12496
|
},
|
|
12491
12497
|
onDragModelUpdated: (Me) => {
|
|
12492
12498
|
s.value = Me;
|
|
@@ -12543,27 +12549,27 @@ const Py = {
|
|
|
12543
12549
|
}, Yy = {
|
|
12544
12550
|
key: 1,
|
|
12545
12551
|
class: "vi-cell vi-select-cell"
|
|
12546
|
-
}, Wy = { class: "vi-body-row vi-table-row vi-
|
|
12547
|
-
function
|
|
12548
|
-
const i =
|
|
12552
|
+
}, Wy = { class: "vi-body-row vi-table-row vi-row-details" }, $y = ["colspan"], Gy = { class: "vi-body-row vi-table-row vi-footer-row" }, Hy = ["colspan"];
|
|
12553
|
+
function qy(e, t, n, a, r, o) {
|
|
12554
|
+
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");
|
|
12549
12555
|
return _(), A("div", Ey, [
|
|
12550
12556
|
e.$slots.top ? (_(), A("div", Ay, [
|
|
12551
|
-
|
|
12557
|
+
te(e.$slots, "top")
|
|
12552
12558
|
])) : W("", !0),
|
|
12553
|
-
|
|
12559
|
+
I("div", {
|
|
12554
12560
|
class: Ne(["vi-table-container", { loading: a.isDataLoading }])
|
|
12555
12561
|
}, [
|
|
12556
|
-
|
|
12562
|
+
I("table", {
|
|
12557
12563
|
class: Ne(["vi-table", { stripped: a.settings.stripped, bordered: a.settings.bordered }])
|
|
12558
12564
|
}, [
|
|
12559
|
-
|
|
12565
|
+
I("colgroup", null, [
|
|
12560
12566
|
n.enableDraggable ? (_(), A("col", Ty)) : W("", !0),
|
|
12561
12567
|
n.selectable ? (_(), A("col", Dy)) : W("", !0),
|
|
12562
|
-
(_(!0), A(
|
|
12568
|
+
(_(!0), A(Re, null, vt(a.visibleColumns, (d, h) => (_(), A("col", {
|
|
12563
12569
|
class: Ne({ "first-column": h === 0, "last-column": h === a.visibleColumns.length - 1, ["column-" + h]: !0, [d.type]: !0, ["column-" + d.name]: !0 })
|
|
12564
12570
|
}, null, 2))), 256))
|
|
12565
12571
|
]),
|
|
12566
|
-
|
|
12572
|
+
I("thead", Ny, [
|
|
12567
12573
|
n.title ? (_(), A("tr", Iy, [
|
|
12568
12574
|
n.title ? (_(), ee(i, {
|
|
12569
12575
|
key: 0,
|
|
@@ -12572,14 +12578,14 @@ function Gy(e, t, n, a, r, o) {
|
|
|
12572
12578
|
class: "vi-title-cell"
|
|
12573
12579
|
}, {
|
|
12574
12580
|
default: Nt(() => [
|
|
12575
|
-
|
|
12576
|
-
|
|
12581
|
+
te(e.$slots, "title", { title: n.title }, () => [
|
|
12582
|
+
I("span", null, ce(n.title), 1)
|
|
12577
12583
|
])
|
|
12578
12584
|
]),
|
|
12579
12585
|
_: 3
|
|
12580
12586
|
}, 8, ["colspan"])) : W("", !0)
|
|
12581
12587
|
])) : W("", !0),
|
|
12582
|
-
|
|
12588
|
+
I("tr", My, [
|
|
12583
12589
|
n.enableDraggable ? (_(), ee(i, {
|
|
12584
12590
|
key: 0,
|
|
12585
12591
|
class: "vi-select-cell",
|
|
@@ -12599,7 +12605,7 @@ function Gy(e, t, n, a, r, o) {
|
|
|
12599
12605
|
]),
|
|
12600
12606
|
_: 1
|
|
12601
12607
|
}, 8, ["align"])) : W("", !0),
|
|
12602
|
-
(_(!0), A(
|
|
12608
|
+
(_(!0), A(Re, null, vt(a.visibleColumns, (d) => (_(), ee(l, {
|
|
12603
12609
|
key: d.name,
|
|
12604
12610
|
column: d,
|
|
12605
12611
|
align: a.settings.align,
|
|
@@ -12607,7 +12613,7 @@ function Gy(e, t, n, a, r, o) {
|
|
|
12607
12613
|
onSort: a.setSortFields
|
|
12608
12614
|
}, {
|
|
12609
12615
|
default: Nt(() => [
|
|
12610
|
-
|
|
12616
|
+
te(e.$slots, `vi-header-cell-${d.name}`, { column: d })
|
|
12611
12617
|
]),
|
|
12612
12618
|
_: 2
|
|
12613
12619
|
}, 1032, ["column", "align", "sortable-state", "onSort"]))), 128))
|
|
@@ -12618,9 +12624,9 @@ function Gy(e, t, n, a, r, o) {
|
|
|
12618
12624
|
class: "vi-loading-cell"
|
|
12619
12625
|
}, {
|
|
12620
12626
|
default: Nt(() => [
|
|
12621
|
-
|
|
12627
|
+
te(e.$slots, "loading", {}, () => [
|
|
12622
12628
|
a.settings.defaultSlots.loading ? (_(), ee(ia(a.settings.defaultSlots.loading), { key: 0 })) : (_(), A("div", Fy, t[3] || (t[3] = [
|
|
12623
|
-
|
|
12629
|
+
I("div", { class: "loading-bar" }, null, -1)
|
|
12624
12630
|
])))
|
|
12625
12631
|
])
|
|
12626
12632
|
]),
|
|
@@ -12629,12 +12635,12 @@ function Gy(e, t, n, a, r, o) {
|
|
|
12629
12635
|
])) : W("", !0)
|
|
12630
12636
|
]),
|
|
12631
12637
|
!a.currentVisibleRows.length && !a.isDataLoading ? (_(), A("tbody", Ry, [
|
|
12632
|
-
|
|
12633
|
-
|
|
12638
|
+
I("tr", jy, [
|
|
12639
|
+
I("td", {
|
|
12634
12640
|
class: "vi-body-cell vi-cell",
|
|
12635
12641
|
colspan: a.totalColumns
|
|
12636
12642
|
}, [
|
|
12637
|
-
|
|
12643
|
+
te(e.$slots, "empty-data", {}, () => [
|
|
12638
12644
|
a.settings.defaultSlots.noRows ? (_(), ee(ia(a.settings.defaultSlots.noRows), { key: 0 })) : (_(), A("span", By, ce(a.settings.noDataLabel), 1))
|
|
12639
12645
|
])
|
|
12640
12646
|
], 8, zy)
|
|
@@ -12656,53 +12662,64 @@ function Gy(e, t, n, a, r, o) {
|
|
|
12656
12662
|
onChange: a.onDragChange
|
|
12657
12663
|
}, {
|
|
12658
12664
|
default: Nt(() => [
|
|
12659
|
-
(_(!0), A(
|
|
12660
|
-
key: d[n.rowKey]
|
|
12661
|
-
class: Ne([{ clickable: n.clickableRow, selected: a.isRowSelected(d) }, "vi-body-row vi-table-row"]),
|
|
12662
|
-
onClick: (h) => a.onRowClicked(d)
|
|
12665
|
+
(_(!0), A(Re, null, vt(a.currentVisibleRows, (d) => (_(), A(Re, {
|
|
12666
|
+
key: d[n.rowKey]
|
|
12663
12667
|
}, [
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
title: "Drag to reorder"
|
|
12668
|
-
}, "☰", -1)
|
|
12669
|
-
]))) : W("", !0),
|
|
12670
|
-
n.selectable ? (_(), A("td", Yy, [
|
|
12671
|
-
L("div", {
|
|
12672
|
-
class: Ne(["vi-grid-field", a.settings.align])
|
|
12673
|
-
}, [
|
|
12674
|
-
R(s, {
|
|
12675
|
-
row: d,
|
|
12676
|
-
name: n.rowKey,
|
|
12677
|
-
value: a.selectedRows.includes(d[n.rowKey]),
|
|
12678
|
-
onCheckboxClicked: (h) => a.toggleRowSelect(d, h.value)
|
|
12679
|
-
}, null, 8, ["row", "name", "value", "onCheckboxClicked"])
|
|
12680
|
-
], 2)
|
|
12681
|
-
])) : W("", !0),
|
|
12682
|
-
(_(!0), A(We, null, vt(a.visibleColumns, (h) => (_(), A("td", {
|
|
12683
|
-
key: h.name,
|
|
12684
|
-
class: "vi-body-cell vi-cell"
|
|
12668
|
+
I("tr", {
|
|
12669
|
+
class: Ne([{ clickable: n.clickableRow, selected: a.isRowSelected(d) }, "vi-body-row vi-table-row"]),
|
|
12670
|
+
onClick: (h) => a.onRowClicked(d)
|
|
12685
12671
|
}, [
|
|
12686
|
-
|
|
12687
|
-
"
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
"
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12672
|
+
n.enableDraggable ? (_(), A("td", Uy, t[4] || (t[4] = [
|
|
12673
|
+
I("span", {
|
|
12674
|
+
class: "drag-handle",
|
|
12675
|
+
title: "Drag to reorder"
|
|
12676
|
+
}, "☰", -1)
|
|
12677
|
+
]))) : W("", !0),
|
|
12678
|
+
n.selectable ? (_(), A("td", Yy, [
|
|
12679
|
+
I("div", {
|
|
12680
|
+
class: Ne(["vi-grid-field", a.settings.align])
|
|
12681
|
+
}, [
|
|
12682
|
+
R(s, {
|
|
12683
|
+
row: d,
|
|
12684
|
+
name: n.rowKey,
|
|
12685
|
+
value: a.selectedRows.includes(d[n.rowKey]),
|
|
12686
|
+
onCheckboxClicked: (h) => a.toggleRowSelect(d, h.value)
|
|
12687
|
+
}, null, 8, ["row", "name", "value", "onCheckboxClicked"])
|
|
12688
|
+
], 2)
|
|
12689
|
+
])) : W("", !0),
|
|
12690
|
+
(_(!0), A(Re, null, vt(a.visibleColumns, (h) => (_(), A("td", {
|
|
12691
|
+
key: h.name,
|
|
12692
|
+
class: "vi-body-cell vi-cell"
|
|
12693
|
+
}, [
|
|
12694
|
+
R(c, Pe({
|
|
12695
|
+
"row-menu-opened": a.rowMenuOpened,
|
|
12696
|
+
"onUpdate:rowMenuOpened": t[1] || (t[1] = (p) => a.rowMenuOpened = p),
|
|
12697
|
+
class: h.align ?? a.settings.align,
|
|
12698
|
+
field: h,
|
|
12699
|
+
"field-value": h.transform ? h.transform(d) : d[h.name],
|
|
12700
|
+
"row-value": d,
|
|
12701
|
+
"row-key": n.rowKey
|
|
12702
|
+
}, { ref_for: !0 }, e.$attrs, {
|
|
12703
|
+
onActionClicked: (p) => e.$emit(p.action, p.row),
|
|
12704
|
+
onCheckboxClicked: (p) => a.toggleRowSelect(d, p.value)
|
|
12705
|
+
}), null, 16, ["row-menu-opened", "class", "field", "field-value", "row-value", "row-key", "onActionClicked", "onCheckboxClicked"])
|
|
12706
|
+
]))), 128))
|
|
12707
|
+
], 10, Vy),
|
|
12708
|
+
I("tr", Wy, [
|
|
12709
|
+
I("td", {
|
|
12710
|
+
colspan: a.totalColumns,
|
|
12711
|
+
class: "vi-body-cell vi-cell vi-row-details-cell"
|
|
12712
|
+
}, [
|
|
12713
|
+
te(e.$slots, "row-details", { row: d })
|
|
12714
|
+
], 8, $y)
|
|
12715
|
+
])
|
|
12716
|
+
], 64))), 128)),
|
|
12717
|
+
I("tr", Gy, [
|
|
12718
|
+
I("td", {
|
|
12702
12719
|
colspan: a.totalColumns,
|
|
12703
12720
|
class: "vi-body-cell vi-cell vi-footer-cell"
|
|
12704
12721
|
}, [
|
|
12705
|
-
|
|
12722
|
+
te(e.$slots, "footer", {
|
|
12706
12723
|
pagination: { ...n.pagination, totalRows: a.totalRows }
|
|
12707
12724
|
}, () => [
|
|
12708
12725
|
a.settings.defaultSlots.footer ? (_(), ee(ia(a.settings.defaultSlots.footer), {
|
|
@@ -12720,17 +12737,17 @@ function Gy(e, t, n, a, r, o) {
|
|
|
12720
12737
|
onUpdate: a.onPaginationChange
|
|
12721
12738
|
}, null, 8, ["rows-per-page", "current-page", "total-rows", "compact", "rows-per-page-options", "onUpdate"]))
|
|
12722
12739
|
])
|
|
12723
|
-
], 8,
|
|
12740
|
+
], 8, Hy)
|
|
12724
12741
|
])
|
|
12725
12742
|
]),
|
|
12726
12743
|
_: 3
|
|
12727
12744
|
}, 8, ["modelValue", "disabled", "item-key", "onStart", "onChange", "onUpdate:modelValue"]))
|
|
12728
12745
|
], 2)
|
|
12729
12746
|
], 2),
|
|
12730
|
-
|
|
12747
|
+
te(e.$slots, "bottom")
|
|
12731
12748
|
]);
|
|
12732
12749
|
}
|
|
12733
|
-
const
|
|
12750
|
+
const Xy = /* @__PURE__ */ be(Py, [["render", qy]]), Rs = {
|
|
12734
12751
|
format: {
|
|
12735
12752
|
date: "yyyy-MM-dd",
|
|
12736
12753
|
dateTime: "yyyy-MM-dd HH:mm:ss",
|
|
@@ -12738,7 +12755,7 @@ const Hy = /* @__PURE__ */ be(Py, [["render", Gy]]), Rs = {
|
|
|
12738
12755
|
},
|
|
12739
12756
|
mode: "dateTime"
|
|
12740
12757
|
};
|
|
12741
|
-
const
|
|
12758
|
+
const Ky = {
|
|
12742
12759
|
name: "ViPagination",
|
|
12743
12760
|
components: { FontAwesomeIcon: fn },
|
|
12744
12761
|
// inject: ['ViPaginationSettings'],
|
|
@@ -12841,41 +12858,41 @@ const qy = {
|
|
|
12841
12858
|
this.$emit("update:rowsPerPage", parseInt(t)), this.paginationChange({ rowsPerPage: t, currentPage: 1 });
|
|
12842
12859
|
}
|
|
12843
12860
|
}
|
|
12844
|
-
},
|
|
12861
|
+
}, Qy = { class: "vi-pagination" }, Zy = { class: "vi-rows-per-page" }, Jy = ["value"], eb = ["value"], tb = { key: 0 }, nb = { class: "vi-pages-navigator" }, ab = { class: "page-actions" }, rb = {
|
|
12845
12862
|
key: 0,
|
|
12846
12863
|
class: "page-numbers-container"
|
|
12847
|
-
},
|
|
12848
|
-
function
|
|
12849
|
-
const i =
|
|
12850
|
-
return _(), A("div",
|
|
12851
|
-
|
|
12852
|
-
|
|
12864
|
+
}, ob = ["onClick"], ib = { class: "page-actions" };
|
|
12865
|
+
function sb(e, t, n, a, r, o) {
|
|
12866
|
+
const i = ne("font-awesome-icon");
|
|
12867
|
+
return _(), A("div", Qy, [
|
|
12868
|
+
I("div", Zy, [
|
|
12869
|
+
te(e.$slots, "rows-per-page", {
|
|
12853
12870
|
rowsPerPage: o.rowsOnPage,
|
|
12854
12871
|
rowsPerPageUpdate: o.rowsPerPageChange
|
|
12855
12872
|
}, () => [
|
|
12856
|
-
t[5] || (t[5] =
|
|
12857
|
-
|
|
12873
|
+
t[5] || (t[5] = I("span", null, "Rows per page ", -1)),
|
|
12874
|
+
I("select", {
|
|
12858
12875
|
value: n.rowsPerPage,
|
|
12859
12876
|
onChange: t[0] || (t[0] = (...s) => o.rowsPerPageChange && o.rowsPerPageChange(...s))
|
|
12860
12877
|
}, [
|
|
12861
|
-
(_(!0), A(
|
|
12878
|
+
(_(!0), A(Re, null, vt(n.rowsPerPageOptions, (s) => (_(), A("option", {
|
|
12862
12879
|
key: s.value,
|
|
12863
12880
|
value: s.value
|
|
12864
|
-
}, ce(s.label), 9,
|
|
12865
|
-
], 40,
|
|
12881
|
+
}, ce(s.label), 9, eb))), 128))
|
|
12882
|
+
], 40, Jy)
|
|
12866
12883
|
])
|
|
12867
12884
|
]),
|
|
12868
|
-
|
|
12885
|
+
te(e.$slots, "visible-rows-info", {
|
|
12869
12886
|
totalRows: n.totalRows,
|
|
12870
12887
|
firstVisibleRow: o.firstVisibleRow,
|
|
12871
12888
|
lastVisibleRow: o.lastVisibleRow
|
|
12872
12889
|
}, () => [
|
|
12873
|
-
n.totalRows > 0 ? (_(), A("div",
|
|
12890
|
+
n.totalRows > 0 ? (_(), A("div", tb, " Showing " + ce(o.firstVisibleRow) + " - " + ce(o.lastVisibleRow) + " of " + ce(n.totalRows), 1)) : W("", !0)
|
|
12874
12891
|
]),
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12892
|
+
I("div", nb, [
|
|
12893
|
+
te(e.$slots, "navigation-prev", {}, () => [
|
|
12894
|
+
I("div", ab, [
|
|
12895
|
+
I("div", {
|
|
12879
12896
|
onClick: t[1] || (t[1] = (s) => o.pageChange(1)),
|
|
12880
12897
|
class: "vi-page-nav vi-page-first"
|
|
12881
12898
|
}, [
|
|
@@ -12884,7 +12901,7 @@ function ob(e, t, n, a, r, o) {
|
|
|
12884
12901
|
size: "lg"
|
|
12885
12902
|
})
|
|
12886
12903
|
]),
|
|
12887
|
-
|
|
12904
|
+
I("div", {
|
|
12888
12905
|
onClick: t[2] || (t[2] = (s) => o.pageChange(n.currentPage - 1)),
|
|
12889
12906
|
class: "vi-page-nav vi-page-prev"
|
|
12890
12907
|
}, [
|
|
@@ -12892,22 +12909,22 @@ function ob(e, t, n, a, r, o) {
|
|
|
12892
12909
|
])
|
|
12893
12910
|
])
|
|
12894
12911
|
]),
|
|
12895
|
-
o.compactPagination ? W("", !0) : (_(), A("div",
|
|
12896
|
-
(_(!0), A(
|
|
12912
|
+
o.compactPagination ? W("", !0) : (_(), A("div", rb, [
|
|
12913
|
+
(_(!0), A(Re, null, vt(o.visiblePages, (s) => (_(), A("div", {
|
|
12897
12914
|
class: Ne(["vi-page-number", { active: s === n.currentPage }]),
|
|
12898
12915
|
key: s,
|
|
12899
12916
|
onClick: (l) => o.pageChange(s)
|
|
12900
|
-
}, ce(s), 11,
|
|
12917
|
+
}, ce(s), 11, ob))), 128))
|
|
12901
12918
|
])),
|
|
12902
|
-
|
|
12903
|
-
|
|
12904
|
-
|
|
12919
|
+
te(e.$slots, "navigation-next", {}, () => [
|
|
12920
|
+
I("div", ib, [
|
|
12921
|
+
I("div", {
|
|
12905
12922
|
onClick: t[3] || (t[3] = (s) => o.pageChange(n.currentPage + 1)),
|
|
12906
12923
|
class: "vi-page-nav vi-page-next"
|
|
12907
12924
|
}, [
|
|
12908
12925
|
R(i, { icon: ["fas", "angle-right"] })
|
|
12909
12926
|
]),
|
|
12910
|
-
|
|
12927
|
+
I("div", {
|
|
12911
12928
|
onClick: t[4] || (t[4] = (s) => o.pageChange(o.totalPages)),
|
|
12912
12929
|
class: "vi-page-nav vi-page-last"
|
|
12913
12930
|
}, [
|
|
@@ -12921,51 +12938,51 @@ function ob(e, t, n, a, r, o) {
|
|
|
12921
12938
|
])
|
|
12922
12939
|
]);
|
|
12923
12940
|
}
|
|
12924
|
-
const
|
|
12941
|
+
const lb = /* @__PURE__ */ be(Ky, [["render", sb]]);
|
|
12925
12942
|
/*!
|
|
12926
12943
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
12927
12944
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
12928
12945
|
* Copyright 2024 Fonticons, Inc.
|
|
12929
12946
|
*/
|
|
12930
|
-
const
|
|
12947
|
+
const cb = {
|
|
12931
12948
|
prefix: "fas",
|
|
12932
12949
|
iconName: "chevron-up",
|
|
12933
12950
|
icon: [512, 512, [], "f077", "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
|
|
12934
|
-
},
|
|
12951
|
+
}, ub = {
|
|
12935
12952
|
prefix: "fas",
|
|
12936
12953
|
iconName: "angle-right",
|
|
12937
12954
|
icon: [320, 512, [8250], "f105", "M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]
|
|
12938
|
-
},
|
|
12955
|
+
}, fb = {
|
|
12939
12956
|
prefix: "fas",
|
|
12940
12957
|
iconName: "angles-right",
|
|
12941
12958
|
icon: [512, 512, [187, "angle-double-right"], "f101", "M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]
|
|
12942
|
-
},
|
|
12959
|
+
}, db = {
|
|
12943
12960
|
prefix: "fas",
|
|
12944
12961
|
iconName: "ellipsis",
|
|
12945
12962
|
icon: [448, 512, ["ellipsis-h"], "f141", "M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]
|
|
12946
|
-
},
|
|
12963
|
+
}, mb = db, gb = {
|
|
12947
12964
|
prefix: "fas",
|
|
12948
12965
|
iconName: "chevron-down",
|
|
12949
12966
|
icon: [512, 512, [], "f078", "M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
|
|
12950
|
-
},
|
|
12967
|
+
}, hb = {
|
|
12951
12968
|
prefix: "fas",
|
|
12952
12969
|
iconName: "angles-left",
|
|
12953
12970
|
icon: [512, 512, [171, "angle-double-left"], "f100", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]
|
|
12954
|
-
},
|
|
12971
|
+
}, pb = {
|
|
12955
12972
|
prefix: "fas",
|
|
12956
12973
|
iconName: "angle-left",
|
|
12957
12974
|
icon: [320, 512, [8249], "f104", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
|
|
12958
|
-
},
|
|
12975
|
+
}, vb = {
|
|
12959
12976
|
install(e, t = {}, n = {}) {
|
|
12960
|
-
if (Nc.add(
|
|
12977
|
+
if (Nc.add(ub, pb, fb, hb), n)
|
|
12961
12978
|
for (const [a, r] of Object.entries(n))
|
|
12962
12979
|
document.documentElement.style.setProperty(`--vi-pagination-${a}`, r);
|
|
12963
|
-
e.component("FontAwesomeIcon", fn), e.component("ViPagination",
|
|
12980
|
+
e.component("FontAwesomeIcon", fn), e.component("ViPagination", lb);
|
|
12964
12981
|
}
|
|
12965
|
-
},
|
|
12982
|
+
}, bb = {
|
|
12966
12983
|
install(e, t) {
|
|
12967
12984
|
const { fieldComponents: n, dateFormats: a, dateMode: r, style: o, toastify: i, tooltipSettings: s, ...l } = t;
|
|
12968
|
-
if (Nc.add(
|
|
12985
|
+
if (Nc.add(gb, cb, mb), e.use(Ug, {
|
|
12969
12986
|
style: {},
|
|
12970
12987
|
toastify: {
|
|
12971
12988
|
autoClose: 2e3,
|
|
@@ -12987,11 +13004,11 @@ const sb = {
|
|
|
12987
13004
|
}), o)
|
|
12988
13005
|
for (const [c, u] of Object.entries(o))
|
|
12989
13006
|
document.documentElement.style.setProperty(`--vi-grid-${c}`, u);
|
|
12990
|
-
e.use(
|
|
13007
|
+
e.use(vb, {}, o), e.component("FontAwesomeIcon", fn), ii.value = l, n && Object.keys(n).forEach((c) => {
|
|
12991
13008
|
e.component(`ViGrid${c}`, n[c]);
|
|
12992
|
-
}), e.component("ViGridBuilder",
|
|
13009
|
+
}), e.component("ViGridBuilder", Xy);
|
|
12993
13010
|
}
|
|
12994
13011
|
};
|
|
12995
13012
|
export {
|
|
12996
|
-
|
|
13013
|
+
bb as default
|
|
12997
13014
|
};
|