@qispace/vue3-player 0.4.26 → 0.4.29
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/dist/vue-components/config/vite.config.player-core.d.ts +2 -0
- package/dist/vue-components/src/components/index.d.ts +1 -0
- package/dist/vue-components/src/components/virtualTour2/CameraSnapshot.d.ts +5 -0
- package/dist/vue-components/src/components/virtualTour2/VAutoplay.vue.d.ts +6 -0
- package/dist/vue-components/src/components/virtualTour2/VCompass.vue.d.ts +15 -0
- package/dist/vue-components/src/components/virtualTour2/VFloorLevel.vue.d.ts +16 -0
- package/dist/vue-components/src/components/virtualTour2/VFullScreenButton.vue.d.ts +19 -0
- package/dist/vue-components/src/components/virtualTour2/VInteriorSelector.vue.d.ts +27 -0
- package/dist/vue-components/src/components/virtualTour2/VMiniMap.vue.d.ts +34 -0
- package/dist/vue-components/src/components/virtualTour2/VMoveable.vue.d.ts +29 -0
- package/dist/vue-components/src/components/virtualTour2/VPlayer.vue.d.ts +101 -0
- package/dist/vue-components/src/components/virtualTour2/VPlayerSettingsUi.vue.d.ts +23 -0
- package/dist/vue-components/src/components/virtualTour2/VSocialShare.vue.d.ts +2 -0
- package/dist/vue-components/src/components/virtualTour2/VSunStudyToggle.vue.d.ts +14 -0
- package/dist/vue-components/src/components/virtualTour2/VSunsimSlider.vue.d.ts +30 -0
- package/dist/vue-components/src/components/virtualTour2/VTimeOfDay.vue.d.ts +34 -0
- package/dist/vue-components/src/components/virtualTour2/VTutorial.vue.d.ts +6 -0
- package/dist/vue-components/src/components/virtualTour2/VViewModeToggle.vue.d.ts +6 -0
- package/dist/vue-components/src/components/virtualTour2/VVirtualTour.vue.d.ts +186 -0
- package/dist/vue-components/src/components/virtualTour2/VVisuadoCreateButton.vue.d.ts +6 -0
- package/dist/vue-components/src/components/virtualTour2/VWaypointCarousel.vue.d.ts +39 -0
- package/dist/vue-components/src/components/virtualTour2/index.d.ts +1 -0
- package/dist/vue-components/src/components/virtualTour2/types.d.ts +120 -0
- package/dist/vue-components/src/vue-components.d.ts +2 -2
- package/dist/vue-components/style.css +1 -1
- package/dist/vue-components/vue3-player.js +37866 -2838
- package/dist/vue-components/vue3-player.umd.cjs +18807 -1
- package/package.json +3 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import('vue').PropType<any>;
|
|
3
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<any>;
|
|
5
|
+
}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
rotation: number;
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
rotation: number;
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import('vue').PropType<number>;
|
|
3
|
+
floorLevels: {
|
|
4
|
+
type: import('vue').PropType<number[]>;
|
|
5
|
+
default: () => any[];
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
modelValue: import('vue').PropType<number>;
|
|
9
|
+
floorLevels: {
|
|
10
|
+
type: import('vue').PropType<number[]>;
|
|
11
|
+
default: () => any[];
|
|
12
|
+
};
|
|
13
|
+
}>>, {
|
|
14
|
+
floorLevels: Array<number>;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isFullScreen: boolean;
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
toggleFullscreen: () => void;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
isFullScreen: boolean;
|
|
7
|
+
}>>> & {
|
|
8
|
+
onToggleFullscreen?: () => any;
|
|
9
|
+
}, {}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CdnFileResolverCallback, Unpacked } from '../types';
|
|
2
|
+
import { ConfigJson } from './types';
|
|
3
|
+
import { DataPoint } from '@qispace/visuado-player-core';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
cdnFileResolver: CdnFileResolverCallback;
|
|
7
|
+
archetypes: Array<Unpacked<ConfigJson['archetypes']>>;
|
|
8
|
+
currentDataPoint?: DataPoint;
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
selectInterior: (interiorId: string) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
cdnFileResolver: CdnFileResolverCallback;
|
|
13
|
+
archetypes: Array<Unpacked<ConfigJson['archetypes']>>;
|
|
14
|
+
currentDataPoint?: DataPoint;
|
|
15
|
+
}>>> & {
|
|
16
|
+
onSelectInterior?: (interiorId: string) => any;
|
|
17
|
+
}, {}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ApartmentJson, MiniMapJson } from './types';
|
|
2
|
+
import { CdnFileResolverCallback } from '../types';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
cdnFileResolver: CdnFileResolverCallback;
|
|
6
|
+
minimapJson: MiniMapJson;
|
|
7
|
+
apartmentJson: ApartmentJson;
|
|
8
|
+
currentCamera: string;
|
|
9
|
+
level: number;
|
|
10
|
+
rotation: number;
|
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
goToCamera: (cameraId: string) => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
cdnFileResolver: CdnFileResolverCallback;
|
|
16
|
+
minimapJson: MiniMapJson;
|
|
17
|
+
apartmentJson: ApartmentJson;
|
|
18
|
+
currentCamera: string;
|
|
19
|
+
level: number;
|
|
20
|
+
rotation: number;
|
|
21
|
+
}>>> & {
|
|
22
|
+
onGoToCamera?: (cameraId: string) => any;
|
|
23
|
+
onClose?: () => any;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
size: string;
|
|
3
|
+
}>, {
|
|
4
|
+
bodyWidth: import('vue').Ref<any>;
|
|
5
|
+
bodyHeight: import('vue').Ref<any>;
|
|
6
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
size: string;
|
|
8
|
+
}>>>, {}, {}>, {
|
|
9
|
+
"top-left"?(_: {}): any;
|
|
10
|
+
"top-right"?(_: {}): any;
|
|
11
|
+
header?(_: {}): any;
|
|
12
|
+
body?(_: {}): any;
|
|
13
|
+
footer?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Main, DataPointsLoaderArgument, AutoRotatePluginOptionsEvent, DataPointChangedEvent, DataPointLoadEvent, DataPointsLoadedEvent, DataPointsActivatedEvent, DataPointsDeactivatedEvent, DataPointTextureLoadEvent, FrontendMarkersUpdateEvent, ImageLoaderOptionsEvent, InitializedEvent, KeyDownEvent, KeyEvent, KeyUpEvent, MainOptionsEvent, MouseDownEvent, MouseEvent, MouseMoveEvent, MousePickEvent, MouseScrollEvent, MouseUpEvent, PanoramaTransitionRendererPluginOptionsEvent, PostProcessorOptionsEvent, ResizedEvent, StateUpdatedEvent, UserInputPluginOptionsEvent } from '@qispace/visuado-player-core';
|
|
2
|
+
import { Labels } from './VVirtualTour.vue';
|
|
3
|
+
import { StructureChooserDataCameraDay, StructureChooserDataCameraDayTimeSample } from '../structureChooser/types/StructureChooserData';
|
|
4
|
+
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
data: DataPointsLoaderArgument<Record<string, any>, import('@qispace/visuado-player-core').DefaultExtra>[];
|
|
7
|
+
cameraId: string;
|
|
8
|
+
interiorId: string;
|
|
9
|
+
day?: StructureChooserDataCameraDay;
|
|
10
|
+
time?: StructureChooserDataCameraDayTimeSample;
|
|
11
|
+
isAutoPlaying?: boolean;
|
|
12
|
+
}>, {
|
|
13
|
+
playerCore: import('vue').Ref<Main<Record<string, any>, import('@qispace/visuado-player-core').DefaultExtra>>;
|
|
14
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
key: (event: KeyEvent) => void;
|
|
16
|
+
initialized: (event: InitializedEvent) => void;
|
|
17
|
+
frontendMarkersUpdate: (event: FrontendMarkersUpdateEvent) => void;
|
|
18
|
+
autoRotatePluginOptions: (event: AutoRotatePluginOptionsEvent) => void;
|
|
19
|
+
dataPointChanged: (event: DataPointChangedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
20
|
+
dataPointLoad: (event: DataPointLoadEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
21
|
+
dataPointsLoaded: (event: DataPointsLoadedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
22
|
+
dataPointsActivated: (event: DataPointsActivatedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
23
|
+
dataPointsDeactivated: (event: DataPointsDeactivatedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
24
|
+
dataPointTextureLoad: (event: DataPointTextureLoadEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
25
|
+
imageLoaderOptions: (event: ImageLoaderOptionsEvent) => void;
|
|
26
|
+
keyDown: (event: KeyDownEvent) => void;
|
|
27
|
+
keyUp: (event: KeyUpEvent) => void;
|
|
28
|
+
mainOptions: (event: MainOptionsEvent) => void;
|
|
29
|
+
mouseDown: (event: MouseDownEvent) => void;
|
|
30
|
+
mouse: (event: MouseEvent) => void;
|
|
31
|
+
mouseMove: (event: MouseMoveEvent) => void;
|
|
32
|
+
mousePick: (event: MousePickEvent) => void;
|
|
33
|
+
mouseScroll: (event: MouseScrollEvent) => void;
|
|
34
|
+
mouseUp: (event: MouseUpEvent) => void;
|
|
35
|
+
panoramaTransitionRendererPluginOptions: (event: PanoramaTransitionRendererPluginOptionsEvent) => void;
|
|
36
|
+
postProcessorOptions: (event: PostProcessorOptionsEvent) => void;
|
|
37
|
+
resized: (event: ResizedEvent) => void;
|
|
38
|
+
stateUpdated: (event: StateUpdatedEvent) => void;
|
|
39
|
+
userInputPluginOptions: (event: UserInputPluginOptionsEvent) => void;
|
|
40
|
+
playerCoreAccessible: (playerCore: Main<Record<string, any>, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
42
|
+
data: DataPointsLoaderArgument<Record<string, any>, import('@qispace/visuado-player-core').DefaultExtra>[];
|
|
43
|
+
cameraId: string;
|
|
44
|
+
interiorId: string;
|
|
45
|
+
day?: StructureChooserDataCameraDay;
|
|
46
|
+
time?: StructureChooserDataCameraDayTimeSample;
|
|
47
|
+
isAutoPlaying?: boolean;
|
|
48
|
+
}>>> & {
|
|
49
|
+
onMouseMove?: (event: MouseMoveEvent) => any;
|
|
50
|
+
onFrontendMarkersUpdate?: (event: FrontendMarkersUpdateEvent) => any;
|
|
51
|
+
onInitialized?: (event: InitializedEvent) => any;
|
|
52
|
+
onKey?: (event: KeyEvent) => any;
|
|
53
|
+
onAutoRotatePluginOptions?: (event: AutoRotatePluginOptionsEvent) => any;
|
|
54
|
+
onDataPointChanged?: (event: DataPointChangedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
55
|
+
onDataPointLoad?: (event: DataPointLoadEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
56
|
+
onDataPointsLoaded?: (event: DataPointsLoadedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
57
|
+
onDataPointsActivated?: (event: DataPointsActivatedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
58
|
+
onDataPointsDeactivated?: (event: DataPointsDeactivatedEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
59
|
+
onDataPointTextureLoad?: (event: DataPointTextureLoadEvent<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
60
|
+
onImageLoaderOptions?: (event: ImageLoaderOptionsEvent) => any;
|
|
61
|
+
onKeyDown?: (event: KeyDownEvent) => any;
|
|
62
|
+
onKeyUp?: (event: KeyUpEvent) => any;
|
|
63
|
+
onMainOptions?: (event: MainOptionsEvent) => any;
|
|
64
|
+
onMouseDown?: (event: MouseDownEvent) => any;
|
|
65
|
+
onMouse?: (event: MouseEvent) => any;
|
|
66
|
+
onMousePick?: (event: MousePickEvent) => any;
|
|
67
|
+
onMouseScroll?: (event: MouseScrollEvent) => any;
|
|
68
|
+
onMouseUp?: (event: MouseUpEvent) => any;
|
|
69
|
+
onPanoramaTransitionRendererPluginOptions?: (event: PanoramaTransitionRendererPluginOptionsEvent) => any;
|
|
70
|
+
onPostProcessorOptions?: (event: PostProcessorOptionsEvent) => any;
|
|
71
|
+
onResized?: (event: ResizedEvent) => any;
|
|
72
|
+
onStateUpdated?: (event: StateUpdatedEvent) => any;
|
|
73
|
+
onUserInputPluginOptions?: (event: UserInputPluginOptionsEvent) => any;
|
|
74
|
+
onPlayerCoreAccessible?: (playerCore: Main<Record<string, any>, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
75
|
+
}, {}, {}>, {
|
|
76
|
+
"slideshow-image"?(_: {}): any;
|
|
77
|
+
"top-left"?(_: {}): any;
|
|
78
|
+
"top-center"?(_: {}): any;
|
|
79
|
+
"top-right"?(_: {}): any;
|
|
80
|
+
"center-left"?(_: {}): any;
|
|
81
|
+
"center-center"?(_: {}): any;
|
|
82
|
+
"center-right"?(_: {}): any;
|
|
83
|
+
"bottom-left"?(_: {}): any;
|
|
84
|
+
"bottom-center"?(_: {}): any;
|
|
85
|
+
"bottom-right"?(_: {}): any;
|
|
86
|
+
}>;
|
|
87
|
+
export default _default;
|
|
88
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
89
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
90
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
91
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
92
|
+
} : {
|
|
93
|
+
type: import('vue').PropType<T[K]>;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
98
|
+
new (): {
|
|
99
|
+
$slots: S;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PlayerSettings } from './types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
initialSettings?: PlayerSettings;
|
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
updateSettings: (playerSettings: PlayerSettings) => void;
|
|
7
|
+
saveSettings: (playerSettings: PlayerSettings) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
initialSettings?: PlayerSettings;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onUpdateSettings?: (playerSettings: PlayerSettings) => any;
|
|
12
|
+
onSaveSettings?: (playerSettings: PlayerSettings) => any;
|
|
13
|
+
}, {}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import('vue').PropType<boolean>;
|
|
3
|
+
showUi: {
|
|
4
|
+
type: import('vue').PropType<boolean>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
modelValue: import('vue').PropType<boolean>;
|
|
9
|
+
showUi: {
|
|
10
|
+
type: import('vue').PropType<boolean>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>>, {}, {}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { StructureChooserDataCameraDay, StructureChooserDataCameraDayTimeSample } from '../structureChooser/types/StructureChooserData';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: import('vue').PropType<boolean>;
|
|
7
|
+
};
|
|
8
|
+
time: {
|
|
9
|
+
required: true;
|
|
10
|
+
type: import('vue').PropType<StructureChooserDataCameraDayTimeSample>;
|
|
11
|
+
};
|
|
12
|
+
day: {
|
|
13
|
+
required: true;
|
|
14
|
+
type: import('vue').PropType<StructureChooserDataCameraDay>;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
modelValue: {
|
|
18
|
+
required: true;
|
|
19
|
+
type: import('vue').PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
time: {
|
|
22
|
+
required: true;
|
|
23
|
+
type: import('vue').PropType<StructureChooserDataCameraDayTimeSample>;
|
|
24
|
+
};
|
|
25
|
+
day: {
|
|
26
|
+
required: true;
|
|
27
|
+
type: import('vue').PropType<StructureChooserDataCameraDay>;
|
|
28
|
+
};
|
|
29
|
+
}>>, {}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
hours: number;
|
|
3
|
+
minutes: number;
|
|
4
|
+
}>, {
|
|
5
|
+
hours: number;
|
|
6
|
+
minutes: number;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
hours: number;
|
|
9
|
+
minutes: number;
|
|
10
|
+
}>, {
|
|
11
|
+
hours: number;
|
|
12
|
+
minutes: number;
|
|
13
|
+
}>>>, {
|
|
14
|
+
hours: number;
|
|
15
|
+
minutes: number;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
closeTutorial: (dontShow: boolean) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
4
|
+
onCloseTutorial?: (dontShow: boolean) => any;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import('vue').PropType<boolean>;
|
|
3
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<boolean>;
|
|
5
|
+
}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { Main, MarkerDataOutput, PlayerState } from '@qispace/visuado-player-core';
|
|
2
|
+
import { CdnFileResolverCallback, I18NConfig } from '../types';
|
|
3
|
+
import { ApartmentJson } from '../../vue-components';
|
|
4
|
+
import { StructureChooserDataCameraDay } from '../structureChooser/types/StructureChooserData';
|
|
5
|
+
import { PlayerSettings } from './types';
|
|
6
|
+
import { default as CameraSnapshot } from './CameraSnapshot';
|
|
7
|
+
|
|
8
|
+
export interface Labels {
|
|
9
|
+
apartmentId: string;
|
|
10
|
+
interiorId: string;
|
|
11
|
+
cameraId: string;
|
|
12
|
+
hasSunSim: boolean;
|
|
13
|
+
daysOfYear?: Array<StructureChooserDataCameraDay>;
|
|
14
|
+
thumbnailUrl?: string;
|
|
15
|
+
imageUrl?: string;
|
|
16
|
+
dayOfYear?: number;
|
|
17
|
+
timeInHours?: number;
|
|
18
|
+
}
|
|
19
|
+
declare function setCurrentCameraId(arg: string): void;
|
|
20
|
+
declare function setCurrentInteriorId(arg: string): void;
|
|
21
|
+
declare function setCurrentDay(arg: number): void;
|
|
22
|
+
declare function setCurrentTimeSample(arg: number): void;
|
|
23
|
+
declare function setCurrentRotation(arg: 0): void;
|
|
24
|
+
declare function setCurrentFloorLevel(arg: 0): void;
|
|
25
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
26
|
+
i18nConfig?: I18NConfig;
|
|
27
|
+
cdnFileResolver: CdnFileResolverCallback;
|
|
28
|
+
apartmentId: string;
|
|
29
|
+
type?: string;
|
|
30
|
+
displayViewModeSwitch?: boolean;
|
|
31
|
+
version?: string;
|
|
32
|
+
adminMode?: boolean;
|
|
33
|
+
playerSettings?: PlayerSettings;
|
|
34
|
+
defaultViewMode?: string;
|
|
35
|
+
showCarousel?: boolean;
|
|
36
|
+
showTimeOfDay?: boolean;
|
|
37
|
+
showCompass?: boolean;
|
|
38
|
+
showFullScreen?: boolean;
|
|
39
|
+
showSnapshot?: boolean;
|
|
40
|
+
showShare?: boolean;
|
|
41
|
+
showInteriorOptions?: boolean;
|
|
42
|
+
showMiniMap?: boolean;
|
|
43
|
+
showFloorLevel?: boolean;
|
|
44
|
+
showVersion?: boolean;
|
|
45
|
+
showVisuadoCreateButton?: boolean;
|
|
46
|
+
enableAutoplay?: boolean;
|
|
47
|
+
}>, {
|
|
48
|
+
type: string;
|
|
49
|
+
displayViewModeSwitch: boolean;
|
|
50
|
+
defaultViewMode: string;
|
|
51
|
+
showCarousel: boolean;
|
|
52
|
+
showTimeOfDay: boolean;
|
|
53
|
+
showCompass: boolean;
|
|
54
|
+
showFullScreen: boolean;
|
|
55
|
+
showSnapshot: boolean;
|
|
56
|
+
showShare: boolean;
|
|
57
|
+
showInteriorOptions: boolean;
|
|
58
|
+
showMiniMap: boolean;
|
|
59
|
+
showFloorLevel: boolean;
|
|
60
|
+
showVersion: boolean;
|
|
61
|
+
showVisuadoCreateButton: boolean;
|
|
62
|
+
enableAutoplay: boolean;
|
|
63
|
+
playerSettings: () => {
|
|
64
|
+
temperature: number;
|
|
65
|
+
targetLuminance: number;
|
|
66
|
+
exposureFovScale: number;
|
|
67
|
+
UNREAL_BLOOM_ENABLED: boolean;
|
|
68
|
+
sharpenFilter_amount: number;
|
|
69
|
+
UNREAL_BLOOM_STRENGTH: number;
|
|
70
|
+
TRANSITION_MOVEMENT_SCALE: number;
|
|
71
|
+
whitePoint: number[];
|
|
72
|
+
lut: string;
|
|
73
|
+
};
|
|
74
|
+
}>, {
|
|
75
|
+
playerCore: import('vue').Ref<Main<Labels, import('@qispace/visuado-player-core').DefaultExtra>>;
|
|
76
|
+
setCurrentCameraId: typeof setCurrentCameraId;
|
|
77
|
+
setCurrentInteriorId: typeof setCurrentInteriorId;
|
|
78
|
+
setCurrentDay: typeof setCurrentDay;
|
|
79
|
+
setCurrentTimeSample: typeof setCurrentTimeSample;
|
|
80
|
+
setCurrentRotation: typeof setCurrentRotation;
|
|
81
|
+
setCurrentFloorLevel: typeof setCurrentFloorLevel;
|
|
82
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
|
+
error: (error: Error) => void;
|
|
84
|
+
initialized: (playerCore: Main<Record<string, any>, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
85
|
+
frontendMarkersUpdate: (markers: MarkerDataOutput[]) => void;
|
|
86
|
+
saveSettings: (playerSettings: PlayerSettings) => void;
|
|
87
|
+
snapshot: (snapshot: CameraSnapshot, state: PlayerState) => void;
|
|
88
|
+
visuadoCreateButtonClicked: (snapshot: CameraSnapshot) => void;
|
|
89
|
+
interiorUpdate: (interiorId: string) => void;
|
|
90
|
+
cameraUpdate: (cameraId: string, apartmentJson: ApartmentJson) => void;
|
|
91
|
+
sunsimUpdate: (sunsimData: StructureChooserDataCameraDay[]) => void;
|
|
92
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
93
|
+
i18nConfig?: I18NConfig;
|
|
94
|
+
cdnFileResolver: CdnFileResolverCallback;
|
|
95
|
+
apartmentId: string;
|
|
96
|
+
type?: string;
|
|
97
|
+
displayViewModeSwitch?: boolean;
|
|
98
|
+
version?: string;
|
|
99
|
+
adminMode?: boolean;
|
|
100
|
+
playerSettings?: PlayerSettings;
|
|
101
|
+
defaultViewMode?: string;
|
|
102
|
+
showCarousel?: boolean;
|
|
103
|
+
showTimeOfDay?: boolean;
|
|
104
|
+
showCompass?: boolean;
|
|
105
|
+
showFullScreen?: boolean;
|
|
106
|
+
showSnapshot?: boolean;
|
|
107
|
+
showShare?: boolean;
|
|
108
|
+
showInteriorOptions?: boolean;
|
|
109
|
+
showMiniMap?: boolean;
|
|
110
|
+
showFloorLevel?: boolean;
|
|
111
|
+
showVersion?: boolean;
|
|
112
|
+
showVisuadoCreateButton?: boolean;
|
|
113
|
+
enableAutoplay?: boolean;
|
|
114
|
+
}>, {
|
|
115
|
+
type: string;
|
|
116
|
+
displayViewModeSwitch: boolean;
|
|
117
|
+
defaultViewMode: string;
|
|
118
|
+
showCarousel: boolean;
|
|
119
|
+
showTimeOfDay: boolean;
|
|
120
|
+
showCompass: boolean;
|
|
121
|
+
showFullScreen: boolean;
|
|
122
|
+
showSnapshot: boolean;
|
|
123
|
+
showShare: boolean;
|
|
124
|
+
showInteriorOptions: boolean;
|
|
125
|
+
showMiniMap: boolean;
|
|
126
|
+
showFloorLevel: boolean;
|
|
127
|
+
showVersion: boolean;
|
|
128
|
+
showVisuadoCreateButton: boolean;
|
|
129
|
+
enableAutoplay: boolean;
|
|
130
|
+
playerSettings: () => {
|
|
131
|
+
temperature: number;
|
|
132
|
+
targetLuminance: number;
|
|
133
|
+
exposureFovScale: number;
|
|
134
|
+
UNREAL_BLOOM_ENABLED: boolean;
|
|
135
|
+
sharpenFilter_amount: number;
|
|
136
|
+
UNREAL_BLOOM_STRENGTH: number;
|
|
137
|
+
TRANSITION_MOVEMENT_SCALE: number;
|
|
138
|
+
whitePoint: number[];
|
|
139
|
+
lut: string;
|
|
140
|
+
};
|
|
141
|
+
}>>> & {
|
|
142
|
+
onError?: (error: Error) => any;
|
|
143
|
+
onFrontendMarkersUpdate?: (markers: MarkerDataOutput[]) => any;
|
|
144
|
+
onSaveSettings?: (playerSettings: PlayerSettings) => any;
|
|
145
|
+
onSnapshot?: (snapshot: CameraSnapshot, state: PlayerState) => any;
|
|
146
|
+
onVisuadoCreateButtonClicked?: (snapshot: CameraSnapshot) => any;
|
|
147
|
+
onInteriorUpdate?: (interiorId: string) => any;
|
|
148
|
+
onCameraUpdate?: (cameraId: string, apartmentJson: ApartmentJson) => any;
|
|
149
|
+
onSunsimUpdate?: (sunsimData: StructureChooserDataCameraDay[]) => any;
|
|
150
|
+
onInitialized?: (playerCore: Main<Record<string, any>, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
151
|
+
}, {
|
|
152
|
+
type: string;
|
|
153
|
+
showFullScreen: boolean;
|
|
154
|
+
showShare: boolean;
|
|
155
|
+
showVersion: boolean;
|
|
156
|
+
displayViewModeSwitch: boolean;
|
|
157
|
+
showCarousel: boolean;
|
|
158
|
+
showTimeOfDay: boolean;
|
|
159
|
+
showCompass: boolean;
|
|
160
|
+
showSnapshot: boolean;
|
|
161
|
+
showInteriorOptions: boolean;
|
|
162
|
+
showMiniMap: boolean;
|
|
163
|
+
showFloorLevel: boolean;
|
|
164
|
+
defaultViewMode: string;
|
|
165
|
+
playerSettings: PlayerSettings;
|
|
166
|
+
enableAutoplay: boolean;
|
|
167
|
+
showVisuadoCreateButton: boolean;
|
|
168
|
+
}, {}>;
|
|
169
|
+
export default _default;
|
|
170
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
171
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
172
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
173
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
174
|
+
} : {
|
|
175
|
+
type: import('vue').PropType<T[K]>;
|
|
176
|
+
required: true;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
type __VLS_WithDefaults<P, D> = {
|
|
180
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
181
|
+
default: D[K];
|
|
182
|
+
}> : P[K];
|
|
183
|
+
};
|
|
184
|
+
type __VLS_Prettify<T> = {
|
|
185
|
+
[K in keyof T]: T[K];
|
|
186
|
+
} & {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
onSnapshot: () => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
4
|
+
onOnSnapshot?: () => any;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DataPoint } from '@qispace/visuado-player-core';
|
|
2
|
+
import { Labels } from './VVirtualTour.vue';
|
|
3
|
+
|
|
4
|
+
declare function updateLoadProgress(event: {
|
|
5
|
+
dataPoint: DataPoint<Labels>;
|
|
6
|
+
progress: number;
|
|
7
|
+
finished: boolean;
|
|
8
|
+
}): void;
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
thumbnails: DataPoint<Labels, import('@qispace/visuado-player-core').DefaultExtra>[];
|
|
11
|
+
currentThumbnail?: DataPoint<Labels, import('@qispace/visuado-player-core').DefaultExtra>;
|
|
12
|
+
}>, {
|
|
13
|
+
updateLoadProgress: typeof updateLoadProgress;
|
|
14
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
go: (dataPoint: DataPoint<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
thumbnails: DataPoint<Labels, import('@qispace/visuado-player-core').DefaultExtra>[];
|
|
18
|
+
currentThumbnail?: DataPoint<Labels, import('@qispace/visuado-player-core').DefaultExtra>;
|
|
19
|
+
}>>> & {
|
|
20
|
+
onGo?: (dataPoint: DataPoint<Labels, import('@qispace/visuado-player-core').DefaultExtra>) => any;
|
|
21
|
+
}, {}, {}>, {
|
|
22
|
+
before?(_: {}): any;
|
|
23
|
+
after?(_: {}): any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as VVirtualTour2 } from './VVirtualTour.vue';
|