@shjjs/visual-ui 1.0.36 → 1.0.38

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.
Files changed (175) hide show
  1. package/es/commons/core/earth/main.vue.d.ts +2 -2
  2. package/es/commons/core/useChart.mjs +257 -73
  3. package/es/components/chart/commons/components/common-chart/index.vue.mjs +213 -30
  4. package/es/components/chart/commons/components/common-chart-map/index.vue.mjs +210 -27
  5. package/es/components/chart/commons/hooks/useChart.mjs +261 -77
  6. package/es/components/chart/src/map/bmap-basic/index.vue.d.ts +8 -8
  7. package/es/components/chart/src/map/bmap-heatmap/index.vue.d.ts +6 -2
  8. package/es/components/chart-other-candlestick-basic/index.vue.mjs +212 -29
  9. package/es/components/chart-other-candlestick-demo/index.vue.mjs +213 -30
  10. package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +214 -31
  11. package/es/components/chart-other-circular-graph/index.vue.mjs +214 -31
  12. package/es/components/chart-other-force/index.vue.mjs +212 -29
  13. package/es/components/chart-other-force2/index.vue.mjs +212 -29
  14. package/es/components/chart-other-funnel/index.vue.mjs +214 -31
  15. package/es/components/chart-other-funnel-contrast/index.vue.mjs +214 -31
  16. package/es/components/chart-other-funnel-split/index.vue.mjs +214 -31
  17. package/es/components/chart-other-funnel2/index.vue.mjs +214 -31
  18. package/es/components/chart-other-gauge/index.vue.mjs +214 -31
  19. package/es/components/chart-other-gauge-grade/index.vue.mjs +214 -31
  20. package/es/components/chart-other-gauge-stage/index.vue.mjs +214 -31
  21. package/es/components/chart-other-graph-basic/index.vue.mjs +214 -31
  22. package/es/components/chart-other-graph-basic2/index.vue.mjs +214 -31
  23. package/es/components/chart-other-graph-calendar/index.vue.mjs +214 -31
  24. package/es/components/chart-other-grid-percentage/index.vue.mjs +218 -35
  25. package/es/components/chart-other-heatmap/index.vue.mjs +212 -29
  26. package/es/components/chart-other-label-gauge/index.vue.mjs +216 -33
  27. package/es/components/chart-other-liquidfill/index.vue.mjs +214 -31
  28. package/es/components/chart-other-parallel-basic/index.vue.mjs +214 -31
  29. package/es/components/chart-other-parallel-mul/index.vue.mjs +211 -28
  30. package/es/components/chart-other-radar/index.vue.mjs +224 -41
  31. package/es/components/chart-other-radar-stack/index.vue.mjs +211 -28
  32. package/es/components/chart-other-sunburst-basic/index.vue.mjs +212 -29
  33. package/es/components/chart-other-sunburst-basic2/index.vue.mjs +212 -29
  34. package/es/components/chart-other-sunburst-basic3/index.vue.mjs +212 -29
  35. package/es/components/chart-other-sunburst-basic4/index.vue.mjs +212 -29
  36. package/es/components/chart-other-sunburst-book/index.vue.mjs +212 -29
  37. package/es/components/chart-other-sunburst-flavors/index.vue.mjs +214 -31
  38. package/es/components/chart-other-sunburst-radius/index.vue.mjs +212 -29
  39. package/es/components/chart-other-theme-river/index.vue.mjs +216 -33
  40. package/es/components/chart-other-tree/index.vue.mjs +214 -31
  41. package/es/components/chart-other-tree-line/index.vue.mjs +214 -31
  42. package/es/components/chart-other-treemap/index.vue.mjs +214 -31
  43. package/es/components/chart-other-treemap-basic/index.vue.mjs +214 -31
  44. package/es/components/chart-other-word-cloud/index.vue.mjs +216 -33
  45. package/es/components/commons-echarts/compileAndRunEcharts.mjs +219 -35
  46. package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
  47. package/es/components/commons-loop-iterator/index.vue2.mjs +218 -35
  48. package/es/components/commons-product-model/index.vue.mjs +1 -1
  49. package/es/components/commons-product-model/index.vue2.mjs +246 -62
  50. package/es/components/commons-three-loader/index.vue.mjs +1 -1
  51. package/es/components/commons-three-loader/index.vue2.mjs +257 -73
  52. package/es/components/commons-three-loader3/index.vue.mjs +1 -1
  53. package/es/components/commons-three-loader3/index.vue2.mjs +301 -117
  54. package/es/components/commons-weather/index.vue.mjs +1 -1
  55. package/es/components/commons-weather/index.vue2.mjs +233 -48
  56. package/es/components/commons-weather-dynamic/index.vue.mjs +2 -2
  57. package/es/components/commons-weather-dynamic/index.vue2.mjs +236 -52
  58. package/es/components/interaction/button/index.vue.mjs +2 -2
  59. package/es/components/interaction/button/index.vue2.mjs +252 -68
  60. package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +1 -1
  61. package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +324 -140
  62. package/es/components/interaction/tabs/index.vue.mjs +223 -39
  63. package/es/components/interaction/tabs-icon/index.vue.mjs +225 -41
  64. package/es/components/interaction-input/index.vue.mjs +1 -1
  65. package/es/components/interaction-input/index.vue2.mjs +244 -61
  66. package/es/components/interaction-select/index.vue.mjs +1 -1
  67. package/es/components/interaction-select/index.vue2.mjs +269 -86
  68. package/es/components/interaction-slider/index.vue.mjs +1 -1
  69. package/es/components/interaction-slider/index.vue2.mjs +248 -65
  70. package/es/components/interaction-switch/index.vue.mjs +2 -2
  71. package/es/components/interaction-switch/index.vue2.mjs +218 -34
  72. package/es/components/interaction-tabs/index.vue.mjs +1 -1
  73. package/es/components/interaction-tabs/index.vue2.mjs +221 -37
  74. package/es/components/interaction-tabs2/index.vue.mjs +2 -2
  75. package/es/components/interaction-tabs2/index.vue2.mjs +219 -35
  76. package/es/components/map-earth-basic/index.d.ts +2 -2
  77. package/es/components/map-earth-basic/index.vue.d.ts +2 -2
  78. package/es/components/map-earth-basic/index.vue.mjs +286 -103
  79. package/es/components/map-earth-cool-tech/index.d.ts +2 -2
  80. package/es/components/map-earth-cool-tech/index.vue.d.ts +4 -6
  81. package/es/components/map-earth-cool-tech/index.vue.mjs +286 -103
  82. package/es/components/map-earth-fly-line/index.d.ts +2 -2
  83. package/es/components/map-earth-fly-line/index.vue.d.ts +2 -2
  84. package/es/components/map-earth-fly-line/index.vue.mjs +286 -103
  85. package/es/components/map-earth-hacker/index.d.ts +2 -2
  86. package/es/components/map-earth-hacker/index.vue.d.ts +2 -2
  87. package/es/components/map-earth-hacker/index.vue.mjs +286 -103
  88. package/es/components/map-earth-particle/index.d.ts +2 -2
  89. package/es/components/map-earth-particle/index.vue.d.ts +2 -2
  90. package/es/components/map-earth-particle/index.vue.mjs +286 -103
  91. package/es/components/media-audio/index.vue.mjs +2 -2
  92. package/es/components/media-audio/index.vue2.mjs +218 -34
  93. package/es/components/media-audio-dynamic/index.vue.mjs +2 -2
  94. package/es/components/media-audio-dynamic/index.vue2.mjs +233 -50
  95. package/es/components/media-flv/index.vue.mjs +219 -35
  96. package/es/components/media-iframe/index.vue.mjs +2 -2
  97. package/es/components/media-iframe/index.vue2.mjs +200 -15
  98. package/es/components/media-iframe-dynamic/index.vue.mjs +2 -2
  99. package/es/components/media-iframe-dynamic/index.vue2.mjs +222 -38
  100. package/es/components/media-image-dynamic/index.vue.mjs +1 -1
  101. package/es/components/media-image-dynamic/index.vue2.mjs +207 -24
  102. package/es/components/media-m3u8/index.vue.mjs +221 -37
  103. package/es/components/media-m3u8-dynamic/index.vue.mjs +228 -45
  104. package/es/components/media-video/index.vue.mjs +1 -1
  105. package/es/components/media-video/index.vue2.mjs +216 -31
  106. package/es/components/media-video-dynamic/index.vue.mjs +2 -2
  107. package/es/components/media-video-dynamic/index.vue2.mjs +223 -40
  108. package/es/components/scene-amap2d/index.vue.mjs +2 -2
  109. package/es/components/scene-amap2d/index.vue2.mjs +376 -192
  110. package/es/components/scene-amap3d/index.vue.mjs +2 -2
  111. package/es/components/scene-amap3d/index.vue2.mjs +414 -231
  112. package/es/components/scene-default/index.vue.mjs +2 -2
  113. package/es/components/scene-default/index.vue2.mjs +201 -16
  114. package/es/components/scene-map3d/index.vue.mjs +2 -2
  115. package/es/components/scene-map3d/index.vue2.mjs +289 -106
  116. package/es/components/scene-ue-iframe/index.vue.mjs +1 -1
  117. package/es/components/scene-ue-iframe/index.vue2.mjs +212 -27
  118. package/es/components/scene-ue-shj/index.vue.mjs +1 -1
  119. package/es/components/scene-ue-shj/index.vue2.mjs +200 -15
  120. package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
  121. package/es/components/scene-unity-iframe/index.vue2.mjs +204 -19
  122. package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
  123. package/es/components/scene-unity-webgl/index.vue2.mjs +204 -19
  124. package/es/components/scene-vr/index.vue.mjs +2 -2
  125. package/es/components/scene-vr/index.vue2.mjs +307 -123
  126. package/es/components/text/list/index.vue.mjs +240 -56
  127. package/es/components/text-count-down/index.vue.mjs +2 -2
  128. package/es/components/text-count-down/index.vue2.mjs +245 -60
  129. package/es/components/text-over-number/index.vue.mjs +1 -1
  130. package/es/components/text-over-number/index.vue2.mjs +243 -60
  131. package/es/components/text-real-time/index.vue.mjs +1 -1
  132. package/es/components/text-real-time/index.vue2.mjs +212 -28
  133. package/es/components/text-row-scroll/index.vue.mjs +2 -2
  134. package/es/components/text-row-scroll/index.vue2.mjs +289 -106
  135. package/es/components/text-table-basic/index.vue.mjs +3 -3
  136. package/es/components/text-table-basic/index.vue2.mjs +286 -103
  137. package/es/components/text-table-scroll/index.vue.mjs +1 -1
  138. package/es/components/text-table-scroll/index.vue2.mjs +290 -107
  139. package/es/components/text-text-dynamic/index.vue.mjs +2 -2
  140. package/es/components/text-text-dynamic/index.vue2.mjs +218 -35
  141. package/es/index.d.ts +1 -0
  142. package/es/index.mjs +375 -361
  143. package/es/plugins/datasource/index.mjs +217 -0
  144. package/es/plugins/datasource/sources/api.mjs +32 -0
  145. package/es/plugins/datasource/sources/static.mjs +17 -0
  146. package/es/plugins/datasource/sources/storage.mjs +28 -0
  147. package/es/plugins/datasource/sources/url.mjs +17 -0
  148. package/es/plugins/datasource/sources/variable.mjs +17 -0
  149. package/es/plugins/datasource/sources/ws.mjs +139 -0
  150. package/es/plugins/datasource/utils/axios.mjs +134 -0
  151. package/es/plugins/datasource/utils/request.mjs +5 -0
  152. package/es/plugins/datasource/utils/utils.mjs +229 -0
  153. package/es/plugins/datasource/utils/wsManager.mjs +78 -0
  154. package/es/plugins/event/actions/fullScreenAction.mjs +8 -0
  155. package/es/plugins/event/actions/invokeAction.mjs +11 -0
  156. package/es/plugins/event/actions/linkAction.mjs +8 -0
  157. package/es/plugins/event/actions/moveAction.mjs +15 -0
  158. package/es/plugins/event/actions/refreshVariableAction.mjs +18 -0
  159. package/es/plugins/event/actions/rotateAction.mjs +19 -0
  160. package/es/plugins/event/actions/scaleAction.mjs +24 -0
  161. package/es/plugins/event/actions/sendApiAction.mjs +16 -0
  162. package/es/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -0
  163. package/es/plugins/event/actions/ueShjExecMethodAction.mjs +31 -0
  164. package/es/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -0
  165. package/es/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -0
  166. package/es/plugins/event/actions/updatePageAction.mjs +6 -0
  167. package/es/plugins/event/actions/updateVariableAction.mjs +25 -0
  168. package/es/plugins/event/actions/updateWidgetAction.mjs +14 -0
  169. package/es/plugins/event/actions/vrSceneMethodAction.mjs +12 -0
  170. package/es/plugins/event/index.mjs +161 -0
  171. package/es/plugins/event/utils/utils.mjs +50 -0
  172. package/es/plugins/utils/componentRefs.mjs +37 -0
  173. package/es/plugins/utils/getNextElement.mjs +12 -0
  174. package/es/widgets.css +1 -1
  175. package/package.json +1 -1
