@aeria-ui/ui 0.0.199 → 0.0.201

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.
@@ -51,7 +51,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
51
51
  for (const [a, l] of u)
52
52
  o[a] = l;
53
53
  return o;
54
- }, rl = /* @__PURE__ */ E(Ct, [["__scopeId", "data-v-3ea933d4"]]), Ot = /* @__PURE__ */ M({
54
+ }, sl = /* @__PURE__ */ E(Ct, [["__scopeId", "data-v-3ea933d4"]]), Ot = /* @__PURE__ */ M({
55
55
  __name: "aeria-badge",
56
56
  props: {
57
57
  large: { type: Boolean },
@@ -145,10 +145,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
145
145
  ])) : h("", !0)
146
146
  ], 2));
147
147
  }
148
- }), H = /* @__PURE__ */ E(St, [["__scopeId", "data-v-263a2782"]]), wt = { class: "button__content" }, Tt = {
148
+ }), H = /* @__PURE__ */ E(St, [["__scopeId", "data-v-263a2782"]]), wt = {
149
149
  key: 1,
150
150
  class: "button__content"
151
- }, jt = /* @__PURE__ */ M({
151
+ }, Tt = /* @__PURE__ */ M({
152
152
  __name: "aeria-button",
153
153
  props: {
154
154
  size: {},
@@ -183,22 +183,21 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
183
183
  default: y(() => [
184
184
  e.icon ? (n(), $(H, {
185
185
  key: 0,
186
- icon: e.icon
186
+ icon: e.icon,
187
+ class: "button__content"
187
188
  }, {
188
189
  default: y(() => [
189
- O("div", wt, [
190
- C(l.$slots, "default", {}, void 0, !0)
191
- ])
190
+ C(l.$slots, "default", {}, void 0, !0)
192
191
  ]),
193
192
  _: 3
194
- }, 8, ["icon"])) : (n(), s("div", Tt, [
193
+ }, 8, ["icon"])) : (n(), s("div", wt, [
195
194
  C(l.$slots, "default", {}, void 0, !0)
196
195
  ]))
197
196
  ]),
198
197
  _: 3
199
198
  }, 8, ["class", "dummy", "disabled"]));
200
199
  }
201
- }), le = /* @__PURE__ */ E(jt, [["__scopeId", "data-v-cef119a2"]]), Rt = { class: "card__picture" }, qt = { class: "card__footer" }, Lt = { class: "card__footer-upper" }, xt = { class: "card__actions" }, Mt = { class: "card__badge" }, zt = /* @__PURE__ */ M({
200
+ }), le = /* @__PURE__ */ E(Tt, [["__scopeId", "data-v-7b10f012"]]), jt = { class: "card__picture" }, Rt = { class: "card__footer" }, qt = { class: "card__footer-upper" }, Lt = { class: "card__actions" }, xt = { class: "card__badge" }, Mt = /* @__PURE__ */ M({
202
201
  __name: "aeria-card",
203
202
  props: {
204
203
  inactive: { type: Boolean },
@@ -212,31 +211,31 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
212
211
  { "card--horizontal": e.horizontal }
213
212
  ])
214
213
  }, [
215
- O("div", Rt, [
214
+ O("div", jt, [
216
215
  C(u.$slots, "default", {}, void 0, !0)
217
216
  ]),
218
- O("div", qt, [
219
- O("div", Lt, [
217
+ O("div", Rt, [
218
+ O("div", qt, [
220
219
  O("div", null, [
221
220
  C(u.$slots, "footer", {}, void 0, !0)
222
221
  ]),
223
- O("div", xt, [
222
+ O("div", Lt, [
224
223
  u.$slots.actions ? C(u.$slots, "actions", { key: 0 }, void 0, !0) : h("", !0)
225
224
  ])
226
225
  ]),
227
- O("div", Mt, [
226
+ O("div", xt, [
228
227
  C(u.$slots, "badge", {}, void 0, !0)
229
228
  ])
230
229
  ])
231
230
  ], 2));
232
231
  }
233
- }), Et = /* @__PURE__ */ E(zt, [["__scopeId", "data-v-e7d2c665"]]), Ft = { class: "panel__header-left" }, Ut = {
232
+ }), zt = /* @__PURE__ */ E(Mt, [["__scopeId", "data-v-e7d2c665"]]), Et = { class: "panel__header-left" }, Ft = {
234
233
  key: 1,
235
234
  class: "panel__header-title"
236
- }, Ht = {
235
+ }, Ut = {
237
236
  key: 2,
238
237
  style: { "margin-left": "auto" }
239
- }, Dt = /* @__PURE__ */ M({
238
+ }, Ht = /* @__PURE__ */ M({
240
239
  __name: "aeria-panel",
241
240
  props: {
242
241
  closeHint: { type: Boolean, default: !1 },
@@ -300,9 +299,9 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
300
299
  { "panel__header--outer": e.outerHeader }
301
300
  ])
302
301
  }, [
303
- O("div", Ft, [
304
- m.$slots.header ? C(m.$slots, "header", { key: 0 }, void 0, !0) : e.title ? (n(), s("div", Ut, V(e.title), 1)) : h("", !0),
305
- m.$slots.extra ? (n(), s("div", Ht, [
302
+ O("div", Et, [
303
+ m.$slots.header ? C(m.$slots, "header", { key: 0 }, void 0, !0) : e.title ? (n(), s("div", Ft, V(e.title), 1)) : h("", !0),
304
+ m.$slots.extra ? (n(), s("div", Ut, [
306
305
  C(m.$slots, "extra", {}, void 0, !0)
307
306
  ])) : h("", !0)
308
307
  ]),
@@ -366,10 +365,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
366
365
  ]) : h("", !0);
367
366
  };
368
367
  }
369
- }), Oe = /* @__PURE__ */ E(Dt, [["__scopeId", "data-v-8463f8df"]]), Qt = { class: "content__body" }, Gt = {
368
+ }), Oe = /* @__PURE__ */ E(Ht, [["__scopeId", "data-v-8463f8df"]]), Dt = { class: "content__body" }, Qt = {
370
369
  key: 0,
371
370
  class: "content__section"
372
- }, Wt = { class: "content__item" }, Yt = /* @__PURE__ */ M({
371
+ }, Gt = { class: "content__item" }, Wt = /* @__PURE__ */ M({
373
372
  __name: "aeria-context-menu",
374
373
  props: {
375
374
  actions: {},
@@ -438,8 +437,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
438
437
  style: { "--panel-min-width": "0" }
439
438
  }, {
440
439
  default: y(() => [
441
- O("div", Qt, [
442
- d.$slots.header ? (n(), s("div", Gt, [
440
+ O("div", Dt, [
441
+ d.$slots.header ? (n(), s("div", Qt, [
443
442
  C(d.$slots, "header", {}, void 0, !0)
444
443
  ])) : h("", !0),
445
444
  Object.keys(d.$slots).filter((b) => !["default", "extra", "header"].includes(b)).length > 0 ? (n(), s("div", {
@@ -485,7 +484,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
485
484
  class: "content__section",
486
485
  onClick: v[3] || (v[3] = (b) => l.value = !1)
487
486
  }, [
488
- O("div", Wt, [
487
+ O("div", Gt, [
489
488
  d.$slots.extra ? C(d.$slots, "extra", { key: 0 }, void 0, !0) : h("", !0)
490
489
  ])
491
490
  ])) : h("", !0)
@@ -509,7 +508,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
509
508
  ], 64);
510
509
  };
511
510
  }
512
- }), Ve = /* @__PURE__ */ E(Yt, [["__scopeId", "data-v-ee3ea72f"]]), Kt = { class: "info__content" }, Xt = /* @__PURE__ */ M({
511
+ }), Ve = /* @__PURE__ */ E(Wt, [["__scopeId", "data-v-ee3ea72f"]]), Yt = { class: "info__content" }, Kt = /* @__PURE__ */ M({
513
512
  __name: "aeria-info",
514
513
  props: {
515
514
  where: { default: "top" }
@@ -528,7 +527,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
528
527
  `info__bubble--${e.where}`
529
528
  ])
530
529
  }, [
531
- O("div", Kt, [
530
+ O("div", Yt, [
532
531
  C(a.$slots, "text", {}, void 0, !0)
533
532
  ])
534
533
  ], 2)) : h("", !0),
@@ -539,16 +538,16 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
539
538
  ], 32)
540
539
  ], 32)) : C(a.$slots, "default", { key: 1 }, void 0, !0);
541
540
  }
542
- }), Jt = /* @__PURE__ */ E(Xt, [["__scopeId", "data-v-15a38847"]]), Zt = { class: "input" }, Pt = {
541
+ }), Xt = /* @__PURE__ */ E(Kt, [["__scopeId", "data-v-15a38847"]]), Jt = { class: "input" }, Zt = {
543
542
  key: 0,
544
543
  class: "input__label"
545
- }, Nt = {
544
+ }, Pt = {
546
545
  key: 1,
547
546
  class: "input__hint"
548
- }, en = ["placeholder", "readonly", "value"], tn = ["value"], nn = {
547
+ }, Nt = ["placeholder", "readonly", "value"], en = ["value"], tn = {
549
548
  key: 1,
550
549
  class: "input__clipboard"
551
- }, an = /* @__PURE__ */ M({
550
+ }, nn = /* @__PURE__ */ M({
552
551
  __name: "aeria-input",
553
552
  props: {
554
553
  modelValue: {},
@@ -653,11 +652,11 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
653
652
  };
654
653
  return (w, J) => {
655
654
  const N = ee("focus"), ue = ee("clickable");
656
- return n(), s("label", Zt, [
657
- t(p) ? h("", !0) : (n(), s("div", Pt, [
655
+ return n(), s("label", Jt, [
656
+ t(p) ? h("", !0) : (n(), s("div", Zt, [
658
657
  w.$slots.default ? C(w.$slots, "default", { key: 0 }, void 0, !0) : C(w.$slots, "description", { key: 1 }, void 0, !0)
659
658
  ])),
660
- w.$slots.hint ? (n(), s("div", Nt, [
659
+ w.$slots.hint ? (n(), s("div", Pt, [
661
660
  C(w.$slots, "hint", {}, void 0, !0)
662
661
  ])) : h("", !0),
663
662
  "element" in t(l) && t(l).element === "textarea" ? (n(), s("div", {
@@ -677,7 +676,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
677
676
  `input__input--${t(b)}`
678
677
  ]),
679
678
  onInput: I
680
- }, null, 42, en), [
679
+ }, null, 42, Nt), [
681
680
  [N, t(l).focus]
682
681
  ])
683
682
  ], 2)) : (n(), s("div", {
@@ -698,7 +697,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
698
697
  ],
699
698
  onInput: I,
700
699
  onChange: J[0] || (J[0] = (ce) => a("change", ce))
701
- }), null, 16, tn), [
700
+ }), null, 16, en), [
702
701
  [N, t(l).focus]
703
702
  ]),
704
703
  t(c) ? (n(), $(H, {
@@ -709,8 +708,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
709
708
  `input__icon--${t(b)}`
710
709
  ])
711
710
  }, null, 8, ["icon", "class"])) : h("", !0),
712
- t(d) ? (n(), s("div", nn, [
713
- L(Jt, null, {
711
+ t(d) ? (n(), s("div", tn, [
712
+ L(Xt, null, {
714
713
  text: y(() => [...J[2] || (J[2] = [
715
714
  D("Copiar", -1)
716
715
  ])]),
@@ -735,10 +734,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
735
734
  ]);
736
735
  };
737
736
  }
738
- }), _e = /* @__PURE__ */ E(an, [["__scopeId", "data-v-6e5fdbe7"]]), on = {
737
+ }), _e = /* @__PURE__ */ E(nn, [["__scopeId", "data-v-6e5fdbe7"]]), an = {
739
738
  key: 1,
740
739
  value: ""
741
- }, ln = ["value", "data-selected"], sn = /* @__PURE__ */ M({
740
+ }, on = ["value", "data-selected"], ln = /* @__PURE__ */ M({
742
741
  __name: "aeria-select",
743
742
  props: {
744
743
  modelValue: {},
@@ -790,19 +789,19 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
790
789
  key: 0,
791
790
  icon: t(c).icon
792
791
  }, null, 8, ["icon"])) : h("", !0),
793
- !o.multiple && !e.required ? (n(), s("option", on, V(t(R)("none")), 1)) : h("", !0),
792
+ !o.multiple && !e.required ? (n(), s("option", an, V(t(R)("none")), 1)) : h("", !0),
794
793
  (n(!0), s(Y, null, z(t(c) && "enum" in t(c) ? t(c).enum : [], (_) => (n(), s("option", {
795
794
  key: String(_),
796
795
  value: _,
797
796
  "data-selected": d(_)
798
- }, V(t(c)?.translate && typeof _ == "string" ? t(R)(_) : _), 9, ln))), 128)),
797
+ }, V(t(c)?.translate && typeof _ == "string" ? t(R)(_) : _), 9, on))), 128)),
799
798
  C(m.$slots, "default", {}, void 0, !0)
800
799
  ], 16));
801
800
  }
