sat-earth 0.0.2-beta3 → 0.0.3

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
@@ -14,7 +14,7 @@
14
14
  ## 尝鲜
15
15
  - 首先在命令行执行如下命令添加 `sat-earth` 的依赖
16
16
  ```bash
17
- npm i sat-earth
17
+ npm i sat-earth@beta
18
18
  ```
19
19
 
20
20
  - 将 `node_modules/mars3d-cesium/Build/Cesium` 目录拷贝到我们开发目录中的public下
@@ -49,8 +49,51 @@ app.use(SatGlobe)
49
49
  app.mount("#app")
50
50
 
51
51
  ```
52
+ - 在`tsconfig.json`中引入类型声明文件`sat-earth/global`,来支持[Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)的代码提示功能
53
+ ```json
54
+ {
55
+ "compilerOptions": {
56
+ "target": "esnext", // 指定ts编译后的ECMAScript目标版本: 'es3' (default), 'es5', 'es2015', 'es2016', 'es2017', or 'esnext'
57
+ "module": "esnext", // 指定编译后代码使用的模块化规范: 'commonjs', 'amd', 'umd' or 'es...'
58
+ "declaration": false, // 是否生成声明文件
59
+ "strict": true, // 开启全部严格模式
60
+ "removeComments": true, // 删除注释
61
+ "allowJs": true, // 是否对js文件开启编译
62
+ "noImplicitAny": false, // 支持类型不标注可以默认any
63
+ "allowSyntheticDefaultImports": true, // 允许没有导出的模块中导入
64
+ "resolveJsonModule": true, // json文件是否可导入
65
+ "isolatedModules": true, // 将每个文件作为单独的模块
66
+ "useDefineForClassFields": true, // class类的变量声明方式从 = 赋值的方式变更成了Object.defineProperty;所有的字段声明都会生效,即使它没有指定默认值
67
+ "moduleResolution": "node", // 置顶模块的解析策略,'node' or 'classic'
68
+ "esModuleInterop": true, // 支持es6,commonjs模块
69
+ "skipLibCheck": true, // 跳过类库检测
70
+ "jsx": "preserve",
71
+ "lib": [
72
+ "esnext",
73
+ "dom"
74
+ ],
75
+ "types": [
76
+ "vite/client",
77
+ "sat-earth/global"
78
+ ],
79
+ "paths": {
80
+ "@src/*": [
81
+ "./src/*"
82
+ ]
83
+ }
84
+ },
85
+ "include": [
86
+ "**/*.ts",
87
+ "**/*.d.ts",
88
+ "**/*.vue"
89
+ ]
90
+ }
91
+ ```
92
+
93
+ - 开始使用,组件化调用`<SatGlobe></SatGlobe>`,或者调用 `satEarth` 暴露的方法
52
94
 
53
- - 开始使用,调用组件化`<SatGlobe></SatGlobe>`,或者调用 `satEarth` 暴露的方法
95
+ ## 其他说明
96
+ 这是我第一次搭建组件库,目前状态是有时间就会写点儿,平时还要工作,所以无法保证开发进度,当然有一部分原因其实是把这次搭建组件库作为一种学习方式。如果您有什么问题或者见解欢迎指正和讨论。微信号:`KaiboGeng`
54
97
 
55
98
  ## 如何贡献
56
99
  你可以[提一个 issue](https://gitee.com/gengkaibo/sat-earth/issues) 或者提交一个 Pull Request。
@@ -0,0 +1,246 @@
1
+ // Generated by 'unplugin-auto-import'
2
+ // We suggest you to commit this file into source control
3
+ declare global {
4
+ const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate']
5
+ const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
6
+ const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
7
+ const computed: typeof import('vue')['computed']
8
+ const computedAsync: typeof import('@vueuse/core')['computedAsync']
9
+ const computedEager: typeof import('@vueuse/core')['computedEager']
10
+ const computedInject: typeof import('@vueuse/core')['computedInject']
11
+ const computedWithControl: typeof import('@vueuse/core')['computedWithControl']
12
+ const controlledComputed: typeof import('@vueuse/core')['controlledComputed']
13
+ const controlledRef: typeof import('@vueuse/core')['controlledRef']
14
+ const createApp: typeof import('vue')['createApp']
15
+ const createEventHook: typeof import('@vueuse/core')['createEventHook']
16
+ const createGlobalState: typeof import('@vueuse/core')['createGlobalState']
17
+ const createInjectionState: typeof import('@vueuse/core')['createInjectionState']
18
+ const createPinia: typeof import('pinia')['createPinia']
19
+ const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
20
+ const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
21
+ const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
22
+ const customRef: typeof import('vue')['customRef']
23
+ const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
24
+ const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
25
+ const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
26
+ const defineComponent: typeof import('vue')['defineComponent']
27
+ const defineStore: typeof import('pinia')['defineStore']
28
+ const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
29
+ const effectScope: typeof import('vue')['effectScope']
30
+ const EffectScope: typeof import('vue')['EffectScope']
31
+ const extendRef: typeof import('@vueuse/core')['extendRef']
32
+ const getActivePinia: typeof import('pinia')['getActivePinia']
33
+ const getCurrentInstance: typeof import('vue')['getCurrentInstance']
34
+ const getCurrentScope: typeof import('vue')['getCurrentScope']
35
+ const h: typeof import('vue')['h']
36
+ const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
37
+ const inject: typeof import('vue')['inject']
38
+ const isDefined: typeof import('@vueuse/core')['isDefined']
39
+ const isReadonly: typeof import('vue')['isReadonly']
40
+ const isRef: typeof import('vue')['isRef']
41
+ const logicAnd: typeof import('@vueuse/core')['logicAnd']
42
+ const logicNot: typeof import('@vueuse/core')['logicNot']
43
+ const logicOr: typeof import('@vueuse/core')['logicOr']
44
+ const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
45
+ const mapActions: typeof import('pinia')['mapActions']
46
+ const mapGetters: typeof import('pinia')['mapGetters']
47
+ const mapState: typeof import('pinia')['mapState']
48
+ const mapStores: typeof import('pinia')['mapStores']
49
+ const mapWritableState: typeof import('pinia')['mapWritableState']
50
+ const markRaw: typeof import('vue')['markRaw']
51
+ const nextTick: typeof import('vue')['nextTick']
52
+ const onActivated: typeof import('vue')['onActivated']
53
+ const onBeforeMount: typeof import('vue')['onBeforeMount']
54
+ const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
55
+ const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
56
+ const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
57
+ const onDeactivated: typeof import('vue')['onDeactivated']
58
+ const onErrorCaptured: typeof import('vue')['onErrorCaptured']
59
+ const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
60
+ const onLongPress: typeof import('@vueuse/core')['onLongPress']
61
+ const onMounted: typeof import('vue')['onMounted']
62
+ const onRenderTracked: typeof import('vue')['onRenderTracked']
63
+ const onRenderTriggered: typeof import('vue')['onRenderTriggered']
64
+ const onScopeDispose: typeof import('vue')['onScopeDispose']
65
+ const onServerPrefetch: typeof import('vue')['onServerPrefetch']
66
+ const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
67
+ const onUnmounted: typeof import('vue')['onUnmounted']
68
+ const onUpdated: typeof import('vue')['onUpdated']
69
+ const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
70
+ const provide: typeof import('vue')['provide']
71
+ const reactify: typeof import('@vueuse/core')['reactify']
72
+ const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
73
+ const reactive: typeof import('vue')['reactive']
74
+ const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed']
75
+ const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit']
76
+ const reactivePick: typeof import('@vueuse/core')['reactivePick']
77
+ const readonly: typeof import('vue')['readonly']
78
+ const ref: typeof import('vue')['ref']
79
+ const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
80
+ const refDebounced: typeof import('@vueuse/core')['refDebounced']
81
+ const refDefault: typeof import('@vueuse/core')['refDefault']
82
+ const refThrottled: typeof import('@vueuse/core')['refThrottled']
83
+ const refWithControl: typeof import('@vueuse/core')['refWithControl']
84
+ const resolveComponent: typeof import('vue')['resolveComponent']
85
+ const setActivePinia: typeof import('pinia')['setActivePinia']
86
+ const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix']
87
+ const shallowReactive: typeof import('vue')['shallowReactive']
88
+ const shallowReadonly: typeof import('vue')['shallowReadonly']
89
+ const shallowRef: typeof import('vue')['shallowRef']
90
+ const storeToRefs: typeof import('pinia')['storeToRefs']
91
+ const syncRef: typeof import('@vueuse/core')['syncRef']
92
+ const syncRefs: typeof import('@vueuse/core')['syncRefs']
93
+ const templateRef: typeof import('@vueuse/core')['templateRef']
94
+ const throttledRef: typeof import('@vueuse/core')['throttledRef']
95
+ const throttledWatch: typeof import('@vueuse/core')['throttledWatch']
96
+ const toRaw: typeof import('vue')['toRaw']
97
+ const toReactive: typeof import('@vueuse/core')['toReactive']
98
+ const toRef: typeof import('vue')['toRef']
99
+ const toRefs: typeof import('vue')['toRefs']
100
+ const triggerRef: typeof import('vue')['triggerRef']
101
+ const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
102
+ const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
103
+ const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
104
+ const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
105
+ const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted']
106
+ const unref: typeof import('vue')['unref']
107
+ const unrefElement: typeof import('@vueuse/core')['unrefElement']
108
+ const until: typeof import('@vueuse/core')['until']
109
+ const useActiveElement: typeof import('@vueuse/core')['useActiveElement']
110
+ const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
111
+ const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
112
+ const useAttrs: typeof import('vue')['useAttrs']
113
+ const useBase64: typeof import('@vueuse/core')['useBase64']
114
+ const useBattery: typeof import('@vueuse/core')['useBattery']
115
+ const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints']
116
+ const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
117
+ const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
118
+ const useCached: typeof import('@vueuse/core')['useCached']
119
+ const useClamp: typeof import('@vueuse/core')['useClamp']
120
+ const useClipboard: typeof import('@vueuse/core')['useClipboard']
121
+ const useColorMode: typeof import('@vueuse/core')['useColorMode']
122
+ const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
123
+ const useCounter: typeof import('@vueuse/core')['useCounter']
124
+ const useCssModule: typeof import('vue')['useCssModule']
125
+ const useCssVar: typeof import('@vueuse/core')['useCssVar']
126
+ const useCssVars: typeof import('vue')['useCssVars']
127
+ const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement']
128
+ const useCycleList: typeof import('@vueuse/core')['useCycleList']
129
+ const useDark: typeof import('@vueuse/core')['useDark']
130
+ const useDateFormat: typeof import('@vueuse/core')['useDateFormat']
131
+ const useDebounce: typeof import('@vueuse/core')['useDebounce']
132
+ const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
133
+ const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn']
134
+ const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion']
135
+ const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation']
136
+ const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio']
137
+ const useDevicesList: typeof import('@vueuse/core')['useDevicesList']
138
+ const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia']
139
+ const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
140
+ const useDraggable: typeof import('@vueuse/core')['useDraggable']
141
+ const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
142
+ const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
143
+ const useElementHover: typeof import('@vueuse/core')['useElementHover']
144
+ const useElementSize: typeof import('@vueuse/core')['useElementSize']
145
+ const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility']
146
+ const useEventBus: typeof import('@vueuse/core')['useEventBus']
147
+ const useEventListener: typeof import('@vueuse/core')['useEventListener']
148
+ const useEventSource: typeof import('@vueuse/core')['useEventSource']
149
+ const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper']
150
+ const useFavicon: typeof import('@vueuse/core')['useFavicon']
151
+ const useFetch: typeof import('@vueuse/core')['useFetch']
152
+ const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess']
153
+ const useFocus: typeof import('@vueuse/core')['useFocus']
154
+ const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin']
155
+ const useFps: typeof import('@vueuse/core')['useFps']
156
+ const useFullscreen: typeof import('@vueuse/core')['useFullscreen']
157
+ const useGamepad: typeof import('@vueuse/core')['useGamepad']
158
+ const useGeolocation: typeof import('@vueuse/core')['useGeolocation']
159
+ const useIdle: typeof import('@vueuse/core')['useIdle']
160
+ const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll']
161
+ const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver']
162
+ const useInterval: typeof import('@vueuse/core')['useInterval']
163
+ const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn']
164
+ const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier']
165
+ const useLastChanged: typeof import('@vueuse/core')['useLastChanged']
166
+ const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage']
167
+ const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys']
168
+ const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory']
169
+ const useMediaControls: typeof import('@vueuse/core')['useMediaControls']
170
+ const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery']
171
+ const useMemoize: typeof import('@vueuse/core')['useMemoize']
172
+ const useMemory: typeof import('@vueuse/core')['useMemory']
173
+ const useMounted: typeof import('@vueuse/core')['useMounted']
174
+ const useMouse: typeof import('@vueuse/core')['useMouse']
175
+ const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
176
+ const useMousePressed: typeof import('@vueuse/core')['useMousePressed']
177
+ const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver']
178
+ const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage']
179
+ const useNetwork: typeof import('@vueuse/core')['useNetwork']
180
+ const useNow: typeof import('@vueuse/core')['useNow']
181
+ const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination']
182
+ const useOnline: typeof import('@vueuse/core')['useOnline']
183
+ const usePageLeave: typeof import('@vueuse/core')['usePageLeave']
184
+ const useParallax: typeof import('@vueuse/core')['useParallax']
185
+ const usePermission: typeof import('@vueuse/core')['usePermission']
186
+ const usePointer: typeof import('@vueuse/core')['usePointer']
187
+ const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
188
+ const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
189
+ const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
190
+ const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
191
+ const useRafFn: typeof import('@vueuse/core')['useRafFn']
192
+ const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
193
+ const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
194
+ const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
195
+ const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
196
+ const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
197
+ const useScroll: typeof import('@vueuse/core')['useScroll']
198
+ const useScrollLock: typeof import('@vueuse/core')['useScrollLock']
199
+ const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
200
+ const useShare: typeof import('@vueuse/core')['useShare']
201
+ const useSlots: typeof import('vue')['useSlots']
202
+ const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
203
+ const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
204
+ const useStorage: typeof import('@vueuse/core')['useStorage']
205
+ const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync']
206
+ const useStyleTag: typeof import('@vueuse/core')['useStyleTag']
207
+ const useSwipe: typeof import('@vueuse/core')['useSwipe']
208
+ const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
209
+ const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
210
+ const useThrottle: typeof import('@vueuse/core')['useThrottle']
211
+ const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
212
+ const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
213
+ const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
214
+ const useTimeout: typeof import('@vueuse/core')['useTimeout']
215
+ const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
216
+ const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
217
+ const useTimestamp: typeof import('@vueuse/core')['useTimestamp']
218
+ const useTitle: typeof import('@vueuse/core')['useTitle']
219
+ const useToggle: typeof import('@vueuse/core')['useToggle']
220
+ const useTransition: typeof import('@vueuse/core')['useTransition']
221
+ const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams']
222
+ const useUserMedia: typeof import('@vueuse/core')['useUserMedia']
223
+ const useVibrate: typeof import('@vueuse/core')['useVibrate']
224
+ const useVirtualList: typeof import('@vueuse/core')['useVirtualList']
225
+ const useVModel: typeof import('@vueuse/core')['useVModel']
226
+ const useVModels: typeof import('@vueuse/core')['useVModels']
227
+ const useWakeLock: typeof import('@vueuse/core')['useWakeLock']
228
+ const useWebNotification: typeof import('@vueuse/core')['useWebNotification']
229
+ const useWebSocket: typeof import('@vueuse/core')['useWebSocket']
230
+ const useWebWorker: typeof import('@vueuse/core')['useWebWorker']
231
+ const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn']
232
+ const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus']
233
+ const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll']
234
+ const useWindowSize: typeof import('@vueuse/core')['useWindowSize']
235
+ const watch: typeof import('vue')['watch']
236
+ const watchAtMost: typeof import('@vueuse/core')['watchAtMost']
237
+ const watchDebounced: typeof import('@vueuse/core')['watchDebounced']
238
+ const watchEffect: typeof import('vue')['watchEffect']
239
+ const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable']
240
+ const watchOnce: typeof import('@vueuse/core')['watchOnce']
241
+ const watchPausable: typeof import('@vueuse/core')['watchPausable']
242
+ const watchThrottled: typeof import('@vueuse/core')['watchThrottled']
243
+ const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
244
+ const whenever: typeof import('@vueuse/core')['whenever']
245
+ }
246
+ export {}
@@ -1,19 +1,23 @@
1
- import { MapInitOptions } from "./satGlobe";
2
1
  declare const _sfc_main: import("vue").DefineComponent<{
3
2
  mapInitOptions: {
4
- type: ObjectConstructor;
5
- required: false;
3
+ type: import("vue").PropType<import("./satGlobe").MapInitOptions>;
4
+ default: () => import("./satGlobe").MapInitOptions;
6
5
  };
7
6
  }, {
8
- props: {
9
- mapInitOptions?: {
10
- map3d: MapInitOptions;
11
- } | undefined;
12
- };
7
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
+ mapInitOptions: {
9
+ type: import("vue").PropType<import("./satGlobe").MapInitOptions>;
10
+ default: () => import("./satGlobe").MapInitOptions;
11
+ };
12
+ }>> & {
13
+ [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
14
+ }>>;
13
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
16
  mapInitOptions: {
15
- type: ObjectConstructor;
16
- required: false;
17
+ type: import("vue").PropType<import("./satGlobe").MapInitOptions>;
18
+ default: () => import("./satGlobe").MapInitOptions;
17
19
  };
18
- }>>, {}>;
20
+ }>>, {
21
+ mapInitOptions: import("./satGlobe").MapInitOptions;
22
+ }>;
19
23
  export default _sfc_main;
@@ -1,18 +1,23 @@
1
1
  export declare const SatGlobe: import("../../utils/installer").SFCWithInstall<import("vue").DefineComponent<{
2
2
  mapInitOptions: {
3
- type: ObjectConstructor;
4
- required: false;
3
+ type: import("vue").PropType<import("./satGlobe").MapInitOptions>;
4
+ default: () => import("./satGlobe").MapInitOptions;
5
5
  };
6
6
  }, {
7
- props: {
8
- mapInitOptions?: {
9
- map3d: import("./satGlobe").MapInitOptions;
10
- } | undefined;
11
- };
7
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
+ mapInitOptions: {
9
+ type: import("vue").PropType<import("./satGlobe").MapInitOptions>;
10
+ default: () => import("./satGlobe").MapInitOptions;
11
+ };
12
+ }>> & {
13
+ [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
14
+ }>>;
12
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
16
  mapInitOptions: {
14
- type: ObjectConstructor;
15
- required: false;
17
+ type: import("vue").PropType<import("./satGlobe").MapInitOptions>;
18
+ default: () => import("./satGlobe").MapInitOptions;
16
19
  };
17
- }>>, {}>>;
20
+ }>>, {
21
+ mapInitOptions: import("./satGlobe").MapInitOptions;
22
+ }>>;
18
23
  export default SatGlobe;
@@ -1,17 +1,25 @@
1
1
  import { Map as Mars3dMap, type ChinaCRS, type LangType } from 'mars3d';
2
- export { Map as Mars3dMap } from 'mars3d';
2
+ import { PropType } from "vue";
3
3
  export interface MapInitOptions {
4
- scene?: Mars3dMap.sceneOptions;
5
- control?: Mars3dMap.controlOptions;
6
- mouse?: Mars3dMap.mouseOptions;
7
- effect?: Mars3dMap.effectOptions;
8
- terrain?: Mars3dMap.terrainOptions;
9
- basemaps?: Mars3dMap.basemapOptions[];
10
- layers?: Mars3dMap.layerOptions[];
11
- chinaCRS?: ChinaCRS;
12
- lang?: LangType;
13
- templateValues?: any;
4
+ map3d?: {
5
+ scene?: Partial<Mars3dMap.sceneOptions>;
6
+ control?: Partial<Mars3dMap.controlOptions>;
7
+ mouse?: Partial<Mars3dMap.mouseOptions>;
8
+ effect?: Partial<Mars3dMap.effectOptions>;
9
+ terrain?: Partial<Mars3dMap.terrainOptions>;
10
+ basemaps?: Partial<Mars3dMap.basemapOptions>[];
11
+ layers?: Partial<Mars3dMap.layerOptions>[];
12
+ chinaCRS?: Partial<ChinaCRS>;
13
+ lang?: Partial<LangType>;
14
+ templateValues?: any;
15
+ };
14
16
  }
17
+ export declare const GlobeProps: {
18
+ mapInitOptions: {
19
+ type: PropType<MapInitOptions>;
20
+ default: () => MapInitOptions;
21
+ };
22
+ };
15
23
  export declare const mapOptions: {
16
24
  map3d: {
17
25
  scene: {
@@ -4,7 +4,7 @@
4
4
 
5
5
  declare module 'vue' {
6
6
  export interface GlobalComponents {
7
- SatGlobe: typeof import('./../components/globe/SatGlobe.vue')['default']
7
+ SatGlobe: typeof import('./components/globe/SatGlobe.vue')['default']
8
8
  }
9
9
  }
10
10