@amsom-habitat/amsom-table 2.2.1 → 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.
@@ -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, toDisplayString as Fz, normalizeClass as K0, 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";
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"], H0 = "classic", zz = "duotone", Zn = "sharp", $n = "sharp-duotone", Lo = [H0, zz, Zn, $n], Ma = {
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[H0];
361
+ return z in b ? b[z] : b[j0];
362
362
  }
363
363
  });
364
364
  }
365
365
  const go = h({}, Ro);
366
- go[H0] = h(h(h(h({}, {
366
+ go[j0] = h(h(h(h({}, {
367
367
  "fa-duotone": "duotone"
368
- }), Ro[H0]), NO.kit), NO["kit-duotone"]);
368
+ }), Ro[j0]), NO.kit), NO["kit-duotone"]);
369
369
  const ha = VM(go), up = h({}, pa);
370
- up[H0] = h(h(h(h({}, {
370
+ up[j0] = h(h(h(h({}, {
371
371
  duotone: "fad"
372
- }), up[H0]), BO.kit), BO["kit-duotone"]);
372
+ }), up[j0]), BO.kit), BO["kit-duotone"]);
373
373
  const gO = VM(up), Rp = h({}, dp);
374
- Rp[H0] = h(h({}, Rp[H0]), Aa.kit);
374
+ Rp[j0] = h(h({}, Rp[j0]), Aa.kit);
375
375
  const Qp = VM(Rp), hp = h({}, ra);
