@amsom-habitat/ui 2.20.12 → 2.20.13

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 +232 -230
  2. package/dist/ui.umd.cjs +4 -4
  3. package/package.json +1 -1
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, 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 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,8 @@ 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 = { style: { position: "relative", "z-index": "1" } };
379
+ function _l(r, a, n, d, c, u) {
380
380
  return g(), _("div", gl, [
381
381
  n.loading ? (g(), _("div", {
382
382
  key: 0,
@@ -399,12 +399,14 @@ function pl(r, a, n, d, c, u) {
399
399
  ])
400
400
  ])
401
401
  ], 4)) : P("", !0),
402
- Q(r.$slots, "default")
402
+ y("div", pl, [
403
+ Q(r.$slots, "default")
404
+ ])
403
405
  ]);
404
406
  }
405
- const _i = /* @__PURE__ */ de(fl, [["render", pl]]);
407
+ const _i = /* @__PURE__ */ de(fl, [["render", _l]]);
406
408
  Ce.add(mi);
407
- const _l = {
409
+ const Sl = {
408
410
  name: "WorkflowAssuranceBlock",
409
411
  components: {
410
412
  FontAwesomeIcon: Me
@@ -510,18 +512,18 @@ const _l = {
510
512
  }
511
513
  }
512
514
  }
513
- }, Sl = { class: "d-flex flex-column align-items-center" }, bl = ["onClick"], kl = {
515
+ }, bl = { class: "d-flex flex-column align-items-center" }, kl = ["onClick"], wl = {
514
516
  key: 0,
515
517
  class: "line h-100",
516
518
  style: { height: "30px", "min-height": "30px" }
517
519
  };
