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.
- package/leiting-bim.es.js +1 -1
- package/leiting-bim.umd.js +11 -11
- package/leitingbim.css +1 -1
- package/package.json +1 -1
- package/plugins/.gitmodules +4 -0
- package/plugins/README.md +2 -0
- package/plugins/build.cjs +63 -0
- package/plugins/cesium-core/dist/cesium-core.mjs +6217 -0
- package/plugins/cesium-core/dist/cesium-core.umd.js +76 -0
- package/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +73 -0
- package/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -0
- package/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -0
- package/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -0
- package/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -0
- package/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -0
- package/plugins/cesium-core/dist/components/Material/index.d.ts +3 -0
- package/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -0
- package/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -0
- package/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -0
- package/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -0
- package/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -0
- package/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -0
- package/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -0
- package/plugins/cesium-core/dist/components/draw/types.d.ts +29 -0
- package/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -0
- package/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -0
- package/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -0
- package/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +28 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +22 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +27 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +25 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +30 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +28 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +21 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +30 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -0
- package/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -0
- package/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -0
- package/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -0
- package/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -0
- package/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -0
- package/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -0
- package/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -0
- package/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -0
- package/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -0
- package/plugins/cesium-core/dist/index.d.ts +12 -0
- package/plugins/cesium-core/package.json +27 -0
- package/plugins/cesium-core/pnpm-lock.yaml +872 -0
- package/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +546 -0
- package/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +489 -0
- package/plugins/cesium-core/src/components/MarkerEvent.ts +92 -0
- package/plugins/cesium-core/src/components/Material/MaterialManager.ts +129 -0
- package/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +116 -0
- package/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +236 -0
- package/plugins/cesium-core/src/components/Material/index.ts +3 -0
- package/plugins/cesium-core/src/components/TooltipManager.ts +52 -0
- package/plugins/cesium-core/src/components/draw/DrawTool.ts +55 -0
- package/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +159 -0
- package/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +113 -0
- package/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +70 -0
- package/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +112 -0
- package/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +115 -0
- package/plugins/cesium-core/src/components/draw/types.ts +28 -0
- package/plugins/cesium-core/src/components/entity/EntityLayer.ts +453 -0
- package/plugins/cesium-core/src/components/gltf/GLTFManage.ts +799 -0
- package/plugins/cesium-core/src/components/gltf/index.ts +1 -0
- package/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +416 -0
- package/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +552 -0
- package/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +289 -0
- package/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +139 -0
- package/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +427 -0
- package/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +356 -0
- package/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +516 -0
- package/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +472 -0
- package/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +250 -0
- package/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +185 -0
- package/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +561 -0
- package/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +361 -0
- package/plugins/cesium-core/src/components/measurement/index.ts +13 -0
- package/plugins/cesium-core/src/components/measurement/types.ts +57 -0
- package/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +556 -0
- package/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +286 -0
- package/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +174 -0
- package/plugins/cesium-core/src/components/roaming/index.ts +3 -0
- package/plugins/cesium-core/src/components/roaming/types.ts +71 -0
- package/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +98 -0
- package/plugins/cesium-core/src/components/utils/uuid.ts +7 -0
- package/plugins/cesium-core/src/index.ts +17 -0
- package/plugins/cesium-core/src/test/measurement/index.html +166 -0
- package/plugins/cesium-core/src/test/roaming/c.gltf +1 -0
- package/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
- package/plugins/cesium-core/src/test/roaming/index.html +51 -0
- package/plugins/cesium-core/src/test/roaming/path.html +448 -0
- package/plugins/cesium-core/src/test/roaming/view.html +520 -0
- package/plugins/cesium-core/stats.html +4949 -0
- package/plugins/cesium-core/tsconfig.json +14 -0
- package/plugins/cesium-core/vite.config.ts +35 -0
- package/plugins/cesium-vue/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +13 -0
- package/plugins/cesium-vue/dist/components/basic-audio.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/basic-audio.js +1295 -0
- package/plugins/cesium-vue/dist/components/basic-video/index.d.ts +98 -0
- package/plugins/cesium-vue/dist/components/basic-video.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/basic-video.js +67 -0
- package/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +147 -0
- package/plugins/cesium-vue/dist/components/card-carousel.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/card-carousel.js +143 -0
- package/plugins/cesium-vue/dist/components/card-content/index.d.ts +16 -0
- package/plugins/cesium-vue/dist/components/card-content.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/card-content.js +74 -0
- package/plugins/cesium-vue/dist/components/card-page/index.d.ts +64 -0
- package/plugins/cesium-vue/dist/components/card-page.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/card-page.js +111 -0
- package/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +34 -0
- package/plugins/cesium-vue/dist/components/carousel-img.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/carousel-img.js +72 -0
- package/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +63 -0
- package/plugins/cesium-vue/dist/components/echarts-pro.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/echarts-pro.js +7 -0
- package/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +73 -0
- package/plugins/cesium-vue/dist/components/marker-bubble.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-bubble.js +123 -0
- package/plugins/cesium-vue/dist/components/marker-default/index.d.ts +43 -0
- package/plugins/cesium-vue/dist/components/marker-default.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-default.js +39 -0
- package/plugins/cesium-vue/dist/components/marker-html/index.d.ts +43 -0
- package/plugins/cesium-vue/dist/components/marker-html.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-html.js +40 -0
- package/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +159 -0
- package/plugins/cesium-vue/dist/components/marker-manage.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-manage.js +896 -0
- package/plugins/cesium-vue/dist/components/marker-text/index.d.ts +25 -0
- package/plugins/cesium-vue/dist/components/marker-text.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-text.js +30 -0
- package/plugins/cesium-vue/dist/components/measurement/index.d.ts +73 -0
- package/plugins/cesium-vue/dist/components/measurement.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/measurement.js +170 -0
- package/plugins/cesium-vue/dist/create-DynflqE1.js +31 -0
- package/plugins/cesium-vue/dist/index-B03tSn8_.js +45855 -0
- package/plugins/cesium-vue/dist/index-CUs_hd1V.js +403 -0
- package/plugins/cesium-vue/dist/index.d.ts +44 -0
- package/plugins/cesium-vue/dist/index.js +82 -0
- package/plugins/cesium-vue/package.json +106 -0
- package/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
- package/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
- package/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
- package/plugins/cesium-vue/src/components/basic-audio/index.ts +6 -0
- package/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +119 -0
- package/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +6 -0
- package/plugins/cesium-vue/src/components/basic-video/index.ts +7 -0
- package/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +58 -0
- package/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +14 -0
- package/plugins/cesium-vue/src/components/card-carousel/index.ts +7 -0
- package/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +124 -0
- package/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +60 -0
- package/plugins/cesium-vue/src/components/card-content/index.ts +7 -0
- package/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +41 -0
- package/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +22 -0
- package/plugins/cesium-vue/src/components/card-page/index.ts +7 -0
- package/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +102 -0
- package/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +37 -0
- package/plugins/cesium-vue/src/components/carousel-img/index.ts +7 -0
- package/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +84 -0
- package/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +8 -0
- package/plugins/cesium-vue/src/components/echarts-pro/index.ts +7 -0
- package/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +107 -0
- package/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +12 -0
- package/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +55 -0
- package/plugins/cesium-vue/src/components/marker-bubble/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +235 -0
- package/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +35 -0
- package/plugins/cesium-vue/src/components/marker-default/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +19 -0
- package/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +12 -0
- package/plugins/cesium-vue/src/components/marker-html/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +21 -0
- package/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +12 -0
- package/plugins/cesium-vue/src/components/marker-manage/index.ts +9 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +106 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +8 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +466 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +148 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +45 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +75 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +154 -0
- package/plugins/cesium-vue/src/components/marker-text/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +14 -0
- package/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +10 -0
- package/plugins/cesium-vue/src/components/measurement/index.ts +7 -0
- package/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +183 -0
- package/plugins/cesium-vue/src/components/measurement/src/measurement.ts +20 -0
- package/plugins/cesium-vue/src/index.ts +89 -0
- package/plugins/cesium-vue/stats.html +4949 -0
- package/plugins/cesium-vue/tsconfig.json +18 -0
- package/plugins/cesium-vue/vite.config.ts +62 -0
- package/plugins/plugins/README.md +2 -0
- package/plugins/plugins/build.cjs +63 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.mjs +5881 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.mjs.map +1 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.umd.js +77 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.umd.js.map +1 -0
- package/plugins/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +73 -0
- package/plugins/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -0
- package/plugins/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -0
- package/plugins/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -0
- package/plugins/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -0
- package/plugins/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -0
- package/plugins/plugins/cesium-core/dist/components/Material/index.d.ts +3 -0
- package/plugins/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -0
- package/plugins/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -0
- package/plugins/plugins/cesium-core/dist/components/draw/types.d.ts +29 -0
- package/plugins/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -0
- package/plugins/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -0
- package/plugins/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +21 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +25 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +24 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +22 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +20 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +24 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -0
- package/plugins/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -0
- package/plugins/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -0
- package/plugins/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -0
- package/plugins/plugins/cesium-core/dist/index.d.ts +12 -0
- package/plugins/plugins/cesium-core/package.json +26 -0
- package/plugins/plugins/cesium-core/pnpm-lock.yaml +872 -0
- package/plugins/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +546 -0
- package/plugins/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +489 -0
- package/plugins/plugins/cesium-core/src/components/MarkerEvent.ts +92 -0
- package/plugins/plugins/cesium-core/src/components/Material/MaterialManager.ts +129 -0
- package/plugins/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +116 -0
- package/plugins/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +236 -0
- package/plugins/plugins/cesium-core/src/components/Material/index.ts +3 -0
- package/plugins/plugins/cesium-core/src/components/TooltipManager.ts +52 -0
- package/plugins/plugins/cesium-core/src/components/draw/DrawTool.ts +55 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +159 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +113 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +70 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +112 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +115 -0
- package/plugins/plugins/cesium-core/src/components/draw/types.ts +28 -0
- package/plugins/plugins/cesium-core/src/components/entity/EntityLayer.ts +453 -0
- package/plugins/plugins/cesium-core/src/components/gltf/GLTFManage.ts +799 -0
- package/plugins/plugins/cesium-core/src/components/gltf/index.ts +1 -0
- package/plugins/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +416 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +451 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +267 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +139 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +418 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +352 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +388 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +379 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +246 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +185 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +541 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +360 -0
- package/plugins/plugins/cesium-core/src/components/measurement/index.ts +13 -0
- package/plugins/plugins/cesium-core/src/components/measurement/types.ts +57 -0
- package/plugins/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +556 -0
- package/plugins/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +286 -0
- package/plugins/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +174 -0
- package/plugins/plugins/cesium-core/src/components/roaming/index.ts +3 -0
- package/plugins/plugins/cesium-core/src/components/roaming/types.ts +71 -0
- package/plugins/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +98 -0
- package/plugins/plugins/cesium-core/src/components/utils/uuid.ts +7 -0
- package/plugins/plugins/cesium-core/src/index.ts +17 -0
- package/plugins/plugins/cesium-core/src/test/measurement/index.html +166 -0
- package/plugins/plugins/cesium-core/src/test/roaming/c.gltf +1 -0
- package/plugins/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
- package/plugins/plugins/cesium-core/src/test/roaming/index.html +51 -0
- package/plugins/plugins/cesium-core/src/test/roaming/path.html +448 -0
- package/plugins/plugins/cesium-core/src/test/roaming/view.html +520 -0
- package/plugins/plugins/cesium-core/stats.html +4949 -0
- package/plugins/plugins/cesium-core/tsconfig.json +14 -0
- package/plugins/plugins/cesium-core/vite.config.ts +35 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +18 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts +92 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts +82 -0
- package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +152 -0
- package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts +21 -0
- package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts +69 -0
- package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +21 -0
- package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +68 -0
- package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +78 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts +48 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts +48 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +164 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts +30 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts +78 -0
- package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts +82 -0
- package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts +67 -0
- package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/index.css +1 -0
- package/plugins/plugins/cesium-vue/dist/index.d.ts +30 -0
- package/plugins/plugins/cesium-vue/dist/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/index.js +10087 -0
- package/plugins/plugins/cesium-vue/dist/index.js.map +1 -0
- package/plugins/plugins/cesium-vue/dist/index.umd.cjs +46 -0
- package/plugins/plugins/cesium-vue/dist/index.umd.cjs.map +1 -0
- package/plugins/plugins/cesium-vue/package.json +48 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
- package/plugins/plugins/cesium-vue/src/components/basic-audio/index.ts +11 -0
- package/plugins/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +110 -0
- package/plugins/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +6 -0
- package/plugins/plugins/cesium-vue/src/components/basic-video/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +99 -0
- package/plugins/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +13 -0
- package/plugins/plugins/cesium-vue/src/components/camera-roam/index.ts +4 -0
- package/plugins/plugins/cesium-vue/src/components/camera-roam/src/CameraRoam.vue +434 -0
- package/plugins/plugins/cesium-vue/src/components/camera-roam/src/cameraRoam.ts +28 -0
- package/plugins/plugins/cesium-vue/src/components/card-carousel/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +124 -0
- package/plugins/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +60 -0
- package/plugins/plugins/cesium-vue/src/components/card-content/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +41 -0
- package/plugins/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +22 -0
- package/plugins/plugins/cesium-vue/src/components/card-page/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +102 -0
- package/plugins/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +37 -0
- package/plugins/plugins/cesium-vue/src/components/carousel-img/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +15 -0
- package/plugins/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +6 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +107 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +55 -0
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +235 -0
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +35 -0
- package/plugins/plugins/cesium-vue/src/components/marker-default/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +19 -0
- package/plugins/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-html/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +21 -0
- package/plugins/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/index.ts +14 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +106 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +8 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +466 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +148 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +45 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +75 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +154 -0
- package/plugins/plugins/cesium-vue/src/components/marker-text/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +14 -0
- package/plugins/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +10 -0
- package/plugins/plugins/cesium-vue/src/components/measurement/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +183 -0
- package/plugins/plugins/cesium-vue/src/components/measurement/src/measurement.ts +20 -0
- package/plugins/plugins/cesium-vue/src/components/path-roam/index.ts +4 -0
- package/plugins/plugins/cesium-vue/src/components/path-roam/src/PathRoam.vue +429 -0
- package/plugins/plugins/cesium-vue/src/components/path-roam/src/pathRoam.ts +28 -0
- package/plugins/plugins/cesium-vue/src/components/test/CardMarker.vue +150 -0
- package/plugins/plugins/cesium-vue/src/components/test/CesiumMarker.vue +34 -0
- package/plugins/plugins/cesium-vue/src/components/test/CesiumViewer.vue +77 -0
- package/plugins/plugins/cesium-vue/src/components/test/MyLabel.vue +25 -0
- package/plugins/plugins/cesium-vue/src/components/test/index.ts +28 -0
- package/plugins/plugins/cesium-vue/src/index.ts +83 -0
- package/plugins/plugins/cesium-vue/stats.html +4949 -0
- package/plugins/plugins/cesium-vue/tsconfig.json +18 -0
- package/plugins/plugins/cesium-vue/vite.config.ts +56 -0
- package/plugins/plugins/theme-chalk/dist/theme-chalk.css +819 -0
- package/plugins/plugins/theme-chalk/index.less +11 -0
- package/plugins/plugins/theme-chalk/package.json +27 -0
- package/plugins/plugins/theme-chalk/src/basicAudio.less +41 -0
- package/plugins/plugins/theme-chalk/src/basicVideo.less +17 -0
- package/plugins/plugins/theme-chalk/src/cameraRoam.less +239 -0
- package/plugins/plugins/theme-chalk/src/cardCarousel.less +71 -0
- package/plugins/plugins/theme-chalk/src/cardContent.less +73 -0
- package/plugins/plugins/theme-chalk/src/cardPage.less +61 -0
- package/plugins/plugins/theme-chalk/src/carouselImg.less +34 -0
- package/plugins/plugins/theme-chalk/src/marker.less +107 -0
- package/plugins/plugins/theme-chalk/src/markerManage.less +25 -0
- package/plugins/plugins/theme-chalk/src/measurement.less +106 -0
- package/plugins/plugins/theme-chalk/src/mixins/config.less +4 -0
- package/plugins/plugins/theme-chalk/src/mixins/mixins.less +64 -0
- package/plugins/plugins/theme-chalk/src/pathRoam.less +198 -0
- package/plugins/plugins/utils/create.ts +45 -0
- package/plugins/plugins/utils/package.json +12 -0
- package/plugins/plugins/utils/uuid.ts +43 -0
- package/plugins/plugins/utils/with-install.ts +10 -0
- package/plugins/theme-chalk/dist/theme-chalk.css +852 -0
- package/plugins/theme-chalk/index.less +11 -0
- package/plugins/theme-chalk/package.json +27 -0
- package/plugins/theme-chalk/src/basicAudio.less +44 -0
- package/plugins/theme-chalk/src/basicVideo.less +17 -0
- package/plugins/theme-chalk/src/cameraRoam.less +239 -0
- package/plugins/theme-chalk/src/cardCarousel.less +71 -0
- package/plugins/theme-chalk/src/cardContent.less +73 -0
- package/plugins/theme-chalk/src/cardPage.less +61 -0
- package/plugins/theme-chalk/src/carouselImg.less +66 -0
- package/plugins/theme-chalk/src/marker.less +107 -0
- package/plugins/theme-chalk/src/markerManage.less +25 -0
- package/plugins/theme-chalk/src/measurement.less +106 -0
- package/plugins/theme-chalk/src/mixins/config.less +4 -0
- package/plugins/theme-chalk/src/mixins/mixins.less +64 -0
- package/plugins/theme-chalk/src/pathRoam.less +198 -0
- package/plugins/utils/create.ts +45 -0
- package/plugins/utils/package.json +12 -0
- package/plugins/utils/uuid.ts +43 -0
- package/plugins/utils/with-install.ts +10 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { p as h, c as S, w as k } from "../create-DynflqE1.js";
|
|
2
|
+
import { defineComponent as x, ref as c, computed as v, watch as w, createElementBlock as P, openBlock as f, normalizeStyle as s, normalizeClass as o, unref as t, createElementVNode as i, createBlock as B, createCommentVNode as $, toDisplayString as u } from "vue";
|
|
3
|
+
import { CxCardContent as R } from "./card-content.js";
|
|
4
|
+
const I = {
|
|
5
|
+
data: {
|
|
6
|
+
type: Array,
|
|
7
|
+
default: () => []
|
|
8
|
+
},
|
|
9
|
+
imgSrc: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: () => ""
|
|
12
|
+
},
|
|
13
|
+
styleConfig: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: () => ({
|
|
16
|
+
backgroundColor: "#fff",
|
|
17
|
+
width: "500px",
|
|
18
|
+
height: "300px",
|
|
19
|
+
borderRadius: "5px"
|
|
20
|
+
})
|
|
21
|
+
},
|
|
22
|
+
paginationStyle: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: () => ({
|
|
25
|
+
color: "#222",
|
|
26
|
+
backgroundColor: "#666"
|
|
27
|
+
})
|
|
28
|
+
}
|
|
29
|
+
}, M = /* @__PURE__ */ x({
|
|
30
|
+
name: `${h}-card-page`,
|
|
31
|
+
__name: "CardPage",
|
|
32
|
+
props: I,
|
|
33
|
+
setup(b) {
|
|
34
|
+
const e = b, a = S("card"), n = c(0), g = c(""), d = v(() => e.data[n.value] || {});
|
|
35
|
+
function C() {
|
|
36
|
+
e.data.length !== 0 && (n.value = (n.value - 1 + e.data.length) % e.data.length);
|
|
37
|
+
}
|
|
38
|
+
function y() {
|
|
39
|
+
e.data.length !== 0 && (n.value = (n.value + 1) % e.data.length);
|
|
40
|
+
}
|
|
41
|
+
const m = v(() => ({
|
|
42
|
+
backgroundColor: e.styleConfig.backgroundColor || "#fff",
|
|
43
|
+
width: e.styleConfig.width || "500px",
|
|
44
|
+
height: e.styleConfig.height || "300px",
|
|
45
|
+
borderRadius: e.styleConfig.borderRadius || "5px",
|
|
46
|
+
backgroundImage: e.imgSrc ? `url(${e.imgSrc})` : "",
|
|
47
|
+
backgroundSize: "100% 100%",
|
|
48
|
+
paddingTop: e.styleConfig.paddingTop,
|
|
49
|
+
paddingLeft: e.styleConfig.paddingLeft,
|
|
50
|
+
paddingBottom: e.styleConfig.paddingBottom,
|
|
51
|
+
paddingRight: e.styleConfig.paddingRight,
|
|
52
|
+
"--buttonHoverColor": e.paginationStyle?.buttonHoverColor || "#000"
|
|
53
|
+
}));
|
|
54
|
+
return w(
|
|
55
|
+
() => e.data,
|
|
56
|
+
(r) => {
|
|
57
|
+
n.value >= r.length && (n.value = 0);
|
|
58
|
+
}
|
|
59
|
+
), (r, l) => (f(), P("div", {
|
|
60
|
+
class: o(t(a).b("page")),
|
|
61
|
+
style: s(m.value)
|
|
62
|
+
}, [
|
|
63
|
+
i("div", {
|
|
64
|
+
class: o(t(a).b("page-content"))
|
|
65
|
+
}, [
|
|
66
|
+
d.value ? (f(), B(t(R), {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: o(t(a).be("page-content", "item")),
|
|
69
|
+
data: d.value
|
|
70
|
+
}, null, 8, ["class", "data"])) : $("", !0)
|
|
71
|
+
], 2),
|
|
72
|
+
i("div", {
|
|
73
|
+
class: o(t(a).b("page-pagination")),
|
|
74
|
+
style: s({
|
|
75
|
+
color: r.paginationStyle?.textColor || "#222"
|
|
76
|
+
})
|
|
77
|
+
}, [
|
|
78
|
+
i("button", {
|
|
79
|
+
onClick: C,
|
|
80
|
+
style: s({ color: r.paginationStyle?.buttonColor || "#666" }),
|
|
81
|
+
onMouseenter: l[0] || (l[0] = (p) => g.value = "prev"),
|
|
82
|
+
onMouseleave: l[1] || (l[1] = (p) => g.value = ""),
|
|
83
|
+
class: o([t(a).be("page", "btn"), { hover: g.value === "prev" }])
|
|
84
|
+
}, " ◀ ", 38),
|
|
85
|
+
i("div", {
|
|
86
|
+
class: o(t(a).b("page-pagination-center"))
|
|
87
|
+
}, [
|
|
88
|
+
i("div", {
|
|
89
|
+
class: o(t(a).be("page", "title-preview"))
|
|
90
|
+
}, u(d.value?.title || ""), 3),
|
|
91
|
+
i("div", {
|
|
92
|
+
class: o(t(a).be("page", "info")),
|
|
93
|
+
style: s({ color: r.paginationStyle?.pageInfoColor || "#888" })
|
|
94
|
+
}, u(n.value + 1) + " / " + u(r.data.length), 7)
|
|
95
|
+
], 2),
|
|
96
|
+
i("button", {
|
|
97
|
+
onClick: y,
|
|
98
|
+
style: s({ color: r.paginationStyle?.buttonColor || "#666" }),
|
|
99
|
+
onMouseenter: l[2] || (l[2] = (p) => g.value = "next"),
|
|
100
|
+
onMouseleave: l[3] || (l[3] = (p) => g.value = ""),
|
|
101
|
+
class: o([t(a).be("page", "btn"), { hover: g.value === "next" }])
|
|
102
|
+
}, " ▶ ", 38)
|
|
103
|
+
], 6)
|
|
104
|
+
], 6));
|
|
105
|
+
}
|
|
106
|
+
}), E = k(M);
|
|
107
|
+
export {
|
|
108
|
+
E as CxCardPage,
|
|
109
|
+
I as cardPageProps,
|
|
110
|
+
E as default
|
|
111
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export * from './src/carouselImg';
|
|
2
|
+
declare const CxCarouselImg: import('@report-components/utils/with-install').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
readonly data: {
|
|
4
|
+
readonly type: import('vue').PropType<string[]>;
|
|
5
|
+
readonly default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
readonly autoplay: {
|
|
8
|
+
readonly type: BooleanConstructor;
|
|
9
|
+
readonly default: false;
|
|
10
|
+
};
|
|
11
|
+
readonly interval: {
|
|
12
|
+
readonly type: NumberConstructor;
|
|
13
|
+
readonly default: 3000;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
readonly data: {
|
|
17
|
+
readonly type: import('vue').PropType<string[]>;
|
|
18
|
+
readonly default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
readonly autoplay: {
|
|
21
|
+
readonly type: BooleanConstructor;
|
|
22
|
+
readonly default: false;
|
|
23
|
+
};
|
|
24
|
+
readonly interval: {
|
|
25
|
+
readonly type: NumberConstructor;
|
|
26
|
+
readonly default: 3000;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {
|
|
29
|
+
readonly data: string[];
|
|
30
|
+
readonly autoplay: boolean;
|
|
31
|
+
readonly interval: number;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
33
|
+
export { CxCarouselImg };
|
|
34
|
+
export default CxCarouselImg;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { p as _, c as b, w } from "../create-DynflqE1.js";
|
|
2
|
+
import { defineComponent as k, ref as C, onMounted as I, watch as x, onBeforeUnmount as B, createElementBlock as n, createCommentVNode as i, openBlock as r, normalizeClass as o, unref as a, Fragment as N, renderList as A, withDirectives as P, createElementVNode as z, vShow as E } from "vue";
|
|
3
|
+
const V = {
|
|
4
|
+
data: { type: Array, default: () => [] },
|
|
5
|
+
autoplay: { type: Boolean, default: !1 },
|
|
6
|
+
interval: { type: Number, default: 3e3 }
|
|
7
|
+
}, D = ["src"], F = /* @__PURE__ */ k({
|
|
8
|
+
name: `${_}-carousel-img`,
|
|
9
|
+
__name: "CarouselImg",
|
|
10
|
+
props: V,
|
|
11
|
+
setup(v) {
|
|
12
|
+
const e = v, t = b("carousel"), l = C(0);
|
|
13
|
+
let s;
|
|
14
|
+
const d = (g) => {
|
|
15
|
+
if (!e.data || e.data.length === 0) return;
|
|
16
|
+
const c = e.data.length, u = (g % c + c) % c;
|
|
17
|
+
l.value = u;
|
|
18
|
+
}, m = () => {
|
|
19
|
+
d(l.value + 1);
|
|
20
|
+
}, y = () => {
|
|
21
|
+
d(l.value - 1);
|
|
22
|
+
}, p = () => {
|
|
23
|
+
s && (clearInterval(s), s = void 0);
|
|
24
|
+
}, f = () => {
|
|
25
|
+
p(), !(!e.autoplay || !e.data || e.data.length <= 1) && (s = window.setInterval(() => {
|
|
26
|
+
m();
|
|
27
|
+
}, e.interval));
|
|
28
|
+
};
|
|
29
|
+
return I(() => {
|
|
30
|
+
f();
|
|
31
|
+
}), x(
|
|
32
|
+
() => [e.autoplay, e.interval, e.data?.length],
|
|
33
|
+
() => {
|
|
34
|
+
f();
|
|
35
|
+
}
|
|
36
|
+
), B(() => {
|
|
37
|
+
p();
|
|
38
|
+
}), (g, c) => e.data?.length >= 1 ? (r(), n("div", {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: o(a(t).b())
|
|
41
|
+
}, [
|
|
42
|
+
(r(!0), n(N, null, A(e.data, (u, h) => P((r(), n("div", {
|
|
43
|
+
key: h,
|
|
44
|
+
class: o(a(t).b("inner"))
|
|
45
|
+
}, [
|
|
46
|
+
z("img", {
|
|
47
|
+
src: u,
|
|
48
|
+
class: o(a(t).be("inner", "img"))
|
|
49
|
+
}, null, 10, D)
|
|
50
|
+
], 2)), [
|
|
51
|
+
[E, h === l.value]
|
|
52
|
+
])), 128)),
|
|
53
|
+
e.data?.length > 1 ? (r(), n("button", {
|
|
54
|
+
key: 0,
|
|
55
|
+
type: "button",
|
|
56
|
+
class: o([a(t).e("btn"), a(t).e("arrow__left")]),
|
|
57
|
+
onClick: y
|
|
58
|
+
}, " ◀ ", 2)) : i("", !0),
|
|
59
|
+
e.data?.length > 1 ? (r(), n("button", {
|
|
60
|
+
key: 1,
|
|
61
|
+
type: "button",
|
|
62
|
+
class: o([a(t).e("btn"), a(t).e("arrow__right")]),
|
|
63
|
+
onClick: m
|
|
64
|
+
}, " ▶ ", 2)) : i("", !0)
|
|
65
|
+
], 2)) : i("", !0);
|
|
66
|
+
}
|
|
67
|
+
}), S = w(F);
|
|
68
|
+
export {
|
|
69
|
+
S as CxCarouselImg,
|
|
70
|
+
V as carouselImgProps,
|
|
71
|
+
S as default
|
|
72
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export * from './src/echartsPro';
|
|
2
|
+
declare const CxEchartsPro: import('@report-components/utils/with-install').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
readonly width: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "100%";
|
|
6
|
+
};
|
|
7
|
+
readonly height: {
|
|
8
|
+
readonly type: StringConstructor;
|
|
9
|
+
readonly default: "100%";
|
|
10
|
+
};
|
|
11
|
+
readonly option: {
|
|
12
|
+
readonly type: ObjectConstructor;
|
|
13
|
+
readonly default: () => {};
|
|
14
|
+
};
|
|
15
|
+
readonly dataset: {
|
|
16
|
+
readonly type: ObjectConstructor;
|
|
17
|
+
readonly default: () => {};
|
|
18
|
+
};
|
|
19
|
+
readonly dataSourceSetting: {
|
|
20
|
+
readonly type: ObjectConstructor;
|
|
21
|
+
readonly default: () => {};
|
|
22
|
+
};
|
|
23
|
+
readonly theme: {
|
|
24
|
+
readonly type: StringConstructor;
|
|
25
|
+
readonly default: "light";
|
|
26
|
+
};
|
|
27
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
readonly width: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: "100%";
|
|
31
|
+
};
|
|
32
|
+
readonly height: {
|
|
33
|
+
readonly type: StringConstructor;
|
|
34
|
+
readonly default: "100%";
|
|
35
|
+
};
|
|
36
|
+
readonly option: {
|
|
37
|
+
readonly type: ObjectConstructor;
|
|
38
|
+
readonly default: () => {};
|
|
39
|
+
};
|
|
40
|
+
readonly dataset: {
|
|
41
|
+
readonly type: ObjectConstructor;
|
|
42
|
+
readonly default: () => {};
|
|
43
|
+
};
|
|
44
|
+
readonly dataSourceSetting: {
|
|
45
|
+
readonly type: ObjectConstructor;
|
|
46
|
+
readonly default: () => {};
|
|
47
|
+
};
|
|
48
|
+
readonly theme: {
|
|
49
|
+
readonly type: StringConstructor;
|
|
50
|
+
readonly default: "light";
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
53
|
+
readonly option: Record<string, any>;
|
|
54
|
+
readonly width: string;
|
|
55
|
+
readonly height: string;
|
|
56
|
+
readonly theme: string;
|
|
57
|
+
readonly dataset: Record<string, any>;
|
|
58
|
+
readonly dataSourceSetting: Record<string, any>;
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
60
|
+
chartRef: HTMLDivElement;
|
|
61
|
+
}, HTMLDivElement>>;
|
|
62
|
+
export { CxEchartsPro };
|
|
63
|
+
export default CxEchartsPro;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export * from './src/markerBubble';
|
|
2
|
+
declare const CxMarkerBubble: import('@report-components/utils/with-install').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
readonly text: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "文字";
|
|
6
|
+
};
|
|
7
|
+
readonly textStyle: {
|
|
8
|
+
readonly type: ObjectConstructor;
|
|
9
|
+
readonly default: () => void;
|
|
10
|
+
};
|
|
11
|
+
readonly lineStyle: {
|
|
12
|
+
readonly type: ObjectConstructor;
|
|
13
|
+
readonly default: () => void;
|
|
14
|
+
};
|
|
15
|
+
readonly isCanDraggable: {
|
|
16
|
+
readonly type: BooleanConstructor;
|
|
17
|
+
readonly default: false;
|
|
18
|
+
};
|
|
19
|
+
readonly onCanDraggable: {
|
|
20
|
+
readonly type: FunctionConstructor;
|
|
21
|
+
};
|
|
22
|
+
readonly pixelOffset: {
|
|
23
|
+
readonly type: ObjectConstructor;
|
|
24
|
+
readonly default: () => void;
|
|
25
|
+
};
|
|
26
|
+
readonly otherOffset: {
|
|
27
|
+
readonly type: ObjectConstructor;
|
|
28
|
+
readonly default: () => void;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
setOtherOffset: (...args: any[]) => void;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
readonly text: {
|
|
34
|
+
readonly type: StringConstructor;
|
|
35
|
+
readonly default: "文字";
|
|
36
|
+
};
|
|
37
|
+
readonly textStyle: {
|
|
38
|
+
readonly type: ObjectConstructor;
|
|
39
|
+
readonly default: () => void;
|
|
40
|
+
};
|
|
41
|
+
readonly lineStyle: {
|
|
42
|
+
readonly type: ObjectConstructor;
|
|
43
|
+
readonly default: () => void;
|
|
44
|
+
};
|
|
45
|
+
readonly isCanDraggable: {
|
|
46
|
+
readonly type: BooleanConstructor;
|
|
47
|
+
readonly default: false;
|
|
48
|
+
};
|
|
49
|
+
readonly onCanDraggable: {
|
|
50
|
+
readonly type: FunctionConstructor;
|
|
51
|
+
};
|
|
52
|
+
readonly pixelOffset: {
|
|
53
|
+
readonly type: ObjectConstructor;
|
|
54
|
+
readonly default: () => void;
|
|
55
|
+
};
|
|
56
|
+
readonly otherOffset: {
|
|
57
|
+
readonly type: ObjectConstructor;
|
|
58
|
+
readonly default: () => void;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
onSetOtherOffset?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
readonly text: string;
|
|
64
|
+
readonly textStyle: Record<string, any>;
|
|
65
|
+
readonly lineStyle: Record<string, any>;
|
|
66
|
+
readonly isCanDraggable: boolean;
|
|
67
|
+
readonly pixelOffset: Record<string, any>;
|
|
68
|
+
readonly otherOffset: Record<string, any>;
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
70
|
+
el: HTMLDivElement;
|
|
71
|
+
}, HTMLDivElement>>;
|
|
72
|
+
export { CxMarkerBubble };
|
|
73
|
+
export default CxMarkerBubble;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { p as fe, c as oe, w as ne } from "../create-DynflqE1.js";
|
|
2
|
+
import { defineComponent as ue, ref as m, computed as K, createElementBlock as Q, openBlock as U, normalizeClass as H, unref as W, createElementVNode as Z, normalizeStyle as q, createCommentVNode as ie, toDisplayString as be } from "vue";
|
|
3
|
+
import { u as me, a as ve, b as he } from "../index-CUs_hd1V.js";
|
|
4
|
+
const pe = {
|
|
5
|
+
text: { type: String, default: "文字" },
|
|
6
|
+
textStyle: {
|
|
7
|
+
type: Object,
|
|
8
|
+
default: () => {
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
lineStyle: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => {
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
isCanDraggable: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !1
|
|
19
|
+
},
|
|
20
|
+
onCanDraggable: {
|
|
21
|
+
type: Function
|
|
22
|
+
},
|
|
23
|
+
pixelOffset: {
|
|
24
|
+
type: Object,
|
|
25
|
+
default: () => {
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
otherOffset: {
|
|
29
|
+
type: Object,
|
|
30
|
+
default: () => {
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, xe = /* @__PURE__ */ ue({
|
|
34
|
+
name: `${fe}-marker`,
|
|
35
|
+
__name: "MarkerBubble",
|
|
36
|
+
props: pe,
|
|
37
|
+
emits: ["setOtherOffset"],
|
|
38
|
+
setup(ee, { emit: te }) {
|
|
39
|
+
const e = ee, I = oe("marker"), le = te, S = m(), { width: k, height: P } = me(S), v = m(!1), ae = K(() => {
|
|
40
|
+
let a = e.otherOffset?.x || 0, B = e.otherOffset?.y || 0;
|
|
41
|
+
y.value && (e.isCanDraggable || v.value) && (a = x.value || 0, B = c.value || 0);
|
|
42
|
+
let E = (e.pixelOffset?.x || 0) + a, _ = (e.pixelOffset?.y || 0) + B, l = 0, t = 0, d = l + E, F = l + E + k.value / 2, L = l + E + k.value, b = t + _, j = t + _ + P.value / 2, g = t + _ + P.value, r = 0, s = 0, u = 0, i = 0, z = 0, N = 0, R = 0, G = 0, T = 24, o = 4, V = 4, f = "", M = "", O = "";
|
|
43
|
+
if (l < d && t >= b && t <= g) {
|
|
44
|
+
r = d, u = d;
|
|
45
|
+
let n = t < j ? b : j;
|
|
46
|
+
s = n + o, i = n + o + Math.min(T, P.value / 2 - o - V), f = "left";
|
|
47
|
+
} else if (l > L && t >= b && t <= g) {
|
|
48
|
+
r = L, u = L;
|
|
49
|
+
let n = t < j ? b : j;
|
|
50
|
+
s = n + o, i = n + o + Math.min(T, P.value / 2 - o - V), f = "right";
|
|
51
|
+
} else if (t < b) {
|
|
52
|
+
s = b, i = b;
|
|
53
|
+
let n = l < F ? d : F;
|
|
54
|
+
r = n + o, u = n + o + Math.min(T, k.value / 2 - o - V), f = "top";
|
|
55
|
+
} else if (t > g) {
|
|
56
|
+
s = g, i = g;
|
|
57
|
+
let n = l < F ? d : F;
|
|
58
|
+
r = n + o, u = n + o + Math.min(T, k.value / 2 - o - V), f = "bottom";
|
|
59
|
+
} else
|
|
60
|
+
r = 0, u = 0, s = 0, i = 0;
|
|
61
|
+
l >= r && l <= u ? (z = Math.abs(l - r) + Math.abs(l - u), R = -Math.abs(l - r), M = "mid") : (z = Math.max(Math.abs(l - r), Math.abs(l - u)), R = l < r ? 0 : -z, M = l < r ? "left" : "right"), t >= s && t <= i ? (N = Math.abs(t - s) + Math.abs(t - i), G = -Math.abs(t - s), O = "mid") : (N = Math.max(Math.abs(t - s), Math.abs(t - i)), G = t < s ? 0 : -N, O = t < s ? "top" : "bottom");
|
|
62
|
+
let D = 0, X = 0, Y = 0, $ = 0, C = 0, w = 0;
|
|
63
|
+
(f == "top" || f == "bottom") && (X = f == "top" ? 0 : "100%", $ = f == "top" ? "100%" : 0, w = f == "top" ? "100%" : 0, M == "left" ? (D = 0, Y = r + "px", C = "100%") : M == "right" ? (D = "100%", Y = 0, C = Math.abs(u - r) + "px") : M == "mid" && (D = Math.abs(l - r) + "px", Y = 0, C = "100%")), (f == "left" || f == "right") && (D = f == "left" ? 0 : "100%", Y = f == "left" ? "100%" : 0, C = f == "left" ? "100%" : 0, O == "top" ? (X = 0, $ = s + "px", w = "100%") : O == "bottom" ? (X = "100%", $ = 0, w = Math.abs(i - s) + "px") : O == "mid" && (X = Math.abs(t - s) + "px", $ = 0, w = "100%"));
|
|
64
|
+
let se = `polygon(${D} ${X}, ${Y} ${$},${C} ${w})`;
|
|
65
|
+
return {
|
|
66
|
+
...e.lineStyle,
|
|
67
|
+
width: z + "px",
|
|
68
|
+
height: N + "px",
|
|
69
|
+
clipPath: se,
|
|
70
|
+
transform: `translate(${-E + R + a}px , ${-_ + G + B}px)`
|
|
71
|
+
};
|
|
72
|
+
}), h = m(0), p = m(0), x = m(0), c = m(0), y = m(!1), re = K(() => y.value && (e.isCanDraggable || v.value) ? {
|
|
73
|
+
width: "max-content",
|
|
74
|
+
transform: `translate(${x.value}px, ${c.value}px)`
|
|
75
|
+
} : {
|
|
76
|
+
width: "max-content",
|
|
77
|
+
transform: `translate(${e.otherOffset?.x || 0}px, ${e.otherOffset?.y || 0}px)`
|
|
78
|
+
}), { elementPositionX: A, elementPositionY: J } = ve(S);
|
|
79
|
+
return he(S, {
|
|
80
|
+
initialValue: { x: A.value, y: J.value },
|
|
81
|
+
onStart: () => {
|
|
82
|
+
h.value = A.value, p.value = J.value, setTimeout(() => {
|
|
83
|
+
e.onCanDraggable && (v.value = e.onCanDraggable()), y.value = !0;
|
|
84
|
+
});
|
|
85
|
+
},
|
|
86
|
+
onMove: (a) => {
|
|
87
|
+
(e.isCanDraggable || v.value) && y.value && (x.value = a.x - h.value + (e.otherOffset?.x || 0), c.value = a.y - p.value + (e.otherOffset?.y || 0), console.log({
|
|
88
|
+
x: x.value,
|
|
89
|
+
y: c.value
|
|
90
|
+
}));
|
|
91
|
+
},
|
|
92
|
+
onEnd: (a) => {
|
|
93
|
+
a.x == 0 && a.y == 0 || a.x == h.value && a.y == p.value || ((e.isCanDraggable || v.value) && (x.value = a.x - h.value + (e.otherOffset?.x || 0), c.value = a.y - p.value + (e.otherOffset?.y || 0), le("setOtherOffset", {
|
|
94
|
+
x: a.x - h.value + (e.otherOffset?.x || 0),
|
|
95
|
+
y: a.y - p.value + (e.otherOffset?.y || 0)
|
|
96
|
+
})), y.value = !1);
|
|
97
|
+
}
|
|
98
|
+
}), (a, B) => (U(), Q("div", {
|
|
99
|
+
class: H(W(I).b("bubble"))
|
|
100
|
+
}, [
|
|
101
|
+
Z("div", {
|
|
102
|
+
ref_key: "el",
|
|
103
|
+
ref: S,
|
|
104
|
+
style: q(re.value)
|
|
105
|
+
}, [
|
|
106
|
+
e.text ? (U(), Q("div", {
|
|
107
|
+
key: 0,
|
|
108
|
+
class: H(W(I).be("bubble", "name")),
|
|
109
|
+
style: q(e.textStyle)
|
|
110
|
+
}, be(e.text), 7)) : ie("", !0)
|
|
111
|
+
], 4),
|
|
112
|
+
Z("div", {
|
|
113
|
+
class: H(W(I).be("bubble", "line")),
|
|
114
|
+
style: q(ae.value)
|
|
115
|
+
}, null, 6)
|
|
116
|
+
], 2));
|
|
117
|
+
}
|
|
118
|
+
}), ge = ne(xe);
|
|
119
|
+
export {
|
|
120
|
+
ge as CxMarkerBubble,
|
|
121
|
+
ge as default,
|
|
122
|
+
pe as markerBubbleProps
|
|
123
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from './src/markerDefault';
|
|
2
|
+
declare const CxMarkerDefault: import('@report-components/utils/with-install').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
readonly text: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly img: {
|
|
8
|
+
readonly type: StringConstructor;
|
|
9
|
+
readonly default: "";
|
|
10
|
+
};
|
|
11
|
+
readonly suffix: {
|
|
12
|
+
readonly type: StringConstructor;
|
|
13
|
+
readonly default: ".png";
|
|
14
|
+
};
|
|
15
|
+
readonly textStyle: {
|
|
16
|
+
readonly type: ObjectConstructor;
|
|
17
|
+
readonly default: () => void;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
readonly text: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: "";
|
|
23
|
+
};
|
|
24
|
+
readonly img: {
|
|
25
|
+
readonly type: StringConstructor;
|
|
26
|
+
readonly default: "";
|
|
27
|
+
};
|
|
28
|
+
readonly suffix: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: ".png";
|
|
31
|
+
};
|
|
32
|
+
readonly textStyle: {
|
|
33
|
+
readonly type: ObjectConstructor;
|
|
34
|
+
readonly default: () => void;
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{}>, {
|
|
37
|
+
readonly text: string;
|
|
38
|
+
readonly img: string;
|
|
39
|
+
readonly suffix: string;
|
|
40
|
+
readonly textStyle: Record<string, any>;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>>;
|
|
42
|
+
export { CxMarkerDefault };
|
|
43
|
+
export default CxMarkerDefault;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { p as u, c as i, w as p } from "../create-DynflqE1.js";
|
|
2
|
+
import { defineComponent as f, computed as d, createElementBlock as r, openBlock as l, normalizeClass as a, unref as s, createCommentVNode as g, createElementVNode as n, normalizeStyle as x, toDisplayString as y } from "vue";
|
|
3
|
+
const k = {
|
|
4
|
+
text: { type: String, default: "" },
|
|
5
|
+
img: { type: String, default: "" },
|
|
6
|
+
suffix: { type: String, default: ".png" },
|
|
7
|
+
textStyle: {
|
|
8
|
+
type: Object,
|
|
9
|
+
default: () => {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}, S = ["src"], _ = /* @__PURE__ */ f({
|
|
13
|
+
name: `${u}-marker-default`,
|
|
14
|
+
__name: "MarkerDefault",
|
|
15
|
+
props: k,
|
|
16
|
+
setup(o) {
|
|
17
|
+
const m = d(() => e.textStyle ? [t.be("default", "custom"), "tag-text"] : [t.be("default", "name"), "tag-text"]), e = o, t = i("marker");
|
|
18
|
+
return (c, b) => (l(), r("div", {
|
|
19
|
+
class: a(s(t).b("default"))
|
|
20
|
+
}, [
|
|
21
|
+
e.text ? (l(), r("span", {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: a(m.value),
|
|
24
|
+
style: x(e.textStyle)
|
|
25
|
+
}, y(e.text), 7)) : g("", !0),
|
|
26
|
+
n("div", null, [
|
|
27
|
+
n("img", {
|
|
28
|
+
src: c.img,
|
|
29
|
+
class: a([s(t).be("default", "img"), "tag-img"])
|
|
30
|
+
}, null, 10, S)
|
|
31
|
+
])
|
|
32
|
+
], 2));
|
|
33
|
+
}
|
|
34
|
+
}), h = p(_);
|
|
35
|
+
export {
|
|
36
|
+
h as CxMarkerDefault,
|
|
37
|
+
h as default,
|
|
38
|
+
k as markerDefaultProps
|
|
39
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from './src/markerHtml';
|
|
2
|
+
declare const CxMarkerHtml: import('@report-components/utils/with-install').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
readonly text: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly img: {
|
|
8
|
+
readonly type: StringConstructor;
|
|
9
|
+
readonly default: "";
|
|
10
|
+
};
|
|
11
|
+
readonly suffix: {
|
|
12
|
+
readonly type: StringConstructor;
|
|
13
|
+
readonly default: ".png";
|
|
14
|
+
};
|
|
15
|
+
readonly textStyle: {
|
|
16
|
+
readonly type: ObjectConstructor;
|
|
17
|
+
readonly default: () => void;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
readonly text: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: "";
|
|
23
|
+
};
|
|
24
|
+
readonly img: {
|
|
25
|
+
readonly type: StringConstructor;
|
|
26
|
+
readonly default: "";
|
|
27
|
+
};
|
|
28
|
+
readonly suffix: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: ".png";
|
|
31
|
+
};
|
|
32
|
+
readonly textStyle: {
|
|
33
|
+
readonly type: ObjectConstructor;
|
|
34
|
+
readonly default: () => void;
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{}>, {
|
|
37
|
+
readonly text: string;
|
|
38
|
+
readonly img: string;
|
|
39
|
+
readonly suffix: string;
|
|
40
|
+
readonly textStyle: Record<string, any>;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>>;
|
|
42
|
+
export { CxMarkerHtml };
|
|
43
|
+
export default CxMarkerHtml;
|