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.
Files changed (170) hide show
  1. package/package.json +12 -3
  2. package/src/components/export.js +16 -23
  3. package/src/components/catalog-view/catalog-breadcrumb.jsx +0 -53
  4. package/src/components/catalog-view/catalog-item.jsx +0 -229
  5. package/src/components/catalog-view/catalog-list.jsx +0 -173
  6. package/src/components/catalog-view/catalog-page-item.jsx +0 -110
  7. package/src/components/catalog-view/catalog-turn-back-page-item.jsx +0 -80
  8. package/src/components/configurator/custom-configurator.jsx +0 -77
  9. package/src/components/configurator/project-configurator.jsx +0 -120
  10. package/src/components/firstsetting/button/styles.js +0 -223
  11. package/src/components/firstsetting/export.js +0 -9
  12. package/src/components/firstsetting/firstsetting-content-button.jsx +0 -198
  13. package/src/components/firstsetting/firstsetting-toggle-button.jsx +0 -101
  14. package/src/components/firstsetting/firstsetting.jsx +0 -814
  15. package/src/components/footerbar/button/ControlButton.jsx +0 -43
  16. package/src/components/footerbar/button/DirectionButton.jsx +0 -54
  17. package/src/components/footerbar/button/DirectionPanSpinButton.jsx +0 -36
  18. package/src/components/footerbar/button/ToggleButton.jsx +0 -58
  19. package/src/components/footerbar/button/ToggleConvertButton.jsx +0 -48
  20. package/src/components/footerbar/button/ToggleMeasureButton.jsx +0 -33
  21. package/src/components/footerbar/button/styles.js +0 -217
  22. package/src/components/footerbar/export.js +0 -9
  23. package/src/components/footerbar/footer-content-button.jsx +0 -198
  24. package/src/components/footerbar/footer-toggle-button.jsx +0 -101
  25. package/src/components/footerbar/footerbar.jsx +0 -1103
  26. package/src/components/footerbar/styles.js +0 -263
  27. package/src/components/header/button/MenuButton.jsx +0 -46
  28. package/src/components/header/button/SaveButton.jsx +0 -54
  29. package/src/components/header/button/styles.js +0 -181
  30. package/src/components/header/export.js +0 -5
  31. package/src/components/header/header.jsx +0 -631
  32. package/src/components/header/header.style.css +0 -47
  33. package/src/components/header/styles.js +0 -320
  34. package/src/components/login/Login.js +0 -77
  35. package/src/components/login/LoginForm/index.js +0 -108
  36. package/src/components/login/Register.js +0 -83
  37. package/src/components/login/RegisterForm/index.js +0 -171
  38. package/src/components/login/jwtService.js +0 -201
  39. package/src/components/login/style.css +0 -158
  40. package/src/components/login/style.scss +0 -260
  41. package/src/components/myprojects/export.js +0 -5
  42. package/src/components/myprojects/index.jsx +0 -445
  43. package/src/components/myprojects/styles.js +0 -241
  44. package/src/components/sidebar/custom-accordion.jsx +0 -48
  45. package/src/components/sidebar/export.js +0 -15
  46. package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +0 -73
  47. package/src/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.jsx +0 -101
  48. package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +0 -149
  49. package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +0 -316
  50. package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +0 -108
  51. package/src/components/sidebar/panel-element-editor/element-editor.jsx +0 -1070
  52. package/src/components/sidebar/panel-element-editor/multi-elements-editor.jsx +0 -0
  53. package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +0 -104
  54. package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +0 -155
  55. package/src/components/sidebar/panel-group-editor.jsx +0 -272
  56. package/src/components/sidebar/panel-groups.jsx +0 -310
  57. package/src/components/sidebar/panel-guides.jsx +0 -192
  58. package/src/components/sidebar/panel-layer-elements.jsx +0 -298
  59. package/src/components/sidebar/panel-layers.jsx +0 -381
  60. package/src/components/sidebar/panel.jsx +0 -71
  61. package/src/components/sidebar/sidebar.jsx +0 -106
  62. package/src/components/sidebar/toolbar-panel.jsx +0 -139
  63. package/src/components/sign/export.js +0 -7
  64. package/src/components/sign/main/index.jsx +0 -523
  65. package/src/components/sign/main/styles.js +0 -163
  66. package/src/components/toolbar/button/ControlButton.jsx +0 -41
  67. package/src/components/toolbar/button/DirectionButton.jsx +0 -34
  68. package/src/components/toolbar/button/RightButton.jsx +0 -103
  69. package/src/components/toolbar/button/ToggleButton.jsx +0 -41
  70. package/src/components/toolbar/button/index.jsx +0 -55
  71. package/src/components/toolbar/button/styles.js +0 -127
  72. package/src/components/toolbar/components/DoorStyleMenu.jsx +0 -103
  73. package/src/components/toolbar/components/Pricing.jsx +0 -126
  74. package/src/components/toolbar/components/ReviewForQuote.jsx +0 -635
  75. package/src/components/toolbar/export.js +0 -21
  76. package/src/components/toolbar/main/Alert.js +0 -122
  77. package/src/components/toolbar/main/TakePictureModal.jsx +0 -104
  78. package/src/components/toolbar/main/confirm-popup.jsx +0 -99
  79. package/src/components/toolbar/main/index.jsx +0 -5627
  80. package/src/components/toolbar/main/lShaped.json +0 -311
  81. package/src/components/toolbar/main/longNarrow.json +0 -238
  82. package/src/components/toolbar/main/myComponents.js +0 -123
  83. package/src/components/toolbar/main/oRectangle.json +0 -220
  84. package/src/components/toolbar/main/rectangle.json +0 -238
  85. package/src/components/toolbar/main/style.css +0 -107
  86. package/src/components/toolbar/main/styles.js +0 -696
  87. package/src/components/toolbar/plugin-item.jsx +0 -123
  88. package/src/components/toolbar/popup/appliance/appliance-category/index.jsx +0 -73
  89. package/src/components/toolbar/popup/appliance/choose-appliance/index.jsx +0 -102
  90. package/src/components/toolbar/popup/appliance/index.jsx +0 -83
  91. package/src/components/toolbar/popup/autosaveprompt/index.jsx +0 -150
  92. package/src/components/toolbar/popup/autosaveprompt/styles.css +0 -64
  93. package/src/components/toolbar/popup/autosaveprompt/styles.js +0 -40
  94. package/src/components/toolbar/popup/cabinet/cabinet-category/index.jsx +0 -73
  95. package/src/components/toolbar/popup/cabinet/choose-product/index.jsx +0 -119
  96. package/src/components/toolbar/popup/cabinet/index.jsx +0 -85
  97. package/src/components/toolbar/popup/doorStyle/choose-style/index.jsx +0 -63
  98. package/src/components/toolbar/popup/doorStyle/index.jsx +0 -71
  99. package/src/components/toolbar/popup/doorStyle/style-category/index.jsx +0 -139
  100. package/src/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -2
  101. package/src/components/toolbar/popup/downloadsummary/downloadSummaryTemp.jsx +0 -157
  102. package/src/components/toolbar/popup/downloadsummary/index.jsx +0 -643
  103. package/src/components/toolbar/popup/downloadsummary/show2D/show2DView.jsx +0 -51
  104. package/src/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.jsx +0 -175
  105. package/src/components/toolbar/popup/downloadsummary/show3D/show3DView.jsx +0 -283
  106. package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +0 -2257
  107. package/src/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -93
  108. package/src/components/toolbar/popup/downloadsummary/showElevation/showElevationView.jsx +0 -132
  109. package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +0 -2198
  110. package/src/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx +0 -152
  111. package/src/components/toolbar/popup/downloadsummary/showWarranty.jsx +0 -149
  112. package/src/components/toolbar/popup/downloadsummary/styles.css +0 -177
  113. package/src/components/toolbar/popup/downloadsummary/styles.js +0 -453
  114. package/src/components/toolbar/popup/finishingtouch/category/index.jsx +0 -34
  115. package/src/components/toolbar/popup/finishingtouch/index.jsx +0 -58
  116. package/src/components/toolbar/popup/finishingtouch/material-edit.jsx +0 -112
  117. package/src/components/toolbar/popup/finishingtouch/product/index.jsx +0 -116
  118. package/src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx +0 -101
  119. package/src/components/toolbar/popup/floorplan/choose-floor/index.jsx +0 -254
  120. package/src/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
  121. package/src/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
  122. package/src/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
  123. package/src/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
  124. package/src/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -86
  125. package/src/components/toolbar/popup/floorplan/floor-category/index.jsx +0 -109
  126. package/src/components/toolbar/popup/floorplan/index.jsx +0 -60
  127. package/src/components/toolbar/popup/index.jsx +0 -241
  128. package/src/components/toolbar/popup/newproject/index.jsx +0 -59
  129. package/src/components/toolbar/popup/newproject/styles.css +0 -64
  130. package/src/components/toolbar/popup/newproject/styles.js +0 -41
  131. package/src/components/toolbar/popup/product/appliance.jsx +0 -54
  132. package/src/components/toolbar/popup/product/cabinetproduct.jsx +0 -15
  133. package/src/components/toolbar/popup/product/doorstyle.jsx +0 -58
  134. package/src/components/toolbar/popup/product/doorstyleproduct.jsx +0 -47
  135. package/src/components/toolbar/popup/product/floor.jsx +0 -36
  136. package/src/components/toolbar/popup/product/floorproduct.jsx +0 -42
  137. package/src/components/toolbar/popup/product/index.jsx +0 -36
  138. package/src/components/toolbar/popup/product/primary.jsx +0 -77
  139. package/src/components/toolbar/popup/product/productline.jsx +0 -93
  140. package/src/components/toolbar/popup/product/reviewItem.jsx +0 -427
  141. package/src/components/toolbar/popup/product/reviewMolding.jsx +0 -310
  142. package/src/components/toolbar/popup/product/style.css +0 -54
  143. package/src/components/toolbar/popup/product/styles.js +0 -260
  144. package/src/components/toolbar/popup/savedesign/FullPictureForm.jsx +0 -146
  145. package/src/components/toolbar/popup/savedesign/index.jsx +0 -495
  146. package/src/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
  147. package/src/components/toolbar/popup/savedesign/styles.js +0 -151
  148. package/src/components/toolbar/popup/setDoorStyleOption/index.jsx +0 -87
  149. package/src/components/toolbar/popup/styles.js +0 -909
  150. package/src/components/toolbar/popup/submitforquote/AddToCartOptions.jsx +0 -192
  151. package/src/components/toolbar/popup/submitforquote/CustomerRequestsForm.jsx +0 -96
  152. package/src/components/toolbar/popup/submitforquote/SkipDesignerReview.jsx +0 -54
  153. package/src/components/toolbar/popup/submitforquote/StepDots.jsx +0 -25
  154. package/src/components/toolbar/popup/submitforquote/cart-choice.jsx +0 -116
  155. package/src/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -38
  156. package/src/components/toolbar/popup/submitforquote/index.jsx +0 -698
  157. package/src/components/toolbar/popup/submitforquote/styles.css +0 -105
  158. package/src/components/toolbar/popup/submitforquote/styles.js +0 -294
  159. package/src/components/toolbar/popup/submitprompt/index.jsx +0 -89
  160. package/src/components/toolbar/popup/submitprompt/styles.css +0 -64
  161. package/src/components/toolbar/popup/submitprompt/styles.js +0 -42
  162. package/src/components/toolbar/toolbar-button.jsx +0 -90
  163. package/src/components/toolbar/toolbar-load-button.jsx +0 -36
  164. package/src/components/toolbar/toolbar-save-button.jsx +0 -32
  165. package/src/components/wizardstep/button/styles.js +0 -677
  166. package/src/components/wizardstep/export.js +0 -5
  167. package/src/components/wizardstep/index.jsx +0 -1372
  168. package/src/components/wizardstep/styles.js +0 -688
  169. package/src/components/wizardstep/wizardstep-content-button.jsx +0 -198
  170. package/src/components/wizardstep/wizardstep-toggle-button.jsx +0 -101
