@shjjs/visual-ui 1.0.35 → 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 +6 -2
- 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 +2 -2
- package/es/components/commons-loop-iterator/index.vue2.mjs +218 -35
- package/es/components/commons-product-model/index.vue.mjs +1 -1
- package/es/components/commons-product-model/index.vue2.mjs +246 -62
- package/es/components/commons-three-loader/index.vue.mjs +1 -1
- 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/index.d.ts +112 -111
- package/es/components/index.mjs +362 -360
- 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 +2 -2
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +324 -140
- package/es/components/interaction/date-picker/src/date-picker/index.d.ts +211 -211
- package/es/components/interaction/date-picker/src/date-picker/index.vue.d.ts +211 -211
- package/es/components/interaction/date-picker/src/date-picker-range/index.d.ts +211 -211
- package/es/components/interaction/date-picker/src/date-picker-range/index.vue.d.ts +211 -211
- 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 +2 -2
- 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 +2 -2
- package/es/components/interaction-tabs/index.vue2.mjs +221 -37
- package/es/components/interaction-tabs2/index.vue.mjs +1 -1
- 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 +2 -2
- 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 +219 -35
- package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue2.mjs +233 -50
- 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.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 +259 -0
- package/es/components/media-image-dynamic/index.vue.mjs +2 -2
- 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 +2 -2
- package/es/components/media-video/index.vue2.mjs +216 -31
- package/es/components/media-video-dynamic/index.vue.mjs +2 -2
- package/es/components/media-video-dynamic/index.vue2.mjs +223 -40
- package/es/components/scene-amap2d/index.vue.mjs +1 -1
- 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 +2 -2
- 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 +302 -118
- 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 +2 -2
- package/es/components/text-real-time/index.vue2.mjs +212 -28
- package/es/components/text-row-scroll/index.vue.mjs +1 -1
- package/es/components/text-row-scroll/index.vue2.mjs +288 -105
- 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 +2 -2
- 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 +386 -370
- package/es/{commons/plugins → plugins}/datasource/index.mjs +217 -214
- package/es/{commons/plugins → plugins}/datasource/sources/api.mjs +32 -32
- package/es/{commons/plugins → plugins}/datasource/sources/static.mjs +17 -17
- package/es/{commons/plugins → plugins}/datasource/sources/storage.mjs +28 -28
- package/es/{commons/plugins → plugins}/datasource/sources/url.mjs +17 -17
- package/es/{commons/plugins → plugins}/datasource/sources/variable.mjs +17 -17
- package/es/{commons/plugins → plugins}/datasource/sources/ws.mjs +139 -139
- package/es/{commons/plugins → plugins}/datasource/utils/axios.mjs +134 -134
- package/es/{commons/plugins → plugins}/datasource/utils/request.mjs +5 -5
- package/es/{commons/plugins → plugins}/datasource/utils/utils.mjs +229 -229
- package/es/{commons/plugins → plugins}/datasource/utils/wsManager.mjs +78 -78
- package/es/{commons/plugins → plugins}/event/actions/fullScreenAction.mjs +8 -8
- package/es/{commons/plugins → plugins}/event/actions/invokeAction.mjs +11 -11
- package/es/{commons/plugins → plugins}/event/actions/linkAction.mjs +8 -8
- package/es/{commons/plugins → plugins}/event/actions/moveAction.mjs +15 -15
- package/es/{commons/plugins → plugins}/event/actions/refreshVariableAction.mjs +18 -18
- package/es/{commons/plugins → plugins}/event/actions/rotateAction.mjs +19 -19
- package/es/{commons/plugins → plugins}/event/actions/scaleAction.mjs +24 -24
- package/es/{commons/plugins → plugins}/event/actions/sendApiAction.mjs +16 -16
- package/es/{commons/plugins → plugins}/event/actions/ueCommonsWebscoketAction.mjs +31 -31
- package/es/{commons/plugins → plugins}/event/actions/ueShjExecMethodAction.mjs +31 -31
- package/es/{commons/plugins → plugins}/event/actions/unityIframeExecMethodAction.mjs +28 -28
- package/es/{commons/plugins → plugins}/event/actions/unityWebglExecMethodAction.mjs +28 -28
- package/es/{commons/plugins → plugins}/event/actions/updatePageAction.mjs +6 -6
- package/es/{commons/plugins → plugins}/event/actions/updateVariableAction.mjs +25 -25
- package/es/{commons/plugins → plugins}/event/actions/updateWidgetAction.mjs +14 -14
- package/es/{commons/plugins → plugins}/event/actions/vrSceneMethodAction.mjs +12 -12
- package/es/{commons/plugins → plugins}/event/index.mjs +161 -161
- package/es/{commons/plugins → plugins}/event/utils/utils.mjs +50 -50
- package/es/{commons → plugins}/utils/componentRefs.mjs +37 -37
- package/es/{commons → plugins}/utils/getNextElement.mjs +12 -12
- package/es/widgets.css +1 -1
- package/package.json +1 -1
- package/es/commons/plugins/datasource/index.d.ts +0 -73
- package/es/commons/plugins/datasource/sources/api.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/static.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/storage.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/url.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/variable.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/ws.d.ts +0 -32
- package/es/commons/plugins/datasource/utils/axios.d.ts +0 -70
- package/es/commons/plugins/datasource/utils/request.d.ts +0 -3
- package/es/commons/plugins/datasource/utils/utils.d.ts +0 -115
- package/es/commons/plugins/datasource/utils/wsManager.d.ts +0 -16
- package/es/commons/plugins/event/actions/fullScreenAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/invokeAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/linkAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/moveAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/refreshVariableAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/rotateAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/scaleAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/sendApiAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/updatePageAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/updateVariableAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/index.d.ts +0 -206
- package/es/commons/plugins/event/utils/utils.d.ts +0 -22
- package/es/commons/utils/componentRefs.d.ts +0 -28
- package/es/commons/utils/getNextElement.d.ts +0 -7
|
@@ -1,7 +1,192 @@
|
|
|
1
|
-
import { defineComponent as H, ref as D, computed as z, watchEffect as E, createElementBlock as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as H, ref as D, computed as z, watchEffect as E, createElementBlock as d, openBlock as h, Fragment as F, createCommentVNode as b, normalizeStyle as S, toDisplayString as O } from "vue";
|
|
2
|
+
import "../text-text-basic/index.mjs";
|
|
3
|
+
import "../text-table-basic/index.mjs";
|
|
4
|
+
import "../chart-other-gauge/index.mjs";
|
|
5
|
+
import "../chart-other-gauge-stage/index.mjs";
|
|
6
|
+
import "../chart-other-gauge-grade/index.mjs";
|
|
7
|
+
import "../chart-other-word-cloud/index.mjs";
|
|
8
|
+
import "../chart-other-liquidfill/index.mjs";
|
|
9
|
+
import "../chart-other-funnel/index.mjs";
|
|
10
|
+
import "../chart-other-force/index.mjs";
|
|
11
|
+
import "../chart-other-radar/index.mjs";
|
|
12
|
+
import "../chart-other-funnel-split/index.mjs";
|
|
13
|
+
import "../chart-other-funnel-contrast/index.mjs";
|
|
14
|
+
import "../chart-other-candlestick-basic/index.mjs";
|
|
15
|
+
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
16
|
+
import "../chart-other-candlestick-demo/index.mjs";
|
|
17
|
+
import "../chart-other-heatmap/index.mjs";
|
|
18
|
+
import "../chart-other-force2/index.mjs";
|
|
19
|
+
import "../chart-other-graph-basic/index.mjs";
|
|
20
|
+
import "../chart-other-graph-basic2/index.mjs";
|
|
21
|
+
import "../chart-other-graph-calendar/index.mjs";
|
|
22
|
+
import "../chart-other-tree-line/index.mjs";
|
|
23
|
+
import "../chart-other-treemap-basic/index.mjs";
|
|
24
|
+
import "../chart-other-sunburst-basic/index.mjs";
|
|
25
|
+
import "../chart-other-sunburst-basic2/index.mjs";
|
|
26
|
+
import "../chart-other-sunburst-basic3/index.mjs";
|
|
27
|
+
import "../chart-other-sunburst-basic4/index.mjs";
|
|
28
|
+
import "../chart-other-sunburst-book/index.mjs";
|
|
29
|
+
import "../chart-other-sunburst-radius/index.mjs";
|
|
30
|
+
import "../chart-other-sunburst-flavors/index.mjs";
|
|
31
|
+
import "../chart-other-parallel-basic/index.mjs";
|
|
32
|
+
import "../chart-other-parallel-mul/index.mjs";
|
|
33
|
+
import "../chart-other-circular-graph/index.mjs";
|
|
34
|
+
import "../map-earth-basic/index.mjs";
|
|
35
|
+
import "../map-earth-cool-tech/index.mjs";
|
|
36
|
+
import "../map-earth-particle/index.mjs";
|
|
37
|
+
import "../map-earth-hacker/index.mjs";
|
|
38
|
+
import "../map-earth-fly-line/index.mjs";
|
|
39
|
+
import "../chart-other-grid-percentage/index.mjs";
|
|
40
|
+
import "../chart-other-radar-stack/index.mjs";
|
|
41
|
+
import "../chart-other-funnel2/index.mjs";
|
|
42
|
+
import "../chart-other-label-gauge/index.mjs";
|
|
43
|
+
import "../chart-other-theme-river/index.mjs";
|
|
44
|
+
import "../chart-other-tree/index.mjs";
|
|
45
|
+
import "../chart-other-treemap/index.mjs";
|
|
46
|
+
import "../commons-product-model/index.mjs";
|
|
47
|
+
import "../commons-vr-photo/index.mjs";
|
|
48
|
+
import "../commons-vr-video/index.mjs";
|
|
49
|
+
import "../commons-three-loader/index.mjs";
|
|
50
|
+
import "../commons-three-loader3/index.mjs";
|
|
51
|
+
import "../commons-loop-iterator/index.mjs";
|
|
52
|
+
import "../commons-gaussian-splatting-view/index.mjs";
|
|
53
|
+
import "../commons-babylon/index.mjs";
|
|
54
|
+
import "../commons-svg/index.mjs";
|
|
55
|
+
import "../commons-weather/index.mjs";
|
|
56
|
+
import "../commons-weather-dynamic/index.mjs";
|
|
57
|
+
import "../media-wavesurfer/index.mjs";
|
|
58
|
+
import "../interaction-tabs/index.mjs";
|
|
59
|
+
import "../interaction-tabs2/index.mjs";
|
|
60
|
+
import "../interaction-button/index.mjs";
|
|
61
|
+
import "../interaction-button-image/index.mjs";
|
|
62
|
+
import "../interaction-select/index.mjs";
|
|
63
|
+
import "../interaction-input/index.mjs";
|
|
64
|
+
import "../interaction-radio/index.mjs";
|
|
65
|
+
import "../interaction-slider/index.mjs";
|
|
66
|
+
import "../interaction-switch/index.mjs";
|
|
67
|
+
import "../interaction-data-picker/index.mjs";
|
|
68
|
+
import "../interaction-button-refresh/index.mjs";
|
|
69
|
+
import "../media-image/index.mjs";
|
|
70
|
+
import "../text-title/index.mjs";
|
|
71
|
+
import "../commons-qrcode/index.mjs";
|
|
72
|
+
import "../media-video/index.mjs";
|
|
73
|
+
import "../media-audio/index.mjs";
|
|
74
|
+
import "../text-real-time/index.mjs";
|
|
75
|
+
import "../media-carousel/index.mjs";
|
|
76
|
+
import "../media-carousel-slides/index.mjs";
|
|
77
|
+
import "../media-iframe-carousel/index.mjs";
|
|
78
|
+
import "../media-iframe/index.mjs";
|
|
79
|
+
import "../media-m3u8/index.mjs";
|
|
80
|
+
import "../media-m3u8-dynamic/index.mjs";
|
|
81
|
+
import "../media-audio-dynamic/index.mjs";
|
|
82
|
+
import "../media-video-dynamic/index.mjs";
|
|
83
|
+
import "../media-image-dynamic/index.mjs";
|
|
84
|
+
import "../media-iframe-dynamic/index.mjs";
|
|
85
|
+
import "../media-flv/index.mjs";
|
|
86
|
+
import "../commons-echarts/index.mjs";
|
|
87
|
+
import "../text-over-number/index.mjs";
|
|
88
|
+
import "../text-table-scroll/index.mjs";
|
|
89
|
+
import "../text-carousel/index.mjs";
|
|
90
|
+
import "../text-row-scroll/index.mjs";
|
|
91
|
+
import "../text-text-dynamic/index.mjs";
|
|
92
|
+
import "./index.mjs";
|
|
93
|
+
import "../graphical-circle/index.mjs";
|
|
94
|
+
import "../graphical-diamond/index.mjs";
|
|
95
|
+
import "../graphical-hexagon/index.mjs";
|
|
96
|
+
import "../graphical-isosceles-triangle/index.mjs";
|
|
97
|
+
import "../graphical-pentagon/index.mjs";
|
|
98
|
+
import "../graphical-rect/index.mjs";
|
|
99
|
+
import "../graphical-right-triangle/index.mjs";
|
|
100
|
+
import "../scene-map3d/index.mjs";
|
|
101
|
+
import "../scene-amap2d/index.mjs";
|
|
102
|
+
import "../scene-amap3d/index.mjs";
|
|
103
|
+
import "../scene-vr/index.mjs";
|
|
104
|
+
import "../scene-unity-iframe/index.mjs";
|
|
105
|
+
import "../scene-unity-webgl/index.mjs";
|
|
106
|
+
import "../scene-ue-iframe/index.mjs";
|
|
107
|
+
import "../scene-ue-shj/index.mjs";
|
|
108
|
+
import "../scene-default/index.mjs";
|
|
109
|
+
import "../interaction/tabs/index.mjs";
|
|
110
|
+
import "../interaction/tabs-icon/index.mjs";
|
|
111
|
+
import "../interaction/button/index.mjs";
|
|
112
|
+
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
113
|
+
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
114
|
+
import "../text/list/index.mjs";
|
|
115
|
+
import "../chart/src/bar/basic/index.mjs";
|
|
116
|
+
import "../chart/src/bar/animation/index.mjs";
|
|
117
|
+
import "../chart/src/bar/contrast/index.mjs";
|
|
118
|
+
import "../chart/src/bar/contrast2/index.mjs";
|
|
119
|
+
import "../chart/src/bar/contrast3/index.mjs";
|
|
120
|
+
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
121
|
+
import "../chart/src/bar/horizontal/index.mjs";
|
|
122
|
+
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
123
|
+
import "../chart/src/bar/line-bar/index.mjs";
|
|
124
|
+
import "../chart/src/bar/line-bar2/index.mjs";
|
|
125
|
+
import "../chart/src/bar/loop/index.mjs";
|
|
126
|
+
import "../chart/src/bar/mini/index.mjs";
|
|
127
|
+
import "../chart/src/bar/polar/index.mjs";
|
|
128
|
+
import "../chart/src/bar/polar-stack/index.mjs";
|
|
129
|
+
import "../chart/src/bar/polar2/index.mjs";
|
|
130
|
+
import "../chart/src/bar/radius-circle/index.mjs";
|
|
131
|
+
import "../chart/src/bar/rank/index.mjs";
|
|
132
|
+
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
133
|
+
import "../chart/src/bar/spire/index.mjs";
|
|
134
|
+
import "../chart/src/bar/stack/index.mjs";
|
|
135
|
+
import "../chart/src/bar/stack-line/index.mjs";
|
|
136
|
+
import "../chart/src/bar/stack2/index.mjs";
|
|
137
|
+
import "../chart/src/bar/stack3/index.mjs";
|
|
138
|
+
import "../chart/src/bar/staggered/index.mjs";
|
|
139
|
+
import "../chart/src/bar/three/index.mjs";
|
|
140
|
+
import "../chart/src/bar/waterfall/index.mjs";
|
|
141
|
+
import "../chart/src/bar/zebra/index.mjs";
|
|
142
|
+
import "../chart/src/line/area-gradient/index.mjs";
|
|
143
|
+
import "../chart/src/line/area-highlight/index.mjs";
|
|
144
|
+
import "../chart/src/line/area-highlight2/index.mjs";
|
|
145
|
+
import "../chart/src/line/basic/index.mjs";
|
|
146
|
+
import "../chart/src/line/bump/index.mjs";
|
|
147
|
+
import "../chart/src/line/dashed/index.mjs";
|
|
148
|
+
import "../chart/src/line/ladder/index.mjs";
|
|
149
|
+
import "../chart/src/line/logarithm/index.mjs";
|
|
150
|
+
import "../chart/src/line/multix/index.mjs";
|
|
151
|
+
import "../chart/src/line/polar-double/index.mjs";
|
|
152
|
+
import "../chart/src/line/rain-flow/index.mjs";
|
|
153
|
+
import "../chart/src/line/scale/index.mjs";
|
|
154
|
+
import "../chart/src/line/smooth/index.mjs";
|
|
155
|
+
import "../chart/src/line/smooth-area/index.mjs";
|
|
156
|
+
import "../chart/src/line/stack/index.mjs";
|
|
157
|
+
import "../chart/src/line/stack-area/index.mjs";
|
|
158
|
+
import "../chart/src/line/temp/index.mjs";
|
|
159
|
+
import "../chart/src/line/vertical/index.mjs";
|
|
160
|
+
import "../chart/src/map/basic/index.mjs";
|
|
161
|
+
import "../chart/src/map/bmap-basic/index.mjs";
|
|
162
|
+
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
163
|
+
import "../chart/src/map/bmap-rich/index.mjs";
|
|
164
|
+
import "../chart/src/map/customize/index.mjs";
|
|
165
|
+
import "../chart/src/map/lines/index.mjs";
|
|
166
|
+
import "../chart/src/map/scatter/index.mjs";
|
|
167
|
+
import "../chart/src/pie/3d/index.mjs";
|
|
168
|
+
import "../chart/src/pie/basic/index.mjs";
|
|
169
|
+
import "../chart/src/pie/basic2/index.mjs";
|
|
170
|
+
import "../chart/src/pie/customized/index.mjs";
|
|
171
|
+
import "../chart/src/pie/index/index.mjs";
|
|
172
|
+
import "../chart/src/pie/interval/index.mjs";
|
|
173
|
+
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
174
|
+
import "../chart/src/pie/radius/index.mjs";
|
|
175
|
+
import "../chart/src/pie/rose/index.mjs";
|
|
176
|
+
import "../chart/src/pie/round/index.mjs";
|
|
177
|
+
import "../chart/src/pie/sunburst/index.mjs";
|
|
178
|
+
import "../chart/src/scatter/basic/index.mjs";
|
|
179
|
+
import "../chart/src/scatter/basic2/index.mjs";
|
|
180
|
+
import "../chart/src/scatter/bubble/index.mjs";
|
|
181
|
+
import "../chart/src/scatter/ripples/index.mjs";
|
|
182
|
+
/* empty css */
|
|
183
|
+
/* empty css */
|
|
184
|
+
import "lodash";
|
|
185
|
+
import "../../plugins/datasource/utils/request.mjs";
|
|
186
|
+
import "../../plugins/datasource/utils/wsManager.mjs";
|
|
187
|
+
import { SHJParseEvent as T } from "../../plugins/event/index.mjs";
|
|
3
188
|
import { autoInstallFont as A, jsonToCssStyle as j } from "../../commons/utils/json2css.mjs";
|
|
4
|
-
const _ = ["ztitle"], $ = ["ztitle"], N = ["ztitle"], q = H({ name: "zv-text-count-down" }),
|
|
189
|
+
const _ = ["ztitle"], $ = ["ztitle"], N = ["ztitle"], q = H({ name: "zv-text-count-down" }), fr = /* @__PURE__ */ H({
|
|
5
190
|
...q,
|
|
6
191
|
props: {
|
|
7
192
|
basicOption: {},
|
|
@@ -12,87 +197,87 @@ const _ = ["ztitle"], $ = ["ztitle"], N = ["ztitle"], q = H({ name: "zv-text-cou
|
|
|
12
197
|
"on-start"
|
|
13
198
|
],
|
|
14
199
|
setup(C, { expose: Y, emit: k }) {
|
|
15
|
-
const g = k, x = window.requestAnimationFrame,
|
|
16
|
-
showMillisecond:
|
|
17
|
-
showYear:
|
|
18
|
-
showMonth:
|
|
19
|
-
showDay:
|
|
20
|
-
showHour:
|
|
21
|
-
showMinute:
|
|
22
|
-
showSecond:
|
|
200
|
+
const g = k, x = window.requestAnimationFrame, i = C, f = D(0), r = D(0), p = z(() => ({
|
|
201
|
+
showMillisecond: i.basicOption.conf.format.includes("SSS"),
|
|
202
|
+
showYear: i.basicOption.conf.format.includes("Y"),
|
|
203
|
+
showMonth: i.basicOption.conf.format.includes("M"),
|
|
204
|
+
showDay: i.basicOption.conf.format.includes("D"),
|
|
205
|
+
showHour: i.basicOption.conf.format.includes("H"),
|
|
206
|
+
showMinute: i.basicOption.conf.format.includes("m"),
|
|
207
|
+
showSecond: i.basicOption.conf.format.includes("s")
|
|
23
208
|
}));
|
|
24
|
-
function
|
|
25
|
-
return
|
|
209
|
+
function e(t) {
|
|
210
|
+
return t < 10 ? "0" + t : String(t);
|
|
26
211
|
}
|
|
27
|
-
function y(
|
|
28
|
-
if (
|
|
212
|
+
function y(t) {
|
|
213
|
+
if (t === null)
|
|
29
214
|
return "--";
|
|
30
|
-
let
|
|
31
|
-
|
|
32
|
-
let
|
|
33
|
-
|
|
215
|
+
let o = i.basicOption.conf.format, n = 0;
|
|
216
|
+
p.value.showMillisecond && (n = t % 1e3, o = o.replace("SSS", "0".repeat(3 - String(n).length) + n)), t = Math.floor(t / 1e3);
|
|
217
|
+
let a = 0;
|
|
218
|
+
p.value.showYear ? (a = Math.floor(t / (60 * 60 * 24 * 30 * 12)), o = o.includes("YY") ? o.replace("YY", e(a)) : o.replace("Y", String(a))) : a = 0;
|
|
219
|
+
let l = 0;
|
|
220
|
+
p.value.showMonth ? (t = t - a * 60 * 60 * 24 * 30 * 12, l = Math.floor(t / (60 * 60 * 24 * 30)), o = o.includes("MM") ? o.replace("MM", e(l)) : o.replace("M", String(l))) : l = 0;
|
|
221
|
+
let s = 0;
|
|
222
|
+
p.value.showDay ? (t = t - l * 60 * 60 * 24 * 30, s = Math.floor(t / (60 * 60 * 24)), o = o.includes("DD") ? o.replace("DD", e(s)) : o.replace("D", String(s))) : s = 0;
|
|
34
223
|
let c = 0;
|
|
35
|
-
|
|
224
|
+
p.value.showHour ? (t = t - s * 60 * 60 * 24, c = Math.floor(t / (60 * 60)), o = o.includes("HH") ? o.replace("HH", e(c)) : o.replace("H", String(c))) : c = 0;
|
|
36
225
|
let u = 0;
|
|
37
|
-
|
|
38
|
-
let
|
|
39
|
-
|
|
40
|
-
let p = 0;
|
|
41
|
-
a.value.showMinute ? (e = e - f * 60 * 60, p = Math.floor(e / 60), t = t.includes("mm") ? t.replace("mm", l(p)) : t.replace("m", String(p))) : p = 0;
|
|
42
|
-
let b = 0;
|
|
43
|
-
return a.value.showSecond && (b = e - p * 60, t = t.includes("ss") ? t.replace("ss", l(b)) : t.replace("s", String(b))), t;
|
|
226
|
+
p.value.showMinute ? (t = t - c * 60 * 60, u = Math.floor(t / 60), o = o.includes("mm") ? o.replace("mm", e(u)) : o.replace("m", String(u))) : u = 0;
|
|
227
|
+
let v = 0;
|
|
228
|
+
return p.value.showSecond && (v = t - u * 60, o = o.includes("ss") ? o.replace("ss", e(v)) : o.replace("s", String(v))), o;
|
|
44
229
|
}
|
|
45
230
|
function M() {
|
|
46
|
-
|
|
231
|
+
r.value !== null && (f.value > Date.now() ? (r.value = f.value - Date.now(), x(M)) : (r.value = 0, g("on-end"), T.parseEvents(i.useEvents, "end-count-down", null)));
|
|
47
232
|
}
|
|
48
|
-
const
|
|
49
|
-
g("on-start"), T.parseEvents(
|
|
233
|
+
const m = () => {
|
|
234
|
+
g("on-start"), T.parseEvents(i.useEvents, "on-start", null), r.value = 0, Number.isFinite(i.basicOption.conf.value) ? (i.basicOption.conf.future ? i.basicOption.conf.value >= Date.now() && (f.value = i.basicOption.conf.value) : i.basicOption.conf.value >= 0 && (f.value = i.basicOption.conf.value + Date.now()), x(M)) : r.value = null;
|
|
50
235
|
};
|
|
51
236
|
E(() => {
|
|
52
|
-
|
|
237
|
+
i.basicOption.conf.autoStart ? m() : r.value = null;
|
|
53
238
|
});
|
|
54
|
-
const
|
|
55
|
-
A(
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
return
|
|
60
|
-
...j(
|
|
61
|
-
...
|
|
62
|
-
...
|
|
63
|
-
...
|
|
239
|
+
const w = (t) => {
|
|
240
|
+
A(t.fontFamily);
|
|
241
|
+
const o = {};
|
|
242
|
+
t.color && t.color.includes("linear-gradient") && (o.backgroundImage = t.color, o["-webkit-background-clip"] = "text", o.color = "transparent");
|
|
243
|
+
const n = {};
|
|
244
|
+
return t.textAlign === "left" && (t.justifyContent = "flex-start"), t.textAlign === "center" && (t.justifyContent = "center"), t.textAlign === "right" && (t.justifyContent = "flex-end"), {
|
|
245
|
+
...j(t),
|
|
246
|
+
...o,
|
|
247
|
+
...n,
|
|
248
|
+
...t.textShadow.show ? { "--text-shadow": `${t.textShadow.x}px ${t.textShadow.y}px ${t.textShadow.value}px ${t.textShadow.color}` } : {}
|
|
64
249
|
};
|
|
65
250
|
};
|
|
66
251
|
return Y({
|
|
67
252
|
// 开始倒计时
|
|
68
|
-
start: () =>
|
|
253
|
+
start: () => m(),
|
|
69
254
|
// 重新倒计时
|
|
70
|
-
startAgain: () =>
|
|
71
|
-
refresh: () =>
|
|
72
|
-
refreshView: () =>
|
|
73
|
-
refreshData: () =>
|
|
74
|
-
}), (
|
|
75
|
-
|
|
255
|
+
startAgain: () => m(),
|
|
256
|
+
refresh: () => m(),
|
|
257
|
+
refreshView: () => m(),
|
|
258
|
+
refreshData: () => m()
|
|
259
|
+
}), (t, o) => (h(), d(F, null, [
|
|
260
|
+
t.basicOption.conf.finishedText && r.value === 0 && r.value !== null ? (h(), d("span", {
|
|
76
261
|
key: 0,
|
|
77
262
|
class: "count-down",
|
|
78
|
-
style: S(
|
|
79
|
-
ztitle:
|
|
80
|
-
}, O(
|
|
81
|
-
|
|
263
|
+
style: S(w(t.basicOption.css)),
|
|
264
|
+
ztitle: t.basicOption.conf.finishedText
|
|
265
|
+
}, O(t.basicOption.conf.finishedText), 13, _)) : b("", !0),
|
|
266
|
+
t.basicOption.conf.defaultText && r.value === null ? (h(), d("span", {
|
|
82
267
|
key: 1,
|
|
83
268
|
class: "count-down",
|
|
84
|
-
style: S(
|
|
85
|
-
ztitle:
|
|
86
|
-
}, O(
|
|
87
|
-
Number.isFinite(
|
|
269
|
+
style: S(w(t.basicOption.css)),
|
|
270
|
+
ztitle: t.basicOption.conf.defaultText
|
|
271
|
+
}, O(t.basicOption.conf.defaultText), 13, $)) : b("", !0),
|
|
272
|
+
Number.isFinite(r.value) && r.value > 0 ? (h(), d("span", {
|
|
88
273
|
key: 2,
|
|
89
274
|
class: "count-down",
|
|
90
|
-
style: S(
|
|
91
|
-
ztitle: y(
|
|
92
|
-
}, O(y(
|
|
275
|
+
style: S(w(t.basicOption.css)),
|
|
276
|
+
ztitle: y(r.value)
|
|
277
|
+
}, O(y(r.value)), 13, N)) : b("", !0)
|
|
93
278
|
], 64));
|
|
94
279
|
}
|
|
95
280
|
});
|
|
96
281
|
export {
|
|
97
|
-
|
|
282
|
+
fr as default
|
|
98
283
|
};
|
|
@@ -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-80900780"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|