@aeria-ui/ui 0.0.105 → 0.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as U, ref as Z, resolveDirective as te, openBlock as n, createElementBlock as s, normalizeClass as K, Fragment as x, renderList as Q, withDirectives as P, toDisplayString as V, createCommentVNode as y, createTextVNode as D, unref as e, renderSlot as C, inject as me, computed as X, createElementVNode as A, mergeProps as E, createBlock as k, withCtx as f, resolveDynamicComponent as be, useCssVars as Vt, normalizeProps as de, guardReactiveProps as ge, Teleport as Ke, onMounted as Xe, watch as ue, createVNode as q, withModifiers as qe, vModelDynamic as Ct, onBeforeMount as bt, normalizeStyle as he, provide as ye, createSlots as ce, vModelCheckbox as Ot, onUnmounted as It, isRef as pt, resolveComponent as At, Suspense as Bt, useSlots as wt, h as St } from "vue";
1
+ import { defineComponent as F, ref as Z, resolveDirective as te, openBlock as n, createElementBlock as s, normalizeClass as K, Fragment as N, renderList as Q, withDirectives as P, toDisplayString as V, createCommentVNode as b, createTextVNode as D, unref as e, renderSlot as C, inject as me, computed as X, createElementVNode as A, mergeProps as E, createBlock as k, withCtx as f, resolveDynamicComponent as be, useCssVars as Vt, normalizeProps as de, guardReactiveProps as ge, Teleport as Ke, onMounted as Xe, watch as ue, createVNode as q, withModifiers as qe, vModelDynamic as Ct, onBeforeMount as bt, normalizeStyle as he, provide as ye, createSlots as ce, vModelCheckbox as Ot, onUnmounted as It, isRef as pt, resolveComponent as At, Suspense as Bt, useSlots as wt, h as St } from "vue";
2
2
  import { t as R, useI18n as Tt } from "@aeria-ui/i18n";
3
3
  import { arraysIntersect as ht, deepClone as Ce, getReferenceProperty as _e, freshItem as jt, isRequired as Rt, evaluateCondition as We, deepMerge as ze } from "@aeriajs/common";
4
4
  import { useStore as re, getStoreId as Me, useParentStore as De, STORE_ID as Fe, getGlobalStateManager as Ye } from "@aeria-ui/state-management";
@@ -8,7 +8,7 @@ import { convertConditionToQuery as Dt, isDocumentComplete as Qt, getObjectKey a
8
8
  const Wt = ["onClick"], Kt = { key: 0 }, Xt = {
9
9
  key: 0,
10
10
  class: "accordion__content"
11
- }, Yt = /* @__PURE__ */ U({
11
+ }, Yt = /* @__PURE__ */ F({
12
12
  __name: "aeria-accordion",
13
13
  props: {
14
14
  enumerate: { type: Boolean },
@@ -25,7 +25,7 @@ const Wt = ["onClick"], Kt = { key: 0 }, Xt = {
25
25
  "accordion--padded": !t.noPadding
26
26
  })
27
27
  }, [
28
- (n(!0), s(x, null, Q(Object.keys(t.$slots).filter((r) => r !== "default"), (r, m) => (n(), s("div", {
28
+ (n(!0), s(N, null, Q(Object.keys(t.$slots).filter((r) => r !== "default"), (r, m) => (n(), s("div", {
29
29
  key: r,
30
30
  class: "accordion__slot"
31
31
  }, [
@@ -33,14 +33,14 @@ const Wt = ["onClick"], Kt = { key: 0 }, Xt = {
33
33
  class: "accordion__header",
34
34
  onClick: (d) => u.value === r ? u.value = null : u.value = r
35
35
  }, [
36
- t.enumerate ? (n(), s("span", Kt, V(m + 1) + ". ", 1)) : y("", !0),
36
+ t.enumerate ? (n(), s("span", Kt, V(m + 1) + ". ", 1)) : b("", !0),
37
37
  D(" " + V(t.headers[r] ? a(t.headers[r]) : e(R)(r)), 1)
38
38
  ], 8, Wt)), [
39
39
  [c]
40
40
  ]),
41
41
  u.value === r ? (n(), s("div", Xt, [
42
42
  C(t.$slots, r, {}, void 0, !0)
43
- ])) : y("", !0)
43
+ ])) : b("", !0)
44
44
  ]))), 128))
45
45
  ], 2);
46
46
  };
@@ -51,7 +51,7 @@ const G = (p, u) => {
51
51
  for (const [t, o] of u)
52
52
  a[t] = o;
53
53
  return a;
54
- }, Il = /* @__PURE__ */ G(Yt, [["__scopeId", "data-v-3ea933d4"]]), Jt = /* @__PURE__ */ U({
54
+ }, Il = /* @__PURE__ */ G(Yt, [["__scopeId", "data-v-3ea933d4"]]), Jt = /* @__PURE__ */ F({
55
55
  __name: "aeria-badge",
56
56
  props: {
57
57
  large: { type: Boolean },
@@ -69,7 +69,7 @@ const G = (p, u) => {
69
69
  ], 2));
70
70
  }
71
71
  });
72
- const $e = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-47f92648"]]), Zt = /* @__PURE__ */ U({
72
+ const $e = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-47f92648"]]), Zt = /* @__PURE__ */ F({
73
73
  __name: "aeria-bare-button",
