@amsom-habitat/ui 2.20.12 → 2.20.14

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.
Files changed (3) hide show
  1. package/dist/ui.js +235 -230
  2. package/dist/ui.umd.cjs +4 -4
  3. package/package.json +2 -2
package/dist/ui.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FontAwesomeIcon as Me } from "@fortawesome/vue-fontawesome";
2
2
  import { library as Ce } from "@fortawesome/fontawesome-svg-core";
3
3
  import { faTimes as wo, faCheck as mi, faCamera as vo, faTrash as fi, faArrowRight as xo, faArrowLeft as Mo, faEye as is, faEyeSlash as gi, faArrowDownWideShort as Co, faArrowDownShortWide as Do, faPlus as Po, faXmark as To, faGreaterThan as Io, faFilter as Yo, faAnglesLeft as Oo, faAngleLeft as No, faAngleRight as Lo, faAnglesRight as Ao, faCloudArrowDown as Fo, faTriangleExclamation as Ro, faCloudArrowUp as Ho, faPaperclip as Bo, faFileCirclePlus as jo } from "@fortawesome/free-solid-svg-icons";
4
- import { resolveComponent as Z, createBlock as q, openBlock as g, Teleport as Vo, createElementVNode as y, createElementBlock as _, createCommentVNode as P, normalizeStyle as K, normalizeClass as C, withModifiers as G, renderSlot as Q, toDisplayString as R, Fragment as B, renderList as $, createTextVNode as xe, useCssVars as Uo, createVNode as j, withCtx as Ue, withDirectives as Xe, vModelSelect as zo, vModelCheckbox as es, vShow as Wo } from "vue";
4
+ import { resolveComponent as Z, openBlock as g, createBlock as q, Teleport as Vo, createElementVNode as y, normalizeStyle as K, normalizeClass as C, withModifiers as G, createCommentVNode as P, renderSlot as Q, createElementBlock as _, toDisplayString as R, Fragment as B, renderList as $, createTextVNode as xe, useCssVars as zo, createVNode as j, withCtx as ze, withDirectives as Xe, vModelSelect as Uo, vModelCheckbox as es, vShow as Wo } from "vue";
5
5
  import { isImage as ts, resizeImage as yi, handleFile as pi, base64ToBlob as Eo, openFileBlob as qo, downloadBlob as Go, imageToPDF as $o, openFileBase64 as Zo, isPdf as Ko } from "@amsom-habitat/file-utils";
6
6
  import { VueDraggableNext as Jo } from "vue-draggable-next";
7
7
  import be from "moment-timezone";
@@ -375,8 +375,11 @@ const ml = /* @__PURE__ */ de(ll, [["render", hl]]), fl = {
375
375
  validator: (r) => r >= 0 && r <= 100
376
376
  }
377
377
  }
378
- }, gl = { class: "position-relative" }, yl = { class: "position-sticky sticky-top text-center" };
379
- function pl(r, a, n, d, c, u) {
378
+ }, gl = { class: "position-relative" }, yl = { class: "position-sticky sticky-top text-center" }, pl = {
379
+ style: { position: "relative", "z-index": "1" },
380
+ class: "h-100 w-100"
381
+ };
382
+ function _l(r, a, n, d, c, u) {
380
383
  return g(), _("div", gl, [
381
384
  n.loading ? (g(), _("div", {
382
385
  key: 0,
@@ -399,12 +402,14 @@ function pl(r, a, n, d, c, u) {
399
402
  ])
400
403
  ])
401
404
  ], 4)) : P("", !0),
402
- Q(r.$slots, "default")
405
+ y("div", pl, [
406
+ Q(r.$slots, "default")
407
+ ])
403
408
  ]);
404
409
  }
405
- const _i = /* @__PURE__ */ de(fl, [["render", pl]]);
410
+ const _i = /* @__PURE__ */ de(fl, [["render", _l]]);
406
411
  Ce.add(mi);
407
- const _l = {
412
+ const Sl = {
408
413
  name: "WorkflowAssuranceBlock",
409
414
  components: {
410
415
  FontAwesomeIcon: Me
@@ -510,18 +515,18 @@ const _l = {
510
515
  }
511
516
  }
512
517
  }
513
- }, Sl = { class: "d-flex flex-column align-items-center" }, bl = ["onClick"], kl = {
518
+ }, bl = { class: "d-flex flex-column align-items-center" }, kl = ["onClick"], wl = {
514
519
  key: 0,
515
520
  class: "line h-100",
516
521
  style: { height: "30px", "min-height": "30px" }
517
522
  };
