@clikvn/showroom-visualizer 0.2.1-hotfix-02 → 0.2.1-hotfix-04

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 (46) hide show
  1. package/README.md +30 -30
  2. package/base.json +21 -21
  3. package/dist/features/ShowroomVisualizer/index.d.ts.map +1 -1
  4. package/dist/fonts/icomoon.svg +633 -633
  5. package/dist/hooks/useToolConfig.d.ts.map +1 -1
  6. package/dist/index.html +27 -102
  7. package/dist/web.d.ts.map +1 -1
  8. package/dist/web.js +1 -1
  9. package/package.json +124 -124
  10. package/rollup.config.js +97 -97
  11. package/tailwind.config.cjs +151 -151
  12. package/.idea/inspectionProfiles/Project_Default.xml +0 -36
  13. package/.idea/jsLinters/eslint.xml +0 -7
  14. package/.idea/misc.xml +0 -9
  15. package/.idea/modules.xml +0 -8
  16. package/.idea/prettier.xml +0 -8
  17. package/.idea/showroom-visualizer.iml +0 -9
  18. package/.idea/vcs.xml +0 -6
  19. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +0 -30
  20. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +0 -1
  21. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +0 -10
  22. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +0 -1
  23. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +0 -9
  24. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +0 -1
  25. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +0 -13
  26. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +0 -1
  27. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +0 -10
  28. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +0 -1
  29. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +0 -13
  30. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +0 -1
  31. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +0 -13
  32. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +0 -1
  33. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +0 -15
  34. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +0 -1
  35. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +0 -13
  36. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +0 -1
  37. package/dist/context/StoreContext.d.ts +0 -5
  38. package/dist/context/StoreContext.d.ts.map +0 -1
  39. package/dist/features/ShowroomVisualizer/Scripts.d.ts +0 -4
  40. package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +0 -1
  41. package/dist/features/ShowroomVisualizer/TourContainer.d.ts +0 -9
  42. package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +0 -1
  43. package/dist/features/ShowroomVisualizer/Tours.d.ts +0 -3
  44. package/dist/features/ShowroomVisualizer/Tours.d.ts.map +0 -1
  45. package/dist/hooks/Visualizer/reducer.d.ts +0 -116
  46. 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
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,EAAE,EAKH,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAM7E,KAAK,0BAA0B,GAAG;IAChC,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,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;CAC1B,CAAC;AACF,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,0BAA0B,CA6QtD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,EAAE,EAKH,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAM7E,KAAK,0BAA0B,GAAG;IAChC,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,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;CAC1B,CAAC;AACF,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,0BAA0B,CAoRtD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}