@anzusystems/common-admin 0.0.36 → 0.0.37

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,11 +1,11 @@
1
1
  var ro = Object.defineProperty;
2
2
  var oo = (t, n, e) => n in t ? ro(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var Kn = (t, n, e) => (oo(t, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { defineComponent as L, computed as $, openBlock as b, createBlock as V, unref as f, withCtx as v, createTextVNode as R, toDisplayString as I, createElementBlock as H, createVNode as y, createCommentVNode as K, renderSlot as De, createElementVNode as X, resolveComponent as Ft, normalizeClass as we, withModifiers as te, withDirectives as gr, vShow as vr, isProxy as io, toRaw as lo, isRef as Ue, inject as ve, createSlots as Qt, Fragment as Ye, provide as Za, watch as Fe, renderList as kt, ref as J, TransitionGroup as yr, normalizeStyle as la, resolveDynamicComponent as ga, onMounted as Xt, h as so, nextTick as uo, withKeys as br, reactive as co, toRefs as va, shallowRef as Qa, readonly as Yt, mergeProps as ya, createStaticVNode as wr, setBlockTracking as Xa, onBeforeUnmount as fo } from "vue";
4
+ import { defineComponent as L, computed as $, openBlock as b, createBlock as V, unref as f, withCtx as v, createTextVNode as R, toDisplayString as I, createElementBlock as H, createVNode as y, createCommentVNode as K, renderSlot as De, createElementVNode as X, resolveComponent as Ft, normalizeClass as we, withModifiers as te, withDirectives as gr, vShow as vr, isProxy as io, toRaw as lo, isRef as Ue, inject as ve, createSlots as Xt, Fragment as Ye, provide as Za, watch as Fe, renderList as kt, ref as J, TransitionGroup as yr, normalizeStyle as la, resolveDynamicComponent as ga, onMounted as Et, h as so, nextTick as uo, withKeys as br, reactive as co, toRefs as va, shallowRef as Qa, readonly as Ht, mergeProps as ya, createStaticVNode as wr, setBlockTracking as Xa, onBeforeUnmount as fo } from "vue";
5
5
  import { useI18n as W, createI18n as mo } from "vue-i18n";
6
6
  import { useI18n as Wh } from "vue-i18n";
7
7
  import { VChip as dt } from "vuetify/lib/components/VChip/index.mjs";
8
- import { VRow as sa, VCol as Ut, VSpacer as Gt } from "vuetify/lib/components/VGrid/index.mjs";
8
+ import { VRow as sa, VCol as Yt, VSpacer as Kt } from "vuetify/lib/components/VGrid/index.mjs";
9
9
  import { VAlert as po } from "vuetify/lib/components/VAlert/index.mjs";
10
10
  import { VIcon as ce } from "vuetify/lib/components/VIcon/index.mjs";
11
11
  import { VCard as tt, VCardText as kr, VCardActions as ba } from "vuetify/lib/components/VCard/index.mjs";
@@ -14,7 +14,7 @@ import { VTextarea as ho } from "vuetify/lib/components/VTextarea/index.mjs";
14
14
  import { VBtn as ae } from "vuetify/lib/components/VBtn/index.mjs";
15
15
  import { VBtnToggle as Yn } from "vuetify/lib/components/VBtnToggle/index.mjs";
16
16
  import { VLabel as Cr } from "vuetify/lib/components/VLabel/index.mjs";
17
- import { VList as en, VListItem as Qe, VListItemTitle as Kt, VListItemSubtitle as go } from "vuetify/lib/components/VList/index.mjs";
17
+ import { VList as en, VListItem as Qe, VListItemTitle as Zt, VListItemSubtitle as go } from "vuetify/lib/components/VList/index.mjs";
18
18
  import { VMenu as Ct } from "vuetify/lib/components/VMenu/index.mjs";
19
19
  import { VTooltip as He } from "vuetify/lib/components/VTooltip/index.mjs";
20
20
  import { VToolbar as _r, VToolbarTitle as Dr } from "vuetify/lib/components/VToolbar/index.mjs";
@@ -70,7 +70,7 @@ const Bo = { key: 1 }, Zm = /* @__PURE__ */ L({
70
70
  setup(t) {
71
71
  return (n, e) => (b(), V(sa, null, {
72
72
  default: v(() => [
73
- y(Ut, null, {
73
+ y(Yt, null, {
74
74
  default: v(() => [
75
75
  t.title.length ? (b(), H("h4", jo, I(t.title), 1)) : K("", !0),
76
76
  De(n.$slots, "default", {}, () => [
@@ -257,7 +257,7 @@ const Xm = /* @__PURE__ */ L({
257
257
  "onClick:append": g[0] || (g[0] = (k) => n("click:append", k)),
258
258
  onBlur: c,
259
259
  "onUpdate:modelValue": g[1] || (g[1] = (k) => s(k))
260
- }, Qt({ _: 2 }, [
260
+ }, Xt({ _: 2 }, [
261
261
  t.hideLabel ? void 0 : {
262
262
  name: "label",
263
263
  fn: v(() => [
@@ -320,7 +320,7 @@ const Xm = /* @__PURE__ */ L({
320
320
  "onClick:append": g[0] || (g[0] = (k) => n("click:append", k)),
321
321
  onBlur: c,
322
322
  "onUpdate:modelValue": g[1] || (g[1] = (k) => s(k))
323
- }, Qt({ _: 2 }, [
323
+ }, Xt({ _: 2 }, [
324
324
  t.hideLabel ? void 0 : {
325
325
  name: "label",
326
326
  fn: v(() => [
@@ -564,7 +564,7 @@ const fp = /* @__PURE__ */ L({
564
564
  default: v(() => [
565
565
  y(Qe, null, {
566
566
  default: v(() => [
567
- y(Kt, null, {
567
+ y(Zt, null, {
568
568
  default: v(() => [
569
569
  X("strong", null, I(f(a)("common.system.datatable.displayCols")), 1)
570
570
  ]),
@@ -578,7 +578,7 @@ const fp = /* @__PURE__ */ L({
578
578
  onClick: te((m) => o(u.key), ["stop"])
579
579
  }, {
580
580
  default: v(() => [
581
- y(Kt, null, {
581
+ y(Zt, null, {
582
582
  default: v(() => [
583
583
  r(u.key) ? (b(), V(ce, {
584
584
  key: 0,
@@ -679,7 +679,7 @@ const fp = /* @__PURE__ */ L({
679
679
  onClick: (M) => h(k)
680
680
  }, {
681
681
  default: v(() => [
682
- y(Kt, {
682
+ y(Zt, {
683
683
  class: we({ "font-weight-bold": k.id === r.value })
684
684
  }, {
685
685
  default: v(() => [
@@ -719,7 +719,7 @@ const fp = /* @__PURE__ */ L({
719
719
  ]),
720
720
  _: 3
721
721
  }),
722
- y(Gt),
722
+ y(Kt),
723
723
  y(ae, {
724
724
  class: "ml-2",
725
725
  icon: "mdi-close",
@@ -1415,7 +1415,7 @@ const vp = /* @__PURE__ */ L({
1415
1415
  }),
1416
1416
  y(ba, null, {
1417
1417
  default: v(() => [
1418
- y(Gt),
1418
+ y(Kt),
1419
1419
  y(M, {
1420
1420
  "data-cy": "button-cancel",
1421
1421
  onClick: te(s, ["stop"])
@@ -1458,7 +1458,7 @@ const vp = /* @__PURE__ */ L({
1458
1458
  },
1459
1459
  setup(t) {
1460
1460
  const n = t, { t: e } = W(), a = J([]);
1461
- return Xt(async () => {
1461
+ return Et(async () => {
1462
1462
  if (n.configUrl.length > 0)
1463
1463
  try {
1464
1464
  const { data: r } = await vo(n.configUrl).get().json();
@@ -2098,7 +2098,7 @@ const Tp = /* @__PURE__ */ L({
2098
2098
  dense: ""
2099
2099
  }, {
2100
2100
  default: v(() => [
2101
- y(Ut, { class: "" }, {
2101
+ y(Yt, { class: "" }, {
2102
2102
  default: v(() => [
2103
2103
  De(o.$slots, "top")
2104
2104
  ]),
@@ -2109,7 +2109,7 @@ const Tp = /* @__PURE__ */ L({
2109
2109
  })) : K("", !0),
2110
2110
  y(sa, { dense: "" }, {
2111
2111
  default: v(() => [
2112
- t.enableAdvanced ? (b(), V(Ut, {
2112
+ t.enableAdvanced ? (b(), V(Yt, {
2113
2113
  key: 0,
2114
2114
  class: "v-col-filters--show-hide",
2115
2115
  cols: "auto"
@@ -2122,7 +2122,7 @@ const Tp = /* @__PURE__ */ L({
2122
2122
  ]),
2123
2123
  _: 1
2124
2124
  })) : K("", !0),
2125
- y(Ut, { class: "" }, {
2125
+ y(Yt, { class: "" }, {
2126
2126
  default: v(() => [
2127
2127
  De(o.$slots, "default"),
2128
2128
  t.enableAdvanced ? (b(), V(wo, { key: 0 }, {
@@ -2138,7 +2138,7 @@ const Tp = /* @__PURE__ */ L({
2138
2138
  ]),
2139
2139
  _: 3
2140
2140
  }),
2141
- t.hideButtons ? K("", !0) : (b(), V(Ut, {
2141
+ t.hideButtons ? K("", !0) : (b(), V(Yt, {
2142
2142
  key: 1,
2143
2143
  class: "v-col-filters--buttons text-right",
2144
2144
  cols: "auto"
@@ -2470,7 +2470,7 @@ var ea = [
2470
2470
  time_24hr: !1,
2471
2471
  weekNumbers: !1,
2472
2472
  wrap: !1
2473
- }, Zt = {
2473
+ }, Qt = {
2474
2474
  weekdays: {
2475
2475
  shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
2476
2476
  longhand: [
@@ -2686,18 +2686,18 @@ var na = function() {
2686
2686
  u: "(.+)",
2687
2687
  w: "(\\d\\d|\\d)",
2688
2688
  y: "(\\d{2})"
2689
- }, Ht = {
2689
+ }, Jt = {
2690
2690
  Z: function(t) {
2691
2691
  return t.toISOString();
2692
2692
  },
2693
2693
  D: function(t, n, e) {
2694
- return n.weekdays.shorthand[Ht.w(t, n, e)];
2694
+ return n.weekdays.shorthand[Jt.w(t, n, e)];
2695
2695
  },
2696
2696
  F: function(t, n, e) {
2697
- return jn(Ht.n(t, n, e) - 1, !1, n);
2697
+ return jn(Jt.n(t, n, e) - 1, !1, n);
2698
2698
  },
2699
2699
  G: function(t, n, e) {
2700
- return Ve(Ht.h(t, n, e));
2700
+ return Ve(Jt.h(t, n, e));
2701
2701
  },
2702
2702
  H: function(t) {
2703
2703
  return Ve(t.getHours());
@@ -2757,15 +2757,15 @@ var na = function() {
2757
2757
  return String(t.getFullYear()).substring(2);
2758
2758
  }
2759
2759
  }, qr = function(t) {
2760
- var n = t.config, e = n === void 0 ? It : n, a = t.l10n, r = a === void 0 ? Zt : a, o = t.isMobile, s = o === void 0 ? !1 : o;
2760
+ var n = t.config, e = n === void 0 ? It : n, a = t.l10n, r = a === void 0 ? Qt : a, o = t.isMobile, s = o === void 0 ? !1 : o;
2761
2761
  return function(c, u, m) {
2762
2762
  var h = m || r;
2763
2763
  return e.formatDate !== void 0 && !s ? e.formatDate(c, u, h) : u.split("").map(function(d, g, k) {
2764
- return Ht[d] && k[g - 1] !== "\\" ? Ht[d](c, h, e) : d !== "\\" ? d : "";
2764
+ return Jt[d] && k[g - 1] !== "\\" ? Jt[d](c, h, e) : d !== "\\" ? d : "";
2765
2765
  }).join("");
2766
2766
  };
2767
2767
  }, ma = function(t) {
2768
- var n = t.config, e = n === void 0 ? It : n, a = t.l10n, r = a === void 0 ? Zt : a;
2768
+ var n = t.config, e = n === void 0 ? It : n, a = t.l10n, r = a === void 0 ? Qt : a;
2769
2769
  return function(o, s, c, u) {
2770
2770
  if (!(o !== 0 && !o)) {
2771
2771
  var m = u || r, h, d = o;
@@ -2868,9 +2868,9 @@ var Oe = globalThis && globalThis.__assign || function() {
2868
2868
  function cl(t, n) {
2869
2869
  var e = {
2870
2870
  config: Oe(Oe({}, It), Ce.defaultConfig),
2871
- l10n: Zt
2871
+ l10n: Qt
2872
2872
  };
2873
- e.parseDate = ma({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = w, e._setHoursFromDate = g, e._positionCalendar = ht, e.changeMonth = fe, e.changeYear = Le, e.clear = me, e.close = ke, e.onMouseOver = qe, e._createElement = se, e.createDay = oe, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = P, e.updateValue = We, e.open = rn, e.redraw = Lt, e.set = un, e.setDate = dn, e.toggle = pn;
2873
+ e.parseDate = ma({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = w, e._setHoursFromDate = g, e._positionCalendar = ht, e.changeMonth = fe, e.changeYear = Le, e.clear = me, e.close = ke, e.onMouseOver = qe, e._createElement = se, e.createDay = oe, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = P, e.updateValue = We, e.open = rn, e.redraw = Bt, e.set = un, e.setDate = dn, e.toggle = pn;
2874
2874
  function a() {
2875
2875
  e.utils = {
2876
2876
  getDaysInMonth: function(i, l) {
@@ -2879,7 +2879,7 @@ function cl(t, n) {
2879
2879
  };
2880
2880
  }
2881
2881
  function r() {
2882
- e.element = e.input = t, e.isOpen = !1, on(), Nt(), fn(), cn(), a(), e.isMobile || de(), T(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), c();
2882
+ e.element = e.input = t, e.isOpen = !1, on(), Lt(), fn(), cn(), a(), e.isMobile || de(), T(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), c();
2883
2883
  var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
2884
2884
  !e.isMobile && i && ht(), pe("onReady");
2885
2885
  }
@@ -2985,7 +2985,7 @@ function cl(t, n) {
2985
2985
  var i = lr(an, 50);
2986
2986
  if (e._debouncedChange = lr(j, dl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && w(e.daysContainer, "mouseover", function(p) {
2987
2987
  e.config.mode === "range" && qe(Re(p));
2988
- }), w(e._input, "keydown", rt), e.calendarContainer !== void 0 && w(e.calendarContainer, "keydown", rt), !e.config.inline && !e.config.static && w(window, "resize", i), window.ontouchstart !== void 0 ? w(window.document, "touchstart", Je) : w(window.document, "mousedown", Je), w(window.document, "focus", Je, { capture: !0 }), e.config.clickOpens === !0 && (w(e._input, "focus", e.open), w(e._input, "click", e.open)), e.daysContainer !== void 0 && (w(e.monthNav, "click", gn), w(e.monthNav, ["keyup", "increment"], M), w(e.daysContainer, "click", Bt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
2988
+ }), w(e._input, "keydown", rt), e.calendarContainer !== void 0 && w(e.calendarContainer, "keydown", rt), !e.config.inline && !e.config.static && w(window, "resize", i), window.ontouchstart !== void 0 ? w(window.document, "touchstart", Je) : w(window.document, "mousedown", Je), w(window.document, "focus", Je, { capture: !0 }), e.config.clickOpens === !0 && (w(e._input, "focus", e.open), w(e._input, "click", e.open)), e.daysContainer !== void 0 && (w(e.monthNav, "click", gn), w(e.monthNav, ["keyup", "increment"], M), w(e.daysContainer, "click", jt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
2989
2989
  var l = function(p) {
2990
2990
  return Re(p).select();
2991
2991
  };
@@ -3305,7 +3305,7 @@ function cl(t, n) {
3305
3305
  var Z = !!e.timeContainer && e.timeContainer.contains(l);
3306
3306
  switch (i.keyCode) {
3307
3307
  case 13:
3308
- Z ? (i.preventDefault(), u(), xt()) : Bt(i);
3308
+ Z ? (i.preventDefault(), u(), xt()) : jt(i);
3309
3309
  break;
3310
3310
  case 27:
3311
3311
  i.preventDefault(), xt();
@@ -3403,12 +3403,12 @@ function cl(t, n) {
3403
3403
  return e.hourElement.select();
3404
3404
  }, 50);
3405
3405
  }
3406
- function Et(i) {
3406
+ function Vt(i) {
3407
3407
  return function(l) {
3408
3408
  var p = e.config["_" + i + "Date"] = e.parseDate(l, e.config.dateFormat), C = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
3409
3409
  p !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = p.getHours() > 0 || p.getMinutes() > 0 || p.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(F) {
3410
3410
  return Te(F);
3411
- }), !e.selectedDates.length && i === "min" && g(p), We()), e.daysContainer && (Lt(), p !== void 0 ? e.currentYearElement[i] = p.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!C && p !== void 0 && C.getFullYear() === p.getFullYear());
3411
+ }), !e.selectedDates.length && i === "min" && g(p), We()), e.daysContainer && (Bt(), p !== void 0 ? e.currentYearElement[i] = p.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!C && p !== void 0 && C.getFullYear() === p.getFullYear());
3412
3412
  };
3413
3413
  }
3414
3414
  function on() {
@@ -3433,14 +3433,14 @@ function cl(t, n) {
3433
3433
  return e.config._enable;
3434
3434
  },
3435
3435
  set: function(q) {
3436
- e.config._enable = Rt(q);
3436
+ e.config._enable = zt(q);
3437
3437
  }
3438
3438
  }), Object.defineProperty(e.config, "disable", {
3439
3439
  get: function() {
3440
3440
  return e.config._disable;
3441
3441
  },
3442
3442
  set: function(q) {
3443
- e.config._disable = Rt(q);
3443
+ e.config._disable = zt(q);
3444
3444
  }
3445
3445
  });
3446
3446
  var C = l.mode === "time";
@@ -3456,12 +3456,12 @@ function cl(t, n) {
3456
3456
  get: function() {
3457
3457
  return e.config._minDate;
3458
3458
  },
3459
- set: Et("min")
3459
+ set: Vt("min")
3460
3460
  }), Object.defineProperty(e.config, "maxDate", {
3461
3461
  get: function() {
3462
3462
  return e.config._maxDate;
3463
3463
  },
3464
- set: Et("max")
3464
+ set: Vt("max")
3465
3465
  });
3466
3466
  var Z = function(q) {
3467
3467
  return function(ue) {
@@ -3491,12 +3491,12 @@ function cl(t, n) {
3491
3491
  for (var U in ee)
3492
3492
  ea.indexOf(U) > -1 ? e.config[U] = ta(ee[U]).map(s).concat(e.config[U]) : typeof l[U] > "u" && (e.config[U] = ee[U]);
3493
3493
  }
3494
- l.altInputClass || (e.config.altInputClass = Vt().className + " " + e.config.altInputClass), pe("onParseConfig");
3494
+ l.altInputClass || (e.config.altInputClass = Nt().className + " " + e.config.altInputClass), pe("onParseConfig");
3495
3495
  }
3496
- function Vt() {
3496
+ function Nt() {
3497
3497
  return e.config.wrap ? t.querySelector("[data-input]") : t;
3498
3498
  }
3499
- function Nt() {
3499
+ function Lt() {
3500
3500
  typeof e.config.locale != "object" && typeof Ce.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = Oe(Oe({}, Ce.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Ce.l10ns[e.config.locale] : void 0), yt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", yt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", yt.M = "(" + e.l10n.months.shorthand.join("|") + ")", yt.F = "(" + e.l10n.months.longhand.join("|") + ")", yt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
3501
3501
  var i = Oe(Oe({}, n), JSON.parse(JSON.stringify(t.dataset || {})));
3502
3502
  i.time_24hr === void 0 && Ce.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = qr(e), e.parseDate = ma({ config: e.config, l10n: e.l10n });
@@ -3547,13 +3547,13 @@ function cl(t, n) {
3547
3547
  var i = document.createElement("style");
3548
3548
  return document.head.appendChild(i), i.sheet;
3549
3549
  }
3550
- function Lt() {
3550
+ function Bt() {
3551
3551
  e.config.noCalendar || e.isMobile || (S(), vt(), Ae());
3552
3552
  }
3553
3553
  function xt() {
3554
3554
  e._input.focus(), window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== void 0 ? setTimeout(e.close, 0) : e.close();
3555
3555
  }
3556
- function Bt(i) {
3556
+ function jt(i) {
3557
3557
  i.preventDefault(), i.stopPropagation();
3558
3558
  var l = function(q) {
3559
3559
  return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
@@ -3581,11 +3581,11 @@ function cl(t, n) {
3581
3581
  }
3582
3582
  }
3583
3583
  var gt = {
3584
- locale: [Nt, G],
3584
+ locale: [Lt, G],
3585
3585
  showMonths: [D, c, z],
3586
3586
  minDate: [P],
3587
3587
  maxDate: [P],
3588
- positionElement: [zt],
3588
+ positionElement: [Ut],
3589
3589
  clickOpens: [
3590
3590
  function() {
3591
3591
  e.config.clickOpens === !0 ? (w(e._input, "focus", e.open), w(e._input, "click", e.open)) : (e._input.removeEventListener("focus", e.open), e._input.removeEventListener("click", e.open));
@@ -3605,7 +3605,7 @@ function cl(t, n) {
3605
3605
  }) : ea.indexOf(i) > -1 && (e.config[i] = ta(l));
3606
3606
  e.redraw(), We(!0);
3607
3607
  }
3608
- function jt(i, l) {
3608
+ function Rt(i, l) {
3609
3609
  var p = [];
3610
3610
  if (i instanceof Array)
3611
3611
  p = i.map(function(C) {
@@ -3641,9 +3641,9 @@ function cl(t, n) {
3641
3641
  function dn(i, l, p) {
3642
3642
  if (l === void 0 && (l = !1), p === void 0 && (p = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
3643
3643
  return e.clear(l);
3644
- jt(i, p), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), P(void 0, l), g(), e.selectedDates.length === 0 && e.clear(!1), We(l), l && pe("onChange");
3644
+ Rt(i, p), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), P(void 0, l), g(), e.selectedDates.length === 0 && e.clear(!1), We(l), l && pe("onChange");
3645
3645
  }
3646
- function Rt(i) {
3646
+ function zt(i) {
3647
3647
  return i.slice().map(function(l) {
3648
3648
  return typeof l == "string" || typeof l == "number" || l instanceof Date ? e.parseDate(l, void 0, !0) : l && typeof l == "object" && l.from && l.to ? {
3649
3649
  from: e.parseDate(l.from, void 0),
@@ -3656,16 +3656,16 @@ function cl(t, n) {
3656
3656
  function cn() {
3657
3657
  e.selectedDates = [], e.now = e.parseDate(e.config.now) || /* @__PURE__ */ new Date();
3658
3658
  var i = e.config.defaultDate || ((e.input.nodeName === "INPUT" || e.input.nodeName === "TEXTAREA") && e.input.placeholder && e.input.value === e.input.placeholder ? null : e.input.value);
3659
- i && jt(i, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
3659
+ i && Rt(i, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
3660
3660
  }
3661
3661
  function fn() {
3662
- if (e.input = Vt(), !e.input) {
3662
+ if (e.input = Nt(), !e.input) {
3663
3663
  e.config.errorHandler(new Error("Invalid input element specified"));
3664
3664
  return;
3665
3665
  }
3666
- e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = se(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), zt();
3666
+ e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = se(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), Ut();
3667
3667
  }
3668
- function zt() {
3668
+ function Ut() {
3669
3669
  e._positionElement = e.config.positionElement || e._input;
3670
3670
  }
3671
3671
  function mn() {
@@ -3766,8 +3766,8 @@ var Ce = function(t, n) {
3766
3766
  };
3767
3767
  Ce.defaultConfig = {};
3768
3768
  Ce.l10ns = {
3769
- en: Oe({}, Zt),
3770
- default: Oe({}, Zt)
3769
+ en: Oe({}, Qt),
3770
+ default: Oe({}, Qt)
3771
3771
  };
3772
3772
  Ce.localize = function(t) {
3773
3773
  Ce.l10ns.default = Oe(Oe({}, Ce.l10ns.default), t);
@@ -5424,7 +5424,7 @@ var Rn = {}, vl = {
5424
5424
  }
5425
5425
  };
5426
5426
  an.l10ns.hi = rn, an.l10ns;
5427
- var Et = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5427
+ var Vt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5428
5428
  l10ns: {}
5429
5429
  }, on = {
5430
5430
  firstDayOfWeek: 1,
@@ -5472,10 +5472,10 @@ var Rn = {}, vl = {
5472
5472
  },
5473
5473
  time_24hr: !0
5474
5474
  };
5475
- Et.l10ns.hr = on, Et.l10ns;
5476
- var Vt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5475
+ Vt.l10ns.hr = on, Vt.l10ns;
5476
+ var Nt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5477
5477
  l10ns: {}
5478
- }, Nt = {
5478
+ }, Lt = {
5479
5479
  firstDayOfWeek: 1,
5480
5480
  weekdays: {
5481
5481
  shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
@@ -5528,7 +5528,7 @@ var Rn = {}, vl = {
5528
5528
  rangeSeparator: " - ",
5529
5529
  time_24hr: !0
5530
5530
  };
5531
- Vt.l10ns.hu = Nt, Vt.l10ns;
5531
+ Nt.l10ns.hu = Lt, Nt.l10ns;
5532
5532
  var ht = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5533
5533
  l10ns: {}
5534
5534
  }, ln = {
@@ -5592,7 +5592,7 @@ var Rn = {}, vl = {
5592
5592
  ht.l10ns.hy = ln, ht.l10ns;
5593
5593
  var sn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5594
5594
  l10ns: {}
5595
- }, Lt = {
5595
+ }, Bt = {
5596
5596
  weekdays: {
5597
5597
  shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
5598
5598
  longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"]
@@ -5634,10 +5634,10 @@ var Rn = {}, vl = {
5634
5634
  time_24hr: !0,
5635
5635
  rangeSeparator: " - "
5636
5636
  };
5637
- sn.l10ns.id = Lt, sn.l10ns;
5637
+ sn.l10ns.id = Bt, sn.l10ns;
5638
5638
  var xt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5639
5639
  l10ns: {}
5640
- }, Bt = {
5640
+ }, jt = {
5641
5641
  weekdays: {
5642
5642
  shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"],
5643
5643
  longhand: [
@@ -5689,7 +5689,7 @@ var Rn = {}, vl = {
5689
5689
  yearAriaLabel: "Ár",
5690
5690
  time_24hr: !0
5691
5691
  };
5692
- xt.l10ns.is = Bt, xt.l10ns;
5692
+ xt.l10ns.is = jt, xt.l10ns;
5693
5693
  var gt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5694
5694
  l10ns: {}
5695
5695
  }, un = {
@@ -5746,7 +5746,7 @@ var Rn = {}, vl = {
5746
5746
  time_24hr: !0
5747
5747
  };
5748
5748
  gt.l10ns.it = un, gt.l10ns;
5749
- var jt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5749
+ var Rt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5750
5750
  l10ns: {}
5751
5751
  }, dn = {
5752
5752
  weekdays: {
@@ -5799,8 +5799,8 @@ var Rn = {}, vl = {
5799
5799
  hourAriaLabel: "時間",
5800
5800
  minuteAriaLabel: "分"
5801
5801
  };
5802
- jt.l10ns.ja = dn, jt.l10ns;
5803
- var Rt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5802
+ Rt.l10ns.ja = dn, Rt.l10ns;
5803
+ var zt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5804
5804
  l10ns: {}
5805
5805
  }, cn = {
5806
5806
  weekdays: {
@@ -5857,10 +5857,10 @@ var Rn = {}, vl = {
5857
5857
  yearAriaLabel: "წელი",
5858
5858
  time_24hr: !0
5859
5859
  };
5860
- Rt.l10ns.ka = cn, Rt.l10ns;
5860
+ zt.l10ns.ka = cn, zt.l10ns;
5861
5861
  var fn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5862
5862
  l10ns: {}
5863
- }, zt = {
5863
+ }, Ut = {
5864
5864
  weekdays: {
5865
5865
  shorthand: ["일", "월", "화", "수", "목", "금", "토"],
5866
5866
  longhand: [
@@ -5909,7 +5909,7 @@ var Rn = {}, vl = {
5909
5909
  rangeSeparator: " ~ ",
5910
5910
  amPM: ["오전", "오후"]
5911
5911
  };
5912
- fn.l10ns.ko = zt, fn.l10ns;
5912
+ fn.l10ns.ko = Ut, fn.l10ns;
5913
5913
  var mn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5914
5914
  l10ns: {}
5915
5915
  }, pn = {
@@ -7519,14 +7519,14 @@ var Rn = {}, vl = {
7519
7519
  he: qe,
7520
7520
  hi: rn,
7521
7521
  hr: on,
7522
- hu: Nt,
7522
+ hu: Lt,
7523
7523
  hy: ln,
7524
- id: Lt,
7525
- is: Bt,
7524
+ id: Bt,
7525
+ is: jt,
7526
7526
  it: un,
7527
7527
  ja: dn,
7528
7528
  ka: cn,
7529
- ko: zt,
7529
+ ko: Ut,
7530
7530
  km: pn,
7531
7531
  kz: Tt,
7532
7532
  lt: hn,
@@ -7678,7 +7678,7 @@ const wl = {
7678
7678
  }
7679
7679
  }, 0);
7680
7680
  };
7681
- Xt(() => {
7681
+ Et(() => {
7682
7682
  if ((ge(e.modelValue) || O(e.modelValue)) && !ge(e.defaultValue)) {
7683
7683
  m.value = e.defaultValue;
7684
7684
  return;
@@ -7701,7 +7701,7 @@ const wl = {
7701
7701
  class: "a-datetime-picker",
7702
7702
  onBlur: T,
7703
7703
  onKeyup: br(T, ["enter"])
7704
- }, Qt({
7704
+ }, Xt({
7705
7705
  "append-inner": v(() => [
7706
7706
  t.clearable && t.defaultValue !== t.modelValue ? (b(), V(ce, {
7707
7707
  key: 0,
@@ -8000,7 +8000,7 @@ const Cl = {
8000
8000
  };
8001
8001
  return Fe(h, (k, M) => {
8002
8002
  k !== M && (d.value = k, u.value = !1);
8003
- }), Xt(() => {
8003
+ }), Et(() => {
8004
8004
  m.value = "remote-switch-" + Date.now();
8005
8005
  }), (k, M) => (b(), H("div", _l, [
8006
8006
  y(Io, {
@@ -8052,7 +8052,7 @@ const Cl = {
8052
8052
  };
8053
8053
  return Fe(h, (k, M) => {
8054
8054
  k !== M && (d.value = k, u.value = !1);
8055
- }), Xt(() => {
8055
+ }), Et(() => {
8056
8056
  m.value = "a-remote-switch-" + Date.now();
8057
8057
  }), (k, M) => (b(), H("div", Al, [
8058
8058
  y(ae, {
@@ -8074,7 +8074,7 @@ const Cl = {
8074
8074
  "hide-details": t.hideDetails,
8075
8075
  density: "compact",
8076
8076
  onClick: te(g, ["stop"])
8077
- }, Qt({ _: 2 }, [
8077
+ }, Xt({ _: 2 }, [
8078
8078
  u.value ? {
8079
8079
  name: "append",
8080
8080
  fn: v(() => [
@@ -8825,7 +8825,7 @@ const Qp = /* @__PURE__ */ pt(Rl, [["render", zl]]), Xp = /* @__PURE__ */ L({
8825
8825
  }),
8826
8826
  y(ba, null, {
8827
8827
  default: v(() => [
8828
- y(Gt),
8828
+ y(Kt),
8829
8829
  y(g, {
8830
8830
  disabled: t.loading,
8831
8831
  "data-cy": "button-cancel",
@@ -9111,54 +9111,54 @@ const Qp = /* @__PURE__ */ pt(Rl, [["render", zl]]), Xp = /* @__PURE__ */ L({
9111
9111
  }, 8, ["class", "data-cy", "target", "to"]));
9112
9112
  }
9113
9113
  });
9114
- var Jt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Jt || {}), Ul = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Ul || {});
9114
+ var qt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(qt || {}), Ul = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Ul || {});
9115
9115
  const ha = xr(
9116
9116
  "theme",
9117
9117
  "light"
9118
9118
  /* Light */
9119
9119
  ), Xr = "(prefers-color-scheme: dark)", zn = J(
9120
- Object.values(Jt).some((t) => t === ha.value) ? ha.value : "light"
9120
+ Object.values(qt).some((t) => t === ha.value) ? ha.value : "light"
9121
9121
  /* Light */
9122
- ), qt = J(
9122
+ ), Wt = J(
9123
9123
  "light"
9124
9124
  /* Light */
9125
- ), eo = J(window.matchMedia && window.matchMedia(Xr).matches), Wt = () => {
9125
+ ), eo = J(window.matchMedia && window.matchMedia(Xr).matches), Gt = () => {
9126
9126
  switch (zn.value) {
9127
9127
  case "auto":
9128
- qt.value = eo.value ? "dark" : "light";
9128
+ Wt.value = eo.value ? "dark" : "light";
9129
9129
  break;
9130
9130
  case "light":
9131
- qt.value = "light";
9131
+ Wt.value = "light";
9132
9132
  break;
9133
9133
  case "dark":
9134
- qt.value = "dark";
9134
+ Wt.value = "dark";
9135
9135
  break;
9136
9136
  }
9137
9137
  };
9138
- Wt();
9138
+ Gt();
9139
9139
  const ia = (t) => {
9140
9140
  zn.value = t, ha.value = t;
9141
9141
  };
9142
9142
  window.matchMedia(Xr).addEventListener("change", (t) => {
9143
- eo.value = t.matches, Wt();
9143
+ eo.value = t.matches, Gt();
9144
9144
  });
9145
- const Yl = $(() => qt.value === "light" ? "white" : "#1A1A1A");
9145
+ const Yl = $(() => Wt.value === "light" ? "white" : "#1A1A1A");
9146
9146
  function Hl() {
9147
9147
  const t = () => {
9148
9148
  ia(
9149
9149
  "auto"
9150
9150
  /* Auto */
9151
- ), Wt();
9151
+ ), Gt();
9152
9152
  }, n = () => {
9153
9153
  ia(
9154
9154
  "dark"
9155
9155
  /* Dark */
9156
- ), Wt();
9156
+ ), Gt();
9157
9157
  }, e = () => {
9158
9158
  ia(
9159
9159
  "light"
9160
9160
  /* Light */
9161
- ), Wt();
9161
+ ), Gt();
9162
9162
  }, a = () => {
9163
9163
  switch (zn.value) {
9164
9164
  case "light":
@@ -9173,9 +9173,9 @@ function Hl() {
9173
9173
  }
9174
9174
  };
9175
9175
  return {
9176
- settings: Yt(zn),
9177
- theme: Yt(qt),
9178
- toolbarColor: Yt(Yl),
9176
+ settings: Ht(zn),
9177
+ theme: Ht(Wt),
9178
+ toolbarColor: Ht(Yl),
9179
9179
  toggleTheme: a,
9180
9180
  setThemeAuto: t,
9181
9181
  setThemeDark: n,
@@ -9200,21 +9200,21 @@ const Jl = { key: 0 }, ql = { key: 1 }, Wl = { key: 2 }, uh = /* @__PURE__ */ L(
9200
9200
  "data-cy": "settings-theme"
9201
9201
  }), {
9202
9202
  default: v(() => [
9203
- f(r) === f(Jt).Auto ? (b(), H("div", Jl, [
9203
+ f(r) === f(qt).Auto ? (b(), H("div", Jl, [
9204
9204
  y(ce, {
9205
9205
  class: "mr-1",
9206
9206
  icon: "mdi-brightness-auto",
9207
9207
  size: 32
9208
9208
  }),
9209
9209
  R(I(f(o)("common.system.theme.auto")), 1)
9210
- ])) : f(r) === f(Jt).Light ? (b(), H("div", ql, [
9210
+ ])) : f(r) === f(qt).Light ? (b(), H("div", ql, [
9211
9211
  y(ce, {
9212
9212
  class: "mr-1",
9213
9213
  icon: "mdi-brightness-7",
9214
9214
  size: 32
9215
9215
  }),
9216
9216
  R(I(f(o)("common.system.theme.light")), 1)
9217
- ])) : f(r) === f(Jt).Dark ? (b(), H("div", Wl, [
9217
+ ])) : f(r) === f(qt).Dark ? (b(), H("div", Wl, [
9218
9218
  y(ce, {
9219
9219
  class: "mr-1",
9220
9220
  icon: "mdi-brightness-4",
@@ -9313,14 +9313,14 @@ function Gl(t, n) {
9313
9313
  et.value = n, ne.global.locale.value = n;
9314
9314
  }
9315
9315
  },
9316
- currentLanguageCode: Yt(et),
9316
+ currentLanguageCode: Ht(et),
9317
9317
  setLanguage: a,
9318
9318
  allLanguages: En
9319
9319
  };
9320
9320
  }
9321
9321
  function Kl() {
9322
9322
  return {
9323
- currentLanguageCode: Yt(et)
9323
+ currentLanguageCode: Ht(et)
9324
9324
  };
9325
9325
  }
9326
9326
  const Zl = {
@@ -9430,7 +9430,7 @@ const fs = /* @__PURE__ */ pt(ls, [["render", cs]]), ms = { class: "flag" }, mr
9430
9430
  onClick: te((k) => c(g.code), ["stop"])
9431
9431
  }, {
9432
9432
  default: v(() => [
9433
- y(Kt, null, {
9433
+ y(Zt, null, {
9434
9434
  default: v(() => [
9435
9435
  y(ua, {
9436
9436
  class: "mr-1",
@@ -9687,7 +9687,7 @@ const ks = /* @__PURE__ */ X("br", null, null, -1), mh = /* @__PURE__ */ L({
9687
9687
  }, null, 8, ["user"])
9688
9688
  ]),
9689
9689
  default: v(() => [
9690
- y(Kt, null, {
9690
+ y(Zt, null, {
9691
9691
  default: v(() => [
9692
9692
  R(I(t.currentUser.person.fullName), 1)
9693
9693
  ]),
@@ -9740,7 +9740,7 @@ const ks = /* @__PURE__ */ X("br", null, null, -1), mh = /* @__PURE__ */ L({
9740
9740
  ]),
9741
9741
  _: 1
9742
9742
  }),
9743
- y(Gt),
9743
+ y(Kt),
9744
9744
  y(ae, {
9745
9745
  class: "ml-2",
9746
9746
  icon: "mdi-close",
@@ -9760,7 +9760,7 @@ const ks = /* @__PURE__ */ X("br", null, null, -1), mh = /* @__PURE__ */ L({
9760
9760
  }),
9761
9761
  y(ba, null, {
9762
9762
  default: v(() => [
9763
- y(Gt),
9763
+ y(Kt),
9764
9764
  y(ae, {
9765
9765
  color: "secondary",
9766
9766
  variant: "text",
@@ -9920,7 +9920,7 @@ const ks = /* @__PURE__ */ X("br", null, null, -1), mh = /* @__PURE__ */ L({
9920
9920
  "onUpdate:search": oe,
9921
9921
  "onClick:clear": Q,
9922
9922
  onKeydown: br(Ae, ["delete"])
9923
- }, Qt({
9923
+ }, Xt({
9924
9924
  label: v(() => [
9925
9925
  t.hideLabel ? K("", !0) : (b(), H("span", {
9926
9926
  key: f(B) + ""
@@ -9964,11 +9964,13 @@ const ks = /* @__PURE__ */ X("br", null, null, -1), mh = /* @__PURE__ */ L({
9964
9964
  props: {
9965
9965
  title: { default: void 0 },
9966
9966
  logoUrl: { default: void 0 },
9967
- loginUrl: { default: void 0 }
9967
+ loginUrl: { type: [null, Function], default: void 0 }
9968
9968
  },
9969
9969
  setup(t) {
9970
- const { t: n } = W();
9971
- return (e, a) => (b(), H("div", _s, [
9970
+ const n = t, { t: e } = W();
9971
+ return Et(() => {
9972
+ console.log(n);
9973
+ }), (a, r) => (b(), H("div", _s, [
9972
9974
  X("div", Ds, [
9973
9975
  X("img", {
9974
9976
  src: t.logoUrl,
@@ -9977,17 +9979,17 @@ const ks = /* @__PURE__ */ X("br", null, null, -1), mh = /* @__PURE__ */ L({
9977
9979
  }, null, 8, As),
9978
9980
  t.title ? (b(), H("h1", Ms, I(t.title), 1)) : K("", !0),
9979
9981
  X("h4", xs, [
9980
- X("span", null, I(f(n)("common.system.login.text")), 1)
9982
+ X("span", null, I(f(e)("common.system.login.text")), 1)
9981
9983
  ]),
9982
9984
  X("div", Ts, [
9983
9985
  t.loginUrl ? (b(), V(ae, {
9984
9986
  key: 0,
9985
- href: t.loginUrl,
9987
+ href: t.loginUrl(),
9986
9988
  color: "primary",
9987
9989
  size: "large"
9988
9990
  }, {
9989
9991
  default: v(() => [
9990
- R(I(f(n)("common.system.login.text")), 1)
9992
+ R(I(f(e)("common.system.login.text")), 1)
9991
9993
  ]),
9992
9994
  _: 1
9993
9995
  }, 8, ["href"])) : K("", !0)
@@ -9996,15 +9998,15 @@ const ks = /* @__PURE__ */ X("br", null, null, -1), mh = /* @__PURE__ */ L({
9996
9998
  ]));
9997
9999
  }
9998
10000
  });
9999
- const hh = /* @__PURE__ */ pt(Ss, [["__scopeId", "data-v-cb4ed0c6"]]), gh = /* @__PURE__ */ L({
10001
+ const hh = /* @__PURE__ */ pt(Ss, [["__scopeId", "data-v-d02b0927"]]), gh = /* @__PURE__ */ L({
10000
10002
  __name: "ALogoutView",
10001
10003
  props: {
10002
- logoutUrl: { default: void 0 }
10004
+ logoutUrl: { type: [null, Function], default: void 0 }
10003
10005
  },
10004
10006
  setup(t) {
10005
10007
  const n = t;
10006
- return Xt(() => {
10007
- n.logoutUrl && (window.location.href = n.logoutUrl);
10008
+ return Et(() => {
10009
+ n.logoutUrl && (window.location.href = n.logoutUrl());
10008
10010
  }), (e, a) => (b(), H("div"));
10009
10011
  }
10010
10012
  }), $s = { class: "d-flex justify-center align-center fill-height" }, Os = { class: "d-flex flex-column align-center" }, Is = { class: "d-flex justify-center align-center text-primary" }, Ps = { class: "pa-4" }, vh = /* @__PURE__ */ L({