@vc-shell/framework 1.0.202 → 1.0.203

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.203](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.202...v1.0.203) (2024-04-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * error fix ([2a106ba](https://github.com/VirtoCommerce/vc-shell/commit/2a106ba9ed958d6b1081d4c5c65324260b80f13a))
7
+
8
+
9
+
1
10
  ## [1.0.202](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.200...v1.0.202) (2024-04-25)
2
11
 
3
12
 
package/dist/framework.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Fe, openBlock as k, createElementBlock as q, normalizeClass as He, renderSlot as Ge, computed as se, createBlock as Ne, unref as D, createCommentVNode as ae, ref as z, watch as et, createElementVNode as X, toDisplayString as me, createVNode as ue, Transition as ud, withCtx as ve, withDirectives as vn, vShow as Tu, shallowRef as br, getCurrentScope as e1, onScopeDispose as t1, shallowReadonly as aa, Teleport as zs, normalizeStyle as Yt, createSlots as wr, createTextVNode as Ye, vModelCheckbox as pC, onMounted as xt, nextTick as An, Fragment as nt, renderList as St, isRef as Eo, reactive as hn, toRef as n1, readonly as cd, customRef as wv, effectScope as r1, toRefs as bi, getCurrentInstance as Hn, onUpdated as Wa, onBeforeUpdate as Tv, watchEffect as Xr, toValue as ze, mergeProps as Qt, onBeforeUnmount as Su, h as De, inject as Jt, onUnmounted as $r, onBeforeMount as fd, Text as mC, resolveDirective as Au, withModifiers as yt, vModelDynamic as i1, version as vC, normalizeProps as tf, guardReactiveProps as s1, resolveComponent as Je, withKeys as dd, onErrorCaptured as gC, createApp as bC, provide as yr, isVNode as o1, warn as yC, resolveDynamicComponent as as, shallowReactive as EC, cloneVNode as _C, markRaw as gn, watchPostEffect as wC, useSlots as TC, useAttrs as SC } from "vue";
1
+ import { defineComponent as Fe, openBlock as k, createElementBlock as q, normalizeClass as He, renderSlot as Ge, computed as se, createBlock as Ne, unref as D, createCommentVNode as ae, ref as z, watch as et, createElementVNode as X, toDisplayString as me, createVNode as ue, Transition as ud, withCtx as ve, withDirectives as vn, vShow as Tu, shallowRef as br, getCurrentScope as e1, onScopeDispose as t1, shallowReadonly as aa, Teleport as zs, normalizeStyle as Yt, createSlots as wr, createTextVNode as ze, vModelCheckbox as pC, onMounted as xt, nextTick as An, Fragment as nt, renderList as St, isRef as Eo, reactive as hn, toRef as n1, readonly as cd, customRef as wv, effectScope as r1, toRefs as bi, getCurrentInstance as Hn, onUpdated as Wa, onBeforeUpdate as Tv, watchEffect as Xr, toValue as Ye, mergeProps as Qt, onBeforeUnmount as Su, h as De, inject as Jt, onUnmounted as $r, onBeforeMount as fd, Text as mC, resolveDirective as Au, withModifiers as yt, vModelDynamic as i1, version as vC, normalizeProps as tf, guardReactiveProps as s1, resolveComponent as Je, withKeys as dd, onErrorCaptured as gC, createApp as bC, provide as yr, isVNode as o1, warn as yC, resolveDynamicComponent as as, shallowReactive as EC, cloneVNode as _C, markRaw as gn, watchPostEffect as wC, useSlots as TC, useAttrs as SC } from "vue";
2
2
  import * as AC from "vee-validate";
3
3
  import { useField as OC, useForm as Ya, useIsFormValid as Ou, useIsFormDirty as Nu, Field as Rr, validate as NC, validateObject as CC, defineRule as za } from "vee-validate";
4
4
  import { RouterView as IC, useRoute as hd, useRouter as Cu } from "vue-router";
@@ -1286,7 +1286,7 @@ const b2 = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
1286
1286
  s.tooltip ? {
1287
1287
  name: "tooltip",
1288
1288
  fn: ve(() => [
1289
- Ye(me(s.tooltip), 1)
1289
+ ze(me(s.tooltip), 1)
1290
1290
  ]),
1291
1291
  key: "0"
1292
1292
  } : void 0
@@ -1311,7 +1311,7 @@ const b2 = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
1311
1311
  s.errorMessage ? Ge(s.$slots, "error", { key: 1 }, () => [
1312
1312
  ue(D(Br), { class: "vc-checkbox__error tw-mt-1" }, {
1313
1313
  default: ve(() => [
1314
- Ye(me(s.errorMessage), 1)
1314
+ ze(me(s.errorMessage), 1)
1315
1315
  ]),
1316
1316
  _: 1
1317
1317
  })
@@ -1614,7 +1614,7 @@ const b2 = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
1614
1614
  class: "tw-mt-2 tw-w-max"
1615
1615
  }, {
1616
1616
  default: ve(() => [
1617
- Ye(me(o.tooltip), 1)
1617
+ ze(me(o.tooltip), 1)
1618
1618
  ]),
1619
1619
  _: 1
1620
1620
  })) : ae("", !0)
@@ -1646,7 +1646,7 @@ const b2 = { class: "tw-flex tw-flex-row tw-justify-between tw-items-center tw-r
1646
1646
  e.tooltip ? {
1647
1647
  name: "tooltip",
1648
1648
  fn: ve(() => [
1649
- Ye(me(e.tooltip), 1)
1649
+ ze(me(e.tooltip), 1)
1650
1650
  ]),
1651
1651
  key: "0"
1652
1652
  } : void 0
@@ -4001,7 +4001,7 @@ const YR = { key: 0 }, vw = /* @__PURE__ */ Fe({
4001
4001
  r.value = g.reverse();
4002
4002
  }
4003
4003
  function l(c) {
4004
- const d = ze(c);
4004
+ const d = Ye(c);
4005
4005
  return d ? Math.floor(d.length * 4.87) + 40 : 0;
4006
4006
  }
4007
4007
  function u() {
@@ -13388,7 +13388,7 @@ const Cw = /* @__PURE__ */ Fe({
13388
13388
  g.tooltip ? {
13389
13389
  name: "tooltip",
13390
13390
  fn: ve(() => [
13391
- Ye(me(g.tooltip), 1)
13391
+ ze(me(g.tooltip), 1)
13392
13392
  ]),
13393
13393
  key: "0"
13394
13394
  } : void 0
@@ -13412,7 +13412,7 @@ const Cw = /* @__PURE__ */ Fe({
13412
13412
  g.errorMessage ? Ge(g.$slots, "error", { key: 1 }, () => [
13413
13413
  ue(D(Br), { class: "vc-editor__error !tw-text-[color:var(--editor-border-color-error)] tw-mt-1" }, {
13414
13414
  default: ve(() => [
13415
- Ye(me(g.errorMessage), 1)
13415
+ ze(me(g.errorMessage), 1)
13416
13416
  ]),
13417
13417
  _: 1
13418
13418
  })
@@ -13423,7 +13423,7 @@ const Cw = /* @__PURE__ */ Fe({
13423
13423
  function d3(t, e) {
13424
13424
  return k(), q("form", null, [
13425
13425
  Ge(t.$slots, "default", {}, () => [
13426
- Ye("vc-form")
13426
+ ze("vc-form")
13427
13427
  ])
13428
13428
  ]);
13429
13429
  }
@@ -17261,11 +17261,11 @@ const B4 = { class: "tw-flex tw-flex-col tw-flex-1" }, U4 = { class: "tw-text-[#
17261
17261
  }, null, 8, ["icon"]),
17262
17262
  X("div", U4, [
17263
17263
  X("span", null, me(D(i)("COMPONENTS.MOLECULES.VC_FILE_UPLOAD.DRAG_HERE")), 1),
17264
- Ye("  "),
17264
+ ze("  "),
17265
17265
  j4,
17266
17266
  ue(D(_d), { onClick: h }, {
17267
17267
  default: ve(() => [
17268
- Ye(me(D(i)("COMPONENTS.MOLECULES.VC_FILE_UPLOAD.BROWSE")), 1)
17268
+ ze(me(D(i)("COMPONENTS.MOLECULES.VC_FILE_UPLOAD.BROWSE")), 1)
17269
17269
  ]),
17270
17270
  _: 1
17271
17271
  })
@@ -17286,7 +17286,7 @@ const B4 = { class: "tw-flex tw-flex-col tw-flex-1" }, U4 = { class: "tw-text-[#
17286
17286
  D(l) ? Ge(v.$slots, "error", { key: 0 }, () => [
17287
17287
  ue(D(Br), { class: "vc-input__error" }, {
17288
17288
  default: ve(() => [
17289
- Ye(me(D(l)), 1)
17289
+ ze(me(D(l)), 1)
17290
17290
  ]),
17291
17291
  _: 1
17292
17292
  })
@@ -19990,7 +19990,7 @@ const q$ = { class: "tw-flex tw-flex-nowrap tw-items-start" }, G$ = { class: "tw
19990
19990
  p.tooltip ? {
19991
19991
  name: "tooltip",
19992
19992
  fn: ve(() => [
19993
- Ye(me(p.tooltip), 1)
19993
+ ze(me(p.tooltip), 1)
19994
19994
  ]),
19995
19995
  key: "0"
19996
19996
  } : void 0
@@ -20088,7 +20088,7 @@ const q$ = { class: "tw-flex tw-flex-nowrap tw-items-start" }, G$ = { class: "tw
20088
20088
  class: "vc-input__error"
20089
20089
  }, {
20090
20090
  default: ve(() => [
20091
- Ye(me(p.errorMessage), 1)
20091
+ ze(me(p.errorMessage), 1)
20092
20092
  ]),
20093
20093
  _: 1
20094
20094
  })) : ae("", !0)
@@ -20100,7 +20100,7 @@ const q$ = { class: "tw-flex tw-flex-nowrap tw-items-start" }, G$ = { class: "tw
20100
20100
  class: "vc-input__desc"
20101
20101
  }, {
20102
20102
  default: ve(() => [
20103
- Ye(me(p.hint), 1)
20103
+ ze(me(p.hint), 1)
20104
20104
  ]),
20105
20105
  _: 1
20106
20106
  })) : ae("", !0)
@@ -21256,15 +21256,15 @@ const IB = ["innerHTML"], xB = { class: "tw-flex tw-flex-nowrap tw-items-start t
21256
21256
  }, null, 8, ["onClick"]))
21257
21257
  ])) : le.multiple ? ae("", !0) : (k(), q(nt, { key: 1 }, [
21258
21258
  le.loading ? (k(), q("span", qB, me(D(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : Ge(le.$slots, "selected-item", tf(Qt({ key: 1 }, F)), () => [
21259
- Ye(me(le.loading ? D(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING") : U(F.opt)), 1)
21259
+ ze(me(le.loading ? D(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING") : U(F.opt)), 1)
21260
21260
  ])
21261
21261
  ], 64))
21262
21262
  ]))), 128))
21263
21263
  ])) : ae("", !0) : (k(), q("div", UB, [
21264
21264
  le.placeholder ? (k(), q(nt, { key: 0 }, [
21265
- Ye(me(le.placeholder), 1)
21265
+ ze(me(le.placeholder), 1)
21266
21266
  ], 64)) : (k(), q(nt, { key: 1 }, [
21267
- Ye(me(D(i)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
21267
+ ze(me(D(i)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
21268
21268
  ], 64))
21269
21269
  ]))
21270
21270
  ]),
@@ -21316,7 +21316,7 @@ const IB = ["innerHTML"], xB = { class: "tw-flex tw-flex-nowrap tw-items-start t
21316
21316
  class: "tw-mt-1 tw-text-[color:var(--select-border-color-error)]"
21317
21317
  }, {
21318
21318
  default: ve(() => [
21319
- Ye(me(le.errorMessage), 1)
21319
+ ze(me(le.errorMessage), 1)
21320
21320
  ]),
21321
21321
  _: 1
21322
21322
  })) : ae("", !0)
@@ -21328,7 +21328,7 @@ const IB = ["innerHTML"], xB = { class: "tw-flex tw-flex-nowrap tw-items-start t
21328
21328
  class: "tw-text-[color:var(--select-placeholder-color)] tw-mt-1 tw-break-words tw-p-0"
21329
21329
  }, {
21330
21330
  default: ve(() => [
21331
- Ye(me(le.hint), 1)
21331
+ ze(me(le.hint), 1)
21332
21332
  ]),
21333
21333
  _: 1
21334
21334
  })) : ae("", !0)
@@ -21372,7 +21372,7 @@ const IB = ["innerHTML"], xB = { class: "tw-flex tw-flex-nowrap tw-items-start t
21372
21372
  onClick: (Oe) => F.toggleOption(F.opt)
21373
21373
  }, [
21374
21374
  Ge(le.$slots, "option", tf(s1(F)), () => [
21375
- Ye(me(F.label), 1)
21375
+ ze(me(F.label), 1)
21376
21376
  ])
21377
21377
  ], 10, tU))), 128)) : (k(), q("div", ZB, [
21378
21378
  Ge(le.$slots, "no-options", {}, () => [
@@ -24990,7 +24990,7 @@ const I9 = { class: "vc-slider tw-relative" }, x9 = { class: "vc-slider__prev tw
24990
24990
  i.errorMessage ? Ge(i.$slots, "error", { key: 1 }, () => [
24991
24991
  ue(D(Br), { class: "vc-textarea__error" }, {
24992
24992
  default: ve(() => [
24993
- Ye(me(i.errorMessage), 1)
24993
+ ze(me(i.errorMessage), 1)
24994
24994
  ]),
24995
24995
  _: 1
24996
24996
  })
@@ -25146,7 +25146,7 @@ const j9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, H9 =
25146
25146
  S.tooltip ? {
25147
25147
  name: "tooltip",
25148
25148
  fn: ve(() => [
25149
- Ye(me(S.tooltip), 1)
25149
+ ze(me(S.tooltip), 1)
25150
25150
  ]),
25151
25151
  key: "0"
25152
25152
  } : void 0
@@ -25185,7 +25185,7 @@ const j9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, H9 =
25185
25185
  onClick: yt(w, ["stop"])
25186
25186
  }, {
25187
25187
  default: ve(() => [
25188
- Ye("Add +")
25188
+ ze("Add +")
25189
25189
  ]),
25190
25190
  _: 1
25191
25191
  }, 8, ["disabled"]),
@@ -25215,7 +25215,7 @@ const j9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, H9 =
25215
25215
  onClick: (ee) => p(M)
25216
25216
  }, [
25217
25217
  Ge(S.$slots, "option", { item: M }, () => [
25218
- Ye(me(M[S.optionLabel]), 1)
25218
+ ze(me(M[S.optionLabel]), 1)
25219
25219
  ])
25220
25220
  ], 8, G9))), 128))
25221
25221
  ]),
