smarteye-e-components 0.0.78 → 0.0.79

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 { 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 Ie, 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, reactive as we, createTextVNode as Gn, unref as le, Teleport as zn, toRaw as ze } from "vue";
1
+ import { h as Ze, getCurrentInstance as Nt, effectScope as Zo, inject as St, onMounted as Fe, onUnmounted as ot, ref as k, computed as U, watch as Ie, Fragment as de, 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 ue, withDirectives as Vn, withCtx as te, createBlock as xe, vShow as Un, provide as ns, reactive as we, createTextVNode as Gn, 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
@@ -14,7 +14,7 @@ if (process.env.NODE_ENV !== "production") {
14
14
  }
15
15
  const os = /\{([0-9a-zA-Z]+)\}/g;
16
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] : "");
17
+ return t.length === 1 && F(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(os, (n, o) => t.hasOwnProperty(o) ? t[o] : "");
18
18
  }
19
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
20
  function Ve(e, t) {
@@ -30,7 +30,7 @@ const is = Object.prototype.hasOwnProperty;
30
30
  function Dt(e, t) {
31
31
  return is.call(e, t);
32
32
  }
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;
33
+ const z = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", G = (e) => typeof e == "boolean", F = (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
34
  function us(e, t = 0, n = e.length) {
35
35
  const o = e.split(/\r?\n/);
36
36
  let s = 0;
@@ -249,10 +249,10 @@ function hs(e) {
249
249
  }
250
250
  const Bt = /* @__PURE__ */ new Map();
251
251
  function vs(e, t) {
252
- return x(e) ? e[t] : null;
252
+ return F(e) ? e[t] : null;
253
253
  }
254
254
  function ys(e, t) {
255
- if (!x(e))
255
+ if (!F(e))
256
256
  return null;
257
257
  let n = Bt.get(t);
258
258
  if (n || (n = hs(t), n && Bt.set(t, n)), !n)
@@ -279,11 +279,11 @@ function Ts(e, t) {
279
279
  t.count || (t.count = e), t.n || (t.n = e);
280
280
  }
281
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 || {};
282
+ const t = e.locale, n = Is(e), o = F(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Kt, s = F(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
283
  K(e.pluralIndex) && Ts(n, i);
284
284
  const c = (g) => i[g];
285
285
  function m(g) {
286
- const w = W(e.messages) ? e.messages(g) : x(e.messages) ? e.messages[g] : !1;
286
+ const w = W(e.messages) ? e.messages(g) : F(e.messages) ? e.messages[g] : !1;
287
287
  return w || (e.parent ? e.parent.message(g) : ws);
288
288
  }
289
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 = {
@@ -293,7 +293,7 @@ function Ns(e = {}) {
293
293
  linked: (g, ...w) => {
294
294
  const [S, T] = w;
295
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));
296
+ w.length === 1 ? F(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
297
  let $ = m(g)(y);
298
298
  return E === "vnode" && z($) && P && ($ = $[0]), P ? f(P)($, E) : $;
299
299
  },
@@ -342,7 +342,7 @@ function Re(e, ...t) {
342
342
  function $s(e, t, n) {
343
343
  return [.../* @__PURE__ */ new Set([
344
344
  n,
345
- ...z(t) ? t : x(t) ? Object.keys(t) : L(t) ? [t] : [n]
345
+ ...z(t) ? t : F(t) ? Object.keys(t) : L(t) ? [t] : [n]
346
346
  ])];
347
347
  }
348
348
  function Kn(e, t, n) {
@@ -386,14 +386,14 @@ function ks(e, t, n) {
386
386
  return o;
387
387
  }
388
388
  const Rs = "9.2.2", rt = -1, $t = "en-US", tt = "", Xt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
389
- function xs() {
389
+ function Fs() {
390
390
  return {
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
391
+ upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" && F(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
392
+ lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" && F(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
393
+ capitalize: (e, t) => t === "text" && L(e) ? Xt(e) : t === "vnode" && F(e) && "__v_isVNode" in e ? Xt(e.children) : e
394
394
  };
395
395
  }
396
- let Fs, Yn;
396
+ let xs, Yn;
397
397
  function Vs(e) {
398
398
  Yn = e;
399
399
  }
@@ -411,7 +411,7 @@ const Qt = (e) => {
411
411
  }, zs = () => Qn;
412
412
  let qt = 0;
413
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 : {};
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 || {}, Fs()), 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 : xs, S = W(e.messageResolver) ? e.messageResolver : Yn || vs, T = W(e.localeFallbacker) ? e.localeFallbacker : Xn || $s, E = F(e.fallbackContext) ? e.fallbackContext : void 0, P = W(e.onWarn) ? e.onWarn : Ve, $ = e, D = F($.__datetimeFormatters) ? $.__datetimeFormatters : /* @__PURE__ */ new Map(), X = F($.__numberFormatters) ? $.__numberFormatters : /* @__PURE__ */ new Map(), q = F($.__meta) ? $.__meta : {};
415
415
  qt++;
416
416
  const Z = {
417
417
  version: t,
@@ -513,7 +513,7 @@ function en(e, ...t) {
513
513
  return O;
514
514
  }
515
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) => {
516
+ z(e.list) ? e.list = e.list.map((t) => L(t) ? jt(t) : t) : F(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
  }
@@ -939,7 +939,7 @@ function ar() {
939
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
940
  }
941
941
  let ao = ae.__EXTEND_POINT__;
942
- const $e = () => ++ao, de = {
942
+ const $e = () => ++ao, fe = {
943
943
  FALLBACK_TO_ROOT: ao,
944
944
  NOT_SUPPORTED_PRESERVE: $e(),
945
945
  NOT_SUPPORTED_FORMATTER: $e(),
@@ -948,19 +948,19 @@ const $e = () => ++ao, de = {
948
948
  COMPONENT_NAME_LEGACY_COMPATIBLE: $e(),
949
949
  NOT_FOUND_PARENT_SCOPE: $e()
950
950
  }, lr = {
951
- [de.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
952
- [de.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
953
- [de.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
954
- [de.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: "Not supported 'preserveDirectiveContent'.",
955
- [de.NOT_SUPPORTED_GET_CHOICE_INDEX]: "Not supported 'getChoiceIndex'.",
956
- [de.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
957
- [de.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
951
+ [fe.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
952
+ [fe.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
953
+ [fe.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
954
+ [fe.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: "Not supported 'preserveDirectiveContent'.",
955
+ [fe.NOT_SUPPORTED_GET_CHOICE_INDEX]: "Not supported 'getChoiceIndex'.",
956
+ [fe.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
957
+ [fe.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
958
958
  };
959
959
  function lt(e, ...t) {
960
960
  return Ct(lr[e], ...t);
961
961
  }
962
962
  let lo = J.__EXTEND_POINT__;
963
- const re = () => ++lo, F = {
963
+ const re = () => ++lo, x = {
964
964
  UNEXPECTED_RETURN_TYPE: lo,
965
965
  INVALID_ARGUMENT: re(),
966
966
  MUST_BE_CALL_SETUP_TOP: re(),
@@ -981,36 +981,36 @@ function ce(e, ...t) {
981
981
  return Wn(e, null, process.env.NODE_ENV !== "production" ? { messages: ir, args: t } : void 0);
982
982
  }
983
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"
984
+ [x.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
985
+ [x.INVALID_ARGUMENT]: "Invalid argument",
986
+ [x.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
987
+ [x.NOT_INSLALLED]: "Need to install with `app.use` function",
988
+ [x.UNEXPECTED_ERROR]: "Unexpected error",
989
+ [x.NOT_AVAILABLE_IN_LEGACY_MODE]: "Not available in legacy mode",
990
+ [x.REQUIRED_VALUE]: "Required in value: {0}",
991
+ [x.INVALID_VALUE]: "Invalid value",
992
+ [x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
993
+ [x.NOT_INSLALLED_WITH_PROVIDE]: "Need to install with `provide` function",
994
+ [x.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
995
+ [x.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
996
+ [x.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
+ [x.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
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
1000
  const ur = /* @__PURE__ */ he("__injectWithOption");
1001
1001
  function Lt(e) {
1002
- if (!x(e))
1002
+ if (!F(e))
1003
1003
  return e;
1004
1004
  for (const t in e)
1005
1005
  if (!!Dt(e, t))
1006
1006
  if (!t.includes("."))
1007
- x(e[t]) && Lt(e[t]);
1007
+ F(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], x(s[n[o]]) && Lt(s[n[o]]);
1013
+ s[n[o]] = e[t], delete e[t], F(s[n[o]]) && Lt(s[n[o]]);
1014
1014
  }
1015
1015
  return e;
1016
1016
  }
@@ -1027,10 +1027,10 @@ function io(e, t) {
1027
1027
  Dt(r, l) && Lt(r[l]);
1028
1028
  return r;
1029
1029
  }
1030
- const Je = (e) => !x(e) || z(e);
1030
+ const Je = (e) => !F(e) || z(e);
1031
1031
  function je(e, t) {
1032
1032
  if (Je(e) || Je(t))
1033
- throw ce(F.INVALID_VALUE);
1033
+ throw ce(x.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
  }
@@ -1038,7 +1038,7 @@ function co(e) {
1038
1038
  return e.type;
1039
1039
  }
1040
1040
  function dr(e, t, n) {
1041
- let o = x(t.messages) ? t.messages : {};
1041
+ let o = F(t.messages) ? t.messages : {};
1042
1042
  "__i18nGlobal" in n && (o = io(e.locale.value, {
1043
1043
  messages: o,
1044
1044
  __i18n: n.__i18nGlobal
@@ -1048,13 +1048,13 @@ function dr(e, t, n) {
1048
1048
  e.mergeLocaleMessage(a, o[a]);
1049
1049
  });
1050
1050
  {
1051
- if (x(t.datetimeFormats)) {
1051
+ if (F(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 (x(t.numberFormats)) {
1057
+ if (F(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]);
@@ -1158,7 +1158,7 @@ function uo(e = {}, t) {
1158
1158
  De = _(E);
1159
1159
  if (K(De) && De === rt) {
1160
1160
  const [Oe, qo] = h();
1161
- if (process.env.NODE_ENV !== "production" && n && L(Oe) && Ae(se, qo) && (u && (at(f, Oe) || qn(m, Oe)) && Ve(lt(de.FALLBACK_TO_ROOT, {
1161
+ if (process.env.NODE_ENV !== "production" && n && L(Oe) && Ae(se, qo) && (u && (at(f, Oe) || qn(m, Oe)) && Ve(lt(fe.FALLBACK_TO_ROOT, {
1162
1162
  key: Oe,
1163
1163
  type: se
1164
1164
  })), process.env.NODE_ENV !== "production")) {
@@ -1174,7 +1174,7 @@ function uo(e = {}, t) {
1174
1174
  } else {
1175
1175
  if (Xe(De))
1176
1176
  return De;
1177
- throw ce(F.UNEXPECTED_RETURN_TYPE);
1177
+ throw ce(x.UNEXPECTED_RETURN_TYPE);
1178
1178
  }
1179
1179
  };
1180
1180
  function Ue(..._) {
@@ -1182,8 +1182,8 @@ function uo(e = {}, t) {
1182
1182
  }
1183
1183
  function ct(..._) {
1184
1184
  const [h, se, ee] = _;
1185
- if (ee && !x(ee))
1186
- throw ce(F.INVALID_ARGUMENT);
1185
+ if (ee && !F(ee))
1186
+ throw ce(x.INVALID_ARGUMENT);
1187
1187
  return Ue(h, se, ne({ resolvedMessage: !0 }, ee || {}));
1188
1188
  }
1189
1189
  function Ut(..._) {
@@ -1200,7 +1200,7 @@ function uo(e = {}, t) {
1200
1200
  interpolate: (_) => _,
1201
1201
  type: "vnode"
1202
1202
  };
1203
- function xo(..._) {
1203
+ function Fo(..._) {
1204
1204
  return ve(
1205
1205
  (h) => {
1206
1206
  let se;
@@ -1219,7 +1219,7 @@ function uo(e = {}, t) {
1219
1219
  (h) => z(h)
1220
1220
  );
1221
1221
  }
1222
- function Fo(..._) {
1222
+ function xo(..._) {
1223
1223
  return ve(
1224
1224
  (h) => Reflect.apply(sn, null, [h, ..._]),
1225
1225
  () => ht(..._),
@@ -1363,7 +1363,7 @@ function uo(e = {}, t) {
1363
1363
  setMissingHandler: Le,
1364
1364
  [cr]: Uo
1365
1365
  };
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] = (_) => {
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] = Fo, H[Et] = Vo, H[wt] = xo, process.env.NODE_ENV !== "production" && (H[Ke] = (_) => {
1367
1367
  E.__v_emitter = _;
1368
1368
  }, H[bt] = () => {
1369
1369
  E.__v_emitter = void 0;
@@ -1395,7 +1395,7 @@ function _r({ slots: e }, t) {
1395
1395
  }, {});
1396
1396
  }
1397
1397
  function fo(e) {
1398
- return ue;
1398
+ return de;
1399
1399
  }
1400
1400
  const mt = {
1401
1401
  name: "i18n-t",
@@ -1410,14 +1410,14 @@ const mt = {
1410
1410
  }
1411
1411
  }, kt),
1412
1412
  setup(e, t) {
1413
- const { slots: n, attrs: o } = t, s = e.i18n || xt({
1413
+ const { slots: n, attrs: o } = t, s = e.i18n || Ft({
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 = _r(t, a), i = s[yt](e.keypath, l, r), c = ne({}, o), m = L(e.tag) || x(e.tag) ? e.tag : fo();
1420
+ const l = _r(t, a), i = s[yt](e.keypath, l, r), c = ne({}, o), m = L(e.tag) || F(e.tag) ? e.tag : fo();
1421
1421
  return Ze(m, c, i);
1422
1422
  };
1423
1423
  }
@@ -1430,14 +1430,14 @@ function _o(e, t, n, o) {
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 : 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, {}));
1433
+ e.locale && (r.locale = e.locale), L(e.format) ? r.key = e.format : F(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
1436
  z(i) ? c = i.map((u, d) => {
1437
1437
  const p = s[u.type], v = p ? p({ [u.type]: u.value, index: d, parts: i }) : [u.value];
1438
1438
  return mr(v) && (v[0].key = `${u.type}-${d}`), v;
1439
1439
  }) : L(i) && (c = [i]);
1440
- const m = ne({}, a), f = L(e.tag) || x(e.tag) ? e.tag : fo();
1440
+ const m = ne({}, a), f = L(e.tag) || F(e.tag) ? e.tag : fo();
1441
1441
  return Ze(f, m, c);
1442
1442
  };
1443
1443
  }
@@ -1453,7 +1453,7 @@ const dn = {
1453
1453
  }
1454
1454
  }, kt),
1455
1455
  setup(e, t) {
1456
- const n = e.i18n || xt({ useScope: "parent", __useComponent: !0 });
1456
+ const n = e.i18n || Ft({ useScope: "parent", __useComponent: !0 });
1457
1457
  return _o(e, t, so, (...o) => n[wt](...o));
1458
1458
  }
1459
1459
  }, fn = {
@@ -1468,7 +1468,7 @@ const dn = {
1468
1468
  }
1469
1469
  }, kt),
1470
1470
  setup(e, t) {
1471
- const n = e.i18n || xt({ useScope: "parent", __useComponent: !0 });
1471
+ const n = e.i18n || Ft({ useScope: "parent", __useComponent: !0 });
1472
1472
  return _o(e, t, oo, (...o) => n[Et](...o));
1473
1473
  }
1474
1474
  };
@@ -1485,9 +1485,9 @@ 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(F.UNEXPECTED_ERROR);
1488
+ throw ce(x.UNEXPECTED_ERROR);
1489
1489
  const m = pr(e, l.$);
1490
- process.env.NODE_ENV !== "production" && i.preserve && Ve(lt(de.NOT_SUPPORTED_PRESERVE));
1490
+ process.env.NODE_ENV !== "production" && i.preserve && Ve(lt(fe.NOT_SUPPORTED_PRESERVE));
1491
1491
  const f = _n(c);
1492
1492
  return [
1493
1493
  Reflect.apply(m.t, m, [...mn(f)]),
@@ -1523,10 +1523,10 @@ function _n(e) {
1523
1523
  return { path: e };
1524
1524
  if (M(e)) {
1525
1525
  if (!("path" in e))
1526
- throw ce(F.REQUIRED_VALUE, "path");
1526
+ throw ce(x.REQUIRED_VALUE, "path");
1527
1527
  return e;
1528
1528
  } else
1529
- throw ce(F.INVALID_VALUE);
1529
+ throw ce(x.INVALID_VALUE);
1530
1530
  }
1531
1531
  function mn(e) {
1532
1532
  const { path: t, locale: n, args: o, choice: s, plural: a } = e, r = {}, l = o || {};
@@ -1534,7 +1534,7 @@ function mn(e) {
1534
1534
  }
1535
1535
  function hr(e, t, ...n) {
1536
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, {
1537
+ process.env.NODE_ENV !== "production" && a && s && Ve(lt(fe.COMPONENT_NAME_LEGACY_COMPATIBLE, {
1538
1538
  name: mt.name
1539
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
  }
@@ -1647,7 +1647,7 @@ 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] = Lr(o) : x(o) ? t[n] = Rt(o) : t[n] = o;
1650
+ W(o) && "source" in o ? t[n] = Lr(o) : F(o) ? t[n] = Rt(o) : t[n] = o;
1651
1651
  }), t;
1652
1652
  }
1653
1653
  const Er = {
@@ -1787,7 +1787,7 @@ function Sr(e, t) {
1787
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) || 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);
1790
+ o === "locale" && L(e.state.value) ? n.locale.value = e.state.value : o === "fallbackLocale" && (L(e.state.value) || z(e.state.value) || F(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
1793
  const Cr = /* @__PURE__ */ he("global-vue-i18n");
@@ -1817,7 +1817,7 @@ function Ar(e = {}, t) {
1817
1817
  f.dispose(), p();
1818
1818
  }, process.env.NODE_ENV !== "production" || !1) {
1819
1819
  if (!await vr(u, f))
1820
- throw ce(F.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
1820
+ throw ce(x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
1821
1821
  const y = jn();
1822
1822
  {
1823
1823
  const g = r;
@@ -1840,18 +1840,18 @@ function Ar(e = {}, t) {
1840
1840
  return f;
1841
1841
  }
1842
1842
  }
1843
- function xt(e = {}) {
1843
+ function Ft(e = {}) {
1844
1844
  const t = Nt();
1845
1845
  if (t == null)
1846
- throw ce(F.MUST_BE_CALL_SETUP_TOP);
1846
+ throw ce(x.MUST_BE_CALL_SETUP_TOP);
1847
1847
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
1848
- throw ce(F.NOT_INSLALLED);
1848
+ throw ce(x.NOT_INSLALLED);
1849
1849
  const n = Pr(t), o = Mr(n), s = co(t), a = $r(e, s);
1850
1850
  if (a === "global")
1851
1851
  return dr(o, e, s), o;
1852
1852
  if (a === "parent") {
1853
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;
1854
+ return i == null && (process.env.NODE_ENV !== "production" && Ve(lt(fe.NOT_FOUND_PARENT_SCOPE)), i = o), i;
1855
1855
  }
1856
1856
  const r = n;
1857
1857
  let l = r.__getInstance(t);
@@ -1866,7 +1866,7 @@ function Dr(e, t, n) {
1866
1866
  {
1867
1867
  const s = o.run(() => uo(e));
1868
1868
  if (s == null)
1869
- throw ce(F.UNEXPECTED_ERROR);
1869
+ throw ce(x.UNEXPECTED_ERROR);
1870
1870
  return [o, s];
1871
1871
  }
1872
1872
  }
@@ -1874,7 +1874,7 @@ function Pr(e) {
1874
1874
  {
1875
1875
  const t = St(e.isCE ? Cr : e.appContext.app.__VUE_I18N_SYMBOL__);
1876
1876
  if (!t)
1877
- throw ce(e.isCE ? F.NOT_INSLALLED_WITH_PROVIDE : F.UNEXPECTED_ERROR);
1877
+ throw ce(e.isCE ? x.NOT_INSLALLED_WITH_PROVIDE : x.UNEXPECTED_ERROR);
1878
1878
  return t;
1879
1879
  }
1880
1880
  }
@@ -1898,7 +1898,7 @@ function kr(e, t, n = !1) {
1898
1898
  }
1899
1899
  function Rr(e, t, n) {
1900
1900
  let o = null;
1901
- xe(() => {
1901
+ Fe(() => {
1902
1902
  if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el) {
1903
1903
  t.vnode.el.__VUE_I18N__ = n, o = jn();
1904
1904
  const s = n;
@@ -1913,17 +1913,17 @@ function Rr(e, t, n) {
1913
1913
  e.__deleteInstance(t);
1914
1914
  }, t);
1915
1915
  }
1916
- const xr = [
1916
+ const Fr = [
1917
1917
  "locale",
1918
1918
  "fallbackLocale",
1919
1919
  "availableLocales"
1920
- ], Fr = ["t", "rt", "d", "n", "tm"];
1920
+ ], xr = ["t", "rt", "d", "n", "tm"];
1921
1921
  function Vr(e, t) {
1922
1922
  const n = /* @__PURE__ */ Object.create(null);
1923
- xr.forEach((o) => {
1923
+ Fr.forEach((o) => {
1924
1924
  const s = Object.getOwnPropertyDescriptor(t, o);
1925
1925
  if (!s)
1926
- throw ce(F.UNEXPECTED_ERROR);
1926
+ throw ce(x.UNEXPECTED_ERROR);
1927
1927
  const a = es(s.value) ? {
1928
1928
  get() {
1929
1929
  return s.value.value;
@@ -1937,10 +1937,10 @@ function Vr(e, t) {
1937
1937
  }
1938
1938
  };
1939
1939
  Object.defineProperty(n, o, a);
1940
- }), e.config.globalProperties.$i18n = n, Fr.forEach((o) => {
1940
+ }), e.config.globalProperties.$i18n = n, xr.forEach((o) => {
1941
1941
  const s = Object.getOwnPropertyDescriptor(t, o);
1942
1942
  if (!s || !s.value)
1943
- throw ce(F.UNEXPECTED_ERROR);
1943
+ throw ce(x.UNEXPECTED_ERROR);
1944
1944
  Object.defineProperty(e.config.globalProperties, `$${o}`, s);
1945
1945
  });
1946
1946
  }
@@ -1955,7 +1955,7 @@ process.env.NODE_ENV;
1955
1955
  const Ur = {
1956
1956
  "zhi-xian-shi-zai-xian-she-bei": (e) => {
1957
1957
  const { normalize: t } = e;
1958
- return t(["\u53EA\u663E\u793A\u5728\u7EBF\u8BBE\u5907"]);
1958
+ return t(["\u53EA\u663E\u793A\u5728\u7EBF\u7EC8\u7AEF"]);
1959
1959
  },
1960
1960
  "qing-xuan-ze-bu-ju-yang-shi": (e) => {
1961
1961
  const { normalize: t } = e;
@@ -2043,7 +2043,7 @@ var vo = /* @__PURE__ */ ((e) => (e.UserFirst = "UserFirst", e.PUFirst = "PUFirs
2043
2043
  const Eo = k(
2044
2044
  "white"
2045
2045
  );
2046
- function Ki(e) {
2046
+ function Yi(e) {
2047
2047
  Eo.value = e;
2048
2048
  }
2049
2049
  function jr() {
@@ -2059,7 +2059,7 @@ function Br() {
2059
2059
  return wo;
2060
2060
  }
2061
2061
  const bo = k(!1);
2062
- function Yi(e) {
2062
+ function Xi(e) {
2063
2063
  bo.value = e;
2064
2064
  }
2065
2065
  function Kr() {
@@ -2102,13 +2102,15 @@ var gn;
2102
2102
  pid: "",
2103
2103
  onlineCount: 0,
2104
2104
  totalCount: 0,
2105
- devices: [{
2106
- id: "testId",
2107
- pid: "",
2108
- name: "999999",
2109
- online: !1,
2110
- channels: []
2111
- }],
2105
+ devices: [
2106
+ {
2107
+ id: "testId",
2108
+ pid: "",
2109
+ name: "999999",
2110
+ online: !1,
2111
+ channels: []
2112
+ }
2113
+ ],
2112
2114
  items: []
2113
2115
  }), console.log(l), {
2114
2116
  name: "hah",
@@ -2317,12 +2319,12 @@ const Io = /* @__PURE__ */ oe(Yr, [["render", qr], ["__scopeId", "data-v-378b853
2317
2319
  rotate: 0,
2318
2320
  vFlip: !1,
2319
2321
  hFlip: !1
2320
- }), Ft = Object.freeze({
2322
+ }), xt = Object.freeze({
2321
2323
  ...To,
2322
2324
  ...No
2323
2325
  });
2324
2326
  Object.freeze({
2325
- ...Ft,
2327
+ ...xt,
2326
2328
  body: "",
2327
2329
  hidden: !1
2328
2330
  });
@@ -2411,7 +2413,7 @@ function hn(e, t, n) {
2411
2413
  }
2412
2414
  function ra(e, t) {
2413
2415
  const n = {
2414
- ...Ft,
2416
+ ...xt,
2415
2417
  ...e
2416
2418
  }, o = {
2417
2419
  ...Co,
@@ -2592,7 +2594,7 @@ const it = Q({
2592
2594
  render() {
2593
2595
  const e = this.$attrs, t = e.icon, n = typeof t == "string" ? Do[t] : typeof t == "object" ? t : null;
2594
2596
  return n === null || typeof n != "object" || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : pa({
2595
- ...Ft,
2597
+ ...xt,
2596
2598
  ...n
2597
2599
  }, e);
2598
2600
  }
@@ -2679,7 +2681,7 @@ function Oa(e, t, n, o, s, a) {
2679
2681
  class: "infinite-list",
2680
2682
  style: _e({ transform: e.getTransform })
2681
2683
  }, [
2682
- (N(!0), A(ue, null, Ee(e.visibleData, (r) => (N(), A("div", {
2684
+ (N(!0), A(de, null, Ee(e.visibleData, (r) => (N(), A("div", {
2683
2685
  ref_for: !0,
2684
2686
  ref: "items",
2685
2687
  class: "infinite-list-item",
@@ -2787,13 +2789,13 @@ const Ma = {
2787
2789
  }, Ra = {
2788
2790
  key: 0,
2789
2791
  class: "group-head-count"
2790
- }, xa = ["title"], Fa = { class: "group-slot" }, Va = {
2792
+ }, Fa = ["title"], xa = { class: "group-slot" }, Va = {
2791
2793
  key: 0,
2792
2794
  style: { "margin-left": "26px" }
2793
2795
  }, Ua = ["title"], Ga = { class: "device-slot" };
2794
2796
  function za(e, t, n, o, s, a) {
2795
2797
  var r, l, i;
2796
- const c = fe("Icon"), m = fe("CountShow"), f = fe("group-show"), u = fe("VirtualList");
2798
+ const c = ue("Icon"), m = ue("CountShow"), f = ue("group-show"), u = ue("VirtualList");
2797
2799
  return e.showGroup ? Vn((N(), A("div", {
2798
2800
  key: 0,
2799
2801
  class: ke("group " + e.theme)
@@ -2828,9 +2830,9 @@ function za(e, t, n, o, s, a) {
2828
2830
  b("span", {
2829
2831
  class: "group-name",
2830
2832
  title: (y = e.deviceGroup) == null ? void 0 : y.name
2831
- }, j(e.innerUtils.groupText(e.deviceGroup)), 9, xa)
2833
+ }, j(e.innerUtils.groupText(e.deviceGroup)), 9, Fa)
2832
2834
  ], 32),
2833
- b("div", Fa, [
2835
+ b("div", xa, [
2834
2836
  Y(e.$slots, "group", { group: e.deviceGroup }, void 0, !0)
2835
2837
  ])
2836
2838
  ];
@@ -2838,7 +2840,7 @@ function za(e, t, n, o, s, a) {
2838
2840
  _: 3
2839
2841
  }, 8, ["countInfo", "controlParams"]),
2840
2842
  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, {
2843
+ (N(!0), A(de, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (d, p) => (N(), xe(f, {
2842
2844
  key: p,
2843
2845
  deviceGroup: d,
2844
2846
  "ui-params": e.uiParams,
@@ -2905,7 +2907,7 @@ function za(e, t, n, o, s, a) {
2905
2907
  [Un, !((l = e.controlParams) != null && l.onlyShowOnline) || ((i = e.countRef) == null ? void 0 : i.onlineCount)]
2906
2908
  ]) : pe("", !0);
2907
2909
  }
2908
- const Ha = /* @__PURE__ */ oe($a, [["render", za], ["__scopeId", "data-v-f297bb7a"]]), ja = {
2910
+ const Ha = /* @__PURE__ */ oe($a, [["render", za], ["__scopeId", "data-v-1a658a22"]]), ja = {
2909
2911
  width: 1024,
2910
2912
  height: 1024,
2911
2913
  body: '<path fill="currentColor" d="M384 192v640l384-320.064z"/>'
@@ -2990,7 +2992,7 @@ const Ja = Q({
2990
2992
  const Qa = { class: "search-panel" }, qa = { for: "onlineShow" }, Za = { class: "device-panel" };
2991
2993
  function el(e, t, n, o, s, a) {
2992
2994
  var r;
2993
- const l = fe("CountShow"), i = fe("group-show");
2995
+ const l = ue("CountShow"), i = ue("group-show");
2994
2996
  return N(), A("div", {
2995
2997
  class: ke(`device-group-list ${e.theme}`)
2996
2998
  }, [
@@ -3013,7 +3015,7 @@ function el(e, t, n, o, s, a) {
3013
3015
  }, 8, ["countInfo", "control-params"])
3014
3016
  ]),
3015
3017
  b("div", Za, [
3016
- (N(!0), A(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (c, m) => (N(), Fe(i, {
3018
+ (N(!0), A(de, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (c, m) => (N(), xe(i, {
3017
3019
  controlParams: e.controlParams,
3018
3020
  key: c.id,
3019
3021
  "ui-params": e.uiControl,
@@ -3255,7 +3257,7 @@ const Se = {
3255
3257
  const _l = ["onClick"], ml = { style: { position: "relative", display: "inline-block", margin: "10px" } }, pl = ["innerHTML"], gl = { style: { "vertical-align": "middle" } };
3256
3258
  function hl(e, t, n, o, s, a) {
3257
3259
  return N(), A("div", null, [
3258
- (N(!0), A(ue, null, Ee(e.layoutInfos, (r) => (N(), A("div", {
3260
+ (N(!0), A(de, null, Ee(e.layoutInfos, (r) => (N(), A("div", {
3259
3261
  class: ke(e.getClassLayout(r)),
3260
3262
  onClick: (l) => e.selectClick(r)
3261
3263
  }, [
@@ -3292,7 +3294,7 @@ const Mo = /* @__PURE__ */ oe(fl, [["render", hl], ["__scopeId", "data-v-75abecd
3292
3294
  const yl = { style: { position: "relative", height: "100%", width: "100%" } };
3293
3295
  function El(e, t, n, o, s, a) {
3294
3296
  return N(), A("div", yl, [
3295
- (N(!0), A(ue, null, Ee(e.frameRef, ({ layout: r, id: l, row: i, col: c, w: m, h: f }, u) => (N(), A("div", {
3297
+ (N(!0), A(de, null, Ee(e.frameRef, ({ layout: r, id: l, row: i, col: c, w: m, h: f }, u) => (N(), A("div", {
3296
3298
  class: "play-area",
3297
3299
  key: u,
3298
3300
  style: _e(`position: absolute; top: calc(${r.top}%); left: calc(${r.left}%); width: calc(${r.width}%); height: calc(${r.height}%);`)
@@ -3433,7 +3435,7 @@ const bl = Q({
3433
3435
  });
3434
3436
  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"];
3435
3437
  function Cl(e, t, n, o, s, a) {
3436
- const r = fe("Icon"), l = fe("VideoAreaLayoutShow");
3438
+ const r = ue("Icon"), l = ue("VideoAreaLayoutShow");
3437
3439
  return N(), A("div", Ll, [
3438
3440
  B(l, { layout: e.layout }, {
3439
3441
  default: te((i) => [
@@ -3449,7 +3451,7 @@ function Cl(e, t, n, o, s, a) {
3449
3451
  b("span", {
3450
3452
  onClick: (c) => e.onDelLayout(i)
3451
3453
  }, [
3452
- i.w > 1 || i.h > 1 ? (N(), Fe(r, {
3454
+ i.w > 1 || i.h > 1 ? (N(), xe(r, {
3453
3455
  key: 0,
3454
3456
  icon: "close",
3455
3457
  class: "close-btn"
@@ -3479,8 +3481,8 @@ const Al = /* @__PURE__ */ oe(bl, [["render", Cl], ["__scopeId", "data-v-c3d9b21
3479
3481
  }
3480
3482
  });
3481
3483
  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" } };
3482
- function xl(e, t, n, o, s, a) {
3483
- const r = fe("Icon"), l = fe("CustomLayoutGen");
3484
+ function Fl(e, t, n, o, s, a) {
3485
+ const r = ue("Icon"), l = ue("CustomLayoutGen");
3484
3486
  return N(), A("div", Pl, [
3485
3487
  b("span", null, [
3486
3488
  Gn(j(e.i18nT("zi-ding-yi-bu-ju")) + "\uFF1A ", 1),
@@ -3499,14 +3501,14 @@ function xl(e, t, n, o, s, a) {
3499
3501
  ])
3500
3502
  ]);
3501
3503
  }
3502
- const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b51862"]]), Vl = Q({
3504
+ const xl = /* @__PURE__ */ oe(Dl, [["render", Fl], ["__scopeId", "data-v-f8b51862"]]), Vl = Q({
3503
3505
  emits: {
3504
3506
  LayoutChange(e, t, n) {
3505
3507
  return !0;
3506
3508
  }
3507
3509
  },
3508
3510
  components: {
3509
- UseCustomLayoutSelector: Fl,
3511
+ UseCustomLayoutSelector: xl,
3510
3512
  LayoutShow: Mo,
3511
3513
  Icon: it
3512
3514
  },
@@ -3606,7 +3608,7 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3606
3608
  });
3607
3609
  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" } };
3608
3610
  function Bl(e, t, n, o, s, a) {
3609
- const r = fe("LayoutShow");
3611
+ const r = ue("LayoutShow");
3610
3612
  return N(), A("div", Ul, [
3611
3613
  b("div", {
3612
3614
  onClick: t[0] || (t[0] = (...l) => e.clickShowSelectPanel && e.clickShowSelectPanel(...l)),
@@ -3722,7 +3724,7 @@ const Qe = [
3722
3724
  top: "",
3723
3725
  left: ""
3724
3726
  });
3725
- xe(() => {
3727
+ Fe(() => {
3726
3728
  });
3727
3729
  let s;
3728
3730
  function a(f) {
@@ -3765,14 +3767,14 @@ const Qe = [
3765
3767
  }))), m = document.body;
3766
3768
  return ot(() => {
3767
3769
  window.document.removeEventListener("click", r);
3768
- }), (f, u) => (N(), A(ue, null, [
3769
- (N(), Fe(zn, { to: le(m) }, [
3770
+ }), (f, u) => (N(), A(de, null, [
3771
+ (N(), xe(zn, { to: le(m) }, [
3770
3772
  n.value ? (N(), A("div", {
3771
3773
  key: 0,
3772
3774
  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 })]),
3773
3775
  onClick: u[0] || (u[0] = (d) => d.stopPropagation())
3774
3776
  }, [
3775
- (N(!0), A(ue, null, Ee(le(c), (d, p) => (N(), A("span", {
3777
+ (N(!0), A(de, null, Ee(le(c), (d, p) => (N(), A("span", {
3776
3778
  key: p,
3777
3779
  class: "layout-panel-item-container",
3778
3780
  style: { border: "1px solid" }
@@ -3834,7 +3836,7 @@ const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
3834
3836
  function m(f) {
3835
3837
  n("addPreset", f, i, { row: o.row, col: o.col });
3836
3838
  }
3837
- return xe(() => {
3839
+ return Fe(() => {
3838
3840
  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]);
3839
3841
  }), Ie(
3840
3842
  () => o.index,
@@ -4010,7 +4012,7 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
4010
4012
  $();
4011
4013
  }
4012
4014
  }
4013
- xe(() => {
4015
+ Fe(() => {
4014
4016
  window.document.addEventListener("mouseup", q);
4015
4017
  }), ot(() => {
4016
4018
  window.document.removeEventListener("mouseup", q);
@@ -4082,7 +4084,7 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
4082
4084
  style: _e(le(w).infoGetter().style),
4083
4085
  class: "current-area"
4084
4086
  }, null, 4)) : pe("", !0),
4085
- (N(!0), A(ue, null, Ee(p, (R, V) => (N(), A("div", {
4087
+ (N(!0), A(de, null, Ee(p, (R, V) => (N(), A("div", {
4086
4088
  style: _e([R.infoGetter().style, {}]),
4087
4089
  class: "current-area"
4088
4090
  }, [
@@ -4142,12 +4144,12 @@ const Pi = /* @__PURE__ */ Q({
4142
4144
  }, 50);
4143
4145
  }
4144
4146
  const f = k(!1);
4145
- return xe(() => {
4147
+ return Fe(() => {
4146
4148
  n.value = document.body;
4147
4149
  }), ot(() => {
4148
4150
  window.document.removeEventListener("click", l);
4149
- }), (u, d) => (N(), A(ue, null, [
4150
- n.value ? (N(), Fe(zn, {
4151
+ }), (u, d) => (N(), A(de, null, [
4152
+ n.value ? (N(), xe(zn, {
4151
4153
  key: 0,
4152
4154
  to: n.value
4153
4155
  }, [
@@ -4168,21 +4170,21 @@ const Pi = /* @__PURE__ */ Q({
4168
4170
  ], 64));
4169
4171
  }
4170
4172
  });
4171
- 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) => {
4173
+ var $i = Object.defineProperty, Rn = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Fn = (e, t, n) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ri = (e, t) => {
4172
4174
  for (var n in t || (t = {}))
4173
- Mi.call(t, n) && xn(e, n, t[n]);
4175
+ Mi.call(t, n) && Fn(e, n, t[n]);
4174
4176
  if (Rn)
4175
4177
  for (var n of Rn(t))
4176
- ki.call(t, n) && xn(e, n, t[n]);
4178
+ ki.call(t, n) && Fn(e, n, t[n]);
4177
4179
  return e;
4178
4180
  };
4179
- const xi = {
4181
+ const Fi = {
4180
4182
  class: "dash-border",
4181
4183
  style: {
4182
4184
  width: "78px",
4183
4185
  height: "48px"
4184
4186
  }
4185
- }, Fi = { style: { width: "100%", height: "40px" } }, Vi = { class: "add-row-panel" }, Ui = /* @__PURE__ */ Q({
4187
+ }, xi = { style: { width: "100%", height: "40px" } }, Vi = { class: "add-row-panel" }, Ui = /* @__PURE__ */ Q({
4186
4188
  __name: "layoutGen",
4187
4189
  props: {
4188
4190
  savedLayout: {
@@ -4222,9 +4224,9 @@ const xi = {
4222
4224
  if (n.savedLayout)
4223
4225
  return I.zeroLayout;
4224
4226
  }
4225
- return xe(() => {
4227
+ return Fe(() => {
4226
4228
  n.savedLayout && (o.row = n.savedLayout.meta.row, o.col = n.savedLayout.meta.col);
4227
- }), (i, c) => (N(), Fe(Pi, {
4229
+ }), (i, c) => (N(), xe(Pi, {
4228
4230
  zIndexModal: n.zIndexModal
4229
4231
  }, {
4230
4232
  default: te(({ addCustomLayoutGen: m }) => [
@@ -4236,11 +4238,11 @@ const xi = {
4236
4238
  b("div", {
4237
4239
  style: _e([{ display: "inline-block", "vertical-align": "top" }, { width: `${80 * o.col}px` }])
4238
4240
  }, [
4239
- (N(!0), A(ue, null, Ee(Array.from({ length: o.row }), (u, d) => (N(), A("div", {
4241
+ (N(!0), A(de, null, Ee(Array.from({ length: o.row }), (u, d) => (N(), A("div", {
4240
4242
  style: _e({ width: `${80 * o.col}px` })
4241
4243
  }, [
4242
- (N(!0), A(ue, null, Ee(Array.from({ length: o.col }), (p, v) => (N(), A("div", xi, [
4243
- b("div", Fi, [
4244
+ (N(!0), A(de, null, Ee(Array.from({ length: o.col }), (p, v) => (N(), A("div", Fi, [
4245
+ b("div", xi, [
4244
4246
  B(ui, {
4245
4247
  ref_for: !0,
4246
4248
  ref_key: "layoutSelectorRefs",
@@ -4277,8 +4279,7 @@ const xi = {
4277
4279
  }, 8, ["zIndexModal"]));
4278
4280
  }
4279
4281
  });
4280
- const Gi = /* @__PURE__ */ oe(Ui, [["__scopeId", "data-v-a44695f9"]]), zi = { style: { "background-color": "white" } }, Hi = /* @__PURE__ */ Q({
4281
- __name: "index",
4282
+ const Gi = /* @__PURE__ */ oe(Ui, [["__scopeId", "data-v-a44695f9"]]), zi = Q({
4282
4283
  props: {
4283
4284
  savedLayout: {
4284
4285
  type: Object
@@ -4287,35 +4288,42 @@ const Gi = /* @__PURE__ */ oe(Ui, [["__scopeId", "data-v-a44695f9"]]), zi = { st
4287
4288
  type: Number
4288
4289
  }
4289
4290
  },
4290
- setup(e, { expose: t }) {
4291
- const n = e, o = k();
4292
- return t({
4291
+ components: {
4292
+ LayoutGen: Gi
4293
+ },
4294
+ setup() {
4295
+ const e = k();
4296
+ defineExpose({
4293
4297
  getLayout() {
4294
- var s;
4295
- return (s = o.value) == null ? void 0 : s.getLayouts();
4298
+ var t;
4299
+ return (t = e.value) == null ? void 0 : t.getLayouts();
4296
4300
  }
4297
- }), (s, a) => (N(), A("div", zi, [
4298
- B(Gi, {
4299
- ref_key: "refLayoutGen",
4300
- ref: o,
4301
- savedLayout: n.savedLayout,
4302
- zIndexModal: n.zIndexModal
4303
- }, null, 8, ["savedLayout", "zIndexModal"])
4304
- ]));
4301
+ });
4305
4302
  }
4306
4303
  });
4307
- const ji = /* @__PURE__ */ oe(Hi, [["__scopeId", "data-v-ab800ae2"]]), Fn = {
4304
+ const Hi = { style: { "background-color": "white" } };
4305
+ function ji(e, t, n, o, s, a) {
4306
+ const r = ue("LayoutGen");
4307
+ return N(), A("div", Hi, [
4308
+ B(r, {
4309
+ ref: "refLayoutGen",
4310
+ savedLayout: e.savedLayout,
4311
+ zIndexModal: e.zIndexModal
4312
+ }, null, 8, ["savedLayout", "zIndexModal"])
4313
+ ]);
4314
+ }
4315
+ const Wi = /* @__PURE__ */ oe(zi, [["render", ji], ["__scopeId", "data-v-fcf42792"]]), xn = {
4308
4316
  RecursionDeviceGroup: tl,
4309
4317
  VideoAreasLayoutShow: Vt,
4310
4318
  MultiVideoAreaLayoutSwitch: Kl,
4311
- VideoAreasLayoutCustom: ji
4312
- }, Xi = {
4319
+ VideoAreasLayoutCustom: Wi
4320
+ }, Ji = {
4313
4321
  install(e, t) {
4314
4322
  Hr(
4315
4323
  t && typeof t.locale < "u" ? t.locale : ho.en
4316
4324
  ), t.deviceListDisplayStyle && Wr(t.deviceListDisplayStyle);
4317
- for (const n in Fn) {
4318
- const o = Fn[n];
4325
+ for (const n in xn) {
4326
+ const o = xn[n];
4319
4327
  e.component(n, o);
4320
4328
  }
4321
4329
  }
@@ -4326,10 +4334,11 @@ export {
4326
4334
  jr as GetGlobalDeviceListTheme,
4327
4335
  Kr as GetIsHideDeviceIdInDeviceDisplay,
4328
4336
  gn as RecursionDeviceGroup,
4337
+ gn as RecursionDeviceGroupModel,
4329
4338
  Wr as SetDeviceListNameDisplayStyle,
4330
- Ki as SetGlobalDeviceListTheme,
4331
- Yi as SetIsHideDeviceIdInDeviceDisplay,
4339
+ Yi as SetGlobalDeviceListTheme,
4340
+ Xi as SetIsHideDeviceIdInDeviceDisplay,
4332
4341
  I as VideoAreaLayout,
4333
- Xi as default
4342
+ Ji as default
4334
4343
  };
4335
4344
  //# sourceMappingURL=smarteye-e-components.mjs.map