sat-earth 0.0.18 → 0.0.21
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 +13 -2
- package/dist/packages/components/globe/CameraBookmarkPanel.vue.d.ts +114 -0
- package/dist/packages/components/globe/MapSplitPanel.vue.d.ts +1 -0
- package/dist/packages/components/globe/SatGlobe.vue.d.ts +114 -0
- package/dist/packages/components/globe/helpers.d.ts +6 -0
- package/dist/packages/components/globe/index.d.ts +114 -0
- package/dist/packages/components/panel/SatPanel.vue.d.ts +47 -8
- package/dist/packages/components/panel/index.d.ts +47 -8
- package/dist/packages/components/source/SatSource.vue.d.ts +81 -746
- package/dist/packages/components/source/SatSourceMain.vue.d.ts +33 -737
- package/dist/packages/components/source/index.d.ts +81 -746
- package/dist/packages/config/index.d.ts +2 -1
- package/dist/packages/global.d.ts +5 -0
- package/dist/packages/store/modules/layer.d.ts +4 -1
- package/dist/packages/utils/map/satMap/layer/index.d.ts +0 -1
- package/dist/packages/utils/types/index.d.ts +5 -0
- package/dist/sat-earth.es.js +8091 -5227
- package/dist/sat-earth.umd.js +36 -30
- package/dist/style.css +1 -1
- package/package.json +6 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const IS_DARK_KEY = "
|
|
1
|
+
export declare const IS_DARK_KEY = "SAT__IS__DARK__";
|
|
2
|
+
export declare const BOOKMARK_KEY = "SAT__BOOKMARK__";
|
|
2
3
|
export declare const MESSAGE_DURATION: number;
|
|
3
4
|
export declare const THEME_COLOR = "#409eff";
|
|
4
5
|
export declare const IS_DARK = true;
|
|
@@ -4,8 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
declare module '@vue/runtime-core' {
|
|
6
6
|
export interface GlobalComponents {
|
|
7
|
+
CameraBookmarkPanel: typeof import('./components/globe/CameraBookmarkPanel.vue')['default']
|
|
7
8
|
DarkIcon: typeof import('./components/common/DarkIcon.vue')['default']
|
|
9
|
+
ElButton: typeof import('element-plus/es')['ElButton']
|
|
8
10
|
ElDrawer: typeof import('element-plus/es')['ElDrawer']
|
|
11
|
+
ElImage: typeof import('element-plus/es')['ElImage']
|
|
12
|
+
ElInput: typeof import('element-plus/es')['ElInput']
|
|
9
13
|
ElMenu: typeof import('element-plus/es')['ElMenu']
|
|
10
14
|
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
|
11
15
|
ElOption: typeof import('element-plus/es')['ElOption']
|
|
@@ -16,6 +20,7 @@ declare module '@vue/runtime-core' {
|
|
|
16
20
|
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
|
17
21
|
ElTabPane: typeof import('element-plus/es')['ElTabPane']
|
|
18
22
|
ElTabs: typeof import('element-plus/es')['ElTabs']
|
|
23
|
+
ElTree: typeof import('element-plus/es')['ElTree']
|
|
19
24
|
LayerStyleSlider: typeof import('./components/source/LayerStyleSlider.vue')['default']
|
|
20
25
|
LightIcon: typeof import('./components/common/LightIcon.vue')['default']
|
|
21
26
|
MapSplitPanel: typeof import('./components/globe/MapSplitPanel.vue')['default']
|
|
@@ -4,16 +4,19 @@ export declare type TreeSatLayer = SatLayerDev & TreeItem;
|
|
|
4
4
|
export interface LayerState {
|
|
5
5
|
layerList: SatLayerDev[];
|
|
6
6
|
layerTree: TreeSatLayer[];
|
|
7
|
-
mapSplitPanelVisible: boolean;
|
|
8
7
|
modifyLayerCounter: number;
|
|
8
|
+
mapSplitPanelVisible: boolean;
|
|
9
|
+
cameraBookmarkPanelVisible: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare const useLayerStore: import("pinia").StoreDefinition<"SatLayerDev", LayerState, {}, {
|
|
11
12
|
setLayerList(val: SatLayerDev[]): void;
|
|
12
13
|
setLayerTree(val: Array<TreeSatLayer>): void;
|
|
13
14
|
setMapSplitPanelVisible(val: boolean): void;
|
|
15
|
+
setCameraBookmarkPanelVisible(val: boolean): void;
|
|
14
16
|
}>;
|
|
15
17
|
export declare function useLayerStoreWithOut(): import("pinia").Store<"SatLayerDev", LayerState, {}, {
|
|
16
18
|
setLayerList(val: SatLayerDev[]): void;
|
|
17
19
|
setLayerTree(val: TreeSatLayer[]): void;
|
|
18
20
|
setMapSplitPanelVisible(val: boolean): void;
|
|
21
|
+
setCameraBookmarkPanelVisible(val: boolean): void;
|
|
19
22
|
}>;
|
|
@@ -3,7 +3,6 @@ import { type SatLayerDev, type MarsFlyToOptions } from '../../../../utils/types
|
|
|
3
3
|
export declare class Layer {
|
|
4
4
|
map: Mars3dMap;
|
|
5
5
|
noIndexLayerStartIndex: number;
|
|
6
|
-
splitLayerStartIndex: number;
|
|
7
6
|
constructor(map: Mars3dMap);
|
|
8
7
|
addLayers(layers: SatLayerDev[]): void;
|
|
9
8
|
removeLayers(layers: SatLayerDev[]): void;
|
|
@@ -74,6 +74,11 @@ export declare type SatMapControl = Mars3dMap.controlOptions & {
|
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
76
|
export declare type SatMapCustomOptions = {
|
|
77
|
+
toolbar?: {
|
|
78
|
+
mapSplit?: boolean;
|
|
79
|
+
bookmark?: boolean;
|
|
80
|
+
keyboardRoam?: boolean;
|
|
81
|
+
};
|
|
77
82
|
layers?: {
|
|
78
83
|
list?: SatLayer[];
|
|
79
84
|
auxiliaryLayers?: {
|