@shjjs/visual-ui 1.0.37 → 1.0.38

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.
Files changed (47) hide show
  1. package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
  2. package/es/components/commons-product-model/index.vue.mjs +2 -2
  3. package/es/components/commons-three-loader/index.vue.mjs +2 -2
  4. package/es/components/commons-three-loader3/index.vue.mjs +2 -2
  5. package/es/components/commons-weather/index.vue.mjs +1 -1
  6. package/es/components/commons-weather-dynamic/index.vue.mjs +1 -1
  7. package/es/components/interaction-select/index.vue.mjs +1 -1
  8. package/es/components/interaction-slider/index.vue.mjs +2 -2
  9. package/es/components/interaction-slider/index.vue2.mjs +24 -24
  10. package/es/components/interaction-switch/index.vue.mjs +2 -2
  11. package/es/components/interaction-switch/index.vue2.mjs +13 -13
  12. package/es/components/interaction-tabs/index.vue.mjs +1 -1
  13. package/es/components/interaction-tabs2/index.vue.mjs +2 -2
  14. package/es/components/media-audio/index.vue.mjs +2 -2
  15. package/es/components/media-audio/index.vue2.mjs +7 -7
  16. package/es/components/media-audio-dynamic/index.vue.mjs +2 -2
  17. package/es/components/media-audio-dynamic/index.vue2.mjs +26 -26
  18. package/es/components/media-iframe/index.vue.mjs +2 -2
  19. package/es/components/media-iframe/index.vue2.mjs +10 -9
  20. package/es/components/media-iframe-dynamic/index.vue.mjs +2 -2
  21. package/es/components/media-iframe-dynamic/index.vue2.mjs +24 -23
  22. package/es/components/media-image-dynamic/index.vue.mjs +1 -1
  23. package/es/components/media-video/index.vue.mjs +1 -1
  24. package/es/components/media-video-dynamic/index.vue.mjs +2 -2
  25. package/es/components/scene-amap2d/index.vue.mjs +1 -1
  26. package/es/components/scene-amap2d/index.vue2.mjs +1 -1
  27. package/es/components/scene-amap3d/index.vue.mjs +1 -1
  28. package/es/components/scene-amap3d/index.vue2.mjs +1 -1
  29. package/es/components/scene-default/index.vue.mjs +2 -2
  30. package/es/components/scene-map3d/index.vue.mjs +1 -1
  31. package/es/components/scene-ue-iframe/index.vue.mjs +1 -1
  32. package/es/components/scene-ue-shj/index.vue.mjs +2 -2
  33. package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
  34. package/es/components/scene-unity-webgl/index.vue.mjs +2 -2
  35. package/es/components/scene-vr/index.vue.mjs +1 -1
  36. package/es/components/scene-vr/index.vue2.mjs +2 -2
  37. package/es/components/text-count-down/index.vue.mjs +2 -2
  38. package/es/components/text-over-number/index.vue.mjs +2 -2
  39. package/es/components/text-row-scroll/index.vue.mjs +2 -2
  40. package/es/components/text-row-scroll/index.vue2.mjs +27 -27
  41. package/es/components/text-table-basic/index.vue.mjs +3 -3
  42. package/es/components/text-table-basic/index.vue2.mjs +18 -18
  43. package/es/components/text-table-scroll/index.vue.mjs +1 -1
  44. package/es/components/text-table-scroll/index.vue2.mjs +26 -26
  45. package/es/components/text-text-dynamic/index.vue.mjs +2 -2
  46. package/es/widgets.css +1 -1
  47. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a07ef1c9"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e0715126"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-14152da7"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-868b1c9e"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2a919ca2"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cc2ca8af"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7e1aee7f"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a0eab2b2"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1756c93e"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e449bf3a"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-80c95f65"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2f198c82"]]);
5
5
  export {
6
6
  c as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6a6eca75"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3720c08a"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0249aa1d"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f41b5efa"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as a, useCssVars as O, ref as h, onMounted as g, watch as s, createElementBlock as v, openBlock as E, createVNode as H, unref as T } from "vue";
2
- import { cloneDeep as e, isEqual as n } from "lodash";
1
+ import { defineComponent as n, useCssVars as O, ref as h, onMounted as g, watch as s, createElementBlock as v, openBlock as E, createVNode as H, unref as T } from "vue";
2
+ import { cloneDeep as e, isEqual as a } from "lodash";
3
3
  import V from "@vueform/slider";
4
4
  import "../text-text-basic/index.mjs";
5
5
  import "../text-table-basic/index.mjs";
@@ -186,7 +186,7 @@ import "../chart/src/scatter/ripples/index.mjs";
186
186
  import { SHJDatasourceV2 as w } from "../../plugins/datasource/index.mjs";
187
187
  import { SHJParseEvent as m } from "../../plugins/event/index.mjs";
188
188
  import "@vueform/slider/themes/default.css";
