@mjsz-vbr-elements/core 2.11.2 → 2.12.0
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/{TimezoneSelector-pJzOJFd2.js → TimezoneSelector-CZSwXNuA.js} +956 -979
- package/dist/columns.js +1 -1
- package/dist/components.js +2 -2
- package/dist/composables.js +24 -25
- package/dist/constants.js +1 -1
- package/dist/{datetime-DTVWbsTz.js → datetime-K_d-hEsO.js} +10 -10
- package/dist/{errors-1KEdp4yb.js → errors-DBdI9YRN.js} +12 -12
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +80 -81
- package/dist/{useSort-fVNzrwPD.js → useSort-D29iq9K6.js} +234 -221
- package/dist/utils.js +4 -4
- package/package.json +3 -5
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.12.0 - 19/01/2025, 23:11:29
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { ref as I, readonly as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { SORT_STATE_ORIGINAL as
|
|
11
|
-
function
|
|
12
|
-
return
|
|
8
|
+
import { ref as I, readonly as pe, watch as S, nextTick as z, getCurrentScope as je, onScopeDispose as Le, toValue as E, isRef as De, shallowRef as ie, unref as O, reactive as me, defineComponent as ke, h as Ne, computed as _, provide as ye, inject as he, onErrorCaptured as Fe } from "vue";
|
|
9
|
+
import { _ as K, w as Be, x as We, z as X, A as Me, B as $e, C as ve, D as B, E as ge, F as Ue, G as ae, H as k, I as N, J as ze, K as Ke, u as Ge } from "./datetime-K_d-hEsO.js";
|
|
10
|
+
import { SORT_STATE_ORIGINAL as W, SORT_STATE_DESCEND as Q, SORT_STATE_ASCEND as $ } from "./constants.js";
|
|
11
|
+
function we(e) {
|
|
12
|
+
return je() ? (Le(e), !0) : !1;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const q = typeof window < "u" && typeof document < "u";
|
|
15
15
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
16
|
-
const
|
|
17
|
-
},
|
|
18
|
-
function
|
|
16
|
+
const qe = Object.prototype.toString, He = (e) => qe.call(e) === "[object Object]", R = () => {
|
|
17
|
+
}, Je = /* @__PURE__ */ Qe();
|
|
18
|
+
function Qe() {
|
|
19
19
|
var e, t;
|
|
20
|
-
return
|
|
20
|
+
return q && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ve(e, t) {
|
|
23
23
|
function r(...n) {
|
|
24
24
|
return new Promise((i, o) => {
|
|
25
25
|
Promise.resolve(e(() => t.apply(this, n), { fn: t, thisArg: this, args: n })).then(i).catch(o);
|
|
@@ -27,8 +27,8 @@ function Ke(e, t) {
|
|
|
27
27
|
}
|
|
28
28
|
return r;
|
|
29
29
|
}
|
|
30
|
-
const
|
|
31
|
-
function
|
|
30
|
+
const be = (e) => e();
|
|
31
|
+
function Xe(e = be) {
|
|
32
32
|
const t = I(!0);
|
|
33
33
|
function r() {
|
|
34
34
|
t.value = !1;
|
|
@@ -39,36 +39,36 @@ function Je(e = ve) {
|
|
|
39
39
|
const i = (...o) => {
|
|
40
40
|
t.value && e(...o);
|
|
41
41
|
};
|
|
42
|
-
return { isActive:
|
|
42
|
+
return { isActive: pe(t), pause: r, resume: n, eventFilter: i };
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Y(e, t = !1, r = "Timeout") {
|
|
45
45
|
return new Promise((n, i) => {
|
|
46
46
|
setTimeout(t ? () => i(r) : n, e);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function se(e) {
|
|
50
50
|
return Array.isArray(e) ? e : [e];
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Ye(e, t, r = {}) {
|
|
53
53
|
const {
|
|
54
|
-
eventFilter: n =
|
|
54
|
+
eventFilter: n = be,
|
|
55
55
|
...i
|
|
56
56
|
} = r;
|
|
57
57
|
return S(
|
|
58
58
|
e,
|
|
59
|
-
|
|
59
|
+
Ve(
|
|
60
60
|
n,
|
|
61
61
|
t
|
|
62
62
|
),
|
|
63
63
|
i
|
|
64
64
|
);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function St(e, t, r = {}) {
|
|
67
67
|
const {
|
|
68
68
|
eventFilter: n,
|
|
69
69
|
...i
|
|
70
|
-
} = r, { eventFilter: o, pause: a, resume: s, isActive: c } =
|
|
71
|
-
return { stop:
|
|
70
|
+
} = r, { eventFilter: o, pause: a, resume: s, isActive: c } = Xe(n);
|
|
71
|
+
return { stop: Ye(
|
|
72
72
|
e,
|
|
73
73
|
t,
|
|
74
74
|
{
|
|
@@ -77,8 +77,8 @@ function At(e, t, r = {}) {
|
|
|
77
77
|
}
|
|
78
78
|
), pause: a, resume: s, isActive: c };
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
function r(u, { flush: d = "sync", deep: m = !1, timeout:
|
|
80
|
+
function Z(e, t = !1) {
|
|
81
|
+
function r(u, { flush: d = "sync", deep: m = !1, timeout: v, throwOnTimeout: l } = {}) {
|
|
82
82
|
let f = null;
|
|
83
83
|
const w = [new Promise((A) => {
|
|
84
84
|
f = S(
|
|
@@ -93,30 +93,30 @@ function X(e, t = !1) {
|
|
|
93
93
|
}
|
|
94
94
|
);
|
|
95
95
|
})];
|
|
96
|
-
return
|
|
97
|
-
|
|
96
|
+
return v != null && w.push(
|
|
97
|
+
Y(v, l).then(() => E(e)).finally(() => f == null ? void 0 : f())
|
|
98
98
|
), Promise.race(w);
|
|
99
99
|
}
|
|
100
100
|
function n(u, d) {
|
|
101
|
-
if (!
|
|
101
|
+
if (!De(u))
|
|
102
102
|
return r((g) => g === u, d);
|
|
103
|
-
const { flush: m = "sync", deep:
|
|
103
|
+
const { flush: m = "sync", deep: v = !1, timeout: l, throwOnTimeout: f } = d ?? {};
|
|
104
104
|
let p = null;
|
|
105
105
|
const A = [new Promise((g) => {
|
|
106
106
|
p = S(
|
|
107
107
|
[e, u],
|
|
108
|
-
([
|
|
109
|
-
t !== (
|
|
108
|
+
([j, F]) => {
|
|
109
|
+
t !== (j === F) && (p ? p() : z(() => p == null ? void 0 : p()), g(j));
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
flush: m,
|
|
113
|
-
deep:
|
|
113
|
+
deep: v,
|
|
114
114
|
immediate: !0
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
})];
|
|
118
118
|
return l != null && A.push(
|
|
119
|
-
|
|
119
|
+
Y(l, f).then(() => E(e)).finally(() => (p == null || p(), E(e)))
|
|
120
120
|
), Promise.race(A);
|
|
121
121
|
}
|
|
122
122
|
function i(u) {
|
|
@@ -133,14 +133,14 @@ function X(e, t = !1) {
|
|
|
133
133
|
}
|
|
134
134
|
function c(u, d) {
|
|
135
135
|
return r((m) => {
|
|
136
|
-
const
|
|
137
|
-
return
|
|
136
|
+
const v = Array.from(m);
|
|
137
|
+
return v.includes(u) || v.includes(E(u));
|
|
138
138
|
}, d);
|
|
139
139
|
}
|
|
140
140
|
function y(u) {
|
|
141
|
-
return
|
|
141
|
+
return h(1, u);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function h(u = 1, d) {
|
|
144
144
|
let m = -1;
|
|
145
145
|
return r(() => (m += 1, m >= u), d);
|
|
146
146
|
}
|
|
@@ -148,9 +148,9 @@ function X(e, t = !1) {
|
|
|
148
148
|
toMatch: r,
|
|
149
149
|
toContains: c,
|
|
150
150
|
changed: y,
|
|
151
|
-
changedTimes:
|
|
151
|
+
changedTimes: h,
|
|
152
152
|
get not() {
|
|
153
|
-
return
|
|
153
|
+
return Z(e, !t);
|
|
154
154
|
}
|
|
155
155
|
} : {
|
|
156
156
|
toMatch: r,
|
|
@@ -160,16 +160,16 @@ function X(e, t = !1) {
|
|
|
160
160
|
toBeNaN: s,
|
|
161
161
|
toBeUndefined: a,
|
|
162
162
|
changed: y,
|
|
163
|
-
changedTimes:
|
|
163
|
+
changedTimes: h,
|
|
164
164
|
get not() {
|
|
165
|
-
return
|
|
165
|
+
return Z(e, !t);
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
return
|
|
169
|
+
function Ze(e) {
|
|
170
|
+
return Z(e);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function et(e, t, r = {}) {
|
|
173
173
|
const {
|
|
174
174
|
immediate: n = !0
|
|
175
175
|
} = r, i = I(!1);
|
|
@@ -185,17 +185,17 @@ function Ye(e, t, r = {}) {
|
|
|
185
185
|
i.value = !1, o = null, e(...y);
|
|
186
186
|
}, E(t));
|
|
187
187
|
}
|
|
188
|
-
return n && (i.value = !0,
|
|
189
|
-
isPending:
|
|
188
|
+
return n && (i.value = !0, q && c()), we(s), {
|
|
189
|
+
isPending: pe(i),
|
|
190
190
|
start: c,
|
|
191
191
|
stop: s
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function tt(e, t, r) {
|
|
195
195
|
const n = S(e, (...i) => (z(() => n()), t(...i)), r);
|
|
196
196
|
return n;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Pt(e, t, r) {
|
|
199
199
|
const n = S(
|
|
200
200
|
e,
|
|
201
201
|
(i, o, a) => {
|
|
@@ -208,47 +208,47 @@ function Et(e, t, r) {
|
|
|
208
208
|
);
|
|
209
209
|
return n;
|
|
210
210
|
}
|
|
211
|
-
const
|
|
212
|
-
function
|
|
211
|
+
const Te = q ? window : void 0, nt = q ? window.document : void 0;
|
|
212
|
+
function D(e) {
|
|
213
213
|
var t;
|
|
214
214
|
const r = E(e);
|
|
215
215
|
return (t = r == null ? void 0 : r.$el) != null ? t : r;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function U(...e) {
|
|
218
218
|
let t, r, n, i;
|
|
219
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([r, n, i] = e, t =
|
|
219
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([r, n, i] = e, t = Te) : [t, r, n, i] = e, !t)
|
|
220
220
|
return R;
|
|
221
|
-
r =
|
|
221
|
+
r = se(r), n = se(n);
|
|
222
222
|
const o = [], a = () => {
|
|
223
|
-
o.forEach((
|
|
224
|
-
}, s = (
|
|
225
|
-
() => [
|
|
226
|
-
([
|
|
227
|
-
if (a(), !
|
|
223
|
+
o.forEach((h) => h()), o.length = 0;
|
|
224
|
+
}, s = (h, u, d, m) => (h.addEventListener(u, d, m), () => h.removeEventListener(u, d, m)), c = S(
|
|
225
|
+
() => [D(t), E(i)],
|
|
226
|
+
([h, u]) => {
|
|
227
|
+
if (a(), !h)
|
|
228
228
|
return;
|
|
229
|
-
const d =
|
|
229
|
+
const d = He(u) ? { ...u } : u;
|
|
230
230
|
o.push(
|
|
231
|
-
...r.flatMap((m) => n.map((
|
|
231
|
+
...r.flatMap((m) => n.map((v) => s(h, m, v, d)))
|
|
232
232
|
);
|
|
233
233
|
},
|
|
234
234
|
{ immediate: !0, flush: "post" }
|
|
235
235
|
), y = () => {
|
|
236
236
|
c(), a();
|
|
237
237
|
};
|
|
238
|
-
return
|
|
238
|
+
return we(y), y;
|
|
239
239
|
}
|
|
240
|
-
let
|
|
241
|
-
function
|
|
242
|
-
const { window: n =
|
|
240
|
+
let ue = !1;
|
|
241
|
+
function Ct(e, t, r = {}) {
|
|
242
|
+
const { window: n = Te, ignore: i = [], capture: o = !0, detectIframe: a = !1 } = r;
|
|
243
243
|
if (!n)
|
|
244
244
|
return R;
|
|
245
|
-
|
|
245
|
+
Je && !ue && (ue = !0, Array.from(n.document.body.children).forEach((l) => l.addEventListener("click", R)), n.document.documentElement.addEventListener("click", R));
|
|
246
246
|
let s = !0;
|
|
247
247
|
const c = (l) => E(i).some((f) => {
|
|
248
248
|
if (typeof f == "string")
|
|
249
249
|
return Array.from(n.document.querySelectorAll(f)).some((p) => p === l.target || l.composedPath().includes(p));
|
|
250
250
|
{
|
|
251
|
-
const p =
|
|
251
|
+
const p = D(f);
|
|
252
252
|
return p && (l.target === p || l.composedPath().includes(p));
|
|
253
253
|
}
|
|
254
254
|
});
|
|
@@ -256,13 +256,13 @@ function It(e, t, r = {}) {
|
|
|
256
256
|
const f = E(l);
|
|
257
257
|
return f && f.$.subTree.shapeFlag === 16;
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function h(l, f) {
|
|
260
260
|
const p = E(l), w = p.$.subTree && p.$.subTree.children;
|
|
261
261
|
return w == null || !Array.isArray(w) ? !1 : w.some((A) => A.el === f.target || f.composedPath().includes(A.el));
|
|
262
262
|
}
|
|
263
263
|
const u = (l) => {
|
|
264
|
-
const f =
|
|
265
|
-
if (l.target != null && !(!(f instanceof Element) && y(e) &&
|
|
264
|
+
const f = D(e);
|
|
265
|
+
if (l.target != null && !(!(f instanceof Element) && y(e) && h(e, l)) && !(!f || f === l.target || l.composedPath().includes(f))) {
|
|
266
266
|
if (l.detail === 0 && (s = !c(l)), !s) {
|
|
267
267
|
s = !0;
|
|
268
268
|
return;
|
|
@@ -272,26 +272,26 @@ function It(e, t, r = {}) {
|
|
|
272
272
|
};
|
|
273
273
|
let d = !1;
|
|
274
274
|
const m = [
|
|
275
|
-
|
|
275
|
+
U(n, "click", (l) => {
|
|
276
276
|
d || (d = !0, setTimeout(() => {
|
|
277
277
|
d = !1;
|
|
278
278
|
}, 0), u(l));
|
|
279
279
|
}, { passive: !0, capture: o }),
|
|
280
|
-
|
|
281
|
-
const f =
|
|
280
|
+
U(n, "pointerdown", (l) => {
|
|
281
|
+
const f = D(e);
|
|
282
282
|
s = !c(l) && !!(f && !l.composedPath().includes(f));
|
|
283
283
|
}, { passive: !0 }),
|
|
284
|
-
a &&
|
|
284
|
+
a && U(n, "blur", (l) => {
|
|
285
285
|
setTimeout(() => {
|
|
286
286
|
var f;
|
|
287
|
-
const p =
|
|
287
|
+
const p = D(e);
|
|
288
288
|
((f = n.document.activeElement) == null ? void 0 : f.tagName) === "IFRAME" && !(p != null && p.contains(n.document.activeElement)) && t(l);
|
|
289
289
|
}, 0);
|
|
290
290
|
}, { passive: !0 })
|
|
291
291
|
].filter(Boolean);
|
|
292
292
|
return () => m.forEach((l) => l());
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function rt(e, t, r) {
|
|
295
295
|
const {
|
|
296
296
|
immediate: n = !0,
|
|
297
297
|
delay: i = 0,
|
|
@@ -300,32 +300,32 @@ function tt(e, t, r) {
|
|
|
300
300
|
resetOnExecute: s = !0,
|
|
301
301
|
shallow: c = !0,
|
|
302
302
|
throwError: y
|
|
303
|
-
} = r ?? {},
|
|
304
|
-
async function
|
|
305
|
-
s && (
|
|
303
|
+
} = r ?? {}, h = c ? ie(t) : I(t), u = I(!1), d = I(!1), m = ie(void 0);
|
|
304
|
+
async function v(p = 0, ...w) {
|
|
305
|
+
s && (h.value = t), m.value = void 0, u.value = !1, d.value = !0, p > 0 && await Y(p);
|
|
306
306
|
const A = typeof e == "function" ? e(...w) : e;
|
|
307
307
|
try {
|
|
308
308
|
const g = await A;
|
|
309
|
-
|
|
309
|
+
h.value = g, u.value = !0, a(g);
|
|
310
310
|
} catch (g) {
|
|
311
311
|
if (m.value = g, o(g), y)
|
|
312
312
|
throw g;
|
|
313
313
|
} finally {
|
|
314
314
|
d.value = !1;
|
|
315
315
|
}
|
|
316
|
-
return
|
|
316
|
+
return h.value;
|
|
317
317
|
}
|
|
318
|
-
n &&
|
|
318
|
+
n && v(i);
|
|
319
319
|
const l = {
|
|
320
|
-
state:
|
|
320
|
+
state: h,
|
|
321
321
|
isReady: u,
|
|
322
322
|
isLoading: d,
|
|
323
323
|
error: m,
|
|
324
|
-
execute:
|
|
324
|
+
execute: v
|
|
325
325
|
};
|
|
326
326
|
function f() {
|
|
327
327
|
return new Promise((p, w) => {
|
|
328
|
-
|
|
328
|
+
Ze(d).toBe(!1).then(() => p(l)).catch(w);
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
331
|
return {
|
|
@@ -335,24 +335,24 @@ function tt(e, t, r) {
|
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
|
-
function
|
|
339
|
-
const { document: t =
|
|
338
|
+
function Rt(e = {}) {
|
|
339
|
+
const { document: t = nt } = e;
|
|
340
340
|
if (!t)
|
|
341
341
|
return I("visible");
|
|
342
342
|
const r = I(t.visibilityState);
|
|
343
|
-
return
|
|
343
|
+
return U(t, "visibilitychange", () => {
|
|
344
344
|
r.value = t.visibilityState;
|
|
345
345
|
}, { passive: !0 }), r;
|
|
346
346
|
}
|
|
347
|
-
async function
|
|
347
|
+
async function ot(e) {
|
|
348
348
|
return new Promise((t, r) => {
|
|
349
|
-
const n = new Image(), { src: i, srcset: o, sizes: a, class: s, loading: c, crossorigin: y, referrerPolicy:
|
|
350
|
-
n.src = i, o != null && (n.srcset = o), a != null && (n.sizes = a), s != null && (n.className = s), c != null && (n.loading = c), y != null && (n.crossOrigin = y),
|
|
349
|
+
const n = new Image(), { src: i, srcset: o, sizes: a, class: s, loading: c, crossorigin: y, referrerPolicy: h, width: u, height: d, decoding: m, fetchPriority: v, ismap: l, usemap: f } = e;
|
|
350
|
+
n.src = i, o != null && (n.srcset = o), a != null && (n.sizes = a), s != null && (n.className = s), c != null && (n.loading = c), y != null && (n.crossOrigin = y), h != null && (n.referrerPolicy = h), u != null && (n.width = u), d != null && (n.height = d), m != null && (n.decoding = m), v != null && (n.fetchPriority = v), l != null && (n.isMap = l), f != null && (n.useMap = f), n.onload = () => t(n), n.onerror = r;
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
const r =
|
|
355
|
-
() =>
|
|
353
|
+
function _t(e, t = {}) {
|
|
354
|
+
const r = rt(
|
|
355
|
+
() => ot(E(e)),
|
|
356
356
|
void 0,
|
|
357
357
|
{
|
|
358
358
|
resetOnExecute: !0,
|
|
@@ -365,37 +365,53 @@ function xt(e, t = {}) {
|
|
|
365
365
|
{ deep: !0 }
|
|
366
366
|
), r;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function it(e) {
|
|
369
369
|
var t = Object.prototype.toString.call(e);
|
|
370
370
|
return t === "[object Uint8ClampedArray]" || t === "[object Int8Array]" || t === "[object Uint8Array]" || t === "[object Int16Array]" || t === "[object Uint16Array]" || t === "[object Int32Array]" || t === "[object Uint32Array]" || t === "[object Float32Array]" || t === "[object Float64Array]" || t === "[object BigInt64Array]" || t === "[object BigUint64Array]";
|
|
371
371
|
}
|
|
372
|
-
var
|
|
373
|
-
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() :
|
|
372
|
+
var at = /* @__PURE__ */ K(function(t) {
|
|
373
|
+
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : Be(t) ? [] : We(t) ? "" : X(t) ? {} : Me(t) ? /* @__PURE__ */ function() {
|
|
374
374
|
return arguments;
|
|
375
|
-
}() :
|
|
376
|
-
}),
|
|
377
|
-
return t != null &&
|
|
378
|
-
}),
|
|
375
|
+
}() : it(t) ? t.constructor.from("") : void 0;
|
|
376
|
+
}), st = /* @__PURE__ */ K(function(t) {
|
|
377
|
+
return t != null && $e(t, at(t));
|
|
378
|
+
}), ut = /* @__PURE__ */ ve(function(t, r, n) {
|
|
379
|
+
var i = {}, o;
|
|
380
|
+
r = r || {}, n = n || {};
|
|
381
|
+
for (o in r)
|
|
382
|
+
B(o, r) && (i[o] = B(o, n) ? t(o, r[o], n[o]) : r[o]);
|
|
383
|
+
for (o in n)
|
|
384
|
+
B(o, n) && !B(o, i) && (i[o] = n[o]);
|
|
385
|
+
return i;
|
|
386
|
+
}), ct = /* @__PURE__ */ ve(function e(t, r, n) {
|
|
387
|
+
return ut(function(i, o, a) {
|
|
388
|
+
return X(o) && X(a) ? e(t, o, a) : t(i, o, a);
|
|
389
|
+
}, r, n);
|
|
390
|
+
}), lt = /* @__PURE__ */ ge(function(t, r) {
|
|
391
|
+
return ct(function(n, i, o) {
|
|
392
|
+
return o;
|
|
393
|
+
}, t, r);
|
|
394
|
+
}), ft = /* @__PURE__ */ ge(function(t, r) {
|
|
379
395
|
for (var n = {}, i = {}, o = 0, a = t.length; o < a; )
|
|
380
396
|
i[t[o]] = 1, o += 1;
|
|
381
397
|
for (var s in r)
|
|
382
398
|
i.hasOwnProperty(s) || (n[s] = r[s]);
|
|
383
399
|
return n;
|
|
384
400
|
}), L = `
|
|
385
|
-
\v\f\r \u2028\u2029\uFEFF`,
|
|
401
|
+
\v\f\r \u2028\u2029\uFEFF`, dt = "", pt = typeof String.prototype.trim == "function", G = !pt || /* @__PURE__ */ L.trim() || !/* @__PURE__ */ dt.trim() ? /* @__PURE__ */ K(function(t) {
|
|
386
402
|
var r = new RegExp("^[" + L + "][" + L + "]*"), n = new RegExp("[" + L + "][" + L + "]*$");
|
|
387
403
|
return t.replace(r, "").replace(n, "");
|
|
388
|
-
}) : /* @__PURE__ */
|
|
404
|
+
}) : /* @__PURE__ */ K(function(t) {
|
|
389
405
|
return t.trim();
|
|
390
406
|
});
|
|
391
|
-
function
|
|
407
|
+
function jt(e, t, r, n) {
|
|
392
408
|
const i = I(""), o = I(!1), a = (s) => {
|
|
393
|
-
const c =
|
|
409
|
+
const c = Ue(ae(t), s), y = c.length > 0;
|
|
394
410
|
if (o.value = y, !y)
|
|
395
411
|
return i.value = "";
|
|
396
412
|
const u = c.map((d) => ({
|
|
397
413
|
team: d.team.longName,
|
|
398
|
-
points: Math.abs(
|
|
414
|
+
points: Math.abs(ae(t, d))
|
|
399
415
|
})).map((d) => r(`additionalText.${t}.content`, d)).join(", ");
|
|
400
416
|
i.value = [
|
|
401
417
|
r(`additionalText.${t}.prependix`),
|
|
@@ -403,7 +419,7 @@ function St(e, t, r, n) {
|
|
|
403
419
|
...r(`additionalText.${t}.appendix`) && [r(`additionalText.${t}.appendix`)]
|
|
404
420
|
].join(" ");
|
|
405
421
|
};
|
|
406
|
-
return
|
|
422
|
+
return tt(e, a), S(
|
|
407
423
|
() => O(n),
|
|
408
424
|
() => a(O(e))
|
|
409
425
|
), {
|
|
@@ -411,26 +427,26 @@ function St(e, t, r, n) {
|
|
|
411
427
|
isVisible: o
|
|
412
428
|
};
|
|
413
429
|
}
|
|
414
|
-
const
|
|
430
|
+
const Ae = Symbol("I18nContext"), T = me({
|
|
415
431
|
messages: {},
|
|
416
432
|
locale: "",
|
|
417
433
|
fallbackLocale: ""
|
|
418
434
|
});
|
|
419
|
-
function
|
|
420
|
-
T.messages = e, T.locale = t, T.fallbackLocale = r;
|
|
435
|
+
function Lt({ messages: e = {}, locale: t = "", fallbackLocale: r = "" }) {
|
|
436
|
+
T.messages = lt(T.messages, e), T.locale = t, T.fallbackLocale = r;
|
|
421
437
|
const n = (c, y = {}) => {
|
|
422
|
-
const
|
|
423
|
-
return
|
|
424
|
-
const m =
|
|
425
|
-
return
|
|
438
|
+
const h = !st(y), u = k(G, N(".", c));
|
|
439
|
+
return _(() => {
|
|
440
|
+
const m = Ee(u);
|
|
441
|
+
return h ? ht(m, y) : m;
|
|
426
442
|
}).value;
|
|
427
443
|
}, i = (c) => {
|
|
428
|
-
const y = k(G,
|
|
429
|
-
return !!
|
|
444
|
+
const y = k(G, N(".", c));
|
|
445
|
+
return !!ee(T.locale, y, T.messages);
|
|
430
446
|
}, o = (c) => {
|
|
431
447
|
T.locale = c;
|
|
432
448
|
}, s = {
|
|
433
|
-
locale:
|
|
449
|
+
locale: _({
|
|
434
450
|
get() {
|
|
435
451
|
return T.locale;
|
|
436
452
|
},
|
|
@@ -442,13 +458,13 @@ function Pt({ messages: e = {}, locale: t = "", fallbackLocale: r = "" }) {
|
|
|
442
458
|
translate: n,
|
|
443
459
|
hasTranslation: i
|
|
444
460
|
};
|
|
445
|
-
return
|
|
461
|
+
return ye(Ae, s), {
|
|
446
462
|
translate: n
|
|
447
463
|
};
|
|
448
464
|
}
|
|
449
|
-
function
|
|
465
|
+
function mt(e) {
|
|
450
466
|
e && (T.messages = e.messages, T.locale = e.locale, T.fallbackLocale = e.fallbackLocale);
|
|
451
|
-
const t =
|
|
467
|
+
const t = yt();
|
|
452
468
|
return {
|
|
453
469
|
locale: t.locale,
|
|
454
470
|
t: t.translate,
|
|
@@ -456,23 +472,23 @@ function ct(e) {
|
|
|
456
472
|
hasTranslation: t.hasTranslation
|
|
457
473
|
};
|
|
458
474
|
}
|
|
459
|
-
function
|
|
460
|
-
const e =
|
|
475
|
+
function yt() {
|
|
476
|
+
const e = he(Ae, null);
|
|
461
477
|
if (e === null)
|
|
462
478
|
throw new Error("Privider is missing a parent component.");
|
|
463
479
|
return e;
|
|
464
480
|
}
|
|
465
|
-
function
|
|
466
|
-
let t =
|
|
467
|
-
return !t && T.fallbackLocale && (t =
|
|
481
|
+
function Ee(e = []) {
|
|
482
|
+
let t = ee(T.locale, e, T.messages);
|
|
483
|
+
return !t && T.fallbackLocale && (t = ee(T.fallbackLocale, e, T.messages)), t || e.join(".");
|
|
468
484
|
}
|
|
469
|
-
function
|
|
470
|
-
return
|
|
485
|
+
function ee(e, t, r) {
|
|
486
|
+
return ze([e, ...t], r);
|
|
471
487
|
}
|
|
472
|
-
function
|
|
488
|
+
function ht(e, t) {
|
|
473
489
|
return e.replace(/\{(\w+)\}/g, (r, n) => t[n]);
|
|
474
490
|
}
|
|
475
|
-
const
|
|
491
|
+
const Dt = ke({
|
|
476
492
|
props: {
|
|
477
493
|
tag: {
|
|
478
494
|
type: String,
|
|
@@ -484,19 +500,19 @@ const Ct = je({
|
|
|
484
500
|
}
|
|
485
501
|
},
|
|
486
502
|
setup(e, { slots: t }) {
|
|
487
|
-
const r = k(G,
|
|
503
|
+
const r = k(G, N(".", e.path)), n = Ee(r), i = N(/\{|\}/, n), o = Object.keys(t).map((a) => {
|
|
488
504
|
const s = i.indexOf(a);
|
|
489
505
|
return s > -1 && (i[s] = t[a]()[0]), i;
|
|
490
506
|
});
|
|
491
|
-
return () =>
|
|
507
|
+
return () => Ne(e.tag, o);
|
|
492
508
|
}
|
|
493
509
|
});
|
|
494
|
-
function
|
|
495
|
-
const n = I(""), { t: i } =
|
|
510
|
+
function kt(e, t = "", r = {}) {
|
|
511
|
+
const n = I(""), { t: i } = mt(), o = _(() => {
|
|
496
512
|
if (O(t))
|
|
497
513
|
try {
|
|
498
|
-
const c =
|
|
499
|
-
return
|
|
514
|
+
const c = vt(O(e), O(t));
|
|
515
|
+
return ft(c, O(e));
|
|
500
516
|
} catch (c) {
|
|
501
517
|
n.value = c;
|
|
502
518
|
}
|
|
@@ -507,12 +523,12 @@ function Rt(e, t = "", r = {}) {
|
|
|
507
523
|
...c.tooltip && { tooltip: i(c.tooltip ?? "") }
|
|
508
524
|
});
|
|
509
525
|
return {
|
|
510
|
-
columns:
|
|
526
|
+
columns: _(() => k(a, o.value)),
|
|
511
527
|
error: n
|
|
512
528
|
};
|
|
513
529
|
}
|
|
514
|
-
function
|
|
515
|
-
const r = k(G,
|
|
530
|
+
function vt(e, t = "") {
|
|
531
|
+
const r = k(G, N(",", t)), n = Ke(e);
|
|
516
532
|
if (r[0] === "")
|
|
517
533
|
return [];
|
|
518
534
|
const i = r.findIndex((o) => !n.includes(o));
|
|
@@ -520,49 +536,49 @@ function dt(e, t = "") {
|
|
|
520
536
|
throw r[i];
|
|
521
537
|
return r;
|
|
522
538
|
}
|
|
523
|
-
const
|
|
524
|
-
function
|
|
539
|
+
const Ie = Symbol("ErrorProviderContext");
|
|
540
|
+
function Nt() {
|
|
525
541
|
const e = I(""), t = I({}), r = (o) => {
|
|
526
542
|
console.error({ error: o }), e.value = o.message || o.error.message, t.value = {
|
|
527
543
|
message: o.message,
|
|
528
|
-
key: o.key ||
|
|
544
|
+
key: o.key || Ge(o.message),
|
|
529
545
|
cause: o.cause
|
|
530
546
|
};
|
|
531
547
|
};
|
|
532
|
-
return
|
|
548
|
+
return ye(Ie, {
|
|
533
549
|
onError: r,
|
|
534
550
|
reset: () => {
|
|
535
551
|
e.value = "", t.value = {};
|
|
536
552
|
}
|
|
537
553
|
}), window.onerror = (o) => {
|
|
538
554
|
console.error("WINDOW_ONERROR:", o);
|
|
539
|
-
},
|
|
555
|
+
}, Fe((o, a, s) => {
|
|
540
556
|
console.error("onErrorCaptured:", o, a, s);
|
|
541
557
|
}), {
|
|
542
|
-
hasError:
|
|
558
|
+
hasError: _(() => e.value.length > 0),
|
|
543
559
|
message: e,
|
|
544
560
|
error: t,
|
|
545
561
|
onError: r
|
|
546
562
|
};
|
|
547
563
|
}
|
|
548
|
-
function
|
|
549
|
-
const e =
|
|
564
|
+
function Ft() {
|
|
565
|
+
const e = gt();
|
|
550
566
|
return {
|
|
551
567
|
onError: e.onError,
|
|
552
568
|
reset: e.reset
|
|
553
569
|
};
|
|
554
570
|
}
|
|
555
|
-
function
|
|
556
|
-
const e =
|
|
571
|
+
function gt() {
|
|
572
|
+
const e = he(Ie, null);
|
|
557
573
|
if (e === null)
|
|
558
574
|
throw new Error("Privider is missing a parent component.");
|
|
559
575
|
return e;
|
|
560
576
|
}
|
|
561
|
-
function
|
|
562
|
-
const { delay: r = 0 } = t, n = I(!1), i =
|
|
577
|
+
function Bt(e = [], t = {}) {
|
|
578
|
+
const { delay: r = 0 } = t, n = I(!1), i = _(() => {
|
|
563
579
|
const s = O(e);
|
|
564
580
|
return Array.isArray(s) ? s.map((c) => O(c)).some(Boolean) : s;
|
|
565
|
-
}), { start: o, stop: a } =
|
|
581
|
+
}), { start: o, stop: a } = et(() => {
|
|
566
582
|
n.value = !0;
|
|
567
583
|
}, r);
|
|
568
584
|
return S(
|
|
@@ -575,9 +591,6 @@ function Lt(e = [], t = {}) {
|
|
|
575
591
|
{ immediate: !0, deep: !0 }
|
|
576
592
|
), n;
|
|
577
593
|
}
|
|
578
|
-
function Nt(e) {
|
|
579
|
-
return "mjsz-vbr-" + e;
|
|
580
|
-
}
|
|
581
594
|
/*! *****************************************************************************
|
|
582
595
|
Copyright (c) Microsoft Corporation.
|
|
583
596
|
|
|
@@ -592,7 +605,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
592
605
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
593
606
|
PERFORMANCE OF THIS SOFTWARE.
|
|
594
607
|
***************************************************************************** */
|
|
595
|
-
function
|
|
608
|
+
function V(e, t) {
|
|
596
609
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
597
610
|
if (!r) return e;
|
|
598
611
|
var n, i, o = r.call(e), a = [];
|
|
@@ -609,29 +622,29 @@ function J(e, t) {
|
|
|
609
622
|
}
|
|
610
623
|
return a;
|
|
611
624
|
}
|
|
612
|
-
var
|
|
625
|
+
var ce;
|
|
613
626
|
(function(e) {
|
|
614
627
|
e[e.NotStarted = 0] = "NotStarted", e[e.Running = 1] = "Running", e[e.Stopped = 2] = "Stopped";
|
|
615
|
-
})(
|
|
616
|
-
var
|
|
628
|
+
})(ce || (ce = {}));
|
|
629
|
+
var wt = { type: "xstate.init" };
|
|
617
630
|
function M(e) {
|
|
618
631
|
return e === void 0 ? [] : [].concat(e);
|
|
619
632
|
}
|
|
620
|
-
function
|
|
633
|
+
function le(e, t) {
|
|
621
634
|
return typeof (e = typeof e == "string" && t && t[e] ? t[e] : e) == "string" ? { type: e } : typeof e == "function" ? { type: e.name, exec: e } : e;
|
|
622
635
|
}
|
|
623
|
-
function
|
|
636
|
+
function te(e) {
|
|
624
637
|
return function(t) {
|
|
625
638
|
return e === t;
|
|
626
639
|
};
|
|
627
640
|
}
|
|
628
|
-
function
|
|
641
|
+
function bt(e) {
|
|
629
642
|
return typeof e == "string" ? { type: e } : e;
|
|
630
643
|
}
|
|
631
|
-
function
|
|
632
|
-
return { value: e, context: t, actions: [], changed: !1, matches:
|
|
644
|
+
function fe(e, t) {
|
|
645
|
+
return { value: e, context: t, actions: [], changed: !1, matches: te(e) };
|
|
633
646
|
}
|
|
634
|
-
function
|
|
647
|
+
function de(e, t, r) {
|
|
635
648
|
var n = t, i = !1;
|
|
636
649
|
return [e.filter(function(o) {
|
|
637
650
|
if (o.type === "xstate.assign") {
|
|
@@ -644,39 +657,39 @@ function le(e, t, r) {
|
|
|
644
657
|
return !0;
|
|
645
658
|
}), n, i];
|
|
646
659
|
}
|
|
647
|
-
function
|
|
660
|
+
function Tt(e, t) {
|
|
648
661
|
t === void 0 && (t = {});
|
|
649
|
-
var r =
|
|
650
|
-
return
|
|
651
|
-
}), e.context,
|
|
652
|
-
var c, y,
|
|
653
|
-
if (
|
|
654
|
-
var l = M(
|
|
655
|
-
"*" in
|
|
656
|
-
if (arguments.length === 2) for (var P, C = 0,
|
|
662
|
+
var r = V(de(M(e.states[e.initial].entry).map(function(a) {
|
|
663
|
+
return le(a, t.actions);
|
|
664
|
+
}), e.context, wt), 2), n = r[0], i = r[1], o = { config: e, _options: t, initialState: { value: e.initial, actions: n, context: i, matches: te(e.initial) }, transition: function(a, s) {
|
|
665
|
+
var c, y, h = typeof a == "string" ? { value: a, context: e.context } : a, u = h.value, d = h.context, m = bt(s), v = e.states[u];
|
|
666
|
+
if (v.on) {
|
|
667
|
+
var l = M(v.on[m.type]);
|
|
668
|
+
"*" in v.on && l.push.apply(l, function(b, x, J) {
|
|
669
|
+
if (arguments.length === 2) for (var P, C = 0, _e = x.length; C < _e; C++) !P && C in x || (P || (P = Array.prototype.slice.call(x, 0, C)), P[C] = x[C]);
|
|
657
670
|
return b.concat(P || Array.prototype.slice.call(x));
|
|
658
|
-
}([],
|
|
671
|
+
}([], V(M(v.on["*"])), !1));
|
|
659
672
|
try {
|
|
660
673
|
for (var f = function(b) {
|
|
661
|
-
var x = typeof Symbol == "function" && Symbol.iterator,
|
|
662
|
-
if (
|
|
674
|
+
var x = typeof Symbol == "function" && Symbol.iterator, J = x && b[x], P = 0;
|
|
675
|
+
if (J) return J.call(b);
|
|
663
676
|
if (b && typeof b.length == "number") return { next: function() {
|
|
664
677
|
return b && P >= b.length && (b = void 0), { value: b && b[P++], done: !b };
|
|
665
678
|
} };
|
|
666
679
|
throw new TypeError(x ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
667
680
|
}(l), p = f.next(); !p.done; p = f.next()) {
|
|
668
681
|
var w = p.value;
|
|
669
|
-
if (w === void 0) return
|
|
670
|
-
var A = typeof w == "string" ? { target: w } : w, g = A.target,
|
|
682
|
+
if (w === void 0) return fe(u, d);
|
|
683
|
+
var A = typeof w == "string" ? { target: w } : w, g = A.target, j = A.actions, F = j === void 0 ? [] : j, ne = A.cond, Oe = ne === void 0 ? function() {
|
|
671
684
|
return !0;
|
|
672
|
-
} :
|
|
673
|
-
if (
|
|
674
|
-
var
|
|
685
|
+
} : ne, xe = g === void 0, Se = g ?? u, Pe = e.states[Se];
|
|
686
|
+
if (Oe(d, m)) {
|
|
687
|
+
var H = V(de((xe ? M(F) : [].concat(v.exit, F, Pe.entry).filter(function(b) {
|
|
675
688
|
return b;
|
|
676
689
|
})).map(function(b) {
|
|
677
|
-
return
|
|
678
|
-
}), d, m), 3),
|
|
679
|
-
return { value:
|
|
690
|
+
return le(b, o._options.actions);
|
|
691
|
+
}), d, m), 3), re = H[0], Ce = H[1], Re = H[2], oe = g ?? u;
|
|
692
|
+
return { value: oe, context: Ce, actions: re, changed: g !== u || re.length > 0 || Re, matches: te(oe) };
|
|
680
693
|
}
|
|
681
694
|
}
|
|
682
695
|
} catch (b) {
|
|
@@ -689,40 +702,40 @@ function vt(e, t) {
|
|
|
689
702
|
}
|
|
690
703
|
}
|
|
691
704
|
}
|
|
692
|
-
return
|
|
705
|
+
return fe(u, d);
|
|
693
706
|
} };
|
|
694
707
|
return o;
|
|
695
708
|
}
|
|
696
|
-
const
|
|
709
|
+
const At = Tt({
|
|
697
710
|
id: "sort",
|
|
698
|
-
initial:
|
|
711
|
+
initial: W,
|
|
699
712
|
states: {
|
|
700
|
-
[
|
|
713
|
+
[W]: {
|
|
701
714
|
on: {
|
|
702
|
-
DIRECTION1:
|
|
703
|
-
DIRECTION2:
|
|
715
|
+
DIRECTION1: Q,
|
|
716
|
+
DIRECTION2: $
|
|
704
717
|
}
|
|
705
718
|
},
|
|
706
|
-
[
|
|
719
|
+
[Q]: {
|
|
707
720
|
on: {
|
|
708
|
-
DIRECTION1:
|
|
709
|
-
DIRECTION2:
|
|
721
|
+
DIRECTION1: $,
|
|
722
|
+
DIRECTION2: W
|
|
710
723
|
}
|
|
711
724
|
},
|
|
712
|
-
[
|
|
725
|
+
[$]: {
|
|
713
726
|
on: {
|
|
714
|
-
DIRECTION1:
|
|
715
|
-
DIRECTION2:
|
|
727
|
+
DIRECTION1: W,
|
|
728
|
+
DIRECTION2: Q
|
|
716
729
|
}
|
|
717
730
|
}
|
|
718
731
|
}
|
|
719
732
|
});
|
|
720
|
-
function
|
|
721
|
-
const r = t ===
|
|
722
|
-
return
|
|
733
|
+
function Et(e, t) {
|
|
734
|
+
const r = t === $ ? "DIRECTION2" : "DIRECTION1";
|
|
735
|
+
return At.transition(e, r).value;
|
|
723
736
|
}
|
|
724
|
-
function
|
|
725
|
-
const { sortTarget: t = null, orders: r = [] } = e, n =
|
|
737
|
+
function Wt(e = {}) {
|
|
738
|
+
const { sortTarget: t = null, orders: r = [] } = e, n = me({ sortTarget: t, orders: r });
|
|
726
739
|
return {
|
|
727
740
|
sort: n,
|
|
728
741
|
change: ({ target: o, orders: a }) => {
|
|
@@ -732,32 +745,32 @@ function kt(e = {}) {
|
|
|
732
745
|
}
|
|
733
746
|
const s = a.map((c, y) => ({
|
|
734
747
|
...c,
|
|
735
|
-
direction:
|
|
748
|
+
direction: Et(n.orders[y].direction, c.direction)
|
|
736
749
|
}));
|
|
737
750
|
n.sortTarget = o, n.orders = s;
|
|
738
751
|
}
|
|
739
752
|
};
|
|
740
753
|
}
|
|
741
754
|
export {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
+
kt as a,
|
|
756
|
+
Nt as b,
|
|
757
|
+
Ft as c,
|
|
758
|
+
Lt as d,
|
|
759
|
+
mt as e,
|
|
760
|
+
Bt as f,
|
|
761
|
+
Wt as g,
|
|
762
|
+
_t as h,
|
|
763
|
+
Dt as i,
|
|
764
|
+
st as j,
|
|
765
|
+
tt as k,
|
|
766
|
+
St as l,
|
|
767
|
+
lt as m,
|
|
755
768
|
R as n,
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
769
|
+
Ct as o,
|
|
770
|
+
D as p,
|
|
771
|
+
rt as q,
|
|
772
|
+
Rt as r,
|
|
773
|
+
jt as u,
|
|
774
|
+
vt as v,
|
|
775
|
+
Pt as w
|
|
763
776
|
};
|