@clikvn/showroom-visualizer 0.2.2-dev-10 → 0.2.2-dev-12

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 (71) hide show
  1. package/.idea/inspectionProfiles/Project_Default.xml +36 -0
  2. package/.idea/jsLinters/eslint.xml +7 -0
  3. package/.idea/misc.xml +9 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/prettier.xml +8 -0
  6. package/.idea/showroom-visualizer.iml +9 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/DEVELOPMENT.md +120 -120
  9. package/EXAMPLES.md +967 -967
  10. package/README.md +139 -139
  11. package/SETUP_COMPLETE.md +149 -149
  12. package/dist/components/SkinLayer/Drawer/PoiHeader/index.d.ts +16 -0
  13. package/dist/components/SkinLayer/Drawer/PoiHeader/index.d.ts.map +1 -0
  14. package/dist/components/SkinLayer/Drawer/index.d.ts +29 -0
  15. package/dist/components/SkinLayer/Drawer/index.d.ts.map +1 -0
  16. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +30 -0
  17. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +1 -0
  18. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +10 -0
  19. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +1 -0
  20. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +9 -0
  21. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +1 -0
  22. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +13 -0
  23. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +1 -0
  24. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +10 -0
  25. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +1 -0
  26. package/dist/components/SkinLayer/PlayAll/index.d.ts +8 -0
  27. package/dist/components/SkinLayer/PlayAll/index.d.ts.map +1 -0
  28. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +13 -0
  29. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +1 -0
  30. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +13 -0
  31. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +1 -0
  32. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +15 -0
  33. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +1 -0
  34. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +13 -0
  35. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +1 -0
  36. package/dist/context/StoreContext.d.ts +5 -0
  37. package/dist/context/StoreContext.d.ts.map +1 -0
  38. package/dist/features/ShowroomVisualizer/Scripts.d.ts +4 -0
  39. package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +1 -0
  40. package/dist/features/ShowroomVisualizer/TourContainer.d.ts +9 -0
  41. package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +1 -0
  42. package/dist/features/ShowroomVisualizer/Tours.d.ts +3 -0
  43. package/dist/features/ShowroomVisualizer/Tours.d.ts.map +1 -0
  44. package/dist/features/VirtualTourVisualizer/index.d.ts +20 -0
  45. package/dist/features/VirtualTourVisualizer/index.d.ts.map +1 -0
  46. package/dist/features/VirtualTourVisualizerUI/index.d.ts +17 -0
  47. package/dist/features/VirtualTourVisualizerUI/index.d.ts.map +1 -0
  48. package/dist/hooks/Visualizer/reducer.d.ts +116 -0
  49. package/dist/hooks/Visualizer/reducer.d.ts.map +1 -0
  50. package/dist/index.html +95 -95
  51. package/dist/index.js +1 -1
  52. package/dist/web.js +1 -1
  53. package/example/CSS_HANDLING.md +141 -141
  54. package/example/FIXES_SUMMARY.md +121 -121
  55. package/example/PATH_ALIASES.md +103 -103
  56. package/example/README.md +64 -64
  57. package/example/index.html +13 -13
  58. package/example/package.json +25 -25
  59. package/example/postcss.config.cjs +5 -5
  60. package/example/tailwind.config.cjs +12 -12
  61. package/example/tsconfig.node.json +12 -12
  62. package/example/vite.config.ts +125 -125
  63. package/package.json +132 -132
  64. package/rollup.config.js +66 -3
  65. package/.claude/settings.local.json +0 -19
  66. package/dist/context/SwizzleContext.d.ts +0 -21
  67. package/dist/context/SwizzleContext.d.ts.map +0 -1
  68. package/dist/types/swizzle.d.ts +0 -59
  69. package/dist/types/swizzle.d.ts.map +0 -1
  70. /package/dist/features/ShowroomVisualizer/{CssStyles.d.ts → cssStyles.d.ts} +0 -0
  71. /package/dist/features/ShowroomVisualizer/{CssStyles.d.ts.map → cssStyles.d.ts.map} +0 -0
@@ -1,59 +0,0 @@
1
- /**
2
- * Swizzle Config - Cho phép customize components theo nested path
3
- * Giống như Docusaurus swizzle pattern
4
- *
5
- * @example
6
- * ```tsx
7
- * // ✅ ĐÚNG - Pass component function
8
- * swizzle={{
9
- * 'Floorplan.Minimap.Marker': CustomMarker,
10
- * 'Floorplan.Minimap': CustomMinimap,
11
- * }}
12
- *
13
- * // ❌ SAI - Không pass React element
14
- * swizzle={{
15
- * 'Floorplan.Minimap.Marker': <CustomMarker />, // ❌ Wrong!
16
- * }}
17
- * ```
18
- *
19
- * @important Pass component functions, NOT React elements!
20
- */
21
- export type SwizzleConfig = {
22
- Floorplan?: any;
23
- 'Floorplan.Map'?: any;
24
- 'Floorplan.Minimap'?: any;
25
- 'Floorplan.Minimap.Marker'?: any;
26
- 'Floorplan.Minimap.Polygon'?: any;
27
- 'Floorplan.Minimap.Radar'?: any;
28
- };
29
- /**
30
- * Helper type để auto-complete swizzle paths
31
- */
32
- export type SwizzlePath = keyof SwizzleConfig;
33
- /**
34
- * Registry của tất cả components có thể swizzle
35
- * Dùng để documentation và validation
36
- */
37
- export declare const SWIZZLEABLE_COMPONENTS: {
38
- readonly Floorplan: {
39
- readonly path: "src/components/SkinLayer/Floorplan/index.tsx";
40
- readonly description: "Main Floorplan container with bottom sheet";
41
- };
42
- readonly 'Floorplan.Map': {
43
- readonly path: "src/components/SkinLayer/Floorplan/Map.tsx";
44
- readonly description: "Floorplan map wrapper with controls";
45
- };
46
- readonly 'Floorplan.Minimap': {
47
- readonly path: "src/components/SkinLayer/Floorplan/Minimap/index.tsx";
48
- readonly description: "Interactive minimap with markers and polygons";
49
- };
50
- readonly 'Floorplan.Minimap.Marker': {
51
- readonly path: "src/components/SkinLayer/Floorplan/Minimap/MiniMapMarker.tsx";
52
- readonly description: "Individual marker on minimap";
53
- };
54
- readonly 'Floorplan.Minimap.Polygon': {
55
- readonly path: "src/components/SkinLayer/Floorplan/Minimap/MiniMapPolygons/index.tsx";
56
- readonly description: "Polygon areas on minimap";
57
- };
58
- };
59
- //# sourceMappingURL=swizzle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"swizzle.d.ts","sourceRoot":"","sources":["../../src/types/swizzle.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,aAAa,GAAG;IAE1B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,0BAA0B,CAAC,EAAE,GAAG,CAAC;IACjC,2BAA2B,CAAC,EAAE,GAAG,CAAC;IAClC,yBAAyB,CAAC,EAAE,GAAG,CAAC;CAGjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,aAAa,CAAC;AAE9C;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;CAsBzB,CAAC"}