74
74
  props: {
75
75
  disabled: { type: Boolean }
@@ -93,7 +93,7 @@ const $e = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-47f92648"]]), Zt = /* @_
93
93
  const ve = /* @__PURE__ */ G(Zt, [["__scopeId", "data-v-35bc81ae"]]), Pt = ["href"], Nt = {
94
94
  key: 0,
95
95
  "data-component": "icon-label"
96
- }, xt = /* @__PURE__ */ U({
96
+ }, xt = /* @__PURE__ */ F({
97
97
  __name: "aeria-icon",
98
98
  props: {
99
99
  icon: {},
@@ -110,12 +110,12 @@ const ve = /* @__PURE__ */ G(Zt, [["__scopeId", "data-v-35bc81ae"]]), Pt = ["hre
110
110
  return (o = u.icon) != null && o.includes(":") ? u.icon : `regular:${u.icon}`;
111
111
  });
112
112
  return (o, c) => (n(), s("a", {
113
- class: K(`
114
- icon
115
- ${e(a) && "icon--reactive"}
116
- ${o.active && "icon--active"}
117
- ${o.$slots.default ? "icon--centered" : "icon--standalone"}
118
- `)
113
+ class: K([
114
+ "icon",
115
+ { "icon--reactive": e(a) },
116
+ { "icon--active": o.active },
117
+ o.$slots.default ? "icon--centered" : "icon--standalone"
118
+ ])
119
119
  }, [
120
120
  A("div", {
121
121
  class: K(`
@@ -139,14 +139,14 @@ const ve = /* @__PURE__ */ G(Zt, [["__scopeId", "data-v-35bc81ae"]]), Pt = ["hre
139
139
  ], 2),
140
140
  o.$slots.default ? (n(), s("div", Nt, [
141
141
  C(o.$slots, "default", {}, void 0, !0)
142
- ])) : y("", !0)
142
+ ])) : b("", !0)
143
143
  ], 2));
144
144
  }
145
145
  });
146
- const J = /* @__PURE__ */ G(xt, [["__scopeId", "data-v-6d36de33"]]), en = { class: "button__content" }, tn = {
146
+ const J = /* @__PURE__ */ G(xt, [["__scopeId", "data-v-e21fd6dc"]]), en = { class: "button__content" }, tn = {
147
147
  key: 1,
148
148
  class: "button__content"
149
- }, nn = /* @__PURE__ */ U({
149
+ }, nn = /* @__PURE__ */ F({
150
150
  __name: "aeria-button",
151
151
  props: {
152
152
  size: {},
@@ -195,7 +195,7 @@ const J = /* @__PURE__ */ G(xt, [["__scopeId", "data-v-6d36de33"]]), en = { clas
195
195
  }, 8, ["class", "disabled"]));
196
196
  }
197
197
  });
198
- const ie = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-c328251b"]]), on = { class: "card__picture" }, an = { class: "card__footer" }, ln = { class: "card__footer-upper" }, sn = { class: "card__badge" }, rn = /* @__PURE__ */ U({
198
+ const ie = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-c328251b"]]), on = { class: "card__picture" }, an = { class: "card__footer" }, ln = { class: "card__footer-upper" }, sn = { class: "card__badge" }, rn = /* @__PURE__ */ F({
199
199
  __name: "aeria-card",
200
200
  props: {
201
201
  inactive: { type: Boolean },
@@ -217,7 +217,7 @@ const ie = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-c328251b"]]), on = { cla
217
217
  A("div", null, [
218
218
  C(u.$slots, "footer", {}, void 0, !0)
219
219
  ]),
220
- u.$slots.actions ? C(u.$slots, "actions", { key: 0 }, void 0, !0) : y("", !0)
220
+ u.$slots.actions ? C(u.$slots, "actions", { key: 0 }, void 0, !0) : b("", !0)
221
221
  ]),
222
222
  A("div", sn, [
223
223
  C(u.$slots, "badge", {}, void 0, !0)
@@ -229,7 +229,7 @@ const ie = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-c328251b"]]), on = { cla
229
229
  const un = /* @__PURE__ */ G(rn, [["__scopeId", "data-v-c1a322df"]]), cn = { class: "panel__header-left" }, dn = { key: 1 }, pn = {
230
230
  key: 2,
231
231
  style: { "margin-left": "auto" }
232
- }, mn = /* @__PURE__ */ U({
232
+ }, mn = /* @__PURE__ */ F({
233
233
  __name: "aeria-panel",
234
234
  props: {
235
235
  closeHint: { type: Boolean, default: !1 },
@@ -294,10 +294,10 @@ const un = /* @__PURE__ */ G(rn, [["__scopeId", "data-v-c1a322df"]]), cn = { cla
294
294
  `)
295
295
  }, [
296
296
  A("div", cn, [
297
- i.$slots.header ? C(i.$slots, "header", { key: 0 }, void 0, !0) : i.title ? (n(), s("div", dn, V(i.title), 1)) : y("", !0),
297
+ i.$slots.header ? C(i.$slots, "header", { key: 0 }, void 0, !0) : i.title ? (n(), s("div", dn, V(i.title), 1)) : b("", !0),
298
298
  i.$slots.extra ? (n(), s("div", pn, [
299
299
  C(i.$slots, "extra", {}, void 0, !0)
300
- ])) : y("", !0)
300
+ ])) : b("", !0)
301
301
  ]),
302
302
  i.collapsible && o.value ? P((n(), k(J, {
303
303
  key: 0,
@@ -320,9 +320,9 @@ const un = /* @__PURE__ */ G(rn, [["__scopeId", "data-v-c1a322df"]]), cn = { cla
320
320
  onClick: m
321
321
  }, null, 512)), [
322
322
  [B]
323
- ]) : y("", !0)
324
- ], 2)) : y("", !0),
325
- o.value ? y("", !0) : P((n(), s("div", {
323
+ ]) : b("", !0)
324
+ ], 2)) : b("", !0),
325
+ o.value ? b("", !0) : P((n(), s("div", {
326
326
  key: 1,
327
327
  ref_key: "body",
328
328
  ref: c,
@@ -345,7 +345,7 @@ const un = /* @__PURE__ */ G(rn, [["__scopeId", "data-v-c1a322df"]]), cn = { cla
345
345
  `)
346
346
  }, [
347
347
  C(i.$slots, "footer", {}, void 0, !0)
348
- ], 2)) : y("", !0)
348
+ ], 2)) : b("", !0)
349
349
  ]),
350
350
  _: 3
351
351
  }, 8, ["class"]))
@@ -356,14 +356,14 @@ const un = /* @__PURE__ */ G(rn, [["__scopeId", "data-v-c1a322df"]]), cn = { cla
356
356
  click: d,
357
357
  layer: i.overlayLayer || (i.float ? 60 : i.fixedRight ? 50 : 0)
358
358
  }]
359
- ]) : y("", !0);
359
+ ]) : b("", !0);
360
360
  };
361
361
  }
362
362
  });
363
363
  const Ae = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4271b4f1"]]), _n = { class: "content__body" }, fn = {
364
364
  key: 0,
365
365
  class: "content__section"
366
- }, vn = { class: "content__item" }, yn = /* @__PURE__ */ U({
366
+ }, vn = { class: "content__item" }, yn = /* @__PURE__ */ F({
367
367
  __name: "aeria-context-menu",
368
368
  props: {
369
369
  actions: {},
@@ -403,7 +403,7 @@ const Ae = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4271b4f1"]]), _n = { cla
403
403
  });
404
404
  return (d, h) => {
405
405
  const i = te("overlay");
406
- return n(), s(x, null, [
406
+ return n(), s(N, null, [
407
407
  Object.keys(d.$slots).some((l) => l !== "default") || d.actions !== void 0 && d.actions.length > 0 ? (n(), s("div", {
408
408
  key: 0,
409
409
  ref_key: "contextmenu",
@@ -418,7 +418,7 @@ const Ae = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4271b4f1"]]), _n = { cla
418
418
  visible: o.value
419
419
  })), void 0, !0)
420
420
  ])
421
- ], 512)) : y("", !0),
421
+ ], 512)) : b("", !0),
422
422
  o.value ? (n(), k(Ke, {
423
423
  key: 1,
424
424
  to: "main"
@@ -435,13 +435,13 @@ const Ae = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4271b4f1"]]), _n = { cla
435
435
  A("div", _n, [
436
436
  d.$slots.header ? (n(), s("div", fn, [
437
437
  C(d.$slots, "header", {}, void 0, !0)
438
- ])) : y("", !0),
438
+ ])) : b("", !0),
439
439
  Object.keys(d.$slots).filter((l) => !["default", "extra", "header"].includes(l)).length > 0 ? (n(), s("div", {
440
440
  key: 1,
441
441
  class: "content__section",
442
442
  onClick: h[1] || (h[1] = (l) => o.value = !1)
443
443
  }, [
444
- (n(!0), s(x, null, Q(Object.keys(d.$slots).filter((l) => !["default", "extra", "header"].includes(l)), (l, B) => (n(), k(ve, {
444
+ (n(!0), s(N, null, Q(Object.keys(d.$slots).filter((l) => !["default", "extra", "header"].includes(l)), (l, B) => (n(), k(ve, {
445
445
  key: `slot-${B}`,
446
446
  class: "content__item content__item--reactive"
447
447
  }, {
@@ -450,13 +450,13 @@ const Ae = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4271b4f1"]]), _n = { cla
450
450
  ]),
451
451
  _: 2
452
452
  }, 1024))), 128))
453
- ])) : y("", !0),
453
+ ])) : b("", !0),
454
454
  d.actions !== void 0 && d.actions.length > 0 ? (n(), s("div", {
455
455
  key: 2,
456
456
  class: "content__section",
457
457
  onClick: h[2] || (h[2] = (l) => o.value = !1)
458
458
  }, [
459
- (n(!0), s(x, null, Q(c(d.actions), (l, B) => (n(), k(ve, {
459
+ (n(!0), s(N, null, Q(c(d.actions), (l, B) => (n(), k(ve, {
460
460
  key: `action-${B}`,
461
461
  class: "content__item content__item--reactive",
462
462
  onClick: (v) => r(l, d.subject)
@@ -470,20 +470,20 @@ const Ae = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4271b4f1"]]), _n = { cla
470
470
  D(V(l.translate ? e(R)(l.label, { capitalize: !0 }) : l.label), 1)
471
471
  ]),
472
472
  _: 2
473
- }, 1032, ["icon"])) : y("", !0)
473
+ }, 1032, ["icon"])) : b("", !0)
474
474
  ]),
475
475
  _: 2
476
476
  }, 1032, ["onClick"]))), 128))
477
- ])) : y("", !0),
477
+ ])) : b("", !0),
478
478
  d.$slots.extra ? (n(), s("div", {
479
479
  key: 3,
480
480
  class: "content__section",
481
481
  onClick: h[3] || (h[3] = (l) => o.value = !1)
482
482
  }, [
483
483
  A("div", vn, [
484
- d.$slots.extra ? C(d.$slots, "extra", { key: 0 }, void 0, !0) : y("", !0)
484
+ d.$slots.extra ? C(d.$slots, "extra", { key: 0 }, void 0, !0) : b("", !0)
485
485
  ])
486
- ])) : y("", !0)
486
+ ])) : b("", !0)
487
487
  ])
488
488
  ]),
489
489
  _: 3
@@ -500,12 +500,12 @@ const Ae = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4271b4f1"]]), _n = { cla
500
500
  { invisibleOnLarge: !0 }
501
501
  ]
502
502
  ])
503
- ])) : y("", !0)
503
+ ])) : b("", !0)
504
504
  ], 64);
505
505
  };
506
506
  }
507
507
  });
508
- const Oe = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-a03802b2"]]), bn = { class: "info__content" }, hn = /* @__PURE__ */ U({
508
+ const Oe = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-a03802b2"]]), bn = { class: "info__content" }, hn = /* @__PURE__ */ F({
509
509
  __name: "aeria-info",
510
510
  props: {
511
511
  where: { default: "top" }
@@ -527,7 +527,7 @@ const Oe = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-a03802b2"]]), bn = { cla
527
527
  A("div", bn, [
528
528
  C(t.$slots, "text", {}, void 0, !0)
529
529
  ])
530
- ], 2)) : y("", !0),
530
+ ], 2)) : b("", !0),
531
531
  A("div", {
532
532
  onMouseover: o[0] || (o[0] = (c) => a.value = !0)
533
533
  }, [
@@ -545,7 +545,7 @@ const $n = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-7e2a5440"]]), gn = { cla
545
545
  }, Cn = ["placeholder", "readonly", "value"], On = ["value"], In = {
546
546
  key: 1,
547
547
  class: "input__clipboard"
548
- }, An = /* @__PURE__ */ U({
548
+ }, An = /* @__PURE__ */ F({
549
549
  __name: "aeria-input",
550
550
  props: {
551
551
  modelValue: {},
@@ -559,7 +559,7 @@ const $n = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-7e2a5440"]]), gn = { cla
559
559
  emits: ["update:modelValue", "input", "change", "clipboardCopy"],
560
560
  setup(p, { emit: u }) {
561
561
  var ee;
562
- const a = p, t = u, o = a.property || {}, c = "icon" in o || "inputType" in o && o.inputType === "search", r = me("searchOnly", !1), m = me("innerInputLabel", !1), d = !r && (a.readOnly || o.readOnly), h = (b) => (t("clipboardCopy", b), navigator.clipboard.writeText(b)), i = me("inputVariant", a.variant) || "normal", l = Object.assign(Object.assign({}, a), {
562
+ const a = p, t = u, o = a.property || {}, c = "icon" in o || "inputType" in o && o.inputType === "search", r = me("searchOnly", !1), m = me("innerInputLabel", !1), d = !r && (a.readOnly || o.readOnly), h = (y) => (t("clipboardCopy", y), navigator.clipboard.writeText(y)), i = me("inputVariant", a.variant) || "normal", l = Object.assign(Object.assign({}, a), {
563
563
  name: a.propertyName,
564
564
  readonly: d,
565
565
  type: (() => {
@@ -585,83 +585,76 @@ const $n = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-7e2a5440"]]), gn = { cla
585
585
  "type" in o && ((o.type === "number" || o.type === "integer") && (o.minimum && (l.min = o.minimum), o.exclusiveMinimum && (l.min = o.exclusiveMinimum + 1), o.maximum && (l.max = o.maximum), o.exclusiveMaximum && (l.max = o.exclusiveMaximum - 1)), o.type === "string" && ((o.format === "date" || o.format === "date-time") && (l.type = !r && o.format === "date-time" ? "datetime-local" : "date"), l.minlength = o.minLength, l.maxlength = o.maxLength)), l.type === "text" && r && (l.type = "search"), Xe(() => {
586
586
  a.modelValue !== null && O(a.modelValue);
587
587
  });
588
- const B = (b) => {
589
- try {
590
- let F;
591
- if (b instanceof Date)
592
- F = b;
593
- else if (typeof b == "string")
594
- F = new Date(b);
595
- else
596
- throw new Error();
597
- switch (l.type) {
598
- case "date":
599
- return F.toISOString().slice(0, 10);
600
- case "datetime-local":
601
- return F.toISOString().slice(0, 19);
602
- default:
603
- throw new Error();
604
- }
605
- } catch {
588
+ const B = (y) => {
589
+ if (typeof y == "string")
590
+ return y;
591
+ if (!(y instanceof Date))
606
592
  return "";
593
+ switch (l.type) {
594
+ case "date":
595
+ return y.toISOString().slice(0, 10);
596
+ case "datetime-local":
597
+ return y.toISOString().slice(0, 19);
598
+ default:
599
+ throw new Error();
607
600
  }
608
601
  }, v = Z(""), $ = ((ee = a.property) == null ? void 0 : ee.type) === "string" && a.property.mask ? Lt(a.property.mask) : null;
609
- ue(() => a.modelValue, (b) => {
602
+ ue(() => a.modelValue, (y) => {
610
603
  v.value = (() => {
611
604
  if ($)
612
- return b ? $.enmask(String(b), void 0, {
605
+ return y ? $.enmask(String(y), void 0, {
613
606
  defaultValue: !0
614
607
  }) : "";
615
608
  switch (l.type) {
616
609
  case "date":
617
610
  case "datetime-local":
618
- return B(b);
611
+ return B(y);
619
612
  }
620
- switch (b) {
613
+ switch (y) {
621
614
  case null:
622
615
  case void 0:
623
616
  return "";
624
617
  default:
625
- return b;
618
+ return y;
626
619
  }
627
620
  })();
628
621
  }, {
629
622
  immediate: !0
630
623
  });
631
- const S = (b) => {
632
- var F;
633
- return typeof v.value == "string" && ((F = a.property) == null ? void 0 : F.type) === "string" && $ !== null ? (v.value = $.enmask(v.value, void 0, {
624
+ const S = (y) => {
625
+ var U;
626
+ return typeof v.value == "string" && ((U = a.property) == null ? void 0 : U.type) === "string" && $ !== null ? (v.value = $.enmask(v.value, void 0, {
634
627
  defaultValue: !0
635
- }), a.property.maskedValue === !0 ? v.value : $.unmask(v.value)) : b;
636
- }, O = (b) => {
637
- const F = (() => {
638
- if (!b || typeof b != "string")
639
- return b;
628
+ }), a.property.maskedValue === !0 ? v.value : $.unmask(v.value)) : y;
629
+ }, O = (y) => {
630
+ const U = (() => {
631
+ if (!y || typeof y != "string")
632
+ return y;
640
633
  switch (l.type) {
641
634
  case "number":
642
635
  case "integer":
643
- return Number(b);
636
+ return Number(y);
644
637
  case "date":
645
638
  case "date-time":
646
- return new Date(b);
639
+ return y;
647
640
  default:
648
- return S(b);
641
+ return S(y);
649
642
  }
650
643
  })();
651
- t("input", F), t("update:modelValue", F);
652
- }, Y = (b) => {
653
- const F = b.target.value;
654
- v.value = F, O(F);
644
+ t("input", U), t("update:modelValue", U);
645
+ }, Y = (y) => {
646
+ const U = y.target.value;
647
+ v.value = U, O(U);
655
648
  };
656
- return (b, F) => {
649
+ return (y, U) => {
657
650
  const le = te("focus"), T = te("clickable");
658
651
  return n(), s("label", gn, [
659
- e(m) ? y("", !0) : (n(), s("div", kn, [
660
- b.$slots.default ? C(b.$slots, "default", { key: 0 }, void 0, !0) : C(b.$slots, "description", { key: 1 }, void 0, !0)
652
+ e(m) ? b("", !0) : (n(), s("div", kn, [
653
+ y.$slots.default ? C(y.$slots, "default", { key: 0 }, void 0, !0) : C(y.$slots, "description", { key: 1 }, void 0, !0)
661
654
  ])),
662
- b.$slots.hint ? (n(), s("div", Vn, [
663
- C(b.$slots, "hint", {}, void 0, !0)
664
- ])) : y("", !0),
655
+ y.$slots.hint ? (n(), s("div", Vn, [
656
+ C(y.$slots, "hint", {}, void 0, !0)
657
+ ])) : b("", !0),
665
658
  "element" in e(o) && e(o).element === "textarea" ? (n(), s("div", {
666
659
  key: 2,
667
660
  class: K(`
@@ -673,7 +666,7 @@ const $n = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-7e2a5440"]]), gn = { cla
673
666
  P(A("textarea", {
674
667
  placeholder: e(l).placeholder,
675
668
  readonly: e(l).readonly,
676
- value: b.modelValue,
669
+ value: y.modelValue,
677
670
  class: K(`
678
671
  input__textarea
679
672
  input__input--${e(i)}
@@ -699,7 +692,7 @@ const $n = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-7e2a5440"]]), gn = { cla
699
692
  ${e(d) && "input__input--readOnly"}
700
693
  `,
701
694
  onInput: Y,
702
- onChange: F[0] || (F[0] = (g) => t("change", g))
695
+ onChange: U[0] || (U[0] = (g) => t("change", g))
703
696
  }), null, 16, On), [
704
697
  [le, e(o).focus]
705
698
  ]),
@@ -710,33 +703,33 @@ const $n = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-7e2a5440"]]), gn = { cla
710
703
  input__icon
711
704
  input__icon--${e(i)}
712
705
  `)
713
- }, null, 8, ["icon", "class"])) : y("", !0),
706
+ }, null, 8, ["icon", "class"])) : b("", !0),
714
707
  e(d) ? (n(), s("div", In, [
715
708
  q($n, null, {
716
- text: f(() => F[2] || (F[2] = [
709
+ text: f(() => U[2] || (U[2] = [
717
710
  D("Copiar")
718
711
  ])),
719
712
  default: f(() => [
720
713
  P(q(J, {
721
714
  reactive: "",
722
715
  icon: "clipboard",
723
- onClick: F[1] || (F[1] = qe((g) => h(String(b.modelValue || "")), ["prevent"]))
716
+ onClick: U[1] || (U[1] = qe((g) => h(String(y.modelValue || "")), ["prevent"]))
724
717
  }, null, 512), [
725
718
  [T]
726
719
  ])
727
720
  ]),
728
721
  _: 1
729
722
  })
730
- ])) : y("", !0)
723
+ ])) : b("", !0)
731
724
  ], 2))
732
725
  ]);
733
726
  };
734
727
  }
735
728
  });
736
- const ke = /* @__PURE__ */ G(An, [["__scopeId", "data-v-f57af0a6"]]), Bn = {
729
+ const ke = /* @__PURE__ */ G(An, [["__scopeId", "data-v-4d6c126e"]]), Bn = {
737
730
  key: 1,
738
731
  value: ""
739
- }, wn = ["value", "data-selected"], Sn = /* @__PURE__ */ U({
732
+ }, wn = ["value", "data-selected"], Sn = /* @__PURE__ */ F({
740
733
  __name: "aeria-select",
741
734
  props: {
742
735
  modelValue: {},
@@ -782,9 +775,9 @@ const ke = /* @__PURE__ */ G(An, [["__scopeId", "data-v-f57af0a6"]]), Bn = {
782
775
  e(c) && e(c).icon ? (n(), k(J, {
783
776
  key: 0,
784
777
  icon: e(c).icon
785
- }, null, 8, ["icon"])) : y("", !0),
786
- a.multiple ? y("", !0) : (n(), s("option", Bn, V(e(R)("none")), 1)),
787
- (n(!0), s(x, null, Q(e(c) && "enum" in e(c) ? e(c).enum : [], (B) => {
778
+ }, null, 8, ["icon"])) : b("", !0),
779
+ a.multiple ? b("", !0) : (n(), s("option", Bn, V(e(R)("none")), 1)),
780
+ (n(!0), s(N, null, Q(e(c) && "enum" in e(c) ? e(c).enum : [], (B) => {
788
781
  var v;
789
782
  return n(), s("option", {
790
783
  key: String(B),
@@ -799,7 +792,7 @@ const ke = /* @__PURE__ */ G(An, [["__scopeId", "data-v-f57af0a6"]]), Bn = {
799
792
  const Ze = /* @__PURE__ */ G(Sn, [["__scopeId", "data-v-abf82dfb"]]), Tn = { class: "pagination" }, jn = { class: "pagination__arrows" }, Rn = ["value"], Ln = {
800
793
  key: 0,
801
794
  class: "pagination__summary"
802
- }, qn = /* @__PURE__ */ U({
795
+ }, qn = /* @__PURE__ */ F({
803
796
  __name: "aeria-pagination",
804
797
  props: {
805
798
  pagination: {},
@@ -876,7 +869,7 @@ const Ze = /* @__PURE__ */ G(Sn, [["__scopeId", "data-v-abf82dfb"]]), Tn = { cla
876
869
  class: "pagination__control"
877
870
  }, {
878
871
  default: f(() => [
879
- (n(!0), s(x, null, Q(e(qt), (l) => (n(), s("option", {
872
+ (n(!0), s(N, null, Q(e(qt), (l) => (n(), s("option", {
880
873
  key: `limit-${l}`,
881
874
  value: l
882
875
  }, V(l), 9, Rn))), 128))
@@ -884,7 +877,7 @@ const Ze = /* @__PURE__ */ G(Sn, [["__scopeId", "data-v-abf82dfb"]]), Tn = { cla
884
877
  _: 1
885
878
  }, 8, ["modelValue"])
886
879
  ]),
887
- h.noSummary ? y("", !0) : (n(), s("div", Ln, [
880
+ h.noSummary ? b("", !0) : (n(), s("div", Ln, [
888
881
  D(V(e(R)("Page")) + " ", 1),
889
882
  (n(), k(ke, {
890
883
  key: o.value,
@@ -906,7 +899,7 @@ const Ze = /* @__PURE__ */ G(Sn, [["__scopeId", "data-v-abf82dfb"]]), Tn = { cla
906
899
  });
907
900
  const zn = /* @__PURE__ */ G(qn, [["__scopeId", "data-v-ae7235de"]]), Mn = { class: "checkbox__text" }, Fn = ["innerHTML"], Un = { class: "checkbox__hint" }, En = ["innerHTML"], Hn = {
908
901
  inheritAttrs: !1
909
- }, Dn = /* @__PURE__ */ U({
902
+ }, Dn = /* @__PURE__ */ F({
910
903
  ...Hn,
911
904
  __name: "aeria-checkbox",
912
905
  props: {
@@ -995,7 +988,7 @@ const zn = /* @__PURE__ */ G(qn, [["__scopeId", "data-v-ae7235de"]]), Mn = { cla
995
988
  i.$slots.hint ? C(i.$slots, "hint", { key: 0 }, void 0, !0) : ($ = e(t)) != null && $.hint ? (n(), s("div", {
996
989
  key: 1,
997
990
  innerHTML: e(t).hint
998
- }, null, 8, En)) : y("", !0)
991
+ }, null, 8, En)) : b("", !0)
999
992
  ])
1000
993
  ])
1001
994
  ], 2)), [
@@ -1006,7 +999,7 @@ const zn = /* @__PURE__ */ G(qn, [["__scopeId", "data-v-ae7235de"]]), Mn = { cla
1006
999
  });
1007
1000
  const Qn = /* @__PURE__ */ G(Dn, [["__scopeId", "data-v-b9da4354"]]), Gn = {
1008
1001
  inheritAttrs: !1
1009
- }, Wn = /* @__PURE__ */ U({
1002
+ }, Wn = /* @__PURE__ */ F({
1010
1003
  ...Gn,
1011
1004
  __name: "aeria-options",
1012
1005
  props: {
@@ -1035,7 +1028,7 @@ const Qn = /* @__PURE__ */ G(Dn, [["__scopeId", "data-v-b9da4354"]]), Gn = {
1035
1028
  grid-template-columns: repeat(var(--columns), 1fr);
1036
1029
  `)
1037
1030
  }, [
1038
- (n(!0), s(x, null, Q(e(c), (h) => (n(), s("div", {
1031
+ (n(!0), s(N, null, Q(e(c), (h) => (n(), s("div", {
1039
1032
  key: `option-${h}`,
1040
1033
  class: "options__checkbox"
1041
1034
  }, [
@@ -1053,7 +1046,7 @@ const Qn = /* @__PURE__ */ G(Dn, [["__scopeId", "data-v-b9da4354"]]), Gn = {
1053
1046
  });
1054
1047
  const Kn = /* @__PURE__ */ G(Wn, [["__scopeId", "data-v-790d73bb"]]), Xn = { class: "switch-wrapper" }, Yn = { key: 1 }, Jn = {
1055
1048
  inheritAttrs: !1
1056
- }, Zn = /* @__PURE__ */ U({
1049
+ }, Zn = /* @__PURE__ */ F({
1057
1050
  ...Jn,
1058
1051
  __name: "aeria-switch",
1059
1052
  props: {
@@ -1101,7 +1094,7 @@ const Kn = /* @__PURE__ */ G(Wn, [["__scopeId", "data-v-790d73bb"]]), Xn = { cla
1101
1094
  const Pn = /* @__PURE__ */ G(Zn, [["__scopeId", "data-v-0e3564b6"]]), Nn = { class: "picture" }, xn = { style: { position: "fixed", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, eo = ["src", "alt"], to = {
1102
1095
  key: 0,
1103
1096
  class: "picture__meta"
1104
- }, no = ["src"], oo = { key: 5 }, ao = /* @__PURE__ */ U({
1097
+ }, no = ["src"], oo = { key: 5 }, ao = /* @__PURE__ */ F({
1105
1098
  __name: "aeria-picture",
1106
1099
  props: {
1107
1100
  url: {},
@@ -1135,7 +1128,7 @@ const Pn = /* @__PURE__ */ G(Zn, [["__scopeId", "data-v-0e3564b6"]]), Nn = { cla
1135
1128
  `,
1136
1129
  onClick: c[0] || (c[0] = (d) => t.value = !0)
1137
1130
  }, null, 8, eo),
1138
- (m = o.meta) != null && m.owner ? (n(), s("div", to, V(o.t("created_by")) + " " + V(o.meta.owner.name) + " em " + V(o.formatDateTime(o.meta.created_at, { hours: !0 })), 1)) : y("", !0)
1131
+ (m = o.meta) != null && m.owner ? (n(), s("div", to, V(o.t("created_by")) + " " + V(o.meta.owner.name) + " em " + V(o.formatDateTime(o.meta.created_at, { hours: !0 })), 1)) : b("", !0)
1139
1132
  ])), [
1140
1133
  [r, {
1141
1134
  click: () => {
@@ -1143,7 +1136,7 @@ const Pn = /* @__PURE__ */ G(Zn, [["__scopeId", "data-v-0e3564b6"]]), Nn = { cla
1143
1136
  }
1144
1137
  }]
1145
1138
  ])
1146
- ])) : y("", !0),
1139
+ ])) : b("", !0),
1147
1140
  a.value ? (n(), s("img", {
1148
1141
  key: 1,
1149
1142
  src: a.value,
@@ -1193,7 +1186,7 @@ const Pn = /* @__PURE__ */ G(Zn, [["__scopeId", "data-v-0e3564b6"]]), Nn = { cla
1193
1186
  ]), 6)),
1194
1187
  o.$slots.caption ? (n(), s("figcaption", oo, [
1195
1188
  C(o.$slots, "caption", {}, void 0, !0)
1196
- ])) : y("", !0)
1189
+ ])) : b("", !0)
1197
1190
  ]);
1198
1191
  };
1199
1192
  }
@@ -1207,7 +1200,7 @@ const He = /* @__PURE__ */ G(ao, [["__scopeId", "data-v-0b7b8d96"]]), lo = { cla
1207
1200
  }, po = {
1208
1201
  key: 1,
1209
1202
  class: "file__buttons"
1210
- }, mo = /* @__PURE__ */ U({
1203
+ }, mo = /* @__PURE__ */ F({
1211
1204
  __name: "aeria-file",
1212
1205
  props: {
1213
1206
  modelValue: {},
@@ -1259,7 +1252,7 @@ const He = /* @__PURE__ */ G(ao, [["__scopeId", "data-v-0b7b8d96"]]), lo = { cla
1259
1252
  t("update:modelValue", null);
1260
1253
  };
1261
1254
  return ($, S) => {
1262
- var O, Y, ee, b, F, le;
1255
+ var O, Y, ee, y, U, le;
1263
1256
  return n(), s("div", lo, [
1264
1257
  r.value || (O = $.modelValue) != null && O._id ? (n(), s("div", so, [
1265
1258
  d.value ? (n(), k(He, {
@@ -1272,17 +1265,17 @@ const He = /* @__PURE__ */ G(ao, [["__scopeId", "data-v-0b7b8d96"]]), lo = { cla
1272
1265
  file__image
1273
1266
  ${!e(c) || ((Y = $.modelValue) == null ? void 0 : Y._id) || "file__image--unsent"}
1274
1267
  `)
1275
- }, null, 8, ["modelValue", "expandable", "class"])) : y("", !0),
1268
+ }, null, 8, ["modelValue", "expandable", "class"])) : b("", !0),
1276
1269
  (ee = $.modelValue) != null && ee._id ? (n(), s("a", {
1277
1270
  key: 1,
1278
1271
  href: $.modelValue.download_link
1279
- }, V($.modelValue.name), 9, io)) : y("", !0)
1280
- ])) : y("", !0),
1281
- $.readOnly ? y("", !0) : (n(), s("div", ro, [
1272
+ }, V($.modelValue.name), 9, io)) : b("", !0)
1273
+ ])) : b("", !0),
1274
+ $.readOnly ? b("", !0) : (n(), s("div", ro, [
1282
1275
  A("input", {
1283
1276
  ref: "file",
1284
1277
  type: "file",
1285
- accept: (F = (b = $.property) == null ? void 0 : b.accept) == null ? void 0 : F.join(","),
1278
+ accept: (U = (y = $.property) == null ? void 0 : y.accept) == null ? void 0 : U.join(","),
1286
1279
  onChange: l
1287
1280
  }, null, 40, uo),
1288
1281
  r.value ? (n(), s("div", co, [
@@ -1305,7 +1298,7 @@ const He = /* @__PURE__ */ G(ao, [["__scopeId", "data-v-0b7b8d96"]]), lo = { cla
1305
1298
  ]),
1306
1299
  _: 1
1307
1300
  })
1308
- ])) : y("", !0)
1301
+ ])) : b("", !0)
1309
1302
  ]))
1310
1303
  ]);
1311
1304
  };
@@ -1314,7 +1307,7 @@ const He = /* @__PURE__ */ G(ao, [["__scopeId", "data-v-0b7b8d96"]]), lo = { cla
1314
1307
  const _o = /* @__PURE__ */ G(mo, [["__scopeId", "data-v-d491b7ce"]]), fo = { class: "container" }, vo = {
1315
1308
  key: 1,
1316
1309
  class: "container__footer"
1317
- }, yo = /* @__PURE__ */ U({
1310
+ }, yo = /* @__PURE__ */ F({
1318
1311
  __name: "aeria-search-container",
1319
1312
  props: {
1320
1313
  observeScroll: { type: Boolean }
@@ -1334,14 +1327,14 @@ const _o = /* @__PURE__ */ G(mo, [["__scopeId", "data-v-d491b7ce"]]), fo = { cla
1334
1327
  class: "container__content"
1335
1328
  }, [
1336
1329
  C(r.$slots, "default", {}, void 0, !0)
1337
- ], 512)) : y("", !0),
1330
+ ], 512)) : b("", !0),
1338
1331
  r.$slots.footer ? (n(), s("div", vo, [
1339
1332
  C(r.$slots, "footer", {}, void 0, !0)
1340
- ])) : y("", !0)
1333
+ ])) : b("", !0)
1341
1334
  ]));
1342
1335
  }
1343
1336
  });
