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,93 @@
|
|
|
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;
|
|
@@ -0,0 +1,132 @@
|
|
|
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;
|