@aeria-ui/ui 0.0.161 → 0.0.162

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,6 +1,6 @@
1
- import { defineComponent as F, ref as ee, resolveDirective as te, openBlock as t, createElementBlock as l, normalizeClass as Y, Fragment as P, renderList as D, withDirectives as N, toDisplayString as C, createCommentVNode as g, createTextVNode as W, unref as e, renderSlot as I, withModifiers as Re, inject as ve, computed as J, createElementVNode as B, mergeProps as z, createBlock as V, withCtx as h, resolveDynamicComponent as ge, useCssVars as gt, normalizeProps as de, guardReactiveProps as Ce, Teleport as We, createVNode as L, onMounted as Ye, watch as ce, vModelDynamic as $t, onBeforeMount as vt, normalizeStyle as ke, provide as $e, createSlots as _e, vModelCheckbox as kt, onUnmounted as Vt, resolveComponent as Ct, Suspense as Ot, useSlots as At, h as It } from "vue";
1
+ import { defineComponent as F, ref as ee, resolveDirective as te, openBlock as t, createElementBlock as l, normalizeClass as Y, Fragment as P, renderList as D, withDirectives as N, toDisplayString as C, createCommentVNode as g, createTextVNode as W, unref as e, renderSlot as I, withModifiers as Re, inject as ve, computed as J, createElementVNode as B, mergeProps as z, createBlock as V, withCtx as b, resolveDynamicComponent as ge, useCssVars as gt, normalizeProps as de, guardReactiveProps as Ce, Teleport as We, createVNode as L, onMounted as Ye, watch as ce, vModelDynamic as $t, onBeforeMount as vt, normalizeStyle as ke, provide as $e, createSlots as _e, vModelCheckbox as kt, onUnmounted as Vt, resolveComponent as Ct, Suspense as Ot, useSlots as At, h as It } from "vue";
2
2
  import { t as q, useI18n as Bt } from "@aeria-ui/i18n";
3
- import { INSTANCE_VARS_SYMBOL as St, useScrollObserver as Ke, useBreakpoints as Le, useMask as wt, PAGINATION_PER_PAGE_DEFAULTS as Tt, API_URL as yt, request as jt, useDebounce as ht, convertToSearchQuery as Rt, useParentCollectionStore as je, useCollectionStore as qt, useAction as Lt, convertFromSearchQuery as Mt, usePasswordPolicy as zt } from "@aeria-ui/core";
3
+ import { INSTANCE_VARS_SYMBOL as St, useScrollObserver as Ke, useBreakpoints as Le, useMask as wt, PAGINATION_PER_PAGE_DEFAULTS as Tt, API_URL as yt, request as jt, useDebounce as bt, convertToSearchQuery as Rt, useParentCollectionStore as je, useCollectionStore as qt, useAction as Lt, convertFromSearchQuery as Mt, usePasswordPolicy as zt } from "@aeria-ui/core";
4
4
  import { arraysIntersect as Ge, deepClone as Ae, getReferenceProperty as me, freshItem as Ft, isRequired as dt, evaluateCondition as Ee, deepMerge as qe } from "@aeriajs/common";
5
5
  import { useStore as ie, getStoreId as Me, useParentStore as He, STORE_ID as ze, getGlobalStateManager as Xe } from "@aeria-ui/state-management";
6
6
  import { useRouter as Be } from "vue-router";
