@shjjs/visual-ui 1.0.36 → 1.0.37
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/earth/main.vue.d.ts +2 -2
- package/es/commons/core/useChart.mjs +257 -73
- package/es/components/chart/commons/components/common-chart/index.vue.mjs +213 -30
- package/es/components/chart/commons/components/common-chart-map/index.vue.mjs +210 -27
- package/es/components/chart/commons/hooks/useChart.mjs +261 -77
- package/es/components/chart/src/map/bmap-basic/index.vue.d.ts +8 -8
- package/es/components/chart/src/map/bmap-heatmap/index.vue.d.ts +6 -2
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +212 -29
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +213 -30
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +214 -31
- package/es/components/chart-other-circular-graph/index.vue.mjs +214 -31
- package/es/components/chart-other-force/index.vue.mjs +212 -29
- package/es/components/chart-other-force2/index.vue.mjs +212 -29
- package/es/components/chart-other-funnel/index.vue.mjs +214 -31
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +214 -31
- package/es/components/chart-other-funnel-split/index.vue.mjs +214 -31
- package/es/components/chart-other-funnel2/index.vue.mjs +214 -31
- package/es/components/chart-other-gauge/index.vue.mjs +214 -31
- package/es/components/chart-other-gauge-grade/index.vue.mjs +214 -31
- package/es/components/chart-other-gauge-stage/index.vue.mjs +214 -31
- package/es/components/chart-other-graph-basic/index.vue.mjs +214 -31
- package/es/components/chart-other-graph-basic2/index.vue.mjs +214 -31
- package/es/components/chart-other-graph-calendar/index.vue.mjs +214 -31
- package/es/components/chart-other-grid-percentage/index.vue.mjs +218 -35
- package/es/components/chart-other-heatmap/index.vue.mjs +212 -29
- package/es/components/chart-other-label-gauge/index.vue.mjs +216 -33
- package/es/components/chart-other-liquidfill/index.vue.mjs +214 -31
- package/es/components/chart-other-parallel-basic/index.vue.mjs +214 -31
- package/es/components/chart-other-parallel-mul/index.vue.mjs +211 -28
- package/es/components/chart-other-radar/index.vue.mjs +224 -41
- package/es/components/chart-other-radar-stack/index.vue.mjs +211 -28
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-book/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +214 -31
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +212 -29
- package/es/components/chart-other-theme-river/index.vue.mjs +216 -33
- package/es/components/chart-other-tree/index.vue.mjs +214 -31
- package/es/components/chart-other-tree-line/index.vue.mjs +214 -31
- package/es/components/chart-other-treemap/index.vue.mjs +214 -31
- package/es/components/chart-other-treemap-basic/index.vue.mjs +214 -31
- package/es/components/chart-other-word-cloud/index.vue.mjs +216 -33
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +219 -35
- package/es/components/commons-loop-iterator/index.vue.mjs +1 -1
- package/es/components/commons-loop-iterator/index.vue2.mjs +218 -35
- package/es/components/commons-product-model/index.vue.mjs +2 -2
- package/es/components/commons-product-model/index.vue2.mjs +246 -62
- package/es/components/commons-three-loader/index.vue.mjs +2 -2
- package/es/components/commons-three-loader/index.vue2.mjs +257 -73
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +301 -117
- package/es/components/commons-weather/index.vue.mjs +1 -1
- package/es/components/commons-weather/index.vue2.mjs +233 -48
- package/es/components/commons-weather-dynamic/index.vue.mjs +2 -2
- package/es/components/commons-weather-dynamic/index.vue2.mjs +236 -52
- package/es/components/interaction/button/index.vue.mjs +2 -2
- package/es/components/interaction/button/index.vue2.mjs +252 -68
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +1 -1
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +324 -140
- package/es/components/interaction/tabs/index.vue.mjs +223 -39
- package/es/components/interaction/tabs-icon/index.vue.mjs +225 -41
- package/es/components/interaction-input/index.vue.mjs +1 -1
- package/es/components/interaction-input/index.vue2.mjs +244 -61
- package/es/components/interaction-select/index.vue.mjs +1 -1
- package/es/components/interaction-select/index.vue2.mjs +269 -86
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +248 -65
- package/es/components/interaction-switch/index.vue.mjs +1 -1
- package/es/components/interaction-switch/index.vue2.mjs +217 -33
- package/es/components/interaction-tabs/index.vue.mjs +1 -1
- package/es/components/interaction-tabs/index.vue2.mjs +221 -37
- package/es/components/interaction-tabs2/index.vue.mjs +2 -2
- package/es/components/interaction-tabs2/index.vue2.mjs +219 -35
- package/es/components/map-earth-basic/index.d.ts +2 -2
- package/es/components/map-earth-basic/index.vue.d.ts +2 -2
- package/es/components/map-earth-basic/index.vue.mjs +286 -103
- package/es/components/map-earth-cool-tech/index.d.ts +2 -2
- package/es/components/map-earth-cool-tech/index.vue.d.ts +4 -6
- package/es/components/map-earth-cool-tech/index.vue.mjs +286 -103
- package/es/components/map-earth-fly-line/index.d.ts +2 -2
- package/es/components/map-earth-fly-line/index.vue.d.ts +2 -2
- package/es/components/map-earth-fly-line/index.vue.mjs +286 -103
- package/es/components/map-earth-hacker/index.d.ts +2 -2
- package/es/components/map-earth-hacker/index.vue.d.ts +2 -2
- package/es/components/map-earth-hacker/index.vue.mjs +286 -103
- package/es/components/map-earth-particle/index.d.ts +2 -2
- package/es/components/map-earth-particle/index.vue.d.ts +2 -2
- package/es/components/map-earth-particle/index.vue.mjs +286 -103
- package/es/components/media-audio/index.vue.mjs +2 -2
- package/es/components/media-audio/index.vue2.mjs +220 -36
- package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue2.mjs +226 -43
- package/es/components/media-flv/index.vue.mjs +219 -35
- package/es/components/media-iframe/index.vue.mjs +2 -2
- package/es/components/media-iframe/index.vue2.mjs +199 -15
- package/es/components/media-iframe-dynamic/index.vue.mjs +2 -2
- package/es/components/media-iframe-dynamic/index.vue2.mjs +219 -36
- package/es/components/media-image-dynamic/index.vue.mjs +1 -1
- package/es/components/media-image-dynamic/index.vue2.mjs +207 -24
- package/es/components/media-m3u8/index.vue.mjs +221 -37
- package/es/components/media-m3u8-dynamic/index.vue.mjs +228 -45
- package/es/components/media-video/index.vue.mjs +1 -1
- package/es/components/media-video/index.vue2.mjs +216 -31
- package/es/components/media-video-dynamic/index.vue.mjs +1 -1
- package/es/components/media-video-dynamic/index.vue2.mjs +223 -40
- package/es/components/scene-amap2d/index.vue.mjs +2 -2
- package/es/components/scene-amap2d/index.vue2.mjs +376 -192
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +414 -231
- package/es/components/scene-default/index.vue.mjs +2 -2
- package/es/components/scene-default/index.vue2.mjs +201 -16
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +289 -106
- package/es/components/scene-ue-iframe/index.vue.mjs +1 -1
- package/es/components/scene-ue-iframe/index.vue2.mjs +212 -27
- package/es/components/scene-ue-shj/index.vue.mjs +2 -2
- package/es/components/scene-ue-shj/index.vue2.mjs +200 -15
- package/es/components/scene-unity-iframe/index.vue.mjs +1 -1
- package/es/components/scene-unity-iframe/index.vue2.mjs +204 -19
- package/es/components/scene-unity-webgl/index.vue.mjs +2 -2
- package/es/components/scene-unity-webgl/index.vue2.mjs +204 -19
- package/es/components/scene-vr/index.vue.mjs +2 -2
- package/es/components/scene-vr/index.vue2.mjs +307 -123
- package/es/components/text/list/index.vue.mjs +240 -56
- package/es/components/text-count-down/index.vue.mjs +2 -2
- package/es/components/text-count-down/index.vue2.mjs +245 -60
- package/es/components/text-over-number/index.vue.mjs +2 -2
- package/es/components/text-over-number/index.vue2.mjs +243 -60
- package/es/components/text-real-time/index.vue.mjs +1 -1
- package/es/components/text-real-time/index.vue2.mjs +212 -28
- package/es/components/text-row-scroll/index.vue.mjs +2 -2
- package/es/components/text-row-scroll/index.vue2.mjs +289 -106
- package/es/components/text-table-basic/index.vue.mjs +2 -2
- package/es/components/text-table-basic/index.vue2.mjs +286 -103
- package/es/components/text-table-scroll/index.vue.mjs +1 -1
- package/es/components/text-table-scroll/index.vue2.mjs +291 -108
- package/es/components/text-text-dynamic/index.vue.mjs +2 -2
- package/es/components/text-text-dynamic/index.vue2.mjs +218 -35
- package/es/index.d.ts +1 -0
- package/es/index.mjs +375 -361
- package/es/plugins/datasource/index.mjs +217 -0
- package/es/plugins/datasource/sources/api.mjs +32 -0
- package/es/plugins/datasource/sources/static.mjs +17 -0
- package/es/plugins/datasource/sources/storage.mjs +28 -0
- package/es/plugins/datasource/sources/url.mjs +17 -0
- package/es/plugins/datasource/sources/variable.mjs +17 -0
- package/es/plugins/datasource/sources/ws.mjs +139 -0
- package/es/plugins/datasource/utils/axios.mjs +134 -0
- package/es/plugins/datasource/utils/request.mjs +5 -0
- package/es/plugins/datasource/utils/utils.mjs +229 -0
- package/es/plugins/datasource/utils/wsManager.mjs +78 -0
- package/es/plugins/event/actions/fullScreenAction.mjs +8 -0
- package/es/plugins/event/actions/invokeAction.mjs +11 -0
- package/es/plugins/event/actions/linkAction.mjs +8 -0
- package/es/plugins/event/actions/moveAction.mjs +15 -0
- package/es/plugins/event/actions/refreshVariableAction.mjs +18 -0
- package/es/plugins/event/actions/rotateAction.mjs +19 -0
- package/es/plugins/event/actions/scaleAction.mjs +24 -0
- package/es/plugins/event/actions/sendApiAction.mjs +16 -0
- package/es/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -0
- package/es/plugins/event/actions/ueShjExecMethodAction.mjs +31 -0
- package/es/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -0
- package/es/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -0
- package/es/plugins/event/actions/updatePageAction.mjs +6 -0
- package/es/plugins/event/actions/updateVariableAction.mjs +25 -0
- package/es/plugins/event/actions/updateWidgetAction.mjs +14 -0
- package/es/plugins/event/actions/vrSceneMethodAction.mjs +12 -0
- package/es/plugins/event/index.mjs +161 -0
- package/es/plugins/event/utils/utils.mjs +50 -0
- package/es/plugins/utils/componentRefs.mjs +37 -0
- package/es/plugins/utils/getNextElement.mjs +12 -0
- package/es/widgets.css +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,192 @@
|
|
|
1
|
-
import { defineComponent as E, watch as
|
|
2
|
-
import
|
|
3
|
-
import { cloneDeep as
|
|
1
|
+
import { defineComponent as E, watch as v, createElementBlock as D, openBlock as T, unref as H, ref as s, onMounted as z } from "vue";
|
|
2
|
+
import a from "hls.js";
|
|
3
|
+
import { cloneDeep as l, isEqual as c } from "lodash";
|
|
4
4
|
import { nanoid as A } from "nanoid";
|
|
5
|
-
import
|
|
6
|
-
|
|
5
|
+
import "../text-text-basic/index.mjs";
|
|
6
|
+
import "../text-table-basic/index.mjs";
|
|
7
|
+
import "../chart-other-gauge/index.mjs";
|
|
8
|
+
import "../chart-other-gauge-stage/index.mjs";
|
|
9
|
+
import "../chart-other-gauge-grade/index.mjs";
|
|
10
|
+
import "../chart-other-word-cloud/index.mjs";
|
|
11
|
+
import "../chart-other-liquidfill/index.mjs";
|
|
12
|
+
import "../chart-other-funnel/index.mjs";
|
|
13
|
+
import "../chart-other-force/index.mjs";
|
|
14
|
+
import "../chart-other-radar/index.mjs";
|
|
15
|
+
import "../chart-other-funnel-split/index.mjs";
|
|
16
|
+
import "../chart-other-funnel-contrast/index.mjs";
|
|
17
|
+
import "../chart-other-candlestick-basic/index.mjs";
|
|
18
|
+
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
19
|
+
import "../chart-other-candlestick-demo/index.mjs";
|
|
20
|
+
import "../chart-other-heatmap/index.mjs";
|
|
21
|
+
import "../chart-other-force2/index.mjs";
|
|
22
|
+
import "../chart-other-graph-basic/index.mjs";
|
|
23
|
+
import "../chart-other-graph-basic2/index.mjs";
|
|
24
|
+
import "../chart-other-graph-calendar/index.mjs";
|
|
25
|
+
import "../chart-other-tree-line/index.mjs";
|
|
26
|
+
import "../chart-other-treemap-basic/index.mjs";
|
|
27
|
+
import "../chart-other-sunburst-basic/index.mjs";
|
|
28
|
+
import "../chart-other-sunburst-basic2/index.mjs";
|
|
29
|
+
import "../chart-other-sunburst-basic3/index.mjs";
|
|
30
|
+
import "../chart-other-sunburst-basic4/index.mjs";
|
|
31
|
+
import "../chart-other-sunburst-book/index.mjs";
|
|
32
|
+
import "../chart-other-sunburst-radius/index.mjs";
|
|
33
|
+
import "../chart-other-sunburst-flavors/index.mjs";
|
|
34
|
+
import "../chart-other-parallel-basic/index.mjs";
|
|
35
|
+
import "../chart-other-parallel-mul/index.mjs";
|
|
36
|
+
import "../chart-other-circular-graph/index.mjs";
|
|
37
|
+
import "../map-earth-basic/index.mjs";
|
|
38
|
+
import "../map-earth-cool-tech/index.mjs";
|
|
39
|
+
import "../map-earth-particle/index.mjs";
|
|
40
|
+
import "../map-earth-hacker/index.mjs";
|
|
41
|
+
import "../map-earth-fly-line/index.mjs";
|
|
42
|
+
import "../chart-other-grid-percentage/index.mjs";
|
|
43
|
+
import "../chart-other-radar-stack/index.mjs";
|
|
44
|
+
import "../chart-other-funnel2/index.mjs";
|
|
45
|
+
import "../chart-other-label-gauge/index.mjs";
|
|
46
|
+
import "../chart-other-theme-river/index.mjs";
|
|
47
|
+
import "../chart-other-tree/index.mjs";
|
|
48
|
+
import "../chart-other-treemap/index.mjs";
|
|
49
|
+
import "../commons-product-model/index.mjs";
|
|
50
|
+
import "../commons-vr-photo/index.mjs";
|
|
51
|
+
import "../commons-vr-video/index.mjs";
|
|
52
|
+
import "../commons-three-loader/index.mjs";
|
|
53
|
+
import "../commons-three-loader3/index.mjs";
|
|
54
|
+
import "../commons-loop-iterator/index.mjs";
|
|
55
|
+
import "../commons-gaussian-splatting-view/index.mjs";
|
|
56
|
+
import "../commons-babylon/index.mjs";
|
|
57
|
+
import "../commons-svg/index.mjs";
|
|
58
|
+
import "../commons-weather/index.mjs";
|
|
59
|
+
import "../commons-weather-dynamic/index.mjs";
|
|
60
|
+
import "../media-wavesurfer/index.mjs";
|
|
61
|
+
import "../interaction-tabs/index.mjs";
|
|
62
|
+
import "../interaction-tabs2/index.mjs";
|
|
63
|
+
import "../interaction-button/index.mjs";
|
|
64
|
+
import "../interaction-button-image/index.mjs";
|
|
65
|
+
import "../interaction-select/index.mjs";
|
|
66
|
+
import "../interaction-input/index.mjs";
|
|
67
|
+
import "../interaction-radio/index.mjs";
|
|
68
|
+
import "../interaction-slider/index.mjs";
|
|
69
|
+
import "../interaction-switch/index.mjs";
|
|
70
|
+
import "../interaction-data-picker/index.mjs";
|
|
71
|
+
import "../interaction-button-refresh/index.mjs";
|
|
72
|
+
import "../media-image/index.mjs";
|
|
73
|
+
import "../text-title/index.mjs";
|
|
74
|
+
import "../commons-qrcode/index.mjs";
|
|
75
|
+
import "../media-video/index.mjs";
|
|
76
|
+
import "../media-audio/index.mjs";
|
|
77
|
+
import "../text-real-time/index.mjs";
|
|
78
|
+
import "../media-carousel/index.mjs";
|
|
79
|
+
import "../media-carousel-slides/index.mjs";
|
|
80
|
+
import "../media-iframe-carousel/index.mjs";
|
|
81
|
+
import "../media-iframe/index.mjs";
|
|
82
|
+
import "../media-m3u8/index.mjs";
|
|
83
|
+
import "./index.mjs";
|
|
84
|
+
import "../media-audio-dynamic/index.mjs";
|
|
85
|
+
import "../media-video-dynamic/index.mjs";
|
|
86
|
+
import "../media-image-dynamic/index.mjs";
|
|
87
|
+
import "../media-iframe-dynamic/index.mjs";
|
|
88
|
+
import "../media-flv/index.mjs";
|
|
89
|
+
import "../commons-echarts/index.mjs";
|
|
90
|
+
import "../text-over-number/index.mjs";
|
|
91
|
+
import "../text-table-scroll/index.mjs";
|
|
92
|
+
import "../text-carousel/index.mjs";
|
|
93
|
+
import "../text-row-scroll/index.mjs";
|
|
94
|
+
import "../text-text-dynamic/index.mjs";
|
|
95
|
+
import "../text-count-down/index.mjs";
|
|
96
|
+
import "../graphical-circle/index.mjs";
|
|
97
|
+
import "../graphical-diamond/index.mjs";
|
|
98
|
+
import "../graphical-hexagon/index.mjs";
|
|
99
|
+
import "../graphical-isosceles-triangle/index.mjs";
|
|
100
|
+
import "../graphical-pentagon/index.mjs";
|
|
101
|
+
import "../graphical-rect/index.mjs";
|
|
102
|
+
import "../graphical-right-triangle/index.mjs";
|
|
103
|
+
import "../scene-map3d/index.mjs";
|
|
104
|
+
import "../scene-amap2d/index.mjs";
|
|
105
|
+
import "../scene-amap3d/index.mjs";
|
|
106
|
+
import "../scene-vr/index.mjs";
|
|
107
|
+
import "../scene-unity-iframe/index.mjs";
|
|
108
|
+
import "../scene-unity-webgl/index.mjs";
|
|
109
|
+
import "../scene-ue-iframe/index.mjs";
|
|
110
|
+
import "../scene-ue-shj/index.mjs";
|
|
111
|
+
import "../scene-default/index.mjs";
|
|
112
|
+
import "../interaction/tabs/index.mjs";
|
|
113
|
+
import "../interaction/tabs-icon/index.mjs";
|
|
114
|
+
import "../interaction/button/index.mjs";
|
|
115
|
+
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
116
|
+
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
117
|
+
import "../text/list/index.mjs";
|
|
118
|
+
import "../chart/src/bar/basic/index.mjs";
|
|
119
|
+
import "../chart/src/bar/animation/index.mjs";
|
|
120
|
+
import "../chart/src/bar/contrast/index.mjs";
|
|
121
|
+
import "../chart/src/bar/contrast2/index.mjs";
|
|
122
|
+
import "../chart/src/bar/contrast3/index.mjs";
|
|
123
|
+
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
124
|
+
import "../chart/src/bar/horizontal/index.mjs";
|
|
125
|
+
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
126
|
+
import "../chart/src/bar/line-bar/index.mjs";
|
|
127
|
+
import "../chart/src/bar/line-bar2/index.mjs";
|
|
128
|
+
import "../chart/src/bar/loop/index.mjs";
|
|
129
|
+
import "../chart/src/bar/mini/index.mjs";
|
|
130
|
+
import "../chart/src/bar/polar/index.mjs";
|
|
131
|
+
import "../chart/src/bar/polar-stack/index.mjs";
|
|
132
|
+
import "../chart/src/bar/polar2/index.mjs";
|
|
133
|
+
import "../chart/src/bar/radius-circle/index.mjs";
|
|
134
|
+
import "../chart/src/bar/rank/index.mjs";
|
|
135
|
+
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
136
|
+
import "../chart/src/bar/spire/index.mjs";
|
|
137
|
+
import "../chart/src/bar/stack/index.mjs";
|
|
138
|
+
import "../chart/src/bar/stack-line/index.mjs";
|
|
139
|
+
import "../chart/src/bar/stack2/index.mjs";
|
|
140
|
+
import "../chart/src/bar/stack3/index.mjs";
|
|
141
|
+
import "../chart/src/bar/staggered/index.mjs";
|
|
142
|
+
import "../chart/src/bar/three/index.mjs";
|
|
143
|
+
import "../chart/src/bar/waterfall/index.mjs";
|
|
144
|
+
import "../chart/src/bar/zebra/index.mjs";
|
|
145
|
+
import "../chart/src/line/area-gradient/index.mjs";
|
|
146
|
+
import "../chart/src/line/area-highlight/index.mjs";
|
|
147
|
+
import "../chart/src/line/area-highlight2/index.mjs";
|
|
148
|
+
import "../chart/src/line/basic/index.mjs";
|
|
149
|
+
import "../chart/src/line/bump/index.mjs";
|
|
150
|
+
import "../chart/src/line/dashed/index.mjs";
|
|
151
|
+
import "../chart/src/line/ladder/index.mjs";
|
|
152
|
+
import "../chart/src/line/logarithm/index.mjs";
|
|
153
|
+
import "../chart/src/line/multix/index.mjs";
|
|
154
|
+
import "../chart/src/line/polar-double/index.mjs";
|
|
155
|
+
import "../chart/src/line/rain-flow/index.mjs";
|
|
156
|
+
import "../chart/src/line/scale/index.mjs";
|
|
157
|
+
import "../chart/src/line/smooth/index.mjs";
|
|
158
|
+
import "../chart/src/line/smooth-area/index.mjs";
|
|
159
|
+
import "../chart/src/line/stack/index.mjs";
|
|
160
|
+
import "../chart/src/line/stack-area/index.mjs";
|
|
161
|
+
import "../chart/src/line/temp/index.mjs";
|
|
162
|
+
import "../chart/src/line/vertical/index.mjs";
|
|
163
|
+
import "../chart/src/map/basic/index.mjs";
|
|
164
|
+
import "../chart/src/map/bmap-basic/index.mjs";
|
|
165
|
+
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
166
|
+
import "../chart/src/map/bmap-rich/index.mjs";
|
|
167
|
+
import "../chart/src/map/customize/index.mjs";
|
|
168
|
+
import "../chart/src/map/lines/index.mjs";
|
|
169
|
+
import "../chart/src/map/scatter/index.mjs";
|
|
170
|
+
import "../chart/src/pie/3d/index.mjs";
|
|
171
|
+
import "../chart/src/pie/basic/index.mjs";
|
|
172
|
+
import "../chart/src/pie/basic2/index.mjs";
|
|
173
|
+
import "../chart/src/pie/customized/index.mjs";
|
|
174
|
+
import "../chart/src/pie/index/index.mjs";
|
|
175
|
+
import "../chart/src/pie/interval/index.mjs";
|
|
176
|
+
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
177
|
+
import "../chart/src/pie/radius/index.mjs";
|
|
178
|
+
import "../chart/src/pie/rose/index.mjs";
|
|
179
|
+
import "../chart/src/pie/round/index.mjs";
|
|
180
|
+
import "../chart/src/pie/sunburst/index.mjs";
|
|
181
|
+
import "../chart/src/scatter/basic/index.mjs";
|
|
182
|
+
import "../chart/src/scatter/basic2/index.mjs";
|
|
183
|
+
import "../chart/src/scatter/bubble/index.mjs";
|
|
184
|
+
import "../chart/src/scatter/ripples/index.mjs";
|
|
185
|
+
/* empty css */
|
|
186
|
+
/* empty css */
|
|
187
|
+
import { SHJDatasourceV2 as B } from "../../plugins/datasource/index.mjs";
|
|
188
|
+
import { SHJParseEvent as i } from "../../plugins/event/index.mjs";
|
|
189
|
+
const I = ["poster", "autoplay", "controls", "loop", "muted"], J = E({ name: "zv-media-m3u8-dynamic" }), ur = /* @__PURE__ */ E({
|
|
7
190
|
...J,
|
|
8
191
|
props: {
|
|
9
192
|
basicOption: {},
|
|
@@ -22,72 +205,72 @@ const I = ["poster", "autoplay", "controls", "loop", "muted"], J = E({ name: "zv
|
|
|
22
205
|
"on-video-volumechange"
|
|
23
206
|
],
|
|
24
207
|
setup(f, { expose: y, emit: g }) {
|
|
25
|
-
const
|
|
26
|
-
const
|
|
208
|
+
const o = f, V = () => {
|
|
209
|
+
const t = s(), r = s(""), w = s(A()), d = () => {
|
|
27
210
|
B.parse({
|
|
28
|
-
tId:
|
|
29
|
-
sources:
|
|
30
|
-
callback: ({ data:
|
|
211
|
+
tId: o.uuid,
|
|
212
|
+
sources: o.sources,
|
|
213
|
+
callback: ({ data: u }) => {
|
|
31
214
|
try {
|
|
32
|
-
if (
|
|
33
|
-
if (
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
215
|
+
if (i.parseEvents(o.useEvents, "dataListener", u), r.value = u[0].data[0].src, r.value)
|
|
216
|
+
if (a.isSupported()) {
|
|
217
|
+
const n = new a();
|
|
218
|
+
n.loadSource(r.value), n.attachMedia(t.value), n.on(a.Events.MANIFEST_PARSED, () => {
|
|
219
|
+
o.basicOption.autoplay && t.value.play();
|
|
37
220
|
});
|
|
38
|
-
} else
|
|
221
|
+
} else t.value.canPlayType("application/vnd.apple.mpegurl") && (t.value.src = r.value);
|
|
39
222
|
} catch {
|
|
40
|
-
|
|
223
|
+
i.parseEvents(o.useEvents, "dataListener", null);
|
|
41
224
|
}
|
|
42
225
|
}
|
|
43
226
|
});
|
|
44
227
|
};
|
|
45
|
-
return z(() =>
|
|
46
|
-
}, { key: h, videoRef:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}, { deep: !0 }),
|
|
50
|
-
|
|
228
|
+
return z(() => d()), { key: w, videoRef: t, initM3u8Video: d };
|
|
229
|
+
}, { key: h, videoRef: e, initM3u8Video: m } = V();
|
|
230
|
+
v(() => l(o.basicOption), (t, r) => {
|
|
231
|
+
c(t, r) || m();
|
|
232
|
+
}, { deep: !0 }), v(() => l(o.sources), (t, r) => {
|
|
233
|
+
c(t, r) || m();
|
|
51
234
|
}, { deep: !0 });
|
|
52
|
-
const
|
|
53
|
-
|
|
235
|
+
const p = g, P = () => {
|
|
236
|
+
p("on-video-progress"), i.parseEvents(o.useEvents, "on-video-progress");
|
|
54
237
|
}, b = () => {
|
|
55
|
-
|
|
238
|
+
p("on-video-play"), i.parseEvents(o.useEvents, "on-video-play");
|
|
56
239
|
}, k = () => {
|
|
57
|
-
|
|
240
|
+
p("on-video-pause"), i.parseEvents(o.useEvents, "on-video-pause");
|
|
58
241
|
}, O = () => {
|
|
59
|
-
|
|
242
|
+
p("on-video-ended"), i.parseEvents(o.useEvents, "on-video-ended");
|
|
60
243
|
}, M = () => {
|
|
61
|
-
|
|
244
|
+
p("on-video-playing"), i.parseEvents(o.useEvents, "on-video-playing");
|
|
62
245
|
}, _ = () => {
|
|
63
|
-
|
|
246
|
+
p("on-video-timeupdate"), i.parseEvents(o.useEvents, "on-video-timeupdate");
|
|
64
247
|
}, S = () => {
|
|
65
|
-
|
|
248
|
+
p("on-video-error"), i.parseEvents(o.useEvents, "on-video-error");
|
|
66
249
|
}, R = () => {
|
|
67
|
-
|
|
250
|
+
p("on-video-volumechange"), i.parseEvents(o.useEvents, "on-video-volumechange");
|
|
68
251
|
};
|
|
69
252
|
return y({
|
|
70
253
|
/** 开始播放 */
|
|
71
254
|
play: () => {
|
|
72
|
-
|
|
255
|
+
e.value && e.value.play();
|
|
73
256
|
},
|
|
74
257
|
/** 暂停播放 */
|
|
75
258
|
pause: () => {
|
|
76
|
-
|
|
259
|
+
e.value && e.value.pause();
|
|
77
260
|
},
|
|
78
|
-
refresh: () =>
|
|
79
|
-
refreshView: () =>
|
|
80
|
-
refreshData: () =>
|
|
81
|
-
}), (
|
|
261
|
+
refresh: () => m(),
|
|
262
|
+
refreshView: () => m(),
|
|
263
|
+
refreshData: () => m()
|
|
264
|
+
}), (t, r) => (T(), D("video", {
|
|
82
265
|
key: H(h),
|
|
83
266
|
ref_key: "videoRef",
|
|
84
|
-
ref:
|
|
267
|
+
ref: e,
|
|
85
268
|
class: "zerov-widget",
|
|
86
|
-
poster:
|
|
87
|
-
autoplay:
|
|
88
|
-
controls:
|
|
89
|
-
loop:
|
|
90
|
-
muted:
|
|
269
|
+
poster: t.basicOption.poster,
|
|
270
|
+
autoplay: t.basicOption.autoplay,
|
|
271
|
+
controls: t.basicOption.controls,
|
|
272
|
+
loop: t.basicOption.loop,
|
|
273
|
+
muted: t.basicOption.muted,
|
|
91
274
|
onProgress: P,
|
|
92
275
|
onPlay: b,
|
|
93
276
|
onEnded: O,
|
|
@@ -100,5 +283,5 @@ const I = ["poster", "autoplay", "controls", "loop", "muted"], J = E({ name: "zv
|
|
|
100
283
|
}
|
|
101
284
|
});
|
|
102
285
|
export {
|
|
103
|
-
|
|
286
|
+
ur as default
|
|
104
287
|
};
|
|
@@ -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-b5d1ca5c"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,192 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as e, ref as m, createElementBlock as P, openBlock as V } from "vue";
|
|
2
2
|
import { nanoid as b } from "nanoid";
|
|
3
|
-
import
|
|
4
|
-
|
|
3
|
+
import "../text-text-basic/index.mjs";
|
|
4
|
+
import "../text-table-basic/index.mjs";
|
|
5
|
+
import "../chart-other-gauge/index.mjs";
|
|
6
|
+
import "../chart-other-gauge-stage/index.mjs";
|
|
7
|
+
import "../chart-other-gauge-grade/index.mjs";
|
|
8
|
+
import "../chart-other-word-cloud/index.mjs";
|
|
9
|
+
import "../chart-other-liquidfill/index.mjs";
|
|
10
|
+
import "../chart-other-funnel/index.mjs";
|
|
11
|
+
import "../chart-other-force/index.mjs";
|
|
12
|
+
import "../chart-other-radar/index.mjs";
|
|
13
|
+
import "../chart-other-funnel-split/index.mjs";
|
|
14
|
+
import "../chart-other-funnel-contrast/index.mjs";
|
|
15
|
+
import "../chart-other-candlestick-basic/index.mjs";
|
|
16
|
+
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
17
|
+
import "../chart-other-candlestick-demo/index.mjs";
|
|
18
|
+
import "../chart-other-heatmap/index.mjs";
|
|
19
|
+
import "../chart-other-force2/index.mjs";
|
|
20
|
+
import "../chart-other-graph-basic/index.mjs";
|
|
21
|
+
import "../chart-other-graph-basic2/index.mjs";
|
|
22
|
+
import "../chart-other-graph-calendar/index.mjs";
|
|
23
|
+
import "../chart-other-tree-line/index.mjs";
|
|
24
|
+
import "../chart-other-treemap-basic/index.mjs";
|
|
25
|
+
import "../chart-other-sunburst-basic/index.mjs";
|
|
26
|
+
import "../chart-other-sunburst-basic2/index.mjs";
|
|
27
|
+
import "../chart-other-sunburst-basic3/index.mjs";
|
|
28
|
+
import "../chart-other-sunburst-basic4/index.mjs";
|
|
29
|
+
import "../chart-other-sunburst-book/index.mjs";
|
|
30
|
+
import "../chart-other-sunburst-radius/index.mjs";
|
|
31
|
+
import "../chart-other-sunburst-flavors/index.mjs";
|
|
32
|
+
import "../chart-other-parallel-basic/index.mjs";
|
|
33
|
+
import "../chart-other-parallel-mul/index.mjs";
|
|
34
|
+
import "../chart-other-circular-graph/index.mjs";
|
|
35
|
+
import "../map-earth-basic/index.mjs";
|
|
36
|
+
import "../map-earth-cool-tech/index.mjs";
|
|
37
|
+
import "../map-earth-particle/index.mjs";
|
|
38
|
+
import "../map-earth-hacker/index.mjs";
|
|
39
|
+
import "../map-earth-fly-line/index.mjs";
|
|
40
|
+
import "../chart-other-grid-percentage/index.mjs";
|
|
41
|
+
import "../chart-other-radar-stack/index.mjs";
|
|
42
|
+
import "../chart-other-funnel2/index.mjs";
|
|
43
|
+
import "../chart-other-label-gauge/index.mjs";
|
|
44
|
+
import "../chart-other-theme-river/index.mjs";
|
|
45
|
+
import "../chart-other-tree/index.mjs";
|
|
46
|
+
import "../chart-other-treemap/index.mjs";
|
|
47
|
+
import "../commons-product-model/index.mjs";
|
|
48
|
+
import "../commons-vr-photo/index.mjs";
|
|
49
|
+
import "../commons-vr-video/index.mjs";
|
|
50
|
+
import "../commons-three-loader/index.mjs";
|
|
51
|
+
import "../commons-three-loader3/index.mjs";
|
|
52
|
+
import "../commons-loop-iterator/index.mjs";
|
|
53
|
+
import "../commons-gaussian-splatting-view/index.mjs";
|
|
54
|
+
import "../commons-babylon/index.mjs";
|
|
55
|
+
import "../commons-svg/index.mjs";
|
|
56
|
+
import "../commons-weather/index.mjs";
|
|
57
|
+
import "../commons-weather-dynamic/index.mjs";
|
|
58
|
+
import "../media-wavesurfer/index.mjs";
|
|
59
|
+
import "../interaction-tabs/index.mjs";
|
|
60
|
+
import "../interaction-tabs2/index.mjs";
|
|
61
|
+
import "../interaction-button/index.mjs";
|
|
62
|
+
import "../interaction-button-image/index.mjs";
|
|
63
|
+
import "../interaction-select/index.mjs";
|
|
64
|
+
import "../interaction-input/index.mjs";
|
|
65
|
+
import "../interaction-radio/index.mjs";
|
|
66
|
+
import "../interaction-slider/index.mjs";
|
|
67
|
+
import "../interaction-switch/index.mjs";
|
|
68
|
+
import "../interaction-data-picker/index.mjs";
|
|
69
|
+
import "../interaction-button-refresh/index.mjs";
|
|
70
|
+
import "../media-image/index.mjs";
|
|
71
|
+
import "../text-title/index.mjs";
|
|
72
|
+
import "../commons-qrcode/index.mjs";
|
|
73
|
+
import "./index.mjs";
|
|
74
|
+
import "../media-audio/index.mjs";
|
|
75
|
+
import "../text-real-time/index.mjs";
|
|
76
|
+
import "../media-carousel/index.mjs";
|
|
77
|
+
import "../media-carousel-slides/index.mjs";
|
|
78
|
+
import "../media-iframe-carousel/index.mjs";
|
|
79
|
+
import "../media-iframe/index.mjs";
|
|
80
|
+
import "../media-m3u8/index.mjs";
|
|
81
|
+
import "../media-m3u8-dynamic/index.mjs";
|
|
82
|
+
import "../media-audio-dynamic/index.mjs";
|
|
83
|
+
import "../media-video-dynamic/index.mjs";
|
|
84
|
+
import "../media-image-dynamic/index.mjs";
|
|
85
|
+
import "../media-iframe-dynamic/index.mjs";
|
|
86
|
+
import "../media-flv/index.mjs";
|
|
87
|
+
import "../commons-echarts/index.mjs";
|
|
88
|
+
import "../text-over-number/index.mjs";
|
|
89
|
+
import "../text-table-scroll/index.mjs";
|
|
90
|
+
import "../text-carousel/index.mjs";
|
|
91
|
+
import "../text-row-scroll/index.mjs";
|
|
92
|
+
import "../text-text-dynamic/index.mjs";
|
|
93
|
+
import "../text-count-down/index.mjs";
|
|
94
|
+
import "../graphical-circle/index.mjs";
|
|
95
|
+
import "../graphical-diamond/index.mjs";
|
|
96
|
+
import "../graphical-hexagon/index.mjs";
|
|
97
|
+
import "../graphical-isosceles-triangle/index.mjs";
|
|
98
|
+
import "../graphical-pentagon/index.mjs";
|
|
99
|
+
import "../graphical-rect/index.mjs";
|
|
100
|
+
import "../graphical-right-triangle/index.mjs";
|
|
101
|
+
import "../scene-map3d/index.mjs";
|
|
102
|
+
import "../scene-amap2d/index.mjs";
|
|
103
|
+
import "../scene-amap3d/index.mjs";
|
|
104
|
+
import "../scene-vr/index.mjs";
|
|
105
|
+
import "../scene-unity-iframe/index.mjs";
|
|
106
|
+
import "../scene-unity-webgl/index.mjs";
|
|
107
|
+
import "../scene-ue-iframe/index.mjs";
|
|
108
|
+
import "../scene-ue-shj/index.mjs";
|
|
109
|
+
import "../scene-default/index.mjs";
|
|
110
|
+
import "../interaction/tabs/index.mjs";
|
|
111
|
+
import "../interaction/tabs-icon/index.mjs";
|
|
112
|
+
import "../interaction/button/index.mjs";
|
|
113
|
+
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
114
|
+
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
115
|
+
import "../text/list/index.mjs";
|
|
116
|
+
import "../chart/src/bar/basic/index.mjs";
|
|
117
|
+
import "../chart/src/bar/animation/index.mjs";
|
|
118
|
+
import "../chart/src/bar/contrast/index.mjs";
|
|
119
|
+
import "../chart/src/bar/contrast2/index.mjs";
|
|
120
|
+
import "../chart/src/bar/contrast3/index.mjs";
|
|
121
|
+
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
122
|
+
import "../chart/src/bar/horizontal/index.mjs";
|
|
123
|
+
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
124
|
+
import "../chart/src/bar/line-bar/index.mjs";
|
|
125
|
+
import "../chart/src/bar/line-bar2/index.mjs";
|
|
126
|
+
import "../chart/src/bar/loop/index.mjs";
|
|
127
|
+
import "../chart/src/bar/mini/index.mjs";
|
|
128
|
+
import "../chart/src/bar/polar/index.mjs";
|
|
129
|
+
import "../chart/src/bar/polar-stack/index.mjs";
|
|
130
|
+
import "../chart/src/bar/polar2/index.mjs";
|
|
131
|
+
import "../chart/src/bar/radius-circle/index.mjs";
|
|
132
|
+
import "../chart/src/bar/rank/index.mjs";
|
|
133
|
+
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
134
|
+
import "../chart/src/bar/spire/index.mjs";
|
|
135
|
+
import "../chart/src/bar/stack/index.mjs";
|
|
136
|
+
import "../chart/src/bar/stack-line/index.mjs";
|
|
137
|
+
import "../chart/src/bar/stack2/index.mjs";
|
|
138
|
+
import "../chart/src/bar/stack3/index.mjs";
|
|
139
|
+
import "../chart/src/bar/staggered/index.mjs";
|
|
140
|
+
import "../chart/src/bar/three/index.mjs";
|
|
141
|
+
import "../chart/src/bar/waterfall/index.mjs";
|
|
142
|
+
import "../chart/src/bar/zebra/index.mjs";
|
|
143
|
+
import "../chart/src/line/area-gradient/index.mjs";
|
|
144
|
+
import "../chart/src/line/area-highlight/index.mjs";
|
|
145
|
+
import "../chart/src/line/area-highlight2/index.mjs";
|
|
146
|
+
import "../chart/src/line/basic/index.mjs";
|
|
147
|
+
import "../chart/src/line/bump/index.mjs";
|
|
148
|
+
import "../chart/src/line/dashed/index.mjs";
|
|
149
|
+
import "../chart/src/line/ladder/index.mjs";
|
|
150
|
+
import "../chart/src/line/logarithm/index.mjs";
|
|
151
|
+
import "../chart/src/line/multix/index.mjs";
|
|
152
|
+
import "../chart/src/line/polar-double/index.mjs";
|
|
153
|
+
import "../chart/src/line/rain-flow/index.mjs";
|
|
154
|
+
import "../chart/src/line/scale/index.mjs";
|
|
155
|
+
import "../chart/src/line/smooth/index.mjs";
|
|
156
|
+
import "../chart/src/line/smooth-area/index.mjs";
|
|
157
|
+
import "../chart/src/line/stack/index.mjs";
|
|
158
|
+
import "../chart/src/line/stack-area/index.mjs";
|
|
159
|
+
import "../chart/src/line/temp/index.mjs";
|
|
160
|
+
import "../chart/src/line/vertical/index.mjs";
|
|
161
|
+
import "../chart/src/map/basic/index.mjs";
|
|
162
|
+
import "../chart/src/map/bmap-basic/index.mjs";
|
|
163
|
+
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
164
|
+
import "../chart/src/map/bmap-rich/index.mjs";
|
|
165
|
+
import "../chart/src/map/customize/index.mjs";
|
|
166
|
+
import "../chart/src/map/lines/index.mjs";
|
|
167
|
+
import "../chart/src/map/scatter/index.mjs";
|
|
168
|
+
import "../chart/src/pie/3d/index.mjs";
|
|
169
|
+
import "../chart/src/pie/basic/index.mjs";
|
|
170
|
+
import "../chart/src/pie/basic2/index.mjs";
|
|
171
|
+
import "../chart/src/pie/customized/index.mjs";
|
|
172
|
+
import "../chart/src/pie/index/index.mjs";
|
|
173
|
+
import "../chart/src/pie/interval/index.mjs";
|
|
174
|
+
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
175
|
+
import "../chart/src/pie/radius/index.mjs";
|
|
176
|
+
import "../chart/src/pie/rose/index.mjs";
|
|
177
|
+
import "../chart/src/pie/round/index.mjs";
|
|
178
|
+
import "../chart/src/pie/sunburst/index.mjs";
|
|
179
|
+
import "../chart/src/scatter/basic/index.mjs";
|
|
180
|
+
import "../chart/src/scatter/basic2/index.mjs";
|
|
181
|
+
import "../chart/src/scatter/bubble/index.mjs";
|
|
182
|
+
import "../chart/src/scatter/ripples/index.mjs";
|
|
183
|
+
/* empty css */
|
|
184
|
+
/* empty css */
|
|
185
|
+
import "lodash";
|
|
186
|
+
import "../../plugins/datasource/utils/request.mjs";
|
|
187
|
+
import "../../plugins/datasource/utils/wsManager.mjs";
|
|
188
|
+
import { SHJParseEvent as t } from "../../plugins/event/index.mjs";
|
|
189
|
+
const h = ["poster", "autoplay", "controls", "loop", "muted", "src"], O = e({ name: "zv-media-video" }), $t = /* @__PURE__ */ e({
|
|
5
190
|
...O,
|
|
6
191
|
props: {
|
|
7
192
|
basicOption: {},
|
|
@@ -18,49 +203,49 @@ const h = ["poster", "autoplay", "controls", "loop", "muted", "src"], O = a({ na
|
|
|
18
203
|
"on-video-error",
|
|
19
204
|
"on-video-volumechange"
|
|
20
205
|
],
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
|
|
206
|
+
setup(n, { expose: s, emit: a }) {
|
|
207
|
+
const o = n, d = m(b()), p = m(), i = a, v = () => {
|
|
208
|
+
i("on-video-progress"), t.parseEvents(o.useEvents, "on-video-progress");
|
|
209
|
+
}, u = () => {
|
|
210
|
+
i("on-video-play"), t.parseEvents(o.useEvents, "on-video-play");
|
|
24
211
|
}, l = () => {
|
|
25
|
-
|
|
212
|
+
i("on-video-pause"), t.parseEvents(o.useEvents, "on-video-pause");
|
|
26
213
|
}, c = () => {
|
|
27
|
-
|
|
28
|
-
}, m = () => {
|
|
29
|
-
o("on-video-ended"), n.parseEvents(e.useEvents, "on-video-ended");
|
|
214
|
+
i("on-video-ended"), t.parseEvents(o.useEvents, "on-video-ended");
|
|
30
215
|
}, E = () => {
|
|
31
|
-
|
|
216
|
+
i("on-video-playing"), t.parseEvents(o.useEvents, "on-video-playing");
|
|
32
217
|
}, y = () => {
|
|
33
|
-
|
|
218
|
+
i("on-video-timeupdate"), t.parseEvents(o.useEvents, "on-video-timeupdate");
|
|
34
219
|
}, g = () => {
|
|
35
|
-
|
|
220
|
+
i("on-video-error"), t.parseEvents(o.useEvents, "on-video-error");
|
|
36
221
|
}, f = () => {
|
|
37
|
-
|
|
222
|
+
i("on-video-volumechange"), t.parseEvents(o.useEvents, "on-video-volumechange");
|
|
38
223
|
};
|
|
39
|
-
return
|
|
224
|
+
return s({
|
|
40
225
|
/** 开始播放 */
|
|
41
226
|
play: () => {
|
|
42
|
-
|
|
227
|
+
p.value && p.value.play();
|
|
43
228
|
},
|
|
44
229
|
/** 暂停播放 */
|
|
45
230
|
pause: () => {
|
|
46
|
-
|
|
231
|
+
p.value && p.value.pause();
|
|
47
232
|
}
|
|
48
|
-
}), (
|
|
233
|
+
}), (r, k) => (V(), P("video", {
|
|
49
234
|
ref_key: "videoRef",
|
|
50
|
-
ref:
|
|
51
|
-
key:
|
|
52
|
-
poster:
|
|
53
|
-
autoplay:
|
|
54
|
-
controls:
|
|
55
|
-
loop:
|
|
56
|
-
muted:
|
|
235
|
+
ref: p,
|
|
236
|
+
key: d.value,
|
|
237
|
+
poster: r.basicOption.poster,
|
|
238
|
+
autoplay: r.basicOption.autoplay,
|
|
239
|
+
controls: r.basicOption.controls,
|
|
240
|
+
loop: r.basicOption.loop,
|
|
241
|
+
muted: r.basicOption.muted,
|
|
57
242
|
class: "zerov-widget-video",
|
|
58
|
-
src:
|
|
59
|
-
onProgress:
|
|
60
|
-
onPlay:
|
|
61
|
-
onEnded:
|
|
243
|
+
src: r.basicOption.src,
|
|
244
|
+
onProgress: v,
|
|
245
|
+
onPlay: u,
|
|
246
|
+
onEnded: c,
|
|
62
247
|
onPlaying: E,
|
|
63
|
-
onPause:
|
|
248
|
+
onPause: l,
|
|
64
249
|
onTimeupdate: y,
|
|
65
250
|
onError: g,
|
|
66
251
|
onVolumechange: f
|
|
@@ -68,5 +253,5 @@ const h = ["poster", "autoplay", "controls", "loop", "muted", "src"], O = a({ na
|
|
|
68
253
|
}
|
|
69
254
|
});
|
|
70
255
|
export {
|
|
71
|
-
|
|
256
|
+
$t as default
|
|
72
257
|
};
|
|
@@ -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-3e4a855d"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|