@shjjs/visual-ui 1.0.35 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) 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 +6 -2
  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 +2 -2
  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/index.d.ts +112 -111
  59. package/es/components/index.mjs +362 -360
  60. package/es/components/interaction/button/index.vue.mjs +2 -2
  61. package/es/components/interaction/button/index.vue2.mjs +252 -68
  62. package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +2 -2
  63. package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +324 -140
  64. package/es/components/interaction/date-picker/src/date-picker/index.d.ts +211 -211
  65. package/es/components/interaction/date-picker/src/date-picker/index.vue.d.ts +211 -211
  66. package/es/components/interaction/date-picker/src/date-picker-range/index.d.ts +211 -211
  67. package/es/components/interaction/date-picker/src/date-picker-range/index.vue.d.ts +211 -211
  68. package/es/components/interaction/tabs/index.vue.mjs +223 -39
  69. package/es/components/interaction/tabs-icon/index.vue.mjs +225 -41
  70. package/es/components/interaction-input/index.vue.mjs +2 -2
  71. package/es/components/interaction-input/index.vue2.mjs +244 -61
  72. package/es/components/interaction-select/index.vue.mjs +1 -1
  73. package/es/components/interaction-select/index.vue2.mjs +269 -86
  74. package/es/components/interaction-slider/index.vue.mjs +2 -2
  75. package/es/components/interaction-slider/index.vue2.mjs +248 -65
  76. package/es/components/interaction-switch/index.vue.mjs +1 -1
  77. package/es/components/interaction-switch/index.vue2.mjs +217 -33
  78. package/es/components/interaction-tabs/index.vue.mjs +2 -2
  79. package/es/components/interaction-tabs/index.vue2.mjs +221 -37
  80. package/es/components/interaction-tabs2/index.vue.mjs +1 -1
  81. package/es/components/interaction-tabs2/index.vue2.mjs +219 -35
  82. package/es/components/map-earth-basic/index.d.ts +2 -2
  83. package/es/components/map-earth-basic/index.vue.d.ts +2 -2
  84. package/es/components/map-earth-basic/index.vue.mjs +286 -103
  85. package/es/components/map-earth-cool-tech/index.d.ts +2 -2
  86. package/es/components/map-earth-cool-tech/index.vue.d.ts +2 -2
  87. package/es/components/map-earth-cool-tech/index.vue.mjs +286 -103
  88. package/es/components/map-earth-fly-line/index.d.ts +2 -2
  89. package/es/components/map-earth-fly-line/index.vue.d.ts +2 -2
  90. package/es/components/map-earth-fly-line/index.vue.mjs +286 -103
  91. package/es/components/map-earth-hacker/index.d.ts +2 -2
  92. package/es/components/map-earth-hacker/index.vue.d.ts +2 -2
  93. package/es/components/map-earth-hacker/index.vue.mjs +286 -103
  94. package/es/components/map-earth-particle/index.d.ts +2 -2
  95. package/es/components/map-earth-particle/index.vue.d.ts +2 -2
  96. package/es/components/map-earth-particle/index.vue.mjs +286 -103
  97. package/es/components/media-audio/index.vue.mjs +2 -2
  98. package/es/components/media-audio/index.vue2.mjs +219 -35
  99. package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
  100. package/es/components/media-audio-dynamic/index.vue2.mjs +233 -50
  101. package/es/components/media-flv/index.vue.mjs +219 -35
  102. package/es/components/media-iframe/index.vue.mjs +2 -2
  103. package/es/components/media-iframe/index.vue2.mjs +199 -15
  104. package/es/components/media-iframe-dynamic/index.d.ts +51 -0
  105. package/es/components/media-iframe-dynamic/index.mjs +7 -0
  106. package/es/components/media-iframe-dynamic/index.vue.d.ts +51 -0
  107. package/es/components/media-iframe-dynamic/index.vue.mjs +7 -0
  108. package/es/components/media-iframe-dynamic/index.vue2.mjs +259 -0
  109. package/es/components/media-image-dynamic/index.vue.mjs +2 -2
  110. package/es/components/media-image-dynamic/index.vue2.mjs +207 -24
  111. package/es/components/media-m3u8/index.vue.mjs +221 -37
  112. package/es/components/media-m3u8-dynamic/index.vue.mjs +228 -45
  113. package/es/components/media-video/index.vue.mjs +2 -2
  114. package/es/components/media-video/index.vue2.mjs +216 -31
  115. package/es/components/media-video-dynamic/index.vue.mjs +2 -2
  116. package/es/components/media-video-dynamic/index.vue2.mjs +223 -40
  117. package/es/components/scene-amap2d/index.vue.mjs +1 -1
  118. package/es/components/scene-amap2d/index.vue2.mjs +376 -192
  119. package/es/components/scene-amap3d/index.vue.mjs +2 -2
  120. package/es/components/scene-amap3d/index.vue2.mjs +414 -231
  121. package/es/components/scene-default/index.vue.mjs +2 -2
  122. package/es/components/scene-default/index.vue2.mjs +201 -16
  123. package/es/components/scene-map3d/index.vue.mjs +2 -2
  124. package/es/components/scene-map3d/index.vue2.mjs +289 -106
  125. package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
  126. package/es/components/scene-ue-iframe/index.vue2.mjs +212 -27
  127. package/es/components/scene-ue-shj/index.vue.mjs +2 -2
  128. package/es/components/scene-ue-shj/index.vue2.mjs +200 -15
  129. package/es/components/scene-unity-iframe/index.vue.mjs +1 -1
  130. package/es/components/scene-unity-iframe/index.vue2.mjs +204 -19
  131. package/es/components/scene-unity-webgl/index.vue.mjs +2 -2
  132. package/es/components/scene-unity-webgl/index.vue2.mjs +204 -19
  133. package/es/components/scene-vr/index.vue.mjs +2 -2
  134. package/es/components/scene-vr/index.vue2.mjs +302 -118
  135. package/es/components/text/list/index.vue.mjs +240 -56
  136. package/es/components/text-count-down/index.vue.mjs +2 -2
  137. package/es/components/text-count-down/index.vue2.mjs +245 -60
  138. package/es/components/text-over-number/index.vue.mjs +2 -2
  139. package/es/components/text-over-number/index.vue2.mjs +243 -60
  140. package/es/components/text-real-time/index.vue.mjs +2 -2
  141. package/es/components/text-real-time/index.vue2.mjs +212 -28
  142. package/es/components/text-row-scroll/index.vue.mjs +1 -1
  143. package/es/components/text-row-scroll/index.vue2.mjs +288 -105
  144. package/es/components/text-table-basic/index.vue.mjs +2 -2
  145. package/es/components/text-table-basic/index.vue2.mjs +286 -103
  146. package/es/components/text-table-scroll/index.vue.mjs +2 -2
  147. package/es/components/text-table-scroll/index.vue2.mjs +291 -108
  148. package/es/components/text-text-dynamic/index.vue.mjs +2 -2
  149. package/es/components/text-text-dynamic/index.vue2.mjs +218 -35
  150. package/es/index.d.ts +1 -0
  151. package/es/index.mjs +386 -370
  152. package/es/{commons/plugins → plugins}/datasource/index.mjs +217 -214
  153. package/es/{commons/plugins → plugins}/datasource/sources/api.mjs +32 -32
  154. package/es/{commons/plugins → plugins}/datasource/sources/static.mjs +17 -17
  155. package/es/{commons/plugins → plugins}/datasource/sources/storage.mjs +28 -28
  156. package/es/{commons/plugins → plugins}/datasource/sources/url.mjs +17 -17
  157. package/es/{commons/plugins → plugins}/datasource/sources/variable.mjs +17 -17
  158. package/es/{commons/plugins → plugins}/datasource/sources/ws.mjs +139 -139
  159. package/es/{commons/plugins → plugins}/datasource/utils/axios.mjs +134 -134
  160. package/es/{commons/plugins → plugins}/datasource/utils/request.mjs +5 -5
  161. package/es/{commons/plugins → plugins}/datasource/utils/utils.mjs +229 -229
  162. package/es/{commons/plugins → plugins}/datasource/utils/wsManager.mjs +78 -78
  163. package/es/{commons/plugins → plugins}/event/actions/fullScreenAction.mjs +8 -8
  164. package/es/{commons/plugins → plugins}/event/actions/invokeAction.mjs +11 -11
  165. package/es/{commons/plugins → plugins}/event/actions/linkAction.mjs +8 -8
  166. package/es/{commons/plugins → plugins}/event/actions/moveAction.mjs +15 -15
  167. package/es/{commons/plugins → plugins}/event/actions/refreshVariableAction.mjs +18 -18
  168. package/es/{commons/plugins → plugins}/event/actions/rotateAction.mjs +19 -19
  169. package/es/{commons/plugins → plugins}/event/actions/scaleAction.mjs +24 -24
  170. package/es/{commons/plugins → plugins}/event/actions/sendApiAction.mjs +16 -16
  171. package/es/{commons/plugins → plugins}/event/actions/ueCommonsWebscoketAction.mjs +31 -31
  172. package/es/{commons/plugins → plugins}/event/actions/ueShjExecMethodAction.mjs +31 -31
  173. package/es/{commons/plugins → plugins}/event/actions/unityIframeExecMethodAction.mjs +28 -28
  174. package/es/{commons/plugins → plugins}/event/actions/unityWebglExecMethodAction.mjs +28 -28
  175. package/es/{commons/plugins → plugins}/event/actions/updatePageAction.mjs +6 -6
  176. package/es/{commons/plugins → plugins}/event/actions/updateVariableAction.mjs +25 -25
  177. package/es/{commons/plugins → plugins}/event/actions/updateWidgetAction.mjs +14 -14
  178. package/es/{commons/plugins → plugins}/event/actions/vrSceneMethodAction.mjs +12 -12
  179. package/es/{commons/plugins → plugins}/event/index.mjs +161 -161
  180. package/es/{commons/plugins → plugins}/event/utils/utils.mjs +50 -50
  181. package/es/{commons → plugins}/utils/componentRefs.mjs +37 -37
  182. package/es/{commons → plugins}/utils/getNextElement.mjs +12 -12
  183. package/es/widgets.css +1 -1
  184. package/package.json +1 -1
  185. package/es/commons/plugins/datasource/index.d.ts +0 -73
  186. package/es/commons/plugins/datasource/sources/api.d.ts +0 -1
  187. package/es/commons/plugins/datasource/sources/static.d.ts +0 -1
  188. package/es/commons/plugins/datasource/sources/storage.d.ts +0 -1
  189. package/es/commons/plugins/datasource/sources/url.d.ts +0 -1
  190. package/es/commons/plugins/datasource/sources/variable.d.ts +0 -1
  191. package/es/commons/plugins/datasource/sources/ws.d.ts +0 -32
  192. package/es/commons/plugins/datasource/utils/axios.d.ts +0 -70
  193. package/es/commons/plugins/datasource/utils/request.d.ts +0 -3
  194. package/es/commons/plugins/datasource/utils/utils.d.ts +0 -115
  195. package/es/commons/plugins/datasource/utils/wsManager.d.ts +0 -16
  196. package/es/commons/plugins/event/actions/fullScreenAction.d.ts +0 -8
  197. package/es/commons/plugins/event/actions/invokeAction.d.ts +0 -8
  198. package/es/commons/plugins/event/actions/linkAction.d.ts +0 -8
  199. package/es/commons/plugins/event/actions/moveAction.d.ts +0 -8
  200. package/es/commons/plugins/event/actions/refreshVariableAction.d.ts +0 -7
  201. package/es/commons/plugins/event/actions/rotateAction.d.ts +0 -8
  202. package/es/commons/plugins/event/actions/scaleAction.d.ts +0 -8
  203. package/es/commons/plugins/event/actions/sendApiAction.d.ts +0 -8
  204. package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +0 -7
  205. package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +0 -7
  206. package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +0 -7
  207. package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +0 -7
  208. package/es/commons/plugins/event/actions/updatePageAction.d.ts +0 -8
  209. package/es/commons/plugins/event/actions/updateVariableAction.d.ts +0 -7
  210. package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +0 -7
  211. package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +0 -7
  212. package/es/commons/plugins/event/index.d.ts +0 -206
  213. package/es/commons/plugins/event/utils/utils.d.ts +0 -22
  214. package/es/commons/utils/componentRefs.d.ts +0 -28
  215. package/es/commons/utils/getNextElement.d.ts +0 -7
