@amsom-habitat/ui 2.20.13 → 2.20.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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 zo, createVNode as j, withCtx as ze, withDirectives as Xe, vModelSelect as Uo, 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 Uo, createVNode as j, withCtx as Ue, withDirectives as Xe, vModelSelect as zo, 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,7 +375,7 @@ 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" }, pl = { style: { position: "relative", "z-index": "1" } };
378
+ }, gl = { class: "position-relative" }, yl = { class: "position-sticky sticky-top text-center" }, pl = { class: "h-100 w-100" };
379
379
  function _l(r, a, n, d, c, u) {
380
380
  return g(), _("div", gl, [
381
381
  n.loading ? (g(), _("div", {
@@ -384,7 +384,7 @@ function _l(r, a, n, d, c, u) {
384
384
  style: K({
385
385
  backgroundColor: "rgba(193, 193, 193," + n.opacity / 100 + ")",
386
386
  boxShadow: "inset 0 0 0 10px rgba(193, 193, 193, 0.5)",
387
- zIndex: 900
387
+ zIndex: 1050
388
388
  })
389
389
  }, [
390
390
  Q(r.$slots, "loading", {}, () => [
@@ -688,7 +688,7 @@ const ns = {
688
688
  }
689
689
  }
690
690
  }, ei = () => {
691
- zo((r) => ({
691
+ Uo((r) => ({
692
692
  v31536048: r.futureStepBgColorCss,
693
693
  dac29eac: r.bubbleSize + "rem",
694
694
  a3a0806e: r.passedStepBgColorCss,
@@ -884,7 +884,7 @@ function Bl(r, a, n, d, c, u) {
884
884
  "close-option": "",
885
885
  onClose: u.closeModal
886
886
  }, {
887
- default: ze(() => {
887
+ default: Ue(() => {
888
888
  var b, h, O;
889
889
  return [
890
890
  y("div", Al, [
@@ -1046,11 +1046,11 @@ function jl() {
1046
1046
  i = rs[s], o = t[i], h(o) || (e[i] = o);
1047
1047
  return e;
1048
1048
  }
1049
- function Ue(e) {
1049
+ function ze(e) {
1050
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);
1051
1051
  }
1052
1052
  function se(e) {
1053
- return e instanceof Ue || e != null && e._isAMomentObject != null;
1053
+ return e instanceof ze || e != null && e._isAMomentObject != null;
1054
1054
  }
1055
1055
  function as(e) {
1056
1056
  d.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
@@ -1314,9 +1314,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1314
1314
  };
1315
1315
  }
1316
1316
  function Vi(e, t) {
1317
- return f(lt, e) ? lt[e](t._strict, t._locale) : new RegExp(zi(e));
1317
+ return f(lt, e) ? lt[e](t._strict, t._locale) : new RegExp(Ui(e));
1318
1318
  }
1319
- function zi(e) {
1319
+ function Ui(e) {
1320
1320
  return ce(
1321
1321
  e.replace("\\", "").replace(
1322
1322
  /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
@@ -1349,24 +1349,24 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1349
1349
  o._w = o._w || {}, t(s, o._w, o, l);
1350
1350
  });
1351
1351
  }
1352
- function Ui(e, t, s) {
1352
+ function zi(e, t, s) {
1353
1353
  t != null && f(At, e) && At[e](t, s._a, s, e);
1354
1354
  }
1355
1355
  function dt(e) {
1356
1356
  return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
1357
1357
  }
1358
- var U = 0, he = 1, le = 2, z = 3, ie = 4, me = 5, De = 6, Wi = 7, Ei = 8;
1358
+ var z = 0, he = 1, le = 2, U = 3, ie = 4, me = 5, De = 6, Wi = 7, Ei = 8;
1359
1359
  x("Y", 0, 0, function() {
1360
1360
  var e = this.year();
1361
1361
  return e <= 9999 ? oe(e, 4) : "+" + e;
1362
1362
  }), x(0, ["YY", 2], 0, function() {
1363
1363
  return this.year() % 100;
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
+ }), 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) {
1365
+ t[z] = e.length === 2 ? d.parseTwoDigitYear(e) : T(e);
1366
1366
  }), L("YY", function(e, t) {
1367
- t[U] = d.parseTwoDigitYear(e);
1367
+ t[z] = d.parseTwoDigitYear(e);
1368
1368
  }), L("Y", function(e, t) {
1369
- t[U] = parseInt(e, 10);
1369
+ t[z] = parseInt(e, 10);
1370
1370
  });
1371
1371
  function qe(e) {
1372
1372
  return dt(e) ? 366 : 365;
@@ -1751,25 +1751,25 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1751
1751
  function Ms(e, t) {
1752
1752
  return t._meridiemParse;
1753
1753
  }
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) {
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"], U), L(["k", "kk"], function(e, t, s) {
1755
1755
  var i = T(e);
1756
- t[z] = i === 24 ? 0 : i;
1756
+ t[U] = i === 24 ? 0 : i;
1757
1757
  }), L(["a", "A"], function(e, t, s) {
1758
1758
  s._isPm = s._locale.isPM(e), s._meridiem = e;
1759
1759
  }), L(["h", "hh"], function(e, t, s) {
1760
- t[z] = T(e), D(s).bigHour = !0;
1760
+ t[U] = T(e), D(s).bigHour = !0;
1761
1761
  }), L("hmm", function(e, t, s) {
1762
1762
  var i = e.length - 2;
1763
- t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i)), D(s).bigHour = !0;
1763
+ t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i)), D(s).bigHour = !0;
1764
1764
  }), L("hmmss", function(e, t, s) {
1765
1765
  var i = e.length - 4, o = e.length - 2;
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;
1766
+ t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o)), D(s).bigHour = !0;
1767
1767
  }), L("Hmm", function(e, t, s) {
1768
1768
  var i = e.length - 2;
1769
- t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i));
1769
+ t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i));
1770
1770
  }), L("Hmmss", function(e, t, s) {
1771
1771
  var i = e.length - 4, o = e.length - 2;
1772
- t[z] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o));
1772
+ t[U] = T(e.substr(0, i)), t[ie] = T(e.substr(i, 2)), t[me] = T(e.substr(o));
1773
1773
  });
1774
1774
  function Nn(e) {
1775
1775
  return (e + "").toLowerCase().charAt(0) === "p";
@@ -1883,9 +1883,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1883
1883
  }
1884
1884
  function Vt(e) {
1885
1885
  var t, s = e._a;
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;
1886
+ 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;
1887
1887
  }
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 = [
1888
+ 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 = [
1889
1889
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1890
1890
  ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1891
1891
  ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
@@ -1899,7 +1899,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1899
1899
  ["YYYYDDD", /\d{7}/],
1900
1900
  ["YYYYMM", /\d{6}/, !1],
1901
1901
  ["YYYY", /\d{4}/, !1]
1902
- ], zt = [
1902
+ ], Ut = [
1903
1903
  ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1904
1904
  ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1905
1905
  ["HH:mm:ss", /\d\d:\d\d:\d\d/],
@@ -1922,7 +1922,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1922
1922
  PST: -8 * 60
1923
1923
  };
1924
1924
  function Ps(e) {
1925
- var t, s, i = e._i, o = zn.exec(i) || Un.exec(i), l, m, w, M, I = ht.length, E = zt.length;
1925
+ var t, s, i = e._i, o = Un.exec(i) || zn.exec(i), l, m, w, M, I = ht.length, E = Ut.length;
1926
1926
  if (o) {
1927
1927
  for (D(e).iso = !0, t = 0, s = I; t < s; t++)
1928
1928
  if (ht[t][1].exec(o[1])) {
@@ -1935,8 +1935,8 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
1935
1935
  }
1936
1936
  if (o[3]) {
1937
1937
  for (t = 0, s = E; t < s; t++)
1938
- if (zt[t][1].exec(o[3])) {
1939
- w = (o[2] || " ") + zt[t][0];
1938
+ if (Ut[t][1].exec(o[3])) {
1939
+ w = (o[2] || " ") + Ut[t][0];
1940
1940
  break;
1941
1941
  }
1942
1942
  if (w == null) {
@@ -2045,26 +2045,26 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2045
2045
  t.getUTCDate()
2046
2046
  ] : [t.getFullYear(), t.getMonth(), t.getDate()];
2047
2047
  }
2048
- function Ut(e) {
2048
+ function zt(e) {
2049
2049
  var t, s, i = [], o, l, m;
2050
2050
  if (!e._d) {
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)
2051
+ 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)
2052
2052
  e._a[t] = i[t] = o[t];
2053
2053
  for (; t < 7; t++)
2054
2054
  e._a[t] = i[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
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(
2055
+ 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(
2056
2056
  null,
2057
2057
  i
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);
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[U] = 24), e._w && typeof e._w.d < "u" && e._w.d !== l && (D(e).weekdayMismatch = !0);
2059
2059
  }
2060
2060
  }
2061
2061
  function tr(e) {
2062
2062
  var t, s, i, o, l, m, w, M, I;
2063
2063
  t = e._w, t.GG != null || t.W != null || t.E != null ? (l = 1, m = 4, s = Fe(
2064
2064
  t.GG,
2065
- e._a[U],
2065
+ e._a[z],
2066
2066
  Ze(F(), 1, 4).year
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);
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[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);
2068
2068
  }
2069
2069
  d.ISO_8601 = function() {
2070
2070
  }, d.RFC_2822 = function() {
@@ -2083,12 +2083,12 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2083
2083
  for (o = ds(e._f, e._locale).match(Tt) || [], E = o.length, s = 0; s < E; s++)
2084
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(
2085
2085
  t.indexOf(i) + i.length
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
+ ), 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);
2087
+ 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(
2088
2088
  e._locale,
2089
- e._a[z],
2089
+ e._a[U],
2090
2090
  e._meridiem
2091
- ), I = D(e).era, I !== null && (e._a[U] = e._locale.erasConvertYear(I, e._a[U])), Ut(e), Vt(e);
2091
+ ), I = D(e).era, I !== null && (e._a[z] = e._locale.erasConvertYear(I, e._a[z])), zt(e), Vt(e);
2092
2092
  }
2093
2093
  function sr(e, t, s) {
2094
2094
  var i;
@@ -2112,22 +2112,22 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2112
2112
  function(i) {
2113
2113
  return i && parseInt(i, 10);
2114
2114
  }
2115
- ), Ut(e);
2115
+ ), zt(e);
2116
2116
  }
2117
2117
  }
2118
2118
  function rr(e) {
2119
- var t = new Ue(Vt(Is(e)));
2119
+ var t = new ze(Vt(Is(e)));
2120
2120
  return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
2121
2121
  }
2122
2122
  function Is(e) {
2123
2123
  var t = e._i, s = e._f;
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));
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 ze(Vt(t)) : (k(t) ? e._d = t : u(s) ? ir(e) : s ? Wt(e) : ar(e), vt(e) || (e._d = null), e));
2125
2125
  }
2126
2126
  function ar(e) {
2127
2127
  var t = e._i;
2128
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) {
2129
2129
  return parseInt(s, 10);
2130
- }), Ut(e)) : S(t) ? nr(e) : O(t) ? e._d = new Date(t) : d.createFromInputFallback(e);
2130
+ }), zt(e)) : S(t) ? nr(e) : O(t) ? e._d = new Date(t) : d.createFromInputFallback(e);
2131
2131
  }