518
- function wl(r, a, n, d, c, u) {
523
+ function vl(r, a, n, d, c, u) {
519
524
  const S = Z("font-awesome-icon");
520
525
  return g(!0), _(B, null, $(n.steps, (f, b) => (g(), _("div", {
521
526
  key: f.numero,
522
527
  class: "d-flex mb-1"
523
528
  }, [
524
- y("div", Sl, [
529
+ y("div", bl, [
525
530
  y("div", {
526
531
  style: K({
527
532
  width: u.bubbleSize + "rem",
@@ -542,8 +547,8 @@ function wl(r, a, n, d, c, u) {
542
547
  })) : (g(), _(B, { key: 1 }, [
543
548
  xe(R(f.numero), 1)
544
549
  ], 64))
545
- ], 14, bl),
546
- b < n.steps.length - 1 ? (g(), _("div", kl)) : P("", !0)
550
+ ], 14, kl),
551
+ b < n.steps.length - 1 ? (g(), _("div", wl)) : P("", !0)
547
552
  ]),
548
553
  n.hideText ? P("", !0) : (g(), _("span", {
549
554
  key: 0,
@@ -559,7 +564,7 @@ function wl(r, a, n, d, c, u) {
559
564
  ], 6))
560
565
  ]))), 128);
561
566
  }
562
- const Lu = /* @__PURE__ */ de(_l, [["render", wl], ["__scopeId", "data-v-5eab4376"]]);
567
+ const Au = /* @__PURE__ */ de(Sl, [["render", vl], ["__scopeId", "data-v-5eab4376"]]);
563
568
  Ce.add(mi);
564
569
  const ns = {
565
570
  name: "AmsomHorizontalStepper",
@@ -686,7 +691,7 @@ const ns = {
686
691
  }
687
692
  }
688
693
  }, ei = () => {
689
- Uo((r) => ({
694
+ zo((r) => ({
690
695
  v31536048: r.futureStepBgColorCss,
691
696
  dac29eac: r.bubbleSize + "rem",
692
697
  a3a0806e: r.passedStepBgColorCss,
@@ -694,10 +699,10 @@ const ns = {
694
699
  }));
695
700
  }, ti = ns.setup;
696
701
  ns.setup = ti ? (r, a) => (ei(), ti(r, a)) : ei;
697
- const vl = { class: "d-flex justify-content-between" }, xl = ["role", "onClick"];
698
- function Ml(r, a, n, d, c, u) {
702
+ const xl = { class: "d-flex justify-content-between" }, Ml = ["role", "onClick"];
703
+ function Cl(r, a, n, d, c, u) {
699
704
  const S = Z("font-awesome-icon");
700
- return g(), _("div", vl, [
705
+ return g(), _("div", xl, [
701
706
  (g(!0), _(B, null, $(n.steps, (f, b) => (g(), _("div", {
702
707
  key: f.numero,
703
708
  role: f.numero < n.currentStep ? "button" : "none",
@@ -728,12 +733,12 @@ function Ml(r, a, n, d, c, u) {
728
733
  class: C(["step-name", [b + 1 < n.currentStep ? n.passedStepTextCss : b + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
729
734
  style: K({ fontSize: u.fontSizeText + "rem" })
730
735
  }, R(f.texte), 7))
731
- ], 10, xl))), 128))
736
+ ], 10, Ml))), 128))
732
737
  ]);
733
738
  }
734
- const Au = /* @__PURE__ */ de(ns, [["render", Ml]]);
739
+ const Fu = /* @__PURE__ */ de(ns, [["render", Cl]]);
735
740
  Ce.add(vo, fi, xo, Mo);
736
- const Cl = {
741
+ const Dl = {
737
742
  name: "PhotoComponent",
738
743
  components: {
739
744
  AmsomModal: ol,
@@ -805,16 +810,16 @@ const Cl = {
805
810
  }
806
811
  }
807
812
  }
808
- }, Dl = { class: "border border-1 border-grey rounded-4 p-2 d-flex align-items-center" }, Pl = ["disabled"], Tl = ["capture"], Il = {
813
+ }, Pl = { class: "border border-1 border-grey rounded-4 p-2 d-flex align-items-center" }, Tl = ["disabled"], Il = ["capture"], Yl = {
809
814
  key: 0,
810
815
  class: "d-flex overflow-x-auto w-100"
811
- }, Yl = ["onClick"], Ol = ["src", "alt"], Nl = {
816
+ }, Ol = ["onClick"], Nl = ["src", "alt"], Ll = {
812
817
  key: 1,
813
818
  class: "fs-7"
814
- }, Ll = { class: "row w-100 mx-auto" }, Al = { class: "col-12 mb-3" }, Fl = ["src", "alt"], Rl = { class: "col-12 d-flex justify-content-center" };
815
- function Hl(r, a, n, d, c, u) {
819
+ }, Al = { class: "row w-100 mx-auto" }, Fl = { class: "col-12 mb-3" }, Rl = ["src", "alt"], Hl = { class: "col-12 d-flex justify-content-center" };
820
+ function Bl(r, a, n, d, c, u) {
816
821
  const S = Z("font-awesome-icon"), f = Z("amsom-modal");
817
- return g(), _("div", Dl, [
822
+ return g(), _("div", Pl, [
818
823
  y("button", {
819
824
  type: "button",
820
825
  class: "btn rounded-4 me-1 d-flex justify-content-center align-items-center",
@@ -854,9 +859,9 @@ function Hl(r, a, n, d, c, u) {
854
859
  multiple: "",
855
860
  capture: n.capture,
856
861
  onInput: a[1] || (a[1] = (...b) => u.getDataFiles && u.getDataFiles(...b))
857
- }, null, 40, Tl))
858
- ], 12, Pl),
859
- n.images.length > 0 ? (g(), _("div", Il, [
862
+ }, null, 40, Il))
863
+ ], 12, Tl),
864
+ n.images.length > 0 ? (g(), _("div", Yl, [
860
865
  (g(!0), _(B, null, $(n.images, (b) => (g(), _("button", {
861
866
  key: b,
862
867
  type: "button",
@@ -873,27 +878,27 @@ function Hl(r, a, n, d, c, u) {
873
878
  src: "data:" + (b == null ? void 0 : b.type) + ";base64," + (b == null ? void 0 : b.file),
874
879
  class: "h-100 w-100 rounded-1",
875
880
  alt: b == null ? void 0 : b.nomFichier
876
- }, null, 8, Ol)
877
- ], 12, Yl))), 128))
878
- ])) : (g(), _("div", Nl, " Ajouter une image ")),
881
+ }, null, 8, Nl)
882
+ ], 12, Ol))), 128))
883
+ ])) : (g(), _("div", Ll, " Ajouter une image ")),
879
884
  c.showModal ? (g(), q(f, {
880
885
  key: 2,
881
886
  size: "sm",
882
887
  "close-option": "",
883
888
  onClose: u.closeModal
884
889
  }, {
885
- default: Ue(() => {
890
+ default: ze(() => {
886
891
  var b, h, O;
887
892
  return [
888
- y("div", Ll, [
889
- y("div", Al, [
893
+ y("div", Al, [
894
+ y("div", Fl, [
890
895
  y("img", {
891
896
  src: "data:" + ((b = n.images[c.selectedPhotoIndex]) == null ? void 0 : b.type) + ";base64," + ((h = n.images[c.selectedPhotoIndex]) == null ? void 0 : h.file),
892
897
  alt: (O = n.images[c.selectedPhotoIndex]) == null ? void 0 : O.nomFichier,
893
898
  class: "h-100 w-100"
894
- }, null, 8, Fl)
899
+ }, null, 8, Rl)
895
900
  ]),
896
- y("div", Rl, [
901
+ y("div", Hl, [
897
902
  y("button", {
898
903
  type: "button",
899
904
  class: "btn btn-primary mx-1",
@@ -932,13 +937,13 @@ function Hl(r, a, n, d, c, u) {
932
937
  }, 8, ["onClose"])) : P("", !0)
933
938
  ]);
934
939
  }
935
- const Fu = /* @__PURE__ */ de(Cl, [["render", Hl]]);
940
+ const Ru = /* @__PURE__ */ de(Dl, [["render", Bl]]);
936
941
  var Si = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
937
942
  function bi(r) {
938
943
  throw new Error('Could not dynamically require "' + r + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
939
944
  }
940
945
  var si = { exports: {} }, ii;
941
- function Bl() {
946
+ function jl() {
942
947
  return ii || (ii = 1, function(r, a) {
943
948
  (function(n, d) {
944
949
  r.exports = d();
@@ -1044,11 +1049,11 @@ function Bl() {
1044
1049
  i = rs[s], o = t[i], h(o) || (e[i] = o);
1045
1050
  return e;
1046
1051
  }
1047
- function ze(e) {
1052
+ function Ue(e) {
1048
1053
  Mt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), xt === !1 && (xt = !0, d.updateOffset(this), xt = !1);
1049
1054
  }
1050
1055
  function se(e) {
1051
- return e instanceof ze || e != null && e._isAMomentObject != null;
1056
+ return e instanceof Ue || e != null && e._isAMomentObject != null;
1052
1057
  }
1053
1058
  function as(e) {
1054
1059
  d.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
@@ -1312,9 +1317,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1312
1317
  };
1313
1318
  }
1314
1319
  function Vi(e, t) {
1315
- return f(lt, e) ? lt[e](t._strict, t._locale) : new RegExp(Ui(e));
1320
+ return f(lt, e) ? lt[e](t._strict, t._locale) : new RegExp(zi(e));
1316
1321
  }
1317
- function Ui(e) {
1322
+ function zi(e) {
1318
1323
  return ce(
1319
1324
  e.replace("\\", "").replace(
1320
1325
  /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
@@ -1347,24 +1352,24 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1347
1352
  o._w = o._w || {}, t(s, o._w, o, l);
1348
1353
  });
1349
1354
  }
1350
- function zi(e, t, s) {
1355
+ function Ui(e, t, s) {
1351
1356
  t != null && f(At, e) && At[e](t, s._a, s, e);
1352
1357
  }
1353
1358
  function dt(e) {
1354
1359
  return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
1355
1360
  }
1356
- var z = 0, he = 1, le = 2, U = 3, ie = 4, me = 5, De = 6, Wi = 7, Ei = 8;
1361
+ var U = 0, he = 1, le = 2, z = 3, ie = 4, me = 5, De = 6, Wi = 7, Ei = 8;
1357
1362
  x("Y", 0, 0, function() {
1358
1363
  var e = this.year();
1359
1364
  return e <= 9999 ? oe(e, 4) : "+" + e;
1360
1365
  }), x(0, ["YY", 2], 0, function() {
1361
1366
  return this.year() % 100;
1362
- }), x(0, ["YYYY", 4], 0, "year"), x(0, ["YYYYY", 5], 0, "year"), x(0, ["YYYYYY", 6, !0], 0, "year"), v("Y", at), v("YY", A, J), v("YYYY", Nt, Ot), v("YYYYY", rt, it), v("YYYYYY", rt, it), L(["YYYYY", "YYYYYY"], z), L("YYYY", function(e, t) {
1363
- t[z] = e.length === 2 ? d.parseTwoDigitYear(e) : T(e);
1367
+ }), x(0, ["YYYY", 4], 0, "year"), x(0, ["YYYYY", 5], 0, "year"), x(0, ["YYYYYY", 6, !0], 0, "year"), v("Y", at), v("YY", A, J), v("YYYY", Nt, Ot), v("YYYYY", rt, it), v("YYYYYY", rt, it), L(["YYYYY", "YYYYYY"], U), L("YYYY", function(e, t) {
1368
+ t[U] = e.length === 2 ? d.parseTwoDigitYear(e) : T(e);
1364
1369
  }), L("YY", function(e, t) {
1365
- t[z] = d.parseTwoDigitYear(e);
1370
+ t[U] = d.parseTwoDigitYear(e);
1366
1371
  }), L("Y", function(e, t) {
1367
- t[z] = parseInt(e, 10);
1372
+ t[U] = parseInt(e, 10);
1368
1373
  });
1369
1374
  function qe(e) {
1370
1375
  return dt(e) ? 366 : 365;
@@ -1749,25 +1754,25 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1749
1754
  function Ms(e, t) {
1750
1755
  return t._meridiemParse;
1751
1756
  }
1752
- v("a", Ms), v("A", Ms), v("H", A, Lt), v("h", A, Le), v("k", A, Le), v("HH", A, J), v("hh", A, J), v("kk", A, J), v("hmm", ms), v("hmmss", fs), v("Hmm", ms), v("Hmmss", fs), L(["H", "HH"], U), L(["k", "kk"], function(e, t, s) {
1757
+ v("a", Ms), v("A", Ms), v("H", A, Lt), v("h", A, Le), v("k", A, Le), v("HH", A, J), v("hh", A, J), v("kk", A, J), v("hmm", ms), v("hmmss", fs), v("Hmm", ms), v("Hmmss", fs), L(["H", "HH"], z), L(["k", "kk"], function(e, t, s) {
1753
1758
  var i = T(e);
1754
- t[U] = i === 24 ? 0 : i;
1759
+ t[z] = i === 24 ? 0 : i;
1755
1760
  }), L(["a", "A"], function(e, t, s) {
1756
1761
  s._isPm = s._locale.isPM(e), s._meridiem = e;
1757
1762
  }), L(["h", "hh"], function(e, t, s) {
1758
- t[U] = T(e), D(s).bigHour = !0;
1763
+ t[z] = T(e), D(s).bigHour = !0;
1759
1764
  }), L("hmm", function(e, t, s) {
1760
1765
  var i = e.length - 2;
1761
- t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i)), D(s).bigHour = !0;
1766
+ t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i)), D(s).bigHour = !0;
1762
1767
  }), L("hmmss", function(e, t, s) {
1763
1768
  var i = e.length - 4, o = e.length - 2;
1764
- t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o)), D(s).bigHour = !0;
1769
+ t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o)), D(s).bigHour = !0;
1765
1770
  }), L("Hmm", function(e, t, s) {
1766
1771
  var i = e.length - 2;
1767
- t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i));
1772
+ t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i));
1768
1773
  }), L("Hmmss", function(e, t, s) {
1769
1774
  var i = e.length - 4, o = e.length - 2;
1770
- t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o));
1775
+ t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o));
1771
1776
  });
1772
1777
  function Nn(e) {
1773
1778
  return (e + "").toLowerCase().charAt(0) === "p";
@@ -1881,9 +1886,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1881
1886
  }
1882
1887
  function Vt(e) {
1883
1888
  var t, s = e._a;
1884
- return s && D(e).overflow === -2 && (t = s[he] < 0 || s[he] > 11 ? he : s[le] < 1 || s[le] > Ft(s[z], s[he]) ? le : s[U] < 0 || s[U] > 24 || s[U] === 24 && (s[ie] !== 0 || s[me] !== 0 || s[De] !== 0) ? U : s[ie] < 0 || s[ie] > 59 ? ie : s[me] < 0 || s[me] > 59 ? me : s[De] < 0 || s[De] > 999 ? De : -1, D(e)._overflowDayOfYear && (t < z || t > le) && (t = le), D(e)._overflowWeeks && t === -1 && (t = Wi), D(e)._overflowWeekday && t === -1 && (t = Ei), D(e).overflow = t), e;
1889
+ return s && D(e).overflow === -2 && (t = s[he] < 0 || s[he] > 11 ? he : s[le] < 1 || s[le] > Ft(s[U], s[he]) ? le : s[z] < 0 || s[z] > 24 || s[z] === 24 && (s[ie] !== 0 || s[me] !== 0 || s[De] !== 0) ? z : s[ie] < 0 || s[ie] > 59 ? ie : s[me] < 0 || s[me] > 59 ? me : s[De] < 0 || s[De] > 999 ? De : -1, D(e)._overflowDayOfYear && (t < U || t > le) && (t = le), D(e)._overflowWeeks && t === -1 && (t = Wi), D(e)._overflowWeekday && t === -1 && (t = Ei), D(e).overflow = t), e;
1885
1890
  }
1886
- var Un = /^\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)?)?$/, zn = /^\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)?)?$/, Wn = /Z|[+-]\d\d(?::?\d\d)?/, ht = [
1891
+ var zn = /^\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)?)?$/, Un = /^\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)?)?$/, Wn = /Z|[+-]\d\d(?::?\d\d)?/, ht = [
1887
1892
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1888
1893
  ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1889
1894
  ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
@@ -1897,7 +1902,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1897
1902
  ["YYYYDDD", /\d{7}/],
1898
1903
  ["YYYYMM", /\d{6}/, !1],
1899
1904
  ["YYYY", /\d{4}/, !1]
1900
- ], Ut = [
1905
+ ], zt = [
1901
1906
  ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1902
1907
  ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1903
1908
  ["HH:mm:ss", /\d\d:\d\d:\d\d/],
@@ -1920,7 +1925,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1920
1925
  PST: -8 * 60
1921
1926
  };
1922
1927
  function Ps(e) {
1923
- var t, s, i = e._i, o = Un.exec(i) || zn.exec(i), l, m, w, M, I = ht.length, E = Ut.length;
1928
+ var t, s, i = e._i, o = zn.exec(i) || Un.exec(i), l, m, w, M, I = ht.length, E = zt.length;
1924
1929
  if (o) {
1925
1930
  for (D(e).iso = !0, t = 0, s = I; t < s; t++)
1926
1931
  if (ht[t][1].exec(o[1])) {
@@ -1933,8 +1938,8 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1933
1938
  }
1934
1939
  if (o[3]) {
1935
1940
  for (t = 0, s = E; t < s; t++)
1936
- if (Ut[t][1].exec(o[3])) {
1937
- w = (o[2] || " ") + Ut[t][0];
1941
+ if (zt[t][1].exec(o[3])) {
1942
+ w = (o[2] || " ") + zt[t][0];
1938
1943
  break;
1939
1944
  }
1940
1945
  if (w == null) {
@@ -2043,26 +2048,26 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2043
2048
  t.getUTCDate()
2044
2049
  ] : [t.getFullYear(), t.getMonth(), t.getDate()];
2045
2050
  }
2046
- function zt(e) {
2051
+ function Ut(e) {
2047
2052
  var t, s, i = [], o, l, m;
2048
2053
  if (!e._d) {
2049
- for (o = er(e), e._w && e._a[le] == null && e._a[he] == null && tr(e), e._dayOfYear != null && (m = Fe(e._a[z], o[z]), (e._dayOfYear > qe(m) || e._dayOfYear === 0) && (D(e)._overflowDayOfYear = !0), s = $e(m, 0, e._dayOfYear), e._a[he] = s.getUTCMonth(), e._a[le] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
2054
+ for (o = er(e), e._w && e._a[le] == null && e._a[he] == null && tr(e), e._dayOfYear != null && (m = Fe(e._a[U], o[U]), (e._dayOfYear > qe(m) || e._dayOfYear === 0) && (D(e)._overflowDayOfYear = !0), s = $e(m, 0, e._dayOfYear), e._a[he] = s.getUTCMonth(), e._a[le] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
2050
2055
  e._a[t] = i[t] = o[t];
2051
2056
  for (; t < 7; t++)
2052
2057
  e._a[t] = i[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
2053
- e._a[U] === 24 && e._a[ie] === 0 && e._a[me] === 0 && e._a[De] === 0 && (e._nextDay = !0, e._a[U] = 0), e._d = (e._useUTC ? $e : on).apply(
2058
+ e._a[z] === 24 && e._a[ie] === 0 && e._a[me] === 0 && e._a[De] === 0 && (e._nextDay = !0, e._a[z] = 0), e._d = (e._useUTC ? $e : on).apply(
2054
2059
  null,
2055
2060
  i
2056
- ), l = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[U] = 24), e._w && typeof e._w.d < "u" && e._w.d !== l && (D(e).weekdayMismatch = !0);
2061
+ ), l = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[z] = 24), e._w && typeof e._w.d < "u" && e._w.d !== l && (D(e).weekdayMismatch = !0);
2057
2062
  }
2058
2063
  }
2059
2064
  function tr(e) {
2060
2065
  var t, s, i, o, l, m, w, M, I;
2061
2066
  t = e._w, t.GG != null || t.W != null || t.E != null ? (l = 1, m = 4, s = Fe(
2062
2067
  t.GG,
2063
- e._a[z],
2068
+ e._a[U],
2064
2069
  Ze(F(), 1, 4).year
2065
- ), i = Fe(t.W, 1), o = Fe(t.E, 1), (o < 1 || o > 7) && (M = !0)) : (l = e._locale._week.dow, m = e._locale._week.doy, I = Ze(F(), l, m), s = Fe(t.gg, e._a[z], I.year), i = Fe(t.w, I.week), t.d != null ? (o = t.d, (o < 0 || o > 6) && (M = !0)) : t.e != null ? (o = t.e + l, (t.e < 0 || t.e > 6) && (M = !0)) : o = l), i < 1 || i > fe(s, l, m) ? D(e)._overflowWeeks = !0 : M != null ? D(e)._overflowWeekday = !0 : (w = ws(s, i, o, l, m), e._a[z] = w.year, e._dayOfYear = w.dayOfYear);
2070
+ ), i = Fe(t.W, 1), o = Fe(t.E, 1), (o < 1 || o > 7) && (M = !0)) : (l = e._locale._week.dow, m = e._locale._week.doy, I = Ze(F(), l, m), s = Fe(t.gg, e._a[U], I.year), i = Fe(t.w, I.week), t.d != null ? (o = t.d, (o < 0 || o > 6) && (M = !0)) : t.e != null ? (o = t.e + l, (t.e < 0 || t.e > 6) && (M = !0)) : o = l), i < 1 || i > fe(s, l, m) ? D(e)._overflowWeeks = !0 : M != null ? D(e)._overflowWeekday = !0 : (w = ws(s, i, o, l, m), e._a[U] = w.year, e._dayOfYear = w.dayOfYear);
2066
2071
  }
2067
2072
  d.ISO_8601 = function() {
2068
2073
  }, d.RFC_2822 = function() {
@@ -2081,12 +2086,12 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2081
2086
  for (o = ds(e._f, e._locale).match(Tt) || [], E = o.length, s = 0; s < E; s++)
2082
2087
  l = o[s], i = (t.match(Vi(l, e)) || [])[0], i && (m = t.substr(0, t.indexOf(i)), m.length > 0 && D(e).unusedInput.push(m), t = t.slice(
2083
2088
  t.indexOf(i) + i.length
2084
- ), M += i.length), Oe[l] ? (i ? D(e).empty = !1 : D(e).unusedTokens.push(l), zi(l, i, e)) : e._strict && !i && D(e).unusedTokens.push(l);
2085
- D(e).charsLeftOver = w - M, t.length > 0 && D(e).unusedInput.push(t), e._a[U] <= 12 && D(e).bigHour === !0 && e._a[U] > 0 && (D(e).bigHour = void 0), D(e).parsedDateParts = e._a.slice(0), D(e).meridiem = e._meridiem, e._a[U] = sr(
2089
+ ), M += i.length), Oe[l] ? (i ? D(e).empty = !1 : D(e).unusedTokens.push(l), Ui(l, i, e)) : e._strict && !i && D(e).unusedTokens.push(l);
2090
+ D(e).charsLeftOver = w - M, t.length > 0 && D(e).unusedInput.push(t), e._a[z] <= 12 && D(e).bigHour === !0 && e._a[z] > 0 && (D(e).bigHour = void 0), D(e).parsedDateParts = e._a.slice(0), D(e).meridiem = e._meridiem, e._a[z] = sr(
2086
2091
  e._locale,
2087
- e._a[U],
2092
+ e._a[z],
2088
2093
  e._meridiem
2089
- ), I = D(e).era, I !== null && (e._a[z] = e._locale.erasConvertYear(I, e._a[z])), zt(e), Vt(e);
2094
+ ), I = D(e).era, I !== null && (e._a[U] = e._locale.erasConvertYear(I, e._a[U])), Ut(e), Vt(e);
2090
2095
  }
2091
2096
  function sr(e, t, s) {
2092
2097
  var i;
@@ -2110,22 +2115,22 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2110
2115
  function(i) {
2111
2116
  return i && parseInt(i, 10);
2112
2117
  }
2113
- ), zt(e);
2118
+ ), Ut(e);
2114
2119
  }
2115
2120
  }
2116
2121
  function rr(e) {
2117
- var t = new ze(Vt(Is(e)));
2122
+ var t = new Ue(Vt(Is(e)));
2118
2123
  return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
2119
2124
  }
2120
2125
  function Is(e) {
2121
2126
  var t = e._i, s = e._f;
2122
- return e._locale = e._locale || ge(e._l), t === null || s === void 0 && t === "" ? et({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), se(t) ? new ze(Vt(t)) : (k(t) ? e._d = t : u(s) ? ir(e) : s ? Wt(e) : ar(e), vt(e) || (e._d = null), e));
2127
+ return e._locale = e._locale || ge(e._l), t === null || s === void 0 && t === "" ? et({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), se(t) ? new Ue(Vt(t)) : (k(t) ? e._d = t : u(s) ? ir(e) : s ? Wt(e) : ar(e), vt(e) || (e._d = null), e));
2123
2128
  }
2124
2129
  function ar(e) {
2125
2130
  var t = e._i;
2126
2131
  h(t) ? e._d = new Date(d.now()) : k(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Xn(e) : u(t) ? (e._a = W(t.slice(0), function(s) {
2127
2132
  return parseInt(s, 10);
2128
- }), zt(e)) : S(t) ? nr(e) : O(t) ? e._d = new Date(t) : d.createFromInputFallback(e);
2133
+ }), Ut(e)) : S(t) ? nr(e) : O(t) ? e._d = new Date(t) : d.createFromInputFallback(e);
2129
2134
  }
