@vsleem-realsee-viewer/realsee-plugin 2.0.21 → 2.0.22

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.
@@ -7,8 +7,9 @@ export declare class TrackPoint {
7
7
  coordinate: Coordinate; /** 源坐标系 */
8
8
  point: Point; /** 在源坐标系上的坐标点 */
9
9
  position?: Point; /** 在空间坐标系上的坐标点 */
10
+ placeholderImg?: string; /**占位全景图(不分片时可用)*/
10
11
  uxTime?: string; /** 创建时间(可用于匹配问题标记点) */
11
- panorama?: any; /** 组件使用全景图地址 */
12
+ panorama?: any; /** 全景图地址,(组件使用) */
12
13
  color?: string; /** 轨迹颜色 */
13
14
  index?: number; /** 点的下标 */
14
15
  rawIndex?: number; /** 点的原始下标 */
@@ -1,6 +1,7 @@
1
1
  import { Viewer } from '@photo-sphere-viewer/core';
2
2
  import { ComputedRef, Ref } from 'vue';
3
3
  import { MarkerElement, PanoramaOptions, RealseeProps, RealseeStore, UpdatableViewerProps, ViewerOptions } from '../types';
4
+ import { TrackPoint } from '../core';
4
5
  export declare function useViewerContext(propsRef: ComputedRef<RealseeProps | undefined>, storeRef: Ref<RealseeStore | undefined>, viewerRef: Ref<Viewer | undefined>, markerRef: Ref<MarkerElement | undefined>, emit: EmitType): {
5
6
  getProps: ComputedRef<{
6
7
  adapter?: (import('@photo-sphere-viewer/core').AdapterConstructor | [import('@photo-sphere-viewer/core').AdapterConstructor, any]) | undefined;
@@ -66,6 +67,7 @@ export declare function useViewerContext(propsRef: ComputedRef<RealseeProps | un
66
67
  tabbable?: boolean | undefined;
67
68
  })[] | undefined;
68
69
  lang?: Record<string, string> | undefined;
70
+ playing?: boolean | undefined;
69
71
  mousedown?: boolean | undefined;
70
72
  moveover?: boolean | undefined;
71
73
  panoramaOptions?: {
@@ -170,6 +172,7 @@ export declare function useViewerContext(propsRef: ComputedRef<RealseeProps | un
170
172
  tabbable?: boolean | undefined;
171
173
  })[] | undefined;
172
174
  lang?: Record<string, string> | undefined;
175
+ playing?: boolean | undefined;
173
176
  mousedown?: boolean | undefined;
174
177
  moveover?: boolean | undefined;
175
178
  panoramaOptions?: {
@@ -214,7 +217,7 @@ export declare function useViewerContext(propsRef: ComputedRef<RealseeProps | un
214
217
  isMousedown: () => boolean;
215
218
  setMousedown: (mousedown: boolean) => void;
216
219
  setMouseover: (moveover: boolean) => void;
217
- setPanoramaPath: (path: any, options?: PanoramaOptions) => Promise<void>;
220
+ setPanoramaPath: (currentPoint: TrackPoint, options?: PanoramaOptions) => Promise<void>;
218
221
  setPanoramaOptions: (options?: PanoramaOptions) => void;
219
222
  setVewerStatus: (options: ViewerOptions) => void;
220
223
  updateMarkers: () => void;
package/dist/index.d.ts CHANGED
@@ -22,4 +22,4 @@ UpdatablePlaybarProps /** 可更新的播放控制条属性 */,
22
22
  /** 视图相关 */
23
23
  UpdatableViewerProps /** 可更新的视图属性 */, ViewerElement /** 视图元素类型 */, ViewerProps /** 视图属性 */, } from './types';
24
24
  /** 配置常量导出 */
25
- export { MAP_CONFIG /** 地图默认配置 */, MARKER_CONFIG /** 标记默认配置 */, PLAYBAR_CONFIG /** 播放控制条默认配置 */, REALSEE_CONFIG /** Realsee 全局配置 */, REALSEE_SETTING /** Realsee 默认设置 */, VIEWER_CONFIG /** 视图默认配置 */, } from './settings';
25
+ export { APP_SETTING /** 全局默认配置 */, MAP_CONFIG /** 地图默认配置 */, MAP_GEO_OPTIONS /**地理地图选项 */, MARKER_CONFIG /** 标记默认配置 */, PLAYBAR_CONFIG /** 播放控制条默认配置 */, REALSEE_CONFIG /** Realsee 全局配置 */, REALSEE_SETTING /** Realsee 默认设置 */, TILE_LAYERS /**地图瓦片图层配置 */, TRACK_COLOR_LIST /** 轨迹的颜色 */, VIEWER_CONFIG /** 视图默认配置 */, } from './settings';