@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.
Files changed (49) hide show
  1. package/README.md +30 -30
  2. package/base.json +21 -21
  3. package/dist/components/SkinLayer/PinActionButtons/ButtonWithTooltip.d.ts +10 -0
  4. package/dist/components/SkinLayer/PinActionButtons/ButtonWithTooltip.d.ts.map +1 -0
  5. package/dist/components/SkinLayer/PlayBar/index.d.ts.map +1 -1
  6. package/dist/constants/SkinLayer/poiDetail.d.ts +7 -0
  7. package/dist/constants/SkinLayer/poiDetail.d.ts.map +1 -0
  8. package/dist/fonts/icomoon.svg +633 -633
  9. package/dist/index.html +27 -102
  10. package/dist/web.d.ts.map +1 -1
  11. package/dist/web.js +1 -1
  12. package/package.json +124 -124
  13. package/rollup.config.js +97 -97
  14. package/tailwind.config.cjs +151 -151
  15. package/.idea/inspectionProfiles/Project_Default.xml +0 -36
  16. package/.idea/jsLinters/eslint.xml +0 -7
  17. package/.idea/misc.xml +0 -9
  18. package/.idea/modules.xml +0 -8
  19. package/.idea/prettier.xml +0 -8
  20. package/.idea/showroom-visualizer.iml +0 -9
  21. package/.idea/vcs.xml +0 -6
  22. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +0 -30
  23. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +0 -1
  24. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +0 -10
  25. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +0 -1
  26. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +0 -9
  27. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +0 -1
  28. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +0 -13
  29. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +0 -1
  30. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +0 -10
  31. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +0 -1
  32. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +0 -13
  33. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +0 -1
  34. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +0 -13
  35. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +0 -1
  36. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +0 -15
  37. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +0 -1
  38. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +0 -13
  39. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +0 -1
  40. package/dist/context/StoreContext.d.ts +0 -5
  41. package/dist/context/StoreContext.d.ts.map +0 -1
  42. package/dist/features/ShowroomVisualizer/Scripts.d.ts +0 -4
  43. package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +0 -1
  44. package/dist/features/ShowroomVisualizer/TourContainer.d.ts +0 -9
  45. package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +0 -1
  46. package/dist/features/ShowroomVisualizer/Tours.d.ts +0 -3
  47. package/dist/features/ShowroomVisualizer/Tours.d.ts.map +0 -1
  48. package/dist/hooks/Visualizer/reducer.d.ts +0 -116
  49. 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,EAAoD,MAAM,OAAO,CAAC;AAc7E,QAAA,MAAM,OAAO,EAAE,EAkUd,CAAC;AAEF,eAAe,OAAO,CAAC"}
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,7 @@
1
+ export declare const PRODUCT_TABS: {
2
+ info: string;
3
+ gallery: string;
4
+ webRotate: string;
5
+ ar: string;
6
+ };
7
+ //# sourceMappingURL=poiDetail.d.ts.map
@@ -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"}