@vsleem-realsee-viewer/realsee-plugin 2.0.26 → 2.0.27
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.internal.md +1 -0
- package/dist/components/Realsee.vue.d.ts +2 -2
- package/dist/enums/error.d.ts +3 -1
- package/dist/hooks/useStore.d.ts +2 -4
- package/dist/index.mjs +6463 -6057
- package/dist/index.umd.js +170 -166
- package/dist/types/realsee.d.ts +2 -1
- package/dist/types/store.d.ts +15 -2
- package/package.json +3 -3
package/dist/types/realsee.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppSetting as AppConfig, Coordinate } from '@vsleem-realsee-viewer/shared';
|
|
1
|
+
import { AppSetting as AppConfig, Coordinate, CRSTypes } from '@vsleem-realsee-viewer/shared';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
import { TrackRecord } from '../core';
|
|
4
4
|
import { TrackRecordModel } from './data';
|
|
@@ -23,6 +23,7 @@ export type RealseeSetting = {
|
|
|
23
23
|
pointDistance?: number /** 路径展示距离范围内的点(毫米单位,距离模式有效) */;
|
|
24
24
|
preloadStep?: number /** 全景预加载数量 */;
|
|
25
25
|
trackColorRange?: string[] /** 轨迹颜色范围 */;
|
|
26
|
+
trackCRSType?: CRSTypes /** 轨迹地图坐标系标准*/;
|
|
26
27
|
pathPin?: any /** 路径图标 */;
|
|
27
28
|
pathRedPin?: any /** 路径红色图标 */;
|
|
28
29
|
};
|
package/dist/types/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Coordinate } from '@vsleem-realsee-viewer/shared';
|
|
1
|
+
import { Coordinate, ProjectModel } from '@vsleem-realsee-viewer/shared';
|
|
2
2
|
import { TrackMarker, TrackPoint, TrackRecord } from '../core';
|
|
3
|
-
import { PanoOptions, SearchInfo } from '../types';
|
|
3
|
+
import { PanoOptions, SearchInfo, UpdatableRealseeProps } from '../types';
|
|
4
4
|
/**对象存储服务配置 */
|
|
5
5
|
export type ObsConfig = {
|
|
6
6
|
obsPrefix?: string /**用于在对象存储中组织文件的目录路径(不可用) */;
|
|
@@ -23,6 +23,8 @@ export type RealseeStore = {
|
|
|
23
23
|
dataSource: Map<string, TrackRecord>;
|
|
24
24
|
/** 所有巡检记录共有的空间坐标系 */
|
|
25
25
|
comCoordinate?: Coordinate;
|
|
26
|
+
/**当前项目详情 */
|
|
27
|
+
currentProject?: ProjectModel;
|
|
26
28
|
/** 当前选中的模型坐标系 */
|
|
27
29
|
currentModel?: Coordinate;
|
|
28
30
|
/** 当前选中模型所属的空间坐标系 */
|
|
@@ -139,3 +141,14 @@ export type RealseeStore = {
|
|
|
139
141
|
*/
|
|
140
142
|
normalizeToModelPoint: (current: TrackPoint) => TrackPoint | undefined;
|
|
141
143
|
};
|
|
144
|
+
export type RealseeStoreAction = {
|
|
145
|
+
/**
|
|
146
|
+
* 设置参考点来找最近的轨迹点(视图对比使用)
|
|
147
|
+
* @param current 参考点
|
|
148
|
+
* @param options 参考视图选项
|
|
149
|
+
* @returns
|
|
150
|
+
*/
|
|
151
|
+
setReferPoint: (current: TrackPoint, options: PanoOptions) => void;
|
|
152
|
+
/**设置全景状态 */
|
|
153
|
+
setRealseeState: (options: UpdatableRealseeProps) => void;
|
|
154
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vsleem-realsee-viewer/realsee-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.27",
|
|
4
4
|
"description": "Realsee plugin for VSLeem RealSee Viewer",
|
|
5
5
|
"main": "./dist/index.umd.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@vsleem-realsee-viewer/shared": "2.0.
|
|
16
|
+
"@vsleem-realsee-viewer/shared": "2.0.27"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"vue": ">=3.5.0",
|
|
20
|
-
"@vsleem-realsee-viewer/shared": "2.0.
|
|
20
|
+
"@vsleem-realsee-viewer/shared": "2.0.27"
|
|
21
21
|
},
|
|
22
22
|
"peerDependenciesMeta": {
|
|
23
23
|
"vue": {
|