@anzusystems/common-admin 1.47.0-beta.359 → 1.47.0-beta.360
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/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BNyX-8Ah.mjs} +1030 -1037
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BNyX-8Ah.mjs.map +1 -0
- package/dist/common-admin.css +1 -1
- package/dist/common-admin.d.ts +1326 -1114
- package/dist/common-admin.js +3980 -3896
- package/dist/common-admin.js.map +1 -1
- package/dist/{index-so4LUFja.mjs → index-CGpu1VTe.mjs} +6213 -5942
- package/dist/index-CGpu1VTe.mjs.map +1 -0
- package/dist/labs.d.ts +928 -0
- package/dist/labs.js +4911 -450
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-CtCXi-3v.mjs → webfontloader-CHE2rJZS.mjs} +2 -2
- package/dist/{webfontloader-CtCXi-3v.mjs.map → webfontloader-CHE2rJZS.mjs.map} +1 -1
- package/package.json +24 -24
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs.map +0 -1
- package/dist/index-so4LUFja.mjs.map +0 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineComponent as Se, openBlock as P, createBlock as X, withCtx as B, createVNode as O, createElementBlock as de, normalizeClass as Ze, toDisplayString as fe, createCommentVNode as ce, renderSlot as we, createElementVNode as Ee, isProxy as
|
|
2
|
-
import { useEventBus as Qe, tryOnBeforeUnmount as
|
|
3
|
-
import { useI18n as Re, createI18n as
|
|
1
|
+
import { defineComponent as Se, openBlock as P, createBlock as X, withCtx as B, createVNode as O, createElementBlock as de, normalizeClass as Ze, toDisplayString as fe, createCommentVNode as ce, renderSlot as we, createElementVNode as Ee, isProxy as Br, toRaw as aa, isRef as Va, unref as H, computed as U, Fragment as qe, normalizeStyle as Rr, createTextVNode as De, shallowRef as co, watch as Ae, ref as L, reactive as Zt, inject as J, createSlots as Pt, withDirectives as Sn, onMounted as Ha, withModifiers as ye, onUnmounted as Pr, TransitionGroup as Lr, mergeProps as it, isVNode as Nr, useModel as Tt, useTemplateRef as Ot, nextTick as Ye, withKeys as $a, vModelText as fo, mergeModels as mt, getCurrentInstance as oa, resolveComponent as Wt, resolveDynamicComponent as Ho, renderList as Bt, toValue as mo, toRef as Yr, onBeforeUnmount as Ur, provide as Kn, vShow as Vr } from "vue";
|
|
2
|
+
import { useEventBus as Qe, tryOnBeforeUnmount as Hr, watchDebounced as ja, useResizeObserver as jr, watchThrottled as qr, defaultDocument as zr, unrefElement as Wr, tryOnMounted as Kr, tryOnScopeDispose as Gr } from "@vueuse/core";
|
|
3
|
+
import { useI18n as Re, createI18n as Xr } from "vue-i18n";
|
|
4
4
|
import { VAutocomplete as ra } from "vuetify/components/VAutocomplete";
|
|
5
5
|
import { VChip as Kt } from "vuetify/components/VChip";
|
|
6
|
-
import { VListItem as Rt, VList as
|
|
7
|
-
import { VCard as la, VCardText as
|
|
8
|
-
import { VDialog as
|
|
6
|
+
import { VListItem as Rt, VList as jo, VListItemTitle as Zr } from "vuetify/components/VList";
|
|
7
|
+
import { VCard as la, VCardText as qo, VCardActions as qa } from "vuetify/components/VCard";
|
|
8
|
+
import { VDialog as za } from "vuetify/components/VDialog";
|
|
9
9
|
import { VRow as $t, VCol as gt, VSpacer as sa } from "vuetify/components/VGrid";
|
|
10
|
-
import { VSelect as
|
|
11
|
-
import { VTextarea as
|
|
12
|
-
import { VForm as
|
|
10
|
+
import { VSelect as zo } from "vuetify/components/VSelect";
|
|
11
|
+
import { VTextarea as Jr } from "vuetify/components/VTextarea";
|
|
12
|
+
import { VForm as Wo } from "vuetify/components/VForm";
|
|
13
13
|
import { VBtn as Ne } from "vuetify/components/VBtn";
|
|
14
14
|
import { VIcon as Be } from "vuetify/components/VIcon";
|
|
15
15
|
import { VTooltip as bt } from "vuetify/components/VTooltip";
|
|
16
16
|
import { VTextField as ia } from "vuetify/components/VTextField";
|
|
17
17
|
import Gn from "@vuelidate/core";
|
|
18
|
-
import { createI18nMessage as et, between as
|
|
19
|
-
import { VDatePicker as
|
|
20
|
-
import { VMenu as
|
|
21
|
-
import { Tooltip as
|
|
22
|
-
import { VToolbar as
|
|
23
|
-
import { VSwitch as
|
|
24
|
-
import { defineStore as
|
|
18
|
+
import { createI18nMessage as et, between as Qr, email as el, maxLength as tl, maxValue as nl, minLength as al, minValue as ol, numeric as rl, required as ll, requiredIf as sl, helpers as Ko, url as il } from "@vuelidate/validators";
|
|
19
|
+
import { VDatePicker as ul } from "vuetify/components/VDatePicker";
|
|
20
|
+
import { VMenu as Wa } from "vuetify/components/VMenu";
|
|
21
|
+
import { Tooltip as Go } from "vuetify/directives";
|
|
22
|
+
import { VToolbar as cl, VToolbarTitle as dl } from "vuetify/components/VToolbar";
|
|
23
|
+
import { VSwitch as fl } from "vuetify/components/VSwitch";
|
|
24
|
+
import { defineStore as ml } from "pinia";
|
|
25
25
|
import Lt from "axios";
|
|
26
|
-
import { VProgressCircular as
|
|
27
|
-
import { VTabs as
|
|
28
|
-
import { VAvatar as
|
|
29
|
-
import { VBadge as
|
|
30
|
-
const
|
|
26
|
+
import { VProgressCircular as Xo } from "vuetify/components/VProgressCircular";
|
|
27
|
+
import { VTabs as vl, VTab as vo } from "vuetify/components/VTabs";
|
|
28
|
+
import { VAvatar as pl } from "vuetify/components/VAvatar";
|
|
29
|
+
import { VBadge as hl } from "vuetify/components/VBadge";
|
|
30
|
+
const gl = { class: "text-high-emphasis" }, It = /* @__PURE__ */ Se({
|
|
31
31
|
__name: "ARow",
|
|
32
32
|
props: {
|
|
33
33
|
title: { default: "" },
|
|
@@ -45,7 +45,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
45
45
|
class: Ze(e.titleClass)
|
|
46
46
|
}, fe(e.title), 3)) : ce("", !0),
|
|
47
47
|
we(n.$slots, "default", {}, () => [
|
|
48
|
-
Ee("span",
|
|
48
|
+
Ee("span", gl, fe(e.value), 1)
|
|
49
49
|
])
|
|
50
50
|
]),
|
|
51
51
|
_: 3
|
|
@@ -54,23 +54,23 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
54
54
|
_: 3
|
|
55
55
|
}, 8, ["data-cy"]));
|
|
56
56
|
}
|
|
57
|
-
}),
|
|
57
|
+
}), Ka = (e, n) => {
|
|
58
58
|
const t = e.__vccOpts || e;
|
|
59
59
|
for (const [a, r] of n)
|
|
60
60
|
t[a] = r;
|
|
61
61
|
return t;
|
|
62
|
-
}, D = (e) => typeof e > "u", he = (e) => !D(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Oe = (e) => typeof e == "string", ue = (e) => Array.isArray(e),
|
|
62
|
+
}, D = (e) => typeof e > "u", he = (e) => !D(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Oe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Nc = (e) => typeof e == "function", Je = (e) => typeof e == "boolean", Yc = (e) => Oe(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), Uc = (e) => {
|
|
63
63
|
const n = parseFloat(e);
|
|
64
64
|
return !isNaN(e) && (n | 0) === n;
|
|
65
|
-
}, En = (e) => typeof e == "object" && !ue(e) && !G(e), pn = (e) => En(e) ? Object.keys(e).length === 0 : !1,
|
|
65
|
+
}, En = (e) => typeof e == "object" && !ue(e) && !G(e), pn = (e) => En(e) ? Object.keys(e).length === 0 : !1, Fa = (e) => ue(e) && e.length === 0, Zo = (e) => G(e) || D(e) || e === "" || e === 0 || Fa(e) || pn(e), $e = (e) => {
|
|
66
66
|
if (typeof structuredClone == "function")
|
|
67
67
|
try {
|
|
68
|
-
return
|
|
68
|
+
return Br(e) ? structuredClone(aa(e)) : Va(e) ? structuredClone(H(e)) : structuredClone(e);
|
|
69
69
|
} catch {
|
|
70
70
|
return JSON.parse(JSON.stringify(e));
|
|
71
71
|
}
|
|
72
72
|
return JSON.parse(JSON.stringify(e));
|
|
73
|
-
},
|
|
73
|
+
}, bl = (e, n = 0) => {
|
|
74
74
|
let t = n;
|
|
75
75
|
try {
|
|
76
76
|
t = Number.parseInt(e, 10);
|
|
@@ -78,7 +78,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
78
78
|
return n;
|
|
79
79
|
}
|
|
80
80
|
return Number.isNaN(t) ? n : t;
|
|
81
|
-
},
|
|
81
|
+
}, Vc = (e, n = 0) => {
|
|
82
82
|
let t = n;
|
|
83
83
|
try {
|
|
84
84
|
t = Number.parseFloat(e);
|
|
@@ -86,13 +86,13 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
86
86
|
return n;
|
|
87
87
|
}
|
|
88
88
|
return Number.isNaN(t) ? n : t;
|
|
89
|
-
},
|
|
89
|
+
}, Jo = (e, n) => {
|
|
90
90
|
const t = e.trim();
|
|
91
91
|
if (t === "")
|
|
92
92
|
return null;
|
|
93
93
|
const a = Number(t);
|
|
94
94
|
return !Number.isNaN(a) && Number.isFinite(a) ? a : null;
|
|
95
|
-
},
|
|
95
|
+
}, Qo = (e) => {
|
|
96
96
|
const n = e.trim();
|
|
97
97
|
return n === "true" ? !0 : n === "false" ? !1 : null;
|
|
98
98
|
}, wn = (e, n = "") => {
|
|
@@ -101,7 +101,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
101
101
|
start: e.slice(0, t),
|
|
102
102
|
end: e.slice(t + n.length)
|
|
103
103
|
};
|
|
104
|
-
},
|
|
104
|
+
}, Hc = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), jc = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), qc = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, yl = (e, n) => {
|
|
105
105
|
if (e.indexOf(":") === -1) return e;
|
|
106
106
|
const t = [], [a, r] = e.split("?");
|
|
107
107
|
return a.split("/").forEach((s, l) => {
|
|
@@ -109,7 +109,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
109
109
|
const i = s.substring(1);
|
|
110
110
|
D(n[i]) || (t[l] = n[s.substring(1)] + "");
|
|
111
111
|
}), t.join("/") + (r ? `?${r}` : "");
|
|
112
|
-
},
|
|
112
|
+
}, zc = (e, n) => {
|
|
113
113
|
if (e.indexOf(":") === -1) return e;
|
|
114
114
|
const t = [];
|
|
115
115
|
return e.split("/").forEach((r, o) => {
|
|
@@ -118,7 +118,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
118
118
|
const s = /^:([a-zA-Z0-9_-]+).*/, l = r.match(s);
|
|
119
119
|
G(l) || !l[1] || D(n[l[1]]) || (t[o] = n[l[1]] + "");
|
|
120
120
|
}), t.join("/");
|
|
121
|
-
},
|
|
121
|
+
}, Wc = (e) => e.replace(".", "-"), Kc = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Ga = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Xa = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), Gc = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), Xc = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), po = /* @__PURE__ */ Se({
|
|
122
122
|
__name: "AAnzuUserAvatar",
|
|
123
123
|
props: {
|
|
124
124
|
user: { default: void 0 },
|
|
@@ -134,7 +134,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
134
134
|
return o.length > 0 ? o : n.user.email.slice(0, 2);
|
|
135
135
|
});
|
|
136
136
|
return (o, s) => (P(), de(qe, null, [
|
|
137
|
-
O(
|
|
137
|
+
O(pl, {
|
|
138
138
|
color: t.value,
|
|
139
139
|
class: Ze(["text-uppercase", e.containerClass]),
|
|
140
140
|
size: e.size
|
|
@@ -142,7 +142,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
142
142
|
default: B(() => [
|
|
143
143
|
Ee("div", {
|
|
144
144
|
class: "d-inline-flex text-white font-weight-light",
|
|
145
|
-
style:
|
|
145
|
+
style: Rr({ fontSize: a.value })
|
|
146
146
|
}, fe(r.value), 5),
|
|
147
147
|
e.tooltip ? (P(), X(bt, {
|
|
148
148
|
key: 0,
|
|
@@ -159,7 +159,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
159
159
|
s[0] || (s[0] = Ee("div", null, null, -1))
|
|
160
160
|
], 64));
|
|
161
161
|
}
|
|
162
|
-
}),
|
|
162
|
+
}), Cl = { class: "d-inline-flex" }, Sl = { key: 0 }, ua = /* @__PURE__ */ Se({
|
|
163
163
|
__name: "ACollabLockedByUser",
|
|
164
164
|
props: {
|
|
165
165
|
id: {},
|
|
@@ -167,7 +167,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
167
167
|
isModerator: { type: Boolean, default: !1 }
|
|
168
168
|
},
|
|
169
169
|
setup(e) {
|
|
170
|
-
const n = e, t =
|
|
170
|
+
const n = e, t = co(void 0), a = co(!1), r = H(n.users), { t: o } = Re(), s = U(() => {
|
|
171
171
|
if (Gt(n.id) && n.id > 0)
|
|
172
172
|
return r.get(n.id);
|
|
173
173
|
}), l = U(() => {
|
|
@@ -181,9 +181,9 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
181
181
|
a.value || D(i) || !i._loaded || (t.value = i, a.value = !0);
|
|
182
182
|
},
|
|
183
183
|
{ immediate: !0 }
|
|
184
|
-
), (i, u) => (P(), de("div",
|
|
185
|
-
H(G)(e.id) || H(D)(e.id) ? (P(), de("span",
|
|
186
|
-
e.isModerator ? (P(), X(
|
|
184
|
+
), (i, u) => (P(), de("div", Cl, [
|
|
185
|
+
H(G)(e.id) || H(D)(e.id) ? (P(), de("span", Sl)) : a.value ? (P(), de(qe, { key: 1 }, [
|
|
186
|
+
e.isModerator ? (P(), X(hl, {
|
|
187
187
|
key: 0,
|
|
188
188
|
location: "top right",
|
|
189
189
|
color: "white",
|
|
@@ -201,20 +201,20 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
201
201
|
})
|
|
202
202
|
]),
|
|
203
203
|
default: B(() => [
|
|
204
|
-
O(
|
|
204
|
+
O(po, {
|
|
205
205
|
user: t.value ?? void 0,
|
|
206
206
|
size: 20,
|
|
207
207
|
tooltip: l.value
|
|
208
208
|
}, null, 8, ["user", "tooltip"])
|
|
209
209
|
]),
|
|
210
210
|
_: 1
|
|
211
|
-
})) : (P(), X(
|
|
211
|
+
})) : (P(), X(po, {
|
|
212
212
|
key: 1,
|
|
213
213
|
user: t.value ?? void 0,
|
|
214
214
|
size: 20,
|
|
215
215
|
tooltip: l.value
|
|
216
216
|
}, null, 8, ["user", "tooltip"]))
|
|
217
|
-
], 64)) : (P(), X(
|
|
217
|
+
], 64)) : (P(), X(Xo, {
|
|
218
218
|
key: 2,
|
|
219
219
|
size: 12,
|
|
220
220
|
width: 2,
|
|
@@ -223,55 +223,55 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
|
|
|
223
223
|
}))
|
|
224
224
|
]));
|
|
225
225
|
}
|
|
226
|
-
}),
|
|
226
|
+
}), wl = /* @__PURE__ */ Symbol(
|
|
227
227
|
"anzu:collabRoomDataChanged"
|
|
228
|
-
),
|
|
228
|
+
), Dl = /* @__PURE__ */ Symbol("anzu:collabReconnect"), kl = /* @__PURE__ */ Symbol("anzu:collabStarting"), El = /* @__PURE__ */ Symbol("anzu:collabGatheringBufferData"), Tl = /* @__PURE__ */ Symbol("anzu:collabApprovedJoinRequest"), Al = /* @__PURE__ */ Symbol("anzu:collabRejectedJoinRequest"), xl = /* @__PURE__ */ Symbol("anzu:collabJoinRequest"), _l = /* @__PURE__ */ Symbol("anzu:collabApprovedRequestToTakeModeration"), Ml = /* @__PURE__ */ Symbol("anzu:collabRejectedRequestToTakeModeration"), Il = /* @__PURE__ */ Symbol("anzu:collabRequestToTakeModeration"), $l = /* @__PURE__ */ Symbol(
|
|
229
229
|
"anzu:collabKickedFromRoom"
|
|
230
|
-
),
|
|
231
|
-
function
|
|
230
|
+
), Fl = /* @__PURE__ */ Symbol("anzu:collabPurgeRoom");
|
|
231
|
+
function Ol() {
|
|
232
232
|
return Qe(
|
|
233
|
-
|
|
233
|
+
wl
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
return Qe(
|
|
236
|
+
function Zc() {
|
|
237
|
+
return Qe(Dl);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function Jc() {
|
|
240
240
|
return Qe(
|
|
241
|
-
|
|
241
|
+
kl
|
|
242
242
|
);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function er() {
|
|
245
|
+
return Qe(El);
|
|
246
|
+
}
|
|
247
|
+
function Qc() {
|
|
248
|
+
return Qe(Tl);
|
|
249
|
+
}
|
|
250
|
+
function ed() {
|
|
245
251
|
return Qe(Al);
|
|
246
252
|
}
|
|
247
|
-
function
|
|
253
|
+
function td() {
|
|
248
254
|
return Qe(xl);
|
|
249
255
|
}
|
|
256
|
+
function nd() {
|
|
257
|
+
return Qe(
|
|
258
|
+
_l
|
|
259
|
+
);
|
|
260
|
+
}
|
|
250
261
|
function ad() {
|
|
251
|
-
return Qe(
|
|
262
|
+
return Qe(
|
|
263
|
+
Ml
|
|
264
|
+
);
|
|
252
265
|
}
|
|
253
266
|
function od() {
|
|
254
267
|
return Qe(Il);
|
|
255
268
|
}
|
|
256
269
|
function rd() {
|
|
257
|
-
return Qe(
|
|
258
|
-
Ml
|
|
259
|
-
);
|
|
270
|
+
return Qe($l);
|
|
260
271
|
}
|
|
261
272
|
function ld() {
|
|
262
|
-
return Qe(
|
|
263
|
-
$l
|
|
264
|
-
);
|
|
265
|
-
}
|
|
266
|
-
function sd() {
|
|
267
273
|
return Qe(Fl);
|
|
268
274
|
}
|
|
269
|
-
function id() {
|
|
270
|
-
return Qe(Ol);
|
|
271
|
-
}
|
|
272
|
-
function ud() {
|
|
273
|
-
return Qe(Bl);
|
|
274
|
-
}
|
|
275
275
|
const un = {
|
|
276
276
|
Acquire: "acquire",
|
|
277
277
|
Release: "release"
|
|
@@ -281,116 +281,116 @@ const un = {
|
|
|
281
281
|
}, Bn = (e, n) => ({
|
|
282
282
|
type: e,
|
|
283
283
|
status: n
|
|
284
|
-
}),
|
|
284
|
+
}), Bl = /* @__PURE__ */ Symbol(
|
|
285
285
|
"anzu:collabFieldLockStatus"
|
|
286
286
|
);
|
|
287
|
-
function
|
|
287
|
+
function Rl() {
|
|
288
288
|
return Qe(
|
|
289
|
-
|
|
289
|
+
Bl
|
|
290
290
|
);
|
|
291
291
|
}
|
|
292
292
|
const pa = {
|
|
293
293
|
Inactive: "inactive",
|
|
294
294
|
Active: "active"
|
|
295
|
-
},
|
|
295
|
+
}, Pl = {
|
|
296
296
|
Ok: "ok",
|
|
297
297
|
Occupied: "occupied",
|
|
298
298
|
Failed: "failed"
|
|
299
299
|
};
|
|
300
|
-
function
|
|
301
|
-
return e.status ===
|
|
300
|
+
function sd(e) {
|
|
301
|
+
return e.status === Pl.Ok;
|
|
302
302
|
}
|
|
303
|
-
const
|
|
303
|
+
const tr = {
|
|
304
304
|
Ok: "ok",
|
|
305
305
|
Failed: "failed"
|
|
306
306
|
};
|
|
307
|
-
function
|
|
308
|
-
return e.status ===
|
|
307
|
+
function ho(e) {
|
|
308
|
+
return e.status === tr.Ok;
|
|
309
309
|
}
|
|
310
|
-
function
|
|
311
|
-
return e.status ===
|
|
310
|
+
function go(e) {
|
|
311
|
+
return e.status === tr.Failed;
|
|
312
312
|
}
|
|
313
|
-
const
|
|
313
|
+
const id = {
|
|
314
314
|
Free: "free",
|
|
315
315
|
Moderated: "moderated"
|
|
316
|
-
},
|
|
316
|
+
}, ud = {
|
|
317
317
|
Ok: "ok",
|
|
318
318
|
AlreadyRequested: "alreadyRequested",
|
|
319
319
|
Failed: "failed"
|
|
320
|
-
},
|
|
320
|
+
}, cd = {
|
|
321
321
|
Ok: "ok",
|
|
322
322
|
AlreadyRequested: "alreadyRequested",
|
|
323
323
|
Failed: "failed"
|
|
324
|
-
},
|
|
324
|
+
}, Oa = L({
|
|
325
325
|
enabled: !1,
|
|
326
326
|
socketUrl: "",
|
|
327
327
|
beforeReconnect: () => new Promise((e) => e())
|
|
328
328
|
});
|
|
329
|
-
function
|
|
330
|
-
D(e) || (
|
|
329
|
+
function dd(e) {
|
|
330
|
+
D(e) || (Oa.value = e);
|
|
331
331
|
}
|
|
332
332
|
function Jt() {
|
|
333
|
-
if (D(
|
|
333
|
+
if (D(Oa.value))
|
|
334
334
|
throw new Error("Composable can't be used without properly configured common admin.");
|
|
335
335
|
return {
|
|
336
|
-
collabOptions:
|
|
336
|
+
collabOptions: Oa
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
const
|
|
339
|
+
const bo = L(!0), Ll = L(), Nl = Zt(/* @__PURE__ */ new Map()), Yl = Zt(/* @__PURE__ */ new Map()), ha = Zt(
|
|
340
340
|
/* @__PURE__ */ new Map()
|
|
341
341
|
);
|
|
342
|
-
function
|
|
342
|
+
function Ul() {
|
|
343
343
|
const { collabOptions: e } = Jt();
|
|
344
344
|
return {
|
|
345
|
-
collabReconnecting: U(() => e.value.enabled && !
|
|
346
|
-
collabConnected:
|
|
347
|
-
collabSocket:
|
|
348
|
-
collabRoomInfoState:
|
|
349
|
-
collabFieldLocksState:
|
|
345
|
+
collabReconnecting: U(() => e.value.enabled && !bo.value),
|
|
346
|
+
collabConnected: bo,
|
|
347
|
+
collabSocket: Ll,
|
|
348
|
+
collabRoomInfoState: Nl,
|
|
349
|
+
collabFieldLocksState: Yl,
|
|
350
350
|
collabFieldDataBufferState: ha,
|
|
351
351
|
gatherBufferData: (a) => {
|
|
352
|
-
|
|
352
|
+
er().emit({ room: a });
|
|
353
353
|
let o = {};
|
|
354
354
|
const s = ha.get(a);
|
|
355
355
|
return s && (o = aa(Object.fromEntries(s.entries())), ha.delete(a)), o;
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
358
|
}
|
|
359
|
-
const
|
|
360
|
-
function
|
|
359
|
+
const yo = L(null);
|
|
360
|
+
function Vl() {
|
|
361
361
|
function e(n) {
|
|
362
|
-
|
|
362
|
+
yo.value = n;
|
|
363
363
|
}
|
|
364
364
|
return {
|
|
365
365
|
setCollabUserCurrentId: e,
|
|
366
|
-
currentUserId:
|
|
366
|
+
currentUserId: yo
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
function ca(e, n, t = !1) {
|
|
370
|
-
const { collabOptions: a } = Jt(), { currentUserId: r } =
|
|
371
|
-
|
|
372
|
-
}, w = (
|
|
373
|
-
|
|
374
|
-
}, F = (
|
|
375
|
-
|
|
376
|
-
}, k = (
|
|
377
|
-
d.value =
|
|
378
|
-
}, h = (
|
|
379
|
-
T.value =
|
|
370
|
+
const { collabOptions: a } = Jt(), { currentUserId: r } = Vl(), { collabSocket: o, collabFieldLocksState: s, collabFieldDataBufferState: l, collabRoomInfoState: i } = Ul(), u = Ol(), m = L(), d = L(), g = Rl(), p = L(), T = L(), b = er(), c = L(), f = L(), v = (I, A) => {
|
|
371
|
+
I.room !== e || I.field !== n || D(A) || D(d.value) || d.value(A);
|
|
372
|
+
}, w = (I, A) => {
|
|
373
|
+
I.room !== e || I.field !== n || D(A) || D(T.value) || T.value(A);
|
|
374
|
+
}, F = (I) => {
|
|
375
|
+
I.room === e && he(f.value) && f.value();
|
|
376
|
+
}, k = (I) => {
|
|
377
|
+
d.value = I, m.value = u.on(v);
|
|
378
|
+
}, h = (I) => {
|
|
379
|
+
T.value = I, p.value = g.on(
|
|
380
380
|
w
|
|
381
381
|
);
|
|
382
|
-
},
|
|
383
|
-
f.value =
|
|
382
|
+
}, M = (I) => {
|
|
383
|
+
f.value = I, c.value = b.on(
|
|
384
384
|
F
|
|
385
385
|
);
|
|
386
386
|
};
|
|
387
|
-
|
|
387
|
+
Hr(() => {
|
|
388
388
|
t || (he(m.value) && m.value(), he(p.value) && p.value(), he(c.value) && c.value());
|
|
389
389
|
});
|
|
390
390
|
const Y = U(() => {
|
|
391
|
-
const
|
|
392
|
-
if (
|
|
393
|
-
const A =
|
|
391
|
+
const I = s.get(e);
|
|
392
|
+
if (I) {
|
|
393
|
+
const A = I.get(n);
|
|
394
394
|
if (A && r.value !== A)
|
|
395
395
|
return A;
|
|
396
396
|
}
|
|
@@ -399,18 +399,18 @@ function ca(e, n, t = !1) {
|
|
|
399
399
|
return {
|
|
400
400
|
addCollabFieldDataChangeListener: k,
|
|
401
401
|
addCollabFieldLockStatusListener: h,
|
|
402
|
-
addCollabGatheringBufferDataListener:
|
|
403
|
-
acquireCollabFieldLock: (
|
|
402
|
+
addCollabGatheringBufferDataListener: M,
|
|
403
|
+
acquireCollabFieldLock: (I = {}) => {
|
|
404
404
|
if (!a.value.enabled || D(o.value)) return;
|
|
405
405
|
const A = i.get(e);
|
|
406
406
|
A && A.status === pa.Inactive || o.value?.timeout(1e3).emit(
|
|
407
407
|
"acquireFieldLock",
|
|
408
408
|
e,
|
|
409
409
|
n,
|
|
410
|
-
|
|
410
|
+
I,
|
|
411
411
|
(_, S) => {
|
|
412
412
|
const y = { field: n, room: e };
|
|
413
|
-
if (_ ||
|
|
413
|
+
if (_ || go(S))
|
|
414
414
|
return void g.emit(
|
|
415
415
|
y,
|
|
416
416
|
Bn(
|
|
@@ -418,7 +418,7 @@ function ca(e, n, t = !1) {
|
|
|
418
418
|
cn.Failure
|
|
419
419
|
)
|
|
420
420
|
);
|
|
421
|
-
if (
|
|
421
|
+
if (ho(S)) {
|
|
422
422
|
s.has(e) || s.set(e, /* @__PURE__ */ new Map());
|
|
423
423
|
const C = new Map(S.locks ? Object.entries(S.locks) : []);
|
|
424
424
|
for (const [x, R] of C.entries())
|
|
@@ -434,22 +434,22 @@ function ca(e, n, t = !1) {
|
|
|
434
434
|
}
|
|
435
435
|
);
|
|
436
436
|
},
|
|
437
|
-
releaseCollabFieldLock: (
|
|
437
|
+
releaseCollabFieldLock: (I, A = {}) => {
|
|
438
438
|
if (!a.value.enabled || D(o.value)) return;
|
|
439
439
|
const _ = i.get(e);
|
|
440
440
|
if (_ && _.status === pa.Inactive) {
|
|
441
|
-
l.has(e) || l.set(e, /* @__PURE__ */ new Map()), l.get(e)?.set(n,
|
|
441
|
+
l.has(e) || l.set(e, /* @__PURE__ */ new Map()), l.get(e)?.set(n, I);
|
|
442
442
|
return;
|
|
443
443
|
}
|
|
444
444
|
o.value?.timeout(1e3).emit(
|
|
445
445
|
"releaseFieldLock",
|
|
446
446
|
e,
|
|
447
447
|
n,
|
|
448
|
-
|
|
448
|
+
I,
|
|
449
449
|
A,
|
|
450
450
|
(S, y) => {
|
|
451
451
|
const C = { field: n, room: e };
|
|
452
|
-
if (S ||
|
|
452
|
+
if (S || go(y))
|
|
453
453
|
return void g.emit(
|
|
454
454
|
C,
|
|
455
455
|
Bn(
|
|
@@ -457,7 +457,7 @@ function ca(e, n, t = !1) {
|
|
|
457
457
|
cn.Failure
|
|
458
458
|
)
|
|
459
459
|
);
|
|
460
|
-
if (
|
|
460
|
+
if (ho(y)) {
|
|
461
461
|
if (s.has(e) || s.set(e, /* @__PURE__ */ new Map()), y.locks)
|
|
462
462
|
for (const x of Object.keys(y.locks))
|
|
463
463
|
s.get(e)?.delete(x);
|
|
@@ -472,10 +472,10 @@ function ca(e, n, t = !1) {
|
|
|
472
472
|
}
|
|
473
473
|
);
|
|
474
474
|
},
|
|
475
|
-
changeCollabFieldData: (
|
|
475
|
+
changeCollabFieldData: (I) => {
|
|
476
476
|
if (!a.value.enabled || D(o.value)) return;
|
|
477
477
|
const A = i.get(e);
|
|
478
|
-
A && A.status === pa.Inactive || o.value.emit("changeFieldData", e, n,
|
|
478
|
+
A && A.status === pa.Inactive || o.value.emit("changeFieldData", e, n, I, () => {
|
|
479
479
|
});
|
|
480
480
|
},
|
|
481
481
|
lockedByUser: Y,
|
|
@@ -485,10 +485,10 @@ function ca(e, n, t = !1) {
|
|
|
485
485
|
unsubscribeCollabGatheringBufferData: c
|
|
486
486
|
};
|
|
487
487
|
}
|
|
488
|
-
const
|
|
488
|
+
const Hl = {
|
|
489
489
|
key: 0,
|
|
490
490
|
class: "required"
|
|
491
|
-
},
|
|
491
|
+
}, Co = /* @__PURE__ */ Se({
|
|
492
492
|
__name: "AFormTextField",
|
|
493
493
|
props: {
|
|
494
494
|
modelValue: {},
|
|
@@ -520,7 +520,7 @@ const ql = {
|
|
|
520
520
|
const {
|
|
521
521
|
releaseCollabFieldLock: k,
|
|
522
522
|
acquireCollabFieldLock: h,
|
|
523
|
-
addCollabFieldLockStatusListener:
|
|
523
|
+
addCollabFieldLockStatusListener: M,
|
|
524
524
|
addCollabGatheringBufferDataListener: Y,
|
|
525
525
|
lockedByUser: E
|
|
526
526
|
} = ca(a.collab.room, a.collab.field);
|
|
@@ -530,13 +530,13 @@ const ql = {
|
|
|
530
530
|
u.value = $;
|
|
531
531
|
},
|
|
532
532
|
{ immediate: !0 }
|
|
533
|
-
),
|
|
533
|
+
), M(($) => {
|
|
534
534
|
$.status === cn.Failure && $.type === un.Acquire && o.value?.blur();
|
|
535
535
|
}), Y(() => {
|
|
536
536
|
o.value?.blur();
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
|
-
const { t: m } = Re(), d = J(
|
|
539
|
+
const { t: m } = Re(), d = J(Ga, void 0), g = J(Xa, void 0), p = (k) => {
|
|
540
540
|
r("update:modelValue", k);
|
|
541
541
|
}, T = () => {
|
|
542
542
|
r("blur", a.modelValue), a.v?.$touch(), l.value(a.modelValue);
|
|
@@ -569,16 +569,16 @@ const ql = {
|
|
|
569
569
|
"persistent-placeholder": e.persistentPlaceholder,
|
|
570
570
|
trim: "",
|
|
571
571
|
autocomplete: "off",
|
|
572
|
-
"onClick:append": h[0] || (h[0] = (
|
|
572
|
+
"onClick:append": h[0] || (h[0] = (M) => r("click:append", M)),
|
|
573
573
|
onBlur: T,
|
|
574
574
|
onFocus: b,
|
|
575
|
-
"onUpdate:modelValue": h[1] || (h[1] = (
|
|
575
|
+
"onUpdate:modelValue": h[1] || (h[1] = (M) => p(M))
|
|
576
576
|
}, Pt({ _: 2 }, [
|
|
577
577
|
e.hideLabel ? void 0 : {
|
|
578
578
|
name: "label",
|
|
579
579
|
fn: B(() => [
|
|
580
580
|
De(fe(f.value), 1),
|
|
581
|
-
v.value ? (P(), de("span",
|
|
581
|
+
v.value ? (P(), de("span", Hl)) : ce("", !0)
|
|
582
582
|
]),
|
|
583
583
|
key: "0"
|
|
584
584
|
},
|
|
@@ -606,25 +606,25 @@ const ql = {
|
|
|
606
606
|
name: "append",
|
|
607
607
|
fn: B(() => [
|
|
608
608
|
Sn(O(Be, { icon: "mdi-help-circle-outline" }, null, 512), [
|
|
609
|
-
[
|
|
609
|
+
[Go, e.help]
|
|
610
610
|
])
|
|
611
611
|
]),
|
|
612
612
|
key: "3"
|
|
613
613
|
} : void 0
|
|
614
614
|
]), 1032, ["prepend-icon", "data-cy", "error-messages", "model-value", "required", "type", "step", "append-icon", "maxlength", "disabled", "placeholder", "persistent-placeholder"]));
|
|
615
615
|
}
|
|
616
|
-
}),
|
|
616
|
+
}), So = ["en", "sk"], jl = (e, n) => n === 4 ? e === 0 ? 0 : e === 1 ? 1 : e >= 2 && e <= 4 ? 2 : 3 : n === 3 ? e === 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2 : e === 1 ? 0 : 1, xe = Xr({
|
|
617
617
|
globalInjection: !1,
|
|
618
|
-
locale:
|
|
618
|
+
locale: So[0],
|
|
619
619
|
fallbackLocale: !1,
|
|
620
620
|
pluralRules: {
|
|
621
|
-
sk:
|
|
621
|
+
sk: jl
|
|
622
622
|
},
|
|
623
623
|
missing: (e, n) => {
|
|
624
|
-
|
|
624
|
+
So.includes(e) && !n.startsWith("system.subject.") && console.warn(`Missing ${e} translation: ${n}`);
|
|
625
625
|
}
|
|
626
626
|
});
|
|
627
|
-
function
|
|
627
|
+
function ql(e = "id", n = !0) {
|
|
628
628
|
return Zt({
|
|
629
629
|
sortBy: e,
|
|
630
630
|
descending: n,
|
|
@@ -636,28 +636,28 @@ function Wl(e = "id", n = !0) {
|
|
|
636
636
|
totalCount: 0
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function fd(e) {
|
|
640
640
|
return {
|
|
641
641
|
showPagination: U(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
|
|
642
642
|
};
|
|
643
643
|
}
|
|
644
|
-
const
|
|
644
|
+
const zl = ["createdAt", "modifiedAt"], md = "_score", vd = "id", pd = "score_date", hd = "score_best", Ct = {
|
|
645
645
|
Asc: "asc",
|
|
646
646
|
Desc: "desc"
|
|
647
|
-
},
|
|
647
|
+
}, Wl = {
|
|
648
648
|
key: "",
|
|
649
649
|
title: void 0,
|
|
650
650
|
sortable: !1,
|
|
651
651
|
fixed: !1
|
|
652
652
|
};
|
|
653
|
-
function
|
|
654
|
-
const u = s ?? xe, { t: m } = u.global || u, d =
|
|
653
|
+
function gd(e, n, t = void 0, a = void 0, r = !1, o = void 0, s = void 0, l = void 0, i = void 0) {
|
|
654
|
+
const u = s ?? xe, { t: m } = u.global || u, d = ql();
|
|
655
655
|
if (o)
|
|
656
656
|
for (const f of Object.keys(d))
|
|
657
657
|
f in o && (d[f] = o[f]);
|
|
658
658
|
const g = e.map((f) => {
|
|
659
|
-
const v = { ...
|
|
660
|
-
return D(v.title) && (D(v.title) &&
|
|
659
|
+
const v = { ...Wl, ...f };
|
|
660
|
+
return D(v.title) && (D(v.title) && zl.includes(v.key) ? v.title = m("common.model.tracking." + v.key) : D(v.title) && t && a ? v.title = m(t + "." + a + ".model." + v.key) : v.title = ""), v;
|
|
661
661
|
}), p = U(() => {
|
|
662
662
|
const f = [];
|
|
663
663
|
return l && f.push({ key: "data-table-expand", sortable: !1 }), g.forEach((v) => {
|
|
@@ -678,7 +678,7 @@ function Cd(e, n, t = void 0, a = void 0, r = !1, o = void 0, s = void 0, l = vo
|
|
|
678
678
|
}, c = (f) => {
|
|
679
679
|
!i || !localStorage || localStorage.setItem(i, JSON.stringify({ hidden: f }));
|
|
680
680
|
};
|
|
681
|
-
return
|
|
681
|
+
return Ha(() => {
|
|
682
682
|
b();
|
|
683
683
|
}), Ae(n, (f) => {
|
|
684
684
|
c(f);
|
|
@@ -690,19 +690,19 @@ function Cd(e, n, t = void 0, a = void 0, r = !1, o = void 0, s = void 0, l = vo
|
|
|
690
690
|
pagination: d
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
const
|
|
693
|
+
const Za = /* @__PURE__ */ Se({
|
|
694
694
|
__name: "ADialogToolbar",
|
|
695
695
|
emits: ["onCancel"],
|
|
696
696
|
setup(e, { emit: n }) {
|
|
697
697
|
const t = n, a = () => {
|
|
698
698
|
t("onCancel");
|
|
699
699
|
};
|
|
700
|
-
return (r, o) => (P(), X(
|
|
700
|
+
return (r, o) => (P(), X(cl, {
|
|
701
701
|
density: "compact",
|
|
702
702
|
color: "transparent"
|
|
703
703
|
}, {
|
|
704
704
|
default: B(() => [
|
|
705
|
-
O(
|
|
705
|
+
O(dl, { class: "flex-fill" }, {
|
|
706
706
|
default: B(() => [
|
|
707
707
|
we(r.$slots, "default")
|
|
708
708
|
]),
|
|
@@ -733,8 +733,8 @@ const Ja = /* @__PURE__ */ Se({
|
|
|
733
733
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
734
734
|
}
|
|
735
735
|
})();
|
|
736
|
-
const
|
|
737
|
-
function
|
|
736
|
+
const nr = /* @__PURE__ */ new Map();
|
|
737
|
+
function Kl(e) {
|
|
738
738
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(n, t) {
|
|
739
739
|
var a = e.get(n);
|
|
740
740
|
a ? a.push(t) : e.set(n, [t]);
|
|
@@ -750,7 +750,7 @@ function Xl(e) {
|
|
|
750
750
|
});
|
|
751
751
|
} };
|
|
752
752
|
}
|
|
753
|
-
const jt =
|
|
753
|
+
const jt = Kl(), ga = "[-+]?[0-9]*.?[0-9]+", wo = [
|
|
754
754
|
{
|
|
755
755
|
name: "px",
|
|
756
756
|
regexp: new RegExp(`^${ga}px$`)
|
|
@@ -767,14 +767,14 @@ const jt = Xl(), ga = "[-+]?[0-9]*.?[0-9]+", Do = [
|
|
|
767
767
|
name: "px",
|
|
768
768
|
regexp: new RegExp(`^${ga}$`)
|
|
769
769
|
}
|
|
770
|
-
],
|
|
770
|
+
], Gl = (e) => {
|
|
771
771
|
if (e === "auto")
|
|
772
772
|
return {
|
|
773
773
|
type: e,
|
|
774
774
|
value: 0
|
|
775
775
|
};
|
|
776
|
-
for (let n = 0; n <
|
|
777
|
-
const t =
|
|
776
|
+
for (let n = 0; n < wo.length; n++) {
|
|
777
|
+
const t = wo[n];
|
|
778
778
|
if (t.regexp.test(e))
|
|
779
779
|
return {
|
|
780
780
|
type: t.name,
|
|
@@ -785,23 +785,23 @@ const jt = Xl(), ga = "[-+]?[0-9]*.?[0-9]+", Do = [
|
|
|
785
785
|
type: "",
|
|
786
786
|
value: e
|
|
787
787
|
};
|
|
788
|
-
},
|
|
788
|
+
}, Xl = (e) => {
|
|
789
789
|
switch (typeof e) {
|
|
790
790
|
case "number":
|
|
791
791
|
return { type: "px", value: e };
|
|
792
792
|
case "string":
|
|
793
|
-
return
|
|
793
|
+
return Gl(e);
|
|
794
794
|
default:
|
|
795
795
|
return { type: "", value: e };
|
|
796
796
|
}
|
|
797
|
-
},
|
|
797
|
+
}, Do = {
|
|
798
798
|
x: /* @__PURE__ */ new Set(["left", "center", "right"]),
|
|
799
799
|
y: /* @__PURE__ */ new Set(["top", "bottom"])
|
|
800
|
-
},
|
|
801
|
-
typeof e == "string" && (e =
|
|
800
|
+
}, Zl = /* @__PURE__ */ ((e) => () => e++)(0), Jl = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), Ql = (e) => {
|
|
801
|
+
typeof e == "string" && (e = Jl(e));
|
|
802
802
|
let n = null, t = null;
|
|
803
803
|
return e.forEach((a) => {
|
|
804
|
-
|
|
804
|
+
Do.y.has(a) && (t = a), Do.x.has(a) && (n = a);
|
|
805
805
|
}), { x: n, y: t };
|
|
806
806
|
}, ba = {
|
|
807
807
|
position: ["top", "right"],
|
|
@@ -816,7 +816,7 @@ const jt = Xl(), ga = "[-+]?[0-9]*.?[0-9]+", Do = [
|
|
|
816
816
|
opacity: [0, 1]
|
|
817
817
|
}
|
|
818
818
|
}
|
|
819
|
-
},
|
|
819
|
+
}, es = (e, n) => {
|
|
820
820
|
let t, a, r = n;
|
|
821
821
|
const o = () => {
|
|
822
822
|
a = Date.now(), t = setTimeout(e, r);
|
|
@@ -828,13 +828,13 @@ const jt = Xl(), ga = "[-+]?[0-9]*.?[0-9]+", Do = [
|
|
|
828
828
|
stop: s
|
|
829
829
|
};
|
|
830
830
|
};
|
|
831
|
-
function
|
|
832
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
831
|
+
function ts(e) {
|
|
832
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Nr(e);
|
|
833
833
|
}
|
|
834
834
|
const Rn = {
|
|
835
835
|
IDLE: 0,
|
|
836
836
|
DESTROYED: 2
|
|
837
|
-
},
|
|
837
|
+
}, ns = /* @__PURE__ */ Se({
|
|
838
838
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
839
839
|
name: "notifications",
|
|
840
840
|
props: {
|
|
@@ -927,17 +927,17 @@ const Rn = {
|
|
|
927
927
|
slots: t,
|
|
928
928
|
expose: a
|
|
929
929
|
}) => {
|
|
930
|
-
const r = L([]), o =
|
|
930
|
+
const r = L([]), o = nr.get("velocity"), s = U(() => e.animationType === "velocity"), l = U(() => r.value.filter((E) => E.state !== Rn.DESTROYED)), i = U(() => Xl(e.width)), u = U(() => {
|
|
931
931
|
const {
|
|
932
932
|
x: E,
|
|
933
933
|
y: $
|
|
934
|
-
} =
|
|
935
|
-
width: N +
|
|
934
|
+
} = Ql(e.position), N = i.value.value, I = i.value.type, A = {
|
|
935
|
+
width: N + I
|
|
936
936
|
};
|
|
937
|
-
return $ && (A[$] = "0px"), E && (E === "center" ? A.left = `calc(50% - ${+N / 2}${
|
|
937
|
+
return $ && (A[$] = "0px"), E && (E === "center" ? A.left = `calc(50% - ${+N / 2}${I})` : A[E] = "0px"), A;
|
|
938
938
|
}), m = U(() => s.value ? {
|
|
939
939
|
onEnter: h,
|
|
940
|
-
onLeave:
|
|
940
|
+
onLeave: M,
|
|
941
941
|
onAfterLeave: Y
|
|
942
942
|
} : {}), d = (E) => {
|
|
943
943
|
n("click", E), e.closeOnClick && v(E);
|
|
@@ -954,14 +954,14 @@ const Rn = {
|
|
|
954
954
|
F();
|
|
955
955
|
return;
|
|
956
956
|
}
|
|
957
|
-
const $ = typeof E.duration == "number" ? E.duration : e.duration, N = typeof E.speed == "number" ? E.speed : e.speed,
|
|
957
|
+
const $ = typeof E.duration == "number" ? E.duration : e.duration, N = typeof E.speed == "number" ? E.speed : e.speed, I = typeof E.ignoreDuplicates == "boolean" ? E.ignoreDuplicates : e.ignoreDuplicates, {
|
|
958
958
|
title: A,
|
|
959
959
|
text: _,
|
|
960
960
|
type: S,
|
|
961
961
|
data: y,
|
|
962
962
|
id: C
|
|
963
963
|
} = E, x = {
|
|
964
|
-
id: C ||
|
|
964
|
+
id: C || Zl(),
|
|
965
965
|
title: A,
|
|
966
966
|
text: _,
|
|
967
967
|
type: S,
|
|
@@ -971,11 +971,11 @@ const Rn = {
|
|
|
971
971
|
data: y,
|
|
972
972
|
duplicates: 0
|
|
973
973
|
};
|
|
974
|
-
$ >= 0 && (x.timer =
|
|
974
|
+
$ >= 0 && (x.timer = es(() => v(x), x.length));
|
|
975
975
|
const R = "bottom" in u.value, j = e.reverse ? !R : R;
|
|
976
976
|
let Q = -1;
|
|
977
977
|
const re = l.value.find((ve) => ve.title === E.title && ve.text === E.text);
|
|
978
|
-
if (
|
|
978
|
+
if (I && re) {
|
|
979
979
|
re.duplicates++;
|
|
980
980
|
return;
|
|
981
981
|
}
|
|
@@ -994,15 +994,15 @@ const Rn = {
|
|
|
994
994
|
l.value.forEach(v);
|
|
995
995
|
}, k = (E, $) => {
|
|
996
996
|
var N;
|
|
997
|
-
const
|
|
998
|
-
return typeof
|
|
997
|
+
const I = (N = e.animation) == null ? void 0 : N[E];
|
|
998
|
+
return typeof I == "function" ? I($) : I;
|
|
999
999
|
}, h = (E, $) => {
|
|
1000
1000
|
const N = k("enter", E);
|
|
1001
1001
|
o(E, N, {
|
|
1002
1002
|
duration: e.speed,
|
|
1003
1003
|
complete: $
|
|
1004
1004
|
});
|
|
1005
|
-
},
|
|
1005
|
+
}, M = (E, $) => {
|
|
1006
1006
|
const N = k("leave", E);
|
|
1007
1007
|
o(E, N, {
|
|
1008
1008
|
duration: e.speed,
|
|
@@ -1012,20 +1012,20 @@ const Rn = {
|
|
|
1012
1012
|
function Y() {
|
|
1013
1013
|
r.value = r.value.filter((E) => E.state !== Rn.DESTROYED);
|
|
1014
1014
|
}
|
|
1015
|
-
return
|
|
1015
|
+
return Ha(() => {
|
|
1016
1016
|
jt.on("add", T), jt.on("close", b);
|
|
1017
|
-
}),
|
|
1017
|
+
}), Pr(() => {
|
|
1018
1018
|
jt.off("add", T), jt.off("close", b);
|
|
1019
1019
|
}), () => {
|
|
1020
1020
|
let E;
|
|
1021
1021
|
return O("div", {
|
|
1022
1022
|
class: "vue-notification-group",
|
|
1023
1023
|
style: u.value
|
|
1024
|
-
}, [O(
|
|
1024
|
+
}, [O(Lr, it(m.value, {
|
|
1025
1025
|
tag: "div",
|
|
1026
1026
|
css: !s.value,
|
|
1027
1027
|
name: e.animationName
|
|
1028
|
-
}),
|
|
1028
|
+
}), ts(E = l.value.map(($) => O("div", {
|
|
1029
1029
|
key: $.id,
|
|
1030
1030
|
class: "vue-notification-wrapper",
|
|
1031
1031
|
style: f($),
|
|
@@ -1060,33 +1060,33 @@ const Rn = {
|
|
|
1060
1060
|
nt.close = (e) => {
|
|
1061
1061
|
jt.emit("close", e);
|
|
1062
1062
|
};
|
|
1063
|
-
const
|
|
1064
|
-
function
|
|
1065
|
-
Object.entries(n).forEach((a) =>
|
|
1063
|
+
const as = "Notifications";
|
|
1064
|
+
function os(e, n = {}) {
|
|
1065
|
+
Object.entries(n).forEach((a) => nr.set(...a));
|
|
1066
1066
|
const t = n.name || "notify";
|
|
1067
|
-
e.config.globalProperties["$" + t] = nt, e.component(n.componentName ||
|
|
1067
|
+
e.config.globalProperties["$" + t] = nt, e.component(n.componentName || as, ns);
|
|
1068
1068
|
}
|
|
1069
|
-
const
|
|
1070
|
-
install:
|
|
1071
|
-
},
|
|
1069
|
+
const bd = {
|
|
1070
|
+
install: os
|
|
1071
|
+
}, rs = (e) => e instanceof ut;
|
|
1072
1072
|
class ut extends Error {
|
|
1073
1073
|
constructor(n, t = "") {
|
|
1074
1074
|
super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
|
-
const
|
|
1077
|
+
const ls = 200, ss = 201, is = 202, Qt = 204, yd = 400, Cd = 401, us = 403, Sd = 404, Ja = 422, cs = [
|
|
1078
|
+
ls,
|
|
1079
|
+
ss,
|
|
1078
1080
|
is,
|
|
1079
|
-
us,
|
|
1080
|
-
cs,
|
|
1081
1081
|
Qt
|
|
1082
|
-
], Tn = (e) => Lt.isAxiosError(e) && e.response?.status ===
|
|
1082
|
+
], Tn = (e) => Lt.isAxiosError(e) && e.response?.status === us, ds = (e) => e instanceof en;
|
|
1083
1083
|
class en extends Error {
|
|
1084
1084
|
constructor(n, t = "") {
|
|
1085
1085
|
super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
const
|
|
1089
|
-
function
|
|
1088
|
+
const fs = "validation_failed", An = (e) => Lt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === fs && e.response.data?.fields, ar = (e) => e instanceof tn, ms = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
|
|
1089
|
+
function vs(e, n, t) {
|
|
1090
1090
|
const a = e.response?.data, r = [];
|
|
1091
1091
|
for (const [o, s] of Object.entries(a.fields))
|
|
1092
1092
|
r.push({
|
|
@@ -1098,51 +1098,51 @@ function hs(e, n, t) {
|
|
|
1098
1098
|
class tn extends Error {
|
|
1099
1099
|
fields;
|
|
1100
1100
|
constructor(n, t, a, r, o = "") {
|
|
1101
|
-
super(o), this.name = "AnzuApiValidationError", this.cause = r, this.message = o, this.fields =
|
|
1101
|
+
super(o), this.name = "AnzuApiValidationError", this.cause = r, this.message = o, this.fields = vs(n, t, a);
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
const
|
|
1104
|
+
const Qa = (e) => e instanceof nn;
|
|
1105
1105
|
class nn extends Error {
|
|
1106
1106
|
code;
|
|
1107
1107
|
constructor(n, t, a) {
|
|
1108
1108
|
super(a), this.name = "AnzuApiResponseCodeError", this.cause = t, this.code = n;
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
|
-
const
|
|
1112
|
-
function
|
|
1111
|
+
const ps = "forbidden_operation_error", xn = (e) => Lt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === ps && e.response.data?.detail, hs = (e) => e instanceof an;
|
|
1112
|
+
function gs(e) {
|
|
1113
1113
|
return (e.response?.data).detail;
|
|
1114
1114
|
}
|
|
1115
1115
|
class an extends Error {
|
|
1116
1116
|
detail;
|
|
1117
1117
|
constructor(n, t, a = "") {
|
|
1118
|
-
super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail =
|
|
1118
|
+
super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail = gs(n);
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
const
|
|
1122
|
-
function
|
|
1121
|
+
const bs = "dependency_exists_error", _n = (e) => Lt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === bs && e.response.data?.dependencies, ys = (e) => e instanceof on;
|
|
1122
|
+
function Cs(e) {
|
|
1123
1123
|
return (e.response?.data).dependencies;
|
|
1124
1124
|
}
|
|
1125
1125
|
class on extends Error {
|
|
1126
1126
|
dependencies;
|
|
1127
1127
|
constructor(n, t, a, r, o = "") {
|
|
1128
|
-
super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies =
|
|
1128
|
+
super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies = Cs(n);
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
const
|
|
1132
|
-
class
|
|
1131
|
+
const Ss = (e) => e instanceof eo, or = (e) => Lt.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
|
|
1132
|
+
class eo extends Error {
|
|
1133
1133
|
constructor(n = void 0) {
|
|
1134
1134
|
super("API request timed out"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
|
-
const
|
|
1138
|
-
class
|
|
1137
|
+
const ws = (e) => e instanceof to;
|
|
1138
|
+
class to extends Error {
|
|
1139
1139
|
constructor(n) {
|
|
1140
1140
|
super("API request failed"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
1143
|
-
const rt = 3,
|
|
1143
|
+
const rt = 3, Ds = `
|
|
1144
1144
|
`;
|
|
1145
|
-
function
|
|
1145
|
+
function Mn() {
|
|
1146
1146
|
const e = (c, f = rt) => {
|
|
1147
1147
|
nt({
|
|
1148
1148
|
group: "alerts",
|
|
@@ -1202,8 +1202,8 @@ function In() {
|
|
|
1202
1202
|
}, m = (c, f = -1, v = !1) => {
|
|
1203
1203
|
const { t: w, te: F } = xe.global, k = [w("common.alert.fixApiValidationErrors")];
|
|
1204
1204
|
for (let h = 0; h < c.length; h++) {
|
|
1205
|
-
let
|
|
1206
|
-
v ?
|
|
1205
|
+
let M = "";
|
|
1206
|
+
v ? M += c[h].field : F(c[h].field) ? M += w(c[h].field) : c[h].field.includes("[") ? M += b(c[h].field) : M += c[h].field.split(".").at(-1);
|
|
1207
1207
|
const Y = /* @__PURE__ */ new Set();
|
|
1208
1208
|
for (let E = 0; E < c[h].errors.length; E++) {
|
|
1209
1209
|
if (F("error.apiValidation." + c[h].errors[E])) {
|
|
@@ -1212,11 +1212,11 @@ function In() {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
Y.add(w("error.apiValidation.noTranslation"));
|
|
1214
1214
|
}
|
|
1215
|
-
|
|
1215
|
+
M.length > 0 && k.push(M + ": " + Array.from(Y).join(", "));
|
|
1216
1216
|
}
|
|
1217
1217
|
nt({
|
|
1218
1218
|
group: "alerts",
|
|
1219
|
-
text: k.join(
|
|
1219
|
+
text: k.join(Ds),
|
|
1220
1220
|
duration: f * 1e3,
|
|
1221
1221
|
type: "error"
|
|
1222
1222
|
});
|
|
@@ -1245,7 +1245,7 @@ function In() {
|
|
|
1245
1245
|
duration: c * 1e3,
|
|
1246
1246
|
type: "error"
|
|
1247
1247
|
});
|
|
1248
|
-
}, T = (c, f = -1) =>
|
|
1248
|
+
}, T = (c, f = -1) => ds(c) ? (p(f), !0) : ar(c) ? (m(c.fields, f), !0) : ys(c) ? (a("error.apiDependencyExists.message", f), !0) : hs(c) ? (d(c.detail, f), !0) : Ss(c) ? (a("error.apiTimedOut.message", f), !0) : ws(c) || rs(c) || Qa(c) ? (g(f), !0) : !1, b = (c) => {
|
|
1249
1249
|
const { t: f } = xe.global, v = c.split("["), w = v[0].trim(), F = v[1].split("]"), k = F[0], h = F[1] ?? "";
|
|
1250
1250
|
return f(w) + "[" + k + "]: " + f(w.slice(0, -1) + h);
|
|
1251
1251
|
};
|
|
@@ -1267,15 +1267,15 @@ function In() {
|
|
|
1267
1267
|
showErrorsDefault: T
|
|
1268
1268
|
};
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function no(e) {
|
|
1271
1271
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1272
1272
|
}
|
|
1273
|
-
var Un = { exports: {} },
|
|
1274
|
-
function
|
|
1275
|
-
return
|
|
1273
|
+
var Un = { exports: {} }, ks = Un.exports, ko;
|
|
1274
|
+
function Es() {
|
|
1275
|
+
return ko || (ko = 1, (function(e, n) {
|
|
1276
1276
|
(function(t, a) {
|
|
1277
1277
|
e.exports = a();
|
|
1278
|
-
})(
|
|
1278
|
+
})(ks, (function() {
|
|
1279
1279
|
var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", l = "minute", i = "hour", u = "day", m = "week", d = "month", g = "quarter", p = "year", T = "date", b = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, f = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, v = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
|
|
1280
1280
|
var S = ["th", "st", "nd", "rd"], y = _ % 100;
|
|
1281
1281
|
return "[" + _ + (S[(y - 20) % 10] || S[y] || S[0]) + "]";
|
|
@@ -1297,8 +1297,8 @@ function As() {
|
|
|
1297
1297
|
return _ === void 0;
|
|
1298
1298
|
} }, k = "en", h = {};
|
|
1299
1299
|
h[k] = v;
|
|
1300
|
-
var
|
|
1301
|
-
return _ instanceof
|
|
1300
|
+
var M = "$isDayjsObject", Y = function(_) {
|
|
1301
|
+
return _ instanceof I || !(!_ || !_[M]);
|
|
1302
1302
|
}, E = function _(S, y, C) {
|
|
1303
1303
|
var x;
|
|
1304
1304
|
if (!S) return k;
|
|
@@ -1315,14 +1315,14 @@ function As() {
|
|
|
1315
1315
|
}, $ = function(_, S) {
|
|
1316
1316
|
if (Y(_)) return _.clone();
|
|
1317
1317
|
var y = typeof S == "object" ? S : {};
|
|
1318
|
-
return y.date = _, y.args = arguments, new
|
|
1318
|
+
return y.date = _, y.args = arguments, new I(y);
|
|
1319
1319
|
}, N = F;
|
|
1320
1320
|
N.l = E, N.i = Y, N.w = function(_, S) {
|
|
1321
1321
|
return $(_, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
|
|
1322
1322
|
};
|
|
1323
|
-
var
|
|
1323
|
+
var I = (function() {
|
|
1324
1324
|
function _(y) {
|
|
1325
|
-
this.$L = E(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[
|
|
1325
|
+
this.$L = E(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[M] = !0;
|
|
1326
1326
|
}
|
|
1327
1327
|
var S = _.prototype;
|
|
1328
1328
|
return S.parse = function(y) {
|
|
@@ -1535,27 +1535,27 @@ function As() {
|
|
|
1535
1535
|
}, S.toString = function() {
|
|
1536
1536
|
return this.$d.toUTCString();
|
|
1537
1537
|
}, _;
|
|
1538
|
-
})(), A =
|
|
1538
|
+
})(), A = I.prototype;
|
|
1539
1539
|
return $.prototype = A, [["$ms", o], ["$s", s], ["$m", l], ["$H", i], ["$W", u], ["$M", d], ["$y", p], ["$D", T]].forEach((function(_) {
|
|
1540
1540
|
A[_[1]] = function(S) {
|
|
1541
1541
|
return this.$g(S, _[0], _[1]);
|
|
1542
1542
|
};
|
|
1543
1543
|
})), $.extend = function(_, S) {
|
|
1544
|
-
return _.$i || (_(S,
|
|
1544
|
+
return _.$i || (_(S, I, $), _.$i = !0), $;
|
|
1545
1545
|
}, $.locale = E, $.isDayjs = Y, $.unix = function(_) {
|
|
1546
1546
|
return $(1e3 * _);
|
|
1547
1547
|
}, $.en = h[k], $.Ls = h, $.p = {}, $;
|
|
1548
1548
|
}));
|
|
1549
1549
|
})(Un)), Un.exports;
|
|
1550
1550
|
}
|
|
1551
|
-
var
|
|
1552
|
-
const le = /* @__PURE__ */
|
|
1553
|
-
var Vn = { exports: {} },
|
|
1554
|
-
function
|
|
1555
|
-
return
|
|
1551
|
+
var Ts = Es();
|
|
1552
|
+
const le = /* @__PURE__ */ no(Ts);
|
|
1553
|
+
var Vn = { exports: {} }, As = Vn.exports, Eo;
|
|
1554
|
+
function xs() {
|
|
1555
|
+
return Eo || (Eo = 1, (function(e, n) {
|
|
1556
1556
|
(function(t, a) {
|
|
1557
1557
|
e.exports = a();
|
|
1558
|
-
})(
|
|
1558
|
+
})(As, (function() {
|
|
1559
1559
|
var t = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
|
|
1560
1560
|
return function(o, s, l) {
|
|
1561
1561
|
var i = s.prototype;
|
|
@@ -1587,7 +1587,7 @@ function Is() {
|
|
|
1587
1587
|
k === void 0 && (k = "");
|
|
1588
1588
|
var h = k.match(a);
|
|
1589
1589
|
if (!h) return null;
|
|
1590
|
-
var
|
|
1590
|
+
var M = ("" + h[0]).match(r) || ["-", 0, 0], Y = M[0], E = 60 * +M[1] + +M[2];
|
|
1591
1591
|
return E === 0 ? 0 : Y === "+" ? E : -E;
|
|
1592
1592
|
})(b), b === null)) return this;
|
|
1593
1593
|
var v = Math.abs(b) <= 16 ? 60 * b : b;
|
|
@@ -1625,14 +1625,14 @@ function Is() {
|
|
|
1625
1625
|
}));
|
|
1626
1626
|
})(Vn)), Vn.exports;
|
|
1627
1627
|
}
|
|
1628
|
-
var
|
|
1629
|
-
const
|
|
1630
|
-
var Hn = { exports: {} },
|
|
1631
|
-
function
|
|
1632
|
-
return
|
|
1628
|
+
var _s = xs();
|
|
1629
|
+
const rr = /* @__PURE__ */ no(_s);
|
|
1630
|
+
var Hn = { exports: {} }, Ms = Hn.exports, To;
|
|
1631
|
+
function Is() {
|
|
1632
|
+
return To || (To = 1, (function(e, n) {
|
|
1633
1633
|
(function(t, a) {
|
|
1634
1634
|
e.exports = a();
|
|
1635
|
-
})(
|
|
1635
|
+
})(Ms, (function() {
|
|
1636
1636
|
var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d/, o = /\d\d/, s = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, i = {}, u = function(c) {
|
|
1637
1637
|
return (c = +c) + (c > 68 ? 1900 : 2e3);
|
|
1638
1638
|
}, m = function(c) {
|
|
@@ -1688,18 +1688,18 @@ function Fs() {
|
|
|
1688
1688
|
function b(c) {
|
|
1689
1689
|
var f, v;
|
|
1690
1690
|
f = c, v = i && i.formats;
|
|
1691
|
-
for (var w = (c = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, N,
|
|
1692
|
-
var A =
|
|
1693
|
-
return N || v[
|
|
1691
|
+
for (var w = (c = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, N, I) {
|
|
1692
|
+
var A = I && I.toUpperCase();
|
|
1693
|
+
return N || v[I] || t[I] || v[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(_, S, y) {
|
|
1694
1694
|
return S || y.slice(1);
|
|
1695
1695
|
}));
|
|
1696
1696
|
}))).match(a), F = w.length, k = 0; k < F; k += 1) {
|
|
1697
|
-
var h = w[k],
|
|
1697
|
+
var h = w[k], M = T[h], Y = M && M[0], E = M && M[1];
|
|
1698
1698
|
w[k] = E ? { regex: Y, parser: E } : h.replace(/^\[|\]$/g, "");
|
|
1699
1699
|
}
|
|
1700
1700
|
return function($) {
|
|
1701
|
-
for (var N = {},
|
|
1702
|
-
var _ = w[
|
|
1701
|
+
for (var N = {}, I = 0, A = 0; I < F; I += 1) {
|
|
1702
|
+
var _ = w[I];
|
|
1703
1703
|
if (typeof _ == "string") A += _.length;
|
|
1704
1704
|
else {
|
|
1705
1705
|
var S = _.regex, y = _.parser, C = $.slice(A), x = S.exec(C)[0];
|
|
@@ -1719,22 +1719,22 @@ function Fs() {
|
|
|
1719
1719
|
v.p.customParseFormat = !0, c && c.parseTwoDigitYear && (u = c.parseTwoDigitYear);
|
|
1720
1720
|
var w = f.prototype, F = w.parse;
|
|
1721
1721
|
w.parse = function(k) {
|
|
1722
|
-
var h = k.date,
|
|
1723
|
-
this.$u =
|
|
1722
|
+
var h = k.date, M = k.utc, Y = k.args;
|
|
1723
|
+
this.$u = M;
|
|
1724
1724
|
var E = Y[1];
|
|
1725
1725
|
if (typeof E == "string") {
|
|
1726
|
-
var $ = Y[2] === !0, N = Y[3] === !0,
|
|
1726
|
+
var $ = Y[2] === !0, N = Y[3] === !0, I = $ || N, A = Y[2];
|
|
1727
1727
|
N && (A = Y[2]), i = this.$locale(), !$ && A && (i = v.Ls[A]), this.$d = (function(C, x, R, j) {
|
|
1728
1728
|
try {
|
|
1729
1729
|
if (["x", "X"].indexOf(x) > -1) return new Date((x === "X" ? 1e3 : 1) * C);
|
|
1730
|
-
var Q = b(x)(C), re = Q.year, ve = Q.month, Te = Q.day, ke = Q.hours, W = Q.minutes, te = Q.seconds, q = Q.milliseconds, K = Q.zone, ge = Q.week, Z = /* @__PURE__ */ new Date(), ee = Te || (re || ve ? 1 : Z.getDate()), se = re || Z.getFullYear(),
|
|
1731
|
-
re && !ve || (
|
|
1730
|
+
var Q = b(x)(C), re = Q.year, ve = Q.month, Te = Q.day, ke = Q.hours, W = Q.minutes, te = Q.seconds, q = Q.milliseconds, K = Q.zone, ge = Q.week, Z = /* @__PURE__ */ new Date(), ee = Te || (re || ve ? 1 : Z.getDate()), se = re || Z.getFullYear(), Me = 0;
|
|
1731
|
+
re && !ve || (Me = ve > 0 ? ve - 1 : Z.getMonth());
|
|
1732
1732
|
var Nt, z = ke || 0, ie = W || 0, Ce = te || 0, be = q || 0;
|
|
1733
|
-
return K ? new Date(Date.UTC(se,
|
|
1733
|
+
return K ? new Date(Date.UTC(se, Me, ee, z, ie, Ce, be + 60 * K.offset * 1e3)) : R ? new Date(Date.UTC(se, Me, ee, z, ie, Ce, be)) : (Nt = new Date(se, Me, ee, z, ie, Ce, be), ge && (Nt = j(Nt).week(ge).toDate()), Nt);
|
|
1734
1734
|
} catch {
|
|
1735
1735
|
return /* @__PURE__ */ new Date("");
|
|
1736
1736
|
}
|
|
1737
|
-
})(h, E,
|
|
1737
|
+
})(h, E, M, v), this.init(), A && A !== !0 && (this.$L = this.locale(A).$L), I && h != this.format(E) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
|
|
1738
1738
|
} else if (E instanceof Array) for (var _ = E.length, S = 1; S <= _; S += 1) {
|
|
1739
1739
|
Y[1] = E[S - 1];
|
|
1740
1740
|
var y = v.apply(this, Y);
|
|
@@ -1750,30 +1750,30 @@ function Fs() {
|
|
|
1750
1750
|
}));
|
|
1751
1751
|
})(Hn)), Hn.exports;
|
|
1752
1752
|
}
|
|
1753
|
-
var
|
|
1754
|
-
const
|
|
1755
|
-
le.extend(
|
|
1756
|
-
le.extend(
|
|
1757
|
-
const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000000Z", fa = "2100-01-01T00:00:00.000000Z",
|
|
1753
|
+
var $s = Is();
|
|
1754
|
+
const lr = /* @__PURE__ */ no($s);
|
|
1755
|
+
le.extend(rr);
|
|
1756
|
+
le.extend(lr);
|
|
1757
|
+
const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000000Z", fa = "2100-01-01T00:00:00.000000Z", wd = () => le().utc().toDate(), Fs = (e) => le(e).toDate(), Dd = () => bl(le().utc().unix()), Dn = (e = !0, n = !1) => e && !n ? le().utc().format("YYYY-MM-DDTHH:mm:ss") + At : e && n ? le().utc().format("YYYY-MM-DDTHH:mm:00") + At : !e && n ? le().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : le().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", kd = (e = 0) => e === 0 ? le().startOf("day").utc().format(Xn) + At : le().add(e, "days").startOf("day").utc().format(Xn) + At, Ed = (e = 0) => e === 0 ? le().endOf("day").utc().format(Xn) + At : le().add(e, "days").endOf("day").utc().format(Xn) + At, Os = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? le(n).add(e, "minutes").toDate() : e < 0 ? le(n).subtract(Math.abs(e), "minutes").toDate() : n), Ba = (e, n = At) => le(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, Td = () => le().utc().format("YYYY"), dn = (e, n = "", t = !1) => e === fa || e === da || e === "" || G(e) || D(e) ? n : le(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Ad = (e, n = "", t = !1) => {
|
|
1758
1758
|
if (e === fa || e === da || e === "" || G(e) || D(e))
|
|
1759
1759
|
return n;
|
|
1760
1760
|
let a = !0, r = !0;
|
|
1761
1761
|
const o = le(e), s = le();
|
|
1762
1762
|
return s.format("YYYY") === o.format("YYYY") && (a = !1), s.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (r = !1), !a && !r ? le(o).format(t ? "H:mm:ss" : "H:mm") : a ? le(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : le(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
|
|
1763
|
-
},
|
|
1763
|
+
}, xd = (e, n = "") => e === fa || e === da || e === "" || G(e) || D(e) ? n : le(e).format("DD.MM.YYYY"), _d = (e, n = "") => e === fa || e === da || e === "" || G(e) || D(e) ? n : le(e).format("HH:mm"), Md = (e, n, t = "ms") => {
|
|
1764
1764
|
const a = le(e), r = le(n);
|
|
1765
1765
|
return a.diff(r, t);
|
|
1766
|
-
}, ya = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e),
|
|
1766
|
+
}, ya = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), Bs = (e, n, t = 0, a = !1) => {
|
|
1767
1767
|
const r = new Date(e);
|
|
1768
1768
|
r.setMonth(r.getMonth() + t), r.setDate(1), r.setHours(0, 0, 0, 0);
|
|
1769
1769
|
const o = new Date(e);
|
|
1770
1770
|
return a ? o.setMonth(o.getMonth() + 1, 0) : o.setMonth(o.getMonth() + t + 1, 0), o.setHours(23, 59, 59, 999), n === "utc" ? {
|
|
1771
|
-
from:
|
|
1772
|
-
until:
|
|
1771
|
+
from: Ba(r),
|
|
1772
|
+
until: Ba(o)
|
|
1773
1773
|
} : { from: r, until: o };
|
|
1774
|
-
}, Ca =
|
|
1774
|
+
}, Ca = Bs, ma = (e) => {
|
|
1775
1775
|
e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
|
|
1776
|
-
},
|
|
1776
|
+
}, sr = /* @__PURE__ */ Se({
|
|
1777
1777
|
__name: "AFilterSubmitButton",
|
|
1778
1778
|
props: {
|
|
1779
1779
|
buttonT: { default: "common.button.submitFilter" },
|
|
@@ -1800,7 +1800,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
|
|
|
1800
1800
|
_: 1
|
|
1801
1801
|
}, 8, ["class", "data-cy", "variant"]));
|
|
1802
1802
|
}
|
|
1803
|
-
}),
|
|
1803
|
+
}), ir = /* @__PURE__ */ Se({
|
|
1804
1804
|
__name: "AFilterResetButton",
|
|
1805
1805
|
props: {
|
|
1806
1806
|
tooltipT: { default: "common.button.resetFilter" },
|
|
@@ -1837,14 +1837,14 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
|
|
|
1837
1837
|
_: 1
|
|
1838
1838
|
}, 8, ["class", "data-cy"]));
|
|
1839
1839
|
}
|
|
1840
|
-
}),
|
|
1840
|
+
}), Rs = (e) => {
|
|
1841
1841
|
const n = Object.getOwnPropertyNames(e);
|
|
1842
1842
|
for (const t of n) {
|
|
1843
1843
|
const a = e[t];
|
|
1844
|
-
a && typeof a == "object" &&
|
|
1844
|
+
a && typeof a == "object" && Rs(a);
|
|
1845
1845
|
}
|
|
1846
1846
|
return Object.freeze(e);
|
|
1847
|
-
},
|
|
1847
|
+
}, Id = (e) => Object.keys(e).map((n) => e[n]), $d = (e, n, t = ".") => {
|
|
1848
1848
|
const a = n.split(t);
|
|
1849
1849
|
let r = e;
|
|
1850
1850
|
for (; a.length; ) {
|
|
@@ -1853,7 +1853,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
|
|
|
1853
1853
|
r = r[o];
|
|
1854
1854
|
}
|
|
1855
1855
|
return r;
|
|
1856
|
-
},
|
|
1856
|
+
}, Ps = (e, n, t, a = ".") => {
|
|
1857
1857
|
const r = n.split(a);
|
|
1858
1858
|
let o = e;
|
|
1859
1859
|
for (; r.length - 1; ) {
|
|
@@ -1863,7 +1863,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
|
|
|
1863
1863
|
}
|
|
1864
1864
|
o[r[0]] = t;
|
|
1865
1865
|
};
|
|
1866
|
-
function
|
|
1866
|
+
function Fd(e, n, t = ".") {
|
|
1867
1867
|
const a = n.split(t), r = a.length - 1;
|
|
1868
1868
|
function o(s, l = 0) {
|
|
1869
1869
|
const i = a[l];
|
|
@@ -1875,80 +1875,80 @@ function Rd(e, n, t = ".") {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
return o(e), e;
|
|
1877
1877
|
}
|
|
1878
|
-
const
|
|
1878
|
+
const In = (e, n, t = "") => pn(n) ? e : yl(
|
|
1879
1879
|
t === "" ? e : t,
|
|
1880
1880
|
n
|
|
1881
|
-
), $n = (e) =>
|
|
1882
|
-
e().get(
|
|
1883
|
-
}), { t:
|
|
1884
|
-
function
|
|
1885
|
-
return et({ t:
|
|
1881
|
+
), $n = (e) => cs.includes(e), Od = (e, n, t = {}, a, r, o = {}) => new Promise((s, l) => {
|
|
1882
|
+
e().get(In(n, t), o).then((i) => $n(i.status) ? i.data ? s(i.data) : i.status === Qt ? s(null) : l(new ut()) : l(new nn(i.status))).catch((i) => Tn(i) ? l(new en(i, i.config?.url)) : An(i) ? l(new tn(i, a, r, i)) : _n(i) ? l(new on(i, a, r, i)) : xn(i) ? l(new an(i, i)) : l(new ut(i)));
|
|
1883
|
+
}), { t: Ls } = xe.global;
|
|
1884
|
+
function Ns() {
|
|
1885
|
+
return et({ t: Ls })(Qr, {
|
|
1886
1886
|
withArguments: !0,
|
|
1887
1887
|
messagePath: () => "error.jsValidation.between"
|
|
1888
1888
|
});
|
|
1889
1889
|
}
|
|
1890
|
+
const { t: Ys } = xe.global;
|
|
1891
|
+
function Us() {
|
|
1892
|
+
return et({ t: Ys })(el, {
|
|
1893
|
+
messagePath: () => "error.jsValidation.email"
|
|
1894
|
+
});
|
|
1895
|
+
}
|
|
1890
1896
|
const { t: Vs } = xe.global;
|
|
1891
1897
|
function Hs() {
|
|
1892
|
-
return et({ t: Vs })(
|
|
1893
|
-
|
|
1898
|
+
return et({ t: Vs })(tl, {
|
|
1899
|
+
withArguments: !0,
|
|
1900
|
+
messagePath: () => "error.jsValidation.maxLength"
|
|
1894
1901
|
});
|
|
1895
1902
|
}
|
|
1896
1903
|
const { t: js } = xe.global;
|
|
1897
1904
|
function qs() {
|
|
1898
|
-
return et({ t: js })(
|
|
1905
|
+
return et({ t: js })(nl, {
|
|
1899
1906
|
withArguments: !0,
|
|
1900
|
-
messagePath: () => "error.jsValidation.
|
|
1907
|
+
messagePath: () => "error.jsValidation.maxValue"
|
|
1901
1908
|
});
|
|
1902
1909
|
}
|
|
1903
1910
|
const { t: zs } = xe.global;
|
|
1904
1911
|
function Ws() {
|
|
1905
|
-
return et({ t: zs })(
|
|
1912
|
+
return et({ t: zs })(al, {
|
|
1906
1913
|
withArguments: !0,
|
|
1907
|
-
messagePath: () => "error.jsValidation.
|
|
1914
|
+
messagePath: () => "error.jsValidation.minLength"
|
|
1908
1915
|
});
|
|
1909
1916
|
}
|
|
1910
1917
|
const { t: Ks } = xe.global;
|
|
1911
1918
|
function Gs() {
|
|
1912
|
-
return et({ t: Ks })(
|
|
1919
|
+
return et({ t: Ks })(ol, {
|
|
1913
1920
|
withArguments: !0,
|
|
1914
|
-
messagePath: () => "error.jsValidation.
|
|
1921
|
+
messagePath: () => "error.jsValidation.minValue"
|
|
1915
1922
|
});
|
|
1916
1923
|
}
|
|
1917
1924
|
const { t: Xs } = xe.global;
|
|
1918
1925
|
function Zs() {
|
|
1919
|
-
return et({ t: Xs })(
|
|
1920
|
-
|
|
1921
|
-
messagePath: () => "error.jsValidation.minValue"
|
|
1926
|
+
return et({ t: Xs })(rl, {
|
|
1927
|
+
messagePath: () => "error.jsValidation.numeric"
|
|
1922
1928
|
});
|
|
1923
1929
|
}
|
|
1924
1930
|
const { t: Js } = xe.global;
|
|
1925
1931
|
function Qs() {
|
|
1926
|
-
return et({ t: Js })(
|
|
1927
|
-
messagePath: () => "error.jsValidation.
|
|
1932
|
+
return et({ t: Js })(ll, {
|
|
1933
|
+
messagePath: () => "error.jsValidation.required"
|
|
1928
1934
|
});
|
|
1929
1935
|
}
|
|
1930
1936
|
const { t: ei } = xe.global;
|
|
1931
1937
|
function ti() {
|
|
1932
|
-
return et({ t: ei })(
|
|
1938
|
+
return et({ t: ei })(sl, {
|
|
1939
|
+
withArguments: !0,
|
|
1933
1940
|
messagePath: () => "error.jsValidation.required"
|
|
1934
1941
|
});
|
|
1935
1942
|
}
|
|
1936
1943
|
const { t: ni } = xe.global;
|
|
1937
1944
|
function ai() {
|
|
1938
|
-
return et({ t: ni })(
|
|
1939
|
-
|
|
1940
|
-
messagePath: () => "error.jsValidation.required"
|
|
1945
|
+
return et({ t: ni })(Ko.regex(/^[a-z\-0-9]+$/), {
|
|
1946
|
+
messagePath: () => "error.jsValidation.slug"
|
|
1941
1947
|
});
|
|
1942
1948
|
}
|
|
1943
1949
|
const { t: oi } = xe.global;
|
|
1944
1950
|
function ri() {
|
|
1945
|
-
|
|
1946
|
-
messagePath: () => "error.jsValidation.slug"
|
|
1947
|
-
});
|
|
1948
|
-
}
|
|
1949
|
-
const { t: li } = xe.global;
|
|
1950
|
-
function si() {
|
|
1951
|
-
const e = et({ t: li }), n = (a, r) => (o) => !Xo.req(o) || o.every((s) => s.length >= H(a) && s.length <= H(r));
|
|
1951
|
+
const e = et({ t: oi }), n = (a, r) => (o) => !Ko.req(o) || o.every((s) => s.length >= H(a) && s.length <= H(r));
|
|
1952
1952
|
return e((a, r) => ({
|
|
1953
1953
|
$validator: n(a, r),
|
|
1954
1954
|
// $message not required when using i18n
|
|
@@ -1966,15 +1966,15 @@ function si() {
|
|
|
1966
1966
|
messagePath: () => "error.jsValidation.stringArrayItemLength"
|
|
1967
1967
|
});
|
|
1968
1968
|
}
|
|
1969
|
-
const { t:
|
|
1970
|
-
function
|
|
1971
|
-
return et({ t:
|
|
1969
|
+
const { t: li } = xe.global;
|
|
1970
|
+
function si() {
|
|
1971
|
+
return et({ t: li })(il, {
|
|
1972
1972
|
messagePath: () => "error.jsValidation.url"
|
|
1973
1973
|
});
|
|
1974
1974
|
}
|
|
1975
|
-
const { t:
|
|
1976
|
-
function
|
|
1977
|
-
const e = et({ t:
|
|
1975
|
+
const { t: ii } = xe.global;
|
|
1976
|
+
function ui() {
|
|
1977
|
+
const e = et({ t: ii }), n = (a, r, o) => (s) => {
|
|
1978
1978
|
const l = H(a);
|
|
1979
1979
|
if (s === null && l === null || s === null || l === null)
|
|
1980
1980
|
return !0;
|
|
@@ -2004,24 +2004,24 @@ function di() {
|
|
|
2004
2004
|
messagePath: (a) => `error.jsValidation.datesCompare.${a.$params.variant}`
|
|
2005
2005
|
});
|
|
2006
2006
|
}
|
|
2007
|
-
function
|
|
2007
|
+
function ao() {
|
|
2008
2008
|
return {
|
|
2009
|
-
required:
|
|
2010
|
-
requiredIf:
|
|
2011
|
-
minLength:
|
|
2012
|
-
maxLength:
|
|
2013
|
-
minValue:
|
|
2014
|
-
maxValue:
|
|
2015
|
-
between:
|
|
2016
|
-
email:
|
|
2017
|
-
numeric:
|
|
2018
|
-
slug:
|
|
2019
|
-
url:
|
|
2020
|
-
stringArrayItemLength:
|
|
2021
|
-
datesCompare:
|
|
2009
|
+
required: Qs(),
|
|
2010
|
+
requiredIf: ti(),
|
|
2011
|
+
minLength: Ws(),
|
|
2012
|
+
maxLength: Hs(),
|
|
2013
|
+
minValue: Gs(),
|
|
2014
|
+
maxValue: qs(),
|
|
2015
|
+
between: Ns(),
|
|
2016
|
+
email: Us(),
|
|
2017
|
+
numeric: Zs(),
|
|
2018
|
+
slug: ai(),
|
|
2019
|
+
url: si(),
|
|
2020
|
+
stringArrayItemLength: ri(),
|
|
2021
|
+
datesCompare: ui()
|
|
2022
2022
|
};
|
|
2023
2023
|
}
|
|
2024
|
-
const
|
|
2024
|
+
const ci = { class: "a-datetime-picker-time" }, di = { class: "a-datetime-picker-time__item a-datetime-picker-time__item" }, fi = { class: "a-datetime-picker-time__arrows" }, mi = { class: "a-datetime-picker-time__item" }, vi = { class: "a-datetime-picker-time__arrows" }, pi = /* @__PURE__ */ Se({
|
|
2025
2025
|
__name: "TimePicker",
|
|
2026
2026
|
props: {
|
|
2027
2027
|
modelValue: {
|
|
@@ -2084,11 +2084,11 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2084
2084
|
}
|
|
2085
2085
|
if (k === 59) {
|
|
2086
2086
|
s.value = "00";
|
|
2087
|
-
const
|
|
2088
|
-
o.value = String(
|
|
2087
|
+
const M = isNaN(h) ? 1 : (h + 1) % 24;
|
|
2088
|
+
o.value = String(M).padStart(2, "0");
|
|
2089
2089
|
} else {
|
|
2090
|
-
const
|
|
2091
|
-
s.value = String(
|
|
2090
|
+
const M = k + 1;
|
|
2091
|
+
s.value = String(M).padStart(2, "0");
|
|
2092
2092
|
}
|
|
2093
2093
|
}, w = () => {
|
|
2094
2094
|
const k = parseInt(s.value || "0"), h = parseInt(o.value || "0");
|
|
@@ -2098,17 +2098,17 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2098
2098
|
}
|
|
2099
2099
|
if (k === 0) {
|
|
2100
2100
|
s.value = "59";
|
|
2101
|
-
const
|
|
2102
|
-
o.value = String(
|
|
2101
|
+
const M = isNaN(h) ? 23 : (h - 1 + 24) % 24;
|
|
2102
|
+
o.value = String(M).padStart(2, "0");
|
|
2103
2103
|
} else {
|
|
2104
|
-
const
|
|
2105
|
-
s.value = String(
|
|
2104
|
+
const M = k - 1;
|
|
2105
|
+
s.value = String(M).padStart(2, "0");
|
|
2106
2106
|
}
|
|
2107
2107
|
}, F = () => {
|
|
2108
2108
|
l.value?.focus();
|
|
2109
2109
|
};
|
|
2110
|
-
return Ae([o, s], ([k, h], [
|
|
2111
|
-
if (k ===
|
|
2110
|
+
return Ae([o, s], ([k, h], [M, Y]) => {
|
|
2111
|
+
if (k === M && h === Y) return;
|
|
2112
2112
|
const E = parseInt(
|
|
2113
2113
|
k ?? (r.value ? r.value.hours.toString() : "12")
|
|
2114
2114
|
), $ = parseInt(
|
|
@@ -2117,12 +2117,12 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2117
2117
|
E >= 0 && E <= 23 && $ >= 0 && $ <= 59 && (r.value = { hours: E, minutes: $ });
|
|
2118
2118
|
}), n({
|
|
2119
2119
|
focusHour: F
|
|
2120
|
-
}), (k, h) => (P(), de("div",
|
|
2121
|
-
Ee("div",
|
|
2120
|
+
}), (k, h) => (P(), de("div", ci, [
|
|
2121
|
+
Ee("div", di, [
|
|
2122
2122
|
Sn(Ee("input", {
|
|
2123
2123
|
ref_key: "hoursRefInput",
|
|
2124
2124
|
ref: l,
|
|
2125
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
2125
|
+
"onUpdate:modelValue": h[0] || (h[0] = (M) => u.value = M),
|
|
2126
2126
|
class: "a-datetime-picker-time__input a-datetime-picker-time__input--hours",
|
|
2127
2127
|
type: "text",
|
|
2128
2128
|
"aria-label": "Hour",
|
|
@@ -2131,11 +2131,11 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2131
2131
|
max: "23",
|
|
2132
2132
|
onFocus: d,
|
|
2133
2133
|
onBlur: g,
|
|
2134
|
-
onKeyup:
|
|
2134
|
+
onKeyup: $a(T, ["enter"])
|
|
2135
2135
|
}, null, 544), [
|
|
2136
|
-
[
|
|
2136
|
+
[fo, u.value]
|
|
2137
2137
|
]),
|
|
2138
|
-
Ee("div",
|
|
2138
|
+
Ee("div", fi, [
|
|
2139
2139
|
O(Ne, {
|
|
2140
2140
|
tabindex: "-1",
|
|
2141
2141
|
variant: "text",
|
|
@@ -2161,11 +2161,11 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2161
2161
|
])
|
|
2162
2162
|
]),
|
|
2163
2163
|
h[2] || (h[2] = Ee("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
|
|
2164
|
-
Ee("div",
|
|
2164
|
+
Ee("div", mi, [
|
|
2165
2165
|
Sn(Ee("input", {
|
|
2166
2166
|
ref_key: "minutesRefInput",
|
|
2167
2167
|
ref: i,
|
|
2168
|
-
"onUpdate:modelValue": h[1] || (h[1] = (
|
|
2168
|
+
"onUpdate:modelValue": h[1] || (h[1] = (M) => m.value = M),
|
|
2169
2169
|
class: "a-datetime-picker-time__input a-datetime-picker-time__input--minutes",
|
|
2170
2170
|
type: "text",
|
|
2171
2171
|
"aria-label": "Minute",
|
|
@@ -2174,11 +2174,11 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2174
2174
|
max: "59",
|
|
2175
2175
|
onFocus: d,
|
|
2176
2176
|
onBlur: p,
|
|
2177
|
-
onKeyup:
|
|
2177
|
+
onKeyup: $a(b, ["enter"])
|
|
2178
2178
|
}, null, 544), [
|
|
2179
|
-
[
|
|
2179
|
+
[fo, m.value]
|
|
2180
2180
|
]),
|
|
2181
|
-
Ee("div",
|
|
2181
|
+
Ee("div", vi, [
|
|
2182
2182
|
O(Ne, {
|
|
2183
2183
|
tabindex: "-1",
|
|
2184
2184
|
variant: "text",
|
|
@@ -2205,10 +2205,10 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2205
2205
|
])
|
|
2206
2206
|
]));
|
|
2207
2207
|
}
|
|
2208
|
-
}),
|
|
2208
|
+
}), hi = /* @__PURE__ */ Ka(pi, [["__scopeId", "data-v-4d56d16e"]]), gi = { class: "d-flex" }, bi = { class: "ml-1" }, yi = {
|
|
2209
2209
|
key: 0,
|
|
2210
2210
|
class: "required"
|
|
2211
|
-
},
|
|
2211
|
+
}, Ci = /* @__PURE__ */ Se({
|
|
2212
2212
|
__name: "ADatetimePicker",
|
|
2213
2213
|
props: {
|
|
2214
2214
|
modelValue: {},
|
|
@@ -2229,8 +2229,8 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2229
2229
|
emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose", "afterClear"],
|
|
2230
2230
|
setup(e, { emit: n }) {
|
|
2231
2231
|
const t = e, a = n;
|
|
2232
|
-
le.extend(
|
|
2233
|
-
const r = L(!1), o = L(0), s = L(0), l = Ot("timePickerInstance"), i = Ot("inputInstance"), u = Ot("confirmRefButton"), m = L(""), d = L(null), g = L(null), p = L(null), { t: T } = Re(), b = U(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: c } =
|
|
2232
|
+
le.extend(rr), le.extend(lr);
|
|
2233
|
+
const r = L(!1), o = L(0), s = L(0), l = Ot("timePickerInstance"), i = Ot("inputInstance"), u = Ot("confirmRefButton"), m = L(""), d = L(null), g = L(null), p = L(null), { t: T } = Re(), b = U(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: c } = ao(), f = U(() => ({
|
|
2234
2234
|
textFieldValue: {
|
|
2235
2235
|
required: c(t.required)
|
|
2236
2236
|
}
|
|
@@ -2252,10 +2252,10 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2252
2252
|
},
|
|
2253
2253
|
{ immediate: !0 }
|
|
2254
2254
|
);
|
|
2255
|
-
const h = (C, x) => G(C) ? x : x.set("date", C.getDate()).set("month", C.getMonth()).set("year", C.getFullYear()),
|
|
2255
|
+
const h = (C, x) => G(C) ? x : x.set("date", C.getDate()).set("month", C.getMonth()).set("year", C.getFullYear()), M = (C, x) => G(C) ? x : x.set("hour", C.hours).set("minute", C.minutes);
|
|
2256
2256
|
Ae([g, d], ([C, x]) => {
|
|
2257
2257
|
let R = null;
|
|
2258
|
-
G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? R = le().hour(0).minute(0).second(59).millisecond(999) : R = le().hour(0).minute(0).second(0).millisecond(0) : R = le(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : R = p.value, R =
|
|
2258
|
+
G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? R = le().hour(0).minute(0).second(59).millisecond(999) : R = le().hour(0).minute(0).second(0).millisecond(0) : R = le(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : R = p.value, R = M(C, R), R = h(x, R), !R.isSame(aa(p.value)) && (p.value = R);
|
|
2259
2259
|
}), Ae(
|
|
2260
2260
|
p,
|
|
2261
2261
|
(C) => {
|
|
@@ -2301,7 +2301,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2301
2301
|
p.value = le(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
|
|
2302
2302
|
}, N = () => {
|
|
2303
2303
|
r.value = !1, i.value?.focus(), i.value?.blur(), a("onClose"), a("blur");
|
|
2304
|
-
},
|
|
2304
|
+
}, I = () => {
|
|
2305
2305
|
a("focus");
|
|
2306
2306
|
}, A = () => {
|
|
2307
2307
|
r.value = !1;
|
|
@@ -2327,8 +2327,8 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2327
2327
|
disabled: e.disabled,
|
|
2328
2328
|
autocomplete: "off",
|
|
2329
2329
|
onBlur: E,
|
|
2330
|
-
onFocus:
|
|
2331
|
-
onKeyup:
|
|
2330
|
+
onFocus: I,
|
|
2331
|
+
onKeyup: $a(E, ["enter"])
|
|
2332
2332
|
}, Pt({
|
|
2333
2333
|
"append-inner": B(() => [
|
|
2334
2334
|
e.clearable && e.defaultValue !== e.modelValue ? (P(), X(Be, {
|
|
@@ -2337,7 +2337,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2337
2337
|
icon: "mdi-close-circle",
|
|
2338
2338
|
onClick: ye($, ["stop"])
|
|
2339
2339
|
})) : ce("", !0),
|
|
2340
|
-
e.disabled ? ce("", !0) : (P(), X(
|
|
2340
|
+
e.disabled ? ce("", !0) : (P(), X(Wa, {
|
|
2341
2341
|
key: 1,
|
|
2342
2342
|
location: "bottom end",
|
|
2343
2343
|
origin: "top end",
|
|
@@ -2371,9 +2371,9 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2371
2371
|
]),
|
|
2372
2372
|
_: 1
|
|
2373
2373
|
})), [
|
|
2374
|
-
[
|
|
2374
|
+
[Go, H(T)("common.button.close")]
|
|
2375
2375
|
]),
|
|
2376
|
-
(P(), X(
|
|
2376
|
+
(P(), X(ul, it({
|
|
2377
2377
|
key: o.value,
|
|
2378
2378
|
modelValue: d.value,
|
|
2379
2379
|
"onUpdate:modelValue": x[0] || (x[0] = (R) => d.value = R),
|
|
@@ -2381,7 +2381,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2381
2381
|
color: "primary",
|
|
2382
2382
|
"show-adjacent-months": ""
|
|
2383
2383
|
}, C.$attrs, { "onUpdate:modelValue": S }), null, 16, ["modelValue"])),
|
|
2384
|
-
(P(), X(
|
|
2384
|
+
(P(), X(hi, {
|
|
2385
2385
|
ref_key: "timePickerInstance",
|
|
2386
2386
|
ref: l,
|
|
2387
2387
|
key: s.value,
|
|
@@ -2390,7 +2390,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2390
2390
|
onOnEnterKeyup: A,
|
|
2391
2391
|
onFocusConfirm: _
|
|
2392
2392
|
}, null, 8, ["modelValue"])),
|
|
2393
|
-
Ee("div",
|
|
2393
|
+
Ee("div", gi, [
|
|
2394
2394
|
Ee("button", {
|
|
2395
2395
|
type: "button",
|
|
2396
2396
|
class: "a-datetime-picker__bottom-button",
|
|
@@ -2412,7 +2412,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2412
2412
|
]),
|
|
2413
2413
|
_: 1
|
|
2414
2414
|
}, 8, ["model-value"])),
|
|
2415
|
-
Ee("div",
|
|
2415
|
+
Ee("div", bi, [
|
|
2416
2416
|
we(C.$slots, "append-inner", {}, void 0, !0)
|
|
2417
2417
|
])
|
|
2418
2418
|
]),
|
|
@@ -2422,13 +2422,13 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2422
2422
|
name: "label",
|
|
2423
2423
|
fn: B(() => [
|
|
2424
2424
|
De(fe(e.label), 1),
|
|
2425
|
-
e.required ? (P(), de("span",
|
|
2425
|
+
e.required ? (P(), de("span", yi)) : ce("", !0)
|
|
2426
2426
|
]),
|
|
2427
2427
|
key: "0"
|
|
2428
2428
|
}
|
|
2429
2429
|
]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
|
|
2430
2430
|
}
|
|
2431
|
-
}),
|
|
2431
|
+
}), ur = /* @__PURE__ */ Ka(Ci, [["__scopeId", "data-v-1031cc13"]]), Ao = /* @__PURE__ */ Se({
|
|
2432
2432
|
__name: "AFormDatetimePicker",
|
|
2433
2433
|
props: {
|
|
2434
2434
|
modelValue: {},
|
|
@@ -2447,16 +2447,16 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2447
2447
|
get() {
|
|
2448
2448
|
return t.modelValue;
|
|
2449
2449
|
},
|
|
2450
|
-
set(
|
|
2451
|
-
a("update:modelValue",
|
|
2450
|
+
set(M) {
|
|
2451
|
+
a("update:modelValue", M);
|
|
2452
2452
|
}
|
|
2453
|
-
}), { collabOptions: o } = Jt(), s = L((
|
|
2454
|
-
}), l = L((
|
|
2453
|
+
}), { collabOptions: o } = Jt(), s = L((M) => {
|
|
2454
|
+
}), l = L((M) => {
|
|
2455
2455
|
}), i = L(() => {
|
|
2456
2456
|
}), u = L(null);
|
|
2457
2457
|
if (o.value.enabled && he(t.collab)) {
|
|
2458
|
-
const { releaseCollabFieldLock:
|
|
2459
|
-
s.value =
|
|
2458
|
+
const { releaseCollabFieldLock: M, changeCollabFieldData: Y, acquireCollabFieldLock: E, lockedByUser: $ } = ca(t.collab.room, t.collab.field);
|
|
2459
|
+
s.value = M, l.value = Y, i.value = E, Ae(
|
|
2460
2460
|
$,
|
|
2461
2461
|
(N) => {
|
|
2462
2462
|
u.value = N;
|
|
@@ -2468,19 +2468,19 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2468
2468
|
m.value = !0, i.value();
|
|
2469
2469
|
}, p = () => {
|
|
2470
2470
|
s.value(t.modelValue), m.value = !0;
|
|
2471
|
-
}, { t: T } = Re(), b = J(
|
|
2471
|
+
}, { t: T } = Re(), b = J(Ga, void 0), c = J(Xa, void 0), f = () => {
|
|
2472
2472
|
d.value = !1, a("blur", D(t.modelValue) ? null : t.modelValue), t.v?.$touch(), m.value === !1 && s.value(t.modelValue);
|
|
2473
2473
|
}, v = () => {
|
|
2474
2474
|
d.value = !0, a("focus", t.modelValue), i.value();
|
|
2475
|
-
}, w = U(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((
|
|
2475
|
+
}, w = U(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((M) => M.$message).join(" ")] : []), F = U(() => {
|
|
2476
2476
|
if (he(t.label)) return t.label;
|
|
2477
2477
|
if (D(b) || D(c) || D(t.v?.$path)) return "";
|
|
2478
|
-
const { end:
|
|
2479
|
-
return T(b + "." + c + ".model." +
|
|
2478
|
+
const { end: M } = wn(t.v?.$path, ".");
|
|
2479
|
+
return T(b + "." + c + ".model." + M);
|
|
2480
2480
|
}), k = U(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), h = U(() => he(t.disabled) ? t.disabled : !!u.value);
|
|
2481
|
-
return Ae(r, (
|
|
2482
|
-
|
|
2483
|
-
}), (
|
|
2481
|
+
return Ae(r, (M, Y) => {
|
|
2482
|
+
M !== Y && o.value.enabled && (d.value || m.value) && l.value(M);
|
|
2483
|
+
}), (M, Y) => (P(), X(ur, it({
|
|
2484
2484
|
modelValue: r.value,
|
|
2485
2485
|
"onUpdate:modelValue": Y[0] || (Y[0] = (E) => r.value = E),
|
|
2486
2486
|
"data-cy": e.dataCy,
|
|
@@ -2489,14 +2489,14 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2489
2489
|
disabled: h.value,
|
|
2490
2490
|
label: F.value,
|
|
2491
2491
|
clearable: e.clearable
|
|
2492
|
-
},
|
|
2492
|
+
}, M.$attrs, {
|
|
2493
2493
|
onBlur: f,
|
|
2494
2494
|
onFocus: v,
|
|
2495
2495
|
onOnOpen: g,
|
|
2496
2496
|
onOnClose: p
|
|
2497
2497
|
}), {
|
|
2498
2498
|
"append-inner": B(() => [
|
|
2499
|
-
we(
|
|
2499
|
+
we(M.$slots, "locked", { userId: u.value }, () => [
|
|
2500
2500
|
e.collab ? (P(), X(ua, {
|
|
2501
2501
|
key: 0,
|
|
2502
2502
|
id: u.value,
|
|
@@ -2507,7 +2507,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2507
2507
|
_: 3
|
|
2508
2508
|
}, 16, ["modelValue", "data-cy", "error-messages", "required", "disabled", "label", "clearable"]));
|
|
2509
2509
|
}
|
|
2510
|
-
}),
|
|
2510
|
+
}), xo = /* @__PURE__ */ Se({
|
|
2511
2511
|
__name: "AFormSwitch",
|
|
2512
2512
|
props: {
|
|
2513
2513
|
modelValue: { type: Boolean },
|
|
@@ -2546,7 +2546,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2546
2546
|
}, d = () => {
|
|
2547
2547
|
a("focus", t.modelValue), s.value();
|
|
2548
2548
|
}, g = U(() => he(t.disabled) ? t.disabled : !!l.value);
|
|
2549
|
-
return (p, T) => (P(), X(
|
|
2549
|
+
return (p, T) => (P(), X(fl, {
|
|
2550
2550
|
"data-cy": e.dataCy,
|
|
2551
2551
|
"model-value": e.modelValue,
|
|
2552
2552
|
disabled: g.value,
|
|
@@ -2577,19 +2577,19 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
|
|
|
2577
2577
|
} : void 0
|
|
2578
2578
|
]), 1032, ["data-cy", "model-value", "disabled"]));
|
|
2579
2579
|
}
|
|
2580
|
-
}),
|
|
2581
|
-
function
|
|
2580
|
+
}), _o = L(1), Sa = L(!1);
|
|
2581
|
+
function Si() {
|
|
2582
2582
|
return {
|
|
2583
2583
|
setStoredPage: (a) => {
|
|
2584
|
-
|
|
2584
|
+
_o.value = a;
|
|
2585
2585
|
},
|
|
2586
2586
|
setPreservePage: () => {
|
|
2587
2587
|
Sa.value = !0;
|
|
2588
2588
|
},
|
|
2589
|
-
consumeStoredPage: () => Sa.value ? (Sa.value = !1,
|
|
2589
|
+
consumeStoredPage: () => Sa.value ? (Sa.value = !1, _o.value) : null
|
|
2590
2590
|
};
|
|
2591
2591
|
}
|
|
2592
|
-
const wa = "_sort",
|
|
2592
|
+
const wa = "_sort", wi = {
|
|
2593
2593
|
skip: !1,
|
|
2594
2594
|
xs: void 0,
|
|
2595
2595
|
sm: void 0,
|
|
@@ -2597,7 +2597,7 @@ const wa = "_sort", ki = {
|
|
|
2597
2597
|
lg: void 0,
|
|
2598
2598
|
xl: void 0
|
|
2599
2599
|
};
|
|
2600
|
-
function
|
|
2600
|
+
function Di(e) {
|
|
2601
2601
|
return Zt(
|
|
2602
2602
|
e.reduce((n, t) => ({
|
|
2603
2603
|
...n,
|
|
@@ -2605,7 +2605,7 @@ function Ei(e) {
|
|
|
2605
2605
|
}), {})
|
|
2606
2606
|
);
|
|
2607
2607
|
}
|
|
2608
|
-
function
|
|
2608
|
+
function ki(e, n, t) {
|
|
2609
2609
|
const a = e.reduce(
|
|
2610
2610
|
(s, l) => {
|
|
2611
2611
|
const i = l.name, u = $e(l.default);
|
|
@@ -2624,7 +2624,7 @@ function Ti(e, n, t) {
|
|
|
2624
2624
|
related: ht(l.related, void 0),
|
|
2625
2625
|
exclude: ht(l.exclude, !1),
|
|
2626
2626
|
default: u,
|
|
2627
|
-
render: { ...
|
|
2627
|
+
render: { ...wi, ...ht(l.render, {}) }
|
|
2628
2628
|
}
|
|
2629
2629
|
};
|
|
2630
2630
|
},
|
|
@@ -2686,12 +2686,12 @@ function ct() {
|
|
|
2686
2686
|
isClearable: r
|
|
2687
2687
|
};
|
|
2688
2688
|
}
|
|
2689
|
-
const
|
|
2689
|
+
const Ei = {
|
|
2690
2690
|
storeFiltersLocalStorage: !0,
|
|
2691
2691
|
populateUrlParams: !0
|
|
2692
2692
|
};
|
|
2693
|
-
function
|
|
2694
|
-
const a = { ...
|
|
2693
|
+
function cr(e, n, t = {}) {
|
|
2694
|
+
const a = { ...Ei, ...t }, r = "~";
|
|
2695
2695
|
let o;
|
|
2696
2696
|
Oe(a.storeFiltersLocalStorage) ? o = a.storeFiltersLocalStorage : Je(a.storeFiltersLocalStorage) && a.storeFiltersLocalStorage === !0 && Oe(n.general.system) && Oe(n.general.subject) && (o = "tableFilter_" + n.general.system + "_" + n.general.subject);
|
|
2697
2697
|
const s = () => {
|
|
@@ -2699,7 +2699,7 @@ function fr(e, n, t = {}) {
|
|
|
2699
2699
|
for (const v in e)
|
|
2700
2700
|
try {
|
|
2701
2701
|
const w = v, F = e[w];
|
|
2702
|
-
!D(F) && !G(F) && !
|
|
2702
|
+
!D(F) && !G(F) && !Fa(F) && F !== n.fields[w].default && (f[v] = F);
|
|
2703
2703
|
} catch {
|
|
2704
2704
|
}
|
|
2705
2705
|
return f;
|
|
@@ -2707,7 +2707,7 @@ function fr(e, n, t = {}) {
|
|
|
2707
2707
|
const F = new URLSearchParams();
|
|
2708
2708
|
for (const k in f) {
|
|
2709
2709
|
const h = f[k];
|
|
2710
|
-
D(h) || G(h) || ue(h) &&
|
|
2710
|
+
D(h) || G(h) || ue(h) && Fa(h) || En(h) && pn(h) || Oe(h) && h.length === 0 || (ue(h) ? F.set(k, h.join(",")) : F.set(k, String(h)));
|
|
2711
2711
|
}
|
|
2712
2712
|
return w && v.value.sortBy && F.set(wa, `${v.value.sortBy.key},${v.value.sortBy.order}`), F.size === 0 ? "" : F.toString() + r;
|
|
2713
2713
|
}, i = (f) => {
|
|
@@ -2725,20 +2725,20 @@ function fr(e, n, t = {}) {
|
|
|
2725
2725
|
let F = null;
|
|
2726
2726
|
const k = v.get(wa);
|
|
2727
2727
|
if (k) {
|
|
2728
|
-
const [h,
|
|
2729
|
-
h && (
|
|
2728
|
+
const [h, M] = k.split(",");
|
|
2729
|
+
h && (M === Ct.Asc || M === Ct.Desc) && (F = { key: h, order: M }), v.delete(wa);
|
|
2730
2730
|
}
|
|
2731
|
-
for (const [h,
|
|
2731
|
+
for (const [h, M] of v.entries()) {
|
|
2732
2732
|
const Y = n.fields[h];
|
|
2733
2733
|
if (D(Y)) {
|
|
2734
2734
|
console.error(`Filter config not found for ${h}`);
|
|
2735
2735
|
continue;
|
|
2736
2736
|
}
|
|
2737
2737
|
if (Y.multiple ?? !1) {
|
|
2738
|
-
const $ =
|
|
2738
|
+
const $ = M.split(","), N = $.every((I) => !isNaN(Number(I)));
|
|
2739
2739
|
w[h] = N ? $.map(Number) : $;
|
|
2740
2740
|
} else
|
|
2741
|
-
w[h] =
|
|
2741
|
+
w[h] = M;
|
|
2742
2742
|
}
|
|
2743
2743
|
return { filters: w, sortBy: F };
|
|
2744
2744
|
}, u = (f) => {
|
|
@@ -2754,22 +2754,22 @@ function fr(e, n, t = {}) {
|
|
|
2754
2754
|
};
|
|
2755
2755
|
return {
|
|
2756
2756
|
loadStoredFilters: (f, v) => {
|
|
2757
|
-
const { consumeStoredPage: w } =
|
|
2757
|
+
const { consumeStoredPage: w } = Si();
|
|
2758
2758
|
let F = "hash", k = d();
|
|
2759
2759
|
if (G(k) && (F = "localStorage", k = p()), G(k) || pn(k.filters) && pn(k.sortBy)) {
|
|
2760
|
-
const
|
|
2761
|
-
return
|
|
2760
|
+
const M = w();
|
|
2761
|
+
return M !== null && (f.value = { ...f.value, page: M }), v && v(), !1;
|
|
2762
2762
|
}
|
|
2763
|
-
for (const
|
|
2764
|
-
const Y =
|
|
2763
|
+
for (const M in e) {
|
|
2764
|
+
const Y = M;
|
|
2765
2765
|
let E = k.filters[Y];
|
|
2766
2766
|
if (!D(E)) {
|
|
2767
2767
|
if (Oe(E)) {
|
|
2768
|
-
const $ =
|
|
2768
|
+
const $ = Jo(E);
|
|
2769
2769
|
if (!G($))
|
|
2770
2770
|
E = $;
|
|
2771
2771
|
else {
|
|
2772
|
-
const N =
|
|
2772
|
+
const N = Qo(E);
|
|
2773
2773
|
G(N) || (E = N);
|
|
2774
2774
|
}
|
|
2775
2775
|
}
|
|
@@ -2777,8 +2777,8 @@ function fr(e, n, t = {}) {
|
|
|
2777
2777
|
}
|
|
2778
2778
|
}
|
|
2779
2779
|
if (F === "localStorage" && o && localStorage) {
|
|
2780
|
-
const
|
|
2781
|
-
|
|
2780
|
+
const M = localStorage.getItem(o);
|
|
2781
|
+
M && u(M);
|
|
2782
2782
|
}
|
|
2783
2783
|
const h = w();
|
|
2784
2784
|
return f.value = {
|
|
@@ -2804,7 +2804,7 @@ const dt = {
|
|
|
2804
2804
|
Last3Months: "l3m",
|
|
2805
2805
|
Custom: "custom"
|
|
2806
2806
|
};
|
|
2807
|
-
function
|
|
2807
|
+
function Ti(e = void 0) {
|
|
2808
2808
|
const { t: n } = Re(), t = U(() => {
|
|
2809
2809
|
const r = [
|
|
2810
2810
|
{
|
|
@@ -2851,8 +2851,8 @@ function xi(e = void 0) {
|
|
|
2851
2851
|
getTimeIntervalOption: (r) => t.value.find((o) => o.value === r)
|
|
2852
2852
|
};
|
|
2853
2853
|
}
|
|
2854
|
-
function
|
|
2855
|
-
const { datesCompare: n, required: t } =
|
|
2854
|
+
function Ai(e) {
|
|
2855
|
+
const { datesCompare: n, required: t } = ao(), a = U(() => e.value.from), r = U(() => e.value.until), o = {
|
|
2856
2856
|
dialogData: {
|
|
2857
2857
|
from: {
|
|
2858
2858
|
required: t,
|
|
@@ -2868,7 +2868,7 @@ function _i(e) {
|
|
|
2868
2868
|
v$: Gn(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
|
|
2869
2869
|
};
|
|
2870
2870
|
}
|
|
2871
|
-
function
|
|
2871
|
+
function xi() {
|
|
2872
2872
|
const e = L([]), n = (d) => {
|
|
2873
2873
|
i("limit", d);
|
|
2874
2874
|
}, t = (d, g) => {
|
|
@@ -2884,7 +2884,7 @@ function Ii() {
|
|
|
2884
2884
|
from: f,
|
|
2885
2885
|
until: v
|
|
2886
2886
|
};
|
|
2887
|
-
const w = Dn(), F =
|
|
2887
|
+
const w = Dn(), F = Fs(w);
|
|
2888
2888
|
switch (f) {
|
|
2889
2889
|
case dt.CurrentMonth:
|
|
2890
2890
|
return Ca(F, "utc", 0, !1);
|
|
@@ -2895,7 +2895,7 @@ function Ii() {
|
|
|
2895
2895
|
default:
|
|
2896
2896
|
if (Gt(f))
|
|
2897
2897
|
return {
|
|
2898
|
-
from:
|
|
2898
|
+
from: Ba(Os(f * -1, F)),
|
|
2899
2899
|
until: w
|
|
2900
2900
|
};
|
|
2901
2901
|
}
|
|
@@ -2952,10 +2952,10 @@ function Ii() {
|
|
|
2952
2952
|
q: e
|
|
2953
2953
|
};
|
|
2954
2954
|
}
|
|
2955
|
-
const
|
|
2956
|
-
const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: s, querySetFilters: l } =
|
|
2955
|
+
const _i = (e) => En(e) && Object.hasOwn(e, "totalCount"), Mi = (e) => En(e) && Object.hasOwn(e, "hasNextPage"), Ii = (e, n, t) => {
|
|
2956
|
+
const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: s, querySetFilters: l } = xi();
|
|
2957
2957
|
return a(e.value.rowsPerPage), r(e.value.page, e.value.rowsPerPage), e.value.sortBy && o(e.value.sortBy.key, e.value.sortBy.order === Ct.Desc), l(n, t), s();
|
|
2958
|
-
},
|
|
2958
|
+
}, $i = (e) => {
|
|
2959
2959
|
const {
|
|
2960
2960
|
client: n,
|
|
2961
2961
|
system: t,
|
|
@@ -2977,23 +2977,23 @@ const Mi = (e) => En(e) && Object.hasOwn(e, "totalCount"), $i = (e) => En(e) &&
|
|
|
2977
2977
|
try {
|
|
2978
2978
|
const v = p.general.elastic || f ? "/search" : "", w = he(c) ? c : o, F = he(b) ? b : r;
|
|
2979
2979
|
if (D(F)) throw new Error("Url template is undefined");
|
|
2980
|
-
const k = (D(w) ? F :
|
|
2980
|
+
const k = (D(w) ? F : In(F, w)) + v + Ii(d, g, p), h = await n().get(k, {
|
|
2981
2981
|
...s,
|
|
2982
2982
|
signal: i.signal
|
|
2983
2983
|
});
|
|
2984
2984
|
if (!$n(h.status))
|
|
2985
2985
|
throw new nn(h.status);
|
|
2986
2986
|
if (h.data) {
|
|
2987
|
-
const
|
|
2988
|
-
return
|
|
2987
|
+
const M = h.data;
|
|
2988
|
+
return Mi(M) ? d.value = {
|
|
2989
2989
|
...d.value,
|
|
2990
|
-
hasNextPage:
|
|
2990
|
+
hasNextPage: M.hasNextPage,
|
|
2991
2991
|
currentViewCount: h.data.data.length
|
|
2992
|
-
} :
|
|
2992
|
+
} : _i(M) && (d.value = {
|
|
2993
2993
|
...d.value,
|
|
2994
|
-
totalCount:
|
|
2994
|
+
totalCount: M.totalCount,
|
|
2995
2995
|
currentViewCount: h.data.data.length
|
|
2996
|
-
}),
|
|
2996
|
+
}), M.data;
|
|
2997
2997
|
}
|
|
2998
2998
|
if (h.status === Qt)
|
|
2999
2999
|
return [];
|
|
@@ -3001,7 +3001,7 @@ const Mi = (e) => En(e) && Object.hasOwn(e, "totalCount"), $i = (e) => En(e) &&
|
|
|
3001
3001
|
} catch (v) {
|
|
3002
3002
|
if (v instanceof DOMException && v.name === "AbortError")
|
|
3003
3003
|
return [];
|
|
3004
|
-
throw
|
|
3004
|
+
throw Qa(v) ? v : Tn(v) ? new en(v, v.config?.url) : An(v) ? new tn(v, t, a, v) : _n(v) ? new on(v, t, a, v) : xn(v) ? new an(v, v) : or(v) ? new eo(v) : Lt.isAxiosError(v) ? (l || console.error("Axios error: " + r, ...v.cause ? [v.cause] : []), new to(v)) : (l || console.error("AnzuFatalError: ", v), new ut(v));
|
|
3005
3005
|
} finally {
|
|
3006
3006
|
i = null;
|
|
3007
3007
|
}
|
|
@@ -3010,11 +3010,11 @@ const Mi = (e) => En(e) && Object.hasOwn(e, "totalCount"), $i = (e) => En(e) &&
|
|
|
3010
3010
|
i && i.abort();
|
|
3011
3011
|
}
|
|
3012
3012
|
};
|
|
3013
|
-
},
|
|
3013
|
+
}, Fi = () => ({
|
|
3014
3014
|
rowsPerPage: 25
|
|
3015
3015
|
});
|
|
3016
3016
|
function kn(e, n = Ct.Desc, t = {}, a) {
|
|
3017
|
-
const r = { ...
|
|
3017
|
+
const r = { ...Fi(), ...t }, o = a ?? L({
|
|
3018
3018
|
sortBy: G(e) ? null : { key: e, order: n },
|
|
3019
3019
|
page: 1,
|
|
3020
3020
|
rowsPerPage: r.rowsPerPage,
|
|
@@ -3047,17 +3047,17 @@ function kn(e, n = Ct.Desc, t = {}, a) {
|
|
|
3047
3047
|
incrementPage: () => (o.value = { ...o.value, page: o.value.page + 1 }, o.value.page)
|
|
3048
3048
|
};
|
|
3049
3049
|
}
|
|
3050
|
-
const
|
|
3051
|
-
e().post(
|
|
3052
|
-
}), tt = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), Ke = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"),
|
|
3050
|
+
const Bd = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
3051
|
+
e().post(In(t, a), JSON.stringify(n), s).then((u) => $n(u.status) ? u.data ? l(u.data) : u.status === Qt ? l(null) : i(new ut()) : i(new nn(u.status))).catch((u) => Tn(u) ? i(new en(u, u.config?.url)) : An(u) ? i(new tn(u, r, o, u)) : _n(u) ? i(new on(u, r, o, u)) : xn(u) ? i(new an(u, u)) : i(new ut(u)));
|
|
3052
|
+
}), tt = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), Ke = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), oo = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), ro = /* @__PURE__ */ Symbol.for(
|
|
3053
3053
|
"anzu:FilterInnerConfigKey"
|
|
3054
3054
|
), pt = /* @__PURE__ */ Symbol.for(
|
|
3055
3055
|
"anzu:FilterSubmitResetCounterKey"
|
|
3056
|
-
), ot = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"),
|
|
3056
|
+
), ot = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), dr = /* @__PURE__ */ Symbol.for(
|
|
3057
3057
|
"anzu:DatatablePaginationKey"
|
|
3058
|
-
),
|
|
3058
|
+
), Oi = /* @__PURE__ */ Symbol.for(
|
|
3059
3059
|
"anzu:SubjectSelectCloseSidebarKey"
|
|
3060
|
-
),
|
|
3060
|
+
), Bi = /* @__PURE__ */ Se({
|
|
3061
3061
|
__name: "AFilterBooleanSelect",
|
|
3062
3062
|
props: {
|
|
3063
3063
|
name: {},
|
|
@@ -3099,7 +3099,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3099
3099
|
{ title: i.value.title, value: i.value.value }
|
|
3100
3100
|
]);
|
|
3101
3101
|
};
|
|
3102
|
-
return (c, f) => (P(), X(
|
|
3102
|
+
return (c, f) => (P(), X(zo, {
|
|
3103
3103
|
modelValue: i.value,
|
|
3104
3104
|
"onUpdate:modelValue": f[0] || (f[0] = (v) => i.value = v),
|
|
3105
3105
|
"data-cy": e.dataCy,
|
|
@@ -3112,7 +3112,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3112
3112
|
"onClick:clear": ye(T, ["stop"])
|
|
3113
3113
|
}, null, 8, ["modelValue", "data-cy", "label", "items", "clearable"]));
|
|
3114
3114
|
}
|
|
3115
|
-
}),
|
|
3115
|
+
}), Ri = /* @__PURE__ */ Se({
|
|
3116
3116
|
__name: "AFilterString",
|
|
3117
3117
|
props: {
|
|
3118
3118
|
name: {},
|
|
@@ -3169,10 +3169,10 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3169
3169
|
"onClick:clear": ye(T, ["stop"])
|
|
3170
3170
|
}, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
|
|
3171
3171
|
}
|
|
3172
|
-
}),
|
|
3172
|
+
}), Pi = {
|
|
3173
3173
|
key: 0,
|
|
3174
3174
|
class: "font-italic pl-1"
|
|
3175
|
-
},
|
|
3175
|
+
}, Li = 300, Rd = /* @__PURE__ */ Se({
|
|
3176
3176
|
__name: "AFilterRemoteAutocomplete",
|
|
3177
3177
|
props: {
|
|
3178
3178
|
name: {},
|
|
@@ -3187,7 +3187,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3187
3187
|
},
|
|
3188
3188
|
emits: ["change"],
|
|
3189
3189
|
setup(e, { emit: n }) {
|
|
3190
|
-
const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(
|
|
3190
|
+
const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(ro), u = J(oo), m = oa()?.type.__name;
|
|
3191
3191
|
if (D(r) || D(o) || D(l) || D(s) || D(i) || D(u))
|
|
3192
3192
|
throw new Error(`[${m}] Incorrect provide/inject config.`);
|
|
3193
3193
|
const d = t.filterByField, g = t.filterSortBy;
|
|
@@ -3200,24 +3200,24 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3200
3200
|
}, k = U(() => p.value.titleT ? w(p.value.titleT) : void 0), { pagination: h } = kn(
|
|
3201
3201
|
G(g) ? null : g.key,
|
|
3202
3202
|
g?.order
|
|
3203
|
-
),
|
|
3203
|
+
), M = L([]), Y = L([]), E = L(!0), $ = L(!1), N = U(() => {
|
|
3204
3204
|
const Z = /* @__PURE__ */ new Map(), ee = (se) => {
|
|
3205
|
-
se.forEach((
|
|
3206
|
-
Z.set(
|
|
3207
|
-
value:
|
|
3208
|
-
title:
|
|
3209
|
-
subtitle:
|
|
3205
|
+
se.forEach((Me) => {
|
|
3206
|
+
Z.set(Me.value, {
|
|
3207
|
+
value: Me.value,
|
|
3208
|
+
title: Me.title,
|
|
3209
|
+
subtitle: Me.subtitle
|
|
3210
3210
|
});
|
|
3211
3211
|
});
|
|
3212
3212
|
};
|
|
3213
|
-
return ee(Y.value), ee(
|
|
3214
|
-
}),
|
|
3213
|
+
return ee(Y.value), ee(M.value), Array.from(Z.values());
|
|
3214
|
+
}), I = L(!1), A = (Z) => {
|
|
3215
3215
|
Y.value = [], T.value = ue(Z) ? [] : null, f.value = ue(Z) ? [] : null, ge(T.value);
|
|
3216
3216
|
}, _ = (Z) => {
|
|
3217
|
-
const ee = (se) => N.value.find((
|
|
3217
|
+
const ee = (se) => N.value.find((Me) => Me.value === se) ?? { title: `${se}`, value: se };
|
|
3218
3218
|
return ue(Z) ? Z.map(ee) : ee(Z);
|
|
3219
3219
|
}, S = async (Z) => {
|
|
3220
|
-
|
|
3220
|
+
I.value = !0;
|
|
3221
3221
|
try {
|
|
3222
3222
|
const ee = ue(Z) ? Z : [Z];
|
|
3223
3223
|
try {
|
|
@@ -3229,26 +3229,26 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3229
3229
|
}
|
|
3230
3230
|
return Y.value;
|
|
3231
3231
|
} finally {
|
|
3232
|
-
|
|
3232
|
+
I.value = !1;
|
|
3233
3233
|
}
|
|
3234
|
-
}, { showErrorsDefault: y } =
|
|
3235
|
-
|
|
3234
|
+
}, { showErrorsDefault: y } = Mn(), C = async (Z, ee) => {
|
|
3235
|
+
I.value = !0, u[d] = Z;
|
|
3236
3236
|
try {
|
|
3237
3237
|
const se = await t.fetchItems(h, u, i);
|
|
3238
|
-
ee === v.value && (
|
|
3238
|
+
ee === v.value && (M.value = se);
|
|
3239
3239
|
} catch (se) {
|
|
3240
3240
|
y(se);
|
|
3241
3241
|
} finally {
|
|
3242
|
-
|
|
3242
|
+
I.value = !1;
|
|
3243
3243
|
}
|
|
3244
3244
|
}, x = async (Z) => {
|
|
3245
|
-
if (!(t.prefetch === !1 || t.prefetch !== Z) && !
|
|
3246
|
-
|
|
3245
|
+
if (!(t.prefetch === !1 || t.prefetch !== Z) && !I.value && !$.value) {
|
|
3246
|
+
I.value = !0;
|
|
3247
3247
|
try {
|
|
3248
3248
|
const ee = await t.fetchItems(h, u, i);
|
|
3249
|
-
v.value === 0 && (
|
|
3249
|
+
v.value === 0 && (M.value = ee), $.value = !0;
|
|
3250
3250
|
} finally {
|
|
3251
|
-
|
|
3251
|
+
I.value = !1;
|
|
3252
3252
|
}
|
|
3253
3253
|
}
|
|
3254
3254
|
}, R = async () => {
|
|
@@ -3264,31 +3264,31 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3264
3264
|
ve(t.name, l, s), o.value.delete(t.name);
|
|
3265
3265
|
}, ke = async () => {
|
|
3266
3266
|
try {
|
|
3267
|
-
|
|
3267
|
+
M.value = await t.fetchItems(h, u, i);
|
|
3268
3268
|
} catch (Z) {
|
|
3269
3269
|
y(Z);
|
|
3270
3270
|
}
|
|
3271
3271
|
Te();
|
|
3272
3272
|
};
|
|
3273
|
-
|
|
3273
|
+
ja(
|
|
3274
3274
|
b,
|
|
3275
3275
|
(Z, ee) => {
|
|
3276
3276
|
if (Z !== ee && !(Z.length > 0 && Z.length < t.minSearchChars)) {
|
|
3277
3277
|
if (Z.length === 0 && t.prefetch === !1) {
|
|
3278
|
-
|
|
3278
|
+
M.value = [];
|
|
3279
3279
|
return;
|
|
3280
3280
|
}
|
|
3281
3281
|
v.value++, C(Z, v.value);
|
|
3282
3282
|
}
|
|
3283
3283
|
},
|
|
3284
|
-
{ debounce:
|
|
3284
|
+
{ debounce: Li }
|
|
3285
3285
|
);
|
|
3286
3286
|
const W = async () => {
|
|
3287
3287
|
await x("mounted");
|
|
3288
3288
|
}, te = U(() => D(t.placeholder) ? p.value.variant === "startsWith" ? w("common.model.filterPlaceholder.startsWith") : p.value.variant === "eq" ? w("common.model.filterPlaceholder.eq") : p.value.variant === "search" ? w("common.model.filterPlaceholder.contains") : "" : t.placeholder), q = U(() => {
|
|
3289
|
-
if (
|
|
3289
|
+
if (I.value)
|
|
3290
3290
|
return "$vuetify.loading";
|
|
3291
|
-
if (
|
|
3291
|
+
if (M.value.length === 0 && b.value.length < t.minSearchChars)
|
|
3292
3292
|
return D(t.minSearchText) ? w("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
|
|
3293
3293
|
}), K = (Z) => {
|
|
3294
3294
|
s.touched = !0;
|
|
@@ -3313,7 +3313,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3313
3313
|
async (Z, ee) => {
|
|
3314
3314
|
if (Z === ee || Je(Z)) return;
|
|
3315
3315
|
const se = Z;
|
|
3316
|
-
if (E.value && (E.value = !1, await W()),
|
|
3316
|
+
if (E.value && (E.value = !1, await W()), Zo(se)) {
|
|
3317
3317
|
A(se), D(ee) || (v.value++, await C("", v.value));
|
|
3318
3318
|
return;
|
|
3319
3319
|
}
|
|
@@ -3333,7 +3333,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3333
3333
|
clearable: !p.value.mandatory,
|
|
3334
3334
|
label: k.value,
|
|
3335
3335
|
chips: p.value.multiple,
|
|
3336
|
-
loading:
|
|
3336
|
+
loading: I.value,
|
|
3337
3337
|
"hide-details": "",
|
|
3338
3338
|
"return-object": "",
|
|
3339
3339
|
autocomplete: "off",
|
|
@@ -3344,29 +3344,29 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3344
3344
|
onMouseenter: j,
|
|
3345
3345
|
"onClick:clear": ke
|
|
3346
3346
|
}, Pt({
|
|
3347
|
-
item: B(({ props: se, internalItem:
|
|
3347
|
+
item: B(({ props: se, internalItem: Me }) => [
|
|
3348
3348
|
O(Rt, it(se, {
|
|
3349
|
-
title:
|
|
3350
|
-
subtitle:
|
|
3349
|
+
title: Me.raw.title,
|
|
3350
|
+
subtitle: Me.raw.subtitle
|
|
3351
3351
|
}), null, 16, ["title", "subtitle"])
|
|
3352
3352
|
]),
|
|
3353
|
-
chip: B(({ props: se, internalItem:
|
|
3353
|
+
chip: B(({ props: se, internalItem: Me }) => [
|
|
3354
3354
|
O(Kt, {
|
|
3355
3355
|
closable: se.closable,
|
|
3356
3356
|
size: "small",
|
|
3357
|
-
text: `${
|
|
3358
|
-
disabled:
|
|
3357
|
+
text: `${Me.title} (${Me.raw.subtitle})`,
|
|
3358
|
+
disabled: Me.props.disabled
|
|
3359
3359
|
}, {
|
|
3360
3360
|
default: B(() => [
|
|
3361
|
-
De(fe(
|
|
3362
|
-
|
|
3361
|
+
De(fe(Me.raw.title) + " ", 1),
|
|
3362
|
+
Me.raw.subtitle ? (P(), de("span", Pi, " (" + fe(Me.raw.subtitle) + ") ", 1)) : ce("", !0)
|
|
3363
3363
|
]),
|
|
3364
3364
|
_: 2
|
|
3365
3365
|
}, 1032, ["closable", "text", "disabled"])
|
|
3366
3366
|
]),
|
|
3367
3367
|
_: 2
|
|
3368
3368
|
}, [
|
|
3369
|
-
|
|
3369
|
+
I.value ? {
|
|
3370
3370
|
name: "no-data",
|
|
3371
3371
|
fn: B(() => [
|
|
3372
3372
|
O(Rt, {
|
|
@@ -3378,10 +3378,10 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
|
|
|
3378
3378
|
]), 1032, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading", "no-data-text"]));
|
|
3379
3379
|
}
|
|
3380
3380
|
});
|
|
3381
|
-
function
|
|
3381
|
+
function Ni(e, n) {
|
|
3382
3382
|
return n.includes(e);
|
|
3383
3383
|
}
|
|
3384
|
-
const
|
|
3384
|
+
const Pd = /* @__PURE__ */ Se({
|
|
3385
3385
|
__name: "AFilterRemoteAutocompleteWithMinimal",
|
|
3386
3386
|
props: {
|
|
3387
3387
|
name: {},
|
|
@@ -3397,7 +3397,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3397
3397
|
},
|
|
3398
3398
|
emits: ["change"],
|
|
3399
3399
|
setup(e, { emit: n }) {
|
|
3400
|
-
const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(
|
|
3400
|
+
const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(ro), u = J(oo), m = oa()?.type.__name;
|
|
3401
3401
|
if (D(r) || D(o) || D(l) || D(s) || D(i) || D(u))
|
|
3402
3402
|
throw new Error(`[${m}] Incorrect provide/inject config.`);
|
|
3403
3403
|
if (
|
|
@@ -3422,14 +3422,14 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3422
3422
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3423
3423
|
G(t.filterSortBy) ? null : t.filterSortBy.key,
|
|
3424
3424
|
t.filterSortBy?.order
|
|
3425
|
-
), k = L([]), h = L([]),
|
|
3425
|
+
), k = L([]), h = L([]), M = U(() => {
|
|
3426
3426
|
const W = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map();
|
|
3427
3427
|
return h.value.forEach((q) => {
|
|
3428
3428
|
q.raw ? (W.set(q.raw[t.itemValue], q.raw[t.itemTitle]), te.set(q.raw[t.itemValue], $e(q.raw))) : (W.set(q[t.itemValue], q[t.itemTitle]), te.set(q[t.itemValue], $e(q)));
|
|
3429
3429
|
}), k.value.forEach((q) => {
|
|
3430
3430
|
q.raw ? (W.set(q.raw[t.itemValue], q.raw[t.itemTitle]), te.set(q.raw[t.itemValue], $e(q.raw))) : (W.set(q[t.itemValue], q[t.itemTitle]), te.set(q[t.itemValue], $e(q)));
|
|
3431
3431
|
}), Array.from(W, ([q, K]) => ({ value: q, title: K, raw: te.get(q) }));
|
|
3432
|
-
}), Y = L(!1), { showErrorsDefault: E } =
|
|
3432
|
+
}), Y = L(!1), { showErrorsDefault: E } = Mn(), $ = async (W, te) => {
|
|
3433
3433
|
Y.value = !0, u[t.filterByField] = W;
|
|
3434
3434
|
try {
|
|
3435
3435
|
const q = await t.fetchItemsMinimal(F, u, i);
|
|
@@ -3440,11 +3440,11 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3440
3440
|
Y.value = !1;
|
|
3441
3441
|
}
|
|
3442
3442
|
}, N = (W) => {
|
|
3443
|
-
const te =
|
|
3443
|
+
const te = M.value.filter(
|
|
3444
3444
|
(q) => W.includes(q.value)
|
|
3445
3445
|
);
|
|
3446
3446
|
return [].concat(te);
|
|
3447
|
-
},
|
|
3447
|
+
}, I = async (W) => {
|
|
3448
3448
|
let te = 1, q = [];
|
|
3449
3449
|
return ue(W) ? (te = W.length, q = N(W)) : q = N([W]), h.value = q, q.length === te;
|
|
3450
3450
|
}, A = L(!1), _ = () => {
|
|
@@ -3506,13 +3506,13 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3506
3506
|
async (W, te) => {
|
|
3507
3507
|
if (W === te || Je(W)) return;
|
|
3508
3508
|
if (G(W) || D(W) || ue(W) && W.length === 0) {
|
|
3509
|
-
if (h.value = [], f.value.multiple ? d.value = [] : d.value = null, ke(d.value), A.value === !0 ||
|
|
3509
|
+
if (h.value = [], f.value.multiple ? d.value = [] : d.value = null, ke(d.value), A.value === !0 || Ni(t.prefetch, ["hover", "focus", !1])) return;
|
|
3510
3510
|
T.value = setTimeout(() => {
|
|
3511
3511
|
S();
|
|
3512
3512
|
}, 3e3);
|
|
3513
3513
|
return;
|
|
3514
3514
|
}
|
|
3515
|
-
if (await
|
|
3515
|
+
if (await I(W)) {
|
|
3516
3516
|
d.value = h.value.map((K) => ({
|
|
3517
3517
|
title: K.title,
|
|
3518
3518
|
value: K.value
|
|
@@ -3548,7 +3548,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3548
3548
|
}
|
|
3549
3549
|
},
|
|
3550
3550
|
{ immediate: !0 }
|
|
3551
|
-
),
|
|
3551
|
+
), ja(
|
|
3552
3552
|
g,
|
|
3553
3553
|
(W, te) => {
|
|
3554
3554
|
W.length < t.searchMinChars || W !== te && (b.value++, $(W, b.value));
|
|
@@ -3560,7 +3560,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3560
3560
|
te[0] || (te[0] = (q) => d.value = q),
|
|
3561
3561
|
j
|
|
3562
3562
|
],
|
|
3563
|
-
items:
|
|
3563
|
+
items: M.value,
|
|
3564
3564
|
"no-filter": "",
|
|
3565
3565
|
placeholder: re.value,
|
|
3566
3566
|
multiple: f.value.multiple,
|
|
@@ -3601,7 +3601,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3601
3601
|
_: 3
|
|
3602
3602
|
}, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
|
|
3603
3603
|
}
|
|
3604
|
-
}),
|
|
3604
|
+
}), Ld = /* @__PURE__ */ Se({
|
|
3605
3605
|
__name: "AFilterValueObjectOptionsSelect",
|
|
3606
3606
|
props: {
|
|
3607
3607
|
name: {},
|
|
@@ -3666,7 +3666,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3666
3666
|
"onClick:clear": ye(T, ["stop"])
|
|
3667
3667
|
}, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
|
|
3668
3668
|
}
|
|
3669
|
-
}),
|
|
3669
|
+
}), Yi = /* @__PURE__ */ Se({
|
|
3670
3670
|
__name: "AFilterTimeInterval",
|
|
3671
3671
|
props: {
|
|
3672
3672
|
nameFrom: {},
|
|
@@ -3688,15 +3688,15 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3688
3688
|
get() {
|
|
3689
3689
|
return l[t.nameFrom];
|
|
3690
3690
|
},
|
|
3691
|
-
set(
|
|
3692
|
-
l[t.nameFrom] =
|
|
3691
|
+
set(I) {
|
|
3692
|
+
l[t.nameFrom] = I, E(I), s.touched = !0, Ye(() => {
|
|
3693
3693
|
a("change");
|
|
3694
3694
|
});
|
|
3695
3695
|
}
|
|
3696
|
-
}), { timeIntervalOptions: u, getTimeIntervalOption: m } =
|
|
3696
|
+
}), { timeIntervalOptions: u, getTimeIntervalOption: m } = Ti(t.allowed), d = L(null), g = L(!1), p = L({
|
|
3697
3697
|
from: null,
|
|
3698
3698
|
until: Dn()
|
|
3699
|
-
}), T = L(!1), { v$: b } =
|
|
3699
|
+
}), T = L(!1), { v$: b } = Ai(p), c = U(() => s.fields[t.nameFrom]), { t: f } = Re(), v = U(() => c.value.titleT ? f(c.value.titleT) : void 0), { clearOne: w } = ct(), { showValidationError: F } = Mn(), k = () => {
|
|
3700
3700
|
T.value = !1, d.value = null, Y();
|
|
3701
3701
|
}, h = () => {
|
|
3702
3702
|
if (b.value.$touch(), b.value.$invalid) {
|
|
@@ -3704,36 +3704,36 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3704
3704
|
return;
|
|
3705
3705
|
}
|
|
3706
3706
|
T.value = !0, g.value = !1, l[t.nameUntil] = p.value.until, i.value = p.value.from;
|
|
3707
|
-
},
|
|
3707
|
+
}, M = () => {
|
|
3708
3708
|
g.value = !1, d.value = null;
|
|
3709
3709
|
}, Y = () => {
|
|
3710
3710
|
w(t.nameFrom, l, s), w(t.nameUntil, l, s), o.value.delete(t.nameFrom);
|
|
3711
|
-
}, E = (
|
|
3712
|
-
if (ue(
|
|
3713
|
-
if (G(
|
|
3711
|
+
}, E = (I) => {
|
|
3712
|
+
if (ue(I) || Je(I)) return;
|
|
3713
|
+
if (G(I) || D(I)) {
|
|
3714
3714
|
o.value.delete(t.nameFrom);
|
|
3715
3715
|
return;
|
|
3716
3716
|
}
|
|
3717
|
-
const A = m(
|
|
3718
|
-
if (!A && ya(
|
|
3717
|
+
const A = m(I);
|
|
3718
|
+
if (!A && ya(I)) {
|
|
3719
3719
|
const _ = m(dt.Custom);
|
|
3720
3720
|
o.value.set(t.nameFrom, [
|
|
3721
3721
|
{
|
|
3722
3722
|
title: _.title + ": " + dn(p.value.from) + " - " + dn(p.value.until),
|
|
3723
|
-
value:
|
|
3723
|
+
value: I
|
|
3724
3724
|
}
|
|
3725
3725
|
]);
|
|
3726
3726
|
return;
|
|
3727
3727
|
}
|
|
3728
|
-
A && o.value.set(t.nameFrom, [{ title: A.title, value:
|
|
3729
|
-
}, $ = (
|
|
3730
|
-
b.value.$reset(),
|
|
3728
|
+
A && o.value.set(t.nameFrom, [{ title: A.title, value: I }]);
|
|
3729
|
+
}, $ = (I = !1) => {
|
|
3730
|
+
b.value.$reset(), I && (p.value.from = null, p.value.until = Dn()), g.value = !0;
|
|
3731
3731
|
};
|
|
3732
3732
|
Ae(
|
|
3733
3733
|
i,
|
|
3734
|
-
(
|
|
3735
|
-
if (ue(
|
|
3736
|
-
if (T.value = !1, D(
|
|
3734
|
+
(I) => {
|
|
3735
|
+
if (ue(I) || Je(I)) return;
|
|
3736
|
+
if (T.value = !1, D(I) || G(I)) {
|
|
3737
3737
|
d.value = null;
|
|
3738
3738
|
return;
|
|
3739
3739
|
}
|
|
@@ -3743,22 +3743,22 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3743
3743
|
{ immediate: !0 }
|
|
3744
3744
|
), Ae(
|
|
3745
3745
|
[() => l[t.nameFrom], () => l[t.nameUntil]],
|
|
3746
|
-
([
|
|
3747
|
-
|
|
3746
|
+
([I, A], [_, S]) => {
|
|
3747
|
+
I === _ && A === S || E(I);
|
|
3748
3748
|
},
|
|
3749
3749
|
{ immediate: !0 }
|
|
3750
3750
|
);
|
|
3751
|
-
const N = (
|
|
3752
|
-
if (
|
|
3751
|
+
const N = (I) => {
|
|
3752
|
+
if (I.value === dt.Custom) {
|
|
3753
3753
|
$(!0);
|
|
3754
3754
|
return;
|
|
3755
3755
|
}
|
|
3756
|
-
l[t.nameUntil] = null, i.value =
|
|
3756
|
+
l[t.nameUntil] = null, i.value = I.value;
|
|
3757
3757
|
};
|
|
3758
|
-
return (
|
|
3758
|
+
return (I, A) => {
|
|
3759
3759
|
const _ = Wt("ABtnTertiary"), S = Wt("ABtnPrimary");
|
|
3760
3760
|
return P(), de(qe, null, [
|
|
3761
|
-
T.value ? (P(), X(
|
|
3761
|
+
T.value ? (P(), X(Jr, {
|
|
3762
3762
|
key: 0,
|
|
3763
3763
|
label: v.value,
|
|
3764
3764
|
"model-value": H(dn)(p.value.from) + " - " + H(dn)(p.value.until),
|
|
@@ -3771,7 +3771,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3771
3771
|
class: "cursor-pointer",
|
|
3772
3772
|
"onClick:clear": ye(k, ["stop"]),
|
|
3773
3773
|
onClick: A[0] || (A[0] = ye((y) => $(), ["stop"]))
|
|
3774
|
-
}, null, 8, ["label", "model-value"])) : (P(), X(
|
|
3774
|
+
}, null, 8, ["label", "model-value"])) : (P(), X(zo, {
|
|
3775
3775
|
key: 1,
|
|
3776
3776
|
modelValue: d.value,
|
|
3777
3777
|
"onUpdate:modelValue": A[1] || (A[1] = (y) => d.value = y),
|
|
@@ -3793,7 +3793,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3793
3793
|
]),
|
|
3794
3794
|
_: 1
|
|
3795
3795
|
}, 8, ["modelValue", "label", "clearable", "data-cy", "items"])),
|
|
3796
|
-
g.value ? (P(), X(
|
|
3796
|
+
g.value ? (P(), X(za, {
|
|
3797
3797
|
key: 2,
|
|
3798
3798
|
"model-value": !0,
|
|
3799
3799
|
width: "auto",
|
|
@@ -3802,19 +3802,19 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3802
3802
|
default: B(() => [
|
|
3803
3803
|
O(la, null, {
|
|
3804
3804
|
default: B(() => [
|
|
3805
|
-
O(
|
|
3805
|
+
O(Za, { onOnCancel: M }, {
|
|
3806
3806
|
default: B(() => [
|
|
3807
|
-
we(
|
|
3807
|
+
we(I.$slots, "title", {}, () => [
|
|
3808
3808
|
De(fe(v.value), 1)
|
|
3809
3809
|
], !0)
|
|
3810
3810
|
]),
|
|
3811
3811
|
_: 3
|
|
3812
3812
|
}),
|
|
3813
|
-
O(
|
|
3813
|
+
O(qo, null, {
|
|
3814
3814
|
default: B(() => [
|
|
3815
|
-
O(
|
|
3815
|
+
O(It, null, {
|
|
3816
3816
|
default: B(() => [
|
|
3817
|
-
O(
|
|
3817
|
+
O(Ao, {
|
|
3818
3818
|
modelValue: p.value.from,
|
|
3819
3819
|
"onUpdate:modelValue": A[2] || (A[2] = (y) => p.value.from = y),
|
|
3820
3820
|
v: H(b).dialogData.from,
|
|
@@ -3824,9 +3824,9 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3824
3824
|
]),
|
|
3825
3825
|
_: 1
|
|
3826
3826
|
}),
|
|
3827
|
-
O(
|
|
3827
|
+
O(It, null, {
|
|
3828
3828
|
default: B(() => [
|
|
3829
|
-
O(
|
|
3829
|
+
O(Ao, {
|
|
3830
3830
|
modelValue: p.value.until,
|
|
3831
3831
|
"onUpdate:modelValue": A[3] || (A[3] = (y) => p.value.until = y),
|
|
3832
3832
|
v: H(b).dialogData.until,
|
|
@@ -3839,12 +3839,12 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3839
3839
|
]),
|
|
3840
3840
|
_: 1
|
|
3841
3841
|
}),
|
|
3842
|
-
O(
|
|
3842
|
+
O(qa, null, {
|
|
3843
3843
|
default: B(() => [
|
|
3844
3844
|
O(sa),
|
|
3845
3845
|
O(_, {
|
|
3846
3846
|
"data-cy": "button-cancel",
|
|
3847
|
-
onClick: ye(
|
|
3847
|
+
onClick: ye(M, ["stop"])
|
|
3848
3848
|
}, {
|
|
3849
3849
|
default: B(() => [
|
|
3850
3850
|
De(fe(H(f)("common.button.cancel")), 1)
|
|
@@ -3872,7 +3872,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3872
3872
|
], 64);
|
|
3873
3873
|
};
|
|
3874
3874
|
}
|
|
3875
|
-
}),
|
|
3875
|
+
}), Nd = /* @__PURE__ */ Ka(Yi, [["__scopeId", "data-v-845cd41b"]]), fr = (e, n = "item") => n + "." + e, Mo = /* @__PURE__ */ Se({
|
|
3876
3876
|
__name: "AFilterEmpty",
|
|
3877
3877
|
props: {
|
|
3878
3878
|
name: {}
|
|
@@ -3881,7 +3881,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3881
3881
|
const n = e;
|
|
3882
3882
|
return (t, a) => (P(), de("div", null, fe(n.name), 1));
|
|
3883
3883
|
}
|
|
3884
|
-
}),
|
|
3884
|
+
}), Ui = /* @__PURE__ */ Se({
|
|
3885
3885
|
__name: "AFilterDatetimePicker",
|
|
3886
3886
|
props: {
|
|
3887
3887
|
name: {},
|
|
@@ -3908,7 +3908,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3908
3908
|
{ title: dn(i.value), value: i.value }
|
|
3909
3909
|
]);
|
|
3910
3910
|
};
|
|
3911
|
-
return (b, c) => (P(), X(
|
|
3911
|
+
return (b, c) => (P(), X(ur, it({
|
|
3912
3912
|
modelValue: i.value,
|
|
3913
3913
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => i.value = f),
|
|
3914
3914
|
"data-cy": e.dataCy,
|
|
@@ -3917,7 +3917,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3917
3917
|
label: d.value
|
|
3918
3918
|
}, b.$attrs, { onAfterClear: p }), null, 16, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
|
|
3919
3919
|
}
|
|
3920
|
-
}),
|
|
3920
|
+
}), Vi = /* @__PURE__ */ Se({
|
|
3921
3921
|
__name: "AFilterInteger",
|
|
3922
3922
|
props: {
|
|
3923
3923
|
name: {},
|
|
@@ -3974,7 +3974,7 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3974
3974
|
"onClick:clear": ye(T, ["stop"])
|
|
3975
3975
|
}, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
|
|
3976
3976
|
}
|
|
3977
|
-
}),
|
|
3977
|
+
}), mr = /* @__PURE__ */ Se({
|
|
3978
3978
|
__name: "FilterDetailItem",
|
|
3979
3979
|
props: {
|
|
3980
3980
|
name: {}
|
|
@@ -3988,21 +3988,21 @@ const Yd = /* @__PURE__ */ Se({
|
|
|
3988
3988
|
if (a.value.render.skip) return Mo;
|
|
3989
3989
|
switch (a.value.type) {
|
|
3990
3990
|
case "string":
|
|
3991
|
-
return
|
|
3991
|
+
return Ri;
|
|
3992
3992
|
case "datetime":
|
|
3993
|
-
return
|
|
3993
|
+
return Ui;
|
|
3994
3994
|
case "boolean":
|
|
3995
|
-
return
|
|
3995
|
+
return Bi;
|
|
3996
3996
|
case "integer":
|
|
3997
|
-
return
|
|
3997
|
+
return Vi;
|
|
3998
3998
|
default:
|
|
3999
3999
|
return Mo;
|
|
4000
4000
|
}
|
|
4001
4001
|
});
|
|
4002
|
-
return (o, s) => (P(), X(
|
|
4002
|
+
return (o, s) => (P(), X(Ho(r.value), { name: e.name }, null, 8, ["name"]));
|
|
4003
4003
|
}
|
|
4004
4004
|
});
|
|
4005
|
-
function
|
|
4005
|
+
function Io(e, n = "userAdminConfig") {
|
|
4006
4006
|
const t = [
|
|
4007
4007
|
{ name: "user", default: null },
|
|
4008
4008
|
{ name: "configType", default: null },
|
|
@@ -4010,7 +4010,7 @@ function $o(e, n = "userAdminConfig") {
|
|
|
4010
4010
|
{ name: "systemResource", default: null },
|
|
4011
4011
|
{ name: "customName", default: null },
|
|
4012
4012
|
{ name: "defaultConfig", default: null }
|
|
4013
|
-
], { filterConfig: a, filterData: r } =
|
|
4013
|
+
], { filterConfig: a, filterData: r } = ki(t, Di(t), {
|
|
4014
4014
|
system: e,
|
|
4015
4015
|
subject: n
|
|
4016
4016
|
});
|
|
@@ -4022,10 +4022,10 @@ function $o(e, n = "userAdminConfig") {
|
|
|
4022
4022
|
const Zn = {
|
|
4023
4023
|
PinnedWidgets: "pinnedWidgets",
|
|
4024
4024
|
FilterBookmark: "filterBookmark"
|
|
4025
|
-
},
|
|
4025
|
+
}, Hi = Zn.PinnedWidgets, Ft = {
|
|
4026
4026
|
Desktop: "desktop",
|
|
4027
4027
|
Mobile: "mobile"
|
|
4028
|
-
},
|
|
4028
|
+
}, ji = Ft.Desktop, qi = 3, Ra = 8, vr = ml("filterBookmarkStore", () => {
|
|
4029
4029
|
const e = L(/* @__PURE__ */ new Map()), n = L(!1);
|
|
4030
4030
|
function t(l, i) {
|
|
4031
4031
|
return `userAdminConfig/${i}/${l}/`;
|
|
@@ -4045,11 +4045,11 @@ const Zn = {
|
|
|
4045
4045
|
return v.lastUsed = d, v.items;
|
|
4046
4046
|
}
|
|
4047
4047
|
const { pagination: g } = kn("position", Ct.Asc, {
|
|
4048
|
-
rowsPerPage:
|
|
4048
|
+
rowsPerPage: Ra
|
|
4049
4049
|
}), { start: p, end: T } = wn(
|
|
4050
4050
|
l.systemResource,
|
|
4051
4051
|
"_"
|
|
4052
|
-
), { filterConfig: b, filterData: c } =
|
|
4052
|
+
), { filterConfig: b, filterData: c } = Io(p, T);
|
|
4053
4053
|
c.configType = Zn.FilterBookmark, c.layoutType = l.layoutType, c.systemResource = l.systemResource, c.user = l.user;
|
|
4054
4054
|
let f = [];
|
|
4055
4055
|
try {
|
|
@@ -4058,16 +4058,16 @@ const Zn = {
|
|
|
4058
4058
|
} catch {
|
|
4059
4059
|
n.value = !0;
|
|
4060
4060
|
}
|
|
4061
|
-
return e.value.size >
|
|
4061
|
+
return e.value.size > qi && a(), f;
|
|
4062
4062
|
}
|
|
4063
4063
|
async function o(l, i) {
|
|
4064
4064
|
n.value = !1;
|
|
4065
4065
|
const { pagination: u } = kn("position", Ct.Asc, {
|
|
4066
|
-
rowsPerPage:
|
|
4066
|
+
rowsPerPage: Ra + 1
|
|
4067
4067
|
}), { start: m, end: d } = wn(
|
|
4068
4068
|
l.systemResource,
|
|
4069
4069
|
"_"
|
|
4070
|
-
), { filterConfig: g, filterData: p } =
|
|
4070
|
+
), { filterConfig: g, filterData: p } = Io(m, d);
|
|
4071
4071
|
p.configType = Zn.FilterBookmark, p.layoutType = l.layoutType, p.systemResource = l.systemResource, p.user = l.user;
|
|
4072
4072
|
let T = 1 / 0;
|
|
4073
4073
|
try {
|
|
@@ -4108,7 +4108,7 @@ const Zn = {
|
|
|
4108
4108
|
try {
|
|
4109
4109
|
const c = { method: t }, f = he(T) ? T : s, v = he(p) ? p : o;
|
|
4110
4110
|
if (D(v)) throw new Error("Url template is undefined");
|
|
4111
|
-
c.url = v, v !== "" && !D(f) && (c.url =
|
|
4111
|
+
c.url = v, v !== "" && !D(f) && (c.url = In(v, f)), G(b) || (c.data = JSON.stringify(b));
|
|
4112
4112
|
const w = await n().request({
|
|
4113
4113
|
...l,
|
|
4114
4114
|
...c,
|
|
@@ -4124,7 +4124,7 @@ const Zn = {
|
|
|
4124
4124
|
} catch (c) {
|
|
4125
4125
|
if (c instanceof DOMException && c.name === "AbortError")
|
|
4126
4126
|
return [];
|
|
4127
|
-
throw
|
|
4127
|
+
throw Qa(c) ? c : Tn(c) ? new en(c, c.config?.url) : An(c) ? new tn(c, a, r, c) : _n(c) ? new on(c, a, r, c) : xn(c) ? new an(c, c) : or(c) ? new eo(c) : Lt.isAxiosError(c) ? (i || console.error("Axios error: " + o, ...c.cause ? [c.cause] : []), new to(c)) : (i || console.error("AnzuFatalError: ", c), new ut(c));
|
|
4128
4128
|
} finally {
|
|
4129
4129
|
u = null;
|
|
4130
4130
|
}
|
|
@@ -4133,10 +4133,10 @@ const Zn = {
|
|
|
4133
4133
|
u && u.abort();
|
|
4134
4134
|
}
|
|
4135
4135
|
};
|
|
4136
|
-
},
|
|
4137
|
-
function
|
|
4136
|
+
}, $o = "/adm/v1/user-admin-config", zi = "userAdminConfig";
|
|
4137
|
+
function pr(e, n, t = zi, a = $o) {
|
|
4138
4138
|
return {
|
|
4139
|
-
useFetchUserAdminConfigList: () =>
|
|
4139
|
+
useFetchUserAdminConfigList: () => $i({ client: e, system: n, entity: t, urlTemplate: $o }),
|
|
4140
4140
|
fetchUserAdminConfig: (m) => {
|
|
4141
4141
|
const { executeRequest: d } = rn({
|
|
4142
4142
|
client: e,
|
|
@@ -4182,7 +4182,7 @@ function gr(e, n, t = Ki, a = Fo) {
|
|
|
4182
4182
|
}
|
|
4183
4183
|
};
|
|
4184
4184
|
}
|
|
4185
|
-
const
|
|
4185
|
+
const Wi = { key: 0 }, Ki = 32, hr = /* @__PURE__ */ Se({
|
|
4186
4186
|
__name: "FilterBookmarks",
|
|
4187
4187
|
props: /* @__PURE__ */ mt({
|
|
4188
4188
|
client: {},
|
|
@@ -4198,10 +4198,10 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4198
4198
|
}),
|
|
4199
4199
|
emits: /* @__PURE__ */ mt(["submit"], ["update:datatableHiddenColumns"]),
|
|
4200
4200
|
setup(e, { emit: n }) {
|
|
4201
|
-
const t = e, a = n, r = Tt(e, "datatableHiddenColumns"), o = J(Ke), s = J(tt), l = J(
|
|
4201
|
+
const t = e, a = n, r = Tt(e, "datatableHiddenColumns"), o = J(Ke), s = J(tt), l = J(dr), i = J(ot);
|
|
4202
4202
|
if (D(l) || D(o) || D(s) || D(i))
|
|
4203
4203
|
throw new Error("Incorrect provide/inject config.");
|
|
4204
|
-
const u = L(!1), m = Ot("toolbar"), d = L(300), g = L(1e3), p =
|
|
4204
|
+
const u = L(!1), m = Ot("toolbar"), d = L(300), g = L(1e3), p = vr(), { useFetchUserAdminConfigList: T } = pr(t.client, t.system), b = t.system + "_" + t.subject, c = async (h = !1) => {
|
|
4205
4205
|
u.value = !0, await p.getBookmarks(
|
|
4206
4206
|
{
|
|
4207
4207
|
user: t.userId,
|
|
@@ -4211,13 +4211,13 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4211
4211
|
T,
|
|
4212
4212
|
h
|
|
4213
4213
|
), u.value = !1;
|
|
4214
|
-
}, { deserializeFilters: f } =
|
|
4215
|
-
const
|
|
4216
|
-
he(
|
|
4214
|
+
}, { deserializeFilters: f } = cr(s, o), v = (h) => {
|
|
4215
|
+
const M = h.data;
|
|
4216
|
+
he(M.datatableHiddenColumns) && he(r.value) && (r.value = M.datatableHiddenColumns), he(M.sortBy) && (l.value = {
|
|
4217
4217
|
...l.value,
|
|
4218
|
-
sortBy: { key:
|
|
4218
|
+
sortBy: { key: M.sortBy.key, order: M.sortBy.order }
|
|
4219
4219
|
});
|
|
4220
|
-
const Y = f(
|
|
4220
|
+
const Y = f(M.filter);
|
|
4221
4221
|
if (!G(Y)) {
|
|
4222
4222
|
for (const E in s) {
|
|
4223
4223
|
const $ = E;
|
|
@@ -4227,11 +4227,11 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4227
4227
|
continue;
|
|
4228
4228
|
}
|
|
4229
4229
|
if (Oe(N)) {
|
|
4230
|
-
const
|
|
4231
|
-
if (!G(
|
|
4232
|
-
N =
|
|
4230
|
+
const I = Jo(N);
|
|
4231
|
+
if (!G(I))
|
|
4232
|
+
N = I;
|
|
4233
4233
|
else {
|
|
4234
|
-
const A =
|
|
4234
|
+
const A = Qo(N);
|
|
4235
4235
|
G(A) || (N = A);
|
|
4236
4236
|
}
|
|
4237
4237
|
}
|
|
@@ -4240,24 +4240,24 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4240
4240
|
a("submit");
|
|
4241
4241
|
}
|
|
4242
4242
|
}, w = async (h) => {
|
|
4243
|
-
const
|
|
4244
|
-
if (G(
|
|
4243
|
+
const M = m.value;
|
|
4244
|
+
if (G(M)) return;
|
|
4245
4245
|
g.value = 1e3, await Ye();
|
|
4246
4246
|
let Y = 0, E = 0;
|
|
4247
|
-
for (let $ = 0; $ <
|
|
4248
|
-
const
|
|
4249
|
-
if (Y +=
|
|
4247
|
+
for (let $ = 0; $ < M.children.length; $++) {
|
|
4248
|
+
const I = M.children[$].offsetWidth;
|
|
4249
|
+
if (Y += I, Y >= h - Ki)
|
|
4250
4250
|
break;
|
|
4251
4251
|
E++;
|
|
4252
4252
|
}
|
|
4253
4253
|
g.value = E;
|
|
4254
4254
|
};
|
|
4255
|
-
|
|
4255
|
+
jr(m, (h) => {
|
|
4256
4256
|
h[0] && (d.value = h[0].contentRect.width);
|
|
4257
|
-
}),
|
|
4257
|
+
}), qr(
|
|
4258
4258
|
d,
|
|
4259
|
-
(h,
|
|
4260
|
-
h !==
|
|
4259
|
+
(h, M) => {
|
|
4260
|
+
h !== M && w(h);
|
|
4261
4261
|
},
|
|
4262
4262
|
{ throttle: 1e3 }
|
|
4263
4263
|
);
|
|
@@ -4275,14 +4275,14 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4275
4275
|
h === !0 || G(m.value) || (d.value = m.value.clientWidth, Ye(() => {
|
|
4276
4276
|
w(d.value);
|
|
4277
4277
|
}));
|
|
4278
|
-
}),
|
|
4278
|
+
}), Ha(() => {
|
|
4279
4279
|
c();
|
|
4280
|
-
}), (h,
|
|
4280
|
+
}), (h, M) => (P(), de("div", {
|
|
4281
4281
|
ref: "toolbar",
|
|
4282
4282
|
key: F.value.length,
|
|
4283
4283
|
class: "w-100 d-flex overflow-hidden align-center mb-1"
|
|
4284
4284
|
}, [
|
|
4285
|
-
u.value ? (P(), de("div",
|
|
4285
|
+
u.value ? (P(), de("div", Wi)) : (P(), de(qe, { key: 1 }, [
|
|
4286
4286
|
(P(!0), de(qe, null, Bt(k.value.visible, (Y) => (P(), de("div", {
|
|
4287
4287
|
key: Y.id,
|
|
4288
4288
|
class: "white-space-nowrap"
|
|
@@ -4300,7 +4300,7 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4300
4300
|
_: 2
|
|
4301
4301
|
}, 1032, ["onClick"])
|
|
4302
4302
|
]))), 128)),
|
|
4303
|
-
k.value.hidden.length > 0 ? (P(), X(
|
|
4303
|
+
k.value.hidden.length > 0 ? (P(), X(Wa, {
|
|
4304
4304
|
key: 0,
|
|
4305
4305
|
location: "bottom"
|
|
4306
4306
|
}, {
|
|
@@ -4313,14 +4313,14 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4313
4313
|
}, Y), null, 16)
|
|
4314
4314
|
]),
|
|
4315
4315
|
default: B(() => [
|
|
4316
|
-
O(
|
|
4316
|
+
O(jo, { density: "compact" }, {
|
|
4317
4317
|
default: B(() => [
|
|
4318
4318
|
(P(!0), de(qe, null, Bt(k.value.hidden, (Y) => (P(), X(Rt, {
|
|
4319
4319
|
key: Y.id,
|
|
4320
4320
|
onClick: (E) => v(Y)
|
|
4321
4321
|
}, {
|
|
4322
4322
|
default: B(() => [
|
|
4323
|
-
O(
|
|
4323
|
+
O(Zr, null, {
|
|
4324
4324
|
default: B(() => [
|
|
4325
4325
|
De(fe(Y.customName), 1)
|
|
4326
4326
|
]),
|
|
@@ -4339,8 +4339,8 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
|
|
|
4339
4339
|
]));
|
|
4340
4340
|
}
|
|
4341
4341
|
});
|
|
4342
|
-
function
|
|
4343
|
-
return (n =
|
|
4342
|
+
function Gi(e, n, t) {
|
|
4343
|
+
return (n = Qi(n)) in e ? Object.defineProperty(e, n, {
|
|
4344
4344
|
value: t,
|
|
4345
4345
|
enumerable: !0,
|
|
4346
4346
|
configurable: !0,
|
|
@@ -4356,7 +4356,7 @@ function St() {
|
|
|
4356
4356
|
return e;
|
|
4357
4357
|
}, St.apply(null, arguments);
|
|
4358
4358
|
}
|
|
4359
|
-
function
|
|
4359
|
+
function Fo(e, n) {
|
|
4360
4360
|
var t = Object.keys(e);
|
|
4361
4361
|
if (Object.getOwnPropertySymbols) {
|
|
4362
4362
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -4369,24 +4369,24 @@ function Oo(e, n) {
|
|
|
4369
4369
|
function vt(e) {
|
|
4370
4370
|
for (var n = 1; n < arguments.length; n++) {
|
|
4371
4371
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
4372
|
-
n % 2 ?
|
|
4373
|
-
|
|
4374
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
4372
|
+
n % 2 ? Fo(Object(t), !0).forEach(function(a) {
|
|
4373
|
+
Gi(e, a, t[a]);
|
|
4374
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Fo(Object(t)).forEach(function(a) {
|
|
4375
4375
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
4376
4376
|
});
|
|
4377
4377
|
}
|
|
4378
4378
|
return e;
|
|
4379
4379
|
}
|
|
4380
|
-
function
|
|
4380
|
+
function Xi(e, n) {
|
|
4381
4381
|
if (e == null) return {};
|
|
4382
|
-
var t, a, r =
|
|
4382
|
+
var t, a, r = Zi(e, n);
|
|
4383
4383
|
if (Object.getOwnPropertySymbols) {
|
|
4384
4384
|
var o = Object.getOwnPropertySymbols(e);
|
|
4385
4385
|
for (a = 0; a < o.length; a++) t = o[a], n.indexOf(t) === -1 && {}.propertyIsEnumerable.call(e, t) && (r[t] = e[t]);
|
|
4386
4386
|
}
|
|
4387
4387
|
return r;
|
|
4388
4388
|
}
|
|
4389
|
-
function
|
|
4389
|
+
function Zi(e, n) {
|
|
4390
4390
|
if (e == null) return {};
|
|
4391
4391
|
var t = {};
|
|
4392
4392
|
for (var a in e) if ({}.hasOwnProperty.call(e, a)) {
|
|
@@ -4395,7 +4395,7 @@ function Qi(e, n) {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
return t;
|
|
4397
4397
|
}
|
|
4398
|
-
function
|
|
4398
|
+
function Ji(e, n) {
|
|
4399
4399
|
if (typeof e != "object" || !e) return e;
|
|
4400
4400
|
var t = e[Symbol.toPrimitive];
|
|
4401
4401
|
if (t !== void 0) {
|
|
@@ -4405,32 +4405,32 @@ function eu(e, n) {
|
|
|
4405
4405
|
}
|
|
4406
4406
|
return (n === "string" ? String : Number)(e);
|
|
4407
4407
|
}
|
|
4408
|
-
function
|
|
4409
|
-
var n =
|
|
4408
|
+
function Qi(e) {
|
|
4409
|
+
var n = Ji(e, "string");
|
|
4410
4410
|
return typeof n == "symbol" ? n : n + "";
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function Pa(e) {
|
|
4413
4413
|
"@babel/helpers - typeof";
|
|
4414
|
-
return
|
|
4414
|
+
return Pa = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
4415
4415
|
return typeof n;
|
|
4416
4416
|
} : function(n) {
|
|
4417
4417
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
4418
|
-
},
|
|
4418
|
+
}, Pa(e);
|
|
4419
4419
|
}
|
|
4420
|
-
var
|
|
4420
|
+
var eu = "1.15.7";
|
|
4421
4421
|
function yt(e) {
|
|
4422
4422
|
if (typeof window < "u" && window.navigator)
|
|
4423
4423
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
4424
4424
|
}
|
|
4425
|
-
var wt = yt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fn = yt(/Edge/i),
|
|
4425
|
+
var wt = yt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fn = yt(/Edge/i), Oo = yt(/firefox/i), hn = yt(/safari/i) && !yt(/chrome/i) && !yt(/android/i), lo = yt(/iP(ad|od|hone)/i), gr = yt(/chrome/i) && yt(/android/i), br = {
|
|
4426
4426
|
capture: !1,
|
|
4427
4427
|
passive: !1
|
|
4428
4428
|
};
|
|
4429
4429
|
function pe(e, n, t) {
|
|
4430
|
-
e.addEventListener(n, t, !wt &&
|
|
4430
|
+
e.addEventListener(n, t, !wt && br);
|
|
4431
4431
|
}
|
|
4432
4432
|
function me(e, n, t) {
|
|
4433
|
-
e.removeEventListener(n, t, !wt &&
|
|
4433
|
+
e.removeEventListener(n, t, !wt && br);
|
|
4434
4434
|
}
|
|
4435
4435
|
function Jn(e, n) {
|
|
4436
4436
|
if (n) {
|
|
@@ -4448,7 +4448,7 @@ function Jn(e, n) {
|
|
|
4448
4448
|
return !1;
|
|
4449
4449
|
}
|
|
4450
4450
|
}
|
|
4451
|
-
function
|
|
4451
|
+
function yr(e) {
|
|
4452
4452
|
return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
|
|
4453
4453
|
}
|
|
4454
4454
|
function st(e, n, t, a) {
|
|
@@ -4458,18 +4458,18 @@ function st(e, n, t, a) {
|
|
|
4458
4458
|
if (n != null && (n[0] === ">" ? e.parentNode === t && Jn(e, n) : Jn(e, n)) || a && e === t)
|
|
4459
4459
|
return e;
|
|
4460
4460
|
if (e === t) break;
|
|
4461
|
-
} while (e =
|
|
4461
|
+
} while (e = yr(e));
|
|
4462
4462
|
}
|
|
4463
4463
|
return null;
|
|
4464
4464
|
}
|
|
4465
|
-
var
|
|
4465
|
+
var Bo = /\s+/g;
|
|
4466
4466
|
function Ge(e, n, t) {
|
|
4467
4467
|
if (e && n)
|
|
4468
4468
|
if (e.classList)
|
|
4469
4469
|
e.classList[t ? "add" : "remove"](n);
|
|
4470
4470
|
else {
|
|
4471
|
-
var a = (" " + e.className + " ").replace(
|
|
4472
|
-
e.className = (a + (t ? " " + n : "")).replace(
|
|
4471
|
+
var a = (" " + e.className + " ").replace(Bo, " ").replace(" " + n + " ", " ");
|
|
4472
|
+
e.className = (a + (t ? " " + n : "")).replace(Bo, " ");
|
|
4473
4473
|
}
|
|
4474
4474
|
}
|
|
4475
4475
|
function ne(e, n, t) {
|
|
@@ -4492,7 +4492,7 @@ function zt(e, n) {
|
|
|
4492
4492
|
var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
4493
4493
|
return r && new r(t);
|
|
4494
4494
|
}
|
|
4495
|
-
function
|
|
4495
|
+
function Cr(e, n, t) {
|
|
4496
4496
|
if (e) {
|
|
4497
4497
|
var a = e.getElementsByTagName(n), r = 0, o = a.length;
|
|
4498
4498
|
if (t)
|
|
@@ -4531,7 +4531,7 @@ function Le(e, n, t, a, r) {
|
|
|
4531
4531
|
};
|
|
4532
4532
|
}
|
|
4533
4533
|
}
|
|
4534
|
-
function
|
|
4534
|
+
function Ro(e, n, t) {
|
|
4535
4535
|
for (var a = Et(e, !0), r = Le(e)[n]; a; ) {
|
|
4536
4536
|
var o = Le(a)[t], s = void 0;
|
|
4537
4537
|
if (s = r >= o, !s) return a;
|
|
@@ -4551,7 +4551,7 @@ function Xt(e, n, t, a) {
|
|
|
4551
4551
|
}
|
|
4552
4552
|
return null;
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function so(e, n) {
|
|
4555
4555
|
for (var t = e.lastElementChild; t && (t === ae.ghost || ne(t, "display") === "none" || n && !Jn(t, n)); )
|
|
4556
4556
|
t = t.previousElementSibling;
|
|
4557
4557
|
return t || null;
|
|
@@ -4564,7 +4564,7 @@ function at(e, n) {
|
|
|
4564
4564
|
e.nodeName.toUpperCase() !== "TEMPLATE" && e !== ae.clone && (!n || Jn(e, n)) && t++;
|
|
4565
4565
|
return t;
|
|
4566
4566
|
}
|
|
4567
|
-
function
|
|
4567
|
+
function Po(e) {
|
|
4568
4568
|
var n = 0, t = 0, a = ft();
|
|
4569
4569
|
if (e)
|
|
4570
4570
|
do {
|
|
@@ -4573,7 +4573,7 @@ function Lo(e) {
|
|
|
4573
4573
|
} while (e !== a && (e = e.parentNode));
|
|
4574
4574
|
return [n, t];
|
|
4575
4575
|
}
|
|
4576
|
-
function
|
|
4576
|
+
function tu(e, n) {
|
|
4577
4577
|
for (var t in e)
|
|
4578
4578
|
if (e.hasOwnProperty(t)) {
|
|
4579
4579
|
for (var a in n)
|
|
@@ -4596,7 +4596,7 @@ function Et(e, n) {
|
|
|
4596
4596
|
while (t = t.parentNode);
|
|
4597
4597
|
return ft();
|
|
4598
4598
|
}
|
|
4599
|
-
function
|
|
4599
|
+
function nu(e, n) {
|
|
4600
4600
|
if (e && n)
|
|
4601
4601
|
for (var t in n)
|
|
4602
4602
|
n.hasOwnProperty(t) && (e[t] = n[t]);
|
|
@@ -4606,7 +4606,7 @@ function Da(e, n) {
|
|
|
4606
4606
|
return Math.round(e.top) === Math.round(n.top) && Math.round(e.left) === Math.round(n.left) && Math.round(e.height) === Math.round(n.height) && Math.round(e.width) === Math.round(n.width);
|
|
4607
4607
|
}
|
|
4608
4608
|
var gn;
|
|
4609
|
-
function
|
|
4609
|
+
function Sr(e, n) {
|
|
4610
4610
|
return function() {
|
|
4611
4611
|
if (!gn) {
|
|
4612
4612
|
var t = arguments, a = this;
|
|
@@ -4616,17 +4616,17 @@ function Dr(e, n) {
|
|
|
4616
4616
|
}
|
|
4617
4617
|
};
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
function au() {
|
|
4620
4620
|
clearTimeout(gn), gn = void 0;
|
|
4621
4621
|
}
|
|
4622
|
-
function
|
|
4622
|
+
function wr(e, n, t) {
|
|
4623
4623
|
e.scrollLeft += n, e.scrollTop += t;
|
|
4624
4624
|
}
|
|
4625
|
-
function
|
|
4625
|
+
function Dr(e) {
|
|
4626
4626
|
var n = window.Polymer, t = window.jQuery || window.Zepto;
|
|
4627
4627
|
return n && n.dom ? n.dom(e).cloneNode(!0) : t ? t(e).clone(!0)[0] : e.cloneNode(!0);
|
|
4628
4628
|
}
|
|
4629
|
-
function
|
|
4629
|
+
function kr(e, n, t) {
|
|
4630
4630
|
var a = {};
|
|
4631
4631
|
return Array.from(e.children).forEach(function(r) {
|
|
4632
4632
|
var o, s, l, i;
|
|
@@ -4637,7 +4637,7 @@ function Tr(e, n, t) {
|
|
|
4637
4637
|
}), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
4638
4638
|
}
|
|
4639
4639
|
var We = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
4640
|
-
function
|
|
4640
|
+
function ou() {
|
|
4641
4641
|
var e = [], n;
|
|
4642
4642
|
return {
|
|
4643
4643
|
captureAnimationState: function() {
|
|
@@ -4663,7 +4663,7 @@ function lu() {
|
|
|
4663
4663
|
e.push(a);
|
|
4664
4664
|
},
|
|
4665
4665
|
removeAnimationState: function(a) {
|
|
4666
|
-
e.splice(
|
|
4666
|
+
e.splice(tu(e, {
|
|
4667
4667
|
target: a
|
|
4668
4668
|
}), 1);
|
|
4669
4669
|
},
|
|
@@ -4677,7 +4677,7 @@ function lu() {
|
|
|
4677
4677
|
e.forEach(function(l) {
|
|
4678
4678
|
var i = 0, u = l.target, m = u.fromRect, d = Le(u), g = u.prevFromRect, p = u.prevToRect, T = l.rect, b = zt(u, !0);
|
|
4679
4679
|
b && (d.top -= b.f, d.left -= b.e), u.toRect = d, u.thisAnimationDuration && Da(g, d) && !Da(m, d) && // Make sure animatingRect is on line between toRect & fromRect
|
|
4680
|
-
(T.top - d.top) / (T.left - d.left) === (m.top - d.top) / (m.left - d.left) && (i =
|
|
4680
|
+
(T.top - d.top) / (T.left - d.left) === (m.top - d.top) / (m.left - d.left) && (i = lu(T, g, p, r.options)), Da(d, m) || (u.prevFromRect = m, u.prevToRect = d, i || (i = r.options.animation), r.animate(u, T, d, i)), i && (o = !0, s = Math.max(s, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
4681
4681
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
4682
4682
|
}, i), u.thisAnimationDuration = i);
|
|
4683
4683
|
}), clearTimeout(n), o ? n = setTimeout(function() {
|
|
@@ -4688,17 +4688,17 @@ function lu() {
|
|
|
4688
4688
|
if (s) {
|
|
4689
4689
|
ne(a, "transition", ""), ne(a, "transform", "");
|
|
4690
4690
|
var l = zt(this.el), i = l && l.a, u = l && l.d, m = (r.left - o.left) / (i || 1), d = (r.top - o.top) / (u || 1);
|
|
4691
|
-
a.animatingX = !!m, a.animatingY = !!d, ne(a, "transform", "translate3d(" + m + "px," + d + "px,0)"), this.forRepaintDummy =
|
|
4691
|
+
a.animatingX = !!m, a.animatingY = !!d, ne(a, "transform", "translate3d(" + m + "px," + d + "px,0)"), this.forRepaintDummy = ru(a), ne(a, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), ne(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
|
|
4692
4692
|
ne(a, "transition", ""), ne(a, "transform", ""), a.animated = !1, a.animatingX = !1, a.animatingY = !1;
|
|
4693
4693
|
}, s);
|
|
4694
4694
|
}
|
|
4695
4695
|
}
|
|
4696
4696
|
};
|
|
4697
4697
|
}
|
|
4698
|
-
function
|
|
4698
|
+
function ru(e) {
|
|
4699
4699
|
return e.offsetWidth;
|
|
4700
4700
|
}
|
|
4701
|
-
function
|
|
4701
|
+
function lu(e, n, t, a) {
|
|
4702
4702
|
return Math.sqrt(Math.pow(n.top - e.top, 2) + Math.pow(n.left - e.left, 2)) / Math.sqrt(Math.pow(n.top - t.top, 2) + Math.pow(n.left - t.left, 2)) * a.animation;
|
|
4703
4703
|
}
|
|
4704
4704
|
var Ut = [], ka = {
|
|
@@ -4753,7 +4753,7 @@ var Ut = [], ka = {
|
|
|
4753
4753
|
}), r;
|
|
4754
4754
|
}
|
|
4755
4755
|
};
|
|
4756
|
-
function
|
|
4756
|
+
function su(e) {
|
|
4757
4757
|
var n = e.sortable, t = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, s = e.toEl, l = e.fromEl, i = e.oldIndex, u = e.newIndex, m = e.oldDraggableIndex, d = e.newDraggableIndex, g = e.originalEvent, p = e.putSortable, T = e.extraEventProperties;
|
|
4758
4758
|
if (n = n || t && t[We], !!n) {
|
|
4759
4759
|
var b, c = n.options, f = "on" + a.charAt(0).toUpperCase() + a.substr(1);
|
|
@@ -4767,16 +4767,16 @@ function uu(e) {
|
|
|
4767
4767
|
t && t.dispatchEvent(b), c[f] && c[f].call(n, b);
|
|
4768
4768
|
}
|
|
4769
4769
|
}
|
|
4770
|
-
var
|
|
4771
|
-
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o =
|
|
4770
|
+
var iu = ["evt"], ze = function(n, t) {
|
|
4771
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o = Xi(a, iu);
|
|
4772
4772
|
On.pluginEvent.bind(ae)(n, t, vt({
|
|
4773
4773
|
dragEl: V,
|
|
4774
4774
|
parentEl: Fe,
|
|
4775
4775
|
ghostEl: oe,
|
|
4776
4776
|
rootEl: _e,
|
|
4777
|
-
nextEl:
|
|
4777
|
+
nextEl: Mt,
|
|
4778
4778
|
lastDownEl: jn,
|
|
4779
|
-
cloneEl:
|
|
4779
|
+
cloneEl: Ie,
|
|
4780
4780
|
cloneHidden: kt,
|
|
4781
4781
|
dragStarted: fn,
|
|
4782
4782
|
putSortable: Ve,
|
|
@@ -4786,8 +4786,8 @@ var cu = ["evt"], ze = function(n, t) {
|
|
|
4786
4786
|
oldDraggableIndex: bn,
|
|
4787
4787
|
newIndex: Xe,
|
|
4788
4788
|
newDraggableIndex: Dt,
|
|
4789
|
-
hideGhostForTarget:
|
|
4790
|
-
unhideGhostForTarget:
|
|
4789
|
+
hideGhostForTarget: xr,
|
|
4790
|
+
unhideGhostForTarget: _r,
|
|
4791
4791
|
cloneNowHidden: function() {
|
|
4792
4792
|
kt = !0;
|
|
4793
4793
|
},
|
|
@@ -4804,9 +4804,9 @@ var cu = ["evt"], ze = function(n, t) {
|
|
|
4804
4804
|
}, o));
|
|
4805
4805
|
};
|
|
4806
4806
|
function je(e) {
|
|
4807
|
-
|
|
4807
|
+
su(vt({
|
|
4808
4808
|
putSortable: Ve,
|
|
4809
|
-
cloneEl:
|
|
4809
|
+
cloneEl: Ie,
|
|
4810
4810
|
targetEl: V,
|
|
4811
4811
|
rootEl: _e,
|
|
4812
4812
|
oldIndex: qt,
|
|
@@ -4815,14 +4815,14 @@ function je(e) {
|
|
|
4815
4815
|
newDraggableIndex: Dt
|
|
4816
4816
|
}, e));
|
|
4817
4817
|
}
|
|
4818
|
-
var V, Fe, oe, _e,
|
|
4818
|
+
var V, Fe, oe, _e, Mt, jn, Ie, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea = [], xt, lt, Ea, Ta, Lo, No, fn, Vt, yn, Cn = !1, Ln = !1, qn, He, Aa = [], La = !1, ta = [], va = typeof document < "u", Nn = lo, Yo = Fn || wt ? "cssFloat" : "float", uu = va && !gr && !lo && "draggable" in document.createElement("div"), Er = (function() {
|
|
4819
4819
|
if (va) {
|
|
4820
4820
|
if (wt)
|
|
4821
4821
|
return !1;
|
|
4822
4822
|
var e = document.createElement("x");
|
|
4823
4823
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
4824
4824
|
}
|
|
4825
|
-
})(),
|
|
4825
|
+
})(), Tr = function(n, t) {
|
|
4826
4826
|
var a = ne(n), r = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = Xt(n, 0, t), s = Xt(n, 1, t), l = o && ne(o), i = s && ne(s), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Le(o).width, m = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + Le(s).width;
|
|
4827
4827
|
if (a.display === "flex")
|
|
4828
4828
|
return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
@@ -4832,21 +4832,21 @@ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea
|
|
|
4832
4832
|
var d = l.float === "left" ? "left" : "right";
|
|
4833
4833
|
return s && (i.clear === "both" || i.clear === d) ? "vertical" : "horizontal";
|
|
4834
4834
|
}
|
|
4835
|
-
return o && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && a[
|
|
4836
|
-
},
|
|
4835
|
+
return o && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && a[Yo] === "none" || s && a[Yo] === "none" && u + m > r) ? "vertical" : "horizontal";
|
|
4836
|
+
}, cu = function(n, t, a) {
|
|
4837
4837
|
var r = a ? n.left : n.top, o = a ? n.right : n.bottom, s = a ? n.width : n.height, l = a ? t.left : t.top, i = a ? t.right : t.bottom, u = a ? t.width : t.height;
|
|
4838
4838
|
return r === l || o === i || r + s / 2 === l + u / 2;
|
|
4839
|
-
},
|
|
4839
|
+
}, du = function(n, t) {
|
|
4840
4840
|
var a;
|
|
4841
4841
|
return ea.some(function(r) {
|
|
4842
4842
|
var o = r[We].options.emptyInsertThreshold;
|
|
4843
|
-
if (!(!o ||
|
|
4843
|
+
if (!(!o || so(r))) {
|
|
4844
4844
|
var s = Le(r), l = n >= s.left - o && n <= s.right + o, i = t >= s.top - o && t <= s.bottom + o;
|
|
4845
4845
|
if (l && i)
|
|
4846
4846
|
return a = r;
|
|
4847
4847
|
}
|
|
4848
4848
|
}), a;
|
|
4849
|
-
},
|
|
4849
|
+
}, Ar = function(n) {
|
|
4850
4850
|
function t(o, s) {
|
|
4851
4851
|
return function(l, i, u, m) {
|
|
4852
4852
|
var d = l.options.group.name && i.options.group.name && l.options.group.name === i.options.group.name;
|
|
@@ -4863,22 +4863,22 @@ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea
|
|
|
4863
4863
|
};
|
|
4864
4864
|
}
|
|
4865
4865
|
var a = {}, r = n.group;
|
|
4866
|
-
(!r ||
|
|
4866
|
+
(!r || Pa(r) != "object") && (r = {
|
|
4867
4867
|
name: r
|
|
4868
4868
|
}), a.name = r.name, a.checkPull = t(r.pull, !0), a.checkPut = t(r.put), a.revertClone = r.revertClone, n.group = a;
|
|
4869
|
-
},
|
|
4870
|
-
!
|
|
4871
|
-
},
|
|
4872
|
-
!
|
|
4869
|
+
}, xr = function() {
|
|
4870
|
+
!Er && oe && ne(oe, "display", "none");
|
|
4871
|
+
}, _r = function() {
|
|
4872
|
+
!Er && oe && ne(oe, "display", "");
|
|
4873
4873
|
};
|
|
4874
|
-
va && !
|
|
4874
|
+
va && !gr && document.addEventListener("click", function(e) {
|
|
4875
4875
|
if (Qn)
|
|
4876
4876
|
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Qn = !1, !1;
|
|
4877
4877
|
}, !0);
|
|
4878
4878
|
var _t = function(n) {
|
|
4879
4879
|
if (V) {
|
|
4880
4880
|
n = n.touches ? n.touches[0] : n;
|
|
4881
|
-
var t =
|
|
4881
|
+
var t = du(n.clientX, n.clientY);
|
|
4882
4882
|
if (t) {
|
|
4883
4883
|
var a = {};
|
|
4884
4884
|
for (var r in n)
|
|
@@ -4886,7 +4886,7 @@ var _t = function(n) {
|
|
|
4886
4886
|
a.target = a.rootEl = t, a.preventDefault = void 0, a.stopPropagation = void 0, t[We]._onDragOver(a);
|
|
4887
4887
|
}
|
|
4888
4888
|
}
|
|
4889
|
-
},
|
|
4889
|
+
}, fu = function(n) {
|
|
4890
4890
|
V && V.parentNode[We]._isOutsideThisEl(n.target);
|
|
4891
4891
|
};
|
|
4892
4892
|
function ae(e, n) {
|
|
@@ -4908,7 +4908,7 @@ function ae(e, n) {
|
|
|
4908
4908
|
// will be set to same as swapThreshold if default
|
|
4909
4909
|
removeCloneOnHide: !0,
|
|
4910
4910
|
direction: function() {
|
|
4911
|
-
return
|
|
4911
|
+
return Tr(e, this.options);
|
|
4912
4912
|
},
|
|
4913
4913
|
ghostClass: "sortable-ghost",
|
|
4914
4914
|
chosenClass: "sortable-chosen",
|
|
@@ -4936,16 +4936,16 @@ function ae(e, n) {
|
|
|
4936
4936
|
y: 0
|
|
4937
4937
|
},
|
|
4938
4938
|
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
|
|
4939
|
-
supportPointer: ae.supportPointer !== !1 && "PointerEvent" in window && (!hn ||
|
|
4939
|
+
supportPointer: ae.supportPointer !== !1 && "PointerEvent" in window && (!hn || lo),
|
|
4940
4940
|
emptyInsertThreshold: 5
|
|
4941
4941
|
};
|
|
4942
4942
|
On.initializePlugins(this, e, t);
|
|
4943
4943
|
for (var a in t)
|
|
4944
4944
|
!(a in n) && (n[a] = t[a]);
|
|
4945
|
-
|
|
4945
|
+
Ar(n);
|
|
4946
4946
|
for (var r in this)
|
|
4947
4947
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
4948
|
-
this.nativeDraggable = n.forceFallback ? !1 :
|
|
4948
|
+
this.nativeDraggable = n.forceFallback ? !1 : uu, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? pe(e, "pointerdown", this._onTapStart) : (pe(e, "mousedown", this._onTapStart), pe(e, "touchstart", this._onTapStart)), this.nativeDraggable && (pe(e, "dragover", this), pe(e, "dragenter", this)), ea.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), St(this, ou());
|
|
4949
4949
|
}
|
|
4950
4950
|
ae.prototype = /** @lends Sortable.prototype */
|
|
4951
4951
|
{
|
|
@@ -4959,7 +4959,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4959
4959
|
_onTapStart: function(n) {
|
|
4960
4960
|
if (n.cancelable) {
|
|
4961
4961
|
var t = this, a = this.el, r = this.options, o = r.preventOnFilter, s = n.type, l = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, i = (l || n).target, u = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || i, m = r.filter;
|
|
4962
|
-
if (
|
|
4962
|
+
if (Cu(a), !V && !(/mousedown|pointerdown/.test(s) && n.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && hn && i && i.tagName.toUpperCase() === "SELECT") && (i = st(i, r.draggable, a, !1), !(i && i.animated) && jn !== i)) {
|
|
4963
4963
|
if (qt = at(i), bn = at(i, r.draggable), typeof m == "function") {
|
|
4964
4964
|
if (m.call(this, n, i, this)) {
|
|
4965
4965
|
je({
|
|
@@ -4998,25 +4998,25 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4998
4998
|
var r = this, o = r.el, s = r.options, l = o.ownerDocument, i;
|
|
4999
4999
|
if (a && !V && a.parentNode === o) {
|
|
5000
5000
|
var u = Le(a);
|
|
5001
|
-
if (_e = o, V = a, Fe = V.parentNode,
|
|
5001
|
+
if (_e = o, V = a, Fe = V.parentNode, Mt = V.nextSibling, jn = a, Pn = s.group, ae.dragged = V, xt = {
|
|
5002
5002
|
target: V,
|
|
5003
5003
|
clientX: (t || n).clientX,
|
|
5004
5004
|
clientY: (t || n).clientY
|
|
5005
|
-
},
|
|
5005
|
+
}, Lo = xt.clientX - u.left, No = xt.clientY - u.top, this._lastX = (t || n).clientX, this._lastY = (t || n).clientY, V.style["will-change"] = "all", i = function() {
|
|
5006
5006
|
if (ze("delayEnded", r, {
|
|
5007
5007
|
evt: n
|
|
5008
5008
|
}), ae.eventCanceled) {
|
|
5009
5009
|
r._onDrop();
|
|
5010
5010
|
return;
|
|
5011
5011
|
}
|
|
5012
|
-
r._disableDelayedDragEvents(), !
|
|
5012
|
+
r._disableDelayedDragEvents(), !Oo && r.nativeDraggable && (V.draggable = !0), r._triggerDragStart(n, t), je({
|
|
5013
5013
|
sortable: r,
|
|
5014
5014
|
name: "choose",
|
|
5015
5015
|
originalEvent: n
|
|
5016
5016
|
}), Ge(V, s.chosenClass, !0);
|
|
5017
5017
|
}, s.ignore.split(",").forEach(function(m) {
|
|
5018
|
-
|
|
5019
|
-
}), pe(l, "dragover", _t), pe(l, "mousemove", _t), pe(l, "touchmove", _t), s.supportPointer ? (pe(l, "pointerup", r._onDrop), !this.nativeDraggable && pe(l, "pointercancel", r._onDrop)) : (pe(l, "mouseup", r._onDrop), pe(l, "touchend", r._onDrop), pe(l, "touchcancel", r._onDrop)),
|
|
5018
|
+
Cr(V, m.trim(), xa);
|
|
5019
|
+
}), pe(l, "dragover", _t), pe(l, "mousemove", _t), pe(l, "touchmove", _t), s.supportPointer ? (pe(l, "pointerup", r._onDrop), !this.nativeDraggable && pe(l, "pointercancel", r._onDrop)) : (pe(l, "mouseup", r._onDrop), pe(l, "touchend", r._onDrop), pe(l, "touchcancel", r._onDrop)), Oo && this.nativeDraggable && (this.options.touchStartThreshold = 4, V.draggable = !0), ze("delayStart", this, {
|
|
5020
5020
|
evt: n
|
|
5021
5021
|
}), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Fn || wt))) {
|
|
5022
5022
|
if (ae.eventCanceled) {
|
|
@@ -5052,7 +5052,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5052
5052
|
if (Ht = !1, _e && V) {
|
|
5053
5053
|
ze("dragStarted", this, {
|
|
5054
5054
|
evt: t
|
|
5055
|
-
}), this.nativeDraggable && pe(document, "dragover",
|
|
5055
|
+
}), this.nativeDraggable && pe(document, "dragover", fu);
|
|
5056
5056
|
var a = this.options;
|
|
5057
5057
|
!n && Ge(V, a.dragClass, !1), Ge(V, a.ghostClass, !0), ae.active = this, n && this._appendGhost(), je({
|
|
5058
5058
|
sortable: this,
|
|
@@ -5064,7 +5064,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5064
5064
|
},
|
|
5065
5065
|
_emulateDragOver: function() {
|
|
5066
5066
|
if (lt) {
|
|
5067
|
-
this._lastX = lt.clientX, this._lastY = lt.clientY,
|
|
5067
|
+
this._lastX = lt.clientX, this._lastY = lt.clientY, xr();
|
|
5068
5068
|
for (var n = document.elementFromPoint(lt.clientX, lt.clientY), t = n; n && n.shadowRoot && (n = n.shadowRoot.elementFromPoint(lt.clientX, lt.clientY), n !== t); )
|
|
5069
5069
|
t = n;
|
|
5070
5070
|
if (V.parentNode[We]._isOutsideThisEl(n), t)
|
|
@@ -5080,13 +5080,13 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5080
5080
|
break;
|
|
5081
5081
|
}
|
|
5082
5082
|
n = t;
|
|
5083
|
-
} while (t =
|
|
5084
|
-
|
|
5083
|
+
} while (t = yr(t));
|
|
5084
|
+
_r();
|
|
5085
5085
|
}
|
|
5086
5086
|
},
|
|
5087
5087
|
_onTouchMove: function(n) {
|
|
5088
5088
|
if (xt) {
|
|
5089
|
-
var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, s = oe && zt(oe, !0), l = oe && s && s.a, i = oe && s && s.d, u = Nn && He &&
|
|
5089
|
+
var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, s = oe && zt(oe, !0), l = oe && s && s.a, i = oe && s && s.d, u = Nn && He && Po(He), m = (o.clientX - xt.clientX + r.x) / (l || 1) + (u ? u[0] - Aa[0] : 0) / (l || 1), d = (o.clientY - xt.clientY + r.y) / (i || 1) + (u ? u[1] - Aa[1] : 0) / (i || 1);
|
|
5090
5090
|
if (!ae.active && !Ht) {
|
|
5091
5091
|
if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
|
|
5092
5092
|
return;
|
|
@@ -5113,9 +5113,9 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5113
5113
|
if (Nn) {
|
|
5114
5114
|
for (He = n; ne(He, "position") === "static" && ne(He, "transform") === "none" && He !== document; )
|
|
5115
5115
|
He = He.parentNode;
|
|
5116
|
-
He !== document.body && He !== document.documentElement ? (He === document && (He = ft()), t.top += He.scrollTop, t.left += He.scrollLeft) : He = ft(), Aa =
|
|
5116
|
+
He !== document.body && He !== document.documentElement ? (He === document && (He = ft()), t.top += He.scrollTop, t.left += He.scrollLeft) : He = ft(), Aa = Po(He);
|
|
5117
5117
|
}
|
|
5118
|
-
oe = V.cloneNode(!0), Ge(oe, a.ghostClass, !1), Ge(oe, a.fallbackClass, !0), Ge(oe, a.dragClass, !0), ne(oe, "transition", ""), ne(oe, "transform", ""), ne(oe, "box-sizing", "border-box"), ne(oe, "margin", 0), ne(oe, "top", t.top), ne(oe, "left", t.left), ne(oe, "width", t.width), ne(oe, "height", t.height), ne(oe, "opacity", "0.8"), ne(oe, "position", Nn ? "absolute" : "fixed"), ne(oe, "zIndex", "100000"), ne(oe, "pointerEvents", "none"), ae.ghost = oe, n.appendChild(oe), ne(oe, "transform-origin",
|
|
5118
|
+
oe = V.cloneNode(!0), Ge(oe, a.ghostClass, !1), Ge(oe, a.fallbackClass, !0), Ge(oe, a.dragClass, !0), ne(oe, "transition", ""), ne(oe, "transform", ""), ne(oe, "box-sizing", "border-box"), ne(oe, "margin", 0), ne(oe, "top", t.top), ne(oe, "left", t.left), ne(oe, "width", t.width), ne(oe, "height", t.height), ne(oe, "opacity", "0.8"), ne(oe, "position", Nn ? "absolute" : "fixed"), ne(oe, "zIndex", "100000"), ne(oe, "pointerEvents", "none"), ae.ghost = oe, n.appendChild(oe), ne(oe, "transform-origin", Lo / parseInt(oe.style.width) * 100 + "% " + No / parseInt(oe.style.height) * 100 + "%");
|
|
5119
5119
|
}
|
|
5120
5120
|
},
|
|
5121
5121
|
_onDragStart: function(n, t) {
|
|
@@ -5126,8 +5126,8 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5126
5126
|
this._onDrop();
|
|
5127
5127
|
return;
|
|
5128
5128
|
}
|
|
5129
|
-
ze("setupClone", this), ae.eventCanceled || (
|
|
5130
|
-
ze("clone", a), !ae.eventCanceled && (a.options.removeCloneOnHide || _e.insertBefore(
|
|
5129
|
+
ze("setupClone", this), ae.eventCanceled || (Ie = Dr(V), Ie.removeAttribute("id"), Ie.draggable = !1, Ie.style["will-change"] = "", this._hideClone(), Ge(Ie, this.options.chosenClass, !1), ae.clone = Ie), a.cloneId = zn(function() {
|
|
5130
|
+
ze("clone", a), !ae.eventCanceled && (a.options.removeCloneOnHide || _e.insertBefore(Ie, V), a._hideClone(), je({
|
|
5131
5131
|
sortable: a,
|
|
5132
5132
|
name: "clone"
|
|
5133
5133
|
}));
|
|
@@ -5136,7 +5136,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5136
5136
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
5137
5137
|
_onDragOver: function(n) {
|
|
5138
5138
|
var t = this.el, a = n.target, r, o, s, l = this.options, i = l.group, u = ae.active, m = Pn === i, d = l.sort, g = Ve || u, p, T = this, b = !1;
|
|
5139
|
-
if (
|
|
5139
|
+
if (La) return;
|
|
5140
5140
|
function c(x, R) {
|
|
5141
5141
|
ze(x, T, vt({
|
|
5142
5142
|
evt: n,
|
|
@@ -5181,14 +5181,14 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5181
5181
|
if (Qn = !1, u && !l.disabled && (m ? d || (s = Fe !== _e) : Ve === this || (this.lastPutMode = Pn.checkPull(this, u, V, n)) && i.checkPut(this, u, V, n))) {
|
|
5182
5182
|
if (p = this._getDirection(n, a) === "vertical", r = Le(V), c("dragOverValid"), ae.eventCanceled) return b;
|
|
5183
5183
|
if (s)
|
|
5184
|
-
return Fe = _e, f(), this._hideClone(), c("revert"), ae.eventCanceled || (
|
|
5185
|
-
var F =
|
|
5186
|
-
if (!F ||
|
|
5184
|
+
return Fe = _e, f(), this._hideClone(), c("revert"), ae.eventCanceled || (Mt ? _e.insertBefore(V, Mt) : _e.appendChild(V)), v(!0);
|
|
5185
|
+
var F = so(t, l.draggable);
|
|
5186
|
+
if (!F || hu(n, p, this) && !F.animated) {
|
|
5187
5187
|
if (F === V)
|
|
5188
5188
|
return v(!1);
|
|
5189
5189
|
if (F && t === n.target && (a = F), a && (o = Le(a)), Yn(_e, t, V, r, a, o, n, !!a) !== !1)
|
|
5190
5190
|
return f(), F && F.nextSibling ? t.insertBefore(V, F.nextSibling) : t.appendChild(V), Fe = t, w(), v(!0);
|
|
5191
|
-
} else if (F &&
|
|
5191
|
+
} else if (F && pu(n, p, this)) {
|
|
5192
5192
|
var k = Xt(t, 0, l, !0);
|
|
5193
5193
|
if (k === V)
|
|
5194
5194
|
return v(!1);
|
|
@@ -5196,8 +5196,8 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5196
5196
|
return f(), t.insertBefore(V, k), Fe = t, w(), v(!0);
|
|
5197
5197
|
} else if (a.parentNode === t) {
|
|
5198
5198
|
o = Le(a);
|
|
5199
|
-
var h = 0,
|
|
5200
|
-
Vt !== a && (
|
|
5199
|
+
var h = 0, M, Y = V.parentNode !== t, E = !cu(V.animated && V.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", N = Ro(a, "top", "top") || Ro(V, "top", "top"), I = N ? N.scrollTop : void 0;
|
|
5200
|
+
Vt !== a && (M = o[$], Cn = !1, Ln = !E && l.invertSwap || Y), h = gu(n, a, o, p, E ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ln, Vt === a);
|
|
5201
5201
|
var A;
|
|
5202
5202
|
if (h !== 0) {
|
|
5203
5203
|
var _ = at(V);
|
|
@@ -5212,7 +5212,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5212
5212
|
y = h === 1;
|
|
5213
5213
|
var C = Yn(_e, t, V, r, a, o, n, y);
|
|
5214
5214
|
if (C !== !1)
|
|
5215
|
-
return (C === 1 || C === -1) && (y = C === 1),
|
|
5215
|
+
return (C === 1 || C === -1) && (y = C === 1), La = !0, setTimeout(vu, 30), f(), y && !S ? t.appendChild(V) : a.parentNode.insertBefore(V, y ? S : a), N && wr(N, 0, I - N.scrollTop), Fe = V.parentNode, M !== void 0 && !Ln && (qn = Math.abs(M - Le(a)[$])), w(), v(!0);
|
|
5216
5216
|
}
|
|
5217
5217
|
if (t.contains(V))
|
|
5218
5218
|
return v(!1);
|
|
@@ -5235,7 +5235,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5235
5235
|
this._nulling();
|
|
5236
5236
|
return;
|
|
5237
5237
|
}
|
|
5238
|
-
Ht = !1, Ln = !1, Cn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer),
|
|
5238
|
+
Ht = !1, Ln = !1, Cn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Na(this.cloneId), Na(this._dragStartId), this.nativeDraggable && (me(document, "drop", this), me(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), hn && ne(document.body, "user-select", ""), ne(V, "transform", ""), n && (fn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), oe && oe.parentNode && oe.parentNode.removeChild(oe), (_e === Fe || Ve && Ve.lastPutMode !== "clone") && Ie && Ie.parentNode && Ie.parentNode.removeChild(Ie), V && (this.nativeDraggable && me(V, "dragend", this), xa(V), V.style["will-change"] = "", fn && !Ht && Ge(V, Ve ? Ve.options.ghostClass : this.options.ghostClass, !1), Ge(V, this.options.chosenClass, !1), je({
|
|
5239
5239
|
sortable: this,
|
|
5240
5240
|
name: "unchoose",
|
|
5241
5241
|
toEl: Fe,
|
|
@@ -5282,7 +5282,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5282
5282
|
}), this.save()))), this._nulling();
|
|
5283
5283
|
},
|
|
5284
5284
|
_nulling: function() {
|
|
5285
|
-
ze("nulling", this), _e = V = Fe = oe =
|
|
5285
|
+
ze("nulling", this), _e = V = Fe = oe = Mt = Ie = jn = kt = xt = lt = fn = Xe = Dt = qt = bn = Vt = yn = Ve = Pn = ae.dragged = ae.ghost = ae.clone = ae.active = null;
|
|
5286
5286
|
var n = this.el;
|
|
5287
5287
|
ta.forEach(function(t) {
|
|
5288
5288
|
n.contains(t) && (t.checked = !0);
|
|
@@ -5296,7 +5296,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5296
5296
|
break;
|
|
5297
5297
|
case "dragenter":
|
|
5298
5298
|
case "dragover":
|
|
5299
|
-
V && (this._onDragOver(n),
|
|
5299
|
+
V && (this._onDragOver(n), mu(n));
|
|
5300
5300
|
break;
|
|
5301
5301
|
case "selectstart":
|
|
5302
5302
|
n.preventDefault();
|
|
@@ -5309,7 +5309,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5309
5309
|
*/
|
|
5310
5310
|
toArray: function() {
|
|
5311
5311
|
for (var n = [], t, a = this.el.children, r = 0, o = a.length, s = this.options; r < o; r++)
|
|
5312
|
-
t = a[r], st(t, s.draggable, this.el, !1) && n.push(t.getAttribute(s.dataIdAttr) ||
|
|
5312
|
+
t = a[r], st(t, s.draggable, this.el, !1) && n.push(t.getAttribute(s.dataIdAttr) || yu(t));
|
|
5313
5313
|
return n;
|
|
5314
5314
|
},
|
|
5315
5315
|
/**
|
|
@@ -5352,7 +5352,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5352
5352
|
if (t === void 0)
|
|
5353
5353
|
return a[n];
|
|
5354
5354
|
var r = On.modifyOption(this, n, t);
|
|
5355
|
-
typeof r < "u" ? a[n] = r : a[n] = t, n === "group" &&
|
|
5355
|
+
typeof r < "u" ? a[n] = r : a[n] = t, n === "group" && Ar(a);
|
|
5356
5356
|
},
|
|
5357
5357
|
/**
|
|
5358
5358
|
* Destroy
|
|
@@ -5367,7 +5367,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5367
5367
|
_hideClone: function() {
|
|
5368
5368
|
if (!kt) {
|
|
5369
5369
|
if (ze("hideClone", this), ae.eventCanceled) return;
|
|
5370
|
-
ne(
|
|
5370
|
+
ne(Ie, "display", "none"), this.options.removeCloneOnHide && Ie.parentNode && Ie.parentNode.removeChild(Ie), kt = !0;
|
|
5371
5371
|
}
|
|
5372
5372
|
},
|
|
5373
5373
|
_showClone: function(n) {
|
|
@@ -5377,11 +5377,11 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
5377
5377
|
}
|
|
5378
5378
|
if (kt) {
|
|
5379
5379
|
if (ze("showClone", this), ae.eventCanceled) return;
|
|
5380
|
-
V.parentNode == _e && !this.options.group.revertClone ? _e.insertBefore(
|
|
5380
|
+
V.parentNode == _e && !this.options.group.revertClone ? _e.insertBefore(Ie, V) : Mt ? _e.insertBefore(Ie, Mt) : _e.appendChild(Ie), this.options.group.revertClone && this.animate(V, Ie), ne(Ie, "display", ""), kt = !1;
|
|
5381
5381
|
}
|
|
5382
5382
|
}
|
|
5383
5383
|
};
|
|
5384
|
-
function
|
|
5384
|
+
function mu(e) {
|
|
5385
5385
|
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
5386
5386
|
}
|
|
5387
5387
|
function Yn(e, n, t, a, r, o, s, l) {
|
|
@@ -5394,18 +5394,18 @@ function Yn(e, n, t, a, r, o, s, l) {
|
|
|
5394
5394
|
function xa(e) {
|
|
5395
5395
|
e.draggable = !1;
|
|
5396
5396
|
}
|
|
5397
|
-
function
|
|
5398
|
-
|
|
5397
|
+
function vu() {
|
|
5398
|
+
La = !1;
|
|
5399
5399
|
}
|
|
5400
|
-
function
|
|
5401
|
-
var a = Le(Xt(t.el, 0, t.options, !0)), r =
|
|
5400
|
+
function pu(e, n, t) {
|
|
5401
|
+
var a = Le(Xt(t.el, 0, t.options, !0)), r = kr(t.el, t.options, oe), o = 10;
|
|
5402
5402
|
return n ? e.clientX < r.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < r.top - o || e.clientY < a.bottom && e.clientX < a.left;
|
|
5403
5403
|
}
|
|
5404
|
-
function
|
|
5405
|
-
var a = Le(
|
|
5404
|
+
function hu(e, n, t) {
|
|
5405
|
+
var a = Le(so(t.el, t.options.draggable)), r = kr(t.el, t.options, oe), o = 10;
|
|
5406
5406
|
return n ? e.clientX > r.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > r.bottom + o || e.clientX > a.right && e.clientY > a.top;
|
|
5407
5407
|
}
|
|
5408
|
-
function
|
|
5408
|
+
function gu(e, n, t, a, r, o, s, l) {
|
|
5409
5409
|
var i = a ? e.clientY : e.clientX, u = a ? t.height : t.width, m = a ? t.top : t.left, d = a ? t.bottom : t.right, g = !1;
|
|
5410
5410
|
if (!s) {
|
|
5411
5411
|
if (l && qn < u * r) {
|
|
@@ -5414,19 +5414,19 @@ function yu(e, n, t, a, r, o, s, l) {
|
|
|
5414
5414
|
else if (yn === 1 ? i < m + qn : i > d - qn)
|
|
5415
5415
|
return -yn;
|
|
5416
5416
|
} else if (i > m + u * (1 - r) / 2 && i < d - u * (1 - r) / 2)
|
|
5417
|
-
return
|
|
5417
|
+
return bu(n);
|
|
5418
5418
|
}
|
|
5419
5419
|
return g = g || s, g && (i < m + u * o / 2 || i > d - u * o / 2) ? i > m + u / 2 ? 1 : -1 : 0;
|
|
5420
5420
|
}
|
|
5421
|
-
function
|
|
5421
|
+
function bu(e) {
|
|
5422
5422
|
return at(V) < at(e) ? 1 : -1;
|
|
5423
5423
|
}
|
|
5424
|
-
function
|
|
5424
|
+
function yu(e) {
|
|
5425
5425
|
for (var n = e.tagName + e.className + e.src + e.href + e.textContent, t = n.length, a = 0; t--; )
|
|
5426
5426
|
a += n.charCodeAt(t);
|
|
5427
5427
|
return a.toString(36);
|
|
5428
5428
|
}
|
|
5429
|
-
function
|
|
5429
|
+
function Cu(e) {
|
|
5430
5430
|
ta.length = 0;
|
|
5431
5431
|
for (var n = e.getElementsByTagName("input"), t = n.length; t--; ) {
|
|
5432
5432
|
var a = n[t];
|
|
@@ -5436,7 +5436,7 @@ function wu(e) {
|
|
|
5436
5436
|
function zn(e) {
|
|
5437
5437
|
return setTimeout(e, 0);
|
|
5438
5438
|
}
|
|
5439
|
-
function
|
|
5439
|
+
function Na(e) {
|
|
5440
5440
|
return clearTimeout(e);
|
|
5441
5441
|
}
|
|
5442
5442
|
va && pe(document, "touchmove", function(e) {
|
|
@@ -5446,19 +5446,19 @@ ae.utils = {
|
|
|
5446
5446
|
on: pe,
|
|
5447
5447
|
off: me,
|
|
5448
5448
|
css: ne,
|
|
5449
|
-
find:
|
|
5449
|
+
find: Cr,
|
|
5450
5450
|
is: function(n, t) {
|
|
5451
5451
|
return !!st(n, t, n, !1);
|
|
5452
5452
|
},
|
|
5453
|
-
extend:
|
|
5454
|
-
throttle:
|
|
5453
|
+
extend: nu,
|
|
5454
|
+
throttle: Sr,
|
|
5455
5455
|
closest: st,
|
|
5456
5456
|
toggleClass: Ge,
|
|
5457
|
-
clone:
|
|
5457
|
+
clone: Dr,
|
|
5458
5458
|
index: at,
|
|
5459
5459
|
nextTick: zn,
|
|
5460
|
-
cancelNextTick:
|
|
5461
|
-
detectDirection:
|
|
5460
|
+
cancelNextTick: Na,
|
|
5461
|
+
detectDirection: Tr,
|
|
5462
5462
|
getChild: Xt,
|
|
5463
5463
|
expando: We
|
|
5464
5464
|
};
|
|
@@ -5477,9 +5477,9 @@ ae.mount = function() {
|
|
|
5477
5477
|
ae.create = function(e, n) {
|
|
5478
5478
|
return new ae(e, n);
|
|
5479
5479
|
};
|
|
5480
|
-
ae.version =
|
|
5481
|
-
var Pe = [], mn,
|
|
5482
|
-
function
|
|
5480
|
+
ae.version = eu;
|
|
5481
|
+
var Pe = [], mn, Ya, Ua = !1, _a, Ma, na, vn;
|
|
5482
|
+
function Su() {
|
|
5483
5483
|
function e() {
|
|
5484
5484
|
this.defaults = {
|
|
5485
5485
|
scroll: !0,
|
|
@@ -5501,10 +5501,10 @@ function Du() {
|
|
|
5501
5501
|
!this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
|
|
5502
5502
|
},
|
|
5503
5503
|
drop: function() {
|
|
5504
|
-
this.sortable.nativeDraggable ? me(document, "dragover", this._handleAutoScroll) : (me(document, "pointermove", this._handleFallbackAutoScroll), me(document, "touchmove", this._handleFallbackAutoScroll), me(document, "mousemove", this._handleFallbackAutoScroll)),
|
|
5504
|
+
this.sortable.nativeDraggable ? me(document, "dragover", this._handleAutoScroll) : (me(document, "pointermove", this._handleFallbackAutoScroll), me(document, "touchmove", this._handleFallbackAutoScroll), me(document, "mousemove", this._handleFallbackAutoScroll)), Uo(), Wn(), au();
|
|
5505
5505
|
},
|
|
5506
5506
|
nulling: function() {
|
|
5507
|
-
na =
|
|
5507
|
+
na = Ya = mn = Ua = vn = _a = Ma = null, Pe.length = 0;
|
|
5508
5508
|
},
|
|
5509
5509
|
_handleFallbackAutoScroll: function(t) {
|
|
5510
5510
|
this._handleAutoScroll(t, !0);
|
|
@@ -5512,18 +5512,18 @@ function Du() {
|
|
|
5512
5512
|
_handleAutoScroll: function(t, a) {
|
|
5513
5513
|
var r = this, o = (t.touches ? t.touches[0] : t).clientX, s = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(o, s);
|
|
5514
5514
|
if (na = t, a || this.options.forceAutoScrollFallback || Fn || wt || hn) {
|
|
5515
|
-
|
|
5515
|
+
Ia(t, this.options, l, a);
|
|
5516
5516
|
var i = Et(l, !0);
|
|
5517
|
-
|
|
5517
|
+
Ua && (!vn || o !== _a || s !== Ma) && (vn && Uo(), vn = setInterval(function() {
|
|
5518
5518
|
var u = Et(document.elementFromPoint(o, s), !0);
|
|
5519
|
-
u !== i && (i = u, Wn()),
|
|
5520
|
-
}, 10), _a = o,
|
|
5519
|
+
u !== i && (i = u, Wn()), Ia(t, r.options, u, a);
|
|
5520
|
+
}, 10), _a = o, Ma = s);
|
|
5521
5521
|
} else {
|
|
5522
5522
|
if (!this.options.bubbleScroll || Et(l, !0) === ft()) {
|
|
5523
5523
|
Wn();
|
|
5524
5524
|
return;
|
|
5525
5525
|
}
|
|
5526
|
-
|
|
5526
|
+
Ia(t, this.options, Et(l, !1), !1);
|
|
5527
5527
|
}
|
|
5528
5528
|
}
|
|
5529
5529
|
}, St(e, {
|
|
@@ -5536,32 +5536,32 @@ function Wn() {
|
|
|
5536
5536
|
clearInterval(e.pid);
|
|
5537
5537
|
}), Pe = [];
|
|
5538
5538
|
}
|
|
5539
|
-
function
|
|
5539
|
+
function Uo() {
|
|
5540
5540
|
clearInterval(vn);
|
|
5541
5541
|
}
|
|
5542
|
-
var
|
|
5542
|
+
var Ia = Sr(function(e, n, t, a) {
|
|
5543
5543
|
if (n.scroll) {
|
|
5544
5544
|
var r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, s = n.scrollSensitivity, l = n.scrollSpeed, i = ft(), u = !1, m;
|
|
5545
|
-
|
|
5545
|
+
Ya !== t && (Ya = t, Wn(), mn = n.scroll, m = n.scrollFn, mn === !0 && (mn = Et(t, !0)));
|
|
5546
5546
|
var d = 0, g = mn;
|
|
5547
5547
|
do {
|
|
5548
|
-
var p = g, T = Le(p), b = T.top, c = T.bottom, f = T.left, v = T.right, w = T.width, F = T.height, k = void 0, h = void 0,
|
|
5549
|
-
p === i ? (k = w <
|
|
5550
|
-
var
|
|
5548
|
+
var p = g, T = Le(p), b = T.top, c = T.bottom, f = T.left, v = T.right, w = T.width, F = T.height, k = void 0, h = void 0, M = p.scrollWidth, Y = p.scrollHeight, E = ne(p), $ = p.scrollLeft, N = p.scrollTop;
|
|
5549
|
+
p === i ? (k = w < M && (E.overflowX === "auto" || E.overflowX === "scroll" || E.overflowX === "visible"), h = F < Y && (E.overflowY === "auto" || E.overflowY === "scroll" || E.overflowY === "visible")) : (k = w < M && (E.overflowX === "auto" || E.overflowX === "scroll"), h = F < Y && (E.overflowY === "auto" || E.overflowY === "scroll"));
|
|
5550
|
+
var I = k && (Math.abs(v - r) <= s && $ + w < M) - (Math.abs(f - r) <= s && !!$), A = h && (Math.abs(c - o) <= s && N + F < Y) - (Math.abs(b - o) <= s && !!N);
|
|
5551
5551
|
if (!Pe[d])
|
|
5552
5552
|
for (var _ = 0; _ <= d; _++)
|
|
5553
5553
|
Pe[_] || (Pe[_] = {});
|
|
5554
|
-
(Pe[d].vx !=
|
|
5554
|
+
(Pe[d].vx != I || Pe[d].vy != A || Pe[d].el !== p) && (Pe[d].el = p, Pe[d].vx = I, Pe[d].vy = A, clearInterval(Pe[d].pid), (I != 0 || A != 0) && (u = !0, Pe[d].pid = setInterval((function() {
|
|
5555
5555
|
a && this.layer === 0 && ae.active._onTouchMove(na);
|
|
5556
5556
|
var S = Pe[this.layer].vy ? Pe[this.layer].vy * l : 0, y = Pe[this.layer].vx ? Pe[this.layer].vx * l : 0;
|
|
5557
|
-
typeof m == "function" && m.call(ae.dragged.parentNode[We], y, S, e, na, Pe[this.layer].el) !== "continue" ||
|
|
5557
|
+
typeof m == "function" && m.call(ae.dragged.parentNode[We], y, S, e, na, Pe[this.layer].el) !== "continue" || wr(Pe[this.layer].el, y, S);
|
|
5558
5558
|
}).bind({
|
|
5559
5559
|
layer: d
|
|
5560
5560
|
}), 24))), d++;
|
|
5561
5561
|
} while (n.bubbleScroll && g !== i && (g = Et(g, !1)));
|
|
5562
|
-
|
|
5562
|
+
Ua = u;
|
|
5563
5563
|
}
|
|
5564
|
-
}, 30),
|
|
5564
|
+
}, 30), Mr = function(n) {
|
|
5565
5565
|
var t = n.originalEvent, a = n.putSortable, r = n.dragEl, o = n.activeSortable, s = n.dispatchSortableEvent, l = n.hideGhostForTarget, i = n.unhideGhostForTarget;
|
|
5566
5566
|
if (t) {
|
|
5567
5567
|
var u = a || o;
|
|
@@ -5573,9 +5573,9 @@ var Ma = Dr(function(e, n, t, a) {
|
|
|
5573
5573
|
}));
|
|
5574
5574
|
}
|
|
5575
5575
|
};
|
|
5576
|
-
function
|
|
5576
|
+
function io() {
|
|
5577
5577
|
}
|
|
5578
|
-
|
|
5578
|
+
io.prototype = {
|
|
5579
5579
|
startIndex: null,
|
|
5580
5580
|
dragStart: function(n) {
|
|
5581
5581
|
var t = n.oldDraggableIndex;
|
|
@@ -5587,30 +5587,30 @@ uo.prototype = {
|
|
|
5587
5587
|
var r = Xt(this.sortable.el, this.startIndex, this.options);
|
|
5588
5588
|
r ? this.sortable.el.insertBefore(t, r) : this.sortable.el.appendChild(t), this.sortable.animateAll(), a && a.animateAll();
|
|
5589
5589
|
},
|
|
5590
|
-
drop:
|
|
5590
|
+
drop: Mr
|
|
5591
5591
|
};
|
|
5592
|
-
St(
|
|
5592
|
+
St(io, {
|
|
5593
5593
|
pluginName: "revertOnSpill"
|
|
5594
5594
|
});
|
|
5595
|
-
function
|
|
5595
|
+
function uo() {
|
|
5596
5596
|
}
|
|
5597
|
-
|
|
5597
|
+
uo.prototype = {
|
|
5598
5598
|
onSpill: function(n) {
|
|
5599
5599
|
var t = n.dragEl, a = n.putSortable, r = a || this.sortable;
|
|
5600
5600
|
r.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), r.animateAll();
|
|
5601
5601
|
},
|
|
5602
|
-
drop:
|
|
5602
|
+
drop: Mr
|
|
5603
5603
|
};
|
|
5604
|
-
St(
|
|
5604
|
+
St(uo, {
|
|
5605
5605
|
pluginName: "removeOnSpill"
|
|
5606
5606
|
});
|
|
5607
|
-
ae.mount(new
|
|
5608
|
-
ae.mount(
|
|
5609
|
-
function
|
|
5607
|
+
ae.mount(new Su());
|
|
5608
|
+
ae.mount(uo, io);
|
|
5609
|
+
function wu(e, n, t = {}) {
|
|
5610
5610
|
let a;
|
|
5611
|
-
const { document: r =
|
|
5612
|
-
|
|
5613
|
-
} }, i = U(() => typeof e == "string" ? r?.querySelector(e) :
|
|
5611
|
+
const { document: r = zr, watchElement: o = !1, ...s } = t, l = { onUpdate: (b) => {
|
|
5612
|
+
Eu(n, b.oldIndex, b.newIndex, b);
|
|
5613
|
+
} }, i = U(() => typeof e == "string" ? r?.querySelector(e) : Wr(e)), u = () => {
|
|
5614
5614
|
a?.destroy(), a = void 0;
|
|
5615
5615
|
}, m = (b) => {
|
|
5616
5616
|
!b || a !== void 0 || (a = new ae(b, {
|
|
@@ -5630,11 +5630,11 @@ function ku(e, n, t = {}) {
|
|
|
5630
5630
|
}, {
|
|
5631
5631
|
immediate: !0,
|
|
5632
5632
|
flush: "post"
|
|
5633
|
-
}) :
|
|
5633
|
+
}) : Kr(d);
|
|
5634
5634
|
const T = () => {
|
|
5635
5635
|
u();
|
|
5636
5636
|
};
|
|
5637
|
-
return
|
|
5637
|
+
return Gr(() => {
|
|
5638
5638
|
p?.(), u();
|
|
5639
5639
|
}), {
|
|
5640
5640
|
stop: T,
|
|
@@ -5642,16 +5642,16 @@ function ku(e, n, t = {}) {
|
|
|
5642
5642
|
option: g
|
|
5643
5643
|
};
|
|
5644
5644
|
}
|
|
5645
|
-
function
|
|
5645
|
+
function Du(e, n, t) {
|
|
5646
5646
|
const a = e.children[t];
|
|
5647
5647
|
e.insertBefore(n, a);
|
|
5648
5648
|
}
|
|
5649
|
-
function
|
|
5649
|
+
function ku(e) {
|
|
5650
5650
|
e.parentNode && e.parentNode.removeChild(e);
|
|
5651
5651
|
}
|
|
5652
|
-
function
|
|
5653
|
-
a != null && (
|
|
5654
|
-
const r =
|
|
5652
|
+
function Eu(e, n, t, a = null) {
|
|
5653
|
+
a != null && (ku(a.item), Du(a.from, a.item, n));
|
|
5654
|
+
const r = Va(e), o = r ? [...mo(e)] : mo(e);
|
|
5655
5655
|
if (t >= 0 && t < o.length) {
|
|
5656
5656
|
const s = o.splice(n, 1)[0];
|
|
5657
5657
|
Ye(() => {
|
|
@@ -5662,32 +5662,26 @@ function Au(e, n, t, a = null) {
|
|
|
5662
5662
|
const Ue = [];
|
|
5663
5663
|
for (let e = 0; e < 256; ++e)
|
|
5664
5664
|
Ue.push((e + 256).toString(16).slice(1));
|
|
5665
|
-
function
|
|
5665
|
+
function Ir(e, n = 0) {
|
|
5666
5666
|
return (Ue[e[n + 0]] + Ue[e[n + 1]] + Ue[e[n + 2]] + Ue[e[n + 3]] + "-" + Ue[e[n + 4]] + Ue[e[n + 5]] + "-" + Ue[e[n + 6]] + Ue[e[n + 7]] + "-" + Ue[e[n + 8]] + Ue[e[n + 9]] + "-" + Ue[e[n + 10]] + Ue[e[n + 11]] + Ue[e[n + 12]] + Ue[e[n + 13]] + Ue[e[n + 14]] + Ue[e[n + 15]]).toLowerCase();
|
|
5667
5667
|
}
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
if (!$a) {
|
|
5672
|
-
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
5673
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
5674
|
-
$a = crypto.getRandomValues.bind(crypto);
|
|
5675
|
-
}
|
|
5676
|
-
return $a(xu);
|
|
5668
|
+
const Tu = new Uint8Array(16);
|
|
5669
|
+
function $r() {
|
|
5670
|
+
return crypto.getRandomValues(Tu);
|
|
5677
5671
|
}
|
|
5678
5672
|
const ln = {};
|
|
5679
|
-
function
|
|
5673
|
+
function Au(e, n, t) {
|
|
5680
5674
|
let a;
|
|
5681
5675
|
{
|
|
5682
|
-
const r = Date.now(), o =
|
|
5683
|
-
|
|
5676
|
+
const r = Date.now(), o = $r();
|
|
5677
|
+
xu(ln, r, o), a = _u(o, ln.msecs, ln.nsecs, ln.clockseq, ln.node, n, t);
|
|
5684
5678
|
}
|
|
5685
|
-
return n ??
|
|
5679
|
+
return n ?? Ir(a);
|
|
5686
5680
|
}
|
|
5687
|
-
function
|
|
5681
|
+
function xu(e, n, t) {
|
|
5688
5682
|
return e.msecs ??= -1 / 0, e.nsecs ??= 0, n === e.msecs ? (e.nsecs++, e.nsecs >= 1e4 && (e.node = void 0, e.nsecs = 0)) : n > e.msecs ? e.nsecs = 0 : n < e.msecs && (e.node = void 0), e.node || (e.node = t.slice(10, 16), e.node[0] |= 1, e.clockseq = (t[8] << 8 | t[9]) & 16383), e.msecs = n, e;
|
|
5689
5683
|
}
|
|
5690
|
-
function
|
|
5684
|
+
function _u(e, n, t, a, r, o, s = 0) {
|
|
5691
5685
|
if (e.length < 16)
|
|
5692
5686
|
throw new Error("Random bytes length must be >= 16");
|
|
5693
5687
|
if (!o)
|
|
@@ -5703,20 +5697,19 @@ function Mu(e, n, t, a, r, o, s = 0) {
|
|
|
5703
5697
|
o[s++] = r[u];
|
|
5704
5698
|
return o;
|
|
5705
5699
|
}
|
|
5706
|
-
|
|
5707
|
-
|
|
5700
|
+
function Mu(e, n, t) {
|
|
5701
|
+
return crypto.randomUUID ? crypto.randomUUID() : Iu(e);
|
|
5702
|
+
}
|
|
5703
|
+
function Iu(e, n, t) {
|
|
5708
5704
|
e = e || {};
|
|
5709
|
-
const a = e.random ?? e.rng?.() ??
|
|
5705
|
+
const a = e.random ?? e.rng?.() ?? $r();
|
|
5710
5706
|
if (a.length < 16)
|
|
5711
5707
|
throw new Error("Random bytes length must be >= 16");
|
|
5712
|
-
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128,
|
|
5708
|
+
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ir(a);
|
|
5713
5709
|
}
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
const Bu = () => _u(), Hd = () => Ou(), sn = "a-sortable-widget__handle", Ru = "a-sortable-widget__ghost", Pu = "a-sortable-widget__drag", Lu = "a-sortable-widget__chosen", jo = "a-sortable-widget__group";
|
|
5718
|
-
function Nu(e, n, t, a) {
|
|
5719
|
-
const r = L(!1), o = L(null), s = L(null), l = L(Bu()), i = L(null), u = L(0), m = L(t.dirty);
|
|
5710
|
+
const $u = () => Au(), Yd = () => Mu(), sn = "a-sortable-widget__handle", Fu = "a-sortable-widget__ghost", Ou = "a-sortable-widget__drag", Bu = "a-sortable-widget__chosen", Vo = "a-sortable-widget__group";
|
|
5711
|
+
function Ru(e, n, t, a) {
|
|
5712
|
+
const r = L(!1), o = L(null), s = L(null), l = L($u()), i = L(null), u = L(0), m = L(t.dirty);
|
|
5720
5713
|
function d(A, _) {
|
|
5721
5714
|
return {
|
|
5722
5715
|
key: A[t.keyField],
|
|
@@ -5736,7 +5729,7 @@ function Nu(e, n, t, a) {
|
|
|
5736
5729
|
const C = _ > S ? S : _;
|
|
5737
5730
|
let x = t.positionMultiplier * C + t.positionMultiplier * 1;
|
|
5738
5731
|
for (let R = C; R < A.length; R++)
|
|
5739
|
-
|
|
5732
|
+
Ps(A[R], t.positionField, x), T(A[R][t.keyField]), x = x + t.positionMultiplier * 1, y.push({
|
|
5740
5733
|
id: A[R].id,
|
|
5741
5734
|
position: A[R].position
|
|
5742
5735
|
});
|
|
@@ -5766,7 +5759,7 @@ function Nu(e, n, t, a) {
|
|
|
5766
5759
|
return S.push($e(_)), p(S), [];
|
|
5767
5760
|
const y = [];
|
|
5768
5761
|
return S[A] ? (S.splice(A + 1, 0, _), c(S, A + 1, A + 1, y), p(S), y) : [];
|
|
5769
|
-
},
|
|
5762
|
+
}, M = (A, _) => {
|
|
5770
5763
|
const S = $e(e.value);
|
|
5771
5764
|
if (G(A))
|
|
5772
5765
|
return S.push($e(_)), p(S), [];
|
|
@@ -5802,7 +5795,7 @@ function Nu(e, n, t, a) {
|
|
|
5802
5795
|
},
|
|
5803
5796
|
destroy: $,
|
|
5804
5797
|
moveArrayElement: f,
|
|
5805
|
-
addAfterId:
|
|
5798
|
+
addAfterId: M,
|
|
5806
5799
|
addAfterIndex: h,
|
|
5807
5800
|
removeById: Y,
|
|
5808
5801
|
removeByIndex: E,
|
|
@@ -5810,7 +5803,7 @@ function Nu(e, n, t, a) {
|
|
|
5810
5803
|
updateDataAtIndex: k
|
|
5811
5804
|
};
|
|
5812
5805
|
}
|
|
5813
|
-
const
|
|
5806
|
+
const Pu = "a-sortable-", Lu = ["id"], Nu = { key: 1 }, Yu = { class: "a-sortable-widget__before" }, Uu = { class: "a-sortable-widget__content" }, Vu = { class: "a-sortable-widget__after" }, Hu = /* @__PURE__ */ Se({
|
|
5814
5807
|
__name: "ASortable",
|
|
5815
5808
|
props: {
|
|
5816
5809
|
modelValue: {},
|
|
@@ -5835,7 +5828,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
5835
5828
|
},
|
|
5836
5829
|
emits: ["update:modelValue", "update:dirty", "onStart", "onEnd", "onAddAfter", "onAddLast", "onEdit", "onDelete"],
|
|
5837
5830
|
setup(e, { expose: n, emit: t }) {
|
|
5838
|
-
const a = e, r = t, o =
|
|
5831
|
+
const a = e, r = t, o = Yr(() => a.modelValue), { t: s } = Re(), l = (y) => {
|
|
5839
5832
|
r("onAddAfter", y);
|
|
5840
5833
|
}, i = (y) => {
|
|
5841
5834
|
if (v.value = y, a.disableDeleteDialog) {
|
|
@@ -5851,14 +5844,14 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
5851
5844
|
return;
|
|
5852
5845
|
}
|
|
5853
5846
|
r("onAddLast", null);
|
|
5854
|
-
}, d = U(() => D(a.widgetIdentifierId) ?
|
|
5847
|
+
}, d = U(() => D(a.widgetIdentifierId) ? Pu + E.value : a.widgetIdentifierId), g = U(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
|
|
5855
5848
|
if (a.disableDraggable || !Y.value) return;
|
|
5856
|
-
const y = Y.value.querySelector("." +
|
|
5857
|
-
y && (
|
|
5849
|
+
const y = Y.value.querySelector("." + Vo);
|
|
5850
|
+
y && (M.value = wu(y, [], {
|
|
5858
5851
|
handle: "." + sn,
|
|
5859
|
-
ghostClass:
|
|
5860
|
-
dragClass:
|
|
5861
|
-
chosenClass:
|
|
5852
|
+
ghostClass: Fu,
|
|
5853
|
+
dragClass: Ou,
|
|
5854
|
+
chosenClass: Bu,
|
|
5862
5855
|
onEnd: async (C) => {
|
|
5863
5856
|
if (a.disableDefaultSort || D(C.oldIndex) || D(C.newIndex))
|
|
5864
5857
|
return;
|
|
@@ -5879,17 +5872,17 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
5879
5872
|
destroy: F,
|
|
5880
5873
|
refresh: k,
|
|
5881
5874
|
onRemoveDialogConfirm: h,
|
|
5882
|
-
sortableInstance:
|
|
5875
|
+
sortableInstance: M,
|
|
5883
5876
|
widgetEl: Y,
|
|
5884
5877
|
randomUuid: E,
|
|
5885
5878
|
addAfterId: $,
|
|
5886
5879
|
removeById: N,
|
|
5887
|
-
updateData:
|
|
5880
|
+
updateData: I,
|
|
5888
5881
|
addAfterIndex: A,
|
|
5889
5882
|
removeByIndex: _,
|
|
5890
5883
|
updateDataAtIndex: S
|
|
5891
|
-
} =
|
|
5892
|
-
return
|
|
5884
|
+
} = Ru(o, p, a, r);
|
|
5885
|
+
return Ur(() => {
|
|
5893
5886
|
F();
|
|
5894
5887
|
}), Ye(() => {
|
|
5895
5888
|
Y.value = document.querySelector("#" + d.value), p();
|
|
@@ -5909,7 +5902,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
5909
5902
|
addAfterIndex: A,
|
|
5910
5903
|
removeById: N,
|
|
5911
5904
|
removeByIndex: _,
|
|
5912
|
-
updateData:
|
|
5905
|
+
updateData: I,
|
|
5913
5906
|
updateDataAtIndex: S
|
|
5914
5907
|
}), (y, C) => {
|
|
5915
5908
|
const x = Wt("ABtnTertiary"), R = Wt("ABtnPrimary");
|
|
@@ -5920,7 +5913,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
5920
5913
|
}, [
|
|
5921
5914
|
(P(), de("div", {
|
|
5922
5915
|
key: H(b),
|
|
5923
|
-
class: Ze(H(
|
|
5916
|
+
class: Ze(H(Vo))
|
|
5924
5917
|
}, [
|
|
5925
5918
|
(P(!0), de(qe, null, Bt(H(T), (j, Q) => (P(), de(qe, {
|
|
5926
5919
|
key: j.key
|
|
@@ -5963,8 +5956,8 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
5963
5956
|
]),
|
|
5964
5957
|
key: "1"
|
|
5965
5958
|
} : void 0
|
|
5966
|
-
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (P(), de("div",
|
|
5967
|
-
Ee("div",
|
|
5959
|
+
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (P(), de("div", Nu, [
|
|
5960
|
+
Ee("div", Yu, [
|
|
5968
5961
|
we(y.$slots, "itemBefore", { item: j })
|
|
5969
5962
|
]),
|
|
5970
5963
|
Ee("div", {
|
|
@@ -5980,7 +5973,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
5980
5973
|
}),
|
|
5981
5974
|
icon: "mdi-drag"
|
|
5982
5975
|
}, null, 8, ["class"]),
|
|
5983
|
-
Ee("div",
|
|
5976
|
+
Ee("div", Uu, [
|
|
5984
5977
|
we(y.$slots, "item", { item: j })
|
|
5985
5978
|
]),
|
|
5986
5979
|
Ee("div", {
|
|
@@ -6038,9 +6031,9 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
6038
6031
|
activator: "parent",
|
|
6039
6032
|
text: "More options"
|
|
6040
6033
|
}),
|
|
6041
|
-
O(
|
|
6034
|
+
O(Wa, { activator: "parent" }, {
|
|
6042
6035
|
default: B(() => [
|
|
6043
|
-
O(
|
|
6036
|
+
O(jo, { density: "compact" }, {
|
|
6044
6037
|
default: B(() => [
|
|
6045
6038
|
e.showAddAfterButton ? (P(), X(Rt, {
|
|
6046
6039
|
key: 0,
|
|
@@ -6063,13 +6056,13 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
6063
6056
|
])
|
|
6064
6057
|
], 2)
|
|
6065
6058
|
], 2),
|
|
6066
|
-
Ee("div",
|
|
6059
|
+
Ee("div", Vu, [
|
|
6067
6060
|
we(y.$slots, "itemAfter", { item: j })
|
|
6068
6061
|
])
|
|
6069
6062
|
]))
|
|
6070
6063
|
], 64))), 128))
|
|
6071
6064
|
], 2))
|
|
6072
|
-
], 10,
|
|
6065
|
+
], 10, Lu),
|
|
6073
6066
|
we(y.$slots, "add-last-activator", {
|
|
6074
6067
|
props: { onClick: ye(() => m(), ["stop"]) }
|
|
6075
6068
|
}, () => [
|
|
@@ -6086,15 +6079,15 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
6086
6079
|
_: 1
|
|
6087
6080
|
})) : ce("", !0)
|
|
6088
6081
|
]),
|
|
6089
|
-
O(
|
|
6082
|
+
O(za, {
|
|
6090
6083
|
modelValue: H(w),
|
|
6091
|
-
"onUpdate:modelValue": C[2] || (C[2] = (j) =>
|
|
6084
|
+
"onUpdate:modelValue": C[2] || (C[2] = (j) => Va(w) ? w.value = j : null),
|
|
6092
6085
|
width: 500
|
|
6093
6086
|
}, {
|
|
6094
6087
|
default: B(() => [
|
|
6095
6088
|
H(w) ? (P(), X(la, { key: 0 }, {
|
|
6096
6089
|
default: B(() => [
|
|
6097
|
-
O(
|
|
6090
|
+
O(Za, {
|
|
6098
6091
|
onOnCancel: C[0] || (C[0] = (j) => w.value = !1)
|
|
6099
6092
|
}, {
|
|
6100
6093
|
default: B(() => [
|
|
@@ -6102,7 +6095,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
6102
6095
|
]),
|
|
6103
6096
|
_: 1
|
|
6104
6097
|
}),
|
|
6105
|
-
O(
|
|
6098
|
+
O(qa, null, {
|
|
6106
6099
|
default: B(() => [
|
|
6107
6100
|
O(sa),
|
|
6108
6101
|
O(x, {
|
|
@@ -6134,13 +6127,13 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
|
|
|
6134
6127
|
};
|
|
6135
6128
|
}
|
|
6136
6129
|
});
|
|
6137
|
-
function
|
|
6130
|
+
function ju() {
|
|
6138
6131
|
return {
|
|
6139
6132
|
createDefaultUserAdminConfig: (n) => ({
|
|
6140
6133
|
id: 0,
|
|
6141
6134
|
user: 0,
|
|
6142
|
-
configType:
|
|
6143
|
-
layoutType:
|
|
6135
|
+
configType: Hi,
|
|
6136
|
+
layoutType: ji,
|
|
6144
6137
|
systemResource: "",
|
|
6145
6138
|
customName: "",
|
|
6146
6139
|
defaultConfig: !1,
|
|
@@ -6155,19 +6148,19 @@ function Wu() {
|
|
|
6155
6148
|
})
|
|
6156
6149
|
};
|
|
6157
6150
|
}
|
|
6158
|
-
const
|
|
6151
|
+
const qu = {
|
|
6159
6152
|
key: 0,
|
|
6160
6153
|
class: "w-100 pt-4"
|
|
6161
|
-
},
|
|
6154
|
+
}, zu = {
|
|
6162
6155
|
key: 1,
|
|
6163
6156
|
class: "w-100 pt-4"
|
|
6164
|
-
},
|
|
6157
|
+
}, Wu = {
|
|
6165
6158
|
key: 0,
|
|
6166
6159
|
class: "d-flex w-100 align-center justify-center"
|
|
6167
|
-
},
|
|
6160
|
+
}, Ku = { key: 1 }, Gu = {
|
|
6168
6161
|
key: 0,
|
|
6169
6162
|
class: "d-flex align-center justify-end"
|
|
6170
|
-
},
|
|
6163
|
+
}, Xu = /* @__PURE__ */ Se({
|
|
6171
6164
|
__name: "FilterBookmarkDialog",
|
|
6172
6165
|
props: {
|
|
6173
6166
|
client: {},
|
|
@@ -6178,10 +6171,10 @@ const Ku = {
|
|
|
6178
6171
|
},
|
|
6179
6172
|
emits: ["onClose"],
|
|
6180
6173
|
setup(e, { emit: n }) {
|
|
6181
|
-
const t = e, a = n, r = J(Ke), o = J(tt), s = J(
|
|
6174
|
+
const t = e, a = n, r = J(Ke), o = J(tt), s = J(dr);
|
|
6182
6175
|
if (D(s) || D(r) || D(o))
|
|
6183
6176
|
throw new Error("Incorrect provide/inject config.");
|
|
6184
|
-
const l = L("add"), i = L(""), u = L(!1), m = L(!1), d = L(!1), g = L(!1), p = L(!1), T = L([]), b = L(null), { required: c, maxLength: f } =
|
|
6177
|
+
const l = L("add"), i = L(""), u = L(!1), m = L(!1), d = L(!1), g = L(!1), p = L(!1), T = L([]), b = L(null), { required: c, maxLength: f } = ao(), v = {
|
|
6185
6178
|
customName: {
|
|
6186
6179
|
required: c,
|
|
6187
6180
|
maxLength: f(100)
|
|
@@ -6191,16 +6184,16 @@ const Ku = {
|
|
|
6191
6184
|
required: c,
|
|
6192
6185
|
maxLength: f(100)
|
|
6193
6186
|
}
|
|
6194
|
-
}, k = Gn(F, { itemEdit: b }, { $stopPropagation: !0 }), h =
|
|
6195
|
-
createUserAdminConfig:
|
|
6187
|
+
}, k = Gn(F, { itemEdit: b }, { $stopPropagation: !0 }), h = vr(), {
|
|
6188
|
+
createUserAdminConfig: M,
|
|
6196
6189
|
useFetchUserAdminConfigList: Y,
|
|
6197
6190
|
updateUserAdminConfigPositions: E,
|
|
6198
6191
|
deleteUserAdminConfig: $,
|
|
6199
6192
|
updateUserAdminConfig: N
|
|
6200
6193
|
} = (
|
|
6201
6194
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
6202
|
-
|
|
6203
|
-
), { t:
|
|
6195
|
+
pr(t.client, t.system)
|
|
6196
|
+
), { t: I } = Re(), { showErrorsDefault: A, showValidationError: _, showWarningT: S } = Mn(), { createDefaultUserAdminConfig: y } = ju(), C = async () => {
|
|
6204
6197
|
d.value = !0;
|
|
6205
6198
|
const K = T.value.map((ge) => ge.id);
|
|
6206
6199
|
try {
|
|
@@ -6208,7 +6201,7 @@ const Ku = {
|
|
|
6208
6201
|
} catch (ge) {
|
|
6209
6202
|
A(ge), d.value = !1;
|
|
6210
6203
|
}
|
|
6211
|
-
}, { serializeFilters: x } =
|
|
6204
|
+
}, { serializeFilters: x } = cr(o, r), R = t.system + "_" + t.subject, j = async () => {
|
|
6212
6205
|
d.value = !0, p.value = !1;
|
|
6213
6206
|
const q = y(t.system);
|
|
6214
6207
|
q.user = t.user, q.configType = Zn.FilterBookmark, q.layoutType = Ft.Desktop, q.systemResource = R, q.customName = i.value, q.data = {
|
|
@@ -6225,18 +6218,18 @@ const Ku = {
|
|
|
6225
6218
|
},
|
|
6226
6219
|
Y
|
|
6227
6220
|
);
|
|
6228
|
-
if (K >=
|
|
6221
|
+
if (K >= Ra) {
|
|
6229
6222
|
p.value = !0, d.value = !1;
|
|
6230
6223
|
return;
|
|
6231
6224
|
}
|
|
6232
6225
|
q.position = K + 1;
|
|
6233
|
-
const ge = await
|
|
6226
|
+
const ge = await M(q);
|
|
6234
6227
|
h.addOne(
|
|
6235
6228
|
h.generateKey(Ft.Desktop, R),
|
|
6236
6229
|
ge
|
|
6237
6230
|
), a("onClose");
|
|
6238
6231
|
} catch (K) {
|
|
6239
|
-
if (
|
|
6232
|
+
if (ar(K) && ms(
|
|
6240
6233
|
K,
|
|
6241
6234
|
"error_field_not_unique",
|
|
6242
6235
|
"cms.userAdminConfig.model.systemResource"
|
|
@@ -6303,89 +6296,89 @@ const Ku = {
|
|
|
6303
6296
|
p.value = !1, l.value === "manage" && te();
|
|
6304
6297
|
}), (q, K) => {
|
|
6305
6298
|
const ge = Wt("ABtnTertiary"), Z = Wt("ABtnPrimary");
|
|
6306
|
-
return P(), X(
|
|
6299
|
+
return P(), X(za, {
|
|
6307
6300
|
"model-value": !0,
|
|
6308
6301
|
width: 500
|
|
6309
6302
|
}, {
|
|
6310
6303
|
default: B(() => [
|
|
6311
6304
|
O(la, null, {
|
|
6312
6305
|
default: B(() => [
|
|
6313
|
-
O(
|
|
6306
|
+
O(Za, {
|
|
6314
6307
|
onOnCancel: K[0] || (K[0] = (ee) => a("onClose"))
|
|
6315
6308
|
}, {
|
|
6316
6309
|
default: B(() => [
|
|
6317
|
-
De(fe(H(
|
|
6310
|
+
De(fe(H(I)("common.filter.bookmark.title")), 1)
|
|
6318
6311
|
]),
|
|
6319
6312
|
_: 1
|
|
6320
6313
|
}),
|
|
6321
|
-
O(
|
|
6314
|
+
O(qo, { class: "pt-0" }, {
|
|
6322
6315
|
default: B(() => [
|
|
6323
|
-
O(
|
|
6316
|
+
O(vl, {
|
|
6324
6317
|
modelValue: l.value,
|
|
6325
6318
|
"onUpdate:modelValue": K[1] || (K[1] = (ee) => l.value = ee),
|
|
6326
6319
|
"fixed-tabs": ""
|
|
6327
6320
|
}, {
|
|
6328
6321
|
default: B(() => [
|
|
6329
|
-
O(
|
|
6322
|
+
O(vo, { value: "add" }, {
|
|
6330
6323
|
default: B(() => [
|
|
6331
|
-
De(fe(H(
|
|
6324
|
+
De(fe(H(I)("common.filter.bookmark.add")), 1)
|
|
6332
6325
|
]),
|
|
6333
6326
|
_: 1
|
|
6334
6327
|
}),
|
|
6335
|
-
O(
|
|
6328
|
+
O(vo, { value: "manage" }, {
|
|
6336
6329
|
default: B(() => [
|
|
6337
|
-
De(fe(H(
|
|
6330
|
+
De(fe(H(I)("common.filter.bookmark.manage")), 1)
|
|
6338
6331
|
]),
|
|
6339
6332
|
_: 1
|
|
6340
6333
|
})
|
|
6341
6334
|
]),
|
|
6342
6335
|
_: 1
|
|
6343
6336
|
}, 8, ["modelValue"]),
|
|
6344
|
-
l.value === "add" ? (P(), de("div",
|
|
6345
|
-
O(
|
|
6346
|
-
title: H(
|
|
6337
|
+
l.value === "add" ? (P(), de("div", qu, [
|
|
6338
|
+
O(It, {
|
|
6339
|
+
title: H(I)("common.filter.bookmark.infoSave")
|
|
6347
6340
|
}, null, 8, ["title"]),
|
|
6348
|
-
p.value ? (P(), X(
|
|
6341
|
+
p.value ? (P(), X(It, {
|
|
6349
6342
|
key: 0,
|
|
6350
6343
|
class: "text-error",
|
|
6351
|
-
title: H(
|
|
6344
|
+
title: H(I)("common.filter.bookmark.errorMax")
|
|
6352
6345
|
}, null, 8, ["title"])) : ce("", !0),
|
|
6353
|
-
O(
|
|
6346
|
+
O(It, null, {
|
|
6354
6347
|
default: B(() => [
|
|
6355
|
-
O(
|
|
6348
|
+
O(Co, {
|
|
6356
6349
|
modelValue: i.value,
|
|
6357
6350
|
"onUpdate:modelValue": K[2] || (K[2] = (ee) => i.value = ee),
|
|
6358
|
-
label: H(
|
|
6351
|
+
label: H(I)("common.filter.bookmark.name"),
|
|
6359
6352
|
required: "",
|
|
6360
6353
|
v: H(w).customName
|
|
6361
6354
|
}, null, 8, ["modelValue", "label", "v"])
|
|
6362
6355
|
]),
|
|
6363
6356
|
_: 1
|
|
6364
6357
|
}),
|
|
6365
|
-
O(
|
|
6358
|
+
O(It, null, {
|
|
6366
6359
|
default: B(() => [
|
|
6367
|
-
O(
|
|
6360
|
+
O(xo, {
|
|
6368
6361
|
modelValue: u.value,
|
|
6369
6362
|
"onUpdate:modelValue": K[3] || (K[3] = (ee) => u.value = ee),
|
|
6370
|
-
label: H(
|
|
6363
|
+
label: H(I)("common.filter.bookmark.storeTableColumns")
|
|
6371
6364
|
}, null, 8, ["modelValue", "label"])
|
|
6372
6365
|
]),
|
|
6373
6366
|
_: 1
|
|
6374
6367
|
}),
|
|
6375
|
-
O(
|
|
6368
|
+
O(It, null, {
|
|
6376
6369
|
default: B(() => [
|
|
6377
|
-
O(
|
|
6370
|
+
O(xo, {
|
|
6378
6371
|
modelValue: m.value,
|
|
6379
6372
|
"onUpdate:modelValue": K[4] || (K[4] = (ee) => m.value = ee),
|
|
6380
|
-
label: H(
|
|
6373
|
+
label: H(I)("common.filter.bookmark.storeTableOrder")
|
|
6381
6374
|
}, null, 8, ["modelValue", "label"])
|
|
6382
6375
|
]),
|
|
6383
6376
|
_: 1
|
|
6384
6377
|
})
|
|
6385
|
-
])) : l.value === "manage" ? (P(), de("div",
|
|
6386
|
-
g.value ? (P(), de("div",
|
|
6387
|
-
O(
|
|
6388
|
-
])) : (P(), X(
|
|
6378
|
+
])) : l.value === "manage" ? (P(), de("div", zu, [
|
|
6379
|
+
g.value ? (P(), de("div", Wu, [
|
|
6380
|
+
O(Xo, { indeterminate: "" })
|
|
6381
|
+
])) : (P(), X(Hu, {
|
|
6389
6382
|
key: 1,
|
|
6390
6383
|
modelValue: T.value,
|
|
6391
6384
|
"onUpdate:modelValue": K[7] || (K[7] = (ee) => T.value = ee),
|
|
@@ -6396,7 +6389,7 @@ const Ku = {
|
|
|
6396
6389
|
onOnEdit: Te
|
|
6397
6390
|
}, Pt({
|
|
6398
6391
|
item: B(({ item: ee }) => [
|
|
6399
|
-
b.value && b.value.id === ee.raw.id ? (P(), X(
|
|
6392
|
+
b.value && b.value.id === ee.raw.id ? (P(), X(Co, {
|
|
6400
6393
|
key: 0,
|
|
6401
6394
|
ref_key: "inputRef",
|
|
6402
6395
|
ref: ve,
|
|
@@ -6404,14 +6397,14 @@ const Ku = {
|
|
|
6404
6397
|
"onUpdate:modelValue": K[5] || (K[5] = (se) => b.value.customName = se),
|
|
6405
6398
|
"hide-details": "auto",
|
|
6406
6399
|
v: H(k)
|
|
6407
|
-
}, null, 8, ["modelValue", "v"])) : (P(), de("div",
|
|
6400
|
+
}, null, 8, ["modelValue", "v"])) : (P(), de("div", Ku, fe(ee.raw.customName), 1))
|
|
6408
6401
|
]),
|
|
6409
6402
|
_: 2
|
|
6410
6403
|
}, [
|
|
6411
6404
|
H(G)(b.value) ? void 0 : {
|
|
6412
6405
|
name: "item-buttons",
|
|
6413
6406
|
fn: B(({ item: ee }) => [
|
|
6414
|
-
b.value && b.value.id === ee.raw.id ? (P(), de("div",
|
|
6407
|
+
b.value && b.value.id === ee.raw.id ? (P(), de("div", Gu, [
|
|
6415
6408
|
O(Ne, {
|
|
6416
6409
|
icon: "",
|
|
6417
6410
|
size: "x-small",
|
|
@@ -6424,7 +6417,7 @@ const Ku = {
|
|
|
6424
6417
|
O(bt, {
|
|
6425
6418
|
anchor: "bottom",
|
|
6426
6419
|
activator: "parent",
|
|
6427
|
-
text: H(
|
|
6420
|
+
text: H(I)("common.button.confirm")
|
|
6428
6421
|
}, null, 8, ["text"])
|
|
6429
6422
|
]),
|
|
6430
6423
|
_: 1
|
|
@@ -6441,7 +6434,7 @@ const Ku = {
|
|
|
6441
6434
|
O(bt, {
|
|
6442
6435
|
anchor: "bottom",
|
|
6443
6436
|
activator: "parent",
|
|
6444
|
-
text: H(
|
|
6437
|
+
text: H(I)("common.button.cancel")
|
|
6445
6438
|
}, null, 8, ["text"])
|
|
6446
6439
|
]),
|
|
6447
6440
|
_: 1
|
|
@@ -6455,7 +6448,7 @@ const Ku = {
|
|
|
6455
6448
|
]),
|
|
6456
6449
|
_: 1
|
|
6457
6450
|
}),
|
|
6458
|
-
O(
|
|
6451
|
+
O(qa, null, {
|
|
6459
6452
|
default: B(() => [
|
|
6460
6453
|
O(sa),
|
|
6461
6454
|
O(ge, {
|
|
@@ -6463,7 +6456,7 @@ const Ku = {
|
|
|
6463
6456
|
onClick: K[8] || (K[8] = ye((ee) => a("onClose"), ["stop"]))
|
|
6464
6457
|
}, {
|
|
6465
6458
|
default: B(() => [
|
|
6466
|
-
De(fe(H(
|
|
6459
|
+
De(fe(H(I)("common.button.cancel")), 1)
|
|
6467
6460
|
]),
|
|
6468
6461
|
_: 1
|
|
6469
6462
|
}),
|
|
@@ -6473,7 +6466,7 @@ const Ku = {
|
|
|
6473
6466
|
onClick: ye(Q, ["stop"])
|
|
6474
6467
|
}, {
|
|
6475
6468
|
default: B(() => [
|
|
6476
|
-
De(fe(l.value === "add" ? H(
|
|
6469
|
+
De(fe(l.value === "add" ? H(I)("common.button.add") : H(I)("common.filter.bookmark.saveBookmarkOrder")), 1)
|
|
6477
6470
|
]),
|
|
6478
6471
|
_: 1
|
|
6479
6472
|
}, 8, ["loading"])
|
|
@@ -6488,7 +6481,7 @@ const Ku = {
|
|
|
6488
6481
|
});
|
|
6489
6482
|
};
|
|
6490
6483
|
}
|
|
6491
|
-
}),
|
|
6484
|
+
}), Fr = /* @__PURE__ */ Se({
|
|
6492
6485
|
__name: "AFilterBookmarkButton",
|
|
6493
6486
|
props: /* @__PURE__ */ mt({
|
|
6494
6487
|
client: {},
|
|
@@ -6534,7 +6527,7 @@ const Ku = {
|
|
|
6534
6527
|
]),
|
|
6535
6528
|
_: 1
|
|
6536
6529
|
}, 8, ["class", "data-cy"]),
|
|
6537
|
-
n.value ? (P(), X(
|
|
6530
|
+
n.value ? (P(), X(Xu, {
|
|
6538
6531
|
key: 0,
|
|
6539
6532
|
client: e.client,
|
|
6540
6533
|
system: e.system,
|
|
@@ -6545,10 +6538,10 @@ const Ku = {
|
|
|
6545
6538
|
}, null, 8, ["client", "system", "user", "subject", "datatable-hidden-columns"])) : ce("", !0)
|
|
6546
6539
|
], 64));
|
|
6547
6540
|
}
|
|
6548
|
-
}),
|
|
6541
|
+
}), Zu = { class: "subject-select-filter__content px-2 py-4" }, Ju = { class: "d-flex flex-wrap align-center" }, Qu = {
|
|
6549
6542
|
key: 0,
|
|
6550
6543
|
class: "subject-select-filter__actions"
|
|
6551
|
-
},
|
|
6544
|
+
}, Ud = /* @__PURE__ */ Se({
|
|
6552
6545
|
__name: "AFilterWrapperSubjectSelect",
|
|
6553
6546
|
props: /* @__PURE__ */ mt({
|
|
6554
6547
|
hideButtons: { type: Boolean, default: !1 },
|
|
@@ -6566,7 +6559,7 @@ const Ku = {
|
|
|
6566
6559
|
}),
|
|
6567
6560
|
emits: /* @__PURE__ */ mt(["submit", "reset", "bookmarkLoadAfter"], ["update:datatableHiddenColumns"]),
|
|
6568
6561
|
setup(e, { expose: n, emit: t }) {
|
|
6569
|
-
const a = e, r = t, o = Tt(e, "datatableHiddenColumns"), s = J(
|
|
6562
|
+
const a = e, r = t, o = Tt(e, "datatableHiddenColumns"), s = J(Oi, () => {
|
|
6570
6563
|
}), l = J(Ke), i = J(tt);
|
|
6571
6564
|
if (D(l) || D(i))
|
|
6572
6565
|
throw new Error("Incorrect provide/inject config.");
|
|
@@ -6595,19 +6588,19 @@ const Ku = {
|
|
|
6595
6588
|
return n({
|
|
6596
6589
|
submit: g,
|
|
6597
6590
|
reset: c
|
|
6598
|
-
}), (w, F) => (P(), X(
|
|
6591
|
+
}), (w, F) => (P(), X(Wo, {
|
|
6599
6592
|
name: e.formName,
|
|
6600
6593
|
onSubmit: ye(g, ["prevent"])
|
|
6601
6594
|
}, {
|
|
6602
6595
|
default: B(() => [
|
|
6603
|
-
Ee("div",
|
|
6596
|
+
Ee("div", Zu, [
|
|
6604
6597
|
we(w.$slots, "bookmarks", {}, () => [
|
|
6605
6598
|
O($t, { density: "compact" }, {
|
|
6606
6599
|
default: B(() => [
|
|
6607
6600
|
e.store && e.userId && H(he)(e.client) ? (P(), X(gt, { key: 0 }, {
|
|
6608
6601
|
default: B(() => [
|
|
6609
|
-
Ee("div",
|
|
6610
|
-
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(
|
|
6602
|
+
Ee("div", Ju, [
|
|
6603
|
+
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(hr, {
|
|
6611
6604
|
key: 0,
|
|
6612
6605
|
"datatable-hidden-columns": o.value,
|
|
6613
6606
|
"onUpdate:datatableHiddenColumns": F[0] || (F[0] = (k) => o.value = k),
|
|
@@ -6637,10 +6630,10 @@ const Ku = {
|
|
|
6637
6630
|
xl: H(l).fields[k].render.xl || 12
|
|
6638
6631
|
}, {
|
|
6639
6632
|
default: B(() => [
|
|
6640
|
-
we(w.$slots, H(
|
|
6633
|
+
we(w.$slots, H(fr)(k), {
|
|
6641
6634
|
itemConfig: H(l).fields[k]
|
|
6642
6635
|
}, () => [
|
|
6643
|
-
O(
|
|
6636
|
+
O(mr, { name: k }, null, 8, ["name"])
|
|
6644
6637
|
])
|
|
6645
6638
|
]),
|
|
6646
6639
|
_: 2
|
|
@@ -6650,11 +6643,11 @@ const Ku = {
|
|
|
6650
6643
|
})
|
|
6651
6644
|
])
|
|
6652
6645
|
]),
|
|
6653
|
-
e.hideButtons ? ce("", !0) : (P(), de("div",
|
|
6646
|
+
e.hideButtons ? ce("", !0) : (P(), de("div", Qu, [
|
|
6654
6647
|
we(w.$slots, "buttons", {}, () => [
|
|
6655
|
-
O(
|
|
6656
|
-
O(
|
|
6657
|
-
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(
|
|
6648
|
+
O(sr, { touched: f.value }, null, 8, ["touched"]),
|
|
6649
|
+
O(ir, { onReset: c }),
|
|
6650
|
+
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(Fr, {
|
|
6658
6651
|
key: 0,
|
|
6659
6652
|
client: e.client,
|
|
6660
6653
|
user: e.userId,
|
|
@@ -6668,7 +6661,7 @@ const Ku = {
|
|
|
6668
6661
|
_: 3
|
|
6669
6662
|
}, 8, ["name"]));
|
|
6670
6663
|
}
|
|
6671
|
-
}),
|
|
6664
|
+
}), ec = /* @__PURE__ */ Se({
|
|
6672
6665
|
__name: "AFilterAdvancedButton",
|
|
6673
6666
|
props: {
|
|
6674
6667
|
tooltipT: { default: "common.button.advancedFilters" },
|
|
@@ -6703,7 +6696,7 @@ const Ku = {
|
|
|
6703
6696
|
_: 1
|
|
6704
6697
|
}, 8, ["class", "data-cy"]));
|
|
6705
6698
|
}
|
|
6706
|
-
}),
|
|
6699
|
+
}), tc = { class: "a-selected-filters__label text-body-small" }, nc = /* @__PURE__ */ Se({
|
|
6707
6700
|
__name: "FiltersSelected",
|
|
6708
6701
|
setup(e) {
|
|
6709
6702
|
const n = J(Ke), t = J(tt), a = J(ot);
|
|
@@ -6726,7 +6719,7 @@ const Ku = {
|
|
|
6726
6719
|
key: g.name,
|
|
6727
6720
|
class: "a-selected-filters"
|
|
6728
6721
|
}, [
|
|
6729
|
-
Ee("div",
|
|
6722
|
+
Ee("div", tc, fe(g.title) + ": ", 1),
|
|
6730
6723
|
(P(!0), de(qe, null, Bt(g.options, (p) => (P(), de("div", {
|
|
6731
6724
|
key: p.value,
|
|
6732
6725
|
class: "a-selected-filters__chips"
|
|
@@ -6761,7 +6754,7 @@ const Ku = {
|
|
|
6761
6754
|
]))), 128))
|
|
6762
6755
|
]))), 128));
|
|
6763
6756
|
}
|
|
6764
|
-
}),
|
|
6757
|
+
}), ac = { class: "d-flex flex-wrap align-center" }, oc = { class: "a-filter__container" }, rc = { class: "a-filter__search" }, lc = { key: 2 }, Vd = /* @__PURE__ */ Se({
|
|
6765
6758
|
__name: "AFilterWrapper",
|
|
6766
6759
|
props: /* @__PURE__ */ mt({
|
|
6767
6760
|
enableTop: { type: Boolean, default: !1 },
|
|
@@ -6813,7 +6806,7 @@ const Ku = {
|
|
|
6813
6806
|
return a.alwaysVisible && (s.value = !0), n({
|
|
6814
6807
|
submit: g,
|
|
6815
6808
|
reset: c
|
|
6816
|
-
}), (F, k) => (P(), X(
|
|
6809
|
+
}), (F, k) => (P(), X(Wo, {
|
|
6817
6810
|
name: e.formName,
|
|
6818
6811
|
onSubmit: ye(g, ["prevent"])
|
|
6819
6812
|
}, {
|
|
@@ -6837,8 +6830,8 @@ const Ku = {
|
|
|
6837
6830
|
e.store && e.userId && H(he)(e.client) ? (P(), X(gt, { key: 0 }, {
|
|
6838
6831
|
default: B(() => [
|
|
6839
6832
|
we(F.$slots, "bookmarks", {}, () => [
|
|
6840
|
-
Ee("div",
|
|
6841
|
-
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(
|
|
6833
|
+
Ee("div", ac, [
|
|
6834
|
+
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(hr, {
|
|
6842
6835
|
key: 0,
|
|
6843
6836
|
"datatable-hidden-columns": o.value,
|
|
6844
6837
|
"onUpdate:datatableHiddenColumns": k[0] || (k[0] = (h) => o.value = h),
|
|
@@ -6866,7 +6859,7 @@ const Ku = {
|
|
|
6866
6859
|
cols: "auto"
|
|
6867
6860
|
}, {
|
|
6868
6861
|
default: B(() => [
|
|
6869
|
-
O(
|
|
6862
|
+
O(ec, {
|
|
6870
6863
|
"button-active": s.value,
|
|
6871
6864
|
onAdvancedFilter: f
|
|
6872
6865
|
}, null, 8, ["button-active"])
|
|
@@ -6875,11 +6868,11 @@ const Ku = {
|
|
|
6875
6868
|
})),
|
|
6876
6869
|
O(gt, null, {
|
|
6877
6870
|
default: B(() => [
|
|
6878
|
-
Ee("div",
|
|
6879
|
-
Ee("div",
|
|
6871
|
+
Ee("div", oc, [
|
|
6872
|
+
Ee("div", rc, [
|
|
6880
6873
|
we(F.$slots, "search")
|
|
6881
6874
|
]),
|
|
6882
|
-
O(
|
|
6875
|
+
O(nc)
|
|
6883
6876
|
])
|
|
6884
6877
|
]),
|
|
6885
6878
|
_: 3
|
|
@@ -6891,9 +6884,9 @@ const Ku = {
|
|
|
6891
6884
|
}, {
|
|
6892
6885
|
default: B(() => [
|
|
6893
6886
|
we(F.$slots, "buttons", {}, () => [
|
|
6894
|
-
O(
|
|
6895
|
-
O(
|
|
6896
|
-
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(
|
|
6887
|
+
O(sr, { touched: v.value }, null, 8, ["touched"]),
|
|
6888
|
+
O(ir, { onReset: c }),
|
|
6889
|
+
u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(Fr, {
|
|
6897
6890
|
key: 0,
|
|
6898
6891
|
client: e.client,
|
|
6899
6892
|
user: e.userId,
|
|
@@ -6908,8 +6901,8 @@ const Ku = {
|
|
|
6908
6901
|
]),
|
|
6909
6902
|
_: 3
|
|
6910
6903
|
})),
|
|
6911
|
-
e.hideMore ? ce("", !0) : (P(), de("div",
|
|
6912
|
-
(P(), X(
|
|
6904
|
+
e.hideMore ? ce("", !0) : (P(), de("div", lc, [
|
|
6905
|
+
(P(), X(Ho(e.alwaysVisible ? "div" : "VSlideYTransition"), null, {
|
|
6913
6906
|
default: B(() => [
|
|
6914
6907
|
Sn(Ee("div", {
|
|
6915
6908
|
class: Ze({ "mt-6 pa-4 system-border-a": !e.alwaysVisible })
|
|
@@ -6926,10 +6919,10 @@ const Ku = {
|
|
|
6926
6919
|
xl: H(l).fields[h].render.xl || 2
|
|
6927
6920
|
}, {
|
|
6928
6921
|
default: B(() => [
|
|
6929
|
-
we(F.$slots, H(
|
|
6922
|
+
we(F.$slots, H(fr)(h), {
|
|
6930
6923
|
itemConfig: H(l).fields[h]
|
|
6931
6924
|
}, () => [
|
|
6932
|
-
O(
|
|
6925
|
+
O(mr, { name: h }, null, 8, ["name"])
|
|
6933
6926
|
])
|
|
6934
6927
|
]),
|
|
6935
6928
|
_: 2
|
|
@@ -6939,7 +6932,7 @@ const Ku = {
|
|
|
6939
6932
|
})
|
|
6940
6933
|
])
|
|
6941
6934
|
], 2), [
|
|
6942
|
-
[
|
|
6935
|
+
[Vr, s.value]
|
|
6943
6936
|
])
|
|
6944
6937
|
]),
|
|
6945
6938
|
_: 3
|
|
@@ -6949,15 +6942,15 @@ const Ku = {
|
|
|
6949
6942
|
_: 3
|
|
6950
6943
|
}, 8, ["name"]));
|
|
6951
6944
|
}
|
|
6952
|
-
}),
|
|
6953
|
-
e().delete(
|
|
6954
|
-
}),
|
|
6945
|
+
}), Hd = (e, n, t = {}, a, r, o = {}) => new Promise((s, l) => {
|
|
6946
|
+
e().delete(In(n, t), o).then((i) => $n(i.status) ? i.data ? s(i.data) : i.status === Qt ? s(null) : l(new ut()) : l(new nn(i.status))).catch((i) => Tn(i) ? l(new en(i, i.config?.url)) : An(i) ? l(new tn(i, a, r, i)) : _n(i) ? l(new on(i, a, r, i)) : xn(i) ? l(new an(i, i)) : l(new ut(i)));
|
|
6947
|
+
}), sc = {
|
|
6955
6948
|
key: 0,
|
|
6956
6949
|
class: "font-italic pl-1"
|
|
6957
|
-
},
|
|
6950
|
+
}, ic = {
|
|
6958
6951
|
key: 0,
|
|
6959
6952
|
class: "required"
|
|
6960
|
-
},
|
|
6953
|
+
}, uc = 300, jd = /* @__PURE__ */ Se({
|
|
6961
6954
|
__name: "AFormRemoteAutocomplete",
|
|
6962
6955
|
props: /* @__PURE__ */ mt({
|
|
6963
6956
|
label: { default: void 0 },
|
|
@@ -6995,7 +6988,7 @@ const Ku = {
|
|
|
6995
6988
|
}),
|
|
6996
6989
|
emits: /* @__PURE__ */ mt(["searchChange", "searchChangeDebounced", "blur", "focus", "click:chipClose"], ["update:modelValue", "update:selected"]),
|
|
6997
6990
|
setup(e, { expose: n, emit: t }) {
|
|
6998
|
-
const a = e, r = t, o = J(
|
|
6991
|
+
const a = e, r = t, o = J(ro), s = J(oo), l = oa()?.type.__name;
|
|
6999
6992
|
if (D(o) || D(s))
|
|
7000
6993
|
throw new Error(`[${l}] Incorrect provide/inject config.`);
|
|
7001
6994
|
const i = a.filterByField, u = a.filterSortBy;
|
|
@@ -7029,14 +7022,14 @@ const Ku = {
|
|
|
7029
7022
|
{ immediate: !0 }
|
|
7030
7023
|
);
|
|
7031
7024
|
}
|
|
7032
|
-
const f = L(""), v = L(!1), w = L(null), F = L(0), { t: k } = Re(), h = J(
|
|
7025
|
+
const f = L(""), v = L(!1), w = L(null), F = L(0), { t: k } = Re(), h = J(Ga, void 0), M = J(Xa, void 0), Y = () => {
|
|
7033
7026
|
v.value = !1, r("blur", m.value), a.v?.$touch(), p.value(m.value);
|
|
7034
7027
|
}, E = U(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((z) => z.$message) : []), $ = U(() => {
|
|
7035
7028
|
if (he(a.label)) return a.label;
|
|
7036
|
-
if (D(h) || D(
|
|
7029
|
+
if (D(h) || D(M) || D(a.v?.$path)) return "";
|
|
7037
7030
|
const { end: z } = wn(a.v?.$path, ".");
|
|
7038
|
-
return k(h + "." +
|
|
7039
|
-
}), N = U(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"),
|
|
7031
|
+
return k(h + "." + M + ".model." + z);
|
|
7032
|
+
}), N = U(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), I = U(() => he(a.disabled) ? a.disabled : !!c.value), { pagination: A } = kn(
|
|
7040
7033
|
G(u) ? null : u.key,
|
|
7041
7034
|
u?.order
|
|
7042
7035
|
), _ = L([]), S = L([]), y = L(!0), C = L(!1), x = U(() => {
|
|
@@ -7072,7 +7065,7 @@ const Ku = {
|
|
|
7072
7065
|
const be = await a.fetchItemsByIds(Ce);
|
|
7073
7066
|
if (ue(be) && be.length > 0) {
|
|
7074
7067
|
if (S.value = be, a.multiple) {
|
|
7075
|
-
const Yt = be.map((
|
|
7068
|
+
const Yt = be.map((Or) => Or.value);
|
|
7076
7069
|
return m.value = Yt, ie && await te("force", Yt), R.value = !1, !0;
|
|
7077
7070
|
}
|
|
7078
7071
|
return m.value = be[0].value, ie && await te("force", be[0].value), R.value = !1, !0;
|
|
@@ -7081,7 +7074,7 @@ const Ku = {
|
|
|
7081
7074
|
} catch (be) {
|
|
7082
7075
|
ke(be);
|
|
7083
7076
|
}
|
|
7084
|
-
}, { showErrorsDefault: ke } =
|
|
7077
|
+
}, { showErrorsDefault: ke } = Mn(), W = async (z, ie) => {
|
|
7085
7078
|
R.value = !0, s[i] = z;
|
|
7086
7079
|
try {
|
|
7087
7080
|
const Ce = await a.fetchItems(A, s, o);
|
|
@@ -7128,7 +7121,7 @@ const Ku = {
|
|
|
7128
7121
|
}
|
|
7129
7122
|
z.value === m.value && a.clearable && (m.value = null);
|
|
7130
7123
|
};
|
|
7131
|
-
|
|
7124
|
+
ja(
|
|
7132
7125
|
f,
|
|
7133
7126
|
(z, ie) => {
|
|
7134
7127
|
if (z !== ie && !(z.length > 0 && z.length < a.minSearchChars)) {
|
|
@@ -7139,11 +7132,11 @@ const Ku = {
|
|
|
7139
7132
|
F.value++, W(z, F.value), r("searchChangeDebounced", z);
|
|
7140
7133
|
}
|
|
7141
7134
|
},
|
|
7142
|
-
{ debounce:
|
|
7135
|
+
{ debounce: uc }
|
|
7143
7136
|
), Ae(f, (z, ie) => {
|
|
7144
7137
|
z !== ie && r("searchChange", z);
|
|
7145
7138
|
});
|
|
7146
|
-
const
|
|
7139
|
+
const Me = (z) => {
|
|
7147
7140
|
const ie = $e(z);
|
|
7148
7141
|
if (d.value = ie, G(ie) || D(ie)) {
|
|
7149
7142
|
m.value = null;
|
|
@@ -7164,7 +7157,7 @@ const Ku = {
|
|
|
7164
7157
|
m,
|
|
7165
7158
|
async (z, ie) => {
|
|
7166
7159
|
if (z !== ie) {
|
|
7167
|
-
if (y.value && (y.value = !1, await te("mounted", z)), g.value.enabled && v.value && T.value(z),
|
|
7160
|
+
if (y.value && (y.value = !1, await te("mounted", z)), g.value.enabled && v.value && T.value(z), Zo(z)) {
|
|
7168
7161
|
Q(z);
|
|
7169
7162
|
return;
|
|
7170
7163
|
}
|
|
@@ -7184,15 +7177,15 @@ const Ku = {
|
|
|
7184
7177
|
chips: e.chips || e.multiple || e.closableChips,
|
|
7185
7178
|
"hide-details": e.hideDetails,
|
|
7186
7179
|
loading: j.value,
|
|
7187
|
-
disabled:
|
|
7180
|
+
disabled: I.value,
|
|
7188
7181
|
readonly: e.readonly,
|
|
7189
7182
|
"no-data-text": Nt.value,
|
|
7190
7183
|
"return-object": "",
|
|
7191
7184
|
autocomplete: "off",
|
|
7192
7185
|
"hide-selected": e.closableChips,
|
|
7193
|
-
"closable-chips": e.closableChips && !j.value && !
|
|
7186
|
+
"closable-chips": e.closableChips && !j.value && !I.value && !e.readonly,
|
|
7194
7187
|
"onUpdate:search": Z,
|
|
7195
|
-
"onUpdate:modelValue":
|
|
7188
|
+
"onUpdate:modelValue": Me,
|
|
7196
7189
|
onBlur: Y,
|
|
7197
7190
|
onFocus: q,
|
|
7198
7191
|
onMouseenter: K,
|
|
@@ -7214,7 +7207,7 @@ const Ku = {
|
|
|
7214
7207
|
}, {
|
|
7215
7208
|
default: B(() => [
|
|
7216
7209
|
De(fe(be.raw.title) + " ", 1),
|
|
7217
|
-
be.raw.subtitle ? (P(), de("span",
|
|
7210
|
+
be.raw.subtitle ? (P(), de("span", sc, " (" + fe(be.raw.subtitle) + ") ", 1)) : ce("", !0)
|
|
7218
7211
|
]),
|
|
7219
7212
|
_: 2
|
|
7220
7213
|
}, 1032, ["closable", "text", "disabled", "onClick:close"])
|
|
@@ -7224,7 +7217,7 @@ const Ku = {
|
|
|
7224
7217
|
key: N.value + ""
|
|
7225
7218
|
}, [
|
|
7226
7219
|
De(fe($.value) + " ", 1),
|
|
7227
|
-
N.value ? (P(), de("span",
|
|
7220
|
+
N.value ? (P(), de("span", ic)) : ce("", !0)
|
|
7228
7221
|
]))
|
|
7229
7222
|
]),
|
|
7230
7223
|
_: 2
|
|
@@ -7253,73 +7246,73 @@ const Ku = {
|
|
|
7253
7246
|
}
|
|
7254
7247
|
});
|
|
7255
7248
|
export {
|
|
7256
|
-
|
|
7249
|
+
Pl as $,
|
|
7257
7250
|
ma as A,
|
|
7258
|
-
|
|
7251
|
+
sr as B,
|
|
7259
7252
|
cn as C,
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7253
|
+
ir as D,
|
|
7254
|
+
Od as E,
|
|
7255
|
+
$d as F,
|
|
7256
|
+
ur as G,
|
|
7264
7257
|
Dn as H,
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7258
|
+
Nc as I,
|
|
7259
|
+
ql as J,
|
|
7260
|
+
Rs as K,
|
|
7261
|
+
Ul as L,
|
|
7262
|
+
Zc as M,
|
|
7263
|
+
td as N,
|
|
7264
|
+
Qc as O,
|
|
7265
|
+
ed as P,
|
|
7266
|
+
od as Q,
|
|
7267
|
+
nd as R,
|
|
7268
|
+
Ga as S,
|
|
7269
|
+
ad as T,
|
|
7270
|
+
rd as U,
|
|
7271
|
+
Jc as V,
|
|
7279
7272
|
pa as W,
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7273
|
+
ud as X,
|
|
7274
|
+
cd as Y,
|
|
7275
|
+
sd as Z,
|
|
7276
|
+
Ka as _,
|
|
7284
7277
|
ca as a,
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7278
|
+
gd as a$,
|
|
7279
|
+
Vl as a0,
|
|
7280
|
+
Si as a1,
|
|
7288
7281
|
xe as a2,
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7282
|
+
Gc as a3,
|
|
7283
|
+
Xc as a4,
|
|
7284
|
+
po as a5,
|
|
7285
|
+
Ao as a6,
|
|
7293
7286
|
Je as a7,
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7287
|
+
$i as a8,
|
|
7288
|
+
ls as a9,
|
|
7289
|
+
Rd as aA,
|
|
7290
|
+
Pd as aB,
|
|
7291
|
+
Ld as aC,
|
|
7292
|
+
Ri as aD,
|
|
7293
|
+
Bi as aE,
|
|
7294
|
+
Nd as aF,
|
|
7302
7295
|
Ke as aG,
|
|
7303
7296
|
tt as aH,
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7297
|
+
cr as aI,
|
|
7298
|
+
Ud as aJ,
|
|
7299
|
+
ao as aK,
|
|
7300
|
+
ss as aL,
|
|
7301
|
+
Ds as aM,
|
|
7302
|
+
Co as aN,
|
|
7303
|
+
vd as aO,
|
|
7304
|
+
Vc as aP,
|
|
7305
|
+
$u as aQ,
|
|
7306
|
+
Vd as aR,
|
|
7307
|
+
Pu as aS,
|
|
7308
|
+
wu as aT,
|
|
7309
|
+
Hd as aU,
|
|
7317
7310
|
sn as aV,
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7311
|
+
Vo as aW,
|
|
7312
|
+
Bu as aX,
|
|
7313
|
+
Ou as aY,
|
|
7314
|
+
Fu as aZ,
|
|
7315
|
+
fr as a_,
|
|
7323
7316
|
Tn as aa,
|
|
7324
7317
|
en as ab,
|
|
7325
7318
|
An as ac,
|
|
@@ -7327,101 +7320,101 @@ export {
|
|
|
7327
7320
|
xn as ae,
|
|
7328
7321
|
an as af,
|
|
7329
7322
|
ut as ag,
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7323
|
+
Di as ah,
|
|
7324
|
+
ki as ai,
|
|
7325
|
+
In as aj,
|
|
7333
7326
|
$n as ak,
|
|
7334
7327
|
nn as al,
|
|
7335
7328
|
Qt as am,
|
|
7336
7329
|
_n as an,
|
|
7337
7330
|
on as ao,
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7331
|
+
Mi as ap,
|
|
7332
|
+
_i as aq,
|
|
7333
|
+
Bd as ar,
|
|
7341
7334
|
kn as as,
|
|
7342
|
-
|
|
7335
|
+
pd as at,
|
|
7343
7336
|
ct as au,
|
|
7344
|
-
|
|
7337
|
+
no as av,
|
|
7345
7338
|
le as aw,
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7339
|
+
hd as ax,
|
|
7340
|
+
ro as ay,
|
|
7341
|
+
oo as az,
|
|
7349
7342
|
un as b,
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7343
|
+
Oi as b$,
|
|
7344
|
+
Qa as b0,
|
|
7345
|
+
ar as b1,
|
|
7346
|
+
ds as b2,
|
|
7347
|
+
rs as b3,
|
|
7348
|
+
jc as b4,
|
|
7349
|
+
bd as b5,
|
|
7350
|
+
dd as b6,
|
|
7351
|
+
Ol as b7,
|
|
7352
|
+
Rl as b8,
|
|
7353
|
+
go as b9,
|
|
7354
|
+
ms as bA,
|
|
7355
|
+
ws as bB,
|
|
7356
|
+
ys as bC,
|
|
7357
|
+
hs as bD,
|
|
7358
|
+
Ni as bE,
|
|
7359
|
+
Fd as bF,
|
|
7360
|
+
Id as bG,
|
|
7361
|
+
jl as bH,
|
|
7362
|
+
Kc as bI,
|
|
7363
|
+
Wc as bJ,
|
|
7364
|
+
Qo as bK,
|
|
7365
|
+
Hc as bL,
|
|
7366
|
+
qc as bM,
|
|
7367
|
+
yl as bN,
|
|
7368
|
+
zc as bO,
|
|
7369
|
+
_d as bP,
|
|
7370
|
+
Dd as bQ,
|
|
7371
|
+
er as bR,
|
|
7372
|
+
ld as bS,
|
|
7373
|
+
fd as bT,
|
|
7374
|
+
Td as bU,
|
|
7375
|
+
dr as bV,
|
|
7376
|
+
or as bW,
|
|
7377
|
+
eo as bX,
|
|
7378
|
+
xi as bY,
|
|
7379
|
+
Ii as bZ,
|
|
7380
|
+
zl as b_,
|
|
7388
7381
|
Bn as ba,
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7382
|
+
ho as bb,
|
|
7383
|
+
Ps as bc,
|
|
7384
|
+
jd as bd,
|
|
7385
|
+
xo as be,
|
|
7386
|
+
Hu as bf,
|
|
7387
|
+
to as bg,
|
|
7388
|
+
tr as bh,
|
|
7389
|
+
id as bi,
|
|
7397
7390
|
fa as bj,
|
|
7398
7391
|
da as bk,
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7392
|
+
yd as bl,
|
|
7393
|
+
us as bm,
|
|
7394
|
+
Sd as bn,
|
|
7395
|
+
Cd as bo,
|
|
7396
|
+
Ja as bp,
|
|
7397
|
+
Md as bq,
|
|
7398
|
+
Os as br,
|
|
7399
|
+
wd as bs,
|
|
7400
|
+
xd as bt,
|
|
7401
|
+
Ed as bu,
|
|
7402
|
+
Ad as bv,
|
|
7403
|
+
kd as bw,
|
|
7404
|
+
Fs as bx,
|
|
7405
|
+
Ba as by,
|
|
7406
|
+
Yd as bz,
|
|
7407
|
+
Xa as c,
|
|
7408
|
+
Ui as c0,
|
|
7409
|
+
Vi as c1,
|
|
7417
7410
|
dt as c2,
|
|
7418
7411
|
Ft as c3,
|
|
7419
|
-
|
|
7412
|
+
ji as c4,
|
|
7420
7413
|
Zn as c5,
|
|
7421
|
-
|
|
7414
|
+
Hi as c6,
|
|
7422
7415
|
rn as c7,
|
|
7423
|
-
|
|
7424
|
-
|
|
7416
|
+
pr as c8,
|
|
7417
|
+
ju as c9,
|
|
7425
7418
|
D as d,
|
|
7426
7419
|
ua as e,
|
|
7427
7420
|
Gt as f,
|
|
@@ -7429,21 +7422,21 @@ export {
|
|
|
7429
7422
|
G as h,
|
|
7430
7423
|
he as i,
|
|
7431
7424
|
Ct as j,
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7425
|
+
md as k,
|
|
7426
|
+
Za as l,
|
|
7427
|
+
Mn as m,
|
|
7435
7428
|
dn as n,
|
|
7436
|
-
|
|
7429
|
+
It as o,
|
|
7437
7430
|
ue as p,
|
|
7438
7431
|
En as q,
|
|
7439
7432
|
pn as r,
|
|
7440
7433
|
wn as s,
|
|
7441
|
-
|
|
7434
|
+
Fa as t,
|
|
7442
7435
|
Jt as u,
|
|
7443
|
-
|
|
7444
|
-
|
|
7436
|
+
Uc as v,
|
|
7437
|
+
Yc as w,
|
|
7445
7438
|
Oe as x,
|
|
7446
|
-
|
|
7447
|
-
|
|
7439
|
+
Zo as y,
|
|
7440
|
+
bl as z
|
|
7448
7441
|
};
|
|
7449
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
7442
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BNyX-8Ah.mjs.map
|