@flozy/editor 5.3.6 → 5.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/Editor/ChatEditor.js +34 -25
  2. package/dist/Editor/CommonEditor.js +8 -16
  3. package/dist/Editor/Editor.css +11 -57
  4. package/dist/Editor/Elements/AI/AIInput.js +1 -0
  5. package/dist/Editor/Elements/AI/CustomSelect.js +11 -19
  6. package/dist/Editor/Elements/AI/PopoverAIInput.js +4 -9
  7. package/dist/Editor/Elements/AI/Styles.js +5 -17
  8. package/dist/Editor/Elements/Carousel/CarouselItem.js +3 -11
  9. package/dist/Editor/Elements/Color Picker/ColorButtons.js +3 -3
  10. package/dist/Editor/Elements/Color Picker/Styles.js +3 -7
  11. package/dist/Editor/Elements/Color Picker/defaultColors.js +2 -2
  12. package/dist/Editor/Elements/Divider/Divider.js +15 -16
  13. package/dist/Editor/Elements/Embed/Image.js +7 -23
  14. package/dist/Editor/Elements/Embed/Video.js +1 -13
  15. package/dist/Editor/Elements/Form/Form.js +2 -38
  16. package/dist/Editor/Elements/Form/FormElements/FormCheckbox.js +1 -7
  17. package/dist/Editor/Elements/Form/FormElements/FormDate.js +1 -7
  18. package/dist/Editor/Elements/Form/FormElements/FormEmail.js +1 -7
  19. package/dist/Editor/Elements/Form/FormElements/FormNumbers.js +1 -7
  20. package/dist/Editor/Elements/Form/FormElements/FormRadioButton.js +1 -7
  21. package/dist/Editor/Elements/Form/FormElements/FormText.js +1 -7
  22. package/dist/Editor/Elements/Form/FormElements/FormTextArea.js +1 -6
  23. package/dist/Editor/Elements/Form/FormPopup.js +9 -12
  24. package/dist/Editor/Elements/FreeGrid/FreeGrid.js +1 -1
  25. package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +1 -20
  26. package/dist/Editor/Elements/Grid/GridButton.js +2 -2
  27. package/dist/Editor/Elements/Grid/GridItem.js +36 -45
  28. package/dist/Editor/Elements/Grid/Styles.js +0 -6
  29. package/dist/Editor/Elements/Link/LinkButton.js +1 -1
  30. package/dist/Editor/Elements/Search/SearchButton.js +0 -1
  31. package/dist/Editor/Elements/Signature/Signature.css +1 -1
  32. package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -2
  33. package/dist/Editor/Elements/Signature/SignaturePopup.js +48 -13
  34. package/dist/Editor/Elements/SimpleText/style.js +0 -10
  35. package/dist/Editor/Elements/Table/Styles.js +79 -82
  36. package/dist/Editor/Elements/Table/Table.js +140 -260
  37. package/dist/Editor/Elements/Table/TableCell.js +103 -362
  38. package/dist/Editor/Elements/Table/TablePopup.js +3 -9
  39. package/dist/Editor/Elements/Table/TableRow.js +2 -10
  40. package/dist/Editor/Styles/EditorStyles.js +1 -8
  41. package/dist/Editor/Toolbar/FormatTools/BlockButton.js +0 -10
  42. package/dist/Editor/Toolbar/FormatTools/Dropdown.js +12 -7
  43. package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +4 -10
  44. package/dist/Editor/Toolbar/FormatTools/MarkButton.js +0 -3
  45. package/dist/Editor/Toolbar/FormatTools/TextSize.js +2 -0
  46. package/dist/Editor/Toolbar/Mini/MiniToolbar.js +6 -3
  47. package/dist/Editor/Toolbar/Mini/Styles.js +1 -4
  48. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +3 -3
  49. package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +15 -19
  50. package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +49 -409
  51. package/dist/Editor/Toolbar/PopupTool/TextFormat.js +8 -17
  52. package/dist/Editor/Toolbar/PopupTool/index.js +5 -3
  53. package/dist/Editor/assets/svg/BrainIcon.js +2 -2
  54. package/dist/Editor/common/ColorPickerButton.js +44 -82
  55. package/dist/Editor/common/Icon.js +20 -17
  56. package/dist/Editor/common/LinkSettings/NavComponents.js +1 -2
  57. package/dist/Editor/common/LinkSettings/index.js +1 -2
  58. package/dist/Editor/common/MentionsPopup/Styles.js +8 -156
  59. package/dist/Editor/common/MentionsPopup/index.js +1 -1
  60. package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +12 -107
  61. package/dist/Editor/common/RnD/VirtualElement/index.js +1 -5
  62. package/dist/Editor/common/RnD/index.js +1 -1
  63. package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +4 -8
  64. package/dist/Editor/common/StyleBuilder/fieldTypes/radiusStyle.js +7 -7
  65. package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +2 -5
  66. package/dist/Editor/common/StyleBuilder/formStyle.js +149 -268
  67. package/dist/Editor/common/StyleBuilder/index.js +11 -84
  68. package/dist/Editor/common/StyleBuilder/tableStyle.js +25 -69
  69. package/dist/Editor/common/SwipeableDrawer/style.js +4 -15
  70. package/dist/Editor/common/iconListV2.js +40 -378
  71. package/dist/Editor/common/iconslist.js +14 -17
  72. package/dist/Editor/commonStyle.js +10 -130
  73. package/dist/Editor/helper/deserialize/index.js +20 -27
  74. package/dist/Editor/helper/index.js +1 -1
  75. package/dist/Editor/plugins/withCustomDeleteBackward.js +2 -3
  76. package/dist/Editor/plugins/withHTML.js +10 -61
  77. package/dist/Editor/plugins/withLayout.js +0 -1
  78. package/dist/Editor/utils/SlateUtilityFunctions.js +0 -2
  79. package/dist/Editor/utils/brains.js +1 -1
  80. package/dist/Editor/utils/chatEditor/SlateUtilityFunctions.js +1 -26
  81. package/dist/Editor/utils/customHooks/useResize.js +4 -7
  82. package/dist/Editor/utils/customHooks/useTableResize.js +2 -6
  83. package/dist/Editor/utils/embed.js +1 -2
  84. package/dist/Editor/utils/events.js +1 -0
  85. package/dist/Editor/utils/font.js +4 -11
  86. package/dist/Editor/utils/formfield.js +4 -8
  87. package/dist/Editor/utils/helper.js +2 -55
  88. package/dist/Editor/utils/insertNewLine.js +1 -19
  89. package/dist/Editor/utils/serializeToText.js +0 -2
  90. package/dist/Editor/utils/table.js +24 -228
  91. package/package.json +1 -1
  92. package/dist/Editor/Elements/Table/AddRowCol.js +0 -77
  93. package/dist/Editor/Elements/Table/DragButton.js +0 -142
  94. package/dist/Editor/Elements/Table/DragStyles.js +0 -70
  95. package/dist/Editor/Elements/Table/Draggable.js +0 -25
  96. package/dist/Editor/Elements/Table/Droppable.js +0 -53
  97. package/dist/Editor/Elements/Table/TableTool.js +0 -101
  98. package/dist/Editor/Elements/Table/tableHelper.js +0 -71
  99. package/dist/Editor/assets/svg/TableIcons.js +0 -220
  100. package/dist/Editor/common/Select/index.js +0 -20
  101. package/dist/Editor/common/Select/styles.js +0 -17
  102. package/dist/Editor/hooks/useTable.js +0 -207