@@ -1,11 +1,195 @@
1
- import { defineComponent as O, watch as D, createElementBlock as s, openBlock as i, createCommentVNode as c, normalizeStyle as h, unref as r, toDisplayString as o, createTextVNode as R, ref as v, onMounted as W, onBeforeUnmount as B } from "vue";
1
+ import { defineComponent as O, watch as D, createElementBlock as m, openBlock as a, createCommentVNode as u, normalizeStyle as c, unref as e, toDisplayString as p, createTextVNode as R, ref as v, onMounted as W, onBeforeUnmount as B } from "vue";
2
2
  import C from "axios";
3
- import { SHJDatasourceV2 as H, SHJParseEvent as b } from "@zerov/core";
3
+ import "../text-text-basic/index.mjs";
4
+ import "../text-table-basic/index.mjs";
5
+ import "../chart-other-gauge/index.mjs";
6
+ import "../chart-other-gauge-stage/index.mjs";
7
+ import "../chart-other-gauge-grade/index.mjs";
8
+ import "../chart-other-word-cloud/index.mjs";
9
+ import "../chart-other-liquidfill/index.mjs";
10
+ import "../chart-other-funnel/index.mjs";
11
+ import "../chart-other-force/index.mjs";
12
+ import "../chart-other-radar/index.mjs";
13
+ import "../chart-other-funnel-split/index.mjs";
14
+ import "../chart-other-funnel-contrast/index.mjs";
15
+ import "../chart-other-candlestick-basic/index.mjs";
16
+ import "../chart-other-candlestick-shanghai/index.mjs";
17
+ import "../chart-other-candlestick-demo/index.mjs";
18
+ import "../chart-other-heatmap/index.mjs";
19
+ import "../chart-other-force2/index.mjs";
20
+ import "../chart-other-graph-basic/index.mjs";
21
+ import "../chart-other-graph-basic2/index.mjs";
22
+ import "../chart-other-graph-calendar/index.mjs";
23
+ import "../chart-other-tree-line/index.mjs";
24
+ import "../chart-other-treemap-basic/index.mjs";
25
+ import "../chart-other-sunburst-basic/index.mjs";
26
+ import "../chart-other-sunburst-basic2/index.mjs";
27
+ import "../chart-other-sunburst-basic3/index.mjs";
28
+ import "../chart-other-sunburst-basic4/index.mjs";
29
+ import "../chart-other-sunburst-book/index.mjs";
30
+ import "../chart-other-sunburst-radius/index.mjs";
31
+ import "../chart-other-sunburst-flavors/index.mjs";
32
+ import "../chart-other-parallel-basic/index.mjs";
33
+ import "../chart-other-parallel-mul/index.mjs";
34
+ import "../chart-other-circular-graph/index.mjs";
35
+ import "../map-earth-basic/index.mjs";
36
+ import "../map-earth-cool-tech/index.mjs";
37
+ import "../map-earth-particle/index.mjs";
38
+ import "../map-earth-hacker/index.mjs";
39
+ import "../map-earth-fly-line/index.mjs";
40
+ import "../chart-other-grid-percentage/index.mjs";
41
+ import "../chart-other-radar-stack/index.mjs";
42
+ import "../chart-other-funnel2/index.mjs";
43
+ import "../chart-other-label-gauge/index.mjs";
44
+ import "../chart-other-theme-river/index.mjs";
45
+ import "../chart-other-tree/index.mjs";
46
+ import "../chart-other-treemap/index.mjs";
47
+ import "../commons-product-model/index.mjs";
48
+ import "../commons-vr-photo/index.mjs";
49
+ import "../commons-vr-video/index.mjs";
50
+ import "../commons-three-loader/index.mjs";
51
+ import "../commons-three-loader3/index.mjs";
52
+ import "../commons-loop-iterator/index.mjs";
53
+ import "../commons-gaussian-splatting-view/index.mjs";
54
+ import "../commons-babylon/index.mjs";
55
+ import "../commons-svg/index.mjs";
56
+ import "../commons-weather/index.mjs";
57
+ import "./index.mjs";
58
+ import "../media-wavesurfer/index.mjs";
59
+ import "../interaction-tabs/index.mjs";
60
+ import "../interaction-tabs2/index.mjs";
61
+ import "../interaction-button/index.mjs";
62
+ import "../interaction-button-image/index.mjs";
63
+ import "../interaction-select/index.mjs";
64
+ import "../interaction-input/index.mjs";
65
+ import "../interaction-radio/index.mjs";
66
+ import "../interaction-slider/index.mjs";
67
+ import "../interaction-switch/index.mjs";
68
+ import "../interaction-data-picker/index.mjs";
69
+ import "../interaction-button-refresh/index.mjs";
70
+ import "../media-image/index.mjs";
71
+ import "../text-title/index.mjs";
72
+ import "../commons-qrcode/index.mjs";
73
+ import "../media-video/index.mjs";
74
+ import "../media-audio/index.mjs";
75
+ import "../text-real-time/index.mjs";
76
+ import "../media-carousel/index.mjs";
77
+ import "../media-carousel-slides/index.mjs";
78
+ import "../media-iframe-carousel/index.mjs";
79
+ import "../media-iframe/index.mjs";
80
+ import "../media-m3u8/index.mjs";
81
+ import "../media-m3u8-dynamic/index.mjs";
82
+ import "../media-audio-dynamic/index.mjs";
83
+ import "../media-video-dynamic/index.mjs";
84
+ import "../media-image-dynamic/index.mjs";
85
+ import "../media-iframe-dynamic/index.mjs";
86
+ import "../media-flv/index.mjs";
87
+ import "../commons-echarts/index.mjs";
88
+ import "../text-over-number/index.mjs";
89
+ import "../text-table-scroll/index.mjs";
90
+ import "../text-carousel/index.mjs";
91
+ import "../text-row-scroll/index.mjs";
92
+ import "../text-text-dynamic/index.mjs";
93
+ import "../text-count-down/index.mjs";
94
+ import "../graphical-circle/index.mjs";
95
+ import "../graphical-diamond/index.mjs";
96
+ import "../graphical-hexagon/index.mjs";
97
+ import "../graphical-isosceles-triangle/index.mjs";
98
+ import "../graphical-pentagon/index.mjs";
99
+ import "../graphical-rect/index.mjs";
100
+ import "../graphical-right-triangle/index.mjs";
101
+ import "../scene-map3d/index.mjs";
102
+ import "../scene-amap2d/index.mjs";
103
+ import "../scene-amap3d/index.mjs";
104
+ import "../scene-vr/index.mjs";
105
+ import "../scene-unity-iframe/index.mjs";
106
+ import "../scene-unity-webgl/index.mjs";
107
+ import "../scene-ue-iframe/index.mjs";
108
+ import "../scene-ue-shj/index.mjs";
109
+ import "../scene-default/index.mjs";
110
+ import "../interaction/tabs/index.mjs";
111
+ import "../interaction/tabs-icon/index.mjs";
112
+ import "../interaction/button/index.mjs";
113
+ import "../interaction/date-picker/src/date-picker/index.mjs";
114
+ import "../interaction/date-picker/src/date-picker-range/index.mjs";
115
+ import "../text/list/index.mjs";
116
+ import "../chart/src/bar/basic/index.mjs";
117
+ import "../chart/src/bar/animation/index.mjs";
118
+ import "../chart/src/bar/contrast/index.mjs";
119
+ import "../chart/src/bar/contrast2/index.mjs";
120
+ import "../chart/src/bar/contrast3/index.mjs";
121
+ import "../chart/src/bar/gradient-column-chart/index.mjs";
122
+ import "../chart/src/bar/horizontal/index.mjs";
123
+ import "../chart/src/bar/horizontal-stack/index.mjs";
124
+ import "../chart/src/bar/line-bar/index.mjs";
125
+ import "../chart/src/bar/line-bar2/index.mjs";
126
+ import "../chart/src/bar/loop/index.mjs";
127
+ import "../chart/src/bar/mini/index.mjs";
128
+ import "../chart/src/bar/polar/index.mjs";
129
+ import "../chart/src/bar/polar-stack/index.mjs";
130
+ import "../chart/src/bar/polar2/index.mjs";
131
+ import "../chart/src/bar/radius-circle/index.mjs";
132
+ import "../chart/src/bar/rank/index.mjs";
133
+ import "../chart/src/bar/segmented-progress/index.mjs";
134
+ import "../chart/src/bar/spire/index.mjs";
135
+ import "../chart/src/bar/stack/index.mjs";
136
+ import "../chart/src/bar/stack-line/index.mjs";
137
+ import "../chart/src/bar/stack2/index.mjs";
138
+ import "../chart/src/bar/stack3/index.mjs";
139
+ import "../chart/src/bar/staggered/index.mjs";
140
+ import "../chart/src/bar/three/index.mjs";
141
+ import "../chart/src/bar/waterfall/index.mjs";
142
+ import "../chart/src/bar/zebra/index.mjs";
143
+ import "../chart/src/line/area-gradient/index.mjs";
144
+ import "../chart/src/line/area-highlight/index.mjs";
145
+ import "../chart/src/line/area-highlight2/index.mjs";
146
+ import "../chart/src/line/basic/index.mjs";
147
+ import "../chart/src/line/bump/index.mjs";
148
+ import "../chart/src/line/dashed/index.mjs";
149
+ import "../chart/src/line/ladder/index.mjs";
150
+ import "../chart/src/line/logarithm/index.mjs";
151
+ import "../chart/src/line/multix/index.mjs";
152
+ import "../chart/src/line/polar-double/index.mjs";
153
+ import "../chart/src/line/rain-flow/index.mjs";
154
+ import "../chart/src/line/scale/index.mjs";
155
+ import "../chart/src/line/smooth/index.mjs";
156
+ import "../chart/src/line/smooth-area/index.mjs";
157
+ import "../chart/src/line/stack/index.mjs";
158
+ import "../chart/src/line/stack-area/index.mjs";
159
+ import "../chart/src/line/temp/index.mjs";
160
+ import "../chart/src/line/vertical/index.mjs";
161
+ import "../chart/src/map/basic/index.mjs";
162
+ import "../chart/src/map/bmap-basic/index.mjs";
163
+ import "../chart/src/map/bmap-heatmap/index.mjs";
164
+ import "../chart/src/map/bmap-rich/index.mjs";
165
+ import "../chart/src/map/customize/index.mjs";
166
+ import "../chart/src/map/lines/index.mjs";
167
+ import "../chart/src/map/scatter/index.mjs";
168
+ import "../chart/src/pie/3d/index.mjs";
169
+ import "../chart/src/pie/basic/index.mjs";
170
+ import "../chart/src/pie/basic2/index.mjs";
171
+ import "../chart/src/pie/customized/index.mjs";
172
+ import "../chart/src/pie/index/index.mjs";
173
+ import "../chart/src/pie/interval/index.mjs";
174
+ import "../chart/src/pie/legend-scroll/index.mjs";
175
+ import "../chart/src/pie/radius/index.mjs";
176
+ import "../chart/src/pie/rose/index.mjs";
177
+ import "../chart/src/pie/round/index.mjs";
178
+ import "../chart/src/pie/sunburst/index.mjs";
179
+ import "../chart/src/scatter/basic/index.mjs";
180
+ import "../chart/src/scatter/basic2/index.mjs";
181
+ import "../chart/src/scatter/bubble/index.mjs";
182
+ import "../chart/src/scatter/ripples/index.mjs";
183
+ /* empty css */
184
+ /* empty css */
185
+ import { SHJDatasourceV2 as H } from "../../plugins/datasource/index.mjs";
186
+ import { SHJParseEvent as b } from "../../plugins/event/index.mjs";
187
+ import "lodash";
4
188
  import { autoInstallFont as A, jsonToCssStyle as F } from "../../commons/utils/json2css.mjs";
