@flozy/editor 3.8.1 → 3.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/ChatEditor.js +55 -45
- package/dist/Editor/CommonEditor.js +111 -169
- package/dist/Editor/Elements/AI/AIInput.js +5 -16
- package/dist/Editor/Elements/AI/PopoverAIInput.js +17 -31
- package/dist/Editor/Elements/AI/Styles.js +1 -2
- package/dist/Editor/Elements/Accordion/Accordion.js +7 -74
- package/dist/Editor/Elements/Accordion/AccordionBtnPopup.js +2 -3
- package/dist/Editor/Elements/Accordion/AccordionSummary.js +60 -4
- package/dist/Editor/Elements/AppHeader/AppHeader.js +4 -26
- package/dist/Editor/Elements/Button/EditorButton.js +16 -28
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +17 -60
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +1 -25
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +4 -4
- package/dist/Editor/Elements/Color Picker/Styles.js +1 -2
- package/dist/Editor/Elements/Embed/Image.js +20 -28
- package/dist/Editor/Elements/Embed/Video.js +11 -15
- package/dist/Editor/Elements/Emoji/EmojiPicker.js +4 -2
- package/dist/Editor/Elements/Form/Workflow/UserInputs.js +1 -2
- package/dist/Editor/Elements/Grid/Grid.js +0 -2
- package/dist/Editor/Elements/Grid/GridItem.js +1 -3
- package/dist/Editor/Elements/Link/Link.js +1 -6
- package/dist/Editor/Elements/Link/LinkButton.js +2 -4
- package/dist/Editor/Elements/Link/LinkPopup.js +3 -11
- package/dist/Editor/Elements/Table/Table.js +1 -1
- package/dist/Editor/Elements/Table/TableCell.js +1 -1
- package/dist/Editor/MiniEditor.js +1 -3
- package/dist/Editor/Toolbar/Basic/index.js +2 -4
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +2 -26
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +2 -2
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +11 -5
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +11 -4
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +86 -213
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +1 -2
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +13 -20
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +7 -52
- package/dist/Editor/Toolbar/PopupTool/index.js +5 -6
- package/dist/Editor/Toolbar/toolbarGroups.js +6 -48
- package/dist/Editor/assets/svg/AIIcons.js +1 -153
- package/dist/Editor/common/ColorPickerButton.js +9 -25
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/Icon.js +2 -30
- package/dist/Editor/common/LinkSettings/NavComponents.js +2 -5
- package/dist/Editor/common/LinkSettings/index.js +1 -2
- package/dist/Editor/common/LinkSettings/navOptions.js +2 -7
- package/dist/Editor/common/MentionsPopup/MentionsListCard.js +6 -1
- package/dist/Editor/common/MentionsPopup/Styles.js +2 -5
- package/dist/Editor/common/Shorthands/elements.js +0 -54
- package/dist/Editor/common/StyleBuilder/accordionTitleBtnStyle.js +7 -7
- package/dist/Editor/common/StyleBuilder/accordionTitleStyle.js +16 -16
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +2 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +3 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +7 -15
- package/dist/Editor/common/StyleBuilder/fieldTypes/buttonLink.js +1 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +7 -31
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +4 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +4 -14
- package/dist/Editor/common/StyleBuilder/index.js +1 -1
- package/dist/Editor/helper/theme.js +4 -190
- package/dist/Editor/hooks/useMouseMove.js +2 -4
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +5 -47
- package/dist/Editor/plugins/withLayout.js +10 -15
- package/dist/Editor/plugins/withTable.js +2 -2
- package/dist/Editor/theme/ThemeList.js +173 -50
- package/dist/Editor/utils/SlateUtilityFunctions.js +25 -161
- package/dist/Editor/utils/button.js +17 -1
- package/dist/Editor/utils/draftToSlate.js +1 -1
- package/dist/Editor/utils/events.js +4 -11
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/helper.js +1 -51
- package/package.json +1 -2
- package/dist/Editor/Elements/AI/VoiceToText/AudioWave.js +0 -73
- package/dist/Editor/Elements/AI/VoiceToText/index.js +0 -167
- package/dist/Editor/Elements/AI/VoiceToText/style.js +0 -40
- package/dist/Editor/Elements/Link/LinkPopupStyles.js +0 -28
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -438
- package/dist/Editor/assets/svg/ThemeIcons.js +0 -291
- package/dist/Editor/common/CustomColorPicker/index.js +0 -106
- package/dist/Editor/common/CustomColorPicker/style.js +0 -53
- package/dist/Editor/common/CustomDialog/index.js +0 -94
- package/dist/Editor/common/CustomDialog/style.js +0 -67
- package/dist/Editor/common/CustomSelect.js +0 -33
- package/dist/Editor/common/EditorCmds.js +0 -35
- package/dist/Editor/hooks/useEditorTheme.js +0 -139
- package/dist/Editor/theme/index.js +0 -144
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -72
- package/dist/Editor/themeSettings/buttons/index.js +0 -290
- package/dist/Editor/themeSettings/buttons/style.js +0 -21
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -290
- package/dist/Editor/themeSettings/colorTheme/style.js +0 -77
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +0 -123
- package/dist/Editor/themeSettings/fonts/index.js +0 -213
- package/dist/Editor/themeSettings/fonts/style.js +0 -44
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -320
- package/dist/Editor/themeSettings/style.js +0 -152
- package/dist/Editor/themeSettingsAI/icons.js +0 -96
- package/dist/Editor/themeSettingsAI/index.js +0 -356
- package/dist/Editor/themeSettingsAI/saveTheme.js +0 -190
- package/dist/Editor/themeSettingsAI/style.js +0 -247
@@ -1,44 +0,0 @@
|
|
1
|
-
const Style = () => ({
|
2
|
-
".settingAccordion": {
|
3
|
-
".MuiOutlinedInput-root": {
|
4
|
-
borderRadius: "8px",
|
5
|
-
boxShadow: "0px 4px 16px 0px #0000000D"
|
6
|
-
}
|
7
|
-
},
|
8
|
-
".fontTypeItem": {
|
9
|
-
padding: "6px 10px",
|
10
|
-
width: "calc(100% + 20px)",
|
11
|
-
margin: "0 -10px",
|
12
|
-
"&:hover": {
|
13
|
-
background: "#ECF2FF",
|
14
|
-
".editIcon": {
|
15
|
-
opacity: "1",
|
16
|
-
visibility: "visible"
|
17
|
-
}
|
18
|
-
},
|
19
|
-
".editIcon": {
|
20
|
-
opacity: "0",
|
21
|
-
visibility: "hidden",
|
22
|
-
width: "30px",
|
23
|
-
height: "30px"
|
24
|
-
}
|
25
|
-
},
|
26
|
-
".typeValue": {
|
27
|
-
fontSize: "12px",
|
28
|
-
color: "#64748B",
|
29
|
-
".dotColor": {
|
30
|
-
width: "12px",
|
31
|
-
height: "12px",
|
32
|
-
borderRadius: "12px",
|
33
|
-
background: "#0F172A",
|
34
|
-
marginRight: "3px"
|
35
|
-
}
|
36
|
-
},
|
37
|
-
".preview-theme-text": {
|
38
|
-
width: "200px",
|
39
|
-
whiteSpace: "nowrap",
|
40
|
-
overflow: "hidden",
|
41
|
-
textOverflow: "ellipsis"
|
42
|
-
}
|
43
|
-
});
|
44
|
-
export default Style;
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
-
export const TickIcon = () => /*#__PURE__*/_jsxs("svg", {
|
4
|
-
className: "tickIcon",
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
6
|
-
width: "26",
|
7
|
-
height: "26",
|
8
|
-
viewBox: "0 0 26 26",
|
9
|
-
fill: "none",
|
10
|
-
children: [/*#__PURE__*/_jsx("rect", {
|
11
|
-
x: "0.5",
|
12
|
-
y: "0.5",
|
13
|
-
width: "25",
|
14
|
-
height: "25",
|
15
|
-
rx: "12.5",
|
16
|
-
fill: "#2563EB",
|
17
|
-
stroke: "white"
|
18
|
-
}), /*#__PURE__*/_jsx("path", {
|
19
|
-
d: "M7 13.105L11.0011 17.21L19 9",
|
20
|
-
stroke: "white",
|
21
|
-
strokeWidth: "1.5",
|
22
|
-
strokeLinecap: "round",
|
23
|
-
strokeLinejoin: "round"
|
24
|
-
})]
|
25
|
-
});
|
26
|
-
export const EditIcon = () => /*#__PURE__*/_jsxs("svg", {
|
27
|
-
className: "editIcon",
|
28
|
-
xmlns: "http://www.w3.org/2000/svg",
|
29
|
-
width: "16",
|
30
|
-
height: "16",
|
31
|
-
viewBox: "0 0 16 16",
|
32
|
-
fill: "none",
|
33
|
-
children: [/*#__PURE__*/_jsx("circle", {
|
34
|
-
cx: "8",
|
35
|
-
cy: "8",
|
36
|
-
r: "8",
|
37
|
-
fill: "#2563EB",
|
38
|
-
fillOpacity: "0.14"
|
39
|
-
}), /*#__PURE__*/_jsx("path", {
|
40
|
-
d: "M11.3066 4.69573C10.3941 3.77831 9.50211 3.75792 8.5642 4.69573L7.98821 5.26658C7.93723 5.31754 7.92194 5.3889 7.94233 5.45516C8.29914 6.70387 9.29822 7.70284 10.5471 8.05962C10.5623 8.06472 10.5878 8.06472 10.6031 8.06472C10.6541 8.06472 10.7051 8.04433 10.7408 8.00865L11.3066 7.43781C11.7704 6.974 11.9998 6.53058 11.9998 6.07697C11.9998 5.61825 11.7704 5.16464 11.3066 4.69573Z",
|
41
|
-
fill: "#2563EB"
|
42
|
-
}), /*#__PURE__*/_jsx("path", {
|
43
|
-
d: "M9.69545 8.48831C9.55783 8.42206 9.4253 8.3558 9.30296 8.27935C9.20102 8.21819 9.09907 8.15193 9.00223 8.08058C8.92067 8.02961 8.82892 7.95316 8.73717 7.87671C8.72697 7.87161 8.69639 7.84613 8.65561 7.80535C8.4976 7.67793 8.32939 7.50464 8.17137 7.31606C8.16118 7.30587 8.1306 7.27529 8.10511 7.22942C8.05414 7.17336 7.97768 7.07652 7.91141 6.96949C7.85534 6.89813 7.78908 6.7962 7.72791 6.68916C7.65145 6.56175 7.58519 6.43433 7.52402 6.30181C7.45776 6.1591 7.40679 6.02659 7.36091 5.89917L4.61859 8.64122C4.44019 8.8196 4.26688 9.15599 4.2312 9.40573L4.01202 10.9246C3.96614 11.2457 4.0528 11.5464 4.25159 11.7451C4.4198 11.9133 4.64917 12 4.90404 12C4.96011 12 5.01618 11.9949 5.07225 11.9898L6.58613 11.7757C6.83589 11.74 7.17231 11.5718 7.35072 11.3884L10.093 8.64631C9.96561 8.60554 9.83818 8.54948 9.69545 8.48831Z",
|
44
|
-
fill: "#2563EB"
|
45
|
-
})]
|
46
|
-
});
|
47
|
-
export const PenIcon = () => /*#__PURE__*/_jsxs("svg", {
|
48
|
-
xmlns: "http://www.w3.org/2000/svg",
|
49
|
-
width: "14",
|
50
|
-
height: "14",
|
51
|
-
viewBox: "0 0 14 14",
|
52
|
-
fill: "none",
|
53
|
-
children: [/*#__PURE__*/_jsx("path", {
|
54
|
-
d: "M12.7874 1.21754C11.1907 -0.387958 9.62966 -0.423636 7.98833 1.21754L6.98034 2.21652C6.89114 2.30571 6.86438 2.43058 6.90006 2.54653C7.52448 4.7318 9.27285 6.48 11.4583 7.10436C11.4851 7.11328 11.5297 7.11328 11.5564 7.11328C11.6456 7.11328 11.7349 7.07761 11.7973 7.01517L12.7874 6.01619C13.5992 5.20452 14.0006 4.42853 14.0006 3.63471C14.0006 2.83196 13.5992 2.03813 12.7874 1.21754Z",
|
55
|
-
fill: "#2563EB"
|
56
|
-
}), /*#__PURE__*/_jsx("path", {
|
57
|
-
d: "M9.96704 7.85451C9.7262 7.73856 9.49427 7.62261 9.28019 7.48882C9.10178 7.38178 8.92338 7.26583 8.75389 7.14096C8.61117 7.05177 8.45061 6.91798 8.29004 6.78419C8.2722 6.77527 8.21868 6.73067 8.14732 6.65932C7.8708 6.43633 7.57643 6.13308 7.2999 5.80306C7.28206 5.78522 7.22854 5.73171 7.18394 5.65143C7.09474 5.55332 6.96094 5.38385 6.84497 5.19655C6.74685 5.07168 6.63089 4.89329 6.52385 4.70598C6.39005 4.483 6.27408 4.26002 6.16704 4.02811C6.05108 3.77837 5.96188 3.54647 5.88159 3.32349L1.08253 8.12209C0.770327 8.43427 0.46704 9.02294 0.404599 9.45999L0.0210312 12.118C-0.0592505 12.6799 0.0923925 13.2061 0.44028 13.554C0.734646 13.8483 1.13605 13.9999 1.58206 13.9999C1.68019 13.9999 1.77831 13.991 1.87643 13.9821L4.52573 13.6075C4.96282 13.545 5.55155 13.2507 5.86375 12.9296L10.6628 8.13101C10.4398 8.05965 10.2168 7.96154 9.96704 7.85451Z",
|
58
|
-
fill: "#2563EB"
|
59
|
-
})]
|
60
|
-
});
|
@@ -1,320 +0,0 @@
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
2
|
-
import { CircularProgress, Drawer, Grid, IconButton, Tab, Tabs, Typography, styled } from "@mui/material";
|
3
|
-
|
4
|
-
// Style
|
5
|
-
import Style from "./style";
|
6
|
-
|
7
|
-
// icons
|
8
|
-
import { CloseIcon } from "../common/iconslist";
|
9
|
-
import { ChevronLeft } from "@mui/icons-material";
|
10
|
-
import { TickIcon } from "./icons";
|
11
|
-
import ColorTheme from "./colorTheme";
|
12
|
-
import Buttons from "./buttons";
|
13
|
-
import Fonts from "./fonts";
|
14
|
-
import { useEditorTheme } from "../hooks/useEditorTheme";
|
15
|
-
import ActiveTheme from "./ActiveTheme";
|
16
|
-
import SaveTheme from "../themeSettingsAI/saveTheme";
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
19
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
20
|
-
function getColors(themeColors) {
|
21
|
-
const colors = Object.values(themeColors || {});
|
22
|
-
const primaryColors = colors.slice(0, 2);
|
23
|
-
const otherColors = colors.slice(2);
|
24
|
-
return {
|
25
|
-
primaryColors,
|
26
|
-
otherColors
|
27
|
-
};
|
28
|
-
}
|
29
|
-
const ThemeSettings = props => {
|
30
|
-
const {
|
31
|
-
className,
|
32
|
-
open,
|
33
|
-
setOpen,
|
34
|
-
services
|
35
|
-
} = props;
|
36
|
-
|
37
|
-
// State
|
38
|
-
// const [themeDrawer, setThemeDrawer] = useState(true);
|
39
|
-
const [themeTabType, setThemeTabType] = React.useState(0);
|
40
|
-
const [themeMoodboard, setThemeMoodboard] = React.useState(false);
|
41
|
-
const [themes, setThemes] = useState([]);
|
42
|
-
const [loading, setLoading] = useState(false);
|
43
|
-
const [savingTheme, setSavingTheme] = useState(false);
|
44
|
-
const {
|
45
|
-
theme: userSelectedTheme,
|
46
|
-
updateTheme
|
47
|
-
} = useEditorTheme();
|
48
|
-
const {
|
49
|
-
colors = {}
|
50
|
-
} = userSelectedTheme?.theme?.cssVars || {};
|
51
|
-
const {
|
52
|
-
id,
|
53
|
-
name,
|
54
|
-
mood_name
|
55
|
-
} = userSelectedTheme || {};
|
56
|
-
const onClose = () => setOpen(false);
|
57
|
-
const getThemesList = async themeTabType => {
|
58
|
-
setLoading(true);
|
59
|
-
setThemes([]);
|
60
|
-
try {
|
61
|
-
const themeType = themeTabType === 0 ? "default" : "";
|
62
|
-
const result = await services("getThemes", {
|
63
|
-
type: themeType
|
64
|
-
});
|
65
|
-
setThemes(result?.data || []);
|
66
|
-
} catch (err) {
|
67
|
-
console.log(err);
|
68
|
-
}
|
69
|
-
setLoading(false);
|
70
|
-
};
|
71
|
-
useEffect(() => {
|
72
|
-
getThemesList(themeTabType);
|
73
|
-
}, []);
|
74
|
-
const handleThemeChange = theme => {
|
75
|
-
updateTheme(theme, {
|
76
|
-
action: "THEME_CHANGE"
|
77
|
-
});
|
78
|
-
};
|
79
|
-
const onColorChange = (color, colorIndex) => {
|
80
|
-
updateTheme({
|
81
|
-
[`color${colorIndex}`]: color
|
82
|
-
}, {
|
83
|
-
action: "CSS_VAR_CHANGE",
|
84
|
-
fieldName: "colors"
|
85
|
-
});
|
86
|
-
};
|
87
|
-
const handleTabChange = (event, newValue) => {
|
88
|
-
setThemeTabType(newValue);
|
89
|
-
getThemesList(newValue);
|
90
|
-
};
|
91
|
-
const isUpdateTheme = Number(userSelectedTheme?.type) === 2;
|
92
|
-
const onSaveTheme = async (formData = {}) => {
|
93
|
-
setSavingTheme(true);
|
94
|
-
try {
|
95
|
-
const type = isUpdateTheme ? "update" : "create";
|
96
|
-
const result = await services("saveTheme", {
|
97
|
-
type,
|
98
|
-
id,
|
99
|
-
...formData,
|
100
|
-
theme: userSelectedTheme?.theme
|
101
|
-
});
|
102
|
-
const update = {
|
103
|
-
...userSelectedTheme,
|
104
|
-
...formData,
|
105
|
-
type: "2"
|
106
|
-
};
|
107
|
-
const createdId = result?.data?.id;
|
108
|
-
if (createdId) {
|
109
|
-
update.id = createdId;
|
110
|
-
}
|
111
|
-
updateTheme(update);
|
112
|
-
getThemesList(themeTabType);
|
113
|
-
} catch (err) {
|
114
|
-
console.log(err);
|
115
|
-
}
|
116
|
-
setSavingTheme(false);
|
117
|
-
};
|
118
|
-
|
119
|
-
// themeCard
|
120
|
-
const ThemeCard = ({
|
121
|
-
theme
|
122
|
-
}) => {
|
123
|
-
const {
|
124
|
-
name,
|
125
|
-
mood_name = ""
|
126
|
-
} = theme;
|
127
|
-
const {
|
128
|
-
colors = {}
|
129
|
-
} = theme?.theme?.cssVars || {};
|
130
|
-
const {
|
131
|
-
primaryColors,
|
132
|
-
otherColors
|
133
|
-
} = getColors(colors);
|
134
|
-
const isSelected = theme.id === userSelectedTheme?.id;
|
135
|
-
return /*#__PURE__*/_jsxs(Grid, {
|
136
|
-
className: `themeCardWrapper ${isSelected ? "activeWrapper" : ""}`,
|
137
|
-
onClick: () => handleThemeChange(theme),
|
138
|
-
children: [isSelected ? /*#__PURE__*/_jsx(TickIcon, {}) : null, /*#__PURE__*/_jsxs(Grid, {
|
139
|
-
container: true,
|
140
|
-
justifyContent: "space-between",
|
141
|
-
className: "themeCard",
|
142
|
-
gap: 2,
|
143
|
-
children: [/*#__PURE__*/_jsxs(Grid, {
|
144
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
145
|
-
variant: "body1",
|
146
|
-
className: "title",
|
147
|
-
style: {
|
148
|
-
whiteSpace: "nowrap",
|
149
|
-
maxWidth: "100px",
|
150
|
-
textOverflow: "ellipsis",
|
151
|
-
overflow: "hidden"
|
152
|
-
},
|
153
|
-
children: name
|
154
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
155
|
-
variant: "body2",
|
156
|
-
color: "textSecondary",
|
157
|
-
className: "fs-12",
|
158
|
-
children: mood_name
|
159
|
-
})]
|
160
|
-
}), /*#__PURE__*/_jsxs(Grid, {
|
161
|
-
className: "flexAlign",
|
162
|
-
sx: {
|
163
|
-
gap: "5px"
|
164
|
-
},
|
165
|
-
children: [primaryColors?.map((color, i) => {
|
166
|
-
return /*#__PURE__*/_jsx(Grid, {
|
167
|
-
className: "primaryCard",
|
168
|
-
style: {
|
169
|
-
backgroundColor: color
|
170
|
-
}
|
171
|
-
}, i);
|
172
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
173
|
-
className: "otherColors",
|
174
|
-
sx: {
|
175
|
-
gap: "5px"
|
176
|
-
},
|
177
|
-
children: otherColors.map((color, i) => {
|
178
|
-
return /*#__PURE__*/_jsx(Grid, {
|
179
|
-
className: "smallCard",
|
180
|
-
style: {
|
181
|
-
backgroundColor: color
|
182
|
-
}
|
183
|
-
}, i);
|
184
|
-
})
|
185
|
-
})]
|
186
|
-
})]
|
187
|
-
})]
|
188
|
-
});
|
189
|
-
};
|
190
|
-
return /*#__PURE__*/_jsx(Grid, {
|
191
|
-
className: className,
|
192
|
-
children: /*#__PURE__*/_jsx(Drawer, {
|
193
|
-
className: className,
|
194
|
-
open: open,
|
195
|
-
onClose: onClose,
|
196
|
-
anchor: "right",
|
197
|
-
children: /*#__PURE__*/_jsxs(Grid, {
|
198
|
-
className: "settingsContainer",
|
199
|
-
children: [/*#__PURE__*/_jsxs(Grid, {
|
200
|
-
container: true,
|
201
|
-
justifyContent: "space-between",
|
202
|
-
wrap: "nowrap",
|
203
|
-
className: "header",
|
204
|
-
sx: {
|
205
|
-
px: 2
|
206
|
-
},
|
207
|
-
children: [/*#__PURE__*/_jsxs(Grid, {
|
208
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
209
|
-
variant: "body1",
|
210
|
-
className: "title",
|
211
|
-
children: "Theme/Brand Setting"
|
212
|
-
}), /*#__PURE__*/_jsxs(Typography, {
|
213
|
-
variant: "body1",
|
214
|
-
color: "textSecondary",
|
215
|
-
className: "fs-12",
|
216
|
-
children: ["Change the entire style of your website with a single click.", " "]
|
217
|
-
})]
|
218
|
-
}), /*#__PURE__*/_jsx(IconButton, {
|
219
|
-
className: "closeBtn",
|
220
|
-
onClick: onClose,
|
221
|
-
children: /*#__PURE__*/_jsx(CloseIcon, {})
|
222
|
-
})]
|
223
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
224
|
-
className: "activeTheme",
|
225
|
-
children: !themeMoodboard ? /*#__PURE__*/_jsx(ActiveTheme, {
|
226
|
-
onExplore: () => setThemeMoodboard(true)
|
227
|
-
}) : /*#__PURE__*/_jsxs(Grid, {
|
228
|
-
className: "sectionDetail",
|
229
|
-
children: [/*#__PURE__*/_jsxs(Typography, {
|
230
|
-
variant: "body1",
|
231
|
-
className: "sectionTitle flexAlign",
|
232
|
-
children: [/*#__PURE__*/_jsx(IconButton, {
|
233
|
-
onClick: () => setThemeMoodboard(false),
|
234
|
-
children: /*#__PURE__*/_jsx(ChevronLeft, {})
|
235
|
-
}), "Theme Moodboard"]
|
236
|
-
}), /*#__PURE__*/_jsxs(Grid, {
|
237
|
-
className: "activeWrapper",
|
238
|
-
children: [/*#__PURE__*/_jsx(TickIcon, {}), /*#__PURE__*/_jsx(ActiveTheme, {
|
239
|
-
explore: false
|
240
|
-
})]
|
241
|
-
}), /*#__PURE__*/_jsxs(Tabs, {
|
242
|
-
value: themeTabType,
|
243
|
-
onChange: handleTabChange,
|
244
|
-
variant: "scrollable",
|
245
|
-
scrollButtons: false,
|
246
|
-
"aria-label": "scrollable prevent tabs example",
|
247
|
-
children: [/*#__PURE__*/_jsx(Tab, {
|
248
|
-
label: /*#__PURE__*/_jsx(Typography, {
|
249
|
-
variant: "body1",
|
250
|
-
className: "fs-14 fw-500 transformNone",
|
251
|
-
children: "Key themes"
|
252
|
-
})
|
253
|
-
}), /*#__PURE__*/_jsx(Tab, {
|
254
|
-
label: /*#__PURE__*/_jsx(Typography, {
|
255
|
-
variant: "body1",
|
256
|
-
className: "fs-14 fw-500 transformNone",
|
257
|
-
children: "Saved themes"
|
258
|
-
})
|
259
|
-
})]
|
260
|
-
}), loading ? /*#__PURE__*/_jsx("div", {
|
261
|
-
style: {
|
262
|
-
display: "flex",
|
263
|
-
justifyContent: "center",
|
264
|
-
alignItems: "center",
|
265
|
-
margin: 0,
|
266
|
-
padding: 0,
|
267
|
-
height: "50px",
|
268
|
-
overflow: "hidden"
|
269
|
-
},
|
270
|
-
children: /*#__PURE__*/_jsx(CircularProgress, {})
|
271
|
-
}) : null, themes.map((theme, i) => {
|
272
|
-
return /*#__PURE__*/_jsx(ThemeCard, {
|
273
|
-
theme: theme
|
274
|
-
}, i);
|
275
|
-
})]
|
276
|
-
})
|
277
|
-
}), id ? /*#__PURE__*/_jsxs(_Fragment, {
|
278
|
-
children: [/*#__PURE__*/_jsx(Grid, {
|
279
|
-
sx: {
|
280
|
-
px: 1
|
281
|
-
},
|
282
|
-
children: /*#__PURE__*/_jsx(ColorTheme, {
|
283
|
-
colors: getColors(colors),
|
284
|
-
onColorChange: onColorChange,
|
285
|
-
openDefault: open === "editThemeColor"
|
286
|
-
})
|
287
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
288
|
-
sx: {
|
289
|
-
px: 1
|
290
|
-
},
|
291
|
-
children: /*#__PURE__*/_jsx(Fonts, {})
|
292
|
-
}), /*#__PURE__*/_jsx(Grid, {
|
293
|
-
sx: {
|
294
|
-
px: 1
|
295
|
-
},
|
296
|
-
children: /*#__PURE__*/_jsx(Buttons, {})
|
297
|
-
}), /*#__PURE__*/_jsx("div", {
|
298
|
-
style: {
|
299
|
-
width: "100%",
|
300
|
-
display: "flex",
|
301
|
-
justifyContent: "center",
|
302
|
-
alignItems: "center",
|
303
|
-
marginTop: "10px"
|
304
|
-
},
|
305
|
-
children: /*#__PURE__*/_jsx(SaveTheme, {
|
306
|
-
saveBtnLabel: isUpdateTheme ? "Update theme" : "Save Theme",
|
307
|
-
loading: savingTheme,
|
308
|
-
onSave: onSaveTheme,
|
309
|
-
defaultFormData: {
|
310
|
-
name,
|
311
|
-
mood_name
|
312
|
-
}
|
313
|
-
})
|
314
|
-
})]
|
315
|
-
}) : null]
|
316
|
-
})
|
317
|
-
})
|
318
|
-
});
|
319
|
-
};
|
320
|
-
export default styled(ThemeSettings)(Style);
|
@@ -1,152 +0,0 @@
|
|
1
|
-
const Style = () => ({
|
2
|
-
".fs-12": {
|
3
|
-
fontSize: "12px"
|
4
|
-
},
|
5
|
-
".fs-14": {
|
6
|
-
fontSize: "14px"
|
7
|
-
},
|
8
|
-
".fw-500": {
|
9
|
-
fontWeight: "500"
|
10
|
-
},
|
11
|
-
".fw-600": {
|
12
|
-
fontWeight: "600"
|
13
|
-
},
|
14
|
-
".pointer": {
|
15
|
-
cursor: "pointer"
|
16
|
-
},
|
17
|
-
".transformNone": {
|
18
|
-
textTransform: "none"
|
19
|
-
},
|
20
|
-
".settingsContainer": {
|
21
|
-
width: "340px",
|
22
|
-
padding: "16px 5px",
|
23
|
-
background: "#fff",
|
24
|
-
".header": {
|
25
|
-
borderBottom: `1px solid #DCE4EC`,
|
26
|
-
paddingBottom: "16px",
|
27
|
-
marginBottom: "16px"
|
28
|
-
}
|
29
|
-
},
|
30
|
-
".title": {
|
31
|
-
fontWeight: "700",
|
32
|
-
fontSize: "14px"
|
33
|
-
},
|
34
|
-
".closeBtn": {
|
35
|
-
width: "26px",
|
36
|
-
height: "26px",
|
37
|
-
BorderRadius: "4px",
|
38
|
-
flexShrik: "0",
|
39
|
-
padding: "4px",
|
40
|
-
background: " #F8FAFC",
|
41
|
-
borderRadius: "4px"
|
42
|
-
},
|
43
|
-
".activeTheme": {
|
44
|
-
background: "#F4F4F6",
|
45
|
-
padding: "14px 10px",
|
46
|
-
borderRadius: "4px"
|
47
|
-
},
|
48
|
-
".activeThemeInnner": {
|
49
|
-
borderRadius: "7px",
|
50
|
-
padding: "16px",
|
51
|
-
boxShadow: "1px 2px 5px 0px #00000014",
|
52
|
-
background: "#fff"
|
53
|
-
},
|
54
|
-
".flexAlign": {
|
55
|
-
display: "flex",
|
56
|
-
alignItems: "center"
|
57
|
-
},
|
58
|
-
".activeColorBox, .xsColorBox": {
|
59
|
-
width: "24px",
|
60
|
-
height: "24px",
|
61
|
-
borderRadius: "5px",
|
62
|
-
border: `1px solid #929292`
|
63
|
-
},
|
64
|
-
".themeCard": {
|
65
|
-
borderRadius: "7px",
|
66
|
-
padding: "16px",
|
67
|
-
border: "1px solid #F3F3F3",
|
68
|
-
boxShadow: "1px 2px 5px 0px #00000014",
|
69
|
-
background: "white",
|
70
|
-
flexWrap: "nowrap"
|
71
|
-
},
|
72
|
-
".themeCardWrapper": {
|
73
|
-
padding: "10px",
|
74
|
-
borderRadius: "4px",
|
75
|
-
cursor: "pointer",
|
76
|
-
"&.active": {
|
77
|
-
background: "#ECF2FF"
|
78
|
-
}
|
79
|
-
},
|
80
|
-
".primaryCard, .secondaryCard": {
|
81
|
-
width: "44px",
|
82
|
-
height: "44px",
|
83
|
-
borderRadius: "5px",
|
84
|
-
border: `1px solid #929292`
|
85
|
-
},
|
86
|
-
".otherColors": {
|
87
|
-
display: "flex",
|
88
|
-
flexWrap: "wrap",
|
89
|
-
width: "48px",
|
90
|
-
".smallCard": {
|
91
|
-
width: "20px",
|
92
|
-
height: "20px",
|
93
|
-
borderRadius: "5px",
|
94
|
-
border: `1px solid #929292`
|
95
|
-
}
|
96
|
-
},
|
97
|
-
".sectionDetail": {
|
98
|
-
borderRadius: "4px",
|
99
|
-
background: "#fff"
|
100
|
-
},
|
101
|
-
".sectionTitle": {
|
102
|
-
borderBottom: `1px solid #DCE4EC`,
|
103
|
-
fontWeight: "600",
|
104
|
-
fontSize: "14px"
|
105
|
-
},
|
106
|
-
// ".activeThemeInnner": {
|
107
|
-
// borderRadius: "7px",
|
108
|
-
// padding: "16px",
|
109
|
-
// boxShadow: "1px 2px 5px 0px #00000014",
|
110
|
-
// background: "#fff",
|
111
|
-
// },
|
112
|
-
".activeWrapper": {
|
113
|
-
background: "#ECF2FF",
|
114
|
-
padding: "14px 10px",
|
115
|
-
position: "relative",
|
116
|
-
".tickIcon": {
|
117
|
-
position: "absolute",
|
118
|
-
right: "5px",
|
119
|
-
top: "8px"
|
120
|
-
}
|
121
|
-
},
|
122
|
-
".settingAccordion": {
|
123
|
-
background: "#fff",
|
124
|
-
border: "1px solid #F3F3F3",
|
125
|
-
boxShadow: "1px 2px 5px 0px #00000014",
|
126
|
-
borderRadius: "7px",
|
127
|
-
marginTop: "10px",
|
128
|
-
marginBottom: "10px",
|
129
|
-
padding: "0px 12px",
|
130
|
-
"&:before": {
|
131
|
-
background: "transparent"
|
132
|
-
},
|
133
|
-
".MuiAccordionSummary-root ": {
|
134
|
-
minHeight: "45px",
|
135
|
-
padding: "0px",
|
136
|
-
"&.Mui-expanded": {
|
137
|
-
borderBottom: `1px solid #DCE4EC`
|
138
|
-
}
|
139
|
-
},
|
140
|
-
".MuiAccordionSummary-content ": {
|
141
|
-
padding: "12px 0px",
|
142
|
-
margin: "0px !important",
|
143
|
-
minHeight: "45px",
|
144
|
-
fontSize: "14px",
|
145
|
-
fontWeight: "600"
|
146
|
-
},
|
147
|
-
".MuiAccordionDetails-root ": {
|
148
|
-
padding: "12px 0px"
|
149
|
-
}
|
150
|
-
}
|
151
|
-
});
|
152
|
-
export default Style;
|
@@ -1,96 +0,0 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
-
export const TickIcon = () => /*#__PURE__*/_jsxs("svg", {
|
4
|
-
className: "tickIcon",
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
6
|
-
width: "26",
|
7
|
-
height: "26",
|
8
|
-
viewBox: "0 0 26 26",
|
9
|
-
fill: "none",
|
10
|
-
children: [/*#__PURE__*/_jsx("rect", {
|
11
|
-
x: "0.5",
|
12
|
-
y: "0.5",
|
13
|
-
width: "25",
|
14
|
-
height: "25",
|
15
|
-
rx: "12.5",
|
16
|
-
fill: "#2563EB",
|
17
|
-
stroke: "white",
|
18
|
-
className: "fillPath"
|
19
|
-
}), /*#__PURE__*/_jsx("path", {
|
20
|
-
d: "M7 13.105L11.0011 17.21L19 9",
|
21
|
-
stroke: "white",
|
22
|
-
strokeWidth: "1.5",
|
23
|
-
strokeLinecap: "round",
|
24
|
-
strokeLinejoin: "round"
|
25
|
-
})]
|
26
|
-
});
|
27
|
-
export const EditIcon = () => /*#__PURE__*/_jsxs("svg", {
|
28
|
-
className: "editIcon",
|
29
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30
|
-
width: "16",
|
31
|
-
height: "16",
|
32
|
-
viewBox: "0 0 16 16",
|
33
|
-
fill: "none",
|
34
|
-
children: [/*#__PURE__*/_jsx("circle", {
|
35
|
-
cx: "8",
|
36
|
-
cy: "8",
|
37
|
-
r: "8",
|
38
|
-
fill: "#2563EB",
|
39
|
-
fillOpacity: "0.14"
|
40
|
-
}), /*#__PURE__*/_jsx("path", {
|
41
|
-
d: "M11.3066 4.69573C10.3941 3.77831 9.50211 3.75792 8.5642 4.69573L7.98821 5.26658C7.93723 5.31754 7.92194 5.3889 7.94233 5.45516C8.29914 6.70387 9.29822 7.70284 10.5471 8.05962C10.5623 8.06472 10.5878 8.06472 10.6031 8.06472C10.6541 8.06472 10.7051 8.04433 10.7408 8.00865L11.3066 7.43781C11.7704 6.974 11.9998 6.53058 11.9998 6.07697C11.9998 5.61825 11.7704 5.16464 11.3066 4.69573Z",
|
42
|
-
fill: "#2563EB"
|
43
|
-
}), /*#__PURE__*/_jsx("path", {
|
44
|
-
d: "M9.69545 8.48831C9.55783 8.42206 9.4253 8.3558 9.30296 8.27935C9.20102 8.21819 9.09907 8.15193 9.00223 8.08058C8.92067 8.02961 8.82892 7.95316 8.73717 7.87671C8.72697 7.87161 8.69639 7.84613 8.65561 7.80535C8.4976 7.67793 8.32939 7.50464 8.17137 7.31606C8.16118 7.30587 8.1306 7.27529 8.10511 7.22942C8.05414 7.17336 7.97768 7.07652 7.91141 6.96949C7.85534 6.89813 7.78908 6.7962 7.72791 6.68916C7.65145 6.56175 7.58519 6.43433 7.52402 6.30181C7.45776 6.1591 7.40679 6.02659 7.36091 5.89917L4.61859 8.64122C4.44019 8.8196 4.26688 9.15599 4.2312 9.40573L4.01202 10.9246C3.96614 11.2457 4.0528 11.5464 4.25159 11.7451C4.4198 11.9133 4.64917 12 4.90404 12C4.96011 12 5.01618 11.9949 5.07225 11.9898L6.58613 11.7757C6.83589 11.74 7.17231 11.5718 7.35072 11.3884L10.093 8.64631C9.96561 8.60554 9.83818 8.54948 9.69545 8.48831Z",
|
45
|
-
fill: "#2563EB"
|
46
|
-
})]
|
47
|
-
});
|
48
|
-
export const PenIcon = () => /*#__PURE__*/_jsxs("svg", {
|
49
|
-
xmlns: "http://www.w3.org/2000/svg",
|
50
|
-
width: "14",
|
51
|
-
height: "14",
|
52
|
-
viewBox: "0 0 14 14",
|
53
|
-
fill: "none",
|
54
|
-
children: [/*#__PURE__*/_jsx("path", {
|
55
|
-
d: "M12.7874 1.21754C11.1907 -0.387958 9.62966 -0.423636 7.98833 1.21754L6.98034 2.21652C6.89114 2.30571 6.86438 2.43058 6.90006 2.54653C7.52448 4.7318 9.27285 6.48 11.4583 7.10436C11.4851 7.11328 11.5297 7.11328 11.5564 7.11328C11.6456 7.11328 11.7349 7.07761 11.7973 7.01517L12.7874 6.01619C13.5992 5.20452 14.0006 4.42853 14.0006 3.63471C14.0006 2.83196 13.5992 2.03813 12.7874 1.21754Z",
|
56
|
-
fill: "#2563EB"
|
57
|
-
}), /*#__PURE__*/_jsx("path", {
|
58
|
-
d: "M9.96704 7.85451C9.7262 7.73856 9.49427 7.62261 9.28019 7.48882C9.10178 7.38178 8.92338 7.26583 8.75389 7.14096C8.61117 7.05177 8.45061 6.91798 8.29004 6.78419C8.2722 6.77527 8.21868 6.73067 8.14732 6.65932C7.8708 6.43633 7.57643 6.13308 7.2999 5.80306C7.28206 5.78522 7.22854 5.73171 7.18394 5.65143C7.09474 5.55332 6.96094 5.38385 6.84497 5.19655C6.74685 5.07168 6.63089 4.89329 6.52385 4.70598C6.39005 4.483 6.27408 4.26002 6.16704 4.02811C6.05108 3.77837 5.96188 3.54647 5.88159 3.32349L1.08253 8.12209C0.770327 8.43427 0.46704 9.02294 0.404599 9.45999L0.0210312 12.118C-0.0592505 12.6799 0.0923925 13.2061 0.44028 13.554C0.734646 13.8483 1.13605 13.9999 1.58206 13.9999C1.68019 13.9999 1.77831 13.991 1.87643 13.9821L4.52573 13.6075C4.96282 13.545 5.55155 13.2507 5.86375 12.9296L10.6628 8.13101C10.4398 8.05965 10.2168 7.96154 9.96704 7.85451Z",
|
59
|
-
fill: "#2563EB"
|
60
|
-
})]
|
61
|
-
});
|
62
|
-
export const CloudIcon = () => /*#__PURE__*/_jsxs("svg", {
|
63
|
-
xmlns: "http://www.w3.org/2000/svg",
|
64
|
-
width: "52",
|
65
|
-
height: "49",
|
66
|
-
viewBox: "0 0 52 49",
|
67
|
-
fill: "none",
|
68
|
-
children: [/*#__PURE__*/_jsx("path", {
|
69
|
-
d: "M27 0H25C11.469 0 0.5 10.969 0.5 24.5C0.5 38.031 11.469 49 25 49H27C40.531 49 51.5 38.031 51.5 24.5C51.5 10.969 40.531 0 27 0Z",
|
70
|
-
fill: "#F3F3FF"
|
71
|
-
}), /*#__PURE__*/_jsx("path", {
|
72
|
-
d: "M32.7156 20.8555L32.6507 20.5259C32.3957 19.2311 31.7962 17.998 30.8134 17.0066C29.4874 15.669 27.7396 15 26 15C24.2611 15 22.5199 15.6698 21.1948 17.0066C19.8613 18.3517 19.2331 20.1283 19.2446 21.9145L19.2475 22.3734L18.7906 22.4156C16.3917 22.6373 14.5 24.6541 14.5 27.1316C14.5 29.7617 16.6207 31.8947 19.2174 31.8947H22.8696H22.8767C22.9135 31.8952 22.9502 31.8885 22.9846 31.8745C23.0191 31.8605 23.0507 31.8397 23.0776 31.813C23.1044 31.7862 23.126 31.7542 23.1408 31.7184C23.1556 31.6827 23.1633 31.6442 23.1633 31.6053C23.1633 31.5663 23.1556 31.5278 23.1408 31.4921C23.126 31.4564 23.1044 31.4243 23.0776 31.3975C23.0507 31.3708 23.0191 31.35 22.9846 31.336C22.9502 31.3221 22.9135 31.3152 22.8767 31.3157L22.8696 31.3158H19.2174C16.9003 31.3158 15.0652 29.4583 15.0652 27.1316C15.0652 24.8049 16.9003 22.9474 19.2174 22.9474H19.5263C19.5656 22.9472 19.6044 22.9386 19.6404 22.9222C19.6765 22.9056 19.7091 22.8814 19.7359 22.8507C19.7626 22.82 19.7828 22.7837 19.7949 22.744C19.807 22.7044 19.8106 22.6624 19.8055 22.6211L19.8051 22.6182C19.5857 20.7703 20.1821 18.8364 21.5933 17.4128C22.816 16.1793 24.4024 15.5789 26 15.5789C27.5969 15.5789 29.1928 16.18 30.4149 17.4128C31.4503 18.4573 32.0465 19.7776 32.2031 21.1353M32.7156 20.8555L31.7065 21.1941ZM32.7156 20.8555L33.0453 20.92C35.5785 21.4157 37.5 23.6482 37.5 26.3421C37.5 29.4035 35.0242 31.8947 32 31.8947H29.1304L29.1233 31.8948C29.0865 31.8953 29.0498 31.8885 29.0154 31.8745C28.9809 31.8605 28.9493 31.8397 28.9224 31.813C28.8956 31.7862 28.874 31.7542 28.8592 31.7184C28.8444 31.6827 28.8367 31.6442 28.8367 31.6053C28.8367 31.5663 28.8444 31.5278 28.8592 31.4921C28.874 31.4564 28.8956 31.4243 28.9224 31.3975C28.9493 31.3708 28.9809 31.35 29.0154 31.336C29.0498 31.3221 29.0865 31.3152 29.1233 31.3157L29.1304 31.3158H32C34.7387 31.3158 36.9348 29.0942 36.9348 26.3421C36.9348 23.7434 34.9743 21.6188 32.455 21.3871M32.7156 20.8555L32.455 21.3871ZM32.2031 21.1353C32.2031 21.1358 32.2032 21.1364 32.2032 21.1369L31.7065 21.1941M32.2031 21.1353C32.2032 21.1356 32.203 21.135 32.2031 21.1353L31.7065 21.1941ZM32.2031 21.1353C32.2112 21.2015 32.2414 21.2622 32.2875 21.3077L31.9366 21.6639M31.7065 21.1941C31.728 21.3725 31.8091 21.5383 31.9366 21.6639ZM31.9366 21.6639L32.2875 21.3077C32.3334 21.353 32.3926 21.3806 32.455 21.3871M31.9366 21.6639L32.455 21.3871ZM26.1908 24.0204L26.1919 24.0215L29.0591 26.6509C29.1802 26.7656 29.1797 26.955 29.0781 27.0669C28.9895 27.1645 28.7788 27.1758 28.6774 27.0835C28.6776 27.0836 28.6773 27.0834 28.6774 27.0835L27.1209 25.6532L26.2826 24.8828V26.0214V33.7105C26.2826 33.8745 26.152 34 26 34C25.848 34 25.7174 33.8746 25.7174 33.7105V26.0214V24.8828L24.8791 25.6532L23.3229 27.0833C23.323 27.0832 23.3228 27.0833 23.3229 27.0833C23.2385 27.1601 23.0288 27.1716 22.9031 27.0473C22.8685 27.0131 22.8411 26.9536 22.8466 26.8665C22.8524 26.7766 22.892 26.697 22.9405 26.6512L25.8081 24.0215L25.8094 24.0202C25.8708 23.9635 25.8871 23.9582 25.8875 23.9581C25.8885 23.9577 25.8941 23.9553 25.9091 23.9529C25.9258 23.9502 25.954 23.9474 26 23.9474C26.074 23.9474 26.104 23.9589 26.1143 23.9634C26.1267 23.9687 26.1468 23.9799 26.1908 24.0204Z",
|
73
|
-
fill: "#2563EB"
|
74
|
-
}), /*#__PURE__*/_jsx("path", {
|
75
|
-
d: "M32.7156 20.8555L32.6507 20.5259C32.3957 19.2311 31.7962 17.998 30.8134 17.0066M32.7156 20.8555L31.7065 21.1941M32.7156 20.8555L33.0453 20.92C35.5785 21.4157 37.5 23.6482 37.5 26.3421C37.5 29.4035 35.0242 31.8947 32 31.8947H29.1304L29.1233 31.8948C29.0865 31.8953 29.0498 31.8885 29.0154 31.8745C28.9809 31.8605 28.9493 31.8397 28.9224 31.813C28.8956 31.7862 28.874 31.7542 28.8592 31.7184C28.8444 31.6827 28.8367 31.6442 28.8367 31.6053C28.8367 31.5663 28.8444 31.5278 28.8592 31.4921C28.874 31.4564 28.8956 31.4243 28.9224 31.3975C28.9493 31.3708 28.9809 31.35 29.0154 31.336C29.0498 31.3221 29.0865 31.3152 29.1233 31.3157L29.1304 31.3158H32C34.7387 31.3158 36.9348 29.0942 36.9348 26.3421C36.9348 23.7434 34.9743 21.6188 32.455 21.3871M32.7156 20.8555L32.455 21.3871M30.8134 17.0066L31.1685 16.6546M30.8134 17.0066C29.4874 15.669 27.7396 15 26 15C24.2611 15 22.5199 15.6698 21.1948 17.0066C19.8613 18.3517 19.2331 20.1283 19.2446 21.9145L19.2475 22.3734L18.7906 22.4156C16.3917 22.6373 14.5 24.6541 14.5 27.1316C14.5 29.7617 16.6207 31.8947 19.2174 31.8947H22.8696H22.8767C22.9135 31.8952 22.9502 31.8885 22.9846 31.8745C23.0191 31.8605 23.0507 31.8397 23.0776 31.813C23.1044 31.7862 23.126 31.7542 23.1408 31.7184C23.1556 31.6827 23.1633 31.6442 23.1633 31.6053C23.1633 31.5663 23.1556 31.5278 23.1408 31.4921C23.126 31.4564 23.1044 31.4243 23.0776 31.3975C23.0507 31.3708 23.0191 31.35 22.9846 31.336C22.9502 31.3221 22.9135 31.3152 22.8767 31.3157L22.8696 31.3158H19.2174C16.9003 31.3158 15.0652 29.4583 15.0652 27.1316C15.0652 24.8049 16.9003 22.9474 19.2174 22.9474H19.5263C19.5656 22.9472 19.6044 22.9386 19.6404 22.9222C19.6765 22.9056 19.7091 22.8814 19.7359 22.8507C19.7626 22.82 19.7828 22.7837 19.7949 22.744C19.807 22.7044 19.8106 22.6624 19.8055 22.6211L19.8051 22.6182C19.5857 20.7703 20.1821 18.8364 21.5933 17.4128C22.816 16.1793 24.4024 15.5789 26 15.5789C27.5969 15.5789 29.1928 16.18 30.4149 17.4128M30.4149 17.4128L30.0598 17.7648M30.4149 17.4128C31.4503 18.4573 32.0465 19.7776 32.2031 21.1353M32.2031 21.1353C32.2031 21.1358 32.2032 21.1364 32.2032 21.1369L31.7065 21.1941M32.2031 21.1353C32.203 21.135 32.2032 21.1356 32.2031 21.1353ZM32.2031 21.1353L31.7065 21.1941M32.2031 21.1353C32.2112 21.2015 32.2414 21.2622 32.2875 21.3077M31.7065 21.1941C31.728 21.3725 31.8091 21.5383 31.9366 21.6639M32.455 21.3871C32.3926 21.3806 32.3334 21.353 32.2875 21.3077M32.455 21.3871L31.9366 21.6639M32.2875 21.3077L31.9366 21.6639M28.6774 27.0835C28.7788 27.1758 28.9895 27.1645 29.0781 27.0669C29.1797 26.955 29.1802 26.7656 29.0591 26.6509L26.1919 24.0215L26.1908 24.0204C26.1468 23.9799 26.1267 23.9687 26.1143 23.9634C26.104 23.9589 26.074 23.9474 26 23.9474C25.954 23.9474 25.9258 23.9502 25.9091 23.9529C25.8941 23.9553 25.8885 23.9577 25.8875 23.9581C25.8871 23.9582 25.8708 23.9635 25.8094 24.0202L25.8081 24.0215L22.9405 26.6512C22.892 26.697 22.8524 26.7766 22.8466 26.8665C22.8411 26.9536 22.8685 27.0131 22.9031 27.0473C23.0288 27.1716 23.2385 27.1601 23.3229 27.0833M28.6774 27.0835C28.6773 27.0834 28.6776 27.0836 28.6774 27.0835ZM28.6774 27.0835L27.1209 25.6532L26.2826 24.8828V26.0214V33.7105C26.2826 33.8745 26.152 34 26 34C25.848 34 25.7174 33.8746 25.7174 33.7105V26.0214V24.8828L24.8791 25.6532L23.3229 27.0833M23.3229 27.0833C23.3228 27.0833 23.323 27.0832 23.3229 27.0833Z",
|
76
|
-
stroke: "#8360FD"
|
77
|
-
})]
|
78
|
-
});
|
79
|
-
export const ResetIcon = () => /*#__PURE__*/_jsxs("svg", {
|
80
|
-
xmlns: "http://www.w3.org/2000/svg",
|
81
|
-
width: "24",
|
82
|
-
height: "24",
|
83
|
-
viewBox: "0 0 24 24",
|
84
|
-
fill: "none",
|
85
|
-
children: [/*#__PURE__*/_jsx("circle", {
|
86
|
-
cx: "11.6453",
|
87
|
-
cy: "11.6448",
|
88
|
-
r: "11.5",
|
89
|
-
transform: "rotate(-89.2717 11.6453 11.6448)",
|
90
|
-
fill: "#2563EB",
|
91
|
-
fillOpacity: "0.16"
|
92
|
-
}), /*#__PURE__*/_jsx("path", {
|
93
|
-
d: "M18.2807 11.8165C18.2805 11.8361 18.2805 11.8361 18.2802 11.8557L19.2372 10.9271C19.6359 10.5402 20.2462 10.5479 20.635 10.9449C21.0238 11.3418 21.0161 11.9493 20.6173 12.3362L17.2285 15.5858L13.9628 12.2516C13.7684 12.0531 13.6732 11.7971 13.6762 11.562C13.6795 11.3072 13.7811 11.0537 13.9803 10.8799C14.379 10.4929 14.9893 10.5007 15.3781 10.8976L16.3112 11.8503C16.3114 11.8307 16.3117 11.8111 16.3119 11.7915C16.3503 8.77365 13.901 6.27299 10.869 6.23444C7.83711 6.1959 5.32504 8.63349 5.28667 11.6513C5.24831 14.6691 7.6976 17.1698 10.7295 17.2083C11.2808 17.2154 11.7085 17.652 11.7015 18.2007C11.6945 18.7494 11.2559 19.175 10.7046 19.168C6.57016 19.1154 3.26557 15.7415 3.31788 11.6263C3.3702 7.51107 6.7595 4.22226 10.894 4.27482C15.0087 4.32713 18.333 7.70129 18.2807 11.8165Z",
|
94
|
-
fill: "#2563EB"
|
95
|
-
})]
|
96
|
-
});
|