@@ -25258,7 +25258,7 @@ const j9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, H9 =
25258
25258
  class: "vc-multivalue__error"
25259
25259
  }, {
25260
25260
  default: ve(() => [
25261
- Ye(me(S.errorMessage), 1)
25261
+ ze(me(S.errorMessage), 1)
25262
25262
  ]),
25263
25263
  _: 1
25264
25264
  })) : ae("", !0)
@@ -25270,7 +25270,7 @@ const j9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, H9 =
25270
25270
  class: "tw-text-[color:var(--multivalue-placeholder-color)] tw-mt-1 tw-break-words tw-p-0"
25271
25271
  }, {
25272
25272
  default: ve(() => [
25273
- Ye(me(S.hint), 1)
25273
+ ze(me(S.hint), 1)
25274
25274
  ]),
25275
25275
  _: 1
25276
25276
  })) : ae("", !0)
@@ -25334,7 +25334,7 @@ const j9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, H9 =
25334
25334
  onClick: n
25335
25335
  }, {
25336
25336
  default: ve(() => [
25337
- Ye(me(r.value), 1)
25337
+ ze(me(r.value), 1)
25338
25338
  ]),
25339
25339
  _: 1
25340
25340
  })
@@ -25392,7 +25392,7 @@ const j9 = { class: "tw-items-center tw-flex tw-flex-wrap tw-flex-grow" }, H9 =
25392
25392
  n.tooltip ? {
25393
25393
  name: "tooltip",
25394
25394
  fn: ve(() => [
25395
- Ye(me(n.tooltip), 1)
25395
+ ze(me(n.tooltip), 1)
25396
25396
  ]),
25397
25397
  key: "0"
25398
25398
  } : void 0
