leiting-bim 2.1.50 → 2.1.52

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 (411) hide show
  1. package/leiting-bim.es.js +25503 -1
  2. package/package.json +1 -1
  3. package/plugins/cesium-core/dist/cesium-core.mjs +587 -535
  4. package/plugins/cesium-core/dist/cesium-core.mjs.map +1 -0
  5. package/plugins/cesium-core/dist/cesium-core.umd.js +19 -18
  6. package/plugins/cesium-core/dist/cesium-core.umd.js.map +1 -0
  7. package/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +76 -73
  8. package/plugins/cesium-vue/dist/_commonjsHelpers-DaMA6jEr.js +1 -0
  9. package/plugins/cesium-vue/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  10. package/plugins/cesium-vue/dist/components/basic-audio.js +3 -2
  11. package/plugins/cesium-vue/dist/components/basic-audio.js.map +1 -0
  12. package/plugins/cesium-vue/dist/components/basic-video.js +3 -2
  13. package/plugins/cesium-vue/dist/components/basic-video.js.map +1 -0
  14. package/plugins/cesium-vue/dist/components/card-carousel.js +2 -1
  15. package/plugins/cesium-vue/dist/components/card-carousel.js.map +1 -0
  16. package/plugins/cesium-vue/dist/components/card-content.js +13 -12
  17. package/plugins/cesium-vue/dist/components/card-content.js.map +1 -0
  18. package/plugins/cesium-vue/dist/components/card-page.js +2 -1
  19. package/plugins/cesium-vue/dist/components/card-page.js.map +1 -0
  20. package/plugins/cesium-vue/dist/components/carousel-img.js +6 -5
  21. package/plugins/cesium-vue/dist/components/carousel-img.js.map +1 -0
  22. package/plugins/cesium-vue/dist/components/echarts-pro.js +2 -1
  23. package/plugins/cesium-vue/dist/components/echarts-pro.js.map +1 -0
  24. package/plugins/cesium-vue/dist/components/marker-bubble.js +5 -4
  25. package/plugins/cesium-vue/dist/components/marker-bubble.js.map +1 -0
  26. package/plugins/cesium-vue/dist/components/marker-default.js +6 -5
  27. package/plugins/cesium-vue/dist/components/marker-default.js.map +1 -0
  28. package/plugins/cesium-vue/dist/components/marker-html.js +6 -5
  29. package/plugins/cesium-vue/dist/components/marker-html.js.map +1 -0
  30. package/plugins/cesium-vue/dist/components/marker-manage.js +112 -94
  31. package/plugins/cesium-vue/dist/components/marker-manage.js.map +1 -0
  32. package/plugins/cesium-vue/dist/components/marker-text.js +6 -5
  33. package/plugins/cesium-vue/dist/components/marker-text.js.map +1 -0
  34. package/plugins/cesium-vue/dist/components/measurement.js +4 -3
  35. package/plugins/cesium-vue/dist/components/measurement.js.map +1 -0
  36. package/plugins/cesium-vue/dist/components/position-picker/index.d.ts +58 -0
  37. package/plugins/cesium-vue/dist/components/position-picker.d.ts +6 -0
  38. package/plugins/cesium-vue/dist/components/position-picker.js +243 -0
  39. package/plugins/cesium-vue/dist/components/position-picker.js.map +1 -0
  40. package/plugins/cesium-vue/dist/create-DynflqE1.js +1 -0
  41. package/plugins/cesium-vue/dist/create-DynflqE1.js.map +1 -0
  42. package/plugins/cesium-vue/dist/{index-B03tSn8_.js → index-C0pspk3x.js} +3 -2
  43. package/plugins/cesium-vue/dist/index-C0pspk3x.js.map +1 -0
  44. package/plugins/cesium-vue/dist/index-CUs_hd1V.js +1 -0
  45. package/plugins/cesium-vue/dist/index-CUs_hd1V.js.map +1 -0
  46. package/plugins/cesium-vue/dist/index.d.ts +3 -1
  47. package/plugins/cesium-vue/dist/index.js +31 -27
  48. package/plugins/cesium-vue/dist/index.js.map +1 -0
  49. package/plugins/cesium-vue/package.json +4 -0
  50. package/plugins/theme-chalk/dist/debug.log +1 -0
  51. package/plugins/.gitmodules +0 -4
  52. package/plugins/README.md +0 -2
  53. package/plugins/build.cjs +0 -63
  54. package/plugins/cesium-core/pnpm-lock.yaml +0 -872
  55. package/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +0 -546
  56. package/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +0 -489
  57. package/plugins/cesium-core/src/components/MarkerEvent.ts +0 -92
  58. package/plugins/cesium-core/src/components/Material/MaterialManager.ts +0 -129
  59. package/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +0 -116
  60. package/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +0 -236
  61. package/plugins/cesium-core/src/components/Material/index.ts +0 -3
  62. package/plugins/cesium-core/src/components/TooltipManager.ts +0 -52
  63. package/plugins/cesium-core/src/components/draw/DrawTool.ts +0 -55
  64. package/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +0 -159
  65. package/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +0 -113
  66. package/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +0 -70
  67. package/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +0 -112
  68. package/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +0 -115
  69. package/plugins/cesium-core/src/components/draw/types.ts +0 -28
  70. package/plugins/cesium-core/src/components/entity/EntityLayer.ts +0 -453
  71. package/plugins/cesium-core/src/components/gltf/GLTFManage.ts +0 -799
  72. package/plugins/cesium-core/src/components/gltf/index.ts +0 -1
  73. package/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +0 -416
  74. package/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +0 -552
  75. package/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +0 -289
  76. package/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +0 -139
  77. package/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +0 -427
  78. package/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +0 -356
  79. package/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +0 -516
  80. package/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +0 -472
  81. package/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +0 -250
  82. package/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +0 -185
  83. package/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +0 -561
  84. package/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +0 -361
  85. package/plugins/cesium-core/src/components/measurement/index.ts +0 -13
  86. package/plugins/cesium-core/src/components/measurement/types.ts +0 -57
  87. package/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +0 -556
  88. package/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +0 -286
  89. package/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +0 -174
  90. package/plugins/cesium-core/src/components/roaming/index.ts +0 -3
  91. package/plugins/cesium-core/src/components/roaming/types.ts +0 -71
  92. package/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +0 -98
  93. package/plugins/cesium-core/src/components/utils/uuid.ts +0 -7
  94. package/plugins/cesium-core/src/index.ts +0 -17
  95. package/plugins/cesium-core/src/test/measurement/index.html +0 -166
  96. package/plugins/cesium-core/src/test/roaming/c.gltf +0 -1
  97. package/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
  98. package/plugins/cesium-core/src/test/roaming/index.html +0 -51
  99. package/plugins/cesium-core/src/test/roaming/path.html +0 -448
  100. package/plugins/cesium-core/src/test/roaming/view.html +0 -520
  101. package/plugins/cesium-core/stats.html +0 -4949
  102. package/plugins/cesium-core/tsconfig.json +0 -14
  103. package/plugins/cesium-core/vite.config.ts +0 -35
  104. package/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
  105. package/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
  106. package/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
  107. package/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
  108. package/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
  109. package/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
  110. package/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
  111. package/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
  112. package/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
  113. package/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
  114. package/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
  115. package/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
  116. package/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
  117. package/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
  118. package/plugins/cesium-vue/src/components/basic-audio/index.ts +0 -6
  119. package/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +0 -119
  120. package/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +0 -6
  121. package/plugins/cesium-vue/src/components/basic-video/index.ts +0 -7
  122. package/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +0 -58
  123. package/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +0 -14
  124. package/plugins/cesium-vue/src/components/card-carousel/index.ts +0 -7
  125. package/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +0 -124
  126. package/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +0 -60
  127. package/plugins/cesium-vue/src/components/card-content/index.ts +0 -7
  128. package/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +0 -41
  129. package/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +0 -22
  130. package/plugins/cesium-vue/src/components/card-page/index.ts +0 -7
  131. package/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +0 -102
  132. package/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +0 -37
  133. package/plugins/cesium-vue/src/components/carousel-img/index.ts +0 -7
  134. package/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +0 -84
  135. package/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +0 -8
  136. package/plugins/cesium-vue/src/components/echarts-pro/index.ts +0 -7
  137. package/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +0 -107
  138. package/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +0 -12
  139. package/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +0 -55
  140. package/plugins/cesium-vue/src/components/marker-bubble/index.ts +0 -7
  141. package/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +0 -235
  142. package/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +0 -35
  143. package/plugins/cesium-vue/src/components/marker-default/index.ts +0 -7
  144. package/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +0 -19
  145. package/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +0 -12
  146. package/plugins/cesium-vue/src/components/marker-html/index.ts +0 -7
  147. package/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +0 -21
  148. package/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +0 -12
  149. package/plugins/cesium-vue/src/components/marker-manage/index.ts +0 -9
  150. package/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +0 -106
  151. package/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +0 -8
  152. package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +0 -466
  153. package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +0 -148
  154. package/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +0 -45
  155. package/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +0 -75
  156. package/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +0 -154
  157. package/plugins/cesium-vue/src/components/marker-text/index.ts +0 -7
  158. package/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +0 -14
  159. package/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +0 -10
  160. package/plugins/cesium-vue/src/components/measurement/index.ts +0 -7
  161. package/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +0 -183
  162. package/plugins/cesium-vue/src/components/measurement/src/measurement.ts +0 -20
  163. package/plugins/cesium-vue/src/index.ts +0 -89
  164. package/plugins/cesium-vue/stats.html +0 -4949
  165. package/plugins/cesium-vue/tsconfig.json +0 -18
  166. package/plugins/cesium-vue/vite.config.ts +0 -62
  167. package/plugins/plugins/README.md +0 -2
  168. package/plugins/plugins/build.cjs +0 -63
  169. package/plugins/plugins/cesium-core/dist/cesium-core.mjs +0 -5881
  170. package/plugins/plugins/cesium-core/dist/cesium-core.mjs.map +0 -1
  171. package/plugins/plugins/cesium-core/dist/cesium-core.umd.js +0 -77
  172. package/plugins/plugins/cesium-core/dist/cesium-core.umd.js.map +0 -1
  173. package/plugins/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +0 -73
  174. package/plugins/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +0 -152
  175. package/plugins/plugins/cesium-core/dist/components/MarkerEvent.d.ts +0 -38
  176. package/plugins/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +0 -49
  177. package/plugins/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +0 -10
  178. package/plugins/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +0 -16
  179. package/plugins/plugins/cesium-core/dist/components/Material/index.d.ts +0 -3
  180. package/plugins/plugins/cesium-core/dist/components/TooltipManager.d.ts +0 -11
  181. package/plugins/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +0 -10
  182. package/plugins/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +0 -16
  183. package/plugins/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +0 -14
  184. package/plugins/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +0 -12
  185. package/plugins/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +0 -14
  186. package/plugins/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +0 -13
  187. package/plugins/plugins/cesium-core/dist/components/draw/types.d.ts +0 -29
  188. package/plugins/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +0 -65
  189. package/plugins/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +0 -141
  190. package/plugins/plugins/cesium-core/dist/components/gltf/index.d.ts +0 -1
  191. package/plugins/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +0 -34
  192. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +0 -23
  193. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +0 -21
  194. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +0 -16
  195. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +0 -25
  196. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +0 -24
  197. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +0 -22
  198. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +0 -23
  199. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +0 -20
  200. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +0 -18
  201. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +0 -24
  202. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +0 -23
  203. package/plugins/plugins/cesium-core/dist/components/measurement/index.d.ts +0 -13
  204. package/plugins/plugins/cesium-core/dist/components/measurement/types.d.ts +0 -42
  205. package/plugins/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +0 -50
  206. package/plugins/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +0 -27
  207. package/plugins/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +0 -23
  208. package/plugins/plugins/cesium-core/dist/components/roaming/index.d.ts +0 -3
  209. package/plugins/plugins/cesium-core/dist/components/roaming/types.d.ts +0 -66
  210. package/plugins/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +0 -1
  211. package/plugins/plugins/cesium-core/dist/components/utils/uuid.d.ts +0 -1
  212. package/plugins/plugins/cesium-core/dist/index.d.ts +0 -12
  213. package/plugins/plugins/cesium-core/package.json +0 -26
  214. package/plugins/plugins/cesium-core/pnpm-lock.yaml +0 -872
  215. package/plugins/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +0 -546
  216. package/plugins/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +0 -489
  217. package/plugins/plugins/cesium-core/src/components/MarkerEvent.ts +0 -92
  218. package/plugins/plugins/cesium-core/src/components/Material/MaterialManager.ts +0 -129
  219. package/plugins/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +0 -116
  220. package/plugins/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +0 -236
  221. package/plugins/plugins/cesium-core/src/components/Material/index.ts +0 -3
  222. package/plugins/plugins/cesium-core/src/components/TooltipManager.ts +0 -52
  223. package/plugins/plugins/cesium-core/src/components/draw/DrawTool.ts +0 -55
  224. package/plugins/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +0 -159
  225. package/plugins/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +0 -113
  226. package/plugins/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +0 -70
  227. package/plugins/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +0 -112
  228. package/plugins/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +0 -115
  229. package/plugins/plugins/cesium-core/src/components/draw/types.ts +0 -28
  230. package/plugins/plugins/cesium-core/src/components/entity/EntityLayer.ts +0 -453
  231. package/plugins/plugins/cesium-core/src/components/gltf/GLTFManage.ts +0 -799
  232. package/plugins/plugins/cesium-core/src/components/gltf/index.ts +0 -1
  233. package/plugins/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +0 -416
  234. package/plugins/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +0 -451
  235. package/plugins/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +0 -267
  236. package/plugins/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +0 -139
  237. package/plugins/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +0 -418
  238. package/plugins/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +0 -352
  239. package/plugins/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +0 -388
  240. package/plugins/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +0 -379
  241. package/plugins/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +0 -246
  242. package/plugins/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +0 -185
  243. package/plugins/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +0 -541
  244. package/plugins/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +0 -360
  245. package/plugins/plugins/cesium-core/src/components/measurement/index.ts +0 -13
  246. package/plugins/plugins/cesium-core/src/components/measurement/types.ts +0 -57
  247. package/plugins/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +0 -556
  248. package/plugins/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +0 -286
  249. package/plugins/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +0 -174
  250. package/plugins/plugins/cesium-core/src/components/roaming/index.ts +0 -3
  251. package/plugins/plugins/cesium-core/src/components/roaming/types.ts +0 -71
  252. package/plugins/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +0 -98
  253. package/plugins/plugins/cesium-core/src/components/utils/uuid.ts +0 -7
  254. package/plugins/plugins/cesium-core/src/index.ts +0 -17
  255. package/plugins/plugins/cesium-core/src/test/measurement/index.html +0 -166
  256. package/plugins/plugins/cesium-core/src/test/roaming/c.gltf +0 -1
  257. package/plugins/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
  258. package/plugins/plugins/cesium-core/src/test/roaming/index.html +0 -51
  259. package/plugins/plugins/cesium-core/src/test/roaming/path.html +0 -448
  260. package/plugins/plugins/cesium-core/src/test/roaming/view.html +0 -520
  261. package/plugins/plugins/cesium-core/stats.html +0 -4949
  262. package/plugins/plugins/cesium-core/tsconfig.json +0 -14
  263. package/plugins/plugins/cesium-core/vite.config.ts +0 -35
  264. package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +0 -18
  265. package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts.map +0 -1
  266. package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts +0 -92
  267. package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts.map +0 -1
  268. package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts +0 -82
  269. package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts.map +0 -1
  270. package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +0 -152
  271. package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts.map +0 -1
  272. package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts +0 -21
  273. package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts.map +0 -1
  274. package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts +0 -69
  275. package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts.map +0 -1
  276. package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +0 -21
  277. package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts.map +0 -1
  278. package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +0 -68
  279. package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts.map +0 -1
  280. package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +0 -78
  281. package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts.map +0 -1
  282. package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts +0 -48
  283. package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts.map +0 -1
  284. package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts +0 -48
  285. package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts.map +0 -1
  286. package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +0 -164
  287. package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts.map +0 -1
  288. package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts +0 -30
  289. package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts.map +0 -1
  290. package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts +0 -78
  291. package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts.map +0 -1
  292. package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts +0 -82
  293. package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts.map +0 -1
  294. package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts +0 -67
  295. package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts.map +0 -1
  296. package/plugins/plugins/cesium-vue/dist/index.css +0 -1
  297. package/plugins/plugins/cesium-vue/dist/index.d.ts +0 -30
  298. package/plugins/plugins/cesium-vue/dist/index.d.ts.map +0 -1
  299. package/plugins/plugins/cesium-vue/dist/index.js +0 -10087
  300. package/plugins/plugins/cesium-vue/dist/index.js.map +0 -1
  301. package/plugins/plugins/cesium-vue/dist/index.umd.cjs +0 -46
  302. package/plugins/plugins/cesium-vue/dist/index.umd.cjs.map +0 -1
  303. package/plugins/plugins/cesium-vue/package.json +0 -48
  304. package/plugins/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
  305. package/plugins/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
  306. package/plugins/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
  307. package/plugins/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
  308. package/plugins/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
  309. package/plugins/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
  310. package/plugins/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
  311. package/plugins/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
  312. package/plugins/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
  313. package/plugins/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
  314. package/plugins/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
  315. package/plugins/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
  316. package/plugins/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
  317. package/plugins/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
  318. package/plugins/plugins/cesium-vue/src/components/basic-audio/index.ts +0 -11
  319. package/plugins/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +0 -110
  320. package/plugins/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +0 -6
  321. package/plugins/plugins/cesium-vue/src/components/basic-video/index.ts +0 -12
  322. package/plugins/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +0 -99
  323. package/plugins/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +0 -13
  324. package/plugins/plugins/cesium-vue/src/components/camera-roam/index.ts +0 -4
  325. package/plugins/plugins/cesium-vue/src/components/camera-roam/src/CameraRoam.vue +0 -434
  326. package/plugins/plugins/cesium-vue/src/components/camera-roam/src/cameraRoam.ts +0 -28
  327. package/plugins/plugins/cesium-vue/src/components/card-carousel/index.ts +0 -12
  328. package/plugins/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +0 -124
  329. package/plugins/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +0 -60
  330. package/plugins/plugins/cesium-vue/src/components/card-content/index.ts +0 -12
  331. package/plugins/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +0 -41
  332. package/plugins/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +0 -22
  333. package/plugins/plugins/cesium-vue/src/components/card-page/index.ts +0 -12
  334. package/plugins/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +0 -102
  335. package/plugins/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +0 -37
  336. package/plugins/plugins/cesium-vue/src/components/carousel-img/index.ts +0 -12
  337. package/plugins/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +0 -15
  338. package/plugins/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +0 -6
  339. package/plugins/plugins/cesium-vue/src/components/echarts-pro/index.ts +0 -12
  340. package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +0 -107
  341. package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +0 -12
  342. package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +0 -55
  343. package/plugins/plugins/cesium-vue/src/components/marker-bubble/index.ts +0 -12
  344. package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +0 -235
  345. package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +0 -35
  346. package/plugins/plugins/cesium-vue/src/components/marker-default/index.ts +0 -12
  347. package/plugins/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +0 -19
  348. package/plugins/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +0 -12
  349. package/plugins/plugins/cesium-vue/src/components/marker-html/index.ts +0 -12
  350. package/plugins/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +0 -21
  351. package/plugins/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +0 -12
  352. package/plugins/plugins/cesium-vue/src/components/marker-manage/index.ts +0 -14
  353. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +0 -106
  354. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +0 -8
  355. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +0 -466
  356. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +0 -148
  357. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +0 -45
  358. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +0 -75
  359. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +0 -154
  360. package/plugins/plugins/cesium-vue/src/components/marker-text/index.ts +0 -12
  361. package/plugins/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +0 -14
  362. package/plugins/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +0 -10
  363. package/plugins/plugins/cesium-vue/src/components/measurement/index.ts +0 -12
  364. package/plugins/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +0 -183
  365. package/plugins/plugins/cesium-vue/src/components/measurement/src/measurement.ts +0 -20
  366. package/plugins/plugins/cesium-vue/src/components/path-roam/index.ts +0 -4
  367. package/plugins/plugins/cesium-vue/src/components/path-roam/src/PathRoam.vue +0 -429
  368. package/plugins/plugins/cesium-vue/src/components/path-roam/src/pathRoam.ts +0 -28
  369. package/plugins/plugins/cesium-vue/src/components/test/CardMarker.vue +0 -150
  370. package/plugins/plugins/cesium-vue/src/components/test/CesiumMarker.vue +0 -34
  371. package/plugins/plugins/cesium-vue/src/components/test/CesiumViewer.vue +0 -77
  372. package/plugins/plugins/cesium-vue/src/components/test/MyLabel.vue +0 -25
  373. package/plugins/plugins/cesium-vue/src/components/test/index.ts +0 -28
  374. package/plugins/plugins/cesium-vue/src/index.ts +0 -83
  375. package/plugins/plugins/cesium-vue/stats.html +0 -4949
  376. package/plugins/plugins/cesium-vue/tsconfig.json +0 -18
  377. package/plugins/plugins/cesium-vue/vite.config.ts +0 -56
  378. package/plugins/plugins/theme-chalk/dist/theme-chalk.css +0 -819
  379. package/plugins/plugins/theme-chalk/index.less +0 -11
  380. package/plugins/plugins/theme-chalk/package.json +0 -27
  381. package/plugins/plugins/theme-chalk/src/basicAudio.less +0 -41
  382. package/plugins/plugins/theme-chalk/src/basicVideo.less +0 -17
  383. package/plugins/plugins/theme-chalk/src/cameraRoam.less +0 -239
  384. package/plugins/plugins/theme-chalk/src/cardCarousel.less +0 -71
  385. package/plugins/plugins/theme-chalk/src/cardContent.less +0 -73
  386. package/plugins/plugins/theme-chalk/src/cardPage.less +0 -61
  387. package/plugins/plugins/theme-chalk/src/carouselImg.less +0 -34
  388. package/plugins/plugins/theme-chalk/src/marker.less +0 -107
  389. package/plugins/plugins/theme-chalk/src/markerManage.less +0 -25
  390. package/plugins/plugins/theme-chalk/src/measurement.less +0 -106
  391. package/plugins/plugins/theme-chalk/src/mixins/config.less +0 -4
  392. package/plugins/plugins/theme-chalk/src/mixins/mixins.less +0 -64
  393. package/plugins/plugins/theme-chalk/src/pathRoam.less +0 -198
  394. package/plugins/plugins/utils/create.ts +0 -45
  395. package/plugins/plugins/utils/package.json +0 -12
  396. package/plugins/plugins/utils/uuid.ts +0 -43
  397. package/plugins/plugins/utils/with-install.ts +0 -10
  398. package/plugins/theme-chalk/index.less +0 -11
  399. package/plugins/theme-chalk/src/basicAudio.less +0 -44
  400. package/plugins/theme-chalk/src/basicVideo.less +0 -17
  401. package/plugins/theme-chalk/src/cameraRoam.less +0 -239
  402. package/plugins/theme-chalk/src/cardCarousel.less +0 -71
  403. package/plugins/theme-chalk/src/cardContent.less +0 -73
  404. package/plugins/theme-chalk/src/cardPage.less +0 -61
  405. package/plugins/theme-chalk/src/carouselImg.less +0 -66
  406. package/plugins/theme-chalk/src/marker.less +0 -107
  407. package/plugins/theme-chalk/src/markerManage.less +0 -25
  408. package/plugins/theme-chalk/src/measurement.less +0 -106
  409. package/plugins/theme-chalk/src/mixins/config.less +0 -4
  410. package/plugins/theme-chalk/src/mixins/mixins.less +0 -64
  411. package/plugins/theme-chalk/src/pathRoam.less +0 -198
