leiting-bim 2.1.36 → 2.1.39

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 (460) hide show
  1. package/leiting-bim.es.js +1 -1
  2. package/leiting-bim.umd.js +11 -11
  3. package/leitingbim.css +1 -1
  4. package/package.json +1 -1
  5. package/plugins/.gitmodules +4 -0
  6. package/plugins/README.md +2 -0
  7. package/plugins/build.cjs +63 -0
  8. package/plugins/cesium-core/dist/cesium-core.mjs +6217 -0
  9. package/plugins/cesium-core/dist/cesium-core.umd.js +76 -0
  10. package/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +73 -0
  11. package/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -0
  12. package/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -0
  13. package/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -0
  14. package/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -0
  15. package/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -0
  16. package/plugins/cesium-core/dist/components/Material/index.d.ts +3 -0
  17. package/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -0
  18. package/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -0
  19. package/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -0
  20. package/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -0
  21. package/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -0
  22. package/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -0
  23. package/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -0
  24. package/plugins/cesium-core/dist/components/draw/types.d.ts +29 -0
  25. package/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -0
  26. package/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -0
  27. package/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -0
  28. package/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -0
  29. package/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +28 -0
  30. package/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +22 -0
  31. package/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -0
  32. package/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +27 -0
  33. package/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +25 -0
  34. package/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +30 -0
  35. package/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +28 -0
  36. package/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +21 -0
  37. package/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -0
  38. package/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +30 -0
  39. package/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -0
  40. package/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -0
  41. package/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -0
  42. package/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -0
  43. package/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -0
  44. package/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -0
  45. package/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -0
  46. package/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -0
  47. package/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -0
  48. package/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -0
  49. package/plugins/cesium-core/dist/index.d.ts +12 -0
  50. package/plugins/cesium-core/package.json +27 -0
  51. package/plugins/cesium-core/pnpm-lock.yaml +872 -0
  52. package/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +546 -0
  53. package/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +489 -0
  54. package/plugins/cesium-core/src/components/MarkerEvent.ts +92 -0
  55. package/plugins/cesium-core/src/components/Material/MaterialManager.ts +129 -0
  56. package/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +116 -0
  57. package/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +236 -0
  58. package/plugins/cesium-core/src/components/Material/index.ts +3 -0
  59. package/plugins/cesium-core/src/components/TooltipManager.ts +52 -0
  60. package/plugins/cesium-core/src/components/draw/DrawTool.ts +55 -0
  61. package/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +159 -0
  62. package/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +113 -0
  63. package/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +70 -0
  64. package/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +112 -0
  65. package/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +115 -0
  66. package/plugins/cesium-core/src/components/draw/types.ts +28 -0
  67. package/plugins/cesium-core/src/components/entity/EntityLayer.ts +453 -0
  68. package/plugins/cesium-core/src/components/gltf/GLTFManage.ts +799 -0
  69. package/plugins/cesium-core/src/components/gltf/index.ts +1 -0
  70. package/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +416 -0
  71. package/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +552 -0
  72. package/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +289 -0
  73. package/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +139 -0
  74. package/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +427 -0
  75. package/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +356 -0
  76. package/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +516 -0
  77. package/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +472 -0
  78. package/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +250 -0
  79. package/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +185 -0
  80. package/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +561 -0
  81. package/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +361 -0
  82. package/plugins/cesium-core/src/components/measurement/index.ts +13 -0
  83. package/plugins/cesium-core/src/components/measurement/types.ts +57 -0
  84. package/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +556 -0
  85. package/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +286 -0
  86. package/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +174 -0
  87. package/plugins/cesium-core/src/components/roaming/index.ts +3 -0
  88. package/plugins/cesium-core/src/components/roaming/types.ts +71 -0
  89. package/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +98 -0
  90. package/plugins/cesium-core/src/components/utils/uuid.ts +7 -0
  91. package/plugins/cesium-core/src/index.ts +17 -0
  92. package/plugins/cesium-core/src/test/measurement/index.html +166 -0
  93. package/plugins/cesium-core/src/test/roaming/c.gltf +1 -0
  94. package/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
  95. package/plugins/cesium-core/src/test/roaming/index.html +51 -0
  96. package/plugins/cesium-core/src/test/roaming/path.html +448 -0
  97. package/plugins/cesium-core/src/test/roaming/view.html +520 -0
  98. package/plugins/cesium-core/stats.html +4949 -0
  99. package/plugins/cesium-core/tsconfig.json +14 -0
  100. package/plugins/cesium-core/vite.config.ts +35 -0
  101. package/plugins/cesium-vue/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  102. package/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +13 -0
  103. package/plugins/cesium-vue/dist/components/basic-audio.d.ts +6 -0
  104. package/plugins/cesium-vue/dist/components/basic-audio.js +1295 -0
  105. package/plugins/cesium-vue/dist/components/basic-video/index.d.ts +98 -0
  106. package/plugins/cesium-vue/dist/components/basic-video.d.ts +6 -0
  107. package/plugins/cesium-vue/dist/components/basic-video.js +67 -0
  108. package/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +147 -0
  109. package/plugins/cesium-vue/dist/components/card-carousel.d.ts +6 -0
  110. package/plugins/cesium-vue/dist/components/card-carousel.js +143 -0
  111. package/plugins/cesium-vue/dist/components/card-content/index.d.ts +16 -0
  112. package/plugins/cesium-vue/dist/components/card-content.d.ts +6 -0
  113. package/plugins/cesium-vue/dist/components/card-content.js +74 -0
  114. package/plugins/cesium-vue/dist/components/card-page/index.d.ts +64 -0
  115. package/plugins/cesium-vue/dist/components/card-page.d.ts +6 -0
  116. package/plugins/cesium-vue/dist/components/card-page.js +111 -0
  117. package/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +34 -0
  118. package/plugins/cesium-vue/dist/components/carousel-img.d.ts +6 -0
  119. package/plugins/cesium-vue/dist/components/carousel-img.js +72 -0
  120. package/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +63 -0
  121. package/plugins/cesium-vue/dist/components/echarts-pro.d.ts +6 -0
  122. package/plugins/cesium-vue/dist/components/echarts-pro.js +7 -0
  123. package/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +73 -0
  124. package/plugins/cesium-vue/dist/components/marker-bubble.d.ts +6 -0
  125. package/plugins/cesium-vue/dist/components/marker-bubble.js +123 -0
  126. package/plugins/cesium-vue/dist/components/marker-default/index.d.ts +43 -0
  127. package/plugins/cesium-vue/dist/components/marker-default.d.ts +6 -0
  128. package/plugins/cesium-vue/dist/components/marker-default.js +39 -0
  129. package/plugins/cesium-vue/dist/components/marker-html/index.d.ts +43 -0
  130. package/plugins/cesium-vue/dist/components/marker-html.d.ts +6 -0
  131. package/plugins/cesium-vue/dist/components/marker-html.js +40 -0
  132. package/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +159 -0
  133. package/plugins/cesium-vue/dist/components/marker-manage.d.ts +6 -0
  134. package/plugins/cesium-vue/dist/components/marker-manage.js +896 -0
  135. package/plugins/cesium-vue/dist/components/marker-text/index.d.ts +25 -0
  136. package/plugins/cesium-vue/dist/components/marker-text.d.ts +6 -0
  137. package/plugins/cesium-vue/dist/components/marker-text.js +30 -0
  138. package/plugins/cesium-vue/dist/components/measurement/index.d.ts +73 -0
  139. package/plugins/cesium-vue/dist/components/measurement.d.ts +6 -0
  140. package/plugins/cesium-vue/dist/components/measurement.js +170 -0
  141. package/plugins/cesium-vue/dist/create-DynflqE1.js +31 -0
  142. package/plugins/cesium-vue/dist/index-B03tSn8_.js +45855 -0
  143. package/plugins/cesium-vue/dist/index-CUs_hd1V.js +403 -0
  144. package/plugins/cesium-vue/dist/index.d.ts +44 -0
  145. package/plugins/cesium-vue/dist/index.js +82 -0
  146. package/plugins/cesium-vue/package.json +106 -0
  147. package/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
  148. package/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
  149. package/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
  150. package/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
  151. package/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
  152. package/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
  153. package/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
  154. package/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
  155. package/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
  156. package/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
  157. package/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
  158. package/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
  159. package/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
  160. package/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
  161. package/plugins/cesium-vue/src/components/basic-audio/index.ts +6 -0
  162. package/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +119 -0
  163. package/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +6 -0
  164. package/plugins/cesium-vue/src/components/basic-video/index.ts +7 -0
  165. package/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +58 -0
  166. package/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +14 -0
  167. package/plugins/cesium-vue/src/components/card-carousel/index.ts +7 -0
  168. package/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +124 -0
  169. package/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +60 -0
  170. package/plugins/cesium-vue/src/components/card-content/index.ts +7 -0
  171. package/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +41 -0
  172. package/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +22 -0
  173. package/plugins/cesium-vue/src/components/card-page/index.ts +7 -0
  174. package/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +102 -0
  175. package/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +37 -0
  176. package/plugins/cesium-vue/src/components/carousel-img/index.ts +7 -0
  177. package/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +84 -0
  178. package/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +8 -0
  179. package/plugins/cesium-vue/src/components/echarts-pro/index.ts +7 -0
  180. package/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +107 -0
  181. package/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +12 -0
  182. package/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +55 -0
  183. package/plugins/cesium-vue/src/components/marker-bubble/index.ts +7 -0
  184. package/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +235 -0
  185. package/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +35 -0
  186. package/plugins/cesium-vue/src/components/marker-default/index.ts +7 -0
  187. package/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +19 -0
  188. package/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +12 -0
  189. package/plugins/cesium-vue/src/components/marker-html/index.ts +7 -0
  190. package/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +21 -0
  191. package/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +12 -0
  192. package/plugins/cesium-vue/src/components/marker-manage/index.ts +9 -0
  193. package/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +106 -0
  194. package/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +8 -0
  195. package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +466 -0
  196. package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +148 -0
  197. package/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +45 -0
  198. package/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +75 -0
  199. package/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +154 -0
  200. package/plugins/cesium-vue/src/components/marker-text/index.ts +7 -0
  201. package/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +14 -0
  202. package/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +10 -0
  203. package/plugins/cesium-vue/src/components/measurement/index.ts +7 -0
  204. package/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +183 -0
  205. package/plugins/cesium-vue/src/components/measurement/src/measurement.ts +20 -0
  206. package/plugins/cesium-vue/src/index.ts +89 -0
  207. package/plugins/cesium-vue/stats.html +4949 -0
  208. package/plugins/cesium-vue/tsconfig.json +18 -0
  209. package/plugins/cesium-vue/vite.config.ts +62 -0
  210. package/plugins/plugins/README.md +2 -0
  211. package/plugins/plugins/build.cjs +63 -0
  212. package/plugins/plugins/cesium-core/dist/cesium-core.mjs +5881 -0
  213. package/plugins/plugins/cesium-core/dist/cesium-core.mjs.map +1 -0
  214. package/plugins/plugins/cesium-core/dist/cesium-core.umd.js +77 -0
  215. package/plugins/plugins/cesium-core/dist/cesium-core.umd.js.map +1 -0
  216. package/plugins/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +73 -0
  217. package/plugins/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -0
  218. package/plugins/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -0
  219. package/plugins/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -0
  220. package/plugins/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -0
  221. package/plugins/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -0
  222. package/plugins/plugins/cesium-core/dist/components/Material/index.d.ts +3 -0
  223. package/plugins/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -0
  224. package/plugins/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -0
  225. package/plugins/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -0
  226. package/plugins/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -0
  227. package/plugins/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -0
  228. package/plugins/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -0
  229. package/plugins/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -0
  230. package/plugins/plugins/cesium-core/dist/components/draw/types.d.ts +29 -0
  231. package/plugins/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -0
  232. package/plugins/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -0
  233. package/plugins/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -0
  234. package/plugins/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -0
  235. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +23 -0
  236. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +21 -0
  237. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -0
  238. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +25 -0
  239. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +24 -0
  240. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +22 -0
  241. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +23 -0
  242. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +20 -0
  243. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -0
  244. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +24 -0
  245. package/plugins/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -0
  246. package/plugins/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -0
  247. package/plugins/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -0
  248. package/plugins/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -0
  249. package/plugins/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -0
  250. package/plugins/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -0
  251. package/plugins/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -0
  252. package/plugins/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -0
  253. package/plugins/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -0
  254. package/plugins/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -0
  255. package/plugins/plugins/cesium-core/dist/index.d.ts +12 -0
  256. package/plugins/plugins/cesium-core/package.json +26 -0
  257. package/plugins/plugins/cesium-core/pnpm-lock.yaml +872 -0
  258. package/plugins/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +546 -0
  259. package/plugins/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +489 -0
  260. package/plugins/plugins/cesium-core/src/components/MarkerEvent.ts +92 -0
  261. package/plugins/plugins/cesium-core/src/components/Material/MaterialManager.ts +129 -0
  262. package/plugins/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +116 -0
  263. package/plugins/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +236 -0
  264. package/plugins/plugins/cesium-core/src/components/Material/index.ts +3 -0
  265. package/plugins/plugins/cesium-core/src/components/TooltipManager.ts +52 -0
  266. package/plugins/plugins/cesium-core/src/components/draw/DrawTool.ts +55 -0
  267. package/plugins/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +159 -0
  268. package/plugins/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +113 -0
  269. package/plugins/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +70 -0
  270. package/plugins/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +112 -0
  271. package/plugins/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +115 -0
  272. package/plugins/plugins/cesium-core/src/components/draw/types.ts +28 -0
  273. package/plugins/plugins/cesium-core/src/components/entity/EntityLayer.ts +453 -0
  274. package/plugins/plugins/cesium-core/src/components/gltf/GLTFManage.ts +799 -0
  275. package/plugins/plugins/cesium-core/src/components/gltf/index.ts +1 -0
  276. package/plugins/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +416 -0
  277. package/plugins/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +451 -0
  278. package/plugins/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +267 -0
  279. package/plugins/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +139 -0
  280. package/plugins/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +418 -0
  281. package/plugins/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +352 -0
  282. package/plugins/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +388 -0
  283. package/plugins/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +379 -0
  284. package/plugins/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +246 -0
  285. package/plugins/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +185 -0
  286. package/plugins/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +541 -0
  287. package/plugins/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +360 -0
  288. package/plugins/plugins/cesium-core/src/components/measurement/index.ts +13 -0
  289. package/plugins/plugins/cesium-core/src/components/measurement/types.ts +57 -0
  290. package/plugins/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +556 -0
  291. package/plugins/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +286 -0
  292. package/plugins/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +174 -0
  293. package/plugins/plugins/cesium-core/src/components/roaming/index.ts +3 -0
  294. package/plugins/plugins/cesium-core/src/components/roaming/types.ts +71 -0
  295. package/plugins/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +98 -0
  296. package/plugins/plugins/cesium-core/src/components/utils/uuid.ts +7 -0
  297. package/plugins/plugins/cesium-core/src/index.ts +17 -0
  298. package/plugins/plugins/cesium-core/src/test/measurement/index.html +166 -0
  299. package/plugins/plugins/cesium-core/src/test/roaming/c.gltf +1 -0
  300. package/plugins/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
  301. package/plugins/plugins/cesium-core/src/test/roaming/index.html +51 -0
  302. package/plugins/plugins/cesium-core/src/test/roaming/path.html +448 -0
  303. package/plugins/plugins/cesium-core/src/test/roaming/view.html +520 -0
  304. package/plugins/plugins/cesium-core/stats.html +4949 -0
  305. package/plugins/plugins/cesium-core/tsconfig.json +14 -0
  306. package/plugins/plugins/cesium-core/vite.config.ts +35 -0
  307. package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +18 -0
  308. package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts.map +1 -0
  309. package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts +92 -0
  310. package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts.map +1 -0
  311. package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts +82 -0
  312. package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts.map +1 -0
  313. package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +152 -0
  314. package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts.map +1 -0
  315. package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts +21 -0
  316. package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts.map +1 -0
  317. package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts +69 -0
  318. package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts.map +1 -0
  319. package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +21 -0
  320. package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts.map +1 -0
  321. package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +68 -0
  322. package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts.map +1 -0
  323. package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +78 -0
  324. package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts.map +1 -0
  325. package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts +48 -0
  326. package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts.map +1 -0
  327. package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts +48 -0
  328. package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts.map +1 -0
  329. package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +164 -0
  330. package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts.map +1 -0
  331. package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts +30 -0
  332. package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts.map +1 -0
  333. package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts +78 -0
  334. package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts.map +1 -0
  335. package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts +82 -0
  336. package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts.map +1 -0
  337. package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts +67 -0
  338. package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts.map +1 -0
  339. package/plugins/plugins/cesium-vue/dist/index.css +1 -0
  340. package/plugins/plugins/cesium-vue/dist/index.d.ts +30 -0
  341. package/plugins/plugins/cesium-vue/dist/index.d.ts.map +1 -0
  342. package/plugins/plugins/cesium-vue/dist/index.js +10087 -0
  343. package/plugins/plugins/cesium-vue/dist/index.js.map +1 -0
  344. package/plugins/plugins/cesium-vue/dist/index.umd.cjs +46 -0
  345. package/plugins/plugins/cesium-vue/dist/index.umd.cjs.map +1 -0
  346. package/plugins/plugins/cesium-vue/package.json +48 -0
  347. package/plugins/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
  348. package/plugins/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
  349. package/plugins/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
  350. package/plugins/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
  351. package/plugins/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
  352. package/plugins/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
  353. package/plugins/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
  354. package/plugins/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
  355. package/plugins/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
  356. package/plugins/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
  357. package/plugins/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
  358. package/plugins/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
  359. package/plugins/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
  360. package/plugins/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
  361. package/plugins/plugins/cesium-vue/src/components/basic-audio/index.ts +11 -0
  362. package/plugins/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +110 -0
  363. package/plugins/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +6 -0
  364. package/plugins/plugins/cesium-vue/src/components/basic-video/index.ts +12 -0
  365. package/plugins/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +99 -0
  366. package/plugins/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +13 -0
  367. package/plugins/plugins/cesium-vue/src/components/camera-roam/index.ts +4 -0
  368. package/plugins/plugins/cesium-vue/src/components/camera-roam/src/CameraRoam.vue +434 -0
  369. package/plugins/plugins/cesium-vue/src/components/camera-roam/src/cameraRoam.ts +28 -0
  370. package/plugins/plugins/cesium-vue/src/components/card-carousel/index.ts +12 -0
  371. package/plugins/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +124 -0
  372. package/plugins/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +60 -0
  373. package/plugins/plugins/cesium-vue/src/components/card-content/index.ts +12 -0
  374. package/plugins/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +41 -0
  375. package/plugins/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +22 -0
  376. package/plugins/plugins/cesium-vue/src/components/card-page/index.ts +12 -0
  377. package/plugins/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +102 -0
  378. package/plugins/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +37 -0
  379. package/plugins/plugins/cesium-vue/src/components/carousel-img/index.ts +12 -0
  380. package/plugins/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +15 -0
  381. package/plugins/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +6 -0
  382. package/plugins/plugins/cesium-vue/src/components/echarts-pro/index.ts +12 -0
  383. package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +107 -0
  384. package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +12 -0
  385. package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +55 -0
  386. package/plugins/plugins/cesium-vue/src/components/marker-bubble/index.ts +12 -0
  387. package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +235 -0
  388. package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +35 -0
  389. package/plugins/plugins/cesium-vue/src/components/marker-default/index.ts +12 -0
  390. package/plugins/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +19 -0
  391. package/plugins/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +12 -0
  392. package/plugins/plugins/cesium-vue/src/components/marker-html/index.ts +12 -0
  393. package/plugins/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +21 -0
  394. package/plugins/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +12 -0
  395. package/plugins/plugins/cesium-vue/src/components/marker-manage/index.ts +14 -0
  396. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +106 -0
  397. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +8 -0
  398. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +466 -0
  399. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +148 -0
  400. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +45 -0
  401. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +75 -0
  402. package/plugins/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +154 -0
  403. package/plugins/plugins/cesium-vue/src/components/marker-text/index.ts +12 -0
  404. package/plugins/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +14 -0
  405. package/plugins/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +10 -0
  406. package/plugins/plugins/cesium-vue/src/components/measurement/index.ts +12 -0
  407. package/plugins/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +183 -0
  408. package/plugins/plugins/cesium-vue/src/components/measurement/src/measurement.ts +20 -0
  409. package/plugins/plugins/cesium-vue/src/components/path-roam/index.ts +4 -0
  410. package/plugins/plugins/cesium-vue/src/components/path-roam/src/PathRoam.vue +429 -0
  411. package/plugins/plugins/cesium-vue/src/components/path-roam/src/pathRoam.ts +28 -0
  412. package/plugins/plugins/cesium-vue/src/components/test/CardMarker.vue +150 -0
  413. package/plugins/plugins/cesium-vue/src/components/test/CesiumMarker.vue +34 -0
  414. package/plugins/plugins/cesium-vue/src/components/test/CesiumViewer.vue +77 -0
  415. package/plugins/plugins/cesium-vue/src/components/test/MyLabel.vue +25 -0
  416. package/plugins/plugins/cesium-vue/src/components/test/index.ts +28 -0
  417. package/plugins/plugins/cesium-vue/src/index.ts +83 -0
  418. package/plugins/plugins/cesium-vue/stats.html +4949 -0
  419. package/plugins/plugins/cesium-vue/tsconfig.json +18 -0
  420. package/plugins/plugins/cesium-vue/vite.config.ts +56 -0
  421. package/plugins/plugins/theme-chalk/dist/theme-chalk.css +819 -0
  422. package/plugins/plugins/theme-chalk/index.less +11 -0
  423. package/plugins/plugins/theme-chalk/package.json +27 -0
  424. package/plugins/plugins/theme-chalk/src/basicAudio.less +41 -0
  425. package/plugins/plugins/theme-chalk/src/basicVideo.less +17 -0
  426. package/plugins/plugins/theme-chalk/src/cameraRoam.less +239 -0
  427. package/plugins/plugins/theme-chalk/src/cardCarousel.less +71 -0
  428. package/plugins/plugins/theme-chalk/src/cardContent.less +73 -0
  429. package/plugins/plugins/theme-chalk/src/cardPage.less +61 -0
  430. package/plugins/plugins/theme-chalk/src/carouselImg.less +34 -0
  431. package/plugins/plugins/theme-chalk/src/marker.less +107 -0
  432. package/plugins/plugins/theme-chalk/src/markerManage.less +25 -0
  433. package/plugins/plugins/theme-chalk/src/measurement.less +106 -0
  434. package/plugins/plugins/theme-chalk/src/mixins/config.less +4 -0
  435. package/plugins/plugins/theme-chalk/src/mixins/mixins.less +64 -0
  436. package/plugins/plugins/theme-chalk/src/pathRoam.less +198 -0
  437. package/plugins/plugins/utils/create.ts +45 -0
  438. package/plugins/plugins/utils/package.json +12 -0
  439. package/plugins/plugins/utils/uuid.ts +43 -0
  440. package/plugins/plugins/utils/with-install.ts +10 -0
  441. package/plugins/theme-chalk/dist/theme-chalk.css +852 -0
  442. package/plugins/theme-chalk/index.less +11 -0
  443. package/plugins/theme-chalk/package.json +27 -0
  444. package/plugins/theme-chalk/src/basicAudio.less +44 -0
  445. package/plugins/theme-chalk/src/basicVideo.less +17 -0
  446. package/plugins/theme-chalk/src/cameraRoam.less +239 -0
  447. package/plugins/theme-chalk/src/cardCarousel.less +71 -0
  448. package/plugins/theme-chalk/src/cardContent.less +73 -0
  449. package/plugins/theme-chalk/src/cardPage.less +61 -0
  450. package/plugins/theme-chalk/src/carouselImg.less +66 -0
  451. package/plugins/theme-chalk/src/marker.less +107 -0
  452. package/plugins/theme-chalk/src/markerManage.less +25 -0
  453. package/plugins/theme-chalk/src/measurement.less +106 -0
  454. package/plugins/theme-chalk/src/mixins/config.less +4 -0
  455. package/plugins/theme-chalk/src/mixins/mixins.less +64 -0
  456. package/plugins/theme-chalk/src/pathRoam.less +198 -0
  457. package/plugins/utils/create.ts +45 -0
  458. package/plugins/utils/package.json +12 -0
  459. package/plugins/utils/uuid.ts +43 -0
  460. package/plugins/utils/with-install.ts +10 -0