@@ -1,10 +1,193 @@
1
- import { defineComponent as b, ref as c, onMounted as E, watch as f, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
2
- import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
1
+ import { defineComponent as b, ref as s, onMounted as E, watch as k, createElementBlock as L, openBlock as p, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as u, createCommentVNode as c } from "vue";
2
+ import { cloneDeep as m, debounce as I, isEqual as g } from "lodash";
3
3
  import { nanoid as T } from "nanoid";
4
- import { SHJDatasourceV2 as V, SHJParseEvent as p } from "@shjjs/visual-core";
4
+ import "../text-text-basic/index.mjs";
5
+ import "../text-table-basic/index.mjs";
6
+ import "../chart-other-gauge/index.mjs";
7
+ import "../chart-other-gauge-stage/index.mjs";
8
+ import "../chart-other-gauge-grade/index.mjs";
9
+ import "../chart-other-word-cloud/index.mjs";
10
+ import "../chart-other-liquidfill/index.mjs";
11
+ import "../chart-other-funnel/index.mjs";
12
+ import "../chart-other-force/index.mjs";
13
+ import "../chart-other-radar/index.mjs";
14
+ import "../chart-other-funnel-split/index.mjs";
15
+ import "../chart-other-funnel-contrast/index.mjs";
16
+ import "../chart-other-candlestick-basic/index.mjs";
17
+ import "../chart-other-candlestick-shanghai/index.mjs";
18
+ import "../chart-other-candlestick-demo/index.mjs";
19
+ import "../chart-other-heatmap/index.mjs";
20
+ import "../chart-other-force2/index.mjs";
21
+ import "../chart-other-graph-basic/index.mjs";
22
+ import "../chart-other-graph-basic2/index.mjs";
23
+ import "../chart-other-graph-calendar/index.mjs";
24
+ import "../chart-other-tree-line/index.mjs";
25
+ import "../chart-other-treemap-basic/index.mjs";
26
+ import "../chart-other-sunburst-basic/index.mjs";
27
+ import "../chart-other-sunburst-basic2/index.mjs";
28
+ import "../chart-other-sunburst-basic3/index.mjs";
29
+ import "../chart-other-sunburst-basic4/index.mjs";
30
+ import "../chart-other-sunburst-book/index.mjs";
31
+ import "../chart-other-sunburst-radius/index.mjs";
32
+ import "../chart-other-sunburst-flavors/index.mjs";
33
+ import "../chart-other-parallel-basic/index.mjs";
34
+ import "../chart-other-parallel-mul/index.mjs";
35
+ import "../chart-other-circular-graph/index.mjs";
36
+ import "../map-earth-basic/index.mjs";
37
+ import "../map-earth-cool-tech/index.mjs";
38
+ import "../map-earth-particle/index.mjs";
39
+ import "./index.mjs";
40
+ import "../map-earth-fly-line/index.mjs";
41
+ import "../chart-other-grid-percentage/index.mjs";
42
+ import "../chart-other-radar-stack/index.mjs";
43
+ import "../chart-other-funnel2/index.mjs";
44
+ import "../chart-other-label-gauge/index.mjs";
45
+ import "../chart-other-theme-river/index.mjs";
46
+ import "../chart-other-tree/index.mjs";
47
+ import "../chart-other-treemap/index.mjs";
48
+ import "../commons-product-model/index.mjs";
49
+ import "../commons-vr-photo/index.mjs";
50
+ import "../commons-vr-video/index.mjs";
51
+ import "../commons-three-loader/index.mjs";
52
+ import "../commons-three-loader3/index.mjs";
53
+ import "../commons-loop-iterator/index.mjs";
54
+ import "../commons-gaussian-splatting-view/index.mjs";
55
+ import "../commons-babylon/index.mjs";
56
+ import "../commons-svg/index.mjs";
57
+ import "../commons-weather/index.mjs";
58
+ import "../commons-weather-dynamic/index.mjs";
59
+ import "../media-wavesurfer/index.mjs";
60
+ import "../interaction-tabs/index.mjs";
61
+ import "../interaction-tabs2/index.mjs";
62
+ import "../interaction-button/index.mjs";
63
+ import "../interaction-button-image/index.mjs";
64
+ import "../interaction-select/index.mjs";
65
+ import "../interaction-input/index.mjs";
66
+ import "../interaction-radio/index.mjs";
67
+ import "../interaction-slider/index.mjs";
68
+ import "../interaction-switch/index.mjs";
69
+ import "../interaction-data-picker/index.mjs";
70
+ import "../interaction-button-refresh/index.mjs";
71
+ import "../media-image/index.mjs";
72
+ import "../text-title/index.mjs";
73
+ import "../commons-qrcode/index.mjs";
74
+ import "../media-video/index.mjs";
75
+ import "../media-audio/index.mjs";
76
+ import "../text-real-time/index.mjs";
77
+ import "../media-carousel/index.mjs";
78
+ import "../media-carousel-slides/index.mjs";
79
+ import "../media-iframe-carousel/index.mjs";
80
+ import "../media-iframe/index.mjs";
81
+ import "../media-m3u8/index.mjs";
82
+ import "../media-m3u8-dynamic/index.mjs";
83
+ import "../media-audio-dynamic/index.mjs";
84
+ import "../media-video-dynamic/index.mjs";
85
+ import "../media-image-dynamic/index.mjs";
86
+ import "../media-iframe-dynamic/index.mjs";
87
+ import "../media-flv/index.mjs";
88
+ import "../commons-echarts/index.mjs";
89
+ import "../text-over-number/index.mjs";
90
+ import "../text-table-scroll/index.mjs";
91
+ import "../text-carousel/index.mjs";
92
+ import "../text-row-scroll/index.mjs";
93
+ import "../text-text-dynamic/index.mjs";
94
+ import "../text-count-down/index.mjs";
95
+ import "../graphical-circle/index.mjs";
96
+ import "../graphical-diamond/index.mjs";
97
+ import "../graphical-hexagon/index.mjs";
98
+ import "../graphical-isosceles-triangle/index.mjs";
99
+ import "../graphical-pentagon/index.mjs";
100
+ import "../graphical-rect/index.mjs";
101
+ import "../graphical-right-triangle/index.mjs";
102
+ import "../scene-map3d/index.mjs";
103
+ import "../scene-amap2d/index.mjs";
104
+ import "../scene-amap3d/index.mjs";
105
+ import "../scene-vr/index.mjs";
106
+ import "../scene-unity-iframe/index.mjs";
107
+ import "../scene-unity-webgl/index.mjs";
108
+ import "../scene-ue-iframe/index.mjs";
109
+ import "../scene-ue-shj/index.mjs";
110
+ import "../scene-default/index.mjs";
111
+ import "../interaction/tabs/index.mjs";
112
+ import "../interaction/tabs-icon/index.mjs";
113
+ import "../interaction/button/index.mjs";
114
+ import "../interaction/date-picker/src/date-picker/index.mjs";
115
+ import "../interaction/date-picker/src/date-picker-range/index.mjs";
116
+ import "../text/list/index.mjs";
117
+ import "../chart/src/bar/basic/index.mjs";
118
+ import "../chart/src/bar/animation/index.mjs";
119
+ import "../chart/src/bar/contrast/index.mjs";
120
+ import "../chart/src/bar/contrast2/index.mjs";
121
+ import "../chart/src/bar/contrast3/index.mjs";
122
+ import "../chart/src/bar/gradient-column-chart/index.mjs";
123
+ import "../chart/src/bar/horizontal/index.mjs";
124
+ import "../chart/src/bar/horizontal-stack/index.mjs";
125
+ import "../chart/src/bar/line-bar/index.mjs";
126
+ import "../chart/src/bar/line-bar2/index.mjs";
127
+ import "../chart/src/bar/loop/index.mjs";
128
+ import "../chart/src/bar/mini/index.mjs";
129
+ import "../chart/src/bar/polar/index.mjs";
130
+ import "../chart/src/bar/polar-stack/index.mjs";
131
+ import "../chart/src/bar/polar2/index.mjs";
132
+ import "../chart/src/bar/radius-circle/index.mjs";
133
+ import "../chart/src/bar/rank/index.mjs";
134
+ import "../chart/src/bar/segmented-progress/index.mjs";
135
+ import "../chart/src/bar/spire/index.mjs";
136
+ import "../chart/src/bar/stack/index.mjs";
137
+ import "../chart/src/bar/stack-line/index.mjs";
138
+ import "../chart/src/bar/stack2/index.mjs";
139
+ import "../chart/src/bar/stack3/index.mjs";
140
+ import "../chart/src/bar/staggered/index.mjs";
141
+ import "../chart/src/bar/three/index.mjs";
142
+ import "../chart/src/bar/waterfall/index.mjs";
143
+ import "../chart/src/bar/zebra/index.mjs";
144
+ import "../chart/src/line/area-gradient/index.mjs";
145
+ import "../chart/src/line/area-highlight/index.mjs";
146
+ import "../chart/src/line/area-highlight2/index.mjs";
147
+ import "../chart/src/line/basic/index.mjs";
148
+ import "../chart/src/line/bump/index.mjs";
149
+ import "../chart/src/line/dashed/index.mjs";
150
+ import "../chart/src/line/ladder/index.mjs";
151
+ import "../chart/src/line/logarithm/index.mjs";
152
+ import "../chart/src/line/multix/index.mjs";
153
+ import "../chart/src/line/polar-double/index.mjs";
154
+ import "../chart/src/line/rain-flow/index.mjs";
155
+ import "../chart/src/line/scale/index.mjs";
156
+ import "../chart/src/line/smooth/index.mjs";
157
+ import "../chart/src/line/smooth-area/index.mjs";
158
+ import "../chart/src/line/stack/index.mjs";
159
+ import "../chart/src/line/stack-area/index.mjs";
160
+ import "../chart/src/line/temp/index.mjs";
161
+ import "../chart/src/line/vertical/index.mjs";
162
+ import "../chart/src/map/basic/index.mjs";
163
+ import "../chart/src/map/bmap-basic/index.mjs";
164
+ import "../chart/src/map/bmap-heatmap/index.mjs";
165
+ import "../chart/src/map/bmap-rich/index.mjs";
166
+ import "../chart/src/map/customize/index.mjs";
167
+ import "../chart/src/map/lines/index.mjs";
168
+ import "../chart/src/map/scatter/index.mjs";
169
+ import "../chart/src/pie/3d/index.mjs";
170
+ import "../chart/src/pie/basic/index.mjs";
171
+ import "../chart/src/pie/basic2/index.mjs";
172
+ import "../chart/src/pie/customized/index.mjs";
173
+ import "../chart/src/pie/index/index.mjs";
174
+ import "../chart/src/pie/interval/index.mjs";
175
+ import "../chart/src/pie/legend-scroll/index.mjs";
176
+ import "../chart/src/pie/radius/index.mjs";
177
+ import "../chart/src/pie/rose/index.mjs";
178
+ import "../chart/src/pie/round/index.mjs";
179
+ import "../chart/src/pie/sunburst/index.mjs";
180
+ import "../chart/src/scatter/basic/index.mjs";
181
+ import "../chart/src/scatter/basic2/index.mjs";
182
+ import "../chart/src/scatter/bubble/index.mjs";
183
+ import "../chart/src/scatter/ripples/index.mjs";
184
+ /* empty css */
185
+ /* empty css */
186
+ import { SHJDatasourceV2 as V } from "../../plugins/datasource/index.mjs";
187
+ import { SHJParseEvent as d } from "../../plugins/event/index.mjs";
5
188
  import A from "../../commons/core/earth/main.vue.mjs";
6
- import y from "../../commons/core/earth/border.vue.mjs";
7
- const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-hacker" }), X = /* @__PURE__ */ b({
189
+ import v from "../../commons/core/earth/border.vue.mjs";
190
+ const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-hacker" }), vi = /* @__PURE__ */ b({
8
191
  ...F,
9
192
  props: {
10
193
  basicOption: {},
@@ -14,128 +197,128 @@ const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-hac
14
197
  },
15
198
  emits: ["on-success"],
16
199
  setup(w, { expose: B, emit: S }) {
17
- const C = S, r = w, _ = T(), s = c(), h = c(!0), e = c(n(r.basicOption)), o = I((t = !1) => {
18
- h.value = !0, e.value = n(r.basicOption), r.sources && r.sources.length > 0 ? V.parse({
19
- tId: r.uuid,
20
- sources: r.sources,
21
- callback: (a) => {
200
+ const C = S, o = w, _ = T(), l = s(), y = s(!0), r = s(m(o.basicOption)), e = I((i = !1) => {
201
+ y.value = !0, r.value = m(o.basicOption), o.sources && o.sources.length > 0 ? V.parse({
202
+ tId: o.uuid,
203
+ sources: o.sources,
204
+ callback: (t) => {
22
205
  try {
23
- p.parseEvents(r.useEvents, "dataListener", a.data);
24
- const u = e.value.lines && e.value.lines.find((i) => i._sourceId === a.id);
25
- u && (u.data = a.data[0].data);
26
- const m = e.value.flylines && e.value.flylines.find((i) => i._sourceId === a.id);
27
- m && (m.data = a.data[0].data);
28
- const k = e.value.lightBeams && e.value.lightBeams.find((i) => i._sourceId === a.id);
29
- k && (k.data = a.data[0].data), !t && s.value.refresh();
206
+ d.parseEvents(o.useEvents, "dataListener", t.data);
207
+ const n = r.value.lines && r.value.lines.find((a) => a._sourceId === t.id);
208
+ n && (n.data = t.data[0].data);
209
+ const h = r.value.flylines && r.value.flylines.find((a) => a._sourceId === t.id);
210
+ h && (h.data = t.data[0].data);
211
+ const f = r.value.lightBeams && r.value.lightBeams.find((a) => a._sourceId === t.id);
212
+ f && (f.data = t.data[0].data), !i && l.value.refresh();
30
213
  } catch {
31
- p.parseEvents(r.useEvents, "dataListener", null);
214
+ d.parseEvents(o.useEvents, "dataListener", null);
32
215
  }
33
216
  }
34
- }) : !t && s.value.refresh();
217
+ }) : !i && l.value.refresh();
35
218
  }, 200);
36
- E(() => o(!0)), f(() => n(r.basicOption), (t, a) => {
37
- g(t, a) || o();
38
- }, { deep: !0 }), f(() => n(r.sources), (t, a) => {
39
- g(t, a) || o();
219
+ E(() => e(!0)), k(() => m(o.basicOption), (i, t) => {
220
+ g(i, t) || e();
221
+ }, { deep: !0 }), k(() => m(o.sources), (i, t) => {
222
+ g(i, t) || e();
40
223
  }, { deep: !0 }), B({
41
- refresh: () => o(),
42
- refreshView: () => o(),
43
- refreshData: () => o()
224
+ refresh: () => e(),
225
+ refreshView: () => e(),
226
+ refreshData: () => e()
44
227
  });
45
228
  const x = () => {
46
- h.value = !1, C("on-success"), p.parseEvents(r.useEvents, "on-success", null);
229
+ y.value = !1, C("on-success"), d.parseEvents(o.useEvents, "on-success", null);
47
230
  };
48
- return (t, a) => (l(), L("div", D, [
231
+ return (i, t) => (p(), L("div", D, [
49
232
  O("div", {
50
233
  id: z(_),
51
234
  class: "widget"
52
235
  }, [
53
236
  W(A, {
54
237
  ref_key: "earthRef",
55
- ref: s,
238
+ ref: l,
56
239
  style: { height: "100%" },
57
- background: e.value.background,
58
- "is-background": e.value.isBackground,
59
- fog: e.value.fog,
60
- "fog-color": e.value.fogColor,
61
- "fog-near": e.value.fogNear,
62
- "fog-far": e.value.fogFar,
63
- stats: e.value.stats,
64
- "stats-type": e.value.statsType,
65
- radius: e.value.radius,
66
- subdivision: e.value.subdivision,
67
- animation: e.value.animation,
68
- "animation-speed": e.value.animationSpeed,
69
- texture: e.value.texture,
70
- color: e.value.color,
71
- opacity: e.value.opacity,
72
- transparent: e.value.transparent,
73
- wireframe: e.value.wireframe,
74
- label: e.value.label,
75
- particle: e.value.particle,
76
- "particle-color": e.value.particleColor,
77
- "particle-size": e.value.particleSize,
78
- aperture: e.value.aperture,
79
- "aperture-color": e.value.apertureColor,
80
- "aperture-opacity": e.value.apertureOpacity,
81
- "aperture-transparent": e.value.apertureTransparent,
82
- "aperture-depth-write": e.value.apertureDepthWrite,
83
- "cloud-cover": e.value.cloudCover,
84
- "cloud-cover-color": e.value.cloudCoverColor,
85
- "cloud-cover-opacity": e.value.cloudCoverOpacity,
86
- "cloud-cover-transparent": e.value.cloudCoverTransparent,
87
- "cloud-cover-animation": e.value.cloudCoverAnimation,
88
- "cloud-cover-animation-speed": e.value.cloudCoverAnimationSpeed,
89
- "starry-sky": e.value.starrySky,
90
- "starry-sky-texture": e.value.starrySkyTexture,
91
- "starry-sky-number": e.value.starrySkyNumber,
92
- "starry-sky-size": e.value.starrySkySize,
93
- "starry-sky-color": e.value.starrySkyColor,
94
- "starry-sky-opacity": e.value.starrySkyOpacity,
95
- "starry-sky-animation": e.value.starrySkyAnimation,
96
- "starry-sky-animation-speed": e.value.starrySkyAnimationSpeed,
97
- "ambient-light-color": e.value.ambientLightColor,
98
- "ambient-light-intensity": e.value.ambientLightIntensity,
99
- "directional-light-x": e.value.directionalLightX,
100
- "directional-light-y": e.value.directionalLightY,
101
- "directional-light-z": e.value.directionalLightZ,
102
- "directional-light-intensity": e.value.directionalLightIntensity,
103
- "directional-light-color": e.value.directionalLightColor,
104
- "is-composer": e.value.isComposer,
105
- composer: e.value.composer,
106
- flylines: e.value.flylines,
107
- lines: e.value.lines,
108
- "light-beam": e.value.lightBeams,
240
+ background: r.value.background,
241
+ "is-background": r.value.isBackground,
242
+ fog: r.value.fog,
243
+ "fog-color": r.value.fogColor,
244
+ "fog-near": r.value.fogNear,
245
+ "fog-far": r.value.fogFar,
246
+ stats: r.value.stats,
247
+ "stats-type": r.value.statsType,
248
+ radius: r.value.radius,
249
+ subdivision: r.value.subdivision,
250
+ animation: r.value.animation,
251
+ "animation-speed": r.value.animationSpeed,
252
+ texture: r.value.texture,
253
+ color: r.value.color,
254
+ opacity: r.value.opacity,
255
+ transparent: r.value.transparent,
256
+ wireframe: r.value.wireframe,
257
+ label: r.value.label,
258
+ particle: r.value.particle,
259
+ "particle-color": r.value.particleColor,
260
+ "particle-size": r.value.particleSize,
261
+ aperture: r.value.aperture,
262
+ "aperture-color": r.value.apertureColor,
263
+ "aperture-opacity": r.value.apertureOpacity,
264
+ "aperture-transparent": r.value.apertureTransparent,
265
+ "aperture-depth-write": r.value.apertureDepthWrite,
266
+ "cloud-cover": r.value.cloudCover,
267
+ "cloud-cover-color": r.value.cloudCoverColor,
268
+ "cloud-cover-opacity": r.value.cloudCoverOpacity,
269
+ "cloud-cover-transparent": r.value.cloudCoverTransparent,
270
+ "cloud-cover-animation": r.value.cloudCoverAnimation,
271
+ "cloud-cover-animation-speed": r.value.cloudCoverAnimationSpeed,
272
+ "starry-sky": r.value.starrySky,
273
+ "starry-sky-texture": r.value.starrySkyTexture,
274
+ "starry-sky-number": r.value.starrySkyNumber,
275
+ "starry-sky-size": r.value.starrySkySize,
276
+ "starry-sky-color": r.value.starrySkyColor,
277
+ "starry-sky-opacity": r.value.starrySkyOpacity,
278
+ "starry-sky-animation": r.value.starrySkyAnimation,
279
+ "starry-sky-animation-speed": r.value.starrySkyAnimationSpeed,
280
+ "ambient-light-color": r.value.ambientLightColor,
281
+ "ambient-light-intensity": r.value.ambientLightIntensity,
282
+ "directional-light-x": r.value.directionalLightX,
283
+ "directional-light-y": r.value.directionalLightY,
284
+ "directional-light-z": r.value.directionalLightZ,
285
+ "directional-light-intensity": r.value.directionalLightIntensity,
286
+ "directional-light-color": r.value.directionalLightColor,
287
+ "is-composer": r.value.isComposer,
288
+ composer: r.value.composer,
289
+ flylines: r.value.flylines,
290
+ lines: r.value.lines,
291
+ "light-beam": r.value.lightBeams,
109
292
  onOnSuccess: x
110
293
  }, {
111
294
  default: N(() => [
112
- e.value.chinaBorderShow ? (l(), d(y, {
295
+ r.value.chinaBorderShow ? (p(), u(v, {
113
296
  key: 0,
114
297
  geojson: "china",
115
- color: e.value.chinaBorderColor,
116
- width: e.value.chinaBorderWidth,
117
- opacity: e.value.chinaBorderOpacity,
118
- wakeline: e.value.chinaBorderWakeline,
119
- "wakeline-number": e.value.chinaBorderWakelineNumber
120
- }, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : v("", !0),
121
- e.value.china2BorderShow ? (l(), d(y, {
298
+ color: r.value.chinaBorderColor,
299
+ width: r.value.chinaBorderWidth,
300
+ opacity: r.value.chinaBorderOpacity,
301
+ wakeline: r.value.chinaBorderWakeline,
302
+ "wakeline-number": r.value.chinaBorderWakelineNumber
303
+ }, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : c("", !0),
304
+ r.value.china2BorderShow ? (p(), u(v, {
122
305
  key: 1,
123
306
  geojson: "china-border",
124
- color: e.value.china2BorderColor,
125
- width: e.value.china2BorderWidth,
126
- opacity: e.value.china2BorderOpacity,
127
- wakeline: e.value.china2BorderWakeline,
128
- "wakeline-number": e.value.china2BorderWakelineNumber
129
- }, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : v("", !0),
130
- e.value.worldBorderShow ? (l(), d(y, {
307
+ color: r.value.china2BorderColor,
308
+ width: r.value.china2BorderWidth,
309
+ opacity: r.value.china2BorderOpacity,
310
+ wakeline: r.value.china2BorderWakeline,
311
+ "wakeline-number": r.value.china2BorderWakelineNumber
312
+ }, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : c("", !0),
313
+ r.value.worldBorderShow ? (p(), u(v, {
131
314
  key: 2,
132
315
  geojson: "world",
133
- color: e.value.worldBorderColor,
134
- width: e.value.worldBorderWidth,
135
- opacity: e.value.worldBorderOpacity,
136
- wakeline: e.value.worldBorderWakeline,
137
- "wakeline-number": e.value.worldBorderWakelineNumber
138
- }, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : v("", !0)
316
+ color: r.value.worldBorderColor,
317
+ width: r.value.worldBorderWidth,
318
+ opacity: r.value.worldBorderOpacity,
319
+ wakeline: r.value.worldBorderWakeline,
320
+ "wakeline-number": r.value.worldBorderWakelineNumber
321
+ }, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : c("", !0)
139
322
  ]),
140
323
  _: 1
141
324
  }, 8, ["background", "is-background", "fog", "fog-color", "fog-near", "fog-far", "stats", "stats-type", "radius", "subdivision", "animation", "animation-speed", "texture", "color", "opacity", "transparent", "wireframe", "label", "particle", "particle-color", "particle-size", "aperture", "aperture-color", "aperture-opacity", "aperture-transparent", "aperture-depth-write", "cloud-cover", "cloud-cover-color", "cloud-cover-opacity", "cloud-cover-transparent", "cloud-cover-animation", "cloud-cover-animation-speed", "starry-sky", "starry-sky-texture", "starry-sky-number", "starry-sky-size", "starry-sky-color", "starry-sky-opacity", "starry-sky-animation", "starry-sky-animation-speed", "ambient-light-color", "ambient-light-intensity", "directional-light-x", "directional-light-y", "directional-light-z", "directional-light-intensity", "directional-light-color", "is-composer", "composer", "flylines", "lines", "light-beam"])
@@ -144,5 +327,5 @@ const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-hac
144
327
  }
145
328
  });
146
329
  export {
147
- X as default
330
+ vi as default
148
331
  };
@@ -70,7 +70,7 @@ export declare const ZvMapEarthParticle: import("../../commons/utils/typescript"
70
70
  };
71
71
  };
72
72
  texture: {
73
- type: (StringConstructor | BooleanConstructor)[];
73
+ type: (BooleanConstructor | StringConstructor)[];
74
74
  required: false;
75
75
  skipCheck: boolean;
76
76
  default: any;
@@ -533,7 +533,7 @@ export declare const ZvMapEarthParticle: import("../../commons/utils/typescript"
533
533
  };
534
534
  };
535
535
  texture: {
536
- type: (StringConstructor | BooleanConstructor)[];
536
+ type: (BooleanConstructor | StringConstructor)[];
537
537
  required: false;
538
538
  skipCheck: boolean;
539
539
  default: any;
@@ -70,7 +70,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
70
70
  };
71
71
  };
72
72
  texture: {
73
- type: (StringConstructor | BooleanConstructor)[];
73
+ type: (BooleanConstructor | StringConstructor)[];
74
74
  required: false;
75
75
  skipCheck: boolean;
76
76
  default: any;
@@ -533,7 +533,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
533
533
  };
534
534
  };
535
535
  texture: {
536
- type: (StringConstructor | BooleanConstructor)[];
536
+ type: (BooleanConstructor | StringConstructor)[];
537
537
  required: false;
538
538
  skipCheck: boolean;
539
539
  default: any;