@c3labsbr/vuetify-elements 1.3.3 → 1.4.0

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 { reactive as Vt, computed as p, watchEffect as Qe, toRefs as _a, capitalize as Kt, shallowRef as te, Fragment as oe, isVNode as qi, Comment as Wi, unref as re, warn as Hn, getCurrentInstance as Gi, ref as _, provide as Ce, inject as de, defineComponent as fe, h as Xt, camelize as ho, isRef as jt, createVNode as d, toRef as M, watch as U, onScopeDispose as Oe, effectScope as Oa, toRaw as be, onBeforeUnmount as qe, onMounted as yt, onUpdated as Ui, mergeProps as z, Text as Ki, readonly as Ra, Transition as It, resolveDynamicComponent as Xi, nextTick as Se, withDirectives as Be, TransitionGroup as Ma, Teleport as Yi, vShow as Et, resolveDirective as Bt, createBlock as Z, openBlock as H, withCtx as L, createCommentVNode as ve, createTextVNode as Ve, toDisplayString as xe, onBeforeMount as po, onDeactivated as Zi, onBeforeUpdate as Qi, markRaw as Ji, cloneVNode as es, mergeModels as pe, useModel as Le, createElementBlock as he, withModifiers as Sa, onUnmounted as ts, renderSlot as Je, createElementVNode as ke, vModelText as bo, renderList as Ft, normalizeClass as Ha, createSlots as za, useSlots as ns, normalizeProps as fl, guardReactiveProps as vl, resolveComponent as as } from "vue";
1
+ import { reactive as Vt, computed as p, watchEffect as Qe, toRefs as _a, capitalize as Kt, shallowRef as te, Fragment as oe, isVNode as qi, Comment as Wi, unref as re, warn as Hn, getCurrentInstance as Gi, ref as _, provide as Ce, inject as de, defineComponent as ve, h as Xt, camelize as ho, isRef as jt, createVNode as d, toRef as M, watch as U, onScopeDispose as Oe, effectScope as Oa, toRaw as be, onBeforeUnmount as qe, onMounted as yt, onUpdated as Ui, mergeProps as z, Text as Ki, readonly as Ra, Transition as It, resolveDynamicComponent as Xi, nextTick as Se, withDirectives as Be, TransitionGroup as Ma, Teleport as Yi, vShow as Et, resolveDirective as Bt, createBlock as Y, openBlock as H, withCtx as L, createCommentVNode as fe, createTextVNode as Ve, toDisplayString as xe, onBeforeMount as po, onDeactivated as Zi, onBeforeUpdate as Qi, markRaw as Ji, cloneVNode as es, mergeModels as pe, useModel as Le, createElementBlock as he, withModifiers as Sa, onUnmounted as ts, renderSlot as Je, createElementVNode as ke, vModelText as bo, renderList as Ft, normalizeClass as Ha, createSlots as za, useSlots as ns, normalizeProps as fl, guardReactiveProps as vl, resolveComponent as as } from "vue";
2
2
  import ls from "jspdf";
3
3
  import os from "jspdf-autotable";
4
4
  import rs from "exceljs";
@@ -738,7 +738,7 @@ function yn(e) {
738
738
  }
739
739
  function j() {
740
740
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
741
- return (t) => (e ? yn : fe)(t);
741
+ return (t) => (e ? yn : ve)(t);
742
742
  }
