codesaaz-core 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { mergeModels as xe, useModel as De, resolveComponent as G, openBlock as h, createBlock as H, mergeProps as te, computed as ne, hasInjectionContext as pu, inject as ot, toRaw as Es, isRef as Vt, isReactive as Wr, toRef as mu, ref as E, watch as Te, reactive as Lt, effectScope as gu, getCurrentScope as hu, onScopeDispose as bu, nextTick as ct, toRefs as yu, markRaw as vu, createElementBlock as S, Fragment as ie, createElementVNode as v, createTextVNode as et, toDisplayString as ee, createCommentVNode as j, renderList as Ce, createVNode as q, toValue as Oe, unref as Z, onMounted as Me, provide as sn, readonly as $s, watchEffect as Io, shallowRef as wu, withCtx as re, onUpdated as Os, normalizeProps as Xt, guardReactiveProps as bo, renderSlot as fe, createSlots as Rn, withKeys as Wo, withModifiers as mn, withDirectives as kt, vShow as ku, resolveDirective as qr, normalizeClass as ye, resolveDynamicComponent as _e, defineComponent as _n, h as tt, shallowReactive as $r, onBeforeUnmount as Kr, useId as xu, getCurrentInstance as Ts, onUnmounted as Su, cloneVNode as Cu, Teleport as Eu, Transition as $u, normalizeStyle as Zn, vModelText as Pn, vModelCheckbox as Is, createApp as Ou } from "vue";
1
+ import { mergeModels as xe, useModel as De, resolveComponent as G, openBlock as h, createBlock as H, mergeProps as te, computed as ne, hasInjectionContext as pu, inject as ot, toRaw as Es, isRef as Vt, isReactive as Wr, toRef as mu, ref as E, watch as Te, reactive as Lt, effectScope as gu, getCurrentScope as hu, onScopeDispose as bu, nextTick as ct, toRefs as yu, markRaw as vu, createElementBlock as S, Fragment as ie, createElementVNode as v, createTextVNode as et, toDisplayString as ee, createCommentVNode as j, renderList as Ce, createVNode as q, toValue as Oe, unref as Z, onMounted as Me, provide as sn, readonly as $s, watchEffect as Io, shallowRef as wu, withCtx as re, onUpdated as Os, normalizeProps as Xt, guardReactiveProps as bo, renderSlot as fe, createSlots as Rn, withKeys as Wo, withModifiers as mn, withDirectives as xt, vShow as ku, resolveDirective as qr, normalizeClass as ye, resolveDynamicComponent as _e, defineComponent as _n, h as tt, shallowReactive as $r, onBeforeUnmount as Kr, useId as xu, getCurrentInstance as Ts, onUnmounted as Su, cloneVNode as Cu, Teleport as Eu, Transition as $u, normalizeStyle as Zn, vModelText as Pn, vModelCheckbox as Is, createApp as Ou } from "vue";
2
2
  import { useRoute as un, useRouter as Tu } from "vue-router";
3
3
  import { useToast as Bs, InputText as fa } from "primevue";
4
4
  const pa = {
@@ -700,7 +700,7 @@ function _u(e) {
700
700
  return n;
701
701
  }
702
702
  }
