@clikvn/showroom-visualizer 0.2.5 → 0.2.6

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 (63) hide show
  1. package/base.json +21 -21
  2. package/dist/fonts/icomoon.svg +633 -633
  3. package/dist/index.html +27 -102
  4. package/dist/web.d.ts.map +1 -1
  5. package/dist/web.js +1 -1
  6. package/package.json +1 -1
  7. package/tailwind.config.cjs +151 -151
  8. package/.idea/inspectionProfiles/Project_Default.xml +0 -36
  9. package/.idea/jsLinters/eslint.xml +0 -7
  10. package/.idea/misc.xml +0 -9
  11. package/.idea/modules.xml +0 -8
  12. package/.idea/prettier.xml +0 -8
  13. package/.idea/showroom-visualizer.iml +0 -9
  14. package/.idea/vcs.xml +0 -6
  15. package/dist/components/SkinLayer/DefaultLayout/index.d.ts +0 -8
  16. package/dist/components/SkinLayer/DefaultLayout/index.d.ts.map +0 -1
  17. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +0 -30
  18. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +0 -1
  19. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +0 -10
  20. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +0 -1
  21. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +0 -9
  22. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +0 -1
  23. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +0 -13
  24. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +0 -1
  25. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +0 -10
  26. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +0 -1
  27. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +0 -13
  28. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +0 -1
  29. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +0 -13
  30. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +0 -1
  31. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +0 -15
  32. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +0 -1
  33. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +0 -13
  34. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +0 -1
  35. package/dist/context/CustomLayoutContext.d.ts +0 -20
  36. package/dist/context/CustomLayoutContext.d.ts.map +0 -1
  37. package/dist/context/StoreContext.d.ts +0 -5
  38. package/dist/context/StoreContext.d.ts.map +0 -1
  39. package/dist/features/ShowroomVisualizer/Scripts.d.ts +0 -4
  40. package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +0 -1
  41. package/dist/features/ShowroomVisualizer/TourContainer.d.ts +0 -9
  42. package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +0 -1
  43. package/dist/features/ShowroomVisualizer/Tours.d.ts +0 -3
  44. package/dist/features/ShowroomVisualizer/Tours.d.ts.map +0 -1
  45. package/dist/hooks/Visualizer/reducer.d.ts +0 -116
  46. package/dist/hooks/Visualizer/reducer.d.ts.map +0 -1
  47. package/dist/hooks/headless/index.d.ts +0 -150
  48. package/dist/hooks/headless/index.d.ts.map +0 -1
  49. package/dist/hooks/headless/useFloorplanControl.d.ts +0 -18
  50. package/dist/hooks/headless/useFloorplanControl.d.ts.map +0 -1
  51. package/dist/hooks/headless/usePOIInteraction.d.ts +0 -23
  52. package/dist/hooks/headless/usePOIInteraction.d.ts.map +0 -1
  53. package/dist/hooks/headless/useScenarioControl.d.ts +0 -22
  54. package/dist/hooks/headless/useScenarioControl.d.ts.map +0 -1
  55. package/dist/hooks/headless/useSceneNavigation.d.ts +0 -26
  56. package/dist/hooks/headless/useSceneNavigation.d.ts.map +0 -1
  57. package/dist/hooks/headless/useTourCore.d.ts +0 -23
  58. package/dist/hooks/headless/useTourCore.d.ts.map +0 -1
  59. package/dist/hooks/headless/useViewportControl.d.ts +0 -22
  60. package/dist/hooks/headless/useViewportControl.d.ts.map +0 -1
  61. package/dist/index.js +0 -1
  62. package/dist/types/custom-layout.d.ts +0 -167
  63. package/dist/types/custom-layout.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clikvn/showroom-visualizer",
3
3
  "description": "Showroom Visualizer",
4
- "version": "0.2.5",
4
+ "version": "0.2.6",
5
5
  "author": "Clik JSC",
6
6
  "license": "ISC",
7
7
  "type": "module",
