@flozy/editor 5.4.5 → 5.4.7
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/Elements/AI/PopoverAIInput.js +3 -3
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +22 -6
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/Select.js +24 -6
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/SimpleSelect.js +16 -1
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/styles.js +2 -1
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/index.js +17 -5
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/styles.js +38 -11
- package/dist/Editor/Elements/DataView/Layouts/FilterView.js +55 -15
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +7 -7
- package/dist/Editor/Elements/DataView/Layouts/Options/AllProperties.js +11 -2
- package/dist/Editor/Elements/DataView/Layouts/Options/ChangeProperty.js +4 -2
- package/dist/Editor/Elements/DataView/Layouts/Options/ColumnsList.js +5 -2
- package/dist/Editor/Elements/DataView/Layouts/Options/Constants.js +21 -21
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +7 -4
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +49 -21
- package/dist/Editor/Elements/DataView/Layouts/Options/FilterProperty.js +4 -2
- package/dist/Editor/Elements/DataView/Layouts/Options/PropertyList.js +4 -2
- package/dist/Editor/Elements/DataView/Layouts/Options/styles.js +51 -16
- package/dist/Editor/Elements/DataView/Layouts/TableStyles.js +22 -3
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +39 -13
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +5 -0
- package/dist/Editor/Elements/DataView/styles.js +20 -5
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +5 -2
- package/dist/Editor/Toolbar/Mini/Styles.js +5 -0
- package/dist/Editor/assets/svg/ArrowDownIcon.js +25 -0
- package/dist/Editor/assets/svg/ArrowUpIcon.js +25 -0
- package/dist/Editor/assets/svg/CalenderIconTick.js +64 -0
- package/dist/Editor/assets/svg/ChervDown.js +18 -0
- package/dist/Editor/assets/svg/ChervUp.js +18 -0
- package/dist/Editor/assets/svg/DataTableIcon.js +50 -0
- package/dist/Editor/assets/svg/DuplicateIcon.js +23 -0
- package/dist/Editor/assets/svg/EyeIcon.js +23 -0
- package/dist/Editor/assets/svg/EyeSlash.js +43 -0
- package/dist/Editor/assets/svg/HashtagIcon.js +33 -0
- package/dist/Editor/assets/svg/PlusIcon.js +23 -0
- package/dist/Editor/assets/svg/SelectRoundedIcon.js +24 -0
- package/dist/Editor/assets/svg/SortByIcon.js +33 -0
- package/dist/Editor/assets/svg/TickOutlined.js +23 -0
- package/dist/Editor/assets/svg/TrashCanIcon.js +38 -0
- package/dist/Editor/common/Icon.js +34 -4
- package/dist/Editor/common/RnD/index.js +2 -2
- package/dist/Editor/common/Shorthands/elements.js +1 -1
- package/dist/Editor/common/iconListV2.js +47 -79
- package/dist/Editor/common/iconslist.js +2 -2
- package/dist/Editor/helper/deserialize/index.js +27 -1
- package/dist/Editor/hooks/useBreakpoints.js +1 -1
- package/dist/Editor/plugins/withHTML.js +38 -11
- package/package.json +1 -1
@@ -139,14 +139,17 @@ const MiniToolbar = props => {
|
|
139
139
|
icon: Icon
|
140
140
|
}) => {
|
141
141
|
const isDisabled = popupType === type || type === "undo" ? !canUndo : type === "redo" ? !canRedo : false;
|
142
|
+
const isFocussed = editor?.selection?.anchor?.path;
|
143
|
+
const disableAddElement = type === "addElement" && !isFocussed;
|
142
144
|
return /*#__PURE__*/_jsx(Tooltip, {
|
143
145
|
arrow: true,
|
144
146
|
title: label,
|
145
147
|
disableHoverListener: toolTip,
|
146
148
|
children: /*#__PURE__*/_jsx(IconButton, {
|
147
|
-
className: `${type === popper ? "active" : ""} ${type === "undo" && !canUndo || type === "redo" && !canRedo ? "disabled" : ""} ${type === "undo" ? canUndo ? "activeUndo" : "disabledUndo" : type === "redo" ? canRedo ? "activeRedo" : "disabledRedo" : ""}
|
149
|
+
className: `${type === popper ? "active" : ""} ${type === "undo" && !canUndo || type === "redo" && !canRedo ? "disabled" : ""} ${type === "undo" ? canUndo ? "activeUndo" : "disabledUndo" : type === "redo" ? canRedo ? "activeRedo" : "disabledRedo" : ""} ${disableAddElement ? "disableAddElement" : ""}
|
150
|
+
`,
|
148
151
|
onClick: handleClick(type),
|
149
|
-
disabled: isDisabled,
|
152
|
+
disabled: isDisabled || disableAddElement,
|
150
153
|
children: type === "page-settings" ? /*#__PURE__*/_jsx(PageSettingsButton, {
|
151
154
|
from: "miniToolBar",
|
152
155
|
icoBtnType: "mini",
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const ArrowDownIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M3.95354 9.61984L8.00021 13.6665L12.0469 9.61984",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeMiterlimit: "10",
|
14
|
+
strokeLinecap: "round",
|
15
|
+
strokeLinejoin: "round"
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
17
|
+
d: "M8 2.33322V13.5532",
|
18
|
+
stroke: "#64748B",
|
19
|
+
strokeMiterlimit: "10",
|
20
|
+
strokeLinecap: "round",
|
21
|
+
strokeLinejoin: "round"
|
22
|
+
})]
|
23
|
+
});
|
24
|
+
};
|
25
|
+
export default ArrowDownIcon;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const ArrowUpIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M12.0465 6.38016L7.99979 2.3335L3.95312 6.38016",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeMiterlimit: "10",
|
14
|
+
strokeLinecap: "round",
|
15
|
+
strokeLinejoin: "round"
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
17
|
+
d: "M8 13.6668V2.44678",
|
18
|
+
stroke: "#64748B",
|
19
|
+
strokeMiterlimit: "10",
|
20
|
+
strokeLinecap: "round",
|
21
|
+
strokeLinejoin: "round"
|
22
|
+
})]
|
23
|
+
});
|
24
|
+
};
|
25
|
+
export default ArrowUpIcon;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const CalenderIconTick = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "14",
|
6
|
+
height: "14",
|
7
|
+
viewBox: "0 0 14 14",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M4.66797 1.1665V2.9165",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeMiterlimit: "10",
|
14
|
+
strokeLinecap: "round",
|
15
|
+
strokeLinejoin: "round"
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
17
|
+
d: "M9.33203 1.1665V2.9165",
|
18
|
+
stroke: "#64748B",
|
19
|
+
strokeMiterlimit: "10",
|
20
|
+
strokeLinecap: "round",
|
21
|
+
strokeLinejoin: "round"
|
22
|
+
}), /*#__PURE__*/_jsx("path", {
|
23
|
+
d: "M2.04297 5.30273H11.9596",
|
24
|
+
stroke: "#64748B",
|
25
|
+
strokeMiterlimit: "10",
|
26
|
+
strokeLinecap: "round",
|
27
|
+
strokeLinejoin: "round"
|
28
|
+
}), /*#__PURE__*/_jsx("path", {
|
29
|
+
d: "M12.8346 11.0833C12.8346 11.5208 12.7121 11.935 12.4963 12.285C12.0938 12.9617 11.353 13.4167 10.5013 13.4167C9.91214 13.4167 9.37547 13.2008 8.96714 12.8333C8.7863 12.6817 8.6288 12.495 8.5063 12.285C8.29047 11.935 8.16797 11.5208 8.16797 11.0833C8.16797 9.79417 9.21214 8.75 10.5013 8.75C11.2013 8.75 11.8255 9.05916 12.2513 9.54332C12.613 9.95749 12.8346 10.4942 12.8346 11.0833Z",
|
30
|
+
stroke: "#64748B",
|
31
|
+
strokeMiterlimit: "10",
|
32
|
+
strokeLinecap: "round",
|
33
|
+
strokeLinejoin: "round"
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
d: "M9.58984 11.0834L10.1673 11.6609L11.4098 10.5117",
|
36
|
+
stroke: "#64748B",
|
37
|
+
strokeWidth: "0.7",
|
38
|
+
strokeLinecap: "round",
|
39
|
+
strokeLinejoin: "round"
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
41
|
+
d: "M12.25 4.95817V9.54316C11.8242 9.059 11.2 8.74984 10.5 8.74984C9.21083 8.74984 8.16667 9.794 8.16667 11.0832C8.16667 11.5207 8.28917 11.9348 8.505 12.2848C8.6275 12.4948 8.785 12.6815 8.96583 12.8332H4.66667C2.625 12.8332 1.75 11.6665 1.75 9.9165V4.95817C1.75 3.20817 2.625 2.0415 4.66667 2.0415H9.33333C11.375 2.0415 12.25 3.20817 12.25 4.95817Z",
|
42
|
+
stroke: "#64748B",
|
43
|
+
strokeMiterlimit: "10",
|
44
|
+
strokeLinecap: "round",
|
45
|
+
strokeLinejoin: "round"
|
46
|
+
}), /*#__PURE__*/_jsx("path", {
|
47
|
+
d: "M6.99549 7.99186H7.00073",
|
48
|
+
stroke: "#64748B",
|
49
|
+
strokeLinecap: "round",
|
50
|
+
strokeLinejoin: "round"
|
51
|
+
}), /*#__PURE__*/_jsx("path", {
|
52
|
+
d: "M4.83924 7.99186H4.84448",
|
53
|
+
stroke: "#64748B",
|
54
|
+
strokeLinecap: "round",
|
55
|
+
strokeLinejoin: "round"
|
56
|
+
}), /*#__PURE__*/_jsx("path", {
|
57
|
+
d: "M4.83924 9.74186H4.84448",
|
58
|
+
stroke: "#64748B",
|
59
|
+
strokeLinecap: "round",
|
60
|
+
strokeLinejoin: "round"
|
61
|
+
})]
|
62
|
+
});
|
63
|
+
};
|
64
|
+
export default CalenderIconTick;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
const ChervDown = () => {
|
3
|
+
return /*#__PURE__*/_jsx("svg", {
|
4
|
+
width: "14",
|
5
|
+
height: "14",
|
6
|
+
viewBox: "0 0 9 6",
|
7
|
+
fill: "none",
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
9
|
+
children: /*#__PURE__*/_jsx("path", {
|
10
|
+
d: "M1 1.2002L4.5 4.49731L8 1.2002",
|
11
|
+
stroke: "#2563EB",
|
12
|
+
strokeWidth: "1.2",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
})
|
16
|
+
});
|
17
|
+
};
|
18
|
+
export default ChervDown;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
const ChervUp = () => {
|
3
|
+
return /*#__PURE__*/_jsx("svg", {
|
4
|
+
width: "14",
|
5
|
+
height: "14",
|
6
|
+
viewBox: "0 0 9 6",
|
7
|
+
fill: "none",
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
9
|
+
children: /*#__PURE__*/_jsx("path", {
|
10
|
+
d: "M8 4.80371L4.5 1.50659L1 4.80371",
|
11
|
+
stroke: "#94A3B8",
|
12
|
+
strokeWidth: "1.2",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
})
|
16
|
+
});
|
17
|
+
};
|
18
|
+
export default ChervUp;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const DataTableIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M14.6668 7.33398V6.00065C14.6668 2.66732 13.3335 1.33398 10.0002 1.33398H6.00016C2.66683 1.33398 1.3335 2.66732 1.3335 6.00065V10.0007C1.3335 13.334 2.66683 14.6673 6.00016 14.6673H6.66683",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M1.35352 5.66797H14.6668",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}), /*#__PURE__*/_jsx("path", {
|
21
|
+
d: "M1.35352 10.334H8.00016",
|
22
|
+
stroke: "#64748B",
|
23
|
+
strokeLinecap: "round",
|
24
|
+
strokeLinejoin: "round"
|
25
|
+
}), /*#__PURE__*/_jsx("path", {
|
26
|
+
d: "M5.67334 14.6598V1.33984",
|
27
|
+
stroke: "#64748B",
|
28
|
+
strokeLinecap: "round",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
31
|
+
d: "M10.3398 7.99316V1.33984",
|
32
|
+
stroke: "#64748B",
|
33
|
+
strokeLinecap: "round",
|
34
|
+
strokeLinejoin: "round"
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M12.4868 9.7794L9.72013 12.546C9.61346 12.6527 9.51344 12.8594 9.48677 13.006L9.33345 14.066C9.28012 14.446 9.54679 14.7194 9.92679 14.6594L10.9868 14.506C11.1334 14.486 11.3401 14.3794 11.4468 14.2727L14.2135 11.506C14.6868 11.0327 14.9135 10.4727 14.2135 9.77273C13.5201 9.0794 12.9668 9.2994 12.4868 9.7794Z",
|
37
|
+
stroke: "#64748B",
|
38
|
+
strokeMiterlimit: "10",
|
39
|
+
strokeLinecap: "round",
|
40
|
+
strokeLinejoin: "round"
|
41
|
+
}), /*#__PURE__*/_jsx("path", {
|
42
|
+
d: "M12.0933 10.1719C12.3266 11.0119 12.9866 11.6652 13.8266 11.9052",
|
43
|
+
stroke: "#64748B",
|
44
|
+
strokeMiterlimit: "10",
|
45
|
+
strokeLinecap: "round",
|
46
|
+
strokeLinejoin: "round"
|
47
|
+
})]
|
48
|
+
});
|
49
|
+
};
|
50
|
+
export default DataTableIcon;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const DuplicateIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M10.6654 8.60016V11.4002C10.6654 13.7335 9.73203 14.6668 7.3987 14.6668H4.5987C2.26536 14.6668 1.33203 13.7335 1.33203 11.4002V8.60016C1.33203 6.26683 2.26536 5.3335 4.5987 5.3335H7.3987C9.73203 5.3335 10.6654 6.26683 10.6654 8.60016Z",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M14.6654 4.60016V7.40016C14.6654 9.7335 13.732 10.6668 11.3987 10.6668H10.6654V8.60016C10.6654 6.26683 9.73203 5.3335 7.3987 5.3335H5.33203V4.60016C5.33203 2.26683 6.26536 1.3335 8.5987 1.3335H11.3987C13.732 1.3335 14.6654 2.26683 14.6654 4.60016Z",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
})]
|
21
|
+
});
|
22
|
+
};
|
23
|
+
export default DuplicateIcon;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const EyeIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M10.3866 7.99995C10.3866 9.31995 9.31995 10.3866 7.99995 10.3866C6.67995 10.3866 5.61328 9.31995 5.61328 7.99995C5.61328 6.67995 6.67995 5.61328 7.99995 5.61328C9.31995 5.61328 10.3866 6.67995 10.3866 7.99995Z",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M7.9999 13.5133C10.3532 13.5133 12.5466 12.1266 14.0732 9.72665C14.6732 8.78665 14.6732 7.20665 14.0732 6.26665C12.5466 3.86665 10.3532 2.47998 7.9999 2.47998C5.64656 2.47998 3.45323 3.86665 1.92656 6.26665C1.32656 7.20665 1.32656 8.78665 1.92656 9.72665C3.45323 12.1266 5.64656 13.5133 7.9999 13.5133Z",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
})]
|
21
|
+
});
|
22
|
+
};
|
23
|
+
export default EyeIcon;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const EyeSlash = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M9.68661 6.31328L6.31328 9.68661C5.87995 9.25328 5.61328 8.65995 5.61328 7.99995C5.61328 6.67995 6.67995 5.61328 7.99995 5.61328C8.65995 5.61328 9.25328 5.87995 9.68661 6.31328Z",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M11.8799 3.84682C10.7132 2.96682 9.3799 2.48682 7.9999 2.48682C5.64656 2.48682 3.45323 3.87348 1.92656 6.27348C1.32656 7.21348 1.32656 8.79348 1.92656 9.73348C2.45323 10.5602 3.06656 11.2735 3.73323 11.8468",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}), /*#__PURE__*/_jsx("path", {
|
21
|
+
d: "M5.61328 13.02C6.37328 13.34 7.17995 13.5133 7.99995 13.5133C10.3533 13.5133 12.5466 12.1266 14.0733 9.72662C14.6733 8.78662 14.6733 7.20662 14.0733 6.26662C13.8533 5.91995 13.6133 5.59329 13.3666 5.28662",
|
22
|
+
stroke: "#64748B",
|
23
|
+
strokeLinecap: "round",
|
24
|
+
strokeLinejoin: "round"
|
25
|
+
}), /*#__PURE__*/_jsx("path", {
|
26
|
+
d: "M10.3409 8.4668C10.1676 9.4068 9.40094 10.1735 8.46094 10.3468",
|
27
|
+
stroke: "#64748B",
|
28
|
+
strokeLinecap: "round",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
31
|
+
d: "M6.31203 9.68652L1.33203 14.6665",
|
32
|
+
stroke: "#64748B",
|
33
|
+
strokeLinecap: "round",
|
34
|
+
strokeLinejoin: "round"
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M14.6675 1.3335L9.6875 6.3135",
|
37
|
+
stroke: "#64748B",
|
38
|
+
strokeLinecap: "round",
|
39
|
+
strokeLinejoin: "round"
|
40
|
+
})]
|
41
|
+
});
|
42
|
+
};
|
43
|
+
export default EyeSlash;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const HashtagIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "12",
|
6
|
+
height: "12",
|
7
|
+
viewBox: "0 0 12 12",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M5 1.5L4 10.5",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M8 1.5L7 10.5",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}), /*#__PURE__*/_jsx("path", {
|
21
|
+
d: "M1.75 4.5H10.75",
|
22
|
+
stroke: "#64748B",
|
23
|
+
strokeLinecap: "round",
|
24
|
+
strokeLinejoin: "round"
|
25
|
+
}), /*#__PURE__*/_jsx("path", {
|
26
|
+
d: "M1.25 7.5H10.25",
|
27
|
+
stroke: "#64748B",
|
28
|
+
strokeLinecap: "round",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
})]
|
31
|
+
});
|
32
|
+
};
|
33
|
+
export default HashtagIcon;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const PlusIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "18",
|
6
|
+
height: "18",
|
7
|
+
viewBox: "0 0 18 18",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M4.5 9H13.5",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M9 13.5V4.5",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
})]
|
21
|
+
});
|
22
|
+
};
|
23
|
+
export default PlusIcon;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const SelectRoundedIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "14",
|
6
|
+
height: "14",
|
7
|
+
viewBox: "0 0 14 14",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M7.0013 12.8334C10.223 12.8334 12.8346 10.2217 12.8346 7.00008C12.8346 3.77842 10.223 1.16675 7.0013 1.16675C3.77964 1.16675 1.16797 3.77842 1.16797 7.00008C1.16797 10.2217 3.77964 12.8334 7.0013 12.8334Z",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeMiterlimit: "10",
|
14
|
+
strokeLinecap: "round",
|
15
|
+
strokeLinejoin: "round"
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
17
|
+
d: "M4.94141 6.26489L7.00057 8.31823L9.05974 6.26489",
|
18
|
+
stroke: "#64748B",
|
19
|
+
strokeLinecap: "round",
|
20
|
+
strokeLinejoin: "round"
|
21
|
+
})]
|
22
|
+
});
|
23
|
+
};
|
24
|
+
export default SelectRoundedIcon;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const SortByIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M6.96781 4.47998L4.48779 2L2.00781 4.47998",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M4.48828 14V2",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}), /*#__PURE__*/_jsx("path", {
|
21
|
+
d: "M9.03516 11.52L11.5152 14L13.9952 11.52",
|
22
|
+
stroke: "#64748B",
|
23
|
+
strokeLinecap: "round",
|
24
|
+
strokeLinejoin: "round"
|
25
|
+
}), /*#__PURE__*/_jsx("path", {
|
26
|
+
d: "M11.5156 2V14",
|
27
|
+
stroke: "#64748B",
|
28
|
+
strokeLinecap: "round",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
})]
|
31
|
+
});
|
32
|
+
};
|
33
|
+
export default SortByIcon;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const TickOutlined = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "14",
|
6
|
+
height: "14",
|
7
|
+
viewBox: "0 0 14 14",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M7.00008 12.8327C10.2084 12.8327 12.8334 10.2077 12.8334 6.99935C12.8334 3.79102 10.2084 1.16602 7.00008 1.16602C3.79175 1.16602 1.16675 3.79102 1.16675 6.99935C1.16675 10.2077 3.79175 12.8327 7.00008 12.8327Z",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M4.52075 7.00044L6.17159 8.65128L9.47909 5.34961",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
})]
|
21
|
+
});
|
22
|
+
};
|
23
|
+
export default TickOutlined;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
const TrashIcon = () => {
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
5
|
+
width: "16",
|
6
|
+
height: "16",
|
7
|
+
viewBox: "0 0 16 16",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
11
|
+
d: "M2 3.98617C4.22 3.76617 6.45333 3.65283 8.68 3.65283C10 3.65283 11.32 3.7195 12.64 3.85283L14 3.98617",
|
12
|
+
stroke: "#64748B",
|
13
|
+
strokeLinecap: "round",
|
14
|
+
strokeLinejoin: "round"
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
16
|
+
d: "M10.332 3.3135L10.1854 2.44016C10.0787 1.80683 9.9987 1.3335 8.87203 1.3335H7.12536C5.9987 1.3335 5.91203 1.8335 5.81203 2.44683L5.66537 3.3135",
|
17
|
+
stroke: "#64748B",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}), /*#__PURE__*/_jsx("path", {
|
21
|
+
d: "M3.43307 6.09375L3.86641 12.8071C3.93974 13.8537 3.99974 14.6671 5.85974 14.6671H10.1397C11.9997 14.6671 12.0597 13.8537 12.1331 12.8071L12.5664 6.09375",
|
22
|
+
stroke: "#64748B",
|
23
|
+
strokeLinecap: "round",
|
24
|
+
strokeLinejoin: "round"
|
25
|
+
}), /*#__PURE__*/_jsx("path", {
|
26
|
+
d: "M9.11328 11H6.89328",
|
27
|
+
stroke: "#64748B",
|
28
|
+
strokeLinecap: "round",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
31
|
+
d: "M9.66797 8.3335H6.33464",
|
32
|
+
stroke: "#64748B",
|
33
|
+
strokeLinecap: "round",
|
34
|
+
strokeLinejoin: "round"
|
35
|
+
})]
|
36
|
+
});
|
37
|
+
};
|
38
|
+
export default TrashIcon;
|
@@ -6,14 +6,14 @@ import { FcAddRow, FcAddColumn } from "react-icons/fc";
|
|
6
6
|
import { AiFillEdit, AiOutlineInsertRowBelow, AiOutlineInsertRowRight, AiOutlineDelete, AiFillTag, AiOutlineUpload, AiOutlineArrowsAlt, AiOutlineInsertRowAbove, AiOutlineInsertRowLeft, AiFillHtml5 } from "react-icons/ai";
|
7
7
|
import { SiLatex } from "react-icons/si";
|
8
8
|
import { RiDeleteColumn, RiDeleteRow } from "react-icons/ri";
|
9
|
-
import { FontFamilyIcon, FontSizeIcon, StrikethroughIcon, MoreHorizontal, UploadImage, LeftArrow, RightArrow, CheckListButton, CheckListButtonActive, ExcelIcon, CsvIcon, CloseIcon, SearchIcon, ExpandIcon, Text, TextAreaIcon, Phone, BriefCase, Bank, CalendarTick, DollarSquare, Checkbox, Description, RadioButtonIcon, CheckedIcon, UncheckedIcon, InfinityIcon, ResetIcon } from "./iconslist";
|
9
|
+
import { FontFamilyIcon, FontSizeIcon, StrikethroughIcon, MoreHorizontal, UploadImage, LeftArrow, RightArrow, CheckListButton, CheckListButtonActive, ExcelIcon, CsvIcon, CloseIcon, SearchIcon, ExpandIcon, Text, TextAreaIcon, Phone, BriefCase, Bank, CalendarTick, DollarSquare, Checkbox, Description, RadioButtonIcon, CheckedIcon, UncheckedIcon, InfinityIcon, ResetIcon, GridAddSectionIcon } from "./iconslist";
|
10
10
|
import ArrowRightIcon from "@mui/icons-material/ArrowRight";
|
11
11
|
import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown";
|
12
12
|
import EmailRoundedIcon from "@mui/icons-material/EmailRounded";
|
13
13
|
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
|
14
14
|
import GridOnIcon from "@mui/icons-material/GridOn";
|
15
15
|
import GppBadOutlinedIcon from "@mui/icons-material/GppBadOutlined";
|
16
|
-
import { AccordionTextFormatIcon, BoldTextFormatIcon, BulletedListTextFormatIcon, ButtonElementIcon, CarouselElementIcon, CheckListTextFormatIcon, ColorBoxElementIcon, DividerElementIcon, DocUploadElementIcon, EmbedElementIcon, EmojiElementIcon, FormElementIcon, GridElementIcon, H1, H2, H3, ImageElementIcon, ItalicTextFormatIcon, LinkIconV2, OrderedListTextFormatIcon, SignatureElementIcon, TableElementIcon, TopBannerElementIcon, UnderlineTextFormatIcon, VideoElementIcon,
|
16
|
+
import { AccordionTextFormatIcon, BoldTextFormatIcon, BulletedListTextFormatIcon, ButtonElementIcon, CarouselElementIcon, CheckListTextFormatIcon, ColorBoxElementIcon, DividerElementIcon, DocUploadElementIcon, EmbedElementIcon, EmojiElementIcon, FormElementIcon, GridElementIcon, H1, H2, H3, ImageElementIcon, ItalicTextFormatIcon, LinkIconV2, OrderedListTextFormatIcon, SignatureElementIcon, TableElementIcon, TopBannerElementIcon, UnderlineTextFormatIcon, VideoElementIcon, LeftAlignTextFormat, CenterAlignTextFormat, RightAlignTextFormat, JustifyTextFormat, FreeGridElement, AppHeaderElement, CodeElementIcon } from "./iconListV2";
|
17
17
|
import MoreVertRoundedIcon from "@mui/icons-material/MoreVertRounded";
|
18
18
|
import SettingsIcon from "../assets/svg/SettingsIcon";
|
19
19
|
import UndoIcon from "../assets/svg/UndoIcon";
|
@@ -27,6 +27,21 @@ import DeleteIcon from "@mui/icons-material/Delete";
|
|
27
27
|
import { BrainIcon } from "../assets/svg/BrainIcon";
|
28
28
|
import DocsIcon from "../assets/svg/DocsIcon";
|
29
29
|
import UserIcon from "../assets/svg/UserIcon";
|
30
|
+
import HashtagIcon from "../assets/svg/HashtagIcon";
|
31
|
+
import SelectRoundedIcon from "../assets/svg/SelectRoundedIcon";
|
32
|
+
import SortByIcon from "../assets/svg/SortByIcon";
|
33
|
+
import TickOutlined from "../assets/svg/TickOutlined";
|
34
|
+
import CalenderIconTick from "../assets/svg/CalenderIconTick";
|
35
|
+
import PlusIcon from "../assets/svg/PlusIcon";
|
36
|
+
import EyeSlash from "../assets/svg/EyeSlash";
|
37
|
+
import ArrowUpIcon from "../assets/svg/ArrowUpIcon";
|
38
|
+
import ArrowDownIcon from "../assets/svg/ArrowDownIcon";
|
39
|
+
import DuplicateIcon from "../assets/svg/DuplicateIcon";
|
40
|
+
import EyeIcon from "../assets/svg/EyeIcon";
|
41
|
+
import TrashIcon from "../assets/svg/TrashCanIcon";
|
42
|
+
import DataTableIcon from "../assets/svg/DataTableIcon";
|
43
|
+
import ChervDown from "../assets/svg/ChervDown";
|
44
|
+
import ChervUp from "../assets/svg/ChervUp";
|
30
45
|
import { jsx as _jsx } from "react/jsx-runtime";
|
31
46
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
32
47
|
const iconList = {
|
@@ -235,7 +250,7 @@ const iconList = {
|
|
235
250
|
text: /*#__PURE__*/_jsx(Text, {
|
236
251
|
stroke: "#64748B"
|
237
252
|
}),
|
238
|
-
calenderNewIcon: /*#__PURE__*/_jsx(
|
253
|
+
calenderNewIcon: /*#__PURE__*/_jsx(CalenderIconTick, {}),
|
239
254
|
textArea: /*#__PURE__*/_jsx(TextAreaIcon, {}),
|
240
255
|
phone: /*#__PURE__*/_jsx(Phone, {}),
|
241
256
|
briefCase: /*#__PURE__*/_jsx(BriefCase, {}),
|
@@ -282,7 +297,22 @@ const iconList = {
|
|
282
297
|
brain: /*#__PURE__*/_jsx(BrainIcon, {}),
|
283
298
|
docsIcon: /*#__PURE__*/_jsx(DocsIcon, {}),
|
284
299
|
userIcon: /*#__PURE__*/_jsx(UserIcon, {}),
|
285
|
-
shieldNoAccess: /*#__PURE__*/_jsx(GppBadOutlinedIcon, {})
|
300
|
+
shieldNoAccess: /*#__PURE__*/_jsx(GppBadOutlinedIcon, {}),
|
301
|
+
hashtagIcon: /*#__PURE__*/_jsx(HashtagIcon, {}),
|
302
|
+
selectRounded: /*#__PURE__*/_jsx(SelectRoundedIcon, {}),
|
303
|
+
sortBy: /*#__PURE__*/_jsx(SortByIcon, {}),
|
304
|
+
addRounded: /*#__PURE__*/_jsx(GridAddSectionIcon, {}),
|
305
|
+
tickOutline: /*#__PURE__*/_jsx(TickOutlined, {}),
|
306
|
+
plusIcon: /*#__PURE__*/_jsx(PlusIcon, {}),
|
307
|
+
eyeSlash: /*#__PURE__*/_jsx(EyeSlash, {}),
|
308
|
+
eyeIcon: /*#__PURE__*/_jsx(EyeIcon, {}),
|
309
|
+
arrowUp: /*#__PURE__*/_jsx(ArrowUpIcon, {}),
|
310
|
+
arrowDown: /*#__PURE__*/_jsx(ArrowDownIcon, {}),
|
311
|
+
duplicateIcon: /*#__PURE__*/_jsx(DuplicateIcon, {}),
|
312
|
+
trashIcon: /*#__PURE__*/_jsx(TrashIcon, {}),
|
313
|
+
dataTable: /*#__PURE__*/_jsx(DataTableIcon, {}),
|
314
|
+
chervUp: /*#__PURE__*/_jsx(ChervUp, {}),
|
315
|
+
chervDown: /*#__PURE__*/_jsx(ChervDown, {})
|
286
316
|
};
|
287
317
|
export const icons = {
|
288
318
|
...iconList
|
@@ -163,7 +163,7 @@ const RnD = props => {
|
|
163
163
|
}
|
164
164
|
switch (e.detail) {
|
165
165
|
case 1:
|
166
|
-
clearSelectionOnly(editor); //for selection removal on click outside
|
166
|
+
clearSelectionOnly(editor); //for selection removal on click outside
|
167
167
|
if (!enable) {
|
168
168
|
setSelectedElement({
|
169
169
|
path: str_path,
|
@@ -367,7 +367,7 @@ const RnD = props => {
|
|
367
367
|
// some cases
|
368
368
|
if (dragOverEle?.dataset?.dragovertype === undefined) {
|
369
369
|
// means check for parent element
|
370
|
-
dragOverEle = e?.toElement?.
|
370
|
+
dragOverEle = e?.toElement?.closest(".freegrid-container-parent");
|
371
371
|
}
|
372
372
|
if (dragOverEle?.dataset?.dragovertype !== "child") {
|
373
373
|
const oldPath = dragging.dragOver;
|