sat-earth 0.9.25 → 1.0.0-beta1

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.
Files changed (29) hide show
  1. package/README.md +53 -53
  2. package/dist/packages/auto-import.d.ts +5 -0
  3. package/dist/packages/components/_private/TheImageEditor/src/TheImageEditor.vue.d.ts +2 -2
  4. package/dist/packages/components/components.d.ts +206 -206
  5. package/dist/packages/components/globe/SatGlobe.vue.d.ts +1 -1
  6. package/dist/packages/components/globe/index.d.ts +6 -6
  7. package/dist/packages/components/menu/helpers.d.ts +13 -1
  8. package/dist/packages/components/menu/index.d.ts +1 -0
  9. package/dist/packages/components/menu/tree/SatMenuTree.vue.d.ts +1 -1
  10. package/dist/packages/components/menu/tree/index.d.ts +5 -5
  11. package/dist/packages/components/panel/SatPanel.vue.d.ts +1 -1
  12. package/dist/packages/components/panel/helpers.d.ts +4 -0
  13. package/dist/packages/components/panel/index.d.ts +4 -3
  14. package/dist/packages/components/picture/SatPicture.vue.d.ts +2 -2
  15. package/dist/packages/components/picture/index.d.ts +2 -2
  16. package/dist/packages/components/task-view/SatTaskView.vue.d.ts +1 -1
  17. package/dist/packages/components/task-view/helpers.d.ts +12 -0
  18. package/dist/packages/components/task-view/index.d.ts +6 -5
  19. package/dist/packages/config/injectKeys.d.ts +1 -1
  20. package/dist/packages/config/menuTemplate.d.ts +1 -1
  21. package/dist/packages/main/index.d.ts +2 -1
  22. package/dist/packages/store/modules/taskView.d.ts +1 -1
  23. package/dist/packages/types/module.d.ts +7 -7
  24. package/dist/packages/utils/index.d.ts +0 -2
  25. package/dist/sat-earth.mjs +3113 -3095
  26. package/dist/sat-earth.umd.js +3 -3
  27. package/dist/style.css +1 -1
  28. package/package.json +1 -1
  29. package/dist/packages/components/types.d.ts +0 -30