@@ -1,263 +0,0 @@
1
- import {
2
- BG_COLOR_HOVER,
3
- DEFAULT_FONT_FAMILY,
4
- SECONDARY_PURPLE_COLOR,
5
- TEXT_COLOR_NEUTRAL_1,
6
- TEXT_COLOR_NEUTRAL_5
7
- } from '../../constants';
8
- import styled from 'styled-components';
9
-
10
- export const Toggle_2D_3D = styled.div`
11
- width: 50px;
12
- margin-left: 10px;
13
- border-radius: 5px;
14
- height: 50px;
15
- align-items: center;
16
- justify-content: center;
17
- display: flex;
18
- user-select: none;
19
- :hover {
20
- background-color: ${TEXT_COLOR_NEUTRAL_5};
21
- }
22
- `;
23
-
24
- export const Toggle_2D_3D_Button = styled.div`
25
- width: 50px;
26
- margin-left: 10px;
27
- border-radius: 5px;
28
- height: 50px;
29
- align-items: center;
30
- justify-content: center;
31
- display: flex;
32
- background-color: #ffffff;
33
- cursor: not-allowed;
34
- opacity: 0.5;
35
- `;
36
-
37
- export const FooterTitle = styled.span`
38
- color: ${SECONDARY_PURPLE_COLOR};
39
- font-family: ${DEFAULT_FONT_FAMILY};
40
- font-size: 16px;
41
- font-weight: 600;
42
- line-height: 22px;
43
- text-align: left;
44
- user-select: none;
45
- `;
46
-
47
- export const Direction_Up_Down = styled.div`
48
- width: 50px;
49
- margin-left: 5px;
50
- border-radius: 5px;
51
- height: 25px;
52
- align-items: center;
53
- display: flex;
54
- :hover {
55
- background-color: ${TEXT_COLOR_NEUTRAL_5};
56
- }
57
- `;
58
-
59
- export const Direction_Left_Right = styled.div`
60
- width: 50px;
61
- margin-left: 5px;
62
- border-radius: 5px;
63
- height: 50px;
64
- align-items: center;
65
- display: flex;
66
- :hover {
67
- background-color: ${TEXT_COLOR_NEUTRAL_5};
68
- }
69
- `;
70
-
71
- export const ArrowIcon = styled.img`
72
- height: 10px;
73
- width: 12px;
74
- margin: auto;
75
- user-select: none;
76
- `;
77
- export const Rotation_Button = styled.div`
78
- width: ${props => (props.isVertical ? '48px' : '56px')};
79
- height: ${props => (props.isVertical ? '48px' : '32px')};
80
- border-radius: 5px;
81
- align-items: center;
82
- display: flex;
83
- justify-content: center;
84
- :hover {
85
- background-color: ${TEXT_COLOR_NEUTRAL_5};
86
- }
87
- `;
88
- export const Rotation_Icon = styled.img`
89
- height: ${props => (props.height ? props.height : '22px')};
90
- width: ${props => (props.width ? props.width : '22px')};
91
- user-select: none;
92
- `;
93
-
94
- export const ZoomButton = styled.div`
95
- width: 50px;
96
- margin-left: 10px;
97
- border-radius: 5px;
98
- height: 50px;
99
- align-items: center;
100
- display: flex;
101
- :hover {
102
- background-color: ${TEXT_COLOR_NEUTRAL_5};
103
- }
104
- `;
105
-
106
- export const ZoomIcon = styled.img`
107
- height: 10px;
108
- width: 12px;
109
- margin: auto;
110
- user-select: none;
111
- `;
112
-
113
- export const ZoomInput = styled.input`
114
- color: ${SECONDARY_PURPLE_COLOR};
115
- width: 50px;
116
- margin-left: 5px;
117
- border-radius: 5px;
118
- font-family: ${DEFAULT_FONT_FAMILY};
119
- font-size: 13px;
120
- font-weight: 600;
121
- line-height: 18px;
122
- text-align: center;
123
- height: 50px;
124
- align-items: center;
125
- display: flex;
126
- `;
127
-
128
- export const Control = styled.div`
129
- width: 28px;
130
- height: 28px;
131
- display: flex;
132
- justify-content: center;
133
- font-size: 15px;
134
- cursor: pointer;
135
- background-color: #fff;
136
- color: white;
137
- border-radius: 20px;
138
- margin-right: 15px;
139
- margin-top: 16px;
140
- right: 260px;
141
- bottom: 25px;
142
- -webkit-user-select: none;
143
- -moz-user-select: none;
144
- -ms-user-select: none;
145
- user-select: none;
146
- `;
147
- export const ControlTitle = styled.span`
148
- margin: 10px;
149
- font-size: 12px;
150
- `;
151
- export const ControlIcon = styled.div`
152
- img {
153
- font-size: 1.4rem;
154
- box-sizing: border-box;
155
- box-shadow: 0px 3px 5px -1px rgba(156, 154, 154, 0.2),
156
- 0px 6px 10px 0px rgba(156, 154, 154, 0.39),
157
- 0px 1px 18px 0px rgba(156, 154, 154, 0.12);
158
-
159
- border-radius: 50%;
160
- }
161
-
162
- :hover {
163
- img {
164
- box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
165
- 0px 6px 10px 0px rgba(0, 0, 0, 0.39),
166
- 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
167
- }
168
- }
169
- `;
170
- export const Direction = styled.div`
171
- display: flex;
172
- align-items: center;
173
- justify-content: center;
174
- font-size: 15px;
175
- cursor: pointer;
176
- color: white;
177
- border-radius: 32px;
178
- margin-right: 15px;
179
- right: 260px;
180
- bottom: 25px;
181
- `;
182
- export const DirectionIcon = styled.div`
183
- position: absolute;
184
- color: #494949;
185
- :hover {
186
- color: #2c38de;
187
- }
188
- `;
189
- export const DirectionSpinIcon = styled.div`
190
- position: absolute;
191
- color: #494949;
192
- img {
193
- font-size: 1.4rem;
194
- box-sizing: border-box;
195
- box-shadow: 0px 3px 5px -1px rgba(156, 154, 154, 0.2),
196
- 0px 6px 10px 0px rgba(156, 154, 154, 0.39),
197
- 0px 1px 18px 0px rgba(156, 154, 154, 0.12);
198
- }
199
- :hover {
200
- height: 40px;
201
- margin-bottom: 5px;
202
- box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
203
- 0px 6px 10px 0px rgba(0, 0, 0, 0.39), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
204
- }
205
- `;
206
-
207
- export const Toggle = styled.div`
208
- display: flex;
209
- align-items: center;
210
- position: relative;
211
- height: 36px;
212
- margin-left: 20px;
213
- justify-content: center;
214
- font-size: 14px;
215
- cursor: pointer;
216
- -webkit-user-select: none;
217
- -moz-user-select: none;
218
- -ms-user-select: none;
219
- user-select: none;
220
- :hover {
221
- box-shadow: 0px 3px 5px -1px rgba(156, 154, 154, 0.2),
222
- 0px 6px 10px 0px rgba(156, 154, 154, 0.39),
223
- 0px 1px 18px 0px rgba(156, 154, 154, 0.12);
224
- border-radius: 18px;
225
- }
226
- `;
227
- export const ToggleIcon = styled.div`
228
- ${'' /* transition-duration: .3s; */}
229
- position: absolute;
230
- top: 0px;
231
- img {
232
- font-size: 1.4rem;
233
- box-sizing: border-box;
234
- border-radius: 50%;
235
- }
236
- `;
237
- export const ToggleConvertIcon = styled.div`
238
- margin: 5px;
239
- transition-duration: 0.3s;
240
- :hover {
241
- img {
242
- font-size: 1.4rem;
243
- box-sizing: border-box;
244
- box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
245
- 0px 6px 10px 0px rgba(0, 0, 0, 0.39),
246
- 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
247
- border-radius: 50%;
248
- }
249
- }
250
- `;
251
-
252
- export const ElevationButton = styled.div`
253
- display: flex;
254
- align-items: center;
255
- font-family: ${DEFAULT_FONT_FAMILY};
256
- color: ${TEXT_COLOR_NEUTRAL_1};
257
- font-weight: 'bold';
258
- padding: 10px;
259
- border-radius: 5px;
260
- :hover {
261
- background-color: ${TEXT_COLOR_NEUTRAL_5};
262
- }
263
- `;
@@ -1,46 +0,0 @@
1
- import React, { Component } from 'react';
2
- import PropTypes from 'prop-types';
3
- import * as SharedStyle from '../../../shared-style';
4
- import * as S from './styles';
5
-
6
- export default class MenuButton extends Component {
7
- constructor(props, context) {
8
- super(props, context);
9
- this.state = { hover: false };
10
- }
11
-
12
- render() {
13
- let { state, props } = this;
14
- let overlayStyle = {};
15
- if (state.hover)
16
- overlayStyle = {
17
- ...overlayStyle,
18
- display: 'block',
19
- background: SharedStyle.TOOLBAR_COLOR.focus
20
- };
21
-
22
- return (
23
- <S.Control
24
- onMouseOver={event => this.setState({ hover: true })}
25
- onMouseOut={event => this.setState({ hover: false })}
26
- onClick={props.onClick}
27
- >
28
- {[
29
- props.title !== undefined ? (
30
- <S.ControlTitle key={props.title}>{props.title}</S.ControlTitle>
31
- ) : null,
32
- props.icon !== undefined ? (
33
- <S.ControlIcon key={props.icon}>{props.icon}</S.ControlIcon>
34
- ) : null
35
- ]}
36
- </S.Control>
37
- );
38
- }
39
- }
40
-
41
- MenuButton.propTypes = {
42
- title: PropTypes.string,
43
- hover: PropTypes.bool,
44
- active: PropTypes.bool.isRequired,
45
- onClick: PropTypes.func
46
- };
@@ -1,54 +0,0 @@
1
- import { Button } from '@material-ui/core';
2
- import CircularProgress from '@material-ui/core/CircularProgress';
3
- import { SAVE_DESIGN } from '../../../../src/constants';
4
- import React, { useEffect } from 'react';
5
- import CheckIcon from '@material-ui/icons/Check';
6
-
7
- export const SaveButton = ({ isSaved, handleSaveBtn, isLoading }) => {
8
- if (isSaved) {
9
- return (
10
- <Button
11
- variant="outlined"
12
- onClick={handleSaveBtn}
13
- disabled={isLoading}
14
- style={{
15
- pointerEvents: isLoading ? 'none' : 'auto',
16
- padding: '8px 20px',
17
- color: 'rgba(76, 18, 161, 1)',
18
- border: '1px solid rgba(76, 18, 161, 1)',
19
- marginLeft: '1rem',
20
- textTransform: 'none'
21
- }}
22
- startIcon={isLoading ? <CircularProgress size={20} /> : <CheckIcon />}
23
- >
24
- Saved
25
- </Button>
26
- );
27
- }
28
-
29
- return (
30
- <Button
31
- variant="outlined"
32
- onClick={handleSaveBtn}
33
- disabled={isLoading}
34
- style={{
35
- pointerEvents: isLoading ? 'none' : 'auto',
36
- padding: '8px 20px',
37
- color: 'white',
38
- backgroundColor: 'rgba(76, 18, 161, 1)',
39
- border: '1px solid rgba(76, 18, 161, 1)',
40
- marginLeft: '1rem',
41
- textTransform: 'none'
42
- }}
43
- startIcon={
44
- isLoading ? (
45
- <CircularProgress size={20} />
46
- ) : (
47
- <img src="/assets/img/svg/headerbar/save.svg" />
48
- )
49
- }
50
- >
51
- {SAVE_DESIGN}
52
- </Button>
53
- );
54
- };
@@ -1,181 +0,0 @@
1
- import styled from 'styled-components';
2
- import * as SharedStyle from '../../../shared-style';
3
-
4
- export const Main = styled.div`
5
- width: 81px;
6
- height: 81px;
7
- display: flex;
8
- align-items: center;
9
- justify-content: center;
10
- margin-bottom: 20px;
11
- margin-left: 20px;
12
- font-size: 0px;
13
- position: relative;
14
- cursor: pointer;
15
- background: #d3e7e5;
16
- `;
17
- // export const Main = styled.div`
18
- // width: 81px;
19
- // height: 81px;
20
- // display: flex;
21
- // align-items: center;
22
- // justify-content: center;
23
- // margin-bottom: 20px;
24
- // margin-left: 20px;
25
- // font-size: 25px;
26
- // position: relative;
27
- // cursor: pointer;
28
- // background: #d3e7e5;
29
- // `
30
-
31
- export const Overlay = styled.div`
32
- position: absolute;
33
- top: 0px;
34
- left: 0px;
35
- bottom: 0px;
36
- width: 100%;
37
- text-align: center;
38
- background: rgba(0, 0, 0, 0.5);
39
- display: none;
40
- `;
41
-
42
- export const Title = styled.span`
43
- position: absolute;
44
- top: 50%;
45
- left: 0px;
46
- width: 100%;
47
- color: #fff;
48
- text-transform: uppercase;
49
- transform: translate(0%, -50%);
50
- font-size: 12px;
51
- `;
52
-
53
- export const Tooltip = {
54
- position: 'absolute',
55
- width: '140px',
56
- color: SharedStyle.COLORS.white,
57
- background: SharedStyle.COLORS.black,
58
- height: '30px',
59
- lineHeight: '30px',
60
- textAlign: 'center',
61
- visibility: 'visible',
62
- borderRadius: '6px',
63
- opacity: '0.8',
64
- left: '100%',
65
- top: '50%',
66
- marginTop: '-15px',
67
- marginLeft: '15px',
68
- zIndex: '999',
69
- fontSize: '12px'
70
- };
71
-
72
- export const TooltipPin = {
73
- position: 'absolute',
74
- top: '50%',
75
- right: '100%',
76
- marginTop: '-8px',
77
- width: '0',
78
- height: '0',
79
- borderRight: '8px solid #000000',
80
- borderTop: '8px solid transparent',
81
- borderBottom: '8px solid transparent'
82
- };
83
-
84
- export const Control = styled.div`
85
- width: 40px;
86
- height: 40px;
87
- display: flex;
88
- align-items: center;
89
- justify-content: center;
90
- font-size: 15px;
91
- // position: fixed;
92
- cursor: pointer;
93
- background-color: #fff;
94
- color: white;
95
- border-radius: 20px;
96
- margin-right: 20px;
97
- margin-top: 16px;
98
- right: 260px;
99
- bottom: 25px;
100
- :hover {
101
- background-color: ${SharedStyle.TOOLBAR_COLOR.focus};
102
- }
103
- `;
104
- export const Direction = styled.div`
105
- display: flex;
106
- align-items: center;
107
- justify-content: center;
108
- font-size: 15px;
109
- // position: fixed;
110
- cursor: pointer;
111
- // background-color: #fff;
112
- color: white;
113
- border-radius: 32px;
114
- margin-right: 20px;
115
- right: 260px;
116
- bottom: 25px;
117
- // :hover{
118
- // background-color: ${SharedStyle.TOOLBAR_COLOR.active};
119
- // }
120
- `;
121
- export const Toggle = styled.div`
122
- height: 41px;
123
- display: flex;
124
- align-items: center;
125
- justify-content: center;
126
- font-size: 15px;
127
- // position: fixed;
128
- cursor: pointer;
129
- background-image: url(/assets/img/Toggle.png);
130
- background-repeat: no-repeat;
131
- background-color: #fff;
132
- color: white;
133
- border-radius: 32px;
134
- margin-right: 20px;
135
- margin-top: 16px;
136
- right: 260px;
137
- bottom: 25px;
138
- // :hover{
139
- // background-color: ${SharedStyle.TOOLBAR_COLOR.active};
140
- // }
141
- `;
142
- export const Animation = styled.div`
143
- position: absolute;
144
- top: 0;
145
- right: 0;
146
- bottom: 0;
147
- left: 0;
148
- display: block;
149
- border-radius: inherit;
150
- -webkit-box-shadow: 0 0 0 0 #1890ff;
151
- box-shadow: 0 0 0 0 #1890ff;
152
- -webkit-box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
153
- box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
154
- opacity: 0.2;
155
- -webkit-animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
156
- waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
157
- animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
158
- waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
159
- -webkit-animation-fill-mode: forwards;
160
- animation-fill-mode: forwards;
161
- content: '';
162
- pointer-events: none;
163
- `;
164
-
165
- export const ControlTitle = styled.span`
166
- margin: 10px;
167
- font-size: 12px;
168
- `;
169
- export const ControlIcon = styled.div`
170
- margin: 5px;
171
- `;
172
- export const DirectionIcon = styled.div`
173
- position: absolute;
174
- margin: 5px;
175
- color: #494949;
176
- `;
177
- export const ToggleIcon = styled.div`
178
- margin: 5px;
179
- padding-top: 5px;
180
- transition-duration: 0.3s;
181
- `;
@@ -1,5 +0,0 @@
1
- import Header from './header';
2
-
3
- export default {
4
- Header
5
- };