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.
Files changed (60) hide show
  1. package/leiting-bim.es.js +1 -25503
  2. package/leiting-bim.umd.js +8 -8
  3. package/leitingbim.css +1 -1
  4. package/package.json +1 -1
  5. package/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -152
  6. package/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -38
  7. package/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -49
  8. package/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -10
  9. package/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -16
  10. package/plugins/cesium-core/dist/components/Material/index.d.ts +3 -3
  11. package/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -11
  12. package/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -10
  13. package/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -16
  14. package/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -14
  15. package/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -12
  16. package/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -14
  17. package/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -13
  18. package/plugins/cesium-core/dist/components/draw/types.d.ts +29 -29
  19. package/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -65
  20. package/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -141
  21. package/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -1
  22. package/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -34
  23. package/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -16
  24. package/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -18
  25. package/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -23
  26. package/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -13
  27. package/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -42
  28. package/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -50
  29. package/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -27
  30. package/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -23
  31. package/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -3
  32. package/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -66
  33. package/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -1
  34. package/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -1
  35. package/plugins/cesium-core/dist/index.d.ts +12 -12
  36. package/plugins/cesium-core/package.json +27 -27
  37. package/plugins/cesium-vue/dist/HtmlOverlayLabelPool-B1gUt-p1.js +339 -0
  38. package/plugins/cesium-vue/dist/HtmlOverlayLabelPool-B1gUt-p1.js.map +1 -0
  39. package/plugins/cesium-vue/dist/components/basic-audio.js.map +1 -1
  40. package/plugins/cesium-vue/dist/components/basic-video.js.map +1 -1
  41. package/plugins/cesium-vue/dist/components/card-carousel.js.map +1 -1
  42. package/plugins/cesium-vue/dist/components/card-content.js +1 -1
  43. package/plugins/cesium-vue/dist/components/card-content.js.map +1 -1
  44. package/plugins/cesium-vue/dist/components/card-page.js.map +1 -1
  45. package/plugins/cesium-vue/dist/components/carousel-img.js.map +1 -1
  46. package/plugins/cesium-vue/dist/components/echarts-pro.js +1 -1
  47. package/plugins/cesium-vue/dist/components/marker-bubble.js.map +1 -1
  48. package/plugins/cesium-vue/dist/components/marker-default.js.map +1 -1
  49. package/plugins/cesium-vue/dist/components/marker-html.js.map +1 -1
  50. package/plugins/cesium-vue/dist/components/marker-manage.js +1324 -457
  51. package/plugins/cesium-vue/dist/components/marker-manage.js.map +1 -1
  52. package/plugins/cesium-vue/dist/components/marker-text.js.map +1 -1
  53. package/plugins/cesium-vue/dist/components/measurement.js +2943 -116
  54. package/plugins/cesium-vue/dist/components/measurement.js.map +1 -1
  55. package/plugins/cesium-vue/dist/components/position-picker.js.map +1 -1
  56. package/plugins/cesium-vue/dist/index-CUs_hd1V.js.map +1 -1
  57. package/plugins/cesium-vue/dist/index-Kdqw0FJN.js +45856 -0
  58. package/plugins/cesium-vue/dist/index-Kdqw0FJN.js.map +1 -0
  59. package/plugins/cesium-vue/dist/index.js +1 -1
  60. package/plugins/cesium-vue/dist/index.js.map +1 -1
