@clikvn/showroom-visualizer 0.1.1-dev → 0.1.2-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 (123) 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/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +30 -0
  9. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +1 -0
  10. package/dist/components/SkinLayer/Layout/index.d.ts.map +1 -1
  11. package/dist/components/SkinLayer/LoadingScreen/index.d.ts +1 -8
  12. package/dist/components/SkinLayer/LoadingScreen/index.d.ts.map +1 -1
  13. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +10 -0
  14. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +1 -0
  15. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +9 -0
  16. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +1 -0
  17. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +13 -0
  18. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +1 -0
  19. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +10 -0
  20. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +1 -0
  21. package/dist/components/SkinLayer/PlayAll/index.d.ts +8 -0
  22. package/dist/components/SkinLayer/PlayAll/index.d.ts.map +1 -0
  23. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +13 -0
  24. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +1 -0
  25. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +13 -0
  26. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +1 -0
  27. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +15 -0
  28. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +1 -0
  29. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +13 -0
  30. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +1 -0
  31. package/dist/components/Visualizer/VirtualTour/index.d.ts +5 -1
  32. package/dist/components/Visualizer/VirtualTour/index.d.ts.map +1 -1
  33. package/dist/components/Visualizer/index.d.ts +1 -1
  34. package/dist/components/Visualizer/index.d.ts.map +1 -1
  35. package/dist/constants/SkinLayer/index.d.ts +1 -0
  36. package/dist/constants/SkinLayer/index.d.ts.map +1 -1
  37. package/dist/constants/index.d.ts +1 -0
  38. package/dist/constants/index.d.ts.map +1 -1
  39. package/dist/context/StoreContext.d.ts +5 -0
  40. package/dist/context/StoreContext.d.ts.map +1 -0
  41. package/dist/features/ShowroomVisualizer/Scripts.d.ts +4 -0
  42. package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +1 -0
  43. package/dist/features/ShowroomVisualizer/TourContainer.d.ts +9 -0
  44. package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +1 -0
  45. package/dist/features/ShowroomVisualizer/Tours.d.ts +3 -0
  46. package/dist/features/ShowroomVisualizer/Tours.d.ts.map +1 -0
  47. package/dist/features/ShowroomVisualizer/VirtualTour.d.ts +7 -0
  48. package/dist/features/ShowroomVisualizer/VirtualTour.d.ts.map +1 -0
  49. package/dist/features/ShowroomVisualizer/VirtualTourContainer.d.ts +7 -0
  50. package/dist/features/ShowroomVisualizer/VirtualTourContainer.d.ts.map +1 -0
  51. package/dist/features/ShowroomVisualizer/index.d.ts +4 -17
  52. package/dist/features/ShowroomVisualizer/index.d.ts.map +1 -1
  53. package/dist/hooks/Visualizer/reducer.d.ts +116 -0
  54. package/dist/hooks/Visualizer/reducer.d.ts.map +1 -0
  55. package/dist/hooks/Visualizer/useTourDetails.d.ts +1 -1
  56. package/dist/hooks/Visualizer/useTourDetails.d.ts.map +1 -1
  57. package/dist/hooks/Visualizer/useTourVisualizer.d.ts.map +1 -1
  58. package/dist/hooks/useConfiguration.d.ts +6 -29
  59. package/dist/hooks/useConfiguration.d.ts.map +1 -1
  60. package/dist/hooks/useOverrideConfigs.d.ts +9 -0
  61. package/dist/hooks/useOverrideConfigs.d.ts.map +1 -0
  62. package/dist/hooks/useStore.d.ts +2 -233
  63. package/dist/hooks/useStore.d.ts.map +1 -1
  64. package/dist/hooks/useToolConfig.d.ts +1 -5
  65. package/dist/hooks/useToolConfig.d.ts.map +1 -1
  66. package/dist/index.html +86 -64
  67. package/dist/models/Visualizer/Tour.d.ts +2 -0
  68. package/dist/models/Visualizer/Tour.d.ts.map +1 -1
  69. package/dist/models/Visualizer/TourScenario/actions/MovingSceneAction.d.ts +1 -1
  70. package/dist/register.d.ts +4 -18
  71. package/dist/register.d.ts.map +1 -1
  72. package/dist/types/SkinLayer/index.d.ts +5 -0
  73. package/dist/types/SkinLayer/index.d.ts.map +1 -1
  74. package/dist/types/SkinLayer/listeners.type.d.ts +34 -0
  75. package/dist/types/SkinLayer/listeners.type.d.ts.map +1 -0
  76. package/dist/types/SkinLayer/overrideConfigs.type.d.ts +14 -0
  77. package/dist/types/SkinLayer/overrideConfigs.type.d.ts.map +1 -0
  78. package/dist/types/SkinLayer/product.type.d.ts +6 -0
  79. package/dist/types/SkinLayer/product.type.d.ts.map +1 -0
  80. package/dist/types/SkinLayer/store.type.d.ts +240 -0
  81. package/dist/types/SkinLayer/store.type.d.ts.map +1 -0
  82. package/dist/types/SkinLayer/tool.type.d.ts +3 -0
  83. package/dist/types/SkinLayer/tool.type.d.ts.map +1 -1
  84. package/dist/types/SkinLayer/visualizer.type.d.ts +6 -30
  85. package/dist/types/SkinLayer/visualizer.type.d.ts.map +1 -1
  86. package/dist/web.js +1 -1
  87. package/package.json +1 -1
  88. package/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts +0 -9
  89. package/dist/components/SkinLayer/PoiDetailSlideIn/GalleryProduct.d.ts.map +0 -1
  90. package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts +0 -28
  91. package/dist/components/SkinLayer/PoiDetailSlideIn/Tabs.d.ts.map +0 -1
  92. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts +0 -9
  93. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/GalleryProduct.d.ts.map +0 -1
  94. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts +0 -9
  95. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent/TabsContent.d.ts.map +0 -1
  96. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts +0 -9
  97. package/dist/components/SkinLayer/PoiDetailSlideIn/TabsContent.d.ts.map +0 -1
  98. package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts +0 -9
  99. package/dist/components/SkinLayer/PoiDetailSlideIn/gallery.d.ts.map +0 -1
  100. package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts +0 -14
  101. package/dist/components/SkinLayer/PoiDetailSlideIn/group-action-button.d.ts.map +0 -1
  102. package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts +0 -12
  103. package/dist/components/SkinLayer/PoiDetailSlideIn/header.d.ts.map +0 -1
  104. package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts +0 -7
  105. package/dist/components/SkinLayer/PoiDetailSlideIn/rating.d.ts.map +0 -1
  106. package/dist/components/SkinLayer/RightPanel/index.d.ts +0 -2
  107. package/dist/components/SkinLayer/RightPanel/index.d.ts.map +0 -1
  108. package/dist/constants/Visualizer/fallback-images.d.ts +0 -27
  109. package/dist/constants/Visualizer/fallback-images.d.ts.map +0 -1
  110. package/dist/utils/Visualizer/asset.utils.d.ts +0 -19
  111. package/dist/utils/Visualizer/asset.utils.d.ts.map +0 -1
  112. package/dist/utils/Visualizer/cors-bypass.utils.d.ts +0 -16
  113. package/dist/utils/Visualizer/cors-bypass.utils.d.ts.map +0 -1
  114. package/dist/utils/Visualizer/cors-proxy.d.ts +0 -8
  115. package/dist/utils/Visualizer/cors-proxy.d.ts.map +0 -1
  116. package/dist/utils/Visualizer/cors-test.d.ts +0 -12
  117. package/dist/utils/Visualizer/cors-test.d.ts.map +0 -1
  118. package/dist/utils/Visualizer/global-cors-handler.d.ts +0 -13
  119. package/dist/utils/Visualizer/global-cors-handler.d.ts.map +0 -1
  120. package/dist/utils/Visualizer/no-cors-fetch.d.ts +0 -20
  121. package/dist/utils/Visualizer/no-cors-fetch.d.ts.map +0 -1
  122. package/dist/utils/Visualizer/simple-cors-handler.d.ts +0 -9
  123. package/dist/utils/Visualizer/simple-cors-handler.d.ts.map +0 -1
