@aeria-ui/ui 0.0.152 → 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,8 +1,8 @@
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 J, toDisplayString as C, createCommentVNode as h, createTextVNode as Q, unref as e, renderSlot as A, withModifiers as Re, inject as fe, computed as K, 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 Ge, createVNode as L, onMounted as We, watch as ue, vModelDynamic as $t, onBeforeMount as ft, 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 Ye, useBreakpoints as Le, useMask as wt, PAGINATION_PER_PAGE_DEFAULTS as Tt, API_URL as vt, request as jt, useDebounce as yt, 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 bt, deepClone as Ie, getReferenceProperty as me, freshItem as Ft, isRequired as ct, evaluateCondition as Ee, deepMerge as qe } from "@aeriajs/common";
5
- import { useStore as re, getStoreId as Me, useParentStore as He, STORE_ID as ze, getGlobalStateManager as Ke } from "@aeria-ui/state-management";
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
+ 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";
8
8
  const Dt = ["onClick"], Qt = { key: 0 }, Gt = {
@@ -25,33 +25,33 @@ 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
  }, [
32
- J((t(), s("div", {
32
+ Z((t(), s("div", {
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({
@@ -104,7 +104,7 @@ const ye = /* @__PURE__ */ D(Kt, [["__scopeId", "data-v-1883f6a0"]]), Xt = ["hre
104
104
  active: { type: Boolean }
105
105
  },
106
106
  setup(p) {
107
- const r = p, o = fe(St, {}), n = typeof r.reactive == "boolean" ? r.reactive : fe("iconReactive", !1), a = K(() => {
107
+ const r = p, o = fe(St, {}), n = typeof r.reactive == "boolean" ? r.reactive : fe("iconReactive", !1), a = X(() => {
108
108
  var c;
109
109
  return (c = r.icon) != null && c.includes(":") ? r.icon : `regular:${r.icon}`;
110
110
  });
@@ -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 },
@@ -252,7 +252,7 @@ const sn = /* @__PURE__ */ D(ln, [["__scopeId", "data-v-e7d2c665"]]), rn = { cla
252
252
  },
253
253
  emits: ["update:modelValue", "update:collapsed", "update:closeHint", "overlayClick", "close"],
254
254
  setup(p, { emit: r }) {
255
- const o = p, n = r, a = ee(o.collapsed), c = ee(null), { reachedEnd: u } = Ye(c), m = () => {
255
+ const o = p, n = r, a = ee(o.collapsed), c = ee(null), { reachedEnd: u } = Ke(c), m = () => {
256
256
  n("update:modelValue", !1), n("close");
257
257
  }, d = () => {
258
258
  n("overlayClick");
@@ -260,15 +260,15 @@ 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");
264
- return l.modelValue ? J((t(), s("div", {
263
+ const $ = ne("clickable"), f = ne("loading"), A = ne("overlay");
264
+ return l.modelValue ? Z((t(), s("div", {
265
265
  key: 0,
266
266
  class: W([
267
267
  "panel",
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,35 +294,35 @@ 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
- l.collapsible && a.value ? J((t(), V(Y, {
302
+ l.collapsible && a.value ? Z((t(), V(Y, {
303
303
  key: 0,
304
304
  reactive: "",
305
305
  icon: "plus",
306
306
  onClick: y[0] || (y[0] = (i) => v(!a.value))
307
307
  }, null, 512)), [
308
- [g]
309
- ]) : l.collapsible && !a.value ? J((t(), V(Y, {
308
+ [$]
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]
316
- ]) : l.closeHint ? J((t(), V(Y, {
315
+ [$]
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) : J((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({
@@ -373,22 +373,22 @@ const Se = /* @__PURE__ */ D(dn, [["__scopeId", "data-v-84cde0d8"]]), pn = { cla
373
373
  emits: ["actionClick"],
374
374
  setup(p, { emit: r }) {
375
375
  gt((d) => ({
376
- "3c1ed04d": m.value.x,
377
- "3c1ed04e": m.value.y
376
+ "4078ef85": m.value.x,
377
+ "4078ef86": m.value.y
378
378
  }));
379
379
  const o = r, n = ee(null), a = ee(!1), c = (d) => d == null ? void 0 : d.filter((v) => {
380
380
  if (v.roles) {
381
- const l = re("user");
382
- return bt(v.roles, l.currentUser.roles);
381
+ const l = ie("user");
382
+ return Ge(v.roles, l.currentUser.roles);
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
390
390
  }), a.value = !1;
391
- }, m = K(() => {
391
+ }, m = X(() => {
392
392
  if (!n.value)
393
393
  return {
394
394
  x: 0,
@@ -414,16 +414,16 @@ 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),
422
- a.value ? (t(), V(Ge, {
421
+ ], 512)) : g("", !0),
422
+ a.value ? (t(), V(We, {
423
423
  key: 1,
424
424
  to: "main"
425
425
  }, [
426
- J((t(), V(Se, {
426
+ Z((t(), V(Se, {
427
427
  modelValue: a.value,
428
428
  "onUpdate:modelValue": v[4] || (v[4] = (y) => a.value = y),
429
429
  fill: "",
@@ -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-0f79405e"]]), 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-0f79405e"]]), 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 = {
@@ -558,8 +558,8 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
558
558
  },
559
559
  emits: ["update:modelValue", "input", "change", "clipboardCopy"],
560
560
  setup(p, { emit: r }) {
561
- var Z;
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), {
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 = (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: (() => {
@@ -582,79 +582,82 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
582
582
  })(),
583
583
  placeholder: m ? a.description || o.propertyName : a.placeholder
584
584
  });
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"), We(() => {
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 = ((Z = o.property) == null ? void 0 : Z.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([
@@ -663,10 +666,10 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
663
666
  `input__container--${e(l)}`
664
667
  ])
665
668
  }, [
666
- J(B("textarea", {
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)}`
@@ -682,7 +685,7 @@ const bn = /* @__PURE__ */ D(yn, [["__scopeId", "data-v-15a38847"]]), hn = { cla
682
685
  `input__container--${e(l)}`
683
686
  ])
684
687
  }, [
685
- J(B("input", z(e(y), {
688
+ Z(B("input", z(e(y), {
686
689
  value: f.value,
687
690
  "data-component": "input",
688
691
  class: [
@@ -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(() => [
713
- J(L(Y, {
715
+ default: h(() => [
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: {},
@@ -749,13 +752,13 @@ const Oe = /* @__PURE__ */ D(On, [["__scopeId", "data-v-b4ebd684"]]), In = {
749
752
  n("update:modelValue", l), n("change", l);
750
753
  }, m = (l) => {
751
754
  l === "" || l === null ? u(null) : o.booleanRef ? u(l === "true") : u(l);
752
- }, d = (l) => Array.isArray(o.modelValue) ? o.modelValue.includes(l) : o.modelValue === l, v = K(() => o.multiple ? typeof o.multiple == "number" ? o.multiple : 5 : 1);
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 Xe = /* @__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({
@@ -801,17 +804,17 @@ const Xe = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-50bbcc3b"]]), Sn = { cla
801
804
  },
802
805
  emits: ["paginate"],
803
806
  setup(p, { emit: r }) {
804
- const o = p, n = r, a = K({
807
+ const o = p, n = r, a = X({
805
808
  get: () => Math.floor(o.pagination.offset / o.pagination.limit),
806
809
  set: (v) => {
807
810
  o.pagination.offset = v * o.pagination.limit;
808
811
  }
809
- }), c = K({
812
+ }), c = X({
810
813
  get: () => o.pagination.limit,
811
814
  set: (v) => {
812
815
  o.pagination.limit = Number(v);
813
816
  }
814
- }), u = ee(a.value ? a.value + 1 : 1), m = K(() => Math.ceil(o.pagination.recordsTotal / o.pagination.limit)), d = (v) => {
817
+ }), u = ee(a.value ? a.value + 1 : 1), m = X(() => Math.ceil(o.pagination.recordsTotal / o.pagination.limit)), d = (v) => {
815
818
  a.value = v === "previous" ? a.value - 1 : a.value + 1;
816
819
  };
817
820
  return ue([
@@ -828,7 +831,7 @@ const Xe = /* @__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 Xe = /* @__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 Xe = /* @__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,12 +858,12 @@ const Xe = /* @__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
862
865
  }, 8, ["disabled"]),
863
- L(Xe, {
866
+ L(Je, {
864
867
  modelValue: c.value,
865
868
  "onUpdate:modelValue": l[4] || (l[4] = (y) => c.value = y),
866
869
  property: {
@@ -869,8 +872,8 @@ const Xe = /* @__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 Xe = /* @__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 Xe = /* @__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,
@@ -924,7 +927,7 @@ const qn = /* @__PURE__ */ D(Rn, [["__scopeId", "data-v-ae7235de"]]), Ln = { cla
924
927
  return "checkbox";
925
928
  }
926
929
  return "radio";
927
- })(), u = r, m = o.value || !1, d = K({
930
+ })(), u = r, m = o.value || !1, d = X({
928
931
  get: () => {
929
932
  var l;
930
933
  if (n) {
@@ -959,15 +962,15 @@ 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");
964
- return J((t(), s("label", {
965
+ var f, A;
966
+ const $ = ne("clickable");
967
+ return Z((t(), s("label", {
965
968
  class: W([
966
969
  "checkbox",
967
970
  { "checkbox--readOnly": e(a) }
968
971
  ])
969
972
  }, [
970
- J(B("input", z({
973
+ Z(B("input", z({
971
974
  "onUpdate:modelValue": y[0] || (y[0] = (i) => d.value = i)
972
975
  }, {
973
976
  type: e(c),
@@ -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,
@@ -1019,7 +1022,7 @@ const Hn = /* @__PURE__ */ D(Un, [["__scopeId", "data-v-7e6efc77"]]), Dn = {
1019
1022
  const o = p, n = r, a = o.readOnly || o.property.readOnly, c = "items" in o.property ? o.property.items.enum : o.property.enum, u = (m) => {
1020
1023
  n("update:modelValue", m);
1021
1024
  };
1022
- return ft(() => {
1025
+ return vt(() => {
1023
1026
  o.modelValue || n(
1024
1027
  "update:modelValue",
1025
1028
  "items" in o.property ? [] : ""
@@ -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,
@@ -1070,7 +1073,7 @@ const Gn = /* @__PURE__ */ D(Qn, [["__scopeId", "data-v-bcfc697e"]]), Wn = { cla
1070
1073
  var l;
1071
1074
  const v = ne("clickable");
1072
1075
  return t(), s("div", Wn, [
1073
- J((t(), s("a", {
1076
+ Z((t(), s("a", {
1074
1077
  class: W([
1075
1078
  "switch",
1076
1079
  { "switch--active": m.modelValue },
@@ -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({
@@ -1113,16 +1116,16 @@ const Jn = /* @__PURE__ */ D(Xn, [["__scopeId", "data-v-ae45597d"]]), Zn = { cla
1113
1116
  meta: {}
1114
1117
  },
1115
1118
  setup(p) {
1116
- const r = p, o = K(() => r.fileId ? `${vt}/file/${r.fileId}/picture` : r.url || r.modelValue), n = ee(!1);
1119
+ const r = p, o = X(() => r.fileId ? `${yt}/file/${r.fileId}/picture` : r.url || r.modelValue), n = ee(!1);
1117
1120
  return (a, c) => {
1118
1121
  var m;
1119
1122
  const u = ne("overlay");
1120
1123
  return t(), s("figure", Zn, [
1121
- o.value && n.value ? (t(), V(Ge, {
1124
+ o.value && n.value ? (t(), V(We, {
1122
1125
  key: 0,
1123
1126
  to: "main"
1124
1127
  }, [
1125
- J((t(), s("div", Pn, [
1128
+ Z((t(), s("div", Pn, [
1126
1129
  B("img", {
1127
1130
  src: o.value,
1128
1131
  alt: a.alt,
@@ -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({
@@ -1264,21 +1267,21 @@ const ro = /* @__PURE__ */ D(io, [["__scopeId", "data-v-85a82246"]]), uo = { cla
1264
1267
  },
1265
1268
  emits: ["update:content", "change", "update:modelValue"],
1266
1269
  setup(p, { emit: r }) {
1267
- 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 = K(() => {
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) {
1281
- const { data: { error: E, result: Z } } = await jt(`${vt}/${u.$id}/upload?name=${i.name}`, M, {
1284
+ const { data: { error: E, result: K } } = await jt(`${yt}/${u.$id}/upload?name=${i.name}`, M, {
1282
1285
  params: {
1283
1286
  method: "POST",
1284
1287
  headers: {
@@ -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({
1293
- tempId: Z.tempId,
1295
+ A.unshift({
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, Z) => (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) : J((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(Z)
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({
@@ -1349,7 +1352,7 @@ const mo = /* @__PURE__ */ D(_o, [["__scopeId", "data-v-9950a715"]]), fo = { cla
1349
1352
  },
1350
1353
  emits: ["endReached"],
1351
1354
  setup(p, { emit: r }) {
1352
- const o = p, n = r, a = ee(null), c = o.observeScroll ? Ye(a, {
1355
+ const o = p, n = r, a = ee(null), c = o.observeScroll ? Ke(a, {
1353
1356
  antecipate: 100
1354
1357
  }).reachedEnd : null;
1355
1358
  return c !== null && ue(c, (u) => {
@@ -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 dt = /* @__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 dt = /* @__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 = K(() => 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,37 +1412,37 @@ const dt = /* @__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");
1414
- return J((t(), s("div", {
1415
+ return ($, f) => {
1416
+ const A = ne("clickable");
1417
+ return Z((t(), s("div", {
1415
1418
  class: W({
1416
1419
  item: !0,
1417
1420
  "item--selected": d.value
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: {},
@@ -1454,24 +1457,24 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1454
1457
  },
1455
1458
  emits: ["update:modelValue", "change", "update:panel"],
1456
1459
  setup(p, { emit: r }) {
1457
- const o = p, n = re("meta"), a = me(o.property), c = o.panel !== void 0 ? K(() => o.panel) : ee(!1), u = r, m = re(me(o.property).$ref), d = Me(), v = d ? He() : null, l = a.indexes;
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 = K(() => g.value.data), I = K(() => g.value.pagination), i = ee(0), M = ee(!1), E = ee(""), Z = () => {
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
- filters: Z()
1477
+ filters: K()
1475
1478
  }) : m.$actions.custom("getAll", {
1476
1479
  limit: Fe,
1477
1480
  offset: i.value * Fe,
@@ -1480,12 +1483,12 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1480
1483
  $search: `"${E.value}"`,
1481
1484
  $caseSensitive: !1
1482
1485
  },
1483
- ...Z()
1486
+ ...K()
1484
1487
  }
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] = yt({
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,11 +1506,11 @@ 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();
1510
- }), We(() => {
1513
+ }), Ye(() => {
1511
1514
  o.selectOnly && oe();
1512
1515
  });
1513
1516
  const ae = (k) => {
@@ -1518,7 +1521,7 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1518
1521
  return (k, N) => {
1519
1522
  const le = ne("clickable");
1520
1523
  return t(), s("div", null, [
1521
- e(c) ? (t(), V(Ge, {
1524
+ e(c) ? (t(), V(We, {
1522
1525
  key: 0,
1523
1526
  to: "main"
1524
1527
  }, [
@@ -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",
@@ -1557,40 +1560,40 @@ const Qe = /* @__PURE__ */ D(ho, [["__scopeId", "data-v-10ee6b3b"]]), go = { cla
1557
1560
  inputType: "search"
1558
1561
  }
1559
1562
  }, { onInput: te }), null, 16, ["modelValue"]),
1560
- f.value.length ? (t(), V(dt, {
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
- "onUpdate:modelValue": N[1] || (N[1] = (X) => y.value = X)
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, [
1588
- L(dt, null, _e({
1589
- default: b(() => {
1589
+ ])) : g("", !0),
1590
+ k.selectOnly ? g("", !0) : (t(), s("div", Oo, [
1591
+ L(pt, null, _e({
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(() => [
1617
- J((t(), V(Y, {
1619
+ fn: h(() => [
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,10 +1637,10 @@ 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"]]), pt = (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
- select: Xe,
1643
+ select: Je,
1641
1644
  switch: Jn,
1642
1645
  file: mo,
1643
1646
  search: Bo,
@@ -1664,7 +1667,7 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (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 = re(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);
@@ -1714,13 +1717,13 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1714
1717
  emits: ["update:modelValue", "input", "change", "clipboardCopy"],
1715
1718
  setup(p, { emit: r }) {
1716
1719
  var le;
1717
- const o = Ke(), n = p, a = r;
1718
- ft(() => {
1720
+ const o = Xe(), n = p, a = r;
1721
+ vt(() => {
1719
1722
  n.modelValue || a("update:modelValue", n.property && "items" in n.property ? [] : {});
1720
1723
  });
1721
- const c = n.property && me(n.property), u = c ? c.$ref : n.collection || Me(), m = n.readOnly || ((le = n.property) == null ? void 0 : le.readOnly), d = u ? re(e(u)) : null;
1724
+ const c = n.property && me(n.property), u = c ? c.$ref : n.collection || Me(), m = n.readOnly || ((le = n.property) == null ? void 0 : le.readOnly), d = u ? ie(e(u)) : null;
1722
1725
  !u && process.env.NODE_ENV !== "production" && console.warn("aeria-form was used without providing storeId or specifying collection prop, some features may not work as intended");
1723
- const v = ee(!1), l = K(() => {
1726
+ const v = ee(!1), l = X(() => {
1724
1727
  const _ = (() => !n.form && n.property ? "type" in n.property && n.property.type === "object" ? "properties" in n.property ? n.property.properties : void 0 : d == null ? void 0 : d.properties : n.form)();
1725
1728
  if (!_)
1726
1729
  return;
@@ -1729,82 +1732,82 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (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 = K(() => 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 = K(() => n.validationErrors !== null ? n.validationErrors : d == null ? void 0 : d.validationErrors), I = g("formComponents") || {}, i = g("propertyComponents") || {}, M = g("omitFormHeader"), E = g("omitInputLabels"), Z = 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) => {
1750
- var X;
1751
+ H
1752
+ ])) : null, U = (_, T) => {
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 : (X = d == null ? void 0 : d.description) == null ? void 0 : X.form;
1754
- return !U || U.includes(_);
1755
- }, oe = $(([_, T]) => G(_, T)), w = Le(), te = {}, ke = (_, T) => {
1756
- var R, ie, j, se;
1757
- const U = [], X = ((ie = (R = y.value) == null ? void 0 : R.fields) == null ? void 0 : ie[_]) || ((se = (j = y.value) == null ? void 0 : j.fields) == null ? void 0 : se.$default);
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) => {
1759
+ var R, re, j, se;
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
- if (X != null && X.if && !n.searchOnly) {
1763
+ if (J != null && J.if && !n.searchOnly) {
1761
1764
  const ve = Ee(
1762
1765
  n.modelValue,
1763
- X.if
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
- const S = w.value.md && (X == null ? void 0 : X.span) || 6;
1771
- return U.push(`
1773
+ const S = w.value.md && (J == null ? void 0 : J.span) || 6;
1774
+ return H.push(`
1772
1775
  --field-span: ${S};
1773
1776
  grid-column: span var(--field-span) / span var(--field-span);
1774
- `), X && (X.verticalSpacing && U.push(`
1775
- --vertical-spacing: ${X.verticalSpacing};
1777
+ `), J && (J.verticalSpacing && H.push(`
1778
+ --vertical-spacing: ${J.verticalSpacing};
1776
1779
  padding: var(--vertical-spacing) 0;
1777
- `), X.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("");
1783
- }, ce = (_) => _ === null || _ instanceof Object && !Object.keys(_).length, ae = K(() => n.required ? n.required : n.property && "required" in n.property ? n.property.required : d == null ? void 0 : d.description.required), O = K(() => n.form ? Ut(
1785
+ `)), H.join("");
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"), X = 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 ie, j, se, ve, be, Je, Ze, Pe, Ne, xe, et, tt, nt, ot;
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)),
@@ -1813,20 +1816,20 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1813
1816
  "form__field--form": "properties" in R
1814
1817
  })
1815
1818
  }, [
1816
- (!("type" in R) || R.type !== "boolean" || _.searchOnly) && !R.noLabel && !e(E) && !e(Z) ? (t(), s("label", Ro, [
1819
+ (!("type" in R) || R.type !== "boolean" || _.searchOnly) && !R.noLabel && !e(E) && !e(K) ? (t(), s("label", Ro, [
1817
1820
  B("div", {
1818
1821
  class: W({
1819
1822
  "form__field-label": !0,
1820
1823
  "form__field-label--section": "items" in R ? "properties" in R.items : "properties" in R,
1821
- "form__field-required-hint": _.highlightRequired && !e(m) && !_.searchOnly && (!ae.value || e(ct)(S, ae.value, _.modelValue))
1824
+ "form__field-required-hint": _.highlightRequired && !e(m) && !_.searchOnly && (!ae.value || e(dt)(S, ae.value, _.modelValue))
1822
1825
  })
1823
1826
  }, C(R.description || e(q)(S)), 3),
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"]]), pt = (p, r
1834
1837
  property: R,
1835
1838
  propertyName: S,
1836
1839
  modelValue: _.modelValue
1837
- }), void 0, !0) : (se = (j = (ie = _.layout) == null ? void 0 : ie.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,
@@ -1843,7 +1846,7 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1843
1846
  readOnly: e(m),
1844
1847
  property: R,
1845
1848
  propertyName: S,
1846
- required: !_.searchOnly && (!ae.value || e(ct)(S, ae.value, _.modelValue)),
1849
+ required: !_.searchOnly && (!ae.value || e(dt)(S, ae.value, _.modelValue)),
1847
1850
  ..._.layout.fields[S].component.props || {}
1848
1851
  }, {
1849
1852
  onInput: (x) => a("input", S),
@@ -1871,7 +1874,7 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1871
1874
  propertyName: S
1872
1875
  }), null, 16, ["modelValue", "onUpdate:modelValue"])
1873
1876
  ], 40, Lo)) : "type" in R && R.type === "boolean" && _.searchOnly ? (t(), s("div", Mo, [
1874
- L(Xe, z({ ref_for: !0 }, {
1877
+ L(Je, z({ ref_for: !0 }, {
1875
1878
  property: R,
1876
1879
  propertyName: S
1877
1880
  }, {
@@ -1882,50 +1885,50 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (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((Je = _.modelValue[S]) == null ? void 0 : Je[((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
- ((Ze = _.modelValue[S]) == null ? void 0 : Ze.length) > 0 ? (t(), s("div", Ho, [
1909
- (t(!0), s(P, null, H(_.modelValue[S], (x, we) => {
1910
- var at, lt, st, it, rt, ut;
1911
+ ((Pe = _.modelValue[S]) == null ? void 0 : Pe.length) > 0 ? (t(), s("div", Ho, [
1912
+ (t(!0), s(P, null, D(_.modelValue[S], (x, we) => {
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) : J((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(pt)(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
@@ -1935,7 +1938,7 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1935
1938
  propertyName: S,
1936
1939
  parentCollection: e(u),
1937
1940
  parentPropertyName: _.parentPropertyName,
1938
- columns: ((st = (lt = (at = _.layout) == null ? void 0 : at.fields) == null ? void 0 : lt[S]) == null ? void 0 : st.optionsColumns) || ((ut = (rt = (it = _.layout) == null ? void 0 : it.fields) == null ? void 0 : rt.$default) == null ? void 0 : ut.optionsColumns),
1941
+ columns: ((it = (st = (lt = _.layout) == null ? void 0 : lt.fields) == null ? void 0 : st[S]) == null ? void 0 : it.optionsColumns) || ((ct = (ut = (rt = _.layout) == null ? void 0 : rt.fields) == null ? void 0 : ut.$default) == null ? void 0 : ct.optionsColumns),
1939
1942
  validationErrors: k(S, we),
1940
1943
  ...R.componentProps || {}
1941
1944
  }, {
@@ -1944,8 +1947,8 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1944
1947
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"]))
1945
1948
  ]);
1946
1949
  }), 128))
1947
- ])) : h("", !0)
1948
- ])) : _.modelValue ? J((t(), V(he(e(pt)(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,
@@ -1956,7 +1959,7 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1956
1959
  propertyName: S,
1957
1960
  parentPropertyName: _.parentPropertyName,
1958
1961
  parentCollection: e(u),
1959
- columns: ((xe = (Ne = (Pe = _.layout) == null ? void 0 : Pe.fields) == null ? void 0 : Ne[S]) == null ? void 0 : xe.optionsColumns) || ((nt = (tt = (et = _.layout) == null ? void 0 : et.fields) == null ? void 0 : tt.$default) == null ? void 0 : nt.optionsColumns),
1962
+ columns: ((et = (xe = (Ne = _.layout) == null ? void 0 : Ne.fields) == null ? void 0 : xe[S]) == null ? void 0 : et.optionsColumns) || ((ot = (nt = (tt = _.layout) == null ? void 0 : tt.fields) == null ? void 0 : nt.$default) == null ? void 0 : ot.optionsColumns),
1960
1963
  ...R.componentProps || {},
1961
1964
  validationErrors: k(S)
1962
1965
  }, {
@@ -1964,26 +1967,26 @@ const Bo = /* @__PURE__ */ D(Ao, [["__scopeId", "data-v-b5466d6b"]]), pt = (p, r
1964
1967
  onChange: T[4] || (T[4] = (x) => a("change", x)),
1965
1968
  onClipboardCopy: T[5] || (T[5] = (x) => a("clipboardCopy", x))
1966
1969
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])), [
1967
- [X, N(R)]
1968
- ]) : h("", !0),
1969
- (ot = f.value) != null && ot[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)
1970
+ [J, N(R)]
1971
+ ]) : g("", !0),
1972
+ (at = f.value) != null && at[S] ? (t(), s("div", Do, [
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)
@@ -2065,24 +2068,24 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2065
2068
  },
2066
2069
  emits: ["update:visible", "update:modelValue", "insert", "cancel"],
2067
2070
  setup(p, { emit: r }) {
2068
- const o = p, n = r, a = re("meta"), c = o.collection, u = re(c);
2069
- We(() => {
2071
+ const o = p, n = r, a = ie("meta"), c = o.collection, u = ie(c);
2072
+ Ye(() => {
2070
2073
  o.modelValue && u.$actions.setItem(o.modelValue);
2071
2074
  });
2072
- const m = K(() => 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) {
2075
+ const m = X(() => o.form ? u.$actions.useProperties(o.form) : u.description.form ? u.$actions.useProperties(u.description.form) : u.properties), d = async () => {
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,48 +2104,48 @@ 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
- e(u).item._id ? J((t(), V(Y, {
2128
+ e(u).item._id ? Z((t(), V(Y, {
2126
2129
  key: 0,
2127
2130
  reactive: "",
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: {},
@@ -2256,26 +2259,31 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2256
2259
  },
2257
2260
  emits: ["itemClick"],
2258
2261
  setup(p, { emit: r }) {
2259
- const o = p, n = r, a = Le(), c = o.collection || Me(), u = c ? re(typeof c == "string" ? c : c.value) : null, m = K({
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 = K(() => 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) => {
2266
- const E = I[M.action];
2267
+ const A = (i = o.layout) == null ? void 0 : i.actions;
2268
+ return !a.value.xl || !A || !o.actions ? [] : o.actions.filter((M) => {
2269
+ if (M.roles) {
2270
+ const K = ie("user");
2271
+ if (!Ge(M.roles, K.currentUser.roles))
2272
+ return !1;
2273
+ }
2274
+ const E = A[M.action];
2267
2275
  return E && v(E, f);
2268
2276
  });
2269
2277
  }, y = (f) => {
2270
2278
  var i;
2271
2279
  if (!o.actions)
2272
2280
  return [];
2273
- const I = (i = o.layout) == null ? void 0 : i.actions;
2274
- return !a.value.xl || !I ? o.actions : o.actions.filter((M) => {
2275
- 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];
2276
2284
  if (M.roles) {
2277
- const Z = re("user");
2278
- if (!bt(M.roles, Z.currentUser.roles))
2285
+ const K = ie("user");
2286
+ if (!Ge(M.roles, K.currentUser.roles))
2279
2287
  return !1;
2280
2288
  }
2281
2289
  return E ? E.if ? Ee(
@@ -2283,77 +2291,77 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2283
2291
  E.if
2284
2292
  ).satisfied : !v(E, f) : !0;
2285
2293
  });
2286
- }, g = (f, I) => {
2287
- var E, Z;
2288
- const i = [], M = (Z = (E = o.layout) == null ? void 0 : E.actions) == null ? void 0 : Z[I.action];
2294
+ }, $ = (f, A) => {
2295
+ var E, K;
2296
+ const i = [], M = (K = (E = o.layout) == null ? void 0 : E.actions) == null ? void 0 : K[A.action];
2289
2297
  return M != null && M.if && (Ee(
2290
2298
  f,
2291
2299
  M.if
2292
2300
  ).satisfied || i.push("display: none;")), i.join("");
2293
2301
  };
2294
- return (f, I) => {
2295
- var M, E, Z;
2302
+ return (f, A) => {
2303
+ var M, E, K;
2296
2304
  const i = ne("clickable");
2297
2305
  return d.value > 0 || f.$slots.thead ? (t(), s("table", Zo, [
2298
2306
  f.$slots.thead ? (t(), s("thead", Po, [
2299
- A(f.$slots, "thead", {}, void 0, !0)
2307
+ I(f.$slots, "thead", {}, void 0, !0)
2300
2308
  ])) : (t(), s("thead", No, [
2301
2309
  B("tr", null, [
2302
2310
  f.checkbox && e(u) && e(a).md ? (t(), s("th", xo, [
2303
2311
  B("input", {
2304
2312
  type: "checkbox",
2305
2313
  checked: e(u).selected.length > 0 && e(u).selected.length === e(u).itemsCount,
2306
- 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))
2307
2315
  }, null, 40, ea)
2308
- ])) : h("", !0),
2309
- (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", {
2310
2318
  key: `header-${oe}`,
2311
2319
  class: "table__header"
2312
- }, C(G.description || e(q)($)), 1))), 128)),
2313
- (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)
2314
2322
  ])
2315
2323
  ])),
2316
2324
  f.$slots.tbody ? (t(), s("tbody", na, [
2317
- A(f.$slots, "tbody", {}, void 0, !0)
2325
+ I(f.$slots, "tbody", {}, void 0, !0)
2318
2326
  ])) : (t(), s("tbody", oa, [
2319
- (t(!0), s(P, null, H(f.rows, ($) => {
2320
- var G, oe;
2327
+ (t(!0), s(P, null, D(f.rows, (b) => {
2328
+ var U, oe;
2321
2329
  return t(), s("tr", {
2322
- key: $._id,
2323
- onClick: (w) => n("itemClick", $)
2330
+ key: b._id,
2331
+ onClick: (w) => n("itemClick", b)
2324
2332
  }, [
2325
2333
  e(u) && f.checkbox && e(a).md ? (t(), s("td", la, [
2326
- J(B("input", {
2327
- "onUpdate:modelValue": I[1] || (I[1] = (w) => m.value = w),
2334
+ Z(B("input", {
2335
+ "onUpdate:modelValue": A[1] || (A[1] = (w) => m.value = w),
2328
2336
  type: "checkbox",
2329
- value: $._id
2337
+ value: b._id
2330
2338
  }, null, 8, sa), [
2331
2339
  [kt, m.value]
2332
2340
  ])
2333
- ])) : h("", !0),
2334
- (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) => {
2335
2343
  var ce, ae, O;
2336
2344
  return t(), s("td", {
2337
- key: `column-${$._id}-${ke}`
2345
+ key: `column-${b._id}-${ke}`
2338
2346
  }, [
2339
2347
  B("div", ia, C(te.description || e(q)(w)), 1),
2340
2348
  `row-${w}` in f.$slots ? (t(), s("div", ra, [
2341
- A(f.$slots, `row-${w}`, z({ ref_for: !0 }, {
2349
+ I(f.$slots, `row-${w}`, z({ ref_for: !0 }, {
2342
2350
  store: e(u),
2343
2351
  column: w,
2344
2352
  property: te,
2345
- row: $
2353
+ row: b
2346
2354
  }), void 0, !0)
2347
2355
  ])) : (t(), s("div", ua, [
2348
2356
  B("div", ca, [
2349
2357
  "type" in te && te.type === "boolean" ? (t(), s("div", da, [
2350
- $[w] ? (t(), V(Y, {
2358
+ b[w] ? (t(), V(Y, {
2351
2359
  key: 0,
2352
2360
  icon: "check",
2353
2361
  "icon-classes": "aeria-blueish"
2354
2362
  }, {
2355
- default: b(() => [
2356
- Q(C(e(q)("yes")), 1)
2363
+ default: h(() => [
2364
+ G(C(e(q)("yes")), 1)
2357
2365
  ]),
2358
2366
  _: 1
2359
2367
  })) : (t(), V(Y, {
@@ -2361,83 +2369,83 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2361
2369
  icon: "x",
2362
2370
  "icon-classes": "aeria-redish"
2363
2371
  }, {
2364
- default: b(() => [
2365
- Q(C(e(q)("no")), 1)
2372
+ default: h(() => [
2373
+ G(C(e(q)("no")), 1)
2366
2374
  ]),
2367
2375
  _: 1
2368
2376
  }))
2369
2377
  ])) : ((ce = e(me)(te)) == null ? void 0 : ce.$ref) === "file" ? (t(), s("div", pa, [
2370
- $[w] ? (t(), s("div", _a, [
2371
- "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, {
2372
2380
  key: 0,
2373
- modelValue: $[w][0].link,
2374
- "onUpdate:modelValue": (k) => $[w][0].link = k,
2381
+ modelValue: b[w][0].link,
2382
+ "onUpdate:modelValue": (k) => b[w][0].link = k,
2375
2383
  expandable: "",
2376
- meta: $[w][0],
2384
+ meta: b[w][0],
2377
2385
  alt: "Row image",
2378
2386
  class: "table__picture"
2379
- }, 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, {
2380
2388
  key: 1,
2381
- modelValue: $[w].link,
2382
- "onUpdate:modelValue": (k) => $[w].link = k,
2389
+ modelValue: b[w].link,
2390
+ "onUpdate:modelValue": (k) => b[w].link = k,
2383
2391
  expandable: "",
2384
- meta: $[w],
2392
+ meta: b[w],
2385
2393
  alt: "Row image",
2386
2394
  class: "table__picture"
2387
- }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : $[w].link ? (t(), s("a", {
2395
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : b[w].link ? (t(), s("a", {
2388
2396
  key: 2,
2389
- href: $[w].link,
2397
+ href: b[w].link,
2390
2398
  style: { "font-size": "10pt" }
2391
- }, C($[w].filename), 9, ma)) : (t(), s("div", fa, " - "))
2399
+ }, C(b[w].filename), 9, ma)) : (t(), s("div", fa, " - "))
2392
2400
  ])) : (t(), s("div", va, " - "))
2393
2401
  ])) : (t(), s("div", ya, [
2394
- e(u) ? (t(), s("span", ba, C(e(u).$actions.formatValue({
2395
- value: $[w],
2402
+ e(u) ? (t(), s("span", ha, C(e(u).$actions.formatValue({
2403
+ value: b[w],
2396
2404
  key: w,
2397
2405
  property: te
2398
- })), 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)),
2399
2407
  ((O = (ae = e(me)(te)) == null ? void 0 : ae.indexes) == null ? void 0 : O.length) > 1 ? (t(), s("div", ga, [
2400
- (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", {
2401
2409
  key: `subvalue-${N}`,
2402
2410
  class: "table__cell-subvalue"
2403
2411
  }, C(e(u).$actions.formatValue({
2404
- value: $[w],
2412
+ value: b[w],
2405
2413
  key: w,
2406
2414
  property: te,
2407
2415
  index: k
2408
2416
  })), 1))), 128))
2409
- ])) : h("", !0)
2417
+ ])) : g("", !0)
2410
2418
  ]))
2411
2419
  ])
2412
2420
  ]))
2413
2421
  ]);
2414
2422
  }), 128)),
2415
- (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, [
2416
2424
  B("div", ka, [
2417
- (t(!0), s(P, null, H(l($), (w) => (t(), V(pe, {
2425
+ (t(!0), s(P, null, D(l(b), (w) => (t(), V(pe, {
2418
2426
  key: `action-${w.action}`,
2419
2427
  small: "",
2420
2428
  variant: "alt",
2421
2429
  icon: w.icon,
2422
- style: $e(g($, w)),
2423
- onClick: (te) => w.click($)
2430
+ style: $e($(b, w)),
2431
+ onClick: (te) => w.click(b)
2424
2432
  }, {
2425
- default: b(() => [
2426
- Q(C(e(q)(w.label)), 1)
2433
+ default: h(() => [
2434
+ G(C(e(q)(w.label)), 1)
2427
2435
  ]),
2428
2436
  _: 2
2429
2437
  }, 1032, ["icon", "style", "onClick"]))), 128)),
2430
- y($).length > 0 ? (t(), V(Ae, z({
2438
+ y(b).length > 0 ? (t(), V(Ie, z({
2431
2439
  key: 0,
2432
2440
  ref_for: !0
2433
2441
  }, {
2434
- subject: $,
2435
- actions: y($)
2442
+ subject: b,
2443
+ actions: y(b)
2436
2444
  }), {
2437
- default: b(({
2445
+ default: h(({
2438
2446
  visible: w
2439
2447
  }) => [
2440
- J(L(Y, {
2448
+ Z(L(Y, {
2441
2449
  reactive: "",
2442
2450
  active: w,
2443
2451
  icon: "dots-three"
@@ -2446,67 +2454,67 @@ const De = /* @__PURE__ */ D(Yo, [["__scopeId", "data-v-e9376cc1"]]), Ko = /* @_
2446
2454
  ])
2447
2455
  ]),
2448
2456
  _: 2
2449
- }, 1040)) : h("", !0)
2457
+ }, 1040)) : g("", !0)
2450
2458
  ])
2451
2459
  ])) : (oe = f.actions) != null && oe.length ? (t(), s("td", Va, [
2452
2460
  B("div", {
2453
2461
  class: "table__mobile-actions-grid",
2454
- 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);`)
2455
2463
  }, [
2456
- (t(!0), s(P, null, H(l($), (w) => (t(), V(ye, {
2464
+ (t(!0), s(P, null, D(l(b), (w) => (t(), V(ye, {
2457
2465
  key: `action-${w.action}`,
2458
2466
  class: "table__mobile-actions-button",
2459
- onClick: (te) => w.click($)
2467
+ onClick: (te) => w.click(b)
2460
2468
  }, {
2461
- default: b(() => [
2469
+ default: h(() => [
2462
2470
  L(Y, {
2463
2471
  icon: w.icon || "gear"
2464
2472
  }, {
2465
- default: b(() => [
2466
- Q(C(e(q)(w.label)), 1)
2473
+ default: h(() => [
2474
+ G(C(e(q)(w.label)), 1)
2467
2475
  ]),
2468
2476
  _: 2
2469
2477
  }, 1032, ["icon"])
2470
2478
  ]),
2471
2479
  _: 2
2472
2480
  }, 1032, ["onClick"]))), 128)),
2473
- y($).length > 0 ? (t(), V(Ae, z({
2481
+ y(b).length > 0 ? (t(), V(Ie, z({
2474
2482
  key: 0,
2475
2483
  ref_for: !0
2476
2484
  }, {
2477
- subject: $,
2478
- actions: y($)
2485
+ subject: b,
2486
+ actions: y(b)
2479
2487
  }), {
2480
- default: b(() => [
2488
+ default: h(() => [
2481
2489
  L(Y, {
2482
2490
  icon: "dots-three",
2483
2491
  class: "table__mobile-actions-button"
2484
2492
  })
2485
2493
  ]),
2486
2494
  _: 2
2487
- }, 1040)) : h("", !0)
2495
+ }, 1040)) : g("", !0)
2488
2496
  ], 4),
2489
2497
  B("div", {
2490
- id: `dropdown-${$._id}`
2498
+ id: `dropdown-${b._id}`
2491
2499
  }, null, 8, Ca)
2492
- ])) : h("", !0)
2500
+ ])) : g("", !0)
2493
2501
  ], 8, aa);
2494
2502
  }), 128))
2495
2503
  ])),
2496
2504
  B("tfoot", null, [
2497
- f.$slots.tfoot ? A(f.$slots, "tfoot", { key: 0 }, void 0, !0) : f.columns && !((E = f.rows) != null && E.length) && !((Z = e(u)) != null && Z.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, [
2498
2506
  B("td", {
2499
2507
  colspan: d.value + 1
2500
2508
  }, [
2501
- B("div", Aa, C(e(q)("no_results", { capitalize: !0 })) + ". ", 1)
2502
- ], 8, Ia)
2503
- ])) : h("", !0)
2509
+ B("div", Ia, C(e(q)("no_results", { capitalize: !0 })) + ". ", 1)
2510
+ ], 8, Aa)
2511
+ ])) : g("", !0)
2504
2512
  ])
2505
- ])) : h("", !0);
2513
+ ])) : g("", !0);
2506
2514
  };
2507
2515
  }
2508
2516
  });
2509
- const Sa = /* @__PURE__ */ D(Ba, [["__scopeId", "data-v-2a6e702d"]]), wa = /* @__PURE__ */ F({
2517
+ const Sa = /* @__PURE__ */ Q(Ba, [["__scopeId", "data-v-660daba6"]]), wa = /* @__PURE__ */ F({
2510
2518
  __name: "aeria-tabular",
2511
2519
  props: {
2512
2520
  individualActions: {},
@@ -2514,7 +2522,7 @@ const Sa = /* @__PURE__ */ D(Ba, [["__scopeId", "data-v-2a6e702d"]]), wa = /* @_
2514
2522
  componentProps: {}
2515
2523
  },
2516
2524
  setup(p) {
2517
- const r = p, o = je(), n = Me(), a = K(() => {
2525
+ const r = p, o = je(), n = Me(), a = X(() => {
2518
2526
  const c = {
2519
2527
  collection: n,
2520
2528
  checkbox: o.hasSelectionActions,
@@ -2526,17 +2534,17 @@ const Sa = /* @__PURE__ */ D(Ba, [["__scopeId", "data-v-2a6e702d"]]), wa = /* @_
2526
2534
  return Object.assign(c, r.componentProps);
2527
2535
  });
2528
2536
  return (c, u) => (t(), s("div", null, [
2529
- c.$slots.inner ? A(c.$slots, "inner", { key: 0 }) : h("", !0),
2537
+ c.$slots.inner ? I(c.$slots, "inner", { key: 0 }) : g("", !0),
2530
2538
  e(o).properties ? (t(), V(Sa, z({ key: 1 }, a.value, {
2531
2539
  key: e(o).$id
2532
2540
  }), _e({ _: 2 }, [
2533
- H(Object.keys(c.$slots).filter((m) => !["inner"].includes(m)), (m) => ({
2541
+ D(Object.keys(c.$slots).filter((m) => !["inner"].includes(m)), (m) => ({
2534
2542
  name: m,
2535
- fn: b((d) => [
2536
- A(c.$slots, m, de(Ce(d)))
2543
+ fn: h((d) => [
2544
+ I(c.$slots, m, de(Ce(d)))
2537
2545
  ])
2538
2546
  }))
2539
- ]), 1040)) : h("", !0)
2547
+ ]), 1040)) : g("", !0)
2540
2548
  ]));
2541
2549
  }
2542
2550
  }), Ta = /* @__PURE__ */ F({
@@ -2551,11 +2559,11 @@ const Sa = /* @__PURE__ */ D(Ba, [["__scopeId", "data-v-2a6e702d"]]), wa = /* @_
2551
2559
  { "grid--list": r.list }
2552
2560
  ])
2553
2561
  }, [
2554
- A(r.$slots, "default", {}, void 0, !0)
2562
+ I(r.$slots, "default", {}, void 0, !0)
2555
2563
  ], 2));
2556
2564
  }
2557
2565
  });
2558
- 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 = {
2559
2567
  key: 1,
2560
2568
  class: "card__information"
2561
2569
  }, La = /* @__PURE__ */ F({
@@ -2573,30 +2581,30 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2573
2581
  return t(), V(ja, {
2574
2582
  list: c.componentName === "list"
2575
2583
  }, {
2576
- default: b(() => [
2577
- (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, {
2578
2586
  key: d._id,
2579
2587
  inactive: !!(e(o).active && !d[e(o).active]),
2580
2588
  horizontal: c.componentName === "list"
2581
2589
  }, _e({
2582
- footer: b(() => [
2583
- e(o).title ? (t(), s("div", Ra, C(d[e(o).title]), 1)) : h("", !0),
2584
- 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)
2585
2593
  ]),
2586
- actions: b(() => {
2594
+ actions: h(() => {
2587
2595
  var v;
2588
2596
  return [
2589
- (v = c.individualActions) != null && v.length ? (t(), V(Ae, z({
2597
+ (v = c.individualActions) != null && v.length ? (t(), V(Ie, z({
2590
2598
  key: 0,
2591
2599
  ref_for: !0
2592
2600
  }, {
2593
2601
  subject: d,
2594
2602
  actions: c.individualActions
2595
2603
  }), {
2596
- default: b(({
2604
+ default: h(({
2597
2605
  visible: l
2598
2606
  }) => [
2599
- J(L(Y, {
2607
+ Z(L(Y, {
2600
2608
  reactive: "",
2601
2609
  active: l,
2602
2610
  icon: "dots-three-vertical"
@@ -2605,10 +2613,10 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2605
2613
  ])
2606
2614
  ]),
2607
2615
  _: 2
2608
- }, 1040)) : h("", !0)
2616
+ }, 1040)) : g("", !0)
2609
2617
  ];
2610
2618
  }),
2611
- default: b(() => {
2619
+ default: h(() => {
2612
2620
  var v, l;
2613
2621
  return [
2614
2622
  L(Ue, z({
@@ -2626,13 +2634,13 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2626
2634
  }, [
2627
2635
  e(o).badge && Array.isArray(d[e(o).badge]) ? {
2628
2636
  name: "badge",
2629
- fn: b(() => [
2630
- (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, {
2631
2639
  key: `${d._id}-${v}`,
2632
2640
  large: ""
2633
2641
  }, {
2634
- default: b(() => [
2635
- Q(C(e(o).translateBadge ? e(q)(v) : v), 1)
2642
+ default: h(() => [
2643
+ G(C(e(o).translateBadge ? e(q)(v) : v), 1)
2636
2644
  ]),
2637
2645
  _: 2
2638
2646
  }, 1024))), 128))
@@ -2640,10 +2648,10 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2640
2648
  key: "0"
2641
2649
  } : e(o).badge ? {
2642
2650
  name: "badge",
2643
- fn: b(() => [
2651
+ fn: h(() => [
2644
2652
  L(Ve, null, {
2645
- default: b(() => [
2646
- 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)
2647
2655
  ]),
2648
2656
  _: 2
2649
2657
  }, 1024)
@@ -2657,10 +2665,10 @@ const ja = /* @__PURE__ */ D(Ta, [["__scopeId", "data-v-4839c834"]]), Ra = { key
2657
2665
  };
2658
2666
  }
2659
2667
  });
2660
- const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) => ({
2668
+ const mt = /* @__PURE__ */ Q(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) => ({
2661
2669
  tabular: wa,
2662
- grid: _t,
2663
- list: _t
2670
+ grid: mt,
2671
+ list: mt
2664
2672
  })[p], za = {
2665
2673
  key: 2,
2666
2674
  class: "crud__controls"
@@ -2670,7 +2678,7 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2670
2678
  }, Ea = { class: "crud__actions" }, Ua = { class: "crud__context-badge" }, Ha = { key: 0 }, Da = {
2671
2679
  key: 3,
2672
2680
  class: "crud__pagination"
2673
- }, mt = 30, Qa = /* @__PURE__ */ F({
2681
+ }, ft = 30, Qa = /* @__PURE__ */ F({
2674
2682
  __name: "aeria-crud",
2675
2683
  props: {
2676
2684
  collection: {},
@@ -2686,21 +2694,21 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2686
2694
  },
2687
2695
  emits: ["uiEvent"],
2688
2696
  setup(p, { emit: r }) {
2689
- const o = ee(!1), n = ee(!1), a = ee((...O) => null), c = ee(), u = p, m = r, d = Be(), v = yt({
2697
+ const o = ee(!1), n = ee(!1), a = ee((...O) => null), c = ee(), u = p, m = r, d = Be(), v = ht({
2690
2698
  delay: 600
2691
- }), l = re("meta"), y = Le(), { reachedEnd: g, detach: f } = Ye(null, {
2699
+ }), l = ie("meta"), y = Le(), { reachedEnd: $, detach: f } = Ke(null, {
2692
2700
  antecipate: 600
2693
- }), I = !y.value.md || u.scrollPagination;
2694
- I && ue(g, (O) => {
2695
- O && i.pagination.recordsTotal > i.items.length && Z.value < mt && (Z.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());
2696
2704
  });
2697
2705
  const i = qt(u.collection);
2698
2706
  Jo(i, {
2699
2707
  persistInQuery: !u.noQueryPersistence
2700
2708
  });
2701
- const M = Ke(), E = u.action ? e(u.action) : Lt(i, d, M);
2709
+ const M = Xe(), E = u.action ? e(u.action) : Lt(i, d, M);
2702
2710
  a.value = E[0], c.value = E[1];
2703
- const Z = ee(0), $ = ee(!1), G = async (O) => {
2711
+ const K = ee(0), b = ee(!1), U = async (O) => {
2704
2712
  i.activeFilters = Object.assign({}, (O == null ? void 0 : O.filters) || i.$filters), Object.assign(i.activeFilters, i.filtersPreset);
2705
2713
  const k = {
2706
2714
  filters: i.activeFilters,
@@ -2708,19 +2716,19 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2708
2716
  offset: i.pagination.offset,
2709
2717
  project: i.preferredTableProperties.length > 0 ? i.preferredTableProperties : i.description.table || Object.keys(i.properties)
2710
2718
  };
2711
- Z.value > 0 && (k.limit = 15, k.offset = Z.value * k.limit), i.description.tableMeta && (k.project = k.project.concat(i.description.tableMeta)), O && Object.assign(k, O), i.loading.getAll = !0;
2719
+ K.value > 0 && (k.limit = 15, k.offset = K.value * k.limit), i.description.tableMeta && (k.project = k.project.concat(i.description.tableMeta)), O && Object.assign(k, O), i.loading.getAll = !0;
2712
2720
  const { error: N, result: le } = await i.$actions.retrieveItems(k);
2713
2721
  if (N)
2714
2722
  return;
2715
2723
  const { data: _, pagination: T } = le;
2716
- i.pagination.recordsCount = T.recordsCount, i.pagination.recordsTotal = T.recordsTotal, Z.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;
2717
2725
  }, oe = async (O) => {
2718
2726
  d.push(qe(d.currentRoute.value, {
2719
2727
  query: {
2720
2728
  offset: O.offset,
2721
2729
  limit: O.limit
2722
2730
  }
2723
- })), i.pagination.offset = O.offset, i.pagination.limit = O.limit, G();
2731
+ })), i.pagination.offset = O.offset, i.pagination.limit = O.limit, U();
2724
2732
  }, w = fe("noResultsComponent", null);
2725
2733
  ue(() => [
2726
2734
  d.currentRoute.value.path,
@@ -2731,7 +2739,7 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2731
2739
  const N = d.currentRoute.value;
2732
2740
  if (l.view.title = u.collection, !u.noFetch && (!N.query._popstate || i.itemsCount === 0)) {
2733
2741
  const le = Mt(i, N.query);
2734
- 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();
2735
2743
  }
2736
2744
  }, {
2737
2745
  immediate: !0,
@@ -2741,14 +2749,14 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2741
2749
  query: {
2742
2750
  search: O || void 0
2743
2751
  }
2744
- })), O ? (i.filters = Object.assign(Ie(i.freshFilters), {
2752
+ })), O ? (i.filters = Object.assign(Ae(i.freshFilters), {
2745
2753
  $text: {
2746
2754
  $search: `"${O}"`,
2747
2755
  $caseSensitive: !1
2748
2756
  }
2749
- }), G({
2757
+ }), U({
2750
2758
  offset: 0
2751
- })) : (i.filters = Ie(i.freshFilters), Z.value = 0, G())));
2759
+ })) : (i.filters = Ae(i.freshFilters), K.value = 0, U())));
2752
2760
  ue(() => i.textQuery, (O) => {
2753
2761
  te(O);
2754
2762
  });
@@ -2759,7 +2767,7 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2759
2767
  i.$actions.clearFilters(), i.textQuery = "", f();
2760
2768
  }), ue(() => c.value, async (O) => {
2761
2769
  var le;
2762
- const k = Ie(O);
2770
+ const k = Ae(O);
2763
2771
  let N;
2764
2772
  if (k)
2765
2773
  if ((k.name === "spawnEdit" || k.name === "duplicate") && (N = i.$actions.get({
@@ -2774,30 +2782,30 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2774
2782
  i.$actions.setItem(k.params), o.value = "edit";
2775
2783
  else if (k.name === "duplicate") {
2776
2784
  await N;
2777
- const _ = Object.entries(i.item).reduce((T, [U, X]) => {
2778
- if (!(U in i.properties))
2785
+ const _ = Object.entries(i.item).reduce((T, [H, J]) => {
2786
+ if (!(H in i.properties))
2779
2787
  return {
2780
2788
  ...T,
2781
- [U]: X
2789
+ [H]: J
2782
2790
  };
2783
- const S = i.properties[U];
2791
+ const S = i.properties[H];
2784
2792
  if (S.readOnly)
2785
2793
  return T;
2786
- const R = (ie) => {
2794
+ const R = (re) => {
2787
2795
  const j = me(S);
2788
2796
  if (!j)
2789
- return ie;
2797
+ return re;
2790
2798
  if (j.$ref === "file")
2791
2799
  return {};
2792
- if (j.inline && ie) {
2793
- const { _id: se, ...ve } = ie;
2800
+ if (j.inline && re) {
2801
+ const { _id: se, ...ve } = re;
2794
2802
  return ve;
2795
2803
  }
2796
- return ie;
2804
+ return re;
2797
2805
  };
2798
- return X = Array.isArray(X) ? X.map(R) : R(X), {
2806
+ return J = Array.isArray(J) ? J.map(R) : R(J), {
2799
2807
  ...T,
2800
- [U]: X
2808
+ [H]: J
2801
2809
  };
2802
2810
  }, {});
2803
2811
  i.$actions.setItem(_), delete i.item._id, i.referenceItem = {}, o.value = "duplicate";
@@ -2808,22 +2816,22 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2808
2816
  }), ue(() => o, ({ value: O }) => {
2809
2817
  O === !1 && i.$actions.clearItem();
2810
2818
  });
2811
- const ce = K(() => {
2819
+ const ce = X(() => {
2812
2820
  if (!u.noActions)
2813
2821
  return i.individualActions.map((O) => ({
2814
2822
  click: a.value(O),
2815
2823
  ...O
2816
2824
  }));
2817
- }), ae = K(() => i.actions.filter((O) => !O.button));
2818
- return ge(ze, K(() => u.collection)), (O, k) => {
2819
- var _, T, U, X, S, R, ie;
2825
+ }), ae = X(() => i.actions.filter((O) => !O.button));
2826
+ return ge(ze, X(() => u.collection)), (O, k) => {
2827
+ var _, T, H, J, S, R, re;
2820
2828
  const N = ne("clickable"), le = ne("loading");
2821
2829
  return t(), s(P, null, [
2822
2830
  n.value ? (t(), V(Ko, {
2823
2831
  key: e(i).$id,
2824
2832
  modelValue: n.value,
2825
2833
  "onUpdate:modelValue": k[0] || (k[0] = (j) => n.value = j)
2826
- }, null, 8, ["modelValue"])) : h("", !0),
2834
+ }, null, 8, ["modelValue"])) : g("", !0),
2827
2835
  o.value ? (t(), V(Xo, z({
2828
2836
  key: 1,
2829
2837
  visible: o.value,
@@ -2835,7 +2843,7 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2835
2843
  }, {
2836
2844
  onCancel: k[2] || (k[2] = (j) => o.value = !1)
2837
2845
  }), _e({
2838
- header: b(() => [
2846
+ header: h(() => [
2839
2847
  B("span", null, C((() => {
2840
2848
  switch (o.value) {
2841
2849
  case "add":
@@ -2851,13 +2859,13 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2851
2859
  ]),
2852
2860
  _: 2
2853
2861
  }, [
2854
- H(Object.keys(O.$slots).filter((j) => j.startsWith("field-")), (j) => ({
2862
+ D(Object.keys(O.$slots).filter((j) => j.startsWith("field-")), (j) => ({
2855
2863
  name: j,
2856
- fn: b((se) => [
2857
- 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)
2858
2866
  ])
2859
2867
  }))
2860
- ]), 1040, ["visible"])) : h("", !0),
2868
+ ]), 1040, ["visible"])) : g("", !0),
2861
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, [
2862
2870
  e(i).description.search ? (t(), s("div", Fa, [
2863
2871
  L(Oe, z({
@@ -2870,21 +2878,21 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2870
2878
  inputType: "search"
2871
2879
  }
2872
2880
  }), null, 16, ["modelValue"])
2873
- ])) : h("", !0),
2881
+ ])) : g("", !0),
2874
2882
  B("div", Ea, [
2875
- 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({
2876
- 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(() => [
2877
2885
  L(pe, {
2878
2886
  variant: "alt",
2879
2887
  icon: "sliders"
2880
2888
  }, {
2881
- default: b(() => [
2889
+ default: h(() => [
2882
2890
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2883
- default: b(() => [
2884
- Q(C(e(i).filtersCount), 1)
2891
+ default: h(() => [
2892
+ G(C(e(i).filtersCount), 1)
2885
2893
  ]),
2886
2894
  _: 1
2887
- })) : h("", !0)
2895
+ })) : g("", !0)
2888
2896
  ]),
2889
2897
  _: 1
2890
2898
  })
@@ -2893,13 +2901,13 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2893
2901
  }, [
2894
2902
  Object.keys(e(i).availableFilters).length > 0 ? {
2895
2903
  name: "filter",
2896
- fn: b(() => [
2897
- J((t(), V(Y, {
2904
+ fn: h(() => [
2905
+ Z((t(), V(Y, {
2898
2906
  icon: "funnel",
2899
2907
  onClick: k[4] || (k[4] = (j) => n.value = !0)
2900
2908
  }, {
2901
- default: b(() => [
2902
- Q(C(e(q)("filters", { capitalize: !0 })), 1)
2909
+ default: h(() => [
2910
+ G(C(e(q)("filters", { capitalize: !0 })), 1)
2903
2911
  ]),
2904
2912
  _: 1
2905
2913
  })), [
@@ -2907,24 +2915,24 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2907
2915
  ]),
2908
2916
  B("div", Ua, [
2909
2917
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2910
- default: b(() => [
2911
- Q(C(e(i).filtersCount), 1)
2918
+ default: h(() => [
2919
+ G(C(e(i).filtersCount), 1)
2912
2920
  ]),
2913
2921
  _: 1
2914
- })) : h("", !0)
2922
+ })) : g("", !0)
2915
2923
  ])
2916
2924
  ]),
2917
2925
  key: "0"
2918
2926
  } : void 0,
2919
- !O.noLayoutToggle && e(i).description.layout && ((X = e(i).description.layout) == null ? void 0 : X.name) !== "tabular" ? {
2927
+ !O.noLayoutToggle && e(i).description.layout && ((J = e(i).description.layout) == null ? void 0 : J.name) !== "tabular" ? {
2920
2928
  name: "layout-toggle",
2921
- fn: b(() => [
2922
- J((t(), V(Y, {
2929
+ fn: h(() => [
2930
+ Z((t(), V(Y, {
2923
2931
  icon: "table",
2924
2932
  onClick: k[5] || (k[5] = (j) => ke(e(i)))
2925
2933
  }, {
2926
- default: b(() => [
2927
- Q(C(e(q)("change_layout", { capitalize: !0 })), 1)
2934
+ default: h(() => [
2935
+ G(C(e(q)("change_layout", { capitalize: !0 })), 1)
2928
2936
  ]),
2929
2937
  _: 1
2930
2938
  })), [
@@ -2933,20 +2941,20 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2933
2941
  ]),
2934
2942
  key: "1"
2935
2943
  } : void 0,
2936
- H(ae.value, (j, se) => ({
2944
+ D(ae.value, (j, se) => ({
2937
2945
  name: `action-${se}`,
2938
- fn: b(() => [
2946
+ fn: h(() => [
2939
2947
  j ? (t(), V(Y, {
2940
2948
  key: 0,
2941
2949
  icon: j.icon || "gear",
2942
2950
  disabled: e(i).selected.length === 0 && "selection" in j && j.selection,
2943
- 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) })
2944
2952
  }, {
2945
- default: b(() => [
2946
- Q(C(e(q)(j.label, { capitalize: !0 })), 1)
2953
+ default: h(() => [
2954
+ G(C(e(q)(j.label, { capitalize: !0 })), 1)
2947
2955
  ]),
2948
2956
  _: 2
2949
- }, 1032, ["icon", "disabled", "onClick"])) : h("", !0)
2957
+ }, 1032, ["icon", "disabled", "onClick"])) : g("", !0)
2950
2958
  ])
2951
2959
  }))
2952
2960
  ]), 1024)) : Object.keys(e(i).availableFilters).length > 0 ? (t(), V(pe, {
@@ -2955,37 +2963,37 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2955
2963
  icon: "funnel",
2956
2964
  onClick: k[6] || (k[6] = (j) => n.value = !0)
2957
2965
  }, {
2958
- default: b(() => [
2966
+ default: h(() => [
2959
2967
  k[8] || (k[8] = B("div", null, "Filtros", -1)),
2960
2968
  e(i).filtersCount ? (t(), V(Ve, { key: 0 }, {
2961
- default: b(() => [
2962
- Q(C(e(i).filtersCount), 1)
2969
+ default: h(() => [
2970
+ G(C(e(i).filtersCount), 1)
2963
2971
  ]),
2964
2972
  _: 1
2965
- })) : h("", !0)
2973
+ })) : g("", !0)
2966
2974
  ]),
2967
2975
  _: 1
2968
- })) : h("", !0),
2969
- (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, {
2970
2978
  key: `action-${se}`,
2971
2979
  icon: j.icon,
2972
2980
  disabled: e(i).selected.length === 0 && "selection" in j && j.selection,
2973
- 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) })
2974
2982
  }, {
2975
- default: b(() => [
2976
- Q(C(e(q)(j.label, { capitalize: !0 })), 1)
2983
+ default: h(() => [
2984
+ G(C(e(q)(j.label, { capitalize: !0 })), 1)
2977
2985
  ]),
2978
2986
  _: 2
2979
2987
  }, 1032, ["icon", "disabled", "onClick"]))), 128)),
2980
- 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)
2981
2989
  ])
2982
- ])) : h("", !0),
2983
- J((t(), s("div", null, [
2984
- e(i).itemsCount === 0 && !e(i).loading.getAll && $.value && (e(w) || O.$slots.empty) ? (t(), s("div", Ha, [
2985
- e(w) ? (t(), V(he(e(w)), de(z({ key: 0 }, {
2990
+ ])) : g("", !0),
2991
+ Z((t(), s("div", null, [
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 }, {
2986
2994
  collection: e(i).$id
2987
2995
  })), {
2988
- default: b(() => [
2996
+ default: h(() => [
2989
2997
  e(i).filtersCount === 0 && e(i).description.actions && "spawnAdd" in e(i).description.actions ? (t(), V(pe, {
2990
2998
  key: 0,
2991
2999
  icon: "plus",
@@ -2994,60 +3002,60 @@ const _t = /* @__PURE__ */ D(La, [["__scopeId", "data-v-dbd3ccb5"]]), Ma = (p) =
2994
3002
  event: "spawnAdd"
2995
3003
  })())
2996
3004
  }, {
2997
- default: b(() => [
2998
- Q(C(e(q)("add_first_item", { capitalize: !0 })), 1)
3005
+ default: h(() => [
3006
+ G(C(e(q)("add_first_item", { capitalize: !0 })), 1)
2999
3007
  ]),
3000
3008
  _: 1
3001
- })) : h("", !0)
3009
+ })) : g("", !0)
3002
3010
  ]),
3003
3011
  _: 1
3004
- }, 16)) : A(O.$slots, "empty", de(z({ key: 1 }, {
3012
+ }, 16)) : I(O.$slots, "empty", de(z({ key: 1 }, {
3005
3013
  collection: e(i).$id
3006
3014
  })), void 0, !0)
3007
- ])) : O.$slots.component ? A(O.$slots, "component", de(z({ key: 1 }, {
3015
+ ])) : O.$slots.component ? I(O.$slots, "component", de(z({ key: 1 }, {
3008
3016
  store: e(i)
3009
- })), 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 }, {
3010
3018
  individualActions: ce.value,
3011
3019
  layoutOptions: ((R = O.layout) == null ? void 0 : R.options) || e(i).layout.options,
3012
3020
  componentProps: O.componentProps
3013
3021
  }, {
3014
- "component-name": ((ie = O.layout) == null ? void 0 : ie.name) || e(i).$currentLayout
3022
+ "component-name": ((re = O.layout) == null ? void 0 : re.name) || e(i).$currentLayout
3015
3023
  }), _e({ _: 2 }, [
3016
- H(Object.keys(O.$slots).filter((j) => j.startsWith("row-")), (j) => ({
3024
+ D(Object.keys(O.$slots).filter((j) => j.startsWith("row-")), (j) => ({
3017
3025
  name: j,
3018
- fn: b((se) => [
3019
- 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)
3020
3028
  ])
3021
3029
  })),
3022
3030
  O.$slots.tfoot ? {
3023
3031
  name: "tfoot",
3024
- fn: b(() => [
3025
- A(O.$slots, "tfoot", {}, void 0, !0)
3032
+ fn: h(() => [
3033
+ I(O.$slots, "tfoot", {}, void 0, !0)
3026
3034
  ]),
3027
3035
  key: "0"
3028
3036
  } : void 0
3029
3037
  ]), 1040, ["component-name"]))
3030
3038
  ])), [
3031
- [le, (!e(I) || Z.value === mt) && e(i).loading.getAll]
3039
+ [le, (!e(A) || K.value === ft) && e(i).loading.getAll]
3032
3040
  ]),
3033
- !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, [
3034
3042
  L(qn, {
3035
3043
  pagination: e(i).pagination,
3036
3044
  onPaginate: oe
3037
3045
  }, null, 8, ["pagination"])
3038
- ])) : h("", !0)
3046
+ ])) : g("", !0)
3039
3047
  ], 64);
3040
3048
  };
3041
3049
  }
3042
3050
  });
3043
- 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({
3044
3052
  __name: "aeria-prompt",
3045
3053
  props: {
3046
3054
  title: {},
3047
3055
  options: {}
3048
3056
  },
3049
3057
  setup(p) {
3050
- const r = re("meta"), o = (n, a) => {
3058
+ const r = ie("meta"), o = (n, a) => {
3051
3059
  r.$actions.fulfillPrompt(n, a);
3052
3060
  };
3053
3061
  return (n, a) => (t(), V(Se, {
@@ -3057,12 +3065,12 @@ const Il = /* @__PURE__ */ D(Qa, [["__scopeId", "data-v-d64cb42a"]]), Ga = { cla
3057
3065
  title: n.title,
3058
3066
  style: { "--panel-min-width": "32rem" }
3059
3067
  }, {
3060
- footer: b(() => [
3068
+ footer: h(() => [
3061
3069
  B("div", {
3062
3070
  class: "prompt__options",
3063
3071
  style: $e(`grid-template-columns: repeat(${Object.keys(n.options).length}, 1fr)`)
3064
3072
  }, [
3065
- (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, {
3066
3074
  key: `option-${m}`,
3067
3075
  class: W([
3068
3076
  "prompt__option",
@@ -3070,23 +3078,23 @@ const Il = /* @__PURE__ */ D(Qa, [["__scopeId", "data-v-d64cb42a"]]), Ga = { cla
3070
3078
  ]),
3071
3079
  onClick: (d) => u.click ? u.click(c, u) : o(c, u)
3072
3080
  }, {
3073
- default: b(() => [
3074
- Q(C(u.title), 1)
3081
+ default: h(() => [
3082
+ G(C(u.title), 1)
3075
3083
  ]),
3076
3084
  _: 2
3077
3085
  }, 1032, ["class", "onClick"]))), 128))
3078
3086
  ], 4)
3079
3087
  ]),
3080
- default: b(() => [
3088
+ default: h(() => [
3081
3089
  B("div", Ga, [
3082
- A(n.$slots, "default", {}, void 0, !0)
3090
+ I(n.$slots, "default", {}, void 0, !0)
3083
3091
  ])
3084
3092
  ]),
3085
3093
  _: 3
3086
3094
  }, 8, ["title"]));
3087
3095
  }
3088
3096
  });
3089
- 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({
3090
3098
  __name: "aeria-toast",
3091
3099
  props: {
3092
3100
  idx: {},
@@ -3095,10 +3103,10 @@ const Ya = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-4cbfd28f"]]), Ka = { cla
3095
3103
  icon: {}
3096
3104
  },
3097
3105
  setup(p) {
3098
- const r = re("meta");
3106
+ const r = ie("meta");
3099
3107
  return (o, n) => {
3100
3108
  const a = ne("clickable");
3101
- return J((t(), s("div", {
3109
+ return Z((t(), s("div", {
3102
3110
  class: W({
3103
3111
  toast: !0,
3104
3112
  "toast--animate": e(r).toasts[0].itr === o.itr
@@ -3111,7 +3119,7 @@ const Ya = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-4cbfd28f"]]), Ka = { cla
3111
3119
  { style: { "--icon-size": "4rem", "--icon-color": "var(--theme-brand-color-shade-3)" } }
3112
3120
  ), null, 16),
3113
3121
  B("div", Ka, [
3114
- A(o.$slots, "default", {}, void 0, !0),
3122
+ I(o.$slots, "default", {}, void 0, !0),
3115
3123
  B("div", Xa, C(o.formatDateTime(o.date, { hoursOnly: !0 })), 1)
3116
3124
  ])
3117
3125
  ], 34)), [
@@ -3120,10 +3128,10 @@ const Ya = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-4cbfd28f"]]), Ka = { cla
3120
3128
  };
3121
3129
  }
3122
3130
  });
3123
- 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({
3124
3132
  __name: "aeria-main",
3125
3133
  setup(p) {
3126
- const r = re("meta"), o = K(() => r.themeOverride || r.theme);
3134
+ const r = ie("meta"), o = X(() => r.themeOverride || r.theme);
3127
3135
  return (n, a) => {
3128
3136
  const c = Ct("router-view");
3129
3137
  return t(), s("main", {
@@ -3135,14 +3143,14 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3135
3143
  ])
3136
3144
  }, [
3137
3145
  (t(), V(Ot, null, {
3138
- default: b(() => [
3146
+ default: h(() => [
3139
3147
  L(c, null, {
3140
- default: b(({ Component: u }) => [
3141
- (t(), V(he(u), null, _e({ _: 2 }, [
3142
- 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) => ({
3143
3151
  name: m,
3144
- fn: b(() => [
3145
- A(n.$slots, m, {}, void 0, !0)
3152
+ fn: h(() => [
3153
+ I(n.$slots, m, {}, void 0, !0)
3146
3154
  ])
3147
3155
  }))
3148
3156
  ]), 1024))
@@ -3152,7 +3160,7 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3152
3160
  ]),
3153
3161
  _: 3
3154
3162
  })),
3155
- A(n.$slots, "default", {}, void 0, !0),
3163
+ I(n.$slots, "default", {}, void 0, !0),
3156
3164
  L(Se, z({
3157
3165
  modelValue: e(r).modal.visible,
3158
3166
  "onUpdate:modelValue": a[0] || (a[0] = (u) => e(r).modal.visible = u),
@@ -3162,27 +3170,27 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3162
3170
  "overlay-layer": 70,
3163
3171
  onOverlayClick: a[1] || (a[1] = (u) => e(r).modal.visible = !1)
3164
3172
  }), {
3165
- default: b(() => [
3173
+ default: h(() => [
3166
3174
  e(r).modal.body ? (t(), s("div", {
3167
3175
  key: 0,
3168
3176
  style: { "white-space": "pre-wrap" },
3169
3177
  innerHTML: e(r).modal.body
3170
- }, null, 8, Pa)) : h("", !0),
3171
- 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)
3172
3180
  ]),
3173
3181
  _: 1
3174
3182
  }, 16, ["modelValue"]),
3175
3183
  e(r).prompt.visible ? (t(), V(Ya, de(z({ key: 0 }, e(r).prompt)), {
3176
- default: b(() => [
3177
- Q(C(e(r).prompt.body), 1)
3184
+ default: h(() => [
3185
+ G(C(e(r).prompt.body), 1)
3178
3186
  ]),
3179
3187
  _: 1
3180
- }, 16)) : h("", !0),
3188
+ }, 16)) : g("", !0),
3181
3189
  B("div", Na, [
3182
- (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, {
3183
3191
  key: `toast-${u.itr}`
3184
3192
  }), {
3185
- default: b(() => [
3193
+ default: h(() => [
3186
3194
  B("div", {
3187
3195
  innerHTML: e(q)(u.text)
3188
3196
  }, null, 8, xa)
@@ -3194,19 +3202,19 @@ const Za = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-606d47bf"]]), Pa = ["inn
3194
3202
  };
3195
3203
  }
3196
3204
  });
3197
- const Al = /* @__PURE__ */ D(el, [["__scopeId", "data-v-8f232683"]]);
3205
+ const Il = /* @__PURE__ */ Q(el, [["__scopeId", "data-v-8f232683"]]);
3198
3206
  const tl = {}, nl = { class: "menu" };
3199
3207
  function ol(p, r) {
3200
3208
  return t(), s("menu", nl, [
3201
- (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", {
3202
3210
  key: o,
3203
3211
  class: "menu__entry"
3204
3212
  }, [
3205
- A(p.$slots, o, {}, void 0, !0)
3213
+ I(p.$slots, o, {}, void 0, !0)
3206
3214
  ]))), 128))
3207
3215
  ]);
3208
3216
  }
3209
- 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 = {
3210
3218
  key: 0,
3211
3219
  class: "tabs__horizontal"
3212
3220
  }, sl = {
@@ -3223,7 +3231,7 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3223
3231
  dropdown: { type: Boolean }
3224
3232
  },
3225
3233
  setup(p) {
3226
- const r = p, o = It(), n = Be(), a = Le(), c = K(() => {
3234
+ const r = p, o = At(), n = Be(), a = Le(), c = X(() => {
3227
3235
  if (r.query) {
3228
3236
  const m = n.currentRoute.value.query[r.query];
3229
3237
  if (m)
@@ -3250,30 +3258,30 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3250
3258
  return t(), s("div", al, [
3251
3259
  e(a).md && !m.dropdown ? (t(), s("div", ll, [
3252
3260
  m.$slots.default ? (t(), s("div", sl, [
3253
- A(m.$slots, "default", {}, void 0, !0)
3254
- ])) : h("", !0),
3255
- (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", {
3256
3264
  key: l,
3257
3265
  class: W({
3258
3266
  tabs__tab: !0,
3259
3267
  "tabs__tab--current": l === c.value || !c.value && y === 0
3260
3268
  }),
3261
- onClick: (g) => u(l)
3269
+ onClick: ($) => u(l)
3262
3270
  }, [
3263
- A(m.$slots, l, {}, void 0, !0)
3271
+ I(m.$slots, l, {}, void 0, !0)
3264
3272
  ], 10, il))), 128))
3265
3273
  ])) : (t(), s("div", rl, [
3266
- L(Ae, null, _e({
3267
- default: b(({ visible: l }) => [
3268
- J((t(), V(Y, {
3274
+ L(Ie, null, _e({
3275
+ default: h(({ visible: l }) => [
3276
+ Z((t(), V(Y, {
3269
3277
  "icon-right": "",
3270
3278
  active: l,
3271
3279
  icon: "caret-down",
3272
3280
  style: { "--icon-color": "var(--theme-brand-color-shade-1)" },
3273
3281
  class: "tabs__context-menu-icon"
3274
3282
  }, {
3275
- default: b(() => [
3276
- A(m.$slots, c.value, {}, void 0, !0)
3283
+ default: h(() => [
3284
+ I(m.$slots, c.value, {}, void 0, !0)
3277
3285
  ]),
3278
3286
  _: 2
3279
3287
  }, 1032, ["active"])), [
@@ -3282,13 +3290,13 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3282
3290
  ]),
3283
3291
  _: 2
3284
3292
  }, [
3285
- H(Object.keys(m.$slots).filter((l) => l !== "default"), (l) => ({
3293
+ D(Object.keys(m.$slots).filter((l) => l !== "default"), (l) => ({
3286
3294
  name: l,
3287
- fn: b(() => [
3295
+ fn: h(() => [
3288
3296
  B("div", {
3289
3297
  onClick: (y) => u(l)
3290
3298
  }, [
3291
- A(m.$slots, l, {}, void 0, !0)
3299
+ I(m.$slots, l, {}, void 0, !0)
3292
3300
  ], 8, ul)
3293
3301
  ])
3294
3302
  }))
@@ -3298,7 +3306,7 @@ const Bl = /* @__PURE__ */ D(tl, [["render", ol], ["__scopeId", "data-v-3cfef7fb
3298
3306
  };
3299
3307
  }
3300
3308
  });
3301
- const dl = /* @__PURE__ */ D(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3309
+ const dl = /* @__PURE__ */ Q(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3302
3310
  props: {
3303
3311
  initialValue: String,
3304
3312
  promise: Promise
@@ -3307,7 +3315,7 @@ const dl = /* @__PURE__ */ D(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3307
3315
  const r = ee(p.initialValue);
3308
3316
  return p.promise instanceof Promise && p.promise.then((o) => {
3309
3317
  r.value = o;
3310
- }), () => At("div", String(r.value));
3318
+ }), () => It("div", String(r.value));
3311
3319
  }
3312
3320
  }), _l = ["onClick"], ml = { key: 1 }, fl = /* @__PURE__ */ F({
3313
3321
  __name: "aeria-crud-topbar",
@@ -3315,7 +3323,7 @@ const dl = /* @__PURE__ */ D(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3315
3323
  collection: {}
3316
3324
  },
3317
3325
  setup(p) {
3318
- const r = p, n = Be().currentRoute, a = Ke(), c = K(() => r.collection ? je(r.collection, a) : typeof n.value.meta.collection == "string" ? je(n.value.meta.collection, a) : typeof n.value.params.collection == "string" ? je(n.value.params.collection, a) : null), u = async (m, d) => {
3326
+ const r = p, n = Be().currentRoute, a = Xe(), c = X(() => r.collection ? je(r.collection, a) : typeof n.value.meta.collection == "string" ? je(n.value.meta.collection, a) : typeof n.value.params.collection == "string" ? je(n.value.params.collection, a) : null), u = async (m, d) => {
3319
3327
  const { error: v, result: l } = await d.$functions[m.badgeFunction]({
3320
3328
  filters: m.filters
3321
3329
  });
@@ -3326,38 +3334,38 @@ const dl = /* @__PURE__ */ D(cl, [["__scopeId", "data-v-a20914ab"]]), pl = F({
3326
3334
  dropdown: "",
3327
3335
  query: "section"
3328
3336
  }, _e({ _: 2 }, [
3329
- H(Object.entries(c.value.description.filtersPresets), ([v, l]) => ({
3337
+ D(Object.entries(c.value.description.filtersPresets), ([v, l]) => ({
3330
3338
  name: v,
3331
- fn: b(() => [
3339
+ fn: h(() => [
3332
3340
  B("div", {
3333
3341
  class: "topbar__preset",
3334
- onClick: (y) => e(ht)(l, c.value)
3342
+ onClick: (y) => e(bt)(l, c.value)
3335
3343
  }, [
3336
3344
  l.icon ? (t(), V(Y, {
3337
3345
  key: 0,
3338
3346
  icon: l.icon
3339
3347
  }, {
3340
- default: b(() => [
3341
- Q(C(l.label || e(q)(v, { plural: !0 })), 1)
3348
+ default: h(() => [
3349
+ G(C(l.label || e(q)(v, { plural: !0 })), 1)
3342
3350
  ]),
3343
3351
  _: 2
3344
3352
  }, 1032, ["icon"])) : (t(), s("div", ml, C(l.label || e(q)(v, { plural: !0 })), 1)),
3345
3353
  l.badgeFunction ? (t(), V(Ve, { key: 2 }, {
3346
- default: b(() => [
3354
+ default: h(() => [
3347
3355
  L(e(pl), {
3348
3356
  "initial-value": "0",
3349
3357
  promise: u(l, c.value)
3350
3358
  }, null, 8, ["promise"])
3351
3359
  ]),
3352
3360
  _: 2
3353
- }, 1024)) : h("", !0)
3361
+ }, 1024)) : g("", !0)
3354
3362
  ], 8, _l)
3355
3363
  ])
3356
3364
  }))
3357
- ]), 1024)) : h("", !0);
3365
+ ]), 1024)) : g("", !0);
3358
3366
  }
3359
3367
  });
3360
- 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({
3361
3369
  __proto__: null,
3362
3370
  default: vl
3363
3371
  }, Symbol.toStringTag, { value: "Module" })), Sl = /* @__PURE__ */ F({
@@ -3369,7 +3377,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3369
3377
  setup(p) {
3370
3378
  const r = p;
3371
3379
  ge(ze, null);
3372
- const o = zt(), n = K(() => o(
3380
+ const o = zt(), n = X(() => o(
3373
3381
  r.modelValue.password,
3374
3382
  r.modelValue.confirmation
3375
3383
  ));
@@ -3389,9 +3397,9 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3389
3397
  "model-value": a.modelValue,
3390
3398
  "onUpdate:modelValue": c[0] || (c[0] = (u) => a.$emit("update:modelValue", u))
3391
3399
  }, {
3392
- after: b(() => [
3400
+ after: h(() => [
3393
3401
  B("div", null, C(n.value || "Senhas conferem"), 1),
3394
- A(a.$slots, "default", de(Ce({ passwordError: n.value })))
3402
+ I(a.$slots, "default", de(Ce({ passwordError: n.value })))
3395
3403
  ]),
3396
3404
  _: 3
3397
3405
  }, 8, ["model-value"]));
@@ -3414,7 +3422,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3414
3422
  {
3415
3423
  path: "signin",
3416
3424
  name: "/user/signin",
3417
- component: () => import("./signin-a5a2924c.js"),
3425
+ component: () => import("./signin-124ea7a0.js"),
3418
3426
  meta: {
3419
3427
  title: "Sign in"
3420
3428
  }
@@ -3422,7 +3430,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3422
3430
  {
3423
3431
  path: "signup",
3424
3432
  name: "/user/signup",
3425
- component: () => import("./signup-e0a1ecdd.js"),
3433
+ component: () => import("./signup-84a7f92b.js"),
3426
3434
  meta: {
3427
3435
  title: "Sign up"
3428
3436
  }
@@ -3430,7 +3438,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3430
3438
  {
3431
3439
  path: "redefine-password",
3432
3440
  name: "/user/redefine-password",
3433
- component: () => import("./redefine-password-b2e02c86.js"),
3441
+ component: () => import("./redefine-password-6c5e9b0d.js"),
3434
3442
  meta: {
3435
3443
  title: "Redefine password"
3436
3444
  }
@@ -3438,7 +3446,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3438
3446
  {
3439
3447
  path: "activation",
3440
3448
  name: "/user/activation",
3441
- component: () => import("./activation-474643d8.js"),
3449
+ component: () => import("./activation-52d1eb36.js"),
3442
3450
  meta: {
3443
3451
  title: "Activate user"
3444
3452
  }
@@ -3460,7 +3468,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3460
3468
  name: "/dashboard/:collection",
3461
3469
  props: !0,
3462
3470
  components: {
3463
- default: () => import("./index-c0425506.js"),
3471
+ default: () => import("./index-24cff6ef.js"),
3464
3472
  topbar: () => Promise.resolve().then(() => yl)
3465
3473
  },
3466
3474
  meta: {
@@ -3474,7 +3482,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3474
3482
  name: "/dashboard/:collection/:id",
3475
3483
  props: !0,
3476
3484
  components: {
3477
- default: () => import("./_id_-07e8179b.js")
3485
+ default: () => import("./_id_-b766afcb.js")
3478
3486
  },
3479
3487
  meta: {
3480
3488
  title: ({ collectionName: o, t: n }) => n(o, {
@@ -3494,7 +3502,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3494
3502
  children: [
3495
3503
  {
3496
3504
  path: "profile",
3497
- component: () => import("./index-30bd6d73.js"),
3505
+ component: () => import("./index-c094bffd.js"),
3498
3506
  meta: {
3499
3507
  title: "User profile",
3500
3508
  icon: "user-square"
@@ -3503,7 +3511,7 @@ const vl = /* @__PURE__ */ D(fl, [["__scopeId", "data-v-f0a45677"]]), yl = /* @_
3503
3511
  {
3504
3512
  path: "changepass",
3505
3513
  name: "/dashboard/user/changepass",
3506
- component: () => import("./index-2f017cc1.js"),
3514
+ component: () => import("./index-f785e4c6.js"),
3507
3515
  meta: {
3508
3516
  title: "Change password",
3509
3517
  icon: "lock"
@@ -3526,21 +3534,21 @@ export {
3526
3534
  pe as a,
3527
3535
  Y as b,
3528
3536
  Hn as c,
3529
- Il as d,
3537
+ Al as d,
3530
3538
  Xo as e,
3531
3539
  Ue as f,
3532
3540
  Bl as g,
3533
3541
  Se as h,
3534
- D as i,
3542
+ Q as i,
3535
3543
  Ol as j,
3536
3544
  Ve as k,
3537
3545
  ye as l,
3538
3546
  sn as m,
3539
- Ae as n,
3547
+ Ie as n,
3540
3548
  ja as o,
3541
3549
  Ko as p,
3542
- bn as q,
3543
- Al as r,
3550
+ hn as q,
3551
+ Il as r,
3544
3552
  qn as s,
3545
3553
  Sa as t,
3546
3554
  dl as u,
@@ -3548,5 +3556,5 @@ export {
3548
3556
  Oe as w,
3549
3557
  Gn as x,
3550
3558
  Bo as y,
3551
- Xe as z
3559
+ Je as z
3552
3560
  };