802
- }), Qe = /* @__PURE__ */ E(sn, [["__scopeId", "data-v-6294bdce"]]), rn = { class: "pagination" }, un = { class: "pagination__arrows" }, cn = ["value"], dn = {
801
+ }), Qe = /* @__PURE__ */ E(ln, [["__scopeId", "data-v-6294bdce"]]), sn = { class: "pagination" }, rn = { class: "pagination__arrows" }, un = ["value"], cn = {
803
802
  key: 0,
804
803
  class: "pagination__summary"
805
- }, mn = /* @__PURE__ */ M({
804
+ }, dn = /* @__PURE__ */ M({
806
805
  __name: "aeria-pagination",
807
806
  props: {
808
807
  pagination: {},
@@ -829,8 +828,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
829
828
  offset: l.value * c.value,
830
829
  limit: c.value
831
830
  });
832
- }), (d, v) => (n(), s("div", rn, [
833
- O("div", un, [
831
+ }), (d, v) => (n(), s("div", sn, [
832
+ O("div", rn, [
834
833
  L(de, {
835
834
  disabled: l.value === 0,
836
835
  onClick: v[0] || (v[0] = (m) => l.value = 0)
@@ -880,12 +879,12 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
880
879
  (n(!0), s(Y, null, z(t(ct), (m) => (n(), s("option", {
881
880
  key: `limit-${m}`,
882
881
  value: m
883
- }, V(m), 9, cn))), 128))
882
+ }, V(m), 9, un))), 128))
884
883
  ]),
885
884
  _: 1
886
885
  }, 8, ["modelValue"])
887
886
  ]),
888
- e.noSummary ? h("", !0) : (n(), s("div", dn, [
887
+ e.noSummary ? h("", !0) : (n(), s("div", cn, [
889
888
  D(V(t(R)("Page")) + " ", 1),
890
889
  (n(), $(_e, {
891
890
  key: l.value,
@@ -904,10 +903,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
904
903
  ]))
905
904
  ]));
906
905
  }
907
- }), pn = /* @__PURE__ */ E(mn, [["__scopeId", "data-v-8cd299be"]]), fn = { class: "checkbox__text" }, vn = ["innerHTML"], yn = { class: "checkbox__hint" }, hn = ["innerHTML"], bn = {
906
+ }), mn = /* @__PURE__ */ E(dn, [["__scopeId", "data-v-8cd299be"]]), pn = { class: "checkbox__text" }, fn = ["innerHTML"], vn = { class: "checkbox__hint" }, yn = ["innerHTML"], hn = {
908
907
  inheritAttrs: !1
909
- }, _n = /* @__PURE__ */ M({
910
- ...bn,
908
+ }, bn = /* @__PURE__ */ M({
909
+ ...hn,
911
910
  __name: "aeria-checkbox",
912
911
  props: {
913
912
  modelValue: {},
@@ -982,18 +981,18 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
982
981
  }), null, 16), [
983
982
  [et, d.value]
984
983
  ]),
985
- O("div", fn, [
984
+ O("div", pn, [
986
985
  O("div", null, [
987
986
  m.$slots.description ? C(m.$slots, "description", { key: 0 }, void 0, !0) : t(p) ? (n(), s("div", {
988
987
  key: 1,
989
988
  innerHTML: t(a)?.translate && typeof t(p) == "string" ? t(R)(t(p)) : t(p)
990
- }, null, 8, vn)) : C(m.$slots, "default", { key: 2 }, void 0, !0)
989
+ }, null, 8, fn)) : C(m.$slots, "default", { key: 2 }, void 0, !0)
991
990
  ]),
992
- O("div", yn, [
991
+ O("div", vn, [
993
992
  m.$slots.hint ? C(m.$slots, "hint", { key: 0 }, void 0, !0) : t(a)?.hint ? (n(), s("div", {
994
993
  key: 1,
995
994
  innerHTML: t(a).hint
996
- }, null, 8, hn)) : h("", !0)
995
+ }, null, 8, yn)) : h("", !0)
997
996
  ])
998
997
  ])
999
998
  ], 2)), [
@@ -1001,10 +1000,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1001
1000
  ]);
1002
1001
  };
1003
1002
  }
1004
- }), $n = /* @__PURE__ */ E(_n, [["__scopeId", "data-v-5ef340be"]]), gn = {
1003
+ }), _n = /* @__PURE__ */ E(bn, [["__scopeId", "data-v-5ef340be"]]), $n = {
1005
1004
  inheritAttrs: !1
1006
- }, kn = /* @__PURE__ */ M({
1007
- ...gn,
1005
+ }, gn = /* @__PURE__ */ M({
1006
+ ...$n,
1008
1007
  __name: "aeria-options",
1009
1008
  props: {
1010
1009
  modelValue: {},
@@ -1037,7 +1036,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1037
1036
  key: `option-${v}`,
1038
1037
  class: "options__checkbox"
1039
1038
  }, [
1040
- L($n, x({ ref_for: !0 }, {
1039
+ L(_n, x({ ref_for: !0 }, {
1041
1040
  value: v,
1042
1041
  readOnly: t(l),
1043
1042
  property: e.property
@@ -1048,10 +1047,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1048
1047
  ]))), 128))
1049
1048
  ], 4));
1050
1049
  }