2132
2132
  function Ys(e, t, s, i, o) {
2133
2133
  var l = {};
@@ -2305,7 +2305,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2305
2305
  } : O(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (i = Dr.exec(e)) ? (o = i[1] === "-" ? -1 : 1, s = {
2306
2306
  y: 0,
2307
2307
  d: T(i[le]) * o,
2308
- h: T(i[z]) * o,
2308
+ h: T(i[U]) * o,
2309
2309
  m: T(i[ie]) * o,
2310
2310
  s: T(i[me]) * o,
2311
2311
  ms: T(Et(i[De] * 1e3)) * o
@@ -2418,7 +2418,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2418
2418
  );
2419
2419
  }
2420
2420
  function Hr() {
2421
- return new Ue(this);
2421
+ return new ze(this);
2422
2422
  }
2423
2423
  function Br(e, t) {
2424
2424
  var s = se(e) ? e : F(e);
@@ -2432,11 +2432,11 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2432
2432
  var o = se(e) ? e : F(e), l = se(t) ? t : F(t);
2433
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;
2434
2434
  }
2435
- function zr(e, t) {
2435
+ function Ur(e, t) {
2436
2436
  var s = se(e) ? e : F(e), i;
2437
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;
2438
2438
  }
2439
- function Ur(e, t) {
2439
+ function zr(e, t) {
2440
2440
  return this.isSame(e, t) || this.isAfter(e, t);
2441
2441
  }
2442
2442
  function Wr(e, t) {
@@ -2536,21 +2536,21 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2536
2536
  function Vs() {
2537
2537
  return this._locale;
2538
2538
  }
2539
- var yt = 1e3, Re = 60 * yt, pt = 60 * Re, zs = (365 * 400 + 97) * 24 * pt;
2539
+ var yt = 1e3, Re = 60 * yt, pt = 60 * Re, Us = (365 * 400 + 97) * 24 * pt;
2540
2540
  function He(e, t) {
2541
2541
  return (e % t + t) % t;
2542
2542
  }
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
+ function zs(e, t, s) {
2544
+ return e < 100 && e >= 0 ? new Date(e + 400, t, s) - Us : new Date(e, t, s).valueOf();
2545
2545
  }
2546
2546
  function Ws(e, t, s) {
2547
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - zs : Date.UTC(e, t, s);
2547
+ return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - Us : Date.UTC(e, t, s);
2548
2548
  }
2549
2549
  function ea(e) {
2550
2550
  var t, s;
2551
2551
  if (e = ee(e), e === void 0 || e === "millisecond" || !this.isValid())
2552
2552
  return this;
2553
- switch (s = this._isUTC ? Ws : Us, e) {
2553
+ switch (s = this._isUTC ? Ws : zs, e) {
2554
2554
  case "year":
2555
2555
  t = s(this.year(), 0, 1);
2556
2556
  break;
@@ -2601,7 +2601,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2601
2601
  var t, s;
2602
2602
  if (e = ee(e), e === void 0 || e === "millisecond" || !this.isValid())
2603
2603
  return this;
2604
- switch (s = this._isUTC ? Ws : Us, e) {
2604
+ switch (s = this._isUTC ? Ws : zs, e) {
2605
2605
  case "year":
2606
2606
  t = s(this.year() + 1, 0, 1) - 1;
2607
2607
  break;
@@ -2708,9 +2708,9 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2708
2708
  var o = s._locale.erasParse(e, i, s._strict);
2709
2709
  o ? D(s).era = o : D(s).invalidEra = e;
2710
2710
  }
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) {
2711
+ ), 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) {
2712
2712
  var o;
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);
2713
+ s._locale._eraYearOrdinalRegex && (o = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[z] = s._locale.eraYearOrdinalParse(e, o) : t[z] = parseInt(e, 10);
2714
2714
  });
2715
2715
  function ha(e, t) {
2716
2716
  var s, i, o, l = this._eras || ge("en")._eras;
@@ -2931,8 +2931,8 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2931
2931
  function Ha() {
2932
2932
  return this._isUTC ? "Coordinated Universal Time" : "";
2933
2933
  }
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
+ var p = ze.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 = 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() {
2936
2936
  return "Moment<" + this.format() + ">";
2937
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(
2938
2938
  "dates accessor is deprecated. Use date instead.",
@@ -2985,10 +2985,10 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
2985
2985
  function Va(e, t) {
2986
2986
  return Zs(e, t, "months");
2987
2987
  }
2988
- function za(e, t) {
2988
+ function Ua(e, t) {
2989
2989
  return Zs(e, t, "monthsShort");
2990
2990
  }
2991
- function Ua(e, t, s) {
2991
+ function za(e, t, s) {
2992
2992
  return Jt(e, t, s, "weekdays");
2993
2993
  }
2994
2994
  function Wa(e, t, s) {
@@ -3163,7 +3163,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
3163
3163
  s._d = new Date(T(e));
3164
3164
  });
3165
3165
  //! moment.js
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 = {
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 = 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 = {
3167
3167
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
3168
3168
  // <input type="datetime-local" />
3169
3169
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -3314,11 +3314,11 @@ function li(r) {
3314
3314
  function di(r) {
3315
3315
  return typeof r == "boolean";
3316
3316
  }
3317
- function zl(r, a, n) {
3317
+ function Ul(r, a, n) {
3318
3318
  const d = (r ? 1 : 0) - (a ? 1 : 0);
3319
3319
  return n ? -d : d;
3320
3320
  }
3321
- function Ul(r, a) {
3321
+ function zl(r, a) {
3322
3322
  const n = (r == null || r === "") && typeof r != "boolean", d = (a == null || a === "") && typeof a != "boolean";
3323
3323
  return n && d ? 0 : n ? 1 : d ? -1 : null;
3324
3324
  }
@@ -3335,10 +3335,10 @@ function Wl(r, a, n) {
3335
3335
  }
3336
3336
  function kt(r, a, n) {
3337
3337
  var d, c, u, S;
3338
- const f = Ul(r, a);
3338
+ const f = zl(r, a);
3339
3339
  if (f !== null) return f;
3340
3340
  if (di(r) && di(a))
3341
- return zl(r, a, n);
3341
+ return Ul(r, a, n);
3342
3342
  if (ai.test(r) && ai.test(a)) {
3343
3343
  const k = Vl(r, a);
3344
3344
  return n ? k : -k;
@@ -4240,7 +4240,7 @@ function Nd(r, a, n, d, c, u) {
4240
4240
  class: "d-flex flex-wrap",
4241
4241
  "ghost-class": "deep-filter-ghost-class"
4242
4242
  }, {
4243
- default: ze(() => [
4243
+ default: Ue(() => [
4244
4244
  (g(!0), _(B, null, $(c.deepSortsList, (h, O) => (g(), _("div", {
4245
4245
  key: h.id,
4246
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",
@@ -4283,7 +4283,7 @@ function Nd(r, a, n, d, c, u) {
4283
4283
  value: h.value
4284
4284
  }, R(h.text), 9, td))), 128))
4285
4285
  ], 512)), [
4286
- [Uo, c.maxItemsPerPage]
4286
+ [zo, c.maxItemsPerPage]
4287
4287
  ]) : P("", !0)
4288
4288
  ])) : P("", !0),
4289
4289
  n.showModifyColumnsBtn ? (g(), _("div", sd, [
@@ -4348,7 +4348,7 @@ function Nd(r, a, n, d, c, u) {
4348
4348
  move: u.checkMove,
4349
4349
  group: "columns"
4350
4350
  }, {
4351
- default: ze(() => [
4351
+ default: Ue(() => [
4352
4352
  (g(!0), _(B, null, $(c.columns, (h, O) => (g(), _(B, {
4353
4353
  key: h.id
4354
4354
  }, [
@@ -4672,7 +4672,7 @@ const Ld = {
4672
4672
  key: 0,
4673
4673
  class: "w-100 user-select-none"
4674
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) {
4675
+ function Ud(r, a, n, d, c, u) {
4676
4676
  const S = Z("font-awesome-icon");
4677
4677
  return n.totalPages && n.totalPages > 1 ? (g(), _("div", Ad, [
4678
4678
  y("ul", Fd, [
@@ -4725,7 +4725,7 @@ function zd(r, a, n, d, c, u) {
4725
4725
  ])
4726
4726
  ])) : P("", !0);
4727
4727
  }
4728
- const Bu = /* @__PURE__ */ de(Ld, [["render", zd]]), Ud = {
4728
+ const Bu = /* @__PURE__ */ de(Ld, [["render", Ud]]), zd = {
4729
4729
  name: "AmsomSkeleton",
4730
4730
  props: {
4731
4731
  /**
@@ -4757,7 +4757,7 @@ function Wd(r, a, n, d, c, u) {
4757
4757
  }, null, 2))), 128))
4758
4758
  ], 2);
4759
4759
  }
4760
- const Ed = /* @__PURE__ */ de(Ud, [["render", Wd]]);
4760
+ const Ed = /* @__PURE__ */ de(zd, [["render", Wd]]);
4761
4761
  Ce.add(Fo, is);
4762
4762
  const qd = {
4763
4763
  name: "AmsomDocumentList",
@@ -4823,9 +4823,9 @@ const qd = {
4823
4823
  function tu(r, a, n, d, c, u) {
4824
4824
  const S = Z("amsom-skeleton"), f = Z("font-awesome-icon"), b = Z("amsom-card"), h = Z("amsom-overlay");
4825
4825
  return g(), q(h, { loading: c.processing }, {
4826
- default: ze(() => [
4826
+ default: Ue(() => [
4827
4827
  j(b, null, {
4828
- default: ze(() => {
4828
+ default: Ue(() => {
4829
4829
  var O;
4830
4830
  return [
4831
4831
  y("h5", null, R(n.title), 1),
@@ -4987,7 +4987,7 @@ const su = window.File_native ?? window.File, iu = {
4987
4987
  function ku(r, a, n, d, c, u) {
4988
4988
  const S = Z("font-awesome-icon"), f = Z("amsom-overlay");
4989
4989
  return g(), q(f, { loading: c.fileLoading }, {
4990
- default: ze(() => {
4990
+ default: Ue(() => {
4991
4991
  var b;
4992
4992
  return [
4993
4993
  y("div", nu, [
@@ -5209,7 +5209,7 @@ function Mu(r, a, n, d, c, u) {
5209
5209
  ], 2)
5210
5210
  ]);
5211
5211
  }
5212
- const zu = /* @__PURE__ */ de(wu, [["render", Mu], ["__scopeId", "data-v-02559b82"]]);
5212
+ const Uu = /* @__PURE__ */ de(wu, [["render", Mu], ["__scopeId", "data-v-02559b82"]]);
5213
5213
  export {
5214
5214
  ml as AmsomCard,
5215
5215
  ju as AmsomDocumentList,
@@ -5219,7 +5219,7 @@ export {
5219
5219
  _i as AmsomOverlay,
5220
5220
  Bu as AmsomPagination,
5221
5221
  Ed as AmsomSkeleton,
5222
- zu as AmsomSliderSwitch,
5222
+ Uu as AmsomSliderSwitch,
5223
5223
  Hu as AmsomTableDraggable,
5224
5224
  Vu as AmsomUploadFile,
5225
5225
  Au as AmsomVerticalStepper,