1344
- const mt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { class: "item__values" }, ho = /* @__PURE__ */ U({
1337
+ const mt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { class: "item__values" }, ho = /* @__PURE__ */ F({
1345
1338
  __name: "aeria-search-item",
1346
1339
  props: {
1347
1340
  item: {},
@@ -1391,7 +1384,7 @@ const mt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { cla
1391
1384
  }, [
1392
1385
  C(B.$slots, "default", {}, void 0, !0),
1393
1386
  A("div", bo, [
1394
- (n(!0), s(x, null, Q(B.indexes, (S, O) => (n(), s("div", {
1387
+ (n(!0), s(N, null, Q(B.indexes, (S, O) => (n(), s("div", {
1395
1388
  key: `index-${B.item._id}-${O}`,
1396
1389
  class: "item__value"
1397
1390
  }, V(B.item[S]), 1))), 128))
@@ -1400,7 +1393,7 @@ const mt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { cla
1400
1393
  key: 0,
1401
1394
  icon: "arrow-square-out",
1402
1395
  style: { "--icon-color": "var(--theme-brand-color-contrast)" }
1403
- })) : y("", !0)
1396
+ })) : b("", !0)
1404
1397
  ], 2)), [
1405
1398
  [$]
1406
1399
  ]);
@@ -1410,7 +1403,7 @@ const mt = /* @__PURE__ */ G(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { cla
1410
1403
  const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { class: "search__panel" }, go = { key: 1 }, ko = { key: 0 }, Vo = { key: 1 }, Co = { class: "search__summary" }, Oo = {
1411
1404
  key: 1,
1412
1405
  class: "search"
1413
- }, Io = { key: 0 }, Ee = 10, Ao = /* @__PURE__ */ U({
1406
+ }, Io = { key: 0 }, Ee = 10, Ao = /* @__PURE__ */ F({
1414
1407
  __name: "aeria-search",
1415
1408
  props: {
1416
1409
  modelValue: {},
@@ -1437,8 +1430,8 @@ const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { cla
1437
1430
  }
1438
1431
  return t.constraints ? Dt(t.constraints, M) : {};
1439
1432
  }, ee = () => {
1440
- B.value.length < v.value.recordsTotal && ($.value += 1, F());
1441
- }, b = async () => O.value.length === 0 ? r.$actions.custom("getAll", {
1433
+ B.value.length < v.value.recordsTotal && ($.value += 1, U());
1434
+ }, y = async () => O.value.length === 0 ? r.$actions.custom("getAll", {
1442
1435
  limit: Ee,
1443
1436
  offset: $.value * Ee,
1444
1437
  filters: Y()
@@ -1452,10 +1445,10 @@ const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { cla
1452
1445
  },
1453
1446
  ...Y()
1454
1447
  }
1455
- }), F = async () => {
1448
+ }), U = async () => {
1456
1449
  if (r.loading.getAll)
1457
1450
  return;
1458
- const { error: M, result: H } = await b();
1451
+ const { error: M, result: H } = await y();
1459
1452
  if (M) {
1460
1453
  re("meta").$actions.spawnToast({
1461
1454
  text: "Request failed",
@@ -1467,18 +1460,18 @@ const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { cla
1467
1460
  }, [le] = gt({
1468
1461
  delay: 800
1469
1462
  })(() => {
1470
- $.value = 0, F(), S.value = !1;
1463
+ $.value = 0, U(), S.value = !1;
1471
1464
  }), T = () => {
1472
1465
  S.value = !0, le();
1473
1466
  }, g = () => {
1474
- "effect" in o ? c("update:panel", !0) : o.value = !0, F();
1467
+ "effect" in o ? c("update:panel", !0) : o.value = !0, U();
1475
1468
  }, j = () => {
1476
1469
  $.value = 0, l.value.data.splice(0), "effect" in o ? c("update:panel", !1) : o.value = !1;
1477
1470
  };
1478
1471
  ue(() => O.value.length, (M, H) => {
1479
- M && !H && F();
1472
+ M && !H && U();
1480
1473
  }), Xe(() => {
1481
- a.selectOnly && F();
1474
+ a.selectOnly && U();
1482
1475
  });
1483
1476
  const ne = (M) => {
1484
1477
  i.value = M, a.selectOnly || c("update:modelValue", M);
@@ -1533,7 +1526,7 @@ const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { cla
1533
1526
  onEndReached: ee
1534
1527
  }, {
1535
1528
  default: f(() => [
1536
- (n(!0), s(x, null, Q(B.value, (L) => (n(), k(Ge, E({ ref_for: !0 }, {
1529
+ (n(!0), s(N, null, Q(B.value, (L) => (n(), k(Ge, E({ ref_for: !0 }, {
1537
1530
  item: L,
1538
1531
  indexes: e(h),
1539
1532
  property: M.property
@@ -1545,7 +1538,7 @@ const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { cla
1545
1538
  ]),
1546
1539
  _: 1
1547
1540
  })) : (n(), s("div", go, [
1548
- S.value ? (n(), s("div", ko, V(e(R)("searching", { capitalize: !0 })) + "... ", 1)) : !e(r).loading.getAll && Object.values(O.value).filter((L) => !!L).length > 0 && !("items" in M.property && ((ae = M.modelValue) != null && ae.length) || !Array.isArray(M.modelValue) && ((_ = M.modelValue) != null && _._id)) ? (n(), s("div", Vo, V(e(R)("no_results", { capitalize: !0 })), 1)) : y("", !0)
1541
+ S.value ? (n(), s("div", ko, V(e(R)("searching", { capitalize: !0 })) + "... ", 1)) : !e(r).loading.getAll && Object.values(O.value).filter((L) => !!L).length > 0 && !("items" in M.property && ((ae = M.modelValue) != null && ae.length) || !Array.isArray(M.modelValue) && ((_ = M.modelValue) != null && _._id)) ? (n(), s("div", Vo, V(e(R)("no_results", { capitalize: !0 })), 1)) : b("", !0)
1549
1542
  ]))
1550
1543
  ]),
1551
1544
  A("div", Co, V(e(R)("showing", { capitalize: !0 })) + " " + V(B.value.length) + " " + V(e(R)("of")) + " " + V(v.value.recordsTotal), 1)
@@ -1553,14 +1546,14 @@ const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { cla
1553
1546
  }),
1554
1547
  _: 1
1555
1548
  }, 8, ["title", "model-value"])
1556
- ])) : y("", !0),
1557
- M.selectOnly ? y("", !0) : (n(), s("div", Oo, [
1549
+ ])) : b("", !0),
1550
+ M.selectOnly ? b("", !0) : (n(), s("div", Oo, [
1558
1551
  q(mt, null, ce({
1559
1552
  default: f(() => {
1560
1553
  var ae;
1561
1554
  return [
1562
1555
  "items" in M.property ? (n(), s("div", Io, [
1563
- (n(!0), s(x, null, Q(M.modelValue, (_) => (n(), k(Ge, E({ ref_for: !0 }, {
1556
+ (n(!0), s(N, null, Q(M.modelValue, (_) => (n(), k(Ge, E({ ref_for: !0 }, {
1564
1557
  item: _,
1565
1558
  indexes: e(h),
1566
1559
  property: M.property,
@@ -1576,7 +1569,7 @@ const Ge = /* @__PURE__ */ G(ho, [["__scopeId", "data-v-3b5a7221"]]), $o = { cla
1576
1569
  property: e(t),
1577
1570
  readOnly: M.readOnly,
1578
1571
  modelValue: M.modelValue
1579
- }, { "onUpdate:modelValue": ne }), null, 16)) : y("", !0)
1572
+ }, { "onUpdate:modelValue": ne }), null, 16)) : b("", !0)
1580
1573
  ];
1581
1574
  }),
1582
1575
  _: 2
@@ -1652,7 +1645,7 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1652
1645
  }, Go = { key: 0 }, Wo = { key: 1 }, Ko = {
1653
1646
  key: 2,
1654
1647
  class: "form__footer"
1655
- }, Xo = /* @__PURE__ */ U({
1648
+ }, Xo = /* @__PURE__ */ F({
1656
1649
  __name: "aeria-form",
1657
1650
  props: {
1658
1651
  modelValue: {},
@@ -1686,8 +1679,7 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1686
1679
  t.modelValue || o("update:modelValue", t.property && "items" in t.property ? [] : {});
1687
1680
  });
1688
1681
  const c = t.property && _e(t.property), r = c ? c.$ref : t.collection || Me(), m = t.readOnly || ((ae = t.property) == null ? void 0 : ae.readOnly), d = r ? re(e(r)) : null;
1689
- !r && process.env.NODE_ENV !== "production" && console.warn(`aeria-form was used without providing storeId or specifying
1690
- collection prop, some features may not work as intended`);
1682
+ !r && process.env.NODE_ENV !== "production" && console.warn("aeria-form was used without providing storeId or specifying collection prop, some features may not work as intended");
1691
1683
  const h = Z(!1), i = X(() => {
1692
1684
  const _ = (() => !t.form && t.property ? "type" in t.property && t.property.type === "object" ? "properties" in t.property ? t.property.properties : void 0 : d == null ? void 0 : d.properties : t.form)();
1693
1685
  if (!_)
@@ -1711,16 +1703,16 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1711
1703
  return t[_] && ye(_, t[_]), L;
1712
1704
  }, v = X(() => t.validationErrors !== null ? t.validationErrors : d == null ? void 0 : d.validationErrors), $ = B("formComponents") || {}, S = B("propertyComponents") || {}, O = B("omitFormHeader"), Y = B("omitInputLabels"), ee = B("innerInputLabel");
1713
1705
  r && ye(Fe, r), ye("searchOnly", t.searchOnly);
1714
- const b = (_) => i.value ? Object.entries(i.value).filter(([L, W]) => !W.noForm && _([
1706
+ const y = (_) => i.value ? Object.entries(i.value).filter(([L, W]) => !W.noForm && _([
1715
1707
  L,
1716
1708
  W
1717
- ])) : null, F = (_, L) => {
1709
+ ])) : null, U = (_, L) => {
1718
1710
  var w;
1719
1711
  if (t.searchOnly || !r || t.includeId && _ === "_id" || t.includeTimestamps && L.isTimestamp)
1720
1712
  return !0;
1721
1713
  const W = t.property && "properties" in t.property ? t.property.form : (w = d == null ? void 0 : d.description) == null ? void 0 : w.form;
1722
1714
  return !W || W.includes(_);
1723
- }, le = b(([_, L]) => F(_, L)), T = Ue(), g = {}, j = (_, L) => {
1715
+ }, le = y(([_, L]) => U(_, L)), T = Ue(), g = {}, j = (_, L) => {
1724
1716
  var z, fe, Be, we;
1725
1717
  const W = [], w = ((fe = (z = l.value) == null ? void 0 : z.fields) == null ? void 0 : fe[_]) || ((we = (Be = l.value) == null ? void 0 : Be.fields) == null ? void 0 : we.$default);
1726
1718
  if (!L)
@@ -1768,10 +1760,10 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1768
1760
  }, [
1769
1761
  _.$slots.header && !e(O) ? (n(), s("header", To, [
1770
1762
  C(_.$slots, "header", {}, void 0, !0)
1771
- ])) : y("", !0),
1763
+ ])) : b("", !0),
1772
1764
  C(_.$slots, "default", {}, void 0, !0),
1773
1765
  A("fieldset", jo, [
1774
- (n(!0), s(x, null, Q(e(le), ([I, z]) => {
1766
+ (n(!0), s(N, null, Q(e(le), ([I, z]) => {
1775
1767
  var fe, Be, we, Se, Pe, Ne, xe, et, tt, nt, ot, at, lt;
1776
1768
  return n(), s("div", {
1777
1769
  key: `field-${I}`,
@@ -1789,8 +1781,8 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1789
1781
  z.hint ? (n(), s("div", {
1790
1782
  key: 0,
1791
1783
  innerHTML: z.hint
1792
- }, null, 8, Lo)) : y("", !0)
1793
- ])) : y("", !0),
1784
+ }, null, 8, Lo)) : b("", !0)
1785
+ ])) : b("", !0),
1794
1786
  _.$slots[`field-${I}`] ? C(_.$slots, `field-${I}`, E({
1795
1787
  key: 1,
1796
1788
  ref_for: !0
@@ -1802,7 +1794,7 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1802
1794
  }), void 0, !0) : (we = (Be = (fe = _.layout) == null ? void 0 : fe.fields) == null ? void 0 : Be[I]) != null && we.component && e(S)[_.layout.fields[I].component.name] ? (n(), k(be(e(S)[_.layout.fields[I].component.name]), E({
1803
1795
  key: 2,
1804
1796
  modelValue: _.modelValue[I],
1805
- "onUpdate:modelValue": (N) => _.modelValue[I] = N,
1797
+ "onUpdate:modelValue": (x) => _.modelValue[I] = x,
1806
1798
  ref_for: !0
1807
1799
  }, {
1808
1800
  readOnly: e(m),
@@ -1810,17 +1802,17 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1810
1802
  propertyName: I,
1811
1803
  ..._.layout.fields[I].component.props || {}
1812
1804
  }, {
1813
- onInput: (N) => o("input", I),
1814
- onChange: L[0] || (L[0] = (N) => o("change", N))
1805
+ onInput: (x) => o("input", I),
1806
+ onChange: L[0] || (L[0] = (x) => o("change", x))
1815
1807
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])) : "format" in z && ["date", "date-time"].includes(z.format) && _.searchOnly ? (n(), s("div", {
1816
1808
  key: 3,
1817
1809
  style: { display: "grid", "grid-template-columns": "repeat(2, 1fr)", "column-gap": "1rem" },
1818
- onInput: (N) => o("input", I),
1819
- onChange: L[1] || (L[1] = (N) => o("change", N))
1810
+ onInput: (x) => o("input", I),
1811
+ onChange: L[1] || (L[1] = (x) => o("change", x))
1820
1812
  }, [
1821
1813
  q(ke, E({
1822
1814
  modelValue: _.modelValue[I].$gte,
1823
- "onUpdate:modelValue": (N) => _.modelValue[I].$gte = N,
1815
+ "onUpdate:modelValue": (x) => _.modelValue[I].$gte = x,
1824
1816
  ref_for: !0
1825
1817
  }, {
1826
1818
  property: z,
@@ -1828,7 +1820,7 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1828
1820
  }), null, 16, ["modelValue", "onUpdate:modelValue"]),
1829
1821
  q(ke, E({
1830
1822
  modelValue: _.modelValue[I].$lte,
1831
- "onUpdate:modelValue": (N) => _.modelValue[I].$lte = N,
1823
+ "onUpdate:modelValue": (x) => _.modelValue[I].$lte = x,
1832
1824
  ref_for: !0
1833
1825
  }, {
1834
1826
  property: z,
@@ -1841,9 +1833,9 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1841
1833
  }, {
1842
1834
  "boolean-ref": "",
1843
1835
  "model-value": _.modelValue[I],
1844
- onChange: L[2] || (L[2] = (N) => o("change", N)),
1845
- "onUpdate:modelValue": (N) => {
1846
- _.modelValue[I] = N == "true" ? !0 : N == "false" ? !1 : null;
1836
+ onChange: L[2] || (L[2] = (x) => o("change", x)),
1837
+ "onUpdate:modelValue": (x) => {
1838
+ _.modelValue[I] = x;
1847
1839
  }
1848
1840
  }), {
1849
1841
  default: f(() => [
@@ -1853,13 +1845,13 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1853
1845
  _: 2
1854
1846
  }, 1040, ["model-value", "onUpdate:modelValue"])
1855
1847
  ])) : _.modelValue && "items" in z && !z.uniqueItems && (!("$ref" in z.items) || z.items.inline || z.items.$ref === "file") ? (n(), s("div", Uo, [
1856
- e(m) ? y("", !0) : (n(), s("div", Eo, [
1848
+ e(m) ? b("", !0) : (n(), s("div", Eo, [
1857
1849
  q(ie, {
1858
1850
  small: "",
1859
1851
  variant: "alt",
1860
1852
  icon: "plus",
1861
1853
  disabled: !("inline" in z.items && z.items.inline) && (((Se = _.modelValue[I]) == null ? void 0 : Se.length) >= z.maxItems || ne((Ne = _.modelValue[I]) == null ? void 0 : Ne[((Pe = _.modelValue[I]) == null ? void 0 : Pe.length) - 1])),
1862
- onClick: qe((N) => {
1854
+ onClick: qe((x) => {
1863
1855
  _.modelValue[I] || (_.modelValue[I] = []), e(wo)(_.modelValue[I], z, e(a));
1864
1856
  }, ["prevent"])
1865
1857
  }, {
@@ -1870,10 +1862,10 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1870
1862
  }, 1032, ["disabled", "onClick"])
1871
1863
  ])),
1872
1864
  A("div", Ho, [
1873
- (n(!0), s(x, null, Q(_.modelValue[I], (N, Te) => {
1865
+ (n(!0), s(N, null, Q(_.modelValue[I], (x, Te) => {
1874
1866
  var st, it, rt, ut, ct, dt;
1875
1867
  return n(), s("div", {
1876
- key: `rep-${I}-${e(Gt)(N, Te)}`,
1868
+ key: `rep-${I}-${e(Gt)(x, Te)}`,
1877
1869
  class: "form__array-item"
1878
1870
  }, [
1879
1871
  A("div", Do, [
@@ -1895,7 +1887,7 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1895
1887
  onChange: L[3] || (L[3] = (je) => o("change", je))
1896
1888
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"]))
1897
1889
  ]),
1898
- e(m) ? y("", !0) : P((n(), k(J, {
1890
+ e(m) ? b("", !0) : P((n(), k(J, {
1899
1891
  key: 0,
1900
1892
  reactive: "",
1901
1893
  icon: "trash",
@@ -1909,7 +1901,7 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1909
1901
  ])) : _.modelValue ? P((n(), k(be(e(_t)(z, e($))), E({
1910
1902
  key: 6,
1911
1903
  modelValue: _.modelValue[I],
1912
- "onUpdate:modelValue": (N) => _.modelValue[I] = N,
1904
+ "onUpdate:modelValue": (x) => _.modelValue[I] = x,
1913
1905
  ref_for: !0
1914
1906
  }, {
1915
1907
  readOnly: e(m),
@@ -1921,30 +1913,30 @@ const Bo = /* @__PURE__ */ G(Ao, [["__scopeId", "data-v-f8e80dc0"]]), _t = (p, u
1921
1913
  ...z.componentProps || {},
1922
1914
  validationErrors: H(I)
1923
1915
  }, {
1924
- onInput: (N) => o("input", I),
1925
- onChange: L[4] || (L[4] = (N) => o("change", N)),
1926
- onClipboardCopy: L[5] || (L[5] = (N) => o("clipboardCopy", N))
1916
+ onInput: (x) => o("input", I),
1917
+ onChange: L[4] || (L[4] = (x) => o("change", x)),
1918
+ onClipboardCopy: L[5] || (L[5] = (x) => o("clipboardCopy", x))
1927
1919
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])), [
1928
1920
  [w, se(z)]
1929
- ]) : y("", !0),
1921
+ ]) : b("", !0),
1930
1922
  (lt = v.value) != null && lt[I] ? (n(), s("div", Qo, [
1931
- v.value[I].type ? (n(), s("span", Go, V(e(R)(`validation_error.${v.value[I].type}`)), 1)) : y("", !0),
1932
- v.value[I].detail ? (n(), s("span", Wo, V(e(R)(v.value[I].detail)), 1)) : y("", !0)
1933
- ])) : y("", !0)
1923
+ v.value[I].type ? (n(), s("span", Go, V(e(R)(`validation_error.${v.value[I].type}`)), 1)) : b("", !0),
1924
+ v.value[I].detail ? (n(), s("span", Wo, V(e(R)(v.value[I].detail)), 1)) : b("", !0)
1925
+ ])) : b("", !0)
1934
1926
  ], 4);
1935
1927
  }), 128))
1936
1928
  ]),
1937
- _.$slots.after ? C(_.$slots, "after", { key: 1 }, void 0, !0) : y("", !0),
1929
+ _.$slots.after ? C(_.$slots, "after", { key: 1 }, void 0, !0) : b("", !0),
1938
1930
  _.$slots.footer ? (n(), s("div", Ko, [
1939
1931
  C(_.$slots, "footer", de(ge({
1940
1932
  isInsertReady: M.value
1941
1933
  })), void 0, !0)
1942
- ])) : y("", !0)
1934
+ ])) : b("", !0)
1943
1935
  ], 4);
1944
1936
  };
1945
1937
  }
1946
1938
  });
1947
- const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @__PURE__ */ U({
1939
+ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-5c82a9bd"]]), Yo = /* @__PURE__ */ F({
1948
1940
  __name: "aeria-filter-panel",
1949
1941
  emits: ["update:modelValue"],
1950
1942
  setup(p, { emit: u }) {
@@ -1983,7 +1975,7 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
1983
1975
  })
1984
1976
  ]),
1985
1977
  _: 1
1986
- })) : y("", !0),
1978
+ })) : b("", !0),
1987
1979
  q(ie, {
1988
1980
  large: "",
1989
1981
  icon: "funnel",
@@ -2009,7 +2001,7 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2009
2001
  _: 1
2010
2002
  }, 8, ["title"]));
2011
2003
  }
2012
- }), Jo = /* @__PURE__ */ U({
2004
+ }), Jo = /* @__PURE__ */ F({
2013
2005
  __name: "aeria-insert-panel",
2014
2006
  props: {
2015
2007
  collection: {},
@@ -2067,7 +2059,7 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2067
2059
  icon: "dots-three"
2068
2060
  }, null, 8, ["active"])), [
2069
2061
  [S]
2070
- ]) : y("", !0)
2062
+ ]) : b("", !0)
2071
2063
  ]),
2072
2064
  _: 1
2073
2065
  }, 16)
@@ -2181,7 +2173,7 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2181
2173
  }, Va = { class: "table__cell-actions" }, Ca = {
2182
2174
  key: 2,
2183
2175
  class: "no-print table__mobile-actions"
2184
- }, Oa = ["id"], Ia = { key: 1 }, Aa = ["colspan"], Ba = { class: "table__empty" }, wa = /* @__PURE__ */ U({
2176
+ }, Oa = ["id"], Ia = { key: 1 }, Aa = ["colspan"], Ba = { class: "table__empty" }, wa = /* @__PURE__ */ F({
2185
2177
  __name: "aeria-table",
2186
2178
  props: {
2187
2179
  columns: {},
@@ -2237,38 +2229,38 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2237
2229
  A("input", {
2238
2230
  type: "checkbox",
2239
2231
  checked: e(r).selected.length > 0 && e(r).selected.length === e(r).itemsCount,
2240
- onChange: $[0] || ($[0] = (b) => e(r).$actions.selectAllItems(b.target.checked))
2232
+ onChange: $[0] || ($[0] = (y) => e(r).$actions.selectAllItems(y.target.checked))
2241
2233
  }, null, 40, ta)
2242
- ])) : y("", !0),
2243
- (n(!0), s(x, null, Q(Object.entries(v.columns), ([b, F], le) => (n(), s("th", {
2234
+ ])) : b("", !0),
2235
+ (n(!0), s(N, null, Q(Object.entries(v.columns), ([y, U], le) => (n(), s("th", {
2244
2236
  key: `header-${le}`,
2245
2237
  class: "table__header"
2246
- }, V(F.description || e(R)(b)), 1))), 128)),
2247
- (O = v.actions) != null && O.length ? (n(), s("th", na)) : y("", !0)
2238
+ }, V(U.description || e(R)(y)), 1))), 128)),
2239
+ (O = v.actions) != null && O.length ? (n(), s("th", na)) : b("", !0)
2248
2240
  ])
2249
2241
  ])),
2250
2242
  v.$slots.tbody ? (n(), s("tbody", oa, [
2251
2243
  C(v.$slots, "tbody", {}, void 0, !0)
2252
2244
  ])) : (n(), s("tbody", aa, [
2253
- (n(!0), s(x, null, Q(v.rows, (b) => {
2254
- var F, le;
2245
+ (n(!0), s(N, null, Q(v.rows, (y) => {
2246
+ var U, le;
2255
2247
  return n(), s("tr", {
2256
- key: b._id,
2257
- onClick: (T) => t("itemClick", b)
2248
+ key: y._id,
2249
+ onClick: (T) => t("itemClick", y)
2258
2250
  }, [
2259
2251
  e(r) && v.checkbox && e(o).md ? (n(), s("td", sa, [
2260
2252
  P(A("input", {
2261
2253
  "onUpdate:modelValue": $[1] || ($[1] = (T) => m.value = T),
2262
2254
  type: "checkbox",
2263
- value: b._id
2255
+ value: y._id
2264
2256
  }, null, 8, ia), [
2265
2257
  [Ot, m.value]
2266
2258
  ])
2267
- ])) : y("", !0),
2268
- (n(!0), s(x, null, Q(Object.entries(v.columns), ([T, g], j) => {
2259
+ ])) : b("", !0),
2260
+ (n(!0), s(N, null, Q(Object.entries(v.columns), ([T, g], j) => {
2269
2261
  var ne, oe, M;
2270
2262
  return n(), s("td", {
2271
- key: `column-${b._id}-${j}`
2263
+ key: `column-${y._id}-${j}`
2272
2264
  }, [
2273
2265
  A("div", ra, V(g.description || e(R)(T)), 1),
2274
2266
  `row-${T}` in v.$slots ? (n(), s("div", ua, [
@@ -2276,12 +2268,12 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2276
2268
  store: e(r),
2277
2269
  column: T,
2278
2270
  property: g,
2279
- row: b
2271
+ row: y
2280
2272
  }), void 0, !0)
2281
2273
  ])) : (n(), s("div", ca, [
2282
2274
  A("div", da, [
2283
2275
  "type" in g && g.type === "boolean" ? (n(), s("div", pa, [
2284
- b[T] ? (n(), k(J, {
2276
+ y[T] ? (n(), k(J, {
2285
2277
  key: 0,
2286
2278
  icon: "check",
2287
2279
  "icon-classes": "aeria-blueish"
@@ -2301,72 +2293,72 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2301
2293
  _: 1
2302
2294
  }))
2303
2295
  ])) : ((ne = e(_e)(g)) == null ? void 0 : ne.$ref) === "file" ? (n(), s("div", ma, [
2304
- b[T] ? (n(), s("div", _a, [
2305
- "items" in g && b[T][0] && /^image/.test(b[T][0].type) ? (n(), k(He, {
2296
+ y[T] ? (n(), s("div", _a, [
2297
+ "items" in g && y[T][0] && /^image/.test(y[T][0].type) ? (n(), k(He, {
2306
2298
  key: 0,
2307
- modelValue: b[T][0].link,
2308
- "onUpdate:modelValue": (H) => b[T][0].link = H,
2299
+ modelValue: y[T][0].link,
2300
+ "onUpdate:modelValue": (H) => y[T][0].link = H,
2309
2301
  expandable: "",
2310
- meta: b[T][0],
2302
+ meta: y[T][0],
2311
2303
  alt: "Row image",
2312
2304
  class: "table__picture"
2313
- }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test(b[T].type) ? (n(), k(He, {
2305
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test(y[T].type) ? (n(), k(He, {
2314
2306
  key: 1,
2315
- modelValue: b[T].link,
2316
- "onUpdate:modelValue": (H) => b[T].link = H,
2307
+ modelValue: y[T].link,
2308
+ "onUpdate:modelValue": (H) => y[T].link = H,
2317
2309
  expandable: "",
2318
- meta: b[T],
2310
+ meta: y[T],
2319
2311
  alt: "Row image",
2320
2312
  class: "table__picture"
2321
- }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : b[T].link ? (n(), s("a", {
2313
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : y[T].link ? (n(), s("a", {
2322
2314
  key: 2,
2323
- href: b[T].link,
2315
+ href: y[T].link,
2324
2316
  style: { "font-size": "10pt" }
2325
- }, V(b[T].filename), 9, fa)) : (n(), s("div", va, " - "))
2317
+ }, V(y[T].filename), 9, fa)) : (n(), s("div", va, " - "))
2326
2318
  ])) : (n(), s("div", ya, " - "))
2327
2319
  ])) : (n(), s("div", ba, [
2328
2320
  e(r) ? (n(), s("span", ha, V(e(r).$actions.formatValue({
2329
- value: b[T],
2321
+ value: y[T],
2330
2322
  key: T,
2331
2323
  property: g
2332
- })), 1)) : (n(), s("span", $a, V(Array.isArray(b[T]) ? b[T].filter((H) => !!H).join(", ") : [void 0, null].includes(b[T]) ? "-" : b[T]), 1)),
2324
+ })), 1)) : (n(), s("span", $a, V(Array.isArray(y[T]) ? y[T].filter((H) => !!H).join(", ") : [void 0, null].includes(y[T]) ? "-" : y[T]), 1)),
2333
2325
  ((M = (oe = e(_e)(g)) == null ? void 0 : oe.indexes) == null ? void 0 : M.length) > 1 ? (n(), s("div", ga, [
2334
- (n(!0), s(x, null, Q(e(_e)(g).indexes.slice(1, 2), (H, se) => (n(), s("div", {
2326
+ (n(!0), s(N, null, Q(e(_e)(g).indexes.slice(1, 2), (H, se) => (n(), s("div", {
2335
2327
  key: `subvalue-${se}`,
2336
2328
  class: "table__cell-subvalue"
2337
2329
  }, V(e(r).$actions.formatValue({
2338
- value: b[T],
2330
+ value: y[T],
2339
2331
  key: T,
2340
2332
  property: g,
2341
2333
  index: H
2342
2334
  })), 1))), 128))
2343
- ])) : y("", !0)
2335
+ ])) : b("", !0)
2344
2336
  ]))
2345
2337
  ])
2346
2338
  ]))
2347
2339
  ]);
2348
2340
  }), 128)),
2349
- (F = v.actions) != null && F.length && e(o).md ? (n(), s("td", ka, [
2341
+ (U = v.actions) != null && U.length && e(o).md ? (n(), s("td", ka, [
2350
2342
  A("div", Va, [
2351
- (n(!0), s(x, null, Q(i(b), (T) => (n(), k(ie, {
2343
+ (n(!0), s(N, null, Q(i(y), (T) => (n(), k(ie, {
2352
2344
  key: `action-${T.action}`,
2353
2345
  small: "",
2354
2346
  variant: "alt",
2355
2347
  icon: T.icon,
2356
- style: he(B(b, T)),
2357
- onClick: (g) => T.click(b)
2348
+ style: he(B(y, T)),
2349
+ onClick: (g) => T.click(y)
2358
2350
  }, {
2359
2351
  default: f(() => [
2360
2352
  D(V(e(R)(T.label)), 1)
2361
2353
  ]),
2362
2354
  _: 2
2363
2355
  }, 1032, ["icon", "style", "onClick"]))), 128)),
2364
- l(b).length > 0 ? (n(), k(Oe, E({
2356
+ l(y).length > 0 ? (n(), k(Oe, E({
2365
2357
  key: 0,
2366
2358
  ref_for: !0
2367
2359
  }, {
2368
- subject: b,
2369
- actions: l(b)
2360
+ subject: y,
2361
+ actions: l(y)
2370
2362
  }), {
2371
2363
  default: f(({
2372
2364
  visible: T
@@ -2380,17 +2372,17 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2380
2372
  ])
2381
2373
  ]),
2382
2374
  _: 2
2383
- }, 1040)) : y("", !0)
2375
+ }, 1040)) : b("", !0)
2384
2376
  ])
2385
2377
  ])) : (le = v.actions) != null && le.length ? (n(), s("td", Ca, [
2386
2378
  A("div", {
2387
2379
  class: "table__mobile-actions-grid",
2388
- style: he(`grid-template-columns: repeat(${i(b).length + (l(b).length ? 1 : 0)}, 1fr);`)
2380
+ style: he(`grid-template-columns: repeat(${i(y).length + (l(y).length ? 1 : 0)}, 1fr);`)
2389
2381
  }, [
2390
- (n(!0), s(x, null, Q(i(b), (T) => (n(), k(ve, {
2382
+ (n(!0), s(N, null, Q(i(y), (T) => (n(), k(ve, {
2391
2383
  key: `action-${T.action}`,
2392
2384
  class: "table__mobile-actions-button",
2393
- onClick: (g) => T.click(b)
2385
+ onClick: (g) => T.click(y)
2394
2386
  }, {
2395
2387
  default: f(() => [
2396
2388
  q(J, {
@@ -2404,12 +2396,12 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2404
2396
  ]),
2405
2397
  _: 2
2406
2398
  }, 1032, ["onClick"]))), 128)),
2407
- l(b).length > 0 ? (n(), k(Oe, E({
2399
+ l(y).length > 0 ? (n(), k(Oe, E({
2408
2400
  key: 0,
2409
2401
  ref_for: !0
2410
2402
  }, {
2411
- subject: b,
2412
- actions: l(b)
2403
+ subject: y,
2404
+ actions: l(y)
2413
2405
  }), {
2414
2406
  default: f(() => [
2415
2407
  q(J, {
@@ -2418,12 +2410,12 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2418
2410
  })
2419
2411
  ]),
2420
2412
  _: 2
2421
- }, 1040)) : y("", !0)
2413
+ }, 1040)) : b("", !0)
2422
2414
  ], 4),
2423
2415
  A("div", {
2424
- id: `dropdown-${b._id}`
2416
+ id: `dropdown-${y._id}`
2425
2417
  }, null, 8, Oa)
2426
- ])) : y("", !0)
2418
+ ])) : b("", !0)
2427
2419
  ], 8, la);
2428
2420
  }), 128))
2429
2421
  ])),
@@ -2434,13 +2426,13 @@ const Qe = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-39b28171"]]), Yo = /* @_
2434
2426
  }, [
2435
2427
  A("div", Ba, V(e(R)("no_results", { capitalize: !0 })) + ". ", 1)
2436
2428
  ], 8, Aa)
2437
- ])) : y("", !0)
2429
+ ])) : b("", !0)
2438
2430
  ])
2439
- ])) : y("", !0);
2431
+ ])) : b("", !0);
2440
2432
  };
2441
2433
  }
2442
2434
  });
2443
- const Sa = /* @__PURE__ */ G(wa, [["__scopeId", "data-v-89303bb6"]]), Ta = /* @__PURE__ */ U({
2435
+ const Sa = /* @__PURE__ */ G(wa, [["__scopeId", "data-v-89303bb6"]]), Ta = /* @__PURE__ */ F({
2444
2436
  __name: "aeria-tabular",
2445
2437
  props: {
2446
2438
  individualActions: {},
@@ -2460,7 +2452,7 @@ const Sa = /* @__PURE__ */ G(wa, [["__scopeId", "data-v-89303bb6"]]), Ta = /* @_
2460
2452
  return Object.assign(c, u.componentProps);
2461
2453
  });
2462
2454
  return (c, r) => (n(), s("div", null, [
2463
- c.$slots.inner ? C(c.$slots, "inner", { key: 0 }) : y("", !0),
2455
+ c.$slots.inner ? C(c.$slots, "inner", { key: 0 }) : b("", !0),
2464
2456
  e(a).properties ? (n(), k(Sa, E({ key: 1 }, o.value, {
2465
2457
  key: e(a).$id
2466
2458
  }), ce({ _: 2 }, [
@@ -2470,10 +2462,10 @@ const Sa = /* @__PURE__ */ G(wa, [["__scopeId", "data-v-89303bb6"]]), Ta = /* @_
2470
2462
  C(c.$slots, m, de(ge(d)))
2471
2463
  ])
2472
2464
  }))
2473
- ]), 1040)) : y("", !0)
2465
+ ]), 1040)) : b("", !0)
2474
2466
  ]));
2475
2467
  }
2476
- }), ja = /* @__PURE__ */ U({
2468
+ }), ja = /* @__PURE__ */ F({
2477
2469
  __name: "aeria-grid",
2478
2470
  props: {
2479
2471
  list: { type: Boolean }
@@ -2492,7 +2484,7 @@ const Sa = /* @__PURE__ */ G(wa, [["__scopeId", "data-v-89303bb6"]]), Ta = /* @_
2492
2484
  const Ra = /* @__PURE__ */ G(ja, [["__scopeId", "data-v-438c4aed"]]), La = { key: 0 }, qa = {
2493
2485
  key: 1,
2494
2486
  class: "card__information"
2495
- }, za = /* @__PURE__ */ U({
2487
+ }, za = /* @__PURE__ */ F({
2496
2488
  __name: "aeria-grid",
2497
2489
  props: {
2498
2490
  individualActions: {},
@@ -2508,14 +2500,14 @@ const Ra = /* @__PURE__ */ G(ja, [["__scopeId", "data-v-438c4aed"]]), La = { key
2508
2500
  list: c.componentName === "list"
2509
2501
  }, {
2510
2502
  default: f(() => [
2511
- (n(!0), s(x, null, Q(e(t).items, (d) => (n(), k(un, {
2503
+ (n(!0), s(N, null, Q(e(t).items, (d) => (n(), k(un, {
2512
2504
  key: d,
2513
2505
  inactive: !!(e(a).active && !d[e(a).active]),
2514
2506
  horizontal: c.componentName === "list"
2515
2507
  }, ce({
2516
2508
  footer: f(() => [
2517
- e(a).title ? (n(), s("div", La, V(d[e(a).title]), 1)) : y("", !0),
2518
- e(a).information ? (n(), s("div", qa, V(d[e(a).information]), 1)) : y("", !0)
2509
+ e(a).title ? (n(), s("div", La, V(d[e(a).title]), 1)) : b("", !0),
2510
+ e(a).information ? (n(), s("div", qa, V(d[e(a).information]), 1)) : b("", !0)
2519
2511
  ]),
2520
2512
  actions: f(() => [
2521
2513
  c.individualActions.length > 0 ? (n(), k(Oe, E({
@@ -2537,7 +2529,7 @@ const Ra = /* @__PURE__ */ G(ja, [["__scopeId", "data-v-438c4aed"]]), La = { key
2537
2529
  ])
2538
2530
  ]),
2539
2531
  _: 2
2540
- }, 1040)) : y("", !0)
2532
+ }, 1040)) : b("", !0)
2541
2533
  ]),
2542
2534
  default: f(() => {
2543
2535
  var h;
@@ -2555,7 +2547,7 @@ const Ra = /* @__PURE__ */ G(ja, [["__scopeId", "data-v-438c4aed"]]), La = { key
2555
2547
  e(a).badge && Array.isArray(d[e(a).badge]) ? {
2556
2548
  name: "badge",
2557
2549
  fn: f(() => [
2558
- (n(!0), s(x, null, Q(d[e(a).badge], (h) => (n(), k($e, {
2550
+ (n(!0), s(N, null, Q(d[e(a).badge], (h) => (n(), k($e, {
2559
2551
  key: `${d._id}-${h}`,
2560
2552
  large: ""
2561
2553
  }, {
@@ -2600,7 +2592,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2600
2592
  }, Ea = { class: "crud__actions" }, Ha = { class: "crud__context-badge" }, Da = { key: 0 }, Qa = {
2601
2593
  key: 3,
2602
2594
  class: "crud__pagination"
2603
- }, yt = 30, Ga = /* @__PURE__ */ U({
2595
+ }, yt = 30, Ga = /* @__PURE__ */ F({
2604
2596
  __name: "aeria-crud",
2605
2597
  props: {
2606
2598
  collection: {},
@@ -2667,7 +2659,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2667
2659
  immediate: !0,
2668
2660
  flush: "post"
2669
2661
  });
2670
- const [b] = c((g) => (o.push(ze(o.currentRoute.value, {
2662
+ const [y] = c((g) => (o.push(ze(o.currentRoute.value, {
2671
2663
  query: {
2672
2664
  search: g || void 0
2673
2665
  }
@@ -2680,9 +2672,9 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2680
2672
  offset: 0
2681
2673
  })) : (l.filters = Ce(l.freshFilters), $.value = 0, O())));
2682
2674
  ue(() => l.textQuery, (g) => {
2683
- b(g);
2675
+ y(g);
2684
2676
  });
2685
- const F = (g) => {
2677
+ const U = (g) => {
2686
2678
  g.currentLayout = g.currentLayout === "tabular" ? g.description.layout.name : "tabular";
2687
2679
  };
2688
2680
  It(() => {
@@ -2745,12 +2737,12 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2745
2737
  return ye(Fe, X(() => a.collection)), ye("individualActions", le), (g, j) => {
2746
2738
  var M, H, se, ae, _, L, W;
2747
2739
  const ne = te("clickable"), oe = te("loading");
2748
- return n(), s(x, null, [
2740
+ return n(), s(N, null, [
2749
2741
  e(Ve) ? (n(), k(Yo, {
2750
2742
  key: e(l).$id,
2751
2743
  modelValue: e(Ve),
2752
2744
  "onUpdate:modelValue": j[0] || (j[0] = (w) => pt(Ve) ? Ve.value = w : null)
2753
- }, null, 8, ["modelValue"])) : y("", !0),
2745
+ }, null, 8, ["modelValue"])) : b("", !0),
2754
2746
  e(pe) ? (n(), k(Jo, {
2755
2747
  key: 1,
2756
2748
  visible: e(pe),
@@ -2780,7 +2772,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2780
2772
  C(g.$slots, w, de(ge(I)), void 0, !0)
2781
2773
  ])
2782
2774
  }))
2783
- ]), 1032, ["visible"])) : y("", !0),
2775
+ ]), 1032, ["visible"])) : b("", !0),
2784
2776
  !g.noActions && (e(l).description.search || Object.keys(e(l).availableFilters).length > 0 || ((M = e(l)) == null ? void 0 : M.actions.length) > 0 || g.$slots.actions || !g.noLayoutToggle && e(l).description.layout && ((H = e(l).description.layout) == null ? void 0 : H.name) !== "tabular") ? (n(), s("div", Fa, [
2785
2777
  e(l).description.search ? (n(), s("div", Ua, [
2786
2778
  q(ke, E({
@@ -2793,7 +2785,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2793
2785
  inputType: "search"
2794
2786
  }
2795
2787
  }), null, 16, ["modelValue"])
2796
- ])) : y("", !0),
2788
+ ])) : b("", !0),
2797
2789
  A("div", Ea, [
2798
2790
  T.value.length > 0 || !g.noLayoutToggle && e(l).description.layout && ((se = e(l).description.layout) == null ? void 0 : se.name) !== "tabular" ? (n(), k(Oe, { key: 0 }, ce({
2799
2791
  default: f(() => [
@@ -2807,7 +2799,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2807
2799
  D(V(e(l).filtersCount), 1)
2808
2800
  ]),
2809
2801
  _: 1
2810
- })) : y("", !0)
2802
+ })) : b("", !0)
2811
2803
  ]),
2812
2804
  _: 1
2813
2805
  })
@@ -2834,7 +2826,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2834
2826
  D(V(e(l).filtersCount), 1)
2835
2827
  ]),
2836
2828
  _: 1
2837
- })) : y("", !0)
2829
+ })) : b("", !0)
2838
2830
  ])
2839
2831
  ]),
2840
2832
  key: "0"
@@ -2844,7 +2836,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2844
2836
  fn: f(() => [
2845
2837
  P((n(), k(J, {
2846
2838
  icon: "table",
2847
- onClick: j[5] || (j[5] = (w) => F(e(l)))
2839
+ onClick: j[5] || (j[5] = (w) => U(e(l)))
2848
2840
  }, {
2849
2841
  default: f(() => [
2850
2842
  D(V(e(R)("change_layout", { capitalize: !0 })), 1)
@@ -2869,7 +2861,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2869
2861
  D(V(e(R)(w.label, { capitalize: !0 })), 1)
2870
2862
  ]),
2871
2863
  _: 2
2872
- }, 1032, ["icon", "disabled", "onClick"])) : y("", !0)
2864
+ }, 1032, ["icon", "disabled", "onClick"])) : b("", !0)
2873
2865
  ])
2874
2866
  }))
2875
2867
  ]), 1024)) : Object.keys(e(l).availableFilters).length > 0 ? (n(), k(ie, {
@@ -2885,11 +2877,11 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2885
2877
  D(V(e(l).filtersCount), 1)
2886
2878
  ]),
2887
2879
  _: 1
2888
- })) : y("", !0)
2880
+ })) : b("", !0)
2889
2881
  ]),
2890
2882
  _: 1
2891
- })) : y("", !0),
2892
- (n(!0), s(x, null, Q(e(l).actions.filter((w) => w.button), (w, I) => (n(), k(ie, {
2883
+ })) : b("", !0),
2884
+ (n(!0), s(N, null, Q(e(l).actions.filter((w) => w.button), (w, I) => (n(), k(ie, {
2893
2885
  key: `action-${I}`,
2894
2886
  icon: w.icon,
2895
2887
  disabled: e(l).selected.length === 0 && "selection" in w && w.selection,
@@ -2900,9 +2892,9 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2900
2892
  ]),
2901
2893
  _: 2
2902
2894
  }, 1032, ["icon", "disabled", "onClick"]))), 128)),
2903
- g.$slots.actions ? C(g.$slots, "actions", { key: 2 }, void 0, !0) : y("", !0)
2895
+ g.$slots.actions ? C(g.$slots, "actions", { key: 2 }, void 0, !0) : b("", !0)
2904
2896
  ])
2905
- ])) : y("", !0),
2897
+ ])) : b("", !0),
2906
2898
  P((n(), s("div", null, [
2907
2899
  e(l).itemsCount === 0 && !e(l).loading.getAll && S.value && (e(ee) || g.$slots.empty) ? (n(), s("div", Da, [
2908
2900
  e(ee) ? (n(), k(be(e(ee)), de(E({ key: 0 }, {
@@ -2921,7 +2913,7 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2921
2913
  D(V(e(R)("add_first_item", { capitalize: !0 })), 1)
2922
2914
  ]),
2923
2915
  _: 1
2924
- })) : y("", !0)
2916
+ })) : b("", !0)
2925
2917
  ]),
2926
2918
  _: 1
2927
2919
  }, 16)) : C(g.$slots, "empty", de(E({ key: 1 }, {
@@ -2958,12 +2950,12 @@ const Ve = Z(!1), Re = Z((...p) => null), vt = Z(), Fa = {
2958
2950
  pagination: e(l).pagination,
2959
2951
  onPaginate: Y
2960
2952
  }, null, 8, ["pagination"])
2961
- ])) : y("", !0)
2953
+ ])) : b("", !0)
2962
2954
  ], 64);
2963
2955
  };
2964
2956
  }
2965
2957
  });
2966
- const Al = /* @__PURE__ */ G(Ga, [["__scopeId", "data-v-d5684d74"]]), Wa = { class: "prompt" }, Ka = /* @__PURE__ */ U({
2958
+ const Al = /* @__PURE__ */ G(Ga, [["__scopeId", "data-v-d5684d74"]]), Wa = { class: "prompt" }, Ka = /* @__PURE__ */ F({
2967
2959
  __name: "aeria-prompt",
2968
2960
  props: {
2969
2961
  title: {},
@@ -2984,7 +2976,7 @@ const Al = /* @__PURE__ */ G(Ga, [["__scopeId", "data-v-d5684d74"]]), Wa = { cla
2984
2976
  class: "prompt__options",
2985
2977
  style: he(`grid-template-columns: repeat(${Object.keys(t.options).length}, 1fr)`)
2986
2978
  }, [
2987
- (n(!0), s(x, null, Q(Object.entries(t.options), ([c, r], m) => (n(), k(ve, {
2979
+ (n(!0), s(N, null, Q(Object.entries(t.options), ([c, r], m) => (n(), k(ve, {
2988
2980
  key: `option-${m}`,
2989
2981
  class: K(`
2990
2982
  prompt__option
@@ -3016,7 +3008,7 @@ const Al = /* @__PURE__ */ G(Ga, [["__scopeId", "data-v-d5684d74"]]), Wa = { cla
3016
3008
  ]), 1024));
3017
3009
  }
3018
3010
  });
3019
- const Xa = /* @__PURE__ */ G(Ka, [["__scopeId", "data-v-c069c1ef"]]), Ya = { class: "toast__content" }, Ja = { class: "toast__time" }, Za = /* @__PURE__ */ U({
3011
+ const Xa = /* @__PURE__ */ G(Ka, [["__scopeId", "data-v-c069c1ef"]]), Ya = { class: "toast__content" }, Ja = { class: "toast__time" }, Za = /* @__PURE__ */ F({
3020
3012
  __name: "aeria-toast",
3021
3013
  props: {
3022
3014
  idx: {},
@@ -3050,7 +3042,7 @@ const Xa = /* @__PURE__ */ G(Ka, [["__scopeId", "data-v-c069c1ef"]]), Ya = { cla
3050
3042
  };
3051
3043
  }
3052
3044
  });
3053
- const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-21bbe178"]]), Na = ["innerHTML"], xa = { class: "main__toasts" }, el = ["innerHTML"], tl = /* @__PURE__ */ U({
3045
+ const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-21bbe178"]]), Na = ["innerHTML"], xa = { class: "main__toasts" }, el = ["innerHTML"], tl = /* @__PURE__ */ F({
3054
3046
  __name: "aeria-main",
3055
3047
  setup(p) {
3056
3048
  const u = re("meta"), a = X(() => u.themeOverride || u.theme);
@@ -3097,8 +3089,8 @@ const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-21bbe178"]]), Na = ["inn
3097
3089
  key: 0,
3098
3090
  style: { "white-space": "pre-wrap" },
3099
3091
  innerHTML: e(u).modal.body
3100
- }, null, 8, Na)) : y("", !0),
3101
- e(u).modal.component ? (n(), k(be(e(u).modal.component), { key: 1 })) : y("", !0)
3092
+ }, null, 8, Na)) : b("", !0),
3093
+ e(u).modal.component ? (n(), k(be(e(u).modal.component), { key: 1 })) : b("", !0)
3102
3094
  ]),
3103
3095
  _: 1
3104
3096
  }, 16, ["modelValue"]),
@@ -3107,9 +3099,9 @@ const Pa = /* @__PURE__ */ G(Za, [["__scopeId", "data-v-21bbe178"]]), Na = ["inn
3107
3099
  D(V(e(u).prompt.body), 1)
3108
3100
  ]),
3109
3101
  _: 1
3110
- }, 16)) : y("", !0),
3102
+ }, 16)) : b("", !0),
3111
3103
  A("div", xa, [
3112
- (n(!0), s(x, null, Q(e(u).toasts, (r) => (n(), k(Pa, E({ ref_for: !0 }, r, {
3104
+ (n(!0), s(N, null, Q(e(u).toasts, (r) => (n(), k(Pa, E({ ref_for: !0 }, r, {
3113
3105
  key: `toast-${r.itr}`
3114
3106
  }), {
3115
3107
  default: f(() => [
@@ -3128,7 +3120,7 @@ const Bl = /* @__PURE__ */ G(tl, [["__scopeId", "data-v-1166be3d"]]);
3128
3120
  const nl = {}, ol = { class: "menu" };
3129
3121
  function al(p, u) {
3130
3122
  return n(), s("menu", ol, [
3131
- (n(!0), s(x, null, Q(Object.keys(p.$slots), (a) => (n(), s("div", {
3123
+ (n(!0), s(N, null, Q(Object.keys(p.$slots), (a) => (n(), s("div", {
3132
3124
  key: a,
3133
3125
  class: "menu__entry"
3134
3126
  }, [
@@ -3145,7 +3137,7 @@ const wl = /* @__PURE__ */ G(nl, [["render", al], ["__scopeId", "data-v-3cfef7fb
3145
3137
  }, rl = ["onClick"], ul = {
3146
3138
  key: 1,
3147
3139
  class: "tabs__context-menu"
3148
- }, cl = ["onClick"], dl = /* @__PURE__ */ U({
3140
+ }, cl = ["onClick"], dl = /* @__PURE__ */ F({
3149
3141
  __name: "aeria-tabs",
3150
3142
  props: {
3151
3143
  query: {},
@@ -3181,8 +3173,8 @@ const wl = /* @__PURE__ */ G(nl, [["render", al], ["__scopeId", "data-v-3cfef7fb
3181
3173
  e(o).md && !m.dropdown ? (n(), s("div", sl, [
3182
3174
  m.$slots.default ? (n(), s("div", il, [
3183
3175
  C(m.$slots, "default", {}, void 0, !0)
3184
- ])) : y("", !0),
3185
- (n(!0), s(x, null, Q(Object.keys(m.$slots).filter((i) => i !== "default"), (i, l) => (n(), s("div", {
3176
+ ])) : b("", !0),
3177
+ (n(!0), s(N, null, Q(Object.keys(m.$slots).filter((i) => i !== "default"), (i, l) => (n(), s("div", {
3186
3178
  key: i,
3187
3179
  class: K({
3188
3180
  tabs__tab: !0,
@@ -3228,7 +3220,7 @@ const wl = /* @__PURE__ */ G(nl, [["render", al], ["__scopeId", "data-v-3cfef7fb
3228
3220
  };
3229
3221
  }
3230
3222
  });
3231
- const pl = /* @__PURE__ */ G(dl, [["__scopeId", "data-v-a20914ab"]]), ml = U({
3223
+ const pl = /* @__PURE__ */ G(dl, [["__scopeId", "data-v-a20914ab"]]), ml = F({
3232
3224
  props: {
3233
3225
  initialValue: String,
3234
3226
  promise: Promise
@@ -3239,7 +3231,7 @@ const pl = /* @__PURE__ */ G(dl, [["__scopeId", "data-v-a20914ab"]]), ml = U({
3239
3231
  u.value = a;
3240
3232
  }), () => St("div", u.value);
3241
3233
  }
3242
- }), _l = ["onClick"], fl = { key: 1 }, vl = /* @__PURE__ */ U({
3234
+ }), _l = ["onClick"], fl = { key: 1 }, vl = /* @__PURE__ */ F({
3243
3235
  __name: "aeria-crud-topbar",
3244
3236
  props: {
3245
3237
  collection: {}
@@ -3280,17 +3272,17 @@ const pl = /* @__PURE__ */ G(dl, [["__scopeId", "data-v-a20914ab"]]), ml = U({
3280
3272
  }, null, 8, ["promise"])
3281
3273
  ]),
3282
3274
  _: 2
3283
- }, 1024)) : y("", !0)
3275
+ }, 1024)) : b("", !0)
3284
3276
  ], 8, _l)
3285
3277
  ])
3286
3278
  }))
3287
- ]), 1024)) : y("", !0);
3279
+ ]), 1024)) : b("", !0);
3288
3280
  }
3289
3281
  });
3290
3282
  const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3291
3283
  __proto__: null,
3292
3284
  default: yl
3293
- }, Symbol.toStringTag, { value: "Module" })), Sl = /* @__PURE__ */ U({
3285
+ }, Symbol.toStringTag, { value: "Module" })), Sl = /* @__PURE__ */ F({
3294
3286
  __name: "aeria-password-form",
3295
3287
  props: {
3296
3288
  modelValue: {}
@@ -3344,7 +3336,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @_
3344
3336
  {
3345
3337
  path: "signin",
3346
3338
  name: "/user/signin",
3347
- component: () => import("./signin-431d7111.js"),
3339
+ component: () => import("./signin-e3f3814c.js"),
3348
3340
  meta: {
3349
3341
  title: "Autenticação"
3350
3342
  }
@@ -3352,7 +3344,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @_
3352
3344
  {
3353
3345
  path: "signup",
3354
3346
  name: "/user/signup",
3355
- component: () => import("./signup-91fb306e.js"),
3347
+ component: () => import("./signup-6ebc85a7.js"),
3356
3348
  meta: {
3357
3349
  title: "Registro"
3358
3350
  }
@@ -3360,7 +3352,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @_
3360
3352
  {
3361
3353
  path: "activation",
3362
3354
  name: "/user/activation",
3363
- component: () => import("./activation-d3d9112d.js"),
3355
+ component: () => import("./activation-1b36aabc.js"),
3364
3356
  meta: {
3365
3357
  title: "Ativação"
3366
3358
  }
@@ -3382,7 +3374,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @_
3382
3374
  name: "/dashboard/:collection",
3383
3375
  props: !0,
3384
3376
  components: {
3385
- default: () => import("./index-3fdfd1f3.js"),
3377
+ default: () => import("./index-70c6f74d.js"),
3386
3378
  topbar: () => Promise.resolve().then(() => bl)
3387
3379
  },
3388
3380
  meta: {
@@ -3394,7 +3386,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @_
3394
3386
  name: "/dashboard/:collection/:id",
3395
3387
  props: !0,
3396
3388
  components: {
3397
- default: () => import("./_id_-8a0df698.js")
3389
+ default: () => import("./_id_-8ba0d8fd.js")
3398
3390
  },
3399
3391
  meta: {
3400
3392
  title: "%viewTitle%"
@@ -3412,7 +3404,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @_
3412
3404
  children: [
3413
3405
  {
3414
3406
  path: "profile",
3415
- component: () => import("./index-da14873f.js"),
3407
+ component: () => import("./index-866dbb74.js"),
3416
3408
  meta: {
3417
3409
  title: "Meu perfil",
3418
3410
  icon: "user-square"
@@ -3421,7 +3413,7 @@ const yl = /* @__PURE__ */ G(vl, [["__scopeId", "data-v-5f3141a5"]]), bl = /* @_
3421
3413
  {
3422
3414
  path: "changepass",
3423
3415
  name: "/dashboard/user/changepass",
3424
- component: () => import("./index-00a874e7.js"),
3416
+ component: () => import("./index-7248a238.js"),
3425
3417
  meta: {
3426
3418
  title: "Mudar senha",
3427
3419
  icon: "lock"