@aeria-ui/ui 0.0.117 → 0.0.119
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_-cbe80c68.js → _id_-c0ad8b98.js} +1 -1
- package/dist/{activation-4a6b533d.js → activation-57af51f3.js} +1 -1
- package/dist/components/aeria-accordion/aeria-accordion.spec.d.ts +1 -0
- package/dist/components/aeria-badge/aeria-badge.spec.d.ts +1 -0
- package/dist/components/aeria-bare-button/aeria-bare-button.spec.d.ts +1 -0
- package/dist/components/aeria-button/aeria-button.spec.d.ts +1 -0
- package/dist/components/aeria-card/aeria-card.spec.d.ts +1 -0
- package/dist/{index-5d3e51bb.js → index-00a39ca1.js} +1 -1
- package/dist/{index-b086e3f7.js → index-020be4f9.js} +1 -1
- package/dist/{index-d0115549.js → index-31212a0e.js} +230 -229
- package/dist/{index-a7f1bbf4.js → index-650d03b4.js} +1 -1
- package/dist/{signin-5afaf039.js → signin-7192047f.js} +1 -1
- package/dist/{signup-ab0c645c.js → signup-4d07bf89.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/ui.js +1 -1
- package/package.json +5 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as z, ref as x, resolveDirective as te, openBlock as n, createElementBlock as l, normalizeClass as G, Fragment as J, renderList as E, withDirectives as Y, toDisplayString as C, createCommentVNode as h, createTextVNode as H, unref as e, renderSlot as I, withModifiers as Re, inject as be, computed as K, createElementVNode as B, mergeProps as U, createBlock as V, withCtx as b, resolveDynamicComponent as he, useCssVars as $t, normalizeProps as de, guardReactiveProps as Ve, Teleport as
|
|
1
|
+
import { defineComponent as z, ref as x, resolveDirective as te, openBlock as n, createElementBlock as l, normalizeClass as G, Fragment as J, renderList as E, withDirectives as Y, toDisplayString as C, createCommentVNode as h, createTextVNode as H, unref as e, renderSlot as I, withModifiers as Re, inject as be, computed as K, createElementVNode as B, mergeProps as U, createBlock as V, withCtx as b, resolveDynamicComponent as he, useCssVars as $t, normalizeProps as de, guardReactiveProps as Ve, Teleport as Ge, onMounted as We, watch as re, createVNode as M, vModelDynamic as gt, onBeforeMount as mt, normalizeStyle as ge, resolveComponent as ft, provide as $e, createSlots as ue, vModelCheckbox as kt, onUnmounted as Vt, Suspense as Ct, useSlots as Ot, h as At } from "vue";
|
|
2
2
|
import { t as L, useI18n as It } from "@aeria-ui/i18n";
|
|
3
3
|
import { arraysIntersect as vt, deepClone as Ae, getReferenceProperty as _e, freshItem as Bt, isRequired as St, evaluateCondition as Qe, deepMerge as Le } from "@aeriajs/common";
|
|
4
|
-
import { useStore as ie, getStoreId as Me, useParentStore as
|
|
5
|
-
import { useScrollObserver as
|
|
4
|
+
import { useStore as ie, getStoreId as Me, useParentStore as Ee, STORE_ID as qe, getGlobalStateManager as Ke } from "@aeria-ui/state-management";
|
|
5
|
+
import { useScrollObserver as Xe, useBreakpoints as ze, useMask as wt, PAGINATION_PER_PAGE_DEFAULTS as Tt, API_URL as yt, request as jt, useDebounce as bt, convertToSearchQuery as Rt, useParentCollectionStore as je, useCollectionStore as Lt, useAction as Mt, convertFromSearchQuery as qt, usePasswordPolicy as zt } from "@aeria-ui/core";
|
|
6
6
|
import { useRouter as Be } from "vue-router";
|
|
7
7
|
import { convertConditionToQuery as Ft, isDocumentComplete as Ut, getObjectKey as Et } from "@aeria-ui/utils";
|
|
8
8
|
const Ht = ["onClick"], Dt = { key: 0 }, Qt = {
|
|
@@ -252,7 +252,7 @@ const an = /* @__PURE__ */ D(on, [["__scopeId", "data-v-c1a322df"]]), ln = { cla
|
|
|
252
252
|
},
|
|
253
253
|
emits: ["update:modelValue", "update:collapsed", "update:closeHint", "overlayClick", "close"],
|
|
254
254
|
setup(p, { emit: u }) {
|
|
255
|
-
const a = p, o = u, t = x(a.collapsed), c = x(null), { reachedEnd: r } =
|
|
255
|
+
const a = p, o = u, t = x(a.collapsed), c = x(null), { reachedEnd: r } = Xe(c), _ = () => {
|
|
256
256
|
o("update:modelValue", !1), o("close");
|
|
257
257
|
}, d = () => {
|
|
258
258
|
o("overlayClick");
|
|
@@ -419,7 +419,7 @@ const Se = /* @__PURE__ */ D(un, [["__scopeId", "data-v-019f101a"]]), cn = { cla
|
|
|
419
419
|
})), void 0, !0)
|
|
420
420
|
])
|
|
421
421
|
], 512)) : h("", !0),
|
|
422
|
-
t.value ? (n(), V(
|
|
422
|
+
t.value ? (n(), V(Ge, {
|
|
423
423
|
key: 1,
|
|
424
424
|
to: "main"
|
|
425
425
|
}, [
|
|
@@ -582,7 +582,7 @@ const vn = /* @__PURE__ */ D(fn, [["__scopeId", "data-v-7e2a5440"]]), yn = { cla
|
|
|
582
582
|
})(),
|
|
583
583
|
placeholder: _ ? t.description || a.propertyName : t.placeholder
|
|
584
584
|
});
|
|
585
|
-
"type" in t && ((t.type === "number" || t.type === "integer") && (t.minimum && (f.min = t.minimum), t.exclusiveMinimum && (f.min = t.exclusiveMinimum + 1), t.maximum && (f.max = t.maximum), t.exclusiveMaximum && (f.max = t.exclusiveMaximum - 1)), t.type === "string" && ((t.format === "date" || t.format === "date-time") && (f.type = !r && t.format === "date-time" ? "datetime-local" : "date"), f.minlength = t.minLength, f.maxlength = t.maxLength)), f.type === "text" && r && (f.type = "search"),
|
|
585
|
+
"type" in t && ((t.type === "number" || t.type === "integer") && (t.minimum && (f.min = t.minimum), t.exclusiveMinimum && (f.min = t.exclusiveMinimum + 1), t.maximum && (f.max = t.maximum), t.exclusiveMaximum && (f.max = t.exclusiveMaximum - 1)), t.type === "string" && ((t.format === "date" || t.format === "date-time") && (f.type = !r && t.format === "date-time" ? "datetime-local" : "date"), f.minlength = t.minLength, f.maxlength = t.maxLength)), f.type === "text" && r && (f.type = "search"), We(() => {
|
|
586
586
|
a.modelValue !== null && q(a.modelValue);
|
|
587
587
|
});
|
|
588
588
|
const k = (g) => {
|
|
@@ -789,7 +789,7 @@ const Ce = /* @__PURE__ */ D(Vn, [["__scopeId", "data-v-7fb53138"]]), Cn = {
|
|
|
789
789
|
], 16));
|
|
790
790
|
}
|
|
791
791
|
});
|
|
792
|
-
const
|
|
792
|
+
const Ye = /* @__PURE__ */ D(An, [["__scopeId", "data-v-86a1e910"]]), In = { class: "pagination" }, Bn = { class: "pagination__arrows" }, Sn = ["value"], wn = {
|
|
793
793
|
key: 0,
|
|
794
794
|
class: "pagination__summary"
|
|
795
795
|
}, Tn = /* @__PURE__ */ z({
|
|
@@ -859,7 +859,7 @@ const Je = /* @__PURE__ */ D(An, [["__scopeId", "data-v-86a1e910"]]), In = { cla
|
|
|
859
859
|
]),
|
|
860
860
|
_: 1
|
|
861
861
|
}, 8, ["disabled"]),
|
|
862
|
-
M(
|
|
862
|
+
M(Ye, {
|
|
863
863
|
modelValue: c.value,
|
|
864
864
|
"onUpdate:modelValue": s[4] || (s[4] = (f) => c.value = f),
|
|
865
865
|
property: {
|
|
@@ -1016,7 +1016,7 @@ const Un = /* @__PURE__ */ D(Fn, [["__scopeId", "data-v-9f012895"]]), En = {
|
|
|
1016
1016
|
const a = p, o = u, t = a.readOnly || a.property.readOnly, c = "items" in a.property ? a.property.items.enum : a.property.enum, r = (_) => {
|
|
1017
1017
|
o("update:modelValue", _);
|
|
1018
1018
|
};
|
|
1019
|
-
return
|
|
1019
|
+
return mt(() => {
|
|
1020
1020
|
a.modelValue || o(
|
|
1021
1021
|
"update:modelValue",
|
|
1022
1022
|
"items" in a.property ? [] : ""
|
|
@@ -1091,10 +1091,111 @@ const Dn = /* @__PURE__ */ D(Hn, [["__scopeId", "data-v-bcfc697e"]]), Qn = { cla
|
|
|
1091
1091
|
};
|
|
1092
1092
|
}
|
|
1093
1093
|
});
|
|
1094
|
-
const Xn = /* @__PURE__ */ D(Kn, [["__scopeId", "data-v-0e3564b6"]]), Yn = { class: "
|
|
1094
|
+
const Xn = /* @__PURE__ */ D(Kn, [["__scopeId", "data-v-0e3564b6"]]), Yn = { class: "picture" }, Jn = { style: { position: "fixed", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, Zn = ["src", "alt"], Pn = {
|
|
1095
|
+
key: 0,
|
|
1096
|
+
class: "picture__meta"
|
|
1097
|
+
}, Nn = ["src"], xn = { key: 5 }, eo = /* @__PURE__ */ z({
|
|
1098
|
+
__name: "aeria-picture",
|
|
1099
|
+
props: {
|
|
1100
|
+
url: {},
|
|
1101
|
+
alt: {},
|
|
1102
|
+
fileId: {},
|
|
1103
|
+
modelValue: {},
|
|
1104
|
+
objectFit: {},
|
|
1105
|
+
bordered: { type: Boolean },
|
|
1106
|
+
width: {},
|
|
1107
|
+
height: {},
|
|
1108
|
+
expandable: { type: Boolean },
|
|
1109
|
+
meta: {}
|
|
1110
|
+
},
|
|
1111
|
+
setup(p) {
|
|
1112
|
+
const u = p, a = K(() => u.fileId ? `${yt}/file/${u.fileId}/picture` : u.url || u.modelValue), o = x(!1);
|
|
1113
|
+
return (t, c) => {
|
|
1114
|
+
var _;
|
|
1115
|
+
const r = te("overlay");
|
|
1116
|
+
return n(), l("figure", Yn, [
|
|
1117
|
+
a.value && o.value ? (n(), V(Ge, {
|
|
1118
|
+
key: 0,
|
|
1119
|
+
to: "main"
|
|
1120
|
+
}, [
|
|
1121
|
+
Y((n(), l("div", Jn, [
|
|
1122
|
+
B("img", {
|
|
1123
|
+
src: a.value,
|
|
1124
|
+
alt: t.alt,
|
|
1125
|
+
style: `
|
|
1126
|
+
max-height: 60vh;
|
|
1127
|
+
object-fit: contain;
|
|
1128
|
+
`,
|
|
1129
|
+
onClick: c[0] || (c[0] = (d) => o.value = !0)
|
|
1130
|
+
}, null, 8, Zn),
|
|
1131
|
+
(_ = t.meta) != null && _.owner ? (n(), l("div", Pn, C(t.t("created_by")) + " " + C(t.meta.owner.name) + " em " + C(t.formatDateTime(t.meta.created_at, { hours: !0 })), 1)) : h("", !0)
|
|
1132
|
+
])), [
|
|
1133
|
+
[r, {
|
|
1134
|
+
layer: 60,
|
|
1135
|
+
click: () => {
|
|
1136
|
+
o.value = !1;
|
|
1137
|
+
}
|
|
1138
|
+
}]
|
|
1139
|
+
])
|
|
1140
|
+
])) : h("", !0),
|
|
1141
|
+
a.value ? (n(), l("img", {
|
|
1142
|
+
key: 1,
|
|
1143
|
+
src: a.value,
|
|
1144
|
+
class: G(`
|
|
1145
|
+
picture__image
|
|
1146
|
+
${t.bordered && "picture__image--bordered"}
|
|
1147
|
+
${t.expandable && "picture__image--expandable"}
|
|
1148
|
+
`),
|
|
1149
|
+
style: ge(`
|
|
1150
|
+
object-fit: ${t.objectFit || "cover"};
|
|
1151
|
+
width: ${t.width || "100%"};
|
|
1152
|
+
height: ${t.height || "100%"};
|
|
1153
|
+
`),
|
|
1154
|
+
onClick: c[1] || (c[1] = () => {
|
|
1155
|
+
t.expandable && (o.value = !0);
|
|
1156
|
+
})
|
|
1157
|
+
}, null, 14, Nn)) : t.$slots.fallback ? I(t.$slots, "fallback", { key: 2 }, void 0, !0) : t.$slots.default ? I(t.$slots, "default", { key: 3 }, void 0, !0) : (n(), l("svg", {
|
|
1158
|
+
key: 4,
|
|
1159
|
+
class: G(["picture__background", `
|
|
1160
|
+
${t.bordered && "picture__image--bordered"}
|
|
1161
|
+
`]),
|
|
1162
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1163
|
+
viewBox: "0 0 200 200",
|
|
1164
|
+
preserveAspectRatio: "none",
|
|
1165
|
+
style: ge(`
|
|
1166
|
+
object-fit: ${t.objectFit || "cover"};
|
|
1167
|
+
width: ${t.width || "100%"};
|
|
1168
|
+
height: ${t.height || "100%"};
|
|
1169
|
+
`)
|
|
1170
|
+
}, c[2] || (c[2] = [
|
|
1171
|
+
B("line", {
|
|
1172
|
+
x1: "0",
|
|
1173
|
+
y1: "0",
|
|
1174
|
+
x2: "200",
|
|
1175
|
+
y2: "200",
|
|
1176
|
+
stroke: "#000",
|
|
1177
|
+
"vector-effect": "non-scaling-stroke"
|
|
1178
|
+
}, null, -1),
|
|
1179
|
+
B("line", {
|
|
1180
|
+
x1: "200",
|
|
1181
|
+
y1: "0",
|
|
1182
|
+
x2: "0",
|
|
1183
|
+
y2: "200",
|
|
1184
|
+
stroke: "#000",
|
|
1185
|
+
"vector-effect": "non-scaling-stroke"
|
|
1186
|
+
}, null, -1)
|
|
1187
|
+
]), 6)),
|
|
1188
|
+
t.$slots.caption ? (n(), l("figcaption", xn, [
|
|
1189
|
+
I(t.$slots, "caption", {}, void 0, !0)
|
|
1190
|
+
])) : h("", !0)
|
|
1191
|
+
]);
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
});
|
|
1195
|
+
const Ue = /* @__PURE__ */ D(eo, [["__scopeId", "data-v-fcdb9114"]]), to = { class: "item" }, no = { class: "item__presentation" }, oo = {
|
|
1095
1196
|
key: 1,
|
|
1096
1197
|
class: "item__name"
|
|
1097
|
-
},
|
|
1198
|
+
}, ao = { class: "item__size" }, lo = /* @__PURE__ */ z({
|
|
1098
1199
|
__name: "aeria-file-item",
|
|
1099
1200
|
props: {
|
|
1100
1201
|
modelValue: {}
|
|
@@ -1111,17 +1212,18 @@ const Xn = /* @__PURE__ */ D(Kn, [["__scopeId", "data-v-0e3564b6"]]), Yn = { cla
|
|
|
1111
1212
|
][c]}`;
|
|
1112
1213
|
};
|
|
1113
1214
|
return (t, c) => {
|
|
1114
|
-
const r =
|
|
1115
|
-
return n(), l("div",
|
|
1116
|
-
"_id" in e(a) && e(a).type.startsWith("image/") ? (n(), V(
|
|
1215
|
+
const r = ft("aeria-icon");
|
|
1216
|
+
return n(), l("div", to, [
|
|
1217
|
+
"_id" in e(a) && e(a).type.startsWith("image/") ? (n(), V(Ue, {
|
|
1117
1218
|
key: 0,
|
|
1118
1219
|
bordered: "",
|
|
1119
1220
|
expandable: "",
|
|
1221
|
+
alt: e(a).name,
|
|
1120
1222
|
url: e(a).link,
|
|
1121
1223
|
class: "item__picture"
|
|
1122
|
-
}, null, 8, ["url"])) : h("", !0),
|
|
1123
|
-
B("div",
|
|
1124
|
-
"_id" in e(a) ? (n(), V(
|
|
1224
|
+
}, null, 8, ["alt", "url"])) : h("", !0),
|
|
1225
|
+
B("div", no, [
|
|
1226
|
+
"_id" in e(a) ? (n(), V(r, {
|
|
1125
1227
|
key: 0,
|
|
1126
1228
|
icon: "arrow-square-out",
|
|
1127
1229
|
href: e(a).link,
|
|
@@ -1132,8 +1234,8 @@ const Xn = /* @__PURE__ */ D(Kn, [["__scopeId", "data-v-0e3564b6"]]), Yn = { cla
|
|
|
1132
1234
|
H(C(e(a).name), 1)
|
|
1133
1235
|
]),
|
|
1134
1236
|
_: 1
|
|
1135
|
-
}, 8, ["href"])) : (n(), l("div",
|
|
1136
|
-
B("div",
|
|
1237
|
+
}, 8, ["href"])) : (n(), l("div", oo, C(e(a).name), 1)),
|
|
1238
|
+
B("div", ao, C(o(e(a).size)), 1)
|
|
1137
1239
|
]),
|
|
1138
1240
|
B("div", null, [
|
|
1139
1241
|
I(t.$slots, "default", {}, void 0, !0)
|
|
@@ -1142,10 +1244,10 @@ const Xn = /* @__PURE__ */ D(Kn, [["__scopeId", "data-v-0e3564b6"]]), Yn = { cla
|
|
|
1142
1244
|
};
|
|
1143
1245
|
}
|
|
1144
1246
|
});
|
|
1145
|
-
const
|
|
1247
|
+
const so = /* @__PURE__ */ D(lo, [["__scopeId", "data-v-4ce028d2"]]), io = { class: "file" }, ro = ["accept", "multiple"], uo = {
|
|
1146
1248
|
key: 1,
|
|
1147
1249
|
class: "file__list"
|
|
1148
|
-
},
|
|
1250
|
+
}, co = /* @__PURE__ */ z({
|
|
1149
1251
|
__name: "aeria-file",
|
|
1150
1252
|
props: {
|
|
1151
1253
|
modelValue: {},
|
|
@@ -1160,7 +1262,7 @@ const xn = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-a5ae17d1"]]), eo = { cla
|
|
|
1160
1262
|
},
|
|
1161
1263
|
emits: ["update:content", "change", "update:modelValue"],
|
|
1162
1264
|
setup(p, { emit: u }) {
|
|
1163
|
-
const a = p, o = a.property && _e(a.property), t = u, r = Me() ?
|
|
1265
|
+
const a = p, o = a.property && _e(a.property), t = u, r = Me() ? Ee() : null, _ = a.multiple || a.property && "type" in a.property && a.property.type === "array", d = K(() => {
|
|
1164
1266
|
if (a.modelValue)
|
|
1165
1267
|
return Array.isArray(a.modelValue) ? a.modelValue : [a.modelValue];
|
|
1166
1268
|
}), $ = (k) => new Promise((v) => {
|
|
@@ -1204,7 +1306,7 @@ const xn = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-a5ae17d1"]]), eo = { cla
|
|
|
1204
1306
|
return (k, v) => {
|
|
1205
1307
|
var i, q;
|
|
1206
1308
|
const O = te("clickable");
|
|
1207
|
-
return n(), l("div",
|
|
1309
|
+
return n(), l("div", io, [
|
|
1208
1310
|
k.readOnly ? h("", !0) : (n(), l("input", {
|
|
1209
1311
|
key: 0,
|
|
1210
1312
|
ref: "file",
|
|
@@ -1212,9 +1314,9 @@ const xn = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-a5ae17d1"]]), eo = { cla
|
|
|
1212
1314
|
accept: (q = (i = e(o)) == null ? void 0 : i.accept) == null ? void 0 : q.join(","),
|
|
1213
1315
|
multiple: e(_),
|
|
1214
1316
|
onChange: s
|
|
1215
|
-
}, null, 40,
|
|
1216
|
-
d.value && d.value.length > 0 ? (n(), l("div",
|
|
1217
|
-
(n(!0), l(J, null, E(d.value, (W, Z) => (n(), V(
|
|
1317
|
+
}, null, 40, ro)),
|
|
1318
|
+
d.value && d.value.length > 0 ? (n(), l("div", uo, [
|
|
1319
|
+
(n(!0), l(J, null, E(d.value, (W, Z) => (n(), V(so, {
|
|
1218
1320
|
key: "_id" in W ? String(W._id) : W.file.name,
|
|
1219
1321
|
"model-value": W
|
|
1220
1322
|
}, {
|
|
@@ -1235,22 +1337,22 @@ const xn = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-a5ae17d1"]]), eo = { cla
|
|
|
1235
1337
|
};
|
|
1236
1338
|
}
|
|
1237
1339
|
});
|
|
1238
|
-
const
|
|
1340
|
+
const po = /* @__PURE__ */ D(co, [["__scopeId", "data-v-9950a715"]]), _o = { class: "container" }, mo = {
|
|
1239
1341
|
key: 1,
|
|
1240
1342
|
class: "container__footer"
|
|
1241
|
-
},
|
|
1343
|
+
}, fo = /* @__PURE__ */ z({
|
|
1242
1344
|
__name: "aeria-search-container",
|
|
1243
1345
|
props: {
|
|
1244
1346
|
observeScroll: { type: Boolean }
|
|
1245
1347
|
},
|
|
1246
1348
|
emits: ["endReached"],
|
|
1247
1349
|
setup(p, { emit: u }) {
|
|
1248
|
-
const a = p, o = u, t = x(null), c = a.observeScroll ?
|
|
1350
|
+
const a = p, o = u, t = x(null), c = a.observeScroll ? Xe(t, {
|
|
1249
1351
|
antecipate: 100
|
|
1250
1352
|
}).reachedEnd : null;
|
|
1251
1353
|
return c !== null && re(c, (r) => {
|
|
1252
1354
|
r && o("endReached", r);
|
|
1253
|
-
}), (r, _) => (n(), l("div",
|
|
1355
|
+
}), (r, _) => (n(), l("div", _o, [
|
|
1254
1356
|
r.$slots.default ? (n(), l("div", {
|
|
1255
1357
|
key: 0,
|
|
1256
1358
|
ref_key: "containerEl",
|
|
@@ -1259,13 +1361,13 @@ const ao = /* @__PURE__ */ D(oo, [["__scopeId", "data-v-9950a715"]]), lo = { cla
|
|
|
1259
1361
|
}, [
|
|
1260
1362
|
I(r.$slots, "default", {}, void 0, !0)
|
|
1261
1363
|
], 512)) : h("", !0),
|
|
1262
|
-
r.$slots.footer ? (n(), l("div",
|
|
1364
|
+
r.$slots.footer ? (n(), l("div", mo, [
|
|
1263
1365
|
I(r.$slots, "footer", {}, void 0, !0)
|
|
1264
1366
|
])) : h("", !0)
|
|
1265
1367
|
]));
|
|
1266
1368
|
}
|
|
1267
1369
|
});
|
|
1268
|
-
const
|
|
1370
|
+
const ct = /* @__PURE__ */ D(fo, [["__scopeId", "data-v-c86e2d2a"]]), vo = { class: "item__values" }, yo = /* @__PURE__ */ z({
|
|
1269
1371
|
__name: "aeria-search-item",
|
|
1270
1372
|
props: {
|
|
1271
1373
|
item: {},
|
|
@@ -1276,7 +1378,7 @@ const dt = /* @__PURE__ */ D(io, [["__scopeId", "data-v-c86e2d2a"]]), ro = { cla
|
|
|
1276
1378
|
},
|
|
1277
1379
|
emits: ["update:modelValue", "change"],
|
|
1278
1380
|
setup(p, { emit: u }) {
|
|
1279
|
-
const a = Be(), o = p, t = u, c = o.property, r = _e(c), _ =
|
|
1381
|
+
const a = Be(), o = p, t = u, c = o.property, r = _e(c), _ = Ee(), d = K(() => o.modelValue ? Array.isArray(o.modelValue) ? Array.isArray(o.modelValue) && Object.values(o.modelValue).some(({ _id: k }) => o.item._id === k) : o.modelValue._id === o.item._id : !1), $ = () => {
|
|
1280
1382
|
if (d.value)
|
|
1281
1383
|
return;
|
|
1282
1384
|
const k = (O) => O.filter((i) => !!i._id);
|
|
@@ -1315,7 +1417,7 @@ const dt = /* @__PURE__ */ D(io, [["__scopeId", "data-v-c86e2d2a"]]), ro = { cla
|
|
|
1315
1417
|
onClick: f
|
|
1316
1418
|
}, [
|
|
1317
1419
|
I(k.$slots, "default", {}, void 0, !0),
|
|
1318
|
-
B("div",
|
|
1420
|
+
B("div", vo, [
|
|
1319
1421
|
(n(!0), l(J, null, E(k.indexes, (i, q) => (n(), l("div", {
|
|
1320
1422
|
key: `index-${k.item._id}-${q}`,
|
|
1321
1423
|
class: "item__value"
|
|
@@ -1332,10 +1434,10 @@ const dt = /* @__PURE__ */ D(io, [["__scopeId", "data-v-c86e2d2a"]]), ro = { cla
|
|
|
1332
1434
|
};
|
|
1333
1435
|
}
|
|
1334
1436
|
});
|
|
1335
|
-
const
|
|
1437
|
+
const De = /* @__PURE__ */ D(yo, [["__scopeId", "data-v-10ee6b3b"]]), bo = { class: "search__panel" }, ho = { key: 1 }, $o = { key: 0 }, go = { key: 1 }, ko = { class: "search__summary" }, Vo = {
|
|
1336
1438
|
key: 1,
|
|
1337
1439
|
class: "search"
|
|
1338
|
-
},
|
|
1440
|
+
}, Co = { key: 0 }, Fe = 10, Oo = /* @__PURE__ */ z({
|
|
1339
1441
|
__name: "aeria-search",
|
|
1340
1442
|
props: {
|
|
1341
1443
|
modelValue: {},
|
|
@@ -1349,7 +1451,7 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1349
1451
|
},
|
|
1350
1452
|
emits: ["update:modelValue", "change", "update:panel"],
|
|
1351
1453
|
setup(p, { emit: u }) {
|
|
1352
|
-
const a = p, o = _e(a.property), t = a.panel !== void 0 ? K(() => a.panel) : x(!1), c = u, r = ie(_e(a.property).$ref), _ = Me(), d = _ ?
|
|
1454
|
+
const a = p, o = _e(a.property), t = a.panel !== void 0 ? K(() => a.panel) : x(!1), c = u, r = ie(_e(a.property).$ref), _ = Me(), d = _ ? Ee() : null, $ = o.indexes;
|
|
1353
1455
|
$e(qe, _e(a.property).$ref), $e("innerInputLabel", !0), $e("omitInputLabels", !0);
|
|
1354
1456
|
const s = x(a.modelValue), f = x({
|
|
1355
1457
|
data: [],
|
|
@@ -1402,7 +1504,7 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1402
1504
|
};
|
|
1403
1505
|
re(() => q.value.length, (y, A) => {
|
|
1404
1506
|
y && !A && F();
|
|
1405
|
-
}),
|
|
1507
|
+
}), We(() => {
|
|
1406
1508
|
a.selectOnly && F();
|
|
1407
1509
|
});
|
|
1408
1510
|
const me = (y) => {
|
|
@@ -1413,7 +1515,7 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1413
1515
|
return (y, A) => {
|
|
1414
1516
|
const oe = te("clickable");
|
|
1415
1517
|
return n(), l("div", null, [
|
|
1416
|
-
e(t) ? (n(), V(
|
|
1518
|
+
e(t) ? (n(), V(Ge, {
|
|
1417
1519
|
key: 0,
|
|
1418
1520
|
to: "main"
|
|
1419
1521
|
}, [
|
|
@@ -1441,7 +1543,7 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1441
1543
|
default: b(() => {
|
|
1442
1544
|
var ne, m;
|
|
1443
1545
|
return [
|
|
1444
|
-
B("div",
|
|
1546
|
+
B("div", bo, [
|
|
1445
1547
|
M(Ce, U({
|
|
1446
1548
|
modelValue: q.value,
|
|
1447
1549
|
"onUpdate:modelValue": A[0] || (A[0] = (T) => q.value = T)
|
|
@@ -1452,13 +1554,13 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1452
1554
|
inputType: "search"
|
|
1453
1555
|
}
|
|
1454
1556
|
}, { onInput: w }), null, 16, ["modelValue"]),
|
|
1455
|
-
k.value.length ? (n(), V(
|
|
1557
|
+
k.value.length ? (n(), V(ct, {
|
|
1456
1558
|
key: 0,
|
|
1457
1559
|
"observe-scroll": "",
|
|
1458
1560
|
onEndReached: Z
|
|
1459
1561
|
}, {
|
|
1460
1562
|
default: b(() => [
|
|
1461
|
-
(n(!0), l(J, null, E(k.value, (T) => (n(), V(
|
|
1563
|
+
(n(!0), l(J, null, E(k.value, (T) => (n(), V(De, U({ ref_for: !0 }, {
|
|
1462
1564
|
item: T,
|
|
1463
1565
|
indexes: e($),
|
|
1464
1566
|
property: y.property
|
|
@@ -1469,23 +1571,23 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1469
1571
|
}), null, 16, ["modelValue"]))), 128))
|
|
1470
1572
|
]),
|
|
1471
1573
|
_: 1
|
|
1472
|
-
})) : (n(), l("div",
|
|
1473
|
-
i.value ? (n(), l("div",
|
|
1574
|
+
})) : (n(), l("div", ho, [
|
|
1575
|
+
i.value ? (n(), l("div", $o, C(e(L)("searching", { capitalize: !0 })) + "... ", 1)) : !e(r).loading.getAll && Object.values(q.value).filter((T) => !!T).length > 0 && !("items" in y.property && ((ne = y.modelValue) != null && ne.length) || !Array.isArray(y.modelValue) && ((m = y.modelValue) != null && m._id)) ? (n(), l("div", go, C(e(L)("no_results", { capitalize: !0 })), 1)) : h("", !0)
|
|
1474
1576
|
]))
|
|
1475
1577
|
]),
|
|
1476
|
-
B("div",
|
|
1578
|
+
B("div", ko, C(e(L)("showing", { capitalize: !0 })) + " " + C(k.value.length) + " " + C(e(L)("of")) + " " + C(v.value.recordsTotal), 1)
|
|
1477
1579
|
];
|
|
1478
1580
|
}),
|
|
1479
1581
|
_: 1
|
|
1480
1582
|
}, 8, ["title", "model-value"])
|
|
1481
1583
|
])) : h("", !0),
|
|
1482
|
-
y.selectOnly ? h("", !0) : (n(), l("div",
|
|
1483
|
-
M(
|
|
1584
|
+
y.selectOnly ? h("", !0) : (n(), l("div", Vo, [
|
|
1585
|
+
M(ct, null, ue({
|
|
1484
1586
|
default: b(() => {
|
|
1485
1587
|
var ne;
|
|
1486
1588
|
return [
|
|
1487
|
-
"items" in y.property ? (n(), l("div",
|
|
1488
|
-
(n(!0), l(J, null, E(y.modelValue, (m) => (n(), V(
|
|
1589
|
+
"items" in y.property ? (n(), l("div", Co, [
|
|
1590
|
+
(n(!0), l(J, null, E(y.modelValue, (m) => (n(), V(De, U({ ref_for: !0 }, {
|
|
1489
1591
|
item: m,
|
|
1490
1592
|
indexes: e($),
|
|
1491
1593
|
property: y.property,
|
|
@@ -1495,7 +1597,7 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1495
1597
|
key: `selected-${m._id}`,
|
|
1496
1598
|
"onUpdate:modelValue": me
|
|
1497
1599
|
}), null, 16))), 128))
|
|
1498
|
-
])) : (ne = y.modelValue) != null && ne._id ? (n(), V(
|
|
1600
|
+
])) : (ne = y.modelValue) != null && ne._id ? (n(), V(De, U({ key: 1 }, {
|
|
1499
1601
|
item: y.modelValue,
|
|
1500
1602
|
indexes: e($),
|
|
1501
1603
|
property: e(o),
|
|
@@ -1529,15 +1631,15 @@ const He = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-10ee6b3b"]]), co = { cla
|
|
|
1529
1631
|
};
|
|
1530
1632
|
}
|
|
1531
1633
|
});
|
|
1532
|
-
const
|
|
1634
|
+
const Ao = /* @__PURE__ */ D(Oo, [["__scopeId", "data-v-a04c3b05"]]), dt = (p, u) => {
|
|
1533
1635
|
const a = "items" in p ? p.items : p, o = {
|
|
1534
1636
|
options: Dn,
|
|
1535
|
-
select:
|
|
1637
|
+
select: Ye,
|
|
1536
1638
|
switch: Xn,
|
|
1537
|
-
file:
|
|
1538
|
-
search:
|
|
1639
|
+
file: po,
|
|
1640
|
+
search: Ao,
|
|
1539
1641
|
input: Ce,
|
|
1540
|
-
form:
|
|
1642
|
+
form: He
|
|
1541
1643
|
}, t = (() => {
|
|
1542
1644
|
if ("type" in a) {
|
|
1543
1645
|
if (a.type === "object")
|
|
@@ -1555,7 +1657,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1555
1657
|
return c ? c.inline ? "form" : c.$ref === "file" ? "file" : "search" : "items" in p && p.uniqueItems ? "options" : "enum" in a ? "select" : "input";
|
|
1556
1658
|
})();
|
|
1557
1659
|
return u[t] ? u[t] : o[t];
|
|
1558
|
-
},
|
|
1660
|
+
}, Io = (p, u, a) => {
|
|
1559
1661
|
p ?? (p = []);
|
|
1560
1662
|
const o = "items" in u ? u.items : u;
|
|
1561
1663
|
if ("$ref" in o) {
|
|
@@ -1563,24 +1665,24 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1563
1665
|
return p.push(c);
|
|
1564
1666
|
}
|
|
1565
1667
|
return "properties" in o ? p.push(Bt(o)) : "type" in o && o.type === "boolean" ? p.push({}) : p.push(null);
|
|
1566
|
-
},
|
|
1668
|
+
}, Bo = (p, u) => {
|
|
1567
1669
|
p.splice(u, 1);
|
|
1568
|
-
},
|
|
1670
|
+
}, So = {
|
|
1569
1671
|
key: 0,
|
|
1570
1672
|
class: "form__header"
|
|
1571
|
-
},
|
|
1673
|
+
}, wo = { class: "form__fieldset" }, To = { key: 0 }, jo = ["innerHTML"], Ro = ["onInput"], Lo = { key: 4 }, Mo = { value: "true" }, qo = { value: "false" }, zo = {
|
|
1572
1674
|
key: 5,
|
|
1573
1675
|
style: { display: "grid", "row-gap": ".4rem" }
|
|
1574
|
-
},
|
|
1676
|
+
}, Fo = { key: 0 }, Uo = {
|
|
1575
1677
|
key: 1,
|
|
1576
1678
|
class: "form__array"
|
|
1577
|
-
},
|
|
1679
|
+
}, Eo = {
|
|
1578
1680
|
key: 7,
|
|
1579
1681
|
class: "form__validation-error"
|
|
1580
|
-
},
|
|
1682
|
+
}, Ho = { key: 0 }, Do = { key: 1 }, Qo = {
|
|
1581
1683
|
key: 2,
|
|
1582
1684
|
class: "form__footer"
|
|
1583
|
-
},
|
|
1685
|
+
}, Go = /* @__PURE__ */ z({
|
|
1584
1686
|
__name: "aeria-form",
|
|
1585
1687
|
props: {
|
|
1586
1688
|
modelValue: {},
|
|
@@ -1609,8 +1711,8 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1609
1711
|
emits: ["update:modelValue", "input", "change", "clipboardCopy"],
|
|
1610
1712
|
setup(p, { emit: u }) {
|
|
1611
1713
|
var ne;
|
|
1612
|
-
const a =
|
|
1613
|
-
|
|
1714
|
+
const a = Ke(), o = p, t = u;
|
|
1715
|
+
mt(() => {
|
|
1614
1716
|
o.modelValue || t("update:modelValue", o.property && "items" in o.property ? [] : {});
|
|
1615
1717
|
});
|
|
1616
1718
|
const c = o.property && _e(o.property), r = c ? c.$ref : o.collection || Me(), _ = o.readOnly || ((ne = o.property) == null ? void 0 : ne.readOnly), d = r ? ie(e(r)) : null;
|
|
@@ -1693,13 +1795,13 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1693
1795
|
class: "form",
|
|
1694
1796
|
style: ge(`row-gap: ${e(q) ? ".8rem" : "var(--form-internal-gap, 1.6rem);"};`)
|
|
1695
1797
|
}, [
|
|
1696
|
-
m.$slots.header && !e(q) ? (n(), l("header",
|
|
1798
|
+
m.$slots.header && !e(q) ? (n(), l("header", So, [
|
|
1697
1799
|
I(m.$slots, "header", {}, void 0, !0)
|
|
1698
1800
|
])) : h("", !0),
|
|
1699
1801
|
I(m.$slots, "default", {}, void 0, !0),
|
|
1700
|
-
B("fieldset",
|
|
1802
|
+
B("fieldset", wo, [
|
|
1701
1803
|
(n(!0), l(J, null, E(e(le), ([S, R]) => {
|
|
1702
|
-
var se, j, ae, ve, Oe, Ze, Pe, Ne, xe, et, tt, nt, ot
|
|
1804
|
+
var se, j, ae, ve, Oe, Je, Ze, Pe, Ne, xe, et, tt, nt, ot;
|
|
1703
1805
|
return n(), l("div", {
|
|
1704
1806
|
key: `field-${S}`,
|
|
1705
1807
|
style: ge(fe(S, R)),
|
|
@@ -1708,7 +1810,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1708
1810
|
"form__field--form": "properties" in R
|
|
1709
1811
|
})
|
|
1710
1812
|
}, [
|
|
1711
|
-
(!("type" in R) || R.type !== "boolean" || m.searchOnly) && !R.noLabel && !e(W) && !e(Z) ? (n(), l("label",
|
|
1813
|
+
(!("type" in R) || R.type !== "boolean" || m.searchOnly) && !R.noLabel && !e(W) && !e(Z) ? (n(), l("label", To, [
|
|
1712
1814
|
B("div", {
|
|
1713
1815
|
class: G({
|
|
1714
1816
|
"form__field-label": !0,
|
|
@@ -1719,7 +1821,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1719
1821
|
R.hint ? (n(), l("div", {
|
|
1720
1822
|
key: 0,
|
|
1721
1823
|
innerHTML: R.hint
|
|
1722
|
-
}, null, 8,
|
|
1824
|
+
}, null, 8, jo)) : h("", !0)
|
|
1723
1825
|
])) : h("", !0),
|
|
1724
1826
|
m.$slots[`field-${S}`] ? I(m.$slots, `field-${S}`, U({
|
|
1725
1827
|
key: 1,
|
|
@@ -1764,8 +1866,8 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1764
1866
|
property: R,
|
|
1765
1867
|
propertyName: S
|
|
1766
1868
|
}), null, 16, ["modelValue", "onUpdate:modelValue"])
|
|
1767
|
-
], 40,
|
|
1768
|
-
M(
|
|
1869
|
+
], 40, Ro)) : "type" in R && R.type === "boolean" && m.searchOnly ? (n(), l("div", Lo, [
|
|
1870
|
+
M(Ye, U({ ref_for: !0 }, {
|
|
1769
1871
|
property: R,
|
|
1770
1872
|
propertyName: S
|
|
1771
1873
|
}, {
|
|
@@ -1777,20 +1879,20 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1777
1879
|
}
|
|
1778
1880
|
}), {
|
|
1779
1881
|
default: b(() => [
|
|
1780
|
-
B("option",
|
|
1781
|
-
B("option",
|
|
1882
|
+
B("option", Mo, C(e(L)("yes")), 1),
|
|
1883
|
+
B("option", qo, C(e(L)("no")), 1)
|
|
1782
1884
|
]),
|
|
1783
1885
|
_: 2
|
|
1784
1886
|
}, 1040, ["model-value", "onUpdate:modelValue"])
|
|
1785
|
-
])) : m.modelValue && "items" in R && !R.uniqueItems && (!("$ref" in R.items) || R.items.inline) ? (n(), l("div",
|
|
1786
|
-
e(_) ? h("", !0) : (n(), l("div",
|
|
1887
|
+
])) : m.modelValue && "items" in R && !R.uniqueItems && (!("$ref" in R.items) || R.items.inline) ? (n(), l("div", zo, [
|
|
1888
|
+
e(_) ? h("", !0) : (n(), l("div", Fo, [
|
|
1787
1889
|
M(pe, {
|
|
1788
1890
|
small: "",
|
|
1789
1891
|
variant: "alt",
|
|
1790
1892
|
icon: "plus",
|
|
1791
|
-
disabled: !("inline" in R.items && R.items.inline) && (((ve = m.modelValue[S]) == null ? void 0 : ve.length) >= R.maxItems || me((
|
|
1893
|
+
disabled: !("inline" in R.items && R.items.inline) && (((ve = m.modelValue[S]) == null ? void 0 : ve.length) >= R.maxItems || me((Je = m.modelValue[S]) == null ? void 0 : Je[((Oe = m.modelValue[S]) == null ? void 0 : Oe.length) - 1])),
|
|
1792
1894
|
onClick: Re((N) => {
|
|
1793
|
-
m.modelValue[S] || (m.modelValue[S] = []), e(
|
|
1895
|
+
m.modelValue[S] || (m.modelValue[S] = []), e(Io)(m.modelValue[S], R, e(a));
|
|
1794
1896
|
}, ["prevent"])
|
|
1795
1897
|
}, {
|
|
1796
1898
|
default: b(() => [
|
|
@@ -1799,9 +1901,9 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1799
1901
|
_: 2
|
|
1800
1902
|
}, 1032, ["disabled", "onClick"])
|
|
1801
1903
|
])),
|
|
1802
|
-
((
|
|
1904
|
+
((Ze = m.modelValue[S]) == null ? void 0 : Ze.length) > 0 ? (n(), l("div", Uo, [
|
|
1803
1905
|
(n(!0), l(J, null, E(m.modelValue[S], (N, we) => {
|
|
1804
|
-
var lt, st, it, rt, ut
|
|
1906
|
+
var at, lt, st, it, rt, ut;
|
|
1805
1907
|
return n(), l("div", {
|
|
1806
1908
|
key: `rep-${S}-${e(Et)(N, we)}`,
|
|
1807
1909
|
class: "form__array-item"
|
|
@@ -1810,7 +1912,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1810
1912
|
key: 0,
|
|
1811
1913
|
icon: "trash",
|
|
1812
1914
|
class: "form__array-remove",
|
|
1813
|
-
onClick: Re((Te) => e(
|
|
1915
|
+
onClick: Re((Te) => e(Bo)(m.modelValue[S], we), ["prevent"])
|
|
1814
1916
|
}, {
|
|
1815
1917
|
default: b(() => [
|
|
1816
1918
|
H(C(e(L)("action.remove", { capitalize: !0 })), 1)
|
|
@@ -1819,7 +1921,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1819
1921
|
}, 1032, ["onClick"])), [
|
|
1820
1922
|
[Q]
|
|
1821
1923
|
]),
|
|
1822
|
-
(n(), V(he(e(
|
|
1924
|
+
(n(), V(he(e(dt)(R, e(O))), U({
|
|
1823
1925
|
modelValue: m.modelValue[S][we],
|
|
1824
1926
|
"onUpdate:modelValue": (Te) => m.modelValue[S][we] = Te,
|
|
1825
1927
|
ref_for: !0
|
|
@@ -1829,7 +1931,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1829
1931
|
propertyName: S,
|
|
1830
1932
|
parentCollection: e(r),
|
|
1831
1933
|
parentPropertyName: m.parentPropertyName,
|
|
1832
|
-
columns: ((
|
|
1934
|
+
columns: ((st = (lt = (at = m.layout) == null ? void 0 : at.fields) == null ? void 0 : lt[S]) == null ? void 0 : st.optionsColumns) || ((ut = (rt = (it = m.layout) == null ? void 0 : it.fields) == null ? void 0 : rt.$default) == null ? void 0 : ut.optionsColumns),
|
|
1833
1935
|
validationErrors: A(S, we),
|
|
1834
1936
|
...R.componentProps || {}
|
|
1835
1937
|
}, {
|
|
@@ -1839,7 +1941,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1839
1941
|
]);
|
|
1840
1942
|
}), 128))
|
|
1841
1943
|
])) : h("", !0)
|
|
1842
|
-
])) : m.modelValue ? Y((n(), V(he(e(
|
|
1944
|
+
])) : m.modelValue ? Y((n(), V(he(e(dt)(R, e(O))), U({
|
|
1843
1945
|
key: 6,
|
|
1844
1946
|
modelValue: m.modelValue[S],
|
|
1845
1947
|
"onUpdate:modelValue": (N) => m.modelValue[S] = N,
|
|
@@ -1850,7 +1952,7 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1850
1952
|
propertyName: S,
|
|
1851
1953
|
parentPropertyName: m.parentPropertyName,
|
|
1852
1954
|
parentCollection: e(r),
|
|
1853
|
-
columns: ((
|
|
1955
|
+
columns: ((xe = (Ne = (Pe = m.layout) == null ? void 0 : Pe.fields) == null ? void 0 : Ne[S]) == null ? void 0 : xe.optionsColumns) || ((nt = (tt = (et = m.layout) == null ? void 0 : et.fields) == null ? void 0 : tt.$default) == null ? void 0 : nt.optionsColumns),
|
|
1854
1956
|
...R.componentProps || {},
|
|
1855
1957
|
validationErrors: A(S)
|
|
1856
1958
|
}, {
|
|
@@ -1860,15 +1962,15 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1860
1962
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onInput"])), [
|
|
1861
1963
|
[P, oe(R)]
|
|
1862
1964
|
]) : h("", !0),
|
|
1863
|
-
(
|
|
1864
|
-
v.value[S].type ? (n(), l("span",
|
|
1865
|
-
v.value[S].detail ? (n(), l("span",
|
|
1965
|
+
(ot = v.value) != null && ot[S] ? (n(), l("div", Eo, [
|
|
1966
|
+
v.value[S].type ? (n(), l("span", Ho, C(e(L)(`validation_error.${v.value[S].type}`)), 1)) : h("", !0),
|
|
1967
|
+
v.value[S].detail ? (n(), l("span", Do, C(e(L)(v.value[S].detail)), 1)) : h("", !0)
|
|
1866
1968
|
])) : h("", !0)
|
|
1867
1969
|
], 6);
|
|
1868
1970
|
}), 128))
|
|
1869
1971
|
]),
|
|
1870
1972
|
m.$slots.after ? I(m.$slots, "after", { key: 1 }, void 0, !0) : h("", !0),
|
|
1871
|
-
m.$slots.footer ? (n(), l("div",
|
|
1973
|
+
m.$slots.footer ? (n(), l("div", Qo, [
|
|
1872
1974
|
I(m.$slots, "footer", de(Ve({
|
|
1873
1975
|
isInsertReady: y.value
|
|
1874
1976
|
})), void 0, !0)
|
|
@@ -1877,11 +1979,11 @@ const ho = /* @__PURE__ */ D(bo, [["__scopeId", "data-v-a04c3b05"]]), pt = (p, u
|
|
|
1877
1979
|
};
|
|
1878
1980
|
}
|
|
1879
1981
|
});
|
|
1880
|
-
const
|
|
1982
|
+
const He = /* @__PURE__ */ D(Go, [["__scopeId", "data-v-070e513e"]]), Wo = /* @__PURE__ */ z({
|
|
1881
1983
|
__name: "aeria-filter-panel",
|
|
1882
1984
|
emits: ["update:modelValue"],
|
|
1883
1985
|
setup(p, { emit: u }) {
|
|
1884
|
-
const a = u, o =
|
|
1986
|
+
const a = u, o = Ee(), t = Be(), c = e(be(qe)), r = () => {
|
|
1885
1987
|
if (o.pagination.offset = 0, o.$actions.filter(), a("update:modelValue", !1), "query" in t.currentRoute && t.currentRoute.query && typeof t.currentRoute.query == "object") {
|
|
1886
1988
|
const _ = t.currentRoute.query;
|
|
1887
1989
|
for (const d of Object.keys(_))
|
|
@@ -1930,7 +2032,7 @@ const Ee = /* @__PURE__ */ D(zo, [["__scopeId", "data-v-070e513e"]]), Fo = /* @_
|
|
|
1930
2032
|
}, 8, ["disabled"])
|
|
1931
2033
|
]),
|
|
1932
2034
|
default: b(() => [
|
|
1933
|
-
M(
|
|
2035
|
+
M(He, U({
|
|
1934
2036
|
modelValue: e(o).filters,
|
|
1935
2037
|
"onUpdate:modelValue": d[0] || (d[0] = ($) => e(o).filters = $)
|
|
1936
2038
|
}, {
|
|
@@ -1942,7 +2044,7 @@ const Ee = /* @__PURE__ */ D(zo, [["__scopeId", "data-v-070e513e"]]), Fo = /* @_
|
|
|
1942
2044
|
_: 1
|
|
1943
2045
|
}, 8, ["title"]));
|
|
1944
2046
|
}
|
|
1945
|
-
}),
|
|
2047
|
+
}), Ko = /* @__PURE__ */ z({
|
|
1946
2048
|
__name: "aeria-insert-panel",
|
|
1947
2049
|
props: {
|
|
1948
2050
|
individualActions: {},
|
|
@@ -1957,7 +2059,7 @@ const Ee = /* @__PURE__ */ D(zo, [["__scopeId", "data-v-070e513e"]]), Fo = /* @_
|
|
|
1957
2059
|
emits: ["update:visible", "update:modelValue", "insert", "cancel"],
|
|
1958
2060
|
setup(p, { emit: u }) {
|
|
1959
2061
|
const a = p, o = u, t = ie("meta"), c = a.collection, r = ie(c);
|
|
1960
|
-
|
|
2062
|
+
We(() => {
|
|
1961
2063
|
a.modelValue && r.$actions.setItem(a.modelValue);
|
|
1962
2064
|
});
|
|
1963
2065
|
const _ = K(() => a.form ? r.$actions.useProperties(a.form) : r.description.form ? r.$actions.useProperties(r.description.form) : r.properties), d = async () => {
|
|
@@ -2007,7 +2109,7 @@ const Ee = /* @__PURE__ */ D(zo, [["__scopeId", "data-v-070e513e"]]), Fo = /* @_
|
|
|
2007
2109
|
}, 16)) : h("", !0)
|
|
2008
2110
|
]),
|
|
2009
2111
|
default: b(() => [
|
|
2010
|
-
M(
|
|
2112
|
+
M(He, U({
|
|
2011
2113
|
modelValue: e(r).item,
|
|
2012
2114
|
"onUpdate:modelValue": v[0] || (v[0] = (i) => e(r).item = i)
|
|
2013
2115
|
}, {
|
|
@@ -2076,7 +2178,7 @@ const Ee = /* @__PURE__ */ D(zo, [["__scopeId", "data-v-070e513e"]]), Fo = /* @_
|
|
|
2076
2178
|
}
|
|
2077
2179
|
u.filtersPreset = p.filters || {}, u.preferredTableProperties = p.table ? Array.from(p.table) : [], u.pagination.offset = 0;
|
|
2078
2180
|
}
|
|
2079
|
-
},
|
|
2181
|
+
}, Xo = (p, u = {
|
|
2080
2182
|
persistInQuery: !0
|
|
2081
2183
|
}) => {
|
|
2082
2184
|
const o = Be().currentRoute;
|
|
@@ -2097,108 +2199,7 @@ const Ee = /* @__PURE__ */ D(zo, [["__scopeId", "data-v-070e513e"]]), Fo = /* @_
|
|
|
2097
2199
|
}, {
|
|
2098
2200
|
immediate: !0
|
|
2099
2201
|
});
|
|
2100
|
-
},
|
|
2101
|
-
key: 0,
|
|
2102
|
-
class: "picture__meta"
|
|
2103
|
-
}, Wo = ["src"], Ko = { key: 5 }, Xo = /* @__PURE__ */ z({
|
|
2104
|
-
__name: "aeria-picture",
|
|
2105
|
-
props: {
|
|
2106
|
-
url: {},
|
|
2107
|
-
alt: {},
|
|
2108
|
-
fileId: {},
|
|
2109
|
-
modelValue: {},
|
|
2110
|
-
objectFit: {},
|
|
2111
|
-
bordered: { type: Boolean },
|
|
2112
|
-
width: {},
|
|
2113
|
-
height: {},
|
|
2114
|
-
expandable: { type: Boolean },
|
|
2115
|
-
meta: {}
|
|
2116
|
-
},
|
|
2117
|
-
setup(p) {
|
|
2118
|
-
const u = p, a = K(() => u.fileId ? `${yt}/file/${u.fileId}/picture` : u.url || u.modelValue), o = x(!1);
|
|
2119
|
-
return (t, c) => {
|
|
2120
|
-
var _;
|
|
2121
|
-
const r = te("overlay");
|
|
2122
|
-
return n(), l("figure", Ho, [
|
|
2123
|
-
a.value && o.value ? (n(), V(We, {
|
|
2124
|
-
key: 0,
|
|
2125
|
-
to: "main"
|
|
2126
|
-
}, [
|
|
2127
|
-
Y((n(), l("div", Do, [
|
|
2128
|
-
B("img", {
|
|
2129
|
-
src: a.value,
|
|
2130
|
-
alt: t.alt,
|
|
2131
|
-
style: `
|
|
2132
|
-
max-height: 60vh;
|
|
2133
|
-
object-fit: contain;
|
|
2134
|
-
`,
|
|
2135
|
-
onClick: c[0] || (c[0] = (d) => o.value = !0)
|
|
2136
|
-
}, null, 8, Qo),
|
|
2137
|
-
(_ = t.meta) != null && _.owner ? (n(), l("div", Go, C(t.t("created_by")) + " " + C(t.meta.owner.name) + " em " + C(t.formatDateTime(t.meta.created_at, { hours: !0 })), 1)) : h("", !0)
|
|
2138
|
-
])), [
|
|
2139
|
-
[r, {
|
|
2140
|
-
layer: 60,
|
|
2141
|
-
click: () => {
|
|
2142
|
-
o.value = !1;
|
|
2143
|
-
}
|
|
2144
|
-
}]
|
|
2145
|
-
])
|
|
2146
|
-
])) : h("", !0),
|
|
2147
|
-
a.value ? (n(), l("img", {
|
|
2148
|
-
key: 1,
|
|
2149
|
-
src: a.value,
|
|
2150
|
-
class: G(`
|
|
2151
|
-
picture__image
|
|
2152
|
-
${t.bordered && "picture__image--bordered"}
|
|
2153
|
-
${t.expandable && "picture__image--expandable"}
|
|
2154
|
-
`),
|
|
2155
|
-
style: ge(`
|
|
2156
|
-
object-fit: ${t.objectFit || "cover"};
|
|
2157
|
-
width: ${t.width || "100%"};
|
|
2158
|
-
height: ${t.height || "100%"};
|
|
2159
|
-
`),
|
|
2160
|
-
onClick: c[1] || (c[1] = () => {
|
|
2161
|
-
t.expandable && (o.value = !0);
|
|
2162
|
-
})
|
|
2163
|
-
}, null, 14, Wo)) : t.$slots.fallback ? I(t.$slots, "fallback", { key: 2 }, void 0, !0) : t.$slots.default ? I(t.$slots, "default", { key: 3 }, void 0, !0) : (n(), l("svg", {
|
|
2164
|
-
key: 4,
|
|
2165
|
-
class: G(["picture__background", `
|
|
2166
|
-
${t.bordered && "picture__image--bordered"}
|
|
2167
|
-
`]),
|
|
2168
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2169
|
-
viewBox: "0 0 200 200",
|
|
2170
|
-
preserveAspectRatio: "none",
|
|
2171
|
-
style: ge(`
|
|
2172
|
-
object-fit: ${t.objectFit || "cover"};
|
|
2173
|
-
width: ${t.width || "100%"};
|
|
2174
|
-
height: ${t.height || "100%"};
|
|
2175
|
-
`)
|
|
2176
|
-
}, c[2] || (c[2] = [
|
|
2177
|
-
B("line", {
|
|
2178
|
-
x1: "0",
|
|
2179
|
-
y1: "0",
|
|
2180
|
-
x2: "200",
|
|
2181
|
-
y2: "200",
|
|
2182
|
-
stroke: "#000",
|
|
2183
|
-
"vector-effect": "non-scaling-stroke"
|
|
2184
|
-
}, null, -1),
|
|
2185
|
-
B("line", {
|
|
2186
|
-
x1: "200",
|
|
2187
|
-
y1: "0",
|
|
2188
|
-
x2: "0",
|
|
2189
|
-
y2: "200",
|
|
2190
|
-
stroke: "#000",
|
|
2191
|
-
"vector-effect": "non-scaling-stroke"
|
|
2192
|
-
}, null, -1)
|
|
2193
|
-
]), 6)),
|
|
2194
|
-
t.$slots.caption ? (n(), l("figcaption", Ko, [
|
|
2195
|
-
I(t.$slots, "caption", {}, void 0, !0)
|
|
2196
|
-
])) : h("", !0)
|
|
2197
|
-
]);
|
|
2198
|
-
};
|
|
2199
|
-
}
|
|
2200
|
-
});
|
|
2201
|
-
const Ge = /* @__PURE__ */ D(Xo, [["__scopeId", "data-v-fcdb9114"]]), Yo = {
|
|
2202
|
+
}, Yo = {
|
|
2202
2203
|
key: 0,
|
|
2203
2204
|
class: "table aeria-surface"
|
|
2204
2205
|
}, Jo = { key: 0 }, Zo = { key: 1 }, Po = { key: 0 }, No = ["checked"], xo = {
|
|
@@ -2337,7 +2338,7 @@ const Ge = /* @__PURE__ */ D(Xo, [["__scopeId", "data-v-fcdb9114"]]), Yo = {
|
|
|
2337
2338
|
}))
|
|
2338
2339
|
])) : ((me = e(_e)(ee)) == null ? void 0 : me.$ref) === "file" ? (n(), l("div", ca, [
|
|
2339
2340
|
g[w] ? (n(), l("div", da, [
|
|
2340
|
-
"items" in ee && g[w][0] && /^image/.test(g[w][0].type) ? (n(), V(
|
|
2341
|
+
"items" in ee && g[w][0] && /^image/.test(g[w][0].type) ? (n(), V(Ue, {
|
|
2341
2342
|
key: 0,
|
|
2342
2343
|
modelValue: g[w][0].link,
|
|
2343
2344
|
"onUpdate:modelValue": (A) => g[w][0].link = A,
|
|
@@ -2345,7 +2346,7 @@ const Ge = /* @__PURE__ */ D(Xo, [["__scopeId", "data-v-fcdb9114"]]), Yo = {
|
|
|
2345
2346
|
meta: g[w][0],
|
|
2346
2347
|
alt: "Row image",
|
|
2347
2348
|
class: "table__picture"
|
|
2348
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test(g[w].type) ? (n(), V(
|
|
2349
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "meta"])) : /^image/.test(g[w].type) ? (n(), V(Ue, {
|
|
2349
2350
|
key: 1,
|
|
2350
2351
|
modelValue: g[w].link,
|
|
2351
2352
|
"onUpdate:modelValue": (A) => g[w].link = A,
|
|
@@ -2580,7 +2581,7 @@ const wa = /* @__PURE__ */ D(Sa, [["__scopeId", "data-v-438c4aed"]]), Ta = { key
|
|
|
2580
2581
|
default: b(() => {
|
|
2581
2582
|
var $;
|
|
2582
2583
|
return [
|
|
2583
|
-
M(
|
|
2584
|
+
M(Ue, {
|
|
2584
2585
|
alt: "Item picture",
|
|
2585
2586
|
expandable: "",
|
|
2586
2587
|
url: ($ = t(d[e(a).picture])) == null ? void 0 : $.link,
|
|
@@ -2623,10 +2624,10 @@ const wa = /* @__PURE__ */ D(Sa, [["__scopeId", "data-v-438c4aed"]]), Ta = { key
|
|
|
2623
2624
|
};
|
|
2624
2625
|
}
|
|
2625
2626
|
});
|
|
2626
|
-
const
|
|
2627
|
+
const pt = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-11c581da"]]), La = (p) => ({
|
|
2627
2628
|
tabular: Ba,
|
|
2628
|
-
grid:
|
|
2629
|
-
list:
|
|
2629
|
+
grid: pt,
|
|
2630
|
+
list: pt
|
|
2630
2631
|
})[p], Ma = {
|
|
2631
2632
|
key: 2,
|
|
2632
2633
|
class: "crud__controls"
|
|
@@ -2636,7 +2637,7 @@ const _t = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-11c581da"]]), La = (p) =
|
|
|
2636
2637
|
}, za = { class: "crud__actions" }, Fa = { class: "crud__context-badge" }, Ua = { key: 0 }, Ea = {
|
|
2637
2638
|
key: 3,
|
|
2638
2639
|
class: "crud__pagination"
|
|
2639
|
-
},
|
|
2640
|
+
}, _t = 30, Ha = /* @__PURE__ */ z({
|
|
2640
2641
|
__name: "aeria-crud",
|
|
2641
2642
|
props: {
|
|
2642
2643
|
collection: {},
|
|
@@ -2654,17 +2655,17 @@ const _t = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-11c581da"]]), La = (p) =
|
|
|
2654
2655
|
setup(p, { emit: u }) {
|
|
2655
2656
|
const a = x(!1), o = x(!1), t = x((...y) => null), c = x(), r = p, _ = u, d = Be(), $ = bt({
|
|
2656
2657
|
delay: 600
|
|
2657
|
-
}), s = ie("meta"), f = ze(), { reachedEnd: k, detach: v } =
|
|
2658
|
+
}), s = ie("meta"), f = ze(), { reachedEnd: k, detach: v } = Xe(null, {
|
|
2658
2659
|
antecipate: 600
|
|
2659
2660
|
}), O = !f.value.md || r.scrollPagination;
|
|
2660
2661
|
O && re(k, (y) => {
|
|
2661
|
-
y && i.pagination.recordsTotal > i.items.length && Z.value <
|
|
2662
|
+
y && i.pagination.recordsTotal > i.items.length && Z.value < _t && (Z.value += 1, F());
|
|
2662
2663
|
});
|
|
2663
2664
|
const i = Lt(r.collection);
|
|
2664
|
-
|
|
2665
|
+
Xo(i, {
|
|
2665
2666
|
persistInQuery: !r.noQueryPersistence
|
|
2666
2667
|
});
|
|
2667
|
-
const q =
|
|
2668
|
+
const q = Ke(), W = r.action ? e(r.action) : Mt(i, d, q);
|
|
2668
2669
|
t.value = W[0], c.value = W[1];
|
|
2669
2670
|
const Z = x(0), g = x(!1), F = async (y) => {
|
|
2670
2671
|
i.activeFilters = Object.assign({}, (y == null ? void 0 : y.filters) || i.$filters), Object.assign(i.activeFilters, i.filtersPreset);
|
|
@@ -2785,12 +2786,12 @@ const _t = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-11c581da"]]), La = (p) =
|
|
|
2785
2786
|
var m, T, Q, P, S, R, se;
|
|
2786
2787
|
const oe = te("clickable"), ne = te("loading");
|
|
2787
2788
|
return n(), l(J, null, [
|
|
2788
|
-
o.value ? (n(), V(
|
|
2789
|
+
o.value ? (n(), V(Wo, {
|
|
2789
2790
|
key: e(i).$id,
|
|
2790
2791
|
modelValue: o.value,
|
|
2791
2792
|
"onUpdate:modelValue": A[0] || (A[0] = (j) => o.value = j)
|
|
2792
2793
|
}, null, 8, ["modelValue"])) : h("", !0),
|
|
2793
|
-
a.value ? (n(), V(
|
|
2794
|
+
a.value ? (n(), V(Ko, {
|
|
2794
2795
|
key: 1,
|
|
2795
2796
|
visible: a.value,
|
|
2796
2797
|
"onUpdate:visible": A[1] || (A[1] = (j) => a.value = j),
|
|
@@ -2992,7 +2993,7 @@ const _t = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-11c581da"]]), La = (p) =
|
|
|
2992
2993
|
} : void 0
|
|
2993
2994
|
]), 1040, ["component-name"]))
|
|
2994
2995
|
])), [
|
|
2995
|
-
[ne, (!e(O) || Z.value ===
|
|
2996
|
+
[ne, (!e(O) || Z.value === _t) && e(i).loading.getAll]
|
|
2996
2997
|
]),
|
|
2997
2998
|
!e(O) && !y.noControls && !e(i).loading.getAll && e(i).itemsCount > 0 ? (n(), l("div", Ea, [
|
|
2998
2999
|
M(jn, {
|
|
@@ -3096,7 +3097,7 @@ const Ya = /* @__PURE__ */ D(Xa, [["__scopeId", "data-v-606d47bf"]]), Ja = ["inn
|
|
|
3096
3097
|
setup(p) {
|
|
3097
3098
|
const u = ie("meta"), a = K(() => u.themeOverride || u.theme);
|
|
3098
3099
|
return (o, t) => {
|
|
3099
|
-
const c =
|
|
3100
|
+
const c = ft("router-view");
|
|
3100
3101
|
return n(), l("main", {
|
|
3101
3102
|
id: "main",
|
|
3102
3103
|
class: G(`
|
|
@@ -3286,7 +3287,7 @@ const ul = /* @__PURE__ */ D(rl, [["__scopeId", "data-v-a20914ab"]]), cl = z({
|
|
|
3286
3287
|
collection: {}
|
|
3287
3288
|
},
|
|
3288
3289
|
setup(p) {
|
|
3289
|
-
const u = p, o = Be().currentRoute, t =
|
|
3290
|
+
const u = p, o = Be().currentRoute, t = Ke(), c = K(() => u.collection ? je(u.collection, t) : typeof o.value.meta.collection == "string" ? je(o.value.meta.collection, t) : typeof o.value.params.collection == "string" ? je(o.value.params.collection, t) : null), r = async (_, d) => {
|
|
3290
3291
|
const { error: $, result: s } = await d.$functions[_.badgeFunction]({
|
|
3291
3292
|
filters: _.filters
|
|
3292
3293
|
});
|
|
@@ -3344,7 +3345,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3344
3345
|
u.modelValue.password,
|
|
3345
3346
|
u.modelValue.confirmation
|
|
3346
3347
|
));
|
|
3347
|
-
return (t, c) => (n(), V(
|
|
3348
|
+
return (t, c) => (n(), V(He, {
|
|
3348
3349
|
form: {
|
|
3349
3350
|
password: {
|
|
3350
3351
|
type: "string",
|
|
@@ -3385,7 +3386,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3385
3386
|
{
|
|
3386
3387
|
path: "signin",
|
|
3387
3388
|
name: "/user/signin",
|
|
3388
|
-
component: () => import("./signin-
|
|
3389
|
+
component: () => import("./signin-7192047f.js"),
|
|
3389
3390
|
meta: {
|
|
3390
3391
|
title: "Autenticação"
|
|
3391
3392
|
}
|
|
@@ -3393,7 +3394,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3393
3394
|
{
|
|
3394
3395
|
path: "signup",
|
|
3395
3396
|
name: "/user/signup",
|
|
3396
|
-
component: () => import("./signup-
|
|
3397
|
+
component: () => import("./signup-4d07bf89.js"),
|
|
3397
3398
|
meta: {
|
|
3398
3399
|
title: "Registro"
|
|
3399
3400
|
}
|
|
@@ -3401,7 +3402,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3401
3402
|
{
|
|
3402
3403
|
path: "activation",
|
|
3403
3404
|
name: "/user/activation",
|
|
3404
|
-
component: () => import("./activation-
|
|
3405
|
+
component: () => import("./activation-57af51f3.js"),
|
|
3405
3406
|
meta: {
|
|
3406
3407
|
title: "Ativação"
|
|
3407
3408
|
}
|
|
@@ -3423,7 +3424,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3423
3424
|
name: "/dashboard/:collection",
|
|
3424
3425
|
props: !0,
|
|
3425
3426
|
components: {
|
|
3426
|
-
default: () => import("./index-
|
|
3427
|
+
default: () => import("./index-650d03b4.js"),
|
|
3427
3428
|
topbar: () => Promise.resolve().then(() => fl)
|
|
3428
3429
|
},
|
|
3429
3430
|
meta: {
|
|
@@ -3435,7 +3436,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3435
3436
|
name: "/dashboard/:collection/:id",
|
|
3436
3437
|
props: !0,
|
|
3437
3438
|
components: {
|
|
3438
|
-
default: () => import("./_id_-
|
|
3439
|
+
default: () => import("./_id_-c0ad8b98.js")
|
|
3439
3440
|
},
|
|
3440
3441
|
meta: {
|
|
3441
3442
|
title: "%viewTitle%"
|
|
@@ -3453,7 +3454,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3453
3454
|
children: [
|
|
3454
3455
|
{
|
|
3455
3456
|
path: "profile",
|
|
3456
|
-
component: () => import("./index-
|
|
3457
|
+
component: () => import("./index-00a39ca1.js"),
|
|
3457
3458
|
meta: {
|
|
3458
3459
|
title: "Meu perfil",
|
|
3459
3460
|
icon: "user-square"
|
|
@@ -3462,7 +3463,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3462
3463
|
{
|
|
3463
3464
|
path: "changepass",
|
|
3464
3465
|
name: "/dashboard/user/changepass",
|
|
3465
|
-
component: () => import("./index-
|
|
3466
|
+
component: () => import("./index-020be4f9.js"),
|
|
3466
3467
|
meta: {
|
|
3467
3468
|
title: "Mudar senha",
|
|
3468
3469
|
icon: "lock"
|
|
@@ -3473,7 +3474,7 @@ const ml = /* @__PURE__ */ D(_l, [["__scopeId", "data-v-5f3141a5"]]), fl = /* @_
|
|
|
3473
3474
|
])
|
|
3474
3475
|
});
|
|
3475
3476
|
export {
|
|
3476
|
-
|
|
3477
|
+
He as A,
|
|
3477
3478
|
Xn as B,
|
|
3478
3479
|
cl as C,
|
|
3479
3480
|
Ga as D,
|
|
@@ -3486,8 +3487,8 @@ export {
|
|
|
3486
3487
|
X as b,
|
|
3487
3488
|
Un as c,
|
|
3488
3489
|
Cl as d,
|
|
3489
|
-
|
|
3490
|
-
|
|
3490
|
+
Ko as e,
|
|
3491
|
+
Ue as f,
|
|
3491
3492
|
Al as g,
|
|
3492
3493
|
Se as h,
|
|
3493
3494
|
D as i,
|
|
@@ -3497,15 +3498,15 @@ export {
|
|
|
3497
3498
|
an as m,
|
|
3498
3499
|
Ie as n,
|
|
3499
3500
|
wa as o,
|
|
3500
|
-
|
|
3501
|
+
Wo as p,
|
|
3501
3502
|
vn as q,
|
|
3502
3503
|
Ol as r,
|
|
3503
3504
|
jn as s,
|
|
3504
3505
|
Ia as t,
|
|
3505
3506
|
ul as u,
|
|
3506
|
-
|
|
3507
|
+
po as v,
|
|
3507
3508
|
Ce as w,
|
|
3508
3509
|
Dn as x,
|
|
3509
|
-
|
|
3510
|
-
|
|
3510
|
+
Ao as y,
|
|
3511
|
+
Ye as z
|
|
3511
3512
|
};
|