kitchen-simulator 5.0.0-test.6 → 5.0.0-test.8

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 (178) hide show
  1. package/package.json +23 -3
  2. package/src/components/_export.js +11 -0
  3. package/src/components/viewer3d/scene-creator.js +23 -26
  4. package/src/components/viewer3d/viewer3d.js +18 -18
  5. package/src/components/catalog-view/catalog-breadcrumb.jsx +0 -53
  6. package/src/components/catalog-view/catalog-item.jsx +0 -229
  7. package/src/components/catalog-view/catalog-list.jsx +0 -173
  8. package/src/components/catalog-view/catalog-page-item.jsx +0 -110
  9. package/src/components/catalog-view/catalog-turn-back-page-item.jsx +0 -80
  10. package/src/components/configurator/custom-configurator.jsx +0 -77
  11. package/src/components/configurator/project-configurator.jsx +0 -120
  12. package/src/components/export.js +0 -36
  13. package/src/components/firstsetting/button/styles.js +0 -223
  14. package/src/components/firstsetting/export.js +0 -9
  15. package/src/components/firstsetting/firstsetting-content-button.jsx +0 -198
  16. package/src/components/firstsetting/firstsetting-toggle-button.jsx +0 -101
  17. package/src/components/firstsetting/firstsetting.jsx +0 -814
  18. package/src/components/footerbar/button/ControlButton.jsx +0 -43
  19. package/src/components/footerbar/button/DirectionButton.jsx +0 -54
  20. package/src/components/footerbar/button/DirectionPanSpinButton.jsx +0 -36
  21. package/src/components/footerbar/button/ToggleButton.jsx +0 -58
  22. package/src/components/footerbar/button/ToggleConvertButton.jsx +0 -48
  23. package/src/components/footerbar/button/ToggleMeasureButton.jsx +0 -33
  24. package/src/components/footerbar/button/styles.js +0 -217
  25. package/src/components/footerbar/export.js +0 -9
  26. package/src/components/footerbar/footer-content-button.jsx +0 -198
  27. package/src/components/footerbar/footer-toggle-button.jsx +0 -101
  28. package/src/components/footerbar/footerbar.jsx +0 -1103
  29. package/src/components/footerbar/styles.js +0 -263
  30. package/src/components/header/button/MenuButton.jsx +0 -46
  31. package/src/components/header/button/SaveButton.jsx +0 -54
  32. package/src/components/header/button/styles.js +0 -181
  33. package/src/components/header/export.js +0 -5
  34. package/src/components/header/header.jsx +0 -631
  35. package/src/components/header/header.style.css +0 -47
  36. package/src/components/header/styles.js +0 -320
  37. package/src/components/login/Login.js +0 -77
  38. package/src/components/login/LoginForm/index.js +0 -108
  39. package/src/components/login/Register.js +0 -83
  40. package/src/components/login/RegisterForm/index.js +0 -171
  41. package/src/components/login/jwtService.js +0 -201
  42. package/src/components/login/style.css +0 -158
  43. package/src/components/login/style.scss +0 -260
  44. package/src/components/myprojects/export.js +0 -5
  45. package/src/components/myprojects/index.jsx +0 -445
  46. package/src/components/myprojects/styles.js +0 -241
  47. package/src/components/sidebar/custom-accordion.jsx +0 -48
  48. package/src/components/sidebar/export.js +0 -15
  49. package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +0 -73
  50. package/src/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.jsx +0 -101
  51. package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +0 -149
  52. package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +0 -316
  53. package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +0 -108
  54. package/src/components/sidebar/panel-element-editor/element-editor.jsx +0 -1070
  55. package/src/components/sidebar/panel-element-editor/multi-elements-editor.jsx +0 -0
  56. package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +0 -104
  57. package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +0 -155
  58. package/src/components/sidebar/panel-group-editor.jsx +0 -272
  59. package/src/components/sidebar/panel-groups.jsx +0 -310
  60. package/src/components/sidebar/panel-guides.jsx +0 -192
  61. package/src/components/sidebar/panel-layer-elements.jsx +0 -298
  62. package/src/components/sidebar/panel-layers.jsx +0 -381
  63. package/src/components/sidebar/panel.jsx +0 -71
  64. package/src/components/sidebar/sidebar.jsx +0 -106
  65. package/src/components/sidebar/toolbar-panel.jsx +0 -139
  66. package/src/components/sign/export.js +0 -7
  67. package/src/components/sign/main/index.jsx +0 -523
  68. package/src/components/sign/main/styles.js +0 -163
  69. package/src/components/toolbar/button/ControlButton.jsx +0 -41
  70. package/src/components/toolbar/button/DirectionButton.jsx +0 -34
  71. package/src/components/toolbar/button/RightButton.jsx +0 -103
  72. package/src/components/toolbar/button/ToggleButton.jsx +0 -41
  73. package/src/components/toolbar/button/index.jsx +0 -55
  74. package/src/components/toolbar/button/styles.js +0 -127
  75. package/src/components/toolbar/components/DoorStyleMenu.jsx +0 -103
  76. package/src/components/toolbar/components/Pricing.jsx +0 -126
  77. package/src/components/toolbar/components/ReviewForQuote.jsx +0 -635
  78. package/src/components/toolbar/export.js +0 -21
  79. package/src/components/toolbar/main/Alert.js +0 -122
  80. package/src/components/toolbar/main/TakePictureModal.jsx +0 -104
  81. package/src/components/toolbar/main/confirm-popup.jsx +0 -99
  82. package/src/components/toolbar/main/index.jsx +0 -5687
  83. package/src/components/toolbar/main/lShaped.json +0 -311
  84. package/src/components/toolbar/main/longNarrow.json +0 -238
  85. package/src/components/toolbar/main/myComponents.js +0 -123
  86. package/src/components/toolbar/main/oRectangle.json +0 -220
  87. package/src/components/toolbar/main/rectangle.json +0 -238
  88. package/src/components/toolbar/main/style.css +0 -107
  89. package/src/components/toolbar/main/styles.js +0 -696
  90. package/src/components/toolbar/plugin-item.jsx +0 -123
  91. package/src/components/toolbar/popup/appliance/appliance-category/index.jsx +0 -73
  92. package/src/components/toolbar/popup/appliance/choose-appliance/index.jsx +0 -102
  93. package/src/components/toolbar/popup/appliance/index.jsx +0 -83
  94. package/src/components/toolbar/popup/autosaveprompt/index.jsx +0 -150
  95. package/src/components/toolbar/popup/autosaveprompt/styles.css +0 -64
  96. package/src/components/toolbar/popup/autosaveprompt/styles.js +0 -40
  97. package/src/components/toolbar/popup/cabinet/cabinet-category/index.jsx +0 -73
  98. package/src/components/toolbar/popup/cabinet/choose-product/index.jsx +0 -119
  99. package/src/components/toolbar/popup/cabinet/index.jsx +0 -85
  100. package/src/components/toolbar/popup/doorStyle/choose-style/index.jsx +0 -63
  101. package/src/components/toolbar/popup/doorStyle/index.jsx +0 -71
  102. package/src/components/toolbar/popup/doorStyle/style-category/index.jsx +0 -139
  103. package/src/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -2
  104. package/src/components/toolbar/popup/downloadsummary/downloadSummaryTemp.jsx +0 -157
  105. package/src/components/toolbar/popup/downloadsummary/index.jsx +0 -643
  106. package/src/components/toolbar/popup/downloadsummary/show2D/show2DView.jsx +0 -51
  107. package/src/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.jsx +0 -175
  108. package/src/components/toolbar/popup/downloadsummary/show3D/show3DView.jsx +0 -283
  109. package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +0 -2257
  110. package/src/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -93
  111. package/src/components/toolbar/popup/downloadsummary/showElevation/showElevationView.jsx +0 -132
  112. package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +0 -2198
  113. package/src/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx +0 -152
  114. package/src/components/toolbar/popup/downloadsummary/showWarranty.jsx +0 -149
  115. package/src/components/toolbar/popup/downloadsummary/styles.css +0 -177
  116. package/src/components/toolbar/popup/downloadsummary/styles.js +0 -453
  117. package/src/components/toolbar/popup/finishingtouch/category/index.jsx +0 -34
  118. package/src/components/toolbar/popup/finishingtouch/index.jsx +0 -58
  119. package/src/components/toolbar/popup/finishingtouch/material-edit.jsx +0 -112
  120. package/src/components/toolbar/popup/finishingtouch/product/index.jsx +0 -116
  121. package/src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx +0 -101
  122. package/src/components/toolbar/popup/floorplan/choose-floor/index.jsx +0 -254
  123. package/src/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
  124. package/src/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
  125. package/src/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
  126. package/src/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
  127. package/src/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -86
  128. package/src/components/toolbar/popup/floorplan/floor-category/index.jsx +0 -109
  129. package/src/components/toolbar/popup/floorplan/index.jsx +0 -60
  130. package/src/components/toolbar/popup/index.jsx +0 -241
  131. package/src/components/toolbar/popup/newproject/index.jsx +0 -59
  132. package/src/components/toolbar/popup/newproject/styles.css +0 -64
  133. package/src/components/toolbar/popup/newproject/styles.js +0 -41
  134. package/src/components/toolbar/popup/product/appliance.jsx +0 -54
  135. package/src/components/toolbar/popup/product/cabinetproduct.jsx +0 -15
  136. package/src/components/toolbar/popup/product/doorstyle.jsx +0 -58
  137. package/src/components/toolbar/popup/product/doorstyleproduct.jsx +0 -47
  138. package/src/components/toolbar/popup/product/floor.jsx +0 -36
  139. package/src/components/toolbar/popup/product/floorproduct.jsx +0 -42
  140. package/src/components/toolbar/popup/product/index.jsx +0 -36
  141. package/src/components/toolbar/popup/product/primary.jsx +0 -77
  142. package/src/components/toolbar/popup/product/productline.jsx +0 -93
  143. package/src/components/toolbar/popup/product/reviewItem.jsx +0 -427
  144. package/src/components/toolbar/popup/product/reviewMolding.jsx +0 -310
  145. package/src/components/toolbar/popup/product/style.css +0 -54
  146. package/src/components/toolbar/popup/product/styles.js +0 -260
  147. package/src/components/toolbar/popup/savedesign/FullPictureForm.jsx +0 -146
  148. package/src/components/toolbar/popup/savedesign/index.jsx +0 -495
  149. package/src/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
  150. package/src/components/toolbar/popup/savedesign/styles.js +0 -151
  151. package/src/components/toolbar/popup/setDoorStyleOption/index.jsx +0 -87
  152. package/src/components/toolbar/popup/styles.js +0 -909
  153. package/src/components/toolbar/popup/submitforquote/AddToCartOptions.jsx +0 -192
  154. package/src/components/toolbar/popup/submitforquote/CustomerRequestsForm.jsx +0 -96
  155. package/src/components/toolbar/popup/submitforquote/SkipDesignerReview.jsx +0 -54
  156. package/src/components/toolbar/popup/submitforquote/StepDots.jsx +0 -25
  157. package/src/components/toolbar/popup/submitforquote/cart-choice.jsx +0 -116
  158. package/src/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -38
  159. package/src/components/toolbar/popup/submitforquote/index.jsx +0 -698
  160. package/src/components/toolbar/popup/submitforquote/styles.css +0 -105
  161. package/src/components/toolbar/popup/submitforquote/styles.js +0 -294
  162. package/src/components/toolbar/popup/submitprompt/index.jsx +0 -89
  163. package/src/components/toolbar/popup/submitprompt/styles.css +0 -64
  164. package/src/components/toolbar/popup/submitprompt/styles.js +0 -42
  165. package/src/components/toolbar/toolbar-button.jsx +0 -90
  166. package/src/components/toolbar/toolbar-load-button.jsx +0 -36
  167. package/src/components/toolbar/toolbar-save-button.jsx +0 -32
  168. package/src/components/wizardstep/button/styles.js +0 -677
  169. package/src/components/wizardstep/export.js +0 -5
  170. package/src/components/wizardstep/index.jsx +0 -1372
  171. package/src/components/wizardstep/styles.js +0 -688
  172. package/src/components/wizardstep/wizardstep-content-button.jsx +0 -198
  173. package/src/components/wizardstep/wizardstep-toggle-button.jsx +0 -101
  174. package/src/hooks/useCheckCart.js +0 -38
  175. package/src/hooks/useGetPricesBySku.js +0 -59
  176. package/src/hooks/useValidateToken.js +0 -181
  177. package/src/styles/export.js +0 -7
  178. package/src/styles/tabs.css +0 -40
