@flozy/editor 5.1.2 → 5.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Editor/ChatEditor.js +34 -25
- package/dist/Editor/CommonEditor.js +7 -13
- package/dist/Editor/Editor.css +10 -52
- package/dist/Editor/Elements/AI/AIInput.js +1 -0
- package/dist/Editor/Elements/AI/CustomSelect.js +10 -17
- package/dist/Editor/Elements/AI/Styles.js +1 -7
- package/dist/Editor/Elements/Button/EditorButton.js +1 -0
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +5 -7
- package/dist/Editor/Elements/Color Picker/Styles.js +3 -7
- package/dist/Editor/Elements/Color Picker/defaultColors.js +2 -2
- package/dist/Editor/Elements/Form/Form.js +2 -38
- package/dist/Editor/Elements/Form/FormElements/FormCheckbox.js +1 -7
- package/dist/Editor/Elements/Form/FormElements/FormDate.js +1 -7
- package/dist/Editor/Elements/Form/FormElements/FormEmail.js +1 -7
- package/dist/Editor/Elements/Form/FormElements/FormNumbers.js +1 -7
- package/dist/Editor/Elements/Form/FormElements/FormRadioButton.js +1 -7
- package/dist/Editor/Elements/Form/FormElements/FormText.js +1 -7
- package/dist/Editor/Elements/Form/FormElements/FormTextArea.js +1 -6
- package/dist/Editor/Elements/Form/FormPopup.js +9 -12
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +1 -1
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +1 -20
- package/dist/Editor/Elements/Grid/GridButton.js +1 -2
- package/dist/Editor/Elements/Grid/GridItem.js +2 -3
- package/dist/Editor/Elements/Grid/Styles.js +3 -0
- package/dist/Editor/Elements/Link/LinkButton.js +1 -1
- package/dist/Editor/Elements/Signature/Signature.css +1 -1
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -2
- package/dist/Editor/Elements/Signature/SignaturePopup.js +48 -13
- package/dist/Editor/Elements/SimpleText/index.js +1 -8
- package/dist/Editor/Elements/SimpleText/style.js +1 -8
- package/dist/Editor/Elements/Table/Styles.js +43 -25
- package/dist/Editor/Elements/Table/Table.js +138 -206
- package/dist/Editor/Elements/Table/TableCell.js +102 -355
- package/dist/Editor/Elements/Table/TablePopup.js +3 -9
- package/dist/Editor/Elements/Table/TableRow.js +2 -10
- package/dist/Editor/Styles/EditorStyles.js +1 -3
- package/dist/Editor/Toolbar/FormatTools/BlockButton.js +0 -10
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +11 -7
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +4 -10
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +0 -3
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +2 -0
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +6 -3
- package/dist/Editor/Toolbar/Mini/Styles.js +1 -4
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +3 -3
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +11 -16
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +49 -416
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +8 -62
- package/dist/Editor/Toolbar/PopupTool/index.js +6 -5
- package/dist/Editor/Toolbar/Toolbar.js +0 -6
- package/dist/Editor/Toolbar/toolbarGroups.js +0 -4
- package/dist/Editor/assets/svg/BrainIcon.js +2 -2
- package/dist/Editor/common/ColorPickerButton.js +2 -3
- package/dist/Editor/common/FontLoader/FontLoader.js +4 -4
- package/dist/Editor/common/Icon.js +23 -24
- package/dist/Editor/common/LinkSettings/NavComponents.js +1 -2
- package/dist/Editor/common/LinkSettings/index.js +1 -2
- package/dist/Editor/common/MentionsPopup/Styles.js +3 -151
- package/dist/Editor/common/MentionsPopup/index.js +1 -1
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +12 -108
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +2 -14
- package/dist/Editor/common/Shorthands/elements.js +1 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +0 -5
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +2 -10
- package/dist/Editor/common/StyleBuilder/fieldTypes/index.js +1 -3
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +2 -5
- package/dist/Editor/common/StyleBuilder/formStyle.js +149 -268
- package/dist/Editor/common/StyleBuilder/index.js +11 -84
- package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +0 -4
- package/dist/Editor/common/StyleBuilder/tableStyle.js +25 -69
- package/dist/Editor/common/Uploader.js +0 -8
- package/dist/Editor/common/iconListV2.js +40 -378
- package/dist/Editor/common/iconslist.js +5 -8
- package/dist/Editor/commonStyle.js +9 -117
- package/dist/Editor/helper/deserialize/index.js +1 -4
- package/dist/Editor/helper/index.js +2 -2
- package/dist/Editor/helper/theme.js +1 -24
- package/dist/Editor/hooks/useMouseMove.js +2 -5
- package/dist/Editor/plugins/withCustomDeleteBackward.js +2 -3
- package/dist/Editor/plugins/withHTML.js +1 -17
- package/dist/Editor/plugins/withLayout.js +1 -48
- package/dist/Editor/utils/SlateUtilityFunctions.js +0 -18
- package/dist/Editor/utils/chatEditor/SlateUtilityFunctions.js +0 -21
- package/dist/Editor/utils/embed.js +1 -2
- package/dist/Editor/utils/events.js +1 -0
- package/dist/Editor/utils/font.js +4 -11
- package/dist/Editor/utils/formfield.js +4 -8
- package/dist/Editor/utils/helper.js +1 -34
- package/dist/Editor/utils/insertNewLine.js +1 -19
- package/dist/Editor/utils/pageSettings.js +2 -14
- package/dist/Editor/utils/serializeToText.js +0 -2
- package/dist/Editor/utils/table.js +24 -228
- package/package.json +1 -1
- package/dist/Editor/Elements/DataView/DataView.js +0 -101
- package/dist/Editor/Elements/DataView/DataViewButton.js +0 -23
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +0 -59
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/CheckType.js +0 -30
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/Select.js +0 -140
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/SimpleSelect.js +0 -40
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/styles.js +0 -59
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/DateType.js +0 -26
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +0 -38
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/NumberType.js +0 -30
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/PersonType.js +0 -30
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/SelectType.js +0 -35
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/TextType.js +0 -36
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/index.js +0 -17
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseField.js +0 -29
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseSort.js +0 -38
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/index.js +0 -74
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/index.js +0 -64
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/styles.js +0 -106
- package/dist/Editor/Elements/DataView/Layouts/FilterView.js +0 -174
- package/dist/Editor/Elements/DataView/Layouts/Formula.js +0 -29
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +0 -113
- package/dist/Editor/Elements/DataView/Layouts/Options/AddProperty.js +0 -37
- package/dist/Editor/Elements/DataView/Layouts/Options/AllProperties.js +0 -111
- package/dist/Editor/Elements/DataView/Layouts/Options/ChangeProperty.js +0 -62
- package/dist/Editor/Elements/DataView/Layouts/Options/ColumnsList.js +0 -36
- package/dist/Editor/Elements/DataView/Layouts/Options/Constants.js +0 -101
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +0 -160
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +0 -190
- package/dist/Editor/Elements/DataView/Layouts/Options/FilterProperty.js +0 -42
- package/dist/Editor/Elements/DataView/Layouts/Options/PropertyList.js +0 -30
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +0 -110
- package/dist/Editor/Elements/DataView/Layouts/Options/styles.js +0 -179
- package/dist/Editor/Elements/DataView/Layouts/TableStyles.js +0 -100
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +0 -227
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +0 -70
- package/dist/Editor/Elements/DataView/Layouts/index.js +0 -25
- package/dist/Editor/Elements/DataView/Providers/DataViewProvider.js +0 -288
- package/dist/Editor/Elements/DataView/Utils/globalSearch.js +0 -15
- package/dist/Editor/Elements/DataView/Utils/multiSortRows.js +0 -72
- package/dist/Editor/Elements/DataView/styles.js +0 -143
- package/dist/Editor/Elements/Table/AddRowCol.js +0 -77
- package/dist/Editor/Elements/Table/DragButton.js +0 -141
- package/dist/Editor/Elements/Table/DragStyles.js +0 -69
- package/dist/Editor/Elements/Table/Draggable.js +0 -25
- package/dist/Editor/Elements/Table/Droppable.js +0 -53
- package/dist/Editor/Elements/Table/TableTool.js +0 -101
- package/dist/Editor/Elements/Table/tableHelper.js +0 -71
- package/dist/Editor/assets/svg/TableIcons.js +0 -220
- package/dist/Editor/common/Select/index.js +0 -20
- package/dist/Editor/common/Select/styles.js +0 -17
- package/dist/Editor/common/StyleBuilder/fieldTypes/lineSpacing.js +0 -79
- package/dist/Editor/hooks/useTable.js +0 -175
- package/dist/Editor/utils/dataView.js +0 -43
|
@@ -1,141 +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
|
-
data: {
|
|
46
|
-
...dndProps.data,
|
|
47
|
-
dragType
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
const handleAction = (value, option, dragType) => {
|
|
51
|
-
const omitValues = ["delete"];
|
|
52
|
-
if (!omitValues.includes(value)) {
|
|
53
|
-
setShowTool(false);
|
|
54
|
-
}
|
|
55
|
-
handleToolAction(value, option, dragType);
|
|
56
|
-
};
|
|
57
|
-
const commonToolProps = {
|
|
58
|
-
theme,
|
|
59
|
-
dragType,
|
|
60
|
-
hideDelete,
|
|
61
|
-
handleToolAction: (value, option, dragType) => {
|
|
62
|
-
handleAction(value, option, dragType);
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
return /*#__PURE__*/_jsx(_Fragment, {
|
|
66
|
-
children: show || showTool ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
67
|
-
children: [/*#__PURE__*/_jsx(Popper, {
|
|
68
|
-
sx: classes.popper,
|
|
69
|
-
open: Boolean(anchorEl),
|
|
70
|
-
anchorEl: anchorEl,
|
|
71
|
-
placement: placement || "left",
|
|
72
|
-
transition: true,
|
|
73
|
-
contentEditable: false,
|
|
74
|
-
ref: dragElement,
|
|
75
|
-
modifiers: [{
|
|
76
|
-
name: "offset",
|
|
77
|
-
options: {
|
|
78
|
-
offset: [0, -12]
|
|
79
|
-
}
|
|
80
|
-
}, {
|
|
81
|
-
name: "flip",
|
|
82
|
-
enabled: false // Disable dynamic flipping
|
|
83
|
-
}],
|
|
84
|
-
|
|
85
|
-
disablePortal: dragType !== "row",
|
|
86
|
-
className: `${className}`,
|
|
87
|
-
children: ({
|
|
88
|
-
TransitionProps
|
|
89
|
-
}) => /*#__PURE__*/_jsx(Fade, {
|
|
90
|
-
...TransitionProps,
|
|
91
|
-
timeout: 350,
|
|
92
|
-
children: /*#__PURE__*/_jsx("div", {
|
|
93
|
-
children: /*#__PURE__*/_jsx(Draggable, {
|
|
94
|
-
...dragProps,
|
|
95
|
-
children: /*#__PURE__*/_jsx(Paper, {
|
|
96
|
-
sx: dragType === "row" ? {
|
|
97
|
-
transform: "rotate(90deg)"
|
|
98
|
-
} : {},
|
|
99
|
-
className: `${showTool ? "active" : ""}`,
|
|
100
|
-
style: {
|
|
101
|
-
lineHeight: 0
|
|
102
|
-
},
|
|
103
|
-
children: /*#__PURE__*/_jsx(IconButton, {
|
|
104
|
-
onClick: () => {
|
|
105
|
-
onDragClick();
|
|
106
|
-
},
|
|
107
|
-
children: /*#__PURE__*/_jsx(DragIcon, {})
|
|
108
|
-
})
|
|
109
|
-
})
|
|
110
|
-
})
|
|
111
|
-
})
|
|
112
|
-
})
|
|
113
|
-
}), isMobile ? /*#__PURE__*/_jsx(SwipeableDrawerComponent, {
|
|
114
|
-
open: showTool,
|
|
115
|
-
onClose: onDragClose,
|
|
116
|
-
swipeableDrawer: true,
|
|
117
|
-
children: /*#__PURE__*/_jsx(Box, {
|
|
118
|
-
sx: classes.mobileToolDrawer,
|
|
119
|
-
children: /*#__PURE__*/_jsx(TableToolOnDrag, {
|
|
120
|
-
...commonToolProps
|
|
121
|
-
})
|
|
122
|
-
})
|
|
123
|
-
}) : /*#__PURE__*/_jsx(Popper, {
|
|
124
|
-
open: showTool,
|
|
125
|
-
anchorEl: dragElement?.current,
|
|
126
|
-
contentEditable: false,
|
|
127
|
-
sx: classes.toolPopper,
|
|
128
|
-
placement: dragType === "row" ? "bottom-start" : "right-start",
|
|
129
|
-
children: /*#__PURE__*/_jsx(ClickAwayListener, {
|
|
130
|
-
onClickAway: onDragClose,
|
|
131
|
-
children: /*#__PURE__*/_jsx("div", {
|
|
132
|
-
children: /*#__PURE__*/_jsx(TableToolOnDrag, {
|
|
133
|
-
...commonToolProps
|
|
134
|
-
})
|
|
135
|
-
})
|
|
136
|
-
})
|
|
137
|
-
})]
|
|
138
|
-
}) : null
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
export default DragButton;
|
|
@@ -1,69 +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
|
-
}
|
|
53
|
-
},
|
|
54
|
-
drawerContainer: {
|
|
55
|
-
"&.MuiDrawer-root": {
|
|
56
|
-
zIndex: 1301
|
|
57
|
-
},
|
|
58
|
-
"& .MuiDrawer-paper": {
|
|
59
|
-
borderTopLeftRadius: 8,
|
|
60
|
-
borderTopRightRadius: 8,
|
|
61
|
-
backgroundColor: containers?.card
|
|
62
|
-
},
|
|
63
|
-
"& .customSelectContainer": {
|
|
64
|
-
border: "none"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
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
|
-
}
|