@anzusystems/common-admin 0.0.17 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var Pr = Object.defineProperty;
2
2
  var Ir = (e, n, t) => n in e ? Pr(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var hn = (e, n, t) => (Ir(e, typeof n != "symbol" ? n + "" : n, t), t);
4
- import { defineComponent as B, computed as A, openBlock as _, createBlock as j, unref as h, withCtx as k, createTextVNode as Z, toDisplayString as L, createElementBlock as U, createVNode as M, createCommentVNode as re, renderSlot as $e, createElementVNode as ie, resolveComponent as Er, normalizeClass as De, withModifiers as se, withDirectives as Ka, vShow as Za, isProxy as Nr, toRaw as Fr, isRef as Ue, inject as ze, createSlots as xn, Fragment as Je, provide as xa, ref as te, renderList as dt, watch as ct, TransitionGroup as Qa, normalizeStyle as Oa, resolveDynamicComponent as ea, h as Lr, nextTick as Vr, onMounted as jr, withKeys as Br, reactive as Rr, toRefs as Xa, mergeProps as ta, readonly as Et, createStaticVNode as er, setBlockTracking as $a, onBeforeUnmount as Yr } from "vue";
4
+ import { defineComponent as B, computed as A, openBlock as _, createBlock as j, unref as h, withCtx as k, createTextVNode as Z, toDisplayString as L, createElementBlock as U, createVNode as M, createCommentVNode as re, renderSlot as $e, createElementVNode as ie, resolveComponent as Er, normalizeClass as De, withModifiers as se, withDirectives as Ka, vShow as Za, isProxy as Fr, toRaw as Nr, isRef as Ue, inject as ze, createSlots as xn, Fragment as Je, provide as xa, ref as te, renderList as dt, watch as ct, TransitionGroup as Qa, normalizeStyle as Oa, resolveDynamicComponent as ea, h as Lr, nextTick as Vr, onMounted as jr, withKeys as Br, reactive as Rr, toRefs as Xa, mergeProps as ta, readonly as Et, createStaticVNode as er, setBlockTracking as $a, onBeforeUnmount as Yr } from "vue";
5
5
  import { useI18n as X, createI18n as Hr } from "vue-i18n";
6
6
  import { useI18n as wc } from "vue-i18n";
7
7
  import { VChip as Rt } from "vuetify/lib/components/VChip/index.mjs";
@@ -77,7 +77,7 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
77
77
  _: 3
78
78
  }));
79
79
  }
