sat-earth 3.0.0 → 3.0.2
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 +1 -2
- package/dist/dts/auto-components.d.ts +0 -2
- package/dist/dts/components/components.d.ts +60 -30
- package/dist/dts/components/index.d.ts +0 -1
- package/dist/dts/components/panel/SatPanel.vue.d.ts +3 -3
- package/dist/dts/components/panel/index.d.ts +6 -6
- package/dist/dts/components/plot/SatPlot.vue.d.ts +8 -2
- package/dist/dts/components/plot/index.d.ts +24 -9
- package/dist/dts/store/modules/compState.d.ts +0 -3
- package/dist/dts/types/global.d.ts +12 -0
- package/dist/dts/types/module.d.ts +8 -7
- package/dist/dts/utils/map/index.d.ts +1 -2
- package/dist/dts/utils/types/index.d.ts +1 -2
- package/dist/sat-earth.mjs +2877 -2974
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/dts/components/map-part/SatMapPart.vue.d.ts +0 -17
- package/dist/dts/components/map-part/SatMapPartMain.vue.d.ts +0 -2
- package/dist/dts/components/map-part/helpers.d.ts +0 -1
- package/dist/dts/components/map-part/index.d.ts +0 -36
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 简介
|
|
2
2
|
|
|
3
|
-
## 什么是SatEarth?
|
|
3
|
+
## 什么是SatEarth-xtck?
|
|
4
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组件库,以支持前端开发者快速搭建三维场景。**
|
|
5
5
|
|
|
6
6
|
## 组件列表
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
- 菜单(`SatMenu`)组件
|
|
12
12
|
- 菜单树(`SatMenuTree`)组件
|
|
13
13
|
- 数据源(`SatSource`)组件
|
|
14
|
-
- 地图部件(`SatMapPart`)组件
|
|
15
14
|
- 搜索定位(`SatLocation`)组件
|
|
16
15
|
- 量测工具(`SatMeasure`)组件
|
|
17
16
|
- 图上标绘(`SatPlot`)组件
|
|
@@ -24,8 +24,6 @@ declare module '@vue/runtime-core' {
|
|
|
24
24
|
SatGlobe: typeof import('./components/globe/SatGlobe.vue')['default']
|
|
25
25
|
SatLocation: typeof import('./components/location/SatLocation.vue')['default']
|
|
26
26
|
SatLocationMain: typeof import('./components/location/SatLocationMain.vue')['default']
|
|
27
|
-
SatMapPart: typeof import('./components/map-part/SatMapPart.vue')['default']
|
|
28
|
-
SatMapPartMain: typeof import('./components/map-part/SatMapPartMain.vue')['default']
|
|
29
27
|
SatMeasure: typeof import('./components/measure/SatMeasure.vue')['default']
|
|
30
28
|
SatMeasureMain: typeof import('./components/measure/SatMeasureMain.vue')['default']
|
|
31
29
|
SatMenu: typeof import('./components/menu/SatMenu.vue')['default']
|
|
@@ -398,7 +398,7 @@ export declare const components: (({
|
|
|
398
398
|
type: StringConstructor;
|
|
399
399
|
required: true;
|
|
400
400
|
};
|
|
401
|
-
|
|
401
|
+
draggable: {
|
|
402
402
|
type: BooleanConstructor;
|
|
403
403
|
default: boolean;
|
|
404
404
|
};
|
|
@@ -434,7 +434,7 @@ export declare const components: (({
|
|
|
434
434
|
default: () => void;
|
|
435
435
|
};
|
|
436
436
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
437
|
-
|
|
437
|
+
draggable: boolean;
|
|
438
438
|
dragInitialValue: import('./panel').SatPanelPosition | undefined;
|
|
439
439
|
isMaximize: boolean;
|
|
440
440
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -454,7 +454,7 @@ export declare const components: (({
|
|
|
454
454
|
type: StringConstructor;
|
|
455
455
|
required: true;
|
|
456
456
|
};
|
|
457
|
-
|
|
457
|
+
draggable: {
|
|
458
458
|
type: BooleanConstructor;
|
|
459
459
|
default: boolean;
|
|
460
460
|
};
|
|
@@ -490,7 +490,7 @@ export declare const components: (({
|
|
|
490
490
|
default: () => void;
|
|
491
491
|
};
|
|
492
492
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
493
|
-
|
|
493
|
+
draggable: boolean;
|
|
494
494
|
dragInitialValue: import('./panel').SatPanelPosition | undefined;
|
|
495
495
|
isMaximize: boolean;
|
|
496
496
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -507,7 +507,7 @@ export declare const components: (({
|
|
|
507
507
|
type: StringConstructor;
|
|
508
508
|
required: true;
|
|
509
509
|
};
|
|
510
|
-
|
|
510
|
+
draggable: {
|
|
511
511
|
type: BooleanConstructor;
|
|
512
512
|
default: boolean;
|
|
513
513
|
};
|
|
@@ -543,7 +543,7 @@ export declare const components: (({
|
|
|
543
543
|
default: () => void;
|
|
544
544
|
};
|
|
545
545
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
546
|
-
|
|
546
|
+
draggable: boolean;
|
|
547
547
|
dragInitialValue: import('./panel').SatPanelPosition | undefined;
|
|
548
548
|
isMaximize: boolean;
|
|
549
549
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -561,7 +561,7 @@ export declare const components: (({
|
|
|
561
561
|
type: StringConstructor;
|
|
562
562
|
required: true;
|
|
563
563
|
};
|
|
564
|
-
|
|
564
|
+
draggable: {
|
|
565
565
|
type: BooleanConstructor;
|
|
566
566
|
default: boolean;
|
|
567
567
|
};
|
|
@@ -597,7 +597,7 @@ export declare const components: (({
|
|
|
597
597
|
default: () => void;
|
|
598
598
|
};
|
|
599
599
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
600
|
-
|
|
600
|
+
draggable: boolean;
|
|
601
601
|
dragInitialValue: import('./panel').SatPanelPosition | undefined;
|
|
602
602
|
isMaximize: boolean;
|
|
603
603
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -617,7 +617,7 @@ export declare const components: (({
|
|
|
617
617
|
type: StringConstructor;
|
|
618
618
|
required: true;
|
|
619
619
|
};
|
|
620
|
-
|
|
620
|
+
draggable: {
|
|
621
621
|
type: BooleanConstructor;
|
|
622
622
|
default: boolean;
|
|
623
623
|
};
|
|
@@ -653,7 +653,7 @@ export declare const components: (({
|
|
|
653
653
|
default: () => void;
|
|
654
654
|
};
|
|
655
655
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
656
|
-
|
|
656
|
+
draggable: boolean;
|
|
657
657
|
dragInitialValue: import('./panel').SatPanelPosition | undefined;
|
|
658
658
|
isMaximize: boolean;
|
|
659
659
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -670,7 +670,7 @@ export declare const components: (({
|
|
|
670
670
|
type: StringConstructor;
|
|
671
671
|
required: true;
|
|
672
672
|
};
|
|
673
|
-
|
|
673
|
+
draggable: {
|
|
674
674
|
type: BooleanConstructor;
|
|
675
675
|
default: boolean;
|
|
676
676
|
};
|
|
@@ -706,7 +706,7 @@ export declare const components: (({
|
|
|
706
706
|
default: () => void;
|
|
707
707
|
};
|
|
708
708
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
709
|
-
|
|
709
|
+
draggable: boolean;
|
|
710
710
|
dragInitialValue: import('./panel').SatPanelPosition | undefined;
|
|
711
711
|
isMaximize: boolean;
|
|
712
712
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -928,13 +928,17 @@ export declare const components: (({
|
|
|
928
928
|
};
|
|
929
929
|
}) & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>>) | ({
|
|
930
930
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
931
|
+
customPlotSource: {
|
|
932
|
+
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
933
|
+
};
|
|
934
|
+
unabledPlotSourceKeys: {
|
|
935
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
936
|
+
default: () => never[];
|
|
937
|
+
};
|
|
931
938
|
merge: {
|
|
932
939
|
type: globalThis.PropType<boolean>;
|
|
933
940
|
default: boolean;
|
|
934
941
|
};
|
|
935
|
-
plotSource: {
|
|
936
|
-
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
937
|
-
};
|
|
938
942
|
}>> & Readonly<{
|
|
939
943
|
onInitHooks?: (() => any) | undefined;
|
|
940
944
|
onDestroyHooks?: (() => any) | undefined;
|
|
@@ -942,6 +946,7 @@ export declare const components: (({
|
|
|
942
946
|
initHooks: () => void;
|
|
943
947
|
destroyHooks: () => void;
|
|
944
948
|
}, import('vue').PublicProps, {
|
|
949
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
945
950
|
merge: boolean;
|
|
946
951
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
947
952
|
P: {};
|
|
@@ -951,30 +956,39 @@ export declare const components: (({
|
|
|
951
956
|
M: {};
|
|
952
957
|
Defaults: {};
|
|
953
958
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
959
|
+
customPlotSource: {
|
|
960
|
+
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
961
|
+
};
|
|
962
|
+
unabledPlotSourceKeys: {
|
|
963
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
964
|
+
default: () => never[];
|
|
965
|
+
};
|
|
954
966
|
merge: {
|
|
955
967
|
type: globalThis.PropType<boolean>;
|
|
956
968
|
default: boolean;
|
|
957
969
|
};
|
|
958
|
-
plotSource: {
|
|
959
|
-
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
960
|
-
};
|
|
961
970
|
}>> & Readonly<{
|
|
962
971
|
onInitHooks?: (() => any) | undefined;
|
|
963
972
|
onDestroyHooks?: (() => any) | undefined;
|
|
964
973
|
}>, {}, {}, {}, {}, {
|
|
974
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
965
975
|
merge: boolean;
|
|
966
976
|
}>;
|
|
967
977
|
__isFragment?: never;
|
|
968
978
|
__isTeleport?: never;
|
|
969
979
|
__isSuspense?: never;
|
|
970
980
|
} & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
981
|
+
customPlotSource: {
|
|
982
|
+
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
983
|
+
};
|
|
984
|
+
unabledPlotSourceKeys: {
|
|
985
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
986
|
+
default: () => never[];
|
|
987
|
+
};
|
|
971
988
|
merge: {
|
|
972
989
|
type: globalThis.PropType<boolean>;
|
|
973
990
|
default: boolean;
|
|
974
991
|
};
|
|
975
|
-
plotSource: {
|
|
976
|
-
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
977
|
-
};
|
|
978
992
|
}>> & Readonly<{
|
|
979
993
|
onInitHooks?: (() => any) | undefined;
|
|
980
994
|
onDestroyHooks?: (() => any) | undefined;
|
|
@@ -982,6 +996,7 @@ export declare const components: (({
|
|
|
982
996
|
initHooks: () => void;
|
|
983
997
|
destroyHooks: () => void;
|
|
984
998
|
}, string, {
|
|
999
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
985
1000
|
merge: boolean;
|
|
986
1001
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
987
1002
|
$slots: {
|
|
@@ -989,13 +1004,17 @@ export declare const components: (({
|
|
|
989
1004
|
};
|
|
990
1005
|
}) & import('vue').ObjectPlugin<any[]>) | ({
|
|
991
1006
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1007
|
+
customPlotSource: {
|
|
1008
|
+
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
1009
|
+
};
|
|
1010
|
+
unabledPlotSourceKeys: {
|
|
1011
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
1012
|
+
default: () => never[];
|
|
1013
|
+
};
|
|
992
1014
|
merge: {
|
|
993
1015
|
type: globalThis.PropType<boolean>;
|
|
994
1016
|
default: boolean;
|
|
995
1017
|
};
|
|
996
|
-
plotSource: {
|
|
997
|
-
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
998
|
-
};
|
|
999
1018
|
}>> & Readonly<{
|
|
1000
1019
|
onInitHooks?: (() => any) | undefined;
|
|
1001
1020
|
onDestroyHooks?: (() => any) | undefined;
|
|
@@ -1003,6 +1022,7 @@ export declare const components: (({
|
|
|
1003
1022
|
initHooks: () => void;
|
|
1004
1023
|
destroyHooks: () => void;
|
|
1005
1024
|
}, import('vue').PublicProps, {
|
|
1025
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
1006
1026
|
merge: boolean;
|
|
1007
1027
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1008
1028
|
P: {};
|
|
@@ -1012,30 +1032,39 @@ export declare const components: (({
|
|
|
1012
1032
|
M: {};
|
|
1013
1033
|
Defaults: {};
|
|
1014
1034
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
1035
|
+
customPlotSource: {
|
|
1036
|
+
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
1037
|
+
};
|
|
1038
|
+
unabledPlotSourceKeys: {
|
|
1039
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
1040
|
+
default: () => never[];
|
|
1041
|
+
};
|
|
1015
1042
|
merge: {
|
|
1016
1043
|
type: globalThis.PropType<boolean>;
|
|
1017
1044
|
default: boolean;
|
|
1018
1045
|
};
|
|
1019
|
-
plotSource: {
|
|
1020
|
-
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
1021
|
-
};
|
|
1022
1046
|
}>> & Readonly<{
|
|
1023
1047
|
onInitHooks?: (() => any) | undefined;
|
|
1024
1048
|
onDestroyHooks?: (() => any) | undefined;
|
|
1025
1049
|
}>, {}, {}, {}, {}, {
|
|
1050
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
1026
1051
|
merge: boolean;
|
|
1027
1052
|
}>;
|
|
1028
1053
|
__isFragment?: never;
|
|
1029
1054
|
__isTeleport?: never;
|
|
1030
1055
|
__isSuspense?: never;
|
|
1031
1056
|
} & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
1057
|
+
customPlotSource: {
|
|
1058
|
+
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
1059
|
+
};
|
|
1060
|
+
unabledPlotSourceKeys: {
|
|
1061
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
1062
|
+
default: () => never[];
|
|
1063
|
+
};
|
|
1032
1064
|
merge: {
|
|
1033
1065
|
type: globalThis.PropType<boolean>;
|
|
1034
1066
|
default: boolean;
|
|
1035
1067
|
};
|
|
1036
|
-
plotSource: {
|
|
1037
|
-
type: globalThis.PropType<import('./plot').PlotSource>;
|
|
1038
|
-
};
|
|
1039
1068
|
}>> & Readonly<{
|
|
1040
1069
|
onInitHooks?: (() => any) | undefined;
|
|
1041
1070
|
onDestroyHooks?: (() => any) | undefined;
|
|
@@ -1043,6 +1072,7 @@ export declare const components: (({
|
|
|
1043
1072
|
initHooks: () => void;
|
|
1044
1073
|
destroyHooks: () => void;
|
|
1045
1074
|
}, string, {
|
|
1075
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
1046
1076
|
merge: boolean;
|
|
1047
1077
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1048
1078
|
$slots: {
|
|
@@ -9,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
draggable: {
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
@@ -49,7 +49,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
49
49
|
type: StringConstructor;
|
|
50
50
|
required: true;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
draggable: {
|
|
53
53
|
type: BooleanConstructor;
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
@@ -85,7 +85,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
85
85
|
default: () => void;
|
|
86
86
|
};
|
|
87
87
|
}>> & Readonly<{}>, {
|
|
88
|
-
|
|
88
|
+
draggable: boolean;
|
|
89
89
|
dragInitialValue: SatPanelPosition | undefined;
|
|
90
90
|
isMaximize: boolean;
|
|
91
91
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -6,7 +6,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
|
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
draggable: {
|
|
10
10
|
type: BooleanConstructor;
|
|
11
11
|
default: boolean;
|
|
12
12
|
};
|
|
@@ -42,7 +42,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
|
|
|
42
42
|
default: () => void;
|
|
43
43
|
};
|
|
44
44
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
45
|
-
|
|
45
|
+
draggable: boolean;
|
|
46
46
|
dragInitialValue: import('./helpers').SatPanelPosition | undefined;
|
|
47
47
|
isMaximize: boolean;
|
|
48
48
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -62,7 +62,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
|
|
|
62
62
|
type: StringConstructor;
|
|
63
63
|
required: true;
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
draggable: {
|
|
66
66
|
type: BooleanConstructor;
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
@@ -98,7 +98,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
|
|
|
98
98
|
default: () => void;
|
|
99
99
|
};
|
|
100
100
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
101
|
-
|
|
101
|
+
draggable: boolean;
|
|
102
102
|
dragInitialValue: import('./helpers').SatPanelPosition | undefined;
|
|
103
103
|
isMaximize: boolean;
|
|
104
104
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -115,7 +115,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
|
|
|
115
115
|
type: StringConstructor;
|
|
116
116
|
required: true;
|
|
117
117
|
};
|
|
118
|
-
|
|
118
|
+
draggable: {
|
|
119
119
|
type: BooleanConstructor;
|
|
120
120
|
default: boolean;
|
|
121
121
|
};
|
|
@@ -151,7 +151,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
|
|
|
151
151
|
default: () => void;
|
|
152
152
|
};
|
|
153
153
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
154
|
-
|
|
154
|
+
draggable: boolean;
|
|
155
155
|
dragInitialValue: import('./helpers').SatPanelPosition | undefined;
|
|
156
156
|
isMaximize: boolean;
|
|
157
157
|
windowSize: "Maximize" | "Nomal";
|
|
@@ -1,25 +1,31 @@
|
|
|
1
|
+
import { plotSource } from 'sat-earth-resources';
|
|
1
2
|
import { PlotSource } from '../../utils/types';
|
|
2
3
|
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
default?(_: {}): any;
|
|
5
6
|
};
|
|
6
7
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
|
|
8
|
+
customPlotSource?: PlotSource;
|
|
9
|
+
unabledPlotSourceKeys?: Array<keyof typeof plotSource>;
|
|
8
10
|
merge?: boolean;
|
|
9
11
|
}>, {
|
|
10
12
|
merge: boolean;
|
|
13
|
+
unabledPlotSourceKeys: () => never[];
|
|
11
14
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
15
|
initHooks: () => void;
|
|
13
16
|
destroyHooks: () => void;
|
|
14
17
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
|
|
18
|
+
customPlotSource?: PlotSource;
|
|
19
|
+
unabledPlotSourceKeys?: Array<keyof typeof plotSource>;
|
|
16
20
|
merge?: boolean;
|
|
17
21
|
}>, {
|
|
18
22
|
merge: boolean;
|
|
23
|
+
unabledPlotSourceKeys: () => never[];
|
|
19
24
|
}>>> & Readonly<{
|
|
20
25
|
onInitHooks?: (() => any) | undefined;
|
|
21
26
|
onDestroyHooks?: (() => any) | undefined;
|
|
22
27
|
}>, {
|
|
28
|
+
unabledPlotSourceKeys: Array<keyof typeof plotSource>;
|
|
23
29
|
merge: boolean;
|
|
24
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -3,13 +3,17 @@ import { default as SatPlotSFC } from './SatPlot.vue';
|
|
|
3
3
|
export { type PlotSource } from '../../utils/types';
|
|
4
4
|
declare const SatPlot: import('../../utils/installer').SFCWithInstall<{
|
|
5
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
6
|
+
customPlotSource: {
|
|
7
|
+
type: globalThis.PropType<import('../../utils/types').PlotSource>;
|
|
8
|
+
};
|
|
9
|
+
unabledPlotSourceKeys: {
|
|
10
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
6
13
|
merge: {
|
|
7
14
|
type: globalThis.PropType<boolean>;
|
|
8
15
|
default: boolean;
|
|
9
16
|
};
|
|
10
|
-
plotSource: {
|
|
11
|
-
type: globalThis.PropType<import('../../utils/types').PlotSource>;
|
|
12
|
-
};
|
|
13
17
|
}>> & Readonly<{
|
|
14
18
|
onInitHooks?: (() => any) | undefined;
|
|
15
19
|
onDestroyHooks?: (() => any) | undefined;
|
|
@@ -17,6 +21,7 @@ declare const SatPlot: import('../../utils/installer').SFCWithInstall<{
|
|
|
17
21
|
initHooks: () => void;
|
|
18
22
|
destroyHooks: () => void;
|
|
19
23
|
}, import('vue').PublicProps, {
|
|
24
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
20
25
|
merge: boolean;
|
|
21
26
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
22
27
|
P: {};
|
|
@@ -26,30 +31,39 @@ declare const SatPlot: import('../../utils/installer').SFCWithInstall<{
|
|
|
26
31
|
M: {};
|
|
27
32
|
Defaults: {};
|
|
28
33
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
34
|
+
customPlotSource: {
|
|
35
|
+
type: globalThis.PropType<import('../../utils/types').PlotSource>;
|
|
36
|
+
};
|
|
37
|
+
unabledPlotSourceKeys: {
|
|
38
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
29
41
|
merge: {
|
|
30
42
|
type: globalThis.PropType<boolean>;
|
|
31
43
|
default: boolean;
|
|
32
44
|
};
|
|
33
|
-
plotSource: {
|
|
34
|
-
type: globalThis.PropType<import('../../utils/types').PlotSource>;
|
|
35
|
-
};
|
|
36
45
|
}>> & Readonly<{
|
|
37
46
|
onInitHooks?: (() => any) | undefined;
|
|
38
47
|
onDestroyHooks?: (() => any) | undefined;
|
|
39
48
|
}>, {}, {}, {}, {}, {
|
|
49
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
40
50
|
merge: boolean;
|
|
41
51
|
}>;
|
|
42
52
|
__isFragment?: never;
|
|
43
53
|
__isTeleport?: never;
|
|
44
54
|
__isSuspense?: never;
|
|
45
55
|
} & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
56
|
+
customPlotSource: {
|
|
57
|
+
type: globalThis.PropType<import('../../utils/types').PlotSource>;
|
|
58
|
+
};
|
|
59
|
+
unabledPlotSourceKeys: {
|
|
60
|
+
type: globalThis.PropType<("点及文字" | "字体点" | "二维平面类" | "三维立体类" | "军事标绘" | "小模型-车辆" | "小模型-火车及铁路" | "小模型-飞机及航空" | "小模型-船及水利航海" | "小模型-人物" | "小模型-交通设施" | "小模型-树及植物" | "小模型-建筑物" | "小模型-电力设施" | "小模型-消防设备" | "小模型-测绘仪器" | "小模型-超高机械" | "小模型-其他")[]>;
|
|
61
|
+
default: () => never[];
|
|
62
|
+
};
|
|
46
63
|
merge: {
|
|
47
64
|
type: globalThis.PropType<boolean>;
|
|
48
65
|
default: boolean;
|
|
49
66
|
};
|
|
50
|
-
plotSource: {
|
|
51
|
-
type: globalThis.PropType<import('../../utils/types').PlotSource>;
|
|
52
|
-
};
|
|
53
67
|
}>> & Readonly<{
|
|
54
68
|
onInitHooks?: (() => any) | undefined;
|
|
55
69
|
onDestroyHooks?: (() => any) | undefined;
|
|
@@ -57,6 +71,7 @@ declare const SatPlot: import('../../utils/installer').SFCWithInstall<{
|
|
|
57
71
|
initHooks: () => void;
|
|
58
72
|
destroyHooks: () => void;
|
|
59
73
|
}, string, {
|
|
74
|
+
unabledPlotSourceKeys: Array<keyof typeof import('sat-earth-resources').plotSource>;
|
|
60
75
|
merge: boolean;
|
|
61
76
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
62
77
|
$slots: {
|
|
@@ -10,7 +10,6 @@ export interface StateItem {
|
|
|
10
10
|
}
|
|
11
11
|
export interface CompState {
|
|
12
12
|
SatSource?: StateItem;
|
|
13
|
-
SatMapPart?: StateItem;
|
|
14
13
|
SatLocation?: StateItem;
|
|
15
14
|
SatMeasure?: StateItem;
|
|
16
15
|
SatPlot?: StateItem;
|
|
@@ -32,7 +31,6 @@ export declare const useCompStateStore: import('pinia').StoreDefinition<"SatComp
|
|
|
32
31
|
initRecord(eleId: string): void;
|
|
33
32
|
removeRecord(eleId: string): void;
|
|
34
33
|
setSatSource(eleId: string, item: StateItem): void;
|
|
35
|
-
setSatMapPart(eleId: string, item: StateItem): void;
|
|
36
34
|
setSatLocation(eleId: string, item: StateItem): void;
|
|
37
35
|
setSatMeasure(eleId: string, item: StateItem): void;
|
|
38
36
|
setSatPlot(eleId: string, item: StateItem): void;
|
|
@@ -53,7 +51,6 @@ export declare function useCompStateStoreWithOut(): import('pinia').Store<"SatCo
|
|
|
53
51
|
initRecord(eleId: string): void;
|
|
54
52
|
removeRecord(eleId: string): void;
|
|
55
53
|
setSatSource(eleId: string, item: StateItem): void;
|
|
56
|
-
setSatMapPart(eleId: string, item: StateItem): void;
|
|
57
54
|
setSatLocation(eleId: string, item: StateItem): void;
|
|
58
55
|
setSatMeasure(eleId: string, item: StateItem): void;
|
|
59
56
|
setSatPlot(eleId: string, item: StateItem): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as TurfType from '@turf/turf'
|
|
2
|
+
import type * as CesiumType from 'mars3d-cesium'
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
const Cesium: typeof CesiumType
|
|
6
|
+
const turf: typeof TurfType
|
|
7
|
+
interface Window {
|
|
8
|
+
Cesium: typeof Cesium
|
|
9
|
+
turf: typeof turf
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export {}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
declare module 'kml-geojson'
|
|
2
|
-
declare module 'dom-to-image-more'
|
|
3
|
-
declare module '*.vue' {
|
|
4
|
-
import { defineComponent } from 'vue'
|
|
5
|
-
const component: ReturnType<typeof defineComponent>
|
|
6
|
-
export default component
|
|
7
|
-
}
|
|
1
|
+
declare module 'kml-geojson'
|
|
2
|
+
declare module 'dom-to-image-more'
|
|
3
|
+
declare module '*.vue' {
|
|
4
|
+
import { defineComponent } from 'vue'
|
|
5
|
+
const component: ReturnType<typeof defineComponent>
|
|
6
|
+
export default component
|
|
7
|
+
}
|
|
8
|
+
declare module 'Cesium'
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Map as Mars3dMap } from 'mars3d';
|
|
1
|
+
import { Map as Mars3dMap, Cesium } from 'mars3d';
|
|
2
2
|
import { Layer } from './layer';
|
|
3
3
|
import { Measure } from './measure';
|
|
4
4
|
import { Plot } from './plot';
|
|
5
5
|
import { SpatialAnalysis } from './analysis-spatial';
|
|
6
6
|
import { SatMapOptions } from '../types';
|
|
7
7
|
import * as mars3d from 'mars3d';
|
|
8
|
-
import * as Cesium from 'mars3d-cesium';
|
|
9
8
|
export declare class SatMap {
|
|
10
9
|
#private;
|
|
11
10
|
static Cesium: typeof mars3d.Cesium;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Map as Mars3dMap, graphic, ChinaCRS, LangType, GraphicType } from 'mars3d';
|
|
1
|
+
import { Map as Mars3dMap, graphic, ChinaCRS, LangType, GraphicType, Cesium } from 'mars3d';
|
|
2
2
|
import { plotSource, plotStyleConfig } from 'sat-earth-resources';
|
|
3
3
|
|
|
4
|
-
import * as Cesium from 'mars3d-cesium';
|
|
5
4
|
export type SatLayer = Mars3dMap.layerOptions & {
|
|
6
5
|
radio?: boolean;
|
|
7
6
|
center?: MarsLayerCenter;
|