@clikvn/showroom-visualizer 0.2.1-hotfix-05 → 0.2.1-hotfix-06

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 (50) hide show
  1. package/README.md +30 -30
  2. package/base.json +21 -21
  3. package/dist/components/SkinLayer/PlayAll/index.d.ts +8 -0
  4. package/dist/components/SkinLayer/PlayAll/index.d.ts.map +1 -0
  5. package/dist/components/SkinLayer/PoiDetailSlideIn/index.d.ts.map +1 -1
  6. package/dist/fonts/icomoon.svg +633 -633
  7. package/dist/index.html +4 -46
  8. package/dist/models/Visualizer/Poi/Poi.d.ts +1 -0
  9. package/dist/models/Visualizer/Poi/Poi.d.ts.map +1 -1
  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/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts +0 -9
  16. package/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts.map +0 -1
  17. package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts +0 -28
  18. package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts.map +0 -1
  19. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts +0 -9
  20. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts.map +0 -1
  21. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts +0 -9
  22. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts.map +0 -1
  23. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts +0 -9
  24. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts.map +0 -1
  25. package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts +0 -9
  26. package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts.map +0 -1
  27. package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts +0 -14
  28. package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts.map +0 -1
  29. package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts +0 -12
  30. package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts.map +0 -1
  31. package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts +0 -7
  32. package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts.map +0 -1
  33. package/dist/components/SkinLayer/RightPanel/index.d.ts +0 -2
  34. package/dist/components/SkinLayer/RightPanel/index.d.ts.map +0 -1
  35. package/dist/constants/Visualizer/fallback-images.d.ts +0 -27
  36. package/dist/constants/Visualizer/fallback-images.d.ts.map +0 -1
  37. package/dist/utils/Visualizer/asset.utils.d.ts +0 -19
  38. package/dist/utils/Visualizer/asset.utils.d.ts.map +0 -1
  39. package/dist/utils/Visualizer/cors-bypass.utils.d.ts +0 -16
  40. package/dist/utils/Visualizer/cors-bypass.utils.d.ts.map +0 -1
  41. package/dist/utils/Visualizer/cors-proxy.d.ts +0 -8
  42. package/dist/utils/Visualizer/cors-proxy.d.ts.map +0 -1
  43. package/dist/utils/Visualizer/cors-test.d.ts +0 -12
  44. package/dist/utils/Visualizer/cors-test.d.ts.map +0 -1
  45. package/dist/utils/Visualizer/global-cors-handler.d.ts +0 -13
  46. package/dist/utils/Visualizer/global-cors-handler.d.ts.map +0 -1
  47. package/dist/utils/Visualizer/no-cors-fetch.d.ts +0 -20
  48. package/dist/utils/Visualizer/no-cors-fetch.d.ts.map +0 -1
  49. package/dist/utils/Visualizer/simple-cors-handler.d.ts +0 -9
  50. package/dist/utils/Visualizer/simple-cors-handler.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,8 @@
1
+ import { FC } from 'react';
2
+ export type PlayAllPropsType = {
3
+ onClickAutoPlay?: () => void;
4
+ loading?: boolean;
5
+ };
6
+ declare const PlayAll: FC<PlayAllPropsType>;
7
+ export default PlayAll;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/PlayAll/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAIF,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,gBAAgB,CAoCjC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/PoiDetailSlideIn/index.tsx"],"names":[],"mappings":"AAWA,OAAc,EACZ,EAAE,EAMH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,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