@@ -90,7 +90,7 @@ const Ve = /* @__PURE__ */ G(Yt, [["__scopeId", "data-v-4cbce7ef"]]), Kt = /* @_
90
90
  ], 2));
91
91
  }
92
92
  });
93
- const he = /* @__PURE__ */ G(Kt, [["__scopeId", "data-v-1883f6a0"]]), Xt = ["href"], Jt = {
93
+ const be = /* @__PURE__ */ G(Kt, [["__scopeId", "data-v-1883f6a0"]]), Xt = ["href"], Jt = {
94
94
  key: 0,
95
95
  "data-component": "icon-label"
96
96
  }, Zt = /* @__PURE__ */ F({
@@ -165,7 +165,7 @@ const K = /* @__PURE__ */ G(Zt, [["__scopeId", "data-v-263a2782"]]), Pt = { clas
165
165
  }
166
166
  return ve("buttonSize", r.size) || "medium";
167
167
  })();
168
- return (a, c) => (t(), V(he, {
168
+ return (a, c) => (t(), V(be, {
169
169
  class: Y([
170
170
  "button",
171
171
  `button--${e(n)}`,
@@ -174,12 +174,12 @@ const K = /* @__PURE__ */ G(Zt, [["__scopeId", "data-v-263a2782"]]), Pt = { clas
174
174
  ]),
175
175
  disabled: a.disabled || a.loading
176
176
  }, {
177
- default: h(() => [
177
+ default: b(() => [
178
178
  a.icon ? (t(), V(K, {
179
179
  key: 0,
180
180
  icon: a.icon
181
181
  }, {
182
- default: h(() => [
182
+ default: b(() => [
183
183
  B("div", Pt, [
184
184
  I(a.$slots, "default", {}, void 0, !0)
185
185
  ])
@@ -284,7 +284,7 @@ const sn = /* @__PURE__ */ G(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
284
284
  ]),
285
285
  onClick: y[2] || (y[2] = (i) => i.stopPropagation())
286
286
  }, {
287
- default: h(() => [
287
+ default: b(() => [
288
288
  s.$slots.header || s.title ? (t(), l("div", {
289
289
  key: 0,
290
290
  class: Y([
@@ -431,7 +431,7 @@ const Se = /* @__PURE__ */ G(dn, [["__scopeId", "data-v-3075829a"]]), pn = { cla
431
431
  class: "content",
432
432
  style: { "--panel-min-width": "0" }
433
433
  }, {
434
- default: h(() => [
434
+ default: b(() => [
435
435
  B("div", pn, [
436
436
  d.$slots.header ? (t(), l("div", _n, [
437
437
  I(d.$slots, "header", {}, void 0, !0)
@@ -441,11 +441,11 @@ const Se = /* @__PURE__ */ G(dn, [["__scopeId", "data-v-3075829a"]]), pn = { cla
441
441
  class: "content__section",
442
442
  onClick: v[1] || (v[1] = (y) => a.value = !1)
443
443
  }, [
444
- (t(!0), l(P, null, D(Object.keys(d.$slots).filter((y) => !["default", "extra", "header"].includes(y)), (y, $) => (t(), V(he, {
444
+ (t(!0), l(P, null, D(Object.keys(d.$slots).filter((y) => !["default", "extra", "header"].includes(y)), (y, $) => (t(), V(be, {
445
445
  key: `slot-${$}`,
446
446
  class: "content__item content__item--reactive"
447
447
  }, {
448
- default: h(() => [
448
+ default: b(() => [
449
449
  I(d.$slots, y, {}, void 0, !0)
450
450
  ]),
451
451
  _: 2
@@ -456,16 +456,16 @@ const Se = /* @__PURE__ */ G(dn, [["__scopeId", "data-v-3075829a"]]), pn = { cla
456
456
  class: "content__section",
457
457
  onClick: v[2] || (v[2] = (y) => a.value = !1)
458
458
  }, [
459
- (t(!0), l(P, null, D(c(d.actions), (y, $) => (t(), V(he, {
459
+ (t(!0), l(P, null, D(c(d.actions), (y, $) => (t(), V(be, {
460
460
  key: `action-${$}`,
461
461
  class: "content__item content__item--reactive",
462
462
  onClick: (f) => u(y, d.subject)
463
463
  }, {
464
- default: h(() => [
464
+ default: b(() => [
465
465
  L(K, {
466
466
  icon: y.icon || "gear"
467
467
  }, {
468
- default: h(() => [
468
+ default: b(() => [
469
469
  W(C(y.translate ? e(q)(y.label, { capitalize: !0 }) : y.label), 1)
470
470
  ]),
471
471
  _: 2
@@ -535,7 +535,7 @@ const Ie = /* @__PURE__ */ G(fn, [["__scopeId", "data-v-ee3ea72f"]]), vn = { cla
535
535
  ], 32)) : I(o.$slots, "default", { key: 1 }, void 0, !0);
536
536
  }
537
537
  });
538
- const hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), bn = { class: "input" }, gn = {
538
+ const bn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), hn = { class: "input" }, gn = {
539
539
  key: 0,
540
540
  class: "input__label"
541
541
  }, $n = {
@@ -559,7 +559,7 @@ const hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), bn = { cla
559
559
  emits: ["update:modelValue", "input", "change", "clipboardCopy"],
560
560
  setup(p, { emit: r }) {
561
561
  var X;
562
- const n = p, o = r, a = n.property || {}, c = "icon" in a || "inputType" in a && a.inputType === "search", u = ve("searchOnly", !1), m = ve("innerInputLabel", !1), d = !u && (n.readOnly || a.readOnly), v = (b) => (o("clipboardCopy", b), navigator.clipboard.writeText(b)), s = ve("inputVariant", n.variant) || "normal", y = Object.assign(Object.assign({}, n), {
562
+ const n = p, o = r, a = n.property || {}, c = "icon" in a || "inputType" in a && a.inputType === "search", u = ve("searchOnly", !1), m = ve("innerInputLabel", !1), d = !u && (n.readOnly || a.readOnly), v = (h) => (o("clipboardCopy", h), navigator.clipboard.writeText(h)), s = ve("inputVariant", n.variant) || "normal", y = Object.assign(Object.assign({}, n), {
563
563
  name: n.propertyName,
564
564
  readonly: d,
565
565
  type: (() => {
@@ -585,12 +585,12 @@ const hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), bn = { cla
585
585
  "type" in a && ((a.type === "number" || a.type === "integer") && (a.minimum && (y.min = a.minimum), a.exclusiveMinimum && (y.min = a.exclusiveMinimum + 1), a.maximum && (y.max = a.maximum), a.exclusiveMaximum && (y.max = a.exclusiveMaximum - 1)), a.type === "string" && ((a.format === "date" || a.format === "date-time") && (y.type = !u && a.format === "date-time" ? "datetime-local" : "date"), y.minlength = a.minLength, y.maxlength = a.maxLength)), y.type === "text" && u && (y.type = "search"), Ye(() => {
586
586
  n.modelValue !== null && M(n.modelValue);
587
587
  });
588
- const $ = (b) => {
588
+ const $ = (h) => {
589
589
  let H;
590
- if (typeof b == "string")
591
- H = b;
592
- else if (b instanceof Date)
593
- H = b.toISOString();
590
+ if (typeof h == "string")
591
+ H = h;
592
+ else if (h instanceof Date)
593
+ H = h.toISOString();
594
594
  else
595
595
  return "";
596
596
  switch (y.type) {
@@ -602,61 +602,63 @@ const hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), bn = { cla
602
602
  throw new Error();
603
603
  }
604
604
  }, f = ee(""), A = ((X = n.property) == null ? void 0 : X.type) === "string" && n.property.mask ? wt(n.property.mask) : null;
605
- ce(() => n.modelValue, (b) => {
605
+ ce(() => n.modelValue, (h) => {
606
606
  f.value = (() => {
607
607
  if (A)
608
- return b ? A.enmask(String(b), void 0, {
608
+ return h ? A.enmask(String(h), void 0, {
609
609
  defaultValue: !0
610
610
  }) : "";
611
611
  switch (y.type) {
612
612
  case "date":
613
613
  case "datetime-local":
614
- return $(b);
614
+ return $(h);
615
615
  }
616
- switch (b) {
616
+ switch (h) {
617
617
  case null:
618
618
  case void 0:
619
619
  return "";
620
620
  default:
621
- return b;
621
+ return h;
622
622
  }
623
623
  })();
624
624
  }, {
625
625
  immediate: !0
626
626
  });
627
- const i = (b) => {
627
+ const i = (h) => {
628
628
  var H;
629
629
  return typeof f.value == "string" && ((H = n.property) == null ? void 0 : H.type) === "string" && A !== null ? (f.value = A.enmask(f.value, void 0, {
630
630
  defaultValue: !0
631
- }), n.property.maskedValue === !0 ? f.value : A.unmask(f.value)) : b;
632
- }, M = (b) => {
631
+ }), n.property.maskedValue === !0 ? f.value : A.unmask(f.value)) : h;
632
+ }, M = (h) => {
633
633
  const H = (() => {
634
- if (!b || typeof b != "string")
635
- return b;
634
+ if (typeof h != "string")
635
+ return h;
636
+ if (y.type !== "text" && h === "")
637
+ return null;
636
638
  switch (y.type) {
637
639
  case "number":
638
640
  case "integer":
639
- return Number(b);
641
+ return Number(h);
640
642
  case "date":
641
643
  case "date-time":
642
- return typeof b == "string" ? new Date(b) : b;
644
+ return typeof h == "string" ? new Date(h) : h;
643
645
  default:
644
- return i(b);
646
+ return i(h);
645
647
  }
646
648
  })();
647
649
  o("input", H), o("update:modelValue", H);
648
- }, E = (b) => {
649
- const H = b.target.value;
650
+ }, E = (h) => {
651
+ const H = h.target.value;
650
652
  f.value = H, M(H);
651
653
  };
652
- return (b, H) => {
654
+ return (h, H) => {
653
655
  const oe = te("focus"), ue = te("clickable");
654
- return t(), l("label", bn, [
656
+ return t(), l("label", hn, [
655
657
  e(m) ? g("", !0) : (t(), l("div", gn, [
656
- b.$slots.default ? I(b.$slots, "default", { key: 0 }, void 0, !0) : I(b.$slots, "description", { key: 1 }, void 0, !0)
658
+ h.$slots.default ? I(h.$slots, "default", { key: 0 }, void 0, !0) : I(h.$slots, "description", { key: 1 }, void 0, !0)
657
659
  ])),
658
- b.$slots.hint ? (t(), l("div", $n, [
659
- I(b.$slots, "hint", {}, void 0, !0)
660
+ h.$slots.hint ? (t(), l("div", $n, [
661
+ I(h.$slots, "hint", {}, void 0, !0)
660
662
  ])) : g("", !0),
661
663
  "element" in e(a) && e(a).element === "textarea" ? (t(), l("div", {
662
664
  key: 2,
@@ -669,7 +671,7 @@ const hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), bn = { cla
669
671
  N(B("textarea", {
670
672
  placeholder: e(y).placeholder,
671
673
  readonly: e(y).readonly,
672
- value: b.modelValue,
674
+ value: h.modelValue,
673
675
  class: Y([
674
676
  "input__textarea",
675
677
  `input__input--${e(s)}`
@@ -708,15 +710,15 @@ const hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), bn = { cla
708
710
  ])
709
711
  }, null, 8, ["icon", "class"])) : g("", !0),
710
712
  e(d) ? (t(), l("div", Cn, [
711
- L(hn, null, {
712
- text: h(() => H[2] || (H[2] = [
713
+ L(bn, null, {
714
+ text: b(() => H[2] || (H[2] = [
713
715
  W("Copiar")
714
716
  ])),
715
- default: h(() => [
717
+ default: b(() => [
716
718
  N(L(K, {
717
719
  reactive: "",
718
720
  icon: "clipboard",
719
- onClick: H[1] || (H[1] = Re((w) => v(String(b.modelValue || "")), ["prevent"]))
721
+ onClick: H[1] || (H[1] = Re((w) => v(String(h.modelValue || "")), ["prevent"]))
720
722
  }, null, 512), [
721
723
  [ue]
722
724
  ])
@@ -729,7 +731,7 @@ const hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-15a38847"]]), bn = { cla
729
731
  };
730
732
  }
731
733
  });
732
- const Oe = /* @__PURE__ */ G(On, [["__scopeId", "data-v-31001eea"]]), An = {
734
+ const Oe = /* @__PURE__ */ G(On, [["__scopeId", "data-v-d310fbbb"]]), An = {
733
735
  key: 1,
734
736
  value: ""
735
737
  }, In = ["value", "data-selected"], Bn = /* @__PURE__ */ F({
@@ -827,38 +829,38 @@ const Je = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
827
829
  });
828
830
  }), (v, s) => (t(), l("div", Sn, [
829
831
  B("div", wn, [
830
- L(he, {
832
+ L(be, {
831
833
  disabled: a.value === 0,
832
834
  onClick: s[0] || (s[0] = (y) => a.value = 0)
833
835
  }, {
834
- default: h(() => [
836
+ default: b(() => [
835
837
  L(K, { icon: "caret-double-left" })
836
838
  ]),
837
839
  _: 1
838
840
  }, 8, ["disabled"]),
839
- L(he, {
841
+ L(be, {
840
842
  disabled: a.value === 0,
841
843
  onClick: s[1] || (s[1] = (y) => d("previous"))
842
844
  }, {
843
- default: h(() => [
845
+ default: b(() => [
844
846
  L(K, { icon: "caret-left" })
845
847
  ]),
846
848
  _: 1
847
849
  }, 8, ["disabled"]),
848
- L(he, {
850
+ L(be, {
849
851
  disabled: a.value === m.value - 1,
850
852
  onClick: s[2] || (s[2] = (y) => d("next"))
851
853
  }, {
852
- default: h(() => [
854
+ default: b(() => [
853
855
  L(K, { icon: "caret-right" })
854
856
  ]),
855
857
  _: 1
856
858
  }, 8, ["disabled"]),
857
- L(he, {
859
+ L(be, {
858
860
  disabled: a.value === m.value - 1,
859
861
  onClick: s[3] || (s[3] = (y) => a.value = m.value - 1)
860
862
  }, {
861
- default: h(() => [
863
+ default: b(() => [
862
864
  L(K, { icon: "caret-double-right" })
863
865
  ]),
864
866
  _: 1
@@ -872,7 +874,7 @@ const Je = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
872
874
  },
873
875
  class: "pagination__control"
874
876
  }, {
875
- default: h(() => [
877
+ default: b(() => [
876
878
  (t(!0), l(P, null, D(e(Tt), (y) => (t(), l("option", {
877
879
  key: `limit-${y}`,
878
880
  value: y
@@ -1235,7 +1237,7 @@ const Ue = /* @__PURE__ */ G(no, [["__scopeId", "data-v-9e6a58b0"]]), oo = { cla
1235
1237
  target: "_blank",
1236
1238
  class: "item__name item__name--link"
1237
1239
  }, {
1238
- default: h(() => [
1240
+ default: b(() => [
1239
1241
  W(C(e(n).name), 1)
1240
1242
  ]),
1241
1243
  _: 1
@@ -1325,12 +1327,12 @@ const ro = /* @__PURE__ */ G(io, [["__scopeId", "data-v-85a82246"]]), uo = { cla
1325
1327
  key: "_id" in E ? String(E._id) : E.file.name,
1326
1328
  "model-value": E
1327
1329
  }, {
1328
- default: h(() => [
1330
+ default: b(() => [
1329
1331
  $.readOnly ? g("", !0) : N((t(), V(K, {
1330
1332
  key: 0,
1331
1333
  reactive: "",
1332
1334
  icon: "trash",
1333
- onClick: (b) => y(X)
1335
+ onClick: (h) => y(X)
1334
1336
  }, null, 8, ["onClick"])), [
1335
1337
  [A]
1336
1338
  ])
@@ -1372,7 +1374,7 @@ const mo = /* @__PURE__ */ G(_o, [["__scopeId", "data-v-9950a715"]]), fo = { cla
1372
1374
  ]));
1373
1375
  }
1374
1376
  });
1375
- const pt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), ho = { class: "item__values" }, bo = /* @__PURE__ */ F({
1377
+ const pt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { class: "item__values" }, ho = /* @__PURE__ */ F({
1376
1378
  __name: "aeria-search-item",
1377
1379
  props: {
1378
1380
  item: {},
@@ -1422,7 +1424,7 @@ const pt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), ho = { cla
1422
1424
  onClick: y
1423
1425
  }, [
1424
1426
  I($.$slots, "default", {}, void 0, !0),
1425
- B("div", ho, [
1427
+ B("div", bo, [
1426
1428
  (t(!0), l(P, null, D($.indexes, (i, M) => (t(), l("div", {
1427
1429
  key: `index-${$.item._id}-${M}`,
1428
1430
  class: "item__value"
@@ -1439,7 +1441,7 @@ const pt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), ho = { cla
1439
1441
  };
1440
1442
  }
1441
1443
  });
1442
- const Qe = /* @__PURE__ */ G(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { class: "search__panel" }, $o = { key: 1 }, ko = { key: 0 }, Vo = { key: 1 }, Co = { class: "search__summary" }, Oo = {
1444
+ const Qe = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { class: "search__panel" }, $o = { key: 1 }, ko = { key: 0 }, Vo = { key: 1 }, Co = { class: "search__summary" }, Oo = {
1443
1445
  key: 1,
1444
1446
  class: "search"
1445
1447
  }, Ao = { key: 0 }, Fe = 10, Io = /* @__PURE__ */ F({
@@ -1469,7 +1471,7 @@ const Qe = /* @__PURE__ */ G(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1469
1471
  k[Q] = v;
1470
1472
  }
1471
1473
  return a.constraints ? Et(a.constraints, k) : {};
1472
- }, b = () => {
1474
+ }, h = () => {
1473
1475
  f.value.length < A.value.recordsTotal && (i.value += 1, oe());
1474
1476
  }, H = async () => E.value.length === 0 ? m.$actions.custom("getAll", {
1475
1477
  limit: Fe,
@@ -1497,7 +1499,7 @@ const Qe = /* @__PURE__ */ G(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1497
1499
  return;
1498
1500
  }
1499
1501
  $.value.pagination = Q.pagination, i.value === 0 && $.value.data.splice(0), $.value.data.push(...Q.data);
1500
- }, [ue] = ht({
1502
+ }, [ue] = bt({
1501
1503
  delay: 800
1502
1504
  })(() => {
1503
1505
  i.value = 0, oe(), M.value = !1;
@@ -1535,18 +1537,18 @@ const Qe = /* @__PURE__ */ G(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1535
1537
  onClose: fe,
1536
1538
  onOverlayClick: fe
1537
1539
  }, {
1538
- footer: h(() => [
1540
+ footer: b(() => [
1539
1541
  L(pe, {
1540
1542
  large: "",
1541
1543
  onClick: O
1542
1544
  }, {
1543
- default: h(() => [
1545
+ default: b(() => [
1544
1546
  W(C(e(q)("action.save", { capitalize: !0 })), 1)
1545
1547
  ]),
1546
1548
  _: 1
1547
1549
  })
1548
1550
  ]),
1549
- default: h(() => {
1551
+ default: b(() => {
1550
1552
  var _, T;
1551
1553
  return [
1552
1554
  B("div", go, [
@@ -1563,9 +1565,9 @@ const Qe = /* @__PURE__ */ G(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1563
1565
  f.value.length ? (t(), V(pt, {
1564
1566
  key: 0,
1565
1567
  "observe-scroll": "",
1566
- onEndReached: b
1568
+ onEndReached: h
1567
1569
  }, {
1568
- default: h(() => [
1570
+ default: b(() => [
1569
1571
  (t(!0), l(P, null, D(f.value, (U) => (t(), V(Qe, z({ ref_for: !0 }, {
1570
1572
  item: U,
1571
1573
  indexes: e(s),
@@ -1589,7 +1591,7 @@ const Qe = /* @__PURE__ */ G(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1589
1591
  ])) : g("", !0),
1590
1592
  k.selectOnly ? g("", !0) : (t(), l("div", Oo, [
1591
1593
  L(pt, null, _e({
1592
- default: h(() => {
1594
+ default: b(() => {
1593
1595
  var _;
1594
1596
  return [
1595
1597
  "items" in k.property ? (t(), l("div", Ao, [
@@ -1616,12 +1618,12 @@ const Qe = /* @__PURE__ */ G(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1616
1618
  }, [
1617
1619
  k.readOnly ? void 0 : {
1618
1620
  name: "footer",
1619
- fn: h(() => [
1621
+ fn: b(() => [
1620
1622
  N((t(), V(K, {
1621
1623
  icon: "plus",
1622
1624
  onClick: ne
1623
1625
  }, {
1624
- default: h(() => [
1626
+ default: b(() => [
1625
1627
  W(C(e(q)("action.select", { capitalize: !0 })), 1)
1626
1628
  ]),
1627
1629
  _: 1
@@ -1746,7 +1748,7 @@ const Bo = /* @__PURE__ */ G(Io, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1746
1748
  return o[_] && $e(_, o[_]), T;
1747
1749
  }, f = J(() => o.validationErrors !== null ? o.validationErrors : d == null ? void 0 : d.validationErrors), A = $("formComponents") || {}, i = $("propertyComponents") || {}, M = $("omitFormHeader"), E = $("omitInputLabels"), X = $("innerInputLabel");
1748
1750
  u && $e(ze, u), $e("searchOnly", o.searchOnly);
1749
- const b = (_) => s.value ? Object.entries(s.value).filter(([T, U]) => !U.noForm && _([
1751
+ const h = (_) => s.value ? Object.entries(s.value).filter(([T, U]) => !U.noForm && _([
1750
1752
  T,
1751
1753
  U
1752
1754
  ])) : null, H = (_, T) => {
@@ -1755,7 +1757,7 @@ const Bo = /* @__PURE__ */ G(Io, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1755
1757
  return !0;
1756
1758
  const U = o.property && "properties" in o.property ? o.property.form : (Z = d == null ? void 0 : d.description) == null ? void 0 : Z.form;
1757
1759
  return !U || U.includes(_);
1758
- }, oe = b(([_, T]) => H(_, T)), ue = Le(), w = {}, ne = (_, T) => {
1760
+ }, oe = h(([_, T]) => H(_, T)), ue = Le(), w = {}, ne = (_, T) => {
1759
1761
  var R, re, j, se;
1760
1762
  const U = [], Z = ((re = (R = y.value) == null ? void 0 : R.fields) == null ? void 0 : re[_]) || ((se = (j = y.value) == null ? void 0 : j.fields) == null ? void 0 : se.$default);
1761
1763
  if (!T)
@@ -1807,7 +1809,7 @@ const Bo = /* @__PURE__ */ G(Io, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1807
1809
  I(_.$slots, "default", {}, void 0, !0),
1808
1810
  B("fieldset", jo, [
1809
1811
  (t(!0), l(P, null, D(e(oe), ([S, R]) => {
1810
- var re, j, se, ye, be, Ze, Pe, Ne, xe, et, tt, nt, ot, at;
1812
+ var re, j, se, ye, he, Ze, Pe, Ne, xe, et, tt, nt, ot, at;
1811
1813
  return t(), l("div", {
1812
1814
  key: `field-${S}`,
1813
1815
  style: ke(ne(S, R)),
@@ -1885,7 +1887,7 @@ const Bo = /* @__PURE__ */ G(Io, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1885
1887
  _.modelValue[S] = x;
1886
1888
  }
1887
1889
  }), {
1888
- default: h(() => [
1890
+ default: b(() => [
1889
1891
  B("option", zo, C(e(q)("yes")), 1),
1890
1892
  B("option", Fo, C(e(q)("no")), 1)
1891
1893
  ]),
@@ -1897,12 +1899,12 @@ const Bo = /* @__PURE__ */ G(Io, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1897
1899
  small: "",
1898
1900
  variant: "alt",
1899
1901
  icon: "plus",
1900
- disabled: !("inline" in R.items && R.items.inline) && (((ye = _.modelValue[S]) == null ? void 0 : ye.length) >= R.maxItems || fe((Ze = _.modelValue[S]) == null ? void 0 : Ze[((be = _.modelValue[S]) == null ? void 0 : be.length) - 1])),
1902
+ disabled: !("inline" in R.items && R.items.inline) && (((ye = _.modelValue[S]) == null ? void 0 : ye.length) >= R.maxItems || fe((Ze = _.modelValue[S]) == null ? void 0 : Ze[((he = _.modelValue[S]) == null ? void 0 : he.length) - 1])),
1901
1903
  onClick: Re((x) => {
1902
1904
  _.modelValue[S] || (_.modelValue[S] = []), e(So)(_.modelValue[S], R, e(n));
1903
1905
  }, ["prevent"])
1904
1906
  }, {
1905
- default: h(() => [
1907
+ default: b(() => [
1906
1908
  W(C(e(q)("action.add", { capitalize: !0 })), 1)
1907
1909
  ]),
1908
1910
  _: 2
@@ -1921,7 +1923,7 @@ const Bo = /* @__PURE__ */ G(Io, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1921
1923
  class: "form__array-remove",
1922
1924
  onClick: Re((Te) => e(wo)(_.modelValue[S], we), ["prevent"])
1923
1925
  }, {
1924
- default: h(() => [
1926
+ default: b(() => [
1925
1927
  W(C(e(q)("action.remove", { capitalize: !0 })), 1)
1926
1928
  ]),
1927
1929
  _: 2
@@ -2008,7 +2010,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2008
2010
  onClose: d[2] || (d[2] = (v) => n("update:modelValue", !1)),
2009
2011
  onOverlayClick: d[3] || (d[3] = (v) => n("update:modelValue", !1))
2010
2012
  }, {
2011
- footer: h(() => [
2013
+ footer: b(() => [
2012
2014
  e(o).filtersCount > 0 ? (t(), V(pe, {
2013
2015
  key: 0,
2014
2016
  variant: "transparent",
@@ -2016,10 +2018,10 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2016
2018
  e(o).$actions.clearFilters(), u(), n("update:modelValue", !1);
2017
2019
  })
2018
2020
  }, {
2019
- default: h(() => [
2021
+ default: b(() => [
2020
2022
  W(C(m.t("action.clear", { capitalize: !0 })) + " ", 1),
2021
2023
  L(Ve, null, {
2022
- default: h(() => [
2024
+ default: b(() => [
2023
2025
  W(C(e(o).filtersCount), 1)
2024
2026
  ]),
2025
2027
  _: 1
@@ -2033,13 +2035,13 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2033
2035
  disabled: !e(o).hasActiveFilters,
2034
2036
  onClick: u
2035
2037
  }, {
2036
- default: h(() => [
2038
+ default: b(() => [
2037
2039
  W(C(m.t("action.filter", { capitalize: !0 })), 1)
2038
2040
  ]),
2039
2041
  _: 1
2040
2042
  }, 8, ["disabled"])
2041
2043
  ]),
2042
- default: h(() => [
2044
+ default: b(() => [
2043
2045
  L(De, z({
2044
2046
  modelValue: e(o).filters,
2045
2047
  "onUpdate:modelValue": d[0] || (d[0] = (v) => e(o).filters = v)
@@ -2114,7 +2116,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2114
2116
  float: $.float,
2115
2117
  fixedRight: $.fixedRight
2116
2118
  }, { onOverlayClick: s }), _e({
2117
- extra: h(() => [
2119
+ extra: b(() => [
2118
2120
  $.individualActions ? (t(), V(Ie, z({ key: 0 }, {
2119
2121
  subject: e(u).item,
2120
2122
  actions: $.individualActions.filter(({ action: i }) => i !== "spawnEdit"),
@@ -2122,7 +2124,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2122
2124
  }, {
2123
2125
  onActionClick: f[2] || (f[2] = (i) => o("update:visible", !1))
2124
2126
  }), {
2125
- default: h(({
2127
+ default: b(({
2126
2128
  visible: i
2127
2129
  }) => [
2128
2130
  e(u).item._id ? N((t(), V(K, {
@@ -2137,7 +2139,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2137
2139
  _: 1
2138
2140
  }, 16)) : g("", !0)
2139
2141
  ]),
2140
- default: h(() => [
2142
+ default: b(() => [
2141
2143
  L(De, z({
2142
2144
  modelValue: e(u).item,
2143
2145
  "onUpdate:modelValue": f[0] || (f[0] = (i) => e(u).item = i)
@@ -2155,7 +2157,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2155
2157
  }), _e({ _: 2 }, [
2156
2158
  D(Object.keys($.$slots).filter((i) => i.startsWith("field-")), (i) => ({
2157
2159
  name: i,
2158
- fn: h((M) => [
2160
+ fn: b((M) => [
2159
2161
  I($.$slots, i, de(Ce(M)))
2160
2162
  ])
2161
2163
  }))
@@ -2165,20 +2167,20 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2165
2167
  }, [
2166
2168
  $.$slots.header ? {
2167
2169
  name: "header",
2168
- fn: h(() => [
2170
+ fn: b(() => [
2169
2171
  I($.$slots, "header")
2170
2172
  ]),
2171
2173
  key: "0"
2172
2174
  } : void 0,
2173
2175
  $.readOnly ? void 0 : {
2174
2176
  name: "footer",
2175
- fn: h(() => [
2177
+ fn: b(() => [
2176
2178
  $.float || $.fixedRight ? (t(), V(pe, {
2177
2179
  key: 0,
2178
2180
  variant: "transparent",
2179
2181
  onClick: s
2180
2182
  }, {
2181
- default: h(() => [
2183
+ default: b(() => [
2182
2184
  W(C(e(v)("action.cancel", { capitalize: !0 })), 1)
2183
2185
  ]),
2184
2186
  _: 1
@@ -2189,7 +2191,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2189
2191
  loading: e(u).loading.insert,
2190
2192
  onClick: d
2191
2193
  }, {
2192
- default: h(() => [
2194
+ default: b(() => [
2193
2195
  W(C(e(v)("action.insert", { capitalize: !0 })), 1)
2194
2196
  ]),
2195
2197
  _: 1
@@ -2200,7 +2202,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2200
2202
  ]), 1040);
2201
2203
  };
2202
2204
  }
2203
- }), bt = (p, r) => {
2205
+ }), ht = (p, r) => {
2204
2206
  if (r) {
2205
2207
  if (!p) {
2206
2208
  r.filtersPreset = {}, r.preferredTableProperties = [], r.pagination.offset = 0;
@@ -2216,7 +2218,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2216
2218
  if (p) {
2217
2219
  if (p.description.filtersPresets) {
2218
2220
  const c = a || Object.keys(p.description.filtersPresets)[0];
2219
- bt(p.description.filtersPresets[c], p);
2221
+ ht(p.description.filtersPresets[c], p);
2220
2222
  }
2221
2223
  if (r.persistInQuery) {
2222
2224
  const c = o.value.query;
@@ -2241,7 +2243,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2241
2243
  }, ua = {
2242
2244
  key: 1,
2243
2245
  class: "table__cell-container"
2244
- }, ca = { class: "table__cell-grid" }, da = { key: 0 }, pa = { key: 1 }, _a = { key: 0 }, ma = ["href"], fa = { key: 3 }, va = { key: 1 }, ya = { key: 2 }, ha = { key: 0 }, ba = { key: 1 }, ga = { key: 2 }, $a = {
2246
+ }, ca = { class: "table__cell-grid" }, da = { key: 0 }, pa = { key: 1 }, _a = { key: 0 }, ma = ["href"], fa = { key: 3 }, va = { key: 1 }, ya = { key: 2 }, ba = { key: 0 }, ha = { key: 1 }, ga = { key: 2 }, $a = {
2245
2247
  key: 1,
2246
2248
  class: "no-print"
2247
2249
  }, ka = { class: "table__cell-actions" }, Va = {
@@ -2311,30 +2313,30 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2311
2313
  B("input", {
2312
2314
  type: "checkbox",
2313
2315
  checked: e(u).selected.length > 0 && e(u).selected.length === e(u).itemsCount,
2314
- onChange: A[0] || (A[0] = (b) => e(u).$actions.selectAllItems(b.target.checked))
2316
+ onChange: A[0] || (A[0] = (h) => e(u).$actions.selectAllItems(h.target.checked))
2315
2317
  }, null, 40, ea)
2316
2318
  ])) : g("", !0),
2317
- (t(!0), l(P, null, D(Object.entries(f.columns), ([b, H], oe) => (t(), l("th", {
2319
+ (t(!0), l(P, null, D(Object.entries(f.columns), ([h, H], oe) => (t(), l("th", {
2318
2320
  key: `header-${oe}`,
2319
2321
  class: "table__header"
2320
- }, C(H.description || e(q)(b)), 1))), 128)),
2322
+ }, C(H.description || e(q)(h)), 1))), 128)),
2321
2323
  (M = f.actions) != null && M.length ? (t(), l("th", ta)) : g("", !0)
2322
2324
  ])
2323
2325
  ])),
2324
2326
  f.$slots.tbody ? (t(), l("tbody", na, [
2325
2327
  I(f.$slots, "tbody", {}, void 0, !0)
2326
2328
  ])) : (t(), l("tbody", oa, [
2327
- (t(!0), l(P, null, D(f.rows, (b, H) => {
2329
+ (t(!0), l(P, null, D(f.rows, (h, H) => {
2328
2330
  var oe, ue;
2329
2331
  return t(), l("tr", {
2330
- key: b._id,
2331
- onClick: (w) => o("itemClick", b)
2332
+ key: h._id,
2333
+ onClick: (w) => o("itemClick", h)
2332
2334
  }, [
2333
2335
  e(u) && f.checkbox && e(a).md ? (t(), l("td", la, [
2334
2336
  N(B("input", {
2335
2337
  "onUpdate:modelValue": A[1] || (A[1] = (w) => m.value = w),
2336
2338
  type: "checkbox",
2337
- value: b._id
2339
+ value: h._id
2338
2340
  }, null, 8, sa), [
2339
2341
  [kt, m.value]
2340
2342
  ])
@@ -2342,7 +2344,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2342
2344
  (t(!0), l(P, null, D(Object.entries(f.columns), ([w, ne], fe) => {
2343
2345
  var le, O, k;
2344
2346
  return t(), l("td", {
2345
- key: `column-${b._id}-${fe}`
2347
+ key: `column-${h._id}-${fe}`
2346
2348
  }, [
2347
2349
  B("div", ia, C(ne.description || e(q)(w)), 1),
2348
2350
  `row-${w}` in f.$slots ? (t(), l("div", ra, [
@@ -2350,18 +2352,18 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2350
2352
  store: e(u),
2351
2353
  column: w,
2352
2354
  property: ne,
2353
- row: b,
2355
+ row: h,
2354
2356
  rowIndex: H
2355
2357
  }), void 0, !0)
2356
2358
  ])) : (t(), l("div", ua, [
2357
2359
  B("div", ca, [
2358
2360
  "type" in ne && ne.type === "boolean" ? (t(), l("div", da, [
2359
- b[w] ? (t(), V(K, {
2361
+ h[w] ? (t(), V(K, {
2360
2362
  key: 0,
2361
2363
  icon: "check",
2362
2364
  "icon-classes": "aeria-blueish"
2363
2365
  }, {
2364
- default: h(() => [
2366
+ default: b(() => [
2365
2367
  W(C(e(q)("yes")), 1)
2366
2368
  ]),
2367
2369
  _: 1
@@ -2370,47 +2372,47 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2370
2372
  icon: "x",
2371
2373
  "icon-classes": "aeria-redish"
2372
2374
  }, {
2373
- default: h(() => [
2375
+ default: b(() => [
2374
2376
  W(C(e(q)("no")), 1)
2375
2377
  ]),
2376
2378
  _: 1
2377
2379
  }))
2378
2380
  ])) : ((le = e(me)(ne)) == null ? void 0 : le.$ref) === "file" ? (t(), l("div", pa, [
2379
- b[w] ? (t(), l("div", _a, [
2380
- "items" in ne && b[w][0] && /^image/.test(b[w][0].type) ? (t(), V(Ue, {
2381
+ h[w] ? (t(), l("div", _a, [
2382
+ "items" in ne && h[w][0] && /^image/.test(h[w][0].type) ? (t(), V(Ue, {
2381
2383
  key: 0,
2382
- modelValue: b[w][0].link,
2383
- "onUpdate:modelValue": (Q) => b[w][0].link = Q,
2384
+ modelValue: h[w][0].link,
2385
+ "onUpdate:modelValue": (Q) => h[w][0].link = Q,
2384
2386
  expandable: "",
2385
- meta: b[w][0],
2387
+ meta: h[w][0],
2386
2388
  alt: "Row image",
2387
2389
  class: "table__picture"
2388
- }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test(b[w].type) ? (t(), V(Ue, {
2390
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test(h[w].type) ? (t(), V(Ue, {
2389
2391
  key: 1,
2390
- modelValue: b[w].link,
2391
- "onUpdate:modelValue": (Q) => b[w].link = Q,
2392
+ modelValue: h[w].link,
2393
+ "onUpdate:modelValue": (Q) => h[w].link = Q,
2392
2394
  expandable: "",
2393
- meta: b[w],
2395
+ meta: h[w],
2394
2396
  alt: "Row image",
2395
2397
  class: "table__picture"
2396
- }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : b[w].link ? (t(), l("a", {
2398
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : h[w].link ? (t(), l("a", {
2397
2399
  key: 2,
2398
- href: b[w].link,
2400
+ href: h[w].link,
2399
2401
  style: { "font-size": "10pt" }
2400
- }, C(b[w].filename), 9, ma)) : (t(), l("div", fa, " - "))
2402
+ }, C(h[w].filename), 9, ma)) : (t(), l("div", fa, " - "))
2401
2403
  ])) : (t(), l("div", va, " - "))
2402
2404
  ])) : (t(), l("div", ya, [
2403
- e(u) ? (t(), l("span", ha, C(e(u).$actions.formatValue({
2404
- value: b[w],
2405
+ e(u) ? (t(), l("span", ba, C(e(u).$actions.formatValue({
2406
+ value: h[w],
2405
2407
  key: w,
2406
2408
  property: ne
2407
- })), 1)) : (t(), l("span", ba, C(Array.isArray(b[w]) ? b[w].filter((Q) => !!Q).join(", ") : [void 0, null].includes(b[w]) ? "-" : b[w]), 1)),
2409
+ })), 1)) : (t(), l("span", ha, C(Array.isArray(h[w]) ? h[w].filter((Q) => !!Q).join(", ") : [void 0, null].includes(h[w]) ? "-" : h[w]), 1)),
2408
2410
  ((k = (O = e(me)(ne)) == null ? void 0 : O.indexes) == null ? void 0 : k.length) > 1 ? (t(), l("div", ga, [
2409
2411
  (t(!0), l(P, null, D(e(me)(ne).indexes.slice(1, 2), (Q, ae) => (t(), l("div", {
2410
2412
  key: `subvalue-${ae}`,
2411
2413
  class: "table__cell-subvalue"
2412
2414
  }, C(e(u).$actions.formatValue({
2413
- value: b[w],
2415
+ value: h[w],
2414
2416
  key: w,
2415
2417
  property: ne,
2416
2418
  index: Q
@@ -2423,27 +2425,27 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2423
2425
  }), 128)),
2424
2426
  (oe = f.actions) != null && oe.length && e(a).md ? (t(), l("td", $a, [
2425
2427
  B("div", ka, [
2426
- (t(!0), l(P, null, D(s(b), (w) => (t(), V(pe, {
2428
+ (t(!0), l(P, null, D(s(h), (w) => (t(), V(pe, {
2427
2429
  key: `action-${w.action}`,
2428
2430
  small: "",
2429
2431
  variant: "alt",
2430
2432
  icon: w.icon,
2431
- style: ke($(b, w)),
2432
- onClick: (ne) => w.click(b)
2433
+ style: ke($(h, w)),
2434
+ onClick: (ne) => w.click(h)
2433
2435
  }, {
2434
- default: h(() => [
2436
+ default: b(() => [
2435
2437
  W(C(e(q)(w.label)), 1)
2436
2438
  ]),
2437
2439
  _: 2
2438
2440
  }, 1032, ["icon", "style", "onClick"]))), 128)),
2439
- y(b).length > 0 ? (t(), V(Ie, z({
2441
+ y(h).length > 0 ? (t(), V(Ie, z({
2440
2442
  key: 0,
2441
2443
  ref_for: !0
2442
2444
  }, {
2443
- subject: b,
2444
- actions: y(b)
2445
+ subject: h,
2446
+ actions: y(h)
2445
2447
  }), {
2446
- default: h(({
2448
+ default: b(({
2447
2449
  visible: w
2448
2450
  }) => [
2449
2451
  N(L(K, {
@@ -2460,18 +2462,18 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2460
2462
  ])) : (ue = f.actions) != null && ue.length ? (t(), l("td", Va, [
2461
2463
  B("div", {
2462
2464
  class: "table__mobile-actions-grid",
2463
- style: ke(`grid-template-columns: repeat(${s(b).length + (y(b).length ? 1 : 0)}, 1fr);`)
2465
+ style: ke(`grid-template-columns: repeat(${s(h).length + (y(h).length ? 1 : 0)}, 1fr);`)
2464
2466
  }, [
2465
- (t(!0), l(P, null, D(s(b), (w) => (t(), V(he, {
2467
+ (t(!0), l(P, null, D(s(h), (w) => (t(), V(be, {
2466
2468
  key: `action-${w.action}`,
2467
2469
  class: "table__mobile-actions-button",
2468
- onClick: (ne) => w.click(b)
2470
+ onClick: (ne) => w.click(h)
2469
2471
  }, {
2470
- default: h(() => [
2472
+ default: b(() => [
2471
2473
  L(K, {
2472
2474
  icon: w.icon || "gear"
2473
2475
  }, {
2474
- default: h(() => [
2476
+ default: b(() => [
2475
2477
  W(C(e(q)(w.label)), 1)
2476
2478
  ]),
2477
2479
  _: 2
@@ -2479,14 +2481,14 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2479
2481
  ]),
2480
2482
  _: 2
2481
2483
  }, 1032, ["onClick"]))), 128)),
2482
- y(b).length > 0 ? (t(), V(Ie, z({
2484
+ y(h).length > 0 ? (t(), V(Ie, z({
2483
2485
  key: 0,
2484
2486
  ref_for: !0
2485
2487
  }, {
2486
- subject: b,
2487
- actions: y(b)
2488
+ subject: h,
2489
+ actions: y(h)
2488
2490
  }), {
2489
- default: h(() => [
2491
+ default: b(() => [
2490
2492
  L(K, {
2491
2493
  icon: "dots-three",
2492
2494
  class: "table__mobile-actions-button"
@@ -2496,7 +2498,7 @@ const De = /* @__PURE__ */ G(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2496
2498
  }, 1040)) : g("", !0)
2497
2499
  ], 4),
2498
2500
  B("div", {
2499
- id: `dropdown-${b._id}`
2501
+ id: `dropdown-${h._id}`
2500
2502
  }, null, 8, Ca)
2501
2503
  ])) : g("", !0)
2502
2504
  ], 8, aa);
@@ -2541,7 +2543,7 @@ const Sa = /* @__PURE__ */ G(Ba, [["__scopeId", "data-v-e01a149a"]]), wa = /* @_
2541
2543
  }), _e({ _: 2 }, [
2542
2544
  D(Object.keys(c.$slots).filter((m) => !["inner"].includes(m)), (m) => ({
2543
2545
  name: m,
2544
- fn: h((d) => [
2546
+ fn: b((d) => [
2545
2547
  I(c.$slots, m, de(Ce(d)))
2546
2548
  ])
2547
2549
  }))
@@ -2585,13 +2587,13 @@ const ja = /* @__PURE__ */ G(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2585
2587
  return t(), V(ja, {
2586
2588
  list: c.componentName === "list"
2587
2589
  }, {
2588
- default: h(() => [
2590
+ default: b(() => [
2589
2591
  (t(!0), l(P, null, D(e(o).items, (d) => (t(), V(sn, {
2590
2592
  key: d._id,
2591
2593
  inactive: !!(e(n).active && !d[e(n).active]),
2592
2594
  horizontal: c.componentName === "list"
2593
2595
  }, _e({
2594
- footer: h(() => [
2596
+ footer: b(() => [
2595
2597
  e(n).title ? (t(), l("div", Ra, C(d[e(n).title]), 1)) : g("", !0),
2596
2598
  Array.isArray(e(n).information) ? (t(), l("div", qa, [
2597
2599
  (t(!0), l(P, null, D(e(n).information, (v) => (t(), l("div", {
@@ -2599,7 +2601,7 @@ const ja = /* @__PURE__ */ G(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2599
2601
  }, C(d[v]), 1))), 128))
2600
2602
  ])) : e(n).information ? (t(), l("div", La, C(d[e(n).information]), 1)) : g("", !0)
2601
2603
  ]),
2602
- actions: h(() => {
2604
+ actions: b(() => {
2603
2605
  var v;
2604
2606
  return [
2605
2607
  (v = c.individualActions) != null && v.length ? (t(), V(Ie, z({
@@ -2609,7 +2611,7 @@ const ja = /* @__PURE__ */ G(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2609
2611
  subject: d,
2610
2612
  actions: c.individualActions
2611
2613
  }), {
2612
- default: h(({
2614
+ default: b(({
2613
2615
  visible: s
2614
2616
  }) => [
2615
2617
  N(L(K, {
@@ -2624,7 +2626,7 @@ const ja = /* @__PURE__ */ G(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2624
2626
  }, 1040)) : g("", !0)
2625
2627
  ];
2626
2628
  }),
2627
- default: h(() => {
2629
+ default: b(() => {
2628
2630
  var v, s;
2629
2631
  return [
2630
2632
  L(Ue, z({
@@ -2642,12 +2644,12 @@ const ja = /* @__PURE__ */ G(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2642
2644
  }, [
2643
2645
  e(n).badge && Array.isArray(d[e(n).badge]) ? {
2644
2646
  name: "badge",
2645
- fn: h(() => [
2647
+ fn: b(() => [
2646
2648
  (t(!0), l(P, null, D(d[e(n).badge], (v) => (t(), V(Ve, {
2647
2649
  key: `${d._id}-${v}`,
2648
2650
  large: ""
2649
2651
  }, {
2650
- default: h(() => [
2652
+ default: b(() => [
2651
2653
  W(C(e(n).translateBadge ? e(q)(v) : v), 1)
2652
2654
  ]),
2653
2655
  _: 2
@@ -2656,9 +2658,9 @@ const ja = /* @__PURE__ */ G(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2656
2658
  key: "0"
2657
2659
  } : e(n).badge ? {
2658
2660
  name: "badge",
2659
- fn: h(() => [
2661
+ fn: b(() => [
2660
2662
  L(Ve, null, {
2661
- default: h(() => [
2663
+ default: b(() => [
2662
2664
  W(C(e(n).translateBadge ? e(q)(d[e(n).badge]) : d[e(n).badge]), 1)
2663
2665
  ]),
2664
2666
  _: 2
@@ -2702,7 +2704,7 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2702
2704
  },
2703
2705
  emits: ["uiEvent"],
2704
2706
  setup(p, { emit: r }) {
2705
- const n = ee(!1), o = ee(!1), a = ee((...O) => null), c = ee(), u = p, m = r, d = Be(), v = ht({
2707
+ const n = ee(!1), o = ee(!1), a = ee((...O) => null), c = ee(), u = p, m = r, d = Be(), v = bt({
2706
2708
  delay: 600
2707
2709
  }), s = ie("meta"), y = Le(), { reachedEnd: $, detach: f } = Ke(null, {
2708
2710
  antecipate: 600
@@ -2716,7 +2718,7 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2716
2718
  });
2717
2719
  const M = Xe(), E = u.action ? e(u.action) : Lt(i, d, M);
2718
2720
  a.value = E[0], c.value = E[1];
2719
- const X = ee(0), b = ee(!1), H = async (O) => {
2721
+ const X = ee(0), h = ee(!1), H = async (O) => {
2720
2722
  i.activeFilters = Object.assign({}, (O == null ? void 0 : O.filters) || i.$filters), Object.assign(i.activeFilters, i.filtersPreset);
2721
2723
  const k = {
2722
2724
  filters: i.activeFilters,
@@ -2729,7 +2731,7 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2729
2731
  if (Q)
2730
2732
  return;
2731
2733
  const { data: _, pagination: T } = ae;
2732
- i.pagination.recordsCount = T.recordsCount, i.pagination.recordsTotal = T.recordsTotal, X.value === 0 && i.items.splice(0), i.items.push(..._), i.loading.getAll = !1, b.value = !0;
2734
+ i.pagination.recordsCount = T.recordsCount, i.pagination.recordsTotal = T.recordsTotal, X.value === 0 && i.items.splice(0), i.items.push(..._), i.loading.getAll = !1, h.value = !0;
2733
2735
  }, oe = async (O) => {
2734
2736
  d.push(qe(d.currentRoute.value, {
2735
2737
  query: {
@@ -2851,7 +2853,7 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2851
2853
  }, {
2852
2854
  onCancel: k[2] || (k[2] = (j) => n.value = !1)
2853
2855
  }), _e({
2854
- header: h(() => [
2856
+ header: b(() => [
2855
2857
  B("span", null, C((() => {
2856
2858
  switch (n.value) {
2857
2859
  case "add":
@@ -2869,7 +2871,7 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2869
2871
  }, [
2870
2872
  D(Object.keys(O.$slots).filter((j) => j.startsWith("field-")), (j) => ({
2871
2873
  name: j,
2872
- fn: h((se) => [
2874
+ fn: b((se) => [
2873
2875
  I(O.$slots, j, de(Ce(se)), void 0, !0)
2874
2876
  ])
2875
2877
  }))
@@ -2889,14 +2891,14 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2889
2891
  ])) : g("", !0),
2890
2892
  B("div", Ua, [
2891
2893
  le.value.length > 0 || !O.noLayoutToggle && e(i).description.layout && ((U = e(i).description.layout) == null ? void 0 : U.name) !== "tabular" ? (t(), V(Ie, { key: 0 }, _e({
2892
- default: h(() => [
2894
+ default: b(() => [
2893
2895
  L(pe, {
2894
2896
  variant: "alt",
2895
2897
  icon: "sliders"
2896
2898
  }, {
2897
- default: h(() => [
2899
+ default: b(() => [
2898
2900
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2899
- default: h(() => [
2901
+ default: b(() => [
2900
2902
  W(C(e(i).filtersCount), 1)
2901
2903
  ]),
2902
2904
  _: 1
@@ -2909,12 +2911,12 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2909
2911
  }, [
2910
2912
  Object.keys(e(i).availableFilters).length > 0 ? {
2911
2913
  name: "filter",
2912
- fn: h(() => [
2914
+ fn: b(() => [
2913
2915
  N((t(), V(K, {
2914
2916
  icon: "funnel",
2915
2917
  onClick: k[4] || (k[4] = (j) => o.value = !0)
2916
2918
  }, {
2917
- default: h(() => [
2919
+ default: b(() => [
2918
2920
  W(C(e(q)("filters", { capitalize: !0 })), 1)
2919
2921
  ]),
2920
2922
  _: 1
@@ -2923,7 +2925,7 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2923
2925
  ]),
2924
2926
  B("div", Ha, [
2925
2927
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2926
- default: h(() => [
2928
+ default: b(() => [
2927
2929
  W(C(e(i).filtersCount), 1)
2928
2930
  ]),
2929
2931
  _: 1
@@ -2934,12 +2936,12 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2934
2936
  } : void 0,
2935
2937
  !O.noLayoutToggle && e(i).description.layout && ((Z = e(i).description.layout) == null ? void 0 : Z.name) !== "tabular" ? {
2936
2938
  name: "layout-toggle",
2937
- fn: h(() => [
2939
+ fn: b(() => [
2938
2940
  N((t(), V(K, {
2939
2941
  icon: "table",
2940
2942
  onClick: k[5] || (k[5] = (j) => ne(e(i)))
2941
2943
  }, {
2942
- default: h(() => [
2944
+ default: b(() => [
2943
2945
  W(C(e(q)("change_layout", { capitalize: !0 })), 1)
2944
2946
  ]),
2945
2947
  _: 1
@@ -2951,14 +2953,14 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2951
2953
  } : void 0,
2952
2954
  D(le.value, (j, se) => ({
2953
2955
  name: `action-${se}`,
2954
- fn: h(() => [
2956
+ fn: b(() => [
2955
2957
  j ? (t(), V(K, {
2956
2958
  key: 0,
2957
2959
  icon: j.icon || "gear",
2958
2960
  disabled: e(i).selected.length === 0 && "selection" in j && j.selection,
2959
- onClick: (ye) => a.value(j)({ _id: e(i).selected.map((be) => typeof be == "string" || be._id) })
2961
+ onClick: (ye) => a.value(j)({ _id: e(i).selected.map((he) => typeof he == "string" || he._id) })
2960
2962
  }, {
2961
- default: h(() => [
2963
+ default: b(() => [
2962
2964
  W(C(e(q)(j.label, { capitalize: !0 })), 1)
2963
2965
  ]),
2964
2966
  _: 2
@@ -2971,10 +2973,10 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2971
2973
  icon: "funnel",
2972
2974
  onClick: k[6] || (k[6] = (j) => o.value = !0)
2973
2975
  }, {
2974
- default: h(() => [
2976
+ default: b(() => [
2975
2977
  k[8] || (k[8] = B("div", null, "Filtros", -1)),
2976
2978
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2977
- default: h(() => [
2979
+ default: b(() => [
2978
2980
  W(C(e(i).filtersCount), 1)
2979
2981
  ]),
2980
2982
  _: 1
@@ -2986,9 +2988,9 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2986
2988
  key: `action-${se}`,
2987
2989
  icon: j.icon,
2988
2990
  disabled: e(i).selected.length === 0 && "selection" in j && j.selection,
2989
- onClick: (ye) => a.value(j)({ _id: e(i).selected.map((be) => typeof be == "string" || be._id) })
2991
+ onClick: (ye) => a.value(j)({ _id: e(i).selected.map((he) => typeof he == "string" || he._id) })
2990
2992
  }, {
2991
- default: h(() => [
2993
+ default: b(() => [
2992
2994
  W(C(e(q)(j.label, { capitalize: !0 })), 1)
2993
2995
  ]),
2994
2996
  _: 2
@@ -2997,11 +2999,11 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
2997
2999
  ])
2998
3000
  ])) : g("", !0),
2999
3001
  N((t(), l("div", null, [
3000
- e(i).itemsCount === 0 && !e(i).loading.getAll && b.value && (e(ue) || O.$slots.empty) ? (t(), l("div", Da, [
3002
+ e(i).itemsCount === 0 && !e(i).loading.getAll && h.value && (e(ue) || O.$slots.empty) ? (t(), l("div", Da, [
3001
3003
  e(ue) ? (t(), V(ge(e(ue)), de(z({ key: 0 }, {
3002
3004
  collection: e(i).$id
3003
3005
  })), {
3004
- default: h(() => [
3006
+ default: b(() => [
3005
3007
  e(i).filtersCount === 0 && e(i).description.actions && "spawnAdd" in e(i).description.actions ? (t(), V(pe, {
3006
3008
  key: 0,
3007
3009
  icon: "plus",
@@ -3010,7 +3012,7 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
3010
3012
  event: "spawnAdd"
3011
3013
  })())
3012
3014
  }, {
3013
- default: h(() => [
3015
+ default: b(() => [
3014
3016
  W(C(e(q)("add_first_item", { capitalize: !0 })), 1)
3015
3017
  ]),
3016
3018
  _: 1
@@ -3031,13 +3033,13 @@ const mt = /* @__PURE__ */ G(Ma, [["__scopeId", "data-v-dd8f3bb7"]]), za = (p) =
3031
3033
  }), _e({ _: 2 }, [
3032
3034
  D(Object.keys(O.$slots).filter((j) => j.startsWith("row-")), (j) => ({
3033
3035
  name: j,
3034
- fn: h((se) => [
3036
+ fn: b((se) => [
3035
3037
  I(O.$slots, j, de(Ce(se)), void 0, !0)
3036
3038
  ])
3037
3039
  })),
3038
3040
  O.$slots.tfoot ? {
3039
3041
  name: "tfoot",
3040
- fn: h(() => [
3042
+ fn: b(() => [
3041
3043
  I(O.$slots, "tfoot", {}, void 0, !0)
3042
3044
  ]),
3043
3045
  key: "0"
@@ -3073,12 +3075,12 @@ const Il = /* @__PURE__ */ G(Ga, [["__scopeId", "data-v-d64cb42a"]]), Wa = { cla
3073
3075
  title: o.title,
3074
3076
  style: { "--panel-min-width": "32rem" }
3075
3077
  }, {
3076
- footer: h(() => [
3078
+ footer: b(() => [
3077
3079
  B("div", {
3078
3080
  class: "prompt__options",
3079
3081
  style: ke(`grid-template-columns: repeat(${Object.keys(o.options).length}, 1fr)`)
3080
3082
  }, [
3081
- (t(!0), l(P, null, D(Object.entries(o.options), ([c, u], m) => (t(), V(he, {
3083
+ (t(!0), l(P, null, D(Object.entries(o.options), ([c, u], m) => (t(), V(be, {
3082
3084
  key: `option-${m}`,
3083
3085
  class: Y([
3084
3086
  "prompt__option",
@@ -3086,14 +3088,14 @@ const Il = /* @__PURE__ */ G(Ga, [["__scopeId", "data-v-d64cb42a"]]), Wa = { cla
3086
3088
  ]),
3087
3089
  onClick: (d) => u.click ? u.click(c, u) : n(c, u)
3088
3090
  }, {
3089
- default: h(() => [
3091
+ default: b(() => [
3090
3092
  W(C(u.title), 1)
3091
3093
  ]),
3092
3094
  _: 2
3093
3095
  }, 1032, ["class", "onClick"]))), 128))
3094
3096
  ], 4)
3095
3097
  ]),
3096
- default: h(() => [
3098
+ default: b(() => [
3097
3099
  B("div", Wa, [
3098
3100
  I(o.$slots, "default", {}, void 0, !0)
3099
3101
  ])
@@ -3151,13 +3153,13 @@ const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-606d47bf"]]), Na = ["inn
3151
3153
  ])
3152
3154
  }, [
3153
3155
  (t(), V(Ot, null, {
3154
- default: h(() => [
3156
+ default: b(() => [
3155
3157
  L(c, null, {
3156
- default: h(({ Component: u }) => [
3158
+ default: b(({ Component: u }) => [
3157
3159
  (t(), V(ge(u), null, _e({ _: 2 }, [
3158
3160
  D(Object.keys(o.$slots), (m) => ({
3159
3161
  name: m,
3160
- fn: h(() => [
3162
+ fn: b(() => [
3161
3163
  I(o.$slots, m, {}, void 0, !0)
3162
3164
  ])
3163
3165
  }))
@@ -3178,7 +3180,7 @@ const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-606d47bf"]]), Na = ["inn
3178
3180
  "overlay-layer": 70,
3179
3181
  onOverlayClick: a[1] || (a[1] = (u) => e(r).modal.visible = !1)
3180
3182
  }), {
3181
- default: h(() => [
3183
+ default: b(() => [
3182
3184
  e(r).modal.body ? (t(), l("div", {
3183
3185
  key: 0,
3184
3186
  style: { "white-space": "pre-wrap" },
@@ -3189,7 +3191,7 @@ const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-606d47bf"]]), Na = ["inn
3189
3191
  _: 1
3190
3192
  }, 16, ["modelValue"]),
3191
3193
  e(r).prompt.visible ? (t(), V(Ka, de(z({ key: 0 }, e(r).prompt)), {
3192
- default: h(() => [
3194
+ default: b(() => [
3193
3195
  W(C(e(r).prompt.body), 1)
3194
3196
  ]),
3195
3197
  _: 1
@@ -3198,7 +3200,7 @@ const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-606d47bf"]]), Na = ["inn
3198
3200
  (t(!0), l(P, null, D(e(r).toasts, (u) => (t(), V(Pa, z({ ref_for: !0 }, u, {
3199
3201
  key: `toast-${u.itr}`
3200
3202
  }), {
3201
- default: h(() => [
3203
+ default: b(() => [
3202
3204
  B("div", {
3203
3205
  innerHTML: e(q)(u.text)
3204
3206
  }, null, 8, el)
@@ -3280,7 +3282,7 @@ const Sl = /* @__PURE__ */ G(nl, [["render", al], ["__scopeId", "data-v-3cfef7fb
3280
3282
  ], 10, rl))), 128))
3281
3283
  ])) : (t(), l("div", ul, [
3282
3284
  L(Ie, null, _e({
3283
- default: h(({ visible: s }) => [
3285
+ default: b(({ visible: s }) => [
3284
3286
  N((t(), V(K, {
3285
3287
  "icon-right": "",
3286
3288
  active: s,
@@ -3288,7 +3290,7 @@ const Sl = /* @__PURE__ */ G(nl, [["render", al], ["__scopeId", "data-v-3cfef7fb
3288
3290
  style: { "--icon-color": "var(--theme-brand-color-shade-1)" },
3289
3291
  class: "tabs__context-menu-icon"
3290
3292
  }, {
3291
- default: h(() => [
3293
+ default: b(() => [
3292
3294
  I(m.$slots, c.value, {}, void 0, !0)
3293
3295
  ]),
3294
3296
  _: 2
@@ -3300,7 +3302,7 @@ const Sl = /* @__PURE__ */ G(nl, [["render", al], ["__scopeId", "data-v-3cfef7fb
3300
3302
  }, [
3301
3303
  D(Object.keys(m.$slots).filter((s) => s !== "default"), (s) => ({
3302
3304
  name: s,
3303
- fn: h(() => [
3305
+ fn: b(() => [
3304
3306
  B("div", {
3305
3307
  onClick: (y) => u(s)
3306
3308
  }, [
@@ -3344,22 +3346,22 @@ const pl = /* @__PURE__ */ G(dl, [["__scopeId", "data-v-a20914ab"]]), _l = F({
3344
3346
  }, _e({ _: 2 }, [
3345
3347
  D(Object.entries(c.value.description.filtersPresets), ([v, s]) => ({
3346
3348
  name: v,
3347
- fn: h(() => [
3349
+ fn: b(() => [
3348
3350
  B("div", {
3349
3351
  class: "topbar__preset",
3350
- onClick: (y) => e(bt)(s, c.value)
3352
+ onClick: (y) => e(ht)(s, c.value)
3351
3353
  }, [
3352
3354
  s.icon ? (t(), V(K, {
3353
3355
  key: 0,
3354
3356
  icon: s.icon
3355
3357
  }, {
3356
- default: h(() => [
3358
+ default: b(() => [
3357
3359
  W(C(s.label || e(q)(v, { plural: !0 })), 1)
3358
3360
  ]),
3359
3361
  _: 2
3360
3362
  }, 1032, ["icon"])) : (t(), l("div", fl, C(s.label || e(q)(v, { plural: !0 })), 1)),
3361
3363
  s.badgeFunction ? (t(), V(Ve, { key: 2 }, {
3362
- default: h(() => [
3364
+ default: b(() => [
3363
3365
  L(e(_l), {
3364
3366
  "initial-value": "0",
3365
3367
  promise: u(s, c.value)
@@ -3373,7 +3375,7 @@ const pl = /* @__PURE__ */ G(dl, [["__scopeId", "data-v-a20914ab"]]), _l = F({
3373
3375
  ]), 1024)) : g("", !0);
3374
3376
  }
3375
3377
  });
3376
- const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3378
+ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3377
3379
  __proto__: null,
3378
3380
  default: yl
3379
3381
  }, Symbol.toStringTag, { value: "Module" })), wl = /* @__PURE__ */ F({
@@ -3405,7 +3407,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3405
3407
  "model-value": a.modelValue,
3406
3408
  "onUpdate:modelValue": c[0] || (c[0] = (u) => a.$emit("update:modelValue", u))
3407
3409
  }, {
3408
- after: h(() => [
3410
+ after: b(() => [
3409
3411
  B("div", null, C(o.value || "Senhas conferem"), 1),
3410
3412
  I(a.$slots, "default", de(Ce({ passwordError: o.value })))
3411
3413
  ]),
@@ -3430,7 +3432,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3430
3432
  {
3431
3433
  path: "signin",
3432
3434
  name: "/user/signin",
3433
- component: () => import("./signin-e3316c61.js"),
3435
+ component: () => import("./signin-466c153d.js"),
3434
3436
  meta: {
3435
3437
  title: "Sign in"
3436
3438
  }
@@ -3438,7 +3440,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3438
3440
  {
3439
3441
  path: "signup",
3440
3442
  name: "/user/signup",
3441
- component: () => import("./signup-8e5b7097.js"),
3443
+ component: () => import("./signup-b5f7c7cb.js"),
3442
3444
  meta: {
3443
3445
  title: "Sign up"
3444
3446
  }
@@ -3446,7 +3448,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3446
3448
  {
3447
3449
  path: "redefine-password",
3448
3450
  name: "/user/redefine-password",
3449
- component: () => import("./redefine-password-e7f36391.js"),
3451
+ component: () => import("./redefine-password-9c1f1202.js"),
3450
3452
  meta: {
3451
3453
  title: "Redefine password"
3452
3454
  }
@@ -3454,7 +3456,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3454
3456
  {
3455
3457
  path: "activation",
3456
3458
  name: "/user/activation",
3457
- component: () => import("./activation-7d4bb962.js"),
3459
+ component: () => import("./activation-c67694fb.js"),
3458
3460
  meta: {
3459
3461
  title: "Activate user"
3460
3462
  }
@@ -3476,8 +3478,8 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3476
3478
  name: "/dashboard/:collection",
3477
3479
  props: !0,
3478
3480
  components: {
3479
- default: () => import("./index-62f696fb.js"),
3480
- topbar: () => Promise.resolve().then(() => hl)
3481
+ default: () => import("./index-f74dbcac.js"),
3482
+ topbar: () => Promise.resolve().then(() => bl)
3481
3483
  },
3482
3484
  meta: {
3483
3485
  title: ({ collectionName: n, t: o }) => o(n, {
@@ -3490,7 +3492,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3490
3492
  name: "/dashboard/:collection/:id",
3491
3493
  props: !0,
3492
3494
  components: {
3493
- default: () => import("./_id_-56a7ae89.js")
3495
+ default: () => import("./_id_-ceb07ba3.js")
3494
3496
  },
3495
3497
  meta: {
3496
3498
  title: ({ collectionName: n, t: o }) => o(n, {
@@ -3510,7 +3512,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3510
3512
  children: [
3511
3513
  {
3512
3514
  path: "profile",
3513
- component: () => import("./index-8083c669.js"),
3515
+ component: () => import("./index-629e6cbc.js"),
3514
3516
  meta: {
3515
3517
  title: "User profile",
3516
3518
  icon: "user-square"
@@ -3519,7 +3521,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-f0a45677"]]), hl = /* @_
3519
3521
  {
3520
3522
  path: "changepass",
3521
3523
  name: "/dashboard/user/changepass",
3522
- component: () => import("./index-757f86d1.js"),
3524
+ component: () => import("./index-d6818c5b.js"),
3523
3525
  meta: {
3524
3526
  title: "Change password",
3525
3527
  icon: "lock"
@@ -3550,12 +3552,12 @@ export {
3550
3552
  Se as i,
3551
3553
  Al as j,
3552
3554
  Ve as k,
3553
- he as l,
3555
+ be as l,
3554
3556
  sn as m,
3555
3557
  Ie as n,
3556
3558
  ja as o,
3557
3559
  Ko as p,
3558
- hn as q,
3560
+ bn as q,
3559
3561
  Bl as r,
3560
3562
  qn as s,
3561
3563
  Sa as t,