leiting-bim 2.1.52 → 2.1.55
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 -25503
- package/leiting-bim.umd.js +8 -8
- package/leitingbim.css +1 -1
- package/package.json +1 -1
- package/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -152
- package/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -38
- package/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -49
- package/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -10
- package/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -16
- package/plugins/cesium-core/dist/components/Material/index.d.ts +3 -3
- package/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -11
- package/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -10
- package/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -16
- package/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -14
- package/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -12
- package/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -14
- package/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -13
- package/plugins/cesium-core/dist/components/draw/types.d.ts +29 -29
- package/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -65
- package/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -141
- package/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -1
- package/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -34
- package/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -16
- package/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -18
- package/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -23
- package/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -13
- package/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -42
- package/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -50
- package/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -27
- package/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -23
- package/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -3
- package/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -66
- package/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -1
- package/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -1
- package/plugins/cesium-core/dist/index.d.ts +12 -12
- package/plugins/cesium-core/package.json +27 -27
- package/plugins/cesium-vue/dist/HtmlOverlayLabelPool-B1gUt-p1.js +339 -0
- package/plugins/cesium-vue/dist/HtmlOverlayLabelPool-B1gUt-p1.js.map +1 -0
- package/plugins/cesium-vue/dist/components/basic-audio.js.map +1 -1
- package/plugins/cesium-vue/dist/components/basic-video.js.map +1 -1
- package/plugins/cesium-vue/dist/components/card-carousel.js.map +1 -1
- package/plugins/cesium-vue/dist/components/card-content.js +1 -1
- package/plugins/cesium-vue/dist/components/card-content.js.map +1 -1
- package/plugins/cesium-vue/dist/components/card-page.js.map +1 -1
- package/plugins/cesium-vue/dist/components/carousel-img.js.map +1 -1
- package/plugins/cesium-vue/dist/components/echarts-pro.js +1 -1
- package/plugins/cesium-vue/dist/components/marker-bubble.js.map +1 -1
- package/plugins/cesium-vue/dist/components/marker-default.js.map +1 -1
- package/plugins/cesium-vue/dist/components/marker-html.js.map +1 -1
- package/plugins/cesium-vue/dist/components/marker-manage.js +1324 -457
- package/plugins/cesium-vue/dist/components/marker-manage.js.map +1 -1
- package/plugins/cesium-vue/dist/components/marker-text.js.map +1 -1
- package/plugins/cesium-vue/dist/components/measurement.js +2943 -116
- package/plugins/cesium-vue/dist/components/measurement.js.map +1 -1
- package/plugins/cesium-vue/dist/components/position-picker.js.map +1 -1
- package/plugins/cesium-vue/dist/index-CUs_hd1V.js.map +1 -1
- package/plugins/cesium-vue/dist/index-Kdqw0FJN.js +45856 -0
- package/plugins/cesium-vue/dist/index-Kdqw0FJN.js.map +1 -0
- package/plugins/cesium-vue/dist/index.js +1 -1
- package/plugins/cesium-vue/dist/index.js.map +1 -1
|
@@ -9,7 +9,7 @@ import { CxCardContent as x } from "./components/card-content.js";
|
|
|
9
9
|
import { CxCarouselImg as l } from "./components/carousel-img.js";
|
|
10
10
|
import { CxCardPage as M } from "./components/card-page.js";
|
|
11
11
|
import { CxCardCarousel as d } from "./components/card-carousel.js";
|
|
12
|
-
import { C as g } from "./index-
|
|
12
|
+
import { C as g } from "./index-Kdqw0FJN.js";
|
|
13
13
|
import { CxBasicAudio as k } from "./components/basic-audio.js";
|
|
14
14
|
import { CxMeasurement as P } from "./components/measurement.js";
|
|
15
15
|
import { CxPositionPicker as b } from "./components/position-picker.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/components/marker-manage/src/hook/useMarkerManage.ts","../src/index.ts"],"sourcesContent":["import { onUnmounted, ref, unref } from 'vue';\r\nimport { MarkerManageMethods } from '../type/markerManage';\r\n\r\nexport function useMarKerManage() {\r\n const instanceRef = ref();\r\n\r\n function register(instance: MarkerManageMethods): void {\r\n onUnmounted(() => {\r\n instanceRef.value = null;\r\n });\r\n // 注册属性\r\n instanceRef.value = instance;\r\n }\r\n\r\n function getInstance() {\r\n const instance = unref(instanceRef);\r\n if (!instance) {\r\n console.error('未获取到markerManager实例!');\r\n }\r\n return instance;\r\n }\r\n\r\n const methods = new Proxy(\r\n {},\r\n {\r\n get(_, key: string) {\r\n const instance = getInstance();\r\n if (!instance) return;\r\n const target = instance[key];\r\n if (typeof target === 'function') {\r\n return target.bind(instance);\r\n }\r\n return target;\r\n },\r\n set(_, key: string, value) {\r\n const instance = getInstance();\r\n if (!instance) return false;\r\n instance[key] = value;\r\n return true;\r\n },\r\n },\r\n );\r\n\r\n return [register, methods];\r\n}\r\n","import type { App } from 'vue';\nimport CxMarkerDefault from './components/marker-default';\nimport CxMarkerHtml from './components/marker-html';\nimport CxMarkerText from './components/marker-text';\nimport CxMarkerBubble from './components/marker-bubble';\nimport CxMarkerManage, { MarkerManagerCore } from './components/marker-manage';\nimport CxBasicVideo from './components/basic-video';\nimport CxCardContent from './components/card-content';\nimport CxCarouselImg from './components/carousel-img';\nimport CxCardPage from './components/card-page';\nimport CxCardCarousel from './components/card-carousel';\nimport CxEchartsPro from './components/echarts-pro';\nimport CxBasicAudio from './components/basic-audio';\nimport CxMeasurement from './components/measurement';\nimport CxPositionPicker from './components/position-picker';\nimport { useMarKerManage } from './components/marker-manage/src/hook/useMarkerManage';\nimport type { MarkerManageOptions } from './components/marker-manage/src/type/markerManage';\n\r\ndeclare global {\r\n interface Window {\r\n Cesium?: any; // 或具体类型\r\n }\r\n}\r\nconst components = [\r\n CxMarkerDefault,\r\n CxMarkerText,\r\n CxMarkerBubble,\r\n CxMarkerManage,\r\n CxBasicVideo,\r\n CxCardContent,\r\n CxCarouselImg,\r\n CxEchartsPro,\r\n CxCardPage,\r\n CxCardCarousel,\r\n CxMarkerHtml,\r\n CxMeasurement,\r\n CxPositionPicker,\n CxBasicAudio,\r\n];\r\n\r\nexport default {\r\n install(app: App) {\r\n components.forEach((component) => {\r\n app.use(component as any);\r\n });\r\n },\r\n};\r\n\r\nexport { useMarKerManage, MarkerManageOptions, MarkerManagerCore };\r\n\r\nexport {\r\n CxMarkerDefault,\r\n CxMarkerText,\r\n CxMarkerBubble,\r\n CxMarkerManage,\r\n CxBasicVideo,\r\n CxCardContent,\r\n CxCarouselImg,\r\n CxEchartsPro,\r\n CxCardPage,\r\n CxCardCarousel,\r\n CxBasicAudio,\r\n CxMarkerHtml,\r\n CxMeasurement,\r\n CxPositionPicker,\n};\r\n\r\ndeclare module 'vue' {\r\n export interface GlobalComponents {\r\n CxMarkerDefault: typeof CxMarkerDefault;\r\n CxMarkerText: typeof CxMarkerText;\r\n CxMarkerBubble: typeof CxMarkerBubble;\r\n CxMarkerManage: typeof CxMarkerManage;\r\n CxBasicVideo: typeof CxBasicVideo;\r\n CxCardContent: typeof CxCardContent;\r\n CxCarouselImg: typeof CxCarouselImg;\r\n CxEchartsPro: typeof CxEchartsPro;\r\n CxCardPage: typeof CxCardPage;\r\n CxCardCarousel: typeof CxCardCarousel;\r\n CxBasicAudio: typeof CxBasicAudio;\r\n CxMarkerHtml: typeof CxMarkerHtml;\r\n CxMeasurement: typeof CxMeasurement;\r\n CxPositionPicker: typeof CxPositionPicker;\n }\r\n}\r\n"],"names":["useMarKerManage","instanceRef","ref","register","instance","onUnmounted","getInstance","unref","methods","_","key","target","value","components","CxMarkerDefault","CxMarkerText","CxMarkerBubble","CxMarkerManage","CxBasicVideo","CxCardContent","CxCarouselImg","CxEchartsPro","CxCardPage","CxCardCarousel","CxMarkerHtml","CxMeasurement","CxPositionPicker","CxBasicAudio","index","app","component"],"mappings":";;;;;;;;;;;;;;;;AAGO,SAASA,IAAkB;AAChC,QAAMC,IAAcC,EAAA;AAEpB,WAASC,EAASC,GAAqC;AACrD,IAAAC,EAAY,MAAM;AAChB,MAAAJ,EAAY,QAAQ;AAAA,IACtB,CAAC,GAEDA,EAAY,QAAQG;AAAA,EACtB;AAEA,WAASE,IAAc;AACrB,UAAMF,IAAWG,EAAMN,CAAW;AAClC,WAAKG,KACH,QAAQ,MAAM,sBAAsB,GAE/BA;AAAA,EACT;AAEA,QAAMI,IAAU,IAAI;AAAA,IAClB,CAAA;AAAA,IACA;AAAA,MACE,IAAIC,GAAGC,GAAa;AAClB,cAAMN,IAAWE,EAAA;AACjB,YAAI,CAACF,EAAU;AACf,cAAMO,IAASP,EAASM,CAAG;AAC3B,eAAI,OAAOC,KAAW,aACbA,EAAO,KAAKP,CAAQ,IAEtBO;AAAA,MACT;AAAA,MACA,IAAIF,GAAGC,GAAaE,GAAO;AACzB,cAAMR,IAAWE,EAAA;AACjB,eAAKF,KACLA,EAASM,CAAG,IAAIE,GACT,MAFe;AAAA,MAGxB;AAAA,IAAA;AAAA,EACF;AAGF,SAAO,CAACT,GAAUK,CAAO;AAC3B;ACrBA,MAAMK,IAAa;AAAA,EACjBC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AACF,GAEAC,IAAe;AAAA,EACb,QAAQC,GAAU;AAChB,IAAAhB,EAAW,QAAQ,CAACiB,MAAc;AAChC,MAAAD,EAAI,IAAIC,CAAgB;AAAA,IAC1B,CAAC;AAAA,EACH;AACF;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/components/marker-manage/src/hook/useMarkerManage.ts","../src/index.ts"],"sourcesContent":["import { onUnmounted, ref, unref } from 'vue';\r\nimport { MarkerManageMethods } from '../type/markerManage';\r\n\r\nexport function useMarKerManage() {\r\n const instanceRef = ref();\r\n\r\n function register(instance: MarkerManageMethods): void {\r\n onUnmounted(() => {\r\n instanceRef.value = null;\r\n });\r\n // 注册属性\r\n instanceRef.value = instance;\r\n }\r\n\r\n function getInstance() {\r\n const instance = unref(instanceRef);\r\n if (!instance) {\r\n console.error('未获取到markerManager实例!');\r\n }\r\n return instance;\r\n }\r\n\r\n const methods = new Proxy(\r\n {},\r\n {\r\n get(_, key: string) {\r\n const instance = getInstance();\r\n if (!instance) return;\r\n const target = instance[key];\r\n if (typeof target === 'function') {\r\n return target.bind(instance);\r\n }\r\n return target;\r\n },\r\n set(_, key: string, value) {\r\n const instance = getInstance();\r\n if (!instance) return false;\r\n instance[key] = value;\r\n return true;\r\n },\r\n },\r\n );\r\n\r\n return [register, methods];\r\n}\r\n","import type { App } from 'vue';\r\nimport CxMarkerDefault from './components/marker-default';\r\nimport CxMarkerHtml from './components/marker-html';\r\nimport CxMarkerText from './components/marker-text';\r\nimport CxMarkerBubble from './components/marker-bubble';\r\nimport CxMarkerManage, { MarkerManagerCore } from './components/marker-manage';\r\nimport CxBasicVideo from './components/basic-video';\r\nimport CxCardContent from './components/card-content';\r\nimport CxCarouselImg from './components/carousel-img';\r\nimport CxCardPage from './components/card-page';\r\nimport CxCardCarousel from './components/card-carousel';\r\nimport CxEchartsPro from './components/echarts-pro';\r\nimport CxBasicAudio from './components/basic-audio';\r\nimport CxMeasurement from './components/measurement';\r\nimport CxPositionPicker from './components/position-picker';\r\nimport { useMarKerManage } from './components/marker-manage/src/hook/useMarkerManage';\r\nimport type { MarkerManageOptions } from './components/marker-manage/src/type/markerManage';\r\n\r\ndeclare global {\r\n interface Window {\r\n Cesium?: any; // 或具体类型\r\n }\r\n}\r\nconst components = [\r\n CxMarkerDefault,\r\n CxMarkerText,\r\n CxMarkerBubble,\r\n CxMarkerManage,\r\n CxBasicVideo,\r\n CxCardContent,\r\n CxCarouselImg,\r\n CxEchartsPro,\r\n CxCardPage,\r\n CxCardCarousel,\r\n CxMarkerHtml,\r\n CxMeasurement,\r\n CxPositionPicker,\r\n CxBasicAudio,\r\n];\r\n\r\nexport default {\r\n install(app: App) {\r\n components.forEach((component) => {\r\n app.use(component as any);\r\n });\r\n },\r\n};\r\n\r\nexport { useMarKerManage, MarkerManageOptions, MarkerManagerCore };\r\n\r\nexport {\r\n CxMarkerDefault,\r\n CxMarkerText,\r\n CxMarkerBubble,\r\n CxMarkerManage,\r\n CxBasicVideo,\r\n CxCardContent,\r\n CxCarouselImg,\r\n CxEchartsPro,\r\n CxCardPage,\r\n CxCardCarousel,\r\n CxBasicAudio,\r\n CxMarkerHtml,\r\n CxMeasurement,\r\n CxPositionPicker,\r\n};\r\n\r\ndeclare module 'vue' {\r\n export interface GlobalComponents {\r\n CxMarkerDefault: typeof CxMarkerDefault;\r\n CxMarkerText: typeof CxMarkerText;\r\n CxMarkerBubble: typeof CxMarkerBubble;\r\n CxMarkerManage: typeof CxMarkerManage;\r\n CxBasicVideo: typeof CxBasicVideo;\r\n CxCardContent: typeof CxCardContent;\r\n CxCarouselImg: typeof CxCarouselImg;\r\n CxEchartsPro: typeof CxEchartsPro;\r\n CxCardPage: typeof CxCardPage;\r\n CxCardCarousel: typeof CxCardCarousel;\r\n CxBasicAudio: typeof CxBasicAudio;\r\n CxMarkerHtml: typeof CxMarkerHtml;\r\n CxMeasurement: typeof CxMeasurement;\r\n CxPositionPicker: typeof CxPositionPicker;\r\n }\r\n}\r\n"],"names":["useMarKerManage","instanceRef","ref","register","instance","onUnmounted","getInstance","unref","methods","_","key","target","value","components","CxMarkerDefault","CxMarkerText","CxMarkerBubble","CxMarkerManage","CxBasicVideo","CxCardContent","CxCarouselImg","CxEchartsPro","CxCardPage","CxCardCarousel","CxMarkerHtml","CxMeasurement","CxPositionPicker","CxBasicAudio","index","app","component"],"mappings":";;;;;;;;;;;;;;;;AAGO,SAASA,IAAkB;AAChC,QAAMC,IAAcC,EAAA;AAEpB,WAASC,EAASC,GAAqC;AACrD,IAAAC,EAAY,MAAM;AAChB,MAAAJ,EAAY,QAAQ;AAAA,IACtB,CAAC,GAEDA,EAAY,QAAQG;AAAA,EACtB;AAEA,WAASE,IAAc;AACrB,UAAMF,IAAWG,EAAMN,CAAW;AAClC,WAAKG,KACH,QAAQ,MAAM,sBAAsB,GAE/BA;AAAA,EACT;AAEA,QAAMI,IAAU,IAAI;AAAA,IAClB,CAAA;AAAA,IACA;AAAA,MACE,IAAIC,GAAGC,GAAa;AAClB,cAAMN,IAAWE,EAAA;AACjB,YAAI,CAACF,EAAU;AACf,cAAMO,IAASP,EAASM,CAAG;AAC3B,eAAI,OAAOC,KAAW,aACbA,EAAO,KAAKP,CAAQ,IAEtBO;AAAA,MACT;AAAA,MACA,IAAIF,GAAGC,GAAaE,GAAO;AACzB,cAAMR,IAAWE,EAAA;AACjB,eAAKF,KACLA,EAASM,CAAG,IAAIE,GACT,MAFe;AAAA,MAGxB;AAAA,IAAA;AAAA,EACF;AAGF,SAAO,CAACT,GAAUK,CAAO;AAC3B;ACrBA,MAAMK,IAAa;AAAA,EACjBC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AACF,GAEAC,IAAe;AAAA,EACb,QAAQC,GAAU;AAChB,IAAAhB,EAAW,QAAQ,CAACiB,MAAc;AAChC,MAAAD,EAAI,IAAIC,CAAgB;AAAA,IAC1B,CAAC;AAAA,EACH;AACF;"}
|