@flozy/editor 9.5.9 → 9.6.0
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 +19 -26
- package/dist/Editor/CommonEditor.js +23 -139
- package/dist/Editor/DialogWrapper.js +25 -31
- package/dist/Editor/Editor.css +9 -13
- 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 +14 -60
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +1 -25
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +7 -10
- package/dist/Editor/Elements/Color Picker/Styles.js +13 -15
- 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 +2 -7
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/Select.js +3 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +5 -25
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/TextType.js +2 -7
- 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 +3 -8
- 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 +7 -9
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +38 -64
- 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 -23
- package/dist/Editor/Elements/DataView/Layouts/TableStyles.js +1 -4
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +4 -6
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +4 -8
- package/dist/Editor/Elements/DataView/Layouts/index.js +1 -3
- package/dist/Editor/Elements/DataView/Providers/DataViewProvider.js +2 -5
- package/dist/Editor/Elements/DataView/styles.js +0 -13
- 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 +9 -14
- package/dist/Editor/Elements/Embed/Video.js +6 -9
- 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/Styles.js +22 -24
- 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 +23 -67
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +4 -23
- package/dist/Editor/Elements/FreeGrid/FreeGridButton.js +2 -6
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +5 -36
- package/dist/Editor/Elements/FreeGrid/Options/AddElement.js +2 -3
- package/dist/Editor/Elements/FreeGrid/Options/More.js +4 -10
- 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 +8 -14
- 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 +5 -8
- 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 +1 -4
- 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 +4 -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 +11 -23
- package/dist/Editor/Elements/Table/TableCell.js +24 -2
- 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/VariableButton.js +1 -10
- package/dist/Editor/MiniEditor.js +3 -10
- 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 +13 -10
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +3 -5
- package/dist/Editor/Toolbar/PopupTool/AddTemplates.js +5 -10
- 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 +3 -9
- 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 +10 -20
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +5 -10
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +11 -71
- package/dist/Editor/Toolbar/PopupTool/TemplateCard.js +5 -11
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +45 -128
- package/dist/Editor/Toolbar/PopupTool/index.js +17 -21
- package/dist/Editor/Toolbar/Toolbar.js +10 -20
- package/dist/Editor/Toolbar/toolbarGroups.js +6 -48
- package/dist/Editor/common/ColorPickerButton.js +14 -39
- package/dist/Editor/common/CustomDialog/index.js +10 -8
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/FontLoader/FontLoader.js +0 -3
- package/dist/Editor/common/Icon.js +1 -46
- package/dist/Editor/common/ImageSelector/ImageSelector.js +8 -10
- package/dist/Editor/common/ImageSelector/Options/AddLink.js +4 -6
- package/dist/Editor/common/ImageSelector/Options/Upload.js +1 -1
- package/dist/Editor/common/ImageSelector/Styles.js +9 -3
- package/dist/Editor/common/ImageSelector/UploadStyles.js +9 -9
- 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/index.js +2 -6
- 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 -6
- package/dist/Editor/common/RnD/ElementSettings/Settings/VideoSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/styles.js +1 -0
- 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 +7 -56
- package/dist/Editor/common/RnD/Utils/index.js +0 -3
- package/dist/Editor/common/RnD/VirtualElement/index.js +105 -188
- package/dist/Editor/common/RnD/VirtualElement/styles.js +7 -123
- package/dist/Editor/common/RnD/VirtualElement/updateAutoProps.js +3 -5
- package/dist/Editor/common/RnD/index.js +14 -59
- package/dist/Editor/common/Section/index.js +4 -7
- package/dist/Editor/common/Shorthands/elements.js +3 -74
- 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 -43
- 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/StyleBuilder/pageSettingsStyle.js +7 -5
- package/dist/Editor/common/Uploader.js +5 -16
- package/dist/Editor/commonStyle.js +12 -23
- package/dist/Editor/helper/index.js +15 -35
- package/dist/Editor/helper/theme.js +2 -202
- package/dist/Editor/hooks/useDrag.js +11 -17
- package/dist/Editor/hooks/useEditorScroll.js +6 -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 +9 -11
- 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 +49 -168
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/freegrid.js +2 -2
- package/dist/Editor/utils/helper.js +19 -90
- package/package.json +3 -3
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +0 -425
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -436
- package/dist/Editor/assets/svg/ClearAllRounded.js +0 -31
- package/dist/Editor/assets/svg/ThemeIcons.js +0 -291
- package/dist/Editor/common/CustomColorPicker/index.js +0 -131
- package/dist/Editor/common/CustomColorPicker/style.js +0 -53
- 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 -43
- package/dist/Editor/common/RnD/Theme/MainThemeProvider.js +0 -17
- package/dist/Editor/common/RnD/VirtualElement/ForceAutoAlignment.js +0 -117
- package/dist/Editor/common/RnD/VirtualElement/VirtualTextElement.js +0 -134
- package/dist/Editor/common/RnD/VirtualElement/helper.js +0 -281
- package/dist/Editor/common/SnackBar/index.js +0 -43
- package/dist/Editor/helper/textIndeces.js +0 -58
- package/dist/Editor/hooks/useAutoScroll.js +0 -38
- package/dist/Editor/hooks/useEditorTheme.js +0 -153
- package/dist/Editor/hooks/useThemeValues.js +0 -63
- package/dist/Editor/theme/index.js +0 -149
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -72
- package/dist/Editor/themeSettings/buttons/index.js +0 -290
- package/dist/Editor/themeSettings/buttons/style.js +0 -23
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -310
- package/dist/Editor/themeSettings/colorTheme/style.js +0 -81
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +0 -121
- package/dist/Editor/themeSettings/fonts/index.js +0 -240
- package/dist/Editor/themeSettings/fonts/style.js +0 -61
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -351
- package/dist/Editor/themeSettings/style.js +0 -220
- package/dist/Editor/themeSettingsAI/icons.js +0 -96
- package/dist/Editor/themeSettingsAI/index.js +0 -355
- package/dist/Editor/themeSettingsAI/saveTheme.js +0 -205
- package/dist/Editor/themeSettingsAI/style.js +0 -259
@@ -25,8 +25,7 @@ const Divider = props => {
|
|
25
25
|
borderStyle = "solid"
|
26
26
|
} = element;
|
27
27
|
const {
|
28
|
-
readOnly
|
29
|
-
translation
|
28
|
+
readOnly
|
30
29
|
} = customProps;
|
31
30
|
const editor = useSlateStatic();
|
32
31
|
const path = ReactEditor.findPath(editor, element);
|
@@ -64,7 +63,7 @@ const Divider = props => {
|
|
64
63
|
left: 0
|
65
64
|
},
|
66
65
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
67
|
-
title:
|
66
|
+
title: "Divider Settings",
|
68
67
|
arrow: true,
|
69
68
|
children: /*#__PURE__*/_jsx(IconButton, {
|
70
69
|
size: "small",
|
@@ -155,8 +154,7 @@ const Divider = props => {
|
|
155
154
|
onSave: onSave,
|
156
155
|
onClose: onClose,
|
157
156
|
onDelete: onDelete,
|
158
|
-
customProps: customProps
|
159
|
-
translation: translation
|
157
|
+
customProps: customProps
|
160
158
|
}) : null]
|
161
159
|
});
|
162
160
|
};
|
@@ -6,17 +6,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const DividerButton = props => {
|
7
7
|
const {
|
8
8
|
editor,
|
9
|
-
icoBtnType
|
10
|
-
customProps
|
9
|
+
icoBtnType
|
11
10
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
11
|
const handleClick = () => {
|
16
12
|
insertDivider(editor);
|
17
13
|
};
|
18
14
|
return /*#__PURE__*/_jsx(ToolbarIcon, {
|
19
|
-
title:
|
15
|
+
title: "Divider",
|
20
16
|
onClick: handleClick,
|
21
17
|
icon: /*#__PURE__*/_jsx(Icon, {
|
22
18
|
icon: "divider"
|
@@ -8,11 +8,10 @@ const DividerPopup = props => {
|
|
8
8
|
onSave,
|
9
9
|
onClose,
|
10
10
|
onDelete,
|
11
|
-
customProps
|
12
|
-
translation
|
11
|
+
customProps
|
13
12
|
} = props;
|
14
13
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
15
|
-
title:
|
14
|
+
title: "Divider",
|
16
15
|
type: "dividerStyle",
|
17
16
|
element: element,
|
18
17
|
onSave: onSave,
|
@@ -29,9 +29,6 @@ const Embed = ({
|
|
29
29
|
images: []
|
30
30
|
});
|
31
31
|
const [selection, setSelection] = useState();
|
32
|
-
const {
|
33
|
-
translation
|
34
|
-
} = customProps;
|
35
32
|
const handleFormSubmit = fd => {
|
36
33
|
if (fd?.url || fd?.images.length > 0) {
|
37
34
|
selection && Transforms.select(editor, selection);
|
@@ -75,7 +72,7 @@ const Embed = ({
|
|
75
72
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
76
73
|
children: [/*#__PURE__*/_jsx(ToolbarIcon, {
|
77
74
|
className: isBlockActive(editor, format) ? "active" : "",
|
78
|
-
title:
|
75
|
+
title: EMBED_LABEL[lbT || format],
|
79
76
|
onClick: onToggle,
|
80
77
|
icon: /*#__PURE__*/_jsx(Icon, {
|
81
78
|
icon: lbT || format
|
@@ -18,11 +18,8 @@ const EmbedPopup = props => {
|
|
18
18
|
}
|
19
19
|
return true;
|
20
20
|
});
|
21
|
-
const {
|
22
|
-
translation
|
23
|
-
} = customProps;
|
24
21
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
25
|
-
title: format === "image" ?
|
22
|
+
title: format === "image" ? "Image" : format === "video" ? "video" : format === "calendly" ? "calendly" : "Embed",
|
26
23
|
type: format === "image" ? "embedImageStyle" : "embedVideoStyle",
|
27
24
|
element: element,
|
28
25
|
onSave: onSave,
|
@@ -23,8 +23,7 @@ const ToolBar = ({
|
|
23
23
|
onSettings,
|
24
24
|
setOpenNav,
|
25
25
|
topM,
|
26
|
-
classes
|
27
|
-
translation
|
26
|
+
classes
|
28
27
|
}) => {
|
29
28
|
return !isEmpty ? /*#__PURE__*/_jsxs("div", {
|
30
29
|
className: "element-toolbar visible-on-hover",
|
@@ -36,7 +35,7 @@ const ToolBar = ({
|
|
36
35
|
gap: "3px"
|
37
36
|
},
|
38
37
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
39
|
-
title:
|
38
|
+
title: "Image Settings",
|
40
39
|
arrow: true,
|
41
40
|
children: /*#__PURE__*/_jsx(IconButton, {
|
42
41
|
onClick: onSettings,
|
@@ -44,7 +43,7 @@ const ToolBar = ({
|
|
44
43
|
children: /*#__PURE__*/_jsx(SettingsIcon, {})
|
45
44
|
})
|
46
45
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
47
|
-
title:
|
46
|
+
title: "Link Settings",
|
48
47
|
arrow: true,
|
49
48
|
children: /*#__PURE__*/_jsx(IconButton, {
|
50
49
|
className: "last-btn",
|
@@ -72,8 +71,7 @@ const ImageContent = props => {
|
|
72
71
|
onTouchEnd,
|
73
72
|
path,
|
74
73
|
theme,
|
75
|
-
classes
|
76
|
-
translation
|
74
|
+
classes
|
77
75
|
} = props;
|
78
76
|
return !url ? !readOnly ? /*#__PURE__*/_jsxs(Box, {
|
79
77
|
component: "button",
|
@@ -87,7 +85,7 @@ const ImageContent = props => {
|
|
87
85
|
},
|
88
86
|
children: [/*#__PURE__*/_jsx(Icon, {
|
89
87
|
icon: "image"
|
90
|
-
}),
|
88
|
+
}), "Add Image"]
|
91
89
|
}) : /*#__PURE__*/_jsxs(Box, {
|
92
90
|
sx: {
|
93
91
|
color: "#64748B !important",
|
@@ -99,7 +97,7 @@ const ImageContent = props => {
|
|
99
97
|
className: "element-empty-btn",
|
100
98
|
children: [/*#__PURE__*/_jsx(Icon, {
|
101
99
|
icon: "shieldNoAccess"
|
102
|
-
}),
|
100
|
+
}), "The Content is no longer available."]
|
103
101
|
}) : /*#__PURE__*/_jsx(Box, {
|
104
102
|
component: "img",
|
105
103
|
className: "emb-img",
|
@@ -146,8 +144,7 @@ const Image = props => {
|
|
146
144
|
framePos
|
147
145
|
} = element;
|
148
146
|
const {
|
149
|
-
readOnly
|
150
|
-
translation
|
147
|
+
readOnly
|
151
148
|
} = customProps;
|
152
149
|
const {
|
153
150
|
vertical,
|
@@ -312,8 +309,7 @@ const Image = props => {
|
|
312
309
|
onSettings: onSettings,
|
313
310
|
setOpenNav: setOpenNav,
|
314
311
|
topM: size.width < 100,
|
315
|
-
classes: classes
|
316
|
-
translation: translation
|
312
|
+
classes: classes
|
317
313
|
}), /*#__PURE__*/_jsx(ImageContent, {
|
318
314
|
...element,
|
319
315
|
readOnly: readOnly,
|
@@ -322,8 +318,7 @@ const Image = props => {
|
|
322
318
|
onTouchEnd: onTouchEnd,
|
323
319
|
path: path,
|
324
320
|
theme: theme,
|
325
|
-
classes: classes
|
326
|
-
translation: translation
|
321
|
+
classes: classes
|
327
322
|
}), url && frames[frame] ? /*#__PURE__*/_jsx(Box, {
|
328
323
|
component: "div",
|
329
324
|
className: "image-frame",
|
@@ -77,7 +77,6 @@ const VideoPlaceholder = props => {
|
|
77
77
|
readOnly,
|
78
78
|
onSettings,
|
79
79
|
classes,
|
80
|
-
translation,
|
81
80
|
type
|
82
81
|
} = props;
|
83
82
|
return !url ? !readOnly ? /*#__PURE__*/_jsxs(Box, {
|
@@ -89,7 +88,7 @@ const VideoPlaceholder = props => {
|
|
89
88
|
},
|
90
89
|
children: [/*#__PURE__*/_jsx(Icon, {
|
91
90
|
icon: "video"
|
92
|
-
}),
|
91
|
+
}), TYPE_LABELS[type] || "Embed Video or Other"]
|
93
92
|
}) : /*#__PURE__*/_jsxs(Box, {
|
94
93
|
sx: {
|
95
94
|
color: "#64748B !important",
|
@@ -101,7 +100,7 @@ const VideoPlaceholder = props => {
|
|
101
100
|
className: "element-empty-btn",
|
102
101
|
children: [/*#__PURE__*/_jsx(Icon, {
|
103
102
|
icon: "shieldNoAccess"
|
104
|
-
}),
|
103
|
+
}), "The Content is no longer available."]
|
105
104
|
}) : /*#__PURE__*/_jsx(VideoContent, {
|
106
105
|
...props
|
107
106
|
});
|
@@ -126,8 +125,7 @@ const Video = ({
|
|
126
125
|
const [openSetttings, setOpenSettings] = useState(false);
|
127
126
|
const [parentDOM, setParentDOM] = useState(null);
|
128
127
|
const {
|
129
|
-
readOnly
|
130
|
-
translation
|
128
|
+
readOnly
|
131
129
|
} = customProps;
|
132
130
|
const {
|
133
131
|
vertical,
|
@@ -173,14 +171,14 @@ const Video = ({
|
|
173
171
|
className: "element-toolbar visible-on-hover",
|
174
172
|
contentEditable: false,
|
175
173
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
176
|
-
title:
|
174
|
+
title: "Video Settings",
|
177
175
|
arrow: true,
|
178
176
|
children: /*#__PURE__*/_jsx(IconButton, {
|
179
177
|
onClick: onSettings,
|
180
178
|
children: /*#__PURE__*/_jsx(GridSettingsIcon, {})
|
181
179
|
})
|
182
180
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
183
|
-
title:
|
181
|
+
title: "Delete Video",
|
184
182
|
arrow: true,
|
185
183
|
children: /*#__PURE__*/_jsx(IconButton, {
|
186
184
|
onClick: onDelete,
|
@@ -286,8 +284,7 @@ const Video = ({
|
|
286
284
|
url: url,
|
287
285
|
readOnly: readOnly,
|
288
286
|
resizing: resizing,
|
289
|
-
classes: classes
|
290
|
-
translation: translation
|
287
|
+
classes: classes
|
291
288
|
}), !readOnly && url ? /*#__PURE__*/_jsx(IconButton, {
|
292
289
|
onPointerDown: onMouseDown,
|
293
290
|
style: {
|
@@ -26,14 +26,13 @@ const getCode = (embedData, isEncoded) => {
|
|
26
26
|
return embedData;
|
27
27
|
};
|
28
28
|
const ToolBar = ({
|
29
|
-
onDelete
|
30
|
-
translation
|
29
|
+
onDelete
|
31
30
|
}) => {
|
32
31
|
return /*#__PURE__*/_jsx("div", {
|
33
32
|
className: "element-toolbar visible-on-hover",
|
34
33
|
contentEditable: false,
|
35
34
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
36
|
-
title:
|
35
|
+
title: "Delete",
|
37
36
|
arrow: true,
|
38
37
|
children: /*#__PURE__*/_jsx(IconButton, {
|
39
38
|
onClick: onDelete,
|
@@ -56,8 +55,7 @@ const Code = props => {
|
|
56
55
|
isSanitized
|
57
56
|
} = element;
|
58
57
|
const {
|
59
|
-
readOnly
|
60
|
-
translation
|
58
|
+
readOnly
|
61
59
|
} = customProps;
|
62
60
|
const editor = useSlateStatic();
|
63
61
|
const path = ReactEditor.findPath(editor, element);
|
@@ -92,8 +90,7 @@ const Code = props => {
|
|
92
90
|
}, /*#__PURE__*/_jsx("div", {
|
93
91
|
ref: codeRef
|
94
92
|
}), children, !readOnly && /*#__PURE__*/_jsx(ToolBar, {
|
95
|
-
onDelete: onDelete
|
96
|
-
translation: translation
|
93
|
+
onDelete: onDelete
|
97
94
|
}));
|
98
95
|
};
|
99
96
|
export default Code;
|
@@ -7,19 +7,15 @@ import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
8
8
|
const EmbedScript = props => {
|
9
9
|
const {
|
10
|
-
icoBtnType
|
11
|
-
customProps
|
10
|
+
icoBtnType
|
12
11
|
} = props;
|
13
12
|
const [open, setOpen] = useState(false);
|
14
|
-
const {
|
15
|
-
translation
|
16
|
-
} = customProps;
|
17
13
|
const handleClick = () => {
|
18
14
|
setOpen(true);
|
19
15
|
};
|
20
16
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
21
17
|
children: [/*#__PURE__*/_jsx(ToolbarIcon, {
|
22
|
-
title:
|
18
|
+
title: "Code",
|
23
19
|
onClick: handleClick,
|
24
20
|
icon: /*#__PURE__*/_jsx(Icon, {
|
25
21
|
icon: "embedScript"
|
@@ -24,9 +24,6 @@ const EmbedScriptPopup = props => {
|
|
24
24
|
loading,
|
25
25
|
error
|
26
26
|
} = apiStatus;
|
27
|
-
const {
|
28
|
-
translation
|
29
|
-
} = customProps;
|
30
27
|
useEffect(() => {
|
31
28
|
if (customProps?.services) {
|
32
29
|
customProps.services("allowedDomains", {}).then(data => {
|
@@ -81,7 +78,7 @@ const EmbedScriptPopup = props => {
|
|
81
78
|
alignItems: "center",
|
82
79
|
gap: "6px"
|
83
80
|
},
|
84
|
-
children: [
|
81
|
+
children: ["Embed Code", allowedDomains?.length ? /*#__PURE__*/_jsx(Tooltip, {
|
85
82
|
title: /*#__PURE__*/_jsxs(Box, {
|
86
83
|
sx: {
|
87
84
|
textTransform: "none"
|
@@ -90,7 +87,7 @@ const EmbedScriptPopup = props => {
|
|
90
87
|
style: {
|
91
88
|
fontWeight: "bold"
|
92
89
|
},
|
93
|
-
children:
|
90
|
+
children: "Allowed Domains"
|
94
91
|
}), /*#__PURE__*/_jsx("br", {}), allowedDomains.join(", ")]
|
95
92
|
}),
|
96
93
|
children: /*#__PURE__*/_jsx(InfoOutlinedIcon, {
|
@@ -117,16 +114,16 @@ const EmbedScriptPopup = props => {
|
|
117
114
|
}), /*#__PURE__*/_jsx(Box, {
|
118
115
|
component: "div",
|
119
116
|
color: "red",
|
120
|
-
children: error ?
|
117
|
+
children: error ? "There was some error on this code." : ""
|
121
118
|
})]
|
122
119
|
}), /*#__PURE__*/_jsxs(DialogActions, {
|
123
120
|
children: [/*#__PURE__*/_jsx(Button, {
|
124
121
|
onClick: onSubmit,
|
125
122
|
disabled: loading,
|
126
|
-
children: loading ?
|
123
|
+
children: loading ? "Validating" : "Save"
|
127
124
|
}), /*#__PURE__*/_jsx(Button, {
|
128
125
|
onClick: onClose,
|
129
|
-
children:
|
126
|
+
children: "Cancel"
|
130
127
|
})]
|
131
128
|
})]
|
132
129
|
})
|
@@ -14,17 +14,13 @@ const EmojiButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
14
14
|
const {
|
15
15
|
icoBtnType,
|
16
16
|
selectionTarget,
|
17
|
-
theme = 'light'
|
18
|
-
customProps
|
17
|
+
theme = 'light'
|
19
18
|
} = props;
|
20
19
|
const editor = useSlateStatic();
|
21
20
|
const [anchorEl, setAnchorEl] = useState(null);
|
22
21
|
const [target, setTarget] = useState(selectionTarget);
|
23
22
|
const open = Boolean(anchorEl);
|
24
23
|
const isMobile = window.matchMedia("(max-width: 899px)")?.matches || false;
|
25
|
-
const {
|
26
|
-
translation
|
27
|
-
} = customProps;
|
28
24
|
useImperativeHandle(ref, () => ({
|
29
25
|
triggerClick: target => {
|
30
26
|
setTarget(target);
|
@@ -54,7 +50,7 @@ const EmojiButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
54
50
|
};
|
55
51
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
56
52
|
children: [/*#__PURE__*/_jsx(ToolbarIcon, {
|
57
|
-
title:
|
53
|
+
title: "Emoji",
|
58
54
|
onClick: onClick,
|
59
55
|
icon: /*#__PURE__*/_jsx(Icon, {
|
60
56
|
icon: "emoji"
|
@@ -9,11 +9,8 @@ const FieldPopup = props => {
|
|
9
9
|
onClose,
|
10
10
|
customProps
|
11
11
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
12
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
16
|
-
title:
|
13
|
+
title: "Form Field",
|
17
14
|
type: "fieldStyle",
|
18
15
|
element: element,
|
19
16
|
onSave: onSave,
|
@@ -32,8 +32,7 @@ const Form = props => {
|
|
32
32
|
page_id,
|
33
33
|
onFormSubmit = () => {},
|
34
34
|
tagName = "Pages",
|
35
|
-
isIframe = false
|
36
|
-
translation
|
35
|
+
isIframe = false
|
37
36
|
} = customProps;
|
38
37
|
const {
|
39
38
|
buttonProps,
|
@@ -314,7 +313,7 @@ const Form = props => {
|
|
314
313
|
textAlign: "left"
|
315
314
|
},
|
316
315
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
317
|
-
title:
|
316
|
+
title: "Form Settings",
|
318
317
|
arrow: true,
|
319
318
|
children: /*#__PURE__*/_jsx(IconButton, {
|
320
319
|
onClick: onSettings,
|
@@ -322,7 +321,7 @@ const Form = props => {
|
|
322
321
|
children: /*#__PURE__*/_jsx(GridSettingsIcon, {})
|
323
322
|
})
|
324
323
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
325
|
-
title:
|
324
|
+
title: "Add Form Field",
|
326
325
|
arrow: true,
|
327
326
|
children: /*#__PURE__*/_jsx(IconButton, {
|
328
327
|
onClick: onAddFormField,
|
@@ -330,7 +329,7 @@ const Form = props => {
|
|
330
329
|
children: /*#__PURE__*/_jsx(GridAddSectionIcon, {})
|
331
330
|
})
|
332
331
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
333
|
-
title:
|
332
|
+
title: "Delete Form",
|
334
333
|
arrow: true,
|
335
334
|
children: /*#__PURE__*/_jsx(IconButton, {
|
336
335
|
onClick: onDelete,
|
@@ -338,7 +337,7 @@ const Form = props => {
|
|
338
337
|
children: /*#__PURE__*/_jsx(DeleteIcon, {})
|
339
338
|
})
|
340
339
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
341
|
-
title:
|
340
|
+
title: "Workflow",
|
342
341
|
arrow: true,
|
343
342
|
children: /*#__PURE__*/_jsx(IconButton, {
|
344
343
|
className: "svg-big-btn",
|
@@ -522,14 +521,12 @@ const Form = props => {
|
|
522
521
|
element: element,
|
523
522
|
onSave: onSave,
|
524
523
|
onClose: onClose,
|
525
|
-
customProps: customProps
|
526
|
-
translation: translation
|
524
|
+
customProps: customProps
|
527
525
|
}) : null, /*#__PURE__*/_jsx(Workflow, {
|
528
526
|
openWorkflow: openWorkflow,
|
529
527
|
element: element,
|
530
528
|
closeWorkflow: closeWorkflow,
|
531
|
-
onSave: onSave
|
532
|
-
customProps: customProps
|
529
|
+
onSave: onSave
|
533
530
|
}), !readOnly && !isIframe ? /*#__PURE__*/_jsxs(Menu, {
|
534
531
|
className: "editor-btn-options",
|
535
532
|
open: anchorEl !== null,
|
@@ -539,7 +536,7 @@ const Form = props => {
|
|
539
536
|
children: [/*#__PURE__*/_jsx(MenuItem, {
|
540
537
|
onClick: onMenuClick("edit"),
|
541
538
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
542
|
-
title:
|
539
|
+
title: "Button Settings",
|
543
540
|
arrow: true,
|
544
541
|
children: /*#__PURE__*/_jsx(IconButton, {
|
545
542
|
children: /*#__PURE__*/_jsx(GridSettingsIcon, {})
|
@@ -548,7 +545,7 @@ const Form = props => {
|
|
548
545
|
}), /*#__PURE__*/_jsx(MenuItem, {
|
549
546
|
onClick: onMenuClick("test"),
|
550
547
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
551
|
-
title:
|
548
|
+
title: "Test Submit",
|
552
549
|
arrow: true,
|
553
550
|
children: /*#__PURE__*/_jsx(IconButton, {
|
554
551
|
children: /*#__PURE__*/_jsx(BackupIcon, {})
|
@@ -5,18 +5,14 @@ import ToolbarIcon from "../../common/ToolbarIcon";
|
|
5
5
|
import Icon from "../../common/Icon";
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
7
7
|
const FormButton = ({
|
8
|
-
icoBtnType
|
9
|
-
customProps
|
8
|
+
icoBtnType
|
10
9
|
}) => {
|
11
|
-
const {
|
12
|
-
translation
|
13
|
-
} = customProps;
|
14
10
|
const editor = useSlateStatic();
|
15
11
|
const onClick = () => {
|
16
12
|
insertForm(editor);
|
17
13
|
};
|
18
14
|
return /*#__PURE__*/_jsx(ToolbarIcon, {
|
19
|
-
title:
|
15
|
+
title: "Form",
|
20
16
|
onClick: onClick,
|
21
17
|
icon: /*#__PURE__*/_jsx(Icon, {
|
22
18
|
icon: "form"
|
@@ -8,12 +8,11 @@ const FormPopup = props => {
|
|
8
8
|
element,
|
9
9
|
onSave,
|
10
10
|
onClose,
|
11
|
-
customProps
|
12
|
-
translation
|
11
|
+
customProps
|
13
12
|
} = props;
|
14
13
|
return /*#__PURE__*/_jsx(_Fragment, {
|
15
14
|
children: /*#__PURE__*/_jsx(StyleBuilder, {
|
16
|
-
title:
|
15
|
+
title: "Form",
|
17
16
|
type: "formStyle",
|
18
17
|
element: element,
|
19
18
|
onSave: onSave,
|
@@ -21,12 +21,8 @@ const FormWorkflow = props => {
|
|
21
21
|
setBodyData,
|
22
22
|
handleSelectedVariables,
|
23
23
|
handleInputReset,
|
24
|
-
classes
|
25
|
-
customProps
|
24
|
+
classes
|
26
25
|
} = props;
|
27
|
-
const {
|
28
|
-
translation
|
29
|
-
} = customProps;
|
30
26
|
const [anchorEl, setAnchorEl] = useState(null);
|
31
27
|
const variables = element?.children;
|
32
28
|
const type = 1;
|
@@ -61,10 +57,10 @@ const FormWorkflow = props => {
|
|
61
57
|
xs: 12,
|
62
58
|
children: [/*#__PURE__*/_jsx(Typography, {
|
63
59
|
sx: classes.subHeadings,
|
64
|
-
children:
|
60
|
+
children: "Set Timings *"
|
65
61
|
}), /*#__PURE__*/_jsx(Typography, {
|
66
62
|
sx: classes.infoText,
|
67
|
-
children:
|
63
|
+
children: "Invitees will receive reminder emails at specified times before scheduled events"
|
68
64
|
})]
|
69
65
|
}), /*#__PURE__*/_jsx(Grid, {
|
70
66
|
item: true,
|
@@ -81,7 +77,7 @@ const FormWorkflow = props => {
|
|
81
77
|
defaultValue: 1,
|
82
78
|
children: [/*#__PURE__*/_jsx(FormControlLabel, {
|
83
79
|
value: "immediately",
|
84
|
-
label:
|
80
|
+
label: "Immediately",
|
85
81
|
onChange: () => {
|
86
82
|
setSchedule("immediately");
|
87
83
|
},
|
@@ -90,7 +86,7 @@ const FormWorkflow = props => {
|
|
90
86
|
})
|
91
87
|
}), /*#__PURE__*/_jsx(FormControlLabel, {
|
92
88
|
value: "after",
|
93
|
-
label:
|
89
|
+
label: "After",
|
94
90
|
onChange: () => {
|
95
91
|
setSchedule("after");
|
96
92
|
},
|
@@ -137,15 +133,15 @@ const FormWorkflow = props => {
|
|
137
133
|
children: [/*#__PURE__*/_jsx(MenuItem, {
|
138
134
|
sx: classes.selectList,
|
139
135
|
value: "minutes",
|
140
|
-
children:
|
136
|
+
children: "Minutes"
|
141
137
|
}), /*#__PURE__*/_jsx(MenuItem, {
|
142
138
|
sx: classes.selectList,
|
143
139
|
value: "hours",
|
144
|
-
children:
|
140
|
+
children: "Hours"
|
145
141
|
}), /*#__PURE__*/_jsx(MenuItem, {
|
146
142
|
sx: classes.selectList,
|
147
143
|
value: "days",
|
148
|
-
children:
|
144
|
+
children: "Day"
|
149
145
|
})]
|
150
146
|
})
|
151
147
|
})
|
@@ -158,7 +154,7 @@ const FormWorkflow = props => {
|
|
158
154
|
xs: 12,
|
159
155
|
children: [/*#__PURE__*/_jsx(Typography, {
|
160
156
|
sx: classes.formHeadings,
|
161
|
-
children:
|
157
|
+
children: "Subject *"
|
162
158
|
}), /*#__PURE__*/_jsx(TextField, {
|
163
159
|
multiline: true,
|
164
160
|
margin: "none",
|
@@ -193,7 +189,7 @@ const FormWorkflow = props => {
|
|
193
189
|
sx: classes.variableBtn,
|
194
190
|
onClick: handleVariables,
|
195
191
|
endIcon: /*#__PURE__*/_jsx(KeyboardArrowDownIcon, {}),
|
196
|
-
children:
|
192
|
+
children: "Variables"
|
197
193
|
}), /*#__PURE__*/_jsx(Menu, {
|
198
194
|
id: "basic-menu",
|
199
195
|
open: Boolean(anchorEl),
|
@@ -223,7 +219,7 @@ const FormWorkflow = props => {
|
|
223
219
|
xs: 12,
|
224
220
|
children: [/*#__PURE__*/_jsx(Typography, {
|
225
221
|
sx: classes.formHeadings,
|
226
|
-
children:
|
222
|
+
children: "Body *"
|
227
223
|
}), /*#__PURE__*/_jsx(UserInputs, {
|
228
224
|
element: element,
|
229
225
|
type: 2,
|
@@ -231,9 +227,7 @@ const FormWorkflow = props => {
|
|
231
227
|
handleField: handleBodyField,
|
232
228
|
onSave: onSaveBodyField,
|
233
229
|
handleSelectedVariables: handleSelectedVariables,
|
234
|
-
handleInputReset: handleInputReset
|
235
|
-
customProps: customProps,
|
236
|
-
translation: translation
|
230
|
+
handleInputReset: handleInputReset
|
237
231
|
})]
|
238
232
|
})]
|
239
233
|
});
|