@@ -1,151 +1,151 @@
1
- // eslint-disable-next-line @typescript-eslint/no-var-requires
2
- const defaultTheme = require('tailwindcss/defaultTheme');
3
- const plugin = require('tailwindcss/plugin');
4
-
5
- function rem2px(input, fontSize = 16) {
6
- if (input == null) {
7
- return input;
8
- }
9
- switch (typeof input) {
10
- case 'object':
11
- if (Array.isArray(input)) {
12
- return input.map((val) => rem2px(val, fontSize));
13
- }
14
- // eslint-disable-next-line no-case-declarations
15
- const ret = {};
16
- for (const key in input) {
17
- ret[key] = rem2px(input[key], fontSize);
18
- }
19
- return ret;
20
- case 'string':
21
- return input.replace(
22
- /(\d*\.?\d+)rem$/,
23
- (_, val) => `${parseFloat(val) * fontSize}px`
24
- );
25
- case 'function':
26
- return eval(
27
- input
28
- .toString()
29
- .replace(
30
- /(\d*\.?\d+)rem/g,
31
- (_, val) => `${parseFloat(val) * fontSize}px`
32
- )
33
- );
34
- default:
35
- return input;
36
- }
37
- }
38
-
39
- /** @type {import('tailwindcss').Config} */
40
- module.exports = {
41
- darkMode: ['class'],
42
- content: ['./src/**/*.{js,jsx,ts,tsx}'],
43
- theme: {
44
- ...rem2px(defaultTheme),
45
- fontFamily: {
46
- sans: ['Be Vietnam Pro', 'sans-serif'],
47
- mono: ['Be Vietnam Pro', 'sans-serif'],
48
- },
49
- extend: {
50
- keyframes: {
51
- 'fade-in': {
52
- '0%': {
53
- opacity: '0',
54
- },
55
- '100%': {
56
- opacity: '1',
57
- },
58
- },
59
- 'poi-item-info-bg-animation': {
60
- '0%': {
61
- 'background-color': 'rgba(0, 0, 0, 0)',
62
- },
63
- '100%': {
64
- 'background-color': 'rgba(0, 0, 0, 0.48)',
65
- },
66
- },
67
- 'poi-item-info-animation': {
68
- '0%': {
69
- width: '0',
70
- },
71
- '100%': {
72
- width: '100%',
73
- },
74
- },
75
- },
76
- /*animation: {
77
- 'fade-in': 'fade-in 0.3s ease-out',
78
- },
79
- borderRadius: {
80
- lg: 'var(--radius)',
81
- md: 'calc(var(--radius) - 2px)',
82
- sm: 'calc(var(--radius) - 4px)',
83
- },*/
84
- colors: {
85
- background: 'var(--background)',
86
- foreground: 'var(--foreground)',
87
- card: {
88
- DEFAULT: 'var(--card)',
89
- foreground: 'var(--card-foreground)',
90
- },
91
- popover: {
92
- DEFAULT: 'var(--popover)',
93
- foreground: 'var(--popover-foreground)',
94
- },
95
- primary: {
96
- DEFAULT: 'var(--primary)',
97
- foreground: 'var(--primary-foreground)',
98
- },
99
- secondary: {
100
- DEFAULT: 'var(--secondary)',
101
- foreground: 'var(--secondary-foreground)',
102
- },
103
- muted: {
104
- DEFAULT: 'var(--muted)',
105
- foreground: 'var(--muted-foreground)',
106
- },
107
- accent: {
108
- DEFAULT: 'var(--accent)',
109
- foreground: 'var(--accent-foreground)',
110
- },
111
- destructive: {
112
- DEFAULT: 'var(--destructive)',
113
- foreground: 'var(--destructive-foreground)',
114
- },
115
- border: 'var(--border)',
116
- input: 'var(--input)',
117
- ring: 'var(--ring)',
118
- rating: 'var(--rating)',
119
- chart: {
120
- 1: 'var(--chart-1)',
121
- 2: 'var(--chart-2)',
122
- 3: 'var(--chart-3)',
123
- 4: 'var(--chart-4)',
124
- 5: 'var(--chart-5)',
125
- },
126
- sidebar: {
127
- DEFAULT: 'var(--sidebar)',
128
- foreground: 'var(--sidebar-foreground)',
129
- primary: 'var(--sidebar-primary)',
130
- 'primary-foreground': 'var(--sidebar-primary-foreground)',
131
- accent: 'var(--sidebar-accent)',
132
- 'accent-foreground': 'var(--sidebar-accent-foreground)',
133
- border: 'var(--sidebar-border)',
134
- ring: 'var(--sidebar-ring)',
135
- },
136
- base: 'var(--base)',
137
- },
138
- },
139
- },
140
- plugins: [
141
- require('tailwindcss-animate'),
142
- require('@tailwindcss/typography'),
143
- plugin(function ({ addVariant }) {
144
- addVariant('wrapped', ({ container }) => {
145
- container.walkRules((rule) => {
146
- rule.selector = `.clik-chatbot-wrapper ${rule.selector}`;
147
- });
148
- });
149
- }),
150
- ],
151
- };
1
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
2
+ const defaultTheme = require('tailwindcss/defaultTheme');
3
+ const plugin = require('tailwindcss/plugin');
4
+
5
+ function rem2px(input, fontSize = 16) {
6
+ if (input == null) {
7
+ return input;
8
+ }
9
+ switch (typeof input) {
10
+ case 'object':
11
+ if (Array.isArray(input)) {
12
+ return input.map((val) => rem2px(val, fontSize));
13
+ }
14
+ // eslint-disable-next-line no-case-declarations
15
+ const ret = {};
16
+ for (const key in input) {
17
+ ret[key] = rem2px(input[key], fontSize);
18
+ }
19
+ return ret;
20
+ case 'string':
21
+ return input.replace(
22
+ /(\d*\.?\d+)rem$/,
23
+ (_, val) => `${parseFloat(val) * fontSize}px`
24
+ );
25
+ case 'function':
26
+ return eval(
27
+ input
28
+ .toString()
29
+ .replace(
30
+ /(\d*\.?\d+)rem/g,
31
+ (_, val) => `${parseFloat(val) * fontSize}px`
32
+ )
33
+ );
34
+ default:
35
+ return input;
36
+ }
37
+ }
38
+
39
+ /** @type {import('tailwindcss').Config} */
40
+ module.exports = {
41
+ darkMode: ['class'],
42
+ content: ['./src/**/*.{js,jsx,ts,tsx}'],
43
+ theme: {
44
+ ...rem2px(defaultTheme),
45
+ fontFamily: {
46
+ sans: ['Be Vietnam Pro', 'sans-serif'],
47
+ mono: ['Be Vietnam Pro', 'sans-serif'],
48
+ },
49
+ extend: {
50
+ keyframes: {
51
+ 'fade-in': {
52
+ '0%': {
53
+ opacity: '0',
54
+ },
55
+ '100%': {
56
+ opacity: '1',
57
+ },
58
+ },
59
+ 'poi-item-info-bg-animation': {
60
+ '0%': {
61
+ 'background-color': 'rgba(0, 0, 0, 0)',
62
+ },
63
+ '100%': {
64
+ 'background-color': 'rgba(0, 0, 0, 0.48)',
65
+ },
66
+ },
67
+ 'poi-item-info-animation': {
68
+ '0%': {
69
+ width: '0',
70
+ },
71
+ '100%': {
72
+ width: '100%',
73
+ },
74
+ },
75
+ },
76
+ /*animation: {
77
+ 'fade-in': 'fade-in 0.3s ease-out',
78
+ },
79
+ borderRadius: {
80
+ lg: 'var(--radius)',
81
+ md: 'calc(var(--radius) - 2px)',
82
+ sm: 'calc(var(--radius) - 4px)',
83
+ },*/
84
+ colors: {
85
+ background: 'var(--background)',
86
+ foreground: 'var(--foreground)',
87
+ card: {
88
+ DEFAULT: 'var(--card)',
89
+ foreground: 'var(--card-foreground)',
90
+ },
91
+ popover: {
92
+ DEFAULT: 'var(--popover)',
93
+ foreground: 'var(--popover-foreground)',
94
+ },
95
+ primary: {
96
+ DEFAULT: 'var(--primary)',
97
+ foreground: 'var(--primary-foreground)',
98
+ },
99
+ secondary: {
100
+ DEFAULT: 'var(--secondary)',
101
+ foreground: 'var(--secondary-foreground)',
102
+ },
103
+ muted: {
104
+ DEFAULT: 'var(--muted)',
105
+ foreground: 'var(--muted-foreground)',
106
+ },
107
+ accent: {
108
+ DEFAULT: 'var(--accent)',
109
+ foreground: 'var(--accent-foreground)',
110
+ },
111
+ destructive: {
112
+ DEFAULT: 'var(--destructive)',
113
+ foreground: 'var(--destructive-foreground)',
114
+ },
115
+ border: 'var(--border)',
116
+ input: 'var(--input)',
117
+ ring: 'var(--ring)',
118
+ rating: 'var(--rating)',
119
+ chart: {
120
+ 1: 'var(--chart-1)',
121
+ 2: 'var(--chart-2)',
122
+ 3: 'var(--chart-3)',
123
+ 4: 'var(--chart-4)',
124
+ 5: 'var(--chart-5)',
125
+ },
126
+ sidebar: {
127
+ DEFAULT: 'var(--sidebar)',
128
+ foreground: 'var(--sidebar-foreground)',
129
+ primary: 'var(--sidebar-primary)',
130
+ 'primary-foreground': 'var(--sidebar-primary-foreground)',
131
+ accent: 'var(--sidebar-accent)',
132
+ 'accent-foreground': 'var(--sidebar-accent-foreground)',
133
+ border: 'var(--sidebar-border)',
134
+ ring: 'var(--sidebar-ring)',
135
+ },
136
+ base: 'var(--base)',
137
+ },
138
+ },
139
+ },
140
+ plugins: [
141
+ require('tailwindcss-animate'),
142
+ require('@tailwindcss/typography'),
143
+ plugin(function ({ addVariant }) {
144
+ addVariant('wrapped', ({ container }) => {
145
+ container.walkRules((rule) => {
146
+ rule.selector = `.clik-chatbot-wrapper ${rule.selector}`;
147
+ });
148
+ });
149
+ }),
150
+ ],
151
+ };
@@ -1,36 +0,0 @@
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>
@@ -1,7 +0,0 @@
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 DELETED
@@ -1,9 +0,0 @@
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>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
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>
@@ -1,8 +0,0 @@
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>
@@ -1,9 +0,0 @@
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 DELETED
@@ -1,6 +0,0 @@
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>
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { ToolType } from '../../../types/SkinLayer/tool.type';
3
- type Props = {
4
- onToolLoaded?: (tool: ToolType) => void;
5
- };
6
- declare const Layout: FC<Props>;
7
- export default Layout;
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkinLayer/DefaultLayout/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,EAAE,EAAuB,MAAM,OAAO,CAAC;AAa/D,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAmC9D,KAAK,KAAK,GAAG;IACX,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CA8VrB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,30 +0,0 @@
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
@@ -1 +0,0 @@
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,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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,20 +0,0 @@
1
- import { ComponentType, ReactNode } from 'react';
2
- import { CustomLayoutConfig } from '../types/custom-layout';
3
- type CustomLayoutContextType = {
4
- customLayout: CustomLayoutConfig;
5
- getCustomComponent: <T = unknown>(path: string[], defaultComponent: ComponentType<T>) => ComponentType<T>;
6
- };
7
- /**
8
- * Hook để access custom layout configuration
9
- */
10
- export declare const useCustomLayout: () => CustomLayoutContextType;
11
- type Props = {
12
- customLayout?: CustomLayoutConfig;
13
- children: ReactNode;
14
- };
15
- /**
16
- * CustomLayoutProvider - Wrap app với provider này để enable component overrides
17
- */
18
- export declare const CustomLayoutProvider: React.FC<Props>;
19
- export {};
20
- //# sourceMappingURL=CustomLayoutContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomLayoutContext.d.ts","sourceRoot":"","sources":["../../src/context/CustomLayoutContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EACL,kBAAkB,EAEnB,MAAM,wBAAwB,CAAC;AAEhC,KAAK,uBAAuB,GAAG;IAC7B,YAAY,EAAE,kBAAkB,CAAC;IACjC,kBAAkB,EAAE,CAAC,CAAC,GAAG,OAAO,EAC9B,IAAI,EAAE,MAAM,EAAE,EACd,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,KAC/B,aAAa,CAAC,CAAC,CAAC,CAAC;CACvB,CAAC;AAOF;;GAEG;AACH,eAAO,MAAM,eAAe,+BAAwC,CAAC;AAErE,KAAK,KAAK,GAAG;IACX,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwChD,CAAC"}
@@ -1,5 +0,0 @@
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
@@ -1 +0,0 @@
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"}