@clikvn/showroom-visualizer 0.4.1-dev-13 → 0.4.1-dev-14

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 (39) hide show
  1. package/CLAUDE.md +145 -145
  2. package/DEVELOPMENT.md +120 -120
  3. package/EXAMPLES.md +967 -967
  4. package/README.md +489 -489
  5. package/SETUP_COMPLETE.md +149 -149
  6. package/base.json +21 -21
  7. package/dist/components/SkinLayer/Drawer/PoiHeader/index.d.ts +16 -0
  8. package/dist/components/SkinLayer/Drawer/PoiHeader/index.d.ts.map +1 -0
  9. package/dist/components/SkinLayer/Drawer/index.d.ts +29 -0
  10. package/dist/components/SkinLayer/Drawer/index.d.ts.map +1 -0
  11. package/dist/components/SkinLayer/PlayAll/index.d.ts +8 -0
  12. package/dist/components/SkinLayer/PlayAll/index.d.ts.map +1 -0
  13. package/dist/features/VirtualTourVisualizer/index.d.ts +20 -0
  14. package/dist/features/VirtualTourVisualizer/index.d.ts.map +1 -0
  15. package/dist/features/VirtualTourVisualizerUI/index.d.ts +17 -0
  16. package/dist/features/VirtualTourVisualizerUI/index.d.ts.map +1 -0
  17. package/dist/fonts/icomoon.svg +633 -633
  18. package/dist/index.html +36 -0
  19. package/dist/index.js +1 -1
  20. package/dist/web.d.ts.map +1 -1
  21. package/dist/web.js +1 -1
  22. package/example/CSS_HANDLING.md +141 -141
  23. package/example/FIXES_SUMMARY.md +121 -131
  24. package/example/PATH_ALIASES.md +103 -102
  25. package/example/README.md +64 -63
  26. package/example/index.html +13 -12
  27. package/example/package.json +25 -25
  28. package/example/postcss.config.cjs +6 -6
  29. package/example/tailwind.config.cjs +12 -12
  30. package/example/tsconfig.node.json +12 -11
  31. package/example/vite.config.ts +142 -142
  32. package/package.json +133 -133
  33. package/rollup.config.js +400 -400
  34. package/tailwind.config.cjs +151 -151
  35. package/.claude/settings.local.json +0 -19
  36. package/dist/components/SkinLayer/Floorplan/Minimap/test01.d.ts +0 -15
  37. package/dist/components/SkinLayer/Floorplan/Minimap/test01.d.ts.map +0 -1
  38. /package/dist/features/ShowroomVisualizer/{CssStyles.d.ts → cssStyles.d.ts} +0 -0
  39. /package/dist/features/ShowroomVisualizer/{CssStyles.d.ts.map → cssStyles.d.ts.map} +0 -0
@@ -0,0 +1,36 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
8
+ />
9
+ <title>Title</title>
10
+ <script type="module">
11
+ import ShowroomVisualizer from 'http://localhost:3000/web.js';
12
+
13
+ ShowroomVisualizer.initVisualizer({
14
+ apiHost: 'https://ci-api.clik.vn/vt360',
15
+ webRotateHost: 'https://ci-webrotate360-client.clik.vn',
16
+ config: {
17
+ tourCode: "TOUR_KUFGDEPDTJA4",
18
+ language: 'VI',
19
+ },
20
+ onLoaded: (tool) => {
21
+ window.tool = tool;
22
+ },
23
+ mobile: false,
24
+ listeners: {
25
+ onToggleFavorite: (productCode) =>
26
+ console.log('productCode', productCode),
27
+ },
28
+ });
29
+ </script>
30
+ </head>
31
+ <body>
32
+ <div style="width: 100vw; height: 100vh; overflow: hidden">
33
+ <showroom-visualizer></showroom-visualizer>
34
+ </div>
35
+ </body>
36
+ </html>