@@ -0,0 +1,36 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="AngularAmbiguousComponentTag" enabled="false" level="ERROR" enabled_by_default="false" />
5
+ <inspection_tool class="AngularCliAddDependency" enabled="false" level="WARNING" enabled_by_default="false" />
6
+ <inspection_tool class="AngularInaccessibleComponentMemberInAotMode" enabled="false" level="WARNING" enabled_by_default="false" />
7
+ <inspection_tool class="AngularIncorrectTemplateDefinition" enabled="false" level="ERROR" enabled_by_default="false" />
8
+ <inspection_tool class="AngularInsecureBindingToEvent" enabled="false" level="WARNING" enabled_by_default="false" />
9
+ <inspection_tool class="AngularInvalidAnimationTriggerAssignment" enabled="false" level="ERROR" enabled_by_default="false" />
10
+ <inspection_tool class="AngularInvalidEntryComponent" enabled="false" level="ERROR" enabled_by_default="false" />
11
+ <inspection_tool class="AngularInvalidI18nAttribute" enabled="false" level="WARNING" enabled_by_default="false" />
12
+ <inspection_tool class="AngularInvalidImportedOrDeclaredSymbol" enabled="false" level="ERROR" enabled_by_default="false" />
13
+ <inspection_tool class="AngularInvalidSelector" enabled="false" level="ERROR" enabled_by_default="false" />
14
+ <inspection_tool class="AngularInvalidTemplateReferenceVariable" enabled="false" level="ERROR" enabled_by_default="false" />
15
+ <inspection_tool class="AngularMissingEventHandler" enabled="false" level="ERROR" enabled_by_default="false" />
16
+ <inspection_tool class="AngularMissingOrInvalidDeclarationInModule" enabled="false" level="ERROR" enabled_by_default="false" />
17
+ <inspection_tool class="AngularMissingRequiredDirectiveInputBinding" enabled="false" level="ERROR" enabled_by_default="false" />
18
+ <inspection_tool class="AngularMultipleStructuralDirectives" enabled="false" level="ERROR" enabled_by_default="false" />
19
+ <inspection_tool class="AngularNgOptimizedImage" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
20
+ <inspection_tool class="AngularNonEmptyNgContent" enabled="false" level="ERROR" enabled_by_default="false" />
21
+ <inspection_tool class="AngularRecursiveModuleImportExport" enabled="false" level="ERROR" enabled_by_default="false" />
22
+ <inspection_tool class="AngularUndefinedBinding" enabled="false" level="ERROR" enabled_by_default="false" />
23
+ <inspection_tool class="AngularUndefinedModuleExport" enabled="false" level="ERROR" enabled_by_default="false" />
24
+ <inspection_tool class="AngularUndefinedTag" enabled="false" level="ERROR" enabled_by_default="false" />
25
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
26
+ <inspection_tool class="MicronautDataMethodInconsistency" enabled="false" level="ERROR" enabled_by_default="false" />
27
+ <inspection_tool class="MicronautDataRepositoryMethodParameters" enabled="false" level="WARNING" enabled_by_default="false" />
28
+ <inspection_tool class="MicronautDataRepositoryMethodReturnType" enabled="false" level="WARNING" enabled_by_default="false" />
29
+ <inspection_tool class="MnCacheAnnotationParameters" enabled="false" level="ERROR" enabled_by_default="false" />
30
+ <inspection_tool class="MnInjectionPoints" enabled="false" level="WARNING" enabled_by_default="false" />
31
+ <inspection_tool class="MnPropertiesConfig" enabled="false" level="WARNING" enabled_by_default="false" />
32
+ <inspection_tool class="MnUnresolvedPathVariable" enabled="false" level="WARNING" enabled_by_default="false" />
33
+ <inspection_tool class="MnYamlConfig" enabled="false" level="WARNING" enabled_by_default="false" />
34
+ <inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
35
+ </profile>
36
+ </component>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EslintConfiguration">
4
+ <custom-configuration-file used="true" path="$PROJECT_DIR$/.eslintrc" />
5
+ <option name="fix-on-save" value="true" />
6
+ </component>
7
+ </project>
package/.idea/misc.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ComposerSettings">
4
+ <execution />
5
+ </component>
6
+ <component name="ProjectRootManager">
7
+ <output url="file://$PROJECT_DIR$/out" />
8
+ </component>
9
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/showroom-visualizer.iml" filepath="$PROJECT_DIR$/.idea/showroom-visualizer.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PrettierConfiguration">
4
+ <option name="myConfigurationMode" value="MANUAL" />
5
+ <option name="myRunOnSave" value="true" />
6
+ <option name="myRunOnReformat" value="true" />
7
+ </component>
8
+ </project>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,30 @@
1
+ import React, { CSSProperties, FC } from 'react';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'model-viewer': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
6
+ src?: string;
7
+ 'ios-src'?: string;
8
+ alt?: string;
9
+ style?: CSSProperties;
10
+ 'auto-rotate'?: boolean;
11
+ 'camera-controls'?: boolean;
12
+ ar?: boolean;
13
+ id?: string | number;
14
+ };
15
+ }
16
+ }
17
+ }
18
+ type ARViewerProps = {
19
+ url?: string;
20
+ iosUrl?: string;
21
+ alt?: string;
22
+ autoRotate?: boolean;
23
+ cameraControls?: boolean;
24
+ ar?: boolean;
25
+ id?: string | number;
26
+ onLoad?: () => void;
27
+ };
28
+ declare const ARViewer: FC<ARViewerProps>;
29
+ export default ARViewer;
30
+ //# sourceMappingURL=ARViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ARViewer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkinLayer/GalleryFullScreen/Content/ARViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAEpE,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,cAAc,EAAE,KAAK,CAAC,iBAAiB,CACrC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACjC,WAAW,CACZ,GAAG;gBACF,GAAG,CAAC,EAAE,MAAM,CAAC;gBACb,SAAS,CAAC,EAAE,MAAM,CAAC;gBACnB,GAAG,CAAC,EAAE,MAAM,CAAC;gBACb,KAAK,CAAC,EAAE,aAAa,CAAC;gBACtB,aAAa,CAAC,EAAE,OAAO,CAAC;gBACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;gBAC5B,EAAE,CAAC,EAAE,OAAO,CAAC;gBACb,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;aACtB,CAAC;SACH;KACF;CACF;AAED,KAAK,aAAa,GAAG;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA8C/B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/Layout/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,EAAE,EAAuB,MAAM,OAAO,CAAC;AAe/D,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AA+B9D,KAAK,KAAK,GAAG;IACX,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAsTrB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/Layout/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,EAAE,EAAuB,MAAM,OAAO,CAAC;AAc/D,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AA+B9D,KAAK,KAAK,GAAG;IACX,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAmTrB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,11 +1,4 @@
1
1
  import { FC } from 'react';
