smarteye-e-components 0.0.47 → 0.0.49
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 +1 -1
- package/dist/smarteye-e-components.js.map +1 -1
- package/dist/smarteye-e-components.mjs +90 -83
- package/dist/smarteye-e-components.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/multi-video-area-layout-switch/model/index.d.ts +5 -2
- package/lib/components/video-areas-layout-show/index.vue.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _e, computed as
|
|
1
|
+
import { defineComponent as _e, computed as W, openBlock as P, createElementBlock as k, renderSlot as oe, createElementVNode as C, toDisplayString as ue, h as $e, ref as x, watch as Me, normalizeStyle as Ie, Fragment as Oe, renderList as Ce, inject as fn, resolveComponent as ie, normalizeClass as Xe, createVNode as se, withCtx as ce, createCommentVNode as Be, createBlock as _n, getCurrentInstance as it, effectScope as yo, onMounted as dn, onUnmounted as mn, isRef as Io, Text as Lo, provide as So, withDirectives as wo, vShow as Do, pushScopeId as Co, popScopeId as Ao } from "vue";
|
|
2
2
|
var bt;
|
|
3
3
|
((e) => {
|
|
4
4
|
((n) => {
|
|
@@ -168,7 +168,7 @@ const Po = _e({
|
|
|
168
168
|
}
|
|
169
169
|
return 0;
|
|
170
170
|
}
|
|
171
|
-
const n =
|
|
171
|
+
const n = W(() => t((o) => {
|
|
172
172
|
var a, s;
|
|
173
173
|
if (o.devices) {
|
|
174
174
|
let l = (a = o.devices) == null ? void 0 : a.filter((c) => c.online);
|
|
@@ -178,7 +178,7 @@ const Po = _e({
|
|
|
178
178
|
return 0;
|
|
179
179
|
}, e.countInfo));
|
|
180
180
|
return {
|
|
181
|
-
totalCount:
|
|
181
|
+
totalCount: W(() => t((o) => {
|
|
182
182
|
var a;
|
|
183
183
|
if (o.devices) {
|
|
184
184
|
let s = o.devices;
|
|
@@ -196,14 +196,14 @@ const de = (e, t) => {
|
|
|
196
196
|
for (const [r, o] of t)
|
|
197
197
|
n[r] = o;
|
|
198
198
|
return n;
|
|
199
|
-
},
|
|
199
|
+
}, Fo = { class: "root" }, Ro = { class: "count-show" };
|
|
200
200
|
function ko(e, t, n, r, o, a) {
|
|
201
|
-
return P(), k("div",
|
|
201
|
+
return P(), k("div", Fo, [
|
|
202
202
|
oe(e.$slots, "default", {
|
|
203
203
|
total: e.totalCount,
|
|
204
204
|
online: e.onlineCount
|
|
205
205
|
}, void 0, !0),
|
|
206
|
-
C("span",
|
|
206
|
+
C("span", Ro, ue(e.onlineCount) + "/" + ue(e.totalCount), 1)
|
|
207
207
|
]);
|
|
208
208
|
}
|
|
209
209
|
const gn = /* @__PURE__ */ de(Po, [["render", ko], ["__scopeId", "data-v-a063c331"]]), pn = Object.freeze(
|
|
@@ -539,10 +539,10 @@ const lr = {
|
|
|
539
539
|
start: x(0),
|
|
540
540
|
end: x(0)
|
|
541
541
|
}, n = x(), r = {
|
|
542
|
-
listHeight:
|
|
543
|
-
visibleCount:
|
|
544
|
-
getTransform:
|
|
545
|
-
visibleData:
|
|
542
|
+
listHeight: W(() => e.listData.length * e.itemSize),
|
|
543
|
+
visibleCount: W(() => Math.ceil(t.screenHeight.value / e.itemSize)),
|
|
544
|
+
getTransform: W(() => `translate3d(0,${t.startOffset.value}px,0)`),
|
|
545
|
+
visibleData: W(() => e.listData.slice(t.start.value, Math.min(t.end.value, e.listData.length)))
|
|
546
546
|
};
|
|
547
547
|
return Ct(sr(Ct({}, r), {
|
|
548
548
|
virList: n
|
|
@@ -628,12 +628,12 @@ const hr = _e({
|
|
|
628
628
|
return u.name.length > 0 ? u.name : u.id;
|
|
629
629
|
}
|
|
630
630
|
}, a = {
|
|
631
|
-
filteredDevices:
|
|
631
|
+
filteredDevices: W(() => {
|
|
632
632
|
var u;
|
|
633
633
|
const _ = (u = e.deviceGroup) == null ? void 0 : u.devices, d = _ && _.filter((v) => o.filterDevice(v)) || [];
|
|
634
634
|
return d.filter((v) => v.online).concat(d.filter((v) => !v.online));
|
|
635
635
|
})
|
|
636
|
-
}, s =
|
|
636
|
+
}, s = W(() => a.filteredDevices.value.length > 10 ? "400px" : `${a.filteredDevices.value.length * 40}px`);
|
|
637
637
|
function l(u, _) {
|
|
638
638
|
if (_.length == 0)
|
|
639
639
|
return !0;
|
|
@@ -645,7 +645,7 @@ const hr = _e({
|
|
|
645
645
|
}
|
|
646
646
|
return d;
|
|
647
647
|
}
|
|
648
|
-
const i =
|
|
648
|
+
const i = W(() => {
|
|
649
649
|
if (e.controlParams) {
|
|
650
650
|
const u = e.controlParams.searchStr;
|
|
651
651
|
if (e.deviceGroup)
|
|
@@ -794,7 +794,7 @@ const Sr = /* @__PURE__ */ de(hr, [["render", Lr], ["__scopeId", "data-v-93cfc8d
|
|
|
794
794
|
width: 1024,
|
|
795
795
|
height: 1024,
|
|
796
796
|
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"/>'
|
|
797
|
-
},
|
|
797
|
+
}, Fr = {
|
|
798
798
|
width: 1024,
|
|
799
799
|
height: 1024,
|
|
800
800
|
body: '<path fill="currentColor" d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"/>'
|
|
@@ -812,25 +812,25 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
812
812
|
e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
|
|
813
813
|
});
|
|
814
814
|
}
|
|
815
|
-
const
|
|
815
|
+
const Rr = /\{([0-9a-zA-Z]+)\}/g;
|
|
816
816
|
function ut(e, ...t) {
|
|
817
|
-
return t.length === 1 && S(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(
|
|
817
|
+
return t.length === 1 && S(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Rr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
818
818
|
}
|
|
819
819
|
const kr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", ne = (e) => kr ? Symbol(e) : e, $r = (e, t, n) => Mr({ l: e, k: t, s: n }), Mr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), M = (e) => typeof e == "number" && isFinite(e), Vr = (e) => dt(e) === "[object Date]", Ve = (e) => dt(e) === "[object RegExp]", xe = (e) => y(e) && Object.keys(e).length === 0;
|
|
820
820
|
function be(e, t) {
|
|
821
821
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
822
822
|
}
|
|
823
823
|
const j = Object.assign;
|
|
824
|
-
let
|
|
825
|
-
const ft = () =>
|
|
826
|
-
function
|
|
824
|
+
let Ft;
|
|
825
|
+
const ft = () => Ft || (Ft = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
826
|
+
function Rt(e) {
|
|
827
827
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
828
828
|
}
|
|
829
829
|
const Ur = Object.prototype.hasOwnProperty;
|
|
830
830
|
function _t(e, t) {
|
|
831
831
|
return Ur.call(e, t);
|
|
832
832
|
}
|
|
833
|
-
const
|
|
833
|
+
const F = Array.isArray, $ = (e) => typeof e == "function", h = (e) => typeof e == "string", A = (e) => typeof e == "boolean", S = (e) => e !== null && typeof e == "object", bn = Object.prototype.toString, dt = (e) => bn.call(e), y = (e) => dt(e) === "[object Object]", xr = (e) => e == null ? "" : F(e) || y(e) && e.toString === bn ? JSON.stringify(e, null, 2) : String(e), kt = 2;
|
|
834
834
|
function Gr(e, t = 0, n = e.length) {
|
|
835
835
|
const r = e.split(/\r?\n/);
|
|
836
836
|
let o = 0;
|
|
@@ -1095,7 +1095,7 @@ function rs(e = {}) {
|
|
|
1095
1095
|
let p = "text", w = "";
|
|
1096
1096
|
b.length === 1 ? S(L) ? (w = L.modifier || w, p = L.type || p) : h(L) && (w = L || w) : b.length === 2 && (h(L) && (w = L || w), h(T) && (p = T || p));
|
|
1097
1097
|
let I = u(N)(E);
|
|
1098
|
-
return p === "vnode" &&
|
|
1098
|
+
return p === "vnode" && F(I) && w && (I = I[0]), w ? _(w)(I, p) : I;
|
|
1099
1099
|
},
|
|
1100
1100
|
message: u,
|
|
1101
1101
|
type: v,
|
|
@@ -1142,7 +1142,7 @@ function Ee(e, ...t) {
|
|
|
1142
1142
|
function us(e, t, n) {
|
|
1143
1143
|
return [.../* @__PURE__ */ new Set([
|
|
1144
1144
|
n,
|
|
1145
|
-
...
|
|
1145
|
+
...F(t) ? t : S(t) ? Object.keys(t) : h(t) ? [t] : [n]
|
|
1146
1146
|
])];
|
|
1147
1147
|
}
|
|
1148
1148
|
function Ln(e, t, n) {
|
|
@@ -1152,10 +1152,10 @@ function Ln(e, t, n) {
|
|
|
1152
1152
|
if (!a) {
|
|
1153
1153
|
a = [];
|
|
1154
1154
|
let s = [n];
|
|
1155
|
-
for (;
|
|
1155
|
+
for (; F(s); )
|
|
1156
1156
|
s = Vt(a, s, t);
|
|
1157
|
-
const l =
|
|
1158
|
-
s = h(l) ? [l] : l,
|
|
1157
|
+
const l = F(t) || !y(t) ? t : t.default ? t.default : null;
|
|
1158
|
+
s = h(l) ? [l] : l, F(s) && Vt(a, s, !1), o.__localeChainCache.set(r, a);
|
|
1159
1159
|
}
|
|
1160
1160
|
return a;
|
|
1161
1161
|
}
|
|
@@ -1181,7 +1181,7 @@ function _s(e, t, n) {
|
|
|
1181
1181
|
if (!e.includes(t) && (r = !0, t)) {
|
|
1182
1182
|
r = t[t.length - 1] !== "!";
|
|
1183
1183
|
const o = t.replace(/!/g, "");
|
|
1184
|
-
e.push(o), (
|
|
1184
|
+
e.push(o), (F(n) || y(n)) && n[o] && (r = n[o]);
|
|
1185
1185
|
}
|
|
1186
1186
|
return r;
|
|
1187
1187
|
}
|
|
@@ -1211,7 +1211,7 @@ const Gt = (e) => {
|
|
|
1211
1211
|
}, Es = () => Cn;
|
|
1212
1212
|
let Wt = 0;
|
|
1213
1213
|
function Os(e = {}) {
|
|
1214
|
-
const t = h(e.version) ? e.version : ds, n = h(e.locale) ? e.locale : mt, r =
|
|
1214
|
+
const t = h(e.version) ? e.version : ds, n = h(e.locale) ? e.locale : mt, r = F(e.fallbackLocale) || y(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, o = y(e.messages) ? e.messages : { [n]: {} }, a = y(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, s = y(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = j({}, e.modifiers || {}, ms()), i = e.pluralRules || {}, c = $(e.missing) ? e.missing : null, u = A(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, _ = A(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, d = !!e.fallbackFormat, g = !!e.unresolving, v = $(e.postTranslation) ? e.postTranslation : null, O = y(e.processor) ? e.processor : null, E = A(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, b = $(e.messageCompiler) ? e.messageCompiler : gs, L = $(e.messageResolver) ? e.messageResolver : Sn || Xr, T = $(e.localeFallbacker) ? e.localeFallbacker : wn || us, p = S(e.fallbackContext) ? e.fallbackContext : void 0, w = $(e.onWarn) ? e.onWarn : be, I = e, V = S(I.__datetimeFormatters) ? I.__datetimeFormatters : /* @__PURE__ */ new Map(), z = S(I.__numberFormatters) ? I.__numberFormatters : /* @__PURE__ */ new Map(), J = S(I.__meta) ? I.__meta : {};
|
|
1215
1215
|
Wt++;
|
|
1216
1216
|
const q = {
|
|
1217
1217
|
version: t,
|
|
@@ -1288,7 +1288,7 @@ function jt(e, ...t) {
|
|
|
1288
1288
|
i,
|
|
1289
1289
|
E,
|
|
1290
1290
|
l[E] || {}
|
|
1291
|
-
] :
|
|
1291
|
+
] : Fn(e, i, E, s, _, u), T = N, p = i;
|
|
1292
1292
|
if (!g && !(h(T) || ee(T)) && O && (T = v, p = T), !g && (!(h(T) || ee(T)) || !h(b)))
|
|
1293
1293
|
return o ? Ge : i;
|
|
1294
1294
|
if (process.env.NODE_ENV !== "production" && h(T) && e.messageCompiler == null)
|
|
@@ -1296,7 +1296,7 @@ function jt(e, ...t) {
|
|
|
1296
1296
|
let w = !1;
|
|
1297
1297
|
const I = () => {
|
|
1298
1298
|
w = !0;
|
|
1299
|
-
}, V = ee(T) ? T :
|
|
1299
|
+
}, V = ee(T) ? T : Rn(e, i, b, T, p, I);
|
|
1300
1300
|
if (w)
|
|
1301
1301
|
return T;
|
|
1302
1302
|
const z = Is(e, b, L, c), J = rs(z), q = Ts(e, V, J), Ae = r ? r(q, i) : q;
|
|
@@ -1313,11 +1313,11 @@ function jt(e, ...t) {
|
|
|
1313
1313
|
return Ae;
|
|
1314
1314
|
}
|
|
1315
1315
|
function bs(e) {
|
|
1316
|
-
|
|
1317
|
-
h(e.named[t]) && (e.named[t] =
|
|
1316
|
+
F(e.list) ? e.list = e.list.map((t) => h(t) ? Rt(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1317
|
+
h(e.named[t]) && (e.named[t] = Rt(e.named[t]));
|
|
1318
1318
|
});
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Fn(e, t, n, r, o, a) {
|
|
1321
1321
|
const { messages: s, onWarn: l, messageResolver: i, localeFallbacker: c } = e, u = c(e, r, n);
|
|
1322
1322
|
let _ = {}, d, g = null, v = n, O = null;
|
|
1323
1323
|
const E = "translate";
|
|
@@ -1360,7 +1360,7 @@ function Rn(e, t, n, r, o, a) {
|
|
|
1360
1360
|
}
|
|
1361
1361
|
return [g, d, _];
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function Rn(e, t, n, r, o, a) {
|
|
1364
1364
|
const { messageCompiler: s, warnHtmlMessage: l } = e;
|
|
1365
1365
|
if (ee(r)) {
|
|
1366
1366
|
const d = r;
|
|
@@ -1404,7 +1404,7 @@ function Je(...e) {
|
|
|
1404
1404
|
if (!h(t) && !M(t) && !ee(t))
|
|
1405
1405
|
throw ve(re.INVALID_ARGUMENT);
|
|
1406
1406
|
const a = M(t) ? String(t) : (ee(t), t);
|
|
1407
|
-
return M(n) ? o.plural = n : h(n) ? o.default = n : y(n) && !xe(n) ? o.named = n :
|
|
1407
|
+
return M(n) ? o.plural = n : h(n) ? o.default = n : y(n) && !xe(n) ? o.named = n : F(n) && (o.list = n), M(r) ? o.plural = r : h(r) ? o.default = r : y(r) && j(o, r), [a, o];
|
|
1408
1408
|
}
|
|
1409
1409
|
function ys(e, t, n, r, o, a) {
|
|
1410
1410
|
return {
|
|
@@ -1434,12 +1434,12 @@ function Is(e, t, n, r) {
|
|
|
1434
1434
|
messages: (g) => {
|
|
1435
1435
|
let v = s(n, g);
|
|
1436
1436
|
if (v == null && u) {
|
|
1437
|
-
const [, , O] =
|
|
1437
|
+
const [, , O] = Fn(u, g, t, l, i, c);
|
|
1438
1438
|
v = s(O, g);
|
|
1439
1439
|
}
|
|
1440
1440
|
if (h(v)) {
|
|
1441
1441
|
let O = !1;
|
|
1442
|
-
const N =
|
|
1442
|
+
const N = Rn(e, g, t, v, g, () => {
|
|
1443
1443
|
O = !0;
|
|
1444
1444
|
});
|
|
1445
1445
|
return O ? Ht : N;
|
|
@@ -1701,7 +1701,7 @@ class Ps {
|
|
|
1701
1701
|
n.resolve(await this.target[n.method](...n.args));
|
|
1702
1702
|
}
|
|
1703
1703
|
}
|
|
1704
|
-
function
|
|
1704
|
+
function Fs(e, t) {
|
|
1705
1705
|
const n = e, r = Vn(), o = Ls(), a = Ss && n.enableEarlyProxy;
|
|
1706
1706
|
if (o && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
1707
1707
|
o.emit(ws, e, t);
|
|
@@ -1723,7 +1723,7 @@ const ze = {
|
|
|
1723
1723
|
["vue-devtools-plugin-vue-i18n"]: "Vue I18n devtools",
|
|
1724
1724
|
["vue-i18n-resource-inspector"]: "I18n Resources",
|
|
1725
1725
|
["vue-i18n-timeline"]: "Vue I18n"
|
|
1726
|
-
},
|
|
1726
|
+
}, Rs = {
|
|
1727
1727
|
["vue-i18n-resource-inspector"]: "Search for scopes ..."
|
|
1728
1728
|
}, ks = {
|
|
1729
1729
|
["vue-i18n-timeline"]: 16764185
|
|
@@ -1815,8 +1815,8 @@ function st(e) {
|
|
|
1815
1815
|
return e;
|
|
1816
1816
|
}
|
|
1817
1817
|
function Gn(e, t) {
|
|
1818
|
-
const { messages: n, __i18n: r, messageResolver: o, flatJson: a } = t, s = y(n) ? n :
|
|
1819
|
-
if (
|
|
1818
|
+
const { messages: n, __i18n: r, messageResolver: o, flatJson: a } = t, s = y(n) ? n : F(r) ? {} : { [e]: {} };
|
|
1819
|
+
if (F(r) && r.forEach((l) => {
|
|
1820
1820
|
if ("locale" in l && "resource" in l) {
|
|
1821
1821
|
const { locale: i, resource: c } = l;
|
|
1822
1822
|
i ? (s[i] = s[i] || {}, Le(c, s[i])) : Le(c, s);
|
|
@@ -1827,12 +1827,12 @@ function Gn(e, t) {
|
|
|
1827
1827
|
_t(s, l) && st(s[l]);
|
|
1828
1828
|
return s;
|
|
1829
1829
|
}
|
|
1830
|
-
const
|
|
1830
|
+
const Re = (e) => !S(e) || F(e);
|
|
1831
1831
|
function Le(e, t) {
|
|
1832
|
-
if (
|
|
1832
|
+
if (Re(e) || Re(t))
|
|
1833
1833
|
throw Q(D.INVALID_VALUE);
|
|
1834
1834
|
for (const n in e)
|
|
1835
|
-
_t(e, n) && (
|
|
1835
|
+
_t(e, n) && (Re(e[n]) || Re(t[n]) ? t[n] = e[n] : Le(e[n], t[n]));
|
|
1836
1836
|
}
|
|
1837
1837
|
function Wn(e) {
|
|
1838
1838
|
return e.type;
|
|
@@ -1881,7 +1881,7 @@ function Hn(e = {}, t) {
|
|
|
1881
1881
|
const a = x(
|
|
1882
1882
|
n && o ? n.locale.value : h(e.locale) ? e.locale : mt
|
|
1883
1883
|
), s = x(
|
|
1884
|
-
n && o ? n.fallbackLocale.value : h(e.fallbackLocale) ||
|
|
1884
|
+
n && o ? n.fallbackLocale.value : h(e.fallbackLocale) || F(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
|
|
1885
1885
|
), l = x(Gn(a.value, e)), i = x(y(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = x(y(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
|
|
1886
1886
|
let u = n ? n.missingWarn : A(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, _ = n ? n.fallbackWarn : A(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, d = n ? n.fallbackRoot : A(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, v = $(e.missing) ? e.missing : null, O = $(e.missing) ? Zt(e.missing) : null, E = $(e.postTranslation) ? e.postTranslation : null, N = n ? n.warnHtmlMessage : A(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
|
|
1887
1887
|
const L = n ? n.modifiers : y(e.modifiers) ? e.modifiers : {};
|
|
@@ -1919,17 +1919,17 @@ function Hn(e = {}, t) {
|
|
|
1919
1919
|
c.value
|
|
1920
1920
|
];
|
|
1921
1921
|
}
|
|
1922
|
-
const V =
|
|
1922
|
+
const V = W({
|
|
1923
1923
|
get: () => a.value,
|
|
1924
1924
|
set: (f) => {
|
|
1925
1925
|
a.value = f, p.locale = a.value;
|
|
1926
1926
|
}
|
|
1927
|
-
}), z =
|
|
1927
|
+
}), z = W({
|
|
1928
1928
|
get: () => s.value,
|
|
1929
1929
|
set: (f) => {
|
|
1930
1930
|
s.value = f, p.fallbackLocale = s.value, Te(p, a.value, f);
|
|
1931
1931
|
}
|
|
1932
|
-
}), J =
|
|
1932
|
+
}), J = W(() => l.value), q = /* @__PURE__ */ W(() => i.value), Ae = /* @__PURE__ */ W(() => c.value);
|
|
1933
1933
|
function Pe() {
|
|
1934
1934
|
return $(E) ? E : null;
|
|
1935
1935
|
}
|
|
@@ -1945,7 +1945,7 @@ function Hn(e = {}, t) {
|
|
|
1945
1945
|
function to(f, m) {
|
|
1946
1946
|
return f !== "translate" || !m.resolvedMessage;
|
|
1947
1947
|
}
|
|
1948
|
-
const me = (f, m, B,
|
|
1948
|
+
const me = (f, m, B, H, je, Fe) => {
|
|
1949
1949
|
I();
|
|
1950
1950
|
let ge;
|
|
1951
1951
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
|
|
@@ -1970,9 +1970,9 @@ function Hn(e = {}, t) {
|
|
|
1970
1970
|
groupId: `${B}:${le}`
|
|
1971
1971
|
});
|
|
1972
1972
|
}
|
|
1973
|
-
return n && d ?
|
|
1973
|
+
return n && d ? H(n) : je(le);
|
|
1974
1974
|
} else {
|
|
1975
|
-
if (
|
|
1975
|
+
if (Fe(ge))
|
|
1976
1976
|
return ge;
|
|
1977
1977
|
throw Q(D.UNEXPECTED_RETURN_TYPE);
|
|
1978
1978
|
}
|
|
@@ -1981,10 +1981,10 @@ function Hn(e = {}, t) {
|
|
|
1981
1981
|
return me((m) => Reflect.apply(jt, null, [m, ...f]), () => Je(...f), "translate", (m) => Reflect.apply(m.t, m, [...f]), (m) => m, (m) => h(m));
|
|
1982
1982
|
}
|
|
1983
1983
|
function no(...f) {
|
|
1984
|
-
const [m, B,
|
|
1985
|
-
if (
|
|
1984
|
+
const [m, B, H] = f;
|
|
1985
|
+
if (H && !S(H))
|
|
1986
1986
|
throw Q(D.INVALID_ARGUMENT);
|
|
1987
|
-
return Et(m, B, j({ resolvedMessage: !0 },
|
|
1987
|
+
return Et(m, B, j({ resolvedMessage: !0 }, H || {}));
|
|
1988
1988
|
}
|
|
1989
1989
|
function oo(...f) {
|
|
1990
1990
|
return me((m) => Reflect.apply(Yt, null, [m, ...f]), () => qe(...f), "datetime format", (m) => Reflect.apply(m.d, m, [...f]), () => Ue, (m) => h(m));
|
|
@@ -2004,11 +2004,11 @@ function Hn(e = {}, t) {
|
|
|
2004
2004
|
return me(
|
|
2005
2005
|
(m) => {
|
|
2006
2006
|
let B;
|
|
2007
|
-
const
|
|
2007
|
+
const H = m;
|
|
2008
2008
|
try {
|
|
2009
|
-
|
|
2009
|
+
H.processor = ao, B = Reflect.apply(jt, null, [H, ...f]);
|
|
2010
2010
|
} finally {
|
|
2011
|
-
|
|
2011
|
+
H.processor = null;
|
|
2012
2012
|
}
|
|
2013
2013
|
return B;
|
|
2014
2014
|
},
|
|
@@ -2016,7 +2016,7 @@ function Hn(e = {}, t) {
|
|
|
2016
2016
|
"translate",
|
|
2017
2017
|
(m) => m[tt](...f),
|
|
2018
2018
|
(m) => [Qt(m)],
|
|
2019
|
-
(m) =>
|
|
2019
|
+
(m) => F(m)
|
|
2020
2020
|
);
|
|
2021
2021
|
}
|
|
2022
2022
|
function io(...f) {
|
|
@@ -2026,7 +2026,7 @@ function Hn(e = {}, t) {
|
|
|
2026
2026
|
"number format",
|
|
2027
2027
|
(m) => m[ot](...f),
|
|
2028
2028
|
() => [],
|
|
2029
|
-
(m) => h(m) ||
|
|
2029
|
+
(m) => h(m) || F(m)
|
|
2030
2030
|
);
|
|
2031
2031
|
}
|
|
2032
2032
|
function co(...f) {
|
|
@@ -2036,23 +2036,23 @@ function Hn(e = {}, t) {
|
|
|
2036
2036
|
"datetime format",
|
|
2037
2037
|
(m) => m[nt](...f),
|
|
2038
2038
|
() => [],
|
|
2039
|
-
(m) => h(m) ||
|
|
2039
|
+
(m) => h(m) || F(m)
|
|
2040
2040
|
);
|
|
2041
2041
|
}
|
|
2042
2042
|
function uo(f) {
|
|
2043
2043
|
T = f, p.pluralRules = T;
|
|
2044
2044
|
}
|
|
2045
2045
|
function fo(f, m) {
|
|
2046
|
-
const B = h(m) ? m : a.value,
|
|
2047
|
-
return p.messageResolver(
|
|
2046
|
+
const B = h(m) ? m : a.value, H = Ot(B);
|
|
2047
|
+
return p.messageResolver(H, f) !== null;
|
|
2048
2048
|
}
|
|
2049
2049
|
function _o(f) {
|
|
2050
2050
|
let m = null;
|
|
2051
2051
|
const B = Ln(p, s.value, a.value);
|
|
2052
|
-
for (let
|
|
2053
|
-
const je = l.value[B[
|
|
2054
|
-
if (
|
|
2055
|
-
m =
|
|
2052
|
+
for (let H = 0; H < B.length; H++) {
|
|
2053
|
+
const je = l.value[B[H]] || {}, Fe = p.messageResolver(je, f);
|
|
2054
|
+
if (Fe != null) {
|
|
2055
|
+
m = Fe;
|
|
2056
2056
|
break;
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
@@ -2094,7 +2094,7 @@ function Hn(e = {}, t) {
|
|
|
2094
2094
|
}), Me(n.fallbackLocale, (f) => {
|
|
2095
2095
|
o && (s.value = f, p.fallbackLocale = f, Te(p, a.value, s.value));
|
|
2096
2096
|
}));
|
|
2097
|
-
const
|
|
2097
|
+
const R = {
|
|
2098
2098
|
id: qt,
|
|
2099
2099
|
locale: V,
|
|
2100
2100
|
fallbackLocale: z,
|
|
@@ -2163,11 +2163,11 @@ function Hn(e = {}, t) {
|
|
|
2163
2163
|
setMissingHandler: eo,
|
|
2164
2164
|
[xs]: uo
|
|
2165
2165
|
};
|
|
2166
|
-
return
|
|
2166
|
+
return R.datetimeFormats = q, R.numberFormats = Ae, R.rt = no, R.te = fo, R.tm = mo, R.d = oo, R.n = ro, R.getDateTimeFormat = ho, R.setDateTimeFormat = vo, R.mergeDateTimeFormat = Eo, R.getNumberFormat = Oo, R.setNumberFormat = No, R.mergeNumberFormat = bo, R[Gs] = e.__injectWithOption, R[tt] = lo, R[nt] = co, R[ot] = io, process.env.NODE_ENV !== "production" && (R[De] = (f) => {
|
|
2167
2167
|
p.__v_emitter = f;
|
|
2168
|
-
},
|
|
2168
|
+
}, R[rt] = () => {
|
|
2169
2169
|
p.__v_emitter = void 0;
|
|
2170
|
-
}),
|
|
2170
|
+
}), R;
|
|
2171
2171
|
}
|
|
2172
2172
|
const pt = {
|
|
2173
2173
|
tag: {
|
|
@@ -2188,7 +2188,7 @@ const pt = {
|
|
|
2188
2188
|
function js({ slots: e }, t) {
|
|
2189
2189
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, o) => r = [
|
|
2190
2190
|
...r,
|
|
2191
|
-
...
|
|
2191
|
+
...F(o.children) ? o.children : [o]
|
|
2192
2192
|
], []) : t.reduce((n, r) => {
|
|
2193
2193
|
const o = e[r];
|
|
2194
2194
|
return o && (n[r] = o()), n;
|
|
@@ -2223,7 +2223,7 @@ const Ke = {
|
|
|
2223
2223
|
}
|
|
2224
2224
|
};
|
|
2225
2225
|
function Bs(e) {
|
|
2226
|
-
return
|
|
2226
|
+
return F(e) && !h(e[0]);
|
|
2227
2227
|
}
|
|
2228
2228
|
function Bn(e, t, n, r) {
|
|
2229
2229
|
const { slots: o, attrs: a } = t;
|
|
@@ -2233,7 +2233,7 @@ function Bn(e, t, n, r) {
|
|
|
2233
2233
|
e.locale && (s.locale = e.locale), h(e.format) ? s.key = e.format : S(e.format) && (h(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((d, g) => n.includes(g) ? j({}, d, { [g]: e.format[g] }) : d, {}));
|
|
2234
2234
|
const i = r(e.value, s, l);
|
|
2235
2235
|
let c = [s.key];
|
|
2236
|
-
|
|
2236
|
+
F(i) ? c = i.map((d, g) => {
|
|
2237
2237
|
const v = o[d.type], O = v ? v({ [d.type]: d.value, index: g, parts: i }) : [d.value];
|
|
2238
2238
|
return Bs(O) && (O[0].key = `${d.type}-${g}`), O;
|
|
2239
2239
|
}) : h(i) && (c = [i]);
|
|
@@ -2343,7 +2343,7 @@ let at;
|
|
|
2343
2343
|
async function Xs(e, t) {
|
|
2344
2344
|
return new Promise((n, r) => {
|
|
2345
2345
|
try {
|
|
2346
|
-
|
|
2346
|
+
Fs({
|
|
2347
2347
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2348
2348
|
label: ze["vue-devtools-plugin-vue-i18n"],
|
|
2349
2349
|
packageName: "vue-i18n",
|
|
@@ -2360,7 +2360,7 @@ async function Xs(e, t) {
|
|
|
2360
2360
|
id: "vue-i18n-resource-inspector",
|
|
2361
2361
|
label: ze["vue-i18n-resource-inspector"],
|
|
2362
2362
|
icon: "language",
|
|
2363
|
-
treeFilterPlaceholder:
|
|
2363
|
+
treeFilterPlaceholder: Rs["vue-i18n-resource-inspector"]
|
|
2364
2364
|
}), o.on.getInspectorTree((s) => {
|
|
2365
2365
|
s.app === e && s.inspectorId === "vue-i18n-resource-inspector" && ta(s, t);
|
|
2366
2366
|
});
|
|
@@ -2587,7 +2587,7 @@ function sa(e, t) {
|
|
|
2587
2587
|
const n = Kn(e.nodeId, t);
|
|
2588
2588
|
if (n) {
|
|
2589
2589
|
const [r] = e.path;
|
|
2590
|
-
r === "locale" && h(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (h(e.state.value) ||
|
|
2590
|
+
r === "locale" && h(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (h(e.state.value) || F(e.state.value) || S(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && A(e.state.value) && (n.inheritLocale = e.state.value);
|
|
2591
2591
|
}
|
|
2592
2592
|
}
|
|
2593
2593
|
const aa = /* @__PURE__ */ ne("global-vue-i18n");
|
|
@@ -2768,7 +2768,7 @@ Ne("group", Dr);
|
|
|
2768
2768
|
Ne("group-closed", Cr);
|
|
2769
2769
|
Ne("user", Ar);
|
|
2770
2770
|
Ne("plus", Pr);
|
|
2771
|
-
Ne("minus",
|
|
2771
|
+
Ne("minus", Fr);
|
|
2772
2772
|
const Ea = _e({
|
|
2773
2773
|
components: {
|
|
2774
2774
|
CountShow: gn,
|
|
@@ -2871,10 +2871,10 @@ function Pa(e, t) {
|
|
|
2871
2871
|
({ leftTop: { col: n, row: r }, rightBottom: { col: o, row: a } }) => `<line x1="${n * t.col + ye}" y1="${r * t.row + ye}" x2="${o * t.col + ye}" y2="${a * t.row + ye}" stroke="black" stroke-width="5"/>`
|
|
2872
2872
|
).join(" ");
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function Fa(e, t, n) {
|
|
2875
2875
|
return n.findIndex((r) => e >= r.leftTop.row && e < r.rightBottom.row && t >= r.leftTop.col && t < r.rightBottom.col) >= 0;
|
|
2876
2876
|
}
|
|
2877
|
-
function
|
|
2877
|
+
function Ra(e, t, n) {
|
|
2878
2878
|
n.forEach((r) => {
|
|
2879
2879
|
const o = Aa(Xn({}, r.leftTop), {
|
|
2880
2880
|
id: Qn(r.leftTop),
|
|
@@ -2923,7 +2923,7 @@ const Se = {
|
|
|
2923
2923
|
const n = [];
|
|
2924
2924
|
for (let r = 0; r < e.row; r++)
|
|
2925
2925
|
for (let o = 0; o < e.col; o++) {
|
|
2926
|
-
if (
|
|
2926
|
+
if (Fa(r, o, t))
|
|
2927
2927
|
continue;
|
|
2928
2928
|
const a = Xn({
|
|
2929
2929
|
layout: {
|
|
@@ -2936,7 +2936,7 @@ const Se = {
|
|
|
2936
2936
|
}, { row: r, col: o });
|
|
2937
2937
|
n.push(a);
|
|
2938
2938
|
}
|
|
2939
|
-
return
|
|
2939
|
+
return Ra(n, e, t), n;
|
|
2940
2940
|
},
|
|
2941
2941
|
TransLayoutToSVG(e, t) {
|
|
2942
2942
|
const n = [];
|
|
@@ -3149,8 +3149,14 @@ const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-98aa5a4
|
|
|
3149
3149
|
}
|
|
3150
3150
|
},
|
|
3151
3151
|
setup(e) {
|
|
3152
|
+
const t = W(() => e.layout ? Se.TransLayoutToFrams(e.layout).sort((r, o) => r.row == o.row ? r.col - o.col : r.row - o.row) : []);
|
|
3152
3153
|
return {
|
|
3153
|
-
|
|
3154
|
+
areas: W(() => t.value.map((r) => ({
|
|
3155
|
+
id: r.id,
|
|
3156
|
+
row: r.row,
|
|
3157
|
+
col: r.col
|
|
3158
|
+
}))),
|
|
3159
|
+
frameRef: t
|
|
3154
3160
|
};
|
|
3155
3161
|
}
|
|
3156
3162
|
});
|
|
@@ -3164,12 +3170,13 @@ function tl(e, t, n, r, o, a) {
|
|
|
3164
3170
|
oe(e.$slots, "default", {
|
|
3165
3171
|
id: l,
|
|
3166
3172
|
row: i,
|
|
3167
|
-
col: c
|
|
3173
|
+
col: c,
|
|
3174
|
+
areas: e.areas
|
|
3168
3175
|
}, void 0, !0)
|
|
3169
3176
|
], 4))), 256))
|
|
3170
3177
|
]);
|
|
3171
3178
|
}
|
|
3172
|
-
const nl = /* @__PURE__ */ de(Za, [["render", tl], ["__scopeId", "data-v-
|
|
3179
|
+
const nl = /* @__PURE__ */ de(Za, [["render", tl], ["__scopeId", "data-v-efd900be"]]), un = {
|
|
3173
3180
|
RecursionDeviceGroup: Ia,
|
|
3174
3181
|
VideoAreasLayoutShow: nl,
|
|
3175
3182
|
MultiVideoAreaLayoutSwitch: qa
|