@flozy/editor 3.5.9 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/Elements/Button/EditorButton.js +9 -4
- package/dist/Editor/Elements/ChipText/ChipText.js +3 -3
- package/dist/Editor/Elements/Embed/Image.js +1 -1
- package/dist/Editor/Elements/Form/Form.js +24 -15
- package/dist/Editor/Elements/Form/FormElements/FormNumbers.js +19 -14
- package/dist/Editor/Elements/InlineIcon/InlineIcon.js +2 -3
- package/dist/Editor/Elements/List/CheckList.js +6 -2
- package/dist/Editor/Styles/EditorStyles.js +3 -2
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +1 -2
- package/dist/Editor/common/MUIIcon/index.js +49 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/icons.js +12 -28
- package/dist/Editor/common/StyleBuilder/fieldTypes/loadIcon.js +13 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/metaDataMapping.js +0 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/mui_filled_icons.js +2 -0
- package/dist/Editor/utils/table.js +8 -4
- package/package.json +4 -4
@@ -2,7 +2,8 @@ import React, { useState } from "react";
|
|
2
2
|
import { Transforms } from "slate";
|
3
3
|
import { ReactEditor, useSlateStatic } from "slate-react";
|
4
4
|
import { IconButton, Tooltip, Box } from "@mui/material";
|
5
|
-
import * as fIcons from "@mui/icons-material";
|
5
|
+
// import * as fIcons from "@mui/icons-material";
|
6
|
+
import MUIIcon from "../../common/StyleBuilder/fieldTypes/loadIcon";
|
6
7
|
import SettingsIcon from "@mui/icons-material/Settings";
|
7
8
|
import OpenInNewIcon from "@mui/icons-material/OpenInNew";
|
8
9
|
import LinkIcon from "@mui/icons-material/Link";
|
@@ -63,7 +64,7 @@ const EditorButton = props => {
|
|
63
64
|
};
|
64
65
|
const isTrigger = linkType === "actionTrigger";
|
65
66
|
const refURl = isTrigger ? buttonLink?.url : url;
|
66
|
-
const BtnIcon = buttonIcon ?
|
67
|
+
const BtnIcon = buttonIcon ? buttonIcon : null;
|
67
68
|
windowVar.lastButtonProps = element;
|
68
69
|
const handleTrigger = async () => {
|
69
70
|
if (metadata?.buttonLink?.handler) {
|
@@ -80,6 +81,7 @@ const EditorButton = props => {
|
|
80
81
|
}
|
81
82
|
};
|
82
83
|
const buttonProps = handleLinkType(refURl, linkType, readOnly, openInNewTab, handleTrigger);
|
84
|
+
console.log(openInNewTab);
|
83
85
|
const onMenuClick = val => () => {
|
84
86
|
switch (val) {
|
85
87
|
case "edit":
|
@@ -131,6 +133,7 @@ const EditorButton = props => {
|
|
131
133
|
color: "rgba(0, 0, 0, 0.54)"
|
132
134
|
},
|
133
135
|
...btnProps,
|
136
|
+
target: openInNewTab ? "_blank" : "_self",
|
134
137
|
children: /*#__PURE__*/_jsx(OpenInNewIcon, {})
|
135
138
|
})
|
136
139
|
})]
|
@@ -212,12 +215,14 @@ const EditorButton = props => {
|
|
212
215
|
}
|
213
216
|
},
|
214
217
|
...buttonProps,
|
215
|
-
children: [BtnIcon && iconPosition === "start" && /*#__PURE__*/_jsx(
|
218
|
+
children: [BtnIcon && iconPosition === "start" && /*#__PURE__*/_jsx(MUIIcon, {
|
219
|
+
iconName: buttonIcon,
|
216
220
|
style: {
|
217
221
|
paddingLeft: "4px",
|
218
222
|
paddingRight: "4px"
|
219
223
|
}
|
220
|
-
}), label || "My Button", BtnIcon && iconPosition === "end" && /*#__PURE__*/_jsx(
|
224
|
+
}), label || "My Button", BtnIcon && iconPosition === "end" && /*#__PURE__*/_jsx(MUIIcon, {
|
225
|
+
iconName: buttonIcon,
|
221
226
|
style: {
|
222
227
|
paddingLeft: "4px",
|
223
228
|
paddingRight: "4px"
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { Transforms } from "slate";
|
3
3
|
import { useSlateStatic, ReactEditor } from "slate-react";
|
4
|
-
import * as fIcons from "@mui/icons-material";
|
5
4
|
import { Box } from "@mui/material";
|
6
5
|
import ChipTextPopup from "./ChipTextPopup";
|
7
6
|
import { getTRBLBreakPoints, getBreakPointsValue } from "../../helper/theme";
|
7
|
+
import MUIIcon from "../../common/StyleBuilder/fieldTypes/loadIcon";
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
9
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
10
10
|
const ChipText = props => {
|
@@ -26,7 +26,6 @@ const ChipText = props => {
|
|
26
26
|
buttonIcon,
|
27
27
|
textSize
|
28
28
|
} = element;
|
29
|
-
const BtnIcon = buttonIcon ? fIcons[buttonIcon] : fIcons["Check"];
|
30
29
|
const [openSetttings, setOpenSettings] = useState(false);
|
31
30
|
const editor = useSlateStatic();
|
32
31
|
const path = ReactEditor.findPath(editor, element);
|
@@ -82,7 +81,8 @@ const ChipText = props => {
|
|
82
81
|
background: bgColor || "#CCC",
|
83
82
|
color: textColor
|
84
83
|
},
|
85
|
-
children: [/*#__PURE__*/_jsx(
|
84
|
+
children: [/*#__PURE__*/_jsx(MUIIcon, {
|
85
|
+
iconName: buttonIcon || "Check",
|
86
86
|
style: {
|
87
87
|
fontSize: textSize || "16px",
|
88
88
|
lineHeight: textSize || "16px",
|
@@ -6,7 +6,7 @@ import useResize from "../../utils/customHooks/useResize";
|
|
6
6
|
import EmbedPopup from "./EmbedPopup";
|
7
7
|
import { IconButton, Tooltip, Box } from "@mui/material";
|
8
8
|
import { GridSettingsIcon, LinkIcon } from "../../common/iconslist";
|
9
|
-
import { useEditorContext
|
9
|
+
import { useEditorContext } from "../../hooks/useMouseMove";
|
10
10
|
import { getTRBLBreakPoints, getBreakPointsValue } from "../../helper/theme";
|
11
11
|
import Icon from "../../common/Icon";
|
12
12
|
import frames from "./Frames";
|
@@ -63,9 +63,11 @@ const Form = props => {
|
|
63
63
|
const [showOptions, setShowOptions] = useState(false);
|
64
64
|
const [submittedSuccessfully, setSubmittedSuccessfully] = useState(false);
|
65
65
|
const [formHeight, setFormHeight] = useState();
|
66
|
+
const [formWidth, setFormWidth] = useState();
|
66
67
|
const path = ReactEditor.findPath(editor, element);
|
67
68
|
useEffect(() => {
|
68
69
|
setFormHeight(formEle?.current?.clientHeight);
|
70
|
+
setFormWidth(formEle?.current?.clientWidth);
|
69
71
|
}, []);
|
70
72
|
const btnBorderStyle = buttonProps?.borderColor?.indexOf("linear") >= 0 ? {
|
71
73
|
borderImageSource: buttonProps?.borderColor,
|
@@ -317,7 +319,7 @@ const Form = props => {
|
|
317
319
|
},
|
318
320
|
onMouseOver: onMouseOver,
|
319
321
|
onMouseLeave: onMouseLeave,
|
320
|
-
children: [
|
322
|
+
children: [/*#__PURE__*/_jsxs(Box, {
|
321
323
|
component: "form",
|
322
324
|
id: `${formName}`,
|
323
325
|
onSubmit: handleSubmit,
|
@@ -325,6 +327,7 @@ const Form = props => {
|
|
325
327
|
color: textColor || "#FFF",
|
326
328
|
borderColor: borderColor || "transparent",
|
327
329
|
borderWidth: borderWidth || "1px",
|
330
|
+
display: submittedSuccessfully ? 'none' : 'block',
|
328
331
|
borderRadius: {
|
329
332
|
...getBreakPointsValue(borderRadius || {}, null, "overrideBorderRadius", true)
|
330
333
|
},
|
@@ -412,17 +415,20 @@ const Form = props => {
|
|
412
415
|
}
|
413
416
|
})
|
414
417
|
})]
|
415
|
-
})
|
418
|
+
}), /*#__PURE__*/_jsx(Grid, {
|
416
419
|
item: true,
|
420
|
+
sx: {
|
421
|
+
display: submittedSuccessfully ? 'flex' : 'none'
|
422
|
+
},
|
417
423
|
contentEditable: false,
|
418
|
-
children: /*#__PURE__*/
|
424
|
+
children: /*#__PURE__*/_jsx(Grid, {
|
419
425
|
container: true,
|
420
426
|
alignItems: "center",
|
421
427
|
justifyContent: "center",
|
422
428
|
spacing: 2,
|
423
|
-
children:
|
429
|
+
children: /*#__PURE__*/_jsx(Grid, {
|
424
430
|
item: true,
|
425
|
-
children: /*#__PURE__*/
|
431
|
+
children: /*#__PURE__*/_jsxs(Typography, {
|
426
432
|
sx: {
|
427
433
|
color: textColor || "#A2A9B4",
|
428
434
|
borderColor: borderColor || "transparent",
|
@@ -436,23 +442,26 @@ const Form = props => {
|
|
436
442
|
...getTRBLBreakPoints(bannerSpacing)
|
437
443
|
},
|
438
444
|
minHeight: `${formHeight}px`,
|
445
|
+
minWidth: `${formWidth}px`,
|
439
446
|
display: "flex",
|
440
447
|
alignItems: "center",
|
441
448
|
justifyContent: "center",
|
442
449
|
textAlign: "center",
|
443
450
|
position: "relative"
|
444
451
|
},
|
445
|
-
children: "Form Submitted Successfully...!"
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
452
|
+
children: ["Form Submitted Successfully...!", /*#__PURE__*/_jsx("span", {
|
453
|
+
style: {
|
454
|
+
paddingLeft: "10px"
|
455
|
+
},
|
456
|
+
children: /*#__PURE__*/_jsx(IconButton, {
|
457
|
+
onClick: handleCloseMessage,
|
458
|
+
children: /*#__PURE__*/_jsx(Icon, {
|
459
|
+
icon: "closeIcon"
|
460
|
+
})
|
461
|
+
})
|
462
|
+
})]
|
454
463
|
})
|
455
|
-
})
|
464
|
+
})
|
456
465
|
})
|
457
466
|
}), openSetttings ? /*#__PURE__*/_jsx(FormPopup, {
|
458
467
|
element: element,
|
@@ -30,12 +30,25 @@ const FormNumbers = props => {
|
|
30
30
|
children: /*#__PURE__*/_jsx(Box, {
|
31
31
|
component: "input",
|
32
32
|
...rest,
|
33
|
-
type: "
|
34
|
-
|
35
|
-
|
33
|
+
type: "tel",
|
34
|
+
onChange: e => {
|
35
|
+
let value = e.target.value;
|
36
|
+
value = value.replace(/[^0-9+]/g, '');
|
37
|
+
if (value.startsWith('+')) {
|
38
|
+
value = value[0] + value.slice(1).replace(/\+/g, '');
|
39
|
+
}
|
40
|
+
if (value.startsWith('+')) {
|
41
|
+
if (value.length > 16) {
|
42
|
+
value = value.slice(0, 16);
|
43
|
+
}
|
44
|
+
} else {
|
45
|
+
if (value.length > 15) {
|
46
|
+
value = value.slice(0, 15);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
e.target.value = value;
|
50
|
+
onChange(e);
|
36
51
|
},
|
37
|
-
onChange: onChange,
|
38
|
-
onWheel: e => e.target.blur(),
|
39
52
|
sx: {
|
40
53
|
width: "100%",
|
41
54
|
border: `1px solid ${borderColor || "#FFF"}`,
|
@@ -50,17 +63,9 @@ const FormNumbers = props => {
|
|
50
63
|
},
|
51
64
|
borderStyle: borderStyle || "solid",
|
52
65
|
color: textColor || "#000",
|
53
|
-
background: bgColor || "transparent"
|
54
|
-
'&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
55
|
-
'-webkit-appearance': 'none',
|
56
|
-
margin: 0
|
57
|
-
},
|
58
|
-
'&[type=number]': {
|
59
|
-
'-moz-appearance': 'textfield' // Hide spin buttons for Firefox
|
60
|
-
}
|
66
|
+
background: bgColor || "transparent"
|
61
67
|
}
|
62
68
|
})
|
63
69
|
});
|
64
70
|
};
|
65
|
-
|
66
71
|
export default FormNumbers;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import * as fIcons from "@mui/icons-material";
|
3
2
|
import { Box } from "@mui/material";
|
3
|
+
import Check from "@mui/icons-material/Check";
|
4
4
|
import { getBreakPointsValue } from "../../helper/theme";
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -23,7 +23,6 @@ const InlineIcon = props => {
|
|
23
23
|
right,
|
24
24
|
bottom
|
25
25
|
} = bannerSpacing || {};
|
26
|
-
const BtnIcon = fIcons["Check"];
|
27
26
|
return /*#__PURE__*/_jsxs(Box, {
|
28
27
|
...attributes,
|
29
28
|
className: "editor-icon-text",
|
@@ -42,7 +41,7 @@ const InlineIcon = props => {
|
|
42
41
|
background: bgColor || "#CCC",
|
43
42
|
color: textColor
|
44
43
|
},
|
45
|
-
children: [/*#__PURE__*/_jsx(
|
44
|
+
children: [/*#__PURE__*/_jsx(Check, {}), /*#__PURE__*/_jsx("div", {
|
46
45
|
contentEditable: true,
|
47
46
|
children: children
|
48
47
|
})]
|
@@ -11,7 +11,9 @@ const CheckList = ({
|
|
11
11
|
attributes,
|
12
12
|
children,
|
13
13
|
element,
|
14
|
-
isEmpty
|
14
|
+
isEmpty,
|
15
|
+
className,
|
16
|
+
style
|
15
17
|
}) => {
|
16
18
|
const editor = useSlateStatic();
|
17
19
|
const readOnly = useReadOnly();
|
@@ -30,12 +32,14 @@ const CheckList = ({
|
|
30
32
|
const nestedCheckList = element?.children?.length && element.children[0].type === "check-list-item";
|
31
33
|
return /*#__PURE__*/_jsx(_Fragment, {
|
32
34
|
children: /*#__PURE__*/_jsxs("div", {
|
35
|
+
className: className || "",
|
33
36
|
...attributes,
|
34
37
|
style: {
|
35
38
|
textAlign: element.alignment || "left",
|
36
39
|
display: "flex",
|
37
40
|
justifyContent: "center",
|
38
|
-
alignItems: "center"
|
41
|
+
alignItems: "center",
|
42
|
+
...(style || {})
|
39
43
|
},
|
40
44
|
children: [/*#__PURE__*/_jsxs("div", {
|
41
45
|
contentEditable: false,
|
@@ -188,6 +188,7 @@ const editorStyles = ({
|
|
188
188
|
}
|
189
189
|
},
|
190
190
|
"& .checkbox-edit": {
|
191
|
+
alignSelf: "flex-start",
|
191
192
|
"& .MuiFormControlLabel-root": {
|
192
193
|
marginRight: "0px"
|
193
194
|
},
|
@@ -212,7 +213,7 @@ const editorStyles = ({
|
|
212
213
|
"& svg": {
|
213
214
|
width: "17px",
|
214
215
|
height: "18px",
|
215
|
-
marginTop:
|
216
|
+
marginTop: "-1px"
|
216
217
|
}
|
217
218
|
}
|
218
219
|
},
|
@@ -273,7 +274,7 @@ const editorStyles = ({
|
|
273
274
|
},
|
274
275
|
cardsTypo: {
|
275
276
|
color: theme?.palette?.editor?.textColor,
|
276
|
-
fontSize:
|
277
|
+
fontSize: "14px !important"
|
277
278
|
}
|
278
279
|
});
|
279
280
|
export default editorStyles;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
2
2
|
import { useSlate } from "slate-react";
|
3
|
-
import { Box, Dialog, IconButton, Paper, Popper, Tooltip
|
3
|
+
import { Box, Dialog, IconButton, Paper, Popper, Tooltip } from "@mui/material";
|
4
4
|
import MENU_OPTIONS from "./Options/Options";
|
5
5
|
import TextFormat from "../PopupTool/TextFormat";
|
6
6
|
import AddElements from "../PopupTool/AddElements";
|
@@ -8,7 +8,6 @@ import AddTemplates from "../PopupTool/AddTemplates";
|
|
8
8
|
import miniToolbarStyles from "./Styles";
|
9
9
|
import usePopupStyle from "../PopupTool/PopupToolStyle";
|
10
10
|
import PopperHeader from "../PopupTool/PopperHeader";
|
11
|
-
import { getSelectedText } from "../../utils/helper";
|
12
11
|
import { useEditorContext } from "../../hooks/useMouseMove";
|
13
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
14
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
2
|
+
import { Box } from "@mui/material";
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
+
const iconLoader = async iconName => {
|
5
|
+
const iconAPI = process.env.ICON_API;
|
6
|
+
try {
|
7
|
+
const iconResponse = await fetch(`${iconAPI}/${iconName}`);
|
8
|
+
const icon = await iconResponse.text();
|
9
|
+
return icon;
|
10
|
+
} catch (error) {
|
11
|
+
console.error(`Icon "${iconName}" could not be loaded.`, error);
|
12
|
+
return null; // Or return a default fallback icon
|
13
|
+
}
|
14
|
+
};
|
15
|
+
|
16
|
+
const DynamicIcon = ({
|
17
|
+
iconName,
|
18
|
+
...props
|
19
|
+
}) => {
|
20
|
+
const [icon, setIcon] = useState("");
|
21
|
+
useEffect(() => {
|
22
|
+
let mounted = true;
|
23
|
+
iconLoader(iconName).then(iconHTML => {
|
24
|
+
if (mounted) {
|
25
|
+
setIcon(iconHTML);
|
26
|
+
}
|
27
|
+
});
|
28
|
+
return () => {
|
29
|
+
mounted = false;
|
30
|
+
};
|
31
|
+
}, [iconName]);
|
32
|
+
if (!icon) {
|
33
|
+
return null; // Or return a placeholder/spinner
|
34
|
+
}
|
35
|
+
|
36
|
+
return /*#__PURE__*/_jsx(Box, {
|
37
|
+
sx: {
|
38
|
+
display: "flex",
|
39
|
+
width: "auto",
|
40
|
+
height: "auto",
|
41
|
+
paddingLeft: "4px",
|
42
|
+
paddingRight: "4px"
|
43
|
+
},
|
44
|
+
dangerouslySetInnerHTML: {
|
45
|
+
__html: icon
|
46
|
+
}
|
47
|
+
});
|
48
|
+
};
|
49
|
+
export default DynamicIcon;
|
@@ -1,29 +1,10 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { Grid, IconButton, TextField, Tooltip } from "@mui/material";
|
3
|
-
import
|
3
|
+
import MUIIcon from "./loadIcon";
|
4
|
+
import MUIFilledIcons from "./mui_filled_icons";
|
4
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
5
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
6
7
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
7
|
-
const MUIIcons = Object.keys(fIcons).reduce((a, b) => {
|
8
|
-
if (b.indexOf("Outlined") > -1) {
|
9
|
-
a.outlined.push(b);
|
10
|
-
} else if (b.indexOf("Rounded") > -1) {
|
11
|
-
a.rounded.push(b);
|
12
|
-
} else if (b.indexOf("Sharp") > -1) {
|
13
|
-
a.sharp.push(b);
|
14
|
-
} else if (b.indexOf("TwoTone") > -1) {
|
15
|
-
a.tt.push(b);
|
16
|
-
} else {
|
17
|
-
a.filled.push(b);
|
18
|
-
}
|
19
|
-
return a;
|
20
|
-
}, {
|
21
|
-
filled: [],
|
22
|
-
outlined: [],
|
23
|
-
rounded: [],
|
24
|
-
tt: [],
|
25
|
-
sharp: []
|
26
|
-
});
|
27
8
|
const Icons = props => {
|
28
9
|
const {
|
29
10
|
value,
|
@@ -34,7 +15,7 @@ const Icons = props => {
|
|
34
15
|
key
|
35
16
|
} = data;
|
36
17
|
const [val, setVal] = useState("");
|
37
|
-
const [list, setList] = useState(
|
18
|
+
const [list, setList] = useState(MUIFilledIcons.slice(0, 90));
|
38
19
|
const onSelectIcon = ico => () => {
|
39
20
|
onChange({
|
40
21
|
[key]: ico
|
@@ -44,11 +25,11 @@ const Icons = props => {
|
|
44
25
|
const keyVal = e.target.value?.toLowerCase();
|
45
26
|
setVal(keyVal);
|
46
27
|
if (keyVal) {
|
47
|
-
setList(
|
28
|
+
setList(MUIFilledIcons.filter(f => {
|
48
29
|
return f.toLowerCase().indexOf(keyVal) > -1;
|
49
30
|
}).slice(0, 90));
|
50
31
|
} else {
|
51
|
-
setList(
|
32
|
+
setList(MUIFilledIcons.slice(0, 90));
|
52
33
|
}
|
53
34
|
};
|
54
35
|
const onRemoveIcon = () => {
|
@@ -56,7 +37,7 @@ const Icons = props => {
|
|
56
37
|
[key]: null
|
57
38
|
});
|
58
39
|
};
|
59
|
-
const SelectedIcon = value ?
|
40
|
+
const SelectedIcon = value ? value : null;
|
60
41
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
61
42
|
children: [/*#__PURE__*/_jsx(Grid, {
|
62
43
|
item: true,
|
@@ -92,7 +73,9 @@ const Icons = props => {
|
|
92
73
|
arrow: true,
|
93
74
|
children: /*#__PURE__*/_jsx(IconButton, {
|
94
75
|
onClick: onRemoveIcon,
|
95
|
-
children: /*#__PURE__*/_jsx(
|
76
|
+
children: /*#__PURE__*/_jsx(MUIIcon, {
|
77
|
+
iconName: value
|
78
|
+
})
|
96
79
|
})
|
97
80
|
}) : ""
|
98
81
|
})]
|
@@ -107,13 +90,14 @@ const Icons = props => {
|
|
107
90
|
paddingTop: "5px"
|
108
91
|
},
|
109
92
|
children: list.map(m => {
|
110
|
-
const Ico = fIcons[m];
|
111
93
|
return /*#__PURE__*/_jsx(Tooltip, {
|
112
94
|
title: m,
|
113
95
|
arrow: true,
|
114
96
|
children: /*#__PURE__*/_jsx(IconButton, {
|
115
97
|
onClick: onSelectIcon(m),
|
116
|
-
children: /*#__PURE__*/_jsx(
|
98
|
+
children: /*#__PURE__*/_jsx(MUIIcon, {
|
99
|
+
iconName: m
|
100
|
+
})
|
117
101
|
})
|
118
102
|
}, `mui_ico_${m}`);
|
119
103
|
})
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import DynamicIcon from "../../MUIIcon";
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
+
const MUIIcon = ({
|
5
|
+
iconName,
|
6
|
+
...rest
|
7
|
+
}) => {
|
8
|
+
return /*#__PURE__*/_jsx(DynamicIcon, {
|
9
|
+
iconName: iconName,
|
10
|
+
...rest
|
11
|
+
});
|
12
|
+
};
|
13
|
+
export default MUIIcon;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
const MUIFilledIcons = ["Abc", "AcUnit", "AccessAlarm", "AccessAlarms", "AccessTime", "AccessTimeFilled", "Accessibility", "AccessibilityNew", "Accessible", "AccessibleForward", "AccountBalance", "AccountBalanceWallet", "AccountBox", "AccountCircle", "AccountTree", "AdUnits", "Adb", "Add", "AddAPhoto", "AddAlarm", "AddAlert", "AddBox", "AddBusiness", "AddCard", "AddCircle", "AddCircleOutline", "AddComment", "AddHome", "AddHomeWork", "AddIcCall", "AddLink", "AddLocation", "AddLocationAlt", "AddModerator", "AddPhotoAlternate", "AddReaction", "AddRoad", "AddShoppingCart", "AddTask", "AddToDrive", "AddToHomeScreen", "AddToPhotos", "AddToQueue", "Addchart", "AdfScanner", "Adjust", "AdminPanelSettings", "AdsClick", "Agriculture", "Air", "AirlineSeatFlat", "AirlineSeatFlatAngled", "AirlineSeatIndividualSuite", "AirlineSeatLegroomExtra", "AirlineSeatLegroomNormal", "AirlineSeatLegroomReduced", "AirlineSeatReclineExtra", "AirlineSeatReclineNormal", "AirlineStops", "Airlines", "AirplaneTicket", "AirplanemodeActive", "AirplanemodeInactive", "Airplay", "AirportShuttle", "Alarm", "AlarmAdd", "AlarmOff", "AlarmOn", "Album", "AlignHorizontalCenter", "AlignHorizontalLeft", "AlignHorizontalRight", "AlignVerticalBottom", "AlignVerticalCenter", "AlignVerticalTop", "AllInbox", "AllInclusive", "AllOut", "AltRoute", "AlternateEmail", "Analytics", "Anchor", "Android", "Animation", "Announcement", "Aod", "Apartment", "Api", "AppBlocking", "AppRegistration", "AppSettingsAlt", "AppShortcut", "Apple", "Approval", "Apps", "AppsOutage", "Architecture", "Archive", "ArrowBack", "ArrowBackIos", "ArrowBackIosNew", "ArrowCircleDown", "ArrowCircleLeft", "ArrowCircleRight", "ArrowCircleUp", "ArrowDownward", "ArrowDropDown", "ArrowDropDownCircle", "ArrowDropUp", "ArrowForward", "ArrowForwardIos", "ArrowLeft", "ArrowOutward", "ArrowRight", "ArrowRightAlt", "ArrowUpward", "ArtTrack", "Article", "AspectRatio", "Assessment", "Assignment", "AssignmentInd", "AssignmentLate", "AssignmentReturn", "AssignmentReturned", "AssignmentTurnedIn", "AssistWalker", "Assistant", "AssistantDirection", "AssistantPhoto", "AssuredWorkload", "Atm", "AttachEmail", "AttachFile", "AttachMoney", "Attachment", "Attractions", "Attribution", "AudioFile", "Audiotrack", "AutoAwesome", "AutoAwesomeMosaic", "AutoAwesomeMotion", "AutoDelete", "AutoFixHigh", "AutoFixNormal", "AutoFixOff", "AutoGraph", "AutoMode", "AutoStories", "AutofpsSelect", "Autorenew", "AvTimer", "BabyChangingStation", "BackHand", "Backpack", "Backspace", "Backup", "BackupTable", "Badge", "BakeryDining", "Balance", "Balcony", "Ballot", "BarChart", "BatchPrediction", "Bathroom", "Bathtub", "Battery0Bar", "Battery1Bar", "Battery20", "Battery2Bar", "Battery30", "Battery3Bar", "Battery4Bar", "Battery50", "Battery5Bar", "Battery60", "Battery6Bar", "Battery80", "Battery90", "BatteryAlert", "BatteryCharging20", "BatteryCharging30", "BatteryCharging50", "BatteryCharging60", "BatteryCharging80", "BatteryCharging90", "BatteryChargingFull", "BatteryFull", "BatterySaver", "BatteryStd", "BatteryUnknown", "BeachAccess", "Bed", "BedroomBaby", "BedroomChild", "BedroomParent", "Bedtime", "BedtimeOff", "Beenhere", "Bento", "BikeScooter", "Biotech", "Blender", "Blind", "Blinds", "BlindsClosed", "Block", "Bloodtype", "Bluetooth", "BluetoothAudio", "BluetoothConnected", "BluetoothDisabled", "BluetoothDrive", "BluetoothSearching", "BlurCircular", "BlurLinear", "BlurOff", "BlurOn", "Bolt", "Book", "BookOnline", "Bookmark", "BookmarkAdd", "BookmarkAdded", "BookmarkBorder", "BookmarkRemove", "Bookmarks", "BorderAll", "BorderBottom", "BorderClear", "BorderColor", "BorderHorizontal", "BorderInner", "BorderLeft", "BorderOuter", "BorderRight", "BorderStyle", "BorderTop", "BorderVertical", "Boy", "BrandingWatermark", "BreakfastDining", "Brightness1", "Brightness2", "Brightness3", "Brightness4", "Brightness5", "Brightness6", "Brightness7", "BrightnessAuto", "BrightnessHigh", "BrightnessLow", "BrightnessMedium", "BroadcastOnHome", "BroadcastOnPersonal", "BrokenImage", "BrowseGallery", "BrowserNotSupported", "BrowserUpdated", "BrunchDining", "Brush", "BubbleChart", "BugReport", "Build", "BuildCircle", "Bungalow", "BurstMode", "BusAlert", "Business", "BusinessCenter", "Cabin", "Cable", "Cached", "Cake", "Calculate", "CalendarMonth", "CalendarToday", "CalendarViewDay", "CalendarViewMonth", "CalendarViewWeek", "Call", "CallEnd", "CallMade", "CallMerge", "CallMissed", "CallMissedOutgoing", "CallReceived", "CallSplit", "CallToAction", "Camera", "CameraAlt", "CameraEnhance", "CameraFront", "CameraIndoor", "CameraOutdoor", "CameraRear", "CameraRoll", "Cameraswitch", "Campaign", "Cancel", "CancelPresentation", "CancelScheduleSend", "CandlestickChart", "CarCrash", "CarRental", "CarRepair", "CardGiftcard", "CardMembership", "CardTravel", "Carpenter", "Cases", "Casino", "Cast", "CastConnected", "CastForEducation", "Castle", "CatchingPokemon", "Category", "Celebration", "CellTower", "CellWifi", "CenterFocusStrong", "CenterFocusWeak", "Chair", "ChairAlt", "Chalet", "ChangeCircle", "ChangeHistory", "ChargingStation", "Chat", "ChatBubble", "ChatBubbleOutline", "Check", "CheckBox", "CheckBoxOutlineBlank", "CheckCircle", "CheckCircleOutline", "Checklist", "ChecklistRtl", "Checkroom", "ChevronLeft", "ChevronRight", "ChildCare", "ChildFriendly", "ChromeReaderMode", "Church", "Circle", "CircleNotifications", "Class", "CleanHands", "CleaningServices", "Clear", "ClearAll", "Close", "CloseFullscreen", "ClosedCaption", "ClosedCaptionDisabled", "ClosedCaptionOff", "Cloud", "CloudCircle", "CloudDone", "CloudDownload", "CloudOff", "CloudQueue", "CloudSync", "CloudUpload", "Co2", "CoPresent", "Code", "CodeOff", "Coffee", "CoffeeMaker", "Collections", "CollectionsBookmark", "ColorLens", "Colorize", "Comment", "CommentBank", "CommentsDisabled", "Commit", "Commute", "Compare", "CompareArrows", "CompassCalibration", "Compress", "Computer", "ConfirmationNumber", "ConnectWithoutContact", "ConnectedTv", "ConnectingAirports", "Construction", "ContactEmergency", "ContactMail", "ContactPage", "ContactPhone", "ContactSupport", "Contactless", "Contacts", "ContentCopy", "ContentCut", "ContentPaste", "ContentPasteGo", "ContentPasteOff", "ContentPasteSearch", "Contrast", "ControlCamera", "ControlPoint", "ControlPointDuplicate", "Cookie", "CopyAll", "Copyright", "Coronavirus", "CorporateFare", "Cottage", "Countertops", "Create", "CreateNewFolder", "CreditCard", "CreditCardOff", "CreditScore", "Crib", "CrisisAlert", "Crop", "Crop169", "Crop32", "Crop54", "Crop75", "CropDin", "CropFree", "CropLandscape", "CropOriginal", "CropPortrait", "CropRotate", "CropSquare", "Css", "CurrencyBitcoin", "CurrencyExchange", "CurrencyFranc", "CurrencyLira", "CurrencyPound", "CurrencyRuble", "CurrencyRupee", "CurrencyYen", "CurrencyYuan", "Curtains", "CurtainsClosed", "Cyclone", "Dangerous", "DarkMode", "Dashboard", "DashboardCustomize", "DataArray", "DataObject", "DataSaverOff", "DataSaverOn", "DataThresholding", "DataUsage", "Dataset", "DatasetLinked", "DateRange", "Deblur", "Deck", "Dehaze", "Delete", "DeleteForever", "DeleteOutline", "DeleteSweep", "DeliveryDining", "DensityLarge", "DensityMedium", "DensitySmall", "DepartureBoard", "Description", "Deselect", "DesignServices", "Desk", "DesktopAccessDisabled", "DesktopMac", "DesktopWindows", "Details", "DeveloperBoard", "DeveloperBoardOff", "DeveloperMode", "DeviceHub", "DeviceThermostat", "DeviceUnknown", "Devices", "DevicesFold", "DevicesOther", "DialerSip", "Dialpad", "Diamond", "Difference", "Dining", "DinnerDining", "Directions", "DirectionsBike", "DirectionsBoat", "DirectionsBoatFilled", "DirectionsBus", "DirectionsBusFilled", "DirectionsCar", "DirectionsCarFilled", "DirectionsOff", "DirectionsRailway", "DirectionsRailwayFilled", "DirectionsRun", "DirectionsSubway", "DirectionsSubwayFilled", "DirectionsTransit", "DirectionsTransitFilled", "DirectionsWalk", "DirtyLens", "DisabledByDefault", "DiscFull", "Discount", "DisplaySettings", "Diversity1", "Diversity2", "Diversity3", "Dns", "DoDisturb", "DoDisturbAlt", "DoDisturbOff", "DoDisturbOn", "DoNotDisturb", "DoNotDisturbAlt", "DoNotDisturbOff", "DoNotDisturbOn", "DoNotDisturbOnTotalSilence", "DoNotStep", "DoNotTouch", "Dock", "DocumentScanner", "Domain", "DomainAdd", "DomainDisabled", "DomainVerification", "Done", "DoneAll", "DoneOutline", "DonutLarge", "DonutSmall", "DoorBack", "DoorFront", "DoorSliding", "Doorbell", "DoubleArrow", "DownhillSkiing", "Download", "DownloadDone", "DownloadForOffline", "Downloading", "Drafts", "DragHandle", "DragIndicator", "Draw", "DriveEta", "DriveFileMove", "DriveFileRenameOutline", "DriveFolderUpload", "Dry", "DryCleaning", "Duo", "Dvr", "DynamicFeed", "DynamicForm", "EMobiledata", "Earbuds", "EarbudsBattery", "East", "EdgesensorHigh", "EdgesensorLow", "Edit", "EditAttributes", "EditCalendar", "EditLocation", "EditLocationAlt", "EditNote", "EditNotifications", "EditOff", "EditRoad", "Egg", "EggAlt", "EightK", "EightKPlus", "EightMp", "EighteenMp", "EighteenUpRating", "EightteenMp", "Eject", "Elderly", "ElderlyWoman", "ElectricBike", "ElectricBolt", "ElectricCar", "ElectricMeter", "ElectricMoped", "ElectricRickshaw", "ElectricScooter", "ElectricalServices", "Elevator", "ElevenMp", "Email", "EmergencyRecording", "EmergencyShare", "EmojiEmotions", "EmojiEvents", "EmojiFlags", "EmojiFoodBeverage", "EmojiNature", "EmojiObjects", "EmojiPeople", "EmojiSymbols", "EmojiTransportation", "EnergySavingsLeaf", "Engineering", "EnhancedEncryption", "Equalizer", "Error", "ErrorOutline", "Escalator", "EscalatorWarning", "Euro", "EuroSymbol", "EvStation", "Event", "EventAvailable", "EventBusy", "EventNote", "EventRepeat", "EventSeat", "ExitToApp", "Expand", "ExpandCircleDown", "ExpandLess", "ExpandMore", "Explicit", "Explore", "ExploreOff", "Exposure", "Extension", "ExtensionOff", "Face", "Face2", "Face3", "Face4", "Face5", "Face6", "FaceRetouchingNatural", "FaceRetouchingOff", "Facebook", "FactCheck", "Factory", "FamilyRestroom", "FastForward", "FastRewind", "Fastfood", "Favorite", "FavoriteBorder", "Fax", "FeaturedPlayList", "FeaturedVideo", "Feed", "Feedback", "Female", "Fence", "Festival", "FiberDvr", "FiberManualRecord", "FiberNew", "FiberPin", "FiberSmartRecord", "FifteenMp", "FileCopy", "FileDownload", "FileDownloadDone", "FileDownloadOff", "FileOpen", "FilePresent", "FileUpload", "Filter", "Filter1", "Filter2", "Filter3", "Filter4", "Filter5", "Filter6", "Filter7", "Filter8", "Filter9", "Filter9Plus", "FilterAlt", "FilterAltOff", "FilterBAndW", "FilterCenterFocus", "FilterDrama", "FilterFrames", "FilterHdr", "FilterList", "FilterListOff", "FilterNone", "FilterTiltShift", "FilterVintage", "FindInPage", "FindReplace", "Fingerprint", "FireExtinguisher", "FireHydrantAlt", "FireTruck", "Fireplace", "FirstPage", "FitScreen", "Fitbit", "FitnessCenter", "FiveG", "FiveK", "FiveKPlus", "FiveMp", "FivteenMp", "Flag", "FlagCircle", "Flaky", "Flare", "FlashAuto", "FlashOff", "FlashOn", "FlashlightOff", "FlashlightOn", "Flatware", "Flight", "FlightClass", "FlightLand", "FlightTakeoff", "Flip", "FlipCameraAndroid", "FlipCameraIos", "FlipToBack", "FlipToFront", "Flood", "Fluorescent", "FlutterDash", "FmdBad", "FmdGood", "Folder", "FolderCopy", "FolderDelete", "FolderOff", "FolderOpen", "FolderShared", "FolderSpecial", "FolderZip", "FollowTheSigns", "FontDownload", "FontDownloadOff", "FoodBank", "Forest", "ForkLeft", "ForkRight", "FormatAlignCenter", "FormatAlignJustify", "FormatAlignLeft", "FormatAlignRight", "FormatBold", "FormatClear", "FormatColorFill", "FormatColorReset", "FormatColorText", "FormatIndentDecrease", "FormatIndentIncrease", "FormatItalic", "FormatLineSpacing", "FormatListBulleted", "FormatListNumbered", "FormatListNumberedRtl", "FormatOverline", "FormatPaint", "FormatQuote", "FormatShapes", "FormatSize", "FormatStrikethrough", "FormatTextdirectionLToR", "FormatTextdirectionRToL", "FormatUnderlined", "Fort", "Forum", "Forward", "Forward10", "Forward30", "Forward5", "ForwardToInbox", "Foundation", "FourGMobiledata", "FourGPlusMobiledata", "FourK", "FourKPlus", "FourMp", "FourteenMp", "FreeBreakfast", "Fullscreen", "FullscreenExit", "Functions", "GMobiledata", "GTranslate", "Gamepad", "Games", "Garage", "GasMeter", "Gavel", "Gesture", "GetApp", "Gif", "GifBox", "Girl", "GitHub", "Gite", "GolfCourse", "Google", "GppBad", "GppGood", "GppMaybe", "GpsFixed", "GpsNotFixed", "GpsOff", "Grade", "Gradient", "Grading", "Grain", "GraphicEq", "Grass", "Grid3x3", "Grid4x4", "GridGoldenratio", "GridOff", "GridOn", "GridView", "Group", "GroupAdd", "GroupRemove", "GroupWork", "Groups", "Groups2", "Groups3", "HMobiledata", "HPlusMobiledata", "Hail", "Handshake", "Handyman", "Hardware", "Hd", "HdrAuto", "HdrAutoSelect", "HdrEnhancedSelect", "HdrOff", "HdrOffSelect", "HdrOn", "HdrOnSelect", "HdrPlus", "HdrStrong", "HdrWeak", "Headphones", "HeadphonesBattery", "Headset", "HeadsetMic", "HeadsetOff", "Healing", "HealthAndSafety", "Hearing", "HearingDisabled", "HeartBroken", "HeatPump", "Height", "Help", "HelpCenter", "HelpOutline", "Hevc", "Hexagon", "HideImage", "HideSource", "HighQuality", "Highlight", "HighlightAlt", "HighlightOff", "Hiking", "History", "HistoryEdu", "HistoryToggleOff", "Hive", "Hls", "HlsOff", "HolidayVillage", "Home", "HomeMax", "HomeMini", "HomeRepairService", "HomeWork", "HorizontalRule", "HorizontalSplit", "HotTub", "Hotel", "HourglassBottom", "HourglassDisabled", "HourglassEmpty", "HourglassFull", "HourglassTop", "House", "HouseSiding", "Houseboat", "HowToReg", "HowToVote", "Html", "Http", "Https", "Hub", "Hvac", "IceSkating", "Icecream", "Image", "ImageAspectRatio", "ImageNotSupported", "ImageSearch", "ImagesearchRoller", "ImportContacts", "ImportExport", "ImportantDevices", "Inbox", "IndeterminateCheckBox", "Info", "Input", "InsertChart", "InsertComment", "InsertDriveFile", "InsertEmoticon", "InsertInvitation", "InsertLink", "InsertPageBreak", "InsertPhoto", "Insights", "Instagram", "InstallDesktop", "InstallMobile", "IntegrationInstructions", "Interests", "InterpreterMode", "Inventory", "Inventory2", "InvertColors", "InvertColorsOff", "IosShare", "Iron", "Iso", "Javascript", "JoinFull", "JoinInner", "JoinLeft", "JoinRight", "Kayaking", "KebabDining", "Key", "KeyOff", "Keyboard", "KeyboardAlt", "KeyboardArrowDown", "KeyboardArrowLeft", "KeyboardArrowRight", "KeyboardArrowUp", "KeyboardBackspace", "KeyboardCapslock", "KeyboardCommandKey", "KeyboardControlKey", "KeyboardDoubleArrowDown", "KeyboardDoubleArrowLeft", "KeyboardDoubleArrowRight", "KeyboardDoubleArrowUp", "KeyboardHide", "KeyboardOptionKey", "KeyboardReturn", "KeyboardTab", "KeyboardVoice", "KingBed", "Kitchen", "Kitesurfing", "Label", "LabelImportant", "LabelOff", "Lan", "Landscape", "Landslide", "Language", "Laptop", "LaptopChromebook", "LaptopMac", "LaptopWindows", "LastPage", "Launch", "Layers", "LayersClear", "Leaderboard", "LeakAdd", "LeakRemove", "LegendToggle", "Lens", "LensBlur", "LibraryAdd", "LibraryAddCheck", "LibraryBooks", "LibraryMusic", "Light", "LightMode", "Lightbulb", "LightbulbCircle", "LineAxis", "LineStyle", "LineWeight", "LinearScale", "Link", "LinkOff", "LinkedCamera", "LinkedIn", "Liquor", "List", "ListAlt", "LiveHelp", "LiveTv", "Living", "LocalActivity", "LocalAirport", "LocalAtm", "LocalBar", "LocalCafe", "LocalCarWash", "LocalConvenienceStore", "LocalDining", "LocalDrink", "LocalFireDepartment", "LocalFlorist", "LocalGasStation", "LocalGroceryStore", "LocalHospital", "LocalHotel", "LocalLaundryService", "LocalLibrary", "LocalMall", "LocalMovies", "LocalOffer", "LocalParking", "LocalPharmacy", "LocalPhone", "LocalPizza", "LocalPlay", "LocalPolice", "LocalPostOffice", "LocalPrintshop", "LocalSee", "LocalShipping", "LocalTaxi", "LocationCity", "LocationDisabled", "LocationOff", "LocationOn", "LocationSearching", "Lock", "LockClock", "LockOpen", "LockPerson", "LockReset", "Login", "LogoDev", "Logout", "Looks", "Looks3", "Looks4", "Looks5", "Looks6", "LooksOne", "LooksTwo", "Loop", "Loupe", "LowPriority", "Loyalty", "LteMobiledata", "LtePlusMobiledata", "Luggage", "LunchDining", "Lyrics", "MacroOff", "Mail", "MailLock", "MailOutline", "Male", "Man", "Man2", "Man3", "Man4", "ManageAccounts", "ManageHistory", "ManageSearch", "Map", "MapsHomeWork", "MapsUgc", "Margin", "MarkAsUnread", "MarkChatRead", "MarkChatUnread", "MarkEmailRead", "MarkEmailUnread", "MarkUnreadChatAlt", "Markunread", "MarkunreadMailbox", "Masks", "Maximize", "MediaBluetoothOff", "MediaBluetoothOn", "Mediation", "MedicalInformation", "MedicalServices", "Medication", "MedicationLiquid", "MeetingRoom", "Memory", "Menu", "MenuBook", "MenuOpen", "Merge", "MergeType", "Message", "Mic", "MicExternalOff", "MicExternalOn", "MicNone", "MicOff", "Microsoft", "Microwave", "MilitaryTech", "Minimize", "MinorCrash", "MiscellaneousServices", "MissedVideoCall", "Mms", "MobileFriendly", "MobileOff", "MobileScreenShare", "MobiledataOff", "Mode", "ModeComment", "ModeEdit", "ModeEditOutline", "ModeFanOff", "ModeNight", "ModeOfTravel", "ModeStandby", "ModelTraining", "MonetizationOn", "Money", "MoneyOff", "MoneyOffCsred", "Monitor", "MonitorHeart", "MonitorWeight", "MonochromePhotos", "Mood", "MoodBad", "Moped", "More", "MoreHoriz", "MoreTime", "MoreVert", "Mosque", "MotionPhotosAuto", "MotionPhotosOff", "Mouse", "MoveDown", "MoveToInbox", "MoveUp", "Movie", "MovieCreation", "MovieFilter", "Moving", "Mp", "MultilineChart", "MultipleStop", "Museum", "MusicNote", "MusicOff", "MusicVideo", "MyLocation", "Nat", "Nature", "NaturePeople", "NavigateBefore", "NavigateNext", "Navigation", "NearMe", "NearMeDisabled", "NearbyError", "NearbyOff", "NestCamWiredStand", "NetworkCell", "NetworkCheck", "NetworkLocked", "NetworkPing", "NetworkWifi", "NetworkWifi1Bar", "NetworkWifi2Bar", "NetworkWifi3Bar", "NewReleases", "Newspaper", "NextPlan", "NextWeek", "Nfc", "NightShelter", "Nightlife", "Nightlight", "NightlightRound", "NightsStay", "NineK", "NineKPlus", "NineMp", "NineteenMp", "NoAccounts", "NoAdultContent", "NoBackpack", "NoCell", "NoCrash", "NoDrinks", "NoEncryption", "NoEncryptionGmailerrorred", "NoFlash", "NoFood", "NoLuggage", "NoMeals", "NoMeetingRoom", "NoPhotography", "NoSim", "NoStroller", "NoTransfer", "NoiseAware", "NoiseControlOff", "NordicWalking", "North", "NorthEast", "NorthWest", "NotAccessible", "NotInterested", "NotListedLocation", "NotStarted", "Note", "NoteAdd", "NoteAlt", "Notes", "NotificationAdd", "NotificationImportant", "Notifications", "NotificationsActive", "NotificationsNone", "NotificationsOff", "NotificationsPaused", "Numbers", "OfflineBolt", "OfflinePin", "OfflineShare", "OilBarrel", "OnDeviceTraining", "OndemandVideo", "OneK", "OneKPlus", "OneKk", "OnlinePrediction", "Opacity", "OpenInBrowser", "OpenInFull", "OpenInNew", "OpenInNewOff", "OpenWith", "OtherHouses", "Outbound", "Outbox", "OutdoorGrill", "Outlet", "Output", "Padding", "Pages", "Pageview", "Paid", "Palette", "PanTool", "PanToolAlt", "Panorama", "PanoramaFishEye", "PanoramaHorizontal", "PanoramaHorizontalSelect", "PanoramaPhotosphere", "PanoramaPhotosphereSelect", "PanoramaVertical", "PanoramaVerticalSelect", "PanoramaWideAngle", "PanoramaWideAngleSelect", "Paragliding", "Park", "PartyMode", "Password", "Pattern", "Pause", "PauseCircle", "PauseCircleFilled", "PauseCircleOutline", "PausePresentation", "Payment", "Payments", "PedalBike", "Pending", "PendingActions", "Pentagon", "People", "PeopleAlt", "PeopleOutline", "Percent", "PermCameraMic", "PermContactCalendar", "PermDataSetting", "PermDeviceInformation", "PermIdentity", "PermMedia", "PermPhoneMsg", "PermScanWifi", "Person", "Person2", "Person3", "Person4", "PersonAdd", "PersonAddAlt", "PersonAddAlt1", "PersonAddDisabled", "PersonOff", "PersonOutline", "PersonPin", "PersonPinCircle", "PersonRemove", "PersonRemoveAlt1", "PersonSearch", "PersonalVideo", "PestControl", "PestControlRodent", "Pets", "Phishing", "Phone", "PhoneAndroid", "PhoneBluetoothSpeaker", "PhoneCallback", "PhoneDisabled", "PhoneEnabled", "PhoneForwarded", "PhoneInTalk", "PhoneIphone", "PhoneLocked", "PhoneMissed", "PhonePaused", "Phonelink", "PhonelinkErase", "PhonelinkLock", "PhonelinkOff", "PhonelinkRing", "PhonelinkSetup", "Photo", "PhotoAlbum", "PhotoCamera", "PhotoCameraBack", "PhotoCameraFront", "PhotoFilter", "PhotoLibrary", "PhotoSizeSelectActual", "PhotoSizeSelectLarge", "PhotoSizeSelectSmall", "Php", "Piano", "PianoOff", "PictureAsPdf", "PictureInPicture", "PictureInPictureAlt", "PieChart", "PieChartOutline", "Pin", "PinDrop", "Pinch", "Pinterest", "PivotTableChart", "Pix", "Place", "Plagiarism", "PlayArrow", "PlayCircle", "PlayCircleFilled", "PlayCircleFilledWhite", "PlayCircleOutline", "PlayDisabled", "PlayForWork", "PlayLesson", "PlaylistAdd", "PlaylistAddCheck", "PlaylistAddCheckCircle", "PlaylistAddCircle", "PlaylistPlay", "PlaylistRemove", "Plumbing", "PlusOne", "Podcasts", "PointOfSale", "Policy", "Poll", "Polyline", "Pool", "PortableWifiOff", "Portrait", "PostAdd", "Power", "PowerInput", "PowerOff", "PowerSettingsNew", "PrecisionManufacturing", "PregnantWoman", "PresentToAll", "Preview", "PriceChange", "PriceCheck", "Print", "PrintDisabled", "PriorityHigh", "PrivacyTip", "ProductionQuantityLimits", "Propane", "PropaneTank", "Psychology", "PsychologyAlt", "Public", "PublicOff", "Publish", "PublishedWithChanges", "PunchClock", "PushPin", "QrCode", "QrCode2", "QrCodeScanner", "QueryBuilder", "QueryStats", "QuestionAnswer", "QuestionMark", "Queue", "QueueMusic", "QueuePlayNext", "Quickreply", "Quiz", "RMobiledata", "Radar", "Radio", "RadioButtonChecked", "RadioButtonUnchecked", "RailwayAlert", "RamenDining", "RampLeft", "RampRight", "RateReview", "RawOff", "RawOn", "ReadMore", "Receipt", "ReceiptLong", "RecentActors", "Recommend", "RecordVoiceOver", "Rectangle", "Recycling", "Reddit", "Redeem", "Redo", "ReduceCapacity", "Refresh", "RememberMe", "Remove", "RemoveCircle", "RemoveCircleOutline", "RemoveDone", "RemoveFromQueue", "RemoveModerator", "RemoveRedEye", "RemoveRoad", "RemoveShoppingCart", "Reorder", "Repartition", "Repeat", "RepeatOn", "RepeatOne", "RepeatOneOn", "Replay", "Replay10", "Replay30", "Replay5", "ReplayCircleFilled", "Reply", "ReplyAll", "Report", "ReportGmailerrorred", "ReportOff", "ReportProblem", "RequestPage", "RequestQuote", "ResetTv", "RestartAlt", "Restaurant", "RestaurantMenu", "Restore", "RestoreFromTrash", "RestorePage", "Reviews", "RiceBowl", "RingVolume", "Rocket", "RocketLaunch", "RollerShades", "RollerShadesClosed", "RollerSkating", "Roofing", "Room", "RoomPreferences", "RoomService", "Rotate90DegreesCcw", "Rotate90DegreesCw", "RotateLeft", "RotateRight", "RoundaboutLeft", "RoundaboutRight", "Route", "Router", "Rowing", "RssFeed", "Rsvp", "Rtt", "Rule", "RuleFolder", "RunCircle", "RunningWithErrors", "RvHookup", "SafetyCheck", "SafetyDivider", "Sailing", "Sanitizer", "Satellite", "SatelliteAlt", "Save", "SaveAlt", "SaveAs", "SavedSearch", "Savings", "Scale", "Scanner", "ScatterPlot", "Schedule", "ScheduleSend", "Schema", "School", "Science", "Score", "Scoreboard", "ScreenLockLandscape", "ScreenLockPortrait", "ScreenLockRotation", "ScreenRotation", "ScreenRotationAlt", "ScreenSearchDesktop", "ScreenShare", "Screenshot", "ScreenshotMonitor", "ScubaDiving", "Sd", "SdCard", "SdCardAlert", "SdStorage", "Search", "SearchOff", "Security", "SecurityUpdate", "SecurityUpdateGood", "SecurityUpdateWarning", "Segment", "SelectAll", "SelfImprovement", "Sell", "Send", "SendAndArchive", "SendTimeExtension", "SendToMobile", "SensorDoor", "SensorOccupied", "SensorWindow", "Sensors", "SensorsOff", "SentimentDissatisfied", "SentimentNeutral", "SentimentSatisfied", "SentimentSatisfiedAlt", "SentimentVeryDissatisfied", "SentimentVerySatisfied", "SetMeal", "Settings", "SettingsAccessibility", "SettingsApplications", "SettingsBackupRestore", "SettingsBluetooth", "SettingsBrightness", "SettingsCell", "SettingsEthernet", "SettingsInputAntenna", "SettingsInputComponent", "SettingsInputComposite", "SettingsInputHdmi", "SettingsInputSvideo", "SettingsOverscan", "SettingsPhone", "SettingsPower", "SettingsRemote", "SettingsSuggest", "SettingsSystemDaydream", "SettingsVoice", "SevenK", "SevenKPlus", "SevenMp", "SeventeenMp", "SevereCold", "ShapeLine", "Share", "ShareLocation", "Shield", "ShieldMoon", "Shop", "Shop2", "ShopTwo", "ShoppingBag", "ShoppingBasket", "ShoppingCart", "ShoppingCartCheckout", "ShortText", "Shortcut", "ShowChart", "Shower", "Shuffle", "ShuffleOn", "ShutterSpeed", "Sick", "SignLanguage", "SignalCellular0Bar", "SignalCellular1Bar", "SignalCellular2Bar", "SignalCellular3Bar", "SignalCellular4Bar", "SignalCellularAlt", "SignalCellularAlt1Bar", "SignalCellularAlt2Bar", "SignalCellularConnectedNoInternet0Bar", "SignalCellularConnectedNoInternet1Bar", "SignalCellularConnectedNoInternet2Bar", "SignalCellularConnectedNoInternet3Bar", "SignalCellularConnectedNoInternet4Bar", "SignalCellularNoSim", "SignalCellularNodata", "SignalCellularNull", "SignalCellularOff", "SignalWifi0Bar", "SignalWifi1Bar", "SignalWifi1BarLock", "SignalWifi2Bar", "SignalWifi2BarLock", "SignalWifi3Bar", "SignalWifi3BarLock", "SignalWifi4Bar", "SignalWifi4BarLock", "SignalWifiBad", "SignalWifiConnectedNoInternet4", "SignalWifiOff", "SignalWifiStatusbar4Bar", "SignalWifiStatusbarConnectedNoInternet4", "SignalWifiStatusbarNull", "Signpost", "SimCard", "SimCardAlert", "SimCardDownload", "SingleBed", "Sip", "SixK", "SixKPlus", "SixMp", "SixteenMp", "SixtyFps", "SixtyFpsSelect", "Skateboarding", "SkipNext", "SkipPrevious", "Sledding", "Slideshow", "SlowMotionVideo", "SmartButton", "SmartDisplay", "SmartScreen", "SmartToy", "Smartphone", "SmokeFree", "SmokingRooms", "Sms", "SmsFailed", "SnippetFolder", "Snooze", "Snowboarding", "Snowmobile", "Snowshoeing", "Soap", "SocialDistance", "SolarPower", "Sort", "SortByAlpha", "Sos", "SoupKitchen", "Source", "South", "SouthAmerica", "SouthEast", "SouthWest", "Spa", "SpaceBar", "SpaceDashboard", "SpatialAudio", "SpatialAudioOff", "SpatialTracking", "Speaker", "SpeakerGroup", "SpeakerNotes", "SpeakerNotesOff", "SpeakerPhone", "Speed", "Spellcheck", "Splitscreen", "Spoke", "Sports", "SportsBar", "SportsBaseball", "SportsBasketball", "SportsCricket", "SportsEsports", "SportsFootball", "SportsGolf", "SportsGymnastics", "SportsHandball", "SportsHockey", "SportsKabaddi", "SportsMartialArts", "SportsMma", "SportsMotorsports", "SportsRugby", "SportsScore", "SportsSoccer", "SportsTennis", "SportsVolleyball", "Square", "SquareFoot", "SsidChart", "StackedBarChart", "StackedLineChart", "Stadium", "Stairs", "Star", "StarBorder", "StarBorderPurple500", "StarHalf", "StarOutline", "StarPurple500", "StarRate", "Stars", "Start", "StayCurrentLandscape", "StayCurrentPortrait", "StayPrimaryLandscape", "StayPrimaryPortrait", "StickyNote2", "Stop", "StopCircle", "StopScreenShare", "Storage", "Store", "StoreMallDirectory", "Storefront", "Storm", "Straight", "Straighten", "Stream", "Streetview", "StrikethroughS", "Stroller", "Style", "SubdirectoryArrowLeft", "SubdirectoryArrowRight", "Subject", "Subscript", "Subscriptions", "Subtitles", "SubtitlesOff", "Subway", "Summarize", "Superscript", "SupervisedUserCircle", "SupervisorAccount", "Support", "SupportAgent", "Surfing", "SurroundSound", "SwapCalls", "SwapHoriz", "SwapHorizontalCircle", "SwapVert", "SwapVerticalCircle", "Swipe", "SwipeDown", "SwipeDownAlt", "SwipeLeft", "SwipeLeftAlt", "SwipeRight", "SwipeRightAlt", "SwipeUp", "SwipeUpAlt", "SwipeVertical", "SwitchAccessShortcut", "SwitchAccessShortcutAdd", "SwitchAccount", "SwitchCamera", "SwitchLeft", "SwitchRight", "SwitchVideo", "Synagogue", "Sync", "SyncAlt", "SyncDisabled", "SyncLock", "SyncProblem", "SystemSecurityUpdate", "SystemSecurityUpdateGood", "SystemSecurityUpdateWarning", "SystemUpdate", "SystemUpdateAlt", "Tab", "TabUnselected", "TableBar", "TableChart", "TableRestaurant", "TableRows", "TableView", "Tablet", "TabletAndroid", "TabletMac", "Tag", "TagFaces", "TakeoutDining", "TapAndPlay", "Tapas", "Task", "TaskAlt", "TaxiAlert", "Telegram", "TempleBuddhist", "TempleHindu", "TenMp", "Terminal", "Terrain", "TextDecrease", "TextFields", "TextFormat", "TextIncrease", "TextRotateUp", "TextRotateVertical", "TextRotationAngledown", "TextRotationAngleup", "TextRotationDown", "TextRotationNone", "TextSnippet", "Textsms", "Texture", "TheaterComedy", "Theaters", "Thermostat", "ThermostatAuto", "ThirteenMp", "ThirtyFps", "ThirtyFpsSelect", "ThreeDRotation", "ThreeGMobiledata", "ThreeK", "ThreeKPlus", "ThreeMp", "ThreeP", "ThreeSixty", "ThumbDown", "ThumbDownAlt", "ThumbDownOffAlt", "ThumbUp", "ThumbUpAlt", "ThumbUpOffAlt", "ThumbsUpDown", "Thunderstorm", "TimeToLeave", "Timelapse", "Timeline", "Timer", "Timer10", "Timer10Select", "Timer3", "Timer3Select", "TimerOff", "TimesOneMobiledata", "TipsAndUpdates", "TireRepair", "Title", "Toc", "Today", "ToggleOff", "ToggleOn", "Token", "Toll", "Tonality", "Topic", "Tornado", "TouchApp", "Tour", "Toys", "TrackChanges", "Traffic", "Train", "Tram", "Transcribe", "TransferWithinAStation", "Transform", "Transgender", "TransitEnterexit", "Translate", "TravelExplore", "TrendingDown", "TrendingFlat", "TrendingUp", "TripOrigin", "Troubleshoot", "Try", "Tsunami", "Tty", "Tune", "Tungsten", "TurnLeft", "TurnRight", "TurnSlightLeft", "TurnSlightRight", "TurnedIn", "TurnedInNot", "Tv", "TvOff", "TwelveMp", "TwentyFourMp", "TwentyOneMp", "TwentyThreeMp", "TwentyTwoMp", "TwentyZeroMp", "Twitter", "TwoK", "TwoKPlus", "TwoMp", "TwoWheeler", "TypeSpecimen", "UTurnLeft", "UTurnRight", "Umbrella", "Unarchive", "Undo", "UnfoldLess", "UnfoldLessDouble", "UnfoldMore", "UnfoldMoreDouble", "Unpublished", "Unsubscribe", "Upcoming", "Update", "UpdateDisabled", "Upgrade", "Upload", "UploadFile", "Usb", "UsbOff", "Vaccines", "VapeFree", "VapingRooms", "Verified", "VerifiedUser", "VerticalAlignBottom", "VerticalAlignCenter", "VerticalAlignTop", "VerticalShades", "VerticalShadesClosed", "VerticalSplit", "Vibration", "VideoCall", "VideoCameraBack", "VideoCameraFront", "VideoChat", "VideoFile", "VideoLabel", "VideoLibrary", "VideoSettings", "VideoStable", "Videocam", "VideocamOff", "VideogameAsset", "VideogameAssetOff", "ViewAgenda", "ViewArray", "ViewCarousel", "ViewColumn", "ViewComfy", "ViewComfyAlt", "ViewCompact", "ViewCompactAlt", "ViewCozy", "ViewDay", "ViewHeadline", "ViewInAr", "ViewKanban", "ViewList", "ViewModule", "ViewQuilt", "ViewSidebar", "ViewStream", "ViewTimeline", "ViewWeek", "Vignette", "Villa", "Visibility", "VisibilityOff", "VoiceChat", "VoiceOverOff", "Voicemail", "Volcano", "VolumeDown", "VolumeMute", "VolumeOff", "VolumeUp", "VolunteerActivism", "VpnKey", "VpnKeyOff", "VpnLock", "Vrpano", "Wallet", "Wallpaper", "Warehouse", "Warning", "WarningAmber", "Wash", "Watch", "WatchLater", "WatchOff", "Water", "WaterDamage", "WaterDrop", "WaterfallChart", "Waves", "WavingHand", "WbAuto", "WbCloudy", "WbIncandescent", "WbIridescent", "WbShade", "WbSunny", "WbTwilight", "Wc", "Web", "WebAsset", "WebAssetOff", "WebStories", "Webhook", "Weekend", "West", "WhatsApp", "Whatshot", "WheelchairPickup", "WhereToVote", "Widgets", "WidthFull", "WidthNormal", "WidthWide", "Wifi", "Wifi1Bar", "Wifi2Bar", "WifiCalling", "WifiCalling3", "WifiChannel", "WifiFind", "WifiLock", "WifiOff", "WifiPassword", "WifiProtectedSetup", "WifiTethering", "WifiTetheringError", "WifiTetheringOff", "WindPower", "Window", "WineBar", "Woman", "Woman2", "Work", "WorkHistory", "WorkOff", "WorkOutline", "WorkspacePremium", "Workspaces", "WrapText", "WrongLocation", "Wysiwyg", "Yard", "YouTube", "YoutubeSearchedFor", "ZoomIn", "ZoomInMap", "ZoomOut", "ZoomOutMap"];
|
2
|
+
export default MUIFilledIcons;
|
@@ -320,10 +320,14 @@ export class TableUtil {
|
|
320
320
|
const [tableNode] = Editor.nodes(this.editor, {
|
321
321
|
match: n => !Editor.isEditor(n) && Element.isElement(n) && n.type === "table"
|
322
322
|
});
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
323
|
+
|
324
|
+
// const [, tableCellPath] = Editor.nodes(this.editor, {
|
325
|
+
// at: selection,
|
326
|
+
// match: (n) =>
|
327
|
+
// !Editor.isEditor(n) &&
|
328
|
+
// Element.isElement(n) &&
|
329
|
+
// n.type === "table-cell",
|
330
|
+
// });
|
327
331
|
const {
|
328
332
|
anchor,
|
329
333
|
focus
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@flozy/editor",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.6.1",
|
4
4
|
"description": "An Editor for flozy app brain",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -58,11 +58,11 @@
|
|
58
58
|
"prepare": "husky install .husky",
|
59
59
|
"lint": "./node_modules/.bin/eslint --ignore-path .gitignore .",
|
60
60
|
"start": "craco start",
|
61
|
-
"build": "craco build",
|
61
|
+
"build": "NODE_OPTIONS='--max_old_space_size=4096' craco build",
|
62
62
|
"test": "craco test --passWithNoTests",
|
63
63
|
"eject": "react-scripts eject",
|
64
|
-
"storybook": "storybook dev -p 6006",
|
65
|
-
"build-storybook": "storybook build",
|
64
|
+
"storybook": "NODE_OPTIONS='--max_old_space_size=4096' storybook dev -p 6006",
|
65
|
+
"build-storybook": "NODE_OPTIONS='--max_old_space_size=4096' storybook build",
|
66
66
|
"publish:npm": "rm -rf dist && mkdir dist && babel src/components -d dist --copy-files",
|
67
67
|
"publish:local": "rm -rf /Users/agenciflow08/Documents/flozy/client/node_modules/@flozy/editor/dist && babel src/components -d /Users/agenciflow08/Documents/flozy/client/node_modules/@flozy/editor/dist --copy-files"
|
68
68
|
},
|