codesaaz-core 0.0.99 → 0.1.1

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 Le, useModel as Ke, resolveComponent as X, openBlock as b, createBlock as H, mergeProps as ae, hasInjectionContext as eu, inject as ot, ref as E, watch as $e, reactive as Nt, effectScope as tu, isRef as Yt, isReactive as ds, toRaw as nu, getCurrentScope as ou, onScopeDispose as ru, nextTick as mt, toRefs as iu, markRaw as au, computed as te, createElementBlock as x, Fragment as se, createElementVNode as v, createTextVNode as Ze, toDisplayString as Z, createCommentVNode as M, renderList as Oe, createVNode as K, toValue as Ee, unref as Q, onMounted as ze, provide as sn, readonly as fs, watchEffect as Io, shallowRef as su, withCtx as ne, onUpdated as ps, normalizeProps as Xt, guardReactiveProps as ho, renderSlot as fe, createSlots as Bn, withKeys as Ur, withModifiers as ko, withDirectives as wt, vShow as lu, resolveDirective as Hr, normalizeClass as ye, resolveDynamicComponent as Pe, defineComponent as An, h as et, shallowReactive as Cr, onBeforeUnmount as ms, useId as uu, getCurrentInstance as gs, onUnmounted as cu, cloneVNode as du, Teleport as fu, Transition as pu, normalizeStyle as Qn, vModelText as Rn, vModelCheckbox as hs, createApp as mu } from "vue";
1
+ import { mergeModels as Le, useModel as Ke, resolveComponent as X, openBlock as b, createBlock as H, mergeProps as ae, hasInjectionContext as eu, inject as ot, ref as E, watch as $e, reactive as Nt, effectScope as tu, isRef as Yt, isReactive as ds, toRaw as nu, getCurrentScope as ou, onScopeDispose as ru, nextTick as mt, toRefs as iu, markRaw as au, computed as te, createElementBlock as x, Fragment as se, createElementVNode as v, createTextVNode as Ze, toDisplayString as Z, createCommentVNode as M, renderList as Oe, createVNode as K, toValue as Ee, unref as Q, onMounted as ze, provide as sn, readonly as fs, watchEffect as Io, shallowRef as su, withCtx as ne, onUpdated as ps, normalizeProps as Xt, guardReactiveProps as ho, renderSlot as fe, createSlots as Bn, withKeys as Ur, withModifiers as ko, withDirectives as kt, vShow as lu, resolveDirective as Hr, normalizeClass as ye, resolveDynamicComponent as Pe, defineComponent as An, h as et, shallowReactive as Cr, onBeforeUnmount as ms, useId as uu, getCurrentInstance as gs, onUnmounted as cu, cloneVNode as du, Teleport as fu, Transition as pu, normalizeStyle as Qn, vModelText as Rn, vModelCheckbox as hs, createApp as mu } from "vue";
2
2
  import { useRoute as un, useRouter as gu } from "vue-router";
3
3
  import { useToast as bs, InputText as ui } from "primevue";
4
4
  const ci = {
@@ -2113,7 +2113,7 @@ function zt() {
2113
2113
  del: (u, l = {}, c = {}) => s({ url: u, method: "delete", payload: l, headers: c })
2114
2114
  };
2115
2115
  }