518
- function wl(r, a, n, d, c, u) {
520
+ function vl(r, a, n, d, c, u) {
519
521
  const S = Z("font-awesome-icon");
520
522
  return g(!0), _(B, null, $(n.steps, (f, b) => (g(), _("div", {
521
523
  key: f.numero,
522
524
  class: "d-flex mb-1"
523
525
  }, [
524
- y("div", Sl, [
526
+ y("div", bl, [
525
527
  y("div", {
526
528
  style: K({
527
529
  width: u.bubbleSize + "rem",
@@ -542,8 +544,8 @@ function wl(r, a, n, d, c, u) {
542
544
  })) : (g(), _(B, { key: 1 }, [
543
545
  xe(R(f.numero), 1)
544
546
  ], 64))
545
- ], 14, bl),
546
- b < n.steps.length - 1 ? (g(), _("div", kl)) : P("", !0)
547
+ ], 14, kl),
548
+ b < n.steps.length - 1 ? (g(), _("div", wl)) : P("", !0)
547
549
  ]),
548
550
  n.hideText ? P("", !0) : (g(), _("span", {
549
551
  key: 0,
@@ -559,7 +561,7 @@ function wl(r, a, n, d, c, u) {
559
561
  ], 6))
560
562
  ]))), 128);
561
563
  }
562
- const Lu = /* @__PURE__ */ de(_l, [["render", wl], ["__scopeId", "data-v-5eab4376"]]);
564
+ const Au = /* @__PURE__ */ de(Sl, [["render", vl], ["__scopeId", "data-v-5eab4376"]]);
563
565
  Ce.add(mi);
564
566
  const ns = {
565
567
  name: "AmsomHorizontalStepper",
@@ -686,7 +688,7 @@ const ns = {
686
688
  }
687
689
  }
688
690
  }, ei = () => {
689
- Uo((r) => ({
691
+ zo((r) => ({
690
692
  v31536048: r.futureStepBgColorCss,
691
693
  dac29eac: r.bubbleSize + "rem",
692
694
  a3a0806e: r.passedStepBgColorCss,
@@ -694,10 +696,10 @@ const ns = {
694
696
  }));
695
697
  }, ti = ns.setup;
696
698
  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) {
699
+ const xl = { class: "d-flex justify-content-between" }, Ml = ["role", "onClick"];
700
+ function Cl(r, a, n, d, c, u) {
699
701
  const S = Z("font-awesome-icon");
700
- return g(), _("div", vl, [
702
+ return g(), _("div", xl, [
701
703
  (g(!0), _(B, null, $(n.steps, (f, b) => (g(), _("div", {
702
704
  key: f.numero,
703
705
  role: f.numero < n.currentStep ? "button" : "none",
@@ -728,12 +730,12 @@ function Ml(r, a, n, d, c, u) {
728
730
  class: C(["step-name", [b + 1 < n.currentStep ? n.passedStepTextCss : b + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
729
731
  style: K({ fontSize: u.fontSizeText + "rem" })
730
732
  }, R(f.texte), 7))
731
- ], 10, xl))), 128))
733
+ ], 10, Ml))), 128))
732
734
  ]);
733
735
  }
734
- const Au = /* @__PURE__ */ de(ns, [["render", Ml]]);
736
+ const Fu = /* @__PURE__ */ de(ns, [["render", Cl]]);
735
737
  Ce.add(vo, fi, xo, Mo);
736
- const Cl = {
738
+ const Dl = {
737
739
  name: "PhotoComponent",
738
740
  components: {
739
741
  AmsomModal: ol,
@@ -805,16 +807,16 @@ const Cl = {
805
807
  }
806
808
  }
807
809
  }
808
- }, Dl = { class: "border border-1 border-grey rounded-4 p-2 d-flex align-items-center" }, Pl = ["disabled"], Tl = ["capture"], Il = {
810
+ }, Pl = { class: "border border-1 border-grey rounded-4 p-2 d-flex align-items-center" }, Tl = ["disabled"], Il = ["capture"], Yl = {
809
811
  key: 0,
810
812
  class: "d-flex overflow-x-auto w-100"
811
- }, Yl = ["onClick"], Ol = ["src", "alt"], Nl = {
813
+ }, Ol = ["onClick"], Nl = ["src", "alt"], Ll = {
812
814
  key: 1,
813
815
  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) {
816
+ }, 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" };
817
+ function Bl(r, a, n, d, c, u) {
816
818
  const S = Z("font-awesome-icon"), f = Z("amsom-modal");
817
- return g(), _("div", Dl, [
819
+ return g(), _("div", Pl, [
818
820
  y("button", {
819
821
  type: "button",
820
822
  class: "btn rounded-4 me-1 d-flex justify-content-center align-items-center",
@@ -854,9 +856,9 @@ function Hl(r, a, n, d, c, u) {
854
856
  multiple: "",
855
857
  capture: n.capture,
856
858
  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, [
859
+ }, null, 40, Il))
860
+ ], 12, Tl),
861
+ n.images.length > 0 ? (g(), _("div", Yl, [
860
862
  (g(!0), _(B, null, $(n.images, (b) => (g(), _("button", {
861
863
  key: b,
862
864
  type: "button",
@@ -873,27 +875,27 @@ function Hl(r, a, n, d, c, u) {
873
875
  src: "data:" + (b == null ? void 0 : b.type) + ";base64," + (b == null ? void 0 : b.file),
874
876
  class: "h-100 w-100 rounded-1",
875
877
  alt: b == null ? void 0 : b.nomFichier
876
- }, null, 8, Ol)
877
- ], 12, Yl))), 128))
878
- ])) : (g(), _("div", Nl, " Ajouter une image ")),
878
+ }, null, 8, Nl)
879
+ ], 12, Ol))), 128))
880
+ ])) : (g(), _("div", Ll, " Ajouter une image ")),
879
881
  c.showModal ? (g(), q(f, {
880
882
  key: 2,
881
883
  size: "sm",
882
884
  "close-option": "",
883
885
  onClose: u.closeModal
884
886
  }, {
885
- default: Ue(() => {
887
+ default: ze(() => {
886
888
  var b, h, O;
887
889
  return [
888
- y("div", Ll, [
889
- y("div", Al, [
890
+ y("div", Al, [
891
+ y("div", Fl, [
890
892
  y("img", {
891
893
  src: "data:" + ((b = n.images[c.selectedPhotoIndex]) == null ? void 0 : b.type) + ";base64," + ((h = n.images[c.selectedPhotoIndex]) == null ? void 0 : h.file),
892
894
  alt: (O = n.images[c.selectedPhotoIndex]) == null ? void 0 : O.nomFichier,
893
895
  class: "h-100 w-100"
894
- }, null, 8, Fl)
896
+ }, null, 8, Rl)
895
897
  ]),
896
- y("div", Rl, [
898
+ y("div", Hl, [
897
899
  y("button", {
898
900
  type: "button",
899
901
  class: "btn btn-primary mx-1",
@@ -932,13 +934,13 @@ function Hl(r, a, n, d, c, u) {
932
934
  }, 8, ["onClose"])) : P("", !0)
933
935
  ]);
934
936
  }
935
- const Fu = /* @__PURE__ */ de(Cl, [["render", Hl]]);
937
+ const Ru = /* @__PURE__ */ de(Dl, [["render", Bl]]);
936
938
  var Si = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
937
939
  function bi(r) {
938
940
  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
941
  }
940
942
  var si = { exports: {} }, ii;
941
- function Bl() {
943
+ function jl() {
942
944
  return ii || (ii = 1, function(r, a) {
943
945
  (function(n, d) {
944
946
  r.exports = d();
@@ -1044,11 +1046,11 @@ function Bl() {
1044
1046
  i = rs[s], o = t[i], h(o) || (e[i] = o);
1045
1047
  return e;
1046
1048
  }
1047
- function ze(e) {
1049
+ function Ue(e) {
1048
1050
  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
1051
  }
1050
1052
  function se(e) {
1051
- return e instanceof ze || e != null && e._isAMomentObject != null;
1053
+ return e instanceof Ue || e != null && e._isAMomentObject != null;
1052
1054
  }
1053
1055
  function as(e) {
1054
1056
  d.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
@@ -1312,9 +1314,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1312
1314
  };
1313
1315
  }
1314
1316
  function Vi(e, t) {
1315
- return f(lt, e) ? lt[e](t._strict, t._locale) : new RegExp(Ui(e));
1317
+ return f(lt, e) ? lt[e](t._strict, t._locale) : new RegExp(zi(e));
1316
1318
  }
1317
- function Ui(e) {
1319
+ function zi(e) {
1318
1320
  return ce(
1319
1321
  e.replace("\\", "").replace(
1320
1322
  /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
@@ -1347,24 +1349,24 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1347
1349
  o._w = o._w || {}, t(s, o._w, o, l);
1348
1350
  });
1349
1351
  }
1350
- function zi(e, t, s) {
1352
+ function Ui(e, t, s) {
1351
1353
  t != null && f(At, e) && At[e](t, s._a, s, e);
1352
1354
  }
1353
1355
  function dt(e) {
1354
1356
  return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
1355
1357
  }
1356
- var z = 0, he = 1, le = 2, U = 3, ie = 4, me = 5, De = 6, Wi = 7, Ei = 8;
1358
+ var U = 0, he = 1, le = 2, z = 3, ie = 4, me = 5, De = 6, Wi = 7, Ei = 8;
1357
1359
  x("Y", 0, 0, function() {
1358
1360
  var e = this.year();
1359
1361
  return e <= 9999 ? oe(e, 4) : "+" + e;
1360
1362
  }), x(0, ["YY", 2], 0, function() {
1361
1363
  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);
1364
+ }), 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) {
1365
+ t[U] = e.length === 2 ? d.parseTwoDigitYear(e) : T(e);
1364
1366
  }), L("YY", function(e, t) {
1365
- t[z] = d.parseTwoDigitYear(e);
1367
+ t[U] = d.parseTwoDigitYear(e);
1366
1368
  }), L("Y", function(e, t) {
1367
- t[z] = parseInt(e, 10);
1369
+ t[U] = parseInt(e, 10);
1368
1370
  });
1369
1371
  function qe(e) {
1370
1372
  return dt(e) ? 366 : 365;
@@ -1749,25 +1751,25 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1749
1751
  function Ms(e, t) {
1750
1752
  return t._meridiemParse;
1751
1753
  }
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) {
1754
+ 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
1755
  var i = T(e);
1754
- t[U] = i === 24 ? 0 : i;
1756
+ t[z] = i === 24 ? 0 : i;
1755
1757
  }), L(["a", "A"], function(e, t, s) {
1756
1758
  s._isPm = s._locale.isPM(e), s._meridiem = e;
1757
1759
  }), L(["h", "hh"], function(e, t, s) {
1758
- t[U] = T(e), D(s).bigHour = !0;
1760
+ t[z] = T(e), D(s).bigHour = !0;
1759
1761
  }), L("hmm", function(e, t, s) {
1760
1762
  var i = e.length - 2;
1761
- t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i)), D(s).bigHour = !0;
1763
+ t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i)), D(s).bigHour = !0;
1762
1764
  }), L("hmmss", function(e, t, s) {
1763
1765
  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;
1766
+ 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
1767
  }), L("Hmm", function(e, t, s) {
1766
1768
  var i = e.length - 2;
1767
- t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i));
1769
+ t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i));
1768
1770
  }), L("Hmmss", function(e, t, s) {
1769
1771
  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));
1772
+ t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o));
1771
1773
  });
1772
1774
  function Nn(e) {
1773
1775
  return (e + "").toLowerCase().charAt(0) === "p";
@@ -1881,9 +1883,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1881
1883
  }
1882
1884
  function Vt(e) {
1883
1885
  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;
1886
+ 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
1887
  }
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 = [
1888
+ 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
1889
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1888
1890
  ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1889
1891
  ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
@@ -1897,7 +1899,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1897
1899
  ["YYYYDDD", /\d{7}/],
1898
1900
  ["YYYYMM", /\d{6}/, !1],
1899
1901
  ["YYYY", /\d{4}/, !1]
1900
- ], Ut = [
1902
+ ], zt = [
1901
1903
  ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1902
1904
  ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1903
1905
  ["HH:mm:ss", /\d\d:\d\d:\d\d/],
@@ -1920,7 +1922,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1920
1922
  PST: -8 * 60
1921
1923
  };
1922
1924
  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;
1925
+ var t, s, i = e._i, o = zn.exec(i) || Un.exec(i), l, m, w, M, I = ht.length, E = zt.length;
1924
1926
  if (o) {
1925
1927
  for (D(e).iso = !0, t = 0, s = I; t < s; t++)
1926
1928
  if (ht[t][1].exec(o[1])) {
@@ -1933,8 +1935,8 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1933
1935
  }
1934
1936
  if (o[3]) {
1935
1937
  for (t = 0, s = E; t < s; t++)
1936
- if (Ut[t][1].exec(o[3])) {
1937
- w = (o[2] || " ") + Ut[t][0];
1938
+ if (zt[t][1].exec(o[3])) {
1939
+ w = (o[2] || " ") + zt[t][0];
1938
1940
  break;
1939
1941
  }
1940
1942
  if (w == null) {
@@ -2043,26 +2045,26 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2043
2045
  t.getUTCDate()
2044
2046
  ] : [t.getFullYear(), t.getMonth(), t.getDate()];
2045
2047
  }
2046
- function zt(e) {
2048
+ function Ut(e) {
2047
2049
  var t, s, i = [], o, l, m;
2048
2050
  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)
2051
+ 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
2052
  e._a[t] = i[t] = o[t];
2051
2053
  for (; t < 7; t++)
2052
2054
  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(
2055
+ 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
2056
  null,
2055
2057
  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);
2058
+ ), 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
2059
  }
2058
2060
  }
2059
2061
  function tr(e) {
2060
2062
  var t, s, i, o, l, m, w, M, I;
2061
2063
  t = e._w, t.GG != null || t.W != null || t.E != null ? (l = 1, m = 4, s = Fe(
2062
2064
  t.GG,
2063
- e._a[z],
2065
+ e._a[U],
2064
2066
  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);
2067
+ ), 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
2068
  }
2067
2069
  d.ISO_8601 = function() {
2068
2070
  }, d.RFC_2822 = function() {
@@ -2081,12 +2083,12 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2081
2083
  for (o = ds(e._f, e._locale).match(Tt) || [], E = o.length, s = 0; s < E; s++)
2082
2084
  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
2085
  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(
2086
+ ), 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);
2087
+ 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
2088
  e._locale,
2087
- e._a[U],
2089
+ e._a[z],
2088
2090
  e._meridiem
2089
- ), I = D(e).era, I !== null && (e._a[z] = e._locale.erasConvertYear(I, e._a[z])), zt(e), Vt(e);
2091
+ ), I = D(e).era, I !== null && (e._a[U] = e._locale.erasConvertYear(I, e._a[U])), Ut(e), Vt(e);
2090
2092
  }
2091
2093
  function sr(e, t, s) {
2092
2094
  var i;
@@ -2110,22 +2112,22 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2110
2112
  function(i) {
2111
2113
  return i && parseInt(i, 10);
2112
2114
  }
2113
- ), zt(e);
2115
+ ), Ut(e);
2114
2116
  }
