@shjjs/visual-ui 1.0.34 → 1.0.36
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.
- package/es/commons/core/useChart.mjs +1 -1
- package/es/components/chart/commons/components/common-chart/index.vue.mjs +1 -1
- package/es/components/chart/commons/components/common-chart-map/index.vue.mjs +1 -1
- package/es/components/chart/commons/hooks/useChart.mjs +1 -1
- package/es/components/chart/src/map/bmap-basic/index.vue.d.ts +6 -2
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +1 -1
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +1 -1
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +1 -1
- package/es/components/chart-other-circular-graph/index.vue.mjs +1 -1
- package/es/components/chart-other-force/index.vue.mjs +1 -1
- package/es/components/chart-other-force2/index.vue.mjs +1 -1
- package/es/components/chart-other-funnel/index.vue.mjs +1 -1
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +1 -1
- package/es/components/chart-other-funnel-split/index.vue.mjs +1 -1
- package/es/components/chart-other-funnel2/index.vue.mjs +1 -1
- package/es/components/chart-other-gauge/index.vue.mjs +1 -1
- package/es/components/chart-other-gauge-grade/index.vue.mjs +1 -1
- package/es/components/chart-other-gauge-stage/index.vue.mjs +1 -1
- package/es/components/chart-other-graph-basic/index.vue.mjs +1 -1
- package/es/components/chart-other-graph-basic2/index.vue.mjs +1 -1
- package/es/components/chart-other-graph-calendar/index.vue.mjs +1 -1
- package/es/components/chart-other-grid-percentage/index.vue.mjs +1 -1
- package/es/components/chart-other-heatmap/index.vue.mjs +1 -1
- package/es/components/chart-other-label-gauge/index.vue.mjs +1 -1
- package/es/components/chart-other-liquidfill/index.vue.mjs +1 -1
- package/es/components/chart-other-parallel-basic/index.vue.mjs +1 -1
- package/es/components/chart-other-parallel-mul/index.vue.mjs +1 -1
- package/es/components/chart-other-radar/index.vue.mjs +1 -1
- package/es/components/chart-other-radar-stack/index.vue.mjs +1 -1
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +1 -1
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +1 -1
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +1 -1
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +1 -1
- package/es/components/chart-other-sunburst-book/index.vue.mjs +1 -1
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +1 -1
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +1 -1
- package/es/components/chart-other-theme-river/index.vue.mjs +1 -1
- package/es/components/chart-other-tree/index.vue.mjs +1 -1
- package/es/components/chart-other-tree-line/index.vue.mjs +1 -1
- package/es/components/chart-other-treemap/index.vue.mjs +1 -1
- package/es/components/chart-other-treemap-basic/index.vue.mjs +1 -1
- package/es/components/chart-other-word-cloud/index.vue.mjs +1 -1
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +1 -1
- package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
- package/es/components/commons-loop-iterator/index.vue2.mjs +1 -1
- package/es/components/commons-product-model/index.vue.mjs +2 -2
- package/es/components/commons-product-model/index.vue2.mjs +1 -1
- package/es/components/commons-three-loader/index.vue.mjs +2 -2
- package/es/components/commons-three-loader/index.vue2.mjs +1 -1
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +1 -1
- package/es/components/commons-weather/index.vue.mjs +1 -1
- package/es/components/commons-weather/index.vue2.mjs +1 -1
- package/es/components/commons-weather-dynamic/index.vue.mjs +1 -1
- package/es/components/commons-weather-dynamic/index.vue2.mjs +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +200 -198
- package/es/components/interaction/button/index.vue.mjs +1 -1
- package/es/components/interaction/button/index.vue2.mjs +54 -54
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +2 -2
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +26 -26
- package/es/components/interaction/tabs/index.vue.mjs +1 -1
- package/es/components/interaction/tabs-icon/index.vue.mjs +1 -1
- package/es/components/interaction-input/index.vue.mjs +2 -2
- package/es/components/interaction-input/index.vue2.mjs +1 -1
- package/es/components/interaction-select/index.vue.mjs +1 -1
- package/es/components/interaction-select/index.vue2.mjs +1 -1
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +24 -24
- package/es/components/interaction-switch/index.vue.mjs +1 -1
- package/es/components/interaction-switch/index.vue2.mjs +10 -10
- package/es/components/interaction-tabs/index.vue.mjs +2 -2
- package/es/components/interaction-tabs/index.vue2.mjs +1 -1
- package/es/components/interaction-tabs2/index.vue.mjs +2 -2
- package/es/components/interaction-tabs2/index.vue2.mjs +1 -1
- package/es/components/map-earth-basic/index.vue.mjs +1 -1
- package/es/components/map-earth-cool-tech/index.vue.d.ts +4 -2
- package/es/components/map-earth-cool-tech/index.vue.mjs +1 -1
- package/es/components/map-earth-fly-line/index.vue.mjs +1 -1
- package/es/components/map-earth-hacker/index.vue.mjs +1 -1
- package/es/components/map-earth-particle/index.vue.mjs +1 -1
- package/es/components/media-audio/index.vue.mjs +2 -2
- package/es/components/media-audio/index.vue2.mjs +5 -5
- package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue2.mjs +22 -22
- package/es/components/media-flv/index.vue.mjs +1 -1
- package/es/components/media-iframe/index.vue.mjs +2 -2
- package/es/components/media-iframe/index.vue2.mjs +1 -1
- package/es/components/media-iframe-dynamic/index.d.ts +51 -0
- package/es/components/media-iframe-dynamic/index.mjs +7 -0
- package/es/components/media-iframe-dynamic/index.vue.d.ts +51 -0
- package/es/components/media-iframe-dynamic/index.vue.mjs +7 -0
- package/es/components/media-iframe-dynamic/index.vue2.mjs +76 -0
- package/es/components/media-image-dynamic/index.vue.mjs +2 -2
- package/es/components/media-image-dynamic/index.vue2.mjs +1 -1
- package/es/components/media-m3u8/index.vue.mjs +1 -1
- package/es/components/media-m3u8-dynamic/index.vue.mjs +1 -1
- package/es/components/media-video/index.vue.mjs +2 -2
- package/es/components/media-video/index.vue2.mjs +1 -1
- package/es/components/media-video-dynamic/index.vue.mjs +2 -2
- package/es/components/media-video-dynamic/index.vue2.mjs +1 -1
- package/es/components/scene-amap2d/index.vue.mjs +2 -2
- package/es/components/scene-amap2d/index.vue2.mjs +2 -2
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +2 -2
- package/es/components/scene-default/index.vue.mjs +1 -1
- package/es/components/scene-default/index.vue2.mjs +1 -1
- package/es/components/scene-map3d/index.vue.mjs +1 -1
- package/es/components/scene-map3d/index.vue2.mjs +1 -1
- package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
- package/es/components/scene-ue-iframe/index.vue2.mjs +1 -1
- package/es/components/scene-ue-shj/index.vue.mjs +2 -2
- package/es/components/scene-ue-shj/index.vue2.mjs +1 -1
- package/es/components/scene-unity-iframe/index.vue.mjs +1 -1
- package/es/components/scene-unity-iframe/index.vue2.mjs +1 -1
- package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
- package/es/components/scene-unity-webgl/index.vue2.mjs +1 -1
- package/es/components/scene-vr/index.vue.mjs +2 -2
- package/es/components/scene-vr/index.vue2.mjs +33 -33
- package/es/components/text/list/index.vue.mjs +1 -1
- package/es/components/text-count-down/index.vue.mjs +1 -1
- package/es/components/text-count-down/index.vue2.mjs +1 -1
- package/es/components/text-over-number/index.vue.mjs +1 -1
- package/es/components/text-over-number/index.vue2.mjs +1 -1
- package/es/components/text-real-time/index.vue.mjs +2 -2
- package/es/components/text-real-time/index.vue2.mjs +1 -1
- package/es/components/text-row-scroll/index.vue.mjs +2 -2
- package/es/components/text-row-scroll/index.vue2.mjs +39 -39
- package/es/components/text-table-basic/index.vue.mjs +2 -2
- package/es/components/text-table-basic/index.vue2.mjs +31 -31
- package/es/components/text-table-scroll/index.vue.mjs +2 -2
- package/es/components/text-table-scroll/index.vue2.mjs +34 -34
- package/es/components/text-text-dynamic/index.vue.mjs +2 -2
- package/es/components/text-text-dynamic/index.vue2.mjs +1 -1
- package/es/index.mjs +196 -194
- package/es/widgets.css +1 -1
- package/package.json +2 -2
- package/es/commons/plugins/datasource/index.d.ts +0 -73
- package/es/commons/plugins/datasource/index.mjs +0 -214
- package/es/commons/plugins/datasource/sources/api.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/api.mjs +0 -32
- package/es/commons/plugins/datasource/sources/static.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/static.mjs +0 -17
- package/es/commons/plugins/datasource/sources/storage.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/storage.mjs +0 -28
- package/es/commons/plugins/datasource/sources/url.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/url.mjs +0 -17
- package/es/commons/plugins/datasource/sources/variable.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/variable.mjs +0 -17
- package/es/commons/plugins/datasource/sources/ws.d.ts +0 -32
- package/es/commons/plugins/datasource/sources/ws.mjs +0 -139
- package/es/commons/plugins/datasource/utils/axios.d.ts +0 -70
- package/es/commons/plugins/datasource/utils/axios.mjs +0 -134
- package/es/commons/plugins/datasource/utils/request.d.ts +0 -3
- package/es/commons/plugins/datasource/utils/request.mjs +0 -5
- package/es/commons/plugins/datasource/utils/utils.d.ts +0 -115
- package/es/commons/plugins/datasource/utils/utils.mjs +0 -229
- package/es/commons/plugins/datasource/utils/wsManager.d.ts +0 -16
- package/es/commons/plugins/datasource/utils/wsManager.mjs +0 -78
- package/es/commons/plugins/event/actions/fullScreenAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/fullScreenAction.mjs +0 -8
- package/es/commons/plugins/event/actions/invokeAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/invokeAction.mjs +0 -11
- package/es/commons/plugins/event/actions/linkAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/linkAction.mjs +0 -8
- package/es/commons/plugins/event/actions/moveAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/moveAction.mjs +0 -15
- package/es/commons/plugins/event/actions/refreshVariableAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/refreshVariableAction.mjs +0 -18
- package/es/commons/plugins/event/actions/rotateAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/rotateAction.mjs +0 -19
- package/es/commons/plugins/event/actions/scaleAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/scaleAction.mjs +0 -24
- package/es/commons/plugins/event/actions/sendApiAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/sendApiAction.mjs +0 -16
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.mjs +0 -31
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.mjs +0 -31
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.mjs +0 -28
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.mjs +0 -28
- package/es/commons/plugins/event/actions/updatePageAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/updatePageAction.mjs +0 -6
- package/es/commons/plugins/event/actions/updateVariableAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/updateVariableAction.mjs +0 -25
- package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/updateWidgetAction.mjs +0 -14
- package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/vrSceneMethodAction.mjs +0 -12
- package/es/commons/plugins/event/index.d.ts +0 -206
- package/es/commons/plugins/event/index.mjs +0 -161
- package/es/commons/plugins/event/utils/utils.d.ts +0 -22
- package/es/commons/plugins/event/utils/utils.mjs +0 -50
- package/es/commons/utils/componentRefs.d.ts +0 -28
- package/es/commons/utils/componentRefs.mjs +0 -37
- package/es/commons/utils/getNextElement.d.ts +0 -7
- package/es/commons/utils/getNextElement.mjs +0 -12
|
@@ -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
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-93b65a6f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -4,11 +4,11 @@ import { nanoid as g } from "nanoid";
|
|
|
4
4
|
import t from "dayjs";
|
|
5
5
|
import "dayjs/locale/zh-cn";
|
|
6
6
|
import j from "dayjs/plugin/relativeTime";
|
|
7
|
-
import { SHJDatasourceV2 as q, SHJParseEvent as S } from "@
|
|
7
|
+
import { SHJDatasourceV2 as q, SHJParseEvent as S } from "@shjjs/visual-core";
|
|
8
8
|
import { useDatePickerWatch as z } from "./hooks/useDatePickerWatch.mjs";
|
|
9
9
|
import { Utils as F } from "../../../../../commons/utils/utils.mjs";
|
|
10
10
|
import "@vuepic/vue-datepicker/dist/main.css";
|
|
11
|
-
const i = (d) => (N("data-v-
|
|
11
|
+
const i = (d) => (N("data-v-93b65a6f"), d = d(), R(), d), J = { class: "left-sidebar" }, U = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "今天", -1)), A = [
|
|
12
12
|
U
|
|
13
13
|
], K = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "昨天", -1)), L = [
|
|
14
14
|
K
|
|
@@ -45,30 +45,30 @@ const i = (d) => (N("data-v-1ae780e7"), d = d(), R(), d), J = { class: "left-sid
|
|
|
45
45
|
emits: ["on-change"],
|
|
46
46
|
setup(d, { expose: $, emit: P }) {
|
|
47
47
|
D((e) => ({
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
48
|
+
"830ed312": e.option.css.dp.backgroundColor,
|
|
49
|
+
"38acaf58": e.option.css.dp.textColor,
|
|
50
|
+
cea502b6: e.option.css.dp.hoverColor,
|
|
51
|
+
"84f7e710": e.option.css.dp.hoverTextColor,
|
|
52
|
+
"390bf61f": e.option.css.dp.primaryColor,
|
|
53
|
+
"47ab7d03": e.option.css.dp.primaryDisabledColor,
|
|
54
|
+
daf3921c: e.option.css.dp.primaryTextColor,
|
|
55
|
+
"03270b26": e.option.css.dp.secondaryColor,
|
|
56
|
+
"3669718e": e.option.css.dp.borderColor,
|
|
57
|
+
"5fa9f75a": e.option.css.dp.menuBorderColor,
|
|
58
|
+
"20cfa4fa": e.option.css.dp.borderColorHover,
|
|
59
|
+
"21088dc2": e.option.css.dp.borderColorFocus,
|
|
60
|
+
"0b735269": e.option.css.dp.disabledColor,
|
|
61
|
+
e6d12314: e.option.css.dp.scrollBarBackground,
|
|
62
|
+
"2adf691b": e.option.css.dp.scrollBarColor,
|
|
63
|
+
"5497dcbe": e.option.css.dp.successColor,
|
|
64
|
+
"8872454c": e.option.css.dp.successColorDisabled,
|
|
65
|
+
cdbb70bc: e.option.css.dp.dangerColor,
|
|
66
|
+
b92ca194: e.option.css.dp.disabledColorText,
|
|
67
|
+
"62fa672d": e.option.css.dp.highlightColor,
|
|
68
|
+
"724e1231": e.option.css.dp.loader,
|
|
69
|
+
"825918e4": e.option.css.dp.fontSize,
|
|
70
|
+
daa9416e: e.option.css.dp.inputBackgroundColor,
|
|
71
|
+
d847d39a: e.option.css.dp.inputHeight
|
|
72
72
|
})), t.extend(j), t.locale("zh-cn");
|
|
73
73
|
const r = d, b = P, n = h(), v = h(g()), y = () => v.value = g(), c = () => {
|
|
74
74
|
q.parse({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, ref as i, onMounted as O, createElementBlock as a, openBlock as c, normalizeStyle as u, unref as v, createCommentVNode as k, Fragment as w, renderList as D, withModifiers as L, normalizeClass as V, createVNode as B, nextTick as N } from "vue";
|
|
2
2
|
import { useResizeObserver as T } from "@vueuse/core";
|
|
3
|
-
import { SHJDatasourceV2 as W, SHJParseEvent as g } from "@
|
|
3
|
+
import { SHJDatasourceV2 as W, SHJParseEvent as g } from "@shjjs/visual-core";
|
|
4
4
|
import { useTabsWatch as H } from "./hooks/useTabsWatch.mjs";
|
|
5
5
|
import { Utils as f } from "../../../commons/utils/utils.mjs";
|
|
6
6
|
import I from "../../../commons/components/text.vue.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, ref as p, onMounted as O, createElementBlock as a, openBlock as c, normalizeStyle as r, unref as i, createCommentVNode as g, Fragment as V, renderList as w, withModifiers as D, normalizeClass as I, createElementVNode as L, createVNode as N, nextTick as B } from "vue";
|
|
2
2
|
import { useResizeObserver as T } from "@vueuse/core";
|
|
3
|
-
import { SHJDatasourceV2 as W, SHJParseEvent as k } from "@
|
|
3
|
+
import { SHJDatasourceV2 as W, SHJParseEvent as k } from "@shjjs/visual-core";
|
|
4
4
|
import { useTabsWatch as H } from "./hooks/useTabsWatch.mjs";
|
|
5
5
|
import { Utils as u } from "../../../commons/utils/utils.mjs";
|
|
6
6
|
import J from "../../../commons/components/text.vue.mjs";
|
|
@@ -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
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0829ce86"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, watch as y, withDirectives as C, createElementBlock as x, openBlock as z, withModifiers as l, normalizeStyle as M, unref as v, isRef as H, vModelDynamic as J, ref as f, onMounted as L } from "vue";
|
|
2
2
|
import { cloneDeep as h, isEqual as E } from "lodash";
|
|
3
3
|
import { nanoid as b } from "nanoid";
|
|
4
|
-
import { SHJParseEvent as a, SHJDatasourceV2 as j } from "@
|
|
4
|
+
import { SHJParseEvent as a, SHJDatasourceV2 as j } from "@shjjs/visual-core";
|
|
5
5
|
import { autoInstallFont as I, jsonToCssStyle as d } from "../../commons/utils/json2css.mjs";
|
|
6
6
|
const q = ["tabindex", "type", "placeholder"], P = k({ name: "zv-interaction-input" }), Q = /* @__PURE__ */ k({
|
|
7
7
|
...P,
|
|
@@ -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-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-157a681c"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as B, ref as f, computed as te, onMounted as oe, watch as F, withDirectives as re, createElementBlock as s, openBlock as d, normalizeClass as y, unref as o, createElementVNode as u, createVNode as ne, normalizeStyle as h, createCommentVNode as S, toDisplayString as O, Transition as ae, withCtx as le, Fragment as ie, renderList as ce, withModifiers as se } from "vue";
|
|
2
2
|
import { nanoid as V } from "nanoid";
|
|
3
3
|
import { cloneDeep as I, isEqual as j } from "lodash";
|
|
4
|
-
import { SHJParseEvent as z, SHJDatasourceV2 as de } from "@
|
|
4
|
+
import { SHJParseEvent as z, SHJDatasourceV2 as de } from "@shjjs/visual-core";
|
|
5
5
|
import { jsonToCssStyle as r, autoInstallFont as v } from "../../commons/utils/json2css.mjs";
|
|
6
6
|
import ue from "../../commons/utils/clickOutSide.mjs";
|
|
7
7
|
const pe = { style: { display: "flex", "align-items": "center", gap: "4px" } }, fe = {
|
|
@@ -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
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e613edbb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, useCssVars as m, ref as h, onMounted as g, watch as a, createElementBlock as v, openBlock as E, createVNode as H, unref as T } from "vue";
|
|
2
2
|
import { cloneDeep as p, isEqual as r } from "lodash";
|
|
3
3
|
import V from "@vueform/slider";
|
|
4
|
-
import { SHJDatasourceV2 as w, SHJParseEvent as n } from "@
|
|
4
|
+
import { SHJDatasourceV2 as w, SHJParseEvent as n } from "@shjjs/visual-core";
|
|
5
5
|
import "@vueform/slider/themes/default.css";
|
|
6
6
|
const C = { class: "zerov-widget-slider" }, B = l({ name: "zv-interaction-slider" }), k = /* @__PURE__ */ l({
|
|
7
7
|
...B,
|
|
@@ -12,29 +12,29 @@ const C = { class: "zerov-widget-slider" }, B = l({ name: "zv-interaction-slider
|
|
|
12
12
|
uuid: {}
|
|
13
13
|
},
|
|
14
14
|
emits: ["on-change"],
|
|
15
|
-
setup(d, { expose: c, emit:
|
|
15
|
+
setup(d, { expose: c, emit: b }) {
|
|
16
16
|
m((s) => ({
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
17
|
+
"05cc5644": s.basicOption.css.sliderBg,
|
|
18
|
+
ad759020: s.basicOption.css.sliderConnectBg,
|
|
19
|
+
"744e1e27": s.basicOption.css.sliderHeight + "px",
|
|
20
|
+
"734cb748": s.basicOption.css.sliderRadius + "px",
|
|
21
|
+
"55b3c968": s.basicOption.css.sliderHandleBg,
|
|
22
|
+
"1a277b64": s.basicOption.css.sliderHandleWidth + "px",
|
|
23
|
+
"95b737c2": s.basicOption.css.sliderHandleHeight + "px",
|
|
24
|
+
"072fea54": s.basicOption.css.sliderHandleRadius + "px",
|
|
25
|
+
"39a285c4": s.basicOption.css.sliderHandleRingWidth + "px",
|
|
26
|
+
"4d4cfe2c": s.basicOption.css.sliderHandleRingColor,
|
|
27
|
+
"46666f99": s.basicOption.css.sliderTooltipFontSize + "px",
|
|
28
|
+
"3beed202": s.basicOption.css.sliderTooltipFontWeight + "px",
|
|
29
|
+
"97b9a66e": s.basicOption.css.sliderTooltipBg,
|
|
30
|
+
"6d27df42": s.basicOption.css.sliderTooltipColor,
|
|
31
|
+
"65cbf8b7": s.basicOption.css.sliderTooltipRadius + "px",
|
|
32
|
+
f8de1d40: s.basicOption.css.sliderTooltipPy + "px",
|
|
33
|
+
"1bafc481": s.basicOption.css.sliderTooltipPx + "px",
|
|
34
|
+
"1126e327": s.basicOption.css.sliderTooltipArrowSize + "px",
|
|
35
|
+
f051f618: s.basicOption.css.sliderTooltipDistance + "px"
|
|
36
36
|
}));
|
|
37
|
-
const i = d, u =
|
|
37
|
+
const i = d, u = b, t = h(20), o = () => {
|
|
38
38
|
w.parse({
|
|
39
39
|
tId: i.uuid,
|
|
40
40
|
sources: i.sources,
|
|
@@ -48,7 +48,7 @@ const C = { class: "zerov-widget-slider" }, B = l({ name: "zv-interaction-slider
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
g(() => o());
|
|
51
|
-
const
|
|
51
|
+
const f = (s) => {
|
|
52
52
|
u("on-change", {
|
|
53
53
|
data: s,
|
|
54
54
|
event: s
|
|
@@ -89,7 +89,7 @@ const C = { class: "zerov-widget-slider" }, B = l({ name: "zv-interaction-slider
|
|
|
89
89
|
suffix: s.basicOption.slider.suffix,
|
|
90
90
|
decimals: s.basicOption.slider.decimals
|
|
91
91
|
},
|
|
92
|
-
onChange:
|
|
92
|
+
onChange: f
|
|
93
93
|
}, null, 8, ["modelValue", "min", "max", "step", "tooltips", "show-tooltip", "tooltip-position", "format"])
|
|
94
94
|
]));
|
|
95
95
|
}
|
|
@@ -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-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2e450440"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p, useCssVars as v, ref as d, watch as b, createElementBlock as h, openBlock as f, normalizeClass as O, withDirectives as m, createElementVNode as n, vModelCheckbox as w, pushScopeId as C, popScopeId as E } from "vue";
|
|
2
2
|
import { cloneDeep as V, isEqual as z } from "lodash";
|
|
3
|
-
import { SHJParseEvent as l } from "@
|
|
4
|
-
const S = (t) => (C("data-v-
|
|
3
|
+
import { SHJParseEvent as l } from "@shjjs/visual-core";
|
|
4
|
+
const S = (t) => (C("data-v-2e450440"), t = t(), E(), t), _ = ["true-value", "false-value"], k = /* @__PURE__ */ S(() => /* @__PURE__ */ n("div", { class: "zv-switch__action" }, null, -1)), g = [
|
|
5
5
|
k
|
|
6
6
|
], B = p({ name: "zv-interaction-switch" }), $ = /* @__PURE__ */ p({
|
|
7
7
|
...B,
|
|
@@ -13,14 +13,14 @@ const S = (t) => (C("data-v-7a7810a5"), t = t(), E(), t), _ = ["true-value", "fa
|
|
|
13
13
|
emits: ["on-change", "on-open", "on-close"],
|
|
14
14
|
setup(t, { emit: u }) {
|
|
15
15
|
v((e) => ({
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
16
|
+
"449a2c78": e.basicOption.css.onColor,
|
|
17
|
+
"6ac75a34": e.basicOption.css.offColor,
|
|
18
|
+
"54f16656": e.basicOption.css.actionSize + "px",
|
|
19
|
+
19990479: e.basicOption.css.minWidth + "px",
|
|
20
|
+
"43bba94d": e.basicOption.css.coreSize + "px",
|
|
21
|
+
"4f4879d0": e.basicOption.css.coreBorderRadius + "px",
|
|
22
|
+
"17d91dd9": e.basicOption.css.actionBorderRadius + "px",
|
|
23
|
+
"8c753a82": e.basicOption.css.actionBackgroundColor
|
|
24
24
|
}));
|
|
25
25
|
const i = u, o = t, s = d(JSON.parse(o.basicOption.defaultValue)), r = (e) => {
|
|
26
26
|
s.value = !s.value;
|
|
@@ -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
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5886fe52"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, ref as i, watch as D, createElementBlock as c, openBlock as l, normalizeStyle as b, unref as p, Fragment as O, renderList as T, withModifiers as _, normalizeClass as R, toDisplayString as z } from "vue";
|
|
2
2
|
import { cloneDeep as B, isEqual as F, isArray as f } from "lodash";
|
|
3
|
-
import { SHJParseEvent as h } from "@
|
|
3
|
+
import { SHJParseEvent as h } from "@shjjs/visual-core";
|
|
4
4
|
import { autoInstallFont as v, jsonToCssStyle as s } from "../../commons/utils/json2css.mjs";
|
|
5
5
|
const L = ["onClick"], W = S({ name: "zv-interaction-tabs" }), J = /* @__PURE__ */ S({
|
|
6
6
|
...W,
|
|
@@ -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
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-469ff71e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, ref as u, watch as T, createElementBlock as s, openBlock as c, normalizeStyle as p, unref as b, Fragment as I, renderList as O, withModifiers as _, normalizeClass as R, toDisplayString as z } from "vue";
|
|
2
2
|
import { cloneDeep as B, isEqual as F, isArray as f } from "lodash";
|
|
3
|
-
import { SHJParseEvent as h } from "@
|
|
3
|
+
import { SHJParseEvent as h } from "@shjjs/visual-core";
|
|
4
4
|
import { autoInstallFont as v, jsonToCssStyle as l } from "../../commons/utils/json2css.mjs";
|
|
5
5
|
const L = ["onClick"], W = m({ name: "zv-interaction-tabs2" }), J = /* @__PURE__ */ m({
|
|
6
6
|
...W,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, ref as c, onMounted as E, watch as k, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
2
|
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
3
|
import { nanoid as T } from "nanoid";
|
|
4
|
-
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@
|
|
4
|
+
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@shjjs/visual-core";
|
|
5
5
|
import A from "../../commons/core/earth/main.vue.mjs";
|
|
6
6
|
import y from "../../commons/core/earth/border.vue.mjs";
|
|
7
7
|
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-basic" }), X = /* @__PURE__ */ b({
|
|
@@ -182,7 +182,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
182
182
|
};
|
|
183
183
|
cloudCoverAnimationSpeed: {
|
|
184
184
|
type: NumberConstructor;
|
|
185
|
-
required: false;
|
|
185
|
+
required: false; /** 监听option发生改变则刷新场景 */
|
|
186
186
|
default: number;
|
|
187
187
|
};
|
|
188
188
|
starrySky: {
|
|
@@ -193,6 +193,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
193
193
|
starrySkyTexture: {
|
|
194
194
|
type: any;
|
|
195
195
|
required: false;
|
|
196
|
+
/** 监听数据源 */
|
|
196
197
|
default: any;
|
|
197
198
|
};
|
|
198
199
|
starrySkyNumber: {
|
|
@@ -645,7 +646,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
645
646
|
};
|
|
646
647
|
cloudCoverAnimationSpeed: {
|
|
647
648
|
type: NumberConstructor;
|
|
648
|
-
required: false;
|
|
649
|
+
required: false; /** 监听option发生改变则刷新场景 */
|
|
649
650
|
default: number;
|
|
650
651
|
};
|
|
651
652
|
starrySky: {
|
|
@@ -656,6 +657,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
656
657
|
starrySkyTexture: {
|
|
657
658
|
type: any;
|
|
658
659
|
required: false;
|
|
660
|
+
/** 监听数据源 */
|
|
659
661
|
default: any;
|
|
660
662
|
};
|
|
661
663
|
starrySkyNumber: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, ref as c, onMounted as E, watch as k, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
2
|
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
3
|
import { nanoid as T } from "nanoid";
|
|
4
|
-
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@
|
|
4
|
+
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@shjjs/visual-core";
|
|
5
5
|
import A from "../../commons/core/earth/main.vue.mjs";
|
|
6
6
|
import y from "../../commons/core/earth/border.vue.mjs";
|
|
7
7
|
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-cool-tech" }), X = /* @__PURE__ */ b({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, ref as c, onMounted as E, watch as k, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
2
|
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
3
|
import { nanoid as T } from "nanoid";
|
|
4
|
-
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@
|
|
4
|
+
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@shjjs/visual-core";
|
|
5
5
|
import A from "../../commons/core/earth/main.vue.mjs";
|
|
6
6
|
import y from "../../commons/core/earth/border.vue.mjs";
|
|
7
7
|
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-fly-line" }), X = /* @__PURE__ */ b({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, ref as c, onMounted as E, watch as f, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
2
|
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
3
|
import { nanoid as T } from "nanoid";
|
|
4
|
-
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@
|
|
4
|
+
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@shjjs/visual-core";
|
|
5
5
|
import A from "../../commons/core/earth/main.vue.mjs";
|
|
6
6
|
import y from "../../commons/core/earth/border.vue.mjs";
|
|
7
7
|
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-hacker" }), X = /* @__PURE__ */ b({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, ref as c, onMounted as E, watch as k, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
2
|
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
3
|
import { nanoid as T } from "nanoid";
|
|
4
|
-
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@
|
|
4
|
+
import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@shjjs/visual-core";
|
|
5
5
|
import A from "../../commons/core/earth/main.vue.mjs";
|
|
6
6
|
import y from "../../commons/core/earth/border.vue.mjs";
|
|
7
7
|
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-particle" }), X = /* @__PURE__ */ b({
|
|
@@ -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
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3c7574f3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, ref as i, watch as w, createElementBlock as A, openBlock as O, withDirectives as b, createElementVNode as u, vShow as L, normalizeClass as k, createStaticVNode as F } from "vue";
|
|
2
2
|
import { nanoid as l } from "nanoid";
|
|
3
3
|
import { cloneDeep as x, isEqual as D } from "lodash";
|
|
4
|
-
import { SHJParseEvent as a } from "@
|
|
5
|
-
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-
|
|
4
|
+
import { SHJParseEvent as a } from "@shjjs/visual-core";
|
|
5
|
+
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-3c7574f3><circle cx="37.5" cy="37.5" r="37.5" fill="#3D9CFF" fill-opacity="0.1" data-v-3c7574f3></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-3c7574f3></path><defs data-v-3c7574f3><linearGradient id="paint0_linear_534:1941" x1="17.9092" y1="37.9996" x2="56.4836" y2="37.9996" gradientUnits="userSpaceOnUse" data-v-3c7574f3><stop stop-color="#3D9CFF" data-v-3c7574f3></stop><stop offset="1" stop-color="#43E8F3" data-v-3c7574f3></stop></linearGradient></defs></svg>', 1), H = [
|
|
6
6
|
B
|
|
7
7
|
], z = p({ name: "zv-media-audio" }), U = /* @__PURE__ */ p({
|
|
8
8
|
...z,
|
|
@@ -20,14 +20,14 @@ const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<sv
|
|
|
20
20
|
"on-audio-error",
|
|
21
21
|
"on-audio-volumechange"
|
|
22
22
|
],
|
|
23
|
-
setup(c, { expose: v, emit:
|
|
23
|
+
setup(c, { expose: v, emit: f }) {
|
|
24
24
|
const e = c, d = i(l()), n = i(!1);
|
|
25
25
|
w(() => x(e.basicOption), (s, r) => {
|
|
26
26
|
D(s, r) || (d.value = l());
|
|
27
27
|
}, {
|
|
28
28
|
deep: !0
|
|
29
29
|
});
|
|
30
|
-
const t = i(), o =
|
|
30
|
+
const t = i(), o = f, m = () => {
|
|
31
31
|
o("on-audio-progress"), a.parseEvents(e.useEvents, "on-audio-progress"), n.value = !0;
|
|
32
32
|
}, E = () => {
|
|
33
33
|
o("on-audio-play"), a.parseEvents(e.useEvents, "on-audio-play"), n.value = !0;
|
|
@@ -64,7 +64,7 @@ const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<sv
|
|
|
64
64
|
loop: s.basicOption.loop,
|
|
65
65
|
controls: !1,
|
|
66
66
|
muted: s.basicOption.muted,
|
|
67
|
-
onProgress:
|
|
67
|
+
onProgress: m,
|
|
68
68
|
onPlay: E,
|
|
69
69
|
onEnded: C,
|
|
70
70
|
onPlaying: g,
|
|
@@ -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-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c8b1ac93"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as y, watch as v, ref as r, createElementBlock as F, openBlock as S, unref as d, withDirectives as H, createElementVNode as
|
|
1
|
+
import { defineComponent as y, watch as v, ref as r, createElementBlock as F, openBlock as S, unref as d, withDirectives as H, createElementVNode as c, vShow as B, normalizeClass as T, createStaticVNode as z, onMounted as G, nextTick as J } from "vue";
|
|
2
2
|
import { nanoid as M } from "nanoid";
|
|
3
3
|
import { cloneDeep as f, isEqual as m } from "lodash";
|
|
4
|
-
import { SHJParseEvent as a, SHJDatasourceV2 as N } from "@
|
|
5
|
-
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-
|
|
4
|
+
import { SHJParseEvent as a, SHJDatasourceV2 as N } from "@shjjs/visual-core";
|
|
5
|
+
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-c8b1ac93><circle cx="37.5" cy="37.5" r="37.5" fill="#3D9CFF" fill-opacity="0.1" data-v-c8b1ac93></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-c8b1ac93></path><defs data-v-c8b1ac93><linearGradient id="paint0_linear_534:1941" x1="17.9092" y1="37.9996" x2="56.4836" y2="37.9996" gradientUnits="userSpaceOnUse" data-v-c8b1ac93><stop stop-color="#3D9CFF" data-v-c8b1ac93></stop><stop offset="1" stop-color="#43E8F3" data-v-c8b1ac93></stop></linearGradient></defs></svg>', 1), I = [
|
|
6
6
|
q
|
|
7
7
|
], Z = y({ name: "zv-media-audio-dynamic" }), Y = /* @__PURE__ */ y({
|
|
8
8
|
...Z,
|
|
@@ -24,7 +24,7 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
|
|
|
24
24
|
],
|
|
25
25
|
setup(E, { expose: C, emit: h }) {
|
|
26
26
|
const e = E, g = () => {
|
|
27
|
-
const o = r(""), t = r(M()), V = r(!1),
|
|
27
|
+
const o = r(""), t = r(M()), V = r(!1), l = () => {
|
|
28
28
|
N.parse({
|
|
29
29
|
tId: e.uuid,
|
|
30
30
|
sources: e.sources,
|
|
@@ -37,8 +37,8 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
|
-
return G(() => J(() =>
|
|
41
|
-
}, { init: i, src: _, key:
|
|
40
|
+
return G(() => J(() => l())), { init: l, src: o, key: t, isAudioPlay: V };
|
|
41
|
+
}, { init: i, src: _, key: b, isAudioPlay: n } = g();
|
|
42
42
|
v(() => f(e.basicOption), (o, t) => {
|
|
43
43
|
m(o, t) || i();
|
|
44
44
|
}, {
|
|
@@ -46,17 +46,17 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
|
|
|
46
46
|
}), v(() => f(e.sources), (o, t) => {
|
|
47
47
|
m(o, t) || i();
|
|
48
48
|
}, { deep: !0 });
|
|
49
|
-
const u = r(), s = h,
|
|
49
|
+
const u = r(), s = h, P = () => {
|
|
50
50
|
s("on-audio-progress"), a.parseEvents(e.useEvents, "on-audio-progress"), n.value = !0;
|
|
51
|
-
},
|
|
51
|
+
}, A = () => {
|
|
52
52
|
s("on-audio-play"), a.parseEvents(e.useEvents, "on-audio-play"), n.value = !0;
|
|
53
|
-
},
|
|
53
|
+
}, w = () => {
|
|
54
54
|
s("on-audio-pause"), a.parseEvents(e.useEvents, "on-audio-pause"), n.value = !1;
|
|
55
|
-
},
|
|
55
|
+
}, k = () => {
|
|
56
56
|
s("on-audio-ended"), a.parseEvents(e.useEvents, "on-audio-ended"), n.value = !1;
|
|
57
|
-
},
|
|
57
|
+
}, L = () => {
|
|
58
58
|
s("on-audio-playing"), a.parseEvents(e.useEvents, "on-audio-playing");
|
|
59
|
-
},
|
|
59
|
+
}, D = () => {
|
|
60
60
|
s("on-audio-timeupdate"), a.parseEvents(e.useEvents, "on-audio-timeupdate");
|
|
61
61
|
}, x = () => {
|
|
62
62
|
s("on-audio-error"), a.parseEvents(e.useEvents, "on-audio-error"), n.value = !1;
|
|
@@ -76,30 +76,30 @@ const R = ["autoplay", "loop", "muted"], U = ["src"], q = /* @__PURE__ */ z('<sv
|
|
|
76
76
|
refreshView: () => i(),
|
|
77
77
|
refreshData: () => i()
|
|
78
78
|
}), (o, t) => (S(), F("div", {
|
|
79
|
-
key: d(
|
|
79
|
+
key: d(b),
|
|
80
80
|
class: "audio"
|
|
81
81
|
}, [
|
|
82
|
-
H(
|
|
82
|
+
H(c("audio", {
|
|
83
83
|
ref_key: "audioRef",
|
|
84
84
|
ref: u,
|
|
85
85
|
autoplay: o.basicOption.autoplay,
|
|
86
86
|
loop: o.basicOption.loop,
|
|
87
87
|
controls: !1,
|
|
88
88
|
muted: o.basicOption.muted,
|
|
89
|
-
onProgress:
|
|
90
|
-
onPlay:
|
|
91
|
-
onEnded:
|
|
92
|
-
onPlaying:
|
|
93
|
-
onPause:
|
|
94
|
-
onTimeupdate:
|
|
89
|
+
onProgress: P,
|
|
90
|
+
onPlay: A,
|
|
91
|
+
onEnded: k,
|
|
92
|
+
onPlaying: L,
|
|
93
|
+
onPause: w,
|
|
94
|
+
onTimeupdate: D,
|
|
95
95
|
onError: x,
|
|
96
96
|
onVolumechange: O
|
|
97
97
|
}, [
|
|
98
|
-
|
|
98
|
+
c("source", { src: d(_) }, null, 8, U)
|
|
99
99
|
], 40, R), [
|
|
100
100
|
[B, !1]
|
|
101
101
|
]),
|
|
102
|
-
|
|
102
|
+
c("div", {
|
|
103
103
|
class: T(["audio-svg", {
|
|
104
104
|
animation: d(n)
|
|
105
105
|
}])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p, watch as O, createElementBlock as _, openBlock as F, ref as R, onMounted as k } from "vue";
|
|
2
2
|
import { cloneDeep as w, isEqual as z } from "lodash";
|
|
3
3
|
import d from "flv.js";
|
|
4
|
-
import { SHJParseEvent as s } from "@
|
|
4
|
+
import { SHJParseEvent as s } from "@shjjs/visual-core";
|
|
5
5
|
const B = ["poster", "autoplay", "controls", "loop", "muted"], M = p({ name: "zv-media-flv" }), C = /* @__PURE__ */ p({
|
|
6
6
|
...M,
|
|
7
7
|
props: {
|
|
@@ -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
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-38a2d7e8"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, ref as l, createElementBlock as f, openBlock as c } from "vue";
|
|
2
2
|
import { isArray as p } from "lodash";
|
|
3
|
-
import { SHJParseEvent as d } from "@
|
|
3
|
+
import { SHJParseEvent as d } from "@shjjs/visual-core";
|
|
4
4
|
const u = ["src"], v = a({ name: "zv-media-iframe" }), b = /* @__PURE__ */ a({
|
|
5
5
|
...v,
|
|
6
6
|
props: {
|