package/README.md CHANGED
@@ -1,53 +1,53 @@
1
- # 简介
2
-
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](http://mars3d.cn/) 和 [Cesium](https://cesium.com/) 的底层API,实现的三维地球NPM组件库,以支持前端开发者快速搭建三维场景。**
5
-
6
- ## 组件列表
7
- > 已完成的组件:
8
- - 主入口(`SatGlobe`)组件
9
- - 公共UI(`SatPanel`)组件
10
- - 任务视图(`SatTaskView`)组件
11
- - 菜单(`SatMenu`)组件
12
- - 菜单树(`SatMenuTree`)组件
13
- - 数据源(`SatSource`)组件
14
- - 地图部件(`SatMapPart`)组件
15
- - 搜索定位(`SatLocation`)组件
16
- - 量测工具(`SatMeasure`)组件
17
- - 图上标绘(`SatPlo
18
- - 出图工具(`SatPicture`)组件
19
- - 空间分析(`SatSpatialAnalysis`)组件
20
-
21
- > 计划中的组件:
22
- - 模型分析(`SatModelAnalysis`)组件
23
- - 地形分析(`SatTerrainAnalysis`)组件
24
- - 飞行漫游(`SatRoam`)组件
25
- - 视频融合(`SatVideoFusion`)组件
26
-
27
- ## 亮点
28
- - ⚡️ 基于`Vite`、`TypeScript`、`Vue`等最新技术栈开发,在开发过程中如果使用`VSCode`开发,有相应的[Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)插件代码提示支持
29
- - 💡 对常用功能进行组件化封装,统一维护,满足基础工作需求
30
- - 🛠️ 暴露了`SatEarth`、`Cesium`及`Mars3D`等众多API,在使用过程中除了可以使用内置的组件外,可以灵活根据业务和需求进行个性化开发
31
- - 🔑 同`Element Plus`的主题配置及黑暗主题适配
32
- - ✨ 支持在同一个界面构造多个`Cesium`球而互不影响
33
- - ♨️ 持续关注最新的技术方向,保证第一时间更新
34
-
35
- ## 浏览器支持
36
- - `Chrome`
37
- - `Firefox`
38
- - `Microsoft Edge 13` 及以上
39
- - `Safari 9+`
40
- - 各类以`Chrominum`为核心的第三方浏览器,如360浏览器,傲游浏览器等
41
- - IOS,安卓及鸿蒙操作系统上的现代手机浏览器
42
- - 微信或手机QQ上的浏览器
43
- ::: warning
44
- 同Vue3一样不支持IE浏览器(包括`IE11`),主要考虑到以下几个原因:
45
- - `IE`不支持最新的Javascript标准,极大的增加了工程的开发和维护难度
46
- - `IE11`的WebGL性能很弱
47
- - `IE`不支持`WASM`,很多基于WASM的功能或优化都无法支持
48
- - `IE`的市场占有率极低,自2022年6月15日起,`IE11`停止维护
49
- :::
50
-
51
- ## 文档地址
52
- - [SatEarth在线文档](http://114.115.163.131:8888/sat-earth-docs/)
53
-
1
+ # 简介
2
+
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](http://mars3d.cn/) 和 [Cesium](https://cesium.com/) 的底层API,实现的三维地球NPM组件库,以支持前端开发者快速搭建三维场景。**
5
+
6
+ ## 组件列表
7
+ > 已完成的组件:
8
+ - 主入口(`SatGlobe`)组件
9
+ - 公共UI(`SatPanel`)组件
10
+ - 任务视图(`SatTaskView`)组件
11
+ - 菜单(`SatMenu`)组件
12
+ - 菜单树(`SatMenuTree`)组件
13
+ - 数据源(`SatSource`)组件
14
+ - 地图部件(`SatMapPart`)组件
15
+ - 搜索定位(`SatLocation`)组件
16
+ - 量测工具(`SatMeasure`)组件
17
+ - 图上标绘(`SatPlo
18
+ - 出图工具(`SatPicture`)组件
19
+ - 空间分析(`SatSpatialAnalysis`)组件
20
+
21
+ > 计划中的组件:
22
+ - 模型分析(`SatModelAnalysis`)组件
23
+ - 地形分析(`SatTerrainAnalysis`)组件
24
+ - 飞行漫游(`SatRoam`)组件
25
+ - 视频融合(`SatVideoFusion`)组件
26
+
27
+ ## 亮点
28
+ - ⚡️ 基于`Vite`、`TypeScript`、`Vue`等最新技术栈开发,在开发过程中如果使用`VSCode`开发,有相应的[Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)插件代码提示支持
29
+ - 💡 对常用功能进行组件化封装,统一维护,满足基础工作需求
30
+ - 🛠️ 暴露了`SatEarth`、`Cesium`及`Mars3D`等众多API,在使用过程中除了可以使用内置的组件外,可以灵活根据业务和需求进行个性化开发
31
+ - 🔑 同`Element Plus`的主题配置及黑暗主题适配
32
+ - ✨ 支持在同一个界面构造多个`Cesium`球而互不影响
33
+ - ♨️ 持续关注最新的技术方向,保证第一时间更新
34
+
35
+ ## 浏览器支持
36
+ - `Chrome`
37
+ - `Firefox`
38
+ - `Microsoft Edge 13` 及以上
39
+ - `Safari 9+`
40
+ - 各类以`Chrominum`为核心的第三方浏览器,如360浏览器,傲游浏览器等
41
+ - IOS,安卓及鸿蒙操作系统上的现代手机浏览器
42
+ - 微信或手机QQ上的浏览器
43
+ ::: warning
44
+ 同Vue3一样不支持IE浏览器(包括`IE11`),主要考虑到以下几个原因:
45
+ - `IE`不支持最新的Javascript标准,极大的增加了工程的开发和维护难度
46
+ - `IE11`的WebGL性能很弱
47
+ - `IE`不支持`WASM`,很多基于WASM的功能或优化都无法支持
48
+ - `IE`的市场占有率极低,自2022年6月15日起,`IE11`停止维护
49
+ :::
50
+
51
+ ## 文档地址
52
+ - [SatEarth在线文档](http://114.115.163.131:8888/sat-earth-docs/)
53
+
@@ -81,6 +81,7 @@ declare global {
81
81
  const refThrottled: typeof import('@vueuse/core')['refThrottled']
82
82
  const refWithControl: typeof import('@vueuse/core')['refWithControl']
83
83
  const resolveComponent: typeof import('vue')['resolveComponent']
84
+ const resolveDirective: typeof import('vue')['resolveDirective']
84
85
  const resolveRef: typeof import('@vueuse/core')['resolveRef']
85
86
  const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
86
87
  const setActivePinia: typeof import('pinia')['setActivePinia']
@@ -116,6 +117,7 @@ declare global {
116
117
  const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
117
118
  const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
118
119
  const useArraySome: typeof import('@vueuse/core')['useArraySome']
120
+ const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
119
121
  const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
120
122
  const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
121
123
  const useAttrs: typeof import('vue')['useAttrs']
@@ -198,12 +200,14 @@ declare global {
198
200
  const useParallax: typeof import('@vueuse/core')['useParallax']
199
201
  const usePermission: typeof import('@vueuse/core')['usePermission']
200
202
  const usePointer: typeof import('@vueuse/core')['usePointer']
203
+ const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
201
204
  const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
202
205
  const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
203
206
  const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']
204
207
  const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
205
208
  const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
206
209
  const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
210
+ const usePrevious: typeof import('@vueuse/core')['usePrevious']
207
211
  const useRafFn: typeof import('@vueuse/core')['useRafFn']
208
212
  const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
209
213
  const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
@@ -215,6 +219,7 @@ declare global {
215
219
  const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
216
220
  const useShare: typeof import('@vueuse/core')['useShare']
217
221
  const useSlots: typeof import('vue')['useSlots']
222
+ const useSorted: typeof import('@vueuse/core')['useSorted']
218
223
  const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
219
224
  const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
220
225
  const useStepper: typeof import('@vueuse/core')['useStepper']
@@ -8,7 +8,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
8
8
  };
9
9
  divChildFilter: {
10
10
  type: PropType<(node: Element) => boolean>;
11
- default: (node: Element) => true;
11
+ default: (node: Element) => boolean;
12
12
  };
13
13
  fileName: {
14
14
  type: StringConstructor;
@@ -30,7 +30,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
30
30
  };
31
31
  divChildFilter: {
32
32
  type: PropType<(node: Element) => boolean>;
33
- default: (node: Element) => true;
33
+ default: (node: Element) => boolean;
34
34
  };
35
35
  fileName: {
36
36
  type: StringConstructor;