smarteye-e-components 0.0.45 → 0.0.47
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _e, computed as H, openBlock as P, createElementBlock as k, renderSlot as oe, createElementVNode as C, toDisplayString as ue, h as
|
|
1
|
+
import { defineComponent as _e, computed as H, 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) => {
|
|
@@ -417,10 +417,10 @@ for (const e in Lt) {
|
|
|
417
417
|
for (const n in It)
|
|
418
418
|
t[e + n] = It[n];
|
|
419
419
|
}
|
|
420
|
-
const
|
|
420
|
+
const ke = {};
|
|
421
421
|
["horizontal", "vertical"].forEach((e) => {
|
|
422
422
|
const t = e.slice(0, 1) + "Flip";
|
|
423
|
-
|
|
423
|
+
ke[e + "-flip"] = t, ke[e.slice(0, 1) + "-flip"] = t, ke[e + "Flip"] = t;
|
|
424
424
|
});
|
|
425
425
|
function St(e) {
|
|
426
426
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
@@ -455,7 +455,7 @@ const qo = (e, t) => {
|
|
|
455
455
|
E !== !0 && E !== "true" && delete r["aria-hidden"];
|
|
456
456
|
break;
|
|
457
457
|
default: {
|
|
458
|
-
const N =
|
|
458
|
+
const N = ke[O];
|
|
459
459
|
N ? (E === !0 || E === "true" || E === 1) && (n[N] = !0) : yt[O] === void 0 && (r[O] = E);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
@@ -467,7 +467,7 @@ const qo = (e, t) => {
|
|
|
467
467
|
...l
|
|
468
468
|
}, Object.assign(r, c);
|
|
469
469
|
let O = 0, E = t.id;
|
|
470
|
-
return typeof E == "string" && (E = E.replace(/-/g, "_")), r.innerHTML = Yo(i.body, E ? () => E + "ID" + O++ : "iconifyVue"),
|
|
470
|
+
return typeof E == "string" && (E = E.replace(/-/g, "_")), r.innerHTML = Yo(i.body, E ? () => E + "ID" + O++ : "iconifyVue"), $e("svg", r);
|
|
471
471
|
}
|
|
472
472
|
const { body: u, width: _, height: d } = e, g = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), v = zo(u, {
|
|
473
473
|
...c,
|
|
@@ -482,7 +482,7 @@ const qo = (e, t) => {
|
|
|
482
482
|
...Jo,
|
|
483
483
|
...g ? Qe : On,
|
|
484
484
|
...l
|
|
485
|
-
},
|
|
485
|
+
}, $e("span", r);
|
|
486
486
|
}, Nn = /* @__PURE__ */ Object.create(null);
|
|
487
487
|
function Ne(e, t) {
|
|
488
488
|
Nn[e] = t;
|
|
@@ -549,7 +549,7 @@ const lr = {
|
|
|
549
549
|
}), t);
|
|
550
550
|
},
|
|
551
551
|
mounted() {
|
|
552
|
-
this.init(),
|
|
552
|
+
this.init(), Me(() => this.listData.length, () => ar(this, null, function* () {
|
|
553
553
|
yield this.$nextTick(), this.init();
|
|
554
554
|
}));
|
|
555
555
|
},
|
|
@@ -579,7 +579,7 @@ function ir(e, t, n, r, o, a) {
|
|
|
579
579
|
class: "infinite-list",
|
|
580
580
|
style: Ie({ transform: e.getTransform })
|
|
581
581
|
}, [
|
|
582
|
-
(P(!0), k(Oe, null,
|
|
582
|
+
(P(!0), k(Oe, null, Ce(e.visibleData, (s) => (P(), k("div", {
|
|
583
583
|
ref_for: !0,
|
|
584
584
|
ref: "items",
|
|
585
585
|
class: "infinite-list-item",
|
|
@@ -723,7 +723,7 @@ function Lr(e, t, n, r, o, a) {
|
|
|
723
723
|
_: 3
|
|
724
724
|
}, 8, ["countInfo", "controlParams"]),
|
|
725
725
|
e.bShow ? (P(), k("div", Tr, [
|
|
726
|
-
(P(!0), k(Oe, null,
|
|
726
|
+
(P(!0), k(Oe, null, Ce((s = e.deviceGroup) == null ? void 0 : s.items, (_, d) => (P(), _n(c, {
|
|
727
727
|
key: d,
|
|
728
728
|
deviceGroup: _,
|
|
729
729
|
controlParams: e.controlParams
|
|
@@ -816,7 +816,7 @@ const Fr = /\{([0-9a-zA-Z]+)\}/g;
|
|
|
816
816
|
function ut(e, ...t) {
|
|
817
817
|
return t.length === 1 && S(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Fr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
818
818
|
}
|
|
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]",
|
|
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
|
}
|
|
@@ -1104,12 +1104,12 @@ function rs(e = {}) {
|
|
|
1104
1104
|
};
|
|
1105
1105
|
return E;
|
|
1106
1106
|
}
|
|
1107
|
-
let
|
|
1107
|
+
let we = null;
|
|
1108
1108
|
function ss(e) {
|
|
1109
|
-
|
|
1109
|
+
we = e;
|
|
1110
1110
|
}
|
|
1111
1111
|
function as(e, t, n) {
|
|
1112
|
-
|
|
1112
|
+
we && we.emit(In.I18nInit, {
|
|
1113
1113
|
timestamp: Date.now(),
|
|
1114
1114
|
i18n: e,
|
|
1115
1115
|
version: t,
|
|
@@ -1118,7 +1118,7 @@ function as(e, t, n) {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
const ls = /* @__PURE__ */ is(In.FunctionTranslate);
|
|
1120
1120
|
function is(e) {
|
|
1121
|
-
return (t) =>
|
|
1121
|
+
return (t) => we && we.emit(e, t);
|
|
1122
1122
|
}
|
|
1123
1123
|
const K = {
|
|
1124
1124
|
NOT_FOUND_KEY: 1,
|
|
@@ -1185,7 +1185,7 @@ function _s(e, t, n) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
return r;
|
|
1187
1187
|
}
|
|
1188
|
-
const ds = "9.2.2", Ge = -1, mt = "en-US",
|
|
1188
|
+
const ds = "9.2.2", Ge = -1, mt = "en-US", Ue = "", Ut = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1189
1189
|
function ms() {
|
|
1190
1190
|
return {
|
|
1191
1191
|
upper: (e, t) => t === "text" && h(e) ? e.toUpperCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -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 = R(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) ||
|
|
1214
|
+
const t = h(e.version) ? e.version : ds, n = h(e.locale) ? e.locale : mt, r = R(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,
|
|
@@ -1299,18 +1299,18 @@ function jt(e, ...t) {
|
|
|
1299
1299
|
}, V = ee(T) ? T : Fn(e, i, b, T, p, I);
|
|
1300
1300
|
if (w)
|
|
1301
1301
|
return T;
|
|
1302
|
-
const z = Is(e, b, L, c), J = rs(z), q = Ts(e, V, J),
|
|
1302
|
+
const z = Is(e, b, L, c), J = rs(z), q = Ts(e, V, J), Ae = r ? r(q, i) : q;
|
|
1303
1303
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1304
|
-
const
|
|
1304
|
+
const Pe = {
|
|
1305
1305
|
timestamp: Date.now(),
|
|
1306
1306
|
key: h(i) ? i : ee(T) ? T.key : "",
|
|
1307
1307
|
locale: b || (ee(T) ? T.locale : ""),
|
|
1308
1308
|
format: h(T) ? T : ee(T) ? T.source : "",
|
|
1309
|
-
message:
|
|
1309
|
+
message: Ae
|
|
1310
1310
|
};
|
|
1311
|
-
|
|
1311
|
+
Pe.meta = j({}, e.__meta, vs() || {}), ls(Pe);
|
|
1312
1312
|
}
|
|
1313
|
-
return
|
|
1313
|
+
return Ae;
|
|
1314
1314
|
}
|
|
1315
1315
|
function bs(e) {
|
|
1316
1316
|
R(e.list) ? e.list = e.list.map((t) => h(t) ? Ft(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
|
|
@@ -1456,7 +1456,7 @@ const Bt = typeof Intl < "u", kn = {
|
|
|
1456
1456
|
function Yt(e, ...t) {
|
|
1457
1457
|
const { datetimeFormats: n, unresolving: r, fallbackLocale: o, onWarn: a, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
|
|
1458
1458
|
if (process.env.NODE_ENV !== "production" && !kn.dateTimeFormat)
|
|
1459
|
-
return a(Ee(K.CANNOT_FORMAT_DATE)),
|
|
1459
|
+
return a(Ee(K.CANNOT_FORMAT_DATE)), Ue;
|
|
1460
1460
|
const [i, c, u, _] = qe(...t), d = A(u.missingWarn) ? u.missingWarn : e.missingWarn, g = A(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, v = !!u.part, O = h(u.locale) ? u.locale : e.locale, E = s(
|
|
1461
1461
|
e,
|
|
1462
1462
|
o,
|
|
@@ -1549,7 +1549,7 @@ function zt(e, t, n) {
|
|
|
1549
1549
|
function Kt(e, ...t) {
|
|
1550
1550
|
const { numberFormats: n, unresolving: r, fallbackLocale: o, onWarn: a, localeFallbacker: s } = e, { __numberFormatters: l } = e;
|
|
1551
1551
|
if (process.env.NODE_ENV !== "production" && !kn.numberFormat)
|
|
1552
|
-
return a(Ee(K.CANNOT_FORMAT_NUMBER)),
|
|
1552
|
+
return a(Ee(K.CANNOT_FORMAT_NUMBER)), Ue;
|
|
1553
1553
|
const [i, c, u, _] = Ze(...t), d = A(u.missingWarn) ? u.missingWarn : e.missingWarn, g = A(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, v = !!u.part, O = h(u.locale) ? u.locale : e.locale, E = s(
|
|
1554
1554
|
e,
|
|
1555
1555
|
o,
|
|
@@ -1795,7 +1795,7 @@ const Us = {
|
|
|
1795
1795
|
[D.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
|
|
1796
1796
|
[D.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",
|
|
1797
1797
|
[D.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
1798
|
-
}, tt = /* @__PURE__ */ ne("__transrateVNode"), nt = /* @__PURE__ */ ne("__datetimeParts"), ot = /* @__PURE__ */ ne("__numberParts"),
|
|
1798
|
+
}, tt = /* @__PURE__ */ ne("__transrateVNode"), nt = /* @__PURE__ */ ne("__datetimeParts"), ot = /* @__PURE__ */ ne("__numberParts"), De = /* @__PURE__ */ ne("__enableEmitter"), rt = /* @__PURE__ */ ne("__disableEmitter"), xs = ne("__setPluralRules");
|
|
1799
1799
|
ne("__intlifyMeta");
|
|
1800
1800
|
const Gs = /* @__PURE__ */ ne("__injectWithOption");
|
|
1801
1801
|
function st(e) {
|
|
@@ -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 Fe = (e) => !S(e) || R(e);
|
|
1831
1831
|
function Le(e, t) {
|
|
1832
|
-
if (
|
|
1832
|
+
if (Fe(e) || Fe(t))
|
|
1833
1833
|
throw Q(D.INVALID_VALUE);
|
|
1834
1834
|
for (const n in e)
|
|
1835
|
-
_t(e, n) && (
|
|
1835
|
+
_t(e, n) && (Fe(e[n]) || Fe(t[n]) ? t[n] = e[n] : Le(e[n], t[n]));
|
|
1836
1836
|
}
|
|
1837
1837
|
function Wn(e) {
|
|
1838
1838
|
return e.type;
|
|
@@ -1883,7 +1883,7 @@ function Hn(e = {}, t) {
|
|
|
1883
1883
|
), s = x(
|
|
1884
1884
|
n && o ? n.fallbackLocale.value : h(e.fallbackLocale) || R(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
|
-
let u = n ? n.missingWarn : A(e.missingWarn) ||
|
|
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 : {};
|
|
1888
1888
|
let T = e.pluralRules || n && n.pluralRules, p;
|
|
1889
1889
|
p = (() => {
|
|
@@ -1929,8 +1929,8 @@ function Hn(e = {}, t) {
|
|
|
1929
1929
|
set: (f) => {
|
|
1930
1930
|
s.value = f, p.fallbackLocale = s.value, Te(p, a.value, f);
|
|
1931
1931
|
}
|
|
1932
|
-
}), J = H(() => l.value), q = /* @__PURE__ */ H(() => i.value),
|
|
1933
|
-
function
|
|
1932
|
+
}), J = H(() => l.value), q = /* @__PURE__ */ H(() => i.value), Ae = /* @__PURE__ */ H(() => c.value);
|
|
1933
|
+
function Pe() {
|
|
1934
1934
|
return $(E) ? E : null;
|
|
1935
1935
|
}
|
|
1936
1936
|
function qn(f) {
|
|
@@ -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, W, je,
|
|
1948
|
+
const me = (f, m, B, W, je, Re) => {
|
|
1949
1949
|
I();
|
|
1950
1950
|
let ge;
|
|
1951
1951
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
|
|
@@ -1972,7 +1972,7 @@ function Hn(e = {}, t) {
|
|
|
1972
1972
|
}
|
|
1973
1973
|
return n && d ? W(n) : je(le);
|
|
1974
1974
|
} else {
|
|
1975
|
-
if (
|
|
1975
|
+
if (Re(ge))
|
|
1976
1976
|
return ge;
|
|
1977
1977
|
throw Q(D.UNEXPECTED_RETURN_TYPE);
|
|
1978
1978
|
}
|
|
@@ -1987,10 +1987,10 @@ function Hn(e = {}, t) {
|
|
|
1987
1987
|
return Et(m, B, j({ resolvedMessage: !0 }, W || {}));
|
|
1988
1988
|
}
|
|
1989
1989
|
function oo(...f) {
|
|
1990
|
-
return me((m) => Reflect.apply(Yt, null, [m, ...f]), () => qe(...f), "datetime format", (m) => Reflect.apply(m.d, m, [...f]), () =>
|
|
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));
|
|
1991
1991
|
}
|
|
1992
1992
|
function ro(...f) {
|
|
1993
|
-
return me((m) => Reflect.apply(Kt, null, [m, ...f]), () => Ze(...f), "number format", (m) => Reflect.apply(m.n, m, [...f]), () =>
|
|
1993
|
+
return me((m) => Reflect.apply(Kt, null, [m, ...f]), () => Ze(...f), "number format", (m) => Reflect.apply(m.n, m, [...f]), () => Ue, (m) => h(m));
|
|
1994
1994
|
}
|
|
1995
1995
|
function so(f) {
|
|
1996
1996
|
return f.map((m) => h(m) || M(m) || A(m) ? Qt(String(m)) : m);
|
|
@@ -2050,9 +2050,9 @@ function Hn(e = {}, t) {
|
|
|
2050
2050
|
let m = null;
|
|
2051
2051
|
const B = Ln(p, s.value, a.value);
|
|
2052
2052
|
for (let W = 0; W < B.length; W++) {
|
|
2053
|
-
const je = l.value[B[W]] || {},
|
|
2054
|
-
if (
|
|
2055
|
-
m =
|
|
2053
|
+
const je = l.value[B[W]] || {}, Re = p.messageResolver(je, f);
|
|
2054
|
+
if (Re != null) {
|
|
2055
|
+
m = Re;
|
|
2056
2056
|
break;
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
@@ -2089,9 +2089,9 @@ function Hn(e = {}, t) {
|
|
|
2089
2089
|
function bo(f, m) {
|
|
2090
2090
|
c.value[f] = j(c.value[f] || {}, m), p.numberFormats = c.value, Xt(p, f, m);
|
|
2091
2091
|
}
|
|
2092
|
-
qt++, n && te && (
|
|
2092
|
+
qt++, n && te && (Me(n.locale, (f) => {
|
|
2093
2093
|
o && (a.value = f, p.locale = f, Te(p, a.value, s.value));
|
|
2094
|
-
}),
|
|
2094
|
+
}), Me(n.fallbackLocale, (f) => {
|
|
2095
2095
|
o && (s.value = f, p.fallbackLocale = f, Te(p, a.value, s.value));
|
|
2096
2096
|
}));
|
|
2097
2097
|
const F = {
|
|
@@ -2157,13 +2157,13 @@ function Hn(e = {}, t) {
|
|
|
2157
2157
|
getLocaleMessage: Ot,
|
|
2158
2158
|
setLocaleMessage: go,
|
|
2159
2159
|
mergeLocaleMessage: po,
|
|
2160
|
-
getPostTranslationHandler:
|
|
2160
|
+
getPostTranslationHandler: Pe,
|
|
2161
2161
|
setPostTranslationHandler: qn,
|
|
2162
2162
|
getMissingHandler: Zn,
|
|
2163
2163
|
setMissingHandler: eo,
|
|
2164
2164
|
[xs]: uo
|
|
2165
2165
|
};
|
|
2166
|
-
return F.datetimeFormats = q, F.numberFormats =
|
|
2166
|
+
return F.datetimeFormats = q, F.numberFormats = Ae, F.rt = no, F.te = fo, F.tm = mo, F.d = oo, F.n = ro, F.getDateTimeFormat = ho, F.setDateTimeFormat = vo, F.mergeDateTimeFormat = Eo, F.getNumberFormat = Oo, F.setNumberFormat = No, F.mergeNumberFormat = bo, F[Gs] = e.__injectWithOption, F[tt] = lo, F[nt] = co, F[ot] = io, process.env.NODE_ENV !== "production" && (F[De] = (f) => {
|
|
2167
2167
|
p.__v_emitter = f;
|
|
2168
2168
|
}, F[rt] = () => {
|
|
2169
2169
|
p.__v_emitter = void 0;
|
|
@@ -2218,7 +2218,7 @@ const Ke = {
|
|
|
2218
2218
|
const a = Object.keys(n).filter((_) => _ !== "_"), s = {};
|
|
2219
2219
|
e.locale && (s.locale = e.locale), e.plural !== void 0 && (s.plural = h(e.plural) ? +e.plural : e.plural);
|
|
2220
2220
|
const l = js(t, a), i = o[tt](e.keypath, l, s), c = j({}, r), u = h(e.tag) || S(e.tag) ? e.tag : jn();
|
|
2221
|
-
return
|
|
2221
|
+
return $e(u, c, i);
|
|
2222
2222
|
};
|
|
2223
2223
|
}
|
|
2224
2224
|
};
|
|
@@ -2238,7 +2238,7 @@ function Bn(e, t, n, r) {
|
|
|
2238
2238
|
return Bs(O) && (O[0].key = `${d.type}-${g}`), O;
|
|
2239
2239
|
}) : h(i) && (c = [i]);
|
|
2240
2240
|
const u = j({}, a), _ = h(e.tag) || S(e.tag) ? e.tag : jn();
|
|
2241
|
-
return
|
|
2241
|
+
return $e(_, u, c);
|
|
2242
2242
|
};
|
|
2243
2243
|
}
|
|
2244
2244
|
const en = {
|
|
@@ -2297,7 +2297,7 @@ function zs(e) {
|
|
|
2297
2297
|
return {
|
|
2298
2298
|
created: (s, l) => {
|
|
2299
2299
|
const [i, c] = t(l);
|
|
2300
|
-
te && e.global === c && (s.__i18nWatcher =
|
|
2300
|
+
te && e.global === c && (s.__i18nWatcher = Me(c.locale, () => {
|
|
2301
2301
|
l.instance && l.instance.$forceUpdate();
|
|
2302
2302
|
})), s.__composer = c, s.textContent = i;
|
|
2303
2303
|
},
|
|
@@ -2621,7 +2621,7 @@ function la(e = {}, t) {
|
|
|
2621
2621
|
const E = Tn();
|
|
2622
2622
|
{
|
|
2623
2623
|
const N = s;
|
|
2624
|
-
N[
|
|
2624
|
+
N[De] && N[De](E);
|
|
2625
2625
|
}
|
|
2626
2626
|
E.on("*", lt);
|
|
2627
2627
|
}
|
|
@@ -2702,7 +2702,7 @@ function da(e, t, n) {
|
|
|
2702
2702
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el) {
|
|
2703
2703
|
t.vnode.el.__VUE_I18N__ = n, r = Tn();
|
|
2704
2704
|
const o = n;
|
|
2705
|
-
o[
|
|
2705
|
+
o[De] && o[De](r), r.on("*", lt);
|
|
2706
2706
|
}
|
|
2707
2707
|
}, t), mn(() => {
|
|
2708
2708
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el && t.vnode.el.__VUE_I18N__) {
|
|
@@ -2837,7 +2837,7 @@ function ya(e, t, n, r, o, a) {
|
|
|
2837
2837
|
}, 8, ["countInfo"])
|
|
2838
2838
|
]),
|
|
2839
2839
|
C("div", Ta, [
|
|
2840
|
-
(P(!0), k(Oe, null,
|
|
2840
|
+
(P(!0), k(Oe, null, Ce((s = e.deviceGroup) == null ? void 0 : s.items, (c, u) => (P(), _n(i, {
|
|
2841
2841
|
controlParams: e.controlParams,
|
|
2842
2842
|
key: u,
|
|
2843
2843
|
deviceGroup: c
|
|
@@ -2916,7 +2916,7 @@ function ka(e) {
|
|
|
2916
2916
|
}
|
|
2917
2917
|
return t;
|
|
2918
2918
|
}
|
|
2919
|
-
const
|
|
2919
|
+
const Se = {
|
|
2920
2920
|
TransLayoutToFrams(e) {
|
|
2921
2921
|
const t = [];
|
|
2922
2922
|
e.area && t.push(e.area), e.areas && t.push(...e.areas);
|
|
@@ -3001,7 +3001,7 @@ const Ue = {
|
|
|
3001
3001
|
const t = x([]);
|
|
3002
3002
|
return e.layouts && e.layouts.forEach((n) => {
|
|
3003
3003
|
t.value.push({
|
|
3004
|
-
svg:
|
|
3004
|
+
svg: Se.TransLayoutToSVG(n, { width: 100, height: 100 }),
|
|
3005
3005
|
layout: n,
|
|
3006
3006
|
select: JSON.stringify(n) == JSON.stringify(e.defaultLayout)
|
|
3007
3007
|
});
|
|
@@ -3037,7 +3037,7 @@ const Ue = {
|
|
|
3037
3037
|
const Ma = ["onClick"], Va = { style: { position: "relative", display: "inline-block", margin: "10px" } }, Ua = ["innerHTML"], xa = { style: { "vertical-align": "middle" } };
|
|
3038
3038
|
function Ga(e, t, n, r, o, a) {
|
|
3039
3039
|
return P(), k("div", null, [
|
|
3040
|
-
(P(!0), k(Oe, null,
|
|
3040
|
+
(P(!0), k(Oe, null, Ce(e.layoutInfos, (s) => (P(), k("div", {
|
|
3041
3041
|
class: Xe(s.select ? "layout-item layout-item-select" : "layout-item"),
|
|
3042
3042
|
onClick: (l) => e.selectClick(s)
|
|
3043
3043
|
}, [
|
|
@@ -3053,7 +3053,7 @@ function Ga(e, t, n, r, o, a) {
|
|
|
3053
3053
|
}
|
|
3054
3054
|
const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-e550e731"]]), Ha = _e({
|
|
3055
3055
|
emits: {
|
|
3056
|
-
LayoutChange(e) {
|
|
3056
|
+
LayoutChange(e, t) {
|
|
3057
3057
|
return !0;
|
|
3058
3058
|
}
|
|
3059
3059
|
},
|
|
@@ -3081,13 +3081,18 @@ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-e550e73
|
|
|
3081
3081
|
U.Test.genLayout(5, 5),
|
|
3082
3082
|
U.Test.genLayout(6, 6)
|
|
3083
3083
|
];
|
|
3084
|
-
let r =
|
|
3084
|
+
let r = Se.StorageDefaultLayout.get();
|
|
3085
3085
|
const o = r || n[0];
|
|
3086
3086
|
function a(u, _) {
|
|
3087
|
-
|
|
3087
|
+
const d = Se.TransLayoutToFrams(u.layout).map(({ id: g, row: v, col: O }) => ({
|
|
3088
|
+
id: g,
|
|
3089
|
+
row: v,
|
|
3090
|
+
col: O
|
|
3091
|
+
}));
|
|
3092
|
+
return t.emit("LayoutChange", u, d), u.cancel || (l.value = _), !u.cancel;
|
|
3088
3093
|
}
|
|
3089
3094
|
const s = function(u, _) {
|
|
3090
|
-
JSON.stringify(r) != JSON.stringify(u) && a(u, _) && (r = u.layout,
|
|
3095
|
+
JSON.stringify(r) != JSON.stringify(u) && a(u, _) && (r = u.layout, Se.StorageDefaultLayout.set(u.layout)), l.value.length == 0 && a(u, _);
|
|
3091
3096
|
}, l = x(""), i = x(!1), c = (u) => {
|
|
3092
3097
|
i.value && u.composedPath().findIndex(({ className: d }) => d == "layout-switcher") < 0 && (i.value = !1);
|
|
3093
3098
|
};
|
|
@@ -3105,7 +3110,7 @@ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-e550e73
|
|
|
3105
3110
|
},
|
|
3106
3111
|
expose: []
|
|
3107
3112
|
});
|
|
3108
|
-
const Jn = (e) => (Co("data-v-
|
|
3113
|
+
const Jn = (e) => (Co("data-v-98aa5a45"), e = e(), Ao(), e), ja = { class: "layout-switcher" }, Ba = ["innerHTML"], Ya = { class: "switch-panel" }, za = /* @__PURE__ */ Jn(() => /* @__PURE__ */ C("div", { style: { "margin-left": "10px" } }, [
|
|
3109
3114
|
/* @__PURE__ */ C("span", null, "\u8BF7\u9009\u62E9\u5E03\u5C40\u6837\u5F0F")
|
|
3110
3115
|
], -1)), Ka = { style: { "margin-left": "10px", padding: "10px" } }, Xa = { style: { "margin-left": "10px" } }, Qa = /* @__PURE__ */ Jn(() => /* @__PURE__ */ C("span", null, "\u6807\u51C6\u6A21\u5F0F\uFF1A", -1));
|
|
3111
3116
|
function Ja(e, t, n, r, o, a) {
|
|
@@ -3137,7 +3142,7 @@ function Ja(e, t, n, r, o, a) {
|
|
|
3137
3142
|
])
|
|
3138
3143
|
]);
|
|
3139
3144
|
}
|
|
3140
|
-
const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-
|
|
3145
|
+
const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-98aa5a45"]]), Za = _e({
|
|
3141
3146
|
props: {
|
|
3142
3147
|
layout: {
|
|
3143
3148
|
type: Object
|
|
@@ -3145,14 +3150,14 @@ const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-13ed4e2
|
|
|
3145
3150
|
},
|
|
3146
3151
|
setup(e) {
|
|
3147
3152
|
return {
|
|
3148
|
-
frameRef: H(() => e.layout ?
|
|
3153
|
+
frameRef: H(() => e.layout ? Se.TransLayoutToFrams(e.layout) : [])
|
|
3149
3154
|
};
|
|
3150
3155
|
}
|
|
3151
3156
|
});
|
|
3152
|
-
const el = { style: { position: "relative", height: "100%", width: "100%"
|
|
3157
|
+
const el = { style: { position: "relative", height: "100%", width: "100%" } };
|
|
3153
3158
|
function tl(e, t, n, r, o, a) {
|
|
3154
3159
|
return P(), k("div", el, [
|
|
3155
|
-
(P(!0), k(Oe, null,
|
|
3160
|
+
(P(!0), k(Oe, null, Ce(e.frameRef, ({ layout: s, id: l, row: i, col: c }) => (P(), k("div", {
|
|
3156
3161
|
class: "play-area",
|
|
3157
3162
|
style: Ie(`position: absolute; top: calc(${s.top}%); left: calc(${s.left}%); width: calc(${s.width}%); height: calc(${s.height}%);`)
|
|
3158
3163
|
}, [
|
|
@@ -3164,7 +3169,7 @@ function tl(e, t, n, r, o, a) {
|
|
|
3164
3169
|
], 4))), 256))
|
|
3165
3170
|
]);
|
|
3166
3171
|
}
|
|
3167
|
-
const nl = /* @__PURE__ */ de(Za, [["render", tl], ["__scopeId", "data-v-
|
|
3172
|
+
const nl = /* @__PURE__ */ de(Za, [["render", tl], ["__scopeId", "data-v-af6643cc"]]), un = {
|
|
3168
3173
|
RecursionDeviceGroup: Ia,
|
|
3169
3174
|
VideoAreasLayoutShow: nl,
|
|
3170
3175
|
MultiVideoAreaLayoutSwitch: qa
|