@@ -1,10 +1,10 @@
1
- interface PolylineFlowMaterialOptions {
2
- color?: any;
3
- duration?: number;
4
- materialType?: string;
5
- }
6
- /**
7
- * 注册 polyline 流动材质并返回对应的 MaterialProperty
8
- */
9
- export declare function getPolylineFlowMaterialProperty(Cesium: any, options: PolylineFlowMaterialOptions): any;
10
- export {};
1
+ interface PolylineFlowMaterialOptions {
2
+ color?: any;
3
+ duration?: number;
4
+ materialType?: string;
5
+ }
6
+ /**
7
+ * 注册 polyline 流动材质并返回对应的 MaterialProperty
8
+ */
9
+ export declare function getPolylineFlowMaterialProperty(Cesium: any, options: PolylineFlowMaterialOptions): any;
10
+ export {};
@@ -1,16 +1,16 @@
1
- interface DynamicImgMaterialOptions {
2
- color?: any;
3
- duration?: number;
4
- image: string;
5
- count: number;
6
- freely?: 'vertical' | 'horizontal';
7
- direction: string;
8
- isCustomColor?: boolean;
9
- materialType?: string;
10
- }
11
- /**
12
- * 注册动态图片材质并返回 TrailLineMaterialProperty 实例
13
- */
14
- export declare function getDynamicImgMaterial(Cesium: any, options: DynamicImgMaterialOptions): any;
15
- export declare function getWallMaterial(Cesium: any, options: any): any;
16
- export {};
1
+ interface DynamicImgMaterialOptions {
2
+ color?: any;
3
+ duration?: number;
4
+ image: string;
5
+ count: number;
6
+ freely?: 'vertical' | 'horizontal';
7
+ direction: string;
8
+ isCustomColor?: boolean;
9
+ materialType?: string;
10
+ }
11
+ /**
12
+ * 注册动态图片材质并返回 TrailLineMaterialProperty 实例
13
+ */
14
+ export declare function getDynamicImgMaterial(Cesium: any, options: DynamicImgMaterialOptions): any;
15
+ export declare function getWallMaterial(Cesium: any, options: any): any;
16
+ export {};
@@ -1,3 +1,3 @@
1
- export { getDynamicImgMaterial, getWallMaterial } from './help/dynamicImgMaterial';
2
- export { getPolylineFlowMaterialProperty } from './help/PolylineFlowMaterialProperty';
3
- export { MaterialManager } from './MaterialManager';
1
+ export { getDynamicImgMaterial, getWallMaterial } from './help/dynamicImgMaterial';
2
+ export { getPolylineFlowMaterialProperty } from './help/PolylineFlowMaterialProperty';
3
+ export { MaterialManager } from './MaterialManager';
@@ -1,11 +1,11 @@
1
- export declare class TooltipManager {
2
- private tooltipEl;
3
- private visible;
4
- private offsetX;
5
- private offsetY;
6
- private onMouseMove;
7
- constructor();
8
- show(text: string): void;
9
- hide(): void;
10
- destroy(): void;
11
- }
1
+ export declare class TooltipManager {
2
+ private tooltipEl;
3
+ private visible;
4
+ private offsetX;
5
+ private offsetY;
6
+ private onMouseMove;
7
+ constructor();
8
+ show(text: string): void;
9
+ hide(): void;
10
+ destroy(): void;
11
+ }
@@ -1,10 +1,10 @@
1
- import { DrawType, DrawOptions } from './types';
2
- export declare class DrawTool {
3
- private viewer;
4
- private Cesium;
5
- private activeDrawer;
6
- constructor(Cesium: any, viewer: any);
7
- draw(type: DrawType, options: DrawOptions): void;
8
- clear(): void;
9
- cancel(): void;
10
- }
1
+ import { DrawType, DrawOptions } from './types';
2
+ export declare class DrawTool {
3
+ private viewer;
4
+ private Cesium;
5
+ private activeDrawer;
6
+ constructor(Cesium: any, viewer: any);
7
+ draw(type: DrawType, options: DrawOptions): void;
8
+ clear(): void;
9
+ cancel(): void;
10
+ }
@@ -1,16 +1,16 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class CircleDrawer implements IDrawer {
3
- private viewer;
4
- private Cesium;
5
- private handler;
6
- private entity;
7
- private positions;
8
- private _isDrawing;
9
- private currentRadius;
10
- constructor(CesiumInstance: any, viewerInstance: any);
11
- startDrawing(options: DrawOptions): void;
12
- private drawPreviewCircle;
13
- private drawFinalCircle;
14
- stopDrawing(): void;
15
- clear(): void;
16
- }
1
+ import { DrawOptions, IDrawer } from '../types';
2
+ export default class CircleDrawer implements IDrawer {
3
+ private viewer;
4
+ private Cesium;
5
+ private handler;
6
+ private entity;
7
+ private positions;
8
+ private _isDrawing;
9
+ private currentRadius;
10
+ constructor(CesiumInstance: any, viewerInstance: any);
11
+ startDrawing(options: DrawOptions): void;
12
+ private drawPreviewCircle;
13
+ private drawFinalCircle;
14
+ stopDrawing(): void;
15
+ clear(): void;
16
+ }
@@ -1,14 +1,14 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class LineDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private positions;
7
- private entity;
8
- private tooltip;
9
- private tempPoints;
10
- constructor(Cesium: any, viewer: any);
11
- startDrawing(options: DrawOptions): void;
12
- stopDrawing(): void;
13
- clear(): void;
14
- }
1
+ import { DrawOptions, IDrawer } from '../types';
2
+ export default class LineDrawer implements IDrawer {
3
+ private Cesium;
4
+ private viewer;
5
+ private handler;
6
+ private positions;
7
+ private entity;
8
+ private tooltip;
9
+ private tempPoints;
10
+ constructor(Cesium: any, viewer: any);
11
+ startDrawing(options: DrawOptions): void;
12
+ stopDrawing(): void;
13
+ clear(): void;
14
+ }
@@ -1,12 +1,12 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class PointDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private entity;
7
- private tooltip;
8
- constructor(Cesium: any, viewer: any);
9
- startDrawing(options: DrawOptions): void;
10
- stopDrawing(): void;
11
- clear(): void;
12
- }
1
+ import { DrawOptions, IDrawer } from '../types';
2
+ export default class PointDrawer implements IDrawer {
3
+ private Cesium;
4
+ private viewer;
5
+ private handler;
6
+ private entity;
7
+ private tooltip;
8
+ constructor(Cesium: any, viewer: any);
9
+ startDrawing(options: DrawOptions): void;
10
+ stopDrawing(): void;
11
+ clear(): void;
12
+ }
@@ -1,14 +1,14 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class PolygonDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private positions;
7
- private entity;
8
- private tooltip;
9
- private tempPoints;
10
- constructor(Cesium: any, viewer: any);
11
- startDrawing(options: DrawOptions): void;
12
- stopDrawing(): void;
13
- clear(): void;
14
- }
1
+ import { DrawOptions, IDrawer } from '../types';
2
+ export default class PolygonDrawer implements IDrawer {
3
+ private Cesium;
4
+ private viewer;
5
+ private handler;
6
+ private positions;
7
+ private entity;
8
+ private tooltip;
9
+ private tempPoints;
10
+ constructor(Cesium: any, viewer: any);
11
+ startDrawing(options: DrawOptions): void;
12
+ stopDrawing(): void;
13
+ clear(): void;
14
+ }
@@ -1,13 +1,13 @@
1
- import { DrawOptions, IDrawer } from '../types';
2
- export default class RectangleDrawer implements IDrawer {
3
- private Cesium;
4
- private viewer;
5
- private handler;
6
- private startPoint;
7
- private endPoint;
8
- private entity;
9
- constructor(Cesium: any, viewer: any);
10
- startDrawing(options: DrawOptions): void;
11
- stopDrawing(): void;
12
- clear(): void;
13
- }
1
+ import { DrawOptions, IDrawer } from '../types';
2
+ export default class RectangleDrawer implements IDrawer {
3
+ private Cesium;
4
+ private viewer;
5
+ private handler;
6
+ private startPoint;
7
+ private endPoint;
8
+ private entity;
9
+ constructor(Cesium: any, viewer: any);
10
+ startDrawing(options: DrawOptions): void;
11
+ stopDrawing(): void;
12
+ clear(): void;
13
+ }
@@ -1,29 +1,29 @@
1
- export type DrawType = 'point' | 'line' | 'rectangle' | 'circle' | 'square' | 'polygon';
2
- export interface DrawOptions {
3
- clampToGround?: boolean;
4
- color?: any;
5
- width?: number;
6
- step?: number;
7
- onComplete?: (entity: any) => void;
8
- }
9
- export interface IDrawer {
10
- startDrawing(options: DrawOptions): void;
11
- stopDrawing(): void;
12
- clear(): void;
13
- }
14
- export interface DrawResult {
15
- entity: any;
16
- position?: Number[];
17
- lnglat?: {
18
- lng: number;
19
- lat: number;
20
- height: number;
21
- };
22
- positions?: Number[];
23
- lnglats?: {
24
- lng: number;
25
- lat: number;
26
- height: number;
27
- }[];
28
- clear: Function;
29
- }
1
+ export type DrawType = 'point' | 'line' | 'rectangle' | 'circle' | 'square' | 'polygon';
2
+ export interface DrawOptions {
3
+ clampToGround?: boolean;
4
+ color?: any;
5
+ width?: number;
6
+ step?: number;
7
+ onComplete?: (entity: any) => void;
8
+ }
9
+ export interface IDrawer {
10
+ startDrawing(options: DrawOptions): void;
11
+ stopDrawing(): void;
12
+ clear(): void;
13
+ }
14
+ export interface DrawResult {
15
+ entity: any;
16
+ position?: Number[];
17
+ lnglat?: {
18
+ lng: number;
19
+ lat: number;
20
+ height: number;
21
+ };
22
+ positions?: Number[];
23
+ lnglats?: {
24
+ lng: number;
25
+ lat: number;
26
+ height: number;
27
+ }[];
28
+ clear: Function;
29
+ }
@@ -1,65 +1,65 @@
1
- import { BufferedHierarchicalAggregator } from '../BufferedHierarchicalAggregator';
2
- import { HtmlOverlayLabelPool } from '../HtmlOverlayLabelPool';
3
- import { MaterialManager } from '../Material/MaterialManager';
4
- interface EntityGroupOptions {
5
- id: string;
6
- entities?: any[];
7
- primitives?: any[];
8
- dataItem?: any;
9
- aggregator?: BufferedHierarchicalAggregator;
10
- cardPool: HtmlOverlayLabelPool;
11
- }
12
- export declare class EntityGroup {
13
- id: string;
14
- entities: any[];
15
- primitives: any[];
16
- dataItem: any;
17
- aggregator?: BufferedHierarchicalAggregator;
18
- cardPool: HtmlOverlayLabelPool;
19
- constructor(options: EntityGroupOptions);
20
- setVisible(visible: boolean): void;
21
- removeAll(viewer: any, immediately?: boolean): any;
22
- }
23
- export declare class EntityLayer {
24
- id: string;
25
- groupMap: Map<string, EntityGroup>;
26
- Cesium: any;
27
- viewer: any;
28
- materialManager: MaterialManager;
29
- aggregator: BufferedHierarchicalAggregator;
30
- cardPool: HtmlOverlayLabelPool;
31
- constructor(id: string, Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
32
- /** ====== 下面是抽出的创建函数 ====== */
33
- private createPolyline;
34
- private createWall;
35
- private createPolygon;
36
- private createBillboardPoints;
37
- private createCard;
38
- /** ====== 主入口:仅保留循环,内部调用独立函数 ====== */
39
- addGroup(dataItem: any, isAppendPoints?: boolean): any;
40
- addGroups(dataItemList: any): Promise<void>;
41
- removeGroup(groupId: string): void;
42
- removeGroups(groupIds: string[]): void;
43
- updateGroup(dataItem: any): void;
44
- updateGroups(dataItemList: Array<any>): Promise<void>;
45
- setGroupVisible(groupId: string, visible: boolean): void;
46
- clearAllGroups(): void;
47
- }
48
- export declare class EntityLayerManager {
49
- Cesium: any;
50
- viewer: any;
51
- layerMap: Map<string, EntityLayer>;
52
- materialManager: MaterialManager;
53
- aggregator: BufferedHierarchicalAggregator;
54
- cardPool: HtmlOverlayLabelPool;
55
- constructor(Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
56
- addLayer(layerId: string): void;
57
- removeLayer(layerId: string): void;
58
- getLayer(layerId: string): EntityLayer | undefined;
59
- addGroupsToLayer(layerId: string, dataList: any[]): Promise<void>;
60
- updateGroupToLayer(layerId: string, dataList: any[]): void;
61
- setGroupVisible(layerId: string, groupId: string, visible: boolean): void;
62
- removeGroup(layerId: string, groupId: string): void;
63
- removeGroups(layerId: string, groupIds: string[]): void;
64
- }
65
- export {};
1
+ import { BufferedHierarchicalAggregator } from '../BufferedHierarchicalAggregator';
2
+ import { HtmlOverlayLabelPool } from '../HtmlOverlayLabelPool';
3
+ import { MaterialManager } from '../Material/MaterialManager';
4
+ interface EntityGroupOptions {
5
+ id: string;
6
+ entities?: any[];
7
+ primitives?: any[];
8
+ dataItem?: any;
9
+ aggregator?: BufferedHierarchicalAggregator;
10
+ cardPool: HtmlOverlayLabelPool;
11
+ }
12
+ export declare class EntityGroup {
13
+ id: string;
14
+ entities: any[];
15
+ primitives: any[];
16
+ dataItem: any;
17
+ aggregator?: BufferedHierarchicalAggregator;
18
+ cardPool: HtmlOverlayLabelPool;
19
+ constructor(options: EntityGroupOptions);
20
+ setVisible(visible: boolean): void;
21
+ removeAll(viewer: any, immediately?: boolean): any;
22
+ }
23
+ export declare class EntityLayer {
24
+ id: string;
25
+ groupMap: Map<string, EntityGroup>;
26
+ Cesium: any;
27
+ viewer: any;
28
+ materialManager: MaterialManager;
29
+ aggregator: BufferedHierarchicalAggregator;
30
+ cardPool: HtmlOverlayLabelPool;
31
+ constructor(id: string, Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
32
+ /** ====== 下面是抽出的创建函数 ====== */
33
+ private createPolyline;
34
+ private createWall;
35
+ private createPolygon;
36
+ private createBillboardPoints;
37
+ private createCard;
38
+ /** ====== 主入口:仅保留循环,内部调用独立函数 ====== */
39
+ addGroup(dataItem: any, isAppendPoints?: boolean): any;
40
+ addGroups(dataItemList: any): Promise<void>;
41
+ removeGroup(groupId: string): void;
42
+ removeGroups(groupIds: string[]): void;
43
+ updateGroup(dataItem: any): void;
44
+ updateGroups(dataItemList: Array<any>): Promise<void>;
45
+ setGroupVisible(groupId: string, visible: boolean): void;
46
+ clearAllGroups(): void;
47
+ }
48
+ export declare class EntityLayerManager {
49
+ Cesium: any;
50
+ viewer: any;
51
+ layerMap: Map<string, EntityLayer>;
52
+ materialManager: MaterialManager;
53
+ aggregator: BufferedHierarchicalAggregator;
54
+ cardPool: HtmlOverlayLabelPool;
55
+ constructor(Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
56
+ addLayer(layerId: string): void;
57
+ removeLayer(layerId: string): void;
58
+ getLayer(layerId: string): EntityLayer | undefined;
59
+ addGroupsToLayer(layerId: string, dataList: any[]): Promise<void>;
60
+ updateGroupToLayer(layerId: string, dataList: any[]): void;
61
+ setGroupVisible(layerId: string, groupId: string, visible: boolean): void;
62
+ removeGroup(layerId: string, groupId: string): void;
63
+ removeGroups(layerId: string, groupIds: string[]): void;
64
+ }
65
+ export {};