smarteye-e-components 0.0.50 → 0.0.51
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 W, openBlock as
|
|
1
|
+
import { defineComponent as _e, computed as W, openBlock as A, createElementBlock as R, renderSlot as oe, createElementVNode as C, toDisplayString as ue, h as $e, ref as x, watch as Me, normalizeStyle as Le, 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 bo, onMounted as To, onUnmounted as yo, isRef as Lo, Text as Io, provide as So, withDirectives as wo, vShow as Do, pushScopeId as Co, popScopeId as Po } from "vue";
|
|
2
2
|
var bt;
|
|
3
3
|
((e) => {
|
|
4
4
|
((n) => {
|
|
@@ -153,7 +153,7 @@ var U;
|
|
|
153
153
|
n.getTestLayout = o;
|
|
154
154
|
})(e.Test || (e.Test = {}));
|
|
155
155
|
})(U || (U = {}));
|
|
156
|
-
const
|
|
156
|
+
const Ao = _e({
|
|
157
157
|
props: {
|
|
158
158
|
countInfo: Object,
|
|
159
159
|
controlParams: Object
|
|
@@ -198,7 +198,7 @@ const de = (e, t) => {
|
|
|
198
198
|
return n;
|
|
199
199
|
}, ko = { class: "root" }, Fo = { class: "count-show" };
|
|
200
200
|
function Ro(e, t, n, r, o, a) {
|
|
201
|
-
return
|
|
201
|
+
return A(), R("div", ko, [
|
|
202
202
|
oe(e.$slots, "default", {
|
|
203
203
|
total: e.totalCount,
|
|
204
204
|
online: e.onlineCount
|
|
@@ -206,7 +206,7 @@ function Ro(e, t, n, r, o, a) {
|
|
|
206
206
|
C("span", Fo, ue(e.onlineCount) + "/" + ue(e.totalCount), 1)
|
|
207
207
|
]);
|
|
208
208
|
}
|
|
209
|
-
const dn = /* @__PURE__ */ de(
|
|
209
|
+
const dn = /* @__PURE__ */ de(Ao, [["render", Ro], ["__scopeId", "data-v-a063c331"]]), mn = Object.freeze(
|
|
210
210
|
{
|
|
211
211
|
left: 0,
|
|
212
212
|
top: 0,
|
|
@@ -566,7 +566,7 @@ const lr = {
|
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
568
|
function ir(e, t, n, r, o, a) {
|
|
569
|
-
return
|
|
569
|
+
return A(), R("div", {
|
|
570
570
|
ref: "virList",
|
|
571
571
|
class: "infinite-list-container",
|
|
572
572
|
onScroll: t[0] || (t[0] = (s) => a.scrollEvent())
|
|
@@ -579,7 +579,7 @@ function ir(e, t, n, r, o, a) {
|
|
|
579
579
|
class: "infinite-list",
|
|
580
580
|
style: Le({ transform: e.getTransform })
|
|
581
581
|
}, [
|
|
582
|
-
(
|
|
582
|
+
(A(!0), R(Oe, null, Ce(e.visibleData, (s) => (A(), R("div", {
|
|
583
583
|
ref_for: !0,
|
|
584
584
|
ref: "items",
|
|
585
585
|
class: "infinite-list-item",
|
|
@@ -592,12 +592,12 @@ function ir(e, t, n, r, o, a) {
|
|
|
592
592
|
], 544);
|
|
593
593
|
}
|
|
594
594
|
const cr = /* @__PURE__ */ de(lr, [["render", ir], ["__scopeId", "data-v-12d2a294"]]);
|
|
595
|
-
var ur = Object.defineProperty, fr = Object.defineProperties, _r = Object.getOwnPropertyDescriptors,
|
|
595
|
+
var ur = Object.defineProperty, fr = Object.defineProperties, _r = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, At = (e, t, n) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gr = (e, t) => {
|
|
596
596
|
for (var n in t || (t = {}))
|
|
597
|
-
dr.call(t, n) &&
|
|
598
|
-
if (
|
|
599
|
-
for (var n of
|
|
600
|
-
mr.call(t, n) &&
|
|
597
|
+
dr.call(t, n) && At(e, n, t[n]);
|
|
598
|
+
if (Pt)
|
|
599
|
+
for (var n of Pt(t))
|
|
600
|
+
mr.call(t, n) && At(e, n, t[n]);
|
|
601
601
|
return e;
|
|
602
602
|
}, pr = (e, t) => fr(e, _r(t));
|
|
603
603
|
const hr = _e({
|
|
@@ -680,7 +680,7 @@ const vr = {
|
|
|
680
680
|
function Ir(e, t, n, r, o, a) {
|
|
681
681
|
var s;
|
|
682
682
|
const l = ie("Icon"), i = ie("CountShow"), c = ie("group-show"), u = ie("VirtualList");
|
|
683
|
-
return e.showGroup ? (
|
|
683
|
+
return e.showGroup ? (A(), R("div", {
|
|
684
684
|
key: 0,
|
|
685
685
|
class: Xe("group " + e.theme)
|
|
686
686
|
}, [
|
|
@@ -692,14 +692,14 @@ function Ir(e, t, n, r, o, a) {
|
|
|
692
692
|
default: ce(({ online: _, total: d }) => {
|
|
693
693
|
var g, v;
|
|
694
694
|
return [
|
|
695
|
-
e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (
|
|
695
|
+
e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (A(), R("span", vr, [
|
|
696
696
|
se(l, {
|
|
697
697
|
icon: e.bShow ? "minus" : "plus",
|
|
698
698
|
width: "20",
|
|
699
699
|
onClick: t[0] || (t[0] = (O) => e.bShow = !e.bShow),
|
|
700
700
|
class: "handle-ls-svg"
|
|
701
701
|
}, null, 8, ["icon"])
|
|
702
|
-
])) : (
|
|
702
|
+
])) : (A(), R("span", Er)),
|
|
703
703
|
C("span", {
|
|
704
704
|
class: "group-head-db-click",
|
|
705
705
|
onDblclick: t[1] || (t[1] = (O) => e.bShow = !e.bShow)
|
|
@@ -709,7 +709,7 @@ function Ir(e, t, n, r, o, a) {
|
|
|
709
709
|
width: "24",
|
|
710
710
|
class: "group-avatar"
|
|
711
711
|
}, null, 8, ["icon"]),
|
|
712
|
-
e.bShow ? Be("", !0) : (
|
|
712
|
+
e.bShow ? Be("", !0) : (A(), R("span", Or, ue((g = e.deviceGroup) == null ? void 0 : g.items.length), 1)),
|
|
713
713
|
C("span", {
|
|
714
714
|
class: "group-name",
|
|
715
715
|
title: (v = e.deviceGroup) == null ? void 0 : v.name
|
|
@@ -722,8 +722,8 @@ function Ir(e, t, n, r, o, a) {
|
|
|
722
722
|
}),
|
|
723
723
|
_: 3
|
|
724
724
|
}, 8, ["countInfo", "controlParams"]),
|
|
725
|
-
e.bShow ? (
|
|
726
|
-
(
|
|
725
|
+
e.bShow ? (A(), R("div", Tr, [
|
|
726
|
+
(A(!0), R(Oe, null, Ce((s = e.deviceGroup) == null ? void 0 : s.items, (_, d) => (A(), _n(c, {
|
|
727
727
|
key: d,
|
|
728
728
|
deviceGroup: _,
|
|
729
729
|
controlParams: e.controlParams
|
|
@@ -786,11 +786,11 @@ const Sr = /* @__PURE__ */ de(hr, [["render", Ir], ["__scopeId", "data-v-93cfc8d
|
|
|
786
786
|
width: 1024,
|
|
787
787
|
height: 1024,
|
|
788
788
|
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"/>'
|
|
789
|
-
},
|
|
789
|
+
}, Pr = {
|
|
790
790
|
width: 1024,
|
|
791
791
|
height: 1024,
|
|
792
792
|
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"/>'
|
|
793
|
-
},
|
|
793
|
+
}, Ar = {
|
|
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"/>'
|
|
@@ -830,7 +830,7 @@ const Ur = Object.prototype.hasOwnProperty;
|
|
|
830
830
|
function _t(e, t) {
|
|
831
831
|
return Ur.call(e, t);
|
|
832
832
|
}
|
|
833
|
-
const k = Array.isArray, $ = (e) => typeof e == "function", h = (e) => typeof e == "string",
|
|
833
|
+
const k = Array.isArray, $ = (e) => typeof e == "function", h = (e) => typeof e == "string", P = (e) => typeof e == "boolean", S = (e) => e !== null && typeof e == "object", On = Object.prototype.toString, dt = (e) => On.call(e), y = (e) => dt(e) === "[object Object]", xr = (e) => e == null ? "" : k(e) || y(e) && e.toString === On ? JSON.stringify(e, null, 2) : String(e), Rt = 2;
|
|
834
834
|
function Gr(e, t = 0, n = e.length) {
|
|
835
835
|
const r = e.split(/\r?\n/);
|
|
836
836
|
let o = 0;
|
|
@@ -1161,7 +1161,7 @@ function yn(e, t, n) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
function Vt(e, t, n) {
|
|
1163
1163
|
let r = !0;
|
|
1164
|
-
for (let o = 0; o < t.length &&
|
|
1164
|
+
for (let o = 0; o < t.length && P(r); o++) {
|
|
1165
1165
|
const a = t[o];
|
|
1166
1166
|
h(a) && (r = fs(e, t[o], n));
|
|
1167
1167
|
}
|
|
@@ -1211,7 +1211,7 @@ const Gt = (e) => {
|
|
|
1211
1211
|
}, Es = () => wn;
|
|
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 = k(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 =
|
|
1214
|
+
const t = h(e.version) ? e.version : ds, n = h(e.locale) ? e.locale : mt, r = k(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 = P(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, _ = P(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 = P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, b = $(e.messageCompiler) ? e.messageCompiler : gs, I = $(e.messageResolver) ? e.messageResolver : Ln || Xr, T = $(e.localeFallbacker) ? e.localeFallbacker : In || us, p = S(e.fallbackContext) ? e.fallbackContext : void 0, w = $(e.onWarn) ? e.onWarn : be, L = e, V = S(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), z = S(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), J = S(L.__meta) ? L.__meta : {};
|
|
1215
1215
|
Wt++;
|
|
1216
1216
|
const q = {
|
|
1217
1217
|
version: t,
|
|
@@ -1282,13 +1282,13 @@ const Ns = {
|
|
|
1282
1282
|
[re.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
|
|
1283
1283
|
}, Ht = () => "", ee = (e) => $(e);
|
|
1284
1284
|
function jt(e, ...t) {
|
|
1285
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: l } = e, [i, c] = Je(...t), u =
|
|
1285
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: l } = e, [i, c] = Je(...t), u = P(c.missingWarn) ? c.missingWarn : e.missingWarn, _ = P(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, d = P(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, v = h(c.default) || P(c.default) ? P(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", O = n || v !== "", E = h(c.locale) ? c.locale : e.locale;
|
|
1286
1286
|
d && bs(c);
|
|
1287
1287
|
let [N, b, I] = g ? [
|
|
1288
1288
|
i,
|
|
1289
1289
|
E,
|
|
1290
1290
|
l[E] || {}
|
|
1291
|
-
] :
|
|
1291
|
+
] : Pn(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,28 +1296,28 @@ function jt(e, ...t) {
|
|
|
1296
1296
|
let w = !1;
|
|
1297
1297
|
const L = () => {
|
|
1298
1298
|
w = !0;
|
|
1299
|
-
}, V = ee(T) ? T :
|
|
1299
|
+
}, V = ee(T) ? T : An(e, i, b, T, p, L);
|
|
1300
1300
|
if (w)
|
|
1301
1301
|
return T;
|
|
1302
|
-
const z = Ls(e, b, I, c), J = rs(z), q = Ts(e, V, J),
|
|
1302
|
+
const z = Ls(e, b, I, c), J = rs(z), q = Ts(e, V, J), Pe = r ? r(q, i) : q;
|
|
1303
1303
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1304
|
-
const
|
|
1304
|
+
const Ae = {
|
|
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: Pe
|
|
1310
1310
|
};
|
|
1311
|
-
|
|
1311
|
+
Ae.meta = j({}, e.__meta, vs() || {}), ls(Ae);
|
|
1312
1312
|
}
|
|
1313
|
-
return
|
|
1313
|
+
return Pe;
|
|
1314
1314
|
}
|
|
1315
1315
|
function bs(e) {
|
|
1316
1316
|
k(e.list) ? e.list = e.list.map((t) => h(t) ? Ft(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1317
1317
|
h(e.named[t]) && (e.named[t] = Ft(e.named[t]));
|
|
1318
1318
|
});
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Pn(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 An(e, t, n, r, o, a) {
|
|
|
1360
1360
|
}
|
|
1361
1361
|
return [g, d, _];
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function An(e, t, n, r, o, a) {
|
|
1364
1364
|
const { messageCompiler: s, warnHtmlMessage: l } = e;
|
|
1365
1365
|
if (ee(r)) {
|
|
1366
1366
|
const d = r;
|
|
@@ -1434,12 +1434,12 @@ function Ls(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] = Pn(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 = An(e, g, t, v, g, () => {
|
|
1443
1443
|
O = !0;
|
|
1444
1444
|
});
|
|
1445
1445
|
return O ? Ht : N;
|
|
@@ -1457,7 +1457,7 @@ 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
1459
|
return a(Ee(K.CANNOT_FORMAT_DATE)), Ue;
|
|
1460
|
-
const [i, c, u, _] = qe(...t), d =
|
|
1460
|
+
const [i, c, u, _] = qe(...t), d = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(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,
|
|
1463
1463
|
O
|
|
@@ -1550,7 +1550,7 @@ 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
1552
|
return a(Ee(K.CANNOT_FORMAT_NUMBER)), Ue;
|
|
1553
|
-
const [i, c, u, _] = Ze(...t), d =
|
|
1553
|
+
const [i, c, u, _] = Ze(...t), d = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(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,
|
|
1556
1556
|
O
|
|
@@ -1636,10 +1636,10 @@ function Cs() {
|
|
|
1636
1636
|
var e;
|
|
1637
1637
|
return pe !== void 0 || (typeof window < "u" && window.performance ? (pe = !0, et = window.performance) : typeof global < "u" && ((e = global.perf_hooks) === null || e === void 0 ? void 0 : e.performance) ? (pe = !0, et = global.perf_hooks.performance) : pe = !1), pe;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function Ps() {
|
|
1640
1640
|
return Cs() ? et.now() : Date.now();
|
|
1641
1641
|
}
|
|
1642
|
-
class
|
|
1642
|
+
class As {
|
|
1643
1643
|
constructor(t, n) {
|
|
1644
1644
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
|
|
1645
1645
|
const r = {};
|
|
@@ -1667,7 +1667,7 @@ class Ps {
|
|
|
1667
1667
|
a = s;
|
|
1668
1668
|
},
|
|
1669
1669
|
now() {
|
|
1670
|
-
return
|
|
1670
|
+
return Ps();
|
|
1671
1671
|
}
|
|
1672
1672
|
}, n && n.on(Ds, (s, l) => {
|
|
1673
1673
|
s === this.plugin.id && this.fallbacks.setSettings(l);
|
|
@@ -1706,7 +1706,7 @@ function ks(e, t) {
|
|
|
1706
1706
|
if (o && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
1707
1707
|
o.emit(ws, e, t);
|
|
1708
1708
|
else {
|
|
1709
|
-
const s = a ? new
|
|
1709
|
+
const s = a ? new As(n, o) : null;
|
|
1710
1710
|
(r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
1711
1711
|
pluginDescriptor: n,
|
|
1712
1712
|
setupFn: t,
|
|
@@ -1877,13 +1877,13 @@ const Hs = () => {
|
|
|
1877
1877
|
};
|
|
1878
1878
|
function Gn(e = {}, t) {
|
|
1879
1879
|
const { __root: n } = e, r = n === void 0;
|
|
1880
|
-
let o =
|
|
1880
|
+
let o = P(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1881
1881
|
const a = x(
|
|
1882
1882
|
n && o ? n.locale.value : h(e.locale) ? e.locale : mt
|
|
1883
1883
|
), s = x(
|
|
1884
1884
|
n && o ? n.fallbackLocale.value : h(e.fallbackLocale) || k(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
|
|
1885
1885
|
), l = x(Un(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 :
|
|
1886
|
+
let u = n ? n.missingWarn : P(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, _ = n ? n.fallbackWarn : P(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, d = n ? n.fallbackRoot : P(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 : P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
|
|
1887
1887
|
const I = 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 Gn(e = {}, t) {
|
|
|
1929
1929
|
set: (f) => {
|
|
1930
1930
|
s.value = f, p.fallbackLocale = s.value, Te(p, a.value, f);
|
|
1931
1931
|
}
|
|
1932
|
-
}), J = W(() => l.value), q = /* @__PURE__ */ W(() => i.value),
|
|
1933
|
-
function
|
|
1932
|
+
}), J = W(() => l.value), q = /* @__PURE__ */ W(() => i.value), Pe = /* @__PURE__ */ W(() => c.value);
|
|
1933
|
+
function Ae() {
|
|
1934
1934
|
return $(E) ? E : null;
|
|
1935
1935
|
}
|
|
1936
1936
|
function Qn(f) {
|
|
@@ -1993,7 +1993,7 @@ function Gn(e = {}, t) {
|
|
|
1993
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 oo(f) {
|
|
1996
|
-
return f.map((m) => h(m) || M(m) ||
|
|
1996
|
+
return f.map((m) => h(m) || M(m) || P(m) ? Qt(String(m)) : m);
|
|
1997
1997
|
}
|
|
1998
1998
|
const ro = {
|
|
1999
1999
|
normalize: oo,
|
|
@@ -2157,13 +2157,13 @@ function Gn(e = {}, t) {
|
|
|
2157
2157
|
getLocaleMessage: Ot,
|
|
2158
2158
|
setLocaleMessage: _o,
|
|
2159
2159
|
mergeLocaleMessage: mo,
|
|
2160
|
-
getPostTranslationHandler:
|
|
2160
|
+
getPostTranslationHandler: Ae,
|
|
2161
2161
|
setPostTranslationHandler: Qn,
|
|
2162
2162
|
getMissingHandler: Jn,
|
|
2163
2163
|
setMissingHandler: qn,
|
|
2164
2164
|
[xs]: io
|
|
2165
2165
|
};
|
|
2166
|
-
return F.datetimeFormats = q, F.numberFormats =
|
|
2166
|
+
return F.datetimeFormats = q, F.numberFormats = Pe, F.rt = eo, F.te = co, F.tm = fo, F.d = to, F.n = no, F.getDateTimeFormat = go, F.setDateTimeFormat = po, F.mergeDateTimeFormat = ho, F.getNumberFormat = vo, F.setNumberFormat = Eo, F.mergeNumberFormat = Oo, F[Gs] = e.__injectWithOption, F[tt] = so, F[nt] = lo, F[ot] = ao, 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;
|
|
@@ -2333,7 +2333,7 @@ function on(e) {
|
|
|
2333
2333
|
return h(n) && (s.locale = n), M(o) && (s.plural = o), M(a) && (s.plural = a), [t, l, s];
|
|
2334
2334
|
}
|
|
2335
2335
|
function Ks(e, t, ...n) {
|
|
2336
|
-
const r = y(n[0]) ? n[0] : {}, o = !!r.useI18nComponentName, a =
|
|
2336
|
+
const r = y(n[0]) ? n[0] : {}, o = !!r.useI18nComponentName, a = P(r.globalInstall) ? r.globalInstall : !0;
|
|
2337
2337
|
process.env.NODE_ENV !== "production" && a && o && be(He(Z.COMPONENT_NAME_LEGACY_COMPATIBLE, {
|
|
2338
2338
|
name: Ke.name
|
|
2339
2339
|
})), a && (e.component(o ? "i18n" : Ke.name, Ke), e.component(en.name, en), e.component(tn.name, tn)), e.directive("t", zs(t));
|
|
@@ -2587,12 +2587,12 @@ function sa(e, t) {
|
|
|
2587
2587
|
const n = Yn(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) || k(e.state.value) || S(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" &&
|
|
2590
|
+
r === "locale" && h(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (h(e.state.value) || k(e.state.value) || S(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && P(e.state.value) && (n.inheritLocale = e.state.value);
|
|
2591
2591
|
}
|
|
2592
2592
|
}
|
|
2593
2593
|
const aa = /* @__PURE__ */ ne("global-vue-i18n");
|
|
2594
2594
|
function la(e = {}, t) {
|
|
2595
|
-
const n =
|
|
2595
|
+
const n = P(e.globalInjection) ? e.globalInjection : !0, r = !0, o = /* @__PURE__ */ new Map(), [a, s] = ia(e), l = ne(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
2596
2596
|
function i(_) {
|
|
2597
2597
|
return o.get(_) || null;
|
|
2598
2598
|
}
|
|
@@ -2766,8 +2766,8 @@ const ha = {
|
|
|
2766
2766
|
Ne("right", wr);
|
|
2767
2767
|
Ne("group", Dr);
|
|
2768
2768
|
Ne("group-closed", Cr);
|
|
2769
|
-
Ne("user",
|
|
2770
|
-
Ne("plus",
|
|
2769
|
+
Ne("user", Pr);
|
|
2770
|
+
Ne("plus", Ar);
|
|
2771
2771
|
Ne("minus", kr);
|
|
2772
2772
|
const Ea = _e({
|
|
2773
2773
|
components: {
|
|
@@ -2821,7 +2821,7 @@ const Oa = { class: "device-group-list" }, Na = { class: "search-panel" }, ba =
|
|
|
2821
2821
|
function ya(e, t, n, r, o, a) {
|
|
2822
2822
|
var s;
|
|
2823
2823
|
const l = ie("CountShow"), i = ie("group-show");
|
|
2824
|
-
return
|
|
2824
|
+
return A(), R("div", Oa, [
|
|
2825
2825
|
C("div", Na, [
|
|
2826
2826
|
se(l, { countInfo: e.deviceGroup }, {
|
|
2827
2827
|
default: ce(() => [
|
|
@@ -2837,7 +2837,7 @@ function ya(e, t, n, r, o, a) {
|
|
|
2837
2837
|
}, 8, ["countInfo"])
|
|
2838
2838
|
]),
|
|
2839
2839
|
C("div", Ta, [
|
|
2840
|
-
(
|
|
2840
|
+
(A(!0), R(Oe, null, Ce((s = e.deviceGroup) == null ? void 0 : s.items, (c, u) => (A(), _n(i, {
|
|
2841
2841
|
controlParams: e.controlParams,
|
|
2842
2842
|
key: u,
|
|
2843
2843
|
deviceGroup: c
|
|
@@ -2864,9 +2864,9 @@ var Ia = Object.defineProperty, Sa = Object.defineProperties, wa = Object.getOwn
|
|
|
2864
2864
|
for (var n of sn(t))
|
|
2865
2865
|
Ca.call(t, n) && an(e, n, t[n]);
|
|
2866
2866
|
return e;
|
|
2867
|
-
},
|
|
2867
|
+
}, Pa = (e, t) => Sa(e, wa(t));
|
|
2868
2868
|
const ye = 6, ln = ye * 2;
|
|
2869
|
-
function
|
|
2869
|
+
function Aa(e, t) {
|
|
2870
2870
|
return e.map(
|
|
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(" ");
|
|
@@ -2876,7 +2876,7 @@ function ka(e, t, n) {
|
|
|
2876
2876
|
}
|
|
2877
2877
|
function Fa(e, t, n) {
|
|
2878
2878
|
n.forEach((r) => {
|
|
2879
|
-
const o =
|
|
2879
|
+
const o = Pa(zn({}, r.leftTop), {
|
|
2880
2880
|
id: Kn(r.leftTop),
|
|
2881
2881
|
layout: {
|
|
2882
2882
|
left: 100 / t.col * r.leftTop.col,
|
|
@@ -2965,7 +2965,7 @@ const Se = {
|
|
|
2965
2965
|
const l = {
|
|
2966
2966
|
row: t.height / e.row,
|
|
2967
2967
|
col: t.width / e.col
|
|
2968
|
-
}, i =
|
|
2968
|
+
}, i = Aa(s, l);
|
|
2969
2969
|
return `<svg viewBox='0 0 ${t.width + ln} ${t.height + ln} ' width="100%" height="100%"> ${i} </svg>`;
|
|
2970
2970
|
},
|
|
2971
2971
|
StorageDefaultLayout: {
|
|
@@ -3036,8 +3036,8 @@ const Se = {
|
|
|
3036
3036
|
});
|
|
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
|
-
return
|
|
3040
|
-
(
|
|
3039
|
+
return A(), R("div", null, [
|
|
3040
|
+
(A(!0), R(Oe, null, Ce(e.layoutInfos, (s) => (A(), R("div", {
|
|
3041
3041
|
class: Xe(s.select ? "layout-item layout-item-select" : "layout-item"),
|
|
3042
3042
|
onClick: (l) => e.selectClick(s)
|
|
3043
3043
|
}, [
|
|
@@ -3084,12 +3084,13 @@ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-e550e73
|
|
|
3084
3084
|
let r = Se.StorageDefaultLayout.get();
|
|
3085
3085
|
const o = r || n[0];
|
|
3086
3086
|
function a(_, d) {
|
|
3087
|
-
|
|
3088
|
-
id:
|
|
3089
|
-
row:
|
|
3090
|
-
col:
|
|
3091
|
-
}))
|
|
3092
|
-
|
|
3087
|
+
return Se.TransLayoutToFrams(_.layout).map(({ id: g, row: v, col: O }) => ({
|
|
3088
|
+
id: g,
|
|
3089
|
+
row: v,
|
|
3090
|
+
col: O
|
|
3091
|
+
})), t.emit("LayoutChange", _, () => {
|
|
3092
|
+
c();
|
|
3093
|
+
}), _.cancel || (l.value = d), !_.cancel;
|
|
3093
3094
|
}
|
|
3094
3095
|
const s = function(_, d) {
|
|
3095
3096
|
JSON.stringify(r) != JSON.stringify(_) && a(_, d) && (r = _.layout, Se.StorageDefaultLayout.set(_.layout)), l.value.length == 0 && a(_, d);
|
|
@@ -3109,12 +3110,12 @@ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-e550e73
|
|
|
3109
3110
|
},
|
|
3110
3111
|
expose: []
|
|
3111
3112
|
});
|
|
3112
|
-
const Xn = (e) => (Co("data-v-
|
|
3113
|
+
const Xn = (e) => (Co("data-v-7cc795b9"), e = e(), Po(), e), ja = { class: "layout-switcher" }, Ba = ["innerHTML"], Ya = { class: "switch-panel" }, za = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("div", { style: { "margin-left": "10px" } }, [
|
|
3113
3114
|
/* @__PURE__ */ C("span", null, "\u8BF7\u9009\u62E9\u5E03\u5C40\u6837\u5F0F")
|
|
3114
3115
|
], -1)), Ka = { style: { "margin-left": "10px", padding: "10px" } }, Xa = { style: { "margin-left": "10px" } }, Qa = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("span", null, "\u6807\u51C6\u6A21\u5F0F\uFF1A", -1));
|
|
3115
3116
|
function Ja(e, t, n, r, o, a) {
|
|
3116
3117
|
const s = ie("LayoutShow");
|
|
3117
|
-
return
|
|
3118
|
+
return A(), R("div", ja, [
|
|
3118
3119
|
C("div", {
|
|
3119
3120
|
onClick: t[0] || (t[0] = (...l) => e.clickShowSelectPanel && e.clickShowSelectPanel(...l)),
|
|
3120
3121
|
class: "switch-switcher"
|
|
@@ -3141,7 +3142,7 @@ function Ja(e, t, n, r, o, a) {
|
|
|
3141
3142
|
])
|
|
3142
3143
|
]);
|
|
3143
3144
|
}
|
|
3144
|
-
const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-
|
|
3145
|
+
const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-7cc795b9"]]), Za = _e({
|
|
3145
3146
|
props: {
|
|
3146
3147
|
layout: {
|
|
3147
3148
|
type: Object
|
|
@@ -3161,8 +3162,8 @@ const qa = /* @__PURE__ */ de(Ha, [["render", Ja], ["__scopeId", "data-v-095d33f
|
|
|
3161
3162
|
});
|
|
3162
3163
|
const el = { style: { position: "relative", height: "100%", width: "100%" } };
|
|
3163
3164
|
function tl(e, t, n, r, o, a) {
|
|
3164
|
-
return
|
|
3165
|
-
(
|
|
3165
|
+
return A(), R("div", el, [
|
|
3166
|
+
(A(!0), R(Oe, null, Ce(e.frameRef, ({ layout: s, id: l, row: i, col: c }) => (A(), R("div", {
|
|
3166
3167
|
class: "play-area",
|
|
3167
3168
|
style: Le(`position: absolute; top: calc(${s.top}%); left: calc(${s.left}%); width: calc(${s.width}%); height: calc(${s.height}%);`)
|
|
3168
3169
|
}, [
|