@flozy/editor 9.9.6 → 9.9.7
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/dist/Editor/Elements/EmbedScript/Code.js +14 -2
- package/dist/Editor/Elements/EmbedScript/EmbedScriptPopup.js +57 -28
- package/dist/Editor/Elements/EmbedScript/styles.js +89 -0
- package/dist/Editor/Elements/Form/Form.js +179 -168
- package/dist/Editor/Elements/Form/FormField.js +10 -4
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +5 -1
- package/dist/Editor/Elements/FreeGrid/Options/More.js +1 -1
- package/dist/Editor/Elements/FreeGrid/styles.js +58 -7
- package/dist/Editor/assets/svg/SettingsIcon.js +1 -0
- package/dist/Editor/common/LinkSettings/NavComponents.js +34 -8
- package/dist/Editor/common/LinkSettings/index.js +84 -68
- package/dist/Editor/common/LinkSettings/style.js +245 -30
- package/dist/Editor/common/RnD/ElementOptions/Actions.js +13 -14
- package/dist/Editor/common/RnD/ElementOptions/Icons/LinkIcon.js +1 -0
- package/dist/Editor/common/RnD/ElementOptions/index.js +2 -2
- package/dist/Editor/common/RnD/ElementOptions/styles.js +28 -1
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Settings.js +4 -4
- package/dist/Editor/common/RnD/ElementSettings/styles.js +147 -12
- package/dist/Editor/common/RnD/OptionsPopup/index.js +8 -5
- package/dist/Editor/common/RnD/OptionsPopup/style.js +121 -19
- package/dist/Editor/common/Select/index.js +2 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/menusArray.js +13 -6
- package/dist/Editor/common/iconListV2.js +101 -6
- package/dist/Editor/common/iconslist.js +3 -0
- package/dist/Editor/commonStyle.js +78 -0
- package/package.json +1 -1
@@ -1,8 +1,9 @@
|
|
1
1
|
const useElementSettingsStyle = theme => ({
|
2
2
|
root: {
|
3
3
|
zIndex: 1200,
|
4
|
-
background: theme?.palette?.editor?.
|
5
|
-
|
4
|
+
background: theme?.palette?.editor?.miniToolBarBackground,
|
5
|
+
border: `1px solid ${theme?.palette?.editor?.miniToolBarBorder}`,
|
6
|
+
borderRadius: "20px",
|
6
7
|
overflow: "hidden",
|
7
8
|
boxShadow: "0px 0px 12px 4px #00000014",
|
8
9
|
padding: "10px 16px",
|
@@ -58,28 +59,34 @@ const useElementSettingsStyle = theme => ({
|
|
58
59
|
maxHeight: "500px",
|
59
60
|
overflowX: "hidden",
|
60
61
|
overflowY: "auto",
|
61
|
-
background: theme?.palette?.editor?.
|
62
|
-
paddingLeft: "
|
62
|
+
background: theme?.palette?.editor?.miniToolBarBackground,
|
63
|
+
paddingLeft: "2px",
|
64
|
+
paddingRight: "6px",
|
65
|
+
overflow: "hidden",
|
66
|
+
"&:hover": {
|
67
|
+
overflowY: "auto",
|
68
|
+
"&::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb": {
|
69
|
+
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
70
|
+
},
|
71
|
+
"&::-webkit-scrollbar-track, ::-webkit-scrollbar-track": {
|
72
|
+
visibility: "hidden"
|
73
|
+
}
|
74
|
+
},
|
63
75
|
"& .MuiTypography-root, .MuiInputBase-root, input": {
|
64
76
|
color: theme?.palette?.editor?.textColor
|
65
77
|
},
|
66
|
-
"& .MuiInputBase-root, input": {
|
67
|
-
border: `1px solid ${theme?.palette?.editor?.borderColor}`
|
68
|
-
},
|
69
78
|
"& .borderInput": {
|
70
79
|
background: theme?.palette?.editor?.background,
|
71
80
|
color: theme?.palette?.editor?.textColor
|
72
81
|
},
|
73
|
-
"& .MuiCheckbox-root": {
|
74
|
-
"& svg": {
|
75
|
-
fill: theme?.palette?.editor?.textColor
|
76
|
-
}
|
77
|
-
},
|
78
82
|
"& .fillPath": {
|
79
83
|
fill: theme?.palette?.editor?.textColor
|
80
84
|
},
|
81
85
|
"& .MuiIconButton-root": {
|
82
86
|
color: theme?.palette?.editor?.textColor
|
87
|
+
},
|
88
|
+
"& .MuiFormHelperText-root": {
|
89
|
+
color: theme?.palette?.editor?.textColor
|
83
90
|
}
|
84
91
|
},
|
85
92
|
"& .item-wrapper": {
|
@@ -104,6 +111,134 @@ const useElementSettingsStyle = theme => ({
|
|
104
111
|
}
|
105
112
|
}
|
106
113
|
}
|
114
|
+
},
|
115
|
+
"& .settingsPopUp": {
|
116
|
+
background: theme?.palette?.editor?.miniToolBarBackground,
|
117
|
+
"& .text-formatter-popup": {
|
118
|
+
paddingRight: "10px",
|
119
|
+
overflow: "hidden",
|
120
|
+
"&:hover": {
|
121
|
+
overflow: "auto",
|
122
|
+
"&::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb": {
|
123
|
+
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
124
|
+
},
|
125
|
+
"&::-webkit-scrollbar-track, ::-webkit-scrollbar-track": {
|
126
|
+
visibility: "hidden"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
"& .more-btn-cbs": {
|
130
|
+
color: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
131
|
+
border: `1px solid ${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
132
|
+
paddingTop: "10px",
|
133
|
+
"& svg": {
|
134
|
+
width: "20px",
|
135
|
+
height: "24px"
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"& .MuiInputBase-root": {
|
139
|
+
height: "36px"
|
140
|
+
}
|
141
|
+
},
|
142
|
+
"& .popUpHeader": {
|
143
|
+
fontSize: "16px",
|
144
|
+
fontFamily: "'Inter',sans-serif",
|
145
|
+
fontWeight: "700",
|
146
|
+
fontSize: "16px",
|
147
|
+
lineHeight: "25px",
|
148
|
+
"& button": {
|
149
|
+
background: theme?.palette?.editor?.closeButtonBackground,
|
150
|
+
borderRadius: "8px",
|
151
|
+
"& svg": {
|
152
|
+
fill: theme?.palette?.editor?.closeButtonSvgStroke
|
153
|
+
}
|
154
|
+
}
|
155
|
+
},
|
156
|
+
"& .MuiTypography-root": {
|
157
|
+
color: `${theme?.palette?.editor?.textColor} !important`
|
158
|
+
},
|
159
|
+
"& .MuiInputBase-root": {
|
160
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
161
|
+
borderRadius: "8px",
|
162
|
+
fontSize: "12px",
|
163
|
+
height: "36px",
|
164
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`,
|
165
|
+
"& fieldset": {
|
166
|
+
border: `1px solid transparent !important`,
|
167
|
+
background: "transparent",
|
168
|
+
borderRadius: "8px"
|
169
|
+
// fontSize: "12px",
|
170
|
+
},
|
171
|
+
|
172
|
+
"& input": {
|
173
|
+
// border: `1px solid transparent`,
|
174
|
+
// background: theme?.palette?.editor?.inputFieldBgColor,
|
175
|
+
borderRadius: "8px"
|
176
|
+
// fontSize: "12px",
|
177
|
+
}
|
178
|
+
},
|
179
|
+
|
180
|
+
"& .editor-dd": {
|
181
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
182
|
+
border: `1px solid transparent !important`
|
183
|
+
}
|
184
|
+
},
|
185
|
+
"& .MuiAutocomplete-root": {
|
186
|
+
"& fieldset": {
|
187
|
+
border: `1px solid transparent !important`
|
188
|
+
}
|
189
|
+
},
|
190
|
+
"& .sliderInput": {
|
191
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`,
|
192
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
193
|
+
borderRadius: "10px",
|
194
|
+
paddingLeft: "10px",
|
195
|
+
width: "50px !important"
|
196
|
+
},
|
197
|
+
"& .selctedBtnIcon": {
|
198
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`,
|
199
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
200
|
+
borderRadius: "10px",
|
201
|
+
height: "36px",
|
202
|
+
"& svg": {
|
203
|
+
color: `${theme?.palette?.editor?.svgTextAlignStrokeColor} !important`
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"& .muiIconsListParent": {
|
207
|
+
"& svg": {
|
208
|
+
color: `${theme?.palette?.editor?.svgTextAlignStrokeColor} !important`
|
209
|
+
},
|
210
|
+
"&::-webkit-scrollbar-thumb": {
|
211
|
+
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
212
|
+
},
|
213
|
+
"&::-webkit-scrollbar-track": {
|
214
|
+
visibility: "hidden"
|
215
|
+
}
|
216
|
+
},
|
217
|
+
"& .menu-item-app-header": {
|
218
|
+
paddingBottom: "5px",
|
219
|
+
"& .text-field1": {
|
220
|
+
marginRight: "5px"
|
221
|
+
},
|
222
|
+
"& .settingsIcon, .deleteIcon": {
|
223
|
+
width: "20px",
|
224
|
+
height: "20px",
|
225
|
+
"& path": {
|
226
|
+
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
227
|
+
}
|
228
|
+
}
|
229
|
+
},
|
230
|
+
"& .MuiPaper-root": {
|
231
|
+
background: theme?.palette?.editor?.miniToolBarBackground
|
232
|
+
},
|
233
|
+
"& .iconRadioButton": {
|
234
|
+
"& svg": {
|
235
|
+
height: "24px",
|
236
|
+
width: "24px"
|
237
|
+
},
|
238
|
+
"& .MuiRadio-root": {
|
239
|
+
paddingLeft: "0px"
|
240
|
+
}
|
241
|
+
}
|
107
242
|
}
|
108
243
|
},
|
109
244
|
dialog: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import { Box, Paper, Popper, Typography, Tooltip, IconButton } from "@mui/material";
|
3
|
-
import
|
2
|
+
import { Box, Paper, Popper, Typography, Tooltip, IconButton, Grid } from "@mui/material";
|
3
|
+
import CloseRoundedIcon from "@mui/icons-material/CloseRounded";
|
4
4
|
import useOptionsPopupStyle from "./style";
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -30,7 +30,7 @@ const OptionsPopup = props => {
|
|
30
30
|
className: "papper-root",
|
31
31
|
children: [/*#__PURE__*/_jsxs(Typography, {
|
32
32
|
variant: "div",
|
33
|
-
className: "item-wrapper title",
|
33
|
+
className: "item-wrapper title sectionOptionTitle",
|
34
34
|
children: [translation(title), /*#__PURE__*/_jsx(Box, {
|
35
35
|
component: "div",
|
36
36
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
@@ -38,11 +38,14 @@ const OptionsPopup = props => {
|
|
38
38
|
arrow: true,
|
39
39
|
children: /*#__PURE__*/_jsx(IconButton, {
|
40
40
|
onClick: handleClose,
|
41
|
-
children: /*#__PURE__*/_jsx(
|
41
|
+
children: /*#__PURE__*/_jsx(CloseRoundedIcon, {})
|
42
42
|
})
|
43
43
|
})
|
44
44
|
})]
|
45
|
-
}),
|
45
|
+
}), /*#__PURE__*/_jsx(Grid, {
|
46
|
+
className: "sectionOptionChild",
|
47
|
+
children: children
|
48
|
+
})]
|
46
49
|
})
|
47
50
|
}) : null;
|
48
51
|
};
|
@@ -3,31 +3,139 @@ const useOptionsPopupStyle = ({
|
|
3
3
|
}) => ({
|
4
4
|
root: {
|
5
5
|
zIndex: 1200,
|
6
|
-
background: theme?.palette?.editor?.
|
7
|
-
|
6
|
+
background: theme?.palette?.editor?.miniToolBarBackground,
|
7
|
+
border: `1px solid ${theme?.palette?.editor?.miniToolBarBorder}`,
|
8
|
+
borderRadius: "20px",
|
8
9
|
overflow: "hidden",
|
9
|
-
boxShadow: "
|
10
|
+
boxShadow: "0px 0px 12px 4px #00000014",
|
10
11
|
marginRight: "4px !important",
|
12
|
+
padding: "0px 5px",
|
13
|
+
fontFamily: "'Inter',sans-serif",
|
14
|
+
"& .MuiPaper-root": {
|
15
|
+
background: theme?.palette?.editor?.miniToolBarBackground
|
16
|
+
},
|
17
|
+
"& .sectionOptionTitle": {
|
18
|
+
fontSize: "16px",
|
19
|
+
fontFamily: "'Inter',sans-serif",
|
20
|
+
fontWeight: "700",
|
21
|
+
fontSize: "16px",
|
22
|
+
lineHeight: "25px",
|
23
|
+
background: theme?.palette?.editor?.miniToolBarBackground,
|
24
|
+
"& button": {
|
25
|
+
background: theme?.palette?.editor?.closeButtonBackground,
|
26
|
+
borderRadius: "8px",
|
27
|
+
"& svg": {
|
28
|
+
fill: theme?.palette?.editor?.closeButtonSvgStroke
|
29
|
+
}
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"& .sectionOptionChild": {
|
33
|
+
background: theme?.palette?.editor?.miniToolBarBackground,
|
34
|
+
"& .MuiBox-root": {
|
35
|
+
maxHeight: "unset"
|
36
|
+
},
|
37
|
+
"& .MuiInputBase-root, fieldset": {
|
38
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
39
|
+
borderRadius: "8px",
|
40
|
+
"& fieldset": {
|
41
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`,
|
42
|
+
background: "transparent",
|
43
|
+
borderRadius: "8px"
|
44
|
+
},
|
45
|
+
"& input": {
|
46
|
+
border: `1px solid transparent`,
|
47
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
48
|
+
borderRadius: "8px",
|
49
|
+
fontSize: "12px",
|
50
|
+
color: theme?.palette?.editor?.textColor
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"& p": {
|
54
|
+
color: theme?.palette?.editor?.textColor
|
55
|
+
},
|
56
|
+
"& .sliderInput": {
|
57
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`,
|
58
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
59
|
+
borderRadius: "10px"
|
60
|
+
},
|
61
|
+
"& .style-settings-wrpr": {
|
62
|
+
overflow: "hidden",
|
63
|
+
"&:hover": {
|
64
|
+
overflowY: "auto",
|
65
|
+
"&::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb": {
|
66
|
+
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
67
|
+
},
|
68
|
+
"&::-webkit-scrollbar-track, ::-webkit-scrollbar-track": {
|
69
|
+
visibility: "hidden"
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"& svg": {
|
74
|
+
width: "17.5px",
|
75
|
+
height: "17.5px"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"& .MuiList-root": {
|
79
|
+
"& .MuiButtonBase-root": {
|
80
|
+
padding: "8px 12px",
|
81
|
+
"& .MuiTypography-root": {
|
82
|
+
color: `${theme?.palette?.editor?.textColor} !important`,
|
83
|
+
fontSize: "14px",
|
84
|
+
fontWeight: "500",
|
85
|
+
fontFamily: "'Inter',sans-serif"
|
86
|
+
},
|
87
|
+
"&:hover": {
|
88
|
+
background: `${theme?.palette?.editor?.menuOptionHoverBackground} !important`,
|
89
|
+
"& .MuiTypography-root": {
|
90
|
+
color: `${theme?.palette?.editor?.textColor} !important`
|
91
|
+
},
|
92
|
+
"& .MuiListItemIcon-root": {
|
93
|
+
"& .signatureElementIcon, & .newLineElementIcon": {
|
94
|
+
"& path": {
|
95
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"& .commonSvgStyle, & .commonSvgStyle2": {
|
99
|
+
"& path": {
|
100
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"& .colorBoxElementIcon": {
|
104
|
+
"& path": {
|
105
|
+
stroke: `${theme?.palette?.editor?.textColor}`,
|
106
|
+
fill: "none"
|
107
|
+
}
|
108
|
+
},
|
109
|
+
"& .gridElementIcon": {
|
110
|
+
"& path": {
|
111
|
+
stroke: `${theme?.palette?.editor?.textColor}`,
|
112
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"& .sectionMoreOption": {
|
120
|
+
"& .MuiButtonBase-root": {
|
121
|
+
padding: "12px 12px",
|
122
|
+
color: `${theme?.palette?.editor?.textColor} !important`,
|
123
|
+
fontSize: "14px",
|
124
|
+
fontWeight: "500",
|
125
|
+
fontFamily: "'Inter',sans-serif"
|
126
|
+
}
|
127
|
+
},
|
11
128
|
"& .papper-root": {
|
12
129
|
width: "344px",
|
13
130
|
boxShadow: "none",
|
14
|
-
border: `1px solid ${theme?.palette?.editor?.borderColor}`,
|
15
131
|
borderRadius: "7px",
|
16
132
|
background: theme?.palette?.editor?.background,
|
17
133
|
"& .MuiTypography-root, .MuiInputBase-root, input": {
|
18
134
|
color: theme?.palette?.editor?.textColor
|
19
135
|
},
|
20
|
-
"& .MuiInputBase-root, input": {
|
21
|
-
border: `1px solid ${theme?.palette?.editor?.borderColor}`
|
22
|
-
},
|
23
136
|
"& .borderInput": {
|
24
137
|
background: theme?.palette?.editor?.background,
|
25
138
|
color: theme?.palette?.editor?.textColor
|
26
|
-
},
|
27
|
-
"& .MuiCheckbox-root": {
|
28
|
-
"& svg": {
|
29
|
-
fill: theme?.palette?.editor?.textColor
|
30
|
-
}
|
31
139
|
}
|
32
140
|
},
|
33
141
|
"& .item-list-wrpr": {
|
@@ -37,13 +145,7 @@ const useOptionsPopupStyle = ({
|
|
37
145
|
"& .MuiListItemButton-root": {
|
38
146
|
borderRadius: "7px",
|
39
147
|
color: theme?.palette?.editor?.textColor,
|
40
|
-
"
|
41
|
-
color: theme?.palette?.editor?.activeColor,
|
42
|
-
background: "rgba(233, 243, 254, 1)",
|
43
|
-
"& .MuiTypography-root": {
|
44
|
-
color: theme?.palette?.editor?.activeColor
|
45
|
-
}
|
46
|
-
}
|
148
|
+
alignItems: "center"
|
47
149
|
}
|
48
150
|
},
|
49
151
|
"& .item-wrapper": {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { Select as Core } from "@mui/material";
|
2
2
|
import SelectStyles from "./styles";
|
3
3
|
import { useEditorContext } from "../../hooks/useMouseMove";
|
4
|
+
import KeyboardArrowDownRoundedIcon from '@mui/icons-material/KeyboardArrowDownRounded';
|
4
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
5
6
|
function Select(props) {
|
6
7
|
const {
|
@@ -13,6 +14,7 @@ function Select(props) {
|
|
13
14
|
const classes = SelectStyles(theme);
|
14
15
|
return /*#__PURE__*/_jsx(Core, {
|
15
16
|
MenuProps: classes.MenuProps,
|
17
|
+
IconComponent: KeyboardArrowDownRoundedIcon,
|
16
18
|
...rest,
|
17
19
|
children: children
|
18
20
|
});
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { Button, Grid, Radio, RadioGroup, TextField, FormControl, FormLabel, FormControlLabel, Typography, Tooltip, IconButton } from "@mui/material";
|
3
|
-
import DeleteIcon from "@mui/icons-material/Delete";
|
4
|
-
import Settings from "@mui/icons-material/Settings";
|
5
3
|
import LinkSettings from "../../LinkSettings";
|
6
4
|
import { getLinkType } from "../../../utils/helper";
|
5
|
+
import SettingsIcon from "../../../assets/svg/SettingsIcon";
|
6
|
+
import { DeleteIcon } from "../../../assets/svg/AIIcons";
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
8
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
9
9
|
const MenusArray = props => {
|
@@ -126,6 +126,7 @@ const MenusArray = props => {
|
|
126
126
|
display: "flex",
|
127
127
|
alignItems: "center"
|
128
128
|
},
|
129
|
+
className: "menu-item-app-header",
|
129
130
|
children: [/*#__PURE__*/_jsx(TextField, {
|
130
131
|
name: "text",
|
131
132
|
type: "text",
|
@@ -134,7 +135,8 @@ const MenusArray = props => {
|
|
134
135
|
size: "small",
|
135
136
|
sx: {
|
136
137
|
mb: 0
|
137
|
-
}
|
138
|
+
},
|
139
|
+
className: "text-field1"
|
138
140
|
}), /*#__PURE__*/_jsx(TextField, {
|
139
141
|
name: "url",
|
140
142
|
type: "text",
|
@@ -142,7 +144,8 @@ const MenusArray = props => {
|
|
142
144
|
onChange: handleChange(i),
|
143
145
|
size: "small",
|
144
146
|
fullWidth: true,
|
145
|
-
disabled: true
|
147
|
+
disabled: true,
|
148
|
+
className: "text-field1"
|
146
149
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
147
150
|
title: translation("Link Settings"),
|
148
151
|
arrow: true,
|
@@ -151,14 +154,18 @@ const MenusArray = props => {
|
|
151
154
|
menu: m,
|
152
155
|
index: i
|
153
156
|
}),
|
154
|
-
children: /*#__PURE__*/_jsx(
|
157
|
+
children: /*#__PURE__*/_jsx(SettingsIcon, {
|
158
|
+
className: "settingsIcon"
|
159
|
+
})
|
155
160
|
})
|
156
161
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
157
162
|
title: translation("Delete Menu"),
|
158
163
|
arrow: true,
|
159
164
|
children: /*#__PURE__*/_jsx(IconButton, {
|
160
165
|
onClick: onDelete(i),
|
161
|
-
children: /*#__PURE__*/_jsx(DeleteIcon, {
|
166
|
+
children: /*#__PURE__*/_jsx(DeleteIcon, {
|
167
|
+
className: "deleteIcon"
|
168
|
+
})
|
162
169
|
})
|
163
170
|
})]
|
164
171
|
}, `add-m-${i}`);
|
@@ -1236,27 +1236,37 @@ export function ToggleFullScreenIcon() {
|
|
1236
1236
|
}
|
1237
1237
|
export function CodeElementIcon() {
|
1238
1238
|
return /*#__PURE__*/_jsxs("svg", {
|
1239
|
-
width: "
|
1240
|
-
height: "
|
1241
|
-
viewBox: "0 0
|
1239
|
+
width: "24",
|
1240
|
+
height: "24",
|
1241
|
+
viewBox: "0 0 24 24",
|
1242
1242
|
fill: "none",
|
1243
1243
|
xmlns: "http://www.w3.org/2000/svg",
|
1244
1244
|
className: "commonSvgStyle",
|
1245
1245
|
children: [/*#__PURE__*/_jsx("path", {
|
1246
|
-
d: "
|
1246
|
+
d: "M8 10L6 12L8 14",
|
1247
1247
|
stroke: "#64748B",
|
1248
|
+
strokeWidth: "1.5",
|
1248
1249
|
strokeMiterlimit: "10",
|
1249
1250
|
strokeLinecap: "round",
|
1250
1251
|
strokeLinejoin: "round"
|
1251
1252
|
}), /*#__PURE__*/_jsx("path", {
|
1252
|
-
d: "
|
1253
|
+
d: "M16 10L18 12L16 14",
|
1253
1254
|
stroke: "#64748B",
|
1255
|
+
strokeWidth: "1.5",
|
1256
|
+
strokeMiterlimit: "10",
|
1257
|
+
strokeLinecap: "round",
|
1258
|
+
strokeLinejoin: "round"
|
1259
|
+
}), /*#__PURE__*/_jsx("path", {
|
1260
|
+
d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",
|
1261
|
+
stroke: "#64748B",
|
1262
|
+
strokeWidth: "1.5",
|
1254
1263
|
strokeMiterlimit: "10",
|
1255
1264
|
strokeLinecap: "round",
|
1256
1265
|
strokeLinejoin: "round"
|
1257
1266
|
}), /*#__PURE__*/_jsx("path", {
|
1258
|
-
d: "
|
1267
|
+
d: "M13 9.66992L11 14.33",
|
1259
1268
|
stroke: "#64748B",
|
1269
|
+
strokeWidth: "1.5",
|
1260
1270
|
strokeMiterlimit: "10",
|
1261
1271
|
strokeLinecap: "round",
|
1262
1272
|
strokeLinejoin: "round"
|
@@ -1431,4 +1441,89 @@ export function SectionDragIcon() {
|
|
1431
1441
|
fill: "#94A3B8"
|
1432
1442
|
})]
|
1433
1443
|
});
|
1444
|
+
}
|
1445
|
+
export function PenIcon() {
|
1446
|
+
return /*#__PURE__*/_jsxs("svg", {
|
1447
|
+
width: "17",
|
1448
|
+
height: "17",
|
1449
|
+
viewBox: "0 0 17 17",
|
1450
|
+
fill: "none",
|
1451
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1452
|
+
className: "commonSvgStyle",
|
1453
|
+
children: [/*#__PURE__*/_jsx("path", {
|
1454
|
+
d: "M9.74898 3.14435L3.93357 9.29977C3.71398 9.53352 3.50148 9.99393 3.45898 10.3127L3.1969 12.6077C3.10482 13.4364 3.69982 14.0031 4.52148 13.8614L6.80232 13.4719C7.12107 13.4152 7.56732 13.1814 7.7869 12.9406L13.6023 6.78518C14.6081 5.72268 15.0615 4.51143 13.4961 3.03102C11.9377 1.56477 10.7548 2.08185 9.74898 3.14435Z",
|
1455
|
+
stroke: "#64748B",
|
1456
|
+
strokeWidth: "1.2",
|
1457
|
+
strokeMiterlimit: "10",
|
1458
|
+
strokeLinecap: "round",
|
1459
|
+
strokeLinejoin: "round"
|
1460
|
+
}), /*#__PURE__*/_jsx("path", {
|
1461
|
+
d: "M8.77734 4.17188C9.08193 6.12688 10.6686 7.62146 12.6378 7.81979",
|
1462
|
+
stroke: "#64748B",
|
1463
|
+
strokeWidth: "1.2",
|
1464
|
+
strokeMiterlimit: "10",
|
1465
|
+
strokeLinecap: "round",
|
1466
|
+
strokeLinejoin: "round"
|
1467
|
+
})]
|
1468
|
+
});
|
1469
|
+
}
|
1470
|
+
export function SaveTemplIcon() {
|
1471
|
+
return /*#__PURE__*/_jsxs("svg", {
|
1472
|
+
width: "18",
|
1473
|
+
height: "18",
|
1474
|
+
viewBox: "0 0 18 18",
|
1475
|
+
fill: "none",
|
1476
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1477
|
+
className: "commonSvgStyle",
|
1478
|
+
children: [/*#__PURE__*/_jsx("path", {
|
1479
|
+
d: "M9 1.5V6.75L10.5 5.25",
|
1480
|
+
stroke: "#64748B",
|
1481
|
+
strokeWidth: "1.2",
|
1482
|
+
strokeLinecap: "round",
|
1483
|
+
strokeLinejoin: "round"
|
1484
|
+
}), /*#__PURE__*/_jsx("path", {
|
1485
|
+
d: "M9 6.75L7.5 5.25",
|
1486
|
+
stroke: "#64748B",
|
1487
|
+
strokeWidth: "1.2",
|
1488
|
+
strokeLinecap: "round",
|
1489
|
+
strokeLinejoin: "round"
|
1490
|
+
}), /*#__PURE__*/_jsx("path", {
|
1491
|
+
d: "M1.48438 9.75H4.79187C5.07687 9.75 5.33188 9.9075 5.45938 10.1625L6.33687 11.9175C6.59187 12.4275 7.10938 12.75 7.67938 12.75H10.3269C10.8969 12.75 11.4144 12.4275 11.6694 11.9175L12.5469 10.1625C12.6744 9.9075 12.9369 9.75 13.2144 9.75H16.4844",
|
1492
|
+
stroke: "#64748B",
|
1493
|
+
strokeWidth: "1.2",
|
1494
|
+
strokeLinecap: "round",
|
1495
|
+
strokeLinejoin: "round"
|
1496
|
+
}), /*#__PURE__*/_jsx("path", {
|
1497
|
+
d: "M5.25 3.09766C2.595 3.48766 1.5 5.04766 1.5 8.25016V11.2502C1.5 15.0002 3 16.5002 6.75 16.5002H11.25C15 16.5002 16.5 15.0002 16.5 11.2502V8.25016C16.5 5.04766 15.405 3.48766 12.75 3.09766",
|
1498
|
+
stroke: "#64748B",
|
1499
|
+
strokeWidth: "1.2",
|
1500
|
+
strokeLinecap: "round",
|
1501
|
+
strokeLinejoin: "round"
|
1502
|
+
})]
|
1503
|
+
});
|
1504
|
+
}
|
1505
|
+
export function UploadIconCloud() {
|
1506
|
+
return /*#__PURE__*/_jsxs("svg", {
|
1507
|
+
width: "16",
|
1508
|
+
height: "16",
|
1509
|
+
viewBox: "0 0 16 16",
|
1510
|
+
fill: "none",
|
1511
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1512
|
+
className: "commonSvgStyle uploadIcon",
|
1513
|
+
children: [/*#__PURE__*/_jsx("path", {
|
1514
|
+
d: "M6.00065 14.6673H4.66732C2.00065 14.6673 1.33398 14.0007 1.33398 11.334V4.66732C1.33398 2.00065 2.00065 1.33398 4.66732 1.33398H5.66732C6.66732 1.33398 6.88733 1.62733 7.26733 2.13399L8.26733 3.46733C8.52067 3.80066 8.66732 4.00065 9.33398 4.00065H11.334C14.0007 4.00065 14.6673 4.66732 14.6673 7.33398V8.66732",
|
1515
|
+
stroke: "#64748B",
|
1516
|
+
strokeWidth: "1.2",
|
1517
|
+
strokeMiterlimit: "10",
|
1518
|
+
strokeLinecap: "round",
|
1519
|
+
strokeLinejoin: "round"
|
1520
|
+
}), /*#__PURE__*/_jsx("path", {
|
1521
|
+
d: "M9.17305 12.2136C7.60638 12.3269 7.60638 14.5936 9.17305 14.7069H12.8797C13.3264 14.7069 13.7664 14.5402 14.093 14.2402C15.193 13.2802 14.6064 11.3602 13.1597 11.1802C12.6397 8.05358 8.11973 9.24024 9.18639 12.2202",
|
1522
|
+
stroke: "#64748B",
|
1523
|
+
strokeWidth: "1.2",
|
1524
|
+
strokeMiterlimit: "10",
|
1525
|
+
strokeLinecap: "round",
|
1526
|
+
strokeLinejoin: "round"
|
1527
|
+
})]
|
1528
|
+
});
|
1434
1529
|
}
|
@@ -1273,6 +1273,7 @@ export const GridSettingsIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
1273
1273
|
height: "22",
|
1274
1274
|
viewBox: "0 0 22 22",
|
1275
1275
|
fill: "none",
|
1276
|
+
className: "commonSvgStyle",
|
1276
1277
|
children: [/*#__PURE__*/_jsx("path", {
|
1277
1278
|
d: "M11 13.75C12.5188 13.75 13.75 12.5188 13.75 11C13.75 9.48122 12.5188 8.25 11 8.25C9.48122 8.25 8.25 9.48122 8.25 11C8.25 12.5188 9.48122 13.75 11 13.75Z",
|
1278
1279
|
stroke: "#64748B",
|
@@ -1341,6 +1342,7 @@ export const GridAddSectionIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
1341
1342
|
height: "20",
|
1342
1343
|
viewBox: "0 0 20 20",
|
1343
1344
|
fill: "none",
|
1345
|
+
className: "addIconCircle",
|
1344
1346
|
children: [/*#__PURE__*/_jsx("path", {
|
1345
1347
|
d: "M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19Z",
|
1346
1348
|
stroke: "#64748B",
|
@@ -1807,6 +1809,7 @@ export const Text = props => /*#__PURE__*/_jsxs("svg", {
|
|
1807
1809
|
viewBox: "0 0 15 14",
|
1808
1810
|
fill: "none",
|
1809
1811
|
xmlns: "http://www.w3.org/2000/svg",
|
1812
|
+
className: "commonSvgStyle",
|
1810
1813
|
children: [/*#__PURE__*/_jsx("path", {
|
1811
1814
|
d: "M2.5 4.1825V3.12083C2.5 2.45 3.0425 1.91333 3.7075 1.91333H12.1775C12.8483 1.91333 13.385 2.45583 13.385 3.12083V4.1825",
|
1812
1815
|
stroke: props?.stroke || "#000",
|