@clikvn/showroom-visualizer 0.0.45-dev → 0.0.47-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/GalleryFullScreen/Content/ARViewer.d.ts +30 -0
- package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +1 -0
- package/dist/components/SkinLayer/GalleryFullScreen/index.d.ts.map +1 -1
- package/dist/features/ShowroomVisualizer/Scripts.d.ts +4 -0
- package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +1 -0
- package/dist/features/ShowroomVisualizer/cssStyles.d.ts +1 -1
- package/dist/features/ShowroomVisualizer/cssStyles.d.ts.map +1 -1
- package/dist/index.html +10 -6
- package/dist/web.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { CSSProperties, FC } from 'react';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'model-viewer': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
6
|
+
src?: string;
|
|
7
|
+
'ios-src'?: string;
|
|
8
|
+
alt?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
'auto-rotate'?: boolean;
|
|
11
|
+
'camera-controls'?: boolean;
|
|
12
|
+
ar?: boolean;
|
|
13
|
+
id?: string | number;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
type ARViewerProps = {
|
|
19
|
+
url?: string;
|
|
20
|
+
iosUrl?: string;
|
|
21
|
+
alt?: string;
|
|
22
|
+
autoRotate?: boolean;
|
|
23
|
+
cameraControls?: boolean;
|
|
24
|
+
ar?: boolean;
|
|
25
|
+
id?: string | number;
|
|
26
|
+
onLoad?: () => void;
|
|
27
|
+
};
|
|
28
|
+
declare const ARViewer: FC<ARViewerProps>;
|
|
29
|
+
export default ARViewer;
|
|
30
|
+
//# sourceMappingURL=ARViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ARViewer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkinLayer/GalleryFullScreen/Content/ARViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAEpE,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,cAAc,EAAE,KAAK,CAAC,iBAAiB,CACrC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACjC,WAAW,CACZ,GAAG;gBACF,GAAG,CAAC,EAAE,MAAM,CAAC;gBACb,SAAS,CAAC,EAAE,MAAM,CAAC;gBACnB,GAAG,CAAC,EAAE,MAAM,CAAC;gBACb,KAAK,CAAC,EAAE,aAAa,CAAC;gBACtB,aAAa,CAAC,EAAE,OAAO,CAAC;gBACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;gBAC5B,EAAE,CAAC,EAAE,OAAO,CAAC;gBACb,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;aACtB,CAAC;SACH;KACF;CACF;AAED,KAAK,aAAa,GAAG;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA8C/B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/GalleryFullScreen/index.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,iBAAiB,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/GalleryFullScreen/index.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,iBAAiB,+CAuKtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scripts.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/Scripts.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAKtC,QAAA,MAAM,OAAO,EAAE,EAOd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"CssStyles.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/CssStyles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAkD3B,QAAA,MAAM,SAAS,EAAE,EAsDhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/dist/index.html
CHANGED
|
@@ -28,17 +28,21 @@
|
|
|
28
28
|
webRotateClientHost: 'https://webrotate360-client.clik.vn',
|
|
29
29
|
config: {
|
|
30
30
|
// tourCode: 'TOUR_FXYCEN7ZZVW6',
|
|
31
|
-
// tourCode: 'TOUR_GEVEXLWNPT74',
|
|
32
|
-
// tourCode: 'TOUR_7YUL2ALGFL94',
|
|
33
|
-
// tourCode: 'TOUR_KUFGDEPDTJA4',
|
|
34
|
-
tourCode: 'TOUR_ZJMHKMJEACAH',
|
|
35
|
-
language: 'VI',
|
|
36
31
|
// startScene: 'scene_kr3rgeezzvw6',
|
|
37
32
|
// hLookAt: -254,
|
|
38
33
|
// vLookAt: 1
|
|
34
|
+
// tourCode: 'TOUR_GEVEXLWNPT74',
|
|
35
|
+
// tourCode: 'TOUR_7YUL2ALGFL94',
|
|
36
|
+
// tourCode: 'TOUR_KUFGDEPDTJA4',
|
|
39
37
|
// startScene: 'SCENE_KNLRAKUHFL94',
|
|
40
38
|
// hLookAt: -54.11884505373274,
|
|
41
39
|
// vLookAt: -9.111287009391969
|
|
40
|
+
|
|
41
|
+
tourCode: 'TOUR_ZJMHKMJEACAH',
|
|
42
|
+
language: 'VI',
|
|
43
|
+
startScene: 'SCENE_LVN4DLUFACAH',
|
|
44
|
+
hLookAt: -179.145,
|
|
45
|
+
vLookAt: 11.597,
|
|
42
46
|
},
|
|
43
47
|
listeners: {
|
|
44
48
|
onTourSwitchLoaded: (tool) => {
|
|
@@ -52,7 +56,7 @@
|
|
|
52
56
|
window.tool = tool;
|
|
53
57
|
},
|
|
54
58
|
onPoiClicked: (poi) => {
|
|
55
|
-
console.log('onPoiClicked', poi);
|
|
59
|
+
// console.log('onPoiClicked', poi);
|
|
56
60
|
},
|
|
57
61
|
onPoiOut: () => {
|
|
58
62
|
// console.log('onPoiOut');
|