smarteye-e-components 0.0.73 → 0.0.75
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/smarteye-e-components.js +8 -8
- package/dist/smarteye-e-components.js.map +1 -1
- package/dist/smarteye-e-components.mjs +1334 -1263
- package/dist/smarteye-e-components.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/multi-video-area-layout-switch/index.vue.d.ts +3 -11
- package/lib/components/multi-video-area-layout-switch/model/index.d.ts +1 -0
- package/lib/components/recursion-device-group/index.vue.d.ts +2 -1
- package/lib/config/index.d.ts +6 -0
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { h as
|
|
1
|
+
import { h as Ze, getCurrentInstance as Nt, effectScope as Zo, inject as St, onMounted as xe, onUnmounted as ot, ref as k, computed as U, watch as Me, Fragment as ue, isRef as es, createVNode as B, Text as ts, defineComponent as Q, openBlock as N, createElementBlock as A, normalizeClass as ke, renderSlot as Y, createElementVNode as b, toDisplayString as j, createCommentVNode as pe, normalizeStyle as _e, renderList as Ee, resolveComponent as fe, withDirectives as Vn, withCtx as te, createBlock as Fe, vShow as Un, provide as ns, createTextVNode as Gn, reactive as Oe, unref as le, Teleport as zn, toRaw as ze } from "vue";
|
|
2
2
|
/*!
|
|
3
3
|
* shared v9.2.2
|
|
4
4
|
* (c) 2022 kazuya kawaguchi
|
|
5
5
|
* Released under the MIT License.
|
|
6
6
|
*/
|
|
7
7
|
const ge = typeof window < "u";
|
|
8
|
-
let ie,
|
|
8
|
+
let ie, Ie;
|
|
9
9
|
if (process.env.NODE_ENV !== "production") {
|
|
10
10
|
const e = ge && window.performance;
|
|
11
|
-
e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (ie = (t) => e.mark(t),
|
|
11
|
+
e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (ie = (t) => e.mark(t), Ie = (t, n, o) => {
|
|
12
12
|
e.measure(t, n, o), e.clearMarks(n), e.clearMarks(o);
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
return t.length === 1 &&
|
|
15
|
+
const os = /\{([0-9a-zA-Z]+)\}/g;
|
|
16
|
+
function Ct(e, ...t) {
|
|
17
|
+
return t.length === 1 && x(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(os, (n, o) => t.hasOwnProperty(o) ? t[o] : "");
|
|
18
18
|
}
|
|
19
|
-
const
|
|
20
|
-
function
|
|
19
|
+
const ss = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", he = (e) => ss ? Symbol(e) : e, rs = (e, t, n) => as({ l: e, k: t, s: n }), as = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), ls = (e) => Pt(e) === "[object Date]", et = (e) => Pt(e) === "[object RegExp]", st = (e) => M(e) && Object.keys(e).length === 0;
|
|
20
|
+
function Ve(e, t) {
|
|
21
21
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
22
22
|
}
|
|
23
23
|
const ne = Object.assign;
|
|
24
24
|
let Ht;
|
|
25
|
-
const
|
|
25
|
+
const At = () => Ht || (Ht = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
26
26
|
function jt(e) {
|
|
27
27
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
28
28
|
}
|
|
29
|
-
const
|
|
30
|
-
function
|
|
31
|
-
return
|
|
29
|
+
const is = Object.prototype.hasOwnProperty;
|
|
30
|
+
function Dt(e, t) {
|
|
31
|
+
return is.call(e, t);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
function
|
|
33
|
+
const z = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", G = (e) => typeof e == "boolean", x = (e) => e !== null && typeof e == "object", Hn = Object.prototype.toString, Pt = (e) => Hn.call(e), M = (e) => Pt(e) === "[object Object]", cs = (e) => e == null ? "" : z(e) || M(e) && e.toString === Hn ? JSON.stringify(e, null, 2) : String(e), Wt = 2;
|
|
34
|
+
function us(e, t = 0, n = e.length) {
|
|
35
35
|
const o = e.split(/\r?\n/);
|
|
36
36
|
let s = 0;
|
|
37
37
|
const a = [];
|
|
38
38
|
for (let r = 0; r < o.length; r++)
|
|
39
39
|
if (s += o[r].length + 1, s >= t) {
|
|
40
|
-
for (let l = r -
|
|
40
|
+
for (let l = r - Wt; l <= r + Wt || n > s; l++) {
|
|
41
41
|
if (l < 0 || l >= o.length)
|
|
42
42
|
continue;
|
|
43
43
|
const i = l + 1;
|
|
44
44
|
a.push(`${i}${" ".repeat(3 - String(i).length)}| ${o[l]}`);
|
|
45
45
|
const c = o[l].length;
|
|
46
46
|
if (l === r) {
|
|
47
|
-
const
|
|
48
|
-
a.push(" | " + " ".repeat(
|
|
47
|
+
const m = t - (s - c) + 1, f = Math.max(1, n > s ? c - m : n - t);
|
|
48
|
+
a.push(" | " + " ".repeat(m) + "^".repeat(f));
|
|
49
49
|
} else if (l > r) {
|
|
50
50
|
if (n > s) {
|
|
51
|
-
const
|
|
52
|
-
a.push(" | " + "^".repeat(
|
|
51
|
+
const m = Math.max(Math.min(n - s, c), 1);
|
|
52
|
+
a.push(" | " + "^".repeat(m));
|
|
53
53
|
}
|
|
54
54
|
s += c + 1;
|
|
55
55
|
}
|
|
@@ -59,7 +59,7 @@ function as(e, t = 0, n = e.length) {
|
|
|
59
59
|
return a.join(`
|
|
60
60
|
`);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function jn() {
|
|
63
63
|
const e = /* @__PURE__ */ new Map();
|
|
64
64
|
return {
|
|
65
65
|
events: e,
|
|
@@ -97,7 +97,7 @@ const J = {
|
|
|
97
97
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
98
98
|
UNEXPECTED_LEXICAL_ANALYSIS: 14,
|
|
99
99
|
__EXTEND_POINT__: 15
|
|
100
|
-
},
|
|
100
|
+
}, ds = {
|
|
101
101
|
[J.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
102
102
|
[J.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
103
103
|
[J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
|
|
@@ -113,8 +113,8 @@ const J = {
|
|
|
113
113
|
[J.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
|
|
114
114
|
[J.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'"
|
|
115
115
|
};
|
|
116
|
-
function
|
|
117
|
-
const { domain: o, messages: s, args: a } = n, r = process.env.NODE_ENV !== "production" ?
|
|
116
|
+
function Wn(e, t, n = {}) {
|
|
117
|
+
const { domain: o, messages: s, args: a } = n, r = process.env.NODE_ENV !== "production" ? Ct((s || ds)[e] || "", ...a || []) : e, l = new SyntaxError(String(r));
|
|
118
118
|
return l.code = e, t && (l.location = t), l.domain = o, l;
|
|
119
119
|
}
|
|
120
120
|
/*!
|
|
@@ -122,7 +122,7 @@ function jn(e, t, n = {}) {
|
|
|
122
122
|
* (c) 2022 kazuya kawaguchi
|
|
123
123
|
* Released under the MIT License.
|
|
124
124
|
*/
|
|
125
|
-
const
|
|
125
|
+
const Bn = {
|
|
126
126
|
I18nInit: "i18n:init",
|
|
127
127
|
FunctionTranslate: "function:translate"
|
|
128
128
|
};
|
|
@@ -131,25 +131,25 @@ const zn = {
|
|
|
131
131
|
* (c) 2022 kazuya kawaguchi
|
|
132
132
|
* Released under the MIT License.
|
|
133
133
|
*/
|
|
134
|
-
const
|
|
135
|
-
|
|
134
|
+
const we = [];
|
|
135
|
+
we[0] = {
|
|
136
136
|
w: [0],
|
|
137
137
|
i: [3, 0],
|
|
138
138
|
["["]: [4],
|
|
139
139
|
o: [7]
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
we[1] = {
|
|
142
142
|
w: [1],
|
|
143
143
|
["."]: [2],
|
|
144
144
|
["["]: [4],
|
|
145
145
|
o: [7]
|
|
146
146
|
};
|
|
147
|
-
|
|
147
|
+
we[2] = {
|
|
148
148
|
w: [2],
|
|
149
149
|
i: [3, 0],
|
|
150
150
|
[0]: [3, 0]
|
|
151
151
|
};
|
|
152
|
-
|
|
152
|
+
we[3] = {
|
|
153
153
|
i: [3, 0],
|
|
154
154
|
[0]: [3, 0],
|
|
155
155
|
w: [1, 1],
|
|
@@ -157,7 +157,7 @@ be[3] = {
|
|
|
157
157
|
["["]: [4, 1],
|
|
158
158
|
o: [7, 1]
|
|
159
159
|
};
|
|
160
|
-
|
|
160
|
+
we[4] = {
|
|
161
161
|
["'"]: [5, 0],
|
|
162
162
|
['"']: [6, 0],
|
|
163
163
|
["["]: [
|
|
@@ -168,25 +168,25 @@ be[4] = {
|
|
|
168
168
|
o: 8,
|
|
169
169
|
l: [4, 0]
|
|
170
170
|
};
|
|
171
|
-
|
|
171
|
+
we[5] = {
|
|
172
172
|
["'"]: [4, 0],
|
|
173
173
|
o: 8,
|
|
174
174
|
l: [5, 0]
|
|
175
175
|
};
|
|
176
|
-
|
|
176
|
+
we[6] = {
|
|
177
177
|
['"']: [4, 0],
|
|
178
178
|
o: 8,
|
|
179
179
|
l: [6, 0]
|
|
180
180
|
};
|
|
181
|
-
const
|
|
182
|
-
function
|
|
183
|
-
return
|
|
181
|
+
const fs = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
182
|
+
function _s(e) {
|
|
183
|
+
return fs.test(e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function ms(e) {
|
|
186
186
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
187
187
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function ps(e) {
|
|
190
190
|
if (e == null)
|
|
191
191
|
return "o";
|
|
192
192
|
switch (e.charCodeAt(0)) {
|
|
@@ -211,13 +211,13 @@ function ds(e) {
|
|
|
211
211
|
}
|
|
212
212
|
return "i";
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function gs(e) {
|
|
215
215
|
const t = e.trim();
|
|
216
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
216
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : _s(t) ? ms(t) : "*" + t;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function hs(e) {
|
|
219
219
|
const t = [];
|
|
220
|
-
let n = -1, o = 0, s = 0, a, r, l, i, c,
|
|
220
|
+
let n = -1, o = 0, s = 0, a, r, l, i, c, m, f;
|
|
221
221
|
const u = [];
|
|
222
222
|
u[0] = () => {
|
|
223
223
|
r === void 0 ? r = l : r += l;
|
|
@@ -229,33 +229,33 @@ function _s(e) {
|
|
|
229
229
|
if (s > 0)
|
|
230
230
|
s--, o = 4, u[0]();
|
|
231
231
|
else {
|
|
232
|
-
if (s = 0, r === void 0 || (r =
|
|
232
|
+
if (s = 0, r === void 0 || (r = gs(r), r === !1))
|
|
233
233
|
return !1;
|
|
234
234
|
u[1]();
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
function d() {
|
|
238
|
-
const
|
|
239
|
-
if (o === 5 &&
|
|
240
|
-
return n++, l = "\\" +
|
|
238
|
+
const p = e[n + 1];
|
|
239
|
+
if (o === 5 && p === "'" || o === 6 && p === '"')
|
|
240
|
+
return n++, l = "\\" + p, u[0](), !0;
|
|
241
241
|
}
|
|
242
242
|
for (; o !== null; )
|
|
243
243
|
if (n++, a = e[n], !(a === "\\" && d())) {
|
|
244
|
-
if (i =
|
|
244
|
+
if (i = ps(a), f = we[o], c = f[i] || f.l || 8, c === 8 || (o = c[0], c[1] !== void 0 && (m = u[c[1]], m && (l = a, m() === !1))))
|
|
245
245
|
return;
|
|
246
246
|
if (o === 7)
|
|
247
247
|
return t;
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
function
|
|
252
|
-
return
|
|
250
|
+
const Bt = /* @__PURE__ */ new Map();
|
|
251
|
+
function vs(e, t) {
|
|
252
|
+
return x(e) ? e[t] : null;
|
|
253
253
|
}
|
|
254
|
-
function
|
|
255
|
-
if (!
|
|
254
|
+
function ys(e, t) {
|
|
255
|
+
if (!x(e))
|
|
256
256
|
return null;
|
|
257
|
-
let n =
|
|
258
|
-
if (n || (n =
|
|
257
|
+
let n = Bt.get(t);
|
|
258
|
+
if (n || (n = hs(t), n && Bt.set(t, n)), !n)
|
|
259
259
|
return null;
|
|
260
260
|
const o = n.length;
|
|
261
261
|
let s = e, a = 0;
|
|
@@ -267,58 +267,58 @@ function ps(e, t) {
|
|
|
267
267
|
}
|
|
268
268
|
return s;
|
|
269
269
|
}
|
|
270
|
-
const
|
|
271
|
-
function
|
|
270
|
+
const Es = (e) => e, ws = (e) => "", bs = "text", Ls = (e) => e.length === 0 ? "" : e.join(""), Os = cs;
|
|
271
|
+
function Kt(e, t) {
|
|
272
272
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
275
|
-
const t =
|
|
276
|
-
return e.named && (
|
|
274
|
+
function Is(e) {
|
|
275
|
+
const t = K(e.pluralIndex) ? e.pluralIndex : -1;
|
|
276
|
+
return e.named && (K(e.named.count) || K(e.named.n)) ? K(e.named.count) ? e.named.count : K(e.named.n) ? e.named.n : t : t;
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function Ts(e, t) {
|
|
279
279
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
const t = e.locale, n =
|
|
283
|
-
|
|
284
|
-
const c = (
|
|
285
|
-
function
|
|
286
|
-
const
|
|
287
|
-
return
|
|
281
|
+
function Ns(e = {}) {
|
|
282
|
+
const t = e.locale, n = Is(e), o = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Kt, s = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Kt : void 0, a = (g) => g[o(n, g.length, s)], r = e.list || [], l = (g) => r[g], i = e.named || {};
|
|
283
|
+
K(e.pluralIndex) && Ts(n, i);
|
|
284
|
+
const c = (g) => i[g];
|
|
285
|
+
function m(g) {
|
|
286
|
+
const w = W(e.messages) ? e.messages(g) : x(e.messages) ? e.messages[g] : !1;
|
|
287
|
+
return w || (e.parent ? e.parent.message(g) : ws);
|
|
288
288
|
}
|
|
289
|
-
const f = (
|
|
289
|
+
const f = (g) => e.modifiers ? e.modifiers[g] : Es, u = M(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Ls, d = M(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Os, p = M(e.processor) && L(e.processor.type) ? e.processor.type : bs, y = {
|
|
290
290
|
list: l,
|
|
291
291
|
named: c,
|
|
292
292
|
plural: a,
|
|
293
|
-
linked: (
|
|
294
|
-
const [
|
|
295
|
-
let
|
|
296
|
-
|
|
297
|
-
let $ =
|
|
298
|
-
return
|
|
293
|
+
linked: (g, ...w) => {
|
|
294
|
+
const [S, T] = w;
|
|
295
|
+
let E = "text", P = "";
|
|
296
|
+
w.length === 1 ? x(S) ? (P = S.modifier || P, E = S.type || E) : L(S) && (P = S || P) : w.length === 2 && (L(S) && (P = S || P), L(T) && (E = T || E));
|
|
297
|
+
let $ = m(g)(y);
|
|
298
|
+
return E === "vnode" && z($) && P && ($ = $[0]), P ? f(P)($, E) : $;
|
|
299
299
|
},
|
|
300
|
-
message:
|
|
301
|
-
type:
|
|
300
|
+
message: m,
|
|
301
|
+
type: p,
|
|
302
302
|
interpolate: d,
|
|
303
303
|
normalize: u
|
|
304
304
|
};
|
|
305
305
|
return y;
|
|
306
306
|
}
|
|
307
|
-
let
|
|
308
|
-
function
|
|
309
|
-
|
|
307
|
+
let Be = null;
|
|
308
|
+
function Ss(e) {
|
|
309
|
+
Be = e;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
312
|
-
|
|
311
|
+
function Cs(e, t, n) {
|
|
312
|
+
Be && Be.emit(Bn.I18nInit, {
|
|
313
313
|
timestamp: Date.now(),
|
|
314
314
|
i18n: e,
|
|
315
315
|
version: t,
|
|
316
316
|
meta: n
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
-
const
|
|
320
|
-
function
|
|
321
|
-
return (t) =>
|
|
319
|
+
const As = /* @__PURE__ */ Ds(Bn.FunctionTranslate);
|
|
320
|
+
function Ds(e) {
|
|
321
|
+
return (t) => Be && Be.emit(e, t);
|
|
322
322
|
}
|
|
323
323
|
const ae = {
|
|
324
324
|
NOT_FOUND_KEY: 1,
|
|
@@ -328,7 +328,7 @@ const ae = {
|
|
|
328
328
|
CANNOT_FORMAT_DATE: 5,
|
|
329
329
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
330
330
|
__EXTEND_POINT__: 7
|
|
331
|
-
},
|
|
331
|
+
}, Ps = {
|
|
332
332
|
[ae.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
333
333
|
[ae.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
334
334
|
[ae.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -337,25 +337,25 @@ const ae = {
|
|
|
337
337
|
[ae.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale."
|
|
338
338
|
};
|
|
339
339
|
function Re(e, ...t) {
|
|
340
|
-
return
|
|
340
|
+
return Ct(Ps[e], ...t);
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function $s(e, t, n) {
|
|
343
343
|
return [.../* @__PURE__ */ new Set([
|
|
344
344
|
n,
|
|
345
|
-
...
|
|
345
|
+
...z(t) ? t : x(t) ? Object.keys(t) : L(t) ? [t] : [n]
|
|
346
346
|
])];
|
|
347
347
|
}
|
|
348
|
-
function
|
|
349
|
-
const o = L(n) ? n :
|
|
348
|
+
function Kn(e, t, n) {
|
|
349
|
+
const o = L(n) ? n : $t, s = e;
|
|
350
350
|
s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
|
|
351
351
|
let a = s.__localeChainCache.get(o);
|
|
352
352
|
if (!a) {
|
|
353
353
|
a = [];
|
|
354
354
|
let r = [n];
|
|
355
|
-
for (;
|
|
355
|
+
for (; z(r); )
|
|
356
356
|
r = Yt(a, r, t);
|
|
357
|
-
const l =
|
|
358
|
-
r = L(l) ? [l] : l,
|
|
357
|
+
const l = z(t) || !M(t) ? t : t.default ? t.default : null;
|
|
358
|
+
r = L(l) ? [l] : l, z(r) && Yt(a, r, !1), s.__localeChainCache.set(o, a);
|
|
359
359
|
}
|
|
360
360
|
return a;
|
|
361
361
|
}
|
|
@@ -363,89 +363,89 @@ function Yt(e, t, n) {
|
|
|
363
363
|
let o = !0;
|
|
364
364
|
for (let s = 0; s < t.length && G(o); s++) {
|
|
365
365
|
const a = t[s];
|
|
366
|
-
L(a) && (o =
|
|
366
|
+
L(a) && (o = Ms(e, t[s], n));
|
|
367
367
|
}
|
|
368
368
|
return o;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Ms(e, t, n) {
|
|
371
371
|
let o;
|
|
372
372
|
const s = t.split("-");
|
|
373
373
|
do {
|
|
374
374
|
const a = s.join("-");
|
|
375
|
-
o =
|
|
375
|
+
o = ks(e, a, n), s.splice(-1, 1);
|
|
376
376
|
} while (s.length && o === !0);
|
|
377
377
|
return o;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function ks(e, t, n) {
|
|
380
380
|
let o = !1;
|
|
381
381
|
if (!e.includes(t) && (o = !0, t)) {
|
|
382
382
|
o = t[t.length - 1] !== "!";
|
|
383
383
|
const s = t.replace(/!/g, "");
|
|
384
|
-
e.push(s), (
|
|
384
|
+
e.push(s), (z(n) || M(n)) && n[s] && (o = n[s]);
|
|
385
385
|
}
|
|
386
386
|
return o;
|
|
387
387
|
}
|
|
388
|
-
const
|
|
389
|
-
function
|
|
388
|
+
const Rs = "9.2.2", rt = -1, $t = "en-US", tt = "", Xt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
389
|
+
function xs() {
|
|
390
390
|
return {
|
|
391
|
-
upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" &&
|
|
392
|
-
lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" &&
|
|
393
|
-
capitalize: (e, t) => t === "text" && L(e) ?
|
|
391
|
+
upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
392
|
+
lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
393
|
+
capitalize: (e, t) => t === "text" && L(e) ? Xt(e) : t === "vnode" && x(e) && "__v_isVNode" in e ? Xt(e.children) : e
|
|
394
394
|
};
|
|
395
395
|
}
|
|
396
|
-
let
|
|
397
|
-
function
|
|
398
|
-
Bn = e;
|
|
399
|
-
}
|
|
400
|
-
let Yn;
|
|
401
|
-
function Rs(e) {
|
|
396
|
+
let Fs, Yn;
|
|
397
|
+
function Vs(e) {
|
|
402
398
|
Yn = e;
|
|
403
399
|
}
|
|
404
|
-
let
|
|
405
|
-
|
|
406
|
-
Kn = e;
|
|
407
|
-
}, Fs = () => Kn;
|
|
408
|
-
let Xn = null;
|
|
409
|
-
const Jt = (e) => {
|
|
400
|
+
let Xn;
|
|
401
|
+
function Us(e) {
|
|
410
402
|
Xn = e;
|
|
411
|
-
}
|
|
412
|
-
let
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
403
|
+
}
|
|
404
|
+
let Jn = null;
|
|
405
|
+
const Jt = (e) => {
|
|
406
|
+
Jn = e;
|
|
407
|
+
}, Gs = () => Jn;
|
|
408
|
+
let Qn = null;
|
|
409
|
+
const Qt = (e) => {
|
|
410
|
+
Qn = e;
|
|
411
|
+
}, zs = () => Qn;
|
|
412
|
+
let qt = 0;
|
|
413
|
+
function Hs(e = {}) {
|
|
414
|
+
const t = L(e.version) ? e.version : Rs, n = L(e.locale) ? e.locale : $t, o = z(e.fallbackLocale) || M(e.fallbackLocale) || L(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = M(e.messages) ? e.messages : { [n]: {} }, a = M(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, r = M(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = ne({}, e.modifiers || {}, xs()), i = e.pluralRules || {}, c = W(e.missing) ? e.missing : null, m = G(e.missingWarn) || et(e.missingWarn) ? e.missingWarn : !0, f = G(e.fallbackWarn) || et(e.fallbackWarn) ? e.fallbackWarn : !0, u = !!e.fallbackFormat, d = !!e.unresolving, p = W(e.postTranslation) ? e.postTranslation : null, v = M(e.processor) ? e.processor : null, y = G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter, w = W(e.messageCompiler) ? e.messageCompiler : Fs, S = W(e.messageResolver) ? e.messageResolver : Yn || vs, T = W(e.localeFallbacker) ? e.localeFallbacker : Xn || $s, E = x(e.fallbackContext) ? e.fallbackContext : void 0, P = W(e.onWarn) ? e.onWarn : Ve, $ = e, D = x($.__datetimeFormatters) ? $.__datetimeFormatters : /* @__PURE__ */ new Map(), X = x($.__numberFormatters) ? $.__numberFormatters : /* @__PURE__ */ new Map(), q = x($.__meta) ? $.__meta : {};
|
|
415
|
+
qt++;
|
|
416
416
|
const Z = {
|
|
417
417
|
version: t,
|
|
418
|
-
cid:
|
|
418
|
+
cid: qt,
|
|
419
419
|
locale: n,
|
|
420
420
|
fallbackLocale: o,
|
|
421
421
|
messages: s,
|
|
422
422
|
modifiers: l,
|
|
423
423
|
pluralRules: i,
|
|
424
424
|
missing: c,
|
|
425
|
-
missingWarn:
|
|
425
|
+
missingWarn: m,
|
|
426
426
|
fallbackWarn: f,
|
|
427
427
|
fallbackFormat: u,
|
|
428
428
|
unresolving: d,
|
|
429
|
-
postTranslation:
|
|
429
|
+
postTranslation: p,
|
|
430
430
|
processor: v,
|
|
431
431
|
warnHtmlMessage: y,
|
|
432
|
-
escapeParameter:
|
|
433
|
-
messageCompiler:
|
|
434
|
-
messageResolver:
|
|
435
|
-
localeFallbacker:
|
|
436
|
-
fallbackContext:
|
|
432
|
+
escapeParameter: g,
|
|
433
|
+
messageCompiler: w,
|
|
434
|
+
messageResolver: S,
|
|
435
|
+
localeFallbacker: T,
|
|
436
|
+
fallbackContext: E,
|
|
437
437
|
onWarn: P,
|
|
438
438
|
__meta: q
|
|
439
439
|
};
|
|
440
|
-
return Z.datetimeFormats = a, Z.numberFormats = r, Z.__datetimeFormatters = D, Z.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Z.__v_emitter = $.__v_emitter != null ? $.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
440
|
+
return Z.datetimeFormats = a, Z.numberFormats = r, Z.__datetimeFormatters = D, Z.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Z.__v_emitter = $.__v_emitter != null ? $.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Cs(Z, t, q), Z;
|
|
441
441
|
}
|
|
442
442
|
function at(e, t) {
|
|
443
443
|
return e instanceof RegExp ? e.test(t) : e;
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function qn(e, t) {
|
|
446
446
|
return e instanceof RegExp ? e.test(t) : e;
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Mt(e, t, n, o, s) {
|
|
449
449
|
const { missing: a, onWarn: r } = e;
|
|
450
450
|
if (process.env.NODE_ENV !== "production") {
|
|
451
451
|
const l = e.__v_emitter;
|
|
@@ -460,69 +460,69 @@ function $t(e, t, n, o, s) {
|
|
|
460
460
|
const l = a(e, n, t, s);
|
|
461
461
|
return L(l) ? l : t;
|
|
462
462
|
} else
|
|
463
|
-
return process.env.NODE_ENV !== "production" &&
|
|
463
|
+
return process.env.NODE_ENV !== "production" && qn(o, t) && r(Re(ae.NOT_FOUND_KEY, { key: t, locale: n })), t;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function Ge(e, t, n) {
|
|
466
466
|
const o = e;
|
|
467
467
|
o.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
468
468
|
}
|
|
469
|
-
let
|
|
470
|
-
const ft = () => ++
|
|
471
|
-
INVALID_ARGUMENT:
|
|
469
|
+
let Zn = J.__EXTEND_POINT__;
|
|
470
|
+
const ft = () => ++Zn, ye = {
|
|
471
|
+
INVALID_ARGUMENT: Zn,
|
|
472
472
|
INVALID_DATE_ARGUMENT: ft(),
|
|
473
473
|
INVALID_ISO_DATE_ARGUMENT: ft(),
|
|
474
474
|
__EXTEND_POINT__: ft()
|
|
475
475
|
};
|
|
476
|
-
function
|
|
477
|
-
return
|
|
476
|
+
function $e(e) {
|
|
477
|
+
return Wn(e, null, process.env.NODE_ENV !== "production" ? { messages: js } : void 0);
|
|
478
478
|
}
|
|
479
|
-
const
|
|
479
|
+
const js = {
|
|
480
480
|
[ye.INVALID_ARGUMENT]: "Invalid arguments",
|
|
481
481
|
[ye.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
482
482
|
[ye.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
|
|
483
|
-
},
|
|
484
|
-
function
|
|
485
|
-
const { fallbackFormat: n, postTranslation: o, unresolving: s, messageCompiler: a, fallbackLocale: r, messages: l } = e, [i, c] = pt(...t),
|
|
486
|
-
u &&
|
|
487
|
-
let [
|
|
483
|
+
}, Zt = () => "", me = (e) => W(e);
|
|
484
|
+
function en(e, ...t) {
|
|
485
|
+
const { fallbackFormat: n, postTranslation: o, unresolving: s, messageCompiler: a, fallbackLocale: r, messages: l } = e, [i, c] = pt(...t), m = G(c.missingWarn) ? c.missingWarn : e.missingWarn, f = G(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, u = G(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, d = !!c.resolvedMessage, p = L(c.default) || G(c.default) ? G(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", v = n || p !== "", y = L(c.locale) ? c.locale : e.locale;
|
|
486
|
+
u && Ws(c);
|
|
487
|
+
let [g, w, S] = d ? [
|
|
488
488
|
i,
|
|
489
489
|
y,
|
|
490
490
|
l[y] || {}
|
|
491
|
-
] :
|
|
492
|
-
if (!d && !(L(
|
|
491
|
+
] : eo(e, i, y, r, f, m), T = g, E = i;
|
|
492
|
+
if (!d && !(L(T) || me(T)) && v && (T = p, E = T), !d && (!(L(T) || me(T)) || !L(w)))
|
|
493
493
|
return s ? rt : i;
|
|
494
|
-
if (process.env.NODE_ENV !== "production" && L(
|
|
495
|
-
return
|
|
494
|
+
if (process.env.NODE_ENV !== "production" && L(T) && e.messageCompiler == null)
|
|
495
|
+
return Ve(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
|
|
496
496
|
let P = !1;
|
|
497
497
|
const $ = () => {
|
|
498
498
|
P = !0;
|
|
499
|
-
}, D = me(
|
|
499
|
+
}, D = me(T) ? T : to(e, i, w, T, E, $);
|
|
500
500
|
if (P)
|
|
501
|
-
return
|
|
502
|
-
const X =
|
|
501
|
+
return T;
|
|
502
|
+
const X = Ys(e, w, S, c), q = Ns(X), Z = Bs(e, D, q), O = o ? o(Z, i) : Z;
|
|
503
503
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
504
504
|
const C = {
|
|
505
505
|
timestamp: Date.now(),
|
|
506
|
-
key: L(i) ? i : me(
|
|
507
|
-
locale:
|
|
508
|
-
format: L(
|
|
506
|
+
key: L(i) ? i : me(T) ? T.key : "",
|
|
507
|
+
locale: w || (me(T) ? T.locale : ""),
|
|
508
|
+
format: L(T) ? T : me(T) ? T.source : "",
|
|
509
509
|
message: O
|
|
510
510
|
};
|
|
511
|
-
C.meta = ne({}, e.__meta,
|
|
511
|
+
C.meta = ne({}, e.__meta, Gs() || {}), As(C);
|
|
512
512
|
}
|
|
513
513
|
return O;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
516
|
-
|
|
515
|
+
function Ws(e) {
|
|
516
|
+
z(e.list) ? e.list = e.list.map((t) => L(t) ? jt(t) : t) : x(e.named) && Object.keys(e.named).forEach((t) => {
|
|
517
517
|
L(e.named[t]) && (e.named[t] = jt(e.named[t]));
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
const { messages: r, onWarn: l, messageResolver: i, localeFallbacker: c } = e,
|
|
522
|
-
let f = {}, u, d = null,
|
|
520
|
+
function eo(e, t, n, o, s, a) {
|
|
521
|
+
const { messages: r, onWarn: l, messageResolver: i, localeFallbacker: c } = e, m = c(e, o, n);
|
|
522
|
+
let f = {}, u, d = null, p = n, v = null;
|
|
523
523
|
const y = "translate";
|
|
524
|
-
for (let
|
|
525
|
-
if (u = v =
|
|
524
|
+
for (let g = 0; g < m.length; g++) {
|
|
525
|
+
if (u = v = m[g], process.env.NODE_ENV !== "production" && n !== u && at(s, t) && l(Re(ae.FALLBACK_TO_TRANSLATE, {
|
|
526
526
|
key: t,
|
|
527
527
|
target: u
|
|
528
528
|
})), process.env.NODE_ENV !== "production" && n !== u) {
|
|
@@ -530,37 +530,37 @@ function qn(e, t, n, o, s, a) {
|
|
|
530
530
|
P && P.emit("fallback", {
|
|
531
531
|
type: y,
|
|
532
532
|
key: t,
|
|
533
|
-
from:
|
|
533
|
+
from: p,
|
|
534
534
|
to: v,
|
|
535
535
|
groupId: `${y}:${t}`
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
538
|
f = r[u] || {};
|
|
539
|
-
let
|
|
540
|
-
if (process.env.NODE_ENV !== "production" && ge && (
|
|
539
|
+
let w = null, S, T;
|
|
540
|
+
if (process.env.NODE_ENV !== "production" && ge && (w = window.performance.now(), S = "intlify-message-resolve-start", T = "intlify-message-resolve-end", ie && ie(S)), (d = i(f, t)) === null && (d = f[t]), process.env.NODE_ENV !== "production" && ge) {
|
|
541
541
|
const P = window.performance.now(), $ = e.__v_emitter;
|
|
542
|
-
$ &&
|
|
542
|
+
$ && w && d && $.emit("message-resolve", {
|
|
543
543
|
type: "message-resolve",
|
|
544
544
|
key: t,
|
|
545
545
|
message: d,
|
|
546
|
-
time: P -
|
|
546
|
+
time: P - w,
|
|
547
547
|
groupId: `${y}:${t}`
|
|
548
|
-
}),
|
|
548
|
+
}), S && T && ie && Ie && (ie(T), Ie("intlify message resolve", S, T));
|
|
549
549
|
}
|
|
550
550
|
if (L(d) || W(d))
|
|
551
551
|
break;
|
|
552
|
-
const
|
|
552
|
+
const E = Mt(
|
|
553
553
|
e,
|
|
554
554
|
t,
|
|
555
555
|
u,
|
|
556
556
|
a,
|
|
557
557
|
y
|
|
558
558
|
);
|
|
559
|
-
|
|
559
|
+
E !== t && (d = E), p = v;
|
|
560
560
|
}
|
|
561
561
|
return [d, u, f];
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function to(e, t, n, o, s, a) {
|
|
564
564
|
const { messageCompiler: r, warnHtmlMessage: l } = e;
|
|
565
565
|
if (me(o)) {
|
|
566
566
|
const u = o;
|
|
@@ -570,9 +570,9 @@ function Zn(e, t, n, o, s, a) {
|
|
|
570
570
|
const u = () => o;
|
|
571
571
|
return u.locale = n, u.key = t, u;
|
|
572
572
|
}
|
|
573
|
-
let i = null, c,
|
|
574
|
-
process.env.NODE_ENV !== "production" && ge && (i = window.performance.now(), c = "intlify-message-compilation-start",
|
|
575
|
-
const f = r(o,
|
|
573
|
+
let i = null, c, m;
|
|
574
|
+
process.env.NODE_ENV !== "production" && ge && (i = window.performance.now(), c = "intlify-message-compilation-start", m = "intlify-message-compilation-end", ie && ie(c));
|
|
575
|
+
const f = r(o, Ks(e, n, s, o, l, a));
|
|
576
576
|
if (process.env.NODE_ENV !== "production" && ge) {
|
|
577
577
|
const u = window.performance.now(), d = e.__v_emitter;
|
|
578
578
|
d && i && d.emit("message-compilation", {
|
|
@@ -580,11 +580,11 @@ function Zn(e, t, n, o, s, a) {
|
|
|
580
580
|
message: o,
|
|
581
581
|
time: u - i,
|
|
582
582
|
groupId: `translate:${t}`
|
|
583
|
-
}), c &&
|
|
583
|
+
}), c && m && ie && Ie && (ie(m), Ie("intlify message compilation", c, m));
|
|
584
584
|
}
|
|
585
585
|
return f.locale = n, f.key = t, f.source = o, f;
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function Bs(e, t, n) {
|
|
588
588
|
let o = null, s, a;
|
|
589
589
|
process.env.NODE_ENV !== "production" && ge && (o = window.performance.now(), s = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", ie && ie(s));
|
|
590
590
|
const r = t(n);
|
|
@@ -595,23 +595,23 @@ function Hs(e, t, n) {
|
|
|
595
595
|
value: r,
|
|
596
596
|
time: l - o,
|
|
597
597
|
groupId: `translate:${t.key}`
|
|
598
|
-
}), s && a && ie &&
|
|
598
|
+
}), s && a && ie && Ie && (ie(a), Ie("intlify message evaluation", s, a));
|
|
599
599
|
}
|
|
600
600
|
return r;
|
|
601
601
|
}
|
|
602
602
|
function pt(...e) {
|
|
603
603
|
const [t, n, o] = e, s = {};
|
|
604
|
-
if (!L(t) && !
|
|
605
|
-
throw
|
|
606
|
-
const a =
|
|
607
|
-
return
|
|
604
|
+
if (!L(t) && !K(t) && !me(t))
|
|
605
|
+
throw $e(ye.INVALID_ARGUMENT);
|
|
606
|
+
const a = K(t) ? String(t) : (me(t), t);
|
|
607
|
+
return K(n) ? s.plural = n : L(n) ? s.default = n : M(n) && !st(n) ? s.named = n : z(n) && (s.list = n), K(o) ? s.plural = o : L(o) ? s.default = o : M(o) && ne(s, o), [a, s];
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function Ks(e, t, n, o, s, a) {
|
|
610
610
|
return {
|
|
611
611
|
warnHtmlMessage: s,
|
|
612
612
|
onError: (r) => {
|
|
613
613
|
if (a && a(r), process.env.NODE_ENV !== "production") {
|
|
614
|
-
const l = `Message compilation error: ${r.message}`, i = r.location &&
|
|
614
|
+
const l = `Message compilation error: ${r.message}`, i = r.location && us(o, r.location.start.offset, r.location.end.offset), c = e.__v_emitter;
|
|
615
615
|
c && c.emit("compile-error", {
|
|
616
616
|
message: o,
|
|
617
617
|
error: r.message,
|
|
@@ -623,75 +623,75 @@ ${i}` : l);
|
|
|
623
623
|
} else
|
|
624
624
|
throw r;
|
|
625
625
|
},
|
|
626
|
-
onCacheKey: (r) =>
|
|
626
|
+
onCacheKey: (r) => rs(t, n, r)
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
|
-
function
|
|
630
|
-
const { modifiers: s, pluralRules: a, messageResolver: r, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext:
|
|
629
|
+
function Ys(e, t, n, o) {
|
|
630
|
+
const { modifiers: s, pluralRules: a, messageResolver: r, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext: m } = e, u = {
|
|
631
631
|
locale: t,
|
|
632
632
|
modifiers: s,
|
|
633
633
|
pluralRules: a,
|
|
634
634
|
messages: (d) => {
|
|
635
|
-
let
|
|
636
|
-
if (
|
|
637
|
-
const [, , v] =
|
|
638
|
-
|
|
635
|
+
let p = r(n, d);
|
|
636
|
+
if (p == null && m) {
|
|
637
|
+
const [, , v] = eo(m, d, t, l, i, c);
|
|
638
|
+
p = r(v, d);
|
|
639
639
|
}
|
|
640
|
-
if (L(
|
|
640
|
+
if (L(p)) {
|
|
641
641
|
let v = !1;
|
|
642
|
-
const
|
|
642
|
+
const g = to(e, d, t, p, d, () => {
|
|
643
643
|
v = !0;
|
|
644
644
|
});
|
|
645
|
-
return v ?
|
|
645
|
+
return v ? Zt : g;
|
|
646
646
|
} else
|
|
647
|
-
return me(
|
|
647
|
+
return me(p) ? p : Zt;
|
|
648
648
|
}
|
|
649
649
|
};
|
|
650
|
-
return e.processor && (u.processor = e.processor), o.list && (u.list = o.list), o.named && (u.named = o.named),
|
|
650
|
+
return e.processor && (u.processor = e.processor), o.list && (u.list = o.list), o.named && (u.named = o.named), K(o.plural) && (u.pluralIndex = o.plural), u;
|
|
651
651
|
}
|
|
652
|
-
const
|
|
653
|
-
dateTimeFormat:
|
|
654
|
-
numberFormat:
|
|
652
|
+
const tn = typeof Intl < "u", no = {
|
|
653
|
+
dateTimeFormat: tn && typeof Intl.DateTimeFormat < "u",
|
|
654
|
+
numberFormat: tn && typeof Intl.NumberFormat < "u"
|
|
655
655
|
};
|
|
656
|
-
function
|
|
656
|
+
function nn(e, ...t) {
|
|
657
657
|
const { datetimeFormats: n, unresolving: o, fallbackLocale: s, onWarn: a, localeFallbacker: r } = e, { __datetimeFormatters: l } = e;
|
|
658
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
658
|
+
if (process.env.NODE_ENV !== "production" && !no.dateTimeFormat)
|
|
659
659
|
return a(Re(ae.CANNOT_FORMAT_DATE)), tt;
|
|
660
|
-
const [i, c,
|
|
660
|
+
const [i, c, m, f] = gt(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, p = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
|
|
661
661
|
e,
|
|
662
662
|
s,
|
|
663
663
|
v
|
|
664
664
|
);
|
|
665
665
|
if (!L(i) || i === "")
|
|
666
666
|
return new Intl.DateTimeFormat(v, f).format(c);
|
|
667
|
-
let
|
|
667
|
+
let g = {}, w, S = null, T = v, E = null;
|
|
668
668
|
const P = "datetime format";
|
|
669
669
|
for (let X = 0; X < y.length; X++) {
|
|
670
|
-
if (
|
|
670
|
+
if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && at(d, i) && a(Re(ae.FALLBACK_TO_DATE_FORMAT, {
|
|
671
671
|
key: i,
|
|
672
|
-
target:
|
|
673
|
-
})), process.env.NODE_ENV !== "production" && v !==
|
|
672
|
+
target: w
|
|
673
|
+
})), process.env.NODE_ENV !== "production" && v !== w) {
|
|
674
674
|
const q = e.__v_emitter;
|
|
675
675
|
q && q.emit("fallback", {
|
|
676
676
|
type: P,
|
|
677
677
|
key: i,
|
|
678
|
-
from:
|
|
679
|
-
to:
|
|
678
|
+
from: T,
|
|
679
|
+
to: E,
|
|
680
680
|
groupId: `${P}:${i}`
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
|
-
if (
|
|
683
|
+
if (g = n[w] || {}, S = g[i], M(S))
|
|
684
684
|
break;
|
|
685
|
-
|
|
685
|
+
Mt(e, i, w, u, P), T = E;
|
|
686
686
|
}
|
|
687
|
-
if (!
|
|
687
|
+
if (!M(S) || !L(w))
|
|
688
688
|
return o ? rt : i;
|
|
689
|
-
let $ = `${
|
|
689
|
+
let $ = `${w}__${i}`;
|
|
690
690
|
st(f) || ($ = `${$}__${JSON.stringify(f)}`);
|
|
691
691
|
let D = l.get($);
|
|
692
|
-
return D || (D = new Intl.DateTimeFormat(
|
|
692
|
+
return D || (D = new Intl.DateTimeFormat(w, ne({}, S, f)), l.set($, D)), p ? D.formatToParts(c) : D.format(c);
|
|
693
693
|
}
|
|
694
|
-
const
|
|
694
|
+
const oo = [
|
|
695
695
|
"localeMatcher",
|
|
696
696
|
"weekday",
|
|
697
697
|
"era",
|
|
@@ -719,72 +719,72 @@ function gt(...e) {
|
|
|
719
719
|
if (L(t)) {
|
|
720
720
|
const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
721
721
|
if (!i)
|
|
722
|
-
throw
|
|
722
|
+
throw $e(ye.INVALID_ISO_DATE_ARGUMENT);
|
|
723
723
|
const c = i[3] ? i[3].trim().startsWith("T") ? `${i[1].trim()}${i[3].trim()}` : `${i[1].trim()}T${i[3].trim()}` : i[1].trim();
|
|
724
724
|
l = new Date(c);
|
|
725
725
|
try {
|
|
726
726
|
l.toISOString();
|
|
727
727
|
} catch {
|
|
728
|
-
throw
|
|
728
|
+
throw $e(ye.INVALID_ISO_DATE_ARGUMENT);
|
|
729
729
|
}
|
|
730
|
-
} else if (
|
|
730
|
+
} else if (ls(t)) {
|
|
731
731
|
if (isNaN(t.getTime()))
|
|
732
|
-
throw
|
|
732
|
+
throw $e(ye.INVALID_DATE_ARGUMENT);
|
|
733
733
|
l = t;
|
|
734
|
-
} else if (
|
|
734
|
+
} else if (K(t))
|
|
735
735
|
l = t;
|
|
736
736
|
else
|
|
737
|
-
throw
|
|
738
|
-
return L(n) ? a.key = n :
|
|
739
|
-
|
|
740
|
-
}), L(o) ? a.locale = o :
|
|
737
|
+
throw $e(ye.INVALID_ARGUMENT);
|
|
738
|
+
return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
|
|
739
|
+
oo.includes(i) ? r[i] = n[i] : a[i] = n[i];
|
|
740
|
+
}), L(o) ? a.locale = o : M(o) && (r = o), M(s) && (r = s), [a.key || "", l, a, r];
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function on(e, t, n) {
|
|
743
743
|
const o = e;
|
|
744
744
|
for (const s in n) {
|
|
745
745
|
const a = `${t}__${s}`;
|
|
746
746
|
!o.__datetimeFormatters.has(a) || o.__datetimeFormatters.delete(a);
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
|
-
function
|
|
749
|
+
function sn(e, ...t) {
|
|
750
750
|
const { numberFormats: n, unresolving: o, fallbackLocale: s, onWarn: a, localeFallbacker: r } = e, { __numberFormatters: l } = e;
|
|
751
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
751
|
+
if (process.env.NODE_ENV !== "production" && !no.numberFormat)
|
|
752
752
|
return a(Re(ae.CANNOT_FORMAT_NUMBER)), tt;
|
|
753
|
-
const [i, c,
|
|
753
|
+
const [i, c, m, f] = ht(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, p = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
|
|
754
754
|
e,
|
|
755
755
|
s,
|
|
756
756
|
v
|
|
757
757
|
);
|
|
758
758
|
if (!L(i) || i === "")
|
|
759
759
|
return new Intl.NumberFormat(v, f).format(c);
|
|
760
|
-
let
|
|
760
|
+
let g = {}, w, S = null, T = v, E = null;
|
|
761
761
|
const P = "number format";
|
|
762
762
|
for (let X = 0; X < y.length; X++) {
|
|
763
|
-
if (
|
|
763
|
+
if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && at(d, i) && a(Re(ae.FALLBACK_TO_NUMBER_FORMAT, {
|
|
764
764
|
key: i,
|
|
765
|
-
target:
|
|
766
|
-
})), process.env.NODE_ENV !== "production" && v !==
|
|
765
|
+
target: w
|
|
766
|
+
})), process.env.NODE_ENV !== "production" && v !== w) {
|
|
767
767
|
const q = e.__v_emitter;
|
|
768
768
|
q && q.emit("fallback", {
|
|
769
769
|
type: P,
|
|
770
770
|
key: i,
|
|
771
|
-
from:
|
|
772
|
-
to:
|
|
771
|
+
from: T,
|
|
772
|
+
to: E,
|
|
773
773
|
groupId: `${P}:${i}`
|
|
774
774
|
});
|
|
775
775
|
}
|
|
776
|
-
if (
|
|
776
|
+
if (g = n[w] || {}, S = g[i], M(S))
|
|
777
777
|
break;
|
|
778
|
-
|
|
778
|
+
Mt(e, i, w, u, P), T = E;
|
|
779
779
|
}
|
|
780
|
-
if (!
|
|
780
|
+
if (!M(S) || !L(w))
|
|
781
781
|
return o ? rt : i;
|
|
782
|
-
let $ = `${
|
|
782
|
+
let $ = `${w}__${i}`;
|
|
783
783
|
st(f) || ($ = `${$}__${JSON.stringify(f)}`);
|
|
784
784
|
let D = l.get($);
|
|
785
|
-
return D || (D = new Intl.NumberFormat(
|
|
785
|
+
return D || (D = new Intl.NumberFormat(w, ne({}, S, f)), l.set($, D)), p ? D.formatToParts(c) : D.format(c);
|
|
786
786
|
}
|
|
787
|
-
const
|
|
787
|
+
const so = [
|
|
788
788
|
"localeMatcher",
|
|
789
789
|
"style",
|
|
790
790
|
"currency",
|
|
@@ -809,37 +809,37 @@ const no = [
|
|
|
809
809
|
function ht(...e) {
|
|
810
810
|
const [t, n, o, s] = e, a = {};
|
|
811
811
|
let r = {};
|
|
812
|
-
if (!
|
|
813
|
-
throw
|
|
812
|
+
if (!K(t))
|
|
813
|
+
throw $e(ye.INVALID_ARGUMENT);
|
|
814
814
|
const l = t;
|
|
815
|
-
return L(n) ? a.key = n :
|
|
816
|
-
|
|
817
|
-
}), L(o) ? a.locale = o :
|
|
815
|
+
return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
|
|
816
|
+
so.includes(i) ? r[i] = n[i] : a[i] = n[i];
|
|
817
|
+
}), L(o) ? a.locale = o : M(o) && (r = o), M(s) && (r = s), [a.key || "", l, a, r];
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function rn(e, t, n) {
|
|
820
820
|
const o = e;
|
|
821
821
|
for (const s in n) {
|
|
822
822
|
const a = `${t}__${s}`;
|
|
823
823
|
!o.__numberFormatters.has(a) || o.__numberFormatters.delete(a);
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
827
|
-
function
|
|
828
|
-
return
|
|
826
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (At().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
827
|
+
function Xs() {
|
|
828
|
+
return ro().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function ro() {
|
|
831
831
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof global < "u" ? global : {};
|
|
832
832
|
}
|
|
833
|
-
const
|
|
834
|
-
let
|
|
835
|
-
function
|
|
833
|
+
const Js = typeof Proxy == "function", Qs = "devtools-plugin:setup", qs = "plugin:settings:set";
|
|
834
|
+
let De, vt;
|
|
835
|
+
function Zs() {
|
|
836
836
|
var e;
|
|
837
|
-
return
|
|
837
|
+
return De !== void 0 || (typeof window < "u" && window.performance ? (De = !0, vt = window.performance) : typeof global < "u" && ((e = global.perf_hooks) === null || e === void 0 ? void 0 : e.performance) ? (De = !0, vt = global.perf_hooks.performance) : De = !1), De;
|
|
838
838
|
}
|
|
839
|
-
function
|
|
840
|
-
return
|
|
839
|
+
function er() {
|
|
840
|
+
return Zs() ? vt.now() : Date.now();
|
|
841
841
|
}
|
|
842
|
-
class
|
|
842
|
+
class tr {
|
|
843
843
|
constructor(t, n) {
|
|
844
844
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
|
|
845
845
|
const o = {};
|
|
@@ -867,9 +867,9 @@ class Qs {
|
|
|
867
867
|
a = r;
|
|
868
868
|
},
|
|
869
869
|
now() {
|
|
870
|
-
return
|
|
870
|
+
return er();
|
|
871
871
|
}
|
|
872
|
-
}, n && n.on(
|
|
872
|
+
}, n && n.on(qs, (r, l) => {
|
|
873
873
|
r === this.plugin.id && this.fallbacks.setSettings(l);
|
|
874
874
|
}), this.proxiedOn = new Proxy({}, {
|
|
875
875
|
get: (r, l) => this.target ? this.target.on[l] : (...i) => {
|
|
@@ -901,12 +901,12 @@ class Qs {
|
|
|
901
901
|
n.resolve(await this.target[n.method](...n.args));
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
|
-
function
|
|
905
|
-
const n = e, o =
|
|
904
|
+
function nr(e, t) {
|
|
905
|
+
const n = e, o = ro(), s = Xs(), a = Js && n.enableEarlyProxy;
|
|
906
906
|
if (s && (o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
907
|
-
s.emit(
|
|
907
|
+
s.emit(Qs, e, t);
|
|
908
908
|
else {
|
|
909
|
-
const r = a ? new
|
|
909
|
+
const r = a ? new tr(n, s) : null;
|
|
910
910
|
(o.__VUE_DEVTOOLS_PLUGINS__ = o.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
911
911
|
pluginDescriptor: n,
|
|
912
912
|
setupFn: t,
|
|
@@ -923,9 +923,9 @@ const _t = {
|
|
|
923
923
|
["vue-devtools-plugin-vue-i18n"]: "Vue I18n devtools",
|
|
924
924
|
["vue-i18n-resource-inspector"]: "I18n Resources",
|
|
925
925
|
["vue-i18n-timeline"]: "Vue I18n"
|
|
926
|
-
},
|
|
926
|
+
}, or = {
|
|
927
927
|
["vue-i18n-resource-inspector"]: "Search for scopes ..."
|
|
928
|
-
},
|
|
928
|
+
}, sr = {
|
|
929
929
|
["vue-i18n-timeline"]: 16764185
|
|
930
930
|
};
|
|
931
931
|
/*!
|
|
@@ -933,21 +933,21 @@ const _t = {
|
|
|
933
933
|
* (c) 2022 kazuya kawaguchi
|
|
934
934
|
* Released under the MIT License.
|
|
935
935
|
*/
|
|
936
|
-
const
|
|
937
|
-
function
|
|
936
|
+
const rr = "9.2.2";
|
|
937
|
+
function ar() {
|
|
938
938
|
let e = !1;
|
|
939
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
940
|
-
}
|
|
941
|
-
let
|
|
942
|
-
const
|
|
943
|
-
FALLBACK_TO_ROOT:
|
|
944
|
-
NOT_SUPPORTED_PRESERVE:
|
|
945
|
-
NOT_SUPPORTED_FORMATTER:
|
|
946
|
-
NOT_SUPPORTED_PRESERVE_DIRECTIVE:
|
|
947
|
-
NOT_SUPPORTED_GET_CHOICE_INDEX:
|
|
948
|
-
COMPONENT_NAME_LEGACY_COMPATIBLE:
|
|
949
|
-
NOT_FOUND_PARENT_SCOPE:
|
|
950
|
-
},
|
|
939
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (At().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && e && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
|
|
940
|
+
}
|
|
941
|
+
let ao = ae.__EXTEND_POINT__;
|
|
942
|
+
const Pe = () => ++ao, de = {
|
|
943
|
+
FALLBACK_TO_ROOT: ao,
|
|
944
|
+
NOT_SUPPORTED_PRESERVE: Pe(),
|
|
945
|
+
NOT_SUPPORTED_FORMATTER: Pe(),
|
|
946
|
+
NOT_SUPPORTED_PRESERVE_DIRECTIVE: Pe(),
|
|
947
|
+
NOT_SUPPORTED_GET_CHOICE_INDEX: Pe(),
|
|
948
|
+
COMPONENT_NAME_LEGACY_COMPATIBLE: Pe(),
|
|
949
|
+
NOT_FOUND_PARENT_SCOPE: Pe()
|
|
950
|
+
}, lr = {
|
|
951
951
|
[de.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
952
952
|
[de.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
|
|
953
953
|
[de.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
|
|
@@ -957,11 +957,11 @@ const $e = () => ++so, de = {
|
|
|
957
957
|
[de.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
|
|
958
958
|
};
|
|
959
959
|
function lt(e, ...t) {
|
|
960
|
-
return
|
|
960
|
+
return Ct(lr[e], ...t);
|
|
961
961
|
}
|
|
962
|
-
let
|
|
963
|
-
const re = () => ++
|
|
964
|
-
UNEXPECTED_RETURN_TYPE:
|
|
962
|
+
let lo = J.__EXTEND_POINT__;
|
|
963
|
+
const re = () => ++lo, F = {
|
|
964
|
+
UNEXPECTED_RETURN_TYPE: lo,
|
|
965
965
|
INVALID_ARGUMENT: re(),
|
|
966
966
|
MUST_BE_CALL_SETUP_TOP: re(),
|
|
967
967
|
NOT_INSLALLED: re(),
|
|
@@ -978,45 +978,45 @@ const re = () => ++ro, x = {
|
|
|
978
978
|
__EXTEND_POINT__: re()
|
|
979
979
|
};
|
|
980
980
|
function ce(e, ...t) {
|
|
981
|
-
return
|
|
982
|
-
}
|
|
983
|
-
const
|
|
984
|
-
[
|
|
985
|
-
[
|
|
986
|
-
[
|
|
987
|
-
[
|
|
988
|
-
[
|
|
989
|
-
[
|
|
990
|
-
[
|
|
991
|
-
[
|
|
992
|
-
[
|
|
993
|
-
[
|
|
994
|
-
[
|
|
995
|
-
[
|
|
996
|
-
[
|
|
997
|
-
[
|
|
998
|
-
}, yt = /* @__PURE__ */ he("__transrateVNode"), Et = /* @__PURE__ */ he("__datetimeParts"),
|
|
981
|
+
return Wn(e, null, process.env.NODE_ENV !== "production" ? { messages: ir, args: t } : void 0);
|
|
982
|
+
}
|
|
983
|
+
const ir = {
|
|
984
|
+
[F.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
985
|
+
[F.INVALID_ARGUMENT]: "Invalid argument",
|
|
986
|
+
[F.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
987
|
+
[F.NOT_INSLALLED]: "Need to install with `app.use` function",
|
|
988
|
+
[F.UNEXPECTED_ERROR]: "Unexpected error",
|
|
989
|
+
[F.NOT_AVAILABLE_IN_LEGACY_MODE]: "Not available in legacy mode",
|
|
990
|
+
[F.REQUIRED_VALUE]: "Required in value: {0}",
|
|
991
|
+
[F.INVALID_VALUE]: "Invalid value",
|
|
992
|
+
[F.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
|
|
993
|
+
[F.NOT_INSLALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
994
|
+
[F.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
995
|
+
[F.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
|
|
996
|
+
[F.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",
|
|
997
|
+
[F.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
998
|
+
}, yt = /* @__PURE__ */ he("__transrateVNode"), Et = /* @__PURE__ */ he("__datetimeParts"), wt = /* @__PURE__ */ he("__numberParts"), Ke = /* @__PURE__ */ he("__enableEmitter"), bt = /* @__PURE__ */ he("__disableEmitter"), cr = he("__setPluralRules");
|
|
999
999
|
he("__intlifyMeta");
|
|
1000
|
-
const
|
|
1000
|
+
const ur = /* @__PURE__ */ he("__injectWithOption");
|
|
1001
1001
|
function Lt(e) {
|
|
1002
|
-
if (!
|
|
1002
|
+
if (!x(e))
|
|
1003
1003
|
return e;
|
|
1004
1004
|
for (const t in e)
|
|
1005
|
-
if (!!
|
|
1005
|
+
if (!!Dt(e, t))
|
|
1006
1006
|
if (!t.includes("."))
|
|
1007
|
-
|
|
1007
|
+
x(e[t]) && Lt(e[t]);
|
|
1008
1008
|
else {
|
|
1009
1009
|
const n = t.split("."), o = n.length - 1;
|
|
1010
1010
|
let s = e;
|
|
1011
1011
|
for (let a = 0; a < o; a++)
|
|
1012
1012
|
n[a] in s || (s[n[a]] = {}), s = s[n[a]];
|
|
1013
|
-
s[n[o]] = e[t], delete e[t],
|
|
1013
|
+
s[n[o]] = e[t], delete e[t], x(s[n[o]]) && Lt(s[n[o]]);
|
|
1014
1014
|
}
|
|
1015
1015
|
return e;
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1018
|
-
const { messages: n, __i18n: o, messageResolver: s, flatJson: a } = t, r =
|
|
1019
|
-
if (
|
|
1017
|
+
function io(e, t) {
|
|
1018
|
+
const { messages: n, __i18n: o, messageResolver: s, flatJson: a } = t, r = M(n) ? n : z(o) ? {} : { [e]: {} };
|
|
1019
|
+
if (z(o) && o.forEach((l) => {
|
|
1020
1020
|
if ("locale" in l && "resource" in l) {
|
|
1021
1021
|
const { locale: i, resource: c } = l;
|
|
1022
1022
|
i ? (r[i] = r[i] || {}, je(c, r[i])) : je(c, r);
|
|
@@ -1024,22 +1024,22 @@ function ao(e, t) {
|
|
|
1024
1024
|
L(l) && je(JSON.parse(l), r);
|
|
1025
1025
|
}), s == null && a)
|
|
1026
1026
|
for (const l in r)
|
|
1027
|
-
|
|
1027
|
+
Dt(r, l) && Lt(r[l]);
|
|
1028
1028
|
return r;
|
|
1029
1029
|
}
|
|
1030
|
-
const
|
|
1030
|
+
const Je = (e) => !x(e) || z(e);
|
|
1031
1031
|
function je(e, t) {
|
|
1032
|
-
if (
|
|
1033
|
-
throw ce(
|
|
1032
|
+
if (Je(e) || Je(t))
|
|
1033
|
+
throw ce(F.INVALID_VALUE);
|
|
1034
1034
|
for (const n in e)
|
|
1035
|
-
|
|
1035
|
+
Dt(e, n) && (Je(e[n]) || Je(t[n]) ? t[n] = e[n] : je(e[n], t[n]));
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function co(e) {
|
|
1038
1038
|
return e.type;
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1041
|
-
let o =
|
|
1042
|
-
"__i18nGlobal" in n && (o =
|
|
1040
|
+
function dr(e, t, n) {
|
|
1041
|
+
let o = x(t.messages) ? t.messages : {};
|
|
1042
|
+
"__i18nGlobal" in n && (o = io(e.locale.value, {
|
|
1043
1043
|
messages: o,
|
|
1044
1044
|
__i18n: n.__i18nGlobal
|
|
1045
1045
|
}));
|
|
@@ -1048,13 +1048,13 @@ function lr(e, t, n) {
|
|
|
1048
1048
|
e.mergeLocaleMessage(a, o[a]);
|
|
1049
1049
|
});
|
|
1050
1050
|
{
|
|
1051
|
-
if (
|
|
1051
|
+
if (x(t.datetimeFormats)) {
|
|
1052
1052
|
const a = Object.keys(t.datetimeFormats);
|
|
1053
1053
|
a.length && a.forEach((r) => {
|
|
1054
1054
|
e.mergeDateTimeFormat(r, t.datetimeFormats[r]);
|
|
1055
1055
|
});
|
|
1056
1056
|
}
|
|
1057
|
-
if (
|
|
1057
|
+
if (x(t.numberFormats)) {
|
|
1058
1058
|
const a = Object.keys(t.numberFormats);
|
|
1059
1059
|
a.length && a.forEach((r) => {
|
|
1060
1060
|
e.mergeNumberFormat(r, t.numberFormats[r]);
|
|
@@ -1062,54 +1062,54 @@ function lr(e, t, n) {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return
|
|
1065
|
+
function an(e) {
|
|
1066
|
+
return B(ts, null, e, 0);
|
|
1067
1067
|
}
|
|
1068
|
-
const
|
|
1069
|
-
let
|
|
1070
|
-
function
|
|
1068
|
+
const ln = "__INTLIFY_META__";
|
|
1069
|
+
let cn = 0;
|
|
1070
|
+
function un(e) {
|
|
1071
1071
|
return (t, n, o, s) => e(n, o, Nt() || void 0, s);
|
|
1072
1072
|
}
|
|
1073
|
-
const
|
|
1073
|
+
const fr = () => {
|
|
1074
1074
|
const e = Nt();
|
|
1075
1075
|
let t = null;
|
|
1076
|
-
return e && (t =
|
|
1076
|
+
return e && (t = co(e)[ln]) ? { [ln]: t } : null;
|
|
1077
1077
|
};
|
|
1078
|
-
function
|
|
1078
|
+
function uo(e = {}, t) {
|
|
1079
1079
|
const { __root: n } = e, o = n === void 0;
|
|
1080
1080
|
let s = G(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1081
|
-
const a =
|
|
1082
|
-
n && s ? n.locale.value : L(e.locale) ? e.locale :
|
|
1083
|
-
), r =
|
|
1084
|
-
n && s ? n.fallbackLocale.value : L(e.fallbackLocale) ||
|
|
1085
|
-
), l =
|
|
1086
|
-
let
|
|
1087
|
-
const
|
|
1088
|
-
let
|
|
1089
|
-
|
|
1090
|
-
o &&
|
|
1091
|
-
const
|
|
1092
|
-
version:
|
|
1081
|
+
const a = k(
|
|
1082
|
+
n && s ? n.locale.value : L(e.locale) ? e.locale : $t
|
|
1083
|
+
), r = k(
|
|
1084
|
+
n && s ? n.fallbackLocale.value : L(e.fallbackLocale) || z(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
|
|
1085
|
+
), l = k(io(a.value, e)), i = k(M(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = k(M(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
|
|
1086
|
+
let m = n ? n.missingWarn : G(e.missingWarn) || et(e.missingWarn) ? e.missingWarn : !0, f = n ? n.fallbackWarn : G(e.fallbackWarn) || et(e.fallbackWarn) ? e.fallbackWarn : !0, u = n ? n.fallbackRoot : G(e.fallbackRoot) ? e.fallbackRoot : !0, d = !!e.fallbackFormat, p = W(e.missing) ? e.missing : null, v = W(e.missing) ? un(e.missing) : null, y = W(e.postTranslation) ? e.postTranslation : null, g = n ? n.warnHtmlMessage : G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, w = !!e.escapeParameter;
|
|
1087
|
+
const S = n ? n.modifiers : M(e.modifiers) ? e.modifiers : {};
|
|
1088
|
+
let T = e.pluralRules || n && n.pluralRules, E;
|
|
1089
|
+
E = (() => {
|
|
1090
|
+
o && Qt(null);
|
|
1091
|
+
const _ = {
|
|
1092
|
+
version: rr,
|
|
1093
1093
|
locale: a.value,
|
|
1094
1094
|
fallbackLocale: r.value,
|
|
1095
1095
|
messages: l.value,
|
|
1096
|
-
modifiers:
|
|
1097
|
-
pluralRules:
|
|
1096
|
+
modifiers: S,
|
|
1097
|
+
pluralRules: T,
|
|
1098
1098
|
missing: v === null ? void 0 : v,
|
|
1099
|
-
missingWarn:
|
|
1099
|
+
missingWarn: m,
|
|
1100
1100
|
fallbackWarn: f,
|
|
1101
1101
|
fallbackFormat: d,
|
|
1102
1102
|
unresolving: !0,
|
|
1103
1103
|
postTranslation: y === null ? void 0 : y,
|
|
1104
|
-
warnHtmlMessage:
|
|
1105
|
-
escapeParameter:
|
|
1104
|
+
warnHtmlMessage: g,
|
|
1105
|
+
escapeParameter: w,
|
|
1106
1106
|
messageResolver: e.messageResolver,
|
|
1107
1107
|
__meta: { framework: "vue" }
|
|
1108
1108
|
};
|
|
1109
|
-
|
|
1110
|
-
const h =
|
|
1111
|
-
return o &&
|
|
1112
|
-
})(),
|
|
1109
|
+
_.datetimeFormats = i.value, _.numberFormats = c.value, _.__datetimeFormatters = M(E) ? E.__datetimeFormatters : void 0, _.__numberFormatters = M(E) ? E.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = M(E) ? E.__v_emitter : void 0);
|
|
1110
|
+
const h = Hs(_);
|
|
1111
|
+
return o && Qt(h), h;
|
|
1112
|
+
})(), Ge(E, a.value, r.value);
|
|
1113
1113
|
function $() {
|
|
1114
1114
|
return [
|
|
1115
1115
|
a.value,
|
|
@@ -1121,49 +1121,49 @@ function io(e = {}, t) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
const D = U({
|
|
1123
1123
|
get: () => a.value,
|
|
1124
|
-
set: (
|
|
1125
|
-
a.value =
|
|
1124
|
+
set: (_) => {
|
|
1125
|
+
a.value = _, E.locale = a.value;
|
|
1126
1126
|
}
|
|
1127
1127
|
}), X = U({
|
|
1128
1128
|
get: () => r.value,
|
|
1129
|
-
set: (
|
|
1130
|
-
r.value =
|
|
1129
|
+
set: (_) => {
|
|
1130
|
+
r.value = _, E.fallbackLocale = r.value, Ge(E, a.value, _);
|
|
1131
1131
|
}
|
|
1132
1132
|
}), q = U(() => l.value), Z = /* @__PURE__ */ U(() => i.value), O = /* @__PURE__ */ U(() => c.value);
|
|
1133
1133
|
function C() {
|
|
1134
1134
|
return W(y) ? y : null;
|
|
1135
1135
|
}
|
|
1136
|
-
function R(
|
|
1137
|
-
y =
|
|
1136
|
+
function R(_) {
|
|
1137
|
+
y = _, E.postTranslation = _;
|
|
1138
1138
|
}
|
|
1139
1139
|
function V() {
|
|
1140
|
-
return
|
|
1140
|
+
return p;
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1143
|
-
|
|
1142
|
+
function be(_) {
|
|
1143
|
+
_ !== null && (v = un(_)), p = _, E.missing = v;
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return
|
|
1145
|
+
function Ce(_, h) {
|
|
1146
|
+
return _ !== "translate" || !h.resolvedMessage;
|
|
1147
1147
|
}
|
|
1148
|
-
const ve = (
|
|
1148
|
+
const ve = (_, h, se, ee, dt, Xe) => {
|
|
1149
1149
|
$();
|
|
1150
|
-
let
|
|
1150
|
+
let Ae;
|
|
1151
1151
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
|
|
1152
1152
|
try {
|
|
1153
|
-
|
|
1153
|
+
Jt(fr()), o || (E.fallbackContext = n ? zs() : void 0), Ae = _(E);
|
|
1154
1154
|
} finally {
|
|
1155
|
-
|
|
1155
|
+
Jt(null), o || (E.fallbackContext = void 0);
|
|
1156
1156
|
}
|
|
1157
1157
|
else
|
|
1158
|
-
|
|
1159
|
-
if (
|
|
1160
|
-
const [Le,
|
|
1161
|
-
if (process.env.NODE_ENV !== "production" && n && L(Le) &&
|
|
1158
|
+
Ae = _(E);
|
|
1159
|
+
if (K(Ae) && Ae === rt) {
|
|
1160
|
+
const [Le, qo] = h();
|
|
1161
|
+
if (process.env.NODE_ENV !== "production" && n && L(Le) && Ce(se, qo) && (u && (at(f, Le) || qn(m, Le)) && Ve(lt(de.FALLBACK_TO_ROOT, {
|
|
1162
1162
|
key: Le,
|
|
1163
1163
|
type: se
|
|
1164
1164
|
})), process.env.NODE_ENV !== "production")) {
|
|
1165
|
-
const { __v_emitter:
|
|
1166
|
-
|
|
1165
|
+
const { __v_emitter: zt } = E;
|
|
1166
|
+
zt && u && zt.emit("fallback", {
|
|
1167
1167
|
type: se,
|
|
1168
1168
|
key: Le,
|
|
1169
1169
|
to: "global",
|
|
@@ -1172,202 +1172,202 @@ function io(e = {}, t) {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
return n && u ? ee(n) : dt(Le);
|
|
1174
1174
|
} else {
|
|
1175
|
-
if (
|
|
1176
|
-
return
|
|
1177
|
-
throw ce(
|
|
1175
|
+
if (Xe(Ae))
|
|
1176
|
+
return Ae;
|
|
1177
|
+
throw ce(F.UNEXPECTED_RETURN_TYPE);
|
|
1178
1178
|
}
|
|
1179
1179
|
};
|
|
1180
|
-
function
|
|
1181
|
-
return ve((h) => Reflect.apply(
|
|
1180
|
+
function Ue(..._) {
|
|
1181
|
+
return ve((h) => Reflect.apply(en, null, [h, ..._]), () => pt(..._), "translate", (h) => Reflect.apply(h.t, h, [..._]), (h) => h, (h) => L(h));
|
|
1182
1182
|
}
|
|
1183
|
-
function ct(...
|
|
1184
|
-
const [h, se, ee] =
|
|
1185
|
-
if (ee && !
|
|
1186
|
-
throw ce(
|
|
1187
|
-
return
|
|
1183
|
+
function ct(..._) {
|
|
1184
|
+
const [h, se, ee] = _;
|
|
1185
|
+
if (ee && !x(ee))
|
|
1186
|
+
throw ce(F.INVALID_ARGUMENT);
|
|
1187
|
+
return Ue(h, se, ne({ resolvedMessage: !0 }, ee || {}));
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1190
|
-
return ve((h) => Reflect.apply(
|
|
1189
|
+
function Ut(..._) {
|
|
1190
|
+
return ve((h) => Reflect.apply(nn, null, [h, ..._]), () => gt(..._), "datetime format", (h) => Reflect.apply(h.d, h, [..._]), () => tt, (h) => L(h));
|
|
1191
1191
|
}
|
|
1192
|
-
function Ye(...
|
|
1193
|
-
return ve((h) => Reflect.apply(
|
|
1192
|
+
function Ye(..._) {
|
|
1193
|
+
return ve((h) => Reflect.apply(sn, null, [h, ..._]), () => ht(..._), "number format", (h) => Reflect.apply(h.n, h, [..._]), () => tt, (h) => L(h));
|
|
1194
1194
|
}
|
|
1195
|
-
function ut(
|
|
1196
|
-
return
|
|
1195
|
+
function ut(_) {
|
|
1196
|
+
return _.map((h) => L(h) || K(h) || G(h) ? an(String(h)) : h);
|
|
1197
1197
|
}
|
|
1198
|
-
const
|
|
1198
|
+
const Ro = {
|
|
1199
1199
|
normalize: ut,
|
|
1200
|
-
interpolate: (
|
|
1200
|
+
interpolate: (_) => _,
|
|
1201
1201
|
type: "vnode"
|
|
1202
1202
|
};
|
|
1203
|
-
function
|
|
1203
|
+
function xo(..._) {
|
|
1204
1204
|
return ve(
|
|
1205
1205
|
(h) => {
|
|
1206
1206
|
let se;
|
|
1207
1207
|
const ee = h;
|
|
1208
1208
|
try {
|
|
1209
|
-
ee.processor =
|
|
1209
|
+
ee.processor = Ro, se = Reflect.apply(en, null, [ee, ..._]);
|
|
1210
1210
|
} finally {
|
|
1211
1211
|
ee.processor = null;
|
|
1212
1212
|
}
|
|
1213
1213
|
return se;
|
|
1214
1214
|
},
|
|
1215
|
-
() => pt(...
|
|
1215
|
+
() => pt(..._),
|
|
1216
1216
|
"translate",
|
|
1217
|
-
(h) => h[yt](...
|
|
1218
|
-
(h) => [
|
|
1219
|
-
(h) =>
|
|
1217
|
+
(h) => h[yt](..._),
|
|
1218
|
+
(h) => [an(h)],
|
|
1219
|
+
(h) => z(h)
|
|
1220
1220
|
);
|
|
1221
1221
|
}
|
|
1222
|
-
function
|
|
1222
|
+
function Fo(..._) {
|
|
1223
1223
|
return ve(
|
|
1224
|
-
(h) => Reflect.apply(
|
|
1225
|
-
() => ht(...
|
|
1224
|
+
(h) => Reflect.apply(sn, null, [h, ..._]),
|
|
1225
|
+
() => ht(..._),
|
|
1226
1226
|
"number format",
|
|
1227
|
-
(h) => h[
|
|
1227
|
+
(h) => h[wt](..._),
|
|
1228
1228
|
() => [],
|
|
1229
|
-
(h) => L(h) ||
|
|
1229
|
+
(h) => L(h) || z(h)
|
|
1230
1230
|
);
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function Vo(..._) {
|
|
1233
1233
|
return ve(
|
|
1234
|
-
(h) => Reflect.apply(
|
|
1235
|
-
() => gt(...
|
|
1234
|
+
(h) => Reflect.apply(nn, null, [h, ..._]),
|
|
1235
|
+
() => gt(..._),
|
|
1236
1236
|
"datetime format",
|
|
1237
|
-
(h) => h[Et](...
|
|
1237
|
+
(h) => h[Et](..._),
|
|
1238
1238
|
() => [],
|
|
1239
|
-
(h) => L(h) ||
|
|
1239
|
+
(h) => L(h) || z(h)
|
|
1240
1240
|
);
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1243
|
-
|
|
1242
|
+
function Uo(_) {
|
|
1243
|
+
T = _, E.pluralRules = T;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
const se = L(h) ? h : a.value, ee =
|
|
1247
|
-
return
|
|
1245
|
+
function Go(_, h) {
|
|
1246
|
+
const se = L(h) ? h : a.value, ee = Gt(se);
|
|
1247
|
+
return E.messageResolver(ee, _) !== null;
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function zo(_) {
|
|
1250
1250
|
let h = null;
|
|
1251
|
-
const se =
|
|
1251
|
+
const se = Kn(E, r.value, a.value);
|
|
1252
1252
|
for (let ee = 0; ee < se.length; ee++) {
|
|
1253
|
-
const dt = l.value[se[ee]] || {},
|
|
1254
|
-
if (
|
|
1255
|
-
h =
|
|
1253
|
+
const dt = l.value[se[ee]] || {}, Xe = E.messageResolver(dt, _);
|
|
1254
|
+
if (Xe != null) {
|
|
1255
|
+
h = Xe;
|
|
1256
1256
|
break;
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
return h;
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1262
|
-
const h =
|
|
1263
|
-
return h != null ? h : n ? n.tm(
|
|
1261
|
+
function Ho(_) {
|
|
1262
|
+
const h = zo(_);
|
|
1263
|
+
return h != null ? h : n ? n.tm(_) || {} : {};
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return l.value[
|
|
1265
|
+
function Gt(_) {
|
|
1266
|
+
return l.value[_] || {};
|
|
1267
1267
|
}
|
|
1268
|
-
function
|
|
1269
|
-
l.value[
|
|
1268
|
+
function jo(_, h) {
|
|
1269
|
+
l.value[_] = h, E.messages = l.value;
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1272
|
-
l.value[
|
|
1271
|
+
function Wo(_, h) {
|
|
1272
|
+
l.value[_] = l.value[_] || {}, je(h, l.value[_]), E.messages = l.value;
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return i.value[
|
|
1274
|
+
function Bo(_) {
|
|
1275
|
+
return i.value[_] || {};
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1278
|
-
i.value[
|
|
1277
|
+
function Ko(_, h) {
|
|
1278
|
+
i.value[_] = h, E.datetimeFormats = i.value, on(E, _, h);
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1281
|
-
i.value[
|
|
1280
|
+
function Yo(_, h) {
|
|
1281
|
+
i.value[_] = ne(i.value[_] || {}, h), E.datetimeFormats = i.value, on(E, _, h);
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1284
|
-
return c.value[
|
|
1283
|
+
function Xo(_) {
|
|
1284
|
+
return c.value[_] || {};
|
|
1285
1285
|
}
|
|
1286
|
-
function
|
|
1287
|
-
c.value[
|
|
1286
|
+
function Jo(_, h) {
|
|
1287
|
+
c.value[_] = h, E.numberFormats = c.value, rn(E, _, h);
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1290
|
-
c.value[
|
|
1289
|
+
function Qo(_, h) {
|
|
1290
|
+
c.value[_] = ne(c.value[_] || {}, h), E.numberFormats = c.value, rn(E, _, h);
|
|
1291
1291
|
}
|
|
1292
|
-
|
|
1293
|
-
s && (a.value =
|
|
1294
|
-
}), Me(n.fallbackLocale, (
|
|
1295
|
-
s && (r.value =
|
|
1292
|
+
cn++, n && ge && (Me(n.locale, (_) => {
|
|
1293
|
+
s && (a.value = _, E.locale = _, Ge(E, a.value, r.value));
|
|
1294
|
+
}), Me(n.fallbackLocale, (_) => {
|
|
1295
|
+
s && (r.value = _, E.fallbackLocale = _, Ge(E, a.value, r.value));
|
|
1296
1296
|
}));
|
|
1297
|
-
const
|
|
1298
|
-
id:
|
|
1297
|
+
const H = {
|
|
1298
|
+
id: cn,
|
|
1299
1299
|
locale: D,
|
|
1300
1300
|
fallbackLocale: X,
|
|
1301
1301
|
get inheritLocale() {
|
|
1302
1302
|
return s;
|
|
1303
1303
|
},
|
|
1304
|
-
set inheritLocale(
|
|
1305
|
-
s =
|
|
1304
|
+
set inheritLocale(_) {
|
|
1305
|
+
s = _, _ && n && (a.value = n.locale.value, r.value = n.fallbackLocale.value, Ge(E, a.value, r.value));
|
|
1306
1306
|
},
|
|
1307
1307
|
get availableLocales() {
|
|
1308
1308
|
return Object.keys(l.value).sort();
|
|
1309
1309
|
},
|
|
1310
1310
|
messages: q,
|
|
1311
1311
|
get modifiers() {
|
|
1312
|
-
return
|
|
1312
|
+
return S;
|
|
1313
1313
|
},
|
|
1314
1314
|
get pluralRules() {
|
|
1315
|
-
return
|
|
1315
|
+
return T || {};
|
|
1316
1316
|
},
|
|
1317
1317
|
get isGlobal() {
|
|
1318
1318
|
return o;
|
|
1319
1319
|
},
|
|
1320
1320
|
get missingWarn() {
|
|
1321
|
-
return
|
|
1321
|
+
return m;
|
|
1322
1322
|
},
|
|
1323
|
-
set missingWarn(
|
|
1324
|
-
|
|
1323
|
+
set missingWarn(_) {
|
|
1324
|
+
m = _, E.missingWarn = m;
|
|
1325
1325
|
},
|
|
1326
1326
|
get fallbackWarn() {
|
|
1327
1327
|
return f;
|
|
1328
1328
|
},
|
|
1329
|
-
set fallbackWarn(
|
|
1330
|
-
f =
|
|
1329
|
+
set fallbackWarn(_) {
|
|
1330
|
+
f = _, E.fallbackWarn = f;
|
|
1331
1331
|
},
|
|
1332
1332
|
get fallbackRoot() {
|
|
1333
1333
|
return u;
|
|
1334
1334
|
},
|
|
1335
|
-
set fallbackRoot(
|
|
1336
|
-
u =
|
|
1335
|
+
set fallbackRoot(_) {
|
|
1336
|
+
u = _;
|
|
1337
1337
|
},
|
|
1338
1338
|
get fallbackFormat() {
|
|
1339
1339
|
return d;
|
|
1340
1340
|
},
|
|
1341
|
-
set fallbackFormat(
|
|
1342
|
-
d =
|
|
1341
|
+
set fallbackFormat(_) {
|
|
1342
|
+
d = _, E.fallbackFormat = d;
|
|
1343
1343
|
},
|
|
1344
1344
|
get warnHtmlMessage() {
|
|
1345
|
-
return
|
|
1345
|
+
return g;
|
|
1346
1346
|
},
|
|
1347
|
-
set warnHtmlMessage(
|
|
1348
|
-
|
|
1347
|
+
set warnHtmlMessage(_) {
|
|
1348
|
+
g = _, E.warnHtmlMessage = _;
|
|
1349
1349
|
},
|
|
1350
1350
|
get escapeParameter() {
|
|
1351
|
-
return
|
|
1351
|
+
return w;
|
|
1352
1352
|
},
|
|
1353
|
-
set escapeParameter(
|
|
1354
|
-
|
|
1353
|
+
set escapeParameter(_) {
|
|
1354
|
+
w = _, E.escapeParameter = _;
|
|
1355
1355
|
},
|
|
1356
|
-
t:
|
|
1357
|
-
getLocaleMessage:
|
|
1358
|
-
setLocaleMessage:
|
|
1359
|
-
mergeLocaleMessage:
|
|
1356
|
+
t: Ue,
|
|
1357
|
+
getLocaleMessage: Gt,
|
|
1358
|
+
setLocaleMessage: jo,
|
|
1359
|
+
mergeLocaleMessage: Wo,
|
|
1360
1360
|
getPostTranslationHandler: C,
|
|
1361
1361
|
setPostTranslationHandler: R,
|
|
1362
1362
|
getMissingHandler: V,
|
|
1363
|
-
setMissingHandler:
|
|
1364
|
-
[
|
|
1363
|
+
setMissingHandler: be,
|
|
1364
|
+
[cr]: Uo
|
|
1365
1365
|
};
|
|
1366
|
-
return
|
|
1367
|
-
|
|
1368
|
-
},
|
|
1369
|
-
|
|
1370
|
-
}),
|
|
1366
|
+
return H.datetimeFormats = Z, H.numberFormats = O, H.rt = ct, H.te = Go, H.tm = Ho, H.d = Ut, H.n = Ye, H.getDateTimeFormat = Bo, H.setDateTimeFormat = Ko, H.mergeDateTimeFormat = Yo, H.getNumberFormat = Xo, H.setNumberFormat = Jo, H.mergeNumberFormat = Qo, H[ur] = e.__injectWithOption, H[yt] = xo, H[Et] = Vo, H[wt] = Fo, process.env.NODE_ENV !== "production" && (H[Ke] = (_) => {
|
|
1367
|
+
E.__v_emitter = _;
|
|
1368
|
+
}, H[bt] = () => {
|
|
1369
|
+
E.__v_emitter = void 0;
|
|
1370
|
+
}), H;
|
|
1371
1371
|
}
|
|
1372
1372
|
const kt = {
|
|
1373
1373
|
tag: {
|
|
@@ -1385,16 +1385,16 @@ const kt = {
|
|
|
1385
1385
|
type: Object
|
|
1386
1386
|
}
|
|
1387
1387
|
};
|
|
1388
|
-
function
|
|
1388
|
+
function _r({ slots: e }, t) {
|
|
1389
1389
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((o, s) => o = [
|
|
1390
1390
|
...o,
|
|
1391
|
-
...
|
|
1391
|
+
...z(s.children) ? s.children : [s]
|
|
1392
1392
|
], []) : t.reduce((n, o) => {
|
|
1393
1393
|
const s = e[o];
|
|
1394
1394
|
return s && (n[o] = s()), n;
|
|
1395
1395
|
}, {});
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function fo(e) {
|
|
1398
1398
|
return ue;
|
|
1399
1399
|
}
|
|
1400
1400
|
const mt = {
|
|
@@ -1406,42 +1406,42 @@ const mt = {
|
|
|
1406
1406
|
},
|
|
1407
1407
|
plural: {
|
|
1408
1408
|
type: [Number, String],
|
|
1409
|
-
validator: (e) =>
|
|
1409
|
+
validator: (e) => K(e) || !isNaN(e)
|
|
1410
1410
|
}
|
|
1411
1411
|
}, kt),
|
|
1412
1412
|
setup(e, t) {
|
|
1413
|
-
const { slots: n, attrs: o } = t, s = e.i18n ||
|
|
1413
|
+
const { slots: n, attrs: o } = t, s = e.i18n || xt({
|
|
1414
1414
|
useScope: e.scope,
|
|
1415
1415
|
__useComponent: !0
|
|
1416
1416
|
});
|
|
1417
1417
|
return () => {
|
|
1418
1418
|
const a = Object.keys(n).filter((f) => f !== "_"), r = {};
|
|
1419
1419
|
e.locale && (r.locale = e.locale), e.plural !== void 0 && (r.plural = L(e.plural) ? +e.plural : e.plural);
|
|
1420
|
-
const l =
|
|
1421
|
-
return
|
|
1420
|
+
const l = _r(t, a), i = s[yt](e.keypath, l, r), c = ne({}, o), m = L(e.tag) || x(e.tag) ? e.tag : fo();
|
|
1421
|
+
return Ze(m, c, i);
|
|
1422
1422
|
};
|
|
1423
1423
|
}
|
|
1424
1424
|
};
|
|
1425
|
-
function
|
|
1426
|
-
return
|
|
1425
|
+
function mr(e) {
|
|
1426
|
+
return z(e) && !L(e[0]);
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1428
|
+
function _o(e, t, n, o) {
|
|
1429
1429
|
const { slots: s, attrs: a } = t;
|
|
1430
1430
|
return () => {
|
|
1431
1431
|
const r = { part: !0 };
|
|
1432
1432
|
let l = {};
|
|
1433
|
-
e.locale && (r.locale = e.locale), L(e.format) ? r.key = e.format :
|
|
1433
|
+
e.locale && (r.locale = e.locale), L(e.format) ? r.key = e.format : x(e.format) && (L(e.format.key) && (r.key = e.format.key), l = Object.keys(e.format).reduce((u, d) => n.includes(d) ? ne({}, u, { [d]: e.format[d] }) : u, {}));
|
|
1434
1434
|
const i = o(e.value, r, l);
|
|
1435
1435
|
let c = [r.key];
|
|
1436
|
-
|
|
1437
|
-
const
|
|
1438
|
-
return
|
|
1436
|
+
z(i) ? c = i.map((u, d) => {
|
|
1437
|
+
const p = s[u.type], v = p ? p({ [u.type]: u.value, index: d, parts: i }) : [u.value];
|
|
1438
|
+
return mr(v) && (v[0].key = `${u.type}-${d}`), v;
|
|
1439
1439
|
}) : L(i) && (c = [i]);
|
|
1440
|
-
const
|
|
1441
|
-
return
|
|
1440
|
+
const m = ne({}, a), f = L(e.tag) || x(e.tag) ? e.tag : fo();
|
|
1441
|
+
return Ze(f, m, c);
|
|
1442
1442
|
};
|
|
1443
1443
|
}
|
|
1444
|
-
const
|
|
1444
|
+
const dn = {
|
|
1445
1445
|
name: "i18n-n",
|
|
1446
1446
|
props: ne({
|
|
1447
1447
|
value: {
|
|
@@ -1453,10 +1453,10 @@ const un = {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
}, kt),
|
|
1455
1455
|
setup(e, t) {
|
|
1456
|
-
const n = e.i18n ||
|
|
1457
|
-
return
|
|
1456
|
+
const n = e.i18n || xt({ useScope: "parent", __useComponent: !0 });
|
|
1457
|
+
return _o(e, t, so, (...o) => n[wt](...o));
|
|
1458
1458
|
}
|
|
1459
|
-
},
|
|
1459
|
+
}, fn = {
|
|
1460
1460
|
name: "i18n-d",
|
|
1461
1461
|
props: ne({
|
|
1462
1462
|
value: {
|
|
@@ -1468,11 +1468,11 @@ const un = {
|
|
|
1468
1468
|
}
|
|
1469
1469
|
}, kt),
|
|
1470
1470
|
setup(e, t) {
|
|
1471
|
-
const n = e.i18n ||
|
|
1472
|
-
return
|
|
1471
|
+
const n = e.i18n || xt({ useScope: "parent", __useComponent: !0 });
|
|
1472
|
+
return _o(e, t, oo, (...o) => n[Et](...o));
|
|
1473
1473
|
}
|
|
1474
1474
|
};
|
|
1475
|
-
function
|
|
1475
|
+
function pr(e, t) {
|
|
1476
1476
|
const n = e;
|
|
1477
1477
|
if (e.mode === "composition")
|
|
1478
1478
|
return n.__getInstance(t) || e.global;
|
|
@@ -1481,17 +1481,17 @@ function dr(e, t) {
|
|
|
1481
1481
|
return o != null ? o.__composer : e.global.__composer;
|
|
1482
1482
|
}
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1484
|
+
function gr(e) {
|
|
1485
1485
|
const t = (r) => {
|
|
1486
1486
|
const { instance: l, modifiers: i, value: c } = r;
|
|
1487
1487
|
if (!l || !l.$)
|
|
1488
|
-
throw ce(
|
|
1489
|
-
const
|
|
1490
|
-
process.env.NODE_ENV !== "production" && i.preserve &&
|
|
1491
|
-
const f =
|
|
1488
|
+
throw ce(F.UNEXPECTED_ERROR);
|
|
1489
|
+
const m = pr(e, l.$);
|
|
1490
|
+
process.env.NODE_ENV !== "production" && i.preserve && Ve(lt(de.NOT_SUPPORTED_PRESERVE));
|
|
1491
|
+
const f = _n(c);
|
|
1492
1492
|
return [
|
|
1493
|
-
Reflect.apply(
|
|
1494
|
-
|
|
1493
|
+
Reflect.apply(m.t, m, [...mn(f)]),
|
|
1494
|
+
m
|
|
1495
1495
|
];
|
|
1496
1496
|
};
|
|
1497
1497
|
return {
|
|
@@ -1506,9 +1506,9 @@ function fr(e) {
|
|
|
1506
1506
|
},
|
|
1507
1507
|
beforeUpdate: (r, { value: l }) => {
|
|
1508
1508
|
if (r.__composer) {
|
|
1509
|
-
const i = r.__composer, c =
|
|
1509
|
+
const i = r.__composer, c = _n(l);
|
|
1510
1510
|
r.textContent = Reflect.apply(i.t, i, [
|
|
1511
|
-
...
|
|
1511
|
+
...mn(c)
|
|
1512
1512
|
]);
|
|
1513
1513
|
}
|
|
1514
1514
|
},
|
|
@@ -1518,71 +1518,71 @@ function fr(e) {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
};
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function _n(e) {
|
|
1522
1522
|
if (L(e))
|
|
1523
1523
|
return { path: e };
|
|
1524
|
-
if (
|
|
1524
|
+
if (M(e)) {
|
|
1525
1525
|
if (!("path" in e))
|
|
1526
|
-
throw ce(
|
|
1526
|
+
throw ce(F.REQUIRED_VALUE, "path");
|
|
1527
1527
|
return e;
|
|
1528
1528
|
} else
|
|
1529
|
-
throw ce(
|
|
1529
|
+
throw ce(F.INVALID_VALUE);
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function mn(e) {
|
|
1532
1532
|
const { path: t, locale: n, args: o, choice: s, plural: a } = e, r = {}, l = o || {};
|
|
1533
|
-
return L(n) && (r.locale = n),
|
|
1533
|
+
return L(n) && (r.locale = n), K(s) && (r.plural = s), K(a) && (r.plural = a), [t, l, r];
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1536
|
-
const o =
|
|
1537
|
-
process.env.NODE_ENV !== "production" && a && s &&
|
|
1535
|
+
function hr(e, t, ...n) {
|
|
1536
|
+
const o = M(n[0]) ? n[0] : {}, s = !!o.useI18nComponentName, a = G(o.globalInstall) ? o.globalInstall : !0;
|
|
1537
|
+
process.env.NODE_ENV !== "production" && a && s && Ve(lt(de.COMPONENT_NAME_LEGACY_COMPATIBLE, {
|
|
1538
1538
|
name: mt.name
|
|
1539
|
-
})), a && (e.component(s ? "i18n" : mt.name, mt), e.component(
|
|
1539
|
+
})), a && (e.component(s ? "i18n" : mt.name, mt), e.component(dn.name, dn), e.component(fn.name, fn)), e.directive("t", gr(t));
|
|
1540
1540
|
}
|
|
1541
|
-
const
|
|
1541
|
+
const mo = "vue-i18n: composer properties";
|
|
1542
1542
|
let Ot;
|
|
1543
|
-
async function
|
|
1543
|
+
async function vr(e, t) {
|
|
1544
1544
|
return new Promise((n, o) => {
|
|
1545
1545
|
try {
|
|
1546
|
-
|
|
1546
|
+
nr({
|
|
1547
1547
|
id: "vue-devtools-plugin-vue-i18n",
|
|
1548
1548
|
label: _t["vue-devtools-plugin-vue-i18n"],
|
|
1549
1549
|
packageName: "vue-i18n",
|
|
1550
1550
|
homepage: "https://vue-i18n.intlify.dev",
|
|
1551
1551
|
logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
|
|
1552
|
-
componentStateTypes: [
|
|
1552
|
+
componentStateTypes: [mo],
|
|
1553
1553
|
app: e
|
|
1554
1554
|
}, (s) => {
|
|
1555
1555
|
Ot = s, s.on.visitComponentTree(({ componentInstance: r, treeNode: l }) => {
|
|
1556
|
-
|
|
1556
|
+
yr(r, l, t);
|
|
1557
1557
|
}), s.on.inspectComponent(({ componentInstance: r, instanceData: l }) => {
|
|
1558
|
-
r.vnode.el && r.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== t.global.__composer &&
|
|
1558
|
+
r.vnode.el && r.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== t.global.__composer && pn(l, r.vnode.el.__VUE_I18N__) : pn(l, r.vnode.el.__VUE_I18N__));
|
|
1559
1559
|
}), s.addInspector({
|
|
1560
1560
|
id: "vue-i18n-resource-inspector",
|
|
1561
1561
|
label: _t["vue-i18n-resource-inspector"],
|
|
1562
1562
|
icon: "language",
|
|
1563
|
-
treeFilterPlaceholder:
|
|
1563
|
+
treeFilterPlaceholder: or["vue-i18n-resource-inspector"]
|
|
1564
1564
|
}), s.on.getInspectorTree((r) => {
|
|
1565
|
-
r.app === e && r.inspectorId === "vue-i18n-resource-inspector" &&
|
|
1565
|
+
r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Or(r, t);
|
|
1566
1566
|
});
|
|
1567
1567
|
const a = /* @__PURE__ */ new Map();
|
|
1568
1568
|
s.on.getInspectorState(async (r) => {
|
|
1569
1569
|
if (r.app === e && r.inspectorId === "vue-i18n-resource-inspector")
|
|
1570
|
-
if (s.unhighlightElement(),
|
|
1570
|
+
if (s.unhighlightElement(), Tr(r, t), r.nodeId === "global") {
|
|
1571
1571
|
if (!a.has(r.app)) {
|
|
1572
1572
|
const [l] = await s.getComponentInstances(r.app);
|
|
1573
1573
|
a.set(r.app, l);
|
|
1574
1574
|
}
|
|
1575
1575
|
s.highlightElement(a.get(r.app));
|
|
1576
1576
|
} else {
|
|
1577
|
-
const l =
|
|
1577
|
+
const l = Ir(r.nodeId, t);
|
|
1578
1578
|
l && s.highlightElement(l);
|
|
1579
1579
|
}
|
|
1580
1580
|
}), s.on.editInspectorState((r) => {
|
|
1581
|
-
r.app === e && r.inspectorId === "vue-i18n-resource-inspector" &&
|
|
1581
|
+
r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Sr(r, t);
|
|
1582
1582
|
}), s.addTimelineLayer({
|
|
1583
1583
|
id: "vue-i18n-timeline",
|
|
1584
1584
|
label: _t["vue-i18n-timeline"],
|
|
1585
|
-
color:
|
|
1585
|
+
color: sr["vue-i18n-timeline"]
|
|
1586
1586
|
}), n(!0);
|
|
1587
1587
|
});
|
|
1588
1588
|
} catch (s) {
|
|
@@ -1590,22 +1590,22 @@ async function mr(e, t) {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
});
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function po(e) {
|
|
1594
1594
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function yr(e, t, n) {
|
|
1597
1597
|
const o = n.mode === "composition" ? n.global : n.global.__composer;
|
|
1598
1598
|
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== o) {
|
|
1599
1599
|
const s = {
|
|
1600
|
-
label: `i18n (${
|
|
1600
|
+
label: `i18n (${po(e)} Scope)`,
|
|
1601
1601
|
textColor: 0,
|
|
1602
1602
|
backgroundColor: 16764185
|
|
1603
1603
|
};
|
|
1604
1604
|
t.tags.push(s);
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1608
|
-
const n =
|
|
1607
|
+
function pn(e, t) {
|
|
1608
|
+
const n = mo;
|
|
1609
1609
|
e.state.push({
|
|
1610
1610
|
type: n,
|
|
1611
1611
|
key: "locale",
|
|
@@ -1630,7 +1630,7 @@ function mn(e, t) {
|
|
|
1630
1630
|
type: n,
|
|
1631
1631
|
key: "messages",
|
|
1632
1632
|
editable: !1,
|
|
1633
|
-
value:
|
|
1633
|
+
value: Rt(t.messages.value)
|
|
1634
1634
|
}), e.state.push({
|
|
1635
1635
|
type: n,
|
|
1636
1636
|
key: "datetimeFormats",
|
|
@@ -1643,27 +1643,27 @@ function mn(e, t) {
|
|
|
1643
1643
|
value: t.numberFormats.value
|
|
1644
1644
|
});
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function Rt(e) {
|
|
1647
1647
|
const t = {};
|
|
1648
1648
|
return Object.keys(e).forEach((n) => {
|
|
1649
1649
|
const o = e[n];
|
|
1650
|
-
W(o) && "source" in o ? t[n] =
|
|
1650
|
+
W(o) && "source" in o ? t[n] = Lr(o) : x(o) ? t[n] = Rt(o) : t[n] = o;
|
|
1651
1651
|
}), t;
|
|
1652
1652
|
}
|
|
1653
|
-
const
|
|
1653
|
+
const Er = {
|
|
1654
1654
|
"<": "<",
|
|
1655
1655
|
">": ">",
|
|
1656
1656
|
'"': """,
|
|
1657
1657
|
"&": "&"
|
|
1658
1658
|
};
|
|
1659
|
-
function
|
|
1660
|
-
return e.replace(/[<>"&]/g,
|
|
1659
|
+
function wr(e) {
|
|
1660
|
+
return e.replace(/[<>"&]/g, br);
|
|
1661
1661
|
}
|
|
1662
|
-
function
|
|
1663
|
-
return
|
|
1662
|
+
function br(e) {
|
|
1663
|
+
return Er[e] || e;
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1666
|
-
const t = e.source ? `("${
|
|
1665
|
+
function Lr(e) {
|
|
1666
|
+
const t = e.source ? `("${wr(e.source)}")` : "(?)";
|
|
1667
1667
|
return {
|
|
1668
1668
|
_custom: {
|
|
1669
1669
|
type: "function",
|
|
@@ -1671,7 +1671,7 @@ function yr(e) {
|
|
|
1671
1671
|
}
|
|
1672
1672
|
};
|
|
1673
1673
|
}
|
|
1674
|
-
function
|
|
1674
|
+
function Or(e, t) {
|
|
1675
1675
|
e.rootNodes.push({
|
|
1676
1676
|
id: "global",
|
|
1677
1677
|
label: "Global Scope"
|
|
@@ -1681,11 +1681,11 @@ function Er(e, t) {
|
|
|
1681
1681
|
const a = t.mode === "composition" ? s : s.__composer;
|
|
1682
1682
|
n !== a && e.rootNodes.push({
|
|
1683
1683
|
id: a.id.toString(),
|
|
1684
|
-
label: `${
|
|
1684
|
+
label: `${po(o)} Scope`
|
|
1685
1685
|
});
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function Ir(e, t) {
|
|
1689
1689
|
let n = null;
|
|
1690
1690
|
if (e !== "global") {
|
|
1691
1691
|
for (const [o, s] of t.__instances.entries())
|
|
@@ -1696,7 +1696,7 @@ function br(e, t) {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
return n;
|
|
1698
1698
|
}
|
|
1699
|
-
function
|
|
1699
|
+
function go(e, t) {
|
|
1700
1700
|
if (e === "global")
|
|
1701
1701
|
return t.mode === "composition" ? t.global : t.global.__composer;
|
|
1702
1702
|
{
|
|
@@ -1704,11 +1704,11 @@ function mo(e, t) {
|
|
|
1704
1704
|
return n ? t.mode === "composition" ? n : n.__composer : null;
|
|
1705
1705
|
}
|
|
1706
1706
|
}
|
|
1707
|
-
function
|
|
1708
|
-
const n =
|
|
1709
|
-
return n && (e.state =
|
|
1707
|
+
function Tr(e, t) {
|
|
1708
|
+
const n = go(e.nodeId, t);
|
|
1709
|
+
return n && (e.state = Nr(n)), null;
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1711
|
+
function Nr(e) {
|
|
1712
1712
|
const t = {}, n = "Locale related info", o = [
|
|
1713
1713
|
{
|
|
1714
1714
|
type: n,
|
|
@@ -1741,7 +1741,7 @@ function Lr(e) {
|
|
|
1741
1741
|
type: s,
|
|
1742
1742
|
key: "messages",
|
|
1743
1743
|
editable: !1,
|
|
1744
|
-
value:
|
|
1744
|
+
value: Rt(e.messages.value)
|
|
1745
1745
|
}
|
|
1746
1746
|
];
|
|
1747
1747
|
t[s] = a;
|
|
@@ -1767,7 +1767,7 @@ function Lr(e) {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
return t;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function It(e, t) {
|
|
1771
1771
|
if (Ot) {
|
|
1772
1772
|
let n;
|
|
1773
1773
|
t && "groupId" in t && (n = t.groupId, delete t.groupId), Ot.addTimelineEvent({
|
|
@@ -1783,23 +1783,23 @@ function Tt(e, t) {
|
|
|
1783
1783
|
});
|
|
1784
1784
|
}
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1787
|
-
const n =
|
|
1786
|
+
function Sr(e, t) {
|
|
1787
|
+
const n = go(e.nodeId, t);
|
|
1788
1788
|
if (n) {
|
|
1789
1789
|
const [o] = e.path;
|
|
1790
|
-
o === "locale" && L(e.state.value) ? n.locale.value = e.state.value : o === "fallbackLocale" && (L(e.state.value) ||
|
|
1790
|
+
o === "locale" && L(e.state.value) ? n.locale.value = e.state.value : o === "fallbackLocale" && (L(e.state.value) || z(e.state.value) || x(e.state.value)) ? n.fallbackLocale.value = e.state.value : o === "inheritLocale" && G(e.state.value) && (n.inheritLocale = e.state.value);
|
|
1791
1791
|
}
|
|
1792
1792
|
}
|
|
1793
|
-
const
|
|
1794
|
-
function
|
|
1795
|
-
const n = G(e.globalInjection) ? e.globalInjection : !0, o = !0, s = /* @__PURE__ */ new Map(), [a, r] =
|
|
1793
|
+
const Cr = /* @__PURE__ */ he("global-vue-i18n");
|
|
1794
|
+
function Ar(e = {}, t) {
|
|
1795
|
+
const n = G(e.globalInjection) ? e.globalInjection : !0, o = !0, s = /* @__PURE__ */ new Map(), [a, r] = Dr(e), l = he(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
1796
1796
|
function i(f) {
|
|
1797
1797
|
return s.get(f) || null;
|
|
1798
1798
|
}
|
|
1799
1799
|
function c(f, u) {
|
|
1800
1800
|
s.set(f, u);
|
|
1801
1801
|
}
|
|
1802
|
-
function
|
|
1802
|
+
function m(f) {
|
|
1803
1803
|
s.delete(f);
|
|
1804
1804
|
}
|
|
1805
1805
|
{
|
|
@@ -1811,19 +1811,19 @@ function Ir(e = {}, t) {
|
|
|
1811
1811
|
return o;
|
|
1812
1812
|
},
|
|
1813
1813
|
async install(u, ...d) {
|
|
1814
|
-
process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = f), u.__VUE_I18N_SYMBOL__ = l, u.provide(u.__VUE_I18N_SYMBOL__, f), n &&
|
|
1815
|
-
const
|
|
1814
|
+
process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = f), u.__VUE_I18N_SYMBOL__ = l, u.provide(u.__VUE_I18N_SYMBOL__, f), n && Vr(u, f.global), hr(u, f, ...d);
|
|
1815
|
+
const p = u.unmount;
|
|
1816
1816
|
if (u.unmount = () => {
|
|
1817
|
-
f.dispose(),
|
|
1817
|
+
f.dispose(), p();
|
|
1818
1818
|
}, process.env.NODE_ENV !== "production" || !1) {
|
|
1819
|
-
if (!await
|
|
1820
|
-
throw ce(
|
|
1821
|
-
const y =
|
|
1819
|
+
if (!await vr(u, f))
|
|
1820
|
+
throw ce(F.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
1821
|
+
const y = jn();
|
|
1822
1822
|
{
|
|
1823
|
-
const
|
|
1824
|
-
|
|
1823
|
+
const g = r;
|
|
1824
|
+
g[Ke] && g[Ke](y);
|
|
1825
1825
|
}
|
|
1826
|
-
y.on("*",
|
|
1826
|
+
y.on("*", It);
|
|
1827
1827
|
}
|
|
1828
1828
|
},
|
|
1829
1829
|
get global() {
|
|
@@ -1835,56 +1835,56 @@ function Ir(e = {}, t) {
|
|
|
1835
1835
|
__instances: s,
|
|
1836
1836
|
__getInstance: i,
|
|
1837
1837
|
__setInstance: c,
|
|
1838
|
-
__deleteInstance:
|
|
1838
|
+
__deleteInstance: m
|
|
1839
1839
|
};
|
|
1840
1840
|
return f;
|
|
1841
1841
|
}
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function xt(e = {}) {
|
|
1844
1844
|
const t = Nt();
|
|
1845
1845
|
if (t == null)
|
|
1846
|
-
throw ce(
|
|
1846
|
+
throw ce(F.MUST_BE_CALL_SETUP_TOP);
|
|
1847
1847
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
1848
|
-
throw ce(
|
|
1849
|
-
const n =
|
|
1848
|
+
throw ce(F.NOT_INSLALLED);
|
|
1849
|
+
const n = Pr(t), o = Mr(n), s = co(t), a = $r(e, s);
|
|
1850
1850
|
if (a === "global")
|
|
1851
|
-
return
|
|
1851
|
+
return dr(o, e, s), o;
|
|
1852
1852
|
if (a === "parent") {
|
|
1853
|
-
let i =
|
|
1854
|
-
return i == null && (process.env.NODE_ENV !== "production" &&
|
|
1853
|
+
let i = kr(n, t, e.__useComponent);
|
|
1854
|
+
return i == null && (process.env.NODE_ENV !== "production" && Ve(lt(de.NOT_FOUND_PARENT_SCOPE)), i = o), i;
|
|
1855
1855
|
}
|
|
1856
1856
|
const r = n;
|
|
1857
1857
|
let l = r.__getInstance(t);
|
|
1858
1858
|
if (l == null) {
|
|
1859
1859
|
const i = ne({}, e);
|
|
1860
|
-
"__i18n" in s && (i.__i18n = s.__i18n), o && (i.__root = o), l =
|
|
1860
|
+
"__i18n" in s && (i.__i18n = s.__i18n), o && (i.__root = o), l = uo(i), Rr(r, t, l), r.__setInstance(t, l);
|
|
1861
1861
|
}
|
|
1862
1862
|
return l;
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1865
|
-
const o =
|
|
1864
|
+
function Dr(e, t, n) {
|
|
1865
|
+
const o = Zo();
|
|
1866
1866
|
{
|
|
1867
|
-
const s = o.run(() =>
|
|
1867
|
+
const s = o.run(() => uo(e));
|
|
1868
1868
|
if (s == null)
|
|
1869
|
-
throw ce(
|
|
1869
|
+
throw ce(F.UNEXPECTED_ERROR);
|
|
1870
1870
|
return [o, s];
|
|
1871
1871
|
}
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1873
|
+
function Pr(e) {
|
|
1874
1874
|
{
|
|
1875
|
-
const t =
|
|
1875
|
+
const t = St(e.isCE ? Cr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
1876
1876
|
if (!t)
|
|
1877
|
-
throw ce(e.isCE ?
|
|
1877
|
+
throw ce(e.isCE ? F.NOT_INSLALLED_WITH_PROVIDE : F.UNEXPECTED_ERROR);
|
|
1878
1878
|
return t;
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function $r(e, t) {
|
|
1882
1882
|
return st(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function Mr(e) {
|
|
1885
1885
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1887
|
+
function kr(e, t, n = !1) {
|
|
1888
1888
|
let o = null;
|
|
1889
1889
|
const s = t.root;
|
|
1890
1890
|
let a = t.parent;
|
|
@@ -1896,35 +1896,35 @@ function Dr(e, t, n = !1) {
|
|
|
1896
1896
|
}
|
|
1897
1897
|
return o;
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1899
|
+
function Rr(e, t, n) {
|
|
1900
1900
|
let o = null;
|
|
1901
|
-
|
|
1901
|
+
xe(() => {
|
|
1902
1902
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el) {
|
|
1903
|
-
t.vnode.el.__VUE_I18N__ = n, o =
|
|
1903
|
+
t.vnode.el.__VUE_I18N__ = n, o = jn();
|
|
1904
1904
|
const s = n;
|
|
1905
|
-
s[
|
|
1905
|
+
s[Ke] && s[Ke](o), o.on("*", It);
|
|
1906
1906
|
}
|
|
1907
1907
|
}, t), ot(() => {
|
|
1908
1908
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el && t.vnode.el.__VUE_I18N__) {
|
|
1909
|
-
o && o.off("*",
|
|
1909
|
+
o && o.off("*", It);
|
|
1910
1910
|
const s = n;
|
|
1911
|
-
s[
|
|
1911
|
+
s[bt] && s[bt](), delete t.vnode.el.__VUE_I18N__;
|
|
1912
1912
|
}
|
|
1913
1913
|
e.__deleteInstance(t);
|
|
1914
1914
|
}, t);
|
|
1915
1915
|
}
|
|
1916
|
-
const
|
|
1916
|
+
const xr = [
|
|
1917
1917
|
"locale",
|
|
1918
1918
|
"fallbackLocale",
|
|
1919
1919
|
"availableLocales"
|
|
1920
|
-
],
|
|
1921
|
-
function
|
|
1920
|
+
], Fr = ["t", "rt", "d", "n", "tm"];
|
|
1921
|
+
function Vr(e, t) {
|
|
1922
1922
|
const n = /* @__PURE__ */ Object.create(null);
|
|
1923
|
-
|
|
1923
|
+
xr.forEach((o) => {
|
|
1924
1924
|
const s = Object.getOwnPropertyDescriptor(t, o);
|
|
1925
1925
|
if (!s)
|
|
1926
|
-
throw ce(
|
|
1927
|
-
const a =
|
|
1926
|
+
throw ce(F.UNEXPECTED_ERROR);
|
|
1927
|
+
const a = es(s.value) ? {
|
|
1928
1928
|
get() {
|
|
1929
1929
|
return s.value.value;
|
|
1930
1930
|
},
|
|
@@ -1937,22 +1937,22 @@ function Mr(e, t) {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
};
|
|
1939
1939
|
Object.defineProperty(n, o, a);
|
|
1940
|
-
}), e.config.globalProperties.$i18n = n,
|
|
1940
|
+
}), e.config.globalProperties.$i18n = n, Fr.forEach((o) => {
|
|
1941
1941
|
const s = Object.getOwnPropertyDescriptor(t, o);
|
|
1942
1942
|
if (!s || !s.value)
|
|
1943
|
-
throw ce(
|
|
1943
|
+
throw ce(F.UNEXPECTED_ERROR);
|
|
1944
1944
|
Object.defineProperty(e.config.globalProperties, `$${o}`, s);
|
|
1945
1945
|
});
|
|
1946
1946
|
}
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1947
|
+
Vs(ys);
|
|
1948
|
+
Us(Kn);
|
|
1949
|
+
ar();
|
|
1950
1950
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1951
|
-
const e =
|
|
1952
|
-
e.__INTLIFY__ = !0,
|
|
1951
|
+
const e = At();
|
|
1952
|
+
e.__INTLIFY__ = !0, Ss(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
1953
1953
|
}
|
|
1954
1954
|
process.env.NODE_ENV;
|
|
1955
|
-
const
|
|
1955
|
+
const Ur = {
|
|
1956
1956
|
"zhi-xian-shi-zai-xian-she-bei": (e) => {
|
|
1957
1957
|
const { normalize: t } = e;
|
|
1958
1958
|
return t(["\u53EA\u663E\u793A\u5728\u7EBF\u8BBE\u5907"]);
|
|
@@ -1985,10 +1985,10 @@ const Rr = {
|
|
|
1985
1985
|
const { normalize: t } = e;
|
|
1986
1986
|
return t(["\u5217\u6570"]);
|
|
1987
1987
|
}
|
|
1988
|
-
},
|
|
1988
|
+
}, Gr = {
|
|
1989
1989
|
"zhi-xian-shi-zai-xian-she-bei": (e) => {
|
|
1990
1990
|
const { normalize: t } = e;
|
|
1991
|
-
return t(["
|
|
1991
|
+
return t(["Online Only"]);
|
|
1992
1992
|
},
|
|
1993
1993
|
"qing-xuan-ze-bu-ju-yang-shi": (e) => {
|
|
1994
1994
|
const { normalize: t } = e;
|
|
@@ -2019,44 +2019,53 @@ const Rr = {
|
|
|
2019
2019
|
return t(["Number of columns"]);
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
|
-
var
|
|
2023
|
-
let
|
|
2024
|
-
function
|
|
2025
|
-
|
|
2022
|
+
var ho = /* @__PURE__ */ ((e) => (e.zh = "zh", e.en = "en", e))(ho || {});
|
|
2023
|
+
let We;
|
|
2024
|
+
function zr(e) {
|
|
2025
|
+
We && We.dispose(), We = Ar({
|
|
2026
2026
|
locale: e,
|
|
2027
2027
|
messages: {
|
|
2028
|
-
zh:
|
|
2029
|
-
en:
|
|
2028
|
+
zh: Ur,
|
|
2029
|
+
en: Gr
|
|
2030
2030
|
},
|
|
2031
2031
|
fallbackLocale: "en",
|
|
2032
2032
|
silentTranslationWarn: !0,
|
|
2033
2033
|
silentFallbackWarn: !0
|
|
2034
2034
|
});
|
|
2035
2035
|
}
|
|
2036
|
-
function
|
|
2037
|
-
|
|
2036
|
+
function Hr(e) {
|
|
2037
|
+
zr(e), We.global.locale = e;
|
|
2038
|
+
}
|
|
2039
|
+
function Te(e) {
|
|
2040
|
+
return We.global.t(e);
|
|
2038
2041
|
}
|
|
2039
|
-
|
|
2040
|
-
|
|
2042
|
+
var vo = /* @__PURE__ */ ((e) => (e.UserFirst = "UserFirst", e.PUFirst = "PUFirst", e))(vo || {}), yo = /* @__PURE__ */ ((e) => (e.BACKGROUND_WHITE = "white", e.BACKGROUND_DRAK = "drak", e))(yo || {});
|
|
2043
|
+
const Eo = k(
|
|
2044
|
+
"white"
|
|
2045
|
+
);
|
|
2046
|
+
function Ki(e) {
|
|
2047
|
+
Eo.value = e;
|
|
2048
|
+
}
|
|
2049
|
+
function jr() {
|
|
2050
|
+
return Eo;
|
|
2041
2051
|
}
|
|
2042
|
-
|
|
2043
|
-
const ho = M(
|
|
2052
|
+
const wo = k(
|
|
2044
2053
|
"UserFirst"
|
|
2045
2054
|
);
|
|
2046
|
-
function
|
|
2047
|
-
|
|
2055
|
+
function Wr(e) {
|
|
2056
|
+
wo.value = e;
|
|
2048
2057
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return
|
|
2058
|
+
function Br() {
|
|
2059
|
+
return wo;
|
|
2051
2060
|
}
|
|
2052
|
-
const
|
|
2053
|
-
function
|
|
2054
|
-
|
|
2061
|
+
const bo = k(!1);
|
|
2062
|
+
function Yi(e) {
|
|
2063
|
+
bo.value = e;
|
|
2055
2064
|
}
|
|
2056
|
-
function
|
|
2057
|
-
return
|
|
2065
|
+
function Kr() {
|
|
2066
|
+
return bo;
|
|
2058
2067
|
}
|
|
2059
|
-
var
|
|
2068
|
+
var gn;
|
|
2060
2069
|
((e) => {
|
|
2061
2070
|
((n) => {
|
|
2062
2071
|
function o(r, l) {
|
|
@@ -2136,27 +2145,33 @@ var pn;
|
|
|
2136
2145
|
}
|
|
2137
2146
|
n.AccessSession = o;
|
|
2138
2147
|
})(e.Utils || (e.Utils = {}));
|
|
2139
|
-
})(
|
|
2140
|
-
var
|
|
2148
|
+
})(gn || (gn = {}));
|
|
2149
|
+
var I;
|
|
2141
2150
|
((e) => {
|
|
2151
|
+
e.zeroLayout = {
|
|
2152
|
+
name: "0",
|
|
2153
|
+
row: 0,
|
|
2154
|
+
col: 0,
|
|
2155
|
+
count: 0
|
|
2156
|
+
};
|
|
2142
2157
|
function t(n, o, s) {
|
|
2143
2158
|
if (s) {
|
|
2144
2159
|
let r = n * o;
|
|
2145
|
-
return s.forEach(([l, i, c,
|
|
2146
|
-
r -= (
|
|
2160
|
+
return s.forEach(([l, i, c, m]) => {
|
|
2161
|
+
r -= (m - i) * (c - l) - 1;
|
|
2147
2162
|
}), {
|
|
2148
2163
|
count: r,
|
|
2149
2164
|
row: n,
|
|
2150
2165
|
col: o,
|
|
2151
2166
|
name: `${r < 10 ? `0${r}` : r}`,
|
|
2152
|
-
areas: s.map(([l, i, c,
|
|
2167
|
+
areas: s.map(([l, i, c, m]) => ({
|
|
2153
2168
|
leftTop: {
|
|
2154
2169
|
col: l,
|
|
2155
2170
|
row: i
|
|
2156
2171
|
},
|
|
2157
2172
|
rightBottom: {
|
|
2158
2173
|
col: c,
|
|
2159
|
-
row:
|
|
2174
|
+
row: m
|
|
2160
2175
|
}
|
|
2161
2176
|
}))
|
|
2162
2177
|
};
|
|
@@ -2209,58 +2224,63 @@ var T;
|
|
|
2209
2224
|
}
|
|
2210
2225
|
n.getTestLayout = s;
|
|
2211
2226
|
})(e.Test || (e.Test = {}));
|
|
2212
|
-
})(
|
|
2213
|
-
const
|
|
2227
|
+
})(I || (I = {}));
|
|
2228
|
+
const Lo = String.prototype.includes, Oo = function(e, t) {
|
|
2214
2229
|
const n = this.toLocaleLowerCase(), o = e.toLocaleLowerCase();
|
|
2215
|
-
String.prototype.includes =
|
|
2230
|
+
String.prototype.includes = Lo;
|
|
2216
2231
|
const s = n.includes(o, t);
|
|
2217
|
-
return String.prototype.includes =
|
|
2232
|
+
return String.prototype.includes = Oo, s;
|
|
2218
2233
|
};
|
|
2219
2234
|
function nt(e) {
|
|
2220
|
-
String.prototype.includes =
|
|
2235
|
+
String.prototype.includes = Oo;
|
|
2221
2236
|
const t = e();
|
|
2222
|
-
return String.prototype.includes =
|
|
2237
|
+
return String.prototype.includes = Lo, t;
|
|
2223
2238
|
}
|
|
2224
|
-
const
|
|
2239
|
+
const Yr = Q({
|
|
2225
2240
|
props: {
|
|
2226
2241
|
countInfo: Object,
|
|
2227
2242
|
controlParams: Object
|
|
2228
2243
|
},
|
|
2229
2244
|
setup(e) {
|
|
2230
|
-
function t(
|
|
2231
|
-
if (
|
|
2232
|
-
let
|
|
2233
|
-
return
|
|
2234
|
-
|
|
2235
|
-
}),
|
|
2245
|
+
function t(a, r) {
|
|
2246
|
+
if (r) {
|
|
2247
|
+
let l = 0;
|
|
2248
|
+
return r.items.forEach((i) => {
|
|
2249
|
+
l += t(a, i);
|
|
2250
|
+
}), a(r) + l;
|
|
2236
2251
|
}
|
|
2237
2252
|
return 0;
|
|
2238
2253
|
}
|
|
2239
|
-
const n = U(() => t((
|
|
2240
|
-
var
|
|
2241
|
-
if (
|
|
2242
|
-
let
|
|
2243
|
-
const
|
|
2244
|
-
return
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2254
|
+
const n = U(() => t((a) => {
|
|
2255
|
+
var r, l;
|
|
2256
|
+
if (a.devices) {
|
|
2257
|
+
let i = (r = a.devices) == null ? void 0 : r.filter((m) => m.online);
|
|
2258
|
+
const c = (l = e.controlParams) == null ? void 0 : l.searchStr;
|
|
2259
|
+
return c && (i = i.filter((m) => nt(
|
|
2260
|
+
() => {
|
|
2261
|
+
var f;
|
|
2262
|
+
return m.name.includes(c) || ((f = m.user) == null ? void 0 : f.includes(c)) || m.id.includes(c);
|
|
2263
|
+
}
|
|
2264
|
+
))), i.length;
|
|
2248
2265
|
}
|
|
2249
2266
|
return 0;
|
|
2267
|
+
}, e.countInfo)), o = U(() => t((a) => {
|
|
2268
|
+
var r;
|
|
2269
|
+
if (a.devices) {
|
|
2270
|
+
let l = a.devices;
|
|
2271
|
+
const i = (r = e.controlParams) == null ? void 0 : r.searchStr;
|
|
2272
|
+
return i && (l = l.filter((c) => nt(
|
|
2273
|
+
() => {
|
|
2274
|
+
var m;
|
|
2275
|
+
return c.name.includes(i) || ((m = c.user) == null ? void 0 : m.includes(i)) || c.id.includes(i);
|
|
2276
|
+
}
|
|
2277
|
+
))), l.length;
|
|
2278
|
+
}
|
|
2279
|
+
return a.totalCount;
|
|
2250
2280
|
}, e.countInfo));
|
|
2251
2281
|
return {
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
if (s.devices) {
|
|
2255
|
-
let r = s.devices;
|
|
2256
|
-
const l = (a = e.controlParams) == null ? void 0 : a.searchStr;
|
|
2257
|
-
return l && (r = r.filter((i) => nt(() => {
|
|
2258
|
-
var c;
|
|
2259
|
-
return i.name.includes(l) || ((c = i.user) == null ? void 0 : c.includes(l)) || i.id.includes(l);
|
|
2260
|
-
}))), r.length;
|
|
2261
|
-
}
|
|
2262
|
-
return s.totalCount;
|
|
2263
|
-
}, e.countInfo)),
|
|
2282
|
+
theme: St("theme"),
|
|
2283
|
+
totalCount: o,
|
|
2264
2284
|
onlineCount: n
|
|
2265
2285
|
};
|
|
2266
2286
|
}
|
|
@@ -2270,34 +2290,36 @@ const oe = (e, t) => {
|
|
|
2270
2290
|
for (const [o, s] of t)
|
|
2271
2291
|
n[o] = s;
|
|
2272
2292
|
return n;
|
|
2273
|
-
},
|
|
2274
|
-
function
|
|
2293
|
+
}, Xr = { class: "count-show" }, Jr = { class: "count-show-online" }, Qr = { key: 0 };
|
|
2294
|
+
function qr(e, t, n, o, s, a) {
|
|
2275
2295
|
var r;
|
|
2276
|
-
return
|
|
2296
|
+
return N(), A("div", {
|
|
2297
|
+
class: ke(`root ${e.theme}`)
|
|
2298
|
+
}, [
|
|
2277
2299
|
Y(e.$slots, "default", {
|
|
2278
2300
|
total: e.totalCount,
|
|
2279
2301
|
online: e.onlineCount
|
|
2280
2302
|
}, void 0, !0),
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
(r = e.controlParams) != null && r.onlyShowOnline ? pe("", !0) : (
|
|
2303
|
+
b("span", Xr, [
|
|
2304
|
+
b("span", Jr, j(e.onlineCount), 1),
|
|
2305
|
+
(r = e.controlParams) != null && r.onlyShowOnline ? pe("", !0) : (N(), A("span", Qr, "/" + j(e.totalCount), 1))
|
|
2284
2306
|
])
|
|
2285
|
-
]);
|
|
2307
|
+
], 2);
|
|
2286
2308
|
}
|
|
2287
|
-
const
|
|
2309
|
+
const Io = /* @__PURE__ */ oe(Yr, [["render", qr], ["__scopeId", "data-v-378b853b"]]), To = Object.freeze(
|
|
2288
2310
|
{
|
|
2289
2311
|
left: 0,
|
|
2290
2312
|
top: 0,
|
|
2291
2313
|
width: 16,
|
|
2292
2314
|
height: 16
|
|
2293
2315
|
}
|
|
2294
|
-
),
|
|
2316
|
+
), No = Object.freeze({
|
|
2295
2317
|
rotate: 0,
|
|
2296
2318
|
vFlip: !1,
|
|
2297
2319
|
hFlip: !1
|
|
2298
2320
|
}), Ft = Object.freeze({
|
|
2299
|
-
...
|
|
2300
|
-
...
|
|
2321
|
+
...To,
|
|
2322
|
+
...No
|
|
2301
2323
|
});
|
|
2302
2324
|
Object.freeze({
|
|
2303
2325
|
...Ft,
|
|
@@ -2305,28 +2327,28 @@ Object.freeze({
|
|
|
2305
2327
|
hidden: !1
|
|
2306
2328
|
});
|
|
2307
2329
|
({
|
|
2308
|
-
...
|
|
2330
|
+
...To
|
|
2309
2331
|
});
|
|
2310
|
-
const
|
|
2332
|
+
const So = Object.freeze({
|
|
2311
2333
|
width: null,
|
|
2312
2334
|
height: null
|
|
2313
|
-
}),
|
|
2314
|
-
...
|
|
2315
|
-
...
|
|
2335
|
+
}), Co = Object.freeze({
|
|
2336
|
+
...So,
|
|
2337
|
+
...No
|
|
2316
2338
|
});
|
|
2317
|
-
function
|
|
2339
|
+
function Zr(e, t) {
|
|
2318
2340
|
const n = {
|
|
2319
2341
|
...e
|
|
2320
2342
|
};
|
|
2321
2343
|
for (const o in t) {
|
|
2322
2344
|
const s = t[o], a = typeof s;
|
|
2323
|
-
o in
|
|
2345
|
+
o in So ? (s === null || s && (a === "string" || a === "number")) && (n[o] = s) : a === typeof n[o] && (n[o] = o === "rotate" ? s % 4 : s);
|
|
2324
2346
|
}
|
|
2325
2347
|
return n;
|
|
2326
2348
|
}
|
|
2327
|
-
const
|
|
2328
|
-
function
|
|
2329
|
-
t.split(
|
|
2349
|
+
const ea = /[\s,]+/;
|
|
2350
|
+
function ta(e, t) {
|
|
2351
|
+
t.split(ea).forEach((n) => {
|
|
2330
2352
|
switch (n.trim()) {
|
|
2331
2353
|
case "horizontal":
|
|
2332
2354
|
e.hFlip = !0;
|
|
@@ -2337,7 +2359,7 @@ function Qr(e, t) {
|
|
|
2337
2359
|
}
|
|
2338
2360
|
});
|
|
2339
2361
|
}
|
|
2340
|
-
function
|
|
2362
|
+
function na(e, t = 0) {
|
|
2341
2363
|
const n = e.replace(/^-?[0-9.]*/, "");
|
|
2342
2364
|
function o(s) {
|
|
2343
2365
|
for (; s < 0; )
|
|
@@ -2363,19 +2385,19 @@ function qr(e, t = 0) {
|
|
|
2363
2385
|
}
|
|
2364
2386
|
return t;
|
|
2365
2387
|
}
|
|
2366
|
-
const
|
|
2367
|
-
function
|
|
2388
|
+
const oa = /(-?[0-9.]*[0-9]+[0-9.]*)/g, sa = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2389
|
+
function hn(e, t, n) {
|
|
2368
2390
|
if (t === 1)
|
|
2369
2391
|
return e;
|
|
2370
2392
|
if (n = n || 100, typeof e == "number")
|
|
2371
2393
|
return Math.ceil(e * t * n) / n;
|
|
2372
2394
|
if (typeof e != "string")
|
|
2373
2395
|
return e;
|
|
2374
|
-
const o = e.split(
|
|
2396
|
+
const o = e.split(oa);
|
|
2375
2397
|
if (o === null || !o.length)
|
|
2376
2398
|
return e;
|
|
2377
2399
|
const s = [];
|
|
2378
|
-
let a = o.shift(), r =
|
|
2400
|
+
let a = o.shift(), r = sa.test(a);
|
|
2379
2401
|
for (; ; ) {
|
|
2380
2402
|
if (r) {
|
|
2381
2403
|
const l = parseFloat(a);
|
|
@@ -2387,12 +2409,12 @@ function gn(e, t, n) {
|
|
|
2387
2409
|
r = !r;
|
|
2388
2410
|
}
|
|
2389
2411
|
}
|
|
2390
|
-
function
|
|
2412
|
+
function ra(e, t) {
|
|
2391
2413
|
const n = {
|
|
2392
2414
|
...Ft,
|
|
2393
2415
|
...e
|
|
2394
2416
|
}, o = {
|
|
2395
|
-
...
|
|
2417
|
+
...Co,
|
|
2396
2418
|
...t
|
|
2397
2419
|
}, s = {
|
|
2398
2420
|
left: n.left,
|
|
@@ -2402,109 +2424,109 @@ function ta(e, t) {
|
|
|
2402
2424
|
};
|
|
2403
2425
|
let a = n.body;
|
|
2404
2426
|
[n, o].forEach((d) => {
|
|
2405
|
-
const
|
|
2406
|
-
let
|
|
2407
|
-
v ? y ?
|
|
2427
|
+
const p = [], v = d.hFlip, y = d.vFlip;
|
|
2428
|
+
let g = d.rotate;
|
|
2429
|
+
v ? y ? g += 2 : (p.push(
|
|
2408
2430
|
"translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
|
|
2409
|
-
),
|
|
2431
|
+
), p.push("scale(-1 1)"), s.top = s.left = 0) : y && (p.push(
|
|
2410
2432
|
"translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
|
|
2411
|
-
),
|
|
2412
|
-
let
|
|
2413
|
-
switch (
|
|
2433
|
+
), p.push("scale(1 -1)"), s.top = s.left = 0);
|
|
2434
|
+
let w;
|
|
2435
|
+
switch (g < 0 && (g -= Math.floor(g / 4) * 4), g = g % 4, g) {
|
|
2414
2436
|
case 1:
|
|
2415
|
-
|
|
2416
|
-
"rotate(90 " +
|
|
2437
|
+
w = s.height / 2 + s.top, p.unshift(
|
|
2438
|
+
"rotate(90 " + w.toString() + " " + w.toString() + ")"
|
|
2417
2439
|
);
|
|
2418
2440
|
break;
|
|
2419
2441
|
case 2:
|
|
2420
|
-
|
|
2442
|
+
p.unshift(
|
|
2421
2443
|
"rotate(180 " + (s.width / 2 + s.left).toString() + " " + (s.height / 2 + s.top).toString() + ")"
|
|
2422
2444
|
);
|
|
2423
2445
|
break;
|
|
2424
2446
|
case 3:
|
|
2425
|
-
|
|
2426
|
-
"rotate(-90 " +
|
|
2447
|
+
w = s.width / 2 + s.left, p.unshift(
|
|
2448
|
+
"rotate(-90 " + w.toString() + " " + w.toString() + ")"
|
|
2427
2449
|
);
|
|
2428
2450
|
break;
|
|
2429
2451
|
}
|
|
2430
|
-
|
|
2452
|
+
g % 2 === 1 && (s.left !== s.top && (w = s.left, s.left = s.top, s.top = w), s.width !== s.height && (w = s.width, s.width = s.height, s.height = w)), p.length && (a = '<g transform="' + p.join(" ") + '">' + a + "</g>");
|
|
2431
2453
|
});
|
|
2432
2454
|
const r = o.width, l = o.height, i = s.width, c = s.height;
|
|
2433
|
-
let
|
|
2434
|
-
return r === null ? (f = l === null ? "1em" : l === "auto" ? c : l,
|
|
2455
|
+
let m, f;
|
|
2456
|
+
return r === null ? (f = l === null ? "1em" : l === "auto" ? c : l, m = hn(f, i / c)) : (m = r === "auto" ? i : r, f = l === null ? hn(m, c / i) : l === "auto" ? c : l), {
|
|
2435
2457
|
attributes: {
|
|
2436
|
-
width:
|
|
2458
|
+
width: m.toString(),
|
|
2437
2459
|
height: f.toString(),
|
|
2438
2460
|
viewBox: s.left.toString() + " " + s.top.toString() + " " + i.toString() + " " + c.toString()
|
|
2439
2461
|
},
|
|
2440
2462
|
body: a
|
|
2441
2463
|
};
|
|
2442
2464
|
}
|
|
2443
|
-
const
|
|
2444
|
-
let
|
|
2445
|
-
function
|
|
2465
|
+
const aa = /\sid="(\S+)"/g, la = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
2466
|
+
let ia = 0;
|
|
2467
|
+
function ca(e, t = la) {
|
|
2446
2468
|
const n = [];
|
|
2447
2469
|
let o;
|
|
2448
|
-
for (; o =
|
|
2470
|
+
for (; o = aa.exec(e); )
|
|
2449
2471
|
n.push(o[1]);
|
|
2450
2472
|
return n.length && n.forEach((s) => {
|
|
2451
|
-
const a = typeof t == "function" ? t(s) : t + (
|
|
2473
|
+
const a = typeof t == "function" ? t(s) : t + (ia++).toString(), r = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2452
2474
|
e = e.replace(
|
|
2453
2475
|
new RegExp('([#;"])(' + r + ')([")]|\\.[a-z])', "g"),
|
|
2454
2476
|
"$1" + a + "$3"
|
|
2455
2477
|
);
|
|
2456
2478
|
}), e;
|
|
2457
2479
|
}
|
|
2458
|
-
function
|
|
2480
|
+
function ua(e, t) {
|
|
2459
2481
|
let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
2460
2482
|
for (const o in t)
|
|
2461
2483
|
n += " " + o + '="' + t[o] + '"';
|
|
2462
2484
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
|
|
2463
2485
|
}
|
|
2464
|
-
function
|
|
2486
|
+
function da(e) {
|
|
2465
2487
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
2466
2488
|
}
|
|
2467
|
-
function
|
|
2468
|
-
return 'url("data:image/svg+xml,' +
|
|
2489
|
+
function fa(e) {
|
|
2490
|
+
return 'url("data:image/svg+xml,' + da(e) + '")';
|
|
2469
2491
|
}
|
|
2470
|
-
const
|
|
2471
|
-
...
|
|
2492
|
+
const vn = {
|
|
2493
|
+
...Co,
|
|
2472
2494
|
inline: !1
|
|
2473
|
-
},
|
|
2495
|
+
}, _a = {
|
|
2474
2496
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2475
2497
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
2476
2498
|
"aria-hidden": !0,
|
|
2477
2499
|
role: "img"
|
|
2478
|
-
},
|
|
2500
|
+
}, ma = {
|
|
2479
2501
|
display: "inline-block"
|
|
2480
|
-
},
|
|
2502
|
+
}, Tt = {
|
|
2481
2503
|
backgroundColor: "currentColor"
|
|
2482
|
-
},
|
|
2504
|
+
}, Ao = {
|
|
2483
2505
|
backgroundColor: "transparent"
|
|
2484
|
-
},
|
|
2506
|
+
}, yn = {
|
|
2485
2507
|
Image: "var(--svg)",
|
|
2486
2508
|
Repeat: "no-repeat",
|
|
2487
2509
|
Size: "100% 100%"
|
|
2488
|
-
},
|
|
2489
|
-
webkitMask:
|
|
2490
|
-
mask:
|
|
2491
|
-
background:
|
|
2510
|
+
}, En = {
|
|
2511
|
+
webkitMask: Tt,
|
|
2512
|
+
mask: Tt,
|
|
2513
|
+
background: Ao
|
|
2492
2514
|
};
|
|
2493
|
-
for (const e in
|
|
2494
|
-
const t =
|
|
2495
|
-
for (const n in
|
|
2496
|
-
t[e + n] =
|
|
2515
|
+
for (const e in En) {
|
|
2516
|
+
const t = En[e];
|
|
2517
|
+
for (const n in yn)
|
|
2518
|
+
t[e + n] = yn[n];
|
|
2497
2519
|
}
|
|
2498
|
-
const
|
|
2520
|
+
const qe = {};
|
|
2499
2521
|
["horizontal", "vertical"].forEach((e) => {
|
|
2500
2522
|
const t = e.slice(0, 1) + "Flip";
|
|
2501
|
-
|
|
2523
|
+
qe[e + "-flip"] = t, qe[e.slice(0, 1) + "-flip"] = t, qe[e + "Flip"] = t;
|
|
2502
2524
|
});
|
|
2503
|
-
function
|
|
2525
|
+
function wn(e) {
|
|
2504
2526
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
2505
2527
|
}
|
|
2506
|
-
const
|
|
2507
|
-
const n =
|
|
2528
|
+
const pa = (e, t) => {
|
|
2529
|
+
const n = Zr(vn, t), o = { ..._a }, s = t.mode || "svg", a = {}, r = t.style, l = typeof r == "object" && !(r instanceof Array) ? r : {};
|
|
2508
2530
|
for (let v in t) {
|
|
2509
2531
|
const y = t[v];
|
|
2510
2532
|
if (y !== void 0)
|
|
@@ -2520,69 +2542,69 @@ const da = (e, t) => {
|
|
|
2520
2542
|
n[v] = y === !0 || y === "true" || y === 1;
|
|
2521
2543
|
break;
|
|
2522
2544
|
case "flip":
|
|
2523
|
-
typeof y == "string" &&
|
|
2545
|
+
typeof y == "string" && ta(n, y);
|
|
2524
2546
|
break;
|
|
2525
2547
|
case "color":
|
|
2526
2548
|
a.color = y;
|
|
2527
2549
|
break;
|
|
2528
2550
|
case "rotate":
|
|
2529
|
-
typeof y == "string" ? n[v] =
|
|
2551
|
+
typeof y == "string" ? n[v] = na(y) : typeof y == "number" && (n[v] = y);
|
|
2530
2552
|
break;
|
|
2531
2553
|
case "ariaHidden":
|
|
2532
2554
|
case "aria-hidden":
|
|
2533
2555
|
y !== !0 && y !== "true" && delete o["aria-hidden"];
|
|
2534
2556
|
break;
|
|
2535
2557
|
default: {
|
|
2536
|
-
const
|
|
2537
|
-
|
|
2558
|
+
const g = qe[v];
|
|
2559
|
+
g ? (y === !0 || y === "true" || y === 1) && (n[g] = !0) : vn[v] === void 0 && (o[v] = y);
|
|
2538
2560
|
}
|
|
2539
2561
|
}
|
|
2540
2562
|
}
|
|
2541
|
-
const i =
|
|
2563
|
+
const i = ra(e, n), c = i.attributes;
|
|
2542
2564
|
if (n.inline && (a.verticalAlign = "-0.125em"), s === "svg") {
|
|
2543
2565
|
o.style = {
|
|
2544
2566
|
...a,
|
|
2545
2567
|
...l
|
|
2546
2568
|
}, Object.assign(o, c);
|
|
2547
2569
|
let v = 0, y = t.id;
|
|
2548
|
-
return typeof y == "string" && (y = y.replace(/-/g, "_")), o.innerHTML =
|
|
2570
|
+
return typeof y == "string" && (y = y.replace(/-/g, "_")), o.innerHTML = ca(i.body, y ? () => y + "ID" + v++ : "iconifyVue"), Ze("svg", o);
|
|
2549
2571
|
}
|
|
2550
|
-
const { body:
|
|
2572
|
+
const { body: m, width: f, height: u } = e, d = s === "mask" || (s === "bg" ? !1 : m.indexOf("currentColor") !== -1), p = ua(m, {
|
|
2551
2573
|
...c,
|
|
2552
2574
|
width: f + "",
|
|
2553
2575
|
height: u + ""
|
|
2554
2576
|
});
|
|
2555
2577
|
return o.style = {
|
|
2556
2578
|
...a,
|
|
2557
|
-
"--svg":
|
|
2558
|
-
width:
|
|
2559
|
-
height:
|
|
2560
|
-
...
|
|
2561
|
-
...d ?
|
|
2579
|
+
"--svg": fa(p),
|
|
2580
|
+
width: wn(c.width),
|
|
2581
|
+
height: wn(c.height),
|
|
2582
|
+
...ma,
|
|
2583
|
+
...d ? Tt : Ao,
|
|
2562
2584
|
...l
|
|
2563
|
-
},
|
|
2564
|
-
},
|
|
2565
|
-
function
|
|
2566
|
-
|
|
2585
|
+
}, Ze("span", o);
|
|
2586
|
+
}, Do = /* @__PURE__ */ Object.create(null);
|
|
2587
|
+
function Se(e, t) {
|
|
2588
|
+
Do[e] = t;
|
|
2567
2589
|
}
|
|
2568
2590
|
const it = Q({
|
|
2569
2591
|
inheritAttrs: !1,
|
|
2570
2592
|
render() {
|
|
2571
|
-
const e = this.$attrs, t = e.icon, n = typeof t == "string" ?
|
|
2572
|
-
return n === null || typeof n != "object" || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null :
|
|
2593
|
+
const e = this.$attrs, t = e.icon, n = typeof t == "string" ? Do[t] : typeof t == "object" ? t : null;
|
|
2594
|
+
return n === null || typeof n != "object" || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : pa({
|
|
2573
2595
|
...Ft,
|
|
2574
2596
|
...n
|
|
2575
2597
|
}, e);
|
|
2576
2598
|
}
|
|
2577
2599
|
});
|
|
2578
|
-
var
|
|
2600
|
+
var ga = Object.defineProperty, ha = Object.defineProperties, va = Object.getOwnPropertyDescriptors, bn = Object.getOwnPropertySymbols, ya = Object.prototype.hasOwnProperty, Ea = Object.prototype.propertyIsEnumerable, Ln = (e, t, n) => t in e ? ga(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, On = (e, t) => {
|
|
2579
2601
|
for (var n in t || (t = {}))
|
|
2580
|
-
|
|
2602
|
+
ya.call(t, n) && Ln(e, n, t[n]);
|
|
2581
2603
|
if (bn)
|
|
2582
2604
|
for (var n of bn(t))
|
|
2583
|
-
|
|
2605
|
+
Ea.call(t, n) && Ln(e, n, t[n]);
|
|
2584
2606
|
return e;
|
|
2585
|
-
},
|
|
2607
|
+
}, wa = (e, t) => ha(e, va(t)), ba = (e, t, n) => new Promise((o, s) => {
|
|
2586
2608
|
var a = (i) => {
|
|
2587
2609
|
try {
|
|
2588
2610
|
l(n.next(i));
|
|
@@ -2598,7 +2620,7 @@ var fa = Object.defineProperty, _a = Object.defineProperties, ma = Object.getOwn
|
|
|
2598
2620
|
}, l = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(a, r);
|
|
2599
2621
|
l((n = n.apply(e, t)).next());
|
|
2600
2622
|
});
|
|
2601
|
-
const
|
|
2623
|
+
const La = {
|
|
2602
2624
|
name: "VirtualList",
|
|
2603
2625
|
props: {
|
|
2604
2626
|
listData: {
|
|
@@ -2612,22 +2634,22 @@ const ya = {
|
|
|
2612
2634
|
},
|
|
2613
2635
|
setup(e) {
|
|
2614
2636
|
const t = {
|
|
2615
|
-
screenHeight:
|
|
2616
|
-
startOffset:
|
|
2617
|
-
start:
|
|
2618
|
-
end:
|
|
2619
|
-
}, n =
|
|
2637
|
+
screenHeight: k(0),
|
|
2638
|
+
startOffset: k(0),
|
|
2639
|
+
start: k(0),
|
|
2640
|
+
end: k(0)
|
|
2641
|
+
}, n = k(), o = {
|
|
2620
2642
|
listHeight: U(() => e.listData.length * e.itemSize),
|
|
2621
2643
|
visibleCount: U(() => Math.ceil(t.screenHeight.value / e.itemSize)),
|
|
2622
2644
|
getTransform: U(() => `translate3d(0,${t.startOffset.value}px,0)`),
|
|
2623
2645
|
visibleData: U(() => e.listData.slice(t.start.value, Math.min(t.end.value, e.listData.length)))
|
|
2624
2646
|
};
|
|
2625
|
-
return
|
|
2647
|
+
return On(wa(On({}, o), {
|
|
2626
2648
|
virList: n
|
|
2627
2649
|
}), t);
|
|
2628
2650
|
},
|
|
2629
2651
|
mounted() {
|
|
2630
|
-
this.init(), Me(() => this.listData.length, () =>
|
|
2652
|
+
this.init(), Me(() => this.listData.length, () => ba(this, null, function* () {
|
|
2631
2653
|
yield this.$nextTick(), this.init();
|
|
2632
2654
|
}));
|
|
2633
2655
|
},
|
|
@@ -2643,21 +2665,21 @@ const ya = {
|
|
|
2643
2665
|
}
|
|
2644
2666
|
}
|
|
2645
2667
|
};
|
|
2646
|
-
function
|
|
2647
|
-
return
|
|
2668
|
+
function Oa(e, t, n, o, s, a) {
|
|
2669
|
+
return N(), A("div", {
|
|
2648
2670
|
ref: "virList",
|
|
2649
2671
|
class: "infinite-list-container",
|
|
2650
2672
|
onScroll: t[0] || (t[0] = (r) => a.scrollEvent())
|
|
2651
2673
|
}, [
|
|
2652
|
-
|
|
2674
|
+
b("div", {
|
|
2653
2675
|
class: "infinite-list-phantom",
|
|
2654
2676
|
style: _e({ height: e.listHeight + "px" })
|
|
2655
2677
|
}, null, 4),
|
|
2656
|
-
|
|
2678
|
+
b("div", {
|
|
2657
2679
|
class: "infinite-list",
|
|
2658
2680
|
style: _e({ transform: e.getTransform })
|
|
2659
2681
|
}, [
|
|
2660
|
-
(
|
|
2682
|
+
(N(!0), A(ue, null, Ee(e.visibleData, (r) => (N(), A("div", {
|
|
2661
2683
|
ref_for: !0,
|
|
2662
2684
|
ref: "items",
|
|
2663
2685
|
class: "infinite-list-item",
|
|
@@ -2669,19 +2691,19 @@ function Ea(e, t, n, o, s, a) {
|
|
|
2669
2691
|
], 4)
|
|
2670
2692
|
], 544);
|
|
2671
2693
|
}
|
|
2672
|
-
const
|
|
2673
|
-
var
|
|
2694
|
+
const Ia = /* @__PURE__ */ oe(La, [["render", Oa], ["__scopeId", "data-v-12d2a294"]]);
|
|
2695
|
+
var Ta = Object.defineProperty, Na = Object.defineProperties, Sa = Object.getOwnPropertyDescriptors, In = Object.getOwnPropertySymbols, Ca = Object.prototype.hasOwnProperty, Aa = Object.prototype.propertyIsEnumerable, Tn = (e, t, n) => t in e ? Ta(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Da = (e, t) => {
|
|
2674
2696
|
for (var n in t || (t = {}))
|
|
2675
|
-
|
|
2676
|
-
if (
|
|
2677
|
-
for (var n of
|
|
2678
|
-
|
|
2697
|
+
Ca.call(t, n) && Tn(e, n, t[n]);
|
|
2698
|
+
if (In)
|
|
2699
|
+
for (var n of In(t))
|
|
2700
|
+
Aa.call(t, n) && Tn(e, n, t[n]);
|
|
2679
2701
|
return e;
|
|
2680
|
-
},
|
|
2681
|
-
const
|
|
2702
|
+
}, Pa = (e, t) => Na(e, Sa(t));
|
|
2703
|
+
const $a = Q({
|
|
2682
2704
|
components: {
|
|
2683
|
-
VirtualList:
|
|
2684
|
-
CountShow:
|
|
2705
|
+
VirtualList: Ia,
|
|
2706
|
+
CountShow: Io,
|
|
2685
2707
|
Icon: it
|
|
2686
2708
|
},
|
|
2687
2709
|
name: "group-show",
|
|
@@ -2691,20 +2713,20 @@ const Ca = Q({
|
|
|
2691
2713
|
uiParams: Object
|
|
2692
2714
|
},
|
|
2693
2715
|
setup(e, t) {
|
|
2694
|
-
const n =
|
|
2716
|
+
const n = Br(), o = Kr(), s = k(), a = St("theme"), r = {
|
|
2695
2717
|
filterDevice(d) {
|
|
2696
|
-
var
|
|
2718
|
+
var p;
|
|
2697
2719
|
let v = !0;
|
|
2698
2720
|
v = nt(() => {
|
|
2699
|
-
var
|
|
2700
|
-
return (
|
|
2721
|
+
var g, w, S, T;
|
|
2722
|
+
return (g = e.controlParams) != null && g.searchStr ? d.name.includes((w = e.controlParams) == null ? void 0 : w.searchStr) || d.id.includes((S = e.controlParams) == null ? void 0 : S.searchStr) || typeof d.user == "string" && d.user.includes((T = e.controlParams) == null ? void 0 : T.searchStr) : v;
|
|
2701
2723
|
});
|
|
2702
2724
|
let y = !0;
|
|
2703
|
-
return (
|
|
2725
|
+
return (p = e.controlParams) != null && p.onlyShowOnline && (y = d.online), v && y;
|
|
2704
2726
|
},
|
|
2705
2727
|
deviceText(d) {
|
|
2706
|
-
const
|
|
2707
|
-
return d.user ? n.value ==
|
|
2728
|
+
const p = `${o.value ? "" : `[${d.id}] `}`;
|
|
2729
|
+
return d.user ? n.value == vo.PUFirst ? d.name.length > 0 ? `${d.name} ${p}[${d.user}]` : ` ${p}[${d.user}]` : d.name.length > 0 ? `${d.user} ${p}[${d.name}]` : `${d.user} ${p}[]` : d.name.length > 0 ? `${d.name} ${p}` : ` ${p}`;
|
|
2708
2730
|
},
|
|
2709
2731
|
groupText(d) {
|
|
2710
2732
|
if (d)
|
|
@@ -2713,109 +2735,111 @@ const Ca = Q({
|
|
|
2713
2735
|
}, l = {
|
|
2714
2736
|
filteredDevices: U(() => {
|
|
2715
2737
|
var d;
|
|
2716
|
-
const
|
|
2717
|
-
return v.filter((
|
|
2738
|
+
const p = (d = e.deviceGroup) == null ? void 0 : d.devices, v = p && p.filter((g) => r.filterDevice(g)) || [];
|
|
2739
|
+
return v.filter((g) => g.online).concat(v.filter((g) => !g.online));
|
|
2718
2740
|
})
|
|
2719
2741
|
}, i = U(() => l.filteredDevices.value.length > 10 ? "400px" : `${l.filteredDevices.value.length * 40}px`);
|
|
2720
|
-
function c(d,
|
|
2742
|
+
function c(d, p) {
|
|
2721
2743
|
return nt(() => {
|
|
2722
|
-
if (
|
|
2744
|
+
if (p.length == 0)
|
|
2723
2745
|
return !0;
|
|
2724
2746
|
let v = !1;
|
|
2725
|
-
if ((d == null ? void 0 : d.name.indexOf(
|
|
2747
|
+
if ((d == null ? void 0 : d.name.indexOf(p)) > 0 && (v = !0), v || (v = (d == null ? void 0 : d.devices.find(
|
|
2748
|
+
(y) => y.name.includes(p) || y.id.includes(p) || y.user && y.user.includes(p)
|
|
2749
|
+
)) != null), !v) {
|
|
2726
2750
|
for (let y = 0; y < d.items.length; y++)
|
|
2727
|
-
if (c(d.items[y],
|
|
2751
|
+
if (c(d.items[y], p))
|
|
2728
2752
|
return !0;
|
|
2729
2753
|
}
|
|
2730
2754
|
return v;
|
|
2731
2755
|
});
|
|
2732
2756
|
}
|
|
2733
|
-
const
|
|
2757
|
+
const m = U(() => {
|
|
2734
2758
|
if (e.controlParams) {
|
|
2735
2759
|
const d = e.controlParams.searchStr;
|
|
2736
2760
|
if (e.deviceGroup)
|
|
2737
2761
|
return e.deviceGroup.id === "PGRoot" && e.deviceGroup.devices.length <= 0 ? !1 : c(e.deviceGroup, d);
|
|
2738
2762
|
}
|
|
2739
2763
|
return !1;
|
|
2740
|
-
}), f =
|
|
2764
|
+
}), f = k(!1);
|
|
2741
2765
|
function u() {
|
|
2742
2766
|
var d;
|
|
2743
2767
|
(d = e.uiParams) != null && d.dbclickExpandsDisable || (f.value = !f.value);
|
|
2744
2768
|
}
|
|
2745
|
-
return
|
|
2769
|
+
return Pa(Da({
|
|
2746
2770
|
OnHeadDbClick: u,
|
|
2747
2771
|
innerUtils: r
|
|
2748
2772
|
}, l), {
|
|
2749
2773
|
devicePanelHeight: i,
|
|
2750
|
-
showGroup:
|
|
2774
|
+
showGroup: m,
|
|
2751
2775
|
bShow: f,
|
|
2752
2776
|
theme: a,
|
|
2753
2777
|
countRef: s
|
|
2754
2778
|
});
|
|
2755
2779
|
}
|
|
2756
2780
|
});
|
|
2757
|
-
const
|
|
2781
|
+
const Ma = {
|
|
2758
2782
|
key: 0,
|
|
2759
2783
|
class: "head-op"
|
|
2760
|
-
},
|
|
2784
|
+
}, ka = {
|
|
2761
2785
|
key: 1,
|
|
2762
2786
|
style: { display: "inline-block", width: "25px" }
|
|
2763
|
-
},
|
|
2787
|
+
}, Ra = {
|
|
2764
2788
|
key: 0,
|
|
2765
2789
|
class: "group-head-count"
|
|
2766
|
-
},
|
|
2790
|
+
}, xa = ["title"], Fa = { class: "group-slot" }, Va = {
|
|
2767
2791
|
key: 0,
|
|
2768
2792
|
style: { "margin-left": "26px" }
|
|
2769
|
-
},
|
|
2770
|
-
function
|
|
2793
|
+
}, Ua = ["title"], Ga = { class: "device-slot" };
|
|
2794
|
+
function za(e, t, n, o, s, a) {
|
|
2771
2795
|
var r, l, i;
|
|
2772
|
-
const c = fe("Icon"),
|
|
2773
|
-
return e.showGroup ?
|
|
2796
|
+
const c = fe("Icon"), m = fe("CountShow"), f = fe("group-show"), u = fe("VirtualList");
|
|
2797
|
+
return e.showGroup ? Vn((N(), A("div", {
|
|
2774
2798
|
key: 0,
|
|
2775
|
-
class:
|
|
2799
|
+
class: ke("group " + e.theme)
|
|
2776
2800
|
}, [
|
|
2777
|
-
|
|
2801
|
+
B(m, {
|
|
2778
2802
|
countInfo: e.deviceGroup,
|
|
2779
2803
|
controlParams: e.controlParams,
|
|
2780
2804
|
ref: "countRef"
|
|
2781
2805
|
}, {
|
|
2782
|
-
default: te(({ online: d, total:
|
|
2806
|
+
default: te(({ online: d, total: p }) => {
|
|
2783
2807
|
var v, y;
|
|
2784
2808
|
return [
|
|
2785
|
-
e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (
|
|
2786
|
-
|
|
2809
|
+
e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (N(), A("span", Ma, [
|
|
2810
|
+
B(c, {
|
|
2787
2811
|
icon: e.bShow ? "minus" : "plus",
|
|
2788
2812
|
width: "20",
|
|
2789
|
-
onClick: t[0] || (t[0] = (
|
|
2813
|
+
onClick: t[0] || (t[0] = (g) => e.bShow = !e.bShow),
|
|
2790
2814
|
class: "handle-ls-svg"
|
|
2791
2815
|
}, null, 8, ["icon"])
|
|
2792
|
-
])) : (
|
|
2793
|
-
|
|
2816
|
+
])) : (N(), A("span", ka)),
|
|
2817
|
+
b("span", {
|
|
2794
2818
|
class: "group-head-db-click",
|
|
2795
|
-
onDblclick: t[1] || (t[1] = (...
|
|
2819
|
+
onDblclick: t[1] || (t[1] = (...g) => e.OnHeadDbClick && e.OnHeadDbClick(...g))
|
|
2796
2820
|
}, [
|
|
2797
|
-
|
|
2821
|
+
B(c, {
|
|
2798
2822
|
icon: e.bShow ? "group" : "group-closed",
|
|
2799
2823
|
width: "24",
|
|
2800
2824
|
class: "group-avatar"
|
|
2801
2825
|
}, null, 8, ["icon"]),
|
|
2802
|
-
e.bShow ? pe("", !0) : (
|
|
2826
|
+
e.bShow ? pe("", !0) : (N(), A("span", Ra, j((v = e.deviceGroup) == null ? void 0 : v.items.length), 1)),
|
|
2803
2827
|
Y(e.$slots, "groupHead", { group: e.deviceGroup }, void 0, !0),
|
|
2804
|
-
|
|
2828
|
+
b("span", {
|
|
2805
2829
|
class: "group-name",
|
|
2806
2830
|
title: (y = e.deviceGroup) == null ? void 0 : y.name
|
|
2807
|
-
},
|
|
2831
|
+
}, j(e.innerUtils.groupText(e.deviceGroup)), 9, xa)
|
|
2808
2832
|
], 32),
|
|
2809
|
-
|
|
2833
|
+
b("div", Fa, [
|
|
2810
2834
|
Y(e.$slots, "group", { group: e.deviceGroup }, void 0, !0)
|
|
2811
2835
|
])
|
|
2812
2836
|
];
|
|
2813
2837
|
}),
|
|
2814
2838
|
_: 3
|
|
2815
2839
|
}, 8, ["countInfo", "controlParams"]),
|
|
2816
|
-
e.bShow ? (
|
|
2817
|
-
(
|
|
2818
|
-
key:
|
|
2840
|
+
e.bShow ? (N(), A("div", Va, [
|
|
2841
|
+
(N(!0), A(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (d, p) => (N(), Fe(f, {
|
|
2842
|
+
key: p,
|
|
2819
2843
|
deviceGroup: d,
|
|
2820
2844
|
"ui-params": e.uiParams,
|
|
2821
2845
|
controlParams: e.controlParams
|
|
@@ -2840,19 +2864,19 @@ function xa(e, t, n, o, s, a) {
|
|
|
2840
2864
|
]),
|
|
2841
2865
|
_: 2
|
|
2842
2866
|
}, 1032, ["deviceGroup", "ui-params", "controlParams"]))), 128)),
|
|
2843
|
-
|
|
2867
|
+
b("div", {
|
|
2844
2868
|
class: "device-show-div",
|
|
2845
2869
|
style: _e(`height: ${e.filteredDevices.length > 10 ? "400px" : `${e.filteredDevices.length * 40}px`}`)
|
|
2846
2870
|
}, [
|
|
2847
|
-
|
|
2871
|
+
B(u, {
|
|
2848
2872
|
"list-data": e.filteredDevices,
|
|
2849
2873
|
"item-size": 40
|
|
2850
2874
|
}, {
|
|
2851
2875
|
default: te(({ data: d }) => [
|
|
2852
|
-
|
|
2853
|
-
class:
|
|
2876
|
+
b("div", {
|
|
2877
|
+
class: ke(d.online && "online-device")
|
|
2854
2878
|
}, [
|
|
2855
|
-
|
|
2879
|
+
B(c, {
|
|
2856
2880
|
icon: "user",
|
|
2857
2881
|
width: "16",
|
|
2858
2882
|
class: "device-avatar"
|
|
@@ -2861,11 +2885,11 @@ function xa(e, t, n, o, s, a) {
|
|
|
2861
2885
|
device: d,
|
|
2862
2886
|
group: e.deviceGroup
|
|
2863
2887
|
}, void 0, !0),
|
|
2864
|
-
|
|
2888
|
+
b("span", {
|
|
2865
2889
|
title: e.innerUtils.deviceText(d),
|
|
2866
2890
|
class: "device-name"
|
|
2867
|
-
},
|
|
2868
|
-
|
|
2891
|
+
}, j(e.innerUtils.deviceText(d)), 9, Ua),
|
|
2892
|
+
b("div", Ga, [
|
|
2869
2893
|
Y(e.$slots, "device", {
|
|
2870
2894
|
device: d,
|
|
2871
2895
|
group: e.deviceGroup
|
|
@@ -2878,44 +2902,44 @@ function xa(e, t, n, o, s, a) {
|
|
|
2878
2902
|
], 4)
|
|
2879
2903
|
])) : pe("", !0)
|
|
2880
2904
|
], 2)), [
|
|
2881
|
-
[
|
|
2905
|
+
[Un, !((l = e.controlParams) != null && l.onlyShowOnline) || ((i = e.countRef) == null ? void 0 : i.onlineCount)]
|
|
2882
2906
|
]) : pe("", !0);
|
|
2883
2907
|
}
|
|
2884
|
-
const
|
|
2908
|
+
const Ha = /* @__PURE__ */ oe($a, [["render", za], ["__scopeId", "data-v-fe6756c5"]]), ja = {
|
|
2885
2909
|
width: 1024,
|
|
2886
2910
|
height: 1024,
|
|
2887
2911
|
body: '<path fill="currentColor" d="M384 192v640l384-320.064z"/>'
|
|
2888
|
-
},
|
|
2912
|
+
}, Wa = {
|
|
2889
2913
|
width: 1024,
|
|
2890
2914
|
height: 1024,
|
|
2891
2915
|
body: '<path fill="currentColor" d="M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384H832zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896z"/>'
|
|
2892
|
-
},
|
|
2916
|
+
}, Ba = {
|
|
2893
2917
|
width: 1024,
|
|
2894
2918
|
height: 1024,
|
|
2895
2919
|
body: '<path fill="currentColor" d="M128 192v640h768V320H485.76L357.504 192H128zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32z"/>'
|
|
2896
|
-
},
|
|
2920
|
+
}, Ka = {
|
|
2897
2921
|
width: 1024,
|
|
2898
2922
|
height: 1024,
|
|
2899
2923
|
body: '<path fill="currentColor" d="M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704l116.736-175.104zM720 304a208 208 0 1 1-416 0a208 208 0 0 1 416 0z"/>'
|
|
2900
|
-
},
|
|
2924
|
+
}, Ya = {
|
|
2901
2925
|
width: 1024,
|
|
2902
2926
|
height: 1024,
|
|
2903
2927
|
body: '<path fill="currentColor" d="M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"/>'
|
|
2904
|
-
},
|
|
2928
|
+
}, Xa = {
|
|
2905
2929
|
width: 1024,
|
|
2906
2930
|
height: 1024,
|
|
2907
2931
|
body: '<path fill="currentColor" d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"/>'
|
|
2908
2932
|
};
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
const
|
|
2933
|
+
Se("right", ja);
|
|
2934
|
+
Se("group", Wa);
|
|
2935
|
+
Se("group-closed", Ba);
|
|
2936
|
+
Se("user", Ka);
|
|
2937
|
+
Se("plus", Ya);
|
|
2938
|
+
Se("minus", Xa);
|
|
2939
|
+
const Ja = Q({
|
|
2916
2940
|
components: {
|
|
2917
|
-
CountShow:
|
|
2918
|
-
GroupShow:
|
|
2941
|
+
CountShow: Io,
|
|
2942
|
+
GroupShow: Ha
|
|
2919
2943
|
},
|
|
2920
2944
|
props: {
|
|
2921
2945
|
deviceGroup: Object,
|
|
@@ -2940,46 +2964,50 @@ const Ba = Q({
|
|
|
2940
2964
|
}
|
|
2941
2965
|
},
|
|
2942
2966
|
setup(e) {
|
|
2943
|
-
|
|
2944
|
-
|
|
2967
|
+
const t = jr(), n = U(() => t.value == yo.BACKGROUND_WHITE ? "" : "dark");
|
|
2968
|
+
ns("theme", n);
|
|
2969
|
+
const o = k({
|
|
2945
2970
|
onlyShowOnline: !1,
|
|
2946
2971
|
searchStr: ""
|
|
2947
|
-
}),
|
|
2972
|
+
}), s = k(), a = k();
|
|
2948
2973
|
return {
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2974
|
+
theme: n,
|
|
2975
|
+
i18nT: Te,
|
|
2976
|
+
inputShowOnlineOnly: s,
|
|
2977
|
+
inputSearchRef: a,
|
|
2978
|
+
controlParams: o
|
|
2953
2979
|
};
|
|
2954
2980
|
}
|
|
2955
2981
|
});
|
|
2956
|
-
const
|
|
2957
|
-
function
|
|
2982
|
+
const Qa = { class: "search-panel" }, qa = { for: "onlineShow" }, Za = { class: "device-panel" };
|
|
2983
|
+
function el(e, t, n, o, s, a) {
|
|
2958
2984
|
var r;
|
|
2959
2985
|
const l = fe("CountShow"), i = fe("group-show");
|
|
2960
|
-
return
|
|
2961
|
-
|
|
2962
|
-
|
|
2986
|
+
return N(), A("div", {
|
|
2987
|
+
class: ke(`device-group-list ${e.theme}`)
|
|
2988
|
+
}, [
|
|
2989
|
+
b("div", Qa, [
|
|
2990
|
+
B(l, {
|
|
2963
2991
|
countInfo: e.deviceGroup,
|
|
2964
2992
|
"control-params": e.controlParams
|
|
2965
2993
|
}, {
|
|
2966
2994
|
default: te(() => [
|
|
2967
|
-
|
|
2995
|
+
b("input", {
|
|
2968
2996
|
type: "checkbox",
|
|
2969
2997
|
id: "onlineShow",
|
|
2970
2998
|
value: "onlineShow",
|
|
2971
2999
|
onChange: t[0] || (t[0] = () => e.onCheckBoxChange()),
|
|
2972
3000
|
ref: "inputShowOnlineOnly"
|
|
2973
3001
|
}, null, 544),
|
|
2974
|
-
|
|
3002
|
+
b("label", qa, j(e.i18nT("zhi-xian-shi-zai-xian-she-bei")), 1)
|
|
2975
3003
|
]),
|
|
2976
3004
|
_: 1
|
|
2977
3005
|
}, 8, ["countInfo", "control-params"])
|
|
2978
3006
|
]),
|
|
2979
|
-
|
|
2980
|
-
(
|
|
3007
|
+
b("div", Za, [
|
|
3008
|
+
(N(!0), A(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (c, m) => (N(), Fe(i, {
|
|
2981
3009
|
controlParams: e.controlParams,
|
|
2982
|
-
key:
|
|
3010
|
+
key: m,
|
|
2983
3011
|
"ui-params": e.uiControl,
|
|
2984
3012
|
deviceGroup: c
|
|
2985
3013
|
}, {
|
|
@@ -3004,19 +3032,19 @@ function Qa(e, t, n, o, s, a) {
|
|
|
3004
3032
|
_: 2
|
|
3005
3033
|
}, 1032, ["controlParams", "ui-params", "deviceGroup"]))), 128))
|
|
3006
3034
|
])
|
|
3007
|
-
]);
|
|
3035
|
+
], 2);
|
|
3008
3036
|
}
|
|
3009
|
-
const
|
|
3010
|
-
var
|
|
3037
|
+
const tl = /* @__PURE__ */ oe(Ja, [["render", el], ["__scopeId", "data-v-d00c2061"]]);
|
|
3038
|
+
var nl = Object.defineProperty, ol = Object.defineProperties, sl = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, rl = Object.prototype.hasOwnProperty, al = Object.prototype.propertyIsEnumerable, Sn = (e, t, n) => t in e ? nl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Po = (e, t) => {
|
|
3011
3039
|
for (var n in t || (t = {}))
|
|
3012
|
-
|
|
3013
|
-
if (
|
|
3014
|
-
for (var n of
|
|
3015
|
-
|
|
3040
|
+
rl.call(t, n) && Sn(e, n, t[n]);
|
|
3041
|
+
if (Nn)
|
|
3042
|
+
for (var n of Nn(t))
|
|
3043
|
+
al.call(t, n) && Sn(e, n, t[n]);
|
|
3016
3044
|
return e;
|
|
3017
|
-
},
|
|
3018
|
-
const He = 6,
|
|
3019
|
-
function
|
|
3045
|
+
}, ll = (e, t) => ol(e, sl(t));
|
|
3046
|
+
const He = 6, Cn = He * 2;
|
|
3047
|
+
function il(e, t) {
|
|
3020
3048
|
return e.map(
|
|
3021
3049
|
({
|
|
3022
3050
|
leftTop: { col: n, row: o },
|
|
@@ -3024,13 +3052,13 @@ function rl(e, t) {
|
|
|
3024
3052
|
}) => `<line x1="${n * t.col + He}" y1="${o * t.row + He}" x2="${s * t.col + He}" y2="${a * t.row + He}" stroke="black" stroke-width="5"/>`
|
|
3025
3053
|
).join(" ");
|
|
3026
3054
|
}
|
|
3027
|
-
function
|
|
3055
|
+
function cl(e, t, n) {
|
|
3028
3056
|
return n.findIndex((o) => e >= o.leftTop.row && e < o.rightBottom.row && t >= o.leftTop.col && t < o.rightBottom.col) >= 0;
|
|
3029
3057
|
}
|
|
3030
|
-
function
|
|
3058
|
+
function ul(e, t, n) {
|
|
3031
3059
|
n.forEach((o) => {
|
|
3032
|
-
const s =
|
|
3033
|
-
id:
|
|
3060
|
+
const s = ll(Po({}, o.leftTop), {
|
|
3061
|
+
id: $o(o.leftTop),
|
|
3034
3062
|
layout: {
|
|
3035
3063
|
left: 100 / t.col * o.leftTop.col,
|
|
3036
3064
|
top: 100 / t.row * o.leftTop.row,
|
|
@@ -3043,11 +3071,11 @@ function ll(e, t, n) {
|
|
|
3043
3071
|
e.push(s);
|
|
3044
3072
|
});
|
|
3045
3073
|
}
|
|
3046
|
-
function
|
|
3074
|
+
function $o(e) {
|
|
3047
3075
|
return `${e.row}-${e.col}`;
|
|
3048
3076
|
}
|
|
3049
|
-
const
|
|
3050
|
-
function
|
|
3077
|
+
const An = "ComponentsDefaultLayoutKeyAF84566", Dn = "ComponentsCustomLayoutsKeyAF84566";
|
|
3078
|
+
function dl(e) {
|
|
3051
3079
|
const t = [], n = [];
|
|
3052
3080
|
for (let o = 0; o < e.points.length / 2; o++)
|
|
3053
3081
|
n.push(e.points.slice(o * 2, o * 2 + 2));
|
|
@@ -3078,20 +3106,20 @@ const Ne = {
|
|
|
3078
3106
|
const n = [];
|
|
3079
3107
|
for (let o = 0; o < e.row; o++)
|
|
3080
3108
|
for (let s = 0; s < e.col; s++) {
|
|
3081
|
-
if (
|
|
3109
|
+
if (cl(o, s, t))
|
|
3082
3110
|
continue;
|
|
3083
|
-
const a =
|
|
3111
|
+
const a = Po({
|
|
3084
3112
|
layout: {
|
|
3085
3113
|
left: 100 / e.col * s,
|
|
3086
3114
|
top: 100 / e.row * o,
|
|
3087
3115
|
width: 100 / e.col,
|
|
3088
3116
|
height: 100 / e.row
|
|
3089
3117
|
},
|
|
3090
|
-
id:
|
|
3118
|
+
id: $o({ row: o, col: s })
|
|
3091
3119
|
}, { row: o, col: s, w: 1, h: 1 });
|
|
3092
3120
|
n.push(a);
|
|
3093
3121
|
}
|
|
3094
|
-
return
|
|
3122
|
+
return ul(n, e, t), n;
|
|
3095
3123
|
},
|
|
3096
3124
|
TransLayoutToSVG(e, t) {
|
|
3097
3125
|
const n = [];
|
|
@@ -3109,28 +3137,28 @@ const Ne = {
|
|
|
3109
3137
|
});
|
|
3110
3138
|
n.forEach(
|
|
3111
3139
|
({
|
|
3112
|
-
leftTop: { row: c, col:
|
|
3140
|
+
leftTop: { row: c, col: m },
|
|
3113
3141
|
rightBottom: { row: f, col: u }
|
|
3114
3142
|
}) => {
|
|
3115
3143
|
for (let d = c + 1; d < f; d++)
|
|
3116
|
-
o[d].points.push(
|
|
3117
|
-
for (let d =
|
|
3144
|
+
o[d].points.push(m, u);
|
|
3145
|
+
for (let d = m + 1; d < u; d++)
|
|
3118
3146
|
s[d].points.push(c, f);
|
|
3119
3147
|
}
|
|
3120
3148
|
);
|
|
3121
3149
|
const a = o.concat(...s), r = [];
|
|
3122
3150
|
a.forEach((c) => {
|
|
3123
|
-
c.points = c.points.sort(), r.push(...
|
|
3151
|
+
c.points = c.points.sort(), r.push(...dl(c));
|
|
3124
3152
|
});
|
|
3125
3153
|
const l = {
|
|
3126
3154
|
row: t.height / e.row,
|
|
3127
3155
|
col: t.width / e.col
|
|
3128
|
-
}, i =
|
|
3129
|
-
return `<svg viewBox='0 0 ${t.width +
|
|
3156
|
+
}, i = il(r, l);
|
|
3157
|
+
return `<svg viewBox='0 0 ${t.width + Cn} ${t.height + Cn} ' width="100%" height="100%"> ${i} </svg>`;
|
|
3130
3158
|
},
|
|
3131
3159
|
StorageDefaultLayout: {
|
|
3132
3160
|
get() {
|
|
3133
|
-
const e = localStorage.getItem(
|
|
3161
|
+
const e = localStorage.getItem(An);
|
|
3134
3162
|
if (e == null)
|
|
3135
3163
|
return null;
|
|
3136
3164
|
try {
|
|
@@ -3140,12 +3168,12 @@ const Ne = {
|
|
|
3140
3168
|
}
|
|
3141
3169
|
},
|
|
3142
3170
|
set(e) {
|
|
3143
|
-
localStorage.setItem(
|
|
3171
|
+
localStorage.setItem(An, JSON.stringify(e));
|
|
3144
3172
|
}
|
|
3145
3173
|
},
|
|
3146
3174
|
CustomLayouts: {
|
|
3147
3175
|
get() {
|
|
3148
|
-
const e = localStorage.getItem(
|
|
3176
|
+
const e = localStorage.getItem(Dn);
|
|
3149
3177
|
if (e == null)
|
|
3150
3178
|
return [];
|
|
3151
3179
|
try {
|
|
@@ -3155,10 +3183,10 @@ const Ne = {
|
|
|
3155
3183
|
}
|
|
3156
3184
|
},
|
|
3157
3185
|
set(e) {
|
|
3158
|
-
localStorage.setItem(
|
|
3186
|
+
localStorage.setItem(Dn, JSON.stringify(e));
|
|
3159
3187
|
}
|
|
3160
3188
|
}
|
|
3161
|
-
},
|
|
3189
|
+
}, fl = Q({
|
|
3162
3190
|
emits: {
|
|
3163
3191
|
onselect(e, t) {
|
|
3164
3192
|
return !0;
|
|
@@ -3213,24 +3241,24 @@ const Ne = {
|
|
|
3213
3241
|
}
|
|
3214
3242
|
}
|
|
3215
3243
|
});
|
|
3216
|
-
const
|
|
3217
|
-
function
|
|
3218
|
-
return
|
|
3219
|
-
(
|
|
3220
|
-
class:
|
|
3244
|
+
const _l = ["onClick"], ml = { style: { position: "relative", display: "inline-block", margin: "10px" } }, pl = ["innerHTML"], gl = { style: { "vertical-align": "middle" } };
|
|
3245
|
+
function hl(e, t, n, o, s, a) {
|
|
3246
|
+
return N(), A("div", null, [
|
|
3247
|
+
(N(!0), A(ue, null, Ee(e.layoutInfos, (r) => (N(), A("div", {
|
|
3248
|
+
class: ke(r.select ? "layout-item layout-item-select" : "layout-item"),
|
|
3221
3249
|
onClick: (l) => e.selectClick(r)
|
|
3222
3250
|
}, [
|
|
3223
|
-
|
|
3224
|
-
|
|
3251
|
+
b("div", ml, [
|
|
3252
|
+
b("div", {
|
|
3225
3253
|
innerHTML: r.svg,
|
|
3226
3254
|
class: "svg-style"
|
|
3227
|
-
}, null, 8,
|
|
3228
|
-
|
|
3255
|
+
}, null, 8, pl),
|
|
3256
|
+
b("span", gl, j(r.layout.name), 1)
|
|
3229
3257
|
])
|
|
3230
|
-
], 10,
|
|
3258
|
+
], 10, _l))), 256))
|
|
3231
3259
|
]);
|
|
3232
3260
|
}
|
|
3233
|
-
const
|
|
3261
|
+
const Mo = /* @__PURE__ */ oe(fl, [["render", hl], ["__scopeId", "data-v-2a8e4593"]]), vl = Q({
|
|
3234
3262
|
props: {
|
|
3235
3263
|
layout: {
|
|
3236
3264
|
type: Object
|
|
@@ -3250,10 +3278,10 @@ const Ao = /* @__PURE__ */ oe(cl, [["render", ml], ["__scopeId", "data-v-2a8e459
|
|
|
3250
3278
|
};
|
|
3251
3279
|
}
|
|
3252
3280
|
});
|
|
3253
|
-
const
|
|
3254
|
-
function
|
|
3255
|
-
return
|
|
3256
|
-
(
|
|
3281
|
+
const yl = { style: { position: "relative", height: "100%", width: "100%" } };
|
|
3282
|
+
function El(e, t, n, o, s, a) {
|
|
3283
|
+
return N(), A("div", yl, [
|
|
3284
|
+
(N(!0), A(ue, null, Ee(e.frameRef, ({ layout: r, id: l, row: i, col: c, w: m, h: f }, u) => (N(), A("div", {
|
|
3257
3285
|
class: "play-area",
|
|
3258
3286
|
key: u,
|
|
3259
3287
|
style: _e(`position: absolute; top: calc(${r.top}%); left: calc(${r.left}%); width: calc(${r.width}%); height: calc(${r.height}%);`)
|
|
@@ -3262,7 +3290,7 @@ function hl(e, t, n, o, s, a) {
|
|
|
3262
3290
|
id: l,
|
|
3263
3291
|
row: i,
|
|
3264
3292
|
col: c,
|
|
3265
|
-
w:
|
|
3293
|
+
w: m,
|
|
3266
3294
|
h: f,
|
|
3267
3295
|
index: u,
|
|
3268
3296
|
areas: e.areas
|
|
@@ -3270,21 +3298,21 @@ function hl(e, t, n, o, s, a) {
|
|
|
3270
3298
|
], 4))), 128))
|
|
3271
3299
|
]);
|
|
3272
3300
|
}
|
|
3273
|
-
const
|
|
3301
|
+
const Vt = /* @__PURE__ */ oe(vl, [["render", El], ["__scopeId", "data-v-e6baa31a"]]), wl = {
|
|
3274
3302
|
width: 1024,
|
|
3275
3303
|
height: 1024,
|
|
3276
3304
|
body: '<path fill="currentColor" d="M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504L738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512L828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496L285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512L195.2 285.696a64 64 0 0 1 0-90.496z"/>'
|
|
3277
3305
|
};
|
|
3278
|
-
|
|
3279
|
-
const
|
|
3306
|
+
Se("close", wl);
|
|
3307
|
+
const bl = Q({
|
|
3280
3308
|
components: {
|
|
3281
|
-
VideoAreaLayoutShow:
|
|
3309
|
+
VideoAreaLayoutShow: Vt,
|
|
3282
3310
|
Icon: it
|
|
3283
3311
|
},
|
|
3284
3312
|
setup() {
|
|
3285
|
-
const e =
|
|
3313
|
+
const e = k(3), t = k(3), n = k(
|
|
3286
3314
|
[]
|
|
3287
|
-
), o = U(() =>
|
|
3315
|
+
), o = U(() => I.genLayout(e.value, t.value, n.value)), s = k({}), a = k([]);
|
|
3288
3316
|
return {
|
|
3289
3317
|
areas: n,
|
|
3290
3318
|
row: e,
|
|
@@ -3392,83 +3420,83 @@ const yl = Q({
|
|
|
3392
3420
|
}
|
|
3393
3421
|
}
|
|
3394
3422
|
});
|
|
3395
|
-
const
|
|
3396
|
-
function
|
|
3423
|
+
const Ll = { style: { height: "calc(100% - 80px)", width: "calc(100%)", position: "relative" } }, Ol = ["onMouseenter", "onMousedown"], Il = { style: { "font-size": "32px" } }, Tl = { style: { display: "inline-block", width: "40px", "text-align": "center" } }, Nl = { style: { display: "inline-block", width: "calc(100% - 40px)", "text-align": "right", "vertical-align": "middle" } }, Sl = ["onClick"];
|
|
3424
|
+
function Cl(e, t, n, o, s, a) {
|
|
3397
3425
|
const r = fe("Icon"), l = fe("VideoAreaLayoutShow");
|
|
3398
|
-
return
|
|
3399
|
-
|
|
3426
|
+
return N(), A("div", Ll, [
|
|
3427
|
+
B(l, { layout: e.layout }, {
|
|
3400
3428
|
default: te((i) => [
|
|
3401
|
-
|
|
3402
|
-
class:
|
|
3429
|
+
b("div", {
|
|
3430
|
+
class: ke(e.genClass(i)),
|
|
3403
3431
|
onMouseenter: (c) => e.onMouseOver(c, i),
|
|
3404
3432
|
onMousedown: (c) => e.onMouseDown(i),
|
|
3405
3433
|
style: { "user-select": "none" }
|
|
3406
3434
|
}, [
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3435
|
+
b("div", Il, [
|
|
3436
|
+
b("div", Tl, j(i.index + 1), 1),
|
|
3437
|
+
b("div", Nl, [
|
|
3438
|
+
b("span", {
|
|
3411
3439
|
onClick: (c) => e.onDelLayout(i)
|
|
3412
3440
|
}, [
|
|
3413
|
-
i.w > 1 || i.h > 1 ? (
|
|
3441
|
+
i.w > 1 || i.h > 1 ? (N(), Fe(r, {
|
|
3414
3442
|
key: 0,
|
|
3415
3443
|
icon: "close",
|
|
3416
3444
|
class: "close-btn"
|
|
3417
3445
|
})) : pe("", !0)
|
|
3418
|
-
], 8,
|
|
3446
|
+
], 8, Sl)
|
|
3419
3447
|
])
|
|
3420
3448
|
])
|
|
3421
|
-
], 42,
|
|
3449
|
+
], 42, Ol)
|
|
3422
3450
|
]),
|
|
3423
3451
|
_: 1
|
|
3424
3452
|
}, 8, ["layout"])
|
|
3425
3453
|
]);
|
|
3426
3454
|
}
|
|
3427
|
-
const
|
|
3455
|
+
const Al = /* @__PURE__ */ oe(bl, [["render", Cl], ["__scopeId", "data-v-c3d9b21a"]]), Dl = Q({
|
|
3428
3456
|
components: {
|
|
3429
3457
|
Icon: it,
|
|
3430
|
-
LayoutShow:
|
|
3431
|
-
CustomLayoutGen:
|
|
3458
|
+
LayoutShow: Mo,
|
|
3459
|
+
CustomLayoutGen: Al
|
|
3432
3460
|
},
|
|
3433
3461
|
setup() {
|
|
3434
3462
|
return {
|
|
3435
|
-
layout:
|
|
3463
|
+
layout: k(
|
|
3436
3464
|
Ne.CustomLayouts.get()
|
|
3437
3465
|
),
|
|
3438
|
-
i18nT:
|
|
3466
|
+
i18nT: Te
|
|
3439
3467
|
};
|
|
3440
3468
|
}
|
|
3441
3469
|
});
|
|
3442
|
-
const
|
|
3443
|
-
function
|
|
3470
|
+
const Pl = { style: { "margin-left": "10px", "margin-top": "10px" } }, $l = { class: "plus-custom-layout" }, Ml = /* @__PURE__ */ Gn("\u6DFB\u52A0\u5E03\u5C40 "), kl = { style: { "margin-top": "10px" } }, Rl = { style: { height: "300px" } };
|
|
3471
|
+
function xl(e, t, n, o, s, a) {
|
|
3444
3472
|
const r = fe("Icon"), l = fe("CustomLayoutGen");
|
|
3445
|
-
return
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3473
|
+
return N(), A("div", Pl, [
|
|
3474
|
+
b("span", null, [
|
|
3475
|
+
Gn(j(e.i18nT("zi-ding-yi-bu-ju")) + "\uFF1A ", 1),
|
|
3476
|
+
b("span", $l, [
|
|
3477
|
+
B(r, {
|
|
3450
3478
|
icon: "plus",
|
|
3451
3479
|
style: { "vertical-align": "text-top" }
|
|
3452
3480
|
}),
|
|
3453
|
-
|
|
3481
|
+
Ml
|
|
3454
3482
|
])
|
|
3455
3483
|
]),
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3484
|
+
b("div", kl, [
|
|
3485
|
+
b("div", Rl, [
|
|
3486
|
+
B(l)
|
|
3459
3487
|
])
|
|
3460
3488
|
])
|
|
3461
3489
|
]);
|
|
3462
3490
|
}
|
|
3463
|
-
const
|
|
3491
|
+
const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b51862"]]), Vl = Q({
|
|
3464
3492
|
emits: {
|
|
3465
3493
|
LayoutChange(e, t, n) {
|
|
3466
3494
|
return !0;
|
|
3467
3495
|
}
|
|
3468
3496
|
},
|
|
3469
3497
|
components: {
|
|
3470
|
-
UseCustomLayoutSelector:
|
|
3471
|
-
LayoutShow:
|
|
3498
|
+
UseCustomLayoutSelector: Fl,
|
|
3499
|
+
LayoutShow: Mo,
|
|
3472
3500
|
Icon: it
|
|
3473
3501
|
},
|
|
3474
3502
|
props: {
|
|
@@ -3477,28 +3505,27 @@ const Ml = /* @__PURE__ */ oe(Sl, [["render", kl], ["__scopeId", "data-v-f8b5186
|
|
|
3477
3505
|
}
|
|
3478
3506
|
},
|
|
3479
3507
|
setup(e, t) {
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
T.genLayout(3, 3, [
|
|
3508
|
+
const n = e.layouts, o = Oe(
|
|
3509
|
+
n && n.length > 0 ? n : [
|
|
3510
|
+
I.Test.genLayout(1, 1),
|
|
3511
|
+
I.Test.genLayout(1, 2),
|
|
3512
|
+
I.Test.genLayout(2, 2),
|
|
3513
|
+
I.Test.genLayout(2, 3),
|
|
3514
|
+
I.genLayout(3, 3, [
|
|
3488
3515
|
[0, 0, 2, 2],
|
|
3489
3516
|
[2, 0, 3, 2]
|
|
3490
3517
|
]),
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3518
|
+
I.Test.genLayout(3, 3, [0, 0, 2, 2]),
|
|
3519
|
+
I.Test.genLayout(3, 3, [1, 0, 2, 3]),
|
|
3520
|
+
I.Test.genLayout(4, 4, [0, 0, 3, 3]),
|
|
3521
|
+
I.Test.genLayout(3, 3),
|
|
3522
|
+
I.Test.genLayout(5, 5, [0, 0, 4, 4]),
|
|
3523
|
+
I.Test.genLayout(6, 6, [0, 0, 5, 5]),
|
|
3524
|
+
I.Test.genLayout(4, 4, [1, 1, 3, 3]),
|
|
3525
|
+
I.Test.genLayout(4, 4),
|
|
3526
|
+
I.Test.genLayout(5, 5),
|
|
3527
|
+
I.Test.genLayout(6, 6),
|
|
3528
|
+
I.genLayout(8, 8, [
|
|
3502
3529
|
[0, 0, 3, 3],
|
|
3503
3530
|
[3, 0, 5, 2],
|
|
3504
3531
|
[5, 0, 7, 2]
|
|
@@ -3508,81 +3535,85 @@ const Ml = /* @__PURE__ */ oe(Sl, [["render", kl], ["__scopeId", "data-v-f8b5186
|
|
|
3508
3535
|
Me(
|
|
3509
3536
|
() => e.layouts,
|
|
3510
3537
|
() => {
|
|
3511
|
-
var p;
|
|
3512
3538
|
if (e.layouts && e.layouts.length > 0) {
|
|
3513
|
-
const
|
|
3514
|
-
|
|
3539
|
+
const g = e.layouts;
|
|
3540
|
+
o.splice(0, o.length, ...g);
|
|
3515
3541
|
}
|
|
3516
3542
|
},
|
|
3517
3543
|
{
|
|
3518
3544
|
deep: !0
|
|
3519
3545
|
}
|
|
3520
3546
|
);
|
|
3521
|
-
const
|
|
3522
|
-
let
|
|
3523
|
-
|
|
3524
|
-
|
|
3547
|
+
const s = k();
|
|
3548
|
+
let a = Ne.StorageDefaultLayout.get();
|
|
3549
|
+
function r() {
|
|
3550
|
+
return a ? o.findIndex(
|
|
3551
|
+
(g) => JSON.stringify(g) == JSON.stringify(a)
|
|
3552
|
+
) >= 0 : !1;
|
|
3553
|
+
}
|
|
3554
|
+
const l = r() ? a : o[2];
|
|
3555
|
+
function i(g, w) {
|
|
3525
3556
|
return t.emit(
|
|
3526
3557
|
"LayoutChange",
|
|
3527
|
-
JSON.stringify(
|
|
3528
|
-
|
|
3558
|
+
JSON.stringify(g.layout),
|
|
3559
|
+
g,
|
|
3529
3560
|
() => {
|
|
3530
3561
|
u.value && d();
|
|
3531
3562
|
}
|
|
3532
|
-
),
|
|
3563
|
+
), g.cancel || (f.value = w), !g.cancel;
|
|
3533
3564
|
}
|
|
3534
3565
|
let c = !0;
|
|
3535
|
-
const
|
|
3536
|
-
JSON.stringify(
|
|
3537
|
-
}, f =
|
|
3538
|
-
u.value = !u.value, u.value ? window.addEventListener("click",
|
|
3539
|
-
},
|
|
3540
|
-
u.value &&
|
|
3566
|
+
const m = function(g, w) {
|
|
3567
|
+
JSON.stringify(a) != JSON.stringify(g) && i(g, w) && c && (a = g.layout, Ne.StorageDefaultLayout.set(g.layout)), f.value.length == 0 && i(g, w);
|
|
3568
|
+
}, f = k(""), u = k(!1), d = () => {
|
|
3569
|
+
u.value = !u.value, u.value ? window.addEventListener("click", p) : window.removeEventListener("click", p);
|
|
3570
|
+
}, p = (g) => {
|
|
3571
|
+
u.value && g.composedPath().findIndex(({ className: S }) => S == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", p));
|
|
3541
3572
|
};
|
|
3542
3573
|
return {
|
|
3543
|
-
i18nT:
|
|
3544
|
-
selectClassicalLayout: (
|
|
3545
|
-
var
|
|
3546
|
-
|
|
3547
|
-
const
|
|
3548
|
-
|
|
3574
|
+
i18nT: Te,
|
|
3575
|
+
selectClassicalLayout: (g, w, S) => {
|
|
3576
|
+
var T;
|
|
3577
|
+
S || (c = !1);
|
|
3578
|
+
const E = o.find((P) => P.row == g && P.col == w && typeof P.area > "u" && typeof P.areas > "u");
|
|
3579
|
+
E && ((T = s.value) == null || T.SelectLayoutById(JSON.stringify(E))), S = !0;
|
|
3549
3580
|
},
|
|
3550
|
-
selectLoyoutById: (
|
|
3551
|
-
var
|
|
3552
|
-
|
|
3581
|
+
selectLoyoutById: (g, w) => {
|
|
3582
|
+
var S;
|
|
3583
|
+
w || (c = !1), (S = s.value) == null || S.SelectLayoutById(g), w = !0;
|
|
3553
3584
|
},
|
|
3554
|
-
refLayoutShow:
|
|
3585
|
+
refLayoutShow: s,
|
|
3555
3586
|
clickShowSelectPanel: d,
|
|
3556
3587
|
showSelectPanel: u,
|
|
3557
|
-
onselect:
|
|
3588
|
+
onselect: m,
|
|
3558
3589
|
svgSelect: f,
|
|
3559
|
-
layout:
|
|
3590
|
+
layout: o,
|
|
3560
3591
|
defaultLayout: l
|
|
3561
3592
|
};
|
|
3562
3593
|
},
|
|
3563
3594
|
expose: ["selectLoyoutById", "selectClassicalLayout"]
|
|
3564
3595
|
});
|
|
3565
|
-
const
|
|
3566
|
-
function
|
|
3596
|
+
const Ul = { class: "layout-switcher" }, Gl = ["innerHTML"], zl = { class: "switch-panel" }, Hl = { style: { "margin-left": "10px" } }, jl = { style: { "margin-left": "10px", padding: "10px" } }, Wl = { style: { "margin-left": "10px" } };
|
|
3597
|
+
function Bl(e, t, n, o, s, a) {
|
|
3567
3598
|
const r = fe("LayoutShow");
|
|
3568
|
-
return
|
|
3569
|
-
|
|
3599
|
+
return N(), A("div", Ul, [
|
|
3600
|
+
b("div", {
|
|
3570
3601
|
onClick: t[0] || (t[0] = (...l) => e.clickShowSelectPanel && e.clickShowSelectPanel(...l)),
|
|
3571
3602
|
class: "switch-switcher"
|
|
3572
3603
|
}, [
|
|
3573
|
-
|
|
3604
|
+
b("div", {
|
|
3574
3605
|
innerHTML: e.svgSelect,
|
|
3575
3606
|
style: { height: "32px", display: "inline-block", "vertical-align": "middle", width: "32px" }
|
|
3576
|
-
}, null, 8,
|
|
3607
|
+
}, null, 8, Gl)
|
|
3577
3608
|
]),
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3609
|
+
Vn(b("div", zl, [
|
|
3610
|
+
b("div", Hl, [
|
|
3611
|
+
b("span", null, j(e.i18nT("qing-xuan-ze-bu-ju-yang-shi")), 1)
|
|
3581
3612
|
]),
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3613
|
+
b("div", jl, [
|
|
3614
|
+
b("div", Wl, [
|
|
3615
|
+
b("span", null, j(e.i18nT("biao-zhun-bu-ju")) + "\uFF1A", 1),
|
|
3616
|
+
B(r, {
|
|
3586
3617
|
ref: "refLayoutShow",
|
|
3587
3618
|
layouts: e.layout,
|
|
3588
3619
|
defaultLayout: e.defaultLayout,
|
|
@@ -3591,14 +3622,14 @@ function jl(e, t, n, o, s, a) {
|
|
|
3591
3622
|
])
|
|
3592
3623
|
])
|
|
3593
3624
|
], 512), [
|
|
3594
|
-
[
|
|
3625
|
+
[Un, e.showSelectPanel]
|
|
3595
3626
|
])
|
|
3596
3627
|
]);
|
|
3597
3628
|
}
|
|
3598
|
-
const
|
|
3629
|
+
const Kl = /* @__PURE__ */ oe(Vl, [["render", Bl], ["__scopeId", "data-v-1b358304"]]), Yl = {
|
|
3599
3630
|
key: 0,
|
|
3600
3631
|
class: "layout-display"
|
|
3601
|
-
},
|
|
3632
|
+
}, Xl = ["innerHTML"], Jl = { style: { display: "inline-block", height: "32px", width: "20px", "line-height": "32px", "vertical-align": "top" } }, Ql = /* @__PURE__ */ Q({
|
|
3602
3633
|
__name: "layoutDisplay",
|
|
3603
3634
|
props: {
|
|
3604
3635
|
layout: {
|
|
@@ -3625,118 +3656,132 @@ const zl = /* @__PURE__ */ oe(Rl, [["render", jl], ["__scopeId", "data-v-6348e5e
|
|
|
3625
3656
|
});
|
|
3626
3657
|
return (s, a) => {
|
|
3627
3658
|
var r;
|
|
3628
|
-
return le(o) ? (
|
|
3629
|
-
|
|
3659
|
+
return le(o) ? (N(), A("div", Yl, [
|
|
3660
|
+
b("span", {
|
|
3630
3661
|
innerHTML: (r = le(o)) == null ? void 0 : r.svg,
|
|
3631
3662
|
style: { display: "inline-block", height: "32px", width: "32px", "line-height": "32px", "background-color": "rgb(201, 201, 201)" }
|
|
3632
|
-
}, null, 8,
|
|
3633
|
-
|
|
3663
|
+
}, null, 8, Xl),
|
|
3664
|
+
b("span", Jl, j(n(le(o).frams.length)), 1)
|
|
3634
3665
|
])) : pe("", !0);
|
|
3635
3666
|
};
|
|
3636
3667
|
}
|
|
3637
3668
|
});
|
|
3638
|
-
const
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3669
|
+
const ko = /* @__PURE__ */ oe(Ql, [["__scopeId", "data-v-4e937302"]]);
|
|
3670
|
+
var ql = Object.defineProperty, Zl = Object.defineProperties, ei = Object.getOwnPropertyDescriptors, Pn = Object.getOwnPropertySymbols, ti = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, $n = (e, t, n) => t in e ? ql(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, oi = (e, t) => {
|
|
3671
|
+
for (var n in t || (t = {}))
|
|
3672
|
+
ti.call(t, n) && $n(e, n, t[n]);
|
|
3673
|
+
if (Pn)
|
|
3674
|
+
for (var n of Pn(t))
|
|
3675
|
+
ni.call(t, n) && $n(e, n, t[n]);
|
|
3676
|
+
return e;
|
|
3677
|
+
}, si = (e, t) => Zl(e, ei(t));
|
|
3678
|
+
const Qe = [
|
|
3679
|
+
I.Test.genLayout(1, 1),
|
|
3680
|
+
I.Test.genLayout(1, 2),
|
|
3681
|
+
I.Test.genLayout(2, 2),
|
|
3682
|
+
I.Test.genLayout(2, 3),
|
|
3683
|
+
I.genLayout(3, 3, [
|
|
3644
3684
|
[0, 0, 2, 2],
|
|
3645
3685
|
[2, 0, 3, 2]
|
|
3646
3686
|
]),
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3687
|
+
I.Test.genLayout(3, 3, [0, 0, 2, 2]),
|
|
3688
|
+
I.Test.genLayout(3, 3, [1, 0, 2, 3]),
|
|
3689
|
+
I.Test.genLayout(4, 4, [0, 0, 3, 3]),
|
|
3690
|
+
I.Test.genLayout(3, 3),
|
|
3691
|
+
I.Test.genLayout(5, 5, [0, 0, 4, 4]),
|
|
3692
|
+
I.Test.genLayout(6, 6, [0, 0, 5, 5]),
|
|
3693
|
+
I.Test.genLayout(4, 4, [1, 1, 3, 3]),
|
|
3694
|
+
I.Test.genLayout(4, 4),
|
|
3695
|
+
I.Test.genLayout(5, 5),
|
|
3696
|
+
I.Test.genLayout(6, 6),
|
|
3697
|
+
I.genLayout(8, 8, [
|
|
3658
3698
|
[0, 0, 3, 3],
|
|
3659
3699
|
[3, 0, 5, 2],
|
|
3660
3700
|
[5, 0, 7, 2]
|
|
3661
3701
|
])
|
|
3662
|
-
],
|
|
3702
|
+
], ri = /* @__PURE__ */ Q({
|
|
3663
3703
|
__name: "preLayout",
|
|
3704
|
+
props: {
|
|
3705
|
+
zIndexModal: {
|
|
3706
|
+
type: Number
|
|
3707
|
+
}
|
|
3708
|
+
},
|
|
3664
3709
|
setup(e) {
|
|
3665
|
-
const t =
|
|
3710
|
+
const t = e, n = k(!1), o = Oe({
|
|
3666
3711
|
top: "",
|
|
3667
3712
|
left: ""
|
|
3668
3713
|
});
|
|
3669
|
-
|
|
3714
|
+
xe(() => {
|
|
3670
3715
|
});
|
|
3671
|
-
let
|
|
3672
|
-
function
|
|
3673
|
-
|
|
3716
|
+
let s;
|
|
3717
|
+
function a(f) {
|
|
3718
|
+
s == null || s(f);
|
|
3674
3719
|
}
|
|
3675
|
-
function
|
|
3676
|
-
|
|
3720
|
+
function r() {
|
|
3721
|
+
n.value = !1, window.document.removeEventListener("click", r);
|
|
3677
3722
|
}
|
|
3678
|
-
function
|
|
3679
|
-
window.document.removeEventListener("click",
|
|
3680
|
-
window.document.addEventListener("click",
|
|
3723
|
+
function l(f, u) {
|
|
3724
|
+
window.document.removeEventListener("click", r), s = u, n.value = !0, o.left = `${f.x}px`, o.top = `${f.y}px`, setTimeout(() => {
|
|
3725
|
+
window.document.addEventListener("click", r);
|
|
3681
3726
|
}, 50);
|
|
3682
3727
|
}
|
|
3683
|
-
const
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3728
|
+
const i = Oe([
|
|
3729
|
+
I.Test.genLayout(1, 1),
|
|
3730
|
+
I.Test.genLayout(1, 2),
|
|
3731
|
+
I.Test.genLayout(2, 2),
|
|
3732
|
+
I.Test.genLayout(2, 3),
|
|
3733
|
+
I.genLayout(3, 3, [
|
|
3689
3734
|
[0, 0, 2, 2],
|
|
3690
3735
|
[2, 0, 3, 2]
|
|
3691
3736
|
]),
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3737
|
+
I.Test.genLayout(3, 3, [0, 0, 2, 2]),
|
|
3738
|
+
I.Test.genLayout(3, 3, [1, 0, 2, 3]),
|
|
3739
|
+
I.Test.genLayout(4, 4, [0, 0, 3, 3]),
|
|
3740
|
+
I.Test.genLayout(3, 3),
|
|
3741
|
+
I.Test.genLayout(5, 5, [0, 0, 4, 4]),
|
|
3742
|
+
I.Test.genLayout(6, 6, [0, 0, 5, 5]),
|
|
3743
|
+
I.Test.genLayout(4, 4, [1, 1, 3, 3]),
|
|
3744
|
+
I.Test.genLayout(4, 4),
|
|
3745
|
+
I.Test.genLayout(5, 5),
|
|
3746
|
+
I.Test.genLayout(6, 6),
|
|
3747
|
+
I.genLayout(8, 8, [
|
|
3703
3748
|
[0, 0, 3, 3],
|
|
3704
3749
|
[3, 0, 5, 2],
|
|
3705
3750
|
[5, 0, 7, 2]
|
|
3706
3751
|
])
|
|
3707
|
-
]),
|
|
3708
|
-
layout:
|
|
3709
|
-
}))),
|
|
3752
|
+
]), c = U(() => i.map((f) => ({
|
|
3753
|
+
layout: f
|
|
3754
|
+
}))), m = document.body;
|
|
3710
3755
|
return ot(() => {
|
|
3711
|
-
window.document.removeEventListener("click",
|
|
3712
|
-
}), (
|
|
3713
|
-
(
|
|
3714
|
-
|
|
3756
|
+
window.document.removeEventListener("click", r);
|
|
3757
|
+
}), (f, u) => (N(), A(ue, null, [
|
|
3758
|
+
(N(), Fe(zn, { to: le(m) }, [
|
|
3759
|
+
n.value ? (N(), A("div", {
|
|
3715
3760
|
key: 0,
|
|
3716
|
-
style: _e([{ width: "330px", position: "absolute", "background-color": "white", "padding-left": "25px", border: "1px solid", "padding-top": "20px", "padding-bottom": "20px", "border-radius": "5px" },
|
|
3717
|
-
onClick:
|
|
3761
|
+
style: _e([{ width: "330px", position: "absolute", "background-color": "white", "padding-left": "25px", border: "1px solid", "padding-top": "20px", "padding-bottom": "20px", "border-radius": "5px" }, si(oi({}, o), { zIndex: t.zIndexModal })]),
|
|
3762
|
+
onClick: u[0] || (u[0] = (d) => d.stopPropagation())
|
|
3718
3763
|
}, [
|
|
3719
|
-
(
|
|
3720
|
-
key:
|
|
3764
|
+
(N(!0), A(ue, null, Ee(le(c), (d, p) => (N(), A("span", {
|
|
3765
|
+
key: p,
|
|
3721
3766
|
class: "layout-panel-item-container",
|
|
3722
3767
|
style: { border: "1px solid" }
|
|
3723
3768
|
}, [
|
|
3724
|
-
|
|
3725
|
-
layout:
|
|
3726
|
-
onClick: (
|
|
3769
|
+
B(ko, {
|
|
3770
|
+
layout: d.layout,
|
|
3771
|
+
onClick: (v) => a(d.layout)
|
|
3727
3772
|
}, null, 8, ["layout", "onClick"])
|
|
3728
3773
|
]))), 128))
|
|
3729
3774
|
], 4)) : pe("", !0)
|
|
3730
3775
|
], 8, ["to"])),
|
|
3731
|
-
Y(
|
|
3776
|
+
Y(f.$slots, "default", { addPreSetLayout: l }, void 0, !0)
|
|
3732
3777
|
], 64));
|
|
3733
3778
|
}
|
|
3734
3779
|
});
|
|
3735
|
-
const
|
|
3780
|
+
const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
|
|
3736
3781
|
key: 0,
|
|
3737
3782
|
style: { position: "relative" },
|
|
3738
3783
|
class: "layout-container"
|
|
3739
|
-
},
|
|
3784
|
+
}, ii = { key: 1 }, ci = /* @__PURE__ */ Q({
|
|
3740
3785
|
__name: "layoutSelector",
|
|
3741
3786
|
props: {
|
|
3742
3787
|
row: {
|
|
@@ -3768,61 +3813,62 @@ const Jl = /* @__PURE__ */ oe(Xl, [["__scopeId", "data-v-2366cec9"]]), Ql = {
|
|
|
3768
3813
|
function r(f) {
|
|
3769
3814
|
n("addCustom", f, a);
|
|
3770
3815
|
}
|
|
3771
|
-
const l =
|
|
3816
|
+
const l = k();
|
|
3772
3817
|
function i(f) {
|
|
3773
3818
|
l.value = f;
|
|
3774
3819
|
}
|
|
3775
3820
|
function c() {
|
|
3776
3821
|
l.value = void 0;
|
|
3777
3822
|
}
|
|
3778
|
-
function
|
|
3823
|
+
function m(f) {
|
|
3779
3824
|
n("addPreset", f, i, { row: o.row, col: o.col });
|
|
3780
3825
|
}
|
|
3781
|
-
return
|
|
3782
|
-
o.layout ? l.value = o.layout : typeof o.index == "number" && o.index <
|
|
3826
|
+
return xe(() => {
|
|
3827
|
+
o.layout ? o.layout == I.zeroLayout ? l.value = void 0 : l.value = o.layout : typeof o.index == "number" && o.index < Qe.length && (l.value = Qe[o.index]);
|
|
3783
3828
|
}), Me(
|
|
3784
3829
|
() => o.index,
|
|
3785
3830
|
() => {
|
|
3786
|
-
typeof o.index == "number" && (o.index <
|
|
3831
|
+
typeof o.index == "number" && (o.index < Qe.length ? l.value = Qe[o.index] : l.value = void 0);
|
|
3787
3832
|
}
|
|
3788
3833
|
), t({
|
|
3789
3834
|
getLayout() {
|
|
3790
|
-
if (
|
|
3835
|
+
if (ze(l.value))
|
|
3791
3836
|
return {
|
|
3792
|
-
layout:
|
|
3837
|
+
layout: ze(l.value),
|
|
3793
3838
|
locatoin: {
|
|
3794
|
-
col:
|
|
3795
|
-
row:
|
|
3839
|
+
col: ze(o.col),
|
|
3840
|
+
row: ze(o.row)
|
|
3796
3841
|
}
|
|
3797
3842
|
};
|
|
3798
3843
|
}
|
|
3799
|
-
}), (f, u) => l.value ? (
|
|
3800
|
-
|
|
3801
|
-
|
|
3844
|
+
}), (f, u) => l.value ? (N(), A("div", li, [
|
|
3845
|
+
B(ko, { layout: l.value }, null, 8, ["layout"]),
|
|
3846
|
+
b("div", {
|
|
3802
3847
|
class: "close-btn",
|
|
3803
3848
|
onClick: u[0] || (u[0] = (d) => c())
|
|
3804
3849
|
}, [
|
|
3805
|
-
|
|
3850
|
+
b("span", {
|
|
3806
3851
|
innerHTML: s,
|
|
3807
3852
|
class: "close-svg"
|
|
3808
3853
|
})
|
|
3809
3854
|
])
|
|
3810
|
-
])) : (
|
|
3811
|
-
|
|
3812
|
-
|
|
3855
|
+
])) : (N(), A("div", ii, [
|
|
3856
|
+
b("div", null, [
|
|
3857
|
+
b("div", {
|
|
3813
3858
|
class: "options",
|
|
3814
|
-
style: { "margin-bottom": "1px" },
|
|
3815
|
-
onClick: u[1] || (u[1] = (d) =>
|
|
3816
|
-
},
|
|
3817
|
-
|
|
3859
|
+
style: { "margin-bottom": "1px", "line-height": "18px", height: "18px" },
|
|
3860
|
+
onClick: u[1] || (u[1] = (d) => m(d))
|
|
3861
|
+
}, j(le(Te)("yu-she")), 1),
|
|
3862
|
+
b("div", {
|
|
3818
3863
|
class: "options",
|
|
3819
|
-
onClick: u[2] || (u[2] = (d) => r(d))
|
|
3820
|
-
|
|
3864
|
+
onClick: u[2] || (u[2] = (d) => r(d)),
|
|
3865
|
+
style: { "line-height": "19px", height: "19px" }
|
|
3866
|
+
}, j(le(Te)("zi-ding-yi")), 1)
|
|
3821
3867
|
])
|
|
3822
3868
|
]));
|
|
3823
3869
|
}
|
|
3824
3870
|
});
|
|
3825
|
-
const
|
|
3871
|
+
const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { style: { height: "100%", width: "100%", position: "relative", padding: "5px", border: "1px solid", "border-radius": "5px", "background-color": "white" } }, fi = { style: { height: "40px" } }, _i = { style: { display: "inline-block", width: "150px", "margin-left": "30px" } }, mi = { style: { display: "inline-block", width: "40px" } }, pi = { style: { display: "inline-block", width: "20px" } }, gi = { style: { display: "inline-block", width: "150px" } }, hi = { style: { display: "inline-block", width: "40px" } }, vi = { style: { display: "inline-block", width: "20px" } }, yi = { style: { height: "calc(100% - 60px)", width: "calc(100% - 60px)", "margin-left": "30px", position: "relative" } }, Ei = ["onMousemove", "onMousedown"], wi = { style: { "text-align": "center", color: "white", "font-size": "48px", "margin-left": "20px", "margin-top": "20px" } }, bi = ["onClick"], Li = /* @__PURE__ */ Q({
|
|
3826
3872
|
__name: "index",
|
|
3827
3873
|
props: {
|
|
3828
3874
|
row: {
|
|
@@ -3845,7 +3891,7 @@ const ei = /* @__PURE__ */ oe(Zl, [["__scopeId", "data-v-e67bc3bb"]]), ti = { st
|
|
|
3845
3891
|
setup(e, { expose: t, emit: n }) {
|
|
3846
3892
|
const o = e, s = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="black" d="M24 2.4L21.6 0L12 9.6L2.4 0L0 2.4L9.6 12L0 21.6L2.4 24l9.6-9.6l9.6 9.6l2.4-2.4l-9.6-9.6z"/></svg>', a = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1200 1200"><path fill="#539d65" d="m1004.237 99.152l-611.44 611.441l-198.305-198.305L0 706.779l198.305 198.306l195.762 195.763L588.56 906.355L1200 294.916z"/></svg>';
|
|
3847
3893
|
function r(O) {
|
|
3848
|
-
|
|
3894
|
+
p.splice(O, 1), $();
|
|
3849
3895
|
}
|
|
3850
3896
|
function l() {
|
|
3851
3897
|
n("ApplyLayoutCustom", Z());
|
|
@@ -3858,7 +3904,7 @@ const ei = /* @__PURE__ */ oe(Zl, [["__scopeId", "data-v-e67bc3bb"]]), ti = { st
|
|
|
3858
3904
|
var O;
|
|
3859
3905
|
o.row > 2 && d.value.row < o.row && ((O = o.updataLayoutInfo) == null || O.call(o, o.row - 1, o.col));
|
|
3860
3906
|
}
|
|
3861
|
-
function
|
|
3907
|
+
function m() {
|
|
3862
3908
|
var O;
|
|
3863
3909
|
o.col < 10 && ((O = o.updataLayoutInfo) == null || O.call(o, o.row, o.col + 1));
|
|
3864
3910
|
}
|
|
@@ -3866,14 +3912,14 @@ const ei = /* @__PURE__ */ oe(Zl, [["__scopeId", "data-v-e67bc3bb"]]), ti = { st
|
|
|
3866
3912
|
var O;
|
|
3867
3913
|
o.col > 2 && d.value.col < o.col && ((O = o.updataLayoutInfo) == null || O.call(o, o.row, o.col - 1));
|
|
3868
3914
|
}
|
|
3869
|
-
const u = U(() =>
|
|
3870
|
-
col: Math.max(...
|
|
3871
|
-
row: Math.max(...
|
|
3872
|
-
})),
|
|
3915
|
+
const u = U(() => I.genLayout(o.row, o.col)), d = U(() => ({
|
|
3916
|
+
col: Math.max(...p.map((O) => O.area.colsMax)),
|
|
3917
|
+
row: Math.max(...p.map((O) => O.area.rowsMax))
|
|
3918
|
+
})), p = Oe(new Array()), v = ["green", "red", "blue"];
|
|
3873
3919
|
function y() {
|
|
3874
|
-
return v[
|
|
3920
|
+
return v[p.length % v.length];
|
|
3875
3921
|
}
|
|
3876
|
-
const
|
|
3922
|
+
const g = 0.125, w = U(() => {
|
|
3877
3923
|
if (D.first && D.last) {
|
|
3878
3924
|
const O = {
|
|
3879
3925
|
colsMin: Math.min(D.first.colsMin, D.last.colsMin),
|
|
@@ -3883,43 +3929,43 @@ const ei = /* @__PURE__ */ oe(Zl, [["__scopeId", "data-v-e67bc3bb"]]), ti = { st
|
|
|
3883
3929
|
}, C = y();
|
|
3884
3930
|
return {
|
|
3885
3931
|
infoGetter() {
|
|
3886
|
-
const V = (O.colsMax - O.colsMin) / u.value.col * 100,
|
|
3932
|
+
const V = (O.colsMax - O.colsMin) / u.value.col * 100, be = (O.rowsMax - O.rowsMin) / u.value.row * 100, Ce = V / 100 * u.value.col, ve = be / 100 * u.value.row;
|
|
3887
3933
|
return {
|
|
3888
3934
|
style: {
|
|
3889
|
-
left: `calc(${(O.colsMin +
|
|
3890
|
-
top: `calc(${(O.rowsMin +
|
|
3891
|
-
width: `calc(${V -
|
|
3892
|
-
height: `calc(${
|
|
3935
|
+
left: `calc(${(O.colsMin + g) / u.value.col * 100}%)`,
|
|
3936
|
+
top: `calc(${(O.rowsMin + g) / u.value.row * 100}% `,
|
|
3937
|
+
width: `calc(${V - g * 2 / u.value.col * 100}% )`,
|
|
3938
|
+
height: `calc(${be - g * 2 / u.value.row * 100}%)`,
|
|
3893
3939
|
backgroundColor: C
|
|
3894
3940
|
},
|
|
3895
|
-
areaCount:
|
|
3941
|
+
areaCount: Ce * ve
|
|
3896
3942
|
};
|
|
3897
3943
|
},
|
|
3898
3944
|
area: O
|
|
3899
3945
|
};
|
|
3900
3946
|
}
|
|
3901
3947
|
});
|
|
3902
|
-
function
|
|
3903
|
-
const [C, R] = [O.colsMin, O.colsMax], [V,
|
|
3904
|
-
return Array.from({ length: R - C }).map((ve,
|
|
3905
|
-
const ct = `${
|
|
3906
|
-
Array.from({ length:
|
|
3948
|
+
function S(O) {
|
|
3949
|
+
const [C, R] = [O.colsMin, O.colsMax], [V, be] = [O.rowsMin, O.rowsMax], Ce = [];
|
|
3950
|
+
return Array.from({ length: R - C }).map((ve, Ue) => {
|
|
3951
|
+
const ct = `${Ue + C}-${Ue + C + 1}`;
|
|
3952
|
+
Array.from({ length: be - V }).map((Ut, Ye) => {
|
|
3907
3953
|
const ut = `${Ye + V}-${Ye + V + 1}`;
|
|
3908
|
-
|
|
3954
|
+
Ce.push(`${ct}|${ut}`);
|
|
3909
3955
|
});
|
|
3910
|
-
}),
|
|
3956
|
+
}), Ce;
|
|
3911
3957
|
}
|
|
3912
|
-
function
|
|
3913
|
-
return
|
|
3958
|
+
function T(O, C) {
|
|
3959
|
+
return S(O).findIndex((R) => S(C).findIndex((V) => R == V) >= 0) >= 0;
|
|
3914
3960
|
}
|
|
3915
|
-
function
|
|
3961
|
+
function E(O, C) {
|
|
3916
3962
|
const R = {
|
|
3917
3963
|
colsMin: Math.min(O.colsMin, C.colsMin),
|
|
3918
3964
|
colsMax: Math.max(O.colsMax, C.colsMax),
|
|
3919
3965
|
rowsMin: Math.min(O.rowsMin, C.rowsMin),
|
|
3920
3966
|
rowsMax: Math.max(O.rowsMax, C.rowsMax)
|
|
3921
3967
|
};
|
|
3922
|
-
return
|
|
3968
|
+
return p.findIndex((V) => T(R, V.area)) >= 0;
|
|
3923
3969
|
}
|
|
3924
3970
|
function P(O) {
|
|
3925
3971
|
const C = {
|
|
@@ -3928,7 +3974,7 @@ const ei = /* @__PURE__ */ oe(Zl, [["__scopeId", "data-v-e67bc3bb"]]), ti = { st
|
|
|
3928
3974
|
rowsMin: O.row,
|
|
3929
3975
|
rowsMax: O.row + O.h
|
|
3930
3976
|
};
|
|
3931
|
-
!D.first &&
|
|
3977
|
+
!D.first && E(C, C) || (D.first || (D.first = C), !E(D.first, C) && (D.last && Object.keys(C).findIndex(
|
|
3932
3978
|
(R) => {
|
|
3933
3979
|
var V;
|
|
3934
3980
|
return ((V = D.last) == null ? void 0 : V[R]) != C[R];
|
|
@@ -3943,29 +3989,29 @@ const ei = /* @__PURE__ */ oe(Zl, [["__scopeId", "data-v-e67bc3bb"]]), ti = { st
|
|
|
3943
3989
|
O.buttons && P(C);
|
|
3944
3990
|
}
|
|
3945
3991
|
function q() {
|
|
3946
|
-
if (
|
|
3947
|
-
const O =
|
|
3992
|
+
if (w.value) {
|
|
3993
|
+
const O = w.value;
|
|
3948
3994
|
if (O && O.infoGetter().areaCount > 1) {
|
|
3949
|
-
|
|
3950
|
-
const C =
|
|
3951
|
-
|
|
3995
|
+
p.push(O);
|
|
3996
|
+
const C = p.sort((R, V) => (R.area.rowsMin - V.area.rowsMin) * 1e3 + R.area.colsMin - V.area.colsMin);
|
|
3997
|
+
p.splice(0, p.length, ...C);
|
|
3952
3998
|
}
|
|
3953
3999
|
$();
|
|
3954
4000
|
}
|
|
3955
4001
|
}
|
|
3956
|
-
|
|
4002
|
+
xe(() => {
|
|
3957
4003
|
window.document.addEventListener("mouseup", q);
|
|
3958
4004
|
}), ot(() => {
|
|
3959
4005
|
window.document.removeEventListener("mouseup", q);
|
|
3960
4006
|
});
|
|
3961
4007
|
function Z() {
|
|
3962
|
-
const O =
|
|
4008
|
+
const O = p.map((R) => [
|
|
3963
4009
|
R.area.colsMin,
|
|
3964
4010
|
R.area.rowsMin,
|
|
3965
4011
|
R.area.colsMax,
|
|
3966
4012
|
R.area.rowsMax
|
|
3967
4013
|
]);
|
|
3968
|
-
return
|
|
4014
|
+
return I.genLayout(
|
|
3969
4015
|
u.value.row,
|
|
3970
4016
|
u.value.col,
|
|
3971
4017
|
O
|
|
@@ -3973,158 +4019,166 @@ const ei = /* @__PURE__ */ oe(Zl, [["__scopeId", "data-v-e67bc3bb"]]), ti = { st
|
|
|
3973
4019
|
}
|
|
3974
4020
|
return t({
|
|
3975
4021
|
getLayout: Z
|
|
3976
|
-
}), (O, C) => (
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
4022
|
+
}), (O, C) => (N(), A("div", di, [
|
|
4023
|
+
b("div", fi, [
|
|
4024
|
+
b("div", _i, [
|
|
4025
|
+
b("span", mi, j(le(Te)("hang-shu")), 1),
|
|
4026
|
+
b("span", pi, j(o.row), 1),
|
|
4027
|
+
b("button", {
|
|
3982
4028
|
onClick: C[0] || (C[0] = (R) => i()),
|
|
3983
4029
|
style: { cursor: "pointer" }
|
|
3984
4030
|
}, "+"),
|
|
3985
|
-
|
|
4031
|
+
b("button", {
|
|
3986
4032
|
style: { "margin-left": "2px", cursor: "pointer" },
|
|
3987
4033
|
onClick: C[1] || (C[1] = (R) => c())
|
|
3988
4034
|
}, " - ")
|
|
3989
4035
|
]),
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
onClick: C[2] || (C[2] = (R) =>
|
|
4036
|
+
b("div", gi, [
|
|
4037
|
+
b("span", hi, j(le(Te)("lie-shu")), 1),
|
|
4038
|
+
b("span", vi, j(o.col), 1),
|
|
4039
|
+
b("button", {
|
|
4040
|
+
onClick: C[2] || (C[2] = (R) => m()),
|
|
3995
4041
|
style: { cursor: "pointer" }
|
|
3996
4042
|
}, "+"),
|
|
3997
|
-
|
|
4043
|
+
b("button", {
|
|
3998
4044
|
onClick: C[3] || (C[3] = (R) => f()),
|
|
3999
4045
|
style: { "margin-left": "2px", cursor: "pointer" }
|
|
4000
4046
|
}, " - ")
|
|
4001
4047
|
]),
|
|
4002
|
-
|
|
4048
|
+
b("button", {
|
|
4003
4049
|
style: { cursor: "pointer", position: "absolute", right: "10px" },
|
|
4004
4050
|
onClick: C[4] || (C[4] = (R) => l())
|
|
4005
4051
|
}, [
|
|
4006
|
-
|
|
4052
|
+
b("span", { innerHTML: a })
|
|
4007
4053
|
])
|
|
4008
4054
|
]),
|
|
4009
|
-
|
|
4010
|
-
|
|
4055
|
+
b("div", yi, [
|
|
4056
|
+
B(Vt, {
|
|
4011
4057
|
layout: le(u),
|
|
4012
4058
|
class: "area-layout"
|
|
4013
4059
|
}, {
|
|
4014
4060
|
default: te((R) => [
|
|
4015
|
-
|
|
4061
|
+
b("div", {
|
|
4016
4062
|
class: "area-item",
|
|
4017
4063
|
onMousemove: (V) => X(V, R),
|
|
4018
4064
|
onMousedown: (V) => X(V, R)
|
|
4019
|
-
},
|
|
4065
|
+
}, j(R.id), 41, Ei)
|
|
4020
4066
|
]),
|
|
4021
4067
|
_: 1
|
|
4022
4068
|
}, 8, ["layout"]),
|
|
4023
|
-
le(
|
|
4069
|
+
le(w) ? (N(), A("div", {
|
|
4024
4070
|
key: 0,
|
|
4025
|
-
style: _e(le(
|
|
4071
|
+
style: _e(le(w).infoGetter().style),
|
|
4026
4072
|
class: "current-area"
|
|
4027
4073
|
}, null, 4)) : pe("", !0),
|
|
4028
|
-
(
|
|
4074
|
+
(N(!0), A(ue, null, Ee(p, (R, V) => (N(), A("div", {
|
|
4029
4075
|
style: _e([R.infoGetter().style, {}]),
|
|
4030
4076
|
class: "current-area"
|
|
4031
4077
|
}, [
|
|
4032
|
-
|
|
4033
|
-
|
|
4078
|
+
b("span", wi, j(V + 1), 1),
|
|
4079
|
+
b("span", {
|
|
4034
4080
|
class: "close-svg",
|
|
4035
4081
|
innerHTML: s,
|
|
4036
|
-
onClick: (
|
|
4037
|
-
}, null, 8,
|
|
4082
|
+
onClick: (be) => r(V)
|
|
4083
|
+
}, null, 8, bi)
|
|
4038
4084
|
], 4))), 256))
|
|
4039
4085
|
])
|
|
4040
4086
|
]));
|
|
4041
4087
|
}
|
|
4042
4088
|
});
|
|
4043
|
-
const
|
|
4044
|
-
var
|
|
4089
|
+
const Oi = /* @__PURE__ */ oe(Li, [["__scopeId", "data-v-dc80afb8"]]);
|
|
4090
|
+
var Ii = Object.defineProperty, Ti = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ai = (e, t) => {
|
|
4045
4091
|
for (var n in t || (t = {}))
|
|
4046
|
-
|
|
4047
|
-
if (
|
|
4048
|
-
for (var n of
|
|
4049
|
-
|
|
4092
|
+
Si.call(t, n) && kn(e, n, t[n]);
|
|
4093
|
+
if (Mn)
|
|
4094
|
+
for (var n of Mn(t))
|
|
4095
|
+
Ci.call(t, n) && kn(e, n, t[n]);
|
|
4050
4096
|
return e;
|
|
4051
|
-
};
|
|
4052
|
-
const
|
|
4097
|
+
}, Di = (e, t) => Ti(e, Ni(t));
|
|
4098
|
+
const Pi = /* @__PURE__ */ Q({
|
|
4053
4099
|
__name: "layout-custom-editor",
|
|
4100
|
+
props: {
|
|
4101
|
+
zIndexModal: {
|
|
4102
|
+
type: Number
|
|
4103
|
+
}
|
|
4104
|
+
},
|
|
4054
4105
|
setup(e) {
|
|
4055
|
-
const t =
|
|
4056
|
-
function
|
|
4057
|
-
|
|
4106
|
+
const t = e, n = k();
|
|
4107
|
+
function o(u, d) {
|
|
4108
|
+
a.row = u, a.col = d;
|
|
4058
4109
|
}
|
|
4059
|
-
function
|
|
4060
|
-
|
|
4110
|
+
function s(u) {
|
|
4111
|
+
r == null || r(u);
|
|
4061
4112
|
}
|
|
4062
|
-
const
|
|
4113
|
+
const a = Oe({
|
|
4063
4114
|
row: 5,
|
|
4064
4115
|
col: 4
|
|
4065
4116
|
});
|
|
4066
|
-
let
|
|
4067
|
-
function
|
|
4068
|
-
|
|
4117
|
+
let r;
|
|
4118
|
+
function l() {
|
|
4119
|
+
f.value = !1, window.document.removeEventListener("click", l);
|
|
4069
4120
|
}
|
|
4070
|
-
const
|
|
4121
|
+
const i = U(() => c.value ? {
|
|
4071
4122
|
position: "absolute",
|
|
4072
|
-
top: `${
|
|
4073
|
-
left: `${
|
|
4074
|
-
height: `${
|
|
4075
|
-
width: `${
|
|
4076
|
-
} : {}),
|
|
4077
|
-
function
|
|
4078
|
-
window.document.removeEventListener("click",
|
|
4079
|
-
window.document.addEventListener("click",
|
|
4123
|
+
top: `${c.value.y}px`,
|
|
4124
|
+
left: `${c.value.x}px`,
|
|
4125
|
+
height: `${a.row * 50 + 60}px`,
|
|
4126
|
+
width: `${a.col * 80 + 60}px`
|
|
4127
|
+
} : {}), c = k();
|
|
4128
|
+
function m(u, d) {
|
|
4129
|
+
window.document.removeEventListener("click", l), r = d, c.value = u, f.value = !0, setTimeout(() => {
|
|
4130
|
+
window.document.addEventListener("click", l);
|
|
4080
4131
|
}, 50);
|
|
4081
4132
|
}
|
|
4082
|
-
const
|
|
4083
|
-
return
|
|
4084
|
-
|
|
4133
|
+
const f = k(!1);
|
|
4134
|
+
return xe(() => {
|
|
4135
|
+
n.value = document.body;
|
|
4085
4136
|
}), ot(() => {
|
|
4086
|
-
window.document.removeEventListener("click",
|
|
4087
|
-
}), (
|
|
4088
|
-
|
|
4137
|
+
window.document.removeEventListener("click", l);
|
|
4138
|
+
}), (u, d) => (N(), A(ue, null, [
|
|
4139
|
+
n.value ? (N(), Fe(zn, {
|
|
4089
4140
|
key: 0,
|
|
4090
|
-
to:
|
|
4141
|
+
to: n.value
|
|
4091
4142
|
}, [
|
|
4092
|
-
|
|
4143
|
+
f.value ? (N(), A("div", {
|
|
4093
4144
|
key: 0,
|
|
4094
|
-
style: _e([{ "background-color": "white" },
|
|
4095
|
-
onClick:
|
|
4145
|
+
style: _e([{ "background-color": "white" }, Di(Ai({}, le(i)), { zIndex: t.zIndexModal })]),
|
|
4146
|
+
onClick: d[0] || (d[0] = (p) => p.stopPropagation())
|
|
4096
4147
|
}, [
|
|
4097
|
-
|
|
4098
|
-
row:
|
|
4099
|
-
col:
|
|
4100
|
-
updataLayoutInfo:
|
|
4101
|
-
onApplyLayoutCustom:
|
|
4148
|
+
B(Oi, {
|
|
4149
|
+
row: a.row,
|
|
4150
|
+
col: a.col,
|
|
4151
|
+
updataLayoutInfo: o,
|
|
4152
|
+
onApplyLayoutCustom: s
|
|
4102
4153
|
}, null, 8, ["row", "col"])
|
|
4103
4154
|
], 4)) : pe("", !0)
|
|
4104
4155
|
], 8, ["to"])) : pe("", !0),
|
|
4105
|
-
Y(
|
|
4156
|
+
Y(u.$slots, "default", { addCustomLayoutGen: m })
|
|
4106
4157
|
], 64));
|
|
4107
4158
|
}
|
|
4108
4159
|
});
|
|
4109
|
-
var
|
|
4160
|
+
var $i = Object.defineProperty, Rn = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, xn = (e, t, n) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ri = (e, t) => {
|
|
4110
4161
|
for (var n in t || (t = {}))
|
|
4111
|
-
|
|
4112
|
-
if (
|
|
4113
|
-
for (var n of
|
|
4114
|
-
|
|
4162
|
+
Mi.call(t, n) && xn(e, n, t[n]);
|
|
4163
|
+
if (Rn)
|
|
4164
|
+
for (var n of Rn(t))
|
|
4165
|
+
ki.call(t, n) && xn(e, n, t[n]);
|
|
4115
4166
|
return e;
|
|
4116
4167
|
};
|
|
4117
|
-
const
|
|
4168
|
+
const xi = {
|
|
4118
4169
|
class: "dash-border",
|
|
4119
4170
|
style: {
|
|
4120
4171
|
width: "78px",
|
|
4121
4172
|
height: "48px"
|
|
4122
4173
|
}
|
|
4123
|
-
},
|
|
4174
|
+
}, Fi = { style: { width: "100%", height: "40px" } }, Vi = { class: "add-row-panel" }, Ui = /* @__PURE__ */ Q({
|
|
4124
4175
|
__name: "layoutGen",
|
|
4125
4176
|
props: {
|
|
4126
|
-
|
|
4177
|
+
savedLayout: {
|
|
4127
4178
|
type: Object
|
|
4179
|
+
},
|
|
4180
|
+
zIndexModal: {
|
|
4181
|
+
type: Number
|
|
4128
4182
|
}
|
|
4129
4183
|
},
|
|
4130
4184
|
setup(e, { expose: t }) {
|
|
@@ -4138,37 +4192,45 @@ const Oi = {
|
|
|
4138
4192
|
function a() {
|
|
4139
4193
|
o.row > 2 && o.row--;
|
|
4140
4194
|
}
|
|
4141
|
-
const r =
|
|
4195
|
+
const r = k([]);
|
|
4142
4196
|
t({
|
|
4143
4197
|
getLayouts() {
|
|
4144
4198
|
return {
|
|
4145
|
-
layouts: r.value.map((
|
|
4146
|
-
meta:
|
|
4199
|
+
layouts: r.value.map((m) => m.getLayout()).filter((m) => !!m),
|
|
4200
|
+
meta: Ri({}, ze(o))
|
|
4147
4201
|
};
|
|
4148
4202
|
}
|
|
4149
4203
|
});
|
|
4150
4204
|
function l(i, c) {
|
|
4151
|
-
var
|
|
4152
|
-
|
|
4153
|
-
(
|
|
4205
|
+
var m;
|
|
4206
|
+
const f = (m = n.savedLayout) == null ? void 0 : m.layouts.find(
|
|
4207
|
+
(u) => u.locatoin.col == c && u.locatoin.row == i
|
|
4154
4208
|
);
|
|
4209
|
+
if (f != null && f.layout)
|
|
4210
|
+
return f == null ? void 0 : f.layout;
|
|
4211
|
+
if (n.savedLayout)
|
|
4212
|
+
return I.zeroLayout;
|
|
4155
4213
|
}
|
|
4156
|
-
return
|
|
4157
|
-
n.
|
|
4158
|
-
}), (i, c) => (
|
|
4159
|
-
|
|
4160
|
-
|
|
4214
|
+
return xe(() => {
|
|
4215
|
+
n.savedLayout && (o.row = n.savedLayout.meta.row, o.col = n.savedLayout.meta.col);
|
|
4216
|
+
}), (i, c) => (N(), Fe(Pi, {
|
|
4217
|
+
zIndexModal: n.zIndexModal
|
|
4218
|
+
}, {
|
|
4219
|
+
default: te(({ addCustomLayoutGen: m }) => [
|
|
4220
|
+
B(ai, {
|
|
4221
|
+
zIndexModal: n.zIndexModal
|
|
4222
|
+
}, {
|
|
4161
4223
|
default: te(({ addPreSetLayout: f }) => [
|
|
4162
|
-
|
|
4163
|
-
|
|
4224
|
+
b("div", null, [
|
|
4225
|
+
b("div", {
|
|
4164
4226
|
style: _e([{ display: "inline-block", "vertical-align": "top" }, { width: `${80 * o.col}px` }])
|
|
4165
4227
|
}, [
|
|
4166
|
-
(
|
|
4228
|
+
(N(!0), A(ue, null, Ee(Array.from({ length: o.row }), (u, d) => (N(), A("div", {
|
|
4167
4229
|
style: _e({ width: `${80 * o.col}px` })
|
|
4168
4230
|
}, [
|
|
4169
|
-
(
|
|
4170
|
-
|
|
4171
|
-
|
|
4231
|
+
(N(!0), A(ue, null, Ee(Array.from({ length: o.col }), (p, v) => (N(), A("div", xi, [
|
|
4232
|
+
b("div", Fi, [
|
|
4233
|
+
B(ui, {
|
|
4172
4234
|
ref_for: !0,
|
|
4173
4235
|
ref_key: "layoutSelectorRefs",
|
|
4174
4236
|
ref: r,
|
|
@@ -4176,19 +4238,19 @@ const Oi = {
|
|
|
4176
4238
|
col: v,
|
|
4177
4239
|
index: o.col * d + v,
|
|
4178
4240
|
onAddPreset: f,
|
|
4179
|
-
onAddCustom:
|
|
4241
|
+
onAddCustom: m,
|
|
4180
4242
|
layout: l(d, v)
|
|
4181
4243
|
}, null, 8, ["row", "col", "index", "onAddPreset", "onAddCustom", "layout"])
|
|
4182
4244
|
])
|
|
4183
4245
|
]))), 256))
|
|
4184
4246
|
], 4))), 256)),
|
|
4185
|
-
|
|
4186
|
-
|
|
4247
|
+
b("div", Vi, [
|
|
4248
|
+
b("div", {
|
|
4187
4249
|
onClick: c[0] || (c[0] = (u) => a()),
|
|
4188
4250
|
style: { display: "inline-block", width: "calc(50% - 5px)" },
|
|
4189
4251
|
class: "add-row-panel-remove"
|
|
4190
4252
|
}, " - "),
|
|
4191
|
-
|
|
4253
|
+
b("div", {
|
|
4192
4254
|
onClick: c[1] || (c[1] = (u) => s()),
|
|
4193
4255
|
style: { display: "inline-block", width: "calc(50% - 5px)" },
|
|
4194
4256
|
class: "add-row-panel-add"
|
|
@@ -4198,56 +4260,65 @@ const Oi = {
|
|
|
4198
4260
|
])
|
|
4199
4261
|
]),
|
|
4200
4262
|
_: 2
|
|
4201
|
-
},
|
|
4263
|
+
}, 1032, ["zIndexModal"])
|
|
4202
4264
|
]),
|
|
4203
4265
|
_: 1
|
|
4204
|
-
}));
|
|
4266
|
+
}, 8, ["zIndexModal"]));
|
|
4205
4267
|
}
|
|
4206
4268
|
});
|
|
4207
|
-
const
|
|
4269
|
+
const Gi = /* @__PURE__ */ oe(Ui, [["__scopeId", "data-v-a44695f9"]]), zi = { style: { "background-color": "white" } }, Hi = /* @__PURE__ */ Q({
|
|
4208
4270
|
__name: "index",
|
|
4209
4271
|
props: {
|
|
4210
4272
|
savedLayout: {
|
|
4211
4273
|
type: Object
|
|
4274
|
+
},
|
|
4275
|
+
zIndexModal: {
|
|
4276
|
+
type: Number
|
|
4212
4277
|
}
|
|
4213
4278
|
},
|
|
4214
4279
|
setup(e, { expose: t }) {
|
|
4215
|
-
const n = e, o =
|
|
4280
|
+
const n = e, o = k();
|
|
4216
4281
|
return t({
|
|
4217
4282
|
getLayout() {
|
|
4218
4283
|
var s;
|
|
4219
4284
|
return (s = o.value) == null ? void 0 : s.getLayouts();
|
|
4220
4285
|
}
|
|
4221
|
-
}), (s, a) => (
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4286
|
+
}), (s, a) => (N(), A("div", zi, [
|
|
4287
|
+
B(Gi, {
|
|
4288
|
+
ref_key: "refLayoutGen",
|
|
4289
|
+
ref: o,
|
|
4290
|
+
savedLayout: n.savedLayout,
|
|
4291
|
+
zIndexModal: n.zIndexModal
|
|
4292
|
+
}, null, 8, ["savedLayout", "zIndexModal"])
|
|
4293
|
+
]));
|
|
4226
4294
|
}
|
|
4227
4295
|
});
|
|
4228
|
-
const
|
|
4229
|
-
RecursionDeviceGroup:
|
|
4230
|
-
VideoAreasLayoutShow:
|
|
4231
|
-
MultiVideoAreaLayoutSwitch:
|
|
4232
|
-
VideoAreasLayoutCustom:
|
|
4233
|
-
},
|
|
4296
|
+
const ji = /* @__PURE__ */ oe(Hi, [["__scopeId", "data-v-ab800ae2"]]), Fn = {
|
|
4297
|
+
RecursionDeviceGroup: tl,
|
|
4298
|
+
VideoAreasLayoutShow: Vt,
|
|
4299
|
+
MultiVideoAreaLayoutSwitch: Kl,
|
|
4300
|
+
VideoAreasLayoutCustom: ji
|
|
4301
|
+
}, Xi = {
|
|
4234
4302
|
install(e, t) {
|
|
4235
|
-
|
|
4236
|
-
t && typeof t.locale < "u" ? t.locale :
|
|
4237
|
-
), t.deviceListDisplayStyle &&
|
|
4238
|
-
for (const n in
|
|
4239
|
-
const o =
|
|
4303
|
+
Hr(
|
|
4304
|
+
t && typeof t.locale < "u" ? t.locale : ho.en
|
|
4305
|
+
), t.deviceListDisplayStyle && Wr(t.deviceListDisplayStyle);
|
|
4306
|
+
for (const n in Fn) {
|
|
4307
|
+
const o = Fn[n];
|
|
4240
4308
|
e.component(n, o);
|
|
4241
4309
|
}
|
|
4242
4310
|
}
|
|
4243
4311
|
};
|
|
4244
4312
|
export {
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4313
|
+
vo as DeviceListNameDisplayStyle,
|
|
4314
|
+
yo as DeviceListTheme,
|
|
4315
|
+
jr as GetGlobalDeviceListTheme,
|
|
4316
|
+
Kr as GetIsHideDeviceIdInDeviceDisplay,
|
|
4317
|
+
gn as RecursionDeviceGroup,
|
|
4318
|
+
Wr as SetDeviceListNameDisplayStyle,
|
|
4319
|
+
Ki as SetGlobalDeviceListTheme,
|
|
4320
|
+
Yi as SetIsHideDeviceIdInDeviceDisplay,
|
|
4321
|
+
I as VideoAreaLayout,
|
|
4322
|
+
Xi as default
|
|
4252
4323
|
};
|
|
4253
4324
|
//# sourceMappingURL=smarteye-e-components.mjs.map
|