kitchen-simulator 5.0.0-test.17 → 5.0.0-test.19
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 +8 -18
- package/src/@history.js +3 -0
- package/src/CrossSignOn.jsx +94 -0
- package/src/KitchenConfigurator.jsx +1526 -0
- package/src/KitchenConfiguratorApp.jsx +1 -1
- package/src/_KitchenConfigurator.jsx +3 -91
- package/src/components/atoms/Snackbar/index.jsx +43 -0
- package/src/components/atoms/radio-button/index.jsx +20 -0
- package/src/components/atoms/radio-button/styles.js +56 -0
- package/src/components/button/MainButton.jsx +157 -0
- package/src/components/button/ToggleMeasureButton.jsx +65 -0
- package/src/components/catalog-view/catalog-breadcrumb.jsx +53 -0
- package/src/components/catalog-view/catalog-item.jsx +229 -0
- package/src/components/catalog-view/catalog-list.jsx +173 -0
- package/src/components/catalog-view/catalog-page-item.jsx +110 -0
- package/src/components/catalog-view/catalog-turn-back-page-item.jsx +80 -0
- package/src/components/configurator/custom-configurator.jsx +77 -0
- package/src/components/configurator/project-configurator.jsx +120 -0
- package/src/components/content.jsx +136 -0
- package/src/components/export.js +36 -0
- package/src/components/firstsetting/button/styles.js +223 -0
- package/src/components/firstsetting/export.js +9 -0
- package/src/components/firstsetting/firstsetting-content-button.jsx +198 -0
- package/src/components/firstsetting/firstsetting-toggle-button.jsx +101 -0
- package/src/components/firstsetting/firstsetting.jsx +814 -0
- package/src/components/footerbar/button/ControlButton.jsx +43 -0
- package/src/components/footerbar/button/DirectionButton.jsx +54 -0
- package/src/components/footerbar/button/DirectionPanSpinButton.jsx +36 -0
- package/src/components/footerbar/button/ToggleButton.jsx +58 -0
- package/src/components/footerbar/button/ToggleConvertButton.jsx +48 -0
- package/src/components/footerbar/button/ToggleMeasureButton.jsx +33 -0
- package/src/components/footerbar/button/styles.js +217 -0
- package/src/components/footerbar/export.js +9 -0
- package/src/components/footerbar/footer-content-button.jsx +198 -0
- package/src/components/footerbar/footer-toggle-button.jsx +101 -0
- package/src/components/footerbar/footerbar.jsx +1103 -0
- package/src/components/footerbar/styles.js +263 -0
- package/src/components/header/button/MenuButton.jsx +46 -0
- package/src/components/header/button/SaveButton.jsx +54 -0
- package/src/components/header/button/styles.js +181 -0
- package/src/components/header/export.js +5 -0
- package/src/components/header/header.jsx +631 -0
- package/src/components/header/header.style.css +47 -0
- package/src/components/header/styles.js +320 -0
- package/src/components/login/Login.js +77 -0
- package/src/components/login/LoginForm/index.js +108 -0
- package/src/components/login/Register.js +82 -0
- package/src/components/login/RegisterForm/index.js +171 -0
- package/src/components/login/jwtService.js +201 -0
- package/src/components/login/style.css +158 -0
- package/src/components/login/style.scss +260 -0
- package/src/components/molecules/slider/index.jsx +15 -0
- package/src/components/molecules/slider/styles.js +0 -0
- package/src/components/molecules/slider/styles.scss +3 -0
- package/src/components/myprojects/export.js +5 -0
- package/src/components/myprojects/index.jsx +445 -0
- package/src/components/myprojects/styles.js +241 -0
- package/src/components/sidebar/custom-accordion.jsx +48 -0
- package/src/components/sidebar/export.js +15 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +73 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.jsx +101 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +149 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +316 -0
- package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +108 -0
- package/src/components/sidebar/panel-element-editor/element-editor.jsx +1070 -0
- package/src/components/sidebar/panel-element-editor/multi-elements-editor.jsx +0 -0
- package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +104 -0
- package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +155 -0
- package/src/components/sidebar/panel-group-editor.jsx +272 -0
- package/src/components/sidebar/panel-groups.jsx +310 -0
- package/src/components/sidebar/panel-guides.jsx +192 -0
- package/src/components/sidebar/panel-layer-elements.jsx +298 -0
- package/src/components/sidebar/panel-layers.jsx +381 -0
- package/src/components/sidebar/panel.jsx +71 -0
- package/src/components/sidebar/sidebar.jsx +106 -0
- package/src/components/sidebar/toolbar-panel.jsx +139 -0
- package/src/components/sign/export.js +7 -0
- package/src/components/sign/main/index.jsx +523 -0
- package/src/components/sign/main/styles.js +163 -0
- package/src/components/style/button.jsx +95 -0
- package/src/components/style/cancel-button.jsx +20 -0
- package/src/components/style/content-container.jsx +29 -0
- package/src/components/style/content-title.jsx +20 -0
- package/src/components/style/delete-button.jsx +23 -0
- package/src/components/style/export.jsx +48 -0
- package/src/components/style/form-block.jsx +13 -0
- package/src/components/style/form-color-input.jsx +27 -0
- package/src/components/style/form-label.jsx +15 -0
- package/src/components/style/form-number-input.jsx +196 -0
- package/src/components/style/form-number-input_2.jsx +191 -0
- package/src/components/style/form-select.jsx +38 -0
- package/src/components/style/form-slider.jsx +36 -0
- package/src/components/style/form-submit-button.jsx +23 -0
- package/src/components/style/form-text-input.jsx +65 -0
- package/src/components/toolbar/button/ControlButton.jsx +41 -0
- package/src/components/toolbar/button/DirectionButton.jsx +34 -0
- package/src/components/toolbar/button/RightButton.jsx +103 -0
- package/src/components/toolbar/button/ToggleButton.jsx +41 -0
- package/src/components/toolbar/button/index.jsx +55 -0
- package/src/components/toolbar/button/styles.js +127 -0
- package/src/components/toolbar/components/DoorStyleMenu.jsx +103 -0
- package/src/components/toolbar/components/Pricing.jsx +126 -0
- package/src/components/toolbar/components/ReviewForQuote.jsx +635 -0
- package/src/components/toolbar/export.js +21 -0
- package/src/components/toolbar/main/Alert.js +122 -0
- package/src/components/toolbar/main/TakePictureModal.jsx +104 -0
- package/src/components/toolbar/main/confirm-popup.jsx +99 -0
- package/src/components/toolbar/main/index.jsx +5627 -0
- package/src/components/toolbar/main/lShaped.json +311 -0
- package/src/components/toolbar/main/longNarrow.json +238 -0
- package/src/components/toolbar/main/myComponents.js +123 -0
- package/src/components/toolbar/main/oRectangle.json +220 -0
- package/src/components/toolbar/main/rectangle.json +238 -0
- package/src/components/toolbar/main/style.css +107 -0
- package/src/components/toolbar/main/styles.js +696 -0
- package/src/components/toolbar/plugin-item.jsx +123 -0
- package/src/components/toolbar/popup/appliance/appliance-category/index.jsx +73 -0
- package/src/components/toolbar/popup/appliance/choose-appliance/index.jsx +102 -0
- package/src/components/toolbar/popup/appliance/index.jsx +83 -0
- package/src/components/toolbar/popup/autosaveprompt/index.jsx +150 -0
- package/src/components/toolbar/popup/autosaveprompt/styles.css +64 -0
- package/src/components/toolbar/popup/autosaveprompt/styles.js +40 -0
- package/src/components/toolbar/popup/cabinet/cabinet-category/index.jsx +73 -0
- package/src/components/toolbar/popup/cabinet/choose-product/index.jsx +119 -0
- package/src/components/toolbar/popup/cabinet/index.jsx +85 -0
- package/src/components/toolbar/popup/doorStyle/choose-style/index.jsx +63 -0
- package/src/components/toolbar/popup/doorStyle/index.jsx +71 -0
- package/src/components/toolbar/popup/doorStyle/style-category/index.jsx +139 -0
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +2 -0
- package/src/components/toolbar/popup/downloadsummary/downloadSummaryTemp.jsx +157 -0
- package/src/components/toolbar/popup/downloadsummary/index.jsx +643 -0
- package/src/components/toolbar/popup/downloadsummary/show2D/show2DView.jsx +51 -0
- package/src/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.jsx +175 -0
- package/src/components/toolbar/popup/downloadsummary/show3D/show3DView.jsx +283 -0
- package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +2257 -0
- package/src/components/toolbar/popup/downloadsummary/showCabinetInfo.js +93 -0
- package/src/components/toolbar/popup/downloadsummary/showElevation/showElevationView.jsx +132 -0
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +2198 -0
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx +152 -0
- package/src/components/toolbar/popup/downloadsummary/showWarranty.jsx +149 -0
- package/src/components/toolbar/popup/downloadsummary/styles.css +177 -0
- package/src/components/toolbar/popup/downloadsummary/styles.js +453 -0
- package/src/components/toolbar/popup/finishingtouch/category/index.jsx +34 -0
- package/src/components/toolbar/popup/finishingtouch/index.jsx +58 -0
- package/src/components/toolbar/popup/finishingtouch/material-edit.jsx +112 -0
- package/src/components/toolbar/popup/finishingtouch/product/index.jsx +116 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx +101 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/index.jsx +254 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/lShaped.json +311 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +238 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +220 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/rectangle.json +238 -0
- package/src/components/toolbar/popup/floorplan/choose-floor/styles.js +86 -0
- package/src/components/toolbar/popup/floorplan/floor-category/index.jsx +109 -0
- package/src/components/toolbar/popup/floorplan/index.jsx +60 -0
- package/src/components/toolbar/popup/index.jsx +241 -0
- package/src/components/toolbar/popup/newproject/index.jsx +59 -0
- package/src/components/toolbar/popup/newproject/styles.css +64 -0
- package/src/components/toolbar/popup/newproject/styles.js +41 -0
- package/src/components/toolbar/popup/product/appliance.jsx +54 -0
- package/src/components/toolbar/popup/product/cabinetproduct.jsx +15 -0
- package/src/components/toolbar/popup/product/doorstyle.jsx +58 -0
- package/src/components/toolbar/popup/product/doorstyleproduct.jsx +47 -0
- package/src/components/toolbar/popup/product/floor.jsx +36 -0
- package/src/components/toolbar/popup/product/floorproduct.jsx +42 -0
- package/src/components/toolbar/popup/product/index.jsx +36 -0
- package/src/components/toolbar/popup/product/primary.jsx +77 -0
- package/src/components/toolbar/popup/product/productline.jsx +93 -0
- package/src/components/toolbar/popup/product/reviewItem.jsx +427 -0
- package/src/components/toolbar/popup/product/reviewMolding.jsx +310 -0
- package/src/components/toolbar/popup/product/style.css +54 -0
- package/src/components/toolbar/popup/product/styles.js +260 -0
- package/src/components/toolbar/popup/savedesign/FullPictureForm.jsx +146 -0
- package/src/components/toolbar/popup/savedesign/index.jsx +495 -0
- package/src/components/toolbar/popup/savedesign/savedesign.style.css +16 -0
- package/src/components/toolbar/popup/savedesign/styles.js +151 -0
- package/src/components/toolbar/popup/setDoorStyleOption/index.jsx +87 -0
- package/src/components/toolbar/popup/styles.js +909 -0
- package/src/components/toolbar/popup/submitforquote/AddToCartOptions.jsx +192 -0
- package/src/components/toolbar/popup/submitforquote/CustomerRequestsForm.jsx +96 -0
- package/src/components/toolbar/popup/submitforquote/SkipDesignerReview.jsx +54 -0
- package/src/components/toolbar/popup/submitforquote/StepDots.jsx +25 -0
- package/src/components/toolbar/popup/submitforquote/cart-choice.jsx +116 -0
- package/src/components/toolbar/popup/submitforquote/doorstyle-menus.js +38 -0
- package/src/components/toolbar/popup/submitforquote/index.jsx +698 -0
- package/src/components/toolbar/popup/submitforquote/styles.css +105 -0
- package/src/components/toolbar/popup/submitforquote/styles.js +294 -0
- package/src/components/toolbar/popup/submitprompt/index.jsx +89 -0
- package/src/components/toolbar/popup/submitprompt/styles.css +64 -0
- package/src/components/toolbar/popup/submitprompt/styles.js +42 -0
- package/src/components/toolbar/toolbar-button.jsx +90 -0
- package/src/components/toolbar/toolbar-load-button.jsx +36 -0
- package/src/components/toolbar/toolbar-save-button.jsx +32 -0
- package/src/components/tutorial-view/Modal.jsx +584 -0
- package/src/components/tutorial-view/style.css +111 -0
- package/src/components/tutorial-view/styles.js +65 -0
- package/src/components/wizardstep/button/styles.js +677 -0
- package/src/components/wizardstep/export.js +5 -0
- package/src/components/wizardstep/index.jsx +1372 -0
- package/src/components/wizardstep/styles.js +688 -0
- package/src/components/wizardstep/wizardstep-content-button.jsx +198 -0
- package/src/components/wizardstep/wizardstep-toggle-button.jsx +101 -0
- package/src/{_index.js → index.js} +4 -4
- package/src/renderer.jsx +466 -0
- package/src/actions/_export.js +0 -35
- package/src/components/_export.js +0 -11
|
@@ -0,0 +1,311 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
}
|