80
- }), _o = ["textContent"], Fu = /* @__PURE__ */ B({
80
+ }), _o = ["textContent"], Nu = /* @__PURE__ */ B({
81
81
  __name: "AAlerts",
82
82
  props: {
83
83
  max: { default: 5 },
@@ -156,13 +156,13 @@ const ft = (e, n) => {
156
156
  for (const [a, o] of n)
157
157
  t[a] = o;
158
158
  return t;
159
- }, Lu = /* @__PURE__ */ ft(ko, [["__scopeId", "data-v-4efd8dab"]]), x = (e) => typeof e > "u", Na = (e) => !x(e), _e = (e) => e === null, na = (e) => typeof e == "number", nt = (e) => typeof e == "string", Xe = (e) => Array.isArray(e), Fa = (e) => typeof e == "boolean", Vu = (e) => nt(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), ju = (e) => {
159
+ }, Lu = /* @__PURE__ */ ft(ko, [["__scopeId", "data-v-4efd8dab"]]), x = (e) => typeof e > "u", Fa = (e) => !x(e), _e = (e) => e === null, na = (e) => typeof e == "number", nt = (e) => typeof e == "string", Xe = (e) => Array.isArray(e), Na = (e) => typeof e == "boolean", Vu = (e) => nt(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), ju = (e) => {
160
160
  const n = parseFloat(e);
161
161
  return !isNaN(e) && (n | 0) === n;
162
162
  }, lr = (e) => typeof e == "object" && !Xe(e) && !_e(e), sr = (e) => lr(e) ? Object.keys(e).length === 0 : !1, ur = (e) => Xe(e) && e.length === 0, Do = (e) => _e(e) || x(e) || e === "" || e === 0 || ur(e) || sr(e), jt = (e) => {
163
163
  if (typeof structuredClone == "function")
164
164
  try {
165
- return Nr(e) ? structuredClone(Fr(e)) : Ue(e) ? structuredClone(h(e)) : structuredClone(e);
165
+ return Fr(e) ? structuredClone(Nr(e)) : Ue(e) ? structuredClone(h(e)) : structuredClone(e);
166
166
  } catch {
167
167
  return JSON.parse(JSON.stringify(e));
168
168
  }
@@ -488,7 +488,7 @@ var aa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
488
488
  function cr(e) {
489
489
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
490
490
  }
491
- var Gn = {}, No = {
491
+ var Gn = {}, Fo = {
492
492
  get exports() {
493
493
  return Gn;
494
494
  },
@@ -500,15 +500,15 @@ var Gn = {}, No = {
500
500
  (function(t, a) {
501
501
  e.exports = a();
502
502
  })(aa, function() {
503
- var t = 1e3, a = 6e4, o = 36e5, l = "millisecond", s = "second", c = "minute", d = "hour", y = "day", p = "week", m = "month", f = "quarter", w = "year", V = "date", z = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
503
+ var t = 1e3, a = 6e4, o = 36e5, l = "millisecond", s = "second", c = "minute", d = "hour", y = "day", p = "week", m = "month", f = "quarter", w = "year", V = "date", z = "Invalid Date", F = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
504
504
  var g = ["th", "st", "nd", "rd"], b = T % 100;
505
505
  return "[" + T + (g[(b - 20) % 10] || g[b] || g[0]) + "]";
506
- } }, F = function(T, g, b) {
506
+ } }, N = function(T, g, b) {
507
507
  var S = String(T);
508
508
  return !S || S.length >= g ? T : "" + Array(g + 1 - S.length).join(b) + T;
509
- }, H = { s: F, z: function(T) {
509
+ }, H = { s: N, z: function(T) {
510
510
  var g = -T.utcOffset(), b = Math.abs(g), S = Math.floor(b / 60), D = b % 60;
511
- return (g <= 0 ? "+" : "-") + F(S, 2, "0") + ":" + F(D, 2, "0");
511
+ return (g <= 0 ? "+" : "-") + N(S, 2, "0") + ":" + N(D, 2, "0");
512
512
  }, m: function T(g, b) {
513
513
  if (g.date() < b.date())
514
514
  return -T(b, g);
@@ -563,7 +563,7 @@ var Gn = {}, No = {
563
563
  if (D instanceof Date)
564
564
  return new Date(D);
565
565
  if (typeof D == "string" && !/Z$/i.test(D)) {
566
- var J = D.match(N);
566
+ var J = D.match(F);
567
567
  if (J) {
568
568
  var K = J[2] - 1 || 0, ce = (J[7] || "0").substring(0, 3);
569
569
  return R ? new Date(Date.UTC(J[1], K, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, ce)) : new Date(J[1], K, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, ce);
@@ -593,8 +593,8 @@ var Gn = {}, No = {
593
593
  return this.$d.getTime();
594
594
  }, g.startOf = function(b, S) {
595
595
  var D = this, R = !!G.u(S) || S, J = G.p(b), K = function(Ce, pe) {
596
- var Ne = G.w(D.$u ? Date.UTC(D.$y, pe, Ce) : new Date(D.$y, pe, Ce), D);
597
- return R ? Ne : Ne.endOf(y);
596
+ var Fe = G.w(D.$u ? Date.UTC(D.$y, pe, Ce) : new Date(D.$y, pe, Ce), D);
597
+ return R ? Fe : Fe.endOf(y);
598
598
  }, ce = function(Ce, pe) {
599
599
  return G.w(D.toDate()[Ce].apply(D.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(pe)), D);
600
600
  }, me = this.$W, ve = this.$M, Ie = this.$D, ke = "set" + (this.$u ? "UTC" : "");
@@ -655,16 +655,16 @@ var Gn = {}, No = {
655
655
  var S = this, D = this.$locale();
656
656
  if (!this.isValid())
657
657
  return D.invalidDate || z;
658
- var R = b || "YYYY-MM-DDTHH:mm:ssZ", J = G.z(this), K = this.$H, ce = this.$m, me = this.$M, ve = D.weekdays, Ie = D.months, ke = function(pe, Ne, Ze, Be) {
659
- return pe && (pe[Ne] || pe(S, R)) || Ze[Ne].slice(0, Be);
658
+ var R = b || "YYYY-MM-DDTHH:mm:ssZ", J = G.z(this), K = this.$H, ce = this.$m, me = this.$M, ve = D.weekdays, Ie = D.months, ke = function(pe, Fe, Ze, Be) {
659
+ return pe && (pe[Fe] || pe(S, R)) || Ze[Fe].slice(0, Be);
660
660
  }, je = function(pe) {
661
661
  return G.s(K % 12 || 12, pe, "0");
662
- }, Ee = D.meridiem || function(pe, Ne, Ze) {
662
+ }, Ee = D.meridiem || function(pe, Fe, Ze) {
663
663
  var Be = pe < 12 ? "AM" : "PM";
664
664
  return Ze ? Be.toLowerCase() : Be;
665
665
  }, Ce = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: me + 1, MM: G.s(me + 1, 2, "0"), MMM: ke(D.monthsShort, me, Ie, 3), MMMM: ke(Ie, me), D: this.$D, DD: G.s(this.$D, 2, "0"), d: String(this.$W), dd: ke(D.weekdaysMin, this.$W, ve, 2), ddd: ke(D.weekdaysShort, this.$W, ve, 3), dddd: ve[this.$W], H: String(K), HH: G.s(K, 2, "0"), h: je(1), hh: je(2), a: Ee(K, ce, !0), A: Ee(K, ce, !1), m: String(ce), mm: G.s(ce, 2, "0"), s: String(this.$s), ss: G.s(this.$s, 2, "0"), SSS: G.s(this.$ms, 3, "0"), Z: J };
666
- return R.replace($, function(pe, Ne) {
667
- return Ne || Ce[pe] || J.replace(":", "");
666
+ return R.replace($, function(pe, Fe) {
667
+ return Fe || Ce[pe] || J.replace(":", "");
668
668
  });
669
669
  }, g.utcOffset = function() {
670
670
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
@@ -702,9 +702,9 @@ var Gn = {}, No = {
702
702
  return ee(1e3 * T);
703
703
  }, ee.en = ue[le], ee.Ls = ue, ee.p = {}, ee;
704
704
  });
705
- })(No);
705
+ })(Fo);
706
706
  const be = Gn;
707
- var Kn = {}, Fo = {
707
+ var Kn = {}, No = {
708
708
  get exports() {
709
709
  return Kn;
710
710
  },
@@ -720,11 +720,11 @@ var Kn = {}, Fo = {
720
720
  return function(l, s, c) {
721
721
  var d = s.prototype;
722
722
  c.utc = function(z) {
723
- var N = { date: z, utc: !0, args: arguments };
724
- return new s(N);
723
+ var F = { date: z, utc: !0, args: arguments };
724
+ return new s(F);
725
725
  }, d.utc = function(z) {
726
- var N = c(this.toDate(), { locale: this.$L, utc: !0 });
727
- return z ? N.add(this.utcOffset(), t) : N;
726
+ var F = c(this.toDate(), { locale: this.$L, utc: !0 });
727
+ return z ? F.add(this.utcOffset(), t) : F;
728
728
  }, d.local = function() {
729
729
  return c(this.toDate(), { locale: this.$L, utc: !1 });
730
730
  };
@@ -741,7 +741,7 @@ var Kn = {}, Fo = {
741
741
  p.call(this);
742
742
  };
743
743
  var m = d.utcOffset;
744
- d.utcOffset = function(z, N) {
744
+ d.utcOffset = function(z, F) {
745
745
  var $ = this.$utils().u;
746
746
  if ($(z))
747
747
  return this.$u ? 0 : $(this.$offset) ? m.call(this) : this.$offset;
@@ -754,20 +754,20 @@ var Kn = {}, Fo = {
754
754
  return ee === 0 ? 0 : we === "+" ? ee : -ee;
755
755
  }(z), z === null))
756
756
  return this;
757
- var P = Math.abs(z) <= 16 ? 60 * z : z, F = this;
758
- if (N)
759
- return F.$offset = P, F.$u = z === 0, F;
757
+ var P = Math.abs(z) <= 16 ? 60 * z : z, N = this;
758
+ if (F)
759
+ return N.$offset = P, N.$u = z === 0, N;
760
760
  if (z !== 0) {
761
761
  var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
762
- (F = this.local().add(P + H, t)).$offset = P, F.$x.$localOffset = H;
762
+ (N = this.local().add(P + H, t)).$offset = P, N.$x.$localOffset = H;
763
763
  } else
764
- F = this.utc();
765
- return F;
764
+ N = this.utc();
765
+ return N;
766
766
  };
767
767
  var f = d.format;
768
768
  d.format = function(z) {
769
- var N = z || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
770
- return f.call(this, N);
769
+ var F = z || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
770
+ return f.call(this, F);
771
771
  }, d.valueOf = function() {
772
772
  var z = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
773
773
  return this.$d.valueOf() - 6e4 * z;
@@ -783,15 +783,15 @@ var Kn = {}, Fo = {
783
783
  return z === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : w.call(this);
784
784
  };
785
785
  var V = d.diff;
786
- d.diff = function(z, N, $) {
786
+ d.diff = function(z, F, $) {
787
787
  if (z && this.$u === z.$u)
788
- return V.call(this, z, N, $);
789
- var P = this.local(), F = c(z).local();
790
- return V.call(P, F, N, $);
788
+ return V.call(this, z, F, $);
789
+ var P = this.local(), N = c(z).local();
790
+ return V.call(P, N, F, $);
791
791
  };
792
792
  };
793
793
  });
794
- })(Fo);
794
+ })(No);
795
795
  const Lo = Kn;
796
796
  be.extend(Lo);
797
797
  const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000000Z", fr = "2100-01-01T00:00:00.000000Z", Vo = () => be().utc().toDate(), Qu = () => Co(be().utc().unix()), Cn = (e = !0, n = !1) => e && !n ? be().utc().format("YYYY-MM-DDTHH:mm:ss") + mt : e && n ? be().utc().format("YYYY-MM-DDTHH:mm:00") + mt : !e && n ? be().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : be().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Xu = (e = 0) => e === 0 ? be().startOf("day").utc().format(Dn) + mt : be().add(e, "days").startOf("day").utc().format(Dn) + mt, ed = (e = 0) => e === 0 ? be().endOf("day").utc().format(Dn) + mt : be().add(e, "days").endOf("day").utc().format(Dn) + mt, td = (e = 0, n = null) => {
@@ -905,28 +905,28 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
905
905
  n("update:modelValue", jt(P));
906
906
  }
907
907
  }), { t: o } = X(), l = A(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = A(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), c = A(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), d = A(() => a.value.page === 1), y = A(() => !_e(a.value.hasNextPage) || a.value.page === l.value), p = A(() => _e(a.value.hasNextPage) && a.value.page === l.value || a.value.hasNextPage === !1), m = A(() => _e(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? c.value + 1 + "+" : c.value), f = A(() => a.value.rowsPerPage);
908
- ct(f, (P, F) => {
909
- P !== F && (a.value.page = 1, n("change"));
908
+ ct(f, (P, N) => {
909
+ P !== N && (a.value.page = 1, n("change"));
910
910
  });
911
911
  const w = A(() => a.value.page);
912
- ct(w, (P, F) => {
913
- P !== F && n("change");
912
+ ct(w, (P, N) => {
913
+ P !== N && n("change");
914
914
  });
915
915
  const V = () => {
916
916
  a.value.page = 1;
917
917
  }, z = () => {
918
918
  a.value.page = l.value;
919
- }, N = () => {
919
+ }, F = () => {
920
920
  a.value.page = a.value.page - 1;
921
921
  }, $ = () => {
922
922
  a.value.page = a.value.page + 1;
923
923
  };
924
- return (P, F) => (_(), U("div", Zo, [
924
+ return (P, N) => (_(), U("div", Zo, [
925
925
  e.hideRecordsPerPage ? re("", !0) : (_(), U("div", Qo, [
926
926
  Z(L(h(o)("common.system.datatable.itemsPerPage")) + ": ", 1),
927
927
  M(Pn, {
928
928
  modelValue: h(a).rowsPerPage,
929
- "onUpdate:modelValue": F[0] || (F[0] = (H) => h(a).rowsPerPage = H),
929
+ "onUpdate:modelValue": N[0] || (N[0] = (H) => h(a).rowsPerPage = H),
930
930
  class: "ml-2",
931
931
  density: "compact",
932
932
  mandatory: "",
@@ -964,7 +964,7 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
964
964
  icon: "mdi-chevron-left",
965
965
  size: "small",
966
966
  variant: "text",
967
- onClick: se(N, ["stop"])
967
+ onClick: se(F, ["stop"])
968
968
  }, null, 8, ["disabled", "onClick"])
969
969
  ]),
970
970
  ie("div", ti, [
@@ -1808,7 +1808,7 @@ function $i(e) {
1808
1808
  const n = x(e) || x(e.disableInject), t = (e == null ? void 0 : e.currentUser) ?? (n ? ze(En, void 0) : void 0), a = (e == null ? void 0 : e.customAclProvider) ?? (n ? ze(vr, void 0) : void 0), o = (d, y) => {
1809
1809
  if (x(t))
1810
1810
  throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
1811
- if (Na(a) && Na(a.can))
1811
+ if (Fa(a) && Fa(a.can))
1812
1812
  return a.can(d, y);
1813
1813
  if (x(t.value) || t.value.id === 0)
1814
1814
  return !1;
@@ -2163,18 +2163,18 @@ var Rn = function() {
2163
2163
  u: "(.+)",
2164
2164
  w: "(\\d\\d|\\d)",
2165
2165
  y: "(\\d{2})"
2166
- }, Nt = {
2166
+ }, Ft = {
2167
2167
  Z: function(e) {
2168
2168
  return e.toISOString();
2169
2169
  },
2170
2170
  D: function(e, n, t) {
2171
- return n.weekdays.shorthand[Nt.w(e, n, t)];
2171
+ return n.weekdays.shorthand[Ft.w(e, n, t)];
2172
2172
  },
2173
2173
  F: function(e, n, t) {
2174
- return An(Nt.n(e, n, t) - 1, !1, n);
2174
+ return An(Ft.n(e, n, t) - 1, !1, n);
2175
2175
  },
2176
2176
  G: function(e, n, t) {
2177
- return Pe(Nt.h(e, n, t));
2177
+ return Pe(Ft.h(e, n, t));
2178
2178
  },
2179
2179
  H: function(e) {
2180
2180
  return Pe(e.getHours());
@@ -2238,7 +2238,7 @@ var Rn = function() {
2238
2238
  return function(c, d, y) {
2239
2239
  var p = y || o;
2240
2240
  return t.formatDate !== void 0 && !s ? t.formatDate(c, d, p) : d.split("").map(function(m, f, w) {
2241
- return Nt[m] && w[f - 1] !== "\\" ? Nt[m](c, p, t) : m !== "\\" ? m : "";
2241
+ return Ft[m] && w[f - 1] !== "\\" ? Ft[m](c, p, t) : m !== "\\" ? m : "";
2242
2242
  }).join("");
2243
2243
  };
2244
2244
  }, Zn = function(e) {
@@ -2259,13 +2259,13 @@ var Rn = function() {
2259
2259
  else if (/Z$/.test(w) || /GMT$/.test(w))
2260
2260
  p = new Date(l);
2261
2261
  else {
2262
- for (var V = void 0, z = [], N = 0, $ = 0, P = ""; N < f.length; N++) {
2263
- var F = f[N], H = F === "\\", le = f[N - 1] === "\\" || H;
2264
- if (ut[F] && !le) {
2265
- P += ut[F];
2262
+ for (var V = void 0, z = [], F = 0, $ = 0, P = ""; F < f.length; F++) {
2263
+ var N = f[F], H = N === "\\", le = f[F - 1] === "\\" || H;
2264
+ if (ut[N] && !le) {
2265
+ P += ut[N];
2266
2266
  var ue = new RegExp(P).exec(l);
2267
- ue && (V = !0) && z[F !== "Y" ? "push" : "unshift"]({
2268
- fn: Ii[F],
2267
+ ue && (V = !0) && z[N !== "Y" ? "push" : "unshift"]({
2268
+ fn: Ii[N],
2269
2269
  val: ue[++$]
2270
2270
  });
2271
2271
  } else
@@ -2292,10 +2292,10 @@ var Ei = function(e, n, t) {
2292
2292
  return e > Math.min(n, t) && e < Math.max(n, t);
2293
2293
  }, Yn = function(e, n, t) {
2294
2294
  return e * 3600 + n * 60 + t;
2295
- }, Ni = function(e) {
2295
+ }, Fi = function(e) {
2296
2296
  var n = Math.floor(e / 3600), t = (e - n * 3600) / 60;
2297
2297
  return [n, t, e - n * 3600 - t * 60];
2298
- }, Fi = {
2298
+ }, Ni = {
2299
2299
  DAY: 864e5
2300
2300
  };
2301
2301
  function Hn(e) {
@@ -2405,7 +2405,7 @@ function Vi(e, n) {
2405
2405
  if (t.config.maxTime !== void 0 && t.config.minTime !== void 0 && t.config.minTime > t.config.maxTime) {
2406
2406
  var O = Yn(t.config.minTime.getHours(), t.config.minTime.getMinutes(), t.config.minTime.getSeconds()), W = Yn(t.config.maxTime.getHours(), t.config.maxTime.getMinutes(), t.config.maxTime.getSeconds()), E = Yn(r, i, u);
2407
2407
  if (E > W && E < O) {
2408
- var q = Ni(O);
2408
+ var q = Fi(O);
2409
2409
  r = q[0], i = q[1], u = q[2];
2410
2410
  }
2411
2411
  } else {
@@ -2447,7 +2447,7 @@ function Vi(e, n) {
2447
2447
  }
2448
2448
  });
2449
2449
  }
2450
- function N() {
2450
+ function F() {
2451
2451
  fe("onChange");
2452
2452
  }
2453
2453
  function $() {
@@ -2460,19 +2460,19 @@ function Vi(e, n) {
2460
2460
  return;
2461
2461
  }
2462
2462
  var r = Ya(Ht, 50);
2463
- if (t._debouncedChange = Ya(N, Li), t.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && z(t.daysContainer, "mouseover", function(u) {
2463
+ if (t._debouncedChange = Ya(F, Li), t.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && z(t.daysContainer, "mouseover", function(u) {
2464
2464
  t.config.mode === "range" && Be(Le(u));
2465
2465
  }), z(t._input, "keydown", Ze), t.calendarContainer !== void 0 && z(t.calendarContainer, "keydown", Ze), !t.config.inline && !t.config.static && z(window, "resize", r), window.ontouchstart !== void 0 ? z(window.document, "touchstart", je) : z(window.document, "mousedown", je), z(window.document, "focus", je, { capture: !0 }), t.config.clickOpens === !0 && (z(t._input, "focus", t.open), z(t._input, "click", t.open)), t.daysContainer !== void 0 && (z(t.monthNav, "click", nn), z(t.monthNav, ["keyup", "increment"], V), z(t.daysContainer, "click", xt)), t.timeContainer !== void 0 && t.minuteElement !== void 0 && t.hourElement !== void 0) {
2466
2466
  var i = function(u) {
2467
2467
  return Le(u).select();
2468
2468
  };
2469
- z(t.timeContainer, ["increment"], d), z(t.timeContainer, "blur", d, { capture: !0 }), z(t.timeContainer, "click", F), z([t.hourElement, t.minuteElement], ["focus", "click"], i), t.secondElement !== void 0 && z(t.secondElement, "focus", function() {
2469
+ z(t.timeContainer, ["increment"], d), z(t.timeContainer, "blur", d, { capture: !0 }), z(t.timeContainer, "click", N), z([t.hourElement, t.minuteElement], ["focus", "click"], i), t.secondElement !== void 0 && z(t.secondElement, "focus", function() {
2470
2470
  return t.secondElement && t.secondElement.select();
2471
2471
  }), t.amPM !== void 0 && z(t.amPM, "click", function(u) {
2472
2472
  d(u);
2473
2473
  });
2474
2474
  }
2475
- t.config.allowInput && z(t._input, "blur", Ne);
2475
+ t.config.allowInput && z(t._input, "blur", Fe);
2476
2476
  }
2477
2477
  function P(r, i) {
2478
2478
  var u = r !== void 0 ? t.parseDate(r) : t.latestSelectedDateObj || (t.config.minDate && t.config.minDate > t.now ? t.config.minDate : t.config.maxDate && t.config.maxDate < t.now ? t.config.maxDate : t.now), v = t.currentYear, C = t.currentMonth;
@@ -2483,7 +2483,7 @@ function Vi(e, n) {
2483
2483
  }
2484
2484
  i && t.currentYear !== v && (fe("onYearChange"), T()), i && (t.currentYear !== v || t.currentMonth !== C) && fe("onMonthChange"), t.redraw();
2485
2485
  }
2486
- function F(r) {
2486
+ function N(r) {
2487
2487
  var i = Le(r);
2488
2488
  ~i.className.indexOf("arrow") && H(r, i.classList.contains("arrowUp") ? 1 : -1);
2489
2489
  }
@@ -2543,8 +2543,8 @@ function Vi(e, n) {
2543
2543
  O.appendChild(ue("flatpickr-day", new Date(r, i, I), I, Y));
2544
2544
  for (var oe = C + 1; oe <= 42 - u && (t.config.showMonths === 1 || Y % 7 !== 0); oe++, Y++)
2545
2545
  O.appendChild(ue("flatpickr-day " + q, new Date(r, i + 1, oe % C), oe, Y));
2546
- var Fe = ae("div", "dayContainer");
2547
- return Fe.appendChild(O), Fe;
2546
+ var Ne = ae("div", "dayContainer");
2547
+ return Ne.appendChild(O), Ne;
2548
2548
  }
2549
2549
  function Se() {
2550
2550
  if (t.daysContainer !== void 0) {
@@ -2768,7 +2768,7 @@ function Vi(e, n) {
2768
2768
  function pe(r) {
2769
2769
  return t.daysContainer !== void 0 ? r.className.indexOf("hidden") === -1 && r.className.indexOf("flatpickr-disabled") === -1 && t.daysContainer.contains(r) : !1;
2770
2770
  }
2771
- function Ne(r) {
2771
+ function Fe(r) {
2772
2772
  var i = r.target === t._input, u = t._input.value.trimEnd() !== _t();
2773
2773
  i && u && !(r.relatedTarget && ke(r.relatedTarget)) && t.setDate(t._input.value, !0, r.target === t.altInput ? t.config.altFormat : t.config.dateFormat);
2774
2774
  }
@@ -2820,8 +2820,8 @@ function Vi(e, n) {
2820
2820
  return Te;
2821
2821
  }), oe = Y.indexOf(i);
2822
2822
  if (oe !== -1) {
2823
- var Fe = Y[oe + (r.shiftKey ? -1 : 1)];
2824
- r.preventDefault(), (Fe || t._input).focus();
2823
+ var Ne = Y[oe + (r.shiftKey ? -1 : 1)];
2824
+ r.preventDefault(), (Ne || t._input).focus();
2825
2825
  }
2826
2826
  } else
2827
2827
  !t.config.noCalendar && t.daysContainer && t.daysContainer.contains(i) && r.shiftKey && (r.preventDefault(), t._input.focus());
@@ -2843,11 +2843,11 @@ function Vi(e, n) {
2843
2843
  }
2844
2844
  function Be(r, i) {
2845
2845
  if (i === void 0 && (i = "flatpickr-day"), !(t.selectedDates.length !== 1 || r && (!r.classList.contains(i) || r.classList.contains("flatpickr-disabled")))) {
2846
- for (var u = r ? r.dateObj.getTime() : t.days.firstElementChild.dateObj.getTime(), v = t.parseDate(t.selectedDates[0], void 0, !0).getTime(), C = Math.min(u, t.selectedDates[0].getTime()), O = Math.max(u, t.selectedDates[0].getTime()), W = !1, E = 0, q = 0, I = C; I < O; I += Fi.DAY)
2846
+ for (var u = r ? r.dateObj.getTime() : t.days.firstElementChild.dateObj.getTime(), v = t.parseDate(t.selectedDates[0], void 0, !0).getTime(), C = Math.min(u, t.selectedDates[0].getTime()), O = Math.max(u, t.selectedDates[0].getTime()), W = !1, E = 0, q = 0, I = C; I < O; I += Ni.DAY)
2847
2847
  Ce(new Date(I), !0) || (W = W || I > C && I < O, I < v && (!E || I > E) ? E = I : I > v && (!q || I < q) && (q = I));
2848
2848
  var Y = Array.from(t.rContainer.querySelectorAll("*:nth-child(-n+" + t.config.showMonths + ") > ." + i));
2849
2849
  Y.forEach(function(oe) {
2850
- var Fe = oe.dateObj, Te = Fe.getTime(), tt = E > 0 && Te < E || q > 0 && Te > q;
2850
+ var Ne = oe.dateObj, Te = Ne.getTime(), tt = E > 0 && Te < E || q > 0 && Te > q;
2851
2851
  if (tt) {
2852
2852
  oe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(Qe) {
2853
2853
  oe.classList.remove(Qe);
@@ -2987,8 +2987,8 @@ function Vi(e, n) {
2987
2987
  return mn + fn.offsetHeight;
2988
2988
  }, 0), v = t.calendarContainer.offsetWidth, C = t.config.position.split(" "), O = C[0], W = C.length > 1 ? C[1] : null, E = i.getBoundingClientRect(), q = window.innerHeight - E.bottom, I = O === "above" || O !== "below" && q < u && E.top > u, Y = window.pageYOffset + E.top + (I ? -u - 2 : i.offsetHeight + 2);
2989
2989
  if (Oe(t.calendarContainer, "arrowTop", !I), Oe(t.calendarContainer, "arrowBottom", I), !t.config.inline) {
2990
- var oe = window.pageXOffset + E.left, Fe = !1, Te = !1;
2991
- W === "center" ? (oe -= (v - E.width) / 2, Fe = !0) : W === "right" && (oe -= v - E.width, Te = !0), Oe(t.calendarContainer, "arrowLeft", !Fe && !Te), Oe(t.calendarContainer, "arrowCenter", Fe), Oe(t.calendarContainer, "arrowRight", Te);
2990
+ var oe = window.pageXOffset + E.left, Ne = !1, Te = !1;
2991
+ W === "center" ? (oe -= (v - E.width) / 2, Ne = !0) : W === "right" && (oe -= v - E.width, Te = !0), Oe(t.calendarContainer, "arrowLeft", !Ne && !Te), Oe(t.calendarContainer, "arrowCenter", Ne), Oe(t.calendarContainer, "arrowRight", Te);
2992
2992
  var tt = window.document.body.offsetWidth - (window.pageXOffset + E.right), Qe = oe + v > window.document.body.offsetWidth, rn = tt + v > window.document.body.offsetWidth;
2993
2993
  if (Oe(t.calendarContainer, "rightMost", Qe), !t.config.static)
2994
2994
  if (t.calendarContainer.style.top = Y + "px", !Qe)
@@ -3054,7 +3054,7 @@ function Vi(e, n) {
3054
3054
  var q = t.config.mode === "single" && !t.config.enableTime, I = t.config.mode === "range" && t.selectedDates.length === 2 && !t.config.enableTime;
3055
3055
  (q || I) && yt();
3056
3056
  }
3057
- N();
3057
+ F();
3058
3058
  }
3059
3059
  }
3060
3060
  var lt = {
@@ -3508,29 +3508,29 @@ var Qn = {}, Yi = {
3508
3508
  var p = l(l({}, s), y);
3509
3509
  return function(m) {
3510
3510
  var f;
3511
- function w(N) {
3512
- N.stopPropagation(), N.preventDefault();
3513
- var $ = N.target;
3511
+ function w(F) {
3512
+ F.stopPropagation(), F.preventDefault();
3513
+ var $ = F.target;
3514
3514
  if (!($.tagName.toLowerCase() !== "button" || typeof p.onClick > "u"))
3515
- for (var P = parseInt($.dataset.index, 10), F = Array.isArray(p.onClick) ? p.onClick : [p.onClick], H = 0, le = F; H < le.length; H++) {
3515
+ for (var P = parseInt($.dataset.index, 10), N = Array.isArray(p.onClick) ? p.onClick : [p.onClick], H = 0, le = N; H < le.length; H++) {
3516
3516
  var ue = le[H];
3517
3517
  typeof ue == "function" && ue(P, m);
3518
3518
  }
3519
3519
  }
3520
- function V(N) {
3521
- var $ = N.target;
3522
- N.key !== "Tab" || $.tagName.toLowerCase() !== "button" || (N.shiftKey && !$.previousSibling || !N.shiftKey && !$.nextSibling) && (N.preventDefault(), m.element.focus());
3520
+ function V(F) {
3521
+ var $ = F.target;
3522
+ F.key !== "Tab" || $.tagName.toLowerCase() !== "button" || (F.shiftKey && !$.previousSibling || !F.shiftKey && !$.nextSibling) && (F.preventDefault(), m.element.focus());
3523
3523
  }
3524
- function z(N, $) {
3524
+ function z(F, $) {
3525
3525
  Object.keys($).filter(function(P) {
3526
3526
  return c.has(P);
3527
3527
  }).forEach(function(P) {
3528
- var F;
3528
+ var N;
3529
3529
  if (P === "class") {
3530
- (F = N.classList).add.apply(F, $[P].split(" "));
3530
+ (N = F.classList).add.apply(N, $[P].split(" "));
3531
3531
  return;
3532
3532
  }
3533
- N.setAttribute(P, $[P]);
3533
+ F.setAttribute(P, $[P]);
3534
3534
  });
3535
3535
  }
3536
3536
  return {
@@ -3539,13 +3539,13 @@ var Qn = {}, Yi = {
3539
3539
  */
3540
3540
  onReady: function() {
3541
3541
  if (f = document.createElement("div"), f.classList.add("shortcut-buttons-flatpickr-wrapper", p.theme), typeof p.label < "u" && p.label.length) {
3542
- var N = document.createElement("div");
3543
- N.classList.add("shortcut-buttons-flatpickr-label"), N.textContent = p.label, f.appendChild(N);
3542
+ var F = document.createElement("div");
3543
+ F.classList.add("shortcut-buttons-flatpickr-label"), F.textContent = p.label, f.appendChild(F);
3544
3544
  }
3545
3545
  var $ = document.createElement("div");
3546
- $.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(p.button) ? p.button : [p.button]).forEach(function(P, F) {
3546
+ $.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(p.button) ? p.button : [p.button]).forEach(function(P, N) {
3547
3547
  var H = document.createElement("button");
3548
- H.type = "button", H.classList.add("shortcut-buttons-flatpickr-button"), H.textContent = P.label, H.dataset.index = String(F), typeof P.attributes < "u" && z(H, P.attributes), $.appendChild(H), m.pluginElements.push(H);
3548
+ H.type = "button", H.classList.add("shortcut-buttons-flatpickr-button"), H.textContent = P.label, H.dataset.index = String(N), typeof P.attributes < "u" && z(H, P.attributes), $.appendChild(H), m.pluginElements.push(H);
3549
3549
  }), f.appendChild($), m.calendarContainer.appendChild(f), f.addEventListener("click", w), f.addEventListener("keydown", V);
3550
3550
  },
3551
3551
  /**
@@ -3594,10 +3594,10 @@ var Sn = {}, Ji = {
3594
3594
  ***************************************************************************** */
3595
3595
  var a = function() {
3596
3596
  return a = Object.assign || function(We) {
3597
- for (var pn, Nn = 1, $r = arguments.length; Nn < $r; Nn++) {
3598
- pn = arguments[Nn];
3599
- for (var Fn in pn)
3600
- Object.prototype.hasOwnProperty.call(pn, Fn) && (We[Fn] = pn[Fn]);
3597
+ for (var pn, Fn = 1, $r = arguments.length; Fn < $r; Fn++) {
3598
+ pn = arguments[Fn];
3599
+ for (var Nn in pn)
3600
+ Object.prototype.hasOwnProperty.call(pn, Nn) && (We[Nn] = pn[Nn]);
3601
3601
  }
3602
3602
  return We;
3603
3603
  }, a.apply(this, arguments);
@@ -3912,7 +3912,7 @@ var Sn = {}, Ji = {
3912
3912
  firstDayOfWeek: 1
3913
3913
  };
3914
3914
  V.l10ns.bg = z, V.l10ns;
3915
- var N = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3915
+ var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3916
3916
  l10ns: {}
3917
3917
  }, $ = {
3918
3918
  weekdays: {
@@ -3958,10 +3958,10 @@ var Sn = {}, Ji = {
3958
3958
  ]
3959
3959
  }
3960
3960
  };
3961
- N.l10ns.bn = $, N.l10ns;
3961
+ F.l10ns.bn = $, F.l10ns;
3962
3962
  var P = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
3963
3963
  l10ns: {}
3964
- }, F = {
3964
+ }, N = {
3965
3965
  weekdays: {
3966
3966
  shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
3967
3967
  longhand: [
@@ -4025,7 +4025,7 @@ var Sn = {}, Ji = {
4025
4025
  rangeSeparator: " a ",
4026
4026
  time_24hr: !0
4027
4027
  };
4028
- P.l10ns.cat = P.l10ns.ca = F, P.l10ns;
4028
+ P.l10ns.cat = P.l10ns.ca = N, P.l10ns;
4029
4029
  var H = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4030
4030
  l10ns: {}
4031
4031
  }, le = {
@@ -4755,7 +4755,7 @@ var Sn = {}, Ji = {
4755
4755
  Ee.l10ns.fr = Ce, Ee.l10ns;
4756
4756
  var pe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4757
4757
  l10ns: {}
4758
- }, Ne = {
4758
+ }, Fe = {
4759
4759
  weekdays: {
4760
4760
  shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
4761
4761
  longhand: [
@@ -4812,7 +4812,7 @@ var Sn = {}, Ji = {
4812
4812
  hourAriaLabel: "ώρα",
4813
4813
  minuteAriaLabel: "λεπτό"
4814
4814
  };
4815
- pe.l10ns.gr = Ne, pe.l10ns;
4815
+ pe.l10ns.gr = Fe, pe.l10ns;
4816
4816
  var Ze = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4817
4817
  l10ns: {}
4818
4818
  }, Be = {
@@ -5965,7 +5965,7 @@ var Sn = {}, Ji = {
5965
5965
  I.l10ns.no = Y, I.l10ns;
5966
5966
  var oe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5967
5967
  l10ns: {}
5968
- }, Fe = {
5968
+ }, Ne = {
5969
5969
  weekdays: {
5970
5970
  shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
5971
5971
  longhand: [
@@ -6010,7 +6010,7 @@ var Sn = {}, Ji = {
6010
6010
  },
6011
6011
  time_24hr: !0
6012
6012
  };
6013
- oe.l10ns.pa = Fe, oe.l10ns;
6013
+ oe.l10ns.pa = Ne, oe.l10ns;
6014
6014
  var Te = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6015
6015
  l10ns: {}
6016
6016
  }, tt = {
@@ -6976,9 +6976,9 @@ var Sn = {}, Ji = {
6976
6976
  bg: z,
6977
6977
  bn: $,
6978
6978
  bs: w,
6979
- ca: F,
6979
+ ca: N,
6980
6980
  ckb: le,
6981
- cat: F,
6981
+ cat: N,
6982
6982
  cs: ge,
6983
6983
  cy: ee,
6984
6984
  da: Ae,
@@ -6992,7 +6992,7 @@ var Sn = {}, Ji = {
6992
6992
  fi: Ie,
6993
6993
  fo: je,
6994
6994
  fr: Ce,
6995
- gr: Ne,
6995
+ gr: Fe,
6996
6996
  he: Be,
6997
6997
  hi: Jt,
6998
6998
  hr: Ut,
@@ -7015,7 +7015,7 @@ var Sn = {}, Ji = {
7015
7015
  nl: W,
7016
7016
  nn: q,
7017
7017
  no: Y,
7018
- pa: Fe,
7018
+ pa: Ne,
7019
7019
  pl: tt,
7020
7020
  pt: rn,
7021
7021
  ro: on,
@@ -7082,12 +7082,12 @@ const Gi = {
7082
7082
  }
7083
7083
  n("update:modelValue", m(T + "")), n("change");
7084
7084
  }, w = () => {
7085
- N(), s.value = !0, n("onOpen");
7085
+ F(), s.value = !0, n("onOpen");
7086
7086
  }, V = () => {
7087
7087
  s.value = !1, n("onClose");
7088
7088
  }, z = () => {
7089
7089
  a(o.value) && (d.value = o.value.fpInput().value);
7090
- }, N = () => {
7090
+ }, F = () => {
7091
7091
  var b, S, D;
7092
7092
  if (!a(o.value))
7093
7093
  return;
@@ -7099,7 +7099,7 @@ const Gi = {
7099
7099
  (D = o.value) == null || D.fp.setDate(g, !0), Ae.value.textFieldValue.$touch(), n("blur");
7100
7100
  }, $ = () => {
7101
7101
  y.value = t.defaultValue, n("update:modelValue", h(t.defaultValue));
7102
- }, P = A(() => t.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), F = A(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), H = A(() => t.enable && t.enable.length > 0 ? t.enable : [
7102
+ }, P = A(() => t.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), N = A(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), H = A(() => t.enable && t.enable.length > 0 ? t.enable : [
7103
7103
  {
7104
7104
  from: new Date(1901, 1),
7105
7105
  to: new Date(2099, 12)
@@ -7149,7 +7149,7 @@ const Gi = {
7149
7149
  o.value.fp.close();
7150
7150
  return;
7151
7151
  }
7152
- N(), o.value.fp.open(), o.value.fpInput().focus();
7152
+ F(), o.value.fp.open(), o.value.fpInput().focus();
7153
7153
  }
7154
7154
  }, 0);
7155
7155
  };
@@ -7172,10 +7172,10 @@ const Gi = {
7172
7172
  "onUpdate:modelValue": g[0] || (g[0] = (b) => d.value = b),
7173
7173
  "error-messages": h(Se),
7174
7174
  "persistent-placeholder": !0,
7175
- placeholder: h(F),
7175
+ placeholder: h(N),
7176
7176
  class: "a-datetime-picker",
7177
- onBlur: N,
7178
- onKeyup: Br(N, ["enter"])
7177
+ onBlur: F,
7178
+ onKeyup: Br(F, ["enter"])
7179
7179
  }, xn({
7180
7180
  "append-inner": k(() => [
7181
7181
  e.clearable && e.defaultValue !== e.modelValue ? (_(), j(he, {
@@ -7362,15 +7362,15 @@ const Zi = {
7362
7362
  }), w = A(() => {
7363
7363
  var g, b;
7364
7364
  return x(t.required) ? ((g = t.v) == null ? void 0 : g.required) && ((b = t.v) == null ? void 0 : b.required.$params.type) === "required" : t.required;
7365
- }), V = A(() => t.multiple !== !1), z = (g, b) => [...new Map([...g, ...b].map((S) => [S.value, S])).values()], N = te(!1), { innerFilter: $ } = Xa(t), P = Cr(), F = te([]), H = te([]), le = te([]), ue = A(() => z(le.value, H.value)), ge = async (g) => {
7366
- N.value = !0;
7365
+ }), V = A(() => t.multiple !== !1), z = (g, b) => [...new Map([...g, ...b].map((S) => [S.value, S])).values()], F = te(!1), { innerFilter: $ } = Xa(t), P = Cr(), N = te([]), H = te([]), le = te([]), ue = A(() => z(le.value, H.value)), ge = async (g) => {
7366
+ F.value = !0;
7367
7367
  const b = $.value[t.filterByField];
7368
- b.model = g, H.value = await t.fetchItems(P, $.value), N.value = !1;
7368
+ b.model = g, H.value = await t.fetchItems(P, $.value), F.value = !1;
7369
7369
  };
7370
7370
  if (t.lazyLoader) {
7371
7371
  const { allValues: g, loadedAll: b } = t.lazyLoader();
7372
7372
  ct(b, (S) => {
7373
- S && F.value.length > 0 && (le.value = g.value.filter((D) => F.value.includes(D.value)));
7373
+ S && N.value.length > 0 && (le.value = g.value.filter((D) => N.value.includes(D.value)));
7374
7374
  });
7375
7375
  }
7376
7376
  const we = (g) => {
@@ -7385,9 +7385,9 @@ const Zi = {
7385
7385
  if (!t.lazyLoader)
7386
7386
  return b(!1);
7387
7387
  const { hasId: S, allValues: D, loadedAll: R } = t.lazyLoader();
7388
- return g.every((K) => S(K)) ? R.value ? (le.value = jt(D.value.filter((K) => g.includes(K.value))), b(!0)) : (g.forEach((K) => F.value.push(K)), b(!0)) : b(!1);
7388
+ return g.every((K) => S(K)) ? R.value ? (le.value = jt(D.value.filter((K) => g.includes(K.value))), b(!0)) : (g.forEach((K) => N.value.push(K)), b(!0)) : b(!1);
7389
7389
  }), Ae = async (g) => {
7390
- !t.disableInitFetch && (ur(g) || _e(g)) && (N.value = !0, H.value = await t.fetchItems(P, $.value), N.value = !1);
7390
+ !t.disableInitFetch && (ur(g) || _e(g)) && (F.value = !0, H.value = await t.fetchItems(P, $.value), F.value = !1);
7391
7391
  };
7392
7392
  ct(
7393
7393
  a,
@@ -7425,7 +7425,7 @@ const Zi = {
7425
7425
  multiple: h(V),
7426
7426
  clearable: e.clearable,
7427
7427
  "error-messages": h(m),
7428
- loading: N.value,
7428
+ loading: F.value,
7429
7429
  dirty: "",
7430
7430
  onBlur: p,
7431
7431
  onFocus: y,
@@ -7571,8 +7571,8 @@ const Zi = {
7571
7571
  }
7572
7572
  }), o = te(), { innerFilter: l } = Xa(t), s = ($) => {
7573
7573
  const P = /* @__PURE__ */ new Map();
7574
- for (let F = 0; F < $.length; ++F) {
7575
- const H = $[F];
7574
+ for (let N = 0; N < $.length; ++N) {
7575
+ const H = $[N];
7576
7576
  H != null && !P.has(H.value) && P.set(H.value, H);
7577
7577
  }
7578
7578
  return Array.from(P.values());
@@ -7585,12 +7585,12 @@ const Zi = {
7585
7585
  }, w = ($) => {
7586
7586
  const P = y.value.filter(
7587
7587
  (H) => $.includes(H.value)
7588
- ), F = d.value.filter((H) => $.includes(H.value));
7589
- return s([].concat(P, F));
7588
+ ), N = d.value.filter((H) => $.includes(H.value));
7589
+ return s([].concat(P, N));
7590
7590
  }, V = async ($) => {
7591
- let P = 1, F = [];
7592
- return Xe($) ? (P = $.length, F = w($)) : F = w([$]), y.value = F, F.length === P;
7593
- }, { t: z } = X(), N = A(() => t.modelValue.titleT ? z(t.modelValue.titleT) : void 0);
7591
+ let P = 1, N = [];
7592
+ return Xe($) ? (P = $.length, N = w($)) : N = w([$]), y.value = N, N.length === P;
7593
+ }, { t: z } = X(), F = A(() => t.modelValue.titleT ? z(t.modelValue.titleT) : void 0);
7594
7594
  return ct(
7595
7595
  a,
7596
7596
  async ($) => {
@@ -7611,14 +7611,14 @@ const Zi = {
7611
7611
  { debounce: 300, maxWait: 1e3 }
7612
7612
  ), ($, P) => (_(), j(In, {
7613
7613
  modelValue: h(a),
7614
- "onUpdate:modelValue": P[0] || (P[0] = (F) => Ue(a) ? a.value = F : null),
7614
+ "onUpdate:modelValue": P[0] || (P[0] = (N) => Ue(a) ? a.value = N : null),
7615
7615
  search: o.value,
7616
- "onUpdate:search": P[1] || (P[1] = (F) => o.value = F),
7616
+ "onUpdate:search": P[1] || (P[1] = (N) => o.value = N),
7617
7617
  items: h(p),
7618
7618
  "item-title": "title",
7619
7619
  "item-value": "value",
7620
7620
  "no-filter": "",
7621
- label: h(N),
7621
+ label: h(F),
7622
7622
  multiple: e.modelValue.multiple,
7623
7623
  clearable: !e.modelValue.mandatory
7624
7624
  }, null, 8, ["modelValue", "search", "items", "label", "multiple", "clearable"]));
@@ -7872,15 +7872,15 @@ function ia() {
7872
7872
  },
7873
7873
  showApiError: (f, w = -1, V = !1) => {
7874
7874
  const { t: z } = Q.global;
7875
- let N = z("common.alert.fixApiValidationErrors") + qa;
7875
+ let F = z("common.alert.fixApiValidationErrors") + qa;
7876
7876
  for (let $ = 0; $ < f.length; $++) {
7877
- N += V ? f[$].field + ": " : z(f[$].field) + ": ";
7877
+ F += V ? f[$].field + ": " : z(f[$].field) + ": ";
7878
7878
  for (let P = 0; P < f[$].errors.length; P++)
7879
- N += z("validations.api." + f[$].errors[P]) + qa;
7879
+ F += z("validations.api." + f[$].errors[P]) + qa;
7880
7880
  }
7881
7881
  Ge({
7882
7882
  group: "alerts",
7883
- text: N,
7883
+ text: F,
7884
7884
  duration: w * 1e3,
7885
7885
  type: "error"
7886
7886
  });
@@ -8485,13 +8485,13 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
8485
8485
  }, 8, ["class", "data-cy", "target", "to"]));
8486
8486
  }
8487
8487
  });
8488
- var Ft = /* @__PURE__ */ ((e) => (e.Light = "light", e.Dark = "dark", e.Auto = "auto", e))(Ft || {});
8488
+ var Nt = /* @__PURE__ */ ((e) => (e.Light = "light", e.Dark = "dark", e.Auto = "auto", e))(Nt || {});
8489
8489
  const Xn = rr(
8490
8490
  "theme",
8491
8491
  "light"
8492
8492
  /* Light */
8493
8493
  ), Sr = "(prefers-color-scheme: dark)", Tn = te(
8494
- Object.values(Ft).some((e) => e === Xn.value) ? Xn.value : "light"
8494
+ Object.values(Nt).some((e) => e === Xn.value) ? Xn.value : "light"
8495
8495
  /* Light */
8496
8496
  ), Lt = te(
8497
8497
  "light"
@@ -8574,21 +8574,21 @@ const yl = { key: 0 }, bl = { key: 1 }, wl = { key: 2 }, Id = /* @__PURE__ */ B(
8574
8574
  "data-cy": "settings-theme"
8575
8575
  }), {
8576
8576
  default: k(() => [
8577
- h(o) === h(Ft).Auto ? (_(), U("div", yl, [
8577
+ h(o) === h(Nt).Auto ? (_(), U("div", yl, [
8578
8578
  M(he, {
8579
8579
  class: "mr-1",
8580
8580
  icon: "mdi-brightness-auto",
8581
8581
  size: 32
8582
8582
  }),
8583
8583
  Z(L(h(l)("common.system.theme.auto")), 1)
8584
- ])) : h(o) === h(Ft).Light ? (_(), U("div", bl, [
8584
+ ])) : h(o) === h(Nt).Light ? (_(), U("div", bl, [
8585
8585
  M(he, {
8586
8586
  class: "mr-1",
8587
8587
  icon: "mdi-brightness-7",
8588
8588
  size: 32
8589
8589
  }),
8590
8590
  Z(L(h(l)("common.system.theme.light")), 1)
8591
- ])) : h(o) === h(Ft).Dark ? (_(), U("div", wl, [
8591
+ ])) : h(o) === h(Nt).Dark ? (_(), U("div", wl, [
8592
8592
  M(he, {
8593
8593
  class: "mr-1",
8594
8594
  icon: "mdi-brightness-4",
@@ -8717,18 +8717,18 @@ const Sl = /* @__PURE__ */ ft(kl, [["render", Al]]), Tl = {}, xl = {
8717
8717
  function Pl(e, n) {
8718
8718
  return _(), U("svg", xl, $l);
8719
8719
  }
8720
- const Il = /* @__PURE__ */ ft(Tl, [["render", Pl]]), El = {}, Nl = {
8720
+ const Il = /* @__PURE__ */ ft(Tl, [["render", Pl]]), El = {}, Fl = {
8721
8721
  xmlns: "http://www.w3.org/2000/svg",
8722
8722
  viewBox: "0 0 900 600"
8723
- }, Fl = /* @__PURE__ */ ie("rect", {
8723
+ }, Nl = /* @__PURE__ */ ie("rect", {
8724
8724
  width: "900",
8725
8725
  height: "600",
8726
8726
  fill: "#cccccc"
8727
8727
  }, null, -1), Ll = [
8728
- Fl
8728
+ Nl
8729
8729
  ];
8730
8730
  function Vl(e, n) {
8731
- return _(), U("svg", Nl, Ll);
8731
+ return _(), U("svg", Fl, Ll);
8732
8732
  }
8733
8733
  const jl = /* @__PURE__ */ ft(El, [["render", Vl]]), Bl = { class: "flag" }, Ga = /* @__PURE__ */ B({
8734
8734
  __name: "FlagCountry",
@@ -8849,7 +8849,7 @@ const Ed = /* @__PURE__ */ ft(Rl, [["__scopeId", "data-v-15db4aa2"]]), Yl = ["on
8849
8849
  }, L(h(n)("common.system.newVersionReload")), 9, Yl)
8850
8850
  ]), $a(1), o[0]);
8851
8851
  }
8852
- }), Jl = { class: "text-center w-100 text-caption pb-1" }, Nd = /* @__PURE__ */ B({
8852
+ }), Jl = { class: "text-center w-100 text-caption pb-1" }, Fd = /* @__PURE__ */ B({
8853
8853
  __name: "ASystemBar",
8854
8854
  props: {
8855
8855
  currentVersion: null,
@@ -8893,7 +8893,7 @@ const Ed = /* @__PURE__ */ ft(Rl, [["__scopeId", "data-v-15db4aa2"]]), Yl = ["on
8893
8893
  _: 1
8894
8894
  })) : re("", !0);
8895
8895
  }
8896
- }), Fd = (e) => e ? 1 : 0;
8896
+ }), Nd = (e) => e ? 1 : 0;
8897
8897
  function Ld(e = "", n = "user") {
8898
8898
  let t = e, a = n;
8899
8899
  return {
@@ -9033,11 +9033,11 @@ function xr() {
9033
9033
  c("offset", p * m - m);
9034
9034
  }, a = (p, m) => {
9035
9035
  _e(p) || c("order[" + p + "]", m ? "desc" : "asc");
9036
- }, o = (p) => Fa(p) ? p ? "1" : "0" : p, l = (p, m, f) => {
9036
+ }, o = (p) => Na(p) ? p ? "1" : "0" : p, l = (p, m, f) => {
9037
9037
  nt(f) && f.length === 0 || e.value.push("filter_" + p + "[" + m + "]=" + o(f));
9038
9038
  }, s = (p) => {
9039
9039
  const m = p.model;
9040
- return _e(m) ? p.mandatory ? (p.model = p.default, p.default) : null : nt(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : encodeURIComponent(m) : Xe(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : m.map((f) => nt(f) ? encodeURIComponent(f) : f).join(",") : na(m) || Fa(m) ? m : null;
9040
+ return _e(m) ? p.mandatory ? (p.model = p.default, p.default) : null : nt(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : encodeURIComponent(m) : Xe(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : m.map((f) => nt(f) ? encodeURIComponent(f) : f).join(",") : na(m) || Na(m) ? m : null;
9041
9041
  }, c = (p, m) => {
9042
9042
  e.value.push(p + "=" + m);
9043
9043
  };
@@ -9140,9 +9140,7 @@ const Kd = (e, n) => {
9140
9140
  return;
9141
9141
  }
9142
9142
  e.splice(t, 1);
9143
- }, Zd = (e, n = ", ") => e.join(n), Qd = (...e) => Array.from(...e), ws = (e) => e.reduce(function(n, t) {
9144
- return n.concat(Array.isArray(t) ? ws(t) : t);
9145
- }, []), _s = (e) => {
9143
+ }, Zd = (e, n = ", ") => e.join(n), Qd = (...e) => Array.from(...e), ws = (e, n = []) => e.reduce((t, a) => Array.isArray(a) ? ws(a, n) : (n.push(a), n), []), _s = (e) => {
9146
9144
  history.replaceState(history.state, "", e);
9147
9145
  }, Xd = (e, n) => {
9148
9146
  const t = e.resolve(n);
@@ -9256,15 +9254,15 @@ function fc() {
9256
9254
  messagePath: () => "validations.js.numeric"
9257
9255
  });
9258
9256
  }
9259
- const { t: Ns } = Q.global;
9257
+ const { t: Fs } = Q.global;
9260
9258
  function pc() {
9261
- return Me({ t: Ns })(Yt.regex(/^\+4219[0-9]{8}$/), {
9259
+ return Me({ t: Fs })(Yt.regex(/^\+4219[0-9]{8}$/), {
9262
9260
  messagePath: () => "validations.js.phoneNumber"
9263
9261
  });
9264
9262
  }
9265
- const { t: Fs } = Q.global;
9263
+ const { t: Ns } = Q.global;
9266
9264
  function hc() {
9267
- return Me({ t: Fs })(
9265
+ return Me({ t: Ns })(
9268
9266
  (n, t, a) => a.required ? !(parseFloat(n) === 0 && parseFloat(t.latitudeText.value) === 0) : !0,
9269
9267
  {
9270
9268
  messagePath: () => "validations.js.required"
@@ -11029,7 +11027,7 @@ export {
11029
11027
  Sd as AActionEditButton,
11030
11028
  Td as AActionSaveAndCloseButton,
11031
11029
  xd as AActionSaveButton,
11032
- Fu as AAlerts,
11030
+ Nu as AAlerts,
11033
11031
  yo as ABooleanValue,
11034
11032
  Lu as ACard,
11035
11033
  zd as ACopyText,
@@ -11060,7 +11058,7 @@ export {
11060
11058
  ud as APermissionGrantEditor,
11061
11059
  dd as APermissionValueChip,
11062
11060
  Ea as ARow,
11063
- Nd as ASystemBar,
11061
+ Fd as ASystemBar,
11064
11062
  Wu as ASystemEntityScope,
11065
11063
  Od as ATableCopyIdButton,
11066
11064
  $d as ATableDetailButton,
@@ -11101,7 +11099,7 @@ export {
11101
11099
  Qd as arrayFromArgs,
11102
11100
  Kd as arrayItemToggle,
11103
11101
  Zd as arrayToString,
11104
- Fd as booleanToInteger,
11102
+ Nd as booleanToInteger,
11105
11103
  Xd as browserHistoryReplaceUrlByRouter,
11106
11104
  _s as browserHistoryReplaceUrlByString,
11107
11105
  jt as cloneDeep,
@@ -11116,9 +11114,9 @@ export {
11116
11114
  et as eventClickBlur,
11117
11115
  Q as i18n,
11118
11116
  Xe as isArray,
11119
- Fa as isBoolean,
11117
+ Na as isBoolean,
11120
11118
  ui as isCreatedByAware,
11121
- Na as isDefined,
11119
+ Fa as isDefined,
11122
11120
  Vu as isDocId,
11123
11121
  Do as isEmpty,
11124
11122
  ur as isEmptyArray,