alytus-ff 1.0.13 → 1.0.15
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/App.vue.d.ts +2 -2
- package/dist/alytus-ff.js +570 -515
- package/dist/alytus-ff.umd.cjs +1 -1
- package/dist/bundle-stats.html +1 -1
- package/dist/components/DataTable/DataTableFilters.vue.d.ts +1 -1
- package/dist/components/Form/Checkbox.vue.d.ts +47 -0
- package/dist/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/dist/types/DataTable.d.ts +2 -1
- package/package.json +1 -1
- package/src/components/DataTable/DataTableFilters.vue +3 -3
- package/src/components/DataTable/RowActionsButton.vue +1 -1
- package/src/components/Form/Checkbox.vue +48 -0
- package/src/components/Form/FilesUploadControl.vue +1 -0
package/dist/alytus-ff.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineStore as ae } from "pinia";
|
|
2
|
-
import { ref as
|
|
2
|
+
import { ref as M, defineComponent as w, createElementBlock as f, openBlock as l, createElementVNode as _, createCommentVNode as A, renderSlot as E, createTextVNode as V, toDisplayString as y, normalizeClass as U, resolveComponent as m, createBlock as h, withCtx as i, createVNode as c, computed as H, Fragment as D, renderList as I, normalizeProps as se, guardReactiveProps as ie, createSlots as ue, mergeProps as F, getCurrentInstance as de, withModifiers as G, normalizeStyle as x, resolveDynamicComponent as R, toHandlers as Y, watch as ce } from "vue";
|
|
3
3
|
import { useRouter as me, useRoute as pe } from "vue-router";
|
|
4
4
|
import { useI18n as O } from "vue-i18n";
|
|
5
|
-
const ee =
|
|
5
|
+
const ee = M("en_GB");
|
|
6
6
|
function fe(e) {
|
|
7
7
|
Object.defineProperty(ee, "value", {
|
|
8
8
|
get: () => {
|
|
@@ -16,7 +16,7 @@ function ve() {
|
|
|
16
16
|
return ee;
|
|
17
17
|
}
|
|
18
18
|
let te = null;
|
|
19
|
-
function
|
|
19
|
+
function uo(e) {
|
|
20
20
|
te = e, fe(e);
|
|
21
21
|
}
|
|
22
22
|
const ne = ae("page", () => {
|
|
@@ -24,9 +24,9 @@ const ne = ae("page", () => {
|
|
|
24
24
|
function t(a) {
|
|
25
25
|
return a;
|
|
26
26
|
}
|
|
27
|
-
const n =
|
|
27
|
+
const n = M(!1), o = M(null), s = M(null), p = M(null), d = M({});
|
|
28
28
|
function u(a, k, P) {
|
|
29
|
-
|
|
29
|
+
o.value = a, p.value = k, s.value = P, n.value = !0;
|
|
30
30
|
}
|
|
31
31
|
function g(a) {
|
|
32
32
|
if (a instanceof XMLHttpRequest)
|
|
@@ -62,17 +62,17 @@ const ne = ae("page", () => {
|
|
|
62
62
|
}
|
|
63
63
|
function v() {
|
|
64
64
|
n.value = !1, setTimeout(() => {
|
|
65
|
-
|
|
65
|
+
o.value = null, s.value = null, p.value = null;
|
|
66
66
|
}, 250);
|
|
67
67
|
}
|
|
68
68
|
function b(a, k) {
|
|
69
69
|
d.value[a] = k;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function $(a) {
|
|
72
72
|
delete d.value[a];
|
|
73
73
|
}
|
|
74
|
-
return { errorDialog: n, errorTitle:
|
|
75
|
-
}), ge =
|
|
74
|
+
return { errorDialog: n, errorTitle: o, errorDetails: p, errorCode: s, showError: r, closeError: v, setFilterDefault: b, removeFilterDefault: $, filterDefaults: d };
|
|
75
|
+
}), ge = w({
|
|
76
76
|
name: "PageTitle",
|
|
77
77
|
props: {
|
|
78
78
|
title: {
|
|
@@ -85,31 +85,31 @@ const ne = ae("page", () => {
|
|
|
85
85
|
default: null
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
88
|
+
}), L = (e, t) => {
|
|
89
89
|
const n = e.__vccOpts || e;
|
|
90
|
-
for (const [
|
|
91
|
-
n[
|
|
90
|
+
for (const [o, s] of t)
|
|
91
|
+
n[o] = s;
|
|
92
92
|
return n;
|
|
93
93
|
}, ye = { class: "mt-6 mb-3 ff-page-title" }, _e = { class: "text-h5 ff-title" }, $e = {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "text-body-2 ff-description"
|
|
96
96
|
};
|
|
97
|
-
function he(e, t, n,
|
|
98
|
-
return
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
function he(e, t, n, o, s, p) {
|
|
98
|
+
return l(), f("div", ye, [
|
|
99
|
+
_("div", null, [
|
|
100
|
+
_("span", _e, [
|
|
101
101
|
E(e.$slots, "title", {}, () => [
|
|
102
|
-
|
|
102
|
+
V(y(e.title), 1)
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
|
-
e.description ? (
|
|
105
|
+
e.description ? (l(), f("div", $e, y(e.description), 1)) : A("", !0)
|
|
106
106
|
]),
|
|
107
|
-
|
|
107
|
+
_("div", null, [
|
|
108
108
|
E(e.$slots, "buttons")
|
|
109
109
|
])
|
|
110
110
|
]);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
112
|
+
const co = /* @__PURE__ */ L(ge, [["render", he]]), be = w({
|
|
113
113
|
name: "PageSubtitle",
|
|
114
114
|
props: {
|
|
115
115
|
subtitle: {
|
|
@@ -122,17 +122,17 @@ const ro = /* @__PURE__ */ w(ge, [["render", he]]), be = V({
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}), ke = { class: "text-h6 font-weight-bold" };
|
|
125
|
-
function Ce(e, t, n,
|
|
126
|
-
return
|
|
125
|
+
function Ce(e, t, n, o, s, p) {
|
|
126
|
+
return l(), f("div", {
|
|
127
127
|
class: U([e.firstPosition ? "mt-0" : "", "ff-page-subtitle"])
|
|
128
128
|
}, [
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
_("div", ke, y(e.subtitle), 1),
|
|
130
|
+
_("div", null, [
|
|
131
131
|
E(e.$slots, "buttons")
|
|
132
132
|
])
|
|
133
133
|
], 2);
|
|
134
134
|
}
|
|
135
|
-
const
|
|
135
|
+
const mo = /* @__PURE__ */ L(be, [["render", Ce]]), Ae = w({
|
|
136
136
|
name: "InnerLeftMenu",
|
|
137
137
|
components: {},
|
|
138
138
|
props: {
|
|
@@ -143,23 +143,23 @@ const ao = /* @__PURE__ */ w(be, [["render", Ce]]), Ae = V({
|
|
|
143
143
|
},
|
|
144
144
|
setup() {
|
|
145
145
|
const e = me(), t = pe();
|
|
146
|
-
return { goTo: (
|
|
147
|
-
|
|
148
|
-
}, isActive: (
|
|
146
|
+
return { goTo: (s) => {
|
|
147
|
+
s.id && e.push(s.id);
|
|
148
|
+
}, isActive: (s) => t.fullPath.startsWith(s) };
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
|
-
function
|
|
151
|
+
function Ve(e, t, n, o, s, p) {
|
|
152
152
|
const d = m("v-list");
|
|
153
|
-
return
|
|
153
|
+
return l(), h(d, {
|
|
154
154
|
class: "inner-left-menu mobile-horizontal",
|
|
155
155
|
items: e.items,
|
|
156
156
|
selected: e.items.filter((u) => u.value && e.isActive(u.value)).map((u) => u.value),
|
|
157
157
|
"onClick:select": t[0] || (t[0] = (u) => e.goTo(u))
|
|
158
158
|
}, null, 8, ["items", "selected"]);
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
var
|
|
162
|
-
const Fe =
|
|
160
|
+
const po = /* @__PURE__ */ L(Ae, [["render", Ve]]);
|
|
161
|
+
var Me = "M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z", W = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z", we = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", Le = "M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z", He = "M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z", Se = "M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z", Ue = "M22,18V22H18V19H15V16H12L9.74,13.74C9.19,13.91 8.61,14 8,14A6,6 0 0,1 2,8A6,6 0 0,1 8,2A6,6 0 0,1 14,8C14,8.61 13.91,9.19 13.74,9.74L22,18M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z", De = "M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z", oe = "M7,10L12,15L17,10H7Z", Te = "M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z", Ie = "M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z", Pe = "M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z", Ee = "M16,5V18H21V5M4,18H9V5H4M10,18H15V5H10V18Z";
|
|
162
|
+
const Fe = w({
|
|
163
163
|
name: "CustomDialog",
|
|
164
164
|
methods: {
|
|
165
165
|
mdiClose() {
|
|
@@ -197,47 +197,47 @@ const Fe = V({
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
}), qe = { class: "close-btn" };
|
|
200
|
-
function Be(e, t, n,
|
|
200
|
+
function Be(e, t, n, o, s, p) {
|
|
201
201
|
const d = m("v-btn"), u = m("v-card-text"), g = m("v-spacer"), r = m("v-card-actions"), v = m("v-card"), b = m("v-dialog");
|
|
202
|
-
return
|
|
202
|
+
return l(), h(b, {
|
|
203
203
|
"model-value": e.value,
|
|
204
204
|
"max-width": "960",
|
|
205
205
|
persistent: e.persistent,
|
|
206
206
|
fullscreen: e.$vuetify.display.smAndDown && !e.noFullScreen,
|
|
207
207
|
class: U([e.fullHeight ? "ff-dialog" : "ff-dialog ff-full-height"]),
|
|
208
208
|
"content-class": e.fullHeight ? "ff-full-height" : "",
|
|
209
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
209
|
+
"onUpdate:modelValue": t[1] || (t[1] = ($) => e.$emit("close"))
|
|
210
210
|
}, {
|
|
211
|
-
default:
|
|
211
|
+
default: i(() => [
|
|
212
212
|
E(e.$slots, "card", {}, () => [
|
|
213
213
|
c(v, {
|
|
214
214
|
class: U(e.fullHeight ? "ff-full-height" : ""),
|
|
215
215
|
loading: e.loading
|
|
216
216
|
}, {
|
|
217
|
-
title:
|
|
217
|
+
title: i(() => [
|
|
218
218
|
E(e.$slots, "title", {}, () => [
|
|
219
|
-
|
|
219
|
+
V(y(e.title), 1)
|
|
220
220
|
])
|
|
221
221
|
]),
|
|
222
|
-
append:
|
|
222
|
+
append: i(() => [
|
|
223
223
|
E(e.$slots, "header-right"),
|
|
224
|
-
|
|
224
|
+
_("div", qe, [
|
|
225
225
|
c(d, {
|
|
226
226
|
variant: "text",
|
|
227
227
|
icon: e.mdiClose(),
|
|
228
|
-
onClick: t[0] || (t[0] = (
|
|
228
|
+
onClick: t[0] || (t[0] = ($) => e.$emit("close"))
|
|
229
229
|
}, null, 8, ["icon"])
|
|
230
230
|
])
|
|
231
231
|
]),
|
|
232
|
-
default:
|
|
232
|
+
default: i(() => [
|
|
233
233
|
c(u, null, {
|
|
234
|
-
default:
|
|
234
|
+
default: i(() => [
|
|
235
235
|
E(e.$slots, "default")
|
|
236
236
|
]),
|
|
237
237
|
_: 3
|
|
238
238
|
}),
|
|
239
|
-
e.noFooter ? A("", !0) : (
|
|
240
|
-
default:
|
|
239
|
+
e.noFooter ? A("", !0) : (l(), h(r, { key: 0 }, {
|
|
240
|
+
default: i(() => [
|
|
241
241
|
E(e.$slots, "left-footer"),
|
|
242
242
|
c(g),
|
|
243
243
|
E(e.$slots, "footer")
|
|
@@ -252,7 +252,7 @@ function Be(e, t, n, l, i, p) {
|
|
|
252
252
|
_: 3
|
|
253
253
|
}, 8, ["model-value", "persistent", "fullscreen", "class", "content-class"]);
|
|
254
254
|
}
|
|
255
|
-
const Oe = /* @__PURE__ */
|
|
255
|
+
const Oe = /* @__PURE__ */ L(Fe, [["render", Be]]), Ne = w({
|
|
256
256
|
name: "AccountAvatar",
|
|
257
257
|
props: {
|
|
258
258
|
item: {
|
|
@@ -265,19 +265,19 @@ const Oe = /* @__PURE__ */ w(Fe, [["render", Be]]), Ne = V({
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
|
-
function ze(e, t, n,
|
|
268
|
+
function ze(e, t, n, o, s, p) {
|
|
269
269
|
const d = m("v-avatar");
|
|
270
|
-
return
|
|
270
|
+
return l(), h(d, {
|
|
271
271
|
class: U(`ff-avatar avatar-${e.size}-${e.item.initials.length >= 3 ? "l" : "s"}`),
|
|
272
272
|
size: e.size
|
|
273
273
|
}, {
|
|
274
|
-
default:
|
|
275
|
-
|
|
274
|
+
default: i(() => [
|
|
275
|
+
V(y(e.item.initials), 1)
|
|
276
276
|
]),
|
|
277
277
|
_: 1
|
|
278
278
|
}, 8, ["class", "size"]);
|
|
279
279
|
}
|
|
280
|
-
const J = /* @__PURE__ */
|
|
280
|
+
const J = /* @__PURE__ */ L(Ne, [["render", ze]]), j = (e) => e.surname ? `${e.name} ${e.surname}` : e.name, fo = (e) => e == null ? "" : e.name ? e.surname ? `${e.name.trim().substring(0, 1).toUpperCase()}${e.surname.trim().substring(0, 1).toUpperCase()}` : e.name.trim().substring(0, 1).toUpperCase() : e.surname ? e.surname.trim().substring(0, 1).toUpperCase() : "", Re = w({
|
|
281
281
|
name: "UserAvatar",
|
|
282
282
|
props: {
|
|
283
283
|
user: {
|
|
@@ -297,24 +297,24 @@ const J = /* @__PURE__ */ w(Ne, [["render", ze]]), j = (e) => e.surname ? `${e.n
|
|
|
297
297
|
return { fullName: H(() => j(e.user)) };
|
|
298
298
|
}
|
|
299
299
|
}), je = { key: 1 };
|
|
300
|
-
function Ge(e, t, n,
|
|
300
|
+
function Ge(e, t, n, o, s, p) {
|
|
301
301
|
const d = m("v-img"), u = m("v-avatar");
|
|
302
|
-
return
|
|
302
|
+
return l(), h(u, {
|
|
303
303
|
color: e.user.avatar_thumb ? "light_grey_bg" : e.user.color ?? "primary",
|
|
304
304
|
class: U(`avatar-${e.size}-${e.user.initials.length >= 3 ? "l" : "s"}`),
|
|
305
305
|
size: e.size
|
|
306
306
|
}, {
|
|
307
|
-
default:
|
|
308
|
-
e.user.avatar_thumb ? (
|
|
307
|
+
default: i(() => [
|
|
308
|
+
e.user.avatar_thumb ? (l(), h(d, {
|
|
309
309
|
key: 0,
|
|
310
310
|
alt: e.fullName,
|
|
311
311
|
src: `${e.baseUrl}/${e.user.avatar_thumb}`
|
|
312
|
-
}, null, 8, ["alt", "src"])) : (
|
|
312
|
+
}, null, 8, ["alt", "src"])) : (l(), f("span", je, y(e.user.initials), 1))
|
|
313
313
|
]),
|
|
314
314
|
_: 1
|
|
315
315
|
}, 8, ["color", "class", "size"]);
|
|
316
316
|
}
|
|
317
|
-
const Z = /* @__PURE__ */
|
|
317
|
+
const Z = /* @__PURE__ */ L(Re, [["render", Ge]]), Ze = w({
|
|
318
318
|
name: "UserMenu",
|
|
319
319
|
components: { AccountAvatar: J, UserAvatar: Z },
|
|
320
320
|
methods: {
|
|
@@ -322,7 +322,7 @@ const Z = /* @__PURE__ */ w(Re, [["render", Ge]]), Ze = V({
|
|
|
322
322
|
return De;
|
|
323
323
|
},
|
|
324
324
|
mdiAccount() {
|
|
325
|
-
return
|
|
325
|
+
return Me;
|
|
326
326
|
},
|
|
327
327
|
mdiMenuDown() {
|
|
328
328
|
return oe;
|
|
@@ -379,51 +379,51 @@ const Z = /* @__PURE__ */ w(Re, [["render", Ge]]), Ze = V({
|
|
|
379
379
|
"action-click"
|
|
380
380
|
],
|
|
381
381
|
setup(e, { emit: t }) {
|
|
382
|
-
const { t: n } = O(),
|
|
383
|
-
return { isOpen:
|
|
384
|
-
e.multipleAccounts ? t(d.value.indexOf(
|
|
385
|
-
}, switchLang: (
|
|
386
|
-
t("switch-lang",
|
|
387
|
-
}, actionClick: (
|
|
388
|
-
t("action-click",
|
|
389
|
-
}, emitClose: (
|
|
390
|
-
t(
|
|
382
|
+
const { t: n } = O(), o = M(!1), s = M(!1), p = H(() => e.currentUser != null ? j(e.currentUser) : "-"), d = H(() => e.currentAccounts.map(($) => $.id)), u = H(() => e.currentAccounts.length === 1 ? j(e.currentAccounts[0]) : `${e.currentAccounts.length} ${n("aff.workspaces")}`);
|
|
383
|
+
return { isOpen: o, userName: p, langMenu: s, accountIds: d, accountTitle: u, selectAccount: ($) => {
|
|
384
|
+
e.multipleAccounts ? t(d.value.indexOf($.id) >= 0 ? "unselect-account" : "select-account", $) : t("select-account", $);
|
|
385
|
+
}, switchLang: ($) => {
|
|
386
|
+
t("switch-lang", $), s.value = !1;
|
|
387
|
+
}, actionClick: ($) => {
|
|
388
|
+
t("action-click", $), o.value = !1;
|
|
389
|
+
}, emitClose: ($) => {
|
|
390
|
+
t($), o.value = !1;
|
|
391
391
|
} };
|
|
392
392
|
}
|
|
393
393
|
}), Ye = { class: "ff-user-btn-text" }, Ke = { class: "name" }, We = { class: "comp" }, Je = { key: 0 }, Xe = { key: 1 }, Qe = { class: "as-avatar" }, xe = ["src"], et = ["src"], tt = { class: "as-avatar" }, nt = { class: "as-avatar" }, ot = { class: "as-avatar" };
|
|
394
|
-
function lt(e, t, n,
|
|
395
|
-
const d = m("UserAvatar"), u = m("v-btn"), g = m("v-list-subheader"), r = m("v-list-item"), v = m("AccountAvatar"), b = m("v-list-item-title"),
|
|
396
|
-
return
|
|
394
|
+
function lt(e, t, n, o, s, p) {
|
|
395
|
+
const d = m("UserAvatar"), u = m("v-btn"), g = m("v-list-subheader"), r = m("v-list-item"), v = m("AccountAvatar"), b = m("v-list-item-title"), $ = m("v-icon"), a = m("v-list"), k = m("v-menu"), P = m("v-card-text"), B = m("v-card");
|
|
396
|
+
return l(), h(k, {
|
|
397
397
|
modelValue: e.isOpen,
|
|
398
398
|
"onUpdate:modelValue": t[4] || (t[4] = (C) => e.isOpen = C),
|
|
399
399
|
"close-on-content-click": !1
|
|
400
400
|
}, {
|
|
401
|
-
activator:
|
|
401
|
+
activator: i(({ props: C }) => [
|
|
402
402
|
c(u, F(C, { class: "ff-user-btn" }), {
|
|
403
|
-
default:
|
|
403
|
+
default: i(() => [
|
|
404
404
|
c(d, {
|
|
405
405
|
size: 32,
|
|
406
406
|
user: e.currentUser,
|
|
407
407
|
"base-url": e.baseUrl + "/avatars"
|
|
408
408
|
}, null, 8, ["user", "base-url"]),
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
409
|
+
_("div", Ye, [
|
|
410
|
+
_("div", Ke, y(e.userName), 1),
|
|
411
|
+
_("div", We, y(e.accountTitle), 1)
|
|
412
412
|
])
|
|
413
413
|
]),
|
|
414
414
|
_: 1
|
|
415
415
|
}, 16)
|
|
416
416
|
]),
|
|
417
|
-
default:
|
|
417
|
+
default: i(() => [
|
|
418
418
|
c(B, { class: "ff-user-manu-card" }, {
|
|
419
|
-
default:
|
|
419
|
+
default: i(() => [
|
|
420
420
|
c(P, { class: "pa-0" }, {
|
|
421
|
-
default:
|
|
421
|
+
default: i(() => [
|
|
422
422
|
c(a, null, {
|
|
423
|
-
default:
|
|
423
|
+
default: i(() => [
|
|
424
424
|
c(g, null, {
|
|
425
|
-
default:
|
|
426
|
-
|
|
425
|
+
default: i(() => [
|
|
426
|
+
V(y(e.$t("aff.Logged in as")) + ":", 1)
|
|
427
427
|
]),
|
|
428
428
|
_: 1
|
|
429
429
|
}),
|
|
@@ -431,7 +431,7 @@ function lt(e, t, n, l, i, p) {
|
|
|
431
431
|
title: e.userName,
|
|
432
432
|
subtitle: e.currentUser?.email ?? ""
|
|
433
433
|
}, {
|
|
434
|
-
prepend:
|
|
434
|
+
prepend: i(() => [
|
|
435
435
|
c(d, {
|
|
436
436
|
size: 32,
|
|
437
437
|
user: e.currentUser,
|
|
@@ -440,53 +440,53 @@ function lt(e, t, n, l, i, p) {
|
|
|
440
440
|
]),
|
|
441
441
|
_: 1
|
|
442
442
|
}, 8, ["title", "subtitle"]),
|
|
443
|
-
e.staticList ? (
|
|
443
|
+
e.staticList ? (l(), f(D, { key: 0 }, [
|
|
444
444
|
c(g, null, {
|
|
445
|
-
default:
|
|
446
|
-
e.accounts.length === 1 ? (
|
|
445
|
+
default: i(() => [
|
|
446
|
+
e.accounts.length === 1 ? (l(), f("span", Je, y(e.$t("aff.Active workspace")) + ":", 1)) : (l(), f("span", Xe, y(e.$t("aff.Active workspaces")), 1))
|
|
447
447
|
]),
|
|
448
448
|
_: 1
|
|
449
449
|
}),
|
|
450
|
-
(
|
|
450
|
+
(l(!0), f(D, null, I(e.accounts, (C) => (l(), h(r, {
|
|
451
451
|
key: C.id
|
|
452
452
|
}, {
|
|
453
|
-
prepend:
|
|
453
|
+
prepend: i(() => [
|
|
454
454
|
c(v, { item: C }, null, 8, ["item"])
|
|
455
455
|
]),
|
|
456
|
-
default:
|
|
456
|
+
default: i(() => [
|
|
457
457
|
c(b, null, {
|
|
458
|
-
default:
|
|
459
|
-
|
|
458
|
+
default: i(() => [
|
|
459
|
+
V(y(e.formatFullName(C)), 1)
|
|
460
460
|
]),
|
|
461
461
|
_: 2
|
|
462
462
|
}, 1024)
|
|
463
463
|
]),
|
|
464
464
|
_: 2
|
|
465
465
|
}, 1024))), 128))
|
|
466
|
-
], 64)) : (
|
|
466
|
+
], 64)) : (l(), f(D, { key: 1 }, [
|
|
467
467
|
c(g, null, {
|
|
468
|
-
default:
|
|
469
|
-
|
|
468
|
+
default: i(() => [
|
|
469
|
+
V(y(e.$t("aff.Choose active workspaces")) + ":", 1)
|
|
470
470
|
]),
|
|
471
471
|
_: 1
|
|
472
472
|
}),
|
|
473
|
-
(
|
|
473
|
+
(l(!0), f(D, null, I(e.accounts, (C) => (l(), h(r, {
|
|
474
474
|
key: C.id,
|
|
475
475
|
onClick: (N) => e.selectAccount(C)
|
|
476
476
|
}, {
|
|
477
|
-
prepend:
|
|
477
|
+
prepend: i(() => [
|
|
478
478
|
c(v, { item: C }, null, 8, ["item"])
|
|
479
479
|
]),
|
|
480
|
-
append:
|
|
481
|
-
c(
|
|
480
|
+
append: i(() => [
|
|
481
|
+
c($, {
|
|
482
482
|
color: e.accountIds.indexOf(C.id) >= 0 ? "primary" : "white",
|
|
483
483
|
icon: e.mdiCheck()
|
|
484
484
|
}, null, 8, ["color", "icon"])
|
|
485
485
|
]),
|
|
486
|
-
default:
|
|
486
|
+
default: i(() => [
|
|
487
487
|
c(b, null, {
|
|
488
|
-
default:
|
|
489
|
-
|
|
488
|
+
default: i(() => [
|
|
489
|
+
V(y(e.formatFullName(C)), 1)
|
|
490
490
|
]),
|
|
491
491
|
_: 2
|
|
492
492
|
}, 1024)
|
|
@@ -495,19 +495,19 @@ function lt(e, t, n, l, i, p) {
|
|
|
495
495
|
}, 1032, ["onClick"]))), 128))
|
|
496
496
|
], 64)),
|
|
497
497
|
c(g, null, {
|
|
498
|
-
default:
|
|
499
|
-
|
|
498
|
+
default: i(() => [
|
|
499
|
+
V(y(e.$t("aff.Actions")) + ":", 1)
|
|
500
500
|
]),
|
|
501
501
|
_: 1
|
|
502
502
|
}),
|
|
503
|
-
e.langs.length > 1 ? (
|
|
503
|
+
e.langs.length > 1 ? (l(), h(r, {
|
|
504
504
|
key: 2,
|
|
505
505
|
"append-icon": e.mdiMenuDown(),
|
|
506
506
|
onClick: t[1] || (t[1] = (C) => e.langMenu = !0)
|
|
507
507
|
}, {
|
|
508
|
-
prepend:
|
|
509
|
-
|
|
510
|
-
|
|
508
|
+
prepend: i(() => [
|
|
509
|
+
_("div", Qe, [
|
|
510
|
+
_("img", {
|
|
511
511
|
src: e.currentLang.icon,
|
|
512
512
|
height: "15",
|
|
513
513
|
width: "20",
|
|
@@ -515,27 +515,27 @@ function lt(e, t, n, l, i, p) {
|
|
|
515
515
|
}, null, 8, xe)
|
|
516
516
|
])
|
|
517
517
|
]),
|
|
518
|
-
default:
|
|
518
|
+
default: i(() => [
|
|
519
519
|
c(b, null, {
|
|
520
|
-
default:
|
|
520
|
+
default: i(() => [
|
|
521
521
|
c(k, {
|
|
522
522
|
modelValue: e.langMenu,
|
|
523
523
|
"onUpdate:modelValue": t[0] || (t[0] = (C) => e.langMenu = C),
|
|
524
524
|
"close-on-content-click": !1
|
|
525
525
|
}, {
|
|
526
|
-
activator:
|
|
527
|
-
|
|
526
|
+
activator: i(({ props: C }) => [
|
|
527
|
+
_("span", se(ie(C)), y(e.currentLang.title), 17)
|
|
528
528
|
]),
|
|
529
|
-
default:
|
|
529
|
+
default: i(() => [
|
|
530
530
|
c(a, null, {
|
|
531
|
-
default:
|
|
532
|
-
(
|
|
531
|
+
default: i(() => [
|
|
532
|
+
(l(!0), f(D, null, I(e.langs, (C) => (l(), h(r, {
|
|
533
533
|
key: C.value,
|
|
534
534
|
title: C.title,
|
|
535
535
|
onClick: (N) => e.switchLang(C)
|
|
536
536
|
}, {
|
|
537
|
-
prepend:
|
|
538
|
-
|
|
537
|
+
prepend: i(() => [
|
|
538
|
+
_("img", {
|
|
539
539
|
src: C.icon,
|
|
540
540
|
height: "18",
|
|
541
541
|
width: "24",
|
|
@@ -557,15 +557,15 @@ function lt(e, t, n, l, i, p) {
|
|
|
557
557
|
]),
|
|
558
558
|
_: 1
|
|
559
559
|
}, 8, ["append-icon"])) : A("", !0),
|
|
560
|
-
(
|
|
560
|
+
(l(!0), f(D, null, I(e.actions, (C) => (l(), h(r, {
|
|
561
561
|
title: C.title,
|
|
562
562
|
onClick: (N) => e.actionClick(C.value)
|
|
563
563
|
}, ue({ _: 2 }, [
|
|
564
564
|
C.icon ? {
|
|
565
565
|
name: "prepend",
|
|
566
|
-
fn:
|
|
567
|
-
|
|
568
|
-
c(
|
|
566
|
+
fn: i(() => [
|
|
567
|
+
_("div", tt, [
|
|
568
|
+
c($, {
|
|
569
569
|
icon: C.icon
|
|
570
570
|
}, null, 8, ["icon"])
|
|
571
571
|
])
|
|
@@ -577,9 +577,9 @@ function lt(e, t, n, l, i, p) {
|
|
|
577
577
|
title: e.$t("aff.Profile settings"),
|
|
578
578
|
onClick: t[2] || (t[2] = (C) => e.emitClose("open-profile"))
|
|
579
579
|
}, {
|
|
580
|
-
prepend:
|
|
581
|
-
|
|
582
|
-
c(
|
|
580
|
+
prepend: i(() => [
|
|
581
|
+
_("div", nt, [
|
|
582
|
+
c($, {
|
|
583
583
|
icon: e.mdiAccount()
|
|
584
584
|
}, null, 8, ["icon"])
|
|
585
585
|
])
|
|
@@ -590,9 +590,9 @@ function lt(e, t, n, l, i, p) {
|
|
|
590
590
|
title: e.$t("aff.Log out"),
|
|
591
591
|
onClick: t[3] || (t[3] = (C) => e.emitClose("log-out"))
|
|
592
592
|
}, {
|
|
593
|
-
prepend:
|
|
594
|
-
|
|
595
|
-
c(
|
|
593
|
+
prepend: i(() => [
|
|
594
|
+
_("div", ot, [
|
|
595
|
+
c($, {
|
|
596
596
|
icon: e.mdiLogout()
|
|
597
597
|
}, null, 8, ["icon"])
|
|
598
598
|
])
|
|
@@ -612,7 +612,7 @@ function lt(e, t, n, l, i, p) {
|
|
|
612
612
|
_: 1
|
|
613
613
|
}, 8, ["modelValue"]);
|
|
614
614
|
}
|
|
615
|
-
const
|
|
615
|
+
const vo = /* @__PURE__ */ L(Ze, [["render", lt]]), rt = w({
|
|
616
616
|
name: "ErrorDialog",
|
|
617
617
|
props: {
|
|
618
618
|
show: {
|
|
@@ -638,38 +638,38 @@ const uo = /* @__PURE__ */ w(Ze, [["render", lt]]), rt = V({
|
|
|
638
638
|
return { title: H(() => e.errorTitle ?? t("aff.Error occurred")) };
|
|
639
639
|
}
|
|
640
640
|
}), at = ["innerHTML"], st = { key: 1 };
|
|
641
|
-
function it(e, t, n,
|
|
641
|
+
function it(e, t, n, o, s, p) {
|
|
642
642
|
const d = m("v-card-text"), u = m("v-spacer"), g = m("v-btn"), r = m("v-card-actions"), v = m("v-card"), b = m("v-dialog");
|
|
643
|
-
return
|
|
643
|
+
return l(), h(b, {
|
|
644
644
|
"max-width": "500",
|
|
645
645
|
"model-value": e.show,
|
|
646
|
-
onClose: t[1] || (t[1] = (
|
|
646
|
+
onClose: t[1] || (t[1] = ($) => e.$emit("close"))
|
|
647
647
|
}, {
|
|
648
|
-
default:
|
|
648
|
+
default: i(() => [
|
|
649
649
|
c(v, {
|
|
650
650
|
title: e.title,
|
|
651
651
|
theme: "dark"
|
|
652
652
|
}, {
|
|
653
|
-
default:
|
|
653
|
+
default: i(() => [
|
|
654
654
|
c(d, null, {
|
|
655
|
-
default:
|
|
656
|
-
e.errorDetails ? (
|
|
655
|
+
default: i(() => [
|
|
656
|
+
e.errorDetails ? (l(), f("span", {
|
|
657
657
|
key: 0,
|
|
658
658
|
innerHTML: e.errorDetails
|
|
659
659
|
}, null, 8, at)) : A("", !0),
|
|
660
|
-
t[2] || (t[2] =
|
|
661
|
-
e.errorCode ? (
|
|
660
|
+
t[2] || (t[2] = V()),
|
|
661
|
+
e.errorCode ? (l(), f("span", st, "(" + y(e.$t("aff.Code")) + ": " + y(e.errorCode) + ")", 1)) : A("", !0)
|
|
662
662
|
]),
|
|
663
663
|
_: 1
|
|
664
664
|
}),
|
|
665
665
|
c(r, null, {
|
|
666
|
-
default:
|
|
666
|
+
default: i(() => [
|
|
667
667
|
c(u),
|
|
668
668
|
c(g, {
|
|
669
669
|
text: e.$t("aff.Close"),
|
|
670
670
|
color: "primary",
|
|
671
671
|
variant: "flat",
|
|
672
|
-
onClick: t[0] || (t[0] = (
|
|
672
|
+
onClick: t[0] || (t[0] = ($) => e.$emit("close"))
|
|
673
673
|
}, null, 8, ["text"])
|
|
674
674
|
]),
|
|
675
675
|
_: 1
|
|
@@ -681,7 +681,7 @@ function it(e, t, n, l, i, p) {
|
|
|
681
681
|
_: 1
|
|
682
682
|
}, 8, ["model-value"]);
|
|
683
683
|
}
|
|
684
|
-
const
|
|
684
|
+
const go = /* @__PURE__ */ L(rt, [["render", it]]), ut = w({
|
|
685
685
|
name: "FieldRow",
|
|
686
686
|
props: {
|
|
687
687
|
label: {
|
|
@@ -705,62 +705,62 @@ const co = /* @__PURE__ */ w(rt, [["render", it]]), ut = V({
|
|
|
705
705
|
return {};
|
|
706
706
|
}
|
|
707
707
|
}), dt = { class: "lbl-col text-body-2" }, ct = { class: "lbl" }, mt = ["innerHTML"], pt = { class: "inp-col" }, ft = ["innerHTML"];
|
|
708
|
-
function vt(e, t, n,
|
|
709
|
-
return
|
|
708
|
+
function vt(e, t, n, o, s, p) {
|
|
709
|
+
return l(), f("div", {
|
|
710
710
|
class: U(["fld-row mobile-margin", e.errorMessage ? "fld-err" : ""])
|
|
711
711
|
}, [
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
e.description ? (
|
|
712
|
+
_("div", dt, [
|
|
713
|
+
_("div", ct, y(e.label), 1),
|
|
714
|
+
e.description ? (l(), f("div", {
|
|
715
715
|
key: 0,
|
|
716
716
|
class: "descr",
|
|
717
717
|
innerHTML: e.description
|
|
718
718
|
}, null, 8, mt)) : A("", !0)
|
|
719
719
|
]),
|
|
720
|
-
|
|
720
|
+
_("div", pt, [
|
|
721
721
|
E(e.$slots, "default", {
|
|
722
722
|
hideDetails: !e.errorMessage,
|
|
723
723
|
errorMessages: e.errorMessage,
|
|
724
724
|
disabled: e.disabled
|
|
725
725
|
})
|
|
726
726
|
]),
|
|
727
|
-
e.description ? (
|
|
727
|
+
e.description ? (l(), f("div", {
|
|
728
728
|
key: 0,
|
|
729
729
|
class: "descr-col text-body-2",
|
|
730
730
|
innerHTML: e.description
|
|
731
731
|
}, null, 8, ft)) : A("", !0)
|
|
732
732
|
], 2);
|
|
733
733
|
}
|
|
734
|
-
const
|
|
734
|
+
const yo = /* @__PURE__ */ L(ut, [["render", vt]]), gt = w({
|
|
735
735
|
name: "ColorPicker",
|
|
736
736
|
components: { UserAvatar: Z, AccountAvatar: J },
|
|
737
737
|
setup() {
|
|
738
|
-
const e =
|
|
738
|
+
const e = M(null), t = (() => {
|
|
739
739
|
const n = [];
|
|
740
|
-
for (let
|
|
741
|
-
n.push(`color-${
|
|
740
|
+
for (let o = 1; o <= 48; o++)
|
|
741
|
+
n.push(`color-${o}`);
|
|
742
742
|
return n;
|
|
743
743
|
})();
|
|
744
744
|
return { val: e, colors: t };
|
|
745
745
|
}
|
|
746
746
|
});
|
|
747
|
-
function yt(e, t, n,
|
|
747
|
+
function yt(e, t, n, o, s, p) {
|
|
748
748
|
const d = m("v-avatar"), u = m("v-list-item-title"), g = m("v-list-item"), r = m("v-list"), v = m("v-card-text"), b = m("v-card");
|
|
749
|
-
return
|
|
750
|
-
default:
|
|
749
|
+
return l(), h(b, { class: "ff-col-pckr" }, {
|
|
750
|
+
default: i(() => [
|
|
751
751
|
c(v, { style: { width: "305px", padding: "0 8px" } }, {
|
|
752
|
-
default:
|
|
752
|
+
default: i(() => [
|
|
753
753
|
c(r, { style: { width: "289px" } }, {
|
|
754
|
-
default:
|
|
755
|
-
(
|
|
756
|
-
key:
|
|
757
|
-
onClick: (a) => e.$emit("change",
|
|
754
|
+
default: i(() => [
|
|
755
|
+
(l(!0), f(D, null, I(e.colors, ($) => (l(), h(g, {
|
|
756
|
+
key: $,
|
|
757
|
+
onClick: (a) => e.$emit("change", $)
|
|
758
758
|
}, {
|
|
759
|
-
default:
|
|
759
|
+
default: i(() => [
|
|
760
760
|
c(u, null, {
|
|
761
|
-
default:
|
|
761
|
+
default: i(() => [
|
|
762
762
|
c(d, {
|
|
763
|
-
color:
|
|
763
|
+
color: $,
|
|
764
764
|
size: "32"
|
|
765
765
|
}, null, 8, ["color"])
|
|
766
766
|
]),
|
|
@@ -779,7 +779,7 @@ function yt(e, t, n, l, i, p) {
|
|
|
779
779
|
_: 1
|
|
780
780
|
});
|
|
781
781
|
}
|
|
782
|
-
const _t = /* @__PURE__ */
|
|
782
|
+
const _t = /* @__PURE__ */ L(gt, [["render", yt]]), $t = w({
|
|
783
783
|
name: "FieldLabel",
|
|
784
784
|
props: {
|
|
785
785
|
label: {
|
|
@@ -804,15 +804,15 @@ const _t = /* @__PURE__ */ w(gt, [["render", yt]]), $t = V({
|
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
806
|
});
|
|
807
|
-
function ht(e, t, n,
|
|
807
|
+
function ht(e, t, n, o, s, p) {
|
|
808
808
|
const d = m("v-col");
|
|
809
|
-
return
|
|
809
|
+
return l(), h(d, {
|
|
810
810
|
cols: e.cols,
|
|
811
811
|
sm: e.sm,
|
|
812
812
|
class: "fld"
|
|
813
813
|
}, {
|
|
814
|
-
default:
|
|
815
|
-
|
|
814
|
+
default: i(() => [
|
|
815
|
+
_("div", {
|
|
816
816
|
class: U(["fld-lbl", e.errorMessages ? "fld-err" : ""])
|
|
817
817
|
}, y(e.label), 3),
|
|
818
818
|
E(e.$slots, "default", {
|
|
@@ -824,14 +824,14 @@ function ht(e, t, n, l, i, p) {
|
|
|
824
824
|
_: 3
|
|
825
825
|
}, 8, ["cols", "sm"]);
|
|
826
826
|
}
|
|
827
|
-
const bt = /* @__PURE__ */
|
|
827
|
+
const bt = /* @__PURE__ */ L($t, [["render", ht]]), kt = (e, t, n) => (Object.defineProperty(e, t, {
|
|
828
828
|
value: n,
|
|
829
829
|
writable: !1,
|
|
830
830
|
configurable: !1,
|
|
831
831
|
enumerable: !1
|
|
832
|
-
}), n), Ct = (e, t, n) => e.reduce((
|
|
833
|
-
const p =
|
|
834
|
-
return
|
|
832
|
+
}), n), Ct = (e, t, n) => e.reduce((o, s) => {
|
|
833
|
+
const p = s[t];
|
|
834
|
+
return o[p] = s[n], o;
|
|
835
835
|
}, {}), le = [
|
|
836
836
|
{ title: "lng.sv-se", value: "sv_SE" },
|
|
837
837
|
// $t("lng.sv-se")
|
|
@@ -893,7 +893,7 @@ const bt = /* @__PURE__ */ w($t, [["render", ht]]), kt = (e, t, n) => (Object.de
|
|
|
893
893
|
// $t("lng.ro-ro")
|
|
894
894
|
{ title: "lng.pt-pt", value: "pt_PT" }
|
|
895
895
|
// $t("lng.pt-pt")
|
|
896
|
-
],
|
|
896
|
+
], _o = [
|
|
897
897
|
{ title: "lngin.et-ee", value: "et_EE" },
|
|
898
898
|
// $t("lngin.et-ee")
|
|
899
899
|
{ title: "lngin.lv-lv", value: "lv_LV" },
|
|
@@ -936,7 +936,7 @@ const bt = /* @__PURE__ */ w($t, [["render", ht]]), kt = (e, t, n) => (Object.de
|
|
|
936
936
|
ToShortFormat(e) {
|
|
937
937
|
return e.split(/_|-/)[0] ?? e;
|
|
938
938
|
}
|
|
939
|
-
}, At =
|
|
939
|
+
}, At = w({
|
|
940
940
|
methods: {
|
|
941
941
|
mdiPencil() {
|
|
942
942
|
return Ie;
|
|
@@ -962,37 +962,37 @@ const bt = /* @__PURE__ */ w($t, [["render", ht]]), kt = (e, t, n) => (Object.de
|
|
|
962
962
|
},
|
|
963
963
|
emits: ["edit-profile", "change-password"],
|
|
964
964
|
setup(e) {
|
|
965
|
-
const { t } = O(), n = H(() => e.currentUser?.locale ? t(K.FrmLang(K.ToLongFormat(e.currentUser.locale))) : ""),
|
|
966
|
-
return { langauge: n, fullName:
|
|
965
|
+
const { t } = O(), n = H(() => e.currentUser?.locale ? t(K.FrmLang(K.ToLongFormat(e.currentUser.locale))) : ""), o = H(() => e.currentUser ? j(e.currentUser) : "");
|
|
966
|
+
return { langauge: n, fullName: o };
|
|
967
967
|
}
|
|
968
|
-
}),
|
|
968
|
+
}), Vt = { class: "avatar" }, Mt = { class: "details" }, wt = { class: "name" }, Lt = {
|
|
969
969
|
key: 0,
|
|
970
970
|
class: "email"
|
|
971
971
|
}, Ht = { class: "email" };
|
|
972
|
-
function St(e, t, n,
|
|
972
|
+
function St(e, t, n, o, s, p) {
|
|
973
973
|
const d = m("UserAvatar"), u = m("v-col"), g = m("v-icon"), r = m("v-btn"), v = m("v-row");
|
|
974
|
-
return e.currentUser ? (
|
|
974
|
+
return e.currentUser ? (l(), h(v, {
|
|
975
975
|
key: 0,
|
|
976
976
|
class: "mt-6 prof-hor"
|
|
977
977
|
}, {
|
|
978
|
-
default:
|
|
978
|
+
default: i(() => [
|
|
979
979
|
c(u, {
|
|
980
980
|
cols: "12",
|
|
981
981
|
sm: "7",
|
|
982
982
|
class: "profile"
|
|
983
983
|
}, {
|
|
984
|
-
default:
|
|
985
|
-
|
|
984
|
+
default: i(() => [
|
|
985
|
+
_("div", Vt, [
|
|
986
986
|
c(d, {
|
|
987
987
|
size: 96,
|
|
988
988
|
user: e.currentUser,
|
|
989
989
|
"base-url": e.baseUrl + "/avatars"
|
|
990
990
|
}, null, 8, ["user", "base-url"])
|
|
991
991
|
]),
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
e.currentUser.email ? (
|
|
995
|
-
|
|
992
|
+
_("div", Mt, [
|
|
993
|
+
_("div", wt, y(e.fullName), 1),
|
|
994
|
+
e.currentUser.email ? (l(), f("div", Lt, y(e.currentUser.email), 1)) : A("", !0),
|
|
995
|
+
_("div", Ht, y(e.$t("aff.Language")) + ": " + y(e.langauge), 1)
|
|
996
996
|
])
|
|
997
997
|
]),
|
|
998
998
|
_: 1
|
|
@@ -1002,19 +1002,19 @@ function St(e, t, n, l, i, p) {
|
|
|
1002
1002
|
sm: "5",
|
|
1003
1003
|
class: U(`buttons btn-variant-${e.btnVariant}`)
|
|
1004
1004
|
}, {
|
|
1005
|
-
default:
|
|
1006
|
-
|
|
1005
|
+
default: i(() => [
|
|
1006
|
+
_("div", null, [
|
|
1007
1007
|
c(r, {
|
|
1008
1008
|
variant: e.btnVariant,
|
|
1009
1009
|
color: "primary",
|
|
1010
1010
|
onClick: t[0] || (t[0] = (b) => e.$emit("edit-profile"))
|
|
1011
1011
|
}, {
|
|
1012
|
-
default:
|
|
1012
|
+
default: i(() => [
|
|
1013
1013
|
c(g, {
|
|
1014
1014
|
icon: e.mdiPencil(),
|
|
1015
1015
|
class: "mr-1"
|
|
1016
1016
|
}, null, 8, ["icon"]),
|
|
1017
|
-
|
|
1017
|
+
V(" " + y(e.$t("aff.Edit info")), 1)
|
|
1018
1018
|
]),
|
|
1019
1019
|
_: 1
|
|
1020
1020
|
}, 8, ["variant"]),
|
|
@@ -1023,12 +1023,12 @@ function St(e, t, n, l, i, p) {
|
|
|
1023
1023
|
color: "primary",
|
|
1024
1024
|
onClick: t[1] || (t[1] = (b) => e.$emit("change-password"))
|
|
1025
1025
|
}, {
|
|
1026
|
-
default:
|
|
1026
|
+
default: i(() => [
|
|
1027
1027
|
c(g, {
|
|
1028
1028
|
icon: e.mdiKeyVariant(),
|
|
1029
1029
|
class: "mr-1"
|
|
1030
1030
|
}, null, 8, ["icon"]),
|
|
1031
|
-
|
|
1031
|
+
V(" " + y(e.$t("aff.Change password")), 1)
|
|
1032
1032
|
]),
|
|
1033
1033
|
_: 1
|
|
1034
1034
|
}, 8, ["variant"])
|
|
@@ -1040,29 +1040,29 @@ function St(e, t, n, l, i, p) {
|
|
|
1040
1040
|
_: 1
|
|
1041
1041
|
})) : A("", !0);
|
|
1042
1042
|
}
|
|
1043
|
-
const
|
|
1043
|
+
const $o = /* @__PURE__ */ L(At, [["render", St]]), ho = (e) => {
|
|
1044
1044
|
for (const t in e)
|
|
1045
1045
|
Object.prototype.hasOwnProperty.call(e, t) && (e[t] = null);
|
|
1046
|
-
}, Ut = (e, t, n,
|
|
1046
|
+
}, Ut = (e, t, n, o, s, p = null) => {
|
|
1047
1047
|
if (typeof e == "string") {
|
|
1048
|
-
|
|
1048
|
+
o(e);
|
|
1049
1049
|
return;
|
|
1050
1050
|
}
|
|
1051
1051
|
if (e.response && e.response.status) {
|
|
1052
1052
|
if (e.response.status === 400 && e.response.data) {
|
|
1053
|
-
Tt(e, t, n,
|
|
1053
|
+
Tt(e, t, n, o, s, p);
|
|
1054
1054
|
return;
|
|
1055
1055
|
}
|
|
1056
1056
|
if (e.response.status === 409 && e.response.data) {
|
|
1057
|
-
It(e,
|
|
1057
|
+
It(e, o, s);
|
|
1058
1058
|
return;
|
|
1059
1059
|
}
|
|
1060
1060
|
if (e.response.status === 417 && e.response.data) {
|
|
1061
|
-
Pt(
|
|
1061
|
+
Pt(o, s);
|
|
1062
1062
|
return;
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
|
|
1065
|
+
o(e);
|
|
1066
1066
|
}, Dt = () => {
|
|
1067
1067
|
setTimeout(() => {
|
|
1068
1068
|
const e = document.querySelector(".v-input--error, .ec-input.local-err");
|
|
@@ -1071,7 +1071,7 @@ const fo = /* @__PURE__ */ w(At, [["render", St]]), vo = (e) => {
|
|
|
1071
1071
|
const t = e.querySelector("input, textarea, .ec-inp-ctrl");
|
|
1072
1072
|
t?.focus();
|
|
1073
1073
|
}, 200);
|
|
1074
|
-
}, Tt = (e, t, n,
|
|
1074
|
+
}, Tt = (e, t, n, o, s, p = null) => {
|
|
1075
1075
|
const d = [];
|
|
1076
1076
|
let u = !1, g = {};
|
|
1077
1077
|
if (Array.isArray(e.response.data))
|
|
@@ -1084,19 +1084,19 @@ const fo = /* @__PURE__ */ w(At, [["render", St]]), vo = (e) => {
|
|
|
1084
1084
|
if (Et(g, t, r, v[0]))
|
|
1085
1085
|
u = !0;
|
|
1086
1086
|
else {
|
|
1087
|
-
const
|
|
1088
|
-
d.push({ error_message: `${
|
|
1087
|
+
const $ = p && p[r] ? p[r] : r;
|
|
1088
|
+
d.push({ error_message: `${$}: ${v}` });
|
|
1089
1089
|
}
|
|
1090
1090
|
}
|
|
1091
|
-
d.length > 0 && (d.length === 1 ?
|
|
1092
|
-
message:
|
|
1091
|
+
d.length > 0 && (d.length === 1 ? o(d[0]) : o({
|
|
1092
|
+
message: s("aff.Some errors occured:"),
|
|
1093
1093
|
details: "<ul><li>" + d.map((r) => r.error_message).join("</li><li>") + "</li></ul>"
|
|
1094
1094
|
})), u && (n != null && (n.value = { ...n.value, ...g }), Dt());
|
|
1095
1095
|
}, It = (e, t, n) => {
|
|
1096
|
-
let
|
|
1097
|
-
typeof e.response.data == "string" ?
|
|
1096
|
+
let o = [];
|
|
1097
|
+
typeof e.response.data == "string" ? o.push(e.response.data) : e.response.data.errors && (o = e.response.data.errors.map((s) => s.error_message)), t({
|
|
1098
1098
|
title: n("aff.Concurrency error"),
|
|
1099
|
-
details:
|
|
1099
|
+
details: o.length === 1 ? o[0] : "<ul><li>" + o.join("</li><li>") + "</li></ul>",
|
|
1100
1100
|
code: 409
|
|
1101
1101
|
});
|
|
1102
1102
|
}, Pt = (e, t) => {
|
|
@@ -1105,14 +1105,14 @@ const fo = /* @__PURE__ */ w(At, [["render", St]]), vo = (e) => {
|
|
|
1105
1105
|
details: t("aff.Please reload the page."),
|
|
1106
1106
|
code: 417
|
|
1107
1107
|
});
|
|
1108
|
-
}, Et = (e, t, n,
|
|
1109
|
-
const
|
|
1108
|
+
}, Et = (e, t, n, o) => {
|
|
1109
|
+
const s = n.split(".");
|
|
1110
1110
|
let p = t, d = e;
|
|
1111
|
-
for (;
|
|
1112
|
-
const u =
|
|
1111
|
+
for (; s.length > 0; ) {
|
|
1112
|
+
const u = s.shift();
|
|
1113
1113
|
if (u) {
|
|
1114
|
-
if (
|
|
1115
|
-
return /^\d+$/.test(u) ? !1 : Object.prototype.hasOwnProperty.call(p, u) ? (d[u] =
|
|
1114
|
+
if (s.length === 0)
|
|
1115
|
+
return /^\d+$/.test(u) ? !1 : Object.prototype.hasOwnProperty.call(p, u) ? (d[u] = o, !0) : !1;
|
|
1116
1116
|
if (/^\d+$/.test(u))
|
|
1117
1117
|
p = p[parseInt(u)], d[p.tmp_id] || (d[p.tmp_id] = {}), d = d[p.tmp_id];
|
|
1118
1118
|
else if (Object.prototype.hasOwnProperty.call(p, u))
|
|
@@ -1122,10 +1122,10 @@ const fo = /* @__PURE__ */ w(At, [["render", St]]), vo = (e) => {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
}
|
|
1124
1124
|
return !1;
|
|
1125
|
-
},
|
|
1125
|
+
}, bo = (e, t) => {
|
|
1126
1126
|
for (const n in t)
|
|
1127
1127
|
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
1128
|
-
}, Ft =
|
|
1128
|
+
}, Ft = w({
|
|
1129
1129
|
name: "FilesUploadControl",
|
|
1130
1130
|
methods: {
|
|
1131
1131
|
mdiEye() {
|
|
@@ -1186,10 +1186,10 @@ const fo = /* @__PURE__ */ w(At, [["render", St]]), vo = (e) => {
|
|
|
1186
1186
|
},
|
|
1187
1187
|
emits: ["update:modelValue", "slideshow"],
|
|
1188
1188
|
setup(e, t) {
|
|
1189
|
-
const { showError: n } = ne(),
|
|
1190
|
-
|
|
1189
|
+
const { showError: n } = ne(), o = M(!1), s = M(de()?.uid ?? 0), p = M([]), d = M(!1), u = M({ group: 0, file: 0 }), g = M(0), r = M(e.modelValue), v = H(() => e.workspaceIds?.[0] ?? 0), b = H(() => e.bucket === "avatar" ? r.value?.thumb?.startsWith("tmp/") ? `${e.baseUrl}/a/${v.value}/files/upload_temp/?p=${r.value?.thumb}` : `${e.mediaBaseUrl ?? e.baseUrl}/avatars/${r.value?.thumb}` : r.value?.id ? e.mediaBaseUrl ? `${e.mediaBaseUrl}/${r.value?.thumb}` : `${e.baseUrl}/a/${v.value}/files/${r.value.id}/?which=thumb` : `${e.baseUrl}/a/${v.value}/files/upload_temp/?p=${r.value?.thumb}`), $ = () => {
|
|
1190
|
+
o.value || (o.value = !0);
|
|
1191
1191
|
}, a = () => {
|
|
1192
|
-
|
|
1192
|
+
o.value && (o.value = !1);
|
|
1193
1193
|
}, k = () => {
|
|
1194
1194
|
p.value[u.value.group]?.splice(u.value.file).length, p.value.length - 1 > u.value.group && p.value.splice(u.value.group), u.value.group++, u.value.file = 0;
|
|
1195
1195
|
}, P = () => {
|
|
@@ -1214,7 +1214,7 @@ const fo = /* @__PURE__ */ w(At, [["render", St]]), vo = (e) => {
|
|
|
1214
1214
|
q.push(re);
|
|
1215
1215
|
p.value.push(q), d.value || P();
|
|
1216
1216
|
};
|
|
1217
|
-
return { dndOver:
|
|
1217
|
+
return { dndOver: o, controlId: s, uploadedFile: r, previewUrl: b, workspaceId: v, uploadRunning: d, uploadDragover: $, uploadDragleave: a, uploadDrop: (T) => {
|
|
1218
1218
|
a(), T.dataTransfer?.files.length && B(T.dataTransfer.files);
|
|
1219
1219
|
}, uploadChange: (T) => {
|
|
1220
1220
|
const q = T.target;
|
|
@@ -1234,14 +1234,14 @@ const fo = /* @__PURE__ */ w(At, [["render", St]]), vo = (e) => {
|
|
|
1234
1234
|
key: 1,
|
|
1235
1235
|
class: "file-del"
|
|
1236
1236
|
}, jt = ["for"];
|
|
1237
|
-
function Gt(e, t, n,
|
|
1237
|
+
function Gt(e, t, n, o, s, p) {
|
|
1238
1238
|
const d = m("v-icon"), u = m("v-progress-circular"), g = m("v-btn");
|
|
1239
|
-
return
|
|
1240
|
-
|
|
1239
|
+
return l(), f(D, null, [
|
|
1240
|
+
_("div", {
|
|
1241
1241
|
class: U(`img-upl-box ctrl-${e.controlType}`)
|
|
1242
1242
|
}, [
|
|
1243
|
-
|
|
1244
|
-
|
|
1243
|
+
_("div", qt, [
|
|
1244
|
+
_("input", {
|
|
1245
1245
|
id: `uf_${e.controlId}`,
|
|
1246
1246
|
type: "file",
|
|
1247
1247
|
multiple: "",
|
|
@@ -1250,25 +1250,25 @@ function Gt(e, t, n, l, i, p) {
|
|
|
1250
1250
|
onChange: t[0] || (t[0] = (...r) => e.uploadChange && e.uploadChange(...r))
|
|
1251
1251
|
}, null, 40, Bt)
|
|
1252
1252
|
]),
|
|
1253
|
-
(e.uploadedFile == null || e.controlType === "files") && !e.disabled && !e.uploadRunning ? (
|
|
1253
|
+
(e.uploadedFile == null || e.controlType === "files") && !e.disabled && !e.uploadRunning ? (l(), f("div", {
|
|
1254
1254
|
key: 0,
|
|
1255
1255
|
class: U(["dnd-area", `dnd-${e.shape}`, "text-xs-center", e.dndOver ? "dnd-over" : "dnd-out"]),
|
|
1256
1256
|
onDragover: t[1] || (t[1] = G((...r) => e.uploadDragover && e.uploadDragover(...r), ["stop", "prevent"])),
|
|
1257
1257
|
onDragleave: t[2] || (t[2] = G((...r) => e.uploadDragleave && e.uploadDragleave(...r), ["stop", "prevent"])),
|
|
1258
1258
|
onDrop: t[3] || (t[3] = G((...r) => e.uploadDrop && e.uploadDrop(...r), ["stop", "prevent"]))
|
|
1259
1259
|
}, [
|
|
1260
|
-
|
|
1260
|
+
_("label", {
|
|
1261
1261
|
for: `uf_${e.controlId}`
|
|
1262
1262
|
}, [
|
|
1263
|
-
|
|
1263
|
+
_("div", null, [
|
|
1264
1264
|
c(d, {
|
|
1265
1265
|
icon: e.mdiUpload(),
|
|
1266
1266
|
class: U(e.controlType === "files" ? "mr-1" : "")
|
|
1267
1267
|
}, null, 8, ["icon", "class"]),
|
|
1268
|
-
e.controlType === "files" ? (
|
|
1268
|
+
e.controlType === "files" ? (l(), f("span", Nt, y(e.$t("Drag files here or click to upload")), 1)) : A("", !0)
|
|
1269
1269
|
])
|
|
1270
1270
|
], 8, Ot)
|
|
1271
|
-
], 34)) : e.uploadRunning ? (
|
|
1271
|
+
], 34)) : e.uploadRunning ? (l(), f("div", {
|
|
1272
1272
|
key: 1,
|
|
1273
1273
|
class: U(["dnd-area-loading", `dnd-${e.shape}`])
|
|
1274
1274
|
}, [
|
|
@@ -1277,17 +1277,17 @@ function Gt(e, t, n, l, i, p) {
|
|
|
1277
1277
|
color: "secondary",
|
|
1278
1278
|
indeterminate: ""
|
|
1279
1279
|
})
|
|
1280
|
-
], 2)) : e.controlType === "image" ? (
|
|
1280
|
+
], 2)) : e.controlType === "image" ? (l(), f("div", {
|
|
1281
1281
|
key: 2,
|
|
1282
1282
|
class: U(["file-thumb", `dnd-${e.shape}`])
|
|
1283
1283
|
}, [
|
|
1284
|
-
e.uploadedFile !== null ? (
|
|
1285
|
-
|
|
1284
|
+
e.uploadedFile !== null ? (l(), f("a", zt, [
|
|
1285
|
+
_("div", {
|
|
1286
1286
|
style: x(`background-image: url('${e.previewUrl}');`)
|
|
1287
1287
|
}, null, 4)
|
|
1288
1288
|
])) : A("", !0),
|
|
1289
|
-
e.uploadedFile !== null ? (
|
|
1290
|
-
e.noSlideshow ? A("", !0) : (
|
|
1289
|
+
e.uploadedFile !== null ? (l(), f("div", Rt, [
|
|
1290
|
+
e.noSlideshow ? A("", !0) : (l(), h(g, {
|
|
1291
1291
|
key: 0,
|
|
1292
1292
|
variant: "flat",
|
|
1293
1293
|
size: "small",
|
|
@@ -1295,7 +1295,7 @@ function Gt(e, t, n, l, i, p) {
|
|
|
1295
1295
|
icon: e.mdiEye(),
|
|
1296
1296
|
onClick: e.openSlideshow
|
|
1297
1297
|
}, null, 8, ["icon", "onClick"])),
|
|
1298
|
-
e.disabled ? A("", !0) : (
|
|
1298
|
+
e.disabled ? A("", !0) : (l(), h(g, {
|
|
1299
1299
|
key: 1,
|
|
1300
1300
|
variant: "flat",
|
|
1301
1301
|
size: "small",
|
|
@@ -1306,51 +1306,51 @@ function Gt(e, t, n, l, i, p) {
|
|
|
1306
1306
|
])) : A("", !0)
|
|
1307
1307
|
], 2)) : A("", !0)
|
|
1308
1308
|
], 2),
|
|
1309
|
-
e.controlType === "image" ? (
|
|
1309
|
+
e.controlType === "image" ? (l(), f("div", {
|
|
1310
1310
|
key: 0,
|
|
1311
1311
|
class: U(`img-upl-btns ctrl-${e.controlType}`)
|
|
1312
1312
|
}, [
|
|
1313
|
-
|
|
1313
|
+
_("label", {
|
|
1314
1314
|
for: `uf_${e.controlId}`,
|
|
1315
1315
|
class: "v-btn v-theme--light v-btn--density-default v-btn--size-default v-btn--variant-flat"
|
|
1316
1316
|
}, [
|
|
1317
|
-
|
|
1317
|
+
_("div", null, [
|
|
1318
1318
|
c(d, {
|
|
1319
1319
|
icon: e.mdiUpload()
|
|
1320
1320
|
}, null, 8, ["icon"]),
|
|
1321
|
-
|
|
1321
|
+
V(" " + y(e.$t("aff.Btn__Upload")), 1)
|
|
1322
1322
|
])
|
|
1323
1323
|
], 8, jt),
|
|
1324
|
-
!e.noSlideshow && e.uploadedFile !== null && e.controlType === "image" ? (
|
|
1324
|
+
!e.noSlideshow && e.uploadedFile !== null && e.controlType === "image" ? (l(), h(g, {
|
|
1325
1325
|
key: 0,
|
|
1326
1326
|
variant: "flat",
|
|
1327
1327
|
onClick: e.openSlideshow
|
|
1328
1328
|
}, {
|
|
1329
|
-
default:
|
|
1329
|
+
default: i(() => [
|
|
1330
1330
|
c(d, {
|
|
1331
1331
|
icon: e.mdiEye()
|
|
1332
1332
|
}, null, 8, ["icon"]),
|
|
1333
|
-
|
|
1333
|
+
V(" " + y(e.$t("aff.Btn__View")), 1)
|
|
1334
1334
|
]),
|
|
1335
1335
|
_: 1
|
|
1336
1336
|
}, 8, ["onClick"])) : A("", !0),
|
|
1337
|
-
!e.disabled && e.uploadedFile !== null && e.controlType === "image" ? (
|
|
1337
|
+
!e.disabled && e.uploadedFile !== null && e.controlType === "image" ? (l(), h(g, {
|
|
1338
1338
|
key: 1,
|
|
1339
1339
|
variant: "flat",
|
|
1340
1340
|
onClick: e.removeImage
|
|
1341
1341
|
}, {
|
|
1342
|
-
default:
|
|
1342
|
+
default: i(() => [
|
|
1343
1343
|
c(d, {
|
|
1344
1344
|
icon: e.mdiDelete()
|
|
1345
1345
|
}, null, 8, ["icon"]),
|
|
1346
|
-
|
|
1346
|
+
V(" " + y(e.$t("aff.Btn__Delete")), 1)
|
|
1347
1347
|
]),
|
|
1348
1348
|
_: 1
|
|
1349
1349
|
}, 8, ["onClick"])) : A("", !0)
|
|
1350
1350
|
], 2)) : A("", !0)
|
|
1351
1351
|
], 64);
|
|
1352
1352
|
}
|
|
1353
|
-
const Zt = /* @__PURE__ */
|
|
1353
|
+
const Zt = /* @__PURE__ */ L(Ft, [["render", Gt]]), Yt = w({
|
|
1354
1354
|
name: "ProfileEditDialog",
|
|
1355
1355
|
methods: {
|
|
1356
1356
|
mdiPalette() {
|
|
@@ -1394,16 +1394,16 @@ const Zt = /* @__PURE__ */ w(Ft, [["render", Gt]]), Yt = V({
|
|
|
1394
1394
|
},
|
|
1395
1395
|
emits: ["close"],
|
|
1396
1396
|
setup(e, { emit: t }) {
|
|
1397
|
-
const { t: n } = O(), { showError:
|
|
1397
|
+
const { t: n } = O(), { showError: o } = ne(), s = M({ ...e.currentUser }), p = M({}), d = M(K.ToLongFormat(e.currentUser.locale ?? e.fallbackLocale)), u = M(e.currentUser?.avatar_thumb ? "photo" : "color"), g = M(!1), r = H(() => [
|
|
1398
1398
|
{ value: "photo", text: n("aff.Photo") },
|
|
1399
1399
|
{ value: "color", text: n("aff.Color") }
|
|
1400
|
-
]), v = H(() => le.filter((k) => e.systemLanguages.indexOf(k.value) >= 0).map((k) => ({ title: n(k.title), value: k.value }))), b = H(() =>
|
|
1401
|
-
return { formData:
|
|
1400
|
+
]), v = H(() => le.filter((k) => e.systemLanguages.indexOf(k.value) >= 0).map((k) => ({ title: n(k.title), value: k.value }))), b = H(() => s.value?.avatar_thumb ? { thumb: s.value.avatar_thumb, name: "avatar", file: null, file_id: null, thumb_id: null, content_type: "image", size: 0 } : void 0);
|
|
1401
|
+
return { formData: s, localErrors: p, languages: v, lang: d, identity: u, identities: r, loading: g, saveClick: () => {
|
|
1402
1402
|
g.value = !0;
|
|
1403
|
-
const k = { ...
|
|
1404
|
-
u.value == "color" && (k.avatar_thumb = null), k.locale = d.value, e.updateProfileFx(k).then(() => t("close")).catch((P) => Ut(P,
|
|
1403
|
+
const k = { ...s.value };
|
|
1404
|
+
u.value == "color" && (k.avatar_thumb = null), k.locale = d.value, e.updateProfileFx(k).then(() => t("close")).catch((P) => Ut(P, s.value, p, o, n)).finally(() => g.value = !1);
|
|
1405
1405
|
}, avatarValue: b, photoChanged: (k) => {
|
|
1406
|
-
|
|
1406
|
+
s.value && (s.value.avatar_thumb = k?.thumb ?? null);
|
|
1407
1407
|
} };
|
|
1408
1408
|
}
|
|
1409
1409
|
}), Kt = {
|
|
@@ -1413,23 +1413,23 @@ const Zt = /* @__PURE__ */ w(Ft, [["render", Gt]]), Yt = V({
|
|
|
1413
1413
|
key: 0,
|
|
1414
1414
|
class: "sel-ident"
|
|
1415
1415
|
};
|
|
1416
|
-
function xt(e, t, n,
|
|
1417
|
-
const d = m("FilesUploadControl"), u = m("v-avatar"), g = m("v-radio"), r = m("v-radio-group"), v = m("v-icon"), b = m("v-btn"),
|
|
1418
|
-
return
|
|
1416
|
+
function xt(e, t, n, o, s, p) {
|
|
1417
|
+
const d = m("FilesUploadControl"), u = m("v-avatar"), g = m("v-radio"), r = m("v-radio-group"), v = m("v-icon"), b = m("v-btn"), $ = m("ColorPicker"), a = m("v-menu"), k = m("v-col"), P = m("v-text-field"), B = m("FieldLabel"), C = m("v-select"), N = m("v-row"), Q = m("CustomDialog");
|
|
1418
|
+
return l(), h(Q, {
|
|
1419
1419
|
value: e.showDialog,
|
|
1420
1420
|
title: e.$t("aff.Your profile"),
|
|
1421
1421
|
persistent: "",
|
|
1422
1422
|
class: "prof-dlg",
|
|
1423
1423
|
onClose: t[7] || (t[7] = (S) => e.$emit("close", null))
|
|
1424
1424
|
}, {
|
|
1425
|
-
footer:
|
|
1425
|
+
footer: i(() => [
|
|
1426
1426
|
c(b, {
|
|
1427
1427
|
variant: "flat",
|
|
1428
1428
|
color: "secondary",
|
|
1429
1429
|
onClick: t[6] || (t[6] = (S) => e.$emit("close", null))
|
|
1430
1430
|
}, {
|
|
1431
|
-
default:
|
|
1432
|
-
|
|
1431
|
+
default: i(() => [
|
|
1432
|
+
V(y(e.$t("aff.Close")), 1)
|
|
1433
1433
|
]),
|
|
1434
1434
|
_: 1
|
|
1435
1435
|
}),
|
|
@@ -1439,21 +1439,21 @@ function xt(e, t, n, l, i, p) {
|
|
|
1439
1439
|
loading: e.loading,
|
|
1440
1440
|
onClick: e.saveClick
|
|
1441
1441
|
}, {
|
|
1442
|
-
default:
|
|
1443
|
-
|
|
1442
|
+
default: i(() => [
|
|
1443
|
+
V(y(e.$t("aff.Save")), 1)
|
|
1444
1444
|
]),
|
|
1445
1445
|
_: 1
|
|
1446
1446
|
}, 8, ["loading", "onClick"])
|
|
1447
1447
|
]),
|
|
1448
|
-
default:
|
|
1449
|
-
e.formData ? (
|
|
1448
|
+
default: i(() => [
|
|
1449
|
+
e.formData ? (l(), f("form", Kt, [
|
|
1450
1450
|
c(N, null, {
|
|
1451
|
-
default:
|
|
1451
|
+
default: i(() => [
|
|
1452
1452
|
c(k, { cols: "12" }, {
|
|
1453
|
-
default:
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
e.identity === "photo" ? (
|
|
1453
|
+
default: i(() => [
|
|
1454
|
+
_("div", Wt, [
|
|
1455
|
+
_("div", Jt, [
|
|
1456
|
+
e.identity === "photo" ? (l(), h(d, {
|
|
1457
1457
|
key: 0,
|
|
1458
1458
|
"model-value": e.avatarValue,
|
|
1459
1459
|
"upload-method": e.uploadMethod,
|
|
@@ -1466,20 +1466,20 @@ function xt(e, t, n, l, i, p) {
|
|
|
1466
1466
|
"base-url": e.baseUrl,
|
|
1467
1467
|
"media-base-url": e.mediaBaseUrl,
|
|
1468
1468
|
"onUpdate:modelValue": e.photoChanged
|
|
1469
|
-
}, null, 8, ["model-value", "upload-method", "base-url", "media-base-url", "onUpdate:modelValue"])) : (
|
|
1469
|
+
}, null, 8, ["model-value", "upload-method", "base-url", "media-base-url", "onUpdate:modelValue"])) : (l(), h(u, {
|
|
1470
1470
|
key: 1,
|
|
1471
1471
|
color: e.formData.color ?? "primary",
|
|
1472
1472
|
class: U(`avatar-96-${e.formData.initials.length >= 3 ? "l" : "s"}`),
|
|
1473
1473
|
size: 96
|
|
1474
1474
|
}, {
|
|
1475
|
-
default:
|
|
1476
|
-
|
|
1475
|
+
default: i(() => [
|
|
1476
|
+
_("span", null, y(e.formData.initials), 1)
|
|
1477
1477
|
]),
|
|
1478
1478
|
_: 1
|
|
1479
1479
|
}, 8, ["color", "class"]))
|
|
1480
1480
|
]),
|
|
1481
|
-
|
|
1482
|
-
|
|
1481
|
+
_("div", Xt, [
|
|
1482
|
+
_("div", null, [
|
|
1483
1483
|
c(r, {
|
|
1484
1484
|
modelValue: e.identity,
|
|
1485
1485
|
"onUpdate:modelValue": t[0] || (t[0] = (S) => e.identity = S),
|
|
@@ -1488,8 +1488,8 @@ function xt(e, t, n, l, i, p) {
|
|
|
1488
1488
|
"hide-details": "",
|
|
1489
1489
|
"error-messages": e.localErrors.other_vehicle_involved?.toString() ?? void 0
|
|
1490
1490
|
}, {
|
|
1491
|
-
default:
|
|
1492
|
-
(
|
|
1491
|
+
default: i(() => [
|
|
1492
|
+
(l(!0), f(D, null, I(e.identities, (S) => (l(), h(g, {
|
|
1493
1493
|
key: S.value.toString(),
|
|
1494
1494
|
label: S.text,
|
|
1495
1495
|
value: S.value,
|
|
@@ -1499,27 +1499,27 @@ function xt(e, t, n, l, i, p) {
|
|
|
1499
1499
|
_: 1
|
|
1500
1500
|
}, 8, ["modelValue", "true-icon", "error-messages"])
|
|
1501
1501
|
]),
|
|
1502
|
-
|
|
1503
|
-
e.identity === "color" ? (
|
|
1504
|
-
|
|
1502
|
+
_("div", null, [
|
|
1503
|
+
e.identity === "color" ? (l(), f("div", Qt, [
|
|
1504
|
+
_("div", null, [
|
|
1505
1505
|
c(a, null, {
|
|
1506
|
-
activator:
|
|
1506
|
+
activator: i(({ props: S }) => [
|
|
1507
1507
|
c(b, F({
|
|
1508
1508
|
variant: "text",
|
|
1509
1509
|
color: "primary",
|
|
1510
1510
|
class: "ff-btn"
|
|
1511
1511
|
}, S), {
|
|
1512
|
-
default:
|
|
1512
|
+
default: i(() => [
|
|
1513
1513
|
c(v, {
|
|
1514
1514
|
icon: e.mdiPalette()
|
|
1515
1515
|
}, null, 8, ["icon"]),
|
|
1516
|
-
|
|
1516
|
+
V(" " + y(e.$vuetify.display.smAndUp ? e.$t("aff.Choose color") : e.$t("aff.Color")), 1)
|
|
1517
1517
|
]),
|
|
1518
1518
|
_: 1
|
|
1519
1519
|
}, 16)
|
|
1520
1520
|
]),
|
|
1521
|
-
default:
|
|
1522
|
-
c(
|
|
1521
|
+
default: i(() => [
|
|
1522
|
+
c($, {
|
|
1523
1523
|
onChange: t[1] || (t[1] = (S) => e.formData.color = S)
|
|
1524
1524
|
})
|
|
1525
1525
|
]),
|
|
@@ -1539,7 +1539,7 @@ function xt(e, t, n, l, i, p) {
|
|
|
1539
1539
|
sm: 6,
|
|
1540
1540
|
"error-messages": e.localErrors.name?.toString() ?? void 0
|
|
1541
1541
|
}, {
|
|
1542
|
-
default:
|
|
1542
|
+
default: i((S) => [
|
|
1543
1543
|
c(P, F({
|
|
1544
1544
|
modelValue: e.formData.name,
|
|
1545
1545
|
"onUpdate:modelValue": t[2] || (t[2] = (T) => e.formData.name = T),
|
|
@@ -1554,7 +1554,7 @@ function xt(e, t, n, l, i, p) {
|
|
|
1554
1554
|
sm: 6,
|
|
1555
1555
|
"error-messages": e.localErrors.surname?.toString() ?? void 0
|
|
1556
1556
|
}, {
|
|
1557
|
-
default:
|
|
1557
|
+
default: i((S) => [
|
|
1558
1558
|
c(P, F({
|
|
1559
1559
|
modelValue: e.formData.surname,
|
|
1560
1560
|
"onUpdate:modelValue": t[3] || (t[3] = (T) => e.formData.surname = T),
|
|
@@ -1569,7 +1569,7 @@ function xt(e, t, n, l, i, p) {
|
|
|
1569
1569
|
sm: 6,
|
|
1570
1570
|
"error-messages": e.localErrors.email?.toString() ?? void 0
|
|
1571
1571
|
}, {
|
|
1572
|
-
default:
|
|
1572
|
+
default: i((S) => [
|
|
1573
1573
|
c(P, F({
|
|
1574
1574
|
modelValue: e.formData.email,
|
|
1575
1575
|
"onUpdate:modelValue": t[4] || (t[4] = (T) => e.formData.email = T),
|
|
@@ -1585,7 +1585,7 @@ function xt(e, t, n, l, i, p) {
|
|
|
1585
1585
|
sm: 6,
|
|
1586
1586
|
"error-messages": e.localErrors.locale?.toString() ?? void 0
|
|
1587
1587
|
}, {
|
|
1588
|
-
default:
|
|
1588
|
+
default: i((S) => [
|
|
1589
1589
|
c(C, F({
|
|
1590
1590
|
modelValue: e.lang,
|
|
1591
1591
|
"onUpdate:modelValue": t[5] || (t[5] = (T) => e.lang = T),
|
|
@@ -1605,7 +1605,7 @@ function xt(e, t, n, l, i, p) {
|
|
|
1605
1605
|
_: 1
|
|
1606
1606
|
}, 8, ["value", "title"]);
|
|
1607
1607
|
}
|
|
1608
|
-
const
|
|
1608
|
+
const ko = /* @__PURE__ */ L(Yt, [["render", xt]]), en = w({
|
|
1609
1609
|
name: "RowActionsButton",
|
|
1610
1610
|
props: {
|
|
1611
1611
|
rowActions: {
|
|
@@ -1618,42 +1618,42 @@ const yo = /* @__PURE__ */ w(Yt, [["render", xt]]), en = V({
|
|
|
1618
1618
|
}
|
|
1619
1619
|
},
|
|
1620
1620
|
setup(e) {
|
|
1621
|
-
const t = H(() => e.rowActions.actions?.filter((
|
|
1622
|
-
return { actions: t, icon: n, oneAction:
|
|
1621
|
+
const t = H(() => e.rowActions.actions?.filter((s) => s.visible === void 0 || s.visible(e.item)) ?? []), n = H(() => typeof e.rowActions.icon == "function" ? e.rowActions.icon(e.item) : e.rowActions.icon), o = H(() => !e.rowActions.actions && e.rowActions.action && (e.rowActions.visible === void 0 || e.rowActions.visible(e.item)) ? e.rowActions : null);
|
|
1622
|
+
return { actions: t, icon: n, oneAction: o };
|
|
1623
1623
|
}
|
|
1624
1624
|
});
|
|
1625
|
-
function tn(e, t, n,
|
|
1625
|
+
function tn(e, t, n, o, s, p) {
|
|
1626
1626
|
const d = m("v-btn"), u = m("v-icon"), g = m("v-list-item-title"), r = m("v-list-item"), v = m("v-list"), b = m("v-menu");
|
|
1627
|
-
return e.oneAction ? (
|
|
1627
|
+
return e.oneAction ? (l(), h(d, {
|
|
1628
1628
|
key: 0,
|
|
1629
1629
|
variant: "text",
|
|
1630
1630
|
size: "small",
|
|
1631
1631
|
icon: e.icon,
|
|
1632
|
-
onClick: t[0] || (t[0] = G((
|
|
1633
|
-
}, null, 8, ["icon"])) : e.actions.length > 0 ? (
|
|
1634
|
-
activator:
|
|
1632
|
+
onClick: t[0] || (t[0] = G(($) => e.$emit("row-action", { action: e.oneAction.action, item: e.item }), ["stop"]))
|
|
1633
|
+
}, null, 8, ["icon"])) : e.actions.length > 0 ? (l(), h(b, { key: 1 }, {
|
|
1634
|
+
activator: i(({ props: $ }) => [
|
|
1635
1635
|
c(d, F({
|
|
1636
1636
|
variant: "text",
|
|
1637
1637
|
size: "small",
|
|
1638
1638
|
icon: e.icon
|
|
1639
|
-
},
|
|
1639
|
+
}, $), null, 16, ["icon"])
|
|
1640
1640
|
]),
|
|
1641
|
-
default:
|
|
1641
|
+
default: i(() => [
|
|
1642
1642
|
c(v, { density: "compact" }, {
|
|
1643
|
-
default:
|
|
1644
|
-
(
|
|
1645
|
-
key:
|
|
1646
|
-
onClick: (a) => e.$emit("row-action", { action:
|
|
1643
|
+
default: i(() => [
|
|
1644
|
+
(l(!0), f(D, null, I(e.actions, ($) => (l(), h(r, {
|
|
1645
|
+
key: $.action,
|
|
1646
|
+
onClick: (a) => e.$emit("row-action", { action: $.action, item: e.item })
|
|
1647
1647
|
}, {
|
|
1648
|
-
prepend:
|
|
1648
|
+
prepend: i(() => [
|
|
1649
1649
|
c(u, {
|
|
1650
|
-
icon:
|
|
1650
|
+
icon: $.icon
|
|
1651
1651
|
}, null, 8, ["icon"])
|
|
1652
1652
|
]),
|
|
1653
|
-
default:
|
|
1653
|
+
default: i(() => [
|
|
1654
1654
|
c(g, null, {
|
|
1655
|
-
default:
|
|
1656
|
-
|
|
1655
|
+
default: i(() => [
|
|
1656
|
+
V(y($.title), 1)
|
|
1657
1657
|
]),
|
|
1658
1658
|
_: 2
|
|
1659
1659
|
}, 1024)
|
|
@@ -1667,7 +1667,7 @@ function tn(e, t, n, l, i, p) {
|
|
|
1667
1667
|
_: 1
|
|
1668
1668
|
})) : A("", !0);
|
|
1669
1669
|
}
|
|
1670
|
-
const X = /* @__PURE__ */
|
|
1670
|
+
const X = /* @__PURE__ */ L(en, [["render", tn]]), nn = w({
|
|
1671
1671
|
name: "MobileLayoutItem",
|
|
1672
1672
|
methods: {
|
|
1673
1673
|
mdiDragVertical() {
|
|
@@ -1715,8 +1715,8 @@ const X = /* @__PURE__ */ w(en, [["render", tn]]), nn = V({
|
|
|
1715
1715
|
},
|
|
1716
1716
|
emits: ["rowClick", "rowAction"],
|
|
1717
1717
|
setup() {
|
|
1718
|
-
const e = (n,
|
|
1719
|
-
return { formatValueList: (n,
|
|
1718
|
+
const e = (n, o) => o === null ? null : n.mobileLabel ? `${n.title}: ${o}` : o;
|
|
1719
|
+
return { formatValueList: (n, o, s) => n.map((p) => p.format ? e(p, p.format(p, o)) : e(p, o[p.value] ?? null)).filter((p) => p !== null).join(s) };
|
|
1720
1720
|
}
|
|
1721
1721
|
}), on = { style: { display: "flex", "align-items": "center", gap: "8px" } }, ln = { key: 1 }, rn = { key: 2 }, an = { key: 1 }, sn = { key: 2 }, un = {
|
|
1722
1722
|
key: 0,
|
|
@@ -1725,42 +1725,42 @@ const X = /* @__PURE__ */ w(en, [["render", tn]]), nn = V({
|
|
|
1725
1725
|
key: 0,
|
|
1726
1726
|
class: "item-drag-handle"
|
|
1727
1727
|
};
|
|
1728
|
-
function fn(e, t, n,
|
|
1729
|
-
const d = m("v-col"), u = m("v-row"), g = m("v-icon"), r = m("v-chip"), v = m("RowActionsButton"), b = m("v-card-text"),
|
|
1730
|
-
return
|
|
1728
|
+
function fn(e, t, n, o, s, p) {
|
|
1729
|
+
const d = m("v-col"), u = m("v-row"), g = m("v-icon"), r = m("v-chip"), v = m("RowActionsButton"), b = m("v-card-text"), $ = m("v-card");
|
|
1730
|
+
return l(), h($, {
|
|
1731
1731
|
variant: "outlined",
|
|
1732
1732
|
ripple: e.ripple,
|
|
1733
1733
|
title: e.formatValueList(e.titleHeaders, e.item, " - "),
|
|
1734
1734
|
subtitle: e.formatValueList(e.subTitleHeaders, e.item, "; "),
|
|
1735
1735
|
onClick: t[1] || (t[1] = (a) => e.$emit("rowClick", e.item))
|
|
1736
1736
|
}, {
|
|
1737
|
-
title:
|
|
1738
|
-
|
|
1739
|
-
(
|
|
1740
|
-
a.component ? (
|
|
1737
|
+
title: i(() => [
|
|
1738
|
+
_("div", on, [
|
|
1739
|
+
(l(!0), f(D, null, I(e.titleHeaders, (a, k) => (l(), f("span", { key: k }, [
|
|
1740
|
+
a.component ? (l(), h(R(a.component), F({
|
|
1741
1741
|
key: 0,
|
|
1742
1742
|
class: "mr-1"
|
|
1743
|
-
}, { ref_for: !0 }, a.getProps ? a.getProps(a, e.item) : {}), null, 16)) : a.format ? (
|
|
1743
|
+
}, { ref_for: !0 }, a.getProps ? a.getProps(a, e.item) : {}), null, 16)) : a.format ? (l(), f("span", ln, y(a.format(a, e.item)), 1)) : (l(), f("span", rn, y(e.item[a.value]), 1))
|
|
1744
1744
|
]))), 128))
|
|
1745
1745
|
])
|
|
1746
1746
|
]),
|
|
1747
|
-
default:
|
|
1747
|
+
default: i(() => [
|
|
1748
1748
|
c(b, {
|
|
1749
1749
|
class: U(e.otherHeaders.length === 0 && e.miniTblHeaders.length === 0 && !e.rowActions && e.tagHeaders.length === 0 ? "pb-0" : "")
|
|
1750
1750
|
}, {
|
|
1751
|
-
default:
|
|
1752
|
-
(
|
|
1751
|
+
default: i(() => [
|
|
1752
|
+
(l(!0), f(D, null, I(e.otherHeaders, (a, k) => (l(), h(u, {
|
|
1753
1753
|
key: a.value,
|
|
1754
1754
|
"no-gutters": "",
|
|
1755
1755
|
class: U(`mt-${k === 0 ? 0 : 3}`)
|
|
1756
1756
|
}, {
|
|
1757
|
-
default:
|
|
1757
|
+
default: i(() => [
|
|
1758
1758
|
c(d, {
|
|
1759
1759
|
cols: "4",
|
|
1760
1760
|
sm: "2"
|
|
1761
1761
|
}, {
|
|
1762
|
-
default:
|
|
1763
|
-
|
|
1762
|
+
default: i(() => [
|
|
1763
|
+
V(y(a.title) + ":", 1)
|
|
1764
1764
|
]),
|
|
1765
1765
|
_: 2
|
|
1766
1766
|
}, 1024),
|
|
@@ -1768,49 +1768,49 @@ function fn(e, t, n, l, i, p) {
|
|
|
1768
1768
|
cols: "8",
|
|
1769
1769
|
sm: "10"
|
|
1770
1770
|
}, {
|
|
1771
|
-
default:
|
|
1772
|
-
a.component ? (
|
|
1771
|
+
default: i(() => [
|
|
1772
|
+
a.component ? (l(), h(R(a.component), F({
|
|
1773
1773
|
key: 0,
|
|
1774
1774
|
ref_for: !0
|
|
1775
|
-
}, a.getProps ? a.getProps(a, e.item) : {}, Y(a.getEvents ? a.getEvents(a, e.item) : {})), null, 16)) : a.format ? (
|
|
1775
|
+
}, a.getProps ? a.getProps(a, e.item) : {}, Y(a.getEvents ? a.getEvents(a, e.item) : {})), null, 16)) : a.format ? (l(), f("span", an, y(a.format(a, e.item)), 1)) : (l(), f("span", sn, y(e.item[a.value]), 1))
|
|
1776
1776
|
]),
|
|
1777
1777
|
_: 2
|
|
1778
1778
|
}, 1024)
|
|
1779
1779
|
]),
|
|
1780
1780
|
_: 2
|
|
1781
1781
|
}, 1032, ["class"]))), 128)),
|
|
1782
|
-
e.miniTblHeaders.length > 0 ? (
|
|
1783
|
-
|
|
1784
|
-
(
|
|
1782
|
+
e.miniTblHeaders.length > 0 ? (l(), f("table", un, [
|
|
1783
|
+
_("tr", null, [
|
|
1784
|
+
(l(!0), f(D, null, I(e.miniTblHeaders, (a) => (l(), f("th", {
|
|
1785
1785
|
key: `h${a.value}`,
|
|
1786
1786
|
style: x({ width: `${100 / e.miniTblHeaders.length}%` })
|
|
1787
1787
|
}, y(a.title), 5))), 128))
|
|
1788
1788
|
]),
|
|
1789
|
-
|
|
1790
|
-
(
|
|
1789
|
+
_("tr", null, [
|
|
1790
|
+
(l(!0), f(D, null, I(e.miniTblHeaders, (a) => (l(), f("td", {
|
|
1791
1791
|
key: `h${a.value}`
|
|
1792
1792
|
}, [
|
|
1793
|
-
a.format ? (
|
|
1793
|
+
a.format ? (l(), f("span", dn, y(a.format(a, e.item)), 1)) : (l(), f("span", cn, y(e.item[a.value]), 1))
|
|
1794
1794
|
]))), 128))
|
|
1795
1795
|
])
|
|
1796
1796
|
])) : A("", !0),
|
|
1797
|
-
e.rowActions || e.tagHeaders.length > 0 ? (
|
|
1797
|
+
e.rowActions || e.tagHeaders.length > 0 ? (l(), h(u, {
|
|
1798
1798
|
key: 1,
|
|
1799
1799
|
"no-gutters": "",
|
|
1800
1800
|
class: U(e.otherHeaders.length === 0 ? "mt-0" : "mt-3")
|
|
1801
1801
|
}, {
|
|
1802
|
-
default:
|
|
1802
|
+
default: i(() => [
|
|
1803
1803
|
c(d, {
|
|
1804
1804
|
cols: e.rowActions ? 10 : 12
|
|
1805
1805
|
}, {
|
|
1806
|
-
default:
|
|
1807
|
-
(
|
|
1806
|
+
default: i(() => [
|
|
1807
|
+
(l(!0), f(D, null, I(e.tagHeaders, (a) => (l(), f("span", {
|
|
1808
1808
|
key: a.value
|
|
1809
1809
|
}, [
|
|
1810
|
-
a.component ? (
|
|
1810
|
+
a.component ? (l(), h(R(a.component), F({
|
|
1811
1811
|
key: 0,
|
|
1812
1812
|
class: "mr-1"
|
|
1813
|
-
}, { ref_for: !0 }, a.getProps ? a.getProps(a, e.item) : {}, Y(a.getEvents ? a.getEvents(a, e.item) : {})), null, 16)) : a.format ? (
|
|
1813
|
+
}, { ref_for: !0 }, a.getProps ? a.getProps(a, e.item) : {}, Y(a.getEvents ? a.getEvents(a, e.item) : {})), null, 16)) : a.format ? (l(), h(r, {
|
|
1814
1814
|
key: 1,
|
|
1815
1815
|
label: "",
|
|
1816
1816
|
size: "small",
|
|
@@ -1818,16 +1818,16 @@ function fn(e, t, n, l, i, p) {
|
|
|
1818
1818
|
color: "grey",
|
|
1819
1819
|
class: "mr-1"
|
|
1820
1820
|
}, {
|
|
1821
|
-
default:
|
|
1822
|
-
a.mobileIcon ? (
|
|
1821
|
+
default: i(() => [
|
|
1822
|
+
a.mobileIcon ? (l(), h(g, {
|
|
1823
1823
|
key: 0,
|
|
1824
1824
|
icon: a.mobileIcon,
|
|
1825
1825
|
class: "mr-1"
|
|
1826
1826
|
}, null, 8, ["icon"])) : A("", !0),
|
|
1827
|
-
|
|
1827
|
+
V(y(a.format(a, e.item)), 1)
|
|
1828
1828
|
]),
|
|
1829
1829
|
_: 2
|
|
1830
|
-
}, 1024)) : (
|
|
1830
|
+
}, 1024)) : (l(), h(r, {
|
|
1831
1831
|
key: 2,
|
|
1832
1832
|
label: "",
|
|
1833
1833
|
size: "small",
|
|
@@ -1835,12 +1835,12 @@ function fn(e, t, n, l, i, p) {
|
|
|
1835
1835
|
color: "grey",
|
|
1836
1836
|
class: "mr-1"
|
|
1837
1837
|
}, {
|
|
1838
|
-
default:
|
|
1839
|
-
a.mobileIcon ? (
|
|
1838
|
+
default: i(() => [
|
|
1839
|
+
a.mobileIcon ? (l(), h(g, {
|
|
1840
1840
|
key: 0,
|
|
1841
1841
|
icon: a.mobileIcon
|
|
1842
1842
|
}, null, 8, ["icon"])) : A("", !0),
|
|
1843
|
-
|
|
1843
|
+
V(y(e.item[a.value]), 1)
|
|
1844
1844
|
]),
|
|
1845
1845
|
_: 2
|
|
1846
1846
|
}, 1024))
|
|
@@ -1848,13 +1848,13 @@ function fn(e, t, n, l, i, p) {
|
|
|
1848
1848
|
]),
|
|
1849
1849
|
_: 1
|
|
1850
1850
|
}, 8, ["cols"]),
|
|
1851
|
-
e.rowActions ? (
|
|
1851
|
+
e.rowActions ? (l(), h(d, {
|
|
1852
1852
|
key: 0,
|
|
1853
1853
|
cols: "2",
|
|
1854
1854
|
class: "text-right"
|
|
1855
1855
|
}, {
|
|
1856
|
-
default:
|
|
1857
|
-
|
|
1856
|
+
default: i(() => [
|
|
1857
|
+
_("div", mn, [
|
|
1858
1858
|
c(v, {
|
|
1859
1859
|
item: e.item,
|
|
1860
1860
|
"row-actions": e.rowActions,
|
|
@@ -1870,7 +1870,7 @@ function fn(e, t, n, l, i, p) {
|
|
|
1870
1870
|
]),
|
|
1871
1871
|
_: 1
|
|
1872
1872
|
}, 8, ["class"]),
|
|
1873
|
-
e.draggable ? (
|
|
1873
|
+
e.draggable ? (l(), f("div", pn, [
|
|
1874
1874
|
c(g, {
|
|
1875
1875
|
icon: e.mdiDragVertical()
|
|
1876
1876
|
}, null, 8, ["icon"])
|
|
@@ -1879,7 +1879,7 @@ function fn(e, t, n, l, i, p) {
|
|
|
1879
1879
|
_: 1
|
|
1880
1880
|
}, 8, ["ripple", "title", "subtitle"]);
|
|
1881
1881
|
}
|
|
1882
|
-
const vn = /* @__PURE__ */
|
|
1882
|
+
const vn = /* @__PURE__ */ L(nn, [["render", fn]]), gn = w({
|
|
1883
1883
|
name: "MobileLayout",
|
|
1884
1884
|
components: { MobileLayoutItem: vn, RowActionsButton: X },
|
|
1885
1885
|
props: {
|
|
@@ -1909,8 +1909,8 @@ const vn = /* @__PURE__ */ w(nn, [["render", fn]]), gn = V({
|
|
|
1909
1909
|
}
|
|
1910
1910
|
},
|
|
1911
1911
|
setup(e, t) {
|
|
1912
|
-
const n =
|
|
1913
|
-
return { titleHeaders:
|
|
1912
|
+
const n = M(e.options.page), o = e.options.pageSize, s = H(() => e.headers.filter((v) => v.mobilePlacement === "title")), p = H(() => e.headers.filter((v) => v.mobilePlacement === "subtitle")), d = H(() => e.headers.filter((v) => v.mobilePlacement === "tag")), u = H(() => e.headers.filter((v) => v.mobilePlacement === "mini_table")), g = H(() => e.headers.filter((v) => v.mobilePlacement !== "title" && v.mobilePlacement !== "subtitle" && v.mobilePlacement !== "tag" && v.mobilePlacement !== "mini_table"));
|
|
1913
|
+
return { titleHeaders: s, subTitleHeaders: p, tagHeaders: d, miniTblHeaders: u, otherHeaders: g, pageVal: n, pageSize: o, changePage: (v) => {
|
|
1914
1914
|
t.emit("options-update", { ...e.options, page: v });
|
|
1915
1915
|
} };
|
|
1916
1916
|
}
|
|
@@ -1918,14 +1918,14 @@ const vn = /* @__PURE__ */ w(nn, [["render", fn]]), gn = V({
|
|
|
1918
1918
|
key: 1,
|
|
1919
1919
|
class: "mt-3"
|
|
1920
1920
|
};
|
|
1921
|
-
function $n(e, t, n,
|
|
1921
|
+
function $n(e, t, n, o, s, p) {
|
|
1922
1922
|
const d = m("v-progress-linear"), u = m("MobileLayoutItem"), g = m("v-pagination");
|
|
1923
|
-
return
|
|
1924
|
-
e.loading ? (
|
|
1923
|
+
return l(), f("div", yn, [
|
|
1924
|
+
e.loading ? (l(), h(d, {
|
|
1925
1925
|
key: 0,
|
|
1926
1926
|
indeterminate: ""
|
|
1927
1927
|
})) : A("", !0),
|
|
1928
|
-
(
|
|
1928
|
+
(l(!0), f(D, null, I(e.items, (r) => (l(), h(u, {
|
|
1929
1929
|
key: r.id,
|
|
1930
1930
|
item: r,
|
|
1931
1931
|
"title-headers": e.titleHeaders,
|
|
@@ -1937,7 +1937,7 @@ function $n(e, t, n, l, i, p) {
|
|
|
1937
1937
|
onRowClick: t[0] || (t[0] = (v) => e.$emit("row-click", v)),
|
|
1938
1938
|
onRowAction: t[1] || (t[1] = (v) => e.$emit("row-action", v))
|
|
1939
1939
|
}, null, 8, ["item", "title-headers", "mini-tbl-headers", "sub-title-headers", "tag-headers", "other-headers", "row-actions"]))), 128)),
|
|
1940
|
-
e.totalItems > e.pageSize ? (
|
|
1940
|
+
e.totalItems > e.pageSize ? (l(), f("div", _n, [
|
|
1941
1941
|
c(g, {
|
|
1942
1942
|
modelValue: e.pageVal,
|
|
1943
1943
|
"onUpdate:modelValue": [
|
|
@@ -1951,7 +1951,7 @@ function $n(e, t, n, l, i, p) {
|
|
|
1951
1951
|
])) : A("", !0)
|
|
1952
1952
|
]);
|
|
1953
1953
|
}
|
|
1954
|
-
const
|
|
1954
|
+
const Co = /* @__PURE__ */ L(gn, [["render", $n]]), hn = w({
|
|
1955
1955
|
name: "DesktopLayout",
|
|
1956
1956
|
components: { RowActionsButton: X },
|
|
1957
1957
|
props: {
|
|
@@ -1981,7 +1981,7 @@ const _o = /* @__PURE__ */ w(gn, [["render", $n]]), hn = V({
|
|
|
1981
1981
|
}
|
|
1982
1982
|
},
|
|
1983
1983
|
setup(e, t) {
|
|
1984
|
-
const { t: n } = O(),
|
|
1984
|
+
const { t: n } = O(), o = e.options.page, s = e.options.pageSize, p = e.options.sortField ? [{ key: e.options.sortField, order: e.options.sortDir }] : [], d = (r) => {
|
|
1985
1985
|
const v = r.sortBy && r.sortBy.length > 0 ? r.sortBy[0] : null;
|
|
1986
1986
|
t.emit("options-update", {
|
|
1987
1987
|
page: r.page,
|
|
@@ -1999,15 +1999,15 @@ const _o = /* @__PURE__ */ w(gn, [["render", $n]]), hn = V({
|
|
|
1999
1999
|
const r = n("aff.{0}-{1} of {2}", ["{0}", "{1}", "{2}"]), v = (e.options.page - 1) * e.options.pageSize + 1, b = Math.min(e.options.page * e.options.pageSize, e.totalItems);
|
|
2000
2000
|
return r.replace("{0}", v.toString()).replace("{1}", b.toString()).replace("{2}", e.totalItems.toString());
|
|
2001
2001
|
});
|
|
2002
|
-
return { page:
|
|
2002
|
+
return { page: o, pageSize: s, sortBy: p, pageOptions: u, optionsUpdate: d, getPageText: g };
|
|
2003
2003
|
}
|
|
2004
|
-
}), bn = { class: "data-table-layout" }, kn = ["onClick"], Cn = { key: 1 }, An = { key: 2 },
|
|
2004
|
+
}), bn = { class: "data-table-layout" }, kn = ["onClick"], Cn = { key: 1 }, An = { key: 2 }, Vn = {
|
|
2005
2005
|
key: 0,
|
|
2006
2006
|
class: "text-right"
|
|
2007
2007
|
};
|
|
2008
|
-
function
|
|
2008
|
+
function Mn(e, t, n, o, s, p) {
|
|
2009
2009
|
const d = m("RowActionsButton"), u = m("v-data-table-server");
|
|
2010
|
-
return
|
|
2010
|
+
return l(), f("div", bn, [
|
|
2011
2011
|
c(u, {
|
|
2012
2012
|
items: e.items,
|
|
2013
2013
|
"items-length": e.totalItems,
|
|
@@ -2023,21 +2023,21 @@ function Vn(e, t, n, l, i, p) {
|
|
|
2023
2023
|
"items-per-page-options": e.pageOptions,
|
|
2024
2024
|
"onUpdate:options": e.optionsUpdate
|
|
2025
2025
|
}, {
|
|
2026
|
-
item:
|
|
2027
|
-
|
|
2026
|
+
item: i(({ item: g }) => [
|
|
2027
|
+
_("tr", {
|
|
2028
2028
|
onClick: (r) => e.$emit("row-click", g),
|
|
2029
2029
|
style: { cursor: "pointer" }
|
|
2030
2030
|
}, [
|
|
2031
|
-
(
|
|
2031
|
+
(l(!0), f(D, null, I(e.headers, (r) => (l(), f("td", {
|
|
2032
2032
|
key: r.value,
|
|
2033
2033
|
class: U(["v-data-table__td", `v-data-table-column--align-${r.align ?? "start"}`, r.mainField ? "ff-col-main" : ""])
|
|
2034
2034
|
}, [
|
|
2035
|
-
r.component ? (
|
|
2035
|
+
r.component ? (l(), h(R(r.component), F({
|
|
2036
2036
|
key: 0,
|
|
2037
2037
|
ref_for: !0
|
|
2038
|
-
}, r.getProps ? r.getProps(r, g) : {}, Y(r.getEvents ? r.getEvents(r, g) : {})), null, 16)) : r.format ? (
|
|
2038
|
+
}, r.getProps ? r.getProps(r, g) : {}, Y(r.getEvents ? r.getEvents(r, g) : {})), null, 16)) : r.format ? (l(), f("span", Cn, y(r.format(r, g)), 1)) : (l(), f("span", An, y(g[r.value]), 1))
|
|
2039
2039
|
], 2))), 128)),
|
|
2040
|
-
e.rowActions ? (
|
|
2040
|
+
e.rowActions ? (l(), f("td", Vn, [
|
|
2041
2041
|
c(d, {
|
|
2042
2042
|
item: g,
|
|
2043
2043
|
"row-actions": e.rowActions,
|
|
@@ -2050,7 +2050,7 @@ function Vn(e, t, n, l, i, p) {
|
|
|
2050
2050
|
}, 8, ["items", "items-length", "headers", "loading", "page", "items-per-page", "sort-by", "hide-default-footer", "items-per-page-options", "onUpdate:options"])
|
|
2051
2051
|
]);
|
|
2052
2052
|
}
|
|
2053
|
-
const
|
|
2053
|
+
const Ao = /* @__PURE__ */ L(hn, [["render", Mn]]), wn = w({
|
|
2054
2054
|
name: "ColumnSelector",
|
|
2055
2055
|
props: {
|
|
2056
2056
|
columns: {
|
|
@@ -2072,38 +2072,38 @@ const $o = /* @__PURE__ */ w(hn, [["render", Vn]]), wn = V({
|
|
|
2072
2072
|
}
|
|
2073
2073
|
},
|
|
2074
2074
|
setup(e, { emit: t }) {
|
|
2075
|
-
return { toggleColumn: (
|
|
2076
|
-
const
|
|
2077
|
-
|
|
2075
|
+
return { toggleColumn: (o) => {
|
|
2076
|
+
const s = [...e.currentColumns];
|
|
2077
|
+
s.indexOf(o) >= 0 ? s.splice(s.indexOf(o), 1) : s.push(o), t("changeCurrentColumns", s);
|
|
2078
2078
|
} };
|
|
2079
2079
|
}
|
|
2080
2080
|
});
|
|
2081
|
-
function Ln(e, t, n,
|
|
2081
|
+
function Ln(e, t, n, o, s, p) {
|
|
2082
2082
|
const d = m("v-btn"), u = m("v-list-item-title"), g = m("v-icon"), r = m("v-list-item"), v = m("v-list"), b = m("v-menu");
|
|
2083
|
-
return
|
|
2084
|
-
activator:
|
|
2083
|
+
return l(), h(b, null, {
|
|
2084
|
+
activator: i(({ props: $ }) => [
|
|
2085
2085
|
c(d, F({
|
|
2086
2086
|
variant: "text",
|
|
2087
2087
|
icon: e.mdiViewColumn()
|
|
2088
|
-
},
|
|
2088
|
+
}, $), null, 16, ["icon"])
|
|
2089
2089
|
]),
|
|
2090
|
-
default:
|
|
2090
|
+
default: i(() => [
|
|
2091
2091
|
c(v, { density: "compact" }, {
|
|
2092
|
-
default:
|
|
2093
|
-
(
|
|
2092
|
+
default: i(() => [
|
|
2093
|
+
(l(!0), f(D, null, I(e.columns, ($, a) => (l(), h(r, {
|
|
2094
2094
|
key: a,
|
|
2095
|
-
onClick: (k) => e.toggleColumn(
|
|
2095
|
+
onClick: (k) => e.toggleColumn($.value)
|
|
2096
2096
|
}, {
|
|
2097
|
-
append:
|
|
2097
|
+
append: i(() => [
|
|
2098
2098
|
c(g, {
|
|
2099
2099
|
icon: e.mdiCheck(),
|
|
2100
|
-
color: e.currentColumns.indexOf(
|
|
2100
|
+
color: e.currentColumns.indexOf($.value) >= 0 ? "primary" : "white"
|
|
2101
2101
|
}, null, 8, ["icon", "color"])
|
|
2102
2102
|
]),
|
|
2103
|
-
default:
|
|
2103
|
+
default: i(() => [
|
|
2104
2104
|
c(u, null, {
|
|
2105
|
-
default:
|
|
2106
|
-
|
|
2105
|
+
default: i(() => [
|
|
2106
|
+
V(y($.title), 1)
|
|
2107
2107
|
]),
|
|
2108
2108
|
_: 2
|
|
2109
2109
|
}, 1024)
|
|
@@ -2117,7 +2117,7 @@ function Ln(e, t, n, l, i, p) {
|
|
|
2117
2117
|
_: 1
|
|
2118
2118
|
});
|
|
2119
2119
|
}
|
|
2120
|
-
const
|
|
2120
|
+
const Vo = /* @__PURE__ */ L(wn, [["render", Ln]]), Hn = w({
|
|
2121
2121
|
name: "EmptyFilter",
|
|
2122
2122
|
props: {
|
|
2123
2123
|
modelValue: {
|
|
@@ -2134,22 +2134,22 @@ const ho = /* @__PURE__ */ w(wn, [["render", Ln]]), Hn = V({
|
|
|
2134
2134
|
}
|
|
2135
2135
|
}
|
|
2136
2136
|
}), Sn = { class: "f-lbl" };
|
|
2137
|
-
function Un(e, t, n,
|
|
2137
|
+
function Un(e, t, n, o, s, p) {
|
|
2138
2138
|
const d = m("v-btn");
|
|
2139
|
-
return
|
|
2140
|
-
|
|
2139
|
+
return l(), f("div", null, [
|
|
2140
|
+
_("div", Sn, y(e.$t(e.filter.title)), 1),
|
|
2141
2141
|
c(d, {
|
|
2142
2142
|
variant: "flat",
|
|
2143
2143
|
color: "grey-lighten-2"
|
|
2144
2144
|
}, {
|
|
2145
|
-
default:
|
|
2146
|
-
|
|
2145
|
+
default: i(() => [...t[0] || (t[0] = [
|
|
2146
|
+
_("span", null, null, -1)
|
|
2147
2147
|
])]),
|
|
2148
2148
|
_: 1
|
|
2149
2149
|
})
|
|
2150
2150
|
]);
|
|
2151
2151
|
}
|
|
2152
|
-
const
|
|
2152
|
+
const Mo = /* @__PURE__ */ L(Hn, [["render", Un]]), Dn = w({
|
|
2153
2153
|
name: "SelectFilter",
|
|
2154
2154
|
props: {
|
|
2155
2155
|
modelValue: {
|
|
@@ -2175,22 +2175,22 @@ const bo = /* @__PURE__ */ w(Hn, [["render", Un]]), Dn = V({
|
|
|
2175
2175
|
}
|
|
2176
2176
|
},
|
|
2177
2177
|
setup(e, { emit: t }) {
|
|
2178
|
-
const { t: n } = O(),
|
|
2178
|
+
const { t: n } = O(), o = Math.ceil(Math.random() * 1e5), s = M(!1), p = M(e.modelValue === null ? [] : (Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue]).map((r) => typeof r == "string" ? parseInt(r) : r)), d = H(() => {
|
|
2179
2179
|
if (!e.modelValue)
|
|
2180
2180
|
return n("aff.All");
|
|
2181
2181
|
const r = (Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue]).map((v) => typeof v == "string" ? parseInt(v) : v);
|
|
2182
2182
|
return r.length >= 3 ? `${r.length} ${n("aff.items")}` : r.map((v) => e.items.find((b) => b.id === v)?.name).join(", ");
|
|
2183
2183
|
});
|
|
2184
|
-
return { ctrlId:
|
|
2184
|
+
return { ctrlId: o, open: s, selected: p, openMenu: () => {
|
|
2185
2185
|
}, selVal: (r) => {
|
|
2186
2186
|
e.filter.multiple ? p.value.indexOf(r) >= 0 ? p.value.splice(p.value.indexOf(r), 1) : p.value.push(r) : p.value.length === 1 && p.value[0] === r ? p.value = [] : p.value = [r], t("change", p);
|
|
2187
2187
|
}, disp: d };
|
|
2188
2188
|
}
|
|
2189
2189
|
}), Tn = { class: "f-lbl" };
|
|
2190
|
-
function In(e, t, n,
|
|
2191
|
-
const d = m("v-icon"), u = m("v-btn"), g = m("v-list-item-title"), r = m("v-list-item"), v = m("v-list"), b = m("v-card-text"),
|
|
2192
|
-
return
|
|
2193
|
-
|
|
2190
|
+
function In(e, t, n, o, s, p) {
|
|
2191
|
+
const d = m("v-icon"), u = m("v-btn"), g = m("v-list-item-title"), r = m("v-list-item"), v = m("v-list"), b = m("v-card-text"), $ = m("v-card"), a = m("v-menu");
|
|
2192
|
+
return l(), f("div", null, [
|
|
2193
|
+
_("div", Tn, y(e.$t(e.filter.title)), 1),
|
|
2194
2194
|
c(u, {
|
|
2195
2195
|
id: `menu-activator${e.ctrlId}`,
|
|
2196
2196
|
variant: "flat",
|
|
@@ -2198,14 +2198,14 @@ function In(e, t, n, l, i, p) {
|
|
|
2198
2198
|
color: "grey-lighten-2",
|
|
2199
2199
|
onClick: e.openMenu
|
|
2200
2200
|
}, {
|
|
2201
|
-
append:
|
|
2201
|
+
append: i(() => [
|
|
2202
2202
|
c(d, {
|
|
2203
2203
|
size: 24,
|
|
2204
2204
|
icon: e.mdiMenuDown()
|
|
2205
2205
|
}, null, 8, ["icon"])
|
|
2206
2206
|
]),
|
|
2207
|
-
default:
|
|
2208
|
-
|
|
2207
|
+
default: i(() => [
|
|
2208
|
+
_("span", null, y(e.disp), 1)
|
|
2209
2209
|
]),
|
|
2210
2210
|
_: 1
|
|
2211
2211
|
}, 8, ["id", "class", "onClick"]),
|
|
@@ -2215,27 +2215,27 @@ function In(e, t, n, l, i, p) {
|
|
|
2215
2215
|
activator: `#menu-activator${e.ctrlId}`,
|
|
2216
2216
|
"close-on-content-click": !0
|
|
2217
2217
|
}, {
|
|
2218
|
-
default:
|
|
2219
|
-
c(
|
|
2220
|
-
default:
|
|
2218
|
+
default: i(() => [
|
|
2219
|
+
c($, null, {
|
|
2220
|
+
default: i(() => [
|
|
2221
2221
|
c(b, { class: "pa-0" }, {
|
|
2222
|
-
default:
|
|
2222
|
+
default: i(() => [
|
|
2223
2223
|
c(v, { density: "compact" }, {
|
|
2224
|
-
default:
|
|
2225
|
-
(
|
|
2224
|
+
default: i(() => [
|
|
2225
|
+
(l(!0), f(D, null, I(e.items, (k) => (l(), h(r, {
|
|
2226
2226
|
key: k.id,
|
|
2227
2227
|
onClick: (P) => e.selVal(k.id)
|
|
2228
2228
|
}, {
|
|
2229
|
-
append:
|
|
2229
|
+
append: i(() => [
|
|
2230
2230
|
c(d, {
|
|
2231
2231
|
color: e.selected.indexOf(k.id) >= 0 ? "primary" : "white",
|
|
2232
2232
|
icon: e.mdiCheck()
|
|
2233
2233
|
}, null, 8, ["color", "icon"])
|
|
2234
2234
|
]),
|
|
2235
|
-
default:
|
|
2235
|
+
default: i(() => [
|
|
2236
2236
|
c(g, null, {
|
|
2237
|
-
default:
|
|
2238
|
-
|
|
2237
|
+
default: i(() => [
|
|
2238
|
+
V(y(k.name), 1)
|
|
2239
2239
|
]),
|
|
2240
2240
|
_: 2
|
|
2241
2241
|
}, 1024)
|
|
@@ -2256,7 +2256,7 @@ function In(e, t, n, l, i, p) {
|
|
|
2256
2256
|
}, 8, ["modelValue", "activator"])
|
|
2257
2257
|
]);
|
|
2258
2258
|
}
|
|
2259
|
-
const
|
|
2259
|
+
const wo = /* @__PURE__ */ L(Dn, [["render", In]]), Pn = w({
|
|
2260
2260
|
name: "DataTableFilters",
|
|
2261
2261
|
props: {
|
|
2262
2262
|
filters: {
|
|
@@ -2273,15 +2273,15 @@ const ko = /* @__PURE__ */ w(Dn, [["render", In]]), Pn = V({
|
|
|
2273
2273
|
}
|
|
2274
2274
|
},
|
|
2275
2275
|
setup(e) {
|
|
2276
|
-
return {
|
|
2276
|
+
return { filterCtrls: H(() => e.filters.map((n) => ({ ...n, component: e.getFilterComponent(n), value: n.default }))) };
|
|
2277
2277
|
}
|
|
2278
2278
|
}), En = { class: "dt-filters" };
|
|
2279
|
-
function Fn(e, t, n,
|
|
2280
|
-
return
|
|
2281
|
-
(
|
|
2279
|
+
function Fn(e, t, n, o, s, p) {
|
|
2280
|
+
return l(), f("div", En, [
|
|
2281
|
+
(l(!0), f(D, null, I(e.filterCtrls, (d) => (l(), f("div", {
|
|
2282
2282
|
key: d.name
|
|
2283
2283
|
}, [
|
|
2284
|
-
(
|
|
2284
|
+
(l(), h(R(d.component), {
|
|
2285
2285
|
modelValue: e.filterValues[d.name],
|
|
2286
2286
|
"onUpdate:modelValue": (u) => e.filterValues[d.name] = u,
|
|
2287
2287
|
filter: d,
|
|
@@ -2291,7 +2291,7 @@ function Fn(e, t, n, l, i, p) {
|
|
|
2291
2291
|
]))), 128))
|
|
2292
2292
|
]);
|
|
2293
2293
|
}
|
|
2294
|
-
const
|
|
2294
|
+
const Lo = /* @__PURE__ */ L(Pn, [["render", Fn]]), z = {
|
|
2295
2295
|
PENDING: "pending",
|
|
2296
2296
|
ACTIVE: "active",
|
|
2297
2297
|
INACTIVE: "inactive",
|
|
@@ -2309,7 +2309,7 @@ const Co = /* @__PURE__ */ w(Pn, [["render", Fn]]), z = {
|
|
|
2309
2309
|
return e;
|
|
2310
2310
|
}
|
|
2311
2311
|
}
|
|
2312
|
-
}, qn =
|
|
2312
|
+
}, qn = w({
|
|
2313
2313
|
name: "UserStatusChip",
|
|
2314
2314
|
props: {
|
|
2315
2315
|
item: {
|
|
@@ -2324,36 +2324,36 @@ const Co = /* @__PURE__ */ w(Pn, [["render", Fn]]), z = {
|
|
|
2324
2324
|
setup(e) {
|
|
2325
2325
|
const { t } = O();
|
|
2326
2326
|
return { chipProps: H(() => {
|
|
2327
|
-
const
|
|
2327
|
+
const o = z.format(e.item.status, t);
|
|
2328
2328
|
switch (e.item.status) {
|
|
2329
2329
|
case z.ACTIVE:
|
|
2330
|
-
return { text:
|
|
2330
|
+
return { text: o, color: "primary" };
|
|
2331
2331
|
case z.PENDING:
|
|
2332
|
-
return { text:
|
|
2332
|
+
return { text: o, color: "deep-orange" };
|
|
2333
2333
|
case z.INACTIVE:
|
|
2334
|
-
return { text:
|
|
2334
|
+
return { text: o, color: "grey-darken-1" };
|
|
2335
2335
|
case z.PENDING_INACTIVE:
|
|
2336
|
-
return { text:
|
|
2336
|
+
return { text: o, color: "grey-darken-1" };
|
|
2337
2337
|
default:
|
|
2338
|
-
return { text:
|
|
2338
|
+
return { text: o, color: "grey-darken-1" };
|
|
2339
2339
|
}
|
|
2340
2340
|
}) };
|
|
2341
2341
|
}
|
|
2342
2342
|
});
|
|
2343
|
-
function Bn(e, t, n,
|
|
2343
|
+
function Bn(e, t, n, o, s, p) {
|
|
2344
2344
|
const d = m("v-chip");
|
|
2345
|
-
return
|
|
2345
|
+
return l(), h(d, {
|
|
2346
2346
|
label: "",
|
|
2347
2347
|
color: e.chipProps.color,
|
|
2348
2348
|
size: e.size
|
|
2349
2349
|
}, {
|
|
2350
|
-
default:
|
|
2351
|
-
|
|
2350
|
+
default: i(() => [
|
|
2351
|
+
V(y(e.chipProps.text), 1)
|
|
2352
2352
|
]),
|
|
2353
2353
|
_: 1
|
|
2354
2354
|
}, 8, ["color", "size"]);
|
|
2355
2355
|
}
|
|
2356
|
-
const
|
|
2356
|
+
const Ho = /* @__PURE__ */ L(qn, [["render", Bn]]), On = w({
|
|
2357
2357
|
name: "ConfirmPopup",
|
|
2358
2358
|
props: {
|
|
2359
2359
|
show: {
|
|
@@ -2375,47 +2375,47 @@ const Ao = /* @__PURE__ */ w(qn, [["render", Bn]]), On = V({
|
|
|
2375
2375
|
},
|
|
2376
2376
|
emits: ["close", "ok"]
|
|
2377
2377
|
});
|
|
2378
|
-
function Nn(e, t, n,
|
|
2378
|
+
function Nn(e, t, n, o, s, p) {
|
|
2379
2379
|
const d = m("v-card-text"), u = m("v-spacer"), g = m("v-btn"), r = m("v-card-actions"), v = m("v-card"), b = m("v-dialog");
|
|
2380
|
-
return
|
|
2380
|
+
return l(), h(b, {
|
|
2381
2381
|
"model-value": e.show,
|
|
2382
2382
|
width: "608px",
|
|
2383
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
2383
|
+
"onUpdate:modelValue": t[2] || (t[2] = ($) => e.$emit("close"))
|
|
2384
2384
|
}, {
|
|
2385
|
-
default:
|
|
2385
|
+
default: i(() => [
|
|
2386
2386
|
c(v, {
|
|
2387
2387
|
dark: "",
|
|
2388
2388
|
class: "confirm-dialog",
|
|
2389
2389
|
theme: "dark"
|
|
2390
2390
|
}, {
|
|
2391
|
-
default:
|
|
2391
|
+
default: i(() => [
|
|
2392
2392
|
c(d, { class: "text-subtitle-1" }, {
|
|
2393
|
-
default:
|
|
2394
|
-
|
|
2393
|
+
default: i(() => [
|
|
2394
|
+
V(y(e.message), 1)
|
|
2395
2395
|
]),
|
|
2396
2396
|
_: 1
|
|
2397
2397
|
}),
|
|
2398
2398
|
c(r, { class: "dialog-actions-bar" }, {
|
|
2399
|
-
default:
|
|
2399
|
+
default: i(() => [
|
|
2400
2400
|
E(e.$slots, "buttons", {}, () => [
|
|
2401
2401
|
c(u),
|
|
2402
2402
|
c(g, {
|
|
2403
|
-
onClick: t[0] || (t[0] = (
|
|
2403
|
+
onClick: t[0] || (t[0] = ($) => e.$emit("close")),
|
|
2404
2404
|
flat: ""
|
|
2405
2405
|
}, {
|
|
2406
|
-
default:
|
|
2407
|
-
|
|
2406
|
+
default: i(() => [
|
|
2407
|
+
V(y(e.$t("aff.Cancel")), 1)
|
|
2408
2408
|
]),
|
|
2409
2409
|
_: 1
|
|
2410
2410
|
}),
|
|
2411
2411
|
c(g, {
|
|
2412
2412
|
variant: "flat",
|
|
2413
2413
|
loading: e.okLoading,
|
|
2414
|
-
onClick: t[1] || (t[1] = (
|
|
2414
|
+
onClick: t[1] || (t[1] = ($) => e.$emit("ok")),
|
|
2415
2415
|
color: "primary"
|
|
2416
2416
|
}, {
|
|
2417
|
-
default:
|
|
2418
|
-
|
|
2417
|
+
default: i(() => [
|
|
2418
|
+
V(y(e.okText ?? e.$t("aff.OK")), 1)
|
|
2419
2419
|
]),
|
|
2420
2420
|
_: 1
|
|
2421
2421
|
}, 8, ["loading"])
|
|
@@ -2430,7 +2430,7 @@ function Nn(e, t, n, l, i, p) {
|
|
|
2430
2430
|
_: 3
|
|
2431
2431
|
}, 8, ["model-value"]);
|
|
2432
2432
|
}
|
|
2433
|
-
const
|
|
2433
|
+
const So = /* @__PURE__ */ L(On, [["render", Nn]]), zn = w({
|
|
2434
2434
|
name: "SearchFilter",
|
|
2435
2435
|
props: {
|
|
2436
2436
|
modelValue: {
|
|
@@ -2444,21 +2444,21 @@ const Mo = /* @__PURE__ */ w(On, [["render", Nn]]), zn = V({
|
|
|
2444
2444
|
},
|
|
2445
2445
|
emits: ["change"],
|
|
2446
2446
|
setup(e) {
|
|
2447
|
-
const t =
|
|
2448
|
-
let
|
|
2449
|
-
return (
|
|
2450
|
-
clearTimeout(
|
|
2447
|
+
const t = M(e.modelValue), n = () => {
|
|
2448
|
+
let o;
|
|
2449
|
+
return (s, p, d = 500) => {
|
|
2450
|
+
clearTimeout(o), o = window.setTimeout(() => p(s), d);
|
|
2451
2451
|
};
|
|
2452
2452
|
};
|
|
2453
|
-
return ce(() => e.modelValue, (
|
|
2454
|
-
|
|
2453
|
+
return ce(() => e.modelValue, (o) => {
|
|
2454
|
+
o !== t.value && (t.value = o);
|
|
2455
2455
|
}), { val: t, debounce: n() };
|
|
2456
2456
|
}
|
|
2457
2457
|
}), Rn = { class: "f-lbl" };
|
|
2458
|
-
function jn(e, t, n,
|
|
2458
|
+
function jn(e, t, n, o, s, p) {
|
|
2459
2459
|
const d = m("v-text-field");
|
|
2460
|
-
return
|
|
2461
|
-
|
|
2460
|
+
return l(), f("div", null, [
|
|
2461
|
+
_("div", Rn, y(e.$t(e.filter.title)), 1),
|
|
2462
2462
|
c(d, {
|
|
2463
2463
|
modelValue: e.val,
|
|
2464
2464
|
"onUpdate:modelValue": [
|
|
@@ -2471,31 +2471,31 @@ function jn(e, t, n, l, i, p) {
|
|
|
2471
2471
|
}, null, 8, ["modelValue"])
|
|
2472
2472
|
]);
|
|
2473
2473
|
}
|
|
2474
|
-
const
|
|
2474
|
+
const Uo = /* @__PURE__ */ L(zn, [["render", jn]]), Gn = {
|
|
2475
2475
|
et_EE: { culture: "et-EE", datetime_format: "d.MM.yyyy H:mm", date_format_no_year: "d.MM", month_format: "MM.yyyy", decimal_symbol: ",", list_separator: ";", time_format: "H:mm", date_format_friendly_no_year: "d. MMM", date_format: "d.MM.yyyy", thousands_symbol: " ", datetime_pos_format: "{1} {0}", money_format: "{1} {0}" },
|
|
2476
2476
|
et: { culture: "et", datetime_format: "d.MM.yyyy H:mm", date_format_no_year: "d.MM", month_format: "MM.yyyy", decimal_symbol: ",", list_separator: ";", time_format: "H:mm", date_format_friendly_no_year: "d. MMM", date_format: "d.MM.yyyy", thousands_symbol: " ", datetime_pos_format: "{1} {0}", money_format: "{1} {0}" },
|
|
2477
2477
|
en_GB: { culture: "en-GB", datetime_format: "dd/MM/yyyy, HH:mm", date_format_no_year: "dd/MM", month_format: "MM/yyyy", decimal_symbol: ".", list_separator: ",", time_format: "HH:mm", date_format_friendly_no_year: "D MMM", date_format: "dd/MM/yyyy", thousands_symbol: ",", datetime_pos_format: "{1}, {0}", money_format: "{1} {0}" },
|
|
2478
2478
|
en: { culture: "en", datetime_format: "dd/MM/yyyy, HH:mm", date_format_no_year: "dd/MM", month_format: "MM/yyyy", decimal_symbol: ".", list_separator: ",", time_format: "HH:mm", date_format_friendly_no_year: "D MMM", date_format: "dd/MM/yyyy", thousands_symbol: ",", datetime_pos_format: "{1}, {0}", money_format: "{1} {0}" }
|
|
2479
|
-
},
|
|
2479
|
+
}, Do = {
|
|
2480
2480
|
EUR: "€",
|
|
2481
2481
|
USD: "$"
|
|
2482
|
-
}, Zn = ve(), Yn = (e, t, n,
|
|
2482
|
+
}, Zn = ve(), Yn = (e, t, n, o, s) => (typeof e == "string" && (e = parseFloat(e)), e.toLocaleString("en-GB", { minimumFractionDigits: t, maximumFractionDigits: n }).replace(/\.|,/gi, (p) => p === "." ? o : s)), To = (e, t) => e == null ? "" : e.replace(new RegExp(t, "g"), "").replace(new RegExp(" ", "g"), "").replace(",", "."), Kn = /(dddd|dd|d|hh|h|HH|H|mm|m|MMMM|MMM|MM|M|ss|s|tt|yyyy|yy|zzz)/g, Io = (e, t) => {
|
|
2483
2483
|
if (!e) return "";
|
|
2484
2484
|
const n = typeof e == "string" ? new Date(e) : e;
|
|
2485
|
-
return t.replace(Kn, (
|
|
2486
|
-
switch (
|
|
2485
|
+
return t.replace(Kn, (o) => {
|
|
2486
|
+
switch (o) {
|
|
2487
2487
|
case "d":
|
|
2488
2488
|
return n.getDate().toString();
|
|
2489
2489
|
case "dd":
|
|
2490
2490
|
case "DD":
|
|
2491
2491
|
return ("0" + n.getDate()).slice(-2);
|
|
2492
2492
|
case "h": {
|
|
2493
|
-
const
|
|
2494
|
-
return (
|
|
2493
|
+
const s = n.getHours();
|
|
2494
|
+
return (s === 0 ? 12 : s > 12 ? s - 12 : s).toString();
|
|
2495
2495
|
}
|
|
2496
2496
|
case "hh": {
|
|
2497
|
-
const
|
|
2498
|
-
return ("0" + (
|
|
2497
|
+
const s = n.getHours();
|
|
2498
|
+
return ("0" + (s === 0 ? 12 : s > 12 ? s - 12 : s)).slice(-2);
|
|
2499
2499
|
}
|
|
2500
2500
|
case "H":
|
|
2501
2501
|
return n.getHours().toString();
|
|
@@ -2527,19 +2527,19 @@ const Vo = /* @__PURE__ */ w(zn, [["render", jn]]), Gn = {
|
|
|
2527
2527
|
case "YYYY":
|
|
2528
2528
|
return n.getFullYear().toString();
|
|
2529
2529
|
case "zzz": {
|
|
2530
|
-
const
|
|
2531
|
-
return `${
|
|
2530
|
+
const s = n.getTimezoneOffset(), p = Math.abs(s) % 60;
|
|
2531
|
+
return `${s <= 0 ? "+" : "-"}${("0" + (Math.abs(s) - p) / 60).slice(-2)}:${("0" + p).slice(-2)}`;
|
|
2532
2532
|
}
|
|
2533
2533
|
default:
|
|
2534
|
-
return
|
|
2534
|
+
return o;
|
|
2535
2535
|
}
|
|
2536
2536
|
});
|
|
2537
2537
|
}, Wn = (e, t = void 0, n = void 0) => {
|
|
2538
2538
|
if (t === void 0 && (t = 0), n === void 0 && (n = 4), e == null) return "";
|
|
2539
2539
|
typeof e == "string" && (e = parseFloat(e));
|
|
2540
|
-
const { decimal_symbol:
|
|
2541
|
-
return Yn(e, t, n,
|
|
2542
|
-
},
|
|
2540
|
+
const { decimal_symbol: o, thousands_symbol: s } = Gn[Zn.value] ?? { decimal_symbol: ".", thousands_symbol: "," };
|
|
2541
|
+
return Yn(e, t, n, o, s);
|
|
2542
|
+
}, Po = (e) => e.getFullYear() + "-" + ("0" + (e.getMonth() + 1)).slice(-2) + "-" + ("0" + e.getDate()).slice(-2), Jn = w({
|
|
2543
2543
|
name: "DataTableTotals",
|
|
2544
2544
|
methods: { frmNum: Wn },
|
|
2545
2545
|
props: {
|
|
@@ -2549,19 +2549,73 @@ const Vo = /* @__PURE__ */ w(zn, [["render", jn]]), Gn = {
|
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
2551
|
}), Xn = { key: 0 }, Qn = { key: 1 };
|
|
2552
|
-
function xn(e, t, n,
|
|
2553
|
-
return
|
|
2554
|
-
|
|
2555
|
-
e.totalItems === 1 ? (
|
|
2552
|
+
function xn(e, t, n, o, s, p) {
|
|
2553
|
+
return l(), f("span", null, [
|
|
2554
|
+
V(y(e.frmNum(e.totalItems)) + " ", 1),
|
|
2555
|
+
e.totalItems === 1 ? (l(), f("span", Xn, y(e.$t("aff.row")), 1)) : (l(), f("span", Qn, y(e.$t("aff.rows")), 1))
|
|
2556
2556
|
]);
|
|
2557
2557
|
}
|
|
2558
|
-
const
|
|
2558
|
+
const Eo = /* @__PURE__ */ L(Jn, [["render", xn]]), eo = w({
|
|
2559
|
+
name: "Checkbox",
|
|
2560
|
+
props: {
|
|
2561
|
+
modelValue: {
|
|
2562
|
+
type: [Boolean, null],
|
|
2563
|
+
default: null
|
|
2564
|
+
},
|
|
2565
|
+
label: {
|
|
2566
|
+
type: String,
|
|
2567
|
+
default: null
|
|
2568
|
+
},
|
|
2569
|
+
disabled: {
|
|
2570
|
+
type: Boolean,
|
|
2571
|
+
default: !1
|
|
2572
|
+
},
|
|
2573
|
+
errorMessages: {
|
|
2574
|
+
type: String,
|
|
2575
|
+
default: null
|
|
2576
|
+
}
|
|
2577
|
+
},
|
|
2578
|
+
emits: ["update:modelValue"],
|
|
2579
|
+
setup(e) {
|
|
2580
|
+
const t = M(e.modelValue ?? !1), n = M("checkbox-filled-1"), o = H(() => ["c-inp", e.errorMessages ? "fld-err" : ""]);
|
|
2581
|
+
return {
|
|
2582
|
+
curVal: t,
|
|
2583
|
+
cls: o,
|
|
2584
|
+
ctrlId: n
|
|
2585
|
+
};
|
|
2586
|
+
}
|
|
2587
|
+
}), to = { class: "ff-inp-cb" }, no = ["disabled", "checked"], oo = { key: 0 };
|
|
2588
|
+
function lo(e, t, n, o, s, p) {
|
|
2589
|
+
return l(), f("label", to, [
|
|
2590
|
+
_("input", {
|
|
2591
|
+
type: "checkbox",
|
|
2592
|
+
value: "1",
|
|
2593
|
+
disabled: e.disabled,
|
|
2594
|
+
checked: e.modelValue ?? !1,
|
|
2595
|
+
onChange: t[0] || (t[0] = (d) => e.$emit("update:modelValue", !(e.modelValue ?? !1)))
|
|
2596
|
+
}, null, 40, no),
|
|
2597
|
+
t[1] || (t[1] = _("svg", {
|
|
2598
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2599
|
+
viewBox: "0 0 24 24"
|
|
2600
|
+
}, [
|
|
2601
|
+
_("path", { d: "M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z" })
|
|
2602
|
+
], -1)),
|
|
2603
|
+
t[2] || (t[2] = _("svg", {
|
|
2604
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2605
|
+
viewBox: "0 0 24 24"
|
|
2606
|
+
}, [
|
|
2607
|
+
_("path", { d: "M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" })
|
|
2608
|
+
], -1)),
|
|
2609
|
+
e.label ? (l(), f("span", oo, y(e.label), 1)) : A("", !0)
|
|
2610
|
+
]);
|
|
2611
|
+
}
|
|
2612
|
+
const Fo = /* @__PURE__ */ L(eo, [["render", lo]]), qo = (e) => e ? e.replace(/(?:\r\n|\r|\n)/g, "<br>") : "", Bo = (e) => JSON.parse(JSON.stringify(e)), Oo = (e) => {
|
|
2559
2613
|
let t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
|
2560
2614
|
return t ? decodeURIComponent(t[3]) : null;
|
|
2561
|
-
},
|
|
2562
|
-
let
|
|
2563
|
-
return
|
|
2564
|
-
},
|
|
2615
|
+
}, No = (e, t, n, o = null) => {
|
|
2616
|
+
let s, p;
|
|
2617
|
+
return o == null && (o = "/"), p = "", n && (s = /* @__PURE__ */ new Date(), s.setTime(s.getTime() + n * 24 * 60 * 60 * 1e3), p = "; expires=" + s.toUTCString()), document.cookie = encodeURIComponent(e) + "=" + encodeURIComponent(t) + p + "; path=" + o, !0;
|
|
2618
|
+
}, zo = (e, t) => {
|
|
2565
2619
|
for (const n of t) {
|
|
2566
2620
|
if (n === "/")
|
|
2567
2621
|
return e === "/";
|
|
@@ -2569,72 +2623,73 @@ const Uo = /* @__PURE__ */ w(Jn, [["render", xn]]), Do = (e) => e ? e.replace(/(
|
|
|
2569
2623
|
return !0;
|
|
2570
2624
|
}
|
|
2571
2625
|
return !1;
|
|
2572
|
-
},
|
|
2626
|
+
}, Ro = (e) => {
|
|
2573
2627
|
const t = {};
|
|
2574
2628
|
for (const n of ["p", "l", "s", "d"])
|
|
2575
2629
|
e[n] !== void 0 && (t[n] = e[n]);
|
|
2576
2630
|
return t;
|
|
2577
|
-
},
|
|
2631
|
+
}, jo = (e, t) => {
|
|
2578
2632
|
const n = t.params.view ?? t.meta.view ?? null;
|
|
2579
2633
|
if (n) {
|
|
2580
|
-
const
|
|
2581
|
-
if (
|
|
2582
|
-
return
|
|
2634
|
+
const o = e.find((s) => s.name === n);
|
|
2635
|
+
if (o)
|
|
2636
|
+
return o;
|
|
2583
2637
|
}
|
|
2584
2638
|
return e[0];
|
|
2585
2639
|
};
|
|
2586
2640
|
export {
|
|
2587
2641
|
J as AccountAvatar,
|
|
2642
|
+
Fo as Checkbox,
|
|
2588
2643
|
_t as ColorPicker,
|
|
2589
|
-
|
|
2590
|
-
|
|
2644
|
+
Vo as ColumnSelector,
|
|
2645
|
+
So as ConfirmPopup,
|
|
2591
2646
|
Gn as CultureInfos,
|
|
2592
|
-
|
|
2647
|
+
Do as CurrencySymbols,
|
|
2593
2648
|
Oe as CustomDialog,
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2649
|
+
Lo as DataTableFilters,
|
|
2650
|
+
Eo as DataTableTotals,
|
|
2651
|
+
Ao as DesktopLayout,
|
|
2652
|
+
Mo as EmptyFilter,
|
|
2653
|
+
go as ErrorDialog,
|
|
2599
2654
|
bt as FieldLabel,
|
|
2600
|
-
|
|
2655
|
+
yo as FieldRow,
|
|
2601
2656
|
Zt as FilesUploadControl,
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2657
|
+
jo as GetView,
|
|
2658
|
+
_o as InLanguages,
|
|
2659
|
+
po as InnerLeftMenu,
|
|
2605
2660
|
K as LangUtil,
|
|
2606
2661
|
le as Languages,
|
|
2607
2662
|
kt as LazyLoadingProp,
|
|
2608
|
-
|
|
2663
|
+
Co as MobileLayout,
|
|
2609
2664
|
vn as MobileLayoutItem,
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2665
|
+
mo as PageSubtitle,
|
|
2666
|
+
co as PageTitle,
|
|
2667
|
+
ko as ProfileEditDialog,
|
|
2668
|
+
$o as ProfileInfo,
|
|
2614
2669
|
X as RowActionsButton,
|
|
2615
|
-
|
|
2616
|
-
|
|
2670
|
+
Uo as SearchFilter,
|
|
2671
|
+
wo as SelectFilter,
|
|
2617
2672
|
Z as UserAvatar,
|
|
2618
|
-
|
|
2673
|
+
vo as UserMenu,
|
|
2619
2674
|
z as UserStatus,
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2675
|
+
Ho as UserStatusChip,
|
|
2676
|
+
ho as clearLocalErrors,
|
|
2677
|
+
To as clnNumbCust,
|
|
2678
|
+
Ro as clonePagingAndSort,
|
|
2679
|
+
Bo as deepClone,
|
|
2625
2680
|
j as formatFullName,
|
|
2626
|
-
|
|
2627
|
-
|
|
2681
|
+
fo as formatInitials,
|
|
2682
|
+
Io as frmDateCust,
|
|
2628
2683
|
Wn as frmNum,
|
|
2629
2684
|
Yn as frmNumCust,
|
|
2630
|
-
|
|
2631
|
-
|
|
2685
|
+
Po as frmSysDate,
|
|
2686
|
+
Oo as getCookie,
|
|
2632
2687
|
Ut as handleErrorResponse,
|
|
2633
|
-
|
|
2688
|
+
zo as isActive,
|
|
2634
2689
|
Ct as mapArrayToEnum,
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2690
|
+
qo as nl2br,
|
|
2691
|
+
No as setCookie,
|
|
2692
|
+
uo as setI18n,
|
|
2693
|
+
bo as syncItemChanges,
|
|
2639
2694
|
ne as usePageStore
|
|
2640
2695
|
};
|