2115
2117
  }
2116
2118
  function rr(e) {
2117
- var t = new ze(Vt(Is(e)));
2119
+ var t = new Ue(Vt(Is(e)));
2118
2120
  return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
2119
2121
  }
2120
2122
  function Is(e) {
2121
2123
  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));
2124
+ 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
2125
  }
2124
2126
  function ar(e) {
2125
2127
  var t = e._i;
2126
2128
  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
2129
  return parseInt(s, 10);
2128
- }), zt(e)) : S(t) ? nr(e) : O(t) ? e._d = new Date(t) : d.createFromInputFallback(e);
2130
+ }), Ut(e)) : S(t) ? nr(e) : O(t) ? e._d = new Date(t) : d.createFromInputFallback(e);
2129
2131
  }
2130
2132
  function Ys(e, t, s, i, o) {
2131
2133
  var l = {};
@@ -2303,7 +2305,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2303
2305
  } : O(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (i = Dr.exec(e)) ? (o = i[1] === "-" ? -1 : 1, s = {
2304
2306
  y: 0,
2305
2307
  d: T(i[le]) * o,
2306
- h: T(i[U]) * o,
2308
+ h: T(i[z]) * o,
2307
2309
  m: T(i[ie]) * o,
2308
2310
  s: T(i[me]) * o,
2309
2311
  ms: T(Et(i[De] * 1e3)) * o
@@ -2416,7 +2418,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2416
2418
  );
2417
2419
  }
2418
2420
  function Hr() {
2419
- return new ze(this);
2421
+ return new Ue(this);
2420
2422
  }
2421
2423
  function Br(e, t) {
2422
2424
  var s = se(e) ? e : F(e);
@@ -2430,11 +2432,11 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2430
2432
  var o = se(e) ? e : F(e), l = se(t) ? t : F(t);
2431
2433
  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
2434
  }
2433
- function Ur(e, t) {
2435
+ function zr(e, t) {
2434
2436
  var s = se(e) ? e : F(e), i;
2435
2437
  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
2438
  }
2437
- function zr(e, t) {
2439
+ function Ur(e, t) {
2438
2440
  return this.isSame(e, t) || this.isAfter(e, t);
2439
2441
  }
2440
2442
  function Wr(e, t) {
@@ -2534,21 +2536,21 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2534
2536
  function Vs() {
2535
2537
  return this._locale;
2536
2538
  }
2537
- var yt = 1e3, Re = 60 * yt, pt = 60 * Re, Us = (365 * 400 + 97) * 24 * pt;
2539
+ var yt = 1e3, Re = 60 * yt, pt = 60 * Re, zs = (365 * 400 + 97) * 24 * pt;
2538
2540
  function He(e, t) {
2539
2541
  return (e % t + t) % t;
2540
2542
  }
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();
2543
+ function Us(e, t, s) {
2544
+ return e < 100 && e >= 0 ? new Date(e + 400, t, s) - zs : new Date(e, t, s).valueOf();
2543
2545
  }
2544
2546
  function Ws(e, t, s) {
2545
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - Us : Date.UTC(e, t, s);
2547
+ return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - zs : Date.UTC(e, t, s);
2546
2548
  }
2547
2549
  function ea(e) {
2548
2550
  var t, s;
2549
2551
  if (e = ee(e), e === void 0 || e === "millisecond" || !this.isValid())
2550
2552
  return this;
2551
- switch (s = this._isUTC ? Ws : zs, e) {
2553
+ switch (s = this._isUTC ? Ws : Us, e) {
2552
2554
  case "year":
2553
2555
  t = s(this.year(), 0, 1);
2554
2556
  break;
@@ -2599,7 +2601,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2599
2601
  var t, s;
2600
2602
  if (e = ee(e), e === void 0 || e === "millisecond" || !this.isValid())
2601
2603
  return this;
2602
- switch (s = this._isUTC ? Ws : zs, e) {
2604
+ switch (s = this._isUTC ? Ws : Us, e) {
2603
2605
  case "year":
2604
2606
  t = s(this.year() + 1, 0, 1) - 1;
2605
2607
  break;
@@ -2706,9 +2708,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2706
2708
  var o = s._locale.erasParse(e, i, s._strict);
2707
2709
  o ? D(s).era = o : D(s).invalidEra = e;
2708
2710
  }
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) {
2711
+ ), 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
2712
  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);
2713
+ 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
2714
  });
2713
2715
  function ha(e, t) {
2714
2716
  var s, i, o, l = this._eras || ge("en")._eras;
@@ -2929,8 +2931,8 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2929
2931
  function Ha() {
2930
2932
  return this._isUTC ? "Coordinated Universal Time" : "";
2931
2933
  }
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() {
2934
+ var p = Ue.prototype;
2935
+ 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
2936
  return "Moment<" + this.format() + ">";
2935
2937
  }), 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
2938
  "dates accessor is deprecated. Use date instead.",
@@ -2983,10 +2985,10 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2983
2985
  function Va(e, t) {
2984
2986
  return Zs(e, t, "months");
2985
2987
  }
2986
- function Ua(e, t) {
2988
+ function za(e, t) {
2987
2989
  return Zs(e, t, "monthsShort");
2988
2990
  }
2989
- function za(e, t, s) {
2991
+ function Ua(e, t, s) {
2990
2992
  return Jt(e, t, s, "weekdays");
2991
2993
  }
2992
2994
  function Wa(e, t, s) {
@@ -3161,7 +3163,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
3161
3163
  s._d = new Date(T(e));
3162
3164
  });
3163
3165
  //! 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 = {
3166
+ 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
3167
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
3166
3168
  // <input type="datetime-local" />
3167
3169
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -3186,7 +3188,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
3186
3188
  }
3187
3189
  (function(r, a) {
3188
3190
  (function(n, d) {
3189
- d(typeof bi == "function" ? Bl() : n.moment);
3191
+ d(typeof bi == "function" ? jl() : n.moment);
3190
3192
  })(Si, function(n) {
3191
3193
  //! moment.js locale configuration
3192
3194
  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 +3301,7 @@ function ri(r, a = "DD/MM/YYYY à HH:mm") {
3299
3301
  return ss(r, a);
3300
3302
  }
3301
3303
  const ai = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)?$/;
3302
- function jl(r, a) {
3304
+ function Vl(r, a) {
3303
3305
  const n = r.replace(/\d+/g, (c) => (+c + 1e5).toString()), d = a.replace(/\d+/g, (c) => (+c + 1e5).toString());
3304
3306
  return n.localeCompare(d);
3305
3307
  }
@@ -3312,7 +3314,7 @@ function li(r) {
3312
3314
  function di(r) {
3313
3315
  return typeof r == "boolean";
3314
3316
  }
3315
- function Vl(r, a, n) {
3317
+ function zl(r, a, n) {
3316
3318
  const d = (r ? 1 : 0) - (a ? 1 : 0);
3317
3319
  return n ? -d : d;
3318
3320
  }
@@ -3323,7 +3325,7 @@ function Ul(r, a) {
3323
3325
  function ui(r) {
3324
3326
  return typeof r == "string" && r.includes("€");
3325
3327
  }
3326
- function zl(r, a, n) {
3328
+ function Wl(r, a, n) {
3327
3329
  const d = parseFloat(r.replace("€", "").replace(",", ".").replace(/\s/g, "").trim()), c = parseFloat(a.replace("€", "").replace(",", ".").replace(/\s/g, "").trim());
3328
3330
  if (isNaN(d) && isNaN(c)) return 0;
3329
3331
  if (isNaN(d)) return 1;
@@ -3336,9 +3338,9 @@ function kt(r, a, n) {
3336
3338
  const f = Ul(r, a);
3337
3339
  if (f !== null) return f;
3338
3340
  if (di(r) && di(a))
3339
- return Vl(r, a, n);
3341
+ return zl(r, a, n);
3340
3342
  if (ai.test(r) && ai.test(a)) {
3341
- const k = jl(r, a);
3343
+ const k = Vl(r, a);
3342
3344
  return n ? k : -k;
3343
3345
  }
3344
3346
  if (oi(r) && oi(a)) {
@@ -3350,14 +3352,14 @@ function kt(r, a, n) {
3350
3352
  return n ? k - W : W - k;
3351
3353
  }
3352
3354
  if (ui(r) && ui(a))
3353
- return zl(r, a, n);
3355
+ return Wl(r, a, n);
3354
3356
  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
3357
  numeric: !0,
3356
3358
  sensitivity: "base"
3357
3359
  });
3358
3360
  return n ? O : -O;
3359
3361
  }
3360
- function Wl(r, a, n = !1) {
3362
+ function El(r, a, n = !1) {
3361
3363
  return !r || !Array.isArray(r) ? r : r.sort((d, c) => {
3362
3364
  const u = d == null ? void 0 : d[a], S = c == null ? void 0 : c[a];
3363
3365
  return kt(u, S, n);
@@ -3397,7 +3399,7 @@ function hi(r, a) {
3397
3399
  }
3398
3400
  Ve(r, n);
3399
3401
  }
3400
- function El(r, a, n = null) {
3402
+ function ql(r, a, n = null) {
3401
3403
  let d = Ye(r);
3402
3404
  d ? n && !d[n] && (d[n] = a) : n ? (d = {}, d[n] = a) : d = a, Ve(r, d);
3403
3405
  }
@@ -3408,7 +3410,7 @@ function Ve(r, a, n = null) {
3408
3410
  let d = Ye(r);
3409
3411
  return n ? d[n] = a : d = a, window.localStorage.setItem(r, JSON.stringify(d));
3410
3412
  }
3411
- const ql = (r, a) => {
3413
+ const Gl = (r, a) => {
3412
3414
  const n = r.__vccOpts || r;
3413
3415
  for (const [d, c] of a)
3414
3416
  n[d] = c;
@@ -3425,7 +3427,7 @@ Ce.add(
3425
3427
  Io,
3426
3428
  Yo
3427
3429
  );
3428
- const Gl = {
3430
+ const $l = {
3429
3431
  name: "AmsomTableDraggable",
3430
3432
  components: { VueDraggableNext: Jo, FontAwesomeIcon: Me },
3431
3433
  props: {
@@ -3681,7 +3683,7 @@ const Gl = {
3681
3683
  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
3684
  const c = this.formatColumnValue(a, r), u = this.formatColumnValue(n, r);
3683
3685
  return kt(c, u, d);
3684
- }) : this.sortKey ? Wl([...this.filtereditems], this.sortKey, this.sortAsc) : this.filtereditems;
3686
+ }) : this.sortKey ? El([...this.filtereditems], this.sortKey, this.sortAsc) : this.filtereditems;
3685
3687
  },
3686
3688
  showeditems() {
3687
3689
  const r = this.sortedItems;
@@ -3836,7 +3838,7 @@ const Gl = {
3836
3838
  hi(
3837
3839
  this.localStorageItemName,
3838
3840
  this.getRefactoColumns(this.copyDefaultColumns())
3839
- ), El(this.localStorageItemName, this.maxItemPerPage, "maxItemPerPage");
3841
+ ), ql(this.localStorageItemName, this.maxItemPerPage, "maxItemPerPage");
3840
3842
  let a = Ye(this.localStorageItemName);
3841
3843
  a && (this.columns = this.getColumnsById(a.columns, this.defaultColumns), this.maxItemsPerPage = a.maxItemPerPage);
3842
3844
  }
@@ -4164,44 +4166,44 @@ const Gl = {
4164
4166
  }, 50);
4165
4167
  }
4166
4168
  }
4167
- }, $l = {
4169
+ }, Zl = {
4168
4170
  key: 0,
4169
4171
  class: "mb-3 text-center"
4170
- }, Zl = {
4172
+ }, Kl = {
4171
4173
  key: 1,
4172
4174
  class: "row mb-1 mx-auto"
4173
- }, Kl = {
4175
+ }, Jl = {
4174
4176
  key: 0,
4175
4177
  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
4178
  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 = {
4179
+ }, 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
4180
  key: 0,
4179
4181
  class: "text-nowrap",
4180
4182
  style: { height: "20px" }
4181
- }, ed = ["value"], td = {
4183
+ }, td = ["value"], sd = {
4182
4184
  key: 1,
4183
4185
  class: "d-flex align-items-center text-nowrap"
4184
- }, sd = {
4186
+ }, id = {
4185
4187
  key: 0,
4186
4188
  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 = {
4189
+ }, 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
4190
  key: 0,
4189
4191
  class: "mx-auto my-auto mb-2 mt-2 hoverable d-inline-block"
4190
- }, dd = { class: "d-inline-flex text-nowrap" }, ud = {
4192
+ }, ud = { class: "d-inline-flex text-nowrap" }, cd = {
4191
4193
  key: 0,
4192
4194
  class: "ms-2 float-end"
4193
- }, cd = {
4195
+ }, hd = {
4194
4196
  key: 1,
4195
4197
  class: "ms-2"
4196
- }, hd = { key: 1 }, md = ["id"], fd = ["id"], gd = { class: "d-inline-flex text-nowrap" }, yd = {
4198
+ }, md = { key: 1 }, fd = ["id"], gd = ["id"], yd = { class: "d-inline-flex text-nowrap" }, pd = {
4197
4199
  key: 1,
4198
4200
  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) {
4201
+ }, _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"];
4202
+ function Nd(r, a, n, d, c, u) {
4201
4203
  var S;
4202
4204
  const f = Z("font-awesome-icon"), b = Z("vue-draggable-next");
4203
4205
  return g(), _(B, null, [
4204
- n.lineEditMode ? (g(), _("div", $l, [
4206
+ n.lineEditMode ? (g(), _("div", Zl, [
4205
4207
  y("button", {
4206
4208
  type: "button",
4207
4209
  class: "btn btn-success rounded-5 m-0 p-0",
@@ -4214,15 +4216,15 @@ function Od(r, a, n, d, c, u) {
4214
4216
  })
4215
4217
  ])
4216
4218
  ])) : P("", !0),
4217
- n.showLineNumber || n.showModifyColumnsBtn || n.showMaxItemPerPageBtn || n.deepSorts ? (g(), _("div", Zl, [
4219
+ n.showLineNumber || n.showModifyColumnsBtn || n.showMaxItemPerPageBtn || n.deepSorts ? (g(), _("div", Kl, [
4218
4220
  y("div", {
4219
4221
  class: C([
4220
4222
  "d-flex justify-content-start p-0",
4221
4223
  n.deepSorts && c.deepSortsList.length > 0 && n.showModifyColumnsBtn ? "col-12 col-sm-8 col-lg-9 col-xl-10" : "col"
4222
4224
  ])
4223
4225
  }, [
4224
- n.showLineNumber ? (g(), _("div", Kl, [
4225
- y("b", Jl, R(u.showItemsLinesNumber + " / " + u.filtereditems.length), 1),
4226
+ n.showLineNumber ? (g(), _("div", Jl, [
4227
+ y("b", Ql, R(u.showItemsLinesNumber + " / " + u.filtereditems.length), 1),
4226
4228
  a[20] || (a[20] = y("span", { class: "ms-1" }, "lignes", -1))
4227
4229
  ])) : P("", !0),
4228
4230
  n.deepSorts && c.deepSortsList.length > 0 ? (g(), _("div", {
@@ -4238,7 +4240,7 @@ function Od(r, a, n, d, c, u) {
4238
4240
  class: "d-flex flex-wrap",
4239
4241
  "ghost-class": "deep-filter-ghost-class"
4240
4242
  }, {
4241
- default: Ue(() => [
4243
+ default: ze(() => [
4242
4244
  (g(!0), _(B, null, $(c.deepSortsList, (h, O) => (g(), _("div", {
4243
4245
  key: h.id,
4244
4246
  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 +4251,7 @@ function Od(r, a, n, d, c, u) {
4249
4251
  icon: "fa-solid fa-xmark",
4250
4252
  onClick: (k) => c.deepSortsList.splice(O, 1)
4251
4253
  }, null, 8, ["onClick"]),
4252
- y("div", Ql, [
4254
+ y("div", Xl, [
4253
4255
  y("span", null, R(h.libelle), 1)
4254
4256
  ]),
4255
4257
  j(f, {
@@ -4270,7 +4272,7 @@ function Od(r, a, n, d, c, u) {
4270
4272
  n.deepSorts && c.deepSortsList.length > 0 ? "col-12 col-sm-4 col-lg-3 col-xl-2 mt-1 mt-sm-0" : "col"
4271
4273
  ])
4272
4274
  }, [
4273
- n.showMaxItemPerPageBtn && !c.headerEditMode ? (g(), _("div", Xl, [
4275
+ n.showMaxItemPerPageBtn && !c.headerEditMode ? (g(), _("div", ed, [
4274
4276
  n.maxItemPerPageList.length > 0 ? Xe((g(), _("select", {
4275
4277
  key: 0,
4276
4278
  "onUpdate:modelValue": a[2] || (a[2] = (h) => c.maxItemsPerPage = h),
@@ -4279,13 +4281,13 @@ function Od(r, a, n, d, c, u) {
4279
4281
  (g(!0), _(B, null, $(n.maxItemPerPageList, (h) => (g(), _("option", {
4280
4282
  key: h.value,
4281
4283
  value: h.value
4282
- }, R(h.text), 9, ed))), 128))
4284
+ }, R(h.text), 9, td))), 128))
4283
4285
  ], 512)), [
4284
- [zo, c.maxItemsPerPage]
4286
+ [Uo, c.maxItemsPerPage]
4285
4287
  ]) : P("", !0)
4286
4288
  ])) : P("", !0),
4287
- n.showModifyColumnsBtn ? (g(), _("div", td, [
4288
- c.headerEditMode ? (g(), _("div", sd, [
4289
+ n.showModifyColumnsBtn ? (g(), _("div", sd, [
4290
+ c.headerEditMode ? (g(), _("div", id, [
4289
4291
  y("button", {
4290
4292
  id: "btn-save-table",
4291
4293
  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 +4311,7 @@ function Od(r, a, n, d, c, u) {
4309
4311
  ])) : P("", !0)
4310
4312
  ], 2)) : P("", !0)
4311
4313
  ])) : P("", !0),
4312
- y("div", id, [
4314
+ y("div", nd, [
4313
4315
  y("div", {
4314
4316
  ref: "scrollContainer",
4315
4317
  class: C(["col-12 p-0 overflow-x-auto mb-2", {
@@ -4346,7 +4348,7 @@ function Od(r, a, n, d, c, u) {
4346
4348
  move: u.checkMove,
4347
4349
  group: "columns"
4348
4350
  }, {
4349
- default: Ue(() => [
4351
+ default: ze(() => [
4350
4352
  (g(!0), _(B, null, $(c.columns, (h, O) => (g(), _(B, {
4351
4353
  key: h.id
4352
4354
  }, [
@@ -4371,7 +4373,7 @@ function Od(r, a, n, d, c, u) {
4371
4373
  }, null, 512), [
4372
4374
  [es, c.checkAllCheckBox]
4373
4375
  ])
4374
- ], 10, rd)) : (h.show || c.headerEditMode) && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4376
+ ], 10, ad)) : (h.show || c.headerEditMode) && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4375
4377
  key: 1,
4376
4378
  id: `${n.tableId}-${h.id}-th-${O}`,
4377
4379
  scope: "col",
@@ -4388,8 +4390,8 @@ function Od(r, a, n, d, c, u) {
4388
4390
  onDragstart: (k) => h.isDragging = !0,
4389
4391
  onDragend: (k) => h.isDragging = !1
4390
4392
  }, [
4391
- y("div", od, [
4392
- c.headerEditMode && !h.keepShow ? (g(), _("div", ld, [
4393
+ y("div", ld, [
4394
+ c.headerEditMode && !h.keepShow ? (g(), _("div", dd, [
4393
4395
  h.show ? (g(), q(f, {
4394
4396
  key: 0,
4395
4397
  icon: "fa-solid fa-eye",
@@ -4402,15 +4404,15 @@ function Od(r, a, n, d, c, u) {
4402
4404
  onClick: (k) => h.show = !0
4403
4405
  }, null, 8, ["onClick"]))
4404
4406
  ])) : P("", !0),
4405
- y("div", dd, [
4407
+ y("div", ud, [
4406
4408
  Q(r.$slots, "tableHeaderTh", { header: h }, void 0, !0),
4407
- h.isSortable && !n.deepSorts ? (g(), _("div", ud, [
4409
+ h.isSortable && !n.deepSorts ? (g(), _("div", cd, [
4408
4410
  j(f, {
4409
4411
  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
4412
  class: "hoverable",
4411
4413
  onClick: (k) => u.updateCurrentSort(h)
4412
4414
  }, null, 8, ["icon", "onClick"])
4413
- ])) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", cd, [
4415
+ ])) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", hd, [
4414
4416
  j(f, {
4415
4417
  icon: "fa-solid fa-filter",
4416
4418
  onClick: (k) => u.addDeepSort(h)
@@ -4418,11 +4420,11 @@ function Od(r, a, n, d, c, u) {
4418
4420
  ])) : P("", !0)
4419
4421
  ])
4420
4422
  ])
4421
- ], 42, ad)) : P("", !0)
4423
+ ], 42, od)) : P("", !0)
4422
4424
  ], 64))), 128))
4423
4425
  ]),
4424
4426
  _: 3
4425
- }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (g(), _("tr", hd, [
4427
+ }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (g(), _("tr", md, [
4426
4428
  (g(!0), _(B, null, $(c.columns, (h, O) => (g(), _(B, {
4427
4429
  key: h.id
4428
4430
  }, [
@@ -4447,7 +4449,7 @@ function Od(r, a, n, d, c, u) {
4447
4449
  }, null, 512), [
4448
4450
  [es, c.checkAllCheckBox]
4449
4451
  ])
4450
- ], 10, md)) : h.show && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4452
+ ], 10, fd)) : h.show && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4451
4453
  key: 1,
4452
4454
  id: `${n.tableId}-${h.id}-th-${O}`,
4453
4455
  scope: "col",
@@ -4459,7 +4461,7 @@ function Od(r, a, n, d, c, u) {
4459
4461
  n.infiniteScroll ? "sticky-top" : ""
4460
4462
  ]])
4461
4463
  }, [
4462
- y("div", gd, [
4464
+ y("div", yd, [
4463
4465
  Q(r.$slots, "tableHeaderTh", { header: h }, void 0, !0),
4464
4466
  h.isSortable && !n.deepSorts ? (g(), _("div", {
4465
4467
  key: 0,
@@ -4469,19 +4471,19 @@ function Od(r, a, n, d, c, u) {
4469
4471
  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
4472
  onClick: (k) => u.updateCurrentSort(h)
4471
4473
  }, null, 8, ["icon", "onClick"])
4472
- ], 2)) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", yd, [
4474
+ ], 2)) : n.deepSorts && !c.deepSortsList.some((k) => k.id === h.id) && h.isSortable ? (g(), _("div", pd, [
4473
4475
  j(f, {
4474
4476
  icon: "fa-solid fa-filter",
4475
4477
  onClick: (k) => u.addDeepSort(h)
4476
4478
  }, null, 8, ["onClick"])
4477
4479
  ])) : P("", !0)
4478
4480
  ])
4479
- ], 10, fd)) : P("", !0)
4481
+ ], 10, gd)) : P("", !0)
4480
4482
  ], 64))), 128))
4481
4483
  ]))
4482
4484
  ]),
4483
4485
  y("tbody", null, [
4484
- ((S = u.showeditems) == null ? void 0 : S.length) === 0 ? (g(), _("tr", pd, [
4486
+ ((S = u.showeditems) == null ? void 0 : S.length) === 0 ? (g(), _("tr", _d, [
4485
4487
  y("th", {
4486
4488
  colspan: c.columns.length,
4487
4489
  class: "text-center",
@@ -4490,8 +4492,8 @@ function Od(r, a, n, d, c, u) {
4490
4492
  y("span", {
4491
4493
  id: `${n.tableId}-no-value`,
4492
4494
  class: "text-danger fs-5"
4493
- }, R(n.noValueText), 9, Sd)
4494
- ], 8, _d)
4495
+ }, R(n.noValueText), 9, bd)
4496
+ ], 8, Sd)
4495
4497
  ])) : (g(!0), _(B, { key: 1 }, $(u.showeditems, (h, O) => (g(), _("tr", {
4496
4498
  key: h.id,
4497
4499
  class: C([
@@ -4529,10 +4531,10 @@ function Od(r, a, n, d, c, u) {
4529
4531
  value: h.id,
4530
4532
  onClick: a[14] || (a[14] = G(() => {
4531
4533
  }, ["stop"]))
4532
- }, null, 8, wd), [
4534
+ }, null, 8, vd), [
4533
4535
  [es, c.selectedItems]
4534
4536
  ])
4535
- ], 10, kd)) : (k.show || c.headerEditMode) && (!k.onlyOnEditMode || n.lineEditMode) ? (g(), _("td", {
4537
+ ], 10, wd)) : (k.show || c.headerEditMode) && (!k.onlyOnEditMode || n.lineEditMode) ? (g(), _("td", {
4536
4538
  key: 1,
4537
4539
  "data-column-id": k.id,
4538
4540
  class: C([[
@@ -4551,14 +4553,14 @@ function Od(r, a, n, d, c, u) {
4551
4553
  }, () => [
4552
4554
  xe(R(u.formatColumnValue(h, k)), 1)
4553
4555
  ], !0)
4554
- ], 10, vd)) : P("", !0)
4556
+ ], 10, xd)) : P("", !0)
4555
4557
  ], 64))), 128))
4556
- ], 46, bd))), 128))
4558
+ ], 46, kd))), 128))
4557
4559
  ])
4558
- ], 14, nd))
4560
+ ], 14, rd))
4559
4561
  ], 38)
4560
4562
  ]),
4561
- y("div", xd, [
4563
+ y("div", Md, [
4562
4564
  !n.infiniteScroll && c.totalPages && c.totalPages > 1 ? (g(), _("div", {
4563
4565
  key: 0,
4564
4566
  class: C(["col p-0 me-3 d-flex", {
@@ -4567,14 +4569,14 @@ function Od(r, a, n, d, c, u) {
4567
4569
  "justify-content-start": n.paginationPosition === "left"
4568
4570
  }])
4569
4571
  }, [
4570
- y("ul", Md, [
4571
- y("li", Cd, [
4572
+ y("ul", Cd, [
4573
+ y("li", Dd, [
4572
4574
  y("a", {
4573
4575
  class: C(["page-link", { disabled: c.currentPage === 1 }]),
4574
4576
  onClick: a[16] || (a[16] = (h) => c.currentPage = 1)
4575
4577
  }, " « ", 2)
4576
4578
  ]),
4577
- y("li", Dd, [
4579
+ y("li", Pd, [
4578
4580
  y("a", {
4579
4581
  class: C(["page-link", { disabled: c.currentPage === 1 }]),
4580
4582
  onClick: a[17] || (a[17] = (h) => c.currentPage -= 1)
@@ -4587,15 +4589,15 @@ function Od(r, a, n, d, c, u) {
4587
4589
  y("a", {
4588
4590
  class: "page-link",
4589
4591
  onClick: (O) => c.currentPage = h
4590
- }, R(h), 9, Pd)
4592
+ }, R(h), 9, Td)
4591
4593
  ], 2))), 128)),
4592
- y("li", Td, [
4594
+ y("li", Id, [
4593
4595
  y("a", {
4594
4596
  class: C(["page-link", { disabled: c.currentPage === c.totalPages }]),
4595
4597
  onClick: a[18] || (a[18] = (h) => c.currentPage += 1)
4596
4598
  }, " > ", 2)
4597
4599
  ]),
4598
- y("li", Id, [
4600
+ y("li", Yd, [
4599
4601
  y("a", {
4600
4602
  class: C(["page-link", { disabled: c.currentPage === c.totalPages }]),
4601
4603
  onClick: a[19] || (a[19] = (h) => c.currentPage = c.totalPages)
@@ -4609,13 +4611,13 @@ function Od(r, a, n, d, c, u) {
4609
4611
  class: C(["bottom-scrollbar", { visible: c.showScrollbar }])
4610
4612
  }, [...a[22] || (a[22] = [
4611
4613
  y("div", { class: "scrollbar-content" }, null, -1)
4612
- ])], 10, Yd)) : P("", !0)
4614
+ ])], 10, Od)) : P("", !0)
4613
4615
  ])
4614
4616
  ], 64);
4615
4617
  }
4616
- const Ru = /* @__PURE__ */ ql(Gl, [["render", Od], ["__scopeId", "data-v-f3204e33"]]);
4618
+ const Hu = /* @__PURE__ */ Gl($l, [["render", Nd], ["__scopeId", "data-v-f3204e33"]]);
4617
4619
  Ce.add(Oo, No, Lo, Ao);
4618
- const Nd = {
4620
+ const Ld = {
4619
4621
  name: "AmsomPagination",
4620
4622
  components: {
4621
4623
  FontAwesomeIcon: Me
@@ -4666,15 +4668,15 @@ const Nd = {
4666
4668
  return r;
4667
4669
  }
4668
4670
  }
4669
- }, Ld = {
4671
+ }, Ad = {
4670
4672
  key: 0,
4671
4673
  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) {
4674
+ }, Fd = { class: "pagination pagination mb-0" }, Rd = { class: "page-item" }, Hd = { class: "page-item" }, Bd = ["onClick"], jd = { class: "page-item" }, Vd = { class: "page-item" };
4675
+ function zd(r, a, n, d, c, u) {
4674
4676
  const S = Z("font-awesome-icon");
4675
- return n.totalPages && n.totalPages > 1 ? (g(), _("div", Ld, [
4676
- y("ul", Ad, [
4677
- y("li", Fd, [
4677
+ return n.totalPages && n.totalPages > 1 ? (g(), _("div", Ad, [
4678
+ y("ul", Fd, [
4679
+ y("li", Rd, [
4678
4680
  y("span", {
4679
4681
  role: "button",
4680
4682
  class: C(["page-link", { disabled: n.modelValue === 1 }]),
@@ -4683,7 +4685,7 @@ function Vd(r, a, n, d, c, u) {
4683
4685
  j(S, { icon: "fa-angles-left" })
4684
4686
  ], 2)
4685
4687
  ]),
4686
- y("li", Rd, [
4688
+ y("li", Hd, [
4687
4689
  y("span", {
4688
4690
  role: "button",
4689
4691
  class: C(["page-link", { disabled: n.modelValue === 1 }]),
@@ -4700,9 +4702,9 @@ function Vd(r, a, n, d, c, u) {
4700
4702
  role: "button",
4701
4703
  class: "page-link",
4702
4704
  onClick: (b) => u.goToPage(f)
4703
- }, R(f), 9, Hd)
4705
+ }, R(f), 9, Bd)
4704
4706
  ], 2))), 128)),
4705
- y("li", Bd, [
4707
+ y("li", jd, [
4706
4708
  y("span", {
4707
4709
  role: "button",
4708
4710
  class: C(["page-link", { disabled: n.modelValue === n.totalPages }]),
@@ -4711,7 +4713,7 @@ function Vd(r, a, n, d, c, u) {
4711
4713
  j(S, { icon: "fa-angle-right" })
4712
4714
  ], 2)
4713
4715
  ]),
4714
- y("li", jd, [
4716
+ y("li", Vd, [
4715
4717
  y("span", {
4716
4718
  role: "button",
4717
4719
  class: C(["page-link", { disabled: n.modelValue === n.totalPages }]),
@@ -4723,7 +4725,7 @@ function Vd(r, a, n, d, c, u) {
4723
4725
  ])
4724
4726
  ])) : P("", !0);
4725
4727
  }
4726
- const Hu = /* @__PURE__ */ de(Nd, [["render", Vd]]), Ud = {
4728
+ const Bu = /* @__PURE__ */ de(Ld, [["render", zd]]), Ud = {
4727
4729
  name: "AmsomSkeleton",
4728
4730
  props: {
4729
4731
  /**
@@ -4745,7 +4747,7 @@ const Hu = /* @__PURE__ */ de(Nd, [["render", Vd]]), Ud = {
4745
4747
  }
4746
4748
  }
4747
4749
  };
4748
- function zd(r, a, n, d, c, u) {
4750
+ function Wd(r, a, n, d, c, u) {
4749
4751
  return g(), _("div", {
4750
4752
  class: C(["container row placeholder-wave", n.rowClass])
4751
4753
  }, [
@@ -4755,12 +4757,12 @@ function zd(r, a, n, d, c, u) {
4755
4757
  }, null, 2))), 128))
4756
4758
  ], 2);
4757
4759
  }
4758
- const Wd = /* @__PURE__ */ de(Ud, [["render", zd]]);
4760
+ const Ed = /* @__PURE__ */ de(Ud, [["render", Wd]]);
4759
4761
  Ce.add(Fo, is);
4760
- const Ed = {
4762
+ const qd = {
4761
4763
  name: "AmsomDocumentList",
4762
4764
  components: {
4763
- AmsomSkeleton: Wd,
4765
+ AmsomSkeleton: Ed,
4764
4766
  AmsomOverlay: _i,
4765
4767
  AmsomCard: ml,
4766
4768
  FontAwesomeIcon: Me
@@ -4814,16 +4816,16 @@ const Ed = {
4814
4816
  qo(a), this.processing = !1;
4815
4817
  }
4816
4818
  }
4817
- }, qd = { key: 0 }, Gd = { class: "d-flex justify-content-between text-primary" }, $d = { class: "mb-0" }, Zd = { class: "mb-0" }, Kd = ["onClick"], Jd = {
4819
+ }, Gd = { key: 0 }, $d = { class: "d-flex justify-content-between text-primary" }, Zd = { class: "mb-0" }, Kd = { class: "mb-0" }, Jd = ["onClick"], Qd = {
4818
4820
  role: "button",
4819
4821
  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) {
4822
+ }, Xd = { key: 0 }, eu = { key: 1 };
4823
+ function tu(r, a, n, d, c, u) {
4822
4824
  const S = Z("amsom-skeleton"), f = Z("font-awesome-icon"), b = Z("amsom-card"), h = Z("amsom-overlay");
4823
4825
  return g(), q(h, { loading: c.processing }, {
4824
- default: Ue(() => [
4826
+ default: ze(() => [
4825
4827
  j(b, null, {
4826
- default: Ue(() => {
4828
+ default: ze(() => {
4827
4829
  var O;
4828
4830
  return [
4829
4831
  y("h5", null, R(n.title), 1),
@@ -4838,16 +4840,16 @@ function eu(r, a, n, d, c, u) {
4838
4840
  key: W,
4839
4841
  class: "document-item pt-2"
4840
4842
  }, [
4841
- y("div", Gd, [
4842
- y("p", $d, R(k.categorie), 1),
4843
- y("p", Zd, R(u.unixToDateString(k.dateFichier)), 1)
4843
+ y("div", $d, [
4844
+ y("p", Zd, R(k.categorie), 1),
4845
+ y("p", Kd, R(u.unixToDateString(k.dateFichier)), 1)
4844
4846
  ]),
4845
4847
  y("div", {
4846
4848
  class: "bg-primary bg-opacity-25 mt-0 rounded-3",
4847
4849
  onClick: (ue) => u.handleClick(k, W)
4848
4850
  }, [
4849
- y("div", Jd, [
4850
- n.anonym ? (g(), _("strong", Xd, "Document " + R(W + 1), 1)) : (g(), _("strong", Qd, R(k.titre), 1)),
4851
+ y("div", Qd, [
4852
+ n.anonym ? (g(), _("strong", eu, "Document " + R(W + 1), 1)) : (g(), _("strong", Xd, R(k.titre), 1)),
4851
4853
  n.clickAction === "download" ? (g(), q(f, {
4852
4854
  key: 2,
4853
4855
  icon: "fa-solid fa-cloud-arrow-down"
@@ -4856,8 +4858,8 @@ function eu(r, a, n, d, c, u) {
4856
4858
  icon: "fa-solid fa-eye"
4857
4859
  })) : P("", !0)
4858
4860
  ])
4859
- ], 8, Kd)
4860
- ]))), 128)) : (g(), _("div", qd, [...a[0] || (a[0] = [
4861
+ ], 8, Jd)
4862
+ ]))), 128)) : (g(), _("div", Gd, [...a[0] || (a[0] = [
4861
4863
  y("p", null, "Aucun document", -1)
4862
4864
  ])]))
4863
4865
  ], 64))
@@ -4869,9 +4871,9 @@ function eu(r, a, n, d, c, u) {
4869
4871
  _: 1
4870
4872
  }, 8, ["loading"]);
4871
4873
  }
4872
- const Bu = /* @__PURE__ */ de(Ed, [["render", eu]]);
4874
+ const ju = /* @__PURE__ */ de(qd, [["render", tu]]);
4873
4875
  Ce.add(Ro, is, gi, Ho, Bo, jo);
4874
- const tu = window.File_native ?? window.File, su = {
4876
+ const su = window.File_native ?? window.File, iu = {
4875
4877
  name: "AmsomUploadFile",
4876
4878
  components: { FontAwesomeIcon: Me, AmsomOverlay: _i },
4877
4879
  props: ["name", "pjName", "fileName", "subText", "title", "required", "label", "modelValue", "gedFile", "readStatus", "readOnly", "rejectStatus", "clickFileHandler"],
@@ -4954,7 +4956,7 @@ const tu = window.File_native ?? window.File, su = {
4954
4956
  await r.add(f);
4955
4957
  } else
4956
4958
  await r.add(u);
4957
- let n = await r.saveAsBlob(), d = new tu([n], "doc.pdf", {
4959
+ let n = await r.saveAsBlob(), d = new su([n], "doc.pdf", {
4958
4960
  type: "application/pdf"
4959
4961
  }), c = await pi(d, "pdf");
4960
4962
  c.name = this.fileName, this.finalFile = c, this.emitFile(), this.$emit("fileLoading", !1), this.fileLoading = !1;
@@ -4966,32 +4968,32 @@ const tu = window.File_native ?? window.File, su = {
4966
4968
  this.finalFile = null, this.emitFile(), this.$emit("deleteFile"), this.fileToUpload = [];
4967
4969
  }
4968
4970
  }
4969
- }, iu = { class: "position-relative" }, nu = ["id"], ru = ["id", "for"], au = { class: "" }, ou = { class: "flex-grow-1" }, lu = { class: "fs-6 fw-bold" }, du = {
4971
+ }, nu = { class: "position-relative" }, ru = ["id"], au = ["id", "for"], ou = { class: "" }, lu = { class: "flex-grow-1" }, du = { class: "fs-6 fw-bold" }, uu = {
4970
4972
  class: "text-primary form-text fst-italic",
4971
4973
  style: { "font-size": "smaller" }
4972
- }, uu = ["id", "required", "name"], cu = {
4974
+ }, cu = ["id", "required", "name"], hu = {
4973
4975
  key: 1,
4974
4976
  class: "w-100"
4975
- }, hu = {
4977
+ }, mu = {
4976
4978
  key: 0,
4977
4979
  class: "text-decoration-underline"
4978
- }, mu = { class: "p-2 d-flex align-items-center" }, fu = {
4980
+ }, fu = { class: "p-2 d-flex align-items-center" }, gu = {
4979
4981
  key: 3,
4980
4982
  class: "text-muted"
4981
- }, gu = {
4983
+ }, yu = {
4982
4984
  key: 0,
4983
4985
  class: "me-2"
4984
- }, yu = ["id"], pu = ["id"], _u = { key: 1 }, Su = ["id"];
4985
- function bu(r, a, n, d, c, u) {
4986
+ }, pu = ["id"], _u = ["id"], Su = { key: 1 }, bu = ["id"];
4987
+ function ku(r, a, n, d, c, u) {
4986
4988
  const S = Z("font-awesome-icon"), f = Z("amsom-overlay");
4987
4989
  return g(), q(f, { loading: c.fileLoading }, {
4988
- default: Ue(() => {
4990
+ default: ze(() => {
4989
4991
  var b;
4990
4992
  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, [
4993
+ y("div", nu, [
4994
+ (b = c.finalFile) != null && b.file ? (g(), _("div", hu, [
4995
+ n.title ? (g(), _("h5", mu, R(n.title), 1)) : P("", !0),
4996
+ y("div", fu, [
4995
4997
  y("div", {
4996
4998
  role: "button",
4997
4999
  class: "hoverable flex-grow-1",
@@ -5014,9 +5016,9 @@ function bu(r, a, n, d, c, u) {
5014
5016
  })) : P("", !0),
5015
5017
  j(S, { icon: "fa-solid fa-solid fa-paperclip" }),
5016
5018
  xe(" " + R(n.pjName), 1),
5017
- c.fileToUpload.length > 1 ? (g(), _("small", fu, " (" + R(c.fileToUpload.length) + " Fichiers)", 1)) : P("", !0)
5019
+ c.fileToUpload.length > 1 ? (g(), _("small", gu, " (" + R(c.fileToUpload.length) + " Fichiers)", 1)) : P("", !0)
5018
5020
  ]),
5019
- n.readOnly ? P("", !0) : Xe((g(), _("div", gu, [
5021
+ n.readOnly ? P("", !0) : Xe((g(), _("div", yu, [
5020
5022
  y("input", {
5021
5023
  id: "fileUpload-" + n.name,
5022
5024
  type: "file",
@@ -5025,7 +5027,7 @@ function bu(r, a, n, d, c, u) {
5025
5027
  hidden: "",
5026
5028
  multiple: "",
5027
5029
  onChange: a[9] || (a[9] = (...h) => u.addPj && u.addPj(...h))
5028
- }, null, 40, yu),
5030
+ }, null, 40, pu),
5029
5031
  y("button", {
5030
5032
  id: "add-field-" + n.name,
5031
5033
  type: "button",
@@ -5040,17 +5042,17 @@ function bu(r, a, n, d, c, u) {
5040
5042
  xe(" Ajouter"),
5041
5043
  y("span", { class: "d-none d-md-block" }, " un document")
5042
5044
  ], -1))
5043
- ], 8, pu)
5045
+ ], 8, _u)
5044
5046
  ], 512)), [
5045
5047
  [Wo, c.fileToUpload.length > 0]
5046
5048
  ]),
5047
- n.readOnly ? P("", !0) : (g(), _("div", _u, [
5049
+ n.readOnly ? P("", !0) : (g(), _("div", Su, [
5048
5050
  y("button", {
5049
5051
  id: "delete-all-pj-" + n.name,
5050
5052
  type: "button",
5051
5053
  class: "btn btn-link text-danger hoverable text-decoration-underline p-0",
5052
5054
  onClick: a[11] || (a[11] = (...h) => u.deletePj && u.deletePj(...h))
5053
- }, " Supprimer ", 8, Su)
5055
+ }, " Supprimer ", 8, bu)
5054
5056
  ]))
5055
5057
  ])
5056
5058
  ])) : (g(), _("div", {
@@ -5073,16 +5075,16 @@ function bu(r, a, n, d, c, u) {
5073
5075
  onDragenter: a[6] || (a[6] = G((h) => c.fileDragged = !0, ["prevent", "stop"])),
5074
5076
  onDragleave: a[7] || (a[7] = G((h) => c.fileDragged = !1, ["prevent", "stop"]))
5075
5077
  }, [
5076
- y("div", au, [
5078
+ y("div", ou, [
5077
5079
  j(S, {
5078
5080
  icon: ["fas", "cloud-arrow-up"],
5079
5081
  size: "3x",
5080
5082
  "beat-fade": c.fileDragged
5081
5083
  }, null, 8, ["beat-fade"])
5082
5084
  ]),
5083
- y("div", ou, [
5084
- y("div", lu, R(n.label ?? n.pjName), 1),
5085
- y("small", du, R(n.subText), 1),
5085
+ y("div", lu, [
5086
+ y("div", du, R(n.label ?? n.pjName), 1),
5087
+ y("small", uu, R(n.subText), 1),
5086
5088
  a[12] || (a[12] = y("hr", { class: "mx-auto w-50 m-0 mb-1" }, null, -1)),
5087
5089
  a[13] || (a[13] = y("small", {
5088
5090
  class: "d-block text-muted",
@@ -5104,16 +5106,16 @@ function bu(r, a, n, d, c, u) {
5104
5106
  required: n.required,
5105
5107
  name: "pj" + n.name,
5106
5108
  onChange: a[0] || (a[0] = (...h) => u.addPj && u.addPj(...h))
5107
- }, null, 40, uu)
5108
- ], 42, ru)
5109
- ], 8, nu))
5109
+ }, null, 40, cu)
5110
+ ], 42, au)
5111
+ ], 8, ru))
5110
5112
  ])
5111
5113
  ];
5112
5114
  }),
5113
5115
  _: 1
5114
5116
  }, 8, ["loading"]);
5115
5117
  }
5116
- const ju = /* @__PURE__ */ de(su, [["render", bu]]), ku = {
5118
+ const Vu = /* @__PURE__ */ de(iu, [["render", ku]]), wu = {
5117
5119
  name: "SliderSwitch",
5118
5120
  props: {
5119
5121
  listSection: {
@@ -5178,12 +5180,12 @@ const ju = /* @__PURE__ */ de(su, [["render", bu]]), ku = {
5178
5180
  a.style.width = n.clientWidth + "px", a.style.left = n.offsetLeft + "px";
5179
5181
  }
5180
5182
  }
5181
- }, wu = {
5183
+ }, vu = {
5182
5184
  class: "d-flex align-items-center justify-content-center mb-2 w-100 p-0",
5183
5185
  style: { "border-radius": "1em" }
5184
- }, vu = ["id", "onClick"];
5185
- function xu(r, a, n, d, c, u) {
5186
- return g(), _("div", wu, [
5186
+ }, xu = ["id", "onClick"];
5187
+ function Mu(r, a, n, d, c, u) {
5188
+ return g(), _("div", vu, [
5187
5189
  y("ul", {
5188
5190
  id: "switch-section",
5189
5191
  class: C(["d-flex justify-content-center rounded-5 p-2 m-0 position-relative w-100", [n.containerClass, { disabled: n.disabled }]])
@@ -5200,26 +5202,26 @@ function xu(r, a, n, d, c, u) {
5200
5202
  ]]),
5201
5203
  role: "button",
5202
5204
  onClick: (f) => u.switchSection(S.id)
5203
- }, R(S.name), 11, vu))), 128)),
5205
+ }, R(S.name), 11, xu))), 128)),
5204
5206
  y("span", {
5205
5207
  class: C(["slider position-absolute", n.bubbleClass])
5206
5208
  }, null, 2)
5207
5209
  ], 2)
5208
5210
  ]);
5209
5211
  }
5210
- const Vu = /* @__PURE__ */ de(ku, [["render", xu], ["__scopeId", "data-v-02559b82"]]);
5212
+ const zu = /* @__PURE__ */ de(wu, [["render", Mu], ["__scopeId", "data-v-02559b82"]]);
5211
5213
  export {
5212
5214
  ml as AmsomCard,
5213
- Bu as AmsomDocumentList,
5214
- Au as AmsomHorizontalStepper,
5215
- Fu as AmsomImage,
5215
+ ju as AmsomDocumentList,
5216
+ Fu as AmsomHorizontalStepper,
5217
+ Ru as AmsomImage,
5216
5218
  ol as AmsomModal,
5217
5219
  _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,
5220
+ Bu as AmsomPagination,
5221
+ Ed as AmsomSkeleton,
5222
+ zu as AmsomSliderSwitch,
5223
+ Hu as AmsomTableDraggable,
5224
+ Vu as AmsomUploadFile,
5225
+ Au as AmsomVerticalStepper,
5224
5226
  ol as default
5225
5227
  };