@@ -0,0 +1,403 @@
1
+ import { onMounted as L, nextTick as U, isRef as _, toRefs as N, customRef as q, toValue as h, getCurrentScope as J, onScopeDispose as K, getCurrentInstance as V, watch as H, shallowRef as b, shallowReadonly as Q, computed as C, ref as I, unref as Z } from "vue";
2
+ function P(e) {
3
+ return J() ? (K(e), !0) : !1;
4
+ }
5
+ const k = typeof window < "u" && typeof document < "u";
6
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7
+ const j = (e) => e != null, ee = Object.prototype.toString, te = (e) => ee.call(e) === "[object Object]";
8
+ function z(e) {
9
+ return Array.isArray(e) ? e : [e];
10
+ }
11
+ function ne(e) {
12
+ return V();
13
+ }
14
+ function oe(e, n = {}) {
15
+ if (!_(e))
16
+ return N(e);
17
+ const i = Array.isArray(e.value) ? Array.from({ length: e.value.length }) : {};
18
+ for (const p in e.value)
19
+ i[p] = q(() => ({
20
+ get() {
21
+ return e.value[p];
22
+ },
23
+ set(v) {
24
+ var s;
25
+ if ((s = h(n.replaceRef)) != null ? s : !0)
26
+ if (Array.isArray(e.value)) {
27
+ const o = [...e.value];
28
+ o[p] = v, e.value = o;
29
+ } else {
30
+ const o = { ...e.value, [p]: v };
31
+ Object.setPrototypeOf(o, Object.getPrototypeOf(e.value)), e.value = o;
32
+ }
33
+ else
34
+ e.value[p] = v;
35
+ }
36
+ }));
37
+ return i;
38
+ }
39
+ function $(e, n = !0, i) {
40
+ ne() ? L(e, i) : n ? e() : U(e);
41
+ }
42
+ function ae(e, n = 1e3, i = {}) {
43
+ const {
44
+ immediate: p = !0,
45
+ immediateCallback: v = !1
46
+ } = i;
47
+ let s = null;
48
+ const r = b(!1);
49
+ function o() {
50
+ s && (clearInterval(s), s = null);
51
+ }
52
+ function u() {
53
+ r.value = !1, o();
54
+ }
55
+ function c() {
56
+ const f = h(n);
57
+ f <= 0 || (r.value = !0, v && e(), o(), r.value && (s = setInterval(e, f)));
58
+ }
59
+ if (p && k && c(), _(n) || typeof n == "function") {
60
+ const f = H(n, () => {
61
+ r.value && k && c();
62
+ });
63
+ P(f);
64
+ }
65
+ return P(u), {
66
+ isActive: Q(r),
67
+ pause: u,
68
+ resume: c
69
+ };
70
+ }
71
+ function se(e, n, i) {
72
+ return H(
73
+ e,
74
+ n,
75
+ {
76
+ ...i,
77
+ immediate: !0
78
+ }
79
+ );
80
+ }
81
+ const B = k ? window : void 0;
82
+ function Y(e) {
83
+ var n;
84
+ const i = h(e);
85
+ return (n = i?.$el) != null ? n : i;
86
+ }
87
+ function X(...e) {
88
+ const n = [], i = () => {
89
+ n.forEach((o) => o()), n.length = 0;
90
+ }, p = (o, u, c, f) => (o.addEventListener(u, c, f), () => o.removeEventListener(u, c, f)), v = C(() => {
91
+ const o = z(h(e[0])).filter((u) => u != null);
92
+ return o.every((u) => typeof u != "string") ? o : void 0;
93
+ }), s = se(
94
+ () => {
95
+ var o, u;
96
+ return [
97
+ (u = (o = v.value) == null ? void 0 : o.map((c) => Y(c))) != null ? u : [B].filter((c) => c != null),
98
+ z(h(v.value ? e[1] : e[0])),
99
+ z(Z(v.value ? e[2] : e[1])),
100
+ // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
101
+ h(v.value ? e[3] : e[2])
102
+ ];
103
+ },
104
+ ([o, u, c, f]) => {
105
+ if (i(), !o?.length || !u?.length || !c?.length)
106
+ return;
107
+ const l = te(f) ? { ...f } : f;
108
+ n.push(
109
+ ...o.flatMap(
110
+ (a) => u.flatMap(
111
+ (d) => c.map((g) => p(a, d, g, l))
112
+ )
113
+ )
114
+ );
115
+ },
116
+ { flush: "post" }
117
+ ), r = () => {
118
+ s(), i();
119
+ };
120
+ return P(i), r;
121
+ }
122
+ // @__NO_SIDE_EFFECTS__
123
+ function le() {
124
+ const e = b(!1), n = V();
125
+ return n && L(() => {
126
+ e.value = !0;
127
+ }, n), e;
128
+ }
129
+ // @__NO_SIDE_EFFECTS__
130
+ function F(e) {
131
+ const n = /* @__PURE__ */ le();
132
+ return C(() => (n.value, !!e()));
133
+ }
134
+ function ue(e, n, i = {}) {
135
+ const { window: p = B, ...v } = i;
136
+ let s;
137
+ const r = /* @__PURE__ */ F(() => p && "MutationObserver" in p), o = () => {
138
+ s && (s.disconnect(), s = void 0);
139
+ }, u = C(() => {
140
+ const a = h(e), d = z(a).map(Y).filter(j);
141
+ return new Set(d);
142
+ }), c = H(
143
+ u,
144
+ (a) => {
145
+ o(), r.value && a.size && (s = new MutationObserver(n), a.forEach((d) => s.observe(d, v)));
146
+ },
147
+ { immediate: !0, flush: "post" }
148
+ ), f = () => s?.takeRecords(), l = () => {
149
+ c(), o();
150
+ };
151
+ return P(l), {
152
+ isSupported: r,
153
+ stop: l,
154
+ takeRecords: f
155
+ };
156
+ }
157
+ function fe(e, n = {}) {
158
+ var i;
159
+ const {
160
+ pointerTypes: p,
161
+ preventDefault: v,
162
+ stopPropagation: s,
163
+ exact: r,
164
+ onMove: o,
165
+ onEnd: u,
166
+ onStart: c,
167
+ initialValue: f,
168
+ axis: l = "both",
169
+ draggingElement: a = B,
170
+ containerElement: d,
171
+ handle: g = e,
172
+ buttons: E = [0]
173
+ } = n, x = I(
174
+ (i = h(f)) != null ? i : { x: 0, y: 0 }
175
+ ), y = I(), O = (t) => p ? p.includes(t.pointerType) : !0, R = (t) => {
176
+ h(v) && t.preventDefault(), h(s) && t.stopPropagation();
177
+ }, T = (t) => {
178
+ var m;
179
+ if (!h(E).includes(t.button) || h(n.disabled) || !O(t) || h(r) && t.target !== h(e))
180
+ return;
181
+ const w = h(d), W = (m = w?.getBoundingClientRect) == null ? void 0 : m.call(w), M = h(e).getBoundingClientRect(), D = {
182
+ x: t.clientX - (w ? M.left - W.left + w.scrollLeft : M.left),
183
+ y: t.clientY - (w ? M.top - W.top + w.scrollTop : M.top)
184
+ };
185
+ c?.(D, t) !== !1 && (y.value = D, R(t));
186
+ }, S = (t) => {
187
+ if (h(n.disabled) || !O(t) || !y.value)
188
+ return;
189
+ const m = h(d), w = h(e).getBoundingClientRect();
190
+ let { x: W, y: M } = x.value;
191
+ (l === "x" || l === "both") && (W = t.clientX - y.value.x, m && (W = Math.min(Math.max(0, W), m.scrollWidth - w.width))), (l === "y" || l === "both") && (M = t.clientY - y.value.y, m && (M = Math.min(Math.max(0, M), m.scrollHeight - w.height))), x.value = {
192
+ x: W,
193
+ y: M
194
+ }, o?.(x.value, t), R(t);
195
+ }, A = (t) => {
196
+ h(n.disabled) || !O(t) || y.value && (y.value = void 0, u?.(x.value, t), R(t));
197
+ };
198
+ if (k) {
199
+ const t = () => {
200
+ var m;
201
+ return {
202
+ capture: (m = n.capture) != null ? m : !0,
203
+ passive: !h(v)
204
+ };
205
+ };
206
+ X(g, "pointerdown", T, t), X(a, "pointermove", S, t), X(a, "pointerup", A, t);
207
+ }
208
+ return {
209
+ ...oe(x),
210
+ position: x,
211
+ isDragging: C(() => !!y.value),
212
+ style: C(
213
+ () => `left:${x.value.x}px;top:${x.value.y}px;`
214
+ )
215
+ };
216
+ }
217
+ function G(e, n, i = {}) {
218
+ const { window: p = B, ...v } = i;
219
+ let s;
220
+ const r = /* @__PURE__ */ F(() => p && "ResizeObserver" in p), o = () => {
221
+ s && (s.disconnect(), s = void 0);
222
+ }, u = C(() => {
223
+ const l = h(e);
224
+ return Array.isArray(l) ? l.map((a) => Y(a)) : [Y(l)];
225
+ }), c = H(
226
+ u,
227
+ (l) => {
228
+ if (o(), r.value && p) {
229
+ s = new ResizeObserver(n);
230
+ for (const a of l)
231
+ a && s.observe(a, v);
232
+ }
233
+ },
234
+ { immediate: !0, flush: "post" }
235
+ ), f = () => {
236
+ o(), c();
237
+ };
238
+ return P(f), {
239
+ isSupported: r,
240
+ stop: f
241
+ };
242
+ }
243
+ function ve(e, n = { width: 0, height: 0 }, i = {}) {
244
+ const { window: p = B, box: v = "content-box" } = i, s = C(() => {
245
+ var l, a;
246
+ return (a = (l = Y(e)) == null ? void 0 : l.namespaceURI) == null ? void 0 : a.includes("svg");
247
+ }), r = b(n.width), o = b(n.height), { stop: u } = G(
248
+ e,
249
+ ([l]) => {
250
+ const a = v === "border-box" ? l.borderBoxSize : v === "content-box" ? l.contentBoxSize : l.devicePixelContentBoxSize;
251
+ if (p && s.value) {
252
+ const d = Y(e);
253
+ if (d) {
254
+ const g = d.getBoundingClientRect();
255
+ r.value = g.width, o.value = g.height;
256
+ }
257
+ } else if (a) {
258
+ const d = z(a);
259
+ r.value = d.reduce((g, { inlineSize: E }) => g + E, 0), o.value = d.reduce((g, { blockSize: E }) => g + E, 0);
260
+ } else
261
+ r.value = l.contentRect.width, o.value = l.contentRect.height;
262
+ },
263
+ i
264
+ );
265
+ $(() => {
266
+ const l = Y(e);
267
+ l && (r.value = "offsetWidth" in l ? l.offsetWidth : n.width, o.value = "offsetHeight" in l ? l.offsetHeight : n.height);
268
+ });
269
+ const c = H(
270
+ () => Y(e),
271
+ (l) => {
272
+ r.value = l ? n.width : 0, o.value = l ? n.height : 0;
273
+ }
274
+ );
275
+ function f() {
276
+ u(), c();
277
+ }
278
+ return {
279
+ width: r,
280
+ height: o,
281
+ stop: f
282
+ };
283
+ }
284
+ const re = {
285
+ page: (e) => [e.pageX, e.pageY],
286
+ client: (e) => [e.clientX, e.clientY],
287
+ screen: (e) => [e.screenX, e.screenY],
288
+ movement: (e) => e instanceof MouseEvent ? [e.movementX, e.movementY] : null
289
+ };
290
+ function ie(e = {}) {
291
+ const {
292
+ type: n = "page",
293
+ touch: i = !0,
294
+ resetOnTouchEnds: p = !1,
295
+ initialValue: v = { x: 0, y: 0 },
296
+ window: s = B,
297
+ target: r = s,
298
+ scroll: o = !0,
299
+ eventFilter: u
300
+ } = e;
301
+ let c = null, f = 0, l = 0;
302
+ const a = b(v.x), d = b(v.y), g = b(null), E = typeof n == "function" ? n : re[n], x = (t) => {
303
+ const m = E(t);
304
+ c = t, m && ([a.value, d.value] = m, g.value = "mouse"), s && (f = s.scrollX, l = s.scrollY);
305
+ }, y = (t) => {
306
+ if (t.touches.length > 0) {
307
+ const m = E(t.touches[0]);
308
+ m && ([a.value, d.value] = m, g.value = "touch");
309
+ }
310
+ }, O = () => {
311
+ if (!c || !s)
312
+ return;
313
+ const t = E(c);
314
+ c instanceof MouseEvent && t && (a.value = t[0] + s.scrollX - f, d.value = t[1] + s.scrollY - l);
315
+ }, R = () => {
316
+ a.value = v.x, d.value = v.y;
317
+ }, T = u ? (t) => u(() => x(t), {}) : (t) => x(t), S = u ? (t) => u(() => y(t), {}) : (t) => y(t), A = u ? () => u(() => O(), {}) : () => O();
318
+ if (r) {
319
+ const t = { passive: !0 };
320
+ X(r, ["mousemove", "dragover"], T, t), i && n !== "movement" && (X(r, ["touchstart", "touchmove"], S, t), p && X(r, "touchend", R, t)), o && n === "page" && X(s, "scroll", A, t);
321
+ }
322
+ return {
323
+ x: a,
324
+ y: d,
325
+ sourceType: g
326
+ };
327
+ }
328
+ function pe(e, n = {}) {
329
+ const {
330
+ windowResize: i = !0,
331
+ windowScroll: p = !0,
332
+ handleOutside: v = !0,
333
+ window: s = B
334
+ } = n, r = n.type || "page", { x: o, y: u, sourceType: c } = ie(n), f = b(e ?? s?.document.body), l = b(0), a = b(0), d = b(0), g = b(0), E = b(0), x = b(0), y = b(!0);
335
+ function O() {
336
+ if (!s)
337
+ return;
338
+ const S = Y(f);
339
+ if (!S || !(S instanceof Element))
340
+ return;
341
+ const {
342
+ left: A,
343
+ top: t,
344
+ width: m,
345
+ height: w
346
+ } = S.getBoundingClientRect();
347
+ d.value = A + (r === "page" ? s.pageXOffset : 0), g.value = t + (r === "page" ? s.pageYOffset : 0), E.value = w, x.value = m;
348
+ const W = o.value - d.value, M = u.value - g.value;
349
+ y.value = m === 0 || w === 0 || W < 0 || M < 0 || W > m || M > w, (v || !y.value) && (l.value = W, a.value = M);
350
+ }
351
+ const R = [];
352
+ function T() {
353
+ R.forEach((S) => S()), R.length = 0;
354
+ }
355
+ if ($(() => {
356
+ O();
357
+ }), s) {
358
+ const {
359
+ stop: S
360
+ } = G(f, O), {
361
+ stop: A
362
+ } = ue(f, O, {
363
+ attributeFilter: ["style", "class"]
364
+ }), t = H(
365
+ [f, o, u],
366
+ O
367
+ );
368
+ R.push(
369
+ S,
370
+ A,
371
+ t
372
+ ), X(
373
+ document,
374
+ "mouseleave",
375
+ () => y.value = !0,
376
+ { passive: !0 }
377
+ ), p && R.push(
378
+ X("scroll", O, { capture: !0, passive: !0 })
379
+ ), i && R.push(
380
+ X("resize", O, { passive: !0 })
381
+ );
382
+ }
383
+ return {
384
+ x: o,
385
+ y: u,
386
+ sourceType: c,
387
+ elementX: l,
388
+ elementY: a,
389
+ elementPositionX: d,
390
+ elementPositionY: g,
391
+ elementHeight: E,
392
+ elementWidth: x,
393
+ isOutside: y,
394
+ stop: T
395
+ };
396
+ }
397
+ export {
398
+ pe as a,
399
+ fe as b,
400
+ G as c,
401
+ ae as d,
402
+ ve as u
403
+ };
@@ -0,0 +1,44 @@
1
+ import { App } from 'vue';
2
+ import { default as CxMarkerDefault } from './components/marker-default';
3
+ import { default as CxMarkerHtml } from './components/marker-html';
4
+ import { default as CxMarkerText } from './components/marker-text';
5
+ import { default as CxMarkerBubble } from './components/marker-bubble';
6
+ import { default as CxMarkerManage, MarkerManagerCore } from './components/marker-manage';
7
+ import { default as CxBasicVideo } from './components/basic-video';
8
+ import { default as CxCardContent } from './components/card-content';
9
+ import { default as CxCarouselImg } from './components/carousel-img';
10
+ import { default as CxCardPage } from './components/card-page';
11
+ import { default as CxCardCarousel } from './components/card-carousel';
12
+ import { default as CxEchartsPro } from './components/echarts-pro';
13
+ import { default as CxBasicAudio } from './components/basic-audio';
14
+ import { default as CxMeasurement } from './components/measurement';
15
+ import { useMarKerManage } from './components/marker-manage/src/hook/useMarkerManage';
16
+ import { MarkerManageOptions } from './components/marker-manage/src/type/markerManage';
17
+ declare global {
18
+ interface Window {
19
+ Cesium?: any;
20
+ }
21
+ }
22
+ declare const _default: {
23
+ install(app: App): void;
24
+ };
25
+ export default _default;
26
+ export { useMarKerManage, MarkerManageOptions, MarkerManagerCore };
27
+ export { CxMarkerDefault, CxMarkerText, CxMarkerBubble, CxMarkerManage, CxBasicVideo, CxCardContent, CxCarouselImg, CxEchartsPro, CxCardPage, CxCardCarousel, CxBasicAudio, CxMarkerHtml, CxMeasurement, };
28
+ declare module 'vue' {
29
+ interface GlobalComponents {
30
+ CxMarkerDefault: typeof CxMarkerDefault;
31
+ CxMarkerText: typeof CxMarkerText;
32
+ CxMarkerBubble: typeof CxMarkerBubble;
33
+ CxMarkerManage: typeof CxMarkerManage;
34
+ CxBasicVideo: typeof CxBasicVideo;
35
+ CxCardContent: typeof CxCardContent;
36
+ CxCarouselImg: typeof CxCarouselImg;
37
+ CxEchartsPro: typeof CxEchartsPro;
38
+ CxCardPage: typeof CxCardPage;
39
+ CxCardCarousel: typeof CxCardCarousel;
40
+ CxBasicAudio: typeof CxBasicAudio;
41
+ CxMarkerHtml: typeof CxMarkerHtml;
42
+ CxMeasurement: typeof CxMeasurement;
43
+ }
44
+ }
@@ -0,0 +1,82 @@
1
+ import { CxMarkerDefault as f } from "./components/marker-default.js";
2
+ import { CxMarkerHtml as s } from "./components/marker-html.js";
3
+ import { CxMarkerText as u } from "./components/marker-text.js";
4
+ import { CxMarkerBubble as c } from "./components/marker-bubble.js";
5
+ import { CxMarkerManage as C } from "./components/marker-manage.js";
6
+ import { MarkerManagerCore as J } from "./components/marker-manage.js";
7
+ import { CxBasicVideo as p } from "./components/basic-video.js";
8
+ import { CxCardContent as x } from "./components/card-content.js";
9
+ import { CxCarouselImg as l } from "./components/carousel-img.js";
10
+ import { CxCardPage as M } from "./components/card-page.js";
11
+ import { CxCardCarousel as d } from "./components/card-carousel.js";
12
+ import { C as g } from "./index-B03tSn8_.js";
13
+ import { CxBasicAudio as k } from "./components/basic-audio.js";
14
+ import { CxMeasurement as b } from "./components/measurement.js";
15
+ import { ref as h, unref as B, onUnmounted as P } from "vue";
16
+ function q() {
17
+ const o = h();
18
+ function n(r) {
19
+ P(() => {
20
+ o.value = null;
21
+ }), o.value = r;
22
+ }
23
+ function m() {
24
+ const r = B(o);
25
+ return r || console.error("未获取到markerManager实例!"), r;
26
+ }
27
+ const i = new Proxy(
28
+ {},
29
+ {
30
+ get(r, a) {
31
+ const t = m();
32
+ if (!t) return;
33
+ const e = t[a];
34
+ return typeof e == "function" ? e.bind(t) : e;
35
+ },
36
+ set(r, a, t) {
37
+ const e = m();
38
+ return e ? (e[a] = t, !0) : !1;
39
+ }
40
+ }
41
+ );
42
+ return [n, i];
43
+ }
44
+ const v = [
45
+ f,
46
+ u,
47
+ c,
48
+ C,
49
+ p,
50
+ x,
51
+ l,
52
+ g,
53
+ M,
54
+ d,
55
+ s,
56
+ b,
57
+ k
58
+ ], z = {
59
+ install(o) {
60
+ v.forEach((n) => {
61
+ o.use(n);
62
+ });
63
+ }
64
+ };
65
+ export {
66
+ k as CxBasicAudio,
67
+ p as CxBasicVideo,
68
+ d as CxCardCarousel,
69
+ x as CxCardContent,
70
+ M as CxCardPage,
71
+ l as CxCarouselImg,
72
+ g as CxEchartsPro,
73
+ c as CxMarkerBubble,
74
+ f as CxMarkerDefault,
75
+ s as CxMarkerHtml,
76
+ C as CxMarkerManage,
77
+ u as CxMarkerText,
78
+ b as CxMeasurement,
79
+ J as MarkerManagerCore,
80
+ z as default,
81
+ q as useMarKerManage
82
+ };
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "@report-components/cesium-vue",
3
+ "version": "0.0.1",
4
+ "main": "dist/index.js",
5
+ "module": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "sideEffects": false,
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./components/basic-audio": {
15
+ "import": "./dist/components/basic-audio.js",
16
+ "types": "./dist/components/basic-audio.d.ts"
17
+ },
18
+ "./components/basic-video": {
19
+ "import": "./dist/components/basic-video.js",
20
+ "types": "./dist/components/basic-video.d.ts"
21
+ },
22
+ "./components/card-carousel": {
23
+ "import": "./dist/components/card-carousel.js",
24
+ "types": "./dist/components/card-carousel.d.ts"
25
+ },
26
+ "./components/card-content": {
27
+ "import": "./dist/components/card-content.js",
28
+ "types": "./dist/components/card-content.d.ts"
29
+ },
30
+ "./components/card-page": {
31
+ "import": "./dist/components/card-page.js",
32
+ "types": "./dist/components/card-page.d.ts"
33
+ },
34
+ "./components/carousel-img": {
35
+ "import": "./dist/components/carousel-img.js",
36
+ "types": "./dist/components/carousel-img.d.ts"
37
+ },
38
+ "./components/echarts-pro": {
39
+ "import": "./dist/components/echarts-pro.js",
40
+ "types": "./dist/components/echarts-pro.d.ts"
41
+ },
42
+ "./components/marker-bubble": {
43
+ "import": "./dist/components/marker-bubble.js",
44
+ "types": "./dist/components/marker-bubble.d.ts"
45
+ },
46
+ "./components/marker-default": {
47
+ "import": "./dist/components/marker-default.js",
48
+ "types": "./dist/components/marker-default.d.ts"
49
+ },
50
+ "./components/marker-html": {
51
+ "import": "./dist/components/marker-html.js",
52
+ "types": "./dist/components/marker-html.d.ts"
53
+ },
54
+ "./components/marker-manage": {
55
+ "import": "./dist/components/marker-manage.js",
56
+ "types": "./dist/components/marker-manage.d.ts"
57
+ },
58
+ "./components/marker-text": {
59
+ "import": "./dist/components/marker-text.js",
60
+ "types": "./dist/components/marker-text.d.ts"
61
+ },
62
+ "./components/measurement": {
63
+ "import": "./dist/components/measurement.js",
64
+ "types": "./dist/components/measurement.d.ts"
65
+ }
66
+ },
67
+ "scripts": {
68
+ "dev": "vite",
69
+ "build": "vite build"
70
+ },
71
+ "dependencies": {
72
+ "@originjs/vite-plugin-federation": "^1.4.1",
73
+ "@report-components/cesium-core": "workspace:*",
74
+ "@report-components/theme-chalk": "workspace:*",
75
+ "@report-components/utils": "workspace:*",
76
+ "@types/howler": "^2.2.12",
77
+ "@types/lodash-es": "^4.17.12",
78
+ "@vue/runtime-dom": "^3.5.22",
79
+ "@vueuse/core": "^13.9.0",
80
+ "axios": "^0.26.1",
81
+ "echarts": "^5.6.0",
82
+ "echarts-gl": "^2.0.9",
83
+ "echarts-liquidfill": "^3.1.0",
84
+ "howler": "^2.2.4",
85
+ "lodash-es": "^4.17.21",
86
+ "vite-plugin-cesium": "^1.2.23",
87
+ "vue-types": "^4.2.1"
88
+ },
89
+ "devDependencies": {
90
+ "@babel/generator": "^7.24.0",
91
+ "@babel/parser": "^7.24.0",
92
+ "@babel/traverse": "^7.24.0",
93
+ "@babel/types": "^7.24.0",
94
+ "@vitejs/plugin-vue": "^5.2.4",
95
+ "@vue/tsconfig": "^0.8.1",
96
+ "less": "^4.3.0",
97
+ "less-loader": "^12.3.0",
98
+ "postcss-import": "^16.1.1",
99
+ "rollup-plugin-visualizer": "^6.0.5",
100
+ "typescript": "^5.8.3",
101
+ "vite": "^6.3.5",
102
+ "vite-plugin-dts": "^4.5.4",
103
+ "vue": "^3.5.22",
104
+ "vue-tsc": "^2.2.10"
105
+ }
106
+ }
@@ -0,0 +1,6 @@
1
+ import { withInstall } from '@report-components/utils/with-install';
2
+ import _BasicAudio from './src/BasicAudio.vue';
3
+
4
+ const CxBasicAudio = withInstall(_BasicAudio);
5
+ export { CxBasicAudio };
6
+ export default CxBasicAudio;