@vsleem-realsee-viewer/realsee-plugin 2.0.4 → 2.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/README.md +47 -7
- package/dist/api/index.d.ts +9 -0
- package/dist/components/Map.vue.d.ts +259 -0
- package/dist/components/MapCad.vue.d.ts +16 -0
- package/dist/components/MapCadMarker.vue.d.ts +10 -0
- package/dist/components/MapCadPoint.vue.d.ts +9 -0
- package/dist/components/MapCadRadar.vue.d.ts +10 -0
- package/dist/components/MapCadWrapper.vue.d.ts +34 -0
- package/dist/components/MapDragger.vue.d.ts +16 -0
- package/dist/components/MapTdt.vue.d.ts +18 -0
- package/dist/components/Playbar.vue.d.ts +282 -0
- package/dist/components/PlaybarBox.vue.d.ts +53 -0
- package/dist/components/PlaybarSlider.vue.d.ts +32 -0
- package/dist/components/Realsee.vue.d.ts +194 -0
- package/dist/components/Viewer.vue.d.ts +29 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/core/TrackMarker.d.ts +36 -0
- package/dist/core/TrackPoint.d.ts +46 -0
- package/dist/core/TrackRecord.d.ts +113 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/enums/data.d.ts +7 -0
- package/dist/enums/error.d.ts +14 -0
- package/dist/enums/index.d.ts +3 -0
- package/dist/enums/marker.d.ts +7 -0
- package/dist/hooks/useMap.d.ts +6 -0
- package/dist/hooks/useMapContext.d.ts +37 -0
- package/dist/hooks/useMapWrapperMouse.d.ts +15 -0
- package/dist/hooks/useMapWrapperTouch.d.ts +14 -0
- package/dist/hooks/usePlaybar.d.ts +6 -0
- package/dist/hooks/usePlaybarContext.d.ts +37 -0
- package/dist/hooks/useRealsee.d.ts +16 -0
- package/dist/hooks/useRealseeContext.d.ts +18 -0
- package/dist/hooks/useRealseeMap.d.ts +12 -0
- package/dist/hooks/useRealseePlaybar.d.ts +16 -0
- package/dist/hooks/useRealseeViewer.d.ts +14 -0
- package/dist/hooks/useStore.d.ts +7 -0
- package/dist/hooks/useViewer.d.ts +7 -0
- package/dist/hooks/useViewerContext.d.ts +225 -0
- package/dist/hooks/useViewerMarker.d.ts +148 -0
- package/dist/index.css +4 -4
- package/dist/index.d.ts +33 -1416
- package/dist/index.mjs +8446 -8184
- package/dist/index.umd.js +77 -64
- package/dist/settings/index.d.ts +82 -0
- package/dist/types/app.d.ts +0 -0
- package/dist/types/data.d.ts +56 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/map.d.ts +26 -0
- package/dist/types/playbar.d.ts +21 -0
- package/dist/types/realsee.d.ts +50 -0
- package/dist/types/store.d.ts +121 -0
- package/dist/types/viewer.d.ts +31 -0
- package/dist/utils/crop.d.ts +26 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/resize.d.ts +12 -0
- package/dist/utils/tianditu.d.ts +31 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#
|
|
2
|
+
|
|
1
3
|
# Realsee 全景组件
|
|
2
4
|
|
|
3
5
|
## 介绍
|
|
@@ -143,6 +145,8 @@
|
|
|
143
145
|
| playbarCaption | 播放条标题插槽 | (slot) => void |
|
|
144
146
|
| playbarSlider | 播放条滑块插槽 | (slot) => void |
|
|
145
147
|
|
|
148
|
+
#
|
|
149
|
+
|
|
146
150
|
# Viewer 视图组件
|
|
147
151
|
|
|
148
152
|
## 介绍
|
|
@@ -198,11 +202,11 @@
|
|
|
198
202
|
|
|
199
203
|
- `MarkerOptions 类型继承 markersplugin.markerconfig,请参考https://photo-sphere-viewer.js.org/api/types/markersplugin.markerconfig`
|
|
200
204
|
|
|
201
|
-
| 属性
|
|
202
|
-
|
|
|
203
|
-
| onPointChange
|
|
204
|
-
| onMarkerChange
|
|
205
|
-
|
|
|
205
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
206
|
+
| ----------------------- | ------------------------------------------------------------------------- | ------------------------------------------------ | ------ |
|
|
207
|
+
| onPointChange | 全景上点击轨迹点回调,参数为关闭函数,返回 promise 时 rejected 后停止执行 | (e: events.SelectMarkerEvent) => Promise\<any\>; | - |
|
|
208
|
+
| onMarkerChange | 全景上点击标记点回调,参数为关闭函数,返回 promise 时 rejected 后停止执行 | (e: events.SelectMarkerEvent) => Promise\<any\>; | - |
|
|
209
|
+
| handleViolationMarkerFn | 处理轨迹点上的标记 | (marker: MarkerOptions) => MarkerOptions | - |
|
|
206
210
|
|
|
207
211
|
### MarkerElement 属性/方法说明
|
|
208
212
|
|
|
@@ -212,6 +216,8 @@
|
|
|
212
216
|
| ------------- | -------- | ------ | --------------------- |
|
|
213
217
|
| MarkerElement | 视图配置 | Marker | 默认配置请查看 Marker |
|
|
214
218
|
|
|
219
|
+
#
|
|
220
|
+
|
|
215
221
|
# Playbar 播放器组件
|
|
216
222
|
|
|
217
223
|
## 介绍
|
|
@@ -266,6 +272,8 @@
|
|
|
266
272
|
| caption | 播放条标题插槽 | (slot) => void |
|
|
267
273
|
| slider | 播放条滑块插槽 | (slot) => void |
|
|
268
274
|
|
|
275
|
+
#
|
|
276
|
+
|
|
269
277
|
# Map 小地图组件
|
|
270
278
|
|
|
271
279
|
## 介绍
|
|
@@ -319,6 +327,8 @@
|
|
|
319
327
|
| left | 地图左侧插槽 | (slot) => void |
|
|
320
328
|
| right | 地图右侧插槽 | (slot) => void |
|
|
321
329
|
|
|
330
|
+
#
|
|
331
|
+
|
|
322
332
|
# 导出的类型声明对象
|
|
323
333
|
|
|
324
334
|
```js
|
|
@@ -383,7 +393,37 @@ export {
|
|
|
383
393
|
|
|
384
394
|
```
|
|
385
395
|
|
|
386
|
-
#
|
|
396
|
+
#
|
|
397
|
+
|
|
398
|
+
## 示例
|
|
399
|
+
|
|
400
|
+
```
|
|
387
401
|
|
|
388
402
|
通过以下方式来注册组件
|
|
389
|
-
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* 巡检记录目标坐标系转换
|
|
406
|
+
* @param result //原始巡检记录数据
|
|
407
|
+
* @param coordinateTree //坐标系树
|
|
408
|
+
* @param dstCoordinate //目标坐标系
|
|
409
|
+
* @param spaceCoordinate //目标空间坐标系
|
|
410
|
+
* @param realseeSetting //全景设置
|
|
411
|
+
* @param appSetting //全局设置
|
|
412
|
+
*/
|
|
413
|
+
async function convert(
|
|
414
|
+
result: TrackRecordModel,
|
|
415
|
+
coordinateTree: Coordinate,
|
|
416
|
+
dstCoordinate: Coordinate,
|
|
417
|
+
spaceCoordinate: Coordinate,
|
|
418
|
+
realseeSetting?: RealseeSetting,
|
|
419
|
+
appSetting?: AppSetting
|
|
420
|
+
) {
|
|
421
|
+
const record = (await TrackRecord.parsedModel(
|
|
422
|
+
result,
|
|
423
|
+
coordinateTree,
|
|
424
|
+
appSetting
|
|
425
|
+
)) as TrackRecord;
|
|
426
|
+
const projectedRecrod = record?.projection(dstCoordinate, spaceCoordinate, realseeSetting);
|
|
427
|
+
console.info(projectedRecrod);//目标巡检记录
|
|
428
|
+
}
|
|
429
|
+
```
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Coordinate, RequestOptions } from '@vsleem-realsee-viewer/shared';
|
|
2
|
+
import { TrackRecordModel } from '../types';
|
|
3
|
+
export declare function getPatrolDetail(params?: Record<string, any>, options?: RequestOptions): Promise<TrackRecordModel>;
|
|
4
|
+
/**
|
|
5
|
+
* 获取坐标系树
|
|
6
|
+
* @param params 参数
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare function getCoordinateTree(params?: Record<string, any>): Promise<Coordinate | undefined>;
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { RealseeStore } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
left?(_: {
|
|
6
|
+
dataSource: Map<string, import('..').TrackRecord> | undefined;
|
|
7
|
+
coordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
8
|
+
mappedCoordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
9
|
+
currentSpace: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
10
|
+
currentModel: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
11
|
+
currentRecord: import('..').TrackRecord | undefined;
|
|
12
|
+
currentPoint: import('..').TrackPoint | undefined;
|
|
13
|
+
currentPointMarkers: import('..').TrackMarker[] | undefined;
|
|
14
|
+
currentMarker: import('..').TrackMarker | undefined;
|
|
15
|
+
state: Required<Partial<import('..').MapProps>>;
|
|
16
|
+
}): any;
|
|
17
|
+
extra?(_: {
|
|
18
|
+
dataSource: Map<string, import('..').TrackRecord> | undefined;
|
|
19
|
+
coordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
20
|
+
mappedCoordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
21
|
+
currentSpace: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
22
|
+
currentModel: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
23
|
+
currentRecord: import('..').TrackRecord | undefined;
|
|
24
|
+
currentPoint: import('..').TrackPoint | undefined;
|
|
25
|
+
currentPointMarkers: import('..').TrackMarker[] | undefined;
|
|
26
|
+
currentMarker: import('..').TrackMarker | undefined;
|
|
27
|
+
state: Required<Partial<import('..').MapProps>>;
|
|
28
|
+
}): any;
|
|
29
|
+
right?(_: {
|
|
30
|
+
dataSource: Map<string, import('..').TrackRecord> | undefined;
|
|
31
|
+
coordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
32
|
+
mappedCoordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
33
|
+
currentSpace: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
34
|
+
currentModel: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
35
|
+
currentRecord: import('..').TrackRecord | undefined;
|
|
36
|
+
currentPoint: import('..').TrackPoint | undefined;
|
|
37
|
+
currentPointMarkers: import('..').TrackMarker[] | undefined;
|
|
38
|
+
currentMarker: import('..').TrackMarker | undefined;
|
|
39
|
+
state: Required<Partial<import('..').MapProps>>;
|
|
40
|
+
}): any;
|
|
41
|
+
default?(_: {
|
|
42
|
+
dataSource: Map<string, import('..').TrackRecord> | undefined;
|
|
43
|
+
coordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
44
|
+
mappedCoordinateTree: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
45
|
+
currentSpace: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
46
|
+
currentModel: import('@vsleem-realsee-viewer/shared').Coordinate | undefined;
|
|
47
|
+
currentRecord: import('..').TrackRecord | undefined;
|
|
48
|
+
currentPoint: import('..').TrackPoint | undefined;
|
|
49
|
+
currentPointMarkers: import('..').TrackMarker[] | undefined;
|
|
50
|
+
currentMarker: import('..').TrackMarker | undefined;
|
|
51
|
+
state: Required<Partial<import('..').MapProps>>;
|
|
52
|
+
}): any;
|
|
53
|
+
};
|
|
54
|
+
refs: {
|
|
55
|
+
draggerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
56
|
+
min: number;
|
|
57
|
+
max: number;
|
|
58
|
+
size: number;
|
|
59
|
+
}> & Readonly<{
|
|
60
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onDragger?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
collapse: (value: boolean) => void;
|
|
64
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
+
collapse: (...args: any[]) => void;
|
|
66
|
+
dragger: (...args: any[]) => void;
|
|
67
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
68
|
+
P: {};
|
|
69
|
+
B: {};
|
|
70
|
+
D: {};
|
|
71
|
+
C: {};
|
|
72
|
+
M: {};
|
|
73
|
+
Defaults: {};
|
|
74
|
+
}, Readonly<{
|
|
75
|
+
min: number;
|
|
76
|
+
max: number;
|
|
77
|
+
size: number;
|
|
78
|
+
}> & Readonly<{
|
|
79
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
onDragger?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
collapse: (value: boolean) => void;
|
|
83
|
+
}, {}, {}, {}, {}> | null;
|
|
84
|
+
mapGeoElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
85
|
+
store: RealseeStore | undefined;
|
|
86
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
87
|
+
}> & Readonly<{
|
|
88
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
needUpdate: () => void;
|
|
92
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
93
|
+
ready: (...args: any[]) => void;
|
|
94
|
+
"select-point": (...args: any[]) => void;
|
|
95
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
96
|
+
tdtElRef: HTMLDivElement;
|
|
97
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
98
|
+
P: {};
|
|
99
|
+
B: {};
|
|
100
|
+
D: {};
|
|
101
|
+
C: {};
|
|
102
|
+
M: {};
|
|
103
|
+
Defaults: {};
|
|
104
|
+
}, Readonly<{
|
|
105
|
+
store: RealseeStore | undefined;
|
|
106
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
107
|
+
}> & Readonly<{
|
|
108
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
needUpdate: () => void;
|
|
112
|
+
}, {}, {}, {}, {}> | null;
|
|
113
|
+
mapCadElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
114
|
+
store: RealseeStore | undefined;
|
|
115
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
116
|
+
}> & Readonly<{
|
|
117
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
119
|
+
}>, {
|
|
120
|
+
needUpdate: () => void;
|
|
121
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
122
|
+
ready: (...args: any[]) => void;
|
|
123
|
+
"select-point": (...args: any[]) => void;
|
|
124
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
125
|
+
P: {};
|
|
126
|
+
B: {};
|
|
127
|
+
D: {};
|
|
128
|
+
C: {};
|
|
129
|
+
M: {};
|
|
130
|
+
Defaults: {};
|
|
131
|
+
}, Readonly<{
|
|
132
|
+
store: RealseeStore | undefined;
|
|
133
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
134
|
+
}> & Readonly<{
|
|
135
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
}>, {
|
|
138
|
+
needUpdate: () => void;
|
|
139
|
+
}, {}, {}, {}, {}> | null;
|
|
140
|
+
};
|
|
141
|
+
rootEl: HTMLDivElement;
|
|
142
|
+
};
|
|
143
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
144
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
145
|
+
getState?: (() => import('..').UpdatableMapProps) | undefined;
|
|
146
|
+
setState?: ((options: Partial<import('..').UpdatableMapProps>) => void) | undefined;
|
|
147
|
+
setSize?: ((size: number) => void) | undefined;
|
|
148
|
+
setCollapse?: ((value: boolean) => void) | undefined;
|
|
149
|
+
setRadarYaw?: ((yaw: number) => void) | undefined;
|
|
150
|
+
setRadarHFov?: ((hFov: number) => void) | undefined;
|
|
151
|
+
needUpdate?: (() => void) | undefined;
|
|
152
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
153
|
+
collapse: (...args: any[]) => void;
|
|
154
|
+
dragger: (...args: any[]) => void;
|
|
155
|
+
ready: (...args: any[]) => void;
|
|
156
|
+
"select-point": (...args: any[]) => void;
|
|
157
|
+
"angle-updated": (...args: any[]) => void;
|
|
158
|
+
register: (...args: any[]) => void;
|
|
159
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
160
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
161
|
+
onDragger?: ((...args: any[]) => any) | undefined;
|
|
162
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
"onAngle-updated"?: ((...args: any[]) => any) | undefined;
|
|
165
|
+
onRegister?: ((...args: any[]) => any) | undefined;
|
|
166
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
167
|
+
draggerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
168
|
+
min: number;
|
|
169
|
+
max: number;
|
|
170
|
+
size: number;
|
|
171
|
+
}> & Readonly<{
|
|
172
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
onDragger?: ((...args: any[]) => any) | undefined;
|
|
174
|
+
}>, {
|
|
175
|
+
collapse: (value: boolean) => void;
|
|
176
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
177
|
+
collapse: (...args: any[]) => void;
|
|
178
|
+
dragger: (...args: any[]) => void;
|
|
179
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
180
|
+
P: {};
|
|
181
|
+
B: {};
|
|
182
|
+
D: {};
|
|
183
|
+
C: {};
|
|
184
|
+
M: {};
|
|
185
|
+
Defaults: {};
|
|
186
|
+
}, Readonly<{
|
|
187
|
+
min: number;
|
|
188
|
+
max: number;
|
|
189
|
+
size: number;
|
|
190
|
+
}> & Readonly<{
|
|
191
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
onDragger?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
}>, {
|
|
194
|
+
collapse: (value: boolean) => void;
|
|
195
|
+
}, {}, {}, {}, {}> | null;
|
|
196
|
+
mapGeoElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
197
|
+
store: RealseeStore | undefined;
|
|
198
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
199
|
+
}> & Readonly<{
|
|
200
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
201
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
202
|
+
}>, {
|
|
203
|
+
needUpdate: () => void;
|
|
204
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
205
|
+
ready: (...args: any[]) => void;
|
|
206
|
+
"select-point": (...args: any[]) => void;
|
|
207
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
208
|
+
tdtElRef: HTMLDivElement;
|
|
209
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
210
|
+
P: {};
|
|
211
|
+
B: {};
|
|
212
|
+
D: {};
|
|
213
|
+
C: {};
|
|
214
|
+
M: {};
|
|
215
|
+
Defaults: {};
|
|
216
|
+
}, Readonly<{
|
|
217
|
+
store: RealseeStore | undefined;
|
|
218
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
219
|
+
}> & Readonly<{
|
|
220
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
221
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
222
|
+
}>, {
|
|
223
|
+
needUpdate: () => void;
|
|
224
|
+
}, {}, {}, {}, {}> | null;
|
|
225
|
+
mapCadElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
226
|
+
store: RealseeStore | undefined;
|
|
227
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
228
|
+
}> & Readonly<{
|
|
229
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
230
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
231
|
+
}>, {
|
|
232
|
+
needUpdate: () => void;
|
|
233
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
234
|
+
ready: (...args: any[]) => void;
|
|
235
|
+
"select-point": (...args: any[]) => void;
|
|
236
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
237
|
+
P: {};
|
|
238
|
+
B: {};
|
|
239
|
+
D: {};
|
|
240
|
+
C: {};
|
|
241
|
+
M: {};
|
|
242
|
+
Defaults: {};
|
|
243
|
+
}, Readonly<{
|
|
244
|
+
store: RealseeStore | undefined;
|
|
245
|
+
map: Required<import('..').UpdatableMapProps>;
|
|
246
|
+
}> & Readonly<{
|
|
247
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
248
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
249
|
+
}>, {
|
|
250
|
+
needUpdate: () => void;
|
|
251
|
+
}, {}, {}, {}, {}> | null;
|
|
252
|
+
}, HTMLDivElement>;
|
|
253
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
254
|
+
export default _default;
|
|
255
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
256
|
+
new (): {
|
|
257
|
+
$slots: S;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RealseeStore, UpdatableMapProps } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
store: RealseeStore | undefined;
|
|
4
|
+
map: Required<UpdatableMapProps>;
|
|
5
|
+
};
|
|
6
|
+
declare function needUpdate(): void;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
8
|
+
needUpdate: typeof needUpdate;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
ready: (...args: any[]) => void;
|
|
11
|
+
"select-point": (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TrackMarker, TrackPoint } from '../core';
|
|
2
|
+
type Props = {
|
|
3
|
+
point: TrackPoint;
|
|
4
|
+
markers?: TrackMarker[];
|
|
5
|
+
imgZoom: number;
|
|
6
|
+
imgScale: number;
|
|
7
|
+
wrapScale: number;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TrackPoint } from '../core';
|
|
2
|
+
type Props = {
|
|
3
|
+
point: TrackPoint;
|
|
4
|
+
imgZoom: number;
|
|
5
|
+
imgScale: number;
|
|
6
|
+
wrapScale: number;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TrackPoint } from '../core';
|
|
2
|
+
type Props = {
|
|
3
|
+
point?: TrackPoint;
|
|
4
|
+
radarAngle: number;
|
|
5
|
+
imgZoom: number;
|
|
6
|
+
imgScale: number;
|
|
7
|
+
wrapScale: number;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
url: string;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
wrapperRef: HTMLDivElement;
|
|
11
|
+
svgRef: SVGSVGElement;
|
|
12
|
+
};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
resize: (...args: any[]) => void;
|
|
18
|
+
ready: (...args: any[]) => void;
|
|
19
|
+
"zoom-updated": (...args: any[]) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
"onZoom-updated"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
wrapperRef: HTMLDivElement;
|
|
26
|
+
svgRef: SVGSVGElement;
|
|
27
|
+
}, HTMLDivElement>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
min: number;
|
|
3
|
+
max: number;
|
|
4
|
+
size: number;
|
|
5
|
+
};
|
|
6
|
+
declare function collapse(value: boolean): void;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
8
|
+
collapse: typeof collapse;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
collapse: (...args: any[]) => void;
|
|
11
|
+
dragger: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
onDragger?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RealseeStore, UpdatableMapProps } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
store: RealseeStore | undefined;
|
|
4
|
+
map: Required<UpdatableMapProps>;
|
|
5
|
+
};
|
|
6
|
+
declare function needUpdate(): void;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
8
|
+
needUpdate: typeof needUpdate;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
ready: (...args: any[]) => void;
|
|
11
|
+
"select-point": (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
"onSelect-point"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
tdtElRef: HTMLDivElement;
|
|
17
|
+
}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|