codesaaz-core 0.1.4 → 0.1.5

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 J, openBlock as b, createBlock as H, mergeProps as ae, hasInjectionContext as ou, inject as ot, toRaw as ms, computed as te, isRef as Lt, isReactive as Ur, toRef as ru, ref as E, watch as $e, reactive as Nt, effectScope as iu, getCurrentScope as au, onScopeDispose as su, nextTick as mt, toRefs as lu, markRaw as uu, createElementBlock as x, Fragment as se, createElementVNode as v, createTextVNode as Ye, toDisplayString as ee, createCommentVNode as M, renderList as Oe, createVNode as K, toValue as Ee, unref as Z, onMounted as ze, provide as sn, readonly as gs, watchEffect as Io, shallowRef as cu, withCtx as oe, onUpdated as hs, normalizeProps as Xt, guardReactiveProps as ho, renderSlot as fe, createSlots as Bn, withKeys as Hr, withModifiers as ko, withDirectives as kt, vShow as du, resolveDirective as Wr, normalizeClass as ye, resolveDynamicComponent as Ae, defineComponent as An, h as tt, shallowReactive as Cr, onBeforeUnmount as bs, useId as fu, getCurrentInstance as ys, onUnmounted as pu, cloneVNode as mu, Teleport as gu, Transition as hu, normalizeStyle as Qn, vModelText as Rn, vModelCheckbox as vs, createApp as bu } from "vue";
1
+ import { mergeModels as Le, useModel as Ke, resolveComponent as J, openBlock as b, createBlock as H, mergeProps as ae, hasInjectionContext as ou, inject as ot, toRaw as ms, computed as te, isRef as Lt, isReactive as Ur, toRef as ru, ref as E, watch as $e, reactive as Nt, effectScope as iu, getCurrentScope as au, onScopeDispose as su, nextTick as mt, toRefs as lu, markRaw as uu, createElementBlock as x, Fragment as se, createElementVNode as v, createTextVNode as Ze, toDisplayString as ee, createCommentVNode as M, renderList as Oe, createVNode as K, toValue as Ee, unref as Z, onMounted as ze, provide as sn, readonly as gs, watchEffect as Io, shallowRef as cu, withCtx as oe, onUpdated as hs, normalizeProps as Xt, guardReactiveProps as ho, renderSlot as fe, createSlots as Bn, withKeys as Hr, withModifiers as ko, withDirectives as kt, vShow as du, resolveDirective as Wr, normalizeClass as ye, resolveDynamicComponent as Ae, defineComponent as An, h as tt, shallowReactive as Cr, onBeforeUnmount as bs, useId as fu, getCurrentInstance as ys, onUnmounted as pu, cloneVNode as mu, Teleport as gu, Transition as hu, normalizeStyle as Qn, vModelText as Rn, vModelCheckbox as vs, createApp as bu } from "vue";
2
2
  import { useRoute as un, useRouter as yu } from "vue-router";
3
3
  import { useToast as ws, InputText as di } from "primevue";
4
4
  const fi = {
@@ -343,7 +343,7 @@ function Eu(e) {
343
343
  return n;
344
344
  }
345
345
  }
