@shjjs/visual-ui 1.0.18 → 1.0.19

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 (473) hide show
  1. package/es/commons/core/useChart.mjs +59 -58
  2. package/es/commons/{core → plugins}/datasource/index.mjs +5 -5
  3. package/es/commons/plugins/datasource/utils/utils.d.ts +84 -0
  4. package/es/commons/plugins/datasource/utils/utils.mjs +156 -0
  5. package/es/commons/plugins/event/actions/fullScreenAction.d.ts +8 -0
  6. package/es/commons/plugins/event/actions/fullScreenAction.mjs +8 -0
  7. package/es/commons/plugins/event/actions/invokeAction.d.ts +8 -0
  8. package/es/commons/plugins/event/actions/invokeAction.mjs +10 -0
  9. package/es/commons/plugins/event/actions/linkAction.d.ts +8 -0
  10. package/es/commons/plugins/event/actions/linkAction.mjs +7 -0
  11. package/es/commons/plugins/event/actions/moveAction.d.ts +8 -0
  12. package/es/commons/plugins/event/actions/moveAction.mjs +15 -0
  13. package/es/commons/plugins/event/actions/pageAction.d.ts +8 -0
  14. package/es/commons/plugins/event/actions/pageAction.mjs +14 -0
  15. package/es/commons/plugins/event/actions/rotateAction.d.ts +8 -0
  16. package/es/commons/plugins/event/actions/rotateAction.mjs +19 -0
  17. package/es/commons/plugins/event/actions/scaleAction.d.ts +8 -0
  18. package/es/commons/plugins/event/actions/scaleAction.mjs +24 -0
  19. package/es/commons/plugins/event/actions/sendApiAction.d.ts +8 -0
  20. package/es/commons/plugins/event/actions/sendApiAction.mjs +16 -0
  21. package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +7 -0
  22. package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -0
  23. package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +7 -0
  24. package/es/commons/plugins/event/actions/ueShjExecMethodAction.mjs +31 -0
  25. package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +7 -0
  26. package/es/commons/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -0
  27. package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +7 -0
  28. package/es/commons/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -0
  29. package/es/commons/plugins/event/actions/updatePageAction.d.ts +8 -0
  30. package/es/commons/plugins/event/actions/updatePageAction.mjs +6 -0
  31. package/es/commons/plugins/event/actions/updateVariableAction.d.ts +7 -0
  32. package/es/commons/plugins/event/actions/updateVariableAction.mjs +23 -0
  33. package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +7 -0
  34. package/es/commons/plugins/event/actions/updateWidgetAction.mjs +13 -0
  35. package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +7 -0
  36. package/es/commons/plugins/event/actions/vrSceneMethodAction.mjs +12 -0
  37. package/es/commons/plugins/event/index.d.ts +202 -0
  38. package/es/commons/plugins/event/index.mjs +150 -0
  39. package/es/commons/plugins/event/utils/utils.d.ts +22 -0
  40. package/es/commons/plugins/event/utils/utils.mjs +52 -0
  41. package/es/commons/utils/getNextElement.d.ts +7 -0
  42. package/es/commons/utils/getNextElement.mjs +12 -0
  43. package/es/components/chart-bar-animation/index.vue.mjs +24 -23
  44. package/es/components/chart-bar-basic/index.vue.mjs +24 -23
  45. package/es/components/chart-bar-contrast/index.vue.mjs +32 -31
  46. package/es/components/chart-bar-contrast2/index.vue.mjs +23 -22
  47. package/es/components/chart-bar-contrast3/index.vue.mjs +25 -24
  48. package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +24 -23
  49. package/es/components/chart-bar-horizontal/index.vue.mjs +25 -24
  50. package/es/components/chart-bar-horizontal-stack/index.vue.mjs +25 -24
  51. package/es/components/chart-bar-line-bar/index.vue.mjs +23 -22
  52. package/es/components/chart-bar-line-bar2/index.vue.mjs +23 -22
  53. package/es/components/chart-bar-loop/index.vue.mjs +25 -24
  54. package/es/components/chart-bar-mini/index.vue.mjs +25 -24
  55. package/es/components/chart-bar-polar/index.vue.mjs +23 -22
  56. package/es/components/chart-bar-polar-stack/index.vue.mjs +23 -22
  57. package/es/components/chart-bar-polar2/index.vue.mjs +23 -22
  58. package/es/components/chart-bar-radius-circle/index.vue.mjs +23 -22
  59. package/es/components/chart-bar-rank/index.vue.mjs +25 -24
  60. package/es/components/chart-bar-segmented-progress/index.vue.mjs +27 -26
  61. package/es/components/chart-bar-spire/index.vue.mjs +30 -29
  62. package/es/components/chart-bar-stack/index.vue.mjs +24 -23
  63. package/es/components/chart-bar-stack-line/index.vue.mjs +23 -22
  64. package/es/components/chart-bar-stack2/index.vue.mjs +23 -22
  65. package/es/components/chart-bar-stack3/index.vue.mjs +23 -22
  66. package/es/components/chart-bar-staggered/index.vue.mjs +23 -22
  67. package/es/components/chart-bar-three/index.vue.mjs +21 -20
  68. package/es/components/chart-bar-waterfall/index.vue.mjs +30 -29
  69. package/es/components/chart-bar-zebra/index.vue.mjs +23 -22
  70. package/es/components/chart-line-area-gradient/index.vue.mjs +24 -23
  71. package/es/components/chart-line-area-highlight/index.vue.mjs +23 -22
  72. package/es/components/chart-line-area-highlight2/index.vue.mjs +23 -22
  73. package/es/components/chart-line-basic/index.vue.mjs +25 -24
  74. package/es/components/chart-line-bump/index.vue.mjs +30 -29
  75. package/es/components/chart-line-dashed/index.vue.mjs +24 -23
  76. package/es/components/chart-line-ladder/index.vue.mjs +24 -23
  77. package/es/components/chart-line-logarithm/index.vue.mjs +29 -28
  78. package/es/components/chart-line-multix/index.vue.mjs +29 -28
  79. package/es/components/chart-line-polar-double/index.vue.mjs +25 -24
  80. package/es/components/chart-line-rain-flow/index.vue.mjs +29 -28
  81. package/es/components/chart-line-scale/index.vue.mjs +24 -23
  82. package/es/components/chart-line-smooth/index.vue.mjs +24 -23
  83. package/es/components/chart-line-smooth-area/index.vue.mjs +29 -28
  84. package/es/components/chart-line-stack/index.vue.mjs +24 -23
  85. package/es/components/chart-line-stack-area/index.vue.mjs +24 -23
  86. package/es/components/chart-line-temp/index.vue.mjs +29 -28
  87. package/es/components/chart-line-vertical/index.vue.mjs +24 -23
  88. package/es/components/chart-map-basic/index.vue.mjs +29 -28
  89. package/es/components/chart-map-bmap-basic/index.vue.mjs +25 -24
  90. package/es/components/chart-map-bmap-heatmap/index.vue.mjs +24 -23
  91. package/es/components/chart-map-bmap-rich/index.vue.mjs +24 -23
  92. package/es/components/chart-map-customize/index.vue.mjs +23 -22
  93. package/es/components/chart-map-lines/index.vue.mjs +24 -23
  94. package/es/components/chart-map-scatter/index.vue.mjs +24 -23
  95. package/es/components/chart-other-candlestick-basic/index.vue.mjs +25 -24
  96. package/es/components/chart-other-candlestick-demo/index.vue.mjs +22 -21
  97. package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +22 -21
  98. package/es/components/chart-other-circular-graph/index.vue.mjs +20 -19
  99. package/es/components/chart-other-force/index.vue.mjs +22 -21
  100. package/es/components/chart-other-force2/index.vue.mjs +22 -21
  101. package/es/components/chart-other-funnel/index.vue.mjs +20 -19
  102. package/es/components/chart-other-funnel-contrast/index.vue.mjs +20 -19
  103. package/es/components/chart-other-funnel-split/index.vue.mjs +20 -19
  104. package/es/components/chart-other-funnel2/index.vue.mjs +20 -19
  105. package/es/components/chart-other-gauge/index.vue.mjs +20 -19
  106. package/es/components/chart-other-gauge-grade/index.vue.mjs +20 -19
  107. package/es/components/chart-other-gauge-stage/index.vue.mjs +20 -19
  108. package/es/components/chart-other-graph-basic/index.vue.mjs +21 -20
  109. package/es/components/chart-other-graph-basic2/index.vue.mjs +21 -20
  110. package/es/components/chart-other-graph-calendar/index.vue.mjs +21 -20
  111. package/es/components/chart-other-grid-percentage/index.vue.mjs +25 -24
  112. package/es/components/chart-other-heatmap/index.vue.mjs +23 -22
  113. package/es/components/chart-other-label-gauge/index.vue.mjs +30 -29
  114. package/es/components/chart-other-liquidfill/index.vue.mjs +22 -21
  115. package/es/components/chart-other-parallel-basic/index.vue.mjs +21 -20
  116. package/es/components/chart-other-parallel-mul/index.vue.mjs +30 -29
  117. package/es/components/chart-other-radar/index.vue.mjs +32 -31
  118. package/es/components/chart-other-radar-stack/index.vue.mjs +23 -22
  119. package/es/components/chart-other-sunburst-basic/index.vue.mjs +22 -21
  120. package/es/components/chart-other-sunburst-basic2/index.vue.mjs +22 -21
  121. package/es/components/chart-other-sunburst-basic3/index.vue.mjs +22 -21
  122. package/es/components/chart-other-sunburst-basic4/index.vue.mjs +22 -21
  123. package/es/components/chart-other-sunburst-book/index.vue.mjs +22 -21
  124. package/es/components/chart-other-sunburst-flavors/index.vue.mjs +20 -19
  125. package/es/components/chart-other-sunburst-radius/index.vue.mjs +22 -21
  126. package/es/components/chart-other-theme-river/index.vue.mjs +25 -24
  127. package/es/components/chart-other-tree/index.vue.mjs +20 -19
  128. package/es/components/chart-other-tree-line/index.vue.mjs +21 -20
  129. package/es/components/chart-other-treemap/index.vue.mjs +19 -18
  130. package/es/components/chart-other-treemap-basic/index.vue.mjs +20 -19
  131. package/es/components/chart-other-word-cloud/index.vue.mjs +18 -17
  132. package/es/components/chart-pie-3d/index.vue.mjs +25 -24
  133. package/es/components/chart-pie-basic/index.vue.mjs +23 -22
  134. package/es/components/chart-pie-basic2/index.vue.mjs +23 -22
  135. package/es/components/chart-pie-customized/index.vue.mjs +28 -27
  136. package/es/components/chart-pie-index/index.vue.mjs +22 -21
  137. package/es/components/chart-pie-interval/index.vue.mjs +22 -21
  138. package/es/components/chart-pie-legend-scroll/index.vue.mjs +28 -27
  139. package/es/components/chart-pie-radius/index.vue.mjs +22 -21
  140. package/es/components/chart-pie-rose/index.vue.mjs +27 -26
  141. package/es/components/chart-pie-round/index.vue.mjs +27 -26
  142. package/es/components/chart-pie-semicircle/index.vue.mjs +23 -22
  143. package/es/components/chart-pie-sunburst/index.vue.mjs +23 -22
  144. package/es/components/chart-scatter-basic/index.vue.mjs +24 -23
  145. package/es/components/chart-scatter-basic2/index.vue.mjs +24 -23
  146. package/es/components/chart-scatter-bubble/index.vue.mjs +25 -24
  147. package/es/components/chart-scatter-ripples/index.vue.mjs +21 -20
  148. package/es/components/commons-echarts/compileAndRunEcharts.mjs +22 -21
  149. package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
  150. package/es/components/commons-loop-iterator/index.vue2.mjs +39 -38
  151. package/es/components/commons-product-model/index.vue.mjs +1 -1
  152. package/es/components/commons-product-model/index.vue2.mjs +40 -39
  153. package/es/components/commons-three-loader/index.vue.mjs +2 -2
  154. package/es/components/commons-three-loader/index.vue2.mjs +6 -5
  155. package/es/components/commons-three-loader3/index.vue.mjs +2 -2
  156. package/es/components/commons-three-loader3/index.vue2.mjs +60 -59
  157. package/es/components/commons-weather/index.vue.mjs +2 -2
  158. package/es/components/commons-weather/index.vue2.mjs +45 -44
  159. package/es/components/index.d.ts +1 -0
  160. package/es/components/index.mjs +16 -14
  161. package/es/components/interaction-input/index.vue.mjs +1 -1
  162. package/es/components/interaction-input/index.vue2.mjs +56 -55
  163. package/es/components/interaction-select/index.vue.mjs +1 -1
  164. package/es/components/interaction-select/index.vue2.mjs +83 -82
  165. package/es/components/interaction-slider/index.vue.mjs +2 -2
  166. package/es/components/interaction-slider/index.vue2.mjs +45 -44
  167. package/es/components/interaction-switch/index.vue.mjs +2 -2
  168. package/es/components/interaction-switch/index.vue2.mjs +31 -30
  169. package/es/components/interaction-tabs/index.vue.mjs +2 -2
  170. package/es/components/interaction-tabs/index.vue2.mjs +31 -30
  171. package/es/components/interaction-tabs2/index.vue.mjs +2 -2
  172. package/es/components/interaction-tabs2/index.vue2.mjs +31 -30
  173. package/es/components/map-earth-basic/index.vue.d.ts +4 -4
  174. package/es/components/map-earth-basic/index.vue.mjs +30 -29
  175. package/es/components/map-earth-cool-tech/index.vue.d.ts +0 -2
  176. package/es/components/map-earth-cool-tech/index.vue.mjs +30 -29
  177. package/es/components/map-earth-fly-line/index.vue.d.ts +4 -2
  178. package/es/components/map-earth-fly-line/index.vue.mjs +34 -33
  179. package/es/components/map-earth-hacker/index.vue.d.ts +4 -2
  180. package/es/components/map-earth-hacker/index.vue.mjs +29 -28
  181. package/es/components/map-earth-particle/index.vue.d.ts +4 -2
  182. package/es/components/map-earth-particle/index.vue.mjs +30 -29
  183. package/es/components/media-audio/index.vue.mjs +1 -1
  184. package/es/components/media-audio/index.vue2.mjs +49 -48
  185. package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
  186. package/es/components/media-audio-dynamic/index.vue2.mjs +58 -57
  187. package/es/components/media-flv/index.vue.mjs +40 -39
  188. package/es/components/media-iframe/index.vue.mjs +2 -2
  189. package/es/components/media-iframe/index.vue2.mjs +14 -13
  190. package/es/components/media-image-dynamic/index.vue.mjs +2 -2
  191. package/es/components/media-image-dynamic/index.vue2.mjs +23 -22
  192. package/es/components/media-m3u8/index.vue.mjs +39 -38
  193. package/es/components/media-m3u8-dynamic/index.vue.mjs +54 -53
  194. package/es/components/media-video/index.vue.mjs +1 -1
  195. package/es/components/media-video/index.vue2.mjs +38 -37
  196. package/es/components/media-video-dynamic/index.vue.mjs +1 -1
  197. package/es/components/media-video-dynamic/index.vue2.mjs +49 -48
  198. package/es/components/scene-amap2d/index.vue.mjs +1 -1
  199. package/es/components/scene-amap2d/index.vue2.mjs +107 -104
  200. package/es/components/scene-amap3d/index.vue.mjs +2 -2
  201. package/es/components/scene-amap3d/index.vue2.mjs +95 -92
  202. package/es/components/scene-default/index.d.ts +39 -0
  203. package/es/components/scene-default/index.mjs +7 -0
  204. package/es/components/scene-default/index.vue.d.ts +40 -0
  205. package/es/components/scene-default/index.vue.mjs +7 -0
  206. package/es/components/scene-default/index.vue2.mjs +35 -0
  207. package/es/components/scene-map3d/index.d.ts +1 -1
  208. package/es/components/scene-map3d/index.vue.d.ts +1 -1
  209. package/es/components/scene-map3d/index.vue.mjs +2 -2
  210. package/es/components/scene-map3d/index.vue2.mjs +129 -126
  211. package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
  212. package/es/components/scene-ue-iframe/index.vue2.mjs +19 -18
  213. package/es/components/scene-ue-shj/index.vue.mjs +1 -1
  214. package/es/components/scene-ue-shj/index.vue2.mjs +14 -13
  215. package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
  216. package/es/components/scene-unity-iframe/index.vue2.mjs +19 -16
  217. package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
  218. package/es/components/scene-unity-webgl/index.vue2.mjs +16 -13
  219. package/es/components/scene-vr/index.vue.mjs +1 -1
  220. package/es/components/scene-vr/index.vue2.mjs +162 -159
  221. package/es/components/text-count-down/index.vue.mjs +1 -1
  222. package/es/components/text-count-down/index.vue2.mjs +34 -33
  223. package/es/components/text-over-number/index.vue.mjs +2 -2
  224. package/es/components/text-over-number/index.vue2.mjs +49 -48
  225. package/es/components/text-real-time/index.vue.mjs +2 -2
  226. package/es/components/text-real-time/index.vue2.mjs +26 -25
  227. package/es/components/text-row-scroll/index.vue.mjs +1 -1
  228. package/es/components/text-row-scroll/index.vue2.mjs +83 -82
  229. package/es/components/text-table-basic/index.vue.mjs +3 -3
  230. package/es/components/text-table-basic/index.vue2.mjs +97 -96
  231. package/es/components/text-table-scroll/index.vue.mjs +1 -1
  232. package/es/components/text-table-scroll/index.vue2.mjs +96 -95
  233. package/es/components/text-text-dynamic/index.vue.mjs +1 -1
  234. package/es/components/text-text-dynamic/index.vue2.mjs +29 -28
  235. package/es/env.d.ts +0 -2
  236. package/es/index.d.ts +3 -1
  237. package/es/index.mjs +351 -345
  238. package/es/widgets.css +1 -1
  239. package/lib/commons/core/useChart.js +1 -1
  240. package/lib/commons/{core → plugins}/datasource/index.js +1 -1
  241. package/lib/commons/plugins/datasource/utils/utils.js +1 -0
  242. package/lib/commons/plugins/event/actions/fullScreenAction.js +1 -0
  243. package/lib/commons/plugins/event/actions/invokeAction.js +1 -0
  244. package/lib/commons/plugins/event/actions/linkAction.js +1 -0
  245. package/lib/commons/plugins/event/actions/moveAction.js +1 -0
  246. package/lib/commons/plugins/event/actions/pageAction.js +1 -0
  247. package/lib/commons/plugins/event/actions/rotateAction.js +1 -0
  248. package/lib/commons/plugins/event/actions/scaleAction.js +1 -0
  249. package/lib/commons/plugins/event/actions/sendApiAction.js +1 -0
  250. package/lib/commons/plugins/event/actions/ueCommonsWebscoketAction.js +1 -0
  251. package/lib/commons/plugins/event/actions/ueShjExecMethodAction.js +1 -0
  252. package/lib/commons/plugins/event/actions/unityIframeExecMethodAction.js +1 -0
  253. package/lib/commons/plugins/event/actions/unityWebglExecMethodAction.js +1 -0
  254. package/lib/commons/plugins/event/actions/updatePageAction.js +1 -0
  255. package/lib/commons/plugins/event/actions/updateVariableAction.js +1 -0
  256. package/lib/commons/plugins/event/actions/updateWidgetAction.js +1 -0
  257. package/lib/commons/plugins/event/actions/vrSceneMethodAction.js +1 -0
  258. package/lib/commons/plugins/event/index.js +9 -0
  259. package/lib/commons/plugins/event/utils/utils.js +1 -0
  260. package/lib/commons/utils/getNextElement.js +1 -0
  261. package/lib/components/chart-bar-animation/index.vue.js +1 -1
  262. package/lib/components/chart-bar-basic/index.vue.js +1 -1
  263. package/lib/components/chart-bar-contrast/index.vue.js +1 -1
  264. package/lib/components/chart-bar-contrast2/index.vue.js +1 -1
  265. package/lib/components/chart-bar-contrast3/index.vue.js +1 -1
  266. package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -1
  267. package/lib/components/chart-bar-horizontal/index.vue.js +1 -1
  268. package/lib/components/chart-bar-horizontal-stack/index.vue.js +1 -1
  269. package/lib/components/chart-bar-line-bar/index.vue.js +1 -1
  270. package/lib/components/chart-bar-line-bar2/index.vue.js +1 -1
  271. package/lib/components/chart-bar-loop/index.vue.js +1 -1
  272. package/lib/components/chart-bar-mini/index.vue.js +1 -1
  273. package/lib/components/chart-bar-polar/index.vue.js +1 -1
  274. package/lib/components/chart-bar-polar-stack/index.vue.js +1 -1
  275. package/lib/components/chart-bar-polar2/index.vue.js +1 -1
  276. package/lib/components/chart-bar-radius-circle/index.vue.js +1 -1
  277. package/lib/components/chart-bar-rank/index.vue.js +1 -1
  278. package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -1
  279. package/lib/components/chart-bar-spire/index.vue.js +1 -1
  280. package/lib/components/chart-bar-stack/index.vue.js +1 -1
  281. package/lib/components/chart-bar-stack-line/index.vue.js +1 -1
  282. package/lib/components/chart-bar-stack2/index.vue.js +1 -1
  283. package/lib/components/chart-bar-stack3/index.vue.js +1 -1
  284. package/lib/components/chart-bar-staggered/index.vue.js +1 -1
  285. package/lib/components/chart-bar-three/index.vue.js +1 -1
  286. package/lib/components/chart-bar-waterfall/index.vue.js +1 -1
  287. package/lib/components/chart-bar-zebra/index.vue.js +1 -1
  288. package/lib/components/chart-line-area-gradient/index.vue.js +1 -1
  289. package/lib/components/chart-line-area-highlight/index.vue.js +1 -1
  290. package/lib/components/chart-line-area-highlight2/index.vue.js +1 -1
  291. package/lib/components/chart-line-basic/index.vue.js +1 -1
  292. package/lib/components/chart-line-bump/index.vue.js +1 -1
  293. package/lib/components/chart-line-dashed/index.vue.js +1 -1
  294. package/lib/components/chart-line-ladder/index.vue.js +1 -1
  295. package/lib/components/chart-line-logarithm/index.vue.js +1 -1
  296. package/lib/components/chart-line-multix/index.vue.js +1 -1
  297. package/lib/components/chart-line-polar-double/index.vue.js +1 -1
  298. package/lib/components/chart-line-rain-flow/index.vue.js +1 -1
  299. package/lib/components/chart-line-scale/index.vue.js +1 -1
  300. package/lib/components/chart-line-smooth/index.vue.js +1 -1
  301. package/lib/components/chart-line-smooth-area/index.vue.js +1 -1
  302. package/lib/components/chart-line-stack/index.vue.js +1 -1
  303. package/lib/components/chart-line-stack-area/index.vue.js +1 -1
  304. package/lib/components/chart-line-temp/index.vue.js +1 -1
  305. package/lib/components/chart-line-vertical/index.vue.js +1 -1
  306. package/lib/components/chart-map-basic/index.vue.js +1 -1
  307. package/lib/components/chart-map-bmap-basic/index.vue.js +1 -1
  308. package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -1
  309. package/lib/components/chart-map-bmap-rich/index.vue.js +1 -1
  310. package/lib/components/chart-map-customize/index.vue.js +1 -1
  311. package/lib/components/chart-map-lines/index.vue.js +1 -1
  312. package/lib/components/chart-map-scatter/index.vue.js +1 -1
  313. package/lib/components/chart-other-candlestick-basic/index.vue.js +1 -1
  314. package/lib/components/chart-other-candlestick-demo/index.vue.js +1 -1
  315. package/lib/components/chart-other-candlestick-shanghai/index.vue.js +1 -1
  316. package/lib/components/chart-other-circular-graph/index.vue.js +1 -1
  317. package/lib/components/chart-other-force/index.vue.js +1 -1
  318. package/lib/components/chart-other-force2/index.vue.js +1 -1
  319. package/lib/components/chart-other-funnel/index.vue.js +1 -1
  320. package/lib/components/chart-other-funnel-contrast/index.vue.js +1 -1
  321. package/lib/components/chart-other-funnel-split/index.vue.js +1 -1
  322. package/lib/components/chart-other-funnel2/index.vue.js +1 -1
  323. package/lib/components/chart-other-gauge/index.vue.js +1 -1
  324. package/lib/components/chart-other-gauge-grade/index.vue.js +1 -1
  325. package/lib/components/chart-other-gauge-stage/index.vue.js +1 -1
  326. package/lib/components/chart-other-graph-basic/index.vue.js +1 -1
  327. package/lib/components/chart-other-graph-basic2/index.vue.js +1 -1
  328. package/lib/components/chart-other-graph-calendar/index.vue.js +1 -1
  329. package/lib/components/chart-other-grid-percentage/index.vue.js +1 -1
  330. package/lib/components/chart-other-heatmap/index.vue.js +1 -1
  331. package/lib/components/chart-other-label-gauge/index.vue.js +1 -1
  332. package/lib/components/chart-other-liquidfill/index.vue.js +1 -1
  333. package/lib/components/chart-other-parallel-basic/index.vue.js +1 -1
  334. package/lib/components/chart-other-parallel-mul/index.vue.js +1 -1
  335. package/lib/components/chart-other-radar/index.vue.js +1 -1
  336. package/lib/components/chart-other-radar-stack/index.vue.js +1 -1
  337. package/lib/components/chart-other-sunburst-basic/index.vue.js +1 -1
  338. package/lib/components/chart-other-sunburst-basic2/index.vue.js +1 -1
  339. package/lib/components/chart-other-sunburst-basic3/index.vue.js +1 -1
  340. package/lib/components/chart-other-sunburst-basic4/index.vue.js +1 -1
  341. package/lib/components/chart-other-sunburst-book/index.vue.js +1 -1
  342. package/lib/components/chart-other-sunburst-flavors/index.vue.js +1 -1
  343. package/lib/components/chart-other-sunburst-radius/index.vue.js +1 -1
  344. package/lib/components/chart-other-theme-river/index.vue.js +1 -1
  345. package/lib/components/chart-other-tree/index.vue.js +1 -1
  346. package/lib/components/chart-other-tree-line/index.vue.js +1 -1
  347. package/lib/components/chart-other-treemap/index.vue.js +1 -1
  348. package/lib/components/chart-other-treemap-basic/index.vue.js +1 -1
  349. package/lib/components/chart-other-word-cloud/index.vue.js +1 -1
  350. package/lib/components/chart-pie-3d/index.vue.js +1 -1
  351. package/lib/components/chart-pie-basic/index.vue.js +1 -1
  352. package/lib/components/chart-pie-basic2/index.vue.js +1 -1
  353. package/lib/components/chart-pie-customized/index.vue.js +1 -1
  354. package/lib/components/chart-pie-index/index.vue.js +1 -1
  355. package/lib/components/chart-pie-interval/index.vue.js +1 -1
  356. package/lib/components/chart-pie-legend-scroll/index.vue.js +1 -1
  357. package/lib/components/chart-pie-radius/index.vue.js +1 -1
  358. package/lib/components/chart-pie-rose/index.vue.js +1 -1
  359. package/lib/components/chart-pie-round/index.vue.js +1 -1
  360. package/lib/components/chart-pie-semicircle/index.vue.js +1 -1
  361. package/lib/components/chart-pie-sunburst/index.vue.js +1 -1
  362. package/lib/components/chart-scatter-basic/index.vue.js +1 -1
  363. package/lib/components/chart-scatter-basic2/index.vue.js +1 -1
  364. package/lib/components/chart-scatter-bubble/index.vue.js +1 -1
  365. package/lib/components/chart-scatter-ripples/index.vue.js +1 -1
  366. package/lib/components/commons-echarts/compileAndRunEcharts.js +6 -6
  367. package/lib/components/commons-loop-iterator/index.vue.js +1 -1
  368. package/lib/components/commons-loop-iterator/index.vue2.js +1 -1
  369. package/lib/components/commons-product-model/index.vue.js +1 -1
  370. package/lib/components/commons-product-model/index.vue2.js +1 -1
  371. package/lib/components/commons-three-loader/index.vue.js +1 -1
  372. package/lib/components/commons-three-loader/index.vue2.js +1 -1
  373. package/lib/components/commons-three-loader3/index.vue.js +1 -1
  374. package/lib/components/commons-three-loader3/index.vue2.js +1 -1
  375. package/lib/components/commons-weather/index.vue.js +1 -1
  376. package/lib/components/commons-weather/index.vue2.js +1 -1
  377. package/lib/components/index.js +1 -1
  378. package/lib/components/interaction-input/index.vue.js +1 -1
  379. package/lib/components/interaction-input/index.vue2.js +1 -1
  380. package/lib/components/interaction-select/index.vue.js +1 -1
  381. package/lib/components/interaction-select/index.vue2.js +1 -1
  382. package/lib/components/interaction-slider/index.vue.js +1 -1
  383. package/lib/components/interaction-slider/index.vue2.js +1 -1
  384. package/lib/components/interaction-switch/index.vue.js +1 -1
  385. package/lib/components/interaction-switch/index.vue2.js +1 -1
  386. package/lib/components/interaction-tabs/index.vue.js +1 -1
  387. package/lib/components/interaction-tabs/index.vue2.js +1 -1
  388. package/lib/components/interaction-tabs2/index.vue.js +1 -1
  389. package/lib/components/interaction-tabs2/index.vue2.js +1 -1
  390. package/lib/components/map-earth-basic/index.vue.js +1 -1
  391. package/lib/components/map-earth-cool-tech/index.vue.js +1 -1
  392. package/lib/components/map-earth-fly-line/index.vue.js +1 -1
  393. package/lib/components/map-earth-hacker/index.vue.js +1 -1
  394. package/lib/components/map-earth-particle/index.vue.js +1 -1
  395. package/lib/components/media-audio/index.vue.js +1 -1
  396. package/lib/components/media-audio/index.vue2.js +1 -1
  397. package/lib/components/media-audio-dynamic/index.vue.js +1 -1
  398. package/lib/components/media-audio-dynamic/index.vue2.js +1 -1
  399. package/lib/components/media-flv/index.vue.js +1 -1
  400. package/lib/components/media-iframe/index.vue.js +1 -1
  401. package/lib/components/media-iframe/index.vue2.js +1 -1
  402. package/lib/components/media-image-dynamic/index.vue.js +1 -1
  403. package/lib/components/media-image-dynamic/index.vue2.js +1 -1
  404. package/lib/components/media-m3u8/index.vue.js +1 -1
  405. package/lib/components/media-m3u8-dynamic/index.vue.js +1 -1
  406. package/lib/components/media-video/index.vue.js +1 -1
  407. package/lib/components/media-video/index.vue2.js +1 -1
  408. package/lib/components/media-video-dynamic/index.vue.js +1 -1
  409. package/lib/components/media-video-dynamic/index.vue2.js +1 -1
  410. package/lib/components/scene-amap2d/index.vue.js +1 -1
  411. package/lib/components/scene-amap2d/index.vue2.js +1 -1
  412. package/lib/components/scene-amap3d/index.vue.js +1 -1
  413. package/lib/components/scene-amap3d/index.vue2.js +4 -4
  414. package/lib/components/scene-default/index.js +1 -0
  415. package/lib/components/scene-default/index.vue.js +1 -0
  416. package/lib/components/scene-default/index.vue2.js +1 -0
  417. package/lib/components/scene-map3d/index.vue.js +1 -1
  418. package/lib/components/scene-map3d/index.vue2.js +1 -1
  419. package/lib/components/scene-ue-iframe/index.vue.js +1 -1
  420. package/lib/components/scene-ue-iframe/index.vue2.js +1 -1
  421. package/lib/components/scene-ue-shj/index.vue.js +1 -1
  422. package/lib/components/scene-ue-shj/index.vue2.js +1 -1
  423. package/lib/components/scene-unity-iframe/index.vue.js +1 -1
  424. package/lib/components/scene-unity-iframe/index.vue2.js +1 -1
  425. package/lib/components/scene-unity-webgl/index.vue.js +1 -1
  426. package/lib/components/scene-unity-webgl/index.vue2.js +1 -1
  427. package/lib/components/scene-vr/index.vue.js +1 -1
  428. package/lib/components/scene-vr/index.vue2.js +2 -2
  429. package/lib/components/text-count-down/index.vue.js +1 -1
  430. package/lib/components/text-count-down/index.vue2.js +1 -1
  431. package/lib/components/text-over-number/index.vue.js +1 -1
  432. package/lib/components/text-over-number/index.vue2.js +1 -1
  433. package/lib/components/text-real-time/index.vue.js +1 -1
  434. package/lib/components/text-real-time/index.vue2.js +1 -1
  435. package/lib/components/text-row-scroll/index.vue.js +1 -1
  436. package/lib/components/text-row-scroll/index.vue2.js +1 -1
  437. package/lib/components/text-table-basic/index.vue.js +1 -1
  438. package/lib/components/text-table-basic/index.vue2.js +1 -1
  439. package/lib/components/text-table-scroll/index.vue.js +1 -1
  440. package/lib/components/text-table-scroll/index.vue2.js +1 -1
  441. package/lib/components/text-text-dynamic/index.vue.js +1 -1
  442. package/lib/components/text-text-dynamic/index.vue2.js +1 -1
  443. package/lib/index.js +1 -1
  444. package/lib/widgets.css +1 -1
  445. package/package.json +1 -1
  446. package/es/commons/core/datasource/utils/utils.d.ts +0 -50
  447. package/es/commons/core/datasource/utils/utils.mjs +0 -123
  448. package/lib/commons/core/datasource/utils/utils.js +0 -1
  449. /package/es/commons/{core → plugins}/datasource/index.d.ts +0 -0
  450. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.d.ts +0 -0
  451. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.mjs +0 -0
  452. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.d.ts +0 -0
  453. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.mjs +0 -0
  454. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.d.ts +0 -0
  455. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.mjs +0 -0
  456. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.d.ts +0 -0
  457. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.mjs +0 -0
  458. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.d.ts +0 -0
  459. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.mjs +0 -0
  460. /package/es/commons/{core → plugins}/datasource/utils/axios.d.ts +0 -0
  461. /package/es/commons/{core → plugins}/datasource/utils/axios.mjs +0 -0
  462. /package/es/commons/{core → plugins}/datasource/utils/request.d.ts +0 -0
  463. /package/es/commons/{core → plugins}/datasource/utils/request.mjs +0 -0
  464. /package/es/commons/{core → plugins}/datasource/utils/wsManager.d.ts +0 -0
  465. /package/es/commons/{core → plugins}/datasource/utils/wsManager.mjs +0 -0
  466. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/api.js +0 -0
  467. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/static.js +0 -0
  468. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/url.js +0 -0
  469. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/variable.js +0 -0
  470. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/ws.js +0 -0
  471. /package/lib/commons/{core → plugins}/datasource/utils/axios.js +0 -0
  472. /package/lib/commons/{core → plugins}/datasource/utils/request.js +0 -0
  473. /package/lib/commons/{core → plugins}/datasource/utils/wsManager.js +0 -0
