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.
- package/package.json +23 -3
- package/src/components/_export.js +11 -0
- package/src/components/viewer3d/scene-creator.js +23 -26
- package/src/components/viewer3d/viewer3d.js +18 -18
- package/src/components/catalog-view/catalog-breadcrumb.jsx +0 -53
- package/src/components/catalog-view/catalog-item.jsx +0 -229
- package/src/components/catalog-view/catalog-list.jsx +0 -173
- package/src/components/catalog-view/catalog-page-item.jsx +0 -110
- package/src/components/catalog-view/catalog-turn-back-page-item.jsx +0 -80
- package/src/components/configurator/custom-configurator.jsx +0 -77
- package/src/components/configurator/project-configurator.jsx +0 -120
- package/src/components/export.js +0 -36
- package/src/components/firstsetting/button/styles.js +0 -223
- package/src/components/firstsetting/export.js +0 -9
- package/src/components/firstsetting/firstsetting-content-button.jsx +0 -198
- package/src/components/firstsetting/firstsetting-toggle-button.jsx +0 -101
- package/src/components/firstsetting/firstsetting.jsx +0 -814
- package/src/components/footerbar/button/ControlButton.jsx +0 -43
- package/src/components/footerbar/button/DirectionButton.jsx +0 -54
- package/src/components/footerbar/button/DirectionPanSpinButton.jsx +0 -36
- package/src/components/footerbar/button/ToggleButton.jsx +0 -58
- package/src/components/footerbar/button/ToggleConvertButton.jsx +0 -48
- package/src/components/footerbar/button/ToggleMeasureButton.jsx +0 -33
- package/src/components/footerbar/button/styles.js +0 -217
- package/src/components/footerbar/export.js +0 -9
- package/src/components/footerbar/footer-content-button.jsx +0 -198
- package/src/components/footerbar/footer-toggle-button.jsx +0 -101
- package/src/components/footerbar/footerbar.jsx +0 -1103
- package/src/components/footerbar/styles.js +0 -263
- package/src/components/header/button/MenuButton.jsx +0 -46
- package/src/components/header/button/SaveButton.jsx +0 -54
- package/src/components/header/button/styles.js +0 -181
- package/src/components/header/export.js +0 -5
- package/src/components/header/header.jsx +0 -631
- package/src/components/header/header.style.css +0 -47
- package/src/components/header/styles.js +0 -320
- package/src/components/login/Login.js +0 -77
- package/src/components/login/LoginForm/index.js +0 -108
- package/src/components/login/Register.js +0 -83
- package/src/components/login/RegisterForm/index.js +0 -171
- package/src/components/login/jwtService.js +0 -201
- package/src/components/login/style.css +0 -158
- package/src/components/login/style.scss +0 -260
- package/src/components/myprojects/export.js +0 -5
- package/src/components/myprojects/index.jsx +0 -445
- package/src/components/myprojects/styles.js +0 -241
- package/src/components/sidebar/custom-accordion.jsx +0 -48
- package/src/components/sidebar/export.js +0 -15
- package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +0 -73
- package/src/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.jsx +0 -101
- package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +0 -149
- package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +0 -316
- package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +0 -108
- package/src/components/sidebar/panel-element-editor/element-editor.jsx +0 -1070
- package/src/components/sidebar/panel-element-editor/multi-elements-editor.jsx +0 -0
- package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +0 -104
- package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +0 -155
- package/src/components/sidebar/panel-group-editor.jsx +0 -272
- package/src/components/sidebar/panel-groups.jsx +0 -310
- package/src/components/sidebar/panel-guides.jsx +0 -192
- package/src/components/sidebar/panel-layer-elements.jsx +0 -298
- package/src/components/sidebar/panel-layers.jsx +0 -381
- package/src/components/sidebar/panel.jsx +0 -71
- package/src/components/sidebar/sidebar.jsx +0 -106
- package/src/components/sidebar/toolbar-panel.jsx +0 -139
- package/src/components/sign/export.js +0 -7
- package/src/components/sign/main/index.jsx +0 -523
- package/src/components/sign/main/styles.js +0 -163
- package/src/components/toolbar/button/ControlButton.jsx +0 -41
- package/src/components/toolbar/button/DirectionButton.jsx +0 -34
- package/src/components/toolbar/button/RightButton.jsx +0 -103
- package/src/components/toolbar/button/ToggleButton.jsx +0 -41
- package/src/components/toolbar/button/index.jsx +0 -55
- package/src/components/toolbar/button/styles.js +0 -127
- package/src/components/toolbar/components/DoorStyleMenu.jsx +0 -103
- package/src/components/toolbar/components/Pricing.jsx +0 -126
- package/src/components/toolbar/components/ReviewForQuote.jsx +0 -635
- package/src/components/toolbar/export.js +0 -21
- package/src/components/toolbar/main/Alert.js +0 -122
- package/src/components/toolbar/main/TakePictureModal.jsx +0 -104
- package/src/components/toolbar/main/confirm-popup.jsx +0 -99
- package/src/components/toolbar/main/index.jsx +0 -5687
- package/src/components/toolbar/main/lShaped.json +0 -311
- package/src/components/toolbar/main/longNarrow.json +0 -238
- package/src/components/toolbar/main/myComponents.js +0 -123
- package/src/components/toolbar/main/oRectangle.json +0 -220
- package/src/components/toolbar/main/rectangle.json +0 -238
- package/src/components/toolbar/main/style.css +0 -107
- package/src/components/toolbar/main/styles.js +0 -696
- package/src/components/toolbar/plugin-item.jsx +0 -123
- package/src/components/toolbar/popup/appliance/appliance-category/index.jsx +0 -73
- package/src/components/toolbar/popup/appliance/choose-appliance/index.jsx +0 -102
- package/src/components/toolbar/popup/appliance/index.jsx +0 -83
- package/src/components/toolbar/popup/autosaveprompt/index.jsx +0 -150
- package/src/components/toolbar/popup/autosaveprompt/styles.css +0 -64
- package/src/components/toolbar/popup/autosaveprompt/styles.js +0 -40
- package/src/components/toolbar/popup/cabinet/cabinet-category/index.jsx +0 -73
- package/src/components/toolbar/popup/cabinet/choose-product/index.jsx +0 -119
- package/src/components/toolbar/popup/cabinet/index.jsx +0 -85
- package/src/components/toolbar/popup/doorStyle/choose-style/index.jsx +0 -63
- package/src/components/toolbar/popup/doorStyle/index.jsx +0 -71
- package/src/components/toolbar/popup/doorStyle/style-category/index.jsx +0 -139
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -2
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryTemp.jsx +0 -157
- package/src/components/toolbar/popup/downloadsummary/index.jsx +0 -643
- package/src/components/toolbar/popup/downloadsummary/show2D/show2DView.jsx +0 -51
- package/src/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.jsx +0 -175
- package/src/components/toolbar/popup/downloadsummary/show3D/show3DView.jsx +0 -283
- package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +0 -2257
- package/src/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -93
- package/src/components/toolbar/popup/downloadsummary/showElevation/showElevationView.jsx +0 -132
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +0 -2198
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx +0 -152
- package/src/components/toolbar/popup/downloadsummary/showWarranty.jsx +0 -149
- package/src/components/toolbar/popup/downloadsummary/styles.css +0 -177
- package/src/components/toolbar/popup/downloadsummary/styles.js +0 -453
- package/src/components/toolbar/popup/finishingtouch/category/index.jsx +0 -34
- package/src/components/toolbar/popup/finishingtouch/index.jsx +0 -58
- package/src/components/toolbar/popup/finishingtouch/material-edit.jsx +0 -112
- package/src/components/toolbar/popup/finishingtouch/product/index.jsx +0 -116
- package/src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx +0 -101
- package/src/components/toolbar/popup/floorplan/choose-floor/index.jsx +0 -254
- package/src/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
- package/src/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
- package/src/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
- package/src/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
- package/src/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -86
- package/src/components/toolbar/popup/floorplan/floor-category/index.jsx +0 -109
- package/src/components/toolbar/popup/floorplan/index.jsx +0 -60
- package/src/components/toolbar/popup/index.jsx +0 -241
- package/src/components/toolbar/popup/newproject/index.jsx +0 -59
- package/src/components/toolbar/popup/newproject/styles.css +0 -64
- package/src/components/toolbar/popup/newproject/styles.js +0 -41
- package/src/components/toolbar/popup/product/appliance.jsx +0 -54
- package/src/components/toolbar/popup/product/cabinetproduct.jsx +0 -15
- package/src/components/toolbar/popup/product/doorstyle.jsx +0 -58
- package/src/components/toolbar/popup/product/doorstyleproduct.jsx +0 -47
- package/src/components/toolbar/popup/product/floor.jsx +0 -36
- package/src/components/toolbar/popup/product/floorproduct.jsx +0 -42
- package/src/components/toolbar/popup/product/index.jsx +0 -36
- package/src/components/toolbar/popup/product/primary.jsx +0 -77
- package/src/components/toolbar/popup/product/productline.jsx +0 -93
- package/src/components/toolbar/popup/product/reviewItem.jsx +0 -427
- package/src/components/toolbar/popup/product/reviewMolding.jsx +0 -310
- package/src/components/toolbar/popup/product/style.css +0 -54
- package/src/components/toolbar/popup/product/styles.js +0 -260
- package/src/components/toolbar/popup/savedesign/FullPictureForm.jsx +0 -146
- package/src/components/toolbar/popup/savedesign/index.jsx +0 -495
- package/src/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
- package/src/components/toolbar/popup/savedesign/styles.js +0 -151
- package/src/components/toolbar/popup/setDoorStyleOption/index.jsx +0 -87
- package/src/components/toolbar/popup/styles.js +0 -909
- package/src/components/toolbar/popup/submitforquote/AddToCartOptions.jsx +0 -192
- package/src/components/toolbar/popup/submitforquote/CustomerRequestsForm.jsx +0 -96
- package/src/components/toolbar/popup/submitforquote/SkipDesignerReview.jsx +0 -54
- package/src/components/toolbar/popup/submitforquote/StepDots.jsx +0 -25
- package/src/components/toolbar/popup/submitforquote/cart-choice.jsx +0 -116
- package/src/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -38
- package/src/components/toolbar/popup/submitforquote/index.jsx +0 -698
- package/src/components/toolbar/popup/submitforquote/styles.css +0 -105
- package/src/components/toolbar/popup/submitforquote/styles.js +0 -294
- package/src/components/toolbar/popup/submitprompt/index.jsx +0 -89
- package/src/components/toolbar/popup/submitprompt/styles.css +0 -64
- package/src/components/toolbar/popup/submitprompt/styles.js +0 -42
- package/src/components/toolbar/toolbar-button.jsx +0 -90
- package/src/components/toolbar/toolbar-load-button.jsx +0 -36
- package/src/components/toolbar/toolbar-save-button.jsx +0 -32
- package/src/components/wizardstep/button/styles.js +0 -677
- package/src/components/wizardstep/export.js +0 -5
- package/src/components/wizardstep/index.jsx +0 -1372
- package/src/components/wizardstep/styles.js +0 -688
- package/src/components/wizardstep/wizardstep-content-button.jsx +0 -198
- package/src/components/wizardstep/wizardstep-toggle-button.jsx +0 -101
- package/src/hooks/useCheckCart.js +0 -38
- package/src/hooks/useGetPricesBySku.js +0 -59
- package/src/hooks/useValidateToken.js +0 -181
- package/src/styles/export.js +0 -7
- package/src/styles/tabs.css +0 -40
|
@@ -1,311 +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
|
-
"Pa4Hy3Z26ga": {
|
|
14
|
-
"id": "Pa4Hy3Z26ga",
|
|
15
|
-
"type": "",
|
|
16
|
-
"prototype": "vertices",
|
|
17
|
-
"name": "Vertex",
|
|
18
|
-
"misc": {},
|
|
19
|
-
"selected": false,
|
|
20
|
-
"properties": {},
|
|
21
|
-
"style": "",
|
|
22
|
-
"category": "",
|
|
23
|
-
"visible": true,
|
|
24
|
-
"x": 1088.15995872033,
|
|
25
|
-
"y": 671.5273477812179,
|
|
26
|
-
"lines": ["WtLsRqGdv", "ee4Mg4ygU"],
|
|
27
|
-
"areas": ["LNznnRBhRP"]
|
|
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": 1982.3,
|
|
41
|
-
"y": 1314.15,
|
|
42
|
-
"lines": ["Ub0iX35kFf", "D7coA9xHM"],
|
|
43
|
-
"areas": ["LNznnRBhRP"]
|
|
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": 1982.24,
|
|
57
|
-
"y": 671.53,
|
|
58
|
-
"lines": ["WtLsRqGdv", "D7coA9xHM"],
|
|
59
|
-
"areas": ["LNznnRBhRP"]
|
|
60
|
-
},
|
|
61
|
-
"f63-bHEpsp": {
|
|
62
|
-
"id": "f63-bHEpsp",
|
|
63
|
-
"type": "",
|
|
64
|
-
"prototype": "vertices",
|
|
65
|
-
"name": "Vertex",
|
|
66
|
-
"misc": {},
|
|
67
|
-
"selected": false,
|
|
68
|
-
"properties": {},
|
|
69
|
-
"style": "",
|
|
70
|
-
"category": "",
|
|
71
|
-
"visible": true,
|
|
72
|
-
"x": 1487,
|
|
73
|
-
"y": 1313.5,
|
|
74
|
-
"lines": ["Ub0iX35kFf", "NzAuNLemc"],
|
|
75
|
-
"areas": ["LNznnRBhRP"]
|
|
76
|
-
},
|
|
77
|
-
"mKjSxr-W8v": {
|
|
78
|
-
"id": "mKjSxr-W8v",
|
|
79
|
-
"type": "",
|
|
80
|
-
"prototype": "vertices",
|
|
81
|
-
"name": "Vertex",
|
|
82
|
-
"misc": {},
|
|
83
|
-
"selected": false,
|
|
84
|
-
"properties": {},
|
|
85
|
-
"style": "",
|
|
86
|
-
"category": "",
|
|
87
|
-
"visible": true,
|
|
88
|
-
"x": 1486.94,
|
|
89
|
-
"y": 1059.5,
|
|
90
|
-
"lines": ["Rqe2KAU6-", "NzAuNLemc"],
|
|
91
|
-
"areas": ["LNznnRBhRP"]
|
|
92
|
-
},
|
|
93
|
-
"YWcoTtebzF": {
|
|
94
|
-
"id": "YWcoTtebzF",
|
|
95
|
-
"type": "",
|
|
96
|
-
"prototype": "vertices",
|
|
97
|
-
"name": "Vertex",
|
|
98
|
-
"misc": {},
|
|
99
|
-
"selected": false,
|
|
100
|
-
"properties": {},
|
|
101
|
-
"style": "",
|
|
102
|
-
"category": "",
|
|
103
|
-
"visible": true,
|
|
104
|
-
"x": 1088.16,
|
|
105
|
-
"y": 1060.15,
|
|
106
|
-
"lines": ["ee4Mg4ygU", "Rqe2KAU6-"],
|
|
107
|
-
"areas": ["LNznnRBhRP"]
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"lines": {
|
|
111
|
-
"WtLsRqGdv": {
|
|
112
|
-
"id": "WtLsRqGdv",
|
|
113
|
-
"type": "wall",
|
|
114
|
-
"prototype": "lines",
|
|
115
|
-
"name": "Wall",
|
|
116
|
-
"misc": {},
|
|
117
|
-
"selected": false,
|
|
118
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
119
|
-
"style": "",
|
|
120
|
-
"category": "",
|
|
121
|
-
"createdDateTime": 1693373165185,
|
|
122
|
-
"visible": true,
|
|
123
|
-
"vertices": ["KYo9KB-NX8", "Pa4Hy3Z26ga"],
|
|
124
|
-
"holes": [],
|
|
125
|
-
"focus": false,
|
|
126
|
-
"wallColor": "#dddddd"
|
|
127
|
-
},
|
|
128
|
-
"NzAuNLemc": {
|
|
129
|
-
"id": "NzAuNLemc",
|
|
130
|
-
"type": "wall",
|
|
131
|
-
"prototype": "lines",
|
|
132
|
-
"name": "Wall",
|
|
133
|
-
"misc": {},
|
|
134
|
-
"selected": false,
|
|
135
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
136
|
-
"style": "",
|
|
137
|
-
"category": "",
|
|
138
|
-
"createdDateTime": 1693373165155,
|
|
139
|
-
"visible": true,
|
|
140
|
-
"vertices": ["mKjSxr-W8v", "f63-bHEpsp"],
|
|
141
|
-
"holes": [],
|
|
142
|
-
"focus": false,
|
|
143
|
-
"wallColor": "#dddddd"
|
|
144
|
-
},
|
|
145
|
-
"Ub0iX35kFf": {
|
|
146
|
-
"id": "Ub0iX35kFf",
|
|
147
|
-
"type": "wall",
|
|
148
|
-
"prototype": "lines",
|
|
149
|
-
"name": "Wall",
|
|
150
|
-
"misc": {},
|
|
151
|
-
"selected": false,
|
|
152
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
153
|
-
"style": "",
|
|
154
|
-
"category": "",
|
|
155
|
-
"createdDateTime": 1693373165165,
|
|
156
|
-
"visible": true,
|
|
157
|
-
"vertices": ["f63-bHEpsp", "vlppTvk-ik"],
|
|
158
|
-
"holes": [],
|
|
159
|
-
"focus": false,
|
|
160
|
-
"wallColor": "#dddddd"
|
|
161
|
-
},
|
|
162
|
-
"ee4Mg4ygU": {
|
|
163
|
-
"id": "ee4Mg4ygU",
|
|
164
|
-
"type": "wall",
|
|
165
|
-
"prototype": "lines",
|
|
166
|
-
"name": "Wall",
|
|
167
|
-
"misc": {},
|
|
168
|
-
"selected": false,
|
|
169
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
170
|
-
"style": "",
|
|
171
|
-
"category": "",
|
|
172
|
-
"createdDateTime": 1693373165195,
|
|
173
|
-
"visible": true,
|
|
174
|
-
"vertices": ["Pa4Hy3Z26ga", "YWcoTtebzF"],
|
|
175
|
-
"holes": [],
|
|
176
|
-
"focus": false,
|
|
177
|
-
"wallColor": "#dddddd"
|
|
178
|
-
},
|
|
179
|
-
"Rqe2KAU6-": {
|
|
180
|
-
"id": "Rqe2KAU6-",
|
|
181
|
-
"type": "wall",
|
|
182
|
-
"prototype": "lines",
|
|
183
|
-
"name": "Wall",
|
|
184
|
-
"misc": {},
|
|
185
|
-
"selected": false,
|
|
186
|
-
"properties": { "textureB": "plaster", "textureA": "plaster" },
|
|
187
|
-
"style": "",
|
|
188
|
-
"category": "",
|
|
189
|
-
"createdDateTime": 1693373165145,
|
|
190
|
-
"visible": true,
|
|
191
|
-
"vertices": ["YWcoTtebzF", "mKjSxr-W8v"],
|
|
192
|
-
"holes": [],
|
|
193
|
-
"focus": false,
|
|
194
|
-
"wallColor": "#dddddd"
|
|
195
|
-
},
|
|
196
|
-
"D7coA9xHM": {
|
|
197
|
-
"id": "D7coA9xHM",
|
|
198
|
-
"type": "wall",
|
|
199
|
-
"prototype": "lines",
|
|
200
|
-
"name": "Wall",
|
|
201
|
-
"misc": {},
|
|
202
|
-
"selected": false,
|
|
203
|
-
"properties": {
|
|
204
|
-
"textureB": "plaster",
|
|
205
|
-
"width": { "_unit": "in", "length": null },
|
|
206
|
-
"height": { "_unit": "in", "length": null },
|
|
207
|
-
"depth": { "_unit": "in", "length": null },
|
|
208
|
-
"textureA": "plaster"
|
|
209
|
-
},
|
|
210
|
-
"style": "",
|
|
211
|
-
"category": "",
|
|
212
|
-
"createdDateTime": 1693373165175,
|
|
213
|
-
"visible": true,
|
|
214
|
-
"vertices": ["vlppTvk-ik", "KYo9KB-NX8"],
|
|
215
|
-
"holes": [],
|
|
216
|
-
"focus": false,
|
|
217
|
-
"wallColor": "#dddddd"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
"holes": {},
|
|
221
|
-
"areas": {
|
|
222
|
-
"LNznnRBhRP": {
|
|
223
|
-
"id": "LNznnRBhRP",
|
|
224
|
-
"type": "area",
|
|
225
|
-
"prototype": "areas",
|
|
226
|
-
"name": "Area",
|
|
227
|
-
"misc": {},
|
|
228
|
-
"selected": false,
|
|
229
|
-
"properties": {
|
|
230
|
-
"patternColor": "rgba(175,175,175)",
|
|
231
|
-
"thickness": { "length": 0 },
|
|
232
|
-
"texture": "parquet"
|
|
233
|
-
},
|
|
234
|
-
"style": "",
|
|
235
|
-
"category": "",
|
|
236
|
-
"visible": true,
|
|
237
|
-
"vertices": [
|
|
238
|
-
"KYo9KB-NX8",
|
|
239
|
-
"vlppTvk-ik",
|
|
240
|
-
"f63-bHEpsp",
|
|
241
|
-
"mKjSxr-W8v",
|
|
242
|
-
"YWcoTtebzF",
|
|
243
|
-
"Pa4Hy3Z26ga"
|
|
244
|
-
],
|
|
245
|
-
"holes": [],
|
|
246
|
-
"texture": {
|
|
247
|
-
"roughness": 0.9,
|
|
248
|
-
"metalness": 0,
|
|
249
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"items": {},
|
|
254
|
-
"selected": {
|
|
255
|
-
"vertices": [],
|
|
256
|
-
"lines": [],
|
|
257
|
-
"holes": [],
|
|
258
|
-
"areas": [],
|
|
259
|
-
"items": []
|
|
260
|
-
},
|
|
261
|
-
"dcmmodel": false,
|
|
262
|
-
"lrmmodel": false,
|
|
263
|
-
"fbmmodel": false,
|
|
264
|
-
"counterTop": {
|
|
265
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202105074107_5/texture/Unique_Calcatta_texture.jpg"
|
|
266
|
-
},
|
|
267
|
-
"wallColor": {},
|
|
268
|
-
"floorStyle": {
|
|
269
|
-
"uri": "https://kc-assets-us.s3.amazonaws.com/uploads/CountTop/202203162950_2/texture/oak-barcelona-s.jpg"
|
|
270
|
-
},
|
|
271
|
-
"doorHandle": "",
|
|
272
|
-
"backsplash": { "roughness": 0.2, "metalness": 0.1, "uri": "" },
|
|
273
|
-
"backsplashApplied": false,
|
|
274
|
-
"ceilHeight": 96,
|
|
275
|
-
"unit": "in"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"grids": {
|
|
279
|
-
"h1": {
|
|
280
|
-
"id": "h1",
|
|
281
|
-
"type": "horizontal-streak",
|
|
282
|
-
"properties": {
|
|
283
|
-
"step": 30.48,
|
|
284
|
-
"colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
"v1": {
|
|
288
|
-
"id": "v1",
|
|
289
|
-
"type": "vertical-streak",
|
|
290
|
-
"properties": {
|
|
291
|
-
"step": 30.48,
|
|
292
|
-
"colors": ["#ddd", "#ddd", "#ddd", "#ddd", "#ddd"]
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"selectedLayer": "layer-1",
|
|
297
|
-
"groups": {},
|
|
298
|
-
"width": 3000,
|
|
299
|
-
"height": 2000,
|
|
300
|
-
"meta": {},
|
|
301
|
-
"guides": { "horizontal": {}, "vertical": {}, "circular": {} },
|
|
302
|
-
"title": "",
|
|
303
|
-
"currentProjectID": null,
|
|
304
|
-
"showfg": true,
|
|
305
|
-
"showWallLengthMeasure": 1,
|
|
306
|
-
"showBaseCabinetMeasure": 1,
|
|
307
|
-
"showWallCabinetMeasure": 1,
|
|
308
|
-
"showWindowDoorMeasure": 1,
|
|
309
|
-
"isLoadingCabinet": false,
|
|
310
|
-
"loadFlag": false
|
|
311
|
-
}
|
|
@@ -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
|
-
"NMCFQ-kJEt": {
|
|
14
|
-
"id": "NMCFQ-kJEt",
|
|
15
|
-
"type": "",
|
|
16
|
-
"prototype": "vertices",
|
|
17
|
-
"name": "Vertex",
|
|
18
|
-
"misc": {},
|
|
19
|
-
"selected": false,
|
|
20
|
-
"properties": {},
|
|
21
|
-
"style": "",
|
|
22
|
-
"category": "",
|
|
23
|
-
"visible": true,
|
|
24
|
-
"x": 1310.7,
|
|
25
|
-
"y": 1341.74,
|
|
26
|
-
"lines": ["wwPV53Cug", "fEdUWRYLl"],
|
|
27
|
-
"areas": ["7S8lVJb0cr"]
|
|
28
|
-
},
|
|
29
|
-
"z2q0OMdN-g": {
|
|
30
|
-
"id": "z2q0OMdN-g",
|
|
31
|
-
"type": "",
|
|
32
|
-
"prototype": "vertices",
|
|
33
|
-
"name": "Vertex",
|
|
34
|
-
"misc": {},
|
|
35
|
-
"selected": false,
|
|
36
|
-
"properties": {},
|
|
37
|
-
"style": "",
|
|
38
|
-
"category": "",
|
|
39
|
-
"visible": true,
|
|
40
|
-
"x": 1739.96,
|
|
41
|
-
"y": 1341.74,
|
|
42
|
-
"lines": ["wwPV53Cug", "RB9zjzP8k"],
|
|
43
|
-
"areas": ["7S8lVJb0cr"]
|
|
44
|
-
},
|
|
45
|
-
"ssXgGYuMrN": {
|
|
46
|
-
"id": "ssXgGYuMrN",
|
|
47
|
-
"type": "",
|
|
48
|
-
"prototype": "vertices",
|
|
49
|
-
"name": "Vertex",
|
|
50
|
-
"misc": {},
|
|
51
|
-
"selected": false,
|
|
52
|
-
"properties": {},
|
|
53
|
-
"style": "",
|
|
54
|
-
"category": "",
|
|
55
|
-
"visible": true,
|
|
56
|
-
"x": 1739.96,
|
|
57
|
-
"y": 673.72,
|
|
58
|
-
"lines": ["-IE2gdlxx", "RB9zjzP8k"],
|
|
59
|
-
"areas": ["7S8lVJb0cr"]
|
|
60
|
-
},
|
|
61
|
-
"fPEst12E2U": {
|
|
62
|
-
"id": "fPEst12E2U",
|
|
63
|
-
"type": "",
|
|
64
|
-
"prototype": "vertices",
|
|
65
|
-
"name": "Vertex",
|
|
66
|
-
"misc": {},
|
|
67
|
-
"selected": false,
|
|
68
|
-
"properties": {},
|
|
69
|
-
"style": "",
|
|
70
|
-
"category": "",
|
|
71
|
-
"visible": true,
|
|
72
|
-
"x": 1310.7017543859647,
|
|
73
|
-
"y": 673.7192982456143,
|
|
74
|
-
"lines": ["-IE2gdlxx", "fEdUWRYLl"],
|
|
75
|
-
"areas": ["7S8lVJb0cr"]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"lines": {
|
|
79
|
-
"wwPV53Cug": {
|
|
80
|
-
"id": "wwPV53Cug",
|
|
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": 1693373165105,
|
|
90
|
-
"visible": true,
|
|
91
|
-
"vertices": ["NMCFQ-kJEt", "z2q0OMdN-g"],
|
|
92
|
-
"holes": [],
|
|
93
|
-
"focus": false,
|
|
94
|
-
"wallColor": "#dddddd"
|
|
95
|
-
},
|
|
96
|
-
"fEdUWRYLl": {
|
|
97
|
-
"id": "fEdUWRYLl",
|
|
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": 1693373165135,
|
|
107
|
-
"visible": true,
|
|
108
|
-
"vertices": ["fPEst12E2U", "NMCFQ-kJEt"],
|
|
109
|
-
"holes": [],
|
|
110
|
-
"focus": false,
|
|
111
|
-
"wallColor": "#dddddd"
|
|
112
|
-
},
|
|
113
|
-
"-IE2gdlxx": {
|
|
114
|
-
"id": "-IE2gdlxx",
|
|
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": 1693373165125,
|
|
124
|
-
"visible": true,
|
|
125
|
-
"vertices": ["ssXgGYuMrN", "fPEst12E2U"],
|
|
126
|
-
"holes": [],
|
|
127
|
-
"focus": false,
|
|
128
|
-
"wallColor": "#dddddd"
|
|
129
|
-
},
|
|
130
|
-
"RB9zjzP8k": {
|
|
131
|
-
"id": "RB9zjzP8k",
|
|
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": 1693373165115,
|
|
147
|
-
"visible": true,
|
|
148
|
-
"vertices": ["z2q0OMdN-g", "ssXgGYuMrN"],
|
|
149
|
-
"holes": [],
|
|
150
|
-
"focus": false,
|
|
151
|
-
"wallColor": "#dddddd"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"holes": {},
|
|
155
|
-
"areas": {
|
|
156
|
-
"7S8lVJb0cr": {
|
|
157
|
-
"id": "7S8lVJb0cr",
|
|
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": ["NMCFQ-kJEt", "fPEst12E2U", "ssXgGYuMrN", "z2q0OMdN-g"],
|
|
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,123 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import CheckCircleIcon from '@material-ui/icons/CheckCircle';
|
|
5
|
-
import ErrorIcon from '@material-ui/icons/Error';
|
|
6
|
-
import InfoIcon from '@material-ui/icons/Info';
|
|
7
|
-
import { amber, green } from '@material-ui/core/colors';
|
|
8
|
-
import Button from '@material-ui/core/Button';
|
|
9
|
-
import Snackbar from '@material-ui/core/Snackbar';
|
|
10
|
-
import SnackbarContent from '@material-ui/core/SnackbarContent';
|
|
11
|
-
import WarningIcon from '@material-ui/icons/Warning';
|
|
12
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
13
|
-
import {
|
|
14
|
-
TEXT_COLOR_NEUTRAL_0,
|
|
15
|
-
PRIMARY_GREEN_COLOR,
|
|
16
|
-
DEFAULT_FONT_FAMILY
|
|
17
|
-
} from '../../../constants';
|
|
18
|
-
|
|
19
|
-
const variantIcon = {
|
|
20
|
-
success: CheckCircleIcon,
|
|
21
|
-
warning: WarningIcon,
|
|
22
|
-
error: ErrorIcon,
|
|
23
|
-
info: InfoIcon
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const useStyles1 = makeStyles(theme => ({
|
|
27
|
-
success: {
|
|
28
|
-
backgroundColor: green[600]
|
|
29
|
-
},
|
|
30
|
-
error: {
|
|
31
|
-
backgroundColor: theme.palette.error.dark
|
|
32
|
-
},
|
|
33
|
-
info: {
|
|
34
|
-
backgroundColor: theme.palette.primary.main
|
|
35
|
-
},
|
|
36
|
-
warning: {
|
|
37
|
-
backgroundColor: amber[700]
|
|
38
|
-
},
|
|
39
|
-
message: {
|
|
40
|
-
display: 'flex',
|
|
41
|
-
alignItems: 'center'
|
|
42
|
-
}
|
|
43
|
-
}));
|
|
44
|
-
|
|
45
|
-
function MySnackbarContentWrapper(props) {
|
|
46
|
-
const classes = useStyles1();
|
|
47
|
-
const { className, message, onClose, ...other } = props;
|
|
48
|
-
|
|
49
|
-
return (
|
|
50
|
-
<SnackbarContent
|
|
51
|
-
className={clsx(className)}
|
|
52
|
-
aria-describedby="client-snackbar"
|
|
53
|
-
message={message}
|
|
54
|
-
action={
|
|
55
|
-
<Button
|
|
56
|
-
style={{
|
|
57
|
-
color: PRIMARY_GREEN_COLOR,
|
|
58
|
-
fontSize: 16,
|
|
59
|
-
fontWeight: 'bold',
|
|
60
|
-
fontFamily: DEFAULT_FONT_FAMILY
|
|
61
|
-
}}
|
|
62
|
-
onClick={onClose}
|
|
63
|
-
>
|
|
64
|
-
OK
|
|
65
|
-
</Button>
|
|
66
|
-
}
|
|
67
|
-
{...other}
|
|
68
|
-
/>
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
MySnackbarContentWrapper.propTypes = {
|
|
73
|
-
className: PropTypes.string,
|
|
74
|
-
message: PropTypes.object,
|
|
75
|
-
onClose: PropTypes.func
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export function StyledAlert(props) {
|
|
79
|
-
const [open, setOpen] = React.useState(true);
|
|
80
|
-
|
|
81
|
-
const handleClose = (event, reason) => {
|
|
82
|
-
if (reason === 'clickaway') {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
setOpen(false);
|
|
86
|
-
props.onClose();
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
return (
|
|
90
|
-
<Snackbar
|
|
91
|
-
anchorOrigin={{
|
|
92
|
-
vertical: 'top',
|
|
93
|
-
horizontal: 'center'
|
|
94
|
-
}}
|
|
95
|
-
style={{ transform: 'unset' }}
|
|
96
|
-
open={open}
|
|
97
|
-
autoHideDuration={3000}
|
|
98
|
-
onClose={handleClose}
|
|
99
|
-
>
|
|
100
|
-
<MySnackbarContentWrapper
|
|
101
|
-
onClose={handleClose}
|
|
102
|
-
style={{
|
|
103
|
-
position: 'fixed',
|
|
104
|
-
top: 90,
|
|
105
|
-
borderRadius: 6,
|
|
106
|
-
textAlign: 'center',
|
|
107
|
-
zIndex: 11,
|
|
108
|
-
height: 60,
|
|
109
|
-
backgroundColor: TEXT_COLOR_NEUTRAL_0
|
|
110
|
-
}}
|
|
111
|
-
message={
|
|
112
|
-
props.text === '' ? (
|
|
113
|
-
<span style={{ fontSize: 16, fontFamily: DEFAULT_FONT_FAMILY }}>
|
|
114
|
-
Press <strong>ESC</strong> key to finish drawing!
|
|
115
|
-
</span>
|
|
116
|
-
) : (
|
|
117
|
-
props.text
|
|
118
|
-
)
|
|
119
|
-
}
|
|
120
|
-
/>
|
|
121
|
-
</Snackbar>
|
|
122
|
-
);
|
|
123
|
-
}
|