1051
- }), Vn = /* @__PURE__ */ E(kn, [["__scopeId", "data-v-b22b359b"]]), Cn = { class: "switch-wrapper" }, On = { key: 1 }, An = {
1050
+ }), kn = /* @__PURE__ */ E(gn, [["__scopeId", "data-v-b22b359b"]]), Vn = { class: "switch-wrapper" }, Cn = { key: 1 }, On = {
1052
1051
  inheritAttrs: !1
1053
- }, In = /* @__PURE__ */ M({
1054
- ...An,
1052
+ }, An = /* @__PURE__ */ M({
1053
+ ...On,
1055
1054
  __name: "aeria-switch",
1056
1055
  props: {
1057
1056
  modelValue: {},
@@ -1069,7 +1068,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1069
1068
  };
1070
1069
  return (p, d) => {
1071
1070
  const v = ee("clickable");
1072
- return n(), s("div", Cn, [
1071
+ return n(), s("div", Vn, [
1073
1072
  K((n(), s("a", {
1074
1073
  class: U([
1075
1074
  "switch",
@@ -1090,14 +1089,14 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1090
1089
  blocked: t(c)
1091
1090
  }]
1092
1091
  ]),
1093
- p.$slots.default ? C(p.$slots, "default", { key: 0 }, void 0, !0) : (n(), s("div", On, V(t(l)?.description || e.propertyName), 1))
1092
+ p.$slots.default ? C(p.$slots, "default", { key: 0 }, void 0, !0) : (n(), s("div", Cn, V(t(l)?.description || e.propertyName), 1))
1094
1093
  ]);
1095
1094
  };
1096
1095
  }
1097
- }), Bn = /* @__PURE__ */ E(In, [["__scopeId", "data-v-ae45597d"]]), Sn = { class: "picture" }, wn = { style: { position: "fixed", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, Tn = ["src", "alt"], jn = {
1096
+ }), In = /* @__PURE__ */ E(An, [["__scopeId", "data-v-ae45597d"]]), Bn = { class: "picture" }, Sn = { style: { position: "fixed", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, wn = ["src", "alt"], Tn = {
1098
1097
  key: 0,
1099
1098
  class: "picture__meta"
1100
- }, Rn = ["src"], qn = { key: 5 }, Ln = /* @__PURE__ */ M({
1099
+ }, jn = ["src"], Rn = { key: 5 }, qn = /* @__PURE__ */ M({
1101
1100
  __name: "aeria-picture",
1102
1101
  props: {
1103
1102
  url: {},
@@ -1115,12 +1114,12 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1115
1114
  const u = e, o = G(() => u.fileId ? `${Je}/file/${u.fileId}/picture` : u.url || u.modelValue), a = X(!1);
1116
1115
  return (l, c) => {
1117
1116
  const r = ee("overlay");
1118
- return n(), s("figure", Sn, [
1117
+ return n(), s("figure", Bn, [
1119
1118
  o.value && a.value ? (n(), $(Fe, {
1120
1119
  key: 0,
1121
1120
  to: "main"
1122
1121
  }, [
1123
- K((n(), s("div", wn, [
1122
+ K((n(), s("div", Sn, [
1124
1123
  O("img", {
1125
1124
  src: o.value,
1126
1125
  alt: e.alt,
@@ -1129,8 +1128,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1129
1128
  objectFit: "contain"
1130
1129
  },
1131
1130
  onClick: c[0] || (c[0] = (p) => a.value = !0)
1132
- }, null, 8, Tn),
1133
- e.meta?.owner ? (n(), s("div", jn, V(l.t("created_by")) + " " + V(e.meta.owner.name) + " em " + V(l.formatDateTime(e.meta.created_at, { hours: !0 })), 1)) : h("", !0)
1131
+ }, null, 8, wn),
1132
+ e.meta?.owner ? (n(), s("div", Tn, V(l.t("created_by")) + " " + V(e.meta.owner.name) + " em " + V(l.formatDateTime(e.meta.created_at, { hours: !0 })), 1)) : h("", !0)
1134
1133
  ])), [
1135
1134
  [r, {
1136
1135
  layer: 60,
@@ -1156,7 +1155,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1156
1155
  onClick: c[1] || (c[1] = () => {
1157
1156
  e.expandable && (a.value = !0);
1158
1157
  })
1159
- }, null, 14, Rn)) : l.$slots.fallback ? C(l.$slots, "fallback", { key: 2 }, void 0, !0) : l.$slots.default ? C(l.$slots, "default", { key: 3 }, void 0, !0) : (n(), s("svg", {
1158
+ }, null, 14, jn)) : l.$slots.fallback ? C(l.$slots, "fallback", { key: 2 }, void 0, !0) : l.$slots.default ? C(l.$slots, "default", { key: 3 }, void 0, !0) : (n(), s("svg", {
1160
1159
  key: 4,
1161
1160
  class: U(["picture__background", [
1162
1161
  { "picture__image--bordered": e.bordered }
@@ -1187,16 +1186,16 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1187
1186
  "vector-effect": "non-scaling-stroke"
1188
1187
  }, null, -1)
1189
1188
  ])], 6)),
1190
- l.$slots.caption ? (n(), s("figcaption", qn, [
1189
+ l.$slots.caption ? (n(), s("figcaption", Rn, [
1191
1190
  C(l.$slots, "caption", {}, void 0, !0)
1192
1191
  ])) : h("", !0)
1193
1192
  ]);
1194
1193
  };
1195
1194
  }
1196
- }), Le = /* @__PURE__ */ E(Ln, [["__scopeId", "data-v-6705b19f"]]), xn = { class: "item" }, Mn = { class: "item__presentation" }, zn = {
1195
+ }), Le = /* @__PURE__ */ E(qn, [["__scopeId", "data-v-6705b19f"]]), Ln = { class: "item" }, xn = { class: "item__presentation" }, Mn = {
1197
1196
  key: 1,
1198
1197
  class: "item__name"
1199
- }, En = { class: "item__size" }, Fn = /* @__PURE__ */ M({
1198
+ }, zn = { class: "item__size" }, En = /* @__PURE__ */ M({
1200
1199
  __name: "aeria-file-item",
1201
1200
  props: {
1202
1201
  modelValue: {}
@@ -1212,7 +1211,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1212
1211
  "TB"
1213
1212
  ][c]}`;
1214
1213
  };
1215
- return (l, c) => (n(), s("div", xn, [
1214
+ return (l, c) => (n(), s("div", Ln, [
1216
1215
  "_id" in t(o) && t(o).type.startsWith("image/") ? (n(), $(Le, {
1217
1216
  key: 0,
1218
1217
  bordered: "",
@@ -1221,7 +1220,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1221
1220
  url: t(o).link,
1222
1221
  class: "item__picture"
1223
1222
  }, null, 8, ["alt", "url"])) : h("", !0),
1224
- O("div", Mn, [
1223
+ O("div", xn, [
1225
1224
  "_id" in t(o) ? (n(), $(H, {
1226
1225
  key: 0,
1227
1226
  icon: "arrow-square-out",
@@ -1233,18 +1232,18 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1233
1232
  D(V(t(o).name), 1)
1234
1233
  ]),
1235
1234
  _: 1
1236
- }, 8, ["href"])) : (n(), s("div", zn, V(t(o).name), 1)),
1237
- O("div", En, V(a(t(o).size)), 1)
1235
+ }, 8, ["href"])) : (n(), s("div", Mn, V(t(o).name), 1)),
1236
+ O("div", zn, V(a(t(o).size)), 1)
1238
1237
  ]),
1239
1238
  O("div", null, [
1240
1239
  C(l.$slots, "default", {}, void 0, !0)
1241
1240
  ])
1242
1241
  ]));
1243
1242
  }
1244
- }), Un = /* @__PURE__ */ E(Fn, [["__scopeId", "data-v-85a82246"]]), Hn = { class: "file" }, Dn = ["accept", "multiple"], Qn = {
1243
+ }), Fn = /* @__PURE__ */ E(En, [["__scopeId", "data-v-85a82246"]]), Un = { class: "file" }, Hn = ["accept", "multiple"], Dn = {
1245
1244
  key: 1,
1246
1245
  class: "file__list"
1247
- }, Gn = /* @__PURE__ */ M({
1246
+ }, Qn = /* @__PURE__ */ M({
1248
1247
  __name: "aeria-file",
1249
1248
  props: {
1250
1249
  modelValue: {},
@@ -1303,7 +1302,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1303
1302
  };
1304
1303
  return (_, g) => {
1305
1304
  const i = ee("clickable");
1306
- return n(), s("div", Hn, [
1305
+ return n(), s("div", Un, [
1307
1306
  e.readOnly ? h("", !0) : (n(), s("input", {
1308
1307
  key: 0,
1309
1308
  ref: "file",
@@ -1311,9 +1310,9 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1311
1310
  accept: t(a)?.accept?.join(","),
1312
1311
  multiple: t(p),
1313
1312
  onChange: m
1314
- }, null, 40, Dn)),
1315
- d.value && d.value.length > 0 ? (n(), s("div", Qn, [
1316
- (n(!0), s(Y, null, z(d.value, (T, k) => (n(), $(Un, {
1313
+ }, null, 40, Hn)),
1314
+ d.value && d.value.length > 0 ? (n(), s("div", Dn, [
1315
+ (n(!0), s(Y, null, z(d.value, (T, k) => (n(), $(Fn, {
1317
1316
  key: "_id" in T ? String(T._id) : T.file.name,
1318
1317
  "model-value": T
1319
1318
  }, {
@@ -1333,10 +1332,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1333
1332
  ]);
1334
1333
  };
1335
1334
  }
1336
- }), Wn = /* @__PURE__ */ E(Gn, [["__scopeId", "data-v-9950a715"]]), Yn = { class: "container" }, Kn = {
1335
+ }), Gn = /* @__PURE__ */ E(Qn, [["__scopeId", "data-v-9950a715"]]), Wn = { class: "container" }, Yn = {
1337
1336
  key: 1,
1338
1337
  class: "container__footer"
1339
- }, Xn = /* @__PURE__ */ M({
1338
+ }, Kn = /* @__PURE__ */ M({
1340
1339
  __name: "aeria-search-container",
1341
1340
  props: {
1342
1341
  observeScroll: { type: Boolean }
@@ -1348,7 +1347,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1348
1347
  }).reachedEnd : null;
1349
1348
  return c !== null && ae(c, (r) => {
1350
1349
  r && a("endReached", r);
1351
- }), (r, p) => (n(), s("div", Yn, [
1350
+ }), (r, p) => (n(), s("div", Wn, [
1352
1351
  r.$slots.default ? (n(), s("div", {
1353
1352
  key: 0,
1354
1353
  ref_key: "containerEl",
@@ -1357,12 +1356,12 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1357
1356
  }, [
1358
1357
  C(r.$slots, "default", {}, void 0, !0)
1359
1358
  ], 512)) : h("", !0),
1360
- r.$slots.footer ? (n(), s("div", Kn, [
1359
+ r.$slots.footer ? (n(), s("div", Yn, [
1361
1360
  C(r.$slots, "footer", {}, void 0, !0)
1362
1361
  ])) : h("", !0)
1363
1362
  ]));
1364
1363
  }
1365
- }), Ge = /* @__PURE__ */ E(Xn, [["__scopeId", "data-v-c86e2d2a"]]), Jn = { class: "item__values" }, Zn = /* @__PURE__ */ M({
1364
+ }), Ge = /* @__PURE__ */ E(Kn, [["__scopeId", "data-v-c86e2d2a"]]), Xn = { class: "item__values" }, Jn = /* @__PURE__ */ M({
1366
1365
  __name: "aeria-search-item",
1367
1366
  props: {
1368
1367
  item: {},
@@ -1407,7 +1406,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1407
1406
  onClick: m
1408
1407
  }, [
1409
1408
  C(b.$slots, "default", {}, void 0, !0),
1410
- O("div", Jn, [
1409
+ O("div", Xn, [
1411
1410
  (n(!0), s(Y, null, z(e.indexes, (i, T) => (n(), s("div", {
1412
1411
  key: `index-${e.item._id}-${T}`,
1413
1412
  class: "item__value"
@@ -1423,10 +1422,10 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1423
1422
  ]);
1424
1423
  };
1425
1424
  }
1426
- }), ze = /* @__PURE__ */ E(Zn, [["__scopeId", "data-v-63761718"]]), Pn = { class: "search__panel" }, Nn = { key: 1 }, ea = { key: 0 }, ta = { key: 1 }, na = { class: "search__summary" }, aa = {
1425
+ }), ze = /* @__PURE__ */ E(Jn, [["__scopeId", "data-v-63761718"]]), Zn = { class: "search__panel" }, Pn = { key: 1 }, Nn = { key: 0 }, ea = { key: 1 }, ta = { class: "search__summary" }, na = {
1427
1426
  key: 1,
1428
1427
  class: "search"
1429
- }, oa = { key: 0 }, Re = 10, la = /* @__PURE__ */ M({
1428
+ }, aa = { key: 0 }, Re = 10, oa = /* @__PURE__ */ M({
1430
1429
  __name: "aeria-search",
1431
1430
  props: {
1432
1431
  modelValue: {},
@@ -1531,7 +1530,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1531
1530
  })
1532
1531
  ]),
1533
1532
  default: y(() => [
1534
- O("div", Pn, [
1533
+ O("div", Zn, [
1535
1534
  L(_e, x({
1536
1535
  modelValue: F.value,
1537
1536
  "onUpdate:modelValue": P[0] || (P[0] = (B) => F.value = B)
@@ -1559,19 +1558,19 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1559
1558
  }), null, 16, ["modelValue"]))), 128))
1560
1559
  ]),
1561
1560
  _: 1
1562
- })) : (n(), s("div", Nn, [
1563
- k.value ? (n(), s("div", ea, V(t(R)("searching", { capitalize: !0 })) + "... ", 1)) : !t(p).loading.getAll && Object.values(F.value).filter((B) => !!B).length > 0 && !("items" in e.property && e.modelValue?.length || !Array.isArray(e.modelValue) && e.modelValue?._id) ? (n(), s("div", ta, V(t(R)("no_results", { capitalize: !0 })), 1)) : h("", !0)
1561
+ })) : (n(), s("div", Pn, [
1562
+ k.value ? (n(), s("div", Nn, V(t(R)("searching", { capitalize: !0 })) + "... ", 1)) : !t(p).loading.getAll && Object.values(F.value).filter((B) => !!B).length > 0 && !("items" in e.property && e.modelValue?.length || !Array.isArray(e.modelValue) && e.modelValue?._id) ? (n(), s("div", ea, V(t(R)("no_results", { capitalize: !0 })), 1)) : h("", !0)
1564
1563
  ]))
1565
1564
  ]),
1566
- O("div", na, V(t(R)("showing", { capitalize: !0 })) + " " + V(g.value.length) + " " + V(t(R)("of")) + " " + V(i.value.recordsTotal), 1)
1565
+ O("div", ta, V(t(R)("showing", { capitalize: !0 })) + " " + V(g.value.length) + " " + V(t(R)("of")) + " " + V(i.value.recordsTotal), 1)
1567
1566
  ]),
1568
1567
  _: 1
1569
1568
  }, 8, ["title", "model-value"])
1570
1569
  ])) : h("", !0),
1571
- e.selectOnly ? h("", !0) : (n(), s("div", aa, [
1570
+ e.selectOnly ? h("", !0) : (n(), s("div", na, [
1572
1571
  L(Ge, null, ie({
1573
1572
  default: y(() => [
1574
- "items" in e.property ? (n(), s("div", oa, [
1573
+ "items" in e.property ? (n(), s("div", aa, [
1575
1574
  (n(!0), s(Y, null, z(e.modelValue, (B) => (n(), $(ze, x({ ref_for: !0 }, {
1576
1575
  item: B,
1577
1576
  indexes: t(m),
@@ -1614,13 +1613,13 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1614
1613
  ]);
1615
1614
  };
1616
1615
  }
1617
- }), ia = /* @__PURE__ */ E(la, [["__scopeId", "data-v-7a35daa0"]]), We = (e, u) => {
1616
+ }), la = /* @__PURE__ */ E(oa, [["__scopeId", "data-v-7a35daa0"]]), We = (e, u) => {
1618
1617
  const o = "items" in e ? e.items : e, a = {
1619
- options: Vn,
1618
+ options: kn,
1620
1619
  select: Qe,
1621
- switch: Bn,
1622
- file: Wn,
1623
- search: ia,
1620
+ switch: In,
1621
+ file: Gn,
1622
+ search: la,
1624
1623
  input: _e,
1625
1624
  form: Me
1626
1625
  }, l = (() => {
@@ -1640,7 +1639,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1640
1639
  return c ? c.inline ? "form" : c.$ref === "file" ? "file" : "search" : "items" in e && e.uniqueItems ? "options" : "enum" in o ? "select" : "input";
1641
1640
  })();
1642
1641
  return u[l] ? u[l] : a[l];
1643
- }, sa = (e, u, o) => {
1642
+ }, ia = (e, u, o) => {
1644
1643
  e ??= [];
1645
1644
  const a = "items" in u ? u.items : u;
1646
1645
  if ("$ref" in a) {
@@ -1648,24 +1647,24 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1648
1647
  return e.push(c);
1649
1648
  }
1650
1649
  return "properties" in a ? e.push(bt(a)) : "type" in a && a.type === "boolean" ? e.push({}) : e.push(null);
1651
- }, ra = (e, u) => {
1650
+ }, sa = (e, u) => {
1652
1651
  e.splice(u, 1);
1653
- }, ua = {
1652
+ }, ra = {
1654
1653
  key: 0,
1655
1654
  class: "form__header"
1656
- }, ca = { class: "form__fieldset" }, da = { key: 0 }, ma = ["innerHTML"], pa = ["onInput"], fa = { key: 4 }, va = { value: "true" }, ya = { value: "false" }, ha = {
1655
+ }, ua = { class: "form__fieldset" }, ca = { key: 0 }, da = ["innerHTML"], ma = ["onInput"], pa = { key: 4 }, fa = { value: "true" }, va = { value: "false" }, ya = {
1657
1656
  key: 5,
1658
1657
  style: { display: "grid", "row-gap": ".4rem" }
1659
- }, ba = { key: 0 }, _a = {
1658
+ }, ha = { key: 0 }, ba = {
1660
1659
  key: 1,
1661
1660
  class: "form__array"
1662
- }, $a = {
1661
+ }, _a = {
1663
1662
  key: 7,
1664
1663
  class: "form__validation-error"
1665
- }, ga = { key: 0 }, ka = { key: 1 }, Va = {
1664
+ }, $a = { key: 0 }, ga = { key: 1 }, ka = {
1666
1665
  key: 2,
1667
1666
  class: "form__footer"
1668
- }, Ca = /* @__PURE__ */ M({
1667
+ }, Va = /* @__PURE__ */ M({
1669
1668
  __name: "aeria-form",
1670
1669
  props: {
1671
1670
  modelValue: {},
@@ -1793,11 +1792,11 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1793
1792
  class: "form",
1794
1793
  style: ve(`row-gap: ${t(k) ? ".8rem" : "var(--form-internal-gap, 1.6rem);"};`)
1795
1794
  }, [
1796
- f.$slots.header && !t(k) ? (n(), s("header", ua, [
1795
+ f.$slots.header && !t(k) ? (n(), s("header", ra, [
1797
1796
  C(f.$slots, "header", {}, void 0, !0)
1798
1797
  ])) : h("", !0),
1799
1798
  C(f.$slots, "default", {}, void 0, !0),
1800
- O("fieldset", ca, [
1799
+ O("fieldset", ua, [
1801
1800
  (n(!0), s(Y, null, z(t(N), ([S, q]) => (n(), s("div", {
1802
1801
  key: `field-${S}`,
1803
1802
  style: ve($e(S, q)),
@@ -1806,7 +1805,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1806
1805
  "form__field--form": "properties" in q
1807
1806
  })
1808
1807
  }, [
1809
- (!("type" in q) || q.type !== "boolean" || e.searchOnly) && !q.noLabel && !t(F) && !t(I) ? (n(), s("label", da, [
1808
+ (!("type" in q) || q.type !== "boolean" || e.searchOnly) && !q.noLabel && !t(F) && !t(I) ? (n(), s("label", ca, [
1810
1809
  O("div", {
1811
1810
  class: U({
1812
1811
  "form__field-label": !0,
@@ -1817,7 +1816,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1817
1816
  q.hint ? (n(), s("div", {
1818
1817
  key: 0,
1819
1818
  innerHTML: q.hint
1820
- }, null, 8, ma)) : h("", !0)
1819
+ }, null, 8, da)) : h("", !0)
1821
1820
  ])) : h("", !0),
1822
1821
  f.$slots[`field-${S}`] ? C(f.$slots, `field-${S}`, x({
1823
1822
  key: 1,
@@ -1860,7 +1859,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1860
1859
  property: q,
1861
1860
  propertyName: S
1862
1861
  }), null, 16, ["modelValue", "onUpdate:modelValue"])
1863
- ], 40, pa)) : "type" in q && q.type === "boolean" && e.searchOnly ? (n(), s("div", fa, [
1862
+ ], 40, ma)) : "type" in q && q.type === "boolean" && e.searchOnly ? (n(), s("div", pa, [
1864
1863
  L(Qe, x({ ref_for: !0 }, {
1865
1864
  property: q,
1866
1865
  propertyName: S
@@ -1873,20 +1872,20 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1873
1872
  }
1874
1873
  }), {
1875
1874
  default: y(() => [
1876
- O("option", va, V(t(R)("yes")), 1),
1877
- O("option", ya, V(t(R)("no")), 1)
1875
+ O("option", fa, V(t(R)("yes")), 1),
1876
+ O("option", va, V(t(R)("no")), 1)
1878
1877
  ]),
1879
1878
  _: 1
1880
1879
  }, 16, ["model-value", "onUpdate:modelValue"])
1881
- ])) : e.modelValue && "items" in q && !q.uniqueItems && (!("$ref" in q.items) || q.items.inline) ? (n(), s("div", ha, [
1882
- t(p) ? h("", !0) : (n(), s("div", ba, [
1880
+ ])) : e.modelValue && "items" in q && !q.uniqueItems && (!("$ref" in q.items) || q.items.inline) ? (n(), s("div", ya, [
1881
+ t(p) ? h("", !0) : (n(), s("div", ha, [
1883
1882
  L(le, {
1884
1883
  small: "",
1885
1884
  variant: "alt",
1886
1885
  icon: "plus",
1887
1886
  disabled: !("inline" in q.items && q.items.inline) && (e.modelValue[S]?.length >= q.maxItems || me(e.modelValue[S]?.[e.modelValue[S]?.length - 1])),
1888
1887
  onClick: Ie((Q) => {
1889
- e.modelValue[S] || (e.modelValue[S] = []), t(sa)(e.modelValue[S], q, t(o));
1888
+ e.modelValue[S] || (e.modelValue[S] = []), t(ia)(e.modelValue[S], q, t(o));
1890
1889
  }, ["prevent"])
1891
1890
  }, {
1892
1891
  default: y(() => [
@@ -1895,7 +1894,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1895
1894
  _: 1
1896
1895
  }, 8, ["disabled", "onClick"])
1897
1896
  ])),
1898
- e.modelValue[S]?.length > 0 ? (n(), s("div", _a, [
1897
+ e.modelValue[S]?.length > 0 ? (n(), s("div", ba, [
1899
1898
  (n(!0), s(Y, null, z(e.modelValue[S], (Q, ge) => (n(), s("div", {
1900
1899
  key: `rep-${S}-${t($t)(Q, ge)}`,
1901
1900
  class: "form__array-item"
@@ -1904,7 +1903,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1904
1903
  key: 0,
1905
1904
  icon: "trash",
1906
1905
  class: "form__array-remove",
1907
- onClick: Ie((ye) => t(ra)(e.modelValue[S], ge), ["prevent"])
1906
+ onClick: Ie((ye) => t(sa)(e.modelValue[S], ge), ["prevent"])
1908
1907
  }, {
1909
1908
  default: y(() => [
1910
1909
  D(V(t(R)("action.remove", { capitalize: !0 })), 1)
@@ -1951,14 +1950,14 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1951
1950
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])), [
1952
1951
  [te, P(q)]
1953
1952
  ]) : h("", !0),
1954
- g.value?.[S] ? (n(), s("div", $a, [
1955
- g.value[S].type ? (n(), s("span", ga, V(t(R)(`validation_error.${g.value[S].type}`)), 1)) : h("", !0),
1956
- g.value[S].detail ? (n(), s("span", ka, V(t(R)(g.value[S].detail)), 1)) : h("", !0)
1953
+ g.value?.[S] ? (n(), s("div", _a, [
1954
+ g.value[S].type ? (n(), s("span", $a, V(t(R)(`validation_error.${g.value[S].type}`)), 1)) : h("", !0),
1955
+ g.value[S].detail ? (n(), s("span", ga, V(t(R)(g.value[S].detail)), 1)) : h("", !0)
1957
1956
  ])) : h("", !0)
1958
1957
  ], 6))), 128))
1959
1958
  ]),
1960
1959
  f.$slots.after ? C(f.$slots, "after", { key: 1 }, void 0, !0) : h("", !0),
1961
- f.$slots.footer ? (n(), s("div", Va, [
1960
+ f.$slots.footer ? (n(), s("div", ka, [
1962
1961
  C(f.$slots, "footer", oe(be({
1963
1962
  isInsertReady: j.value
1964
1963
  })), void 0, !0)
@@ -1966,7 +1965,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
1966
1965
  ], 4);
1967
1966
  };
1968
1967
  }
1969
- }), Me = /* @__PURE__ */ E(Ca, [["__scopeId", "data-v-a4afcd70"]]), Oa = /* @__PURE__ */ M({
1968
+ }), Me = /* @__PURE__ */ E(Va, [["__scopeId", "data-v-a4afcd70"]]), Ca = /* @__PURE__ */ M({
1970
1969
  __name: "aeria-filter-panel",
1971
1970
  emits: ["update:modelValue"],
1972
1971
  setup(e, { emit: u }) {
@@ -2036,7 +2035,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2036
2035
  _: 1
2037
2036
  }, 8, ["title"]));
2038
2037
  }
2039
- }), Aa = /* @__PURE__ */ M({
2038
+ }), Oa = /* @__PURE__ */ M({
2040
2039
  __name: "aeria-insert-panel",
2041
2040
  props: {
2042
2041
  individualActions: {},
@@ -2188,7 +2187,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2188
2187
  }
2189
2188
  u.filtersPreset = e.filters || {}, u.preferredTableProperties = e.table ? Array.from(e.table) : [], u.pagination.offset = 0;
2190
2189
  }
2191
- }, Ia = (e, u = {
2190
+ }, Aa = (e, u = {
2192
2191
  persistInQuery: !0
2193
2192
  }) => {
2194
2193
  const a = Ce().currentRoute;
@@ -2209,25 +2208,25 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2209
2208
  }, {
2210
2209
  immediate: !0
2211
2210
  });
2212
- }, Ba = {
2211
+ }, Ia = {
2213
2212
  key: 0,
2214
2213
  class: "table aeria-surface"
2215
- }, Sa = { key: 0 }, wa = { key: 1 }, Ta = { key: 0 }, ja = ["checked"], Ra = {
2214
+ }, Ba = { key: 0 }, Sa = { key: 1 }, wa = { key: 0 }, Ta = ["checked"], ja = {
2216
2215
  key: 1,
2217
2216
  style: { "text-align": "right" }
2218
- }, qa = { key: 2 }, La = { key: 3 }, xa = ["onClick"], Ma = { key: 0 }, za = ["value"], Ea = { class: "table__cell-mobile-label" }, Fa = {
2217
+ }, Ra = { key: 2 }, qa = { key: 3 }, La = ["onClick"], xa = { key: 0 }, Ma = ["value"], za = { class: "table__cell-mobile-label" }, Ea = {
2219
2218
  key: 0,
2220
2219
  class: "table__cell-container"
2221
- }, Ua = {
2220
+ }, Fa = {
2222
2221
  key: 1,
2223
2222
  class: "table__cell-container"
2224
- }, Ha = { class: "table__cell-grid" }, Da = { key: 0 }, Qa = { key: 1 }, Ga = { key: 0 }, Wa = ["href"], Ya = { key: 3 }, Ka = { key: 1 }, Xa = { key: 2 }, Ja = { key: 0 }, Za = { key: 1 }, Pa = { key: 2 }, Na = {
2223
+ }, Ua = { class: "table__cell-grid" }, Ha = { key: 0 }, Da = { key: 1 }, Qa = { key: 0 }, Ga = ["href"], Wa = { key: 3 }, Ya = { key: 1 }, Ka = { key: 2 }, Xa = { key: 0 }, Ja = { key: 1 }, Za = { key: 2 }, Pa = {
2225
2224
  key: 1,
2226
2225
  class: "no-print"
2227
- }, eo = { class: "table__cell-actions" }, to = {
2226
+ }, Na = { class: "table__cell-actions" }, eo = {
2228
2227
  key: 2,
2229
2228
  class: "no-print table__mobile-actions"
2230
- }, no = ["id"], ao = { key: 1 }, oo = ["colspan"], lo = { class: "table__empty" }, io = /* @__PURE__ */ M({
2229
+ }, to = ["id"], no = { key: 1 }, ao = ["colspan"], oo = { class: "table__empty" }, lo = /* @__PURE__ */ M({
2231
2230
  __name: "aeria-table",
2232
2231
  props: {
2233
2232
  columns: {},
@@ -2278,46 +2277,46 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2278
2277
  };
2279
2278
  return (g, i) => {
2280
2279
  const T = ee("clickable");
2281
- return d.value > 0 || g.$slots.thead ? (n(), s("table", Ba, [
2282
- g.$slots.thead ? (n(), s("thead", Sa, [
2280
+ return d.value > 0 || g.$slots.thead ? (n(), s("table", Ia, [
2281
+ g.$slots.thead ? (n(), s("thead", Ba, [
2283
2282
  C(g.$slots, "thead", {}, void 0, !0)
2284
- ])) : (n(), s("thead", wa, [
2283
+ ])) : (n(), s("thead", Sa, [
2285
2284
  O("tr", null, [
2286
- e.checkbox && t(r) && t(l).md ? (n(), s("th", Ta, [
2285
+ e.checkbox && t(r) && t(l).md ? (n(), s("th", wa, [
2287
2286
  O("input", {
2288
2287
  type: "checkbox",
2289
2288
  checked: t(r).selected.length > 0 && t(r).selected.length === t(r).itemsCount,
2290
2289
  onChange: i[0] || (i[0] = (k) => t(r).$actions.selectAllItems(k.target.checked))
2291
- }, null, 40, ja)
2290
+ }, null, 40, Ta)
2292
2291
  ])) : h("", !0),
2293
2292
  (n(!0), s(Y, null, z(Object.entries(e.columns), ([k, F], I) => (n(), s("th", {
2294
2293
  key: `header-${I}`,
2295
2294
  class: "table__header"
2296
2295
  }, V(F.description || t(R)(k)), 1))), 128)),
2297
- e.actions?.length ? (n(), s("th", Ra)) : h("", !0)
2296
+ e.actions?.length ? (n(), s("th", ja)) : h("", !0)
2298
2297
  ])
2299
2298
  ])),
2300
- g.$slots.tbody ? (n(), s("tbody", qa, [
2299
+ g.$slots.tbody ? (n(), s("tbody", Ra, [
2301
2300
  C(g.$slots, "tbody", {}, void 0, !0)
2302
- ])) : (n(), s("tbody", La, [
2301
+ ])) : (n(), s("tbody", qa, [
2303
2302
  (n(!0), s(Y, null, z(e.rows, (k, F) => (n(), s("tr", {
2304
2303
  key: k._id,
2305
2304
  onClick: (I) => a("itemClick", k)
2306
2305
  }, [
2307
- t(r) && e.checkbox && t(l).md ? (n(), s("td", Ma, [
2306
+ t(r) && e.checkbox && t(l).md ? (n(), s("td", xa, [
2308
2307
  K(O("input", {
2309
2308
  "onUpdate:modelValue": i[1] || (i[1] = (I) => p.value = I),
2310
2309
  type: "checkbox",
2311
2310
  value: k._id
2312
- }, null, 8, za), [
2311
+ }, null, 8, Ma), [
2313
2312
  [tt, p.value]
2314
2313
  ])
2315
2314
  ])) : h("", !0),
2316
2315
  (n(!0), s(Y, null, z(Object.entries(e.columns), ([I, w], J) => (n(), s("td", {
2317
2316
  key: `column-${k._id}-${J}`
2318
2317
  }, [
2319
- O("div", Ea, V(w.description || t(R)(I)), 1),
2320
- `row-${I}` in g.$slots ? (n(), s("div", Fa, [
2318
+ O("div", za, V(w.description || t(R)(I)), 1),
2319
+ `row-${I}` in g.$slots ? (n(), s("div", Ea, [
2321
2320
  C(g.$slots, `row-${I}`, x({ ref_for: !0 }, {
2322
2321
  store: t(r),
2323
2322
  column: I,
@@ -2325,9 +2324,9 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2325
2324
  row: k,
2326
2325
  rowIndex: F
2327
2326
  }), void 0, !0)
2328
- ])) : (n(), s("div", Ua, [
2329
- O("div", Ha, [
2330
- "type" in w && w.type === "boolean" ? (n(), s("div", Da, [
2327
+ ])) : (n(), s("div", Fa, [
2328
+ O("div", Ua, [
2329
+ "type" in w && w.type === "boolean" ? (n(), s("div", Ha, [
2331
2330
  k[I] ? (n(), $(H, {
2332
2331
  key: 0,
2333
2332
  icon: "check",
@@ -2347,8 +2346,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2347
2346
  ]),
2348
2347
  _: 1
2349
2348
  }))
2350
- ])) : t(se)(w)?.$ref === "file" ? (n(), s("div", Qa, [
2351
- k[I] ? (n(), s("div", Ga, [
2349
+ ])) : t(se)(w)?.$ref === "file" ? (n(), s("div", Da, [
2350
+ k[I] ? (n(), s("div", Qa, [
2352
2351
  "items" in w && k[I][0] && /^image/.test(k[I][0].type) ? (n(), $(Le, {
2353
2352
  key: 0,
2354
2353
  modelValue: k[I][0].link,
@@ -2369,15 +2368,15 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2369
2368
  key: 2,
2370
2369
  href: k[I].link,
2371
2370
  style: { "font-size": "10pt" }
2372
- }, V(k[I].filename), 9, Wa)) : (n(), s("div", Ya, " - "))
2373
- ])) : (n(), s("div", Ka, " - "))
2374
- ])) : (n(), s("div", Xa, [
2375
- t(r) ? (n(), s("span", Ja, V(t(r).$actions.formatValue({
2371
+ }, V(k[I].filename), 9, Ga)) : (n(), s("div", Wa, " - "))
2372
+ ])) : (n(), s("div", Ya, " - "))
2373
+ ])) : (n(), s("div", Ka, [
2374
+ t(r) ? (n(), s("span", Xa, V(t(r).$actions.formatValue({
2376
2375
  value: k[I],
2377
2376
  key: I,
2378
2377
  property: w
2379
- })), 1)) : (n(), s("span", Za, V(Array.isArray(k[I]) ? k[I].filter((N) => !!N).join(", ") : [void 0, null].includes(k[I]) ? "-" : k[I]), 1)),
2380
- t(se)(w)?.indexes?.length > 1 ? (n(), s("div", Pa, [
2378
+ })), 1)) : (n(), s("span", Ja, V(Array.isArray(k[I]) ? k[I].filter((N) => !!N).join(", ") : [void 0, null].includes(k[I]) ? "-" : k[I]), 1)),
2379
+ t(se)(w)?.indexes?.length > 1 ? (n(), s("div", Za, [
2381
2380
  (n(!0), s(Y, null, z(t(se)(w).indexes.slice(1, 2), (N, ue) => (n(), s("div", {
2382
2381
  key: `subvalue-${ue}`,
2383
2382
  class: "table__cell-subvalue"
@@ -2392,8 +2391,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2392
2391
  ])
2393
2392
  ]))
2394
2393
  ]))), 128)),
2395
- e.actions?.length && t(l).md ? (n(), s("td", Na, [
2396
- O("div", eo, [
2394
+ e.actions?.length && t(l).md ? (n(), s("td", Pa, [
2395
+ O("div", Na, [
2397
2396
  (n(!0), s(Y, null, z(m(k), (I) => (n(), $(le, {
2398
2397
  key: `action-${I.action}`,
2399
2398
  small: "",
@@ -2428,7 +2427,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2428
2427
  _: 1
2429
2428
  }, 16)) : h("", !0)
2430
2429
  ])
2431
- ])) : e.actions?.length ? (n(), s("td", to, [
2430
+ ])) : e.actions?.length ? (n(), s("td", eo, [
2432
2431
  O("div", {
2433
2432
  class: "table__mobile-actions-grid",
2434
2433
  style: ve(`grid-template-columns: repeat(${m(k).length + (b(k).length ? 1 : 0)}, 1fr);`)
@@ -2468,23 +2467,23 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2468
2467
  ], 4),
2469
2468
  O("div", {
2470
2469
  id: `dropdown-${k._id}`
2471
- }, null, 8, no)
2470
+ }, null, 8, to)
2472
2471
  ])) : h("", !0)
2473
- ], 8, xa))), 128))
2472
+ ], 8, La))), 128))
2474
2473
  ])),
2475
2474
  O("tfoot", null, [
2476
- g.$slots.tfoot ? C(g.$slots, "tfoot", { key: 0 }, void 0, !0) : e.columns && !e.rows?.length && !t(r)?.loading.getAll ? (n(), s("tr", ao, [
2475
+ g.$slots.tfoot ? C(g.$slots, "tfoot", { key: 0 }, void 0, !0) : e.columns && !e.rows?.length && !t(r)?.loading.getAll ? (n(), s("tr", no, [
2477
2476
  O("td", {
2478
2477
  colspan: d.value + 1
2479
2478
  }, [
2480
- O("div", lo, V(t(R)("no_results", { capitalize: !0 })) + ". ", 1)
2481
- ], 8, oo)
2479
+ O("div", oo, V(t(R)("no_results", { capitalize: !0 })) + ". ", 1)
2480
+ ], 8, ao)
2482
2481
  ])) : h("", !0)
2483
2482
  ])
2484
2483
  ])) : h("", !0);
2485
2484
  };
2486
2485
  }
2487
- }), so = /* @__PURE__ */ E(io, [["__scopeId", "data-v-e01a149a"]]), ro = /* @__PURE__ */ M({
2486
+ }), io = /* @__PURE__ */ E(lo, [["__scopeId", "data-v-e01a149a"]]), so = /* @__PURE__ */ M({
2488
2487
  __name: "aeria-tabular",
2489
2488
  props: {
2490
2489
  individualActions: {},
@@ -2505,7 +2504,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2505
2504
  });
2506
2505
  return (c, r) => (n(), s("div", null, [
2507
2506
  c.$slots.inner ? C(c.$slots, "inner", { key: 0 }) : h("", !0),
2508
- t(o).properties ? (n(), $(so, x({ key: 1 }, l.value, {
2507
+ t(o).properties ? (n(), $(io, x({ key: 1 }, l.value, {
2509
2508
  key: t(o).$id
2510
2509
  }), ie({ _: 2 }, [
2511
2510
  z(Object.keys(c.$slots).filter((p) => !["inner"].includes(p)), (p) => ({
@@ -2517,7 +2516,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2517
2516
  ]), 1040)) : h("", !0)
2518
2517
  ]));
2519
2518
  }
2520
- }), uo = /* @__PURE__ */ M({
2519
+ }), ro = /* @__PURE__ */ M({
2521
2520
  __name: "aeria-grid",
2522
2521
  props: {
2523
2522
  list: { type: Boolean }
@@ -2532,13 +2531,13 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2532
2531
  C(u.$slots, "default", {}, void 0, !0)
2533
2532
  ], 2));
2534
2533
  }
2535
- }), co = /* @__PURE__ */ E(uo, [["__scopeId", "data-v-4839c834"]]), mo = { key: 0 }, po = {
2534
+ }), uo = /* @__PURE__ */ E(ro, [["__scopeId", "data-v-4839c834"]]), co = { key: 0 }, mo = {
2536
2535
  key: 1,
2537
2536
  class: "card__information"
2538
- }, fo = {
2537
+ }, po = {
2539
2538
  key: 2,
2540
2539
  class: "card__information"
2541
- }, vo = /* @__PURE__ */ M({
2540
+ }, fo = /* @__PURE__ */ M({
2542
2541
  __name: "aeria-grid",
2543
2542
  props: {
2544
2543
  individualActions: {},
@@ -2550,22 +2549,22 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2550
2549
  const o = e.layoutOptions, a = Ae(), l = (c) => Array.isArray(c) ? c[0] : c;
2551
2550
  return (c, r) => {
2552
2551
  const p = ee("clickable");
2553
- return n(), $(co, {
2552
+ return n(), $(uo, {
2554
2553
  list: e.componentName === "list"
2555
2554
  }, {
2556
2555
  default: y(() => [
2557
- (n(!0), s(Y, null, z(t(a).items, (d) => (n(), $(Et, {
2556
+ (n(!0), s(Y, null, z(t(a).items, (d) => (n(), $(zt, {
2558
2557
  key: d._id,
2559
2558
  inactive: !!(t(o).active && !d[t(o).active]),
2560
2559
  horizontal: e.componentName === "list"
2561
2560
  }, ie({
2562
2561
  footer: y(() => [
2563
- t(o).title ? (n(), s("div", mo, V(d[t(o).title]), 1)) : h("", !0),
2564
- Array.isArray(t(o).information) ? (n(), s("div", po, [
2562
+ t(o).title ? (n(), s("div", co, V(d[t(o).title]), 1)) : h("", !0),
2563
+ Array.isArray(t(o).information) ? (n(), s("div", mo, [
2565
2564
  (n(!0), s(Y, null, z(t(o).information, (v) => (n(), s("div", {
2566
2565
  key: `info-${v}`
2567
2566
  }, V(d[v]), 1))), 128))
2568
- ])) : t(o).information ? (n(), s("div", fo, V(d[t(o).information]), 1)) : h("", !0)
2567
+ ])) : t(o).information ? (n(), s("div", po, V(d[t(o).information]), 1)) : h("", !0)
2569
2568
  ]),
2570
2569
  actions: y(() => [
2571
2570
  e.individualActions?.length ? (n(), $(Ve, x({
@@ -2631,20 +2630,20 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2631
2630
  }, 8, ["list"]);
2632
2631
  };
2633
2632
  }
2634
- }), Ye = /* @__PURE__ */ E(vo, [["__scopeId", "data-v-ce6f7461"]]), yo = (e) => ({
2635
- tabular: ro,
2633
+ }), Ye = /* @__PURE__ */ E(fo, [["__scopeId", "data-v-ce6f7461"]]), vo = (e) => ({
2634
+ tabular: so,
2636
2635
  grid: Ye,
2637
2636
  list: Ye
2638
- })[e], ho = {
2637
+ })[e], yo = {
2639
2638
  key: 2,
2640
2639
  class: "crud__controls"
2641
- }, bo = {
2640
+ }, ho = {
2642
2641
  key: 0,
2643
2642
  class: "crud__search"
2644
- }, _o = { class: "crud__actions" }, $o = { class: "crud__context-badge" }, go = { class: "crud__data" }, ko = { key: 0 }, Vo = {
2643
+ }, bo = { class: "crud__actions" }, _o = { class: "crud__context-badge" }, $o = { class: "crud__data" }, go = { key: 0 }, ko = {
2645
2644
  key: 3,
2646
2645
  class: "crud__pagination"
2647
- }, Ke = 30, Co = /* @__PURE__ */ M({
2646
+ }, Ke = 30, Vo = /* @__PURE__ */ M({
2648
2647
  __name: "aeria-crud",
2649
2648
  props: {
2650
2649
  collection: {},
@@ -2667,7 +2666,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2667
2666
  A && i.pagination.recordsTotal > i.items.length && F.value < Ke && (F.value += 1, w());
2668
2667
  });
2669
2668
  const i = pt(r.collection);
2670
- Ia(i, {
2669
+ Aa(i, {
2671
2670
  persistInQuery: !r.noQueryPersistence
2672
2671
  });
2673
2672
  const T = De(), k = r.action ? t(r.action) : ft(i, d, T);
@@ -2795,12 +2794,12 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2795
2794
  return fe(Te, G(() => r.collection)), (A, j) => {
2796
2795
  const Z = ee("clickable"), P = ee("loading");
2797
2796
  return n(), s(Y, null, [
2798
- a.value ? (n(), $(Oa, {
2797
+ a.value ? (n(), $(Ca, {
2799
2798
  key: t(i).$id,
2800
2799
  modelValue: a.value,
2801
2800
  "onUpdate:modelValue": j[0] || (j[0] = (f) => a.value = f)
2802
2801
  }, null, 8, ["modelValue"])) : h("", !0),
2803
- o.value ? (n(), $(Aa, x({
2802
+ o.value ? (n(), $(Oa, x({
2804
2803
  key: 1,
2805
2804
  visible: o.value,
2806
2805
  "onUpdate:visible": j[1] || (j[1] = (f) => o.value = f),
@@ -2833,8 +2832,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2833
2832
  ])
2834
2833
  }))
2835
2834
  ]), 1040, ["visible"])) : h("", !0),
2836
- !e.noActions && (t(i).description.search || Object.keys(t(i).description.filters || {}).length > 0 || t(i)?.actions.length > 0 || A.$slots.actions || !e.noLayoutToggle && t(i).description.layout && t(i).description.layout?.name !== "tabular") ? (n(), s("div", ho, [
2837
- t(i).description.search ? (n(), s("div", bo, [
2835
+ !e.noActions && (t(i).description.search || Object.keys(t(i).description.filters || {}).length > 0 || t(i)?.actions.length > 0 || A.$slots.actions || !e.noLayoutToggle && t(i).description.layout && t(i).description.layout?.name !== "tabular") ? (n(), s("div", yo, [
2836
+ t(i).description.search ? (n(), s("div", ho, [
2838
2837
  L(_e, x({
2839
2838
  modelValue: t(i).textQuery,
2840
2839
  "onUpdate:modelValue": j[3] || (j[3] = (f) => t(i).textQuery = f)
@@ -2846,7 +2845,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2846
2845
  }
2847
2846
  }), null, 16, ["modelValue"])
2848
2847
  ])) : h("", !0),
2849
- O("div", _o, [
2848
+ O("div", bo, [
2850
2849
  me.value.length > 0 || !e.noLayoutToggle && t(i).description.layout && t(i).description.layout?.name !== "tabular" ? (n(), $(Ve, { key: 0 }, ie({
2851
2850
  default: y(() => [
2852
2851
  L(le, {
@@ -2880,7 +2879,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2880
2879
  })), [
2881
2880
  [Z]
2882
2881
  ]),
2883
- O("div", $o, [
2882
+ O("div", _o, [
2884
2883
  t(i).filtersCount ? (n(), $(he, { key: 0 }, {
2885
2884
  default: y(() => [
2886
2885
  D(V(t(i).filtersCount), 1)
@@ -2955,8 +2954,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2955
2954
  A.$slots.actions ? C(A.$slots, "actions", { key: 2 }, void 0, !0) : h("", !0)
2956
2955
  ])
2957
2956
  ])) : h("", !0),
2958
- K((n(), s("div", go, [
2959
- t(i).itemsCount === 0 && !t(i).loading.getAll && I.value && (t(N) || A.$slots.empty) ? (n(), s("div", ko, [
2957
+ K((n(), s("div", $o, [
2958
+ t(i).itemsCount === 0 && !t(i).loading.getAll && I.value && (t(N) || A.$slots.empty) ? (n(), s("div", go, [
2960
2959
  t(N) ? (n(), $(pe(t(N)), oe(x({ key: 0 }, {
2961
2960
  collection: t(i).$id
2962
2961
  })), {
@@ -2981,7 +2980,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
2981
2980
  })), void 0, !0)
2982
2981
  ])) : A.$slots.component ? C(A.$slots, "component", oe(x({ key: 1 }, {
2983
2982
  store: t(i)
2984
- })), void 0, !0) : (n(), $(pe(t(yo)(e.layout?.name || t(i).$currentLayout)), x({ key: 2 }, {
2983
+ })), void 0, !0) : (n(), $(pe(t(vo)(e.layout?.name || t(i).$currentLayout)), x({ key: 2 }, {
2985
2984
  individualActions: $e.value,
2986
2985
  layoutOptions: e.layout?.options || t(i).layout.options,
2987
2986
  componentProps: e.componentProps
@@ -3005,8 +3004,8 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
3005
3004
  ])), [
3006
3005
  [P, (!t(g) || F.value === Ke) && t(i).loading.getAll]
3007
3006
  ]),
3008
- !t(g) && !e.noControls && !t(i).loading.getAll && t(i).itemsCount > 0 ? (n(), s("div", Vo, [
3009
- L(pn, {
3007
+ !t(g) && !e.noControls && !t(i).loading.getAll && t(i).itemsCount > 0 ? (n(), s("div", ko, [
3008
+ L(mn, {
3010
3009
  pagination: t(i).pagination,
3011
3010
  onPaginate: J
3012
3011
  }, null, 8, ["pagination"])
@@ -3014,7 +3013,7 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
3014
3013
  ], 64);
3015
3014
  };
3016
3015
  }
3017
- }), ul = /* @__PURE__ */ E(Co, [["__scopeId", "data-v-a8b515b9"]]), Oo = { class: "prompt" }, Ao = /* @__PURE__ */ M({
3016
+ }), rl = /* @__PURE__ */ E(Vo, [["__scopeId", "data-v-a8b515b9"]]), Co = { class: "prompt" }, Oo = /* @__PURE__ */ M({
3018
3017
  __name: "aeria-prompt",
3019
3018
  props: {
3020
3019
  title: {},
@@ -3052,14 +3051,14 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
3052
3051
  ], 4)
3053
3052
  ]),
3054
3053
  default: y(() => [
3055
- O("div", Oo, [
3054
+ O("div", Co, [
3056
3055
  C(a.$slots, "default", {}, void 0, !0)
3057
3056
  ])
3058
3057
  ]),
3059
3058
  _: 3
3060
3059
  }, 8, ["title"]));
3061
3060
  }
3062
- }), Io = /* @__PURE__ */ E(Ao, [["__scopeId", "data-v-4cbfd28f"]]), Bo = { class: "toast__content" }, So = { class: "toast__time" }, wo = /* @__PURE__ */ M({
3061
+ }), Ao = /* @__PURE__ */ E(Oo, [["__scopeId", "data-v-4cbfd28f"]]), Io = { class: "toast__content" }, Bo = { class: "toast__time" }, So = /* @__PURE__ */ M({
3063
3062
  __name: "aeria-toast",
3064
3063
  props: {
3065
3064
  idx: {},
@@ -3083,16 +3082,16 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
3083
3082
  e.icon ? { icon: e.icon } : { icon: "warning-circle" },
3084
3083
  { style: { "--icon-size": "4rem", "--icon-color": "var(--theme-brand-color-shade-3)" } }
3085
3084
  ), null, 16),
3086
- O("div", Bo, [
3085
+ O("div", Io, [
3087
3086
  C(o.$slots, "default", {}, void 0, !0),
3088
- O("div", So, V(o.formatDateTime(e.date, { hoursOnly: !0 })), 1)
3087
+ O("div", Bo, V(o.formatDateTime(e.date, { hoursOnly: !0 })), 1)
3089
3088
  ])
3090
3089
  ], 34)), [
3091
3090
  [l]
3092
3091
  ]);
3093
3092
  };
3094
3093
  }
3095
- }), To = /* @__PURE__ */ E(wo, [["__scopeId", "data-v-606d47bf"]]), jo = ["innerHTML"], Ro = ["innerHTML"], qo = { class: "main__toasts" }, Lo = ["innerHTML"], xo = /* @__PURE__ */ M({
3094
+ }), wo = /* @__PURE__ */ E(So, [["__scopeId", "data-v-606d47bf"]]), To = ["innerHTML"], jo = ["innerHTML"], Ro = { class: "main__toasts" }, qo = ["innerHTML"], Lo = /* @__PURE__ */ M({
3096
3095
  __name: "aeria-main",
3097
3096
  setup(e) {
3098
3097
  const u = ne("meta"), o = G(() => u.themeOverride || u.theme);
@@ -3139,27 +3138,27 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
3139
3138
  key: 0,
3140
3139
  style: { "white-space": "pre-wrap" },
3141
3140
  innerHTML: t(u).modal.body
3142
- }, null, 8, jo)) : h("", !0),
3141
+ }, null, 8, To)) : h("", !0),
3143
3142
  t(u).modal.component ? (n(), $(pe(t(u).modal.component), { key: 1 })) : h("", !0)
3144
3143
  ]),
3145
3144
  _: 1
3146
3145
  }, 16, ["modelValue"]),
3147
- t(u).prompt.visible ? (n(), $(Io, oe(x({ key: 0 }, t(u).prompt)), {
3146
+ t(u).prompt.visible ? (n(), $(Ao, oe(x({ key: 0 }, t(u).prompt)), {
3148
3147
  default: y(() => [
3149
3148
  O("div", {
3150
3149
  innerHTML: t(u).prompt.body
3151
- }, null, 8, Ro)
3150
+ }, null, 8, jo)
3152
3151
  ]),
3153
3152
  _: 1
3154
3153
  }, 16)) : h("", !0),
3155
- O("div", qo, [
3156
- (n(!0), s(Y, null, z(t(u).toasts, (r) => (n(), $(To, x({ ref_for: !0 }, r, {
3154
+ O("div", Ro, [
3155
+ (n(!0), s(Y, null, z(t(u).toasts, (r) => (n(), $(wo, x({ ref_for: !0 }, r, {
3157
3156
  key: `toast-${r.itr}`
3158
3157
  }), {
3159
3158
  default: y(() => [
3160
3159
  O("div", {
3161
3160
  innerHTML: t(R)(r.text)
3162
- }, null, 8, Lo)
3161
+ }, null, 8, qo)
3163
3162
  ]),
3164
3163
  _: 2
3165
3164
  }, 1040))), 128))
@@ -3167,9 +3166,9 @@ const gt = ["onClick"], kt = { key: 0 }, Vt = {
3167
3166
  ], 2);
3168
3167
  };
3169
3168
  }
3170
- }), cl = /* @__PURE__ */ E(xo, [["__scopeId", "data-v-8de8a4eb"]]), Mo = {}, zo = { class: "menu" };
3171
- function Eo(e, u) {
3172
- return n(), s("menu", zo, [
3169
+ }), ul = /* @__PURE__ */ E(Lo, [["__scopeId", "data-v-8de8a4eb"]]), xo = {}, Mo = { class: "menu" };
3170
+ function zo(e, u) {
3171
+ return n(), s("menu", Mo, [
3173
3172
  (n(!0), s(Y, null, z(Object.keys(e.$slots), (o) => (n(), s("div", {
3174
3173
  key: o,
3175
3174
  class: "menu__entry"
@@ -3178,16 +3177,16 @@ function Eo(e, u) {
3178
3177
  ]))), 128))
3179
3178
  ]);
3180
3179
  }
3181
- const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb"]]), Fo = { class: "tabs" }, Uo = {
3180
+ const cl = /* @__PURE__ */ E(xo, [["render", zo], ["__scopeId", "data-v-3cfef7fb"]]), Eo = { class: "tabs" }, Fo = {
3182
3181
  key: 0,
3183
3182
  class: "tabs__horizontal"
3184
- }, Ho = {
3183
+ }, Uo = {
3185
3184
  key: 0,
3186
3185
  class: "tabs__tab tabs__tab--info"
3187
- }, Do = ["onClick"], Qo = {
3186
+ }, Ho = ["onClick"], Do = {
3188
3187
  key: 1,
3189
3188
  class: "tabs__context-menu"
3190
- }, Go = ["onClick"], Wo = /* @__PURE__ */ M({
3189
+ }, Qo = ["onClick"], Go = /* @__PURE__ */ M({
3191
3190
  __name: "aeria-tabs",
3192
3191
  props: {
3193
3192
  query: {},
@@ -3219,9 +3218,9 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3219
3218
  };
3220
3219
  return (p, d) => {
3221
3220
  const v = ee("clickable");
3222
- return n(), s("div", Fo, [
3223
- t(l).md && !e.dropdown ? (n(), s("div", Uo, [
3224
- p.$slots.default ? (n(), s("div", Ho, [
3221
+ return n(), s("div", Eo, [
3222
+ t(l).md && !e.dropdown ? (n(), s("div", Fo, [
3223
+ p.$slots.default ? (n(), s("div", Uo, [
3225
3224
  C(p.$slots, "default", {}, void 0, !0)
3226
3225
  ])) : h("", !0),
3227
3226
  (n(!0), s(Y, null, z(Object.keys(p.$slots).filter((m) => m !== "default"), (m, b) => (n(), s("div", {
@@ -3233,8 +3232,8 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3233
3232
  onClick: (_) => r(m)
3234
3233
  }, [
3235
3234
  C(p.$slots, m, {}, void 0, !0)
3236
- ], 10, Do))), 128))
3237
- ])) : (n(), s("div", Qo, [
3235
+ ], 10, Ho))), 128))
3236
+ ])) : (n(), s("div", Do, [
3238
3237
  L(Ve, null, ie({
3239
3238
  default: y(({ visible: m }) => [
3240
3239
  K((n(), $(H, {
@@ -3261,7 +3260,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3261
3260
  onClick: (b) => r(m)
3262
3261
  }, [
3263
3262
  C(p.$slots, m, {}, void 0, !0)
3264
- ], 8, Go)
3263
+ ], 8, Qo)
3265
3264
  ])
3266
3265
  }))
3267
3266
  ]), 1024)
@@ -3269,7 +3268,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3269
3268
  ]);
3270
3269
  };
3271
3270
  }
3272
- }), Yo = /* @__PURE__ */ E(Wo, [["__scopeId", "data-v-a20914ab"]]), Ko = M({
3271
+ }), Wo = /* @__PURE__ */ E(Go, [["__scopeId", "data-v-a20914ab"]]), Yo = M({
3273
3272
  props: {
3274
3273
  initialValue: String,
3275
3274
  promise: Promise
@@ -3280,7 +3279,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3280
3279
  u.value = o;
3281
3280
  }), () => it("div", String(u.value));
3282
3281
  }
3283
- }), Xo = ["onClick"], Jo = { key: 1 }, Zo = /* @__PURE__ */ M({
3282
+ }), Ko = ["onClick"], Xo = { key: 1 }, Jo = /* @__PURE__ */ M({
3284
3283
  __name: "aeria-crud-topbar",
3285
3284
  props: {
3286
3285
  collection: {}
@@ -3292,7 +3291,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3292
3291
  });
3293
3292
  return v ? 0 : m;
3294
3293
  };
3295
- return (p, d) => c.value && c.value.description.filtersPresets ? (n(), $(Yo, {
3294
+ return (p, d) => c.value && c.value.description.filtersPresets ? (n(), $(Wo, {
3296
3295
  key: 0,
3297
3296
  dropdown: "",
3298
3297
  query: "section"
@@ -3312,25 +3311,25 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3312
3311
  D(V(m.label || t(R)(v, { plural: !0 })), 1)
3313
3312
  ]),
3314
3313
  _: 2
3315
- }, 1032, ["icon"])) : (n(), s("div", Jo, V(m.label || t(R)(v, { plural: !0 })), 1)),
3314
+ }, 1032, ["icon"])) : (n(), s("div", Xo, V(m.label || t(R)(v, { plural: !0 })), 1)),
3316
3315
  m.badgeFunction ? (n(), $(he, { key: 2 }, {
3317
3316
  default: y(() => [
3318
- L(t(Ko), {
3317
+ L(t(Yo), {
3319
3318
  "initial-value": "0",
3320
3319
  promise: r(m, c.value)
3321
3320
  }, null, 8, ["promise"])
3322
3321
  ]),
3323
3322
  _: 2
3324
3323
  }, 1024)) : h("", !0)
3325
- ], 8, Xo)
3324
+ ], 8, Ko)
3326
3325
  ])
3327
3326
  }))
3328
3327
  ]), 1024)) : h("", !0);
3329
3328
  }
3330
- }), Po = /* @__PURE__ */ E(Zo, [["__scopeId", "data-v-f0a45677"]]), No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3329
+ }), Zo = /* @__PURE__ */ E(Jo, [["__scopeId", "data-v-f0a45677"]]), Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3331
3330
  __proto__: null,
3332
- default: Po
3333
- }, Symbol.toStringTag, { value: "Module" })), ml = /* @__PURE__ */ M({
3331
+ default: Zo
3332
+ }, Symbol.toStringTag, { value: "Module" })), dl = /* @__PURE__ */ M({
3334
3333
  __name: "aeria-password-form",
3335
3334
  props: {
3336
3335
  modelValue: {}
@@ -3366,7 +3365,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3366
3365
  _: 3
3367
3366
  }, 8, ["model-value"]));
3368
3367
  }
3369
- }), pl = (e, u = []) => ({
3368
+ }), ml = (e, u = []) => ({
3370
3369
  path: "/user",
3371
3370
  name: "/builtin:user",
3372
3371
  component: e,
@@ -3384,7 +3383,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3384
3383
  {
3385
3384
  path: "signin",
3386
3385
  name: "/user/signin",
3387
- component: () => import("./signin-Dava-b0C.js"),
3386
+ component: () => import("./signin-CeRAoNDG.js"),
3388
3387
  meta: {
3389
3388
  title: "Sign in"
3390
3389
  }
@@ -3392,7 +3391,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3392
3391
  {
3393
3392
  path: "signup",
3394
3393
  name: "/user/signup",
3395
- component: () => import("./signup-C9kajyM_.js"),
3394
+ component: () => import("./signup-yCX1WLuV.js"),
3396
3395
  meta: {
3397
3396
  title: "Sign up"
3398
3397
  }
@@ -3400,7 +3399,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3400
3399
  {
3401
3400
  path: "redefine-password",
3402
3401
  name: "/user/redefine-password",
3403
- component: () => import("./redefine-password-B4omIHya.js"),
3402
+ component: () => import("./redefine-password-DZMjgoq7.js"),
3404
3403
  meta: {
3405
3404
  title: "Redefine password"
3406
3405
  }
@@ -3408,13 +3407,13 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3408
3407
  {
3409
3408
  path: "activation",
3410
3409
  name: "/user/activation",
3411
- component: () => import("./activation-BENU4jjl.js"),
3410
+ component: () => import("./activation-Bs7J5IyT.js"),
3412
3411
  meta: {
3413
3412
  title: "Activate user"
3414
3413
  }
3415
3414
  }
3416
3415
  ])
3417
- }), fl = (e, u = []) => ({
3416
+ }), pl = (e, u = []) => ({
3418
3417
  path: "/dashboard",
3419
3418
  name: "/builtin:dashboard",
3420
3419
  component: e,
@@ -3430,8 +3429,8 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3430
3429
  name: "/dashboard/:collection",
3431
3430
  props: !0,
3432
3431
  components: {
3433
- default: () => import("./index-Bs_rSdPH.js"),
3434
- topbar: () => Promise.resolve().then(() => No)
3432
+ default: () => import("./index-aZQdsGUq.js"),
3433
+ topbar: () => Promise.resolve().then(() => Po)
3435
3434
  },
3436
3435
  meta: {
3437
3436
  title: ({ collectionName: o, t: a }) => a(o, {
@@ -3444,7 +3443,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3444
3443
  name: "/dashboard/:collection/:id",
3445
3444
  props: !0,
3446
3445
  components: {
3447
- default: () => import("./_id_-V0WfA8Ww.js")
3446
+ default: () => import("./_id_-CWAHXQZG.js")
3448
3447
  },
3449
3448
  meta: {
3450
3449
  title: ({ collectionName: o, t: a }) => a(o, {
@@ -3464,7 +3463,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3464
3463
  children: [
3465
3464
  {
3466
3465
  path: "profile",
3467
- component: () => import("./index-Cw0EFXRg.js"),
3466
+ component: () => import("./index-WcqFFcZ5.js"),
3468
3467
  meta: {
3469
3468
  title: "User profile",
3470
3469
  icon: "user-square"
@@ -3473,7 +3472,7 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3473
3472
  {
3474
3473
  path: "changepass",
3475
3474
  name: "/dashboard/user/changepass",
3476
- component: () => import("./index-DNqnA0oj.js"),
3475
+ component: () => import("./index-CKm25VZg.js"),
3477
3476
  meta: {
3478
3477
  title: "Change password",
3479
3478
  icon: "lock"
@@ -3485,38 +3484,38 @@ const dl = /* @__PURE__ */ E(Mo, [["render", Eo], ["__scopeId", "data-v-3cfef7fb
3485
3484
  });
3486
3485
  export {
3487
3486
  Me as A,
3488
- Bn as B,
3489
- Ko as C,
3490
- Io as D,
3491
- To as E,
3492
- Po as F,
3493
- pl as G,
3494
- fl as H,
3487
+ In as B,
3488
+ Yo as C,
3489
+ Ao as D,
3490
+ wo as E,
3491
+ Zo as F,
3492
+ ml as G,
3493
+ pl as H,
3495
3494
  E as _,
3496
3495
  le as a,
3497
3496
  H as b,
3498
- ml as c,
3499
- $n as d,
3500
- ul as e,
3501
- Aa as f,
3497
+ dl as c,
3498
+ _n as d,
3499
+ rl as e,
3500
+ Oa as f,
3502
3501
  Le as g,
3503
- dl as h,
3502
+ cl as h,
3504
3503
  Oe as i,
3505
- rl as j,
3504
+ sl as j,
3506
3505
  he as k,
3507
3506
  de as l,
3508
- Et as m,
3507
+ zt as m,
3509
3508
  Ve as n,
3510
- co as o,
3511
- Oa as p,
3512
- Jt as q,
3513
- cl as r,
3514
- pn as s,
3515
- so as t,
3516
- Yo as u,
3517
- Wn as v,
3509
+ uo as o,
3510
+ Ca as p,
3511
+ Xt as q,
3512
+ ul as r,
3513
+ mn as s,
3514
+ io as t,
3515
+ Wo as u,
3516
+ Gn as v,
3518
3517
  _e as w,
3519
- Vn as x,
3520
- ia as y,
3518
+ kn as x,
3519
+ la as y,
3521
3520
  Qe as z
3522
3521
  };