@amsom-habitat/amsom-table 4.3.3 → 4.3.4

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 oz, computed as W1, watch as Jn, h as Ub, resolveComponent as Wp, createElementBlock as V, openBlock as H, Fragment as s1, createCommentVNode as F0, createElementVNode as p0, createVNode as q2, normalizeClass as D0, toDisplayString as yM, withCtx as hO, renderList as y2, withDirectives as Nb, vModelSelect as Zn, normalizeStyle as jz, createBlock as Gz, withModifiers as Q2, vModelCheckbox as Vz, renderSlot as Kz } from "vue";
1
+ import { defineComponent as oz, computed as W1, watch as Jn, h as Ub, resolveComponent as Wp, createElementBlock as V, openBlock as H, Fragment as s1, createCommentVNode as F0, createElementVNode as p0, createVNode as q2, normalizeClass as w0, toDisplayString as yM, withCtx as hO, renderList as y2, withDirectives as Nb, vModelSelect as Zn, normalizeStyle as jz, createBlock as Gz, withModifiers as Q2, vModelCheckbox as Vz, renderSlot as Kz } from "vue";
2
2
  /*!
3
3
  * Font Awesome Free 6.7.2 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)
@@ -3154,21 +3154,21 @@ const lr = {
3154
3154
  iconName: "trash",
3155
3155
  icon: [448, 512, [], "f1f8", "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]
3156
3156
  }, Lr = {
3157
+ prefix: "fas",
3158
+ iconName: "arrow-down-short-wide",
3159
+ icon: [576, 512, ["sort-amount-desc", "sort-amount-down-alt"], "f884", "M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
3160
+ }, mr = {
3157
3161
  prefix: "fas",
3158
3162
  iconName: "greater-than",
3159
3163
  icon: [384, 512, [62769], "3e", "M3.4 81.7c-7.9 15.8-1.5 35 14.3 42.9L280.5 256 17.7 387.4C1.9 395.3-4.5 414.5 3.4 430.3s27.1 22.2 42.9 14.3l320-160c10.8-5.4 17.7-16.5 17.7-28.6s-6.8-23.2-17.7-28.6l-320-160c-15.8-7.9-35-1.5-42.9 14.3z"]
3160
- }, mr = {
3164
+ }, Nr = {
3161
3165
  prefix: "fas",
3162
3166
  iconName: "plus",
3163
3167
  icon: [448, 512, [10133, 61543, "add"], "2b", "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]
3164
- }, Nr = {
3168
+ }, Br = {
3165
3169
  prefix: "fas",
3166
3170
  iconName: "xmark",
3167
3171
  icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]
3168
- }, Br = {
3169
- prefix: "fas",
3170
- iconName: "arrow-up-short-wide",
3171
- icon: [576, 512, ["sort-amount-up-alt"], "f885", "M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-301.7 32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0z"]
3172
3172
  };
3173
3173
  /*!
3174
3174
  * vue-draggable-next v2.2.0
@@ -4292,7 +4292,7 @@ I.create = function(M, b) {
4292
4292
  return new I(M, b);
4293
4293
  };
4294
4294
  I.version = Tr;
4295
- var w0 = [], wM, Ep, Pp = !1, ep, tp, $b, kM;
4295
+ var k0 = [], wM, Ep, Pp = !1, ep, tp, $b, kM;
4296
4296
  function $r() {
4297
4297
  function M() {
4298
4298
  this.defaults = {
@@ -4318,7 +4318,7 @@ function $r() {
4318
4318
  this.sortable.nativeDraggable ? O0(document, "dragover", this._handleAutoScroll) : (O0(document, "pointermove", this._handleFallbackAutoScroll), O0(document, "touchmove", this._handleFallbackAutoScroll), O0(document, "mousemove", this._handleFallbackAutoScroll)), co(), xb(), kr();
4319
4319
  },
4320
4320
  nulling: function() {
4321
- $b = Ep = wM = Pp = kM = ep = tp = null, w0.length = 0;
4321
+ $b = Ep = wM = Pp = kM = ep = tp = null, k0.length = 0;
4322
4322
  },
4323
4323
  _handleFallbackAutoScroll: function(z) {
4324
4324
  this._handleAutoScroll(z, !0);
@@ -4346,9 +4346,9 @@ function $r() {
4346
4346
  });
4347
4347
  }
4348
4348
  function xb() {
4349
- w0.forEach(function(M) {
4349
+ k0.forEach(function(M) {
4350
4350
  clearInterval(M.pid);
4351
- }), w0 = [];
4351
+ }), k0 = [];
4352
4352
  }
4353
4353
  function co() {
4354
4354
  clearInterval(kM);
@@ -4362,13 +4362,13 @@ var Ap = tc(function(M, b, z, p) {
4362
4362
  var E = N, k = C0(E), U = k.top, T = k.bottom, v = k.left, X = k.right, j = k.width, o0 = k.height, n0 = void 0, N0 = void 0, L0 = E.scrollWidth, T0 = E.scrollHeight, P0 = x(E), _0 = E.scrollLeft, $0 = E.scrollTop;
4363
4363
  E === q ? (n0 = j < L0 && (P0.overflowX === "auto" || P0.overflowX === "scroll" || P0.overflowX === "visible"), N0 = o0 < T0 && (P0.overflowY === "auto" || P0.overflowY === "scroll" || P0.overflowY === "visible")) : (n0 = j < L0 && (P0.overflowX === "auto" || P0.overflowX === "scroll"), N0 = o0 < T0 && (P0.overflowY === "auto" || P0.overflowY === "scroll"));
4364
4364
  var L1 = n0 && (Math.abs(X - o) <= n && _0 + j < L0) - (Math.abs(v - o) <= n && !!_0), B0 = N0 && (Math.abs(T - e) <= n && $0 + o0 < T0) - (Math.abs(U - e) <= n && !!$0);
4365
- if (!w0[W])
4365
+ if (!k0[W])
4366
4366
  for (var G0 = 0; G0 <= W; G0++)
4367
- w0[G0] || (w0[G0] = {});
4368
- (w0[W].vx != L1 || w0[W].vy != B0 || w0[W].el !== E) && (w0[W].el = E, w0[W].vx = L1, w0[W].vy = B0, clearInterval(w0[W].pid), (L1 != 0 || B0 != 0) && (i = !0, w0[W].pid = setInterval((function() {
4367
+ k0[G0] || (k0[G0] = {});
4368
+ (k0[W].vx != L1 || k0[W].vy != B0 || k0[W].el !== E) && (k0[W].el = E, k0[W].vx = L1, k0[W].vy = B0, clearInterval(k0[W].pid), (L1 != 0 || B0 != 0) && (i = !0, k0[W].pid = setInterval((function() {
4369
4369
  p && this.layer === 0 && I.active._onTouchMove($b);
4370
- var e1 = w0[this.layer].vy ? w0[this.layer].vy * r : 0, m0 = w0[this.layer].vx ? w0[this.layer].vx * r : 0;
4371
- typeof l == "function" && l.call(I.dragged.parentNode[O1], m0, e1, M, $b, w0[this.layer].el) !== "continue" || Ac(w0[this.layer].el, m0, e1);
4370
+ var e1 = k0[this.layer].vy ? k0[this.layer].vy * r : 0, m0 = k0[this.layer].vx ? k0[this.layer].vx * r : 0;
4371
+ typeof l == "function" && l.call(I.dragged.parentNode[O1], m0, e1, M, $b, k0[this.layer].el) !== "continue" || Ac(k0[this.layer].el, m0, e1);
4372
4372
  }).bind({
4373
4373
  layer: W
4374
4374
  }), 24))), W++;
@@ -8863,7 +8863,7 @@ Arguments: ` + Array.prototype.slice.call(A).join("") + `
8863
8863
  function ib(O) {
8864
8864
  return O % 4 === 0 && O % 100 !== 0 || O % 400 === 0;
8865
8865
  }
8866
- var Y0 = 0, P1 = 1, B1 = 2, k0 = 3, i1 = 4, x1 = 5, B2 = 6, ue = 7, Re = 8;
8866
+ var Y0 = 0, P1 = 1, B1 = 2, D0 = 3, i1 = 4, x1 = 5, B2 = 6, ue = 7, Re = 8;
8867
8867
  D("Y", 0, 0, function() {
8868
8868
  var O = this.year();
8869
8869
  return O <= 9999 ? M1(O, 4) : "+" + O;
@@ -9271,25 +9271,25 @@ Arguments: ` + Array.prototype.slice.call(A).join("") + `
9271
9271
  function G3(O, c) {
9272
9272
  return c._meridiemParse;
9273
9273
  }
9274
- _("a", G3), _("A", G3), _("H", s0, Bz), _("h", s0, F2), _("k", s0, F2), _("HH", s0, b1), _("hh", s0, b1), _("kk", s0, b1), _("hmm", k3), _("hmmss", D3), _("Hmm", k3), _("Hmmss", D3), r0(["H", "HH"], k0), r0(["k", "kk"], function(O, c, t) {
9274
+ _("a", G3), _("A", G3), _("H", s0, Bz), _("h", s0, F2), _("k", s0, F2), _("HH", s0, b1), _("hh", s0, b1), _("kk", s0, b1), _("hmm", k3), _("hmmss", D3), _("Hmm", k3), _("Hmmss", D3), r0(["H", "HH"], D0), r0(["k", "kk"], function(O, c, t) {
9275
9275
  var A = Q(O);
9276
- c[k0] = A === 24 ? 0 : A;
9276
+ c[D0] = A === 24 ? 0 : A;
9277
9277
  }), r0(["a", "A"], function(O, c, t) {
9278
9278
  t._isPm = t._locale.isPM(O), t._meridiem = O;
9279
9279
  }), r0(["h", "hh"], function(O, c, t) {
9280
- c[k0] = Q(O), T(t).bigHour = !0;
9280
+ c[D0] = Q(O), T(t).bigHour = !0;
9281
9281
  }), r0("hmm", function(O, c, t) {
9282
9282
  var A = O.length - 2;
9283
- c[k0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A)), T(t).bigHour = !0;
9283
+ c[D0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A)), T(t).bigHour = !0;
9284
9284
  }), r0("hmmss", function(O, c, t) {
9285
9285
  var A = O.length - 4, a = O.length - 2;
9286
- c[k0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A, 2)), c[x1] = Q(O.substr(a)), T(t).bigHour = !0;
9286
+ c[D0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A, 2)), c[x1] = Q(O.substr(a)), T(t).bigHour = !0;
9287
9287
  }), r0("Hmm", function(O, c, t) {
9288
9288
  var A = O.length - 2;
9289
- c[k0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A));
9289
+ c[D0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A));
9290
9290
  }), r0("Hmmss", function(O, c, t) {
9291
9291
  var A = O.length - 4, a = O.length - 2;
9292
- c[k0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A, 2)), c[x1] = Q(O.substr(a));
9292
+ c[D0] = Q(O.substr(0, A)), c[i1] = Q(O.substr(A, 2)), c[x1] = Q(O.substr(a));
9293
9293
  });
9294
9294
  function tt(O) {
9295
9295
  return (O + "").toLowerCase().charAt(0) === "p";
@@ -9403,7 +9403,7 @@ Arguments: ` + Array.prototype.slice.call(A).join("") + `
9403
9403
  }
9404
9404
  function _z(O) {
9405
9405
  var c, t = O._a;
9406
- return t && T(O).overflow === -2 && (c = t[P1] < 0 || t[P1] > 11 ? P1 : t[B1] < 1 || t[B1] > Xz(t[Y0], t[P1]) ? B1 : t[k0] < 0 || t[k0] > 24 || t[k0] === 24 && (t[i1] !== 0 || t[x1] !== 0 || t[B2] !== 0) ? k0 : t[i1] < 0 || t[i1] > 59 ? i1 : t[x1] < 0 || t[x1] > 59 ? x1 : t[B2] < 0 || t[B2] > 999 ? B2 : -1, T(O)._overflowDayOfYear && (c < Y0 || c > B1) && (c = B1), T(O)._overflowWeeks && c === -1 && (c = ue), T(O)._overflowWeekday && c === -1 && (c = Re), T(O).overflow = c), O;
9406
+ return t && T(O).overflow === -2 && (c = t[P1] < 0 || t[P1] > 11 ? P1 : t[B1] < 1 || t[B1] > Xz(t[Y0], t[P1]) ? B1 : t[D0] < 0 || t[D0] > 24 || t[D0] === 24 && (t[i1] !== 0 || t[x1] !== 0 || t[B2] !== 0) ? D0 : t[i1] < 0 || t[i1] > 59 ? i1 : t[x1] < 0 || t[x1] > 59 ? x1 : t[B2] < 0 || t[B2] > 999 ? B2 : -1, T(O)._overflowDayOfYear && (c < Y0 || c > B1) && (c = B1), T(O)._overflowWeeks && c === -1 && (c = ue), T(O)._overflowWeekday && c === -1 && (c = Re), T(O).overflow = c), O;
9407
9407
  }
9408
9408
  var Wt = /^\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)?)?$/, lt = /^\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)?)?$/, ft = /Z|[+-]\d\d(?::?\d\d)?/, db = [
9409
9409
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
@@ -9572,10 +9572,10 @@ Arguments: ` + Array.prototype.slice.call(A).join("") + `
9572
9572
  O._a[c] = A[c] = a[c];
9573
9573
  for (; c < 7; c++)
9574
9574
  O._a[c] = A[c] = O._a[c] == null ? c === 2 ? 1 : 0 : O._a[c];
9575
- O._a[k0] === 24 && O._a[i1] === 0 && O._a[x1] === 0 && O._a[B2] === 0 && (O._nextDay = !0, O._a[k0] = 0), O._d = (O._useUTC ? mM : De).apply(
9575
+ O._a[D0] === 24 && O._a[i1] === 0 && O._a[x1] === 0 && O._a[B2] === 0 && (O._nextDay = !0, O._a[D0] = 0), O._d = (O._useUTC ? mM : De).apply(
9576
9576
  null,
9577
9577
  A
9578
- ), s = O._useUTC ? O._d.getUTCDay() : O._d.getDay(), O._tzm != null && O._d.setUTCMinutes(O._d.getUTCMinutes() - O._tzm), O._nextDay && (O._a[k0] = 24), O._w && typeof O._w.d < "u" && O._w.d !== s && (T(O).weekdayMismatch = !0);
9578
+ ), s = O._useUTC ? O._d.getUTCDay() : O._d.getDay(), O._tzm != null && O._d.setUTCMinutes(O._d.getUTCMinutes() - O._tzm), O._nextDay && (O._a[D0] = 24), O._w && typeof O._w.d < "u" && O._w.d !== s && (T(O).weekdayMismatch = !0);
9579
9579
  }
9580
9580
  }
9581
9581
  function Tt(O) {
@@ -9604,9 +9604,9 @@ Arguments: ` + Array.prototype.slice.call(A).join("") + `
9604
9604
  s = a[t], A = (c.match(We(s, O)) || [])[0], A && (f = c.substr(0, c.indexOf(A)), f.length > 0 && T(O).unusedInput.push(f), c = c.slice(
9605
9605
  c.indexOf(A) + A.length
9606
9606
  ), F += A.length), N1[s] ? (A ? T(O).empty = !1 : T(O).unusedTokens.push(s), fe(s, A, O)) : O._strict && !A && T(O).unusedTokens.push(s);
9607
- T(O).charsLeftOver = S - F, c.length > 0 && T(O).unusedInput.push(c), O._a[k0] <= 12 && T(O).bigHour === !0 && O._a[k0] > 0 && (T(O).bigHour = void 0), T(O).parsedDateParts = O._a.slice(0), T(O).meridiem = O._meridiem, O._a[k0] = vt(
9607
+ T(O).charsLeftOver = S - F, c.length > 0 && T(O).unusedInput.push(c), O._a[D0] <= 12 && T(O).bigHour === !0 && O._a[D0] > 0 && (T(O).bigHour = void 0), T(O).parsedDateParts = O._a.slice(0), T(O).meridiem = O._meridiem, O._a[D0] = vt(
9608
9608
  O._locale,
9609
- O._a[k0],
9609
+ O._a[D0],
9610
9610
  O._meridiem
9611
9611
  ), $ = T(O).era, $ !== null && (O._a[Y0] = O._locale.erasConvertYear($, O._a[Y0])), kz(O), _z(O);
9612
9612
  }
@@ -9825,7 +9825,7 @@ Arguments: ` + Array.prototype.slice.call(A).join("") + `
9825
9825
  } : l(O) || !isNaN(+O) ? (t = {}, c ? t[c] = +O : t.milliseconds = +O) : (A = zA.exec(O)) ? (a = A[1] === "-" ? -1 : 1, t = {
9826
9826
  y: 0,
9827
9827
  d: Q(A[B1]) * a,
9828
- h: Q(A[k0]) * a,
9828
+ h: Q(A[D0]) * a,
9829
9829
  m: Q(A[i1]) * a,
9830
9830
  s: Q(A[x1]) * a,
9831
9831
  ms: Q(Cz(A[B2] * 1e3)) * a
@@ -10929,11 +10929,11 @@ $4.add(
10929
10929
  Rr,
10930
10930
  lr,
10931
10931
  fr,
10932
- Br,
10932
+ Lr,
10933
10933
  hr,
10934
- mr,
10935
10934
  Nr,
10936
- Lr,
10935
+ Br,
10936
+ mr,
10937
10937
  ur
10938
10938
  );
10939
10939
  const kd = {
@@ -11553,13 +11553,10 @@ const kd = {
11553
11553
  key: 1,
11554
11554
  class: "ms-2"
11555
11555
  }, $d = { key: 1 }, MW = ["id"], bW = ["id"], zW = { class: "d-inline-flex text-nowrap" }, pW = {
11556
- key: 0,
11557
- class: "ms-2 float-end hoverable"
11558
- }, OW = {
11559
11556
  key: 1,
11560
11557
  class: "ms-2 hoverable"
11561
- }, oW = { key: 0 }, cW = ["colspan"], eW = { class: "text-danger fs-5" }, tW = ["onClick", "onContextmenu"], AW = ["data-column-id", "onClick"], nW = ["id", "value"], aW = ["data-column-id"], rW = { class: "row ms-auto mb-2" }, iW = { class: "m-0 pagination pagination-sm" }, qW = { class: "page-item hoverable" }, sW = { class: "page-item hoverable" }, dW = ["onClick"], WW = { class: "page-item hoverable" }, lW = { class: "page-item hoverable" };
11562
- function fW(M, b, z, p, o, e) {
11558
+ }, OW = { key: 0 }, oW = ["colspan"], cW = { class: "text-danger fs-5" }, eW = ["onClick", "onContextmenu"], tW = ["data-column-id", "onClick"], AW = ["id", "value"], nW = ["data-column-id"], aW = { class: "row ms-auto mb-2" }, rW = { class: "m-0 pagination pagination-sm" }, iW = { class: "page-item hoverable" }, qW = { class: "page-item hoverable" }, sW = ["onClick"], dW = { class: "page-item hoverable" }, WW = { class: "page-item hoverable" };
11559
+ function lW(M, b, z, p, o, e) {
11563
11560
  var q;
11564
11561
  const n = Wp("font-awesome-icon"), r = Wp("vue-draggable-next");
11565
11562
  return H(), V(s1, null, [
@@ -11578,7 +11575,7 @@ function fW(M, b, z, p, o, e) {
11578
11575
  ])) : F0("", !0),
11579
11576
  z.showLineNumber || z.showModifyColumnsBtn || z.showMaxItemPerPageBtn || z.deepSorts ? (H(), V("div", Cd, [
11580
11577
  p0("div", {
11581
- class: D0([
11578
+ class: w0([
11582
11579
  "d-flex justify-content-start p-0",
11583
11580
  z.deepSorts && o.deepSortsList.length > 0 && z.showModifyColumnsBtn ? "col-12 col-sm-8 col-lg-9 col-xl-10" : "col"
11584
11581
  ])
@@ -11589,7 +11586,7 @@ function fW(M, b, z, p, o, e) {
11589
11586
  ])) : F0("", !0),
11590
11587
  z.deepSorts && o.deepSortsList.length > 0 ? (H(), V("div", {
11591
11588
  key: 1,
11592
- class: D0(["d-flex align-items-center flex-wrap", { "ms-4": z.showLineNumber }])
11589
+ class: w0(["d-flex align-items-center flex-wrap", { "ms-4": z.showLineNumber }])
11593
11590
  }, [
11594
11591
  b[21] || (b[21] = p0("span", { class: "me-1 text-secondary h-auto fs-7 mb-1 mb-lg-0" }, "Tri :", -1)),
11595
11592
  q2(r, {
@@ -11616,7 +11613,7 @@ function fW(M, b, z, p, o, e) {
11616
11613
  ]),
11617
11614
  q2(n, {
11618
11615
  class: "hoverable",
11619
- icon: i.asc ? "fa-solid fa-arrow-up-short-wide" : "fa-solid fa-arrow-down-wide-short",
11616
+ icon: i.asc ? "fa-solid fa-arrow-down-short-wide" : "fa-solid fa-arrow-down-wide-short",
11620
11617
  onClick: (W) => i.asc = !i.asc
11621
11618
  }, null, 8, ["icon", "onClick"])
11622
11619
  ]))), 128))
@@ -11627,7 +11624,7 @@ function fW(M, b, z, p, o, e) {
11627
11624
  ], 2),
11628
11625
  z.showMaxItemPerPageBtn || z.showModifyColumnsBtn ? (H(), V("div", {
11629
11626
  key: 0,
11630
- class: D0([
11627
+ class: w0([
11631
11628
  "d-flex align-items-center justify-content-end p-0",
11632
11629
  z.deepSorts && o.deepSortsList.length > 0 ? "col-12 col-sm-4 col-lg-3 col-xl-2 mt-1 mt-sm-0" : "col"
11633
11630
  ])
@@ -11674,7 +11671,7 @@ function fW(M, b, z, p, o, e) {
11674
11671
  p0("div", Hd, [
11675
11672
  p0("div", {
11676
11673
  ref: "scrollContainer",
11677
- class: D0(["col-12 p-0 overflow-x-auto mb-2", {
11674
+ class: w0(["col-12 p-0 overflow-x-auto mb-2", {
11678
11675
  border: z.infiniteScroll,
11679
11676
  "infinite-scroll-container": z.infiniteScroll
11680
11677
  }]),
@@ -11691,7 +11688,7 @@ function fW(M, b, z, p, o, e) {
11691
11688
  id: "table-draggable",
11692
11689
  ref: "table",
11693
11690
  key: o.forceTableUpdateIndex,
11694
- class: D0(["table table-striped table-hover table-responsive align-middle border-1 border-top border-bottom position-relative m-0", [z.border ? "table-bordered" : "table-borderless", z.tableSm ? "table-sm" : ""]]),
11691
+ class: w0(["table table-striped table-hover table-responsive align-middle border-1 border-top border-bottom position-relative m-0", [z.border ? "table-bordered" : "table-borderless", z.tableSm ? "table-sm" : ""]]),
11695
11692
  style: jz([{ "border-collapse": "separate", "border-spacing": "0" }, {
11696
11693
  borderLeft: z.border ? "" : "1px solid #ddd",
11697
11694
  borderRight: z.border ? "" : "1px solid #ddd"
@@ -11715,7 +11712,7 @@ function fW(M, b, z, p, o, e) {
11715
11712
  i.id === "checkBox" ? (H(), V("th", {
11716
11713
  key: 0,
11717
11714
  id: i.id + "-th-" + l,
11718
- class: D0(["text-center", [
11715
+ class: w0(["text-center", [
11719
11716
  z.headerBgColor,
11720
11717
  i.stickyLeft ? "sticky-column-left" : "",
11721
11718
  i.stickyRight ? "sticky-column-right" : "",
@@ -11737,7 +11734,7 @@ function fW(M, b, z, p, o, e) {
11737
11734
  key: 1,
11738
11735
  id: i.id + "-th-" + l,
11739
11736
  scope: "col",
11740
- class: D0(["text-center", [
11737
+ class: w0(["text-center", [
11741
11738
  i.isDragging ? "hoverable-grabbing" : z.headerBgColor + " hoverable-grab",
11742
11739
  i.stickyLeft ? "sticky-column-left" : "",
11743
11740
  i.stickyRight ? "sticky-column-right" : "",
@@ -11768,7 +11765,7 @@ function fW(M, b, z, p, o, e) {
11768
11765
  Kz(M.$slots, "tableHeaderTh", { header: i }, void 0, !0),
11769
11766
  i.isSortable && !z.deepSorts ? (H(), V("div", Jd, [
11770
11767
  q2(n, {
11771
- 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",
11768
+ icon: o.sortKey !== i.id || o.sortKey === i.id && !o.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-down-short-wide",
11772
11769
  class: "hoverable",
11773
11770
  onClick: (W) => e.updateCurrentSort(i)
11774
11771
  }, null, 8, ["icon", "onClick"])
@@ -11791,7 +11788,7 @@ function fW(M, b, z, p, o, e) {
11791
11788
  i.id === "checkBox" ? (H(), V("th", {
11792
11789
  key: 0,
11793
11790
  id: i.id + "-th-" + l,
11794
- class: D0(["text-center", [
11791
+ class: w0(["text-center", [
11795
11792
  z.headerBgColor,
11796
11793
  i.stickyLeft ? "sticky-column-left" : "",
11797
11794
  i.stickyRight ? "sticky-column-right" : "",
@@ -11813,7 +11810,7 @@ function fW(M, b, z, p, o, e) {
11813
11810
  key: 1,
11814
11811
  id: i.id + "-th-" + l,
11815
11812
  scope: "col",
11816
- class: D0(["text-center", [
11813
+ class: w0(["text-center", [
11817
11814
  i.isDragging ? "" : z.headerBgColor,
11818
11815
  i.stickyLeft ? "sticky-column-left" : "",
11819
11816
  i.stickyRight ? "sticky-column-right" : "",
@@ -11823,12 +11820,15 @@ function fW(M, b, z, p, o, e) {
11823
11820
  }, [
11824
11821
  p0("div", zW, [
11825
11822
  Kz(M.$slots, "tableHeaderTh", { header: i }, void 0, !0),
11826
- i.isSortable && !z.deepSorts ? (H(), V("div", pW, [
11823
+ i.isSortable && !z.deepSorts ? (H(), V("div", {
11824
+ key: 0,
11825
+ class: w0(["ms-2 float-end hoverable", { "opacity-50": o.sortKey !== i.id }])
11826
+ }, [
11827
11827
  q2(n, {
11828
- 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",
11828
+ icon: o.sortKey !== i.id || o.sortKey === i.id && !o.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-down-short-wide",
11829
11829
  onClick: (W) => e.updateCurrentSort(i)
11830
11830
  }, null, 8, ["icon", "onClick"])
11831
- ])) : z.deepSorts && !o.deepSortsList.some((W) => W.id === i.id) && i.isSortable ? (H(), V("div", OW, [
11831
+ ], 2)) : z.deepSorts && !o.deepSortsList.some((W) => W.id === i.id) && i.isSortable ? (H(), V("div", pW, [
11832
11832
  q2(n, {
11833
11833
  icon: "fa-solid fa-filter",
11834
11834
  onClick: (W) => e.addDeepSort(i)
@@ -11840,16 +11840,16 @@ function fW(M, b, z, p, o, e) {
11840
11840
  ]))
11841
11841
  ]),
11842
11842
  p0("tbody", null, [
11843
- ((q = e.showeditems) == null ? void 0 : q.length) === 0 ? (H(), V("tr", oW, [
11843
+ ((q = e.showeditems) == null ? void 0 : q.length) === 0 ? (H(), V("tr", OW, [
11844
11844
  p0("th", {
11845
11845
  colspan: o.columns.length,
11846
11846
  class: "text-center"
11847
11847
  }, [
11848
- p0("span", eW, yM(z.noValueText), 1)
11849
- ], 8, cW)
11848
+ p0("span", cW, yM(z.noValueText), 1)
11849
+ ], 8, oW)
11850
11850
  ])) : (H(!0), V(s1, { key: 1 }, y2(e.showeditems, (i, l) => (H(), V("tr", {
11851
11851
  key: i.id,
11852
- class: D0([
11852
+ class: w0([
11853
11853
  {
11854
11854
  hoverable: z.clickable && !o.headerEditMode,
11855
11855
  "hoverable-no-drop": z.clickable && o.headerEditMode
@@ -11868,7 +11868,7 @@ function fW(M, b, z, p, o, e) {
11868
11868
  W.id === "checkBox" ? (H(), V("td", {
11869
11869
  key: 0,
11870
11870
  "data-column-id": W.id,
11871
- class: D0(["text-center", [
11871
+ class: w0(["text-center", [
11872
11872
  z.tdClass,
11873
11873
  i.lineState ? e.lineStateClass(i.lineState) : "",
11874
11874
  W.stickyLeft ? "sticky-column-left" : "",
@@ -11884,13 +11884,13 @@ function fW(M, b, z, p, o, e) {
11884
11884
  value: i.id,
11885
11885
  onClick: b[14] || (b[14] = Q2(() => {
11886
11886
  }, ["stop"]))
11887
- }, null, 8, nW), [
11887
+ }, null, 8, AW), [
11888
11888
  [Vz, o.selectedItems]
11889
11889
  ])
11890
- ], 10, AW)) : (W.show || o.headerEditMode) && (!W.onlyOnEditMode || z.lineEditMode) ? (H(), V("td", {
11890
+ ], 10, tW)) : (W.show || o.headerEditMode) && (!W.onlyOnEditMode || z.lineEditMode) ? (H(), V("td", {
11891
11891
  key: 1,
11892
11892
  "data-column-id": W.id,
11893
- class: D0([[
11893
+ class: w0([[
11894
11894
  z.tdClass,
11895
11895
  W.show ? "" : "table-danger",
11896
11896
  W.isSorted ? "bg-gray-200" : "",
@@ -11903,53 +11903,53 @@ function fW(M, b, z, p, o, e) {
11903
11903
  header: W,
11904
11904
  item: i
11905
11905
  }, void 0, !0)
11906
- ], 10, aW)) : F0("", !0)
11906
+ ], 10, nW)) : F0("", !0)
11907
11907
  ], 64))), 128))
11908
- ], 46, tW))), 128))
11908
+ ], 46, eW))), 128))
11909
11909
  ])
11910
11910
  ], 6))
11911
11911
  ], 38)
11912
11912
  ]),
11913
- p0("div", rW, [
11913
+ p0("div", aW, [
11914
11914
  !z.infiniteScroll && o.totalPages && o.totalPages > 1 ? (H(), V("div", {
11915
11915
  key: 0,
11916
- class: D0(["col p-0 me-3 d-flex", {
11916
+ class: w0(["col p-0 me-3 d-flex", {
11917
11917
  "justify-content-center": z.paginationPosition === "center",
11918
11918
  "justify-content-end": z.paginationPosition === "right",
11919
11919
  "justify-content-start": z.paginationPosition === "left"
11920
11920
  }])
11921
11921
  }, [
11922
- p0("ul", iW, [
11923
- p0("li", qW, [
11922
+ p0("ul", rW, [
11923
+ p0("li", iW, [
11924
11924
  p0("a", {
11925
- class: D0(["page-link", { disabled: o.currentPage === 1 }]),
11925
+ class: w0(["page-link", { disabled: o.currentPage === 1 }]),
11926
11926
  onClick: b[16] || (b[16] = (i) => o.currentPage = 1)
11927
11927
  }, " « ", 2)
11928
11928
  ]),
11929
- p0("li", sW, [
11929
+ p0("li", qW, [
11930
11930
  p0("a", {
11931
- class: D0(["page-link", { disabled: o.currentPage === 1 }]),
11931
+ class: w0(["page-link", { disabled: o.currentPage === 1 }]),
11932
11932
  onClick: b[17] || (b[17] = (i) => o.currentPage -= 1)
11933
11933
  }, " < ", 2)
11934
11934
  ]),
11935
11935
  (H(!0), V(s1, null, y2(e.currentDisplayPagination, (i) => (H(), V("li", {
11936
11936
  key: i,
11937
- class: D0(["page-item hoverable", { active: o.currentPage === i }])
11937
+ class: w0(["page-item hoverable", { active: o.currentPage === i }])
11938
11938
  }, [
11939
11939
  p0("a", {
11940
11940
  class: "page-link",
11941
11941
  onClick: (l) => o.currentPage = i
11942
- }, yM(i), 9, dW)
11942
+ }, yM(i), 9, sW)
11943
11943
  ], 2))), 128)),
11944
- p0("li", WW, [
11944
+ p0("li", dW, [
11945
11945
  p0("a", {
11946
- class: D0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11946
+ class: w0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11947
11947
  onClick: b[18] || (b[18] = (i) => o.currentPage += 1)
11948
11948
  }, " > ", 2)
11949
11949
  ]),
11950
- p0("li", lW, [
11950
+ p0("li", WW, [
11951
11951
  p0("a", {
11952
- class: D0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11952
+ class: w0(["page-link", { disabled: o.currentPage === o.totalPages }]),
11953
11953
  onClick: b[19] || (b[19] = (i) => o.currentPage = o.totalPages)
11954
11954
  }, " » ", 2)
11955
11955
  ])
@@ -11957,15 +11957,15 @@ function fW(M, b, z, p, o, e) {
11957
11957
  ], 2)) : F0("", !0),
11958
11958
  z.stickyScrollbarHorizontal ? (H(), V("div", {
11959
11959
  key: 1,
11960
- class: D0(["bottom-scrollbar", { visible: o.showScrollbar }])
11960
+ class: w0(["bottom-scrollbar", { visible: o.showScrollbar }])
11961
11961
  }, b[22] || (b[22] = [
11962
11962
  p0("div", { class: "scrollbar-content" }, null, -1)
11963
11963
  ]), 2)) : F0("", !0)
11964
11964
  ])
11965
11965
  ], 64);
11966
11966
  }
11967
- const RW = /* @__PURE__ */ wd(kd, [["render", fW], ["__scopeId", "data-v-fa13524a"]]);
11967
+ const uW = /* @__PURE__ */ wd(kd, [["render", lW], ["__scopeId", "data-v-972cc595"]]);
11968
11968
  export {
11969
- RW as AmsomTableDraggable,
11970
- RW as default
11969
+ uW as AmsomTableDraggable,
11970
+ uW as default
11971
11971
  };