@aeria-ui/ui 0.0.77 → 0.0.78
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.
- package/dist/{_id_-590c2642.js → _id_-5a31d8c9.js} +1 -1
- package/dist/{activation-5547695f.js → activation-bf41e363.js} +1 -1
- package/dist/{index-fe35fe0c.js → index-0161d7bb.js} +181 -181
- package/dist/{index-f57af56f.js → index-0dcd2a5b.js} +1 -1
- package/dist/{index-2d387874.js → index-1e34d8bf.js} +1 -1
- package/dist/{index-2bf9ad84.js → index-9fb126a5.js} +1 -1
- package/dist/{signin-7de447b5.js → signin-1c63bf10.js} +1 -1
- package/dist/{signup-8433191a.js → signup-f04a94e8.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/ui.js +1 -1
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ const Xt = ["onClick"], Yt = { key: 0 }, Jt = {
|
|
|
30
30
|
}, [
|
|
31
31
|
x((t(), s("div", {
|
|
32
32
|
class: "accordion__header",
|
|
33
|
-
onClick: (
|
|
33
|
+
onClick: (d) => r.value === c ? r.value = null : r.value = c
|
|
34
34
|
}, [
|
|
35
35
|
n.enumerate ? (t(), s("span", Yt, k(_ + 1) + ". ", 1)) : y("", !0),
|
|
36
36
|
W(" " + k(n.headers[c] ? l(n.headers[c]) : e(L)(c)), 1)
|
|
@@ -169,11 +169,11 @@ const Z = /* @__PURE__ */ K(tn, [["__scopeId", "data-v-0826507c"]]), nn = { clas
|
|
|
169
169
|
},
|
|
170
170
|
emits: ["update:modelValue", "update:collapsed", "update:closeHint", "overlayClick", "close"],
|
|
171
171
|
setup(u, { emit: r }) {
|
|
172
|
-
const l = u, n = r, a = G(() => l.floating || l.float), i = J(l.collapsed), c = J(null), { reachedEnd: _ } = Ze(c),
|
|
172
|
+
const l = u, n = r, a = G(() => l.floating || l.float), i = J(l.collapsed), c = J(null), { reachedEnd: _ } = Ze(c), d = () => {
|
|
173
173
|
n("update:modelValue", !1), n("close");
|
|
174
174
|
}, h = () => {
|
|
175
175
|
n("overlayClick");
|
|
176
|
-
},
|
|
176
|
+
}, p = (o) => {
|
|
177
177
|
n("update:collapsed", o), i.value = o;
|
|
178
178
|
};
|
|
179
179
|
return (o, m) => {
|
|
@@ -220,21 +220,21 @@ const Z = /* @__PURE__ */ K(tn, [["__scopeId", "data-v-0826507c"]]), nn = { clas
|
|
|
220
220
|
key: 0,
|
|
221
221
|
reactive: "",
|
|
222
222
|
icon: "plus",
|
|
223
|
-
onClick: m[0] || (m[0] = (j) =>
|
|
223
|
+
onClick: m[0] || (m[0] = (j) => p(!i.value))
|
|
224
224
|
}, null, 512)), [
|
|
225
225
|
[A]
|
|
226
226
|
]) : o.collapsible && !i.value ? x((t(), $(Z, {
|
|
227
227
|
key: 1,
|
|
228
228
|
reactive: "",
|
|
229
229
|
icon: "minus",
|
|
230
|
-
onClick: m[1] || (m[1] = (j) =>
|
|
230
|
+
onClick: m[1] || (m[1] = (j) => p(!i.value))
|
|
231
231
|
}, null, 512)), [
|
|
232
232
|
[A]
|
|
233
233
|
]) : o.closeHint ? x((t(), $(Z, {
|
|
234
234
|
key: 2,
|
|
235
235
|
reactive: "",
|
|
236
236
|
icon: "x",
|
|
237
|
-
onClick:
|
|
237
|
+
onClick: d
|
|
238
238
|
}, null, 512)), [
|
|
239
239
|
[A]
|
|
240
240
|
]) : y("", !0)
|
|
@@ -371,21 +371,21 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
|
|
|
371
371
|
},
|
|
372
372
|
emits: ["actionClick"],
|
|
373
373
|
setup(u, { emit: r }) {
|
|
374
|
-
It((
|
|
374
|
+
It((d) => ({
|
|
375
375
|
e0bbcfc0: _.value.x,
|
|
376
376
|
e0bbcfbe: _.value.y
|
|
377
377
|
}));
|
|
378
|
-
const l = r, n = J(null), a = J(!1), i = (
|
|
378
|
+
const l = r, n = J(null), a = J(!1), i = (d) => d == null ? void 0 : d.filter((h) => {
|
|
379
379
|
if (h.roles) {
|
|
380
|
-
const
|
|
381
|
-
return Vt(h.roles,
|
|
380
|
+
const p = ie("user");
|
|
381
|
+
return Vt(h.roles, p.currentUser.roles);
|
|
382
382
|
}
|
|
383
383
|
return !0;
|
|
384
|
-
}), c = (
|
|
385
|
-
const
|
|
386
|
-
|
|
387
|
-
action:
|
|
388
|
-
subject:
|
|
384
|
+
}), c = (d, h) => {
|
|
385
|
+
const p = Ve(h);
|
|
386
|
+
d.click(p), l("actionClick", {
|
|
387
|
+
action: d,
|
|
388
|
+
subject: p
|
|
389
389
|
}), a.value = !1;
|
|
390
390
|
}, _ = G(() => {
|
|
391
391
|
if (!n.value)
|
|
@@ -393,17 +393,17 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
|
|
|
393
393
|
x: 0,
|
|
394
394
|
y: 0
|
|
395
395
|
};
|
|
396
|
-
const
|
|
396
|
+
const d = n.value.getBoundingClientRect().top, h = n.value.getBoundingClientRect().left, p = n.value.offsetHeight;
|
|
397
397
|
return {
|
|
398
398
|
_: a.value,
|
|
399
399
|
x: Math.floor(h) + "px",
|
|
400
|
-
y: Math.floor(
|
|
400
|
+
y: Math.floor(d + p) + "px"
|
|
401
401
|
};
|
|
402
402
|
});
|
|
403
|
-
return (
|
|
404
|
-
const
|
|
403
|
+
return (d, h) => {
|
|
404
|
+
const p = oe("overlay");
|
|
405
405
|
return t(), s(N, null, [
|
|
406
|
-
Object.keys(
|
|
406
|
+
Object.keys(d.$slots).some((o) => o !== "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,
|
|
@@ -413,7 +413,7 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
|
|
|
413
413
|
class: "contextmenu__trigger",
|
|
414
414
|
onClick: h[0] || (h[0] = (o) => a.value = !0)
|
|
415
415
|
}, [
|
|
416
|
-
O(
|
|
416
|
+
O(d.$slots, "default", de(ge({
|
|
417
417
|
visible: a.value
|
|
418
418
|
})), void 0, !0)
|
|
419
419
|
])
|
|
@@ -432,33 +432,33 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
|
|
|
432
432
|
}, {
|
|
433
433
|
default: v(() => [
|
|
434
434
|
C("div", vn, [
|
|
435
|
-
|
|
436
|
-
O(
|
|
435
|
+
d.$slots.header ? (t(), s("div", yn, [
|
|
436
|
+
O(d.$slots, "header", {}, void 0, !0)
|
|
437
437
|
])) : y("", !0),
|
|
438
|
-
Object.keys(
|
|
438
|
+
Object.keys(d.$slots).filter((o) => !["default", "extra", "header"].includes(o)).length > 0 ? (t(), s("div", {
|
|
439
439
|
key: 1,
|
|
440
440
|
class: "content__section",
|
|
441
441
|
onClick: h[1] || (h[1] = (o) => a.value = !1)
|
|
442
442
|
}, [
|
|
443
|
-
(t(!0), s(N, null, D(Object.keys(
|
|
443
|
+
(t(!0), s(N, null, D(Object.keys(d.$slots).filter((o) => !["default", "extra", "header"].includes(o)), (o, m) => (t(), $(ve, {
|
|
444
444
|
key: `slot-${m}`,
|
|
445
445
|
class: "content__item content__item--reactive"
|
|
446
446
|
}, {
|
|
447
447
|
default: v(() => [
|
|
448
|
-
O(
|
|
448
|
+
O(d.$slots, o, {}, void 0, !0)
|
|
449
449
|
]),
|
|
450
450
|
_: 2
|
|
451
451
|
}, 1024))), 128))
|
|
452
452
|
])) : y("", !0),
|
|
453
|
-
|
|
453
|
+
d.actions !== void 0 && d.actions.length > 0 ? (t(), s("div", {
|
|
454
454
|
key: 2,
|
|
455
455
|
class: "content__section",
|
|
456
456
|
onClick: h[2] || (h[2] = (o) => a.value = !1)
|
|
457
457
|
}, [
|
|
458
|
-
(t(!0), s(N, null, D(i(
|
|
458
|
+
(t(!0), s(N, null, D(i(d.actions), (o, m) => (t(), $(ve, {
|
|
459
459
|
key: `action-${m}`,
|
|
460
460
|
class: "content__item content__item--reactive",
|
|
461
|
-
onClick: (A) => c(o,
|
|
461
|
+
onClick: (A) => c(o, d.subject)
|
|
462
462
|
}, {
|
|
463
463
|
default: v(() => [
|
|
464
464
|
o.icon ? (t(), $(Z, {
|
|
@@ -474,13 +474,13 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
|
|
|
474
474
|
_: 2
|
|
475
475
|
}, 1032, ["onClick"]))), 128))
|
|
476
476
|
])) : y("", !0),
|
|
477
|
-
|
|
477
|
+
d.$slots.extra ? (t(), s("div", {
|
|
478
478
|
key: 3,
|
|
479
479
|
class: "content__section",
|
|
480
480
|
onClick: h[3] || (h[3] = (o) => a.value = !1)
|
|
481
481
|
}, [
|
|
482
482
|
C("div", hn, [
|
|
483
|
-
|
|
483
|
+
d.$slots.extra ? O(d.$slots, "extra", { key: 0 }, void 0, !0) : y("", !0)
|
|
484
484
|
])
|
|
485
485
|
])) : y("", !0)
|
|
486
486
|
])
|
|
@@ -488,9 +488,9 @@ const fn = /* @__PURE__ */ K(mn, [["__scopeId", "data-v-c1a322df"]]), vn = { cla
|
|
|
488
488
|
_: 3
|
|
489
489
|
}, 8, ["modelValue"])), [
|
|
490
490
|
[
|
|
491
|
-
|
|
491
|
+
p,
|
|
492
492
|
{
|
|
493
|
-
layer:
|
|
493
|
+
layer: d.overlayLayer,
|
|
494
494
|
click: () => {
|
|
495
495
|
a.value = !1;
|
|
496
496
|
}
|
|
@@ -558,9 +558,9 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
|
|
|
558
558
|
emits: ["update:modelValue", "input", "change", "clipboardCopy"],
|
|
559
559
|
setup(u, { 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),
|
|
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), h = (R) => (n("clipboardCopy", R), navigator.clipboard.writeText(R)), p = _e("inputVariant", l.variant) || "normal", o = {
|
|
562
562
|
name: l.propertyName,
|
|
563
|
-
readonly:
|
|
563
|
+
readonly: d,
|
|
564
564
|
type: (() => {
|
|
565
565
|
if ("type" in a)
|
|
566
566
|
switch (a.type) {
|
|
@@ -652,7 +652,7 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
|
|
|
652
652
|
key: 2,
|
|
653
653
|
class: X(`
|
|
654
654
|
input__container
|
|
655
|
-
input__container--${e(
|
|
655
|
+
input__container--${e(p)}
|
|
656
656
|
`)
|
|
657
657
|
}, [
|
|
658
658
|
x(C("textarea", {
|
|
@@ -661,7 +661,7 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
|
|
|
661
661
|
value: R.modelValue,
|
|
662
662
|
class: X(`
|
|
663
663
|
input__textarea
|
|
664
|
-
input__input--${e(
|
|
664
|
+
input__input--${e(p)}
|
|
665
665
|
`),
|
|
666
666
|
onInput: P
|
|
667
667
|
}, null, 42, In), [
|
|
@@ -671,7 +671,7 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
|
|
|
671
671
|
key: 3,
|
|
672
672
|
class: X(`
|
|
673
673
|
input__container
|
|
674
|
-
input__container--${e(
|
|
674
|
+
input__container--${e(p)}
|
|
675
675
|
`)
|
|
676
676
|
}, [
|
|
677
677
|
x(C("input", Q(o, {
|
|
@@ -679,9 +679,9 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
|
|
|
679
679
|
"data-component": "input",
|
|
680
680
|
class: `
|
|
681
681
|
input__input
|
|
682
|
-
input__input--${e(
|
|
682
|
+
input__input--${e(p)}
|
|
683
683
|
${e(i) && "input__input--icon"}
|
|
684
|
-
${e(
|
|
684
|
+
${e(d) && "input__input--readOnly"}
|
|
685
685
|
`,
|
|
686
686
|
onInput: P,
|
|
687
687
|
onChange: Y[0] || (Y[0] = (V) => n("change", V))
|
|
@@ -693,10 +693,10 @@ const kn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7e2a5440"]]), Vn = { cla
|
|
|
693
693
|
icon: e(a).icon || "magnifying-glass",
|
|
694
694
|
class: X(`
|
|
695
695
|
input__icon
|
|
696
|
-
input__icon--${e(
|
|
696
|
+
input__icon--${e(p)}
|
|
697
697
|
`)
|
|
698
698
|
}, null, 8, ["icon", "class"])) : y("", !0),
|
|
699
|
-
e(
|
|
699
|
+
e(d) ? (t(), s("div", Bn, [
|
|
700
700
|
F(kn, null, {
|
|
701
701
|
text: v(() => [
|
|
702
702
|
W("Copiar")
|
|
@@ -736,13 +736,13 @@ const Oe = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-28a4ba0c"]]), Sn = ["val
|
|
|
736
736
|
},
|
|
737
737
|
emits: ["update:modelValue", "change"],
|
|
738
738
|
setup(u, { emit: r }) {
|
|
739
|
-
const l = u, n = r, a = J(null), i = l.property, c = (
|
|
740
|
-
l.booleanRef && (_.value =
|
|
739
|
+
const l = u, n = r, a = J(null), i = l.property, c = (p) => {
|
|
740
|
+
l.booleanRef && (_.value = p), n("update:modelValue", (p == null ? void 0 : p._id) || p), n("change", (p == null ? void 0 : p._id) || p);
|
|
741
741
|
}, _ = l.booleanRef ? (() => {
|
|
742
|
-
const
|
|
742
|
+
const p = J(l.modelValue);
|
|
743
743
|
return G({
|
|
744
744
|
get: () => {
|
|
745
|
-
switch (
|
|
745
|
+
switch (p.value) {
|
|
746
746
|
case "true":
|
|
747
747
|
return !0;
|
|
748
748
|
case "false":
|
|
@@ -752,20 +752,20 @@ const Oe = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-28a4ba0c"]]), Sn = ["val
|
|
|
752
752
|
}
|
|
753
753
|
},
|
|
754
754
|
set: (m) => {
|
|
755
|
-
|
|
755
|
+
p.value = m;
|
|
756
756
|
}
|
|
757
757
|
});
|
|
758
758
|
})() : G({
|
|
759
759
|
get: () => l.modelValue,
|
|
760
760
|
set: c
|
|
761
|
-
}),
|
|
762
|
-
return l.multiple && ue(() => l.modelValue, (
|
|
761
|
+
}), d = (p) => Array.isArray(l.modelValue) ? l.modelValue.includes(p) : l.modelValue === p, h = G(() => l.multiple ? typeof l.multiple == "number" ? l.multiple : 5 : 1);
|
|
762
|
+
return l.multiple && ue(() => l.modelValue, (p) => {
|
|
763
763
|
var m;
|
|
764
764
|
if (!a.value)
|
|
765
765
|
return;
|
|
766
766
|
const o = a.value.querySelector('option[data-selected="true"]');
|
|
767
|
-
o && o.removeAttribute("data-selected"), (m = a.value.querySelector(`option[value="${
|
|
768
|
-
}), (
|
|
767
|
+
o && o.removeAttribute("data-selected"), (m = a.value.querySelector(`option[value="${p}"]`)) == null || m.setAttribute("data-selected", "true");
|
|
768
|
+
}), (p, o) => (t(), s("select", Q({
|
|
769
769
|
ref_key: "select",
|
|
770
770
|
ref: a,
|
|
771
771
|
value: e(_)
|
|
@@ -775,7 +775,7 @@ const Oe = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-28a4ba0c"]]), Sn = ["val
|
|
|
775
775
|
class: {
|
|
776
776
|
select: !0,
|
|
777
777
|
"select--multiple": !!h.value,
|
|
778
|
-
"select--outline": !
|
|
778
|
+
"select--outline": !p.noOutline
|
|
779
779
|
},
|
|
780
780
|
onChange: o[0] || (o[0] = (m) => c(m.target.value))
|
|
781
781
|
}), [
|
|
@@ -789,10 +789,10 @@ const Oe = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-28a4ba0c"]]), Sn = ["val
|
|
|
789
789
|
return t(), s("option", {
|
|
790
790
|
key: m,
|
|
791
791
|
value: m,
|
|
792
|
-
"data-selected":
|
|
792
|
+
"data-selected": d(m)
|
|
793
793
|
}, k((A = e(i)) != null && A.translate ? e(L)(m) : m), 9, jn);
|
|
794
794
|
}), 128)),
|
|
795
|
-
O(
|
|
795
|
+
O(p.$slots, "default", {}, void 0, !0)
|
|
796
796
|
], 16, Sn));
|
|
797
797
|
}
|
|
798
798
|
});
|
|
@@ -813,7 +813,7 @@ const Ge = /* @__PURE__ */ K(Rn, [["__scopeId", "data-v-c8f00a1a"]]), Ln = { cla
|
|
|
813
813
|
set: (h) => {
|
|
814
814
|
l.pagination.limit = Number(h);
|
|
815
815
|
}
|
|
816
|
-
}), c = J(a.value ? a.value + 1 : 1), _ = G(() => Math.ceil(l.pagination.recordsTotal / l.pagination.limit)),
|
|
816
|
+
}), c = J(a.value ? a.value + 1 : 1), _ = G(() => Math.ceil(l.pagination.recordsTotal / l.pagination.limit)), d = (h) => {
|
|
817
817
|
a.value = h === "previous" ? a.value - 1 : a.value + 1;
|
|
818
818
|
};
|
|
819
819
|
return ue([
|
|
@@ -824,10 +824,10 @@ const Ge = /* @__PURE__ */ K(Rn, [["__scopeId", "data-v-c8f00a1a"]]), Ln = { cla
|
|
|
824
824
|
offset: a.value * i.value,
|
|
825
825
|
limit: i.value
|
|
826
826
|
});
|
|
827
|
-
}), (h,
|
|
827
|
+
}), (h, p) => (t(), s("div", Ln, [
|
|
828
828
|
F(Ge, {
|
|
829
829
|
modelValue: i.value,
|
|
830
|
-
"onUpdate:modelValue":
|
|
830
|
+
"onUpdate:modelValue": p[0] || (p[0] = (o) => i.value = o),
|
|
831
831
|
property: {
|
|
832
832
|
enum: [],
|
|
833
833
|
icon: "list"
|
|
@@ -844,7 +844,7 @@ const Ge = /* @__PURE__ */ K(Rn, [["__scopeId", "data-v-c8f00a1a"]]), Ln = { cla
|
|
|
844
844
|
}, 8, ["modelValue"]),
|
|
845
845
|
C("div", Mn, [
|
|
846
846
|
F(ve, {
|
|
847
|
-
onClick:
|
|
847
|
+
onClick: p[1] || (p[1] = (o) => a.value = 0)
|
|
848
848
|
}, {
|
|
849
849
|
default: v(() => [
|
|
850
850
|
F(Z, {
|
|
@@ -856,7 +856,7 @@ const Ge = /* @__PURE__ */ K(Rn, [["__scopeId", "data-v-c8f00a1a"]]), Ln = { cla
|
|
|
856
856
|
}),
|
|
857
857
|
F(ve, {
|
|
858
858
|
disabled: a.value === 0,
|
|
859
|
-
onClick:
|
|
859
|
+
onClick: p[2] || (p[2] = (o) => d("previous"))
|
|
860
860
|
}, {
|
|
861
861
|
default: v(() => [
|
|
862
862
|
F(Z, {
|
|
@@ -870,12 +870,12 @@ const Ge = /* @__PURE__ */ K(Rn, [["__scopeId", "data-v-c8f00a1a"]]), Ln = { cla
|
|
|
870
870
|
(t(), $(Oe, {
|
|
871
871
|
key: a.value,
|
|
872
872
|
modelValue: c.value,
|
|
873
|
-
"onUpdate:modelValue":
|
|
873
|
+
"onUpdate:modelValue": p[3] || (p[3] = (o) => c.value = o),
|
|
874
874
|
property: {
|
|
875
875
|
type: "number",
|
|
876
876
|
minimum: 1
|
|
877
877
|
},
|
|
878
|
-
onChange:
|
|
878
|
+
onChange: p[4] || (p[4] = (o) => {
|
|
879
879
|
a.value = c.value === 0 ? 0 : c.value - 1;
|
|
880
880
|
})
|
|
881
881
|
}, null, 8, ["modelValue"])),
|
|
@@ -883,7 +883,7 @@ const Ge = /* @__PURE__ */ K(Rn, [["__scopeId", "data-v-c8f00a1a"]]), Ln = { cla
|
|
|
883
883
|
]),
|
|
884
884
|
F(ve, {
|
|
885
885
|
disabled: a.value === _.value - 1,
|
|
886
|
-
onClick:
|
|
886
|
+
onClick: p[5] || (p[5] = (o) => d("next"))
|
|
887
887
|
}, {
|
|
888
888
|
default: v(() => [
|
|
889
889
|
F(Z, {
|
|
@@ -894,7 +894,7 @@ const Ge = /* @__PURE__ */ K(Rn, [["__scopeId", "data-v-c8f00a1a"]]), Ln = { cla
|
|
|
894
894
|
_: 1
|
|
895
895
|
}, 8, ["disabled"]),
|
|
896
896
|
F(ve, {
|
|
897
|
-
onClick:
|
|
897
|
+
onClick: p[6] || (p[6] = (o) => a.value = _.value - 1)
|
|
898
898
|
}, {
|
|
899
899
|
default: v(() => [
|
|
900
900
|
F(Z, {
|
|
@@ -933,19 +933,19 @@ const Un = /* @__PURE__ */ K(Fn, [["__scopeId", "data-v-41aa1ffc"]]), En = { cla
|
|
|
933
933
|
return "checkbox";
|
|
934
934
|
}
|
|
935
935
|
return "radio";
|
|
936
|
-
})(), c = r, _ = l.value || !1,
|
|
936
|
+
})(), c = r, _ = l.value || !1, d = G({
|
|
937
937
|
get: () => {
|
|
938
|
-
var
|
|
938
|
+
var p;
|
|
939
939
|
if (n) {
|
|
940
940
|
if ("type" in n && n.type === "boolean")
|
|
941
941
|
return !!l.value;
|
|
942
942
|
if ("items" in n)
|
|
943
|
-
return (
|
|
943
|
+
return (p = l.modelValue) == null ? void 0 : p.includes(l.value);
|
|
944
944
|
}
|
|
945
945
|
return l.modelValue === l.value;
|
|
946
946
|
},
|
|
947
947
|
set: () => {
|
|
948
|
-
var
|
|
948
|
+
var p;
|
|
949
949
|
if (!a) {
|
|
950
950
|
if (n) {
|
|
951
951
|
if ("type" in n && n.type === "boolean") {
|
|
@@ -953,7 +953,7 @@ const Un = /* @__PURE__ */ K(Fn, [["__scopeId", "data-v-41aa1ffc"]]), En = { cla
|
|
|
953
953
|
return;
|
|
954
954
|
}
|
|
955
955
|
if ("items" in n) {
|
|
956
|
-
if ((
|
|
956
|
+
if ((p = l.modelValue) != null && p.includes(_)) {
|
|
957
957
|
c("update:modelValue", l.modelValue.filter((o) => o !== _));
|
|
958
958
|
return;
|
|
959
959
|
}
|
|
@@ -964,10 +964,10 @@ const Un = /* @__PURE__ */ K(Fn, [["__scopeId", "data-v-41aa1ffc"]]), En = { cla
|
|
|
964
964
|
c("update:modelValue", l.value);
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
|
-
}), h = (
|
|
968
|
-
a &&
|
|
967
|
+
}), h = (p) => {
|
|
968
|
+
a && p.preventDefault();
|
|
969
969
|
};
|
|
970
|
-
return (
|
|
970
|
+
return (p, o) => {
|
|
971
971
|
var A, b;
|
|
972
972
|
const m = oe("clickable");
|
|
973
973
|
return x((t(), s("label", {
|
|
@@ -977,26 +977,26 @@ const Un = /* @__PURE__ */ K(Fn, [["__scopeId", "data-v-41aa1ffc"]]), En = { cla
|
|
|
977
977
|
`)
|
|
978
978
|
}, [
|
|
979
979
|
x(C("input", Q({
|
|
980
|
-
"onUpdate:modelValue": o[0] || (o[0] = (S) =>
|
|
980
|
+
"onUpdate:modelValue": o[0] || (o[0] = (S) => d.value = S)
|
|
981
981
|
}, {
|
|
982
982
|
type: e(i),
|
|
983
983
|
readOnly: e(a),
|
|
984
|
-
checked:
|
|
984
|
+
checked: d.value
|
|
985
985
|
}, {
|
|
986
986
|
class: "checkbox__input",
|
|
987
987
|
onClick: h
|
|
988
988
|
}), null, 16), [
|
|
989
|
-
[At,
|
|
989
|
+
[At, d.value]
|
|
990
990
|
]),
|
|
991
991
|
C("div", En, [
|
|
992
992
|
C("div", null, [
|
|
993
|
-
|
|
993
|
+
p.$slots.description ? O(p.$slots, "description", { key: 0 }, void 0, !0) : e(_) ? (t(), s("div", {
|
|
994
994
|
key: 1,
|
|
995
995
|
innerHTML: (A = e(n)) != null && A.translate ? e(L)(e(_)) : e(_)
|
|
996
|
-
}, null, 8, Hn)) : O(
|
|
996
|
+
}, null, 8, Hn)) : O(p.$slots, "default", { key: 2 }, void 0, !0)
|
|
997
997
|
]),
|
|
998
998
|
C("div", Dn, [
|
|
999
|
-
|
|
999
|
+
p.$slots.hint ? O(p.$slots, "hint", { key: 0 }, void 0, !0) : (b = e(n)) != null && b.hint ? (t(), s("div", {
|
|
1000
1000
|
key: 1,
|
|
1001
1001
|
innerHTML: e(n).hint
|
|
1002
1002
|
}, null, 8, Qn)) : y("", !0)
|
|
@@ -1032,7 +1032,7 @@ const Kn = /* @__PURE__ */ K(Wn, [["__scopeId", "data-v-b9da4354"]]), Xn = {
|
|
|
1032
1032
|
"update:modelValue",
|
|
1033
1033
|
"items" in l.property ? [] : ""
|
|
1034
1034
|
);
|
|
1035
|
-
}), (_,
|
|
1035
|
+
}), (_, d) => (t(), s("div", {
|
|
1036
1036
|
class: "options",
|
|
1037
1037
|
style: be(`
|
|
1038
1038
|
--columns: ${_.columns};
|
|
@@ -1073,8 +1073,8 @@ const Jn = /* @__PURE__ */ K(Yn, [["__scopeId", "data-v-4aed0c5c"]]), Zn = (u) =
|
|
|
1073
1073
|
const l = u, n = r, a = l.property, i = l.readOnly || (a == null ? void 0 : a.readOnly), c = () => {
|
|
1074
1074
|
i || (n("change", !l.modelValue), n("update:modelValue", !l.modelValue));
|
|
1075
1075
|
};
|
|
1076
|
-
return (_,
|
|
1077
|
-
var
|
|
1076
|
+
return (_, d) => {
|
|
1077
|
+
var p;
|
|
1078
1078
|
const h = oe("clickable");
|
|
1079
1079
|
return t(), s("div", Pn, [
|
|
1080
1080
|
x((t(), s("a", {
|
|
@@ -1097,7 +1097,7 @@ const Jn = /* @__PURE__ */ K(Yn, [["__scopeId", "data-v-4aed0c5c"]]), Zn = (u) =
|
|
|
1097
1097
|
blocked: e(i)
|
|
1098
1098
|
}]
|
|
1099
1099
|
]),
|
|
1100
|
-
_.$slots.default ? O(_.$slots, "default", { key: 0 }, void 0, !0) : (t(), s("div", xn, k(((
|
|
1100
|
+
_.$slots.default ? O(_.$slots, "default", { key: 0 }, void 0, !0) : (t(), s("div", xn, k(((p = e(a)) == null ? void 0 : p.description) || _.propertyName), 1))
|
|
1101
1101
|
]);
|
|
1102
1102
|
};
|
|
1103
1103
|
}
|
|
@@ -1157,7 +1157,7 @@ const no = /* @__PURE__ */ K(to, [["__scopeId", "data-v-0e3564b6"]]), Ct = (u) =
|
|
|
1157
1157
|
max-height: 60vh;
|
|
1158
1158
|
object-fit: contain;
|
|
1159
1159
|
`,
|
|
1160
|
-
onClick: i[0] || (i[0] = (
|
|
1160
|
+
onClick: i[0] || (i[0] = (d) => n.value = !0)
|
|
1161
1161
|
}, null, 8, lo),
|
|
1162
1162
|
(_ = a.meta) != null && _.owner ? (t(), s("div", so, " Criado por " + k(a.meta.owner.name) + " em " + k(a.formatDateTime(a.meta.created_at, { hours: !0 })), 1)) : y("", !0)
|
|
1163
1163
|
])), [
|
|
@@ -1232,13 +1232,13 @@ const He = /* @__PURE__ */ K(_o, [["__scopeId", "data-v-153a2e0f"]]), mo = { cla
|
|
|
1232
1232
|
const l = u, n = r, i = Fe() ? Ie() : null, c = J(((A = l.modelValue) == null ? void 0 : A.file) || null), _ = G(() => {
|
|
1233
1233
|
var b;
|
|
1234
1234
|
return c.value ? URL.createObjectURL(c.value) : (b = l.modelValue) == null ? void 0 : b.link;
|
|
1235
|
-
}),
|
|
1235
|
+
}), d = G(() => {
|
|
1236
1236
|
var b, S, j;
|
|
1237
1237
|
return /^image\//.test((b = l.modelValue) == null ? void 0 : b.type) && !((S = c.value) != null && S.type) || /^image\//.test((j = c.value) == null ? void 0 : j.type);
|
|
1238
1238
|
}), h = (b) => new Promise((S) => {
|
|
1239
1239
|
const j = new FileReader();
|
|
1240
1240
|
j.onload = () => S(j.result), j.readAsArrayBuffer(b);
|
|
1241
|
-
}),
|
|
1241
|
+
}), p = () => {
|
|
1242
1242
|
l.modelValue.tempId && n("update:modelValue", null), c.value = null;
|
|
1243
1243
|
}, o = async (b) => {
|
|
1244
1244
|
c.value = b.target.files[0];
|
|
@@ -1269,7 +1269,7 @@ const He = /* @__PURE__ */ K(_o, [["__scopeId", "data-v-153a2e0f"]]), mo = { cla
|
|
|
1269
1269
|
var j, P, B, R, Y, w;
|
|
1270
1270
|
return t(), s("div", mo, [
|
|
1271
1271
|
c.value || (j = b.modelValue) != null && j._id ? (t(), s("div", fo, [
|
|
1272
|
-
|
|
1272
|
+
d.value ? (t(), $(He, {
|
|
1273
1273
|
key: 0,
|
|
1274
1274
|
modelValue: _.value,
|
|
1275
1275
|
"onUpdate:modelValue": S[0] || (S[0] = (te) => _.value = te),
|
|
@@ -1295,7 +1295,7 @@ const He = /* @__PURE__ */ K(_o, [["__scopeId", "data-v-153a2e0f"]]), mo = { cla
|
|
|
1295
1295
|
c.value ? (t(), s("div", bo, [
|
|
1296
1296
|
F(re, {
|
|
1297
1297
|
small: "",
|
|
1298
|
-
onClick: ze(
|
|
1298
|
+
onClick: ze(p, ["prevent"])
|
|
1299
1299
|
}, {
|
|
1300
1300
|
default: v(() => [
|
|
1301
1301
|
W(k(e(L)("action.clear", { capitalize: !0 })), 1)
|
|
@@ -1359,12 +1359,12 @@ const mt = /* @__PURE__ */ K(Oo, [["__scopeId", "data-v-c86e2d2a"]]), Io = { cla
|
|
|
1359
1359
|
},
|
|
1360
1360
|
emits: ["update:modelValue", "change"],
|
|
1361
1361
|
setup(u, { emit: r }) {
|
|
1362
|
-
const l = Ae(), n = u, a = r, i = n.property, c = me(i), _ = Ie(),
|
|
1363
|
-
if (
|
|
1362
|
+
const l = Ae(), n = u, a = r, i = n.property, c = me(i), _ = Ie(), d = G(() => 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), h = () => {
|
|
1363
|
+
if (d.value)
|
|
1364
1364
|
return;
|
|
1365
1365
|
const m = (b) => b.filter((S) => !!(S != null && S._id)), A = "items" in i ? m(Array.isArray(n.modelValue) ? n.modelValue : [n.modelValue]) : n.modelValue;
|
|
1366
1366
|
Array.isArray(A) ? a("update:modelValue", A.concat([n.item])) : a("update:modelValue", n.item), a("change", n.item);
|
|
1367
|
-
},
|
|
1367
|
+
}, p = async (m) => {
|
|
1368
1368
|
if (c.purge && (m != null && m.purge)) {
|
|
1369
1369
|
const { _id: b } = n.item;
|
|
1370
1370
|
await _.$actions.remove({
|
|
@@ -1389,14 +1389,14 @@ const mt = /* @__PURE__ */ K(Oo, [["__scopeId", "data-v-c86e2d2a"]]), Io = { cla
|
|
|
1389
1389
|
});
|
|
1390
1390
|
return;
|
|
1391
1391
|
}
|
|
1392
|
-
return
|
|
1392
|
+
return d.value ? p() : h();
|
|
1393
1393
|
};
|
|
1394
1394
|
return (m, A) => {
|
|
1395
1395
|
const b = oe("clickable");
|
|
1396
1396
|
return x((t(), s("div", {
|
|
1397
1397
|
class: X({
|
|
1398
1398
|
item: !0,
|
|
1399
|
-
"item--selected":
|
|
1399
|
+
"item--selected": d.value
|
|
1400
1400
|
}),
|
|
1401
1401
|
onClick: o
|
|
1402
1402
|
}, [
|
|
@@ -1435,16 +1435,16 @@ const Xe = /* @__PURE__ */ K(Ao, [["__scopeId", "data-v-5e6ec702"]]), Bo = { cla
|
|
|
1435
1435
|
},
|
|
1436
1436
|
emits: ["update:modelValue", "change", "update:panel"],
|
|
1437
1437
|
setup(u, { emit: r }) {
|
|
1438
|
-
const l = u, n = me(l.property), a = l.panel !== void 0 ? G(() => l.panel) : J(!1), i = r, c = ie(me(l.property).$ref), _ = Fe(),
|
|
1438
|
+
const l = u, n = me(l.property), a = l.panel !== void 0 ? G(() => l.panel) : J(!1), i = r, c = ie(me(l.property).$ref), _ = Fe(), d = _ ? Ie() : null, h = n.indexes;
|
|
1439
1439
|
ye(Ue, me(l.property).$ref), ye("innerInputLabel", !0), ye("omitInputLabels", !0);
|
|
1440
|
-
const
|
|
1440
|
+
const p = J(l.modelValue), o = J({
|
|
1441
1441
|
data: [],
|
|
1442
1442
|
pagination: {}
|
|
1443
1443
|
}), m = G(() => o.value.data), A = G(() => o.value.pagination), b = J(0), S = J(h[0]), j = J(!1), P = J({}), B = () => {
|
|
1444
1444
|
const z = {};
|
|
1445
1445
|
if (_) {
|
|
1446
1446
|
const U = e(_);
|
|
1447
|
-
z[U] =
|
|
1447
|
+
z[U] = d;
|
|
1448
1448
|
}
|
|
1449
1449
|
return n.constraints ? Gt(n.constraints, z) : {};
|
|
1450
1450
|
}, R = () => {
|
|
@@ -1504,9 +1504,9 @@ const Xe = /* @__PURE__ */ K(Ao, [["__scopeId", "data-v-5e6ec702"]]), Bo = { cla
|
|
|
1504
1504
|
l.selectOnly && w();
|
|
1505
1505
|
});
|
|
1506
1506
|
const ne = (z) => {
|
|
1507
|
-
|
|
1507
|
+
p.value = z, l.selectOnly || i("update:modelValue", z);
|
|
1508
1508
|
}, se = () => {
|
|
1509
|
-
ae(), i("update:modelValue",
|
|
1509
|
+
ae(), i("update:modelValue", p.value);
|
|
1510
1510
|
};
|
|
1511
1511
|
return (z, U) => {
|
|
1512
1512
|
const f = oe("clickable");
|
|
@@ -1581,8 +1581,8 @@ const Xe = /* @__PURE__ */ K(Ao, [["__scopeId", "data-v-5e6ec702"]]), Bo = { cla
|
|
|
1581
1581
|
property: z.property
|
|
1582
1582
|
}, {
|
|
1583
1583
|
key: `matching-${g._id}`,
|
|
1584
|
-
modelValue:
|
|
1585
|
-
"onUpdate:modelValue": U[3] || (U[3] = (I) =>
|
|
1584
|
+
modelValue: p.value,
|
|
1585
|
+
"onUpdate:modelValue": U[3] || (U[3] = (I) => p.value = I)
|
|
1586
1586
|
}), null, 16, ["modelValue"]))), 128))
|
|
1587
1587
|
]),
|
|
1588
1588
|
_: 1
|
|
@@ -1727,11 +1727,11 @@ const Uo = /* @__PURE__ */ K(Fo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
|
|
|
1727
1727
|
$t(() => {
|
|
1728
1728
|
n.modelValue || a("update:modelValue", n.property && "items" in n.property ? [] : {});
|
|
1729
1729
|
});
|
|
1730
|
-
const i = n.property && me(n.property), c = i ? i.$ref : n.collection || Fe(), _ = n.readOnly || ((U = n.property) == null ? void 0 : U.readOnly),
|
|
1730
|
+
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;
|
|
1731
1731
|
!c && process.env.NODE_ENV !== "production" && console.warn(`aeria-form was used without providing storeId or specifying
|
|
1732
1732
|
collection prop, some features may not work as intended`);
|
|
1733
|
-
const h = J(!1),
|
|
1734
|
-
const f = (() => !n.form && n.property ? "properties" in n.property ? n.property.properties : void 0 : n.form)();
|
|
1733
|
+
const h = J(!1), p = G(() => {
|
|
1734
|
+
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)();
|
|
1735
1735
|
if (!f)
|
|
1736
1736
|
return;
|
|
1737
1737
|
const M = {};
|
|
@@ -1748,19 +1748,19 @@ const Uo = /* @__PURE__ */ K(Fo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
|
|
|
1748
1748
|
f.created_at || (M.created_at = H), f.created_at || (M.updated_at = H);
|
|
1749
1749
|
}
|
|
1750
1750
|
return Object.assign(M, f), M;
|
|
1751
|
-
}), o = G(() => n.layout || (
|
|
1751
|
+
}), o = G(() => n.layout || (d == null ? void 0 : d.description.formLayout)), m = (f) => {
|
|
1752
1752
|
const M = _e(f, n[f]);
|
|
1753
1753
|
return n[f] && ye(f, n[f]), M;
|
|
1754
|
-
}, A = G(() => n.validationErrors !== null ? n.validationErrors :
|
|
1754
|
+
}, A = G(() => n.validationErrors !== null ? n.validationErrors : d == null ? void 0 : d.validationErrors), b = m("formComponents") || {}, S = m("propertyComponents") || {}, j = m("omitFormHeader"), P = m("omitInputLabels"), B = m("innerInputLabel");
|
|
1755
1755
|
c && ye(Ue, c), ye("searchOnly", n.searchOnly);
|
|
1756
|
-
const R = (f) =>
|
|
1756
|
+
const R = (f) => p.value ? Object.entries(p.value).filter(([M, H]) => !H.noForm && f([
|
|
1757
1757
|
M,
|
|
1758
1758
|
H
|
|
1759
1759
|
])) : null, Y = (f, M) => {
|
|
1760
1760
|
var g;
|
|
1761
1761
|
if (n.searchOnly || !c || n.includeId && f === "_id" || n.includeTimestamps && M.isTimestamp)
|
|
1762
1762
|
return !0;
|
|
1763
|
-
const H = n.property && "properties" in n.property ? n.property.form : (g =
|
|
1763
|
+
const H = n.property && "properties" in n.property ? n.property.form : (g = d == null ? void 0 : d.description) == null ? void 0 : g.form;
|
|
1764
1764
|
return !H || H.includes(f);
|
|
1765
1765
|
}, w = R(([f, M]) => Y(f, M)), te = qe(), V = {}, T = (f, M) => {
|
|
1766
1766
|
var q, fe, we, Se;
|
|
@@ -1772,7 +1772,7 @@ const Uo = /* @__PURE__ */ K(Fo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
|
|
|
1772
1772
|
n.modelValue,
|
|
1773
1773
|
g.if
|
|
1774
1774
|
);
|
|
1775
|
-
Te.satisfied || (V[f] && (
|
|
1775
|
+
Te.satisfied || (V[f] && (d ? n.modelValue[f] = typeof d.$freshItem[f] == "object" ? Ve(d.$freshItem[f]) : d.$freshItem[f] : n.modelValue[f] = [
|
|
1776
1776
|
void 0,
|
|
1777
1777
|
null
|
|
1778
1778
|
].includes(n.modelValue[f]) ? null : n.modelValue[f].constructor()), H.push("display: none;")), V[f] = Te.satisfied;
|
|
@@ -1790,11 +1790,11 @@ const Uo = /* @__PURE__ */ K(Fo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
|
|
|
1790
1790
|
padding: 1rem 0;
|
|
1791
1791
|
margin: 1rem 0;
|
|
1792
1792
|
`)), H.join("");
|
|
1793
|
-
}, ae = (f) => f === null || f instanceof Object && !Object.keys(f).length, le = G(() => n.required ? n.required : n.property && "required" in n.property ? n.property.required :
|
|
1793
|
+
}, ae = (f) => f === null || f instanceof Object && !Object.keys(f).length, le = G(() => n.required ? n.required : n.property && "required" in n.property ? n.property.required : d == null ? void 0 : d.description.required), ne = G(() => n.form ? Ft(
|
|
1794
1794
|
n.modelValue,
|
|
1795
1795
|
n.form,
|
|
1796
1796
|
le.value,
|
|
1797
|
-
|
|
1797
|
+
d == null ? void 0 : d.description
|
|
1798
1798
|
) : !0), se = (f, M) => {
|
|
1799
1799
|
var H;
|
|
1800
1800
|
return (H = A.value) != null && H[f] && (typeof A.value[f].index != "number" || A.value[f].index === M) ? A.value[f].errors : null;
|
|
@@ -1986,7 +1986,7 @@ const Uo = /* @__PURE__ */ K(Fo, [["__scopeId", "data-v-15bbe202"]]), ft = (u, r
|
|
|
1986
1986
|
};
|
|
1987
1987
|
}
|
|
1988
1988
|
});
|
|
1989
|
-
const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-
|
|
1989
|
+
const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-e02fe7fe"]]), la = /* @__PURE__ */ E({
|
|
1990
1990
|
__name: "aeria-filter-panel",
|
|
1991
1991
|
emits: ["update:modelValue"],
|
|
1992
1992
|
setup(u, { emit: r }) {
|
|
@@ -1995,24 +1995,24 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
1995
1995
|
const _ = Object.assign({
|
|
1996
1996
|
query: {}
|
|
1997
1997
|
}, a.currentRoute.value);
|
|
1998
|
-
for (const
|
|
1999
|
-
|
|
1998
|
+
for (const d of Object.keys(_.query))
|
|
1999
|
+
d.startsWith(`${i}.`) && delete _.query[d];
|
|
2000
2000
|
a.currentRoute.value.query = {}, a.push(Me(_, {
|
|
2001
2001
|
query: Et(n)
|
|
2002
2002
|
}));
|
|
2003
2003
|
};
|
|
2004
|
-
return (_,
|
|
2004
|
+
return (_, d) => (t(), $(Be, {
|
|
2005
2005
|
"close-hint": "",
|
|
2006
2006
|
"fixed-right": "",
|
|
2007
2007
|
title: _.t("filter_by", { capitalize: !0 }),
|
|
2008
|
-
onClose:
|
|
2009
|
-
onOverlayClick:
|
|
2008
|
+
onClose: d[2] || (d[2] = (h) => l("update:modelValue", !1)),
|
|
2009
|
+
onOverlayClick: d[3] || (d[3] = (h) => l("update:modelValue", !1))
|
|
2010
2010
|
}, {
|
|
2011
2011
|
footer: v(() => [
|
|
2012
2012
|
e(n).filtersCount > 0 ? (t(), $(re, {
|
|
2013
2013
|
key: 0,
|
|
2014
2014
|
variant: "transparent",
|
|
2015
|
-
onClick:
|
|
2015
|
+
onClick: d[1] || (d[1] = (h) => {
|
|
2016
2016
|
e(n).$actions.clearFilters(), c(), l("update:modelValue", !1);
|
|
2017
2017
|
})
|
|
2018
2018
|
}, {
|
|
@@ -2042,7 +2042,7 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2042
2042
|
default: v(() => [
|
|
2043
2043
|
F(We, Q({
|
|
2044
2044
|
modelValue: e(n).filters,
|
|
2045
|
-
"onUpdate:modelValue":
|
|
2045
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => e(n).filters = h)
|
|
2046
2046
|
}, {
|
|
2047
2047
|
searchOnly: !0,
|
|
2048
2048
|
form: e(n).availableFilters,
|
|
@@ -2066,16 +2066,16 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2066
2066
|
const l = u, n = r, a = ie("meta"), i = ie(l.collection || a.view.collection), c = _e("individualActions", []), _ = async () => {
|
|
2067
2067
|
const { error: o } = await i.$actions.deepInsert();
|
|
2068
2068
|
o || n("update:modelValue", !1);
|
|
2069
|
-
}, { t:
|
|
2069
|
+
}, { t: d } = Lt(), h = () => {
|
|
2070
2070
|
a.$actions.ask({
|
|
2071
2071
|
action: () => {
|
|
2072
2072
|
i.$actions.clearItem(), i.validationErrors = {}, n("cancel");
|
|
2073
2073
|
},
|
|
2074
|
-
body:
|
|
2074
|
+
body: d("prompt.close_panel")
|
|
2075
2075
|
});
|
|
2076
|
-
},
|
|
2076
|
+
}, p = () => a.$actions.spawnToast({
|
|
2077
2077
|
icon: "info",
|
|
2078
|
-
text:
|
|
2078
|
+
text: d("copied_to_clipboard")
|
|
2079
2079
|
});
|
|
2080
2080
|
return ue(() => i.item._id, (o) => {
|
|
2081
2081
|
o === null && n("update:modelValue", !1);
|
|
@@ -2121,7 +2121,7 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2121
2121
|
layout: e(i).description.formLayout || {}
|
|
2122
2122
|
}, {
|
|
2123
2123
|
focus: "",
|
|
2124
|
-
onClipboardCopy:
|
|
2124
|
+
onClipboardCopy: p,
|
|
2125
2125
|
onAdd: m[1] || (m[1] = (b) => b.preventDefault())
|
|
2126
2126
|
}), ce({ _: 2 }, [
|
|
2127
2127
|
D(Object.keys(o.$slots).filter((b) => b.startsWith("field-")), (b) => ({
|
|
@@ -2149,7 +2149,7 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2149
2149
|
onClick: h
|
|
2150
2150
|
}, {
|
|
2151
2151
|
default: v(() => [
|
|
2152
|
-
W(k(e(
|
|
2152
|
+
W(k(e(d)("action.cancel", { capitalize: !0 })), 1)
|
|
2153
2153
|
]),
|
|
2154
2154
|
_: 1
|
|
2155
2155
|
}),
|
|
@@ -2160,7 +2160,7 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2160
2160
|
onClick: _
|
|
2161
2161
|
}, {
|
|
2162
2162
|
default: v(() => [
|
|
2163
|
-
W(k(e(
|
|
2163
|
+
W(k(e(d)("action.insert", { capitalize: !0 })), 1)
|
|
2164
2164
|
]),
|
|
2165
2165
|
_: 1
|
|
2166
2166
|
}, 8, ["disabled", "loading"])
|
|
@@ -2236,13 +2236,13 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2236
2236
|
const l = u, n = r, a = qe(), i = l.collection || Fe(), c = i ? ie(typeof i == "string" ? i : i.value) : null, _ = G({
|
|
2237
2237
|
get: () => c == null ? void 0 : c.selected,
|
|
2238
2238
|
set: (m) => c == null ? void 0 : c.$actions.selectManyItems(m, !0)
|
|
2239
|
-
}),
|
|
2239
|
+
}), d = (m, A) => m != null && m.button ? typeof m.button == "object" ? Ye(A, m.button).satisfied : m.button : !1, h = (m) => {
|
|
2240
2240
|
var A;
|
|
2241
2241
|
return !a.value.xl || !((A = l.layout) != null && A.actions) || !l.actions ? [] : l.actions.filter((b) => {
|
|
2242
2242
|
const S = l.layout.actions[b.action];
|
|
2243
|
-
return
|
|
2243
|
+
return d(S, m);
|
|
2244
2244
|
});
|
|
2245
|
-
},
|
|
2245
|
+
}, p = (m) => {
|
|
2246
2246
|
var A;
|
|
2247
2247
|
return l.actions ? !a.value.xl || !((A = l.layout) != null && A.actions) ? l.actions : l.actions.filter((b) => {
|
|
2248
2248
|
const S = l.layout.actions[b.action];
|
|
@@ -2251,7 +2251,7 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2251
2251
|
if (!Vt(b.roles, j.currentUser.roles))
|
|
2252
2252
|
return !1;
|
|
2253
2253
|
}
|
|
2254
|
-
return !
|
|
2254
|
+
return !d(S, m);
|
|
2255
2255
|
}) : [];
|
|
2256
2256
|
}, o = (m, A) => {
|
|
2257
2257
|
var j, P;
|
|
@@ -2397,12 +2397,12 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2397
2397
|
]),
|
|
2398
2398
|
_: 2
|
|
2399
2399
|
}, 1032, ["icon", "style", "onClick"]))), 128)),
|
|
2400
|
-
|
|
2400
|
+
p(B).length > 0 ? (t(), $(Ce, Q({
|
|
2401
2401
|
key: 0,
|
|
2402
2402
|
ref_for: !0
|
|
2403
2403
|
}, {
|
|
2404
2404
|
subject: B,
|
|
2405
|
-
actions:
|
|
2405
|
+
actions: p(B)
|
|
2406
2406
|
}), {
|
|
2407
2407
|
default: v(({
|
|
2408
2408
|
visible: w
|
|
@@ -2421,7 +2421,7 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2421
2421
|
])) : (Y = m.actions) != null && Y.length ? (t(), s("td", Ma, [
|
|
2422
2422
|
C("div", {
|
|
2423
2423
|
class: "table__mobile-actions-grid",
|
|
2424
|
-
style: be(`grid-template-columns: repeat(${h(B).length + (
|
|
2424
|
+
style: be(`grid-template-columns: repeat(${h(B).length + (p(B).length ? 1 : 0)}, 1fr);`)
|
|
2425
2425
|
}, [
|
|
2426
2426
|
(t(!0), s(N, null, D(h(B), (w) => (t(), $(ve, {
|
|
2427
2427
|
key: `action-${w.action}`,
|
|
@@ -2440,12 +2440,12 @@ const We = /* @__PURE__ */ K(aa, [["__scopeId", "data-v-cd01186c"]]), la = /* @_
|
|
|
2440
2440
|
]),
|
|
2441
2441
|
_: 2
|
|
2442
2442
|
}, 1032, ["onClick"]))), 128)),
|
|
2443
|
-
|
|
2443
|
+
p(B).length > 0 ? (t(), $(Ce, Q({
|
|
2444
2444
|
key: 0,
|
|
2445
2445
|
ref_for: !0
|
|
2446
2446
|
}, {
|
|
2447
2447
|
subject: B,
|
|
2448
|
-
actions:
|
|
2448
|
+
actions: p(B)
|
|
2449
2449
|
}), {
|
|
2450
2450
|
default: v(() => [
|
|
2451
2451
|
F(Z, {
|
|
@@ -2496,8 +2496,8 @@ const Da = /* @__PURE__ */ K(Ha, [["__scopeId", "data-v-7fdb061d"]]), Qa = /* @_
|
|
|
2496
2496
|
}), ce({ _: 2 }, [
|
|
2497
2497
|
D(Object.keys(i.$slots).filter((_) => !["inner"].includes(_)), (_) => ({
|
|
2498
2498
|
name: _,
|
|
2499
|
-
fn: v((
|
|
2500
|
-
O(i.$slots, _, de(ge(
|
|
2499
|
+
fn: v((d) => [
|
|
2500
|
+
O(i.$slots, _, de(ge(d)))
|
|
2501
2501
|
])
|
|
2502
2502
|
}))
|
|
2503
2503
|
]), 1040)) : y("", !0)
|
|
@@ -2538,21 +2538,21 @@ const Wa = /* @__PURE__ */ K(Ga, [["__scopeId", "data-v-438c4aed"]]), Ka = { key
|
|
|
2538
2538
|
list: i.componentName === "list"
|
|
2539
2539
|
}, {
|
|
2540
2540
|
default: v(() => [
|
|
2541
|
-
(t(!0), s(N, null, D(e(n).items, (
|
|
2542
|
-
key:
|
|
2543
|
-
inactive: !!(e(l).active && !
|
|
2541
|
+
(t(!0), s(N, null, D(e(n).items, (d) => (t(), $(fn, {
|
|
2542
|
+
key: d,
|
|
2543
|
+
inactive: !!(e(l).active && !d[e(l).active]),
|
|
2544
2544
|
horizontal: i.componentName === "list"
|
|
2545
2545
|
}, ce({
|
|
2546
2546
|
footer: v(() => [
|
|
2547
|
-
e(l).title ? (t(), s("div", Ka, k(
|
|
2548
|
-
e(l).information ? (t(), s("div", Xa, k(
|
|
2547
|
+
e(l).title ? (t(), s("div", Ka, k(d[e(l).title]), 1)) : y("", !0),
|
|
2548
|
+
e(l).information ? (t(), s("div", Xa, k(d[e(l).information]), 1)) : y("", !0)
|
|
2549
2549
|
]),
|
|
2550
2550
|
actions: v(() => [
|
|
2551
2551
|
i.individualActions.length > 0 ? (t(), $(Ce, Q({
|
|
2552
2552
|
key: 0,
|
|
2553
2553
|
ref_for: !0
|
|
2554
2554
|
}, {
|
|
2555
|
-
subject:
|
|
2555
|
+
subject: d,
|
|
2556
2556
|
actions: i.individualActions
|
|
2557
2557
|
}), {
|
|
2558
2558
|
default: v(({
|
|
@@ -2575,18 +2575,18 @@ const Wa = /* @__PURE__ */ K(Ga, [["__scopeId", "data-v-438c4aed"]]), Ka = { key
|
|
|
2575
2575
|
F(He, {
|
|
2576
2576
|
alt: "Item picture",
|
|
2577
2577
|
expandable: "",
|
|
2578
|
-
url: (h = a(
|
|
2579
|
-
meta: a(
|
|
2578
|
+
url: (h = a(d[e(l).picture])) == null ? void 0 : h.link,
|
|
2579
|
+
meta: a(d[e(l).picture])
|
|
2580
2580
|
}, null, 8, ["url", "meta"])
|
|
2581
2581
|
];
|
|
2582
2582
|
}),
|
|
2583
2583
|
_: 2
|
|
2584
2584
|
}, [
|
|
2585
|
-
e(l).badge && Array.isArray(
|
|
2585
|
+
e(l).badge && Array.isArray(d[e(l).badge]) ? {
|
|
2586
2586
|
name: "badge",
|
|
2587
2587
|
fn: v(() => [
|
|
2588
|
-
(t(!0), s(N, null, D(
|
|
2589
|
-
key: `${
|
|
2588
|
+
(t(!0), s(N, null, D(d[e(l).badge], (h) => (t(), $($e, {
|
|
2589
|
+
key: `${d._id}-${h}`,
|
|
2590
2590
|
large: ""
|
|
2591
2591
|
}, {
|
|
2592
2592
|
default: v(() => [
|
|
@@ -2601,7 +2601,7 @@ const Wa = /* @__PURE__ */ K(Ga, [["__scopeId", "data-v-438c4aed"]]), Ka = { key
|
|
|
2601
2601
|
fn: v(() => [
|
|
2602
2602
|
F($e, null, {
|
|
2603
2603
|
default: v(() => [
|
|
2604
|
-
W(k(e(l).translateBadge ? e(L)(
|
|
2604
|
+
W(k(e(l).translateBadge ? e(L)(d[e(l).badge]) : d[e(l).badge]), 1)
|
|
2605
2605
|
]),
|
|
2606
2606
|
_: 2
|
|
2607
2607
|
}, 1024)
|
|
@@ -2648,10 +2648,10 @@ const ke = J(!1), Le = J((...u) => null), yt = J(), Za = (u) => (De("data-v-21ee
|
|
|
2648
2648
|
setup(u, { emit: r }) {
|
|
2649
2649
|
const l = u, n = r, a = Ae(), i = kt({
|
|
2650
2650
|
delay: 600
|
|
2651
|
-
}), c = ie("meta"), _ = qe(), { reachedEnd:
|
|
2651
|
+
}), c = ie("meta"), _ = qe(), { reachedEnd: d, detach: h } = Ze(null, {
|
|
2652
2652
|
antecipate: 600
|
|
2653
|
-
}),
|
|
2654
|
-
|
|
2653
|
+
}), p = !_.value.md || l.scrollPagination;
|
|
2654
|
+
p && ue(d, (V) => {
|
|
2655
2655
|
V && o.pagination.recordsTotal > o.items.length && b.value < ht && (b.value += 1, j());
|
|
2656
2656
|
});
|
|
2657
2657
|
const o = ie(l.collection);
|
|
@@ -2980,7 +2980,7 @@ const ke = J(!1), Le = J((...u) => null), yt = J(), Za = (u) => (De("data-v-21ee
|
|
|
2980
2980
|
} : void 0
|
|
2981
2981
|
]), 1040, ["component-name"]))
|
|
2982
2982
|
])), [
|
|
2983
|
-
[le, (!e(
|
|
2983
|
+
[le, (!e(p) || b.value === ht) && e(o).loading.getAll]
|
|
2984
2984
|
]),
|
|
2985
2985
|
!e(o).loading.getAll && e(o).itemsCount > 0 ? (t(), s("div", ol, [
|
|
2986
2986
|
F(Un, {
|
|
@@ -3204,29 +3204,29 @@ const Dl = /* @__PURE__ */ K(vl, [["render", hl], ["__scopeId", "data-v-3cfef7fb
|
|
|
3204
3204
|
}
|
|
3205
3205
|
}));
|
|
3206
3206
|
};
|
|
3207
|
-
return (_,
|
|
3207
|
+
return (_, d) => {
|
|
3208
3208
|
const h = oe("clickable");
|
|
3209
3209
|
return t(), s("div", bl, [
|
|
3210
3210
|
e(a).md && !_.dropdown ? (t(), s("div", $l, [
|
|
3211
3211
|
_.$slots.default ? (t(), s("div", gl, [
|
|
3212
3212
|
O(_.$slots, "default", {}, void 0, !0)
|
|
3213
3213
|
])) : y("", !0),
|
|
3214
|
-
(t(!0), s(N, null, D(Object.keys(_.$slots).filter((
|
|
3215
|
-
key:
|
|
3214
|
+
(t(!0), s(N, null, D(Object.keys(_.$slots).filter((p) => p !== "default"), (p, o) => (t(), s("div", {
|
|
3215
|
+
key: p,
|
|
3216
3216
|
class: X({
|
|
3217
3217
|
tabs__tab: !0,
|
|
3218
|
-
"tabs__tab--current":
|
|
3218
|
+
"tabs__tab--current": p === i.value || !i.value && o === 0
|
|
3219
3219
|
}),
|
|
3220
|
-
onClick: (m) => c(
|
|
3220
|
+
onClick: (m) => c(p)
|
|
3221
3221
|
}, [
|
|
3222
|
-
O(_.$slots,
|
|
3222
|
+
O(_.$slots, p, {}, void 0, !0)
|
|
3223
3223
|
], 10, kl))), 128))
|
|
3224
3224
|
])) : (t(), s("div", Vl, [
|
|
3225
3225
|
F(Ce, null, ce({
|
|
3226
|
-
default: v(({ visible:
|
|
3226
|
+
default: v(({ visible: p }) => [
|
|
3227
3227
|
x((t(), $(Z, {
|
|
3228
3228
|
"icon-right": "",
|
|
3229
|
-
active:
|
|
3229
|
+
active: p,
|
|
3230
3230
|
icon: "caret-down",
|
|
3231
3231
|
style: { "--icon-color": "var(--theme-brand-color-shade-1)" },
|
|
3232
3232
|
class: "tabs__context-menu-icon"
|
|
@@ -3241,13 +3241,13 @@ const Dl = /* @__PURE__ */ K(vl, [["render", hl], ["__scopeId", "data-v-3cfef7fb
|
|
|
3241
3241
|
]),
|
|
3242
3242
|
_: 2
|
|
3243
3243
|
}, [
|
|
3244
|
-
D(Object.keys(_.$slots).filter((
|
|
3245
|
-
name:
|
|
3244
|
+
D(Object.keys(_.$slots).filter((p) => p !== "default"), (p) => ({
|
|
3245
|
+
name: p,
|
|
3246
3246
|
fn: v(() => [
|
|
3247
3247
|
C("div", {
|
|
3248
|
-
onClick: (o) => c(
|
|
3248
|
+
onClick: (o) => c(p)
|
|
3249
3249
|
}, [
|
|
3250
|
-
O(_.$slots,
|
|
3250
|
+
O(_.$slots, p, {}, void 0, !0)
|
|
3251
3251
|
], 8, Cl)
|
|
3252
3252
|
])
|
|
3253
3253
|
}))
|
|
@@ -3274,38 +3274,38 @@ const Il = /* @__PURE__ */ K(Ol, [["__scopeId", "data-v-a20914ab"]]), Al = E({
|
|
|
3274
3274
|
collection: {}
|
|
3275
3275
|
},
|
|
3276
3276
|
setup(u) {
|
|
3277
|
-
const r = u, n = Ae().currentRoute, a = Pe(), i = G(() => 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 (_,
|
|
3278
|
-
const { error: h, result:
|
|
3277
|
+
const r = u, n = Ae().currentRoute, a = Pe(), i = G(() => 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) => {
|
|
3278
|
+
const { error: h, result: p } = await d.$functions[_.badgeFunction]({
|
|
3279
3279
|
filters: _.filters
|
|
3280
3280
|
});
|
|
3281
|
-
return h ? 0 :
|
|
3281
|
+
return h ? 0 : p;
|
|
3282
3282
|
};
|
|
3283
|
-
return (_,
|
|
3283
|
+
return (_, d) => i.value && i.value.description.filtersPresets ? (t(), $(Il, {
|
|
3284
3284
|
key: 0,
|
|
3285
3285
|
dropdown: "",
|
|
3286
3286
|
query: "section"
|
|
3287
3287
|
}, ce({ _: 2 }, [
|
|
3288
|
-
D(Object.entries(i.value.description.filtersPresets), ([h,
|
|
3288
|
+
D(Object.entries(i.value.description.filtersPresets), ([h, p]) => ({
|
|
3289
3289
|
name: h,
|
|
3290
3290
|
fn: v(() => [
|
|
3291
3291
|
C("div", {
|
|
3292
3292
|
class: "topbar__preset",
|
|
3293
|
-
onClick: (o) => e(Ot)(
|
|
3293
|
+
onClick: (o) => e(Ot)(p, i.value)
|
|
3294
3294
|
}, [
|
|
3295
|
-
|
|
3295
|
+
p.icon ? (t(), $(Z, {
|
|
3296
3296
|
key: 0,
|
|
3297
|
-
icon:
|
|
3297
|
+
icon: p.icon
|
|
3298
3298
|
}, {
|
|
3299
3299
|
default: v(() => [
|
|
3300
|
-
W(k(
|
|
3300
|
+
W(k(p.label || e(L)(h, { plural: !0 })), 1)
|
|
3301
3301
|
]),
|
|
3302
3302
|
_: 2
|
|
3303
|
-
}, 1032, ["icon"])) : (t(), s("div", wl, k(
|
|
3304
|
-
|
|
3303
|
+
}, 1032, ["icon"])) : (t(), s("div", wl, k(p.label || e(L)(h, { plural: !0 })), 1)),
|
|
3304
|
+
p.badgeFunction ? (t(), $($e, { key: 2 }, {
|
|
3305
3305
|
default: v(() => [
|
|
3306
3306
|
F(e(Al), {
|
|
3307
3307
|
"initial-value": "0",
|
|
3308
|
-
promise: c(
|
|
3308
|
+
promise: c(p, i.value)
|
|
3309
3309
|
}, null, 8, ["promise"])
|
|
3310
3310
|
]),
|
|
3311
3311
|
_: 2
|
|
@@ -3373,7 +3373,7 @@ const Tl = /* @__PURE__ */ K(Sl, [["__scopeId", "data-v-85c3b087"]]), jl = /* @_
|
|
|
3373
3373
|
{
|
|
3374
3374
|
path: "signin",
|
|
3375
3375
|
name: "/user/signin",
|
|
3376
|
-
component: () => import("./signin-
|
|
3376
|
+
component: () => import("./signin-1c63bf10.js"),
|
|
3377
3377
|
meta: {
|
|
3378
3378
|
title: "Autenticação"
|
|
3379
3379
|
}
|
|
@@ -3381,7 +3381,7 @@ const Tl = /* @__PURE__ */ K(Sl, [["__scopeId", "data-v-85c3b087"]]), jl = /* @_
|
|
|
3381
3381
|
{
|
|
3382
3382
|
path: "signup",
|
|
3383
3383
|
name: "/user/signup",
|
|
3384
|
-
component: () => import("./signup-
|
|
3384
|
+
component: () => import("./signup-f04a94e8.js"),
|
|
3385
3385
|
meta: {
|
|
3386
3386
|
title: "Registro"
|
|
3387
3387
|
}
|
|
@@ -3389,7 +3389,7 @@ const Tl = /* @__PURE__ */ K(Sl, [["__scopeId", "data-v-85c3b087"]]), jl = /* @_
|
|
|
3389
3389
|
{
|
|
3390
3390
|
path: "activation",
|
|
3391
3391
|
name: "/user/activation",
|
|
3392
|
-
component: () => import("./activation-
|
|
3392
|
+
component: () => import("./activation-bf41e363.js"),
|
|
3393
3393
|
meta: {
|
|
3394
3394
|
title: "Ativação"
|
|
3395
3395
|
}
|
|
@@ -3411,7 +3411,7 @@ const Tl = /* @__PURE__ */ K(Sl, [["__scopeId", "data-v-85c3b087"]]), jl = /* @_
|
|
|
3411
3411
|
name: "/dashboard/crud",
|
|
3412
3412
|
props: !0,
|
|
3413
3413
|
components: {
|
|
3414
|
-
default: () => import("./index-
|
|
3414
|
+
default: () => import("./index-1e34d8bf.js"),
|
|
3415
3415
|
topbar: () => Promise.resolve().then(() => jl)
|
|
3416
3416
|
},
|
|
3417
3417
|
meta: {
|
|
@@ -3423,7 +3423,7 @@ const Tl = /* @__PURE__ */ K(Sl, [["__scopeId", "data-v-85c3b087"]]), jl = /* @_
|
|
|
3423
3423
|
name: "/dashboard/crud/:id",
|
|
3424
3424
|
props: !0,
|
|
3425
3425
|
components: {
|
|
3426
|
-
default: () => import("./_id_-
|
|
3426
|
+
default: () => import("./_id_-5a31d8c9.js")
|
|
3427
3427
|
},
|
|
3428
3428
|
meta: {
|
|
3429
3429
|
title: "%viewTitle%"
|
|
@@ -3441,7 +3441,7 @@ const Tl = /* @__PURE__ */ K(Sl, [["__scopeId", "data-v-85c3b087"]]), jl = /* @_
|
|
|
3441
3441
|
children: [
|
|
3442
3442
|
{
|
|
3443
3443
|
path: "profile",
|
|
3444
|
-
component: () => import("./index-
|
|
3444
|
+
component: () => import("./index-9fb126a5.js"),
|
|
3445
3445
|
meta: {
|
|
3446
3446
|
title: "Meu perfil",
|
|
3447
3447
|
icon: "user-square"
|
|
@@ -3450,7 +3450,7 @@ const Tl = /* @__PURE__ */ K(Sl, [["__scopeId", "data-v-85c3b087"]]), jl = /* @_
|
|
|
3450
3450
|
{
|
|
3451
3451
|
path: "changepass",
|
|
3452
3452
|
name: "/dashboard/user/changepass",
|
|
3453
|
-
component: () => import("./index-
|
|
3453
|
+
component: () => import("./index-0dcd2a5b.js"),
|
|
3454
3454
|
meta: {
|
|
3455
3455
|
title: "Mudar senha",
|
|
3456
3456
|
icon: "lock"
|