2
- type LoadingScreenProps = {
3
- imageUrl?: string;
4
- name: string;
5
- loading?: boolean;
6
- query: any;
7
- isMobile?: boolean;
8
- };
9
- declare const LoadingScreen: FC<LoadingScreenProps>;
2
+ declare const LoadingScreen: FC;
10
3
  export default LoadingScreen;
11
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/LoadingScreen/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyBzC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/LoadingScreen/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,QAAA,MAAM,aAAa,EAAE,EA4BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { ItemInfoType } from '../../../types/Visualizer';
3
+ type ModalItemInfoDescriptionPropsTypes = {
4
+ product: ItemInfoType;
5
+ collectionIdx: number;
6
+ setCollectionIdx: (val: number) => void;
7
+ };
8
+ export declare const ModalItemInfoDescription: FC<ModalItemInfoDescriptionPropsTypes>;
9
+ export {};
10
+ //# sourceMappingURL=Description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/ModalItemInfo/Description.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAI7D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,KAAK,kCAAkC,GAAG;IACxC,OAAO,EAAE,YAAY,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,EAAE,CACvC,kCAAkC,CA+MnC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { ItemInfoType } from '../../../types/Visualizer';
3
+ type ModalItemInfoIntroPropsTypes = {
4
+ product: ItemInfoType;
5
+ collectionIdx: number;
6
+ };
7
+ export declare const ModalItemInfoIntro: FC<ModalItemInfoIntroPropsTypes>;
8
+ export {};
9
+ //# sourceMappingURL=Intro.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Intro.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/ModalItemInfo/Intro.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAMzD,KAAK,4BAA4B,GAAG;IAClC,OAAO,EAAE,YAAY,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,4BAA4B,CA8C/D,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { ItemInfoType } from '../../../types/Visualizer';
3
+ type ModalItemInfoBrandMediaPropsTypes = {
4
+ product: ItemInfoType;
5
+ };
6
+ interface ModalItemInfoMediaPropsTypes extends ModalItemInfoBrandMediaPropsTypes {
7
+ collectionIdx: number;
8
+ selectedMediaIdx: number;
9
+ setSelectedMediaIdx: (val: number) => void;
10
+ }
11
+ export declare const ModalItemInfoMedia: FC<ModalItemInfoMediaPropsTypes>;
12
+ export {};
13
+ //# sourceMappingURL=Media.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Media.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/ModalItemInfo/Media.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAU,MAAM,OAAO,CAAC;AAO1C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,KAAK,iCAAiC,GAAG;IACvC,OAAO,EAAE,YAAY,CAAC;CACvB,CAAC;AAuBF,UAAU,4BACR,SAAQ,iCAAiC;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,4BAA4B,CA8K/D,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ type ModalItemInfoPropsTypes = {
3
+ wrapClassName?: string;
4
+ className?: string;
5
+ mask?: boolean;
6
+ betaLayout?: boolean;
7
+ };
8
+ declare const ModalItemInfoMemo: React.NamedExoticComponent<ModalItemInfoPropsTypes>;
9
+ export { ModalItemInfoMemo as ModalItemInfo };
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/ModalItemInfo/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAkBzE,KAAK,uBAAuB,GAAG;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAqLF,QAAA,MAAM,iBAAiB,qDAAsB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,IAAI,aAAa,EAAE,CAAC"}
@@ -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"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { TextureTypes } from '../../../types/PoiTypes';
3
+ import './styles.scss';
4
+ type Props = {
5
+ textures: TextureTypes[];
6
+ selectedIndex: number;
7
+ displayed: boolean;
8
+ imgEls: HTMLCollectionOf<HTMLImageElement>;
9
+ onClick: (index: number) => void;
10
+ };
11
+ declare const HorizontalMenu: FC<Props>;
12
+ export default HorizontalMenu;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,eAAe,CAAC;AAMvB,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAC3C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAsC7B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { TextureTypes } from '../../../types/PoiTypes';
3
+ import './styles.scss';
4
+ type Props = {
5
+ textures: TextureTypes[];
6
+ selectedIndex: number;
7
+ displayed: boolean;
8
+ imgEls: HTMLCollectionOf<HTMLImageElement>;
9
+ onClick: (index: number) => void;
10
+ };
11
+ declare const SemicircleMenu: FC<Props>;
12
+ export default SemicircleMenu;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,eAAe,CAAC;AAIvB,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAC3C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAsC7B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { CSSProperties, FC } from 'react';
2
+ import './styles.scss';
3
+ type Props = {
4
+ imgEl: HTMLImageElement;
5
+ caption: string;
6
+ activated: boolean;
7
+ displayed?: boolean;
8
+ delay?: number;
9
+ style?: CSSProperties;
10
+ onClick: () => void;
11
+ captionStyle?: CSSProperties;
12
+ };
13
+ declare const TextureMenuItem: FC<Props>;
14
+ export default TextureMenuItem;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKjD,OAAO,eAAe,CAAC;AAEvB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,gBAAgB,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CAuB9B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { TextureTypes } from '../../../types/PoiTypes';
3
+ import './styles.scss';
4
+ type Props = {
5
+ textures: TextureTypes[];
6
+ selectedIndex: number;
7
+ displayed: boolean;
8
+ imgEls: HTMLCollectionOf<HTMLImageElement>;
9
+ onClick: (index: number) => void;
10
+ };
11
+ declare const VerticalMenu: FC<Props>;
12
+ export default VerticalMenu;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,eAAe,CAAC;AAMvB,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAC3C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CAsC3B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,3 +1,7 @@
1
- declare const VirtualTour: () => import("react/jsx-runtime").JSX.Element;
1
+ import { FC } from 'react';
2
+ type Props = {
3
+ code: string;
4
+ };
5
+ declare const VirtualTour: FC<Props>;
2
6
  export default VirtualTour;