376
- hp[H0] = h(h({}, hp[H0]), ca.kit);
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: H0,
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 = H0;
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 = H0
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 !== H0 || M !== zz), Ja = Object.keys(dp).filter((M) => M !== H0).map((M) => Object.keys(dp[M])).flat();
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[H0][e];
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
- V0({
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 V0(M) {
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, F0, 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() {
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
- V0({
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 V0({
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), V0({
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(), V0({
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 && F0 && Mo(F0), 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);
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 (F0 = b; x(F0, "position") === "static" && x(F0, "transform") === "none" && F0 !== document; )
3939
- F0 = F0.parentNode;
3940
- F0 !== document.body && F0 !== document.documentElement ? (F0 === document && (F0 = v1()), z.top += F0.scrollTop, z.left += F0.scrollLeft) : F0 = v1(), pp = Mo(F0);
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(), V0({
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), V0({
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 j0 = n1(B);
4027
+ var G0 = n1(B);
4028
4028
  do
4029
- j0 -= N0, B0 = g0.children[j0];
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), V0({
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 && (V0({
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
- }), V0({
4075
+ }), K0({
4076
4076
  sortable: this,
4077
4077
  name: "remove",
4078
4078
  toEl: g0,
4079
4079
  originalEvent: b
4080
- }), V0({
4080
+ }), K0({
4081
4081
  rootEl: g0,
4082
4082
  name: "sort",
4083
4083
  toEl: g0,
4084
4084
  fromEl: R0,
4085
4085
  originalEvent: b
4086
- }), V0({
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 && (V0({
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
- }), V0({
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), V0({
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 j0 = 0; j0 <= f; j0++)
4374
- w0[j0] || (w0[j0] = {});
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 U0 = 0, Q1 = 1, y1 = 2, E0 = 3, l1 = 4, J1 = 5, w2 = 6, vi = 7, Si = 8;
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"], U0);
5175
+ i0(["YYYYY", "YYYYYY"], H0);
5176
5176
  i0("YYYY", function(M, b) {
5177
- b[U0] = M.length === 2 ? y.parseTwoDigitYear(M) : Q(M);
5177
+ b[H0] = M.length === 2 ? y.parseTwoDigitYear(M) : Q(M);
5178
5178
  });
5179
5179
  i0("YY", function(M, b) {
5180
- b[U0] = y.parseTwoDigitYear(M);
5180
+ b[H0] = y.parseTwoDigitYear(M);
5181
5181
  });
5182
5182
  i0("Y", function(M, b) {
5183
- b[U0] = parseInt(M, 10);
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[U0], 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 < U0 || b > y1) && (b = y1), G(M)._overflowWeeks && b === -1 && (b = vi), G(M)._overflowWeekday && b === -1 && (b = Si), G(M).overflow = b), M;
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[U0], o[U0]), (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)
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[U0],
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[U0], 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[U0] = r.year, M._dayOfYear = r.dayOfYear);
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[U0] = M._locale.erasConvertYear(i, M._a[U0])), m3(M), L3(M);
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"], U0);
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[U0] = z._locale.eraYearOrdinalParse(M, o) : b[U0] = parseInt(M, 10);
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[j0(d)];
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 j0(d) {
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 = j0(R), p[Y] = d[u], n[Y] = R, S0(Y, X[2].split(" "));
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 = j0(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 = j0(R[0]), Y = j0(R[1]), o[X] = Y, n[X] = R[0], o[Y] = X, n[Y] = R[1];
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 j0(O) {
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(G0, G1) {
9236
- return G1.length - G0.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, G0 = _z.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 = G0; c < A; c++)
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, G0;
9609
- for (a = dM(O._f, O._locale).match(t2) || [], G0 = a.length, A = 0; A < G0; A++)
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, G0 = c.millisecond || 0;
9728
- this._isValid = wA(c), this._milliseconds = +G0 + Z * 1e3 + // 1000
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 = j0, 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;
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")), G0 = 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 || G0 <= 1 && ["w"] || G0 < A.w && ["ww", G0]), 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);
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, G0, 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) ? "-" : "", G0 = G2(this._days) !== G2(v) ? "-" : "", G1 = G2(this._milliseconds) !== G2(v) ? "-" : "", F + "P" + (s ? Z + s + "Y" : "") + (A ? Z + A + "M" : "") + (c ? G0 + c + "D" : "") + (a || t || O ? "T" : "") + (a ? G1 + a + "H" : "") + (t ? G1 + t + "M" : "") + (O ? G1 + l + "S" : "")) : "P0D";
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(
@@ -11067,6 +11067,9 @@ const Ld = {
11067
11067
  },
11068
11068
  showeditems: function() {
11069
11069
  this.checkAllCheckBox = this.showeditems.every((M) => this.selectedItems.includes(M.id)), this.totalPages = this.newTotalPage(this.filtereditems.length);
11070
+ },
11071
+ deepSortsListPreset: function(M) {
11072
+ M && M.length > 0 && (this.deepSortsList = M);
11070
11073
  }
11071
11074
  },
11072
11075
  mounted() {
@@ -11179,38 +11182,35 @@ const Ld = {
11179
11182
  }, Nd = {
11180
11183
  key: 1,
11181
11184
  class: "row mb-1 mx-auto"
11182
- }, Bd = { class: "col d-flex justify-content-start p-0" }, Xd = {
11183
- key: 0,
11184
- 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"
11185
- }, gd = { class: "d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1 mx-2 user-select-none" }, yd = {
11185
+ }, Bd = {
11186
11186
  key: 0,
11187
- class: "col d-flex justify-content-end p-0"
11188
- }, 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 = {
11189
11189
  key: 0,
11190
11190
  class: "d-flex"
11191
- }, vd = { class: "row mx-auto mb-3 rounded-0" }, Sd = {
11191
+ }, Td = { class: "row mx-auto mb-3 rounded-0" }, _d = {
11192
11192
  class: "col-12 p-0 overflow-x-auto",
11193
11193
  style: { "border-radius": "10px !important" }
11194
- }, wd = ["id"], Dd = ["id", "onDragstart", "onDragend"], kd = {
11194
+ }, vd = ["id"], Sd = ["id", "onDragstart", "onDragend"], wd = {
11195
11195
  key: 0,
11196
11196
  class: "mx-auto my-auto mb-2 mt-2"
11197
- }, Ed = { class: "d-inline-flex text-nowrap" }, Cd = {
11197
+ }, Dd = { class: "d-inline-flex text-nowrap" }, kd = {
11198
11198
  key: 0,
11199
11199
  class: "ms-2 float-end"
11200
- }, Pd = {
11200
+ }, Ed = {
11201
11201
  key: 1,
11202
11202
  class: "ms-2"
11203
- }, xd = { key: 1 }, Id = ["id"], Yd = ["id"], Fd = { class: "d-inline-flex text-nowrap" }, Ud = {
11203
+ }, Cd = { key: 1 }, Pd = ["id"], xd = ["id"], Id = { class: "d-inline-flex text-nowrap" }, Yd = {
11204
11204
  key: 0,
11205
11205
  class: "ms-2 float-end hoverable"
11206
- }, Hd = {
11206
+ }, Fd = {
11207
11207
  key: 1,
11208
11208
  class: "ms-2 hoverable"
11209
- }, jd = { key: 0 }, Gd = ["colspan"], Vd = ["onClick"], Kd = ["data-column-id", "onClick"], Qd = ["id", "value"], Jd = ["data-column-id"], Zd = { class: "row ms-auto mb-2" }, $d = {
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 = {
11210
11210
  key: 0,
11211
11211
  class: "col p-0"
11212
- }, MW = { class: "m-0 pagination pagination-sm" }, bW = { class: "page-item hoverable" }, zW = { class: "page-item hoverable" }, pW = ["onClick"], OW = { class: "page-item hoverable" }, oW = { class: "page-item hoverable" };
11213
- function cW(M, b, z, p, o, e) {
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) {
11214
11214
  var q;
11215
11215
  const n = sp("font-awesome-icon"), r = sp("vue-draggable-next");
11216
11216
  return V(), $(X1, null, [
@@ -11228,34 +11228,39 @@ function cW(M, b, z, p, o, e) {
11228
11228
  ])
11229
11229
  ])) : t1("", !0),
11230
11230
  z.showLineNumber || z.showModifyColumnsBtn || z.deepSorts ? (V(), $("div", Nd, [
11231
- e0("div", Bd, [
11232
- z.showLineNumber ? (V(), $("div", Xd, [
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, [
11233
11238
  e0("b", null, Fz(e.showItemsLinesNumber), 1),
11234
11239
  b[18] || (b[18] = e0("span", { class: "ms-1" }, "lignes", -1))
11235
11240
  ])) : t1("", !0),
11236
11241
  z.deepSorts && o.deepSortsList.length > 0 ? (V(), $("div", {
11237
11242
  key: 1,
11238
- class: K0(["d-flex align-items-center", { "ms-4": z.showLineNumber }])
11243
+ class: F0(["d-flex align-items-center flex-wrap", { "ms-4": z.showLineNumber }])
11239
11244
  }, [
11240
- b[19] || (b[19] = e0("span", { class: "me-1 text-secondary h-auto fs-7" }, "Tri actif :", -1)),
11245
+ b[19] || (b[19] = e0("span", { class: "me-1 text-secondary h-auto fs-7 mb-1 mb-lg-0" }, "Tri :", -1)),
11241
11246
  q2(r, {
11242
11247
  modelValue: o.deepSortsList,
11243
11248
  "onUpdate:modelValue": b[1] || (b[1] = (i) => o.deepSortsList = i),
11244
11249
  tag: "div",
11245
11250
  group: "deepSorts",
11246
- class: "d-flex",
11251
+ class: "d-flex flex-wrap",
11247
11252
  "ghost-class": "deep-filter-ghost-class"
11248
11253
  }, {
11249
11254
  default: uO(() => [
11250
11255
  (V(!0), $(X1, null, V2(o.deepSortsList, (i, W) => (V(), $("div", {
11251
11256
  key: i.id,
11252
- 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"
11253
11258
  }, [
11254
11259
  q2(n, {
11255
11260
  icon: "fa-solid fa-xmark",
11256
11261
  onClick: (f) => o.deepSortsList.splice(W, 1)
11257
11262
  }, null, 8, ["onClick"]),
11258
- e0("div", gd, [
11263
+ e0("div", Xd, [
11259
11264
  e0("span", null, Fz(i.libelle), 1)
11260
11265
  ]),
11261
11266
  q2(n, {
@@ -11267,10 +11272,16 @@ function cW(M, b, z, p, o, e) {
11267
11272
  _: 1
11268
11273
  }, 8, ["modelValue"])
11269
11274
  ], 2)) : t1("", !0)
11270
- ]),
11271
- z.showModifyColumnsBtn ? (V(), $("div", yd, [
11272
- e0("div", Td, [
11273
- o.headerEditMode ? (V(), $("div", _d, [
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, [
11274
11285
  e0("button", {
11275
11286
  id: "btn-save-table",
11276
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",
@@ -11291,15 +11302,15 @@ function cW(M, b, z, p, o, e) {
11291
11302
  onClick: b[4] || (b[4] = (...i) => e.editTablePreferences && e.editTablePreferences(...i))
11292
11303
  }, " Modifier colonnes "))
11293
11304
  ])
11294
- ])) : t1("", !0)
11305
+ ], 2)) : t1("", !0)
11295
11306
  ])) : t1("", !0),
11296
- e0("div", vd, [
11297
- e0("div", Sd, [
11307
+ e0("div", Td, [
11308
+ e0("div", _d, [
11298
11309
  (V(), $("table", {
11299
11310
  id: "table-draggable",
11300
11311
  ref: "table",
11301
11312
  key: o.forceTableUpdateIndex,
11302
- class: K0(["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" : ""]]),
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" : ""]]),
11303
11314
  style: Hn([{ "border-collapse": "separate", "border-spacing": "0" }, {
11304
11315
  borderLeft: z.border ? "" : "1px solid #ddd",
11305
11316
  borderRight: z.border ? "" : "1px solid #ddd"
@@ -11323,7 +11334,7 @@ function cW(M, b, z, p, o, e) {
11323
11334
  i.id === "checkBox" ? (V(), $("th", {
11324
11335
  key: 0,
11325
11336
  id: i.id + "-th-" + W,
11326
- class: K0(["text-center", [
11337
+ class: F0(["text-center", [
11327
11338
  z.headerBgColor,
11328
11339
  i.stickyLeft ? "sticky-column-left" : "",
11329
11340
  i.stickyRight ? "sticky-column-right" : ""
@@ -11340,11 +11351,11 @@ function cW(M, b, z, p, o, e) {
11340
11351
  }, null, 512), [
11341
11352
  [jz, o.checkAllCheckBox]
11342
11353
  ])
11343
- ], 10, wd)) : (i.show || o.headerEditMode) && (!i.onlyOnEditMode || z.lineEditMode) ? (V(), $("th", {
11354
+ ], 10, vd)) : (i.show || o.headerEditMode) && (!i.onlyOnEditMode || z.lineEditMode) ? (V(), $("th", {
11344
11355
  key: 1,
11345
11356
  id: i.id + "-th-" + W,
11346
11357
  scope: "col",
11347
- class: K0(["hoverable text-center", [
11358
+ class: F0(["hoverable text-center", [
11348
11359
  i.isDragging ? "" : z.headerBgColor,
11349
11360
  i.stickyLeft ? "sticky-column-left" : "",
11350
11361
  i.stickyRight ? "sticky-column-right" : "",
@@ -11356,7 +11367,7 @@ function cW(M, b, z, p, o, e) {
11356
11367
  onDragstart: (f) => i.isDragging = !0,
11357
11368
  onDragend: (f) => i.isDragging = !1
11358
11369
  }, [
11359
- o.headerEditMode && !i.keepShow ? (V(), $("div", kd, [
11370
+ o.headerEditMode && !i.keepShow ? (V(), $("div", wd, [
11360
11371
  i.show ? (V(), Uz(n, {
11361
11372
  key: 0,
11362
11373
  icon: "fa-solid fa-eye",
@@ -11369,32 +11380,32 @@ function cW(M, b, z, p, o, e) {
11369
11380
  onClick: (f) => i.show = !0
11370
11381
  }, null, 8, ["onClick"]))
11371
11382
  ])) : t1("", !0),
11372
- e0("div", Ed, [
11383
+ e0("div", Dd, [
11373
11384
  Gz(M.$slots, "tableHeaderTh", { headers: i }, void 0, !0),
11374
- i.isSortable && !z.deepSorts ? (V(), $("div", Cd, [
11385
+ i.isSortable && !z.deepSorts ? (V(), $("div", kd, [
11375
11386
  q2(n, {
11376
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",
11377
11388
  onClick: (f) => e.updateCurrentSort(i)
11378
11389
  }, null, 8, ["icon", "onClick"])
11379
- ])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div", Pd, [
11390
+ ])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div", Ed, [
11380
11391
  q2(n, {
11381
11392
  icon: "fa-solid fa-filter",
11382
11393
  onClick: (f) => e.addDeepSort(i)
11383
11394
  }, null, 8, ["onClick"])
11384
11395
  ])) : t1("", !0)
11385
11396
  ])
11386
- ], 42, Dd)) : t1("", !0)
11397
+ ], 42, Sd)) : t1("", !0)
11387
11398
  ], 64))), 128))
11388
11399
  ]),
11389
11400
  _: 3
11390
- }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (V(), $("tr", xd, [
11401
+ }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (V(), $("tr", Cd, [
11391
11402
  (V(!0), $(X1, null, V2(o.columns, (i, W) => (V(), $(X1, {
11392
11403
  key: i.id
11393
11404
  }, [
11394
11405
  i.id === "checkBox" ? (V(), $("th", {
11395
11406
  key: 0,
11396
11407
  id: i.id + "-th-" + W,
11397
- class: K0(["text-center", [
11408
+ class: F0(["text-center", [
11398
11409
  z.headerBgColor,
11399
11410
  i.stickyLeft ? "sticky-column-left" : "",
11400
11411
  i.stickyRight ? "sticky-column-right" : ""
@@ -11411,46 +11422,46 @@ function cW(M, b, z, p, o, e) {
11411
11422
  }, null, 512), [
11412
11423
  [jz, o.checkAllCheckBox]
11413
11424
  ])
11414
- ], 10, Id)) : i.show && (!i.onlyOnEditMode || z.lineEditMode) ? (V(), $("th", {
11425
+ ], 10, Pd)) : i.show && (!i.onlyOnEditMode || z.lineEditMode) ? (V(), $("th", {
11415
11426
  key: 1,
11416
11427
  id: i.id + "-th-" + W,
11417
11428
  scope: "col",
11418
- class: K0(["text-center", [
11429
+ class: F0(["text-center", [
11419
11430
  i.isDragging ? "" : z.headerBgColor,
11420
11431
  i.stickyLeft ? "sticky-column-left" : "",
11421
11432
  i.stickyRight ? "sticky-column-right" : "",
11422
11433
  z.headerTextColor
11423
11434
  ]])
11424
11435
  }, [
11425
- e0("div", Fd, [
11436
+ e0("div", Id, [
11426
11437
  Gz(M.$slots, "tableHeaderTh", { headers: i }, void 0, !0),
11427
- i.isSortable && !z.deepSorts ? (V(), $("div", Ud, [
11438
+ i.isSortable && !z.deepSorts ? (V(), $("div", Yd, [
11428
11439
  q2(n, {
11429
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",
11430
11441
  onClick: (f) => e.updateCurrentSort(i)
11431
11442
  }, null, 8, ["icon", "onClick"])
11432
- ])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div", Hd, [
11443
+ ])) : z.deepSorts && !o.deepSortsList.some((f) => f.id === i.id) && i.isSortable ? (V(), $("div", Fd, [
11433
11444
  q2(n, {
11434
11445
  icon: "fa-solid fa-filter",
11435
11446
  onClick: (f) => e.addDeepSort(i)
11436
11447
  }, null, 8, ["onClick"])
11437
11448
  ])) : t1("", !0)
11438
11449
  ])
11439
- ], 10, Yd)) : t1("", !0)
11450
+ ], 10, xd)) : t1("", !0)
11440
11451
  ], 64))), 128))
11441
11452
  ]))
11442
11453
  ]),
11443
11454
  e0("tbody", null, [
11444
- ((q = e.showeditems) == null ? void 0 : q.length) === 0 ? (V(), $("tr", jd, [
11455
+ ((q = e.showeditems) == null ? void 0 : q.length) === 0 ? (V(), $("tr", Ud, [
11445
11456
  e0("th", {
11446
11457
  colspan: o.columns.length,
11447
11458
  class: "text-center"
11448
11459
  }, b[20] || (b[20] = [
11449
11460
  e0("span", { class: "text-danger fs-5" }, "Aucune valeur", -1)
11450
- ]), 8, Gd)
11461
+ ]), 8, Hd)
11451
11462
  ])) : (V(!0), $(X1, { key: 1 }, V2(e.showeditems, (i, W) => (V(), $("tr", {
11452
11463
  key: i.id,
11453
- class: K0({ hoverable: z.clickable }),
11464
+ class: F0({ hoverable: z.clickable }),
11454
11465
  onClick: (f) => z.clickable ? e.selectSubject(i) : null
11455
11466
  }, [
11456
11467
  (V(!0), $(X1, null, V2(o.columns, (f) => (V(), $(X1, {
@@ -11459,7 +11470,7 @@ function cW(M, b, z, p, o, e) {
11459
11470
  f.id === "checkBox" ? (V(), $("td", {
11460
11471
  key: 0,
11461
11472
  "data-column-id": f.id,
11462
- class: K0(["text-center", [
11473
+ class: F0(["text-center", [
11463
11474
  i.lineState ? e.lineStateClass(i.lineState) : "",
11464
11475
  f.stickyLeft ? "sticky-column-left" : "",
11465
11476
  f.stickyRight ? "sticky-column-right" : ""
@@ -11474,13 +11485,13 @@ function cW(M, b, z, p, o, e) {
11474
11485
  value: i.id,
11475
11486
  onClick: b[13] || (b[13] = K2(() => {
11476
11487
  }, ["stop"]))
11477
- }, null, 8, Qd), [
11488
+ }, null, 8, Vd), [
11478
11489
  [jz, o.selectedItems]
11479
11490
  ])
11480
- ], 10, Kd)) : (f.show || o.headerEditMode) && (!f.onlyOnEditMode || z.lineEditMode) ? (V(), $("td", {
11491
+ ], 10, Gd)) : (f.show || o.headerEditMode) && (!f.onlyOnEditMode || z.lineEditMode) ? (V(), $("td", {
11481
11492
  key: 1,
11482
11493
  "data-column-id": f.id,
11483
- class: K0([[
11494
+ class: F0([[
11484
11495
  f.show ? "" : "table-danger",
11485
11496
  f.isSorted ? "bg-gray-200" : "",
11486
11497
  i.lineState ? e.lineStateClass(i.lineState) : "",
@@ -11492,46 +11503,46 @@ function cW(M, b, z, p, o, e) {
11492
11503
  headers: f,
11493
11504
  items: i
11494
11505
  }, void 0, !0)
11495
- ], 10, Jd)) : t1("", !0)
11506
+ ], 10, Kd)) : t1("", !0)
11496
11507
  ], 64))), 128))
11497
- ], 10, Vd))), 128))
11508
+ ], 10, jd))), 128))
11498
11509
  ])
11499
11510
  ], 6))
11500
11511
  ])
11501
11512
  ]),
11502
- e0("div", Zd, [
11503
- o.totalPages && o.totalPages > 1 ? (V(), $("div", $d, [
11504
- e0("ul", MW, [
11505
- e0("li", bW, [
11513
+ e0("div", Qd, [
11514
+ o.totalPages && o.totalPages > 1 ? (V(), $("div", Jd, [
11515
+ e0("ul", Zd, [
11516
+ e0("li", $d, [
11506
11517
  e0("a", {
11507
- class: K0(["page-link", { disabled: o.currentPage === 1 }]),
11518
+ class: F0(["page-link", { disabled: o.currentPage === 1 }]),
11508
11519
  onClick: b[14] || (b[14] = (i) => o.currentPage = 1)
11509
11520
  }, " « ", 2)
11510
11521
  ]),
11511
- e0("li", zW, [
11522
+ e0("li", MW, [
11512
11523
  e0("a", {
11513
- class: K0(["page-link", { disabled: o.currentPage === 1 }]),
11524
+ class: F0(["page-link", { disabled: o.currentPage === 1 }]),
11514
11525
  onClick: b[15] || (b[15] = (i) => o.currentPage -= 1)
11515
11526
  }, " < ", 2)
11516
11527
  ]),
11517
11528
  (V(!0), $(X1, null, V2(e.currentDisplayPagination, (i) => (V(), $("li", {
11518
11529
  key: i,
11519
- class: K0(["page-item hoverable", { active: o.currentPage === i }])
11530
+ class: F0(["page-item hoverable", { active: o.currentPage === i }])
11520
11531
  }, [
11521
11532
  e0("a", {
11522
11533
  class: "page-link",
11523
11534
  onClick: (W) => o.currentPage = i
11524
- }, Fz(i), 9, pW)
11535
+ }, Fz(i), 9, bW)
11525
11536
  ], 2))), 128)),
11526
- e0("li", OW, [
11537
+ e0("li", zW, [
11527
11538
  e0("a", {
11528
- class: K0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11539
+ class: F0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11529
11540
  onClick: b[16] || (b[16] = (i) => o.currentPage += 1)
11530
11541
  }, " > ", 2)
11531
11542
  ]),
11532
- e0("li", oW, [
11543
+ e0("li", pW, [
11533
11544
  e0("a", {
11534
- class: K0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11545
+ class: F0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11535
11546
  onClick: b[17] || (b[17] = (i) => o.currentPage = o.totalPages)
11536
11547
  }, " » ", 2)
11537
11548
  ])
@@ -11540,8 +11551,8 @@ function cW(M, b, z, p, o, e) {
11540
11551
  ])
11541
11552
  ], 64);
11542
11553
  }
11543
- const AW = /* @__PURE__ */ hd(Ld, [["render", cW], ["__scopeId", "data-v-70c43cda"]]);
11554
+ const cW = /* @__PURE__ */ hd(Ld, [["render", OW], ["__scopeId", "data-v-e78cf32d"]]);
11544
11555
  export {
11545
- AW as AmsomTableDraggable,
11546
- AW as default
11556
+ cW as AmsomTableDraggable,
11557
+ cW as default
11547
11558
  };