@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,16 +1,199 @@
1
- import { defineComponent as I, watch as u, createElementBlock as ee, openBlock as ae, normalizeClass as te, unref as se, shallowRef as M, ref as h, onMounted as le, onUnmounted as re, createElementVNode as ne, pushScopeId as oe, popScopeId as ie } from "vue";
1
+ import { defineComponent as I, watch as d, createElementBlock as ee, openBlock as te, normalizeClass as ae, unref as re, shallowRef as M, ref as h, onMounted as oe, onUnmounted as se, createElementVNode as ie, pushScopeId as le, popScopeId as ne } from "vue";
2
2
  import ce from "@amap/amap-jsapi-loader";
3
- import de from "axios";
4
- import { nanoid as ue } from "nanoid";
3
+ import me from "axios";
4
+ import { nanoid as de } from "nanoid";
5
5
  import { debounce as w } from "lodash";
6
- import { SHJParseEvent as y, SHJDatasourceV2 as ye } from "@zerov/core";
7
- const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ */ ge(() => /* @__PURE__ */ ne("div", {
6
+ import "../text-text-basic/index.mjs";
7
+ import "../text-table-basic/index.mjs";
8
+ import "../chart-other-gauge/index.mjs";
9
+ import "../chart-other-gauge-stage/index.mjs";
10
+ import "../chart-other-gauge-grade/index.mjs";
11
+ import "../chart-other-word-cloud/index.mjs";
12
+ import "../chart-other-liquidfill/index.mjs";
13
+ import "../chart-other-funnel/index.mjs";
14
+ import "../chart-other-force/index.mjs";
15
+ import "../chart-other-radar/index.mjs";
16
+ import "../chart-other-funnel-split/index.mjs";
17
+ import "../chart-other-funnel-contrast/index.mjs";
18
+ import "../chart-other-candlestick-basic/index.mjs";
19
+ import "../chart-other-candlestick-shanghai/index.mjs";
20
+ import "../chart-other-candlestick-demo/index.mjs";
21
+ import "../chart-other-heatmap/index.mjs";
22
+ import "../chart-other-force2/index.mjs";
23
+ import "../chart-other-graph-basic/index.mjs";
24
+ import "../chart-other-graph-basic2/index.mjs";
25
+ import "../chart-other-graph-calendar/index.mjs";
26
+ import "../chart-other-tree-line/index.mjs";
27
+ import "../chart-other-treemap-basic/index.mjs";
28
+ import "../chart-other-sunburst-basic/index.mjs";
29
+ import "../chart-other-sunburst-basic2/index.mjs";
30
+ import "../chart-other-sunburst-basic3/index.mjs";
31
+ import "../chart-other-sunburst-basic4/index.mjs";
32
+ import "../chart-other-sunburst-book/index.mjs";
33
+ import "../chart-other-sunburst-radius/index.mjs";
34
+ import "../chart-other-sunburst-flavors/index.mjs";
35
+ import "../chart-other-parallel-basic/index.mjs";
36
+ import "../chart-other-parallel-mul/index.mjs";
37
+ import "../chart-other-circular-graph/index.mjs";
38
+ import "../map-earth-basic/index.mjs";
39
+ import "../map-earth-cool-tech/index.mjs";
40
+ import "../map-earth-particle/index.mjs";
41
+ import "../map-earth-hacker/index.mjs";
42
+ import "../map-earth-fly-line/index.mjs";
43
+ import "../chart-other-grid-percentage/index.mjs";
44
+ import "../chart-other-radar-stack/index.mjs";
45
+ import "../chart-other-funnel2/index.mjs";
46
+ import "../chart-other-label-gauge/index.mjs";
47
+ import "../chart-other-theme-river/index.mjs";
48
+ import "../chart-other-tree/index.mjs";
49
+ import "../chart-other-treemap/index.mjs";
50
+ import "../commons-product-model/index.mjs";
51
+ import "../commons-vr-photo/index.mjs";
52
+ import "../commons-vr-video/index.mjs";
53
+ import "../commons-three-loader/index.mjs";
54
+ import "../commons-three-loader3/index.mjs";
55
+ import "../commons-loop-iterator/index.mjs";
56
+ import "../commons-gaussian-splatting-view/index.mjs";
57
+ import "../commons-babylon/index.mjs";
58
+ import "../commons-svg/index.mjs";
59
+ import "../commons-weather/index.mjs";
60
+ import "../commons-weather-dynamic/index.mjs";
61
+ import "../media-wavesurfer/index.mjs";
62
+ import "../interaction-tabs/index.mjs";
63
+ import "../interaction-tabs2/index.mjs";
64
+ import "../interaction-button/index.mjs";
65
+ import "../interaction-button-image/index.mjs";
66
+ import "../interaction-select/index.mjs";
67
+ import "../interaction-input/index.mjs";
68
+ import "../interaction-radio/index.mjs";
69
+ import "../interaction-slider/index.mjs";
70
+ import "../interaction-switch/index.mjs";
71
+ import "../interaction-data-picker/index.mjs";
72
+ import "../interaction-button-refresh/index.mjs";
73
+ import "../media-image/index.mjs";
74
+ import "../text-title/index.mjs";
75
+ import "../commons-qrcode/index.mjs";
76
+ import "../media-video/index.mjs";
77
+ import "../media-audio/index.mjs";
78
+ import "../text-real-time/index.mjs";
79
+ import "../media-carousel/index.mjs";
80
+ import "../media-carousel-slides/index.mjs";
81
+ import "../media-iframe-carousel/index.mjs";
82
+ import "../media-iframe/index.mjs";
83
+ import "../media-m3u8/index.mjs";
84
+ import "../media-m3u8-dynamic/index.mjs";
85
+ import "../media-audio-dynamic/index.mjs";
86
+ import "../media-video-dynamic/index.mjs";
87
+ import "../media-image-dynamic/index.mjs";
88
+ import "../media-iframe-dynamic/index.mjs";
89
+ import "../media-flv/index.mjs";
90
+ import "../commons-echarts/index.mjs";
91
+ import "../text-over-number/index.mjs";
92
+ import "../text-table-scroll/index.mjs";
93
+ import "../text-carousel/index.mjs";
94
+ import "../text-row-scroll/index.mjs";
95
+ import "../text-text-dynamic/index.mjs";
96
+ import "../text-count-down/index.mjs";
97
+ import "../graphical-circle/index.mjs";
98
+ import "../graphical-diamond/index.mjs";
99
+ import "../graphical-hexagon/index.mjs";
100
+ import "../graphical-isosceles-triangle/index.mjs";
101
+ import "../graphical-pentagon/index.mjs";
102
+ import "../graphical-rect/index.mjs";
103
+ import "../graphical-right-triangle/index.mjs";
104
+ import "../scene-map3d/index.mjs";
105
+ import "../scene-amap2d/index.mjs";
106
+ import "./index.mjs";
107
+ import "../scene-vr/index.mjs";
108
+ import "../scene-unity-iframe/index.mjs";
109
+ import "../scene-unity-webgl/index.mjs";
110
+ import "../scene-ue-iframe/index.mjs";
111
+ import "../scene-ue-shj/index.mjs";
112
+ import "../scene-default/index.mjs";
113
+ import "../interaction/tabs/index.mjs";
114
+ import "../interaction/tabs-icon/index.mjs";
115
+ import "../interaction/button/index.mjs";
116
+ import "../interaction/date-picker/src/date-picker/index.mjs";
117
+ import "../interaction/date-picker/src/date-picker-range/index.mjs";
118
+ import "../text/list/index.mjs";
119
+ import "../chart/src/bar/basic/index.mjs";
120
+ import "../chart/src/bar/animation/index.mjs";
121
+ import "../chart/src/bar/contrast/index.mjs";
122
+ import "../chart/src/bar/contrast2/index.mjs";
123
+ import "../chart/src/bar/contrast3/index.mjs";
124
+ import "../chart/src/bar/gradient-column-chart/index.mjs";
125
+ import "../chart/src/bar/horizontal/index.mjs";
126
+ import "../chart/src/bar/horizontal-stack/index.mjs";
127
+ import "../chart/src/bar/line-bar/index.mjs";
128
+ import "../chart/src/bar/line-bar2/index.mjs";
129
+ import "../chart/src/bar/loop/index.mjs";
130
+ import "../chart/src/bar/mini/index.mjs";
131
+ import "../chart/src/bar/polar/index.mjs";
132
+ import "../chart/src/bar/polar-stack/index.mjs";
133
+ import "../chart/src/bar/polar2/index.mjs";
134
+ import "../chart/src/bar/radius-circle/index.mjs";
135
+ import "../chart/src/bar/rank/index.mjs";
136
+ import "../chart/src/bar/segmented-progress/index.mjs";
137
+ import "../chart/src/bar/spire/index.mjs";
138
+ import "../chart/src/bar/stack/index.mjs";
139
+ import "../chart/src/bar/stack-line/index.mjs";
140
+ import "../chart/src/bar/stack2/index.mjs";
141
+ import "../chart/src/bar/stack3/index.mjs";
142
+ import "../chart/src/bar/staggered/index.mjs";
143
+ import "../chart/src/bar/three/index.mjs";
144
+ import "../chart/src/bar/waterfall/index.mjs";
145
+ import "../chart/src/bar/zebra/index.mjs";
146
+ import "../chart/src/line/area-gradient/index.mjs";
147
+ import "../chart/src/line/area-highlight/index.mjs";
148
+ import "../chart/src/line/area-highlight2/index.mjs";
149
+ import "../chart/src/line/basic/index.mjs";
150
+ import "../chart/src/line/bump/index.mjs";
151
+ import "../chart/src/line/dashed/index.mjs";
152
+ import "../chart/src/line/ladder/index.mjs";
153
+ import "../chart/src/line/logarithm/index.mjs";
154
+ import "../chart/src/line/multix/index.mjs";
155
+ import "../chart/src/line/polar-double/index.mjs";
156
+ import "../chart/src/line/rain-flow/index.mjs";
157
+ import "../chart/src/line/scale/index.mjs";
158
+ import "../chart/src/line/smooth/index.mjs";
159
+ import "../chart/src/line/smooth-area/index.mjs";
160
+ import "../chart/src/line/stack/index.mjs";
161
+ import "../chart/src/line/stack-area/index.mjs";
162
+ import "../chart/src/line/temp/index.mjs";
163
+ import "../chart/src/line/vertical/index.mjs";
164
+ import "../chart/src/map/basic/index.mjs";
165
+ import "../chart/src/map/bmap-basic/index.mjs";
166
+ import "../chart/src/map/bmap-heatmap/index.mjs";
167
+ import "../chart/src/map/bmap-rich/index.mjs";
168
+ import "../chart/src/map/customize/index.mjs";
169
+ import "../chart/src/map/lines/index.mjs";
170
+ import "../chart/src/map/scatter/index.mjs";
171
+ import "../chart/src/pie/3d/index.mjs";
172
+ import "../chart/src/pie/basic/index.mjs";
173
+ import "../chart/src/pie/basic2/index.mjs";
174
+ import "../chart/src/pie/customized/index.mjs";
175
+ import "../chart/src/pie/index/index.mjs";
176
+ import "../chart/src/pie/interval/index.mjs";
177
+ import "../chart/src/pie/legend-scroll/index.mjs";
178
+ import "../chart/src/pie/radius/index.mjs";
179
+ import "../chart/src/pie/rose/index.mjs";
180
+ import "../chart/src/pie/round/index.mjs";
181
+ import "../chart/src/pie/sunburst/index.mjs";
182
+ import "../chart/src/scatter/basic/index.mjs";
183
+ import "../chart/src/scatter/basic2/index.mjs";
184
+ import "../chart/src/scatter/bubble/index.mjs";
185
+ import "../chart/src/scatter/ripples/index.mjs";
186
+ /* empty css */
187
+ /* empty css */
188
+ import { SHJDatasourceV2 as pe } from "../../plugins/datasource/index.mjs";
189
+ import { SHJParseEvent as p } from "../../plugins/event/index.mjs";
190
+ const ue = (v) => (le("data-v-8fbdd15f"), v = v(), ne(), v), ye = /* @__PURE__ */ ue(() => /* @__PURE__ */ ie("div", {
8
191
  id: "zerov-amap-3d",
9
192
  class: "zerov-amap-container"
10
- }, null, -1)), fe = [
11
- me
12
- ], ve = I({ name: "zv-scene-amap3d" }), xe = /* @__PURE__ */ I({
13
- ...ve,
193
+ }, null, -1)), ge = [
194
+ ye
195
+ ], fe = I({ name: "zv-scene-amap3d" }), Zr = /* @__PURE__ */ I({
196
+ ...fe,
14
197
  props: {
15
198
  basicOption: {},
16
199
  sources: {},
@@ -27,15 +210,15 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
27
210
  "amap3d-scene-dragend",
28
211
  "amap3d-scene-pulseLinkLayer"
29
212
  ],
30
- setup(p, { expose: A, emit: B }) {
31
- const l = p, g = B;
32
- y.parseEvents(l.useEvents, "on-page-loaded", null);
213
+ setup(v, { expose: A, emit: B }) {
214
+ const o = v, u = B;
215
+ p.parseEvents(o.useEvents, "on-page-loaded", null);
33
216
  const W = () => {
34
- const n = M(), c = M(), S = h(!1), b = h(), k = h(), z = h(), d = h(), C = (a) => {
217
+ const i = M(), c = M(), S = h(!1), b = h(), k = h(), z = h(), m = h(), C = (t) => {
35
218
  E(), window._AMapSecurityConfig = {
36
- securityJsCode: a.basic.securityJsCode
219
+ securityJsCode: t.basic.securityJsCode
37
220
  }, ce.load({
38
- key: a.basic.key,
221
+ key: t.basic.key,
39
222
  // 申请好的Web端开发者Key,首次调用 load 时必填
40
223
  version: "2.0",
41
224
  // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
@@ -44,8 +227,8 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
44
227
  },
45
228
  plugins: ["AMap.ControlBar", "AMap.ToolBar", "AMap.Scale", "AMap.HeatMap", "AMap.GeoJSON", "AMap.ImageLayer", "AMap.TileLayer"]
46
229
  }).then((e) => {
47
- d.value = e;
48
- const s = new d.value.createDefaultLayer({
230
+ m.value = e;
231
+ const r = new m.value.createDefaultLayer({
49
232
  visible: !0,
50
233
  // 是否可见
51
234
  opacity: 1,
@@ -53,180 +236,180 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
53
236
  zIndex: 0
54
237
  // 叠加层级
55
238
  });
56
- n.value = new e.Map("zerov-amap-3d", {
57
- rotateEnable: a.config.rotateEnable,
239
+ i.value = new e.Map("zerov-amap-3d", {
240
+ rotateEnable: t.config.rotateEnable,
58
241
  // 是否开启地图旋转交互 鼠标右键 + 鼠标画圈移动 或 键盘Ctrl + 鼠标画圈移动
59
- pitchEnable: a.config.pitchEnable,
242
+ pitchEnable: t.config.pitchEnable,
60
243
  // 是否开启地图倾斜交互 鼠标右键 + 鼠标上下移动或键盘Ctrl + 鼠标上下移动
61
- resizeEnable: a.config.resizeEnable,
62
- zoomEnable: a.config.zoomEnable,
63
- dragEnable: a.config.dragEnable,
64
- zoom: a.config.zoom,
244
+ resizeEnable: t.config.resizeEnable,
245
+ zoomEnable: t.config.zoomEnable,
246
+ dragEnable: t.config.dragEnable,
247
+ zoom: t.config.zoom,
65
248
  // 初始化地图层级
66
249
  viewMode: "3D",
67
250
  // 开启3D视图,默认为关闭
68
- zooms: a.config.zooms,
251
+ zooms: t.config.zooms,
69
252
  // 地图显示的缩放级别范围
70
- center: a.config.center,
253
+ center: t.config.center,
71
254
  // 初始地图中心经纬度
72
- mapStyle: a.config.mapStyle,
73
- features: a.config.features,
74
- pitch: a.config.pitch,
255
+ mapStyle: t.config.mapStyle,
256
+ features: t.config.features,
257
+ pitch: t.config.pitch,
75
258
  // 0-83
76
- rotation: a.config.rotation,
259
+ rotation: t.config.rotation,
77
260
  // 0-360
78
- wallColor: a.config.floors.wallColor,
79
- roofColor: a.config.floors.roofColor,
80
- skyColor: a.config.skyColor,
81
- layers: [s]
261
+ wallColor: t.config.floors.wallColor,
262
+ roofColor: t.config.floors.roofColor,
263
+ skyColor: t.config.skyColor,
264
+ layers: [r]
82
265
  }), c.value = new window.Loca.Container({
83
- map: n.value
84
- }), z.value = new d.value.Scale({
85
- visible: a.config.plugin.scale.visible,
266
+ map: i.value
267
+ }), z.value = new m.value.Scale({
268
+ visible: t.config.plugin.scale.visible,
86
269
  position: {
87
- left: a.config.plugin.scale.position.left + "px",
88
- bottom: a.config.plugin.scale.position.bottom + "px"
270
+ left: t.config.plugin.scale.position.left + "px",
271
+ bottom: t.config.plugin.scale.position.bottom + "px"
89
272
  }
90
- }), n.value.addControl(z.value), b.value = new e.ControlBar({
91
- visible: a.config.plugin.controlBar.visible,
92
- showControlButton: a.config.plugin.controlBar.showControlButton,
273
+ }), i.value.addControl(z.value), b.value = new e.ControlBar({
274
+ visible: t.config.plugin.controlBar.visible,
275
+ showControlButton: t.config.plugin.controlBar.showControlButton,
93
276
  position: {
94
- right: a.config.plugin.controlBar.position.right + "px",
95
- top: a.config.plugin.controlBar.position.top + "px"
277
+ right: t.config.plugin.controlBar.position.right + "px",
278
+ top: t.config.plugin.controlBar.position.top + "px"
96
279
  }
97
- }), n.value.addControl(b.value), k.value = new e.ToolBar({
98
- visible: a.config.plugin.toolBar.visible,
280
+ }), i.value.addControl(b.value), k.value = new e.ToolBar({
281
+ visible: t.config.plugin.toolBar.visible,
99
282
  position: {
100
- left: a.config.plugin.toolBar.position.left + "px",
101
- top: a.config.plugin.toolBar.position.top + "px"
283
+ left: t.config.plugin.toolBar.position.left + "px",
284
+ top: t.config.plugin.toolBar.position.top + "px"
102
285
  }
103
- }), n.value.addControl(k.value), L(e), n.value.on("complete", () => {
286
+ }), i.value.addControl(k.value), L(e), i.value.on("complete", () => {
104
287
  setTimeout(() => {
105
- S.value = !0, g("amap3d-scene-success"), y.parseEvents(l.useEvents, "amap3d-scene-success", null);
288
+ S.value = !0, u("amap3d-scene-success"), p.parseEvents(o.useEvents, "amap3d-scene-success", null);
106
289
  }, 666);
107
- }), n.value.on("zoomstart", () => {
108
- g("amap3d-scene-zoomstart"), y.parseEvents(l.useEvents, "amap3d-scene-zoomstart", null);
109
- }), n.value.on("zoomend", () => {
110
- g("amap3d-scene-zoomend"), y.parseEvents(l.useEvents, "amap3d-scene-zoomend", null);
111
- }), n.value.on("click", (t) => {
112
- g("amap3d-scene-mapclick", t.lnglat), y.parseEvents(l.useEvents, "amap3d-scene-mapclick", t.lnglat);
113
- }), n.value.on("dragstart", (t) => {
114
- g("amap3d-scene-dragstart", t.lnglat), y.parseEvents(l.useEvents, "amap3d-scene-dragstart", t.lnglat);
115
- }), n.value.on("dragend", (t) => {
116
- g("amap3d-scene-dragend", t.lnglat), y.parseEvents(l.useEvents, "amap3d-scene-dragend", t.lnglat);
290
+ }), i.value.on("zoomstart", () => {
291
+ u("amap3d-scene-zoomstart"), p.parseEvents(o.useEvents, "amap3d-scene-zoomstart", null);
292
+ }), i.value.on("zoomend", () => {
293
+ u("amap3d-scene-zoomend"), p.parseEvents(o.useEvents, "amap3d-scene-zoomend", null);
294
+ }), i.value.on("click", (a) => {
295
+ u("amap3d-scene-mapclick", a.lnglat), p.parseEvents(o.useEvents, "amap3d-scene-mapclick", a.lnglat);
296
+ }), i.value.on("dragstart", (a) => {
297
+ u("amap3d-scene-dragstart", a.lnglat), p.parseEvents(o.useEvents, "amap3d-scene-dragstart", a.lnglat);
298
+ }), i.value.on("dragend", (a) => {
299
+ u("amap3d-scene-dragend", a.lnglat), p.parseEvents(o.useEvents, "amap3d-scene-dragend", a.lnglat);
117
300
  });
118
301
  }).catch((e) => {
119
302
  });
120
- }, L = w((a) => {
121
- l.sources && l.sources.length > 0 ? ye.parse({
122
- tId: l.uuid,
123
- sources: l.sources,
124
- callback: (s) => {
303
+ }, L = w((t) => {
304
+ o.sources && o.sources.length > 0 ? pe.parse({
305
+ tId: o.uuid,
306
+ sources: o.sources,
307
+ callback: (r) => {
125
308
  try {
126
- const t = l.basicOption.widgets.find((r) => r._sourceId === s.id);
127
- t && t.type === "heatmap" && G(window.Loca, t, v(s.data[0].data, "Point")), t && t.type === "dotlayers" && H(window.Loca, t, v(s.data[0].data, "Point")), t && t.type === "scatter" && Z(window.Loca, t, v(s.data[0].data, "Point")), t && t.type === "labelsLayer" && R(window.Loca, t, v(s.data[0].data, "Point")), t && t.type === "signagePoints" && j(window.Loca, t, v(s.data[0].data, "Point")), t && t.type === "pulseLinkLayer" && V(window.Loca, t, v(s.data[0].data, "LineString"));
309
+ const a = o.basicOption.widgets.find((s) => s._sourceId === r.id);
310
+ a && a.type === "heatmap" && G(window.Loca, a, f(r.data[0].data, "Point")), a && a.type === "dotlayers" && H(window.Loca, a, f(r.data[0].data, "Point")), a && a.type === "scatter" && Z(window.Loca, a, f(r.data[0].data, "Point")), a && a.type === "labelsLayer" && R(window.Loca, a, f(r.data[0].data, "Point")), a && a.type === "signagePoints" && j(window.Loca, a, f(r.data[0].data, "Point")), a && a.type === "pulseLinkLayer" && V(window.Loca, a, f(r.data[0].data, "LineString"));
128
311
  } catch {
129
312
  }
130
- l.basicOption.widgets.filter((t) => t.type === "boundary").forEach((t) => {
131
- O(a, t);
313
+ o.basicOption.widgets.filter((a) => a.type === "boundary").forEach((a) => {
314
+ O(t, a);
132
315
  });
133
316
  }
134
- }) : l.basicOption.widgets.filter((s) => s.type === "boundary").forEach((s) => {
135
- O(a, s);
317
+ }) : o.basicOption.widgets.filter((r) => r.type === "boundary").forEach((r) => {
318
+ O(t, r);
136
319
  });
137
- const e = n.value.getLayers();
138
- for (let s = 0; s < e.length; s++)
139
- (e[s].type === "sketchTileLayer" || e[s]._opts.type === "sketchImageLayer") && n.value.removeLayer(e[s]);
140
- l.basicOption.widgets.filter((s) => s.type === "sketchTile").forEach((s) => {
141
- const t = F(s);
142
- t && n.value.addLayer(t);
143
- }), l.basicOption.widgets.filter((s) => s.type === "sketchImage").forEach((s) => {
144
- const t = N(s);
145
- n.value.addLayer(t);
320
+ const e = i.value.getLayers();
321
+ for (let r = 0; r < e.length; r++)
322
+ (e[r].type === "sketchTileLayer" || e[r]._opts.type === "sketchImageLayer") && i.value.removeLayer(e[r]);
323
+ o.basicOption.widgets.filter((r) => r.type === "sketchTile").forEach((r) => {
324
+ const a = F(r);
325
+ a && i.value.addLayer(a);
326
+ }), o.basicOption.widgets.filter((r) => r.type === "sketchImage").forEach((r) => {
327
+ const a = N(r);
328
+ i.value.addLayer(a);
146
329
  });
147
- }, 200), T = (a) => {
148
- const s = a.slice(a.indexOf("(") + 1, a.lastIndexOf(")")).split(",").map((r) => r.trim()), t = {};
149
- for (let r = 1; r < s.length; r++) {
150
- const i = s[r].split(" "), o = i[0], m = parseFloat(i[1]) / 100, Y = Math.round(m * 100) / 100;
151
- t[Y] = o;
330
+ }, 200), T = (t) => {
331
+ const r = t.slice(t.indexOf("(") + 1, t.lastIndexOf(")")).split(",").map((s) => s.trim()), a = {};
332
+ for (let s = 1; s < r.length; s++) {
333
+ const n = r[s].split(" "), l = n[0], y = parseFloat(n[1]) / 100, Y = Math.round(y * 100) / 100;
334
+ a[Y] = l;
152
335
  }
153
- return t;
154
- }, F = (a) => {
336
+ return a;
337
+ }, F = (t) => {
155
338
  try {
156
- return new d.value.TileLayer({
157
- bounds: new d.value.Bounds(
158
- a.bounds[0],
159
- a.bounds[1]
339
+ return new m.value.TileLayer({
340
+ bounds: new m.value.Bounds(
341
+ t.bounds[0],
342
+ t.bounds[1]
160
343
  ),
161
- getTileUrl: function(s, t, r) {
344
+ getTileUrl: function(r, a, s) {
162
345
  try {
163
- return a.url.replace("{z}", r).replace("{x}", s).replace("{y}", t);
346
+ return t.url.replace("{z}", s).replace("{x}", r).replace("{y}", a);
164
347
  } catch {
165
348
  }
166
349
  },
167
350
  type: "sketchTileLayer",
168
- tileSize: a.tileSize,
169
- opacity: a.opacity,
170
- zIndex: a.zIndex,
171
- zooms: a.zooms
351
+ tileSize: t.tileSize,
352
+ opacity: t.opacity,
353
+ zIndex: t.zIndex,
354
+ zooms: t.zooms
172
355
  });
173
356
  } catch {
174
357
  }
175
358
  return null;
176
- }, N = (a) => {
359
+ }, N = (t) => {
177
360
  try {
178
- return new d.value.ImageLayer({
179
- bounds: new d.value.Bounds(
180
- a.bounds[0],
361
+ return new m.value.ImageLayer({
362
+ bounds: new m.value.Bounds(
363
+ t.bounds[0],
181
364
  // 左下 手绘图左下相对于地图的经纬度
182
- a.bounds[1]
365
+ t.bounds[1]
183
366
  // 右上 手绘图右上相对于地图的经纬度
184
367
  ),
185
368
  type: "sketchImageLayer",
186
- opacity: a.opacity,
187
- url: a.url,
188
- zIndex: a.zIndex,
189
- zooms: a.zooms
369
+ opacity: t.opacity,
370
+ url: t.url,
371
+ zIndex: t.zIndex,
372
+ zooms: t.zooms
190
373
  // 设置可见级别,[最小级别,最大级别]
191
374
  });
192
375
  } catch {
193
376
  }
194
377
  return null;
195
- }, G = (a, e, s) => {
378
+ }, G = (t, e, r) => {
196
379
  try {
197
- const t = new a.HeatMapLayer({
380
+ const a = new t.HeatMapLayer({
198
381
  zIndex: 10,
199
382
  opacity: e.opacity,
200
383
  visible: !0,
201
384
  zooms: [2, 22]
202
- }), r = new a.GeoJSONSource({
203
- data: s
385
+ }), s = new t.GeoJSONSource({
386
+ data: r
204
387
  });
205
- t.setSource(r, {
388
+ a.setSource(s, {
206
389
  radius: e.style.radius,
207
390
  unit: e.style.unit,
208
391
  height: e.style.height,
209
392
  opacity: e.style.opacity,
210
393
  gradient: T(e.style.gradient),
211
- value: function(i, o) {
212
- return o.coordinates[2] || 0;
394
+ value: function(n, l) {
395
+ return l.coordinates[2] || 0;
213
396
  },
214
397
  min: e.style.min,
215
398
  max: e.style.max,
216
399
  // 4.6
217
400
  heightBezier: [0, 0.53, 0.37, 0.98]
218
- }), c.value.add(t);
401
+ }), c.value.add(a);
219
402
  } catch {
220
403
  }
221
- }, O = async (a, e) => {
404
+ }, O = async (t, e) => {
222
405
  try {
223
- const s = await de.get(e.geojson);
224
- if (s.status === 200) {
225
- const t = new a.GeoJSON({
226
- geoJSON: s.data,
227
- getPolygon: function(r, i) {
228
- const o = new a.Polygon({
229
- path: i,
406
+ const r = await me.get(e.geojson);
407
+ if (r.status === 200) {
408
+ const a = new t.GeoJSON({
409
+ geoJSON: r.data,
410
+ getPolygon: function(s, n) {
411
+ const l = new t.Polygon({
412
+ path: n,
230
413
  zIndex: e.zIndex,
231
414
  fillColor: e.style.fillColor,
232
415
  // 填充色
@@ -241,8 +424,8 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
241
424
  strokeStyle: e.style.strokeStyle
242
425
  // 线条样式
243
426
  });
244
- return o.on("mouseover", () => {
245
- o.setOptions({
427
+ return l.on("mouseover", () => {
428
+ l.setOptions({
246
429
  fillOpacity: e.mouseover.fillOpacity,
247
430
  fillColor: e.mouseover.fillColor,
248
431
  strokeOpacity: e.mouseover.strokeOpacity,
@@ -250,8 +433,8 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
250
433
  strokeStyle: e.mouseover.strokeStyle,
251
434
  strokeWeight: e.mouseover.strokeWeight
252
435
  });
253
- }), o.on("mouseout", () => {
254
- o.setOptions({
436
+ }), l.on("mouseout", () => {
437
+ l.setOptions({
255
438
  fillColor: e.style.fillColor,
256
439
  // 填充色
257
440
  strokeOpacity: e.style.strokeOpacity,
@@ -265,23 +448,23 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
265
448
  strokeStyle: e.style.strokeStyle
266
449
  // 线条样式
267
450
  });
268
- }), o;
451
+ }), l;
269
452
  }
270
453
  });
271
- n.value.add(t);
454
+ i.value.add(a);
272
455
  }
273
456
  } catch {
274
457
  }
275
- }, H = (a, e, s) => {
458
+ }, H = (t, e, r) => {
276
459
  try {
277
- const t = new a.GeoJSONSource({
278
- data: s
279
- }), r = new a.PointLayer({
460
+ const a = new t.GeoJSONSource({
461
+ data: r
462
+ }), s = new t.PointLayer({
280
463
  zIndex: e.zIndex,
281
464
  blend: e.blend,
282
465
  visible: e.visible,
283
466
  opacity: e.opacity
284
- }), i = {
467
+ }), n = {
285
468
  radius: e.style.radius,
286
469
  unit: e.style.unit,
287
470
  color: e.style.color,
@@ -289,7 +472,7 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
289
472
  blurWidth: e.style.blurWidth,
290
473
  borderColor: e.style.borderColor
291
474
  };
292
- r.setSource(t), r.setStyle(i), c.value.add(r), r.addAnimate({
475
+ s.setSource(a), s.setStyle(n), c.value.add(s), s.addAnimate({
293
476
  key: e.animate.key,
294
477
  value: e.animate.value,
295
478
  duration: e.animate.duration,
@@ -302,18 +485,18 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
302
485
  });
303
486
  } catch {
304
487
  }
305
- }, Z = (a, e, s) => {
488
+ }, Z = (t, e, r) => {
306
489
  try {
307
- const t = new a.GeoJSONSource({
308
- data: s
309
- }), r = new a.ScatterLayer({
490
+ const a = new t.GeoJSONSource({
491
+ data: r
492
+ }), s = new t.ScatterLayer({
310
493
  loca: c.value,
311
494
  zIndex: e.zIndex,
312
495
  opacity: e.opacity,
313
496
  visible: e.visible,
314
497
  zooms: e.zooms
315
498
  });
316
- r.setSource(t), r.setStyle({
499
+ s.setSource(a), s.setStyle({
317
500
  unit: e.style.unit,
318
501
  size: e.style.size,
319
502
  borderWidth: e.style.borderWidth,
@@ -323,11 +506,11 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
323
506
  }), c.value.animate.start();
324
507
  } catch {
325
508
  }
326
- }, R = (a, e, s) => {
509
+ }, R = (t, e, r) => {
327
510
  try {
328
- const t = new a.GeoJSONSource({
329
- data: s
330
- }), r = new a.LabelsLayer({
511
+ const a = new t.GeoJSONSource({
512
+ data: r
513
+ }), s = new t.LabelsLayer({
331
514
  eventSupport: !0,
332
515
  visible: e.visible,
333
516
  zooms: e.zooms,
@@ -336,7 +519,7 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
336
519
  allowCollision: e.allowCollision,
337
520
  zIndex: e.zIndex
338
521
  });
339
- r.setSource(t), r.setStyle({
522
+ s.setSource(a), s.setStyle({
340
523
  icon: {
341
524
  image: e.icon.image,
342
525
  size: e.icon.size,
@@ -346,7 +529,7 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
346
529
  },
347
530
  text: {
348
531
  // 每项配置都可使用回调函数来动态配置
349
- content: (i, o) => o.properties[e.text.content],
532
+ content: (n, l) => l.properties[e.text.content],
350
533
  zooms: e.text.zooms,
351
534
  offset: e.text.offset,
352
535
  direction: e.text.direction,
@@ -363,29 +546,29 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
363
546
  fontWeight: e.text.style.fontWeight
364
547
  }
365
548
  }
366
- }), r.on("complete", () => {
367
- const i = r.getLabelsLayer().getAllOverlays();
368
- for (const o of i)
369
- o.on("click", (m) => {
370
- }), o.on("mouseover", (m) => {
371
- }), o.on("mouseout", (m) => {
549
+ }), s.on("complete", () => {
550
+ const n = s.getLabelsLayer().getAllOverlays();
551
+ for (const l of n)
552
+ l.on("click", (y) => {
553
+ }), l.on("mouseover", (y) => {
554
+ }), l.on("mouseout", (y) => {
372
555
  });
373
- }), c.value.add(r);
556
+ }), c.value.add(s);
374
557
  } catch {
375
558
  }
376
- }, j = (a, e, s) => {
559
+ }, j = (t, e, r) => {
377
560
  try {
378
- const t = new a.GeoJSONSource({
379
- data: s
380
- }), r = new a.ZMarkerLayer({
561
+ const a = new t.GeoJSONSource({
562
+ data: r
563
+ }), s = new t.ZMarkerLayer({
381
564
  zIndex: e.signs.zIndex,
382
565
  visible: e.signs.visible,
383
566
  zooms: e.signs.zooms,
384
567
  opacity: e.signs.opacity,
385
568
  depth: !1
386
569
  });
387
- r.setSource(t), r.setStyle({
388
- content: (o, m) => `<div style="
570
+ s.setSource(a), s.setStyle({
571
+ content: (l, y) => `<div style="
389
572
  width: ${e.signs.style.width}px;
390
573
  height: ${e.signs.style.height + 148}px;
391
574
  ">
@@ -401,7 +584,7 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
401
584
  color:${e.signs.style.fillColor};
402
585
  margin:0;
403
586
  ">
404
- ${m.properties.name}
587
+ ${y.properties.name}
405
588
  </p>
406
589
  </div>`,
407
590
  unit: e.signs.style.unit,
@@ -409,16 +592,16 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
409
592
  alwaysFront: e.signs.style.alwaysFront,
410
593
  size: [e.signs.style.width, e.signs.style.height + 148],
411
594
  altitude: e.signs.style.altitude
412
- }), c.value.add(r);
413
- const i = new a.ZMarkerLayer({
595
+ }), c.value.add(s);
596
+ const n = new t.ZMarkerLayer({
414
597
  zIndex: e.landmark.zIndex,
415
598
  visible: e.landmark.visible,
416
599
  zooms: e.landmark.zooms,
417
600
  opacity: e.landmark.opacity,
418
601
  depth: !1
419
602
  });
420
- i.setSource(t), i.setStyle({
421
- content: (o, m) => `<div style="
603
+ n.setSource(a), n.setStyle({
604
+ content: (l, y) => `<div style="
422
605
  width: ${e.landmark.style.size[0]}px;
423
606
  height: ${e.landmark.style.size[1]}px;
424
607
  background: url(${e.landmark.style.image});
@@ -430,7 +613,7 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
430
613
  alwaysFront: e.landmark.style.alwaysFront,
431
614
  size: e.landmark.style.size,
432
615
  altitude: e.landmark.style.altitude
433
- }), i.addAnimate({
616
+ }), n.addAnimate({
434
617
  key: "altitude",
435
618
  value: [0, 1],
436
619
  random: e.landmark.animate.random,
@@ -439,29 +622,29 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
439
622
  delay: e.landmark.animate.delay,
440
623
  yoyo: e.landmark.animate.yoyo,
441
624
  repeat: e.landmark.animate.repeat
442
- }), c.value.add(i), c.value.animate.start();
625
+ }), c.value.add(n), c.value.animate.start();
443
626
  } catch {
444
627
  }
445
- }, V = (a, e, s) => {
446
- const t = new a.PulseLinkLayer({
628
+ }, V = (t, e, r) => {
629
+ const a = new t.PulseLinkLayer({
447
630
  zIndex: e.zIndex,
448
631
  opacity: e.opacity,
449
632
  visible: e.visible,
450
633
  zooms: e.zooms,
451
634
  depth: e.depth
452
- }), r = new a.GeoJSONSource({
453
- data: s
635
+ }), s = new t.GeoJSONSource({
636
+ data: r
454
637
  });
455
- t.setSource(r), t.setStyle({
638
+ a.setSource(s), a.setStyle({
456
639
  unit: e.style.unit,
457
640
  dash: [4e4, 0, 4e4, 0],
458
641
  lineWidth: e.style.lineWidth,
459
- height: function(i, o) {
460
- return o.distance / 3 + e.style.height;
642
+ height: function(n, l) {
643
+ return l.distance / 3 + e.style.height;
461
644
  },
462
645
  // altitude: 1000,
463
646
  smoothSteps: 30,
464
- speed: function(i, o) {
647
+ speed: function(n, l) {
465
648
  return 1e5 + Math.random() * e.style.speed;
466
649
  },
467
650
  flowLength: e.style.flowLength,
@@ -470,65 +653,65 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
470
653
  // 弧顶位置比例
471
654
  headColor: e.style.headColor,
472
655
  trailColor: e.style.trailColor
473
- }), n.value.on("click", (i) => {
474
- const o = t.queryFeature(i.pixel.toArray());
475
- o && (g("amap3d-scene-pulseLinkLayer", o), y.parseEvents(l.useEvents, "amap3d-scene-pulseLinkLayer", o));
476
- }), c.value.add(t), c.value.animate.start();
477
- }, v = (a, e) => {
478
- const s = {
656
+ }), i.value.on("click", (n) => {
657
+ const l = a.queryFeature(n.pixel.toArray());
658
+ l && (u("amap3d-scene-pulseLinkLayer", l), p.parseEvents(o.useEvents, "amap3d-scene-pulseLinkLayer", l));
659
+ }), c.value.add(a), c.value.animate.start();
660
+ }, f = (t, e) => {
661
+ const r = {
479
662
  type: "FeatureCollection",
480
663
  features: []
481
664
  };
482
- return a.forEach((t, r) => {
483
- const i = {
665
+ return t.forEach((a, s) => {
666
+ const n = {
484
667
  type: "Feature",
485
- id: ue(),
668
+ id: de(),
486
669
  properties: {
487
670
  type: e === "Point" ? e : 0,
488
- ...t
671
+ ...a
489
672
  },
490
673
  geometry: {
491
674
  type: e,
492
- coordinates: t.value
675
+ coordinates: a.value
493
676
  }
494
677
  };
495
- s.features.push(i);
496
- }), s;
497
- }, U = (a) => {
498
- n.value.setFeatures(a.config.features), n.value.setPitch(a.config.pitch), n.value.setRotation(a.config.rotation), n.value.setStatus({
499
- dragEnable: a.config.dragEnable,
500
- zoomEnable: a.config.zoomEnable,
501
- rotateEnable: a.config.rotateEnable,
502
- pitchEnable: a.config.pitchEnable
503
- }), a.config.plugin.scale.visible ? z.value.show() : z.value.hide(), a.config.plugin.toolBar.visible ? k.value.show() : k.value.hide(), a.config.plugin.controlBar.visible ? b.value.show() : b.value.hide();
678
+ r.features.push(n);
679
+ }), r;
680
+ }, U = (t) => {
681
+ i.value.setFeatures(t.config.features), i.value.setPitch(t.config.pitch), i.value.setRotation(t.config.rotation), i.value.setStatus({
682
+ dragEnable: t.config.dragEnable,
683
+ zoomEnable: t.config.zoomEnable,
684
+ rotateEnable: t.config.rotateEnable,
685
+ pitchEnable: t.config.pitchEnable
686
+ }), t.config.plugin.scale.visible ? z.value.show() : z.value.hide(), t.config.plugin.toolBar.visible ? k.value.show() : k.value.hide(), t.config.plugin.controlBar.visible ? b.value.show() : b.value.hide();
504
687
  }, q = () => {
505
- n.value.clearMap(), c.value.clear(), L(d.value);
506
- }, K = (a) => {
507
- n.value.setMapStyle(a.config.mapStyle);
508
- }, Q = (a) => {
509
- n.value.setZoom(a.config.zoom, !1, 200);
510
- }, X = (a) => {
511
- n.value.setCenter(a.config.center, !1, 200);
688
+ i.value.clearMap(), c.value.clear(), L(m.value);
689
+ }, K = (t) => {
690
+ i.value.setMapStyle(t.config.mapStyle);
691
+ }, Q = (t) => {
692
+ i.value.setZoom(t.config.zoom, !1, 200);
693
+ }, X = (t) => {
694
+ i.value.setCenter(t.config.center, !1, 200);
512
695
  }, E = () => {
513
- n.value && (n.value.clearMap(), n.value.destroy(), n.value = null, c.value && (c.value.clear(), c.value.destroy(), c.value = null));
696
+ i.value && (i.value.clearMap(), i.value.destroy(), i.value = null, c.value && (c.value.clear(), c.value.destroy(), c.value = null));
514
697
  };
515
- return le(() => {
698
+ return oe(() => {
516
699
  setTimeout(() => {
517
- C(l.basicOption);
700
+ C(o.basicOption);
518
701
  }, 0);
519
- }), re(() => E()), {
702
+ }), se(() => E()), {
520
703
  initAMap3d: C,
521
704
  updateAMapStyle: K,
522
705
  updateAMapConfig: U,
523
706
  updateAMapComponents: q,
524
707
  updateAMapZoom: Q,
525
708
  updateAMapCenter: X,
526
- amap3d: n,
709
+ amap3d: i,
527
710
  loading: S,
528
- AMapPrototype: d
711
+ AMapPrototype: m
529
712
  };
530
713
  }, {
531
- initAMap3d: f,
714
+ initAMap3d: g,
532
715
  updateAMapStyle: P,
533
716
  updateAMapConfig: x,
534
717
  updateAMapComponents: _,
@@ -536,33 +719,33 @@ const ge = (p) => (oe("data-v-74479e7a"), p = p(), ie(), p), me = /* @__PURE__ *
536
719
  updateAMapCenter: J,
537
720
  loading: D
538
721
  } = W();
539
- return u(() => l.basicOption.config, () => {
540
- x(l.basicOption);
541
- }, { deep: !0 }), u(() => l.basicOption.config.zoom, () => {
542
- $(l.basicOption);
543
- }, { deep: !0 }), u(() => l.basicOption.config.center, () => {
544
- J(l.basicOption);
545
- }, { deep: !0 }), u(() => l.basicOption.config.floors, w(() => {
546
- f(l.basicOption);
547
- }, 300), { deep: !0 }), u(() => l.basicOption.config.skyColor, w(() => {
548
- f(l.basicOption);
549
- }, 300), { deep: !0 }), u(() => l.basicOption.widgets, () => {
722
+ return d(() => o.basicOption.config, () => {
723
+ x(o.basicOption);
724
+ }, { deep: !0 }), d(() => o.basicOption.config.zoom, () => {
725
+ $(o.basicOption);
726
+ }, { deep: !0 }), d(() => o.basicOption.config.center, () => {
727
+ J(o.basicOption);
728
+ }, { deep: !0 }), d(() => o.basicOption.config.floors, w(() => {
729
+ g(o.basicOption);
730
+ }, 300), { deep: !0 }), d(() => o.basicOption.config.skyColor, w(() => {
731
+ g(o.basicOption);
732
+ }, 300), { deep: !0 }), d(() => o.basicOption.widgets, () => {
550
733
  _();
551
- }, { deep: !0 }), u(() => l.basicOption.config.mapStyle, () => {
552
- P(l.basicOption);
553
- }, { deep: !0 }), u(() => l.basicOption.basic, () => {
554
- f(l.basicOption);
555
- }, { deep: !0 }), u(() => l.sources, () => {
556
- f(l.basicOption);
734
+ }, { deep: !0 }), d(() => o.basicOption.config.mapStyle, () => {
735
+ P(o.basicOption);
736
+ }, { deep: !0 }), d(() => o.basicOption.basic, () => {
737
+ g(o.basicOption);
738
+ }, { deep: !0 }), d(() => o.sources, () => {
739
+ g(o.basicOption);
557
740
  }, { deep: !0 }), A({
558
- refresh: () => f(l.basicOption),
559
- refreshView: () => x(l.basicOption),
560
- refreshData: () => f(l.basicOption)
561
- }), (n, c) => (ae(), ee("div", {
562
- class: te(["amap-3d-wrap", { show: se(D) }])
563
- }, fe, 2));
741
+ refresh: () => g(o.basicOption),
742
+ refreshView: () => x(o.basicOption),
743
+ refreshData: () => g(o.basicOption)
744
+ }), (i, c) => (te(), ee("div", {
745
+ class: ae(["amap-3d-wrap", { show: re(D) }])
746
+ }, ge, 2));
564
747
  }
565
748
  });
566
749
  export {
567
- xe as default
750
+ Zr as default
568
751
  };