@aeria-ui/ui 0.0.162 → 0.0.164

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