@aeria-ui/ui 0.0.153 → 0.0.154

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,7 +1,7 @@
1
- import { defineComponent as F, ref as ee, resolveDirective as ne, openBlock as t, createElementBlock as s, normalizeClass as W, Fragment as P, renderList as H, withDirectives as Z, toDisplayString as C, createCommentVNode as h, createTextVNode as Q, unref as e, renderSlot as A, withModifiers as Re, inject as fe, computed as X, createElementVNode as B, mergeProps as z, createBlock as V, withCtx as b, resolveDynamicComponent as he, useCssVars as gt, normalizeProps as de, guardReactiveProps as Ce, Teleport as We, createVNode as L, onMounted as Ye, watch as ue, vModelDynamic as $t, onBeforeMount as vt, normalizeStyle as $e, provide as ge, createSlots as _e, vModelCheckbox as kt, onUnmounted as Vt, resolveComponent as Ct, Suspense as Ot, useSlots as It, h as At } from "vue";
1
+ import { defineComponent as F, ref as ee, resolveDirective as ne, openBlock as t, createElementBlock as s, normalizeClass as W, Fragment as P, renderList as D, withDirectives as Z, toDisplayString as C, createCommentVNode as g, createTextVNode as G, unref as e, renderSlot as I, withModifiers as Re, inject as fe, computed as X, createElementVNode as B, mergeProps as z, createBlock as V, withCtx as h, resolveDynamicComponent as be, useCssVars as gt, normalizeProps as de, guardReactiveProps as Ce, Teleport as We, createVNode as L, onMounted as Ye, watch as ue, vModelDynamic as $t, onBeforeMount as vt, normalizeStyle as $e, provide as ge, createSlots as _e, vModelCheckbox as kt, onUnmounted as Vt, resolveComponent as Ct, Suspense as Ot, useSlots as At, h as It } from "vue";
2
2
  import { t as q, useI18n as Bt } from "@aeria-ui/i18n";
3
- import { INSTANCE_VARS_SYMBOL as St, useScrollObserver as Ke, useBreakpoints as Le, useMask as wt, PAGINATION_PER_PAGE_DEFAULTS as Tt, API_URL as yt, request as jt, useDebounce as bt, convertToSearchQuery as Rt, useParentCollectionStore as je, useCollectionStore as qt, useAction as Lt, convertFromSearchQuery as Mt, usePasswordPolicy as zt } from "@aeria-ui/core";
4
- import { arraysIntersect as Ge, deepClone as Ie, getReferenceProperty as me, freshItem as Ft, isRequired as dt, evaluateCondition as Ee, deepMerge as qe } from "@aeriajs/common";
3
+ import { INSTANCE_VARS_SYMBOL as St, useScrollObserver as Ke, useBreakpoints as Le, useMask as wt, PAGINATION_PER_PAGE_DEFAULTS as Tt, API_URL as yt, request as jt, useDebounce as ht, convertToSearchQuery as Rt, useParentCollectionStore as je, useCollectionStore as qt, useAction as Lt, convertFromSearchQuery as Mt, usePasswordPolicy as zt } from "@aeria-ui/core";
4
+ import { arraysIntersect as Ge, deepClone as Ae, getReferenceProperty as me, freshItem as Ft, isRequired as dt, evaluateCondition as Ee, deepMerge as qe } from "@aeriajs/common";
5
5
  import { useStore as ie, getStoreId as Me, useParentStore as He, STORE_ID as ze, getGlobalStateManager as Xe } from "@aeria-ui/state-management";
6
6
  import { useRouter as Be } from "vue-router";
7
7
  import { convertConditionToQuery as Et, isDocumentComplete as Ut, getObjectKey as Ht } from "@aeria-ui/utils";
@@ -25,7 +25,7 @@ const Dt = ["onClick"], Qt = { key: 0 }, Gt = {
25
25
  "accordion--padded": !n.noPadding
26
26
  })
27
27
  }, [
28
- (t(!0), s(P, null, H(Object.keys(n.$slots).filter((u) => u !== "default"), (u, m) => (t(), s("div", {
28
+ (t(!0), s(P, null, D(Object.keys(n.$slots).filter((u) => u !== "default"), (u, m) => (t(), s("div", {
29
29
  key: u,
30
30
  class: "accordion__slot"
31
31
  }, [
@@ -33,25 +33,25 @@ const Dt = ["onClick"], Qt = { key: 0 }, Gt = {
33
33
  class: "accordion__header",
34
34
  onClick: (d) => r.value === u ? r.value = null : r.value = u
35
35
  }, [
36
- n.enumerate ? (t(), s("span", Qt, C(m + 1) + ". ", 1)) : h("", !0),
37
- Q(" " + C(n.headers[u] ? o(n.headers[u]) : e(q)(u)), 1)
36
+ n.enumerate ? (t(), s("span", Qt, C(m + 1) + ". ", 1)) : g("", !0),
37
+ G(" " + C(n.headers[u] ? o(n.headers[u]) : e(q)(u)), 1)
38
38
  ], 8, Dt)), [
39
39
  [c]
40
40
  ]),
41
41
  r.value === u ? (t(), s("div", Gt, [
42
- A(n.$slots, u, {}, void 0, !0)
43
- ])) : h("", !0)
42
+ I(n.$slots, u, {}, void 0, !0)
43
+ ])) : g("", !0)
44
44
  ]))), 128))
45
45
  ], 2);
46
46
  };
47
47
  }
48
48
  });
49
- const D = (p, r) => {
49
+ const Q = (p, r) => {
50
50
  const o = p.__vccOpts || p;
51
51
  for (const [n, a] of r)
52
52
  o[n] = a;
53
53
  return o;
54
- }, Ol = /* @__PURE__ */ D(Wt, [["__scopeId", "data-v-3ea933d4"]]), Yt = /* @__PURE__ */ F({
54
+ }, Ol = /* @__PURE__ */ Q(Wt, [["__scopeId", "data-v-3ea933d4"]]), Yt = /* @__PURE__ */ F({
55
55
  __name: "aeria-badge",
56
56
  props: {
57
57
  large: { type: Boolean },
@@ -65,11 +65,11 @@ const D = (p, r) => {
65
65
  { "badge--alt": r.alt }
66
66
  ])
67
67
  }, [
68
- A(r.$slots, "default", {}, void 0, !0)
68
+ I(r.$slots, "default", {}, void 0, !0)
69
69
  ], 2));
70
70
  }
71
71
  });
72
- const Ve = /* @__PURE__ */ D(Yt, [["__scopeId", "data-v-4cbce7ef"]]), Kt = /* @__PURE__ */ F({
72
+ const Ve = /* @__PURE__ */ Q(Yt, [["__scopeId", "data-v-4cbce7ef"]]), Kt = /* @__PURE__ */ F({
73
73
  __name: "aeria-bare-button",
74
74
  props: {
75
75
  disabled: { type: Boolean }
@@ -86,11 +86,11 @@ const Ve = /* @__PURE__ */ D(Yt, [["__scopeId", "data-v-4cbce7ef"]]), Kt = /* @_
86
86
  ]),
87
87
  onClick: Re(a, ["prevent"])
88
88
  }, [
89
- A(c.$slots, "default", {}, void 0, !0)
89
+ I(c.$slots, "default", {}, void 0, !0)
90
90
  ], 2));
91
91
  }
92
92
  });
93
- const ye = /* @__PURE__ */ D(Kt, [["__scopeId", "data-v-1883f6a0"]]), Xt = ["href"], Jt = {
93
+ const ye = /* @__PURE__ */ Q(Kt, [["__scopeId", "data-v-1883f6a0"]]), Xt = ["href"], Jt = {
94
94
  key: 0,
95
95
  "data-component": "icon-label"
96
96
  }, Zt = /* @__PURE__ */ F({
@@ -136,12 +136,12 @@ const ye = /* @__PURE__ */ D(Kt, [["__scopeId", "data-v-1883f6a0"]]), Xt = ["hre
136
136
  ], 16))
137
137
  ], 2),
138
138
  c.$slots.default ? (t(), s("div", Jt, [
139
- A(c.$slots, "default", {}, void 0, !0)
140
- ])) : h("", !0)
139
+ I(c.$slots, "default", {}, void 0, !0)
140
+ ])) : g("", !0)
141
141
  ], 2));
142
142
  }
143
143
  });
144
- const Y = /* @__PURE__ */ D(Zt, [["__scopeId", "data-v-263a2782"]]), Pt = { class: "button__content" }, Nt = {
144
+ const Y = /* @__PURE__ */ Q(Zt, [["__scopeId", "data-v-263a2782"]]), Pt = { class: "button__content" }, Nt = {
145
145
  key: 1,
146
146
  class: "button__content"
147
147
  }, xt = /* @__PURE__ */ F({
@@ -174,26 +174,26 @@ const Y = /* @__PURE__ */ D(Zt, [["__scopeId", "data-v-263a2782"]]), Pt = { clas
174
174
  ]),
175
175
  disabled: a.disabled || a.loading
176
176
  }, {
177
- default: b(() => [
177
+ default: h(() => [
178
178
  a.icon ? (t(), V(Y, {
179
179
  key: 0,
180
180
  icon: a.icon
181
181
  }, {
182
- default: b(() => [
182
+ default: h(() => [
183
183
  B("div", Pt, [
184
- A(a.$slots, "default", {}, void 0, !0)
184
+ I(a.$slots, "default", {}, void 0, !0)
185
185
  ])
186
186
  ]),
187
187
  _: 3
188
188
  }, 8, ["icon"])) : (t(), s("div", Nt, [
189
- A(a.$slots, "default", {}, void 0, !0)
189
+ I(a.$slots, "default", {}, void 0, !0)
190
190
  ]))
191
191
  ]),
192
192
  _: 3
193
193
  }, 8, ["class", "disabled"]));
194
194
  }
195
195
  });
196
- const pe = /* @__PURE__ */ D(xt, [["__scopeId", "data-v-e9f582db"]]), en = { class: "card__picture" }, tn = { class: "card__footer" }, nn = { class: "card__footer-upper" }, on = { class: "card__actions" }, an = { class: "card__badge" }, ln = /* @__PURE__ */ F({
196
+ const pe = /* @__PURE__ */ Q(xt, [["__scopeId", "data-v-e9f582db"]]), en = { class: "card__picture" }, tn = { class: "card__footer" }, nn = { class: "card__footer-upper" }, on = { class: "card__actions" }, an = { class: "card__badge" }, ln = /* @__PURE__ */ F({
197
197
  __name: "aeria-card",
198
198
  props: {
199
199
  inactive: { type: Boolean },
@@ -208,32 +208,32 @@ const pe = /* @__PURE__ */ D(xt, [["__scopeId", "data-v-e9f582db"]]), en = { cla
208
208
  ])
209
209
  }, [
210
210
  B("div", en, [
211
- A(r.$slots, "default", {}, void 0, !0)
211
+ I(r.$slots, "default", {}, void 0, !0)
212
212
  ]),
213
213
  B("div", tn, [
214
214
  B("div", nn, [
215
215
  B("div", null, [
216
- A(r.$slots, "footer", {}, void 0, !0)
216
+ I(r.$slots, "footer", {}, void 0, !0)
217
217
  ]),
218
218
  B("div", on, [
219
- r.$slots.actions ? A(r.$slots, "actions", { key: 0 }, void 0, !0) : h("", !0)
219
+ r.$slots.actions ? I(r.$slots, "actions", { key: 0 }, void 0, !0) : g("", !0)
220
220
  ])
221
221
  ]),
222
222
  B("div", an, [
223
- A(r.$slots, "badge", {}, void 0, !0)
223
+ I(r.$slots, "badge", {}, void 0, !0)
224
224
  ])
225
225
  ])
226
226
  ], 2));
227
227
  }
228
228
  });
229
- const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { class: "panel__header-left" }, un = { key: 1 }, cn = {
229
+ const sn = /* @__PURE__ */ Q(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { class: "panel__header-left" }, un = { key: 1 }, cn = {
230
230
  key: 2,
231
231
  style: { "margin-left": "auto" }
232
232
  }, dn = /* @__PURE__ */ F({
233
233
  __name: "aeria-panel",
234
234
  props: {
235
235
  closeHint: { type: Boolean, default: !1 },
236
- modelValue: { type: [Boolean, Object], default: !0 },
236
+ modelValue: { type: [Boolean, String, Object], default: !0 },
237
237
  title: {},
238
238
  float: { type: Boolean },
239
239
  fixedRight: { type: Boolean },
@@ -260,7 +260,7 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
260
260
  n("update:collapsed", l), a.value = l;
261
261
  };
262
262
  return (l, y) => {
263
- const g = ne("clickable"), f = ne("loading"), I = ne("overlay");
263
+ const $ = ne("clickable"), f = ne("loading"), A = ne("overlay");
264
264
  return l.modelValue ? Z((t(), s("div", {
265
265
  key: 0,
266
266
  class: W([
@@ -268,7 +268,7 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
268
268
  { "panel--fixed": l.fixedRight }
269
269
  ])
270
270
  }, [
271
- (t(), V(he(
271
+ (t(), V(be(
272
272
  l.float || l.fixedRight ? "dialog" : "div"
273
273
  ), {
274
274
  "data-component": "panel",
@@ -284,7 +284,7 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
284
284
  ]),
285
285
  onClick: y[2] || (y[2] = (i) => i.stopPropagation())
286
286
  }, {
287
- default: b(() => [
287
+ default: h(() => [
288
288
  l.$slots.header || l.title ? (t(), s("div", {
289
289
  key: 0,
290
290
  class: W([
@@ -294,10 +294,10 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
294
294
  ])
295
295
  }, [
296
296
  B("div", rn, [
297
- l.$slots.header ? A(l.$slots, "header", { key: 0 }, void 0, !0) : l.title ? (t(), s("div", un, C(l.title), 1)) : h("", !0),
297
+ l.$slots.header ? I(l.$slots, "header", { key: 0 }, void 0, !0) : l.title ? (t(), s("div", un, C(l.title), 1)) : g("", !0),
298
298
  l.$slots.extra ? (t(), s("div", cn, [
299
- A(l.$slots, "extra", {}, void 0, !0)
300
- ])) : h("", !0)
299
+ I(l.$slots, "extra", {}, void 0, !0)
300
+ ])) : g("", !0)
301
301
  ]),
302
302
  l.collapsible && a.value ? Z((t(), V(Y, {
303
303
  key: 0,
@@ -305,24 +305,24 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
305
305
  icon: "plus",
306
306
  onClick: y[0] || (y[0] = (i) => v(!a.value))
307
307
  }, null, 512)), [
308
- [g]
308
+ [$]
309
309
  ]) : l.collapsible && !a.value ? Z((t(), V(Y, {
310
310
  key: 1,
311
311
  reactive: "",
312
312
  icon: "minus",
313
313
  onClick: y[1] || (y[1] = (i) => v(!a.value))
314
314
  }, null, 512)), [
315
- [g]
315
+ [$]
316
316
  ]) : l.closeHint ? Z((t(), V(Y, {
317
317
  key: 2,
318
318
  reactive: "",
319
319
  icon: "x",
320
320
  onClick: m
321
321
  }, null, 512)), [
322
- [g]
323
- ]) : h("", !0)
324
- ], 2)) : h("", !0),
325
- a.value ? h("", !0) : Z((t(), s("div", {
322
+ [$]
323
+ ]) : g("", !0)
324
+ ], 2)) : g("", !0),
325
+ a.value ? g("", !0) : Z((t(), s("div", {
326
326
  key: 1,
327
327
  ref_key: "body",
328
328
  ref: c,
@@ -332,7 +332,7 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
332
332
  { "panel__body--padded": !l.fill }
333
333
  ])
334
334
  }, [
335
- A(l.$slots, "default", {}, void 0, !0)
335
+ I(l.$slots, "default", {}, void 0, !0)
336
336
  ], 2)), [
337
337
  [f, l.loading]
338
338
  ]),
@@ -344,23 +344,23 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
344
344
  { "panel__footer--shadowed": !e(u) }
345
345
  ])
346
346
  }, [
347
- A(l.$slots, "footer", {}, void 0, !0)
348
- ], 2)) : h("", !0)
347
+ I(l.$slots, "footer", {}, void 0, !0)
348
+ ], 2)) : g("", !0)
349
349
  ]),
350
350
  _: 3
351
351
  }, 8, ["class"]))
352
352
  ], 2)), [
353
- [I, {
353
+ [A, {
354
354
  condition: l.overlay || l.fixedRight || l.float,
355
355
  invisible: l.invisibleOverlay,
356
356
  click: d,
357
357
  layer: l.overlayLayer || (l.float ? 60 : l.fixedRight ? 50 : 0)
358
358
  }]
359
- ]) : h("", !0);
359
+ ]) : g("", !0);
360
360
  };
361
361
  }
362
362
  });
363
- const Se = /* @__PURE__ */ D(dn, [["__scopeId", "data-v-84cde0d8"]]), pn = { class: "content__body" }, _n = {
363
+ const Se = /* @__PURE__ */ Q(dn, [["__scopeId", "data-v-3075829a"]]), pn = { class: "content__body" }, _n = {
364
364
  key: 0,
365
365
  class: "content__section"
366
366
  }, mn = { class: "content__item" }, fn = /* @__PURE__ */ F({
@@ -383,7 +383,7 @@ const Se = /* @__PURE__ */ D(dn, [["__scopeId", "data-v-84cde0d8"]]), pn = { cla
383
383
  }
384
384
  return !0;
385
385
  }), u = (d, v) => {
386
- const l = v && Ie(v);
386
+ const l = v && Ae(v);
387
387
  d.click && d.click(l), o("actionClick", {
388
388
  action: d,
389
389
  subject: l
@@ -414,11 +414,11 @@ const Se = /* @__PURE__ */ D(dn, [["__scopeId", "data-v-84cde0d8"]]), pn = { cla
414
414
  class: "contextmenu__trigger",
415
415
  onClick: v[0] || (v[0] = (y) => a.value = !0)
416
416
  }, [
417
- A(d.$slots, "default", de(Ce({
417
+ I(d.$slots, "default", de(Ce({
418
418
  visible: a.value
419
419
  })), void 0, !0)
420
420
  ])
421
- ], 512)) : h("", !0),
421
+ ], 512)) : g("", !0),
422
422
  a.value ? (t(), V(We, {
423
423
  key: 1,
424
424
  to: "main"
@@ -431,58 +431,58 @@ const Se = /* @__PURE__ */ D(dn, [["__scopeId", "data-v-84cde0d8"]]), pn = { cla
431
431
  class: "content",
432
432
  style: { "--panel-min-width": "0" }
433
433
  }, {
434
- default: b(() => [
434
+ default: h(() => [
435
435
  B("div", pn, [
436
436
  d.$slots.header ? (t(), s("div", _n, [
437
- A(d.$slots, "header", {}, void 0, !0)
438
- ])) : h("", !0),
437
+ I(d.$slots, "header", {}, void 0, !0)
438
+ ])) : g("", !0),
439
439
  Object.keys(d.$slots).filter((y) => !["default", "extra", "header"].includes(y)).length > 0 ? (t(), s("div", {
440
440
  key: 1,
441
441
  class: "content__section",
442
442
  onClick: v[1] || (v[1] = (y) => a.value = !1)
443
443
  }, [
444
- (t(!0), s(P, null, H(Object.keys(d.$slots).filter((y) => !["default", "extra", "header"].includes(y)), (y, g) => (t(), V(ye, {
445
- key: `slot-${g}`,
444
+ (t(!0), s(P, null, D(Object.keys(d.$slots).filter((y) => !["default", "extra", "header"].includes(y)), (y, $) => (t(), V(ye, {
445
+ key: `slot-${$}`,
446
446
  class: "content__item content__item--reactive"
447
447
  }, {
448
- default: b(() => [
449
- A(d.$slots, y, {}, void 0, !0)
448
+ default: h(() => [
449
+ I(d.$slots, y, {}, void 0, !0)
450
450
  ]),
451
451
  _: 2
452
452
  }, 1024))), 128))
453
- ])) : h("", !0),
453
+ ])) : g("", !0),
454
454
  d.actions !== void 0 && d.actions.length > 0 ? (t(), s("div", {
455
455
  key: 2,
456
456
  class: "content__section",
457
457
  onClick: v[2] || (v[2] = (y) => a.value = !1)
458
458
  }, [
459
- (t(!0), s(P, null, H(c(d.actions), (y, g) => (t(), V(ye, {
460
- key: `action-${g}`,
459
+ (t(!0), s(P, null, D(c(d.actions), (y, $) => (t(), V(ye, {
460
+ key: `action-${$}`,
461
461
  class: "content__item content__item--reactive",
462
462
  onClick: (f) => u(y, d.subject)
463
463
  }, {
464
- default: b(() => [
464
+ default: h(() => [
465
465
  L(Y, {
466
466
  icon: y.icon || "gear"
467
467
  }, {
468
- default: b(() => [
469
- Q(C(y.translate ? e(q)(y.label, { capitalize: !0 }) : y.label), 1)
468
+ default: h(() => [
469
+ G(C(y.translate ? e(q)(y.label, { capitalize: !0 }) : y.label), 1)
470
470
  ]),
471
471
  _: 2
472
472
  }, 1032, ["icon"])
473
473
  ]),
474
474
  _: 2
475
475
  }, 1032, ["onClick"]))), 128))
476
- ])) : h("", !0),
476
+ ])) : g("", !0),
477
477
  d.$slots.extra ? (t(), s("div", {
478
478
  key: 3,
479
479
  class: "content__section",
480
480
  onClick: v[3] || (v[3] = (y) => a.value = !1)
481
481
  }, [
482
482
  B("div", mn, [
483
- d.$slots.extra ? A(d.$slots, "extra", { key: 0 }, void 0, !0) : h("", !0)
483
+ d.$slots.extra ? I(d.$slots, "extra", { key: 0 }, void 0, !0) : g("", !0)
484
484
  ])
485
- ])) : h("", !0)
485
+ ])) : g("", !0)
486
486
  ])
487
487
  ]),
488
488
  _: 3
@@ -499,12 +499,12 @@ const Se = /* @__PURE__ */ D(dn, [["__scopeId", "data-v-84cde0d8"]]), pn = { cla
499
499
  { invisibleOnLarge: !0 }
500
500
  ]
501
501
  ])
502
- ])) : h("", !0)
502
+ ])) : g("", !0)
503
503
  ], 64);
504
504
  };
505
505
  }
506
506
  });