@@ -1,73 +0,0 @@
1
- import { HtmlOverlayLabelPool } from './HtmlOverlayLabelPool';
2
- interface PointData {
3
- id: string;
4
- lon: number;
5
- lat: number;
6
- height: number;
7
- name: string;
8
- data: {
9
- [key: string]: any;
10
- };
11
- [key: string]: any;
12
- }
13
- interface AggregatorOptions {
14
- labelPool: HtmlOverlayLabelPool;
15
- threshold?: number;
16
- displayLimit?: number;
17
- maxLevel?: number;
18
- debugCurrentGrids?: boolean;
19
- clusterTheme?: string;
20
- pointTheme?: string;
21
- centralPointMode?: string;
22
- minGlobalPointCount?: number;
23
- groupByTheme?: boolean;
24
- }
25
- interface GridLevel {
26
- level: number;
27
- size: number;
28
- minViewWidth: number;
29
- }
30
- export { PointData, GridLevel, AggregatorOptions };
31
- export declare class BufferedHierarchicalAggregator {
32
- private Cesium;
33
- private viewer;
34
- labelPool: HtmlOverlayLabelPool;
35
- private threshold;
36
- private displayLimit;
37
- private maxLevel;
38
- private debugCurrentGrids;
39
- private levels;
40
- private points;
41
- private gridLayers;
42
- private debugGrids;
43
- private _updateFn;
44
- private clusterTheme;
45
- private pointTheme;
46
- private centralPointMode;
47
- private minGlobalPointCount;
48
- private groupByTheme;
49
- private tilingScheme;
50
- private levelIndexByTileLevel;
51
- private _updateTimer;
52
- private _updateDelay;
53
- private _tilesRetryCount;
54
- private _tilesRetryMax;
55
- constructor(Cesium: any, viewer: any, options: AggregatorOptions);
56
- setGroupByTheme(groupByTheme: boolean, rebuild?: boolean, update?: boolean): void;
57
- setMinGlobalPointCount(count: number, update?: boolean): void;
58
- setThreshold(threshold: number, update?: boolean): void;
59
- setDebugCurrentGrids(debug: boolean, update?: boolean): void;
60
- private _createLevels;
61
- addPoints(points: PointData[]): void;
62
- appendPoints(newPoints: PointData[], isUpdate?: boolean): void;
63
- private _scheduleUpdate;
64
- updatePoint(newData: Partial<PointData>): void;
65
- removePointsById(ids: string[]): void;
66
- private _buildLevels;
67
- private _addPointToGrid;
68
- private _update;
69
- refresh(): void;
70
- private _drawDebugGrid;
71
- private _clearDebugGrids;
72
- destroy(): void;
73
- }
@@ -1,152 +0,0 @@
1
- import { MarkerEventKey, MarkerEventBus } from './MarkerEvent';
2
- /**
3
- * 单个标签实例
4
- */
5
- interface LabelInstance {
6
- id: string;
7
- el: HTMLDivElement;
8
- theme: string;
9
- data?: any;
10
- notCreateElement?: boolean;
11
- unload?: any;
12
- }
13
- /**
14
- * 主题配置项
15
- */
16
- interface ThemeOptions {
17
- /**
18
- * 创建标签 DOM 内容的方法
19
- */
20
- createElement: (el: HTMLDivElement, context: {
21
- id: string;
22
- theme: string;
23
- data: any;
24
- }, options: ThemeOptions) => any;
25
- /**
26
- * 可选配置,如偏移量
27
- */
28
- options?: {
29
- offset?: {
30
- x?: number;
31
- y?: number;
32
- };
33
- };
34
- }
35
- /**
36
- * 标签添加时的参数
37
- */
38
- interface LabelOptions {
39
- id: string;
40
- lon: number;
41
- lat: number;
42
- height?: number;
43
- theme: string;
44
- show?: boolean;
45
- notCreateElement?: boolean;
46
- style?: {
47
- [key: string]: string;
48
- };
49
- }
50
- export { LabelOptions, LabelInstance, ThemeOptions };
51
- /**
52
- * 自定义事件与 DOM 事件的映射
53
- */
54
- export declare const DOM_EVENT_MAP: Record<MarkerEventKey, keyof HTMLElementEventMap>;
55
- /**
56
- * 用于管理 Cesium HTML 标签的池,支持主题渲染、事件分发、动态更新等功能
57
- */
58
- export declare class HtmlOverlayLabelPool {
59
- private viewer;
60
- private Cesium;
61
- private container;
62
- private labels;
63
- private activeIds;
64
- private _updateFn;
65
- private themes;
66
- eventBus: MarkerEventBus;
67
- openWheel: boolean;
68
- /**
69
- * 构造函数
70
- * @param Cesium Cesium 命名空间
71
- * @param viewer Cesium Viewer 实例
72
- * @param containerId HTML 容器 ID(默认:"html-label-container")
73
- * @param eventBus 可选:自定义事件总线
74
- */
75
- constructor(Cesium: any, viewer: any, containerId?: string, eventBus?: MarkerEventBus, openWheel?: boolean);
76
- /**
77
- * 创建标签容器
78
- */
79
- private _createContainer;
80
- /**
81
- * 注册标签主题
82
- */
83
- registerTheme(themeName: string, options: ThemeOptions): void;
84
- /**
85
- * 添加单个标签
86
- */
87
- add(data: any, options: LabelOptions): void;
88
- /**
89
- * 批量添加标签
90
- */
91
- addBatch(items: Array<{
92
- data: any;
93
- options: LabelOptions;
94
- }>): void;
95
- /**
96
- * 根据 ID 批量移除标签
97
- */
98
- removeByIds(ids: string[]): void;
99
- unloadByLabel(label: LabelInstance): void;
100
- /**
101
- * 移除所有标签
102
- */
103
- removeAll(): void;
104
- /**
105
- * 更新标签的数据并刷新内容
106
- */
107
- update(id: string, newData: any): void;
108
- /**
109
- * 根据 ID 批量隐藏标签
110
- */
111
- hideByIds(ids: string[]): void;
112
- /**
113
- * 隐藏所有标签
114
- */
115
- hideAll(): void;
116
- /**
117
- * 条件过滤隐藏标签
118
- */
119
- hideFilter(filter: (data: any) => boolean): void;
120
- /**
121
- * 根据 ID 显示标签
122
- */
123
- showByIds(ids: string[]): void;
124
- /**
125
- * 检查标签是否存在
126
- */
127
- has(id: string): boolean;
128
- /**
129
- * 清空活跃 ID 列表(不影响 DOM)
130
- */
131
- reset(): void;
132
- /**
133
- * 清理当前未活跃的标签(隐藏而不移除 DOM)
134
- */
135
- cleanup(): void;
136
- /**
137
- * 经纬度 -> 自动地形高度修正 -> Cartesian3 -> 屏幕坐标
138
- */
139
- toWindowPositionByLonLat(lon: number, lat: number): Promise<any>;
140
- /**
141
- * 坐标转换:经纬度 -> 屏幕像素坐标
142
- */
143
- toWindowCoordinates(position: any): any;
144
- /**
145
- * 每帧刷新所有活跃标签的位置
146
- */
147
- private _update;
148
- /**
149
- * 销毁标签池,清理监听器和 DOM
150
- */
151
- destroy(): void;
152
- }
@@ -1,38 +0,0 @@
1
- export declare enum MarkerEventKey {
2
- Click = "marker:click",
3
- DoubleClick = "marker:dblclick",
4
- RightClick = "marker:rightclick",
5
- MouseEnter = "marker:mouseenter",
6
- MouseLeave = "marker:mouseleave",
7
- MouseDown = "marker:mousedown",
8
- MouseUp = "marker:mouseup"
9
- }
10
- interface ListenerItem<T = any> {
11
- name: string;
12
- fn: (data: T, event: Event) => void;
13
- once?: boolean;
14
- }
15
- export { ListenerItem };
16
- export declare class MarkerEventBus {
17
- private listenerMap;
18
- /**
19
- * 添加监听器
20
- * @param key 事件 key
21
- * @param listener 监听器项
22
- * @param overwrite 是否覆盖同名监听器
23
- * @returns 是否成功添加
24
- */
25
- addListener(key: MarkerEventKey, listener: ListenerItem, overwrite?: boolean): boolean;
26
- /**
27
- * 移除某个 key 的所有监听器
28
- */
29
- removeListenerByKey(key: MarkerEventKey): boolean;
30
- /**
31
- * 移除某个 key 下的指定名字的监听器
32
- */
33
- removeListenerByKeyAndName(key: MarkerEventKey, name: string): boolean;
34
- /**
35
- * 运行监听器
36
- */
37
- runListener<T = any>(key: MarkerEventKey, data: T, e: Event): void;
38
- }
@@ -1,49 +0,0 @@
1
- interface RegisterOptions {
2
- themeKey: string;
3
- material: any;
4
- force?: boolean;
5
- category?: string;
6
- }
7
- export declare class MaterialManager {
8
- private categoryMap;
9
- private CategoryGet;
10
- constructor();
11
- registerCategoryGet(category: string, fn: Function): void;
12
- /**
13
- * 注册材质
14
- */
15
- register(options: RegisterOptions): void;
16
- /**
17
- * 获取材质
18
- */
19
- get({ themeKey, category, options, }: {
20
- themeKey: string;
21
- category?: string;
22
- options?: any;
23
- }): any | undefined;
24
- /**
25
- * 是否存在
26
- */
27
- has(themeKey: string, category?: string): boolean;
28
- /**
29
- * 移除材质
30
- */
31
- remove(themeKey: string, category?: string): void;
32
- /**
33
- * 获取某分类下的所有 keys
34
- */
35
- keys(category?: string): string[];
36
- /**
37
- * 清空某个分类
38
- */
39
- clearCategory(category?: string): void;
40
- /**
41
- * 清空所有
42
- */
43
- clearAll(): void;
44
- /**
45
- * 获取所有分类
46
- */
47
- categories(): string[];
48
- }
49
- export {};
@@ -1,10 +0,0 @@
1
- interface PolylineFlowMaterialOptions {
2
- color?: any;
3
- duration?: number;
4
- materialType?: string;
5
- }
6
- /**
7
- * 注册 polyline 流动材质并返回对应的 MaterialProperty
8
- */
9
- export declare function getPolylineFlowMaterialProperty(Cesium: any, options: PolylineFlowMaterialOptions): any;
10
- export {};
@@ -1,16 +0,0 @@
1
- interface DynamicImgMaterialOptions {
2
- color?: any;
3
- duration?: number;
4
- image: string;
5
- count: number;
6
- freely?: 'vertical' | 'horizontal';
7
- direction: string;
8
- isCustomColor?: boolean;
9
- materialType?: string;
10
- }
11
- /**
12
- * 注册动态图片材质并返回 TrailLineMaterialProperty 实例
13
- */
14
- export declare function getDynamicImgMaterial(Cesium: any, options: DynamicImgMaterialOptions): any;
15
- export declare function getWallMaterial(Cesium: any, options: any): any;
16
- export {};
@@ -1,3 +0,0 @@
1
- export { getDynamicImgMaterial, getWallMaterial } from './help/dynamicImgMaterial';
2
- export { getPolylineFlowMaterialProperty } from './help/PolylineFlowMaterialProperty';
3
- export { MaterialManager } from './MaterialManager';
@@ -1,11 +0,0 @@
1
- export declare class TooltipManager {
2
- private tooltipEl;
3
- private visible;
4
- private offsetX;
5
- private offsetY;
6
- private onMouseMove;
7
- constructor();
8
- show(text: string): void;
9
- hide(): void;
10
- destroy(): void;
11
- }
@@ -1,10 +0,0 @@
1
- import { DrawType, DrawOptions } from './types';
2
- export declare class DrawTool {
3
- private viewer;
4
- private Cesium;
5
- private activeDrawer;
6
- constructor(Cesium: any, viewer: any);
7
- draw(type: DrawType, options: DrawOptions): void;
8
- clear(): void;
9
- cancel(): void;
10
- }
@@ -1,16 +0,0 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class CircleDrawer implements IDrawer {
3
- private viewer;
4
- private Cesium;
5
- private handler;
6
- private entity;
7
- private positions;
8
- private _isDrawing;
9
- private currentRadius;
10
- constructor(CesiumInstance: any, viewerInstance: any);
11
- startDrawing(options: DrawOptions): void;
12
- private drawPreviewCircle;
13
- private drawFinalCircle;
14
- stopDrawing(): void;
15
- clear(): void;
16
- }
@@ -1,14 +0,0 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class LineDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private positions;
7
- private entity;
8
- private tooltip;
9
- private tempPoints;
10
- constructor(Cesium: any, viewer: any);
11
- startDrawing(options: DrawOptions): void;
12
- stopDrawing(): void;
13
- clear(): void;
14
- }
@@ -1,12 +0,0 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class PointDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private entity;
7
- private tooltip;
8
- constructor(Cesium: any, viewer: any);
9
- startDrawing(options: DrawOptions): void;
10
- stopDrawing(): void;
11
- clear(): void;
12
- }
@@ -1,14 +0,0 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class PolygonDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private positions;
7
- private entity;
8
- private tooltip;
9
- private tempPoints;
10
- constructor(Cesium: any, viewer: any);
11
- startDrawing(options: DrawOptions): void;
12
- stopDrawing(): void;
13
- clear(): void;
14
- }
@@ -1,13 +0,0 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class RectangleDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private startPoint;
7
- private endPoint;
8
- private entity;
9
- constructor(Cesium: any, viewer: any);
10
- startDrawing(options: DrawOptions): void;
11
- stopDrawing(): void;
12
- clear(): void;
13
- }
@@ -1,29 +0,0 @@
1
- export type DrawType = 'point' | 'line' | 'rectangle' | 'circle' | 'square' | 'polygon';
2
- export interface DrawOptions {
3
- clampToGround?: boolean;
4
- color?: any;
5
- width?: number;
6
- step?: number;
7
- onComplete?: (entity: any) => void;
8
- }
9
- export interface IDrawer {
10
- startDrawing(options: DrawOptions): void;
11
- stopDrawing(): void;
12
- clear(): void;
13
- }
14
- export interface DrawResult {
15
- entity: any;
16
- position?: Number[];
17
- lnglat?: {
18
- lng: number;
19
- lat: number;
20
- height: number;
21
- };
22
- positions?: Number[];
23
- lnglats?: {
24
- lng: number;
25
- lat: number;
26
- height: number;
27
- }[];
28
- clear: Function;
29
- }
@@ -1,65 +0,0 @@
1
- import { BufferedHierarchicalAggregator } from '../BufferedHierarchicalAggregator';
2
- import { HtmlOverlayLabelPool } from '../HtmlOverlayLabelPool';
3
- import { MaterialManager } from '../Material/MaterialManager';
4
- interface EntityGroupOptions {
5
- id: string;
6
- entities?: any[];
7
- primitives?: any[];
8
- dataItem?: any;
9
- aggregator?: BufferedHierarchicalAggregator;
10
- cardPool: HtmlOverlayLabelPool;
11
- }
12
- export declare class EntityGroup {
13
- id: string;
14
- entities: any[];
15
- primitives: any[];
16
- dataItem: any;
17
- aggregator?: BufferedHierarchicalAggregator;
18
- cardPool: HtmlOverlayLabelPool;
19
- constructor(options: EntityGroupOptions);
20
- setVisible(visible: boolean): void;
21
- removeAll(viewer: any, immediately?: boolean): any;
22
- }
23
- export declare class EntityLayer {
24
- id: string;
25
- groupMap: Map<string, EntityGroup>;
26
- Cesium: any;
27
- viewer: any;
28
- materialManager: MaterialManager;
29
- aggregator: BufferedHierarchicalAggregator;
30
- cardPool: HtmlOverlayLabelPool;
31
- constructor(id: string, Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
32
- /** ====== 下面是抽出的创建函数 ====== */
33
- private createPolyline;
34
- private createWall;
35
- private createPolygon;
36
- private createBillboardPoints;
37
- private createCard;
38
- /** ====== 主入口:仅保留循环,内部调用独立函数 ====== */
39
- addGroup(dataItem: any, isAppendPoints?: boolean): any;
40
- addGroups(dataItemList: any): Promise<void>;
41
- removeGroup(groupId: string): void;
42
- removeGroups(groupIds: string[]): void;
43
- updateGroup(dataItem: any): void;
44
- updateGroups(dataItemList: Array<any>): Promise<void>;
45
- setGroupVisible(groupId: string, visible: boolean): void;
46
- clearAllGroups(): void;
47
- }
48
- export declare class EntityLayerManager {
49
- Cesium: any;
50
- viewer: any;
51
- layerMap: Map<string, EntityLayer>;
52
- materialManager: MaterialManager;
53
- aggregator: BufferedHierarchicalAggregator;
54
- cardPool: HtmlOverlayLabelPool;
55
- constructor(Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
56
- addLayer(layerId: string): void;
57
- removeLayer(layerId: string): void;
58
- getLayer(layerId: string): EntityLayer | undefined;
59
- addGroupsToLayer(layerId: string, dataList: any[]): Promise<void>;
60
- updateGroupToLayer(layerId: string, dataList: any[]): void;
61
- setGroupVisible(layerId: string, groupId: string, visible: boolean): void;
62
- removeGroup(layerId: string, groupId: string): void;
63
- removeGroups(layerId: string, groupIds: string[]): void;
64
- }
65
- export {};
@@ -1,141 +0,0 @@
1
- export declare enum EditMode {
2
- Rotate = "rotate",
3
- Move = "move",
4
- Scale = "scale",
5
- MoveHeight = "moveHeight",
6
- Empty = ""
7
- }
8
- export declare enum GLTFManageEventKey {
9
- Scale = "addScale",
10
- Rotate = "rotate",
11
- Translation = "translation",
12
- Remove = "removeById",
13
- Add = "add"
14
- }
15
- export declare class GLTFManage {
16
- primitives: Map<string, any>;
17
- eventListener: Map<string, Object[]>;
18
- Cesium: any;
19
- viewer: any;
20
- handler: any;
21
- rotationRing: any;
22
- translationSquare: any;
23
- heightArrow: any;
24
- editMode: EditMode;
25
- dragEndCallbackMap: Map<string, any>;
26
- constructor(options: {
27
- Cesium: any;
28
- viewer: any;
29
- });
30
- /**
31
- * @description: 初始化模型
32
- * @param {Array<any>} models 模型数据列表
33
- * @return {*}
34
- */
35
- init(models: Array<any>, show?: boolean): void;
36
- get(id: string): any;
37
- /**
38
- * @description: 添加模型
39
- * @param {*} info 模型信息
40
- * @return {*}
41
- */
42
- add(info: any, show?: boolean): void;
43
- flyTo(id: string): void;
44
- /**
45
- * @description: 根据模型的 ID 移除模型
46
- * @param {string} id 模型的 ID
47
- * @return {*}
48
- */
49
- removeById(id: string): void;
50
- show(id: string): void;
51
- hide(id: string): void;
52
- /**
53
- * @description: 修改模型的缩放因子
54
- * @param {*} info 模型信息
55
- * @param {number} num 缩放因子
56
- * @return {*}
57
- */
58
- addScale(info: any, num?: number): void;
59
- /**
60
- * @description: 修改模型的缩放因子
61
- * @param {*} info 模型信息
62
- * @param {number} num 缩放因子
63
- * @return {*}
64
- */
65
- setScale(id: any, scale?: number): void;
66
- setEditMode(mode: EditMode): void;
67
- lockCamera(): void;
68
- unlockCamera(): void;
69
- toCartographic(cartesian: any): {
70
- longitude: any;
71
- latitude: any;
72
- };
73
- calculateHeading(from: any, to: any): number;
74
- /**
75
- * @description: 获取模型的 Heading, Pitch, Roll
76
- * @param {any} modelMatrix 模型的变换矩阵
77
- * @return {*}
78
- */
79
- getModelHeadingPitchRoll(modelMatrix: any): any;
80
- /**
81
- * @description: 添加事件监听
82
- * @param {string} key
83
- * @param {Function} f
84
- * @param {any} options
85
- * @return {*}
86
- */
87
- addEventListener(key: string, f: Function, options?: any): {
88
- f: Function;
89
- options: any;
90
- };
91
- /**
92
- * @description: 移除事件监听
93
- * @param {string} key
94
- * @param {any} instantiation
95
- * @return {*}
96
- */
97
- removeEventListener(key: string, instantiation: any): void;
98
- /**
99
- * @description: 执行监听
100
- * @param {*} key
101
- * @param {any} parameter
102
- * @return {*}
103
- */
104
- runEventListener(key: string, parameter: any): boolean;
105
- /**
106
- * @description: 初始化拖拽模型编辑功能(平移)
107
- * @return {*}
108
- */
109
- initEditBox(getEditState: Function): void;
110
- createRotationRing(model: any): void;
111
- createTranslationSquare(model: any): void;
112
- createHeightArrow(model: any): void;
113
- translate(geometry: any, offset: any): void;
114
- removeTool(): void;
115
- updatedTool(newModelMatrix: any): void;
116
- /**
117
- * @description: 平移模型
118
- * @param {*} draggedModel
119
- * @param {*} startModelMatrix
120
- * @param {*} movement
121
- * @return {*}
122
- */
123
- moveModel(draggedModel: any, startModelMatrix: any, movement: any): void;
124
- /**
125
- * @description: 平移模型高度
126
- * @param {*} draggedModel
127
- * @param {*} startModelMatrix
128
- * @param {*} movement
129
- * @return {*}
130
- */
131
- moveModelHeight(draggedModel: any, startModelMatrix: any, movement: any, startMousePosition: any): void;
132
- /**
133
- * @description: 旋转模型
134
- * @param {*} draggedModel
135
- * @param {*} startModelMatrix
136
- * @param {*} angleDelta
137
- * @return {*}
138
- */
139
- rotateModel(draggedModel: any, startModelMatrix: any, angleDelta: number): void;
140
- cleanup(): void;
141
- }
@@ -1 +0,0 @@
1
- export * from './GLTFManage';