@@ -31586,7 +31586,7 @@ function Zj() {
31586
31586
  records: []
31587
31587
  });
31588
31588
  function e(s, o) {
31589
- return s && o && (ze(s.id) === ze(o.id) || ze(s.title) === ze(o.title));
31589
+ return s && o && (Ye(s.id) === Ye(o.id) || Ye(s.title) === Ye(o.title));
31590
31590
  }
31591
31591
  function n(s) {
31592
31592
  const o = t.records.findIndex((a) => a.id === s);
@@ -31786,13 +31786,13 @@ const nH = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
31786
31786
  default: ve(() => [
31787
31787
  ue(p, null, {
31788
31788
  default: ve(() => [
31789
- Ye(me(D(o)("ASSETS.PAGES.DETAILS.FIELDS.SIZE")), 1)
31789
+ ze(me(D(o)("ASSETS.PAGES.DETAILS.FIELDS.SIZE")), 1)
31790
31790
  ]),
31791
31791
  _: 1
31792
31792
  }),
31793
31793
  ue(E, { class: "tw-text-s" }, {
31794
31794
  default: ve(() => [
31795
- Ye(me(D(Bm)(a.value.size)), 1)
31795
+ ze(me(D(Bm)(a.value.size)), 1)
31796
31796
  ]),
31797
31797
  _: 1
31798
31798
  })
@@ -31803,13 +31803,13 @@ const nH = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
31803
31803
  default: ve(() => [
31804
31804
  ue(p, null, {
31805
31805
  default: ve(() => [
31806
- Ye(me(D(o)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE")), 1)
31806
+ ze(me(D(o)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE")), 1)
31807
31807
  ]),
31808
31808
  _: 1
31809
31809
  }),
31810
31810
  ue(E, { class: "tw-text-s" }, {
31811
31811
  default: ve(() => [
31812
- Ye(me(a.value.createdDate && D(Ve)(a.value.createdDate).fromNow() || "N/A"), 1)
31812
+ ze(me(a.value.createdDate && D(Ve)(a.value.createdDate).fromNow() || "N/A"), 1)
31813
31813
  ]),
31814
31814
  _: 1
31815
31815
  })
@@ -31820,7 +31820,7 @@ const nH = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
31820
31820
  default: ve(() => [
31821
31821
  ue(p, null, {
31822
31822
  default: ve(() => [
31823
- Ye(me(D(o)("ASSETS.PAGES.DETAILS.FIELDS.URL")), 1)
31823
+ ze(me(D(o)("ASSETS.PAGES.DETAILS.FIELDS.URL")), 1)
31824
31824
  ]),
31825
31825
  _: 1
31826
31826
  }),
@@ -31831,7 +31831,7 @@ const nH = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
31831
31831
  onClick: b[0] || (b[0] = (S) => g(a.value.url))
31832
31832
  }, {
31833
31833
  default: ve(() => [
31834
- Ye(me(n.options?.asset.name), 1)
31834
+ ze(me(n.options?.asset.name), 1)
31835
31835
  ]),
31836
31836
  _: 1
31837
31837
  })
@@ -35058,7 +35058,7 @@ mY("Array", "findLastIndex");
35058
35058
  const Jf = br(), Fs = br(), zA = (t) => {
35059
35059
  const e = hd();
35060
35060
  function n(s) {
35061
- const o = s.split("/"), a = o.findIndex((m) => t.getRoutes().find((v) => v.path.endsWith("/" + m) && (v.components?.default).type.isWorkspace) !== void 0), l = "/" + o.slice(a).join("/"), u = /^\/([a-zA-Z0-9_-]+)(?:\/([a-zA-Z0-9_-]+))?(?:\/([a-zA-Z0-9_-]+))?$/, c = l.match(u);
35061
+ const o = s.split("/"), a = o.findIndex((m) => t.getRoutes().find((v) => v.path.endsWith("/" + m) && v.components?.default?.type?.isWorkspace) !== void 0), l = "/" + o.slice(a).join("/"), u = /^\/([a-zA-Z0-9_-]+)(?:\/([a-zA-Z0-9_-]+))?(?:\/([a-zA-Z0-9_-]+))?$/, c = l.match(u);
35062
35062
  if (!c)
35063
35063
  return;
35064
35064
  const [d, f, h, g] = c;
@@ -36487,7 +36487,7 @@ const yz = /* @__PURE__ */ X("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
36487
36487
  }, {
36488
36488
  default: ve(() => [
36489
36489
  Ge(u.$slots, "header", {}, () => [
36490
- Ye(me(u.title), 1)
36490
+ ze(me(u.title), 1)
36491
36491
  ]),
36492
36492
  X("button", {
36493
36493
  class: "tw-h-[26px] tw-w-[26px] tw-bg-[var(--close-btn-bg)] tw-rounded-[4px] tw-inline-flex tw-items-center tw-justify-center tw-ml-auto hover:tw-bg-[var(--close-btn-bg-hover)] tw-outline-none",
@@ -36523,7 +36523,7 @@ const yz = /* @__PURE__ */ X("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
36523
36523
  onClick: l
36524
36524
  }, {
36525
36525
  default: ve(() => [
36526
- Ye(me(u.$t("COMPONENTS.ORGANISMS.VC_POPUP.CLOSE")), 1)
36526
+ ze(me(u.$t("COMPONENTS.ORGANISMS.VC_POPUP.CLOSE")), 1)
36527
36527
  ]),
36528
36528
  _: 1
36529
36529
  })
@@ -36571,13 +36571,13 @@ const yz = /* @__PURE__ */ X("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
36571
36571
  onClick: n[0] || (n[0] = (s) => e.$emit("confirm"))
36572
36572
  }, {
36573
36573
  default: ve(() => [
36574
- Ye(me(e.$t("COMPONENTS.ORGANISMS.VC_POPUP.CONFIRM")), 1)
36574
+ ze(me(e.$t("COMPONENTS.ORGANISMS.VC_POPUP.CONFIRM")), 1)
36575
36575
  ]),
36576
36576
  _: 1
36577
36577
  }),
36578
36578
  ue(r, { onClick: i }, {
36579
36579
  default: ve(() => [
36580
- Ye(me(e.$t("COMPONENTS.ORGANISMS.VC_POPUP.CANCEL")), 1)
36580
+ ze(me(e.$t("COMPONENTS.ORGANISMS.VC_POPUP.CANCEL")), 1)
36581
36581
  ]),
36582
36582
  _: 2
36583
36583
  }, 1032, ["onClick"])
@@ -36612,7 +36612,7 @@ const yz = /* @__PURE__ */ X("div", { class: "tw-fixed tw-inset-0 tw-bg-black/25
36612
36612
  onClick: i
36613
36613
  }, {
36614
36614
  default: ve(() => [
36615
- Ye(me(e.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK")), 1)
36615
+ ze(me(e.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK")), 1)
36616
36616
  ]),
36617
36617
  _: 2
36618
36618
  }, 1032, ["onClick"])
@@ -36834,7 +36834,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
36834
36834
  onClick: g[3] || (g[3] = (m) => h.$emit("close"))
36835
36835
  }, {
36836
36836
  default: ve(() => [
36837
- Ye(me(D(r)("COMPONENTS.CHANGE_PASSWORD.CANCEL")), 1)
36837
+ ze(me(D(r)("COMPONENTS.CHANGE_PASSWORD.CANCEL")), 1)
36838
36838
  ]),
36839
36839
  _: 1
36840
36840
  }),
@@ -36843,7 +36843,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
36843
36843
  onClick: d
36844
36844
  }, {
36845
36845
  default: ve(() => [
36846
- Ye(me(D(r)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
36846
+ ze(me(D(r)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
36847
36847
  ]),
36848
36848
  _: 1
36849
36849
  }, 8, ["disabled"])
@@ -36853,7 +36853,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
36853
36853
  class: "tw-mt-3 !tw-text-[#f14e4e]"
36854
36854
  }, {
36855
36855
  default: ve(() => [
36856
- Ye(me(m.code ? D(r)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${m.code}`) : m), 1)
36856
+ ze(me(m.code ? D(r)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${m.code}`) : m), 1)
36857
36857
  ]),
36858
36858
  _: 2
36859
36859
  }, 1024))), 128))
@@ -37057,7 +37057,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37057
37057
  class: "tw-mb-1"
37058
37058
  }, {
37059
37059
  default: ve(() => [
37060
- Ye(me(a.notification.description), 1)
37060
+ ze(me(a.notification.description), 1)
37061
37061
  ]),
37062
37062
  _: 1
37063
37063
  })) : ae("", !0)
@@ -37361,7 +37361,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37361
37361
  X("div", iJ, me(D(r)("ASSETS_MANAGER.EMPTY.UPLOAD_ASSETS")), 1),
37362
37362
  ue(C, { onClick: E }, {
37363
37363
  default: ve(() => [
37364
- Ye(me(D(r)("ASSETS_MANAGER.EMPTY.UPLOAD")), 1)
37364
+ ze(me(D(r)("ASSETS_MANAGER.EMPTY.UPLOAD")), 1)
37365
37365
  ]),
37366
37366
  _: 1
37367
37367
  })
@@ -37411,7 +37411,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37411
37411
  X("div", dJ, [
37412
37412
  ue(P, null, {
37413
37413
  default: ve(() => [
37414
- Ye(me(D(r)("ASSETS_MANAGER.TABLE.HEADER.SIZE")), 1)
37414
+ ze(me(D(r)("ASSETS_MANAGER.TABLE.HEADER.SIZE")), 1)
37415
37415
  ]),
37416
37416
  _: 1
37417
37417
  }),
@@ -37420,7 +37420,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37420
37420
  X("div", pJ, [
37421
37421
  ue(P, null, {
37422
37422
  default: ve(() => [
37423
- Ye(me(D(r)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE")), 1)
37423
+ ze(me(D(r)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE")), 1)
37424
37424
  ]),
37425
37425
  _: 1
37426
37426
  }),
@@ -37429,7 +37429,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37429
37429
  X("div", vJ, [
37430
37430
  ue(P, null, {
37431
37431
  default: ve(() => [
37432
- Ye(me(D(r)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER")), 1)
37432
+ ze(me(D(r)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER")), 1)
37433
37433
  ]),
37434
37434
  _: 1
37435
37435
  }),
@@ -37637,8 +37637,8 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37637
37637
  });
37638
37638
  }
37639
37639
  function h(E, y) {
37640
- if (ze(E) && ze(E).length)
37641
- return ze(E).reduce(
37640
+ if (Ye(E) && Ye(E).length)
37641
+ return Ye(E).reduce(
37642
37642
  (w, N) => (w[N[y.optionValue]] = EO({
37643
37643
  props: {
37644
37644
  class: "tw-mb-2",
@@ -37646,7 +37646,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37646
37646
  "onUpdate:modelValue": (O) => d(O, N[y.optionValue], y.field, y.multiple)
37647
37647
  },
37648
37648
  slots: {
37649
- default: () => ze(N[y.optionLabel])
37649
+ default: () => Ye(N[y.optionLabel])
37650
37650
  }
37651
37651
  }), w),
37652
37652
  {}
@@ -37657,7 +37657,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37657
37657
  props: {
37658
37658
  type: "date",
37659
37659
  class: "tw-mb-3",
37660
- label: ze(se(() => s(E.label ?? ""))),
37660
+ label: Ye(se(() => s(E.label ?? ""))),
37661
37661
  modelValue: se(() => i.value[E.field]),
37662
37662
  "onUpdate:modelValue": (y) => i.value[E.field] = y
37663
37663
  }
@@ -37755,9 +37755,9 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37755
37755
  empty: n("emptyTemplate")
37756
37756
  });
37757
37757
  function n(i) {
37758
- if (!ze(t))
37758
+ if (!Ye(t))
37759
37759
  return;
37760
- const s = ze(t)?.[i];
37760
+ const s = Ye(t)?.[i];
37761
37761
  if (s && typeof s == "object" && "component" in s) {
37762
37762
  const o = s.component;
37763
37763
  if (o) {
@@ -37769,7 +37769,7 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37769
37769
  }
37770
37770
  function r() {
37771
37771
  return {
37772
- ...ze(t)?.columns?.reduce(
37772
+ ...Ye(t)?.columns?.reduce(
37773
37773
  (i, s) => {
37774
37774
  if ("customTemplate" in s && s.customTemplate)
37775
37775
  if ("component" in s.customTemplate) {
@@ -37819,8 +37819,8 @@ const xz = { class: "tw-flex tw-flex-col tw-flex-auto" }, Lz = { class: "tw-flex
37819
37819
  }
37820
37820
  return r;
37821
37821
  }, []);
37822
- if (t.scope && Vt(Vt(t.scope).toolbarOverrides)) {
37823
- const r = Vt(Vt(t.scope).toolbarOverrides);
37822
+ if (t.scope && Vt(Vt(t.scope)?.toolbarOverrides)) {
37823
+ const r = Vt(Vt(t.scope)?.toolbarOverrides);
37824
37824
  if (Array.isArray(r))
37825
37825
  return r;
37826
37826
  if (typeof r == "function")
@@ -37955,8 +37955,8 @@ const BJ = {
37955
37955
  },
37956
37956
  openAddBlade: {
37957
37957
  async clickHandler() {
37958
- if (P && "openDetailsBlade" in ze(P) && ze(P).openDetailsBlade && typeof ze(P).openDetailsBlade == "function")
37959
- ze(P).openDetailsBlade?.();
37958
+ if (P && "openDetailsBlade" in Ye(P) && Ye(P).openDetailsBlade && typeof Ye(P).openDetailsBlade == "function")
37959
+ Ye(P).openDetailsBlade?.();
37960
37960
  else
37961
37961
  throw new Error("openDetailsBlade method is not defined in scope");
37962
37962
  }
@@ -37974,7 +37974,7 @@ const BJ = {
37974
37974
  // isVisible: computed(() => isDesktop.value),
37975
37975
  }
37976
37976
  },
37977
- customToolbarConfig: ze(P)?.toolbarOverrides,
37977
+ customToolbarConfig: Ye(P)?.toolbarOverrides,
37978
37978
  context: ne.value,
37979
37979
  scope: P
37980
37980
  })) ?? [];
@@ -37983,7 +37983,7 @@ const BJ = {
37983
37983
  }), et(
37984
37984
  () => r.param,
37985
37985
  async (fe) => {
37986
- fe && P && "openDetailsBlade" in ze(P) && ze(P).openDetailsBlade && typeof ze(P).openDetailsBlade == "function" && await ze(P).openDetailsBlade?.({
37986
+ fe && P && "openDetailsBlade" in Ye(P) && Ye(P).openDetailsBlade && typeof Ye(P).openDetailsBlade == "function" && await Ye(P).openDetailsBlade?.({
37987
37987
  param: fe,
37988
37988
  onOpen() {
37989
37989
  f.value = fe;
@@ -38006,9 +38006,9 @@ const BJ = {
38006
38006
  m.value = fe;
38007
38007
  });
38008
38008
  const H = async () => {
38009
- r.isWidgetView ? a("add") : P && "openDetailsBlade" in ze(P) && ze(P).openDetailsBlade && typeof ze(P).openDetailsBlade == "function" && await ze(P).openDetailsBlade?.();
38009
+ r.isWidgetView ? a("add") : P && "openDetailsBlade" in Ye(P) && Ye(P).openDetailsBlade && typeof Ye(P).openDetailsBlade == "function" && await Ye(P).openDetailsBlade?.();
38010
38010
  }, te = (fe) => {
38011
- r.isWidgetView ? a("item-click", { param: fe.id }) : (P && rn("openDetailsBlade", ze(P)) && typeof ze(P).openDetailsBlade == "function" && ze(P).openDetailsBlade?.({
38011
+ r.isWidgetView ? a("item-click", { param: fe.id }) : (P && rn("openDetailsBlade", Ye(P)) && typeof Ye(P).openDetailsBlade == "function" && Ye(P).openDetailsBlade?.({
38012
38012
  param: fe.id,
38013
38013
  onOpen() {
38014
38014
  f.value = fe.id;
@@ -38016,7 +38016,7 @@ const BJ = {
38016
38016
  onClose() {
38017
38017
  f.value = void 0;
38018
38018
  }
38019
- }), P && rn("onListItemClick", ze(P)) && typeof ze(P).onListItemClick == "function" && ze(P).onListItemClick?.({
38019
+ }), P && rn("onListItemClick", Ye(P)) && typeof Ye(P).onListItemClick == "function" && Ye(P).onListItemClick?.({
38020
38020
  item: fe
38021
38021
  }));
38022
38022
  }, de = (fe) => {
@@ -38045,8 +38045,8 @@ const BJ = {
38045
38045
  });
38046
38046
  }, $e = async (fe) => {
38047
38047
  if (L.value.take) {
38048
- if (P && rn("onPaginationClick", ze(P)) && typeof ze(P).onPaginationClick == "function") {
38049
- ze(P).onPaginationClick?.({
38048
+ if (P && rn("onPaginationClick", Ye(P)) && typeof Ye(P).onPaginationClick == "function") {
38049
+ Ye(P).onPaginationClick?.({
38050
38050
  ...L.value,
38051
38051
  skip: (fe - 1) * L.value.take
38052
38052
  });
@@ -38100,12 +38100,12 @@ const BJ = {
38100
38100
  c.value = fe;
38101
38101
  }
38102
38102
  function he(fe, Pe) {
38103
- return fe ? typeof fe == "boolean" ? fe : fe.method && typeof ze(P)?.[fe.method] == "function" ? ze(P)?.[fe.method]({ item: Pe }) : fe.method && ze(P)?.[fe.method] ? ze(P)?.[fe.method] : !1 : !1;
38103
+ return fe ? typeof fe == "boolean" ? fe : fe.method && typeof Ye(P)?.[fe.method] == "function" ? Ye(P)?.[fe.method]({ item: Pe }) : fe.method && Ye(P)?.[fe.method] ? Ye(P)?.[fe.method] : !1 : !1;
38104
38104
  }
38105
38105
  function Ee(fe) {
38106
38106
  return w?.value?.actions?.reduce((_e, qe) => {
38107
38107
  const Ke = he(qe?.disabled ?? !1, fe);
38108
- return ze(Ke) || _e.push({
38108
+ return Ye(Ke) || _e.push({
38109
38109
  icon: qe.icon,
38110
38110
  title: se(() => i(qe.title)),
38111
38111
  type: qe.type,
@@ -38114,7 +38114,7 @@ const BJ = {
38114
38114
  try {
38115
38115
  if (Eo(J) && J.value && J.value.length > 0) {
38116
38116
  const ye = J.value.find((Le) => Le.method === qe.method);
38117
- g.value = [Re.id], ye ? await ye.clickHandler?.() : await ze(P)?.[qe.method]?.(Re), g.value = [];
38117
+ g.value = [Re.id], ye ? await ye.clickHandler?.() : await Ye(P)?.[qe.method]?.(Re), g.value = [];
38118
38118
  }
38119
38119
  } catch {
38120
38120
  throw new Error(`Method ${qe.method} is not defined in scope or toolbarOverrides`);
@@ -38129,7 +38129,7 @@ const BJ = {
38129
38129
  updateActiveWidgetCount: Oe,
38130
38130
  ...bi(P?.value ?? {}),
38131
38131
  selectedIds: g,
38132
- settings: ze(l)
38132
+ settings: Ye(l)
38133
38133
  }), (fe, Pe) => {
38134
38134
  const _e = Je("VcBreadcrumbs"), qe = Je("VcButton"), Ke = Je("VcTable");
38135
38135
  return fe.composables ? ae("", !0) : (k(), Ne(as(fe.isWidgetView ? "template" : "VcBlade"), {
@@ -38152,7 +38152,7 @@ const BJ = {
38152
38152
  totalCount: D(C).totalCount,
38153
38153
  loading: D(T)
38154
38154
  }, () => [
38155
- Ye(me(D(C).totalCount), 1)
38155
+ ze(me(D(C).totalCount), 1)
38156
38156
  ]) : (k(), q(nt, { key: 1 }, [
38157
38157
  !fe.isWidgetView && D(P)?.breadcrumbs ? (k(), q("div", {
38158
38158
  key: 0,
@@ -38212,7 +38212,7 @@ const BJ = {
38212
38212
  onClick: F
38213
38213
  }, {
38214
38214
  default: ve(() => [
38215
- Ye(me(fe.$t(`${l.value?.localizationPrefix.trim().toUpperCase()}.PAGES.LIST.NOT_FOUND.RESET`)), 1)
38215
+ ze(me(fe.$t(`${l.value?.localizationPrefix.trim().toUpperCase()}.PAGES.LIST.NOT_FOUND.RESET`)), 1)
38216
38216
  ]),
38217
38217
  _: 1
38218
38218
  })) : ae("", !0)
@@ -38383,9 +38383,9 @@ const GJ = {
38383
38383
  setup(t) {
38384
38384
  const e = z(!0);
38385
38385
  xt(() => {
38386
- e.value = n(ze(t.fields));
38386
+ e.value = n(Ye(t.fields));
38387
38387
  }), Wa(() => {
38388
- e.value = n(ze(t.fields));
38388
+ e.value = n(Ye(t.fields));
38389
38389
  });
38390
38390
  const n = (r) => {
38391
38391
  const i = Array.isArray(r) ? r : [r], s = z(0);
@@ -38412,7 +38412,7 @@ const GJ = {
38412
38412
  props: Object.assign(
38413
38413
  {},
38414
38414
  {
38415
- header: ze(t.baseProps.label),
38415
+ header: Ye(t.baseProps.label),
38416
38416
  isCollapsable: t.element.collapsible,
38417
38417
  isCollapsed: s(t.element.id) || t.element.collapsed,
38418
38418
  "onState:collapsed": (o) => i(t.element.id, o)
@@ -38433,7 +38433,7 @@ const GJ = {
38433
38433
  "tw-gap-4": !0
38434
38434
  }
38435
38435
  },
38436
- ze(t.fields)
38436
+ Ye(t.fields)
38437
38437
  ),
38438
38438
  actions: () => {
38439
38439
  if (t.element.action)
@@ -38510,7 +38510,7 @@ const GJ = {
38510
38510
  props: On,
38511
38511
  setup(t) {
38512
38512
  const e = Jt("isMobile"), { fields: n } = bi(t);
38513
- return () => ze(n.value)?.map((r, i, s) => {
38513
+ return () => Ye(n.value)?.map((r, i, s) => {
38514
38514
  const o = yP(r, t.element.columns || 1) ?? [];
38515
38515
  return De(
38516
38516
  "div",
@@ -38673,7 +38673,7 @@ const XJ = {
38673
38673
  et(
38674
38674
  () => t.baseProps?.modelValue,
38675
38675
  (s) => {
38676
- sr(ze(s), e.value) || (e.value = Er(ze(s)));
38676
+ sr(Ye(s), e.value) || (e.value = Er(Ye(s)));
38677
38677
  },
38678
38678
  { deep: !0, immediate: !0 }
38679
38679
  );
@@ -38690,7 +38690,7 @@ const XJ = {
38690
38690
  modelValue: se(
38691
38691
  () => t.bladeContext.scope?.dynamicProperties?.getPropertyValue(
38692
38692
  s,
38693
- ze(t.currentLocale ?? "en-US")
38693
+ Ye(t.currentLocale ?? "en-US")
38694
38694
  )
38695
38695
  ),
38696
38696
  optionsGetter: t.bladeContext.scope?.dynamicProperties?.loadDictionaries,
@@ -38834,7 +38834,7 @@ const XJ = {
38834
38834
  {},
38835
38835
  {
38836
38836
  loading: o.loading,
38837
- images: ze(t.baseProps.modelValue),
38837
+ images: Ye(t.baseProps.modelValue),
38838
38838
  multiple: t.element.multiple,
38839
38839
  variant: t.element.variant,
38840
38840
  itemActions: t.element.actions,
@@ -38966,7 +38966,7 @@ const XJ = {
38966
38966
  props: Object.assign(
38967
38967
  {},
38968
38968
  {
38969
- source: ze(t.baseProps.modelValue)
38969
+ source: Ye(t.baseProps.modelValue)
38970
38970
  },
38971
38971
  gt(t.baseProps),
38972
38972
  {
@@ -38986,7 +38986,7 @@ const XJ = {
38986
38986
  props: Object.assign(
38987
38987
  {},
38988
38988
  {
38989
- src: ze(t.baseProps.modelValue),
38989
+ src: Ye(t.baseProps.modelValue),
38990
38990
  aspect: t.element.aspect,
38991
38991
  rounded: t.element.rounded,
38992
38992
  bordered: t.element.bordered,
@@ -39192,7 +39192,7 @@ const XJ = {
39192
39192
  "vc-table": uK,
39193
39193
  "vc-custom": cK,
39194
39194
  "vc-rating": fK
39195
- }, sv = (t, e, n) => t === void 0 ? !0 : typeof t == "function" ? t(n, e) : ze(t);
39195
+ }, sv = (t, e, n) => t === void 0 ? !0 : typeof t == "function" ? t(n, e) : Ye(t);
39196
39196
  function hK(t, e) {
39197
39197
  return t ? typeof t == "boolean" ? t : t.method && typeof e.scope?.[t.method] == "function" ? e.scope[t.method]() : t.method && e.scope?.[t.method] ? e.scope[t.method] : !1 : !1;
39198
39198
  }
@@ -39233,8 +39233,8 @@ function bu({
39233
39233
  }), w = dK[t.component], N = se(() => {
39234
39234
  if (!("fields" in t))
39235
39235
  return null;
39236
- const S = rn("property", t) && t.property && _a(t.property, n), A = rn("property", t) && t.property && _a(t.property, ze(r.scope ?? {})) || S;
39237
- return ze(A) && Array.isArray(ze(A)) ? ze(A).map((T) => t.fields.reduce((C, L) => rn("visibility", L) && L.visibility?.method && !sv(r.scope?.[L.visibility?.method], T, L) ? C : [
39236
+ const S = rn("property", t) && t.property && _a(t.property, n), A = rn("property", t) && t.property && _a(t.property, Ye(r.scope ?? {})) || S;
39237
+ return Ye(A) && Array.isArray(Ye(A)) ? Ye(A).map((T) => t.fields.reduce((C, L) => rn("visibility", L) && L.visibility?.method && !sv(r.scope?.[L.visibility?.method], T, L) ? C : [
39238
39238
  ...C,
39239
39239
  bu({
39240
39240
  controlSchema: L,
@@ -39393,21 +39393,21 @@ const pK = {
39393
39393
  return hn(De(Je(r.model.settings.status.component), { context: A.value }));
39394
39394
  }
39395
39395
  return null;
39396
- }), C = Du(() => d && "multilanguage" in ze(d) && ze(d).multilanguage ? {
39396
+ }), C = Du(() => d && Ye(d) && "multilanguage" in Ye(d) && Ye(d).multilanguage ? {
39397
39397
  component: () => De(Yu, {
39398
39398
  name: "currentLocale",
39399
- modelValue: ze(d).multilanguage?.currentLocale,
39400
- options: ze(d).multilanguage?.localesOptions,
39399
+ modelValue: Ye(d).multilanguage?.currentLocale,
39400
+ options: Ye(d).multilanguage?.localesOptions,
39401
39401
  optionValue: "value",
39402
39402
  optionLabel: "label",
39403
- disabled: "disabled" in ze(d) && ze(d).disabled,
39403
+ disabled: "disabled" in Ye(d) && Ye(d).disabled,
39404
39404
  required: !0,
39405
39405
  clearable: !1,
39406
39406
  "onUpdate:modelValue": (K) => {
39407
- ze(d).multilanguage?.setLocale(K);
39407
+ Ye(d).multilanguage?.setLocale(K);
39408
39408
  }
39409
39409
  }),
39410
- currentLocale: ze(d).multilanguage?.currentLocale
39410
+ currentLocale: Ye(d).multilanguage?.currentLocale
39411
39411
  } : {}), L = se(() => x.value?.children?.map((K) => {
39412
39412
  if (typeof K == "string")
39413
39413
  return Je(K);
@@ -39438,10 +39438,10 @@ const pK = {
39438
39438
  method: "updateActiveWidgetCount"
39439
39439
  }), i("close:blade"));
39440
39440
  },
39441
- disabled: se(() => ze(d)?.disabled)
39441
+ disabled: se(() => Ye(d)?.disabled)
39442
39442
  }
39443
39443
  },
39444
- customToolbarConfig: ze(d)?.toolbarOverrides,
39444
+ customToolbarConfig: Ye(d)?.toolbarOverrides,
39445
39445
  context: A.value,
39446
39446
  scope: d
39447
39447
  })) ?? [];
@@ -39474,7 +39474,7 @@ const pK = {
39474
39474
  title: m ?? "",
39475
39475
  updateActiveWidgetCount: ee,
39476
39476
  ...bi(d?.value ?? {}),
39477
- settings: ze(y)
39477
+ settings: Ye(y)
39478
39478
  }), (K, U) => {
39479
39479
  const R = Je("VcForm"), $ = Je("VcContainer"), W = Je("VcBlade"), ne = Au("loading");
39480
39480
  return K.composables ? ae("", !0) : vn((k(), Ne(W, {
@@ -39902,7 +39902,7 @@ const qae = (t) => function() {
39902
39902
  onClick: g
39903
39903
  }, {
39904
39904
  default: ve(() => [
39905
- Ye(me(D(l)("INVITATION.ACCEPT_INVITATION")), 1)
39905
+ ze(me(D(l)("INVITATION.ACCEPT_INVITATION")), 1)
39906
39906
  ]),
39907
39907
  _: 1
39908
39908
  }, 8, ["disabled"])
@@ -39913,7 +39913,7 @@ const qae = (t) => function() {
39913
39913
  style: { color: "#f14e4e" }
39914
39914
  }, {
39915
39915
  default: ve(() => [
39916
- Ye(me(D(l)(`INVITATION.ERRORS.${O}`)), 1)
39916
+ ze(me(D(l)(`INVITATION.ERRORS.${O}`)), 1)
39917
39917
  ]),
39918
39918
  _: 2
39919
39919
  }, 1024))), 128))
@@ -40052,7 +40052,7 @@ const qae = (t) => function() {
40052
40052
  onClick: C
40053
40053
  }, {
40054
40054
  default: ve(() => [
40055
- Ye(me(D(o)("LOGIN.FORGOT_PASSWORD_BUTTON")), 1)
40055
+ ze(me(D(o)("LOGIN.FORGOT_PASSWORD_BUTTON")), 1)
40056
40056
  ]),
40057
40057
  _: 1
40058
40058
  })
@@ -40064,7 +40064,7 @@ const qae = (t) => function() {
40064
40064
  onClick: A
40065
40065
  }, {
40066
40066
  default: ve(() => [
40067
- Ye(me(D(o)("LOGIN.BUTTON")), 1)
40067
+ ze(me(D(o)("LOGIN.BUTTON")), 1)
40068
40068
  ]),
40069
40069
  _: 1
40070
40070
  }, 8, ["disabled"])
@@ -40087,7 +40087,7 @@ const qae = (t) => function() {
40087
40087
  alt: $.authenticationType,
40088
40088
  class: "tw-h-5 tw-mr-2"
40089
40089
  }, null, 8, nX),
40090
- Ye(me($.displayName), 1)
40090
+ ze(me($.displayName), 1)
40091
40091
  ])
40092
40092
  ]),
40093
40093
  _: 2
@@ -40132,7 +40132,7 @@ const qae = (t) => function() {
40132
40132
  onClick: C
40133
40133
  }, {
40134
40134
  default: ve(() => [
40135
- Ye(me(D(o)("LOGIN.BACK_BUTTON")), 1)
40135
+ ze(me(D(o)("LOGIN.BACK_BUTTON")), 1)
40136
40136
  ]),
40137
40137
  _: 1
40138
40138
  }),
@@ -40141,7 +40141,7 @@ const qae = (t) => function() {
40141
40141
  onClick: T
40142
40142
  }, {
40143
40143
  default: ve(() => [
40144
- Ye(me(D(o)("LOGIN.FORGOT_BUTTON")), 1)
40144
+ ze(me(D(o)("LOGIN.FORGOT_BUTTON")), 1)
40145
40145
  ]),
40146
40146
  _: 1
40147
40147
  }, 8, ["disabled"])
@@ -40158,7 +40158,7 @@ const qae = (t) => function() {
40158
40158
  onClick: C
40159
40159
  }, {
40160
40160
  default: ve(() => [
40161
- Ye(me(D(o)("LOGIN.BUTTON_OK")), 1)
40161
+ ze(me(D(o)("LOGIN.BUTTON_OK")), 1)
40162
40162
  ]),
40163
40163
  _: 1
40164
40164
  }, 8, ["disabled"])
@@ -40171,7 +40171,7 @@ const qae = (t) => function() {
40171
40171
  style: { color: "#f14e4e" }
40172
40172
  }, {
40173
40173
  default: ve(() => [
40174
- Ye(me(l.value.error), 1)
40174
+ ze(me(l.value.error), 1)
40175
40175
  ]),
40176
40176
  _: 1
40177
40177
  })),
@@ -40181,7 +40181,7 @@ const qae = (t) => function() {
40181
40181
  style: { color: "#f14e4e" }
40182
40182
  }, {
40183
40183
  default: ve(() => [
40184
- Ye(me(u.value.error), 1)
40184
+ ze(me(u.value.error), 1)
40185
40185
  ]),
40186
40186
  _: 1
40187
40187
  }))
@@ -40309,7 +40309,7 @@ const qae = (t) => function() {
40309
40309
  onClick: h
40310
40310
  }, {
40311
40311
  default: ve(() => [
40312
- Ye(me(D(l)("PASSWORDRESET.SAVE_PASSWORD")), 1)
40312
+ ze(me(D(l)("PASSWORDRESET.SAVE_PASSWORD")), 1)
40313
40313
  ]),
40314
40314
  _: 1
40315
40315
  }, 8, ["disabled"])
@@ -40319,7 +40319,7 @@ const qae = (t) => function() {
40319
40319
  class: "tw-mt-3 !tw-text-[#f14e4e]"
40320
40320
  }, {
40321
40321
  default: ve(() => [
40322
- Ye(me(D(l)(`PASSWORDRESET.ERRORS.${+N}`)), 1)
40322
+ ze(me(D(l)(`PASSWORDRESET.ERRORS.${+N}`)), 1)
40323
40323
  ]),
40324
40324
  _: 2
40325
40325
  }, 1024))), 128))
@@ -40465,7 +40465,7 @@ const qae = (t) => function() {
40465
40465
  }, null, 8, ["icon"])
40466
40466
  ])) : ae("", !0),
40467
40467
  X("div", SX, [
40468
- Ye(me(u.title) + " ", 1),
40468
+ ze(me(u.title) + " ", 1),
40469
40469
  u.children?.length ? (k(), Ne(D(tt), {
40470
40470
  key: 0,
40471
40471
  class: "vc-app-menu-item__title-icon",
@@ -40888,7 +40888,7 @@ const qae = (t) => function() {
40888
40888
  icon: b.icon,
40889
40889
  class: "vc-blade-toolbar-button__dropdown-item-icon"
40890
40890
  }, null, 8, ["icon"]),
40891
- Ye(" " + me(b.title), 1)
40891
+ ze(" " + me(b.title), 1)
40892
40892
  ], 8, qX))), 128))
40893
40893
  ], 4)) : ae("", !0)
40894
40894
  ]))
@@ -40965,7 +40965,7 @@ const qae = (t) => function() {
40965
40965
  title: i("COMPONENTS.ORGANISMS.VC_BLADE.ERROR_POPUP.TITLE")
40966
40966
  },
40967
40967
  slots: {
40968
- default: se(() => ze(r))
40968
+ default: se(() => Ye(r))
40969
40969
  }
40970
40970
  });
40971
40971
  return (o, a) => (k(), q("div", {
@@ -41012,7 +41012,7 @@ const qae = (t) => function() {
41012
41012
  onClick: a[3] || (a[3] = (l) => D(s)())
41013
41013
  }, {
41014
41014
  default: ve(() => [
41015
- Ye(me(D(i)("COMPONENTS.ORGANISMS.VC_BLADE.SEE_DETAILS")), 1)
41015
+ ze(me(D(i)("COMPONENTS.ORGANISMS.VC_BLADE.SEE_DETAILS")), 1)
41016
41016
  ]),
41017
41017
  _: 1
41018
41018
  })
@@ -41264,7 +41264,7 @@ const qae = (t) => function() {
41264
41264
  name: f.value.name
41265
41265
  }), {
41266
41266
  default: ve(() => [
41267
- Ye(me(f.value.displayName), 1)
41267
+ ze(me(f.value.displayName), 1)
41268
41268
  ]),
41269
41269
  _: 2
41270
41270
  }, 1040, ["modelValue", "error-message", "required", "disabled", "name"])) : ae("", !0)
@@ -41390,7 +41390,7 @@ const qae = (t) => function() {
41390
41390
  onClick: u[0] || (u[0] = (c) => o(s.value.url ?? ""))
41391
41391
  }, {
41392
41392
  default: ve(() => [
41393
- Ye(me(D(n)("COMPONENTS.ORGANISMS.VC_GALLERY.INTERNAL.VC_GALLERY_PREVIEW.COPY_IMAGE_LINK")), 1)
41393
+ ze(me(D(n)("COMPONENTS.ORGANISMS.VC_GALLERY.INTERNAL.VC_GALLERY_PREVIEW.COPY_IMAGE_LINK")), 1)
41394
41394
  ]),
41395
41395
  _: 1
41396
41396
  }),
@@ -41556,7 +41556,7 @@ const qae = (t) => function() {
41556
41556
  A.tooltip ? {
41557
41557
  name: "tooltip",
41558
41558
  fn: ve(() => [
41559
- Ye(me(A.tooltip), 1)
41559
+ ze(me(A.tooltip), 1)
41560
41560
  ]),
41561
41561
  key: "0"
41562
41562
  } : void 0
@@ -41603,7 +41603,7 @@ const qae = (t) => function() {
41603
41603
  ])) : (k(), q("div", fQ, [
41604
41604
  ue(D(Br), null, {
41605
41605
  default: ve(() => [
41606
- Ye(me(D(i)("COMPONENTS.ORGANISMS.VC_GALLERY.GALLERY_IS_EMPTY")), 1)
41606
+ ze(me(D(i)("COMPONENTS.ORGANISMS.VC_GALLERY.GALLERY_IS_EMPTY")), 1)
41607
41607
  ]),
41608
41608
  _: 1
41609
41609
  })
@@ -52083,7 +52083,7 @@ const Hie = { class: "tw-truncate" }, Vie = { class: "tw-text-[#a5a5a5] tw-text-
52083
52083
  background: "contain"
52084
52084
  }, null, 8, ["src"])) : o.cell.type === "status" ? (k(), Ne(u, { key: 4 }, {
52085
52085
  default: ve(() => [
52086
- Ye(me(r.value), 1)
52086
+ ze(me(r.value), 1)
52087
52087
  ]),
52088
52088
  _: 1
52089
52089
  })) : o.cell.type === "status-icon" ? (k(), q("div", {
@@ -52101,7 +52101,7 @@ const Hie = { class: "tw-truncate" }, Vie = { class: "tw-text-[#a5a5a5] tw-text-
52101
52101
  class: He(["tw-truncate", o.cell.class])
52102
52102
  }, {
52103
52103
  default: ve(() => [
52104
- Ye(me(r.value), 1)
52104
+ ze(me(r.value), 1)
52105
52105
  ]),
52106
52106
  _: 1
52107
52107
  }, 8, ["class"])) : o.cell.type === "html" ? (k(), q("div", {
@@ -52653,7 +52653,7 @@ const Aoe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
52653
52653
  "div",
52654
52654
  { class: "tw-border-b tw-border-solid tw-border-b-[#e3e7ec] tw-p-3 tw-gap-2 tw-flex tw-flex-wrap" },
52655
52655
  n.columns.map((Ie) => De("div", { class: "tw-grow tw-w-[33%] tw-ml-3 tw-truncate" }, [
52656
- De(Br, { class: "tw-mb-1 tw-truncate" }, ze(Ie.title)),
52656
+ De(Br, { class: "tw-mb-1 tw-truncate" }, Ye(Ie.title)),
52657
52657
  De(U_, { cell: { ...Ie, class: "!tw-justify-start" }, item: re, class: "" })
52658
52658
  ]))
52659
52659
  )
@@ -52679,7 +52679,7 @@ const Aoe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
52679
52679
  },
52680
52680
  { deep: !0, immediate: !0 }
52681
52681
  );
52682
- const ne = se(() => A.value.toSorted((re, Ie) => re && Ie && re.title && Ie.title ? ze(re.title).localeCompare(ze(Ie.title)) : 0)), J = {
52682
+ const ne = se(() => A.value.toSorted((re, Ie) => re && Ie && re.title && Ie.title ? Ye(re.title).localeCompare(Ye(Ie.title)) : 0)), J = {
52683
52683
  start: "tw-justify-start",
52684
52684
  end: "tw-justify-end",
52685
52685
  center: "tw-justify-center",
@@ -53048,7 +53048,7 @@ const Aoe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
53048
53048
  }, [
53049
53049
  X("div", Uoe, [
53050
53050
  Ge(re.$slots, `header_${Ce.id}`, {}, () => [
53051
- Ye(me(Ce.title), 1)
53051
+ ze(me(Ce.title), 1)
53052
53052
  ])
53053
53053
  ]),
53054
53054
  U.value === Ce.id ? (k(), q("div", joe, [
@@ -53096,14 +53096,14 @@ const Aoe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
53096
53096
  re.selectAll && de.value ? (k(), q("div", Yoe, [
53097
53097
  X("div", zoe, [
53098
53098
  X("div", null, [
53099
- Ye(me(f.value ? D(i)("COMPONENTS.ORGANISMS.VC_TABLE.ALL_SELECTED") : D(i)("COMPONENTS.ORGANISMS.VC_TABLE.CURRENT_PAGE_SELECTED")) + " ", 1),
53099
+ ze(me(f.value ? D(i)("COMPONENTS.ORGANISMS.VC_TABLE.ALL_SELECTED") : D(i)("COMPONENTS.ORGANISMS.VC_TABLE.CURRENT_PAGE_SELECTED")) + " ", 1),
53100
53100
  ue(D(vi), {
53101
53101
  text: "",
53102
53102
  class: "tw-text-[13px]",
53103
53103
  onClick: ge
53104
53104
  }, {
53105
53105
  default: ve(() => [
53106
- Ye(me(f.value ? D(i)("COMPONENTS.ORGANISMS.VC_TABLE.CANCEL") : D(i)("COMPONENTS.ORGANISMS.VC_TABLE.SELECT_ALL")), 1)
53106
+ ze(me(f.value ? D(i)("COMPONENTS.ORGANISMS.VC_TABLE.CANCEL") : D(i)("COMPONENTS.ORGANISMS.VC_TABLE.SELECT_ALL")), 1)
53107
53107
  ]),
53108
53108
  _: 1
53109
53109
  })
@@ -53244,7 +53244,7 @@ const Aoe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
53244
53244
  onClick: re.notfound?.clickHandler
53245
53245
  }, {
53246
53246
  default: ve(() => [
53247
- Ye(me(re.notfound.action), 1)
53247
+ ze(me(re.notfound.action), 1)
53248
53248
  ]),
53249
53249
  _: 1
53250
53250
  }, 8, ["onClick"])) : ae("", !0)
@@ -53261,7 +53261,7 @@ const Aoe = { class: "tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow
53261
53261
  onClick: re.empty?.clickHandler
53262
53262
  }, {
53263
53263
  default: ve(() => [
53264
- Ye(me(re.empty.action), 1)
53264
+ ze(me(re.empty.action), 1)
53265
53265
  ]),
53266
53266
  _: 1
53267
53267
  }, 8, ["onClick"])) : ae("", !0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.202",
3
+ "version": "1.0.203",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -59,9 +59,9 @@
59
59
  "devDependencies": {
60
60
  "@types/dompurify": "^3.0.5",
61
61
  "@types/quill": "^2.0.14",
62
- "@vc-shell/api-client-generator": "^1.0.202",
63
- "@vc-shell/config-generator": "^1.0.202",
64
- "@vc-shell/ts-config": "^1.0.202",
62
+ "@vc-shell/api-client-generator": "^1.0.203",
63
+ "@vc-shell/config-generator": "^1.0.203",
64
+ "@vc-shell/ts-config": "^1.0.203",
65
65
  "@vitejs/plugin-vue": "^5.0.3",
66
66
  "sass": "^1.69.6",
67
67
  "shx": "^0.3.4",
@@ -65,7 +65,7 @@ const utils = (router: Router) => {
65
65
  const workspaceIndex = parts.findIndex((part) => {
66
66
  const route = router
67
67
  .getRoutes()
68
- .find((r) => r.path.endsWith("/" + part) && (r.components?.default as BladeVNode).type.isWorkspace);
68
+ .find((r) => r.path.endsWith("/" + part) && (r.components?.default as BladeVNode)?.type?.isWorkspace);
69
69
 
70
70
  return route !== undefined;
71
71
  });
@@ -54,8 +54,8 @@ export const useToolbarReducer = (args: {
54
54
  }, [] as IBladeToolbar[]);
55
55
  }
56
56
 
57
- if (args.scope && toValue(toValue(args.scope).toolbarOverrides)) {
58
- const toolbarOverrides: BaseBladeScope["toolbarOverrides"] = toValue(toValue(args.scope).toolbarOverrides);
57
+ if (args.scope && toValue(toValue(args.scope)?.toolbarOverrides)) {
58
+ const toolbarOverrides: BaseBladeScope["toolbarOverrides"] = toValue(toValue(args.scope)?.toolbarOverrides);
59
59
 
60
60
  if (Array.isArray(toolbarOverrides)) {
61
61
  return toolbarOverrides;
@@ -217,7 +217,7 @@ const bladeStatus = computed(() => {
217
217
  });
218
218
 
219
219
  const bladeMultilanguage = reactiveComputed(() => {
220
- if (scope && "multilanguage" in toValue(scope) && toValue(scope).multilanguage) {
220
+ if (scope && toValue(scope) && "multilanguage" in toValue(scope) && toValue(scope).multilanguage) {
221
221
  return {
222
222
  component: () => {
223
223
  return h(VcSelect as Component, {