kitchen-simulator 5.0.0-test.7 → 5.0.0-test.9
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 +12 -3
- package/src/components/export.js +16 -23
- 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/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 -5627
- 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/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import State3D from '../../../../viewer3d/ruler-utils/state3D';
|
|
3
|
-
import { getSignedUrl } from '../../../../../utils/helper';
|
|
4
|
-
import Viewer3D from '../../../../viewer3d/viewer3d';
|
|
5
|
-
|
|
6
|
-
const ViewerElevationDownLoad = ({ state, setIsLoadingElevation, catalog }) => {
|
|
7
|
-
const width = 682,
|
|
8
|
-
height = 500;
|
|
9
|
-
|
|
10
|
-
let pdfID = `${state.mode}_pdfID`;
|
|
11
|
-
let svgID = `${state.mode}_svgID`;
|
|
12
|
-
|
|
13
|
-
useEffect(() => {
|
|
14
|
-
if (!window.__elevationImg) {
|
|
15
|
-
window.__elevationImg = {};
|
|
16
|
-
}
|
|
17
|
-
return () => (window.__elevationImg[state.mode] = '');
|
|
18
|
-
}, []);
|
|
19
|
-
|
|
20
|
-
const saveSVGScreenshotToFile = async () => {
|
|
21
|
-
let maxWidthSVGElement = document.getElementById(`${svgID}`);
|
|
22
|
-
|
|
23
|
-
if (maxWidthSVGElement !== null) {
|
|
24
|
-
let images = maxWidthSVGElement.getElementsByTagName('image');
|
|
25
|
-
|
|
26
|
-
let readBlob = b => {
|
|
27
|
-
return new Promise(res => {
|
|
28
|
-
const reader = new FileReader();
|
|
29
|
-
reader.onloadend = () => {
|
|
30
|
-
res(reader.result);
|
|
31
|
-
};
|
|
32
|
-
reader.onerror = () => {
|
|
33
|
-
res(b);
|
|
34
|
-
};
|
|
35
|
-
reader.readAsDataURL(b);
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
try {
|
|
40
|
-
for (let image of images) {
|
|
41
|
-
const url = getSignedUrl(image.getAttribute('href'));
|
|
42
|
-
const response = await fetch(url, { cache: 'no-store' });
|
|
43
|
-
const blob = await response.blob();
|
|
44
|
-
const content = await readBlob(blob);
|
|
45
|
-
image.setAttribute('href', content);
|
|
46
|
-
}
|
|
47
|
-
} catch (e) {}
|
|
48
|
-
// End: Change Image tags' href to local data src
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
let serializer = new XMLSerializer();
|
|
52
|
-
|
|
53
|
-
let img = new Image();
|
|
54
|
-
let img2 = new Image();
|
|
55
|
-
// I create the new canvas to draw
|
|
56
|
-
let canvas2D3DPlain1 = document.getElementById(`${pdfID}`);
|
|
57
|
-
|
|
58
|
-
if (canvas2D3DPlain1 !== null) {
|
|
59
|
-
let canvas2D3DPlain = canvas2D3DPlain1.getElementsByTagName('canvas')[0];
|
|
60
|
-
|
|
61
|
-
let canvas42DPlain = document.createElement('canvas');
|
|
62
|
-
let ctx = canvas42DPlain.getContext('2d');
|
|
63
|
-
|
|
64
|
-
// Set width and height for the new canvas
|
|
65
|
-
let heightAtt = document.createAttribute('height');
|
|
66
|
-
heightAtt.value = maxWidthSVGElement.height.baseVal.value;
|
|
67
|
-
canvas42DPlain.setAttributeNode(heightAtt);
|
|
68
|
-
|
|
69
|
-
let widthAtt = document.createAttribute('width');
|
|
70
|
-
widthAtt.value = maxWidthSVGElement.width.baseVal.value;
|
|
71
|
-
canvas42DPlain.setAttributeNode(widthAtt);
|
|
72
|
-
|
|
73
|
-
ctx.fillStyle = 'white';
|
|
74
|
-
ctx.fillRect(0, 0, canvas42DPlain.width, canvas42DPlain.height);
|
|
75
|
-
|
|
76
|
-
img.crossOrigin = 'anonymous';
|
|
77
|
-
img.src = `data:image/svg+xml;base64,${window.btoa(
|
|
78
|
-
serializer.serializeToString(maxWidthSVGElement)
|
|
79
|
-
)}`;
|
|
80
|
-
img2.crossOrigin = 'anonymous';
|
|
81
|
-
img2.src = canvas2D3DPlain.toDataURL();
|
|
82
|
-
|
|
83
|
-
img2.onload = () => {
|
|
84
|
-
ctx.globalAlpha = 1;
|
|
85
|
-
ctx.drawImage(
|
|
86
|
-
img2,
|
|
87
|
-
0,
|
|
88
|
-
0,
|
|
89
|
-
maxWidthSVGElement.width.baseVal.value,
|
|
90
|
-
maxWidthSVGElement.height.baseVal.value
|
|
91
|
-
);
|
|
92
|
-
ctx.drawImage(
|
|
93
|
-
img,
|
|
94
|
-
0,
|
|
95
|
-
0,
|
|
96
|
-
maxWidthSVGElement.width.baseVal.value,
|
|
97
|
-
maxWidthSVGElement.height.baseVal.value
|
|
98
|
-
);
|
|
99
|
-
|
|
100
|
-
window.__elevationImg[state.mode] = canvas42DPlain.toDataURL();
|
|
101
|
-
};
|
|
102
|
-
} else {
|
|
103
|
-
window.__elevationImg[state.mode] = '';
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
const _setIsLoadingElevation = (key, value) => {
|
|
108
|
-
if (!value) {
|
|
109
|
-
saveSVGScreenshotToFile();
|
|
110
|
-
}
|
|
111
|
-
setIsLoadingElevation(key, value);
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
return (
|
|
115
|
-
<div
|
|
116
|
-
id={pdfID}
|
|
117
|
-
style={{
|
|
118
|
-
position: 'relative',
|
|
119
|
-
transform: `scale(0.5,0.5)`,
|
|
120
|
-
width: 6,
|
|
121
|
-
height: 0
|
|
122
|
-
}}
|
|
123
|
-
>
|
|
124
|
-
<svg
|
|
125
|
-
id={svgID}
|
|
126
|
-
width={width}
|
|
127
|
-
height={height}
|
|
128
|
-
style={{ position: 'absolute' }}
|
|
129
|
-
>
|
|
130
|
-
<g transform={`translate(${width / 2}, ${height / 2})`}>
|
|
131
|
-
<State3D
|
|
132
|
-
state={state}
|
|
133
|
-
catalog={catalog}
|
|
134
|
-
width={width}
|
|
135
|
-
height={height}
|
|
136
|
-
downloadFlag={true}
|
|
137
|
-
/>
|
|
138
|
-
</g>
|
|
139
|
-
</svg>
|
|
140
|
-
|
|
141
|
-
<Viewer3D
|
|
142
|
-
state={state}
|
|
143
|
-
setIsLoadingElevation={_setIsLoadingElevation}
|
|
144
|
-
width={width}
|
|
145
|
-
height={height}
|
|
146
|
-
downloadFlag={true}
|
|
147
|
-
/>
|
|
148
|
-
</div>
|
|
149
|
-
);
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
export default ViewerElevationDownLoad;
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import DownloadSummaryTemp from './downloadSummaryTemp';
|
|
3
|
-
import * as constants from '../../../../constants';
|
|
4
|
-
import moment from 'moment';
|
|
5
|
-
|
|
6
|
-
const styles = {
|
|
7
|
-
viewTitle: {
|
|
8
|
-
color: '#565F77',
|
|
9
|
-
marginBottom: 'inherit',
|
|
10
|
-
fontSize: '9px',
|
|
11
|
-
fontFamily: constants.DEFAULT_FONT_FAMILY,
|
|
12
|
-
fontWeight: '700',
|
|
13
|
-
lineHeight: '12.6px',
|
|
14
|
-
wordWrap: 'break-word'
|
|
15
|
-
},
|
|
16
|
-
viewWarranty: {
|
|
17
|
-
color: '#565F77',
|
|
18
|
-
margin: 'inherit',
|
|
19
|
-
fontSize: '7px',
|
|
20
|
-
fontFamily: constants.DEFAULT_FONT_FAMILY,
|
|
21
|
-
fontWeight: '400',
|
|
22
|
-
lineHeight: '12.6px',
|
|
23
|
-
wordWrap: 'break-word',
|
|
24
|
-
marginTop: '4px'
|
|
25
|
-
},
|
|
26
|
-
viewWarranty_1: {
|
|
27
|
-
color: '#565F77',
|
|
28
|
-
margin: 'inherit',
|
|
29
|
-
fontSize: '7px',
|
|
30
|
-
fontFamily: constants.DEFAULT_FONT_FAMILY,
|
|
31
|
-
fontWeight: '400',
|
|
32
|
-
lineHeight: '12.6px',
|
|
33
|
-
wordWrap: 'break-word',
|
|
34
|
-
marginTop: '20px'
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
const ShowWarranty = props => {
|
|
39
|
-
return (
|
|
40
|
-
<DownloadSummaryTemp config={props}>
|
|
41
|
-
<div style={{ marginBottom: '32px' }}>
|
|
42
|
-
<div
|
|
43
|
-
style={{
|
|
44
|
-
marginTop: '20px',
|
|
45
|
-
color: '#000F33',
|
|
46
|
-
fontSize: '17px',
|
|
47
|
-
fontFamily: constants.DEFAULT_FONT_FAMILY,
|
|
48
|
-
fontWeight: '700',
|
|
49
|
-
lineHeight: '45.9px',
|
|
50
|
-
wordWrap: 'break-word'
|
|
51
|
-
}}
|
|
52
|
-
>
|
|
53
|
-
{constants.WARRANTY_VIEW}
|
|
54
|
-
</div>
|
|
55
|
-
<div
|
|
56
|
-
style={{
|
|
57
|
-
marginTop: 7,
|
|
58
|
-
color: '#434D63',
|
|
59
|
-
fontSize: '9px',
|
|
60
|
-
fontFamily: constants.DEFAULT_FONT_FAMILY,
|
|
61
|
-
fontWeight: '600',
|
|
62
|
-
lineHeight: '15px',
|
|
63
|
-
wordWrap: 'break-word'
|
|
64
|
-
}}
|
|
65
|
-
>
|
|
66
|
-
{constants.WARRANTY_SUPPORT}
|
|
67
|
-
</div>
|
|
68
|
-
<div style={{}}>
|
|
69
|
-
<h5 style={styles.viewTitle}>1. Coverage Period</h5>
|
|
70
|
-
<p style={styles.viewWarranty}>
|
|
71
|
-
This warranty is valid for a period of{' '}
|
|
72
|
-
{moment(new Date()).format('MM-YYYY')}/[XX months/years] from the
|
|
73
|
-
original purchase date, as indicated on the purchase receipt.
|
|
74
|
-
</p>
|
|
75
|
-
<h5 style={styles.viewTitle}>2. Scope of Warranty</h5>
|
|
76
|
-
<p style={styles.viewWarranty}>
|
|
77
|
-
This warranty covers defects in materials and workmanship under
|
|
78
|
-
normal use. It does not cover damage caused by misuse, neglect,
|
|
79
|
-
unauthorized modifications, or external factors such as accidents or
|
|
80
|
-
natural disasters.
|
|
81
|
-
</p>
|
|
82
|
-
<h5 style={styles.viewTitle}>3. Warranty Claim Process</h5>
|
|
83
|
-
<p style={styles.viewWarranty}>
|
|
84
|
-
<span>To file a warranty claim:</span>
|
|
85
|
-
<ul style={{ paddingLeft: '15px', marginTop: '10px' }}>
|
|
86
|
-
<li>
|
|
87
|
-
Contact our support team at [support email or phone number].
|
|
88
|
-
</li>
|
|
89
|
-
<li>
|
|
90
|
-
Provide proof of purchase and a detailed description of the
|
|
91
|
-
issue.
|
|
92
|
-
</li>
|
|
93
|
-
<li>
|
|
94
|
-
Follow instructions for returning the product or scheduling an
|
|
95
|
-
inspection.
|
|
96
|
-
</li>
|
|
97
|
-
</ul>
|
|
98
|
-
</p>
|
|
99
|
-
<h5 style={styles.viewTitle}>4. Remedies</h5>
|
|
100
|
-
<p style={styles.viewWarranty}>
|
|
101
|
-
<span>
|
|
102
|
-
If a defect is confirmed, DIY Design Space will, at its
|
|
103
|
-
discretion:
|
|
104
|
-
</span>
|
|
105
|
-
<ul style={{ paddingLeft: '15px', marginTop: '10px' }}>
|
|
106
|
-
<li>Repair the defective item.</li>
|
|
107
|
-
<li>Replace it with an identical or equivalent product.</li>
|
|
108
|
-
<li>Refund the purchase price.</li>
|
|
109
|
-
</ul>
|
|
110
|
-
</p>
|
|
111
|
-
<h5 style={styles.viewTitle}>5. Limitations</h5>
|
|
112
|
-
<p style={styles.viewWarranty}>
|
|
113
|
-
This warranty is non-transferable and valid only for the original
|
|
114
|
-
purchaser. It excludes liability for incidental or consequential
|
|
115
|
-
damages arising from the use of the product.
|
|
116
|
-
</p>
|
|
117
|
-
<h5 style={styles.viewTitle}>6. Additional Terms</h5>
|
|
118
|
-
<p style={styles.viewWarranty}>
|
|
119
|
-
For products requiring maintenance, adherence to the recommended
|
|
120
|
-
care guidelines is necessary for warranty validity. This warranty
|
|
121
|
-
gives you specific legal rights, and you may also have other rights
|
|
122
|
-
that vary by jurisdiction. For complete details, please visit our
|
|
123
|
-
website at [website link].
|
|
124
|
-
</p>
|
|
125
|
-
<p style={styles.viewWarranty_1}>
|
|
126
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in
|
|
127
|
-
erat vitae purus venenatis vestibulum sed id nisi. Vestibulum sit
|
|
128
|
-
amet risus in nibh tempor ullamcorper. Sed porta vestibulum dui, et
|
|
129
|
-
feugiat libero vestibulum quis. Pellentesque habitant morbi
|
|
130
|
-
tristique senectus et netus et malesuada fames ac turpis egestas.
|
|
131
|
-
Quisque sit amet neque augue. Nam ornare nisl sed dui venenatis, a
|
|
132
|
-
accumsan purus imperdiet. Etiam iaculis leo ac risus efficitur
|
|
133
|
-
sollicitudin. Proin tincidunt feugiat lorem, a cursus diam.
|
|
134
|
-
</p>
|
|
135
|
-
<p style={styles.viewWarranty_1}>
|
|
136
|
-
Proin et lobortis lacus. Donec auctor tempor commodo. Morbi
|
|
137
|
-
tristique enim magna, sit amet rutrum metus facilisis lobortis.
|
|
138
|
-
Nullam quam nisi, ultricies nec ultricies ut, faucibus facilisis
|
|
139
|
-
nisi. Aenean eget interdum erat. Mauris efficitur lobortis sem,
|
|
140
|
-
vitae pretium augue luctus consectetur. In in justo eget ante
|
|
141
|
-
dapibus porttitor. Etiam vestibulum tempor mi ac aliquam.
|
|
142
|
-
</p>
|
|
143
|
-
</div>
|
|
144
|
-
</div>
|
|
145
|
-
</DownloadSummaryTemp>
|
|
146
|
-
);
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export default ShowWarranty;
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Styles for submit for quote panel
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
.submit-for-quote {
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
user-select: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.submit-for-quote-header {
|
|
12
|
-
background-color: #1183b7;
|
|
13
|
-
height: 30px;
|
|
14
|
-
padding-right: 6px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.submit-for-quote-header-icon {
|
|
18
|
-
float: right;
|
|
19
|
-
margin-top: 4px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.submit-for-quote-desc {
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
margin-top: 20px;
|
|
25
|
-
margin-left: 40px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.submit-for-quote-form {
|
|
29
|
-
font-size: 12px;
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
align-items: center;
|
|
33
|
-
position: relative;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.submit-for-quote-form-item {
|
|
37
|
-
width: 345px;
|
|
38
|
-
margin-top: 20px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.submit-for-quote-footer {
|
|
42
|
-
width: 70px;
|
|
43
|
-
margin-left: 350px;
|
|
44
|
-
margin-top: 15px;
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.submit-for-quote-form-item-label {
|
|
49
|
-
padding-left: 3px;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
-webkit-user-select: none;
|
|
52
|
-
-moz-user-select: none;
|
|
53
|
-
-ms-user-select: none;
|
|
54
|
-
user-select: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.submit-for-quote-form-item-span {
|
|
58
|
-
display: inline-block;
|
|
59
|
-
width: 92px;
|
|
60
|
-
padding-left: 3px;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
-webkit-user-select: none;
|
|
63
|
-
-moz-user-select: none;
|
|
64
|
-
-ms-user-select: none;
|
|
65
|
-
user-select: none;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.submit-for-quote-form-item-checkbox {
|
|
69
|
-
position: relative;
|
|
70
|
-
margin-right: 4px;
|
|
71
|
-
top: 2px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.submit-for-quote-form-item-input {
|
|
75
|
-
width: 250px;
|
|
76
|
-
margin-left: 5px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.submit-for-quote-form-item-button {
|
|
80
|
-
width: 230px;
|
|
81
|
-
height: 23px;
|
|
82
|
-
margin-left: 20px;
|
|
83
|
-
color: white !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.submit-for-quote-form-item-button > .MuiSelect-icon {
|
|
87
|
-
color: white !important;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.submit-for-quote-form-item-button-icon {
|
|
91
|
-
width: 45px;
|
|
92
|
-
display: inline-block;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.submit-for-quote-form-item-button-img {
|
|
96
|
-
display: block;
|
|
97
|
-
margin: auto;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.submit-for-quote-form-item-textarea {
|
|
101
|
-
width: 100%;
|
|
102
|
-
height: 100%;
|
|
103
|
-
margin-top: 10px;
|
|
104
|
-
resize: none;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
* {
|
|
108
|
-
box-sizing: border-box;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
body {
|
|
112
|
-
width: 80%;
|
|
113
|
-
margin: auto;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.container {
|
|
117
|
-
padding: 30px;
|
|
118
|
-
display: flex;
|
|
119
|
-
flex-direction: column;
|
|
120
|
-
justify-content: center;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.adImgStyle {
|
|
124
|
-
width: 100%;
|
|
125
|
-
height: 600px;
|
|
126
|
-
margin: auto;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.baseFontStyle {
|
|
130
|
-
color: rgba(10, 10, 10, 0.692);
|
|
131
|
-
/* font-size: 12px; */
|
|
132
|
-
font-family: Open Sans;
|
|
133
|
-
/* font-weight: 600; */
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.headerStyle {
|
|
137
|
-
margin-top: 20px;
|
|
138
|
-
padding: 15px 0;
|
|
139
|
-
display: flex;
|
|
140
|
-
justify-content: space-between;
|
|
141
|
-
border-bottom: 1px solid gray;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.footerStyle {
|
|
145
|
-
padding: 15px 0;
|
|
146
|
-
font-size: 12px;
|
|
147
|
-
border-top: 1px solid gray;
|
|
148
|
-
display: flex;
|
|
149
|
-
justify-content: space-between;
|
|
150
|
-
font-family: Open Sans;
|
|
151
|
-
color: #777777;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.contentStyle {
|
|
155
|
-
padding: 30px 0;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.summaryStore {
|
|
159
|
-
display: flex;
|
|
160
|
-
justify-content: space-between;
|
|
161
|
-
font-family: Open Sans;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.summaryStyle {
|
|
165
|
-
font-weight: 600;
|
|
166
|
-
padding-right: 200px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.logoStyle {
|
|
170
|
-
width: 50px;
|
|
171
|
-
height: 50px;
|
|
172
|
-
background-color: steelblue;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.dividerStyle {
|
|
176
|
-
padding: 0 20px;
|
|
177
|
-
}
|