2130
2135
  function Ys(e, t, s, i, o) {
2131
2136
  var l = {};
@@ -2303,7 +2308,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2303
2308
  } : O(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (i = Dr.exec(e)) ? (o = i[1] === "-" ? -1 : 1, s = {
2304
2309
  y: 0,
2305
2310
  d: T(i[le]) * o,
2306
- h: T(i[U]) * o,
2311
+ h: T(i[z]) * o,
2307
2312
  m: T(i[ie]) * o,
2308
2313
  s: T(i[me]) * o,
2309
2314
  ms: T(Et(i[De] * 1e3)) * o
@@ -2416,7 +2421,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2416
2421
  );
2417
2422
  }
2418
2423
  function Hr() {
2419
- return new ze(this);
2424
+ return new Ue(this);
2420
2425
  }
2421
2426
  function Br(e, t) {
2422
2427
  var s = se(e) ? e : F(e);
@@ -2430,11 +2435,11 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2430
2435
  var o = se(e) ? e : F(e), l = se(t) ? t : F(t);
2431
2436
  return this.isValid() && o.isValid() && l.isValid() ? (i = i || "()", (i[0] === "(" ? this.isAfter(o, s) : !this.isBefore(o, s)) && (i[1] === ")" ? this.isBefore(l, s) : !this.isAfter(l, s))) : !1;
2432
2437
  }
2433
- function Ur(e, t) {
2438
+ function zr(e, t) {
2434
2439
  var s = se(e) ? e : F(e), i;
2435
2440
  return this.isValid() && s.isValid() ? (t = ee(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (i = s.valueOf(), this.clone().startOf(t).valueOf() <= i && i <= this.clone().endOf(t).valueOf())) : !1;
2436
2441
  }
2437
- function zr(e, t) {
2442
+ function Ur(e, t) {
2438
2443
  return this.isSame(e, t) || this.isAfter(e, t);
2439
2444
  }
2440
2445
  function Wr(e, t) {
@@ -2534,21 +2539,21 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2534
2539
  function Vs() {
2535
2540
  return this._locale;
2536
2541
  }
2537
- var yt = 1e3, Re = 60 * yt, pt = 60 * Re, Us = (365 * 400 + 97) * 24 * pt;
2542
+ var yt = 1e3, Re = 60 * yt, pt = 60 * Re, zs = (365 * 400 + 97) * 24 * pt;
2538
2543
  function He(e, t) {
2539
2544
  return (e % t + t) % t;
2540
2545
  }
2541
- function zs(e, t, s) {
2542
- return e < 100 && e >= 0 ? new Date(e + 400, t, s) - Us : new Date(e, t, s).valueOf();
2546
+ function Us(e, t, s) {
2547
+ return e < 100 && e >= 0 ? new Date(e + 400, t, s) - zs : new Date(e, t, s).valueOf();
2543
2548
  }
2544
2549
  function Ws(e, t, s) {
2545
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - Us : Date.UTC(e, t, s);
2550
+ return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - zs : Date.UTC(e, t, s);
2546
2551
  }
2547
2552
  function ea(e) {
2548
2553
  var t, s;
2549
2554
  if (e = ee(e), e === void 0 || e === "millisecond" || !this.isValid())
2550
2555
  return this;
2551
- switch (s = this._isUTC ? Ws : zs, e) {
2556
+ switch (s = this._isUTC ? Ws : Us, e) {
2552
2557
  case "year":
2553
2558
  t = s(this.year(), 0, 1);
2554
2559
  break;
@@ -2599,7 +2604,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2599
2604
  var t, s;
2600
2605
  if (e = ee(e), e === void 0 || e === "millisecond" || !this.isValid())
2601
2606
  return this;
2602
- switch (s = this._isUTC ? Ws : zs, e) {
2607
+ switch (s = this._isUTC ? Ws : Us, e) {
2603
2608
  case "year":
2604
2609
  t = s(this.year() + 1, 0, 1) - 1;
2605
2610
  break;
@@ -2706,9 +2711,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2706
2711
  var o = s._locale.erasParse(e, i, s._strict);
2707
2712
  o ? D(s).era = o : D(s).invalidEra = e;
2708
2713
  }
2709
- ), v("y", Ne), v("yy", Ne), v("yyy", Ne), v("yyyy", Ne), v("yo", xa), L(["y", "yy", "yyy", "yyyy"], z), L(["yo"], function(e, t, s, i) {
2714
+ ), v("y", Ne), v("yy", Ne), v("yyy", Ne), v("yyyy", Ne), v("yo", xa), L(["y", "yy", "yyy", "yyyy"], U), L(["yo"], function(e, t, s, i) {
2710
2715
  var o;
2711
- s._locale._eraYearOrdinalRegex && (o = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[z] = s._locale.eraYearOrdinalParse(e, o) : t[z] = parseInt(e, 10);
2716
+ s._locale._eraYearOrdinalRegex && (o = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[U] = s._locale.eraYearOrdinalParse(e, o) : t[U] = parseInt(e, 10);
2712
2717
  });
2713
2718
  function ha(e, t) {
2714
2719
  var s, i, o, l = this._eras || ge("en")._eras;
@@ -2929,8 +2934,8 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2929
2934
  function Ha() {
2930
2935
  return this._isUTC ? "Coordinated Universal Time" : "";
2931
2936
  }
2932
- var p = ze.prototype;
2933
- p.add = Ir, p.calendar = Rr, p.clone = Hr, p.diff = Er, p.endOf = ta, p.format = Zr, p.from = Kr, p.fromNow = Jr, p.to = Qr, p.toNow = Xr, p.get = Gi, p.invalidAt = ua, p.isAfter = Br, p.isBefore = jr, p.isBetween = Vr, p.isSame = Ur, p.isSameOrAfter = zr, p.isSameOrBefore = Wr, p.isValid = la, p.lang = js, p.locale = Bs, p.localeData = Vs, p.max = lr, p.min = or, p.parsingFlags = da, p.set = $i, p.startOf = ea, p.subtract = Yr, p.toArray = ra, p.toObject = aa, p.toDate = na, p.toISOString = Gr, p.inspect = $r, typeof Symbol < "u" && Symbol.for != null && (p[Symbol.for("nodejs.util.inspect.custom")] = function() {
2937
+ var p = Ue.prototype;
2938
+ p.add = Ir, p.calendar = Rr, p.clone = Hr, p.diff = Er, p.endOf = ta, p.format = Zr, p.from = Kr, p.fromNow = Jr, p.to = Qr, p.toNow = Xr, p.get = Gi, p.invalidAt = ua, p.isAfter = Br, p.isBefore = jr, p.isBetween = Vr, p.isSame = zr, p.isSameOrAfter = Ur, p.isSameOrBefore = Wr, p.isValid = la, p.lang = js, p.locale = Bs, p.localeData = Vs, p.max = lr, p.min = or, p.parsingFlags = da, p.set = $i, p.startOf = ea, p.subtract = Yr, p.toArray = ra, p.toObject = aa, p.toDate = na, p.toISOString = Gr, p.inspect = $r, typeof Symbol < "u" && Symbol.for != null && (p[Symbol.for("nodejs.util.inspect.custom")] = function() {
2934
2939
  return "Moment<" + this.format() + ">";
2935
2940
  }), p.toJSON = oa, p.toString = qr, p.unix = ia, p.valueOf = sa, p.creationData = ca, p.eraName = ga, p.eraNarrow = ya, p.eraAbbr = pa, p.eraYear = _a, p.year = gs, p.isLeapYear = qi, p.weekYear = Ma, p.isoWeekYear = Ca, p.quarter = p.quarters = Oa, p.month = bs, p.daysInMonth = nn, p.week = p.weeks = hn, p.isoWeek = p.isoWeeks = mn, p.weeksInYear = Ta, p.weeksInWeekYear = Ia, p.isoWeeksInYear = Da, p.isoWeeksInISOWeekYear = Pa, p.date = qs, p.day = p.days = Cn, p.weekday = Dn, p.isoWeekday = Pn, p.dayOfYear = Na, p.hour = p.hours = An, p.minute = p.minutes = La, p.second = p.seconds = Aa, p.millisecond = p.milliseconds = Gs, p.utcOffset = pr, p.utc = Sr, p.local = br, p.parseZone = kr, p.hasAlignedHourOffset = wr, p.isDST = vr, p.isLocal = Mr, p.isUtcOffset = Cr, p.isUtc = Ls, p.isUTC = Ls, p.zoneAbbr = Ra, p.zoneName = Ha, p.dates = X(
2936
2941
  "dates accessor is deprecated. Use date instead.",
@@ -2983,10 +2988,10 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2983
2988
  function Va(e, t) {
2984
2989
  return Zs(e, t, "months");
2985
2990
  }
2986
- function Ua(e, t) {
2991
+ function za(e, t) {
2987
2992
  return Zs(e, t, "monthsShort");
2988
2993
  }
2989
- function za(e, t, s) {
2994
+ function Ua(e, t, s) {
2990
2995
  return Jt(e, t, s, "weekdays");
2991
2996
  }
2992
2997
  function Wa(e, t, s) {
@@ -3161,7 +3166,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
3161
3166
  s._d = new Date(T(e));
3162
3167
  });
3163
3168
  //! moment.js
3164
- return d.version = "2.30.1", c(F), d.fn = p, d.min = dr, d.max = ur, d.now = cr, d.utc = re, d.unix = Ba, d.months = Va, d.isDate = k, d.locale = ke, d.invalid = et, d.duration = ne, d.isMoment = se, d.weekdays = za, d.parseZone = ja, d.localeData = ge, d.isDuration = ft, d.monthsShort = Ua, d.weekdaysMin = Ea, d.defineLocale = jt, d.updateLocale = jn, d.locales = Vn, d.weekdaysShort = Wa, d.normalizeUnits = ee, d.relativeTimeRounding = So, d.relativeTimeThreshold = bo, d.calendarFormat = Fr, d.prototype = p, d.HTML5_FMT = {
3169
+ return d.version = "2.30.1", c(F), d.fn = p, d.min = dr, d.max = ur, d.now = cr, d.utc = re, d.unix = Ba, d.months = Va, d.isDate = k, d.locale = ke, d.invalid = et, d.duration = ne, d.isMoment = se, d.weekdays = Ua, d.parseZone = ja, d.localeData = ge, d.isDuration = ft, d.monthsShort = za, d.weekdaysMin = Ea, d.defineLocale = jt, d.updateLocale = jn, d.locales = Vn, d.weekdaysShort = Wa, d.normalizeUnits = ee, d.relativeTimeRounding = So, d.relativeTimeThreshold = bo, d.calendarFormat = Fr, d.prototype = p, d.HTML5_FMT = {
3165
3170
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
3166
3171
  // <input type="datetime-local" />
3167
3172
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -3186,7 +3191,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
3186
3191
  }
3187
3192
  (function(r, a) {
3188
3193
  (function(n, d) {
3189
- d(typeof bi == "function" ? Bl() : n.moment);
3194
+ d(typeof bi == "function" ? jl() : n.moment);
3190
3195
  })(Si, function(n) {
3191
3196
  //! moment.js locale configuration
3192
3197
  var d = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, c = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, u = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, S = [
@@ -3299,7 +3304,7 @@ function ri(r, a = "DD/MM/YYYY à HH:mm") {
3299
3304
  return ss(r, a);
3300
3305
  }
3301
3306
  const ai = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)?$/;
3302
- function jl(r, a) {
3307
+ function Vl(r, a) {
3303
3308
  const n = r.replace(/\d+/g, (c) => (+c + 1e5).toString()), d = a.replace(/\d+/g, (c) => (+c + 1e5).toString());
3304
3309
  return n.localeCompare(d);
3305
3310
  }
@@ -3312,7 +3317,7 @@ function li(r) {
3312
3317
  function di(r) {
3313
3318
  return typeof r == "boolean";
3314
3319
  }
3315
- function Vl(r, a, n) {
3320
+ function zl(r, a, n) {
3316
3321
  const d = (r ? 1 : 0) - (a ? 1 : 0);
3317
3322
  return n ? -d : d;
3318
3323
  }
@@ -3323,7 +3328,7 @@ function Ul(r, a) {
3323
3328
  function ui(r) {
3324
3329
  return typeof r == "string" && r.includes("€");
3325
3330
  }
3326
- function zl(r, a, n) {
3331
+ function Wl(r, a, n) {
3327
3332
  const d = parseFloat(r.replace("€", "").replace(",", ".").replace(/\s/g, "").trim()), c = parseFloat(a.replace("€", "").replace(",", ".").replace(/\s/g, "").trim());
3328
3333
  if (isNaN(d) && isNaN(c)) return 0;
3329
3334
  if (isNaN(d)) return 1;
@@ -3336,9 +3341,9 @@ function kt(r, a, n) {
3336
3341
  const f = Ul(r, a);
3337
3342
  if (f !== null) return f;
3338
3343
  if (di(r) && di(a))
3339
- return Vl(r, a, n);
3344
+ return zl(r, a, n);
3340
3345
  if (ai.test(r) && ai.test(a)) {
3341
- const k = jl(r, a);
3346
+ const k = Vl(r, a);
3342
3347
  return n ? k : -k;
3343
3348
  }
3344
3349
  if (oi(r) && oi(a)) {
@@ -3350,14 +3355,14 @@ function kt(r, a, n) {
3350
3355
  return n ? k - W : W - k;
3351
3356
  }
3352
3357
  if (ui(r) && ui(a))
3353
- return zl(r, a, n);
3358
+ return Wl(r, a, n);
3354
3359
  const b = typeof r == "string" ? (d = Ie(r)) == null ? void 0 : d.toLowerCase() : (c = Ie(String(r))) == null ? void 0 : c.toLowerCase(), h = typeof a == "string" ? (u = Ie(a)) == null ? void 0 : u.toLowerCase() : (S = Ie(String(a))) == null ? void 0 : S.toLowerCase(), O = b == null ? void 0 : b.localeCompare(h, void 0, {
3355
3360
  numeric: !0,
3356
3361
  sensitivity: "base"
3357
3362
  });
3358
3363
  return n ? O : -O;
3359
3364
  }
3360
- function Wl(r, a, n = !1) {
3365
+ function El(r, a, n = !1) {
3361
3366
  return !r || !Array.isArray(r) ? r : r.sort((d, c) => {
3362
3367
  const u = d == null ? void 0 : d[a], S = c == null ? void 0 : c[a];
3363
3368
  return kt(u, S, n);
@@ -3397,7 +3402,7 @@ function hi(r, a) {
3397
3402
  }
3398
3403
  Ve(r, n);
3399
3404
  }
3400
- function El(r, a, n = null) {
3405
+ function ql(r, a, n = null) {
3401
3406
  let d = Ye(r);
3402
3407
  d ? n && !d[n] && (d[n] = a) : n ? (d = {}, d[n] = a) : d = a, Ve(r, d);
3403
3408
  }
@@ -3408,7 +3413,7 @@ function Ve(r, a, n = null) {
3408
3413
  let d = Ye(r);
3409
3414
  return n ? d[n] = a : d = a, window.localStorage.setItem(r, JSON.stringify(d));
3410
3415
  }
3411
- const ql = (r, a) => {
3416
+ const Gl = (r, a) => {
3412
3417
  const n = r.__vccOpts || r;
3413
3418
  for (const [d, c] of a)
3414
3419
  n[d] = c;
@@ -3425,7 +3430,7 @@ Ce.add(
3425
3430
  Io,
3426
3431
  Yo
3427
3432
  );
3428
- const Gl = {
3433
+ const $l = {
3429
3434
  name: "AmsomTableDraggable",
3430
3435
  components: { VueDraggableNext: Jo, FontAwesomeIcon: Me },
3431
3436
  props: {
@@ -3681,7 +3686,7 @@ const Gl = {
3681
3686
  return this.deepSorts && this.deepSortsList.length > 0 ? this.deepSortsColumnList(this.deepSortsList, [...this.filtereditems]) : r != null && r.customSort ? ci([...this.filtereditems], this.sortAsc, r.customSort) : r != null && r.formatter || r != null && r.type ? ci([...this.filtereditems], this.sortAsc, (a, n, d) => {
3682
3687
  const c = this.formatColumnValue(a, r), u = this.formatColumnValue(n, r);
3683
3688
  return kt(c, u, d);
3684
- }) : this.sortKey ? Wl([...this.filtereditems], this.sortKey, this.sortAsc) : this.filtereditems;
3689
+ }) : this.sortKey ? El([...this.filtereditems], this.sortKey, this.sortAsc) : this.filtereditems;
3685
3690
  },
3686
3691
  showeditems() {
3687
3692
  const r = this.sortedItems;
@@ -3836,7 +3841,7 @@ const Gl = {
3836
3841
  hi(
3837
3842
  this.localStorageItemName,
3838
3843
  this.getRefactoColumns(this.copyDefaultColumns())
3839
- ), El(this.localStorageItemName, this.maxItemPerPage, "maxItemPerPage");
3844
+ ), ql(this.localStorageItemName, this.maxItemPerPage, "maxItemPerPage");
3840
3845
  let a = Ye(this.localStorageItemName);
3841
3846
  a && (this.columns = this.getColumnsById(a.columns, this.defaultColumns), this.maxItemsPerPage = a.maxItemPerPage);
3842
3847
  }
@@ -4164,44 +4169,44 @@ const Gl = {
4164
4169
  }, 50);
4165
4170
  }
4166
4171
  }
4167
- }, $l = {
4172
+ }, Zl = {
4168
4173
  key: 0,
4169
4174
  class: "mb-3 text-center"
4170
- }, Zl = {
4175
+ }, Kl = {
4171
4176
  key: 1,
4172
4177
  class: "row mb-1 mx-auto"
4173
- }, Kl = {
4178
+ }, Jl = {
4174
4179
  key: 0,
4175
4180
  class: "btn btn-sm btn-outline-secondary cursor-default 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",
4176
4181
  style: { height: "20px" }
4177
- }, Jl = { class: "text-nowrap" }, Ql = { class: "d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1 mx-2 user-select-none" }, Xl = {
4182
+ }, Ql = { class: "text-nowrap" }, Xl = { class: "d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1 mx-2 user-select-none" }, ed = {
4178
4183
  key: 0,
4179
4184
  class: "text-nowrap",
4180
4185
  style: { height: "20px" }
4181
- }, ed = ["value"], td = {
4186
+ }, td = ["value"], sd = {
4182
4187
  key: 1,
4183
4188
  class: "d-flex align-items-center text-nowrap"
4184
- }, sd = {
4189
+ }, id = {
4185
4190
  key: 0,
4186
4191
  class: "d-flex ms-2"
4187
- }, id = { class: "row mx-auto mb-3 rounded-0" }, nd = ["id"], rd = ["id"], ad = ["id", "onDragstart", "onDragend"], od = { class: "d-flex flex-column align-items-center" }, ld = {
4192
+ }, nd = { class: "row mx-auto mb-3 rounded-0" }, rd = ["id"], ad = ["id"], od = ["id", "onDragstart", "onDragend"], ld = { class: "d-flex flex-column align-items-center" }, dd = {
4188
4193
  key: 0,
4189
4194
  class: "mx-auto my-auto mb-2 mt-2 hoverable d-inline-block"
4190
- }, dd = { class: "d-inline-flex text-nowrap" }, ud = {
4195
+ }, ud = { class: "d-inline-flex text-nowrap" }, cd = {
4191
4196
  key: 0,
4192
4197
  class: "ms-2 float-end"
4193
- }, cd = {
4198
+ }, hd = {
4194
4199
  key: 1,
4195
4200
  class: "ms-2"
4196
- }, hd = { key: 1 }, md = ["id"], fd = ["id"], gd = { class: "d-inline-flex text-nowrap" }, yd = {
4201
+ }, md = { key: 1 }, fd = ["id"], gd = ["id"], yd = { class: "d-inline-flex text-nowrap" }, pd = {
4197
4202
  key: 1,
4198
4203
  class: "ms-2 hoverable"
4199
- }, pd = { key: 0 }, _d = ["colspan"], Sd = ["id"], bd = ["onClick", "onContextmenu"], kd = ["data-column-id", "onClick"], wd = ["id", "value"], vd = ["data-column-id"], xd = { class: "row ms-auto mb-2" }, Md = { class: "m-0 pagination pagination-sm" }, Cd = { class: "page-item hoverable" }, Dd = { class: "page-item hoverable" }, Pd = ["onClick"], Td = { class: "page-item hoverable" }, Id = { class: "page-item hoverable" }, Yd = ["id"];
4200
- function Od(r, a, n, d, c, u) {
4204
+ }, _d = { key: 0 }, Sd = ["colspan"], bd = ["id"], kd = ["onClick", "onContextmenu"], wd = ["data-column-id", "onClick"], vd = ["id", "value"], xd = ["data-column-id"], Md = { class: "row ms-auto mb-2" }, Cd = { class: "m-0 pagination pagination-sm" }, Dd = { class: "page-item hoverable" }, Pd = { class: "page-item hoverable" }, Td = ["onClick"], Id = { class: "page-item hoverable" }, Yd = { class: "page-item hoverable" }, Od = ["id"];
4205
+ function Nd(r, a, n, d, c, u) {
4201
4206
  var S;
4202
4207
  const f = Z("font-awesome-icon"), b = Z("vue-draggable-next");
4203
4208
  return g(), _(B, null, [
4204
- n.lineEditMode ? (g(), _("div", $l, [
4209
+ n.lineEditMode ? (g(), _("div", Zl, [
4205
4210
  y("button", {
4206
4211
  type: "button",
4207
4212
  class: "btn btn-success rounded-5 m-0 p-0",
@@ -4214,15 +4219,15 @@ function Od(r, a, n, d, c, u) {
4214
4219
  })
4215
4220
  ])
4216
4221
  ])) : P("", !0),
4217
- n.showLineNumber || n.showModifyColumnsBtn || n.showMaxItemPerPageBtn || n.deepSorts ? (g(), _("div", Zl, [
4222
+ n.showLineNumber || n.showModifyColumnsBtn || n.showMaxItemPerPageBtn || n.deepSorts ? (g(), _("div", Kl, [
4218
4223
  y("div", {
4219
4224
  class: C([
4220
4225
  "d-flex justify-content-start p-0",
4221
4226
  n.deepSorts && c.deepSortsList.length > 0 && n.showModifyColumnsBtn ? "col-12 col-sm-8 col-lg-9 col-xl-10" : "col"
4222
4227
  ])
4223
4228
  }, [
4224
- n.showLineNumber ? (g(), _("div", Kl, [
4225
- y("b", Jl, R(u.showItemsLinesNumber + " / " + u.filtereditems.length), 1),
4229
+ n.showLineNumber ? (g(), _("div", Jl, [
4230
+ y("b", Ql, R(u.showItemsLinesNumber + " / " + u.filtereditems.length), 1),
4226
4231
  a[20] || (a[20] = y("span", { class: "ms-1" }, "lignes", -1))
4227
4232
  ])) : P("", !0),
4228
4233
  n.deepSorts && c.deepSortsList.length > 0 ? (g(), _("div", {
@@ -4238,7 +4243,7 @@ function Od(r, a, n, d, c, u) {
4238
4243
  class: "d-flex flex-wrap",
4239
4244
  "ghost-class": "deep-filter-ghost-class"
4240
4245
  }, {
4241
- default: Ue(() => [
4246
+ default: ze(() => [
4242
4247
  (g(!0), _(B, null, $(c.deepSortsList, (h, O) => (g(), _("div", {
4243
4248
  key: h.id,
4244
4249
  class: "d-flex align-items-center border border-secondary hoverable-grab text-secondary rounded-1 fs-7 px-2 py-0 me-2 mb-1 mb-lg-0",
@@ -4249,7 +4254,7 @@ function Od(r, a, n, d, c, u) {
4249
4254
  icon: "fa-solid fa-xmark",
4250
4255
  onClick: (k) => c.deepSortsList.splice(O, 1)
4251
4256
  }, null, 8, ["onClick"]),
4252
- y("div", Ql, [
4257
+ y("div", Xl, [
4253
4258
  y("span", null, R(h.libelle), 1)
4254
4259
  ]),
4255
4260
  j(f, {
@@ -4270,7 +4275,7 @@ function Od(r, a, n, d, c, u) {
4270
4275
  n.deepSorts && c.deepSortsList.length > 0 ? "col-12 col-sm-4 col-lg-3 col-xl-2 mt-1 mt-sm-0" : "col"
4271
4276
  ])
4272
4277
  }, [
4273
- n.showMaxItemPerPageBtn && !c.headerEditMode ? (g(), _("div", Xl, [
4278
+ n.showMaxItemPerPageBtn && !c.headerEditMode ? (g(), _("div", ed, [
4274
4279
  n.maxItemPerPageList.length > 0 ? Xe((g(), _("select", {
4275
4280
  key: 0,
4276
4281
  "onUpdate:modelValue": a[2] || (a[2] = (h) => c.maxItemsPerPage = h),
@@ -4279,13 +4284,13 @@ function Od(r, a, n, d, c, u) {
4279
4284
  (g(!0), _(B, null, $(n.maxItemPerPageList, (h) => (g(), _("option", {
4280
4285
  key: h.value,
4281
4286
  value: h.value
4282
- }, R(h.text), 9, ed))), 128))
4287
+ }, R(h.text), 9, td))), 128))
4283
4288
  ], 512)), [
4284
- [zo, c.maxItemsPerPage]
4289
+ [Uo, c.maxItemsPerPage]
4285
4290
  ]) : P("", !0)
4286
4291
  ])) : P("", !0),
4287
- n.showModifyColumnsBtn ? (g(), _("div", td, [
4288
- c.headerEditMode ? (g(), _("div", sd, [
4292
+ n.showModifyColumnsBtn ? (g(), _("div", sd, [
4293
+ c.headerEditMode ? (g(), _("div", id, [
4289
4294
  y("button", {
4290
4295
  id: "btn-save-table",
4291
4296
  class: "btn btn-sm btn-success d-flex justify-content-center align-items-center ms-auto me-2 px-2 py-0 rounded-3",
@@ -4309,7 +4314,7 @@ function Od(r, a, n, d, c, u) {
4309
4314
  ])) : P("", !0)
4310
4315
  ], 2)) : P("", !0)
4311
4316
  ])) : P("", !0),
4312
- y("div", id, [
4317
+ y("div", nd, [
4313
4318
  y("div", {
4314
4319
  ref: "scrollContainer",
4315
4320
  class: C(["col-12 p-0 overflow-x-auto mb-2", {
@@ -4346,7 +4351,7 @@ function Od(r, a, n, d, c, u) {
4346
4351
  move: u.checkMove,
4347
4352
  group: "columns"
4348
4353
  }, {
4349
- default: Ue(() => [
4354
+ default: ze(() => [
4350
4355
  (g(!0), _(B, null, $(c.columns, (h, O) => (g(), _(B, {
4351
4356
  key: h.id
4352
4357
  }, [
@@ -4371,7 +4376,7 @@ function Od(r, a, n, d, c, u) {
4371
4376
  }, null, 512), [
4372
4377
  [es, c.checkAllCheckBox]
4373
4378
  ])
4374
- ], 10, rd)) : (h.show || c.headerEditMode) && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4379
+ ], 10, ad)) : (h.show || c.headerEditMode) && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4375
4380
  key: 1,
4376
4381
  id: `${n.tableId}-${h.id}-th-${O}`,
4377
4382
  scope: "col",
@@ -4388,8 +4393,8 @@ function Od(r, a, n, d, c, u) {
4388
4393
  onDragstart: (k) => h.isDragging = !0,
4389
4394
  onDragend: (k) => h.isDragging = !1
4390
4395
  }, [
4391
- y("div", od, [
4392
- c.headerEditMode && !h.keepShow ? (g(), _("div", ld, [
4396
+ y("div", ld, [
4397
+ c.headerEditMode && !h.keepShow ? (g(), _("div", dd, [
4393
4398
  h.show ? (g(), q(f, {
4394
4399
  key: 0,
4395
4400
  icon: "fa-solid fa-eye",
@@ -4402,15 +4407,15 @@ function Od(r, a, n, d, c, u) {
4402
4407
  onClick: (k) => h.show = !0
4403
4408
  }, null, 8, ["onClick"]))
4404
4409
  ])) : P("", !0),
4405
- y("div", dd, [
4410
+ y("div", ud, [
4406
4411
  Q(r.$slots, "tableHeaderTh", { header: h }, void 0, !0),
4407
- h.isSortable && !n.deepSorts ? (g(), _("div", ud, [
4412
+ h.isSortable && !n.deepSorts ? (g(), _("div", cd, [
4408
4413
  j(f, {
4409
4414
  icon: c.sortKey !== h.id || c.sortKey === h.id && !c.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-down-short-wide",
4410
4415
  class: "hoverable",
4411
4416
  onClick: (k) => u.updateCurrentSort(h)
4412
4417
  }, null, 8, ["icon", "onClick"])
4413
- ])) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", cd, [
4418
+ ])) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", hd, [
4414
4419
  j(f, {
4415
4420
  icon: "fa-solid fa-filter",
4416
4421
  onClick: (k) => u.addDeepSort(h)
@@ -4418,11 +4423,11 @@ function Od(r, a, n, d, c, u) {
4418
4423
  ])) : P("", !0)
4419
4424
  ])
4420
4425
  ])
4421
- ], 42, ad)) : P("", !0)
4426
+ ], 42, od)) : P("", !0)
4422
4427
  ], 64))), 128))
4423
4428
  ]),
4424
4429
  _: 3
4425
- }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (g(), _("tr", hd, [
4430
+ }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (g(), _("tr", md, [
4426
4431
  (g(!0), _(B, null, $(c.columns, (h, O) => (g(), _(B, {
4427
4432
  key: h.id
4428
4433
  }, [
@@ -4447,7 +4452,7 @@ function Od(r, a, n, d, c, u) {
4447
4452
  }, null, 512), [
4448
4453
  [es, c.checkAllCheckBox]
4449
4454
  ])
4450
- ], 10, md)) : h.show && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4455
+ ], 10, fd)) : h.show && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4451
4456
  key: 1,
4452
4457
  id: `${n.tableId}-${h.id}-th-${O}`,
4453
4458
  scope: "col",
@@ -4459,7 +4464,7 @@ function Od(r, a, n, d, c, u) {
4459
4464
  n.infiniteScroll ? "sticky-top" : ""
4460
4465
  ]])
4461
4466
  }, [
4462
- y("div", gd, [
4467
+ y("div", yd, [
4463
4468
  Q(r.$slots, "tableHeaderTh", { header: h }, void 0, !0),
4464
4469
  h.isSortable && !n.deepSorts ? (g(), _("div", {
4465
4470
  key: 0,
@@ -4469,19 +4474,19 @@ function Od(r, a, n, d, c, u) {
4469
4474
  icon: c.sortKey !== h.id || c.sortKey === h.id && !c.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-down-short-wide",
4470
4475
  onClick: (k) => u.updateCurrentSort(h)
4471
4476
  }, null, 8, ["icon", "onClick"])
4472
- ], 2)) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", yd, [
4477
+ ], 2)) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", pd, [
4473
4478
  j(f, {
4474
4479
  icon: "fa-solid fa-filter",
4475
4480
  onClick: (k) => u.addDeepSort(h)
4476
4481
  }, null, 8, ["onClick"])
4477
4482
  ])) : P("", !0)
4478
4483
  ])
4479
- ], 10, fd)) : P("", !0)
4484
+ ], 10, gd)) : P("", !0)
4480
4485
  ], 64))), 128))
4481
4486
  ]))
4482
4487
  ]),
4483
4488
  y("tbody", null, [
4484
- ((S = u.showeditems) == null ? void 0 : S.length) === 0 ? (g(), _("tr", pd, [
4489
+ ((S = u.showeditems) == null ? void 0 : S.length) === 0 ? (g(), _("tr", _d, [
4485
4490
  y("th", {
4486
4491
  colspan: c.columns.length,
4487
4492
  class: "text-center",
@@ -4490,8 +4495,8 @@ function Od(r, a, n, d, c, u) {
4490
4495
  y("span", {
4491
4496
  id: `${n.tableId}-no-value`,
4492
4497
  class: "text-danger fs-5"
4493
- }, R(n.noValueText), 9, Sd)
4494
- ], 8, _d)
4498
+ }, R(n.noValueText), 9, bd)
4499
+ ], 8, Sd)
4495
4500
  ])) : (g(!0), _(B, { key: 1 }, $(u.showeditems, (h, O) => (g(), _("tr", {
4496
4501
  key: h.id,
4497
4502
  class: C([
@@ -4529,10 +4534,10 @@ function Od(r, a, n, d, c, u) {
4529
4534
  value: h.id,
4530
4535
  onClick: a[14] || (a[14] = G(() => {
4531
4536
  }, ["stop"]))
4532
- }, null, 8, wd), [
4537
+ }, null, 8, vd), [
4533
4538
  [es, c.selectedItems]
4534
4539
  ])
4535
- ], 10, kd)) : (k.show || c.headerEditMode) && (!k.onlyOnEditMode || n.lineEditMode) ? (g(), _("td", {
4540
+ ], 10, wd)) : (k.show || c.headerEditMode) && (!k.onlyOnEditMode || n.lineEditMode) ? (g(), _("td", {
4536
4541
  key: 1,
4537
4542
  "data-column-id": k.id,
4538
4543
  class: C([[
@@ -4551,14 +4556,14 @@ function Od(r, a, n, d, c, u) {
4551
4556
  }, () => [
4552
4557
  xe(R(u.formatColumnValue(h, k)), 1)
4553
4558
  ], !0)
4554
- ], 10, vd)) : P("", !0)
4559
+ ], 10, xd)) : P("", !0)
4555
4560
  ], 64))), 128))
4556
- ], 46, bd))), 128))
4561
+ ], 46, kd))), 128))
4557
4562
  ])
4558
- ], 14, nd))
4563
+ ], 14, rd))
4559
4564
  ], 38)
4560
4565
  ]),
4561
- y("div", xd, [
4566
+ y("div", Md, [
4562
4567
  !n.infiniteScroll && c.totalPages && c.totalPages > 1 ? (g(), _("div", {
4563
4568
  key: 0,
4564
4569
  class: C(["col p-0 me-3 d-flex", {
@@ -4567,14 +4572,14 @@ function Od(r, a, n, d, c, u) {
4567
4572
  "justify-content-start": n.paginationPosition === "left"
4568
4573
  }])
4569
4574
  }, [
4570
- y("ul", Md, [
4571
- y("li", Cd, [
4575
+ y("ul", Cd, [
4576
+ y("li", Dd, [
4572
4577
  y("a", {
4573
4578
  class: C(["page-link", { disabled: c.currentPage === 1 }]),
4574
4579
  onClick: a[16] || (a[16] = (h) => c.currentPage = 1)
4575
4580
  }, " « ", 2)
4576
4581
  ]),
4577
- y("li", Dd, [
4582
+ y("li", Pd, [
4578
4583
  y("a", {
4579
4584
  class: C(["page-link", { disabled: c.currentPage === 1 }]),
4580
4585
  onClick: a[17] || (a[17] = (h) => c.currentPage -= 1)
@@ -4587,15 +4592,15 @@ function Od(r, a, n, d, c, u) {
4587
4592
  y("a", {
4588
4593
  class: "page-link",
4589
4594
  onClick: (O) => c.currentPage = h
4590
- }, R(h), 9, Pd)
4595
+ }, R(h), 9, Td)
4591
4596
  ], 2))), 128)),
4592
- y("li", Td, [
4597
+ y("li", Id, [
4593
4598
  y("a", {
4594
4599
  class: C(["page-link", { disabled: c.currentPage === c.totalPages }]),
4595
4600
  onClick: a[18] || (a[18] = (h) => c.currentPage += 1)
4596
4601
  }, " > ", 2)
4597
4602
  ]),
4598
- y("li", Id, [
4603
+ y("li", Yd, [
4599
4604
  y("a", {
4600
4605
  class: C(["page-link", { disabled: c.currentPage === c.totalPages }]),
4601
4606
  onClick: a[19] || (a[19] = (h) => c.currentPage = c.totalPages)
@@ -4609,13 +4614,13 @@ function Od(r, a, n, d, c, u) {
4609
4614
  class: C(["bottom-scrollbar", { visible: c.showScrollbar }])
4610
4615
  }, [...a[22] || (a[22] = [
4611
4616
  y("div", { class: "scrollbar-content" }, null, -1)
4612
- ])], 10, Yd)) : P("", !0)
4617
+ ])], 10, Od)) : P("", !0)
4613
4618
  ])
4614
4619
  ], 64);
4615
4620
  }
4616
- const Ru = /* @__PURE__ */ ql(Gl, [["render", Od], ["__scopeId", "data-v-f3204e33"]]);
4621
+ const Hu = /* @__PURE__ */ Gl($l, [["render", Nd], ["__scopeId", "data-v-f3204e33"]]);
4617
4622
  Ce.add(Oo, No, Lo, Ao);
4618
- const Nd = {
4623
+ const Ld = {
4619
4624
  name: "AmsomPagination",
4620
4625
  components: {
4621
4626
  FontAwesomeIcon: Me
@@ -4666,15 +4671,15 @@ const Nd = {
4666
4671
  return r;
4667
4672
  }
4668
4673
  }
4669
- }, Ld = {
4674
+ }, Ad = {
4670
4675
  key: 0,
4671
4676
  class: "w-100 user-select-none"
4672
- }, Ad = { class: "pagination pagination mb-0" }, Fd = { class: "page-item" }, Rd = { class: "page-item" }, Hd = ["onClick"], Bd = { class: "page-item" }, jd = { class: "page-item" };
4673
- function Vd(r, a, n, d, c, u) {
4677
+ }, Fd = { class: "pagination pagination mb-0" }, Rd = { class: "page-item" }, Hd = { class: "page-item" }, Bd = ["onClick"], jd = { class: "page-item" }, Vd = { class: "page-item" };
4678
+ function zd(r, a, n, d, c, u) {
4674
4679
  const S = Z("font-awesome-icon");
4675
- return n.totalPages && n.totalPages > 1 ? (g(), _("div", Ld, [
4676
- y("ul", Ad, [
4677
- y("li", Fd, [
4680
+ return n.totalPages && n.totalPages > 1 ? (g(), _("div", Ad, [
4681
+ y("ul", Fd, [
4682
+ y("li", Rd, [
4678
4683
  y("span", {
4679
4684
  role: "button",
4680
4685
  class: C(["page-link", { disabled: n.modelValue === 1 }]),
@@ -4683,7 +4688,7 @@ function Vd(r, a, n, d, c, u) {
4683
4688
  j(S, { icon: "fa-angles-left" })
4684
4689
  ], 2)
4685
4690
  ]),
4686
- y("li", Rd, [
4691
+ y("li", Hd, [
4687
4692
  y("span", {
4688
4693
  role: "button",
4689
4694
  class: C(["page-link", { disabled: n.modelValue === 1 }]),
@@ -4700,9 +4705,9 @@ function Vd(r, a, n, d, c, u) {
4700
4705
  role: "button",
4701
4706
  class: "page-link",
4702
4707
  onClick: (b) => u.goToPage(f)
4703
- }, R(f), 9, Hd)
4708
+ }, R(f), 9, Bd)
4704
4709
  ], 2))), 128)),
4705
- y("li", Bd, [
4710
+ y("li", jd, [
4706
4711
  y("span", {
4707
4712
  role: "button",
4708
4713
  class: C(["page-link", { disabled: n.modelValue === n.totalPages }]),
@@ -4711,7 +4716,7 @@ function Vd(r, a, n, d, c, u) {
4711
4716
  j(S, { icon: "fa-angle-right" })
4712
4717
  ], 2)
4713
4718
  ]),
4714
- y("li", jd, [
4719
+ y("li", Vd, [
4715
4720
  y("span", {
4716
4721
  role: "button",
4717
4722
  class: C(["page-link", { disabled: n.modelValue === n.totalPages }]),
@@ -4723,7 +4728,7 @@ function Vd(r, a, n, d, c, u) {
4723
4728
  ])
4724
4729
  ])) : P("", !0);
4725
4730
  }
4726
- const Hu = /* @__PURE__ */ de(Nd, [["render", Vd]]), Ud = {
4731
+ const Bu = /* @__PURE__ */ de(Ld, [["render", zd]]), Ud = {
4727
4732
  name: "AmsomSkeleton",
4728
4733
  props: {
4729
4734
  /**
@@ -4745,7 +4750,7 @@ const Hu = /* @__PURE__ */ de(Nd, [["render", Vd]]), Ud = {
4745
4750
  }
4746
4751
  }
4747
4752
  };
4748
- function zd(r, a, n, d, c, u) {
4753
+ function Wd(r, a, n, d, c, u) {
4749
4754
  return g(), _("div", {
4750
4755
  class: C(["container row placeholder-wave", n.rowClass])
4751
4756
  }, [
@@ -4755,12 +4760,12 @@ function zd(r, a, n, d, c, u) {
4755
4760
  }, null, 2))), 128))
4756
4761
  ], 2);
4757
4762
  }
4758
- const Wd = /* @__PURE__ */ de(Ud, [["render", zd]]);
4763
+ const Ed = /* @__PURE__ */ de(Ud, [["render", Wd]]);
4759
4764
  Ce.add(Fo, is);
4760
- const Ed = {
4765
+ const qd = {
4761
4766
  name: "AmsomDocumentList",
4762
4767
  components: {
4763
- AmsomSkeleton: Wd,
4768
+ AmsomSkeleton: Ed,
4764
4769
  AmsomOverlay: _i,
4765
4770
  AmsomCard: ml,
4766
4771
  FontAwesomeIcon: Me
@@ -4814,16 +4819,16 @@ const Ed = {
4814
4819
  qo(a), this.processing = !1;
4815
4820
  }
4816
4821
  }
4817
- }, qd = { key: 0 }, Gd = { class: "d-flex justify-content-between text-primary" }, $d = { class: "mb-0" }, Zd = { class: "mb-0" }, Kd = ["onClick"], Jd = {
4822
+ }, Gd = { key: 0 }, $d = { class: "d-flex justify-content-between text-primary" }, Zd = { class: "mb-0" }, Kd = { class: "mb-0" }, Jd = ["onClick"], Qd = {
4818
4823
  role: "button",
4819
4824
  class: "d-flex justify-content-between align-items-center p-2 px-3 text-secondary"
4820
- }, Qd = { key: 0 }, Xd = { key: 1 };
4821
- function eu(r, a, n, d, c, u) {
4825
+ }, Xd = { key: 0 }, eu = { key: 1 };
4826
+ function tu(r, a, n, d, c, u) {
4822
4827
  const S = Z("amsom-skeleton"), f = Z("font-awesome-icon"), b = Z("amsom-card"), h = Z("amsom-overlay");
4823
4828
  return g(), q(h, { loading: c.processing }, {
4824
- default: Ue(() => [
4829
+ default: ze(() => [
4825
4830
  j(b, null, {
4826
- default: Ue(() => {
4831
+ default: ze(() => {
4827
4832
  var O;
4828
4833
  return [
4829
4834
  y("h5", null, R(n.title), 1),
@@ -4838,16 +4843,16 @@ function eu(r, a, n, d, c, u) {
4838
4843
  key: W,
4839
4844
  class: "document-item pt-2"
4840
4845
  }, [
4841
- y("div", Gd, [
4842
- y("p", $d, R(k.categorie), 1),
4843
- y("p", Zd, R(u.unixToDateString(k.dateFichier)), 1)
4846
+ y("div", $d, [
4847
+ y("p", Zd, R(k.categorie), 1),
4848
+ y("p", Kd, R(u.unixToDateString(k.dateFichier)), 1)
4844
4849
  ]),
4845
4850
  y("div", {
4846
4851
  class: "bg-primary bg-opacity-25 mt-0 rounded-3",
4847
4852
  onClick: (ue) => u.handleClick(k, W)
4848
4853
  }, [
4849
- y("div", Jd, [
4850
- n.anonym ? (g(), _("strong", Xd, "Document " + R(W + 1), 1)) : (g(), _("strong", Qd, R(k.titre), 1)),
4854
+ y("div", Qd, [
4855
+ n.anonym ? (g(), _("strong", eu, "Document " + R(W + 1), 1)) : (g(), _("strong", Xd, R(k.titre), 1)),
4851
4856
  n.clickAction === "download" ? (g(), q(f, {
4852
4857
  key: 2,
4853
4858
  icon: "fa-solid fa-cloud-arrow-down"
@@ -4856,8 +4861,8 @@ function eu(r, a, n, d, c, u) {
4856
4861
  icon: "fa-solid fa-eye"
4857
4862
  })) : P("", !0)
4858
4863
  ])
4859
- ], 8, Kd)
4860
- ]))), 128)) : (g(), _("div", qd, [...a[0] || (a[0] = [
4864
+ ], 8, Jd)
4865
+ ]))), 128)) : (g(), _("div", Gd, [...a[0] || (a[0] = [
4861
4866
  y("p", null, "Aucun document", -1)
4862
4867
  ])]))
4863
4868
  ], 64))
@@ -4869,9 +4874,9 @@ function eu(r, a, n, d, c, u) {
4869
4874
  _: 1
4870
4875
  }, 8, ["loading"]);
4871
4876
  }
4872
- const Bu = /* @__PURE__ */ de(Ed, [["render", eu]]);
4877
+ const ju = /* @__PURE__ */ de(qd, [["render", tu]]);
4873
4878
  Ce.add(Ro, is, gi, Ho, Bo, jo);
4874
- const tu = window.File_native ?? window.File, su = {
4879
+ const su = window.File_native ?? window.File, iu = {
4875
4880
  name: "AmsomUploadFile",
4876
4881
  components: { FontAwesomeIcon: Me, AmsomOverlay: _i },
4877
4882
  props: ["name", "pjName", "fileName", "subText", "title", "required", "label", "modelValue", "gedFile", "readStatus", "readOnly", "rejectStatus", "clickFileHandler"],
@@ -4954,7 +4959,7 @@ const tu = window.File_native ?? window.File, su = {
4954
4959
  await r.add(f);
4955
4960
  } else
4956
4961
  await r.add(u);
4957
- let n = await r.saveAsBlob(), d = new tu([n], "doc.pdf", {
4962
+ let n = await r.saveAsBlob(), d = new su([n], "doc.pdf", {
4958
4963
  type: "application/pdf"
4959
4964
  }), c = await pi(d, "pdf");
4960
4965
  c.name = this.fileName, this.finalFile = c, this.emitFile(), this.$emit("fileLoading", !1), this.fileLoading = !1;
@@ -4966,32 +4971,32 @@ const tu = window.File_native ?? window.File, su = {
4966
4971
  this.finalFile = null, this.emitFile(), this.$emit("deleteFile"), this.fileToUpload = [];
4967
4972
  }
4968
4973
  }
4969
- }, iu = { class: "position-relative" }, nu = ["id"], ru = ["id", "for"], au = { class: "" }, ou = { class: "flex-grow-1" }, lu = { class: "fs-6 fw-bold" }, du = {
4974
+ }, nu = { class: "position-relative" }, ru = ["id"], au = ["id", "for"], ou = { class: "" }, lu = { class: "flex-grow-1" }, du = { class: "fs-6 fw-bold" }, uu = {
4970
4975
  class: "text-primary form-text fst-italic",
4971
4976
  style: { "font-size": "smaller" }
4972
- }, uu = ["id", "required", "name"], cu = {
4977
+ }, cu = ["id", "required", "name"], hu = {
4973
4978
  key: 1,
4974
4979
  class: "w-100"
4975
- }, hu = {
4980
+ }, mu = {
4976
4981
  key: 0,
4977
4982
  class: "text-decoration-underline"
4978
- }, mu = { class: "p-2 d-flex align-items-center" }, fu = {
4983
+ }, fu = { class: "p-2 d-flex align-items-center" }, gu = {
4979
4984
  key: 3,
4980
4985
  class: "text-muted"
4981
- }, gu = {
4986
+ }, yu = {
4982
4987
  key: 0,
4983
4988
  class: "me-2"
4984
- }, yu = ["id"], pu = ["id"], _u = { key: 1 }, Su = ["id"];
4985
- function bu(r, a, n, d, c, u) {
4989
+ }, pu = ["id"], _u = ["id"], Su = { key: 1 }, bu = ["id"];
4990
+ function ku(r, a, n, d, c, u) {
4986
4991
  const S = Z("font-awesome-icon"), f = Z("amsom-overlay");
4987
4992
  return g(), q(f, { loading: c.fileLoading }, {
4988
- default: Ue(() => {
4993
+ default: ze(() => {
4989
4994
  var b;
4990
4995
  return [
4991
- y("div", iu, [
4992
- (b = c.finalFile) != null && b.file ? (g(), _("div", cu, [
4993
- n.title ? (g(), _("h5", hu, R(n.title), 1)) : P("", !0),
4994
- y("div", mu, [
4996
+ y("div", nu, [
4997
+ (b = c.finalFile) != null && b.file ? (g(), _("div", hu, [
4998
+ n.title ? (g(), _("h5", mu, R(n.title), 1)) : P("", !0),
4999
+ y("div", fu, [
4995
5000
  y("div", {
4996
5001
  role: "button",
4997
5002
  class: "hoverable flex-grow-1",
@@ -5014,9 +5019,9 @@ function bu(r, a, n, d, c, u) {
5014
5019
  })) : P("", !0),
5015
5020
  j(S, { icon: "fa-solid fa-solid fa-paperclip" }),
5016
5021
  xe(" " + R(n.pjName), 1),
5017
- c.fileToUpload.length > 1 ? (g(), _("small", fu, " (" + R(c.fileToUpload.length) + " Fichiers)", 1)) : P("", !0)
5022
+ c.fileToUpload.length > 1 ? (g(), _("small", gu, " (" + R(c.fileToUpload.length) + " Fichiers)", 1)) : P("", !0)
5018
5023
  ]),
5019
- n.readOnly ? P("", !0) : Xe((g(), _("div", gu, [
5024
+ n.readOnly ? P("", !0) : Xe((g(), _("div", yu, [
5020
5025
  y("input", {
5021
5026
  id: "fileUpload-" + n.name,
5022
5027
  type: "file",
@@ -5025,7 +5030,7 @@ function bu(r, a, n, d, c, u) {
5025
5030
  hidden: "",
5026
5031
  multiple: "",
5027
5032
  onChange: a[9] || (a[9] = (...h) => u.addPj && u.addPj(...h))
5028
- }, null, 40, yu),
5033
+ }, null, 40, pu),
5029
5034
  y("button", {
5030
5035
  id: "add-field-" + n.name,
5031
5036
  type: "button",
@@ -5040,17 +5045,17 @@ function bu(r, a, n, d, c, u) {
5040
5045
  xe(" Ajouter"),
5041
5046
  y("span", { class: "d-none d-md-block" }, " un document")
5042
5047
  ], -1))
5043
- ], 8, pu)
5048
+ ], 8, _u)
5044
5049
  ], 512)), [
5045
5050
  [Wo, c.fileToUpload.length > 0]
5046
5051
  ]),
5047
- n.readOnly ? P("", !0) : (g(), _("div", _u, [
5052
+ n.readOnly ? P("", !0) : (g(), _("div", Su, [
5048
5053
  y("button", {
5049
5054
  id: "delete-all-pj-" + n.name,
5050
5055
  type: "button",
5051
5056
  class: "btn btn-link text-danger hoverable text-decoration-underline p-0",
5052
5057
  onClick: a[11] || (a[11] = (...h) => u.deletePj && u.deletePj(...h))
5053
- }, " Supprimer ", 8, Su)
5058
+ }, " Supprimer ", 8, bu)
5054
5059
  ]))
5055
5060
  ])
5056
5061
  ])) : (g(), _("div", {
@@ -5073,16 +5078,16 @@ function bu(r, a, n, d, c, u) {
5073
5078
  onDragenter: a[6] || (a[6] = G((h) => c.fileDragged = !0, ["prevent", "stop"])),
5074
5079
  onDragleave: a[7] || (a[7] = G((h) => c.fileDragged = !1, ["prevent", "stop"]))
5075
5080
  }, [
5076
- y("div", au, [
5081
+ y("div", ou, [
5077
5082
  j(S, {
5078
5083
  icon: ["fas", "cloud-arrow-up"],
5079
5084
  size: "3x",
5080
5085
  "beat-fade": c.fileDragged
5081
5086
  }, null, 8, ["beat-fade"])
5082
5087
  ]),
5083
- y("div", ou, [
5084
- y("div", lu, R(n.label ?? n.pjName), 1),
5085
- y("small", du, R(n.subText), 1),
5088
+ y("div", lu, [
5089
+ y("div", du, R(n.label ?? n.pjName), 1),
5090
+ y("small", uu, R(n.subText), 1),
5086
5091
  a[12] || (a[12] = y("hr", { class: "mx-auto w-50 m-0 mb-1" }, null, -1)),
5087
5092
  a[13] || (a[13] = y("small", {
5088
5093
  class: "d-block text-muted",
@@ -5104,16 +5109,16 @@ function bu(r, a, n, d, c, u) {
5104
5109
  required: n.required,
5105
5110
  name: "pj" + n.name,
5106
5111
  onChange: a[0] || (a[0] = (...h) => u.addPj && u.addPj(...h))
5107
- }, null, 40, uu)
5108
- ], 42, ru)
5109
- ], 8, nu))
5112
+ }, null, 40, cu)
5113
+ ], 42, au)
5114
+ ], 8, ru))
5110
5115
  ])
5111
5116
  ];
5112
5117
  }),
5113
5118
  _: 1
5114
5119
  }, 8, ["loading"]);
5115
5120
  }
5116
- const ju = /* @__PURE__ */ de(su, [["render", bu]]), ku = {
5121
+ const Vu = /* @__PURE__ */ de(iu, [["render", ku]]), wu = {
5117
5122
  name: "SliderSwitch",
5118
5123
  props: {
5119
5124
  listSection: {
@@ -5178,12 +5183,12 @@ const ju = /* @__PURE__ */ de(su, [["render", bu]]), ku = {
5178
5183
  a.style.width = n.clientWidth + "px", a.style.left = n.offsetLeft + "px";
5179
5184
  }
5180
5185
  }
5181
- }, wu = {
5186
+ }, vu = {
5182
5187
  class: "d-flex align-items-center justify-content-center mb-2 w-100 p-0",
5183
5188
  style: { "border-radius": "1em" }
5184
- }, vu = ["id", "onClick"];
5185
- function xu(r, a, n, d, c, u) {
5186
- return g(), _("div", wu, [
5189
+ }, xu = ["id", "onClick"];
5190
+ function Mu(r, a, n, d, c, u) {
5191
+ return g(), _("div", vu, [
5187
5192
  y("ul", {
5188
5193
  id: "switch-section",
5189
5194
  class: C(["d-flex justify-content-center rounded-5 p-2 m-0 position-relative w-100", [n.containerClass, { disabled: n.disabled }]])
@@ -5200,26 +5205,26 @@ function xu(r, a, n, d, c, u) {
5200
5205
  ]]),
5201
5206
  role: "button",
5202
5207
  onClick: (f) => u.switchSection(S.id)
5203
- }, R(S.name), 11, vu))), 128)),
5208
+ }, R(S.name), 11, xu))), 128)),
5204
5209
  y("span", {
5205
5210
  class: C(["slider position-absolute", n.bubbleClass])
5206
5211
  }, null, 2)
5207
5212
  ], 2)
5208
5213
  ]);
5209
5214
  }
5210
- const Vu = /* @__PURE__ */ de(ku, [["render", xu], ["__scopeId", "data-v-02559b82"]]);
5215
+ const zu = /* @__PURE__ */ de(wu, [["render", Mu], ["__scopeId", "data-v-02559b82"]]);
5211
5216
  export {
5212
5217
  ml as AmsomCard,
5213
- Bu as AmsomDocumentList,
5214
- Au as AmsomHorizontalStepper,
5215
- Fu as AmsomImage,
5218
+ ju as AmsomDocumentList,
5219
+ Fu as AmsomHorizontalStepper,
5220
+ Ru as AmsomImage,
5216
5221
  ol as AmsomModal,
5217
5222
  _i as AmsomOverlay,
5218
- Hu as AmsomPagination,
5219
- Wd as AmsomSkeleton,
5220
- Vu as AmsomSliderSwitch,
5221
- Ru as AmsomTableDraggable,
5222
- ju as AmsomUploadFile,
5223
- Lu as AmsomVerticalStepper,
5223
+ Bu as AmsomPagination,
5224
+ Ed as AmsomSkeleton,
5225
+ zu as AmsomSliderSwitch,
5226
+ Hu as AmsomTableDraggable,
5227
+ Vu as AmsomUploadFile,
5228
+ Au as AmsomVerticalStepper,
5224
5229
  ol as default
5225
5230
  };