2116
- function Ct() {
2116
+ function ht() {
2117
2117
  const e = Xe(), { get: t, post: n, put: o, del: r } = zt(), i = () => e.getAppId();
2118
2118
  return {
2119
2119
  getEntityRecords: async (g, h = {}) => {
@@ -2155,7 +2155,7 @@ function Ct() {
2155
2155
  };
2156
2156
  }
2157
2157
  function Zc(e = "") {
2158
- const t = new Ct(), n = {
2158
+ const t = new ht(), n = {
2159
2159
  gt: "GREATER_THAN",
2160
2160
  dateAfter: "GREATER_THAN",
2161
2161
  equals: "EQUAL",
@@ -2644,7 +2644,7 @@ function _i(e, t) {
2644
2644
  pr(r[i - 1], n[i - 1]);
2645
2645
  }
2646
2646
  }
2647
- function vt(e) {
2647
+ function wt(e) {
2648
2648
  return Object.keys(e);
2649
2649
  }
2650
2650
  function Di(e, t = 0) {
@@ -2891,7 +2891,7 @@ async function Nd(e, t) {
2891
2891
  };
2892
2892
  }
2893
2893
  async function Ld(e, t, n) {
2894
- const r = vt(e).map(async (l) => {
2894
+ const r = wt(e).map(async (l) => {
2895
2895
  var c, f, d;
2896
2896
  const p = (c = n == null ? void 0 : n.names) === null || c === void 0 ? void 0 : c[l], m = await Rd(Kt(t, l), e[l], {
2897
2897
  name: (p == null ? void 0 : p.name) || l,
@@ -2941,14 +2941,14 @@ function Zs(e) {
2941
2941
  G.errors = Ni(F), G.valid = !G.errors.length;
2942
2942
  }
2943
2943
  function g(B) {
2944
- vt(B).forEach((F) => {
2944
+ wt(B).forEach((F) => {
2945
2945
  m(F, B[F]);
2946
2946
  });
2947
2947
  }
2948
2948
  const h = te(() => {
2949
2949
  const B = c.value.reduce((F, G) => (G.errors.length && (F[Ee(G.path)] = G.errors), F), {});
2950
2950
  return Object.assign(Object.assign({}, f.value), B);
2951
- }), y = te(() => vt(h.value).reduce((B, F) => {
2951
+ }), y = te(() => wt(h.value).reduce((B, F) => {
2952
2952
  const G = h.value[F];
2953
2953
  return G != null && G.length && (B[F] = G[0]), B;
2954
2954
  }, {})), w = te(() => c.value.reduce((B, F) => (B[Ee(F.path)] = { name: Ee(F.path) || "", label: F.label || "" }, B), {})), k = te(() => c.value.reduce((B, F) => {
@@ -3008,9 +3008,9 @@ function Zs(e) {
3008
3008
  });
3009
3009
  }), De;
3010
3010
  }
3011
- const S = Di(bt, 5), I = Di(bt, 5), _ = xd(async (B) => await (B === "silent" ? S() : I()), (B, [F]) => {
3012
- const G = vt(ke.errorBag.value), ge = [
3013
- .../* @__PURE__ */ new Set([...vt(B.results), ...c.value.map((ve) => ve.path), ...G])
3011
+ const S = Di(yt, 5), I = Di(yt, 5), _ = xd(async (B) => await (B === "silent" ? S() : I()), (B, [F]) => {
3012
+ const G = wt(ke.errorBag.value), ge = [
3013
+ .../* @__PURE__ */ new Set([...wt(B.results), ...c.value.map((ve) => ve.path), ...G])
3014
3014
  ].sort().reduce((ve, de) => {
3015
3015
  var q;
3016
3016
  const ee = de, ue = z(ee) || J(ee), le = ((q = B.results[ee]) === null || q === void 0 ? void 0 : q.errors) || [], he = Ee(ue == null ? void 0 : ue.path) || ee, De = Md({ errors: le, valid: !le.length }, ve.results[he]);
@@ -3021,7 +3021,7 @@ function Zs(e) {
3021
3021
  errors: {},
3022
3022
  source: B.source
3023
3023
  });
3024
- return B.values && (ge.values = B.values, ge.source = B.source), vt(ge.results).forEach((ve) => {
3024
+ return B.values && (ge.values = B.values, ge.source = B.source), wt(ge.results).forEach((ve) => {
3025
3025
  var de;
3026
3026
  const q = z(ve);
3027
3027
  q && F !== "silent" && (F === "validated-only" && !q.validated || m(q, (de = ge.results[ve]) === null || de === void 0 ? void 0 : de.errors));
@@ -3059,7 +3059,7 @@ function Zs(e) {
3059
3059
  setErrors: g,
3060
3060
  setFieldError: m,
3061
3061
  setTouched: it,
3062
- setFieldTouched: ht,
3062
+ setFieldTouched: bt,
3063
3063
  setValues: rt,
3064
3064
  setFieldValue: Se,
3065
3065
  resetForm: Be,
@@ -3093,7 +3093,7 @@ function Zs(e) {
3093
3093
  }
3094
3094
  }
3095
3095
  function pe(B) {
3096
- vt(d.value).forEach((F) => {
3096
+ wt(d.value).forEach((F) => {
3097
3097
  F.startsWith(B) && delete d.value[F];
3098
3098
  }), c.value = c.value.filter((F) => !F.path.startsWith(B)), mt(() => {
3099
3099
  p();
@@ -3120,7 +3120,7 @@ function Zs(e) {
3120
3120
  setFieldValue: Se,
3121
3121
  setValues: rt,
3122
3122
  setErrors: g,
3123
- setFieldTouched: ht,
3123
+ setFieldTouched: bt,
3124
3124
  setTouched: it,
3125
3125
  resetForm: Be,
3126
3126
  resetField: Ve,
@@ -3148,9 +3148,9 @@ function Zs(e) {
3148
3148
  z(ge) || U(ge), Ht(l, ge, re), G && We(ge);
3149
3149
  }
3150
3150
  function pt(B, F = !0) {
3151
- vt(l).forEach((G) => {
3151
+ wt(l).forEach((G) => {
3152
3152
  delete l[G];
3153
- }), vt(B).forEach((G) => {
3153
+ }), wt(B).forEach((G) => {
3154
3154
  Se(G, B[G], !1);
3155
3155
  }), F && Fe();
3156
3156
  }
@@ -3170,7 +3170,7 @@ function Zs(e) {
3170
3170
  }
3171
3171
  });
3172
3172
  }
3173
- function ht(B, F) {
3173
+ function bt(B, F) {
3174
3174
  const G = z(B);
3175
3175
  G && (G.touched = F);
3176
3176
  }
@@ -3193,14 +3193,14 @@ function Zs(e) {
3193
3193
  });
3194
3194
  return;
3195
3195
  }
3196
- vt(B).forEach((F) => {
3197
- ht(F, !!B[F]);
3196
+ wt(B).forEach((F) => {
3197
+ bt(F, !!B[F]);
3198
3198
  });
3199
3199
  }
3200
3200
  function Ve(B, F) {
3201
3201
  var G;
3202
3202
  const re = F && "value" in F ? F.value : Kt(L.value, B), ge = z(B);
3203
- ge && (ge.__flags.pendingReset = !0), lt(B, je(re), !0), Se(B, re, !1), ht(B, (G = F == null ? void 0 : F.touched) !== null && G !== void 0 ? G : !1), m(B, (F == null ? void 0 : F.errors) || []), mt(() => {
3203
+ ge && (ge.__flags.pendingReset = !0), lt(B, je(re), !0), Se(B, re, !1), bt(B, (G = F == null ? void 0 : F.touched) !== null && G !== void 0 ? G : !1), m(B, (F == null ? void 0 : F.errors) || []), mt(() => {
3204
3204
  ge && (ge.__flags.pendingReset = !1);
3205
3205
  });
3206
3206
  }
@@ -3260,7 +3260,7 @@ function Zs(e) {
3260
3260
  function lt(B, F, G = !1) {
3261
3261
  Ht(L.value, B, je(F)), G && Ht(O.value, B, je(F));
3262
3262
  }
3263
- async function bt() {
3263
+ async function yt() {
3264
3264
  const B = Q(R);
3265
3265
  if (!B)
3266
3266
  return { valid: !0, results: {}, errors: {}, source: "none" };
@@ -3355,7 +3355,7 @@ function zd(e, t, n, o) {
3355
3355
  }, i = te(() => !Yn(t, Q(n)));
3356
3356
  function a() {
3357
3357
  const u = e.value;
3358
- return vt(r).reduce((l, c) => {
3358
+ return wt(r).reduce((l, c) => {
3359
3359
  const f = r[c];
3360
3360
  return l[c] = u[f]((d) => d[c]), l;
3361
3361
  }, {});
@@ -3364,7 +3364,7 @@ function zd(e, t, n, o) {
3364
3364
  return Io(() => {
3365
3365
  const u = a();
3366
3366
  s.touched = u.touched, s.valid = u.valid, s.pending = u.pending;
3367
- }), te(() => Object.assign(Object.assign({ initialValues: Q(n) }, s), { valid: s.valid && !vt(o.value).length, dirty: i.value }));
3367
+ }), te(() => Object.assign(Object.assign({ initialValues: Q(n) }, s), { valid: s.valid && !wt(o.value).length, dirty: i.value }));
3368
3368
  }
3369
3369
  function jd(e, t, n) {
3370
3370
  const o = Qs(), r = E(o), i = E(je(o));
@@ -4898,7 +4898,7 @@ class sl extends Lt {
4898
4898
  }
4899
4899
  ti.prototype = sl.prototype;
4900
4900
  function ni(e, t, n, o) {
4901
- const r = new Ct();
4901
+ const r = new ht();
4902
4902
  let i = E({});
4903
4903
  const a = E({}), s = E({});
4904
4904
  let u = E([]);
@@ -5167,7 +5167,7 @@ const Cf = {
5167
5167
  addRecord: a,
5168
5168
  updateRecord: s,
5169
5169
  deleteRecord: u
5170
- } = Ct(), l = e, c = E({});
5170
+ } = ht(), l = e, c = E({});
5171
5171
  let f = E("");
5172
5172
  const d = t;
5173
5173
  ze(() => {
@@ -5333,7 +5333,7 @@ const Cf = {
5333
5333
  }),
5334
5334
  emits: /* @__PURE__ */ Le(["onDeleteItem"], ["update:showDeleteDialog"]),
5335
5335
  setup(e, { emit: t }) {
5336
- const n = new Ct(), o = Ke(e, "showDeleteDialog"), r = t, i = async () => {
5336
+ const n = new ht(), o = Ke(e, "showDeleteDialog"), r = t, i = async () => {
5337
5337
  try {
5338
5338
  const a = await n.deleteRecord(e.entityName, e.recordId);
5339
5339
  a && a.response && r("onDeleteItem");
@@ -5464,7 +5464,7 @@ function Xi(e, t) {
5464
5464
  function Vt(e, t = !0) {
5465
5465
  return e instanceof Object && e.constructor === Object && (t || Object.keys(e).length !== 0);
5466
5466
  }
5467
- function kt(e, ...t) {
5467
+ function xt(e, ...t) {
5468
5468
  return er(e) ? e(...t) : e;
5469
5469
  }
5470
5470
  function ft(e, t = !0) {
@@ -5475,7 +5475,7 @@ function Tt(e) {
5475
5475
  }
5476
5476
  function oi(e, t = "", n = {}) {
5477
5477
  const o = Tt(t).split("."), r = o.shift();
5478
- return r ? Vt(e) ? oi(kt(e[Object.keys(e).find((i) => Tt(i) === r) || ""], n), o.join("."), n) : void 0 : kt(e, n);
5478
+ return r ? Vt(e) ? oi(xt(e[Object.keys(e).find((i) => Tt(i) === r) || ""], n), o.join("."), n) : void 0 : xt(e, n);
5479
5479
  }
5480
5480
  function tr(e, t = !0) {
5481
5481
  return Array.isArray(e) && (t || e.length !== 0);
@@ -5505,7 +5505,7 @@ function Ji(...e) {
5505
5505
  function Xn(e) {
5506
5506
  return e && e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":");
5507
5507
  }
5508
- function yt(e) {
5508
+ function vt(e) {
5509
5509
  if (e && /[\xC0-\xFF\u0100-\u017E]/.test(e)) {
5510
5510
  const n = {
5511
5511
  A: /[\xC0-\xC5\u0100\u0102\u0104]/g,
@@ -5676,7 +5676,7 @@ var qf = {
5676
5676
  return !0;
5677
5677
  if (t == null)
5678
5678
  return !1;
5679
- var r = yt(n.toString()).toLocaleLowerCase(o), i = yt(t.toString()).toLocaleLowerCase(o);
5679
+ var r = vt(n.toString()).toLocaleLowerCase(o), i = vt(t.toString()).toLocaleLowerCase(o);
5680
5680
  return i.slice(0, r.length) === r;
5681
5681
  },
5682
5682
  contains: function(t, n, o) {
@@ -5684,7 +5684,7 @@ var qf = {
5684
5684
  return !0;
5685
5685
  if (t == null)
5686
5686
  return !1;
5687
- var r = yt(n.toString()).toLocaleLowerCase(o), i = yt(t.toString()).toLocaleLowerCase(o);
5687
+ var r = vt(n.toString()).toLocaleLowerCase(o), i = vt(t.toString()).toLocaleLowerCase(o);
5688
5688
  return i.indexOf(r) !== -1;
5689
5689
  },
5690
5690
  notContains: function(t, n, o) {
@@ -5692,7 +5692,7 @@ var qf = {
5692
5692
  return !0;
5693
5693
  if (t == null)
5694
5694
  return !1;
5695
- var r = yt(n.toString()).toLocaleLowerCase(o), i = yt(t.toString()).toLocaleLowerCase(o);
5695
+ var r = vt(n.toString()).toLocaleLowerCase(o), i = vt(t.toString()).toLocaleLowerCase(o);
5696
5696
  return i.indexOf(r) === -1;
5697
5697
  },
5698
5698
  endsWith: function(t, n, o) {
@@ -5700,14 +5700,14 @@ var qf = {
5700
5700
  return !0;
5701
5701
  if (t == null)
5702
5702
  return !1;
5703
- var r = yt(n.toString()).toLocaleLowerCase(o), i = yt(t.toString()).toLocaleLowerCase(o);
5703
+ var r = vt(n.toString()).toLocaleLowerCase(o), i = vt(t.toString()).toLocaleLowerCase(o);
5704
5704
  return i.indexOf(r, i.length - r.length) !== -1;
5705
5705
  },
5706
5706
  equals: function(t, n, o) {
5707
- return n == null || n === "" ? !0 : t == null ? !1 : t.getTime && n.getTime ? t.getTime() === n.getTime() : yt(t.toString()).toLocaleLowerCase(o) == yt(n.toString()).toLocaleLowerCase(o);
5707
+ 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);
5708
5708
  },
5709
5709
  notEquals: function(t, n, o) {
5710
- return n == null || n === "" ? !1 : t == null ? !0 : t.getTime && n.getTime ? t.getTime() !== n.getTime() : yt(t.toString()).toLocaleLowerCase(o) != yt(n.toString()).toLocaleLowerCase(o);
5710
+ 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);
5711
5711
  },
5712
5712
  in: function(t, n) {
5713
5713
  if (n == null || n.length === 0)
@@ -5858,7 +5858,7 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
5858
5858
  ), $e(() => c.value, (be) => {
5859
5859
  !P.value && be && be.length && (z(be), P.value = !0);
5860
5860
  }, { immediate: !0 }), (be, pe) => {
5861
- const ke = X("Button"), Se = X("Toolbar"), pt = X("ProgressSpinner"), rt = X("InputIcon"), Et = X("IconField"), ht = X("DatePicker"), oe = X("InputNumber"), Y = X("Checkbox"), Ie = X("Column"), it = X("DataTable");
5861
+ const ke = X("Button"), Se = X("Toolbar"), pt = X("ProgressSpinner"), rt = X("InputIcon"), Et = X("IconField"), bt = X("DatePicker"), oe = X("InputNumber"), Y = X("Checkbox"), Ie = X("Column"), it = X("DataTable");
5862
5862
  return b(), x(se, null, [
5863
5863
  v("div", Xt(ho(be.$attrs)), [
5864
5864
  fe(be.$slots, "header"),
@@ -5953,7 +5953,7 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
5953
5953
  Be.datatype.toLowerCase() === "date" && Be.filterable ? {
5954
5954
  name: "filter",
5955
5955
  fn: ne(({ filterModel: Fe }) => [
5956
- K(ht, {
5956
+ K(bt, {
5957
5957
  modelValue: Fe.value,
5958
5958
  "onUpdate:modelValue": (We) => Fe.value = We,
5959
5959
  dateFormat: "mm/dd/yy",
@@ -6115,7 +6115,7 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
6115
6115
  class: "flex relative m-3",
6116
6116
  style: { border: "1px solid var(--surface-border)", "border-radius": "5px" }
6117
6117
  }, [
6118
- wt(K(p, {
6118
+ kt(K(p, {
6119
6119
  onClick: d[0] || (d[0] = (h) => l(h, e.linkEntityListItem)),
6120
6120
  class: "!absolute right-0",
6121
6121
  size: "small",
@@ -6194,7 +6194,7 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
6194
6194
  emits: ["update:modelValue"],
6195
6195
  setup(e) {
6196
6196
  un();
6197
- const t = e, n = Ke(e, "modelValue"), o = new Ct(), r = E({}), i = E([]), a = E({}), s = E([]), u = E([]), l = E({}), c = E("id"), f = E(1), d = E([]), p = E(25), m = E(0), g = E(0), h = E(0);
6197
+ const t = e, n = Ke(e, "modelValue"), o = new ht(), r = E({}), i = E([]), a = E({}), s = E([]), u = E([]), l = E({}), c = E("id"), f = E(1), d = E([]), p = E(25), m = E(0), g = E(0), h = E(0);
6198
6198
  let y = E([]);
6199
6199
  const w = E(!1), k = {
6200
6200
  gt: "GREATER_THAN",
@@ -6406,12 +6406,12 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
6406
6406
  default:
6407
6407
  return "text";
6408
6408
  }
6409
- }, ht = (oe) => {
6409
+ }, bt = (oe) => {
6410
6410
  p.value = oe.rows, m.value = oe.page, h.value = oe.first, L();
6411
6411
  };
6412
6412
  return (oe, Y) => {
6413
6413
  var Qt, cn;
6414
- const Ie = X("InputIcon"), it = X("InputText"), Ve = X("IconField"), Be = X("Select"), Fe = X("Divider"), We = X("InputNumber"), Ft = X("DatePicker"), Je = X("Button"), lt = X("Checkbox"), bt = X("Paginator"), Jt = Hr("tooltip");
6414
+ const Ie = X("InputIcon"), it = X("InputText"), Ve = X("IconField"), Be = X("Select"), Fe = X("Divider"), We = X("InputNumber"), Ft = X("DatePicker"), Je = X("Button"), lt = X("Checkbox"), yt = X("Paginator"), Jt = Hr("tooltip");
6415
6415
  return b(), x(se, null, [
6416
6416
  v("div", np, [
6417
6417
  v("div", op, [
@@ -6614,7 +6614,7 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
6614
6614
  Ze(Z(e.linkedEntity.entityName) + " ", 1),
6615
6615
  v("span", null, Z(me[l.value.name]), 1)
6616
6616
  ]),
6617
- T(me[l.value.name]) ? wt((b(), x("div", Bp, null, 512)), [
6617
+ T(me[l.value.name]) ? kt((b(), x("div", Bp, null, 512)), [
6618
6618
  [
6619
6619
  Jt,
6620
6620
  "This record is already associated.",
@@ -6624,11 +6624,11 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
6624
6624
  ]) : M("", !0)
6625
6625
  ])
6626
6626
  ]))), 128)),
6627
- K(bt, {
6627
+ K(yt, {
6628
6628
  rows: p.value,
6629
6629
  totalRecords: g.value,
6630
6630
  rowsPerPageOptions: [10, 25, 50, 100],
6631
- onPage: ht,
6631
+ onPage: bt,
6632
6632
  template: "FirstPageLink PageLinks LastPageLink CurrentPageReport RowsPerPageDropdown",
6633
6633
  currentPageReportTemplate: ""
6634
6634
  }, null, 8, ["rows", "totalRecords"])
@@ -6691,7 +6691,7 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
6691
6691
  addRecord: i,
6692
6692
  updateRecord: a,
6693
6693
  deleteRecord: s
6694
- } = Ct(), u = e, l = Ke(e, "modelValue");
6694
+ } = ht(), u = e, l = Ke(e, "modelValue");
6695
6695
  new EntityRecordService();
6696
6696
  const c = E({}), f = E({});
6697
6697
  let d = E("");
@@ -7313,7 +7313,7 @@ const Kf = { key: 0 }, Gf = { key: 1 }, ri = {
7313
7313
  }, ta = /* @__PURE__ */ tt(Om, [["__scopeId", "data-v-12a444f4"]]), Tm = E("id"), Im = E(1), Bm = E(25), Rm = E(0), na = E([]);
7314
7314
  E("");
7315
7315
  function nr() {
7316
- const e = ot("getVariable"), t = new Ct();
7316
+ const e = ot("getVariable"), t = new ht();
7317
7317
  let { errors: n, setErrors: o } = Zs(), r = Nt({
7318
7318
  data: null
7319
7319
  });
@@ -8308,7 +8308,7 @@ const Wm = /* @__PURE__ */ tt(Um, [["render", Hm]]), qm = { class: "my-2" }, Km
8308
8308
  ], 64);
8309
8309
  };
8310
8310
  }
8311
- }, xt = /* @__PURE__ */ tt(mg, [["__scopeId", "data-v-2bc5d993"]]), Dt = {
8311
+ }, St = /* @__PURE__ */ tt(mg, [["__scopeId", "data-v-2bc5d993"]]), Dt = {
8312
8312
  __name: "EntityListPagination",
8313
8313
  setup(e) {
8314
8314
  const t = E(25), n = E(0), o = E(0), r = E(0);
@@ -8347,7 +8347,7 @@ const Wm = /* @__PURE__ */ tt(Um, [["render", Hm]]), qm = { class: "my-2" }, Km
8347
8347
  }, null, 8, ["rows", "totalRecords"]);
8348
8348
  };
8349
8349
  }
8350
- }, gg = { class: "flex flex-row justify-end p-2 my-1" }, St = {
8350
+ }, gg = { class: "flex flex-row justify-end p-2 my-1" }, Ct = {
8351
8351
  __name: "EntityListAddButton",
8352
8352
  setup(e) {
8353
8353
  const t = E(!1), n = () => {
@@ -8411,13 +8411,13 @@ const Wm = /* @__PURE__ */ tt(Um, [["render", Hm]]), qm = { class: "my-2" }, Km
8411
8411
  ), (a, s) => {
8412
8412
  var u, l, c;
8413
8413
  return a.$slots["list-item-display"] ? (b(), x(se, { key: 0 }, [
8414
- e.showAddButton ? (b(), H(St, { key: 0 })) : M("", !0),
8415
- e.listFilerSlot ? (b(), H(Pe(e.listFilter || xt), { key: 1 })) : M("", !0),
8414
+ e.showAddButton ? (b(), H(Ct, { key: 0 })) : M("", !0),
8415
+ e.listFilerSlot ? (b(), H(Pe(e.listFilter || St), { key: 1 })) : M("", !0),
8416
8416
  (b(!0), x(se, null, Oe(((c = (l = (u = Q(n)) == null ? void 0 : u.state) == null ? void 0 : l.data) == null ? void 0 : c.result) || [], (f) => fe(a.$slots, "list-item-display", { item: f })), 256))
8417
8417
  ], 64)) : (b(), x(se, { key: 1 }, [
8418
8418
  (b(), H(Pe(e.listHeader || Gm))),
8419
- (b(), H(Pe(e.listFilter || xt))),
8420
- e.showAddButton ? (b(), H(St, { key: 0 })) : M("", !0),
8419
+ (b(), H(Pe(e.listFilter || St))),
8420
+ e.showAddButton ? (b(), H(Ct, { key: 0 })) : M("", !0),
8421
8421
  (b(), H(Pe(e.listDisplay || Mm), Xt(ho({ listItemDisplay: e.listItemDisplay })), null, 16)),
8422
8422
  (b(), H(Pe(e.listPagination || Dt))),
8423
8423
  (b(), H(Pe(e.listFooter || Wm)))
@@ -9073,18 +9073,18 @@ An({
9073
9073
  let pe = !1;
9074
9074
  const ke = { x: 0, y: 0 }, Se = Nt({ x: 0, y: 0 }), pt = E(!1), rt = E(!1), Et = () => {
9075
9075
  pt.value = !0;
9076
- }, ht = () => {
9076
+ }, bt = () => {
9077
9077
  pt.value = !1;
9078
9078
  }, oe = vr((q) => {
9079
9079
  if (!q.ctrlKey)
9080
9080
  switch (q.key) {
9081
9081
  case "ArrowLeft":
9082
9082
  case "ArrowUp":
9083
- V.value === q.key.endsWith("Up") && (C.value ? bt(!0) : Jt(!0));
9083
+ V.value === q.key.endsWith("Up") && (C.value ? yt(!0) : Jt(!0));
9084
9084
  break;
9085
9085
  case "ArrowRight":
9086
9086
  case "ArrowDown":
9087
- V.value === q.key.endsWith("Down") && (C.value ? Jt(!0) : bt(!0));
9087
+ V.value === q.key.endsWith("Down") && (C.value ? Jt(!0) : yt(!0));
9088
9088
  break;
9089
9089
  }
9090
9090
  }, 200), Y = () => {
@@ -9129,7 +9129,7 @@ An({
9129
9129
  }
9130
9130
  function Fe() {
9131
9131
  !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
9132
- d.pauseAutoplayOnHover && pt.value || bt();
9132
+ d.pauseAutoplayOnHover && pt.value || yt();
9133
9133
  }, d.autoplay));
9134
9134
  }
9135
9135
  function We() {
@@ -9167,7 +9167,7 @@ An({
9167
9167
  }), Je.value = !1, Ft();
9168
9168
  }, d.transition);
9169
9169
  }
9170
- function bt(q = !1) {
9170
+ function yt(q = !1) {
9171
9171
  lt(p.value + d.itemsToScroll, q);
9172
9172
  }
9173
9173
  function Jt(q = !1) {
@@ -9289,7 +9289,7 @@ An({
9289
9289
  "--vc-slide-gap": Oo(d.gap),
9290
9290
  "--vc-carousel-height": Oo(d.height),
9291
9291
  "--vc-cloned-offset": Oo($t.value)
9292
- })), ge = { slideTo: lt, next: bt, prev: Jt }, ve = Nt({
9292
+ })), ge = { slideTo: lt, next: yt, prev: Jt }, ve = Nt({
9293
9293
  activeSlide: m,
9294
9294
  config: d,
9295
9295
  currentSlide: p,
@@ -9319,7 +9319,7 @@ An({
9319
9319
  return o({
9320
9320
  data: de,
9321
9321
  nav: ge,
9322
- next: bt,
9322
+ next: yt,
9323
9323
  prev: Jt,
9324
9324
  restartCarousel: Qt,
9325
9325
  slideTo: lt,
@@ -9368,7 +9368,7 @@ An({
9368
9368
  onFocus: Y,
9369
9369
  onBlur: Ie,
9370
9370
  onMouseenter: Et,
9371
- onMouseleave: ht
9371
+ onMouseleave: bt
9372
9372
  }, [zn, Ln, et(Ag)]);
9373
9373
  };
9374
9374
  }
@@ -9681,7 +9681,7 @@ const Lg = { class: "flex items-center justify-between rounded-md w-full overflo
9681
9681
  }
9682
9682
  },
9683
9683
  setup(e, { expose: t, emit: n }) {
9684
- const o = e, r = Xe(), i = new Ct();
9684
+ const o = e, r = Xe(), i = new ht();
9685
9685
  E(null), E(null);
9686
9686
  const a = E("id"), s = E(1), u = E(25), l = E(0), c = E(null), f = n, d = E([]), p = E([]), m = E(!0), g = E(null), { hasMatchingRoleAndPermissions: h } = xn(), y = nr();
9687
9687
  sn("entityObject", y), ze(async () => {
@@ -9771,12 +9771,12 @@ const Lg = { class: "flex items-center justify-between rounded-md w-full overflo
9771
9771
  v("div", Lg, [
9772
9772
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", Vg, [
9773
9773
  v("div", zg, [
9774
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
9774
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
9775
9775
  key: 0,
9776
9776
  externalFilterPayload: o.externalFilterPayload,
9777
9777
  preFiltered: o.preFiltered
9778
9778
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
9779
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
9779
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
9780
9780
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
9781
9781
  key: 2,
9782
9782
  class: "ml-auto"
@@ -9807,12 +9807,12 @@ const Lg = { class: "flex items-center justify-between rounded-md w-full overflo
9807
9807
  ], 2),
9808
9808
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", Ug, [
9809
9809
  v("div", Hg, [
9810
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
9810
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
9811
9811
  key: 0,
9812
9812
  externalFilterPayload: o.externalFilterPayload,
9813
9813
  preFiltered: o.preFiltered
9814
9814
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
9815
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
9815
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
9816
9816
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
9817
9817
  key: 2,
9818
9818
  class: "ml-auto"
@@ -9830,12 +9830,12 @@ const Lg = { class: "flex items-center justify-between rounded-md w-full overflo
9830
9830
  v("div", Gg, [
9831
9831
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", Yg, [
9832
9832
  v("div", Xg, [
9833
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
9833
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
9834
9834
  key: 0,
9835
9835
  externalFilterPayload: o.externalFilterPayload,
9836
9836
  preFiltered: o.preFiltered
9837
9837
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
9838
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
9838
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
9839
9839
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
9840
9840
  key: 2,
9841
9841
  class: "ml-auto"
@@ -9864,12 +9864,12 @@ const Lg = { class: "flex items-center justify-between rounded-md w-full overflo
9864
9864
  ]))), 128)),
9865
9865
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", Zg, [
9866
9866
  v("div", eh, [
9867
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
9867
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
9868
9868
  key: 0,
9869
9869
  externalFilterPayload: o.externalFilterPayload,
9870
9870
  preFiltered: o.preFiltered
9871
9871
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
9872
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
9872
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
9873
9873
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
9874
9874
  key: 2,
9875
9875
  class: "ml-auto"
@@ -10041,8 +10041,8 @@ const Lg = { class: "flex items-center justify-between rounded-md w-full overflo
10041
10041
  return b(), x("div", Xt(ho(u.$attrs)), [
10042
10042
  u.$slots["list-item-display-tile"] ? (b(), x(se, { key: 0 }, [
10043
10043
  fe(u.$slots, "header", {}, void 0, !0),
10044
- e.showAddButton ? (b(), H(St, { key: 0 })) : M("", !0),
10045
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), { key: 1 })) : M("", !0),
10044
+ e.showAddButton ? (b(), H(Ct, { key: 0 })) : M("", !0),
10045
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), { key: 1 })) : M("", !0),
10046
10046
  v("div", fh, [
10047
10047
  (b(!0), x(se, null, Oe(((d = (f = (c = Q(n)) == null ? void 0 : c.state) == null ? void 0 : f.data) == null ? void 0 : d.result) || [], (p, m) => (b(), x("div", {
10048
10048
  key: m,
@@ -10055,8 +10055,8 @@ const Lg = { class: "flex items-center justify-between rounded-md w-full overflo
10055
10055
  ], 64)) : (b(), x(se, { key: 1 }, [
10056
10056
  fe(u.$slots, "header", {}, void 0, !0),
10057
10057
  e.entityName ? (b(), x("div", hh, [
10058
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), { key: 0 })) : M("", !0),
10059
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
10058
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), { key: 0 })) : M("", !0),
10059
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
10060
10060
  v("div", bh, [
10061
10061
  (b(!0), x(se, null, Oe(i.value, (p, m) => (b(), H(Pe(e.listItemDisplay != null && e.listItemDisplay != "" ? e.listItemDisplay : dh), ae({
10062
10062
  key: m,
@@ -10605,12 +10605,12 @@ var Ot = {
10605
10605
  const { preset: d, options: p } = t;
10606
10606
  let m, g, h, y, w, k, $;
10607
10607
  if (Te(d) && p.transform !== "strict") {
10608
- const { primitive: T, semantic: L, extend: O } = d, C = L || {}, { colorScheme: V } = C, W = Ut(C, ["colorScheme"]), R = O || {}, { colorScheme: U } = R, S = Ut(R, ["colorScheme"]), I = V || {}, { dark: _ } = I, P = Ut(I, ["dark"]), z = U || {}, { dark: J } = z, N = Ut(z, ["dark"]), A = Te(T) ? this._toVariables({ primitive: T }, p) : {}, D = Te(W) ? this._toVariables({ semantic: W }, p) : {}, ie = Te(P) ? this._toVariables({ light: P }, p) : {}, Ae = Te(_) ? this._toVariables({ dark: _ }, p) : {}, ce = Te(S) ? this._toVariables({ semantic: S }, p) : {}, be = Te(N) ? this._toVariables({ light: N }, p) : {}, pe = Te(J) ? this._toVariables({ dark: J }, p) : {}, [ke, Se] = [(i = A.declarations) != null ? i : "", A.tokens], [pt, rt] = [(a = D.declarations) != null ? a : "", D.tokens || []], [Et, ht] = [(s = ie.declarations) != null ? s : "", ie.tokens || []], [oe, Y] = [(u = Ae.declarations) != null ? u : "", Ae.tokens || []], [Ie, it] = [(l = ce.declarations) != null ? l : "", ce.tokens || []], [Ve, Be] = [(c = be.declarations) != null ? c : "", be.tokens || []], [Fe, We] = [(f = pe.declarations) != null ? f : "", pe.tokens || []];
10608
+ const { primitive: T, semantic: L, extend: O } = d, C = L || {}, { colorScheme: V } = C, W = Ut(C, ["colorScheme"]), R = O || {}, { colorScheme: U } = R, S = Ut(R, ["colorScheme"]), I = V || {}, { dark: _ } = I, P = Ut(I, ["dark"]), z = U || {}, { dark: J } = z, N = Ut(z, ["dark"]), A = Te(T) ? this._toVariables({ primitive: T }, p) : {}, D = Te(W) ? this._toVariables({ semantic: W }, p) : {}, ie = Te(P) ? this._toVariables({ light: P }, p) : {}, Ae = Te(_) ? this._toVariables({ dark: _ }, p) : {}, ce = Te(S) ? this._toVariables({ semantic: S }, p) : {}, be = Te(N) ? this._toVariables({ light: N }, p) : {}, pe = Te(J) ? this._toVariables({ dark: J }, p) : {}, [ke, Se] = [(i = A.declarations) != null ? i : "", A.tokens], [pt, rt] = [(a = D.declarations) != null ? a : "", D.tokens || []], [Et, bt] = [(s = ie.declarations) != null ? s : "", ie.tokens || []], [oe, Y] = [(u = Ae.declarations) != null ? u : "", Ae.tokens || []], [Ie, it] = [(l = ce.declarations) != null ? l : "", ce.tokens || []], [Ve, Be] = [(c = be.declarations) != null ? c : "", be.tokens || []], [Fe, We] = [(f = pe.declarations) != null ? f : "", pe.tokens || []];
10609
10609
  m = this.transformCSS(e, ke, "light", "variable", p, o, r), g = Se;
10610
10610
  const Ft = this.transformCSS(e, `${pt}${Et}`, "light", "variable", p, o, r), Je = this.transformCSS(e, `${oe}`, "dark", "variable", p, o, r);
10611
- h = `${Ft}${Je}`, y = [.../* @__PURE__ */ new Set([...rt, ...ht, ...Y])];
10612
- const lt = this.transformCSS(e, `${Ie}${Ve}color-scheme:light`, "light", "variable", p, o, r), bt = this.transformCSS(e, `${Fe}color-scheme:dark`, "dark", "variable", p, o, r);
10613
- w = `${lt}${bt}`, k = [.../* @__PURE__ */ new Set([...it, ...Be, ...We])], $ = kt(d.css, { dt: Jn });
10611
+ h = `${Ft}${Je}`, y = [.../* @__PURE__ */ new Set([...rt, ...bt, ...Y])];
10612
+ const lt = this.transformCSS(e, `${Ie}${Ve}color-scheme:light`, "light", "variable", p, o, r), yt = this.transformCSS(e, `${Fe}color-scheme:dark`, "dark", "variable", p, o, r);
10613
+ w = `${lt}${yt}`, k = [.../* @__PURE__ */ new Set([...it, ...Be, ...We])], $ = xt(d.css, { dt: Jn });
10614
10614
  }
10615
10615
  return {
10616
10616
  primitive: {
@@ -10633,7 +10633,7 @@ var Ot = {
10633
10633
  let c, f, d;
10634
10634
  if (Te(t) && n.transform !== "strict") {
10635
10635
  const p = e.replace("-directive", ""), m = t, { colorScheme: g, extend: h, css: y } = m, w = Ut(m, ["colorScheme", "extend", "css"]), k = h || {}, { colorScheme: $ } = k, T = Ut(k, ["colorScheme"]), L = g || {}, { dark: O } = L, C = Ut(L, ["dark"]), V = $ || {}, { dark: W } = V, R = Ut(V, ["dark"]), U = Te(w) ? this._toVariables({ [p]: Ue(Ue({}, w), T) }, n) : {}, S = Te(C) ? this._toVariables({ [p]: Ue(Ue({}, C), R) }, n) : {}, I = Te(O) ? this._toVariables({ [p]: Ue(Ue({}, O), W) }, n) : {}, [_, P] = [(s = U.declarations) != null ? s : "", U.tokens || []], [z, J] = [(u = S.declarations) != null ? u : "", S.tokens || []], [N, A] = [(l = I.declarations) != null ? l : "", I.tokens || []], D = this.transformCSS(p, `${_}${z}`, "light", "variable", n, r, i, a), ie = this.transformCSS(p, N, "dark", "variable", n, r, i, a);
10636
- c = `${D}${ie}`, f = [.../* @__PURE__ */ new Set([...P, ...J, ...A])], d = kt(y, { dt: Jn });
10636
+ c = `${D}${ie}`, f = [.../* @__PURE__ */ new Set([...P, ...J, ...A])], d = xt(y, { dt: Jn });
10637
10637
  }
10638
10638
  return {
10639
10639
  css: c,
@@ -10660,7 +10660,7 @@ var Ot = {
10660
10660
  },
10661
10661
  getLayerOrder(e, t = {}, n, o) {
10662
10662
  const { cssLayer: r } = t;
10663
- return r ? `@layer ${kt(r.order || "primeui", n)}` : "";
10663
+ return r ? `@layer ${xt(r.order || "primeui", n)}` : "";
10664
10664
  },
10665
10665
  getCommonStyleSheet({ name: e = "", theme: t = {}, params: n, props: o = {}, set: r, defaults: i }) {
10666
10666
  const a = this.getCommon({ name: e, theme: t, params: n, set: r, defaults: i }), s = Object.entries(o).reduce((u, [l, c]) => u.push(`${l}="${c}"`) && u, []).join(" ");
@@ -10734,7 +10734,7 @@ var Ot = {
10734
10734
  name: "primeui",
10735
10735
  order: "primeui"
10736
10736
  };
10737
- Vt(u) && (l.name = kt(u.name, { name: e, type: o })), Te(l.name) && (t = Tn(`@layer ${l.name}`, t), i == null || i.layerNames(l.name));
10737
+ Vt(u) && (l.name = xt(u.name, { name: e, type: o })), Te(l.name) && (t = Tn(`@layer ${l.name}`, t), i == null || i.layerNames(l.name));
10738
10738
  }
10739
10739
  return t;
10740
10740
  }
@@ -11210,7 +11210,7 @@ var bb = function(t) {
11210
11210
  load: function(t) {
11211
11211
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
11212
11212
  return i;
11213
- }, r = o(kt(t, {
11213
+ }, r = o(xt(t, {
11214
11214
  dt: Jn
11215
11215
  }));
11216
11216
  return Te(r) ? ub(Xn(r), kr({
@@ -11246,7 +11246,7 @@ var bb = function(t) {
11246
11246
  getStyleSheet: function() {
11247
11247
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
11248
11248
  if (this.css) {
11249
- var o = kt(this.css, {
11249
+ var o = xt(this.css, {
11250
11250
  dt: Jn
11251
11251
  }) || "", r = Xn("".concat(o).concat(t)), i = Object.entries(n).reduce(function(a, s) {
11252
11252
  var u = ha(s, 2), l = u[0], c = u[1];
@@ -11263,7 +11263,7 @@ var bb = function(t) {
11263
11263
  getThemeStyleSheet: function(t) {
11264
11264
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = [_e.getStyleSheet(this.name, t, n)];
11265
11265
  if (this.theme) {
11266
- var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = kt(this.theme, {
11266
+ var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = xt(this.theme, {
11267
11267
  dt: Jn
11268
11268
  }), a = Xn(_e.transformCSS(r, i)), s = Object.entries(n).reduce(function(u, l) {
11269
11269
  var c = ha(l, 2), f = c[0], d = c[1];
@@ -11621,7 +11621,7 @@ var Sn = {
11621
11621
  globalPT: function() {
11622
11622
  var t, n = this;
11623
11623
  return this._getPT((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.pt, void 0, function(o) {
11624
- return kt(o, {
11624
+ return xt(o, {
11625
11625
  instance: n
11626
11626
  });
11627
11627
  });
@@ -11629,7 +11629,7 @@ var Sn = {
11629
11629
  defaultPT: function() {
11630
11630
  var t, n = this;
11631
11631
  return this._getPT((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.pt, void 0, function(o) {
11632
- return n._getOptionValue(o, n.$name, Ce({}, n.$params)) || kt(o, Ce({}, n.$params));
11632
+ return n._getOptionValue(o, n.$name, Ce({}, n.$params)) || xt(o, Ce({}, n.$params));
11633
11633
  });
11634
11634
  },
11635
11635
  isUnstyled: function() {
@@ -12083,7 +12083,7 @@ function Ub(e, t) {
12083
12083
  }
12084
12084
  var xe = {
12085
12085
  _getMeta: function() {
12086
- return [Vt(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], kt(Vt(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
12086
+ return [Vt(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], xt(Vt(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
12087
12087
  },
12088
12088
  _getConfig: function(t, n) {
12089
12089
  var o, r, i;
@@ -13286,7 +13286,7 @@ function s0(e, t, n, o, r, i) {
13286
13286
  key: 1,
13287
13287
  class: ye(e.cx("root")),
13288
13288
  a11yAttrs: i.a11yAttrs
13289
- }) : wt((b(), H(Pe(e.as), ae({
13289
+ }) : kt((b(), H(Pe(e.as), ae({
13290
13290
  key: 0,
13291
13291
  class: e.cx("root")
13292
13292
  }, i.attrs), {
@@ -13441,7 +13441,7 @@ const l0 = { class: "flex items-center justify-between rounded-md w-full overflo
13441
13441
  }
13442
13442
  },
13443
13443
  setup(e, { expose: t, emit: n }) {
13444
- const o = Xe(), r = new Ct(), i = n, a = e, s = E("id"), u = E(1), l = E(25), c = E(0), f = E(null), d = E([]), p = E([]), m = E(!0), g = E(null), { hasMatchingRoleAndPermissions: h } = xn(), y = nr();
13444
+ const o = Xe(), r = new ht(), i = n, a = e, s = E("id"), u = E(1), l = E(25), c = E(0), f = E(null), d = E([]), p = E([]), m = E(!0), g = E(null), { hasMatchingRoleAndPermissions: h } = xn(), y = nr();
13445
13445
  sn("entityObject", y);
13446
13446
  const w = E(null), k = (_) => {
13447
13447
  const P = w.value;
@@ -13527,12 +13527,12 @@ const l0 = { class: "flex items-center justify-between rounded-md w-full overflo
13527
13527
  v("div", l0, [
13528
13528
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", u0, [
13529
13529
  v("div", c0, [
13530
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
13530
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
13531
13531
  key: 0,
13532
13532
  externalFilterPayload: a.externalFilterPayload,
13533
13533
  preFiltered: a.preFiltered
13534
13534
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
13535
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
13535
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
13536
13536
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
13537
13537
  key: 2,
13538
13538
  class: "ml-auto"
@@ -13575,12 +13575,12 @@ const l0 = { class: "flex items-center justify-between rounded-md w-full overflo
13575
13575
  ])) : M("", !0),
13576
13576
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", m0, [
13577
13577
  v("div", g0, [
13578
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
13578
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
13579
13579
  key: 0,
13580
13580
  externalFilterPayload: a.externalFilterPayload,
13581
13581
  preFiltered: a.preFiltered
13582
13582
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
13583
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
13583
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
13584
13584
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
13585
13585
  key: 2,
13586
13586
  class: "ml-auto"
@@ -13594,12 +13594,12 @@ const l0 = { class: "flex items-center justify-between rounded-md w-full overflo
13594
13594
  v("div", w0, [
13595
13595
  e.showToolBar == "top" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", k0, [
13596
13596
  v("div", x0, [
13597
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
13597
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
13598
13598
  key: 0,
13599
13599
  externalFilterPayload: a.externalFilterPayload,
13600
13600
  preFiltered: a.preFiltered
13601
13601
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
13602
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
13602
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
13603
13603
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
13604
13604
  key: 2,
13605
13605
  class: "ml-auto"
@@ -13631,12 +13631,12 @@ const l0 = { class: "flex items-center justify-between rounded-md w-full overflo
13631
13631
  ])) : M("", !0),
13632
13632
  e.showToolBar == "bottom" && (e.showFilters || e.showAddButton || e.showPagination) ? (b(), x("div", C0, [
13633
13633
  v("div", E0, [
13634
- e.showFilters ? (b(), H(Pe(e.listFilter || xt), {
13634
+ e.showFilters ? (b(), H(Pe(e.listFilter || St), {
13635
13635
  key: 0,
13636
13636
  externalFilterPayload: a.externalFilterPayload,
13637
13637
  preFiltered: a.preFiltered
13638
13638
  }, null, 8, ["externalFilterPayload", "preFiltered"])) : M("", !0),
13639
- e.showAddButton ? (b(), H(St, { key: 1 })) : M("", !0),
13639
+ e.showAddButton ? (b(), H(Ct, { key: 1 })) : M("", !0),
13640
13640
  e.showPagination ? (b(), H(Pe(e.listPagination || Dt), {
13641
13641
  key: 2,
13642
13642
  class: "ml-auto"
@@ -18738,7 +18738,7 @@ function Qv(e, t, n, o, r, i) {
18738
18738
  class: e.cx("optionGroupLabel"),
18739
18739
  ref_for: !0
18740
18740
  }, e.ptm("optionGroupLabel")), Z(i.getOptionGroupLabel(O.optionGroup)), 17)];
18741
- })], 16, Xv)) : wt((b(), x("li", ae({
18741
+ })], 16, Xv)) : kt((b(), x("li", ae({
18742
18742
  key: 1,
18743
18743
  id: r.id + "_" + i.getOptionIndex(C, $),
18744
18744
  class: e.cx("option", {
@@ -19463,7 +19463,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19463
19463
  }, [
19464
19464
  v("div", y1, [
19465
19465
  s[3] || (s[3] = v("label", { class: "block mb-1" }, "Username", -1)),
19466
- wt(v("input", {
19466
+ kt(v("input", {
19467
19467
  "onUpdate:modelValue": s[0] || (s[0] = (u) => n.value = u),
19468
19468
  name: "username",
19469
19469
  type: "text",
@@ -19475,7 +19475,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19475
19475
  ]),
19476
19476
  v("div", v1, [
19477
19477
  s[4] || (s[4] = v("label", { class: "block mb-1" }, "Password", -1)),
19478
- wt(v("input", {
19478
+ kt(v("input", {
19479
19479
  "onUpdate:modelValue": s[1] || (s[1] = (u) => o.value = u),
19480
19480
  name: "password",
19481
19481
  type: "password",
@@ -19486,7 +19486,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19486
19486
  ])
19487
19487
  ]),
19488
19488
  v("div", w1, [
19489
- wt(v("input", {
19489
+ kt(v("input", {
19490
19490
  type: "checkbox",
19491
19491
  "onUpdate:modelValue": s[2] || (s[2] = (u) => r.value = u),
19492
19492
  name: "rememberMe",
@@ -19567,7 +19567,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19567
19567
  }, [
19568
19568
  v("div", C1, [
19569
19569
  u[4] || (u[4] = v("label", { class: "block mb-1" }, "Full Name", -1)),
19570
- wt(v("input", {
19570
+ kt(v("input", {
19571
19571
  "onUpdate:modelValue": u[0] || (u[0] = (l) => n.value = l),
19572
19572
  name: "fullName",
19573
19573
  type: "text",
@@ -19579,7 +19579,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19579
19579
  ]),
19580
19580
  v("div", E1, [
19581
19581
  u[5] || (u[5] = v("label", { class: "block mb-1" }, "Email", -1)),
19582
- wt(v("input", {
19582
+ kt(v("input", {
19583
19583
  "onUpdate:modelValue": u[1] || (u[1] = (l) => o.value = l),
19584
19584
  name: "email",
19585
19585
  type: "email",
@@ -19591,7 +19591,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19591
19591
  ]),
19592
19592
  v("div", $1, [
19593
19593
  u[6] || (u[6] = v("label", { class: "block mb-1" }, "Password", -1)),
19594
- wt(v("input", {
19594
+ kt(v("input", {
19595
19595
  "onUpdate:modelValue": u[2] || (u[2] = (l) => r.value = l),
19596
19596
  name: "password",
19597
19597
  type: "password",
@@ -19602,7 +19602,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19602
19602
  ])
19603
19603
  ]),
19604
19604
  v("div", O1, [
19605
- wt(v("input", {
19605
+ kt(v("input", {
19606
19606
  type: "checkbox",
19607
19607
  "onUpdate:modelValue": u[3] || (u[3] = (l) => i.value = l),
19608
19608
  name: "agreeToTerms",
@@ -19684,7 +19684,7 @@ const Zv = { class: "editable-label-editing flex items-center gap-2 w-full" }, Q
19684
19684
  class: ye(["fa", i.value, "fa-lg", "text-gray-600", "mr-2"]),
19685
19685
  style: { "min-width": "20px" }
19686
19686
  }, null, 2)) : M("", !0),
19687
- wt(v("input", {
19687
+ kt(v("input", {
19688
19688
  "onUpdate:modelValue": T[0] || (T[0] = (L) => i.value = L),
19689
19689
  onFocus: T[1] || (T[1] = (L) => a.value = !0),
19690
19690
  type: "text",
@@ -25238,7 +25238,7 @@ function Dk() {
25238
25238
  };
25239
25239
  }
25240
25240
  function Nk() {
25241
- const e = new Ct();
25241
+ const e = new ht();
25242
25242
  return { getEntityRecord: async (n, o) => {
25243
25243
  try {
25244
25244
  const r = await e.getRecord(n, o);
@@ -25251,7 +25251,20 @@ function Nk() {
25251
25251
  } };
25252
25252
  }
25253
25253
  function Lk() {
25254
- const e = new Ct();
25254
+ const e = new ht();
25255
+ return { getAllEntityRecords: async (n) => {
25256
+ try {
25257
+ const o = await e.getEntityRecords(n);
25258
+ if (o && o.success)
25259
+ return o.response.result.length > 0 ? o.response.result : [];
25260
+ } catch (o) {
25261
+ return o;
25262
+ } finally {
25263
+ }
25264
+ } };
25265
+ }
25266
+ function Vk() {
25267
+ const e = new ht();
25255
25268
  return { addEntityRecord: async (n, o) => {
25256
25269
  const r = {
25257
25270
  dataDefinitions: Object.entries(o).map(([i, a]) => ({
@@ -25269,8 +25282,8 @@ function Lk() {
25269
25282
  }
25270
25283
  } };
25271
25284
  }
25272
- function Vk() {
25273
- const e = new Ct();
25285
+ function zk() {
25286
+ const e = new ht();
25274
25287
  return { deleteEntityRecord: async (n, o) => {
25275
25288
  try {
25276
25289
  const r = await e.deleteRecord(n, o);
@@ -25282,7 +25295,7 @@ function Vk() {
25282
25295
  }
25283
25296
  } };
25284
25297
  }
25285
- function zk() {
25298
+ function jk() {
25286
25299
  const e = Xe(), { get: t, post: n, put: o, del: r } = zt(), i = () => e.getAppId();
25287
25300
  return {
25288
25301
  getThemes: async () => {
@@ -25304,14 +25317,14 @@ function zk() {
25304
25317
  }
25305
25318
  };
25306
25319
  }
25307
- function jk() {
25320
+ function Mk() {
25308
25321
  const { get: e } = zt();
25309
25322
  return {
25310
25323
  getPlatformComponents: async () => await e("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue"),
25311
25324
  getComponentTemplates: async (o) => await e(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${o}&page=0&size=50`)
25312
25325
  };
25313
25326
  }
25314
- function Mk() {
25327
+ function Uk() {
25315
25328
  const e = Xe(), { get: t, post: n, put: o, del: r } = zt(), i = () => e.getAppId();
25316
25329
  return {
25317
25330
  getPage: async (f) => {
@@ -25336,7 +25349,7 @@ function Mk() {
25336
25349
  }
25337
25350
  };
25338
25351
  }
25339
- function Uk() {
25352
+ function Hk() {
25340
25353
  const e = Xe(), { get: t, post: n, put: o, del: r } = zt(), i = () => e.getAppId();
25341
25354
  return {
25342
25355
  getLayouts: async () => {
@@ -25361,7 +25374,7 @@ function Uk() {
25361
25374
  }
25362
25375
  };
25363
25376
  }
25364
- function Hk() {
25377
+ function Wk() {
25365
25378
  const e = Xe(), { get: t, post: n, put: o, del: r } = zt(), i = () => e.getAppId();
25366
25379
  return {
25367
25380
  getGlobalVars: async () => {
@@ -25390,7 +25403,7 @@ function Hk() {
25390
25403
  }
25391
25404
  };
25392
25405
  }
25393
- function Wk() {
25406
+ function qk() {
25394
25407
  const e = Xe(), { get: t, post: n, put: o, del: r } = zt(), i = () => e.getAppId();
25395
25408
  return {
25396
25409
  getConnectionByID: async (f) => {
@@ -25510,7 +25523,7 @@ const Ok = { style: {
25510
25523
  ]));
25511
25524
  }
25512
25525
  };
25513
- function qk({
25526
+ function Kk({
25514
25527
  type: e = "danger",
25515
25528
  title: t = "Warning",
25516
25529
  message: n = "All the changes you made will be lost, do you wish to continue?",
@@ -25550,29 +25563,30 @@ function qk({
25550
25563
  });
25551
25564
  s.mount(a);
25552
25565
  }
25553
- const Kk = {
25566
+ const Gk = {
25554
25567
  install(e, t) {
25555
25568
  e.component("CSEntityGrid", Dr), e.component("csentitygrid", Dr), e.component("CSEntityList", oa), e.component("csentitylist", oa), e.component("CSFieldExpression", Va), e.component("csfieldexpression", Va), e.component("CSEntity360View", ta), e.component("csentity360view", ta), e.component("CSEntityListing", ca), e.component("csentitylisting", ca), e.component("CSEntityListingTile", da), e.component("csentitylistingtile", da), e.component("CSEntityListingCarousel", Ia), e.component("csentitylistingcarousel", Ia), e.component("CSEntitySelection", es), e.component("csentityselection", es), e.component("CSEntityExplorer", za), e.component("csentityexplorer", za), e.component("CSMenu", ja), e.component("csmenu", ja), e.component("CSTextInput", Ma), e.component("cstextinput", Ma), e.component("CSButton", Ua), e.component("csbutton", Ua), e.component("CSStateText", Ha), e.component("csstatetext", Ha), e.component("CSColorPicker", Wa), e.component("cscolorpicker", Wa), e.component("CSRangeInput", qa), e.component("csrangeinput", qa), e.component("CSSelector", Qa), e.component("csselector", Qa), e.component("CSDynamicSelection", mo), e.component("csdynamicselection", mo), e.component("CSEntityRecordSelection", Za), e.component("csentityrecordselection", Za), e.component("CSMenuSelection", ts), e.component("csmenuSelection", ts), e.component("CSlabel", rs), e.component("cslabel", rs), e.component("CSLogin", is), e.component("cslogin", is), e.component("CSSignup", as), e.component("cssignup", as), e.component("CSRolesSelection", ns), e.component("csrolesselection", ns), e.component("CSPermissionSelection", os), e.component("cspermissionselection", os), e.component("CSIconSelection", ss), e.component("csiconselection", ss), e.component("CSIconComponent", ls), e.component("csiconcomponent", ls), e.component("CSInputText", ci), e.component("csinputtext", ci), e.component("CSInputNumber", di), e.component("csinputnumber", di), e.component("CSToggleButton", fi), e.component("cstogglebutton", fi), e.component("CSRadioButton", pi), e.component("csradiobutton", pi);
25556
25569
  }
25557
25570
  };
25558
25571
  export {
25559
- Kk as default,
25560
- qk as openGlobalDialog,
25561
- Lk as useAddEntityRecord,
25562
- jk as useComponentService,
25563
- Wk as useConnectionService,
25564
- Vk as useDeleteEntityRecord,
25572
+ Gk as default,
25573
+ Kk as openGlobalDialog,
25574
+ Vk as useAddEntityRecord,
25575
+ Mk as useComponentService,
25576
+ qk as useConnectionService,
25577
+ zk as useDeleteEntityRecord,
25565
25578
  Ly as useEntitiesStore,
25566
- Ct as useEntityRecordService,
25579
+ ht as useEntityRecordService,
25567
25580
  Ny as useEntityService,
25581
+ Lk as useGetAllEntityRecords,
25568
25582
  Nk as useGetEntityRecord,
25569
25583
  Xe as useGlobalConfigsStore,
25570
- Hk as useGlobalService,
25584
+ Wk as useGlobalService,
25571
25585
  zt as useHttpClient,
25572
- Uk as useLayoutService,
25586
+ Hk as useLayoutService,
25573
25587
  Ky as useMenuService,
25574
- Mk as usePageService,
25588
+ Uk as usePageService,
25575
25589
  hg as useSecurityService,
25576
25590
  Dk as useThemeConfig,
25577
- zk as useThemeService
25591
+ jk as useThemeService
25578
25592
  };