743
743
  function $s(e, t) {
744
744
  return t.props = e, t;
@@ -3128,7 +3128,7 @@ const Zn = A({
3128
3128
  updateLocation: ie
3129
3129
  });
3130
3130
  function ne(q) {
3131
- l("click:outside", q), e.persistent ? Y() : u.value = !1;
3131
+ l("click:outside", q), e.persistent ? Z() : u.value = !1;
3132
3132
  }
3133
3133
  function I(q) {
3134
3134
  return u.value && b.value && // If using scrim, only close if clicking on it rather than anything opened on top
@@ -3142,12 +3142,12 @@ const Zn = A({
3142
3142
  ge && window.removeEventListener("keydown", D);
3143
3143
  });
3144
3144
  function D(q) {
3145
- q.key === "Escape" && b.value && (e.persistent ? Y() : (u.value = !1, s.value?.contains(document.activeElement) && x.value?.focus()));
3145
+ q.key === "Escape" && b.value && (e.persistent ? Z() : (u.value = !1, s.value?.contains(document.activeElement) && x.value?.focus()));
3146
3146
  }
3147
3147
  const N = tu();
3148
3148
  Dt(() => e.closeOnBack, () => {
3149
3149
  nu(N, (q) => {
3150
- b.value && u.value ? (q(!1), e.persistent ? Y() : u.value = !1) : q();
3150
+ b.value && u.value ? (q(!1), e.persistent ? Z() : u.value = !1) : q();
3151
3151
  });
3152
3152
  });
3153
3153
  const K = _();
@@ -3157,7 +3157,7 @@ const Zn = A({
3157
3157
  ce && ce !== document.scrollingElement && (K.value = ce.scrollTop);
3158
3158
  }
3159
3159
  });
3160
- function Y() {
3160
+ function Z() {
3161
3161
  e.noClickAnimation || s.value && Ht(s.value, [{
3162
3162
  transformOrigin: "center"
3163
3163
  }, {
@@ -3224,7 +3224,7 @@ const Zn = A({
3224
3224
  activatorEl: x,
3225
3225
  scrimEl: i,
3226
3226
  target: $,
3227
- animateClick: Y,
3227
+ animateClick: Z,
3228
3228
  contentEl: s,
3229
3229
  globalTop: b,
3230
3230
  localTop: C,
@@ -3357,7 +3357,7 @@ const Lu = A({
3357
3357
  });
3358
3358
  }), Qt({}, i);
3359
3359
  }
3360
- }), ir = /* @__PURE__ */ fe({
3360
+ }), ir = /* @__PURE__ */ ve({
3361
3361
  __name: "ActionBtn",
3362
3362
  props: {
3363
3363
  icon: {},
@@ -3368,7 +3368,7 @@ const Lu = A({
3368
3368
  color: { default: "grey-600" }
3369
3369
  },
3370
3370
  setup(e) {
3371
- return (t, n) => (H(), Z(Ie, {
3371
+ return (t, n) => (H(), Y(Ie, {
3372
3372
  size: t.size,
3373
3373
  onClick: n[0] || (n[0] = (a) => t.$emit("action")),
3374
3374
  variant: t.variant,
@@ -3382,7 +3382,7 @@ const Lu = A({
3382
3382
  ]),
3383
3383
  _: 1
3384
3384
  }),
3385
- t.tooltip ? (H(), Z(nl, {
3385
+ t.tooltip ? (H(), Y(nl, {
3386
3386
  key: 0,
3387
3387
  activator: "parent",
3388
3388
  location: t.location
@@ -3391,7 +3391,7 @@ const Lu = A({
3391
3391
  Ve(xe(t.tooltip), 1)
3392
3392
  ]),
3393
3393
  _: 1
3394
- }, 8, ["location"])) : ve("", !0)
3394
+ }, 8, ["location"])) : fe("", !0)
3395
3395
  ]),
3396
3396
  _: 1
3397
3397
  }, 8, ["size", "variant", "color"]));
@@ -5043,8 +5043,8 @@ const $r = {
5043
5043
  color: k.value ? S.value ?? e.baseColor : e.baseColor,
5044
5044
  variant: e.variant
5045
5045
  }));
5046
- U(() => o.isActive?.value, (Y) => {
5047
- Y && h.value != null && g.open(h.value, !0), Y && m(Y);
5046
+ U(() => o.isActive?.value, (Z) => {
5047
+ Z && h.value != null && g.open(h.value, !0), Z && m(Z);
5048
5048
  }, {
5049
5049
  immediate: !0
5050
5050
  });
@@ -5071,15 +5071,15 @@ const $r = {
5071
5071
  isSelected: f.value,
5072
5072
  isIndeterminate: v.value
5073
5073
  }));
5074
- function N(Y) {
5075
- l("click", Y), $.value && (o.navigate?.(Y), !y && (g.activatable.value ? i(!s.value, Y) : (g.selectable.value || e.value != null) && c(!f.value, Y)));
5074
+ function N(Z) {
5075
+ l("click", Z), $.value && (o.navigate?.(Z), !y && (g.activatable.value ? i(!s.value, Z) : (g.selectable.value || e.value != null) && c(!f.value, Z)));
5076
5076
  }
5077
- function K(Y) {
5078
- (Y.key === "Enter" || Y.key === " ") && (Y.preventDefault(), Y.target.dispatchEvent(new MouseEvent("click", Y)));
5077
+ function K(Z) {
5078
+ (Z.key === "Enter" || Z.key === " ") && (Z.preventDefault(), Z.target.dispatchEvent(new MouseEvent("click", Z)));
5079
5079
  }
5080
5080
  return X(() => {
5081
- const Y = x.value ? "a" : e.tag, ee = a.title || e.title != null, se = a.subtitle || e.subtitle != null, q = !!(e.appendAvatar || e.appendIcon), ce = !!(q || a.append), Xe = !!(e.prependAvatar || e.prependIcon), Ge = !!(Xe || a.prepend);
5082
- return C?.updateHasPrepend(Ge), e.activeColor && Ps("active-color", ["color", "base-color"]), Be(d(Y, z({
5081
+ const Z = x.value ? "a" : e.tag, ee = a.title || e.title != null, se = a.subtitle || e.subtitle != null, q = !!(e.appendAvatar || e.appendIcon), ce = !!(q || a.append), Xe = !!(e.prependAvatar || e.prependIcon), Ge = !!(Xe || a.prepend);
5082
+ return C?.updateHasPrepend(Ge), e.activeColor && Ps("active-color", ["color", "base-color"]), Be(d(Z, z({
5083
5083
  class: ["v-list-item", {
5084
5084
  "v-list-item--active": k.value,
5085
5085
  "v-list-item--disabled": e.disabled,
@@ -6960,15 +6960,15 @@ const Kc = Symbol.for("vuetify:v-slide-group"), Jr = A({
6960
6960
  }
6961
6961
  function W(D) {
6962
6962
  const N = f.value && a.value ? -1 : 1, K = (D === "prev" ? -N : N) * c.value;
6963
- let Y = s.value + K;
6963
+ let Z = s.value + K;
6964
6964
  if (f.value && a.value && v.el) {
6965
6965
  const {
6966
6966
  scrollWidth: ee,
6967
6967
  offsetWidth: se
6968
6968
  } = v.el;
6969
- Y += ee - se;
6969
+ Z += ee - se;
6970
6970
  }
6971
- $(Y);
6971
+ $(Z);
6972
6972
  }
6973
6973
  const J = p(() => ({
6974
6974
  next: r.next,
@@ -7473,7 +7473,7 @@ const Yc = A({
7473
7473
  requestAnimationFrame(() => {
7474
7474
  const ie = Wa(W), ne = J.getBoundingClientRect(), I = ne.x - ie.x, D = ne.y - ie.y - (ie.height / 2 - ne.height / 2), N = ne.width / 0.75, K = Math.abs(N - ie.width) > 1 ? {
7475
7475
  maxWidth: G(N)
7476
- } : void 0, Y = getComputedStyle(W), ee = getComputedStyle(J), se = parseFloat(Y.transitionDuration) * 1e3 || 150, q = parseFloat(ee.getPropertyValue("--v-field-label-scale")), ce = ee.getPropertyValue("color");
7476
+ } : void 0, Z = getComputedStyle(W), ee = getComputedStyle(J), se = parseFloat(Z.transitionDuration) * 1e3 || 150, q = parseFloat(ee.getPropertyValue("--v-field-label-scale")), ce = ee.getPropertyValue("color");
7477
7477
  W.style.visibility = "visible", J.style.visibility = "hidden", Ht(W, {
7478
7478
  transform: `translate(${I}px, ${D}px) scale(${q})`,
7479
7479
  color: ce,
@@ -7921,7 +7921,7 @@ function sd(e, t) {
7921
7921
  }
7922
7922
  function J() {
7923
7923
  if (!s.value || !y.value) return;
7924
- const I = P - u, D = Math.sign(R), N = Math.max(0, I - pa), K = Ue(S(N), 0, t.value.length), Y = I + y.value + pa, ee = Ue(S(Y) + 1, K + 1, t.value.length);
7924
+ const I = P - u, D = Math.sign(R), N = Math.max(0, I - pa), K = Ue(S(N), 0, t.value.length), Z = I + y.value + pa, ee = Ue(S(Z) + 1, K + 1, t.value.length);
7925
7925
  if (
7926
7926
  // Only update the side we're scrolling towards,
7927
7927
  // the other side will be updated incidentally
@@ -8205,12 +8205,12 @@ const vd = A({
8205
8205
  if (e.multiple || !Sl(I)) return;
8206
8206
  const N = performance.now();
8207
8207
  N - k > D && (C = ""), C += I.key.toLowerCase(), k = N;
8208
- const K = c.value.find((Y) => Y.title.toLowerCase().startsWith(C));
8208
+ const K = c.value.find((Z) => Z.title.toLowerCase().startsWith(C));
8209
8209
  if (K !== void 0) {
8210
8210
  v.value = [K];
8211
- const Y = x.value.indexOf(K);
8211
+ const Z = x.value.indexOf(K);
8212
8212
  ge && window.requestAnimationFrame(() => {
8213
- Y >= 0 && r.value?.scrollToIndex(Y);
8213
+ Z >= 0 && r.value?.scrollToIndex(Z);
8214
8214
  });
8215
8215
  }
8216
8216
  }
@@ -8218,10 +8218,10 @@ const vd = A({
8218
8218
  let D = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
8219
8219
  if (!I.props.disabled)
8220
8220
  if (e.multiple) {
8221
- const N = v.value.findIndex((Y) => e.valueComparator(Y.value, I.value)), K = D ?? !~N;
8221
+ const N = v.value.findIndex((Z) => e.valueComparator(Z.value, I.value)), K = D ?? !~N;
8222
8222
  if (~N) {
8223
- const Y = K ? [...v.value, I] : [...v.value];
8224
- Y.splice(N, 1), v.value = Y;
8223
+ const Z = K ? [...v.value, I] : [...v.value];
8224
+ Z.splice(N, 1), v.value = Z;
8225
8225
  } else K && (v.value = [...v.value, I]);
8226
8226
  } else {
8227
8227
  const N = D !== !1;
@@ -8259,7 +8259,7 @@ const vd = A({
8259
8259
  }), U(() => e.items, (I, D) => {
8260
8260
  s.value || m.value && !D.length && I.length && (s.value = !0);
8261
8261
  }), X(() => {
8262
- const I = !!(e.chips || n.chip), D = !!(!e.hideNoData || x.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), N = v.value.length > 0, K = vn.filterProps(e), Y = N || !m.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
8262
+ const I = !!(e.chips || n.chip), D = !!(!e.hideNoData || x.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), N = v.value.length > 0, K = vn.filterProps(e), Z = N || !m.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
8263
8263
  return d(vn, z({
8264
8264
  ref: l
8265
8265
  }, K, {
@@ -8279,7 +8279,7 @@ const vd = A({
8279
8279
  }, e.class],
8280
8280
  style: e.style,
8281
8281
  inputmode: "none",
8282
- placeholder: Y,
8282
+ placeholder: Z,
8283
8283
  "onClick:clear": P,
8284
8284
  "onMousedown:control": R,
8285
8285
  onBlur: O,
@@ -8422,13 +8422,16 @@ const vd = A({
8422
8422
  select: B
8423
8423
  }, l);
8424
8424
  }
8425
- }), md = { key: 0 }, yd = /* @__PURE__ */ fe({
8425
+ }), md = { key: 0 }, yd = /* @__PURE__ */ ve({
8426
8426
  __name: "GenericTablePagination",
8427
8427
  props: /* @__PURE__ */ pe({
8428
8428
  headers: Array,
8429
8429
  data: Array,
8430
8430
  hideExport: {
8431
8431
  default: !1
8432
+ },
8433
+ hidePagination: {
8434
+ default: !1
8432
8435
  }
8433
8436
  }, {
8434
8437
  pagination: {
@@ -8461,7 +8464,7 @@ const vd = A({
8461
8464
  class: "order-2 order-md-1"
8462
8465
  }, {
8463
8466
  default: L(() => [
8464
- t.hideExport ? ve("", !0) : (H(), he("div", md, [
8467
+ t.hideExport ? fe("", !0) : (H(), he("div", md, [
8465
8468
  d(Jn, null, {
8466
8469
  activator: L(({ props: i }) => [
8467
8470
  d(Ie, z({
@@ -8517,7 +8520,8 @@ const vd = A({
8517
8520
  ]),
8518
8521
  _: 1
8519
8522
  }),
8520
- d(He, {
8523
+ t.hidePagination ? fe("", !0) : (H(), Y(He, {
8524
+ key: 0,
8521
8525
  cols: "12",
8522
8526
  md: "10",
8523
8527
  class: "order-1 order-md-2 d-flex align-center justify-end justify-md-end flex-wrap ga-2"
@@ -8557,7 +8561,7 @@ const vd = A({
8557
8561
  }, null, 8, ["modelValue", "total-visible", "length"])
8558
8562
  ]),
8559
8563
  _: 1
8560
- })
8564
+ }))
8561
8565
  ]),
8562
8566
  _: 1
8563
8567
  })
@@ -8568,7 +8572,7 @@ const vd = A({
8568
8572
  for (const [a, l] of t)
8569
8573
  n[a] = l;
8570
8574
  return n;
8571
- }, hd = /* @__PURE__ */ Jt(yd, [["__scopeId", "data-v-5154e77b"]]), pd = (e, t, n) => e == null || t == null ? -1 : e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()), bd = A({
8575
+ }, hd = /* @__PURE__ */ Jt(yd, [["__scopeId", "data-v-0f7eb688"]]), pd = (e, t, n) => e == null || t == null ? -1 : e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()), bd = A({
8572
8576
  customFilter: Function,
8573
8577
  customKeyFilter: Object,
8574
8578
  filterKeys: [Array, String],
@@ -10482,7 +10486,7 @@ const vf = A({
10482
10486
  selectAll: D,
10483
10487
  toggleSelect: N,
10484
10488
  someSelected: K,
10485
- allSelected: Y
10489
+ allSelected: Z
10486
10490
  } = Wd(e, {
10487
10491
  allItems: m,
10488
10492
  currentPage: ie
@@ -10512,7 +10516,7 @@ const vf = A({
10512
10516
  toggleSort: k,
10513
10517
  setItemsPerPage: W,
10514
10518
  someSelected: K.value,
10515
- allSelected: Y.value,
10519
+ allSelected: Z.value,
10516
10520
  isSelected: ne,
10517
10521
  select: I,
10518
10522
  selectAll: D,
@@ -10617,7 +10621,7 @@ const vf = A({
10617
10621
  }), Sf = { class: "ve-search-input" }, Cf = {
10618
10622
  key: 0,
10619
10623
  class: "d-flex ga-2 justify-end"
10620
- }, wf = { class: "mx-2" }, kf = /* @__PURE__ */ fe({
10624
+ }, wf = { class: "mx-2" }, kf = /* @__PURE__ */ ve({
10621
10625
  __name: "GenericTableHeader",
10622
10626
  props: /* @__PURE__ */ pe({
10623
10627
  keyWord: {},
@@ -10645,13 +10649,13 @@ const vf = A({
10645
10649
  return ts(() => {
10646
10650
  r.value = "";
10647
10651
  }), (s, c) => (H(), he(oe, null, [
10648
- s.hideHeader ? ve("", !0) : (H(), Z(Gt, {
10652
+ s.hideHeader ? fe("", !0) : (H(), Y(Gt, {
10649
10653
  key: 0,
10650
10654
  class: "pa-2",
10651
10655
  cols: "12"
10652
10656
  }, {
10653
10657
  default: L(() => [
10654
- re(l) ? ve("", !0) : (H(), Z(He, {
10658
+ re(l) ? fe("", !0) : (H(), Y(He, {
10655
10659
  key: 0,
10656
10660
  cols: 12,
10657
10661
  md: 4
@@ -10702,8 +10706,8 @@ const vf = A({
10702
10706
  md: 6
10703
10707
  }, {
10704
10708
  default: L(() => [
10705
- s.hideActions ? ve("", !0) : (H(), he("div", Cf, [
10706
- s.hideSortHeader ? ve("", !0) : (H(!0), he(oe, { key: 0 }, Ft(i, (u) => (H(), Z(ir, {
10709
+ s.hideActions ? fe("", !0) : (H(), he("div", Cf, [
10710
+ s.hideSortHeader ? fe("", !0) : (H(!0), he(oe, { key: 0 }, Ft(i, (u) => (H(), Y(ir, {
10707
10711
  key: u.key,
10708
10712
  icon: u.icon,
10709
10713
  tooltip: u.text,
@@ -10713,7 +10717,7 @@ const vf = A({
10713
10717
  onAction: u.action,
10714
10718
  class: "no-border-rd"
10715
10719
  }, null, 8, ["icon", "tooltip", "color", "onAction"]))), 128)),
10716
- s.hideCreate ? ve("", !0) : (H(), Z(Ie, {
10720
+ s.hideCreate ? fe("", !0) : (H(), Y(Ie, {
10717
10721
  key: 1,
10718
10722
  onClick: c[2] || (c[2] = (u) => s.$emit("createItem")),
10719
10723
  class: "d-flex",
@@ -12211,7 +12215,7 @@ function Pv(e, t) {
12211
12215
  });
12212
12216
  };
12213
12217
  }
12214
- const Vv = { class: "text-base text-high-emphasis mb-0" }, Iv = { class: "d-flex justify-space-between" }, Dv = { class: "d-flex justify-center" }, Av = /* @__PURE__ */ fe({
12218
+ const Vv = { class: "text-base text-high-emphasis mb-0" }, Iv = { class: "d-flex justify-space-between" }, Dv = { class: "d-flex justify-center" }, Av = /* @__PURE__ */ ve({
12215
12219
  __name: "AdjustColumnsDialog",
12216
12220
  props: /* @__PURE__ */ pe({
12217
12221
  showAdjustColumns: { type: Boolean }
@@ -12252,7 +12256,7 @@ const Vv = { class: "text-base text-high-emphasis mb-0" }, Iv = { class: "d-flex
12252
12256
  f.sequence < c.initialIndex && f.sequence >= c.targetIndex && f.sequence++;
12253
12257
  u && (u.sequence = c.targetIndex);
12254
12258
  };
12255
- return (c, u) => (H(), Z(oi, {
12259
+ return (c, u) => (H(), Y(oi, {
12256
12260
  "model-value": l.showAdjustColumns,
12257
12261
  "onUpdate:modelValue": i,
12258
12262
  width: "500"
@@ -12272,7 +12276,7 @@ const Vv = { class: "text-base text-high-emphasis mb-0" }, Iv = { class: "d-flex
12272
12276
  (H(!0), he(oe, null, Ft(o.value, (f) => (H(), he(oe, {
12273
12277
  key: f.sequence
12274
12278
  }, [
12275
- f ? (H(), Z(gt, {
12279
+ f ? (H(), Y(gt, {
12276
12280
  key: 0,
12277
12281
  variant: "outlined",
12278
12282
  ripple: !1,
@@ -12305,7 +12309,7 @@ const Vv = { class: "text-base text-high-emphasis mb-0" }, Iv = { class: "d-flex
12305
12309
  }, 1024)
12306
12310
  ]),
12307
12311
  _: 2
12308
- }, 1024)) : ve("", !0)
12312
+ }, 1024)) : fe("", !0)
12309
12313
  ], 64))), 128))
12310
12314
  ], 512)
12311
12315
  ]),
@@ -12372,7 +12376,7 @@ function Ev({
12372
12376
  f?.disconnect(), v?.disconnect(), y != null && cancelAnimationFrame(y), window.removeEventListener("resize", k), f = v = null, y = null;
12373
12377
  }), { tableHeight: o, tableHideOverflow: r };
12374
12378
  }
12375
- const Bv = /* @__PURE__ */ fe({
12379
+ const Bv = /* @__PURE__ */ ve({
12376
12380
  __name: "GenericItemActions",
12377
12381
  props: {
12378
12382
  headers: {}
@@ -12388,7 +12392,7 @@ const Bv = /* @__PURE__ */ fe({
12388
12392
  Je(a.$slots, "default")
12389
12393
  ], 2));
12390
12394
  }
12391
- }), Fv = { class: "d-flex justify-end mt-3" }, $v = /* @__PURE__ */ fe({
12395
+ }), Fv = { class: "d-flex justify-end mt-3" }, $v = /* @__PURE__ */ ve({
12392
12396
  __name: "TableColumnFilterMenu",
12393
12397
  props: {
12394
12398
  column: {},
@@ -12416,7 +12420,7 @@ const Bv = /* @__PURE__ */ fe({
12416
12420
  (c) => {
12417
12421
  c && (o.value = a.value[n.column.value]);
12418
12422
  }
12419
- ), (c, u) => (H(), Z(Jn, {
12423
+ ), (c, u) => (H(), Y(Jn, {
12420
12424
  "close-on-content-click": !1,
12421
12425
  "offset-y": "",
12422
12426
  "offset-x": "",
@@ -12486,7 +12490,7 @@ const Bv = /* @__PURE__ */ fe({
12486
12490
  _: 1
12487
12491
  }, 8, ["modelValue"]));
12488
12492
  }
12489
- }), Lv = ["textContent"], Nv = { class: "ms-2" }, _v = { class: "ms-2" }, Ov = { class: "ms-2" }, Rv = { class: "ms-2" }, Mv = /* @__PURE__ */ fe({
12493
+ }), Lv = ["textContent"], Nv = { class: "ms-2" }, _v = { class: "ms-2" }, Ov = { class: "ms-2" }, Rv = { class: "ms-2" }, Mv = /* @__PURE__ */ ve({
12490
12494
  __name: "TableColumnActionsMenu",
12491
12495
  props: {
12492
12496
  column: {},
@@ -12498,7 +12502,7 @@ const Bv = /* @__PURE__ */ fe({
12498
12502
  emits: ["hideColumn", "moveLeft", "moveRight"],
12499
12503
  setup(e, { emit: t }) {
12500
12504
  const n = Ot(), a = t, l = _({});
12501
- return (o, r) => (H(), Z(Jn, {
12505
+ return (o, r) => (H(), Y(Jn, {
12502
12506
  "close-on-content-click": !1,
12503
12507
  "offset-y": "",
12504
12508
  "offset-x": "",
@@ -12512,12 +12516,12 @@ const Bv = /* @__PURE__ */ fe({
12512
12516
  ke("span", {
12513
12517
  textContent: xe(o.column.title)
12514
12518
  }, null, 8, Lv),
12515
- o.isSorted(o.column) ? (H(), Z(le, {
12519
+ o.isSorted(o.column) ? (H(), Y(le, {
12516
12520
  key: 0,
12517
12521
  onClick: r[0] || (r[0] = (s) => o.toggleSort(o.column)),
12518
12522
  icon: o.getSortIcon(o.column),
12519
12523
  color: "medium-emphasis"
12520
- }, null, 8, ["icon"])) : ve("", !0)
12524
+ }, null, 8, ["icon"])) : fe("", !0)
12521
12525
  ], 16)
12522
12526
  ]),
12523
12527
  default: L(() => [
@@ -12526,7 +12530,7 @@ const Bv = /* @__PURE__ */ fe({
12526
12530
  class: "pa-3"
12527
12531
  }, {
12528
12532
  default: L(() => [
12529
- o.column.sortable ? (H(), Z(Ze, {
12533
+ o.column.sortable ? (H(), Y(Ze, {
12530
12534
  key: 0,
12531
12535
  onClick: r[1] || (r[1] = (i) => (o.toggleSort(o.column), l.value[o.column.value] = !1))
12532
12536
  }, {
@@ -12535,7 +12539,7 @@ const Bv = /* @__PURE__ */ fe({
12535
12539
  ke("span", Nv, xe(re(n)("classify")), 1)
12536
12540
  ]),
12537
12541
  _: 1
12538
- })) : ve("", !0),
12542
+ })) : fe("", !0),
12539
12543
  d(Ze, {
12540
12544
  onClick: r[2] || (r[2] = (i) => (a("hideColumn", o.column), l.value[o.column.value] = !1))
12541
12545
  }, {
@@ -12570,7 +12574,7 @@ const Bv = /* @__PURE__ */ fe({
12570
12574
  _: 1
12571
12575
  }, 8, ["modelValue"]));
12572
12576
  }
12573
- }), Hv = { class: "position-sticky top-0" }, zv = { class: "d-flex justify-space-between align-center" }, jv = /* @__PURE__ */ fe({
12577
+ }), Hv = { class: "position-sticky top-0" }, zv = { class: "d-flex justify-space-between align-center" }, jv = /* @__PURE__ */ ve({
12574
12578
  __name: "TableHeader",
12575
12579
  props: /* @__PURE__ */ pe({
12576
12580
  columns: {},
@@ -12616,11 +12620,11 @@ const Bv = /* @__PURE__ */ fe({
12616
12620
  onMoveLeft: a,
12617
12621
  onMoveRight: l
12618
12622
  }, null, 8, ["column", "getSortIcon", "isSorted", "toggleSort"]),
12619
- o(s) ? (H(), Z($v, {
12623
+ o(s) ? (H(), Y($v, {
12620
12624
  key: 0,
12621
12625
  column: s,
12622
12626
  filterFn: r.filterFn
12623
- }, null, 8, ["column", "filterFn"])) : ve("", !0)
12627
+ }, null, 8, ["column", "filterFn"])) : fe("", !0)
12624
12628
  ])
12625
12629
  ]))), 128))
12626
12630
  ]));
@@ -12673,7 +12677,7 @@ function ng() {
12673
12677
  }
12674
12678
  return { debounce: t, clearDebounce: n };
12675
12679
  }
12676
- const ag = /* @__PURE__ */ fe({
12680
+ const ag = /* @__PURE__ */ ve({
12677
12681
  __name: "TableCell",
12678
12682
  props: {
12679
12683
  header: {},
@@ -12707,7 +12711,7 @@ const ag = /* @__PURE__ */ fe({
12707
12711
  }, h = () => {
12708
12712
  console.warn(t("editFnNotDefined"));
12709
12713
  };
12710
- return (m, b) => (H(), Z(bf, null, {
12714
+ return (m, b) => (H(), Y(bf, null, {
12711
12715
  default: L(({ isHovering: C, props: k }) => [
12712
12716
  d(Gt, z({ class: "d-flex justify-space-between position-relative align-center" }, k), {
12713
12717
  default: L(() => [
@@ -12743,7 +12747,7 @@ const ag = /* @__PURE__ */ fe({
12743
12747
  ]),
12744
12748
  _: 1
12745
12749
  }, 8, ["cols"]),
12746
- C && m.header?.editable && !y() ? (H(), Z(le, {
12750
+ C && m.header?.editable && !y() ? (H(), Y(le, {
12747
12751
  key: 0,
12748
12752
  class: "cursor-pointer position-absolute right-0",
12749
12753
  onClick: b[4] || (b[4] = (x) => g()),
@@ -12753,7 +12757,7 @@ const ag = /* @__PURE__ */ fe({
12753
12757
  Ve(" ri-pencil-line ")
12754
12758
  ]),
12755
12759
  _: 1
12756
- })) : ve("", !0)
12760
+ })) : fe("", !0)
12757
12761
  ]),
12758
12762
  _: 2
12759
12763
  }, 1040)
@@ -12764,7 +12768,7 @@ const ag = /* @__PURE__ */ fe({
12764
12768
  }), lg = {
12765
12769
  key: 0,
12766
12770
  class: "card-content"
12767
- }, og = /* @__PURE__ */ fe({
12771
+ }, og = /* @__PURE__ */ ve({
12768
12772
  __name: "GenericDataTable",
12769
12773
  props: /* @__PURE__ */ pe({
12770
12774
  items: {},
@@ -12792,7 +12796,7 @@ const ag = /* @__PURE__ */ fe({
12792
12796
  maxHeightVH: 75,
12793
12797
  hysteresis: 8
12794
12798
  });
12795
- return (i, s) => (H(), Z(mf, {
12799
+ return (i, s) => (H(), Y(mf, {
12796
12800
  loading: i.loading,
12797
12801
  "items-per-page": n.value.pageSize,
12798
12802
  page: n.value.page,
@@ -12835,7 +12839,7 @@ const ag = /* @__PURE__ */ fe({
12835
12839
  fn: L(({ item: u }) => [
12836
12840
  i.$slots[c.value] ? (H(), he("div", lg, [
12837
12841
  Je(i.$slots, c.value, { item: u })
12838
- ])) : (H(), Z(ag, {
12842
+ ])) : (H(), Y(ag, {
12839
12843
  key: 1,
12840
12844
  header: c,
12841
12845
  item: u
@@ -12844,7 +12848,7 @@ const ag = /* @__PURE__ */ fe({
12844
12848
  }))
12845
12849
  ]), 1032, ["loading", "items-per-page", "page", "items", "headers", "no-data-text", "v-bind", "height", "class"]));
12846
12850
  }
12847
- }), rg = /* @__PURE__ */ fe({
12851
+ }), rg = /* @__PURE__ */ ve({
12848
12852
  __name: "GenericTable",
12849
12853
  props: /* @__PURE__ */ pe({
12850
12854
  keyWord: {},
@@ -12852,6 +12856,7 @@ const ag = /* @__PURE__ */ fe({
12852
12856
  hideCreate: { type: Boolean },
12853
12857
  hideSearch: { type: Boolean },
12854
12858
  hideHeader: { type: Boolean },
12859
+ hidePagination: { type: Boolean },
12855
12860
  hideSortHeader: { type: Boolean },
12856
12861
  loading: { type: Boolean },
12857
12862
  filterFn: { type: Function },
@@ -12881,7 +12886,7 @@ const ag = /* @__PURE__ */ fe({
12881
12886
  class: "py-0"
12882
12887
  }, {
12883
12888
  default: L(() => [
12884
- u.hideHeader ? ve("", !0) : (H(), Z(xf, {
12889
+ u.hideHeader ? fe("", !0) : (H(), Y(xf, {
12885
12890
  key: 0,
12886
12891
  keyWord: u.keyWord,
12887
12892
  search: l.value,
@@ -12918,14 +12923,15 @@ const ag = /* @__PURE__ */ fe({
12918
12923
  ])
12919
12924
  }))
12920
12925
  ]), 1040, ["loading", "pagination", "items", "headers", "sortedHeaders", "filterFn", "noItemsText"]),
12921
- i.value?.total > 0 ? (H(), Z(hd, {
12926
+ i.value?.total > 0 ? (H(), Y(hd, {
12922
12927
  key: 1,
12923
12928
  pagination: i.value,
12924
12929
  "onUpdate:pagination": f[6] || (f[6] = (v) => i.value = v),
12925
12930
  headers: o.value,
12926
12931
  data: r.value,
12932
+ "hide-pagination": u.hidePagination,
12927
12933
  "onUpdate:options": f[7] || (f[7] = (v) => u.$emit("update:options"))
12928
- }, null, 8, ["pagination", "headers", "data"])) : ve("", !0)
12934
+ }, null, 8, ["pagination", "headers", "data", "hide-pagination"])) : fe("", !0)
12929
12935
  ]),
12930
12936
  _: 3
12931
12937
  }, 8, ["variant"]),
@@ -12937,9 +12943,9 @@ const ag = /* @__PURE__ */ fe({
12937
12943
  }, null, 8, ["showAdjustColumns", "sortedHeaders"])
12938
12944
  ], 64));
12939
12945
  }
12940
- }), ig = /* @__PURE__ */ Jt(rg, [["__scopeId", "data-v-afc211a6"]]), sg = {};
12946
+ }), ig = /* @__PURE__ */ Jt(rg, [["__scopeId", "data-v-ad0a09da"]]), sg = {};
12941
12947
  function ug(e, t) {
12942
- return H(), Z(gt, {
12948
+ return H(), Y(gt, {
12943
12949
  class: "d-flex align-center justify-center h-100 w-100 position-absolute top-0 left-0 bg-surface",
12944
12950
  style: { "z-index": "2" }
12945
12951
  }, {
@@ -12953,7 +12959,7 @@ function ug(e, t) {
12953
12959
  _: 1
12954
12960
  });
12955
12961
  }
12956
- const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex align-center" }, fg = { class: "text-h5" }, vg = /* @__PURE__ */ fe({
12962
+ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex align-center" }, fg = { class: "text-h5" }, vg = /* @__PURE__ */ ve({
12957
12963
  __name: "FormTitle",
12958
12964
  props: {
12959
12965
  title: {}
@@ -13079,13 +13085,13 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13079
13085
  default: !1
13080
13086
  }
13081
13087
  }
13082
- }, gg = { class: "pa-0" }, mg = /* @__PURE__ */ fe({
13088
+ }, gg = { class: "pa-0" }, mg = /* @__PURE__ */ ve({
13083
13089
  __name: "FormCardTitle",
13084
13090
  props: {
13085
13091
  title: {}
13086
13092
  },
13087
13093
  setup(e) {
13088
- return (t, n) => t.title ? (H(), Z(ri, {
13094
+ return (t, n) => t.title ? (H(), Y(ri, {
13089
13095
  key: 0,
13090
13096
  class: "text-center mb-6"
13091
13097
  }, {
@@ -13093,9 +13099,9 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13093
13099
  ke("p", gg, xe(t.title), 1)
13094
13100
  ]),
13095
13101
  _: 1
13096
- })) : ve("", !0);
13102
+ })) : fe("", !0);
13097
13103
  }
13098
- }), yg = /* @__PURE__ */ fe({
13104
+ }), yg = /* @__PURE__ */ ve({
13099
13105
  __name: "FormActionsButtons",
13100
13106
  props: {
13101
13107
  hideCancelButton: { type: Boolean },
@@ -13106,9 +13112,9 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13106
13112
  emits: ["cancel", "submit"],
13107
13113
  setup(e, { emit: t }) {
13108
13114
  const n = t, a = Ot();
13109
- return (l, o) => (H(), Z(Gt, { class: "ma-0 gap-4 pa-5" }, {
13115
+ return (l, o) => (H(), Y(Gt, { class: "ma-0 gap-4 pa-5" }, {
13110
13116
  default: L(() => [
13111
- l.hideCancelButton ? ve("", !0) : (H(), Z(He, {
13117
+ l.hideCancelButton ? fe("", !0) : (H(), Y(He, {
13112
13118
  key: 0,
13113
13119
  class: "pa-0"
13114
13120
  }, {
@@ -13154,7 +13160,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13154
13160
  e.prependComponent ? -1 : 0
13155
13161
  ].reduce((r, i) => r + i, 0);
13156
13162
  return Math.max(a + o, 2);
13157
- }, pg = { class: "d-flex align-center bg-background rounded border-thin" }, bg = /* @__PURE__ */ fe({
13163
+ }, pg = { class: "d-flex align-center bg-background rounded border-thin" }, bg = /* @__PURE__ */ ve({
13158
13164
  __name: "FormButtonOptionsField",
13159
13165
  props: {
13160
13166
  field: {}
@@ -13165,13 +13171,13 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13165
13171
  () => n.field.options && n.field.options.length ? 12 / n.field.options.length : 12
13166
13172
  ), o = (r) => n.field.value == r.text || n.field.value == r.value ? "flat" : "text";
13167
13173
  return (r, i) => (H(), he("div", pg, [
13168
- (H(!0), he(oe, null, Ft(r.field.options || [], (s, c) => (H(), Z(He, {
13174
+ (H(!0), he(oe, null, Ft(r.field.options || [], (s, c) => (H(), Y(He, {
13169
13175
  key: c,
13170
13176
  cols: l.value,
13171
13177
  class: "pa-0"
13172
13178
  }, {
13173
13179
  default: L(() => [
13174
- (H(), Z(Ie, {
13180
+ (H(), Y(Ie, {
13175
13181
  block: "",
13176
13182
  key: s.text,
13177
13183
  text: s.text,
@@ -13426,7 +13432,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13426
13432
  default: !1
13427
13433
  }
13428
13434
  }
13429
- }, Sg = /* @__PURE__ */ fe({
13435
+ }, Sg = /* @__PURE__ */ ve({
13430
13436
  __name: "CInputText",
13431
13437
  props: /* @__PURE__ */ pe({
13432
13438
  ...sa.props
@@ -13442,7 +13448,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13442
13448
  ], ["update:modelValue"]),
13443
13449
  setup(e, { emit: t }) {
13444
13450
  const n = t, a = _(null), l = Le(e, "modelValue");
13445
- return (o, r) => (H(), Z(vn, {
13451
+ return (o, r) => (H(), Y(vn, {
13446
13452
  ref_key: "input",
13447
13453
  ref: a,
13448
13454
  modelValue: l.value,
@@ -13465,7 +13471,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13465
13471
  "onClick:append": r[4] || (r[4] = (i) => n("click:append"))
13466
13472
  }, null, 8, ["modelValue", "autofocus", "label", "placeholder", "error-messages", "rules", "maxLength", "minLength", "prefix", "suffix", "disabled", "counter"]));
13467
13473
  }
13468
- }), Cg = /* @__PURE__ */ fe({
13474
+ }), Cg = /* @__PURE__ */ ve({
13469
13475
  __name: "CInputNumber",
13470
13476
  props: /* @__PURE__ */ pe({
13471
13477
  ...sa.props
@@ -13481,7 +13487,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13481
13487
  ], ["update:modelValue"]),
13482
13488
  setup(e, { emit: t }) {
13483
13489
  const n = t, a = _(null), l = Le(e, "modelValue");
13484
- return (o, r) => (H(), Z(vn, {
13490
+ return (o, r) => (H(), Y(vn, {
13485
13491
  ref_key: "input",
13486
13492
  ref: a,
13487
13493
  modelValue: l.value,
@@ -13504,7 +13510,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13504
13510
  "onClick:append": r[4] || (r[4] = (i) => n("click:append"))
13505
13511
  }, null, 8, ["modelValue", "autofocus", "label", "placeholder", "error-messages", "rules", "maxLength", "minLength", "prefix", "suffix", "disabled", "counter"]));
13506
13512
  }
13507
- }), wg = /* @__PURE__ */ fe({
13513
+ }), wg = /* @__PURE__ */ ve({
13508
13514
  __name: "CInputSelect",
13509
13515
  props: /* @__PURE__ */ pe({
13510
13516
  ...sa.props,
@@ -13522,7 +13528,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13522
13528
  ], ["update:modelValue"]),
13523
13529
  setup(e, { emit: t }) {
13524
13530
  const n = t, a = _(null), l = Le(e, "modelValue");
13525
- return (o, r) => (H(), Z(ta, {
13531
+ return (o, r) => (H(), Y(ta, {
13526
13532
  ref_key: "input",
13527
13533
  ref: a,
13528
13534
  modelValue: l.value,
@@ -13555,7 +13561,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13555
13561
  "onClick:append": r[4] || (r[4] = (i) => n("click:append"))
13556
13562
  }, null, 8, ["modelValue", "autofocus", "label", "disabled", "readonly", "error-messages", "prepend-icon", "prepend-inner-icon", "append-icon", "append-inner-icon", "suffix", "prefix", "hint", "loading", "placeholder", "append-outer-icon", "counter", "items", "multiple", "chips", "item-title", "item-value", "persistent-hint"]));
13557
13563
  }
13558
- }), yo = /* @__PURE__ */ fe({
13564
+ }), yo = /* @__PURE__ */ ve({
13559
13565
  __name: "CInput",
13560
13566
  props: /* @__PURE__ */ pe({
13561
13567
  ...sa.props,
@@ -13582,7 +13588,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13582
13588
  ], ["update:modelValue"]),
13583
13589
  setup(e, { emit: t }) {
13584
13590
  const n = t, a = Le(e, "modelValue");
13585
- return (l, o) => e.type === "select" ? (H(), Z(wg, {
13591
+ return (l, o) => e.type === "select" ? (H(), Y(wg, {
13586
13592
  key: 0,
13587
13593
  ref: "input",
13588
13594
  modelValue: a.value,
@@ -13610,7 +13616,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13610
13616
  "onClick:clear": o[2] || (o[2] = (r) => n("click:clear")),
13611
13617
  "onClick:prepend": o[3] || (o[3] = (r) => n("click:prepend")),
13612
13618
  "onClick:append": o[4] || (o[4] = (r) => n("click:append"))
13613
- }, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "items", "multiple", "chips", "item-title", "item-value", "persistent-hint"])) : e.type === "number" ? (H(), Z(Cg, {
13619
+ }, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "items", "multiple", "chips", "item-title", "item-value", "persistent-hint"])) : e.type === "number" ? (H(), Y(Cg, {
13614
13620
  key: 1,
13615
13621
  ref: "input",
13616
13622
  modelValue: a.value,
@@ -13633,7 +13639,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13633
13639
  "onClick:clear": o[7] || (o[7] = (r) => n("click:clear")),
13634
13640
  "onClick:prepend": o[8] || (o[8] = (r) => n("click:prepend")),
13635
13641
  "onClick:append": o[9] || (o[9] = (r) => n("click:append"))
13636
- }, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "maxLength"])) : (H(), Z(Sg, {
13642
+ }, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "maxLength"])) : (H(), Y(Sg, {
13637
13643
  key: 2,
13638
13644
  ref: "input",
13639
13645
  modelValue: a.value,
@@ -13659,7 +13665,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13659
13665
  "onClick:append": o[14] || (o[14] = (r) => n("click:append"))
13660
13666
  }, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "rules", "suffix-outer-icon", "counter", "maxLength"]));
13661
13667
  }
13662
- }), kg = /* @__PURE__ */ fe({
13668
+ }), kg = /* @__PURE__ */ ve({
13663
13669
  __name: "FormFields",
13664
13670
  props: {
13665
13671
  noPadding: { type: Boolean },
@@ -13675,12 +13681,12 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13675
13681
  }, i = (s, c) => {
13676
13682
  r(s, c);
13677
13683
  };
13678
- return (s, c) => (H(), Z(Gt, {
13684
+ return (s, c) => (H(), Y(Gt, {
13679
13685
  class: Ha(["ma-0", s.noPadding ? "pa-0" : "pa-5"])
13680
13686
  }, {
13681
13687
  default: L(() => [
13682
13688
  (H(!0), he(oe, null, Ft(s.fields, (u, f) => (H(), he(oe, { key: f }, [
13683
- l.value[u.model] ? (H(), Z(He, {
13689
+ l.value[u.model] ? (H(), Y(He, {
13684
13690
  key: 0,
13685
13691
  cols: re(mo)(u),
13686
13692
  class: "pa-2",
@@ -13688,17 +13694,17 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13688
13694
  sm: "12"
13689
13695
  }, {
13690
13696
  default: L(() => [
13691
- u.type === "button-options" ? (H(), Z(bg, {
13697
+ u.type === "button-options" ? (H(), Y(bg, {
13692
13698
  key: 0,
13693
13699
  field: u,
13694
13700
  onOnSelectedButtonChange: i
13695
- }, null, 8, ["field"])) : (H(), Z(Gt, { key: 1 }, {
13701
+ }, null, 8, ["field"])) : (H(), Y(Gt, { key: 1 }, {
13696
13702
  default: L(() => [
13697
13703
  d(He, {
13698
13704
  cols: re(mo)(u)
13699
13705
  }, {
13700
13706
  default: L(() => [
13701
- u.type === "password" ? (H(), Z(yo, {
13707
+ u.type === "password" ? (H(), Y(yo, {
13702
13708
  key: 0,
13703
13709
  modelValue: u.value,
13704
13710
  "onUpdate:modelValue": (v) => u.value = v,
@@ -13707,7 +13713,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13707
13713
  autofocus: u.autofocus,
13708
13714
  placeholder: u.placeholder,
13709
13715
  "error-messages": u.error
13710
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "autofocus", "placeholder", "error-messages"])) : (H(), Z(yo, {
13716
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "autofocus", "placeholder", "error-messages"])) : (H(), Y(yo, {
13711
13717
  key: 1,
13712
13718
  modelValue: u.value,
13713
13719
  "onUpdate:modelValue": (v) => u.value = v,
@@ -13724,7 +13730,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13724
13730
  ]),
13725
13731
  _: 2
13726
13732
  }, 1032, ["cols"]),
13727
- u.count && !u.disabled ? (H(), Z(He, {
13733
+ u.count && !u.disabled ? (H(), Y(He, {
13728
13734
  key: 0,
13729
13735
  cols: "1",
13730
13736
  class: "d-flex align-center justify-center"
@@ -13744,14 +13750,14 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13744
13750
  }, 1032, ["onClick"])
13745
13751
  ]),
13746
13752
  _: 2
13747
- }, 1024)) : ve("", !0)
13753
+ }, 1024)) : fe("", !0)
13748
13754
  ]),
13749
13755
  _: 2
13750
13756
  }, 1024))
13751
13757
  ]),
13752
13758
  _: 2
13753
- }, 1032, ["cols", "md"])) : ve("", !0),
13754
- u.hasCountBtn && !u.disabled ? (H(), Z(He, {
13759
+ }, 1032, ["cols", "md"])) : fe("", !0),
13760
+ u.hasCountBtn && !u.disabled ? (H(), Y(He, {
13755
13761
  key: 1,
13756
13762
  cols: "12",
13757
13763
  class: "d-flex align-start justify-center pa-0"
@@ -13777,7 +13783,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13777
13783
  }, 1032, ["onClick"])
13778
13784
  ]),
13779
13785
  _: 2
13780
- }, 1024)) : ve("", !0)
13786
+ }, 1024)) : fe("", !0)
13781
13787
  ], 64))), 128)),
13782
13788
  d(He, {
13783
13789
  cols: "12",
@@ -13792,7 +13798,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13792
13798
  _: 3
13793
13799
  }, 8, ["class"]));
13794
13800
  }
13795
- }), xg = /* @__PURE__ */ fe({
13801
+ }), xg = /* @__PURE__ */ ve({
13796
13802
  __name: "GenericFormFlat",
13797
13803
  props: /* @__PURE__ */ pe({
13798
13804
  ...Mi.props,
@@ -13846,12 +13852,12 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13846
13852
  }
13847
13853
  );
13848
13854
  const s = p(() => n.fields.filter((u) => r.value[u.model])), c = _(!1);
13849
- return (u, f) => (H(), Z(gt, { variant: "text" }, {
13855
+ return (u, f) => (H(), Y(gt, { variant: "text" }, {
13850
13856
  default: L(() => [
13851
- n.title ? (H(), Z(mg, {
13857
+ n.title ? (H(), Y(mg, {
13852
13858
  key: 0,
13853
13859
  title: n.title
13854
- }, null, 8, ["title"])) : ve("", !0),
13860
+ }, null, 8, ["title"])) : fe("", !0),
13855
13861
  d(gn, { class: "pa-0" }, {
13856
13862
  default: L(() => [
13857
13863
  d(hf, {
@@ -13867,7 +13873,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13867
13873
  disabled: n.disabled,
13868
13874
  onUpdateSearch: l
13869
13875
  }, null, 8, ["fields", "disabled"]),
13870
- e.noActionButtons ? ve("", !0) : (H(), Z(yg, {
13876
+ e.noActionButtons ? fe("", !0) : (H(), Y(yg, {
13871
13877
  key: 0,
13872
13878
  "disable-add-button": !c.value,
13873
13879
  "hide-cancel-button": e.hideCancelButton ?? !1,
@@ -13886,7 +13892,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13886
13892
  _: 1
13887
13893
  }));
13888
13894
  }
13889
- }), zi = /* @__PURE__ */ Jt(xg, [["__scopeId", "data-v-2fb1243e"]]), Pg = /* @__PURE__ */ fe({
13895
+ }), zi = /* @__PURE__ */ Jt(xg, [["__scopeId", "data-v-2fb1243e"]]), Pg = /* @__PURE__ */ ve({
13890
13896
  __name: "GenericForm",
13891
13897
  props: {
13892
13898
  ...Mi.props
@@ -13900,7 +13906,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13900
13906
  }, r = (i) => {
13901
13907
  a("update:isDialogVisible", i);
13902
13908
  };
13903
- return (i, s) => (H(), Z(oi, {
13909
+ return (i, s) => (H(), Y(oi, {
13904
13910
  "model-value": n.isDialogVisible,
13905
13911
  "onUpdate:modelValue": r,
13906
13912
  width: n.width ?? "600",
@@ -13909,7 +13915,7 @@ const cg = /* @__PURE__ */ Jt(sg, [["render", ug]]), dg = { class: "pa-5 d-flex
13909
13915
  default: L(() => [
13910
13916
  d(gt, { class: "position-relative" }, {
13911
13917
  default: L(() => [
13912
- n.loading ? (H(), Z(cg, { key: 0 })) : ve("", !0),
13918
+ n.loading ? (H(), Y(cg, { key: 0 })) : fe("", !0),
13913
13919
  d(vg, {
13914
13920
  title: n.title,
13915
13921
  onClose: s[0] || (s[0] = (c) => r(!1))