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