@shjjs/visual-ui 1.0.0

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 (1075) hide show
  1. package/README.en.md +0 -0
  2. package/README.md +0 -0
  3. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  4. package/es/components/chart-bar-basic/index.d.ts +52 -0
  5. package/es/components/chart-bar-basic/index.mjs +7 -0
  6. package/es/components/chart-bar-basic/index.vue.d.ts +52 -0
  7. package/es/components/chart-bar-basic/index.vue.mjs +77 -0
  8. package/es/components/chart-bar-basic/index.vue2.mjs +4 -0
  9. package/es/components/chart-bar-contrast/index.d.ts +52 -0
  10. package/es/components/chart-bar-contrast/index.mjs +7 -0
  11. package/es/components/chart-bar-contrast/index.vue.d.ts +52 -0
  12. package/es/components/chart-bar-contrast/index.vue.mjs +90 -0
  13. package/es/components/chart-bar-contrast/index.vue2.mjs +4 -0
  14. package/es/components/chart-bar-gradient-column-chart/index.d.ts +51 -0
  15. package/es/components/chart-bar-gradient-column-chart/index.mjs +7 -0
  16. package/es/components/chart-bar-gradient-column-chart/index.vue.d.ts +51 -0
  17. package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +76 -0
  18. package/es/components/chart-bar-gradient-column-chart/index.vue2.mjs +4 -0
  19. package/es/components/chart-bar-horizontal/index.d.ts +51 -0
  20. package/es/components/chart-bar-horizontal/index.mjs +7 -0
  21. package/es/components/chart-bar-horizontal/index.vue.d.ts +51 -0
  22. package/es/components/chart-bar-horizontal/index.vue.mjs +76 -0
  23. package/es/components/chart-bar-horizontal/index.vue2.mjs +4 -0
  24. package/es/components/chart-bar-line-bar/index.d.ts +51 -0
  25. package/es/components/chart-bar-line-bar/index.mjs +7 -0
  26. package/es/components/chart-bar-line-bar/index.vue.d.ts +51 -0
  27. package/es/components/chart-bar-line-bar/index.vue.mjs +75 -0
  28. package/es/components/chart-bar-line-bar/index.vue2.mjs +4 -0
  29. package/es/components/chart-bar-loop/index.d.ts +51 -0
  30. package/es/components/chart-bar-loop/index.mjs +7 -0
  31. package/es/components/chart-bar-loop/index.vue.d.ts +51 -0
  32. package/es/components/chart-bar-loop/index.vue.mjs +76 -0
  33. package/es/components/chart-bar-loop/index.vue2.mjs +4 -0
  34. package/es/components/chart-bar-mini/index.d.ts +51 -0
  35. package/es/components/chart-bar-mini/index.mjs +7 -0
  36. package/es/components/chart-bar-mini/index.vue.d.ts +51 -0
  37. package/es/components/chart-bar-mini/index.vue.mjs +76 -0
  38. package/es/components/chart-bar-mini/index.vue2.mjs +4 -0
  39. package/es/components/chart-bar-rank/index.d.ts +51 -0
  40. package/es/components/chart-bar-rank/index.mjs +7 -0
  41. package/es/components/chart-bar-rank/index.vue.d.ts +51 -0
  42. package/es/components/chart-bar-rank/index.vue.mjs +76 -0
  43. package/es/components/chart-bar-rank/index.vue2.mjs +4 -0
  44. package/es/components/chart-bar-segmented-progress/index.d.ts +51 -0
  45. package/es/components/chart-bar-segmented-progress/index.mjs +7 -0
  46. package/es/components/chart-bar-segmented-progress/index.vue.d.ts +51 -0
  47. package/es/components/chart-bar-segmented-progress/index.vue.mjs +75 -0
  48. package/es/components/chart-bar-segmented-progress/index.vue2.mjs +4 -0
  49. package/es/components/chart-bar-spire/index.d.ts +51 -0
  50. package/es/components/chart-bar-spire/index.mjs +7 -0
  51. package/es/components/chart-bar-spire/index.vue.d.ts +51 -0
  52. package/es/components/chart-bar-spire/index.vue.mjs +75 -0
  53. package/es/components/chart-bar-spire/index.vue2.mjs +4 -0
  54. package/es/components/chart-bar-stack/index.d.ts +51 -0
  55. package/es/components/chart-bar-stack/index.mjs +7 -0
  56. package/es/components/chart-bar-stack/index.vue.d.ts +51 -0
  57. package/es/components/chart-bar-stack/index.vue.mjs +76 -0
  58. package/es/components/chart-bar-stack/index.vue2.mjs +4 -0
  59. package/es/components/chart-bar-stack-line/index.d.ts +51 -0
  60. package/es/components/chart-bar-stack-line/index.mjs +7 -0
  61. package/es/components/chart-bar-stack-line/index.vue.d.ts +51 -0
  62. package/es/components/chart-bar-stack-line/index.vue.mjs +75 -0
  63. package/es/components/chart-bar-stack-line/index.vue2.mjs +4 -0
  64. package/es/components/chart-bar-stack2/index.d.ts +51 -0
  65. package/es/components/chart-bar-stack2/index.mjs +7 -0
  66. package/es/components/chart-bar-stack2/index.vue.d.ts +51 -0
  67. package/es/components/chart-bar-stack2/index.vue.mjs +75 -0
  68. package/es/components/chart-bar-stack2/index.vue2.mjs +4 -0
  69. package/es/components/chart-bar-three/index.d.ts +51 -0
  70. package/es/components/chart-bar-three/index.mjs +7 -0
  71. package/es/components/chart-bar-three/index.vue.d.ts +51 -0
  72. package/es/components/chart-bar-three/index.vue.mjs +75 -0
  73. package/es/components/chart-bar-three/index.vue2.mjs +4 -0
  74. package/es/components/chart-bar-zebra/index.d.ts +51 -0
  75. package/es/components/chart-bar-zebra/index.mjs +7 -0
  76. package/es/components/chart-bar-zebra/index.vue.d.ts +51 -0
  77. package/es/components/chart-bar-zebra/index.vue.mjs +75 -0
  78. package/es/components/chart-bar-zebra/index.vue2.mjs +4 -0
  79. package/es/components/chart-line-basic/index.d.ts +51 -0
  80. package/es/components/chart-line-basic/index.mjs +7 -0
  81. package/es/components/chart-line-basic/index.vue.d.ts +51 -0
  82. package/es/components/chart-line-basic/index.vue.mjs +76 -0
  83. package/es/components/chart-line-basic/index.vue2.mjs +4 -0
  84. package/es/components/chart-line-dashed/index.d.ts +51 -0
  85. package/es/components/chart-line-dashed/index.mjs +7 -0
  86. package/es/components/chart-line-dashed/index.vue.d.ts +51 -0
  87. package/es/components/chart-line-dashed/index.vue.mjs +76 -0
  88. package/es/components/chart-line-dashed/index.vue2.mjs +4 -0
  89. package/es/components/chart-line-scale/index.d.ts +51 -0
  90. package/es/components/chart-line-scale/index.mjs +7 -0
  91. package/es/components/chart-line-scale/index.vue.d.ts +51 -0
  92. package/es/components/chart-line-scale/index.vue.mjs +76 -0
  93. package/es/components/chart-line-scale/index.vue2.mjs +4 -0
  94. package/es/components/chart-line-smooth/index.d.ts +51 -0
  95. package/es/components/chart-line-smooth/index.mjs +7 -0
  96. package/es/components/chart-line-smooth/index.vue.d.ts +51 -0
  97. package/es/components/chart-line-smooth/index.vue.mjs +76 -0
  98. package/es/components/chart-line-smooth/index.vue2.mjs +4 -0
  99. package/es/components/chart-line-smooth-area/index.d.ts +51 -0
  100. package/es/components/chart-line-smooth-area/index.mjs +7 -0
  101. package/es/components/chart-line-smooth-area/index.vue.d.ts +51 -0
  102. package/es/components/chart-line-smooth-area/index.vue.mjs +76 -0
  103. package/es/components/chart-line-smooth-area/index.vue2.mjs +4 -0
  104. package/es/components/chart-map-basic/index.d.ts +51 -0
  105. package/es/components/chart-map-basic/index.mjs +7 -0
  106. package/es/components/chart-map-basic/index.vue.d.ts +51 -0
  107. package/es/components/chart-map-basic/index.vue.mjs +76 -0
  108. package/es/components/chart-map-basic/index.vue2.mjs +4 -0
  109. package/es/components/chart-map-bmap-basic/index.d.ts +51 -0
  110. package/es/components/chart-map-bmap-basic/index.mjs +7 -0
  111. package/es/components/chart-map-bmap-basic/index.vue.d.ts +51 -0
  112. package/es/components/chart-map-bmap-basic/index.vue.mjs +76 -0
  113. package/es/components/chart-map-bmap-basic/index.vue2.mjs +4 -0
  114. package/es/components/chart-map-bmap-heatmap/index.d.ts +51 -0
  115. package/es/components/chart-map-bmap-heatmap/index.mjs +7 -0
  116. package/es/components/chart-map-bmap-heatmap/index.vue.d.ts +51 -0
  117. package/es/components/chart-map-bmap-heatmap/index.vue.mjs +76 -0
  118. package/es/components/chart-map-bmap-heatmap/index.vue2.mjs +4 -0
  119. package/es/components/chart-map-bmap-rich/index.d.ts +51 -0
  120. package/es/components/chart-map-bmap-rich/index.mjs +7 -0
  121. package/es/components/chart-map-bmap-rich/index.vue.d.ts +51 -0
  122. package/es/components/chart-map-bmap-rich/index.vue.mjs +76 -0
  123. package/es/components/chart-map-bmap-rich/index.vue2.mjs +4 -0
  124. package/es/components/chart-map-customize/index.d.ts +51 -0
  125. package/es/components/chart-map-customize/index.mjs +7 -0
  126. package/es/components/chart-map-customize/index.vue.d.ts +51 -0
  127. package/es/components/chart-map-customize/index.vue.mjs +76 -0
  128. package/es/components/chart-map-customize/index.vue2.mjs +4 -0
  129. package/es/components/chart-map-lines/index.d.ts +51 -0
  130. package/es/components/chart-map-lines/index.mjs +7 -0
  131. package/es/components/chart-map-lines/index.vue.d.ts +51 -0
  132. package/es/components/chart-map-lines/index.vue.mjs +76 -0
  133. package/es/components/chart-map-lines/index.vue2.mjs +4 -0
  134. package/es/components/chart-map-scatter/index.d.ts +51 -0
  135. package/es/components/chart-map-scatter/index.mjs +7 -0
  136. package/es/components/chart-map-scatter/index.vue.d.ts +51 -0
  137. package/es/components/chart-map-scatter/index.vue.mjs +76 -0
  138. package/es/components/chart-map-scatter/index.vue2.mjs +4 -0
  139. package/es/components/chart-other-circular-graph/index.d.ts +51 -0
  140. package/es/components/chart-other-circular-graph/index.mjs +7 -0
  141. package/es/components/chart-other-circular-graph/index.vue.d.ts +51 -0
  142. package/es/components/chart-other-circular-graph/index.vue.mjs +75 -0
  143. package/es/components/chart-other-circular-graph/index.vue2.mjs +4 -0
  144. package/es/components/chart-other-force/index.d.ts +51 -0
  145. package/es/components/chart-other-force/index.mjs +7 -0
  146. package/es/components/chart-other-force/index.vue.d.ts +51 -0
  147. package/es/components/chart-other-force/index.vue.mjs +75 -0
  148. package/es/components/chart-other-force/index.vue2.mjs +4 -0
  149. package/es/components/chart-other-funnel/index.d.ts +51 -0
  150. package/es/components/chart-other-funnel/index.mjs +7 -0
  151. package/es/components/chart-other-funnel/index.vue.d.ts +51 -0
  152. package/es/components/chart-other-funnel/index.vue.mjs +75 -0
  153. package/es/components/chart-other-funnel/index.vue2.mjs +4 -0
  154. package/es/components/chart-other-funnel2/index.d.ts +51 -0
  155. package/es/components/chart-other-funnel2/index.mjs +7 -0
  156. package/es/components/chart-other-funnel2/index.vue.d.ts +51 -0
  157. package/es/components/chart-other-funnel2/index.vue.mjs +75 -0
  158. package/es/components/chart-other-funnel2/index.vue2.mjs +4 -0
  159. package/es/components/chart-other-gauge/index.d.ts +51 -0
  160. package/es/components/chart-other-gauge/index.mjs +7 -0
  161. package/es/components/chart-other-gauge/index.vue.d.ts +51 -0
  162. package/es/components/chart-other-gauge/index.vue.mjs +75 -0
  163. package/es/components/chart-other-gauge/index.vue2.mjs +4 -0
  164. package/es/components/chart-other-grid-percentage/index.d.ts +51 -0
  165. package/es/components/chart-other-grid-percentage/index.mjs +7 -0
  166. package/es/components/chart-other-grid-percentage/index.vue.d.ts +51 -0
  167. package/es/components/chart-other-grid-percentage/index.vue.mjs +81 -0
  168. package/es/components/chart-other-grid-percentage/index.vue2.mjs +4 -0
  169. package/es/components/chart-other-label-gauge/index.d.ts +51 -0
  170. package/es/components/chart-other-label-gauge/index.mjs +7 -0
  171. package/es/components/chart-other-label-gauge/index.vue.d.ts +51 -0
  172. package/es/components/chart-other-label-gauge/index.vue.mjs +77 -0
  173. package/es/components/chart-other-label-gauge/index.vue2.mjs +4 -0
  174. package/es/components/chart-other-liquidfill/index.d.ts +51 -0
  175. package/es/components/chart-other-liquidfill/index.mjs +7 -0
  176. package/es/components/chart-other-liquidfill/index.vue.d.ts +51 -0
  177. package/es/components/chart-other-liquidfill/index.vue.mjs +74 -0
  178. package/es/components/chart-other-liquidfill/index.vue2.mjs +4 -0
  179. package/es/components/chart-other-radar/index.d.ts +51 -0
  180. package/es/components/chart-other-radar/index.mjs +7 -0
  181. package/es/components/chart-other-radar/index.vue.d.ts +51 -0
  182. package/es/components/chart-other-radar/index.vue.mjs +96 -0
  183. package/es/components/chart-other-radar/index.vue2.mjs +4 -0
  184. package/es/components/chart-other-radar-stack/index.d.ts +51 -0
  185. package/es/components/chart-other-radar-stack/index.mjs +7 -0
  186. package/es/components/chart-other-radar-stack/index.vue.d.ts +51 -0
  187. package/es/components/chart-other-radar-stack/index.vue.mjs +76 -0
  188. package/es/components/chart-other-radar-stack/index.vue2.mjs +4 -0
  189. package/es/components/chart-other-theme-river/index.d.ts +51 -0
  190. package/es/components/chart-other-theme-river/index.mjs +7 -0
  191. package/es/components/chart-other-theme-river/index.vue.d.ts +51 -0
  192. package/es/components/chart-other-theme-river/index.vue.mjs +80 -0
  193. package/es/components/chart-other-theme-river/index.vue2.mjs +4 -0
  194. package/es/components/chart-other-tree/index.d.ts +51 -0
  195. package/es/components/chart-other-tree/index.mjs +7 -0
  196. package/es/components/chart-other-tree/index.vue.d.ts +51 -0
  197. package/es/components/chart-other-tree/index.vue.mjs +74 -0
  198. package/es/components/chart-other-tree/index.vue2.mjs +4 -0
  199. package/es/components/chart-other-treemap/index.d.ts +51 -0
  200. package/es/components/chart-other-treemap/index.mjs +7 -0
  201. package/es/components/chart-other-treemap/index.vue.d.ts +51 -0
  202. package/es/components/chart-other-treemap/index.vue.mjs +74 -0
  203. package/es/components/chart-other-treemap/index.vue2.mjs +4 -0
  204. package/es/components/chart-other-word-cloud/index.d.ts +51 -0
  205. package/es/components/chart-other-word-cloud/index.mjs +7 -0
  206. package/es/components/chart-other-word-cloud/index.vue.d.ts +51 -0
  207. package/es/components/chart-other-word-cloud/index.vue.mjs +74 -0
  208. package/es/components/chart-other-word-cloud/index.vue2.mjs +4 -0
  209. package/es/components/chart-pie-basic/index.d.ts +51 -0
  210. package/es/components/chart-pie-basic/index.mjs +7 -0
  211. package/es/components/chart-pie-basic/index.vue.d.ts +51 -0
  212. package/es/components/chart-pie-basic/index.vue.mjs +75 -0
  213. package/es/components/chart-pie-basic/index.vue2.mjs +4 -0
  214. package/es/components/chart-pie-index/index.d.ts +51 -0
  215. package/es/components/chart-pie-index/index.mjs +7 -0
  216. package/es/components/chart-pie-index/index.vue.d.ts +51 -0
  217. package/es/components/chart-pie-index/index.vue.mjs +75 -0
  218. package/es/components/chart-pie-index/index.vue2.mjs +4 -0
  219. package/es/components/chart-pie-rose/index.d.ts +51 -0
  220. package/es/components/chart-pie-rose/index.mjs +7 -0
  221. package/es/components/chart-pie-rose/index.vue.d.ts +51 -0
  222. package/es/components/chart-pie-rose/index.vue.mjs +75 -0
  223. package/es/components/chart-pie-rose/index.vue2.mjs +4 -0
  224. package/es/components/chart-pie-round/index.d.ts +51 -0
  225. package/es/components/chart-pie-round/index.mjs +7 -0
  226. package/es/components/chart-pie-round/index.vue.d.ts +51 -0
  227. package/es/components/chart-pie-round/index.vue.mjs +75 -0
  228. package/es/components/chart-pie-round/index.vue2.mjs +4 -0
  229. package/es/components/chart-pie-semicircle/index.d.ts +51 -0
  230. package/es/components/chart-pie-semicircle/index.mjs +7 -0
  231. package/es/components/chart-pie-semicircle/index.vue.d.ts +51 -0
  232. package/es/components/chart-pie-semicircle/index.vue.mjs +75 -0
  233. package/es/components/chart-pie-semicircle/index.vue2.mjs +4 -0
  234. package/es/components/chart-pie-sunburst/index.d.ts +51 -0
  235. package/es/components/chart-pie-sunburst/index.mjs +7 -0
  236. package/es/components/chart-pie-sunburst/index.vue.d.ts +51 -0
  237. package/es/components/chart-pie-sunburst/index.vue.mjs +75 -0
  238. package/es/components/chart-pie-sunburst/index.vue2.mjs +4 -0
  239. package/es/components/chart-scatter-basic/index.d.ts +51 -0
  240. package/es/components/chart-scatter-basic/index.mjs +7 -0
  241. package/es/components/chart-scatter-basic/index.vue.d.ts +51 -0
  242. package/es/components/chart-scatter-basic/index.vue.mjs +76 -0
  243. package/es/components/chart-scatter-basic/index.vue2.mjs +4 -0
  244. package/es/components/chart-scatter-basic2/index.d.ts +51 -0
  245. package/es/components/chart-scatter-basic2/index.mjs +7 -0
  246. package/es/components/chart-scatter-basic2/index.vue.d.ts +51 -0
  247. package/es/components/chart-scatter-basic2/index.vue.mjs +76 -0
  248. package/es/components/chart-scatter-basic2/index.vue2.mjs +4 -0
  249. package/es/components/commons-babylon/compileAndRunBabylon.d.ts +11 -0
  250. package/es/components/commons-babylon/compileAndRunBabylon.mjs +112 -0
  251. package/es/components/commons-babylon/index.d.ts +21 -0
  252. package/es/components/commons-babylon/index.mjs +7 -0
  253. package/es/components/commons-babylon/index.vue.d.ts +21 -0
  254. package/es/components/commons-babylon/index.vue.mjs +27 -0
  255. package/es/components/commons-babylon/index.vue2.mjs +4 -0
  256. package/es/components/commons-echarts/compileAndRunEcharts.d.ts +12 -0
  257. package/es/components/commons-echarts/compileAndRunEcharts.mjs +116 -0
  258. package/es/components/commons-echarts/index.d.ts +38 -0
  259. package/es/components/commons-echarts/index.mjs +7 -0
  260. package/es/components/commons-echarts/index.vue.d.ts +38 -0
  261. package/es/components/commons-echarts/index.vue.mjs +41 -0
  262. package/es/components/commons-echarts/index.vue2.mjs +4 -0
  263. package/es/components/commons-gaussian-splatting-view/index.d.ts +92 -0
  264. package/es/components/commons-gaussian-splatting-view/index.mjs +7 -0
  265. package/es/components/commons-gaussian-splatting-view/index.vue.d.ts +93 -0
  266. package/es/components/commons-gaussian-splatting-view/index.vue.mjs +7 -0
  267. package/es/components/commons-gaussian-splatting-view/index.vue2.mjs +146 -0
  268. package/es/components/commons-product-model/index.d.ts +142 -0
  269. package/es/components/commons-product-model/index.mjs +7 -0
  270. package/es/components/commons-product-model/index.vue.d.ts +143 -0
  271. package/es/components/commons-product-model/index.vue.mjs +7 -0
  272. package/es/components/commons-product-model/index.vue2.mjs +239 -0
  273. package/es/components/commons-qrcode/index.d.ts +2 -0
  274. package/es/components/commons-qrcode/index.mjs +7 -0
  275. package/es/components/commons-qrcode/index.vue.d.ts +90 -0
  276. package/es/components/commons-qrcode/index.vue.mjs +7 -0
  277. package/es/components/commons-qrcode/index.vue2.mjs +21 -0
  278. package/es/components/commons-svg/index.d.ts +15 -0
  279. package/es/components/commons-svg/index.mjs +7 -0
  280. package/es/components/commons-svg/index.vue.d.ts +15 -0
  281. package/es/components/commons-svg/index.vue.mjs +67 -0
  282. package/es/components/commons-svg/index.vue2.mjs +4 -0
  283. package/es/components/commons-three-loader/index.d.ts +138 -0
  284. package/es/components/commons-three-loader/index.mjs +7 -0
  285. package/es/components/commons-three-loader/index.vue.d.ts +139 -0
  286. package/es/components/commons-three-loader/index.vue.mjs +7 -0
  287. package/es/components/commons-three-loader/index.vue2.mjs +221 -0
  288. package/es/components/commons-three-loader3/index.d.ts +60 -0
  289. package/es/components/commons-three-loader3/index.mjs +7 -0
  290. package/es/components/commons-three-loader3/index.vue.d.ts +61 -0
  291. package/es/components/commons-three-loader3/index.vue.mjs +7 -0
  292. package/es/components/commons-three-loader3/index.vue2.mjs +202 -0
  293. package/es/components/commons-vr-photo/index.d.ts +59 -0
  294. package/es/components/commons-vr-photo/index.mjs +7 -0
  295. package/es/components/commons-vr-photo/index.vue.d.ts +60 -0
  296. package/es/components/commons-vr-photo/index.vue.mjs +76 -0
  297. package/es/components/commons-vr-photo/index.vue2.mjs +4 -0
  298. package/es/components/commons-vr-video/index.d.ts +59 -0
  299. package/es/components/commons-vr-video/index.mjs +7 -0
  300. package/es/components/commons-vr-video/index.vue.d.ts +60 -0
  301. package/es/components/commons-vr-video/index.vue.mjs +86 -0
  302. package/es/components/commons-vr-video/index.vue2.mjs +4 -0
  303. package/es/components/commons-weather/index.d.ts +2 -0
  304. package/es/components/commons-weather/index.mjs +7 -0
  305. package/es/components/commons-weather/index.vue.d.ts +123 -0
  306. package/es/components/commons-weather/index.vue.mjs +7 -0
  307. package/es/components/commons-weather/index.vue2.mjs +110 -0
  308. package/es/components/graphical-circle/index.d.ts +12 -0
  309. package/es/components/graphical-circle/index.mjs +7 -0
  310. package/es/components/graphical-circle/index.vue.d.ts +12 -0
  311. package/es/components/graphical-circle/index.vue.mjs +7 -0
  312. package/es/components/graphical-circle/index.vue2.mjs +25 -0
  313. package/es/components/graphical-diamond/index.d.ts +12 -0
  314. package/es/components/graphical-diamond/index.mjs +7 -0
  315. package/es/components/graphical-diamond/index.vue.d.ts +12 -0
  316. package/es/components/graphical-diamond/index.vue.mjs +7 -0
  317. package/es/components/graphical-diamond/index.vue2.mjs +23 -0
  318. package/es/components/graphical-hexagon/index.d.ts +12 -0
  319. package/es/components/graphical-hexagon/index.mjs +7 -0
  320. package/es/components/graphical-hexagon/index.vue.d.ts +12 -0
  321. package/es/components/graphical-hexagon/index.vue.mjs +7 -0
  322. package/es/components/graphical-hexagon/index.vue2.mjs +23 -0
  323. package/es/components/graphical-isosceles-triangle/index.d.ts +12 -0
  324. package/es/components/graphical-isosceles-triangle/index.mjs +7 -0
  325. package/es/components/graphical-isosceles-triangle/index.vue.d.ts +12 -0
  326. package/es/components/graphical-isosceles-triangle/index.vue.mjs +7 -0
  327. package/es/components/graphical-isosceles-triangle/index.vue2.mjs +23 -0
  328. package/es/components/graphical-pentagon/index.d.ts +12 -0
  329. package/es/components/graphical-pentagon/index.mjs +7 -0
  330. package/es/components/graphical-pentagon/index.vue.d.ts +12 -0
  331. package/es/components/graphical-pentagon/index.vue.mjs +7 -0
  332. package/es/components/graphical-pentagon/index.vue2.mjs +23 -0
  333. package/es/components/graphical-rect/index.d.ts +12 -0
  334. package/es/components/graphical-rect/index.mjs +7 -0
  335. package/es/components/graphical-rect/index.vue.d.ts +12 -0
  336. package/es/components/graphical-rect/index.vue.mjs +7 -0
  337. package/es/components/graphical-rect/index.vue2.mjs +26 -0
  338. package/es/components/graphical-right-triangle/index.d.ts +12 -0
  339. package/es/components/graphical-right-triangle/index.mjs +7 -0
  340. package/es/components/graphical-right-triangle/index.vue.d.ts +12 -0
  341. package/es/components/graphical-right-triangle/index.vue.mjs +7 -0
  342. package/es/components/graphical-right-triangle/index.vue2.mjs +23 -0
  343. package/es/components/index.d.ts +115 -0
  344. package/es/components/index.mjs +220 -0
  345. package/es/components/interaction-button/index.d.ts +19 -0
  346. package/es/components/interaction-button/index.mjs +7 -0
  347. package/es/components/interaction-button/index.vue.d.ts +19 -0
  348. package/es/components/interaction-button/index.vue.mjs +7 -0
  349. package/es/components/interaction-button/index.vue2.mjs +28 -0
  350. package/es/components/interaction-button-image/index.d.ts +22 -0
  351. package/es/components/interaction-button-image/index.mjs +7 -0
  352. package/es/components/interaction-button-image/index.vue.d.ts +22 -0
  353. package/es/components/interaction-button-image/index.vue.mjs +7 -0
  354. package/es/components/interaction-button-image/index.vue2.mjs +49 -0
  355. package/es/components/interaction-button-refresh/index.d.ts +24 -0
  356. package/es/components/interaction-button-refresh/index.mjs +7 -0
  357. package/es/components/interaction-button-refresh/index.vue.d.ts +24 -0
  358. package/es/components/interaction-button-refresh/index.vue.mjs +7 -0
  359. package/es/components/interaction-button-refresh/index.vue2.mjs +53 -0
  360. package/es/components/interaction-data-picker/index.d.ts +14 -0
  361. package/es/components/interaction-data-picker/index.mjs +7 -0
  362. package/es/components/interaction-data-picker/index.vue.d.ts +14 -0
  363. package/es/components/interaction-data-picker/index.vue.mjs +13 -0
  364. package/es/components/interaction-data-picker/index.vue2.mjs +4 -0
  365. package/es/components/interaction-input/index.d.ts +54 -0
  366. package/es/components/interaction-input/index.mjs +7 -0
  367. package/es/components/interaction-input/index.vue.d.ts +54 -0
  368. package/es/components/interaction-input/index.vue.mjs +7 -0
  369. package/es/components/interaction-input/index.vue2.mjs +62 -0
  370. package/es/components/interaction-radio/index.d.ts +14 -0
  371. package/es/components/interaction-radio/index.mjs +7 -0
  372. package/es/components/interaction-radio/index.vue.d.ts +14 -0
  373. package/es/components/interaction-radio/index.vue.mjs +13 -0
  374. package/es/components/interaction-radio/index.vue2.mjs +4 -0
  375. package/es/components/interaction-select/index.d.ts +19 -0
  376. package/es/components/interaction-select/index.mjs +7 -0
  377. package/es/components/interaction-select/index.vue.d.ts +19 -0
  378. package/es/components/interaction-select/index.vue.mjs +13 -0
  379. package/es/components/interaction-select/index.vue2.mjs +4 -0
  380. package/es/components/interaction-slider/index.d.ts +28 -0
  381. package/es/components/interaction-slider/index.mjs +7 -0
  382. package/es/components/interaction-slider/index.vue.d.ts +29 -0
  383. package/es/components/interaction-slider/index.vue.mjs +7 -0
  384. package/es/components/interaction-slider/index.vue2.mjs +64 -0
  385. package/es/components/interaction-switch/index.d.ts +37 -0
  386. package/es/components/interaction-switch/index.mjs +7 -0
  387. package/es/components/interaction-switch/index.vue.d.ts +37 -0
  388. package/es/components/interaction-switch/index.vue.mjs +7 -0
  389. package/es/components/interaction-switch/index.vue2.mjs +58 -0
  390. package/es/components/interaction-tabs/index.d.ts +60 -0
  391. package/es/components/interaction-tabs/index.mjs +7 -0
  392. package/es/components/interaction-tabs/index.vue.d.ts +60 -0
  393. package/es/components/interaction-tabs/index.vue.mjs +7 -0
  394. package/es/components/interaction-tabs/index.vue2.mjs +69 -0
  395. package/es/components/interaction-tabs2/index.d.ts +60 -0
  396. package/es/components/interaction-tabs2/index.mjs +7 -0
  397. package/es/components/interaction-tabs2/index.vue.d.ts +60 -0
  398. package/es/components/interaction-tabs2/index.vue.mjs +7 -0
  399. package/es/components/interaction-tabs2/index.vue2.mjs +69 -0
  400. package/es/components/map-earth-basic/index.d.ts +941 -0
  401. package/es/components/map-earth-basic/index.mjs +7 -0
  402. package/es/components/map-earth-basic/index.vue.d.ts +945 -0
  403. package/es/components/map-earth-basic/index.vue.mjs +147 -0
  404. package/es/components/map-earth-basic/index.vue2.mjs +4 -0
  405. package/es/components/map-earth-cool-tech/index.d.ts +941 -0
  406. package/es/components/map-earth-cool-tech/index.mjs +7 -0
  407. package/es/components/map-earth-cool-tech/index.vue.d.ts +943 -0
  408. package/es/components/map-earth-cool-tech/index.vue.mjs +147 -0
  409. package/es/components/map-earth-cool-tech/index.vue2.mjs +4 -0
  410. package/es/components/map-earth-fly-line/index.d.ts +941 -0
  411. package/es/components/map-earth-fly-line/index.mjs +7 -0
  412. package/es/components/map-earth-fly-line/index.vue.d.ts +941 -0
  413. package/es/components/map-earth-fly-line/index.vue.mjs +147 -0
  414. package/es/components/map-earth-fly-line/index.vue2.mjs +4 -0
  415. package/es/components/map-earth-hacker/index.d.ts +941 -0
  416. package/es/components/map-earth-hacker/index.mjs +7 -0
  417. package/es/components/map-earth-hacker/index.vue.d.ts +945 -0
  418. package/es/components/map-earth-hacker/index.vue.mjs +147 -0
  419. package/es/components/map-earth-hacker/index.vue2.mjs +4 -0
  420. package/es/components/map-earth-particle/index.d.ts +941 -0
  421. package/es/components/map-earth-particle/index.mjs +7 -0
  422. package/es/components/map-earth-particle/index.vue.d.ts +941 -0
  423. package/es/components/map-earth-particle/index.vue.mjs +147 -0
  424. package/es/components/map-earth-particle/index.vue2.mjs +4 -0
  425. package/es/components/media-audio/index.d.ts +43 -0
  426. package/es/components/media-audio/index.mjs +7 -0
  427. package/es/components/media-audio/index.vue.d.ts +43 -0
  428. package/es/components/media-audio/index.vue.mjs +7 -0
  429. package/es/components/media-audio/index.vue2.mjs +91 -0
  430. package/es/components/media-audio-dynamic/index.d.ts +67 -0
  431. package/es/components/media-audio-dynamic/index.mjs +7 -0
  432. package/es/components/media-audio-dynamic/index.vue.d.ts +67 -0
  433. package/es/components/media-audio-dynamic/index.vue.mjs +7 -0
  434. package/es/components/media-audio-dynamic/index.vue2.mjs +111 -0
  435. package/es/components/media-carousel/index.d.ts +15 -0
  436. package/es/components/media-carousel/index.mjs +7 -0
  437. package/es/components/media-carousel/index.vue.d.ts +15 -0
  438. package/es/components/media-carousel/index.vue.mjs +7 -0
  439. package/es/components/media-carousel/index.vue2.mjs +59 -0
  440. package/es/components/media-carousel-slides/index.d.ts +15 -0
  441. package/es/components/media-carousel-slides/index.mjs +7 -0
  442. package/es/components/media-carousel-slides/index.vue.d.ts +15 -0
  443. package/es/components/media-carousel-slides/index.vue.mjs +7 -0
  444. package/es/components/media-carousel-slides/index.vue2.mjs +59 -0
  445. package/es/components/media-flv/index.d.ts +54 -0
  446. package/es/components/media-flv/index.mjs +7 -0
  447. package/es/components/media-flv/index.vue.d.ts +54 -0
  448. package/es/components/media-flv/index.vue.mjs +87 -0
  449. package/es/components/media-flv/index.vue2.mjs +4 -0
  450. package/es/components/media-iframe/index.d.ts +34 -0
  451. package/es/components/media-iframe/index.mjs +7 -0
  452. package/es/components/media-iframe/index.vue.d.ts +34 -0
  453. package/es/components/media-iframe/index.vue.mjs +7 -0
  454. package/es/components/media-iframe/index.vue2.mjs +30 -0
  455. package/es/components/media-iframe-carousel/index.d.ts +14 -0
  456. package/es/components/media-iframe-carousel/index.mjs +7 -0
  457. package/es/components/media-iframe-carousel/index.vue.d.ts +14 -0
  458. package/es/components/media-iframe-carousel/index.vue.mjs +7 -0
  459. package/es/components/media-iframe-carousel/index.vue2.mjs +50 -0
  460. package/es/components/media-image/index.d.ts +14 -0
  461. package/es/components/media-image/index.mjs +7 -0
  462. package/es/components/media-image/index.vue.d.ts +14 -0
  463. package/es/components/media-image/index.vue.mjs +7 -0
  464. package/es/components/media-image/index.vue2.mjs +26 -0
  465. package/es/components/media-image-dynamic/index.d.ts +44 -0
  466. package/es/components/media-image-dynamic/index.mjs +7 -0
  467. package/es/components/media-image-dynamic/index.vue.d.ts +44 -0
  468. package/es/components/media-image-dynamic/index.vue.mjs +7 -0
  469. package/es/components/media-image-dynamic/index.vue2.mjs +51 -0
  470. package/es/components/media-m3u8/index.d.ts +54 -0
  471. package/es/components/media-m3u8/index.mjs +7 -0
  472. package/es/components/media-m3u8/index.vue.d.ts +54 -0
  473. package/es/components/media-m3u8/index.vue.mjs +85 -0
  474. package/es/components/media-m3u8/index.vue2.mjs +4 -0
  475. package/es/components/media-video/index.d.ts +50 -0
  476. package/es/components/media-video/index.mjs +7 -0
  477. package/es/components/media-video/index.vue.d.ts +50 -0
  478. package/es/components/media-video/index.vue.mjs +7 -0
  479. package/es/components/media-video/index.vue2.mjs +71 -0
  480. package/es/components/media-video-dynamic/index.d.ts +65 -0
  481. package/es/components/media-video-dynamic/index.mjs +7 -0
  482. package/es/components/media-video-dynamic/index.vue.d.ts +65 -0
  483. package/es/components/media-video-dynamic/index.vue.mjs +7 -0
  484. package/es/components/media-video-dynamic/index.vue2.mjs +95 -0
  485. package/es/components/media-wavesurfer/index.d.ts +26 -0
  486. package/es/components/media-wavesurfer/index.mjs +7 -0
  487. package/es/components/media-wavesurfer/index.vue.d.ts +26 -0
  488. package/es/components/media-wavesurfer/index.vue.mjs +7 -0
  489. package/es/components/media-wavesurfer/index.vue2.mjs +57 -0
  490. package/es/components/scene-amap2d/index.d.ts +66 -0
  491. package/es/components/scene-amap2d/index.mjs +7 -0
  492. package/es/components/scene-amap2d/index.vue.d.ts +66 -0
  493. package/es/components/scene-amap2d/index.vue.mjs +7 -0
  494. package/es/components/scene-amap2d/index.vue2.mjs +374 -0
  495. package/es/components/scene-amap3d/index.d.ts +67 -0
  496. package/es/components/scene-amap3d/index.mjs +7 -0
  497. package/es/components/scene-amap3d/index.vue.d.ts +67 -0
  498. package/es/components/scene-amap3d/index.vue.mjs +7 -0
  499. package/es/components/scene-amap3d/index.vue2.mjs +492 -0
  500. package/es/components/scene-map3d/index.d.ts +84 -0
  501. package/es/components/scene-map3d/index.mjs +7 -0
  502. package/es/components/scene-map3d/index.vue.d.ts +85 -0
  503. package/es/components/scene-map3d/index.vue.mjs +8 -0
  504. package/es/components/scene-map3d/index.vue2.mjs +282 -0
  505. package/es/components/scene-map3d/map3d/map/DiffuseShader.d.ts +28 -0
  506. package/es/components/scene-map3d/map3d/map/DiffuseShader.mjs +143 -0
  507. package/es/components/scene-map3d/map3d/map/Reflector.d.ts +10 -0
  508. package/es/components/scene-map3d/map3d/map/Reflector.mjs +135 -0
  509. package/es/components/scene-map3d/map3d/map/assets/texture/bg.png.mjs +4 -0
  510. package/es/components/scene-map3d/map3d/map/assets/texture/flyLine2.png.mjs +4 -0
  511. package/es/components/scene-map3d/map3d/map/assets/texture/gaoguang1.png.mjs +4 -0
  512. package/es/components/scene-map3d/map3d/map/assets/texture/guangquan01.png.mjs +4 -0
  513. package/es/components/scene-map3d/map3d/map/assets/texture/guangquan02.png.mjs +4 -0
  514. package/es/components/scene-map3d/map3d/map/assets/texture/huiguang.png.mjs +4 -0
  515. package/es/components/scene-map3d/map3d/map/assets.d.ts +8 -0
  516. package/es/components/scene-map3d/map3d/map/assets.mjs +52 -0
  517. package/es/components/scene-map3d/map3d/map/extrudeMap.d.ts +19 -0
  518. package/es/components/scene-map3d/map3d/map/extrudeMap.mjs +118 -0
  519. package/es/components/scene-map3d/map3d/map/utils.d.ts +17 -0
  520. package/es/components/scene-map3d/map3d/map/utils.mjs +76 -0
  521. package/es/components/scene-map3d/map3d/map.d.ts +152 -0
  522. package/es/components/scene-map3d/map3d/map.mjs +853 -0
  523. package/es/components/scene-map3d/map3d/module/Environment.d.ts +5 -0
  524. package/es/components/scene-map3d/map3d/module/Environment.mjs +65 -0
  525. package/es/components/scene-map3d/map3d/module/FloorGaoGuang.d.ts +1 -0
  526. package/es/components/scene-map3d/map3d/module/FloorGaoGuang.mjs +17 -0
  527. package/es/components/scene-map3d/map3d/module/FloorGridRipple.d.ts +1 -0
  528. package/es/components/scene-map3d/map3d/module/FloorGridRipple.mjs +36 -0
  529. package/es/components/scene-map3d/map3d/module/FloorRotateBorder.d.ts +1 -0
  530. package/es/components/scene-map3d/map3d/module/FloorRotateBorder.mjs +50 -0
  531. package/es/components/scene-map3d/map3d/module/MapMirror.d.ts +1 -0
  532. package/es/components/scene-map3d/map3d/module/MapMirror.mjs +81 -0
  533. package/es/components/scene-map3d/map3d/module/Particles.d.ts +1 -0
  534. package/es/components/scene-map3d/map3d/module/Particles.mjs +36 -0
  535. package/es/components/scene-map3d/map3d/module/Timeline.d.ts +1 -0
  536. package/es/components/scene-map3d/map3d/module/Timeline.mjs +83 -0
  537. package/es/components/scene-map3d/watch.d.ts +1 -0
  538. package/es/components/scene-map3d/watch.mjs +344 -0
  539. package/es/components/text-carousel/index.d.ts +25 -0
  540. package/es/components/text-carousel/index.mjs +7 -0
  541. package/es/components/text-carousel/index.vue.d.ts +25 -0
  542. package/es/components/text-carousel/index.vue.mjs +7 -0
  543. package/es/components/text-carousel/index.vue2.mjs +38 -0
  544. package/es/components/text-count-down/index.d.ts +2 -0
  545. package/es/components/text-count-down/index.mjs +7 -0
  546. package/es/components/text-count-down/index.vue.d.ts +43 -0
  547. package/es/components/text-count-down/index.vue.mjs +7 -0
  548. package/es/components/text-count-down/index.vue2.mjs +94 -0
  549. package/es/components/text-over-number/index.d.ts +2 -0
  550. package/es/components/text-over-number/index.mjs +7 -0
  551. package/es/components/text-over-number/index.vue.d.ts +255 -0
  552. package/es/components/text-over-number/index.vue.mjs +7 -0
  553. package/es/components/text-over-number/index.vue2.mjs +101 -0
  554. package/es/components/text-real-time/index.d.ts +2 -0
  555. package/es/components/text-real-time/index.mjs +7 -0
  556. package/es/components/text-real-time/index.vue.d.ts +41 -0
  557. package/es/components/text-real-time/index.vue.mjs +7 -0
  558. package/es/components/text-real-time/index.vue2.mjs +55 -0
  559. package/es/components/text-row-scroll/index.d.ts +58 -0
  560. package/es/components/text-row-scroll/index.mjs +7 -0
  561. package/es/components/text-row-scroll/index.vue.d.ts +58 -0
  562. package/es/components/text-row-scroll/index.vue.mjs +7 -0
  563. package/es/components/text-row-scroll/index.vue2.mjs +167 -0
  564. package/es/components/text-table-basic/index.d.ts +56 -0
  565. package/es/components/text-table-basic/index.mjs +7 -0
  566. package/es/components/text-table-basic/index.vue.d.ts +56 -0
  567. package/es/components/text-table-basic/index.vue.mjs +7 -0
  568. package/es/components/text-table-basic/index.vue2.mjs +152 -0
  569. package/es/components/text-table-scroll/index.d.ts +58 -0
  570. package/es/components/text-table-scroll/index.mjs +7 -0
  571. package/es/components/text-table-scroll/index.vue.d.ts +58 -0
  572. package/es/components/text-table-scroll/index.vue.mjs +7 -0
  573. package/es/components/text-table-scroll/index.vue2.mjs +167 -0
  574. package/es/components/text-text-basic/index.d.ts +17 -0
  575. package/es/components/text-text-basic/index.mjs +7 -0
  576. package/es/components/text-text-basic/index.vue.d.ts +17 -0
  577. package/es/components/text-text-basic/index.vue.mjs +7 -0
  578. package/es/components/text-text-basic/index.vue2.mjs +30 -0
  579. package/es/components/text-text-dynamic/index.d.ts +46 -0
  580. package/es/components/text-text-dynamic/index.mjs +7 -0
  581. package/es/components/text-text-dynamic/index.vue.d.ts +46 -0
  582. package/es/components/text-text-dynamic/index.vue.mjs +7 -0
  583. package/es/components/text-text-dynamic/index.vue2.mjs +57 -0
  584. package/es/components/text-title/index.d.ts +25 -0
  585. package/es/components/text-title/index.mjs +7 -0
  586. package/es/components/text-title/index.vue.d.ts +25 -0
  587. package/es/components/text-title/index.vue.mjs +7 -0
  588. package/es/components/text-title/index.vue2.mjs +36 -0
  589. package/es/core/earth/base64/Aperture.d.ts +1 -0
  590. package/es/core/earth/base64/Aperture.mjs +4 -0
  591. package/es/core/earth/base64/Callout.d.ts +1 -0
  592. package/es/core/earth/base64/Callout.mjs +4 -0
  593. package/es/core/earth/base64/CalloutAperture.d.ts +1 -0
  594. package/es/core/earth/base64/CalloutAperture.mjs +4 -0
  595. package/es/core/earth/base64/CloudCover.d.ts +1 -0
  596. package/es/core/earth/base64/CloudCover.mjs +4 -0
  597. package/es/core/earth/base64/LightColumn.d.ts +1 -0
  598. package/es/core/earth/base64/LightColumn.mjs +4 -0
  599. package/es/core/earth/base64/StarrySky.d.ts +1 -0
  600. package/es/core/earth/base64/StarrySky.mjs +4 -0
  601. package/es/core/earth/base64/rotation/innner.d.ts +1 -0
  602. package/es/core/earth/base64/rotation/innner.mjs +4 -0
  603. package/es/core/earth/base64/rotation/out.d.ts +1 -0
  604. package/es/core/earth/base64/rotation/out.mjs +4 -0
  605. package/es/core/earth/border.vue.d.ts +70 -0
  606. package/es/core/earth/border.vue.mjs +19 -0
  607. package/es/core/earth/border.vue2.mjs +4 -0
  608. package/es/core/earth/geojson/china-border.d.ts +22 -0
  609. package/es/core/earth/geojson/china-border.mjs +29305 -0
  610. package/es/core/earth/geojson/china.d.ts +84 -0
  611. package/es/core/earth/geojson/china.mjs +103022 -0
  612. package/es/core/earth/geojson/world.d.ts +25 -0
  613. package/es/core/earth/geojson/world.mjs +43220 -0
  614. package/es/core/earth/interface.d.ts +190 -0
  615. package/es/core/earth/main.d.ts +94 -0
  616. package/es/core/earth/main.mjs +504 -0
  617. package/es/core/earth/main.vue.d.ts +827 -0
  618. package/es/core/earth/main.vue.mjs +7 -0
  619. package/es/core/earth/main.vue2.mjs +290 -0
  620. package/es/core/earth/types.d.ts +108 -0
  621. package/es/core/earth/utils/GradientLine.d.ts +17 -0
  622. package/es/core/earth/utils/GradientLine.mjs +78 -0
  623. package/es/core/earth/utils/composer.d.ts +38 -0
  624. package/es/core/earth/utils/composer.mjs +40 -0
  625. package/es/core/earth/utils/controls/obt.d.ts +9 -0
  626. package/es/core/earth/utils/controls/obt.mjs +19 -0
  627. package/es/core/earth/utils/interface.d.ts +134 -0
  628. package/es/core/earth/utils/label.d.ts +4 -0
  629. package/es/core/earth/utils/label.mjs +15 -0
  630. package/es/core/earth/utils/line2.d.ts +3 -0
  631. package/es/core/earth/utils/line2.mjs +21 -0
  632. package/es/core/earth/utils/scene.d.ts +28 -0
  633. package/es/core/earth/utils/scene.mjs +120 -0
  634. package/es/core/useChart.d.ts +15 -0
  635. package/es/core/useChart.mjs +111 -0
  636. package/es/env.d.ts +55 -0
  637. package/es/index.d.ts +7 -0
  638. package/es/index.mjs +231 -0
  639. package/es/style.css +1 -0
  640. package/es/utils/babylon/ColorConvert.d.ts +3 -0
  641. package/es/utils/babylon/ColorConvert.mjs +21 -0
  642. package/es/utils/cloneSeries.d.ts +7 -0
  643. package/es/utils/cloneSeries.mjs +12 -0
  644. package/es/utils/hoverLoop.d.ts +10 -0
  645. package/es/utils/hoverLoop.mjs +43 -0
  646. package/es/utils/imgPreloader.d.ts +1 -0
  647. package/es/utils/imgPreloader.mjs +16 -0
  648. package/es/utils/install.d.ts +2 -0
  649. package/es/utils/install.mjs +7 -0
  650. package/es/utils/json2css.d.ts +3 -0
  651. package/es/utils/json2css.mjs +31 -0
  652. package/es/utils/mini3d/components/FlyLine.mjs +65 -0
  653. package/es/utils/mini3d/components/Label3d.mjs +70 -0
  654. package/es/utils/mini3d/components/Particles.mjs +78 -0
  655. package/es/utils/mini3d/components/PathLine.mjs +60 -0
  656. package/es/utils/mini3d/components/Plane.mjs +34 -0
  657. package/es/utils/mini3d/components/ToastLoading.mjs +26 -0
  658. package/es/utils/mini3d/core/Camera.mjs +26 -0
  659. package/es/utils/mini3d/core/Renderer.mjs +25 -0
  660. package/es/utils/mini3d/core/index.d.ts +7 -0
  661. package/es/utils/mini3d/core/index.mjs +71 -0
  662. package/es/utils/mini3d/utils/CreateHistory.mjs +32 -0
  663. package/es/utils/mini3d/utils/EventEmitter.mjs +28 -0
  664. package/es/utils/mini3d/utils/Resource.mjs +113 -0
  665. package/es/utils/mini3d/utils/Sizes.mjs +17 -0
  666. package/es/utils/mini3d/utils/Time.mjs +25 -0
  667. package/es/utils/mini3d/utils/utils.mjs +45 -0
  668. package/es/utils/parseDataset.d.ts +4 -0
  669. package/es/utils/parseDataset.mjs +19 -0
  670. package/es/utils/parseOtherData.d.ts +1 -0
  671. package/es/utils/parseOtherData.mjs +10 -0
  672. package/es/utils/shj/component-refs.d.ts +6 -0
  673. package/es/utils/shj/component-refs.mjs +10 -0
  674. package/es/utils/typescript.d.ts +5 -0
  675. package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
  676. package/lib/components/chart-bar-basic/index.js +1 -0
  677. package/lib/components/chart-bar-basic/index.vue.js +1 -0
  678. package/lib/components/chart-bar-basic/index.vue2.js +1 -0
  679. package/lib/components/chart-bar-contrast/index.js +1 -0
  680. package/lib/components/chart-bar-contrast/index.vue.js +1 -0
  681. package/lib/components/chart-bar-contrast/index.vue2.js +1 -0
  682. package/lib/components/chart-bar-gradient-column-chart/index.js +1 -0
  683. package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -0
  684. package/lib/components/chart-bar-gradient-column-chart/index.vue2.js +1 -0
  685. package/lib/components/chart-bar-horizontal/index.js +1 -0
  686. package/lib/components/chart-bar-horizontal/index.vue.js +1 -0
  687. package/lib/components/chart-bar-horizontal/index.vue2.js +1 -0
  688. package/lib/components/chart-bar-line-bar/index.js +1 -0
  689. package/lib/components/chart-bar-line-bar/index.vue.js +1 -0
  690. package/lib/components/chart-bar-line-bar/index.vue2.js +1 -0
  691. package/lib/components/chart-bar-loop/index.js +1 -0
  692. package/lib/components/chart-bar-loop/index.vue.js +1 -0
  693. package/lib/components/chart-bar-loop/index.vue2.js +1 -0
  694. package/lib/components/chart-bar-mini/index.js +1 -0
  695. package/lib/components/chart-bar-mini/index.vue.js +1 -0
  696. package/lib/components/chart-bar-mini/index.vue2.js +1 -0
  697. package/lib/components/chart-bar-rank/index.js +1 -0
  698. package/lib/components/chart-bar-rank/index.vue.js +1 -0
  699. package/lib/components/chart-bar-rank/index.vue2.js +1 -0
  700. package/lib/components/chart-bar-segmented-progress/index.js +1 -0
  701. package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -0
  702. package/lib/components/chart-bar-segmented-progress/index.vue2.js +1 -0
  703. package/lib/components/chart-bar-spire/index.js +1 -0
  704. package/lib/components/chart-bar-spire/index.vue.js +1 -0
  705. package/lib/components/chart-bar-spire/index.vue2.js +1 -0
  706. package/lib/components/chart-bar-stack/index.js +1 -0
  707. package/lib/components/chart-bar-stack/index.vue.js +1 -0
  708. package/lib/components/chart-bar-stack/index.vue2.js +1 -0
  709. package/lib/components/chart-bar-stack-line/index.js +1 -0
  710. package/lib/components/chart-bar-stack-line/index.vue.js +1 -0
  711. package/lib/components/chart-bar-stack-line/index.vue2.js +1 -0
  712. package/lib/components/chart-bar-stack2/index.js +1 -0
  713. package/lib/components/chart-bar-stack2/index.vue.js +1 -0
  714. package/lib/components/chart-bar-stack2/index.vue2.js +1 -0
  715. package/lib/components/chart-bar-three/index.js +1 -0
  716. package/lib/components/chart-bar-three/index.vue.js +1 -0
  717. package/lib/components/chart-bar-three/index.vue2.js +1 -0
  718. package/lib/components/chart-bar-zebra/index.js +1 -0
  719. package/lib/components/chart-bar-zebra/index.vue.js +1 -0
  720. package/lib/components/chart-bar-zebra/index.vue2.js +1 -0
  721. package/lib/components/chart-line-basic/index.js +1 -0
  722. package/lib/components/chart-line-basic/index.vue.js +1 -0
  723. package/lib/components/chart-line-basic/index.vue2.js +1 -0
  724. package/lib/components/chart-line-dashed/index.js +1 -0
  725. package/lib/components/chart-line-dashed/index.vue.js +1 -0
  726. package/lib/components/chart-line-dashed/index.vue2.js +1 -0
  727. package/lib/components/chart-line-scale/index.js +1 -0
  728. package/lib/components/chart-line-scale/index.vue.js +1 -0
  729. package/lib/components/chart-line-scale/index.vue2.js +1 -0
  730. package/lib/components/chart-line-smooth/index.js +1 -0
  731. package/lib/components/chart-line-smooth/index.vue.js +1 -0
  732. package/lib/components/chart-line-smooth/index.vue2.js +1 -0
  733. package/lib/components/chart-line-smooth-area/index.js +1 -0
  734. package/lib/components/chart-line-smooth-area/index.vue.js +1 -0
  735. package/lib/components/chart-line-smooth-area/index.vue2.js +1 -0
  736. package/lib/components/chart-map-basic/index.js +1 -0
  737. package/lib/components/chart-map-basic/index.vue.js +1 -0
  738. package/lib/components/chart-map-basic/index.vue2.js +1 -0
  739. package/lib/components/chart-map-bmap-basic/index.js +1 -0
  740. package/lib/components/chart-map-bmap-basic/index.vue.js +1 -0
  741. package/lib/components/chart-map-bmap-basic/index.vue2.js +1 -0
  742. package/lib/components/chart-map-bmap-heatmap/index.js +1 -0
  743. package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -0
  744. package/lib/components/chart-map-bmap-heatmap/index.vue2.js +1 -0
  745. package/lib/components/chart-map-bmap-rich/index.js +1 -0
  746. package/lib/components/chart-map-bmap-rich/index.vue.js +1 -0
  747. package/lib/components/chart-map-bmap-rich/index.vue2.js +1 -0
  748. package/lib/components/chart-map-customize/index.js +1 -0
  749. package/lib/components/chart-map-customize/index.vue.js +1 -0
  750. package/lib/components/chart-map-customize/index.vue2.js +1 -0
  751. package/lib/components/chart-map-lines/index.js +1 -0
  752. package/lib/components/chart-map-lines/index.vue.js +1 -0
  753. package/lib/components/chart-map-lines/index.vue2.js +1 -0
  754. package/lib/components/chart-map-scatter/index.js +1 -0
  755. package/lib/components/chart-map-scatter/index.vue.js +1 -0
  756. package/lib/components/chart-map-scatter/index.vue2.js +1 -0
  757. package/lib/components/chart-other-circular-graph/index.js +1 -0
  758. package/lib/components/chart-other-circular-graph/index.vue.js +1 -0
  759. package/lib/components/chart-other-circular-graph/index.vue2.js +1 -0
  760. package/lib/components/chart-other-force/index.js +1 -0
  761. package/lib/components/chart-other-force/index.vue.js +1 -0
  762. package/lib/components/chart-other-force/index.vue2.js +1 -0
  763. package/lib/components/chart-other-funnel/index.js +1 -0
  764. package/lib/components/chart-other-funnel/index.vue.js +1 -0
  765. package/lib/components/chart-other-funnel/index.vue2.js +1 -0
  766. package/lib/components/chart-other-funnel2/index.js +1 -0
  767. package/lib/components/chart-other-funnel2/index.vue.js +1 -0
  768. package/lib/components/chart-other-funnel2/index.vue2.js +1 -0
  769. package/lib/components/chart-other-gauge/index.js +1 -0
  770. package/lib/components/chart-other-gauge/index.vue.js +1 -0
  771. package/lib/components/chart-other-gauge/index.vue2.js +1 -0
  772. package/lib/components/chart-other-grid-percentage/index.js +1 -0
  773. package/lib/components/chart-other-grid-percentage/index.vue.js +1 -0
  774. package/lib/components/chart-other-grid-percentage/index.vue2.js +1 -0
  775. package/lib/components/chart-other-label-gauge/index.js +1 -0
  776. package/lib/components/chart-other-label-gauge/index.vue.js +1 -0
  777. package/lib/components/chart-other-label-gauge/index.vue2.js +1 -0
  778. package/lib/components/chart-other-liquidfill/index.js +1 -0
  779. package/lib/components/chart-other-liquidfill/index.vue.js +1 -0
  780. package/lib/components/chart-other-liquidfill/index.vue2.js +1 -0
  781. package/lib/components/chart-other-radar/index.js +1 -0
  782. package/lib/components/chart-other-radar/index.vue.js +1 -0
  783. package/lib/components/chart-other-radar/index.vue2.js +1 -0
  784. package/lib/components/chart-other-radar-stack/index.js +1 -0
  785. package/lib/components/chart-other-radar-stack/index.vue.js +1 -0
  786. package/lib/components/chart-other-radar-stack/index.vue2.js +1 -0
  787. package/lib/components/chart-other-theme-river/index.js +1 -0
  788. package/lib/components/chart-other-theme-river/index.vue.js +1 -0
  789. package/lib/components/chart-other-theme-river/index.vue2.js +1 -0
  790. package/lib/components/chart-other-tree/index.js +1 -0
  791. package/lib/components/chart-other-tree/index.vue.js +1 -0
  792. package/lib/components/chart-other-tree/index.vue2.js +1 -0
  793. package/lib/components/chart-other-treemap/index.js +1 -0
  794. package/lib/components/chart-other-treemap/index.vue.js +1 -0
  795. package/lib/components/chart-other-treemap/index.vue2.js +1 -0
  796. package/lib/components/chart-other-word-cloud/index.js +1 -0
  797. package/lib/components/chart-other-word-cloud/index.vue.js +1 -0
  798. package/lib/components/chart-other-word-cloud/index.vue2.js +1 -0
  799. package/lib/components/chart-pie-basic/index.js +1 -0
  800. package/lib/components/chart-pie-basic/index.vue.js +1 -0
  801. package/lib/components/chart-pie-basic/index.vue2.js +1 -0
  802. package/lib/components/chart-pie-index/index.js +1 -0
  803. package/lib/components/chart-pie-index/index.vue.js +1 -0
  804. package/lib/components/chart-pie-index/index.vue2.js +1 -0
  805. package/lib/components/chart-pie-rose/index.js +1 -0
  806. package/lib/components/chart-pie-rose/index.vue.js +1 -0
  807. package/lib/components/chart-pie-rose/index.vue2.js +1 -0
  808. package/lib/components/chart-pie-round/index.js +1 -0
  809. package/lib/components/chart-pie-round/index.vue.js +1 -0
  810. package/lib/components/chart-pie-round/index.vue2.js +1 -0
  811. package/lib/components/chart-pie-semicircle/index.js +1 -0
  812. package/lib/components/chart-pie-semicircle/index.vue.js +1 -0
  813. package/lib/components/chart-pie-semicircle/index.vue2.js +1 -0
  814. package/lib/components/chart-pie-sunburst/index.js +1 -0
  815. package/lib/components/chart-pie-sunburst/index.vue.js +1 -0
  816. package/lib/components/chart-pie-sunburst/index.vue2.js +1 -0
  817. package/lib/components/chart-scatter-basic/index.js +1 -0
  818. package/lib/components/chart-scatter-basic/index.vue.js +1 -0
  819. package/lib/components/chart-scatter-basic/index.vue2.js +1 -0
  820. package/lib/components/chart-scatter-basic2/index.js +1 -0
  821. package/lib/components/chart-scatter-basic2/index.vue.js +1 -0
  822. package/lib/components/chart-scatter-basic2/index.vue2.js +1 -0
  823. package/lib/components/commons-babylon/compileAndRunBabylon.js +40 -0
  824. package/lib/components/commons-babylon/index.js +1 -0
  825. package/lib/components/commons-babylon/index.vue.js +1 -0
  826. package/lib/components/commons-babylon/index.vue2.js +1 -0
  827. package/lib/components/commons-echarts/compileAndRunEcharts.js +33 -0
  828. package/lib/components/commons-echarts/index.js +1 -0
  829. package/lib/components/commons-echarts/index.vue.js +1 -0
  830. package/lib/components/commons-echarts/index.vue2.js +1 -0
  831. package/lib/components/commons-gaussian-splatting-view/index.js +1 -0
  832. package/lib/components/commons-gaussian-splatting-view/index.vue.js +1 -0
  833. package/lib/components/commons-gaussian-splatting-view/index.vue2.js +1 -0
  834. package/lib/components/commons-product-model/index.js +1 -0
  835. package/lib/components/commons-product-model/index.vue.js +1 -0
  836. package/lib/components/commons-product-model/index.vue2.js +1 -0
  837. package/lib/components/commons-qrcode/index.js +1 -0
  838. package/lib/components/commons-qrcode/index.vue.js +1 -0
  839. package/lib/components/commons-qrcode/index.vue2.js +1 -0
  840. package/lib/components/commons-svg/index.js +1 -0
  841. package/lib/components/commons-svg/index.vue.js +1 -0
  842. package/lib/components/commons-svg/index.vue2.js +1 -0
  843. package/lib/components/commons-three-loader/index.js +1 -0
  844. package/lib/components/commons-three-loader/index.vue.js +1 -0
  845. package/lib/components/commons-three-loader/index.vue2.js +1 -0
  846. package/lib/components/commons-three-loader3/index.js +1 -0
  847. package/lib/components/commons-three-loader3/index.vue.js +1 -0
  848. package/lib/components/commons-three-loader3/index.vue2.js +1 -0
  849. package/lib/components/commons-vr-photo/index.js +1 -0
  850. package/lib/components/commons-vr-photo/index.vue.js +1 -0
  851. package/lib/components/commons-vr-photo/index.vue2.js +1 -0
  852. package/lib/components/commons-vr-video/index.js +1 -0
  853. package/lib/components/commons-vr-video/index.vue.js +1 -0
  854. package/lib/components/commons-vr-video/index.vue2.js +1 -0
  855. package/lib/components/commons-weather/index.js +1 -0
  856. package/lib/components/commons-weather/index.vue.js +1 -0
  857. package/lib/components/commons-weather/index.vue2.js +1 -0
  858. package/lib/components/graphical-circle/index.js +1 -0
  859. package/lib/components/graphical-circle/index.vue.js +1 -0
  860. package/lib/components/graphical-circle/index.vue2.js +1 -0
  861. package/lib/components/graphical-diamond/index.js +1 -0
  862. package/lib/components/graphical-diamond/index.vue.js +1 -0
  863. package/lib/components/graphical-diamond/index.vue2.js +1 -0
  864. package/lib/components/graphical-hexagon/index.js +1 -0
  865. package/lib/components/graphical-hexagon/index.vue.js +1 -0
  866. package/lib/components/graphical-hexagon/index.vue2.js +1 -0
  867. package/lib/components/graphical-isosceles-triangle/index.js +1 -0
  868. package/lib/components/graphical-isosceles-triangle/index.vue.js +1 -0
  869. package/lib/components/graphical-isosceles-triangle/index.vue2.js +1 -0
  870. package/lib/components/graphical-pentagon/index.js +1 -0
  871. package/lib/components/graphical-pentagon/index.vue.js +1 -0
  872. package/lib/components/graphical-pentagon/index.vue2.js +1 -0
  873. package/lib/components/graphical-rect/index.js +1 -0
  874. package/lib/components/graphical-rect/index.vue.js +1 -0
  875. package/lib/components/graphical-rect/index.vue2.js +1 -0
  876. package/lib/components/graphical-right-triangle/index.js +1 -0
  877. package/lib/components/graphical-right-triangle/index.vue.js +1 -0
  878. package/lib/components/graphical-right-triangle/index.vue2.js +1 -0
  879. package/lib/components/index.js +1 -0
  880. package/lib/components/interaction-button/index.js +1 -0
  881. package/lib/components/interaction-button/index.vue.js +1 -0
  882. package/lib/components/interaction-button/index.vue2.js +1 -0
  883. package/lib/components/interaction-button-image/index.js +1 -0
  884. package/lib/components/interaction-button-image/index.vue.js +1 -0
  885. package/lib/components/interaction-button-image/index.vue2.js +1 -0
  886. package/lib/components/interaction-button-refresh/index.js +1 -0
  887. package/lib/components/interaction-button-refresh/index.vue.js +1 -0
  888. package/lib/components/interaction-button-refresh/index.vue2.js +1 -0
  889. package/lib/components/interaction-data-picker/index.js +1 -0
  890. package/lib/components/interaction-data-picker/index.vue.js +1 -0
  891. package/lib/components/interaction-data-picker/index.vue2.js +1 -0
  892. package/lib/components/interaction-input/index.js +1 -0
  893. package/lib/components/interaction-input/index.vue.js +1 -0
  894. package/lib/components/interaction-input/index.vue2.js +1 -0
  895. package/lib/components/interaction-radio/index.js +1 -0
  896. package/lib/components/interaction-radio/index.vue.js +1 -0
  897. package/lib/components/interaction-radio/index.vue2.js +1 -0
  898. package/lib/components/interaction-select/index.js +1 -0
  899. package/lib/components/interaction-select/index.vue.js +1 -0
  900. package/lib/components/interaction-select/index.vue2.js +1 -0
  901. package/lib/components/interaction-slider/index.js +1 -0
  902. package/lib/components/interaction-slider/index.vue.js +1 -0
  903. package/lib/components/interaction-slider/index.vue2.js +1 -0
  904. package/lib/components/interaction-switch/index.js +1 -0
  905. package/lib/components/interaction-switch/index.vue.js +1 -0
  906. package/lib/components/interaction-switch/index.vue2.js +1 -0
  907. package/lib/components/interaction-tabs/index.js +1 -0
  908. package/lib/components/interaction-tabs/index.vue.js +1 -0
  909. package/lib/components/interaction-tabs/index.vue2.js +1 -0
  910. package/lib/components/interaction-tabs2/index.js +1 -0
  911. package/lib/components/interaction-tabs2/index.vue.js +1 -0
  912. package/lib/components/interaction-tabs2/index.vue2.js +1 -0
  913. package/lib/components/map-earth-basic/index.js +1 -0
  914. package/lib/components/map-earth-basic/index.vue.js +1 -0
  915. package/lib/components/map-earth-basic/index.vue2.js +1 -0
  916. package/lib/components/map-earth-cool-tech/index.js +1 -0
  917. package/lib/components/map-earth-cool-tech/index.vue.js +1 -0
  918. package/lib/components/map-earth-cool-tech/index.vue2.js +1 -0
  919. package/lib/components/map-earth-fly-line/index.js +1 -0
  920. package/lib/components/map-earth-fly-line/index.vue.js +1 -0
  921. package/lib/components/map-earth-fly-line/index.vue2.js +1 -0
  922. package/lib/components/map-earth-hacker/index.js +1 -0
  923. package/lib/components/map-earth-hacker/index.vue.js +1 -0
  924. package/lib/components/map-earth-hacker/index.vue2.js +1 -0
  925. package/lib/components/map-earth-particle/index.js +1 -0
  926. package/lib/components/map-earth-particle/index.vue.js +1 -0
  927. package/lib/components/map-earth-particle/index.vue2.js +1 -0
  928. package/lib/components/media-audio/index.js +1 -0
  929. package/lib/components/media-audio/index.vue.js +1 -0
  930. package/lib/components/media-audio/index.vue2.js +1 -0
  931. package/lib/components/media-audio-dynamic/index.js +1 -0
  932. package/lib/components/media-audio-dynamic/index.vue.js +1 -0
  933. package/lib/components/media-audio-dynamic/index.vue2.js +1 -0
  934. package/lib/components/media-carousel/index.js +1 -0
  935. package/lib/components/media-carousel/index.vue.js +1 -0
  936. package/lib/components/media-carousel/index.vue2.js +1 -0
  937. package/lib/components/media-carousel-slides/index.js +1 -0
  938. package/lib/components/media-carousel-slides/index.vue.js +1 -0
  939. package/lib/components/media-carousel-slides/index.vue2.js +1 -0
  940. package/lib/components/media-flv/index.js +1 -0
  941. package/lib/components/media-flv/index.vue.js +1 -0
  942. package/lib/components/media-flv/index.vue2.js +1 -0
  943. package/lib/components/media-iframe/index.js +1 -0
  944. package/lib/components/media-iframe/index.vue.js +1 -0
  945. package/lib/components/media-iframe/index.vue2.js +1 -0
  946. package/lib/components/media-iframe-carousel/index.js +1 -0
  947. package/lib/components/media-iframe-carousel/index.vue.js +1 -0
  948. package/lib/components/media-iframe-carousel/index.vue2.js +1 -0
  949. package/lib/components/media-image/index.js +1 -0
  950. package/lib/components/media-image/index.vue.js +1 -0
  951. package/lib/components/media-image/index.vue2.js +1 -0
  952. package/lib/components/media-image-dynamic/index.js +1 -0
  953. package/lib/components/media-image-dynamic/index.vue.js +1 -0
  954. package/lib/components/media-image-dynamic/index.vue2.js +1 -0
  955. package/lib/components/media-m3u8/index.js +1 -0
  956. package/lib/components/media-m3u8/index.vue.js +1 -0
  957. package/lib/components/media-m3u8/index.vue2.js +1 -0
  958. package/lib/components/media-video/index.js +1 -0
  959. package/lib/components/media-video/index.vue.js +1 -0
  960. package/lib/components/media-video/index.vue2.js +1 -0
  961. package/lib/components/media-video-dynamic/index.js +1 -0
  962. package/lib/components/media-video-dynamic/index.vue.js +1 -0
  963. package/lib/components/media-video-dynamic/index.vue2.js +1 -0
  964. package/lib/components/media-wavesurfer/index.js +1 -0
  965. package/lib/components/media-wavesurfer/index.vue.js +1 -0
  966. package/lib/components/media-wavesurfer/index.vue2.js +1 -0
  967. package/lib/components/scene-amap2d/index.js +1 -0
  968. package/lib/components/scene-amap2d/index.vue.js +1 -0
  969. package/lib/components/scene-amap2d/index.vue2.js +1 -0
  970. package/lib/components/scene-amap3d/index.js +1 -0
  971. package/lib/components/scene-amap3d/index.vue.js +1 -0
  972. package/lib/components/scene-amap3d/index.vue2.js +25 -0
  973. package/lib/components/scene-map3d/index.js +1 -0
  974. package/lib/components/scene-map3d/index.vue.js +1 -0
  975. package/lib/components/scene-map3d/index.vue2.js +1 -0
  976. package/lib/components/scene-map3d/map3d/map/DiffuseShader.js +57 -0
  977. package/lib/components/scene-map3d/map3d/map/Reflector.js +45 -0
  978. package/lib/components/scene-map3d/map3d/map/assets/texture/bg.png.js +1 -0
  979. package/lib/components/scene-map3d/map3d/map/assets/texture/flyLine2.png.js +1 -0
  980. package/lib/components/scene-map3d/map3d/map/assets/texture/gaoguang1.png.js +1 -0
  981. package/lib/components/scene-map3d/map3d/map/assets/texture/guangquan01.png.js +1 -0
  982. package/lib/components/scene-map3d/map3d/map/assets/texture/guangquan02.png.js +1 -0
  983. package/lib/components/scene-map3d/map3d/map/assets/texture/huiguang.png.js +1 -0
  984. package/lib/components/scene-map3d/map3d/map/assets.js +1 -0
  985. package/lib/components/scene-map3d/map3d/map/extrudeMap.js +1 -0
  986. package/lib/components/scene-map3d/map3d/map/utils.js +1 -0
  987. package/lib/components/scene-map3d/map3d/map.js +9 -0
  988. package/lib/components/scene-map3d/map3d/module/Environment.js +1 -0
  989. package/lib/components/scene-map3d/map3d/module/FloorGaoGuang.js +1 -0
  990. package/lib/components/scene-map3d/map3d/module/FloorGridRipple.js +1 -0
  991. package/lib/components/scene-map3d/map3d/module/FloorRotateBorder.js +1 -0
  992. package/lib/components/scene-map3d/map3d/module/MapMirror.js +45 -0
  993. package/lib/components/scene-map3d/map3d/module/Particles.js +1 -0
  994. package/lib/components/scene-map3d/map3d/module/Timeline.js +1 -0
  995. package/lib/components/scene-map3d/watch.js +1 -0
  996. package/lib/components/text-carousel/index.js +1 -0
  997. package/lib/components/text-carousel/index.vue.js +1 -0
  998. package/lib/components/text-carousel/index.vue2.js +1 -0
  999. package/lib/components/text-count-down/index.js +1 -0
  1000. package/lib/components/text-count-down/index.vue.js +1 -0
  1001. package/lib/components/text-count-down/index.vue2.js +1 -0
  1002. package/lib/components/text-over-number/index.js +1 -0
  1003. package/lib/components/text-over-number/index.vue.js +1 -0
  1004. package/lib/components/text-over-number/index.vue2.js +1 -0
  1005. package/lib/components/text-real-time/index.js +1 -0
  1006. package/lib/components/text-real-time/index.vue.js +1 -0
  1007. package/lib/components/text-real-time/index.vue2.js +1 -0
  1008. package/lib/components/text-row-scroll/index.js +1 -0
  1009. package/lib/components/text-row-scroll/index.vue.js +1 -0
  1010. package/lib/components/text-row-scroll/index.vue2.js +1 -0
  1011. package/lib/components/text-table-basic/index.js +1 -0
  1012. package/lib/components/text-table-basic/index.vue.js +1 -0
  1013. package/lib/components/text-table-basic/index.vue2.js +1 -0
  1014. package/lib/components/text-table-scroll/index.js +1 -0
  1015. package/lib/components/text-table-scroll/index.vue.js +1 -0
  1016. package/lib/components/text-table-scroll/index.vue2.js +1 -0
  1017. package/lib/components/text-text-basic/index.js +1 -0
  1018. package/lib/components/text-text-basic/index.vue.js +1 -0
  1019. package/lib/components/text-text-basic/index.vue2.js +1 -0
  1020. package/lib/components/text-text-dynamic/index.js +1 -0
  1021. package/lib/components/text-text-dynamic/index.vue.js +1 -0
  1022. package/lib/components/text-text-dynamic/index.vue2.js +1 -0
  1023. package/lib/components/text-title/index.js +1 -0
  1024. package/lib/components/text-title/index.vue.js +1 -0
  1025. package/lib/components/text-title/index.vue2.js +1 -0
  1026. package/lib/core/earth/base64/Aperture.js +1 -0
  1027. package/lib/core/earth/base64/Callout.js +1 -0
  1028. package/lib/core/earth/base64/CalloutAperture.js +1 -0
  1029. package/lib/core/earth/base64/CloudCover.js +1 -0
  1030. package/lib/core/earth/base64/LightColumn.js +1 -0
  1031. package/lib/core/earth/base64/StarrySky.js +1 -0
  1032. package/lib/core/earth/base64/rotation/innner.js +1 -0
  1033. package/lib/core/earth/base64/rotation/out.js +1 -0
  1034. package/lib/core/earth/border.vue.js +1 -0
  1035. package/lib/core/earth/border.vue2.js +1 -0
  1036. package/lib/core/earth/geojson/china-border.js +1 -0
  1037. package/lib/core/earth/geojson/china.js +1 -0
  1038. package/lib/core/earth/geojson/world.js +1 -0
  1039. package/lib/core/earth/main.js +32 -0
  1040. package/lib/core/earth/main.vue.js +1 -0
  1041. package/lib/core/earth/main.vue2.js +1 -0
  1042. package/lib/core/earth/utils/GradientLine.js +1 -0
  1043. package/lib/core/earth/utils/composer.js +1 -0
  1044. package/lib/core/earth/utils/controls/obt.js +1 -0
  1045. package/lib/core/earth/utils/label.js +1 -0
  1046. package/lib/core/earth/utils/line2.js +1 -0
  1047. package/lib/core/earth/utils/scene.js +1 -0
  1048. package/lib/core/useChart.js +1 -0
  1049. package/lib/index.js +1 -0
  1050. package/lib/style.css +1 -0
  1051. package/lib/utils/babylon/ColorConvert.js +1 -0
  1052. package/lib/utils/cloneSeries.js +1 -0
  1053. package/lib/utils/hoverLoop.js +1 -0
  1054. package/lib/utils/imgPreloader.js +1 -0
  1055. package/lib/utils/install.js +1 -0
  1056. package/lib/utils/json2css.js +1 -0
  1057. package/lib/utils/mini3d/components/FlyLine.js +1 -0
  1058. package/lib/utils/mini3d/components/Label3d.js +1 -0
  1059. package/lib/utils/mini3d/components/Particles.js +1 -0
  1060. package/lib/utils/mini3d/components/PathLine.js +1 -0
  1061. package/lib/utils/mini3d/components/Plane.js +1 -0
  1062. package/lib/utils/mini3d/components/ToastLoading.js +5 -0
  1063. package/lib/utils/mini3d/core/Camera.js +1 -0
  1064. package/lib/utils/mini3d/core/Renderer.js +1 -0
  1065. package/lib/utils/mini3d/core/index.js +1 -0
  1066. package/lib/utils/mini3d/utils/CreateHistory.js +1 -0
  1067. package/lib/utils/mini3d/utils/EventEmitter.js +1 -0
  1068. package/lib/utils/mini3d/utils/Resource.js +1 -0
  1069. package/lib/utils/mini3d/utils/Sizes.js +1 -0
  1070. package/lib/utils/mini3d/utils/Time.js +1 -0
  1071. package/lib/utils/mini3d/utils/utils.js +1 -0
  1072. package/lib/utils/parseDataset.js +1 -0
  1073. package/lib/utils/parseOtherData.js +1 -0
  1074. package/lib/utils/shj/component-refs.js +1 -0
  1075. package/package.json +68 -0
