@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,409 +1,409 @@
|
|
|
1
|
-
import { defineComponent as V, useCssVars as S, ref as c, onMounted as T, createElementBlock as f, openBlock as b, createVNode as D, unref as C, normalizeStyle as B, withCtx as N, createElementVNode as i, createCommentVNode as w, Fragment as g } from "vue";
|
|
2
|
-
import R from "@vuepic/vue-datepicker";
|
|
3
|
-
import { nanoid as O } from "nanoid";
|
|
4
|
-
import r from "dayjs";
|
|
5
|
-
import "dayjs/locale/zh-cn";
|
|
6
|
-
import H from "dayjs/plugin/relativeTime";
|
|
7
|
-
import { useDatePickerWatch as I } from "./hooks/useDatePickerWatch.mjs";
|
|
8
|
-
import "../../../../text-text-basic/index.mjs";
|
|
9
|
-
import "../../../../text-table-basic/index.mjs";
|
|
10
|
-
import "../../../../chart-other-gauge/index.mjs";
|
|
11
|
-
import "../../../../chart-other-gauge-stage/index.mjs";
|
|
12
|
-
import "../../../../chart-other-gauge-grade/index.mjs";
|
|
13
|
-
import "../../../../chart-other-word-cloud/index.mjs";
|
|
14
|
-
import "../../../../chart-other-liquidfill/index.mjs";
|
|
15
|
-
import "../../../../chart-other-funnel/index.mjs";
|
|
16
|
-
import "../../../../chart-other-force/index.mjs";
|
|
17
|
-
import "../../../../chart-other-radar/index.mjs";
|
|
18
|
-
import "../../../../chart-other-funnel-split/index.mjs";
|
|
19
|
-
import "../../../../chart-other-funnel-contrast/index.mjs";
|
|
20
|
-
import "../../../../chart-other-candlestick-basic/index.mjs";
|
|
21
|
-
import "../../../../chart-other-candlestick-shanghai/index.mjs";
|
|
22
|
-
import "../../../../chart-other-candlestick-demo/index.mjs";
|
|
23
|
-
import "../../../../chart-other-heatmap/index.mjs";
|
|
24
|
-
import "../../../../chart-other-force2/index.mjs";
|
|
25
|
-
import "../../../../chart-other-graph-basic/index.mjs";
|
|
26
|
-
import "../../../../chart-other-graph-basic2/index.mjs";
|
|
27
|
-
import "../../../../chart-other-graph-calendar/index.mjs";
|
|
28
|
-
import "../../../../chart-other-tree-line/index.mjs";
|
|
29
|
-
import "../../../../chart-other-treemap-basic/index.mjs";
|
|
30
|
-
import "../../../../chart-other-sunburst-basic/index.mjs";
|
|
31
|
-
import "../../../../chart-other-sunburst-basic2/index.mjs";
|
|
32
|
-
import "../../../../chart-other-sunburst-basic3/index.mjs";
|
|
33
|
-
import "../../../../chart-other-sunburst-basic4/index.mjs";
|
|
34
|
-
import "../../../../chart-other-sunburst-book/index.mjs";
|
|
35
|
-
import "../../../../chart-other-sunburst-radius/index.mjs";
|
|
36
|
-
import "../../../../chart-other-sunburst-flavors/index.mjs";
|
|
37
|
-
import "../../../../chart-other-parallel-basic/index.mjs";
|
|
38
|
-
import "../../../../chart-other-parallel-mul/index.mjs";
|
|
39
|
-
import "../../../../chart-other-circular-graph/index.mjs";
|
|
40
|
-
import "../../../../map-earth-basic/index.mjs";
|
|
41
|
-
import "../../../../map-earth-cool-tech/index.mjs";
|
|
42
|
-
import "../../../../map-earth-particle/index.mjs";
|
|
43
|
-
import "../../../../map-earth-hacker/index.mjs";
|
|
44
|
-
import "../../../../map-earth-fly-line/index.mjs";
|
|
45
|
-
import "../../../../chart-other-grid-percentage/index.mjs";
|
|
46
|
-
import "../../../../chart-other-radar-stack/index.mjs";
|
|
47
|
-
import "../../../../chart-other-funnel2/index.mjs";
|
|
48
|
-
import "../../../../chart-other-label-gauge/index.mjs";
|
|
49
|
-
import "../../../../chart-other-theme-river/index.mjs";
|
|
50
|
-
import "../../../../chart-other-tree/index.mjs";
|
|
51
|
-
import "../../../../chart-other-treemap/index.mjs";
|
|
52
|
-
import "../../../../commons-product-model/index.mjs";
|
|
53
|
-
import "../../../../commons-vr-photo/index.mjs";
|
|
54
|
-
import "../../../../commons-vr-video/index.mjs";
|
|
55
|
-
import "../../../../commons-three-loader/index.mjs";
|
|
56
|
-
import "../../../../commons-three-loader3/index.mjs";
|
|
57
|
-
import "../../../../commons-loop-iterator/index.mjs";
|
|
58
|
-
import "../../../../commons-gaussian-splatting-view/index.mjs";
|
|
59
|
-
import "../../../../commons-babylon/index.mjs";
|
|
60
|
-
import "../../../../commons-svg/index.mjs";
|
|
61
|
-
import "../../../../commons-weather/index.mjs";
|
|
62
|
-
import "../../../../commons-weather-dynamic/index.mjs";
|
|
63
|
-
import "../../../../media-wavesurfer/index.mjs";
|
|
64
|
-
import "../../../../interaction-tabs/index.mjs";
|
|
65
|
-
import "../../../../interaction-tabs2/index.mjs";
|
|
66
|
-
import "../../../../interaction-button/index.mjs";
|
|
67
|
-
import "../../../../interaction-button-image/index.mjs";
|
|
68
|
-
import "../../../../interaction-select/index.mjs";
|
|
69
|
-
import "../../../../interaction-input/index.mjs";
|
|
70
|
-
import "../../../../interaction-radio/index.mjs";
|
|
71
|
-
import "../../../../interaction-slider/index.mjs";
|
|
72
|
-
import "../../../../interaction-switch/index.mjs";
|
|
73
|
-
import "../../../../interaction-data-picker/index.mjs";
|
|
74
|
-
import "../../../../interaction-button-refresh/index.mjs";
|
|
75
|
-
import "../../../../media-image/index.mjs";
|
|
76
|
-
import "../../../../text-title/index.mjs";
|
|
77
|
-
import "../../../../commons-qrcode/index.mjs";
|
|
78
|
-
import "../../../../media-video/index.mjs";
|
|
79
|
-
import "../../../../media-audio/index.mjs";
|
|
80
|
-
import "../../../../text-real-time/index.mjs";
|
|
81
|
-
import "../../../../media-carousel/index.mjs";
|
|
82
|
-
import "../../../../media-carousel-slides/index.mjs";
|
|
83
|
-
import "../../../../media-iframe-carousel/index.mjs";
|
|
84
|
-
import "../../../../media-iframe/index.mjs";
|
|
85
|
-
import "../../../../media-m3u8/index.mjs";
|
|
86
|
-
import "../../../../media-m3u8-dynamic/index.mjs";
|
|
87
|
-
import "../../../../media-audio-dynamic/index.mjs";
|
|
88
|
-
import "../../../../media-video-dynamic/index.mjs";
|
|
89
|
-
import "../../../../media-image-dynamic/index.mjs";
|
|
90
|
-
import "../../../../media-iframe-dynamic/index.mjs";
|
|
91
|
-
import "../../../../media-flv/index.mjs";
|
|
92
|
-
import "../../../../commons-echarts/index.mjs";
|
|
93
|
-
import "../../../../text-over-number/index.mjs";
|
|
94
|
-
import "../../../../text-table-scroll/index.mjs";
|
|
95
|
-
import "../../../../text-carousel/index.mjs";
|
|
96
|
-
import "../../../../text-row-scroll/index.mjs";
|
|
97
|
-
import "../../../../text-text-dynamic/index.mjs";
|
|
98
|
-
import "../../../../text-count-down/index.mjs";
|
|
99
|
-
import "../../../../graphical-circle/index.mjs";
|
|
100
|
-
import "../../../../graphical-diamond/index.mjs";
|
|
101
|
-
import "../../../../graphical-hexagon/index.mjs";
|
|
102
|
-
import "../../../../graphical-isosceles-triangle/index.mjs";
|
|
103
|
-
import "../../../../graphical-pentagon/index.mjs";
|
|
104
|
-
import "../../../../graphical-rect/index.mjs";
|
|
105
|
-
import "../../../../graphical-right-triangle/index.mjs";
|
|
106
|
-
import "../../../../scene-map3d/index.mjs";
|
|
107
|
-
import "../../../../scene-amap2d/index.mjs";
|
|
108
|
-
import "../../../../scene-amap3d/index.mjs";
|
|
109
|
-
import "../../../../scene-vr/index.mjs";
|
|
110
|
-
import "../../../../scene-unity-iframe/index.mjs";
|
|
111
|
-
import "../../../../scene-unity-webgl/index.mjs";
|
|
112
|
-
import "../../../../scene-ue-iframe/index.mjs";
|
|
113
|
-
import "../../../../scene-ue-shj/index.mjs";
|
|
114
|
-
import "../../../../scene-default/index.mjs";
|
|
115
|
-
import "../../../tabs/index.mjs";
|
|
116
|
-
import "../../../tabs-icon/index.mjs";
|
|
117
|
-
import "../../../button/index.mjs";
|
|
118
|
-
import "../../src/date-picker/index.mjs";
|
|
119
|
-
import "../../src/date-picker-range/index.mjs";
|
|
120
|
-
import "../../../../text/list/index.mjs";
|
|
121
|
-
import "../../../../chart/src/bar/basic/index.mjs";
|
|
122
|
-
import "../../../../chart/src/bar/animation/index.mjs";
|
|
123
|
-
import "../../../../chart/src/bar/contrast/index.mjs";
|
|
124
|
-
import "../../../../chart/src/bar/contrast2/index.mjs";
|
|
125
|
-
import "../../../../chart/src/bar/contrast3/index.mjs";
|
|
126
|
-
import "../../../../chart/src/bar/gradient-column-chart/index.mjs";
|
|
127
|
-
import "../../../../chart/src/bar/horizontal/index.mjs";
|
|
128
|
-
import "../../../../chart/src/bar/horizontal-stack/index.mjs";
|
|
129
|
-
import "../../../../chart/src/bar/line-bar/index.mjs";
|
|
130
|
-
import "../../../../chart/src/bar/line-bar2/index.mjs";
|
|
131
|
-
import "../../../../chart/src/bar/loop/index.mjs";
|
|
132
|
-
import "../../../../chart/src/bar/mini/index.mjs";
|
|
133
|
-
import "../../../../chart/src/bar/polar/index.mjs";
|
|
134
|
-
import "../../../../chart/src/bar/polar-stack/index.mjs";
|
|
135
|
-
import "../../../../chart/src/bar/polar2/index.mjs";
|
|
136
|
-
import "../../../../chart/src/bar/radius-circle/index.mjs";
|
|
137
|
-
import "../../../../chart/src/bar/rank/index.mjs";
|
|
138
|
-
import "../../../../chart/src/bar/segmented-progress/index.mjs";
|
|
139
|
-
import "../../../../chart/src/bar/spire/index.mjs";
|
|
140
|
-
import "../../../../chart/src/bar/stack/index.mjs";
|
|
141
|
-
import "../../../../chart/src/bar/stack-line/index.mjs";
|
|
142
|
-
import "../../../../chart/src/bar/stack2/index.mjs";
|
|
143
|
-
import "../../../../chart/src/bar/stack3/index.mjs";
|
|
144
|
-
import "../../../../chart/src/bar/staggered/index.mjs";
|
|
145
|
-
import "../../../../chart/src/bar/three/index.mjs";
|
|
146
|
-
import "../../../../chart/src/bar/waterfall/index.mjs";
|
|
147
|
-
import "../../../../chart/src/bar/zebra/index.mjs";
|
|
148
|
-
import "../../../../chart/src/line/area-gradient/index.mjs";
|
|
149
|
-
import "../../../../chart/src/line/area-highlight/index.mjs";
|
|
150
|
-
import "../../../../chart/src/line/area-highlight2/index.mjs";
|
|
151
|
-
import "../../../../chart/src/line/basic/index.mjs";
|
|
152
|
-
import "../../../../chart/src/line/bump/index.mjs";
|
|
153
|
-
import "../../../../chart/src/line/dashed/index.mjs";
|
|
154
|
-
import "../../../../chart/src/line/ladder/index.mjs";
|
|
155
|
-
import "../../../../chart/src/line/logarithm/index.mjs";
|
|
156
|
-
import "../../../../chart/src/line/multix/index.mjs";
|
|
157
|
-
import "../../../../chart/src/line/polar-double/index.mjs";
|
|
158
|
-
import "../../../../chart/src/line/rain-flow/index.mjs";
|
|
159
|
-
import "../../../../chart/src/line/scale/index.mjs";
|
|
160
|
-
import "../../../../chart/src/line/smooth/index.mjs";
|
|
161
|
-
import "../../../../chart/src/line/smooth-area/index.mjs";
|
|
162
|
-
import "../../../../chart/src/line/stack/index.mjs";
|
|
163
|
-
import "../../../../chart/src/line/stack-area/index.mjs";
|
|
164
|
-
import "../../../../chart/src/line/temp/index.mjs";
|
|
165
|
-
import "../../../../chart/src/line/vertical/index.mjs";
|
|
166
|
-
import "../../../../chart/src/map/basic/index.mjs";
|
|
167
|
-
import "../../../../chart/src/map/bmap-basic/index.mjs";
|
|
168
|
-
import "../../../../chart/src/map/bmap-heatmap/index.mjs";
|
|
169
|
-
import "../../../../chart/src/map/bmap-rich/index.mjs";
|
|
170
|
-
import "../../../../chart/src/map/customize/index.mjs";
|
|
171
|
-
import "../../../../chart/src/map/lines/index.mjs";
|
|
172
|
-
import "../../../../chart/src/map/scatter/index.mjs";
|
|
173
|
-
import "../../../../chart/src/pie/3d/index.mjs";
|
|
174
|
-
import "../../../../chart/src/pie/basic/index.mjs";
|
|
175
|
-
import "../../../../chart/src/pie/basic2/index.mjs";
|
|
176
|
-
import "../../../../chart/src/pie/customized/index.mjs";
|
|
177
|
-
import "../../../../chart/src/pie/index/index.mjs";
|
|
178
|
-
import "../../../../chart/src/pie/interval/index.mjs";
|
|
179
|
-
import "../../../../chart/src/pie/legend-scroll/index.mjs";
|
|
180
|
-
import "../../../../chart/src/pie/radius/index.mjs";
|
|
181
|
-
import "../../../../chart/src/pie/rose/index.mjs";
|
|
182
|
-
import "../../../../chart/src/pie/round/index.mjs";
|
|
183
|
-
import "../../../../chart/src/pie/sunburst/index.mjs";
|
|
184
|
-
import "../../../../chart/src/scatter/basic/index.mjs";
|
|
185
|
-
import "../../../../chart/src/scatter/basic2/index.mjs";
|
|
186
|
-
import "../../../../chart/src/scatter/bubble/index.mjs";
|
|
187
|
-
import "../../../../chart/src/scatter/ripples/index.mjs";
|
|
188
|
-
import "../../../../commons/custom-component-render/index.mjs";
|
|
189
|
-
/* empty css */
|
|
190
|
-
/* empty css */
|
|
191
|
-
import { SHJDatasourceV2 as j } from "../../../../../plugins/datasource/index.mjs";
|
|
192
|
-
import { SHJParseEvent as d } from "../../../../../plugins/event/index.mjs";
|
|
193
|
-
import "lodash";
|
|
194
|
-
import { Utils as q } from "../../../../../commons/utils/utils.mjs";
|
|
195
|
-
import "@vuepic/vue-datepicker/dist/main.css";
|
|
196
|
-
const z = { class: "left-sidebar" }, ce = /* @__PURE__ */ V({
|
|
197
|
-
__name: "index",
|
|
198
|
-
props: {
|
|
199
|
-
option: {},
|
|
200
|
-
sources: {},
|
|
201
|
-
useEvents: {},
|
|
202
|
-
uuid: {}
|
|
203
|
-
},
|
|
204
|
-
emits: ["on-change", "on-complete"],
|
|
205
|
-
setup($, { expose: E, emit: P }) {
|
|
206
|
-
S((o) => ({
|
|
207
|
-
"681ba034": o.option.css.dp.backgroundColor,
|
|
208
|
-
"61f5c807": o.option.css.dp.textColor,
|
|
209
|
-
cef10854: o.option.css.dp.hoverColor,
|
|
210
|
-
"18ca0929": o.option.css.dp.hoverTextColor,
|
|
211
|
-
ab4929e0: o.option.css.dp.primaryColor,
|
|
212
|
-
de991e18: o.option.css.dp.primaryDisabledColor,
|
|
213
|
-
"343fcb63": o.option.css.dp.primaryTextColor,
|
|
214
|
-
"59b2771e": o.option.css.dp.secondaryColor,
|
|
215
|
-
"3f9e1fb0": o.option.css.dp.borderColor,
|
|
216
|
-
"6d2390c9": o.option.css.dp.menuBorderColor,
|
|
217
|
-
dd5c7c18: o.option.css.dp.borderColorHover,
|
|
218
|
-
dd9564e0: o.option.css.dp.borderColorFocus,
|
|
219
|
-
"77db08d0": o.option.css.dp.disabledColor,
|
|
220
|
-
b08e8f36: o.option.css.dp.scrollBarBackground,
|
|
221
|
-
f3b53468: o.option.css.dp.scrollBarColor,
|
|
222
|
-
"74315ca2": o.option.css.dp.successColor,
|
|
223
|
-
"04ced14b": o.option.css.dp.successColorDisabled,
|
|
224
|
-
d6f01ede: o.option.css.dp.dangerColor,
|
|
225
|
-
"38e2a8e5": o.option.css.dp.disabledColorText,
|
|
226
|
-
"837f3844": o.option.css.dp.highlightColor,
|
|
227
|
-
c45f603c: o.option.css.dp.loader,
|
|
228
|
-
"12bd08ff": o.option.css.dp.fontSize,
|
|
229
|
-
"4899598c": o.option.css.dp.inputBackgroundColor,
|
|
230
|
-
e17c81bc: o.option.css.dp.inputHeight
|
|
231
|
-
})), r.extend(H), r.locale("zh-cn");
|
|
232
|
-
const m = $, l = P, e = c(), v = c(O()), y = () => v.value = O(), a = () => {
|
|
233
|
-
j.parse({
|
|
234
|
-
tId: m.uuid,
|
|
235
|
-
sources: m.sources,
|
|
236
|
-
callback: ({ data: o }) => {
|
|
237
|
-
try {
|
|
238
|
-
if (e.value = o[0].data[0].date, m.option.range) {
|
|
239
|
-
const t = {
|
|
240
|
-
data: e.value,
|
|
241
|
-
startTime: e.value[0],
|
|
242
|
-
endTime: e.value[1]
|
|
243
|
-
};
|
|
244
|
-
l("on-complete", t), d.parseEvents(m.useEvents, "on-complete", t);
|
|
245
|
-
} else {
|
|
246
|
-
const t = { data: e.value };
|
|
247
|
-
l("on-complete", t), d.parseEvents(m.useEvents, "on-complete", t);
|
|
248
|
-
}
|
|
249
|
-
} catch {
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
};
|
|
254
|
-
T(() => a()), I(m, a, y), E({
|
|
255
|
-
refresh: () => a(),
|
|
256
|
-
refreshView: () => y(),
|
|
257
|
-
refreshData: () => a()
|
|
258
|
-
});
|
|
259
|
-
const k = (o) => {
|
|
260
|
-
if (e.value = o, m.option.range) {
|
|
261
|
-
const n = {
|
|
262
|
-
data: e.value,
|
|
263
|
-
startTime: e.value[0],
|
|
264
|
-
endTime: e.value[1]
|
|
265
|
-
};
|
|
266
|
-
l("on-change", n), d.parseEvents(m.useEvents, "on-change", n);
|
|
267
|
-
return;
|
|
268
|
-
}
|
|
269
|
-
const t = { data: e.value };
|
|
270
|
-
l("on-change", t), d.parseEvents(m.useEvents, "on-change", t);
|
|
271
|
-
}, u = (o) => {
|
|
272
|
-
o === "today" ? e.value = r() : o === "yesterday" ? e.value = r().subtract(1, "day") : o === "before-yesterday" && (e.value = r().subtract(2, "day"));
|
|
273
|
-
}, s = (o) => {
|
|
274
|
-
o === "today" ? e.value = [r().startOf("day"), r().endOf("day")] : o === "yesterday" ? e.value = [r().subtract(1, "day").startOf("day"), r().subtract(1, "day").endOf("day")] : o === "before-yesterday" ? e.value = [r().subtract(2, "day").startOf("day"), r().subtract(2, "day").endOf("day")] : o === "week" ? e.value = [r().startOf("week"), r().endOf("week")] : o === "last-month" ? e.value = [r().subtract(1, "month").startOf("month"), r().subtract(1, "month").endOf("month")] : o === "month" ? e.value = [r().startOf("month"), r().endOf("month")] : o === "last-7" ? e.value = [r().subtract(7, "day").startOf("day"), r().endOf("day")] : o === "last-15" ? e.value = [r().subtract(15, "day").startOf("day"), r().endOf("day")] : o === "last-30" ? e.value = [r().subtract(30, "day").startOf("day"), r().endOf("day")] : o === "last-365" && (e.value = [r().subtract(365, "day").startOf("day"), r().endOf("day")]), k(e.value);
|
|
275
|
-
};
|
|
276
|
-
return (o, t) => (b(), f("div", {
|
|
277
|
-
key: v.value,
|
|
278
|
-
class: "date-picker"
|
|
279
|
-
}, [
|
|
280
|
-
D(C(R), {
|
|
281
|
-
modelValue: e.value,
|
|
282
|
-
"onUpdate:modelValue": [
|
|
283
|
-
t[13] || (t[13] = (n) => e.value = n),
|
|
284
|
-
k
|
|
285
|
-
],
|
|
286
|
-
range: o.option.range,
|
|
287
|
-
"multi-calendars": o.option.multiCalendars,
|
|
288
|
-
"month-picker": o.option.monthPicker,
|
|
289
|
-
"time-picker": o.option.timePicker,
|
|
290
|
-
"year-picker": o.option.yearPicker,
|
|
291
|
-
"week-picker": o.option.weekPicker,
|
|
292
|
-
"quarter-picker": o.option.quarterPicker,
|
|
293
|
-
inline: o.option.inline,
|
|
294
|
-
"auto-apply": o.option.autoApply,
|
|
295
|
-
clearable: o.option.clearable,
|
|
296
|
-
placeholder: o.option.placeholder,
|
|
297
|
-
disabled: o.option.disabled,
|
|
298
|
-
readonly: o.option.readonly,
|
|
299
|
-
"action-row": {
|
|
300
|
-
showNow: o.option.actionRow.showNow,
|
|
301
|
-
showPreview: o.option.actionRow.showPreview,
|
|
302
|
-
showSelect: o.option.actionRow.showSelect,
|
|
303
|
-
showCancel: o.option.actionRow.showCancel
|
|
304
|
-
},
|
|
305
|
-
"disable-year-select": o.option.disableYearSelect,
|
|
306
|
-
"enable-time-picker": o.option.enableTimePicker,
|
|
307
|
-
"enable-seconds": o.option.enableSeconds,
|
|
308
|
-
"time-picker-inline": o.option.timePickerInline,
|
|
309
|
-
"now-button-label": o.option.nowButtonLabel,
|
|
310
|
-
"cancel-text": o.option.cancelText,
|
|
311
|
-
"select-text": o.option.selectText,
|
|
312
|
-
"hide-input-icon": o.option.hideInputIcon,
|
|
313
|
-
class: "date-picker-container",
|
|
314
|
-
style: B(C(q).json2cssObject(o.option.css.dp, "dp"))
|
|
315
|
-
}, {
|
|
316
|
-
"left-sidebar": N((n) => [
|
|
317
|
-
i("div", z, [
|
|
318
|
-
o.option.range ? w("", !0) : (b(), f(g, { key: 0 }, [
|
|
319
|
-
i("div", {
|
|
320
|
-
class: "left-sidebar-item",
|
|
321
|
-
onClick: t[0] || (t[0] = (p) => u("today"))
|
|
322
|
-
}, t[14] || (t[14] = [
|
|
323
|
-
i("span", null, "今天", -1)
|
|
324
|
-
])),
|
|
325
|
-
i("div", {
|
|
326
|
-
class: "left-sidebar-item",
|
|
327
|
-
onClick: t[1] || (t[1] = (p) => u("yesterday"))
|
|
328
|
-
}, t[15] || (t[15] = [
|
|
329
|
-
i("span", null, "昨天", -1)
|
|
330
|
-
])),
|
|
331
|
-
i("div", {
|
|
332
|
-
class: "left-sidebar-item",
|
|
333
|
-
onClick: t[2] || (t[2] = (p) => u("before-yesterday"))
|
|
334
|
-
}, t[16] || (t[16] = [
|
|
335
|
-
i("span", null, "前天", -1)
|
|
336
|
-
]))
|
|
337
|
-
], 64)),
|
|
338
|
-
o.option.range ? (b(), f(g, { key: 1 }, [
|
|
339
|
-
i("div", {
|
|
340
|
-
class: "left-sidebar-item",
|
|
341
|
-
onClick: t[3] || (t[3] = (p) => s("today"))
|
|
342
|
-
}, t[17] || (t[17] = [
|
|
343
|
-
i("span", null, "今日", -1)
|
|
344
|
-
])),
|
|
345
|
-
i("div", {
|
|
346
|
-
class: "left-sidebar-item",
|
|
347
|
-
onClick: t[4] || (t[4] = (p) => s("yesterday"))
|
|
348
|
-
}, t[18] || (t[18] = [
|
|
349
|
-
i("span", null, "昨日", -1)
|
|
350
|
-
])),
|
|
351
|
-
i("div", {
|
|
352
|
-
class: "left-sidebar-item",
|
|
353
|
-
onClick: t[5] || (t[5] = (p) => s("before-yesterday"))
|
|
354
|
-
}, t[19] || (t[19] = [
|
|
355
|
-
i("span", null, "前天", -1)
|
|
356
|
-
])),
|
|
357
|
-
i("div", {
|
|
358
|
-
class: "left-sidebar-item",
|
|
359
|
-
onClick: t[6] || (t[6] = (p) => s("week"))
|
|
360
|
-
}, t[20] || (t[20] = [
|
|
361
|
-
i("span", null, "本周", -1)
|
|
362
|
-
])),
|
|
363
|
-
i("div", {
|
|
364
|
-
class: "left-sidebar-item",
|
|
365
|
-
onClick: t[7] || (t[7] = (p) => s("last-month"))
|
|
366
|
-
}, t[21] || (t[21] = [
|
|
367
|
-
i("span", null, "上一月", -1)
|
|
368
|
-
])),
|
|
369
|
-
i("div", {
|
|
370
|
-
class: "left-sidebar-item",
|
|
371
|
-
onClick: t[8] || (t[8] = (p) => s("month"))
|
|
372
|
-
}, t[22] || (t[22] = [
|
|
373
|
-
i("span", null, "本月", -1)
|
|
374
|
-
])),
|
|
375
|
-
i("div", {
|
|
376
|
-
class: "left-sidebar-item",
|
|
377
|
-
onClick: t[9] || (t[9] = (p) => s("last-7"))
|
|
378
|
-
}, t[23] || (t[23] = [
|
|
379
|
-
i("span", null, "近7天", -1)
|
|
380
|
-
])),
|
|
381
|
-
i("div", {
|
|
382
|
-
class: "left-sidebar-item",
|
|
383
|
-
onClick: t[10] || (t[10] = (p) => s("last-15"))
|
|
384
|
-
}, t[24] || (t[24] = [
|
|
385
|
-
i("span", null, "近15天", -1)
|
|
386
|
-
])),
|
|
387
|
-
i("div", {
|
|
388
|
-
class: "left-sidebar-item",
|
|
389
|
-
onClick: t[11] || (t[11] = (p) => s("last-30"))
|
|
390
|
-
}, t[25] || (t[25] = [
|
|
391
|
-
i("span", null, "近30天", -1)
|
|
392
|
-
])),
|
|
393
|
-
i("div", {
|
|
394
|
-
class: "left-sidebar-item",
|
|
395
|
-
onClick: t[12] || (t[12] = (p) => s("last-365"))
|
|
396
|
-
}, t[26] || (t[26] = [
|
|
397
|
-
i("span", null, "近365天", -1)
|
|
398
|
-
]))
|
|
399
|
-
], 64)) : w("", !0)
|
|
400
|
-
])
|
|
401
|
-
]),
|
|
402
|
-
_: 1
|
|
403
|
-
}, 8, ["modelValue", "range", "multi-calendars", "month-picker", "time-picker", "year-picker", "week-picker", "quarter-picker", "inline", "auto-apply", "clearable", "placeholder", "disabled", "readonly", "action-row", "disable-year-select", "enable-time-picker", "enable-seconds", "time-picker-inline", "now-button-label", "cancel-text", "select-text", "hide-input-icon", "style"])
|
|
404
|
-
]));
|
|
405
|
-
}
|
|
406
|
-
});
|
|
407
|
-
export {
|
|
408
|
-
ce as default
|
|
409
|
-
};
|
|
1
|
+
import { defineComponent as V, useCssVars as S, ref as c, onMounted as T, createElementBlock as f, openBlock as b, createVNode as D, unref as C, normalizeStyle as B, withCtx as N, createElementVNode as i, createCommentVNode as w, Fragment as g } from "vue";
|
|
2
|
+
import R from "@vuepic/vue-datepicker";
|
|
3
|
+
import { nanoid as O } from "nanoid";
|
|
4
|
+
import r from "dayjs";
|
|
5
|
+
import "dayjs/locale/zh-cn";
|
|
6
|
+
import H from "dayjs/plugin/relativeTime";
|
|
7
|
+
import { useDatePickerWatch as I } from "./hooks/useDatePickerWatch.mjs";
|
|
8
|
+
import "../../../../text-text-basic/index.mjs";
|
|
9
|
+
import "../../../../text-table-basic/index.mjs";
|
|
10
|
+
import "../../../../chart-other-gauge/index.mjs";
|
|
11
|
+
import "../../../../chart-other-gauge-stage/index.mjs";
|
|
12
|
+
import "../../../../chart-other-gauge-grade/index.mjs";
|
|
13
|
+
import "../../../../chart-other-word-cloud/index.mjs";
|
|
14
|
+
import "../../../../chart-other-liquidfill/index.mjs";
|
|
15
|
+
import "../../../../chart-other-funnel/index.mjs";
|
|
16
|
+
import "../../../../chart-other-force/index.mjs";
|
|
17
|
+
import "../../../../chart-other-radar/index.mjs";
|
|
18
|
+
import "../../../../chart-other-funnel-split/index.mjs";
|
|
19
|
+
import "../../../../chart-other-funnel-contrast/index.mjs";
|
|
20
|
+
import "../../../../chart-other-candlestick-basic/index.mjs";
|
|
21
|
+
import "../../../../chart-other-candlestick-shanghai/index.mjs";
|
|
22
|
+
import "../../../../chart-other-candlestick-demo/index.mjs";
|
|
23
|
+
import "../../../../chart-other-heatmap/index.mjs";
|
|
24
|
+
import "../../../../chart-other-force2/index.mjs";
|
|
25
|
+
import "../../../../chart-other-graph-basic/index.mjs";
|
|
26
|
+
import "../../../../chart-other-graph-basic2/index.mjs";
|
|
27
|
+
import "../../../../chart-other-graph-calendar/index.mjs";
|
|
28
|
+
import "../../../../chart-other-tree-line/index.mjs";
|
|
29
|
+
import "../../../../chart-other-treemap-basic/index.mjs";
|
|
30
|
+
import "../../../../chart-other-sunburst-basic/index.mjs";
|
|
31
|
+
import "../../../../chart-other-sunburst-basic2/index.mjs";
|
|
32
|
+
import "../../../../chart-other-sunburst-basic3/index.mjs";
|
|
33
|
+
import "../../../../chart-other-sunburst-basic4/index.mjs";
|
|
34
|
+
import "../../../../chart-other-sunburst-book/index.mjs";
|
|
35
|
+
import "../../../../chart-other-sunburst-radius/index.mjs";
|
|
36
|
+
import "../../../../chart-other-sunburst-flavors/index.mjs";
|
|
37
|
+
import "../../../../chart-other-parallel-basic/index.mjs";
|
|
38
|
+
import "../../../../chart-other-parallel-mul/index.mjs";
|
|
39
|
+
import "../../../../chart-other-circular-graph/index.mjs";
|
|
40
|
+
import "../../../../map-earth-basic/index.mjs";
|
|
41
|
+
import "../../../../map-earth-cool-tech/index.mjs";
|
|
42
|
+
import "../../../../map-earth-particle/index.mjs";
|
|
43
|
+
import "../../../../map-earth-hacker/index.mjs";
|
|
44
|
+
import "../../../../map-earth-fly-line/index.mjs";
|
|
45
|
+
import "../../../../chart-other-grid-percentage/index.mjs";
|
|
46
|
+
import "../../../../chart-other-radar-stack/index.mjs";
|
|
47
|
+
import "../../../../chart-other-funnel2/index.mjs";
|
|
48
|
+
import "../../../../chart-other-label-gauge/index.mjs";
|
|
49
|
+
import "../../../../chart-other-theme-river/index.mjs";
|
|
50
|
+
import "../../../../chart-other-tree/index.mjs";
|
|
51
|
+
import "../../../../chart-other-treemap/index.mjs";
|
|
52
|
+
import "../../../../commons-product-model/index.mjs";
|
|
53
|
+
import "../../../../commons-vr-photo/index.mjs";
|
|
54
|
+
import "../../../../commons-vr-video/index.mjs";
|
|
55
|
+
import "../../../../commons-three-loader/index.mjs";
|
|
56
|
+
import "../../../../commons-three-loader3/index.mjs";
|
|
57
|
+
import "../../../../commons-loop-iterator/index.mjs";
|
|
58
|
+
import "../../../../commons-gaussian-splatting-view/index.mjs";
|
|
59
|
+
import "../../../../commons-babylon/index.mjs";
|
|
60
|
+
import "../../../../commons-svg/index.mjs";
|
|
61
|
+
import "../../../../commons-weather/index.mjs";
|
|
62
|
+
import "../../../../commons-weather-dynamic/index.mjs";
|
|
63
|
+
import "../../../../media-wavesurfer/index.mjs";
|
|
64
|
+
import "../../../../interaction-tabs/index.mjs";
|
|
65
|
+
import "../../../../interaction-tabs2/index.mjs";
|
|
66
|
+
import "../../../../interaction-button/index.mjs";
|
|
67
|
+
import "../../../../interaction-button-image/index.mjs";
|
|
68
|
+
import "../../../../interaction-select/index.mjs";
|
|
69
|
+
import "../../../../interaction-input/index.mjs";
|
|
70
|
+
import "../../../../interaction-radio/index.mjs";
|
|
71
|
+
import "../../../../interaction-slider/index.mjs";
|
|
72
|
+
import "../../../../interaction-switch/index.mjs";
|
|
73
|
+
import "../../../../interaction-data-picker/index.mjs";
|
|
74
|
+
import "../../../../interaction-button-refresh/index.mjs";
|
|
75
|
+
import "../../../../media-image/index.mjs";
|
|
76
|
+
import "../../../../text-title/index.mjs";
|
|
77
|
+
import "../../../../commons-qrcode/index.mjs";
|
|
78
|
+
import "../../../../media-video/index.mjs";
|
|
79
|
+
import "../../../../media-audio/index.mjs";
|
|
80
|
+
import "../../../../text-real-time/index.mjs";
|
|
81
|
+
import "../../../../media-carousel/index.mjs";
|
|
82
|
+
import "../../../../media-carousel-slides/index.mjs";
|
|
83
|
+
import "../../../../media-iframe-carousel/index.mjs";
|
|
84
|
+
import "../../../../media-iframe/index.mjs";
|
|
85
|
+
import "../../../../media-m3u8/index.mjs";
|
|
86
|
+
import "../../../../media-m3u8-dynamic/index.mjs";
|
|
87
|
+
import "../../../../media-audio-dynamic/index.mjs";
|
|
88
|
+
import "../../../../media-video-dynamic/index.mjs";
|
|
89
|
+
import "../../../../media-image-dynamic/index.mjs";
|
|
90
|
+
import "../../../../media-iframe-dynamic/index.mjs";
|
|
91
|
+
import "../../../../media-flv/index.mjs";
|
|
92
|
+
import "../../../../commons-echarts/index.mjs";
|
|
93
|
+
import "../../../../text-over-number/index.mjs";
|
|
94
|
+
import "../../../../text-table-scroll/index.mjs";
|
|
95
|
+
import "../../../../text-carousel/index.mjs";
|
|
96
|
+
import "../../../../text-row-scroll/index.mjs";
|
|
97
|
+
import "../../../../text-text-dynamic/index.mjs";
|
|
98
|
+
import "../../../../text-count-down/index.mjs";
|
|
99
|
+
import "../../../../graphical-circle/index.mjs";
|
|
100
|
+
import "../../../../graphical-diamond/index.mjs";
|
|
101
|
+
import "../../../../graphical-hexagon/index.mjs";
|
|
102
|
+
import "../../../../graphical-isosceles-triangle/index.mjs";
|
|
103
|
+
import "../../../../graphical-pentagon/index.mjs";
|
|
104
|
+
import "../../../../graphical-rect/index.mjs";
|
|
105
|
+
import "../../../../graphical-right-triangle/index.mjs";
|
|
106
|
+
import "../../../../scene-map3d/index.mjs";
|
|
107
|
+
import "../../../../scene-amap2d/index.mjs";
|
|
108
|
+
import "../../../../scene-amap3d/index.mjs";
|
|
109
|
+
import "../../../../scene-vr/index.mjs";
|
|
110
|
+
import "../../../../scene-unity-iframe/index.mjs";
|
|
111
|
+
import "../../../../scene-unity-webgl/index.mjs";
|
|
112
|
+
import "../../../../scene-ue-iframe/index.mjs";
|
|
113
|
+
import "../../../../scene-ue-shj/index.mjs";
|
|
114
|
+
import "../../../../scene-default/index.mjs";
|
|
115
|
+
import "../../../tabs/index.mjs";
|
|
116
|
+
import "../../../tabs-icon/index.mjs";
|
|
117
|
+
import "../../../button/index.mjs";
|
|
118
|
+
import "../../src/date-picker/index.mjs";
|
|
119
|
+
import "../../src/date-picker-range/index.mjs";
|
|
120
|
+
import "../../../../text/list/index.mjs";
|
|
121
|
+
import "../../../../chart/src/bar/basic/index.mjs";
|
|
122
|
+
import "../../../../chart/src/bar/animation/index.mjs";
|
|
123
|
+
import "../../../../chart/src/bar/contrast/index.mjs";
|
|
124
|
+
import "../../../../chart/src/bar/contrast2/index.mjs";
|
|
125
|
+
import "../../../../chart/src/bar/contrast3/index.mjs";
|
|
126
|
+
import "../../../../chart/src/bar/gradient-column-chart/index.mjs";
|
|
127
|
+
import "../../../../chart/src/bar/horizontal/index.mjs";
|
|
128
|
+
import "../../../../chart/src/bar/horizontal-stack/index.mjs";
|
|
129
|
+
import "../../../../chart/src/bar/line-bar/index.mjs";
|
|
130
|
+
import "../../../../chart/src/bar/line-bar2/index.mjs";
|
|
131
|
+
import "../../../../chart/src/bar/loop/index.mjs";
|
|
132
|
+
import "../../../../chart/src/bar/mini/index.mjs";
|
|
133
|
+
import "../../../../chart/src/bar/polar/index.mjs";
|
|
134
|
+
import "../../../../chart/src/bar/polar-stack/index.mjs";
|
|
135
|
+
import "../../../../chart/src/bar/polar2/index.mjs";
|
|
136
|
+
import "../../../../chart/src/bar/radius-circle/index.mjs";
|
|
137
|
+
import "../../../../chart/src/bar/rank/index.mjs";
|
|
138
|
+
import "../../../../chart/src/bar/segmented-progress/index.mjs";
|
|
139
|
+
import "../../../../chart/src/bar/spire/index.mjs";
|
|
140
|
+
import "../../../../chart/src/bar/stack/index.mjs";
|
|
141
|
+
import "../../../../chart/src/bar/stack-line/index.mjs";
|
|
142
|
+
import "../../../../chart/src/bar/stack2/index.mjs";
|
|
143
|
+
import "../../../../chart/src/bar/stack3/index.mjs";
|
|
144
|
+
import "../../../../chart/src/bar/staggered/index.mjs";
|
|
145
|
+
import "../../../../chart/src/bar/three/index.mjs";
|
|
146
|
+
import "../../../../chart/src/bar/waterfall/index.mjs";
|
|
147
|
+
import "../../../../chart/src/bar/zebra/index.mjs";
|
|
148
|
+
import "../../../../chart/src/line/area-gradient/index.mjs";
|
|
149
|
+
import "../../../../chart/src/line/area-highlight/index.mjs";
|
|
150
|
+
import "../../../../chart/src/line/area-highlight2/index.mjs";
|
|
151
|
+
import "../../../../chart/src/line/basic/index.mjs";
|
|
152
|
+
import "../../../../chart/src/line/bump/index.mjs";
|
|
153
|
+
import "../../../../chart/src/line/dashed/index.mjs";
|
|
154
|
+
import "../../../../chart/src/line/ladder/index.mjs";
|
|
155
|
+
import "../../../../chart/src/line/logarithm/index.mjs";
|
|
156
|
+
import "../../../../chart/src/line/multix/index.mjs";
|
|
157
|
+
import "../../../../chart/src/line/polar-double/index.mjs";
|
|
158
|
+
import "../../../../chart/src/line/rain-flow/index.mjs";
|
|
159
|
+
import "../../../../chart/src/line/scale/index.mjs";
|
|
160
|
+
import "../../../../chart/src/line/smooth/index.mjs";
|
|
161
|
+
import "../../../../chart/src/line/smooth-area/index.mjs";
|
|
162
|
+
import "../../../../chart/src/line/stack/index.mjs";
|
|
163
|
+
import "../../../../chart/src/line/stack-area/index.mjs";
|
|
164
|
+
import "../../../../chart/src/line/temp/index.mjs";
|
|
165
|
+
import "../../../../chart/src/line/vertical/index.mjs";
|
|
166
|
+
import "../../../../chart/src/map/basic/index.mjs";
|
|
167
|
+
import "../../../../chart/src/map/bmap-basic/index.mjs";
|
|
168
|
+
import "../../../../chart/src/map/bmap-heatmap/index.mjs";
|
|
169
|
+
import "../../../../chart/src/map/bmap-rich/index.mjs";
|
|
170
|
+
import "../../../../chart/src/map/customize/index.mjs";
|
|
171
|
+
import "../../../../chart/src/map/lines/index.mjs";
|
|
172
|
+
import "../../../../chart/src/map/scatter/index.mjs";
|
|
173
|
+
import "../../../../chart/src/pie/3d/index.mjs";
|
|
174
|
+
import "../../../../chart/src/pie/basic/index.mjs";
|
|
175
|
+
import "../../../../chart/src/pie/basic2/index.mjs";
|
|
176
|
+
import "../../../../chart/src/pie/customized/index.mjs";
|
|
177
|
+
import "../../../../chart/src/pie/index/index.mjs";
|
|
178
|
+
import "../../../../chart/src/pie/interval/index.mjs";
|
|
179
|
+
import "../../../../chart/src/pie/legend-scroll/index.mjs";
|
|
180
|
+
import "../../../../chart/src/pie/radius/index.mjs";
|
|
181
|
+
import "../../../../chart/src/pie/rose/index.mjs";
|
|
182
|
+
import "../../../../chart/src/pie/round/index.mjs";
|
|
183
|
+
import "../../../../chart/src/pie/sunburst/index.mjs";
|
|
184
|
+
import "../../../../chart/src/scatter/basic/index.mjs";
|
|
185
|
+
import "../../../../chart/src/scatter/basic2/index.mjs";
|
|
186
|
+
import "../../../../chart/src/scatter/bubble/index.mjs";
|
|
187
|
+
import "../../../../chart/src/scatter/ripples/index.mjs";
|
|
188
|
+
import "../../../../commons/custom-component-render/index.mjs";
|
|
189
|
+
/* empty css */
|
|
190
|
+
/* empty css */
|
|
191
|
+
import { SHJDatasourceV2 as j } from "../../../../../plugins/datasource/index.mjs";
|
|
192
|
+
import { SHJParseEvent as d } from "../../../../../plugins/event/index.mjs";
|
|
193
|
+
import "lodash";
|
|
194
|
+
import { Utils as q } from "../../../../../commons/utils/utils.mjs";
|
|
195
|
+
import "@vuepic/vue-datepicker/dist/main.css";
|
|
196
|
+
const z = { class: "left-sidebar" }, ce = /* @__PURE__ */ V({
|
|
197
|
+
__name: "index",
|
|
198
|
+
props: {
|
|
199
|
+
option: {},
|
|
200
|
+
sources: {},
|
|
201
|
+
useEvents: {},
|
|
202
|
+
uuid: {}
|
|
203
|
+
},
|
|
204
|
+
emits: ["on-change", "on-complete"],
|
|
205
|
+
setup($, { expose: E, emit: P }) {
|
|
206
|
+
S((o) => ({
|
|
207
|
+
"681ba034": o.option.css.dp.backgroundColor,
|
|
208
|
+
"61f5c807": o.option.css.dp.textColor,
|
|
209
|
+
cef10854: o.option.css.dp.hoverColor,
|
|
210
|
+
"18ca0929": o.option.css.dp.hoverTextColor,
|
|
211
|
+
ab4929e0: o.option.css.dp.primaryColor,
|
|
212
|
+
de991e18: o.option.css.dp.primaryDisabledColor,
|
|
213
|
+
"343fcb63": o.option.css.dp.primaryTextColor,
|
|
214
|
+
"59b2771e": o.option.css.dp.secondaryColor,
|
|
215
|
+
"3f9e1fb0": o.option.css.dp.borderColor,
|
|
216
|
+
"6d2390c9": o.option.css.dp.menuBorderColor,
|
|
217
|
+
dd5c7c18: o.option.css.dp.borderColorHover,
|
|
218
|
+
dd9564e0: o.option.css.dp.borderColorFocus,
|
|
219
|
+
"77db08d0": o.option.css.dp.disabledColor,
|
|
220
|
+
b08e8f36: o.option.css.dp.scrollBarBackground,
|
|
221
|
+
f3b53468: o.option.css.dp.scrollBarColor,
|
|
222
|
+
"74315ca2": o.option.css.dp.successColor,
|
|
223
|
+
"04ced14b": o.option.css.dp.successColorDisabled,
|
|
224
|
+
d6f01ede: o.option.css.dp.dangerColor,
|
|
225
|
+
"38e2a8e5": o.option.css.dp.disabledColorText,
|
|
226
|
+
"837f3844": o.option.css.dp.highlightColor,
|
|
227
|
+
c45f603c: o.option.css.dp.loader,
|
|
228
|
+
"12bd08ff": o.option.css.dp.fontSize,
|
|
229
|
+
"4899598c": o.option.css.dp.inputBackgroundColor,
|
|
230
|
+
e17c81bc: o.option.css.dp.inputHeight
|
|
231
|
+
})), r.extend(H), r.locale("zh-cn");
|
|
232
|
+
const m = $, l = P, e = c(), v = c(O()), y = () => v.value = O(), a = () => {
|
|
233
|
+
j.parse({
|
|
234
|
+
tId: m.uuid,
|
|
235
|
+
sources: m.sources,
|
|
236
|
+
callback: ({ data: o }) => {
|
|
237
|
+
try {
|
|
238
|
+
if (e.value = o[0].data[0].date, m.option.range) {
|
|
239
|
+
const t = {
|
|
240
|
+
data: e.value,
|
|
241
|
+
startTime: e.value[0],
|
|
242
|
+
endTime: e.value[1]
|
|
243
|
+
};
|
|
244
|
+
l("on-complete", t), d.parseEvents(m.useEvents, "on-complete", t);
|
|
245
|
+
} else {
|
|
246
|
+
const t = { data: e.value };
|
|
247
|
+
l("on-complete", t), d.parseEvents(m.useEvents, "on-complete", t);
|
|
248
|
+
}
|
|
249
|
+
} catch {
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
};
|
|
254
|
+
T(() => a()), I(m, a, y), E({
|
|
255
|
+
refresh: () => a(),
|
|
256
|
+
refreshView: () => y(),
|
|
257
|
+
refreshData: () => a()
|
|
258
|
+
});
|
|
259
|
+
const k = (o) => {
|
|
260
|
+
if (e.value = o, m.option.range) {
|
|
261
|
+
const n = {
|
|
262
|
+
data: e.value,
|
|
263
|
+
startTime: e.value[0],
|
|
264
|
+
endTime: e.value[1]
|
|
265
|
+
};
|
|
266
|
+
l("on-change", n), d.parseEvents(m.useEvents, "on-change", n);
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
const t = { data: e.value };
|
|
270
|
+
l("on-change", t), d.parseEvents(m.useEvents, "on-change", t);
|
|
271
|
+
}, u = (o) => {
|
|
272
|
+
o === "today" ? e.value = r() : o === "yesterday" ? e.value = r().subtract(1, "day") : o === "before-yesterday" && (e.value = r().subtract(2, "day"));
|
|
273
|
+
}, s = (o) => {
|
|
274
|
+
o === "today" ? e.value = [r().startOf("day"), r().endOf("day")] : o === "yesterday" ? e.value = [r().subtract(1, "day").startOf("day"), r().subtract(1, "day").endOf("day")] : o === "before-yesterday" ? e.value = [r().subtract(2, "day").startOf("day"), r().subtract(2, "day").endOf("day")] : o === "week" ? e.value = [r().startOf("week"), r().endOf("week")] : o === "last-month" ? e.value = [r().subtract(1, "month").startOf("month"), r().subtract(1, "month").endOf("month")] : o === "month" ? e.value = [r().startOf("month"), r().endOf("month")] : o === "last-7" ? e.value = [r().subtract(7, "day").startOf("day"), r().endOf("day")] : o === "last-15" ? e.value = [r().subtract(15, "day").startOf("day"), r().endOf("day")] : o === "last-30" ? e.value = [r().subtract(30, "day").startOf("day"), r().endOf("day")] : o === "last-365" && (e.value = [r().subtract(365, "day").startOf("day"), r().endOf("day")]), k(e.value);
|
|
275
|
+
};
|
|
276
|
+
return (o, t) => (b(), f("div", {
|
|
277
|
+
key: v.value,
|
|
278
|
+
class: "date-picker"
|
|
279
|
+
}, [
|
|
280
|
+
D(C(R), {
|
|
281
|
+
modelValue: e.value,
|
|
282
|
+
"onUpdate:modelValue": [
|
|
283
|
+
t[13] || (t[13] = (n) => e.value = n),
|
|
284
|
+
k
|
|
285
|
+
],
|
|
286
|
+
range: o.option.range,
|
|
287
|
+
"multi-calendars": o.option.multiCalendars,
|
|
288
|
+
"month-picker": o.option.monthPicker,
|
|
289
|
+
"time-picker": o.option.timePicker,
|
|
290
|
+
"year-picker": o.option.yearPicker,
|
|
291
|
+
"week-picker": o.option.weekPicker,
|
|
292
|
+
"quarter-picker": o.option.quarterPicker,
|
|
293
|
+
inline: o.option.inline,
|
|
294
|
+
"auto-apply": o.option.autoApply,
|
|
295
|
+
clearable: o.option.clearable,
|
|
296
|
+
placeholder: o.option.placeholder,
|
|
297
|
+
disabled: o.option.disabled,
|
|
298
|
+
readonly: o.option.readonly,
|
|
299
|
+
"action-row": {
|
|
300
|
+
showNow: o.option.actionRow.showNow,
|
|
301
|
+
showPreview: o.option.actionRow.showPreview,
|
|
302
|
+
showSelect: o.option.actionRow.showSelect,
|
|
303
|
+
showCancel: o.option.actionRow.showCancel
|
|
304
|
+
},
|
|
305
|
+
"disable-year-select": o.option.disableYearSelect,
|
|
306
|
+
"enable-time-picker": o.option.enableTimePicker,
|
|
307
|
+
"enable-seconds": o.option.enableSeconds,
|
|
308
|
+
"time-picker-inline": o.option.timePickerInline,
|
|
309
|
+
"now-button-label": o.option.nowButtonLabel,
|
|
310
|
+
"cancel-text": o.option.cancelText,
|
|
311
|
+
"select-text": o.option.selectText,
|
|
312
|
+
"hide-input-icon": o.option.hideInputIcon,
|
|
313
|
+
class: "date-picker-container",
|
|
314
|
+
style: B(C(q).json2cssObject(o.option.css.dp, "dp"))
|
|
315
|
+
}, {
|
|
316
|
+
"left-sidebar": N((n) => [
|
|
317
|
+
i("div", z, [
|
|
318
|
+
o.option.range ? w("", !0) : (b(), f(g, { key: 0 }, [
|
|
319
|
+
i("div", {
|
|
320
|
+
class: "left-sidebar-item",
|
|
321
|
+
onClick: t[0] || (t[0] = (p) => u("today"))
|
|
322
|
+
}, t[14] || (t[14] = [
|
|
323
|
+
i("span", null, "今天", -1)
|
|
324
|
+
])),
|
|
325
|
+
i("div", {
|
|
326
|
+
class: "left-sidebar-item",
|
|
327
|
+
onClick: t[1] || (t[1] = (p) => u("yesterday"))
|
|
328
|
+
}, t[15] || (t[15] = [
|
|
329
|
+
i("span", null, "昨天", -1)
|
|
330
|
+
])),
|
|
331
|
+
i("div", {
|
|
332
|
+
class: "left-sidebar-item",
|
|
333
|
+
onClick: t[2] || (t[2] = (p) => u("before-yesterday"))
|
|
334
|
+
}, t[16] || (t[16] = [
|
|
335
|
+
i("span", null, "前天", -1)
|
|
336
|
+
]))
|
|
337
|
+
], 64)),
|
|
338
|
+
o.option.range ? (b(), f(g, { key: 1 }, [
|
|
339
|
+
i("div", {
|
|
340
|
+
class: "left-sidebar-item",
|
|
341
|
+
onClick: t[3] || (t[3] = (p) => s("today"))
|
|
342
|
+
}, t[17] || (t[17] = [
|
|
343
|
+
i("span", null, "今日", -1)
|
|
344
|
+
])),
|
|
345
|
+
i("div", {
|
|
346
|
+
class: "left-sidebar-item",
|
|
347
|
+
onClick: t[4] || (t[4] = (p) => s("yesterday"))
|
|
348
|
+
}, t[18] || (t[18] = [
|
|
349
|
+
i("span", null, "昨日", -1)
|
|
350
|
+
])),
|
|
351
|
+
i("div", {
|
|
352
|
+
class: "left-sidebar-item",
|
|
353
|
+
onClick: t[5] || (t[5] = (p) => s("before-yesterday"))
|
|
354
|
+
}, t[19] || (t[19] = [
|
|
355
|
+
i("span", null, "前天", -1)
|
|
356
|
+
])),
|
|
357
|
+
i("div", {
|
|
358
|
+
class: "left-sidebar-item",
|
|
359
|
+
onClick: t[6] || (t[6] = (p) => s("week"))
|
|
360
|
+
}, t[20] || (t[20] = [
|
|
361
|
+
i("span", null, "本周", -1)
|
|
362
|
+
])),
|
|
363
|
+
i("div", {
|
|
364
|
+
class: "left-sidebar-item",
|
|
365
|
+
onClick: t[7] || (t[7] = (p) => s("last-month"))
|
|
366
|
+
}, t[21] || (t[21] = [
|
|
367
|
+
i("span", null, "上一月", -1)
|
|
368
|
+
])),
|
|
369
|
+
i("div", {
|
|
370
|
+
class: "left-sidebar-item",
|
|
371
|
+
onClick: t[8] || (t[8] = (p) => s("month"))
|
|
372
|
+
}, t[22] || (t[22] = [
|
|
373
|
+
i("span", null, "本月", -1)
|
|
374
|
+
])),
|
|
375
|
+
i("div", {
|
|
376
|
+
class: "left-sidebar-item",
|
|
377
|
+
onClick: t[9] || (t[9] = (p) => s("last-7"))
|
|
378
|
+
}, t[23] || (t[23] = [
|
|
379
|
+
i("span", null, "近7天", -1)
|
|
380
|
+
])),
|
|
381
|
+
i("div", {
|
|
382
|
+
class: "left-sidebar-item",
|
|
383
|
+
onClick: t[10] || (t[10] = (p) => s("last-15"))
|
|
384
|
+
}, t[24] || (t[24] = [
|
|
385
|
+
i("span", null, "近15天", -1)
|
|
386
|
+
])),
|
|
387
|
+
i("div", {
|
|
388
|
+
class: "left-sidebar-item",
|
|
389
|
+
onClick: t[11] || (t[11] = (p) => s("last-30"))
|
|
390
|
+
}, t[25] || (t[25] = [
|
|
391
|
+
i("span", null, "近30天", -1)
|
|
392
|
+
])),
|
|
393
|
+
i("div", {
|
|
394
|
+
class: "left-sidebar-item",
|
|
395
|
+
onClick: t[12] || (t[12] = (p) => s("last-365"))
|
|
396
|
+
}, t[26] || (t[26] = [
|
|
397
|
+
i("span", null, "近365天", -1)
|
|
398
|
+
]))
|
|
399
|
+
], 64)) : w("", !0)
|
|
400
|
+
])
|
|
401
|
+
]),
|
|
402
|
+
_: 1
|
|
403
|
+
}, 8, ["modelValue", "range", "multi-calendars", "month-picker", "time-picker", "year-picker", "week-picker", "quarter-picker", "inline", "auto-apply", "clearable", "placeholder", "disabled", "readonly", "action-row", "disable-year-select", "enable-time-picker", "enable-seconds", "time-picker-inline", "now-button-label", "cancel-text", "select-text", "hide-input-icon", "style"])
|
|
404
|
+
]));
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
export {
|
|
408
|
+
ce as default
|
|
409
|
+
};
|