@flozy/editor 10.2.3 → 10.2.5
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/ChatEditor.js +16 -17
- package/dist/Editor/CommonEditor.js +24 -128
- package/dist/Editor/DialogWrapper.js +25 -31
- package/dist/Editor/Editor.css +8 -46
- package/dist/Editor/Elements/AI/PopoverAIInput.js +3 -11
- package/dist/Editor/Elements/Accordion/Accordion.js +2 -6
- package/dist/Editor/Elements/AppHeader/AppHeader.js +3 -3
- package/dist/Editor/Elements/Button/EditorButton.js +9 -25
- package/dist/Editor/Elements/Carousel/CarouselItem.js +1 -2
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +14 -61
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +1 -25
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +7 -10
- package/dist/Editor/Elements/Color Picker/Styles.js +13 -15
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +2 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +6 -21
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +2 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +0 -11
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +4 -8
- package/dist/Editor/Elements/Embed/Image.js +2 -3
- package/dist/Editor/Elements/Embed/Video.js +1 -1
- package/dist/Editor/Elements/EmbedScript/Code.js +2 -14
- package/dist/Editor/Elements/EmbedScript/EmbedScriptPopup.js +28 -57
- package/dist/Editor/Elements/Form/Form.js +168 -181
- package/dist/Editor/Elements/Form/FormElements/FormText.js +6 -23
- package/dist/Editor/Elements/Form/FormElements/FormTextArea.js +2 -3
- package/dist/Editor/Elements/Form/FormField.js +6 -13
- package/dist/Editor/Elements/Form/Workflow/Styles.js +22 -24
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +31 -36
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +4 -7
- package/dist/Editor/Elements/FreeGrid/Options/More.js +8 -8
- package/dist/Editor/Elements/FreeGrid/styles.js +7 -75
- package/dist/Editor/Elements/Grid/Grid.js +2 -14
- package/dist/Editor/Elements/Grid/GridItem.js +1 -1
- package/dist/Editor/Elements/List/CheckList.js +2 -3
- package/dist/Editor/Elements/Search/SearchAttachment.js +9 -40
- package/dist/Editor/Elements/Search/SearchButton.js +8 -9
- package/dist/Editor/Elements/Search/SearchList.js +7 -9
- package/dist/Editor/Elements/Signature/Signature.css +1 -2
- package/dist/Editor/Elements/Signature/SignatureOptions/DrawSignature.js +5 -18
- package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +3 -16
- package/dist/Editor/Elements/SimpleText/index.js +1 -6
- package/dist/Editor/Elements/SimpleText/style.js +2 -2
- package/dist/Editor/Elements/Table/DragButton.js +1 -0
- package/dist/Editor/Elements/Table/Draggable.js +2 -6
- package/dist/Editor/Elements/Table/Styles.js +0 -7
- package/dist/Editor/Elements/Table/Table.js +3 -3
- package/dist/Editor/Elements/Table/TableCell.js +5 -24
- package/dist/Editor/Elements/Title/title.js +6 -6
- package/dist/Editor/Elements/Variables/VariableButton.js +1 -10
- package/dist/Editor/MiniEditor.js +1 -2
- package/dist/Editor/Styles/EditorStyles.js +5 -5
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +3 -27
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +3 -4
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +2 -2
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +13 -10
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +1 -2
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/MiniColorPicker.js +2 -4
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +13 -6
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +42 -167
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +4 -7
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +1 -2
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +12 -72
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +27 -100
- package/dist/Editor/Toolbar/PopupTool/index.js +1 -1
- package/dist/Editor/Toolbar/toolbarGroups.js +6 -48
- package/dist/Editor/assets/svg/SettingsIcon.js +0 -1
- package/dist/Editor/common/ColorPickerButton.js +16 -38
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/FontLoader/FontLoader.js +15 -31
- package/dist/Editor/common/Icon.js +1 -31
- package/dist/Editor/common/ImageSelector/Styles.js +9 -3
- package/dist/Editor/common/LinkSettings/NavComponents.js +8 -34
- package/dist/Editor/common/LinkSettings/index.js +68 -84
- package/dist/Editor/common/LinkSettings/style.js +30 -245
- package/dist/Editor/common/RnD/ElementOptions/Actions.js +14 -13
- package/dist/Editor/common/RnD/ElementOptions/Icons/LinkIcon.js +0 -1
- package/dist/Editor/common/RnD/ElementOptions/index.js +2 -2
- package/dist/Editor/common/RnD/ElementOptions/styles.js +1 -28
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Settings.js +5 -6
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Signature.js +3 -4
- package/dist/Editor/common/RnD/ElementSettings/Settings/AppHeaderSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/BoxSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/ButtonSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/CodeSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +2 -4
- package/dist/Editor/common/RnD/ElementSettings/Settings/ImageSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TableSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TextSettings.js +1 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/VideoSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/styles.js +12 -147
- package/dist/Editor/common/RnD/OptionsPopup/index.js +5 -8
- package/dist/Editor/common/RnD/OptionsPopup/style.js +19 -121
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +5 -8
- package/dist/Editor/common/RnD/Theme/ViewportStimulator.js +3 -6
- package/dist/Editor/common/RnD/Utils/gridDropItem.js +19 -28
- package/dist/Editor/common/RnD/Utils/index.js +1 -3
- package/dist/Editor/common/RnD/VirtualElement/VirtualTextElement.js +54 -48
- package/dist/Editor/common/RnD/VirtualElement/helper.js +131 -143
- package/dist/Editor/common/RnD/VirtualElement/styles.js +0 -16
- package/dist/Editor/common/RnD/index.js +11 -6
- package/dist/Editor/common/Select/index.js +0 -2
- package/dist/Editor/common/Shorthands/elements.js +11 -65
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +2 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +0 -5
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +2 -12
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +7 -15
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +8 -16
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +10 -36
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +7 -16
- package/dist/Editor/common/StyleBuilder/fieldTypes/lineSpacing.js +6 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/menusArray.js +6 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +7 -15
- package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +7 -5
- package/dist/Editor/common/Uploader.js +0 -8
- package/dist/Editor/common/iconListV2.js +6 -156
- package/dist/Editor/common/iconslist.js +0 -24
- package/dist/Editor/commonStyle.js +62 -168
- package/dist/Editor/helper/index.js +0 -4
- package/dist/Editor/helper/theme.js +2 -203
- package/dist/Editor/hooks/useMouseMove.js +5 -8
- package/dist/Editor/hooks/useTable.js +4 -5
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +1 -3
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +173 -50
- package/dist/Editor/utils/SlateUtilityFunctions.js +45 -169
- package/dist/Editor/utils/accordion.js +4 -14
- package/dist/Editor/utils/button.js +17 -1
- package/dist/Editor/utils/customHooks/useTableResize.js +9 -49
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/events.js +6 -50
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/form.js +4 -4
- package/dist/Editor/utils/formfield.js +2 -8
- package/dist/Editor/utils/helper.js +19 -109
- package/dist/Editor/utils/signature.js +9 -2
- package/package.json +4 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +0 -454
- package/dist/Editor/Elements/EmbedScript/styles.js +0 -89
- package/dist/Editor/Elements/FreeGrid/helper.js +0 -113
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -439
- package/dist/Editor/assets/svg/BackIcon.js +0 -18
- package/dist/Editor/assets/svg/ClearAllRounded.js +0 -31
- package/dist/Editor/assets/svg/ResetIconNew.js +0 -23
- package/dist/Editor/assets/svg/ThemeIcons.js +0 -293
- package/dist/Editor/common/CustomColorPicker/index.js +0 -130
- package/dist/Editor/common/CustomColorPicker/style.js +0 -53
- package/dist/Editor/common/CustomDialog2/index.js +0 -94
- package/dist/Editor/common/CustomDialog2/style.js +0 -67
- package/dist/Editor/common/CustomSelect.js +0 -43
- package/dist/Editor/common/RnD/Theme/MainThemeProvider.js +0 -17
- package/dist/Editor/common/SnackBar/index.js +0 -43
- package/dist/Editor/helper/textIndeces.js +0 -58
- package/dist/Editor/hooks/useEditorTheme.js +0 -153
- package/dist/Editor/hooks/useThemeValues.js +0 -63
- package/dist/Editor/theme/index.js +0 -149
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -82
- package/dist/Editor/themeSettings/buttons/index.js +0 -300
- package/dist/Editor/themeSettings/buttons/style.js +0 -23
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -310
- package/dist/Editor/themeSettings/colorTheme/style.js +0 -81
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +0 -121
- package/dist/Editor/themeSettings/fonts/index.js +0 -240
- package/dist/Editor/themeSettings/fonts/style.js +0 -62
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -361
- package/dist/Editor/themeSettings/style.js +0 -299
- package/dist/Editor/themeSettingsAI/icons.js +0 -96
- package/dist/Editor/themeSettingsAI/index.js +0 -355
- package/dist/Editor/themeSettingsAI/saveTheme.js +0 -202
- package/dist/Editor/themeSettingsAI/style.js +0 -332
@@ -1,7 +1,6 @@
|
|
1
1
|
import { Box, Card, Checkbox, FormControlLabel, Grid, Tooltip, Typography } from "@mui/material";
|
2
2
|
import React from "react";
|
3
3
|
import Icon from "../../Icon";
|
4
|
-
import { useEditorContext } from "../../../hooks/useMouseMove";
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
5
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
7
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -16,17 +15,14 @@ const RenderCard = ({
|
|
16
15
|
}) => {
|
17
16
|
return /*#__PURE__*/_jsx(Card, {
|
18
17
|
sx: {
|
19
|
-
position:
|
20
|
-
padding: "10px"
|
21
|
-
"& .MuiCheckbox-root svg": {
|
22
|
-
fill: "unset !important"
|
23
|
-
}
|
18
|
+
position: 'relative',
|
19
|
+
padding: "10px"
|
24
20
|
},
|
25
21
|
children: /*#__PURE__*/_jsx(FormControlLabel, {
|
26
22
|
control: /*#__PURE__*/_jsx(Checkbox, {
|
27
23
|
sx: {
|
28
24
|
padding: 0,
|
29
|
-
marginTop:
|
25
|
+
marginTop: '3px'
|
30
26
|
},
|
31
27
|
onChange: handleChange,
|
32
28
|
checked: value,
|
@@ -62,10 +58,10 @@ const RenderCard = ({
|
|
62
58
|
})
|
63
59
|
}),
|
64
60
|
sx: {
|
65
|
-
width:
|
66
|
-
display:
|
67
|
-
justifyContent:
|
68
|
-
alignItems:
|
61
|
+
width: '100%',
|
62
|
+
display: 'flex',
|
63
|
+
justifyContent: 'space-between',
|
64
|
+
alignItems: 'flex-start',
|
69
65
|
margin: 0
|
70
66
|
},
|
71
67
|
labelPlacement: "start"
|
@@ -87,9 +83,6 @@ const CardsMapping = props => {
|
|
87
83
|
selectedCard,
|
88
84
|
infoIcon
|
89
85
|
} = data;
|
90
|
-
const {
|
91
|
-
theme
|
92
|
-
} = useEditorContext();
|
93
86
|
const {
|
94
87
|
translation
|
95
88
|
} = customProps;
|
@@ -111,8 +104,7 @@ const CardsMapping = props => {
|
|
111
104
|
sx: {
|
112
105
|
marginBottom: "12px",
|
113
106
|
"& .MuiPaper-root": {
|
114
|
-
|
115
|
-
border: activeCard ? "1px solid #2563EB" : `1px solid ${theme?.palette?.editor?.inputFieldBorder}`,
|
107
|
+
border: activeCard ? "1px solid #2563EB" : "1px solid #C8D8FA",
|
116
108
|
borderRadius: "8px",
|
117
109
|
boxShadow: activeCard ? "0px 4px 16px 0px #2563EB40" : "unset"
|
118
110
|
}
|
@@ -1,23 +1,14 @@
|
|
1
|
-
import React, { useEffect,
|
1
|
+
import React, { useEffect, useState } from "react";
|
2
2
|
import { Grid, TextField, InputAdornment, Typography, Tooltip } from "@mui/material";
|
3
3
|
import ColorPickerButton from "../../ColorPickerButton";
|
4
|
-
import { getVariableValue } from "../../../helper/theme";
|
5
|
-
import { useButtonStyle } from "../../../hooks/useThemeValues";
|
6
|
-
|
7
|
-
// const MAP_STYLE_PROPS = {
|
8
|
-
// bgColor: "background-color",
|
9
|
-
// textColor: "color",
|
10
|
-
// };
|
11
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
13
6
|
const Color = props => {
|
14
7
|
const {
|
15
|
-
value
|
8
|
+
value,
|
16
9
|
data,
|
17
10
|
onChange,
|
18
11
|
classes,
|
19
|
-
elementProps,
|
20
|
-
handleClose,
|
21
12
|
customProps
|
22
13
|
} = props;
|
23
14
|
const {
|
@@ -29,22 +20,7 @@ const Color = props => {
|
|
29
20
|
translation
|
30
21
|
} = customProps;
|
31
22
|
const [recentColors, setRecentColors] = useState({});
|
32
|
-
const
|
33
|
-
buttonStyle
|
34
|
-
} = useButtonStyle(val, key, elementProps);
|
35
|
-
const newValue = buttonStyle?.color;
|
36
|
-
const {
|
37
|
-
value,
|
38
|
-
inputValue
|
39
|
-
} = useMemo(() => {
|
40
|
-
const isVariable = newValue && newValue.startsWith("var");
|
41
|
-
const inputValue = isVariable ? getVariableValue(newValue) : newValue;
|
42
|
-
return {
|
43
|
-
value: newValue,
|
44
|
-
inputValue: inputValue
|
45
|
-
};
|
46
|
-
}, [buttonStyle?.color]);
|
47
|
-
const getLable = label === "Text" ? translation("selectTextColor") : label === "Background" ? translation("selectBgColor") : translation(label);
|
23
|
+
const getLable = label === 'Text' ? translation("selectTextColor") : label === 'Background' ? translation("selectBgColor") : translation(label);
|
48
24
|
useEffect(() => {
|
49
25
|
const storedColors = JSON.parse(localStorage.getItem("recentColors"));
|
50
26
|
if (storedColors) {
|
@@ -82,11 +58,11 @@ const Color = props => {
|
|
82
58
|
fontSize: "14px",
|
83
59
|
fontWeight: 500,
|
84
60
|
marginBottom: "5px",
|
85
|
-
display:
|
86
|
-
alignItems:
|
87
|
-
|
88
|
-
width:
|
89
|
-
height:
|
61
|
+
display: 'flex',
|
62
|
+
alignItems: 'center',
|
63
|
+
'& svg': {
|
64
|
+
width: '20px',
|
65
|
+
height: '20px'
|
90
66
|
}
|
91
67
|
},
|
92
68
|
children: [translation(label), data?.infoIcon ? /*#__PURE__*/_jsx(Tooltip, {
|
@@ -94,14 +70,14 @@ const Color = props => {
|
|
94
70
|
title: translation("noteText"),
|
95
71
|
children: /*#__PURE__*/_jsx("span", {
|
96
72
|
style: {
|
97
|
-
display:
|
73
|
+
display: 'inline-block'
|
98
74
|
},
|
99
75
|
children: data?.infoIcon
|
100
76
|
})
|
101
77
|
}) : null]
|
102
78
|
}), /*#__PURE__*/_jsx(TextField, {
|
103
79
|
fullWidth: true,
|
104
|
-
value:
|
80
|
+
value: value,
|
105
81
|
placeholder: getLable || `${label} ${translation("color code")}`,
|
106
82
|
InputLabelProps: {
|
107
83
|
shrink: true
|
@@ -114,8 +90,6 @@ const Color = props => {
|
|
114
90
|
value: value,
|
115
91
|
onSave: onSave,
|
116
92
|
recentColors: recentColors[key],
|
117
|
-
handleClose: handleClose,
|
118
|
-
disableEditTheme: customProps?.disableEditTheme,
|
119
93
|
hideGradient: hideGradient
|
120
94
|
})
|
121
95
|
})
|
@@ -1,30 +1,23 @@
|
|
1
|
-
import React
|
1
|
+
import React from "react";
|
2
2
|
import { TextField, IconButton, Grid, Typography } from "@mui/material";
|
3
3
|
import { sizeMap } from "../../../utils/font.js";
|
4
4
|
import { TextMinusIcon, TextPlusIcon } from "../../../common/iconslist.js";
|
5
|
-
import { getElementStyle } from "../../../helper/theme.js";
|
6
|
-
import { useSlateStatic } from "slate-react";
|
7
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
8
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
9
7
|
const FontSize = props => {
|
10
8
|
const {
|
11
|
-
value
|
9
|
+
value,
|
12
10
|
data,
|
13
11
|
onChange,
|
14
|
-
elementProps,
|
15
12
|
customProps
|
16
13
|
} = props;
|
14
|
+
const {
|
15
|
+
translation
|
16
|
+
} = customProps;
|
17
17
|
const {
|
18
18
|
key,
|
19
19
|
width
|
20
20
|
} = data;
|
21
|
-
const editor = useSlateStatic();
|
22
|
-
const value = useMemo(() => {
|
23
|
-
return val || getElementStyle(editor, elementProps, "font-size");
|
24
|
-
}, [editor, val]);
|
25
|
-
const {
|
26
|
-
translation
|
27
|
-
} = customProps;
|
28
21
|
const handleChange = e => {
|
29
22
|
let inc = parseInt(e.target.value) || 16;
|
30
23
|
inc = inc > 200 ? 200 : inc;
|
@@ -35,9 +28,7 @@ const FontSize = props => {
|
|
35
28
|
const getSizeVal = () => {
|
36
29
|
try {
|
37
30
|
const size = `${value}`?.indexOf("px") >= 0 ? value : sizeMap[value] || value;
|
38
|
-
|
39
|
-
const val = parseInt(size || defaultSize);
|
40
|
-
return isNaN(val) ? defaultSize : val;
|
31
|
+
return parseInt(size || 16);
|
41
32
|
} catch (err) {
|
42
33
|
return "";
|
43
34
|
}
|
@@ -86,7 +77,7 @@ const FontSize = props => {
|
|
86
77
|
size: "small",
|
87
78
|
inputProps: {
|
88
79
|
style: {
|
89
|
-
// textAlign: "center",
|
80
|
+
// textAlign: "center",
|
90
81
|
padding: "11px"
|
91
82
|
}
|
92
83
|
},
|
@@ -53,9 +53,9 @@ const LineSpacing = props => {
|
|
53
53
|
defaultValue: value || 1.43,
|
54
54
|
"aria-label": "Default",
|
55
55
|
valueLabelDisplay: "auto",
|
56
|
-
min: 0.
|
57
|
-
max: 3.
|
58
|
-
step: 0.
|
56
|
+
min: 0.5,
|
57
|
+
max: 3.0,
|
58
|
+
step: 0.1,
|
59
59
|
name: "lineHeight",
|
60
60
|
onChange: handleChange
|
61
61
|
}), /*#__PURE__*/_jsx(Box, {
|
@@ -65,16 +65,15 @@ const LineSpacing = props => {
|
|
65
65
|
color: theme?.palette?.editor?.textColor
|
66
66
|
},
|
67
67
|
name: "lineHeight",
|
68
|
-
value: pro_value
|
68
|
+
value: pro_value,
|
69
69
|
className: "sliderInput",
|
70
70
|
onChange: handleChange,
|
71
71
|
type: "number",
|
72
72
|
placeholder: "0",
|
73
|
-
disabled: true
|
74
|
-
|
73
|
+
disabled: true,
|
74
|
+
defaultValue: pro_value || 1.43
|
75
75
|
})]
|
76
76
|
})]
|
77
77
|
});
|
78
78
|
};
|
79
|
-
|
80
79
|
export default LineSpacing;
|
@@ -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";
|
3
5
|
import LinkSettings from "../../LinkSettings";
|
4
6
|
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,7 +126,6 @@ const MenusArray = props => {
|
|
126
126
|
display: "flex",
|
127
127
|
alignItems: "center"
|
128
128
|
},
|
129
|
-
className: "menu-item-app-header",
|
130
129
|
children: [/*#__PURE__*/_jsx(TextField, {
|
131
130
|
name: "text",
|
132
131
|
type: "text",
|
@@ -135,8 +134,7 @@ const MenusArray = props => {
|
|
135
134
|
size: "small",
|
136
135
|
sx: {
|
137
136
|
mb: 0
|
138
|
-
}
|
139
|
-
className: "text-field1"
|
137
|
+
}
|
140
138
|
}), /*#__PURE__*/_jsx(TextField, {
|
141
139
|
name: "url",
|
142
140
|
type: "text",
|
@@ -144,8 +142,7 @@ const MenusArray = props => {
|
|
144
142
|
onChange: handleChange(i),
|
145
143
|
size: "small",
|
146
144
|
fullWidth: true,
|
147
|
-
disabled: true
|
148
|
-
className: "text-field1"
|
145
|
+
disabled: true
|
149
146
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
150
147
|
title: translation("Link Settings"),
|
151
148
|
arrow: true,
|
@@ -154,18 +151,14 @@ const MenusArray = props => {
|
|
154
151
|
menu: m,
|
155
152
|
index: i
|
156
153
|
}),
|
157
|
-
children: /*#__PURE__*/_jsx(
|
158
|
-
className: "settingsIcon"
|
159
|
-
})
|
154
|
+
children: /*#__PURE__*/_jsx(Settings, {})
|
160
155
|
})
|
161
156
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
162
157
|
title: translation("Delete Menu"),
|
163
158
|
arrow: true,
|
164
159
|
children: /*#__PURE__*/_jsx(IconButton, {
|
165
160
|
onClick: onDelete(i),
|
166
|
-
children: /*#__PURE__*/_jsx(DeleteIcon, {
|
167
|
-
className: "deleteIcon"
|
168
|
-
})
|
161
|
+
children: /*#__PURE__*/_jsx(DeleteIcon, {})
|
169
162
|
})
|
170
163
|
})]
|
171
164
|
}, `add-m-${i}`);
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import React
|
1
|
+
import React from "react";
|
2
2
|
import { FormControl, Grid, ListItemIcon, ListSubheader, MenuItem, Select, Typography } from "@mui/material";
|
3
|
-
import { getBreakPointsValue
|
3
|
+
import { getBreakPointsValue } from "../../../helper/theme";
|
4
4
|
import useWindowResize from "../../../hooks/useWindowResize";
|
5
5
|
import { useEditorContext } from "../../../hooks/useMouseMove";
|
6
6
|
import FontFamilyAutocomplete from "../../../Toolbar/FormatTools/FontFamilyAutocomplete";
|
7
7
|
import { useSlate } from "slate-react";
|
8
8
|
import KeyboardArrowDownRoundedIcon from "@mui/icons-material/KeyboardArrowDownRounded";
|
9
9
|
|
10
|
-
// hideMetaDataOptions -- pass true to hide metadata option in select field
|
10
|
+
// hideMetaDataOptions -- pass true to hide metadata option in select field
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
13
13
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
@@ -31,22 +31,14 @@ const TextOptions = props => {
|
|
31
31
|
renderOption,
|
32
32
|
width,
|
33
33
|
webFont = false,
|
34
|
-
hideMetaDataOptions = false
|
35
|
-
themeEnabled
|
34
|
+
hideMetaDataOptions = false
|
36
35
|
} = data;
|
37
36
|
const {
|
38
37
|
fontFamilies
|
39
38
|
} = useEditorContext();
|
40
|
-
const [size] = useWindowResize();
|
41
39
|
const editor = useSlate();
|
42
|
-
const
|
43
|
-
|
44
|
-
if (themeEnabled) {
|
45
|
-
// editor takes a little amount of time to update the new style in element, in that case userValue will be returned
|
46
|
-
return getElementStyle(editor, elementProps, key) || userValue;
|
47
|
-
}
|
48
|
-
return userValue;
|
49
|
-
}, [editor, isBreakpoint, val, size?.device]);
|
40
|
+
const [size] = useWindowResize();
|
41
|
+
const value = isBreakpoint ? getBreakPointsValue(val, size?.device) : val;
|
50
42
|
const metaDataMappingOptions = metaMappings?.boards || [];
|
51
43
|
const updatedOption = !hideMetaDataOptions && elementProps?.metadatamapping ? [...options, ...metaDataMappingOptions] : webFont ? fontFamilies?.options : options;
|
52
44
|
const handleChange = (e, d) => {
|
@@ -125,7 +117,7 @@ const TextOptions = props => {
|
|
125
117
|
editor: editor,
|
126
118
|
format: key,
|
127
119
|
options: fontFamilies.options,
|
128
|
-
width:
|
120
|
+
width: '100%',
|
129
121
|
onChange: onChange,
|
130
122
|
val: value,
|
131
123
|
webFont: true
|
@@ -25,11 +25,13 @@ const pageSettingsStyle = [{
|
|
25
25
|
label: "Padding",
|
26
26
|
key: "bannerSpacing",
|
27
27
|
type: "bannerSpacing"
|
28
|
-
}
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
28
|
+
}
|
29
|
+
// {
|
30
|
+
// label: "Line Spacing",
|
31
|
+
// key: "lineHeight",
|
32
|
+
// type: "lineSpacing",
|
33
|
+
// },
|
34
|
+
]
|
33
35
|
}, {
|
34
36
|
tab: "Max Width",
|
35
37
|
value: "maxWidth",
|
@@ -4,7 +4,6 @@ import { convertBase64 } from "../utils/helper";
|
|
4
4
|
import { uploadFile } from "../service/fileupload";
|
5
5
|
import Icon from "./Icon";
|
6
6
|
import UploadStyles from "../common/ImageSelector/UploadStyles";
|
7
|
-
import { useEditorContext } from "../hooks/useMouseMove";
|
8
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
9
8
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
10
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -19,9 +18,6 @@ const Uploader = props => {
|
|
19
18
|
const [base64, setBase64] = useState(value?.url);
|
20
19
|
const [fileName, setFileName] = useState("");
|
21
20
|
const [uploading, setUploading] = useState(false);
|
22
|
-
const {
|
23
|
-
theme
|
24
|
-
} = useEditorContext();
|
25
21
|
const handleChange = async e => {
|
26
22
|
const uFile = e.target.files[0];
|
27
23
|
const strImage = await convertBase64(uFile);
|
@@ -106,10 +102,6 @@ const Uploader = props => {
|
|
106
102
|
className: "uploadImageSection",
|
107
103
|
children: base64 ? renderThumb() : /*#__PURE__*/_jsx(Grid, {
|
108
104
|
className: "uploadImageText",
|
109
|
-
sx: {
|
110
|
-
background: `${theme?.palette?.editor?.inputFieldBgColor}`,
|
111
|
-
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`
|
112
|
-
},
|
113
105
|
children: /*#__PURE__*/_jsxs(Button, {
|
114
106
|
component: "label",
|
115
107
|
variant: "text",
|
@@ -962,41 +962,6 @@ export function DragIcon() {
|
|
962
962
|
})]
|
963
963
|
});
|
964
964
|
}
|
965
|
-
export function ResizeIcon() {
|
966
|
-
return /*#__PURE__*/_jsxs("svg", {
|
967
|
-
width: "16",
|
968
|
-
height: "16",
|
969
|
-
viewBox: "0 0 16 16",
|
970
|
-
fill: "none",
|
971
|
-
xmlns: "http://www.w3.org/2000/svg",
|
972
|
-
children: [/*#__PURE__*/_jsx("rect", {
|
973
|
-
width: "16",
|
974
|
-
height: "16",
|
975
|
-
rx: "8",
|
976
|
-
fill: "#F8FAFC"
|
977
|
-
}), /*#__PURE__*/_jsx("rect", {
|
978
|
-
x: "0.5",
|
979
|
-
y: "0.5",
|
980
|
-
width: "15",
|
981
|
-
height: "15",
|
982
|
-
rx: "7.5",
|
983
|
-
stroke: "#2563EB",
|
984
|
-
strokeOpacity: "0.32"
|
985
|
-
}), /*#__PURE__*/_jsx("path", {
|
986
|
-
d: "M5.76758 6.44141L3.99981 8.20917L5.76758 9.97694",
|
987
|
-
stroke: "#94A3B8",
|
988
|
-
strokeWidth: "0.8",
|
989
|
-
strokeLinecap: "round",
|
990
|
-
strokeLinejoin: "round"
|
991
|
-
}), /*#__PURE__*/_jsx("path", {
|
992
|
-
d: "M10.2324 6.44141L12.0002 8.20917L10.2324 9.97694",
|
993
|
-
stroke: "#94A3B8",
|
994
|
-
strokeWidth: "0.8",
|
995
|
-
strokeLinecap: "round",
|
996
|
-
strokeLinejoin: "round"
|
997
|
-
})]
|
998
|
-
});
|
999
|
-
}
|
1000
965
|
export function LeftAlignTextFormat() {
|
1001
966
|
return /*#__PURE__*/_jsxs("svg", {
|
1002
967
|
width: "19",
|
@@ -1271,37 +1236,27 @@ export function ToggleFullScreenIcon() {
|
|
1271
1236
|
}
|
1272
1237
|
export function CodeElementIcon() {
|
1273
1238
|
return /*#__PURE__*/_jsxs("svg", {
|
1274
|
-
width: "
|
1275
|
-
height: "
|
1276
|
-
viewBox: "0 0
|
1239
|
+
width: "12",
|
1240
|
+
height: "9",
|
1241
|
+
viewBox: "0 0 12 9",
|
1277
1242
|
fill: "none",
|
1278
1243
|
xmlns: "http://www.w3.org/2000/svg",
|
1279
1244
|
className: "commonSvgStyle",
|
1280
1245
|
children: [/*#__PURE__*/_jsx("path", {
|
1281
|
-
d: "
|
1246
|
+
d: "M6.83331 1L4.83331 8",
|
1282
1247
|
stroke: "#64748B",
|
1283
|
-
strokeWidth: "1.5",
|
1284
1248
|
strokeMiterlimit: "10",
|
1285
1249
|
strokeLinecap: "round",
|
1286
1250
|
strokeLinejoin: "round"
|
1287
1251
|
}), /*#__PURE__*/_jsx("path", {
|
1288
|
-
d: "
|
1252
|
+
d: "M8.83331 2.32983L10.6666 4.32983L8.83331 6.32983",
|
1289
1253
|
stroke: "#64748B",
|
1290
|
-
strokeWidth: "1.5",
|
1291
1254
|
strokeMiterlimit: "10",
|
1292
1255
|
strokeLinecap: "round",
|
1293
1256
|
strokeLinejoin: "round"
|
1294
1257
|
}), /*#__PURE__*/_jsx("path", {
|
1295
|
-
d: "
|
1258
|
+
d: "M2.83333 2.32983L1 4.32983L2.83333 6.32983",
|
1296
1259
|
stroke: "#64748B",
|
1297
|
-
strokeWidth: "1.5",
|
1298
|
-
strokeMiterlimit: "10",
|
1299
|
-
strokeLinecap: "round",
|
1300
|
-
strokeLinejoin: "round"
|
1301
|
-
}), /*#__PURE__*/_jsx("path", {
|
1302
|
-
d: "M13 9.66992L11 14.33",
|
1303
|
-
stroke: "#64748B",
|
1304
|
-
strokeWidth: "1.5",
|
1305
1260
|
strokeMiterlimit: "10",
|
1306
1261
|
strokeLinecap: "round",
|
1307
1262
|
strokeLinejoin: "round"
|
@@ -1476,109 +1431,4 @@ export function SectionDragIcon() {
|
|
1476
1431
|
fill: "#94A3B8"
|
1477
1432
|
})]
|
1478
1433
|
});
|
1479
|
-
}
|
1480
|
-
export function PenIcon() {
|
1481
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1482
|
-
width: "17",
|
1483
|
-
height: "17",
|
1484
|
-
viewBox: "0 0 17 17",
|
1485
|
-
fill: "none",
|
1486
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1487
|
-
className: "commonSvgStyle",
|
1488
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1489
|
-
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",
|
1490
|
-
stroke: "#64748B",
|
1491
|
-
strokeWidth: "1.2",
|
1492
|
-
strokeMiterlimit: "10",
|
1493
|
-
strokeLinecap: "round",
|
1494
|
-
strokeLinejoin: "round"
|
1495
|
-
}), /*#__PURE__*/_jsx("path", {
|
1496
|
-
d: "M8.77734 4.17188C9.08193 6.12688 10.6686 7.62146 12.6378 7.81979",
|
1497
|
-
stroke: "#64748B",
|
1498
|
-
strokeWidth: "1.2",
|
1499
|
-
strokeMiterlimit: "10",
|
1500
|
-
strokeLinecap: "round",
|
1501
|
-
strokeLinejoin: "round"
|
1502
|
-
})]
|
1503
|
-
});
|
1504
|
-
}
|
1505
|
-
export function ResetIcon() {
|
1506
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1507
|
-
width: "24",
|
1508
|
-
height: "24",
|
1509
|
-
viewBox: "0 0 24 24",
|
1510
|
-
fill: "none",
|
1511
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1512
|
-
children: [/*#__PURE__*/_jsx("circle", {
|
1513
|
-
cx: "11.646",
|
1514
|
-
cy: "11.6452",
|
1515
|
-
r: "11.5",
|
1516
|
-
transform: "rotate(-89.2717 11.646 11.6452)",
|
1517
|
-
fill: "#2563EB",
|
1518
|
-
fillOpacity: "0.16"
|
1519
|
-
}), /*#__PURE__*/_jsx("path", {
|
1520
|
-
d: "M18.2814 11.8168V11.8168C18.2813 11.8313 18.2987 11.8387 18.3091 11.8287L19.2379 10.9273C19.6367 10.5404 20.247 10.5482 20.6358 10.9451C21.0245 11.342 21.0168 11.9495 20.6181 12.3364L17.9434 14.9012C17.5478 15.2806 16.9205 15.2708 16.5369 14.8792L13.9636 12.2519C13.7692 12.0534 13.674 11.7974 13.677 11.5622C13.6802 11.3075 13.7819 11.054 13.981 10.8801C14.3797 10.4932 14.9901 10.501 15.3788 10.8979L16.2708 11.8085C16.286 11.824 16.3124 11.8135 16.3126 11.7917V11.7917C16.351 8.77391 13.9017 6.27324 10.8698 6.2347C7.83784 6.19615 5.32577 8.63374 5.28741 11.6516C5.24904 14.6694 7.69833 17.1701 10.7303 17.2086C11.2815 17.2156 11.7092 17.6522 11.7022 18.2009C11.6952 18.7496 11.2566 19.1752 10.7054 19.1682C6.5709 19.1157 3.2663 15.7418 3.31861 11.6265C3.37093 7.51133 6.76023 4.22251 10.8947 4.27507C15.0095 4.32738 18.3338 7.70154 18.2814 11.8168Z",
|
1521
|
-
fill: "#2563EB"
|
1522
|
-
})]
|
1523
|
-
});
|
1524
|
-
}
|
1525
|
-
export function SaveTemplIcon() {
|
1526
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1527
|
-
width: "18",
|
1528
|
-
height: "18",
|
1529
|
-
viewBox: "0 0 18 18",
|
1530
|
-
fill: "none",
|
1531
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1532
|
-
className: "commonSvgStyle",
|
1533
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1534
|
-
d: "M9 1.5V6.75L10.5 5.25",
|
1535
|
-
stroke: "#64748B",
|
1536
|
-
strokeWidth: "1.2",
|
1537
|
-
strokeLinecap: "round",
|
1538
|
-
strokeLinejoin: "round"
|
1539
|
-
}), /*#__PURE__*/_jsx("path", {
|
1540
|
-
d: "M9 6.75L7.5 5.25",
|
1541
|
-
stroke: "#64748B",
|
1542
|
-
strokeWidth: "1.2",
|
1543
|
-
strokeLinecap: "round",
|
1544
|
-
strokeLinejoin: "round"
|
1545
|
-
}), /*#__PURE__*/_jsx("path", {
|
1546
|
-
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",
|
1547
|
-
stroke: "#64748B",
|
1548
|
-
strokeWidth: "1.2",
|
1549
|
-
strokeLinecap: "round",
|
1550
|
-
strokeLinejoin: "round"
|
1551
|
-
}), /*#__PURE__*/_jsx("path", {
|
1552
|
-
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",
|
1553
|
-
stroke: "#64748B",
|
1554
|
-
strokeWidth: "1.2",
|
1555
|
-
strokeLinecap: "round",
|
1556
|
-
strokeLinejoin: "round"
|
1557
|
-
})]
|
1558
|
-
});
|
1559
|
-
}
|
1560
|
-
export function UploadIconCloud() {
|
1561
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1562
|
-
width: "16",
|
1563
|
-
height: "16",
|
1564
|
-
viewBox: "0 0 16 16",
|
1565
|
-
fill: "none",
|
1566
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1567
|
-
className: "commonSvgStyle uploadIcon",
|
1568
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1569
|
-
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",
|
1570
|
-
stroke: "#64748B",
|
1571
|
-
strokeWidth: "1.2",
|
1572
|
-
strokeMiterlimit: "10",
|
1573
|
-
strokeLinecap: "round",
|
1574
|
-
strokeLinejoin: "round"
|
1575
|
-
}), /*#__PURE__*/_jsx("path", {
|
1576
|
-
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",
|
1577
|
-
stroke: "#64748B",
|
1578
|
-
strokeWidth: "1.2",
|
1579
|
-
strokeMiterlimit: "10",
|
1580
|
-
strokeLinecap: "round",
|
1581
|
-
strokeLinejoin: "round"
|
1582
|
-
})]
|
1583
|
-
});
|
1584
1434
|
}
|
@@ -1273,7 +1273,6 @@ 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",
|
1277
1276
|
children: [/*#__PURE__*/_jsx("path", {
|
1278
1277
|
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",
|
1279
1278
|
stroke: "#64748B",
|
@@ -1342,7 +1341,6 @@ export const GridAddSectionIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
1342
1341
|
height: "20",
|
1343
1342
|
viewBox: "0 0 20 20",
|
1344
1343
|
fill: "none",
|
1345
|
-
className: "addIconCircle",
|
1346
1344
|
children: [/*#__PURE__*/_jsx("path", {
|
1347
1345
|
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",
|
1348
1346
|
stroke: "#64748B",
|
@@ -1677,27 +1675,6 @@ export const CloseIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
1677
1675
|
strokeLinejoin: "round"
|
1678
1676
|
})]
|
1679
1677
|
});
|
1680
|
-
export const CloseIcon2 = props => /*#__PURE__*/_jsxs("svg", {
|
1681
|
-
width: "10",
|
1682
|
-
height: "10",
|
1683
|
-
viewBox: "0 0 10 10",
|
1684
|
-
fill: "none",
|
1685
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1686
|
-
...(props || {}),
|
1687
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1688
|
-
d: "M9.12476 0.875L0.875176 9.12458",
|
1689
|
-
stroke: "#8F9CAE",
|
1690
|
-
strokeWidth: "1.5",
|
1691
|
-
strokeLinecap: "round",
|
1692
|
-
strokeLinejoin: "round"
|
1693
|
-
}), /*#__PURE__*/_jsx("path", {
|
1694
|
-
d: "M0.875183 0.875L9.12476 9.12458",
|
1695
|
-
stroke: "#8F9CAE",
|
1696
|
-
strokeWidth: "1.5",
|
1697
|
-
strokeLinecap: "round",
|
1698
|
-
strokeLinejoin: "round"
|
1699
|
-
})]
|
1700
|
-
});
|
1701
1678
|
export const SearchIcon = () => /*#__PURE__*/_jsxs("svg", {
|
1702
1679
|
width: "18",
|
1703
1680
|
height: "18",
|
@@ -1809,7 +1786,6 @@ export const Text = props => /*#__PURE__*/_jsxs("svg", {
|
|
1809
1786
|
viewBox: "0 0 15 14",
|
1810
1787
|
fill: "none",
|
1811
1788
|
xmlns: "http://www.w3.org/2000/svg",
|
1812
|
-
className: "commonSvgStyle",
|
1813
1789
|
children: [/*#__PURE__*/_jsx("path", {
|
1814
1790
|
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",
|
1815
1791
|
stroke: props?.stroke || "#000",
|