5
189
  const M = {
6
190
  key: 0,
7
191
  class: "weather-temperature__suffix"
8
- }, V = O({ name: "zv-commons-weather-dynamic" }), _ = /* @__PURE__ */ O({
192
+ }, V = O({ name: "zv-commons-weather-dynamic" }), de = /* @__PURE__ */ O({
9
193
  ...V,
10
194
  props: {
11
195
  basicOption: {},
@@ -18,8 +202,8 @@ const M = {
18
202
  "on-error"
19
203
  ],
20
204
  setup(k, { emit: S }) {
21
- const n = k, w = S, $ = () => {
22
- const e = v(), l = v({
205
+ const i = k, w = S, $ = () => {
206
+ const t = v(), s = v({
23
207
  city: "",
24
208
  date: "",
25
209
  week: "",
@@ -33,88 +217,88 @@ const M = {
33
217
  nightpower: "",
34
218
  daytemp_float: "",
35
219
  nighttemp_float: ""
36
- }), u = v(null), y = (t) => {
220
+ }), l = v(null), d = (r) => {
37
221
  H.parse({
38
- tId: n.uuid,
39
- sources: n.sources,
40
- callback: ({ data: m }) => {
41
- const f = m[0].data[0];
42
- C.get(`https://restapi.amap.com/v3/weather/weatherInfo?city=${f.adcode}&key=${f.key}&extensions=all`).then((a) => {
43
- a.status === 200 && a.data.status === "1" && a.data.forecasts.length > 0 ? (w("on-success", a), b.parseEvents(n.useEvents, "on-success", a), l.value = a.data.forecasts[0].casts[0], l.value.city = a.data.forecasts[0].city) : (w("on-error", a), b.parseEvents(n.useEvents, "on-error", a));
222
+ tId: i.uuid,
223
+ sources: i.sources,
224
+ callback: ({ data: y }) => {
225
+ const f = y[0].data[0];
226
+ C.get(`https://restapi.amap.com/v3/weather/weatherInfo?city=${f.adcode}&key=${f.key}&extensions=all`).then((o) => {
227
+ o.status === 200 && o.data.status === "1" && o.data.forecasts.length > 0 ? (w("on-success", o), b.parseEvents(i.useEvents, "on-success", o), s.value = o.data.forecasts[0].casts[0], s.value.city = o.data.forecasts[0].city) : (w("on-error", o), b.parseEvents(i.useEvents, "on-error", o));
44
228
  }).catch(() => {
45
- w("on-error", null), b.parseEvents(n.useEvents, "on-error", null);
229
+ w("on-error", null), b.parseEvents(i.useEvents, "on-error", null);
46
230
  });
47
231
  }
48
232
  });
49
- }, T = (t) => (t.fontFamily && A(t.fontFamily), {
50
- ...F(t),
51
- lineHeight: `${t.lineHeight}px`,
52
- transform: `translate(${t.transform.x}px, ${t.transform.y}px)`
53
- }), U = (t, m) => {
54
- if (m.find((a) => a.name === l.value.dayweather)) {
55
- const a = m.find((z) => z.name === l.value.dayweather).url || "";
233
+ }, T = (r) => (r.fontFamily && A(r.fontFamily), {
234
+ ...F(r),
235
+ lineHeight: `${r.lineHeight}px`,
236
+ transform: `translate(${r.transform.x}px, ${r.transform.y}px)`
237
+ }), U = (r, y) => {
238
+ if (y.find((o) => o.name === s.value.dayweather)) {
239
+ const o = y.find((z) => z.name === s.value.dayweather).url || "";
56
240
  return {
57
- mask: `url(${a}) 0px 0px / 100% 100%`,
58
- width: `${t.size}px`,
59
- height: `${t.size}px`,
60
- background: `url(${a}) 0px 0px / 100% 100%, ${t.color}`,
241
+ mask: `url(${o}) 0px 0px / 100% 100%`,
242
+ width: `${r.size}px`,
243
+ height: `${r.size}px`,
244
+ background: `url(${o}) 0px 0px / 100% 100%, ${r.color}`,
61
245
  backgroundBlendMode: "overlay",
62
- marginRight: `${t.margin.right}px`
246
+ marginRight: `${r.margin.right}px`
63
247
  };
64
248
  }
65
249
  return {};
66
- }, g = (t) => {
67
- u.value && clearInterval(u.value), t.autoUpdate !== 0 ? u.value = setInterval(() => y(), t.autoUpdate * 1e3) : (clearInterval(u.value), y());
250
+ }, g = (r) => {
251
+ l.value && clearInterval(l.value), r.autoUpdate !== 0 ? l.value = setInterval(() => d(), r.autoUpdate * 1e3) : (clearInterval(l.value), d());
68
252
  };
69
253
  return W(() => {
70
- y(n.basicOption), g(n.basicOption);
254
+ d(i.basicOption), g(i.basicOption);
71
255
  }), B(() => {
72
- u.value && clearInterval(u.value);
256
+ l.value && clearInterval(l.value);
73
257
  }), {
74
- initWeatherMessage: y,
258
+ initWeatherMessage: d,
75
259
  rendererDomStyle: T,
76
260
  handleAutoUpdate: g,
77
261
  rendererWeatherTypeStyle: U,
78
- weatherRef: e,
79
- weather: l
262
+ weatherRef: t,
263
+ weather: s
80
264
  };
81
- }, { handleAutoUpdate: x, rendererDomStyle: d, rendererWeatherTypeStyle: E, weatherRef: I, weather: p } = $();
82
- return D(() => n.basicOption, () => x(n.basicOption), { deep: !0 }), (e, l) => (i(), s("div", {
265
+ }, { handleAutoUpdate: x, rendererDomStyle: h, rendererWeatherTypeStyle: E, weatherRef: I, weather: n } = $();
266
+ return D(() => i.basicOption, () => x(i.basicOption), { deep: !0 }), (t, s) => (a(), m("div", {
83
267
  ref_key: "weatherRef",
84
268
  ref: I,
85
269
  class: "zerov-widgets"
86
270
  }, [
87
- e.basicOption.icon.show ? (i(), s("p", {
271
+ t.basicOption.icon.show ? (a(), m("p", {
88
272
  key: 0,
89
273
  class: "weather-icon",
90
- style: h(r(E)(e.basicOption.icon, e.basicOption.icons))
91
- }, null, 4)) : c("", !0),
92
- e.basicOption.weather.city.show ? (i(), s("p", {
274
+ style: c(e(E)(t.basicOption.icon, t.basicOption.icons))
275
+ }, null, 4)) : u("", !0),
276
+ t.basicOption.weather.city.show ? (a(), m("p", {
93
277
  key: 1,
94
278
  class: "weather-city",
95
- style: h(r(d)(e.basicOption.weather.city.textStyle))
96
- }, o(r(p).city), 5)) : c("", !0),
97
- e.basicOption.weather.type.show ? (i(), s("p", {
279
+ style: c(e(h)(t.basicOption.weather.city.textStyle))
280
+ }, p(e(n).city), 5)) : u("", !0),
281
+ t.basicOption.weather.type.show ? (a(), m("p", {
98
282
  key: 2,
99
283
  class: "weather-type",
100
- style: h(r(d)(e.basicOption.weather.type.textStyle))
101
- }, o(r(p).dayweather), 5)) : c("", !0),
102
- e.basicOption.weather.wind.show ? (i(), s("p", {
284
+ style: c(e(h)(t.basicOption.weather.type.textStyle))
285
+ }, p(e(n).dayweather), 5)) : u("", !0),
286
+ t.basicOption.weather.wind.show ? (a(), m("p", {
103
287
  key: 3,
104
288
  class: "weather-wind",
105
- style: h(r(d)(e.basicOption.weather.wind.textStyle))
106
- }, o(r(p).daywind) + "风" + o(r(p).daypower) + "级 ", 5)) : c("", !0),
107
- e.basicOption.weather.temperature.show ? (i(), s("p", {
289
+ style: c(e(h)(t.basicOption.weather.wind.textStyle))
290
+ }, p(e(n).daywind) + "风" + p(e(n).daypower) + "级 ", 5)) : u("", !0),
291
+ t.basicOption.weather.temperature.show ? (a(), m("p", {
108
292
  key: 4,
109
293
  class: "weather-temperature",
110
- style: h(r(d)(e.basicOption.weather.temperature.textStyle))
294
+ style: c(e(h)(t.basicOption.weather.temperature.textStyle))
111
295
  }, [
112
- R(o(r(p).nighttemp) + " " + o(e.basicOption.weather.temperature.connectors) + " " + o(r(p).daytemp) + " ", 1),
113
- e.basicOption.weather.temperature.suffix.show ? (i(), s("span", M, o(e.basicOption.weather.temperature.suffix.suffix), 1)) : c("", !0)
114
- ], 4)) : c("", !0)
296
+ R(p(e(n).nighttemp) + " " + p(t.basicOption.weather.temperature.connectors) + " " + p(e(n).daytemp) + " ", 1),
297
+ t.basicOption.weather.temperature.suffix.show ? (a(), m("span", M, p(t.basicOption.weather.temperature.suffix.suffix), 1)) : u("", !0)
298
+ ], 4)) : u("", !0)
115
299
  ], 512));
116
300
  }
117
301
  });
118
302
  export {
119
- _ as default
303
+ de as default
120
304
  };
@@ -1,111 +1,112 @@
1
- /** 文本 */
2
- export * from './text-text-basic';
3
- export * from './text-table-basic';
4
- /** 其他 */
5
- export * from './chart-other-gauge';
6
- export * from './chart-other-gauge-stage';
7
- export * from './chart-other-gauge-grade';
8
- export * from './chart-other-word-cloud';
9
- export * from './chart-other-liquidfill';
10
- export * from './chart-other-funnel';
11
- export * from './chart-other-force';
12
- export * from './chart-other-radar';
13
- export * from './chart-other-funnel-split';
14
- export * from './chart-other-funnel-contrast';
15
- export * from './chart-other-candlestick-basic';
16
- export * from './chart-other-candlestick-shanghai';
17
- export * from './chart-other-candlestick-demo';
18
- export * from './chart-other-heatmap';
19
- export * from './chart-other-force2';
20
- export * from './chart-other-graph-basic';
21
- export * from './chart-other-graph-basic2';
22
- export * from './chart-other-graph-calendar';
23
- export * from './chart-other-tree-line';
24
- export * from './chart-other-treemap-basic';
25
- export * from './chart-other-sunburst-basic';
26
- export * from './chart-other-sunburst-basic2';
27
- export * from './chart-other-sunburst-basic3';
28
- export * from './chart-other-sunburst-basic4';
29
- export * from './chart-other-sunburst-book';
30
- export * from './chart-other-sunburst-radius';
31
- export * from './chart-other-sunburst-flavors';
32
- export * from './chart-other-parallel-basic';
33
- export * from './chart-other-parallel-mul';
34
- export * from './chart-other-circular-graph';
35
- export * from './map-earth-basic';
36
- export * from './map-earth-cool-tech';
37
- export * from './map-earth-particle';
38
- export * from './map-earth-hacker';
39
- export * from './map-earth-fly-line';
40
- export * from './chart-other-grid-percentage';
41
- export * from './chart-other-radar-stack';
42
- export * from './chart-other-funnel2';
43
- export * from './chart-other-label-gauge';
44
- export * from './chart-other-theme-river';
45
- export * from './chart-other-tree';
46
- export * from './chart-other-treemap';
47
- export * from './commons-product-model';
48
- export * from './commons-vr-photo';
49
- export * from './commons-vr-video';
50
- export * from './commons-three-loader';
51
- export * from './commons-three-loader3';
52
- export * from './commons-loop-iterator';
53
- export * from './commons-gaussian-splatting-view';
54
- export * from './commons-babylon';
55
- export * from './commons-svg';
56
- export * from './commons-weather';
57
- export * from './commons-weather-dynamic';
58
- export * from './media-wavesurfer';
59
- export * from './interaction-tabs';
60
- export * from './interaction-tabs2';
61
- export * from './interaction-button';
62
- export * from './interaction-button-image';
63
- export * from './interaction-select';
64
- export * from './interaction-input';
65
- export * from './interaction-radio';
66
- export * from './interaction-slider';
67
- export * from './interaction-switch';
68
- export * from './interaction-data-picker';
69
- export * from './interaction-button-refresh';
70
- export * from './media-image';
71
- export * from './text-title';
72
- export * from './commons-qrcode';
73
- export * from './media-video';
74
- export * from './media-audio';
75
- export * from './text-real-time';
76
- export * from './media-carousel';
77
- export * from './media-carousel-slides';
78
- export * from './media-iframe-carousel';
79
- export * from './media-iframe';
80
- export * from './media-m3u8';
81
- export * from './media-m3u8-dynamic';
82
- export * from './media-audio-dynamic';
83
- export * from './media-video-dynamic';
84
- export * from './media-image-dynamic';
85
- export * from './media-flv';
86
- export * from './commons-echarts';
87
- export * from './text-over-number';
88
- export * from './text-table-scroll';
89
- export * from './text-carousel';
90
- export * from './text-row-scroll';
91
- export * from './text-text-dynamic';
92
- export * from './text-count-down';
93
- export * from './graphical-circle';
94
- export * from './graphical-diamond';
95
- export * from './graphical-hexagon';
96
- export * from './graphical-isosceles-triangle';
97
- export * from './graphical-pentagon';
98
- export * from './graphical-rect';
99
- export * from './graphical-right-triangle';
100
- export * from './scene-map3d';
101
- export * from './scene-amap2d';
102
- export * from './scene-amap3d';
103
- export * from './scene-vr';
104
- export * from './scene-unity-iframe';
105
- export * from './scene-unity-webgl';
106
- export * from './scene-ue-iframe';
107
- export * from './scene-ue-shj';
108
- export * from './scene-default';
109
- export * from './interaction';
110
- export * from './text';
111
- export * from './chart';
1
+ /** 文本 */
2
+ export * from './text-text-basic';
3
+ export * from './text-table-basic';
4
+ /** 其他 */
5
+ export * from './chart-other-gauge';
6
+ export * from './chart-other-gauge-stage';
7
+ export * from './chart-other-gauge-grade';
8
+ export * from './chart-other-word-cloud';
9
+ export * from './chart-other-liquidfill';
10
+ export * from './chart-other-funnel';
11
+ export * from './chart-other-force';
12
+ export * from './chart-other-radar';
13
+ export * from './chart-other-funnel-split';
14
+ export * from './chart-other-funnel-contrast';
15
+ export * from './chart-other-candlestick-basic';
16
+ export * from './chart-other-candlestick-shanghai';
17
+ export * from './chart-other-candlestick-demo';
18
+ export * from './chart-other-heatmap';
19
+ export * from './chart-other-force2';
20
+ export * from './chart-other-graph-basic';
21
+ export * from './chart-other-graph-basic2';
22
+ export * from './chart-other-graph-calendar';
23
+ export * from './chart-other-tree-line';
24
+ export * from './chart-other-treemap-basic';
25
+ export * from './chart-other-sunburst-basic';
26
+ export * from './chart-other-sunburst-basic2';
27
+ export * from './chart-other-sunburst-basic3';
28
+ export * from './chart-other-sunburst-basic4';
29
+ export * from './chart-other-sunburst-book';
30
+ export * from './chart-other-sunburst-radius';
31
+ export * from './chart-other-sunburst-flavors';
32
+ export * from './chart-other-parallel-basic';
33
+ export * from './chart-other-parallel-mul';
34
+ export * from './chart-other-circular-graph';
35
+ export * from './map-earth-basic';
36
+ export * from './map-earth-cool-tech';
37
+ export * from './map-earth-particle';
38
+ export * from './map-earth-hacker';
39
+ export * from './map-earth-fly-line';
40
+ export * from './chart-other-grid-percentage';
41
+ export * from './chart-other-radar-stack';
42
+ export * from './chart-other-funnel2';
43
+ export * from './chart-other-label-gauge';
44
+ export * from './chart-other-theme-river';
45
+ export * from './chart-other-tree';
46
+ export * from './chart-other-treemap';
47
+ export * from './commons-product-model';
48
+ export * from './commons-vr-photo';
49
+ export * from './commons-vr-video';
50
+ export * from './commons-three-loader';
51
+ export * from './commons-three-loader3';
52
+ export * from './commons-loop-iterator';
53
+ export * from './commons-gaussian-splatting-view';
54
+ export * from './commons-babylon';
55
+ export * from './commons-svg';
56
+ export * from './commons-weather';
57
+ export * from './commons-weather-dynamic';
58
+ export * from './media-wavesurfer';
59
+ export * from './interaction-tabs';
60
+ export * from './interaction-tabs2';
61
+ export * from './interaction-button';
62
+ export * from './interaction-button-image';
63
+ export * from './interaction-select';
64
+ export * from './interaction-input';
65
+ export * from './interaction-radio';
66
+ export * from './interaction-slider';
67
+ export * from './interaction-switch';
68
+ export * from './interaction-data-picker';
69
+ export * from './interaction-button-refresh';
70
+ export * from './media-image';
71
+ export * from './text-title';
72
+ export * from './commons-qrcode';
73
+ export * from './media-video';
74
+ export * from './media-audio';
75
+ export * from './text-real-time';
76
+ export * from './media-carousel';
77
+ export * from './media-carousel-slides';
78
+ export * from './media-iframe-carousel';
79
+ export * from './media-iframe';
80
+ export * from './media-m3u8';
81
+ export * from './media-m3u8-dynamic';
82
+ export * from './media-audio-dynamic';
83
+ export * from './media-video-dynamic';
84
+ export * from './media-image-dynamic';
85
+ export * from './media-iframe-dynamic';
86
+ export * from './media-flv';
87
+ export * from './commons-echarts';
88
+ export * from './text-over-number';
89
+ export * from './text-table-scroll';
90
+ export * from './text-carousel';
91
+ export * from './text-row-scroll';
92
+ export * from './text-text-dynamic';
93
+ export * from './text-count-down';
94
+ export * from './graphical-circle';
95
+ export * from './graphical-diamond';
96
+ export * from './graphical-hexagon';
97
+ export * from './graphical-isosceles-triangle';
98
+ export * from './graphical-pentagon';
99
+ export * from './graphical-rect';
100
+ export * from './graphical-right-triangle';
101
+ export * from './scene-map3d';
102
+ export * from './scene-amap2d';
103
+ export * from './scene-amap3d';
104
+ export * from './scene-vr';
105
+ export * from './scene-unity-iframe';
106
+ export * from './scene-unity-webgl';
107
+ export * from './scene-ue-iframe';
108
+ export * from './scene-ue-shj';
109
+ export * from './scene-default';
110
+ export * from './interaction';
111
+ export * from './text';
112
+ export * from './chart';