@clikvn/showroom-visualizer 0.2.2 → 0.2.3
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 +30 -30
- package/base.json +21 -21
- package/dist/components/SkinLayer/PinActionButtons/ButtonWithTooltip.d.ts +10 -0
- package/dist/components/SkinLayer/PinActionButtons/ButtonWithTooltip.d.ts.map +1 -0
- package/dist/components/SkinLayer/PlayBar/index.d.ts.map +1 -1
- package/dist/constants/SkinLayer/poiDetail.d.ts +7 -0
- package/dist/constants/SkinLayer/poiDetail.d.ts.map +1 -0
- package/dist/fonts/icomoon.svg +633 -633
- package/dist/index.html +27 -102
- package/dist/web.d.ts.map +1 -1
- package/dist/web.js +1 -1
- package/package.json +124 -124
- package/rollup.config.js +97 -97
- package/tailwind.config.cjs +151 -151
- package/.idea/inspectionProfiles/Project_Default.xml +0 -36
- package/.idea/jsLinters/eslint.xml +0 -7
- package/.idea/misc.xml +0 -9
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -8
- package/.idea/showroom-visualizer.iml +0 -9
- package/.idea/vcs.xml +0 -6
- package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +0 -30
- package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +0 -10
- package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +0 -9
- package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +0 -13
- package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +0 -10
- package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +0 -13
- package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +0 -13
- package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +0 -15
- package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +0 -13
- package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +0 -1
- package/dist/context/StoreContext.d.ts +0 -5
- package/dist/context/StoreContext.d.ts.map +0 -1
- package/dist/features/ShowroomVisualizer/Scripts.d.ts +0 -4
- package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +0 -1
- package/dist/features/ShowroomVisualizer/TourContainer.d.ts +0 -9
- package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +0 -1
- package/dist/features/ShowroomVisualizer/Tours.d.ts +0 -3
- package/dist/features/ShowroomVisualizer/Tours.d.ts.map +0 -1
- package/dist/hooks/Visualizer/reducer.d.ts +0 -116
- package/dist/hooks/Visualizer/reducer.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
<!-- markdownlint-disable MD030 -->
|
|
2
|
-
|
|
3
|
-
# showroom-visualizer
|
|
4
|
-
|
|
5
|
-
Javascript library to display Clik Showroom Visualizer with UI on your website
|
|
6
|
-
|
|
7
|
-
```html
|
|
8
|
-
<!-- public/index.html -->
|
|
9
|
-
<script type="module">
|
|
10
|
-
import ShowroomVisualizer from 'http://localhost:3000/web.js';
|
|
11
|
-
ShowroomVisualizer.initVisualizer({
|
|
12
|
-
apiHost: 'https://ci-api.clik.vn/vt360',
|
|
13
|
-
config: {
|
|
14
|
-
tourCode: 'TOUR_FXYCEN7ZZVW6',
|
|
15
|
-
language: 'EN'
|
|
16
|
-
},
|
|
17
|
-
onLoaded: tool => {
|
|
18
|
-
window.tool = tool;
|
|
19
|
-
},
|
|
20
|
-
mobile: false
|
|
21
|
-
});
|
|
22
|
-
</script>
|
|
23
|
-
<div style="width: 100vw; height: 100vh">
|
|
24
|
-
<showroom-visualizer></showroom-visualizer>
|
|
25
|
-
</div>
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
<!-- markdownlint-disable MD030 -->
|
|
2
|
+
|
|
3
|
+
# showroom-visualizer
|
|
4
|
+
|
|
5
|
+
Javascript library to display Clik Showroom Visualizer with UI on your website
|
|
6
|
+
|
|
7
|
+
```html
|
|
8
|
+
<!-- public/index.html -->
|
|
9
|
+
<script type="module">
|
|
10
|
+
import ShowroomVisualizer from 'http://localhost:3000/web.js';
|
|
11
|
+
ShowroomVisualizer.initVisualizer({
|
|
12
|
+
apiHost: 'https://ci-api.clik.vn/vt360',
|
|
13
|
+
config: {
|
|
14
|
+
tourCode: 'TOUR_FXYCEN7ZZVW6',
|
|
15
|
+
language: 'EN'
|
|
16
|
+
},
|
|
17
|
+
onLoaded: tool => {
|
|
18
|
+
window.tool = tool;
|
|
19
|
+
},
|
|
20
|
+
mobile: false
|
|
21
|
+
});
|
|
22
|
+
</script>
|
|
23
|
+
<div style="width: 100vw; height: 100vh">
|
|
24
|
+
<showroom-visualizer></showroom-visualizer>
|
|
25
|
+
</div>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
31
|
add <Scripts /> in ShowroomVisualizer load js ÂR
|
package/base.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "Default",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"composite": false,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationMap": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"forceConsistentCasingInFileNames": true,
|
|
10
|
-
"inlineSources": false,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"moduleResolution": "node",
|
|
13
|
-
"noUnusedLocals": false,
|
|
14
|
-
"noUnusedParameters": false,
|
|
15
|
-
"preserveWatchOutput": true,
|
|
16
|
-
"skipLibCheck": true,
|
|
17
|
-
"strict": true,
|
|
18
|
-
"downlevelIteration": true
|
|
19
|
-
},
|
|
20
|
-
"exclude": ["node_modules"]
|
|
21
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"display": "Default",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"composite": false,
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"forceConsistentCasingInFileNames": true,
|
|
10
|
+
"inlineSources": false,
|
|
11
|
+
"isolatedModules": true,
|
|
12
|
+
"moduleResolution": "node",
|
|
13
|
+
"noUnusedLocals": false,
|
|
14
|
+
"noUnusedParameters": false,
|
|
15
|
+
"preserveWatchOutput": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"strict": true,
|
|
18
|
+
"downlevelIteration": true
|
|
19
|
+
},
|
|
20
|
+
"exclude": ["node_modules"]
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type TooltipPlacement = 'left' | 'right' | 'top' | 'bottom';
|
|
3
|
+
type ButtonWithTooltipProps = {
|
|
4
|
+
title?: string;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
placement?: TooltipPlacement;
|
|
7
|
+
};
|
|
8
|
+
declare const ButtonWithTooltip: FC<ButtonWithTooltipProps>;
|
|
9
|
+
export default ButtonWithTooltip;
|
|
10
|
+
//# sourceMappingURL=ButtonWithTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonWithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/PinActionButtons/ButtonWithTooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,EAAE,EAA2B,MAAM,OAAO,CAAC;AAK9D,KAAK,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE5D,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAmKjD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/PlayBar/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/PlayBar/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAA4C,MAAM,OAAO,CAAC;AAcrE,QAAA,MAAM,OAAO,EAAE,EAgUd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poiDetail.d.ts","sourceRoot":"","sources":["../../../src/constants/SkinLayer/poiDetail.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;CAKxB,CAAC"}
|