@clikvn/showroom-visualizer 0.1.4-dev → 0.1.6-dev

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 (93) hide show
  1. package/dist/components/SkinLayer/Floorplan/Minimap/index.d.ts.map +1 -1
  2. package/dist/components/SkinLayer/PlayAll/index.d.ts +0 -8
  3. package/dist/components/SkinLayer/PlayAll/index.d.ts.map +0 -1
  4. package/dist/components/SkinLayer/PoiDetailSlideIn/Detail.d.ts +2 -1
  5. package/dist/components/SkinLayer/PoiDetailSlideIn/Detail.d.ts.map +1 -1
  6. package/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts +9 -0
  7. package/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts.map +1 -0
  8. package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts +28 -0
  9. package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts.map +1 -0
  10. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts +9 -0
  11. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts.map +1 -0
  12. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/Tabs.d.ts +2 -1
  13. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/Tabs.d.ts.map +1 -1
  14. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts +9 -0
  15. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts.map +1 -0
  16. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts +9 -0
  17. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts.map +1 -0
  18. package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts +9 -0
  19. package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts.map +1 -0
  20. package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts +14 -0
  21. package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts.map +1 -0
  22. package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts +12 -0
  23. package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts.map +1 -0
  24. package/dist/components/SkinLayer/PoiDetailSlideIn/index.d.ts.map +1 -1
  25. package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts +7 -0
  26. package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts.map +1 -0
  27. package/dist/components/SkinLayer/RightPanel/index.d.ts +2 -0
  28. package/dist/components/SkinLayer/RightPanel/index.d.ts.map +1 -0
  29. package/dist/constants/Visualizer/fallback-images.d.ts +27 -0
  30. package/dist/constants/Visualizer/fallback-images.d.ts.map +1 -0
  31. package/dist/hooks/Visualizer/useConfiguration.d.ts +1 -0
  32. package/dist/hooks/Visualizer/useConfiguration.d.ts.map +1 -1
  33. package/dist/hooks/useStore.d.ts.map +1 -1
  34. package/dist/index.html +67 -88
  35. package/dist/types/SkinLayer/common.type.d.ts +1 -0
  36. package/dist/types/SkinLayer/common.type.d.ts.map +1 -1
  37. package/dist/types/SkinLayer/listeners.type.d.ts +1 -0
  38. package/dist/types/SkinLayer/listeners.type.d.ts.map +1 -1
  39. package/dist/types/SkinLayer/store.type.d.ts +4 -0
  40. package/dist/types/SkinLayer/store.type.d.ts.map +1 -1
  41. package/dist/types/Visualizer/visualizer.type.d.ts +1 -0
  42. package/dist/types/Visualizer/visualizer.type.d.ts.map +1 -1
  43. package/dist/utils/Visualizer/asset.utils.d.ts +19 -0
  44. package/dist/utils/Visualizer/asset.utils.d.ts.map +1 -0
  45. package/dist/utils/Visualizer/cors-bypass.utils.d.ts +16 -0
  46. package/dist/utils/Visualizer/cors-bypass.utils.d.ts.map +1 -0
  47. package/dist/utils/Visualizer/cors-proxy.d.ts +8 -0
  48. package/dist/utils/Visualizer/cors-proxy.d.ts.map +1 -0
  49. package/dist/utils/Visualizer/cors-test.d.ts +12 -0
  50. package/dist/utils/Visualizer/cors-test.d.ts.map +1 -0
  51. package/dist/utils/Visualizer/global-cors-handler.d.ts +13 -0
  52. package/dist/utils/Visualizer/global-cors-handler.d.ts.map +1 -0
  53. package/dist/utils/Visualizer/no-cors-fetch.d.ts +20 -0
  54. package/dist/utils/Visualizer/no-cors-fetch.d.ts.map +1 -0
  55. package/dist/utils/Visualizer/simple-cors-handler.d.ts +9 -0
  56. package/dist/utils/Visualizer/simple-cors-handler.d.ts.map +1 -0
  57. package/dist/web.js +1 -1
  58. package/package.json +1 -1
  59. package/.idea/inspectionProfiles/Project_Default.xml +0 -36
  60. package/.idea/jsLinters/eslint.xml +0 -7
  61. package/.idea/misc.xml +0 -9
  62. package/.idea/modules.xml +0 -8
  63. package/.idea/prettier.xml +0 -8
  64. package/.idea/showroom-visualizer.iml +0 -9
  65. package/.idea/vcs.xml +0 -6
  66. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +0 -30
  67. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +0 -1
  68. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +0 -10
  69. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +0 -1
  70. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +0 -9
  71. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +0 -1
  72. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +0 -13
  73. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +0 -1
  74. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +0 -10
  75. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +0 -1
  76. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +0 -13
  77. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +0 -1
  78. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +0 -13
  79. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +0 -1
  80. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +0 -15
  81. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +0 -1
  82. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +0 -13
  83. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +0 -1
  84. package/dist/context/StoreContext.d.ts +0 -5
  85. package/dist/context/StoreContext.d.ts.map +0 -1
  86. package/dist/features/ShowroomVisualizer/Scripts.d.ts +0 -4
  87. package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +0 -1
  88. package/dist/features/ShowroomVisualizer/TourContainer.d.ts +0 -9
  89. package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +0 -1
  90. package/dist/features/ShowroomVisualizer/Tours.d.ts +0 -3
  91. package/dist/features/ShowroomVisualizer/Tours.d.ts.map +0 -1
  92. package/dist/hooks/Visualizer/reducer.d.ts +0 -116
  93. package/dist/hooks/Visualizer/reducer.d.ts.map +0 -1
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Simple CORS proxy solution
3
+ */
4
+ /**
5
+ * Fetch with CORS proxy fallback
6
+ */
7
+ export declare const fetchWithCORSProxy: (url: string, options?: RequestInit) => Promise<Response>;
8
+ //# sourceMappingURL=cors-proxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cors-proxy.d.ts","sourceRoot":"","sources":["../../../src/utils/Visualizer/cors-proxy.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAC7B,KAAK,MAAM,EACX,UAAS,WAAgB,KACxB,OAAO,CAAC,QAAQ,CA+ClB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Test utilities để kiểm tra CORS handling
3
+ */
4
+ /**
5
+ * Test global CORS handler
6
+ */
7
+ export declare const testCORSHandler: () => void;
8
+ /**
9
+ * Test với proxy trực tiếp
10
+ */
11
+ export declare const testProxyDirectly: () => void;
12
+ //# sourceMappingURL=cors-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cors-test.d.ts","sourceRoot":"","sources":["../../../src/utils/Visualizer/cors-test.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,eAAO,MAAM,eAAe,YAuB3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,YAW7B,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Global CORS handler cho tất cả images
3
+ * Đơn giản và hiệu quả
4
+ */
5
+ /**
6
+ * Initialize global CORS handling
7
+ */
8
+ export declare const initGlobalCORSHandler: () => void;
9
+ /**
10
+ * Disable global CORS handling
11
+ */
12
+ export declare const disableGlobalCORSHandler: () => void;
13
+ //# sourceMappingURL=global-cors-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-cors-handler.d.ts","sourceRoot":"","sources":["../../../src/utils/Visualizer/global-cors-handler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH;;GAEG;AACH,eAAO,MAAM,qBAAqB,YAmUjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,YAOpC,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Alternative fetch methods that work with no-cors
3
+ */
4
+ /**
5
+ * Load JSON data bằng dynamic script tag (JSONP alternative)
6
+ */
7
+ export declare const loadJSONWithScript: (url: string) => Promise<any>;
8
+ /**
9
+ * Load JSON bằng Image tag trick (for very small data)
10
+ */
11
+ export declare const loadJSONWithImage: (url: string) => Promise<any>;
12
+ /**
13
+ * Load JSON bằng iframe trick
14
+ */
15
+ export declare const loadJSONWithIframe: (url: string) => Promise<any>;
16
+ /**
17
+ * Fallback method - try multiple approaches
18
+ */
19
+ export declare const loadJSONFallback: (url: string) => Promise<any>;
20
+ //# sourceMappingURL=no-cors-fetch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-cors-fetch.d.ts","sourceRoot":"","sources":["../../../src/utils/Visualizer/no-cors-fetch.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,KAAG,OAAO,CAAC,GAAG,CA8B3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,KAAK,MAAM,KAAG,OAAO,CAAC,GAAG,CAe1D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,KAAG,OAAO,CAAC,GAAG,CAqC3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAU,KAAK,MAAM,KAAG,OAAO,CAAC,GAAG,CAmB/D,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Simple CORS handler - chỉ thay thế URLs với proxy
3
+ * Approach đơn giản và đáng tin cậy hơn
4
+ */
5
+ /**
6
+ * Thay thế tất cả CDN URLs với proxy URLs
7
+ */
8
+ export declare const initSimpleCORSHandler: () => void;
9
+ //# sourceMappingURL=simple-cors-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simple-cors-handler.d.ts","sourceRoot":"","sources":["../../../src/utils/Visualizer/simple-cors-handler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,eAAO,MAAM,qBAAqB,YA+FjC,CAAC"}