@@ -1,142 +0,0 @@
1
- import { Box, ClickAwayListener, Fade, IconButton, Paper, Popper } from "@mui/material";
2
- import DragStyles from "./DragStyles";
3
- import { DragIcon } from "../../common/iconListV2";
4
- import { useEditorContext } from "../../hooks/useMouseMove";
5
- import { useRef, useState } from "react";
6
- import { TableToolOnDrag } from "./TableTool";
7
- import Draggable from "./Draggable";
8
- import SwipeableDrawerComponent from "../../common/SwipeableDrawer";
9
- import { jsx as _jsx } from "react/jsx-runtime";
10
- import { Fragment as _Fragment } from "react/jsx-runtime";
11
- import { jsxs as _jsxs } from "react/jsx-runtime";
12
- function DragButton({
13
- anchorEl,
14
- placement,
15
- dragType,
16
- onDrag = () => {},
17
- handleToolAction,
18
- hideDelete,
19
- className = "",
20
- customProps,
21
- dndProps,
22
- resetSelection,
23
- show
24
- }) {
25
- const {
26
- theme
27
- } = useEditorContext();
28
- const classes = DragStyles(theme);
29
- const dragElement = useRef(null);
30
- const [showTool, setShowTool] = useState(false);
31
- const {
32
- isMobile
33
- } = customProps || {};
34
- const onDragClick = () => {
35
- onDrag();
36
- setShowTool(true);
37
- };
38
- const onDragClose = () => {
39
- setShowTool(false);
40
- setTimeout(() => resetSelection(), 200);
41
- };
42
- const dragProps = {
43
- ...dndProps,
44
- id: dndProps?.id + dragType,
45
- disabled: isMobile,
46
- data: {
47
- ...dndProps.data,
48
- dragType
49
- }
50
- };
51
- const handleAction = (value, option, dragType) => {
52
- const omitValues = ["delete"];
53
- if (!omitValues.includes(value)) {
54
- setShowTool(false);
55
- }
56
- handleToolAction(value, option, dragType);
57
- };
58
- const commonToolProps = {
59
- theme,
60
- dragType,
61
- hideDelete,
62
- handleToolAction: (value, option, dragType) => {
63
- handleAction(value, option, dragType);
64
- }
65
- };
66
- return /*#__PURE__*/_jsx(_Fragment, {
67
- children: show || showTool ? /*#__PURE__*/_jsxs(_Fragment, {
68
- children: [/*#__PURE__*/_jsx(Popper, {
69
- sx: classes.popper,
70
- open: Boolean(anchorEl),
71
- anchorEl: anchorEl,
72
- placement: placement || "left",
73
- transition: true,
74
- contentEditable: false,
75
- ref: dragElement,
76
- modifiers: [{
77
- name: "offset",
78
- options: {
79
- offset: [0, -12]
80
- }
81
- }, {
82
- name: "flip",
83
- enabled: false // Disable dynamic flipping
84
- }],
85
-
86
- disablePortal: dragType !== "row",
87
- className: `${className}`,
88
- children: ({
89
- TransitionProps
90
- }) => /*#__PURE__*/_jsx(Fade, {
91
- ...TransitionProps,
92
- timeout: 350,
93
- children: /*#__PURE__*/_jsx("div", {
94
- children: /*#__PURE__*/_jsx(Draggable, {
95
- ...dragProps,
96
- children: /*#__PURE__*/_jsx(Paper, {
97
- sx: dragType === "row" ? {
98
- transform: "rotate(90deg)"
99
- } : {},
100
- className: `${showTool ? "active" : ""}`,
101
- style: {
102
- lineHeight: 0
103
- },
104
- children: /*#__PURE__*/_jsx(IconButton, {
105
- onClick: () => {
106
- onDragClick();
107
- },
108
- children: /*#__PURE__*/_jsx(DragIcon, {})
109
- })
110
- })
111
- })
112
- })
113
- })
114
- }), isMobile ? /*#__PURE__*/_jsx(SwipeableDrawerComponent, {
115
- open: showTool,
116
- onClose: onDragClose,
117
- swipeableDrawer: true,
118
- children: /*#__PURE__*/_jsx(Box, {
119
- sx: classes.mobileToolDrawer,
120
- children: /*#__PURE__*/_jsx(TableToolOnDrag, {
121
- ...commonToolProps
122
- })
123
- })
124
- }) : /*#__PURE__*/_jsx(Popper, {
125
- open: showTool,
126
- anchorEl: dragElement?.current,
127
- contentEditable: false,
128
- sx: classes.toolPopper,
129
- placement: dragType === "row" ? "bottom-start" : "right-start",
130
- children: /*#__PURE__*/_jsx(ClickAwayListener, {
131
- onClickAway: onDragClose,
132
- children: /*#__PURE__*/_jsx("div", {
133
- children: /*#__PURE__*/_jsx(TableToolOnDrag, {
134
- ...commonToolProps
135
- })
136
- })
137
- })
138
- })]
139
- }) : null
140
- });
141
- }
142
- export default DragButton;
@@ -1,70 +0,0 @@
1
- const DragStyles = theme => {
2
- const {
3
- containers,
4
- editor
5
- } = theme?.palette || {};
6
- const {
7
- buttonBorder,
8
- background,
9
- activeColor,
10
- signaturePopUpTabButtonSelectedBg,
11
- signaturePopUpTabButtonSelectedSvg
12
- } = editor || {};
13
- const onDragActive = {
14
- outline: `1.5px solid ${activeColor || "#2563EB"}`,
15
- background: `${signaturePopUpTabButtonSelectedBg} !important`,
16
- "& svg ellipse": {
17
- fill: `${signaturePopUpTabButtonSelectedSvg}`
18
- }
19
- };
20
- return {
21
- popper: {
22
- zIndex: 1000,
23
- "& .MuiPaper-root": {
24
- borderRadius: "3px !important",
25
- outline: `1.5px solid ${buttonBorder}`,
26
- backgroundColor: `${background}`,
27
- "&:hover": onDragActive,
28
- "&.active": onDragActive
29
- },
30
- "& .MuiIconButton-root": {
31
- padding: "4px 6px",
32
- borderRadius: "none",
33
- "& .dragIcon": {
34
- width: "14px",
35
- height: "10px"
36
- },
37
- "&:hover": {
38
- background: "none"
39
- }
40
- }
41
- },
42
- toolPopper: {
43
- zIndex: 4001,
44
- "& .MuiPaper-root": {
45
- borderRadius: "8px"
46
- }
47
- },
48
- mobileToolDrawer: {
49
- "& .customSelectContainer": {
50
- border: "none !important",
51
- padding: "0px !important",
52
- boxShadow: "none !important"
53
- }
54
- },
55
- drawerContainer: {
56
- "&.MuiDrawer-root": {
57
- zIndex: 1301
58
- },
59
- "& .MuiDrawer-paper": {
60
- borderTopLeftRadius: 8,
61
- borderTopRightRadius: 8,
62
- backgroundColor: containers?.card
63
- },
64
- "& .customSelectContainer": {
65
- border: "none"
66
- }
67
- }
68
- };
69
- };
70
- export default DragStyles;
@@ -1,25 +0,0 @@
1
- import { useDraggable } from "@dnd-kit/core";
2
- import { Box } from "@mui/material";
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- function Draggable(props) {
5
- const {
6
- attributes,
7
- listeners,
8
- setNodeRef,
9
- transform
10
- } = useDraggable(props);
11
- const {
12
- dragType
13
- } = props?.data || {};
14
- const style = transform ? {
15
- transform: dragType === "row" ? `translate3d(0, ${transform.y}px, 0)` : `translate3d(${transform.x}px, 0, 0)`
16
- } : undefined;
17
- return /*#__PURE__*/_jsx(Box, {
18
- style: style,
19
- ref: setNodeRef,
20
- ...listeners,
21
- ...attributes,
22
- children: props.children
23
- });
24
- }
25
- export default Draggable;
@@ -1,53 +0,0 @@
1
- import { useDroppable } from "@dnd-kit/core";
2
- import { Box } from "@mui/material";
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { Fragment as _Fragment } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
- function getStyle(dragType, isOver, tableDOM) {
7
- const style = {};
8
- const borderStyle = "4px solid #2563EB";
9
- if (isOver) {
10
- const {
11
- width,
12
- height
13
- } = tableDOM.getBoundingClientRect();
14
- if (dragType === "row") {
15
- style.borderTop = borderStyle;
16
- style.width = width;
17
- } else if (dragType === "col") {
18
- style.borderLeft = borderStyle;
19
- style.height = height;
20
- }
21
- }
22
- return style;
23
- }
24
- export function Droppable(props) {
25
- const {
26
- dragType,
27
- tableDOM,
28
- ...rest
29
- } = props;
30
- const {
31
- isOver,
32
- setNodeRef
33
- } = useDroppable(rest);
34
- return /*#__PURE__*/_jsxs(_Fragment, {
35
- children: [/*#__PURE__*/_jsx(Box, {
36
- ref: setNodeRef,
37
- sx: {
38
- position: "absolute",
39
- top: 0,
40
- left: 0,
41
- width: "100%",
42
- height: "100%"
43
- }
44
- }), isOver ? /*#__PURE__*/_jsx(Box, {
45
- sx: {
46
- position: "absolute",
47
- top: 0,
48
- left: 0,
49
- ...getStyle(dragType, isOver, tableDOM)
50
- }
51
- }) : null]
52
- });
53
- }
@@ -1,101 +0,0 @@
1
- import CustomSelect from "../AI/CustomSelect";
2
- import Styles from "../AI/Styles";
3
- import { CloseIcon, DeleteIcon } from "../../assets/svg/AIIcons";
4
- import { AboveArrow, BelowArrow, DuplicateIcon, LeftArrow, PaintIcon, RightArrow } from "../../assets/svg/TableIcons";
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- const wholeTableTools = [{
7
- group: "",
8
- groupLabel: "",
9
- options: [{
10
- label: "Duplicate",
11
- value: "duplicate",
12
- Icon: DuplicateIcon
13
- }, {
14
- label: "Delete",
15
- value: "delete",
16
- Icon: DeleteIcon
17
- }]
18
- }];
19
- const insertColOptions = [{
20
- label: "Insert Right",
21
- value: "insertRight",
22
- Icon: RightArrow
23
- }, {
24
- label: "Insert Left",
25
- value: "insertLeft",
26
- Icon: LeftArrow
27
- }];
28
- const insertRowOptions = [{
29
- label: "Insert Above",
30
- value: "insertAbove",
31
- Icon: AboveArrow,
32
- replace: false
33
- }, {
34
- label: "Insert Below",
35
- value: "insertBelow",
36
- Icon: BelowArrow,
37
- replace: false
38
- }];
39
- function getTools(dragType, hideDelete) {
40
- const insertOptions = dragType === "col" ? insertColOptions : insertRowOptions;
41
- const deleteOption = hideDelete ? [] : [{
42
- label: "Delete",
43
- value: "delete",
44
- Icon: DeleteIcon,
45
- replace: false
46
- }];
47
- let tools = [{
48
- group: "",
49
- groupLabel: "",
50
- options: [{
51
- label: "Color",
52
- value: "color",
53
- Icon: PaintIcon
54
- }, {
55
- label: "Duplicate",
56
- value: "duplicate",
57
- Icon: DuplicateIcon
58
- }, ...insertOptions, {
59
- label: "Clear Contents",
60
- value: "clear",
61
- Icon: CloseIcon
62
- }, ...deleteOption]
63
- }];
64
- return tools;
65
- }
66
- export function TableToolOnDrag({
67
- theme,
68
- dragType,
69
- handleToolAction,
70
- hideDelete
71
- }) {
72
- const classes = Styles(theme);
73
- const tools = getTools(dragType, hideDelete);
74
- return /*#__PURE__*/_jsx(CustomSelect, {
75
- classes: classes,
76
- show: true,
77
- options: tools,
78
- onSend: (value, option) => {
79
- handleToolAction(value, option, dragType);
80
- },
81
- btnProps: {
82
- onMouseDown: e => e.stopPropagation(),
83
- onMouseUp: e => e.stopPropagation()
84
- }
85
- });
86
- }
87
- function TableTool({
88
- theme,
89
- handleToolAction
90
- }) {
91
- const classes = Styles(theme);
92
- return /*#__PURE__*/_jsx(CustomSelect, {
93
- classes: classes,
94
- show: true,
95
- options: wholeTableTools,
96
- onSend: (value, option) => {
97
- handleToolAction(value, option);
98
- }
99
- });
100
- }
101
- export default TableTool;
@@ -1,71 +0,0 @@
1
- import { getNode } from "../../utils/helper";
2
- import { serializeToText } from "../../utils/serializeToText";
3
- export const getRectangleBounds = tableSelection => {
4
- const {
5
- startCellPath,
6
- endCellPath
7
- } = tableSelection;
8
- if (!startCellPath?.length) return [];
9
- const startPath = startCellPath.slice(0, -2);
10
- const startCell = startCellPath.slice(-2);
11
- const endCell = endCellPath.slice(-2);
12
- const [startRow, startCol] = startCell;
13
- const [endRow, endCol] = endCell?.length ? endCell : startCell;
14
- const minRow = Math.min(startRow, endRow);
15
- const maxRow = Math.max(startRow, endRow);
16
- const minCol = Math.min(startCol, endCol);
17
- const maxCol = Math.max(startCol, endCol);
18
- const selectedPaths = [];
19
- for (let row = minRow; row <= maxRow; row++) {
20
- for (let col = minCol; col <= maxCol; col++) {
21
- selectedPaths.push([...startPath, row, col]);
22
- }
23
- }
24
- return selectedPaths;
25
- };
26
- export const createCopiedTableStructure = (editor, tableSelection, currentTableNode, tablePath) => {
27
- const selectedCells = getRectangleBounds(tableSelection);
28
- const formattedCells = selectedCells.map(cell => cell.slice(-2));
29
- const tableChild = [];
30
- const rowIndexes = [...new Set(formattedCells.map(cell => cell[0]))];
31
- rowIndexes.forEach((rowIndex, row_i) => {
32
- const row = {
33
- type: "table-row",
34
- children: []
35
- };
36
-
37
- // Filter cells that belong to the current row
38
- const cellsInRow = formattedCells.filter(cell => cell[0] === rowIndex);
39
-
40
- // Iterate over the columns of the row to create table cells
41
- const columnIndexes = [...new Set(cellsInRow.map(cell => cell[1]))];
42
- columnIndexes.forEach((columnIndex, col_i) => {
43
- const cellPath = [...tablePath, rowIndex, columnIndex];
44
- const columnNode = getNode(editor, cellPath);
45
- row.children.push(columnNode);
46
- });
47
- tableChild.push(row);
48
- });
49
- const table = {
50
- ...currentTableNode,
51
- children: tableChild,
52
- rows: rowIndexes?.length,
53
- columns: tableChild[0]?.children?.length // first row's children length
54
- };
55
-
56
- return table;
57
- };
58
- export const tableNodeToDom = tableNode => {
59
- const tableEle = document.createElement("table");
60
- tableNode.children?.forEach(row => {
61
- const rowEle = document.createElement("tr");
62
- row?.children?.forEach(cell => {
63
- const cellEle = document.createElement("td");
64
- const cellText = serializeToText(cell);
65
- cellEle.innerHTML = cellText;
66
- rowEle.appendChild(cellEle);
67
- });
68
- tableEle.appendChild(rowEle);
69
- });
70
- return tableEle;
71
- };
@@ -1,220 +0,0 @@
1
- import React from "react";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { jsxs as _jsxs } from "react/jsx-runtime";
4
- export function PaintIcon() {
5
- return /*#__PURE__*/_jsxs("svg", {
6
- width: "22",
7
- height: "22",
8
- viewBox: "0 0 22 22",
9
- fill: "none",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- children: [/*#__PURE__*/_jsx("path", {
12
- d: "M6.42594 16.4984L2.75011 12.8226C1.52177 11.5943 1.52177 10.3751 2.75011 9.14676L8.87344 3.02344L15.6109 9.76097C15.9501 10.1001 15.9501 10.6501 15.6109 10.9893L10.0926 16.5076C8.88261 17.7176 7.65427 17.7176 6.42594 16.4984Z",
13
- stroke: "#64748B",
14
- strokeWidth: "1.5",
15
- strokeMiterlimit: "10",
16
- strokeLinecap: "round",
17
- strokeLinejoin: "round"
18
- }), /*#__PURE__*/_jsx("path", {
19
- d: "M7.65405 1.78906L8.88239 3.01736",
20
- stroke: "#64748B",
21
- strokeWidth: "1.5",
22
- strokeMiterlimit: "10",
23
- strokeLinecap: "round",
24
- strokeLinejoin: "round"
25
- }), /*#__PURE__*/_jsx("path", {
26
- d: "M1.89746 10.9253L15.7575 10.3203",
27
- stroke: "#64748B",
28
- strokeWidth: "1.5",
29
- strokeMiterlimit: "10",
30
- strokeLinecap: "round",
31
- strokeLinejoin: "round"
32
- }), /*#__PURE__*/_jsx("path", {
33
- d: "M2.75 20.168H14.6667",
34
- stroke: "#64748B",
35
- strokeWidth: "1.5",
36
- strokeMiterlimit: "10",
37
- strokeLinecap: "round",
38
- strokeLinejoin: "round"
39
- }), /*#__PURE__*/_jsx("path", {
40
- d: "M17.2791 13.75C17.2791 13.75 15.5833 15.5925 15.5833 16.72C15.5833 17.655 16.3441 18.4158 17.2791 18.4158C18.2141 18.4158 18.9749 17.655 18.9749 16.72C18.9749 15.5925 17.2791 13.75 17.2791 13.75Z",
41
- stroke: "#64748B",
42
- strokeWidth: "1.5",
43
- strokeLinecap: "round",
44
- strokeLinejoin: "round"
45
- })]
46
- });
47
- }
48
- export function DuplicateIcon() {
49
- return /*#__PURE__*/_jsxs("svg", {
50
- width: "19",
51
- height: "19",
52
- viewBox: "0 0 19 19",
53
- fill: "none",
54
- xmlns: "http://www.w3.org/2000/svg",
55
- children: [/*#__PURE__*/_jsx("path", {
56
- d: "M12.6666 10.2112V13.5362C12.6666 16.307 11.5583 17.4154 8.78742 17.4154H5.46242C2.69159 17.4154 1.58325 16.307 1.58325 13.5362V10.2112C1.58325 7.44036 2.69159 6.33203 5.46242 6.33203H8.78742C11.5583 6.33203 12.6666 7.44036 12.6666 10.2112Z",
57
- stroke: "#64748B",
58
- strokeWidth: "1.5",
59
- strokeLinecap: "round",
60
- strokeLinejoin: "round"
61
- }), /*#__PURE__*/_jsx("path", {
62
- d: "M17.4166 5.4612V8.7862C17.4166 11.557 16.3083 12.6654 13.5374 12.6654H12.6666V10.2112C12.6666 7.44036 11.5583 6.33203 8.78742 6.33203H6.33325V5.4612C6.33325 2.69036 7.44158 1.58203 10.2124 1.58203H13.5374C16.3083 1.58203 17.4166 2.69036 17.4166 5.4612Z",
63
- stroke: "#64748B",
64
- strokeWidth: "1.5",
65
- strokeLinecap: "round",
66
- strokeLinejoin: "round"
67
- })]
68
- });
69
- }
70
- export function AboveArrow() {
71
- return /*#__PURE__*/_jsxs("svg", {
72
- width: "22",
73
- height: "22",
74
- viewBox: "0 0 22 22",
75
- fill: "none",
76
- xmlns: "http://www.w3.org/2000/svg",
77
- children: [/*#__PURE__*/_jsx("path", {
78
- d: "M16.5642 8.77344L11 3.20927L5.43588 8.77344",
79
- stroke: "#64748B",
80
- strokeWidth: "1.5",
81
- strokeMiterlimit: "10",
82
- strokeLinecap: "round",
83
- strokeLinejoin: "round"
84
- }), /*#__PURE__*/_jsx("path", {
85
- d: "M11 18.793L11 3.36547",
86
- stroke: "#64748B",
87
- strokeWidth: "1.5",
88
- strokeMiterlimit: "10",
89
- strokeLinecap: "round",
90
- strokeLinejoin: "round"
91
- })]
92
- });
93
- }
94
- export function BelowArrow() {
95
- return /*#__PURE__*/_jsxs("svg", {
96
- width: "22",
97
- height: "22",
98
- viewBox: "0 0 22 22",
99
- fill: "none",
100
- xmlns: "http://www.w3.org/2000/svg",
101
- children: [/*#__PURE__*/_jsx("path", {
102
- d: "M16.5642 13.2266L11 18.7907L5.43588 13.2266",
103
- stroke: "#64748B",
104
- strokeWidth: "1.5",
105
- strokeMiterlimit: "10",
106
- strokeLinecap: "round",
107
- strokeLinejoin: "round"
108
- }), /*#__PURE__*/_jsx("path", {
109
- d: "M11 3.20703L11 18.6345",
110
- stroke: "#64748B",
111
- strokeWidth: "1.5",
112
- strokeMiterlimit: "10",
113
- strokeLinecap: "round",
114
- strokeLinejoin: "round"
115
- })]
116
- });
117
- }
118
- export function RightArrow() {
119
- return /*#__PURE__*/_jsxs("svg", {
120
- width: "22",
121
- height: "22",
122
- viewBox: "0 0 22 22",
123
- fill: "none",
124
- xmlns: "http://www.w3.org/2000/svg",
125
- children: [/*#__PURE__*/_jsx("path", {
126
- d: "M13.2275 16.5625L18.7917 10.9983L13.2275 5.43417",
127
- stroke: "#64748B",
128
- strokeWidth: "1.5",
129
- strokeMiterlimit: "10",
130
- strokeLinecap: "round",
131
- strokeLinejoin: "round"
132
- }), /*#__PURE__*/_jsx("path", {
133
- d: "M3.20825 11H18.6358",
134
- stroke: "#64748B",
135
- strokeWidth: "1.5",
136
- strokeMiterlimit: "10",
137
- strokeLinecap: "round",
138
- strokeLinejoin: "round"
139
- })]
140
- });
141
- }
142
- export function LeftArrow() {
143
- return /*#__PURE__*/_jsxs("svg", {
144
- width: "22",
145
- height: "22",
146
- viewBox: "0 0 22 22",
147
- fill: "none",
148
- xmlns: "http://www.w3.org/2000/svg",
149
- children: [/*#__PURE__*/_jsx("path", {
150
- d: "M8.77246 16.5625L3.20829 10.9983L8.77246 5.43417",
151
- stroke: "#64748B",
152
- strokeWidth: "1.5",
153
- strokeMiterlimit: "10",
154
- strokeLinecap: "round",
155
- strokeLinejoin: "round"
156
- }), /*#__PURE__*/_jsx("path", {
157
- d: "M18.7917 11L3.36425 11",
158
- stroke: "#64748B",
159
- strokeWidth: "1.5",
160
- strokeMiterlimit: "10",
161
- strokeLinecap: "round",
162
- strokeLinejoin: "round"
163
- })]
164
- });
165
- }
166
- export function SettingsIcon() {
167
- return /*#__PURE__*/_jsxs("svg", {
168
- width: "20",
169
- height: "20",
170
- viewBox: "0 0 20 20",
171
- fill: "none",
172
- xmlns: "http://www.w3.org/2000/svg",
173
- children: [/*#__PURE__*/_jsx("path", {
174
- d: "M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",
175
- stroke: "#0F172A",
176
- strokeWidth: "1.5",
177
- strokeMiterlimit: "10",
178
- strokeLinecap: "round",
179
- strokeLinejoin: "round"
180
- }), /*#__PURE__*/_jsx("path", {
181
- d: "M1.66675 10.7339V9.26718C1.66675 8.40052 2.37508 7.68385 3.25008 7.68385C4.75841 7.68385 5.37508 6.61718 4.61675 5.30885C4.18341 4.55885 4.44175 3.58385 5.20008 3.15052L6.64175 2.32552C7.30008 1.93385 8.15008 2.16718 8.54175 2.82552L8.63341 2.98385C9.38341 4.29218 10.6167 4.29218 11.3751 2.98385L11.4667 2.82552C11.8584 2.16718 12.7084 1.93385 13.3667 2.32552L14.8084 3.15052C15.5667 3.58385 15.8251 4.55885 15.3917 5.30885C14.6334 6.61718 15.2501 7.68385 16.7584 7.68385C17.6251 7.68385 18.3417 8.39218 18.3417 9.26718V10.7339C18.3417 11.6005 17.6334 12.3172 16.7584 12.3172C15.2501 12.3172 14.6334 13.3838 15.3917 14.6922C15.8251 15.4505 15.5667 16.4172 14.8084 16.8505L13.3667 17.6755C12.7084 18.0672 11.8584 17.8339 11.4667 17.1755L11.3751 17.0172C10.6251 15.7089 9.39175 15.7089 8.63341 17.0172L8.54175 17.1755C8.15008 17.8339 7.30008 18.0672 6.64175 17.6755L5.20008 16.8505C4.44175 16.4172 4.18341 15.4422 4.61675 14.6922C5.37508 13.3838 4.75841 12.3172 3.25008 12.3172C2.37508 12.3172 1.66675 11.6005 1.66675 10.7339Z",
182
- stroke: "#0F172A",
183
- strokeWidth: "1.5",
184
- strokeMiterlimit: "10",
185
- strokeLinecap: "round",
186
- strokeLinejoin: "round"
187
- })]
188
- });
189
- }
190
- export function MoreIcon() {
191
- return /*#__PURE__*/_jsxs("svg", {
192
- width: "18",
193
- height: "4",
194
- viewBox: "0 0 18 4",
195
- fill: "none",
196
- xmlns: "http://www.w3.org/2000/svg",
197
- children: [/*#__PURE__*/_jsx("path", {
198
- d: "M9.99846 2.00034C9.99846 1.44825 9.55081 1.00069 8.99862 1.00069C8.44642 1.00069 7.99878 1.44825 7.99878 2.00034C7.99878 2.55244 8.44642 3 8.99862 3C9.55081 3 9.99846 2.55244 9.99846 2.00034Z",
199
- fill: "#0F172A",
200
- stroke: "#0F172A",
201
- strokeWidth: "1.5",
202
- strokeLinecap: "round",
203
- strokeLinejoin: "round"
204
- }), /*#__PURE__*/_jsx("path", {
205
- d: "M16.9972 2.00034C16.9972 1.44825 16.5496 1.00069 15.9974 1.00069C15.4452 1.00069 14.9976 1.44825 14.9976 2.00034C14.9976 2.55244 15.4452 3 15.9974 3C16.5496 3 16.9972 2.55244 16.9972 2.00034Z",
206
- fill: "#0F172A",
207
- stroke: "#0F172A",
208
- strokeWidth: "1.5",
209
- strokeLinecap: "round",
210
- strokeLinejoin: "round"
211
- }), /*#__PURE__*/_jsx("path", {
212
- d: "M2.99968 2.00034C2.99968 1.44825 2.55203 1.00069 1.99984 1.00069C1.44764 1.00069 1 1.44825 1 2.00034C1 2.55244 1.44764 3 1.99984 3C2.55203 3 2.99968 2.55244 2.99968 2.00034Z",
213
- fill: "#0F172A",
214
- stroke: "#0F172A",
215
- strokeWidth: "1.5",
216
- strokeLinecap: "round",
217
- strokeLinejoin: "round"
218
- })]
219
- });
220
- }