@vc-shell/framework 1.0.135 → 1.0.136

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.0.136](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.135...v1.0.136) (2024-01-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **dynamic:** nested fields context reactivity fix ([9613105](https://github.com/VirtoCommerce/vc-shell/commit/9613105f6c1b4c7dc47b386203603763c75595b1))
7
+
8
+
9
+
1
10
  ## [1.0.135](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.134...v1.0.135) (2024-01-03)
2
11
 
3
12
 
package/dist/framework.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Le, openBlock as V, createElementBlock as Z, normalizeClass as je, renderSlot as Ne, computed as me, createBlock as we, unref as W, createCommentVNode as ce, ref as se, createElementVNode as te, toDisplayString as he, createVNode as fe, Transition as Ed, withCtx as de, withDirectives as Vt, vShow as ta, createSlots as Ln, createTextVNode as Oe, vModelCheckbox as D_, normalizeStyle as Rt, onMounted as an, nextTick as Kt, resolveComponent as Be, Fragment as Pe, renderList as lt, mergeProps as Tt, h as De, markRaw as Zt, capitalize as F_, onBeforeUnmount as na, watch as Ge, getCurrentInstance as $n, effectScope as _v, inject as Kn, onUnmounted as B_, shallowRef as nr, onBeforeMount as qo, isRef as ks, Text as j_, resolveDirective as nu, withModifiers as rt, vModelDynamic as Sv, version as U_, toRefs as Yo, customRef as Ev, getCurrentScope as Av, onScopeDispose as Tv, reactive as qt, readonly as ru, toRef as V_, onUpdated as iu, onBeforeUpdate as Ad, watchEffect as H_, shallowReadonly as fo, normalizeProps as Bp, Teleport as Ko, guardReactiveProps as W_, withKeys as ou, onErrorCaptured as z_, createApp as G_, provide as xv, resolveDynamicComponent as _r, isVNode as q_, warn as Y_, shallowReactive as K_, toValue as st, useSlots as J_, useAttrs as Z_ } from "vue";
1
+ import { defineComponent as Le, openBlock as V, createElementBlock as Z, normalizeClass as je, renderSlot as Ne, computed as me, createBlock as we, unref as W, createCommentVNode as ce, ref as se, createElementVNode as te, toDisplayString as he, createVNode as fe, Transition as Ed, withCtx as de, withDirectives as Vt, vShow as ta, createSlots as Ln, createTextVNode as Oe, vModelCheckbox as D_, normalizeStyle as Rt, onMounted as an, nextTick as Yt, resolveComponent as Be, Fragment as Pe, renderList as lt, mergeProps as Tt, h as De, markRaw as Jt, capitalize as F_, onBeforeUnmount as na, watch as Ge, getCurrentInstance as $n, effectScope as _v, inject as Kn, onUnmounted as B_, shallowRef as nr, onBeforeMount as qo, isRef as ks, Text as j_, resolveDirective as nu, withModifiers as rt, vModelDynamic as Sv, version as U_, toRefs as Yo, customRef as Ev, getCurrentScope as Av, onScopeDispose as Tv, reactive as tn, readonly as ru, toRef as V_, onUpdated as iu, onBeforeUpdate as Ad, watchEffect as H_, shallowReadonly as fo, normalizeProps as Bp, Teleport as Ko, guardReactiveProps as W_, withKeys as ou, onErrorCaptured as z_, createApp as G_, provide as xv, resolveDynamicComponent as _r, isVNode as q_, warn as Y_, shallowReactive as K_, toValue as st, useSlots as J_, useAttrs as Z_ } from "vue";
2
2
  import * as Cv from "vee-validate";
3
3
  import { useField as X_, useForm as Jo, useIsFormValid as ra, useIsFormDirty as ia, Field as Dn, validate as Q_, validateObject as e1, defineRule as Zo } from "vee-validate";
4
4
  import { useRouter as Xo, useRoute as Td, onBeforeRouteLeave as t1 } from "vue-router";
@@ -329,7 +329,7 @@ const C1 = /* @__PURE__ */ Le({
329
329
  }
330
330
  }
331
331
  function v() {
332
- u.value && f.value && (l.value === "loosing" && Kt(() => i("scroll:ptr")), b(0));
332
+ u.value && f.value && (l.value === "loosing" && Yt(() => i("scroll:ptr")), b(0));
333
333
  }
334
334
  function y(S) {
335
335
  const A = S.scrollTop;
@@ -13917,7 +13917,7 @@ const Up = [
13917
13917
  return De("div");
13918
13918
  },
13919
13919
  mounted() {
13920
- const n = this._editor = Zt(cS.edit(this.$el, {
13920
+ const n = this._editor = Jt(cS.edit(this.$el, {
13921
13921
  placeholder: this.placeholder,
13922
13922
  readOnly: this.readonly,
13923
13923
  value: this.value,
@@ -25268,7 +25268,7 @@ const zp = {
25268
25268
  }, O = () => {
25269
25269
  t?.focus();
25270
25270
  }, $ = () => {
25271
- Kt(() => {
25271
+ Yt(() => {
25272
25272
  var E;
25273
25273
  !e.slots.toolbar && t && ((E = t.getModule("toolbar")) === null || E === void 0 || E.container.remove()), o();
25274
25274
  });
@@ -25277,7 +25277,7 @@ const zp = {
25277
25277
  if (!t || !E || c(E))
25278
25278
  return;
25279
25279
  const T = t.getSelection();
25280
- T && Kt(() => t?.setSelection(T)), _(E);
25280
+ T && Yt(() => t?.setSelection(T)), _(E);
25281
25281
  }, { deep: !0 }), Ge(() => n.enable, (E) => {
25282
25282
  t && t.enable(E);
25283
25283
  }), {
@@ -25624,12 +25624,12 @@ function Id(n) {
25624
25624
  let e = n;
25625
25625
  return () => ++e;
25626
25626
  }
25627
- function tn(n, e) {
25627
+ function en(n, e) {
25628
25628
  typeof console < "u" && (console.warn("[intlify] " + n), e && console.warn(e.stack));
25629
25629
  }
25630
25630
  const Kp = {};
25631
25631
  function uE(n) {
25632
- Kp[n] || (Kp[n] = !0, tn(n));
25632
+ Kp[n] || (Kp[n] = !0, en(n));
25633
25633
  }
25634
25634
  function Rd() {
25635
25635
  const n = /* @__PURE__ */ new Map();
@@ -26956,7 +26956,7 @@ const _n = {
26956
26956
  function Wi(n, ...e) {
26957
26957
  return Ld(lA[n], ...e);
26958
26958
  }
26959
- const Qv = Ze.__EXTEND_POINT__, Ii = Id(Qv), en = {
26959
+ const Qv = Ze.__EXTEND_POINT__, Ii = Id(Qv), Qt = {
26960
26960
  INVALID_ARGUMENT: Qv,
26961
26961
  INVALID_DATE_ARGUMENT: Ii(),
26962
26962
  INVALID_ISO_DATE_ARGUMENT: Ii(),
@@ -26971,13 +26971,13 @@ function Ar(n) {
26971
26971
  return Qo(n, null, process.env.NODE_ENV !== "production" ? { messages: uA } : void 0);
26972
26972
  }
26973
26973
  const uA = {
26974
- [en.INVALID_ARGUMENT]: "Invalid arguments",
26975
- [en.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
26976
- [en.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
26977
- [en.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
26978
- [en.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
26979
- [en.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
26980
- [en.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
26974
+ [Qt.INVALID_ARGUMENT]: "Invalid arguments",
26975
+ [Qt.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
26976
+ [Qt.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
26977
+ [Qt.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
26978
+ [Qt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
26979
+ [Qt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
26980
+ [Qt.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
26981
26981
  };
26982
26982
  function Nd(n, e) {
26983
26983
  return e.locale != null ? nm(e.locale) : nm(n.locale);
@@ -26992,12 +26992,12 @@ function nm(n) {
26992
26992
  if (n.constructor.name === "Function") {
26993
26993
  const e = n();
26994
26994
  if (oE(e))
26995
- throw Ar(en.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
26995
+ throw Ar(Qt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
26996
26996
  return Mc = e;
26997
26997
  } else
26998
- throw Ar(en.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
26998
+ throw Ar(Qt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
26999
26999
  } else
27000
- throw Ar(en.NOT_SUPPORT_LOCALE_TYPE);
27000
+ throw Ar(Qt.NOT_SUPPORT_LOCALE_TYPE);
27001
27001
  }
27002
27002
  function cA(n, e, t) {
27003
27003
  return [.../* @__PURE__ */ new Set([
@@ -27075,7 +27075,7 @@ const sm = (n) => {
27075
27075
  }, bA = () => oy;
27076
27076
  let am = 0;
27077
27077
  function wA(n = {}) {
27078
- const e = St(n.onWarn) ? n.onWarn : tn, t = Me(n.version) ? n.version : hA, r = Me(n.locale) || St(n.locale) ? n.locale : Ro, i = St(r) ? Ro : r, o = xt(n.fallbackLocale) || Xe(n.fallbackLocale) || Me(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : i, a = Xe(n.messages) ? n.messages : { [i]: {} }, h = Xe(n.datetimeFormats) ? n.datetimeFormats : { [i]: {} }, s = Xe(n.numberFormats) ? n.numberFormats : { [i]: {} }, p = sn({}, n.modifiers || {}, pA()), c = n.pluralRules || {}, l = St(n.missing) ? n.missing : null, u = it(n.missingWarn) || bi(n.missingWarn) ? n.missingWarn : !0, f = it(n.fallbackWarn) || bi(n.fallbackWarn) ? n.fallbackWarn : !0, d = !!n.fallbackFormat, m = !!n.unresolving, g = St(n.postTranslation) ? n.postTranslation : null, v = Xe(n.processor) ? n.processor : null, y = it(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, _ = !!n.escapeParameter, b = St(n.messageCompiler) ? n.messageCompiler : ty;
27078
+ const e = St(n.onWarn) ? n.onWarn : en, t = Me(n.version) ? n.version : hA, r = Me(n.locale) || St(n.locale) ? n.locale : Ro, i = St(r) ? Ro : r, o = xt(n.fallbackLocale) || Xe(n.fallbackLocale) || Me(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : i, a = Xe(n.messages) ? n.messages : { [i]: {} }, h = Xe(n.datetimeFormats) ? n.datetimeFormats : { [i]: {} }, s = Xe(n.numberFormats) ? n.numberFormats : { [i]: {} }, p = sn({}, n.modifiers || {}, pA()), c = n.pluralRules || {}, l = St(n.missing) ? n.missing : null, u = it(n.missingWarn) || bi(n.missingWarn) ? n.missingWarn : !0, f = it(n.fallbackWarn) || bi(n.fallbackWarn) ? n.fallbackWarn : !0, d = !!n.fallbackFormat, m = !!n.unresolving, g = St(n.postTranslation) ? n.postTranslation : null, v = Xe(n.processor) ? n.processor : null, y = it(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, _ = !!n.escapeParameter, b = St(n.messageCompiler) ? n.messageCompiler : ty;
27079
27079
  process.env.NODE_ENV !== "production" && St(n.messageCompiler) && uE(Wi(_n.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
27080
27080
  const w = St(n.messageResolver) ? n.messageResolver : ny || YE, S = St(n.localeFallbacker) ? n.localeFallbacker : ry || cA, A = gt(n.fallbackContext) ? n.fallbackContext : void 0, k = n, O = gt(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = gt(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), E = gt(k.__meta) ? k.__meta : {};
27081
27081
  am++;
@@ -27185,7 +27185,7 @@ function Af(n, e) {
27185
27185
  }
27186
27186
  const SA = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
27187
27187
  function ay(n, e) {
27188
- e && vE(n) && tn(Ld(SA, { source: n }));
27188
+ e && vE(n) && en(Ld(SA, { source: n }));
27189
27189
  }
27190
27190
  const ly = (n) => n;
27191
27191
  let bo = /* @__PURE__ */ Object.create(null);
@@ -27199,7 +27199,7 @@ function uy(n, e = {}) {
27199
27199
  }
27200
27200
  const EA = /* @__NO_SIDE_EFFECTS__ */ (n, e) => {
27201
27201
  if (!Me(n))
27202
- throw Ar(en.NOT_SUPPORT_NON_STRING_MESSAGE);
27202
+ throw Ar(Qt.NOT_SUPPORT_NON_STRING_MESSAGE);
27203
27203
  {
27204
27204
  const t = it(e.warnHtmlMessage) ? e.warnHtmlMessage : !0;
27205
27205
  process.env.NODE_ENV !== "production" && ay(n, t);
@@ -27225,7 +27225,7 @@ function AA(n, e) {
27225
27225
  return h ? s : bo[i] = s;
27226
27226
  } else {
27227
27227
  if (process.env.NODE_ENV !== "production" && !wi(n))
27228
- return tn(`the message that is resolve with key '${e.key}' is not supported for jit compilation`), () => n;
27228
+ return en(`the message that is resolve with key '${e.key}' is not supported for jit compilation`), () => n;
27229
27229
  const t = n.cacheKey;
27230
27230
  if (t) {
27231
27231
  const r = bo[t];
@@ -27246,7 +27246,7 @@ function cm(n, ...e) {
27246
27246
  if (!f && !(Me(b) || wi(b) || Gn(b)) && m && (b = d, w = b), !f && (!(Me(b) || wi(b) || Gn(b)) || !Me(y)))
27247
27247
  return i ? fu : s;
27248
27248
  if (process.env.NODE_ENV !== "production" && Me(b) && n.messageCompiler == null)
27249
- return tn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`), s;
27249
+ return en(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`), s;
27250
27250
  let S = !1;
27251
27251
  const A = () => {
27252
27252
  S = !0;
@@ -27357,7 +27357,7 @@ function xA(n, e, t) {
27357
27357
  function Tf(...n) {
27358
27358
  const [e, t, r] = n, i = {};
27359
27359
  if (!Me(e) && !Gt(e) && !Gn(e) && !wi(e))
27360
- throw Ar(en.INVALID_ARGUMENT);
27360
+ throw Ar(Qt.INVALID_ARGUMENT);
27361
27361
  const o = Gt(e) ? String(e) : (Gn(e), e);
27362
27362
  return Gt(t) ? i.plural = t : Me(t) ? i.default = t : Xe(t) && !cu(t) ? i.named = t : xt(t) && (i.list = t), Gt(r) ? i.plural = r : Me(r) ? i.default = r : Xe(r) && sn(i, r), [o, i];
27363
27363
  }
@@ -27483,22 +27483,22 @@ function xf(...n) {
27483
27483
  if (Me(e)) {
27484
27484
  const s = e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
27485
27485
  if (!s)
27486
- throw Ar(en.INVALID_ISO_DATE_ARGUMENT);
27486
+ throw Ar(Qt.INVALID_ISO_DATE_ARGUMENT);
27487
27487
  const p = s[3] ? s[3].trim().startsWith("T") ? `${s[1].trim()}${s[3].trim()}` : `${s[1].trim()}T${s[3].trim()}` : s[1].trim();
27488
27488
  h = new Date(p);
27489
27489
  try {
27490
27490
  h.toISOString();
27491
27491
  } catch {
27492
- throw Ar(en.INVALID_ISO_DATE_ARGUMENT);
27492
+ throw Ar(Qt.INVALID_ISO_DATE_ARGUMENT);
27493
27493
  }
27494
27494
  } else if (rE(e)) {
27495
27495
  if (isNaN(e.getTime()))
27496
- throw Ar(en.INVALID_DATE_ARGUMENT);
27496
+ throw Ar(Qt.INVALID_DATE_ARGUMENT);
27497
27497
  h = e;
27498
27498
  } else if (Gt(e))
27499
27499
  h = e;
27500
27500
  else
27501
- throw Ar(en.INVALID_ARGUMENT);
27501
+ throw Ar(Qt.INVALID_ARGUMENT);
27502
27502
  return Me(t) ? o.key = t : Xe(t) && Object.keys(t).forEach((s) => {
27503
27503
  hy.includes(s) ? a[s] = t[s] : o[s] = t[s];
27504
27504
  }), Me(r) ? o.locale = r : Xe(r) && (a = r), Xe(i) && (a = i), [o.key || "", h, o, a];
@@ -27575,7 +27575,7 @@ function Cf(...n) {
27575
27575
  const [e, t, r, i] = n, o = {};
27576
27576
  let a = {};
27577
27577
  if (!Gt(e))
27578
- throw Ar(en.INVALID_ARGUMENT);
27578
+ throw Ar(Qt.INVALID_ARGUMENT);
27579
27579
  const h = e;
27580
27580
  return Me(t) ? o.key = t : Xe(t) && Object.keys(t).forEach((s) => {
27581
27581
  py.includes(s) ? a[s] = t[s] : o[s] = t[s];
@@ -27713,7 +27713,7 @@ const gy = _n.__EXTEND_POINT__, ui = Id(gy), Nt = {
27713
27713
  function Rn(n, ...e) {
27714
27714
  return Ld(jA[n], ...e);
27715
27715
  }
27716
- const vy = en.__EXTEND_POINT__, xn = Id(vy), ht = {
27716
+ const vy = Qt.__EXTEND_POINT__, xn = Id(vy), ht = {
27717
27717
  // composer module errors
27718
27718
  UNEXPECTED_RETURN_TYPE: vy,
27719
27719
  // legacy module errors
@@ -27742,7 +27742,7 @@ const vy = en.__EXTEND_POINT__, xn = Id(vy), ht = {
27742
27742
  __EXTEND_POINT__: xn()
27743
27743
  // 40
27744
27744
  };
27745
- function Jt(n, ...e) {
27745
+ function Kt(n, ...e) {
27746
27746
  return Qo(n, null, process.env.NODE_ENV !== "production" ? { messages: UA, args: e } : void 0);
27747
27747
  }
27748
27748
  const UA = {
@@ -27773,7 +27773,7 @@ function Bs(n) {
27773
27773
  let i = n, o = !1;
27774
27774
  for (let a = 0; a < r; a++) {
27775
27775
  if (t[a] in i || (i[t[a]] = {}), !gt(i[t[a]])) {
27776
- process.env.NODE_ENV !== "production" && tn(Rn(Nt.IGNORE_OBJ_FLATTEN, {
27776
+ process.env.NODE_ENV !== "production" && en(Rn(Nt.IGNORE_OBJ_FLATTEN, {
27777
27777
  key: t[a]
27778
27778
  })), o = !0;
27779
27779
  break;
@@ -27922,7 +27922,7 @@ function Dd(n = {}, e) {
27922
27922
  if (Ee !== "translate exists" && // for not `te` (e.g `t`)
27923
27923
  Gt(Je) && Je === fu || Ee === "translate exists" && !Je) {
27924
27924
  const [ct, bt] = ne();
27925
- if (process.env.NODE_ENV !== "production" && t && Me(ct) && D(Ee, bt) && (d && (du(f, ct) || sy(u, ct)) && tn(Rn(Nt.FALLBACK_TO_ROOT, {
27925
+ if (process.env.NODE_ENV !== "production" && t && Me(ct) && D(Ee, bt) && (d && (du(f, ct) || sy(u, ct)) && en(Rn(Nt.FALLBACK_TO_ROOT, {
27926
27926
  key: ct,
27927
27927
  type: Ee
27928
27928
  })), process.env.NODE_ENV !== "production")) {
@@ -27938,7 +27938,7 @@ function Dd(n = {}, e) {
27938
27938
  } else {
27939
27939
  if (Fe(Je))
27940
27940
  return Je;
27941
- throw Jt(ht.UNEXPECTED_RETURN_TYPE);
27941
+ throw Kt(ht.UNEXPECTED_RETURN_TYPE);
27942
27942
  }
27943
27943
  };
27944
27944
  function N(...ue) {
@@ -27947,7 +27947,7 @@ function Dd(n = {}, e) {
27947
27947
  function j(...ue) {
27948
27948
  const [ne, Ee, Ae] = ue;
27949
27949
  if (Ae && !gt(Ae))
27950
- throw Jt(ht.INVALID_ARGUMENT);
27950
+ throw Kt(ht.INVALID_ARGUMENT);
27951
27951
  return N(ne, Ee, sn({ resolvedMessage: !0 }, Ae || {}));
27952
27952
  }
27953
27953
  function F(...ue) {
@@ -28152,7 +28152,7 @@ function Dd(n = {}, e) {
28152
28152
  }
28153
28153
  function WA(n) {
28154
28154
  const e = Me(n.locale) ? n.locale : Ro, t = Me(n.fallbackLocale) || xt(n.fallbackLocale) || Xe(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : e, r = St(n.missing) ? n.missing : void 0, i = it(n.silentTranslationWarn) || bi(n.silentTranslationWarn) ? !n.silentTranslationWarn : !0, o = it(n.silentFallbackWarn) || bi(n.silentFallbackWarn) ? !n.silentFallbackWarn : !0, a = it(n.fallbackRoot) ? n.fallbackRoot : !0, h = !!n.formatFallbackMessages, s = Xe(n.modifiers) ? n.modifiers : {}, p = n.pluralizationRules, c = St(n.postTranslation) ? n.postTranslation : void 0, l = Me(n.warnHtmlInMessage) ? n.warnHtmlInMessage !== "off" : !0, u = !!n.escapeParameterHtml, f = it(n.sync) ? n.sync : !0;
28155
- process.env.NODE_ENV !== "production" && n.formatter && tn(Rn(Nt.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && n.preserveDirectiveContent && tn(Rn(Nt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
28155
+ process.env.NODE_ENV !== "production" && n.formatter && en(Rn(Nt.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && n.preserveDirectiveContent && en(Rn(Nt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
28156
28156
  let d = n.messages;
28157
28157
  if (Xe(n.sharedMessages)) {
28158
28158
  const w = n.sharedMessages;
@@ -28223,14 +28223,14 @@ function Rf(n = {}, e) {
28223
28223
  },
28224
28224
  // formatter
28225
28225
  get formatter() {
28226
- return process.env.NODE_ENV !== "production" && tn(Rn(Nt.NOT_SUPPORTED_FORMATTER)), {
28226
+ return process.env.NODE_ENV !== "production" && en(Rn(Nt.NOT_SUPPORTED_FORMATTER)), {
28227
28227
  interpolate() {
28228
28228
  return [];
28229
28229
  }
28230
28230
  };
28231
28231
  },
28232
28232
  set formatter(o) {
28233
- process.env.NODE_ENV !== "production" && tn(Rn(Nt.NOT_SUPPORTED_FORMATTER));
28233
+ process.env.NODE_ENV !== "production" && en(Rn(Nt.NOT_SUPPORTED_FORMATTER));
28234
28234
  },
28235
28235
  // missing
28236
28236
  get missing() {
@@ -28294,10 +28294,10 @@ function Rf(n = {}, e) {
28294
28294
  },
28295
28295
  // preserveDirectiveContent
28296
28296
  get preserveDirectiveContent() {
28297
- return process.env.NODE_ENV !== "production" && tn(Rn(Nt.NOT_SUPPORTED_PRESERVE_DIRECTIVE)), !0;
28297
+ return process.env.NODE_ENV !== "production" && en(Rn(Nt.NOT_SUPPORTED_PRESERVE_DIRECTIVE)), !0;
28298
28298
  },
28299
28299
  set preserveDirectiveContent(o) {
28300
- process.env.NODE_ENV !== "production" && tn(Rn(Nt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
28300
+ process.env.NODE_ENV !== "production" && en(Rn(Nt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
28301
28301
  },
28302
28302
  // pluralizationRules
28303
28303
  get pluralizationRules() {
@@ -28310,7 +28310,7 @@ function Rf(n = {}, e) {
28310
28310
  const [a, h, s] = o, p = {};
28311
28311
  let c = null, l = null;
28312
28312
  if (!Me(a))
28313
- throw Jt(ht.INVALID_ARGUMENT);
28313
+ throw Kt(ht.INVALID_ARGUMENT);
28314
28314
  const u = a;
28315
28315
  return Me(h) ? p.locale = h : xt(h) ? c = h : Xe(h) && (l = h), xt(s) ? c = s : Xe(s) && (l = s), Reflect.apply(t.t, t, [
28316
28316
  u,
@@ -28326,7 +28326,7 @@ function Rf(n = {}, e) {
28326
28326
  const [a, h, s] = o, p = { plural: 1 };
28327
28327
  let c = null, l = null;
28328
28328
  if (!Me(a))
28329
- throw Jt(ht.INVALID_ARGUMENT);
28329
+ throw Kt(ht.INVALID_ARGUMENT);
28330
28330
  const u = a;
28331
28331
  return Me(h) ? p.locale = h : Gt(h) ? p.plural = h : xt(h) ? c = h : Xe(h) && (l = h), Me(s) ? p.locale = s : xt(s) ? c = s : Xe(s) && (l = s), Reflect.apply(t.t, t, [
28332
28332
  u,
@@ -28389,7 +28389,7 @@ function Rf(n = {}, e) {
28389
28389
  // getChoiceIndex
28390
28390
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
28391
28391
  getChoiceIndex(o, a) {
28392
- return process.env.NODE_ENV !== "production" && tn(Rn(Nt.NOT_SUPPORTED_GET_CHOICE_INDEX)), -1;
28392
+ return process.env.NODE_ENV !== "production" && en(Rn(Nt.NOT_SUPPORTED_GET_CHOICE_INDEX)), -1;
28393
28393
  }
28394
28394
  };
28395
28395
  return i.__extender = r, process.env.NODE_ENV !== "production" && (i.__enableEmitter = (o) => {
@@ -28542,9 +28542,9 @@ function ZA(n) {
28542
28542
  const e = (a) => {
28543
28543
  const { instance: h, modifiers: s, value: p } = a;
28544
28544
  if (!h || !h.$)
28545
- throw Jt(ht.UNEXPECTED_ERROR);
28545
+ throw Kt(ht.UNEXPECTED_ERROR);
28546
28546
  const c = JA(n, h.$);
28547
- process.env.NODE_ENV !== "production" && s.preserve && tn(Rn(Nt.NOT_SUPPORTED_PRESERVE));
28547
+ process.env.NODE_ENV !== "production" && s.preserve && en(Rn(Nt.NOT_SUPPORTED_PRESERVE));
28548
28548
  const l = Em(p);
28549
28549
  return [
28550
28550
  Reflect.apply(c.t, c, [...Am(l)]),
@@ -28580,10 +28580,10 @@ function Em(n) {
28580
28580
  return { path: n };
28581
28581
  if (Xe(n)) {
28582
28582
  if (!("path" in n))
28583
- throw Jt(ht.REQUIRED_VALUE, "path");
28583
+ throw Kt(ht.REQUIRED_VALUE, "path");
28584
28584
  return n;
28585
28585
  } else
28586
- throw Jt(ht.INVALID_VALUE);
28586
+ throw Kt(ht.INVALID_VALUE);
28587
28587
  }
28588
28588
  function Am(n) {
28589
28589
  const { path: e, locale: t, args: r, choice: i, plural: o } = n, a = {}, h = r || {};
@@ -28591,7 +28591,7 @@ function Am(n) {
28591
28591
  }
28592
28592
  function XA(n, e, ...t) {
28593
28593
  const r = Xe(t[0]) ? t[0] : {}, i = !!r.useI18nComponentName, o = it(r.globalInstall) ? r.globalInstall : !0;
28594
- process.env.NODE_ENV !== "production" && o && i && tn(Rn(Nt.COMPONENT_NAME_LEGACY_COMPATIBLE, {
28594
+ process.env.NODE_ENV !== "production" && o && i && en(Rn(Nt.COMPONENT_NAME_LEGACY_COMPATIBLE, {
28595
28595
  name: Pc.name
28596
28596
  })), o && ([i ? "i18n" : Pc.name, "I18nT"].forEach((a) => n.component(a, Pc)), [_m.name, "I18nN"].forEach((a) => n.component(a, _m)), [Sm.name, "I18nD"].forEach((a) => n.component(a, Sm))), n.directive("t", ZA(e));
28597
28597
  }
@@ -28875,7 +28875,7 @@ function dT(n, e, t) {
28875
28875
  beforeCreate() {
28876
28876
  const r = $n();
28877
28877
  if (!r)
28878
- throw Jt(ht.UNEXPECTED_ERROR);
28878
+ throw Kt(ht.UNEXPECTED_ERROR);
28879
28879
  const i = this.$options;
28880
28880
  if (i.i18n) {
28881
28881
  const o = i.i18n;
@@ -28914,7 +28914,7 @@ function dT(n, e, t) {
28914
28914
  unmounted() {
28915
28915
  const r = $n();
28916
28916
  if (!r)
28917
- throw Jt(ht.UNEXPECTED_ERROR);
28917
+ throw Kt(ht.UNEXPECTED_ERROR);
28918
28918
  const i = this.$i18n;
28919
28919
  process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", js), delete this.__v_emitter), this.$i18n && (i.__disableEmitter && i.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$tc, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, i.__disposer && (i.__disposer(), delete i.__disposer, delete i.__extender), t.__deleteInstance(r), delete this.$i18n;
28920
28920
  }
@@ -28931,7 +28931,7 @@ function xm(n, e) {
28931
28931
  const hT = /* @__PURE__ */ kr("global-vue-i18n");
28932
28932
  function pT(n = {}, e) {
28933
28933
  const t = __VUE_I18N_LEGACY_API__ && it(n.legacy) ? n.legacy : __VUE_I18N_LEGACY_API__, r = it(n.globalInjection) ? n.globalInjection : !0, i = __VUE_I18N_LEGACY_API__ && t ? !!n.allowComposition : !0, o = /* @__PURE__ */ new Map(), [a, h] = mT(n, t), s = /* @__PURE__ */ kr(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
28934
- process.env.NODE_ENV !== "production" && t && i && tn(Rn(Nt.NOTICE_DROP_ALLOW_COMPOSITION));
28934
+ process.env.NODE_ENV !== "production" && t && i && en(Rn(Nt.NOTICE_DROP_ALLOW_COMPOSITION));
28935
28935
  function p(u) {
28936
28936
  return o.get(u) || null;
28937
28937
  }
@@ -28964,7 +28964,7 @@ function pT(n = {}, e) {
28964
28964
  m && m(), u.dispose(), g();
28965
28965
  }, process.env.NODE_ENV !== "production") {
28966
28966
  if (!await tT(f, u))
28967
- throw Jt(ht.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
28967
+ throw Kt(ht.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
28968
28968
  const y = Rd();
28969
28969
  if (t) {
28970
28970
  const _ = h;
@@ -28998,20 +28998,20 @@ function pT(n = {}, e) {
28998
28998
  function _t(n = {}) {
28999
28999
  const e = $n();
29000
29000
  if (e == null)
29001
- throw Jt(ht.MUST_BE_CALL_SETUP_TOP);
29001
+ throw Kt(ht.MUST_BE_CALL_SETUP_TOP);
29002
29002
  if (!e.isCE && e.appContext.app != null && !e.appContext.app.__VUE_I18N_SYMBOL__)
29003
- throw Jt(ht.NOT_INSTALLED);
29003
+ throw Kt(ht.NOT_INSTALLED);
29004
29004
  const t = gT(e), r = yT(t), i = wy(e), o = vT(n, i);
29005
29005
  if (__VUE_I18N_LEGACY_API__ && t.mode === "legacy" && !n.__useComponent) {
29006
29006
  if (!t.allowComposition)
29007
- throw Jt(ht.NOT_AVAILABLE_IN_LEGACY_MODE);
29007
+ throw Kt(ht.NOT_AVAILABLE_IN_LEGACY_MODE);
29008
29008
  return ST(e, o, r, n);
29009
29009
  }
29010
29010
  if (o === "global")
29011
29011
  return _y(r, n, i), r;
29012
29012
  if (o === "parent") {
29013
29013
  let s = bT(t, e, n.__useComponent);
29014
- return s == null && (process.env.NODE_ENV !== "production" && tn(Rn(Nt.NOT_FOUND_PARENT_SCOPE)), s = r), s;
29014
+ return s == null && (process.env.NODE_ENV !== "production" && en(Rn(Nt.NOT_FOUND_PARENT_SCOPE)), s = r), s;
29015
29015
  }
29016
29016
  const a = t;
29017
29017
  let h = a.__getInstance(e);
@@ -29026,7 +29026,7 @@ function mT(n, e, t) {
29026
29026
  {
29027
29027
  const i = __VUE_I18N_LEGACY_API__ && e ? r.run(() => Rf(n)) : r.run(() => Dd(n));
29028
29028
  if (i == null)
29029
- throw Jt(ht.UNEXPECTED_ERROR);
29029
+ throw Kt(ht.UNEXPECTED_ERROR);
29030
29030
  return [r, i];
29031
29031
  }
29032
29032
  }
@@ -29034,7 +29034,7 @@ function gT(n) {
29034
29034
  {
29035
29035
  const e = Kn(n.isCE ? hT : n.appContext.app.__VUE_I18N_SYMBOL__);
29036
29036
  if (!e)
29037
- throw Jt(n.isCE ? ht.NOT_INSTALLED_WITH_PROVIDE : ht.UNEXPECTED_ERROR);
29037
+ throw Kt(n.isCE ? ht.NOT_INSTALLED_WITH_PROVIDE : ht.UNEXPECTED_ERROR);
29038
29038
  return e;
29039
29039
  }
29040
29040
  }
@@ -29083,7 +29083,7 @@ function _T(n, e, t) {
29083
29083
  function ST(n, e, t, r = {}) {
29084
29084
  const i = e === "local", o = nr(null);
29085
29085
  if (i && n.proxy && !(n.proxy.$options.i18n || n.proxy.$options.__i18n))
29086
- throw Jt(ht.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
29086
+ throw Kt(ht.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
29087
29087
  const a = it(r.inheritLocale) ? r.inheritLocale : !Me(r.locale), h = se(
29088
29088
  // prettier-ignore
29089
29089
  !i || a ? t.locale.value : Me(r.locale) ? r.locale : Ro
@@ -29265,7 +29265,7 @@ function ST(n, e, t, r = {}) {
29265
29265
  }
29266
29266
  return qo(() => {
29267
29267
  if (n.proxy == null || n.proxy.$i18n == null)
29268
- throw Jt(ht.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
29268
+ throw Kt(ht.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
29269
29269
  const G = o.value = n.proxy.$i18n.__composer;
29270
29270
  e === "global" ? (h.value = G.locale.value, s.value = G.fallbackLocale.value, p.value = G.messages.value, c.value = G.datetimeFormats.value, l.value = G.numberFormats.value) : i && K(G);
29271
29271
  }), ie;
@@ -29280,7 +29280,7 @@ function AT(n, e) {
29280
29280
  return ET.forEach((i) => {
29281
29281
  const o = Object.getOwnPropertyDescriptor(e, i);
29282
29282
  if (!o)
29283
- throw Jt(ht.UNEXPECTED_ERROR);
29283
+ throw Kt(ht.UNEXPECTED_ERROR);
29284
29284
  const a = ks(o.value) ? {
29285
29285
  get() {
29286
29286
  return o.value.value;
@@ -29298,7 +29298,7 @@ function AT(n, e) {
29298
29298
  }), n.config.globalProperties.$i18n = t, Cm.forEach((i) => {
29299
29299
  const o = Object.getOwnPropertyDescriptor(e, i);
29300
29300
  if (!o || !o.value)
29301
- throw Jt(ht.UNEXPECTED_ERROR);
29301
+ throw Kt(ht.UNEXPECTED_ERROR);
29302
29302
  Object.defineProperty(n.config.globalProperties, `$${i}`, o);
29303
29303
  }), () => {
29304
29304
  delete n.config.globalProperties.$i18n, Cm.forEach((i) => {
@@ -29830,7 +29830,7 @@ function QT(n, e, t) {
29830
29830
  function wu(n) {
29831
29831
  return n % 4 === 0 && n % 100 !== 0 || n % 400 === 0;
29832
29832
  }
29833
- var hn = 0, Gr = 1, Sr = 2, Yt = 3, or = 4, qr = 5, Pi = 6, ex = 7, tx = 8;
29833
+ var hn = 0, Gr = 1, Sr = 2, qt = 3, or = 4, qr = 5, Pi = 6, ex = 7, tx = 8;
29834
29834
  qe("Y", 0, 0, function() {
29835
29835
  var n = this.year();
29836
29836
  return n <= 9999 ? xr(n, 4) : "+" + n;
@@ -30297,32 +30297,32 @@ Ue("hmm", Ny);
30297
30297
  Ue("hmmss", Py);
30298
30298
  Ue("Hmm", Ny);
30299
30299
  Ue("Hmmss", Py);
30300
- Et(["H", "HH"], Yt);
30300
+ Et(["H", "HH"], qt);
30301
30301
  Et(["k", "kk"], function(n, e, t) {
30302
30302
  var r = ut(n);
30303
- e[Yt] = r === 24 ? 0 : r;
30303
+ e[qt] = r === 24 ? 0 : r;
30304
30304
  });
30305
30305
  Et(["a", "A"], function(n, e, t) {
30306
30306
  t._isPm = t._locale.isPM(n), t._meridiem = n;
30307
30307
  });
30308
30308
  Et(["h", "hh"], function(n, e, t) {
30309
- e[Yt] = ut(n), nt(t).bigHour = !0;
30309
+ e[qt] = ut(n), nt(t).bigHour = !0;
30310
30310
  });
30311
30311
  Et("hmm", function(n, e, t) {
30312
30312
  var r = n.length - 2;
30313
- e[Yt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r)), nt(t).bigHour = !0;
30313
+ e[qt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r)), nt(t).bigHour = !0;
30314
30314
  });
30315
30315
  Et("hmmss", function(n, e, t) {
30316
30316
  var r = n.length - 4, i = n.length - 2;
30317
- e[Yt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r, 2)), e[qr] = ut(n.substr(i)), nt(t).bigHour = !0;
30317
+ e[qt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r, 2)), e[qr] = ut(n.substr(i)), nt(t).bigHour = !0;
30318
30318
  });
30319
30319
  Et("Hmm", function(n, e, t) {
30320
30320
  var r = n.length - 2;
30321
- e[Yt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r));
30321
+ e[qt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r));
30322
30322
  });
30323
30323
  Et("Hmmss", function(n, e, t) {
30324
30324
  var r = n.length - 4, i = n.length - 2;
30325
- e[Yt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r, 2)), e[qr] = ut(n.substr(i));
30325
+ e[qt] = ut(n.substr(0, r)), e[or] = ut(n.substr(r, 2)), e[qr] = ut(n.substr(i));
30326
30326
  });
30327
30327
  function Vx(n) {
30328
30328
  return (n + "").toLowerCase().charAt(0) === "p";
@@ -30436,7 +30436,7 @@ function Jx() {
30436
30436
  }
30437
30437
  function eh(n) {
30438
30438
  var e, t = n._a;
30439
- return t && nt(n).overflow === -2 && (e = t[Gr] < 0 || t[Gr] > 11 ? Gr : t[Sr] < 1 || t[Sr] > Kd(t[hn], t[Gr]) ? Sr : t[Yt] < 0 || t[Yt] > 24 || t[Yt] === 24 && (t[or] !== 0 || t[qr] !== 0 || t[Pi] !== 0) ? Yt : t[or] < 0 || t[or] > 59 ? or : t[qr] < 0 || t[qr] > 59 ? qr : t[Pi] < 0 || t[Pi] > 999 ? Pi : -1, nt(n)._overflowDayOfYear && (e < hn || e > Sr) && (e = Sr), nt(n)._overflowWeeks && e === -1 && (e = ex), nt(n)._overflowWeekday && e === -1 && (e = tx), nt(n).overflow = e), n;
30439
+ return t && nt(n).overflow === -2 && (e = t[Gr] < 0 || t[Gr] > 11 ? Gr : t[Sr] < 1 || t[Sr] > Kd(t[hn], t[Gr]) ? Sr : t[qt] < 0 || t[qt] > 24 || t[qt] === 24 && (t[or] !== 0 || t[qr] !== 0 || t[Pi] !== 0) ? qt : t[or] < 0 || t[or] > 59 ? or : t[qr] < 0 || t[qr] > 59 ? qr : t[Pi] < 0 || t[Pi] > 999 ? Pi : -1, nt(n)._overflowDayOfYear && (e < hn || e > Sr) && (e = Sr), nt(n)._overflowWeeks && e === -1 && (e = ex), nt(n)._overflowWeekday && e === -1 && (e = tx), nt(n).overflow = e), n;
30440
30440
  }
30441
30441
  var Zx = /^\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)?)?$/, Xx = /^\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)?)?$/, Qx = /Z|[+-]\d\d(?::?\d\d)?/, Ga = [
30442
30442
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
@@ -30605,10 +30605,10 @@ function th(n) {
30605
30605
  n._a[e] = r[e] = i[e];
30606
30606
  for (; e < 7; e++)
30607
30607
  n._a[e] = r[e] = n._a[e] == null ? e === 2 ? 1 : 0 : n._a[e];
30608
- n._a[Yt] === 24 && n._a[or] === 0 && n._a[qr] === 0 && n._a[Pi] === 0 && (n._nextDay = !0, n._a[Yt] = 0), n._d = (n._useUTC ? Vs : gx).apply(
30608
+ n._a[qt] === 24 && n._a[or] === 0 && n._a[qr] === 0 && n._a[Pi] === 0 && (n._nextDay = !0, n._a[qt] = 0), n._d = (n._useUTC ? Vs : gx).apply(
30609
30609
  null,
30610
30610
  r
30611
- ), o = n._useUTC ? n._d.getUTCDay() : n._d.getDay(), n._tzm != null && n._d.setUTCMinutes(n._d.getUTCMinutes() - n._tzm), n._nextDay && (n._a[Yt] = 24), n._w && typeof n._w.d < "u" && n._w.d !== o && (nt(n).weekdayMismatch = !0);
30611
+ ), o = n._useUTC ? n._d.getUTCDay() : n._d.getDay(), n._tzm != null && n._d.setUTCMinutes(n._d.getUTCMinutes() - n._tzm), n._nextDay && (n._a[qt] = 24), n._w && typeof n._w.d < "u" && n._w.d !== o && (nt(n).weekdayMismatch = !0);
30612
30612
  }
30613
30613
  }
30614
30614
  function cC(n) {
@@ -30638,9 +30638,9 @@ function nh(n) {
30638
30638
  o = i[t], r = (e.match(ZT(o, n)) || [])[0], r && (a = e.substr(0, e.indexOf(r)), a.length > 0 && nt(n).unusedInput.push(a), e = e.slice(
30639
30639
  e.indexOf(r) + r.length
30640
30640
  ), s += r.length), Ao[o] ? (r ? nt(n).empty = !1 : nt(n).unusedTokens.push(o), QT(o, r, n)) : n._strict && !r && nt(n).unusedTokens.push(o);
30641
- nt(n).charsLeftOver = h - s, e.length > 0 && nt(n).unusedInput.push(e), n._a[Yt] <= 12 && nt(n).bigHour === !0 && n._a[Yt] > 0 && (nt(n).bigHour = void 0), nt(n).parsedDateParts = n._a.slice(0), nt(n).meridiem = n._meridiem, n._a[Yt] = fC(
30641
+ nt(n).charsLeftOver = h - s, e.length > 0 && nt(n).unusedInput.push(e), n._a[qt] <= 12 && nt(n).bigHour === !0 && n._a[qt] > 0 && (nt(n).bigHour = void 0), nt(n).parsedDateParts = n._a.slice(0), nt(n).meridiem = n._meridiem, n._a[qt] = fC(
30642
30642
  n._locale,
30643
- n._a[Yt],
30643
+ n._a[qt],
30644
30644
  n._meridiem
30645
30645
  ), p = nt(n).era, p !== null && (n._a[hn] = n._locale.erasConvertYear(p, n._a[hn])), th(n), eh(n);
30646
30646
  }
@@ -30864,7 +30864,7 @@ function dr(n, e) {
30864
30864
  } : Qr(n) || !isNaN(+n) ? (t = {}, e ? t[e] = +n : t.milliseconds = +n) : (r = PC.exec(n)) ? (i = r[1] === "-" ? -1 : 1, t = {
30865
30865
  y: 0,
30866
30866
  d: ut(r[Sr]) * i,
30867
- h: ut(r[Yt]) * i,
30867
+ h: ut(r[qt]) * i,
30868
30868
  m: ut(r[or]) * i,
30869
30869
  s: ut(r[qr]) * i,
30870
30870
  ms: ut(Bf(r[Pi] * 1e3)) * i
@@ -32875,7 +32875,7 @@ function lh(n, e) {
32875
32875
  }
32876
32876
  function m$(n) {
32877
32877
  if (!ks(n))
32878
- return qt(n);
32878
+ return tn(n);
32879
32879
  const e = new Proxy({}, {
32880
32880
  get(t, r, i) {
32881
32881
  return W(Reflect.get(n.value, r, i));
@@ -32899,7 +32899,7 @@ function m$(n) {
32899
32899
  };
32900
32900
  }
32901
32901
  });
32902
- return qt(e);
32902
+ return tn(e);
32903
32903
  }
32904
32904
  function Tu(n) {
32905
32905
  return m$(me(n));
@@ -32984,7 +32984,7 @@ function T$(n, e, t = {}) {
32984
32984
  ), pause: a, resume: h, isActive: s };
32985
32985
  }
32986
32986
  function x$(n, e = !0, t) {
32987
- S$() ? an(n, t) : e ? n() : Kt(n);
32987
+ S$() ? an(n, t) : e ? n() : Yt(n);
32988
32988
  }
32989
32989
  function C$(n, e) {
32990
32990
  return me(() => pn(
@@ -32992,7 +32992,7 @@ function C$(n, e) {
32992
32992
  ));
32993
32993
  }
32994
32994
  function k$(n, e, t) {
32995
- const r = Ge(n, (...i) => (Kt(() => r()), e(...i)), t);
32995
+ const r = Ge(n, (...i) => (Yt(() => r()), e(...i)), t);
32996
32996
  return r;
32997
32997
  }
32998
32998
  function kb(n) {
@@ -33226,7 +33226,7 @@ function N$(n, e, t, r = {}) {
33226
33226
  } catch ($) {
33227
33227
  f($);
33228
33228
  } finally {
33229
- O ? Kt(b) : b();
33229
+ O ? Yt(b) : b();
33230
33230
  }
33231
33231
  }
33232
33232
  }
@@ -36183,7 +36183,7 @@ const YD = ["innerHTML"], KD = { class: "tw-flex tw-flex-nowrap tw-items-start t
36183
36183
  t.options && typeof t.options == "function" ? g.value = (await t.options()).results : g.value = t.options, d.value = void 0;
36184
36184
  };
36185
36185
  async function H() {
36186
- t.disabled || (h.value ? F() : (h.value = !0, Kt(() => {
36186
+ t.disabled || (h.value ? F() : (h.value = !0, Yt(() => {
36187
36187
  s?.value?.focus();
36188
36188
  })));
36189
36189
  }
@@ -36589,7 +36589,7 @@ var b2 = {
36589
36589
  typeof setTimeout > "u" || clearTimeout(n);
36590
36590
  }
36591
36591
  };
36592
- function Xt() {
36592
+ function Zt() {
36593
36593
  var n = typeof window < "u" ? window : {};
36594
36594
  return Dh(n, b2), n;
36595
36595
  }
@@ -36701,7 +36701,7 @@ function x2(n, e) {
36701
36701
  return t;
36702
36702
  }
36703
36703
  function He(n, e) {
36704
- var t = Xt(), r = In(), i = [];
36704
+ var t = Zt(), r = In(), i = [];
36705
36705
  if (!e && n instanceof hi)
36706
36706
  return n;
36707
36707
  if (!n)
@@ -36857,7 +36857,7 @@ function P2() {
36857
36857
  return this;
36858
36858
  }
36859
36859
  function D2() {
36860
- for (var n = Xt(), e = arguments.length, t = new Array(e), r = 0; r < e; r++)
36860
+ for (var n = Zt(), e = arguments.length, t = new Array(e), r = 0; r < e; r++)
36861
36861
  t[r] = arguments[r];
36862
36862
  for (var i = t[0].split(" "), o = t[1], a = 0; a < i.length; a += 1)
36863
36863
  for (var h = i[a], s = 0; s < this.length; s += 1) {
@@ -36904,7 +36904,7 @@ function j2(n) {
36904
36904
  }
36905
36905
  function U2() {
36906
36906
  if (this.length > 0) {
36907
- var n = Xt(), e = In(), t = this[0], r = t.getBoundingClientRect(), i = e.body, o = t.clientTop || i.clientTop || 0, a = t.clientLeft || i.clientLeft || 0, h = t === n ? n.scrollY : t.scrollTop, s = t === n ? n.scrollX : t.scrollLeft;
36907
+ var n = Zt(), e = In(), t = this[0], r = t.getBoundingClientRect(), i = e.body, o = t.clientTop || i.clientTop || 0, a = t.clientLeft || i.clientLeft || 0, h = t === n ? n.scrollY : t.scrollTop, s = t === n ? n.scrollX : t.scrollLeft;
36908
36908
  return {
36909
36909
  top: r.top + h - o,
36910
36910
  left: r.left + s - a
@@ -36913,11 +36913,11 @@ function U2() {
36913
36913
  return null;
36914
36914
  }
36915
36915
  function V2() {
36916
- var n = Xt();
36916
+ var n = Zt();
36917
36917
  return this[0] ? n.getComputedStyle(this[0], null) : {};
36918
36918
  }
36919
36919
  function H2(n, e) {
36920
- var t = Xt(), r;
36920
+ var t = Zt(), r;
36921
36921
  if (arguments.length === 1)
36922
36922
  if (typeof n == "string") {
36923
36923
  if (this[0])
@@ -36959,7 +36959,7 @@ function q2(n) {
36959
36959
  return this;
36960
36960
  }
36961
36961
  function Y2(n) {
36962
- var e = Xt(), t = In(), r = this[0], i, o;
36962
+ var e = Zt(), t = In(), r = this[0], i, o;
36963
36963
  if (!r || typeof n > "u")
36964
36964
  return !1;
36965
36965
  if (typeof n == "string") {
@@ -37162,12 +37162,12 @@ function yi() {
37162
37162
  return Date.now();
37163
37163
  }
37164
37164
  function cF(n) {
37165
- var e = Xt(), t;
37165
+ var e = Zt(), t;
37166
37166
  return e.getComputedStyle && (t = e.getComputedStyle(n, null)), !t && n.currentStyle && (t = n.currentStyle), t || (t = n.style), t;
37167
37167
  }
37168
37168
  function fF(n, e) {
37169
37169
  e === void 0 && (e = "x");
37170
- var t = Xt(), r, i, o, a = cF(n);
37170
+ var t = Zt(), r, i, o, a = cF(n);
37171
37171
  return t.WebKitCSSMatrix ? (i = a.transform || a.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map(function(h) {
37172
37172
  return h.replace(",", ".");
37173
37173
  }).join(", ")), o = new t.WebKitCSSMatrix(i === "none" ? "" : i)) : (o = a.MozTransform || a.OTransform || a.MsTransform || a.msTransform || a.transform || a.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = o.toString().split(",")), e === "x" && (t.WebKitCSSMatrix ? i = o.m41 : r.length === 16 ? i = parseFloat(r[12]) : i = parseFloat(r[4])), e === "y" && (t.WebKitCSSMatrix ? i = o.m42 : r.length === 16 ? i = parseFloat(r[13]) : i = parseFloat(r[5])), i || 0;
@@ -37209,7 +37209,7 @@ function hF(n, e, t, r) {
37209
37209
  }
37210
37210
  var Yc;
37211
37211
  function pF() {
37212
- var n = Xt(), e = In();
37212
+ var n = Zt(), e = In();
37213
37213
  return {
37214
37214
  touch: !!("ontouchstart" in n || n.DocumentTouch && e instanceof n.DocumentTouch),
37215
37215
  pointerEvents: !!n.PointerEvent && "maxTouchPoints" in n.navigator && n.navigator.maxTouchPoints >= 0,
@@ -37240,7 +37240,7 @@ function Lw() {
37240
37240
  }
37241
37241
  var Kc;
37242
37242
  function mF(n) {
37243
- var e = n === void 0 ? {} : n, t = e.userAgent, r = Lw(), i = Xt(), o = i.navigator.platform, a = t || i.navigator.userAgent, h = {
37243
+ var e = n === void 0 ? {} : n, t = e.userAgent, r = Lw(), i = Zt(), o = i.navigator.platform, a = t || i.navigator.userAgent, h = {
37244
37244
  ios: !1,
37245
37245
  android: !1
37246
37246
  }, s = i.screen.width, p = i.screen.height, c = a.match(/(Android);?[\s\/]+([\d.]+)?/), l = a.match(/(iPad).*OS\s([\d_]+)/), u = a.match(/(iPod)(.*OS\s([\d_]+))?/), f = !l && a.match(/(iPhone\sOS|iOS)\s([\d_]+)/), d = o === "Win32", m = o === "MacIntel", g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
@@ -37251,7 +37251,7 @@ function gF(n) {
37251
37251
  }
37252
37252
  var Jc;
37253
37253
  function vF() {
37254
- var n = Xt();
37254
+ var n = Zt();
37255
37255
  function e() {
37256
37256
  var t = n.navigator.userAgent.toLowerCase();
37257
37257
  return t.indexOf("safari") >= 0 && t.indexOf("chrome") < 0 && t.indexOf("android") < 0;
@@ -37266,7 +37266,7 @@ function yF() {
37266
37266
  return Jc || (Jc = vF()), Jc;
37267
37267
  }
37268
37268
  var bF = function() {
37269
- var e = Xt();
37269
+ var e = Zt();
37270
37270
  return typeof e.ResizeObserver < "u";
37271
37271
  };
37272
37272
  const wF = {
@@ -37299,7 +37299,7 @@ const wF = {
37299
37299
  },
37300
37300
  on: {
37301
37301
  init: function(e) {
37302
- var t = Xt();
37302
+ var t = Zt();
37303
37303
  if (e.params.resizeObserver && bF()) {
37304
37304
  e.resize.createObserver();
37305
37305
  return;
@@ -37307,7 +37307,7 @@ const wF = {
37307
37307
  t.addEventListener("resize", e.resize.resizeHandler), t.addEventListener("orientationchange", e.resize.orientationChangeHandler);
37308
37308
  },
37309
37309
  destroy: function(e) {
37310
- var t = Xt();
37310
+ var t = Zt();
37311
37311
  e.resize.removeObserver(), t.removeEventListener("resize", e.resize.resizeHandler), t.removeEventListener("orientationchange", e.resize.orientationChangeHandler);
37312
37312
  }
37313
37313
  }
@@ -37325,7 +37325,7 @@ function id() {
37325
37325
  var _F = {
37326
37326
  attach: function(e, t) {
37327
37327
  t === void 0 && (t = {});
37328
- var r = Xt(), i = this, o = r.MutationObserver || r.WebkitMutationObserver, a = new o(function(h) {
37328
+ var r = Zt(), i = this, o = r.MutationObserver || r.WebkitMutationObserver, a = new o(function(h) {
37329
37329
  if (h.length === 1) {
37330
37330
  i.emit("observerUpdate", h[0]);
37331
37331
  return;
@@ -38085,7 +38085,7 @@ const fB = {
38085
38085
  function dB(n, e) {
38086
38086
  e === void 0 && (e = this);
38087
38087
  function t(r) {
38088
- if (!r || r === In() || r === Xt())
38088
+ if (!r || r === In() || r === Zt())
38089
38089
  return null;
38090
38090
  r.assignedSlot && (r = r.assignedSlot);
38091
38091
  var i = r.closest(n);
@@ -38094,7 +38094,7 @@ function dB(n, e) {
38094
38094
  return t(e);
38095
38095
  }
38096
38096
  function hB(n) {
38097
- var e = this, t = In(), r = Xt(), i = e.touchEventsData, o = e.params, a = e.touches, h = e.enabled;
38097
+ var e = this, t = In(), r = Zt(), i = e.touchEventsData, o = e.params, a = e.touches, h = e.enabled;
38098
38098
  if (h && !(e.animating && o.preventInteractionOnTransition)) {
38099
38099
  var s = n;
38100
38100
  s.originalEvent && (s = s.originalEvent);
@@ -38397,7 +38397,7 @@ function SB() {
38397
38397
  }
38398
38398
  function EB(n, e, t) {
38399
38399
  if (e === void 0 && (e = "window"), !(!n || e === "container" && !t)) {
38400
- var r = !1, i = Xt(), o = e === "window" ? i.innerHeight : t.clientHeight, a = Object.keys(n).map(function(l) {
38400
+ var r = !1, i = Zt(), o = e === "window" ? i.innerHeight : t.clientHeight, a = Object.keys(n).map(function(l) {
38401
38401
  if (typeof l == "string" && l.indexOf("@") === 0) {
38402
38402
  var u = parseFloat(l.substr(1)), f = o * u;
38403
38403
  return {
@@ -38463,7 +38463,7 @@ const kB = {
38463
38463
  removeClasses: CB
38464
38464
  };
38465
38465
  function OB(n, e, t, r, i, o) {
38466
- var a = Xt(), h;
38466
+ var a = Zt(), h;
38467
38467
  function s() {
38468
38468
  o && o();
38469
38469
  }
@@ -39843,7 +39843,7 @@ var WB = {
39843
39843
  paginationEl: y.value
39844
39844
  }), p.value = !1;
39845
39845
  }), Ge(s, function() {
39846
- Kt(function() {
39846
+ Yt(function() {
39847
39847
  VB(u.value);
39848
39848
  });
39849
39849
  }), an(function() {
@@ -40167,7 +40167,7 @@ const ij = {
40167
40167
  };
40168
40168
  }
40169
40169
  async function v() {
40170
- t.disabled || (s.value ? y() : (s.value = !0, Kt(() => {
40170
+ t.disabled || (s.value ? y() : (s.value = !0, Yt(() => {
40171
40171
  h?.value?.focus();
40172
40172
  })));
40173
40173
  }
@@ -46121,9 +46121,9 @@ function E4() {
46121
46121
  clearContainer: i
46122
46122
  };
46123
46123
  }
46124
- const nl = qt({ items: [] }), Vr = se([]), { clearContainer: A4, unmountComponent: T4, saveInstance: x4 } = E4();
46124
+ const nl = tn({ items: [] }), Vr = se([]), { clearContainer: A4, unmountComponent: T4, saveInstance: x4 } = E4();
46125
46125
  function wp() {
46126
- const n = qt({
46126
+ const n = tn({
46127
46127
  timeout: 3e3,
46128
46128
  pauseOnHover: !0,
46129
46129
  limit: 3
@@ -46152,20 +46152,20 @@ function wp() {
46152
46152
  const c = o(), l = G_(C4, s);
46153
46153
  l.mount(c), x4(l, c.id);
46154
46154
  }
46155
- Kt(() => {
46155
+ Yt(() => {
46156
46156
  s.updateId ? h.update(s) : h.add(s);
46157
46157
  });
46158
46158
  }
46159
46159
  const h = {
46160
46160
  add(s) {
46161
- Vr.value.find((p) => p.notificationId === s.notificationId) || Kt(() => {
46161
+ Vr.value.find((p) => p.notificationId === s.notificationId) || Yt(() => {
46162
46162
  Vr.value?.push(s), s.onOpen && typeof s?.onOpen == "function" && s.onOpen(s.payload);
46163
46163
  });
46164
46164
  },
46165
46165
  remove(s) {
46166
46166
  if (s && document.querySelector(".notification")) {
46167
46167
  let c = Vr.value.find((l) => l.notificationId === s);
46168
- mD(Vr.value, (l) => l.notificationId === s), !Vr.value.length && !t() && T4(), r(), Kt(() => {
46168
+ mD(Vr.value, (l) => l.notificationId === s), !Vr.value.length && !t() && T4(), r(), Yt(() => {
46169
46169
  c?.onClose && typeof c?.onClose == "function" && (c.onClose(c.payload), c = void 0);
46170
46170
  });
46171
46171
  }
@@ -49099,7 +49099,7 @@ function cs(n) {
49099
49099
  }
49100
49100
  async function o(c) {
49101
49101
  let l;
49102
- await Kt(), t && (l = t), i(r || c), l?.popups.push(r || c);
49102
+ await Yt(), t && (l = t), i(r || c), l?.popups.push(r || c);
49103
49103
  }
49104
49104
  function a(c) {
49105
49105
  let l;
@@ -49152,7 +49152,7 @@ function cs(n) {
49152
49152
  i(l), t.popups.push(l);
49153
49153
  }
49154
49154
  function p(c) {
49155
- return c && qt({
49155
+ return c && tn({
49156
49156
  ...xV(c),
49157
49157
  close: a,
49158
49158
  open: o
@@ -49167,12 +49167,12 @@ function cs(n) {
49167
49167
  }
49168
49168
  function xV(n) {
49169
49169
  const e = typeof n.slots > "u" ? {} : Object.fromEntries(
49170
- Object.entries(n.slots).map(([t, r]) => typeof r == "string" ? [t, r] : [t, Zt(r)])
49170
+ Object.entries(n.slots).map(([t, r]) => typeof r == "string" ? [t, r] : [t, Jt(r)])
49171
49171
  );
49172
49172
  return {
49173
49173
  ...n,
49174
49174
  slots: e,
49175
- component: Zt(nr(n.component))
49175
+ component: Jt(nr(n.component))
49176
49176
  };
49177
49177
  }
49178
49178
  const CV = { class: "change-password tw-p-3 tw-overflow-scroll" }, kV = { class: "tw-flex tw-justify-center tw-items-center tw-pt-2" }, OV = {
@@ -49184,7 +49184,7 @@ const CV = { class: "change-password tw-p-3 tw-overflow-scroll" }, kV = { class:
49184
49184
  setup(n, { emit: e }) {
49185
49185
  const t = e, { t: r } = _t({ useScope: "global" }), { changeUserPassword: i, loading: o, validatePassword: a } = Ir();
49186
49186
  Jo({ validateOnMount: !1 });
49187
- const h = ra(), s = ia(), p = qt({
49187
+ const h = ra(), s = ia(), p = tn({
49188
49188
  isValid: !1,
49189
49189
  errors: [],
49190
49190
  currentPassword: "",
@@ -49196,7 +49196,7 @@ const CV = { class: "change-password tw-p-3 tw-overflow-scroll" }, kV = { class:
49196
49196
  f?.succeeded ? t("close") : f?.errors && (p.errors = f?.errors, p.isValid = p.errors.length == 0);
49197
49197
  }
49198
49198
  function u() {
49199
- Kt(async () => {
49199
+ Yt(async () => {
49200
49200
  (p.password || p.confirmPassword) && (p.errors = (await a(p.password)).errors ?? [], p.confirmPassword !== p.password && p.errors.push({ code: "Repeat-password" }), p.confirmPassword === p.currentPassword && p.password === p.currentPassword && p.errors.push({ code: "Equal-passwords" }), p.isValid = p.errors.length == 0);
49201
49201
  });
49202
49202
  }
@@ -50029,7 +50029,7 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50029
50029
  tooltip: h,
50030
50030
  ...p
50031
50031
  }), L0 = ({ props: n, slots: e, options: t }) => ({
50032
- component: Zt(Bw),
50032
+ component: Jt(Bw),
50033
50033
  props: {
50034
50034
  ...gn(n),
50035
50035
  ...n
@@ -50037,7 +50037,7 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50037
50037
  options: mn(t),
50038
50038
  slots: e
50039
50039
  }), I0 = ({ props: n, slots: e, options: t }) => ({
50040
- component: Zt(Sa),
50040
+ component: Jt(Sa),
50041
50041
  props: {
50042
50042
  ...gn(n),
50043
50043
  ...n
@@ -50045,7 +50045,7 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50045
50045
  options: mn(t),
50046
50046
  slots: e
50047
50047
  }), R0 = ({ props: n, slots: e, options: t }) => ({
50048
- component: Zt(Ov),
50048
+ component: Jt(Ov),
50049
50049
  props: {
50050
50050
  ...gn(n),
50051
50051
  ...n
@@ -50053,7 +50053,7 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50053
50053
  options: mn(t),
50054
50054
  slots: e
50055
50055
  }), xp = ({ props: n, options: e, slots: t }) => ({
50056
- component: Zt(Nn),
50056
+ component: Jt(Nn),
50057
50057
  props: {
50058
50058
  ...gn(n),
50059
50059
  ...n
@@ -50061,42 +50061,42 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50061
50061
  options: mn(e),
50062
50062
  slots: t
50063
50063
  }), M0 = ({ props: n, options: e }) => ({
50064
- component: Zt(Fu),
50064
+ component: Jt(Fu),
50065
50065
  props: {
50066
50066
  ...gn(n),
50067
50067
  ...n
50068
50068
  },
50069
50069
  options: mn(e)
50070
50070
  }), N0 = ({ props: n, options: e }) => ({
50071
- component: Zt(jw),
50071
+ component: Jt(jw),
50072
50072
  props: {
50073
50073
  ...gn(n),
50074
50074
  ...n
50075
50075
  },
50076
50076
  options: mn(e)
50077
50077
  }), P0 = ({ props: n, options: e }) => ({
50078
- component: Zt(oa),
50078
+ component: Jt(oa),
50079
50079
  props: {
50080
50080
  ...gn(n),
50081
50081
  ...n
50082
50082
  },
50083
50083
  options: mn(e)
50084
50084
  }), D0 = ({ props: n, options: e }) => ({
50085
- component: Zt($v),
50085
+ component: Jt($v),
50086
50086
  props: {
50087
50087
  ...gn(n),
50088
50088
  ...n
50089
50089
  },
50090
50090
  options: mn(e)
50091
50091
  }), F0 = ({ props: n, options: e }) => ({
50092
- component: Zt(Sb),
50092
+ component: Jt(Sb),
50093
50093
  props: {
50094
50094
  ...gn(n),
50095
50095
  ...n
50096
50096
  },
50097
50097
  options: mn(e)
50098
50098
  }), B0 = ({ props: n, options: e, slots: t }) => ({
50099
- component: Zt(kv),
50099
+ component: Jt(kv),
50100
50100
  props: {
50101
50101
  ...n,
50102
50102
  ...gn(n)
@@ -50104,28 +50104,28 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50104
50104
  options: mn(e),
50105
50105
  slots: t
50106
50106
  }), j0 = ({ props: n, options: e }) => ({
50107
- component: Zt(O_),
50107
+ component: Jt(O_),
50108
50108
  props: {
50109
50109
  ...n,
50110
50110
  ...gn(n)
50111
50111
  },
50112
50112
  options: mn(e)
50113
50113
  }), U0 = ({ props: n, options: e }) => ({
50114
- component: Zt(Yv),
50114
+ component: Jt(Yv),
50115
50115
  props: {
50116
50116
  ...gn(n),
50117
50117
  ...n
50118
50118
  },
50119
50119
  options: mn(e)
50120
50120
  }), V0 = ({ props: n, options: e }) => ({
50121
- component: Zt($_),
50121
+ component: Jt($_),
50122
50122
  props: {
50123
50123
  ...gn(n),
50124
50124
  ...n
50125
50125
  },
50126
50126
  options: mn(e)
50127
50127
  }), Cp = ({ props: n, options: e, slots: t }) => ({
50128
- component: Zt(Ms),
50128
+ component: Jt(Ms),
50129
50129
  props: {
50130
50130
  ...gn(n),
50131
50131
  ...n
@@ -50133,7 +50133,7 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50133
50133
  options: mn(e),
50134
50134
  slots: t
50135
50135
  }), H0 = ({ props: n, options: e, slots: t }) => ({
50136
- component: Zt(On),
50136
+ component: Jt(On),
50137
50137
  props: {
50138
50138
  ...gn(n),
50139
50139
  ...n
@@ -50166,7 +50166,7 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50166
50166
  TextareaField: M0,
50167
50167
  VideoField: D0
50168
50168
  }, Symbol.toStringTag, { value: "Module" })), xH = (n) => {
50169
- const e = n.load, t = n.data, r = se(!0), i = qt({}), o = se([]), a = se({}), h = me(() => Object.values(a.value).filter((_) => !!_).length), s = me(() => !Object.keys(i).length || bg(i, qc)), p = me(() => !Object.keys(a.value).length || bg(a.value, qc));
50169
+ const e = n.load, t = n.data, r = se(!0), i = tn({}), o = se([]), a = se({}), h = me(() => Object.values(a.value).filter((_) => !!_).length), s = me(() => !Object.keys(i).length || bg(i, qc)), p = me(() => !Object.keys(a.value).length || bg(a.value, qc));
50170
50170
  an(() => u());
50171
50171
  function c(_, b) {
50172
50172
  const w = i[b];
@@ -50385,7 +50385,7 @@ const tH = eH, nH = { class: "tw-w-full tw-h-full tw-box-border tw-flex tw-flex-
50385
50385
  return Se;
50386
50386
  }), x = r.composables && me(() => ({
50387
50387
  columns: C(b?.value?.columns)
50388
- })), L = qt({
50388
+ })), L = tn({
50389
50389
  tableData: b,
50390
50390
  table: x,
50391
50391
  templateOverrideComponents: ie(),
@@ -51128,14 +51128,14 @@ const jH = {
51128
51128
  };
51129
51129
  }
51130
51130
  };
51131
- function Qt(n, e) {
51131
+ function Xt(n, e) {
51132
51132
  return n in e;
51133
51133
  }
51134
51134
  const VH = {
51135
51135
  name: "GalleryField",
51136
51136
  props: vn,
51137
51137
  setup(n) {
51138
- if (!(Qt("bladeContext", n) && n.bladeContext && Qt("scope", n.bladeContext) && n.bladeContext.scope && n.bladeContext.scope.assetsHandler?.images))
51138
+ if (!(Xt("bladeContext", n) && n.bladeContext && Xt("scope", n.bladeContext) && n.bladeContext.scope && n.bladeContext.scope.assetsHandler?.images))
51139
51139
  throw new Error(
51140
51140
  `There is no assetsHandler.images config provided in blade scope: ${JSON.stringify(
51141
51141
  n.bladeContext.scope,
@@ -51185,7 +51185,7 @@ const VH = {
51185
51185
  };
51186
51186
  function h(c) {
51187
51187
  r({
51188
- blade: Zt(o0),
51188
+ blade: Jt(o0),
51189
51189
  options: {
51190
51190
  asset: c,
51191
51191
  assetEditHandler: a.edit,
@@ -51429,17 +51429,17 @@ function Qs({
51429
51429
  }) {
51430
51430
  if (!n)
51431
51431
  throw new Error("There is no controlSchema provided");
51432
- const a = n.id, h = Qt("rules", n) && n.rules || void 0, s = Qt("placeholder", n) && n.placeholder || void 0, p = Qt("rules", n) && n.rules?.required, c = Qt("property", n) && n.property && Xl(n.property, st(t)), u = Qt("property", n) && n.property && r.scope && r.scope[n.property] || c || void 0, f = Qt("tooltip", n) && n.tooltip || void 0, d = Qt("multilanguage", n) && n.multilanguage, m = Qt("label", n) && n.label ? W(ZH(n.label, st(t))) : void 0, g = r.scope && Qt("disabled", r.scope) && r.scope.disabled || Qt("disabled", n) && n.disabled && XH(n.disabled, r), v = (A) => {
51433
- if (Qt("property", n) && n.property && (qu({
51432
+ const a = n.id, h = Xt("rules", n) && n.rules || void 0, s = Xt("placeholder", n) && n.placeholder || void 0, p = Xt("rules", n) && n.rules?.required, c = Xt("property", n) && n.property && Xl(n.property, st(t)), u = Xt("property", n) && n.property && r.scope && r.scope[n.property] || c || void 0, f = Xt("tooltip", n) && n.tooltip || void 0, d = Xt("multilanguage", n) && n.multilanguage, m = Xt("label", n) && n.label ? W(ZH(n.label, st(t))) : void 0, g = r.scope && Xt("disabled", r.scope) && r.scope.disabled || Xt("disabled", n) && n.disabled && XH(n.disabled, r), v = (A) => {
51433
+ if (Xt("property", n) && n.property && (qu({
51434
51434
  property: n.property,
51435
51435
  value: A,
51436
51436
  context: st(t),
51437
51437
  scope: r.scope
51438
- }), Qt("update", n) && n.update && Qt("method", n.update) && r.scope)) {
51438
+ }), Xt("update", n) && n.update && Xt("method", n.update) && r.scope)) {
51439
51439
  const k = n.update.method;
51440
- Qt(k, r.scope) && typeof r.scope[k] == "function" && r.scope[k](A, n.property, st(t));
51440
+ Xt(k, r.scope) && typeof r.scope[k] == "function" && r.scope[k](A, n.property, st(t));
51441
51441
  }
51442
- }, y = qt({
51442
+ }, y = tn({
51443
51443
  key: `${e}`,
51444
51444
  label: m,
51445
51445
  disabled: g,
@@ -51451,14 +51451,14 @@ function Qs({
51451
51451
  "onUpdate:modelValue": v,
51452
51452
  tooltip: f,
51453
51453
  multilanguage: d
51454
- }), _ = qt({
51454
+ }), _ = tn({
51455
51455
  visibility: me(
51456
- () => Qt("visibility", n) && n.visibility?.method ? r.scope?.[n.visibility?.method] : !0
51456
+ () => Xt("visibility", n) && n.visibility?.method ? r.scope?.[n.visibility?.method] : !0
51457
51457
  )
51458
51458
  }), b = JH[n.component], w = me(() => {
51459
51459
  if (!("fields" in n))
51460
51460
  return null;
51461
- const A = Qt("property", n) && n.property && Xl(n.property, st(t)), k = st(A);
51461
+ const A = Xt("property", n) && n.property && Xl(n.property, st(t)), k = st(A);
51462
51462
  return k && Array.isArray(k) ? k.map(
51463
51463
  (O) => n.fields.map(
51464
51464
  ($) => Qs({
@@ -51475,7 +51475,7 @@ function Qs({
51475
51475
  (O) => Qs({
51476
51476
  controlSchema: O,
51477
51477
  parentId: `fieldset-${e}-${O.id}`,
51478
- internalContext: qt(W(t)),
51478
+ internalContext: t,
51479
51479
  bladeContext: r,
51480
51480
  currentLocale: i,
51481
51481
  formData: o
@@ -51490,7 +51490,7 @@ function Qs({
51490
51490
  currentLocale: W(i),
51491
51491
  fields: w,
51492
51492
  formData: o,
51493
- fieldContext: qt(W(t))
51493
+ fieldContext: tn(W(t))
51494
51494
  };
51495
51495
  return De(b, S);
51496
51496
  }
@@ -51610,7 +51610,7 @@ const QH = {
51610
51610
  if (r.model && "status" in r.model.settings && r.model.settings.status) {
51611
51611
  if (!("component" in r.model.settings.status))
51612
51612
  throw new Error(`Component is required in status: ${r.model.settings.status}`);
51613
- return qt(De(Be(r.model.settings.status.component), { context: w.value }));
51613
+ return tn(De(Be(r.model.settings.status.component), { context: w.value }));
51614
51614
  }
51615
51615
  return null;
51616
51616
  }), A = Tu(() => l && "multilanguage" in st(l) && st(l).multilanguage ? {
@@ -51632,7 +51632,7 @@ const QH = {
51632
51632
  if (typeof T == "string")
51633
51633
  return Be(T);
51634
51634
  throw new Error(`Component is required in widget: ${T}`);
51635
- })), O = qt({
51635
+ })), O = tn({
51636
51636
  multilanguage: A.component,
51637
51637
  status: S
51638
51638
  }), $ = r.composables && W0({
@@ -51672,7 +51672,7 @@ const QH = {
51672
51672
  );
51673
51673
  });
51674
51674
  async function E() {
51675
- r.param && await u({ id: r.param }), await Kt(() => {
51675
+ r.param && await u({ id: r.param }), await Yt(() => {
51676
51676
  v.value = !0;
51677
51677
  });
51678
51678
  }
@@ -52339,7 +52339,7 @@ const bG = (n, e) => {
52339
52339
  },
52340
52340
  setup(n) {
52341
52341
  Jo({ validateOnMount: !1 });
52342
- const e = n, { validateToken: t, validatePassword: r, resetPasswordByToken: i, signIn: o, loading: a } = Ir(), h = Xo(), { t: s } = _t({ useScope: "global" }), p = ra(), c = ia(), l = qt({
52342
+ const e = n, { validateToken: t, validatePassword: r, resetPasswordByToken: i, signIn: o, loading: a } = Ir(), h = Xo(), { t: s } = _t({ useScope: "global" }), p = ra(), c = ia(), l = tn({
52343
52343
  isValid: !1,
52344
52344
  tokenIsValid: !1,
52345
52345
  errors: [],
@@ -52507,10 +52507,10 @@ const bG = (n, e) => {
52507
52507
  return $G;
52508
52508
  }, w = me(() => ({
52509
52509
  logo: i.value ? "" : r.value?.logo || e.logo
52510
- })), S = me(() => !g.value || !m.value), A = qt({
52510
+ })), S = me(() => !g.value || !m.value), A = tn({
52511
52511
  username: "",
52512
52512
  password: ""
52513
- }), k = qt({
52513
+ }), k = tn({
52514
52514
  loginOrEmail: ""
52515
52515
  }), O = async () => {
52516
52516
  m.value && (h.value = await c(A.username, A.password), h.value.succeeded ? await t.push("/") : h.value.status ? h.value.status === 401 ? h.value.error = "The login or password is incorrect." : h.value.error = "Authentication error (code: " + h.value.status + ")." : h.value.error = "Authentication error: " + h.value.error);
@@ -52749,7 +52749,7 @@ const VG = UG, HG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
52749
52749
  token: {}
52750
52750
  },
52751
52751
  setup(n) {
52752
- const e = n, { validateToken: t, validatePassword: r, resetPasswordByToken: i, signIn: o, loading: a } = Ir(), h = Xo(), { t: s } = _t({ useScope: "global" }), { validate: p } = Jo({ validateOnMount: !1 }), c = qt({
52752
+ const e = n, { validateToken: t, validatePassword: r, resetPasswordByToken: i, signIn: o, loading: a } = Ir(), h = Xo(), { t: s } = _t({ useScope: "global" }), { validate: p } = Jo({ validateOnMount: !1 }), c = tn({
52753
52753
  isValid: !1,
52754
52754
  tokenIsValid: !1,
52755
52755
  errors: [],
@@ -52904,7 +52904,7 @@ const VG = UG, HG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
52904
52904
  return Ge(
52905
52905
  () => t,
52906
52906
  async (o) => {
52907
- await Kt(() => {
52907
+ await Yt(() => {
52908
52908
  r.value = Object.values(o.value?.instances || {})[0]?.title, i.value = Object.values(o.value?.components || {}).length;
52909
52909
  });
52910
52910
  },
@@ -53382,7 +53382,7 @@ const E8 = ["title"], A8 = {
53382
53382
  t.dropdownItems?.length ? u() : r("click");
53383
53383
  }
53384
53384
  function u() {
53385
- t.dropdownItems?.length && (a.value ? a.value = !1 : (a.value = !0, Kt(() => {
53385
+ t.dropdownItems?.length && (a.value ? a.value = !1 : (a.value = !0, Yt(() => {
53386
53386
  Du(h.value, p.value, {
53387
53387
  placement: "bottom",
53388
53388
  middleware: [wa(10)]
@@ -53504,7 +53504,7 @@ const O8 = {
53504
53504
  },
53505
53505
  emits: ["close", "expand", "collapse"],
53506
53506
  setup(n) {
53507
- const e = Z_(), { maximized: t, error: r } = Yo(qt(e)), { t: i } = _t({ useScope: "global" }), { open: o } = cs({
53507
+ const e = Z_(), { maximized: t, error: r } = Yo(tn(e)), { t: i } = _t({ useScope: "global" }), { open: o } = cs({
53508
53508
  component: Go,
53509
53509
  props: {
53510
53510
  type: "error",
@@ -54343,7 +54343,7 @@ const m6 = { class: "tw-relative tw-overflow-visible" }, g6 = {
54343
54343
  left: `${o.value?.x ?? 0}px`
54344
54344
  }));
54345
54345
  function h(p) {
54346
- t.value = !t.value, p || t.value && Kt(() => {
54346
+ t.value = !t.value, p || t.value && Yt(() => {
54347
54347
  r.value && i.value && Du(r.value, i.value, {
54348
54348
  placement: "bottom-end",
54349
54349
  middleware: [wa(10)]
@@ -54847,7 +54847,7 @@ const R6 = { class: "tw-text-[#a5a5a5] tw-text-xs" }, M6 = { key: 1 }, N6 = {
54847
54847
  }
54848
54848
  f.value = oe.id;
54849
54849
  const Ye = g.value.find((Qe) => Qe.id === Te)?.element, Ce = o.value.find((Qe) => Qe.id === Te)?.element, at = a.value?.find((Qe) => Qe.id === Te)?.element;
54850
- Ye && Ce && at && Kt(() => {
54850
+ Ye && Ce && at && Yt(() => {
54851
54851
  Du(Ye, Ce, {
54852
54852
  placement: "bottom",
54853
54853
  middleware: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.135",
3
+ "version": "1.0.136",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -52,9 +52,9 @@
52
52
  "whatwg-fetch": "^3.6.19"
53
53
  },
54
54
  "devDependencies": {
55
- "@vc-shell/api-client-generator": "^1.0.135",
56
- "@vc-shell/config-generator": "^1.0.135",
57
- "@vc-shell/ts-config": "^1.0.135",
55
+ "@vc-shell/api-client-generator": "^1.0.136",
56
+ "@vc-shell/config-generator": "^1.0.136",
57
+ "@vc-shell/ts-config": "^1.0.136",
58
58
  "@vitejs/plugin-vue": "^5.0.0",
59
59
  "sass": "^1.69.6",
60
60
  "typescript": "5.3.3",
@@ -151,7 +151,7 @@ function nodeBuilder<
151
151
  nodeBuilder({
152
152
  controlSchema: field,
153
153
  parentId: `fieldset-${parentId}-${field.id}`,
154
- internalContext: reactive(unref(internalContext)),
154
+ internalContext,
155
155
  bladeContext,
156
156
  currentLocale,
157
157
  formData,