189
- const C = { class: "zerov-widget-slider" }, B = a({ name: "zv-interaction-slider" }), ip = /* @__PURE__ */ a({
189
+ const C = { class: "zerov-widget-slider" }, B = n({ name: "zv-interaction-slider" }), ip = /* @__PURE__ */ n({
190
190
  ...B,
191
191
  props: {
192
192
  basicOption: {},
@@ -197,25 +197,25 @@ const C = { class: "zerov-widget-slider" }, B = a({ name: "zv-interaction-slider
197
197
  emits: ["on-change"],
198
198
  setup(l, { expose: d, emit: c }) {
199
199
  O((i) => ({
200
- "8ebc8968": i.basicOption.css.sliderBg,
201
- "228d99e8": i.basicOption.css.sliderConnectBg,
202
- "6e24c41f": i.basicOption.css.sliderHeight + "px",
203
- "7f9f6b58": i.basicOption.css.sliderRadius + "px",
204
- "5e64cb58": i.basicOption.css.sliderHandleBg,
205
- "34b2d154": i.basicOption.css.sliderHandleWidth + "px",
206
- "19b4b017": i.basicOption.css.sliderHandleHeight + "px",
207
- "6bc0364c": i.basicOption.css.sliderHandleRadius + "px",
208
- d1b163b4: i.basicOption.css.sliderHandleRingWidth + "px",
209
- "2c120624": i.basicOption.css.sliderHandleRingColor,
210
- "0b41febe": i.basicOption.css.sliderTooltipFontSize + "px",
211
- "57f17dec": i.basicOption.css.sliderTooltipFontWeight + "px",
212
- "2d6b8ec1": i.basicOption.css.sliderTooltipBg,
213
- d0a66932: i.basicOption.css.sliderTooltipColor,
214
- d975a882: i.basicOption.css.sliderTooltipRadius + "px",
215
- "7d6ce868": i.basicOption.css.sliderTooltipPy + "px",
216
- "158bbb89": i.basicOption.css.sliderTooltipPx + "px",
217
- "477f19c2": i.basicOption.css.sliderTooltipArrowSize + "px",
218
- "3bcf95fc": i.basicOption.css.sliderTooltipDistance + "px"
200
+ e1aab088: i.basicOption.css.sliderBg,
201
+ "6ae6cf78": i.basicOption.css.sliderConnectBg,
202
+ "566e9ca2": i.basicOption.css.sliderHeight + "px",
203
+ "26d437e4": i.basicOption.css.sliderRadius + "px",
204
+ "04af72c4": i.basicOption.css.sliderHandleBg,
205
+ e1aeb874: i.basicOption.css.sliderHandleWidth + "px",
206
+ bf179cb2: i.basicOption.css.sliderHandleHeight + "px",
207
+ "1b009048": i.basicOption.css.sliderHandleRadius + "px",
208
+ "5eeda296": i.basicOption.css.sliderHandleRingWidth + "px",
209
+ "7970cfb4": i.basicOption.css.sliderHandleRingColor,
210
+ "7bb555de": i.basicOption.css.sliderTooltipFontSize + "px",
211
+ "78eb8d0c": i.basicOption.css.sliderTooltipFontWeight + "px",
212
+ "75c4c451": i.basicOption.css.sliderTooltipBg,
213
+ "45e62852": i.basicOption.css.sliderTooltipColor,
214
+ "371447a2": i.basicOption.css.sliderTooltipRadius + "px",
215
+ "48315e50": i.basicOption.css.sliderTooltipPy + "px",
216
+ "740623f9": i.basicOption.css.sliderTooltipPx + "px",
217
+ "0d44acaf": i.basicOption.css.sliderTooltipArrowSize + "px",
218
+ "0395ea6c": i.basicOption.css.sliderTooltipDistance + "px"
219
219
  }));
220
220
  const o = l, b = c, r = h(20), p = () => {
221
221
  w.parse({
@@ -243,13 +243,13 @@ const C = { class: "zerov-widget-slider" }, B = a({ name: "zv-interaction-slider
243
243
  return s(
244
244
  () => e(o.basicOption),
245
245
  (i, t) => {
246
- n(i, t) || p();
246
+ a(i, t) || p();
247
247
  },
248
248
  { deep: !0 }
249
249
  ), s(
250
250
  () => e(o.sources),
251
251
  (i, t) => {
252
- n(i, t) || p();
252
+ a(i, t) || p();
253
253
  },
254
254
  { deep: !0 }
255
255
  ), d({
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-66a29e93"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7a8f156a"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, useCssVars as u, ref as v, watch as d, createElementBlock as b, openBlock as h, normalizeClass as O, withDirectives as f, createElementVNode as m, vModelCheckbox as w, pushScopeId as C, popScopeId as E } from "vue";
1
+ import { defineComponent as n, useCssVars as u, ref as v, watch as d, createElementBlock as f, openBlock as b, normalizeClass as h, withDirectives as O, createElementVNode as m, vModelCheckbox as w, pushScopeId as C, popScopeId as E } from "vue";
2
2
  import { cloneDeep as V, isEqual as z } from "lodash";
3
3
  import "../text-text-basic/index.mjs";
4
4
  import "../text-table-basic/index.mjs";
@@ -185,7 +185,7 @@ import "../chart/src/scatter/ripples/index.mjs";
185
185
  import "../../plugins/datasource/utils/request.mjs";
186
186
  import "../../plugins/datasource/utils/wsManager.mjs";
187
187
  import { SHJParseEvent as a } from "../../plugins/event/index.mjs";
188
- const S = (r) => (C("data-v-66a29e93"), r = r(), E(), r), _ = ["true-value", "false-value"], k = /* @__PURE__ */ S(() => /* @__PURE__ */ m("div", { class: "zv-switch__action" }, null, -1)), g = [
188
+ const S = (r) => (C("data-v-7a8f156a"), r = r(), E(), r), _ = ["true-value", "false-value"], k = /* @__PURE__ */ S(() => /* @__PURE__ */ m("div", { class: "zv-switch__action" }, null, -1)), g = [
189
189
  k
190
190
  ], B = n({ name: "zv-interaction-switch" }), tp = /* @__PURE__ */ n({
191
191
  ...B,
@@ -197,14 +197,14 @@ const S = (r) => (C("data-v-66a29e93"), r = r(), E(), r), _ = ["true-value", "fa
197
197
  emits: ["on-change", "on-open", "on-close"],
198
198
  setup(r, { emit: c }) {
199
199
  u((o) => ({
200
- "69a34a81": o.basicOption.css.onColor,
201
- "5ce31117": o.basicOption.css.offColor,
202
- "64c1bed3": o.basicOption.css.actionSize + "px",
203
- "54a14f94": o.basicOption.css.minWidth + "px",
204
- "005c05ec": o.basicOption.css.coreSize + "px",
205
- "3be1c08d": o.basicOption.css.coreBorderRadius + "px",
206
- "433ba956": o.basicOption.css.actionBorderRadius + "px",
207
- "408b34bc": o.basicOption.css.actionBackgroundColor
200
+ feb5135e: o.basicOption.css.onColor,
201
+ "26265f47": o.basicOption.css.offColor,
202
+ f5c932ba: o.basicOption.css.actionSize + "px",
203
+ "7e1e97f4": o.basicOption.css.minWidth + "px",
204
+ "29d94e4c": o.basicOption.css.coreSize + "px",
205
+ "21324c5d": o.basicOption.css.coreBorderRadius + "px",
206
+ 16988126: o.basicOption.css.actionBorderRadius + "px",
207
+ "6da716e8": o.basicOption.css.actionBackgroundColor
208
208
  }));
209
209
  const e = c, p = r, t = v(JSON.parse(p.basicOption.defaultValue)), l = (o) => {
210
210
  t.value = !t.value;
@@ -217,12 +217,12 @@ const S = (r) => (C("data-v-66a29e93"), r = r(), E(), r), _ = ["true-value", "fa
217
217
  };
218
218
  return d(() => V(p.basicOption), (o, i) => {
219
219
  z(o, i) || (t.value = JSON.parse(p.basicOption.defaultValue));
220
- }, { deep: !0 }), (o, i) => (h(), b("div", {
221
- class: O(["zv-switch", {
220
+ }, { deep: !0 }), (o, i) => (b(), f("div", {
221
+ class: h(["zv-switch", {
222
222
  "is-checked": t.value
223
223
  }])
224
224
  }, [
225
- f(m("input", {
225
+ O(m("input", {
226
226
  "onUpdate:modelValue": i[0] || (i[0] = (s) => t.value = s),
227
227
  class: "zv-switch__input",
228
228
  type: "checkbox",
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8723552c"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-875cb14e"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cbd339fa"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-03407597"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-83d4f7b9"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9e523644"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, ref as e, watch as P, createElementBlock as w, openBlock as A, withDirectives as O, createElementVNode as a, vShow as L, normalizeClass as k, createStaticVNode as F } from "vue";
1
+ import { defineComponent as d, ref as e, watch as w, createElementBlock as A, openBlock as O, withDirectives as b, createElementVNode as a, vShow as L, normalizeClass as k, createStaticVNode as F } from "vue";
2
2
  import { nanoid as u } from "nanoid";
3
3
  import { cloneDeep as x, isEqual as D } from "lodash";
4
4
  import "../text-text-basic/index.mjs";
@@ -186,7 +186,7 @@ import "../chart/src/scatter/ripples/index.mjs";
186
186
  import "../../plugins/datasource/utils/request.mjs";
187
187
  import "../../plugins/datasource/utils/wsManager.mjs";
188
188
  import { SHJParseEvent as i } from "../../plugins/event/index.mjs";
189
- const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<svg width="100%" height="100%" viewBox="0 0 75 75" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-83d4f7b9><circle cx="37.5" cy="37.5" r="37.5" fill="#3D9CFF" fill-opacity="0.1" data-v-83d4f7b9></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M51.3268 20.4054H33.1254C32.2255 20.4 31.3554 20.728 30.6832 21.3264C30.0109 21.9247 29.5841 22.7508 29.4852 23.6453L27.0161 44.2762C26.1001 43.746 25.053 43.4598 23.9763 43.4598C22.3672 43.4598 20.824 44.099 19.6862 45.2368C18.5484 46.3746 17.9092 47.9178 17.9092 49.5269C17.9092 51.136 18.5484 52.6792 19.6862 53.817C20.824 54.9548 22.3672 55.594 23.9763 55.594C25.5854 55.594 27.1286 54.9548 28.2664 53.817C29.3529 52.7305 29.9848 51.2743 30.0395 49.744L30.0555 49.746L32.361 31.3141H50.5623L48.8975 44.2994C47.9722 43.7543 46.9103 43.4598 45.818 43.4598C44.2089 43.4598 42.6657 44.099 41.5279 45.2368C40.3901 46.3746 39.7509 47.9178 39.7509 49.5269C39.7509 51.136 40.3901 52.6792 41.5279 53.817C42.6657 54.9548 44.2089 55.594 45.818 55.594C47.4271 55.594 48.9703 54.9548 50.1081 53.817C51.1946 52.7305 51.8265 51.2743 51.8812 49.744L51.8971 49.746L54.9792 24.434C55.034 23.9233 54.9801 23.4069 54.8211 22.9185C54.6621 22.4301 54.4015 21.981 54.0566 21.6005C53.7116 21.22 53.29 20.9168 52.8196 20.7108C52.3491 20.5049 51.8403 20.4008 51.3268 20.4054Z" fill="url(#paint0_linear_534:1941)" data-v-83d4f7b9></path><defs data-v-83d4f7b9><linearGradient id="paint0_linear_534:1941" x1="17.9092" y1="37.9996" x2="56.4836" y2="37.9996" gradientUnits="userSpaceOnUse" data-v-83d4f7b9><stop stop-color="#3D9CFF" data-v-83d4f7b9></stop><stop offset="1" stop-color="#43E8F3" data-v-83d4f7b9></stop></linearGradient></defs></svg>', 1), H = [
189
+ const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<svg width="100%" height="100%" viewBox="0 0 75 75" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-9e523644><circle cx="37.5" cy="37.5" r="37.5" fill="#3D9CFF" fill-opacity="0.1" data-v-9e523644></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M51.3268 20.4054H33.1254C32.2255 20.4 31.3554 20.728 30.6832 21.3264C30.0109 21.9247 29.5841 22.7508 29.4852 23.6453L27.0161 44.2762C26.1001 43.746 25.053 43.4598 23.9763 43.4598C22.3672 43.4598 20.824 44.099 19.6862 45.2368C18.5484 46.3746 17.9092 47.9178 17.9092 49.5269C17.9092 51.136 18.5484 52.6792 19.6862 53.817C20.824 54.9548 22.3672 55.594 23.9763 55.594C25.5854 55.594 27.1286 54.9548 28.2664 53.817C29.3529 52.7305 29.9848 51.2743 30.0395 49.744L30.0555 49.746L32.361 31.3141H50.5623L48.8975 44.2994C47.9722 43.7543 46.9103 43.4598 45.818 43.4598C44.2089 43.4598 42.6657 44.099 41.5279 45.2368C40.3901 46.3746 39.7509 47.9178 39.7509 49.5269C39.7509 51.136 40.3901 52.6792 41.5279 53.817C42.6657 54.9548 44.2089 55.594 45.818 55.594C47.4271 55.594 48.9703 54.9548 50.1081 53.817C51.1946 52.7305 51.8265 51.2743 51.8812 49.744L51.8971 49.746L54.9792 24.434C55.034 23.9233 54.9801 23.4069 54.8211 22.9185C54.6621 22.4301 54.4015 21.981 54.0566 21.6005C53.7116 21.22 53.29 20.9168 52.8196 20.7108C52.3491 20.5049 51.8403 20.4008 51.3268 20.4054Z" fill="url(#paint0_linear_534:1941)" data-v-9e523644></path><defs data-v-9e523644><linearGradient id="paint0_linear_534:1941" x1="17.9092" y1="37.9996" x2="56.4836" y2="37.9996" gradientUnits="userSpaceOnUse" data-v-9e523644><stop stop-color="#3D9CFF" data-v-9e523644></stop><stop offset="1" stop-color="#43E8F3" data-v-9e523644></stop></linearGradient></defs></svg>', 1), H = [
190
190
  B
191
191
  ], z = d({ name: "zv-media-audio" }), ur = /* @__PURE__ */ d({
192
192
  ...z,
@@ -206,7 +206,7 @@ const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<sv
206
206
  ],
207
207
  setup(l, { expose: c, emit: v }) {
208
208
  const o = l, n = e(u()), r = e(!1);
209
- P(() => x(o.basicOption), (p, s) => {
209
+ w(() => x(o.basicOption), (p, s) => {
210
210
  D(p, s) || (n.value = u());
211
211
  }, {
212
212
  deep: !0
@@ -225,7 +225,7 @@ const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<sv
225
225
  t("on-audio-timeupdate"), i.parseEvents(o.useEvents, "on-audio-timeupdate");
226
226
  }, _ = () => {
227
227
  t("on-audio-error"), i.parseEvents(o.useEvents, "on-audio-error"), r.value = !1;
228
- }, b = () => {
228
+ }, P = () => {
229
229
  t("on-audio-volumechange"), i.parseEvents(o.useEvents, "on-audio-volumechange");
230
230
  };
231
231
  return c({
@@ -237,11 +237,11 @@ const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<sv
237
237
  pause: () => {
238
238
  m.value && m.value.pause();
239
239
  }
240
- }), (p, s) => (A(), w("div", {
240
+ }), (p, s) => (O(), A("div", {
241
241
  key: n.value,
242
242
  class: "audio"
243
243
  }, [
244
- O(a("audio", {
244
+ b(a("audio", {
245
245
  ref_key: "audioRef",
246
246
  ref: m,
247
247
  autoplay: p.basicOption.autoplay,
@@ -255,7 +255,7 @@ const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<sv
255
255
  onPause: y,
256
256
  onTimeupdate: h,
257
257
  onError: _,
258
- onVolumechange: b
258
+ onVolumechange: P
259
259
  }, [
260
260
  a("source", {
261
261
  src: p.basicOption.src
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-68bb4e6f"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4235d3fc"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -185,7 +185,7 @@ import "../chart/src/scatter/ripples/index.mjs";
185
185
  /* empty css */
186
186
  import { SHJDatasourceV2 as N } from "../../plugins/datasource/index.mjs";
187
187
  import { SHJParseEvent as i } from "../../plugins/event/index.mjs";
188
- const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<svg width="100%" height="100%" viewBox="0 0 75 75" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-68bb4e6f><circle cx="37.5" cy="37.5" r="37.5" fill="#3D9CFF" fill-opacity="0.1" data-v-68bb4e6f></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M51.3268 20.4054H33.1254C32.2255 20.4 31.3554 20.728 30.6832 21.3264C30.0109 21.9247 29.5841 22.7508 29.4852 23.6453L27.0161 44.2762C26.1001 43.746 25.053 43.4598 23.9763 43.4598C22.3672 43.4598 20.824 44.099 19.6862 45.2368C18.5484 46.3746 17.9092 47.9178 17.9092 49.5269C17.9092 51.136 18.5484 52.6792 19.6862 53.817C20.824 54.9548 22.3672 55.594 23.9763 55.594C25.5854 55.594 27.1286 54.9548 28.2664 53.817C29.3529 52.7305 29.9848 51.2743 30.0395 49.744L30.0555 49.746L32.361 31.3141H50.5623L48.8975 44.2994C47.9722 43.7543 46.9103 43.4598 45.818 43.4598C44.2089 43.4598 42.6657 44.099 41.5279 45.2368C40.3901 46.3746 39.7509 47.9178 39.7509 49.5269C39.7509 51.136 40.3901 52.6792 41.5279 53.817C42.6657 54.9548 44.2089 55.594 45.818 55.594C47.4271 55.594 48.9703 54.9548 50.1081 53.817C51.1946 52.7305 51.8265 51.2743 51.8812 49.744L51.8971 49.746L54.9792 24.434C55.034 23.9233 54.9801 23.4069 54.8211 22.9185C54.6621 22.4301 54.4015 21.981 54.0566 21.6005C53.7116 21.22 53.29 20.9168 52.8196 20.7108C52.3491 20.5049 51.8403 20.4008 51.3268 20.4054Z" fill="url(#paint0_linear_534:1941)" data-v-68bb4e6f></path><defs data-v-68bb4e6f><linearGradient id="paint0_linear_534:1941" x1="17.9092" y1="37.9996" x2="56.4836" y2="37.9996" gradientUnits="userSpaceOnUse" data-v-68bb4e6f><stop stop-color="#3D9CFF" data-v-68bb4e6f></stop><stop offset="1" stop-color="#43E8F3" data-v-68bb4e6f></stop></linearGradient></defs></svg>', 1), I = [
188
+ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<svg width="100%" height="100%" viewBox="0 0 75 75" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-4235d3fc><circle cx="37.5" cy="37.5" r="37.5" fill="#3D9CFF" fill-opacity="0.1" data-v-4235d3fc></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M51.3268 20.4054H33.1254C32.2255 20.4 31.3554 20.728 30.6832 21.3264C30.0109 21.9247 29.5841 22.7508 29.4852 23.6453L27.0161 44.2762C26.1001 43.746 25.053 43.4598 23.9763 43.4598C22.3672 43.4598 20.824 44.099 19.6862 45.2368C18.5484 46.3746 17.9092 47.9178 17.9092 49.5269C17.9092 51.136 18.5484 52.6792 19.6862 53.817C20.824 54.9548 22.3672 55.594 23.9763 55.594C25.5854 55.594 27.1286 54.9548 28.2664 53.817C29.3529 52.7305 29.9848 51.2743 30.0395 49.744L30.0555 49.746L32.361 31.3141H50.5623L48.8975 44.2994C47.9722 43.7543 46.9103 43.4598 45.818 43.4598C44.2089 43.4598 42.6657 44.099 41.5279 45.2368C40.3901 46.3746 39.7509 47.9178 39.7509 49.5269C39.7509 51.136 40.3901 52.6792 41.5279 53.817C42.6657 54.9548 44.2089 55.594 45.818 55.594C47.4271 55.594 48.9703 54.9548 50.1081 53.817C51.1946 52.7305 51.8265 51.2743 51.8812 49.744L51.8971 49.746L54.9792 24.434C55.034 23.9233 54.9801 23.4069 54.8211 22.9185C54.6621 22.4301 54.4015 21.981 54.0566 21.6005C53.7116 21.22 53.29 20.9168 52.8196 20.7108C52.3491 20.5049 51.8403 20.4008 51.3268 20.4054Z" fill="url(#paint0_linear_534:1941)" data-v-4235d3fc></path><defs data-v-4235d3fc><linearGradient id="paint0_linear_534:1941" x1="17.9092" y1="37.9996" x2="56.4836" y2="37.9996" gradientUnits="userSpaceOnUse" data-v-4235d3fc><stop stop-color="#3D9CFF" data-v-4235d3fc></stop><stop offset="1" stop-color="#43E8F3" data-v-4235d3fc></stop></linearGradient></defs></svg>', 1), I = [
189
189
  q
190
190
  ], Z = y({ name: "zv-media-audio-dynamic" }), gr = /* @__PURE__ */ y({
191
191
  ...Z,
@@ -207,7 +207,7 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
207
207
  ],
208
208
  setup(E, { expose: C, emit: h }) {
209
209
  const o = E, g = () => {
210
- const t = s(""), e = s(M()), V = s(!1), d = () => {
210
+ const t = s(""), m = s(M()), V = s(!1), d = () => {
211
211
  N.parse({
212
212
  tId: o.uuid,
213
213
  sources: o.sources,
@@ -220,26 +220,26 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
220
220
  }
221
221
  });
222
222
  };
223
- return G(() => J(() => d())), { init: d, src: t, key: e, isAudioPlay: V };
224
- }, { init: m, src: b, key: _, isAudioPlay: p } = g();
225
- c(() => v(o.basicOption), (t, e) => {
226
- f(t, e) || m();
223
+ return G(() => J(() => d())), { init: d, src: t, key: m, isAudioPlay: V };
224
+ }, { init: e, src: _, key: P, isAudioPlay: p } = g();
225
+ c(() => v(o.basicOption), (t, m) => {
226
+ f(t, m) || e();
227
227
  }, {
228
228
  deep: !0
229
- }), c(() => v(o.sources), (t, e) => {
230
- f(t, e) || m();
229
+ }), c(() => v(o.sources), (t, m) => {
230
+ f(t, m) || e();
231
231
  }, { deep: !0 });
232
- const a = s(), r = h, P = () => {
232
+ const a = s(), r = h, A = () => {
233
233
  r("on-audio-progress"), i.parseEvents(o.useEvents, "on-audio-progress"), p.value = !0;
234
- }, A = () => {
235
- r("on-audio-play"), i.parseEvents(o.useEvents, "on-audio-play"), p.value = !0;
236
234
  }, w = () => {
237
- r("on-audio-pause"), i.parseEvents(o.useEvents, "on-audio-pause"), p.value = !1;
235
+ r("on-audio-play"), i.parseEvents(o.useEvents, "on-audio-play"), p.value = !0;
238
236
  }, k = () => {
239
- r("on-audio-ended"), i.parseEvents(o.useEvents, "on-audio-ended"), p.value = !1;
237
+ r("on-audio-pause"), i.parseEvents(o.useEvents, "on-audio-pause"), p.value = !1;
240
238
  }, L = () => {
241
- r("on-audio-playing"), i.parseEvents(o.useEvents, "on-audio-playing");
239
+ r("on-audio-ended"), i.parseEvents(o.useEvents, "on-audio-ended"), p.value = !1;
242
240
  }, D = () => {
241
+ r("on-audio-playing"), i.parseEvents(o.useEvents, "on-audio-playing");
242
+ }, b = () => {
243
243
  r("on-audio-timeupdate"), i.parseEvents(o.useEvents, "on-audio-timeupdate");
244
244
  }, x = () => {
245
245
  r("on-audio-error"), i.parseEvents(o.useEvents, "on-audio-error"), p.value = !1;
@@ -255,11 +255,11 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
255
255
  pause: () => {
256
256
  a.value && a.value.pause();
257
257
  },
258
- refresh: () => m(),
259
- refreshView: () => m(),
260
- refreshData: () => m()
261
- }), (t, e) => (S(), F("div", {
262
- key: n(_),
258
+ refresh: () => e(),
259
+ refreshView: () => e(),
260
+ refreshData: () => e()
261
+ }), (t, m) => (S(), F("div", {
262
+ key: n(P),
263
263
  class: "audio"
264
264
  }, [
265
265
  H(u("audio", {
@@ -269,16 +269,16 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
269
269
  loop: t.basicOption.loop,
270
270
  controls: !1,
271
271
  muted: t.basicOption.muted,
272
- onProgress: P,
273
- onPlay: A,
274
- onEnded: k,
275
- onPlaying: L,
276
- onPause: w,
277
- onTimeupdate: D,
272
+ onProgress: A,
273
+ onPlay: w,
274
+ onEnded: L,
275
+ onPlaying: D,
276
+ onPause: k,
277
+ onTimeupdate: b,
278
278
  onError: x,
279
279
  onVolumechange: O
280
280
  }, [
281
- u("source", { src: n(b) }, null, 8, U)
281
+ u("source", { src: n(_) }, null, 8, U)
282
282
  ], 40, R), [
283
283
  [B, !1]
284
284
  ]),
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-98bcd02e"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cf39105e"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as m, ref as a, createElementBlock as l, openBlock as f } from "vue";
2
- import { isArray as c } from "lodash";
1
+ import { defineComponent as m, ref as a, createElementBlock as l, openBlock as c } from "vue";
2
+ import { isArray as f } from "lodash";
3
3
  import "../text-text-basic/index.mjs";
4
4
  import "../text-table-basic/index.mjs";
5
5
  import "../chart-other-gauge/index.mjs";
@@ -185,7 +185,7 @@ import "../chart/src/scatter/ripples/index.mjs";
185
185
  import "../../plugins/datasource/utils/request.mjs";
186
186
  import "../../plugins/datasource/utils/wsManager.mjs";
187
187
  import { SHJParseEvent as d } from "../../plugins/event/index.mjs";
188
- const u = ["src"], v = m({ name: "zv-media-iframe" }), Fr = /* @__PURE__ */ m({
188
+ const u = ["src"], v = m({ name: "zv-media-iframe" }), Fi = /* @__PURE__ */ m({
189
189
  ...v,
190
190
  props: {
191
191
  basicOption: {},
@@ -194,14 +194,15 @@ const u = ["src"], v = m({ name: "zv-media-iframe" }), Fr = /* @__PURE__ */ m({
194
194
  },
195
195
  emits: ["on-iframe-event-listener"],
196
196
  setup(p, { expose: e, emit: s }) {
197
- const r = a(), o = p, n = s;
197
+ const r = a(), i = p, n = s;
198
198
  return window.addEventListener("message", (t) => {
199
- n("on-iframe-event-listener", t.data), o.useEvents && c(o.useEvents) && d.parseEvents(o.useEvents, "on-iframe-event-listener", t.data);
199
+ var o;
200
+ t.source === ((o = r.value) == null ? void 0 : o.contentWindow) && (n("on-iframe-event-listener", t.data), i.useEvents && f(i.useEvents) && d.parseEvents(i.useEvents, "on-iframe-event-listener", t.data));
200
201
  }, !1), e({
201
- sendChildrenMessages: (t, i) => {
202
- i[0].dataType === "params" ? r.value.contentWindow.postMessage(t, o.basicOption.url) : r.value.contentWindow.postMessage(i[0].data, o.basicOption.url);
202
+ sendChildrenMessages: (t, o) => {
203
+ o[0].dataType === "params" ? r.value.contentWindow.postMessage(t, i.basicOption.url) : r.value.contentWindow.postMessage(o[0].data, i.basicOption.url);
203
204
  }
204
- }), (t, i) => (f(), l("iframe", {
205
+ }), (t, o) => (c(), l("iframe", {
205
206
  ref_key: "iframeRef",
206
207
  ref: r,
207
208
  src: t.basicOption.url,
@@ -211,5 +212,5 @@ const u = ["src"], v = m({ name: "zv-media-iframe" }), Fr = /* @__PURE__ */ m({
211
212
  }
212
213
  });
213
214
  export {
214
- Fr as default
215
+ Fi as default
215
216
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6738cddd"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7f5ff4ce"]]);
5
5
  export {
6
- d as default
6
+ c as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as _, ref as e, watch as x, createElementBlock as D, createCommentVNode as T, unref as w, openBlock as C, onMounted as A, nextTick as O } from "vue";
2
- import { isArray as V, cloneDeep as W, isEqual as Y } from "lodash";
1
+ import { defineComponent as _, ref as s, watch as x, createElementBlock as D, createCommentVNode as T, unref as w, openBlock as C, onMounted as W, nextTick as A } from "vue";
2
+ import { isArray as O, cloneDeep as V, isEqual as Y } from "lodash";
3
3
  import "../text-text-basic/index.mjs";
4
4
  import "../text-table-basic/index.mjs";
5
5
  import "../chart-other-gauge/index.mjs";
@@ -194,38 +194,39 @@ const H = ["src"], I = _({ name: "zv-media-iframe-dynamic" }), ui = /* @__PURE__
194
194
  },
195
195
  emits: ["on-iframe-event-listener"],
196
196
  setup(h, { expose: y, emit: g }) {
197
- const s = e(), i = e(0), R = 3, k = 3e3, t = h, L = () => {
198
- const r = e(""), o = e(!1), m = e(""), a = () => {
199
- o.value || (o.value = !0, B.parse({
200
- tId: t.uuid,
201
- sources: t.sources,
202
- callback: ({ data: p, error: c }) => {
197
+ const m = s(), i = s(0), R = 3, k = 3e3, o = h, L = () => {
198
+ const r = s(""), t = s(!1), p = s(""), a = () => {
199
+ t.value || (t.value = !0, B.parse({
200
+ tId: o.uuid,
201
+ sources: o.sources,
202
+ callback: ({ data: e, error: c }) => {
203
203
  var f, v, d;
204
204
  try {
205
205
  if (c)
206
206
  throw new Error(`数据源错误: ${c}`);
207
- if (!((d = (v = (f = p == null ? void 0 : p[0]) == null ? void 0 : f.data) == null ? void 0 : v[0]) != null && d.url))
207
+ if (!((d = (v = (f = e == null ? void 0 : e[0]) == null ? void 0 : f.data) == null ? void 0 : v[0]) != null && d.url))
208
208
  throw new Error("无效的URL数据");
209
- u.parseEvents(t.useEvents, "dataListener", p), r.value = p[0].data[0].url, i.value = 0, m.value = "";
209
+ u.parseEvents(o.useEvents, "dataListener", e), r.value = e[0].data[0].url, i.value = 0, p.value = "";
210
210
  } catch (E) {
211
211
  const b = E instanceof Error ? E.message : "未知错误";
212
- m.value = b, u.parseEvents(t.useEvents, "dataListener", null), i.value < R ? (i.value++, setTimeout(() => {
212
+ p.value = b, u.parseEvents(o.useEvents, "dataListener", null), i.value < R ? (i.value++, setTimeout(() => {
213
213
  a();
214
214
  }, k)) : r.value = "";
215
215
  } finally {
216
- o.value = !1;
216
+ t.value = !1;
217
217
  }
218
218
  }
219
219
  }));
220
220
  };
221
- return A(() => {
222
- O(() => a());
221
+ return W(() => {
222
+ A(() => a());
223
223
  }), { init: a, url: r };
224
224
  }, { init: n, url: l } = L(), M = g;
225
225
  return window.addEventListener("message", (r) => {
226
- M("on-iframe-event-listener", r.data), t.useEvents && V(t.useEvents) && u.parseEvents(t.useEvents, "on-iframe-event-listener", r.data);
227
- }, !1), x(() => W(t.sources), (r, o) => {
228
- Y(r, o) || (i.value = 0, n());
226
+ var t;
227
+ r.source === ((t = m.value) == null ? void 0 : t.contentWindow) && (M("on-iframe-event-listener", r.data), o.useEvents && O(o.useEvents) && u.parseEvents(o.useEvents, "on-iframe-event-listener", r.data));
228
+ }, !1), x(() => V(o.sources), (r, t) => {
229
+ Y(r, t) || (i.value = 0, n());
229
230
  }, { deep: !0 }), y({
230
231
  refresh: () => {
231
232
  i.value = 0, n();
@@ -236,18 +237,18 @@ const H = ["src"], I = _({ name: "zv-media-iframe-dynamic" }), ui = /* @__PURE__
236
237
  refreshData: () => {
237
238
  i.value = 0, n();
238
239
  },
239
- sendChildrenMessages: (r, o) => {
240
- var m;
241
- if ((m = s.value) != null && m.contentWindow)
240
+ sendChildrenMessages: (r, t) => {
241
+ var p;
242
+ if ((p = m.value) != null && p.contentWindow)
242
243
  try {
243
- o[0].dataType === "params" ? s.value.contentWindow.postMessage(r, t.basicOption.url) : s.value.contentWindow.postMessage(o[0].data, t.basicOption.url);
244
+ t[0].dataType === "params" ? m.value.contentWindow.postMessage(r, o.basicOption.url) : m.value.contentWindow.postMessage(t[0].data, o.basicOption.url);
244
245
  } catch {
245
246
  }
246
247
  }
247
- }), (r, o) => w(l) ? (C(), D("iframe", {
248
+ }), (r, t) => w(l) ? (C(), D("iframe", {
248
249
  key: 0,
249
250
  ref_key: "iframeRef",
250
- ref: s,
251
+ ref: m,
251
252
  src: w(l),
252
253
  class: "iframe",
253
254
  sandbox: "allow-scripts allow-same-origin allow-forms"
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1398bbc3"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5cbd2303"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b5d1ca5c"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d94ede47"]]);
5
5
  export {
6
6
  m as default
7
7
  };