3
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Visualizer/VirtualTour/index.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,WAAW,+CAKhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Visualizer/VirtualTour/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAK1B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,2 +1,2 @@
1
- export { default as VirtualTour } from './VirtualTour';
1
+ export { default } from './VirtualTour';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Visualizer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Visualizer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -86,6 +86,7 @@ export declare const DEFAULT_GALLERY_ID: {
86
86
  export declare const POI_VISIBLE_CONFIG: SlideInActionTypes;
87
87
  export declare const WIDTH_SLIDE_IN = 390;
88
88
  export declare const GUIDE_IMAGE = "https://cdn3.clik.vn/clikvirtualtour/common/guideline/help_screen_fg.jpeg";
89
+ export declare const DEFAULT_SPLASH_SCREEN = "https://cdn3.clik.vn/clikvirtualtour/common/media/default-splash-screen.jfif";
89
90
  export declare const POPUP_TYPE: {
90
91
  TEXT: string;
91
92
  IMAGE: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/SkinLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,cAAc,iBAAiB,CAAC;AAEhC,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AAEpD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;CAcpB,CAAC;AAEF,oBAAY,wBAAwB;IAClC,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,SAAS,yCAAyC,CAAC;AAChE,eAA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;IACX,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,SAAS,yCAAyC,CAAC;AAChE,eAAO,MAAM,SAAS,EAAE;IACtB,EAAE,EAAE,YAAY,CAAC;IACjB,EAAE,EAAE,YAAY,CAAC;IACjB,EAAE,EAAE,YAAY,CAAC;IACjB,EAAE,EAAE,YAAY,CAAC;IACjB,EAAE,EAAE,YAAY,CAAC;CAClB,GAAG;IACF,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,CAAC;CAqChC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;CAQ7B,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;CAOjD,CAAC;AAEF,eAAO,MAAM,gDAAgD,MAAM,CAAC;AAEpE,eAAO,MAAM,aAAa,EAAE,gBAqB3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAmD9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,eAAO,MAAM,sCAAsC,yBAAyB,CAAC;AAE7E,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAmDhC,CAAC;AAEF,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC,eAAO,MAAM,WAAW,8EAAsD,CAAC;AAC/E,eAAO,MAAM,qBAAqB,iFAAyD,CAAC;AAE5F,eAAO,MAAM,UAAU;;;;;CAKtB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export declare const widgetElementName = "showroom-visualizer";
2
+ export declare const ALL_TOURS_KEY = "ALL_TOURS";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,aAAa,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { StoreData } from '../types/SkinLayer';
3
+ declare const StoreContext: React.Context<StoreData | null>;
4
+ export default StoreContext;
5
+ //# sourceMappingURL=StoreContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreContext.d.ts","sourceRoot":"","sources":["../../src/context/StoreContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,QAAA,MAAM,YAAY,iCAA8C,CAAC;AAEjE,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ declare const Scripts: FC;
3
+ export default Scripts;
4
+ //# sourceMappingURL=Scripts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scripts.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/Scripts.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAKtC,QAAA,MAAM,OAAO,EAAE,EAOd,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ type Props = {
3
+ mobile: boolean;
4
+ loaded: boolean;
5
+ code: string;
6
+ };
7
+ declare const TourContainer: FC<Props>;
8
+ export default TourContainer;
9
+ //# sourceMappingURL=TourContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TourContainer.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/TourContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAS5B,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const Tours: FC;
3
+ //# sourceMappingURL=Tours.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tours.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/Tours.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,KAAK,EAAE,EAEnB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ type Props = {
3
+ code: string;
4
+ };
5
+ declare const VirtualTour: FC<Props>;
6
+ export default VirtualTour;
7
+ //# sourceMappingURL=VirtualTour.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VirtualTour.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/VirtualTour.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAS1B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ type Props = {
3
+ code: string;
4
+ };
5
+ export declare const VirtualTourContainer: FC<Props>;
6
+ export {};
7
+ //# sourceMappingURL=VirtualTourContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VirtualTourContainer.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/VirtualTourContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAI1C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { ToolType } from '../../types/SkinLayer/tool.type';
2
+ import { ProductType, VisualizerListenersType } from '../../types/SkinLayer';
3
3
  type VirtualTourVisualizerProps = {
4
4
  elementId?: string;
5
5
  apiHost?: string;
@@ -13,22 +13,9 @@ type VirtualTourVisualizerProps = {
13
13
  hLookAt?: number;
14
14
  vLookAt?: number;
15
15
  slideInOffset?: number;
16
- } & Record<string, unknown>;
17
- listeners?: Partial<{
18
- onLoaded: (tool: ToolType) => void;
19
- onPoiClicked?: (poi: any) => void;
20
- onSceneCompleted?: (sceneCode: string, categoryCode?: string) => void;
21
- onStartScenario: (scenarioCode: string) => void;
22
- onScenarioEnded: (scenarioCode: string) => void;
23
- onScenarioPaused: (scenarioCode: string) => void;
24
- onToggleSlideIn: (arg: {
25
- open: boolean;
26
- offset: number;
27
- }) => void;
28
- onPlaybarOpen: () => void;
29
- onPlaybarClosed: () => void;
30
- onPinActionClicked: (key: string) => void;
31
- }>;
16
+ };
17
+ listeners?: VisualizerListenersType;
18
+ products?: ProductType[];
32
19
  };
