@amsom-habitat/amsom-table 2.2.2 → 2.2.3
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/amsom-table.js +149 -141
- package/dist/amsom-table.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/amsom-table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as bz, computed as W1, watch as Un, h as xb, resolveComponent as sp, openBlock as V, createElementBlock as $, Fragment as X1, createElementVNode as e0, createVNode as q2, createCommentVNode as t1,
|
|
1
|
+
import { defineComponent as bz, computed as W1, watch as Un, h as xb, resolveComponent as sp, openBlock as V, createElementBlock as $, Fragment as X1, createElementVNode as e0, createVNode as q2, createCommentVNode as t1, normalizeClass as F0, toDisplayString as Fz, withCtx as uO, renderList as V2, normalizeStyle as Hn, createBlock as Uz, withModifiers as K2, withDirectives as Hz, vModelCheckbox as jz, renderSlot as Gz } from "vue";
|
|
2
2
|
/*!
|
|
3
3
|
* Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
|
|
4
4
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -115,7 +115,7 @@ var Kn = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Qn
|
|
|
115
115
|
SWAP_OPACITY: "swap-opacity",
|
|
116
116
|
PRIMARY: "primary",
|
|
117
117
|
SECONDARY: "secondary"
|
|
118
|
-
}, ho = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"],
|
|
118
|
+
}, ho = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], j0 = "classic", zz = "duotone", Zn = "sharp", $n = "sharp-duotone", Lo = [j0, zz, Zn, $n], Ma = {
|
|
119
119
|
classic: {
|
|
120
120
|
900: "fas",
|
|
121
121
|
400: "far",
|
|
@@ -358,22 +358,22 @@ const b2 = "___FONT_AWESOME___", fp = 16, No = "fa", Bo = "svg-inline--fa", k2 =
|
|
|
358
358
|
function VM(M) {
|
|
359
359
|
return new Proxy(M, {
|
|
360
360
|
get(b, z) {
|
|
361
|
-
return z in b ? b[z] : b[
|
|
361
|
+
return z in b ? b[z] : b[j0];
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
const go = h({}, Ro);
|
|
366
|
-
go[
|
|
366
|
+
go[j0] = h(h(h(h({}, {
|
|
367
367
|
"fa-duotone": "duotone"
|
|
368
|
-
}), Ro[
|
|
368
|
+
}), Ro[j0]), NO.kit), NO["kit-duotone"]);
|
|
369
369
|
const ha = VM(go), up = h({}, pa);
|
|
370
|
-
up[
|
|
370
|
+
up[j0] = h(h(h(h({}, {
|
|
371
371
|
duotone: "fad"
|
|
372
|
-
}), up[
|
|
372
|
+
}), up[j0]), BO.kit), BO["kit-duotone"]);
|
|
373
373
|
const gO = VM(up), Rp = h({}, dp);
|
|
374
|
-
Rp[
|
|
374
|
+
Rp[j0] = h(h({}, Rp[j0]), Aa.kit);
|
|
375
375
|
const Qp = VM(Rp), hp = h({}, ra);
|
|
376
|
-
hp[
|
|
376
|
+
hp[j0] = h(h({}, hp[j0]), ca.kit);
|
|
377
377
|
VM(hp);
|
|
378
378
|
const La = Kn, yo = "fa-layers-text", ma = Qn, Na = h({}, Ma);
|
|
379
379
|
VM(Na);
|
|
@@ -393,7 +393,7 @@ W0 && typeof W0.querySelector == "function" && [["data-family-prefix", "familyPr
|
|
|
393
393
|
});
|
|
394
394
|
const To = {
|
|
395
395
|
styleDefault: "solid",
|
|
396
|
-
familyDefault:
|
|
396
|
+
familyDefault: j0,
|
|
397
397
|
cssPrefix: No,
|
|
398
398
|
replacementClass: Bo,
|
|
399
399
|
autoReplaceSvg: !0,
|
|
@@ -1256,7 +1256,7 @@ const Fo = () => ({
|
|
|
1256
1256
|
rest: []
|
|
1257
1257
|
});
|
|
1258
1258
|
function Ga(M) {
|
|
1259
|
-
let b =
|
|
1259
|
+
let b = j0;
|
|
1260
1260
|
const z = Do.reduce((p, o) => (p[o] = "".concat(E.cssPrefix, "-").concat(o), p), {});
|
|
1261
1261
|
return Lo.forEach((p) => {
|
|
1262
1262
|
(M.includes(z[p]) || M.some((o) => Ya[p].includes(o))) && (b = p);
|
|
@@ -1265,7 +1265,7 @@ function Ga(M) {
|
|
|
1265
1265
|
function Oz(M) {
|
|
1266
1266
|
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1267
1267
|
const {
|
|
1268
|
-
family: z =
|
|
1268
|
+
family: z = j0
|
|
1269
1269
|
} = b, p = ha[z][M];
|
|
1270
1270
|
if (z === zz && !M)
|
|
1271
1271
|
return "fad";
|
|
@@ -1321,7 +1321,7 @@ function Ka(M, b, z) {
|
|
|
1321
1321
|
iconName: o
|
|
1322
1322
|
};
|
|
1323
1323
|
}
|
|
1324
|
-
const Qa = Lo.filter((M) => M !==
|
|
1324
|
+
const Qa = Lo.filter((M) => M !== j0 || M !== zz), Ja = Object.keys(dp).filter((M) => M !== j0).map((M) => Object.keys(dp[M])).flat();
|
|
1325
1325
|
function Za(M) {
|
|
1326
1326
|
const {
|
|
1327
1327
|
values: b,
|
|
@@ -1347,7 +1347,7 @@ class $a {
|
|
|
1347
1347
|
const o = z.reduce(this._pullDefinitions, {});
|
|
1348
1348
|
Object.keys(o).forEach((e) => {
|
|
1349
1349
|
this.definitions[e] = h(h({}, this.definitions[e] || {}), o[e]), mp(e, o[e]);
|
|
1350
|
-
const n = Qp[
|
|
1350
|
+
const n = Qp[j0][e];
|
|
1351
1351
|
n && mp(n, o[e]), Io();
|
|
1352
1352
|
});
|
|
1353
1353
|
}
|
|
@@ -3620,7 +3620,7 @@ var Sr = ["evt"], Q0 = function(b, z) {
|
|
|
3620
3620
|
W2 = !1;
|
|
3621
3621
|
},
|
|
3622
3622
|
dispatchSortableEvent: function(r) {
|
|
3623
|
-
|
|
3623
|
+
K0({
|
|
3624
3624
|
sortable: z,
|
|
3625
3625
|
name: r,
|
|
3626
3626
|
originalEvent: o
|
|
@@ -3628,7 +3628,7 @@ var Sr = ["evt"], Q0 = function(b, z) {
|
|
|
3628
3628
|
}
|
|
3629
3629
|
}, e));
|
|
3630
3630
|
};
|
|
3631
|
-
function
|
|
3631
|
+
function K0(M) {
|
|
3632
3632
|
vr(S1({
|
|
3633
3633
|
putSortable: P0,
|
|
3634
3634
|
cloneEl: y0,
|
|
@@ -3640,7 +3640,7 @@ function V0(M) {
|
|
|
3640
3640
|
newDraggableIndex: d2
|
|
3641
3641
|
}, M));
|
|
3642
3642
|
}
|
|
3643
|
-
var B, g0, j, R0, v2, Sb, y0, W2, zM, p1, EM, d2, mb, P0, $2 = !1, jb = !1, Gb = [], y2, d1, bp, zp, bo, zo, yM, J2, CM, PM = !1, Nb = !1, wb,
|
|
3643
|
+
var B, g0, j, R0, v2, Sb, y0, W2, zM, p1, EM, d2, mb, P0, $2 = !1, jb = !1, Gb = [], y2, d1, bp, zp, bo, zo, yM, J2, CM, PM = !1, Nb = !1, wb, U0, pp = [], wp = !1, Vb = [], ez = typeof document < "u", Bb = $o, po = QM || c2 ? "cssFloat" : "float", wr = ez && !mr && !$o && "draggable" in document.createElement("div"), oc = function() {
|
|
3644
3644
|
if (ez) {
|
|
3645
3645
|
if (c2)
|
|
3646
3646
|
return !1;
|
|
@@ -3786,7 +3786,7 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3786
3786
|
if (Hr(p), !B && !(/mousedown|pointerdown/.test(n) && b.button !== 0 || o.disabled) && !i.isContentEditable && !(!this.nativeDraggable && DM && q && q.tagName.toUpperCase() === "SELECT") && (q = g1(q, o.draggable, p, !1), !(q && q.animated) && Sb !== q)) {
|
|
3787
3787
|
if (zM = n1(q), EM = n1(q, o.draggable), typeof W == "function") {
|
|
3788
3788
|
if (W.call(this, b, q, this)) {
|
|
3789
|
-
|
|
3789
|
+
K0({
|
|
3790
3790
|
sortable: z,
|
|
3791
3791
|
rootEl: i,
|
|
3792
3792
|
name: "filter",
|
|
@@ -3800,7 +3800,7 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3800
3800
|
}
|
|
3801
3801
|
} else if (W && (W = W.split(",").some(function(f) {
|
|
3802
3802
|
if (f = g1(i, f.trim(), p, !1), f)
|
|
3803
|
-
return
|
|
3803
|
+
return K0({
|
|
3804
3804
|
sortable: z,
|
|
3805
3805
|
rootEl: f,
|
|
3806
3806
|
name: "filter",
|
|
@@ -3833,7 +3833,7 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3833
3833
|
o._onDrop();
|
|
3834
3834
|
return;
|
|
3835
3835
|
}
|
|
3836
|
-
o._disableDelayedDragEvents(), !JO && o.nativeDraggable && (B.draggable = !0), o._triggerDragStart(b, z),
|
|
3836
|
+
o._disableDelayedDragEvents(), !JO && o.nativeDraggable && (B.draggable = !0), o._triggerDragStart(b, z), K0({
|
|
3837
3837
|
sortable: o,
|
|
3838
3838
|
name: "choose",
|
|
3839
3839
|
originalEvent: b
|
|
@@ -3878,7 +3878,7 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3878
3878
|
evt: z
|
|
3879
3879
|
}), this.nativeDraggable && a0(document, "dragover", Er);
|
|
3880
3880
|
var p = this.options;
|
|
3881
|
-
!b && z1(B, p.dragClass, !1), z1(B, p.ghostClass, !0), I.active = this, b && this._appendGhost(),
|
|
3881
|
+
!b && z1(B, p.dragClass, !1), z1(B, p.ghostClass, !0), I.active = this, b && this._appendGhost(), K0({
|
|
3882
3882
|
sortable: this,
|
|
3883
3883
|
name: "start",
|
|
3884
3884
|
originalEvent: z
|
|
@@ -3910,7 +3910,7 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3910
3910
|
},
|
|
3911
3911
|
_onTouchMove: function(b) {
|
|
3912
3912
|
if (y2) {
|
|
3913
|
-
var z = this.options, p = z.fallbackTolerance, o = z.fallbackOffset, e = b.touches ? b.touches[0] : b, n = j && oM(j, !0), r = j && n && n.a, q = j && n && n.d, i = Bb &&
|
|
3913
|
+
var z = this.options, p = z.fallbackTolerance, o = z.fallbackOffset, e = b.touches ? b.touches[0] : b, n = j && oM(j, !0), r = j && n && n.a, q = j && n && n.d, i = Bb && U0 && Mo(U0), W = (e.clientX - y2.clientX + o.x) / (r || 1) + (i ? i[0] - pp[0] : 0) / (r || 1), f = (e.clientY - y2.clientY + o.y) / (q || 1) + (i ? i[1] - pp[1] : 0) / (q || 1);
|
|
3914
3914
|
if (!I.active && !$2) {
|
|
3915
3915
|
if (p && Math.max(Math.abs(e.clientX - this._lastX), Math.abs(e.clientY - this._lastY)) < p)
|
|
3916
3916
|
return;
|
|
@@ -3935,9 +3935,9 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3935
3935
|
if (!j) {
|
|
3936
3936
|
var b = this.options.fallbackOnBody ? document.body : R0, z = k0(B, !0, Bb, !0, b), p = this.options;
|
|
3937
3937
|
if (Bb) {
|
|
3938
|
-
for (
|
|
3939
|
-
|
|
3940
|
-
|
|
3938
|
+
for (U0 = b; x(U0, "position") === "static" && x(U0, "transform") === "none" && U0 !== document; )
|
|
3939
|
+
U0 = U0.parentNode;
|
|
3940
|
+
U0 !== document.body && U0 !== document.documentElement ? (U0 === document && (U0 = v1()), z.top += U0.scrollTop, z.left += U0.scrollLeft) : U0 = v1(), pp = Mo(U0);
|
|
3941
3941
|
}
|
|
3942
3942
|
j = B.cloneNode(!0), z1(j, p.ghostClass, !1), z1(j, p.fallbackClass, !0), z1(j, p.dragClass, !0), x(j, "transition", ""), x(j, "transform", ""), x(j, "box-sizing", "border-box"), x(j, "margin", 0), x(j, "top", z.top), x(j, "left", z.left), x(j, "width", z.width), x(j, "height", z.height), x(j, "opacity", "0.8"), x(j, "position", Bb ? "absolute" : "fixed"), x(j, "zIndex", "100000"), x(j, "pointerEvents", "none"), I.ghost = j, b.appendChild(j), x(j, "transform-origin", bo / parseInt(j.style.width) * 100 + "% " + zo / parseInt(j.style.height) * 100 + "%");
|
|
3943
3943
|
}
|
|
@@ -3951,7 +3951,7 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3951
3951
|
return;
|
|
3952
3952
|
}
|
|
3953
3953
|
Q0("setupClone", this), I.eventCanceled || (y0 = Oc(B), y0.draggable = !1, y0.style["will-change"] = "", this._hideClone(), z1(y0, this.options.chosenClass, !1), I.clone = y0), p.cloneId = Db(function() {
|
|
3954
|
-
Q0("clone", p), !I.eventCanceled && (p.options.removeCloneOnHide || R0.insertBefore(y0, B), p._hideClone(),
|
|
3954
|
+
Q0("clone", p), !I.eventCanceled && (p.options.removeCloneOnHide || R0.insertBefore(y0, B), p._hideClone(), K0({
|
|
3955
3955
|
sortable: p,
|
|
3956
3956
|
name: "clone"
|
|
3957
3957
|
}));
|
|
@@ -3990,7 +3990,7 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
3990
3990
|
}), D !== N && (N.animateAll(), N._ignoreWhileAnimating = null)), (p === B && !B.animated || p === z && !p.animated) && (J2 = null), !r.dragoverBubble && !b.rootEl && p !== document && (B.parentNode[O1]._isOutsideThisEl(b.target), !E1 && T2(b)), !r.dragoverBubble && b.stopPropagation && b.stopPropagation(), U = !0;
|
|
3991
3991
|
}
|
|
3992
3992
|
function H() {
|
|
3993
|
-
p1 = n1(B), d2 = n1(B, r.draggable),
|
|
3993
|
+
p1 = n1(B), d2 = n1(B, r.draggable), K0({
|
|
3994
3994
|
sortable: D,
|
|
3995
3995
|
name: "change",
|
|
3996
3996
|
toEl: z,
|
|
@@ -4024,9 +4024,9 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
4024
4024
|
J2 !== p && (L0 = e[S0], PM = !1, Nb = !C0 && r.invertSwap || T0), N0 = Yr(b, p, e, C, C0 ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, Nb, J2 === p);
|
|
4025
4025
|
var B0;
|
|
4026
4026
|
if (N0 !== 0) {
|
|
4027
|
-
var
|
|
4027
|
+
var G0 = n1(B);
|
|
4028
4028
|
do
|
|
4029
|
-
|
|
4029
|
+
G0 -= N0, B0 = g0.children[G0];
|
|
4030
4030
|
while (B0 && (x(B0, "display") === "none" || B0 === j));
|
|
4031
4031
|
}
|
|
4032
4032
|
if (N0 === 0 || B0 === p)
|
|
@@ -4059,46 +4059,46 @@ I.prototype = /** @lends Sortable.prototype */
|
|
|
4059
4059
|
this._nulling();
|
|
4060
4060
|
return;
|
|
4061
4061
|
}
|
|
4062
|
-
$2 = !1, Nb = !1, PM = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Dp(this.cloneId), Dp(this._dragStartId), this.nativeDraggable && (p0(document, "drop", this), p0(z, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), DM && x(document.body, "user-select", ""), x(B, "transform", ""), b && (yM && (b.cancelable && b.preventDefault(), !p.dropBubble && b.stopPropagation()), j && j.parentNode && j.parentNode.removeChild(j), (R0 === g0 || P0 && P0.lastPutMode !== "clone") && y0 && y0.parentNode && y0.parentNode.removeChild(y0), B && (this.nativeDraggable && p0(B, "dragend", this), Op(B), B.style["will-change"] = "", yM && !$2 && z1(B, P0 ? P0.options.ghostClass : this.options.ghostClass, !1), z1(B, this.options.chosenClass, !1),
|
|
4062
|
+
$2 = !1, Nb = !1, PM = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Dp(this.cloneId), Dp(this._dragStartId), this.nativeDraggable && (p0(document, "drop", this), p0(z, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), DM && x(document.body, "user-select", ""), x(B, "transform", ""), b && (yM && (b.cancelable && b.preventDefault(), !p.dropBubble && b.stopPropagation()), j && j.parentNode && j.parentNode.removeChild(j), (R0 === g0 || P0 && P0.lastPutMode !== "clone") && y0 && y0.parentNode && y0.parentNode.removeChild(y0), B && (this.nativeDraggable && p0(B, "dragend", this), Op(B), B.style["will-change"] = "", yM && !$2 && z1(B, P0 ? P0.options.ghostClass : this.options.ghostClass, !1), z1(B, this.options.chosenClass, !1), K0({
|
|
4063
4063
|
sortable: this,
|
|
4064
4064
|
name: "unchoose",
|
|
4065
4065
|
toEl: g0,
|
|
4066
4066
|
newIndex: null,
|
|
4067
4067
|
newDraggableIndex: null,
|
|
4068
4068
|
originalEvent: b
|
|
4069
|
-
}), R0 !== g0 ? (p1 >= 0 && (
|
|
4069
|
+
}), R0 !== g0 ? (p1 >= 0 && (K0({
|
|
4070
4070
|
rootEl: g0,
|
|
4071
4071
|
name: "add",
|
|
4072
4072
|
toEl: g0,
|
|
4073
4073
|
fromEl: R0,
|
|
4074
4074
|
originalEvent: b
|
|
4075
|
-
}),
|
|
4075
|
+
}), K0({
|
|
4076
4076
|
sortable: this,
|
|
4077
4077
|
name: "remove",
|
|
4078
4078
|
toEl: g0,
|
|
4079
4079
|
originalEvent: b
|
|
4080
|
-
}),
|
|
4080
|
+
}), K0({
|
|
4081
4081
|
rootEl: g0,
|
|
4082
4082
|
name: "sort",
|
|
4083
4083
|
toEl: g0,
|
|
4084
4084
|
fromEl: R0,
|
|
4085
4085
|
originalEvent: b
|
|
4086
|
-
}),
|
|
4086
|
+
}), K0({
|
|
4087
4087
|
sortable: this,
|
|
4088
4088
|
name: "sort",
|
|
4089
4089
|
toEl: g0,
|
|
4090
4090
|
originalEvent: b
|
|
4091
|
-
})), P0 && P0.save()) : p1 !== zM && p1 >= 0 && (
|
|
4091
|
+
})), P0 && P0.save()) : p1 !== zM && p1 >= 0 && (K0({
|
|
4092
4092
|
sortable: this,
|
|
4093
4093
|
name: "update",
|
|
4094
4094
|
toEl: g0,
|
|
4095
4095
|
originalEvent: b
|
|
4096
|
-
}),
|
|
4096
|
+
}), K0({
|
|
4097
4097
|
sortable: this,
|
|
4098
4098
|
name: "sort",
|
|
4099
4099
|
toEl: g0,
|
|
4100
4100
|
originalEvent: b
|
|
4101
|
-
})), I.active && ((p1 == null || p1 === -1) && (p1 = zM, d2 = EM),
|
|
4101
|
+
})), I.active && ((p1 == null || p1 === -1) && (p1 = zM, d2 = EM), K0({
|
|
4102
4102
|
sortable: this,
|
|
4103
4103
|
name: "end",
|
|
4104
4104
|
toEl: g0,
|
|
@@ -4370,8 +4370,8 @@ var ep = zc(function(M, b, z, p) {
|
|
|
4370
4370
|
C === q ? (n0 = H < L0 && (C0.overflowX === "auto" || C0.overflowX === "scroll" || C0.overflowX === "visible"), N0 = O0 < T0 && (C0.overflowY === "auto" || C0.overflowY === "scroll" || C0.overflowY === "visible")) : (n0 = H < L0 && (C0.overflowX === "auto" || C0.overflowX === "scroll"), N0 = O0 < T0 && (C0.overflowY === "auto" || C0.overflowY === "scroll"));
|
|
4371
4371
|
var L1 = n0 && (Math.abs(g - o) <= n && S0 + H < L0) - (Math.abs(_ - o) <= n && !!S0), B0 = N0 && (Math.abs(T - e) <= n && $0 + O0 < T0) - (Math.abs(U - e) <= n && !!$0);
|
|
4372
4372
|
if (!w0[f])
|
|
4373
|
-
for (var
|
|
4374
|
-
w0[
|
|
4373
|
+
for (var G0 = 0; G0 <= f; G0++)
|
|
4374
|
+
w0[G0] || (w0[G0] = {});
|
|
4375
4375
|
(w0[f].vx != L1 || w0[f].vy != B0 || w0[f].el !== C) && (w0[f].el = C, w0[f].vx = L1, w0[f].vy = B0, clearInterval(w0[f].pid), (L1 != 0 || B0 != 0) && (i = !0, w0[f].pid = setInterval((function() {
|
|
4376
4376
|
p && this.layer === 0 && I.active._onTouchMove(Kb);
|
|
4377
4377
|
var e1 = w0[this.layer].vy ? w0[this.layer].vy * r : 0, m0 = w0[this.layer].vx ? w0[this.layer].vx * r : 0;
|
|
@@ -5156,7 +5156,7 @@ function _i(M, b, z) {
|
|
|
5156
5156
|
function qz(M) {
|
|
5157
5157
|
return M % 4 === 0 && M % 100 !== 0 || M % 400 === 0;
|
|
5158
5158
|
}
|
|
5159
|
-
var
|
|
5159
|
+
var H0 = 0, Q1 = 1, y1 = 2, E0 = 3, l1 = 4, J1 = 5, w2 = 6, vi = 7, Si = 8;
|
|
5160
5160
|
P("Y", 0, 0, function() {
|
|
5161
5161
|
var M = this.year();
|
|
5162
5162
|
return M <= 9999 ? w1(M, 4) : "+" + M;
|
|
@@ -5172,15 +5172,15 @@ w("YY", l0, c1);
|
|
|
5172
5172
|
w("YYYY", d3, s3);
|
|
5173
5173
|
w("YYYYY", az, tz);
|
|
5174
5174
|
w("YYYYYY", az, tz);
|
|
5175
|
-
i0(["YYYYY", "YYYYYY"],
|
|
5175
|
+
i0(["YYYYY", "YYYYYY"], H0);
|
|
5176
5176
|
i0("YYYY", function(M, b) {
|
|
5177
|
-
b[
|
|
5177
|
+
b[H0] = M.length === 2 ? y.parseTwoDigitYear(M) : Q(M);
|
|
5178
5178
|
});
|
|
5179
5179
|
i0("YY", function(M, b) {
|
|
5180
|
-
b[
|
|
5180
|
+
b[H0] = y.parseTwoDigitYear(M);
|
|
5181
5181
|
});
|
|
5182
5182
|
i0("Y", function(M, b) {
|
|
5183
|
-
b[
|
|
5183
|
+
b[H0] = parseInt(M, 10);
|
|
5184
5184
|
});
|
|
5185
5185
|
function xM(M) {
|
|
5186
5186
|
return qz(M) ? 366 : 365;
|
|
@@ -5762,7 +5762,7 @@ function gq() {
|
|
|
5762
5762
|
}
|
|
5763
5763
|
function L3(M) {
|
|
5764
5764
|
var b, z = M._a;
|
|
5765
|
-
return z && G(M).overflow === -2 && (b = z[Q1] < 0 || z[Q1] > 11 ? Q1 : z[y1] < 1 || z[y1] > f3(z[
|
|
5765
|
+
return z && G(M).overflow === -2 && (b = z[Q1] < 0 || z[Q1] > 11 ? Q1 : z[y1] < 1 || z[y1] > f3(z[H0], z[Q1]) ? y1 : z[E0] < 0 || z[E0] > 24 || z[E0] === 24 && (z[l1] !== 0 || z[J1] !== 0 || z[w2] !== 0) ? E0 : z[l1] < 0 || z[l1] > 59 ? l1 : z[J1] < 0 || z[J1] > 59 ? J1 : z[w2] < 0 || z[w2] > 999 ? w2 : -1, G(M)._overflowDayOfYear && (b < H0 || b > y1) && (b = y1), G(M)._overflowWeeks && b === -1 && (b = vi), G(M)._overflowWeekday && b === -1 && (b = Si), G(M).overflow = b), M;
|
|
5766
5766
|
}
|
|
5767
5767
|
var yq = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Tq = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, _q = /Z|[+-]\d\d(?::?\d\d)?/, yb = [
|
|
5768
5768
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -5927,7 +5927,7 @@ function Iq(M) {
|
|
|
5927
5927
|
function m3(M) {
|
|
5928
5928
|
var b, z, p = [], o, e, n;
|
|
5929
5929
|
if (!M._d) {
|
|
5930
|
-
for (o = Iq(M), M._w && M._a[y1] == null && M._a[Q1] == null && Yq(M), M._dayOfYear != null && (n = MM(M._a[
|
|
5930
|
+
for (o = Iq(M), M._w && M._a[y1] == null && M._a[Q1] == null && Yq(M), M._dayOfYear != null && (n = MM(M._a[H0], o[H0]), (M._dayOfYear > xM(n) || M._dayOfYear === 0) && (G(M)._overflowDayOfYear = !0), z = HM(n, 0, M._dayOfYear), M._a[Q1] = z.getUTCMonth(), M._a[y1] = z.getUTCDate()), b = 0; b < 3 && M._a[b] == null; ++b)
|
|
5931
5931
|
M._a[b] = p[b] = o[b];
|
|
5932
5932
|
for (; b < 7; b++)
|
|
5933
5933
|
M._a[b] = p[b] = M._a[b] == null ? b === 2 ? 1 : 0 : M._a[b];
|
|
@@ -5941,9 +5941,9 @@ function Yq(M) {
|
|
|
5941
5941
|
var b, z, p, o, e, n, r, q, i;
|
|
5942
5942
|
b = M._w, b.GG != null || b.W != null || b.E != null ? (e = 1, n = 4, z = MM(
|
|
5943
5943
|
b.GG,
|
|
5944
|
-
M._a[
|
|
5944
|
+
M._a[H0],
|
|
5945
5945
|
jM(f0(), 1, 4).year
|
|
5946
|
-
), p = MM(b.W, 1), o = MM(b.E, 1), (o < 1 || o > 7) && (q = !0)) : (e = M._locale._week.dow, n = M._locale._week.doy, i = jM(f0(), e, n), z = MM(b.gg, M._a[
|
|
5946
|
+
), p = MM(b.W, 1), o = MM(b.E, 1), (o < 1 || o > 7) && (q = !0)) : (e = M._locale._week.dow, n = M._locale._week.doy, i = jM(f0(), e, n), z = MM(b.gg, M._a[H0], i.year), p = MM(b.w, i.week), b.d != null ? (o = b.d, (o < 0 || o > 6) && (q = !0)) : b.e != null ? (o = b.e + e, (b.e < 0 || b.e > 6) && (q = !0)) : o = e), p < 1 || p > M2(z, e, n) ? G(M)._overflowWeeks = !0 : q != null ? G(M)._overflowWeekday = !0 : (r = Tc(z, p, o, e, n), M._a[H0] = r.year, M._dayOfYear = r.dayOfYear);
|
|
5947
5947
|
}
|
|
5948
5948
|
y.ISO_8601 = function() {
|
|
5949
5949
|
};
|
|
@@ -5968,7 +5968,7 @@ function N3(M) {
|
|
|
5968
5968
|
M._locale,
|
|
5969
5969
|
M._a[E0],
|
|
5970
5970
|
M._meridiem
|
|
5971
|
-
), i = G(M).era, i !== null && (M._a[
|
|
5971
|
+
), i = G(M).era, i !== null && (M._a[H0] = M._locale.erasConvertYear(i, M._a[H0])), m3(M), L3(M);
|
|
5972
5972
|
}
|
|
5973
5973
|
function Fq(M, b, z) {
|
|
5974
5974
|
var p;
|
|
@@ -6614,10 +6614,10 @@ w("yy", rM);
|
|
|
6614
6614
|
w("yyy", rM);
|
|
6615
6615
|
w("yyyy", rM);
|
|
6616
6616
|
w("yo", a5);
|
|
6617
|
-
i0(["y", "yy", "yyy", "yyyy"],
|
|
6617
|
+
i0(["y", "yy", "yyy", "yyyy"], H0);
|
|
6618
6618
|
i0(["yo"], function(M, b, z, p) {
|
|
6619
6619
|
var o;
|
|
6620
|
-
z._locale._eraYearOrdinalRegex && (o = M.match(z._locale._eraYearOrdinalRegex)), z._locale.eraYearOrdinalParse ? b[
|
|
6620
|
+
z._locale._eraYearOrdinalRegex && (o = M.match(z._locale._eraYearOrdinalRegex)), z._locale.eraYearOrdinalParse ? b[H0] = z._locale.eraYearOrdinalParse(M, o) : b[H0] = parseInt(M, 10);
|
|
6621
6621
|
});
|
|
6622
6622
|
function $s(M, b) {
|
|
6623
6623
|
var z, p, o, e = this._eras || e2("en")._eras;
|
|
@@ -7467,7 +7467,7 @@ const Ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7467
7467
|
try {
|
|
7468
7468
|
var d = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
7469
7469
|
if (d && d.length > 3) {
|
|
7470
|
-
var u = n[
|
|
7470
|
+
var u = n[G0(d)];
|
|
7471
7471
|
if (u)
|
|
7472
7472
|
return u;
|
|
7473
7473
|
C1("Moment Timezone found " + d + " from the Intl api, but did not have that data loaded.");
|
|
@@ -7485,16 +7485,16 @@ const Ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7485
7485
|
function B0(d) {
|
|
7486
7486
|
return (!q || d) && (q = L1()), q;
|
|
7487
7487
|
}
|
|
7488
|
-
function
|
|
7488
|
+
function G0(d) {
|
|
7489
7489
|
return (d || "").toLowerCase().replace(/\//g, "_");
|
|
7490
7490
|
}
|
|
7491
7491
|
function e1(d) {
|
|
7492
7492
|
var u, R, X, Y;
|
|
7493
7493
|
for (typeof d == "string" && (d = [d]), u = 0; u < d.length; u++)
|
|
7494
|
-
X = d[u].split("|"), R = X[0], Y =
|
|
7494
|
+
X = d[u].split("|"), R = X[0], Y = G0(R), p[Y] = d[u], n[Y] = R, S0(Y, X[2].split(" "));
|
|
7495
7495
|
}
|
|
7496
7496
|
function m0(d, u) {
|
|
7497
|
-
d =
|
|
7497
|
+
d = G0(d);
|
|
7498
7498
|
var R = p[d], X;
|
|
7499
7499
|
return R instanceof g ? R : typeof R == "string" ? (R = new g(R), p[d] = R, R) : o[d] && u !== m0 && (X = m0(o[d], m0)) ? (R = p[d] = new g(), R._set(X), R.name = n[d], R) : null;
|
|
7500
7500
|
}
|
|
@@ -7510,7 +7510,7 @@ const Ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7510
7510
|
function P2(d) {
|
|
7511
7511
|
var u, R, X, Y;
|
|
7512
7512
|
for (typeof d == "string" && (d = [d]), u = 0; u < d.length; u++)
|
|
7513
|
-
R = d[u].split("|"), X =
|
|
7513
|
+
R = d[u].split("|"), X = G0(R[0]), Y = G0(R[1]), o[X] = Y, n[X] = R[0], o[Y] = X, n[Y] = R[1];
|
|
7514
7514
|
}
|
|
7515
7515
|
function M1(d) {
|
|
7516
7516
|
var u, R, X, Y;
|
|
@@ -8602,7 +8602,7 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
8602
8602
|
function B0(O) {
|
|
8603
8603
|
return typeof Function < "u" && O instanceof Function || Object.prototype.toString.call(O) === "[object Function]";
|
|
8604
8604
|
}
|
|
8605
|
-
function
|
|
8605
|
+
function G0(O) {
|
|
8606
8606
|
var c, A;
|
|
8607
8607
|
for (A in O)
|
|
8608
8608
|
r(O, A) && (c = O[A], B0(c) ? this[A] = c : this["_" + A] = c);
|
|
@@ -9232,8 +9232,8 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
9232
9232
|
return this._weekdaysParseExact ? (r(this, "_weekdaysRegex") || Xz.call(this), O ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (r(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ye), this._weekdaysMinStrictRegex && O ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
9233
9233
|
}
|
|
9234
9234
|
function Xz() {
|
|
9235
|
-
function O(
|
|
9236
|
-
return G1.length -
|
|
9235
|
+
function O(V0, G1) {
|
|
9236
|
+
return G1.length - V0.length;
|
|
9237
9237
|
}
|
|
9238
9238
|
var c = [], A = [], t = [], a = [], s, l, v, F, Z;
|
|
9239
9239
|
for (s = 0; s < 7; s++)
|
|
@@ -9448,7 +9448,7 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
9448
9448
|
PST: -8 * 60
|
|
9449
9449
|
};
|
|
9450
9450
|
function V3(O) {
|
|
9451
|
-
var c, A, t = O._i, a = nA.exec(t) || aA.exec(t), s, l, v, F, Z = ib.length,
|
|
9451
|
+
var c, A, t = O._i, a = nA.exec(t) || aA.exec(t), s, l, v, F, Z = ib.length, V0 = _z.length;
|
|
9452
9452
|
if (a) {
|
|
9453
9453
|
for (T(O).iso = !0, c = 0, A = Z; c < A; c++)
|
|
9454
9454
|
if (ib[c][1].exec(a[1])) {
|
|
@@ -9460,7 +9460,7 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
9460
9460
|
return;
|
|
9461
9461
|
}
|
|
9462
9462
|
if (a[3]) {
|
|
9463
|
-
for (c = 0, A =
|
|
9463
|
+
for (c = 0, A = V0; c < A; c++)
|
|
9464
9464
|
if (_z[c][1].exec(a[3])) {
|
|
9465
9465
|
v = (a[2] || " ") + _z[c][0];
|
|
9466
9466
|
break;
|
|
@@ -9605,8 +9605,8 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
9605
9605
|
return;
|
|
9606
9606
|
}
|
|
9607
9607
|
O._a = [], T(O).empty = !0;
|
|
9608
|
-
var c = "" + O._i, A, t, a, s, l, v = c.length, F = 0, Z,
|
|
9609
|
-
for (a = dM(O._f, O._locale).match(t2) || [],
|
|
9608
|
+
var c = "" + O._i, A, t, a, s, l, v = c.length, F = 0, Z, V0;
|
|
9609
|
+
for (a = dM(O._f, O._locale).match(t2) || [], V0 = a.length, A = 0; A < V0; A++)
|
|
9610
9610
|
s = a[A], t = (c.match(ne(s, O)) || [])[0], t && (l = c.substr(0, c.indexOf(t)), l.length > 0 && T(O).unusedInput.push(l), c = c.slice(
|
|
9611
9611
|
c.indexOf(t) + t.length
|
|
9612
9612
|
), F += t.length), N1[s] ? (t ? T(O).empty = !1 : T(O).unusedTokens.push(s), re(s, t, O)) : O._strict && !t && T(O).unusedTokens.push(s);
|
|
@@ -9724,8 +9724,8 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
9724
9724
|
return s1(NaN);
|
|
9725
9725
|
}
|
|
9726
9726
|
function qb(O) {
|
|
9727
|
-
var c = pb(O), A = c.year || 0, t = c.quarter || 0, a = c.month || 0, s = c.week || c.isoWeek || 0, l = c.day || 0, v = c.hour || 0, F = c.minute || 0, Z = c.second || 0,
|
|
9728
|
-
this._isValid = wA(c), this._milliseconds = +
|
|
9727
|
+
var c = pb(O), A = c.year || 0, t = c.quarter || 0, a = c.month || 0, s = c.week || c.isoWeek || 0, l = c.day || 0, v = c.hour || 0, F = c.minute || 0, Z = c.second || 0, V0 = c.millisecond || 0;
|
|
9728
|
+
this._isValid = wA(c), this._milliseconds = +V0 + Z * 1e3 + // 1000
|
|
9729
9729
|
F * 6e4 + // 1000 * 60
|
|
9730
9730
|
v * 1e3 * 60 * 60, this._days = +l + s * 7, this._months = +a + t * 3 + A * 12, this._data = {}, this._locale = F1(), this._bubble();
|
|
9731
9731
|
}
|
|
@@ -10486,7 +10486,7 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
10486
10486
|
return O;
|
|
10487
10487
|
}
|
|
10488
10488
|
var c0 = m0.prototype;
|
|
10489
|
-
c0.calendar = P2, c0.longDateFormat = uz, c0.invalidDate = d, c0.ordinal = X, c0.preparse = qO, c0.postformat = qO, c0.relativeTime = M0, c0.pastFuture = X0, c0.set =
|
|
10489
|
+
c0.calendar = P2, c0.longDateFormat = uz, c0.invalidDate = d, c0.ordinal = X, c0.preparse = qO, c0.postformat = qO, c0.relativeTime = M0, c0.pastFuture = X0, c0.set = G0, c0.eras = wt, c0.erasParse = Dt, c0.erasConvertYear = kt, c0.erasAbbrRegex = Yt, c0.erasNameRegex = It, c0.erasNarrowRegex = Ft, c0.months = he, c0.monthsShort = Le, c0.monthsParse = Ne, c0.monthsRegex = ge, c0.monthsShortRegex = Xe, c0.week = Te, c0.firstDayOfYear = Se, c0.firstDayOfWeek = ve, c0.weekdays = Fe, c0.weekdaysMin = He, c0.weekdaysShort = Ue, c0.weekdaysParse = Ge, c0.weekdaysRegex = Je, c0.weekdaysShortRegex = Ze, c0.weekdaysMinRegex = $e, c0.isPM = bA, c0.meridiem = OA;
|
|
10490
10490
|
function ub(O, c, A, t) {
|
|
10491
10491
|
var a = F1(), s = D().set(t, c);
|
|
10492
10492
|
return a[A](s, O);
|
|
@@ -10654,8 +10654,8 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
10654
10654
|
return a.relativeTime(c || 1, !!A, O, t);
|
|
10655
10655
|
}
|
|
10656
10656
|
function xn(O, c, A, t) {
|
|
10657
|
-
var a = s1(O).abs(), s = j1(a.as("s")), l = j1(a.as("m")), v = j1(a.as("h")), F = j1(a.as("d")), Z = j1(a.as("M")),
|
|
10658
|
-
return A.w != null && (i2 = i2 ||
|
|
10657
|
+
var a = s1(O).abs(), s = j1(a.as("s")), l = j1(a.as("m")), v = j1(a.as("h")), F = j1(a.as("d")), Z = j1(a.as("M")), V0 = j1(a.as("w")), G1 = j1(a.as("y")), i2 = s <= A.ss && ["s", s] || s < A.s && ["ss", s] || l <= 1 && ["m"] || l < A.m && ["mm", l] || v <= 1 && ["h"] || v < A.h && ["hh", v] || F <= 1 && ["d"] || F < A.d && ["dd", F];
|
|
10658
|
+
return A.w != null && (i2 = i2 || V0 <= 1 && ["w"] || V0 < A.w && ["ww", V0]), i2 = i2 || Z <= 1 && ["M"] || Z < A.M && ["MM", Z] || G1 <= 1 && ["y"] || ["yy", G1], i2[2] = c, i2[3] = +O > 0, i2[4] = t, Pn.apply(null, i2);
|
|
10659
10659
|
}
|
|
10660
10660
|
function In(O) {
|
|
10661
10661
|
return O === void 0 ? j1 : typeof O == "function" ? (j1 = O, !0) : !1;
|
|
@@ -10676,8 +10676,8 @@ Arguments: ` + Array.prototype.slice.call(t).join("") + `
|
|
|
10676
10676
|
function Rb() {
|
|
10677
10677
|
if (!this.isValid())
|
|
10678
10678
|
return this.localeData().invalidDate();
|
|
10679
|
-
var O = Yz(this._milliseconds) / 1e3, c = Yz(this._days), A = Yz(this._months), t, a, s, l, v = this.asSeconds(), F, Z,
|
|
10680
|
-
return v ? (t = A1(O / 60), a = A1(t / 60), O %= 60, t %= 60, s = A1(A / 12), A %= 12, l = O ? O.toFixed(3).replace(/\.?0+$/, "") : "", F = v < 0 ? "-" : "", Z = G2(this._months) !== G2(v) ? "-" : "",
|
|
10679
|
+
var O = Yz(this._milliseconds) / 1e3, c = Yz(this._days), A = Yz(this._months), t, a, s, l, v = this.asSeconds(), F, Z, V0, G1;
|
|
10680
|
+
return v ? (t = A1(O / 60), a = A1(t / 60), O %= 60, t %= 60, s = A1(A / 12), A %= 12, l = O ? O.toFixed(3).replace(/\.?0+$/, "") : "", F = v < 0 ? "-" : "", Z = G2(this._months) !== G2(v) ? "-" : "", V0 = G2(this._days) !== G2(v) ? "-" : "", G1 = G2(this._milliseconds) !== G2(v) ? "-" : "", F + "P" + (s ? Z + s + "Y" : "") + (A ? Z + A + "M" : "") + (c ? V0 + c + "D" : "") + (a || t || O ? "T" : "") + (a ? G1 + a + "H" : "") + (t ? G1 + t + "M" : "") + (O ? G1 + l + "S" : "")) : "P0D";
|
|
10681
10681
|
}
|
|
10682
10682
|
var b0 = qb.prototype;
|
|
10683
10683
|
b0.isValid = DA, b0.abs = sn, b0.add = dn, b0.subtract = Wn, b0.as = ln, b0.asMilliseconds = lO, b0.asSeconds = un, b0.asMinutes = Rn, b0.asHours = hn, b0.asDays = Ln, b0.asWeeks = mn, b0.asMonths = Nn, b0.asQuarters = Bn, b0.asYears = Xn, b0.valueOf = gn, b0._bubble = fn, b0.clone = yn, b0.get = Tn, b0.milliseconds = _n, b0.seconds = vn, b0.minutes = Sn, b0.hours = wn, b0.days = Dn, b0.weeks = Cn, b0.months = kn, b0.years = En, b0.humanize = Fn, b0.toISOString = Rb, b0.toString = Rb, b0.toJSON = Rb, b0.locale = oO, b0.localeData = eO, b0.toIsoString = S0(
|
|
@@ -11182,38 +11182,35 @@ const Ld = {
|
|
|
11182
11182
|
}, Nd = {
|
|
11183
11183
|
key: 1,
|
|
11184
11184
|
class: "row mb-1 mx-auto"
|
|
11185
|
-
}, Bd = {
|
|
11185
|
+
}, Bd = {
|
|
11186
11186
|
key: 0,
|
|
11187
|
-
class: "btn btn-sm btn-outline-secondary bg-transparent text-secondary border-secondary d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1"
|
|
11188
|
-
},
|
|
11189
|
-
key: 0,
|
|
11190
|
-
class: "col d-flex justify-content-end p-0"
|
|
11191
|
-
}, Td = { class: "d-flex align-items-center" }, _d = {
|
|
11187
|
+
class: "btn btn-sm btn-outline-secondary align-self-center bg-transparent text-secondary border-secondary d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1"
|
|
11188
|
+
}, Xd = { class: "d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1 mx-2 user-select-none" }, gd = { class: "d-flex align-items-center text-nowrap" }, yd = {
|
|
11192
11189
|
key: 0,
|
|
11193
11190
|
class: "d-flex"
|
|
11194
|
-
},
|
|
11191
|
+
}, Td = { class: "row mx-auto mb-3 rounded-0" }, _d = {
|
|
11195
11192
|
class: "col-12 p-0 overflow-x-auto",
|
|
11196
11193
|
style: { "border-radius": "10px !important" }
|
|
11197
|
-
},
|
|
11194
|
+
}, vd = ["id"], Sd = ["id", "onDragstart", "onDragend"], wd = {
|
|
11198
11195
|
key: 0,
|
|
11199
11196
|
class: "mx-auto my-auto mb-2 mt-2"
|
|
11200
|
-
},
|
|
11197
|
+
}, Dd = { class: "d-inline-flex text-nowrap" }, kd = {
|
|
11201
11198
|
key: 0,
|
|
11202
11199
|
class: "ms-2 float-end"
|
|
11203
|
-
},
|
|
11200
|
+
}, Ed = {
|
|
11204
11201
|
key: 1,
|
|
11205
11202
|
class: "ms-2"
|
|
11206
|
-
},
|
|
11203
|
+
}, Cd = { key: 1 }, Pd = ["id"], xd = ["id"], Id = { class: "d-inline-flex text-nowrap" }, Yd = {
|
|
11207
11204
|
key: 0,
|
|
11208
11205
|
class: "ms-2 float-end hoverable"
|
|
11209
|
-
},
|
|
11206
|
+
}, Fd = {
|
|
11210
11207
|
key: 1,
|
|
11211
11208
|
class: "ms-2 hoverable"
|
|
11212
|
-
},
|
|
11209
|
+
}, Ud = { key: 0 }, Hd = ["colspan"], jd = ["onClick"], Gd = ["data-column-id", "onClick"], Vd = ["id", "value"], Kd = ["data-column-id"], Qd = { class: "row ms-auto mb-2" }, Jd = {
|
|
11213
11210
|
key: 0,
|
|
11214
11211
|
class: "col p-0"
|
|
11215
|
-
},
|
|
11216
|
-
function
|
|
11212
|
+
}, Zd = { class: "m-0 pagination pagination-sm" }, $d = { class: "page-item hoverable" }, MW = { class: "page-item hoverable" }, bW = ["onClick"], zW = { class: "page-item hoverable" }, pW = { class: "page-item hoverable" };
|
|
11213
|
+
function OW(M, b, z, p, o, e) {
|
|
11217
11214
|
var q;
|
|
11218
11215
|
const n = sp("font-awesome-icon"), r = sp("vue-draggable-next");
|
|
11219
11216
|
return V(), $(X1, null, [
|
|
@@ -11231,34 +11228,39 @@ function cW(M, b, z, p, o, e) {
|
|
|
11231
11228
|
])
|
|
11232
11229
|
])) : t1("", !0),
|
|
11233
11230
|
z.showLineNumber || z.showModifyColumnsBtn || z.deepSorts ? (V(), $("div", Nd, [
|
|
11234
|
-
e0("div",
|
|
11235
|
-
|
|
11231
|
+
e0("div", {
|
|
11232
|
+
class: F0([
|
|
11233
|
+
"d-flex justify-content-start p-0",
|
|
11234
|
+
z.deepSorts && o.deepSortsList.length > 0 && z.showModifyColumnsBtn ? "col-12 col-sm-9 col-lg-10 col-xl-11" : "col"
|
|
11235
|
+
])
|
|
11236
|
+
}, [
|
|
11237
|
+
z.showLineNumber ? (V(), $("div", Bd, [
|
|
11236
11238
|
e0("b", null, Fz(e.showItemsLinesNumber), 1),
|
|
11237
11239
|
b[18] || (b[18] = e0("span", { class: "ms-1" }, "lignes", -1))
|
|
11238
11240
|
])) : t1("", !0),
|
|
11239
11241
|
z.deepSorts && o.deepSortsList.length > 0 ? (V(), $("div", {
|
|
11240
11242
|
key: 1,
|
|
11241
|
-
class:
|
|
11243
|
+
class: F0(["d-flex align-items-center flex-wrap", { "ms-4": z.showLineNumber }])
|
|
11242
11244
|
}, [
|
|
11243
|
-
b[19] || (b[19] = e0("span", { class: "me-1 text-secondary h-auto fs-7" }, "Tri
|
|
11245
|
+
b[19] || (b[19] = e0("span", { class: "me-1 text-secondary h-auto fs-7 mb-1 mb-lg-0" }, "Tri :", -1)),
|
|
11244
11246
|
q2(r, {
|
|
11245
11247
|
modelValue: o.deepSortsList,
|
|
11246
11248
|
"onUpdate:modelValue": b[1] || (b[1] = (i) => o.deepSortsList = i),
|
|
11247
11249
|
tag: "div",
|
|
11248
11250
|
group: "deepSorts",
|
|
11249
|
-
class: "d-flex",
|
|
11251
|
+
class: "d-flex flex-wrap",
|
|
11250
11252
|
"ghost-class": "deep-filter-ghost-class"
|
|
11251
11253
|
}, {
|
|
11252
11254
|
default: uO(() => [
|
|
11253
11255
|
(V(!0), $(X1, null, V2(o.deepSortsList, (i, W) => (V(), $("div", {
|
|
11254
11256
|
key: i.id,
|
|
11255
|
-
class: "d-flex align-items-center border border-secondary text-secondary rounded-1 fs-7 px-2 py-0 me-2"
|
|
11257
|
+
class: "d-flex align-items-center border border-secondary text-secondary rounded-1 fs-7 px-2 py-0 me-2 mb-1 mb-lg-0"
|
|
11256
11258
|
}, [
|
|
11257
11259
|
q2(n, {
|
|
11258
11260
|
icon: "fa-solid fa-xmark",
|
|
11259
11261
|
onClick: (f) => o.deepSortsList.splice(W, 1)
|
|
11260
11262
|
}, null, 8, ["onClick"]),
|
|
11261
|
-
e0("div",
|
|
11263
|
+
e0("div", Xd, [
|
|
11262
11264
|
e0("span", null, Fz(i.libelle), 1)
|
|
11263
11265
|
]),
|
|
11264
11266
|
q2(n, {
|
|
@@ -11270,10 +11272,16 @@ function cW(M, b, z, p, o, e) {
|
|
|
11270
11272
|
_: 1
|
|
11271
11273
|
}, 8, ["modelValue"])
|
|
11272
11274
|
], 2)) : t1("", !0)
|
|
11273
|
-
]),
|
|
11274
|
-
z.showModifyColumnsBtn ? (V(), $("div",
|
|
11275
|
-
|
|
11276
|
-
|
|
11275
|
+
], 2),
|
|
11276
|
+
z.showModifyColumnsBtn ? (V(), $("div", {
|
|
11277
|
+
key: 0,
|
|
11278
|
+
class: F0([
|
|
11279
|
+
"d-flex justify-content-end p-0",
|
|
11280
|
+
z.deepSorts && o.deepSortsList.length > 0 ? "col-12 col-sm-3 col-lg-2 col-xl-1 mt-1 mt-sm-0" : "col"
|
|
11281
|
+
])
|
|
11282
|
+
}, [
|
|
11283
|
+
e0("div", gd, [
|
|
11284
|
+
o.headerEditMode ? (V(), $("div", yd, [
|
|
11277
11285
|
e0("button", {
|
|
11278
11286
|
id: "btn-save-table",
|
|
11279
11287
|
class: "btn btn-sm btn-success d-flex justify-content-center align-items-center ms-auto me-2 px-2 py-0 rounded-3",
|
|
@@ -11294,15 +11302,15 @@ function cW(M, b, z, p, o, e) {
|
|
|
11294
11302
|
onClick: b[4] || (b[4] = (...i) => e.editTablePreferences && e.editTablePreferences(...i))
|
|
11295
11303
|
}, " Modifier colonnes "))
|
|
11296
11304
|
])
|
|
11297
|
-
])) : t1("", !0)
|
|
11305
|
+
], 2)) : t1("", !0)
|
|
11298
11306
|
])) : t1("", !0),
|
|
11299
|
-
e0("div",
|
|
11300
|
-
e0("div",
|
|
11307
|
+
e0("div", Td, [
|
|
11308
|
+
e0("div", _d, [
|
|
11301
11309
|
(V(), $("table", {
|
|
11302
11310
|
id: "table-draggable",
|
|
11303
11311
|
ref: "table",
|
|
11304
11312
|
key: o.forceTableUpdateIndex,
|
|
11305
|
-
class:
|
|
11313
|
+
class: F0(["table table-striped table-hover table-responsive align-middle border-1 border-top border-bottom position-relative mb-2", [z.border ? "table-bordered" : "table-borderless", z.tableSm ? "table-sm" : ""]]),
|
|
11306
11314
|
style: Hn([{ "border-collapse": "separate", "border-spacing": "0" }, {
|
|
11307
11315
|
borderLeft: z.border ? "" : "1px solid #ddd",
|
|
11308
11316
|
borderRight: z.border ? "" : "1px solid #ddd"
|
|
@@ -11326,7 +11334,7 @@ function cW(M, b, z, p, o, e) {
|
|
|
11326
11334
|
i.id === "checkBox" ? (V(), $("th", {
|
|
11327
11335
|
key: 0,
|
|
11328
11336
|
id: i.id + "-th-" + W,
|
|
11329
|
-
class:
|
|
11337
|
+
class: F0(["text-center", [
|
|
11330
11338
|
z.headerBgColor,
|
|
11331
11339
|
i.stickyLeft ? "sticky-column-left" : "",
|
|
11332
11340
|
i.stickyRight ? "sticky-column-right" : ""
|
|
@@ -11343,11 +11351,11 @@ function cW(M, b, z, p, o, e) {
|
|
|
11343
11351
|
}, null, 512), [
|
|
11344
11352
|
[jz, o.checkAllCheckBox]
|
|
11345
11353
|
])
|
|
11346
|
-
], 10,
|
|
11354
|
+
], 10, vd)) : (i.show || o.headerEditMode) && (!i.onlyOnEditMode || z.lineEditMode) ? (V(), $("th", {
|
|
11347
11355
|
key: 1,
|
|
11348
11356
|
id: i.id + "-th-" + W,
|
|
11349
11357
|
scope: "col",
|
|
11350
|
-
class:
|
|
11358
|
+
class: F0(["hoverable text-center", [
|
|
11351
11359
|
i.isDragging ? "" : z.headerBgColor,
|
|
11352
11360
|
i.stickyLeft ? "sticky-column-left" : "",
|
|
11353
11361
|
i.stickyRight ? "sticky-column-right" : "",
|
|
@@ -11359,7 +11367,7 @@ function cW(M, b, z, p, o, e) {
|
|
|
11359
11367
|
onDragstart: (f) => i.isDragging = !0,
|
|
11360
11368
|
onDragend: (f) => i.isDragging = !1
|
|
11361
11369
|
}, [
|
|
11362
|
-
o.headerEditMode && !i.keepShow ? (V(), $("div",
|
|
11370
|
+
o.headerEditMode && !i.keepShow ? (V(), $("div", wd, [
|
|
11363
11371
|
i.show ? (V(), Uz(n, {
|
|
11364
11372
|
key: 0,
|
|
11365
11373
|
icon: "fa-solid fa-eye",
|
|
@@ -11372,32 +11380,32 @@ function cW(M, b, z, p, o, e) {
|
|
|
11372
11380
|
onClick: (f) => i.show = !0
|
|
11373
11381
|
}, null, 8, ["onClick"]))
|
|
11374
11382
|
])) : t1("", !0),
|
|
11375
|
-
e0("div",
|
|
11383
|
+
e0("div", Dd, [
|
|
11376
11384
|
Gz(M.$slots, "tableHeaderTh", { headers: i }, void 0, !0),
|
|
11377
|
-
i.isSortable && !z.deepSorts ? (V(), $("div",
|
|
11385
|
+
i.isSortable && !z.deepSorts ? (V(), $("div", kd, [
|
|
11378
11386
|
q2(n, {
|
|
11379
11387
|
icon: o.sortKey !== i.id || o.sortKey === i.id && !o.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-up-short-wide",
|
|
11380
11388
|
onClick: (f) => e.updateCurrentSort(i)
|
|
11381
11389
|
}, null, 8, ["icon", "onClick"])
|
|
11382
|
-
])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div",
|
|
11390
|
+
])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div", Ed, [
|
|
11383
11391
|
q2(n, {
|
|
11384
11392
|
icon: "fa-solid fa-filter",
|
|
11385
11393
|
onClick: (f) => e.addDeepSort(i)
|
|
11386
11394
|
}, null, 8, ["onClick"])
|
|
11387
11395
|
])) : t1("", !0)
|
|
11388
11396
|
])
|
|
11389
|
-
], 42,
|
|
11397
|
+
], 42, Sd)) : t1("", !0)
|
|
11390
11398
|
], 64))), 128))
|
|
11391
11399
|
]),
|
|
11392
11400
|
_: 3
|
|
11393
|
-
}, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (V(), $("tr",
|
|
11401
|
+
}, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (V(), $("tr", Cd, [
|
|
11394
11402
|
(V(!0), $(X1, null, V2(o.columns, (i, W) => (V(), $(X1, {
|
|
11395
11403
|
key: i.id
|
|
11396
11404
|
}, [
|
|
11397
11405
|
i.id === "checkBox" ? (V(), $("th", {
|
|
11398
11406
|
key: 0,
|
|
11399
11407
|
id: i.id + "-th-" + W,
|
|
11400
|
-
class:
|
|
11408
|
+
class: F0(["text-center", [
|
|
11401
11409
|
z.headerBgColor,
|
|
11402
11410
|
i.stickyLeft ? "sticky-column-left" : "",
|
|
11403
11411
|
i.stickyRight ? "sticky-column-right" : ""
|
|
@@ -11414,46 +11422,46 @@ function cW(M, b, z, p, o, e) {
|
|
|
11414
11422
|
}, null, 512), [
|
|
11415
11423
|
[jz, o.checkAllCheckBox]
|
|
11416
11424
|
])
|
|
11417
|
-
], 10,
|
|
11425
|
+
], 10, Pd)) : i.show && (!i.onlyOnEditMode || z.lineEditMode) ? (V(), $("th", {
|
|
11418
11426
|
key: 1,
|
|
11419
11427
|
id: i.id + "-th-" + W,
|
|
11420
11428
|
scope: "col",
|
|
11421
|
-
class:
|
|
11429
|
+
class: F0(["text-center", [
|
|
11422
11430
|
i.isDragging ? "" : z.headerBgColor,
|
|
11423
11431
|
i.stickyLeft ? "sticky-column-left" : "",
|
|
11424
11432
|
i.stickyRight ? "sticky-column-right" : "",
|
|
11425
11433
|
z.headerTextColor
|
|
11426
11434
|
]])
|
|
11427
11435
|
}, [
|
|
11428
|
-
e0("div",
|
|
11436
|
+
e0("div", Id, [
|
|
11429
11437
|
Gz(M.$slots, "tableHeaderTh", { headers: i }, void 0, !0),
|
|
11430
|
-
i.isSortable && !z.deepSorts ? (V(), $("div",
|
|
11438
|
+
i.isSortable && !z.deepSorts ? (V(), $("div", Yd, [
|
|
11431
11439
|
q2(n, {
|
|
11432
11440
|
icon: o.sortKey !== i.id || o.sortKey === i.id && !o.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-up-short-wide",
|
|
11433
11441
|
onClick: (f) => e.updateCurrentSort(i)
|
|
11434
11442
|
}, null, 8, ["icon", "onClick"])
|
|
11435
|
-
])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div",
|
|
11443
|
+
])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div", Fd, [
|
|
11436
11444
|
q2(n, {
|
|
11437
11445
|
icon: "fa-solid fa-filter",
|
|
11438
11446
|
onClick: (f) => e.addDeepSort(i)
|
|
11439
11447
|
}, null, 8, ["onClick"])
|
|
11440
11448
|
])) : t1("", !0)
|
|
11441
11449
|
])
|
|
11442
|
-
], 10,
|
|
11450
|
+
], 10, xd)) : t1("", !0)
|
|
11443
11451
|
], 64))), 128))
|
|
11444
11452
|
]))
|
|
11445
11453
|
]),
|
|
11446
11454
|
e0("tbody", null, [
|
|
11447
|
-
((q = e.showeditems) == null ? void 0 : q.length) === 0 ? (V(), $("tr",
|
|
11455
|
+
((q = e.showeditems) == null ? void 0 : q.length) === 0 ? (V(), $("tr", Ud, [
|
|
11448
11456
|
e0("th", {
|
|
11449
11457
|
colspan: o.columns.length,
|
|
11450
11458
|
class: "text-center"
|
|
11451
11459
|
}, b[20] || (b[20] = [
|
|
11452
11460
|
e0("span", { class: "text-danger fs-5" }, "Aucune valeur", -1)
|
|
11453
|
-
]), 8,
|
|
11461
|
+
]), 8, Hd)
|
|
11454
11462
|
])) : (V(!0), $(X1, { key: 1 }, V2(e.showeditems, (i, W) => (V(), $("tr", {
|
|
11455
11463
|
key: i.id,
|
|
11456
|
-
class:
|
|
11464
|
+
class: F0({ hoverable: z.clickable }),
|
|
11457
11465
|
onClick: (f) => z.clickable ? e.selectSubject(i) : null
|
|
11458
11466
|
}, [
|
|
11459
11467
|
(V(!0), $(X1, null, V2(o.columns, (f) => (V(), $(X1, {
|
|
@@ -11462,7 +11470,7 @@ function cW(M, b, z, p, o, e) {
|
|
|
11462
11470
|
f.id === "checkBox" ? (V(), $("td", {
|
|
11463
11471
|
key: 0,
|
|
11464
11472
|
"data-column-id": f.id,
|
|
11465
|
-
class:
|
|
11473
|
+
class: F0(["text-center", [
|
|
11466
11474
|
i.lineState ? e.lineStateClass(i.lineState) : "",
|
|
11467
11475
|
f.stickyLeft ? "sticky-column-left" : "",
|
|
11468
11476
|
f.stickyRight ? "sticky-column-right" : ""
|
|
@@ -11477,13 +11485,13 @@ function cW(M, b, z, p, o, e) {
|
|
|
11477
11485
|
value: i.id,
|
|
11478
11486
|
onClick: b[13] || (b[13] = K2(() => {
|
|
11479
11487
|
}, ["stop"]))
|
|
11480
|
-
}, null, 8,
|
|
11488
|
+
}, null, 8, Vd), [
|
|
11481
11489
|
[jz, o.selectedItems]
|
|
11482
11490
|
])
|
|
11483
|
-
], 10,
|
|
11491
|
+
], 10, Gd)) : (f.show || o.headerEditMode) && (!f.onlyOnEditMode || z.lineEditMode) ? (V(), $("td", {
|
|
11484
11492
|
key: 1,
|
|
11485
11493
|
"data-column-id": f.id,
|
|
11486
|
-
class:
|
|
11494
|
+
class: F0([[
|
|
11487
11495
|
f.show ? "" : "table-danger",
|
|
11488
11496
|
f.isSorted ? "bg-gray-200" : "",
|
|
11489
11497
|
i.lineState ? e.lineStateClass(i.lineState) : "",
|
|
@@ -11495,46 +11503,46 @@ function cW(M, b, z, p, o, e) {
|
|
|
11495
11503
|
headers: f,
|
|
11496
11504
|
items: i
|
|
11497
11505
|
}, void 0, !0)
|
|
11498
|
-
], 10,
|
|
11506
|
+
], 10, Kd)) : t1("", !0)
|
|
11499
11507
|
], 64))), 128))
|
|
11500
|
-
], 10,
|
|
11508
|
+
], 10, jd))), 128))
|
|
11501
11509
|
])
|
|
11502
11510
|
], 6))
|
|
11503
11511
|
])
|
|
11504
11512
|
]),
|
|
11505
|
-
e0("div",
|
|
11506
|
-
o.totalPages && o.totalPages > 1 ? (V(), $("div",
|
|
11507
|
-
e0("ul",
|
|
11508
|
-
e0("li",
|
|
11513
|
+
e0("div", Qd, [
|
|
11514
|
+
o.totalPages && o.totalPages > 1 ? (V(), $("div", Jd, [
|
|
11515
|
+
e0("ul", Zd, [
|
|
11516
|
+
e0("li", $d, [
|
|
11509
11517
|
e0("a", {
|
|
11510
|
-
class:
|
|
11518
|
+
class: F0(["page-link", { disabled: o.currentPage === 1 }]),
|
|
11511
11519
|
onClick: b[14] || (b[14] = (i) => o.currentPage = 1)
|
|
11512
11520
|
}, " « ", 2)
|
|
11513
11521
|
]),
|
|
11514
|
-
e0("li",
|
|
11522
|
+
e0("li", MW, [
|
|
11515
11523
|
e0("a", {
|
|
11516
|
-
class:
|
|
11524
|
+
class: F0(["page-link", { disabled: o.currentPage === 1 }]),
|
|
11517
11525
|
onClick: b[15] || (b[15] = (i) => o.currentPage -= 1)
|
|
11518
11526
|
}, " < ", 2)
|
|
11519
11527
|
]),
|
|
11520
11528
|
(V(!0), $(X1, null, V2(e.currentDisplayPagination, (i) => (V(), $("li", {
|
|
11521
11529
|
key: i,
|
|
11522
|
-
class:
|
|
11530
|
+
class: F0(["page-item hoverable", { active: o.currentPage === i }])
|
|
11523
11531
|
}, [
|
|
11524
11532
|
e0("a", {
|
|
11525
11533
|
class: "page-link",
|
|
11526
11534
|
onClick: (W) => o.currentPage = i
|
|
11527
|
-
}, Fz(i), 9,
|
|
11535
|
+
}, Fz(i), 9, bW)
|
|
11528
11536
|
], 2))), 128)),
|
|
11529
|
-
e0("li",
|
|
11537
|
+
e0("li", zW, [
|
|
11530
11538
|
e0("a", {
|
|
11531
|
-
class:
|
|
11539
|
+
class: F0(["page-link", { disabled: o.currentPage === o.totalPages }]),
|
|
11532
11540
|
onClick: b[16] || (b[16] = (i) => o.currentPage += 1)
|
|
11533
11541
|
}, " > ", 2)
|
|
11534
11542
|
]),
|
|
11535
|
-
e0("li",
|
|
11543
|
+
e0("li", pW, [
|
|
11536
11544
|
e0("a", {
|
|
11537
|
-
class:
|
|
11545
|
+
class: F0(["page-link", { disabled: o.currentPage === o.totalPages }]),
|
|
11538
11546
|
onClick: b[17] || (b[17] = (i) => o.currentPage = o.totalPages)
|
|
11539
11547
|
}, " » ", 2)
|
|
11540
11548
|
])
|
|
@@ -11543,8 +11551,8 @@ function cW(M, b, z, p, o, e) {
|
|
|
11543
11551
|
])
|
|
11544
11552
|
], 64);
|
|
11545
11553
|
}
|
|
11546
|
-
const
|
|
11554
|
+
const cW = /* @__PURE__ */ hd(Ld, [["render", OW], ["__scopeId", "data-v-e78cf32d"]]);
|
|
11547
11555
|
export {
|
|
11548
|
-
|
|
11549
|
-
|
|
11556
|
+
cW as AmsomTableDraggable,
|
|
11557
|
+
cW as default
|
|
11550
11558
|
};
|