@@ -1,16 +1,17 @@
1
- import { defineComponent as L, watch as d, createElementBlock as Q, openBlock as X, normalizeClass as Y, unref as ee, shallowRef as M, ref as f, onMounted as ae, onUnmounted as te, createElementVNode as se, pushScopeId as le, popScopeId as re } from "vue";
2
- import ne from "@amap/amap-jsapi-loader";
3
- import oe from "axios";
4
- import { nanoid as ie } from "nanoid";
5
- import { debounce as z } from "lodash";
6
- import { SHJDatasourceV2 as ce } from "../../commons/core/datasource/index.mjs";
7
- const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ */ de(() => /* @__PURE__ */ se("div", {
1
+ import { defineComponent as A, watch as d, createElementBlock as X, openBlock as Y, normalizeClass as ee, unref as ae, shallowRef as L, ref as p, onMounted as te, onUnmounted as se, createElementVNode as le, pushScopeId as re, popScopeId as ne } from "vue";
2
+ import oe from "@amap/amap-jsapi-loader";
3
+ import ie from "axios";
4
+ import { nanoid as ce } from "nanoid";
5
+ import { debounce as C } from "lodash";
6
+ import { SHJDatasourceV2 as de } from "../../commons/plugins/datasource/index.mjs";
7
+ import { SHJParseEvent as u } from "../../commons/plugins/event/index.mjs";
8
+ const ue = (m) => (re("data-v-f5bf46c3"), m = m(), ne(), m), ye = /* @__PURE__ */ ue(() => /* @__PURE__ */ le("div", {
8
9
  id: "zerov-amap-3d",
9
10
  class: "zerov-amap-container"
10
- }, null, -1)), ye = [
11
- ue
12
- ], ge = L({ name: "zv-scene-amap3d" }), ke = /* @__PURE__ */ L({
13
- ...ge,
11
+ }, null, -1)), ge = [
12
+ ye
13
+ ], me = A({ name: "zv-scene-amap3d" }), we = /* @__PURE__ */ A({
14
+ ...me,
14
15
  props: {
15
16
  basicOption: {},
16
17
  sources: {},
@@ -27,12 +28,14 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
27
28
  "amap3d-scene-dragend",
28
29
  "amap3d-scene-pulseLinkLayer"
29
30
  ],
30
- setup(g, { expose: A, emit: P }) {
31
- const s = g, u = P, I = () => {
32
- const n = M(), c = M(), S = f(!1), v = f(), p = f(), h = f(), b = f(), C = (a) => {
33
- E(), window._AMapSecurityConfig = {
31
+ setup(m, { expose: I, emit: B }) {
32
+ const s = m, y = B;
33
+ u.parseEvents(s.useEvents, "on-page-loaded", null);
34
+ const W = () => {
35
+ const n = L(), c = L(), x = p(!1), v = p(), h = p(), b = p(), k = p(), S = (a) => {
36
+ M(), window._AMapSecurityConfig = {
34
37
  securityJsCode: a.basic.securityJsCode
35
- }, ne.load({
38
+ }, oe.load({
36
39
  key: a.basic.key,
37
40
  // 申请好的Web端开发者Key,首次调用 load 时必填
38
41
  version: "2.0",
@@ -42,7 +45,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
42
45
  },
43
46
  plugins: ["AMap.ControlBar", "AMap.ToolBar", "AMap.Scale", "AMap.HeatMap", "AMap.GeoJSON"]
44
47
  }).then((e) => {
45
- b.value = e, n.value = new e.Map("zerov-amap-3d", {
48
+ k.value = e, n.value = new e.Map("zerov-amap-3d", {
46
49
  rotateEnable: a.config.rotateEnable,
47
50
  // 是否开启地图旋转交互 鼠标右键 + 鼠标画圈移动 或 键盘Ctrl + 鼠标画圈移动
48
51
  pitchEnable: a.config.pitchEnable,
@@ -69,67 +72,67 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
69
72
  skyColor: a.config.skyColor
70
73
  }), c.value = new window.Loca.Container({
71
74
  map: n.value
72
- }), h.value = new b.value.Scale({
75
+ }), b.value = new k.value.Scale({
73
76
  visible: a.config.plugin.scale.visible,
74
77
  position: {
75
78
  left: a.config.plugin.scale.position.left + "px",
76
79
  bottom: a.config.plugin.scale.position.bottom + "px"
77
80
  }
78
- }), n.value.addControl(h.value), v.value = new e.ControlBar({
81
+ }), n.value.addControl(b.value), v.value = new e.ControlBar({
79
82
  visible: a.config.plugin.controlBar.visible,
80
83
  showControlButton: a.config.plugin.controlBar.showControlButton,
81
84
  position: {
82
85
  right: a.config.plugin.controlBar.position.right + "px",
83
86
  top: a.config.plugin.controlBar.position.top + "px"
84
87
  }
85
- }), n.value.addControl(v.value), p.value = new e.ToolBar({
88
+ }), n.value.addControl(v.value), h.value = new e.ToolBar({
86
89
  visible: a.config.plugin.toolBar.visible,
87
90
  position: {
88
91
  left: a.config.plugin.toolBar.position.left + "px",
89
92
  top: a.config.plugin.toolBar.position.top + "px"
90
93
  }
91
- }), n.value.addControl(p.value), x(e), n.value.on("complete", () => {
94
+ }), n.value.addControl(h.value), O(e), n.value.on("complete", () => {
92
95
  setTimeout(() => {
93
- S.value = !0, u("amap3d-scene-success"), window.SHJParseEvent(s.useEvents, "amap3d-scene-success", null);
96
+ x.value = !0, y("amap3d-scene-success"), u.parseEvents(s.useEvents, "amap3d-scene-success", null);
94
97
  }, 666);
95
98
  }), n.value.on("zoomstart", () => {
96
- u("amap3d-scene-zoomstart"), window.SHJParseEvent(s.useEvents, "amap3d-scene-zoomstart", null);
99
+ y("amap3d-scene-zoomstart"), u.parseEvents(s.useEvents, "amap3d-scene-zoomstart", null);
97
100
  }), n.value.on("zoomend", () => {
98
- u("amap3d-scene-zoomend"), window.SHJParseEvent(s.useEvents, "amap3d-scene-zoomend", null);
101
+ y("amap3d-scene-zoomend"), u.parseEvents(s.useEvents, "amap3d-scene-zoomend", null);
99
102
  }), n.value.on("click", (t) => {
100
- u("amap3d-scene-mapclick", t.lnglat), window.SHJParseEvent(s.useEvents, "amap3d-scene-mapclick", t.lnglat);
103
+ y("amap3d-scene-mapclick", t.lnglat), u.parseEvents(s.useEvents, "amap3d-scene-mapclick", t.lnglat);
101
104
  }), n.value.on("dragstart", (t) => {
102
- u("amap3d-scene-dragstart", t.lnglat), window.SHJParseEvent(s.useEvents, "amap3d-scene-dragstart", t.lnglat);
105
+ y("amap3d-scene-dragstart", t.lnglat), u.parseEvents(s.useEvents, "amap3d-scene-dragstart", t.lnglat);
103
106
  }), n.value.on("dragend", (t) => {
104
- u("amap3d-scene-dragend", t.lnglat), window.SHJParseEvent(s.useEvents, "amap3d-scene-dragend", t.lnglat);
107
+ y("amap3d-scene-dragend", t.lnglat), u.parseEvents(s.useEvents, "amap3d-scene-dragend", t.lnglat);
105
108
  });
106
109
  }).catch((e) => {
107
110
  });
108
- }, x = z((a) => {
109
- s.sources && s.sources.length > 0 ? ce.parse({
111
+ }, O = C((a) => {
112
+ s.sources && s.sources.length > 0 ? de.parse({
110
113
  tId: s.uuid,
111
114
  sources: s.sources,
112
115
  callback: (e) => {
113
116
  try {
114
117
  const t = s.basicOption.widgets.find((l) => l._sourceId === e.id);
115
- t && t.type === "heatmap" && D(window.Loca, t, y(e.data[0].data, "Point")), t && t.type === "dotlayers" && F(window.Loca, t, y(e.data[0].data, "Point")), t && t.type === "scatter" && N(window.Loca, t, y(e.data[0].data, "Point")), t && t.type === "labelsLayer" && G(window.Loca, t, y(e.data[0].data, "Point")), t && t.type === "signagePoints" && Z(window.Loca, t, y(e.data[0].data, "Point")), t && t.type === "pulseLinkLayer" && R(window.Loca, t, y(e.data[0].data, "LineString"));
118
+ t && t.type === "heatmap" && N(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "dotlayers" && G(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "scatter" && H(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "labelsLayer" && Z(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "signagePoints" && R(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "pulseLinkLayer" && T(window.Loca, t, g(e.data[0].data, "LineString"));
116
119
  } catch {
117
120
  }
118
121
  s.basicOption.widgets.filter((t) => t.type === "boundary").forEach((t) => {
119
- O(a, t);
122
+ E(a, t);
120
123
  });
121
124
  }
122
125
  }) : s.basicOption.widgets.filter((e) => e.type === "boundary").forEach((e) => {
123
- O(a, e);
126
+ E(a, e);
124
127
  });
125
- }, 200), H = (a) => {
128
+ }, 200), F = (a) => {
126
129
  const t = a.slice(a.indexOf("(") + 1, a.lastIndexOf(")")).split(",").map((r) => r.trim()), l = {};
127
130
  for (let r = 1; r < t.length; r++) {
128
- const o = t[r].split(" "), i = o[0], k = parseFloat(o[1]) / 100, K = Math.round(k * 100) / 100;
129
- l[K] = i;
131
+ const o = t[r].split(" "), i = o[0], z = parseFloat(o[1]) / 100, Q = Math.round(z * 100) / 100;
132
+ l[Q] = i;
130
133
  }
131
134
  return l;
132
- }, D = (a, e, t) => {
135
+ }, N = (a, e, t) => {
133
136
  try {
134
137
  const l = new a.HeatMapLayer({
135
138
  zIndex: 10,
@@ -144,7 +147,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
144
147
  unit: e.style.unit,
145
148
  height: e.style.height,
146
149
  opacity: e.style.opacity,
147
- gradient: H(e.style.gradient),
150
+ gradient: F(e.style.gradient),
148
151
  value: function(o, i) {
149
152
  return i.coordinates[2] || 0;
150
153
  },
@@ -155,9 +158,9 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
155
158
  }), c.value.add(l);
156
159
  } catch {
157
160
  }
158
- }, O = async (a, e) => {
161
+ }, E = async (a, e) => {
159
162
  try {
160
- const t = await oe.get(e.geojson);
163
+ const t = await ie.get(e.geojson);
161
164
  if (t.status === 200) {
162
165
  const l = new a.GeoJSON({
163
166
  geoJSON: t.data,
@@ -209,7 +212,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
209
212
  }
210
213
  } catch {
211
214
  }
212
- }, F = (a, e, t) => {
215
+ }, G = (a, e, t) => {
213
216
  try {
214
217
  const l = new a.GeoJSONSource({
215
218
  data: t
@@ -239,7 +242,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
239
242
  });
240
243
  } catch {
241
244
  }
242
- }, N = (a, e, t) => {
245
+ }, H = (a, e, t) => {
243
246
  try {
244
247
  const l = new a.GeoJSONSource({
245
248
  data: t
@@ -260,7 +263,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
260
263
  }), c.value.animate.start();
261
264
  } catch {
262
265
  }
263
- }, G = (a, e, t) => {
266
+ }, Z = (a, e, t) => {
264
267
  try {
265
268
  const l = new a.GeoJSONSource({
266
269
  data: t
@@ -304,7 +307,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
304
307
  }), c.value.add(r);
305
308
  } catch {
306
309
  }
307
- }, Z = (a, e, t) => {
310
+ }, R = (a, e, t) => {
308
311
  try {
309
312
  const l = new a.GeoJSONSource({
310
313
  data: t
@@ -316,7 +319,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
316
319
  depth: !1
317
320
  });
318
321
  r.setSource(l), r.setStyle({
319
- content: (i, k) => `<div style="
322
+ content: (i, z) => `<div style="
320
323
  width: ${e.signs.style.width}px;
321
324
  height: ${e.signs.style.height + 148}px;
322
325
  ">
@@ -332,7 +335,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
332
335
  color:${e.signs.style.fillColor};
333
336
  margin:0;
334
337
  ">
335
- ${k.properties.name}
338
+ ${z.properties.name}
336
339
  </p>
337
340
  </div>`,
338
341
  unit: e.signs.style.unit,
@@ -349,7 +352,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
349
352
  depth: !1
350
353
  });
351
354
  o.setSource(l), o.setStyle({
352
- content: (i, k) => `<div style="
355
+ content: (i, z) => `<div style="
353
356
  width: ${e.landmark.style.size[0]}px;
354
357
  height: ${e.landmark.style.size[1]}px;
355
358
  background: url(${e.landmark.style.image});
@@ -373,7 +376,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
373
376
  }), c.value.add(o), c.value.animate.start();
374
377
  } catch {
375
378
  }
376
- }, R = (a, e, t) => {
379
+ }, T = (a, e, t) => {
377
380
  const l = new a.PulseLinkLayer({
378
381
  zIndex: e.zIndex,
379
382
  opacity: e.opacity,
@@ -403,9 +406,9 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
403
406
  trailColor: e.style.trailColor
404
407
  }), n.value.on("click", (o) => {
405
408
  const i = l.queryFeature(o.pixel.toArray());
406
- i && (u("amap3d-scene-pulseLinkLayer", i), window.SHJParseEvent(s.useEvents, "amap3d-scene-pulseLinkLayer", i));
409
+ i && (y("amap3d-scene-pulseLinkLayer", i), u.parseEvents(s.useEvents, "amap3d-scene-pulseLinkLayer", i));
407
410
  }), c.value.add(l), c.value.animate.start();
408
- }, y = (a, e) => {
411
+ }, g = (a, e) => {
409
412
  const t = {
410
413
  type: "FeatureCollection",
411
414
  features: []
@@ -413,7 +416,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
413
416
  return a.forEach((l, r) => {
414
417
  const o = {
415
418
  type: "Feature",
416
- id: ie(),
419
+ id: ce(),
417
420
  properties: {
418
421
  type: e === "Point" ? e : 0,
419
422
  ...l
@@ -425,75 +428,75 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
425
428
  };
426
429
  t.features.push(o);
427
430
  }), t;
428
- }, T = (a) => {
431
+ }, j = (a) => {
429
432
  n.value.setFeatures(a.config.features), n.value.setPitch(a.config.pitch), n.value.setRotation(a.config.rotation), n.value.setStatus({
430
433
  dragEnable: a.config.dragEnable,
431
434
  zoomEnable: a.config.zoomEnable,
432
435
  rotateEnable: a.config.rotateEnable,
433
436
  pitchEnable: a.config.pitchEnable
434
- }), a.config.plugin.scale.visible ? h.value.show() : h.value.hide(), a.config.plugin.toolBar.visible ? p.value.show() : p.value.hide(), a.config.plugin.controlBar.visible ? v.value.show() : v.value.hide();
435
- }, j = () => {
436
- n.value.clearMap(), c.value.clear(), x(b.value);
437
- }, V = (a) => {
438
- n.value.setMapStyle(a.config.mapStyle);
437
+ }), a.config.plugin.scale.visible ? b.value.show() : b.value.hide(), a.config.plugin.toolBar.visible ? h.value.show() : h.value.hide(), a.config.plugin.controlBar.visible ? v.value.show() : v.value.hide();
438
+ }, V = () => {
439
+ n.value.clearMap(), c.value.clear(), O(k.value);
439
440
  }, q = (a) => {
440
- n.value.setZoom(a.config.zoom, !1, 200);
441
+ n.value.setMapStyle(a.config.mapStyle);
441
442
  }, U = (a) => {
443
+ n.value.setZoom(a.config.zoom, !1, 200);
444
+ }, K = (a) => {
442
445
  n.value.setCenter(a.config.center, !1, 200);
443
- }, E = () => {
446
+ }, M = () => {
444
447
  n.value && (n.value.clearMap(), n.value.destroy(), n.value = null, c.value && (c.value.clear(), c.value.destroy(), c.value = null));
445
448
  };
446
- return ae(() => {
449
+ return te(() => {
447
450
  setTimeout(() => {
448
- C(s.basicOption);
451
+ S(s.basicOption);
449
452
  }, 0);
450
- }), te(() => E()), {
451
- initAMap3d: C,
452
- updateAMapStyle: V,
453
- updateAMapConfig: T,
454
- updateAMapComponents: j,
455
- updateAMapZoom: q,
456
- updateAMapCenter: U,
453
+ }), se(() => M()), {
454
+ initAMap3d: S,
455
+ updateAMapStyle: q,
456
+ updateAMapConfig: j,
457
+ updateAMapComponents: V,
458
+ updateAMapZoom: U,
459
+ updateAMapCenter: K,
457
460
  amap3d: n,
458
- loading: S,
459
- AMapPrototype: b
461
+ loading: x,
462
+ AMapPrototype: k
460
463
  };
461
464
  }, {
462
- initAMap3d: m,
463
- updateAMapStyle: B,
465
+ initAMap3d: f,
466
+ updateAMapStyle: P,
464
467
  updateAMapConfig: w,
465
- updateAMapComponents: W,
466
- updateAMapZoom: J,
467
- updateAMapCenter: $,
468
- loading: _
469
- } = I();
468
+ updateAMapComponents: $,
469
+ updateAMapZoom: _,
470
+ updateAMapCenter: J,
471
+ loading: D
472
+ } = W();
470
473
  return d(() => s.basicOption.config, () => {
471
474
  w(s.basicOption);
472
475
  }, { deep: !0 }), d(() => s.basicOption.config.zoom, () => {
473
- J(s.basicOption);
476
+ _(s.basicOption);
474
477
  }, { deep: !0 }), d(() => s.basicOption.config.center, () => {
475
- $(s.basicOption);
476
- }, { deep: !0 }), d(() => s.basicOption.config.floors, z(() => {
477
- m(s.basicOption);
478
- }, 300), { deep: !0 }), d(() => s.basicOption.config.skyColor, z(() => {
479
- m(s.basicOption);
478
+ J(s.basicOption);
479
+ }, { deep: !0 }), d(() => s.basicOption.config.floors, C(() => {
480
+ f(s.basicOption);
481
+ }, 300), { deep: !0 }), d(() => s.basicOption.config.skyColor, C(() => {
482
+ f(s.basicOption);
480
483
  }, 300), { deep: !0 }), d(() => s.basicOption.widgets, () => {
481
- W();
484
+ $();
482
485
  }, { deep: !0 }), d(() => s.basicOption.config.mapStyle, () => {
483
- B(s.basicOption);
486
+ P(s.basicOption);
484
487
  }, { deep: !0 }), d(() => s.basicOption.basic, () => {
485
- m(s.basicOption);
488
+ f(s.basicOption);
486
489
  }, { deep: !0 }), d(() => s.sources, () => {
487
- m(s.basicOption);
488
- }, { deep: !0 }), A({
489
- refresh: () => m(s.basicOption),
490
+ f(s.basicOption);
491
+ }, { deep: !0 }), I({
492
+ refresh: () => f(s.basicOption),
490
493
  refreshView: () => w(s.basicOption),
491
494
  refreshData: () => w(s.basicOption)
492
- }), (n, c) => (X(), Q("div", {
493
- class: Y(["amap-3d-wrap", { show: ee(_) }])
494
- }, ye, 2));
495
+ }), (n, c) => (Y(), X("div", {
496
+ class: ee(["amap-3d-wrap", { show: ae(D) }])
497
+ }, ge, 2));
495
498
  }
496
499
  });
497
500
  export {
498
- ke as default
501
+ we as default
499
502
  };
@@ -0,0 +1,39 @@
1
+ export declare const ZvSceneDefault: import("../../commons/utils/typescript").SFCWithInstall<import("vue").DefineComponent<{
2
+ basicOption: {
3
+ type: any;
4
+ required: true;
5
+ };
6
+ sources: {
7
+ type: any;
8
+ required: true;
9
+ };
10
+ useEvents: {
11
+ type: ArrayConstructor;
12
+ required: true;
13
+ };
14
+ uuid: {
15
+ type: StringConstructor;
16
+ required: true;
17
+ };
18
+ }, {
19
+ props: any;
20
+ handleSceneStyle: () => import("vue").StyleValue;
21
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ basicOption: {
23
+ type: any;
24
+ required: true;
25
+ };
26
+ sources: {
27
+ type: any;
28
+ required: true;
29
+ };
30
+ useEvents: {
31
+ type: ArrayConstructor;
32
+ required: true;
33
+ };
34
+ uuid: {
35
+ type: StringConstructor;
36
+ required: true;
37
+ };
38
+ }>>, {}, {}>> & Record<string, any>;
39
+ export default ZvSceneDefault;
@@ -0,0 +1,7 @@
1
+ import t from "./index.vue.mjs";
2
+ import { withInstall as e } from "../../commons/utils/install.mjs";
3
+ const f = e(t);
4
+ export {
5
+ f as ZvSceneDefault,
6
+ f as default
7
+ };
@@ -0,0 +1,40 @@
1
+ import { StyleValue } from 'vue';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ basicOption: {
4
+ type: any;
5
+ required: true;
6
+ };
7
+ sources: {
8
+ type: any;
9
+ required: true;
10
+ };
11
+ useEvents: {
12
+ type: ArrayConstructor;
13
+ required: true;
14
+ };
15
+ uuid: {
16
+ type: StringConstructor;
17
+ required: true;
18
+ };
19
+ }, {
20
+ props: any;
21
+ handleSceneStyle: () => StyleValue | undefined;
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ basicOption: {
24
+ type: any;
25
+ required: true;
26
+ };
27
+ sources: {
28
+ type: any;
29
+ required: true;
30
+ };
31
+ useEvents: {
32
+ type: ArrayConstructor;
33
+ required: true;
34
+ };
35
+ uuid: {
36
+ type: StringConstructor;
37
+ required: true;
38
+ };
39
+ }>>, {}, {}>;
40
+ export default _sfc_main;
@@ -0,0 +1,7 @@
1
+ import o from "./index.vue2.mjs";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a7b7a26c"]]);
5
+ export {
6
+ c as default
7
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent as r, createElementBlock as u, openBlock as l, normalizeStyle as p } from "vue";
2
+ import { SHJParseEvent as d } from "../../commons/plugins/event/index.mjs";
3
+ const i = r({ name: "zv-scene-default" }), k = /* @__PURE__ */ r({
4
+ ...i,
5
+ props: {
6
+ basicOption: {},
7
+ sources: {},
8
+ useEvents: {},
9
+ uuid: {}
10
+ },
11
+ setup(a) {
12
+ const t = a;
13
+ d.parseEvents(t.useEvents, "on-page-loaded", null);
14
+ const c = () => {
15
+ try {
16
+ const e = t.basicOption, o = e.background.image, s = e.background.color, n = e.background.size;
17
+ return {
18
+ background: o ? `url('${o}')` : s,
19
+ backgroundSize: n,
20
+ backgroundPosition: n === "auto" ? "0px 0px" : "center",
21
+ backgroundRepeat: n === "auto" ? "repeat" : "no-repeat"
22
+ };
23
+ } catch {
24
+ return {};
25
+ }
26
+ };
27
+ return (e, o) => (l(), u("div", {
28
+ class: "shj-default",
29
+ style: p(c())
30
+ }, null, 4));
31
+ }
32
+ });
33
+ export {
34
+ k as default
35
+ };
@@ -16,8 +16,8 @@ export declare const ZvSceneMap3d: import("../../commons/utils/typescript").SFCW
16
16
  required: true;
17
17
  };
18
18
  }, {
19
- emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
20
19
  props: any;
20
+ emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
21
21
  app: import("vue").Ref<any>;
22
22
  loading: import("vue").Ref<boolean>;
23
23
  loading2: import("vue").Ref<boolean>;
@@ -17,8 +17,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
17
17
  required: true;
18
18
  };
19
19
  }, {
20
- emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
21
20
  props: any;
21
+ emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
22
22
  app: import("vue").Ref<any>;
23
23
  loading: import("vue").Ref<boolean>;
24
24
  loading2: import("vue").Ref<boolean>;
@@ -2,7 +2,7 @@ import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
5
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-55d911a2"]]);
5
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-acc89c32"]]);
6
6
  export {
7
- _ as default
7
+ p as default
8
8
  };