33
20
  declare const ShowroomVisualizer: FC<VirtualTourVisualizerProps>;
34
21
  export default ShowroomVisualizer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/ShowroomVisualizer/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAwB,MAAM,OAAO,CAAC;AAQjD,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAI3D,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAA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roomVisualizer/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAA2C,MAAM,OAAO,CAAC;AASpE,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAI7E,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;CAC1B,CAAC;AACF,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,0BAA0B,CAiFtD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,116 @@
1
+ import Poi from '../../../model/Poi/Poi';
2
+ import { CoordsTypes } from '../../../types/PoiTypes';
3
+ import { FloorplanTypes } from './../../../types/FloorplanTypes';
4
+ export declare const storeName = "tour";
5
+ export declare const actions: {
6
+ SET_TOUR: string;
7
+ SET_ACTIVE_SCENE: string;
8
+ SET_ACTIVE_POI: string;
9
+ SET_ACTIVE_POI_COORDS: string;
10
+ SET_SELECTED_POI: string;
11
+ SET_SELECTED_POI_ACTIVE: string;
12
+ SET_ACTIVE_TOUR_GUIDE: string;
13
+ STOP_ACTIVE_TOUR_GUIDE: string;
14
+ TOGGLE_ACTIVE_TOUR_GUIDE: string;
15
+ TOGGLE_ACTIVE_BG_SOUND: string;
16
+ SET_LOADING: string;
17
+ TOGGLE_TOUR_PLUGIN: string;
18
+ SET_MOUSE_WHEEL: string;
19
+ SET_ACTIVE_FLOOR_PLAN: string;
20
+ SET_ALL_POI_VISIBLE: string;
21
+ SET_LOADING_SCENE: string;
22
+ SET_SOUND_PLAYABLE: string;
23
+ SET_SELECTED_PROMOTION: string;
24
+ SET_SELECTED_GALLERY: string;
25
+ SET_TOUR_READY: string;
26
+ SET_POI_TEXTURE_DATA: string;
27
+ SET_VIEW_ROTATING: string;
28
+ SET_TOUR_SCENARIO: string;
29
+ SET_ACTIVE_SCENARIO_CODE: string;
30
+ SET_REVIEW_SCENARIO_CODE: string;
31
+ SET_LANGUAGE: string;
32
+ SET_SCENARIO_LOADED: string;
33
+ SET_SCENARIO_CONFIG_CODES: string;
34
+ SET_EXIST_POI_TYPE: string;
35
+ SET_POI_CODE_BY_TYPE: string;
36
+ INCREASE_REPLAY_COUNTING: string;
37
+ SET_FLOOR_PLANS: string;
38
+ };
39
+ export interface TourStateType {
40
+ tourReady: boolean;
41
+ data: any;
42
+ activeScene: any;
43
+ activePoi: any;
44
+ activePoiCoords: any;
45
+ selectedPoi: any;
46
+ activeTourGuide: any;
47
+ backgroundSoundPlaying: boolean;
48
+ loading: boolean;
49
+ loadingScene: boolean;
50
+ plugin: {
51
+ [key: string]: boolean;
52
+ };
53
+ activeFloorPlan: FloorplanTypes;
54
+ soundReady: boolean;
55
+ selectedPromotion: any;
56
+ selectedGallery: any;
57
+ poiTextureData: {
58
+ poi: Poi | null;
59
+ coords: CoordsTypes | null;
60
+ };
61
+ viewRotating: boolean;
62
+ activeScenarioCode?: string;
63
+ reviewScenarioCode?: string;
64
+ language: string;
65
+ scenarioLoaded: {
66
+ [key: string]: boolean;
67
+ };
68
+ scenarioConfigCodes?: string[];
69
+ existPoiTypes?: string[];
70
+ poiCodeByType: {
71
+ [key: string]: string[];
72
+ };
73
+ poiCodeActive?: string;
74
+ replayCounting?: number;
75
+ floorplans: FloorplanTypes[];
76
+ }
77
+ declare const _default: (base: {
78
+ readonly tourReady: boolean;
79
+ readonly data: any;
80
+ readonly activeScene: any;
81
+ readonly activePoi: any;
82
+ readonly activePoiCoords: any;
83
+ readonly selectedPoi: any;
84
+ readonly activeTourGuide: any;
85
+ readonly backgroundSoundPlaying: boolean;
86
+ readonly loading: boolean;
87
+ readonly loadingScene: boolean;
88
+ readonly plugin: {
89
+ readonly [x: string]: boolean;
90
+ };
91
+ readonly activeFloorPlan: FloorplanTypes;
92
+ readonly soundReady: boolean;
93
+ readonly selectedPromotion: any;
94
+ readonly selectedGallery: any;
95
+ readonly poiTextureData: {
96
+ readonly poi: Poi | null;
97
+ readonly coords: CoordsTypes | null;
98
+ };
99
+ readonly viewRotating: boolean;
100
+ readonly activeScenarioCode?: string | undefined;
101
+ readonly reviewScenarioCode?: string | undefined;
102
+ readonly language: string;
103
+ readonly scenarioLoaded: {
104
+ readonly [x: string]: boolean;
105
+ };
106
+ readonly scenarioConfigCodes?: readonly string[] | undefined;
107
+ readonly existPoiTypes?: readonly string[] | undefined;
108
+ readonly poiCodeByType: {
109
+ readonly [x: string]: readonly string[];
110
+ };
111
+ readonly poiCodeActive?: string | undefined;
112
+ readonly replayCounting?: number | undefined;
113
+ readonly floorplans: any;
114
+ } | undefined, action: any) => TourStateType | undefined;
115
+ export default _default;
116
+ //# sourceMappingURL=reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../src/hooks/Visualizer/reducer.ts"],"names":[],"mappings":"AAGA,OAAO,GAAG,MAAM,wBAAwB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,eAAO,MAAM,SAAS,SAAS,CAAC;AAChC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCnB,CAAC;AAE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AAG;qCACI,OAAO;sBACtB,OAAO;2BACF,OAAO;;;;8BAEJ,cAAc;yBACnB,OAAO;gCACA,GAAG;8BACL,GAAG;;sBACG,GAAG,GAAG,IAAI;yBAAU,WAAW,GAAG,IAAI;;2BAC/C,OAAO;kCAEA,MAAM;kCACN,MAAM;uBACjB,MAAM;;;;;;;;;6BAKA,MAAM;8BACL,MAAM;;;AAmCzB,wBA4HG"}
@@ -1,3 +1,3 @@
1
- declare const useTourDetails: () => void;
1
+ declare const useTourDetails: (tourCode: string) => void;
2
2
  export default useTourDetails;
3
3
  //# sourceMappingURL=useTourDetails.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTourDetails.d.ts","sourceRoot":"","sources":["../../../src/hooks/Visualizer/useTourDetails.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,cAAc,YAmKnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"useTourDetails.d.ts","sourceRoot":"","sources":["../../../src/hooks/Visualizer/useTourDetails.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,cAAc,GAAI,UAAU,MAAM,SAmKvC,CAAC;AAEF,eAAe,cAAc,CAAC"}