smarteye-e-components 0.0.75 → 0.0.76

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,14 +1,14 @@
1
- import { h as Ze, getCurrentInstance as Nt, effectScope as Zo, inject as St, onMounted as xe, onUnmounted as ot, ref as k, computed as U, watch as Me, Fragment as ue, isRef as es, createVNode as B, Text as ts, defineComponent as Q, openBlock as N, createElementBlock as A, normalizeClass as ke, renderSlot as Y, createElementVNode as b, toDisplayString as j, createCommentVNode as pe, normalizeStyle as _e, renderList as Ee, resolveComponent as fe, withDirectives as Vn, withCtx as te, createBlock as Fe, vShow as Un, provide as ns, createTextVNode as Gn, reactive as Oe, unref as le, Teleport as zn, toRaw as ze } from "vue";
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";
2
2
  /*!
3
3
  * shared v9.2.2
4
4
  * (c) 2022 kazuya kawaguchi
5
5
  * Released under the MIT License.
6
6
  */
7
7
  const ge = typeof window < "u";
8
- let ie, Ie;
8
+ let ie, Te;
9
9
  if (process.env.NODE_ENV !== "production") {
10
10
  const e = ge && window.performance;
11
- e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (ie = (t) => e.mark(t), Ie = (t, n, o) => {
11
+ e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (ie = (t) => e.mark(t), Te = (t, n, o) => {
12
12
  e.measure(t, n, o), e.clearMarks(n), e.clearMarks(o);
13
13
  });
14
14
  }
@@ -131,25 +131,25 @@ const Bn = {
131
131
  * (c) 2022 kazuya kawaguchi
132
132
  * Released under the MIT License.
133
133
  */
134
- const we = [];
135
- we[0] = {
134
+ const be = [];
135
+ be[0] = {
136
136
  w: [0],
137
137
  i: [3, 0],
138
138
  ["["]: [4],
139
139
  o: [7]
140
140
  };
141
- we[1] = {
141
+ be[1] = {
142
142
  w: [1],
143
143
  ["."]: [2],
144
144
  ["["]: [4],
145
145
  o: [7]
146
146
  };
147
- we[2] = {
147
+ be[2] = {
148
148
  w: [2],
149
149
  i: [3, 0],
150
150
  [0]: [3, 0]
151
151
  };
152
- we[3] = {
152
+ be[3] = {
153
153
  i: [3, 0],
154
154
  [0]: [3, 0],
155
155
  w: [1, 1],
@@ -157,7 +157,7 @@ we[3] = {
157
157
  ["["]: [4, 1],
158
158
  o: [7, 1]
159
159
  };
160
- we[4] = {
160
+ be[4] = {
161
161
  ["'"]: [5, 0],
162
162
  ['"']: [6, 0],
163
163
  ["["]: [
@@ -168,12 +168,12 @@ we[4] = {
168
168
  o: 8,
169
169
  l: [4, 0]
170
170
  };
171
- we[5] = {
171
+ be[5] = {
172
172
  ["'"]: [4, 0],
173
173
  o: 8,
174
174
  l: [5, 0]
175
175
  };
176
- we[6] = {
176
+ be[6] = {
177
177
  ['"']: [4, 0],
178
178
  o: 8,
179
179
  l: [6, 0]
@@ -241,7 +241,7 @@ function hs(e) {
241
241
  }
242
242
  for (; o !== null; )
243
243
  if (n++, a = e[n], !(a === "\\" && d())) {
244
- if (i = ps(a), f = we[o], c = f[i] || f.l || 8, c === 8 || (o = c[0], c[1] !== void 0 && (m = u[c[1]], m && (l = a, m() === !1))))
244
+ if (i = ps(a), f = be[o], c = f[i] || f.l || 8, c === 8 || (o = c[0], c[1] !== void 0 && (m = u[c[1]], m && (l = a, m() === !1))))
245
245
  return;
246
246
  if (o === 7)
247
247
  return t;
@@ -473,7 +473,7 @@ const ft = () => ++Zn, ye = {
473
473
  INVALID_ISO_DATE_ARGUMENT: ft(),
474
474
  __EXTEND_POINT__: ft()
475
475
  };
476
- function $e(e) {
476
+ function Me(e) {
477
477
  return Wn(e, null, process.env.NODE_ENV !== "production" ? { messages: js } : void 0);
478
478
  }
479
479
  const js = {
@@ -545,7 +545,7 @@ function eo(e, t, n, o, s, a) {
545
545
  message: d,
546
546
  time: P - w,
547
547
  groupId: `${y}:${t}`
548
- }), S && T && ie && Ie && (ie(T), Ie("intlify message resolve", S, T));
548
+ }), S && T && ie && Te && (ie(T), Te("intlify message resolve", S, T));
549
549
  }
550
550
  if (L(d) || W(d))
551
551
  break;
@@ -580,7 +580,7 @@ function to(e, t, n, o, s, a) {
580
580
  message: o,
581
581
  time: u - i,
582
582
  groupId: `translate:${t}`
583
- }), c && m && ie && Ie && (ie(m), Ie("intlify message compilation", c, m));
583
+ }), c && m && ie && Te && (ie(m), Te("intlify message compilation", c, m));
584
584
  }
585
585
  return f.locale = n, f.key = t, f.source = o, f;
586
586
  }
@@ -595,14 +595,14 @@ function Bs(e, t, n) {
595
595
  value: r,
596
596
  time: l - o,
597
597
  groupId: `translate:${t.key}`
598
- }), s && a && ie && Ie && (ie(a), Ie("intlify message evaluation", s, a));
598
+ }), s && a && ie && Te && (ie(a), Te("intlify message evaluation", s, a));
599
599
  }
600
600
  return r;
601
601
  }
602
602
  function pt(...e) {
603
603
  const [t, n, o] = e, s = {};
604
604
  if (!L(t) && !K(t) && !me(t))
605
- throw $e(ye.INVALID_ARGUMENT);
605
+ throw Me(ye.INVALID_ARGUMENT);
606
606
  const a = K(t) ? String(t) : (me(t), t);
607
607
  return K(n) ? s.plural = n : L(n) ? s.default = n : M(n) && !st(n) ? s.named = n : z(n) && (s.list = n), K(o) ? s.plural = o : L(o) ? s.default = o : M(o) && ne(s, o), [a, s];
608
608
  }
@@ -719,22 +719,22 @@ function gt(...e) {
719
719
  if (L(t)) {
720
720
  const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
721
721
  if (!i)
722
- throw $e(ye.INVALID_ISO_DATE_ARGUMENT);
722
+ throw Me(ye.INVALID_ISO_DATE_ARGUMENT);
723
723
  const c = i[3] ? i[3].trim().startsWith("T") ? `${i[1].trim()}${i[3].trim()}` : `${i[1].trim()}T${i[3].trim()}` : i[1].trim();
724
724
  l = new Date(c);
725
725
  try {
726
726
  l.toISOString();
727
727
  } catch {
728
- throw $e(ye.INVALID_ISO_DATE_ARGUMENT);
728
+ throw Me(ye.INVALID_ISO_DATE_ARGUMENT);
729
729
  }
730
730
  } else if (ls(t)) {
731
731
  if (isNaN(t.getTime()))
732
- throw $e(ye.INVALID_DATE_ARGUMENT);
732
+ throw Me(ye.INVALID_DATE_ARGUMENT);
733
733
  l = t;
734
734
  } else if (K(t))
735
735
  l = t;
736
736
  else
737
- throw $e(ye.INVALID_ARGUMENT);
737
+ throw Me(ye.INVALID_ARGUMENT);
738
738
  return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
739
739
  oo.includes(i) ? r[i] = n[i] : a[i] = n[i];
740
740
  }), L(o) ? a.locale = o : M(o) && (r = o), M(s) && (r = s), [a.key || "", l, a, r];
@@ -810,7 +810,7 @@ function ht(...e) {
810
810
  const [t, n, o, s] = e, a = {};
811
811
  let r = {};
812
812
  if (!K(t))
813
- throw $e(ye.INVALID_ARGUMENT);
813
+ throw Me(ye.INVALID_ARGUMENT);
814
814
  const l = t;
815
815
  return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
816
816
  so.includes(i) ? r[i] = n[i] : a[i] = n[i];
@@ -831,10 +831,10 @@ function ro() {
831
831
  return typeof navigator < "u" && typeof window < "u" ? window : typeof global < "u" ? global : {};
832
832
  }
833
833
  const Js = typeof Proxy == "function", Qs = "devtools-plugin:setup", qs = "plugin:settings:set";
834
- let De, vt;
834
+ let Pe, vt;
835
835
  function Zs() {
836
836
  var e;
837
- return De !== void 0 || (typeof window < "u" && window.performance ? (De = !0, vt = window.performance) : typeof global < "u" && ((e = global.perf_hooks) === null || e === void 0 ? void 0 : e.performance) ? (De = !0, vt = global.perf_hooks.performance) : De = !1), De;
837
+ return Pe !== void 0 || (typeof window < "u" && window.performance ? (Pe = !0, vt = window.performance) : typeof global < "u" && ((e = global.perf_hooks) === null || e === void 0 ? void 0 : e.performance) ? (Pe = !0, vt = global.perf_hooks.performance) : Pe = !1), Pe;
838
838
  }
839
839
  function er() {
840
840
  return Zs() ? vt.now() : Date.now();
@@ -939,14 +939,14 @@ 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 Pe = () => ++ao, de = {
942
+ const $e = () => ++ao, de = {
943
943
  FALLBACK_TO_ROOT: ao,
944
- NOT_SUPPORTED_PRESERVE: Pe(),
945
- NOT_SUPPORTED_FORMATTER: Pe(),
946
- NOT_SUPPORTED_PRESERVE_DIRECTIVE: Pe(),
947
- NOT_SUPPORTED_GET_CHOICE_INDEX: Pe(),
948
- COMPONENT_NAME_LEGACY_COMPATIBLE: Pe(),
949
- NOT_FOUND_PARENT_SCOPE: Pe()
944
+ NOT_SUPPORTED_PRESERVE: $e(),
945
+ NOT_SUPPORTED_FORMATTER: $e(),
946
+ NOT_SUPPORTED_PRESERVE_DIRECTIVE: $e(),
947
+ NOT_SUPPORTED_GET_CHOICE_INDEX: $e(),
948
+ COMPONENT_NAME_LEGACY_COMPATIBLE: $e(),
949
+ NOT_FOUND_PARENT_SCOPE: $e()
950
950
  }, lr = {
951
951
  [de.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
952
952
  [de.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
@@ -1139,41 +1139,41 @@ function uo(e = {}, t) {
1139
1139
  function V() {
1140
1140
  return p;
1141
1141
  }
1142
- function be(_) {
1142
+ function Le(_) {
1143
1143
  _ !== null && (v = un(_)), p = _, E.missing = v;
1144
1144
  }
1145
- function Ce(_, h) {
1145
+ function Ae(_, h) {
1146
1146
  return _ !== "translate" || !h.resolvedMessage;
1147
1147
  }
1148
1148
  const ve = (_, h, se, ee, dt, Xe) => {
1149
1149
  $();
1150
- let Ae;
1150
+ let De;
1151
1151
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
1152
1152
  try {
1153
- Jt(fr()), o || (E.fallbackContext = n ? zs() : void 0), Ae = _(E);
1153
+ Jt(fr()), o || (E.fallbackContext = n ? zs() : void 0), De = _(E);
1154
1154
  } finally {
1155
1155
  Jt(null), o || (E.fallbackContext = void 0);
1156
1156
  }
1157
1157
  else
1158
- Ae = _(E);
1159
- if (K(Ae) && Ae === rt) {
1160
- const [Le, qo] = h();
1161
- if (process.env.NODE_ENV !== "production" && n && L(Le) && Ce(se, qo) && (u && (at(f, Le) || qn(m, Le)) && Ve(lt(de.FALLBACK_TO_ROOT, {
1162
- key: Le,
1158
+ De = _(E);
1159
+ if (K(De) && De === rt) {
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, {
1162
+ key: Oe,
1163
1163
  type: se
1164
1164
  })), process.env.NODE_ENV !== "production")) {
1165
1165
  const { __v_emitter: zt } = E;
1166
1166
  zt && u && zt.emit("fallback", {
1167
1167
  type: se,
1168
- key: Le,
1168
+ key: Oe,
1169
1169
  to: "global",
1170
- groupId: `${se}:${Le}`
1170
+ groupId: `${se}:${Oe}`
1171
1171
  });
1172
1172
  }
1173
- return n && u ? ee(n) : dt(Le);
1173
+ return n && u ? ee(n) : dt(Oe);
1174
1174
  } else {
1175
- if (Xe(Ae))
1176
- return Ae;
1175
+ if (Xe(De))
1176
+ return De;
1177
1177
  throw ce(F.UNEXPECTED_RETURN_TYPE);
1178
1178
  }
1179
1179
  };
@@ -1289,9 +1289,9 @@ function uo(e = {}, t) {
1289
1289
  function Qo(_, h) {
1290
1290
  c.value[_] = ne(c.value[_] || {}, h), E.numberFormats = c.value, rn(E, _, h);
1291
1291
  }
1292
- cn++, n && ge && (Me(n.locale, (_) => {
1292
+ cn++, n && ge && (Ie(n.locale, (_) => {
1293
1293
  s && (a.value = _, E.locale = _, Ge(E, a.value, r.value));
1294
- }), Me(n.fallbackLocale, (_) => {
1294
+ }), Ie(n.fallbackLocale, (_) => {
1295
1295
  s && (r.value = _, E.fallbackLocale = _, Ge(E, a.value, r.value));
1296
1296
  }));
1297
1297
  const H = {
@@ -1360,7 +1360,7 @@ function uo(e = {}, t) {
1360
1360
  getPostTranslationHandler: C,
1361
1361
  setPostTranslationHandler: R,
1362
1362
  getMissingHandler: V,
1363
- setMissingHandler: be,
1363
+ setMissingHandler: Le,
1364
1364
  [cr]: Uo
1365
1365
  };
1366
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] = (_) => {
@@ -1497,7 +1497,7 @@ function gr(e) {
1497
1497
  return {
1498
1498
  created: (r, l) => {
1499
1499
  const [i, c] = t(l);
1500
- ge && e.global === c && (r.__i18nWatcher = Me(c.locale, () => {
1500
+ ge && e.global === c && (r.__i18nWatcher = Ie(c.locale, () => {
1501
1501
  l.instance && l.instance.$forceUpdate();
1502
1502
  })), r.__composer = c, r.textContent = i;
1503
1503
  },
@@ -2036,7 +2036,7 @@ function zr(e) {
2036
2036
  function Hr(e) {
2037
2037
  zr(e), We.global.locale = e;
2038
2038
  }
2039
- function Te(e) {
2039
+ function Ne(e) {
2040
2040
  return We.global.t(e);
2041
2041
  }
2042
2042
  var vo = /* @__PURE__ */ ((e) => (e.UserFirst = "UserFirst", e.PUFirst = "PUFirst", e))(vo || {}), yo = /* @__PURE__ */ ((e) => (e.BACKGROUND_WHITE = "white", e.BACKGROUND_DRAK = "drak", e))(yo || {});
@@ -2584,7 +2584,7 @@ const pa = (e, t) => {
2584
2584
  ...l
2585
2585
  }, Ze("span", o);
2586
2586
  }, Do = /* @__PURE__ */ Object.create(null);
2587
- function Se(e, t) {
2587
+ function Ce(e, t) {
2588
2588
  Do[e] = t;
2589
2589
  }
2590
2590
  const it = Q({
@@ -2649,7 +2649,7 @@ const La = {
2649
2649
  }), t);
2650
2650
  },
2651
2651
  mounted() {
2652
- this.init(), Me(() => this.listData.length, () => ba(this, null, function* () {
2652
+ this.init(), Ie(() => this.listData.length, () => ba(this, null, function* () {
2653
2653
  yield this.$nextTick(), this.init();
2654
2654
  }));
2655
2655
  },
@@ -2930,12 +2930,12 @@ const Ha = /* @__PURE__ */ oe($a, [["render", za], ["__scopeId", "data-v-fe6756c
2930
2930
  height: 1024,
2931
2931
  body: '<path fill="currentColor" d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"/>'
2932
2932
  };
2933
- Se("right", ja);
2934
- Se("group", Wa);
2935
- Se("group-closed", Ba);
2936
- Se("user", Ka);
2937
- Se("plus", Ya);
2938
- Se("minus", Xa);
2933
+ Ce("right", ja);
2934
+ Ce("group", Wa);
2935
+ Ce("group-closed", Ba);
2936
+ Ce("user", Ka);
2937
+ Ce("plus", Ya);
2938
+ Ce("minus", Xa);
2939
2939
  const Ja = Q({
2940
2940
  components: {
2941
2941
  CountShow: Io,
@@ -2969,10 +2969,18 @@ const Ja = Q({
2969
2969
  const o = k({
2970
2970
  onlyShowOnline: !1,
2971
2971
  searchStr: ""
2972
- }), s = k(), a = k();
2972
+ });
2973
+ Ie(
2974
+ () => o.value.onlyShowOnline,
2975
+ () => {
2976
+ var r;
2977
+ s.value && ((r = s.value) == null ? void 0 : r.checked) != o.value.onlyShowOnline && (s.value.checked = o.value.onlyShowOnline);
2978
+ }
2979
+ );
2980
+ const s = k(), a = k();
2973
2981
  return {
2974
2982
  theme: n,
2975
- i18nT: Te,
2983
+ i18nT: Ne,
2976
2984
  inputShowOnlineOnly: s,
2977
2985
  inputSearchRef: a,
2978
2986
  controlParams: o
@@ -3034,7 +3042,7 @@ function el(e, t, n, o, s, a) {
3034
3042
  ])
3035
3043
  ], 2);
3036
3044
  }
3037
- const tl = /* @__PURE__ */ oe(Ja, [["render", el], ["__scopeId", "data-v-d00c2061"]]);
3045
+ const tl = /* @__PURE__ */ oe(Ja, [["render", el], ["__scopeId", "data-v-6ea43472"]]);
3038
3046
  var nl = Object.defineProperty, ol = Object.defineProperties, sl = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, rl = Object.prototype.hasOwnProperty, al = Object.prototype.propertyIsEnumerable, Sn = (e, t, n) => t in e ? nl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Po = (e, t) => {
3039
3047
  for (var n in t || (t = {}))
3040
3048
  rl.call(t, n) && Sn(e, n, t[n]);
@@ -3099,7 +3107,7 @@ function dl(e) {
3099
3107
  }
3100
3108
  return t;
3101
3109
  }
3102
- const Ne = {
3110
+ const Se = {
3103
3111
  TransLayoutToFrams(e) {
3104
3112
  const t = [];
3105
3113
  e.area && t.push(e.area), e.areas && t.push(...e.areas);
@@ -3159,13 +3167,12 @@ const Ne = {
3159
3167
  StorageDefaultLayout: {
3160
3168
  get() {
3161
3169
  const e = localStorage.getItem(An);
3162
- if (e == null)
3163
- return null;
3164
- try {
3165
- return JSON.parse(e);
3166
- } catch {
3167
- return null;
3168
- }
3170
+ if (e != null)
3171
+ try {
3172
+ return JSON.parse(e);
3173
+ } catch {
3174
+ return;
3175
+ }
3169
3176
  },
3170
3177
  set(e) {
3171
3178
  localStorage.setItem(An, JSON.stringify(e));
@@ -3201,15 +3208,16 @@ const Ne = {
3201
3208
  }
3202
3209
  },
3203
3210
  setup(e) {
3211
+ const t = U(() => {
3212
+ var o;
3213
+ return e.layouts ? (o = e.layouts) == null ? void 0 : o.map((s) => ({
3214
+ svg: Se.TransLayoutToSVG(s, { width: 100, height: 100 }),
3215
+ layout: s,
3216
+ select: JSON.stringify(s) == JSON.stringify(e.defaultLayout)
3217
+ })) : [];
3218
+ });
3204
3219
  return {
3205
- layoutInfos: U(() => {
3206
- var n;
3207
- return e.layouts ? (n = e.layouts) == null ? void 0 : n.map((o) => ({
3208
- svg: Ne.TransLayoutToSVG(o, { width: 100, height: 100 }),
3209
- layout: o,
3210
- select: JSON.stringify(o) == JSON.stringify(e.defaultLayout)
3211
- })) : [];
3212
- })
3220
+ layoutInfos: we(t.value)
3213
3221
  };
3214
3222
  },
3215
3223
  mounted() {
@@ -3235,9 +3243,12 @@ const Ne = {
3235
3243
  cancel: !1
3236
3244
  };
3237
3245
  this.$emit("onselect", t, e.svg), t.cancel || (this.layoutInfos.forEach((n) => {
3238
- n.select = !1;
3246
+ n.select && (n.select = !1);
3239
3247
  }), e.select = !0);
3240
3248
  }
3249
+ },
3250
+ getClassLayout(e) {
3251
+ return e.select ? "layout-item layout-item-select" : "layout-item";
3241
3252
  }
3242
3253
  }
3243
3254
  });
@@ -3245,7 +3256,7 @@ const _l = ["onClick"], ml = { style: { position: "relative", display: "inline-b
3245
3256
  function hl(e, t, n, o, s, a) {
3246
3257
  return N(), A("div", null, [
3247
3258
  (N(!0), A(ue, null, Ee(e.layoutInfos, (r) => (N(), A("div", {
3248
- class: ke(r.select ? "layout-item layout-item-select" : "layout-item"),
3259
+ class: ke(e.getClassLayout(r)),
3249
3260
  onClick: (l) => e.selectClick(r)
3250
3261
  }, [
3251
3262
  b("div", ml, [
@@ -3258,14 +3269,14 @@ function hl(e, t, n, o, s, a) {
3258
3269
  ], 10, _l))), 256))
3259
3270
  ]);
3260
3271
  }
3261
- const Mo = /* @__PURE__ */ oe(fl, [["render", hl], ["__scopeId", "data-v-2a8e4593"]]), vl = Q({
3272
+ const Mo = /* @__PURE__ */ oe(fl, [["render", hl], ["__scopeId", "data-v-75abecd2"]]), vl = Q({
3262
3273
  props: {
3263
3274
  layout: {
3264
3275
  type: Object
3265
3276
  }
3266
3277
  },
3267
3278
  setup(e) {
3268
- const t = U(() => e.layout ? Ne.TransLayoutToFrams(e.layout).sort((o, s) => o.row == s.row ? o.col - s.col : o.row - s.row) : []);
3279
+ const t = U(() => e.layout ? Se.TransLayoutToFrams(e.layout).sort((o, s) => o.row == s.row ? o.col - s.col : o.row - s.row) : []);
3269
3280
  return {
3270
3281
  areas: U(() => t.value.map((o) => ({
3271
3282
  id: o.id,
@@ -3303,7 +3314,7 @@ const Vt = /* @__PURE__ */ oe(vl, [["render", El], ["__scopeId", "data-v-e6baa31
3303
3314
  height: 1024,
3304
3315
  body: '<path fill="currentColor" d="M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504L738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512L828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496L285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512L195.2 285.696a64 64 0 0 1 0-90.496z"/>'
3305
3316
  };
3306
- Se("close", wl);
3317
+ Ce("close", wl);
3307
3318
  const bl = Q({
3308
3319
  components: {
3309
3320
  VideoAreaLayoutShow: Vt,
@@ -3461,9 +3472,9 @@ const Al = /* @__PURE__ */ oe(bl, [["render", Cl], ["__scopeId", "data-v-c3d9b21
3461
3472
  setup() {
3462
3473
  return {
3463
3474
  layout: k(
3464
- Ne.CustomLayouts.get()
3475
+ Se.CustomLayouts.get()
3465
3476
  ),
3466
- i18nT: Te
3477
+ i18nT: Ne
3467
3478
  };
3468
3479
  }
3469
3480
  });
@@ -3505,7 +3516,7 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3505
3516
  }
3506
3517
  },
3507
3518
  setup(e, t) {
3508
- const n = e.layouts, o = Oe(
3519
+ const n = e.layouts, o = we(
3509
3520
  n && n.length > 0 ? n : [
3510
3521
  I.Test.genLayout(1, 1),
3511
3522
  I.Test.genLayout(1, 2),
@@ -3532,7 +3543,7 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3532
3543
  ])
3533
3544
  ]
3534
3545
  );
3535
- Me(
3546
+ Ie(
3536
3547
  () => e.layouts,
3537
3548
  () => {
3538
3549
  if (e.layouts && e.layouts.length > 0) {
@@ -3545,7 +3556,7 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3545
3556
  }
3546
3557
  );
3547
3558
  const s = k();
3548
- let a = Ne.StorageDefaultLayout.get();
3559
+ let a = Se.StorageDefaultLayout.get();
3549
3560
  function r() {
3550
3561
  return a ? o.findIndex(
3551
3562
  (g) => JSON.stringify(g) == JSON.stringify(a)
@@ -3564,14 +3575,14 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3564
3575
  }
3565
3576
  let c = !0;
3566
3577
  const m = function(g, w) {
3567
- JSON.stringify(a) != JSON.stringify(g) && i(g, w) && c && (a = g.layout, Ne.StorageDefaultLayout.set(g.layout)), f.value.length == 0 && i(g, w);
3578
+ JSON.stringify(a) != JSON.stringify(g) && i(g, w) && c && (a = g.layout, Se.StorageDefaultLayout.set(g.layout)), f.value.length == 0 && i(g, w);
3568
3579
  }, f = k(""), u = k(!1), d = () => {
3569
3580
  u.value = !u.value, u.value ? window.addEventListener("click", p) : window.removeEventListener("click", p);
3570
3581
  }, p = (g) => {
3571
3582
  u.value && g.composedPath().findIndex(({ className: S }) => S == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", p));
3572
3583
  };
3573
3584
  return {
3574
- i18nT: Te,
3585
+ i18nT: Ne,
3575
3586
  selectClassicalLayout: (g, w, S) => {
3576
3587
  var T;
3577
3588
  S || (c = !1);
@@ -3649,8 +3660,8 @@ const Kl = /* @__PURE__ */ oe(Vl, [["render", Bl], ["__scopeId", "data-v-1b35830
3649
3660
  const s = t.layout;
3650
3661
  return {
3651
3662
  layout: s,
3652
- svg: Ne.TransLayoutToSVG(s, { width: 100, height: 100 }),
3653
- frams: Ne.TransLayoutToFrams(s)
3663
+ svg: Se.TransLayoutToSVG(s, { width: 100, height: 100 }),
3664
+ frams: Se.TransLayoutToFrams(s)
3654
3665
  };
3655
3666
  }
3656
3667
  });
@@ -3707,7 +3718,7 @@ const Qe = [
3707
3718
  }
3708
3719
  },
3709
3720
  setup(e) {
3710
- const t = e, n = k(!1), o = Oe({
3721
+ const t = e, n = k(!1), o = we({
3711
3722
  top: "",
3712
3723
  left: ""
3713
3724
  });
@@ -3725,7 +3736,7 @@ const Qe = [
3725
3736
  window.document.addEventListener("click", r);
3726
3737
  }, 50);
3727
3738
  }
3728
- const i = Oe([
3739
+ const i = we([
3729
3740
  I.Test.genLayout(1, 1),
3730
3741
  I.Test.genLayout(1, 2),
3731
3742
  I.Test.genLayout(2, 2),
@@ -3825,7 +3836,7 @@ const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
3825
3836
  }
3826
3837
  return xe(() => {
3827
3838
  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]);
3828
- }), Me(
3839
+ }), Ie(
3829
3840
  () => o.index,
3830
3841
  () => {
3831
3842
  typeof o.index == "number" && (o.index < Qe.length ? l.value = Qe[o.index] : l.value = void 0);
@@ -3858,12 +3869,12 @@ const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
3858
3869
  class: "options",
3859
3870
  style: { "margin-bottom": "1px", "line-height": "18px", height: "18px" },
3860
3871
  onClick: u[1] || (u[1] = (d) => m(d))
3861
- }, j(le(Te)("yu-she")), 1),
3872
+ }, j(le(Ne)("yu-she")), 1),
3862
3873
  b("div", {
3863
3874
  class: "options",
3864
3875
  onClick: u[2] || (u[2] = (d) => r(d)),
3865
3876
  style: { "line-height": "19px", height: "19px" }
3866
- }, j(le(Te)("zi-ding-yi")), 1)
3877
+ }, j(le(Ne)("zi-ding-yi")), 1)
3867
3878
  ])
3868
3879
  ]));
3869
3880
  }
@@ -3915,7 +3926,7 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
3915
3926
  const u = U(() => I.genLayout(o.row, o.col)), d = U(() => ({
3916
3927
  col: Math.max(...p.map((O) => O.area.colsMax)),
3917
3928
  row: Math.max(...p.map((O) => O.area.rowsMax))
3918
- })), p = Oe(new Array()), v = ["green", "red", "blue"];
3929
+ })), p = we(new Array()), v = ["green", "red", "blue"];
3919
3930
  function y() {
3920
3931
  return v[p.length % v.length];
3921
3932
  }
@@ -3929,16 +3940,16 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
3929
3940
  }, C = y();
3930
3941
  return {
3931
3942
  infoGetter() {
3932
- const V = (O.colsMax - O.colsMin) / u.value.col * 100, be = (O.rowsMax - O.rowsMin) / u.value.row * 100, Ce = V / 100 * u.value.col, ve = be / 100 * u.value.row;
3943
+ const V = (O.colsMax - O.colsMin) / u.value.col * 100, Le = (O.rowsMax - O.rowsMin) / u.value.row * 100, Ae = V / 100 * u.value.col, ve = Le / 100 * u.value.row;
3933
3944
  return {
3934
3945
  style: {
3935
3946
  left: `calc(${(O.colsMin + g) / u.value.col * 100}%)`,
3936
3947
  top: `calc(${(O.rowsMin + g) / u.value.row * 100}% `,
3937
3948
  width: `calc(${V - g * 2 / u.value.col * 100}% )`,
3938
- height: `calc(${be - g * 2 / u.value.row * 100}%)`,
3949
+ height: `calc(${Le - g * 2 / u.value.row * 100}%)`,
3939
3950
  backgroundColor: C
3940
3951
  },
3941
- areaCount: Ce * ve
3952
+ areaCount: Ae * ve
3942
3953
  };
3943
3954
  },
3944
3955
  area: O
@@ -3946,14 +3957,14 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
3946
3957
  }
3947
3958
  });
3948
3959
  function S(O) {
3949
- const [C, R] = [O.colsMin, O.colsMax], [V, be] = [O.rowsMin, O.rowsMax], Ce = [];
3960
+ const [C, R] = [O.colsMin, O.colsMax], [V, Le] = [O.rowsMin, O.rowsMax], Ae = [];
3950
3961
  return Array.from({ length: R - C }).map((ve, Ue) => {
3951
3962
  const ct = `${Ue + C}-${Ue + C + 1}`;
3952
- Array.from({ length: be - V }).map((Ut, Ye) => {
3963
+ Array.from({ length: Le - V }).map((Ut, Ye) => {
3953
3964
  const ut = `${Ye + V}-${Ye + V + 1}`;
3954
- Ce.push(`${ct}|${ut}`);
3965
+ Ae.push(`${ct}|${ut}`);
3955
3966
  });
3956
- }), Ce;
3967
+ }), Ae;
3957
3968
  }
3958
3969
  function T(O, C) {
3959
3970
  return S(O).findIndex((R) => S(C).findIndex((V) => R == V) >= 0) >= 0;
@@ -3984,7 +3995,7 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
3984
3995
  function $() {
3985
3996
  D.first = void 0, D.last = void 0;
3986
3997
  }
3987
- const D = Oe({});
3998
+ const D = we({});
3988
3999
  function X(O, C) {
3989
4000
  O.buttons && P(C);
3990
4001
  }
@@ -4022,7 +4033,7 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
4022
4033
  }), (O, C) => (N(), A("div", di, [
4023
4034
  b("div", fi, [
4024
4035
  b("div", _i, [
4025
- b("span", mi, j(le(Te)("hang-shu")), 1),
4036
+ b("span", mi, j(le(Ne)("hang-shu")), 1),
4026
4037
  b("span", pi, j(o.row), 1),
4027
4038
  b("button", {
4028
4039
  onClick: C[0] || (C[0] = (R) => i()),
@@ -4034,7 +4045,7 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
4034
4045
  }, " - ")
4035
4046
  ]),
4036
4047
  b("div", gi, [
4037
- b("span", hi, j(le(Te)("lie-shu")), 1),
4048
+ b("span", hi, j(le(Ne)("lie-shu")), 1),
4038
4049
  b("span", vi, j(o.col), 1),
4039
4050
  b("button", {
4040
4051
  onClick: C[2] || (C[2] = (R) => m()),
@@ -4079,7 +4090,7 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
4079
4090
  b("span", {
4080
4091
  class: "close-svg",
4081
4092
  innerHTML: s,
4082
- onClick: (be) => r(V)
4093
+ onClick: (Le) => r(V)
4083
4094
  }, null, 8, bi)
4084
4095
  ], 4))), 256))
4085
4096
  ])
@@ -4110,7 +4121,7 @@ const Pi = /* @__PURE__ */ Q({
4110
4121
  function s(u) {
4111
4122
  r == null || r(u);
4112
4123
  }
4113
- const a = Oe({
4124
+ const a = we({
4114
4125
  row: 5,
4115
4126
  col: 4
4116
4127
  });
@@ -4182,7 +4193,7 @@ const xi = {
4182
4193
  }
4183
4194
  },
4184
4195
  setup(e, { expose: t }) {
4185
- const n = e, o = Oe({
4196
+ const n = e, o = we({
4186
4197
  row: 4,
4187
4198
  col: 4
4188
4199
  });