507
- const Ae = /* @__PURE__ */ D(fn, [["__scopeId", "data-v-ee3ea72f"]]), vn = { class: "info__content" }, yn = /* @__PURE__ */ F({
507
+ const Ie = /* @__PURE__ */ Q(fn, [["__scopeId", "data-v-ee3ea72f"]]), vn = { class: "info__content" }, yn = /* @__PURE__ */ F({
508
508
  __name: "aeria-info",
509
509
  props: {
510
510
  where: { default: "top" }
@@ -524,18 +524,18 @@ const Ae = /* @__PURE__ */ D(fn, [["__scopeId", "data-v-ee3ea72f"]]), vn = { cla
524
524
  ])
525
525
  }, [
526
526
  B("div", vn, [
527
- A(n.$slots, "text", {}, void 0, !0)
527
+ I(n.$slots, "text", {}, void 0, !0)
528
528
  ])
529
- ], 2)) : h("", !0),
529
+ ], 2)) : g("", !0),
530
530
  B("div", {
531
531
  onMouseover: a[0] || (a[0] = (c) => o.value = !0)
532
532
  }, [
533
- A(n.$slots, "default", {}, void 0, !0)
533
+ I(n.$slots, "default", {}, void 0, !0)
534
534
  ], 32)
535
- ], 32)) : A(n.$slots, "default", { key: 1 }, void 0, !0);
535
+ ], 32)) : I(n.$slots, "default", { key: 1 }, void 0, !0);
536
536
  }
537
537
  });
