@flozy/editor 9.2.6 → 9.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Editor/ChatEditor.js +9 -33
- package/dist/Editor/CommonEditor.js +27 -117
- package/dist/Editor/DialogWrapper.js +25 -31
- package/dist/Editor/Editor.css +1 -19
- package/dist/Editor/Elements/AI/AIInput.js +3 -5
- package/dist/Editor/Elements/AI/CustomSelect.js +5 -9
- package/dist/Editor/Elements/AI/PopoverAIInput.js +2 -4
- package/dist/Editor/Elements/Accordion/Accordion.js +3 -4
- package/dist/Editor/Elements/Accordion/AccordionBtnPopup.js +1 -4
- package/dist/Editor/Elements/Accordion/AccordionButton.js +2 -6
- package/dist/Editor/Elements/Accordion/AccordionTitlePopup.js +1 -4
- package/dist/Editor/Elements/AppHeader/AppHeader.js +3 -3
- package/dist/Editor/Elements/AppHeader/AppHeaderButton.js +2 -6
- package/dist/Editor/Elements/AppHeader/AppHeaderPopup.js +1 -4
- package/dist/Editor/Elements/Attachments/AttachmentsButton.js +1 -4
- package/dist/Editor/Elements/Button/ButtonPopup.js +1 -4
- package/dist/Editor/Elements/Button/ButtonToolIcon.js +2 -6
- package/dist/Editor/Elements/Button/EditorButton.js +14 -31
- package/dist/Editor/Elements/Carousel/Carousel.js +4 -5
- package/dist/Editor/Elements/Carousel/CarouselButton.js +2 -6
- package/dist/Editor/Elements/Carousel/CarouselItem.js +2 -3
- package/dist/Editor/Elements/ChipText/ChipTextPopup.js +1 -4
- package/dist/Editor/Elements/CodeToText/CodeToText.js +4 -5
- package/dist/Editor/Elements/CodeToText/HtmlContextMenu.js +2 -6
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +12 -57
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +1 -25
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +5 -5
- package/dist/Editor/Elements/Color Picker/Styles.js +1 -1
- package/dist/Editor/Elements/Colorbox/ColorboxButton.js +2 -6
- package/dist/Editor/Elements/DataView/DataView.js +2 -5
- package/dist/Editor/Elements/DataView/DataViewButton.js +2 -6
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +1 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/Select.js +4 -3
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/styles.js +1 -6
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/DateType.js +9 -19
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseSort.js +12 -13
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/index.js +4 -7
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/index.js +5 -7
- package/dist/Editor/Elements/DataView/Layouts/FilterView.js +7 -9
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/AddProperty.js +3 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/AllProperties.js +5 -6
- package/dist/Editor/Elements/DataView/Layouts/Options/ChangeProperty.js +3 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +6 -7
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +12 -15
- package/dist/Editor/Elements/DataView/Layouts/Options/FilterProperty.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/PropertyList.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +6 -12
- package/dist/Editor/Elements/DataView/Layouts/TableStyles.js +2 -32
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +33 -132
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +3 -3
- package/dist/Editor/Elements/DataView/Layouts/index.js +1 -3
- package/dist/Editor/Elements/DataView/Providers/DataViewProvider.js +3 -6
- package/dist/Editor/Elements/DataView/styles.js +8 -8
- package/dist/Editor/Elements/Divider/Divider.js +3 -5
- package/dist/Editor/Elements/Divider/DividerButton.js +2 -6
- package/dist/Editor/Elements/Divider/DividerPopup.js +2 -3
- package/dist/Editor/Elements/Embed/Embed.js +1 -4
- package/dist/Editor/Elements/Embed/EmbedPopup.js +1 -4
- package/dist/Editor/Elements/Embed/Image.js +11 -16
- package/dist/Editor/Elements/Embed/Video.js +7 -10
- package/dist/Editor/Elements/EmbedScript/Code.js +4 -7
- package/dist/Editor/Elements/EmbedScript/EmbedScript.js +2 -6
- package/dist/Editor/Elements/EmbedScript/EmbedScriptPopup.js +5 -8
- package/dist/Editor/Elements/Emoji/EmojiButton.js +2 -6
- package/dist/Editor/Elements/Form/FieldPopup.js +1 -4
- package/dist/Editor/Elements/Form/Form.js +9 -12
- package/dist/Editor/Elements/Form/FormButton.js +2 -6
- package/dist/Editor/Elements/Form/FormPopup.js +2 -3
- package/dist/Editor/Elements/Form/Workflow/FormWorkflow.js +12 -18
- package/dist/Editor/Elements/Form/Workflow/ListWorkflow.js +8 -13
- package/dist/Editor/Elements/Form/Workflow/MoreOptions.js +2 -3
- package/dist/Editor/Elements/Form/Workflow/UserInputs.js +2 -4
- package/dist/Editor/Elements/Form/Workflow/index.js +9 -15
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +18 -21
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +2 -6
- package/dist/Editor/Elements/FreeGrid/FreeGridButton.js +2 -6
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +3 -8
- package/dist/Editor/Elements/FreeGrid/Options/AddElement.js +2 -3
- package/dist/Editor/Elements/FreeGrid/Options/More.js +3 -4
- package/dist/Editor/Elements/FreeGrid/styles.js +0 -3
- package/dist/Editor/Elements/Grid/Grid.js +10 -13
- package/dist/Editor/Elements/Grid/GridButton.js +5 -9
- package/dist/Editor/Elements/Grid/GridItem.js +10 -15
- package/dist/Editor/Elements/Grid/GridItemPopup.js +1 -4
- package/dist/Editor/Elements/Grid/GridPopup.js +1 -4
- package/dist/Editor/Elements/Grid/SectionPopup.js +1 -4
- package/dist/Editor/Elements/Link/Link.js +44 -74
- package/dist/Editor/Elements/Link/LinkButton.js +1 -4
- package/dist/Editor/Elements/List/CheckList.js +9 -14
- package/dist/Editor/Elements/NewLine/NewLineButton.js +2 -6
- package/dist/Editor/Elements/PageSettings/PageSettingsButton.js +5 -16
- package/dist/Editor/Elements/PageSettings/PageSettingsPopup.js +1 -4
- package/dist/Editor/Elements/Search/SearchButton.js +3 -6
- package/dist/Editor/Elements/Search/SearchList.js +3 -7
- package/dist/Editor/Elements/Signature/SignatureButton.js +2 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +1 -4
- package/dist/Editor/Elements/Signature/SignaturePopup.js +16 -17
- package/dist/Editor/Elements/SimpleText/index.js +5 -5
- package/dist/Editor/Elements/SimpleText/style.js +2 -2
- package/dist/Editor/Elements/Table/DragButton.js +2 -4
- package/dist/Editor/Elements/Table/Table.js +32 -56
- package/dist/Editor/Elements/Table/TableCell.js +33 -8
- package/dist/Editor/Elements/Table/TablePopup.js +1 -4
- package/dist/Editor/Elements/Table/TableSelector.js +6 -10
- package/dist/Editor/Elements/Table/TableTool.js +4 -8
- package/dist/Editor/Elements/Title/title.js +0 -10
- package/dist/Editor/Elements/TopBanner/TopBannerButton.js +1 -4
- package/dist/Editor/Elements/Variables/Style.js +2 -28
- package/dist/Editor/Elements/Variables/VariableButton.js +4 -17
- package/dist/Editor/MiniEditor.js +3 -9
- package/dist/Editor/Styles/EditorStyles.js +5 -5
- package/dist/Editor/Toolbar/Basic/index.js +1 -2
- package/dist/Editor/Toolbar/FormatTools/BlockButton.js +2 -6
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +3 -27
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +3 -4
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +4 -8
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +15 -7
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +15 -20
- package/dist/Editor/Toolbar/PopupTool/AddTemplates.js +13 -19
- package/dist/Editor/Toolbar/PopupTool/ButtonTemplatesCard.js +4 -10
- package/dist/Editor/Toolbar/PopupTool/FullViewCard.js +4 -10
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/MiniColorPicker.js +2 -6
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectAlignment.js +35 -42
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +13 -6
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectList.js +51 -58
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectSuperSubscript.js +22 -29
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +87 -226
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +7 -15
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +4 -8
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +12 -16
- package/dist/Editor/Toolbar/PopupTool/TemplateCard.js +5 -11
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +32 -84
- package/dist/Editor/Toolbar/PopupTool/index.js +8 -3
- package/dist/Editor/Toolbar/Toolbar.js +10 -20
- package/dist/Editor/Toolbar/toolbarGroups.js +6 -48
- package/dist/Editor/assets/svg/CalenderIconTick.js +0 -1
- package/dist/Editor/common/ColorPickerButton.js +9 -35
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/DnD/Draggable.js +1 -0
- package/dist/Editor/common/FontLoader/FontLoader.js +0 -3
- package/dist/Editor/common/Icon.js +0 -28
- package/dist/Editor/common/ImageSelector/ImageSelector.js +8 -10
- package/dist/Editor/common/ImageSelector/Options/AddLink.js +4 -6
- package/dist/Editor/common/ImageSelector/Styles.js +9 -3
- package/dist/Editor/common/ImageSelector/UploadStyles.js +1 -0
- package/dist/Editor/common/LinkSettings/NavComponents.js +10 -14
- package/dist/Editor/common/LinkSettings/index.js +14 -20
- package/dist/Editor/common/LinkSettings/navOptions.js +1 -1
- package/dist/Editor/common/MentionsPopup/Styles.js +71 -109
- package/dist/Editor/common/MentionsPopup/index.js +4 -8
- package/dist/Editor/common/RnD/ContextMenu/CMenus.js +22 -22
- package/dist/Editor/common/RnD/ContextMenu/index.js +2 -3
- package/dist/Editor/common/RnD/ElementOptions/index.js +2 -7
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/SaveAsTemplate.js +3 -8
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Settings.js +3 -7
- package/dist/Editor/common/RnD/ElementSettings/Settings/AppHeaderSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/BoxSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/ButtonSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/CodeSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +4 -7
- package/dist/Editor/common/RnD/ElementSettings/Settings/ImageSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TableSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TextSettings.js +2 -4
- package/dist/Editor/common/RnD/ElementSettings/Settings/VideoSettings.js +2 -3
- package/dist/Editor/common/RnD/OptionsPopup/index.js +3 -4
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +4 -11
- package/dist/Editor/common/RnD/Theme/ViewportStimulator.js +8 -20
- package/dist/Editor/common/RnD/Utils/gridDropItem.js +4 -5
- package/dist/Editor/common/RnD/Utils/index.js +0 -45
- package/dist/Editor/common/RnD/VirtualElement/index.js +2 -1
- package/dist/Editor/common/RnD/index.js +7 -34
- package/dist/Editor/common/Section/index.js +4 -7
- package/dist/Editor/common/Shorthands/elements.js +4 -75
- package/dist/Editor/common/StyleBuilder/appHeaderStyle.js +4 -4
- package/dist/Editor/common/StyleBuilder/boxStyle.js +2 -2
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +4 -6
- package/dist/Editor/common/StyleBuilder/dividerStyles.js +2 -2
- package/dist/Editor/common/StyleBuilder/embedVideoStyle.js +6 -6
- package/dist/Editor/common/StyleBuilder/fieldStyle.js +2 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/alignment.js +9 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +3 -11
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +5 -19
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +10 -22
- package/dist/Editor/common/StyleBuilder/fieldTypes/buttonLink.js +3 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +13 -27
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +14 -41
- package/dist/Editor/common/StyleBuilder/fieldTypes/elementSize.js +6 -10
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +6 -19
- package/dist/Editor/common/StyleBuilder/fieldTypes/gridSize.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/icons.js +2 -5
- package/dist/Editor/common/StyleBuilder/fieldTypes/menusArray.js +6 -9
- package/dist/Editor/common/StyleBuilder/fieldTypes/metaDataMapping.js +2 -8
- package/dist/Editor/common/StyleBuilder/fieldTypes/saveAsTemplate.js +11 -12
- package/dist/Editor/common/StyleBuilder/fieldTypes/selectBox.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/text.js +4 -8
- package/dist/Editor/common/StyleBuilder/fieldTypes/textAlign.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +12 -21
- package/dist/Editor/common/StyleBuilder/formStyle.js +7 -7
- package/dist/Editor/common/StyleBuilder/gridItemStyle.js +6 -6
- package/dist/Editor/common/StyleBuilder/gridStyle.js +5 -5
- package/dist/Editor/common/StyleBuilder/index.js +5 -8
- package/dist/Editor/common/Uploader.js +5 -16
- package/dist/Editor/commonStyle.js +69 -114
- package/dist/Editor/helper/index.js +12 -8
- package/dist/Editor/helper/theme.js +2 -200
- package/dist/Editor/hooks/useDrag.js +10 -16
- package/dist/Editor/hooks/useEditorScroll.js +5 -10
- package/dist/Editor/hooks/useMouseMove.js +13 -25
- package/dist/Editor/hooks/useTable.js +1 -1
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +14 -19
- package/dist/Editor/plugins/withLayout.js +2 -3
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +173 -50
- package/dist/Editor/utils/SlateUtilityFunctions.js +45 -162
- package/dist/Editor/utils/button.js +14 -0
- package/dist/Editor/utils/chatEditor/SlateUtilityFunctions.js +0 -23
- package/dist/Editor/utils/divider.js +0 -8
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/helper.js +19 -77
- package/dist/Editor/utils/link.js +1 -1
- package/dist/Editor/utils/table.js +9 -14
- package/package.json +2 -5
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -438
- package/dist/Editor/assets/svg/ThemeIcons.js +0 -291
- package/dist/Editor/common/CustomColorPicker/index.js +0 -106
- package/dist/Editor/common/CustomColorPicker/style.js +0 -53
- package/dist/Editor/common/CustomDialog/index.js +0 -88
- package/dist/Editor/common/CustomDialog/styles.js +0 -80
- package/dist/Editor/common/CustomDialog2/index.js +0 -94
- package/dist/Editor/common/CustomDialog2/style.js +0 -67
- package/dist/Editor/common/CustomSelect.js +0 -33
- package/dist/Editor/common/RnD/Theme/MainThemeProvider.js +0 -17
- package/dist/Editor/hooks/useEditorTheme.js +0 -153
- package/dist/Editor/theme/index.js +0 -144
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -72
- package/dist/Editor/themeSettings/buttons/index.js +0 -283
- package/dist/Editor/themeSettings/buttons/style.js +0 -21
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -292
- package/dist/Editor/themeSettings/colorTheme/style.js +0 -77
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +0 -121
- package/dist/Editor/themeSettings/fonts/index.js +0 -220
- package/dist/Editor/themeSettings/fonts/style.js +0 -44
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -320
- package/dist/Editor/themeSettings/style.js +0 -152
- package/dist/Editor/themeSettingsAI/icons.js +0 -96
- package/dist/Editor/themeSettingsAI/index.js +0 -356
- package/dist/Editor/themeSettingsAI/saveTheme.js +0 -197
- package/dist/Editor/themeSettingsAI/style.js +0 -250
@@ -31,10 +31,8 @@ const ImageSelector = props => {
|
|
31
31
|
onClose,
|
32
32
|
open,
|
33
33
|
onSelectImage,
|
34
|
-
title
|
35
|
-
customProps
|
34
|
+
title
|
36
35
|
} = props;
|
37
|
-
const translation = customProps?.translation;
|
38
36
|
const [tabValue, setTabValue] = useState(title === "Image" ? "choose" : "addLink");
|
39
37
|
const [image, setImage] = useState(value || "");
|
40
38
|
const handleTabChange = (e, newValue) => {
|
@@ -61,9 +59,9 @@ const ImageSelector = props => {
|
|
61
59
|
justifyContent: "space-between",
|
62
60
|
alignItems: "center"
|
63
61
|
},
|
64
|
-
children: [/*#__PURE__*/
|
62
|
+
children: [/*#__PURE__*/_jsxs(Typography, {
|
65
63
|
sx: classes.titleTypo,
|
66
|
-
children:
|
64
|
+
children: ["Add ", title]
|
67
65
|
}), /*#__PURE__*/_jsx(IconButton, {
|
68
66
|
sx: {
|
69
67
|
padding: "0px"
|
@@ -100,14 +98,14 @@ const ImageSelector = props => {
|
|
100
98
|
}),
|
101
99
|
iconPosition: "start",
|
102
100
|
value: "upload",
|
103
|
-
label:
|
101
|
+
label: `Upload ${title}`
|
104
102
|
}), /*#__PURE__*/_jsx(Tab, {
|
105
103
|
className: `${isActive("choose")} ${TAB_SHOW[title].indexOf("choose") === -1 ? "hidden" : ""}`,
|
106
104
|
sx: classes.tab,
|
107
105
|
icon: /*#__PURE__*/_jsx(ImageElementIcon, {}),
|
108
106
|
iconPosition: "start",
|
109
107
|
value: "choose",
|
110
|
-
label:
|
108
|
+
label: `Choose ${title}`
|
111
109
|
}), /*#__PURE__*/_jsx(Tab, {
|
112
110
|
className: `${isActive("addLink")} ${TAB_SHOW[title].indexOf("addLink") === -1 ? "hidden" : ""}`,
|
113
111
|
sx: classes.tab,
|
@@ -119,7 +117,7 @@ const ImageSelector = props => {
|
|
119
117
|
}),
|
120
118
|
iconPosition: "start",
|
121
119
|
value: "addLink",
|
122
|
-
label:
|
120
|
+
label: `Add ${title} Link`
|
123
121
|
})]
|
124
122
|
})
|
125
123
|
}), /*#__PURE__*/_jsx(Grid, {
|
@@ -146,13 +144,13 @@ const ImageSelector = props => {
|
|
146
144
|
onClick: onClose,
|
147
145
|
className: "secondaryBtn",
|
148
146
|
sx: classes.closeBtn,
|
149
|
-
children:
|
147
|
+
children: "Cancel"
|
150
148
|
}), /*#__PURE__*/_jsx(Button, {
|
151
149
|
disabled: !image,
|
152
150
|
onClick: onSave,
|
153
151
|
className: `primaryBtn ${!image ? "disabled" : ""}`,
|
154
152
|
sx: classes.saveBtn,
|
155
|
-
children:
|
153
|
+
children: "Save"
|
156
154
|
})]
|
157
155
|
})]
|
158
156
|
}) : null;
|
@@ -6,10 +6,8 @@ const AddLink = props => {
|
|
6
6
|
const {
|
7
7
|
classes,
|
8
8
|
onUploaded,
|
9
|
-
title
|
10
|
-
customProps
|
9
|
+
title
|
11
10
|
} = props;
|
12
|
-
const translation = customProps?.translation;
|
13
11
|
const [url, setUrl] = useState("");
|
14
12
|
const handleChange = e => {
|
15
13
|
setUrl(e.target.value);
|
@@ -25,16 +23,16 @@ const AddLink = props => {
|
|
25
23
|
paddingTop: "8px"
|
26
24
|
},
|
27
25
|
children: /*#__PURE__*/_jsx(TextField, {
|
28
|
-
placeholder:
|
26
|
+
placeholder: `Add ${title} URL`,
|
29
27
|
fullWidth: true,
|
30
28
|
size: "small",
|
31
29
|
value: url,
|
32
30
|
onChange: handleChange,
|
33
|
-
helperText:
|
31
|
+
helperText: "Click Check Icon and Save...",
|
34
32
|
sx: classes.addLinkField,
|
35
33
|
InputProps: {
|
36
34
|
endAdornment: /*#__PURE__*/_jsx(Tooltip, {
|
37
|
-
title:
|
35
|
+
title: `Add ${title} URL`,
|
38
36
|
arrow: true,
|
39
37
|
children: /*#__PURE__*/_jsx(IconButton, {
|
40
38
|
sx: classes.addLinkBtn,
|
@@ -76,7 +76,7 @@ const ImageSelectorStyles = theme => ({
|
|
76
76
|
background: theme?.palette?.editor?.deviderBgColor,
|
77
77
|
"@media only screen and (min-width: 899px)": {
|
78
78
|
margin: "0px 24px",
|
79
|
-
width:
|
79
|
+
width: 'calc(100% - 48px)'
|
80
80
|
}
|
81
81
|
},
|
82
82
|
"& .primaryBtn": {
|
@@ -104,6 +104,12 @@ const ImageSelectorStyles = theme => ({
|
|
104
104
|
marginRight: "8px !important"
|
105
105
|
},
|
106
106
|
"& .MuiGrid-root": {
|
107
|
+
"&::-webkit-scrollbar-thumb": {
|
108
|
+
background: `none !important`
|
109
|
+
},
|
110
|
+
"&::-webkit-scrollbar-track": {
|
111
|
+
visibility: "hidden"
|
112
|
+
},
|
107
113
|
"&::-webkit-scrollbar-thumb": {
|
108
114
|
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
109
115
|
},
|
@@ -112,10 +118,10 @@ const ImageSelectorStyles = theme => ({
|
|
112
118
|
}
|
113
119
|
},
|
114
120
|
"& .MuiImageList-root": {
|
115
|
-
margin:
|
121
|
+
margin: '0px'
|
116
122
|
},
|
117
123
|
"& .MuiDialogContent-root": {
|
118
|
-
padding:
|
124
|
+
padding: '20px 24px 5px 24px'
|
119
125
|
}
|
120
126
|
},
|
121
127
|
titleTypo: {
|
@@ -24,8 +24,7 @@ const OpenInNewTab = props => {
|
|
24
24
|
const {
|
25
25
|
nav,
|
26
26
|
openInNewTab,
|
27
|
-
onNewTabChange
|
28
|
-
translation
|
27
|
+
onNewTabChange
|
29
28
|
} = props;
|
30
29
|
return nav?.showOpenInNewTab ? /*#__PURE__*/_jsx(FormControlLabel, {
|
31
30
|
className: "ccheckbox-primary",
|
@@ -35,7 +34,7 @@ const OpenInNewTab = props => {
|
|
35
34
|
}),
|
36
35
|
label: /*#__PURE__*/_jsx(Typography, {
|
37
36
|
variant: "body2",
|
38
|
-
children:
|
37
|
+
children: "Open in new tab"
|
39
38
|
})
|
40
39
|
}) : null;
|
41
40
|
};
|
@@ -57,8 +56,7 @@ export const SelectPage = props => {
|
|
57
56
|
const {
|
58
57
|
value,
|
59
58
|
onChange,
|
60
|
-
services
|
61
|
-
translation
|
59
|
+
services
|
62
60
|
} = props;
|
63
61
|
const [pages, setPages] = useState([]);
|
64
62
|
const editor = useSlate();
|
@@ -114,7 +112,7 @@ export const SelectPage = props => {
|
|
114
112
|
children: [/*#__PURE__*/_jsx(FreeSoloCreateOption, {
|
115
113
|
label: page?.label,
|
116
114
|
setValue: val => onChange(val?.value || ""),
|
117
|
-
placeholder:
|
115
|
+
placeholder: "Select Page",
|
118
116
|
options: pages,
|
119
117
|
disabled: isCurrentPage
|
120
118
|
}), /*#__PURE__*/_jsx(FreeSoloCreateOption, {
|
@@ -126,7 +124,7 @@ export const SelectPage = props => {
|
|
126
124
|
}
|
127
125
|
onChange(url);
|
128
126
|
},
|
129
|
-
placeholder:
|
127
|
+
placeholder: "Select Section or anchor",
|
130
128
|
options: page?.sections?.map(p => ({
|
131
129
|
label: p,
|
132
130
|
value: p
|
@@ -138,13 +136,12 @@ export const SelectPage = props => {
|
|
138
136
|
};
|
139
137
|
export const Trigger = props => {
|
140
138
|
const {
|
141
|
-
nav
|
142
|
-
translation
|
139
|
+
nav
|
143
140
|
} = props;
|
144
|
-
return /*#__PURE__*/
|
141
|
+
return /*#__PURE__*/_jsxs(Typography, {
|
145
142
|
variant: "subtitle1",
|
146
143
|
gutterBottom: true,
|
147
|
-
children:
|
144
|
+
children: ["Choosing this will trigger the ", nav.type, " step"]
|
148
145
|
});
|
149
146
|
};
|
150
147
|
const scrollToOptions = [{
|
@@ -158,7 +155,6 @@ export const ScrollTopBottom = props => {
|
|
158
155
|
const {
|
159
156
|
value,
|
160
157
|
onChange,
|
161
|
-
translation,
|
162
158
|
classes
|
163
159
|
} = props;
|
164
160
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
@@ -167,7 +163,7 @@ export const ScrollTopBottom = props => {
|
|
167
163
|
sx: {
|
168
164
|
paddingBottom: "4px"
|
169
165
|
},
|
170
|
-
children:
|
166
|
+
children: "Choose Top/Bottom of page"
|
171
167
|
}), /*#__PURE__*/_jsx(Select, {
|
172
168
|
size: "small",
|
173
169
|
fullWidth: true,
|
@@ -181,7 +177,7 @@ export const ScrollTopBottom = props => {
|
|
181
177
|
value: option.value,
|
182
178
|
children: /*#__PURE__*/_jsx(Typography, {
|
183
179
|
variant: "body2",
|
184
|
-
children:
|
180
|
+
children: option.label
|
185
181
|
})
|
186
182
|
}, i);
|
187
183
|
})
|
@@ -44,8 +44,7 @@ export default function LinkSettings(props) {
|
|
44
44
|
} = props;
|
45
45
|
const {
|
46
46
|
isMobile,
|
47
|
-
tagName
|
48
|
-
translation
|
47
|
+
tagName
|
49
48
|
} = customProps;
|
50
49
|
const navOptions = getNavOptions(customProps.hideTools, tagName, allowTrigger);
|
51
50
|
const classes = LinkSettingsStyles(theme);
|
@@ -73,7 +72,7 @@ export default function LinkSettings(props) {
|
|
73
72
|
sx: {
|
74
73
|
fontWeight: 600
|
75
74
|
},
|
76
|
-
children:
|
75
|
+
children: "What do you want to link to?"
|
77
76
|
}), /*#__PURE__*/_jsx(Select, {
|
78
77
|
size: "small",
|
79
78
|
fullWidth: true,
|
@@ -95,7 +94,7 @@ export default function LinkSettings(props) {
|
|
95
94
|
value: navOption.value,
|
96
95
|
children: /*#__PURE__*/_jsx(Typography, {
|
97
96
|
variant: "body2",
|
98
|
-
children:
|
97
|
+
children: navOption.label
|
99
98
|
})
|
100
99
|
}, i);
|
101
100
|
})
|
@@ -104,15 +103,14 @@ export default function LinkSettings(props) {
|
|
104
103
|
paddingTop: "14px"
|
105
104
|
},
|
106
105
|
children: NavSettings && /*#__PURE__*/_jsx(NavSettings, {
|
107
|
-
placeholder:
|
106
|
+
placeholder: nav?.placeholder,
|
108
107
|
nav: nav,
|
109
108
|
onChange: onChange,
|
110
109
|
value: navValue,
|
111
110
|
openInNewTab: openInNewTab,
|
112
111
|
onNewTabChange: () => setOpenInNewTab(prev => !prev),
|
113
112
|
services: customProps.services,
|
114
|
-
classes: classes
|
115
|
-
translation: translation
|
113
|
+
classes: classes
|
116
114
|
})
|
117
115
|
}), /*#__PURE__*/_jsx(Box, {
|
118
116
|
component: "div",
|
@@ -120,8 +118,7 @@ export default function LinkSettings(props) {
|
|
120
118
|
children: /*#__PURE__*/_jsx(ActionsButtons, {
|
121
119
|
classes: classes,
|
122
120
|
onCancel: handleClose,
|
123
|
-
onSave: onSubmit
|
124
|
-
translation: translation
|
121
|
+
onSave: onSubmit
|
125
122
|
})
|
126
123
|
})]
|
127
124
|
});
|
@@ -133,7 +130,7 @@ export default function LinkSettings(props) {
|
|
133
130
|
fullWidth: true,
|
134
131
|
maxWidth: "sm",
|
135
132
|
children: [/*#__PURE__*/_jsx(DialogTitle, {
|
136
|
-
children:
|
133
|
+
children: "What do you want to link to?"
|
137
134
|
}), /*#__PURE__*/_jsx(IconButton, {
|
138
135
|
"aria-label": "close",
|
139
136
|
onClick: handleClose,
|
@@ -155,7 +152,7 @@ export default function LinkSettings(props) {
|
|
155
152
|
return /*#__PURE__*/_jsx(FormControlLabel, {
|
156
153
|
value: navOption.value,
|
157
154
|
control: /*#__PURE__*/_jsx(Radio, {}),
|
158
|
-
label:
|
155
|
+
label: navOption.label,
|
159
156
|
onChange: () => {
|
160
157
|
setNav(navOption);
|
161
158
|
setNavValue("");
|
@@ -168,15 +165,14 @@ export default function LinkSettings(props) {
|
|
168
165
|
item: true,
|
169
166
|
xs: 6,
|
170
167
|
children: NavSettings && /*#__PURE__*/_jsx(NavSettings, {
|
171
|
-
placeholder:
|
168
|
+
placeholder: nav?.placeholder,
|
172
169
|
nav: nav,
|
173
170
|
onChange: onChange,
|
174
171
|
value: navValue,
|
175
172
|
openInNewTab: openInNewTab,
|
176
173
|
onNewTabChange: () => setOpenInNewTab(prev => !prev),
|
177
174
|
services: customProps.services,
|
178
|
-
classes: classes
|
179
|
-
translation: translation
|
175
|
+
classes: classes
|
180
176
|
})
|
181
177
|
})]
|
182
178
|
})
|
@@ -184,8 +180,7 @@ export default function LinkSettings(props) {
|
|
184
180
|
children: /*#__PURE__*/_jsx(ActionsButtons, {
|
185
181
|
classes: classes,
|
186
182
|
onCancel: handleClose,
|
187
|
-
onSave: onSubmit
|
188
|
-
translation: translation
|
183
|
+
onSave: onSubmit
|
189
184
|
})
|
190
185
|
})]
|
191
186
|
});
|
@@ -194,18 +189,17 @@ export default function LinkSettings(props) {
|
|
194
189
|
function ActionsButtons({
|
195
190
|
classes,
|
196
191
|
onCancel,
|
197
|
-
onSave
|
198
|
-
translation
|
192
|
+
onSave
|
199
193
|
}) {
|
200
194
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
201
195
|
children: [/*#__PURE__*/_jsx(Button, {
|
202
196
|
onClick: onCancel,
|
203
197
|
sx: classes.closeBtn,
|
204
|
-
children:
|
198
|
+
children: "Cancel"
|
205
199
|
}), /*#__PURE__*/_jsx(Button, {
|
206
200
|
onClick: onSave,
|
207
201
|
sx: classes.saveBtn,
|
208
|
-
children:
|
202
|
+
children: "Save"
|
209
203
|
})]
|
210
204
|
});
|
211
205
|
}
|
@@ -13,7 +13,7 @@ export const getNavOptions = (hideTools = [], tagName = "", allowTrigger) => {
|
|
13
13
|
}, {
|
14
14
|
label: "Web Address",
|
15
15
|
value: "webAddress",
|
16
|
-
placeholder: "
|
16
|
+
placeholder: "https://",
|
17
17
|
showOpenInNewTab: true
|
18
18
|
}, {
|
19
19
|
label: "Select Page and Section",
|
@@ -8,51 +8,32 @@ const usePopupStyles = theme => ({
|
|
8
8
|
// padding: "8px 0px !important",
|
9
9
|
background: `${theme?.palette?.editor?.miniToolBarBackground} !important`,
|
10
10
|
"& .MuiPaper-root": {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
"& .MuiPaper-root": {
|
33
|
-
background: theme?.palette?.editor?.menuOptionSelectedOption,
|
34
|
-
"&:hover": {
|
35
|
-
background: theme?.palette?.editor?.menuOptionSelectedOption
|
36
|
-
}
|
37
|
-
},
|
38
|
-
"& button": {
|
39
|
-
background: theme?.palette?.editor?.menuOptionSelectedOption
|
40
|
-
},
|
41
|
-
"&:hover": {
|
42
|
-
background: theme?.palette?.editor?.menuOptionSelectedOption
|
43
|
-
}
|
44
|
-
},
|
45
|
-
"& .notActive": {
|
46
|
-
marginTop: "5px",
|
47
|
-
background: theme?.palette?.editor?.miniToolBarBackground,
|
48
|
-
border: "unset",
|
49
|
-
"&:hover": {
|
50
|
-
background: theme?.palette?.editor?.menuOptionHoverBackground
|
51
|
-
},
|
52
|
-
"& .MuiPaper-root": {
|
53
|
-
background: theme?.palette?.editor?.miniToolBarBackground,
|
11
|
+
background: `${theme?.palette?.editor?.miniToolBarBackground} !important`,
|
12
|
+
"& .MuiBox-root": {
|
13
|
+
"& .renderComp": {
|
14
|
+
padding: "2px 0px 2px 1px",
|
15
|
+
background: "transparent !important",
|
16
|
+
"&:hover": {
|
17
|
+
borderRadius: "10px",
|
18
|
+
background: `${theme?.palette?.editor?.menuOptionHoverBackground} !important`
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"& button": {
|
22
|
+
padding: "0px 0px 0px 4px !important",
|
23
|
+
"& svg": {
|
24
|
+
width: "21px !important",
|
25
|
+
margin: "5px 12px 6px 4px !important"
|
26
|
+
},
|
27
|
+
"&:hover": {
|
28
|
+
borderRadius: "10px",
|
29
|
+
background: `${theme?.palette?.editor?.menuOptionHoverBackground} !important`
|
30
|
+
}
|
31
|
+
},
|
54
32
|
"&:hover": {
|
55
|
-
|
33
|
+
"& .MuiPaper-root": {
|
34
|
+
background: `${theme?.palette?.editor?.menuOptionHoverBackground} !important`,
|
35
|
+
borderRadius: "7px"
|
36
|
+
}
|
56
37
|
}
|
57
38
|
}
|
58
39
|
}
|
@@ -72,9 +53,9 @@ const usePopupStyles = theme => ({
|
|
72
53
|
"& button": {
|
73
54
|
color: theme?.palette?.editor?.textColor
|
74
55
|
},
|
75
|
-
|
76
|
-
|
77
|
-
|
56
|
+
"@media only screen and (min-width: 899px)": {
|
57
|
+
maxHeight: "400px"
|
58
|
+
},
|
78
59
|
"& .orderedListIcon, .bulletedListTextIcon, .checkedListTextIcon, .accordianIconSvgTextFormat": {
|
79
60
|
width: "20px !important"
|
80
61
|
},
|
@@ -94,32 +75,62 @@ const usePopupStyles = theme => ({
|
|
94
75
|
width: "20px",
|
95
76
|
height: "20px"
|
96
77
|
},
|
97
|
-
"& .signatureElementIcon
|
78
|
+
"& .signatureElementIcon": {
|
98
79
|
"& path": {
|
99
|
-
fill: theme?.palette?.editor?.closeButtonSvgStroke
|
80
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
100
81
|
}
|
101
82
|
},
|
102
|
-
"& .commonSvgStyle
|
83
|
+
"& .commonSvgStyle": {
|
103
84
|
"& path": {
|
104
|
-
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
85
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
86
|
+
}
|
87
|
+
},
|
88
|
+
"& .commonSvgStyle2": {
|
89
|
+
"& path": {
|
90
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
105
91
|
}
|
106
92
|
},
|
107
93
|
"& .colorBoxElementIcon": {
|
108
94
|
"& path": {
|
109
|
-
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
95
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
110
96
|
fill: "none"
|
111
97
|
}
|
112
98
|
},
|
99
|
+
"& .gridElementIcon": {
|
100
|
+
"& path": {
|
101
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"& .newLineElementIcon": {
|
105
|
+
"& path": {
|
106
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
107
|
+
}
|
108
|
+
},
|
113
109
|
"& .orderedListIcon": {
|
114
|
-
"& .strokePathList
|
115
|
-
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
110
|
+
"& .strokePathList": {
|
111
|
+
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
112
|
+
},
|
113
|
+
"& .fillPathList": {
|
116
114
|
fill: theme?.palette?.editor?.closeButtonSvgStroke
|
117
115
|
}
|
118
116
|
},
|
119
117
|
"& .bulletedListTextIcon": {
|
120
|
-
"& path
|
118
|
+
"& path": {
|
121
119
|
fill: theme?.palette?.editor?.closeButtonSvgStroke,
|
122
120
|
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
121
|
+
},
|
122
|
+
"& circle": {
|
123
|
+
fill: theme?.palette?.editor?.closeButtonSvgStroke
|
124
|
+
}
|
125
|
+
},
|
126
|
+
"& .checkedListTextIcon": {
|
127
|
+
"& path": {
|
128
|
+
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
129
|
+
}
|
130
|
+
},
|
131
|
+
"& .accordianIconSvgTextFormat": {
|
132
|
+
"& path": {
|
133
|
+
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
123
134
|
}
|
124
135
|
},
|
125
136
|
"& .blockQuoteSvg": {
|
@@ -137,63 +148,14 @@ const usePopupStyles = theme => ({
|
|
137
148
|
}
|
138
149
|
},
|
139
150
|
"& .calederIconSvg": {
|
140
|
-
|
151
|
+
'& rect': {
|
141
152
|
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
142
153
|
},
|
143
|
-
|
144
|
-
|
145
|
-
}
|
146
|
-
},
|
147
|
-
"& .selectedEle": {
|
148
|
-
"& .signatureElementIcon, & .newLineElementIcon": {
|
149
|
-
"& path": {
|
150
|
-
fill: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
151
|
-
}
|
152
|
-
},
|
153
|
-
"& .commonSvgStyle, & .commonSvgStyle2, & .gridElementIcon, & .checkedListTextIcon, & .accordianIconSvgTextFormat": {
|
154
|
-
"& path": {
|
155
|
-
stroke: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
156
|
-
}
|
157
|
-
},
|
158
|
-
"& .colorBoxElementIcon": {
|
159
|
-
"& path": {
|
160
|
-
stroke: theme?.palette?.editor?.menuOptionsSelectedTextColor,
|
161
|
-
fill: "none"
|
162
|
-
}
|
163
|
-
},
|
164
|
-
"& .orderedListIcon": {
|
165
|
-
"& .strokePathList, & .fillPathList": {
|
166
|
-
stroke: theme?.palette?.editor?.menuOptionsSelectedTextColor,
|
167
|
-
fill: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
168
|
-
}
|
169
|
-
},
|
170
|
-
"& .bulletedListTextIcon": {
|
171
|
-
"& path, & circle": {
|
172
|
-
fill: theme?.palette?.editor?.menuOptionsSelectedTextColor,
|
173
|
-
stroke: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
174
|
-
}
|
175
|
-
},
|
176
|
-
"& .blockQuoteSvg": {
|
177
|
-
fill: theme?.palette?.editor?.menuOptionsSelectedTextColor,
|
178
|
-
stroke: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
179
|
-
},
|
180
|
-
"& .BrainIcon": {
|
181
|
-
"& .bainIconPathStroke": {
|
182
|
-
fill: theme?.palette?.editor?.menuOptionsSelectedTextColor,
|
183
|
-
stroke: "unset !important"
|
184
|
-
},
|
185
|
-
"& .bainIconPathStroke2": {
|
186
|
-
stroke: theme?.palette?.editor?.menuOptionsSelectedTextColor,
|
187
|
-
fill: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
188
|
-
}
|
154
|
+
'& .strokePath': {
|
155
|
+
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
189
156
|
},
|
190
|
-
|
191
|
-
|
192
|
-
stroke: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
193
|
-
},
|
194
|
-
"& .fillPath": {
|
195
|
-
fill: theme?.palette?.editor?.menuOptionsSelectedTextColor
|
196
|
-
}
|
157
|
+
'& .fillPath': {
|
158
|
+
fill: theme?.palette?.editor?.closeButtonSvgStroke
|
197
159
|
}
|
198
160
|
}
|
199
161
|
},
|
@@ -23,12 +23,8 @@ const MentionsPopup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
23
23
|
mentions,
|
24
24
|
setMentions,
|
25
25
|
type,
|
26
|
-
otherProps
|
27
|
-
customProps
|
26
|
+
otherProps
|
28
27
|
} = props;
|
29
|
-
const {
|
30
|
-
translation
|
31
|
-
} = customProps;
|
32
28
|
const classes = usePopupStyle(theme);
|
33
29
|
const papperRef = useRef(null);
|
34
30
|
const buttonRef = useRef(null);
|
@@ -87,7 +83,7 @@ const MentionsPopup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
87
83
|
sx: classes.groupHeader,
|
88
84
|
component: "div",
|
89
85
|
variant: "h6",
|
90
|
-
children:
|
86
|
+
children: prevGroup
|
91
87
|
});
|
92
88
|
} else {
|
93
89
|
return null;
|
@@ -98,10 +94,10 @@ const MentionsPopup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
98
94
|
component: "div",
|
99
95
|
sx: classes.renderComp,
|
100
96
|
children: [renderGroupHeader(char), /*#__PURE__*/_jsx(Box, {
|
101
|
-
id: `cmd-li-ind-${index}`,
|
97
|
+
id: `cmd-li-ind-${index}}`,
|
102
98
|
component: "div",
|
103
99
|
onClick: handleClick(char, i),
|
104
|
-
className: `${i === index ? "
|
100
|
+
className: `${type !== 'elements' && i === index ? "active" : " "} ${char.renderComponent ? "renderComp" : ""}`,
|
105
101
|
sx: classes.listItem,
|
106
102
|
ref: i === index ? papperRef : null,
|
107
103
|
children: char.renderComponent ? char.renderComponent({
|