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,93 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import DownloadSummaryTemp from './downloadSummaryTemp';
|
|
3
|
-
import * as constants from '../../../../constants';
|
|
4
|
-
|
|
5
|
-
const ShowCabinetInfo = ({ productDATA, totalPrice, props }) => {
|
|
6
|
-
return (
|
|
7
|
-
<DownloadSummaryTemp config={props}>
|
|
8
|
-
<div style={{ marginBottom: '32px' }}>
|
|
9
|
-
<div
|
|
10
|
-
style={{
|
|
11
|
-
marginTop: '20px',
|
|
12
|
-
color: '#000F33',
|
|
13
|
-
fontSize: '17px',
|
|
14
|
-
fontFamily: 'Open Sans',
|
|
15
|
-
fontWeight: '700',
|
|
16
|
-
lineHeight: '45.9px',
|
|
17
|
-
wordWrap: 'break-word'
|
|
18
|
-
}}
|
|
19
|
-
>
|
|
20
|
-
{constants.LIST_PARTS}
|
|
21
|
-
</div>
|
|
22
|
-
<div
|
|
23
|
-
style={{
|
|
24
|
-
marginTop: 7,
|
|
25
|
-
color: '#434D63',
|
|
26
|
-
fontSize: '9px',
|
|
27
|
-
fontFamily: 'Open Sans',
|
|
28
|
-
fontWeight: '600',
|
|
29
|
-
lineHeight: '15px',
|
|
30
|
-
wordWrap: 'break-word'
|
|
31
|
-
}}
|
|
32
|
-
>
|
|
33
|
-
{constants.LIST_QUANTITIES}
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<div style={{ marginTop: '30px', marginBottom: '30px' }}>
|
|
37
|
-
<div style={styles.tHeader}>
|
|
38
|
-
<div>{constants.PRODUCT}</div>
|
|
39
|
-
<div>{constants.SUBTOTAL}</div>
|
|
40
|
-
</div>
|
|
41
|
-
<div>
|
|
42
|
-
<div style={styles.tBody}>{productDATA}</div>
|
|
43
|
-
<div style={styles.totalPrice}>
|
|
44
|
-
<div>Total</div>
|
|
45
|
-
<div>${totalPrice}</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</DownloadSummaryTemp>
|
|
50
|
-
);
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const styles = {
|
|
54
|
-
tHeader: {
|
|
55
|
-
display: 'flex',
|
|
56
|
-
justifyContent: 'space-between',
|
|
57
|
-
alignItems: 'center',
|
|
58
|
-
height: '25px',
|
|
59
|
-
backgroundColor: '#FAFlAFF',
|
|
60
|
-
padding: '0 4px 0 20px',
|
|
61
|
-
color: '#565F77',
|
|
62
|
-
fontSize: '9px',
|
|
63
|
-
fontFamily: 'Open Sans',
|
|
64
|
-
fontWeight: '600',
|
|
65
|
-
lineHeight: '12px',
|
|
66
|
-
wordWrap: 'break-word'
|
|
67
|
-
},
|
|
68
|
-
tBody: {
|
|
69
|
-
color: '#000F33',
|
|
70
|
-
fontSize: '9px',
|
|
71
|
-
fontFamily: 'Open Sans',
|
|
72
|
-
fontWeight: '600',
|
|
73
|
-
lineHeight: '13px',
|
|
74
|
-
wordWrap: 'break-word'
|
|
75
|
-
},
|
|
76
|
-
totalPrice: {
|
|
77
|
-
display: 'flex',
|
|
78
|
-
justifyContent: 'space-between',
|
|
79
|
-
alignItems: 'center',
|
|
80
|
-
height: '25px',
|
|
81
|
-
backgroundColor: '#FAFAFF',
|
|
82
|
-
padding: '0 0 0 20px',
|
|
83
|
-
color: '#000F33',
|
|
84
|
-
marginTop: 12,
|
|
85
|
-
fontSize: '9px',
|
|
86
|
-
fontFamily: 'Open Sans',
|
|
87
|
-
fontWeight: '600',
|
|
88
|
-
lineHeight: '12px',
|
|
89
|
-
wordWrap: 'break-word'
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export default ShowCabinetInfo;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import DownloadSummaryTemp from '../downloadSummaryTemp';
|
|
3
|
-
import {
|
|
4
|
-
DEFAULT_FONT_FAMILY,
|
|
5
|
-
ELEVATION_VIEW_KEYWORD,
|
|
6
|
-
ELEVATION_VIEW_TITLE,
|
|
7
|
-
MODE_BACK_ELEVATION_VIEW,
|
|
8
|
-
MODE_FRONT_ELEVATION_VIEW,
|
|
9
|
-
MODE_LEFT_ELEVATION_VIEW,
|
|
10
|
-
MODE_RIGHT_ELEVATION_VIEW,
|
|
11
|
-
TECHNICAL_VIEW
|
|
12
|
-
} from '../../../../../constants';
|
|
13
|
-
import {
|
|
14
|
-
almostEqual,
|
|
15
|
-
isFrontWall,
|
|
16
|
-
isBackWall,
|
|
17
|
-
isLeftWall,
|
|
18
|
-
isRightWall
|
|
19
|
-
} from '../../../../../utils/geometry';
|
|
20
|
-
import ViewerElevationDownLoad from './viewerElevationDownload';
|
|
21
|
-
|
|
22
|
-
const ShowElevationView = ({ props, mode, setIsLoadingElevation }) => {
|
|
23
|
-
let newState = props.state.set('mode', mode);
|
|
24
|
-
const [hasWall, setHasWall] = useState(true);
|
|
25
|
-
useEffect(() => {
|
|
26
|
-
let layer = props.state.scene.getIn([
|
|
27
|
-
'layers',
|
|
28
|
-
props.state.scene.selectedLayer
|
|
29
|
-
]);
|
|
30
|
-
if (!layer.lines.size) {
|
|
31
|
-
// alert("You must add a least one wall");
|
|
32
|
-
// return;
|
|
33
|
-
setHasWall(false);
|
|
34
|
-
} else {
|
|
35
|
-
let directLines = [];
|
|
36
|
-
layer.lines.toArray().forEach(line => {
|
|
37
|
-
let vertex0 = layer.vertices.get(line.vertices.get(0));
|
|
38
|
-
let vertex1 = layer.vertices.get(line.vertices.get(1));
|
|
39
|
-
let { x: x1, y: y1 } = vertex0;
|
|
40
|
-
let { x: x2, y: y2 } = vertex1;
|
|
41
|
-
|
|
42
|
-
switch (newState.mode) {
|
|
43
|
-
case MODE_FRONT_ELEVATION_VIEW:
|
|
44
|
-
if (isFrontWall(vertex0, vertex1)) {
|
|
45
|
-
directLines.push(line);
|
|
46
|
-
}
|
|
47
|
-
break;
|
|
48
|
-
case MODE_BACK_ELEVATION_VIEW:
|
|
49
|
-
if (isBackWall(vertex0, vertex1)) {
|
|
50
|
-
directLines.push(line);
|
|
51
|
-
}
|
|
52
|
-
break;
|
|
53
|
-
case MODE_LEFT_ELEVATION_VIEW:
|
|
54
|
-
if (isLeftWall(vertex0, vertex1)) {
|
|
55
|
-
directLines.push(line);
|
|
56
|
-
}
|
|
57
|
-
break;
|
|
58
|
-
case MODE_RIGHT_ELEVATION_VIEW:
|
|
59
|
-
if (isRightWall(vertex0, vertex1)) {
|
|
60
|
-
directLines.push(line);
|
|
61
|
-
}
|
|
62
|
-
break;
|
|
63
|
-
default:
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
if (!directLines.length) {
|
|
68
|
-
setHasWall(false);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}, []);
|
|
72
|
-
|
|
73
|
-
return (
|
|
74
|
-
<DownloadSummaryTemp config={props.logoImage}>
|
|
75
|
-
<div style={{ marginBottom: '32px' }}>
|
|
76
|
-
<div
|
|
77
|
-
style={{
|
|
78
|
-
marginTop: '20px',
|
|
79
|
-
color: '#000F33',
|
|
80
|
-
fontSize: '17px',
|
|
81
|
-
fontFamily: DEFAULT_FONT_FAMILY,
|
|
82
|
-
fontWeight: '700',
|
|
83
|
-
lineHeight: '45.9px',
|
|
84
|
-
wordWrap: 'break-word'
|
|
85
|
-
}}
|
|
86
|
-
>
|
|
87
|
-
{ELEVATION_VIEW_TITLE[mode]}
|
|
88
|
-
</div>
|
|
89
|
-
<div
|
|
90
|
-
style={{
|
|
91
|
-
marginTop: 7,
|
|
92
|
-
color: '#434D63',
|
|
93
|
-
fontSize: '9px',
|
|
94
|
-
fontFamily: DEFAULT_FONT_FAMILY,
|
|
95
|
-
fontWeight: '600',
|
|
96
|
-
lineHeight: '15px',
|
|
97
|
-
wordWrap: 'break-word'
|
|
98
|
-
}}
|
|
99
|
-
>
|
|
100
|
-
{TECHNICAL_VIEW}
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
{hasWall ? (
|
|
104
|
-
<div style={{ height: 412 }}>
|
|
105
|
-
<ViewerElevationDownLoad
|
|
106
|
-
state={newState}
|
|
107
|
-
setIsLoadingElevation={setIsLoadingElevation}
|
|
108
|
-
catalog={props.catalog}
|
|
109
|
-
/>
|
|
110
|
-
</div>
|
|
111
|
-
) : (
|
|
112
|
-
<div style={Style.noWall}>
|
|
113
|
-
<h1>No {ELEVATION_VIEW_KEYWORD[mode]} Wall</h1>
|
|
114
|
-
</div>
|
|
115
|
-
)}
|
|
116
|
-
</DownloadSummaryTemp>
|
|
117
|
-
);
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
const Style = {
|
|
121
|
-
noWall: {
|
|
122
|
-
width: '342px',
|
|
123
|
-
height: '350px',
|
|
124
|
-
backgroundColor: 'lightgrey',
|
|
125
|
-
display: 'inline-flex',
|
|
126
|
-
justifyContent: 'center',
|
|
127
|
-
alignItems: 'center',
|
|
128
|
-
marginBottom: '60px'
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
export default ShowElevationView;
|