@@ -1,220 +0,0 @@
1
- {
2
- "unit": "cm",
3
- "rulerUnit": "in",
4
- "layers": {
5
- "layer-1": {
6
- "id": "layer-1",
7
- "altitude": 0,
8
- "order": 0,
9
- "opacity": 1,
10
- "name": "default",
11
- "visible": true,
12
- "vertices": {
13
- "bHaJu1vDh-": {
14
- "id": "bHaJu1vDh-",
15
- "type": "",
16
- "prototype": "vertices",
17
- "name": "Vertex",
18
- "misc": {},
19
- "selected": false,
20
- "properties": {},
21
- "style": "",
22
- "category": "",
23
- "visible": true,
24
- "x": 1159.5959595959598,
25
- "y": 653.030303030303,
26
- "lines": ["qu-iklVvD"],
27
- "areas": ["nZUk04rvLm"]
28
- },
29
- "i6cQughFHL": {
30
- "id": "i6cQughFHL",
31
- "type": "",
32
- "prototype": "vertices",
33
- "name": "Vertex",
34
- "misc": {},
35
- "selected": false,
36
- "properties": {},
37
- "style": "",
38
- "category": "",
39
- "visible": true,
40
- "x": 1159.5959595959598,
41
- "y": 1306.5656565656566,
42
- "lines": ["Fqjsu2nx-", "qu-iklVvD"],
43
- "areas": ["nZUk04rvLm"]
44
- },
45
- "xf5Pbjbn9O": {
46
- "id": "xf5Pbjbn9O",
47
- "type": "",
48
- "prototype": "vertices",
49
- "name": "Vertex",
50
- "misc": {},
51
- "selected": false,
52
- "properties": {},
53
- "style": "",
54
- "category": "",
55
- "visible": true,
56
- "x": 1885.858585858586,
57
- "y": 1306.5656565656566,
58
- "lines": ["Fqjsu2nx-", "gh-FNJ1s5"],
59
- "areas": ["nZUk04rvLm"]
60
- },
61
- "tzGSabFPP7": {
62
- "id": "tzGSabFPP7",
63
- "type": "",
64
- "prototype": "vertices",
65
- "name": "Vertex",
66
- "misc": {},
67
- "selected": false,
68
- "properties": {},
69
- "style": "",
70
- "category": "",
71
- "visible": true,
72
- "x": 1885.858585858586,
73
- "y": 653.030303030303,
74
- "lines": ["gh-FNJ1s5"],
75
- "areas": ["nZUk04rvLm"]
76
- }
77
- },
78
- "lines": {
79
- "qu-iklVvD": {
80
- "id": "qu-iklVvD",
81
- "type": "wall",
82
- "prototype": "lines",
83
- "name": "Wall",
84
- "misc": {},
85
- "selected": false,
86
- "properties": { "textureB": "plaster", "textureA": "plaster" },
87
- "style": "",
88
- "category": "",
89
- "createdDateTime": 1693373165225,
90
- "visible": true,
91
- "vertices": ["bHaJu1vDh-", "i6cQughFHL"],
92
- "holes": [],
93
- "focus": false,
94
- "wallColor": "#dddddd"
95
- },
96
- "Fqjsu2nx-": {
97
- "id": "Fqjsu2nx-",
98
- "type": "wall",
99
- "prototype": "lines",
100
- "name": "Wall",
101
- "misc": {},
102
- "selected": false,
103
- "properties": { "textureB": "plaster", "textureA": "plaster" },
104
- "style": "",
105
- "category": "",
106
- "createdDateTime": 1693373165205,
107
- "visible": true,
108
- "vertices": ["i6cQughFHL", "xf5Pbjbn9O"],
109
- "holes": [],
110
- "focus": false,
111
- "wallColor": "#dddddd"
112
- },
113
- "gh-FNJ1s5": {
114
- "id": "gh-FNJ1s5",
115
- "type": "wall",
116
- "prototype": "lines",
117
- "name": "Wall",
118
- "misc": {},
119
- "selected": false,
120
- "properties": {
121
- "textureB": "plaster",
122
- "width": { "_unit": "in", "length": null },
123
- "height": { "_unit": "in", "length": null },
124
- "depth": { "_unit": "in", "length": null },
125
- "textureA": "plaster"
126
- },
127
- "style": "",
128
- "category": "",
129
- "createdDateTime": 1693373165215,
130
- "visible": true,
131
- "vertices": ["xf5Pbjbn9O", "tzGSabFPP7"],
132
- "holes": [],
133
- "focus": false,
134
- "wallColor": "#dddddd"
135
- }
136
- },
137
- "holes": {},
138
- "areas": {
139
- "nZUk04rvLm": {
140
- "id": "nZUk04rvLm",
141
- "type": "area",
142
- "prototype": "areas",
143
- "name": "Area",
144
- "misc": {},
145
- "selected": false,
146
- "properties": {
147
- "patternColor": "rgba(175,175,175)",
148
- "thickness": { "length": 0 },
149
- "texture": "parquet",
150
- "width": { "_unit": "in", "length": null },
151
- "height": { "_unit": "in", "length": null },
152
- "depth": { "_unit": "in", "length": null }
153
- },
154
- "style": "",
155
- "category": "",
156
- "visible": true,
157
- "vertices": ["bHaJu1vDh-", "tzGSabFPP7", "xf5Pbjbn9O", "i6cQughFHL"],
158
- "holes": [],
159
- "texture": { "roughness": 0.9, "metalness": 0, "uri": "" }
160
- }
161
- },
162
- "items": {},
163
- "selected": {
164
- "vertices": [],
165
- "lines": [],
166
- "holes": [],
167
- "areas": [],
168
- "items": []
169
- },
170
- "dcmmodel": false,
171
- "lrmmodel": false,
172
- "fbmmodel": false,
173
- "counterTop": {
174
- "uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202105074107_5/texture/Unique_Calcatta_texture.jpg"
175
- },
176
- "wallColor": {},
177
- "floorStyle": {
178
- "uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
179
- },
180
- "doorHandle": "",
181
- "backsplash": { "roughness": 0.2, "metalness": 0.1, "uri": "" },
182
- "backsplashApplied": false,
183
- "ceilHeight": 96,
184
- "unit": "in"
185
- }
186
- },
187
- "grids": {
188
- "h1": {
189
- "id": "h1",
190
- "type": "horizontal-streak",
191
- "properties": {
192
- "step": 30.48,
193
- "colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
194
- }
195
- },
196
- "v1": {
197
- "id": "v1",
198
- "type": "vertical-streak",
199
- "properties": {
200
- "step": 30.48,
201
- "colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
202
- }
203
- }
204
- },
205
- "selectedLayer": "layer-1",
206
- "groups": {},
207
- "width": 3000,
208
- "height": 2000,
209
- "meta": {},
210
- "guides": { "horizontal": {}, "vertical": {}, "circular": {} },
211
- "title": "",
212
- "currentProjectID": null,
213
- "showfg": true,
214
- "showWallLengthMeasure": 1,
215
- "showBaseCabinetMeasure": 1,
216
- "showWallCabinetMeasure": 1,
217
- "showWindowDoorMeasure": 1,
218
- "isLoadingCabinet": false,
219
- "loadFlag": false
220
- }
@@ -1,238 +0,0 @@
1
- {
2
- "unit": "cm",
3
- "rulerUnit": "in",
4
- "layers": {
5
- "layer-1": {
6
- "id": "layer-1",
7
- "altitude": 0,
8
- "order": 0,
9
- "opacity": 1,
10
- "name": "default",
11
- "visible": true,
12
- "vertices": {
13
- "7CRjeaRZhF": {
14
- "id": "7CRjeaRZhF",
15
- "type": "",
16
- "prototype": "vertices",
17
- "name": "Vertex",
18
- "misc": {},
19
- "selected": false,
20
- "properties": {},
21
- "style": "",
22
- "category": "",
23
- "visible": true,
24
- "x": 1291.05,
25
- "y": 1175.29,
26
- "lines": ["STZ63BwOf", "eyC5vDys2"],
27
- "areas": ["bQRvW_9KxV"]
28
- },
29
- "vlppTvk-ik": {
30
- "id": "vlppTvk-ik",
31
- "type": "",
32
- "prototype": "vertices",
33
- "name": "Vertex",
34
- "misc": {},
35
- "selected": false,
36
- "properties": {},
37
- "style": "",
38
- "category": "",
39
- "visible": true,
40
- "x": 1778.73,
41
- "y": 1175.29,
42
- "lines": ["STZ63BwOf", "BvCbJyf6O"],
43
- "areas": ["bQRvW_9KxV"]
44
- },
45
- "KYo9KB-NX8": {
46
- "id": "KYo9KB-NX8",
47
- "type": "",
48
- "prototype": "vertices",
49
- "name": "Vertex",
50
- "misc": {},
51
- "selected": false,
52
- "properties": {},
53
- "style": "",
54
- "category": "",
55
- "visible": true,
56
- "x": 1778.73,
57
- "y": 809.53,
58
- "lines": ["BvCbJyf6O", "uPW70hewY"],
59
- "areas": ["bQRvW_9KxV"]
60
- },
61
- "Pa4Hy3Z26ga": {
62
- "id": "Pa4Hy3Z26ga",
63
- "type": "",
64
- "prototype": "vertices",
65
- "name": "Vertex",
66
- "misc": {},
67
- "selected": false,
68
- "properties": {},
69
- "style": "",
70
- "category": "",
71
- "visible": true,
72
- "x": 1291.05,
73
- "y": 809.53,
74
- "lines": ["eyC5vDys2", "uPW70hewY"],
75
- "areas": ["bQRvW_9KxV"]
76
- }
77
- },
78
- "lines": {
79
- "STZ63BwOf": {
80
- "id": "STZ63BwOf",
81
- "type": "wall",
82
- "prototype": "lines",
83
- "name": "Wall",
84
- "misc": {},
85
- "selected": false,
86
- "properties": { "textureB": "plaster", "textureA": "plaster" },
87
- "style": "",
88
- "category": "",
89
- "createdDateTime": 1693373165235,
90
- "visible": true,
91
- "vertices": ["7CRjeaRZhF", "vlppTvk-ik"],
92
- "holes": [],
93
- "focus": false,
94
- "wallColor": "#dddddd"
95
- },
96
- "eyC5vDys2": {
97
- "id": "eyC5vDys2",
98
- "type": "wall",
99
- "prototype": "lines",
100
- "name": "Wall",
101
- "misc": {},
102
- "selected": false,
103
- "properties": { "textureB": "plaster", "textureA": "plaster" },
104
- "style": "",
105
- "category": "",
106
- "createdDateTime": 1693373165265,
107
- "visible": true,
108
- "vertices": ["Pa4Hy3Z26ga", "7CRjeaRZhF"],
109
- "holes": [],
110
- "focus": false,
111
- "wallColor": "#dddddd"
112
- },
113
- "BvCbJyf6O": {
114
- "id": "BvCbJyf6O",
115
- "type": "wall",
116
- "prototype": "lines",
117
- "name": "Wall",
118
- "misc": {},
119
- "selected": false,
120
- "properties": { "textureB": "plaster", "textureA": "plaster" },
121
- "style": "",
122
- "category": "",
123
- "createdDateTime": 1693373165245,
124
- "visible": true,
125
- "vertices": ["vlppTvk-ik", "KYo9KB-NX8"],
126
- "holes": [],
127
- "focus": false,
128
- "wallColor": "#dddddd"
129
- },
130
- "uPW70hewY": {
131
- "id": "uPW70hewY",
132
- "type": "wall",
133
- "prototype": "lines",
134
- "name": "Wall",
135
- "misc": {},
136
- "selected": false,
137
- "properties": {
138
- "textureB": "plaster",
139
- "width": { "_unit": "in", "length": null },
140
- "height": { "_unit": "in", "length": null },
141
- "depth": { "_unit": "in", "length": null },
142
- "textureA": "plaster"
143
- },
144
- "style": "",
145
- "category": "",
146
- "createdDateTime": 1693373165255,
147
- "visible": true,
148
- "vertices": ["KYo9KB-NX8", "Pa4Hy3Z26ga"],
149
- "holes": [],
150
- "focus": false,
151
- "wallColor": "#dddddd"
152
- }
153
- },
154
- "holes": {},
155
- "areas": {
156
- "bQRvW_9KxV": {
157
- "id": "bQRvW_9KxV",
158
- "type": "area",
159
- "prototype": "areas",
160
- "name": "Area",
161
- "misc": {},
162
- "selected": false,
163
- "properties": {
164
- "patternColor": "rgba(175,175,175)",
165
- "thickness": { "length": 0 },
166
- "texture": "parquet"
167
- },
168
- "style": "",
169
- "category": "",
170
- "visible": true,
171
- "vertices": ["7CRjeaRZhF", "Pa4Hy3Z26ga", "KYo9KB-NX8", "vlppTvk-ik"],
172
- "holes": [],
173
- "texture": {
174
- "roughness": 0.9,
175
- "metalness": 0,
176
- "uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
177
- }
178
- }
179
- },
180
- "items": {},
181
- "selected": {
182
- "vertices": [],
183
- "lines": [],
184
- "holes": [],
185
- "areas": [],
186
- "items": []
187
- },
188
- "dcmmodel": false,
189
- "lrmmodel": false,
190
- "fbmmodel": false,
191
- "counterTop": {
192
- "uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202105074107_5/texture/Unique_Calcatta_texture.jpg"
193
- },
194
- "wallColor": {},
195
- "floorStyle": {
196
- "uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
197
- },
198
- "doorHandle": "",
199
- "backsplash": { "roughness": 0.2, "metalness": 0.1, "uri": "" },
200
- "backsplashApplied": false,
201
- "ceilHeight": 96,
202
- "unit": "in"
203
- }
204
- },
205
- "grids": {
206
- "h1": {
207
- "id": "h1",
208
- "type": "horizontal-streak",
209
- "properties": {
210
- "step": 30.48,
211
- "colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
212
- }
213
- },
214
- "v1": {
215
- "id": "v1",
216
- "type": "vertical-streak",
217
- "properties": {
218
- "step": 30.48,
219
- "colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
220
- }
221
- }
222
- },
223
- "selectedLayer": "layer-1",
224
- "groups": {},
225
- "width": 3000,
226
- "height": 2000,
227
- "meta": {},
228
- "guides": { "horizontal": {}, "vertical": {}, "circular": {} },
229
- "title": "",
230
- "currentProjectID": null,
231
- "showfg": true,
232
- "showWallLengthMeasure": 1,
233
- "showBaseCabinetMeasure": 1,
234
- "showWallCabinetMeasure": 1,
235
- "showWindowDoorMeasure": 1,
236
- "isLoadingCabinet": false,
237
- "loadFlag": false
238
- }
@@ -1,86 +0,0 @@
1
- import styled from 'styled-components';
2
- import * as SharedStyle from '../../../../../shared-style';
3
-
4
- export const Control = styled.div`
5
- display: flex;
6
- justify-content: center;
7
- `;
8
-
9
- export const ControlIcon = styled.div`
10
- margin-top: 9px;
11
- cursor: pointer;
12
- position: relative;
13
- :hover {
14
- img {
15
- box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
16
- 0px 6px 10px 0px rgba(0, 0, 0, 0.39),
17
- 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
18
- }
19
- }
20
- :active {
21
- img {
22
- box-shadow: none !important;
23
- }
24
- }
25
- `;
26
-
27
- export const LineWrapper = styled.div`
28
- color: #fff;
29
- display: flex;
30
- cursor: pointer;
31
- align-items: center;
32
- span {
33
- @media screen and (min-width: 1024) {
34
- font-size: 11px;
35
- }
36
- @media screen and (max-width: 1024) {
37
- font-size: 11px;
38
- }
39
- @media screen and (min-width: 1366) {
40
- font-size: 13px;
41
- }
42
- @media screen and (max-width: 1366) {
43
- font-size: 13px;
44
- }
45
- @media screen and (min-width: 1440) {
46
- font-size: 16px;
47
- }
48
- @media screen and (max-width: 1440) {
49
- font-size: 16px;
50
- }
51
- }
52
- :hover {
53
- span {
54
- color: ${SharedStyle.SECONDARY_COLOR.main};
55
- }
56
- }
57
- `;
58
-
59
- export const Div = styled.div`
60
- position: fixed;
61
- top: calc(50% - 150px);
62
- left: calc(50% - 200px);
63
- z-index: 200;
64
- background: #2b2b2ddf;
65
- align-items: space-around;
66
- justify-content: center;
67
- color: white;
68
- width: 350px;
69
- height: 140px;
70
- `;
71
-
72
- export const ButtonTitle1 = styled.span`
73
- position: absolute;
74
- padding-left: 20px;
75
- margin-top: 3px;
76
- font-size: 12px;
77
- cursor: pointer;
78
- `;
79
-
80
- export const ButtonTitle2 = styled.span`
81
- position: absolute;
82
- padding-left: 20px;
83
- margin-top: 3px;
84
- font-size: 12px;
85
- cursor: pointer;
86
- `;
@@ -1,109 +0,0 @@
1
- import React from 'react';
2
- import ToolbarPanel from '../../../../sidebar/toolbar-panel';
3
- import * as S from '../../styles';
4
-
5
- import Product from '../../product';
6
- import Floor from '../../product/floor';
7
- import * as testJsonData from '../../../../../../../../../test/*.json';
8
-
9
- export const FloorCategory = ({
10
- action,
11
- props,
12
- dataSource,
13
- isExpand,
14
- closeAction
15
- }) => {
16
- let miHeight = 0;
17
- let nonHeight = 495 - miHeight + 'px';
18
- let height = window.innerHeight * 0.6 - miHeight + 'px';
19
- var result = [];
20
- dataSource.map(el => {
21
- result.push(
22
- <Product
23
- key={el.name}
24
- url={
25
- el.name === 'Windows'
26
- ? '/assets/img/svg/toolbar/add_items_windows.svg'
27
- : '/assets/img/svg/toolbar/add_items_doors.svg'
28
- }
29
- title={el.name}
30
- onClick={() => {
31
- action(el.name);
32
- }}
33
- />
34
- );
35
- });
36
- let loadProject = data => {
37
- props.projectActions.loadProject(JSON.parse(data.project_data));
38
- document.getElementsByClassName('popup-content')[0].style.display = 'none';
39
- };
40
- let testData = [];
41
- if (process.env.MODE === 'staging') {
42
- for (let testJson in testJsonData) {
43
- testData.push(
44
- <S.testJsonItemWrapper
45
- key={testJson}
46
- style={{ justifyContent: 'center' }}
47
- onClick={event => {
48
- if (
49
- window.confirm(`Do you really load ${testJson}.json for KC test?`)
50
- ) {
51
- loadProject(testJsonData[testJson]);
52
- }
53
- }}
54
- >
55
- {testJson}
56
- </S.testJsonItemWrapper>
57
- );
58
- }
59
- }
60
- return (
61
- <S.CategoryContentWrapper style={{ height: isExpand ? height : nonHeight }}>
62
- <ToolbarPanel
63
- opened
64
- onClose={() => {}}
65
- onOpen={() => {}}
66
- isUrl={false}
67
- name={'Floor Space'}
68
- url={null}
69
- >
70
- <Floor
71
- url={'/assets/img/svg/toolbar/draw_custom_floor.svg'}
72
- title={'Draw Custom Floor'}
73
- onClick={() => {
74
- action(-1);
75
- }}
76
- ></Floor>
77
- <Floor
78
- url={'/assets/img/svg/toolbar/predefined_room_layout.svg'}
79
- title={'Predefined Room Layout'}
80
- onClick={() => {
81
- action(-2);
82
- }}
83
- ></Floor>
84
- </ToolbarPanel>
85
- <ToolbarPanel
86
- opened
87
- onClose={() => {}}
88
- onOpen={() => {}}
89
- isUrl={false}
90
- name={'Room Elements'}
91
- url={null}
92
- >
93
- {result}
94
- </ToolbarPanel>
95
- {process.env.MODE === 'staging' && Object.keys(testJsonData).length && (
96
- <ToolbarPanel
97
- opened
98
- onClose={() => {}}
99
- onOpen={() => {}}
100
- isUrl={false}
101
- name={'Test JSONs'}
102
- url={null}
103
- >
104
- {testData}
105
- </ToolbarPanel>
106
- )}
107
- </S.CategoryContentWrapper>
108
- );
109
- };