@aeria-ui/ui 0.0.81 → 0.0.83

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.
@@ -14,9 +14,9 @@ const Xt = ["onClick"], Yt = { key: 0 }, Jt = {
14
14
  noPadding: { type: Boolean },
15
15
  headers: {}
16
16
  },
17
- setup(u) {
17
+ setup(c) {
18
18
  const r = J(null), l = (n) => typeof n == "string" ? n : n.title;
19
- return (n, a) => {
19
+ return (n, o) => {
20
20
  const i = oe("clickable");
21
21
  return t(), s("div", {
22
22
  class: X({
@@ -24,31 +24,31 @@ const Xt = ["onClick"], Yt = { key: 0 }, Jt = {
24
24
  "accordion--padded": !n.noPadding
25
25
  })
26
26
  }, [
27
- (t(!0), s(N, null, D(Object.keys(n.$slots).filter((c) => c !== "default"), (c, _) => (t(), s("div", {
28
- key: c,
27
+ (t(!0), s(N, null, D(Object.keys(n.$slots).filter((u) => u !== "default"), (u, _) => (t(), s("div", {
28
+ key: u,
29
29
  class: "accordion__slot"
30
30
  }, [
31
31
  x((t(), s("div", {
32
32
  class: "accordion__header",
33
- onClick: (d) => r.value === c ? r.value = null : r.value = c
33
+ onClick: (d) => r.value === u ? r.value = null : r.value = u
34
34
  }, [
35
35
  n.enumerate ? (t(), s("span", Yt, k(_ + 1) + ". ", 1)) : y("", !0),
36
- Q(" " + k(n.headers[c] ? l(n.headers[c]) : e(L)(c)), 1)
36
+ Q(" " + k(n.headers[u] ? l(n.headers[u]) : e(L)(u)), 1)
37
37
  ], 8, Xt)), [
38
38
  [i]
39
39
  ]),
40
- r.value === c ? (t(), s("div", Jt, [
41
- C(n.$slots, c, {}, void 0, !0)
40
+ r.value === u ? (t(), s("div", Jt, [
41
+ C(n.$slots, u, {}, void 0, !0)
42
42
  ])) : y("", !0)
43
43
  ]))), 128))
44
44
  ], 2);
45
45
  };
46
46
  }
47
47
  });
48
- const K = (u, r) => {
49
- const l = u.__vccOpts || u;
50
- for (const [n, a] of r)
51
- l[n] = a;
48
+ const K = (c, r) => {
49
+ const l = c.__vccOpts || c;
50
+ for (const [n, o] of r)
51
+ l[n] = o;
52
52
  return l;
53
53
  }, Fl = /* @__PURE__ */ K(Zt, [["__scopeId", "data-v-3ea933d4"]]), Pt = /* @__PURE__ */ E({
54
54
  __name: "aeria-badge",
@@ -56,7 +56,7 @@ const K = (u, r) => {
56
56
  large: { type: Boolean },
57
57
  alt: { type: Boolean }
58
58
  },
59
- setup(u) {
59
+ setup(c) {
60
60
  return (r, l) => (t(), s("div", {
61
61
  class: X(`
62
62
  badge
@@ -74,16 +74,16 @@ const $e = /* @__PURE__ */ K(Pt, [["__scopeId", "data-v-47f92648"]]), Nt = /* @_
74
74
  disabled: { type: Boolean }
75
75
  },
76
76
  emits: ["click"],
77
- setup(u, { emit: r }) {
78
- const l = u, n = r, a = (i) => {
77
+ setup(c, { emit: r }) {
78
+ const l = c, n = r, o = (i) => {
79
79
  l.disabled || n("click", i);
80
80
  };
81
- return (i, c) => (t(), s("button", {
81
+ return (i, u) => (t(), s("button", {
82
82
  class: X(`
83
83
  barebutton
84
84
  barebutton--${i.disabled ? "disabled" : "enabled"}
85
85
  `),
86
- onClick: a
86
+ onClick: o
87
87
  }, [
88
88
  C(i.$slots, "default", {}, void 0, !0)
89
89
  ], 2));
@@ -103,24 +103,24 @@ const ve = /* @__PURE__ */ K(Nt, [["__scopeId", "data-v-35bc81ae"]]), xt = ["hre
103
103
  iconRight: { type: Boolean },
104
104
  active: { type: Boolean }
105
105
  },
106
- setup(u) {
107
- const r = u, l = typeof r.reactive == "boolean" ? r.reactive : _e("iconReactive", !1), n = W(() => {
108
- var a;
109
- return (a = r.icon) != null && a.includes(":") ? r.icon : `regular:${r.icon}`;
106
+ setup(c) {
107
+ const r = c, l = typeof r.reactive == "boolean" ? r.reactive : _e("iconReactive", !1), n = W(() => {
108
+ var o;
109
+ return (o = r.icon) != null && o.includes(":") ? r.icon : `regular:${r.icon}`;
110
110
  });
111
- return (a, i) => (t(), s("a", {
111
+ return (o, i) => (t(), s("a", {
112
112
  class: X(`
113
113
  icon
114
114
  ${e(l) && "icon--reactive"}
115
- ${a.active && "icon--active"}
116
- ${a.$slots.default ? "icon--centered" : "icon--standalone"}
115
+ ${o.active && "icon--active"}
116
+ ${o.$slots.default ? "icon--centered" : "icon--standalone"}
117
117
  `)
118
118
  }, [
119
119
  I("div", {
120
120
  class: X(`
121
121
  icon__icon
122
- ${a.size && `icon__icon--${a.size}`}
123
- ${a.iconRight && "icon__icon--right"}
122
+ ${o.size && `icon__icon--${o.size}`}
123
+ ${o.iconRight && "icon__icon--right"}
124
124
  `)
125
125
  }, [
126
126
  (t(), s("svg", G({
@@ -129,20 +129,20 @@ const ve = /* @__PURE__ */ K(Nt, [["__scopeId", "data-v-35bc81ae"]]), xt = ["hre
129
129
  viewBox: "0 0 256 256",
130
130
  "data-component": "icon"
131
131
  }, {
132
- ...a.fill ? { fill: a.fill } : {}
132
+ ...o.fill ? { fill: o.fill } : {}
133
133
  }), [
134
134
  I("use", {
135
135
  href: `/assets/icons.svg#${n.value}`
136
136
  }, null, 8, xt)
137
137
  ], 16))
138
138
  ], 2),
139
- a.$slots.default ? (t(), s("div", en, [
140
- C(a.$slots, "default", {}, void 0, !0)
139
+ o.$slots.default ? (t(), s("div", en, [
140
+ C(o.$slots, "default", {}, void 0, !0)
141
141
  ])) : y("", !0)
142
142
  ], 2));
143
143
  }
144
144
  });
145
- const Z = /* @__PURE__ */ K(tn, [["__scopeId", "data-v-0826507c"]]), nn = { class: "panel__header-left" }, on = { key: 1 }, an = {
145
+ const Z = /* @__PURE__ */ K(tn, [["__scopeId", "data-v-6d36de33"]]), nn = { class: "panel__header-left" }, on = { key: 1 }, an = {
146
146
  key: 2,
147
147
  style: { "margin-left": "auto" }
148
148
  }, ln = /* @__PURE__ */ E({
@@ -168,69 +168,69 @@ const Z = /* @__PURE__ */ K(tn, [["__scopeId", "data-v-0826507c"]]), nn = { clas
168
168
  overlayLayer: {}
169
169
  },
170
170
  emits: ["update:modelValue", "update:collapsed", "update:closeHint", "overlayClick", "close"],
171
- setup(u, { emit: r }) {
172
- const l = u, n = r, a = W(() => l.floating || l.float), i = J(l.collapsed), c = J(null), { reachedEnd: _ } = Ze(c), d = () => {
171
+ setup(c, { emit: r }) {
172
+ const l = c, n = r, o = W(() => l.floating || l.float), i = J(l.collapsed), u = J(null), { reachedEnd: _ } = Ze(u), d = () => {
173
173
  n("update:modelValue", !1), n("close");
174
174
  }, b = () => {
175
175
  n("overlayClick");
176
- }, p = (o) => {
177
- n("update:collapsed", o), i.value = o;
176
+ }, p = (a) => {
177
+ n("update:collapsed", a), i.value = a;
178
178
  };
179
- return (o, m) => {
179
+ return (a, m) => {
180
180
  const A = oe("clickable"), h = oe("loading"), S = oe("overlay");
181
- return o.modelValue ? x((t(), s("div", {
181
+ return a.modelValue ? x((t(), s("div", {
182
182
  key: 0,
183
183
  class: X(`
184
184
  panel
185
- ${o.fixedRight && "panel--fixed"}
185
+ ${a.fixedRight && "panel--fixed"}
186
186
  `)
187
187
  }, [
188
188
  (t(), $(be(
189
- a.value ? "dialog" : "div"
189
+ o.value ? "dialog" : "div"
190
190
  ), {
191
191
  "data-component": "panel",
192
192
  class: X(`
193
193
  aeria-surface
194
194
  panel__content
195
- ${a.value && "panel__content--floating"}
196
- ${o.bordered && "panel__content--bordered"}
197
- ${o.fixedRight && "panel__content--fixed-right"}
198
- ${o.transparent && "panel__content--transparent"}
199
- ${o.transparentMobile && "panel__content--transparent-mobile"}
200
- ${o.outerHeader && "panel__content--outer-header"}
195
+ ${o.value && "panel__content--floating"}
196
+ ${a.bordered && "panel__content--bordered"}
197
+ ${a.fixedRight && "panel__content--fixed-right"}
198
+ ${a.transparent && "panel__content--transparent"}
199
+ ${a.transparentMobile && "panel__content--transparent-mobile"}
200
+ ${a.outerHeader && "panel__content--outer-header"}
201
201
  `),
202
202
  onClick: m[2] || (m[2] = (j) => j.stopPropagation())
203
203
  }, {
204
204
  default: v(() => [
205
- o.$slots.header || o.title ? (t(), s("div", {
205
+ a.$slots.header || a.title ? (t(), s("div", {
206
206
  key: 0,
207
207
  class: X(`
208
208
  panel__header
209
209
  ${i.value && "panel__header--collapsed"}
210
- ${o.outerHeader && "panel__header--outer"}
210
+ ${a.outerHeader && "panel__header--outer"}
211
211
  `)
212
212
  }, [
213
213
  I("div", nn, [
214
- o.$slots.header ? C(o.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (t(), s("div", on, k(o.title), 1)) : y("", !0),
215
- o.$slots.extra ? (t(), s("div", an, [
216
- C(o.$slots, "extra", {}, void 0, !0)
214
+ a.$slots.header ? C(a.$slots, "header", { key: 0 }, void 0, !0) : a.title ? (t(), s("div", on, k(a.title), 1)) : y("", !0),
215
+ a.$slots.extra ? (t(), s("div", an, [
216
+ C(a.$slots, "extra", {}, void 0, !0)
217
217
  ])) : y("", !0)
218
218
  ]),
219
- o.collapsible && i.value ? x((t(), $(Z, {
219
+ a.collapsible && i.value ? x((t(), $(Z, {
220
220
  key: 0,
221
221
  reactive: "",
222
222
  icon: "plus",
223
223
  onClick: m[0] || (m[0] = (j) => p(!i.value))
224
224
  }, null, 512)), [
225
225
  [A]
226
- ]) : o.collapsible && !i.value ? x((t(), $(Z, {
226
+ ]) : a.collapsible && !i.value ? x((t(), $(Z, {
227
227
  key: 1,
228
228
  reactive: "",
229
229
  icon: "minus",
230
230
  onClick: m[1] || (m[1] = (j) => p(!i.value))
231
231
  }, null, 512)), [
232
232
  [A]
233
- ]) : o.closeHint ? x((t(), $(Z, {
233
+ ]) : a.closeHint ? x((t(), $(Z, {
234
234
  key: 2,
235
235
  reactive: "",
236
236
  icon: "x",
@@ -242,35 +242,35 @@ const Z = /* @__PURE__ */ K(tn, [["__scopeId", "data-v-0826507c"]]), nn = { clas
242
242
  i.value ? y("", !0) : x((t(), s("div", {
243
243
  key: 1,
244
244
  ref_key: "body",
245
- ref: c,
245
+ ref: u,
246
246
  class: X(`
247
247
  panel__body
248
- ${o.fill || "panel__body--padded"}
248
+ ${a.fill || "panel__body--padded"}
249
249
  `)
250
250
  }, [
251
- C(o.$slots, "default", {}, void 0, !0)
251
+ C(a.$slots, "default", {}, void 0, !0)
252
252
  ], 2)), [
253
- [h, o.loading]
253
+ [h, a.loading]
254
254
  ]),
255
- o.$slots.footer ? (t(), s("div", {
255
+ a.$slots.footer ? (t(), s("div", {
256
256
  key: 2,
257
257
  class: X(`
258
258
  panel__footer
259
- ${o.fillFooter || "panel__footer--padded"}
259
+ ${a.fillFooter || "panel__footer--padded"}
260
260
  ${e(_) || "panel__footer--shadowed"}
261
261
  `)
262
262
  }, [
263
- C(o.$slots, "footer", {}, void 0, !0)
263
+ C(a.$slots, "footer", {}, void 0, !0)
264
264
  ], 2)) : y("", !0)
265
265
  ]),
266
266
  _: 3
267
267
  }, 8, ["class"]))
268
268
  ], 2)), [
269
269
  [S, {
270
- condition: o.overlay || o.fixedRight || a.value,
271
- invisible: o.invisibleOverlay,
270
+ condition: a.overlay || a.fixedRight || o.value,
271
+ invisible: a.invisibleOverlay,
272
272
  click: b,
273
- layer: o.overlayLayer || (a.value ? 60 : o.fixedRight ? 50 : 0)
273
+ layer: a.overlayLayer || (o.value ? 60 : a.fixedRight ? 50 : 0)
274
274
  }]
275
275
  ]) : y("", !0);
276
276
  };
@@ -290,8 +290,8 @@ const Be = /* @__PURE__ */ K(ln, [["__scopeId", "data-v-73b47cf0"]]), sn = { cla
290
290
  disabled: { type: Boolean },
291
291
  loading: { type: Boolean }
292
292
  },
293
- setup(u) {
294
- const r = u, l = _e("buttonVariant", r.variant) || "primary", n = (() => {
293
+ setup(c) {
294
+ const r = c, l = _e("buttonVariant", r.variant) || "primary", n = (() => {
295
295
  switch (!0) {
296
296
  case r.small:
297
297
  return "small";
@@ -300,28 +300,28 @@ const Be = /* @__PURE__ */ K(ln, [["__scopeId", "data-v-73b47cf0"]]), sn = { cla
300
300
  }
301
301
  return _e("buttonSize", r.size) || "medium";
302
302
  })();
303
- return (a, i) => (t(), $(ve, {
303
+ return (o, i) => (t(), $(ve, {
304
304
  class: X(`
305
305
  button
306
306
  button--${e(l)}
307
307
  button--${e(n)}
308
- ${a.loading && "button--loading"}
308
+ ${o.loading && "button--loading"}
309
309
  `),
310
- disabled: a.disabled
310
+ disabled: o.disabled
311
311
  }, {
312
312
  default: v(() => [
313
- a.icon ? (t(), $(Z, {
313
+ o.icon ? (t(), $(Z, {
314
314
  key: 0,
315
- icon: a.icon
315
+ icon: o.icon
316
316
  }, {
317
317
  default: v(() => [
318
318
  I("div", sn, [
319
- C(a.$slots, "default", {}, void 0, !0)
319
+ C(o.$slots, "default", {}, void 0, !0)
320
320
  ])
321
321
  ]),
322
322
  _: 3
323
323
  }, 8, ["icon"])) : (t(), s("div", rn, [
324
- C(a.$slots, "default", {}, void 0, !0)
324
+ C(o.$slots, "default", {}, void 0, !0)
325
325
  ]))
326
326
  ]),
327
327
  _: 3
@@ -334,7 +334,7 @@ const re = /* @__PURE__ */ K(un, [["__scopeId", "data-v-c328251b"]]), cn = { cla
334
334
  inactive: { type: Boolean },
335
335
  horizontal: { type: Boolean }
336
336
  },
337
- setup(u) {
337
+ setup(c) {
338
338
  return (r, l) => (t(), s("div", {
339
339
  class: X(`
340
340
  card
@@ -370,23 +370,23 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
370
370
  overlayLayer: {}
371
371
  },
372
372
  emits: ["actionClick"],
373
- setup(u, { emit: r }) {
373
+ setup(c, { emit: r }) {
374
374
  It((d) => ({
375
375
  "036683e2": _.value.x,
376
376
  "036683e0": _.value.y
377
377
  }));
378
- const l = r, n = J(null), a = J(!1), i = (d) => d == null ? void 0 : d.filter((b) => {
378
+ const l = r, n = J(null), o = J(!1), i = (d) => d == null ? void 0 : d.filter((b) => {
379
379
  if (b.roles) {
380
380
  const p = ie("user");
381
381
  return Vt(b.roles, p.currentUser.roles);
382
382
  }
383
383
  return !0;
384
- }), c = (d, b) => {
384
+ }), u = (d, b) => {
385
385
  const p = b && Ce(b);
386
386
  d.click && d.click(p), l("actionClick", {
387
387
  action: d,
388
388
  subject: p
389
- }), a.value = !1;
389
+ }), o.value = !1;
390
390
  }, _ = W(() => {
391
391
  if (!n.value)
392
392
  return {
@@ -395,7 +395,7 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
395
395
  };
396
396
  const d = n.value.getBoundingClientRect().top, b = n.value.getBoundingClientRect().left, p = n.value.offsetHeight;
397
397
  return {
398
- _: a.value,
398
+ _: o.value,
399
399
  x: Math.floor(b) + "px",
400
400
  y: Math.floor(d + p) + "px"
401
401
  };
@@ -403,7 +403,7 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
403
403
  return (d, b) => {
404
404
  const p = oe("overlay");
405
405
  return t(), s(N, null, [
406
- Object.keys(d.$slots).some((o) => o !== "default") || d.actions !== void 0 && d.actions.length > 0 ? (t(), s("div", {
406
+ Object.keys(d.$slots).some((a) => a !== "default") || d.actions !== void 0 && d.actions.length > 0 ? (t(), s("div", {
407
407
  key: 0,
408
408
  ref_key: "contextmenu",
409
409
  ref: n,
@@ -411,20 +411,20 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
411
411
  }, [
412
412
  I("a", {
413
413
  class: "contextmenu__trigger",
414
- onClick: b[0] || (b[0] = (o) => a.value = !0)
414
+ onClick: b[0] || (b[0] = (a) => o.value = !0)
415
415
  }, [
416
416
  C(d.$slots, "default", de(ge({
417
- visible: a.value
417
+ visible: o.value
418
418
  })), void 0, !0)
419
419
  ])
420
420
  ], 512)) : y("", !0),
421
- a.value ? (t(), $(Je, {
421
+ o.value ? (t(), $(Je, {
422
422
  key: 1,
423
423
  to: "main"
424
424
  }, [
425
425
  x((t(), $(Be, {
426
- modelValue: a.value,
427
- "onUpdate:modelValue": b[4] || (b[4] = (o) => a.value = o),
426
+ modelValue: o.value,
427
+ "onUpdate:modelValue": b[4] || (b[4] = (a) => o.value = a),
428
428
  fill: "",
429
429
  bordered: "",
430
430
  class: "content",
@@ -435,17 +435,17 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
435
435
  d.$slots.header ? (t(), s("div", yn, [
436
436
  C(d.$slots, "header", {}, void 0, !0)
437
437
  ])) : y("", !0),
438
- Object.keys(d.$slots).filter((o) => !["default", "extra", "header"].includes(o)).length > 0 ? (t(), s("div", {
438
+ Object.keys(d.$slots).filter((a) => !["default", "extra", "header"].includes(a)).length > 0 ? (t(), s("div", {
439
439
  key: 1,
440
440
  class: "content__section",
441
- onClick: b[1] || (b[1] = (o) => a.value = !1)
441
+ onClick: b[1] || (b[1] = (a) => o.value = !1)
442
442
  }, [
443
- (t(!0), s(N, null, D(Object.keys(d.$slots).filter((o) => !["default", "extra", "header"].includes(o)), (o, m) => (t(), $(ve, {
443
+ (t(!0), s(N, null, D(Object.keys(d.$slots).filter((a) => !["default", "extra", "header"].includes(a)), (a, m) => (t(), $(ve, {
444
444
  key: `slot-${m}`,
445
445
  class: "content__item content__item--reactive"
446
446
  }, {
447
447
  default: v(() => [
448
- C(d.$slots, o, {}, void 0, !0)
448
+ C(d.$slots, a, {}, void 0, !0)
449
449
  ]),
450
450
  _: 2
451
451
  }, 1024))), 128))
@@ -453,20 +453,20 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
453
453
  d.actions !== void 0 && d.actions.length > 0 ? (t(), s("div", {
454
454
  key: 2,
455
455
  class: "content__section",
456
- onClick: b[2] || (b[2] = (o) => a.value = !1)
456
+ onClick: b[2] || (b[2] = (a) => o.value = !1)
457
457
  }, [
458
- (t(!0), s(N, null, D(i(d.actions), (o, m) => (t(), $(ve, {
458
+ (t(!0), s(N, null, D(i(d.actions), (a, m) => (t(), $(ve, {
459
459
  key: `action-${m}`,
460
460
  class: "content__item content__item--reactive",
461
- onClick: (A) => c(o, d.subject)
461
+ onClick: (A) => u(a, d.subject)
462
462
  }, {
463
463
  default: v(() => [
464
- o.icon ? (t(), $(Z, {
464
+ a.icon ? (t(), $(Z, {
465
465
  key: 0,
466
- icon: o.icon
466
+ icon: a.icon
467
467
  }, {
468
468
  default: v(() => [
469
- Q(k(o.translate ? e(L)(o.label, { capitalize: !0 }) : o.label), 1)
469
+ Q(k(a.translate ? e(L)(a.label, { capitalize: !0 }) : a.label), 1)
470
470
  ]),
471
471
  _: 2
472
472
  }, 1032, ["icon"])) : y("", !0)
@@ -477,7 +477,7 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
477
477
  d.$slots.extra ? (t(), s("div", {
478
478
  key: 3,
479
479
  class: "content__section",
480
- onClick: b[3] || (b[3] = (o) => a.value = !1)
480
+ onClick: b[3] || (b[3] = (a) => o.value = !1)
481
481
  }, [
482
482
  I("div", bn, [
483
483
  d.$slots.extra ? C(d.$slots, "extra", { key: 0 }, void 0, !0) : y("", !0)
@@ -492,7 +492,7 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
492
492
  {
493
493
  layer: d.overlayLayer,
494
494
  click: () => {
495
- a.value = !1;
495
+ o.value = !1;
496
496
  }
497
497
  },
498
498
  void 0,
@@ -509,12 +509,12 @@ const Oe = /* @__PURE__ */ K(hn, [["__scopeId", "data-v-a03802b2"]]), $n = { cla
509
509
  props: {
510
510
  where: { default: "top" }
511
511
  },
512
- setup(u) {
512
+ setup(c) {
513
513
  const r = qe(), l = J(!1);
514
- return (n, a) => e(r).md ? (t(), s("div", {
514
+ return (n, o) => e(r).md ? (t(), s("div", {
515
515
  key: 0,
516
516
  class: "info",
517
- onMouseleave: a[1] || (a[1] = (i) => l.value = !1)
517
+ onMouseleave: o[1] || (o[1] = (i) => l.value = !1)
518
518
  }, [
519
519
  l.value ? (t(), s("div", {
520
520
  key: 0,
@@ -528,7 +528,7 @@ const Oe = /* @__PURE__ */ K(hn, [["__scopeId", "data-v-a03802b2"]]), $n = { cla
528
528
  ])
529
529
  ], 2)) : y("", !0),
530
530
  I("div", {
531
- onMouseover: a[0] || (a[0] = (i) => l.value = !0)
531
+ onMouseover: o[0] || (o[0] = (i) => l.value = !0)
532
532
  }, [
533
533
  C(n.$slots, "default", {}, void 0, !0)
534
534
  ], 32)
@@ -556,20 +556,20 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
556
556
  variant: {}
557
557
  },
558
558
  emits: ["update:modelValue", "input", "change", "clipboardCopy"],
559
- setup(u, { emit: r }) {
559
+ setup(c, { emit: r }) {
560
560
  var B;
561
- const l = u, n = r, a = l.property || {}, i = "icon" in a || "inputType" in a && a.inputType === "search", c = _e("searchOnly", !1), _ = _e("innerInputLabel", !1), d = !c && (l.readOnly || a.readOnly), b = (R) => (n("clipboardCopy", R), navigator.clipboard.writeText(R)), p = _e("inputVariant", l.variant) || "normal", o = Object.assign(Object.assign({}, l), {
561
+ const l = c, n = r, o = l.property || {}, i = "icon" in o || "inputType" in o && o.inputType === "search", u = _e("searchOnly", !1), _ = _e("innerInputLabel", !1), d = !u && (l.readOnly || o.readOnly), b = (R) => (n("clipboardCopy", R), navigator.clipboard.writeText(R)), p = _e("inputVariant", l.variant) || "normal", a = Object.assign(Object.assign({}, l), {
562
562
  name: l.propertyName,
563
563
  readonly: d,
564
564
  type: (() => {
565
- if ("type" in a)
566
- switch (a.type) {
565
+ if ("type" in o)
566
+ switch (o.type) {
567
567
  case "number":
568
568
  case "integer":
569
569
  return "number";
570
570
  }
571
- if (a.inputType)
572
- return a.inputType;
571
+ if (o.inputType)
572
+ return o.inputType;
573
573
  switch (typeof l.modelValue) {
574
574
  case "string":
575
575
  return "text";
@@ -579,9 +579,9 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
579
579
  return "text";
580
580
  }
581
581
  })(),
582
- placeholder: _ ? a.description || l.propertyName : a.placeholder
582
+ placeholder: _ ? o.description || l.propertyName : o.placeholder
583
583
  });
584
- "type" in a && ((a.type === "number" || a.type === "integer") && (a.minimum && (o.min = a.minimum), a.exclusiveMinimum && (o.min = a.exclusiveMinimum + 1), a.maximum && (o.max = a.maximum), a.exclusiveMaximum && (o.max = a.exclusiveMaximum - 1)), a.type === "string" && ((a.format === "date" || a.format === "date-time") && (o.type = !c && a.format === "date-time" ? "datetime-local" : "date"), o.minlength = a.minLength, o.maxlength = a.maxLength)), o.type === "text" && c && (o.type = "search"), ht(() => {
584
+ "type" in o && ((o.type === "number" || o.type === "integer") && (o.minimum && (a.min = o.minimum), o.exclusiveMinimum && (a.min = o.exclusiveMinimum + 1), o.maximum && (a.max = o.maximum), o.exclusiveMaximum && (a.max = o.exclusiveMaximum - 1)), o.type === "string" && ((o.format === "date" || o.format === "date-time") && (a.type = !u && o.format === "date-time" ? "datetime-local" : "date"), a.minlength = o.minLength, a.maxlength = o.maxLength)), a.type === "text" && u && (a.type = "search"), ht(() => {
585
585
  l.modelValue !== null && j(l.modelValue);
586
586
  });
587
587
  const m = (R) => {
@@ -597,7 +597,7 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
597
597
  return R ? h.enmask(String(R), void 0, {
598
598
  defaultValue: !0
599
599
  }) : "";
600
- switch (o.type) {
600
+ switch (a.type) {
601
601
  case "date":
602
602
  case "datetime-local":
603
603
  return m(R);
@@ -622,11 +622,11 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
622
622
  const Y = (() => {
623
623
  if (!R || typeof R != "string")
624
624
  return R;
625
- if (o.type === "number" || o.type === "integer")
625
+ if (a.type === "number" || a.type === "integer")
626
626
  return Number(R);
627
- if (!("type" in a && a.type === "string"))
627
+ if (!("type" in o && o.type === "string"))
628
628
  return S(R);
629
- switch (a.format) {
629
+ switch (o.format) {
630
630
  case "date":
631
631
  case "date-time":
632
632
  return new Date(R);
@@ -648,7 +648,7 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
648
648
  R.$slots.hint ? (t(), s("div", On, [
649
649
  C(R.$slots, "hint", {}, void 0, !0)
650
650
  ])) : y("", !0),
651
- "element" in e(a) && e(a).element === "textarea" ? (t(), s("div", {
651
+ "element" in e(o) && e(o).element === "textarea" ? (t(), s("div", {
652
652
  key: 2,
653
653
  class: X(`
654
654
  input__container
@@ -657,8 +657,8 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
657
657
  `)
658
658
  }, [
659
659
  x(I("textarea", {
660
- placeholder: e(o).placeholder,
661
- readonly: e(o).readonly,
660
+ placeholder: e(a).placeholder,
661
+ readonly: e(a).readonly,
662
662
  value: R.modelValue,
663
663
  class: X(`
664
664
  input__textarea
@@ -666,7 +666,7 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
666
666
  `),
667
667
  onInput: P
668
668
  }, null, 42, In), [
669
- [w, e(a).focus]
669
+ [w, e(o).focus]
670
670
  ])
671
671
  ], 2)) : (t(), s("div", {
672
672
  key: 3,
@@ -675,7 +675,7 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
675
675
  input__container--${e(p)}
676
676
  `)
677
677
  }, [
678
- x(I("input", G(e(o), {
678
+ x(I("input", G(e(a), {
679
679
  value: A.value,
680
680
  "data-component": "input",
681
681
  class: `
@@ -687,11 +687,11 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
687
687
  onInput: P,
688
688
  onChange: Y[0] || (Y[0] = (V) => n("change", V))
689
689
  }), null, 16, An), [
690
- [w, e(a).focus]
690
+ [w, e(o).focus]
691
691
  ]),
692
692
  e(i) ? (t(), $(Z, {
693
693
  key: 0,
694
- icon: e(a).icon || "magnifying-glass",
694
+ icon: e(o).icon || "magnifying-glass",
695
695
  class: X(`
696
696
  input__icon
697
697
  input__icon--${e(p)}
@@ -736,8 +736,8 @@ const ke = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-bfceb841"]]), Sn = {
736
736
  noOutline: { type: Boolean }
737
737
  },
738
738
  emits: ["update:modelValue", "change"],
739
- setup(u, { emit: r }) {
740
- const l = u, n = r, a = J(null), i = l.property, c = (p) => {
739
+ setup(c, { emit: r }) {
740
+ const l = c, n = r, o = J(null), i = l.property, u = (p) => {
741
741
  l.booleanRef && (_.value = p), n("update:modelValue", (p == null ? void 0 : p._id) || p), n("change", (p == null ? void 0 : p._id) || p);
742
742
  }, _ = l.booleanRef ? (() => {
743
743
  const p = J(l.modelValue);
@@ -758,15 +758,15 @@ const ke = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-bfceb841"]]), Sn = {
758
758
  });
759
759
  })() : W({
760
760
  get: () => l.modelValue,
761
- set: c
761
+ set: u
762
762
  }), d = (p) => Array.isArray(l.modelValue) ? l.modelValue.includes(p) : l.modelValue === p, b = W(() => l.multiple ? typeof l.multiple == "number" ? l.multiple : 5 : 1);
763
763
  return l.multiple && ue(() => l.modelValue, (p) => {
764
764
  var m;
765
- if (!a.value)
765
+ if (!o.value)
766
766
  return;
767
- const o = a.value.querySelector('option[data-selected="true"]');
768
- o && o.removeAttribute("data-selected"), (m = a.value.querySelector(`option[value="${p}"]`)) == null || m.setAttribute("data-selected", "true");
769
- }), (p, o) => p.readOnly ? (t(), $(ke, {
767
+ const a = o.value.querySelector('option[data-selected="true"]');
768
+ a && a.removeAttribute("data-selected"), (m = o.value.querySelector(`option[value="${p}"]`)) == null || m.setAttribute("data-selected", "true");
769
+ }), (p, a) => p.readOnly ? (t(), $(ke, {
770
770
  key: 1,
771
771
  "read-only": "",
772
772
  "model-value": e(_)
@@ -775,13 +775,13 @@ const ke = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-bfceb841"]]), Sn = {
775
775
  value: e(_)
776
776
  }, {
777
777
  ref_key: "select",
778
- ref: a,
778
+ ref: o,
779
779
  class: {
780
780
  select: !0,
781
781
  "select--multiple": !!b.value,
782
782
  "select--outline": !p.noOutline
783
783
  },
784
- onChange: o[0] || (o[0] = (m) => c(m.target.value))
784
+ onChange: a[0] || (a[0] = (m) => u(m.target.value))
785
785
  }), [
786
786
  e(i) && e(i).icon ? (t(), $(Z, {
787
787
  key: 0,
@@ -810,8 +810,8 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
810
810
  noSummary: { type: Boolean }
811
811
  },
812
812
  emits: ["paginate"],
813
- setup(u, { emit: r }) {
814
- const l = u, n = r, a = W({
813
+ setup(c, { emit: r }) {
814
+ const l = c, n = r, o = W({
815
815
  get: () => Math.floor(l.pagination.offset / l.pagination.limit),
816
816
  set: (b) => {
817
817
  l.pagination.offset = b * l.pagination.limit;
@@ -821,22 +821,22 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
821
821
  set: (b) => {
822
822
  l.pagination.limit = Number(b);
823
823
  }
824
- }), c = J(a.value ? a.value + 1 : 1), _ = W(() => Math.ceil(l.pagination.recordsTotal / l.pagination.limit)), d = (b) => {
825
- a.value = b === "previous" ? a.value - 1 : a.value + 1;
824
+ }), u = J(o.value ? o.value + 1 : 1), _ = W(() => Math.ceil(l.pagination.recordsTotal / l.pagination.limit)), d = (b) => {
825
+ o.value = b === "previous" ? o.value - 1 : o.value + 1;
826
826
  };
827
827
  return ue([
828
- a,
828
+ o,
829
829
  i
830
830
  ], ([b]) => {
831
- c.value = b + 1, n("paginate", {
832
- offset: a.value * i.value,
831
+ u.value = b + 1, n("paginate", {
832
+ offset: o.value * i.value,
833
833
  limit: i.value
834
834
  });
835
835
  }), (b, p) => (t(), s("div", Rn, [
836
836
  I("div", Ln, [
837
837
  F(ve, {
838
- disabled: a.value === 0,
839
- onClick: p[0] || (p[0] = (o) => a.value = 0)
838
+ disabled: o.value === 0,
839
+ onClick: p[0] || (p[0] = (a) => o.value = 0)
840
840
  }, {
841
841
  default: v(() => [
842
842
  F(Z, { icon: "caret-double-left" })
@@ -844,8 +844,8 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
844
844
  _: 1
845
845
  }, 8, ["disabled"]),
846
846
  F(ve, {
847
- disabled: a.value === 0,
848
- onClick: p[1] || (p[1] = (o) => d("previous"))
847
+ disabled: o.value === 0,
848
+ onClick: p[1] || (p[1] = (a) => d("previous"))
849
849
  }, {
850
850
  default: v(() => [
851
851
  F(Z, { icon: "caret-left" })
@@ -853,8 +853,8 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
853
853
  _: 1
854
854
  }, 8, ["disabled"]),
855
855
  F(ve, {
856
- disabled: a.value === _.value - 1,
857
- onClick: p[2] || (p[2] = (o) => d("next"))
856
+ disabled: o.value === _.value - 1,
857
+ onClick: p[2] || (p[2] = (a) => d("next"))
858
858
  }, {
859
859
  default: v(() => [
860
860
  F(Z, { icon: "caret-right" })
@@ -862,8 +862,8 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
862
862
  _: 1
863
863
  }, 8, ["disabled"]),
864
864
  F(ve, {
865
- disabled: a.value === _.value - 1,
866
- onClick: p[3] || (p[3] = (o) => a.value = _.value - 1)
865
+ disabled: o.value === _.value - 1,
866
+ onClick: p[3] || (p[3] = (a) => o.value = _.value - 1)
867
867
  }, {
868
868
  default: v(() => [
869
869
  F(Z, { icon: "caret-double-right" })
@@ -872,7 +872,7 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
872
872
  }, 8, ["disabled"]),
873
873
  F(Ge, {
874
874
  modelValue: i.value,
875
- "onUpdate:modelValue": p[4] || (p[4] = (o) => i.value = o),
875
+ "onUpdate:modelValue": p[4] || (p[4] = (a) => i.value = a),
876
876
  property: {
877
877
  enum: [],
878
878
  icon: "list"
@@ -880,10 +880,10 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
880
880
  class: "pagination__control"
881
881
  }, {
882
882
  default: v(() => [
883
- (t(!0), s(N, null, D(e(Mt), (o) => (t(), s("option", {
884
- key: `limit-${o}`,
885
- value: o
886
- }, k(o), 9, zn))), 128))
883
+ (t(!0), s(N, null, D(e(Mt), (a) => (t(), s("option", {
884
+ key: `limit-${a}`,
885
+ value: a
886
+ }, k(a), 9, zn))), 128))
887
887
  ]),
888
888
  _: 1
889
889
  }, 8, ["modelValue"])
@@ -891,16 +891,16 @@ const Ge = /* @__PURE__ */ K(jn, [["__scopeId", "data-v-1c0432ab"]]), Rn = { cla
891
891
  b.noSummary ? y("", !0) : (t(), s("div", Mn, [
892
892
  Q(k(e(L)("Page")) + " ", 1),
893
893
  (t(), $(ke, {
894
- key: a.value,
895
- modelValue: c.value,
896
- "onUpdate:modelValue": p[5] || (p[5] = (o) => c.value = o),
894
+ key: o.value,
895
+ modelValue: u.value,
896
+ "onUpdate:modelValue": p[5] || (p[5] = (a) => u.value = a),
897
897
  property: {
898
898
  type: "number",
899
899
  minimum: 1
900
900
  },
901
901
  style: { height: "100%" },
902
- onChange: p[6] || (p[6] = (o) => {
903
- a.value = c.value === 0 ? 0 : c.value - 1;
902
+ onChange: p[6] || (p[6] = (a) => {
903
+ o.value = u.value === 0 ? 0 : u.value - 1;
904
904
  })
905
905
  }, null, 8, ["modelValue"])),
906
906
  I("span", null, k(e(L)("of")) + " " + k(_.value), 1)
@@ -924,8 +924,8 @@ const Fn = /* @__PURE__ */ K(qn, [["__scopeId", "data-v-ae7235de"]]), Un = { cla
924
924
  variant: {}
925
925
  },
926
926
  emits: ["update:modelValue", "change"],
927
- setup(u, { emit: r }) {
928
- const l = u, n = l.property, a = l.readOnly || (n == null ? void 0 : n.readOnly), i = (() => {
927
+ setup(c, { emit: r }) {
928
+ const l = c, n = l.property, o = l.readOnly || (n == null ? void 0 : n.readOnly), i = (() => {
929
929
  if (n && "type" in n)
930
930
  switch (n.type) {
931
931
  case "array":
@@ -933,7 +933,7 @@ const Fn = /* @__PURE__ */ K(qn, [["__scopeId", "data-v-ae7235de"]]), Un = { cla
933
933
  return "checkbox";
934
934
  }
935
935
  return "radio";
936
- })(), c = r, _ = l.value || !1, d = W({
936
+ })(), u = r, _ = l.value || !1, d = W({
937
937
  get: () => {
938
938
  var p;
939
939
  if (n) {
@@ -946,41 +946,41 @@ const Fn = /* @__PURE__ */ K(qn, [["__scopeId", "data-v-ae7235de"]]), Un = { cla
946
946
  },
947
947
  set: () => {
948
948
  var p;
949
- if (!a) {
949
+ if (!o) {
950
950
  if (n) {
951
951
  if ("type" in n && n.type === "boolean") {
952
- c("update:modelValue", !l.modelValue);
952
+ u("update:modelValue", !l.modelValue);
953
953
  return;
954
954
  }
955
955
  if ("items" in n) {
956
956
  if ((p = l.modelValue) != null && p.includes(_)) {
957
- c("update:modelValue", l.modelValue.filter((o) => o !== _));
957
+ u("update:modelValue", l.modelValue.filter((a) => a !== _));
958
958
  return;
959
959
  }
960
- c("update:modelValue", [_].concat(l.modelValue || []));
960
+ u("update:modelValue", [_].concat(l.modelValue || []));
961
961
  return;
962
962
  }
963
963
  }
964
- c("update:modelValue", l.value);
964
+ u("update:modelValue", l.value);
965
965
  }
966
966
  }
967
967
  }), b = (p) => {
968
- a && p.preventDefault();
968
+ o && p.preventDefault();
969
969
  };
970
- return (p, o) => {
970
+ return (p, a) => {
971
971
  var A, h;
972
972
  const m = oe("clickable");
973
973
  return x((t(), s("label", {
974
974
  class: X(`
975
975
  checkbox
976
- ${e(a) && "checkbox--readOnly"}
976
+ ${e(o) && "checkbox--readOnly"}
977
977
  `)
978
978
  }, [
979
979
  x(I("input", G({
980
- "onUpdate:modelValue": o[0] || (o[0] = (S) => d.value = S)
980
+ "onUpdate:modelValue": a[0] || (a[0] = (S) => d.value = S)
981
981
  }, {
982
982
  type: e(i),
983
- readOnly: e(a),
983
+ readOnly: e(o),
984
984
  checked: d.value
985
985
  }, {
986
986
  class: "checkbox__input",
@@ -1023,8 +1023,8 @@ const Wn = /* @__PURE__ */ K(Gn, [["__scopeId", "data-v-b9da4354"]]), Kn = {
1023
1023
  columns: { default: 1 }
1024
1024
  },
1025
1025
  emits: ["update:modelValue"],
1026
- setup(u, { emit: r }) {
1027
- const l = u, n = r, a = l.readOnly || l.property.readOnly, i = "items" in l.property ? l.property.items.enum : l.property.enum, c = (_) => {
1026
+ setup(c, { emit: r }) {
1027
+ const l = c, n = r, o = l.readOnly || l.property.readOnly, i = "items" in l.property ? l.property.items.enum : l.property.enum, u = (_) => {
1028
1028
  n("update:modelValue", _);
1029
1029
  };
1030
1030
  return $t(() => {
@@ -1045,17 +1045,17 @@ const Wn = /* @__PURE__ */ K(Gn, [["__scopeId", "data-v-b9da4354"]]), Kn = {
1045
1045
  }, [
1046
1046
  F(Wn, G({ ref_for: !0 }, {
1047
1047
  value: b,
1048
- readOnly: e(a),
1048
+ readOnly: e(o),
1049
1049
  property: _.property
1050
1050
  }, {
1051
1051
  "model-value": _.modelValue,
1052
- "onUpdate:modelValue": c
1052
+ "onUpdate:modelValue": u
1053
1053
  }), null, 16, ["model-value"])
1054
1054
  ]))), 128))
1055
1055
  ], 4));
1056
1056
  }
1057
1057
  });
1058
- const Yn = /* @__PURE__ */ K(Xn, [["__scopeId", "data-v-4aed0c5c"]]), Jn = (u) => (De("data-v-0e3564b6"), u = u(), Qe(), u), Zn = { class: "switch-wrapper" }, Pn = /* @__PURE__ */ Jn(() => /* @__PURE__ */ I("div", { class: "switch__slider" }, null, -1)), Nn = { key: 1 }, xn = {
1058
+ const Yn = /* @__PURE__ */ K(Xn, [["__scopeId", "data-v-4aed0c5c"]]), Jn = (c) => (De("data-v-0e3564b6"), c = c(), Qe(), c), Zn = { class: "switch-wrapper" }, Pn = /* @__PURE__ */ Jn(() => /* @__PURE__ */ I("div", { class: "switch__slider" }, null, -1)), Nn = { key: 1 }, xn = {
1059
1059
  inheritAttrs: !1
1060
1060
  }, eo = /* @__PURE__ */ E({
1061
1061
  ...xn,
@@ -1069,8 +1069,8 @@ const Yn = /* @__PURE__ */ K(Xn, [["__scopeId", "data-v-4aed0c5c"]]), Jn = (u) =
1069
1069
  readOnly: { type: Boolean }
1070
1070
  },
1071
1071
  emits: ["update:modelValue", "change"],
1072
- setup(u, { emit: r }) {
1073
- const l = u, n = r, a = l.property, i = l.readOnly || (a == null ? void 0 : a.readOnly), c = () => {
1072
+ setup(c, { emit: r }) {
1073
+ const l = c, n = r, o = l.property, i = l.readOnly || (o == null ? void 0 : o.readOnly), u = () => {
1074
1074
  i || (n("change", !l.modelValue), n("update:modelValue", !l.modelValue));
1075
1075
  };
1076
1076
  return (_, d) => {
@@ -1083,7 +1083,7 @@ const Yn = /* @__PURE__ */ K(Xn, [["__scopeId", "data-v-4aed0c5c"]]), Jn = (u) =
1083
1083
  ${_.modelValue && "switch--active"}
1084
1084
  ${e(i) && "switch--readOnly"}
1085
1085
  `),
1086
- onClick: ze(c, ["stop"])
1086
+ onClick: ze(u, ["stop"])
1087
1087
  }, [
1088
1088
  Pn,
1089
1089
  I("div", {
@@ -1097,12 +1097,12 @@ const Yn = /* @__PURE__ */ K(Xn, [["__scopeId", "data-v-4aed0c5c"]]), Jn = (u) =
1097
1097
  blocked: e(i)
1098
1098
  }]
1099
1099
  ]),
1100
- _.$slots.default ? C(_.$slots, "default", { key: 0 }, void 0, !0) : (t(), s("div", Nn, k(((p = e(a)) == null ? void 0 : p.description) || _.propertyName), 1))
1100
+ _.$slots.default ? C(_.$slots, "default", { key: 0 }, void 0, !0) : (t(), s("div", Nn, k(((p = e(o)) == null ? void 0 : p.description) || _.propertyName), 1))
1101
1101
  ]);
1102
1102
  };
1103
1103
  }
1104
1104
  });
1105
- const to = /* @__PURE__ */ K(eo, [["__scopeId", "data-v-0e3564b6"]]), Ct = (u) => (De("data-v-153a2e0f"), u = u(), Qe(), u), no = { class: "picture" }, oo = {
1105
+ const to = /* @__PURE__ */ K(eo, [["__scopeId", "data-v-0e3564b6"]]), Ct = (c) => (De("data-v-153a2e0f"), c = c(), Qe(), c), no = { class: "picture" }, oo = {
1106
1106
  key: 0,
1107
1107
  style: { position: "fixed", top: "50%", left: "50%", transform: "translate(-50%, -50%)" }
1108
1108
  }, ao = ["src", "alt"], lo = {
@@ -1139,11 +1139,11 @@ const to = /* @__PURE__ */ K(eo, [["__scopeId", "data-v-0e3564b6"]]), Ct = (u) =
1139
1139
  expandable: { type: Boolean },
1140
1140
  meta: {}
1141
1141
  },
1142
- setup(u) {
1143
- const r = u, l = W(() => r.fileId ? `${gt}/file/${r.fileId}/picture` : r.url || r.modelValue), n = J(!1);
1144
- return (a, i) => {
1142
+ setup(c) {
1143
+ const r = c, l = W(() => r.fileId ? `${gt}/file/${r.fileId}/picture` : r.url || r.modelValue), n = J(!1);
1144
+ return (o, i) => {
1145
1145
  var _;
1146
- const c = oe("overlay");
1146
+ const u = oe("overlay");
1147
1147
  return t(), s("figure", no, [
1148
1148
  l.value ? (t(), $(Je, {
1149
1149
  key: 0,
@@ -1152,16 +1152,16 @@ const to = /* @__PURE__ */ K(eo, [["__scopeId", "data-v-0e3564b6"]]), Ct = (u) =
1152
1152
  n.value ? x((t(), s("div", oo, [
1153
1153
  I("img", {
1154
1154
  src: l.value,
1155
- alt: a.alt,
1155
+ alt: o.alt,
1156
1156
  style: `
1157
1157
  max-height: 60vh;
1158
1158
  object-fit: contain;
1159
1159
  `,
1160
1160
  onClick: i[0] || (i[0] = (d) => n.value = !0)
1161
1161
  }, null, 8, ao),
1162
- (_ = a.meta) != null && _.owner ? (t(), s("div", lo, " Criado por " + k(a.meta.owner.name) + " em " + k(a.formatDateTime(a.meta.created_at, { hours: !0 })), 1)) : y("", !0)
1162
+ (_ = o.meta) != null && _.owner ? (t(), s("div", lo, " Criado por " + k(o.meta.owner.name) + " em " + k(o.formatDateTime(o.meta.created_at, { hours: !0 })), 1)) : y("", !0)
1163
1163
  ])), [
1164
- [c, {
1164
+ [u, {
1165
1165
  click: () => {
1166
1166
  n.value = !1;
1167
1167
  }
@@ -1173,33 +1173,33 @@ const to = /* @__PURE__ */ K(eo, [["__scopeId", "data-v-0e3564b6"]]), Ct = (u) =
1173
1173
  src: l.value,
1174
1174
  class: X(`
1175
1175
  picture__image
1176
- ${a.bordered && "picture__image--bordered"}
1177
- ${a.expandable && "picture__image--expandable"}
1176
+ ${o.bordered && "picture__image--bordered"}
1177
+ ${o.expandable && "picture__image--expandable"}
1178
1178
  `),
1179
1179
  style: he(`
1180
- object-fit: ${a.objectFit || "cover"};
1181
- width: ${a.width || "100%"};
1182
- height: ${a.height || "100%"};
1180
+ object-fit: ${o.objectFit || "cover"};
1181
+ width: ${o.width || "100%"};
1182
+ height: ${o.height || "100%"};
1183
1183
  `),
1184
1184
  onClick: i[1] || (i[1] = () => {
1185
- a.expandable && (n.value = !0);
1185
+ o.expandable && (n.value = !0);
1186
1186
  })
1187
- }, null, 14, so)) : a.$slots.fallback ? C(a.$slots, "fallback", { key: 2 }, void 0, !0) : a.$slots.default ? C(a.$slots, "default", { key: 3 }, void 0, !0) : (t(), s("svg", {
1187
+ }, null, 14, so)) : o.$slots.fallback ? C(o.$slots, "fallback", { key: 2 }, void 0, !0) : o.$slots.default ? C(o.$slots, "default", { key: 3 }, void 0, !0) : (t(), s("svg", {
1188
1188
  key: 4,
1189
1189
  class: X(["picture__background", `
1190
- ${a.bordered && "picture__image--bordered"}
1190
+ ${o.bordered && "picture__image--bordered"}
1191
1191
  `]),
1192
1192
  xmlns: "http://www.w3.org/2000/svg",
1193
1193
  viewBox: "0 0 200 200",
1194
1194
  preserveAspectRatio: "none",
1195
1195
  style: he(`
1196
- object-fit: ${a.objectFit || "cover"};
1197
- width: ${a.width || "100%"};
1198
- height: ${a.height || "100%"};
1196
+ object-fit: ${o.objectFit || "cover"};
1197
+ width: ${o.width || "100%"};
1198
+ height: ${o.height || "100%"};
1199
1199
  `)
1200
1200
  }, uo, 6)),
1201
- a.$slots.caption ? (t(), s("figcaption", co, [
1202
- C(a.$slots, "caption", {}, void 0, !0)
1201
+ o.$slots.caption ? (t(), s("figcaption", co, [
1202
+ C(o.$slots, "caption", {}, void 0, !0)
1203
1203
  ])) : y("", !0)
1204
1204
  ]);
1205
1205
  };
@@ -1227,22 +1227,22 @@ const He = /* @__PURE__ */ K(po, [["__scopeId", "data-v-153a2e0f"]]), _o = { cla
1227
1227
  content: {}
1228
1228
  },
1229
1229
  emits: ["update:content", "change", "update:modelValue"],
1230
- setup(u, { emit: r }) {
1230
+ setup(c, { emit: r }) {
1231
1231
  var A;
1232
- const l = u, n = r, i = Fe() ? Ie() : null, c = J(((A = l.modelValue) == null ? void 0 : A.file) || null), _ = W(() => {
1232
+ const l = c, n = r, i = Fe() ? Ie() : null, u = J(((A = l.modelValue) == null ? void 0 : A.file) || null), _ = W(() => {
1233
1233
  var h;
1234
- return c.value ? URL.createObjectURL(c.value) : (h = l.modelValue) == null ? void 0 : h.link;
1234
+ return u.value ? URL.createObjectURL(u.value) : (h = l.modelValue) == null ? void 0 : h.link;
1235
1235
  }), d = W(() => {
1236
1236
  var h, S, j;
1237
- return /^image\//.test((h = l.modelValue) == null ? void 0 : h.type) && !((S = c.value) != null && S.type) || /^image\//.test((j = c.value) == null ? void 0 : j.type);
1237
+ return /^image\//.test((h = l.modelValue) == null ? void 0 : h.type) && !((S = u.value) != null && S.type) || /^image\//.test((j = u.value) == null ? void 0 : j.type);
1238
1238
  }), b = (h) => new Promise((S) => {
1239
1239
  const j = new FileReader();
1240
1240
  j.onload = () => S(j.result), j.readAsArrayBuffer(h);
1241
1241
  }), p = () => {
1242
- l.modelValue.tempId && n("update:modelValue", null), c.value = null;
1243
- }, o = async (h) => {
1244
- c.value = h.target.files[0];
1245
- const S = c.value, j = await b(S);
1242
+ l.modelValue.tempId && n("update:modelValue", null), u.value = null;
1243
+ }, a = async (h) => {
1244
+ u.value = h.target.files[0];
1245
+ const S = u.value, j = await b(S);
1246
1246
  if (i) {
1247
1247
  const { data: { error: P, result: B } } = await qt(`${gt}/${i.$id}/upload?name=${S.name}`, j, {
1248
1248
  params: {
@@ -1268,7 +1268,7 @@ const He = /* @__PURE__ */ K(po, [["__scopeId", "data-v-153a2e0f"]]), _o = { cla
1268
1268
  return (h, S) => {
1269
1269
  var j, P, B, R, Y, w;
1270
1270
  return t(), s("div", _o, [
1271
- c.value || (j = h.modelValue) != null && j._id ? (t(), s("div", mo, [
1271
+ u.value || (j = h.modelValue) != null && j._id ? (t(), s("div", mo, [
1272
1272
  d.value ? (t(), $(He, {
1273
1273
  key: 0,
1274
1274
  modelValue: _.value,
@@ -1290,9 +1290,9 @@ const He = /* @__PURE__ */ K(po, [["__scopeId", "data-v-153a2e0f"]]), _o = { cla
1290
1290
  ref: "file",
1291
1291
  type: "file",
1292
1292
  accept: (Y = (R = h.property) == null ? void 0 : R.accept) == null ? void 0 : Y.join(","),
1293
- onChange: o
1293
+ onChange: a
1294
1294
  }, null, 40, yo),
1295
- c.value ? (t(), s("div", bo, [
1295
+ u.value ? (t(), s("div", bo, [
1296
1296
  F(re, {
1297
1297
  small: "",
1298
1298
  onClick: ze(p, ["prevent"])
@@ -1327,23 +1327,23 @@ const go = /* @__PURE__ */ K($o, [["__scopeId", "data-v-e6cdde77"]]), ko = { cla
1327
1327
  observeScroll: { type: Boolean }
1328
1328
  },
1329
1329
  emits: ["endReached"],
1330
- setup(u, { emit: r }) {
1331
- const l = u, n = r, a = J(null), i = l.observeScroll ? Ze(a, {
1330
+ setup(c, { emit: r }) {
1331
+ const l = c, n = r, o = J(null), i = l.observeScroll ? Ze(o, {
1332
1332
  antecipate: 100
1333
1333
  }).reachedEnd : null;
1334
- return i !== null && ue(i, (c) => {
1335
- c && n("endReached", c);
1336
- }), (c, _) => (t(), s("div", ko, [
1337
- c.$slots.default ? (t(), s("div", {
1334
+ return i !== null && ue(i, (u) => {
1335
+ u && n("endReached", u);
1336
+ }), (u, _) => (t(), s("div", ko, [
1337
+ u.$slots.default ? (t(), s("div", {
1338
1338
  key: 0,
1339
1339
  ref_key: "containerEl",
1340
- ref: a,
1340
+ ref: o,
1341
1341
  class: "container__content"
1342
1342
  }, [
1343
- C(c.$slots, "default", {}, void 0, !0)
1343
+ C(u.$slots, "default", {}, void 0, !0)
1344
1344
  ], 512)) : y("", !0),
1345
- c.$slots.footer ? (t(), s("div", Vo, [
1346
- C(c.$slots, "footer", {}, void 0, !0)
1345
+ u.$slots.footer ? (t(), s("div", Vo, [
1346
+ C(u.$slots, "footer", {}, void 0, !0)
1347
1347
  ])) : y("", !0)
1348
1348
  ]));
1349
1349
  }
@@ -1358,14 +1358,14 @@ const mt = /* @__PURE__ */ K(Co, [["__scopeId", "data-v-c86e2d2a"]]), Oo = { cla
1358
1358
  readOnly: { type: Boolean }
1359
1359
  },
1360
1360
  emits: ["update:modelValue", "change"],
1361
- setup(u, { emit: r }) {
1362
- const l = Ae(), n = u, a = r, i = n.property, c = me(i), _ = Ie(), d = W(() => Array.isArray(n.modelValue) ? Array.isArray(n.modelValue) && Object.values(n.modelValue).some(({ _id: m }) => n.item._id === m) : n.modelValue && n.modelValue._id === n.item._id), b = () => {
1361
+ setup(c, { emit: r }) {
1362
+ const l = Ae(), n = c, o = r, i = n.property, u = me(i), _ = Ie(), d = W(() => Array.isArray(n.modelValue) ? Array.isArray(n.modelValue) && Object.values(n.modelValue).some(({ _id: m }) => n.item._id === m) : n.modelValue && n.modelValue._id === n.item._id), b = () => {
1363
1363
  if (d.value)
1364
1364
  return;
1365
1365
  const m = (h) => h.filter((S) => !!(S != null && S._id)), A = "items" in i ? m(Array.isArray(n.modelValue) ? n.modelValue : [n.modelValue]) : n.modelValue;
1366
- Array.isArray(A) ? a("update:modelValue", A.concat([n.item])) : a("update:modelValue", n.item), a("change", n.item);
1366
+ Array.isArray(A) ? o("update:modelValue", A.concat([n.item])) : o("update:modelValue", n.item), o("change", n.item);
1367
1367
  }, p = async (m) => {
1368
- if (c.purge && (m != null && m.purge)) {
1368
+ if (u.purge && (m != null && m.purge)) {
1369
1369
  const { _id: h } = n.item;
1370
1370
  await _.$actions.remove({
1371
1371
  filters: {
@@ -1377,11 +1377,11 @@ const mt = /* @__PURE__ */ K(Co, [["__scopeId", "data-v-c86e2d2a"]]), Oo = { cla
1377
1377
  const h = [...n.modelValue], S = h.findIndex((j) => j._id === n.item._id);
1378
1378
  return h.splice(S, 1), h;
1379
1379
  };
1380
- a("update:modelValue", "items" in i ? A() : null);
1381
- }, o = () => {
1380
+ o("update:modelValue", "items" in i ? A() : null);
1381
+ }, a = () => {
1382
1382
  if (n.readOnly) {
1383
1383
  l.push({
1384
- path: `/dashboard/c/${c.$ref}/${n.item._id}`
1384
+ path: `/dashboard/c/${u.$ref}/${n.item._id}`
1385
1385
  });
1386
1386
  return;
1387
1387
  }
@@ -1394,7 +1394,7 @@ const mt = /* @__PURE__ */ K(Co, [["__scopeId", "data-v-c86e2d2a"]]), Oo = { cla
1394
1394
  item: !0,
1395
1395
  "item--selected": d.value
1396
1396
  }),
1397
- onClick: o
1397
+ onClick: a
1398
1398
  }, [
1399
1399
  C(m.$slots, "default", {}, void 0, !0),
1400
1400
  I("div", Oo, [
@@ -1430,13 +1430,13 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1430
1430
  panel: { default: void 0 }
1431
1431
  },
1432
1432
  emits: ["update:modelValue", "change", "update:panel"],
1433
- setup(u, { emit: r }) {
1434
- const l = u, n = me(l.property), a = l.panel !== void 0 ? W(() => l.panel) : J(!1), i = r, c = ie(me(l.property).$ref), _ = Fe(), d = _ ? Ie() : null, b = n.indexes;
1433
+ setup(c, { emit: r }) {
1434
+ const l = c, n = me(l.property), o = l.panel !== void 0 ? W(() => l.panel) : J(!1), i = r, u = ie(me(l.property).$ref), _ = Fe(), d = _ ? Ie() : null, b = n.indexes;
1435
1435
  ye(Ue, me(l.property).$ref), ye("innerInputLabel", !0), ye("omitInputLabels", !0);
1436
- const p = J(l.modelValue), o = J({
1436
+ const p = J(l.modelValue), a = J({
1437
1437
  data: [],
1438
1438
  pagination: {}
1439
- }), m = W(() => o.value.data), A = W(() => o.value.pagination), h = J(0), S = J(b[0]), j = J(!1), P = J({}), B = () => {
1439
+ }), m = W(() => a.value.data), A = W(() => a.value.pagination), h = J(0), S = J(b[0]), j = J(!1), P = J({}), B = () => {
1440
1440
  const z = {};
1441
1441
  if (_) {
1442
1442
  const U = e(_);
@@ -1447,7 +1447,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1447
1447
  m.value.length < A.value.recordsTotal && (h.value += 1, w());
1448
1448
  }, Y = async () => {
1449
1449
  if (Object.values(P.value).every((U) => !(String(U).length > 0)))
1450
- return c.$actions.custom("getAll", {
1450
+ return u.$actions.custom("getAll", {
1451
1451
  limit: Ee,
1452
1452
  offset: h.value * Ee,
1453
1453
  filters: B()
@@ -1461,7 +1461,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1461
1461
  $options: "i"
1462
1462
  }
1463
1463
  }));
1464
- return c.$actions.custom("getAll", {
1464
+ return u.$actions.custom("getAll", {
1465
1465
  limit: Ee,
1466
1466
  offset: h.value * Ee,
1467
1467
  filters: {
@@ -1472,7 +1472,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1472
1472
  }
1473
1473
  });
1474
1474
  }, w = async () => {
1475
- if (c.loading.getAll)
1475
+ if (u.loading.getAll)
1476
1476
  return;
1477
1477
  const { error: z, result: U } = await Y();
1478
1478
  if (z) {
@@ -1482,7 +1482,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1482
1482
  });
1483
1483
  return;
1484
1484
  }
1485
- o.value.pagination = U.pagination, h.value === 0 && o.value.data.splice(0), o.value.data.push(...U.data);
1485
+ a.value.pagination = U.pagination, h.value === 0 && a.value.data.splice(0), a.value.data.push(...U.data);
1486
1486
  }, [te] = kt({
1487
1487
  delay: 800
1488
1488
  })(() => {
@@ -1490,9 +1490,9 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1490
1490
  }), V = () => {
1491
1491
  j.value = !0, te();
1492
1492
  }, T = () => {
1493
- "effect" in a ? i("update:panel", !0) : a.value = !0, w();
1493
+ "effect" in o ? i("update:panel", !0) : o.value = !0, w();
1494
1494
  }, ae = () => {
1495
- h.value = 0, o.value.data.splice(0), "effect" in a ? i("update:panel", !1) : a.value = !1;
1495
+ h.value = 0, a.value.data.splice(0), "effect" in o ? i("update:panel", !1) : o.value = !1;
1496
1496
  }, le = W(() => !Object.values(P.value).some((z) => !!z));
1497
1497
  ue(le, (z, U) => {
1498
1498
  z && !U && w();
@@ -1507,7 +1507,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1507
1507
  return (z, U) => {
1508
1508
  const f = oe("clickable");
1509
1509
  return t(), s("div", null, [
1510
- e(a) ? (t(), $(Je, {
1510
+ e(o) ? (t(), $(Je, {
1511
1511
  key: 0,
1512
1512
  to: "main"
1513
1513
  }, [
@@ -1516,7 +1516,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1516
1516
  "close-hint": "",
1517
1517
  title: `${e(L)("action.select", { capitalize: !0 })} ${e(L)(z.propertyName)}`,
1518
1518
  "overlay-layer": 65,
1519
- "model-value": e(a),
1519
+ "model-value": e(o),
1520
1520
  style: { "--panel-max-width": "36rem" },
1521
1521
  onClose: ae,
1522
1522
  onOverlayClick: ae
@@ -1558,7 +1558,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1558
1558
  modelValue: P.value[S.value],
1559
1559
  "onUpdate:modelValue": U[2] || (U[2] = (g) => P.value[S.value] = g),
1560
1560
  property: {
1561
- ...e(c).properties[S.value],
1561
+ ...e(u).properties[S.value],
1562
1562
  inputType: "search"
1563
1563
  },
1564
1564
  onInput: V
@@ -1583,7 +1583,7 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1583
1583
  ]),
1584
1584
  _: 1
1585
1585
  })) : (t(), s("div", To, [
1586
- j.value ? (t(), s("div", jo, k(e(L)("searching", { capitalize: !0 })) + "... ", 1)) : !e(c).loading.getAll && Object.values(P.value).filter((g) => !!g).length > 0 && !("items" in z.property && ((M = z.modelValue) != null && M.length) || !Array.isArray(z.modelValue) && ((H = z.modelValue) != null && H._id)) ? (t(), s("div", Ro, k(e(L)("no_results", { capitalize: !0 })), 1)) : y("", !0)
1586
+ j.value ? (t(), s("div", jo, k(e(L)("searching", { capitalize: !0 })) + "... ", 1)) : !e(u).loading.getAll && Object.values(P.value).filter((g) => !!g).length > 0 && !("items" in z.property && ((M = z.modelValue) != null && M.length) || !Array.isArray(z.modelValue) && ((H = z.modelValue) != null && H._id)) ? (t(), s("div", Ro, k(e(L)("no_results", { capitalize: !0 })), 1)) : y("", !0)
1587
1587
  ]))
1588
1588
  ]),
1589
1589
  I("div", Lo, k(e(L)("showing", { capitalize: !0 })) + " " + k(m.value.length) + " " + k(e(L)("of")) + " " + k(A.value.recordsTotal), 1)
@@ -1642,8 +1642,8 @@ const Xe = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-e8413b98"]]), Ao = { cla
1642
1642
  };
1643
1643
  }
1644
1644
  });
1645
- const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r) => {
1646
- const l = "items" in u ? u.items : u, n = {
1645
+ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (c, r) => {
1646
+ const l = "items" in c ? c.items : c, n = {
1647
1647
  options: Yn,
1648
1648
  select: Ge,
1649
1649
  switch: to,
@@ -1651,33 +1651,33 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1651
1651
  search: Fo,
1652
1652
  input: ke,
1653
1653
  form: We
1654
- }, a = (() => {
1654
+ }, o = (() => {
1655
1655
  if ("type" in l) {
1656
1656
  if (l.type === "object")
1657
1657
  return "form";
1658
1658
  if (l.type === "boolean")
1659
1659
  return "switch";
1660
1660
  }
1661
- if ("element" in u) {
1662
- if (u.element === "checkbox" || u.element === "radio")
1661
+ if ("element" in c) {
1662
+ if (c.element === "checkbox" || c.element === "radio")
1663
1663
  return "options";
1664
- if (u.element === "select")
1664
+ if (c.element === "select")
1665
1665
  return "select";
1666
1666
  }
1667
- const i = me(u);
1668
- return i ? i.inline ? "form" : i.$ref === "file" ? "file" : "search" : "items" in u && u.uniqueItems ? "options" : "enum" in l ? "select" : "input";
1667
+ const i = me(c);
1668
+ return i ? i.inline ? "form" : i.$ref === "file" ? "file" : "search" : "items" in c && c.uniqueItems ? "options" : "enum" in l ? "select" : "input";
1669
1669
  })();
1670
- return r[a] ? r[a] : n[a];
1671
- }, Uo = (u, r, l) => {
1672
- u ?? (u = []);
1670
+ return r[o] ? r[o] : n[o];
1671
+ }, Uo = (c, r, l) => {
1672
+ c ?? (c = []);
1673
1673
  const n = "items" in r ? r.items : r;
1674
1674
  if ("$ref" in n) {
1675
- const a = ie(n.$ref, l), i = Ce(a.$freshItem);
1676
- return u.push(i);
1675
+ const o = ie(n.$ref, l), i = Ce(o.$freshItem);
1676
+ return c.push(i);
1677
1677
  }
1678
- return "properties" in n ? u.push(Wt(n)) : "type" in n && n.type === "boolean" ? u.push({}) : u.push(null);
1679
- }, Eo = (u, r) => {
1680
- u.splice(r, 1);
1678
+ return "properties" in n ? c.push(Wt(n)) : "type" in n && n.type === "boolean" ? c.push({}) : c.push(null);
1679
+ }, Eo = (c, r) => {
1680
+ c.splice(r, 1);
1681
1681
  }, Ho = {
1682
1682
  key: 0,
1683
1683
  class: "form__header"
@@ -1717,14 +1717,14 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1717
1717
  includeTimestamps: { type: Boolean }
1718
1718
  },
1719
1719
  emits: ["update:modelValue", "input", "change", "clipboardCopy"],
1720
- setup(u, { emit: r }) {
1720
+ setup(c, { emit: r }) {
1721
1721
  var U;
1722
- const l = Pe(), n = u, a = r;
1722
+ const l = Pe(), n = c, o = r;
1723
1723
  $t(() => {
1724
- n.modelValue || a("update:modelValue", n.property && "items" in n.property ? [] : {});
1724
+ n.modelValue || o("update:modelValue", n.property && "items" in n.property ? [] : {});
1725
1725
  });
1726
- const i = n.property && me(n.property), c = i ? i.$ref : n.collection || Fe(), _ = n.readOnly || ((U = n.property) == null ? void 0 : U.readOnly), d = c ? ie(e(c)) : null;
1727
- !c && process.env.NODE_ENV !== "production" && console.warn(`aeria-form was used without providing storeId or specifying
1726
+ const i = n.property && me(n.property), u = i ? i.$ref : n.collection || Fe(), _ = n.readOnly || ((U = n.property) == null ? void 0 : U.readOnly), d = u ? ie(e(u)) : null;
1727
+ !u && process.env.NODE_ENV !== "production" && console.warn(`aeria-form was used without providing storeId or specifying
1728
1728
  collection prop, some features may not work as intended`);
1729
1729
  const b = J(!1), p = W(() => {
1730
1730
  const f = (() => !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)();
@@ -1744,23 +1744,23 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1744
1744
  f.created_at || (M.created_at = H), f.created_at || (M.updated_at = H);
1745
1745
  }
1746
1746
  return Object.assign(M, f), M;
1747
- }), o = W(() => n.layout || (d == null ? void 0 : d.description.formLayout)), m = (f) => {
1747
+ }), a = W(() => n.layout || (d == null ? void 0 : d.description.formLayout)), m = (f) => {
1748
1748
  const M = _e(f, n[f]);
1749
1749
  return n[f] && ye(f, n[f]), M;
1750
1750
  }, A = W(() => n.validationErrors !== null ? n.validationErrors : d == null ? void 0 : d.validationErrors), h = m("formComponents") || {}, S = m("propertyComponents") || {}, j = m("omitFormHeader"), P = m("omitInputLabels"), B = m("innerInputLabel");
1751
- c && ye(Ue, c), ye("searchOnly", n.searchOnly);
1751
+ u && ye(Ue, u), ye("searchOnly", n.searchOnly);
1752
1752
  const R = (f) => p.value ? Object.entries(p.value).filter(([M, H]) => !H.noForm && f([
1753
1753
  M,
1754
1754
  H
1755
1755
  ])) : null, Y = (f, M) => {
1756
1756
  var g;
1757
- if (n.searchOnly || !c || n.includeId && f === "_id" || n.includeTimestamps && M.isTimestamp)
1757
+ if (n.searchOnly || !u || n.includeId && f === "_id" || n.includeTimestamps && M.isTimestamp)
1758
1758
  return !0;
1759
1759
  const H = n.property && "properties" in n.property ? n.property.form : (g = d == null ? void 0 : d.description) == null ? void 0 : g.form;
1760
1760
  return !H || H.includes(f);
1761
1761
  }, w = R(([f, M]) => Y(f, M)), te = qe(), V = {}, T = (f, M) => {
1762
1762
  var q, fe, we, Se;
1763
- const H = [], g = ((fe = (q = o.value) == null ? void 0 : q.fields) == null ? void 0 : fe[f]) || ((Se = (we = o.value) == null ? void 0 : we.fields) == null ? void 0 : Se.$default);
1763
+ const H = [], g = ((fe = (q = a.value) == null ? void 0 : q.fields) == null ? void 0 : fe[f]) || ((Se = (we = a.value) == null ? void 0 : we.fields) == null ? void 0 : Se.$default);
1764
1764
  if (!M)
1765
1765
  return;
1766
1766
  if (g != null && g.if && !n.searchOnly) {
@@ -1848,13 +1848,13 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1848
1848
  propertyName: O,
1849
1849
  ...f.layout.fields[O].component.props || {}
1850
1850
  }, {
1851
- onInput: (ee) => a("input", O),
1852
- onChange: M[0] || (M[0] = (ee) => a("change", ee))
1851
+ onInput: (ee) => o("input", O),
1852
+ onChange: M[0] || (M[0] = (ee) => o("change", ee))
1853
1853
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])) : "format" in q && ["date", "date-time"].includes(q.format) && f.searchOnly ? (t(), s("div", {
1854
1854
  key: 3,
1855
1855
  style: { display: "grid", "grid-template-columns": "repeat(2, 1fr)", "column-gap": "1rem" },
1856
- onInput: (ee) => a("input", O),
1857
- onChange: M[1] || (M[1] = (ee) => a("change", ee))
1856
+ onInput: (ee) => o("input", O),
1857
+ onChange: M[1] || (M[1] = (ee) => o("change", ee))
1858
1858
  }, [
1859
1859
  F(ke, G({
1860
1860
  modelValue: f.modelValue[O].$gte,
@@ -1879,7 +1879,7 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1879
1879
  }, {
1880
1880
  "boolean-ref": "",
1881
1881
  "model-value": f.modelValue[O],
1882
- onChange: M[2] || (M[2] = (ee) => a("change", ee)),
1882
+ onChange: M[2] || (M[2] = (ee) => o("change", ee)),
1883
1883
  "onUpdate:modelValue": (ee) => {
1884
1884
  f.modelValue[O] = ee == "true" ? !0 : ee == "false" ? !1 : null;
1885
1885
  }
@@ -1923,14 +1923,14 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1923
1923
  readOnly: e(_),
1924
1924
  property: q.items,
1925
1925
  propertyName: O,
1926
- parentCollection: e(c),
1926
+ parentCollection: e(u),
1927
1927
  parentPropertyName: f.parentPropertyName,
1928
1928
  columns: ((ut = (rt = (it = f.layout) == null ? void 0 : it.fields) == null ? void 0 : rt[O]) == null ? void 0 : ut.optionsColumns) || ((pt = (dt = (ct = f.layout) == null ? void 0 : ct.fields) == null ? void 0 : dt.$default) == null ? void 0 : pt.optionsColumns),
1929
1929
  validationErrors: se(O, je),
1930
1930
  ...q.componentProps || {}
1931
1931
  }, {
1932
- onInput: (Re) => a("input", O),
1933
- onChange: M[3] || (M[3] = (Re) => a("change", Re))
1932
+ onInput: (Re) => o("input", O),
1933
+ onChange: M[3] || (M[3] = (Re) => o("change", Re))
1934
1934
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"]))
1935
1935
  ]),
1936
1936
  e(_) ? y("", !0) : x((t(), $(Z, {
@@ -1954,14 +1954,14 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1954
1954
  property: q,
1955
1955
  propertyName: O,
1956
1956
  parentPropertyName: f.parentPropertyName,
1957
- parentCollection: e(c),
1957
+ parentCollection: e(u),
1958
1958
  columns: ((nt = (tt = (et = f.layout) == null ? void 0 : et.fields) == null ? void 0 : tt[O]) == null ? void 0 : nt.optionsColumns) || ((lt = (at = (ot = f.layout) == null ? void 0 : ot.fields) == null ? void 0 : at.$default) == null ? void 0 : lt.optionsColumns),
1959
1959
  ...q.componentProps || {},
1960
1960
  validationErrors: se(O)
1961
1961
  }, {
1962
- onInput: (ee) => a("input", O),
1963
- onChange: M[4] || (M[4] = (ee) => a("change", ee)),
1964
- onClipboardCopy: M[5] || (M[5] = (ee) => a("clipboardCopy", ee))
1962
+ onInput: (ee) => o("input", O),
1963
+ onChange: M[4] || (M[4] = (ee) => o("change", ee)),
1964
+ onClipboardCopy: M[5] || (M[5] = (ee) => o("clipboardCopy", ee))
1965
1965
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])), [
1966
1966
  [g, z(q)]
1967
1967
  ]) : y("", !0),
@@ -1985,15 +1985,15 @@ const Fo = /* @__PURE__ */ K(qo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
1985
1985
  const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @__PURE__ */ E({
1986
1986
  __name: "aeria-filter-panel",
1987
1987
  emits: ["update:modelValue"],
1988
- setup(u, { emit: r }) {
1989
- const l = r, n = Ie(), a = Ae(), i = e(_e(Ue)), c = () => {
1988
+ setup(c, { emit: r }) {
1989
+ const l = r, n = Ie(), o = Ae(), i = e(_e(Ue)), u = () => {
1990
1990
  n.pagination.offset = 0, n.$actions.filter(), l("update:modelValue", !1);
1991
1991
  const _ = Object.assign({
1992
1992
  query: {}
1993
- }, a.currentRoute.value);
1993
+ }, o.currentRoute.value);
1994
1994
  for (const d of Object.keys(_.query))
1995
1995
  d.startsWith(`${i}.`) && delete _.query[d];
1996
- a.currentRoute.value.query = {}, a.push(Me(_, {
1996
+ o.currentRoute.value.query = {}, o.push(Me(_, {
1997
1997
  query: Et(n)
1998
1998
  }));
1999
1999
  };
@@ -2009,7 +2009,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2009
2009
  key: 0,
2010
2010
  variant: "transparent",
2011
2011
  onClick: d[1] || (d[1] = (b) => {
2012
- e(n).$actions.clearFilters(), c(), l("update:modelValue", !1);
2012
+ e(n).$actions.clearFilters(), u(), l("update:modelValue", !1);
2013
2013
  })
2014
2014
  }, {
2015
2015
  default: v(() => [
@@ -2027,7 +2027,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2027
2027
  large: "",
2028
2028
  icon: "funnel",
2029
2029
  disabled: !e(n).hasActiveFilters,
2030
- onClick: c
2030
+ onClick: u
2031
2031
  }, {
2032
2032
  default: v(() => [
2033
2033
  Q(k(_.t("action.filter", { capitalize: !0 })), 1)
@@ -2058,24 +2058,24 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2058
2058
  includeTimestamps: { type: Boolean }
2059
2059
  },
2060
2060
  emits: ["update:modelValue", "cancel"],
2061
- setup(u, { emit: r }) {
2062
- const l = u, n = r, a = ie("meta"), i = ie(l.collection || a.view.collection), c = _e("individualActions", []), _ = async () => {
2063
- const { error: o } = await i.$actions.deepInsert();
2064
- o || n("update:modelValue", !1);
2061
+ setup(c, { emit: r }) {
2062
+ const l = c, n = r, o = ie("meta"), i = ie(l.collection || o.view.collection), u = _e("individualActions", []), _ = async () => {
2063
+ const { error: a } = await i.$actions.deepInsert();
2064
+ a || n("update:modelValue", !1);
2065
2065
  }, { t: d } = Lt(), b = () => {
2066
- a.$actions.ask({
2066
+ o.$actions.ask({
2067
2067
  action: () => {
2068
2068
  i.$actions.clearItem(), i.validationErrors = {}, n("cancel");
2069
2069
  },
2070
2070
  body: d("prompt.close_panel")
2071
2071
  });
2072
- }, p = () => a.$actions.spawnToast({
2072
+ }, p = () => o.$actions.spawnToast({
2073
2073
  icon: "info",
2074
2074
  text: d("copied_to_clipboard")
2075
2075
  });
2076
- return ue(() => i.item._id, (o) => {
2077
- o === null && n("update:modelValue", !1);
2078
- }), (o, m) => {
2076
+ return ue(() => i.item._id, (a) => {
2077
+ a === null && n("update:modelValue", !1);
2078
+ }), (a, m) => {
2079
2079
  const A = oe("clickable");
2080
2080
  return t(), $(Be, {
2081
2081
  loading: e(i).loading.get,
@@ -2084,7 +2084,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2084
2084
  extra: v(() => [
2085
2085
  F(Oe, G({
2086
2086
  subject: e(i).item,
2087
- actions: e(c).filter(({ action: h }) => h !== "ui:spawnEdit"),
2087
+ actions: e(u).filter(({ action: h }) => h !== "spawnEdit"),
2088
2088
  overlayLayer: 60
2089
2089
  }, {
2090
2090
  onActionClick: m[2] || (m[2] = (h) => n("update:modelValue", !1))
@@ -2109,10 +2109,10 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2109
2109
  modelValue: e(i).item,
2110
2110
  "onUpdate:modelValue": m[0] || (m[0] = (h) => e(i).item = h)
2111
2111
  }, {
2112
- readOnly: o.readOnly,
2113
- includeId: o.includeId,
2114
- includeTimestamps: o.includeTimestamps,
2115
- collection: e(a).view.collection,
2112
+ readOnly: a.readOnly,
2113
+ includeId: a.includeId,
2114
+ includeTimestamps: a.includeTimestamps,
2115
+ collection: e(o).view.collection,
2116
2116
  form: e(i).description.form ? e(i).$actions.useProperties(e(i).description.form) : e(i).properties,
2117
2117
  layout: e(i).description.formLayout || {}
2118
2118
  }, {
@@ -2120,24 +2120,24 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2120
2120
  onClipboardCopy: p,
2121
2121
  onAdd: m[1] || (m[1] = (h) => h.preventDefault())
2122
2122
  }), ce({ _: 2 }, [
2123
- D(Object.keys(o.$slots).filter((h) => h.startsWith("field-")), (h) => ({
2123
+ D(Object.keys(a.$slots).filter((h) => h.startsWith("field-")), (h) => ({
2124
2124
  name: h,
2125
2125
  fn: v((S) => [
2126
- C(o.$slots, h, de(ge(S)))
2126
+ C(a.$slots, h, de(ge(S)))
2127
2127
  ])
2128
2128
  }))
2129
2129
  ]), 1040, ["modelValue"])
2130
2130
  ]),
2131
2131
  _: 2
2132
2132
  }, [
2133
- o.$slots.header ? {
2133
+ a.$slots.header ? {
2134
2134
  name: "header",
2135
2135
  fn: v(() => [
2136
- C(o.$slots, "header")
2136
+ C(a.$slots, "header")
2137
2137
  ]),
2138
2138
  key: "0"
2139
2139
  } : void 0,
2140
- o.readOnly ? void 0 : {
2140
+ a.readOnly ? void 0 : {
2141
2141
  name: "footer",
2142
2142
  fn: v(() => [
2143
2143
  F(re, {
@@ -2166,27 +2166,27 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2166
2166
  ]), 1032, ["loading"]);
2167
2167
  };
2168
2168
  }
2169
- }), Ot = (u, r) => {
2169
+ }), Ot = (c, r) => {
2170
2170
  if (r) {
2171
- if (!u) {
2171
+ if (!c) {
2172
2172
  r.filtersPreset = {}, r.preferredTableProperties = [], r.pagination.offset = 0;
2173
2173
  return;
2174
2174
  }
2175
- r.filtersPreset = u.filters || {}, r.preferredTableProperties = u.table ? Array.from(u.table) : [], r.pagination.offset = 0;
2175
+ r.filtersPreset = c.filters || {}, r.preferredTableProperties = c.table ? Array.from(c.table) : [], r.pagination.offset = 0;
2176
2176
  }
2177
- }, sa = (u, r = {
2177
+ }, sa = (c, r = {
2178
2178
  persistInQuery: !0
2179
2179
  }) => {
2180
2180
  const n = Ae().currentRoute;
2181
- return ue(() => n.value.query.section, (a) => {
2182
- if (u) {
2183
- if (u.description.filtersPresets) {
2184
- const i = a || Object.keys(u.description.filtersPresets)[0];
2185
- Ot(u.description.filtersPresets[i], u);
2181
+ return ue(() => n.value.query.section, (o) => {
2182
+ if (c) {
2183
+ if (c.description.filtersPresets) {
2184
+ const i = o || Object.keys(c.description.filtersPresets)[0];
2185
+ Ot(c.description.filtersPresets[i], c);
2186
2186
  }
2187
2187
  if (r.persistInQuery) {
2188
2188
  const i = n.value.query;
2189
- i.offset && (u.pagination.offset = +i.offset), i.limit && (u.pagination.limit = +i.limit), i.search && (u.textQuery = i.search, u.filters.$text = {
2189
+ i.offset && (c.pagination.offset = +i.offset), i.limit && (c.pagination.limit = +i.limit), i.search && (c.textQuery = i.search, c.filters.$text = {
2190
2190
  $search: `"${i.search}"`,
2191
2191
  $caseSensitive: !1
2192
2192
  });
@@ -2195,7 +2195,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2195
2195
  }, {
2196
2196
  immediate: !0
2197
2197
  });
2198
- }, ia = (u) => (De("data-v-7fdb061d"), u = u(), Qe(), u), ra = {
2198
+ }, ia = (c) => (De("data-v-7fdb061d"), c = c(), Qe(), c), ra = {
2199
2199
  key: 0,
2200
2200
  class: "table aeria-surface"
2201
2201
  }, ua = { key: 0 }, ca = { key: 1 }, da = { key: 0 }, pa = ["checked"], _a = {
@@ -2228,19 +2228,19 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2228
2228
  layout: {}
2229
2229
  },
2230
2230
  emits: ["itemClick"],
2231
- setup(u, { emit: r }) {
2232
- const l = u, n = r, a = qe(), i = l.collection || Fe(), c = i ? ie(typeof i == "string" ? i : i.value) : null, _ = W({
2233
- get: () => c == null ? void 0 : c.selected,
2234
- set: (m) => c == null ? void 0 : c.$actions.selectManyItems(m, !0)
2231
+ setup(c, { emit: r }) {
2232
+ const l = c, n = r, o = qe(), i = l.collection || Fe(), u = i ? ie(typeof i == "string" ? i : i.value) : null, _ = W({
2233
+ get: () => u == null ? void 0 : u.selected,
2234
+ set: (m) => u == null ? void 0 : u.$actions.selectManyItems(m, !0)
2235
2235
  }), d = (m, A) => m != null && m.button ? typeof m.button == "object" ? Ye(A, m.button).satisfied : m.button : !1, b = (m) => {
2236
2236
  var A;
2237
- return !a.value.xl || !((A = l.layout) != null && A.actions) || !l.actions ? [] : l.actions.filter((h) => {
2237
+ return !o.value.xl || !((A = l.layout) != null && A.actions) || !l.actions ? [] : l.actions.filter((h) => {
2238
2238
  const S = l.layout.actions[h.action];
2239
2239
  return d(S, m);
2240
2240
  });
2241
2241
  }, p = (m) => {
2242
2242
  var A;
2243
- return l.actions ? !a.value.xl || !((A = l.layout) != null && A.actions) ? l.actions : l.actions.filter((h) => {
2243
+ return l.actions ? !o.value.xl || !((A = l.layout) != null && A.actions) ? l.actions : l.actions.filter((h) => {
2244
2244
  const S = l.layout.actions[h.action];
2245
2245
  if (h.roles) {
2246
2246
  const j = ie("user");
@@ -2249,7 +2249,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2249
2249
  }
2250
2250
  return !d(S, m);
2251
2251
  }) : [];
2252
- }, o = (m, A) => {
2252
+ }, a = (m, A) => {
2253
2253
  var j, P;
2254
2254
  const h = [], S = (P = (j = l.layout) == null ? void 0 : j.actions) == null ? void 0 : P[A.action];
2255
2255
  return S != null && S.if && (Ye(
@@ -2265,11 +2265,11 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2265
2265
  C(m.$slots, "thead", {}, void 0, !0)
2266
2266
  ])) : (t(), s("thead", ca, [
2267
2267
  I("tr", null, [
2268
- m.checkbox && e(c) && e(a).md ? (t(), s("th", da, [
2268
+ m.checkbox && e(u) && e(o).md ? (t(), s("th", da, [
2269
2269
  I("input", {
2270
2270
  type: "checkbox",
2271
- checked: e(c).selected.length > 0 && e(c).selected.length === e(c).itemsCount,
2272
- onChange: A[0] || (A[0] = (B) => e(c).$actions.selectAllItems(B.target.checked))
2271
+ checked: e(u).selected.length > 0 && e(u).selected.length === e(u).itemsCount,
2272
+ onChange: A[0] || (A[0] = (B) => e(u).$actions.selectAllItems(B.target.checked))
2273
2273
  }, null, 40, pa)
2274
2274
  ])) : y("", !0),
2275
2275
  (t(!0), s(N, null, D(Object.entries(m.columns), ([B, R], Y) => (t(), s("th", {
@@ -2288,7 +2288,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2288
2288
  key: B._id,
2289
2289
  onClick: (w) => n("itemClick", B)
2290
2290
  }, [
2291
- e(c) && m.checkbox && e(a).md ? (t(), s("td", ya, [
2291
+ e(u) && m.checkbox && e(o).md ? (t(), s("td", ya, [
2292
2292
  x(I("input", {
2293
2293
  "onUpdate:modelValue": A[1] || (A[1] = (w) => _.value = w),
2294
2294
  type: "checkbox",
@@ -2305,7 +2305,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2305
2305
  I("div", ha, k(te.description || e(L)(w)), 1),
2306
2306
  `row-${w}` in m.$slots ? (t(), s("div", $a, [
2307
2307
  C(m.$slots, `row-${w}`, G({ ref_for: !0 }, {
2308
- store: e(c),
2308
+ store: e(u),
2309
2309
  column: w,
2310
2310
  property: te,
2311
2311
  row: B
@@ -2357,7 +2357,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2357
2357
  }, k(B[w].filename), 9, Ia)) : (t(), s("div", Aa, " - "))
2358
2358
  ])) : (t(), s("div", Ba, " - "))
2359
2359
  ])) : (t(), s("div", wa, [
2360
- e(c) ? (t(), s("span", Sa, k(e(c).$actions.formatValue({
2360
+ e(u) ? (t(), s("span", Sa, k(e(u).$actions.formatValue({
2361
2361
  value: B[w],
2362
2362
  key: w,
2363
2363
  property: te
@@ -2366,7 +2366,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2366
2366
  (t(!0), s(N, null, D(e(me)(te).indexes.slice(1, 2), (ne, se) => (t(), s("div", {
2367
2367
  key: `subvalue-${se}`,
2368
2368
  class: "table__cell-subvalue"
2369
- }, k(e(c).$actions.formatValue({
2369
+ }, k(e(u).$actions.formatValue({
2370
2370
  value: B[w],
2371
2371
  key: w,
2372
2372
  property: te,
@@ -2378,14 +2378,14 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2378
2378
  ]))
2379
2379
  ]);
2380
2380
  }), 128)),
2381
- (R = m.actions) != null && R.length && e(a).md ? (t(), s("td", Ra, [
2381
+ (R = m.actions) != null && R.length && e(o).md ? (t(), s("td", Ra, [
2382
2382
  I("div", La, [
2383
2383
  (t(!0), s(N, null, D(b(B), (w) => (t(), $(re, {
2384
2384
  key: `action-${w.action}`,
2385
2385
  small: "",
2386
2386
  variant: "transparent",
2387
2387
  icon: w.icon,
2388
- style: he(o(B, w)),
2388
+ style: he(a(B, w)),
2389
2389
  onClick: (te) => w.click(B)
2390
2390
  }, {
2391
2391
  default: v(() => [
@@ -2460,7 +2460,7 @@ const We = /* @__PURE__ */ K(oa, [["__scopeId", "data-v-e02fe7fe"]]), aa = /* @_
2460
2460
  }), 128))
2461
2461
  ])),
2462
2462
  I("tfoot", null, [
2463
- m.$slots.tfoot ? C(m.$slots, "tfoot", { key: 0 }, void 0, !0) : m.columns && !((j = m.rows) != null && j.length) && !((P = e(c)) != null && P.loading.getAll) ? (t(), s("tr", qa, Ua)) : y("", !0)
2463
+ m.$slots.tfoot ? C(m.$slots, "tfoot", { key: 0 }, void 0, !0) : m.columns && !((j = m.rows) != null && j.length) && !((P = e(u)) != null && P.loading.getAll) ? (t(), s("tr", qa, Ua)) : y("", !0)
2464
2464
  ])
2465
2465
  ])) : y("", !0);
2466
2466
  };
@@ -2473,8 +2473,8 @@ const Ha = /* @__PURE__ */ K(Ea, [["__scopeId", "data-v-7fdb061d"]]), Da = /* @_
2473
2473
  layoutOptions: {},
2474
2474
  componentProps: {}
2475
2475
  },
2476
- setup(u) {
2477
- const r = u, l = Ie(), n = Fe(), a = W(() => {
2476
+ setup(c) {
2477
+ const r = c, l = Ie(), n = Fe(), o = W(() => {
2478
2478
  const i = {
2479
2479
  collection: n,
2480
2480
  checkbox: l.hasSelectionActions,
@@ -2485,9 +2485,9 @@ const Ha = /* @__PURE__ */ K(Ea, [["__scopeId", "data-v-7fdb061d"]]), Da = /* @_
2485
2485
  };
2486
2486
  return Object.assign(i, r.componentProps);
2487
2487
  });
2488
- return (i, c) => (t(), s("div", null, [
2488
+ return (i, u) => (t(), s("div", null, [
2489
2489
  i.$slots.inner ? C(i.$slots, "inner", { key: 0 }) : y("", !0),
2490
- e(l).properties ? (t(), $(Ha, G({ key: 1 }, a.value, {
2490
+ e(l).properties ? (t(), $(Ha, G({ key: 1 }, o.value, {
2491
2491
  key: e(l).$id
2492
2492
  }), ce({ _: 2 }, [
2493
2493
  D(Object.keys(i.$slots).filter((_) => !["inner"].includes(_)), (_) => ({
@@ -2504,7 +2504,7 @@ const Ha = /* @__PURE__ */ K(Ea, [["__scopeId", "data-v-7fdb061d"]]), Da = /* @_
2504
2504
  props: {
2505
2505
  list: { type: Boolean }
2506
2506
  },
2507
- setup(u) {
2507
+ setup(c) {
2508
2508
  return (r, l) => (t(), s("div", {
2509
2509
  class: X(`
2510
2510
  grid
@@ -2526,9 +2526,9 @@ const Ga = /* @__PURE__ */ K(Qa, [["__scopeId", "data-v-438c4aed"]]), Wa = { key
2526
2526
  layoutOptions: {},
2527
2527
  componentName: {}
2528
2528
  },
2529
- setup(u) {
2530
- const l = u.layoutOptions, n = Ie(), a = (i) => Array.isArray(i) ? i[0] : i;
2531
- return (i, c) => {
2529
+ setup(c) {
2530
+ const l = c.layoutOptions, n = Ie(), o = (i) => Array.isArray(i) ? i[0] : i;
2531
+ return (i, u) => {
2532
2532
  const _ = oe("clickable");
2533
2533
  return t(), $(Ga, {
2534
2534
  list: i.componentName === "list"
@@ -2571,8 +2571,8 @@ const Ga = /* @__PURE__ */ K(Qa, [["__scopeId", "data-v-438c4aed"]]), Wa = { key
2571
2571
  F(He, {
2572
2572
  alt: "Item picture",
2573
2573
  expandable: "",
2574
- url: (b = a(d[e(l).picture])) == null ? void 0 : b.link,
2575
- meta: a(d[e(l).picture])
2574
+ url: (b = o(d[e(l).picture])) == null ? void 0 : b.link,
2575
+ meta: o(d[e(l).picture])
2576
2576
  }, null, 8, ["url", "meta"])
2577
2577
  ];
2578
2578
  }),
@@ -2611,13 +2611,13 @@ const Ga = /* @__PURE__ */ K(Qa, [["__scopeId", "data-v-438c4aed"]]), Wa = { key
2611
2611
  };
2612
2612
  }
2613
2613
  });
2614
- const vt = /* @__PURE__ */ K(Xa, [["__scopeId", "data-v-ccbced12"]]), Ya = (u) => ({
2614
+ const vt = /* @__PURE__ */ K(Xa, [["__scopeId", "data-v-ccbced12"]]), Ya = (c) => ({
2615
2615
  tabular: Da,
2616
2616
  grid: vt,
2617
2617
  list: vt
2618
- })[u], pe = J(!1);
2618
+ })[c], pe = J(!1);
2619
2619
  J(!1);
2620
- const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21eeb8fd"), u = u(), Qe(), u), Za = {
2620
+ const Ve = J(!1), Le = J((...c) => null), yt = J(), Ja = (c) => (De("data-v-c189a79e"), c = c(), Qe(), c), Za = {
2621
2621
  key: 2,
2622
2622
  class: "crud__controls"
2623
2623
  }, Pa = {
@@ -2641,102 +2641,102 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2641
2641
  noQueryPersistence: { type: Boolean }
2642
2642
  },
2643
2643
  emits: ["uiEvent"],
2644
- setup(u, { emit: r }) {
2645
- const l = u, n = r, a = Ae(), i = kt({
2644
+ setup(c, { emit: r }) {
2645
+ const l = c, n = r, o = Ae(), i = kt({
2646
2646
  delay: 600
2647
- }), c = ie("meta"), _ = qe(), { reachedEnd: d, detach: b } = Ze(null, {
2647
+ }), u = ie("meta"), _ = qe(), { reachedEnd: d, detach: b } = Ze(null, {
2648
2648
  antecipate: 600
2649
2649
  }), p = !_.value.md || l.scrollPagination;
2650
2650
  p && ue(d, (V) => {
2651
- V && o.pagination.recordsTotal > o.items.length && h.value < bt && (h.value += 1, j());
2651
+ V && a.pagination.recordsTotal > a.items.length && h.value < bt && (h.value += 1, j());
2652
2652
  });
2653
- const o = ie(l.collection);
2654
- sa(o, {
2653
+ const a = ie(l.collection);
2654
+ sa(a, {
2655
2655
  persistInQuery: !l.noQueryPersistence
2656
2656
  });
2657
- const m = Pe(), A = l.action ? e(l.action) : Ht(o, a, m);
2657
+ const m = Pe(), A = l.action ? e(l.action) : Ht(a, o, m);
2658
2658
  Le.value = A[0], yt.value = A[1];
2659
2659
  const h = J(0), S = J(!1), j = async (V) => {
2660
- o.activeFilters = Object.assign({}, (V == null ? void 0 : V.filters) || o.$filters), Object.assign(o.activeFilters, o.filtersPreset);
2660
+ a.activeFilters = Object.assign({}, (V == null ? void 0 : V.filters) || a.$filters), Object.assign(a.activeFilters, a.filtersPreset);
2661
2661
  const T = {
2662
- filters: o.activeFilters,
2663
- limit: o.pagination.limit,
2664
- offset: o.pagination.offset,
2665
- project: o.preferredTableProperties.length > 0 ? o.preferredTableProperties : o.description.table || Object.keys(o.properties)
2662
+ filters: a.activeFilters,
2663
+ limit: a.pagination.limit,
2664
+ offset: a.pagination.offset,
2665
+ project: a.preferredTableProperties.length > 0 ? a.preferredTableProperties : a.description.table || Object.keys(a.properties)
2666
2666
  };
2667
- h.value > 0 && (T.limit = 15, T.offset = h.value * T.limit), o.description.tableMeta && (T.project = T.project.concat(o.description.tableMeta)), V && Object.assign(T, V), o.loading.getAll = !0;
2668
- const { error: ae, result: le } = await o.$actions.retrieveItems(T);
2667
+ h.value > 0 && (T.limit = 15, T.offset = h.value * T.limit), a.description.tableMeta && (T.project = T.project.concat(a.description.tableMeta)), V && Object.assign(T, V), a.loading.getAll = !0;
2668
+ const { error: ae, result: le } = await a.$actions.retrieveItems(T);
2669
2669
  if (ae)
2670
2670
  return;
2671
2671
  const { data: ne, pagination: se } = le;
2672
- o.pagination.recordsCount = se.recordsCount, o.pagination.recordsTotal = se.recordsTotal, h.value === 0 && o.items.splice(0), o.items.push(...ne), o.loading.getAll = !1, S.value = !0;
2672
+ a.pagination.recordsCount = se.recordsCount, a.pagination.recordsTotal = se.recordsTotal, h.value === 0 && a.items.splice(0), a.items.push(...ne), a.loading.getAll = !1, S.value = !0;
2673
2673
  }, P = async (V) => {
2674
- a.push(Me(a.currentRoute.value, {
2674
+ o.push(Me(o.currentRoute.value, {
2675
2675
  query: {
2676
2676
  offset: V.offset,
2677
2677
  limit: V.limit
2678
2678
  }
2679
- })), o.pagination.offset = V.offset, o.pagination.limit = V.limit, j();
2679
+ })), a.pagination.offset = V.offset, a.pagination.limit = V.limit, j();
2680
2680
  }, B = _e("noResultsComponent", null);
2681
2681
  ue(() => [
2682
- a.currentRoute.value.path,
2683
- a.currentRoute.value.query.section
2682
+ o.currentRoute.value.path,
2683
+ o.currentRoute.value.query.section
2684
2684
  ], async (V, T) => {
2685
2685
  if (T && T[0] === V[0] && T[1] === V[1])
2686
2686
  return;
2687
- const ae = a.currentRoute.value;
2688
- if (c.view.title = l.collection, c.view.collection = l.collection, !l.noFetch && !ae.query._popstate) {
2689
- const le = Dt(o, ae);
2690
- Object.keys(le).length > 0 && Object.assign(o.filters, le), await j();
2687
+ const ae = o.currentRoute.value;
2688
+ if (u.view.title = l.collection, u.view.collection = l.collection, !l.noFetch && (!ae.query._popstate || a.itemsCount === 0)) {
2689
+ const le = Dt(a, ae);
2690
+ Object.keys(le).length > 0 && Object.assign(a.filters, le), await j();
2691
2691
  }
2692
2692
  }, {
2693
2693
  immediate: !0,
2694
2694
  flush: "post"
2695
2695
  });
2696
- const [R] = i((V) => (a.push(Me(a.currentRoute.value, {
2696
+ const [R] = i((V) => (o.push(Me(o.currentRoute.value, {
2697
2697
  query: {
2698
2698
  search: V || void 0
2699
2699
  }
2700
- })), V ? (o.filters = Object.assign(Ce(o.freshFilters), {
2700
+ })), V ? (a.filters = Object.assign(Ce(a.freshFilters), {
2701
2701
  $text: {
2702
2702
  $search: `"${V}"`,
2703
2703
  $caseSensitive: !1
2704
2704
  }
2705
2705
  }), j({
2706
2706
  offset: 0
2707
- })) : (o.filters = Ce(o.freshFilters), h.value = 0, j())));
2708
- ue(() => o.textQuery, (V) => {
2707
+ })) : (a.filters = Ce(a.freshFilters), h.value = 0, j())));
2708
+ ue(() => a.textQuery, (V) => {
2709
2709
  R(V);
2710
2710
  });
2711
2711
  const Y = (V) => {
2712
2712
  V.currentLayout = V.currentLayout === "tabular" ? V.description.layout.name : "tabular";
2713
2713
  };
2714
2714
  wt(() => {
2715
- o.$actions.clearFilters(), o.textQuery = "", b();
2715
+ a.$actions.clearFilters(), a.textQuery = "", b();
2716
2716
  }), ue(() => yt.value, async (V) => {
2717
2717
  var le;
2718
2718
  const T = Ce(V);
2719
2719
  let ae;
2720
2720
  if (T)
2721
- if ((T.name === "spawnEdit" || T.name === "duplicate") && (ae = o.$actions.get({
2721
+ if ((T.name === "spawnEdit" || T.name === "duplicate") && (ae = a.$actions.get({
2722
2722
  filters: {
2723
2723
  _id: T.params._id
2724
2724
  }
2725
2725
  })), T.name === "spawnAdd")
2726
- o.$actions.clearItem(), (le = T.params) != null && le.item && (o.$actions.setItem(T.params.item), Object.keys(T.params.item).forEach((ne) => {
2727
- delete o.referenceItem[ne];
2726
+ a.$actions.clearItem(), (le = T.params) != null && le.item && (a.$actions.setItem(T.params.item), Object.keys(T.params.item).forEach((ne) => {
2727
+ delete a.referenceItem[ne];
2728
2728
  })), pe.value = "add";
2729
2729
  else if (T.name === "spawnEdit")
2730
- o.$actions.setItem(T.params), pe.value = "edit";
2730
+ a.$actions.setItem(T.params), pe.value = "edit";
2731
2731
  else if (T.name === "duplicate") {
2732
2732
  await ae;
2733
- const ne = Object.entries(o.item).reduce((se, [z, U]) => {
2734
- if (!(z in o.properties))
2733
+ const ne = Object.entries(a.item).reduce((se, [z, U]) => {
2734
+ if (!(z in a.properties))
2735
2735
  return {
2736
2736
  ...se,
2737
2737
  [z]: U
2738
2738
  };
2739
- const f = o.properties[z];
2739
+ const f = a.properties[z];
2740
2740
  if (f.readOnly)
2741
2741
  return se;
2742
2742
  const M = (H) => {
@@ -2756,24 +2756,24 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2756
2756
  [z]: U
2757
2757
  };
2758
2758
  }, {});
2759
- o.$actions.setItem(ne), delete o.item._id, o.referenceItem = {}, pe.value = "duplicate";
2759
+ a.$actions.setItem(ne), delete a.item._id, a.referenceItem = {}, pe.value = "duplicate";
2760
2760
  } else
2761
2761
  n("uiEvent", T);
2762
2762
  }, {
2763
2763
  deep: !0
2764
2764
  }), ue(() => pe, ({ value: V }) => {
2765
- V === !1 && (c.view.collection = l.collection, o.$actions.clearItem());
2765
+ V === !1 && (u.view.collection = l.collection, a.$actions.clearItem());
2766
2766
  });
2767
- const w = W(() => o.individualActions.map((V) => ({
2767
+ const w = W(() => a.individualActions.map((V) => ({
2768
2768
  click: Le.value(V),
2769
2769
  ...V
2770
- }))), te = W(() => o.actions.filter((V) => !V.button));
2770
+ }))), te = W(() => a.actions.filter((V) => !V.button));
2771
2771
  return ye(Ue, W(() => l.collection)), ye("individualActions", w), (V, T) => {
2772
2772
  var ne, se, z, U, f, M, H;
2773
2773
  const ae = oe("clickable"), le = oe("loading");
2774
2774
  return t(), s(N, null, [
2775
2775
  e(Ve) ? (t(), $(aa, {
2776
- key: e(o).$id,
2776
+ key: e(a).$id,
2777
2777
  modelValue: e(Ve),
2778
2778
  "onUpdate:modelValue": T[0] || (T[0] = (g) => _t(Ve) ? Ve.value = g : null)
2779
2779
  }, null, 8, ["modelValue"])) : y("", !0),
@@ -2796,7 +2796,7 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2796
2796
  return e(L)("action.edit", { capitalize: !0 });
2797
2797
  }
2798
2798
  })()), 1),
2799
- I("span", null, " " + k(e(L)(e(c).view.collection)), 1)
2799
+ I("span", null, " " + k(e(L)(e(u).view.collection)), 1)
2800
2800
  ]),
2801
2801
  _: 2
2802
2802
  }, [
@@ -2807,30 +2807,30 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2807
2807
  ])
2808
2808
  }))
2809
2809
  ]), 1032, ["modelValue"])) : y("", !0),
2810
- !V.noActions && (e(o).description.search || Object.keys(e(o).availableFilters).length > 0 || ((ne = e(o)) == null ? void 0 : ne.actions.length) > 0 || V.$slots.actions || !V.noLayoutToggle && e(o).description.layout && ((se = e(o).description.layout) == null ? void 0 : se.name) !== "tabular") ? (t(), s("div", Za, [
2811
- e(o).description.search ? (t(), s("div", Pa, [
2810
+ !V.noActions && (e(a).description.search || Object.keys(e(a).availableFilters).length > 0 || ((ne = e(a)) == null ? void 0 : ne.actions.length) > 0 || V.$slots.actions || !V.noLayoutToggle && e(a).description.layout && ((se = e(a).description.layout) == null ? void 0 : se.name) !== "tabular") ? (t(), s("div", Za, [
2811
+ e(a).description.search ? (t(), s("div", Pa, [
2812
2812
  F(ke, G({
2813
- modelValue: e(o).textQuery,
2814
- "onUpdate:modelValue": T[3] || (T[3] = (g) => e(o).textQuery = g)
2813
+ modelValue: e(a).textQuery,
2814
+ "onUpdate:modelValue": T[3] || (T[3] = (g) => e(a).textQuery = g)
2815
2815
  }, {
2816
2816
  property: {
2817
2817
  type: "string",
2818
- placeholder: e(o).description.search.placeholder || "Pesquise aqui",
2818
+ placeholder: e(a).description.search.placeholder || "Pesquise aqui",
2819
2819
  inputType: "search"
2820
2820
  }
2821
2821
  }), null, 16, ["modelValue"])
2822
2822
  ])) : y("", !0),
2823
2823
  I("div", Na, [
2824
- te.value.length > 0 || !V.noLayoutToggle && e(o).description.layout && ((z = e(o).description.layout) == null ? void 0 : z.name) !== "tabular" ? (t(), $(Oe, { key: 0 }, ce({
2824
+ te.value.length > 0 || !V.noLayoutToggle && e(a).description.layout && ((z = e(a).description.layout) == null ? void 0 : z.name) !== "tabular" ? (t(), $(Oe, { key: 0 }, ce({
2825
2825
  default: v(() => [
2826
2826
  F(re, {
2827
2827
  variant: "alt",
2828
2828
  icon: "sliders"
2829
2829
  }, {
2830
2830
  default: v(() => [
2831
- e(o).filtersCount ? (t(), $($e, { key: 0 }, {
2831
+ e(a).filtersCount ? (t(), $($e, { key: 0 }, {
2832
2832
  default: v(() => [
2833
- Q(k(e(o).filtersCount), 1)
2833
+ Q(k(e(a).filtersCount), 1)
2834
2834
  ]),
2835
2835
  _: 1
2836
2836
  })) : y("", !0)
@@ -2840,7 +2840,7 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2840
2840
  ]),
2841
2841
  _: 2
2842
2842
  }, [
2843
- Object.keys(e(o).availableFilters).length > 0 ? {
2843
+ Object.keys(e(a).availableFilters).length > 0 ? {
2844
2844
  name: "filter",
2845
2845
  fn: v(() => [
2846
2846
  x((t(), $(Z, {
@@ -2855,9 +2855,9 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2855
2855
  [ae]
2856
2856
  ]),
2857
2857
  I("div", xa, [
2858
- e(o).filtersCount ? (t(), $($e, { key: 0 }, {
2858
+ e(a).filtersCount ? (t(), $($e, { key: 0 }, {
2859
2859
  default: v(() => [
2860
- Q(k(e(o).filtersCount), 1)
2860
+ Q(k(e(a).filtersCount), 1)
2861
2861
  ]),
2862
2862
  _: 1
2863
2863
  })) : y("", !0)
@@ -2865,12 +2865,12 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2865
2865
  ]),
2866
2866
  key: "0"
2867
2867
  } : void 0,
2868
- !V.noLayoutToggle && e(o).description.layout && ((U = e(o).description.layout) == null ? void 0 : U.name) !== "tabular" ? {
2868
+ !V.noLayoutToggle && e(a).description.layout && ((U = e(a).description.layout) == null ? void 0 : U.name) !== "tabular" ? {
2869
2869
  name: "layout-toggle",
2870
2870
  fn: v(() => [
2871
2871
  x((t(), $(Z, {
2872
2872
  icon: "table",
2873
- onClick: T[5] || (T[5] = (g) => Y(e(o)))
2873
+ onClick: T[5] || (T[5] = (g) => Y(e(a)))
2874
2874
  }, {
2875
2875
  default: v(() => [
2876
2876
  Q(k(e(L)("change_layout", { capitalize: !0 })), 1)
@@ -2888,8 +2888,8 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2888
2888
  g ? (t(), $(Z, {
2889
2889
  key: 0,
2890
2890
  icon: g.icon || "gear",
2891
- disabled: e(o).selected.length === 0 && g.selection,
2892
- onClick: (q) => e(Le)(g)({ _id: e(o).selected.map((fe) => fe._id) })
2891
+ disabled: e(a).selected.length === 0 && "selection" in g && g.selection,
2892
+ onClick: (q) => e(Le)(g)({ _id: e(a).selected.map((fe) => fe._id) })
2893
2893
  }, {
2894
2894
  default: v(() => [
2895
2895
  Q(k(e(L)(g.label, { capitalize: !0 })), 1)
@@ -2898,7 +2898,7 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2898
2898
  }, 1032, ["icon", "disabled", "onClick"])) : y("", !0)
2899
2899
  ])
2900
2900
  }))
2901
- ]), 1024)) : Object.keys(e(o).availableFilters).length > 0 ? (t(), $(re, {
2901
+ ]), 1024)) : Object.keys(e(a).availableFilters).length > 0 ? (t(), $(re, {
2902
2902
  key: 1,
2903
2903
  variant: "alt",
2904
2904
  icon: "funnel",
@@ -2906,20 +2906,20 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2906
2906
  }, {
2907
2907
  default: v(() => [
2908
2908
  el,
2909
- e(o).filtersCount ? (t(), $($e, { key: 0 }, {
2909
+ e(a).filtersCount ? (t(), $($e, { key: 0 }, {
2910
2910
  default: v(() => [
2911
- Q(k(e(o).filtersCount), 1)
2911
+ Q(k(e(a).filtersCount), 1)
2912
2912
  ]),
2913
2913
  _: 1
2914
2914
  })) : y("", !0)
2915
2915
  ]),
2916
2916
  _: 1
2917
2917
  })) : y("", !0),
2918
- (t(!0), s(N, null, D(e(o).actions.filter((g) => g.button), (g, O) => (t(), $(re, {
2918
+ (t(!0), s(N, null, D(e(a).actions.filter((g) => g.button), (g, O) => (t(), $(re, {
2919
2919
  key: `action-${O}`,
2920
2920
  icon: g.icon,
2921
- disabled: e(o).selected.length === 0 && g.selection,
2922
- onClick: (q) => e(Le)(g)({ _id: e(o).selected.map((fe) => fe._id) })
2921
+ disabled: e(a).selected.length === 0 && "selection" in g && g.selection,
2922
+ onClick: (q) => e(Le)(g)({ _id: e(a).selected.map((fe) => fe._id) })
2923
2923
  }, {
2924
2924
  default: v(() => [
2925
2925
  Q(k(e(L)(g.label, { capitalize: !0 })), 1)
@@ -2930,16 +2930,16 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2930
2930
  ])
2931
2931
  ])) : y("", !0),
2932
2932
  x((t(), s("div", null, [
2933
- e(o).itemsCount === 0 && !e(o).loading.getAll && S.value && (e(B) || V.$slots.empty) ? (t(), s("div", tl, [
2933
+ e(a).itemsCount === 0 && !e(a).loading.getAll && S.value && (e(B) || V.$slots.empty) ? (t(), s("div", tl, [
2934
2934
  e(B) ? (t(), $(be(e(B)), de(G({ key: 0 }, {
2935
- collection: e(o).$id
2935
+ collection: e(a).$id
2936
2936
  })), {
2937
2937
  default: v(() => [
2938
- e(o).filtersCount === 0 && e(o).description.actions && "ui:spawnAdd" in e(o).description.actions ? (t(), $(re, {
2938
+ e(a).filtersCount === 0 && e(a).description.actions && "spawnAdd" in e(a).description.actions ? (t(), $(re, {
2939
2939
  key: 0,
2940
2940
  icon: "plus",
2941
2941
  onClick: T[7] || (T[7] = (g) => e(Le)({
2942
- action: "ui:spawnAdd"
2942
+ action: "spawnAdd"
2943
2943
  })())
2944
2944
  }, {
2945
2945
  default: v(() => [
@@ -2950,16 +2950,16 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2950
2950
  ]),
2951
2951
  _: 1
2952
2952
  }, 16)) : C(V.$slots, "empty", de(G({ key: 1 }, {
2953
- collection: e(o).$id
2953
+ collection: e(a).$id
2954
2954
  })), void 0, !0)
2955
2955
  ])) : V.$slots.component ? C(V.$slots, "component", de(G({ key: 1 }, {
2956
- store: e(o)
2957
- })), void 0, !0) : (t(), $(be(e(Ya)(((f = V.layout) == null ? void 0 : f.name) || e(o).$currentLayout)), G({ key: 2 }, {
2956
+ store: e(a)
2957
+ })), void 0, !0) : (t(), $(be(e(Ya)(((f = V.layout) == null ? void 0 : f.name) || e(a).$currentLayout)), G({ key: 2 }, {
2958
2958
  individualActions: w.value,
2959
- layoutOptions: ((M = V.layout) == null ? void 0 : M.options) || e(o).layout.options,
2959
+ layoutOptions: ((M = V.layout) == null ? void 0 : M.options) || e(a).layout.options,
2960
2960
  componentProps: V.componentProps
2961
2961
  }, {
2962
- "component-name": ((H = V.layout) == null ? void 0 : H.name) || e(o).$currentLayout
2962
+ "component-name": ((H = V.layout) == null ? void 0 : H.name) || e(a).$currentLayout
2963
2963
  }), ce({ _: 2 }, [
2964
2964
  D(Object.keys(V.$slots).filter((g) => g.startsWith("row-")), (g) => ({
2965
2965
  name: g,
@@ -2976,11 +2976,11 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2976
2976
  } : void 0
2977
2977
  ]), 1040, ["component-name"]))
2978
2978
  ])), [
2979
- [le, (!e(p) || h.value === bt) && e(o).loading.getAll]
2979
+ [le, (!e(p) || h.value === bt) && e(a).loading.getAll]
2980
2980
  ]),
2981
- !e(o).loading.getAll && e(o).itemsCount > 0 ? (t(), s("div", nl, [
2981
+ !e(a).loading.getAll && e(a).itemsCount > 0 ? (t(), s("div", nl, [
2982
2982
  F(Fn, {
2983
- pagination: e(o).pagination,
2983
+ pagination: e(a).pagination,
2984
2984
  onPaginate: P
2985
2985
  }, null, 8, ["pagination"])
2986
2986
  ])) : y("", !0)
@@ -2988,17 +2988,17 @@ const Ve = J(!1), Le = J((...u) => null), yt = J(), Ja = (u) => (De("data-v-21ee
2988
2988
  };
2989
2989
  }
2990
2990
  });
2991
- const Ul = /* @__PURE__ */ K(ol, [["__scopeId", "data-v-21eeb8fd"]]), al = { class: "prompt" }, ll = /* @__PURE__ */ E({
2991
+ const Ul = /* @__PURE__ */ K(ol, [["__scopeId", "data-v-c189a79e"]]), al = { class: "prompt" }, ll = /* @__PURE__ */ E({
2992
2992
  __name: "aeria-prompt",
2993
2993
  props: {
2994
2994
  title: {},
2995
2995
  actions: {}
2996
2996
  },
2997
- setup(u) {
2998
- const r = ie("meta"), l = (n) => {
2999
- r.$actions.fulfillPrompt(n);
2997
+ setup(c) {
2998
+ const r = ie("meta"), l = (n, o) => {
2999
+ r.$actions.fulfillPrompt(n, o);
3000
3000
  };
3001
- return (n, a) => (t(), $(Be, {
3001
+ return (n, o) => (t(), $(Be, {
3002
3002
  float: "",
3003
3003
  "fill-footer": "",
3004
3004
  "close-hint": !1,
@@ -3007,18 +3007,18 @@ const Ul = /* @__PURE__ */ K(ol, [["__scopeId", "data-v-21eeb8fd"]]), al = { cla
3007
3007
  footer: v(() => [
3008
3008
  I("div", {
3009
3009
  class: "prompt__actions",
3010
- style: he(`grid-template-columns: repeat(${n.actions.length}, 1fr)`)
3010
+ style: he(`grid-template-columns: repeat(${Object.keys(n.actions).length}, 1fr)`)
3011
3011
  }, [
3012
- (t(!0), s(N, null, D(n.actions, (i, c) => (t(), $(ve, {
3013
- key: `action-${c}`,
3012
+ (t(!0), s(N, null, D(Object.entries(n.actions), ([i, u], _) => (t(), $(ve, {
3013
+ key: `action-${_}`,
3014
3014
  class: X(`
3015
3015
  prompt__action
3016
- prompt__action--${i.variant || "primary"}
3016
+ prompt__action--${u.variant || "primary"}
3017
3017
  `),
3018
- onClick: (_) => i.click ? i.click(i) : l(i)
3018
+ onClick: (d) => u.click ? u.click(i, u) : l(i, u)
3019
3019
  }, {
3020
3020
  default: v(() => [
3021
- Q(k(i.title || i.name), 1)
3021
+ Q(k(u.title), 1)
3022
3022
  ]),
3023
3023
  _: 2
3024
3024
  }, 1032, ["class", "onClick"]))), 128))
@@ -3041,7 +3041,7 @@ const Ul = /* @__PURE__ */ K(ol, [["__scopeId", "data-v-21eeb8fd"]]), al = { cla
3041
3041
  ]), 1024));
3042
3042
  }
3043
3043
  });
3044
- const sl = /* @__PURE__ */ K(ll, [["__scopeId", "data-v-5443f297"]]), il = { class: "toast__content" }, rl = { class: "toast__time" }, ul = /* @__PURE__ */ E({
3044
+ const sl = /* @__PURE__ */ K(ll, [["__scopeId", "data-v-32d9d465"]]), il = { class: "toast__content" }, rl = { class: "toast__time" }, ul = /* @__PURE__ */ E({
3045
3045
  __name: "aeria-toast",
3046
3046
  props: {
3047
3047
  idx: {},
@@ -3049,10 +3049,10 @@ const sl = /* @__PURE__ */ K(ll, [["__scopeId", "data-v-5443f297"]]), il = { cla
3049
3049
  date: {},
3050
3050
  icon: {}
3051
3051
  },
3052
- setup(u) {
3052
+ setup(c) {
3053
3053
  const r = ie("meta");
3054
3054
  return (l, n) => {
3055
- const a = oe("clickable");
3055
+ const o = oe("clickable");
3056
3056
  return x((t(), s("div", {
3057
3057
  class: X({
3058
3058
  toast: !0,
@@ -3070,16 +3070,16 @@ const sl = /* @__PURE__ */ K(ll, [["__scopeId", "data-v-5443f297"]]), il = { cla
3070
3070
  I("div", rl, k(l.formatDateTime(l.date, { hoursOnly: !0 })), 1)
3071
3071
  ])
3072
3072
  ], 34)), [
3073
- [a]
3073
+ [o]
3074
3074
  ]);
3075
3075
  };
3076
3076
  }
3077
3077
  });
3078
3078
  const cl = /* @__PURE__ */ K(ul, [["__scopeId", "data-v-21bbe178"]]), dl = ["innerHTML"], pl = { class: "main__toasts" }, _l = ["innerHTML"], ml = /* @__PURE__ */ E({
3079
3079
  __name: "aeria-main",
3080
- setup(u) {
3080
+ setup(c) {
3081
3081
  const r = ie("meta"), l = W(() => r.themeOverride || r.theme);
3082
- return (n, a) => {
3082
+ return (n, o) => {
3083
3083
  const i = St("router-view");
3084
3084
  return t(), s("main", {
3085
3085
  id: "main",
@@ -3092,8 +3092,8 @@ const cl = /* @__PURE__ */ K(ul, [["__scopeId", "data-v-21bbe178"]]), dl = ["inn
3092
3092
  (t(), $(Tt, null, {
3093
3093
  default: v(() => [
3094
3094
  F(i, null, {
3095
- default: v(({ Component: c }) => [
3096
- (t(), $(be(c), null, ce({ _: 2 }, [
3095
+ default: v(({ Component: u }) => [
3096
+ (t(), $(be(u), null, ce({ _: 2 }, [
3097
3097
  D(Object.keys(n.$slots), (_) => ({
3098
3098
  name: _,
3099
3099
  fn: v(() => [
@@ -3110,12 +3110,12 @@ const cl = /* @__PURE__ */ K(ul, [["__scopeId", "data-v-21bbe178"]]), dl = ["inn
3110
3110
  C(n.$slots, "default", {}, void 0, !0),
3111
3111
  F(Be, G({
3112
3112
  modelValue: e(r).modal.visible,
3113
- "onUpdate:modelValue": a[0] || (a[0] = (c) => e(r).modal.visible = c),
3113
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => e(r).modal.visible = u),
3114
3114
  float: "",
3115
3115
  "close-hint": ""
3116
3116
  }, e(r).modal, {
3117
3117
  "overlay-layer": 70,
3118
- onOverlayClick: a[1] || (a[1] = (c) => e(r).modal.visible = !1)
3118
+ onOverlayClick: o[1] || (o[1] = (u) => e(r).modal.visible = !1)
3119
3119
  }), {
3120
3120
  default: v(() => [
3121
3121
  e(r).modal.body ? (t(), s("div", {
@@ -3134,12 +3134,12 @@ const cl = /* @__PURE__ */ K(ul, [["__scopeId", "data-v-21bbe178"]]), dl = ["inn
3134
3134
  _: 1
3135
3135
  }, 16)) : y("", !0),
3136
3136
  I("div", pl, [
3137
- (t(!0), s(N, null, D(e(r).toasts, (c) => (t(), $(cl, G({ ref_for: !0 }, c, {
3138
- key: `toast-${c.itr}`
3137
+ (t(!0), s(N, null, D(e(r).toasts, (u) => (t(), $(cl, G({ ref_for: !0 }, u, {
3138
+ key: `toast-${u.itr}`
3139
3139
  }), {
3140
3140
  default: v(() => [
3141
3141
  I("div", {
3142
- innerHTML: e(L)(c.text)
3142
+ innerHTML: e(L)(u.text)
3143
3143
  }, null, 8, _l)
3144
3144
  ]),
3145
3145
  _: 2
@@ -3151,13 +3151,13 @@ const cl = /* @__PURE__ */ K(ul, [["__scopeId", "data-v-21bbe178"]]), dl = ["inn
3151
3151
  });
3152
3152
  const El = /* @__PURE__ */ K(ml, [["__scopeId", "data-v-1166be3d"]]);
3153
3153
  const fl = {}, vl = { class: "menu" };
3154
- function yl(u, r) {
3154
+ function yl(c, r) {
3155
3155
  return t(), s("menu", vl, [
3156
- (t(!0), s(N, null, D(Object.keys(u.$slots), (l) => (t(), s("div", {
3156
+ (t(!0), s(N, null, D(Object.keys(c.$slots), (l) => (t(), s("div", {
3157
3157
  key: l,
3158
3158
  class: "menu__entry"
3159
3159
  }, [
3160
- C(u.$slots, l, {}, void 0, !0)
3160
+ C(c.$slots, l, {}, void 0, !0)
3161
3161
  ]))), 128))
3162
3162
  ]);
3163
3163
  }
@@ -3177,8 +3177,8 @@ const Hl = /* @__PURE__ */ K(fl, [["render", yl], ["__scopeId", "data-v-3cfef7fb
3177
3177
  param: {},
3178
3178
  dropdown: { type: Boolean }
3179
3179
  },
3180
- setup(u) {
3181
- const r = u, l = jt(), n = Ae(), a = qe(), i = W(() => {
3180
+ setup(c) {
3181
+ const r = c, l = jt(), n = Ae(), o = qe(), i = W(() => {
3182
3182
  if (r.query) {
3183
3183
  const _ = n.currentRoute.value.query[r.query];
3184
3184
  if (_)
@@ -3189,7 +3189,7 @@ const Hl = /* @__PURE__ */ K(fl, [["render", yl], ["__scopeId", "data-v-3cfef7fb
3189
3189
  return _;
3190
3190
  }
3191
3191
  return Object.keys(l)[0];
3192
- }), c = (_) => {
3192
+ }), u = (_) => {
3193
3193
  r.query && n.push(Me(n.currentRoute.value, {
3194
3194
  query: {
3195
3195
  [r.query]: _
@@ -3203,17 +3203,17 @@ const Hl = /* @__PURE__ */ K(fl, [["render", yl], ["__scopeId", "data-v-3cfef7fb
3203
3203
  return (_, d) => {
3204
3204
  const b = oe("clickable");
3205
3205
  return t(), s("div", bl, [
3206
- e(a).md && !_.dropdown ? (t(), s("div", hl, [
3206
+ e(o).md && !_.dropdown ? (t(), s("div", hl, [
3207
3207
  _.$slots.default ? (t(), s("div", $l, [
3208
3208
  C(_.$slots, "default", {}, void 0, !0)
3209
3209
  ])) : y("", !0),
3210
- (t(!0), s(N, null, D(Object.keys(_.$slots).filter((p) => p !== "default"), (p, o) => (t(), s("div", {
3210
+ (t(!0), s(N, null, D(Object.keys(_.$slots).filter((p) => p !== "default"), (p, a) => (t(), s("div", {
3211
3211
  key: p,
3212
3212
  class: X({
3213
3213
  tabs__tab: !0,
3214
- "tabs__tab--current": p === i.value || !i.value && o === 0
3214
+ "tabs__tab--current": p === i.value || !i.value && a === 0
3215
3215
  }),
3216
- onClick: (m) => c(p)
3216
+ onClick: (m) => u(p)
3217
3217
  }, [
3218
3218
  C(_.$slots, p, {}, void 0, !0)
3219
3219
  ], 10, gl))), 128))
@@ -3241,7 +3241,7 @@ const Hl = /* @__PURE__ */ K(fl, [["render", yl], ["__scopeId", "data-v-3cfef7fb
3241
3241
  name: p,
3242
3242
  fn: v(() => [
3243
3243
  I("div", {
3244
- onClick: (o) => c(p)
3244
+ onClick: (a) => u(p)
3245
3245
  }, [
3246
3246
  C(_.$slots, p, {}, void 0, !0)
3247
3247
  ], 8, Vl)
@@ -3258,9 +3258,9 @@ const Ol = /* @__PURE__ */ K(Cl, [["__scopeId", "data-v-a20914ab"]]), Il = E({
3258
3258
  initialValue: String,
3259
3259
  promise: Promise
3260
3260
  },
3261
- setup(u) {
3262
- const r = J(u.initialValue);
3263
- return u.promise instanceof Promise && u.promise.then((l) => {
3261
+ setup(c) {
3262
+ const r = J(c.initialValue);
3263
+ return c.promise instanceof Promise && c.promise.then((l) => {
3264
3264
  r.value = l;
3265
3265
  }), () => Rt("div", r.value);
3266
3266
  }
@@ -3269,8 +3269,8 @@ const Ol = /* @__PURE__ */ K(Cl, [["__scopeId", "data-v-a20914ab"]]), Il = E({
3269
3269
  props: {
3270
3270
  collection: {}
3271
3271
  },
3272
- setup(u) {
3273
- const r = u, n = Ae().currentRoute, a = Pe(), i = W(() => r.collection ? Ke(r.collection, a) : typeof n.value.meta.collection == "string" ? Ke(n.value.meta.collection, a) : typeof n.value.params.collection == "string" ? Ke(n.value.params.collection, a) : null), c = async (_, d) => {
3272
+ setup(c) {
3273
+ const r = c, n = Ae().currentRoute, o = Pe(), i = W(() => r.collection ? Ke(r.collection, o) : typeof n.value.meta.collection == "string" ? Ke(n.value.meta.collection, o) : typeof n.value.params.collection == "string" ? Ke(n.value.params.collection, o) : null), u = async (_, d) => {
3274
3274
  const { error: b, result: p } = await d.$functions[_.badgeFunction]({
3275
3275
  filters: _.filters
3276
3276
  });
@@ -3286,7 +3286,7 @@ const Ol = /* @__PURE__ */ K(Cl, [["__scopeId", "data-v-a20914ab"]]), Il = E({
3286
3286
  fn: v(() => [
3287
3287
  I("div", {
3288
3288
  class: "topbar__preset",
3289
- onClick: (o) => e(Ot)(p, i.value)
3289
+ onClick: (a) => e(Ot)(p, i.value)
3290
3290
  }, [
3291
3291
  p.icon ? (t(), $(Z, {
3292
3292
  key: 0,
@@ -3301,7 +3301,7 @@ const Ol = /* @__PURE__ */ K(Cl, [["__scopeId", "data-v-a20914ab"]]), Il = E({
3301
3301
  default: v(() => [
3302
3302
  F(e(Il), {
3303
3303
  "initial-value": "0",
3304
- promise: c(p, i.value)
3304
+ promise: u(p, i.value)
3305
3305
  }, null, 8, ["promise"])
3306
3306
  ]),
3307
3307
  _: 2
@@ -3321,14 +3321,14 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3321
3321
  modelValue: {}
3322
3322
  },
3323
3323
  emits: ["update:modelValue"],
3324
- setup(u) {
3325
- const r = u;
3324
+ setup(c) {
3325
+ const r = c;
3326
3326
  ye(Ue, null);
3327
3327
  const l = Qt(), n = W(() => l(
3328
3328
  r.modelValue.password,
3329
3329
  r.modelValue.confirmation
3330
3330
  ));
3331
- return (a, i) => (t(), $(We, {
3331
+ return (o, i) => (t(), $(We, {
3332
3332
  form: {
3333
3333
  password: {
3334
3334
  type: "string",
@@ -3341,20 +3341,20 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3341
3341
  inputType: "password"
3342
3342
  }
3343
3343
  },
3344
- "model-value": a.modelValue,
3345
- "onUpdate:modelValue": i[0] || (i[0] = (c) => a.$emit("update:modelValue", c))
3344
+ "model-value": o.modelValue,
3345
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => o.$emit("update:modelValue", u))
3346
3346
  }, {
3347
3347
  after: v(() => [
3348
3348
  I("div", null, k(n.value || "Senhas conferem"), 1),
3349
- C(a.$slots, "default", de(ge({ passwordError: n.value })))
3349
+ C(o.$slots, "default", de(ge({ passwordError: n.value })))
3350
3350
  ]),
3351
3351
  _: 3
3352
3352
  }, 8, ["model-value"]));
3353
3353
  }
3354
- }), Ql = (u, r = []) => ({
3354
+ }), Ql = (c, r = []) => ({
3355
3355
  path: "/user",
3356
3356
  name: "/builtin:user",
3357
- component: u,
3357
+ component: c,
3358
3358
  children: r.concat([
3359
3359
  {
3360
3360
  path: "invite/:id",
@@ -3369,7 +3369,7 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3369
3369
  {
3370
3370
  path: "signin",
3371
3371
  name: "/user/signin",
3372
- component: () => import("./signin-ebb7e29e.js"),
3372
+ component: () => import("./signin-ca755540.js"),
3373
3373
  meta: {
3374
3374
  title: "Autenticação"
3375
3375
  }
@@ -3377,7 +3377,7 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3377
3377
  {
3378
3378
  path: "signup",
3379
3379
  name: "/user/signup",
3380
- component: () => import("./signup-02b1329c.js"),
3380
+ component: () => import("./signup-d80a59fb.js"),
3381
3381
  meta: {
3382
3382
  title: "Registro"
3383
3383
  }
@@ -3385,16 +3385,16 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3385
3385
  {
3386
3386
  path: "activation",
3387
3387
  name: "/user/activation",
3388
- component: () => import("./activation-c75876f9.js"),
3388
+ component: () => import("./activation-2ed66520.js"),
3389
3389
  meta: {
3390
3390
  title: "Ativação"
3391
3391
  }
3392
3392
  }
3393
3393
  ])
3394
- }), Gl = (u, r = []) => ({
3394
+ }), Gl = (c, r = []) => ({
3395
3395
  path: "/dashboard",
3396
3396
  name: "/builtin:dashboard",
3397
- component: u,
3397
+ component: c,
3398
3398
  redirect: {
3399
3399
  name: "/dashboard/"
3400
3400
  },
@@ -3407,7 +3407,7 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3407
3407
  name: "/dashboard/:collection",
3408
3408
  props: !0,
3409
3409
  components: {
3410
- default: () => import("./index-99ed76d0.js"),
3410
+ default: () => import("./index-7fac40c1.js"),
3411
3411
  topbar: () => Promise.resolve().then(() => Tl)
3412
3412
  },
3413
3413
  meta: {
@@ -3419,7 +3419,7 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3419
3419
  name: "/dashboard/:collection/:id",
3420
3420
  props: !0,
3421
3421
  components: {
3422
- default: () => import("./_id_-5a99fcd7.js")
3422
+ default: () => import("./_id_-4eecb89f.js")
3423
3423
  },
3424
3424
  meta: {
3425
3425
  title: "%viewTitle%"
@@ -3437,7 +3437,7 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3437
3437
  children: [
3438
3438
  {
3439
3439
  path: "profile",
3440
- component: () => import("./index-5ead2930.js"),
3440
+ component: () => import("./index-9adc5fef.js"),
3441
3441
  meta: {
3442
3442
  title: "Meu perfil",
3443
3443
  icon: "user-square"
@@ -3446,7 +3446,7 @@ const Sl = /* @__PURE__ */ K(wl, [["__scopeId", "data-v-85c3b087"]]), Tl = /* @_
3446
3446
  {
3447
3447
  path: "changepass",
3448
3448
  name: "/dashboard/user/changepass",
3449
- component: () => import("./index-b1767513.js"),
3449
+ component: () => import("./index-9523beb0.js"),
3450
3450
  meta: {
3451
3451
  title: "Mudar senha",
3452
3452
  icon: "lock"