@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.
- package/dist/components/SkinLayer/Floorplan/Minimap/index.d.ts.map +1 -1
- package/dist/components/SkinLayer/PlayAll/index.d.ts +0 -8
- package/dist/components/SkinLayer/PlayAll/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiDetailSlideIn/Detail.d.ts +2 -1
- package/dist/components/SkinLayer/PoiDetailSlideIn/Detail.d.ts.map +1 -1
- package/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts +9 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts +28 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts +9 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/Tabs.d.ts +2 -1
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/Tabs.d.ts.map +1 -1
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts +9 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts +9 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts +9 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts +14 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts +12 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts.map +1 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/index.d.ts.map +1 -1
- package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts +7 -0
- package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts.map +1 -0
- package/dist/components/SkinLayer/RightPanel/index.d.ts +2 -0
- package/dist/components/SkinLayer/RightPanel/index.d.ts.map +1 -0
- package/dist/constants/Visualizer/fallback-images.d.ts +27 -0
- package/dist/constants/Visualizer/fallback-images.d.ts.map +1 -0
- package/dist/hooks/Visualizer/useConfiguration.d.ts +1 -0
- package/dist/hooks/Visualizer/useConfiguration.d.ts.map +1 -1
- package/dist/hooks/useStore.d.ts.map +1 -1
- package/dist/index.html +67 -88
- package/dist/types/SkinLayer/common.type.d.ts +1 -0
- package/dist/types/SkinLayer/common.type.d.ts.map +1 -1
- package/dist/types/SkinLayer/listeners.type.d.ts +1 -0
- package/dist/types/SkinLayer/listeners.type.d.ts.map +1 -1
- package/dist/types/SkinLayer/store.type.d.ts +4 -0
- package/dist/types/SkinLayer/store.type.d.ts.map +1 -1
- package/dist/types/Visualizer/visualizer.type.d.ts +1 -0
- package/dist/types/Visualizer/visualizer.type.d.ts.map +1 -1
- package/dist/utils/Visualizer/asset.utils.d.ts +19 -0
- package/dist/utils/Visualizer/asset.utils.d.ts.map +1 -0
- package/dist/utils/Visualizer/cors-bypass.utils.d.ts +16 -0
- package/dist/utils/Visualizer/cors-bypass.utils.d.ts.map +1 -0
- package/dist/utils/Visualizer/cors-proxy.d.ts +8 -0
- package/dist/utils/Visualizer/cors-proxy.d.ts.map +1 -0
- package/dist/utils/Visualizer/cors-test.d.ts +12 -0
- package/dist/utils/Visualizer/cors-test.d.ts.map +1 -0
- package/dist/utils/Visualizer/global-cors-handler.d.ts +13 -0
- package/dist/utils/Visualizer/global-cors-handler.d.ts.map +1 -0
- package/dist/utils/Visualizer/no-cors-fetch.d.ts +20 -0
- package/dist/utils/Visualizer/no-cors-fetch.d.ts.map +1 -0
- package/dist/utils/Visualizer/simple-cors-handler.d.ts +9 -0
- package/dist/utils/Visualizer/simple-cors-handler.d.ts.map +1 -0
- package/dist/web.js +1 -1
- package/package.json +1 -1
- package/.idea/inspectionProfiles/Project_Default.xml +0 -36
- package/.idea/jsLinters/eslint.xml +0 -7
- package/.idea/misc.xml +0 -9
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -8
- package/.idea/showroom-visualizer.iml +0 -9
- package/.idea/vcs.xml +0 -6
- package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +0 -30
- package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +0 -10
- package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +0 -9
- package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +0 -13
- package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +0 -1
- package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +0 -10
- package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +0 -13
- package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +0 -13
- package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +0 -15
- package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +0 -1
- package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +0 -13
- package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +0 -1
- package/dist/context/StoreContext.d.ts +0 -5
- package/dist/context/StoreContext.d.ts.map +0 -1
- package/dist/features/ShowroomVisualizer/Scripts.d.ts +0 -4
- package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +0 -1
- package/dist/features/ShowroomVisualizer/TourContainer.d.ts +0 -9
- package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +0 -1
- package/dist/features/ShowroomVisualizer/Tours.d.ts +0 -3
- package/dist/features/ShowroomVisualizer/Tours.d.ts.map +0 -1
- package/dist/hooks/Visualizer/reducer.d.ts +0 -116
- package/dist/hooks/Visualizer/reducer.d.ts.map +0 -1
|
@@ -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"}
|