sat-earth 3.0.2 → 3.0.5

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # 简介
2
2
 
3
- ## 什么是SatEarth-xtck?
4
- > **[SatEarth](https://gitee.com/gengkaibo/sat-earth)是基于 [Vite](https://vitejs.dev/) + [TypeScript](https://www.typescriptlang.org/) + [Vue](https://v3.vuejs.org/) + [Element Plus](http://element-plus.org/zh-CN/) 等技术架构以及 [Mars3D@3.4.26](http://mars3d.cn/) 和 [Cesium@1.95.1](https://cesium.com/) 的底层API,实现的三维地球NPM组件库,以支持前端开发者快速搭建三维场景。**
3
+ ## 什么是SatEarth?
4
+ > **[SatEarth](https://gitee.com/gengkaibo/sat-earth)是基于 [Vite](https://vitejs.dev/) + [TypeScript](https://www.typescriptlang.org/) + [Vue](https://v3.vuejs.org/) + [Element Plus](http://element-plus.org/zh-CN/) 等技术架构以及 [Mars3D@3.4.26](http://mars3d.cn/) 和 [Cesium@1.96.0](https://cesium.com/) 的底层API,实现的三维地球NPM组件库,以支持前端开发者快速搭建三维场景。**
5
5
 
6
6
  ## 组件列表
7
7
  > 已完成的组件:
@@ -15,13 +15,10 @@
15
15
  - 量测工具(`SatMeasure`)组件
16
16
  - 图上标绘(`SatPlot`)组件
17
17
  - 出图工具(`SatPicture`)组件
18
- - 空间分析(`SatSpatialAnalysis`)组件
18
+ - 分析工具(`SatSpatialAnalysis`)组件
19
19
 
20
20
  > 计划中的组件:
21
- - 模型分析(`SatModelAnalysis`)组件
22
- - 地形分析(`SatTerrainAnalysis`)组件
23
21
  - 飞行漫游(`SatRoam`)组件
24
- - 视频融合(`SatVideoFusion`)组件
25
22
 
26
23
  ## 亮点
27
24
  - ⚡️ 基于`Vite`、`TypeScript`、`Vue`等最新技术栈开发,在开发过程中如果使用`VSCode`开发,有相应的[Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)插件代码提示支持
@@ -29,7 +29,6 @@ declare module '@vue/runtime-core' {
29
29
  SatMenu: typeof import('./components/menu/SatMenu.vue')['default']
30
30
  SatMenuMain: typeof import('./components/menu/SatMenuMain.vue')['default']
31
31
  SatMenuTree: typeof import('./components/menu/tree/SatMenuTree.vue')['default']
32
- SatModelAnalysis: typeof import('./components/analysis-model/SatModelAnalysis.vue')['default']
33
32
  SatPanel: typeof import('./components/panel/SatPanel.vue')['default']
34
33
  SatPathPlan: typeof import('./components/location/SatPathPlan.vue')['default']
35
34
  SatPicture: typeof import('./components/picture/SatPicture.vue')['default']
@@ -43,8 +42,6 @@ declare module '@vue/runtime-core' {
43
42
  SatSpatialAnalysis: typeof import('./components/analysis-spatial/SatSpatialAnalysis.vue')['default']
44
43
  SatSpatialAnalysisMain: typeof import('./components/analysis-spatial/SatSpatialAnalysisMain.vue')['default']
45
44
  SatTaskView: typeof import('./components/task-view/SatTaskView.vue')['default']
46
- SatTerrainAnalysis: typeof import('./components/analysis-terrain/SatTerrainAnalysis.vue')['default']
47
- SatVideoFusion: typeof import('./components/video-fusion/SatVideoFusion.vue')['default']
48
45
  TerrainExaggerationSlider: typeof import('./components/source/TerrainExaggerationSlider.vue')['default']
49
46
  TheImageEditor: typeof import('./components/_private/TheImageEditor/src/TheImageEditor.vue')['default']
50
47
  ViewshedStyleSlider: typeof import('./components/analysis-spatial/modules/viewshed/ViewshedStyleSlider.vue')['default']
@@ -11,11 +11,21 @@ export declare const components: (({
11
11
  getViewer: {
12
12
  type: globalThis.PropType<() => any>;
13
13
  };
14
+ offsetTop: {
15
+ type: globalThis.PropType<number>;
16
+ default: number;
17
+ };
18
+ offsetLeft: {
19
+ type: globalThis.PropType<number>;
20
+ default: number;
21
+ };
14
22
  }>> & Readonly<{}>, {
15
23
  getInstance: () => import('../main').SatMap | undefined;
16
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
17
25
  eleId: string;
18
26
  satMapOptions: import('../main').SatMapOptions;
27
+ offsetTop: number;
28
+ offsetLeft: number;
19
29
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
20
30
  P: {};
21
31
  B: {};
@@ -35,11 +45,21 @@ export declare const components: (({
35
45
  getViewer: {
36
46
  type: globalThis.PropType<() => any>;
37
47
  };
48
+ offsetTop: {
49
+ type: globalThis.PropType<number>;
50
+ default: number;
51
+ };
52
+ offsetLeft: {
53
+ type: globalThis.PropType<number>;
54
+ default: number;
55
+ };
38
56
  }>> & Readonly<{}>, {
39
57
  getInstance: () => import('../main').SatMap | undefined;
40
58
  }, {}, {}, {}, {
41
59
  eleId: string;
42
60
  satMapOptions: import('../main').SatMapOptions;
61
+ offsetTop: number;
62
+ offsetLeft: number;
43
63
  }>;
44
64
  __isFragment?: never;
45
65
  __isTeleport?: never;
@@ -56,11 +76,21 @@ export declare const components: (({
56
76
  getViewer: {
57
77
  type: globalThis.PropType<() => any>;
58
78
  };
79
+ offsetTop: {
80
+ type: globalThis.PropType<number>;
81
+ default: number;
82
+ };
83
+ offsetLeft: {
84
+ type: globalThis.PropType<number>;
85
+ default: number;
86
+ };
59
87
  }>> & Readonly<{}>, {
60
88
  getInstance: () => import('../main').SatMap | undefined;
61
89
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
62
90
  eleId: string;
63
91
  satMapOptions: import('../main').SatMapOptions;
92
+ offsetTop: number;
93
+ offsetLeft: number;
64
94
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
65
95
  $slots: {
66
96
  default?(_: {}): any;
@@ -78,11 +108,21 @@ export declare const components: (({
78
108
  getViewer: {
79
109
  type: globalThis.PropType<() => any>;
80
110
  };
111
+ offsetTop: {
112
+ type: globalThis.PropType<number>;
113
+ default: number;
114
+ };
115
+ offsetLeft: {
116
+ type: globalThis.PropType<number>;
117
+ default: number;
118
+ };
81
119
  }>> & Readonly<{}>, {
82
120
  getInstance: () => import('../main').SatMap | undefined;
83
121
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
84
122
  eleId: string;
85
123
  satMapOptions: import('../main').SatMapOptions;
124
+ offsetTop: number;
125
+ offsetLeft: number;
86
126
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
87
127
  P: {};
88
128
  B: {};
@@ -102,11 +142,21 @@ export declare const components: (({
102
142
  getViewer: {
103
143
  type: globalThis.PropType<() => any>;
104
144
  };
145
+ offsetTop: {
146
+ type: globalThis.PropType<number>;
147
+ default: number;
148
+ };
149
+ offsetLeft: {
150
+ type: globalThis.PropType<number>;
151
+ default: number;
152
+ };
105
153
  }>> & Readonly<{}>, {
106
154
  getInstance: () => import('../main').SatMap | undefined;
107
155
  }, {}, {}, {}, {
108
156
  eleId: string;
109
157
  satMapOptions: import('../main').SatMapOptions;
158
+ offsetTop: number;
159
+ offsetLeft: number;
110
160
  }>;
111
161
  __isFragment?: never;
112
162
  __isTeleport?: never;
@@ -123,11 +173,21 @@ export declare const components: (({
123
173
  getViewer: {
124
174
  type: globalThis.PropType<() => any>;
125
175
  };
176
+ offsetTop: {
177
+ type: globalThis.PropType<number>;
178
+ default: number;
179
+ };
180
+ offsetLeft: {
181
+ type: globalThis.PropType<number>;
182
+ default: number;
183
+ };
126
184
  }>> & Readonly<{}>, {
127
185
  getInstance: () => import('../main').SatMap | undefined;
128
186
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
129
187
  eleId: string;
130
188
  satMapOptions: import('../main').SatMapOptions;
189
+ offsetTop: number;
190
+ offsetLeft: number;
131
191
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
132
192
  $slots: {
133
193
  default?(_: {}): any;
@@ -946,7 +1006,7 @@ export declare const components: (({
946
1006
  initHooks: () => void;
947
1007
  destroyHooks: () => void;
948
1008
  }, import('vue').PublicProps, {
949
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
1009
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
950
1010
  merge: boolean;
951
1011
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
952
1012
  P: {};
@@ -971,7 +1031,7 @@ export declare const components: (({
971
1031
  onInitHooks?: (() => any) | undefined;
972
1032
  onDestroyHooks?: (() => any) | undefined;
973
1033
  }>, {}, {}, {}, {}, {
974
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
1034
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
975
1035
  merge: boolean;
976
1036
  }>;
977
1037
  __isFragment?: never;
@@ -996,7 +1056,7 @@ export declare const components: (({
996
1056
  initHooks: () => void;
997
1057
  destroyHooks: () => void;
998
1058
  }, string, {
999
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
1059
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
1000
1060
  merge: boolean;
1001
1061
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1002
1062
  $slots: {
@@ -1022,7 +1082,7 @@ export declare const components: (({
1022
1082
  initHooks: () => void;
1023
1083
  destroyHooks: () => void;
1024
1084
  }, import('vue').PublicProps, {
1025
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
1085
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
1026
1086
  merge: boolean;
1027
1087
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1028
1088
  P: {};
@@ -1047,7 +1107,7 @@ export declare const components: (({
1047
1107
  onInitHooks?: (() => any) | undefined;
1048
1108
  onDestroyHooks?: (() => any) | undefined;
1049
1109
  }>, {}, {}, {}, {}, {
1050
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
1110
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
1051
1111
  merge: boolean;
1052
1112
  }>;
1053
1113
  __isFragment?: never;
@@ -1072,7 +1132,7 @@ export declare const components: (({
1072
1132
  initHooks: () => void;
1073
1133
  destroyHooks: () => void;
1074
1134
  }, string, {
1075
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
1135
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
1076
1136
  merge: boolean;
1077
1137
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1078
1138
  $slots: {
@@ -8,21 +8,31 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
8
8
  eleId?: string;
9
9
  satMapOptions?: SatMapOptions;
10
10
  getViewer?: () => any;
11
+ offsetTop?: number;
12
+ offsetLeft?: number;
11
13
  }>, {
12
14
  eleId: string;
13
15
  satMapOptions: () => SatMapOptions;
16
+ offsetTop: number;
17
+ offsetLeft: number;
14
18
  }>>, {
15
19
  getInstance: () => SatMap | undefined;
16
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
21
  eleId?: string;
18
22
  satMapOptions?: SatMapOptions;
19
23
  getViewer?: () => any;
24
+ offsetTop?: number;
25
+ offsetLeft?: number;
20
26
  }>, {
21
27
  eleId: string;
22
28
  satMapOptions: () => SatMapOptions;
29
+ offsetTop: number;
30
+ offsetLeft: number;
23
31
  }>>> & Readonly<{}>, {
24
32
  eleId: string;
25
33
  satMapOptions: SatMapOptions;
34
+ offsetTop: number;
35
+ offsetLeft: number;
26
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
38
  export default _default;
@@ -14,11 +14,21 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
14
14
  getViewer: {
15
15
  type: globalThis.PropType<() => any>;
16
16
  };
17
+ offsetTop: {
18
+ type: globalThis.PropType<number>;
19
+ default: number;
20
+ };
21
+ offsetLeft: {
22
+ type: globalThis.PropType<number>;
23
+ default: number;
24
+ };
17
25
  }>> & Readonly<{}>, {
18
26
  getInstance: () => SatMap | undefined;
19
27
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
20
28
  eleId: string;
21
29
  satMapOptions: import('../../main').SatMapOptions;
30
+ offsetTop: number;
31
+ offsetLeft: number;
22
32
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
23
33
  P: {};
24
34
  B: {};
@@ -38,11 +48,21 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
38
48
  getViewer: {
39
49
  type: globalThis.PropType<() => any>;
40
50
  };
51
+ offsetTop: {
52
+ type: globalThis.PropType<number>;
53
+ default: number;
54
+ };
55
+ offsetLeft: {
56
+ type: globalThis.PropType<number>;
57
+ default: number;
58
+ };
41
59
  }>> & Readonly<{}>, {
42
60
  getInstance: () => SatMap | undefined;
43
61
  }, {}, {}, {}, {
44
62
  eleId: string;
45
63
  satMapOptions: import('../../main').SatMapOptions;
64
+ offsetTop: number;
65
+ offsetLeft: number;
46
66
  }>;
47
67
  __isFragment?: never;
48
68
  __isTeleport?: never;
@@ -59,11 +79,21 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
59
79
  getViewer: {
60
80
  type: globalThis.PropType<() => any>;
61
81
  };
82
+ offsetTop: {
83
+ type: globalThis.PropType<number>;
84
+ default: number;
85
+ };
86
+ offsetLeft: {
87
+ type: globalThis.PropType<number>;
88
+ default: number;
89
+ };
62
90
  }>> & Readonly<{}>, {
63
91
  getInstance: () => SatMap | undefined;
64
92
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
65
93
  eleId: string;
66
94
  satMapOptions: import('../../main').SatMapOptions;
95
+ offsetTop: number;
96
+ offsetLeft: number;
67
97
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
68
98
  $slots: {
69
99
  default?(_: {}): any;
@@ -3,13 +3,10 @@ export * from './menu';
3
3
  export * from './menu/tree';
4
4
  export * from './source';
5
5
  export * from './panel';
6
- export * from './analysis-model';
7
6
  export * from './analysis-spatial';
8
- export * from './analysis-terrain';
9
7
  export * from './location';
10
8
  export * from './measure';
11
9
  export * from './picture';
12
10
  export * from './plot';
13
11
  export * from './roam';
14
- export * from './video-fusion';
15
12
  export * from './task-view';
@@ -21,7 +21,7 @@ declare const SatPlot: import('../../utils/installer').SFCWithInstall<{
21
21
  initHooks: () => void;
22
22
  destroyHooks: () => void;
23
23
  }, import('vue').PublicProps, {
24
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
24
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
25
25
  merge: boolean;
26
26
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
27
  P: {};
@@ -46,7 +46,7 @@ declare const SatPlot: import('../../utils/installer').SFCWithInstall<{
46
46
  onInitHooks?: (() => any) | undefined;
47
47
  onDestroyHooks?: (() => any) | undefined;
48
48
  }>, {}, {}, {}, {}, {
49
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
49
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
50
50
  merge: boolean;
51
51
  }>;
52
52
  __isFragment?: never;
@@ -71,7 +71,7 @@ declare const SatPlot: import('../../utils/installer').SFCWithInstall<{
71
71
  initHooks: () => void;
72
72
  destroyHooks: () => void;
73
73
  }, string, {
74
- unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
74
+ unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources/dist').plotSource>;
75
75
  merge: boolean;
76
76
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
77
77
  $slots: {
@@ -15,9 +15,6 @@ export interface CompState {
15
15
  SatPlot?: StateItem;
16
16
  SatPicture?: StateItem;
17
17
  SatSpatialAnalysis?: StateItem;
18
- SatTerrainAnalysis?: StateItem;
19
- SatModelAnalysis?: StateItem;
20
- SatVideoFusion?: StateItem;
21
18
  SatRoam?: StateItem;
22
19
  }
23
20
  export interface CompStateRecord {
@@ -36,9 +33,6 @@ export declare const useCompStateStore: import('pinia').StoreDefinition<"SatComp
36
33
  setSatPlot(eleId: string, item: StateItem): void;
37
34
  setSatPicture(eleId: string, item: StateItem): void;
38
35
  setSatSpatialAnalysis(eleId: string, item: StateItem): void;
39
- setSatTerrainAnalysis(eleId: string, item: StateItem): void;
40
- setSatModelAnalysis(eleId: string, item: StateItem): void;
41
- setSatVideoFusion(eleId: string, item: StateItem): void;
42
36
  setSatRoam(eleId: string, item: StateItem): void;
43
37
  changeCompState(eleId: string, itemName: string, flag: boolean): void;
44
38
  unActiveAll(eleId: string): void;
@@ -56,9 +50,6 @@ export declare function useCompStateStoreWithOut(): import('pinia').Store<"SatCo
56
50
  setSatPlot(eleId: string, item: StateItem): void;
57
51
  setSatPicture(eleId: string, item: StateItem): void;
58
52
  setSatSpatialAnalysis(eleId: string, item: StateItem): void;
59
- setSatTerrainAnalysis(eleId: string, item: StateItem): void;
60
- setSatModelAnalysis(eleId: string, item: StateItem): void;
61
- setSatVideoFusion(eleId: string, item: StateItem): void;
62
53
  setSatRoam(eleId: string, item: StateItem): void;
63
54
  changeCompState(eleId: string, itemName: string, flag: boolean): void;
64
55
  unActiveAll(eleId: string): void;
@@ -76,6 +76,7 @@ export type SatMapControl = Mars3dMap.controlOptions & {
76
76
  geocoderConfig?: {
77
77
  key: string[];
78
78
  };
79
+ darkRadio?: boolean;
79
80
  };
80
81
  export type SatPointEntity = graphic.PointEntity & {
81
82
  [someAttr: string]: any;