@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 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-other-tree"}),f=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:h,setOption:a,chart:p,renderChart:n,renderData:o}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.series[0].data=r.cloneDeep(c[0].data),a(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),a(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{o(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),o(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{o(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",v,[s.createElementVNode("div",{id:s.unref(h),class:"widget"},null,8,_)]))}});exports.default=f;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartOtherTreemap=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-other-treemap"}),f=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:h,setOption:o,chart:p,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.series[0].data=r.cloneDeep(c[0].data),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",v,[s.createElementVNode("div",{id:s.unref(h),class:"widget"},null,8,_)]))}});exports.default=f;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartOtherWordCloud=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),v=require("../../core/useChart.js"),m={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-other-word-cloud"}),f=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(u,{expose:d,emit:l}){const e=u,h=l,{id:p,setOption:i,chart:c,renderChart:n,renderData:o}=v.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:a})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",a),t.series[0].data=r.cloneDeep(a[0].data),i(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),i(t)}}})},emit:h});return s.watch(()=>e.sources,()=>{o(e.basicOption)},{deep:!0}),s.watch(()=>e.basicOption,t=>{c.value&&(c.value.clear(),n(r.cloneDeep(t)))},{deep:!0}),d({getEchartsInstance:()=>c.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),o(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{o(e.basicOption)}}),(t,a)=>(s.openBlock(),s.createElementBlock("div",m,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=f;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvChartPieBasic=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b={class:"zerov-widget"},f=["id"],_=s.defineComponent({name:"zv-chart-pie-basic"}),w=s.defineComponent({..._,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:a,renderData:n}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||a(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&a(e.basicOption),n(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},refreshData:()=>{n(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",b,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,f)]))}});exports.default=w;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieIndex=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),s=require("lodash"),v=require("../../core/useChart.js"),o=require("../../utils/parseDataset.js"),D={class:"zerov-widget"},f=["id"],_=r.defineComponent({name:"zv-chart-pie-index"}),b=r.defineComponent({..._,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(u,{expose:l,emit:d}){const e=u,p=d,{id:h,setOption:i,chart:m,renderChart:n,renderData:a}=v.useChart({basicOption:s.cloneDeep(e.basicOption),useEvents:s.cloneDeep(e.useEvents),customRenderData:t=>{t=s.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=o.parseDataset(s.cloneDeep(c)),t.title.text=(o.parseDataset(s.cloneDeep(c)).source[0][o.parseDataset(s.cloneDeep(c)).dimensions[1]]||0)+t.title.text,i(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),i(t)}}})},emit:p});return r.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption),(t,c)=>{s.isEqual(t,c)||n(t)},{deep:!0}),l({getEchartsInstance:()=>m.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(r.openBlock(),r.createElementBlock("div",D,[r.createElementVNode("div",{id:r.unref(h),class:"widget"},null,8,f)]))}});exports.default=b;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieRose=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),f={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-pie-rose"}),w=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",f,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=w;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieRound=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),f={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-pie-round"}),w=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",f,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=w;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvChartPieSemicircle=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),f={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-pie-semicircle"}),w=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:l}){const e=i,d=l,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:d});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",f,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=w;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieSunburst=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b={class:"zerov-widget"},f=["id"],_=s.defineComponent({name:"zv-chart-pie-sunburst"}),w=s.defineComponent({..._,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",b,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,f)]))}});exports.default=w;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartScatterBasic=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b=require("../../utils/cloneSeries.js"),f={class:"zerov-widget"},_=["id"],w=t.defineComponent({name:"zv-chart-scatter-basic"}),D=t.defineComponent({...w,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:l}){const e=i,d=l,{id:h,setOption:o,chart:p,renderChart:n,renderData:a}=m.useChart({basicOption:c.cloneDeep(e.basicOption),useEvents:c.cloneDeep(e.useEvents),customRenderData:s=>{s=c.cloneDeep(s),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:r})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",r),s.dataset=v.parseDataset(c.cloneDeep(r)),s.series=b.cloneSeries(r,s.series),o(s)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(s)}}})},emit:d});return t.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),t.watch(()=>c.cloneDeep(e.basicOption),(s,r)=>{c.isEqual(s,r)||n(s)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(s,r)=>(t.openBlock(),t.createElementBlock("div",f,[t.createElementVNode("div",{id:t.unref(h),class:"widget"},null,8,_)]))}});exports.default=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartScatterBasic2=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b=require("../../utils/cloneSeries.js"),f={class:"zerov-widget"},_=["id"],w=t.defineComponent({name:"zv-chart-scatter-basic2"}),D=t.defineComponent({...w,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:l}){const e=i,d=l,{id:h,setOption:o,chart:p,renderChart:n,renderData:a}=m.useChart({basicOption:c.cloneDeep(e.basicOption),useEvents:c.cloneDeep(e.useEvents),customRenderData:s=>{s=c.cloneDeep(s),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:r})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",r),s.dataset=v.parseDataset(c.cloneDeep(r)),s.series=b.cloneSeries(r,s.series),o(s)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(s)}}})},emit:d});return t.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),t.watch(()=>c.cloneDeep(e.basicOption),(s,r)=>{c.isEqual(s,r)||n(s)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(s,r)=>(t.openBlock(),t.createElementBlock("div",f,[t.createElementVNode("div",{id:t.unref(h),class:"widget"},null,8,_)]))}});exports.default=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1,40 @@
1
+ "use strict";var p=Object.defineProperty;var m=(a,i,t)=>i in a?p(a,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[i]=t;var f=(a,i,t)=>m(a,typeof i!="symbol"?i+"":i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("@babylonjs/core");function h(a){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(i,t,s.get?s:{enumerable:!0,get:()=>a[t]})}}return i.default=a,Object.freeze(i)}const y=h(g),v=a=>{const i=l.ref(),t=l.ref(!1);class s{constructor(){f(this,"_iframe");this._iframe=i.value}fastEval(n){const e=this._iframe.contentWindow.document.getElementsByTagName("head")[0],r=this._iframe.contentWindow.document.createElement("script");r.setAttribute("type","text/javascript");const o=this._iframe.contentWindow.document.createElement("style");o.innerHTML=`
2
+ *{
3
+ margin:0;
4
+ padding:0;
5
+ }
6
+ body, html {
7
+ height:100%;
8
+ overflow: hidden;
9
+ background-color: transparent;
10
+ position: relative;
11
+ }
12
+ #renderCanvas {
13
+ width:100%;
14
+ height:100%;
15
+ background-color: transparent;
16
+ outline: none !important;
17
+ position: absolute;
18
+ inset: 0;
19
+ }
20
+ `,r.innerHTML=`
21
+ try {
22
+ ${n};
23
+ } catch(e) {
24
+ handleException(e);
25
+ }`,e.innerHTML="",e.appendChild(o),e.appendChild(r)}async loadScriptAsync(n){return new Promise(e=>{const r=document.createElement("script");r.src=n,r.onload=()=>{e()},document.head.appendChild(r)})}async compileAndRunAsync(n){try{if(n.includes("window.")||n.includes("parent.")||n.includes("top."))return;t.value=!0;const e=this._iframe.contentWindow;if(e.engine){try{e.engine.dispose(),e.scene.dispose()}catch{}e.engine=null,e.scene=null}delete e.engine,delete e.scene,delete e.initFunction,delete e.canvas;let r=e.document.getElementById("renderCanvas");if(r||(r=e.document.createElement("canvas"),r.id="renderCanvas",e.document.body.appendChild(r)),e.BABYLON=y,!r||(e.canvas=r,!n))return;let o="createDefaultEngine",c="";if(n.indexOf("createEngine")!==-1&&(o="createEngine"),n.indexOf("delayCreateScene")!==-1?c="delayCreateScene":n.indexOf("createScene")!==-1?c="createScene":n.indexOf("CreateScene")!==-1?c="CreateScene":n.indexOf("createscene")!==-1&&(c="createscene"),!c)t.value=!1;else{n+=`
26
+ window.initFunction = async function() {
27
+ window.engine = new BABYLON.Engine(canvas, true);
28
+ `,n+=`
29
+
30
+ if (!engine) throw 'engine should not be null.';`,n+=`
31
+
32
+ engine.runRenderLoop(function () {
33
+ if(window.scene){
34
+ scene.render();
35
+ }
36
+ });
37
+ `,n+=`\r
38
+ window.scene = `+c+"();",n+=`
39
+
40
+ }`;try{this.fastEval(n)}catch{}try{await e.initFunction()}catch{}if(!e.engine)return;e.scene,t.value=!1}}catch{t.value=!1}}}const u=l.ref();return l.onMounted(()=>{u.value=new s,u.value.compileAndRunAsync(a.code)}),{iframeRef:i,loadingStatus:t,renderingComponent:u}};exports.useBabaylon=v;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvCommonsBabylon=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("lodash"),c=require("./compileAndRunBabylon.js"),l={class:"zerov-widget"},u=e.defineComponent({name:"zv-commons-babylon"}),d=e.defineComponent({...u,props:{basicOption:{}},setup(s){const n=s,{iframeRef:a,renderingComponent:t}=c.useBabaylon(n.basicOption);return e.watch(()=>r.cloneDeep(n.basicOption),(o,i)=>{!r.isEqual(o,i)&&t.value&&t.value.compileAndRunAsync(o.code)},{deep:!0}),(o,i)=>(e.openBlock(),e.createElementBlock("div",l,[e.createElementVNode("iframe",{ref_key:"iframeRef",ref:a,style:{width:"100%",height:"100%",border:"0"},sandbox:"allow-scripts allow-same-origin"},null,512)]))}});exports.default=d;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1,33 @@
1
+ "use strict";var y=Object.defineProperty;var w=(n,r,o)=>r in n?y(n,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[r]=o;var p=(n,r,o)=>w(n,typeof r!="symbol"?r+"":r,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("vue"),g=require("echarts"),v=require("nanoid");function b(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const o in n)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(r,o,c.get?c:{enumerable:!0,get:()=>n[o]})}}return r.default=n,Object.freeze(r)}const C=b(g),E=(n,r,o)=>{const c=d.ref(),s=d.ref(!1);class f{constructor(){p(this,"_iframe");this._iframe=c.value}fastEval(i){const t=this._iframe.contentWindow.document.getElementsByTagName("head")[0],e=this._iframe.contentWindow.document.createElement("script");e.setAttribute("type","text/javascript");const a=this._iframe.contentWindow.document.createElement("style");a.innerHTML=`
2
+ *{
3
+ margin:0;
4
+ padding:0;
5
+ }
6
+ body, html {
7
+ height:100%;
8
+ overflow: hidden;
9
+ background-color: transparent;
10
+ }
11
+ #renderDom {
12
+ width:100%;
13
+ height:100%;
14
+ background-color: transparent;
15
+ outline: none !important;
16
+ }
17
+ `,e.innerHTML=`
18
+ try {
19
+ ${i};
20
+ } catch(e) {
21
+ handleException(e);
22
+ }`,t.innerHTML="",t.appendChild(a),t.appendChild(e)}async loadScriptAsync(i){return new Promise(t=>{const e=document.createElement("script");e.src=i,e.onload=()=>{t()},document.head.appendChild(e)})}async compileAndRunAsync(i){try{if(i.includes("window.")||i.includes("parent.")||i.includes("top."))return;let t="";s.value=!0;const e=this._iframe.contentWindow;if(e.myChart){try{e.myChart.dispose()}catch{}e.myChart=null,e.option=null}delete e.myChart,delete e.option,delete e.renderDom,delete e.initFunction;let a=e.document.getElementById("renderDom");if(a||(a=e.document.createElement("div"),a.id="renderDom",e.document.body.appendChild(a)),e.echarts=C,!a||(e.renderDom=a,!i))return;t+=`
23
+ window.initFunction = async function() {
24
+ window.myChart = echarts.init(renderDom, null, {
25
+ renderer: 'svg'
26
+ });
27
+ window.option;
28
+ `,t+=i,t+=`
29
+
30
+ option && myChart.setOption(option);`,t+=`
31
+
32
+ }`;try{this.fastEval(t)}catch{}try{await e.initFunction()}catch{}if(!e.option)return;s.value=!1}catch{s.value=!1}}}const u=m=>{window.SHJDatasourceV2({tId:v.nanoid(),sources:r,callback:({data:i})=>{try{window.SHJParseEvent(o,"dataListener",i);const t=`var echartsData = ${JSON.stringify(i[0].data[0].echartsData)};`;l.value.compileAndRunAsync(t+`
33
+ `+m)}catch{window.SHJParseEvent(o,"dataListener",null)}}})},l=d.ref();return d.onMounted(()=>{l.value=new f,u(n.code)}),{iframeRef:c,loadingStatus:s,renderingComponent:l,initEcharts:u}};exports.useEcharts=E;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),s=require("../../utils/install.js"),e=s.withInstall(t.default);exports.ZvCommonsEcharts=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),c=require("lodash"),l=require("./compileAndRunEcharts.js"),d={class:"zerov-widget"},p=o.defineComponent({name:"zv-commons-echarts"}),f=o.defineComponent({...p,props:{basicOption:{},sources:{},useEvents:{}},setup(n,{expose:a}){const e=n,{iframeRef:u,renderingComponent:i,initEcharts:s}=l.useEcharts(e.basicOption,e.sources,e.useEvents);return o.watch(()=>c.cloneDeep(e.basicOption),(t,r)=>{!c.isEqual(t,r)&&i.value&&s(t.code)},{deep:!0}),o.watch(()=>c.cloneDeep(e.sources),(t,r)=>{!c.isEqual(t,r)&&i.value&&s(e.basicOption.code)},{deep:!0}),a({refreshData:()=>{s(e.basicOption.code)},refreshView:()=>{s(e.basicOption.code)},refresh:()=>{s(e.basicOption.code)}}),(t,r)=>(o.openBlock(),o.createElementBlock("div",d,[o.createElementVNode("iframe",{ref_key:"iframeRef",ref:u,style:{width:"100%",height:"100%",border:"0"},sandbox:"allow-scripts allow-same-origin"},null,512)]))}});exports.default=f;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvCommonsGaussianSplattingView=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-f24d6214"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";var z=Object.defineProperty;var B=(u,i,h)=>i in u?z(u,i,{enumerable:!0,configurable:!0,writable:!0,value:h}):u[i]=h;var p=(u,i,h)=>B(u,typeof i!="symbol"?i+"":i,h);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");require("@babylonjs/loaders/glTF");const D=require("@vueuse/core"),n=require("@babylonjs/core"),c=require("lodash"),b=require("../../utils/babylon/ColorConvert.js"),x={class:"zerov-widget"},T={key:0,ref:"babylonLoadingRef",class:"babylon-loading"},_=o.defineComponent({name:"zv-commons-gaussian-splatting-view"}),q=o.defineComponent({..._,props:{basicOption:{},basicEvents:{}},setup(u){const i=u,h=(s,r)=>{const d=o.ref(),v=o.ref(!0);class R{constructor(e){p(this,"loadingUIBackgroundColor");this.loadingUIText=e}displayLoadingUI(){d.value&&(v.value=!0)}hideLoadingUI(){d.value&&(v.value=!1)}}class S{constructor(e,l,t){p(this,"scene");p(this,"engine");p(this,"gs");this.canvas=e,this.option=l,this.events=t;try{this.engine=new n.Engine(this.canvas,!0,{},!1),this.engine.loadingScreen=new R(""),window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}catch{}}createScene(){return this.engine.displayLoadingUI(),this.scene=new n.Scene(this.engine),this.option.scene.colorShow?this.scene.clearColor=b.hex2Color4(this.option.scene.color,new n.Color4(0,0,0,0)):this.scene.clearColor=new n.Color4(0,0,0,0),this.scene.fogEnabled=this.option.scene.fogEnabled,this.scene.fogMode=this.option.scene.fogMode||1,this.scene.fogColor=b.hex2Color3(this.option.scene.fogColor,new n.Color3(1,1,1)),this.scene.fogEnd=this.option.scene.fogEnd||60,this.scene.fogStart=this.option.scene.fogStart||1,this.scene.fogDensity=this.option.scene.fogDensity||.1,this.createCamera(this.option.camera,this.scene),this.gs=new n.GaussianSplattingMesh("",null,this.scene),this.gs.loadFileAsync(this.option.meshs.url).then(()=>{this.setGSSize(this.option.meshs),setTimeout(()=>{this.engine.hideLoadingUI()},100)}),this.scene}setGSSize(e){if(e.autoSize){const t=this.gs.getBoundingInfo().boundingBox,f=.7/(Math.max(t.maximumWorld.x-t.minimumWorld.x,t.maximumWorld.y-t.minimumWorld.y,t.maximumWorld.z-t.minimumWorld.z)||1);this.gs.scaling=new n.Vector3(f,f,f);const E=t.centerWorld;this.gs.position=this.gs.position.subtract(E.multiplyByFloats(f,f,f)),this.gs.rotation=new n.Vector3(0,0,0)}else{const{position:l,scaling:t,rotation:m}=e;this.gs.position.set(l[0]||0,l[1]||0,l[2]||0),this.gs.scaling.set(t[0]||1,t[1]||1,t[2]||1),this.gs.rotation=new n.Vector3(m[0]||0,m[1]||0,m[2]||0)}}updateScene(e){e.colorShow?this.scene.clearColor=b.hex2Color4(e.color,new n.Color4(1,1,1,1)):this.scene.clearColor=new n.Color4(0,0,0,0),this.scene.fogEnabled=e.fogEnabled,this.scene.fogMode=e.fogMode||1,this.scene.fogColor=b.hex2Color3(e.fogColor,new n.Color3(1,1,1)),this.scene.fogEnd=e.fogEnd||60,this.scene.fogStart=e.fogStart||1,this.scene.fogDensity=e.fogDensity||.1}createCamera(e,l){const t=new n.ArcRotateCamera("",n.Tools.ToRadians(e.alpha||90),n.Tools.ToRadians(e.beta||75),e.radius||1,new n.Vector3(...e.target),l);t.attachControl(d.value,!0),t.useAutoRotationBehavior=e.autoRotation,t.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,t.zoomToMouseLocation=e.zoomToMouseLocation,t.lowerRadiusLimit=e.lowerRadiusLimit,t.upperRadiusLimit=e.upperRadiusLimit,t.minZ=.01}updateCamera(e){const l=this.scene.activeCamera;l&&(e.radius&&(l.radius=e.radius),l.beta=n.Tools.ToRadians(e.beta),l.alpha=n.Tools.ToRadians(e.alpha),l.useAutoRotationBehavior=e.autoRotation,l.zoomToMouseLocation=e.zoomToMouseLocation,l.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,l.lowerRadiusLimit=e.lowerRadiusLimit,l.upperRadiusLimit=e.upperRadiusLimit,l.target=new n.Vector3(...e.target))}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose(),this.gs.dispose(),this.gs=null)}}const g=o.ref();return o.onMounted(()=>{s.meshs&&(g.value=new S(d.value,s,r).run(),D.useResizeObserver(d.value,y=>{g.value&&g.value.engine.resize()}))}),o.onBeforeUnmount(()=>{g.value&&g.value.dispose()}),{canvasRef:d,babylon:g,Babylon:S,babylonLoadingStatus:v}},{babylon:a,Babylon:L,canvasRef:w,babylonLoadingStatus:C}=h(i.basicOption,i.basicEvents);return o.watch(()=>c.cloneDeep(i.basicOption.scene),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.updateScene(s)},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.url),(s,r)=>{!c.isEqual(s,r)&&a.value&&(a.value.dispose(),a.value=new L(w.value,i.basicOption,i.basicEvents).run())},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.position),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&a.value.gs.position.set(s[0],s[1],s[2])},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.scaling),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&a.value.gs.scaling.set(s[0],s[1],s[2])},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.rotation),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&(a.value.gs.rotation=new n.Vector3(s[0],s[1],s[2]))},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.autoSize),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&a.value.setGSSize(i.basicOption.meshs)},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.camera),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.updateCamera(s)},{deep:!0}),(s,r)=>(o.openBlock(),o.createElementBlock("div",x,[o.createElementVNode("canvas",{ref_key:"canvasRef",ref:w,class:o.normalizeClass(["widget",{show:!o.unref(C)}])},null,2),o.unref(C)?(o.openBlock(),o.createElementBlock("div",T," 正在加载模型... ",512)):o.createCommentVNode("",!0)]))}});exports.default=q;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsProductModel=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-4eda2982"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";var B=Object.defineProperty;var M=(f,u,m)=>u in f?B(f,u,{enumerable:!0,configurable:!0,writable:!0,value:m}):f[u]=m;var c=(f,u,m)=>M(f,typeof u!="symbol"?u+"":u,m);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue");require("@babylonjs/loaders/glTF");const l=require("lodash"),R=require("@vueuse/core"),o=require("@babylonjs/core"),p=require("../../utils/babylon/ColorConvert.js"),F={class:"zerov-widget"},G=i.defineComponent({name:"zv-commons-product-model"}),T=i.defineComponent({...G,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(f,{expose:u,emit:m}){const L=m,r=f,A=(t,n)=>{const g=i.ref(),v=i.ref(),y=i.ref(!0);class D{constructor(e){c(this,"loadingUIBackgroundColor");this.loadingUIText=e}displayLoadingUI(){g.value&&(y.value=!0)}hideLoadingUI(){g.value&&(y.value=!1)}}class C{constructor(e,a,d){c(this,"scene");c(this,"engine");c(this,"environmentHelper");c(this,"shadowsLight");c(this,"shadowGenerator");c(this,"defaultPipeline");this.canvas=e,this.option=a,this.events=d;try{this.engine=new o.Engine(this.canvas,!0,{},!1),this.engine.loadingScreen=new D(""),window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}catch{}}createScene(){return this.engine.displayLoadingUI(),this.scene=new o.Scene(this.engine),this.option.scene.colorShow?this.scene.clearColor=p.hex2Color4(this.option.scene.color,new o.Color4(0,0,0,0)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=this.option.scene.fogEnabled,this.scene.fogMode=this.option.scene.fogMode||1,this.scene.fogColor=p.hex2Color3(this.option.scene.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=this.option.scene.fogEnd||60,this.scene.fogStart=this.option.scene.fogStart||1,this.scene.fogDensity=this.option.scene.fogDensity||.1,this.scene.createDefaultCamera(!0,!1,!0),this.updateMeshs(this.scene),this.scene}updateScenePipeline(e){this.scene.activeCamera&&e&&(e.enabled?(this.defaultPipeline||(this.defaultPipeline=new o.DefaultRenderingPipeline("defaultPipeline",!0,this.scene,[this.scene.activeCamera])),this.defaultPipeline.samples=e.samples?4:1,this.defaultPipeline.fxaaEnabled=e.fxaaEnabled,this.defaultPipeline.grainEnabled=e.grainEnabled,this.defaultPipeline.grain.intensity=e.grainIntensity,this.defaultPipeline.grain.animated=e.grainAnimated,this.defaultPipeline.bloomEnabled=e.bloomEnabled,this.defaultPipeline.bloomThreshold=e.bloomThreshold,this.defaultPipeline.bloomWeight=e.bloomWeight,this.defaultPipeline.bloomKernel=e.bloomKernel,this.defaultPipeline.bloomScale=e.bloomScale,this.defaultPipeline.depthOfFieldEnabled=e.depthOfFieldEnabled,e.depthOfFieldBlurLevel<1?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Low:e.depthOfFieldBlurLevel<2?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Medium:e.depthOfFieldBlurLevel<3&&(this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.High),this.defaultPipeline.depthOfField.focusDistance=e.depthOfFieldFocusDistance,this.defaultPipeline.depthOfField.fStop=e.depthOfFieldFStop,this.defaultPipeline.depthOfField.focalLength=e.depthOfFieldFocalLength,this.defaultPipeline.chromaticAberrationEnabled=e.chromaticAberrationEnabled,this.defaultPipeline.chromaticAberration.aberrationAmount=e.chromaticAberrationAberrationAmount,this.defaultPipeline.chromaticAberration.radialIntensity=e.chromaticAberrationRadialIntensity,e.chromaticAberrationDirection===0?(this.defaultPipeline.chromaticAberration.direction.x=0,this.defaultPipeline.chromaticAberration.direction.y=0):(this.defaultPipeline.chromaticAberration.direction.x=Math.sin(e.chromaticAberrationDirection),this.defaultPipeline.chromaticAberration.direction.y=Math.cos(e.chromaticAberrationDirection)),this.defaultPipeline.sharpenEnabled=e.sharpenEnabled,this.defaultPipeline.sharpen.edgeAmount=e.sharpenEdgeAmount,this.defaultPipeline.sharpen.colorAmount=e.sharpenColorAmount):this.defaultPipeline&&(this.defaultPipeline.dispose(),this.defaultPipeline=null))}updateScene(e){e.colorShow?this.scene.clearColor=p.hex2Color4(e.color,new o.Color4(1,1,1,1)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=e.fogEnabled,this.scene.fogMode=e.fogMode||1,this.scene.fogColor=p.hex2Color3(e.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=e.fogEnd||60,this.scene.fogStart=e.fogStart||1,this.scene.fogDensity=e.fogDensity||.1}updateShadowsLight(e){if(e.show){if(this.shadowsLight){this.shadowsLight.direction=new o.Vector3(...e.direction),this.shadowsLight.position=new o.Vector3(...e.position),this.shadowsLight.intensity=e.intensity,this.shadowsLight.diffuse=p.hex2Color3(e.diffuse,o.Color3.White()),this.shadowGenerator.mapSize=e.mapSize;return}this.shadowsLight=new o.DirectionalLight("shadowsLight",new o.Vector3(...e.direction),this.scene),this.shadowsLight.intensity=e.intensity||.6,this.shadowsLight.diffuse=p.hex2Color3(e.diffuse,o.Color3.White()),this.shadowsLight.position=new o.Vector3(...e.position),this.shadowGenerator=new o.ShadowGenerator(e.mapSize,this.shadowsLight)}else this.shadowsLight&&(this.shadowsLight.dispose(),this.shadowsLight=null)}updateCamera(e){const a=this.scene.activeCamera;a&&(e.radius&&(a.radius=e.radius),a.beta=o.Tools.ToRadians(e.beta),a.alpha=o.Tools.ToRadians(e.alpha),a.useAutoRotationBehavior=e.autoRotation,a.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,a.lowerRadiusLimit=e.lowerRadiusLimit,a.upperRadiusLimit=e.upperRadiusLimit,a.lowerBetaLimit=0,a.upperBetaLimit=Math.PI/2.1)}updateDefaultEnvironment(e){this.environmentHelper&&this.environmentHelper.dispose(),this.environmentHelper=this.scene.createDefaultEnvironment({createGround:e.createGround,groundColor:p.hex2Color3(e.groundColor,new o.Color3(1,1,1)),groundSize:e.groundSize||15,groundOpacity:e.groundOpacity||1,enableGroundShadow:e.enableGroundShadow,groundShadowLevel:e.groundShadowLevel||.5,enableGroundMirror:e.enableGroundMirror===void 0?!0:e.enableGroundMirror,groundMirrorSizeRatio:e.groundMirrorSizeRatio||.3,groundMirrorBlurKernel:e.groundMirrorBlurKernel||64,groundMirrorAmount:e.groundMirrorAmount||1,groundMirrorFresnelWeight:e.groundMirrorFresnelWeight||1,groundYBias:e.groundYBias||0,createSkybox:e.createSkybox,skyboxSize:e.skyboxSize||20,...e.skyboxTexture?{skyboxTexture:e.skyboxTexture}:{},sizeAuto:!0,...e.environmentTexture?{environmentTexture:e.environmentTexture}:{},cameraExposure:e.cameraExposure||.6,cameraContrast:e.cameraContrast||1.6}),this.environmentHelper.ground&&(this.environmentHelper.ground.position.y+=.01)}updateMeshs(e){e.meshes.forEach(a=>setTimeout(()=>a.dispose())),o.SceneLoader.ImportMeshAsync("",this.option.meshs.url,"",e,a=>{v.value=(a.loaded/a.total*100).toFixed(2)}).then(a=>{const d=a.meshes;if(this.option.animationGroups=e.animationGroups.map(h=>({uniqueId:h.uniqueId,name:h.name})),this.events&&(this.events.function[0].args[0].select=e.animationGroups.map(h=>({name:h.name,value:h.name}))),this.option.defaultAnimation&&this.option.defaultAnimation.name?this.playAnimation(this.option.defaultAnimation.name,{loop:this.option.defaultAnimation.loop,speedRatio:this.option.defaultAnimation.speedRatio}):e.animationGroups&&e.animationGroups[0]&&e.animationGroups[0].stop(),this.updateShadowsLight(this.option.shadow),e.createDefaultCamera(!0,!0,!0),this.updateCamera(this.option.camera),this.updateScenePipeline(this.option.pipelineOption),this.updateDefaultEnvironment(this.option.environment),this.option.meshs.isCasterShadow&&this.shadowGenerator){this.shadowGenerator.addShadowCaster(e.meshes[0],!0);for(let h=0;h<d.length;h++)d[h].receiveShadows=!1}d[0].position=new o.Vector3(...this.option.meshs.position),setTimeout(()=>{this.engine.hideLoadingUI(),L("on-load-success"),window.SHJParseEvent(r.useEvents,"on-load-success")},100)})}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}playAnimation(e,a={loop:!1,speedRatio:1}){if(this.scene){this.scene.stopAllAnimations();const d=this.scene.getAnimationGroupByName(e);d&&(L("on-play-animation"),window.SHJParseEvent(r.useEvents,"on-play-animation"),d.start(a.loop,a.speedRatio,d.from,d.to,!1))}}}const b=i.ref();return i.onMounted(()=>{t.meshs&&(b.value=new C(g.value,t,n).run(),R.useResizeObserver(g.value,P=>{b.value&&b.value.engine.resize()}))}),i.onBeforeUnmount(()=>{b.value&&b.value.dispose()}),{canvasRef:g,babylon:b,Babylon:C,babylonLoadingStatus:y,babylonLoadingTitle:v}},{canvasRef:w,babylon:s,Babylon:E,babylonLoadingStatus:S,babylonLoadingTitle:x}=A(r.basicOption,r.basicEvents);return u({playAnimation:(t,n)=>{const g=t[0].value,v={loop:t[1].keys[0].defaultValue,speedRatio:t[1].keys[1].defaultValue};s.value.playAnimation(g,v)}}),i.watch(()=>l.cloneDeep(r.basicOption.environment),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateDefaultEnvironment(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.shadow),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateShadowsLight(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.camera),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateCamera(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.meshs),(t,n)=>{!l.isEqual(t,n)&&s.value&&(s.value.dispose(),s.value=new E(w.value,r.basicOption,r.basicEvents).run())},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.defaultAnimation),(t,n)=>{!l.isEqual(t,n)&&s.value&&(s.value.dispose(),s.value=new E(w.value,r.basicOption,r.basicEvents).run())},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.scene),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateScene(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.pipelineOption),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateScenePipeline(t)},{deep:!0}),(t,n)=>(i.openBlock(),i.createElementBlock("div",F,[i.createElementVNode("canvas",{ref_key:"canvasRef",ref:w,class:i.normalizeClass(["widget",{show:!i.unref(S)}])},null,2),i.unref(S)?(i.openBlock(),i.createElementBlock("div",{key:0,ref:"babylonLoadingRef",class:"babylon-loading"}," 正在加载模型...("+i.toDisplayString(i.unref(x))+"%) ",513)):i.createCommentVNode("",!0)]))}});exports.default=T;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsQrcode=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-106420a4"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),n=require("qrcode.vue"),r=o.defineComponent({name:"zv-commons-qrcode"}),u=o.defineComponent({...r,props:{basicOption:{}},setup(a){return(e,c)=>(o.openBlock(),o.createBlock(n,{value:e.basicOption.value,class:"qrcode",level:e.basicOption.level,background:e.basicOption.background,foreground:e.basicOption.foreground,"render-as":"svg"},null,8,["value","level","background","foreground"]))}});exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvCommonsSvg=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("xss"),o=["innerHTML"],a=e.defineComponent({name:"zv-commons-svg"}),l=e.defineComponent({...a,props:{basicOption:{}},setup(t){const s=t,i=e.computed(()=>r(s.basicOption.code,{whiteList:{svg:["width","height","viewBox","xmlns","fill","stroke","stroke-width","opacity","style","class","id","xmlns:xlink"],g:["fill","stroke","stroke-width","opacity","transform","class","id"],path:["d","fill","stroke","stroke-width","opacity","transform","class","id"],rect:["width","height","x","y","rx","ry","fill","stroke","stroke-width","opacity","transform","class","id"],circle:["cx","cy","r","fill","stroke","stroke-width","opacity","transform","class","id"],ellipse:["cx","cy","rx","ry","fill","stroke","stroke-width","opacity","transform","class","id"],line:["x1","y1","x2","y2","stroke","stroke-width","opacity","transform","class","id"],polyline:["points","fill","stroke","stroke-width","opacity","transform","class","id"],polygon:["points","fill","stroke","stroke-width","opacity","transform","class","id"],text:["x","y","dx","dy","rotate","textLength","lengthAdjust","font-size","fill","stroke","stroke-width","opacity","transform","class","id","text-anchor"],tspan:["x","y","dx","dy","rotate","textLength","lengthAdjust","font-size","fill","stroke","stroke-width","opacity","transform","class","id"],defs:["class","id"],linearGradient:["id","x1","y1","x2","y2","gradientUnits","gradientTransform","spreadMethod","class"],radialGradient:["id","cx","cy","r","fx","fy","gradientUnits","gradientTransform","spreadMethod","class"],stop:["offset","stop-color","stop-opacity","class"],clipPath:["id","class"],pattern:["id","width","height","patternUnits","patternTransform","viewBox","preserveAspectRatio","class"],use:["href","x","y","width","height","fill","stroke","stroke-width","opacity","transform","class","id"],symbol:["id","viewBox","preserveAspectRatio","class"],image:["href","x","y","width","height","preserveAspectRatio","transform","class","id"],animate:["attributeName","from","to","begin","dur","repeatCount","fill","class","id"],animateMotion:["path","keyPoints","keyTimes","rotate","from","to","begin","dur","repeatCount","fill","class","id"],animateTransform:["attributeName","type","from","to","begin","dur","repeatCount","fill","class","id"],marker:["id","viewBox","refX","refY","markerWidth","markerHeight","orient","class"],foreignObject:["x","y","width","height","class","id"],filter:["id","x","y","width","height","filterUnits","primitiveUnits","class"],feGaussianBlur:["in","stdDeviation","class"],feOffset:["in","dx","dy","result","class"],feBlend:["in","in2","mode","class"],feColorMatrix:["in","type","values","class"],feComponentTransfer:["in","class"],feComposite:["in","in2","operator","k1","k2","k3","k4","class"],feFlood:["flood-color","flood-opacity","result","class"],feImage:["href","result","preserveAspectRatio","class"],feMerge:["class"],feMergeNode:["in","class"],feMorphology:["in","operator","radius","result","class"],feSpecularLighting:["in","surfaceScale","specularConstant","specularExponent","result","class"],feTile:["in","result","class"],feTurbulence:["baseFrequency","numOctaves","seed","stitchTiles","type","class"]},stripIgnoreTag:!0,stripIgnoreTagBody:["script"]}));return(n,c)=>(e.openBlock(),e.createElementBlock("div",{innerHTML:i.value,class:"zerov-widget svg-wrap"},null,8,o))}});exports.default=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsThreeLoader=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-5f67ca98"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";var T=Object.defineProperty;var F=(f,c,p)=>c in f?T(f,c,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[c]=p;var v=(f,c,p)=>F(f,typeof c!="symbol"?c+"":c,p);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("@babylonjs/loaders/glTF");const r=require("lodash"),o=require("@babylonjs/core"),z=require("@vueuse/core"),d=require("../../utils/babylon/ColorConvert.js"),M={class:"zerov-widget"},q=n.defineComponent({name:"zv-commons-three-loader"}),I=n.defineComponent({...q,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(f,{expose:c,emit:p}){const L=p,h=f,D=(t,l)=>{const b=n.ref(),P=n.ref(),w=n.ref(!0);class B{constructor(e){v(this,"loadingUIBackgroundColor");this.loadingUIText=e}displayLoadingUI(){b.value&&(w.value=!0)}hideLoadingUI(){b.value&&(w.value=!1)}}class A{constructor(e,s,i){v(this,"scene");v(this,"engine");v(this,"meshe");v(this,"defaultPipeline");this.canvas=e,this.option=s,this.events=i;try{this.engine=new o.Engine(this.canvas,!0,{},!1),this.engine.loadingScreen=new B(""),window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}catch{}}createScene(){return this.scene=new o.Scene(this.engine),this.option.scene.colorShow?this.scene.clearColor=d.hex2Color4(this.option.scene.color,new o.Color4(1,1,1,1)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=this.option.scene.fogEnabled,this.scene.fogMode=this.option.scene.fogMode||1,this.scene.fogColor=d.hex2Color3(this.option.scene.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=this.option.scene.fogEnd||60,this.scene.fogStart=this.option.scene.fogStart||1,this.scene.fogDensity=this.option.scene.fogDensity||.1,this.createCamera(this.option.camera,this.scene),this.createLights(this.option.lights,this.scene),this.createMeshs(this.scene),this.scene}updateScenePipeline(e){this.scene.activeCamera&&e&&(e.enabled?(this.defaultPipeline||(this.defaultPipeline=new o.DefaultRenderingPipeline("defaultPipeline",!0,this.scene,[this.scene.activeCamera])),this.defaultPipeline.samples=e.samples?4:1,this.defaultPipeline.fxaaEnabled=e.fxaaEnabled,this.defaultPipeline.grainEnabled=e.grainEnabled,this.defaultPipeline.grain.intensity=e.grainIntensity,this.defaultPipeline.grain.animated=e.grainAnimated,this.defaultPipeline.bloomEnabled=e.bloomEnabled,this.defaultPipeline.bloomThreshold=e.bloomThreshold,this.defaultPipeline.bloomWeight=e.bloomWeight,this.defaultPipeline.bloomKernel=e.bloomKernel,this.defaultPipeline.bloomScale=e.bloomScale,this.defaultPipeline.depthOfFieldEnabled=e.depthOfFieldEnabled,e.depthOfFieldBlurLevel<1?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Low:e.depthOfFieldBlurLevel<2?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Medium:e.depthOfFieldBlurLevel<3&&(this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.High),this.defaultPipeline.depthOfField.focusDistance=e.depthOfFieldFocusDistance,this.defaultPipeline.depthOfField.fStop=e.depthOfFieldFStop,this.defaultPipeline.depthOfField.focalLength=e.depthOfFieldFocalLength,this.defaultPipeline.chromaticAberrationEnabled=e.chromaticAberrationEnabled,this.defaultPipeline.chromaticAberration.aberrationAmount=e.chromaticAberrationAberrationAmount,this.defaultPipeline.chromaticAberration.radialIntensity=e.chromaticAberrationRadialIntensity,e.chromaticAberrationDirection===0?(this.defaultPipeline.chromaticAberration.direction.x=0,this.defaultPipeline.chromaticAberration.direction.y=0):(this.defaultPipeline.chromaticAberration.direction.x=Math.sin(e.chromaticAberrationDirection),this.defaultPipeline.chromaticAberration.direction.y=Math.cos(e.chromaticAberrationDirection)),this.defaultPipeline.sharpenEnabled=e.sharpenEnabled,this.defaultPipeline.sharpen.edgeAmount=e.sharpenEdgeAmount,this.defaultPipeline.sharpen.colorAmount=e.sharpenColorAmount):this.defaultPipeline&&(this.defaultPipeline.dispose(),this.defaultPipeline=null))}updateScene(e){e.colorShow?this.scene.clearColor=d.hex2Color4(e.color,new o.Color4(1,1,1,1)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=e.fogEnabled,this.scene.fogMode=e.fogMode||1,this.scene.fogColor=d.hex2Color3(e.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=e.fogEnd||60,this.scene.fogStart=e.fogStart||1,this.scene.fogDensity=e.fogDensity||.1}createCamera(e,s){const i=new o.ArcRotateCamera("",o.Tools.ToRadians(e.alpha||90),o.Tools.ToRadians(e.beta||75),e.radius||1,new o.Vector3(...e.target),s);i.attachControl(b.value,!0),i.useAutoRotationBehavior=e.autoRotation,i.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,i.zoomToMouseLocation=e.zoomToMouseLocation,i.lowerRadiusLimit=e.lowerRadiusLimit,i.upperRadiusLimit=e.upperRadiusLimit,i.minZ=.01}updateCamera(e){const s=this.scene.activeCamera;s&&(e.radius&&(s.radius=e.radius),s.beta=o.Tools.ToRadians(e.beta),s.alpha=o.Tools.ToRadians(e.alpha),s.useAutoRotationBehavior=e.autoRotation,s.zoomToMouseLocation=e.zoomToMouseLocation,s.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,s.lowerRadiusLimit=e.lowerRadiusLimit,s.upperRadiusLimit=e.upperRadiusLimit,s.target=new o.Vector3(...e.target))}createLights(e,s){this.scene&&this.scene.lights&&this.scene.lights.forEach((i,u)=>{setTimeout(()=>{i.dispose()})}),setTimeout(()=>{e.forEach(i=>{if(i.type==="HemisphericLight"){const u=new o.HemisphericLight("",new o.Vector3(...i.direction),s);u.intensity=i.intensity!==void 0?i.intensity:.5,u.groundColor=d.hex2Color3(i.groundColor,o.Color3.White()),u.diffuse=d.hex2Color3(i.diffuse,o.Color3.White())}if(i.type==="DirectionalLight"){const u=new o.DirectionalLight("",new o.Vector3(...i.direction),s);u.intensity=i.intensity!==void 0?i.intensity:.5,u.diffuse=d.hex2Color3(i.diffuse,o.Color3.White())}if(i.type==="PointLight"){const u=new o.PointLight("",new o.Vector3(...i.position),s);u.intensity=i.intensity!==void 0?i.intensity:.5,u.diffuse=d.hex2Color3(i.diffuse,o.Color3.White())}})})}createMeshs(e){e.meshes.forEach(s=>setTimeout(()=>s.dispose())),o.SceneLoader.ImportMeshAsync("",this.option.meshs.url,"",e,s=>{P.value=(s.loaded/s.total*100).toFixed(2)}).then(s=>{this.meshe=s.meshes,this.updateScenePipeline(this.option.pipelineOption),this.option.animationGroups=e.animationGroups.map(i=>({uniqueId:i.uniqueId,name:i.name})),this.events&&(this.events.function[0].args[0].select=e.animationGroups.map(i=>({name:i.name,value:i.name}))),this.option.defaultAnimation&&this.option.defaultAnimation.name?this.playAnimation(this.option.defaultAnimation.name,{loop:this.option.defaultAnimation.loop,speedRatio:this.option.defaultAnimation.speedRatio}):e.animationGroups&&e.animationGroups[0]&&e.animationGroups[0].stop(),this.setMeshSize(this.option.meshs),setTimeout(()=>{this.engine.hideLoadingUI(),L("on-load-success"),this.engine.hideLoadingUI()},100)})}setMeshSize(e){if(e.autoSize){const i=this.meshe[0].getBoundingInfo().boundingBox,g=.7/(Math.max(i.maximumWorld.x-i.minimumWorld.x,i.maximumWorld.y-i.minimumWorld.y,i.maximumWorld.z-i.minimumWorld.z)||1);this.meshe[0].scaling=new o.Vector3(g,g,g);const x=i.centerWorld;this.meshe[0].position=this.meshe[0].position.subtract(x.multiplyByFloats(g,g,g)),this.meshe[0].rotation=new o.Vector3(0,0,0)}else{const{position:s,scaling:i,rotation:u}=e;this.meshe[0].position.set(s[0]||0,s[1]||0,s[2]||0),this.meshe[0].scaling.set(i[0]||1,i[1]||1,i[2]||1),this.meshe[0].rotation=new o.Vector3(u[0]||0,u[1]||0,u[2]||0)}}run(){return this.engine.runRenderLoop(()=>this.scene.render()),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}playAnimation(e,s={loop:!1,speedRatio:1}){if(this.scene){this.scene.stopAllAnimations();const i=this.scene.getAnimationGroupByName(e);i&&(L("on-play-animation"),window.SHJParseEvent(h.useEvents,"on-play-animation"),i.start(s.loop,s.speedRatio,i.from,i.to,!1))}}}const m=n.ref();return n.onMounted(()=>{t.meshs&&(m.value=new A(b.value,t,l).run(),z.useResizeObserver(b.value,S=>{m.value&&m.value.engine.resize()}))}),n.onBeforeUnmount(()=>{m.value&&(m.value.dispose(),m.value.meshe=[])}),{canvasRef:b,babylon:m,Babylon:A,babylonLoadingStatus:w,babylonLoadingTitle:P}},{canvasRef:y,babylon:a,Babylon:E,babylonLoadingStatus:C,babylonLoadingTitle:R}=D(h.basicOption,h.basicEvents);return c({playAnimation:(t,l)=>{a.value.playAnimation(t,l)}}),n.watch(()=>r.cloneDeep(h.basicOption.camera),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.updateCamera(t)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.scene),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.updateScene(t)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.lights),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.createLights(t,a.value.scene)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.url),(t,l)=>{!r.isEqual(t,l)&&a.value&&(a.value.dispose(),a.value=new E(y.value,h.basicOption,h.basicEvents).run())},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.position),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&a.value.meshe[0].position.set(t[0],t[1],t[2])},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.scaling),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&a.value.meshe[0].scaling.set(t[0],t[1],t[2])},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.rotation),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&(a.value.meshe[0].rotation=new o.Vector3(t[0],t[1],t[2]))},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.autoSize),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&a.value.setMeshSize(h.basicOption.meshs)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.defaultAnimation),(t,l)=>{!r.isEqual(t,l)&&a.value&&(a.value.dispose(),a.value=new E(y.value,h.basicOption,h.basicEvents).run())},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.pipelineOption),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.updateScenePipeline(t)},{deep:!0}),(t,l)=>(n.openBlock(),n.createElementBlock("div",M,[n.createElementVNode("canvas",{ref_key:"canvasRef",ref:y,class:n.normalizeClass(["widget",{show:!n.unref(C)}])},null,2),n.unref(C)?(n.openBlock(),n.createElementBlock("div",{key:0,ref:"babylonLoadingRef",class:"babylon-loading"}," 正在加载模型...("+n.toDisplayString(n.unref(R))+"%) ",513)):n.createCommentVNode("",!0)]))}});exports.default=I;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsThreeLoader3=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-1bbc8faf"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue");require("@babylonjs/loaders/glTF");const V=require("@babylonjs/core"),s=require("lodash"),T=require("../../utils/babylon/ColorConvert.js");function I(b){const x=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(b){for(const L in b)if(L!=="default"){const e=Object.getOwnPropertyDescriptor(b,L);Object.defineProperty(x,L,e.get?e:{enumerable:!0,get:()=>b[L]})}}return x.default=b,Object.freeze(x)}const t=I(V),Z={class:"zerov-widget"},j=r.defineComponent({name:"zv-commons-three-loader3"}),H=r.defineComponent({...j,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(b,{expose:x,emit:L}){const e=b,B=L;let E,o,c,h,f,d,v,O,u,g,l,a;const D=()=>{c||(c=new t.ArcRotateCamera("Camera",e.basicOption.camera.alpha,e.basicOption.camera.beta,e.basicOption.camera.radius,new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),o)),c.alpha=e.basicOption.camera.alpha,c.beta=e.basicOption.camera.beta,c.radius=e.basicOption.camera.radius,c.target=new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),c.lowerRadiusLimit=e.basicOption.camera.lowerRadiusLimit,c.upperRadiusLimit=e.basicOption.camera.upperRadiusLimit,c.lowerBetaLimit=t.Tools.ToRadians(e.basicOption.camera.lowerBetaLimit),c.upperBetaLimit=t.Tools.ToRadians(e.basicOption.camera.upperBetaLimit),c.useBouncingBehavior=e.basicOption.camera.useBouncingBehavior,c.wheelDeltaPercentage=e.basicOption.camera.wheelDeltaPercentage||.01,c.useAutoRotationBehavior=e.basicOption.camera.autoRotation,c.attachControl(S.value,!0)},R=()=>{o||(o=new t.Scene(E)),o.environmentTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),o.environmentIntensity=e.basicOption.scene.environmentIntensity,e.basicOption.scene.colorShow?o.clearColor=T.hex2Color4(e.basicOption.scene.color,new t.Color4(1,1,1,1)):o.clearColor=new t.Color4(0,0,0,0),o.fogEnabled=e.basicOption.scene.fogEnabled,o.fogMode=e.basicOption.scene.fogMode||1,o.fogColor=T.hex2Color3(e.basicOption.scene.fogColor,new t.Color3(1,1,1)),o.fogEnd=e.basicOption.scene.fogEnd||2e3,o.fogStart=e.basicOption.scene.fogStart||1,o.fogDensity=e.basicOption.scene.fogDensity*1e-4},F=()=>{if(h||(h=new t.DirectionalLight("dirLight",new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),o)),h.direction=new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),h.position=new t.Vector3(e.basicOption.directionalLight.position[0],e.basicOption.directionalLight.position[1],e.basicOption.directionalLight.position[2]),h.diffuse=T.hex2Color3(e.basicOption.directionalLight.diffuse,new t.Color3(1,1,1)),h.intensity=e.basicOption.directionalLight.intensity,h.shadowMinZ=e.basicOption.directionalLight.shadowMinZ,h.shadowMaxZ=e.basicOption.directionalLight.shadowMaxZ,h.autoCalcShadowZBounds=e.basicOption.directionalLight.autoCalcShadowZBounds,e.basicOption.directionalLight.shadowGenerator.enable){const{mapSize:i,transparencyShadow:n,usePercentageCloserFiltering:p,bias:m}=e.basicOption.directionalLight.shadowGenerator;if(!d&&(d=new t.ShadowGenerator(i,h),l))for(let w=0;w<l.length;w++)e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[w],!0);d.mapSize=i,d.transparencyShadow=n,d.usePercentageCloserFiltering=p,d.bias=m}else d&&(d.dispose(),d=null);e.basicOption.directionalLight.lightGizmo&&e.basicOption.directionalLight.lightGizmo.enable?(f||(f=new t.LightGizmo,f.light=h),f.scaleRatio=e.basicOption.directionalLight.lightGizmo.scaleRatio):f&&(f.dispose(),f=null)},G=()=>{v||(v=new t.HemisphericLight("light",new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),o)),v.direction=new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),v.intensity=e.basicOption.hemisphericLight.intensity,v.diffuse=T.hex2Color3(e.basicOption.hemisphericLight.diffuse,new t.Color3(1,1,1)),e.basicOption.hemisphericLight.lightGizmo&&e.basicOption.hemisphericLight.lightGizmo.enable?(O||(O=new t.LightGizmo,O.light=v),O.scaleRatio=e.basicOption.hemisphericLight.lightGizmo.scaleRatio):O&&(O.dispose(),O=null)},M=()=>{if(e.basicOption.ground.enable){const{width:i,height:n,position:p,rotation:m,scaling:w,material:y,receiveShadows:q}=e.basicOption.ground;u||(u=t.MeshBuilder.CreateGround("ground",{width:i,height:n},o)),u.position=new t.Vector3(p[0],p[1],p[2]),u.rotation=new t.Vector3(t.Tools.ToRadians(m[0]),t.Tools.ToRadians(m[1]),t.Tools.ToRadians(m[2])),u.scaling=new t.Vector3(w[0],w[1],w[2]);const C=new t.StandardMaterial("",o);C.emissiveTexture=new t.Texture(y.emissiveTexture,o),C.diffuseTexture=new t.Texture(y.emissiveTexture,o),C.ambientTexture=new t.Texture(y.emissiveTexture,o),C.diffuseColor=new t.Color3(1,1,1),C.opacityTexture=new t.Texture(y.opacityTexture,o),u.material=C,u.receiveShadows=q}else u&&(u.dispose(),u=null)},k=()=>{if(e.basicOption.skybox.enable){const{size:i}=e.basicOption.skybox;g||(g=t.MeshBuilder.CreateBox("skyBox",{size:i},o));const n=new t.StandardMaterial("skyBox",o);n.backFaceCulling=!1,n.reflectionTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),n.reflectionTexture.coordinatesMode=t.Texture.SKYBOX_MODE,n.diffuseColor=new t.Color3(1,1,1),n.specularColor=new t.Color3(1,1,1),n.disableLighting=!0,g.material=n,g.isPickable=!1}else g&&(g.dispose(),g=null)},z=(i,n={loop:!1,speedRatio:1})=>{if(o){o.stopAllAnimations();const p=o.getAnimationGroupByName(i);p&&(B("on-play-animation"),window.SHJParseEvent(e.useEvents,"on-play-animation"),p.start(n.loop,n.speedRatio,p.from,p.to,!1))}},A=async()=>{l||(l=(await t.SceneLoader.ImportMeshAsync("",e.basicOption.meshes.url,"",o)).meshes),l[0].position=new t.Vector3(e.basicOption.meshes.position[0],e.basicOption.meshes.position[1],e.basicOption.meshes.position[2]),l[0].scaling=new t.Vector3(e.basicOption.meshes.scaling[0],e.basicOption.meshes.scaling[1],e.basicOption.meshes.scaling[2]),l[0].rotation=new t.Vector3(t.Tools.ToRadians(e.basicOption.meshes.rotation[0]),t.Tools.ToRadians(e.basicOption.meshes.rotation[1]),t.Tools.ToRadians(e.basicOption.meshes.rotation[2]));for(let i=0;i<l.length;i++)l[i].isPickable=!1,l[i].receiveShadows=e.basicOption.meshes.isCasterShadow,e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[i],!0);e.basicOption.animationGroups=o.animationGroups.map(i=>({uniqueId:i.uniqueId,name:i.name})),e.basicEvents&&(e.basicEvents.function[0].args[0].select=o.animationGroups.map(i=>({name:i.name,value:i.name}))),e.basicOption.defaultAnimation&&e.basicOption.defaultAnimation.name?z(e.basicOption.defaultAnimation.name,{loop:e.basicOption.defaultAnimation.loop,speedRatio:e.basicOption.defaultAnimation.speedRatio}):o.animationGroups&&o.animationGroups[0]&&o.animationGroups[0].stop()},P=()=>{const i=e.basicOption.pipelineOption;i&&i.enabled?(a||(a=new t.DefaultRenderingPipeline("defaultPipeline",!0,o,[c])),a.samples=i.samples?4:1,a.fxaaEnabled=i.fxaaEnabled,a.grainEnabled=i.grainEnabled,a.grain.intensity=i.grainIntensity,a.grain.animated=i.grainAnimated,a.bloomEnabled=i.bloomEnabled,a.bloomThreshold=i.bloomThreshold,a.bloomWeight=i.bloomWeight,a.bloomKernel=i.bloomKernel,a.bloomScale=i.bloomScale,a.depthOfFieldEnabled=i.depthOfFieldEnabled,i.depthOfFieldBlurLevel<1?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Low:i.depthOfFieldBlurLevel<2?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Medium:i.depthOfFieldBlurLevel<3&&(a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.High),a.depthOfField.focusDistance=i.depthOfFieldFocusDistance,a.depthOfField.fStop=i.depthOfFieldFStop,a.depthOfField.focalLength=i.depthOfFieldFocalLength,a.chromaticAberrationEnabled=i.chromaticAberrationEnabled,a.chromaticAberration.aberrationAmount=i.chromaticAberrationAberrationAmount,a.chromaticAberration.radialIntensity=i.chromaticAberrationRadialIntensity,i.chromaticAberrationDirection===0?(a.chromaticAberration.direction.x=0,a.chromaticAberration.direction.y=0):(a.chromaticAberration.direction.x=Math.sin(i.chromaticAberrationDirection),a.chromaticAberration.direction.y=Math.cos(i.chromaticAberrationDirection)),a.sharpenEnabled=i.sharpenEnabled,a.sharpen.edgeAmount=i.sharpenEdgeAmount,a.sharpen.colorAmount=i.sharpenColorAmount):a&&(a.dispose(),a=null)},_=function(i){R(),D(),G(),F(),M(),k(),A(),P(),B("on-load-success"),window.SHJParseEvent(e.useEvents,"on-load-success")},S=r.ref();return r.onMounted(()=>{E=new t.Engine(S.value,!0),E&&e.basicOption.meshes.url&&(_(),E.runRenderLoop(function(){o&&o.render()}))}),r.onBeforeUnmount(()=>{o.dispose(),E.dispose()}),x({playAnimation:(i,n)=>{const p=i[0].value,m={loop:i[1].keys[0].defaultValue,speedRatio:i[1].keys[1].defaultValue};z(p,m)}}),r.watch(()=>s.cloneDeep(e.basicOption.camera),(i,n)=>{!s.isEqual(i,n)&&c&&D()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.scene),(i,n)=>{!s.isEqual(i,n)&&o&&R()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.directionalLight),(i,n)=>{s.isEqual(i,n)||F()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.hemisphericLight),(i,n)=>{s.isEqual(i,n)||G()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.ground),(i,n)=>{s.isEqual(i,n)||M()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.skybox),(i,n)=>{s.isEqual(i,n)||k()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes),(i,n)=>{!s.isEqual(i,n)&&l&&i.url===n.url&&A()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes.url),(i,n)=>{s.isEqual(i,n)||(o.meshes.forEach((p,m)=>{m>1&&p.dispose()}),l=null,A())},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.pipelineOption),(i,n)=>{s.isEqual(i,n)||P()},{deep:!0}),(i,n)=>(r.openBlock(),r.createElementBlock("div",Z,[r.createElementVNode("canvas",{ref_key:"canvasRef",ref:S,class:r.normalizeClass(["widget",{show:!0}])},null,512)]))}});exports.default=H;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsVrPhoto=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";var w=Object.defineProperty;var _=(o,e,s)=>e in o?w(o,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[e]=s;var d=(o,e,s)=>_(o,typeof e!="symbol"?e+"":e,s);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("@babylonjs/loaders/glTF");const b=require("lodash"),i=require("@babylonjs/core"),M={class:"zerov-widget"},S=t.defineComponent({name:"zv-commons-vr-photo"}),B=t.defineComponent({...S,props:{basicOption:{}},setup(o){const e=o,s=u=>{const a=t.ref(),v=t.ref();class m{constructor(r,n){d(this,"scene");d(this,"engine");this.canvas=r,this.option=n,this.engine=new i.Engine(this.canvas,!0,{},!1),v.value=!0,window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}createScene(){const r=new i.Scene(this.engine),n=new i.ArcRotateCamera("Camera",-Math.PI/2,Math.PI/2,5,i.Vector3.Zero(),r);n.attachControl(a.value,!0),n.useAutoRotationBehavior=this.option.cameraAutoRotation,n.inputs.attached.mousewheel.detachControl();const c=new i.PhotoDome("",this.option.url,{resolution:this.option.resolution||32,size:1e3,useDirectMapping:!1},r);if(this.option.isReversal&&(n.angularSensibilityX=-n.angularSensibilityX,n.angularSensibilityY=-n.angularSensibilityY),this.option.imageMode&&(c.imageMode=i.PhotoDome[this.option.imageMode]),c.fovMultiplier=this.option.defaultFov||1,this.option.isScale){let l=c.fovMultiplier;r.onPointerObservable.add(y=>{c!==void 0&&(l+=y.event.wheelDelta*-5e-4,l<0&&(l=0),l>2&&(l=2),c.fovMultiplier=l)},i.PointerEventTypes.POINTERWHEEL)}return setTimeout(()=>{v.value=!1},200),r}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}}const h=t.ref();return t.onMounted(()=>{h.value=new m(a.value,u).run()}),t.onBeforeUnmount(()=>{h.value&&h.value.dispose()}),{canvasRef:a,babylon:h,Babylon:m,loadingStatus:v}},{canvasRef:f,babylon:p,Babylon:g}=s(e.basicOption);return t.watch(()=>b.cloneDeep(e.basicOption),(u,a)=>{!b.isEqual(u,a)&&p.value&&(p.value.dispose(),p.value=new g(f.value,e.basicOption).run())},{deep:!0}),(u,a)=>(t.openBlock(),t.createElementBlock("div",M,[t.createElementVNode("canvas",{ref_key:"canvasRef",ref:f,class:"widget"},null,512)]))}});exports.default=B;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsVrVideo=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";var M=Object.defineProperty;var w=(n,e,s)=>e in n?M(n,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[e]=s;var v=(n,e,s)=>w(n,typeof e!="symbol"?e+"":e,s);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");require("@babylonjs/loaders/glTF");const m=require("lodash"),i=require("@babylonjs/core"),_={class:"zerov-widget"},S=o.defineComponent({name:"zv-commons-vr-video"}),P=o.defineComponent({...S,props:{basicOption:{}},setup(n){const e=n,s=u=>{const a=o.ref(),h=o.ref();class b{constructor(r,t){v(this,"scene");v(this,"engine");this.canvas=r,this.option=t,this.engine=new i.Engine(this.canvas,!0,{},!1),h.value=!0,window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}createScene(){const r=new i.Scene(this.engine),t=new i.ArcRotateCamera("Camera",-Math.PI/2,Math.PI/2,5,i.Vector3.Zero(),r);t.attachControl(a.value,!0),t.useAutoRotationBehavior=this.option.cameraAutoRotation,t.inputs.attached.mousewheel.detachControl();const c=new i.VideoDome("",this.option.url,{resolution:this.option.resolution||32,clickToPlay:this.option.clickToPlay,autoPlay:this.option.autoPlay,loop:this.option.loop,poster:this.option.poster,useDirectMapping:!1,halfDomeMode:this.option.halfDomeMode},r);if(this.option.isReversal&&(t.angularSensibilityX=-t.angularSensibilityX,t.angularSensibilityY=-t.angularSensibilityY),this.option.videoMode&&(c.videoMode=i.PhotoDome[this.option.videoMode]),c.fovMultiplier=this.option.defaultFov||1,this.option.isScale){let l=c.fovMultiplier;r.onPointerObservable.add(y=>{c!==void 0&&(l+=y.event.wheelDelta*-5e-4,l<0&&(l=0),l>2&&(l=2),c.fovMultiplier=l)},i.PointerEventTypes.POINTERWHEEL)}return setTimeout(()=>{h.value=!1},200),r}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}}const p=o.ref();return o.onMounted(()=>{p.value=new b(a.value,u).run()}),o.onBeforeUnmount(()=>{p.value&&p.value.dispose()}),{canvasRef:a,babylon:p,Babylon:b,loadingStatus:h}},{canvasRef:f,babylon:d,Babylon:g}=s(e.basicOption);return o.watch(()=>m.cloneDeep(e.basicOption),(u,a)=>{!m.isEqual(u,a)&&d.value&&(d.value.dispose(),d.value=new g(f.value,e.basicOption).run())},{deep:!0}),(u,a)=>(o.openBlock(),o.createElementBlock("div",_,[o.createElementVNode("canvas",{ref_key:"canvasRef",ref:f,class:"widget"},null,512)]))}});exports.default=P;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsWeather=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-b2e25aed"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),O=require("axios"),d=require("../../utils/json2css.js"),B={key:0,class:"weather-temperature__suffix"},E=e.defineComponent({name:"zv-commons-weather"}),D=e.defineComponent({...E,props:{basicOption:{},useEvents:{}},emits:["on-success","on-error"],setup(h,{emit:m}){const n=h,u=m,w=()=>{const a=e.ref(),i=e.ref({city:"",date:"",week:"",dayweather:"",nightweather:"",daytemp:"",nighttemp:"",daywind:"",nightwind:"",daypower:"",nightpower:"",daytemp_float:"",nighttemp_float:""}),s=e.ref(null),c=t=>{O.get(`https://restapi.amap.com/v3/weather/weatherInfo?city=${t.city}&key=${t.key}&extensions=all`).then(r=>{r.status===200&&r.data.status==="1"&&r.data.forecasts.length>0?(u("on-success",r),window.SHJParseEvent(n.useEvents,"on-success",r),i.value=r.data.forecasts[0].casts[0],i.value.city=r.data.forecasts[0].city):(u("on-error",r),window.SHJParseEvent(n.useEvents,"on-error",r))}).catch(()=>{u("on-error",null),window.SHJParseEvent(n.useEvents,"on-error",null)})},S=t=>(t.fontFamily&&d.autoInstallFont(t.fontFamily),{...d.jsonToCssStyle(t),lineHeight:`${t.lineHeight}px`,transform:`translate(${t.transform.x}px, ${t.transform.y}px)`}),k=(t,r)=>{if(r.find(p=>p.name===i.value.dayweather)){const p=r.find(b=>b.name===i.value.dayweather).url||"";return{mask:`url(${p}) 0px 0px / 100% 100%`,width:`${t.size}px`,height:`${t.size}px`,background:`url(${p}) 0px 0px / 100% 100%, ${t.color}`,backgroundBlendMode:"overlay",marginRight:`${t.margin.right}px`}}return{}},y=t=>{s.value&&clearInterval(s.value),t.autoUpdate!==0?s.value=setInterval(()=>c(t),t.autoUpdate*1e3):(clearInterval(s.value),c(t))};return e.onMounted(()=>{c(n.basicOption),y(n.basicOption)}),e.onBeforeUnmount(()=>{s.value&&clearInterval(s.value)}),{initWeatherMessage:c,rendererDomStyle:S,handleAutoUpdate:y,rendererWeatherTypeStyle:k,weatherRef:a,weather:i}},{handleAutoUpdate:f,rendererDomStyle:l,rendererWeatherTypeStyle:g,weatherRef:v,weather:o}=w();return e.watch(()=>n.basicOption,()=>f(n.basicOption),{deep:!0}),(a,i)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"weatherRef",ref:v,class:"zerov-widgets"},[a.basicOption.icon.show?(e.openBlock(),e.createElementBlock("p",{key:0,class:"weather-icon",style:e.normalizeStyle(e.unref(g)(a.basicOption.icon,a.basicOption.icons))},null,4)):e.createCommentVNode("",!0),a.basicOption.weather.city.show?(e.openBlock(),e.createElementBlock("p",{key:1,class:"weather-city",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.city.textStyle))},e.toDisplayString(e.unref(o).city),5)):e.createCommentVNode("",!0),a.basicOption.weather.type.show?(e.openBlock(),e.createElementBlock("p",{key:2,class:"weather-type",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.type.textStyle))},e.toDisplayString(e.unref(o).dayweather),5)):e.createCommentVNode("",!0),a.basicOption.weather.wind.show?(e.openBlock(),e.createElementBlock("p",{key:3,class:"weather-wind",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.wind.textStyle))},e.toDisplayString(e.unref(o).daywind)+"风"+e.toDisplayString(e.unref(o).daypower)+"级 ",5)):e.createCommentVNode("",!0),a.basicOption.weather.temperature.show?(e.openBlock(),e.createElementBlock("p",{key:4,class:"weather-temperature",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.temperature.textStyle))},[e.createTextVNode(e.toDisplayString(e.unref(o).nighttemp)+" "+e.toDisplayString(a.basicOption.weather.temperature.connectors)+" "+e.toDisplayString(e.unref(o).daytemp)+" ",1),a.basicOption.weather.temperature.suffix.show?(e.openBlock(),e.createElementBlock("span",B,e.toDisplayString(a.basicOption.weather.temperature.suffix.suffix),1)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],512))}});exports.default=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.vue.js"),t=require("../../utils/install.js"),e=t.withInstall(l.default);exports.ZvGraphicalCircle=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-69a4bd9e"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},i=["r","stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-circle"}),r=e.defineComponent({...s,props:{basicOption:{}},setup(n){return(t,c)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("circle",{cx:"50",cy:"50",r:Math.max(10,50-t.basicOption.strokeWidth),stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,i)]))}});exports.default=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),a=require("../../utils/install.js"),e=a.withInstall(t.default);exports.ZvGraphicalDiamond=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-af886cfd"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t={viewBox:"0 0 100 100",preserveAspectRatio:"none"},n=["stroke","stroke-width","fill"],i=e.defineComponent({name:"zv-graphical-diamond"}),s=e.defineComponent({...i,props:{basicOption:{}},setup(r){return(o,l)=>(e.openBlock(),e.createElementBlock("svg",t,[e.createElementVNode("polygon",{points:"50,10 90,50 50,90 10,50",stroke:o.basicOption.stroke,"stroke-width":o.basicOption.strokeWidth,fill:o.basicOption.fill},null,8,n)]))}});exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),a=require("../../utils/install.js"),e=a.withInstall(t.default);exports.ZvGraphicalHexagon=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-dacc35e0"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t={viewBox:"0 0 100 100",preserveAspectRatio:"none"},n=["stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-hexagon"}),i=e.defineComponent({...s,props:{basicOption:{}},setup(r){return(o,l)=>(e.openBlock(),e.createElementBlock("svg",t,[e.createElementVNode("polygon",{points:"50,5 90,25 90,75 50,95 10,75 10,25",stroke:o.basicOption.stroke,"stroke-width":o.basicOption.strokeWidth,fill:o.basicOption.fill},null,8,n)]))}});exports.default=i;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.vue.js"),s=require("../../utils/install.js"),e=s.withInstall(l.default);exports.ZvGraphicalIsoscelesTriangle=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-f00dcb42"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},s=["stroke","stroke-width","fill"],i=e.defineComponent({name:"zv-graphical-isosceles-triangle"}),n=e.defineComponent({...i,props:{basicOption:{}},setup(r){return(t,l)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("polygon",{points:"50,10 90,90 10,90",stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,s)]))}});exports.default=n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),a=require("../../utils/install.js"),e=a.withInstall(t.default);exports.ZvGraphicalPentagon=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-a4789139"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},n=["stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-pentagon"}),i=e.defineComponent({...s,props:{basicOption:{}},setup(r){return(t,l)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("polygon",{points:"50,5 95,30 85,85 15,85 5,30",stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,n)]))}});exports.default=i;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvGraphicalRect=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-1df2f161"]]);exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},i=["stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-rect"}),n=e.defineComponent({...s,props:{basicOption:{}},setup(r){return(t,c)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("rect",{x:"0",y:"0",width:"100",height:"100",stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,i)]))}});exports.default=n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvGraphicalRightTriangle=e;exports.default=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-d3292a01"]]);exports.default=u;