sat-earth 3.0.5 → 3.0.6
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/dist/dts/components/components.d.ts +0 -60
- package/dist/dts/components/globe/SatGlobe.vue.d.ts +0 -10
- package/dist/dts/components/globe/index.d.ts +0 -30
- package/dist/dts/hooks/useAbsoluteDraggable.d.ts +26 -0
- package/dist/dts/{hooks/business → utils/map/layer}/convertSatLayer.d.ts +2 -2
- package/dist/sat-earth.mjs +2658 -2638
- package/dist/style.css +1 -1
- package/package.json +1 -1
- /package/dist/dts/hooks/{ui/useDark.d.ts → useDark.d.ts} +0 -0
- /package/dist/dts/hooks/{ui/useLoading.d.ts → useLoading.d.ts} +0 -0
- /package/dist/dts/hooks/{ui/useMessage.d.ts → useMessage.d.ts} +0 -0
- /package/dist/dts/hooks/{ui/useThemeColor.d.ts → useThemeColor.d.ts} +0 -0
|
@@ -11,21 +11,11 @@ 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
|
-
};
|
|
22
14
|
}>> & Readonly<{}>, {
|
|
23
15
|
getInstance: () => import('../main').SatMap | undefined;
|
|
24
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
25
17
|
eleId: string;
|
|
26
18
|
satMapOptions: import('../main').SatMapOptions;
|
|
27
|
-
offsetTop: number;
|
|
28
|
-
offsetLeft: number;
|
|
29
19
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
30
20
|
P: {};
|
|
31
21
|
B: {};
|
|
@@ -45,21 +35,11 @@ export declare const components: (({
|
|
|
45
35
|
getViewer: {
|
|
46
36
|
type: globalThis.PropType<() => any>;
|
|
47
37
|
};
|
|
48
|
-
offsetTop: {
|
|
49
|
-
type: globalThis.PropType<number>;
|
|
50
|
-
default: number;
|
|
51
|
-
};
|
|
52
|
-
offsetLeft: {
|
|
53
|
-
type: globalThis.PropType<number>;
|
|
54
|
-
default: number;
|
|
55
|
-
};
|
|
56
38
|
}>> & Readonly<{}>, {
|
|
57
39
|
getInstance: () => import('../main').SatMap | undefined;
|
|
58
40
|
}, {}, {}, {}, {
|
|
59
41
|
eleId: string;
|
|
60
42
|
satMapOptions: import('../main').SatMapOptions;
|
|
61
|
-
offsetTop: number;
|
|
62
|
-
offsetLeft: number;
|
|
63
43
|
}>;
|
|
64
44
|
__isFragment?: never;
|
|
65
45
|
__isTeleport?: never;
|
|
@@ -76,21 +56,11 @@ export declare const components: (({
|
|
|
76
56
|
getViewer: {
|
|
77
57
|
type: globalThis.PropType<() => any>;
|
|
78
58
|
};
|
|
79
|
-
offsetTop: {
|
|
80
|
-
type: globalThis.PropType<number>;
|
|
81
|
-
default: number;
|
|
82
|
-
};
|
|
83
|
-
offsetLeft: {
|
|
84
|
-
type: globalThis.PropType<number>;
|
|
85
|
-
default: number;
|
|
86
|
-
};
|
|
87
59
|
}>> & Readonly<{}>, {
|
|
88
60
|
getInstance: () => import('../main').SatMap | undefined;
|
|
89
61
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
90
62
|
eleId: string;
|
|
91
63
|
satMapOptions: import('../main').SatMapOptions;
|
|
92
|
-
offsetTop: number;
|
|
93
|
-
offsetLeft: number;
|
|
94
64
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
95
65
|
$slots: {
|
|
96
66
|
default?(_: {}): any;
|
|
@@ -108,21 +78,11 @@ export declare const components: (({
|
|
|
108
78
|
getViewer: {
|
|
109
79
|
type: globalThis.PropType<() => any>;
|
|
110
80
|
};
|
|
111
|
-
offsetTop: {
|
|
112
|
-
type: globalThis.PropType<number>;
|
|
113
|
-
default: number;
|
|
114
|
-
};
|
|
115
|
-
offsetLeft: {
|
|
116
|
-
type: globalThis.PropType<number>;
|
|
117
|
-
default: number;
|
|
118
|
-
};
|
|
119
81
|
}>> & Readonly<{}>, {
|
|
120
82
|
getInstance: () => import('../main').SatMap | undefined;
|
|
121
83
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
122
84
|
eleId: string;
|
|
123
85
|
satMapOptions: import('../main').SatMapOptions;
|
|
124
|
-
offsetTop: number;
|
|
125
|
-
offsetLeft: number;
|
|
126
86
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
127
87
|
P: {};
|
|
128
88
|
B: {};
|
|
@@ -142,21 +102,11 @@ export declare const components: (({
|
|
|
142
102
|
getViewer: {
|
|
143
103
|
type: globalThis.PropType<() => any>;
|
|
144
104
|
};
|
|
145
|
-
offsetTop: {
|
|
146
|
-
type: globalThis.PropType<number>;
|
|
147
|
-
default: number;
|
|
148
|
-
};
|
|
149
|
-
offsetLeft: {
|
|
150
|
-
type: globalThis.PropType<number>;
|
|
151
|
-
default: number;
|
|
152
|
-
};
|
|
153
105
|
}>> & Readonly<{}>, {
|
|
154
106
|
getInstance: () => import('../main').SatMap | undefined;
|
|
155
107
|
}, {}, {}, {}, {
|
|
156
108
|
eleId: string;
|
|
157
109
|
satMapOptions: import('../main').SatMapOptions;
|
|
158
|
-
offsetTop: number;
|
|
159
|
-
offsetLeft: number;
|
|
160
110
|
}>;
|
|
161
111
|
__isFragment?: never;
|
|
162
112
|
__isTeleport?: never;
|
|
@@ -173,21 +123,11 @@ export declare const components: (({
|
|
|
173
123
|
getViewer: {
|
|
174
124
|
type: globalThis.PropType<() => any>;
|
|
175
125
|
};
|
|
176
|
-
offsetTop: {
|
|
177
|
-
type: globalThis.PropType<number>;
|
|
178
|
-
default: number;
|
|
179
|
-
};
|
|
180
|
-
offsetLeft: {
|
|
181
|
-
type: globalThis.PropType<number>;
|
|
182
|
-
default: number;
|
|
183
|
-
};
|
|
184
126
|
}>> & Readonly<{}>, {
|
|
185
127
|
getInstance: () => import('../main').SatMap | undefined;
|
|
186
128
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
187
129
|
eleId: string;
|
|
188
130
|
satMapOptions: import('../main').SatMapOptions;
|
|
189
|
-
offsetTop: number;
|
|
190
|
-
offsetLeft: number;
|
|
191
131
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
192
132
|
$slots: {
|
|
193
133
|
default?(_: {}): any;
|
|
@@ -8,31 +8,21 @@ 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;
|
|
13
11
|
}>, {
|
|
14
12
|
eleId: string;
|
|
15
13
|
satMapOptions: () => SatMapOptions;
|
|
16
|
-
offsetTop: number;
|
|
17
|
-
offsetLeft: number;
|
|
18
14
|
}>>, {
|
|
19
15
|
getInstance: () => SatMap | undefined;
|
|
20
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
17
|
eleId?: string;
|
|
22
18
|
satMapOptions?: SatMapOptions;
|
|
23
19
|
getViewer?: () => any;
|
|
24
|
-
offsetTop?: number;
|
|
25
|
-
offsetLeft?: number;
|
|
26
20
|
}>, {
|
|
27
21
|
eleId: string;
|
|
28
22
|
satMapOptions: () => SatMapOptions;
|
|
29
|
-
offsetTop: number;
|
|
30
|
-
offsetLeft: number;
|
|
31
23
|
}>>> & Readonly<{}>, {
|
|
32
24
|
eleId: string;
|
|
33
25
|
satMapOptions: SatMapOptions;
|
|
34
|
-
offsetTop: number;
|
|
35
|
-
offsetLeft: number;
|
|
36
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
38
28
|
export default _default;
|
|
@@ -14,21 +14,11 @@ 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
|
-
};
|
|
25
17
|
}>> & Readonly<{}>, {
|
|
26
18
|
getInstance: () => SatMap | undefined;
|
|
27
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
28
20
|
eleId: string;
|
|
29
21
|
satMapOptions: import('../../main').SatMapOptions;
|
|
30
|
-
offsetTop: number;
|
|
31
|
-
offsetLeft: number;
|
|
32
22
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
33
23
|
P: {};
|
|
34
24
|
B: {};
|
|
@@ -48,21 +38,11 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
|
|
|
48
38
|
getViewer: {
|
|
49
39
|
type: globalThis.PropType<() => any>;
|
|
50
40
|
};
|
|
51
|
-
offsetTop: {
|
|
52
|
-
type: globalThis.PropType<number>;
|
|
53
|
-
default: number;
|
|
54
|
-
};
|
|
55
|
-
offsetLeft: {
|
|
56
|
-
type: globalThis.PropType<number>;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
41
|
}>> & Readonly<{}>, {
|
|
60
42
|
getInstance: () => SatMap | undefined;
|
|
61
43
|
}, {}, {}, {}, {
|
|
62
44
|
eleId: string;
|
|
63
45
|
satMapOptions: import('../../main').SatMapOptions;
|
|
64
|
-
offsetTop: number;
|
|
65
|
-
offsetLeft: number;
|
|
66
46
|
}>;
|
|
67
47
|
__isFragment?: never;
|
|
68
48
|
__isTeleport?: never;
|
|
@@ -79,21 +59,11 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
|
|
|
79
59
|
getViewer: {
|
|
80
60
|
type: globalThis.PropType<() => any>;
|
|
81
61
|
};
|
|
82
|
-
offsetTop: {
|
|
83
|
-
type: globalThis.PropType<number>;
|
|
84
|
-
default: number;
|
|
85
|
-
};
|
|
86
|
-
offsetLeft: {
|
|
87
|
-
type: globalThis.PropType<number>;
|
|
88
|
-
default: number;
|
|
89
|
-
};
|
|
90
62
|
}>> & Readonly<{}>, {
|
|
91
63
|
getInstance: () => SatMap | undefined;
|
|
92
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
93
65
|
eleId: string;
|
|
94
66
|
satMapOptions: import('../../main').SatMapOptions;
|
|
95
|
-
offsetTop: number;
|
|
96
|
-
offsetLeft: number;
|
|
97
67
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
98
68
|
$slots: {
|
|
99
69
|
default?(_: {}): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MaybeRef, PointerType, Position } from '@vueuse/core';
|
|
2
|
+
|
|
3
|
+
export interface UseAbsoluteDraggableOptions {
|
|
4
|
+
exceedable?: boolean;
|
|
5
|
+
exact?: MaybeRef<boolean>;
|
|
6
|
+
preventDefault?: MaybeRef<boolean>;
|
|
7
|
+
stopPropagation?: MaybeRef<boolean>;
|
|
8
|
+
draggingElement?: MaybeRef<HTMLElement | SVGElement | Window | Document | null | undefined>;
|
|
9
|
+
handle?: MaybeRef<HTMLElement | SVGElement | null | undefined>;
|
|
10
|
+
pointerTypes?: PointerType[];
|
|
11
|
+
initialValue?: Position;
|
|
12
|
+
onStart?: (position: Position, event: PointerEvent) => void | false;
|
|
13
|
+
onMove?: (position: Position, event: PointerEvent) => void;
|
|
14
|
+
onEnd?: (position: Position, event: PointerEvent) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function useAbsoluteDraggable(dragTriggerElement: MaybeRef<HTMLElement | null | undefined>, dragContentElement: MaybeRef<HTMLElement | string | null | undefined>, containerElement: MaybeRef<HTMLElement | string | null | undefined>, options?: UseAbsoluteDraggableOptions): {
|
|
17
|
+
styleComputed: globalThis.ComputedRef<string>;
|
|
18
|
+
position: globalThis.Ref<{
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
}>;
|
|
22
|
+
isDragging: globalThis.ComputedRef<boolean>;
|
|
23
|
+
style: globalThis.ComputedRef<string>;
|
|
24
|
+
x: globalThis.Ref<number>;
|
|
25
|
+
y: globalThis.Ref<number>;
|
|
26
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SatLayer, SatLayerDev } from '../../
|
|
2
|
-
import { TreeItem } from '../../
|
|
1
|
+
import { SatLayer, SatLayerDev } from '../../types';
|
|
2
|
+
import { TreeItem } from '../../toTree';
|
|
3
3
|
|
|
4
4
|
export type TreeSatLayer = SatLayerDev & TreeItem;
|
|
5
5
|
export declare const convertSatLayer: (layerList: SatLayer[]) => TreeSatLayer[];
|