538
- const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { class: "input" }, gn = {
538
+ const hn = /* @__PURE__ */ Q(yn, [["__scopeId", "data-v-15a38847"]]), bn = { class: "input" }, gn = {
539
539
  key: 0,
540
540
  class: "input__label"
541
541
  }, $n = {
@@ -559,7 +559,7 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
559
559
  emits: ["update:modelValue", "input", "change", "clipboardCopy"],
560
560
  setup(p, { emit: r }) {
561
561
  var K;
562
- const o = p, n = r, a = o.property || {}, c = "icon" in a || "inputType" in a && a.inputType === "search", u = fe("searchOnly", !1), m = fe("innerInputLabel", !1), d = !u && (o.readOnly || a.readOnly), v = ($) => (n("clipboardCopy", $), navigator.clipboard.writeText($)), l = fe("inputVariant", o.variant) || "normal", y = Object.assign(Object.assign({}, o), {
562
+ const o = p, n = r, a = o.property || {}, c = "icon" in a || "inputType" in a && a.inputType === "search", u = fe("searchOnly", !1), m = fe("innerInputLabel", !1), d = !u && (o.readOnly || a.readOnly), v = (b) => (n("clipboardCopy", b), navigator.clipboard.writeText(b)), l = fe("inputVariant", o.variant) || "normal", y = Object.assign(Object.assign({}, o), {
563
563
  name: o.propertyName,
564
564
  readonly: d,
565
565
  type: (() => {
@@ -585,76 +585,79 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
585
585
  "type" in a && ((a.type === "number" || a.type === "integer") && (a.minimum && (y.min = a.minimum), a.exclusiveMinimum && (y.min = a.exclusiveMinimum + 1), a.maximum && (y.max = a.maximum), a.exclusiveMaximum && (y.max = a.exclusiveMaximum - 1)), a.type === "string" && ((a.format === "date" || a.format === "date-time") && (y.type = !u && a.format === "date-time" ? "datetime-local" : "date"), y.minlength = a.minLength, y.maxlength = a.maxLength)), y.type === "text" && u && (y.type = "search"), Ye(() => {
586
586
  o.modelValue !== null && M(o.modelValue);
587
587
  });
588
- const g = ($) => {
589
- if (typeof $ == "string")
590
- return $;
591
- if (!($ instanceof Date))
588
+ const $ = (b) => {
589
+ let U;
590
+ if (typeof b == "string")
591
+ U = b;
592
+ else if (b instanceof Date)
593
+ U = b.toISOString();
594
+ else
592
595
  return "";
593
596
  switch (y.type) {
594
597
  case "date":
595
- return $.toISOString().slice(0, 10);
598
+ return U.slice(0, 10);
596
599
  case "datetime-local":
597
- return $.toISOString().slice(0, 19);
600
+ return U.slice(0, 19);
598
601
  default:
599
602
  throw new Error();
600
603
  }
601
- }, f = ee(""), I = ((K = o.property) == null ? void 0 : K.type) === "string" && o.property.mask ? wt(o.property.mask) : null;
602
- ue(() => o.modelValue, ($) => {
604
+ }, f = ee(""), A = ((K = o.property) == null ? void 0 : K.type) === "string" && o.property.mask ? wt(o.property.mask) : null;
605
+ ue(() => o.modelValue, (b) => {
603
606
  f.value = (() => {
604
- if (I)
605
- return $ ? I.enmask(String($), void 0, {
607
+ if (A)
608
+ return b ? A.enmask(String(b), void 0, {
606
609
  defaultValue: !0
607
610
  }) : "";
608
611
  switch (y.type) {
609
612
  case "date":
610
613
  case "datetime-local":
611
- return g($);
614
+ return $(b);
612
615
  }
613
- switch ($) {
616
+ switch (b) {
614
617
  case null:
615
618
  case void 0:
616
619
  return "";
617
620
  default:
618
- return $;
621
+ return b;
619
622
  }
620
623
  })();
621
624
  }, {
622
625
  immediate: !0
623
626
  });
624
- const i = ($) => {
625
- var G;
626
- return typeof f.value == "string" && ((G = o.property) == null ? void 0 : G.type) === "string" && I !== null ? (f.value = I.enmask(f.value, void 0, {
627
+ const i = (b) => {
628
+ var U;
629
+ return typeof f.value == "string" && ((U = o.property) == null ? void 0 : U.type) === "string" && A !== null ? (f.value = A.enmask(f.value, void 0, {
627
630
  defaultValue: !0
628
- }), o.property.maskedValue === !0 ? f.value : I.unmask(f.value)) : $;
629
- }, M = ($) => {
630
- const G = (() => {
631
- if (!$ || typeof $ != "string")
632
- return $;
631
+ }), o.property.maskedValue === !0 ? f.value : A.unmask(f.value)) : b;
632
+ }, M = (b) => {
633
+ const U = (() => {
634
+ if (!b || typeof b != "string")
635
+ return b;
633
636
  switch (y.type) {
634
637
  case "number":
635
638
  case "integer":
636
- return Number($);
639
+ return Number(b);
637
640
  case "date":
638
641
  case "date-time":
639
- return $;
642
+ return typeof b == "string" ? new Date(b) : b;
640
643
  default:
641
- return i($);
644
+ return i(b);
642
645
  }
643
646
  })();
644
- n("input", G), n("update:modelValue", G);
645
- }, E = ($) => {
646
- const G = $.target.value;
647
- f.value = G, M(G);
647
+ n("input", U), n("update:modelValue", U);
648
+ }, E = (b) => {
649
+ const U = b.target.value;
650
+ f.value = U, M(U);
648
651
  };
649
- return ($, G) => {
652
+ return (b, U) => {
650
653
  const oe = ne("focus"), w = ne("clickable");
651
- return t(), s("label", hn, [
652
- e(m) ? h("", !0) : (t(), s("div", gn, [
653
- $.$slots.default ? A($.$slots, "default", { key: 0 }, void 0, !0) : A($.$slots, "description", { key: 1 }, void 0, !0)
654
+ return t(), s("label", bn, [
655
+ e(m) ? g("", !0) : (t(), s("div", gn, [
656
+ b.$slots.default ? I(b.$slots, "default", { key: 0 }, void 0, !0) : I(b.$slots, "description", { key: 1 }, void 0, !0)
654
657
  ])),
655
- $.$slots.hint ? (t(), s("div", $n, [
656
- A($.$slots, "hint", {}, void 0, !0)
657
- ])) : h("", !0),
658
+ b.$slots.hint ? (t(), s("div", $n, [
659
+ I(b.$slots, "hint", {}, void 0, !0)
660
+ ])) : g("", !0),
658
661
  "element" in e(a) && e(a).element === "textarea" ? (t(), s("div", {
659
662
  key: 2,
660
663
  class: W([
@@ -666,7 +669,7 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
666
669
  Z(B("textarea", {
667
670
  placeholder: e(y).placeholder,
668
671
  readonly: e(y).readonly,
669
- value: $.modelValue,
672
+ value: b.modelValue,
670
673
  class: W([
671
674
  "input__textarea",
672
675
  `input__input--${e(l)}`
@@ -692,7 +695,7 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
692
695
  { "input__input--readOnly": e(d) }
693
696
  ],
694
697
  onInput: E,
695
- onChange: G[0] || (G[0] = (te) => n("change", te))
698
+ onChange: U[0] || (U[0] = (te) => n("change", te))
696
699
  }), null, 16, Vn), [
697
700
  [oe, e(a).focus]
698
701
  ]),
@@ -703,33 +706,33 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
703
706
  "input__icon",
704
707
  `input__icon--${e(l)}`
705
708
  ])
706
- }, null, 8, ["icon", "class"])) : h("", !0),
709
+ }, null, 8, ["icon", "class"])) : g("", !0),
707
710
  e(d) ? (t(), s("div", Cn, [
708
- L(bn, null, {
709
- text: b(() => G[2] || (G[2] = [
710
- Q("Copiar")
711
+ L(hn, null, {
712
+ text: h(() => U[2] || (U[2] = [
713
+ G("Copiar")
711
714
  ])),
712
- default: b(() => [
715
+ default: h(() => [
713
716
  Z(L(Y, {
714
717
  reactive: "",
715
718
  icon: "clipboard",
716
- onClick: G[1] || (G[1] = Re((te) => v(String($.modelValue || "")), ["prevent"]))
719
+ onClick: U[1] || (U[1] = Re((te) => v(String(b.modelValue || "")), ["prevent"]))
717
720
  }, null, 512), [
718
721
  [w]
719
722
  ])
720
723
  ]),
721
724
  _: 1
722
725
  })
723
- ])) : h("", !0)
726
+ ])) : g("", !0)
724
727
  ], 2))
725
728
  ]);
726
729
  };
727
730
  }
728
731
  });
729
- const Oe = /* @__PURE__ */ D(On, [["__scopeId", "data-v-b4ebd684"]]), In = {
732
+ const Oe = /* @__PURE__ */ Q(On, [["__scopeId", "data-v-31001eea"]]), An = {
730
733
  key: 1,
731
734
  value: ""
732
- }, An = ["value", "data-selected"], Bn = /* @__PURE__ */ F({
735
+ }, In = ["value", "data-selected"], Bn = /* @__PURE__ */ F({
733
736
  __name: "aeria-select",
734
737
  props: {
735
738
  modelValue: {},
@@ -751,11 +754,11 @@ const Oe = /* @__PURE__ */ D(On, [["__scopeId", "data-v-b4ebd684"]]), In = {
751
754
  l === "" || l === null ? u(null) : o.booleanRef ? u(l === "true") : u(l);
752
755
  }, d = (l) => Array.isArray(o.modelValue) ? o.modelValue.includes(l) : o.modelValue === l, v = X(() => o.multiple ? typeof o.multiple == "number" ? o.multiple : 5 : 1);
753
756
  return o.multiple && ue(() => o.modelValue, (l) => {
754
- var g;
757
+ var $;
755
758
  if (!a.value)
756
759
  return;
757
760
  const y = a.value.querySelector('option[data-selected="true"]');
758
- y && y.removeAttribute("data-selected"), (g = a.value.querySelector(`option[value="${l}"]`)) == null || g.setAttribute("data-selected", "true");
761
+ y && y.removeAttribute("data-selected"), ($ = a.value.querySelector(`option[value="${l}"]`)) == null || $.setAttribute("data-selected", "true");
759
762
  }), (l, y) => l.readOnly ? (t(), V(Oe, {
760
763
  key: 1,
761
764
  "read-only": "",
@@ -771,26 +774,26 @@ const Oe = /* @__PURE__ */ D(On, [["__scopeId", "data-v-b4ebd684"]]), In = {
771
774
  "select--multiple": !!v.value,
772
775
  "select--outline": !l.noOutline
773
776
  },
774
- onChange: y[0] || (y[0] = (g) => m(g.target.value))
777
+ onChange: y[0] || (y[0] = ($) => m($.target.value))
775
778
  }), [
776
779
  e(c) && e(c).icon ? (t(), V(Y, {
777
780
  key: 0,
778
781
  icon: e(c).icon
779
- }, null, 8, ["icon"])) : h("", !0),
780
- !o.multiple && !l.required ? (t(), s("option", In, C(e(q)("none")), 1)) : h("", !0),
781
- (t(!0), s(P, null, H(e(c) && "enum" in e(c) ? e(c).enum : [], (g) => {
782
+ }, null, 8, ["icon"])) : g("", !0),
783
+ !o.multiple && !l.required ? (t(), s("option", An, C(e(q)("none")), 1)) : g("", !0),
784
+ (t(!0), s(P, null, D(e(c) && "enum" in e(c) ? e(c).enum : [], ($) => {
782
785
  var f;
783
786
  return t(), s("option", {
784
- key: String(g),
785
- value: g,
786
- "data-selected": d(g)
787
- }, C((f = e(c)) != null && f.translate ? e(q)(g) : g), 9, An);
787
+ key: String($),
788
+ value: $,
789
+ "data-selected": d($)
790
+ }, C((f = e(c)) != null && f.translate ? e(q)($) : $), 9, In);
788
791
  }), 128)),
789
- A(l.$slots, "default", {}, void 0, !0)
792
+ I(l.$slots, "default", {}, void 0, !0)
790
793
  ], 16));
791
794
  }
792
795
  });
793
- const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { class: "pagination" }, wn = { class: "pagination__arrows" }, Tn = ["value"], jn = {
796
+ const Je = /* @__PURE__ */ Q(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { class: "pagination" }, wn = { class: "pagination__arrows" }, Tn = ["value"], jn = {
794
797
  key: 0,
795
798
  class: "pagination__summary"
796
799
  }, Rn = /* @__PURE__ */ F({
@@ -828,7 +831,7 @@ const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
828
831
  disabled: a.value === 0,
829
832
  onClick: l[0] || (l[0] = (y) => a.value = 0)
830
833
  }, {
831
- default: b(() => [
834
+ default: h(() => [
832
835
  L(Y, { icon: "caret-double-left" })
833
836
  ]),
834
837
  _: 1
@@ -837,7 +840,7 @@ const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
837
840
  disabled: a.value === 0,
838
841
  onClick: l[1] || (l[1] = (y) => d("previous"))
839
842
  }, {
840
- default: b(() => [
843
+ default: h(() => [
841
844
  L(Y, { icon: "caret-left" })
842
845
  ]),
843
846
  _: 1
@@ -846,7 +849,7 @@ const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
846
849
  disabled: a.value === m.value - 1,
847
850
  onClick: l[2] || (l[2] = (y) => d("next"))
848
851
  }, {
849
- default: b(() => [
852
+ default: h(() => [
850
853
  L(Y, { icon: "caret-right" })
851
854
  ]),
852
855
  _: 1
@@ -855,7 +858,7 @@ const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
855
858
  disabled: a.value === m.value - 1,
856
859
  onClick: l[3] || (l[3] = (y) => a.value = m.value - 1)
857
860
  }, {
858
- default: b(() => [
861
+ default: h(() => [
859
862
  L(Y, { icon: "caret-double-right" })
860
863
  ]),
861
864
  _: 1
@@ -869,8 +872,8 @@ const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
869
872
  },
870
873
  class: "pagination__control"
871
874
  }, {
872
- default: b(() => [
873
- (t(!0), s(P, null, H(e(Tt), (y) => (t(), s("option", {
875
+ default: h(() => [
876
+ (t(!0), s(P, null, D(e(Tt), (y) => (t(), s("option", {
874
877
  key: `limit-${y}`,
875
878
  value: y
876
879
  }, C(y), 9, Tn))), 128))
@@ -878,8 +881,8 @@ const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
878
881
  _: 1
879
882
  }, 8, ["modelValue"])
880
883
  ]),
881
- v.noSummary ? h("", !0) : (t(), s("div", jn, [
882
- Q(C(e(q)("Page")) + " ", 1),
884
+ v.noSummary ? g("", !0) : (t(), s("div", jn, [
885
+ G(C(e(q)("Page")) + " ", 1),
883
886
  (t(), V(Oe, {
884
887
  key: a.value,
885
888
  modelValue: u.value,
@@ -898,7 +901,7 @@ const Je = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
898
901
  ]));
899
902
  }
900
903
  });
901
- const qn = /* @__PURE__ */ D(Rn, [["__scopeId", "data-v-ae7235de"]]), Ln = { class: "checkbox__text" }, Mn = ["innerHTML"], zn = { class: "checkbox__hint" }, Fn = ["innerHTML"], En = {
904
+ const qn = /* @__PURE__ */ Q(Rn, [["__scopeId", "data-v-ae7235de"]]), Ln = { class: "checkbox__text" }, Mn = ["innerHTML"], zn = { class: "checkbox__hint" }, Fn = ["innerHTML"], En = {
902
905
  inheritAttrs: !1
903
906
  }, Un = /* @__PURE__ */ F({
904
907
  ...En,
@@ -959,8 +962,8 @@ const qn = /* @__PURE__ */ D(Rn, [["__scopeId", "data-v-ae7235de"]]), Ln = { cla
959
962
  a && l.preventDefault();
960
963
  };
961
964
  return (l, y) => {
962
- var f, I;
963
- const g = ne("clickable");
965
+ var f, A;
966
+ const $ = ne("clickable");
964
967
  return Z((t(), s("label", {
965
968
  class: W([
966
969
  "checkbox",
@@ -981,25 +984,25 @@ const qn = /* @__PURE__ */ D(Rn, [["__scopeId", "data-v-ae7235de"]]), Ln = { cla
981
984
  ]),
982
985
  B("div", Ln, [
983
986
  B("div", null, [
984
- l.$slots.description ? A(l.$slots, "description", { key: 0 }, void 0, !0) : e(m) ? (t(), s("div", {
987
+ l.$slots.description ? I(l.$slots, "description", { key: 0 }, void 0, !0) : e(m) ? (t(), s("div", {
985
988
  key: 1,
986
989
  innerHTML: (f = e(n)) != null && f.translate ? e(q)(e(m)) : e(m)
987
- }, null, 8, Mn)) : A(l.$slots, "default", { key: 2 }, void 0, !0)
990
+ }, null, 8, Mn)) : I(l.$slots, "default", { key: 2 }, void 0, !0)
988
991
  ]),
989
992
  B("div", zn, [
990
- l.$slots.hint ? A(l.$slots, "hint", { key: 0 }, void 0, !0) : (I = e(n)) != null && I.hint ? (t(), s("div", {
993
+ l.$slots.hint ? I(l.$slots, "hint", { key: 0 }, void 0, !0) : (A = e(n)) != null && A.hint ? (t(), s("div", {
991
994
  key: 1,
992
995
  innerHTML: e(n).hint
993
- }, null, 8, Fn)) : h("", !0)
996
+ }, null, 8, Fn)) : g("", !0)
994
997
  ])
995
998
  ])
996
999
  ], 2)), [
997
- [g]
1000
+ [$]
998
1001
  ]);
999
1002
  };
1000
1003
  }
1001
1004
  });
1002
- const Hn = /* @__PURE__ */ D(Un, [["__scopeId", "data-v-7e6efc77"]]), Dn = {
1005
+ const Hn = /* @__PURE__ */ Q(Un, [["__scopeId", "data-v-7e6efc77"]]), Dn = {
1003
1006
  inheritAttrs: !1
1004
1007
  }, Qn = /* @__PURE__ */ F({
1005
1008
  ...Dn,
@@ -1031,7 +1034,7 @@ const Hn = /* @__PURE__ */ D(Un, [["__scopeId", "data-v-7e6efc77"]]), Dn = {
1031
1034
  grid-template-columns: repeat(var(--columns), 1fr);
1032
1035
  `)
1033
1036
  }, [
1034
- (t(!0), s(P, null, H(e(c), (v) => (t(), s("div", {
1037
+ (t(!0), s(P, null, D(e(c), (v) => (t(), s("div", {
1035
1038
  key: `option-${v}`,
1036
1039
  class: "options__checkbox"
1037
1040
  }, [
@@ -1047,7 +1050,7 @@ const Hn = /* @__PURE__ */ D(Un, [["__scopeId", "data-v-7e6efc77"]]), Dn = {
1047
1050
  ], 4));
1048
1051
  }
1049
1052
  });
1050
- const Gn = /* @__PURE__ */ D(Qn, [["__scopeId", "data-v-bcfc697e"]]), Wn = { class: "switch-wrapper" }, Yn = { key: 1 }, Kn = {
1053
+ const Gn = /* @__PURE__ */ Q(Qn, [["__scopeId", "data-v-bcfc697e"]]), Wn = { class: "switch-wrapper" }, Yn = { key: 1 }, Kn = {
1051
1054
  inheritAttrs: !1
1052
1055
  }, Xn = /* @__PURE__ */ F({
1053
1056
  ...Kn,
@@ -1090,12 +1093,12 @@ const Gn = /* @__PURE__ */ D(Qn, [["__scopeId", "data-v-bcfc697e"]]), Wn = { cla
1090
1093
  blocked: e(c)
1091
1094
  }]
1092
1095
  ]),
1093
- m.$slots.default ? A(m.$slots, "default", { key: 0 }, void 0, !0) : (t(), s("div", Yn, C(((l = e(a)) == null ? void 0 : l.description) || m.propertyName), 1))
1096
+ m.$slots.default ? I(m.$slots, "default", { key: 0 }, void 0, !0) : (t(), s("div", Yn, C(((l = e(a)) == null ? void 0 : l.description) || m.propertyName), 1))
1094
1097
  ]);
1095
1098
  };
1096
1099
  }
1097
1100
  });
1098
- const Jn = /* @__PURE__ */ D(Xn, [["__scopeId", "data-v-ae45597d"]]), Zn = { class: "picture" }, Pn = { style: { position: "fixed", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, Nn = ["src", "alt"], xn = {
1101
+ const Jn = /* @__PURE__ */ Q(Xn, [["__scopeId", "data-v-ae45597d"]]), Zn = { class: "picture" }, Pn = { style: { position: "fixed", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, Nn = ["src", "alt"], xn = {
1099
1102
  key: 0,
1100
1103
  class: "picture__meta"
1101
1104
  }, eo = ["src"], to = { key: 5 }, no = /* @__PURE__ */ F({
@@ -1132,7 +1135,7 @@ const Jn = /* @__PURE__ */ D(Xn, [["__scopeId", "data-v-ae45597d"]]), Zn = { cla
1132
1135
  `,
1133
1136
  onClick: c[0] || (c[0] = (d) => n.value = !0)
1134
1137
  }, null, 8, Nn),
1135
- (m = a.meta) != null && m.owner ? (t(), s("div", xn, C(a.t("created_by")) + " " + C(a.meta.owner.name) + " em " + C(a.formatDateTime(a.meta.created_at, { hours: !0 })), 1)) : h("", !0)
1138
+ (m = a.meta) != null && m.owner ? (t(), s("div", xn, C(a.t("created_by")) + " " + C(a.meta.owner.name) + " em " + C(a.formatDateTime(a.meta.created_at, { hours: !0 })), 1)) : g("", !0)
1136
1139
  ])), [
1137
1140
  [u, {
1138
1141
  layer: 60,
@@ -1141,7 +1144,7 @@ const Jn = /* @__PURE__ */ D(Xn, [["__scopeId", "data-v-ae45597d"]]), Zn = { cla
1141
1144
  }
1142
1145
  }]
1143
1146
  ])
1144
- ])) : h("", !0),
1147
+ ])) : g("", !0),
1145
1148
  o.value ? (t(), s("img", {
1146
1149
  key: 1,
1147
1150
  src: o.value,
@@ -1158,7 +1161,7 @@ const Jn = /* @__PURE__ */ D(Xn, [["__scopeId", "data-v-ae45597d"]]), Zn = { cla
1158
1161
  onClick: c[1] || (c[1] = () => {
1159
1162
  a.expandable && (n.value = !0);
1160
1163
  })
1161
- }, null, 14, eo)) : a.$slots.fallback ? A(a.$slots, "fallback", { key: 2 }, void 0, !0) : a.$slots.default ? A(a.$slots, "default", { key: 3 }, void 0, !0) : (t(), s("svg", {
1164
+ }, null, 14, eo)) : a.$slots.fallback ? I(a.$slots, "fallback", { key: 2 }, void 0, !0) : a.$slots.default ? I(a.$slots, "default", { key: 3 }, void 0, !0) : (t(), s("svg", {
1162
1165
  key: 4,
1163
1166
  class: W(["picture__background", [
1164
1167
  { "picture__image--bordered": a.bordered }
@@ -1190,13 +1193,13 @@ const Jn = /* @__PURE__ */ D(Xn, [["__scopeId", "data-v-ae45597d"]]), Zn = { cla
1190
1193
  }, null, -1)
1191
1194
  ]), 6)),
1192
1195
  a.$slots.caption ? (t(), s("figcaption", to, [
1193
- A(a.$slots, "caption", {}, void 0, !0)
1194
- ])) : h("", !0)
1196
+ I(a.$slots, "caption", {}, void 0, !0)
1197
+ ])) : g("", !0)
1195
1198
  ]);
1196
1199
  };
1197
1200
  }
1198
1201
  });
1199
- const Ue = /* @__PURE__ */ D(no, [["__scopeId", "data-v-9e6a58b0"]]), oo = { class: "item" }, ao = { class: "item__presentation" }, lo = {
1202
+ const Ue = /* @__PURE__ */ Q(no, [["__scopeId", "data-v-9e6a58b0"]]), oo = { class: "item" }, ao = { class: "item__presentation" }, lo = {
1200
1203
  key: 1,
1201
1204
  class: "item__name"
1202
1205
  }, so = { class: "item__size" }, io = /* @__PURE__ */ F({
@@ -1223,7 +1226,7 @@ const Ue = /* @__PURE__ */ D(no, [["__scopeId", "data-v-9e6a58b0"]]), oo = { cla
1223
1226
  alt: e(o).name,
1224
1227
  url: e(o).link,
1225
1228
  class: "item__picture"
1226
- }, null, 8, ["alt", "url"])) : h("", !0),
1229
+ }, null, 8, ["alt", "url"])) : g("", !0),
1227
1230
  B("div", ao, [
1228
1231
  "_id" in e(o) ? (t(), V(Y, {
1229
1232
  key: 0,
@@ -1232,20 +1235,20 @@ const Ue = /* @__PURE__ */ D(no, [["__scopeId", "data-v-9e6a58b0"]]), oo = { cla
1232
1235
  target: "_blank",
1233
1236
  class: "item__name item__name--link"
1234
1237
  }, {
1235
- default: b(() => [
1236
- Q(C(e(o).name), 1)
1238
+ default: h(() => [
1239
+ G(C(e(o).name), 1)
1237
1240
  ]),
1238
1241
  _: 1
1239
1242
  }, 8, ["href"])) : (t(), s("div", lo, C(e(o).name), 1)),
1240
1243
  B("div", so, C(n(e(o).size)), 1)
1241
1244
  ]),
1242
1245
  B("div", null, [
1243
- A(a.$slots, "default", {}, void 0, !0)
1246
+ I(a.$slots, "default", {}, void 0, !0)
1244
1247
  ])
1245
1248
  ]));
1246
1249
  }
1247
1250
  });
1248
- const ro = /* @__PURE__ */ D(io, [["__scopeId", "data-v-85a82246"]]), uo = { class: "file" }, co = ["accept", "multiple"], po = {
1251
+ const ro = /* @__PURE__ */ Q(io, [["__scopeId", "data-v-85a82246"]]), uo = { class: "file" }, co = ["accept", "multiple"], po = {
1249
1252
  key: 1,
1250
1253
  class: "file__list"
1251
1254
  }, _o = /* @__PURE__ */ F({
@@ -1267,14 +1270,14 @@ const ro = /* @__PURE__ */ D(io, [["__scopeId", "data-v-85a82246"]]), uo = { cla
1267
1270
  const o = p, n = o.property && me(o.property), a = r, u = Me() ? He() : null, m = o.multiple || o.property && "type" in o.property && o.property.type === "array", d = X(() => {
1268
1271
  if (o.modelValue)
1269
1272
  return Array.isArray(o.modelValue) ? o.modelValue : [o.modelValue];
1270
- }), v = (g) => new Promise((f) => {
1271
- const I = new FileReader();
1272
- I.onload = () => f(I.result), I.readAsArrayBuffer(g);
1273
- }), l = async (g) => {
1274
- const f = g.target.files;
1273
+ }), v = ($) => new Promise((f) => {
1274
+ const A = new FileReader();
1275
+ A.onload = () => f(A.result), A.readAsArrayBuffer($);
1276
+ }), l = async ($) => {
1277
+ const f = $.target.files;
1275
1278
  if (!f)
1276
1279
  return;
1277
- const I = [];
1280
+ const A = [];
1278
1281
  for (const i of f) {
1279
1282
  const M = await v(i);
1280
1283
  if (u) {
@@ -1289,27 +1292,27 @@ const ro = /* @__PURE__ */ D(io, [["__scopeId", "data-v-85a82246"]]), uo = { cla
1289
1292
  });
1290
1293
  if (E)
1291
1294
  return;
1292
- I.unshift({
1295
+ A.unshift({
1293
1296
  tempId: K.tempId,
1294
1297
  file: i
1295
1298
  });
1296
1299
  } else
1297
- I.unshift({
1300
+ A.unshift({
1298
1301
  file: i
1299
1302
  });
1300
1303
  }
1301
- m ? a("update:modelValue", Array.isArray(o.modelValue) ? I.concat(o.modelValue) : I) : a("update:modelValue", I[0]), a("update:content", I), a("change", I);
1302
- }, y = async (g) => {
1304
+ m ? a("update:modelValue", Array.isArray(o.modelValue) ? A.concat(o.modelValue) : A) : a("update:modelValue", A[0]), a("update:content", A), a("change", A);
1305
+ }, y = async ($) => {
1303
1306
  if (!o.modelValue)
1304
1307
  throw new Error();
1305
- const f = Array.isArray(o.modelValue) ? o.modelValue.filter((I, i) => i !== g) : [];
1308
+ const f = Array.isArray(o.modelValue) ? o.modelValue.filter((A, i) => i !== $) : [];
1306
1309
  m ? a("update:modelValue", f) : a("update:modelValue", null), a("update:content", f), a("change", f);
1307
1310
  };
1308
- return (g, f) => {
1311
+ return ($, f) => {
1309
1312
  var i, M;
1310
- const I = ne("clickable");
1313
+ const A = ne("clickable");
1311
1314
  return t(), s("div", uo, [
1312
- g.readOnly ? h("", !0) : (t(), s("input", {
1315
+ $.readOnly ? g("", !0) : (t(), s("input", {
1313
1316
  key: 0,
1314
1317
  ref: "file",
1315
1318
  type: "file",
@@ -1318,28 +1321,28 @@ const ro = /* @__PURE__ */ D(io, [["__scopeId", "data-v-85a82246"]]), uo = { cla
1318
1321
  onChange: l
1319
1322
  }, null, 40, co)),
1320
1323
  d.value && d.value.length > 0 ? (t(), s("div", po, [
1321
- (t(!0), s(P, null, H(d.value, (E, K) => (t(), V(ro, {
1324
+ (t(!0), s(P, null, D(d.value, (E, K) => (t(), V(ro, {
1322
1325
  key: "_id" in E ? String(E._id) : E.file.name,
1323
1326
  "model-value": E
1324
1327
  }, {
1325
- default: b(() => [
1326
- g.readOnly ? h("", !0) : Z((t(), V(Y, {
1328
+ default: h(() => [
1329
+ $.readOnly ? g("", !0) : Z((t(), V(Y, {
1327
1330
  key: 0,
1328
1331
  reactive: "",
1329
1332
  icon: "trash",
1330
- onClick: ($) => y(K)
1333
+ onClick: (b) => y(K)
1331
1334
  }, null, 8, ["onClick"])), [
1332
- [I]
1335
+ [A]
1333
1336
  ])
1334
1337
  ]),
1335
1338
  _: 2
1336
1339
  }, 1032, ["model-value"]))), 128))
1337
- ])) : h("", !0)
1340
+ ])) : g("", !0)
1338
1341
  ]);
1339
1342
  };
1340
1343
  }
1341
1344
  });
1342
- const mo = /* @__PURE__ */ D(_o, [["__scopeId", "data-v-9950a715"]]), fo = { class: "container" }, vo = {
1345
+ const mo = /* @__PURE__ */ Q(_o, [["__scopeId", "data-v-9950a715"]]), fo = { class: "container" }, vo = {
1343
1346
  key: 1,
1344
1347
  class: "container__footer"
1345
1348
  }, yo = /* @__PURE__ */ F({
@@ -1361,15 +1364,15 @@ const mo = /* @__PURE__ */ D(_o, [["__scopeId", "data-v-9950a715"]]), fo = { cla
1361
1364
  ref: a,
1362
1365
  class: "container__content"
1363
1366
  }, [
1364
- A(u.$slots, "default", {}, void 0, !0)
1365
- ], 512)) : h("", !0),
1367
+ I(u.$slots, "default", {}, void 0, !0)
1368
+ ], 512)) : g("", !0),
1366
1369
  u.$slots.footer ? (t(), s("div", vo, [
1367
- A(u.$slots, "footer", {}, void 0, !0)
1368
- ])) : h("", !0)
1370
+ I(u.$slots, "footer", {}, void 0, !0)
1371
+ ])) : g("", !0)
1369
1372
  ]));
1370
1373
  }
1371
1374
  });
1372
- const pt = /* @__PURE__ */ D(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { class: "item__values" }, ho = /* @__PURE__ */ F({
1375
+ const pt = /* @__PURE__ */ Q(yo, [["__scopeId", "data-v-c86e2d2a"]]), ho = { class: "item__values" }, bo = /* @__PURE__ */ F({
1373
1376
  __name: "aeria-search-item",
1374
1377
  props: {
1375
1378
  item: {},
@@ -1380,24 +1383,24 @@ const pt = /* @__PURE__ */ D(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { cla
1380
1383
  },
1381
1384
  emits: ["update:modelValue", "change"],
1382
1385
  setup(p, { emit: r }) {
1383
- const o = Be(), n = p, a = r, c = n.property, u = me(c), m = He(), d = X(() => n.modelValue ? Array.isArray(n.modelValue) ? Array.isArray(n.modelValue) && Object.values(n.modelValue).some(({ _id: g }) => n.item._id === g) : n.modelValue._id === n.item._id : !1), v = () => {
1386
+ const o = Be(), n = p, a = r, c = n.property, u = me(c), m = He(), d = X(() => n.modelValue ? Array.isArray(n.modelValue) ? Array.isArray(n.modelValue) && Object.values(n.modelValue).some(({ _id: $ }) => n.item._id === $) : n.modelValue._id === n.item._id : !1), v = () => {
1384
1387
  if (d.value)
1385
1388
  return;
1386
- const g = (I) => I.filter((i) => !!i._id);
1389
+ const $ = (A) => A.filter((i) => !!i._id);
1387
1390
  let f;
1388
- "items" in c ? n.modelValue ? f = g(Array.isArray(n.modelValue) ? n.modelValue : [n.modelValue]) : f = [] : f = n.modelValue, Array.isArray(f) ? a("update:modelValue", f.concat([n.item])) : a("update:modelValue", n.item), a("change", n.item);
1389
- }, l = async (g) => {
1390
- if (u.purge && (g != null && g.purge)) {
1391
- const { _id: I } = n.item;
1391
+ "items" in c ? n.modelValue ? f = $(Array.isArray(n.modelValue) ? n.modelValue : [n.modelValue]) : f = [] : f = n.modelValue, Array.isArray(f) ? a("update:modelValue", f.concat([n.item])) : a("update:modelValue", n.item), a("change", n.item);
1392
+ }, l = async ($) => {
1393
+ if (u.purge && ($ != null && $.purge)) {
1394
+ const { _id: A } = n.item;
1392
1395
  await m.$actions.remove({
1393
1396
  filters: {
1394
- _id: I
1397
+ _id: A
1395
1398
  }
1396
1399
  });
1397
1400
  }
1398
1401
  const f = () => {
1399
- const I = Array.isArray(n.modelValue) ? Array.from(n.modelValue) : [], i = I.findIndex((M) => M._id === n.item._id);
1400
- return I.splice(i, 1), I;
1402
+ const A = Array.isArray(n.modelValue) ? Array.from(n.modelValue) : [], i = A.findIndex((M) => M._id === n.item._id);
1403
+ return A.splice(i, 1), A;
1401
1404
  };
1402
1405
  a("update:modelValue", "items" in c ? f() : null);
1403
1406
  }, y = () => {
@@ -1409,8 +1412,8 @@ const pt = /* @__PURE__ */ D(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { cla
1409
1412
  }
1410
1413
  return d.value ? l() : v();
1411
1414
  };
1412
- return (g, f) => {
1413
- const I = ne("clickable");
1415
+ return ($, f) => {
1416
+ const A = ne("clickable");
1414
1417
  return Z((t(), s("div", {
1415
1418
  class: W({
1416
1419
  item: !0,
@@ -1418,28 +1421,28 @@ const pt = /* @__PURE__ */ D(yo, [["__scopeId", "data-v-c86e2d2a"]]), bo = { cla
1418
1421
  }),
1419
1422
  onClick: y
1420
1423
  }, [
1421
- A(g.$slots, "default", {}, void 0, !0),
1422
- B("div", bo, [
1423
- (t(!0), s(P, null, H(g.indexes, (i, M) => (t(), s("div", {
1424
- key: `index-${g.item._id}-${M}`,
1424
+ I($.$slots, "default", {}, void 0, !0),
1425
+ B("div", ho, [
1426
+ (t(!0), s(P, null, D($.indexes, (i, M) => (t(), s("div", {
1427
+ key: `index-${$.item._id}-${M}`,
1425
1428
  class: "item__value"
1426
- }, C(g.item[i]), 1))), 128))
1429
+ }, C($.item[i]), 1))), 128))
1427
1430
  ]),
1428
- g.readOnly ? (t(), V(Y, {
1431
+ $.readOnly ? (t(), V(Y, {
1429
1432
  key: 0,
1430
1433
  icon: "arrow-square-out",
1431
1434
  style: { "--icon-color": "var(--theme-brand-color-contrast)" }
1432
- })) : h("", !0)
1435
+ })) : g("", !0)
1433
1436
  ], 2)), [
1434
- [I]
1437
+ [A]
1435
1438
  ]);
1436
1439
  };
1437
1440
  }
1438
1441
  });
1439
- const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { class: "search__panel" }, $o = { key: 1 }, ko = { key: 0 }, Vo = { key: 1 }, Co = { class: "search__summary" }, Oo = {
1442
+ const Qe = /* @__PURE__ */ Q(bo, [["__scopeId", "data-v-10ee6b3b"]]), go = { class: "search__panel" }, $o = { key: 1 }, ko = { key: 0 }, Vo = { key: 1 }, Co = { class: "search__summary" }, Oo = {
1440
1443
  key: 1,
1441
1444
  class: "search"
1442
- }, Io = { key: 0 }, Fe = 10, Ao = /* @__PURE__ */ F({
1445
+ }, Ao = { key: 0 }, Fe = 10, Io = /* @__PURE__ */ F({
1443
1446
  __name: "aeria-search",
1444
1447
  props: {
1445
1448
  modelValue: {},
@@ -1456,19 +1459,19 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1456
1459
  setup(p, { emit: r }) {
1457
1460
  const o = p, n = ie("meta"), a = me(o.property), c = o.panel !== void 0 ? X(() => o.panel) : ee(!1), u = r, m = ie(me(o.property).$ref), d = Me(), v = d ? He() : null, l = a.indexes;
1458
1461
  ge(ze, me(o.property).$ref), ge("innerInputLabel", !0), ge("omitInputLabels", !0);
1459
- const y = ee(o.modelValue), g = ee({
1462
+ const y = ee(o.modelValue), $ = ee({
1460
1463
  data: [],
1461
1464
  pagination: {}
1462
- }), f = X(() => g.value.data), I = X(() => g.value.pagination), i = ee(0), M = ee(!1), E = ee(""), K = () => {
1465
+ }), f = X(() => $.value.data), A = X(() => $.value.pagination), i = ee(0), M = ee(!1), E = ee(""), K = () => {
1463
1466
  const k = {};
1464
1467
  if (d) {
1465
1468
  const N = e(d);
1466
1469
  k[N] = v;
1467
1470
  }
1468
1471
  return a.constraints ? Et(a.constraints, k) : {};
1469
- }, $ = () => {
1470
- f.value.length < I.value.recordsTotal && (i.value += 1, oe());
1471
- }, G = async () => E.value.length === 0 ? m.$actions.custom("getAll", {
1472
+ }, b = () => {
1473
+ f.value.length < A.value.recordsTotal && (i.value += 1, oe());
1474
+ }, U = async () => E.value.length === 0 ? m.$actions.custom("getAll", {
1472
1475
  limit: Fe,
1473
1476
  offset: i.value * Fe,
1474
1477
  filters: K()
@@ -1485,7 +1488,7 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1485
1488
  }), oe = async () => {
1486
1489
  if (m.loading.getAll)
1487
1490
  return;
1488
- const { error: k, result: N } = await G();
1491
+ const { error: k, result: N } = await U();
1489
1492
  if (k) {
1490
1493
  n.$actions.spawnToast({
1491
1494
  text: "Request failed",
@@ -1493,8 +1496,8 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1493
1496
  });
1494
1497
  return;
1495
1498
  }
1496
- g.value.pagination = N.pagination, i.value === 0 && g.value.data.splice(0), g.value.data.push(...N.data);
1497
- }, [w] = bt({
1499
+ $.value.pagination = N.pagination, i.value === 0 && $.value.data.splice(0), $.value.data.push(...N.data);
1500
+ }, [w] = ht({
1498
1501
  delay: 800
1499
1502
  })(() => {
1500
1503
  i.value = 0, oe(), M.value = !1;
@@ -1503,7 +1506,7 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1503
1506
  }, ke = () => {
1504
1507
  "effect" in c ? u("update:panel", !0) : c.value = !0, oe();
1505
1508
  }, ce = () => {
1506
- i.value = 0, g.value.data.splice(0), "effect" in c ? u("update:panel", !1) : c.value = !1;
1509
+ i.value = 0, $.value.data.splice(0), "effect" in c ? u("update:panel", !1) : c.value = !1;
1507
1510
  };
1508
1511
  ue(() => E.value.length, (k, N) => {
1509
1512
  k && !N && oe();
@@ -1532,24 +1535,24 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1532
1535
  onClose: ce,
1533
1536
  onOverlayClick: ce
1534
1537
  }, {
1535
- footer: b(() => [
1538
+ footer: h(() => [
1536
1539
  L(pe, {
1537
1540
  large: "",
1538
1541
  onClick: O
1539
1542
  }, {
1540
- default: b(() => [
1541
- Q(C(e(q)("action.save", { capitalize: !0 })), 1)
1543
+ default: h(() => [
1544
+ G(C(e(q)("action.save", { capitalize: !0 })), 1)
1542
1545
  ]),
1543
1546
  _: 1
1544
1547
  })
1545
1548
  ]),
1546
- default: b(() => {
1549
+ default: h(() => {
1547
1550
  var _, T;
1548
1551
  return [
1549
1552
  B("div", go, [
1550
1553
  L(Oe, z({
1551
1554
  modelValue: E.value,
1552
- "onUpdate:modelValue": N[0] || (N[0] = (U) => E.value = U)
1555
+ "onUpdate:modelValue": N[0] || (N[0] = (H) => E.value = H)
1553
1556
  }, {
1554
1557
  property: {
1555
1558
  type: "string",
@@ -1560,37 +1563,37 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1560
1563
  f.value.length ? (t(), V(pt, {
1561
1564
  key: 0,
1562
1565
  "observe-scroll": "",
1563
- onEndReached: $
1566
+ onEndReached: b
1564
1567
  }, {
1565
- default: b(() => [
1566
- (t(!0), s(P, null, H(f.value, (U) => (t(), V(Qe, z({ ref_for: !0 }, {
1567
- item: U,
1568
+ default: h(() => [
1569
+ (t(!0), s(P, null, D(f.value, (H) => (t(), V(Qe, z({ ref_for: !0 }, {
1570
+ item: H,
1568
1571
  indexes: e(l),
1569
1572
  property: k.property
1570
1573
  }, {
1571
- key: `matching-${U._id}`,
1574
+ key: `matching-${H._id}`,
1572
1575
  modelValue: y.value,
1573
1576
  "onUpdate:modelValue": N[1] || (N[1] = (J) => y.value = J)
1574
1577
  }), null, 16, ["modelValue"]))), 128))
1575
1578
  ]),
1576
1579
  _: 1
1577
1580
  })) : (t(), s("div", $o, [
1578
- M.value ? (t(), s("div", ko, C(e(q)("searching", { capitalize: !0 })) + "... ", 1)) : !e(m).loading.getAll && Object.values(E.value).filter((U) => !!U).length > 0 && !("items" in k.property && ((_ = k.modelValue) != null && _.length) || !Array.isArray(k.modelValue) && ((T = k.modelValue) != null && T._id)) ? (t(), s("div", Vo, C(e(q)("no_results", { capitalize: !0 })), 1)) : h("", !0)
1581
+ M.value ? (t(), s("div", ko, C(e(q)("searching", { capitalize: !0 })) + "... ", 1)) : !e(m).loading.getAll && Object.values(E.value).filter((H) => !!H).length > 0 && !("items" in k.property && ((_ = k.modelValue) != null && _.length) || !Array.isArray(k.modelValue) && ((T = k.modelValue) != null && T._id)) ? (t(), s("div", Vo, C(e(q)("no_results", { capitalize: !0 })), 1)) : g("", !0)
1579
1582
  ]))
1580
1583
  ]),
1581
- B("div", Co, C(e(q)("showing", { capitalize: !0 })) + " " + C(f.value.length) + " " + C(e(q)("of")) + " " + C(I.value.recordsTotal), 1)
1584
+ B("div", Co, C(e(q)("showing", { capitalize: !0 })) + " " + C(f.value.length) + " " + C(e(q)("of")) + " " + C(A.value.recordsTotal), 1)
1582
1585
  ];
1583
1586
  }),
1584
1587
  _: 1
1585
1588
  }, 8, ["title", "model-value"])
1586
- ])) : h("", !0),
1587
- k.selectOnly ? h("", !0) : (t(), s("div", Oo, [
1589
+ ])) : g("", !0),
1590
+ k.selectOnly ? g("", !0) : (t(), s("div", Oo, [
1588
1591
  L(pt, null, _e({
1589
- default: b(() => {
1592
+ default: h(() => {
1590
1593
  var _;
1591
1594
  return [
1592
- "items" in k.property ? (t(), s("div", Io, [
1593
- (t(!0), s(P, null, H(k.modelValue, (T) => (t(), V(Qe, z({ ref_for: !0 }, {
1595
+ "items" in k.property ? (t(), s("div", Ao, [
1596
+ (t(!0), s(P, null, D(k.modelValue, (T) => (t(), V(Qe, z({ ref_for: !0 }, {
1594
1597
  item: T,
1595
1598
  indexes: e(l),
1596
1599
  property: k.property,
@@ -1606,20 +1609,20 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1606
1609
  property: e(a),
1607
1610
  readOnly: k.readOnly,
1608
1611
  modelValue: k.modelValue
1609
- }, { "onUpdate:modelValue": ae }), null, 16)) : h("", !0)
1612
+ }, { "onUpdate:modelValue": ae }), null, 16)) : g("", !0)
1610
1613
  ];
1611
1614
  }),
1612
1615
  _: 2
1613
1616
  }, [
1614
1617
  k.readOnly ? void 0 : {
1615
1618
  name: "footer",
1616
- fn: b(() => [
1619
+ fn: h(() => [
1617
1620
  Z((t(), V(Y, {
1618
1621
  icon: "plus",
1619
1622
  onClick: ke
1620
1623
  }, {
1621
- default: b(() => [
1622
- Q(C(e(q)("action.select", { capitalize: !0 })), 1)
1624
+ default: h(() => [
1625
+ G(C(e(q)("action.select", { capitalize: !0 })), 1)
1623
1626
  ]),
1624
1627
  _: 1
1625
1628
  })), [
@@ -1634,7 +1637,7 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1634
1637
  };
1635
1638
  }
1636
1639
  });
1637
- const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r) => {
1640
+ const Bo = /* @__PURE__ */ Q(Io, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r) => {
1638
1641
  const o = "items" in p ? p.items : p, n = {
1639
1642
  options: Gn,
1640
1643
  select: Je,
@@ -1664,7 +1667,7 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1664
1667
  p ?? (p = []);
1665
1668
  const n = "items" in r ? r.items : r;
1666
1669
  if ("$ref" in n) {
1667
- const a = ie(n.$ref, o), c = Ie(a.$freshItem);
1670
+ const a = ie(n.$ref, o), c = Ae(a.$freshItem);
1668
1671
  return p.push(c);
1669
1672
  }
1670
1673
  return "properties" in n ? p.push(Ft(n)) : "type" in n && n.type === "boolean" ? p.push({}) : p.push(null);
@@ -1729,32 +1732,32 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1729
1732
  type: "string",
1730
1733
  readOnly: !0
1731
1734
  }), n.includeTimestamps) {
1732
- const U = {
1735
+ const H = {
1733
1736
  type: "string",
1734
1737
  format: "date-time",
1735
1738
  readOnly: !0,
1736
1739
  isTimestamp: !0
1737
1740
  };
1738
- _.created_at || (T.created_at = U), _.created_at || (T.updated_at = U);
1741
+ _.created_at || (T.created_at = H), _.created_at || (T.updated_at = H);
1739
1742
  }
1740
1743
  return Object.assign(T, _), T;
1741
- }), y = X(() => n.layout || (d == null ? void 0 : d.description.formLayout)), g = (_) => {
1744
+ }), y = X(() => n.layout || (d == null ? void 0 : d.description.formLayout)), $ = (_) => {
1742
1745
  const T = fe(_, n[_]);
1743
1746
  return n[_] && ge(_, n[_]), T;
1744
- }, f = X(() => n.validationErrors !== null ? n.validationErrors : d == null ? void 0 : d.validationErrors), I = g("formComponents") || {}, i = g("propertyComponents") || {}, M = g("omitFormHeader"), E = g("omitInputLabels"), K = g("innerInputLabel");
1747
+ }, f = X(() => n.validationErrors !== null ? n.validationErrors : d == null ? void 0 : d.validationErrors), A = $("formComponents") || {}, i = $("propertyComponents") || {}, M = $("omitFormHeader"), E = $("omitInputLabels"), K = $("innerInputLabel");
1745
1748
  u && ge(ze, u), ge("searchOnly", n.searchOnly);
1746
- const $ = (_) => l.value ? Object.entries(l.value).filter(([T, U]) => !U.noForm && _([
1749
+ const b = (_) => l.value ? Object.entries(l.value).filter(([T, H]) => !H.noForm && _([
1747
1750
  T,
1748
- U
1749
- ])) : null, G = (_, T) => {
1751
+ H
1752
+ ])) : null, U = (_, T) => {
1750
1753
  var J;
1751
1754
  if (n.searchOnly || !u || n.includeId && _ === "_id" || n.includeTimestamps && T.isTimestamp)
1752
1755
  return !0;
1753
- const U = n.property && "properties" in n.property ? n.property.form : (J = d == null ? void 0 : d.description) == null ? void 0 : J.form;
1754
- return !U || U.includes(_);
1755
- }, oe = $(([_, T]) => G(_, T)), w = Le(), te = {}, ke = (_, T) => {
1756
+ const H = n.property && "properties" in n.property ? n.property.form : (J = d == null ? void 0 : d.description) == null ? void 0 : J.form;
1757
+ return !H || H.includes(_);
1758
+ }, oe = b(([_, T]) => U(_, T)), w = Le(), te = {}, ke = (_, T) => {
1756
1759
  var R, re, j, se;
1757
- const U = [], J = ((re = (R = y.value) == null ? void 0 : R.fields) == null ? void 0 : re[_]) || ((se = (j = y.value) == null ? void 0 : j.fields) == null ? void 0 : se.$default);
1760
+ const H = [], J = ((re = (R = y.value) == null ? void 0 : R.fields) == null ? void 0 : re[_]) || ((se = (j = y.value) == null ? void 0 : j.fields) == null ? void 0 : se.$default);
1758
1761
  if (!T)
1759
1762
  return;
1760
1763
  if (J != null && J.if && !n.searchOnly) {
@@ -1762,49 +1765,49 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1762
1765
  n.modelValue,
1763
1766
  J.if
1764
1767
  );
1765
- ve.satisfied || (te[_] && (d ? n.modelValue[_] = typeof d.$freshItem[_] == "object" ? Ie(d.$freshItem[_]) : d.$freshItem[_] : n.modelValue[_] = [
1768
+ ve.satisfied || (te[_] && (d ? n.modelValue[_] = typeof d.$freshItem[_] == "object" ? Ae(d.$freshItem[_]) : d.$freshItem[_] : n.modelValue[_] = [
1766
1769
  void 0,
1767
1770
  null
1768
- ].includes(n.modelValue[_]) ? null : n.modelValue[_].constructor()), U.push("display: none;")), te[_] = ve.satisfied;
1771
+ ].includes(n.modelValue[_]) ? null : n.modelValue[_].constructor()), H.push("display: none;")), te[_] = ve.satisfied;
1769
1772
  }
1770
1773
  const S = w.value.md && (J == null ? void 0 : J.span) || 6;
1771
- return U.push(`
1774
+ return H.push(`
1772
1775
  --field-span: ${S};
1773
1776
  grid-column: span var(--field-span) / span var(--field-span);
1774
- `), J && (J.verticalSpacing && U.push(`
1777
+ `), J && (J.verticalSpacing && H.push(`
1775
1778
  --vertical-spacing: ${J.verticalSpacing};
1776
1779
  padding: var(--vertical-spacing) 0;
1777
- `), J.separator && U.push(`
1780
+ `), J.separator && H.push(`
1778
1781
  border-top: 1px solid var(--theme-border-color);
1779
1782
  border-width: 1px 0 1px 0;
1780
1783
  padding: 1rem 0;
1781
1784
  margin: 1rem 0;
1782
- `)), U.join("");
1785
+ `)), H.join("");
1783
1786
  }, ce = (_) => _ === null || _ instanceof Object && !Object.keys(_).length, ae = X(() => n.required ? n.required : n.property && "required" in n.property ? n.property.required : d == null ? void 0 : d.description.required), O = X(() => n.form ? Ut(
1784
1787
  n.modelValue,
1785
1788
  n.form,
1786
1789
  ae.value,
1787
1790
  d == null ? void 0 : d.description
1788
1791
  ) : !0), k = (_, T) => {
1789
- var U;
1790
- return (U = f.value) != null && U[_] && (typeof f.value[_].index != "number" || f.value[_].index === T) ? f.value[_].errors : null;
1792
+ var H;
1793
+ return (H = f.value) != null && H[_] && (typeof f.value[_].index != "number" || f.value[_].index === T) ? f.value[_].errors : null;
1791
1794
  }, N = (_) => {
1792
1795
  if (!(m || _.readOnly) && !n.parentPropertyName && !n.parentCollection && !v.value)
1793
1796
  return v.value = !0, !0;
1794
1797
  };
1795
1798
  return (_, T) => {
1796
- const U = ne("clickable"), J = ne("focus");
1799
+ const H = ne("clickable"), J = ne("focus");
1797
1800
  return t(), s("form", {
1798
1801
  class: "form",
1799
1802
  style: $e(`row-gap: ${e(M) ? ".8rem" : "var(--form-internal-gap, 1.6rem);"};`)
1800
1803
  }, [
1801
1804
  _.$slots.header && !e(M) ? (t(), s("header", To, [
1802
- A(_.$slots, "header", {}, void 0, !0)
1803
- ])) : h("", !0),
1804
- A(_.$slots, "default", {}, void 0, !0),
1805
+ I(_.$slots, "header", {}, void 0, !0)
1806
+ ])) : g("", !0),
1807
+ I(_.$slots, "default", {}, void 0, !0),
1805
1808
  B("fieldset", jo, [
1806
- (t(!0), s(P, null, H(e(oe), ([S, R]) => {
1807
- var re, j, se, ve, be, Ze, Pe, Ne, xe, et, tt, nt, ot, at;
1809
+ (t(!0), s(P, null, D(e(oe), ([S, R]) => {
1810
+ var re, j, se, ve, he, Ze, Pe, Ne, xe, et, tt, nt, ot, at;
1808
1811
  return t(), s("div", {
1809
1812
  key: `field-${S}`,
1810
1813
  style: $e(ke(S, R)),
@@ -1824,9 +1827,9 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1824
1827
  R.hint ? (t(), s("div", {
1825
1828
  key: 0,
1826
1829
  innerHTML: R.hint
1827
- }, null, 8, qo)) : h("", !0)
1828
- ])) : h("", !0),
1829
- _.$slots[`field-${S}`] ? A(_.$slots, `field-${S}`, z({
1830
+ }, null, 8, qo)) : g("", !0)
1831
+ ])) : g("", !0),
1832
+ _.$slots[`field-${S}`] ? I(_.$slots, `field-${S}`, z({
1830
1833
  key: 1,
1831
1834
  ref_for: !0
1832
1835
  }, {
@@ -1834,7 +1837,7 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1834
1837
  property: R,
1835
1838
  propertyName: S,
1836
1839
  modelValue: _.modelValue
1837
- }), void 0, !0) : (se = (j = (re = _.layout) == null ? void 0 : re.fields) == null ? void 0 : j[S]) != null && se.component && e(i)[_.layout.fields[S].component.name] ? (t(), V(he(e(i)[_.layout.fields[S].component.name]), z({
1840
+ }), void 0, !0) : (se = (j = (re = _.layout) == null ? void 0 : re.fields) == null ? void 0 : j[S]) != null && se.component && e(i)[_.layout.fields[S].component.name] ? (t(), V(be(e(i)[_.layout.fields[S].component.name]), z({
1838
1841
  key: 2,
1839
1842
  modelValue: _.modelValue[S],
1840
1843
  "onUpdate:modelValue": (x) => _.modelValue[S] = x,
@@ -1882,50 +1885,50 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1882
1885
  _.modelValue[S] = x;
1883
1886
  }
1884
1887
  }), {
1885
- default: b(() => [
1888
+ default: h(() => [
1886
1889
  B("option", zo, C(e(q)("yes")), 1),
1887
1890
  B("option", Fo, C(e(q)("no")), 1)
1888
1891
  ]),
1889
1892
  _: 2
1890
1893
  }, 1040, ["model-value", "onUpdate:modelValue"])
1891
1894
  ])) : _.modelValue && "items" in R && !R.uniqueItems && (!("$ref" in R.items) || R.items.inline) ? (t(), s("div", Eo, [
1892
- e(m) ? h("", !0) : (t(), s("div", Uo, [
1895
+ e(m) ? g("", !0) : (t(), s("div", Uo, [
1893
1896
  L(pe, {
1894
1897
  small: "",
1895
1898
  variant: "alt",
1896
1899
  icon: "plus",
1897
- disabled: !("inline" in R.items && R.items.inline) && (((ve = _.modelValue[S]) == null ? void 0 : ve.length) >= R.maxItems || ce((Ze = _.modelValue[S]) == null ? void 0 : Ze[((be = _.modelValue[S]) == null ? void 0 : be.length) - 1])),
1900
+ disabled: !("inline" in R.items && R.items.inline) && (((ve = _.modelValue[S]) == null ? void 0 : ve.length) >= R.maxItems || ce((Ze = _.modelValue[S]) == null ? void 0 : Ze[((he = _.modelValue[S]) == null ? void 0 : he.length) - 1])),
1898
1901
  onClick: Re((x) => {
1899
1902
  _.modelValue[S] || (_.modelValue[S] = []), e(So)(_.modelValue[S], R, e(o));
1900
1903
  }, ["prevent"])
1901
1904
  }, {
1902
- default: b(() => [
1903
- Q(C(e(q)("action.add", { capitalize: !0 })), 1)
1905
+ default: h(() => [
1906
+ G(C(e(q)("action.add", { capitalize: !0 })), 1)
1904
1907
  ]),
1905
1908
  _: 2
1906
1909
  }, 1032, ["disabled", "onClick"])
1907
1910
  ])),
1908
1911
  ((Pe = _.modelValue[S]) == null ? void 0 : Pe.length) > 0 ? (t(), s("div", Ho, [
1909
- (t(!0), s(P, null, H(_.modelValue[S], (x, we) => {
1912
+ (t(!0), s(P, null, D(_.modelValue[S], (x, we) => {
1910
1913
  var lt, st, it, rt, ut, ct;
1911
1914
  return t(), s("div", {
1912
1915
  key: `rep-${S}-${e(Ht)(x, we)}`,
1913
1916
  class: "form__array-item"
1914
1917
  }, [
1915
- e(m) ? h("", !0) : Z((t(), V(Y, {
1918
+ e(m) ? g("", !0) : Z((t(), V(Y, {
1916
1919
  key: 0,
1917
1920
  icon: "trash",
1918
1921
  class: "form__array-remove",
1919
1922
  onClick: Re((Te) => e(wo)(_.modelValue[S], we), ["prevent"])
1920
1923
  }, {
1921
- default: b(() => [
1922
- Q(C(e(q)("action.remove", { capitalize: !0 })), 1)
1924
+ default: h(() => [
1925
+ G(C(e(q)("action.remove", { capitalize: !0 })), 1)
1923
1926
  ]),
1924
1927
  _: 2
1925
1928
  }, 1032, ["onClick"])), [
1926
- [U]
1929
+ [H]
1927
1930
  ]),
1928
- (t(), V(he(e(_t)(R, e(I))), z({
1931
+ (t(), V(be(e(_t)(R, e(A))), z({
1929
1932
  modelValue: _.modelValue[S][we],
1930
1933
  "onUpdate:modelValue": (Te) => _.modelValue[S][we] = Te,
1931
1934
  ref_for: !0
@@ -1944,8 +1947,8 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1944
1947
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"]))
1945
1948
  ]);
1946
1949
  }), 128))
1947
- ])) : h("", !0)
1948
- ])) : _.modelValue ? Z((t(), V(he(e(_t)(R, e(I))), z({
1950
+ ])) : g("", !0)
1951
+ ])) : _.modelValue ? Z((t(), V(be(e(_t)(R, e(A))), z({
1949
1952
  key: 6,
1950
1953
  modelValue: _.modelValue[S],
1951
1954
  "onUpdate:modelValue": (x) => _.modelValue[S] = x,
@@ -1965,25 +1968,25 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), _t = (p, r
1965
1968
  onClipboardCopy: T[5] || (T[5] = (x) => a("clipboardCopy", x))
1966
1969
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])), [
1967
1970
  [J, N(R)]
1968
- ]) : h("", !0),
1971
+ ]) : g("", !0),
1969
1972
  (at = f.value) != null && at[S] ? (t(), s("div", Do, [
1970
- f.value[S].type ? (t(), s("span", Qo, C(e(q)(`validation_error.${f.value[S].type}`)), 1)) : h("", !0),
1971
- f.value[S].detail ? (t(), s("span", Go, C(e(q)(f.value[S].detail)), 1)) : h("", !0)
1972
- ])) : h("", !0)
1973
+ f.value[S].type ? (t(), s("span", Qo, C(e(q)(`validation_error.${f.value[S].type}`)), 1)) : g("", !0),
1974
+ f.value[S].detail ? (t(), s("span", Go, C(e(q)(f.value[S].detail)), 1)) : g("", !0)
1975
+ ])) : g("", !0)
1973
1976
  ], 6);
1974
1977
  }), 128))
1975
1978
  ]),
1976
- _.$slots.after ? A(_.$slots, "after", { key: 1 }, void 0, !0) : h("", !0),
1979
+ _.$slots.after ? I(_.$slots, "after", { key: 1 }, void 0, !0) : g("", !0),
1977
1980
  _.$slots.footer ? (t(), s("div", Wo, [
1978
- A(_.$slots, "footer", de(Ce({
1981
+ I(_.$slots, "footer", de(Ce({
1979
1982
  isInsertReady: O.value
1980
1983
  })), void 0, !0)
1981
- ])) : h("", !0)
1984
+ ])) : g("", !0)
1982
1985
  ], 4);
1983
1986
  };
1984
1987
  }
1985
1988
  });
1986
- const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @__PURE__ */ F({
1989
+ const De = /* @__PURE__ */ Q(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @__PURE__ */ F({
1987
1990
  __name: "aeria-filter-panel",
1988
1991
  emits: ["update:modelValue"],
1989
1992
  setup(p, { emit: r }) {
@@ -2005,7 +2008,7 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2005
2008
  onClose: d[2] || (d[2] = (v) => o("update:modelValue", !1)),
2006
2009
  onOverlayClick: d[3] || (d[3] = (v) => o("update:modelValue", !1))
2007
2010
  }, {
2008
- footer: b(() => [
2011
+ footer: h(() => [
2009
2012
  e(n).filtersCount > 0 ? (t(), V(pe, {
2010
2013
  key: 0,
2011
2014
  variant: "transparent",
@@ -2013,30 +2016,30 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2013
2016
  e(n).$actions.clearFilters(), u(), o("update:modelValue", !1);
2014
2017
  })
2015
2018
  }, {
2016
- default: b(() => [
2017
- Q(C(m.t("action.clear", { capitalize: !0 })) + " ", 1),
2019
+ default: h(() => [
2020
+ G(C(m.t("action.clear", { capitalize: !0 })) + " ", 1),
2018
2021
  L(Ve, null, {
2019
- default: b(() => [
2020
- Q(C(e(n).filtersCount), 1)
2022
+ default: h(() => [
2023
+ G(C(e(n).filtersCount), 1)
2021
2024
  ]),
2022
2025
  _: 1
2023
2026
  })
2024
2027
  ]),
2025
2028
  _: 1
2026
- })) : h("", !0),
2029
+ })) : g("", !0),
2027
2030
  L(pe, {
2028
2031
  large: "",
2029
2032
  icon: "funnel",
2030
2033
  disabled: !e(n).hasActiveFilters,
2031
2034
  onClick: u
2032
2035
  }, {
2033
- default: b(() => [
2034
- Q(C(m.t("action.filter", { capitalize: !0 })), 1)
2036
+ default: h(() => [
2037
+ G(C(m.t("action.filter", { capitalize: !0 })), 1)
2035
2038
  ]),
2036
2039
  _: 1
2037
2040
  }, 8, ["disabled"])
2038
2041
  ]),
2039
- default: b(() => [
2042
+ default: h(() => [
2040
2043
  L(De, z({
2041
2044
  modelValue: e(n).filters,
2042
2045
  "onUpdate:modelValue": d[0] || (d[0] = (v) => e(n).filters = v)
@@ -2070,19 +2073,19 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2070
2073
  o.modelValue && u.$actions.setItem(o.modelValue);
2071
2074
  });
2072
2075
  const m = X(() => o.form ? u.$actions.useProperties(o.form) : u.description.form ? u.$actions.useProperties(u.description.form) : u.properties), d = async () => {
2073
- const { error: g, result: f } = await u.$actions.deepInsert();
2074
- if (g) {
2075
- if ("code" in g)
2076
- switch (g.code) {
2076
+ const { error: $, result: f } = await u.$actions.deepInsert();
2077
+ if ($) {
2078
+ if ("code" in $)
2079
+ switch ($.code) {
2077
2080
  case "INVALID_PROPERTIES":
2078
2081
  case "MISSING_PROPERTIES":
2079
2082
  return;
2080
2083
  default: {
2081
- let I = v("error", {
2084
+ let A = v("error", {
2082
2085
  capitalize: !0
2083
2086
  });
2084
- g.message && (I += `: ${v(g.message)}`), I += ` (${v(g.code)})`, a.$actions.spawnToast({
2085
- text: I,
2087
+ $.message && (A += `: ${v($.message)}`), A += ` (${v($.code)})`, a.$actions.spawnToast({
2088
+ text: A,
2086
2089
  icon: "warning"
2087
2090
  });
2088
2091
  }
@@ -2101,25 +2104,25 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2101
2104
  icon: "info",
2102
2105
  text: v("copied_to_clipboard")
2103
2106
  });
2104
- return ue(() => u.item._id, (g) => {
2105
- g === null && n("update:visible", !1);
2106
- }), (g, f) => {
2107
- const I = ne("clickable");
2107
+ return ue(() => u.item._id, ($) => {
2108
+ $ === null && n("update:visible", !1);
2109
+ }), ($, f) => {
2110
+ const A = ne("clickable");
2108
2111
  return t(), V(Se, z({
2109
- modelValue: g.visible,
2112
+ modelValue: $.visible,
2110
2113
  loading: e(u).loading.get,
2111
- float: g.float,
2112
- fixedRight: g.fixedRight
2114
+ float: $.float,
2115
+ fixedRight: $.fixedRight
2113
2116
  }, { onOverlayClick: l }), _e({
2114
- extra: b(() => [
2115
- g.individualActions ? (t(), V(Ae, z({ key: 0 }, {
2117
+ extra: h(() => [
2118
+ $.individualActions ? (t(), V(Ie, z({ key: 0 }, {
2116
2119
  subject: e(u).item,
2117
- actions: g.individualActions.filter(({ action: i }) => i !== "spawnEdit"),
2120
+ actions: $.individualActions.filter(({ action: i }) => i !== "spawnEdit"),
2118
2121
  overlayLayer: 60
2119
2122
  }, {
2120
2123
  onActionClick: f[2] || (f[2] = (i) => n("update:visible", !1))
2121
2124
  }), {
2122
- default: b(({
2125
+ default: h(({
2123
2126
  visible: i
2124
2127
  }) => [
2125
2128
  e(u).item._id ? Z((t(), V(Y, {
@@ -2128,21 +2131,21 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2128
2131
  active: i,
2129
2132
  icon: "dots-three"
2130
2133
  }, null, 8, ["active"])), [
2131
- [I]
2132
- ]) : h("", !0)
2134
+ [A]
2135
+ ]) : g("", !0)
2133
2136
  ]),
2134
2137
  _: 1
2135
- }, 16)) : h("", !0)
2138
+ }, 16)) : g("", !0)
2136
2139
  ]),
2137
- default: b(() => [
2140
+ default: h(() => [
2138
2141
  L(De, z({
2139
2142
  modelValue: e(u).item,
2140
2143
  "onUpdate:modelValue": f[0] || (f[0] = (i) => e(u).item = i)
2141
2144
  }, {
2142
2145
  collection: e(c),
2143
- readOnly: g.readOnly,
2144
- includeId: g.includeId,
2145
- includeTimestamps: g.includeTimestamps,
2146
+ readOnly: $.readOnly,
2147
+ includeId: $.includeId,
2148
+ includeTimestamps: $.includeTimestamps,
2146
2149
  form: m.value,
2147
2150
  layout: e(u).description.formLayout || {}
2148
2151
  }, {
@@ -2150,44 +2153,44 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2150
2153
  onClipboardCopy: y,
2151
2154
  onAdd: f[1] || (f[1] = (i) => i.preventDefault())
2152
2155
  }), _e({ _: 2 }, [
2153
- H(Object.keys(g.$slots).filter((i) => i.startsWith("field-")), (i) => ({
2156
+ D(Object.keys($.$slots).filter((i) => i.startsWith("field-")), (i) => ({
2154
2157
  name: i,
2155
- fn: b((M) => [
2156
- A(g.$slots, i, de(Ce(M)))
2158
+ fn: h((M) => [
2159
+ I($.$slots, i, de(Ce(M)))
2157
2160
  ])
2158
2161
  }))
2159
2162
  ]), 1040, ["modelValue"])
2160
2163
  ]),
2161
2164
  _: 2
2162
2165
  }, [
2163
- g.$slots.header ? {
2166
+ $.$slots.header ? {
2164
2167
  name: "header",
2165
- fn: b(() => [
2166
- A(g.$slots, "header")
2168
+ fn: h(() => [
2169
+ I($.$slots, "header")
2167
2170
  ]),
2168
2171
  key: "0"
2169
2172
  } : void 0,
2170
- g.readOnly ? void 0 : {
2173
+ $.readOnly ? void 0 : {
2171
2174
  name: "footer",
2172
- fn: b(() => [
2173
- g.float || g.fixedRight ? (t(), V(pe, {
2175
+ fn: h(() => [
2176
+ $.float || $.fixedRight ? (t(), V(pe, {
2174
2177
  key: 0,
2175
2178
  variant: "transparent",
2176
2179
  onClick: l
2177
2180
  }, {
2178
- default: b(() => [
2179
- Q(C(e(v)("action.cancel", { capitalize: !0 })), 1)
2181
+ default: h(() => [
2182
+ G(C(e(v)("action.cancel", { capitalize: !0 })), 1)
2180
2183
  ]),
2181
2184
  _: 1
2182
- })) : h("", !0),
2185
+ })) : g("", !0),
2183
2186
  L(pe, {
2184
2187
  large: "",
2185
2188
  disabled: !e(u).isInsertReady || e(u).loading.get,
2186
2189
  loading: e(u).loading.insert,
2187
2190
  onClick: d
2188
2191
  }, {
2189
- default: b(() => [
2190
- Q(C(e(v)("action.insert", { capitalize: !0 })), 1)
2192
+ default: h(() => [
2193
+ G(C(e(v)("action.insert", { capitalize: !0 })), 1)
2191
2194
  ]),
2192
2195
  _: 1
2193
2196
  }, 8, ["disabled", "loading"])
@@ -2197,7 +2200,7 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2197
2200
  ]), 1040);
2198
2201
  };
2199
2202
  }
2200
- }), ht = (p, r) => {
2203
+ }), bt = (p, r) => {
2201
2204
  if (r) {
2202
2205
  if (!p) {
2203
2206
  r.filtersPreset = {}, r.preferredTableProperties = [], r.pagination.offset = 0;
@@ -2213,7 +2216,7 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2213
2216
  if (p) {
2214
2217
  if (p.description.filtersPresets) {
2215
2218
  const c = a || Object.keys(p.description.filtersPresets)[0];
2216
- ht(p.description.filtersPresets[c], p);
2219
+ bt(p.description.filtersPresets[c], p);
2217
2220
  }
2218
2221
  if (r.persistInQuery) {
2219
2222
  const c = n.value.query;
@@ -2238,13 +2241,13 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2238
2241
  }, ua = {
2239
2242
  key: 1,
2240
2243
  class: "table__cell-container"
2241
- }, ca = { class: "table__cell-grid" }, da = { key: 0 }, pa = { key: 1 }, _a = { key: 0 }, ma = ["href"], fa = { key: 3 }, va = { key: 1 }, ya = { key: 2 }, ba = { key: 0 }, ha = { key: 1 }, ga = { key: 2 }, $a = {
2244
+ }, ca = { class: "table__cell-grid" }, da = { key: 0 }, pa = { key: 1 }, _a = { key: 0 }, ma = ["href"], fa = { key: 3 }, va = { key: 1 }, ya = { key: 2 }, ha = { key: 0 }, ba = { key: 1 }, ga = { key: 2 }, $a = {
2242
2245
  key: 1,
2243
2246
  class: "no-print"
2244
2247
  }, ka = { class: "table__cell-actions" }, Va = {
2245
2248
  key: 2,
2246
2249
  class: "no-print table__mobile-actions"
2247
- }, Ca = ["id"], Oa = { key: 1 }, Ia = ["colspan"], Aa = { class: "table__empty" }, Ba = /* @__PURE__ */ F({
2250
+ }, Ca = ["id"], Oa = { key: 1 }, Aa = ["colspan"], Ia = { class: "table__empty" }, Ba = /* @__PURE__ */ F({
2248
2251
  __name: "aeria-table",
2249
2252
  props: {
2250
2253
  columns: {},
@@ -2259,25 +2262,25 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2259
2262
  const o = p, n = r, a = Le(), c = o.collection || Me(), u = c ? ie(typeof c == "string" ? c : c.value) : null, m = X({
2260
2263
  get: () => u == null ? void 0 : u.selected,
2261
2264
  set: (f) => u == null ? void 0 : u.$actions.selectManyItems(f, !0)
2262
- }), d = X(() => o.columns ? Object.keys(o.columns).length + Number(o.checkbox) : 0), v = (f, I) => f.button ? typeof f.button == "object" ? Ee(I, f.button).satisfied : f.button : !1, l = (f) => {
2265
+ }), d = X(() => o.columns ? Object.keys(o.columns).length + Number(o.checkbox) : 0), v = (f, A) => f.button ? typeof f.button == "object" ? Ee(A, f.button).satisfied : f.button : !1, l = (f) => {
2263
2266
  var i;
2264
- const I = (i = o.layout) == null ? void 0 : i.actions;
2265
- return !a.value.xl || !I || !o.actions ? [] : o.actions.filter((M) => {
2267
+ const A = (i = o.layout) == null ? void 0 : i.actions;
2268
+ return !a.value.xl || !A || !o.actions ? [] : o.actions.filter((M) => {
2266
2269
  if (M.roles) {
2267
2270
  const K = ie("user");
2268
2271
  if (!Ge(M.roles, K.currentUser.roles))
2269
2272
  return !1;
2270
2273
  }
2271
- const E = I[M.action];
2274
+ const E = A[M.action];
2272
2275
  return E && v(E, f);
2273
2276
  });
2274
2277
  }, y = (f) => {
2275
2278
  var i;
2276
2279
  if (!o.actions)
2277
2280
  return [];
2278
- const I = (i = o.layout) == null ? void 0 : i.actions;
2279
- return !a.value.xl || !I ? o.actions : o.actions.filter((M) => {
2280
- const E = I[M.action];
2281
+ const A = (i = o.layout) == null ? void 0 : i.actions;
2282
+ return !a.value.xl || !A ? o.actions : o.actions.filter((M) => {
2283
+ const E = A[M.action];
2281
2284
  if (M.roles) {
2282
2285
  const K = ie("user");
2283
2286
  if (!Ge(M.roles, K.currentUser.roles))
@@ -2288,77 +2291,77 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2288
2291
  E.if
2289
2292
  ).satisfied : !v(E, f) : !0;
2290
2293
  });
2291
- }, g = (f, I) => {
2294
+ }, $ = (f, A) => {
2292
2295
  var E, K;
2293
- const i = [], M = (K = (E = o.layout) == null ? void 0 : E.actions) == null ? void 0 : K[I.action];
2296
+ const i = [], M = (K = (E = o.layout) == null ? void 0 : E.actions) == null ? void 0 : K[A.action];
2294
2297
  return M != null && M.if && (Ee(
2295
2298
  f,
2296
2299
  M.if
2297
2300
  ).satisfied || i.push("display: none;")), i.join("");
2298
2301
  };
2299
- return (f, I) => {
2302
+ return (f, A) => {
2300
2303
  var M, E, K;
2301
2304
  const i = ne("clickable");
2302
2305
  return d.value > 0 || f.$slots.thead ? (t(), s("table", Zo, [
2303
2306
  f.$slots.thead ? (t(), s("thead", Po, [
2304
- A(f.$slots, "thead", {}, void 0, !0)
2307
+ I(f.$slots, "thead", {}, void 0, !0)
2305
2308
  ])) : (t(), s("thead", No, [
2306
2309
  B("tr", null, [
2307
2310
  f.checkbox && e(u) && e(a).md ? (t(), s("th", xo, [
2308
2311
  B("input", {
2309
2312
  type: "checkbox",
2310
2313
  checked: e(u).selected.length > 0 && e(u).selected.length === e(u).itemsCount,
2311
- onChange: I[0] || (I[0] = ($) => e(u).$actions.selectAllItems($.target.checked))
2314
+ onChange: A[0] || (A[0] = (b) => e(u).$actions.selectAllItems(b.target.checked))
2312
2315
  }, null, 40, ea)
2313
- ])) : h("", !0),
2314
- (t(!0), s(P, null, H(Object.entries(f.columns), ([$, G], oe) => (t(), s("th", {
2316
+ ])) : g("", !0),
2317
+ (t(!0), s(P, null, D(Object.entries(f.columns), ([b, U], oe) => (t(), s("th", {
2315
2318
  key: `header-${oe}`,
2316
2319
  class: "table__header"
2317
- }, C(G.description || e(q)($)), 1))), 128)),
2318
- (M = f.actions) != null && M.length ? (t(), s("th", ta)) : h("", !0)
2320
+ }, C(U.description || e(q)(b)), 1))), 128)),
2321
+ (M = f.actions) != null && M.length ? (t(), s("th", ta)) : g("", !0)
2319
2322
  ])
2320
2323
  ])),
2321
2324
  f.$slots.tbody ? (t(), s("tbody", na, [
2322
- A(f.$slots, "tbody", {}, void 0, !0)
2325
+ I(f.$slots, "tbody", {}, void 0, !0)
2323
2326
  ])) : (t(), s("tbody", oa, [
2324
- (t(!0), s(P, null, H(f.rows, ($) => {
2325
- var G, oe;
2327
+ (t(!0), s(P, null, D(f.rows, (b) => {
2328
+ var U, oe;
2326
2329
  return t(), s("tr", {
2327
- key: $._id,
2328
- onClick: (w) => n("itemClick", $)
2330
+ key: b._id,
2331
+ onClick: (w) => n("itemClick", b)
2329
2332
  }, [
2330
2333
  e(u) && f.checkbox && e(a).md ? (t(), s("td", la, [
2331
2334
  Z(B("input", {
2332
- "onUpdate:modelValue": I[1] || (I[1] = (w) => m.value = w),
2335
+ "onUpdate:modelValue": A[1] || (A[1] = (w) => m.value = w),
2333
2336
  type: "checkbox",
2334
- value: $._id
2337
+ value: b._id
2335
2338
  }, null, 8, sa), [
2336
2339
  [kt, m.value]
2337
2340
  ])
2338
- ])) : h("", !0),
2339
- (t(!0), s(P, null, H(Object.entries(f.columns), ([w, te], ke) => {
2341
+ ])) : g("", !0),
2342
+ (t(!0), s(P, null, D(Object.entries(f.columns), ([w, te], ke) => {
2340
2343
  var ce, ae, O;
2341
2344
  return t(), s("td", {
2342
- key: `column-${$._id}-${ke}`
2345
+ key: `column-${b._id}-${ke}`
2343
2346
  }, [
2344
2347
  B("div", ia, C(te.description || e(q)(w)), 1),
2345
2348
  `row-${w}` in f.$slots ? (t(), s("div", ra, [
2346
- A(f.$slots, `row-${w}`, z({ ref_for: !0 }, {
2349
+ I(f.$slots, `row-${w}`, z({ ref_for: !0 }, {
2347
2350
  store: e(u),
2348
2351
  column: w,
2349
2352
  property: te,
2350
- row: $
2353
+ row: b
2351
2354
  }), void 0, !0)
2352
2355
  ])) : (t(), s("div", ua, [
2353
2356
  B("div", ca, [
2354
2357
  "type" in te && te.type === "boolean" ? (t(), s("div", da, [
2355
- $[w] ? (t(), V(Y, {
2358
+ b[w] ? (t(), V(Y, {
2356
2359
  key: 0,
2357
2360
  icon: "check",
2358
2361
  "icon-classes": "aeria-blueish"
2359
2362
  }, {
2360
- default: b(() => [
2361
- Q(C(e(q)("yes")), 1)
2363
+ default: h(() => [
2364
+ G(C(e(q)("yes")), 1)
2362
2365
  ]),
2363
2366
  _: 1
2364
2367
  })) : (t(), V(Y, {
@@ -2366,80 +2369,80 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2366
2369
  icon: "x",
2367
2370
  "icon-classes": "aeria-redish"
2368
2371
  }, {
2369
- default: b(() => [
2370
- Q(C(e(q)("no")), 1)
2372
+ default: h(() => [
2373
+ G(C(e(q)("no")), 1)
2371
2374
  ]),
2372
2375
  _: 1
2373
2376
  }))
2374
2377
  ])) : ((ce = e(me)(te)) == null ? void 0 : ce.$ref) === "file" ? (t(), s("div", pa, [
2375
- $[w] ? (t(), s("div", _a, [
2376
- "items" in te && $[w][0] && /^image/.test($[w][0].type) ? (t(), V(Ue, {
2378
+ b[w] ? (t(), s("div", _a, [
2379
+ "items" in te && b[w][0] && /^image/.test(b[w][0].type) ? (t(), V(Ue, {
2377
2380
  key: 0,
2378
- modelValue: $[w][0].link,
2379
- "onUpdate:modelValue": (k) => $[w][0].link = k,
2381
+ modelValue: b[w][0].link,
2382
+ "onUpdate:modelValue": (k) => b[w][0].link = k,
2380
2383
  expandable: "",
2381
- meta: $[w][0],
2384
+ meta: b[w][0],
2382
2385
  alt: "Row image",
2383
2386
  class: "table__picture"
2384
- }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test($[w].type) ? (t(), V(Ue, {
2387
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test(b[w].type) ? (t(), V(Ue, {
2385
2388
  key: 1,
2386
- modelValue: $[w].link,
2387
- "onUpdate:modelValue": (k) => $[w].link = k,
2389
+ modelValue: b[w].link,
2390
+ "onUpdate:modelValue": (k) => b[w].link = k,
2388
2391
  expandable: "",
2389
- meta: $[w],
2392
+ meta: b[w],
2390
2393
  alt: "Row image",
2391
2394
  class: "table__picture"
2392
- }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : $[w].link ? (t(), s("a", {
2395
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : b[w].link ? (t(), s("a", {
2393
2396
  key: 2,
2394
- href: $[w].link,
2397
+ href: b[w].link,
2395
2398
  style: { "font-size": "10pt" }
2396
- }, C($[w].filename), 9, ma)) : (t(), s("div", fa, " - "))
2399
+ }, C(b[w].filename), 9, ma)) : (t(), s("div", fa, " - "))
2397
2400
  ])) : (t(), s("div", va, " - "))
2398
2401
  ])) : (t(), s("div", ya, [
2399
- e(u) ? (t(), s("span", ba, C(e(u).$actions.formatValue({
2400
- value: $[w],
2402
+ e(u) ? (t(), s("span", ha, C(e(u).$actions.formatValue({
2403
+ value: b[w],
2401
2404
  key: w,
2402
2405
  property: te
2403
- })), 1)) : (t(), s("span", ha, C(Array.isArray($[w]) ? $[w].filter((k) => !!k).join(", ") : [void 0, null].includes($[w]) ? "-" : $[w]), 1)),
2406
+ })), 1)) : (t(), s("span", ba, C(Array.isArray(b[w]) ? b[w].filter((k) => !!k).join(", ") : [void 0, null].includes(b[w]) ? "-" : b[w]), 1)),
2404
2407
  ((O = (ae = e(me)(te)) == null ? void 0 : ae.indexes) == null ? void 0 : O.length) > 1 ? (t(), s("div", ga, [
2405
- (t(!0), s(P, null, H(e(me)(te).indexes.slice(1, 2), (k, N) => (t(), s("div", {
2408
+ (t(!0), s(P, null, D(e(me)(te).indexes.slice(1, 2), (k, N) => (t(), s("div", {
2406
2409
  key: `subvalue-${N}`,
2407
2410
  class: "table__cell-subvalue"
2408
2411
  }, C(e(u).$actions.formatValue({
2409
- value: $[w],
2412
+ value: b[w],
2410
2413
  key: w,
2411
2414
  property: te,
2412
2415
  index: k
2413
2416
  })), 1))), 128))
2414
- ])) : h("", !0)
2417
+ ])) : g("", !0)
2415
2418
  ]))
2416
2419
  ])
2417
2420
  ]))
2418
2421
  ]);
2419
2422
  }), 128)),
2420
- (G = f.actions) != null && G.length && e(a).md ? (t(), s("td", $a, [
2423
+ (U = f.actions) != null && U.length && e(a).md ? (t(), s("td", $a, [
2421
2424
  B("div", ka, [
2422
- (t(!0), s(P, null, H(l($), (w) => (t(), V(pe, {
2425
+ (t(!0), s(P, null, D(l(b), (w) => (t(), V(pe, {
2423
2426
  key: `action-${w.action}`,
2424
2427
  small: "",
2425
2428
  variant: "alt",
2426
2429
  icon: w.icon,
2427
- style: $e(g($, w)),
2428
- onClick: (te) => w.click($)
2430
+ style: $e($(b, w)),
2431
+ onClick: (te) => w.click(b)
2429
2432
  }, {
2430
- default: b(() => [
2431
- Q(C(e(q)(w.label)), 1)
2433
+ default: h(() => [
2434
+ G(C(e(q)(w.label)), 1)
2432
2435
  ]),
2433
2436
  _: 2
2434
2437
  }, 1032, ["icon", "style", "onClick"]))), 128)),
2435
- y($).length > 0 ? (t(), V(Ae, z({
2438
+ y(b).length > 0 ? (t(), V(Ie, z({
2436
2439
  key: 0,
2437
2440
  ref_for: !0
2438
2441
  }, {
2439
- subject: $,
2440
- actions: y($)
2442
+ subject: b,
2443
+ actions: y(b)
2441
2444
  }), {
2442
- default: b(({
2445
+ default: h(({
2443
2446
  visible: w
2444
2447
  }) => [
2445
2448
  Z(L(Y, {
@@ -2451,67 +2454,67 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2451
2454
  ])
2452
2455
  ]),
2453
2456
  _: 2
2454
- }, 1040)) : h("", !0)
2457
+ }, 1040)) : g("", !0)
2455
2458
  ])
2456
2459
  ])) : (oe = f.actions) != null && oe.length ? (t(), s("td", Va, [
2457
2460
  B("div", {
2458
2461
  class: "table__mobile-actions-grid",
2459
- style: $e(`grid-template-columns: repeat(${l($).length + (y($).length ? 1 : 0)}, 1fr);`)
2462
+ style: $e(`grid-template-columns: repeat(${l(b).length + (y(b).length ? 1 : 0)}, 1fr);`)
2460
2463
  }, [
2461
- (t(!0), s(P, null, H(l($), (w) => (t(), V(ye, {
2464
+ (t(!0), s(P, null, D(l(b), (w) => (t(), V(ye, {
2462
2465
  key: `action-${w.action}`,
2463
2466
  class: "table__mobile-actions-button",
2464
- onClick: (te) => w.click($)
2467
+ onClick: (te) => w.click(b)
2465
2468
  }, {
2466
- default: b(() => [
2469
+ default: h(() => [
2467
2470
  L(Y, {
2468
2471
  icon: w.icon || "gear"
2469
2472
  }, {
2470
- default: b(() => [
2471
- Q(C(e(q)(w.label)), 1)
2473
+ default: h(() => [
2474
+ G(C(e(q)(w.label)), 1)
2472
2475
  ]),
2473
2476
  _: 2
2474
2477
  }, 1032, ["icon"])
2475
2478
  ]),
2476
2479
  _: 2
2477
2480
  }, 1032, ["onClick"]))), 128)),
2478
- y($).length > 0 ? (t(), V(Ae, z({
2481
+ y(b).length > 0 ? (t(), V(Ie, z({
2479
2482
  key: 0,
2480
2483
  ref_for: !0
2481
2484
  }, {
2482
- subject: $,
2483
- actions: y($)
2485
+ subject: b,
2486
+ actions: y(b)
2484
2487
  }), {
2485
- default: b(() => [
2488
+ default: h(() => [
2486
2489
  L(Y, {
2487
2490
  icon: "dots-three",
2488
2491
  class: "table__mobile-actions-button"
2489
2492
  })
2490
2493
  ]),
2491
2494
  _: 2
2492
- }, 1040)) : h("", !0)
2495
+ }, 1040)) : g("", !0)
2493
2496
  ], 4),
2494
2497
  B("div", {
2495
- id: `dropdown-${$._id}`
2498
+ id: `dropdown-${b._id}`
2496
2499
  }, null, 8, Ca)
2497
- ])) : h("", !0)
2500
+ ])) : g("", !0)
2498
2501
  ], 8, aa);
2499
2502
  }), 128))
2500
2503
  ])),
2501
2504
  B("tfoot", null, [
2502
- f.$slots.tfoot ? A(f.$slots, "tfoot", { key: 0 }, void 0, !0) : f.columns && !((E = f.rows) != null && E.length) && !((K = e(u)) != null && K.loading.getAll) ? (t(), s("tr", Oa, [
2505
+ f.$slots.tfoot ? I(f.$slots, "tfoot", { key: 0 }, void 0, !0) : f.columns && !((E = f.rows) != null && E.length) && !((K = e(u)) != null && K.loading.getAll) ? (t(), s("tr", Oa, [
2503
2506
  B("td", {
2504
2507
  colspan: d.value + 1
2505
2508
  }, [
2506
- B("div", Aa, C(e(q)("no_results", { capitalize: !0 })) + ". ", 1)
2507
- ], 8, Ia)
2508
- ])) : h("", !0)
2509
+ B("div", Ia, C(e(q)("no_results", { capitalize: !0 })) + ". ", 1)
2510
+ ], 8, Aa)
2511
+ ])) : g("", !0)
2509
2512
  ])
2510
- ])) : h("", !0);
2513
+ ])) : g("", !0);
2511
2514
  };
2512
2515
  }
2513
2516
  });
2514
- const Sa = /* @__PURE__ */ D(Ba, [["__scopeId", "data-v-660daba6"]]), wa = /* @__PURE__ */ F({
2517
+ const Sa = /* @__PURE__ */ Q(Ba, [["__scopeId", "data-v-660daba6"]]), wa = /* @__PURE__ */ F({
2515
2518
  __name: "aeria-tabular",
2516
2519
  props: {
2517
2520
  individualActions: {},
@@ -2531,17 +2534,17 @@ const Sa = /* @__PURE__ */ D(Ba, [["__scopeId", "data-v-660daba6"]]), wa = /* @_
2531
2534
  return Object.assign(c, r.componentProps);
2532
2535
  });
2533
2536
  return (c, u) => (t(), s("div", null, [
2534
- c.$slots.inner ? A(c.$slots, "inner", { key: 0 }) : h("", !0),
2537
+ c.$slots.inner ? I(c.$slots, "inner", { key: 0 }) : g("", !0),
2535
2538
  e(o).properties ? (t(), V(Sa, z({ key: 1 }, a.value, {
2536
2539
  key: e(o).$id
2537
2540
  }), _e({ _: 2 }, [
2538
- H(Object.keys(c.$slots).filter((m) => !["inner"].includes(m)), (m) => ({
2541
+ D(Object.keys(c.$slots).filter((m) => !["inner"].includes(m)), (m) => ({
2539
2542
  name: m,
2540
- fn: b((d) => [
2541
- A(c.$slots, m, de(Ce(d)))
2543
+ fn: h((d) => [
2544
+ I(c.$slots, m, de(Ce(d)))
2542
2545
  ])
2543
2546
  }))
2544
- ]), 1040)) : h("", !0)
2547
+ ]), 1040)) : g("", !0)
2545
2548
  ]));
2546
2549
  }
2547
2550
  }), Ta = /* @__PURE__ */ F({
@@ -2556,11 +2559,11 @@ const Sa = /* @__PURE__ */ D(Ba, [["__scopeId", "data-v-660daba6"]]), wa = /* @_
2556
2559
  { "grid--list": r.list }
2557
2560
  ])
2558
2561
  }, [
2559
- A(r.$slots, "default", {}, void 0, !0)
2562
+ I(r.$slots, "default", {}, void 0, !0)
2560
2563
  ], 2));
2561
2564
  }
2562
2565
  });
2563
- const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key: 0 }, qa = {
2566
+ const ja = /* @__PURE__ */ Q(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key: 0 }, qa = {
2564
2567
  key: 1,
2565
2568
  class: "card__information"
2566
2569
  }, La = /* @__PURE__ */ F({
@@ -2578,27 +2581,27 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2578
2581
  return t(), V(ja, {
2579
2582
  list: c.componentName === "list"
2580
2583
  }, {
2581
- default: b(() => [
2582
- (t(!0), s(P, null, H(e(n).items, (d) => (t(), V(sn, {
2584
+ default: h(() => [
2585
+ (t(!0), s(P, null, D(e(n).items, (d) => (t(), V(sn, {
2583
2586
  key: d._id,
2584
2587
  inactive: !!(e(o).active && !d[e(o).active]),
2585
2588
  horizontal: c.componentName === "list"
2586
2589
  }, _e({
2587
- footer: b(() => [
2588
- e(o).title ? (t(), s("div", Ra, C(d[e(o).title]), 1)) : h("", !0),
2589
- e(o).information ? (t(), s("div", qa, C(d[e(o).information]), 1)) : h("", !0)
2590
+ footer: h(() => [
2591
+ e(o).title ? (t(), s("div", Ra, C(d[e(o).title]), 1)) : g("", !0),
2592
+ e(o).information ? (t(), s("div", qa, C(d[e(o).information]), 1)) : g("", !0)
2590
2593
  ]),
2591
- actions: b(() => {
2594
+ actions: h(() => {
2592
2595
  var v;
2593
2596
  return [
2594
- (v = c.individualActions) != null && v.length ? (t(), V(Ae, z({
2597
+ (v = c.individualActions) != null && v.length ? (t(), V(Ie, z({
2595
2598
  key: 0,
2596
2599
  ref_for: !0
2597
2600
  }, {
2598
2601
  subject: d,
2599
2602
  actions: c.individualActions
2600
2603
  }), {
2601
- default: b(({
2604
+ default: h(({
2602
2605
  visible: l
2603
2606
  }) => [
2604
2607
  Z(L(Y, {
@@ -2610,10 +2613,10 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2610
2613
  ])
2611
2614
  ]),
2612
2615
  _: 2
2613
- }, 1040)) : h("", !0)
2616
+ }, 1040)) : g("", !0)
2614
2617
  ];
2615
2618
  }),
2616
- default: b(() => {
2619
+ default: h(() => {
2617
2620
  var v, l;
2618
2621
  return [
2619
2622
  L(Ue, z({
@@ -2631,13 +2634,13 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2631
2634
  }, [
2632
2635
  e(o).badge && Array.isArray(d[e(o).badge]) ? {
2633
2636
  name: "badge",
2634
- fn: b(() => [
2635
- (t(!0), s(P, null, H(d[e(o).badge], (v) => (t(), V(Ve, {
2637
+ fn: h(() => [
2638
+ (t(!0), s(P, null, D(d[e(o).badge], (v) => (t(), V(Ve, {
2636
2639
  key: `${d._id}-${v}`,
2637
2640
  large: ""
2638
2641
  }, {
2639
- default: b(() => [
2640
- Q(C(e(o).translateBadge ? e(q)(v) : v), 1)
2642
+ default: h(() => [
2643
+ G(C(e(o).translateBadge ? e(q)(v) : v), 1)
2641
2644
  ]),
2642
2645
  _: 2
2643
2646
  }, 1024))), 128))
@@ -2645,10 +2648,10 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2645
2648
  key: "0"
2646
2649
  } : e(o).badge ? {
2647
2650
  name: "badge",
2648
- fn: b(() => [
2651
+ fn: h(() => [
2649
2652
  L(Ve, null, {
2650
- default: b(() => [
2651
- Q(C(e(o).translateBadge ? e(q)(d[e(o).badge]) : d[e(o).badge]), 1)
2653
+ default: h(() => [
2654
+ G(C(e(o).translateBadge ? e(q)(d[e(o).badge]) : d[e(o).badge]), 1)
2652
2655
  ]),
2653
2656
  _: 2
2654
2657
  }, 1024)
@@ -2662,7 +2665,7 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2662
2665
  };
2663
2666
  }
2664
2667
  });
2665
- const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) => ({
2668
+ const mt = /* @__PURE__ */ Q(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) => ({
2666
2669
  tabular: wa,
2667
2670
  grid: mt,
2668
2671
  list: mt
@@ -2691,13 +2694,13 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2691
2694
  },
2692
2695
  emits: ["uiEvent"],
2693
2696
  setup(p, { emit: r }) {
2694
- const o = ee(!1), n = ee(!1), a = ee((...O) => null), c = ee(), u = p, m = r, d = Be(), v = bt({
2697
+ const o = ee(!1), n = ee(!1), a = ee((...O) => null), c = ee(), u = p, m = r, d = Be(), v = ht({
2695
2698
  delay: 600
2696
- }), l = ie("meta"), y = Le(), { reachedEnd: g, detach: f } = Ke(null, {
2699
+ }), l = ie("meta"), y = Le(), { reachedEnd: $, detach: f } = Ke(null, {
2697
2700
  antecipate: 600
2698
- }), I = !y.value.md || u.scrollPagination;
2699
- I && ue(g, (O) => {
2700
- O && i.pagination.recordsTotal > i.items.length && K.value < ft && (K.value += 1, G());
2701
+ }), A = !y.value.md || u.scrollPagination;
2702
+ A && ue($, (O) => {
2703
+ O && i.pagination.recordsTotal > i.items.length && K.value < ft && (K.value += 1, U());
2701
2704
  });
2702
2705
  const i = qt(u.collection);
2703
2706
  Jo(i, {
@@ -2705,7 +2708,7 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2705
2708
  });
2706
2709
  const M = Xe(), E = u.action ? e(u.action) : Lt(i, d, M);
2707
2710
  a.value = E[0], c.value = E[1];
2708
- const K = ee(0), $ = ee(!1), G = async (O) => {
2711
+ const K = ee(0), b = ee(!1), U = async (O) => {
2709
2712
  i.activeFilters = Object.assign({}, (O == null ? void 0 : O.filters) || i.$filters), Object.assign(i.activeFilters, i.filtersPreset);
2710
2713
  const k = {
2711
2714
  filters: i.activeFilters,
@@ -2718,14 +2721,14 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2718
2721
  if (N)
2719
2722
  return;
2720
2723
  const { data: _, pagination: T } = le;
2721
- i.pagination.recordsCount = T.recordsCount, i.pagination.recordsTotal = T.recordsTotal, K.value === 0 && i.items.splice(0), i.items.push(..._), i.loading.getAll = !1, $.value = !0;
2724
+ i.pagination.recordsCount = T.recordsCount, i.pagination.recordsTotal = T.recordsTotal, K.value === 0 && i.items.splice(0), i.items.push(..._), i.loading.getAll = !1, b.value = !0;
2722
2725
  }, oe = async (O) => {
2723
2726
  d.push(qe(d.currentRoute.value, {
2724
2727
  query: {
2725
2728
  offset: O.offset,
2726
2729
  limit: O.limit
2727
2730
  }
2728
- })), i.pagination.offset = O.offset, i.pagination.limit = O.limit, G();
2731
+ })), i.pagination.offset = O.offset, i.pagination.limit = O.limit, U();
2729
2732
  }, w = fe("noResultsComponent", null);
2730
2733
  ue(() => [
2731
2734
  d.currentRoute.value.path,
@@ -2736,7 +2739,7 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2736
2739
  const N = d.currentRoute.value;
2737
2740
  if (l.view.title = u.collection, !u.noFetch && (!N.query._popstate || i.itemsCount === 0)) {
2738
2741
  const le = Mt(i, N.query);
2739
- Object.keys(le).length > 0 && Object.assign(i.filters, le), await G();
2742
+ Object.keys(le).length > 0 && Object.assign(i.filters, le), await U();
2740
2743
  }
2741
2744
  }, {
2742
2745
  immediate: !0,
@@ -2746,14 +2749,14 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2746
2749
  query: {
2747
2750
  search: O || void 0
2748
2751
  }
2749
- })), O ? (i.filters = Object.assign(Ie(i.freshFilters), {
2752
+ })), O ? (i.filters = Object.assign(Ae(i.freshFilters), {
2750
2753
  $text: {
2751
2754
  $search: `"${O}"`,
2752
2755
  $caseSensitive: !1
2753
2756
  }
2754
- }), G({
2757
+ }), U({
2755
2758
  offset: 0
2756
- })) : (i.filters = Ie(i.freshFilters), K.value = 0, G())));
2759
+ })) : (i.filters = Ae(i.freshFilters), K.value = 0, U())));
2757
2760
  ue(() => i.textQuery, (O) => {
2758
2761
  te(O);
2759
2762
  });
@@ -2764,7 +2767,7 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2764
2767
  i.$actions.clearFilters(), i.textQuery = "", f();
2765
2768
  }), ue(() => c.value, async (O) => {
2766
2769
  var le;
2767
- const k = Ie(O);
2770
+ const k = Ae(O);
2768
2771
  let N;
2769
2772
  if (k)
2770
2773
  if ((k.name === "spawnEdit" || k.name === "duplicate") && (N = i.$actions.get({
@@ -2779,13 +2782,13 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2779
2782
  i.$actions.setItem(k.params), o.value = "edit";
2780
2783
  else if (k.name === "duplicate") {
2781
2784
  await N;
2782
- const _ = Object.entries(i.item).reduce((T, [U, J]) => {
2783
- if (!(U in i.properties))
2785
+ const _ = Object.entries(i.item).reduce((T, [H, J]) => {
2786
+ if (!(H in i.properties))
2784
2787
  return {
2785
2788
  ...T,
2786
- [U]: J
2789
+ [H]: J
2787
2790
  };
2788
- const S = i.properties[U];
2791
+ const S = i.properties[H];
2789
2792
  if (S.readOnly)
2790
2793
  return T;
2791
2794
  const R = (re) => {
@@ -2802,7 +2805,7 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2802
2805
  };
2803
2806
  return J = Array.isArray(J) ? J.map(R) : R(J), {
2804
2807
  ...T,
2805
- [U]: J
2808
+ [H]: J
2806
2809
  };
2807
2810
  }, {});
2808
2811
  i.$actions.setItem(_), delete i.item._id, i.referenceItem = {}, o.value = "duplicate";
@@ -2821,14 +2824,14 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2821
2824
  }));
2822
2825
  }), ae = X(() => i.actions.filter((O) => !O.button));
2823
2826
  return ge(ze, X(() => u.collection)), (O, k) => {
2824
- var _, T, U, J, S, R, re;
2827
+ var _, T, H, J, S, R, re;
2825
2828
  const N = ne("clickable"), le = ne("loading");
2826
2829
  return t(), s(P, null, [
2827
2830
  n.value ? (t(), V(Ko, {
2828
2831
  key: e(i).$id,
2829
2832
  modelValue: n.value,
2830
2833
  "onUpdate:modelValue": k[0] || (k[0] = (j) => n.value = j)
2831
- }, null, 8, ["modelValue"])) : h("", !0),
2834
+ }, null, 8, ["modelValue"])) : g("", !0),
2832
2835
  o.value ? (t(), V(Xo, z({
2833
2836
  key: 1,
2834
2837
  visible: o.value,
@@ -2840,7 +2843,7 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2840
2843
  }, {
2841
2844
  onCancel: k[2] || (k[2] = (j) => o.value = !1)
2842
2845
  }), _e({
2843
- header: b(() => [
2846
+ header: h(() => [
2844
2847
  B("span", null, C((() => {
2845
2848
  switch (o.value) {
2846
2849
  case "add":
@@ -2856,13 +2859,13 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2856
2859
  ]),
2857
2860
  _: 2
2858
2861
  }, [
2859
- H(Object.keys(O.$slots).filter((j) => j.startsWith("field-")), (j) => ({
2862
+ D(Object.keys(O.$slots).filter((j) => j.startsWith("field-")), (j) => ({
2860
2863
  name: j,
2861
- fn: b((se) => [
2862
- A(O.$slots, j, de(Ce(se)), void 0, !0)
2864
+ fn: h((se) => [
2865
+ I(O.$slots, j, de(Ce(se)), void 0, !0)
2863
2866
  ])
2864
2867
  }))
2865
- ]), 1040, ["visible"])) : h("", !0),
2868
+ ]), 1040, ["visible"])) : g("", !0),
2866
2869
  !O.noActions && (e(i).description.search || Object.keys(e(i).availableFilters).length > 0 || ((_ = e(i)) == null ? void 0 : _.actions.length) > 0 || O.$slots.actions || !O.noLayoutToggle && e(i).description.layout && ((T = e(i).description.layout) == null ? void 0 : T.name) !== "tabular") ? (t(), s("div", za, [
2867
2870
  e(i).description.search ? (t(), s("div", Fa, [
2868
2871
  L(Oe, z({
@@ -2875,21 +2878,21 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2875
2878
  inputType: "search"
2876
2879
  }
2877
2880
  }), null, 16, ["modelValue"])
2878
- ])) : h("", !0),
2881
+ ])) : g("", !0),
2879
2882
  B("div", Ea, [
2880
- ae.value.length > 0 || !O.noLayoutToggle && e(i).description.layout && ((U = e(i).description.layout) == null ? void 0 : U.name) !== "tabular" ? (t(), V(Ae, { key: 0 }, _e({
2881
- default: b(() => [
2883
+ ae.value.length > 0 || !O.noLayoutToggle && e(i).description.layout && ((H = e(i).description.layout) == null ? void 0 : H.name) !== "tabular" ? (t(), V(Ie, { key: 0 }, _e({
2884
+ default: h(() => [
2882
2885
  L(pe, {
2883
2886
  variant: "alt",
2884
2887
  icon: "sliders"
2885
2888
  }, {
2886
- default: b(() => [
2889
+ default: h(() => [
2887
2890
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2888
- default: b(() => [
2889
- Q(C(e(i).filtersCount), 1)
2891
+ default: h(() => [
2892
+ G(C(e(i).filtersCount), 1)
2890
2893
  ]),
2891
2894
  _: 1
2892
- })) : h("", !0)
2895
+ })) : g("", !0)
2893
2896
  ]),
2894
2897
  _: 1
2895
2898
  })
@@ -2898,13 +2901,13 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2898
2901
  }, [
2899
2902
  Object.keys(e(i).availableFilters).length > 0 ? {
2900
2903
  name: "filter",
2901
- fn: b(() => [
2904
+ fn: h(() => [
2902
2905
  Z((t(), V(Y, {
2903
2906
  icon: "funnel",
2904
2907
  onClick: k[4] || (k[4] = (j) => n.value = !0)
2905
2908
  }, {
2906
- default: b(() => [
2907
- Q(C(e(q)("filters", { capitalize: !0 })), 1)
2909
+ default: h(() => [
2910
+ G(C(e(q)("filters", { capitalize: !0 })), 1)
2908
2911
  ]),
2909
2912
  _: 1
2910
2913
  })), [
@@ -2912,24 +2915,24 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2912
2915
  ]),
2913
2916
  B("div", Ua, [
2914
2917
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2915
- default: b(() => [
2916
- Q(C(e(i).filtersCount), 1)
2918
+ default: h(() => [
2919
+ G(C(e(i).filtersCount), 1)
2917
2920
  ]),
2918
2921
  _: 1
2919
- })) : h("", !0)
2922
+ })) : g("", !0)
2920
2923
  ])
2921
2924
  ]),
2922
2925
  key: "0"
2923
2926
  } : void 0,
2924
2927
  !O.noLayoutToggle && e(i).description.layout && ((J = e(i).description.layout) == null ? void 0 : J.name) !== "tabular" ? {
2925
2928
  name: "layout-toggle",
2926
- fn: b(() => [
2929
+ fn: h(() => [
2927
2930
  Z((t(), V(Y, {
2928
2931
  icon: "table",
2929
2932
  onClick: k[5] || (k[5] = (j) => ke(e(i)))
2930
2933
  }, {
2931
- default: b(() => [
2932
- Q(C(e(q)("change_layout", { capitalize: !0 })), 1)
2934
+ default: h(() => [
2935
+ G(C(e(q)("change_layout", { capitalize: !0 })), 1)
2933
2936
  ]),
2934
2937
  _: 1
2935
2938
  })), [
@@ -2938,20 +2941,20 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2938
2941
  ]),
2939
2942
  key: "1"
2940
2943
  } : void 0,
2941
- H(ae.value, (j, se) => ({
2944
+ D(ae.value, (j, se) => ({
2942
2945
  name: `action-${se}`,
2943
- fn: b(() => [
2946
+ fn: h(() => [
2944
2947
  j ? (t(), V(Y, {
2945
2948
  key: 0,
2946
2949
  icon: j.icon || "gear",
2947
2950
  disabled: e(i).selected.length === 0 && "selection" in j && j.selection,
2948
- onClick: (ve) => a.value(j)({ _id: e(i).selected.map((be) => typeof be == "string" || be._id) })
2951
+ onClick: (ve) => a.value(j)({ _id: e(i).selected.map((he) => typeof he == "string" || he._id) })
2949
2952
  }, {
2950
- default: b(() => [
2951
- Q(C(e(q)(j.label, { capitalize: !0 })), 1)
2953
+ default: h(() => [
2954
+ G(C(e(q)(j.label, { capitalize: !0 })), 1)
2952
2955
  ]),
2953
2956
  _: 2
2954
- }, 1032, ["icon", "disabled", "onClick"])) : h("", !0)
2957
+ }, 1032, ["icon", "disabled", "onClick"])) : g("", !0)
2955
2958
  ])
2956
2959
  }))
2957
2960
  ]), 1024)) : Object.keys(e(i).availableFilters).length > 0 ? (t(), V(pe, {
@@ -2960,37 +2963,37 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2960
2963
  icon: "funnel",
2961
2964
  onClick: k[6] || (k[6] = (j) => n.value = !0)
2962
2965
  }, {
2963
- default: b(() => [
2966
+ default: h(() => [
2964
2967
  k[8] || (k[8] = B("div", null, "Filtros", -1)),
2965
2968
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2966
- default: b(() => [
2967
- Q(C(e(i).filtersCount), 1)
2969
+ default: h(() => [
2970
+ G(C(e(i).filtersCount), 1)
2968
2971
  ]),
2969
2972
  _: 1
2970
- })) : h("", !0)
2973
+ })) : g("", !0)
2971
2974
  ]),
2972
2975
  _: 1
2973
- })) : h("", !0),
2974
- (t(!0), s(P, null, H(e(i).actions.filter((j) => j.button), (j, se) => (t(), V(pe, {
2976
+ })) : g("", !0),
2977
+ (t(!0), s(P, null, D(e(i).actions.filter((j) => j.button), (j, se) => (t(), V(pe, {
2975
2978
  key: `action-${se}`,
2976
2979
  icon: j.icon,
2977
2980
  disabled: e(i).selected.length === 0 && "selection" in j && j.selection,
2978
- onClick: (ve) => a.value(j)({ _id: e(i).selected.map((be) => typeof be == "string" || be._id) })
2981
+ onClick: (ve) => a.value(j)({ _id: e(i).selected.map((he) => typeof he == "string" || he._id) })
2979
2982
  }, {
2980
- default: b(() => [
2981
- Q(C(e(q)(j.label, { capitalize: !0 })), 1)
2983
+ default: h(() => [
2984
+ G(C(e(q)(j.label, { capitalize: !0 })), 1)
2982
2985
  ]),
2983
2986
  _: 2
2984
2987
  }, 1032, ["icon", "disabled", "onClick"]))), 128)),
2985
- O.$slots.actions ? A(O.$slots, "actions", { key: 2 }, void 0, !0) : h("", !0)
2988
+ O.$slots.actions ? I(O.$slots, "actions", { key: 2 }, void 0, !0) : g("", !0)
2986
2989
  ])
2987
- ])) : h("", !0),
2990
+ ])) : g("", !0),
2988
2991
  Z((t(), s("div", null, [
2989
- e(i).itemsCount === 0 && !e(i).loading.getAll && $.value && (e(w) || O.$slots.empty) ? (t(), s("div", Ha, [
2990
- e(w) ? (t(), V(he(e(w)), de(z({ key: 0 }, {
2992
+ e(i).itemsCount === 0 && !e(i).loading.getAll && b.value && (e(w) || O.$slots.empty) ? (t(), s("div", Ha, [
2993
+ e(w) ? (t(), V(be(e(w)), de(z({ key: 0 }, {
2991
2994
  collection: e(i).$id
2992
2995
  })), {
2993
- default: b(() => [
2996
+ default: h(() => [
2994
2997
  e(i).filtersCount === 0 && e(i).description.actions && "spawnAdd" in e(i).description.actions ? (t(), V(pe, {
2995
2998
  key: 0,
2996
2999
  icon: "plus",
@@ -2999,53 +3002,53 @@ const mt = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2999
3002
  event: "spawnAdd"
3000
3003
  })())
3001
3004
  }, {
3002
- default: b(() => [
3003
- Q(C(e(q)("add_first_item", { capitalize: !0 })), 1)
3005
+ default: h(() => [
3006
+ G(C(e(q)("add_first_item", { capitalize: !0 })), 1)
3004
3007
  ]),
3005
3008
  _: 1
3006
- })) : h("", !0)
3009
+ })) : g("", !0)
3007
3010
  ]),
3008
3011
  _: 1
3009
- }, 16)) : A(O.$slots, "empty", de(z({ key: 1 }, {
3012
+ }, 16)) : I(O.$slots, "empty", de(z({ key: 1 }, {
3010
3013
  collection: e(i).$id
3011
3014
  })), void 0, !0)
3012
- ])) : O.$slots.component ? A(O.$slots, "component", de(z({ key: 1 }, {
3015
+ ])) : O.$slots.component ? I(O.$slots, "component", de(z({ key: 1 }, {
3013
3016
  store: e(i)
3014
- })), void 0, !0) : (t(), V(he(e(Ma)(((S = O.layout) == null ? void 0 : S.name) || e(i).$currentLayout)), z({ key: 2 }, {
3017
+ })), void 0, !0) : (t(), V(be(e(Ma)(((S = O.layout) == null ? void 0 : S.name) || e(i).$currentLayout)), z({ key: 2 }, {
3015
3018
  individualActions: ce.value,
3016
3019
  layoutOptions: ((R = O.layout) == null ? void 0 : R.options) || e(i).layout.options,
3017
3020
  componentProps: O.componentProps
3018
3021
  }, {
3019
3022
  "component-name": ((re = O.layout) == null ? void 0 : re.name) || e(i).$currentLayout
3020
3023
  }), _e({ _: 2 }, [
3021
- H(Object.keys(O.$slots).filter((j) => j.startsWith("row-")), (j) => ({
3024
+ D(Object.keys(O.$slots).filter((j) => j.startsWith("row-")), (j) => ({
3022
3025
  name: j,
3023
- fn: b((se) => [
3024
- A(O.$slots, j, de(Ce(se)), void 0, !0)
3026
+ fn: h((se) => [
3027
+ I(O.$slots, j, de(Ce(se)), void 0, !0)
3025
3028
  ])
3026
3029
  })),
3027
3030
  O.$slots.tfoot ? {
3028
3031
  name: "tfoot",
3029
- fn: b(() => [
3030
- A(O.$slots, "tfoot", {}, void 0, !0)
3032
+ fn: h(() => [
3033
+ I(O.$slots, "tfoot", {}, void 0, !0)
3031
3034
  ]),
3032
3035
  key: "0"
3033
3036
  } : void 0
3034
3037
  ]), 1040, ["component-name"]))
3035
3038
  ])), [
3036
- [le, (!e(I) || K.value === ft) && e(i).loading.getAll]
3039
+ [le, (!e(A) || K.value === ft) && e(i).loading.getAll]
3037
3040
  ]),
3038
- !e(I) && !O.noControls && !e(i).loading.getAll && e(i).itemsCount > 0 ? (t(), s("div", Da, [
3041
+ !e(A) && !O.noControls && !e(i).loading.getAll && e(i).itemsCount > 0 ? (t(), s("div", Da, [
3039
3042
  L(qn, {
3040
3043
  pagination: e(i).pagination,
3041
3044
  onPaginate: oe
3042
3045
  }, null, 8, ["pagination"])
3043
- ])) : h("", !0)
3046
+ ])) : g("", !0)
3044
3047
  ], 64);
3045
3048
  };
3046
3049
  }
3047
3050
  });
3048
- const Il = /* @__PURE__ */ D(Qa, [["__scopeId", "data-v-d64cb42a"]]), Ga = { class: "prompt" }, Wa = /* @__PURE__ */ F({
3051
+ const Al = /* @__PURE__ */ Q(Qa, [["__scopeId", "data-v-d64cb42a"]]), Ga = { class: "prompt" }, Wa = /* @__PURE__ */ F({
3049
3052
  __name: "aeria-prompt",
3050
3053
  props: {
3051
3054
  title: {},
@@ -3062,12 +3065,12 @@ const Il = /* @__PURE__ */ D(Qa, [["__scopeId", "data-v-d64cb42a"]]), Ga = { cla
3062
3065
  title: n.title,
3063
3066
  style: { "--panel-min-width": "32rem" }
3064
3067
  }, {
3065
- footer: b(() => [
3068
+ footer: h(() => [
3066
3069
  B("div", {
3067
3070
  class: "prompt__options",
3068
3071
  style: $e(`grid-template-columns: repeat(${Object.keys(n.options).length}, 1fr)`)
3069
3072
  }, [
3070
- (t(!0), s(P, null, H(Object.entries(n.options), ([c, u], m) => (t(), V(ye, {
3073
+ (t(!0), s(P, null, D(Object.entries(n.options), ([c, u], m) => (t(), V(ye, {
3071
3074
  key: `option-${m}`,
3072
3075
  class: W([
3073
3076
  "prompt__option",
@@ -3075,23 +3078,23 @@ const Il = /* @__PURE__ */ D(Qa, [["__scopeId", "data-v-d64cb42a"]]), Ga = { cla
3075
3078
  ]),
3076
3079
  onClick: (d) => u.click ? u.click(c, u) : o(c, u)
3077
3080
  }, {
3078
- default: b(() => [
3079
- Q(C(u.title), 1)
3081
+ default: h(() => [
3082
+ G(C(u.title), 1)
3080
3083
  ]),
3081
3084
  _: 2
3082
3085
  }, 1032, ["class", "onClick"]))), 128))
3083
3086
  ], 4)
3084
3087
  ]),
3085
- default: b(() => [
3088
+ default: h(() => [
3086
3089
  B("div", Ga, [
3087
- A(n.$slots, "default", {}, void 0, !0)
3090
+ I(n.$slots, "default", {}, void 0, !0)
3088
3091
  ])
3089
3092
  ]),
3090
3093
  _: 3
3091
3094
  }, 8, ["title"]));
3092
3095
  }
3093
3096
  });
3094
- const Ya = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-4cbfd28f"]]), Ka = { class: "toast__content" }, Xa = { class: "toast__time" }, Ja = /* @__PURE__ */ F({
3097
+ const Ya = /* @__PURE__ */ Q(Wa, [["__scopeId", "data-v-4cbfd28f"]]), Ka = { class: "toast__content" }, Xa = { class: "toast__time" }, Ja = /* @__PURE__ */ F({
3095
3098
  __name: "aeria-toast",
3096
3099
  props: {
3097
3100
  idx: {},
@@ -3116,7 +3119,7 @@ const Ya = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-4cbfd28f"]]), Ka = { cla
3116
3119
  { style: { "--icon-size": "4rem", "--icon-color": "var(--theme-brand-color-shade-3)" } }
3117
3120
  ), null, 16),
3118
3121
  B("div", Ka, [
3119
- A(o.$slots, "default", {}, void 0, !0),
3122
+ I(o.$slots, "default", {}, void 0, !0),
3120
3123
  B("div", Xa, C(o.formatDateTime(o.date, { hoursOnly: !0 })), 1)
3121
3124
  ])
3122
3125
  ], 34)), [
@@ -3125,7 +3128,7 @@ const Ya = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-4cbfd28f"]]), Ka = { cla
3125
3128
  };
3126
3129
  }
3127
3130
  });
3128
- const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["innerHTML"], Na = { class: "main__toasts" }, xa = ["innerHTML"], el = /* @__PURE__ */ F({
3131
+ const Za = /* @__PURE__ */ Q(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["innerHTML"], Na = { class: "main__toasts" }, xa = ["innerHTML"], el = /* @__PURE__ */ F({
3129
3132
  __name: "aeria-main",
3130
3133
  setup(p) {
3131
3134
  const r = ie("meta"), o = X(() => r.themeOverride || r.theme);
@@ -3140,14 +3143,14 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3140
3143
  ])
3141
3144
  }, [
3142
3145
  (t(), V(Ot, null, {
3143
- default: b(() => [
3146
+ default: h(() => [
3144
3147
  L(c, null, {
3145
- default: b(({ Component: u }) => [
3146
- (t(), V(he(u), null, _e({ _: 2 }, [
3147
- H(Object.keys(n.$slots), (m) => ({
3148
+ default: h(({ Component: u }) => [
3149
+ (t(), V(be(u), null, _e({ _: 2 }, [
3150
+ D(Object.keys(n.$slots), (m) => ({
3148
3151
  name: m,
3149
- fn: b(() => [
3150
- A(n.$slots, m, {}, void 0, !0)
3152
+ fn: h(() => [
3153
+ I(n.$slots, m, {}, void 0, !0)
3151
3154
  ])
3152
3155
  }))
3153
3156
  ]), 1024))
@@ -3157,7 +3160,7 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3157
3160
  ]),
3158
3161
  _: 3
3159
3162
  })),
3160
- A(n.$slots, "default", {}, void 0, !0),
3163
+ I(n.$slots, "default", {}, void 0, !0),
3161
3164
  L(Se, z({
3162
3165
  modelValue: e(r).modal.visible,
3163
3166
  "onUpdate:modelValue": a[0] || (a[0] = (u) => e(r).modal.visible = u),
@@ -3167,27 +3170,27 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3167
3170
  "overlay-layer": 70,
3168
3171
  onOverlayClick: a[1] || (a[1] = (u) => e(r).modal.visible = !1)
3169
3172
  }), {
3170
- default: b(() => [
3173
+ default: h(() => [
3171
3174
  e(r).modal.body ? (t(), s("div", {
3172
3175
  key: 0,
3173
3176
  style: { "white-space": "pre-wrap" },
3174
3177
  innerHTML: e(r).modal.body
3175
- }, null, 8, Pa)) : h("", !0),
3176
- e(r).modal.component ? (t(), V(he(e(r).modal.component), { key: 1 })) : h("", !0)
3178
+ }, null, 8, Pa)) : g("", !0),
3179
+ e(r).modal.component ? (t(), V(be(e(r).modal.component), { key: 1 })) : g("", !0)
3177
3180
  ]),
3178
3181
  _: 1
3179
3182
  }, 16, ["modelValue"]),
3180
3183
  e(r).prompt.visible ? (t(), V(Ya, de(z({ key: 0 }, e(r).prompt)), {
3181
- default: b(() => [
3182
- Q(C(e(r).prompt.body), 1)
3184
+ default: h(() => [
3185
+ G(C(e(r).prompt.body), 1)
3183
3186
  ]),
3184
3187
  _: 1
3185
- }, 16)) : h("", !0),
3188
+ }, 16)) : g("", !0),
3186
3189
  B("div", Na, [
3187
- (t(!0), s(P, null, H(e(r).toasts, (u) => (t(), V(Za, z({ ref_for: !0 }, u, {
3190
+ (t(!0), s(P, null, D(e(r).toasts, (u) => (t(), V(Za, z({ ref_for: !0 }, u, {
3188
3191
  key: `toast-${u.itr}`
3189
3192
  }), {
3190
- default: b(() => [
3193
+ default: h(() => [
3191
3194
  B("div", {
3192
3195
  innerHTML: e(q)(u.text)
3193
3196
  }, null, 8, xa)
@@ -3199,19 +3202,19 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3199
3202
  };
3200
3203
  }
3201
3204
  });
3202
- const Al = /* @__PURE__ */ D(el, [["__scopeId", "data-v-8f232683"]]);
3205
+ const Il = /* @__PURE__ */ Q(el, [["__scopeId", "data-v-8f232683"]]);
3203
3206
  const tl = {}, nl = { class: "menu" };
3204
3207
  function ol(p, r) {
3205
3208
  return t(), s("menu", nl, [
3206
- (t(!0), s(P, null, H(Object.keys(p.$slots), (o) => (t(), s("div", {
3209
+ (t(!0), s(P, null, D(Object.keys(p.$slots), (o) => (t(), s("div", {
3207
3210
  key: o,
3208
3211
  class: "menu__entry"
3209
3212
  }, [
3210
- A(p.$slots, o, {}, void 0, !0)
3213
+ I(p.$slots, o, {}, void 0, !0)
3211
3214
  ]))), 128))
3212
3215
  ]);
3213
3216
  }
3214
- const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb"]]), al = { class: "tabs" }, ll = {
3217
+ const Bl = /* @__PURE__ */ Q(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb"]]), al = { class: "tabs" }, ll = {
3215
3218
  key: 0,
3216
3219
  class: "tabs__horizontal"
3217
3220
  }, sl = {
@@ -3228,7 +3231,7 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3228
3231
  dropdown: { type: Boolean }
3229
3232
  },
3230
3233
  setup(p) {
3231
- const r = p, o = It(), n = Be(), a = Le(), c = X(() => {
3234
+ const r = p, o = At(), n = Be(), a = Le(), c = X(() => {
3232
3235
  if (r.query) {
3233
3236
  const m = n.currentRoute.value.query[r.query];
3234
3237
  if (m)
@@ -3255,21 +3258,21 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3255
3258
  return t(), s("div", al, [
3256
3259
  e(a).md && !m.dropdown ? (t(), s("div", ll, [
3257
3260
  m.$slots.default ? (t(), s("div", sl, [
3258
- A(m.$slots, "default", {}, void 0, !0)
3259
- ])) : h("", !0),
3260
- (t(!0), s(P, null, H(Object.keys(m.$slots).filter((l) => l !== "default"), (l, y) => (t(), s("div", {
3261
+ I(m.$slots, "default", {}, void 0, !0)
3262
+ ])) : g("", !0),
3263
+ (t(!0), s(P, null, D(Object.keys(m.$slots).filter((l) => l !== "default"), (l, y) => (t(), s("div", {
3261
3264
  key: l,
3262
3265
  class: W({
3263
3266
  tabs__tab: !0,
3264
3267
  "tabs__tab--current": l === c.value || !c.value && y === 0
3265
3268
  }),
3266
- onClick: (g) => u(l)
3269
+ onClick: ($) => u(l)
3267
3270
  }, [
3268
- A(m.$slots, l, {}, void 0, !0)
3271
+ I(m.$slots, l, {}, void 0, !0)
3269
3272
  ], 10, il))), 128))
3270
3273
  ])) : (t(), s("div", rl, [
3271
- L(Ae, null, _e({
3272
- default: b(({ visible: l }) => [
3274
+ L(Ie, null, _e({
3275
+ default: h(({ visible: l }) => [
3273
3276
  Z((t(), V(Y, {
3274
3277
  "icon-right": "",
3275
3278
  active: l,
@@ -3277,8 +3280,8 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3277
3280
  style: { "--icon-color": "var(--theme-brand-color-shade-1)" },
3278
3281
  class: "tabs__context-menu-icon"
3279
3282
  }, {
3280
- default: b(() => [
3281
- A(m.$slots, c.value, {}, void 0, !0)
3283
+ default: h(() => [
3284
+ I(m.$slots, c.value, {}, void 0, !0)
3282
3285
  ]),
3283
3286
  _: 2
3284
3287
  }, 1032, ["active"])), [
@@ -3287,13 +3290,13 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3287
3290
  ]),
3288
3291
  _: 2
3289
3292
  }, [
3290
- H(Object.keys(m.$slots).filter((l) => l !== "default"), (l) => ({
3293
+ D(Object.keys(m.$slots).filter((l) => l !== "default"), (l) => ({
3291
3294
  name: l,
3292
- fn: b(() => [
3295
+ fn: h(() => [
3293
3296
  B("div", {
3294
3297
  onClick: (y) => u(l)
3295
3298
  }, [
3296
- A(m.$slots, l, {}, void 0, !0)
3299
+ I(m.$slots, l, {}, void 0, !0)
3297
3300
  ], 8, ul)
3298
3301
  ])
3299
3302
  }))
@@ -3303,7 +3306,7 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3303
3306
  };
3304
3307
  }
3305
3308
  });
3306
- const dl = /* @__PURE__ */ D(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3309
+ const dl = /* @__PURE__ */ Q(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3307
3310
  props: {
3308
3311
  initialValue: String,
3309
3312
  promise: Promise
@@ -3312,7 +3315,7 @@ const dl = /* @__PURE__ */ D(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3312
3315
  const r = ee(p.initialValue);
3313
3316
  return p.promise instanceof Promise && p.promise.then((o) => {
3314
3317
  r.value = o;
3315
- }), () => At("div", String(r.value));
3318
+ }), () => It("div", String(r.value));
3316
3319
  }
3317
3320
  }), _l = ["onClick"], ml = { key: 1 }, fl = /* @__PURE__ */ F({
3318
3321
  __name: "aeria-crud-topbar",
@@ -3331,38 +3334,38 @@ const dl = /* @__PURE__ */ D(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3331
3334
  dropdown: "",
3332
3335
  query: "section"
3333
3336
  }, _e({ _: 2 }, [
3334
- H(Object.entries(c.value.description.filtersPresets), ([v, l]) => ({
3337
+ D(Object.entries(c.value.description.filtersPresets), ([v, l]) => ({
3335
3338
  name: v,
3336
- fn: b(() => [
3339
+ fn: h(() => [
3337
3340
  B("div", {
3338
3341
  class: "topbar__preset",
3339
- onClick: (y) => e(ht)(l, c.value)
3342
+ onClick: (y) => e(bt)(l, c.value)
3340
3343
  }, [
3341
3344
  l.icon ? (t(), V(Y, {
3342
3345
  key: 0,
3343
3346
  icon: l.icon
3344
3347
  }, {
3345
- default: b(() => [
3346
- Q(C(l.label || e(q)(v, { plural: !0 })), 1)
3348
+ default: h(() => [
3349
+ G(C(l.label || e(q)(v, { plural: !0 })), 1)
3347
3350
  ]),
3348
3351
  _: 2
3349
3352
  }, 1032, ["icon"])) : (t(), s("div", ml, C(l.label || e(q)(v, { plural: !0 })), 1)),
3350
3353
  l.badgeFunction ? (t(), V(Ve, { key: 2 }, {
3351
- default: b(() => [
3354
+ default: h(() => [
3352
3355
  L(e(pl), {
3353
3356
  "initial-value": "0",
3354
3357
  promise: u(l, c.value)
3355
3358
  }, null, 8, ["promise"])
3356
3359
  ]),
3357
3360
  _: 2
3358
- }, 1024)) : h("", !0)
3361
+ }, 1024)) : g("", !0)
3359
3362
  ], 8, _l)
3360
3363
  ])
3361
3364
  }))
3362
- ]), 1024)) : h("", !0);
3365
+ ]), 1024)) : g("", !0);
3363
3366
  }
3364
3367
  });
3365
- const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3368
+ const vl = /* @__PURE__ */ Q(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3366
3369
  __proto__: null,
3367
3370
  default: vl
3368
3371
  }, Symbol.toStringTag, { value: "Module" })), Sl = /* @__PURE__ */ F({
@@ -3394,9 +3397,9 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3394
3397
  "model-value": a.modelValue,
3395
3398
  "onUpdate:modelValue": c[0] || (c[0] = (u) => a.$emit("update:modelValue", u))
3396
3399
  }, {
3397
- after: b(() => [
3400
+ after: h(() => [
3398
3401
  B("div", null, C(n.value || "Senhas conferem"), 1),
3399
- A(a.$slots, "default", de(Ce({ passwordError: n.value })))
3402
+ I(a.$slots, "default", de(Ce({ passwordError: n.value })))
3400
3403
  ]),
3401
3404
  _: 3
3402
3405
  }, 8, ["model-value"]));
@@ -3419,7 +3422,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3419
3422
  {
3420
3423
  path: "signin",
3421
3424
  name: "/user/signin",
3422
- component: () => import("./signin-41417db3.js"),
3425
+ component: () => import("./signin-124ea7a0.js"),
3423
3426
  meta: {
3424
3427
  title: "Sign in"
3425
3428
  }
@@ -3427,7 +3430,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3427
3430
  {
3428
3431
  path: "signup",
3429
3432
  name: "/user/signup",
3430
- component: () => import("./signup-fc726ae1.js"),
3433
+ component: () => import("./signup-84a7f92b.js"),
3431
3434
  meta: {
3432
3435
  title: "Sign up"
3433
3436
  }
@@ -3435,7 +3438,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3435
3438
  {
3436
3439
  path: "redefine-password",
3437
3440
  name: "/user/redefine-password",
3438
- component: () => import("./redefine-password-25af0141.js"),
3441
+ component: () => import("./redefine-password-6c5e9b0d.js"),
3439
3442
  meta: {
3440
3443
  title: "Redefine password"
3441
3444
  }
@@ -3443,7 +3446,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3443
3446
  {
3444
3447
  path: "activation",
3445
3448
  name: "/user/activation",
3446
- component: () => import("./activation-5428c16b.js"),
3449
+ component: () => import("./activation-52d1eb36.js"),
3447
3450
  meta: {
3448
3451
  title: "Activate user"
3449
3452
  }
@@ -3465,7 +3468,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3465
3468
  name: "/dashboard/:collection",
3466
3469
  props: !0,
3467
3470
  components: {
3468
- default: () => import("./index-dc7a3375.js"),
3471
+ default: () => import("./index-24cff6ef.js"),
3469
3472
  topbar: () => Promise.resolve().then(() => yl)
3470
3473
  },
3471
3474
  meta: {
@@ -3479,7 +3482,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3479
3482
  name: "/dashboard/:collection/:id",
3480
3483
  props: !0,
3481
3484
  components: {
3482
- default: () => import("./_id_-66899607.js")
3485
+ default: () => import("./_id_-b766afcb.js")
3483
3486
  },
3484
3487
  meta: {
3485
3488
  title: ({ collectionName: o, t: n }) => n(o, {
@@ -3499,7 +3502,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3499
3502
  children: [
3500
3503
  {
3501
3504
  path: "profile",
3502
- component: () => import("./index-97e3a8d7.js"),
3505
+ component: () => import("./index-c094bffd.js"),
3503
3506
  meta: {
3504
3507
  title: "User profile",
3505
3508
  icon: "user-square"
@@ -3508,7 +3511,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3508
3511
  {
3509
3512
  path: "changepass",
3510
3513
  name: "/dashboard/user/changepass",
3511
- component: () => import("./index-41ebb04f.js"),
3514
+ component: () => import("./index-f785e4c6.js"),
3512
3515
  meta: {
3513
3516
  title: "Change password",
3514
3517
  icon: "lock"
@@ -3531,21 +3534,21 @@ export {
3531
3534
  pe as a,
3532
3535
  Y as b,
3533
3536
  Hn as c,
3534
- Il as d,
3537
+ Al as d,
3535
3538
  Xo as e,
3536
3539
  Ue as f,
3537
3540
  Bl as g,
3538
3541
  Se as h,
3539
- D as i,
3542
+ Q as i,
3540
3543
  Ol as j,
3541
3544
  Ve as k,
3542
3545
  ye as l,
3543
3546
  sn as m,
3544
- Ae as n,
3547
+ Ie as n,
3545
3548
  ja as o,
3546
3549
  Ko as p,
3547
- bn as q,
3548
- Al as r,
3550
+ hn as q,
3551
+ Il as r,
3549
3552
  qn as s,
3550
3553
  Sa as t,
3551
3554
  dl as u,