@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,356 +1,356 @@
|
|
|
1
|
-
import { defineComponent as M, useCssVars as j, ref as O, onMounted as A, watch as S, createElementBlock as p, createCommentVNode as V, openBlock as s, normalizeStyle as a, createVNode as J, Fragment as v, renderList as y, normalizeClass as W, createElementVNode as T, toDisplayString as g, unref as q, withCtx as P } from "vue";
|
|
2
|
-
import { cloneDeep as k, isEqual as z } from "lodash";
|
|
3
|
-
import { Vue3SeamlessScroll as U } from "vue3-seamless-scroll";
|
|
4
|
-
import { nanoid as w } from "nanoid";
|
|
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 "../media-m3u8-dynamic/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 "./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
|
-
import "../commons/custom-component-render/index.mjs";
|
|
186
|
-
/* empty css */
|
|
187
|
-
/* empty css */
|
|
188
|
-
import { SHJDatasourceV2 as G } from "../../plugins/datasource/index.mjs";
|
|
189
|
-
import { SHJParseEvent as u } from "../../plugins/event/index.mjs";
|
|
190
|
-
const K = ["onClick", "onMouseenter", "onMouseout"], Q = ["onClick"], X = { key: 1 }, Y = M({ name: "zv-text-table-scroll" }), Vr = /* @__PURE__ */ M({
|
|
191
|
-
...Y,
|
|
192
|
-
props: {
|
|
193
|
-
basicOption: {},
|
|
194
|
-
useEvents: {},
|
|
195
|
-
sources: {},
|
|
196
|
-
uuid: {}
|
|
197
|
-
},
|
|
198
|
-
emits: ["on-click-item", "on-click-row", "on-mouseenter-row", "on-mouseout-row"],
|
|
199
|
-
setup($, { expose: D, emit: F }) {
|
|
200
|
-
j((t) => ({
|
|
201
|
-
"391d835f": t.basicOption.css.table.borderWidth + "px",
|
|
202
|
-
"18ce3d59": t.basicOption.css.table.borderStyle,
|
|
203
|
-
"17ea4f0b": t.basicOption.css.table.borderColor,
|
|
204
|
-
"5b8a36e1": t.basicOption.css.table.paddingLeft + "px",
|
|
205
|
-
"129654c7": t.basicOption.css.table.alignItems,
|
|
206
|
-
"869b5a56": t.basicOption.css.table.justifyContent,
|
|
207
|
-
"8186fc7a": t.basicOption.css.header.background,
|
|
208
|
-
"529e5cd1": t.basicOption.css.header.height + "px",
|
|
209
|
-
"11e4b9ae": t.basicOption.css.header.color,
|
|
210
|
-
45730228: t.basicOption.css.header.fontSize + "px",
|
|
211
|
-
"3a449f88": t.basicOption.css.header.fontWeight,
|
|
212
|
-
"33d03126": t.basicOption.css.header.fontStyle,
|
|
213
|
-
"4ed21ee4": t.basicOption.css.body.background,
|
|
214
|
-
"301af451": t.basicOption.css.oddBackground,
|
|
215
|
-
"4f0cf803": t.basicOption.css.body.color,
|
|
216
|
-
"03d51a3d": t.basicOption.css.body.fontSize + "px",
|
|
217
|
-
"078fc1f2": t.basicOption.css.body.fontWeight,
|
|
218
|
-
"84c2197c": t.basicOption.css.body.fontStyle
|
|
219
|
-
}));
|
|
220
|
-
const d = F, h = O(w()), n = O([]), r = $, b = O(r.basicOption.scroll.start), c = () => {
|
|
221
|
-
G.parse({
|
|
222
|
-
tId: r.uuid,
|
|
223
|
-
sources: r.sources,
|
|
224
|
-
callback: (t) => {
|
|
225
|
-
try {
|
|
226
|
-
u.parseEvents(r.useEvents, "dataListener", n), n.value = k(t.data[0].data) || [], h.value = w(), b.value = r.basicOption.scroll.start;
|
|
227
|
-
} catch {
|
|
228
|
-
u.parseEvents(r.useEvents, "dataListener", null), h.value = w(), n.value = [], b.value = r.basicOption.scroll.start;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
}, L = (t) => {
|
|
233
|
-
const o = [];
|
|
234
|
-
for (const i in t)
|
|
235
|
-
o.push(t[i]);
|
|
236
|
-
return o;
|
|
237
|
-
};
|
|
238
|
-
A(() => c()), S(() => k(r.basicOption), (t, o) => {
|
|
239
|
-
z(t, o) || c();
|
|
240
|
-
}, {
|
|
241
|
-
deep: !0
|
|
242
|
-
}), S(() => k(r.sources), (t, o) => {
|
|
243
|
-
z(t, o) || c();
|
|
244
|
-
}, {
|
|
245
|
-
deep: !0
|
|
246
|
-
}), D({
|
|
247
|
-
refresh: () => c(),
|
|
248
|
-
refreshView: () => c(),
|
|
249
|
-
refreshData: () => c()
|
|
250
|
-
});
|
|
251
|
-
const N = (t) => {
|
|
252
|
-
if (!r.basicOption.columns)
|
|
253
|
-
return !0;
|
|
254
|
-
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
255
|
-
return o ? o.font.auto : !0;
|
|
256
|
-
}, f = (t) => {
|
|
257
|
-
if (!r.basicOption.columns)
|
|
258
|
-
return null;
|
|
259
|
-
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
260
|
-
return o && o.font.auto === !1 ? o.font : null;
|
|
261
|
-
}, C = (t) => {
|
|
262
|
-
if (!r.basicOption.columns)
|
|
263
|
-
return !0;
|
|
264
|
-
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
265
|
-
return o ? o.width.auto : !0;
|
|
266
|
-
}, E = (t) => {
|
|
267
|
-
if (!r.basicOption.columns)
|
|
268
|
-
return null;
|
|
269
|
-
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
270
|
-
return o && o.width.auto === !1 ? o.width.width : null;
|
|
271
|
-
}, B = (t, o) => {
|
|
272
|
-
const i = { row: t, rowIndex: o };
|
|
273
|
-
d("on-click-row", i), u.parseEvents(r.useEvents, "on-click-row", i);
|
|
274
|
-
}, H = (t, o) => {
|
|
275
|
-
const i = { row: t, rowIndex: o };
|
|
276
|
-
d("on-mouseenter-row", i), u.parseEvents(r.useEvents, "on-mouseenter-row", i);
|
|
277
|
-
}, I = (t, o) => {
|
|
278
|
-
const i = { row: t, rowIndex: o };
|
|
279
|
-
d("on-mouseout-row", i), u.parseEvents(r.useEvents, "on-mouseout-row", i);
|
|
280
|
-
}, R = (t, o, i, m) => {
|
|
281
|
-
const e = { row: t, item: o, rowIndex: i, columnIndex: m };
|
|
282
|
-
d("on-click-item", e), u.parseEvents(r.useEvents, "on-click-item", e);
|
|
283
|
-
};
|
|
284
|
-
return (t, o) => n.value.length > 0 ? (s(), p("div", {
|
|
285
|
-
key: h.value,
|
|
286
|
-
class: "table-scroll",
|
|
287
|
-
style: a({ lineHeight: t.basicOption.css.body.height + "px" })
|
|
288
|
-
}, [
|
|
289
|
-
t.basicOption.css.header.show ? (s(), p("div", {
|
|
290
|
-
key: 0,
|
|
291
|
-
class: "table-header",
|
|
292
|
-
style: a({
|
|
293
|
-
"--header-background-image": `url(${t.basicOption.css.header.backgroundImage})`
|
|
294
|
-
})
|
|
295
|
-
}, [
|
|
296
|
-
(s(!0), p(v, null, y(Object.keys(n.value[0]), (i, m) => (s(), p("div", {
|
|
297
|
-
key: i,
|
|
298
|
-
class: W(["th", { customWidth: !C(m + 1) }]),
|
|
299
|
-
style: a({ "--width": E(m + 1) + "px" })
|
|
300
|
-
}, [
|
|
301
|
-
T("p", null, g(i), 1)
|
|
302
|
-
], 6))), 128))
|
|
303
|
-
], 4)) : V("", !0),
|
|
304
|
-
J(q(U), {
|
|
305
|
-
modelValue: b.value,
|
|
306
|
-
"onUpdate:modelValue": o[0] || (o[0] = (i) => b.value = i),
|
|
307
|
-
direction: t.basicOption.scroll.direction,
|
|
308
|
-
list: n.value,
|
|
309
|
-
"is-watch": "",
|
|
310
|
-
step: t.basicOption.scroll.step,
|
|
311
|
-
hover: t.basicOption.scroll.hover,
|
|
312
|
-
"limit-scroll-num": t.basicOption.scroll.limitScrollNum,
|
|
313
|
-
"single-height": t.basicOption.scroll.isSingle ? t.basicOption.css.body.height : 0,
|
|
314
|
-
"single-wait-time": t.basicOption.scroll.singleWaitTime,
|
|
315
|
-
class: "table-body",
|
|
316
|
-
style: a([{ color: "red" }, {
|
|
317
|
-
"line-height": "36px"
|
|
318
|
-
}])
|
|
319
|
-
}, {
|
|
320
|
-
default: P(() => [
|
|
321
|
-
(s(!0), p(v, null, y(n.value, (i, m) => (s(), p("div", {
|
|
322
|
-
key: i,
|
|
323
|
-
class: "tr",
|
|
324
|
-
style: a({
|
|
325
|
-
"--row-hover": t.basicOption.css.hoverColor
|
|
326
|
-
}),
|
|
327
|
-
onClick: (e) => B(i, m),
|
|
328
|
-
onMouseenter: (e) => H(i, m),
|
|
329
|
-
onMouseout: (e) => I(i, m)
|
|
330
|
-
}, [
|
|
331
|
-
(s(!0), p(v, null, y(L(i), (e, l) => (s(), p("div", {
|
|
332
|
-
key: e,
|
|
333
|
-
class: W(["td", { customWidth: !C(l + 1) }]),
|
|
334
|
-
style: a({ "--width": E(l + 1) + "px" }),
|
|
335
|
-
onClick: (Z) => R(i, e, m, l)
|
|
336
|
-
}, [
|
|
337
|
-
N(l + 1) ? (s(), p("p", X, g(e), 1)) : (s(), p("p", {
|
|
338
|
-
key: 0,
|
|
339
|
-
class: "customFont",
|
|
340
|
-
style: a({
|
|
341
|
-
"--text-color": f(l + 1).color,
|
|
342
|
-
"--text-font-size": f(l + 1).fontSize + "px",
|
|
343
|
-
"--text-font-style": f(l + 1).fontStyle
|
|
344
|
-
})
|
|
345
|
-
}, g(e), 5))
|
|
346
|
-
], 14, Q))), 128))
|
|
347
|
-
], 44, K))), 128))
|
|
348
|
-
]),
|
|
349
|
-
_: 1
|
|
350
|
-
}, 8, ["modelValue", "direction", "list", "step", "hover", "limit-scroll-num", "single-height", "single-wait-time"])
|
|
351
|
-
], 4)) : V("", !0);
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
export {
|
|
355
|
-
Vr as default
|
|
356
|
-
};
|
|
1
|
+
import { defineComponent as M, useCssVars as j, ref as O, onMounted as A, watch as S, createElementBlock as p, createCommentVNode as V, openBlock as s, normalizeStyle as a, createVNode as J, Fragment as v, renderList as y, normalizeClass as W, createElementVNode as T, toDisplayString as g, unref as q, withCtx as P } from "vue";
|
|
2
|
+
import { cloneDeep as k, isEqual as z } from "lodash";
|
|
3
|
+
import { Vue3SeamlessScroll as U } from "vue3-seamless-scroll";
|
|
4
|
+
import { nanoid as w } from "nanoid";
|
|
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 "../media-m3u8-dynamic/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 "./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
|
+
import "../commons/custom-component-render/index.mjs";
|
|
186
|
+
/* empty css */
|
|
187
|
+
/* empty css */
|
|
188
|
+
import { SHJDatasourceV2 as G } from "../../plugins/datasource/index.mjs";
|
|
189
|
+
import { SHJParseEvent as u } from "../../plugins/event/index.mjs";
|
|
190
|
+
const K = ["onClick", "onMouseenter", "onMouseout"], Q = ["onClick"], X = { key: 1 }, Y = M({ name: "zv-text-table-scroll" }), Vr = /* @__PURE__ */ M({
|
|
191
|
+
...Y,
|
|
192
|
+
props: {
|
|
193
|
+
basicOption: {},
|
|
194
|
+
useEvents: {},
|
|
195
|
+
sources: {},
|
|
196
|
+
uuid: {}
|
|
197
|
+
},
|
|
198
|
+
emits: ["on-click-item", "on-click-row", "on-mouseenter-row", "on-mouseout-row"],
|
|
199
|
+
setup($, { expose: D, emit: F }) {
|
|
200
|
+
j((t) => ({
|
|
201
|
+
"391d835f": t.basicOption.css.table.borderWidth + "px",
|
|
202
|
+
"18ce3d59": t.basicOption.css.table.borderStyle,
|
|
203
|
+
"17ea4f0b": t.basicOption.css.table.borderColor,
|
|
204
|
+
"5b8a36e1": t.basicOption.css.table.paddingLeft + "px",
|
|
205
|
+
"129654c7": t.basicOption.css.table.alignItems,
|
|
206
|
+
"869b5a56": t.basicOption.css.table.justifyContent,
|
|
207
|
+
"8186fc7a": t.basicOption.css.header.background,
|
|
208
|
+
"529e5cd1": t.basicOption.css.header.height + "px",
|
|
209
|
+
"11e4b9ae": t.basicOption.css.header.color,
|
|
210
|
+
45730228: t.basicOption.css.header.fontSize + "px",
|
|
211
|
+
"3a449f88": t.basicOption.css.header.fontWeight,
|
|
212
|
+
"33d03126": t.basicOption.css.header.fontStyle,
|
|
213
|
+
"4ed21ee4": t.basicOption.css.body.background,
|
|
214
|
+
"301af451": t.basicOption.css.oddBackground,
|
|
215
|
+
"4f0cf803": t.basicOption.css.body.color,
|
|
216
|
+
"03d51a3d": t.basicOption.css.body.fontSize + "px",
|
|
217
|
+
"078fc1f2": t.basicOption.css.body.fontWeight,
|
|
218
|
+
"84c2197c": t.basicOption.css.body.fontStyle
|
|
219
|
+
}));
|
|
220
|
+
const d = F, h = O(w()), n = O([]), r = $, b = O(r.basicOption.scroll.start), c = () => {
|
|
221
|
+
G.parse({
|
|
222
|
+
tId: r.uuid,
|
|
223
|
+
sources: r.sources,
|
|
224
|
+
callback: (t) => {
|
|
225
|
+
try {
|
|
226
|
+
u.parseEvents(r.useEvents, "dataListener", n), n.value = k(t.data[0].data) || [], h.value = w(), b.value = r.basicOption.scroll.start;
|
|
227
|
+
} catch {
|
|
228
|
+
u.parseEvents(r.useEvents, "dataListener", null), h.value = w(), n.value = [], b.value = r.basicOption.scroll.start;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
}, L = (t) => {
|
|
233
|
+
const o = [];
|
|
234
|
+
for (const i in t)
|
|
235
|
+
o.push(t[i]);
|
|
236
|
+
return o;
|
|
237
|
+
};
|
|
238
|
+
A(() => c()), S(() => k(r.basicOption), (t, o) => {
|
|
239
|
+
z(t, o) || c();
|
|
240
|
+
}, {
|
|
241
|
+
deep: !0
|
|
242
|
+
}), S(() => k(r.sources), (t, o) => {
|
|
243
|
+
z(t, o) || c();
|
|
244
|
+
}, {
|
|
245
|
+
deep: !0
|
|
246
|
+
}), D({
|
|
247
|
+
refresh: () => c(),
|
|
248
|
+
refreshView: () => c(),
|
|
249
|
+
refreshData: () => c()
|
|
250
|
+
});
|
|
251
|
+
const N = (t) => {
|
|
252
|
+
if (!r.basicOption.columns)
|
|
253
|
+
return !0;
|
|
254
|
+
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
255
|
+
return o ? o.font.auto : !0;
|
|
256
|
+
}, f = (t) => {
|
|
257
|
+
if (!r.basicOption.columns)
|
|
258
|
+
return null;
|
|
259
|
+
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
260
|
+
return o && o.font.auto === !1 ? o.font : null;
|
|
261
|
+
}, C = (t) => {
|
|
262
|
+
if (!r.basicOption.columns)
|
|
263
|
+
return !0;
|
|
264
|
+
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
265
|
+
return o ? o.width.auto : !0;
|
|
266
|
+
}, E = (t) => {
|
|
267
|
+
if (!r.basicOption.columns)
|
|
268
|
+
return null;
|
|
269
|
+
const o = r.basicOption.columns.find((i) => i.index === t);
|
|
270
|
+
return o && o.width.auto === !1 ? o.width.width : null;
|
|
271
|
+
}, B = (t, o) => {
|
|
272
|
+
const i = { row: t, rowIndex: o };
|
|
273
|
+
d("on-click-row", i), u.parseEvents(r.useEvents, "on-click-row", i);
|
|
274
|
+
}, H = (t, o) => {
|
|
275
|
+
const i = { row: t, rowIndex: o };
|
|
276
|
+
d("on-mouseenter-row", i), u.parseEvents(r.useEvents, "on-mouseenter-row", i);
|
|
277
|
+
}, I = (t, o) => {
|
|
278
|
+
const i = { row: t, rowIndex: o };
|
|
279
|
+
d("on-mouseout-row", i), u.parseEvents(r.useEvents, "on-mouseout-row", i);
|
|
280
|
+
}, R = (t, o, i, m) => {
|
|
281
|
+
const e = { row: t, item: o, rowIndex: i, columnIndex: m };
|
|
282
|
+
d("on-click-item", e), u.parseEvents(r.useEvents, "on-click-item", e);
|
|
283
|
+
};
|
|
284
|
+
return (t, o) => n.value.length > 0 ? (s(), p("div", {
|
|
285
|
+
key: h.value,
|
|
286
|
+
class: "table-scroll",
|
|
287
|
+
style: a({ lineHeight: t.basicOption.css.body.height + "px" })
|
|
288
|
+
}, [
|
|
289
|
+
t.basicOption.css.header.show ? (s(), p("div", {
|
|
290
|
+
key: 0,
|
|
291
|
+
class: "table-header",
|
|
292
|
+
style: a({
|
|
293
|
+
"--header-background-image": `url(${t.basicOption.css.header.backgroundImage})`
|
|
294
|
+
})
|
|
295
|
+
}, [
|
|
296
|
+
(s(!0), p(v, null, y(Object.keys(n.value[0]), (i, m) => (s(), p("div", {
|
|
297
|
+
key: i,
|
|
298
|
+
class: W(["th", { customWidth: !C(m + 1) }]),
|
|
299
|
+
style: a({ "--width": E(m + 1) + "px" })
|
|
300
|
+
}, [
|
|
301
|
+
T("p", null, g(i), 1)
|
|
302
|
+
], 6))), 128))
|
|
303
|
+
], 4)) : V("", !0),
|
|
304
|
+
J(q(U), {
|
|
305
|
+
modelValue: b.value,
|
|
306
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => b.value = i),
|
|
307
|
+
direction: t.basicOption.scroll.direction,
|
|
308
|
+
list: n.value,
|
|
309
|
+
"is-watch": "",
|
|
310
|
+
step: t.basicOption.scroll.step,
|
|
311
|
+
hover: t.basicOption.scroll.hover,
|
|
312
|
+
"limit-scroll-num": t.basicOption.scroll.limitScrollNum,
|
|
313
|
+
"single-height": t.basicOption.scroll.isSingle ? t.basicOption.css.body.height : 0,
|
|
314
|
+
"single-wait-time": t.basicOption.scroll.singleWaitTime,
|
|
315
|
+
class: "table-body",
|
|
316
|
+
style: a([{ color: "red" }, {
|
|
317
|
+
"line-height": "36px"
|
|
318
|
+
}])
|
|
319
|
+
}, {
|
|
320
|
+
default: P(() => [
|
|
321
|
+
(s(!0), p(v, null, y(n.value, (i, m) => (s(), p("div", {
|
|
322
|
+
key: i,
|
|
323
|
+
class: "tr",
|
|
324
|
+
style: a({
|
|
325
|
+
"--row-hover": t.basicOption.css.hoverColor
|
|
326
|
+
}),
|
|
327
|
+
onClick: (e) => B(i, m),
|
|
328
|
+
onMouseenter: (e) => H(i, m),
|
|
329
|
+
onMouseout: (e) => I(i, m)
|
|
330
|
+
}, [
|
|
331
|
+
(s(!0), p(v, null, y(L(i), (e, l) => (s(), p("div", {
|
|
332
|
+
key: e,
|
|
333
|
+
class: W(["td", { customWidth: !C(l + 1) }]),
|
|
334
|
+
style: a({ "--width": E(l + 1) + "px" }),
|
|
335
|
+
onClick: (Z) => R(i, e, m, l)
|
|
336
|
+
}, [
|
|
337
|
+
N(l + 1) ? (s(), p("p", X, g(e), 1)) : (s(), p("p", {
|
|
338
|
+
key: 0,
|
|
339
|
+
class: "customFont",
|
|
340
|
+
style: a({
|
|
341
|
+
"--text-color": f(l + 1).color,
|
|
342
|
+
"--text-font-size": f(l + 1).fontSize + "px",
|
|
343
|
+
"--text-font-style": f(l + 1).fontStyle
|
|
344
|
+
})
|
|
345
|
+
}, g(e), 5))
|
|
346
|
+
], 14, Q))), 128))
|
|
347
|
+
], 44, K))), 128))
|
|
348
|
+
]),
|
|
349
|
+
_: 1
|
|
350
|
+
}, 8, ["modelValue", "direction", "list", "step", "hover", "limit-scroll-num", "single-height", "single-wait-time"])
|
|
351
|
+
], 4)) : V("", !0);
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
export {
|
|
355
|
+
Vr as default
|
|
356
|
+
};
|