@clikvn/showroom-visualizer 0.0.41-dev → 0.0.42-dev
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/components/SkinLayer/Layout/index.d.ts.map +1 -1
- package/dist/components/SkinLayer/LoadingScreen/index.d.ts +1 -8
- package/dist/components/SkinLayer/LoadingScreen/index.d.ts.map +1 -1
- package/dist/components/Visualizer/VirtualTour/index.d.ts +5 -1
- package/dist/components/Visualizer/VirtualTour/index.d.ts.map +1 -1
- package/dist/components/Visualizer/index.d.ts +1 -1
- package/dist/components/Visualizer/index.d.ts.map +1 -1
- package/dist/constants/SkinLayer/index.d.ts +1 -0
- package/dist/constants/SkinLayer/index.d.ts.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/features/ShowroomVisualizer/index.d.ts +4 -17
- package/dist/features/ShowroomVisualizer/index.d.ts.map +1 -1
- package/dist/hooks/Visualizer/useTourDetails.d.ts +1 -1
- package/dist/hooks/Visualizer/useTourDetails.d.ts.map +1 -1
- package/dist/hooks/Visualizer/useTourVisualizer.d.ts.map +1 -1
- package/dist/hooks/useConfiguration.d.ts +6 -29
- package/dist/hooks/useConfiguration.d.ts.map +1 -1
- package/dist/hooks/useStore.d.ts +2 -233
- package/dist/hooks/useStore.d.ts.map +1 -1
- package/dist/hooks/useToolConfig.d.ts +1 -5
- package/dist/hooks/useToolConfig.d.ts.map +1 -1
- package/dist/models/Visualizer/Tour.d.ts +2 -0
- package/dist/models/Visualizer/Tour.d.ts.map +1 -1
- package/dist/models/Visualizer/TourScenario/actions/MovingSceneAction.d.ts +1 -1
- package/dist/register.d.ts +5 -18
- package/dist/register.d.ts.map +1 -1
- package/dist/types/SkinLayer/index.d.ts +5 -0
- package/dist/types/SkinLayer/index.d.ts.map +1 -1
- package/dist/types/SkinLayer/tool.type.d.ts +3 -0
- package/dist/types/SkinLayer/tool.type.d.ts.map +1 -1
- package/dist/types/SkinLayer/visualizer.type.d.ts +6 -30
- package/dist/types/SkinLayer/visualizer.type.d.ts.map +1 -1
- package/dist/web.js +1 -1
- package/package.json +2 -2
|
@@ -1,38 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VisualizerListenersType } from './listeners.type';
|
|
2
|
+
import { OverrideConfigsType } from './overrideConfigs.type';
|
|
3
|
+
import { ProductType } from './product.type';
|
|
2
4
|
export type VirtualTourVisualizerType = {
|
|
3
5
|
elementId?: string;
|
|
4
6
|
apiHost?: string;
|
|
5
7
|
webRotateClientHost?: string;
|
|
6
8
|
webRotateApiHost?: string;
|
|
7
9
|
mobile?: boolean;
|
|
8
|
-
config?:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
startScene?: string;
|
|
12
|
-
hLookAt?: number;
|
|
13
|
-
vLookAt?: number;
|
|
14
|
-
slideInOffset?: number;
|
|
15
|
-
asideOffset?: number;
|
|
16
|
-
} & Record<string, unknown>;
|
|
17
|
-
listeners?: Partial<{
|
|
18
|
-
onLoaded: (tool: ToolType) => void;
|
|
19
|
-
onPoiClicked: (poi?: any) => void;
|
|
20
|
-
onPoiOver: (poi?: any) => void;
|
|
21
|
-
onPoiHover: (poi?: any) => void;
|
|
22
|
-
onPoiOut: () => void;
|
|
23
|
-
onPoiInCenter: (poi?: any) => void;
|
|
24
|
-
onSceneCompleted: (sceneCode: string, categoryCode?: string) => void;
|
|
25
|
-
onStartScenario: (scenarioCode: string) => void;
|
|
26
|
-
onScenarioPaused: (scenarioCode: string) => void;
|
|
27
|
-
onScenarioEnded: (scenarioCode: string) => void;
|
|
28
|
-
onToggleSlideIn: (arg: {
|
|
29
|
-
open: boolean;
|
|
30
|
-
offset: number;
|
|
31
|
-
}) => void;
|
|
32
|
-
onPlaybarOpen: () => void;
|
|
33
|
-
onPlaybarClosed: () => void;
|
|
34
|
-
onPinActionClicked: (key: string) => void;
|
|
35
|
-
onUnmuted: () => void;
|
|
36
|
-
}>;
|
|
10
|
+
config?: OverrideConfigsType;
|
|
11
|
+
listeners?: VisualizerListenersType;
|
|
12
|
+
products?: ProductType[];
|
|
37
13
|
};
|
|
38
14
|
//# sourceMappingURL=visualizer.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visualizer.type.d.ts","sourceRoot":"","sources":["../../../src/types/SkinLayer/visualizer.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"visualizer.type.d.ts","sourceRoot":"","sources":["../../../src/types/SkinLayer/visualizer.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;CAC1B,CAAC"}
|