703
- const Ge = /* @__PURE__ */ qo("globalConfigsStore", {
703
+ const We = /* @__PURE__ */ qo("globalConfigsStore", {
704
704
  state: () => ({
705
705
  globalConfigs: {}
706
706
  }),
@@ -727,22 +727,22 @@ const { toString: Du } = Object.prototype, { getPrototypeOf: Yr } = Object, Ko =
727
727
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
728
728
  })(/* @__PURE__ */ Object.create(null)), Rt = (e) => (e = e.toLowerCase(), (t) => Ko(t) === e), Go = (e) => (t) => typeof t === e, { isArray: Dn } = Array, eo = Go("undefined");
729
729
  function Nu(e) {
730
- return e !== null && !eo(e) && e.constructor !== null && !eo(e.constructor) && gt(e.constructor.isBuffer) && e.constructor.isBuffer(e);
730
+ return e !== null && !eo(e) && e.constructor !== null && !eo(e.constructor) && ht(e.constructor.isBuffer) && e.constructor.isBuffer(e);
731
731
  }
732
732
  const _s = Rt("ArrayBuffer");
733
733
  function Lu(e) {
734
734
  let t;
735
735
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && _s(e.buffer), t;
736
736
  }
737
- const Vu = Go("string"), gt = Go("function"), Ds = Go("number"), Yo = (e) => e !== null && typeof e == "object", zu = (e) => e === !0 || e === !1, Bo = (e) => {
737
+ const Vu = Go("string"), ht = Go("function"), Ds = Go("number"), Yo = (e) => e !== null && typeof e == "object", zu = (e) => e === !0 || e === !1, Bo = (e) => {
738
738
  if (Ko(e) !== "object")
739
739
  return !1;
740
740
  const t = Yr(e);
741
741
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
742
- }, Mu = Rt("Date"), ju = Rt("File"), Uu = Rt("Blob"), Hu = Rt("FileList"), Wu = (e) => Yo(e) && gt(e.pipe), qu = (e) => {
742
+ }, Mu = Rt("Date"), ju = Rt("File"), Uu = Rt("Blob"), Hu = Rt("FileList"), Wu = (e) => Yo(e) && ht(e.pipe), qu = (e) => {
743
743
  let t;
744
- return e && (typeof FormData == "function" && e instanceof FormData || gt(e.append) && ((t = Ko(e)) === "formdata" || // detect form-data instance
745
- t === "object" && gt(e.toString) && e.toString() === "[object FormData]"));
744
+ return e && (typeof FormData == "function" && e instanceof FormData || ht(e.append) && ((t = Ko(e)) === "formdata" || // detect form-data instance
745
+ t === "object" && ht(e.toString) && e.toString() === "[object FormData]"));
746
746
  }, Ku = Rt("URLSearchParams"), [Gu, Yu, Xu, Ju] = ["ReadableStream", "Request", "Response", "Headers"].map(Rt), Qu = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
747
747
  function yo(e, t, { allOwnKeys: n = !1 } = {}) {
748
748
  if (e === null || typeof e > "u")
@@ -778,7 +778,7 @@ function Ir() {
778
778
  return t;
779
779
  }
780
780
  const Zu = (e, t, n, { allOwnKeys: o } = {}) => (yo(t, (r, a) => {
781
- n && gt(r) ? e[a] = As(r, n) : e[a] = r;
781
+ n && ht(r) ? e[a] = As(r, n) : e[a] = r;
782
782
  }, { allOwnKeys: o }), e), ec = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), tc = (e, t, n, o) => {
783
783
  e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
784
784
  value: t.prototype
@@ -832,10 +832,10 @@ const Zu = (e, t, n, { allOwnKeys: o } = {}) => (yo(t, (r, a) => {
832
832
  }), Object.defineProperties(e, o);
833
833
  }, dc = (e) => {
834
834
  Vs(e, (t, n) => {
835
- if (gt(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
835
+ if (ht(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
836
836
  return !1;
837
837
  const o = e[n];
838
- if (gt(o)) {
838
+ if (ht(o)) {
839
839
  if (t.enumerable = !1, "writable" in t) {
840
840
  t.writable = !1;
841
841
  return;
@@ -865,7 +865,7 @@ const Zu = (e, t, n, { allOwnKeys: o } = {}) => (yo(t, (r, a) => {
865
865
  return n;
866
866
  };
867
867
  function hc(e) {
868
- return !!(e && gt(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
868
+ return !!(e && ht(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
869
869
  }
870
870
  const bc = (e) => {
871
871
  const t = new Array(10), n = (o, r) => {
@@ -884,13 +884,13 @@ const bc = (e) => {
884
884
  return o;
885
885
  };
886
886
  return n(e, 0);
887
- }, yc = Rt("AsyncFunction"), vc = (e) => e && (Yo(e) || gt(e)) && gt(e.then) && gt(e.catch), Ms = ((e, t) => e ? setImmediate : t ? ((n, o) => (gn.addEventListener("message", ({ source: r, data: a }) => {
887
+ }, yc = Rt("AsyncFunction"), vc = (e) => e && (Yo(e) || ht(e)) && ht(e.then) && ht(e.catch), Ms = ((e, t) => e ? setImmediate : t ? ((n, o) => (gn.addEventListener("message", ({ source: r, data: a }) => {
888
888
  r === gn && a === n && o.length && o.shift()();
889
889
  }, !1), (r) => {
890
890
  o.push(r), gn.postMessage(n, "*");
891
891
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
892
892
  typeof setImmediate == "function",
893
- gt(gn.postMessage)
893
+ ht(gn.postMessage)
894
894
  ), wc = typeof queueMicrotask < "u" ? queueMicrotask.bind(gn) : typeof process < "u" && process.nextTick || Ms, U = {
895
895
  isArray: Dn,
896
896
  isArrayBuffer: _s,
@@ -911,7 +911,7 @@ const bc = (e) => {
911
911
  isFile: ju,
912
912
  isBlob: Uu,
913
913
  isRegExp: cc,
914
- isFunction: gt,
914
+ isFunction: ht,
915
915
  isStream: Wu,
916
916
  isURLSearchParams: Ku,
917
917
  isTypedArray: ac,
@@ -2435,8 +2435,8 @@ function Ua(e = {}) {
2435
2435
  ...e
2436
2436
  };
2437
2437
  }
2438
- function Et() {
2439
- Ge();
2438
+ function mt() {
2439
+ We();
2440
2440
  const e = dd(), t = Zr(), n = Xe.create({
2441
2441
  headers: Ua()
2442
2442
  });
@@ -2492,8 +2492,8 @@ function Et() {
2492
2492
  del: (l, u = !1, f = {}, d = {}) => c({ url: l, method: "delete", showLoader: u, payload: f, headers: d })
2493
2493
  };
2494
2494
  }
2495
- function ht() {
2496
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
2495
+ function bt() {
2496
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
2497
2497
  return {
2498
2498
  getEntityRecords: async (g, b = !1, y = {}) => {
2499
2499
  const k = a(), w = new URLSearchParams(y).toString(), x = w ? `/api/app/v1/${k}/entity/${g}/record?${w}` : `/api/app/v1/${k}/entity/${g}/record`;
@@ -2534,7 +2534,7 @@ function ht() {
2534
2534
  };
2535
2535
  }
2536
2536
  function fd(e = "") {
2537
- const t = new ht(), n = {
2537
+ const t = new bt(), n = {
2538
2538
  gt: "GREATER_THAN",
2539
2539
  dateAfter: "GREATER_THAN",
2540
2540
  equals: "EQUAL",
@@ -3023,7 +3023,7 @@ function Ga(e, t) {
3023
3023
  gr(r[a - 1], n[a - 1]);
3024
3024
  }
3025
3025
  }
3026
- function wt(e) {
3026
+ function kt(e) {
3027
3027
  return Object.keys(e);
3028
3028
  }
3029
3029
  function Ya(e, t = 0) {
@@ -3270,7 +3270,7 @@ async function Xd(e, t) {
3270
3270
  };
3271
3271
  }
3272
3272
  async function Jd(e, t, n) {
3273
- const r = wt(e).map(async (l) => {
3273
+ const r = kt(e).map(async (l) => {
3274
3274
  var u, f, d;
3275
3275
  const p = (u = n == null ? void 0 : n.names) === null || u === void 0 ? void 0 : u[l], m = await Hd(Gt(t, l), e[l], {
3276
3276
  name: (p == null ? void 0 : p.name) || l,
@@ -3320,14 +3320,14 @@ function fl(e) {
3320
3320
  X.errors = Xa(A), X.valid = !X.errors.length;
3321
3321
  }
3322
3322
  function g(F) {
3323
- wt(F).forEach((A) => {
3323
+ kt(F).forEach((A) => {
3324
3324
  m(A, F[A]);
3325
3325
  });
3326
3326
  }
3327
3327
  const b = ne(() => {
3328
3328
  const F = u.value.reduce((A, X) => (X.errors.length && (A[Oe(X.path)] = X.errors), A), {});
3329
3329
  return Object.assign(Object.assign({}, f.value), F);
3330
- }), y = ne(() => wt(b.value).reduce((F, A) => {
3330
+ }), y = ne(() => kt(b.value).reduce((F, A) => {
3331
3331
  const X = b.value[A];
3332
3332
  return X != null && X.length && (F[A] = X[0]), F;
3333
3333
  }, {})), k = ne(() => u.value.reduce((F, A) => (F[Oe(A.path)] = { name: Oe(A.path) || "", label: A.label || "" }, F), {})), w = ne(() => u.value.reduce((F, A) => {
@@ -3378,7 +3378,7 @@ function fl(e) {
3378
3378
  dirty: ne(() => !Xn(Z(K), Z(ge)))
3379
3379
  });
3380
3380
  return u.value.push(Le), d.value[oe] = Le, p(), y.value[oe] && !x[oe] && ct(() => {
3381
- qe(oe, { mode: "silent" });
3381
+ Ke(oe, { mode: "silent" });
3382
3382
  }), Vt(F) && Te(F, (Ue) => {
3383
3383
  p();
3384
3384
  const nt = je(K.value);
@@ -3387,9 +3387,9 @@ function fl(e) {
3387
3387
  });
3388
3388
  }), Le;
3389
3389
  }
3390
- const C = Ya(yt, 5), B = Ya(yt, 5), D = _d(async (F) => await (F === "silent" ? C() : B()), (F, [A]) => {
3391
- const X = wt(ke.errorBag.value), ge = [
3392
- .../* @__PURE__ */ new Set([...wt(F.results), ...u.value.map((ve) => ve.path), ...X])
3390
+ const C = Ya(vt, 5), B = Ya(vt, 5), D = _d(async (F) => await (F === "silent" ? C() : B()), (F, [A]) => {
3391
+ const X = kt(ke.errorBag.value), ge = [
3392
+ .../* @__PURE__ */ new Set([...kt(F.results), ...u.value.map((ve) => ve.path), ...X])
3393
3393
  ].sort().reduce((ve, de) => {
3394
3394
  var K;
3395
3395
  const oe = de, ue = z(oe) || Q(oe), le = ((K = F.results[oe]) === null || K === void 0 ? void 0 : K.errors) || [], he = Oe(ue == null ? void 0 : ue.path) || oe, Le = tf({ errors: le, valid: !le.length }, ve.results[he]);
@@ -3400,7 +3400,7 @@ function fl(e) {
3400
3400
  errors: {},
3401
3401
  source: F.source
3402
3402
  });
3403
- return F.values && (ge.values = F.values, ge.source = F.source), wt(ge.results).forEach((ve) => {
3403
+ return F.values && (ge.values = F.values, ge.source = F.source), kt(ge.results).forEach((ve) => {
3404
3404
  var de;
3405
3405
  const K = z(ve);
3406
3406
  K && A !== "silent" && (A === "validated-only" && !K.validated || m(K, (de = ge.results[ve]) === null || de === void 0 ? void 0 : de.errors));
@@ -3438,7 +3438,7 @@ function fl(e) {
3438
3438
  setErrors: g,
3439
3439
  setFieldError: m,
3440
3440
  setTouched: at,
3441
- setFieldTouched: bt,
3441
+ setFieldTouched: yt,
3442
3442
  setValues: rt,
3443
3443
  setFieldValue: Ee,
3444
3444
  resetForm: Pe,
@@ -3463,7 +3463,7 @@ function fl(e) {
3463
3463
  const X = u.value.findIndex((ge) => ge.path === F && (Array.isArray(ge.id) ? ge.id.includes(A) : ge.id === A)), se = u.value[X];
3464
3464
  if (!(X === -1 || !se)) {
3465
3465
  if (ct(() => {
3466
- qe(F, { mode: "silent", warn: !1 });
3466
+ Ke(F, { mode: "silent", warn: !1 });
3467
3467
  }), se.multiple && se.fieldsCount && se.fieldsCount--, Array.isArray(se.id)) {
3468
3468
  const ge = se.id.indexOf(A);
3469
3469
  ge >= 0 && se.id.splice(ge, 1), delete se.__flags.pendingUnmount[A];
@@ -3472,7 +3472,7 @@ function fl(e) {
3472
3472
  }
3473
3473
  }
3474
3474
  function pe(F) {
3475
- wt(d.value).forEach((A) => {
3475
+ kt(d.value).forEach((A) => {
3476
3476
  A.startsWith(F) && delete d.value[A];
3477
3477
  }), u.value = u.value.filter((A) => !A.path.startsWith(F)), ct(() => {
3478
3478
  p();
@@ -3495,11 +3495,11 @@ function fl(e) {
3495
3495
  validateSchema: Z(T) ? D : void 0,
3496
3496
  validate: Ae,
3497
3497
  setFieldError: m,
3498
- validateField: qe,
3498
+ validateField: Ke,
3499
3499
  setFieldValue: Ee,
3500
3500
  setValues: rt,
3501
3501
  setErrors: g,
3502
- setFieldTouched: bt,
3502
+ setFieldTouched: yt,
3503
3503
  setTouched: at,
3504
3504
  resetForm: Pe,
3505
3505
  resetField: ze,
@@ -3524,12 +3524,12 @@ function fl(e) {
3524
3524
  };
3525
3525
  function Ee(F, A, X = !0) {
3526
3526
  const se = je(A), ge = typeof F == "string" ? F : F.path;
3527
- z(ge) || V(ge), Wt(l, ge, se), X && qe(ge);
3527
+ z(ge) || V(ge), Wt(l, ge, se), X && Ke(ge);
3528
3528
  }
3529
- function mt(F, A = !0) {
3530
- wt(l).forEach((X) => {
3529
+ function gt(F, A = !0) {
3530
+ kt(l).forEach((X) => {
3531
3531
  delete l[X];
3532
- }), wt(F).forEach((X) => {
3532
+ }), kt(F).forEach((X) => {
3533
3533
  Ee(X, F[X], !1);
3534
3534
  }), A && Ae();
3535
3535
  }
@@ -3549,7 +3549,7 @@ function fl(e) {
3549
3549
  }
3550
3550
  });
3551
3551
  }
3552
- function bt(F, A) {
3552
+ function yt(F, A) {
3553
3553
  const X = z(F);
3554
3554
  X && (X.touched = A);
3555
3555
  }
@@ -3572,14 +3572,14 @@ function fl(e) {
3572
3572
  });
3573
3573
  return;
3574
3574
  }
3575
- wt(F).forEach((A) => {
3576
- bt(A, !!F[A]);
3575
+ kt(F).forEach((A) => {
3576
+ yt(A, !!F[A]);
3577
3577
  });
3578
3578
  }
3579
3579
  function ze(F, A) {
3580
3580
  var X;
3581
3581
  const se = A && "value" in A ? A.value : Gt(N.value, F), ge = z(F);
3582
- ge && (ge.__flags.pendingReset = !0), lt(F, je(se), !0), Ee(F, se, !1), bt(F, (X = A == null ? void 0 : A.touched) !== null && X !== void 0 ? X : !1), m(F, (A == null ? void 0 : A.errors) || []), ct(() => {
3582
+ ge && (ge.__flags.pendingReset = !0), lt(F, je(se), !0), Ee(F, se, !1), yt(F, (X = A == null ? void 0 : A.touched) !== null && X !== void 0 ? X : !1), m(F, (A == null ? void 0 : A.errors) || []), ct(() => {
3583
3583
  ge && (ge.__flags.pendingReset = !1);
3584
3584
  });
3585
3585
  }
@@ -3588,7 +3588,7 @@ function fl(e) {
3588
3588
  X = A != null && A.force ? X : to(I.value, X), X = rn(T) && Bt(T.cast) ? T.cast(X) : X, O(X, { force: A == null ? void 0 : A.force }), R((se) => {
3589
3589
  var ge;
3590
3590
  se.__flags.pendingReset = !0, se.validated = !1, se.touched = ((ge = F == null ? void 0 : F.touched) === null || ge === void 0 ? void 0 : ge[Oe(se.path)]) || !1, Ee(Oe(se.path), Gt(X, Oe(se.path)), !1), m(Oe(se.path), void 0);
3591
- }), A != null && A.force ? mt(X, !1) : rt(X, !1), g((F == null ? void 0 : F.errors) || {}), s.value = (F == null ? void 0 : F.submitCount) || 0, ct(() => {
3591
+ }), A != null && A.force ? gt(X, !1) : rt(X, !1), g((F == null ? void 0 : F.errors) || {}), s.value = (F == null ? void 0 : F.submitCount) || 0, ct(() => {
3592
3592
  Ae({ mode: "silent" }), R((se) => {
3593
3593
  se.__flags.pendingReset = !1;
3594
3594
  });
@@ -3625,7 +3625,7 @@ function fl(e) {
3625
3625
  source: "fields"
3626
3626
  };
3627
3627
  }
3628
- async function qe(F, A) {
3628
+ async function Ke(F, A) {
3629
3629
  var X;
3630
3630
  const se = z(F);
3631
3631
  return se && (A == null ? void 0 : A.mode) !== "silent" && (se.validated = !0), se != null && se.validate ? se.validate(A) : (!se && (X = A == null ? void 0 : A.warn), Promise.resolve({ errors: [], valid: !0 }));
@@ -3639,7 +3639,7 @@ function fl(e) {
3639
3639
  function lt(F, A, X = !1) {
3640
3640
  Wt(N.value, F, je(A)), X && Wt(I.value, F, je(A));
3641
3641
  }
3642
- async function yt() {
3642
+ async function vt() {
3643
3643
  const F = Z(T);
3644
3644
  if (!F)
3645
3645
  return { valid: !0, results: {}, errors: {}, source: "none" };
@@ -3663,18 +3663,18 @@ function fl(e) {
3663
3663
  const X = Bt(A) || A == null ? void 0 : A.label, se = z(Oe(F)) || V(F, { label: X }), ge = () => Bt(A) ? A(So(se, Co)) : A || {};
3664
3664
  function ve() {
3665
3665
  var le;
3666
- se.touched = !0, ((le = ge().validateOnBlur) !== null && le !== void 0 ? le : Kn().validateOnBlur) && qe(Oe(se.path));
3666
+ se.touched = !0, ((le = ge().validateOnBlur) !== null && le !== void 0 ? le : Kn().validateOnBlur) && Ke(Oe(se.path));
3667
3667
  }
3668
3668
  function de() {
3669
3669
  var le;
3670
3670
  ((le = ge().validateOnInput) !== null && le !== void 0 ? le : Kn().validateOnInput) && ct(() => {
3671
- qe(Oe(se.path));
3671
+ Ke(Oe(se.path));
3672
3672
  });
3673
3673
  }
3674
3674
  function K() {
3675
3675
  var le;
3676
3676
  ((le = ge().validateOnChange) !== null && le !== void 0 ? le : Kn().validateOnChange) && ct(() => {
3677
- qe(Oe(se.path));
3677
+ Ke(Oe(se.path));
3678
3678
  });
3679
3679
  }
3680
3680
  const oe = ne(() => {
@@ -3723,8 +3723,8 @@ function fl(e) {
3723
3723
  return Object.assign({ [de.model || "modelValue"]: X.value, [`onUpdate:${de.model || "modelValue"}`]: ve }, se.value);
3724
3724
  });
3725
3725
  }
3726
- const Ke = Object.assign(Object.assign({}, ke), { values: $s(l), handleReset: () => Pe(), submitForm: Jt });
3727
- return sn(Od, Ke), Ke;
3726
+ const Ge = Object.assign(Object.assign({}, ke), { values: $s(l), handleReset: () => Pe(), submitForm: Jt });
3727
+ return sn(Od, Ge), Ge;
3728
3728
  }
3729
3729
  function Zd(e, t, n, o) {
3730
3730
  const r = {
@@ -3734,7 +3734,7 @@ function Zd(e, t, n, o) {
3734
3734
  }, a = ne(() => !Xn(t, Z(n)));
3735
3735
  function i() {
3736
3736
  const c = e.value;
3737
- return wt(r).reduce((l, u) => {
3737
+ return kt(r).reduce((l, u) => {
3738
3738
  const f = r[u];
3739
3739
  return l[u] = c[f]((d) => d[u]), l;
3740
3740
  }, {});
@@ -3743,7 +3743,7 @@ function Zd(e, t, n, o) {
3743
3743
  return Io(() => {
3744
3744
  const c = i();
3745
3745
  s.touched = c.touched, s.valid = c.valid, s.pending = c.pending;
3746
- }), ne(() => Object.assign(Object.assign({ initialValues: Z(n) }, s), { valid: s.valid && !wt(o.value).length, dirty: a.value }));
3746
+ }), ne(() => Object.assign(Object.assign({ initialValues: Z(n) }, s), { valid: s.valid && !kt(o.value).length, dirty: a.value }));
3747
3747
  }
3748
3748
  function ef(e, t, n) {
3749
3749
  const o = dl(), r = E(o), a = E(je(o));
@@ -5277,7 +5277,7 @@ class wl extends zt {
5277
5277
  }
5278
5278
  ra.prototype = wl.prototype;
5279
5279
  function aa(e, t, n, o) {
5280
- const r = new ht();
5280
+ const r = new bt();
5281
5281
  let a = E({});
5282
5282
  const i = E({}), s = E({});
5283
5283
  let c = E([]);
@@ -5546,7 +5546,7 @@ const Nf = {
5546
5546
  addRecord: i,
5547
5547
  updateRecord: s,
5548
5548
  deleteRecord: c
5549
- } = ht(), l = e, u = E({});
5549
+ } = bt(), l = e, u = E({});
5550
5550
  let f = E("");
5551
5551
  const d = t;
5552
5552
  Me(() => {
@@ -5712,7 +5712,7 @@ const Nf = {
5712
5712
  }),
5713
5713
  emits: /* @__PURE__ */ xe(["onDeleteItem"], ["update:showDeleteDialog"]),
5714
5714
  setup(e, { emit: t }) {
5715
- const n = new ht(), o = De(e, "showDeleteDialog"), r = t, a = async () => {
5715
+ const n = new bt(), o = De(e, "showDeleteDialog"), r = t, a = async () => {
5716
5716
  try {
5717
5717
  const i = await n.deleteRecord(e.entityName, e.recordId);
5718
5718
  i && i.response && r("onDeleteItem");
@@ -5843,7 +5843,7 @@ function ui(e, t) {
5843
5843
  function Mt(e, t = !0) {
5844
5844
  return e instanceof Object && e.constructor === Object && (t || Object.keys(e).length !== 0);
5845
5845
  }
5846
- function xt(e, ...t) {
5846
+ function St(e, ...t) {
5847
5847
  return nr(e) ? e(...t) : e;
5848
5848
  }
5849
5849
  function pt(e, t = !0) {
@@ -5854,7 +5854,7 @@ function It(e) {
5854
5854
  }
5855
5855
  function ia(e, t = "", n = {}) {
5856
5856
  const o = It(t).split("."), r = o.shift();
5857
- return r ? Mt(e) ? ia(xt(e[Object.keys(e).find((a) => It(a) === r) || ""], n), o.join("."), n) : void 0 : xt(e, n);
5857
+ return r ? Mt(e) ? ia(St(e[Object.keys(e).find((a) => It(a) === r) || ""], n), o.join("."), n) : void 0 : St(e, n);
5858
5858
  }
5859
5859
  function or(e, t = !0) {
5860
5860
  return Array.isArray(e) && (t || e.length !== 0);
@@ -5884,7 +5884,7 @@ function ci(...e) {
5884
5884
  function Jn(e) {
5885
5885
  return e && e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":");
5886
5886
  }
5887
- function vt(e) {
5887
+ function wt(e) {
5888
5888
  if (e && /[\xC0-\xFF\u0100-\u017E]/.test(e)) {
5889
5889
  const n = {
5890
5890
  A: /[\xC0-\xC5\u0100\u0102\u0104]/g,
@@ -6055,7 +6055,7 @@ var ap = {
6055
6055
  return !0;
6056
6056
  if (t == null)
6057
6057
  return !1;
6058
- var r = vt(n.toString()).toLocaleLowerCase(o), a = vt(t.toString()).toLocaleLowerCase(o);
6058
+ var r = wt(n.toString()).toLocaleLowerCase(o), a = wt(t.toString()).toLocaleLowerCase(o);
6059
6059
  return a.slice(0, r.length) === r;
6060
6060
  },
6061
6061
  contains: function(t, n, o) {
@@ -6063,7 +6063,7 @@ var ap = {
6063
6063
  return !0;
6064
6064
  if (t == null)
6065
6065
  return !1;
6066
- var r = vt(n.toString()).toLocaleLowerCase(o), a = vt(t.toString()).toLocaleLowerCase(o);
6066
+ var r = wt(n.toString()).toLocaleLowerCase(o), a = wt(t.toString()).toLocaleLowerCase(o);
6067
6067
  return a.indexOf(r) !== -1;
6068
6068
  },
6069
6069
  notContains: function(t, n, o) {
@@ -6071,7 +6071,7 @@ var ap = {
6071
6071
  return !0;
6072
6072
  if (t == null)
6073
6073
  return !1;
6074
- var r = vt(n.toString()).toLocaleLowerCase(o), a = vt(t.toString()).toLocaleLowerCase(o);
6074
+ var r = wt(n.toString()).toLocaleLowerCase(o), a = wt(t.toString()).toLocaleLowerCase(o);
6075
6075
  return a.indexOf(r) === -1;
6076
6076
  },
6077
6077
  endsWith: function(t, n, o) {
@@ -6079,14 +6079,14 @@ var ap = {
6079
6079
  return !0;
6080
6080
  if (t == null)
6081
6081
  return !1;
6082
- var r = vt(n.toString()).toLocaleLowerCase(o), a = vt(t.toString()).toLocaleLowerCase(o);
6082
+ var r = wt(n.toString()).toLocaleLowerCase(o), a = wt(t.toString()).toLocaleLowerCase(o);
6083
6083
  return a.indexOf(r, a.length - r.length) !== -1;
6084
6084
  },
6085
6085
  equals: function(t, n, o) {
6086
- return n == null || n === "" ? !0 : t == null ? !1 : t.getTime && n.getTime ? t.getTime() === n.getTime() : vt(t.toString()).toLocaleLowerCase(o) == vt(n.toString()).toLocaleLowerCase(o);
6086
+ return n == null || n === "" ? !0 : t == null ? !1 : t.getTime && n.getTime ? t.getTime() === n.getTime() : wt(t.toString()).toLocaleLowerCase(o) == wt(n.toString()).toLocaleLowerCase(o);
6087
6087
  },
6088
6088
  notEquals: function(t, n, o) {
6089
- return n == null || n === "" ? !1 : t == null ? !0 : t.getTime && n.getTime ? t.getTime() !== n.getTime() : vt(t.toString()).toLocaleLowerCase(o) != vt(n.toString()).toLocaleLowerCase(o);
6089
+ return n == null || n === "" ? !1 : t == null ? !0 : t.getTime && n.getTime ? t.getTime() !== n.getTime() : wt(t.toString()).toLocaleLowerCase(o) != wt(n.toString()).toLocaleLowerCase(o);
6090
6090
  },
6091
6091
  in: function(t, n) {
6092
6092
  if (n == null || n.length === 0)
@@ -6170,7 +6170,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6170
6170
  }
6171
6171
  },
6172
6172
  setup(e) {
6173
- const t = Ge(), n = e;
6173
+ const t = We(), n = e;
6174
6174
  console.log("columnsToShow", n.columnsToShow);
6175
6175
  const o = un(), r = E(n.entityName || o.params.entityName), a = E({}), i = E(""), s = E(!1), c = E(!1), { items: l, headers: u, first: f, totalRecords: d, pageSize: p, loading: m, sortBy: g, sortDirection: b, operatorMap: y, filterToSend: k, primarayKeyColumn: w, fullTextSearch: x, listingResponse: $, onFullTextSearch: N, getDatatypeByField: I, getColumnDatatype: O, onSort: M, onPage: W, onFilter: T, fetchEntityFilterData: V, fetchEntityByName: C, showEntityData: B } = fd(r.value), D = E();
6176
6176
  let R = E(!1);
@@ -6237,7 +6237,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6237
6237
  ), Te(() => u.value, (be) => {
6238
6238
  !R.value && be && be.length && (z(be), R.value = !0);
6239
6239
  }, { immediate: !0 }), (be, pe) => {
6240
- const ke = G("Button"), Ee = G("Toolbar"), mt = G("ProgressSpinner"), rt = G("InputIcon"), $t = G("IconField"), bt = G("DatePicker"), ae = G("InputNumber"), J = G("Checkbox"), Re = G("Column"), at = G("DataTable");
6240
+ const ke = G("Button"), Ee = G("Toolbar"), gt = G("ProgressSpinner"), rt = G("InputIcon"), $t = G("IconField"), yt = G("DatePicker"), ae = G("InputNumber"), J = G("Checkbox"), Re = G("Column"), at = G("DataTable");
6241
6241
  return h(), S(ie, null, [
6242
6242
  v("div", Xt(bo(be.$attrs)), [
6243
6243
  fe(be.$slots, "header"),
@@ -6306,7 +6306,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6306
6306
  pe[9] || (pe[9] = et(" No data found. "))
6307
6307
  ]),
6308
6308
  loading: re(() => [
6309
- q(mt)
6309
+ q(gt)
6310
6310
  ]),
6311
6311
  default: re(() => {
6312
6312
  var ze;
@@ -6332,9 +6332,9 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6332
6332
  Pe.datatype.toLowerCase() === "date" && Pe.filterable ? {
6333
6333
  name: "filter",
6334
6334
  fn: re(({ filterModel: Ae }) => [
6335
- q(bt, {
6335
+ q(yt, {
6336
6336
  modelValue: Ae.value,
6337
- "onUpdate:modelValue": (qe) => Ae.value = qe,
6337
+ "onUpdate:modelValue": (Ke) => Ae.value = Ke,
6338
6338
  dateFormat: "mm/dd/yy",
6339
6339
  placeholder: "mm/dd/yyyy"
6340
6340
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -6345,7 +6345,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6345
6345
  fn: re(({ filterModel: Ae }) => [
6346
6346
  q(ae, {
6347
6347
  modelValue: Ae.value,
6348
- "onUpdate:modelValue": (qe) => Ae.value = qe,
6348
+ "onUpdate:modelValue": (Ke) => Ae.value = Ke,
6349
6349
  placeholder: "Search..."
6350
6350
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
6351
6351
  ]),
@@ -6355,7 +6355,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6355
6355
  fn: re(({ filterModel: Ae }) => [
6356
6356
  q(J, {
6357
6357
  modelValue: Ae.value,
6358
- "onUpdate:modelValue": (qe) => Ae.value = qe,
6358
+ "onUpdate:modelValue": (Ke) => Ae.value = Ke,
6359
6359
  indeterminate: Ae.value === null,
6360
6360
  binary: ""
6361
6361
  }, null, 8, ["modelValue", "onUpdate:modelValue", "indeterminate"])
@@ -6368,7 +6368,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6368
6368
  style: { width: "150px" },
6369
6369
  type: "text",
6370
6370
  modelValue: Ae.value,
6371
- "onUpdate:modelValue": (qe) => Ae.value = qe,
6371
+ "onUpdate:modelValue": (Ke) => Ae.value = Ke,
6372
6372
  class: "p-column-filter",
6373
6373
  placeholder: "Search..."
6374
6374
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -6469,7 +6469,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6469
6469
  },
6470
6470
  setup(e) {
6471
6471
  un();
6472
- const t = Ge(), n = E("");
6472
+ const t = We(), n = E("");
6473
6473
  t.getAppId() != null && t.getAppId() != "" && (n.value = t.getAppId());
6474
6474
  const o = E(), r = E(!1), a = E(!1), i = E({}), s = E([
6475
6475
  {
@@ -6494,7 +6494,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6494
6494
  class: "flex relative m-3",
6495
6495
  style: { border: "1px solid var(--surface-border)", "border-radius": "5px" }
6496
6496
  }, [
6497
- kt(q(p, {
6497
+ xt(q(p, {
6498
6498
  onClick: d[0] || (d[0] = (b) => l(b, e.linkEntityListItem)),
6499
6499
  class: "!absolute right-0",
6500
6500
  size: "small",
@@ -6573,7 +6573,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6573
6573
  emits: ["update:modelValue"],
6574
6574
  setup(e) {
6575
6575
  un();
6576
- const t = e, n = De(e, "modelValue"), o = new ht(), r = E({}), a = E([]), i = E({}), s = E([]), c = E([]), l = E({}), u = E("id"), f = E(1), d = E([]), p = E(25), m = E(0), g = E(0), b = E(0);
6576
+ const t = e, n = De(e, "modelValue"), o = new bt(), r = E({}), a = E([]), i = E({}), s = E([]), c = E([]), l = E({}), u = E("id"), f = E(1), d = E([]), p = E(25), m = E(0), g = E(0), b = E(0);
6577
6577
  let y = E([]);
6578
6578
  const k = E(!1), w = {
6579
6579
  gt: "GREATER_THAN",
@@ -6766,7 +6766,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6766
6766
  sortable: !0,
6767
6767
  displayFormatKey: J.displayFormatKey,
6768
6768
  displayFormat: J.displayFormat
6769
- })), mt = () => {
6769
+ })), gt = () => {
6770
6770
  N();
6771
6771
  }, rt = (ae) => {
6772
6772
  const J = c.value.find((Re) => Re.field === ae);
@@ -6785,12 +6785,12 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6785
6785
  default:
6786
6786
  return "text";
6787
6787
  }
6788
- }, bt = (ae) => {
6788
+ }, yt = (ae) => {
6789
6789
  p.value = ae.rows, m.value = ae.page, b.value = ae.first, N();
6790
6790
  };
6791
6791
  return (ae, J) => {
6792
6792
  var Qt, cn;
6793
- const Re = G("InputIcon"), at = G("InputText"), ze = G("IconField"), Pe = G("Select"), Ae = G("Divider"), qe = G("InputNumber"), Ft = G("DatePicker"), Qe = G("Button"), lt = G("Checkbox"), yt = G("Paginator"), Jt = qr("tooltip");
6793
+ const Re = G("InputIcon"), at = G("InputText"), ze = G("IconField"), Pe = G("Select"), Ae = G("Divider"), Ke = G("InputNumber"), Ft = G("DatePicker"), Qe = G("Button"), lt = G("Checkbox"), vt = G("Paginator"), Jt = qr("tooltip");
6794
6794
  return h(), S(ie, null, [
6795
6795
  v("div", gp, [
6796
6796
  v("div", hp, [
@@ -6833,7 +6833,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6833
6833
  optionValue: "field",
6834
6834
  highlightOnSelect: !1,
6835
6835
  class: "w-full",
6836
- onChange: J[4] || (J[4] = (me) => mt(ae.event))
6836
+ onChange: J[4] || (J[4] = (me) => gt(ae.event))
6837
6837
  }, null, 8, ["modelValue", "options"])
6838
6838
  ])
6839
6839
  ]),
@@ -6850,7 +6850,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6850
6850
  optionValue: "value",
6851
6851
  highlightOnSelect: !1,
6852
6852
  class: "w-full",
6853
- onChange: J[6] || (J[6] = (me) => mt(ae.event))
6853
+ onChange: J[6] || (J[6] = (me) => gt(ae.event))
6854
6854
  }, null, 8, ["modelValue"])
6855
6855
  ])
6856
6856
  ]),
@@ -6862,14 +6862,14 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6862
6862
  v("div", Op, [
6863
6863
  q(Pe, {
6864
6864
  modelValue: me.columnName,
6865
- "onUpdate:modelValue": (Ke) => me.columnName = Ke,
6865
+ "onUpdate:modelValue": (Ge) => me.columnName = Ge,
6866
6866
  options: _(Ot),
6867
6867
  optionLabel: "label",
6868
6868
  placeholder: "Select column",
6869
6869
  optionValue: "value",
6870
6870
  highlightOnSelect: !1,
6871
6871
  class: "w-full",
6872
- onChange: (Ke) => P(me)
6872
+ onChange: (Ge) => P(me)
6873
6873
  }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "onChange"])
6874
6874
  ])
6875
6875
  ]),
@@ -6878,7 +6878,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6878
6878
  v("div", Ip, [
6879
6879
  q(Pe, {
6880
6880
  modelValue: me.operator,
6881
- "onUpdate:modelValue": (Ke) => me.operator = Ke,
6881
+ "onUpdate:modelValue": (Ge) => me.operator = Ge,
6882
6882
  options: Y(me),
6883
6883
  optionLabel: "label",
6884
6884
  placeholder: "Select operator",
@@ -6891,24 +6891,24 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6891
6891
  v("div", Bp, [
6892
6892
  J[14] || (J[14] = v("div", { class: "col-12 font-bold" }, "Filter value", -1)),
6893
6893
  v("div", Rp, [
6894
- Be(me) == "numeric" ? (h(), H(qe, {
6894
+ Be(me) == "numeric" ? (h(), H(Ke, {
6895
6895
  key: 0,
6896
6896
  format: !1,
6897
6897
  class: "w-full",
6898
6898
  modelValue: me.value,
6899
- "onUpdate:modelValue": (Ke) => me.value = Ke,
6899
+ "onUpdate:modelValue": (Ge) => me.value = Ge,
6900
6900
  placeholder: "Search value"
6901
6901
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : Be(me) == "date" ? (h(), H(Ft, {
6902
6902
  key: 1,
6903
6903
  class: "w-full",
6904
6904
  modelValue: me.value,
6905
- "onUpdate:modelValue": (Ke) => me.value = Ke,
6905
+ "onUpdate:modelValue": (Ge) => me.value = Ge,
6906
6906
  dateFormat: "mm/dd/yy",
6907
6907
  placeholder: "mm/dd/yyyy"
6908
6908
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), H(at, {
6909
6909
  key: 2,
6910
6910
  modelValue: me.value,
6911
- "onUpdate:modelValue": (Ke) => me.value = Ke,
6911
+ "onUpdate:modelValue": (Ge) => me.value = Ge,
6912
6912
  class: "w-full",
6913
6913
  placeholder: "Search value"
6914
6914
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
@@ -6920,14 +6920,14 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6920
6920
  label: "Hide",
6921
6921
  icon: "",
6922
6922
  severity: "warning",
6923
- onClick: (Ke) => pe(me)
6923
+ onClick: (Ge) => pe(me)
6924
6924
  }, null, 8, ["onClick"]),
6925
6925
  q(Qe, {
6926
6926
  style: { width: "100px" },
6927
6927
  label: "Delete",
6928
6928
  icon: "",
6929
6929
  severity: "danger",
6930
- onClick: (Ke) => be(Ot)
6930
+ onClick: (Ge) => be(Ot)
6931
6931
  }, null, 8, ["onClick"])
6932
6932
  ])
6933
6933
  ])) : j("", !0),
@@ -6952,7 +6952,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6952
6952
  label: "Edit",
6953
6953
  icon: "",
6954
6954
  severity: "info",
6955
- onClick: (Ke) => pe(me)
6955
+ onClick: (Ge) => pe(me)
6956
6956
  }, null, 8, ["onClick"])
6957
6957
  ])
6958
6958
  ]))
@@ -6986,14 +6986,14 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
6986
6986
  q(lt, {
6987
6987
  disabled: $(me[l.value.name]),
6988
6988
  modelValue: a.value,
6989
- "onUpdate:modelValue": J[7] || (J[7] = (Ke) => a.value = Ke),
6989
+ "onUpdate:modelValue": J[7] || (J[7] = (Ge) => a.value = Ge),
6990
6990
  value: me[l.value.name]
6991
6991
  }, null, 8, ["disabled", "modelValue", "value"]),
6992
6992
  v("div", jp, [
6993
6993
  et(ee(e.linkedEntity.entityName) + " ", 1),
6994
6994
  v("span", null, ee(me[l.value.name]), 1)
6995
6995
  ]),
6996
- $(me[l.value.name]) ? kt((h(), S("div", Up, null, 512)), [
6996
+ $(me[l.value.name]) ? xt((h(), S("div", Up, null, 512)), [
6997
6997
  [
6998
6998
  Jt,
6999
6999
  "This record is already associated.",
@@ -7003,11 +7003,11 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
7003
7003
  ]) : j("", !0)
7004
7004
  ])
7005
7005
  ]))), 128)),
7006
- q(yt, {
7006
+ q(vt, {
7007
7007
  rows: p.value,
7008
7008
  totalRecords: g.value,
7009
7009
  rowsPerPageOptions: [10, 25, 50, 100],
7010
- onPage: bt,
7010
+ onPage: yt,
7011
7011
  template: "FirstPageLink PageLinks LastPageLink CurrentPageReport RowsPerPageDropdown",
7012
7012
  currentPageReportTemplate: ""
7013
7013
  }, null, 8, ["rows", "totalRecords"])
@@ -7070,7 +7070,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
7070
7070
  addRecord: a,
7071
7071
  updateRecord: i,
7072
7072
  deleteRecord: s
7073
- } = ht(), c = e, l = De(e, "modelValue");
7073
+ } = bt(), c = e, l = De(e, "modelValue");
7074
7074
  new EntityRecordService();
7075
7075
  const u = E({}), f = E({});
7076
7076
  let d = E("");
@@ -7474,7 +7474,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
7474
7474
  emits: ["onSaveDialog"],
7475
7475
  setup(e, { expose: t, emit: n }) {
7476
7476
  var T, V;
7477
- const o = Ge(), r = un(), a = e, i = E(!0), s = E(!1), c = E([]);
7477
+ const o = We(), r = un(), a = e, i = E(!0), s = E(!1), c = E([]);
7478
7478
  let l = (T = r == null ? void 0 : r.params) == null ? void 0 : T.entityName, u = (V = r == null ? void 0 : r.params) == null ? void 0 : V.id;
7479
7479
  a.entityName && (l = a.entityName), a.recordId && (u = a.recordId);
7480
7480
  const f = n, { formData: d, columns: p, errors: m, backendErrors: g, isDataChange: b, linkedEntities: y, primarayColumn: k, clearErrors: w, saveRecord: x, getRelatedEntityRecordById: $, cancleRecord: N } = aa(l, u, f);
@@ -7692,7 +7692,7 @@ const ip = { key: 0 }, sp = { key: 1 }, sa = {
7692
7692
  }, mi = /* @__PURE__ */ Je(zm, [["__scopeId", "data-v-12a444f4"]]), Mm = E("id"), jm = E(1), Um = E(25), Hm = E(0), gi = E([]);
7693
7693
  E("");
7694
7694
  function rr() {
7695
- const e = ot("getVariable"), t = new ht();
7695
+ const e = ot("getVariable"), t = new bt();
7696
7696
  let { errors: n, setErrors: o } = fl(), r = Lt({
7697
7697
  data: null
7698
7698
  });
@@ -8687,7 +8687,7 @@ const rg = /* @__PURE__ */ Je(ng, [["render", og]]), ag = { class: "my-2" }, ig
8687
8687
  ], 64);
8688
8688
  };
8689
8689
  }
8690
- }, St = /* @__PURE__ */ Je(Og, [["__scopeId", "data-v-2bc5d993"]]), Nt = {
8690
+ }, Ct = /* @__PURE__ */ Je(Og, [["__scopeId", "data-v-2bc5d993"]]), Nt = {
8691
8691
  __name: "EntityListPagination",
8692
8692
  setup(e) {
8693
8693
  const t = E(25), n = E(0), o = E(0), r = E(0);
@@ -8726,7 +8726,7 @@ const rg = /* @__PURE__ */ Je(ng, [["render", og]]), ag = { class: "my-2" }, ig
8726
8726
  }, null, 8, ["rows", "totalRecords"]);
8727
8727
  };
8728
8728
  }
8729
- }, Tg = { class: "flex flex-row justify-end p-2 my-1" }, Ct = {
8729
+ }, Tg = { class: "flex flex-row justify-end p-2 my-1" }, Et = {
8730
8730
  __name: "EntityListAddButton",
8731
8731
  setup(e) {
8732
8732
  const t = E(!1), n = () => {
@@ -8768,7 +8768,7 @@ const rg = /* @__PURE__ */ Je(ng, [["render", og]]), ag = { class: "my-2" }, ig
8768
8768
  }
8769
8769
  },
8770
8770
  setup(e, { expose: t }) {
8771
- const n = rr(), o = Ge();
8771
+ const n = rr(), o = We();
8772
8772
  sn("entityObject", n);
8773
8773
  const r = e;
8774
8774
  return t({
@@ -8790,13 +8790,13 @@ const rg = /* @__PURE__ */ Je(ng, [["render", og]]), ag = { class: "my-2" }, ig
8790
8790
  ), (i, s) => {
8791
8791
  var c, l, u;
8792
8792
  return i.$slots["list-item-display"] ? (h(), S(ie, { key: 0 }, [
8793
- e.showAddButton ? (h(), H(Ct, { key: 0 })) : j("", !0),
8794
- e.listFilerSlot ? (h(), H(_e(e.listFilter || St), { key: 1 })) : j("", !0),
8793
+ e.showAddButton ? (h(), H(Et, { key: 0 })) : j("", !0),
8794
+ e.listFilerSlot ? (h(), H(_e(e.listFilter || Ct), { key: 1 })) : j("", !0),
8795
8795
  (h(!0), S(ie, null, Ce(((u = (l = (c = Z(n)) == null ? void 0 : c.state) == null ? void 0 : l.data) == null ? void 0 : u.result) || [], (f) => fe(i.$slots, "list-item-display", { item: f })), 256))
8796
8796
  ], 64)) : (h(), S(ie, { key: 1 }, [
8797
8797
  (h(), H(_e(e.listHeader || sg))),
8798
- (h(), H(_e(e.listFilter || St))),
8799
- e.showAddButton ? (h(), H(Ct, { key: 0 })) : j("", !0),
8798
+ (h(), H(_e(e.listFilter || Ct))),
8799
+ e.showAddButton ? (h(), H(Et, { key: 0 })) : j("", !0),
8800
8800
  (h(), H(_e(e.listDisplay || tg), Xt(bo({ listItemDisplay: e.listItemDisplay })), null, 16)),
8801
8801
  (h(), H(_e(e.listPagination || Nt))),
8802
8802
  (h(), H(_e(e.listFooter || rg)))
@@ -8805,8 +8805,8 @@ const rg = /* @__PURE__ */ Je(ng, [["render", og]]), ag = { class: "my-2" }, ig
8805
8805
  }
8806
8806
  };
8807
8807
  function Ig() {
8808
- Ge();
8809
- const { get: e, post: t, put: n, del: o } = Et();
8808
+ We();
8809
+ const { get: e, post: t, put: n, del: o } = mt();
8810
8810
  return {
8811
8811
  getActiveUser: async (w = !1) => await e("/users/me"),
8812
8812
  getAppSecurity: async (w, x = !1) => await e(`/api/app/v1/${w}/security`, x),
@@ -9453,20 +9453,20 @@ _n({
9453
9453
  be.value = !1, a.cleanup(), x && clearTimeout(x), Y && cancelAnimationFrame(Y), w && clearInterval(w), $ && ($.disconnect(), $ = null), typeof document < "u" && Re(), c.value && (c.value.removeEventListener("transitionend", L), c.value.removeEventListener("animationiteration", L));
9454
9454
  });
9455
9455
  let pe = !1;
9456
- const ke = { x: 0, y: 0 }, Ee = Lt({ x: 0, y: 0 }), mt = E(!1), rt = E(!1), $t = () => {
9457
- mt.value = !0;
9458
- }, bt = () => {
9459
- mt.value = !1;
9456
+ const ke = { x: 0, y: 0 }, Ee = Lt({ x: 0, y: 0 }), gt = E(!1), rt = E(!1), $t = () => {
9457
+ gt.value = !0;
9458
+ }, yt = () => {
9459
+ gt.value = !1;
9460
9460
  }, ae = kr((K) => {
9461
9461
  if (!K.ctrlKey)
9462
9462
  switch (K.key) {
9463
9463
  case "ArrowLeft":
9464
9464
  case "ArrowUp":
9465
- M.value === K.key.endsWith("Up") && (O.value ? yt(!0) : Jt(!0));
9465
+ M.value === K.key.endsWith("Up") && (O.value ? vt(!0) : Jt(!0));
9466
9466
  break;
9467
9467
  case "ArrowRight":
9468
9468
  case "ArrowDown":
9469
- M.value === K.key.endsWith("Down") && (O.value ? Jt(!0) : yt(!0));
9469
+ M.value === K.key.endsWith("Down") && (O.value ? Jt(!0) : vt(!0));
9470
9470
  break;
9471
9471
  }
9472
9472
  }, 200), J = () => {
@@ -9511,14 +9511,14 @@ _n({
9511
9511
  }
9512
9512
  function Ae() {
9513
9513
  !d.autoplay || d.autoplay <= 0 || (w = setInterval(() => {
9514
- d.pauseAutoplayOnHover && mt.value || yt();
9514
+ d.pauseAutoplayOnHover && gt.value || vt();
9515
9515
  }, d.autoplay));
9516
9516
  }
9517
- function qe() {
9517
+ function Ke() {
9518
9518
  w && (clearInterval(w), w = null);
9519
9519
  }
9520
9520
  function Ft() {
9521
- qe(), Ae();
9521
+ Ke(), Ae();
9522
9522
  }
9523
9523
  const Qe = E(!1);
9524
9524
  function lt(K, oe = !1) {
@@ -9538,7 +9538,7 @@ _n({
9538
9538
  currentSlideIndex: p.value,
9539
9539
  prevSlideIndex: g.value,
9540
9540
  slidesCount: s.value
9541
- }), qe(), Qe.value = !0, p.value = ue, le !== ue && cn.pause(), n("update:modelValue", le), x = setTimeout(() => {
9541
+ }), Ke(), Qe.value = !0, p.value = ue, le !== ue && cn.pause(), n("update:modelValue", le), x = setTimeout(() => {
9542
9542
  d.wrapAround && le !== ue && (cn.resume(), p.value = le, n("loop", {
9543
9543
  currentSlideIndex: p.value,
9544
9544
  slidingToIndex: K
@@ -9549,7 +9549,7 @@ _n({
9549
9549
  }), Qe.value = !1, Ft();
9550
9550
  }, d.transition);
9551
9551
  }
9552
- function yt(K = !1) {
9552
+ function vt(K = !1) {
9553
9553
  lt(p.value + d.itemsToScroll, K);
9554
9554
  }
9555
9555
  function Jt(K = !1) {
@@ -9573,7 +9573,7 @@ _n({
9573
9573
  before: Math.max(0, ue),
9574
9574
  after: Math.max(0, le)
9575
9575
  };
9576
- }), Ot = ne(() => me.value.before ? W.value ? D.value.slice(-1 * me.value.before).reduce((K, oe) => K + oe[T.value] + d.gap, 0) * -1 : me.value.before * N.value * -1 : 0), Ke = ne(() => {
9576
+ }), Ot = ne(() => me.value.before ? W.value ? D.value.slice(-1 * me.value.before).reduce((K, oe) => K + oe[T.value] + d.gap, 0) * -1 : me.value.before * N.value * -1 : 0), Ge = ne(() => {
9577
9577
  var K;
9578
9578
  if (W.value) {
9579
9579
  const oe = (p.value % i.length + i.length) % i.length;
@@ -9590,7 +9590,7 @@ _n({
9590
9590
  }), F = ne(() => {
9591
9591
  let K = 0;
9592
9592
  if (W.value) {
9593
- if (p.value < 0 ? K = D.value.slice(p.value).reduce((oe, ue) => oe + ue[T.value] + d.gap, 0) * -1 : K = D.value.slice(0, p.value).reduce((oe, ue) => oe + ue[T.value] + d.gap, 0), K -= Ke.value, !d.wrapAround) {
9593
+ if (p.value < 0 ? K = D.value.slice(p.value).reduce((oe, ue) => oe + ue[T.value] + d.gap, 0) * -1 : K = D.value.slice(0, p.value).reduce((oe, ue) => oe + ue[T.value] + d.gap, 0), K -= Ge.value, !d.wrapAround) {
9594
9594
  const oe = D.value.reduce((ue, le) => ue + le[T.value] + d.gap, 0) - z.value[T.value] - d.gap;
9595
9595
  K = Ut({
9596
9596
  val: K,
@@ -9599,7 +9599,7 @@ _n({
9599
9599
  });
9600
9600
  }
9601
9601
  } else {
9602
- let oe = p.value - Ke.value;
9602
+ let oe = p.value - Ge.value;
9603
9603
  d.wrapAround || (oe = Ut({
9604
9604
  val: oe,
9605
9605
  max: s.value - +d.itemsToShow,
@@ -9610,7 +9610,7 @@ _n({
9610
9610
  }), A = ne(() => {
9611
9611
  var K, oe;
9612
9612
  if (!W.value) {
9613
- const he = p.value - Ke.value;
9613
+ const he = p.value - Ge.value;
9614
9614
  return d.wrapAround ? {
9615
9615
  min: Math.floor(he),
9616
9616
  max: Math.ceil(he + Number(d.itemsToShow) - 1)
@@ -9671,7 +9671,7 @@ _n({
9671
9671
  "--vc-slide-gap": Oo(d.gap),
9672
9672
  "--vc-carousel-height": Oo(d.height),
9673
9673
  "--vc-cloned-offset": Oo(Ot.value)
9674
- })), ge = { slideTo: lt, next: yt, prev: Jt }, ve = Lt({
9674
+ })), ge = { slideTo: lt, next: vt, prev: Jt }, ve = Lt({
9675
9675
  activeSlide: m,
9676
9676
  config: d,
9677
9677
  currentSlide: p,
@@ -9701,7 +9701,7 @@ _n({
9701
9701
  return o({
9702
9702
  data: de,
9703
9703
  nav: ge,
9704
- next: yt,
9704
+ next: vt,
9705
9705
  prev: Jt,
9706
9706
  restartCarousel: Qt,
9707
9707
  slideTo: lt,
@@ -9740,7 +9740,7 @@ _n({
9740
9740
  "is-vertical": M.value,
9741
9741
  "is-sliding": Qe.value,
9742
9742
  "is-dragging": rt.value,
9743
- "is-hover": mt.value
9743
+ "is-hover": gt.value
9744
9744
  }
9745
9745
  ],
9746
9746
  dir: I.value,
@@ -9750,7 +9750,7 @@ _n({
9750
9750
  onFocus: J,
9751
9751
  onBlur: Re,
9752
9752
  onMouseenter: $t,
9753
- onMouseleave: bt
9753
+ onMouseleave: yt
9754
9754
  }, [Mn, Vn, tt(Kg)]);
9755
9755
  };
9756
9756
  }
@@ -10063,7 +10063,7 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10063
10063
  }
10064
10064
  },
10065
10065
  setup(e, { expose: t, emit: n }) {
10066
- const o = e, r = Ge(), a = new ht();
10066
+ const o = e, r = We(), a = new bt();
10067
10067
  E(null), E(null);
10068
10068
  const i = E("id"), s = E(1), c = E(25), l = E(0), u = E(null), f = n, d = E([]), p = E([]), m = E(!0), g = E(null), { hasMatchingRoleAndPermissions: b } = Sn(), y = rr();
10069
10069
  sn("entityObject", y), Me(async () => {
@@ -10153,12 +10153,12 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10153
10153
  v("div", Jg, [
10154
10154
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", Qg, [
10155
10155
  v("div", Zg, [
10156
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
10156
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
10157
10157
  key: 0,
10158
10158
  externalFilterPayload: o.externalFilterPayload,
10159
10159
  preFiltered: o.preFiltered
10160
10160
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
10161
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
10161
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
10162
10162
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
10163
10163
  key: 2,
10164
10164
  class: "ml-auto"
@@ -10189,12 +10189,12 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10189
10189
  ], 2),
10190
10190
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", nh, [
10191
10191
  v("div", oh, [
10192
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
10192
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
10193
10193
  key: 0,
10194
10194
  externalFilterPayload: o.externalFilterPayload,
10195
10195
  preFiltered: o.preFiltered
10196
10196
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
10197
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
10197
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
10198
10198
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
10199
10199
  key: 2,
10200
10200
  class: "ml-auto"
@@ -10212,12 +10212,12 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10212
10212
  v("div", sh, [
10213
10213
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", lh, [
10214
10214
  v("div", uh, [
10215
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
10215
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
10216
10216
  key: 0,
10217
10217
  externalFilterPayload: o.externalFilterPayload,
10218
10218
  preFiltered: o.preFiltered
10219
10219
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
10220
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
10220
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
10221
10221
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
10222
10222
  key: 2,
10223
10223
  class: "ml-auto"
@@ -10246,12 +10246,12 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10246
10246
  ]))), 128)),
10247
10247
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", fh, [
10248
10248
  v("div", ph, [
10249
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
10249
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
10250
10250
  key: 0,
10251
10251
  externalFilterPayload: o.externalFilterPayload,
10252
10252
  preFiltered: o.preFiltered
10253
10253
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
10254
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
10254
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
10255
10255
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
10256
10256
  key: 2,
10257
10257
  class: "ml-auto"
@@ -10396,7 +10396,7 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10396
10396
  }
10397
10397
  },
10398
10398
  setup(e, { expose: t }) {
10399
- const n = rr(), o = Ge();
10399
+ const n = rr(), o = We();
10400
10400
  sn("entityObject", n);
10401
10401
  const r = e, a = E([]);
10402
10402
  return Te(() => n.state.data, (c) => {
@@ -10423,8 +10423,8 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10423
10423
  return h(), S("div", Xt(bo(c.$attrs)), [
10424
10424
  c.$slots["list-item-display-tile"] ? (h(), S(ie, { key: 0 }, [
10425
10425
  fe(c.$slots, "header", {}, void 0, !0),
10426
- e.showAddButton ? (h(), H(Ct, { key: 0 })) : j("", !0),
10427
- e.showFilters ? (h(), H(_e(e.listFilter || St), { key: 1 })) : j("", !0),
10426
+ e.showAddButton ? (h(), H(Et, { key: 0 })) : j("", !0),
10427
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), { key: 1 })) : j("", !0),
10428
10428
  v("div", Eh, [
10429
10429
  (h(!0), S(ie, null, Ce(((d = (f = (u = Z(n)) == null ? void 0 : u.state) == null ? void 0 : f.data) == null ? void 0 : d.result) || [], (p, m) => (h(), S("div", {
10430
10430
  key: m,
@@ -10437,8 +10437,8 @@ const Jg = { class: "flex items-center justify-between rounded-md w-full overflo
10437
10437
  ], 64)) : (h(), S(ie, { key: 1 }, [
10438
10438
  fe(c.$slots, "header", {}, void 0, !0),
10439
10439
  e.entityName ? (h(), S("div", Ih, [
10440
- e.showFilters ? (h(), H(_e(e.listFilter || St), { key: 0 })) : j("", !0),
10441
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
10440
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), { key: 0 })) : j("", !0),
10441
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
10442
10442
  v("div", Bh, [
10443
10443
  (h(!0), S(ie, null, Ce(a.value, (p, m) => (h(), H(_e(e.listItemDisplay != null && e.listItemDisplay != "" ? e.listItemDisplay : Ch), te({
10444
10444
  key: m,
@@ -10987,12 +10987,12 @@ var Tt = {
10987
10987
  const { preset: d, options: p } = t;
10988
10988
  let m, g, b, y, k, w, x;
10989
10989
  if (Ie(d) && p.transform !== "strict") {
10990
- const { primitive: $, semantic: N, extend: I } = d, O = N || {}, { colorScheme: M } = O, W = Ht(O, ["colorScheme"]), T = I || {}, { colorScheme: V } = T, C = Ht(T, ["colorScheme"]), B = M || {}, { dark: D } = B, R = Ht(B, ["dark"]), z = V || {}, { dark: Q } = z, L = Ht(z, ["dark"]), _ = Ie($) ? this._toVariables({ primitive: $ }, p) : {}, P = Ie(W) ? this._toVariables({ semantic: W }, p) : {}, Y = Ie(R) ? this._toVariables({ light: R }, p) : {}, Be = Ie(D) ? this._toVariables({ dark: D }, p) : {}, ce = Ie(C) ? this._toVariables({ semantic: C }, p) : {}, be = Ie(L) ? this._toVariables({ light: L }, p) : {}, pe = Ie(Q) ? this._toVariables({ dark: Q }, p) : {}, [ke, Ee] = [(a = _.declarations) != null ? a : "", _.tokens], [mt, rt] = [(i = P.declarations) != null ? i : "", P.tokens || []], [$t, bt] = [(s = Y.declarations) != null ? s : "", Y.tokens || []], [ae, J] = [(c = Be.declarations) != null ? c : "", Be.tokens || []], [Re, at] = [(l = ce.declarations) != null ? l : "", ce.tokens || []], [ze, Pe] = [(u = be.declarations) != null ? u : "", be.tokens || []], [Ae, qe] = [(f = pe.declarations) != null ? f : "", pe.tokens || []];
10990
+ const { primitive: $, semantic: N, extend: I } = d, O = N || {}, { colorScheme: M } = O, W = Ht(O, ["colorScheme"]), T = I || {}, { colorScheme: V } = T, C = Ht(T, ["colorScheme"]), B = M || {}, { dark: D } = B, R = Ht(B, ["dark"]), z = V || {}, { dark: Q } = z, L = Ht(z, ["dark"]), _ = Ie($) ? this._toVariables({ primitive: $ }, p) : {}, P = Ie(W) ? this._toVariables({ semantic: W }, p) : {}, Y = Ie(R) ? this._toVariables({ light: R }, p) : {}, Be = Ie(D) ? this._toVariables({ dark: D }, p) : {}, ce = Ie(C) ? this._toVariables({ semantic: C }, p) : {}, be = Ie(L) ? this._toVariables({ light: L }, p) : {}, pe = Ie(Q) ? this._toVariables({ dark: Q }, p) : {}, [ke, Ee] = [(a = _.declarations) != null ? a : "", _.tokens], [gt, rt] = [(i = P.declarations) != null ? i : "", P.tokens || []], [$t, yt] = [(s = Y.declarations) != null ? s : "", Y.tokens || []], [ae, J] = [(c = Be.declarations) != null ? c : "", Be.tokens || []], [Re, at] = [(l = ce.declarations) != null ? l : "", ce.tokens || []], [ze, Pe] = [(u = be.declarations) != null ? u : "", be.tokens || []], [Ae, Ke] = [(f = pe.declarations) != null ? f : "", pe.tokens || []];
10991
10991
  m = this.transformCSS(e, ke, "light", "variable", p, o, r), g = Ee;
10992
- const Ft = this.transformCSS(e, `${mt}${$t}`, "light", "variable", p, o, r), Qe = this.transformCSS(e, `${ae}`, "dark", "variable", p, o, r);
10993
- b = `${Ft}${Qe}`, y = [.../* @__PURE__ */ new Set([...rt, ...bt, ...J])];
10994
- const lt = this.transformCSS(e, `${Re}${ze}color-scheme:light`, "light", "variable", p, o, r), yt = this.transformCSS(e, `${Ae}color-scheme:dark`, "dark", "variable", p, o, r);
10995
- k = `${lt}${yt}`, w = [.../* @__PURE__ */ new Set([...at, ...Pe, ...qe])], x = xt(d.css, { dt: Qn });
10992
+ const Ft = this.transformCSS(e, `${gt}${$t}`, "light", "variable", p, o, r), Qe = this.transformCSS(e, `${ae}`, "dark", "variable", p, o, r);
10993
+ b = `${Ft}${Qe}`, y = [.../* @__PURE__ */ new Set([...rt, ...yt, ...J])];
10994
+ const lt = this.transformCSS(e, `${Re}${ze}color-scheme:light`, "light", "variable", p, o, r), vt = this.transformCSS(e, `${Ae}color-scheme:dark`, "dark", "variable", p, o, r);
10995
+ k = `${lt}${vt}`, w = [.../* @__PURE__ */ new Set([...at, ...Pe, ...Ke])], x = St(d.css, { dt: Qn });
10996
10996
  }
10997
10997
  return {
10998
10998
  primitive: {
@@ -11015,7 +11015,7 @@ var Tt = {
11015
11015
  let u, f, d;
11016
11016
  if (Ie(t) && n.transform !== "strict") {
11017
11017
  const p = e.replace("-directive", ""), m = t, { colorScheme: g, extend: b, css: y } = m, k = Ht(m, ["colorScheme", "extend", "css"]), w = b || {}, { colorScheme: x } = w, $ = Ht(w, ["colorScheme"]), N = g || {}, { dark: I } = N, O = Ht(N, ["dark"]), M = x || {}, { dark: W } = M, T = Ht(M, ["dark"]), V = Ie(k) ? this._toVariables({ [p]: He(He({}, k), $) }, n) : {}, C = Ie(O) ? this._toVariables({ [p]: He(He({}, O), T) }, n) : {}, B = Ie(I) ? this._toVariables({ [p]: He(He({}, I), W) }, n) : {}, [D, R] = [(s = V.declarations) != null ? s : "", V.tokens || []], [z, Q] = [(c = C.declarations) != null ? c : "", C.tokens || []], [L, _] = [(l = B.declarations) != null ? l : "", B.tokens || []], P = this.transformCSS(p, `${D}${z}`, "light", "variable", n, r, a, i), Y = this.transformCSS(p, L, "dark", "variable", n, r, a, i);
11018
- u = `${P}${Y}`, f = [.../* @__PURE__ */ new Set([...R, ...Q, ..._])], d = xt(y, { dt: Qn });
11018
+ u = `${P}${Y}`, f = [.../* @__PURE__ */ new Set([...R, ...Q, ..._])], d = St(y, { dt: Qn });
11019
11019
  }
11020
11020
  return {
11021
11021
  css: u,
@@ -11042,7 +11042,7 @@ var Tt = {
11042
11042
  },
11043
11043
  getLayerOrder(e, t = {}, n, o) {
11044
11044
  const { cssLayer: r } = t;
11045
- return r ? `@layer ${xt(r.order || "primeui", n)}` : "";
11045
+ return r ? `@layer ${St(r.order || "primeui", n)}` : "";
11046
11046
  },
11047
11047
  getCommonStyleSheet({ name: e = "", theme: t = {}, params: n, props: o = {}, set: r, defaults: a }) {
11048
11048
  const i = this.getCommon({ name: e, theme: t, params: n, set: r, defaults: a }), s = Object.entries(o).reduce((c, [l, u]) => c.push(`${l}="${u}"`) && c, []).join(" ");
@@ -11116,7 +11116,7 @@ var Tt = {
11116
11116
  name: "primeui",
11117
11117
  order: "primeui"
11118
11118
  };
11119
- Mt(c) && (l.name = xt(c.name, { name: e, type: o })), Ie(l.name) && (t = In(`@layer ${l.name}`, t), a == null || a.layerNames(l.name));
11119
+ Mt(c) && (l.name = St(c.name, { name: e, type: o })), Ie(l.name) && (t = In(`@layer ${l.name}`, t), a == null || a.layerNames(l.name));
11120
11120
  }
11121
11121
  return t;
11122
11122
  }
@@ -11583,7 +11583,7 @@ var Bb = function(t) {
11583
11583
  padding-right: `.concat(n("scrollbar.width"), `;
11584
11584
  }
11585
11585
  `);
11586
- }, Pb = {}, Fb = {}, We = {
11586
+ }, Pb = {}, Fb = {}, qe = {
11587
11587
  name: "base",
11588
11588
  css: Rb,
11589
11589
  theme: Bb,
@@ -11592,7 +11592,7 @@ var Bb = function(t) {
11592
11592
  load: function(t) {
11593
11593
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(a) {
11594
11594
  return a;
11595
- }, r = o(xt(t, {
11595
+ }, r = o(St(t, {
11596
11596
  dt: Qn
11597
11597
  }));
11598
11598
  return Ie(r) ? xb(Jn(r), Sr({
@@ -11628,7 +11628,7 @@ var Bb = function(t) {
11628
11628
  getStyleSheet: function() {
11629
11629
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
11630
11630
  if (this.css) {
11631
- var o = xt(this.css, {
11631
+ var o = St(this.css, {
11632
11632
  dt: Qn
11633
11633
  }) || "", r = Jn("".concat(o).concat(t)), a = Object.entries(n).reduce(function(i, s) {
11634
11634
  var c = Ii(s, 2), l = c[0], u = c[1];
@@ -11645,7 +11645,7 @@ var Bb = function(t) {
11645
11645
  getThemeStyleSheet: function(t) {
11646
11646
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = [Ne.getStyleSheet(this.name, t, n)];
11647
11647
  if (this.theme) {
11648
- var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), a = xt(this.theme, {
11648
+ var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), a = St(this.theme, {
11649
11649
  dt: Qn
11650
11650
  }), i = Jn(Ne.transformCSS(r, a)), s = Object.entries(n).reduce(function(c, l) {
11651
11651
  var u = Ii(l, 2), f = u[0], d = u[1];
@@ -11661,7 +11661,7 @@ var Bb = function(t) {
11661
11661
  theme: void 0
11662
11662
  }, t);
11663
11663
  }
11664
- }, Pi = We.extend({
11664
+ }, Pi = qe.extend({
11665
11665
  name: "common"
11666
11666
  });
11667
11667
  function ao(e) {
@@ -11848,7 +11848,7 @@ var Cn = {
11848
11848
  },
11849
11849
  _loadStyles: function() {
11850
11850
  var t = this, n = function() {
11851
- on.isStyleNameLoaded("base") || (We.loadCSS(t.$styleOptions), t._loadGlobalStyles(), on.setLoadedStyleName("base")), t._loadThemeStyles();
11851
+ on.isStyleNameLoaded("base") || (qe.loadCSS(t.$styleOptions), t._loadGlobalStyles(), on.setLoadedStyleName("base")), t._loadThemeStyles();
11852
11852
  };
11853
11853
  n(), this._themeChangeListener(n);
11854
11854
  },
@@ -11858,7 +11858,7 @@ var Cn = {
11858
11858
  },
11859
11859
  _loadGlobalStyles: function() {
11860
11860
  var t = this._useGlobalPT(this._getOptionValue, "global.css", this.$params);
11861
- Ie(t) && We.load(t, $e({
11861
+ Ie(t) && qe.load(t, $e({
11862
11862
  name: "global"
11863
11863
  }, this.$styleOptions));
11864
11864
  },
@@ -11867,13 +11867,13 @@ var Cn = {
11867
11867
  if (!(this.isUnstyled || this.$theme === "none")) {
11868
11868
  if (!Ne.isStyleNameLoaded("common")) {
11869
11869
  var o, r, a = ((o = this.$style) === null || o === void 0 || (r = o.getCommonTheme) === null || r === void 0 ? void 0 : r.call(o)) || {}, i = a.primitive, s = a.semantic, c = a.global, l = a.style;
11870
- We.load(i == null ? void 0 : i.css, $e({
11870
+ qe.load(i == null ? void 0 : i.css, $e({
11871
11871
  name: "primitive-variables"
11872
- }, this.$styleOptions)), We.load(s == null ? void 0 : s.css, $e({
11872
+ }, this.$styleOptions)), qe.load(s == null ? void 0 : s.css, $e({
11873
11873
  name: "semantic-variables"
11874
- }, this.$styleOptions)), We.load(c == null ? void 0 : c.css, $e({
11874
+ }, this.$styleOptions)), qe.load(c == null ? void 0 : c.css, $e({
11875
11875
  name: "global-variables"
11876
- }, this.$styleOptions)), We.loadTheme($e({
11876
+ }, this.$styleOptions)), qe.loadTheme($e({
11877
11877
  name: "global-style"
11878
11878
  }, this.$styleOptions), l), Ne.setLoadedStyleName("common");
11879
11879
  }
@@ -11887,7 +11887,7 @@ var Cn = {
11887
11887
  }
11888
11888
  if (!Ne.isStyleNameLoaded("layer-order")) {
11889
11889
  var y, k, w = (y = this.$style) === null || y === void 0 || (k = y.getLayerOrderThemeCSS) === null || k === void 0 ? void 0 : k.call(y);
11890
- We.load(w, $e({
11890
+ qe.load(w, $e({
11891
11891
  name: "layer-order",
11892
11892
  first: !0
11893
11893
  }, this.$styleOptions)), Ne.setLoadedStyleName("layer-order");
@@ -12003,7 +12003,7 @@ var Cn = {
12003
12003
  globalPT: function() {
12004
12004
  var t, n = this;
12005
12005
  return this._getPT((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.pt, void 0, function(o) {
12006
- return xt(o, {
12006
+ return St(o, {
12007
12007
  instance: n
12008
12008
  });
12009
12009
  });
@@ -12011,7 +12011,7 @@ var Cn = {
12011
12011
  defaultPT: function() {
12012
12012
  var t, n = this;
12013
12013
  return this._getPT((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.pt, void 0, function(o) {
12014
- return n._getOptionValue(o, n.$name, $e({}, n.$params)) || xt(o, $e({}, n.$params));
12014
+ return n._getOptionValue(o, n.$name, $e({}, n.$params)) || St(o, $e({}, n.$params));
12015
12015
  });
12016
12016
  },
12017
12017
  isUnstyled: function() {
@@ -12122,7 +12122,7 @@ var Cn = {
12122
12122
  transform: rotate(359deg);
12123
12123
  }
12124
12124
  }
12125
- `, zb = We.extend({
12125
+ `, zb = qe.extend({
12126
12126
  name: "baseicon",
12127
12127
  css: Vb
12128
12128
  });
@@ -12335,7 +12335,7 @@ var qb = function(t) {
12335
12335
  "p-badge-contrast": n.severity === "contrast"
12336
12336
  }];
12337
12337
  }
12338
- }, Gb = We.extend({
12338
+ }, Gb = qe.extend({
12339
12339
  name: "badge",
12340
12340
  theme: qb,
12341
12341
  classes: Kb
@@ -12465,7 +12465,7 @@ function n0(e, t) {
12465
12465
  }
12466
12466
  var Se = {
12467
12467
  _getMeta: function() {
12468
- return [Mt(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], xt(Mt(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
12468
+ return [Mt(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], St(Mt(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
12469
12469
  },
12470
12470
  _getConfig: function(t, n) {
12471
12471
  var o, r, a;
@@ -12524,7 +12524,7 @@ var Se = {
12524
12524
  var t, n, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
12525
12525
  if (!on.isStyleNameLoaded((t = o.$style) === null || t === void 0 ? void 0 : t.name) && (n = o.$style) !== null && n !== void 0 && n.name) {
12526
12526
  var a;
12527
- We.loadCSS(r), (a = o.$style) === null || a === void 0 || a.loadCSS(r), on.setLoadedStyleName(o.$style.name);
12527
+ qe.loadCSS(r), (a = o.$style) === null || a === void 0 || a.loadCSS(r), on.setLoadedStyleName(o.$style.name);
12528
12528
  }
12529
12529
  },
12530
12530
  _loadThemeStyles: function() {
@@ -12532,13 +12532,13 @@ var Se = {
12532
12532
  if (!(r != null && r.isUnstyled() || (r == null || (t = r.theme) === null || t === void 0 ? void 0 : t.call(r)) === "none")) {
12533
12533
  if (!Ne.isStyleNameLoaded("common")) {
12534
12534
  var i, s, c = ((i = r.$style) === null || i === void 0 || (s = i.getCommonTheme) === null || s === void 0 ? void 0 : s.call(i)) || {}, l = c.primitive, u = c.semantic, f = c.global, d = c.style;
12535
- We.load(l == null ? void 0 : l.css, Fe({
12535
+ qe.load(l == null ? void 0 : l.css, Fe({
12536
12536
  name: "primitive-variables"
12537
- }, a)), We.load(u == null ? void 0 : u.css, Fe({
12537
+ }, a)), qe.load(u == null ? void 0 : u.css, Fe({
12538
12538
  name: "semantic-variables"
12539
- }, a)), We.load(f == null ? void 0 : f.css, Fe({
12539
+ }, a)), qe.load(f == null ? void 0 : f.css, Fe({
12540
12540
  name: "global-variables"
12541
- }, a)), We.loadTheme(Fe({
12541
+ }, a)), qe.loadTheme(Fe({
12542
12542
  name: "global-style"
12543
12543
  }, a), d), Ne.setLoadedStyleName("common");
12544
12544
  }
@@ -12552,7 +12552,7 @@ var Se = {
12552
12552
  }
12553
12553
  if (!Ne.isStyleNameLoaded("layer-order")) {
12554
12554
  var x, $, N = (x = r.$style) === null || x === void 0 || ($ = x.getLayerOrderThemeCSS) === null || $ === void 0 ? void 0 : $.call(x);
12555
- We.load(N, Fe({
12555
+ qe.load(N, Fe({
12556
12556
  name: "layer-order",
12557
12557
  first: !0
12558
12558
  }, a)), Ne.setLoadedStyleName("layer-order");
@@ -12724,7 +12724,7 @@ var Se = {
12724
12724
  `);
12725
12725
  }, r0 = {
12726
12726
  root: "p-ink"
12727
- }, a0 = We.extend({
12727
+ }, a0 = qe.extend({
12728
12728
  name: "ripple-directive",
12729
12729
  theme: o0,
12730
12730
  classes: r0
@@ -13504,7 +13504,7 @@ var h0 = function(t) {
13504
13504
  return ["p-button-icon", _t({}, "p-button-icon-".concat(n.iconPos), n.label)];
13505
13505
  },
13506
13506
  label: "p-button-label"
13507
- }, y0 = We.extend({
13507
+ }, y0 = qe.extend({
13508
13508
  name: "button",
13509
13509
  theme: h0,
13510
13510
  classes: b0
@@ -13668,7 +13668,7 @@ function w0(e, t, n, o, r, a) {
13668
13668
  key: 1,
13669
13669
  class: ye(e.cx("root")),
13670
13670
  a11yAttrs: a.a11yAttrs
13671
- }) : kt((h(), H(_e(e.as), te({
13671
+ }) : xt((h(), H(_e(e.as), te({
13672
13672
  key: 0,
13673
13673
  class: e.cx("root")
13674
13674
  }, a.attrs), {
@@ -13823,7 +13823,7 @@ const k0 = { class: "flex items-center justify-between rounded-md w-full overflo
13823
13823
  }
13824
13824
  },
13825
13825
  setup(e, { expose: t, emit: n }) {
13826
- const o = Ge(), r = new ht(), a = n, i = e, s = E("id"), c = E(1), l = E(25), u = E(0), f = E(null), d = E([]), p = E([]), m = E(!0), g = E(null), { hasMatchingRoleAndPermissions: b } = Sn(), y = rr();
13826
+ const o = We(), r = new bt(), a = n, i = e, s = E("id"), c = E(1), l = E(25), u = E(0), f = E(null), d = E([]), p = E([]), m = E(!0), g = E(null), { hasMatchingRoleAndPermissions: b } = Sn(), y = rr();
13827
13827
  sn("entityObject", y);
13828
13828
  const k = E(null), w = (D) => {
13829
13829
  const R = k.value;
@@ -13909,12 +13909,12 @@ const k0 = { class: "flex items-center justify-between rounded-md w-full overflo
13909
13909
  v("div", k0, [
13910
13910
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", x0, [
13911
13911
  v("div", S0, [
13912
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
13912
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
13913
13913
  key: 0,
13914
13914
  externalFilterPayload: i.externalFilterPayload,
13915
13915
  preFiltered: i.preFiltered
13916
13916
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
13917
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
13917
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
13918
13918
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
13919
13919
  key: 2,
13920
13920
  class: "ml-auto"
@@ -13957,12 +13957,12 @@ const k0 = { class: "flex items-center justify-between rounded-md w-full overflo
13957
13957
  ])) : j("", !0),
13958
13958
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", O0, [
13959
13959
  v("div", T0, [
13960
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
13960
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
13961
13961
  key: 0,
13962
13962
  externalFilterPayload: i.externalFilterPayload,
13963
13963
  preFiltered: i.preFiltered
13964
13964
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
13965
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
13965
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
13966
13966
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
13967
13967
  key: 2,
13968
13968
  class: "ml-auto"
@@ -13976,12 +13976,12 @@ const k0 = { class: "flex items-center justify-between rounded-md w-full overflo
13976
13976
  v("div", F0, [
13977
13977
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", A0, [
13978
13978
  v("div", _0, [
13979
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
13979
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
13980
13980
  key: 0,
13981
13981
  externalFilterPayload: i.externalFilterPayload,
13982
13982
  preFiltered: i.preFiltered
13983
13983
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
13984
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
13984
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
13985
13985
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
13986
13986
  key: 2,
13987
13987
  class: "ml-auto"
@@ -14013,12 +14013,12 @@ const k0 = { class: "flex items-center justify-between rounded-md w-full overflo
14013
14013
  ])) : j("", !0),
14014
14014
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (h(), S("div", N0, [
14015
14015
  v("div", L0, [
14016
- e.showFilters ? (h(), H(_e(e.listFilter || St), {
14016
+ e.showFilters ? (h(), H(_e(e.listFilter || Ct), {
14017
14017
  key: 0,
14018
14018
  externalFilterPayload: i.externalFilterPayload,
14019
14019
  preFiltered: i.preFiltered
14020
14020
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : j("", !0),
14021
- e.showAddButton ? (h(), H(Ct, { key: 1 })) : j("", !0),
14021
+ e.showAddButton ? (h(), H(Et, { key: 1 })) : j("", !0),
14022
14022
  e.showPagination ? (h(), H(_e(e.listPagination || Nt), {
14023
14023
  key: 2,
14024
14024
  class: "ml-auto"
@@ -15738,7 +15738,7 @@ const Ji = /* @__PURE__ */ pl(Yy), Qi = {
15738
15738
  }
15739
15739
  };
15740
15740
  function Xy() {
15741
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
15741
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
15742
15742
  return {
15743
15743
  getEntities: async (L = !1) => {
15744
15744
  const _ = a();
@@ -15964,7 +15964,7 @@ const Jy = /* @__PURE__ */ qo("entitiesStore", {
15964
15964
  onEntityChangeCallback: Function
15965
15965
  },
15966
15966
  setup(e) {
15967
- const t = Ge(), n = E(""), o = Jy(), r = E([]), a = async () => {
15967
+ const t = We(), n = E(""), o = Jy(), r = E([]), a = async () => {
15968
15968
  r.value = await o.getEntities(), i();
15969
15969
  }, i = () => {
15970
15970
  for (let c = 0; c < r.value.length; c++) {
@@ -16042,7 +16042,7 @@ const Jy = /* @__PURE__ */ qo("entitiesStore", {
16042
16042
  }
16043
16043
  };
16044
16044
  function iv() {
16045
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
16045
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
16046
16046
  return {
16047
16047
  getAllMenu: async (d = !1) => {
16048
16048
  const p = a();
@@ -16625,7 +16625,7 @@ var xv = function(t) {
16625
16625
  `);
16626
16626
  }, Sv = {
16627
16627
  root: "p-iconfield"
16628
- }, Cv = We.extend({
16628
+ }, Cv = qe.extend({
16629
16629
  name: "iconfield",
16630
16630
  theme: xv,
16631
16631
  classes: Sv
@@ -16652,7 +16652,7 @@ function $v(e, t, n, o, r, a) {
16652
16652
  ou.render = $v;
16653
16653
  var Ov = {
16654
16654
  root: "p-inputicon"
16655
- }, Tv = We.extend({
16655
+ }, Tv = qe.extend({
16656
16656
  name: "inputicon",
16657
16657
  classes: Ov
16658
16658
  }), Iv = {
@@ -16923,7 +16923,7 @@ var Rv = {
16923
16923
  "p-inputtext-fluid": n.$fluid
16924
16924
  }];
16925
16925
  }
16926
- }, Av = We.extend({
16926
+ }, Av = qe.extend({
16927
16927
  name: "inputtext",
16928
16928
  theme: Pv,
16929
16929
  classes: Fv
@@ -17069,7 +17069,7 @@ var zv = function(t) {
17069
17069
  .p-virtualscroller-inline .p-virtualscroller-content {
17070
17070
  position: static;
17071
17071
  }
17072
- `, is = We.extend({
17072
+ `, is = qe.extend({
17073
17073
  name: "virtualscroller",
17074
17074
  css: Mv,
17075
17075
  theme: zv
@@ -18043,7 +18043,7 @@ input.p-select-label {
18043
18043
  optionCheckIcon: "p-select-option-check-icon",
18044
18044
  optionBlankIcon: "p-select-option-blank-icon",
18045
18045
  emptyMessage: "p-select-empty-message"
18046
- }, Yv = We.extend({
18046
+ }, Yv = qe.extend({
18047
18047
  name: "select",
18048
18048
  theme: Kv,
18049
18049
  classes: Gv
@@ -19118,7 +19118,7 @@ function c1(e, t, n, o, r, a) {
19118
19118
  class: e.cx("optionGroupLabel"),
19119
19119
  ref_for: !0
19120
19120
  }, e.ptm("optionGroupLabel")), ee(a.getOptionGroupLabel(I.optionGroup)), 17)];
19121
- })], 16, l1)) : kt((h(), S("li", te({
19121
+ })], 16, l1)) : xt((h(), S("li", te({
19122
19122
  key: 1,
19123
19123
  id: r.id + "_" + a.getOptionIndex(O, x),
19124
19124
  class: e.cx("option", {
@@ -19288,7 +19288,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19288
19288
  }),
19289
19289
  emits: /* @__PURE__ */ xe(["update:modelValue", "onChange"], ["update:modelValue"]),
19290
19290
  setup(e, { emit: t }) {
19291
- const n = Ge(), o = () => n.getAppId(), r = e;
19291
+ const n = We(), o = () => n.getAppId(), r = e;
19292
19292
  console.log("DynamicSelection props:", r);
19293
19293
  const a = t, i = De(e, "modelValue"), s = E(null), c = E([]), l = ne(
19294
19294
  () => r.options.length ? "label" : r.displayField
@@ -19568,7 +19568,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19568
19568
  },
19569
19569
  emits: ["update:modelValue", "onChange"],
19570
19570
  setup(e, { emit: t }) {
19571
- const n = Ge(), o = () => n.getAppId(), r = e;
19571
+ const n = We(), o = () => n.getAppId(), r = e;
19572
19572
  console.log("DynamicMultiSelection props:", r);
19573
19573
  const a = t, i = E(Array.isArray(r.modelValue) ? [...r.modelValue] : []), s = E([]), c = ne(
19574
19574
  () => r.options.length ? "label" : r.displayField
@@ -19843,7 +19843,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19843
19843
  }, [
19844
19844
  v("div", B1, [
19845
19845
  s[3] || (s[3] = v("label", { class: "block mb-1" }, "Username", -1)),
19846
- kt(v("input", {
19846
+ xt(v("input", {
19847
19847
  "onUpdate:modelValue": s[0] || (s[0] = (c) => n.value = c),
19848
19848
  name: "username",
19849
19849
  type: "text",
@@ -19855,7 +19855,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19855
19855
  ]),
19856
19856
  v("div", R1, [
19857
19857
  s[4] || (s[4] = v("label", { class: "block mb-1" }, "Password", -1)),
19858
- kt(v("input", {
19858
+ xt(v("input", {
19859
19859
  "onUpdate:modelValue": s[1] || (s[1] = (c) => o.value = c),
19860
19860
  name: "password",
19861
19861
  type: "password",
@@ -19866,7 +19866,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19866
19866
  ])
19867
19867
  ]),
19868
19868
  v("div", P1, [
19869
- kt(v("input", {
19869
+ xt(v("input", {
19870
19870
  type: "checkbox",
19871
19871
  "onUpdate:modelValue": s[2] || (s[2] = (c) => r.value = c),
19872
19872
  name: "rememberMe",
@@ -19947,7 +19947,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19947
19947
  }, [
19948
19948
  v("div", D1, [
19949
19949
  c[4] || (c[4] = v("label", { class: "block mb-1" }, "Full Name", -1)),
19950
- kt(v("input", {
19950
+ xt(v("input", {
19951
19951
  "onUpdate:modelValue": c[0] || (c[0] = (l) => n.value = l),
19952
19952
  name: "fullName",
19953
19953
  type: "text",
@@ -19959,7 +19959,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19959
19959
  ]),
19960
19960
  v("div", N1, [
19961
19961
  c[5] || (c[5] = v("label", { class: "block mb-1" }, "Email", -1)),
19962
- kt(v("input", {
19962
+ xt(v("input", {
19963
19963
  "onUpdate:modelValue": c[1] || (c[1] = (l) => o.value = l),
19964
19964
  name: "email",
19965
19965
  type: "email",
@@ -19971,7 +19971,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19971
19971
  ]),
19972
19972
  v("div", L1, [
19973
19973
  c[6] || (c[6] = v("label", { class: "block mb-1" }, "Password", -1)),
19974
- kt(v("input", {
19974
+ xt(v("input", {
19975
19975
  "onUpdate:modelValue": c[2] || (c[2] = (l) => r.value = l),
19976
19976
  name: "password",
19977
19977
  type: "password",
@@ -19982,7 +19982,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
19982
19982
  ])
19983
19983
  ]),
19984
19984
  v("div", V1, [
19985
- kt(v("input", {
19985
+ xt(v("input", {
19986
19986
  type: "checkbox",
19987
19987
  "onUpdate:modelValue": c[3] || (c[3] = (l) => a.value = l),
19988
19988
  name: "agreeToTerms",
@@ -20064,7 +20064,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
20064
20064
  class: ye(["fa", a.value, "fa-lg", "text-gray-600", "mr-2"]),
20065
20065
  style: { "min-width": "20px" }
20066
20066
  }, null, 2)) : j("", !0),
20067
- kt(v("input", {
20067
+ xt(v("input", {
20068
20068
  "onUpdate:modelValue": $[0] || ($[0] = (N) => a.value = N),
20069
20069
  onFocus: $[1] || ($[1] = (N) => i.value = !0),
20070
20070
  type: "text",
@@ -20146,7 +20146,7 @@ const d1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, c
20146
20146
  }
20147
20147
  }, ks = /* @__PURE__ */ Je(ew, [["__scopeId", "data-v-a5bed64b"]]);
20148
20148
  function tw() {
20149
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
20149
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
20150
20150
  return {
20151
20151
  getCssClasses: async (s, c, l = !1) => {
20152
20152
  const u = a(), f = new URLSearchParams();
@@ -20305,7 +20305,7 @@ const nw = { class: "flex items-stretch min-h-[2.5rem] p-0 border border-gray-30
20305
20305
  ]);
20306
20306
  };
20307
20307
  }
20308
- }, xs = /* @__PURE__ */ Je(uw, [["__scopeId", "data-v-101758fe"]]), ax = /* @__PURE__ */ qo("currentUser", {
20308
+ }, xs = /* @__PURE__ */ Je(uw, [["__scopeId", "data-v-101758fe"]]), ix = /* @__PURE__ */ qo("currentUser", {
20309
20309
  state: () => ({
20310
20310
  user: {}
20311
20311
  }),
@@ -25648,7 +25648,7 @@ var Yk = Cs(Cs({}, gw), {}, {
25648
25648
  ripple: yk
25649
25649
  }
25650
25650
  });
25651
- function ix() {
25651
+ function sx() {
25652
25652
  const { layoutState: e, layoutConfig: t, setMenuMode: n, isDarkTheme: o } = cw(), r = { Aura: Yk };
25653
25653
  E(Object.keys(r));
25654
25654
  const a = E(t.preset);
@@ -25806,8 +25806,8 @@ function ix() {
25806
25806
  onPresetChange: p
25807
25807
  };
25808
25808
  }
25809
- function sx() {
25810
- const e = new ht();
25809
+ function lx() {
25810
+ const e = new bt();
25811
25811
  return { getEntityRecord: async (n, o, r = !1) => {
25812
25812
  try {
25813
25813
  const a = await e.getRecord(n, o, r);
@@ -25819,8 +25819,8 @@ function sx() {
25819
25819
  }
25820
25820
  } };
25821
25821
  }
25822
- function lx() {
25823
- const e = new ht();
25822
+ function ux() {
25823
+ const e = new bt();
25824
25824
  return { getAllEntityRecords: async (n, o = !1) => {
25825
25825
  try {
25826
25826
  const r = await e.getEntityRecords(n, o);
@@ -25832,8 +25832,8 @@ function lx() {
25832
25832
  }
25833
25833
  } };
25834
25834
  }
25835
- function ux() {
25836
- const e = new ht();
25835
+ function cx() {
25836
+ const e = new bt();
25837
25837
  return { addEntityRecord: async (n, o, r = !1) => {
25838
25838
  const a = {
25839
25839
  dataDefinitions: Object.entries(o).map(([i, s]) => ({
@@ -25851,8 +25851,8 @@ function ux() {
25851
25851
  }
25852
25852
  } };
25853
25853
  }
25854
- function cx() {
25855
- const e = new ht();
25854
+ function dx() {
25855
+ const e = new bt();
25856
25856
  return { deleteEntityRecord: async (n, o, r = !1) => {
25857
25857
  try {
25858
25858
  const a = await e.deleteRecord(n, o, r);
@@ -25864,8 +25864,30 @@ function cx() {
25864
25864
  }
25865
25865
  } };
25866
25866
  }
25867
- function dx() {
25868
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
25867
+ function Xk() {
25868
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
25869
+ return {
25870
+ externalRestAPI: async (s, c = !1) => {
25871
+ const l = a();
25872
+ return await n(`/api/app/v1/${l}/rest/call-api`, s, c);
25873
+ }
25874
+ };
25875
+ }
25876
+ function fx() {
25877
+ const e = new Xk();
25878
+ return { externalRestAPICall: async (n, o = !1) => {
25879
+ try {
25880
+ const r = await e.externalRestAPI(n, o);
25881
+ if (r && r.response)
25882
+ return r.response;
25883
+ } catch (r) {
25884
+ return r;
25885
+ } finally {
25886
+ }
25887
+ } };
25888
+ }
25889
+ function px() {
25890
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
25869
25891
  return {
25870
25892
  getThemes: async (f = !1) => {
25871
25893
  const d = a();
@@ -25886,15 +25908,15 @@ function dx() {
25886
25908
  }
25887
25909
  };
25888
25910
  }
25889
- function fx() {
25890
- const { get: e } = Et();
25911
+ function mx() {
25912
+ const { get: e } = mt();
25891
25913
  return {
25892
25914
  getPlatformComponents: async (o = !1) => await e("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue", o),
25893
25915
  getComponentTemplates: async (o, r = !1) => await e(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${o}&page=0&size=50`, r)
25894
25916
  };
25895
25917
  }
25896
- function px() {
25897
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
25918
+ function gx() {
25919
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
25898
25920
  return {
25899
25921
  getPage: async (f, d = !1) => {
25900
25922
  const p = a();
@@ -25918,8 +25940,8 @@ function px() {
25918
25940
  }
25919
25941
  };
25920
25942
  }
25921
- function mx() {
25922
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
25943
+ function hx() {
25944
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
25923
25945
  return {
25924
25946
  getLayouts: async (f = !1) => {
25925
25947
  const d = a();
@@ -25943,8 +25965,8 @@ function mx() {
25943
25965
  }
25944
25966
  };
25945
25967
  }
25946
- function gx() {
25947
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
25968
+ function bx() {
25969
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
25948
25970
  return {
25949
25971
  getGlobalVars: async (d = !1) => {
25950
25972
  const p = a();
@@ -25972,8 +25994,8 @@ function gx() {
25972
25994
  }
25973
25995
  };
25974
25996
  }
25975
- function hx() {
25976
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
25997
+ function yx() {
25998
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
25977
25999
  return {
25978
26000
  getConnectionByID: async (f, d = !1) => {
25979
26001
  const p = a();
@@ -25997,7 +26019,7 @@ function hx() {
25997
26019
  }
25998
26020
  };
25999
26021
  }
26000
- const Xk = { style: {
26022
+ const Jk = { style: {
26001
26023
  position: "fixed",
26002
26024
  top: 0,
26003
26025
  left: 0,
@@ -26008,7 +26030,7 @@ const Xk = { style: {
26008
26030
  alignItems: "center",
26009
26031
  justifyContent: "center",
26010
26032
  zIndex: 9999
26011
- } }, Jk = { style: { "background-color": "white", "border-radius": "0.5rem", "min-width": "320px", "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.1)", overflow: "hidden" } }, Qk = { style: { "font-size": "1.125rem", "font-weight": "600" } }, Zk = { style: { padding: "1rem", "font-size": "1rem", color: "#1f2937" } }, ex = { style: { padding: "0.75rem 1rem", display: "flex", "justify-content": "flex-end", gap: "0.5rem", "border-top": "1px solid #e5e7eb" } }, tx = {
26033
+ } }, Qk = { style: { "background-color": "white", "border-radius": "0.5rem", "min-width": "320px", "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.1)", overflow: "hidden" } }, Zk = { style: { "font-size": "1.125rem", "font-weight": "600" } }, ex = { style: { padding: "1rem", "font-size": "1rem", color: "#1f2937" } }, tx = { style: { padding: "0.75rem 1rem", display: "flex", "justify-content": "flex-end", gap: "0.5rem", "border-top": "1px solid #e5e7eb" } }, nx = {
26012
26034
  __name: "confirm-dialog",
26013
26035
  props: {
26014
26036
  type: { type: String, default: "info" },
@@ -26068,17 +26090,17 @@ const Xk = { style: {
26068
26090
  padding: "1rem"
26069
26091
  };
26070
26092
  });
26071
- return (c, l) => (h(), S("div", Xk, [
26072
- v("div", Jk, [
26093
+ return (c, l) => (h(), S("div", Jk, [
26094
+ v("div", Qk, [
26073
26095
  v("div", {
26074
26096
  style: Zn(s.value)
26075
26097
  }, [
26076
- v("span", Qk, ee(e.title), 1)
26098
+ v("span", Zk, ee(e.title), 1)
26077
26099
  ], 4),
26078
- v("div", Zk, [
26100
+ v("div", ex, [
26079
26101
  v("span", null, ee(e.message), 1)
26080
26102
  ]),
26081
- v("div", ex, [
26103
+ v("div", tx, [
26082
26104
  v("button", {
26083
26105
  style: { padding: "0.375rem 1rem", "border-radius": "0.375rem", "background-color": "#f3f4f6", color: "#1f2937", "font-weight": "500", border: "none" },
26084
26106
  onClick: a
@@ -26092,7 +26114,7 @@ const Xk = { style: {
26092
26114
  ]));
26093
26115
  }
26094
26116
  };
26095
- function bx({
26117
+ function vx({
26096
26118
  type: e = "danger",
26097
26119
  title: t = "Warning",
26098
26120
  message: n = "All the changes you made will be lost, do you wish to continue?",
@@ -26117,7 +26139,7 @@ function bx({
26117
26139
  s.unmount(), i.parentNode === document.body && document.body.removeChild(i);
26118
26140
  }, 300);
26119
26141
  }
26120
- return () => tt(tx, {
26142
+ return () => tt(nx, {
26121
26143
  modelValue: a.value,
26122
26144
  "onUpdate:modelValue": (f) => {
26123
26145
  a.value = f, f || u();
@@ -26132,12 +26154,15 @@ function bx({
26132
26154
  });
26133
26155
  s.mount(i);
26134
26156
  }
26135
- function yx() {
26136
- const e = Ge(), { get: t, post: n, put: o, del: r } = Et(), a = () => e.getAppId();
26157
+ function wx() {
26158
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
26137
26159
  return {
26138
- getAssets: async (u, f = !1) => {
26139
- const d = a(), p = new URLSearchParams();
26140
- return p.append("page", 0), p.append("size", 50), u && p.append("keyword", u), await t(`/api/app/v1/${d}/assets/search?${p.toString()}`, f);
26160
+ getAssets: async (u, f = 0, d = 50, p = !1) => {
26161
+ const m = a(), g = new URLSearchParams();
26162
+ return g.append("page", f), g.append("size", d), u && g.append("keyword", u), await t(
26163
+ `/api/app/v1/${m}/assets/search?${g.toString()}`,
26164
+ p
26165
+ );
26141
26166
  },
26142
26167
  addExternalLink: async (u, f = !1) => {
26143
26168
  const d = a();
@@ -26153,34 +26178,66 @@ function yx() {
26153
26178
  }
26154
26179
  };
26155
26180
  }
26156
- const vx = {
26181
+ function kx() {
26182
+ const e = We(), { get: t, post: n, put: o, del: r } = mt(), a = () => e.getAppId();
26183
+ return {
26184
+ getExtrenalSystemByID: async (d, p = !1) => {
26185
+ const m = a();
26186
+ return await t(`/api/app/v1/${m}/external-system/${d}`, p);
26187
+ },
26188
+ createExternalSystem: async (d, p = !1) => {
26189
+ const m = a();
26190
+ return await n(`/api/app/v1/${m}/external-system`, d, p);
26191
+ },
26192
+ updateExternalSystem: async (d, p, m = !1) => {
26193
+ const g = a();
26194
+ return await o(`/api/app/v1/${g}/external-system/${d}`, p, m);
26195
+ },
26196
+ deleteExternalSystem: async (d, p = !1) => {
26197
+ const m = a();
26198
+ return await r(`/api/app/v1/${m}/external-system/${d}`, p);
26199
+ },
26200
+ getAllExternalSystem: async (d = !1) => {
26201
+ const p = a();
26202
+ return await t(`/api/app/v1/${p}/external-system`, d);
26203
+ },
26204
+ searchExtrenalSystemByName: async (d, p = !1) => {
26205
+ const m = a();
26206
+ return await t(`/api/app/v1/${m}/external-system/search${d}`, p);
26207
+ }
26208
+ };
26209
+ }
26210
+ const xx = {
26157
26211
  install(e, t) {
26158
26212
  e.component("CSEntityGrid", Lr), e.component("csentitygrid", Lr), e.component("CSEntityList", hi), e.component("csentitylist", hi), e.component("CSFieldExpression", Qi), e.component("csfieldexpression", Qi), e.component("CSEntity360View", mi), e.component("csentity360view", mi), e.component("CSEntityListing", Si), e.component("csentitylisting", Si), e.component("CSEntityListingTile", Ci), e.component("csentitylistingtile", Ci), e.component("CSEntityListingCarousel", ji), e.component("csentitylistingcarousel", ji), e.component("CSEntitySelection", fs), e.component("csentityselection", fs), e.component("CSEntityExplorer", Zi), e.component("csentityexplorer", Zi), e.component("CSMenu", es), e.component("csmenu", es), e.component("CSTextInput", ts), e.component("cstextinput", ts), e.component("CSButton", ns), e.component("csbutton", ns), e.component("CSStateText", os), e.component("csstatetext", os), e.component("CSRangeInput", rs), e.component("csrangeinput", rs), e.component("CSSelector", cs), e.component("csselector", cs), e.component("CSDynamicSelection", go), e.component("csdynamicselection", go), e.component("CSEntityRecordSelection", ds), e.component("csentityrecordselection", ds), e.component("CSMenuSelection", ps), e.component("csmenuSelection", ps), e.component("CSlabel", hs), e.component("cslabel", hs), e.component("CSLogin", bs), e.component("cslogin", bs), e.component("CSSignup", ys), e.component("cssignup", ys), e.component("CSRolesSelection", ms), e.component("csrolesselection", ms), e.component("CSPermissionSelection", gs), e.component("cspermissionselection", gs), e.component("CSIconSelection", vs), e.component("csiconselection", vs), e.component("CSIconComponent", ws), e.component("csiconcomponent", ws), e.component("ClassesSelection", xs), e.component("classesselection", xs), e.component("CSGlobalLoader", ks), e.component("csgloballoader", ks), e.component("CSInputText", pa), e.component("csinputtext", pa), e.component("CSInputNumber", ma), e.component("csinputnumber", ma), e.component("CSToggleButton", ga), e.component("cstogglebutton", ga), e.component("CSRadioButton", ha), e.component("csradiobutton", ha), e.component("CSColorPicker", ba), e.component("cscolorpicker", ba), e.component("CSDatePicker", ya), e.component("csdatepicker", ya), e.component("CSTextArea", va), e.component("cstextarea", va), e.component("CSInputPassword", wa), e.component("csinputpassword", wa), e.component("CSRangeDatePicker", ka), e.component("csrangedatepicker", ka), e.component("CSInputKnob", xa), e.component("csinputknob", xa), e.component("CSInputMask", Sa), e.component("csinputmask", Sa), e.component("CSInputOtp", Ca), e.component("csinputotp", Ca), e.component("CSInputRating", Ea), e.component("csinputrating", Ea), e.component("CSInputSlider", $a), e.component("csinputslider", $a);
26159
26213
  }
26160
26214
  };
26161
26215
  export {
26162
- vx as default,
26163
- bx as openGlobalDialog,
26164
- ux as useAddEntityRecord,
26165
- yx as useAssetsService,
26216
+ xx as default,
26217
+ vx as openGlobalDialog,
26218
+ cx as useAddEntityRecord,
26219
+ wx as useAssetsService,
26166
26220
  tw as useClassesService,
26167
- fx as useComponentService,
26168
- hx as useConnectionService,
26169
- ax as useCurrentUser,
26170
- cx as useDeleteEntityRecord,
26221
+ mx as useComponentService,
26222
+ yx as useConnectionService,
26223
+ ix as useCurrentUser,
26224
+ dx as useDeleteEntityRecord,
26171
26225
  Jy as useEntitiesStore,
26172
- ht as useEntityRecordService,
26226
+ bt as useEntityRecordService,
26173
26227
  Xy as useEntityService,
26174
- lx as useGetAllEntityRecords,
26175
- sx as useGetEntityRecord,
26176
- Ge as useGlobalConfigsStore,
26177
- gx as useGlobalService,
26178
- Et as useHttpClient,
26179
- mx as useLayoutService,
26228
+ fx as useExternalRestAPI,
26229
+ Xk as useExternalRestService,
26230
+ kx as useExternalSystemService,
26231
+ ux as useGetAllEntityRecords,
26232
+ lx as useGetEntityRecord,
26233
+ We as useGlobalConfigsStore,
26234
+ bx as useGlobalService,
26235
+ mt as useHttpClient,
26236
+ hx as useLayoutService,
26180
26237
  Zr as useLoadingStore,
26181
26238
  iv as useMenuService,
26182
- px as usePageService,
26239
+ gx as usePageService,
26183
26240
  Ig as useSecurityService,
26184
- ix as useThemeConfig,
26185
- dx as useThemeService
26241
+ sx as useThemeConfig,
26242
+ px as useThemeService
26186
26243
  };