346
- const Je = /* @__PURE__ */ Kr("globalConfigsStore", {
346
+ const Xe = /* @__PURE__ */ Kr("globalConfigsStore", {
347
347
  state: () => ({
348
348
  globalConfigs: {}
349
349
  }),
@@ -2023,26 +2023,26 @@ function Ks(e) {
2023
2023
  return Ks(yn(e, r));
2024
2024
  }, n;
2025
2025
  }
2026
- const Xe = Ks(yo);
2027
- Xe.Axios = hn;
2028
- Xe.CanceledError = Dn;
2029
- Xe.CancelToken = Jr;
2030
- Xe.isCancel = Vs;
2031
- Xe.VERSION = qs;
2032
- Xe.toFormData = Go;
2033
- Xe.AxiosError = we;
2034
- Xe.Cancel = Xe.CanceledError;
2035
- Xe.all = function(t) {
2026
+ const Ye = Ks(yo);
2027
+ Ye.Axios = hn;
2028
+ Ye.CanceledError = Dn;
2029
+ Ye.CancelToken = Jr;
2030
+ Ye.isCancel = Vs;
2031
+ Ye.VERSION = qs;
2032
+ Ye.toFormData = Go;
2033
+ Ye.AxiosError = we;
2034
+ Ye.Cancel = Ye.CanceledError;
2035
+ Ye.all = function(t) {
2036
2036
  return Promise.all(t);
2037
2037
  };
2038
- Xe.spread = Zc;
2039
- Xe.isAxiosError = ed;
2040
- Xe.mergeConfig = yn;
2041
- Xe.AxiosHeaders = dt;
2042
- Xe.formToJSON = (e) => Ls(j.isHTMLForm(e) ? new FormData(e) : e);
2043
- Xe.getAdapter = Ws.getAdapter;
2044
- Xe.HttpStatusCode = Fr;
2045
- Xe.default = Xe;
2038
+ Ye.spread = Zc;
2039
+ Ye.isAxiosError = ed;
2040
+ Ye.mergeConfig = yn;
2041
+ Ye.AxiosHeaders = dt;
2042
+ Ye.formToJSON = (e) => Ls(j.isHTMLForm(e) ? new FormData(e) : e);
2043
+ Ye.getAdapter = Ws.getAdapter;
2044
+ Ye.HttpStatusCode = Fr;
2045
+ Ye.default = Ye;
2046
2046
  const Qr = /* @__PURE__ */ Kr("loading", {
2047
2047
  state: () => ({
2048
2048
  loading: !1
@@ -2079,8 +2079,8 @@ function Fi(e = {}) {
2079
2079
  };
2080
2080
  }
2081
2081
  function jt() {
2082
- Je();
2083
- const e = td(), t = Qr(), n = Xe.create({
2082
+ Xe();
2083
+ const e = td(), t = Qr(), n = Ye.create({
2084
2084
  headers: Fi()
2085
2085
  });
2086
2086
  n.interceptors.request.use(
@@ -2136,7 +2136,7 @@ function jt() {
2136
2136
  };
2137
2137
  }
2138
2138
  function ht() {
2139
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
2139
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
2140
2140
  return {
2141
2141
  getEntityRecords: async (g, h = !1, y = {}) => {
2142
2142
  const w = i(), k = new URLSearchParams(y).toString(), $ = k ? `/api/app/v1/${w}/entity/${g}/record?${k}` : `/api/app/v1/${w}/entity/${g}/record`;
@@ -2361,7 +2361,7 @@ const et = (e, t) => {
2361
2361
  class: "mb-1",
2362
2362
  for: e.column.name
2363
2363
  }, [
2364
- Ye(ee(e.column.displayName || e.column.name) + " ", 1),
2364
+ Ze(ee(e.column.displayName || e.column.name) + " ", 1),
2365
2365
  e.column.required ? (b(), x("span", id, "*")) : M("", !0)
2366
2366
  ], 8, rd),
2367
2367
  e.column.inputComponent.toLowerCase() == "input_calendar" ? (b(), H(s, {
@@ -2419,7 +2419,7 @@ const et = (e, t) => {
2419
2419
  binary: ""
2420
2420
  }, null, 8, ["modelValue", "invalid"]),
2421
2421
  v("label", ud, [
2422
- Ye(ee(e.column.displayName || e.column.name) + " ", 1),
2422
+ Ze(ee(e.column.displayName || e.column.name) + " ", 1),
2423
2423
  e.column.required ? (b(), x("span", cd, "*")) : M("", !0)
2424
2424
  ])
2425
2425
  ])) : M("", !0)
@@ -3151,7 +3151,7 @@ function nl(e) {
3151
3151
  defineInputBinds: me,
3152
3152
  defineComponentBinds: $t,
3153
3153
  defineField: Qt,
3154
- stageInitialValue: Qe,
3154
+ stageInitialValue: Je,
3155
3155
  unsetInitialValue: Ft,
3156
3156
  setFieldInitialValue: lt,
3157
3157
  createPathState: U,
@@ -3276,7 +3276,7 @@ function nl(e) {
3276
3276
  function Ft(R) {
3277
3277
  Ni(L.value, R);
3278
3278
  }
3279
- function Qe(R, P, Y = !1) {
3279
+ function Je(R, P, Y = !1) {
3280
3280
  lt(R, P), Wt(l, R, P), Y && Wt(O.value, R, je(P));
3281
3281
  }
3282
3282
  function lt(R, P, Y = !1) {
@@ -5144,7 +5144,7 @@ const Of = {
5144
5144
  severity: "error"
5145
5145
  }, {
5146
5146
  default: oe(() => [
5147
- Ye(ee(s.message), 1)
5147
+ Ze(ee(s.message), 1)
5148
5148
  ]),
5149
5149
  _: 2
5150
5150
  }, 1024)
@@ -5813,7 +5813,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
5813
5813
  }
5814
5814
  },
5815
5815
  setup(e) {
5816
- const t = Je(), n = e;
5816
+ const t = Xe(), n = e;
5817
5817
  console.log("columnsToShow", n.columnsToShow);
5818
5818
  const o = un(), r = E(n.entityName || o.params.entityName), i = E({}), a = E(""), s = E(!1), c = E(!1), { items: l, headers: u, first: f, totalRecords: d, pageSize: p, loading: m, sortBy: g, sortDirection: h, operatorMap: y, filterToSend: w, primarayKeyColumn: k, fullTextSearch: $, listingResponse: T, onFullTextSearch: L, getDatatypeByField: O, getColumnDatatype: C, onSort: V, onPage: W, onFilter: F, fetchEntityFilterData: U, fetchEntityByName: S, showEntityData: I } = nd(r.value), D = E();
5819
5819
  let _ = E(!1);
@@ -5946,7 +5946,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
5946
5946
  currentPageReportTemplate: "Showing {first} to {last} of {totalRecords} items"
5947
5947
  }, Bn({
5948
5948
  empty: oe(() => [
5949
- pe[9] || (pe[9] = Ye(" No data found. "))
5949
+ pe[9] || (pe[9] = Ze(" No data found. "))
5950
5950
  ]),
5951
5951
  loading: oe(() => [
5952
5952
  K(pt)
@@ -6112,7 +6112,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6112
6112
  },
6113
6113
  setup(e) {
6114
6114
  un();
6115
- const t = Je(), n = E("");
6115
+ const t = Xe(), n = E("");
6116
6116
  t.getAppId() != null && t.getAppId() != "" && (n.value = t.getAppId());
6117
6117
  const o = E(), r = E(!1), i = E(!1), a = E({}), s = E([
6118
6118
  {
@@ -6144,7 +6144,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6144
6144
  style: { width: "55px", height: "25px", "border-radius": "5px", "font-size": "12px" }
6145
6145
  }, {
6146
6146
  default: oe(() => d[6] || (d[6] = [
6147
- Ye(" More")
6147
+ Ze(" More")
6148
6148
  ])),
6149
6149
  _: 1
6150
6150
  }, 512), [
@@ -6433,7 +6433,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6433
6433
  };
6434
6434
  return (re, X) => {
6435
6435
  var Qt, cn;
6436
- const Be = J("InputIcon"), it = J("InputText"), Ve = J("IconField"), Re = J("Select"), Pe = J("Divider"), We = J("InputNumber"), Ft = J("DatePicker"), Qe = J("Button"), lt = J("Checkbox"), yt = J("Paginator"), Jt = Wr("tooltip");
6436
+ const Be = J("InputIcon"), it = J("InputText"), Ve = J("IconField"), Re = J("Select"), Pe = J("Divider"), We = J("InputNumber"), Ft = J("DatePicker"), Je = J("Button"), lt = J("Checkbox"), yt = J("Paginator"), Jt = Wr("tooltip");
6437
6437
  return b(), x(se, null, [
6438
6438
  v("div", ip, [
6439
6439
  v("div", ap, [
@@ -6558,14 +6558,14 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6558
6558
  ])
6559
6559
  ]),
6560
6560
  v("div", xp, [
6561
- K(Qe, {
6561
+ K(Je, {
6562
6562
  style: { width: "100px" },
6563
6563
  label: "Hide",
6564
6564
  icon: "",
6565
6565
  severity: "warning",
6566
6566
  onClick: (qe) => pe(me)
6567
6567
  }, null, 8, ["onClick"]),
6568
- K(Qe, {
6568
+ K(Je, {
6569
6569
  style: { width: "100px" },
6570
6570
  label: "Delete",
6571
6571
  icon: "",
@@ -6590,7 +6590,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6590
6590
  }, ee(me.value ? " " + me.value : " value"), 3)
6591
6591
  ], 64)) : (b(), x("span", Ep, "Filter is empty"))
6592
6592
  ]),
6593
- K(Qe, {
6593
+ K(Je, {
6594
6594
  style: { width: "100px" },
6595
6595
  label: "Edit",
6596
6596
  icon: "",
@@ -6603,7 +6603,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6603
6603
  v("div", $p, [
6604
6604
  K(Pe),
6605
6605
  v("div", Op, [
6606
- K(Qe, {
6606
+ K(Je, {
6607
6607
  style: { width: "100px" },
6608
6608
  label: "Add",
6609
6609
  disabled: N.value.length === d.value.length,
@@ -6611,7 +6611,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6611
6611
  severity: "success",
6612
6612
  onClick: ce
6613
6613
  }, null, 8, ["disabled"]),
6614
- K(Qe, {
6614
+ K(Je, {
6615
6615
  style: { width: "100px" },
6616
6616
  label: "Apply",
6617
6617
  severity: "info",
@@ -6633,7 +6633,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6633
6633
  value: me[l.value.name]
6634
6634
  }, null, 8, ["disabled", "modelValue", "value"]),
6635
6635
  v("div", Fp, [
6636
- Ye(ee(e.linkedEntity.entityName) + " ", 1),
6636
+ Ze(ee(e.linkedEntity.entityName) + " ", 1),
6637
6637
  v("span", null, ee(me[l.value.name]), 1)
6638
6638
  ]),
6639
6639
  T(me[l.value.name]) ? kt((b(), x("div", Pp, null, 512)), [
@@ -6659,7 +6659,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6659
6659
  K(Pe, { class: "mt-5" }),
6660
6660
  v("div", _p, [
6661
6661
  v("div", Dp, [
6662
- K(Qe, {
6662
+ K(Je, {
6663
6663
  label: "Cancel",
6664
6664
  icon: "",
6665
6665
  severity: "secondary",
@@ -6667,7 +6667,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6667
6667
  })
6668
6668
  ]),
6669
6669
  v("div", Np, [
6670
- K(Qe, {
6670
+ K(Je, {
6671
6671
  label: "Save",
6672
6672
  severity: "success",
6673
6673
  onClick: W
@@ -6905,13 +6905,13 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
6905
6905
  default: oe(() => [
6906
6906
  K(T, { value: "0" }, {
6907
6907
  default: oe(() => $[4] || ($[4] = [
6908
- Ye("Create new")
6908
+ Ze("Create new")
6909
6909
  ])),
6910
6910
  _: 1
6911
6911
  }),
6912
6912
  K(T, { value: "1" }, {
6913
6913
  default: oe(() => $[5] || ($[5] = [
6914
- Ye("Add existing")
6914
+ Ze("Add existing")
6915
6915
  ])),
6916
6916
  _: 1
6917
6917
  })
@@ -7117,7 +7117,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
7117
7117
  emits: ["onSaveDialog"],
7118
7118
  setup(e, { expose: t, emit: n }) {
7119
7119
  var F, U;
7120
- const o = Je(), r = un(), i = e, a = E(!0), s = E(!1), c = E([]);
7120
+ const o = Xe(), r = un(), i = e, a = E(!0), s = E(!1), c = E([]);
7121
7121
  let l = (F = r == null ? void 0 : r.params) == null ? void 0 : F.entityName, u = (U = r == null ? void 0 : r.params) == null ? void 0 : U.id;
7122
7122
  i.entityName && (l = i.entityName), i.recordId && (u = i.recordId);
7123
7123
  const f = n, { formData: d, columns: p, errors: m, backendErrors: g, isDataChange: h, linkedEntities: y, primarayColumn: w, clearErrors: k, saveRecord: $, getRelatedEntityRecordById: T, cancleRecord: L } = ri(l, u, f);
@@ -7222,13 +7222,13 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
7222
7222
  default: oe(() => [
7223
7223
  K(_, { value: "0" }, {
7224
7224
  default: oe(() => I[3] || (I[3] = [
7225
- Ye("Overview")
7225
+ Ze("Overview")
7226
7226
  ])),
7227
7227
  _: 1
7228
7228
  }),
7229
7229
  K(_, { value: "1" }, {
7230
7230
  default: oe(() => I[4] || (I[4] = [
7231
- Ye("Activity")
7231
+ Ze("Activity")
7232
7232
  ])),
7233
7233
  _: 1
7234
7234
  })
@@ -7311,7 +7311,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
7311
7311
  onClick: I[1] || (I[1] = (ce) => Z($)())
7312
7312
  }, {
7313
7313
  default: oe(() => I[6] || (I[6] = [
7314
- Ye("Save")
7314
+ Ze("Save")
7315
7315
  ])),
7316
7316
  _: 1
7317
7317
  }),
@@ -7321,7 +7321,7 @@ const Xf = { key: 0 }, Jf = { key: 1 }, ai = {
7321
7321
  onClick: I[2] || (I[2] = (ce) => Z(L)())
7322
7322
  }, {
7323
7323
  default: oe(() => I[7] || (I[7] = [
7324
- Ye("Cancel")
7324
+ Ze("Cancel")
7325
7325
  ])),
7326
7326
  _: 1
7327
7327
  })
@@ -8411,7 +8411,7 @@ const Gm = /* @__PURE__ */ et(qm, [["render", Km]]), Ym = { class: "my-2" }, Xm
8411
8411
  }
8412
8412
  },
8413
8413
  setup(e, { expose: t }) {
8414
- const n = nr(), o = Je();
8414
+ const n = nr(), o = Xe();
8415
8415
  sn("entityObject", n);
8416
8416
  const r = e;
8417
8417
  return t({
@@ -8448,7 +8448,7 @@ const Gm = /* @__PURE__ */ et(qm, [["render", Km]]), Ym = { class: "my-2" }, Xm
8448
8448
  }
8449
8449
  };
8450
8450
  function vg() {
8451
- Je();
8451
+ Xe();
8452
8452
  const { get: e, post: t, put: n, del: o } = jt();
8453
8453
  return {
8454
8454
  getActiveUser: async (h = !1) => await e("/users/me"),
@@ -9116,7 +9116,7 @@ An({
9116
9116
  };
9117
9117
  function it(q) {
9118
9118
  const ne = q.target.tagName;
9119
- if (["INPUT", "TEXTAREA", "SELECT"].includes(ne) || Qe.value || (pe = q.type === "touchstart", !pe && (q.preventDefault(), q.button !== 0)))
9119
+ if (["INPUT", "TEXTAREA", "SELECT"].includes(ne) || Je.value || (pe = q.type === "touchstart", !pe && (q.preventDefault(), q.button !== 0)))
9120
9120
  return;
9121
9121
  ke.x = "touches" in q ? q.touches[0].clientX : q.clientX, ke.y = "touches" in q ? q.touches[0].clientY : q.clientY;
9122
9122
  const ue = pe ? "touchmove" : "mousemove", le = pe ? "touchend" : "mouseup";
@@ -9160,9 +9160,9 @@ An({
9160
9160
  function Ft() {
9161
9161
  We(), Pe();
9162
9162
  }
9163
- const Qe = E(!1);
9163
+ const Je = E(!1);
9164
9164
  function lt(q, ne = !1) {
9165
- if (!ne && Qe.value)
9165
+ if (!ne && Je.value)
9166
9166
  return;
9167
9167
  let ue = q, le = q;
9168
9168
  g.value = p.value, d.wrapAround ? le = wl({
@@ -9178,7 +9178,7 @@ An({
9178
9178
  currentSlideIndex: p.value,
9179
9179
  prevSlideIndex: g.value,
9180
9180
  slidesCount: s.value
9181
- }), We(), Qe.value = !0, p.value = ue, le !== ue && cn.pause(), n("update:modelValue", le), $ = setTimeout(() => {
9181
+ }), We(), Je.value = !0, p.value = ue, le !== ue && cn.pause(), n("update:modelValue", le), $ = setTimeout(() => {
9182
9182
  d.wrapAround && le !== ue && (cn.resume(), p.value = le, n("loop", {
9183
9183
  currentSlideIndex: p.value,
9184
9184
  slidingToIndex: q
@@ -9186,7 +9186,7 @@ An({
9186
9186
  currentSlideIndex: p.value,
9187
9187
  prevSlideIndex: g.value,
9188
9188
  slidesCount: s.value
9189
- }), Qe.value = !1, Ft();
9189
+ }), Je.value = !1, Ft();
9190
9190
  }, d.transition);
9191
9191
  }
9192
9192
  function yt(q = !1) {
@@ -9307,7 +9307,7 @@ An({
9307
9307
  }
9308
9308
  return `translate${q}(${ue}px)`;
9309
9309
  }), ie = te(() => ({
9310
- "--vc-transition-duration": Qe.value ? Oo(d.transition, "ms") : void 0,
9310
+ "--vc-transition-duration": Je.value ? Oo(d.transition, "ms") : void 0,
9311
9311
  "--vc-slide-gap": Oo(d.gap),
9312
9312
  "--vc-carousel-height": Oo(d.height),
9313
9313
  "--vc-cloned-offset": Oo($t.value)
@@ -9315,7 +9315,7 @@ An({
9315
9315
  activeSlide: m,
9316
9316
  config: d,
9317
9317
  currentSlide: p,
9318
- isSliding: Qe,
9318
+ isSliding: Je,
9319
9319
  isVertical: V,
9320
9320
  maxSlide: y,
9321
9321
  minSlide: w,
@@ -9378,7 +9378,7 @@ An({
9378
9378
  `is-effect-${d.slideEffect}`,
9379
9379
  {
9380
9380
  "is-vertical": V.value,
9381
- "is-sliding": Qe.value,
9381
+ "is-sliding": Je.value,
9382
9382
  "is-dragging": rt.value,
9383
9383
  "is-hover": pt.value
9384
9384
  }
@@ -9703,7 +9703,7 @@ const jg = { class: "flex items-center justify-between rounded-md w-full overflo
9703
9703
  }
9704
9704
  },
9705
9705
  setup(e, { expose: t, emit: n }) {
9706
- const o = e, r = Je(), i = new ht();
9706
+ const o = e, r = Xe(), i = new ht();
9707
9707
  E(null), E(null);
9708
9708
  const a = 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: h } = xn(), y = nr();
9709
9709
  sn("entityObject", y), ze(async () => {
@@ -9844,7 +9844,7 @@ const jg = { class: "flex items-center justify-between rounded-md w-full overflo
9844
9844
  ], 64)) : (b(), x(se, { key: 1 }, [
9845
9845
  e.entityName ? M("", !0) : (b(), x("div", Gg, [
9846
9846
  v("p", Yg, [
9847
- I[0] || (I[0] = Ye(" Error: Missing required props - ")),
9847
+ I[0] || (I[0] = Ze(" Error: Missing required props - ")),
9848
9848
  e.entityName ? M("", !0) : (b(), x("span", Xg, "Entity Name"))
9849
9849
  ])
9850
9850
  ])),
@@ -10036,7 +10036,7 @@ const jg = { class: "flex items-center justify-between rounded-md w-full overflo
10036
10036
  }
10037
10037
  },
10038
10038
  setup(e, { expose: t }) {
10039
- const n = nr(), o = Je();
10039
+ const n = nr(), o = Xe();
10040
10040
  sn("entityObject", n);
10041
10041
  const r = e, i = E([]);
10042
10042
  return $e(() => n.state.data, (c) => {
@@ -10088,7 +10088,7 @@ const jg = { class: "flex items-center justify-between rounded-md w-full overflo
10088
10088
  e.showPagination ? (b(), H(Ae(e.listPagination || Dt), { key: 2 })) : M("", !0)
10089
10089
  ])) : (b(), x("div", hh, [
10090
10090
  v("p", bh, [
10091
- l[0] || (l[0] = Ye(" Error: Missing required props - ")),
10091
+ l[0] || (l[0] = Ze(" Error: Missing required props - ")),
10092
10092
  e.entityName ? M("", !0) : (b(), x("span", yh, "Entity Name"))
10093
10093
  ])
10094
10094
  ])),
@@ -10629,8 +10629,8 @@ var Ot = {
10629
10629
  if (Te(d) && p.transform !== "strict") {
10630
10630
  const { primitive: T, semantic: L, extend: O } = d, C = L || {}, { colorScheme: V } = C, W = Ht(C, ["colorScheme"]), F = O || {}, { colorScheme: U } = F, S = Ht(F, ["colorScheme"]), I = V || {}, { dark: D } = I, _ = Ht(I, ["dark"]), z = U || {}, { dark: Q } = z, N = Ht(z, ["dark"]), A = Te(T) ? this._toVariables({ primitive: T }, p) : {}, B = Te(W) ? this._toVariables({ semantic: W }, p) : {}, G = Te(_) ? this._toVariables({ light: _ }, p) : {}, Ie = Te(D) ? this._toVariables({ dark: D }, p) : {}, ce = Te(S) ? this._toVariables({ semantic: S }, p) : {}, be = Te(N) ? this._toVariables({ light: N }, p) : {}, pe = Te(Q) ? this._toVariables({ dark: Q }, p) : {}, [ke, Se] = [(i = A.declarations) != null ? i : "", A.tokens], [pt, rt] = [(a = B.declarations) != null ? a : "", B.tokens || []], [Et, bt] = [(s = G.declarations) != null ? s : "", G.tokens || []], [re, X] = [(c = Ie.declarations) != null ? c : "", Ie.tokens || []], [Be, it] = [(l = ce.declarations) != null ? l : "", ce.tokens || []], [Ve, Re] = [(u = be.declarations) != null ? u : "", be.tokens || []], [Pe, We] = [(f = pe.declarations) != null ? f : "", pe.tokens || []];
10631
10631
  m = this.transformCSS(e, ke, "light", "variable", p, o, r), g = Se;
10632
- const Ft = this.transformCSS(e, `${pt}${Et}`, "light", "variable", p, o, r), Qe = this.transformCSS(e, `${re}`, "dark", "variable", p, o, r);
10633
- h = `${Ft}${Qe}`, y = [.../* @__PURE__ */ new Set([...rt, ...bt, ...X])];
10632
+ const Ft = this.transformCSS(e, `${pt}${Et}`, "light", "variable", p, o, r), Je = this.transformCSS(e, `${re}`, "dark", "variable", p, o, r);
10633
+ h = `${Ft}${Je}`, y = [.../* @__PURE__ */ new Set([...rt, ...bt, ...X])];
10634
10634
  const lt = this.transformCSS(e, `${Be}${Ve}color-scheme:light`, "light", "variable", p, o, r), yt = this.transformCSS(e, `${Pe}color-scheme:dark`, "dark", "variable", p, o, r);
10635
10635
  w = `${lt}${yt}`, k = [.../* @__PURE__ */ new Set([...it, ...Re, ...We])], $ = xt(d.css, { dt: Jn });
10636
10636
  }
@@ -12012,7 +12012,7 @@ function zb(e, t, n, o, r, i) {
12012
12012
  return b(), x("span", ae({
12013
12013
  class: e.cx("root")
12014
12014
  }, e.ptmi("root")), [fe(e.$slots, "default", {}, function() {
12015
- return [Ye(ee(e.value), 1)];
12015
+ return [Ze(ee(e.value), 1)];
12016
12016
  })], 16);
12017
12017
  }
12018
12018
  _l.render = zb;
@@ -13463,7 +13463,7 @@ const d0 = { class: "flex items-center justify-between rounded-md w-full overflo
13463
13463
  }
13464
13464
  },
13465
13465
  setup(e, { expose: t, emit: n }) {
13466
- const o = Je(), r = new ht(), i = n, a = 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: h } = xn(), y = nr();
13466
+ const o = Xe(), r = new ht(), i = n, a = 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: h } = xn(), y = nr();
13467
13467
  sn("entityObject", y);
13468
13468
  const w = E(null), k = (D) => {
13469
13469
  const _ = w.value;
@@ -13667,7 +13667,7 @@ const d0 = { class: "flex items-center justify-between rounded-md w-full overflo
13667
13667
  ])) : M("", !0)
13668
13668
  ])) : (b(), x("div", v0, [
13669
13669
  v("p", w0, [
13670
- _[4] || (_[4] = Ye(" Error: Missing required props - ")),
13670
+ _[4] || (_[4] = Ze(" Error: Missing required props - ")),
13671
13671
  e.entityName ? M("", !0) : (b(), x("span", k0, "Entity Name"))
13672
13672
  ])
13673
13673
  ])),
@@ -15378,7 +15378,7 @@ const za = /* @__PURE__ */ ol(Vy), ja = {
15378
15378
  }
15379
15379
  };
15380
15380
  function zy() {
15381
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
15381
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
15382
15382
  return {
15383
15383
  getEntities: async (N = !1) => {
15384
15384
  const A = i();
@@ -15604,7 +15604,7 @@ const jy = /* @__PURE__ */ Kr("entitiesStore", {
15604
15604
  onEntityChangeCallback: Function
15605
15605
  },
15606
15606
  setup(e) {
15607
- const t = Je(), n = E(""), o = jy(), r = E([]), i = async () => {
15607
+ const t = Xe(), n = E(""), o = jy(), r = E([]), i = async () => {
15608
15608
  r.value = await o.getEntities(), a();
15609
15609
  }, a = () => {
15610
15610
  for (let c = 0; c < r.value.length; c++) {
@@ -15682,7 +15682,7 @@ const jy = /* @__PURE__ */ Kr("entitiesStore", {
15682
15682
  }
15683
15683
  };
15684
15684
  function Xy() {
15685
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
15685
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
15686
15686
  return {
15687
15687
  getAllMenu: async (d = !1) => {
15688
15688
  const p = i();
@@ -18607,7 +18607,7 @@ function t1(e, t, n, o, r, i) {
18607
18607
  placeholder: e.placeholder
18608
18608
  }, function() {
18609
18609
  var h;
18610
- return [Ye(ee(i.label === "p-emptylabel" ? " " : (h = i.label) !== null && h !== void 0 ? h : "empty"), 1)];
18610
+ return [Ze(ee(i.label === "p-emptylabel" ? " " : (h = i.label) !== null && h !== void 0 ? h : "empty"), 1)];
18611
18611
  })], 16, Jv)), i.isClearIconVisible ? fe(e.$slots, "clearicon", {
18612
18612
  key: 2,
18613
18613
  class: ye(e.cx("clearIcon")),
@@ -18831,7 +18831,7 @@ function t1(e, t, n, o, r, i) {
18831
18831
  }, e.ptm("emptyMessage"), {
18832
18832
  "data-p-hidden-accessible": !0
18833
18833
  }), [fe(e.$slots, "emptyfilter", {}, function() {
18834
- return [Ye(ee(i.emptyFilterMessageText), 1)];
18834
+ return [Ze(ee(i.emptyFilterMessageText), 1)];
18835
18835
  })], 16)) : !e.options || e.options && e.options.length === 0 ? (b(), x("li", ae({
18836
18836
  key: 1,
18837
18837
  class: e.cx("emptyMessage"),
@@ -18839,7 +18839,7 @@ function t1(e, t, n, o, r, i) {
18839
18839
  }, e.ptm("emptyMessage"), {
18840
18840
  "data-p-hidden-accessible": !0
18841
18841
  }), [fe(e.$slots, "empty", {}, function() {
18842
- return [Ye(ee(i.emptyMessageText), 1)];
18842
+ return [Ze(ee(i.emptyMessageText), 1)];
18843
18843
  })], 16)) : M("", !0)], 16, Qv)];
18844
18844
  }),
18845
18845
  _: 2
@@ -18948,7 +18948,7 @@ const n1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, e
18948
18948
  }),
18949
18949
  emits: /* @__PURE__ */ Le(["update:modelValue", "onChange"], ["update:modelValue"]),
18950
18950
  setup(e, { emit: t }) {
18951
- const n = Je(), o = () => n.getAppId(), r = e;
18951
+ const n = Xe(), o = () => n.getAppId(), r = e;
18952
18952
  console.log("DynamicSelection props:", r);
18953
18953
  const i = t, a = Ke(e, "modelValue"), s = E(null), c = E([]), l = te(
18954
18954
  () => r.options.length ? "label" : r.displayField
@@ -19228,7 +19228,7 @@ const n1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, e
19228
19228
  },
19229
19229
  emits: ["update:modelValue", "onChange"],
19230
19230
  setup(e, { emit: t }) {
19231
- const n = Je(), o = () => n.getAppId(), r = e;
19231
+ const n = Xe(), o = () => n.getAppId(), r = e;
19232
19232
  console.log("DynamicMultiSelection props:", r);
19233
19233
  const i = t, a = E(Array.isArray(r.modelValue) ? [...r.modelValue] : []), s = E([]), c = te(
19234
19234
  () => r.options.length ? "label" : r.displayField
@@ -19795,26 +19795,23 @@ const n1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, e
19795
19795
  __name: "GlobalLoader",
19796
19796
  setup(e) {
19797
19797
  const t = Qr(), { loading: n } = Eu(t);
19798
- return (o, r) => (b(), x(se, null, [
19799
- r[1] || (r[1] = Ye(" HelloLoader ")),
19800
- Z(n) ? (b(), x("div", H1, r[0] || (r[0] = [
19801
- v("div", { class: "global-loader-container" }, [
19802
- v("div", { class: "global-loader-spinner" }, [
19803
- v("div", { class: "spinner" })
19804
- ]),
19805
- v("div", { class: "global-loader-text" }, "Loading...")
19806
- ], -1)
19807
- ]))) : M("", !0)
19808
- ], 64));
19798
+ return (o, r) => Z(n) ? (b(), x("div", H1, r[0] || (r[0] = [
19799
+ v("div", { class: "global-loader-container" }, [
19800
+ v("div", { class: "global-loader-spinner" }, [
19801
+ v("div", { class: "spinner" })
19802
+ ]),
19803
+ v("div", { class: "global-loader-text" }, "Loading...")
19804
+ ], -1)
19805
+ ]))) : M("", !0);
19809
19806
  }
19810
- }, ds = /* @__PURE__ */ et(W1, [["__scopeId", "data-v-c307f421"]]), st = Nt({
19807
+ }, ds = /* @__PURE__ */ et(W1, [["__scopeId", "data-v-a5bed64b"]]), st = Nt({
19811
19808
  preset: "Aura",
19812
19809
  primary: "emerald",
19813
19810
  surface: null,
19814
19811
  darkTheme: !1,
19815
19812
  menuMode: "slim-plus",
19816
19813
  menuTheme: "light"
19817
- }), Ze = Nt({
19814
+ }), Qe = Nt({
19818
19815
  staticMenuDesktopInactive: !1,
19819
19816
  overlayMenuActive: !1,
19820
19817
  configSidebarVisible: !1,
@@ -19829,7 +19826,7 @@ const n1 = { class: "editable-label-editing flex items-center gap-2 w-full" }, e
19829
19826
  });
19830
19827
  function q1() {
19831
19828
  const e = (p) => {
19832
- if (st.menuMode = p, p === "static" && (Ze.staticMenuDesktopInactive = !1), p === "horizontal")
19829
+ if (st.menuMode = p, p === "static" && (Qe.staticMenuDesktopInactive = !1), p === "horizontal")
19833
19830
  if (st.darkTheme) {
19834
19831
  if (!document.startViewTransition) {
19835
19832
  st.menuTheme = "dark";
@@ -19844,15 +19841,15 @@ function q1() {
19844
19841
  document.startViewTransition(() => st.menuTheme = "light");
19845
19842
  }
19846
19843
  }, t = (p) => {
19847
- Ze.activeMenuItem = p.value || p;
19844
+ Qe.activeMenuItem = p.value || p;
19848
19845
  }, n = () => {
19849
- st.menuMode === "overlay" && (Ze.overlayMenuActive = !Ze.overlayMenuActive), window.innerWidth > 991 ? Ze.staticMenuDesktopInactive = !Ze.staticMenuDesktopInactive : Ze.staticMenuMobileActive = !Ze.staticMenuMobileActive;
19846
+ st.menuMode === "overlay" && (Qe.overlayMenuActive = !Qe.overlayMenuActive), window.innerWidth > 991 ? Qe.staticMenuDesktopInactive = !Qe.staticMenuDesktopInactive : Qe.staticMenuMobileActive = !Qe.staticMenuMobileActive;
19850
19847
  }, o = () => {
19851
- r.value && (Ze.overlayMenuActive = !1, Ze.overlaySubmenuActive = !1, Ze.staticMenuMobileActive = !1, Ze.menuHoverActive = !1, Ze.configSidebarVisible = !1), Ze.configSidebarVisible = !Ze.configSidebarVisible;
19852
- }, r = te(() => Ze.overlayMenuActive || Ze.staticMenuMobileActive || Ze.overlaySubmenuActive), i = te(() => window.innerWidth > 991), a = te(() => st.menuMode === "slim"), s = te(() => st.menuMode === "slim-plus"), c = te(() => st.menuMode === "horizontal"), l = te(() => st.menuMode === "overlay"), u = te(() => st.darkTheme), f = te(() => st.primary), d = te(() => st.surface);
19848
+ r.value && (Qe.overlayMenuActive = !1, Qe.overlaySubmenuActive = !1, Qe.staticMenuMobileActive = !1, Qe.menuHoverActive = !1, Qe.configSidebarVisible = !1), Qe.configSidebarVisible = !Qe.configSidebarVisible;
19849
+ }, r = te(() => Qe.overlayMenuActive || Qe.staticMenuMobileActive || Qe.overlaySubmenuActive), i = te(() => window.innerWidth > 991), a = te(() => st.menuMode === "slim"), s = te(() => st.menuMode === "slim-plus"), c = te(() => st.menuMode === "horizontal"), l = te(() => st.menuMode === "overlay"), u = te(() => st.darkTheme), f = te(() => st.primary), d = te(() => st.surface);
19853
19850
  return {
19854
19851
  layoutConfig: st,
19855
- layoutState: Ze,
19852
+ layoutState: Qe,
19856
19853
  getPrimary: f,
19857
19854
  getSurface: d,
19858
19855
  isDarkTheme: u,
@@ -25298,64 +25295,64 @@ function jk() {
25298
25295
  }
25299
25296
  function Mk() {
25300
25297
  const e = new ht();
25301
- return { getEntityRecord: async (n, o) => {
25298
+ return { getEntityRecord: async (n, o, r = !1) => {
25302
25299
  try {
25303
- const r = await e.getRecord(n, o);
25304
- if (r && r.success)
25305
- return r.response.result.length > 0 ? r.response.result[0] : {};
25306
- } catch (r) {
25307
- return r;
25300
+ const i = await e.getRecord(n, o, r);
25301
+ if (i && i.success)
25302
+ return i.response.result.length > 0 ? i.response.result[0] : {};
25303
+ } catch (i) {
25304
+ return i;
25308
25305
  } finally {
25309
25306
  }
25310
25307
  } };
25311
25308
  }
25312
25309
  function Uk() {
25313
25310
  const e = new ht();
25314
- return { getAllEntityRecords: async (n) => {
25311
+ return { getAllEntityRecords: async (n, o = !1) => {
25315
25312
  try {
25316
- const o = await e.getEntityRecords(n);
25317
- if (o && o.success)
25318
- return o.response.result.length > 0 ? o.response.result : [];
25319
- } catch (o) {
25320
- return o;
25313
+ const r = await e.getEntityRecords(n, o);
25314
+ if (r && r.success)
25315
+ return r.response.result.length > 0 ? r.response.result : [];
25316
+ } catch (r) {
25317
+ return r;
25321
25318
  } finally {
25322
25319
  }
25323
25320
  } };
25324
25321
  }
25325
25322
  function Hk() {
25326
25323
  const e = new ht();
25327
- return { addEntityRecord: async (n, o) => {
25328
- const r = {
25329
- dataDefinitions: Object.entries(o).map(([i, a]) => ({
25330
- recordColumnName: i,
25331
- recordColumnValue: a
25324
+ return { addEntityRecord: async (n, o, r = !1) => {
25325
+ const i = {
25326
+ dataDefinitions: Object.entries(o).map(([a, s]) => ({
25327
+ recordColumnName: a,
25328
+ recordColumnValue: s
25332
25329
  }))
25333
25330
  };
25334
25331
  try {
25335
- const i = await e.addRecord(n, r);
25336
- if (i && i.response)
25337
- return i;
25338
- } catch (i) {
25339
- return i;
25332
+ const a = await e.addRecord(n, i, r);
25333
+ if (a && a.response)
25334
+ return a;
25335
+ } catch (a) {
25336
+ return a;
25340
25337
  } finally {
25341
25338
  }
25342
25339
  } };
25343
25340
  }
25344
25341
  function Wk() {
25345
25342
  const e = new ht();
25346
- return { deleteEntityRecord: async (n, o) => {
25343
+ return { deleteEntityRecord: async (n, o, r = !1) => {
25347
25344
  try {
25348
- const r = await e.deleteRecord(n, o);
25349
- if (r && r.response)
25350
- return r;
25351
- } catch (r) {
25352
- return r;
25345
+ const i = await e.deleteRecord(n, o, r);
25346
+ if (i && i.response)
25347
+ return i;
25348
+ } catch (i) {
25349
+ return i;
25353
25350
  } finally {
25354
25351
  }
25355
25352
  } };
25356
25353
  }
25357
25354
  function qk() {
25358
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25355
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25359
25356
  return {
25360
25357
  getThemes: async (f = !1) => {
25361
25358
  const d = i();
@@ -25384,7 +25381,7 @@ function Kk() {
25384
25381
  };
25385
25382
  }
25386
25383
  function Gk() {
25387
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25384
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25388
25385
  return {
25389
25386
  getPage: async (f, d = !1) => {
25390
25387
  const p = i();
@@ -25409,7 +25406,7 @@ function Gk() {
25409
25406
  };
25410
25407
  }
25411
25408
  function Yk() {
25412
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25409
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25413
25410
  return {
25414
25411
  getLayouts: async (f = !1) => {
25415
25412
  const d = i();
@@ -25434,7 +25431,7 @@ function Yk() {
25434
25431
  };
25435
25432
  }
25436
25433
  function Xk() {
25437
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25434
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25438
25435
  return {
25439
25436
  getGlobalVars: async (d = !1) => {
25440
25437
  const p = i();
@@ -25463,7 +25460,7 @@ function Xk() {
25463
25460
  };
25464
25461
  }
25465
25462
  function Jk() {
25466
- const e = Je(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25463
+ const e = Xe(), { get: t, post: n, put: o, del: r } = jt(), i = () => e.getAppId();
25467
25464
  return {
25468
25465
  getConnectionByID: async (f, d = !1) => {
25469
25466
  const p = i();
@@ -25639,7 +25636,7 @@ export {
25639
25636
  zy as useEntityService,
25640
25637
  Uk as useGetAllEntityRecords,
25641
25638
  Mk as useGetEntityRecord,
25642
- Je as useGlobalConfigsStore,
25639
+ Xe as useGlobalConfigsStore,
25643
25640
  Xk as useGlobalService,
25644
25641
  jt as useHttpClient,
25645
25642
  Yk as useLayoutService,