@flozy/editor 3.3.1 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/CommonEditor.js +6 -2
- package/dist/Editor/Elements/AI/AIInput.js +157 -0
- package/dist/Editor/Elements/AI/CustomSelect.js +101 -0
- package/dist/Editor/Elements/AI/PopoverAIInput.js +231 -0
- package/dist/Editor/Elements/AI/Styles.js +149 -0
- package/dist/Editor/Elements/AI/helper.js +145 -0
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/InfinityAITool.js +24 -0
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +4 -2
- package/dist/Editor/Toolbar/PopupTool/index.js +11 -7
- package/dist/Editor/assets/svg/AIIcons.js +438 -0
- package/dist/Editor/common/Icon.js +3 -2
- package/dist/Editor/common/LinkSettings/index.js +0 -1
- package/dist/Editor/common/MentionsPopup/index.js +7 -0
- package/dist/Editor/common/Shorthands/elements.js +12 -0
- package/dist/Editor/common/SwipeableDrawer/index.js +1 -1
- package/dist/Editor/common/WaveLoading/index.js +18 -0
- package/dist/Editor/common/WaveLoading/style.css +38 -0
- package/dist/Editor/common/iconslist.js +178 -0
- package/dist/Editor/hooks/useClickOutside.js +35 -0
- package/dist/Editor/hooks/useMouseMove.js +4 -2
- package/dist/Editor/utils/helper.js +1 -1
- package/dist/Editor/utils/infinityAI.js +23 -0
- package/package.json +1 -1
@@ -0,0 +1,145 @@
|
|
1
|
+
import { ActionItemsIcon, BookIcon, CheckIcon,
|
2
|
+
// ClarifyIcon,
|
3
|
+
CloseIcon, DeleteIcon,
|
4
|
+
// EditIcon,
|
5
|
+
MakeShorterIcon, SummarizeIcon, TextAlignLeftIcon, ToneIcon, TranslateIcon, TryAgainIcon } from "../../assets/svg/AIIcons";
|
6
|
+
export const MODES = {
|
7
|
+
default: 0,
|
8
|
+
translate: 1,
|
9
|
+
summarize: 2,
|
10
|
+
actionItems: 3,
|
11
|
+
grammatical: 4,
|
12
|
+
rephraseTone: 5,
|
13
|
+
longer: 6,
|
14
|
+
shorter: 7
|
15
|
+
};
|
16
|
+
|
17
|
+
// const improveWriting = {
|
18
|
+
// label: "Improve writing",
|
19
|
+
// value: "improve_writing",
|
20
|
+
// Icon: EditIcon,
|
21
|
+
// replace: true,
|
22
|
+
// };
|
23
|
+
|
24
|
+
const commonOptions = [{
|
25
|
+
label: "Make longer",
|
26
|
+
value: "make_longer",
|
27
|
+
Icon: TextAlignLeftIcon,
|
28
|
+
replace: false,
|
29
|
+
mode: MODES.longer
|
30
|
+
}, {
|
31
|
+
label: "Make shorter",
|
32
|
+
value: "make_shorter",
|
33
|
+
Icon: MakeShorterIcon,
|
34
|
+
replace: false,
|
35
|
+
mode: MODES.shorter
|
36
|
+
}
|
37
|
+
// {
|
38
|
+
// label: "Continue writing",
|
39
|
+
// value: "continue_writing",
|
40
|
+
// Icon: EditIcon,
|
41
|
+
// replace: false,
|
42
|
+
// },
|
43
|
+
];
|
44
|
+
|
45
|
+
export const newContentOptions = [{
|
46
|
+
group: "",
|
47
|
+
groupLabel: "",
|
48
|
+
options: [
|
49
|
+
// improveWriting,
|
50
|
+
...commonOptions.map(o => ({
|
51
|
+
...o,
|
52
|
+
replace: true
|
53
|
+
})), {
|
54
|
+
label: "Close",
|
55
|
+
value: "close",
|
56
|
+
Icon: CloseIcon,
|
57
|
+
replace: true
|
58
|
+
}]
|
59
|
+
}];
|
60
|
+
const languages = ["English", "Korean", "Chinese", "Japanese", "Russian", "French", "Portuguese", "German", "Italian", "Dutch", "Indonesian"];
|
61
|
+
const translateOptions = [{
|
62
|
+
options: languages.map(l => ({
|
63
|
+
label: l,
|
64
|
+
value: l,
|
65
|
+
replace: false,
|
66
|
+
mode: MODES.translate
|
67
|
+
}))
|
68
|
+
}];
|
69
|
+
const tones = ["Professional", "Casual", "Straightforward", "Friendly"];
|
70
|
+
const toneOptions = [{
|
71
|
+
options: tones.map(t => ({
|
72
|
+
label: t,
|
73
|
+
value: t,
|
74
|
+
replace: false,
|
75
|
+
mode: MODES.rephraseTone
|
76
|
+
}))
|
77
|
+
}];
|
78
|
+
export const editContentOptions = [{
|
79
|
+
group: "",
|
80
|
+
groupLabel: "Regenerate page",
|
81
|
+
options: [{
|
82
|
+
label: "Translate",
|
83
|
+
value: "translate",
|
84
|
+
Icon: TranslateIcon,
|
85
|
+
options: translateOptions,
|
86
|
+
replace: false
|
87
|
+
}, {
|
88
|
+
label: "Summarize",
|
89
|
+
value: "summarize",
|
90
|
+
Icon: SummarizeIcon,
|
91
|
+
replace: false,
|
92
|
+
mode: MODES.summarize
|
93
|
+
},
|
94
|
+
// {
|
95
|
+
// label: "Clarify this",
|
96
|
+
// value: "clarify",
|
97
|
+
// Icon: ClarifyIcon,
|
98
|
+
// replace: false,
|
99
|
+
// },
|
100
|
+
{
|
101
|
+
label: "Find action items",
|
102
|
+
value: "action_items",
|
103
|
+
Icon: ActionItemsIcon,
|
104
|
+
replace: false,
|
105
|
+
mode: MODES.actionItems
|
106
|
+
}]
|
107
|
+
}, {
|
108
|
+
group: "",
|
109
|
+
groupLabel: "Edit or review page",
|
110
|
+
options: [{
|
111
|
+
label: "Fix spelling & grammar",
|
112
|
+
value: "spelling_&_grammar",
|
113
|
+
Icon: BookIcon,
|
114
|
+
replace: false,
|
115
|
+
mode: MODES.grammatical
|
116
|
+
},
|
117
|
+
// { ...improveWriting, replace: false },
|
118
|
+
...commonOptions, {
|
119
|
+
label: "Change tone",
|
120
|
+
value: "change_tone",
|
121
|
+
Icon: ToneIcon,
|
122
|
+
options: toneOptions,
|
123
|
+
replace: false
|
124
|
+
}]
|
125
|
+
}];
|
126
|
+
export const generatedContentOptions = [{
|
127
|
+
group: "",
|
128
|
+
groupLabel: "",
|
129
|
+
options: [{
|
130
|
+
label: "Replace selection",
|
131
|
+
value: "replace_selection",
|
132
|
+
Icon: CheckIcon,
|
133
|
+
replace: true
|
134
|
+
}, ...commonOptions, {
|
135
|
+
label: "Try again",
|
136
|
+
value: "try_again",
|
137
|
+
Icon: TryAgainIcon,
|
138
|
+
replace: false
|
139
|
+
}, {
|
140
|
+
label: "Delete",
|
141
|
+
value: "close",
|
142
|
+
Icon: DeleteIcon,
|
143
|
+
replace: false
|
144
|
+
}]
|
145
|
+
}];
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { Box, IconButton } from "@mui/material";
|
2
|
+
import Icon from "../../../common/Icon";
|
3
|
+
import { useEditorContext } from "../../../hooks/useMouseMove";
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
+
function InfinityAITool() {
|
6
|
+
const {
|
7
|
+
setOpenAI
|
8
|
+
} = useEditorContext();
|
9
|
+
return /*#__PURE__*/_jsx(Box, {
|
10
|
+
component: "div",
|
11
|
+
children: /*#__PURE__*/_jsx(IconButton, {
|
12
|
+
onClick: () => {
|
13
|
+
const text = window.getSelection().toString().trim();
|
14
|
+
if (text) {
|
15
|
+
setOpenAI("fromToolBar");
|
16
|
+
}
|
17
|
+
},
|
18
|
+
children: /*#__PURE__*/_jsx(Icon, {
|
19
|
+
icon: "infinityIcon"
|
20
|
+
})
|
21
|
+
})
|
22
|
+
});
|
23
|
+
}
|
24
|
+
export default InfinityAITool;
|
@@ -13,6 +13,7 @@ import PopperHeader from "../PopperHeader";
|
|
13
13
|
import MiniColorPicker from "./MiniColorPicker";
|
14
14
|
import SelectAlignment from "./SelectAlignment";
|
15
15
|
import SelectFontSize from "./SelectFontSize";
|
16
|
+
import InfinityAITool from "./InfinityAITool";
|
16
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
17
18
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
18
19
|
const DEFAULT_COLOR = {
|
@@ -26,7 +27,8 @@ const MiniTextFormat = props => {
|
|
26
27
|
const {
|
27
28
|
classes,
|
28
29
|
editor,
|
29
|
-
closeMainPopup
|
30
|
+
closeMainPopup,
|
31
|
+
customProps
|
30
32
|
} = props;
|
31
33
|
const [anchorEl, setAnchorEl] = useState(null);
|
32
34
|
const open = Boolean(anchorEl);
|
@@ -48,7 +50,7 @@ const MiniTextFormat = props => {
|
|
48
50
|
xs: 12,
|
49
51
|
children: /*#__PURE__*/_jsxs("div", {
|
50
52
|
className: "toolWrapper",
|
51
|
-
children: [/*#__PURE__*/_jsx(SelectTypography, {
|
53
|
+
children: [customProps?.hideTools?.includes("infinityAI") ? null : /*#__PURE__*/_jsx(InfinityAITool, {}), /*#__PURE__*/_jsx(SelectTypography, {
|
52
54
|
classes: classes,
|
53
55
|
editor: editor,
|
54
56
|
closeMainPopup: closeMainPopup
|
@@ -2,22 +2,24 @@ import React, { useEffect, useState } from "react";
|
|
2
2
|
import { Popper, Fade, Paper } from "@mui/material";
|
3
3
|
import { Editor, Range } from "slate";
|
4
4
|
import { useSlate, useFocused } from "slate-react";
|
5
|
-
import usePopupStyle from "./PopupToolStyle";
|
6
5
|
import useDrag from "../../hooks/useDrag";
|
7
6
|
import { TableUtil } from "../../utils/table";
|
8
7
|
import useWindowResize from "../../hooks/useWindowResize";
|
9
8
|
import MiniTextFormat from "./MiniTextFormat";
|
10
9
|
import { useEditorContext } from "../../hooks/useMouseMove";
|
10
|
+
import usePopupStyles from "../PopupTool/PopupToolStyle";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
13
13
|
const PopupTool = props => {
|
14
14
|
const {
|
15
15
|
theme,
|
16
|
-
setIsTextSelected
|
16
|
+
setIsTextSelected,
|
17
|
+
customProps
|
17
18
|
} = props;
|
18
|
-
const classes =
|
19
|
+
const classes = usePopupStyles(theme);
|
19
20
|
const {
|
20
|
-
setPopupType
|
21
|
+
setPopupType,
|
22
|
+
openAI
|
21
23
|
} = useEditorContext();
|
22
24
|
const [anchorEl, setAnchorEl] = useState(null);
|
23
25
|
const [open, setOpen] = useState(false);
|
@@ -77,13 +79,14 @@ const PopupTool = props => {
|
|
77
79
|
setOpen(false);
|
78
80
|
setPopupType("");
|
79
81
|
};
|
80
|
-
return open ? /*#__PURE__*/_jsx(_Fragment, {
|
82
|
+
return open && !openAI ? /*#__PURE__*/_jsx(_Fragment, {
|
81
83
|
children: size.device === "xs" ? /*#__PURE__*/_jsx("div", {
|
82
84
|
className: "mobileMiniTextWrapper",
|
83
85
|
children: /*#__PURE__*/_jsx(MiniTextFormat, {
|
84
86
|
editor: editor,
|
85
87
|
classes: classes,
|
86
|
-
closeMainPopup: handleClose
|
88
|
+
closeMainPopup: handleClose,
|
89
|
+
customProps: customProps
|
87
90
|
})
|
88
91
|
}) : /*#__PURE__*/_jsx(Popper, {
|
89
92
|
id: id,
|
@@ -104,7 +107,8 @@ const PopupTool = props => {
|
|
104
107
|
children: /*#__PURE__*/_jsx(MiniTextFormat, {
|
105
108
|
editor: editor,
|
106
109
|
classes: classes,
|
107
|
-
closeMainPopup: handleClose
|
110
|
+
closeMainPopup: handleClose,
|
111
|
+
customProps: customProps
|
108
112
|
})
|
109
113
|
})
|
110
114
|
})
|
@@ -0,0 +1,438 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
export function TextAlignLeftIcon(props) {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "15",
|
6
|
+
height: "15",
|
7
|
+
viewBox: "0 0 15 15",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
...props,
|
11
|
+
children: [/*#__PURE__*/_jsx("path", {
|
12
|
+
d: "M1.875 2.8125H13.125",
|
13
|
+
stroke: "#9C9C9C",
|
14
|
+
strokeLinecap: "round",
|
15
|
+
strokeLinejoin: "round"
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
17
|
+
d: "M1.76465 6.17578H13.2352",
|
18
|
+
stroke: "#9C9C9C",
|
19
|
+
strokeLinecap: "round",
|
20
|
+
strokeLinejoin: "round"
|
21
|
+
}), /*#__PURE__*/_jsx("path", {
|
22
|
+
d: "M1.875 9.0625H13.125",
|
23
|
+
stroke: "#9C9C9C",
|
24
|
+
strokeLinecap: "round",
|
25
|
+
strokeLinejoin: "round"
|
26
|
+
}), /*#__PURE__*/_jsx("path", {
|
27
|
+
d: "M1.875 12.1875H7.79375",
|
28
|
+
stroke: "#9C9C9C",
|
29
|
+
strokeLinecap: "round",
|
30
|
+
strokeLinejoin: "round"
|
31
|
+
})]
|
32
|
+
});
|
33
|
+
}
|
34
|
+
export function MakeShorterIcon(props) {
|
35
|
+
return /*#__PURE__*/_jsxs("svg", {
|
36
|
+
width: "13",
|
37
|
+
height: "5",
|
38
|
+
viewBox: "0 0 13 5",
|
39
|
+
fill: "none",
|
40
|
+
xmlns: "http://www.w3.org/2000/svg",
|
41
|
+
...props,
|
42
|
+
children: [/*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M1.10938 1H12.3594",
|
44
|
+
stroke: "#9C9C9C",
|
45
|
+
strokeLinecap: "round",
|
46
|
+
strokeLinejoin: "round"
|
47
|
+
}), /*#__PURE__*/_jsx("path", {
|
48
|
+
d: "M1 4.36328H12.4706",
|
49
|
+
stroke: "#9C9C9C",
|
50
|
+
strokeLinecap: "round",
|
51
|
+
strokeLinejoin: "round"
|
52
|
+
})]
|
53
|
+
});
|
54
|
+
}
|
55
|
+
export function EditIcon(props) {
|
56
|
+
return /*#__PURE__*/_jsxs("svg", {
|
57
|
+
width: "16",
|
58
|
+
height: "16",
|
59
|
+
viewBox: "0 0 16 16",
|
60
|
+
fill: "none",
|
61
|
+
xmlns: "http://www.w3.org/2000/svg",
|
62
|
+
...props,
|
63
|
+
children: [/*#__PURE__*/_jsx("path", {
|
64
|
+
d: "M8.84006 2.4008L3.36673 8.19413C3.16006 8.41413 2.96006 8.84746 2.92006 9.14746L2.6734 11.3075C2.58673 12.0875 3.14673 12.6208 3.92006 12.4875L6.06673 12.1208C6.36673 12.0675 6.78673 11.8475 6.9934 11.6208L12.4667 5.82746C13.4134 4.82746 13.8401 3.68746 12.3667 2.29413C10.9001 0.914129 9.78673 1.4008 8.84006 2.4008Z",
|
65
|
+
stroke: "#9C9C9C",
|
66
|
+
strokeMiterlimit: "10",
|
67
|
+
strokeLinecap: "round",
|
68
|
+
strokeLinejoin: "round"
|
69
|
+
}), /*#__PURE__*/_jsx("path", {
|
70
|
+
d: "M7.92676 3.36719C8.21342 5.20719 9.70676 6.61385 11.5601 6.80052",
|
71
|
+
stroke: "#9C9C9C",
|
72
|
+
strokeMiterlimit: "10",
|
73
|
+
strokeLinecap: "round",
|
74
|
+
strokeLinejoin: "round"
|
75
|
+
}), /*#__PURE__*/_jsx("path", {
|
76
|
+
d: "M2 14.668H14",
|
77
|
+
stroke: "#9C9C9C",
|
78
|
+
strokeMiterlimit: "10",
|
79
|
+
strokeLinecap: "round",
|
80
|
+
strokeLinejoin: "round"
|
81
|
+
})]
|
82
|
+
});
|
83
|
+
}
|
84
|
+
export function BookIcon(props) {
|
85
|
+
return /*#__PURE__*/_jsxs("svg", {
|
86
|
+
width: "17",
|
87
|
+
height: "17",
|
88
|
+
viewBox: "0 0 17 17",
|
89
|
+
fill: "none",
|
90
|
+
xmlns: "http://www.w3.org/2000/svg",
|
91
|
+
children: [/*#__PURE__*/_jsx("path", {
|
92
|
+
d: "M15.5834 11.8583V3.30876C15.5834 2.45876 14.8892 1.82835 14.0463 1.89918H14.0038C12.5163 2.02668 10.2567 2.7846 8.99592 3.57793L8.8755 3.65585C8.67008 3.78335 8.33008 3.78335 8.12467 3.65585L7.94758 3.5496C6.68675 2.76335 4.43425 2.01251 2.94675 1.8921C2.10383 1.82126 1.41675 2.45876 1.41675 3.30168V11.8583C1.41675 12.5383 1.96925 13.1758 2.64925 13.2608L2.85466 13.2892C4.39175 13.4946 6.76467 14.2738 8.12467 15.0175L8.153 15.0317C8.34425 15.1379 8.64883 15.1379 8.833 15.0317C10.193 14.2808 12.573 13.4946 14.1172 13.2892L14.3509 13.2608C15.0309 13.1758 15.5834 12.5383 15.5834 11.8583Z",
|
93
|
+
stroke: "#9C9C9C",
|
94
|
+
strokeLinecap: "round",
|
95
|
+
strokeLinejoin: "round"
|
96
|
+
}), /*#__PURE__*/_jsx("path", {
|
97
|
+
d: "M8.5 3.89062V14.5156",
|
98
|
+
stroke: "#9C9C9C",
|
99
|
+
strokeLinecap: "round",
|
100
|
+
strokeLinejoin: "round"
|
101
|
+
}), /*#__PURE__*/_jsx("path", {
|
102
|
+
d: "M5.4895 6.01562H3.89575",
|
103
|
+
stroke: "#9C9C9C",
|
104
|
+
strokeLinecap: "round",
|
105
|
+
strokeLinejoin: "round"
|
106
|
+
}), /*#__PURE__*/_jsx("path", {
|
107
|
+
d: "M6.02075 8.14062H3.89575",
|
108
|
+
stroke: "#9C9C9C",
|
109
|
+
strokeLinecap: "round",
|
110
|
+
strokeLinejoin: "round",
|
111
|
+
...props
|
112
|
+
})]
|
113
|
+
});
|
114
|
+
}
|
115
|
+
export function CloseIcon(props) {
|
116
|
+
return /*#__PURE__*/_jsxs("svg", {
|
117
|
+
width: "19",
|
118
|
+
height: "19",
|
119
|
+
viewBox: "0 0 19 19",
|
120
|
+
fill: "none",
|
121
|
+
xmlns: "http://www.w3.org/2000/svg",
|
122
|
+
...props,
|
123
|
+
children: [/*#__PURE__*/_jsx("path", {
|
124
|
+
d: "M9.49992 17.4154C13.8541 17.4154 17.4166 13.8529 17.4166 9.4987C17.4166 5.14453 13.8541 1.58203 9.49992 1.58203C5.14575 1.58203 1.58325 5.14453 1.58325 9.4987C1.58325 13.8529 5.14575 17.4154 9.49992 17.4154Z",
|
125
|
+
stroke: "#9C9C9C",
|
126
|
+
strokeWidth: "1.5",
|
127
|
+
strokeLinecap: "round",
|
128
|
+
strokeLinejoin: "round"
|
129
|
+
}), /*#__PURE__*/_jsx("path", {
|
130
|
+
d: "M7.25952 11.7386L11.7404 7.25781",
|
131
|
+
stroke: "#9C9C9C",
|
132
|
+
strokeWidth: "1.5",
|
133
|
+
strokeLinecap: "round",
|
134
|
+
strokeLinejoin: "round"
|
135
|
+
}), /*#__PURE__*/_jsx("path", {
|
136
|
+
d: "M11.7404 11.7386L7.25952 7.25781",
|
137
|
+
stroke: "#9C9C9C",
|
138
|
+
strokeWidth: "1.5",
|
139
|
+
strokeLinecap: "round",
|
140
|
+
strokeLinejoin: "round"
|
141
|
+
})]
|
142
|
+
});
|
143
|
+
}
|
144
|
+
export function SummarizeIcon(props) {
|
145
|
+
return /*#__PURE__*/_jsxs("svg", {
|
146
|
+
width: "18",
|
147
|
+
height: "18",
|
148
|
+
viewBox: "0 0 18 18",
|
149
|
+
fill: "none",
|
150
|
+
xmlns: "http://www.w3.org/2000/svg",
|
151
|
+
...props,
|
152
|
+
children: [/*#__PURE__*/_jsx("path", {
|
153
|
+
d: "M10.5 3.375H15.75",
|
154
|
+
stroke: "#9C9C9C",
|
155
|
+
strokeLinecap: "round",
|
156
|
+
strokeLinejoin: "round"
|
157
|
+
}), /*#__PURE__*/_jsx("path", {
|
158
|
+
d: "M10.5 7.125H15.75",
|
159
|
+
stroke: "#9C9C9C",
|
160
|
+
strokeLinecap: "round",
|
161
|
+
strokeLinejoin: "round"
|
162
|
+
}), /*#__PURE__*/_jsx("path", {
|
163
|
+
d: "M2.25 10.875H15.75",
|
164
|
+
stroke: "#9C9C9C",
|
165
|
+
strokeLinecap: "round",
|
166
|
+
strokeLinejoin: "round"
|
167
|
+
}), /*#__PURE__*/_jsx("path", {
|
168
|
+
d: "M2.25 14.625H15.75",
|
169
|
+
stroke: "#9C9C9C",
|
170
|
+
strokeLinecap: "round",
|
171
|
+
strokeLinejoin: "round"
|
172
|
+
}), /*#__PURE__*/_jsx("path", {
|
173
|
+
d: "M7.125 6.3225V4.1775C7.125 3.3375 6.7875 3 5.94 3H3.8025C2.9625 3 2.625 3.3375 2.625 4.1775V6.315C2.625 7.1625 2.9625 7.5 3.8025 7.5H5.94C6.7875 7.5 7.125 7.1625 7.125 6.3225Z",
|
174
|
+
stroke: "#9C9C9C",
|
175
|
+
strokeLinecap: "round",
|
176
|
+
strokeLinejoin: "round"
|
177
|
+
})]
|
178
|
+
});
|
179
|
+
}
|
180
|
+
export function ActionItemsIcon(props) {
|
181
|
+
return /*#__PURE__*/_jsxs("svg", {
|
182
|
+
width: "18",
|
183
|
+
height: "18",
|
184
|
+
viewBox: "0 0 18 18",
|
185
|
+
fill: "none",
|
186
|
+
xmlns: "http://www.w3.org/2000/svg",
|
187
|
+
...props,
|
188
|
+
children: [/*#__PURE__*/_jsx("path", {
|
189
|
+
d: "M8.25 14.625H15.75",
|
190
|
+
stroke: "#9C9C9C",
|
191
|
+
strokeLinecap: "round",
|
192
|
+
strokeLinejoin: "round"
|
193
|
+
}), /*#__PURE__*/_jsx("path", {
|
194
|
+
d: "M8.25 9.375H15.75",
|
195
|
+
stroke: "#9C9C9C",
|
196
|
+
strokeLinecap: "round",
|
197
|
+
strokeLinejoin: "round"
|
198
|
+
}), /*#__PURE__*/_jsx("path", {
|
199
|
+
d: "M8.25 4.125H15.75",
|
200
|
+
stroke: "#9C9C9C",
|
201
|
+
strokeLinecap: "round",
|
202
|
+
strokeLinejoin: "round"
|
203
|
+
}), /*#__PURE__*/_jsx("path", {
|
204
|
+
d: "M2.25 4.125L3 4.875L5.25 2.625",
|
205
|
+
stroke: "#9C9C9C",
|
206
|
+
strokeLinecap: "round",
|
207
|
+
strokeLinejoin: "round"
|
208
|
+
}), /*#__PURE__*/_jsx("path", {
|
209
|
+
d: "M2.25 9.375L3 10.125L5.25 7.875",
|
210
|
+
stroke: "#9C9C9C",
|
211
|
+
strokeLinecap: "round",
|
212
|
+
strokeLinejoin: "round"
|
213
|
+
}), /*#__PURE__*/_jsx("path", {
|
214
|
+
d: "M2.25 14.625L3 15.375L5.25 13.125",
|
215
|
+
stroke: "#9C9C9C",
|
216
|
+
strokeLinecap: "round",
|
217
|
+
strokeLinejoin: "round"
|
218
|
+
})]
|
219
|
+
});
|
220
|
+
}
|
221
|
+
export function TranslateIcon(props) {
|
222
|
+
return /*#__PURE__*/_jsxs("svg", {
|
223
|
+
width: "17",
|
224
|
+
height: "17",
|
225
|
+
viewBox: "0 0 17 17",
|
226
|
+
fill: "none",
|
227
|
+
xmlns: "http://www.w3.org/2000/svg",
|
228
|
+
...props,
|
229
|
+
children: [/*#__PURE__*/_jsx("path", {
|
230
|
+
d: "M12.7066 13.4443L11.2799 10.5977L9.85327 13.4443",
|
231
|
+
stroke: "#9C9C9C",
|
232
|
+
strokeWidth: "0.5",
|
233
|
+
strokeLinecap: "round",
|
234
|
+
strokeLinejoin: "round"
|
235
|
+
}), /*#__PURE__*/_jsx("path", {
|
236
|
+
d: "M10.1133 12.9375H12.46",
|
237
|
+
stroke: "#9C9C9C",
|
238
|
+
strokeWidth: "0.5",
|
239
|
+
strokeLinecap: "round",
|
240
|
+
strokeLinejoin: "round"
|
241
|
+
}), /*#__PURE__*/_jsx("path", {
|
242
|
+
d: "M11.28 15.6678C9.41331 15.6678 7.89331 14.1545 7.89331 12.2812C7.89331 10.4145 9.40665 8.89453 11.28 8.89453C13.1466 8.89453 14.6666 10.4078 14.6666 12.2812C14.6666 14.1545 13.1533 15.6678 11.28 15.6678Z",
|
243
|
+
stroke: "#9C9C9C",
|
244
|
+
strokeLinecap: "round",
|
245
|
+
strokeLinejoin: "round"
|
246
|
+
}), /*#__PURE__*/_jsx("path", {
|
247
|
+
d: "M3.34659 2.33203H5.95992C7.33992 2.33203 8.00659 2.99871 7.97326 4.34538V6.9587C8.00659 8.3387 7.33992 9.00538 5.95992 8.97205H3.34659C1.99992 8.99871 1.33325 8.33203 1.33325 6.95203V4.3387C1.33325 2.9987 1.99992 2.33203 3.34659 2.33203Z",
|
248
|
+
stroke: "#9C9C9C",
|
249
|
+
strokeLinecap: "round",
|
250
|
+
strokeLinejoin: "round"
|
251
|
+
}), /*#__PURE__*/_jsx("path", {
|
252
|
+
d: "M6.00647 4.89844H3.2998",
|
253
|
+
stroke: "#9C9C9C",
|
254
|
+
strokeWidth: "0.5",
|
255
|
+
strokeLinecap: "round",
|
256
|
+
strokeLinejoin: "round"
|
257
|
+
}), /*#__PURE__*/_jsx("path", {
|
258
|
+
d: "M4.64648 4V4.6",
|
259
|
+
stroke: "#9C9C9C",
|
260
|
+
strokeWidth: "0.5",
|
261
|
+
strokeLinecap: "round",
|
262
|
+
strokeLinejoin: "round"
|
263
|
+
}), /*#__PURE__*/_jsx("path", {
|
264
|
+
d: "M5.32655 4.89062C5.32655 6.05729 4.41321 7.00395 3.29321 7.00395",
|
265
|
+
stroke: "#9C9C9C",
|
266
|
+
strokeWidth: "0.5",
|
267
|
+
strokeLinecap: "round",
|
268
|
+
strokeLinejoin: "round"
|
269
|
+
}), /*#__PURE__*/_jsx("path", {
|
270
|
+
d: "M6.00652 7.00537C5.51985 7.00537 5.07986 6.74536 4.77319 6.33203",
|
271
|
+
stroke: "#9C9C9C",
|
272
|
+
strokeWidth: "0.5",
|
273
|
+
strokeLinecap: "round",
|
274
|
+
strokeLinejoin: "round"
|
275
|
+
}), /*#__PURE__*/_jsx("path", {
|
276
|
+
d: "M1.33325 11C1.33325 13.58 3.41992 15.6667 5.99992 15.6667L5.29992 14.5",
|
277
|
+
stroke: "#9C9C9C",
|
278
|
+
strokeLinecap: "round",
|
279
|
+
strokeLinejoin: "round"
|
280
|
+
}), /*#__PURE__*/_jsx("path", {
|
281
|
+
d: "M14.6667 6.9987C14.6667 4.4187 12.58 2.33203 10 2.33203L10.7 3.4987",
|
282
|
+
stroke: "#9C9C9C",
|
283
|
+
strokeLinecap: "round",
|
284
|
+
strokeLinejoin: "round"
|
285
|
+
})]
|
286
|
+
});
|
287
|
+
}
|
288
|
+
export function ToneIcon(props) {
|
289
|
+
return /*#__PURE__*/_jsxs("svg", {
|
290
|
+
width: "16",
|
291
|
+
height: "16",
|
292
|
+
viewBox: "0 0 16 16",
|
293
|
+
fill: "none",
|
294
|
+
xmlns: "http://www.w3.org/2000/svg",
|
295
|
+
...props,
|
296
|
+
children: [/*#__PURE__*/_jsx("path", {
|
297
|
+
d: "M14.5399 2.62658C13.5133 5.18658 10.9399 8.66658 8.7866 10.3933L7.47327 11.4466C7.3066 11.5666 7.13993 11.6733 6.95327 11.7466C6.95327 11.6266 6.9466 11.4933 6.9266 11.3666C6.85327 10.8066 6.59993 10.2866 6.15326 9.83992C5.69993 9.38658 5.1466 9.11992 4.57993 9.04658C4.4466 9.03992 4.31326 9.02658 4.17993 9.03992C4.25326 8.83325 4.3666 8.63992 4.5066 8.47992L5.5466 7.16658C7.2666 5.01325 10.7599 2.42658 13.3133 1.40658C13.7066 1.25992 14.0866 1.36658 14.3266 1.61325C14.5799 1.85992 14.6999 2.23992 14.5399 2.62658Z",
|
298
|
+
stroke: "#9C9C9C",
|
299
|
+
strokeLinecap: "round",
|
300
|
+
strokeLinejoin: "round"
|
301
|
+
}), /*#__PURE__*/_jsx("path", {
|
302
|
+
d: "M6.95343 11.7485C6.95343 12.4818 6.67343 13.1818 6.14677 13.7152C5.7401 14.1218 5.18677 14.4018 4.52677 14.4885L2.88677 14.6685C1.99343 14.7685 1.22677 14.0085 1.33343 13.1018L1.51343 11.4618C1.67343 10.0018 2.89343 9.06849 4.18677 9.04182C4.3201 9.03516 4.4601 9.04182 4.58677 9.04849C5.15343 9.12182 5.70677 9.38182 6.1601 9.84182C6.60677 10.2885 6.8601 10.8085 6.93343 11.3685C6.9401 11.4952 6.95343 11.6218 6.95343 11.7485Z",
|
303
|
+
stroke: "#9C9C9C",
|
304
|
+
strokeLinecap: "round",
|
305
|
+
strokeLinejoin: "round"
|
306
|
+
}), /*#__PURE__*/_jsx("path", {
|
307
|
+
d: "M9.49342 9.64552C9.49342 7.90552 8.08009 6.49219 6.34009 6.49219",
|
308
|
+
stroke: "#9C9C9C",
|
309
|
+
strokeLinecap: "round",
|
310
|
+
strokeLinejoin: "round"
|
311
|
+
}), /*#__PURE__*/_jsx("path", {
|
312
|
+
d: "M13.4133 8.48828L13.9066 8.97495C14.9 9.96828 14.9 10.9483 13.9066 11.9416L11.9333 13.9149C10.9533 14.8949 9.95998 14.8949 8.97998 13.9149",
|
313
|
+
stroke: "#9C9C9C",
|
314
|
+
strokeLinecap: "round"
|
315
|
+
}), /*#__PURE__*/_jsx("path", {
|
316
|
+
d: "M2.07338 7.00703C1.09338 6.0137 1.09338 5.0337 2.07338 4.04036L4.04671 2.06703C5.02671 1.08703 6.02005 1.08703 7.00005 2.06703L7.49338 2.56036",
|
317
|
+
stroke: "#9C9C9C",
|
318
|
+
strokeLinecap: "round"
|
319
|
+
}), /*#__PURE__*/_jsx("path", {
|
320
|
+
d: "M7.50011 2.56641L5.03345 5.03307",
|
321
|
+
stroke: "#9C9C9C",
|
322
|
+
strokeLinecap: "round"
|
323
|
+
}), /*#__PURE__*/_jsx("path", {
|
324
|
+
d: "M13.4133 8.48828L11.4399 10.4549",
|
325
|
+
stroke: "#9C9C9C",
|
326
|
+
strokeLinecap: "round"
|
327
|
+
})]
|
328
|
+
});
|
329
|
+
}
|
330
|
+
export function ClarifyIcon(props) {
|
331
|
+
return /*#__PURE__*/_jsxs("svg", {
|
332
|
+
width: "18",
|
333
|
+
height: "18",
|
334
|
+
viewBox: "0 0 18 18",
|
335
|
+
fill: "none",
|
336
|
+
xmlns: "http://www.w3.org/2000/svg",
|
337
|
+
...props,
|
338
|
+
children: [/*#__PURE__*/_jsx("path", {
|
339
|
+
d: "M12.75 12.8243H9.75L6.41249 15.0442C5.91749 15.3742 5.25 15.0218 5.25 14.4218V12.8243C3 12.8243 1.5 11.3243 1.5 9.07426V4.57422C1.5 2.32422 3 0.824219 5.25 0.824219H12.75C15 0.824219 16.5 2.32422 16.5 4.57422V9.07426C16.5 11.3243 15 12.8243 12.75 12.8243Z",
|
340
|
+
stroke: "#9C9C9C",
|
341
|
+
strokeMiterlimit: "10",
|
342
|
+
strokeLinecap: "round",
|
343
|
+
strokeLinejoin: "round"
|
344
|
+
}), /*#__PURE__*/_jsx("path", {
|
345
|
+
d: "M9.00011 7.51953V7.36206C9.00011 6.85206 9.31513 6.58205 9.63013 6.36455C9.93763 6.15455 10.2451 5.88456 10.2451 5.38956C10.2451 4.69956 9.69011 4.14453 9.00011 4.14453C8.31011 4.14453 7.75513 4.69956 7.75513 5.38956",
|
346
|
+
stroke: "#9C9C9C",
|
347
|
+
strokeLinecap: "round",
|
348
|
+
strokeLinejoin: "round"
|
349
|
+
}), /*#__PURE__*/_jsx("path", {
|
350
|
+
d: "M8.99662 9.3125H9.00337",
|
351
|
+
stroke: "#9C9C9C",
|
352
|
+
strokeLinecap: "round",
|
353
|
+
strokeLinejoin: "round"
|
354
|
+
})]
|
355
|
+
});
|
356
|
+
}
|
357
|
+
export function CheckIcon(props) {
|
358
|
+
return /*#__PURE__*/_jsx("svg", {
|
359
|
+
width: "14",
|
360
|
+
height: "10",
|
361
|
+
viewBox: "0 0 14 10",
|
362
|
+
fill: "none",
|
363
|
+
xmlns: "http://www.w3.org/2000/svg",
|
364
|
+
...props,
|
365
|
+
children: /*#__PURE__*/_jsx("path", {
|
366
|
+
d: "M1 5L4.99529 9L13 1",
|
367
|
+
stroke: "#9C9C9C",
|
368
|
+
strokeWidth: "1.5",
|
369
|
+
strokeLinecap: "round",
|
370
|
+
strokeLinejoin: "round"
|
371
|
+
})
|
372
|
+
});
|
373
|
+
}
|
374
|
+
export function TryAgainIcon(props) {
|
375
|
+
return /*#__PURE__*/_jsxs("svg", {
|
376
|
+
width: "24",
|
377
|
+
height: "24",
|
378
|
+
viewBox: "0 0 24 24",
|
379
|
+
fill: "none",
|
380
|
+
xmlns: "http://www.w3.org/2000/svg",
|
381
|
+
...props,
|
382
|
+
children: [/*#__PURE__*/_jsx("path", {
|
383
|
+
d: "M7.13086 18.3086H15.1309C17.8909 18.3086 20.1309 16.0686 20.1309 13.3086C20.1309 10.5486 17.8909 8.30859 15.1309 8.30859H4.13086",
|
384
|
+
stroke: "#9C9C9C",
|
385
|
+
strokeWidth: "1.5",
|
386
|
+
strokeMiterlimit: "10",
|
387
|
+
strokeLinecap: "round",
|
388
|
+
strokeLinejoin: "round"
|
389
|
+
}), /*#__PURE__*/_jsx("path", {
|
390
|
+
d: "M6.42914 10.8114L3.86914 8.25141L6.42914 5.69141",
|
391
|
+
stroke: "#9C9C9C",
|
392
|
+
strokeWidth: "1.5",
|
393
|
+
strokeLinecap: "round",
|
394
|
+
strokeLinejoin: "round"
|
395
|
+
})]
|
396
|
+
});
|
397
|
+
}
|
398
|
+
export function DeleteIcon(props) {
|
399
|
+
return /*#__PURE__*/_jsxs("svg", {
|
400
|
+
width: "19",
|
401
|
+
height: "19",
|
402
|
+
viewBox: "0 0 19 19",
|
403
|
+
fill: "none",
|
404
|
+
xmlns: "http://www.w3.org/2000/svg",
|
405
|
+
...props,
|
406
|
+
children: [/*#__PURE__*/_jsx("path", {
|
407
|
+
d: "M16.625 4.73568C13.9888 4.47443 11.3367 4.33984 8.6925 4.33984C7.125 4.33984 5.5575 4.41901 3.99 4.57734L2.375 4.73568",
|
408
|
+
stroke: "#9C9C9C",
|
409
|
+
strokeWidth: "1.5",
|
410
|
+
strokeLinecap: "round",
|
411
|
+
strokeLinejoin: "round"
|
412
|
+
}), /*#__PURE__*/_jsx("path", {
|
413
|
+
d: "M6.72852 3.93328L6.90268 2.8962C7.02935 2.14411 7.12435 1.58203 8.46227 1.58203H10.5364C11.8743 1.58203 11.9773 2.17578 12.096 2.90411L12.2702 3.93328",
|
414
|
+
stroke: "#9C9C9C",
|
415
|
+
strokeWidth: "1.5",
|
416
|
+
strokeLinecap: "round",
|
417
|
+
strokeLinejoin: "round"
|
418
|
+
}), /*#__PURE__*/_jsx("path", {
|
419
|
+
d: "M14.922 7.23438L14.4074 15.2065C14.3203 16.4494 14.2491 17.4152 12.0403 17.4152H6.95784C4.74909 17.4152 4.67784 16.4494 4.59076 15.2065L4.07617 7.23438",
|
420
|
+
stroke: "#9C9C9C",
|
421
|
+
strokeWidth: "1.5",
|
422
|
+
strokeLinecap: "round",
|
423
|
+
strokeLinejoin: "round"
|
424
|
+
}), /*#__PURE__*/_jsx("path", {
|
425
|
+
d: "M8.17773 13.0625H10.814",
|
426
|
+
stroke: "#9C9C9C",
|
427
|
+
strokeWidth: "1.5",
|
428
|
+
strokeLinecap: "round",
|
429
|
+
strokeLinejoin: "round"
|
430
|
+
}), /*#__PURE__*/_jsx("path", {
|
431
|
+
d: "M7.52148 9.89453H11.4798",
|
432
|
+
stroke: "#9C9C9C",
|
433
|
+
strokeWidth: "1.5",
|
434
|
+
strokeLinecap: "round",
|
435
|
+
strokeLinejoin: "round"
|
436
|
+
})]
|
437
|
+
});
|
438
|
+
}
|