@@ -0,0 +1,853 @@
1
+ var W = Object.defineProperty;
2
+ var U = (A, B, e) => B in A ? W(A, B, { enumerable: !0, configurable: !0, writable: !0, value: e }) : A[B] = e;
3
+ var l = (A, B, e) => U(A, typeof B != "symbol" ? B + "" : B, e);
4
+ import { BufferGeometry as $, Mesh as S, Sprite as X, Color as M, AxesHelper as Y, Raycaster as q, Vector2 as H, Group as L, PlaneGeometry as z, TextureLoader as R, MeshBasicMaterial as v, AdditiveBlending as D, DoubleSide as C, RepeatWrapping as T, Vector3 as j, MeshStandardMaterial as O, BoxGeometry as _, NearestFilter as V, Shape as J, ShapeGeometry as Z, LineBasicMaterial as K, Box3Helper as ee } from "three";
5
+ import { computeBoundsTree as te, disposeBoundsTree as ae, acceleratedRaycast as E } from "three-mesh-bvh";
6
+ import { pinyin as ie } from "pinyin-pro";
7
+ import { Mini3d as se } from "../../../utils/mini3d/core/index.mjs";
8
+ import "three/examples/jsm/loaders/GLTFLoader";
9
+ import "three/examples/jsm/loaders/DRACOLoader.js";
10
+ import { getBoundBox as N, transfromMapGeoJSON as re } from "../../../utils/mini3d/utils/utils.mjs";
11
+ import "three/examples/jsm/libs/lil-gui.module.min";
12
+ import "three/examples/jsm/utils/BufferGeometryUtils";
13
+ import { Label3d as oe } from "../../../utils/mini3d/components/Label3d.mjs";
14
+ import { FlyLine as le } from "../../../utils/mini3d/components/FlyLine.mjs";
15
+ import { ToastLoading as ne } from "../../../utils/mini3d/components/ToastLoading.mjs";
16
+ import { PathLine as ce } from "../../../utils/mini3d/components/PathLine.mjs";
17
+ import { Assets as he } from "./map/assets.mjs";
18
+ import { ExtrudeMap as pe } from "./map/extrudeMap.mjs";
19
+ import m from "gsap";
20
+ import { isEmpty as Q, isArray as F, isNumber as ue, cloneDeep as de } from "lodash";
21
+ import { autoInstallFont as k } from "../../../utils/json2css.mjs";
22
+ import { createFloorGaoGuang as me } from "./module/FloorGaoGuang.mjs";
23
+ import { createFloorRotateBorder as fe } from "./module/FloorRotateBorder.mjs";
24
+ import { createFloorGridRipple as be } from "./module/FloorGridRipple.mjs";
25
+ import { createMirror as ye } from "./module/MapMirror.mjs";
26
+ import { createTimeLine as ge } from "./module/Timeline.mjs";
27
+ import { createParticles as Me } from "./module/Particles.mjs";
28
+ import { getMapDataByAdcode as Le, getMapDataByUrl as Ge, getTextureResource as I, getMapDataByAdcode2 as xe, setScaleArea as we, calcUv2 as Be } from "./map/utils.mjs";
29
+ import { createEnvironment as ve } from "./module/Environment.mjs";
30
+ $.prototype.computeBoundsTree = te;
31
+ $.prototype.disposeBoundsTree = ae;
32
+ S.prototype.raycast = E;
33
+ X.prototype.raycast = E;
34
+ class Ke extends se {
35
+ constructor(e, t, a, r) {
36
+ super(e, t, a);
37
+ l(this, "pointCenter");
38
+ l(this, "depth");
39
+ l(this, "toastLoading");
40
+ l(this, "sceneGroup");
41
+ l(this, "assets");
42
+ l(this, "mainSceneGroup");
43
+ l(this, "childSceneGroup");
44
+ l(this, "allAreaLabel");
45
+ l(this, "areaLabelGroup");
46
+ l(this, "label3d");
47
+ l(this, "rotateBorder1");
48
+ l(this, "rotateBorder2");
49
+ l(this, "mapBoxHelper");
50
+ l(this, "quan");
51
+ l(this, "areaMapGroup");
52
+ l(this, "provinceMesh");
53
+ l(this, "provinceLineMaterial");
54
+ l(this, "areaMapTopMaterial");
55
+ l(this, "areaMapSideMaterial");
56
+ l(this, "childMap");
57
+ l(this, "groundMirror");
58
+ l(this, "particles");
59
+ l(this, "barGroup");
60
+ l(this, "barGuangQuanGroup");
61
+ l(this, "allBar");
62
+ l(this, "allBarMaterial");
63
+ l(this, "allBarGuangquan");
64
+ l(this, "allBarLabel");
65
+ l(this, "allScatterLabel");
66
+ l(this, "barLabelGroup");
67
+ l(this, "scatterLabelGroup");
68
+ l(this, "pathLine");
69
+ l(this, "pathLineTexture");
70
+ l(this, "gaoguangMesh");
71
+ l(this, "gridRippleGroup");
72
+ l(this, "diffuseShader");
73
+ l(this, "scale", 1);
74
+ l(this, "datasource", {});
75
+ l(this, "flyLineGroup");
76
+ l(this, "allFlyLine");
77
+ l(this, "hoverAreaMap");
78
+ l(this, "raycasterMousemove");
79
+ l(this, "clientRect");
80
+ l(this, "mouse");
81
+ l(this, "isMousedown");
82
+ l(this, "isMapAnimationSuccess");
83
+ l(this, "mapBackgroundImgMesh");
84
+ l(this, "mapBackgroundImgMaterial");
85
+ l(this, "mapJsonData");
86
+ l(this, "allRegionalLevel");
87
+ l(this, "axesHelper");
88
+ this.option = a, this.onCallBack = r, this.pointCenter = t.geoProjectionCenter, this.depth = this.option.map.depth, this.scene.background = new M(this.option.scene.background || "#000000"), this.camera.instance.position.set(
89
+ this.option.camera.position.x + (a.scene.translateX || 0),
90
+ this.option.camera.position.y + (a.scene.translateY || 0) + 200,
91
+ this.option.camera.position.z + (a.scene.translateZ || 0)
92
+ ), this.camera.instance.near = 1, this.camera.instance.far = 1e4, this.camera.instance.updateProjectionMatrix(), this.option.camera.target && this.camera.controls.target.set(
93
+ this.option.camera.target[0] + (a.scene.translateX || 0),
94
+ this.option.camera.target[1] + (a.scene.translateY || 0),
95
+ this.option.camera.target[2] + (a.scene.translateZ || 0)
96
+ ), this.hoverAreaMap = null, this.clickMapObj = null, this.axesHelper = new Y(100), this.axesHelper.visible = this.option.debugger, this.scene.add(this.axesHelper), this.raycasterMousemove = new q(), this.clientRect = this.renderer.instance.domElement.getBoundingClientRect(), this.mouse = new H(), this.isMousedown = !1, this.isMapAnimationSuccess = !1, ve(this, this.option.light, this.option.debugger), this.toastLoading = new ne(), this.assets = new he(() => {
97
+ this.mapBoxHelper = null, this.sceneGroup = new L(), this.mainSceneGroup = new L(), this.childSceneGroup = new L(), this.mapTitleLabel = null, this.mapTitleLableGroup = new L(), this.areaMapGroup = new L(), this.allAreaLabel = [], this.areaLabelGroup = new L(), this.allBar = [], this.allBarLabel = [], this.allBarMaterial = [], this.allBarGuangquan = [], this.barGroup = new L(), this.barLabelGroup = new L(), this.barGuangQuanGroup = new L(), this.allScatterLabel = [], this.scatterLabelGroup = new L(), this.flyLineGroup = new L(), this.flyLineLabelGroup = new L(), this.allFlyLine = [], this.allFlyLineLabel = [], this.allRegionalLevel = [], this.label3d = new oe(this), this.mainSceneGroup.rotateX(-Math.PI / 2), this.mainSceneGroup.add(this.areaLabelGroup, this.areaMapGroup, this.mapTitleLableGroup), this.sceneGroup.add(this.mainSceneGroup, this.childSceneGroup), this.scene.add(this.sceneGroup), this.createAreaMapModel(() => {
98
+ this.createAreaMapStorke(this.option.map.storkeAnimation, !0).then(() => {
99
+ this.time.on("tick", (i) => {
100
+ this.pathLineTexture && (this.pathLineTexture.offset.x += this.option.map.storkeAnimation.speed * i);
101
+ }), Me(this, this.option.particle), me(this, this.option.floor.gaoguang, this.option.floor.quan), fe(this, this.option.floor.rotateBorder), be(this, this.option.floor.gridRipple), this.createMapBackgroundImg(), this.time.on("tick", (i) => {
102
+ this.diffuseShader.pointShader && (this.diffuseShader.pointShader.uniforms.uTime.value += i, this.diffuseShader.pointShader.uniforms.uTime.value > 600 / this.option.floor.gridRipple.diffuseSpeed && (this.diffuseShader.pointShader.uniforms.uTime.value = 0));
103
+ }), this.canvas.addEventListener("mousemove", this.handleHoverAreaMap.bind(this), !1), this.canvas.addEventListener("mousedown", this.handleMapMousedown.bind(this), !1), this.canvas.addEventListener("mouseup", this.handleMapMouseup.bind(this), !1);
104
+ try {
105
+ this.onCallBack.onMapSuccess();
106
+ } catch {
107
+ }
108
+ ge(this, this.option);
109
+ });
110
+ });
111
+ }, {
112
+ topMap: this.option.map.topMaterial.map,
113
+ topNormal: this.option.map.topMaterial.normalMap,
114
+ sideMap: this.option.map.sideMaterial.map,
115
+ pathLine: this.option.map.storkeAnimation.texture,
116
+ gridRippleMap: this.option.floor.gridRipple.map,
117
+ gridRippleAlphaMap: this.option.floor.gridRipple.alphaMap,
118
+ rotateBorder1Map: this.option.floor.rotateBorder.rotateBorder1.map,
119
+ rotateBorder2Map: this.option.floor.rotateBorder.rotateBorder2.map
120
+ });
121
+ }
122
+ createMapBackgroundImg() {
123
+ try {
124
+ const e = this.scene.getObjectByName("MapBackgroundImgMesh");
125
+ if (e && this.scene.remove(e), this.option.map.backgroundImg && this.option.map.backgroundImg.show) {
126
+ const { src: t, alphaMap: a, color: r, opacity: i, rotation: s, position: o, scale: h } = this.option.map.backgroundImg, n = new z(500, 500), c = new R().load(t), p = t ? { map: c } : {}, u = new R().load(a), d = a ? { alphaMap: u } : {};
127
+ this.mapBackgroundImgMaterial = new v({
128
+ ...p,
129
+ ...d,
130
+ color: r,
131
+ transparent: !0,
132
+ opacity: i,
133
+ blending: D,
134
+ side: C
135
+ }), c.wrapS = c.wrapT = T, this.mapBackgroundImgMesh = new S(n, this.mapBackgroundImgMaterial), this.mapBackgroundImgMesh.rotation.x = s[0] * (Math.PI / 180), this.mapBackgroundImgMesh.rotation.y = s[1] * (Math.PI / 180), this.mapBackgroundImgMesh.rotation.z = s[2] * (Math.PI / 180), this.mapBackgroundImgMesh.position.x = o[0], this.mapBackgroundImgMesh.position.y = o[1], this.mapBackgroundImgMesh.position.z = o[2], this.mapBackgroundImgMesh.scale.x = h[0], this.mapBackgroundImgMesh.scale.y = h[1], this.mapBackgroundImgMesh.scale.z = h[2], this.mapBackgroundImgMesh.name = "MapBackgroundImgMesh", this.scene.add(this.mapBackgroundImgMesh);
136
+ }
137
+ } catch {
138
+ }
139
+ }
140
+ /** 模型区域地图渲染 */
141
+ createAreaMapModel(e) {
142
+ this.createArea((t) => {
143
+ this.provinceMesh = t, this.createMapTitleLabel(this.mapTitleLableGroup), t.setParent(this.areaMapGroup), this.areaMapGroup.position.set(0, 0, -5), this.areaMapGroup.scale.set(1, 1, 0), this.areaMapGroup.visible = !1, this.createAreaLabel(this.areaData, this.areaLabelGroup), ye(this), e(!0);
144
+ });
145
+ }
146
+ /** 创建区域 */
147
+ createArea(e) {
148
+ const t = (a) => {
149
+ this.mapJsonData = a, this.provinceLineMaterial = new K({
150
+ color: new M(this.option.map.lineColor || "#000000"),
151
+ transparent: !0
152
+ });
153
+ let [r, i] = this.createProvinceMaterial(this.option.map.topMaterial, this.option.map.sideMaterial);
154
+ this.areaMapTopMaterial = r, this.areaMapSideMaterial = i;
155
+ let s = new pe(this, {
156
+ center: this.pointCenter,
157
+ position: new j(0, 0, 0.06),
158
+ data: a,
159
+ depth: this.depth,
160
+ topFaceMaterial: this.areaMapTopMaterial,
161
+ sideMaterial: this.areaMapSideMaterial,
162
+ lineMaterial: this.provinceLineMaterial,
163
+ renderOrder: 9
164
+ });
165
+ this.option.scene.defaultMapAdcode !== 1e5 && we(this, s), this.areaData = s.coordinates, this.time.on("tick", () => {
166
+ i.map && (i.map.offset.y += 2e-3);
167
+ });
168
+ const o = N(s.mapGroup);
169
+ this.mapBoxHelper = new ee(o.box3, new M("#ffffff")), this.mapBoxHelper.rotation.x = Math.PI / 2, this.mapBoxHelper.visible = this.option.debugger, this.mapBoxHelper.name = "mapBoxHelper", this.scene.add(this.mapBoxHelper), s.mapGroup.children.map((h, n) => {
170
+ h.children.map((c) => {
171
+ c.type === "Mesh" && Be(c.geometry, o.boxSize.x, o.boxSize.y, o.box3.min.x, o.box3.min.y);
172
+ });
173
+ }), e && e(s);
174
+ };
175
+ this.option.scene.defaultMapAdcode && this.option.scene.defaultMapAdcode !== 1 && Le(this.option.scene.defaultMapAdcode, (a) => t(a)), this.option.scene.defaultMapAdcode && this.option.scene.defaultMapAdcode === 1 && this.option.scene.geojson && Ge(this.option.scene.geojson, (a) => t(a));
176
+ }
177
+ /** 创建轮廓 */
178
+ createAreaMapStorke(e, t = !0) {
179
+ return new Promise((a, r) => {
180
+ if (this.option.scene.defaultMapAdcode === 1) {
181
+ a(!0);
182
+ return;
183
+ }
184
+ try {
185
+ const i = this.mainSceneGroup.getObjectByName("PathLine");
186
+ i && this.mainSceneGroup.remove(i);
187
+ let s = I(this, "pathLine", e.texture, "texture");
188
+ if (Q(s))
189
+ a(!0);
190
+ else {
191
+ let o = s.texture;
192
+ o.wrapS = o.wrapT = T, o.repeat.set(1, 1), this.pathLineTexture = o, xe(this.option.scene.defaultMapAdcode, (h) => {
193
+ try {
194
+ if (h) {
195
+ h = JSON.parse(h);
196
+ let n = h.features.map((u) => ({ geometry: u.geometry })), c = new ce(this, {
197
+ data: n,
198
+ texture: o,
199
+ renderOrder: 21,
200
+ speed: e.speed,
201
+ radius: e.radius / this.scale,
202
+ segments: e.segments || 2560,
203
+ radialSegments: 4,
204
+ material: new v({
205
+ color: new M(e.color || "#2bc4dc"),
206
+ map: o,
207
+ alphaMap: o,
208
+ fog: !1,
209
+ transparent: !0,
210
+ opacity: t ? 0 : 1,
211
+ blending: D
212
+ })
213
+ });
214
+ c.instance.name = "PathLine";
215
+ const p = this.mainSceneGroup.getObjectByName("PathLine");
216
+ if (p && this.mainSceneGroup.remove(p), c.setParent(this.mainSceneGroup), this.boundBox) {
217
+ c.instance.scale.set(this.scale, this.scale, this.scale);
218
+ const u = this.boundBox;
219
+ c.instance.position.x = -u.center.x, c.instance.position.y = -u.center.y;
220
+ }
221
+ c.instance.position.z = this.depth + 0.38 + (e.top || 0), this.pathLine = c;
222
+ }
223
+ } catch {
224
+ } finally {
225
+ a(!0);
226
+ }
227
+ });
228
+ }
229
+ } catch {
230
+ a(!0);
231
+ }
232
+ });
233
+ }
234
+ /** 创建地图区域标签 */
235
+ createAreaLabel(e, t) {
236
+ const a = (r, i, s) => {
237
+ let o = this.label3d.create("", "area-label", !0);
238
+ return o.init(`<p class="label">${r.name}</p>`, s), this.label3d.setLabelStyle(o, 0.08 / this.scale, "x"), o.setParent(t), o.userData.adcode = r.adcode, o.userData.position = [s.x, s.y, s.z], o;
239
+ };
240
+ e.map((r, i) => {
241
+ if (r.name && r.centroid && r.adcode) {
242
+ let [s, o] = this.geoProjection(r.centroid), h = a(r, i, new j(s, -o, this.depth + 2));
243
+ this.allAreaLabel.push(h);
244
+ }
245
+ }), this.option.scene.defaultMapAdcode !== 1e5 && this.setAreaLabelScale(), this.setAreaLabelStyle(this.option.map.arealabel);
246
+ }
247
+ /** 创建地图标题标签 */
248
+ createMapTitleLabel(e) {
249
+ if (this.option.scene.defaultMapAdcode !== 1e5 && this.option.scene.defaultMapAdcode !== 1) {
250
+ let t = N(this.provinceMesh.mapGroup);
251
+ const a = this.option.map.titleLabel && this.option.map.titleLabel.gaodeAPI || "", r = `https://restapi.amap.com/v3/config/district?keywords=${this.option.scene.defaultMapAdcode}&subdistrict=0&key=${a}`;
252
+ fetch(r).then((i) => i.text()).then((i) => {
253
+ try {
254
+ const s = JSON.parse(i);
255
+ if (s.status === "1" && s.districts.length > 0) {
256
+ const o = this.option.map.titleLabel && this.option.map.titleLabel.offsetX || 0, h = this.option.map.titleLabel && this.option.map.titleLabel.offsetY || 2, n = (u) => {
257
+ let d = this.label3d.create("", "map-label", !1);
258
+ return d.init(
259
+ `<div class="other-label"><span class="title">${u.name}</span><span>${u.enName}</span></div>`,
260
+ new j(t.center.x / this.scale + o, (t.center.y - t.boxSize.y / 2 - h) / this.scale, 0.4)
261
+ ), this.label3d.setLabelStyle(d, 0.115 / this.scale, "x"), d.setParent(e), d;
262
+ }, c = ie(s.districts[0].name.slice(0, -1), { toneType: "none", separator: "" }).toUpperCase();
263
+ this.mapTitleLabel = n({ name: s.districts[0].name, enName: c + " " + s.districts[0].level.toUpperCase() }), this.mapTitleLableGroup.scale.set(this.scale, this.scale, this.scale);
264
+ let p = (this.depth + 0.4) / this.scale;
265
+ this.mapTitleLabel.position.z = p, this.mapTitleLabel.position.y -= 1.5 / this.scale, this.setMapTitleLabelStyle(this.option.map.titleLabel);
266
+ }
267
+ } catch {
268
+ }
269
+ }).catch((i) => {
270
+ });
271
+ }
272
+ }
273
+ /**设置地图标题标签样式 */
274
+ setMapTitleLabelStyle(e) {
275
+ if (e) {
276
+ k(e.fontFamily);
277
+ const t = this.mapTitleLabel.element.querySelector(".map-label>.other-label");
278
+ e.show ? t.style.opacity = 1 : t.style.opacity = 0, t.style.fontSize = e.fontSize + "px", t.style.fontFamily = e.fontFamily, t.style.color = e.color;
279
+ } else
280
+ this.mapTitleLabel.element.style.opacity = 0;
281
+ }
282
+ /** 设置地图区域标签缩放 */
283
+ setAreaLabelScale() {
284
+ this.areaLabelGroup.scale.set(this.scale, this.scale, this.scale);
285
+ const e = this.boundBox;
286
+ this.areaLabelGroup.position.x = -e.center.x, this.areaLabelGroup.position.y = -e.center.y, this.allAreaLabel.map((t) => {
287
+ let a = (this.depth + 0.4) / this.scale;
288
+ t.position.z = a, t.position.y -= 1.5 / this.scale, t.userData.position = [t.position.x, t.position.y, t.position.z];
289
+ });
290
+ }
291
+ /** 设置地图区域标签的样式 */
292
+ setAreaLabelStyle(e) {
293
+ e && (k(e.fontFamily), this.allAreaLabel.map((t, a) => {
294
+ const r = t.element.querySelector(".area-label>p.label");
295
+ e.show ? r.style.opacity = 1 : r.style.opacity = 0, r.style.fontSize = e.fontSize + "px", r.style.fontFamily = e.fontFamily, r.style.color = e.color;
296
+ }));
297
+ }
298
+ /** 设置地图区域标签移动 */
299
+ setAreaLabelMove(e, t = "up") {
300
+ this.allAreaLabel.map((a) => {
301
+ if (a.userData.adcode === e) {
302
+ const r = a.userData.position[2] + (this.depth / 2 + 0.3) / this.scale, i = a.userData.position[2];
303
+ m.to(a.position, {
304
+ duration: 0.3,
305
+ z: t === "up" ? r : i
306
+ });
307
+ }
308
+ });
309
+ }
310
+ /** 创建省份材质 */
311
+ createProvinceMaterial(e, t) {
312
+ let a = I(this, "topMap", e.map, "map"), r = I(this, "topNormal", e.normalMap, "normalMap"), i = new O({
313
+ ...a,
314
+ ...r,
315
+ color: new M(e.color || "#061e47"),
316
+ emissive: new M(e.emissive || "#000000"),
317
+ transparent: !0,
318
+ opacity: e.opacity
319
+ }), s = I(this, "sideMap", t.map, "map");
320
+ Q(s) || (s.map.repeat.set(1, 0.2), s.map.offset.y += 0.01);
321
+ let o = new O({
322
+ ...s,
323
+ color: new M(t.color || "#061e47"),
324
+ transparent: !0,
325
+ opacity: t.opacity,
326
+ side: C
327
+ });
328
+ return [i, o];
329
+ }
330
+ /** 创建柱状图 */
331
+ createBar(e, t, a = !0, r = !1) {
332
+ if (!(!a && (t = this.datasource[e._sourceId], !t)) && (a || (this.barGroup.remove(...this.barGroup.children.filter((i) => i.name === "bar-" + e.id)), this.barGuangQuanGroup.remove(...this.barGuangQuanGroup.children.filter((i) => i.name === "bar-" + e.id)), this.barLabelGroup.remove(...this.barLabelGroup.children.filter((i) => i.name === "bar-" + e.id)), this.allBar = this.allBar.filter((i) => i.name !== "bar-" + e.id), this.allBarLabel = this.allBarLabel.filter((i) => i.name !== "bar-" + e.id), this.allBarMaterial = this.allBarMaterial.filter((i) => i.name !== "bar-" + e.id), this.allBarGuangquan = this.allBarGuangquan.filter((i) => i.name !== "bar-" + e.id)), t && F(t) && t.length > 0))
333
+ try {
334
+ if (this.datasource[e._sourceId] = t, !e.isHide) {
335
+ const i = (n, c, p) => {
336
+ let u = e.format;
337
+ try {
338
+ const g = e.format.match(/\{(.*?)}/g);
339
+ if (g)
340
+ for (let b = 0; b < g.length; b++)
341
+ u = u.replaceAll(g[b], n[g[b].slice(1, -1)]);
342
+ } catch {
343
+ }
344
+ let d = this.label3d.create("", "bar-label bar-" + e.id, !0);
345
+ return d.init(`
346
+ <div class="wrap">
347
+ <span class="label">${u}</span>
348
+ <span class="unit">${e.label.unit || ""}</span>
349
+ </div>
350
+ `, p), this.label3d.setLabelStyle(d, 0.08 / this.scale, "x"), d.name = "bar-" + e.id, d.setParent(this.barLabelGroup), d.userData.adcode = n.adcode, d.userData.value = n.value, d.userData.name = n.name, d.userData.position = [p.x, p.y, p.z], d;
351
+ }, s = e.width || 7, o = e.height || 7, h = Math.max.apply(Math, t.map((n) => n.value));
352
+ t.map((n, c) => {
353
+ if (ue(n.value)) {
354
+ let p = n.value <= 0 ? 0.1 : o * (n.value / h), u = new v({
355
+ color: new M(e.color || "#ffffff"),
356
+ transparent: !0,
357
+ opacity: r ? 0 : e.opacity,
358
+ depthTest: !1,
359
+ fog: !1
360
+ });
361
+ u.name = "bar-" + e.id, u.userData.opacity = e.opacity;
362
+ const d = new _(0.05 * s, 0.05 * s, p);
363
+ d.translate(0, 0, p / 2);
364
+ const g = new S(d, u);
365
+ g.renderOrder = 22, g.geometry.computeBoundsTree();
366
+ let b = g, [x, w] = this.geoProjection(n.coords);
367
+ b.position.set(x, -w, (this.depth + 0.46) / this.scale), r ? b.scale.set(1 / this.scale, 1 / this.scale, 0) : b.scale.set(1 / this.scale, 1 / this.scale, 1 / this.scale), b.userData.name = n.name, b.userData.adcode = n.adcode, b.userData.value = n.value, b.userData.position = [x, -w, (this.depth + 0.46) / this.scale];
368
+ let G = this.createBarGuangQuan(e.bottom, r);
369
+ if (G.position.set(x, -w, (this.depth + 0.46) / this.scale), G.userData.name = n.name, G.userData.adcode = n.adcode, G.userData.position = [x, -w, (this.depth + 0.46) / this.scale], G.name = "bar-" + e.id, this.barGuangQuanGroup.add(G), e.huiguang.show && p > 0) {
370
+ let f = this.createBarHUIGUANG(p, e.huiguang);
371
+ b.add(...f);
372
+ }
373
+ b.name = "bar-" + e.id, this.barGroup.add(b);
374
+ let y = i(n, c, new j(x, -w, (this.depth + 0.9 + p) / this.scale));
375
+ this.allBar.push(b), this.allBarMaterial.push(u), this.allBarGuangquan.push(G), this.allBarLabel.push(y);
376
+ }
377
+ }), this.setBarLabelStyle(e.label, e.id), this.barGroup.scale.set(this.scale, this.scale, this.scale), this.barGuangQuanGroup.scale.set(this.scale, this.scale, this.scale), this.barLabelGroup.scale.set(this.scale, this.scale, this.scale), this.mainSceneGroup.add(this.barGroup), this.mainSceneGroup.add(this.barGuangQuanGroup), this.mainSceneGroup.add(this.barLabelGroup), this.option.scene.defaultMapAdcode !== 1e5 && this.setBarScale();
378
+ }
379
+ } catch {
380
+ }
381
+ }
382
+ cleanAllBar() {
383
+ for (; this.barGroup.children.length; )
384
+ this.barGroup.remove(this.barGroup.children[0]);
385
+ for (; this.barGuangQuanGroup.children.length; )
386
+ this.barGuangQuanGroup.remove(this.barGuangQuanGroup.children[0]);
387
+ for (; this.barLabelGroup.children.length; )
388
+ this.barLabelGroup.remove(this.barLabelGroup.children[0]);
389
+ this.allBar = [], this.allBarLabel = [], this.allBarMaterial = [], this.allBarGuangquan = [];
390
+ }
391
+ createBarTimeLine() {
392
+ const e = m.timeline();
393
+ this.allBar.map((t, a) => {
394
+ e.add(
395
+ m.to(t.scale, {
396
+ duration: 1,
397
+ delay: 0.05 * a,
398
+ x: 1 / this.scale,
399
+ y: 1 / this.scale,
400
+ z: 1 / this.scale,
401
+ ease: "circ.out"
402
+ }),
403
+ "bar"
404
+ );
405
+ }), this.allBarMaterial.map((t, a) => {
406
+ e.add(
407
+ m.to(t, {
408
+ duration: 0.5,
409
+ delay: 0.05 * a,
410
+ opacity: t.userData.opacity,
411
+ ease: "circ.out"
412
+ }),
413
+ "bar"
414
+ );
415
+ }), this.allBarGuangquan.map((t, a) => {
416
+ e.add(
417
+ m.to(t.children[0].scale, {
418
+ duration: 0.5,
419
+ delay: 0.05 * a,
420
+ x: 1 / this.scale,
421
+ y: 1 / this.scale,
422
+ z: 1 / this.scale,
423
+ ease: "circ.out"
424
+ }),
425
+ "bar"
426
+ ), e.add(
427
+ m.to(t.children[1].scale, {
428
+ duration: 0.5,
429
+ delay: 0.05 * a,
430
+ x: 1 / this.scale,
431
+ y: 1 / this.scale,
432
+ z: 1 / this.scale,
433
+ ease: "circ.out"
434
+ }),
435
+ "bar"
436
+ );
437
+ }), this.allBarLabel.map((t) => {
438
+ const a = t.element.querySelector(".bar-label .wrap");
439
+ a.style.opacity = 0;
440
+ }), this.allBarLabel.map((t, a) => {
441
+ const r = t.element.querySelector(".bar-label .label"), i = t.element.querySelector(".bar-label .wrap"), s = Number(r.innerText), o = { score: 0 };
442
+ if (e.add(
443
+ m.to(r, {
444
+ duration: 0.5,
445
+ delay: 0.05 * a,
446
+ opacity: 1,
447
+ ease: "circ.out"
448
+ }),
449
+ "bar"
450
+ ), e.add(
451
+ m.to(i, {
452
+ duration: 0.5,
453
+ delay: 0.05 * a,
454
+ opacity: 1,
455
+ ease: "circ.out"
456
+ }),
457
+ "bar"
458
+ ), s) {
459
+ let h = function() {
460
+ r.innerText = o.score.toFixed(0);
461
+ };
462
+ const n = m.to(o, {
463
+ duration: 2,
464
+ delay: 0.05 * a,
465
+ score: s,
466
+ onUpdate: h
467
+ });
468
+ e.add(n, "bar");
469
+ }
470
+ });
471
+ }
472
+ setBarLabelStyle(e, t) {
473
+ e && (k(e.fontFamily), k(e.unitStyle.fontFamily), this.allBarLabel.map((a, r) => {
474
+ if (a.name === "bar-" + t) {
475
+ const i = a.element.querySelector(".bar-label.bar-" + t + " .wrap");
476
+ e.show ? i.style.opacity = 1 : i.style.opacity = 0, i && (i.style.backgroundColor = e.bg.color, i.style.padding = `${e.bg.paddingW}px ${e.bg.paddingH}px`, i.style.borderRadius = e.bg.borderRadius + "px", i.style.borderWidth = e.bg.borderWidth + "px", i.style.borderColor = e.bg.borderColor, i.style.borderStyle = e.bg.borderStyle);
477
+ const s = a.element.querySelector(".bar-label.bar-" + t + " .label");
478
+ e.show ? s.innerText = s.innerText : s.innerText = "", s.style.fontSize = e.fontSize + "px", s.style.fontFamily = e.fontFamily, s.style.color = e.color;
479
+ const o = a.element.querySelector(".bar-label.bar-" + t + " .unit");
480
+ e.show && e.unitStyle.show ? o.innerText = o.innerText : o.innerText = "", o.style.fontSize = e.unitStyle.fontSize + "px", o.style.fontFamily = e.unitStyle.fontFamily, o.style.color = e.unitStyle.color;
481
+ }
482
+ }));
483
+ }
484
+ /** 柱状图缩放 */
485
+ setBarScale() {
486
+ const e = this.boundBox;
487
+ this.barGroup.position.x = -e.center.x, this.barGroup.position.y = -e.center.y, this.barGuangQuanGroup.position.x = -e.center.x, this.barGuangQuanGroup.position.y = -e.center.y, this.barLabelGroup.position.x = -e.center.x, this.barLabelGroup.position.y = -e.center.y;
488
+ }
489
+ /** 创建柱状图辉光效果 */
490
+ createBarHUIGUANG(e, t) {
491
+ let a = new z(t.size, e);
492
+ a.translate(0, e / 2, 0);
493
+ const r = this.assets.instance.getResource("huiguang");
494
+ r.colorSpace = "srgb", r.wrapS = T, r.wrapT = T;
495
+ let i = new v({
496
+ color: new M(t.color || "#ffffff"),
497
+ map: r,
498
+ transparent: !0,
499
+ opacity: t.opacity,
500
+ depthWrite: !1,
501
+ side: C,
502
+ blending: D
503
+ }), s = new S(a, i);
504
+ s.renderOrder = 23, s.rotateX(Math.PI / 2);
505
+ let o = s.clone(), h = s.clone();
506
+ return o.rotateY(Math.PI / 180 * 60), h.rotateY(Math.PI / 180 * 120), [s, o, h];
507
+ }
508
+ /** 创建柱状图底部光圈 */
509
+ createBarGuangQuan(e, t) {
510
+ const a = this.assets.instance.getResource("guangquan1"), r = this.assets.instance.getResource("guangquan2");
511
+ let i = new z(e.width, e.height), s = new v({
512
+ color: new M(e.color || "#ffffff"),
513
+ map: a,
514
+ alphaMap: a,
515
+ opacity: e.opacity,
516
+ transparent: !0,
517
+ depthTest: !1,
518
+ fog: !1,
519
+ blending: D
520
+ }), o = new v({
521
+ color: new M(e.color || "#ffffff"),
522
+ map: r,
523
+ alphaMap: r,
524
+ opacity: e.opacity,
525
+ transparent: !0,
526
+ depthTest: !1,
527
+ fog: !1,
528
+ blending: D
529
+ }), h = new S(i, s), n = new S(i, o);
530
+ h.renderOrder = 24, n.renderOrder = 24, n.position.z -= 1e-3, t ? (h.scale.set(0, 0, 0), n.scale.set(0, 0, 0)) : (h.scale.set(1 / this.scale, 1 / this.scale, 1 / this.scale), n.scale.set(1 / this.scale, 1 / this.scale, 1 / this.scale));
531
+ const c = new L();
532
+ return c.add(h, n), this.time.on("tick", (p) => {
533
+ h.rotation.z += p * 2;
534
+ }), c;
535
+ }
536
+ /** 设置柱状图移动 */
537
+ setBarMove(e, t = "up") {
538
+ this.allBar.map((a) => {
539
+ a.userData.adcode === e && m.to(a.position, {
540
+ duration: 0.3,
541
+ z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
542
+ });
543
+ });
544
+ }
545
+ /** 设置柱状图光圈移动 */
546
+ setBarGuangQuanMove(e, t = "up") {
547
+ this.allBarGuangquan.map((a) => {
548
+ a.userData.adcode === e && m.to(a.position, {
549
+ duration: 0.3,
550
+ z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
551
+ });
552
+ });
553
+ }
554
+ /** 设置柱状图标签移动 */
555
+ setBarLabelMove(e, t = "up") {
556
+ this.allBarLabel.map((a) => {
557
+ a.userData.adcode === e && m.to(a.position, {
558
+ duration: 0.3,
559
+ z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
560
+ });
561
+ });
562
+ }
563
+ /** 创建散点图 */
564
+ createScatter(e, t = [], a = !0, r = !1) {
565
+ if (!(!a && (t = this.datasource[e._sourceId], !t)) && (a || (this.scatterLabelGroup.remove(...this.scatterLabelGroup.children.filter((i) => i.name === "scatter-" + e.id)), this.allScatterLabel = this.allScatterLabel.filter((i) => i.name !== "scatter-" + e.id)), t && F(t) && t.length > 0))
566
+ try {
567
+ if (this.datasource[e._sourceId] = t, !e.isHide) {
568
+ const i = (s, o, h) => {
569
+ let n = e.format;
570
+ try {
571
+ const p = e.format.match(/\{(.*?)}/g);
572
+ if (p)
573
+ for (let u = 0; u < p.length; u++)
574
+ n = n.replaceAll(p[u], s[p[u].slice(1, -1)]);
575
+ } catch {
576
+ }
577
+ let c = this.label3d.create("", "scatter-label scatter-" + e.id, e.follow);
578
+ return c.init(
579
+ `<div class="wrap">
580
+ <span class="label">${n}</span>
581
+ <img src="${e.map}" style="width:${e.width}px; height:${e.height}px;" >
582
+ </div>`,
583
+ h
584
+ ), this.label3d.setLabelStyle(c, 0.08 / this.scale, "x"), e.rotation && (c.rotation.x = e.rotation[0] * (Math.PI / 180), c.rotation.y = e.rotation[1] * (Math.PI / 180), c.rotation.z = e.rotation[2] * (Math.PI / 180)), c.name = "scatter-" + e.id, c.setParent(this.scatterLabelGroup), c.userData.adcode = s.adcode, c.userData.scale = s, c.userData.name = s.name, c.userData.labelShow = e.label.show, c.userData.value = s.value, c.userData.position = [h.x, h.y, h.z], c;
585
+ };
586
+ t.map((s, o) => {
587
+ let [h, n] = this.geoProjection([s.lng, s.lat]), c = i(s, o, new j(h, -n, this.depth / this.scale));
588
+ this.allScatterLabel.push(c);
589
+ }), this.setScatterLabelStyle(e.label, e.id), this.mainSceneGroup.add(this.scatterLabelGroup), this.scatterLabelGroup.scale.set(this.scale, this.scale, this.scale), this.option.scene.defaultMapAdcode !== 1e5 && this.setScatterScale();
590
+ }
591
+ } catch {
592
+ }
593
+ }
594
+ setScatterLabelStyle(e, t) {
595
+ e && (k(e.fontFamily), this.allScatterLabel.map((a, r) => {
596
+ if (a.name === "scatter-" + t) {
597
+ const i = a.element.querySelector(".scatter-label.scatter-" + t + " .wrap");
598
+ e.show ? i.style.opacity = 1 : i.style.opacity = 0;
599
+ const s = a.element.querySelector(".scatter-label.scatter-" + t + " .label");
600
+ e.show ? s.innerText = s.innerText : s.innerText = "", s.style.left = e.left + "px", s.style.top = e.top + "px", s.style.fontSize = e.fontSize + "px", s.style.fontFamily = e.fontFamily, s.style.color = e.color, s.style.backgroundColor = e.bg.color, s.style.padding = `${e.bg.paddingW}px ${e.bg.paddingH}px`, s.style.borderRadius = e.bg.borderRadius + "px", s.style.borderWidth = e.bg.borderWidth + "px", s.style.borderColor = e.bg.borderColor, s.style.borderStyle = e.bg.borderStyle;
601
+ }
602
+ }));
603
+ }
604
+ setScatterScale() {
605
+ const e = this.boundBox;
606
+ this.scatterLabelGroup.position.x = -e.center.x, this.scatterLabelGroup.position.y = -e.center.y;
607
+ }
608
+ createScatterTimeLine() {
609
+ const e = m.timeline();
610
+ this.allScatterLabel.map((t) => {
611
+ const a = t.element.querySelector(".scatter-label .wrap");
612
+ a.style.opacity = 0;
613
+ }), this.allScatterLabel.map((t, a) => {
614
+ if (t.userData.labelShow) {
615
+ const r = t.element.querySelector(".scatter-label .wrap");
616
+ e.add(
617
+ m.to(r, {
618
+ duration: 0.5,
619
+ delay: 0.05 * a,
620
+ opacity: 1,
621
+ ease: "circ.out"
622
+ }),
623
+ "scatter"
624
+ );
625
+ }
626
+ });
627
+ }
628
+ cleanAllScatter() {
629
+ for (; this.scatterLabelGroup.children.length; )
630
+ this.scatterLabelGroup.remove(this.scatterLabelGroup.children[0]);
631
+ this.allScatterLabel = [];
632
+ }
633
+ /** 设置柱状图标签移动 */
634
+ setScatterLabelMove(e, t = "up") {
635
+ this.allScatterLabel.map((a) => {
636
+ a.userData.adcode === e && m.to(a.position, {
637
+ duration: 0.3,
638
+ z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
639
+ });
640
+ });
641
+ }
642
+ // 创建飞线
643
+ createFlyLine(e, t, a = !0, r = !1) {
644
+ if (!(!a && (t = this.datasource[e._sourceId], !t)) && (a || (this.flyLineGroup.remove(...this.flyLineGroup.children.filter((i) => i.name === "flyline-" + e.id)), this.flyLineLabelGroup.remove(...this.flyLineLabelGroup.children.filter((i) => i.name === "flyline-" + e.id)), this.allFlyLine = this.allFlyLine.filter((i) => i.name !== "flyline-" + e.id), this.allFlyLineLabel = this.allFlyLineLabel.filter((i) => i.name !== "flyline-" + e.id)), t && F(t) && t.length > 0))
645
+ try {
646
+ if (this.datasource[e._sourceId] = t, !e.isHide) {
647
+ const i = new R().load(e.texture);
648
+ i.wrapS = i.wrapT = T, i.generateMipmaps = !1, i.magFilter = V, i.repeat.set(0.5, 1);
649
+ let s = new le(this, {
650
+ data: t,
651
+ option: e,
652
+ texture: i,
653
+ radius: e.radius / this.scale,
654
+ speed: e.speed,
655
+ middleHeight: e.middleHeight / this.scale,
656
+ segments: e.segments,
657
+ radialSegments: e.radialSegments,
658
+ allFlyLine: this.allFlyLine,
659
+ material: new v({
660
+ map: i,
661
+ alphaMap: i,
662
+ color: new M(e.material.color),
663
+ transparent: !0,
664
+ opacity: r ? 0 : e.material.opacity,
665
+ fog: !1,
666
+ depthTest: !1,
667
+ blending: D
668
+ })
669
+ });
670
+ s.instance.name = "flyline-" + e.id, s.instance.position.z = (this.depth + 0.4) / this.scale, this.flyLineGroup.add(s.instance), this.setFlylineLabelStyle(e.label, e.id), this.flyLineGroup.scale.set(this.scale, this.scale, this.scale), this.flyLineLabelGroup.scale.set(this.scale, this.scale, this.scale), this.mainSceneGroup.add(this.flyLineGroup), this.mainSceneGroup.add(this.flyLineLabelGroup), this.option.scene.defaultMapAdcode !== 1e5 && this.setFlylineScale();
671
+ }
672
+ } catch {
673
+ }
674
+ }
675
+ setFlylineLabelStyle(e, t) {
676
+ e && (k(e.fontFamily), this.allFlyLineLabel.map((a, r) => {
677
+ if (a.name === "flyline-" + t) {
678
+ const i = a.element.querySelector(".flyline-label.flyline-" + t + " .wrap");
679
+ e.show ? i.style.opacity = 1 : i.style.opacity = 0, i && (i.style.backgroundColor = e.bg.color, i.style.padding = `${e.bg.paddingW}px ${e.bg.paddingH}px`, i.style.borderRadius = e.bg.borderRadius + "px", i.style.borderWidth = e.bg.borderWidth + "px", i.style.borderColor = e.bg.borderColor, i.style.borderStyle = e.bg.borderStyle);
680
+ const s = a.element.querySelector(".flyline-label.flyline-" + t + " .label");
681
+ e.show ? s.innerText = s.innerText : s.innerText = "", s.style.fontSize = e.fontSize + "px", s.style.fontFamily = e.fontFamily, s.style.color = e.color;
682
+ }
683
+ }));
684
+ }
685
+ setFlylineScale() {
686
+ const e = this.boundBox;
687
+ this.flyLineGroup.position.x = -e.center.x, this.flyLineGroup.position.y = -e.center.y, this.flyLineLabelGroup.position.x = -e.center.x, this.flyLineLabelGroup.position.y = -e.center.y;
688
+ }
689
+ cleanAllFlyLine() {
690
+ for (; this.flyLineGroup.children.length; )
691
+ this.flyLineGroup.remove(this.flyLineGroup.children[0]);
692
+ for (; this.flyLineLabelGroup.children.length; )
693
+ this.flyLineLabelGroup.remove(this.flyLineLabelGroup.children[0]);
694
+ this.allFlyLine = [], this.allFlyLineLabel = [];
695
+ }
696
+ createFlyLineTimeLine() {
697
+ const e = m.timeline();
698
+ this.allFlyLine.map((t, a) => {
699
+ e.add(
700
+ m.to(t.material, {
701
+ duration: 0.2,
702
+ opacity: 1,
703
+ ease: "circ.out"
704
+ }),
705
+ "flyLine"
706
+ );
707
+ }), this.allFlyLineLabel.map((t) => {
708
+ const a = t.element.querySelector(".flyline-label .wrap");
709
+ a.style.opacity = 0;
710
+ }), this.allFlyLineLabel.map((t, a) => {
711
+ const r = t.element.querySelector(".flyline-label .wrap");
712
+ e.add(
713
+ m.to(r, {
714
+ duration: 0.5,
715
+ delay: 0.05 * a,
716
+ opacity: 1,
717
+ ease: "circ.out"
718
+ }),
719
+ "flyline"
720
+ );
721
+ });
722
+ }
723
+ createRegionalLevel(e, t, a = !0, r = !1) {
724
+ try {
725
+ if (!a && (t = this.datasource[e._sourceId], !t))
726
+ return;
727
+ a || this.areaMapGroup.children[0].children.forEach((i) => {
728
+ i.remove(...i.children.filter((s) => s.name === "shapeGroup-" + e.id));
729
+ }), t && F(t) && t.length > 0 && (this.datasource[e._sourceId] = t, e.isHide || re(this.mapJsonData).features.forEach((s, o) => {
730
+ const { name: h, adcode: n, parent: c } = s.properties, p = new L();
731
+ p.name = "shapeGroup-" + e.id, s.geometry.coordinates.forEach((d) => {
732
+ d.forEach((g, b) => {
733
+ const x = new J();
734
+ for (let y = 0; y < g.length; y++) {
735
+ if (!g[y][0] || !g[y][1])
736
+ return !1;
737
+ const [f, P] = this.geoProjection(g[y]);
738
+ y === 0 && x.moveTo(f, -P), x.lineTo(f, -P);
739
+ }
740
+ const w = t.find((y) => y.name === h);
741
+ let G = e.defaultColor;
742
+ if (w)
743
+ for (let y = 0; y < e.rules.length; y++) {
744
+ const f = e.rules[y];
745
+ w.value >= f.min && w.value <= f.max && (G = f.color || e.defaultColor);
746
+ }
747
+ try {
748
+ const y = new Z(de(x)), f = new S(y, new O({
749
+ color: new M(G),
750
+ transparent: !0,
751
+ opacity: r ? 0 : e.opacity
752
+ }));
753
+ f.userData.depth = this.depth, f.userData.name = h, f.userData.adcode = n, f.userData.parent = c, f.userData.opacity = e.opacity, f.renderOrder = 20, f.name = "shapeArea", this.allRegionalLevel.push(f), p.add(f);
754
+ } catch {
755
+ }
756
+ });
757
+ }), p.position.set(0, 0, this.depth + 0.2);
758
+ const u = this.areaMapGroup.getObjectByName("meshGroup" + o);
759
+ if (u && u.children.length > 1) {
760
+ const d = this.areaMapGroup.getObjectByName("meshGroup" + o);
761
+ d && d.add(p);
762
+ }
763
+ }));
764
+ } catch {
765
+ }
766
+ }
767
+ createAllRegionalLevel() {
768
+ this.areaMapGroup.children[0].children.forEach((e) => {
769
+ e.remove(...e.children.filter((t) => t.name.includes("shapeGroup-")));
770
+ });
771
+ }
772
+ createRegionalLevelTimeLine() {
773
+ const e = m.timeline();
774
+ this.allRegionalLevel.map((t, a) => {
775
+ e.add(
776
+ m.to(t.material, {
777
+ duration: 0.5,
778
+ delay: 2e-3 * a,
779
+ opacity: t.userData.opacity,
780
+ ease: "circ.out"
781
+ }),
782
+ "RegionalLevel"
783
+ );
784
+ });
785
+ }
786
+ handleMapMousedown(e) {
787
+ if (e.preventDefault(), this.isMousedown = !0, !this.isMapAnimationSuccess) return;
788
+ const t = new q(), a = new H(), r = this.renderer.instance.domElement.getBoundingClientRect();
789
+ a.x = (e.clientX - r.left) / r.width * 2 - 1, a.y = -((e.clientY - r.top) / r.height) * 2 + 1, t.setFromCamera(a, this.camera.instance);
790
+ let i = t.intersectObjects(this.scene.children, !0);
791
+ i = i.filter((s) => s.object.name.includes("scatter-") || s.object.name.includes("bar-") || s.object.name.includes("flyline-") || s.object.name.includes("mapArea-")), i.length > 0 && i[0] ? this.clickMapObj = i[0] : this.clickMapObj = null;
792
+ }
793
+ handleMapMouseup(e) {
794
+ if (e.preventDefault(), this.isMousedown = !1, !!this.isMapAnimationSuccess && this.clickMapObj) {
795
+ if (this.clickMapObj.object.name.includes("scatter-") && this.clickMapObj.object.visible && this.onCallBack.onClickScatter(this.clickMapObj.object.userData), this.clickMapObj.object.name.includes("bar-") && this.clickMapObj.object.visible && this.onCallBack.onClickBar(this.clickMapObj.object.userData), this.clickMapObj.object.name.includes("flyline-") && this.clickMapObj.object.visible && this.onCallBack.onClickFlyline(this.clickMapObj.object.userData), this.clickMapObj.object.name.includes("mapArea-")) {
796
+ let t = this.clickMapObj.object.userData;
797
+ this.onCallBack.onLoadChild(t);
798
+ }
799
+ this.clickMapObj = null;
800
+ }
801
+ }
802
+ handleHoverAreaMap(e) {
803
+ if (e.preventDefault(), this.clickMapObj = null, !this.isMapAnimationSuccess) return;
804
+ if (this.isMousedown) {
805
+ this.hoverAreaMap && this.reset(this.hoverAreaMap.parent);
806
+ return;
807
+ }
808
+ this.mouse.x = (e.clientX - this.clientRect.left) / this.clientRect.width * 2 - 1, this.mouse.y = -((e.clientY - this.clientRect.top) / this.clientRect.height) * 2 + 1, this.raycasterMousemove.setFromCamera(this.mouse, this.camera.instance);
809
+ let t = this.raycasterMousemove.intersectObjects(this.areaMapGroup.children, !0);
810
+ if (t = t.filter((a) => a.object.name.includes("mapArea-")), t.length > 0 && t[0] && t[0].object.name.includes("mapArea-")) {
811
+ if (this.hoverAreaMap === null) {
812
+ this.move(t[0].object.parent, t[0].object);
813
+ return;
814
+ }
815
+ this.hoverAreaMap.name !== t[0].object.name && (this.reset(this.hoverAreaMap.parent), this.move(t[0].object.parent, t[0].object));
816
+ } else
817
+ this.hoverAreaMap && this.reset(this.hoverAreaMap.parent);
818
+ }
819
+ move(e, t) {
820
+ try {
821
+ const a = this.areaMapTopMaterial.clone();
822
+ a.opacity = this.option.map.topMaterial.hoverOpacity || 1, e.children[0].material[0] = a;
823
+ const r = e.getObjectByName("lineGroup");
824
+ if (r && r.children && r.children[0]) {
825
+ const i = this.provinceLineMaterial.clone();
826
+ i.color = new M(this.option.map.hoverLineColor || this.option.map.lineColor || "#000000"), r.children[0].material = i;
827
+ }
828
+ } catch {
829
+ }
830
+ m.to(e.scale, { duration: 0.3, z: this.option.map.hoverDepth || 1.5 }), this.setAreaLabelMove(e.userData.adcode), this.setBarMove(e.userData.adcode), this.setBarGuangQuanMove(e.userData.adcode), this.setBarLabelMove(e.userData.adcode), this.setScatterLabelMove(e.userData.adcode), this.onCallBack.onAreaMouseover(t.userData), this.hoverAreaMap = t;
831
+ }
832
+ reset(e) {
833
+ try {
834
+ e.children[0].material[0] = this.areaMapTopMaterial;
835
+ const t = e.getObjectByName("lineGroup");
836
+ t && t.children && t.children[0] && (t.children[0].material = this.provinceLineMaterial);
837
+ } catch {
838
+ }
839
+ m.to(e.scale, { duration: 0.3, z: 1 }), this.setAreaLabelMove(e.userData.adcode, "down"), this.setBarMove(e.userData.adcode, "down"), this.setBarGuangQuanMove(e.userData.adcode, "down"), this.setBarLabelMove(e.userData.adcode, "down"), this.setScatterLabelMove(e.userData.adcode, "down"), this.onCallBack.onAreaMouseout(this.hoverAreaMap.userData), this.hoverAreaMap = null;
840
+ }
841
+ update() {
842
+ super.update();
843
+ }
844
+ destroy() {
845
+ try {
846
+ super.destroy(), this.canvas.removeEventListener("mousedown", this.handleMapMousedown.bind(this), !1), this.canvas.removeEventListener("mouseup", this.handleMapMouseup.bind(this), !1), this.canvas.removeEventListener("mousemove", this.handleHoverAreaMap.bind(this), !1), this.label3d && this.label3d.destroy(), this.groundMirror && this.groundMirror.dispose(), this.toastLoading && this.toastLoading.destroy(), this.childMap && this.childMap.destroy();
847
+ } catch {
848
+ }
849
+ }
850
+ }
851
+ export {
852
+ Ke as World
853
+ };