@flozy/editor 9.5.4 → 9.5.5
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 +29 -20
- package/dist/Editor/CommonEditor.js +19 -130
- package/dist/Editor/DialogWrapper.js +25 -31
- package/dist/Editor/Editor.css +7 -11
- 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 +3 -3
- 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 +11 -16
- 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/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 +3 -21
- package/dist/Editor/Elements/FreeGrid/FreeGridButton.js +2 -6
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +4 -34
- 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 +2 -6
- 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 +4 -8
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +9 -16
- package/dist/Editor/Toolbar/PopupTool/TemplateCard.js +5 -11
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +42 -122
- package/dist/Editor/Toolbar/PopupTool/index.js +1 -17
- 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/Styles.js +9 -3
- 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/OptionsPopup/index.js +3 -4
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +4 -11
- package/dist/Editor/common/RnD/Theme/ViewportStimulator.js +3 -6
- 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 +103 -187
- 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 +7 -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 +57 -68
- package/dist/Editor/helper/index.js +2 -2
- package/dist/Editor/helper/theme.js +2 -202
- package/dist/Editor/hooks/useMouseMove.js +3 -9
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +7 -10
- 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 +47 -164
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/embed.js +6 -8
- 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/dist/Editor/utils/table.js +6 -9
- package/package.json +2 -2
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +0 -425
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -441
- 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 -33
- 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 -147
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -72
- package/dist/Editor/themeSettings/buttons/index.js +0 -285
- package/dist/Editor/themeSettings/buttons/style.js +0 -23
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -305
- 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 -222
- package/dist/Editor/themeSettings/fonts/style.js +0 -60
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -331
- package/dist/Editor/themeSettings/style.js +0 -211
- 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
@@ -19,8 +19,7 @@ const Toolbar = props => {
|
|
19
19
|
selected,
|
20
20
|
linkRef,
|
21
21
|
onEditLink,
|
22
|
-
editor
|
23
|
-
translation
|
22
|
+
editor
|
24
23
|
} = props;
|
25
24
|
const btnProps = handleLinkType(urlPath, linkType, true, showInNewTab === "_blank");
|
26
25
|
const navType = getLinkType(linkType, urlPath);
|
@@ -57,13 +56,13 @@ const Toolbar = props => {
|
|
57
56
|
children: /*#__PURE__*/_jsx(OpenInNewIcon, {})
|
58
57
|
})
|
59
58
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
60
|
-
title:
|
59
|
+
title: "Edit",
|
61
60
|
children: /*#__PURE__*/_jsx(IconButton, {
|
62
61
|
onClick: onEditLink,
|
63
62
|
children: /*#__PURE__*/_jsx(EditIcon, {})
|
64
63
|
})
|
65
64
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
66
|
-
title:
|
65
|
+
title: "Remove",
|
67
66
|
children: /*#__PURE__*/_jsx(IconButton, {
|
68
67
|
onClick: () => removeLink(editor),
|
69
68
|
children: /*#__PURE__*/_jsx(LinkOffIcon, {})
|
@@ -97,8 +96,7 @@ const Link = props => {
|
|
97
96
|
customProps
|
98
97
|
} = props;
|
99
98
|
const {
|
100
|
-
readOnly
|
101
|
-
translation
|
99
|
+
readOnly
|
102
100
|
} = customProps;
|
103
101
|
const editor = useSlateStatic();
|
104
102
|
const selected = useSelected();
|
@@ -156,8 +154,7 @@ const Link = props => {
|
|
156
154
|
selected: selected,
|
157
155
|
linkRef: linkRef,
|
158
156
|
onEditLink: onEditLink,
|
159
|
-
editor: editor
|
160
|
-
translation: translation
|
157
|
+
editor: editor
|
161
158
|
}), showInput ? /*#__PURE__*/_jsx(LinkSettings, {
|
162
159
|
handleClose: handleClose,
|
163
160
|
onSave: ({
|
@@ -26,9 +26,6 @@ const LinkButton = props => {
|
|
26
26
|
isActive,
|
27
27
|
props: blockProps
|
28
28
|
} = getBlockActive(editor, "link");
|
29
|
-
const {
|
30
|
-
translation
|
31
|
-
} = customProps;
|
32
29
|
const urlPath = blockProps?.url || blockProps?.href;
|
33
30
|
const showInNewTab = blockProps?.showInNewTab || blockProps?.target;
|
34
31
|
const {
|
@@ -64,7 +61,7 @@ const LinkButton = props => {
|
|
64
61
|
ref: linkInputRef,
|
65
62
|
className: "popup-wrapper1",
|
66
63
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
67
|
-
title:
|
64
|
+
title: "Link",
|
68
65
|
arrow: true,
|
69
66
|
children: /*#__PURE__*/_jsx(IconButton, {
|
70
67
|
className: `${showInput ? "clicked btnActive" : ""} ${isActive ? "btnActive" : ""}`,
|
@@ -7,19 +7,14 @@ import CheckListStyle from "./CheckListStyles";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
8
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
9
9
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
10
|
-
const CheckList =
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
customProps
|
19
|
-
} = props;
|
20
|
-
const {
|
21
|
-
translation
|
22
|
-
} = customProps;
|
10
|
+
const CheckList = ({
|
11
|
+
attributes,
|
12
|
+
children,
|
13
|
+
element,
|
14
|
+
isEmpty,
|
15
|
+
className,
|
16
|
+
style
|
17
|
+
}) => {
|
23
18
|
const editor = useSlateStatic();
|
24
19
|
const readOnly = useReadOnly();
|
25
20
|
const classes = CheckListStyle();
|
@@ -78,7 +73,7 @@ const CheckList = props => {
|
|
78
73
|
width: '90%'
|
79
74
|
},
|
80
75
|
className: `checkbox-list content-editable ${isEmpty ? "empty" : ""}`,
|
81
|
-
placeholder: nestedCheckList ? "" :
|
76
|
+
placeholder: nestedCheckList ? "" : "Todo List",
|
82
77
|
children: children
|
83
78
|
})]
|
84
79
|
})
|
@@ -5,13 +5,9 @@ import ToolbarIcon from "../../common/ToolbarIcon";
|
|
5
5
|
import { NewLineElementIcon } from "../../common/iconListV2";
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
7
7
|
const NewLineButton = ({
|
8
|
-
icoBtnType
|
9
|
-
customProps
|
8
|
+
icoBtnType
|
10
9
|
}) => {
|
11
10
|
const editor = useSlateStatic();
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
11
|
const onAddNewLine = () => {
|
16
12
|
Transforms.insertNodes(editor, [{
|
17
13
|
type: "paragraph",
|
@@ -25,7 +21,7 @@ const NewLineButton = ({
|
|
25
21
|
ReactEditor.focus(editor);
|
26
22
|
};
|
27
23
|
return /*#__PURE__*/_jsx(ToolbarIcon, {
|
28
|
-
title:
|
24
|
+
title: "New Line",
|
29
25
|
onClick: onAddNewLine,
|
30
26
|
icon: /*#__PURE__*/_jsx(NewLineElementIcon, {
|
31
27
|
sx: {
|
@@ -21,9 +21,6 @@ const PageSettingsButton = props => {
|
|
21
21
|
} = props;
|
22
22
|
const [openSetttings, setOpenSettings] = useState(false);
|
23
23
|
const editor = useSlateStatic();
|
24
|
-
const {
|
25
|
-
translation
|
26
|
-
} = customProps;
|
27
24
|
const {
|
28
25
|
theme
|
29
26
|
} = useEditorContext();
|
@@ -68,7 +65,7 @@ const PageSettingsButton = props => {
|
|
68
65
|
className: "removeDefaultSvgCls"
|
69
66
|
})
|
70
67
|
}) : /*#__PURE__*/_jsx(ToolbarIcon, {
|
71
|
-
title:
|
68
|
+
title: "Page Settings",
|
72
69
|
onClick: onSettings,
|
73
70
|
icon: /*#__PURE__*/_jsx(SettingsIcon, {}),
|
74
71
|
icoBtnType: icoBtnType
|
@@ -9,11 +9,8 @@ const PageSettingsPopup = 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: "Page Settings",
|
17
14
|
type: "pageSettingsStyle",
|
18
15
|
element: element,
|
19
16
|
onSave: onSave,
|
@@ -17,8 +17,7 @@ const SearchButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
17
17
|
icoBtnType,
|
18
18
|
selectionTarget,
|
19
19
|
theme = 'light',
|
20
|
-
otherProps
|
21
|
-
customProps
|
20
|
+
otherProps
|
22
21
|
} = props;
|
23
22
|
const editor = useSlateStatic();
|
24
23
|
const [anchorEl, setAnchorEl] = useState(null);
|
@@ -127,8 +126,7 @@ const SearchButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
127
126
|
onSearchChange: onSearchChange,
|
128
127
|
handleClick: handleClick,
|
129
128
|
theme: theme,
|
130
|
-
handleClose: handleClose
|
131
|
-
customProps: customProps
|
129
|
+
handleClose: handleClose
|
132
130
|
})
|
133
131
|
})
|
134
132
|
}) : /*#__PURE__*/_jsx(Popover, {
|
@@ -171,8 +169,7 @@ const SearchButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
171
169
|
onSearchChange: onSearchChange,
|
172
170
|
handleClick: handleClick,
|
173
171
|
theme: theme,
|
174
|
-
handleClose: handleClose
|
175
|
-
customProps: customProps
|
172
|
+
handleClose: handleClose
|
176
173
|
})
|
177
174
|
})
|
178
175
|
})]
|
@@ -11,12 +11,8 @@ const SearchAndDocList = ({
|
|
11
11
|
onSearchChange,
|
12
12
|
handleClick,
|
13
13
|
theme,
|
14
|
-
handleClose
|
15
|
-
customProps
|
14
|
+
handleClose
|
16
15
|
}) => {
|
17
|
-
const {
|
18
|
-
translation
|
19
|
-
} = customProps;
|
20
16
|
const isMobile = window.matchMedia("(max-width: 899px)")?.matches || false;
|
21
17
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
22
18
|
children: [/*#__PURE__*/_jsxs(Box, {
|
@@ -32,7 +28,7 @@ const SearchAndDocList = ({
|
|
32
28
|
fontWeight: 600,
|
33
29
|
color: theme?.palette?.primary?.main
|
34
30
|
},
|
35
|
-
children:
|
31
|
+
children: "Brains"
|
36
32
|
}), !isMobile ? /*#__PURE__*/_jsx(IconButton, {
|
37
33
|
onClick: e => {
|
38
34
|
e.stopPropagation();
|
@@ -72,7 +68,7 @@ const SearchAndDocList = ({
|
|
72
68
|
children: /*#__PURE__*/_jsx(TextField, {
|
73
69
|
fullWidth: true,
|
74
70
|
variant: "outlined",
|
75
|
-
placeholder:
|
71
|
+
placeholder: "Search here...",
|
76
72
|
size: "small",
|
77
73
|
onChange: e => onSearchChange(e.target.value),
|
78
74
|
InputProps: {
|
@@ -6,17 +6,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const SignatureButton = 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 handleInsertSignature = () => {
|
16
12
|
insertSignature(editor);
|
17
13
|
};
|
18
14
|
return /*#__PURE__*/_jsx(ToolbarIcon, {
|
19
|
-
title:
|
15
|
+
title: "Signature",
|
20
16
|
onClick: handleInsertSignature,
|
21
17
|
icon: /*#__PURE__*/_jsx(Icon, {
|
22
18
|
icon: "signature"
|
@@ -6,12 +6,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
7
7
|
const TypeSignature = props => {
|
8
8
|
const {
|
9
|
-
onDataChange
|
10
|
-
customProps
|
9
|
+
onDataChange
|
11
10
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
11
|
const [name, setName] = useState("");
|
16
12
|
const [fontFamily, setFontFamily] = useState("");
|
17
13
|
const onChange = e => {
|
@@ -48,7 +44,7 @@ const TypeSignature = props => {
|
|
48
44
|
warp: "noWarp",
|
49
45
|
maxWidth: "120px"
|
50
46
|
},
|
51
|
-
children: name ||
|
47
|
+
children: name || "Signature"
|
52
48
|
})
|
53
49
|
})
|
54
50
|
}, `typesign-ff-${m.value}`);
|
@@ -9,9 +9,6 @@ const UploadSignature = props => {
|
|
9
9
|
customProps,
|
10
10
|
onUploadDone
|
11
11
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
12
|
const [base64, setBase64] = useState(null);
|
16
13
|
const [uploading, setUploading] = useState(false);
|
17
14
|
const onChange = async e => {
|
@@ -57,7 +54,7 @@ const UploadSignature = props => {
|
|
57
54
|
sx: {
|
58
55
|
ml: 1
|
59
56
|
},
|
60
|
-
children:
|
57
|
+
children: "Upload your signature"
|
61
58
|
})]
|
62
59
|
})
|
63
60
|
})]
|
@@ -31,8 +31,7 @@ const SignaturePopup = props => {
|
|
31
31
|
const {
|
32
32
|
readOnly,
|
33
33
|
metadata,
|
34
|
-
isSignerDetailsRequired = false
|
35
|
-
translation
|
34
|
+
isSignerDetailsRequired = false
|
36
35
|
} = customProps;
|
37
36
|
const [open, setOpen] = useState(false);
|
38
37
|
const [tab, setTab] = useState(0);
|
@@ -68,7 +67,7 @@ const SignaturePopup = props => {
|
|
68
67
|
isValidEmail = validationMethods?.isEmail(signedData?.signedByEmail);
|
69
68
|
}
|
70
69
|
if (isValidEmail === "Enter valid email address") {
|
71
|
-
alert(
|
70
|
+
alert(isValidEmail);
|
72
71
|
} else {
|
73
72
|
onSave(signedData);
|
74
73
|
// manual delay
|
@@ -141,14 +140,14 @@ const SignaturePopup = props => {
|
|
141
140
|
style: {
|
142
141
|
color: "#A2B0B9"
|
143
142
|
},
|
144
|
-
children:
|
143
|
+
children: "Your sign will be placed here"
|
145
144
|
})]
|
146
145
|
}), /*#__PURE__*/_jsx(Button, {
|
147
146
|
onClick: handleOpen,
|
148
147
|
style: {
|
149
148
|
width: "fit-content"
|
150
149
|
},
|
151
|
-
children:
|
150
|
+
children: "Sign here"
|
152
151
|
})]
|
153
152
|
}), /*#__PURE__*/_jsx(Dialog, {
|
154
153
|
className: `${className} dialogComp`,
|
@@ -185,7 +184,7 @@ const SignaturePopup = props => {
|
|
185
184
|
variant: "h6",
|
186
185
|
color: "primary",
|
187
186
|
sx: classes.popupTitle2,
|
188
|
-
children:
|
187
|
+
children: "Signature"
|
189
188
|
})
|
190
189
|
}), /*#__PURE__*/_jsx(Grid, {
|
191
190
|
item: true,
|
@@ -232,7 +231,7 @@ const SignaturePopup = props => {
|
|
232
231
|
style: {
|
233
232
|
textTransform: "none"
|
234
233
|
},
|
235
|
-
children:
|
234
|
+
children: "Draw Signature"
|
236
235
|
})]
|
237
236
|
})
|
238
237
|
}), /*#__PURE__*/_jsx(Tab, {
|
@@ -245,7 +244,7 @@ const SignaturePopup = props => {
|
|
245
244
|
style: {
|
246
245
|
textTransform: "none"
|
247
246
|
},
|
248
|
-
children:
|
247
|
+
children: "Type Signature"
|
249
248
|
})]
|
250
249
|
})
|
251
250
|
}), /*#__PURE__*/_jsx(Tab, {
|
@@ -258,7 +257,7 @@ const SignaturePopup = props => {
|
|
258
257
|
style: {
|
259
258
|
textTransform: "none"
|
260
259
|
},
|
261
|
-
children:
|
260
|
+
children: "Upload Signature"
|
262
261
|
})]
|
263
262
|
})
|
264
263
|
})]
|
@@ -304,7 +303,7 @@ const SignaturePopup = props => {
|
|
304
303
|
fontWeight: 500,
|
305
304
|
fontSize: "14px"
|
306
305
|
},
|
307
|
-
children:
|
306
|
+
children: "Name:"
|
308
307
|
})
|
309
308
|
}), /*#__PURE__*/_jsx(Grid, {
|
310
309
|
item: true,
|
@@ -313,7 +312,7 @@ const SignaturePopup = props => {
|
|
313
312
|
fullWidth: true,
|
314
313
|
id: "signedBy",
|
315
314
|
name: "signedBy",
|
316
|
-
placeholder:
|
315
|
+
placeholder: "Enter Name",
|
317
316
|
value: signedData.signedBy || ""
|
318
317
|
// defaultValue={defaultName || ""}
|
319
318
|
,
|
@@ -341,7 +340,7 @@ const SignaturePopup = props => {
|
|
341
340
|
fontWeight: 500,
|
342
341
|
fontSize: "14px"
|
343
342
|
},
|
344
|
-
children:
|
343
|
+
children: "Date:"
|
345
344
|
})
|
346
345
|
}), /*#__PURE__*/_jsx(Grid, {
|
347
346
|
item: true,
|
@@ -362,7 +361,7 @@ const SignaturePopup = props => {
|
|
362
361
|
customInput: /*#__PURE__*/_jsx(TextField, {
|
363
362
|
fullWidth: true,
|
364
363
|
name: "signedOn",
|
365
|
-
placeholder:
|
364
|
+
placeholder: "Select Date",
|
366
365
|
size: "small",
|
367
366
|
InputProps: {
|
368
367
|
startAdornment: /*#__PURE__*/_jsx(InputAdornment, {
|
@@ -432,7 +431,7 @@ const SignaturePopup = props => {
|
|
432
431
|
fontWeight: 500,
|
433
432
|
fontSize: "14px"
|
434
433
|
},
|
435
|
-
children:
|
434
|
+
children: "Email:"
|
436
435
|
})
|
437
436
|
}), /*#__PURE__*/_jsx(Grid, {
|
438
437
|
container: true,
|
@@ -441,7 +440,7 @@ const SignaturePopup = props => {
|
|
441
440
|
fullWidth: true,
|
442
441
|
id: "signedByEmail",
|
443
442
|
name: "signedByEmail",
|
444
|
-
placeholder:
|
443
|
+
placeholder: "Enter Email",
|
445
444
|
size: "small",
|
446
445
|
onChange: onChange,
|
447
446
|
sx: classes.signaturePopUpNameField,
|
@@ -519,12 +518,12 @@ const SignaturePopup = props => {
|
|
519
518
|
children: [!readOnly ? /*#__PURE__*/_jsx(Button, {
|
520
519
|
onClick: handleClear,
|
521
520
|
className: `secondaryBtn actionBtn deleteBtn deleteButtonSignature`,
|
522
|
-
children:
|
521
|
+
children: "Delete"
|
523
522
|
}) : null, /*#__PURE__*/_jsx(Button, {
|
524
523
|
onClick: handleSave,
|
525
524
|
className: `primaryBtn actionBtn ${isEmpty ? "disabled disabledSaveBtn" : ""}`,
|
526
525
|
disabled: isEmpty,
|
527
|
-
children:
|
526
|
+
children: "Save"
|
528
527
|
})]
|
529
528
|
})]
|
530
529
|
})]
|
@@ -24,8 +24,7 @@ const SimpleText = props => {
|
|
24
24
|
} = props;
|
25
25
|
const {
|
26
26
|
readOnly,
|
27
|
-
editorPlaceholder
|
28
|
-
translation
|
27
|
+
editorPlaceholder
|
29
28
|
} = customProps;
|
30
29
|
// const { element: pageSt } = getPageSettings(editor) || {};
|
31
30
|
// const { pageColor } = pageSt?.pageProps || {};
|
@@ -47,15 +46,15 @@ const SimpleText = props => {
|
|
47
46
|
}, children, openAI ? null : /*#__PURE__*/_jsx("span", {
|
48
47
|
contentEditable: false,
|
49
48
|
className: "placeholder-simple-text",
|
50
|
-
children: isEmptyEditor ? editorPlaceholder ||
|
51
|
-
children: [
|
49
|
+
children: isEmptyEditor ? editorPlaceholder || "Write Something..." : showPlaceHolder ? opacity && selected ? /*#__PURE__*/_jsxs(_Fragment, {
|
50
|
+
children: ["Type", " ", /*#__PURE__*/_jsx("span", {
|
52
51
|
style: {
|
53
52
|
backgroundColor: "#F2F6FA",
|
54
53
|
padding: "0px 2px",
|
55
54
|
borderRadius: "2px"
|
56
55
|
},
|
57
56
|
children: "/"
|
58
|
-
}), " ",
|
57
|
+
}), " ", "to browse elements"]
|
59
58
|
}) : "" : ""
|
60
59
|
}));
|
61
60
|
};
|
@@ -35,8 +35,8 @@ const SimpleTextStyle = ({
|
|
35
35
|
height: "24px",
|
36
36
|
overflow: "hidden",
|
37
37
|
fontSize: "14px",
|
38
|
-
display:
|
39
|
-
alignItems:
|
38
|
+
display: 'inline-flex',
|
39
|
+
alignItems: 'center',
|
40
40
|
"& .bg-pad-sl": {
|
41
41
|
padding: "2px 4px 2px 4px",
|
42
42
|
background: "transparent",
|
@@ -29,8 +29,7 @@ function DragButton({
|
|
29
29
|
const dragElement = useRef(null);
|
30
30
|
const [showTool, setShowTool] = useState(false);
|
31
31
|
const {
|
32
|
-
isMobile
|
33
|
-
translation
|
32
|
+
isMobile
|
34
33
|
} = customProps || {};
|
35
34
|
const onDragClick = () => {
|
36
35
|
onDrag();
|
@@ -63,8 +62,7 @@ function DragButton({
|
|
63
62
|
hideDelete,
|
64
63
|
handleToolAction: (value, option, dragType) => {
|
65
64
|
handleAction(value, option, dragType);
|
66
|
-
}
|
67
|
-
translation
|
65
|
+
}
|
68
66
|
};
|
69
67
|
return /*#__PURE__*/_jsx(_Fragment, {
|
70
68
|
children: show || showTool ? /*#__PURE__*/_jsxs(_Fragment, {
|
@@ -27,8 +27,7 @@ const hideRowDragBtns = (hide, dragRowBtnCls) => {
|
|
27
27
|
const ToolTableComponent = props => {
|
28
28
|
const {
|
29
29
|
handleAction,
|
30
|
-
editorTheme
|
31
|
-
translation
|
30
|
+
editorTheme
|
32
31
|
} = props;
|
33
32
|
const {
|
34
33
|
updateTableSelection
|
@@ -40,8 +39,7 @@ const ToolTableComponent = props => {
|
|
40
39
|
if (type === "duplicate") {
|
41
40
|
updateTableSelection(getDefaultTableSelection());
|
42
41
|
}
|
43
|
-
}
|
44
|
-
translation: translation
|
42
|
+
}
|
45
43
|
});
|
46
44
|
};
|
47
45
|
const MoreTableSettings = props => {
|
@@ -50,13 +48,9 @@ const MoreTableSettings = props => {
|
|
50
48
|
handleAction,
|
51
49
|
editorTheme,
|
52
50
|
setExpandTools,
|
53
|
-
classes
|
54
|
-
customProps
|
51
|
+
classes
|
55
52
|
} = props;
|
56
53
|
const isMobile = window.matchMedia("(max-width: 899px)")?.matches || false;
|
57
|
-
const {
|
58
|
-
translation
|
59
|
-
} = customProps;
|
60
54
|
return isMobile ? /*#__PURE__*/_jsx(SwipeableDrawerComponent, {
|
61
55
|
open: Boolean(exandTools),
|
62
56
|
onClose: () => {
|
@@ -67,8 +61,7 @@ const MoreTableSettings = props => {
|
|
67
61
|
sx: classes.mobileToolDrawer,
|
68
62
|
children: /*#__PURE__*/_jsx(ToolTableComponent, {
|
69
63
|
handleAction: handleAction,
|
70
|
-
editorTheme: editorTheme
|
71
|
-
translation: translation
|
64
|
+
editorTheme: editorTheme
|
72
65
|
})
|
73
66
|
})
|
74
67
|
}) : /*#__PURE__*/_jsx(Popper, {
|
@@ -84,8 +77,7 @@ const MoreTableSettings = props => {
|
|
84
77
|
children: /*#__PURE__*/_jsx("div", {
|
85
78
|
children: /*#__PURE__*/_jsx(ToolTableComponent, {
|
86
79
|
handleAction: handleAction,
|
87
|
-
editorTheme: editorTheme
|
88
|
-
translation: translation
|
80
|
+
editorTheme: editorTheme
|
89
81
|
})
|
90
82
|
})
|
91
83
|
})
|
@@ -100,8 +92,7 @@ const ToolBar = props => {
|
|
100
92
|
handleAction,
|
101
93
|
exandTools,
|
102
94
|
openSetttings,
|
103
|
-
hideTools
|
104
|
-
translation
|
95
|
+
hideTools
|
105
96
|
} = props;
|
106
97
|
const {
|
107
98
|
getSelectedCells
|
@@ -114,7 +105,7 @@ const ToolBar = props => {
|
|
114
105
|
sx: classes.tableToolBar,
|
115
106
|
children: !hideTools.includes("settings") ? /*#__PURE__*/_jsxs(_Fragment, {
|
116
107
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
117
|
-
title:
|
108
|
+
title: "Settings",
|
118
109
|
arrow: true,
|
119
110
|
onClick: () => handleAction("settings"),
|
120
111
|
children: /*#__PURE__*/_jsx(IconButton, {
|
@@ -122,7 +113,7 @@ const ToolBar = props => {
|
|
122
113
|
children: /*#__PURE__*/_jsx(SettingsIcon, {})
|
123
114
|
})
|
124
115
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
125
|
-
title:
|
116
|
+
title: "Show Tools",
|
126
117
|
arrow: true,
|
127
118
|
onClick: handleExpand,
|
128
119
|
children: /*#__PURE__*/_jsx(IconButton, {
|
@@ -156,8 +147,7 @@ const Table = props => {
|
|
156
147
|
const {
|
157
148
|
readOnly,
|
158
149
|
isMobile,
|
159
|
-
hideTools = []
|
160
|
-
translation
|
150
|
+
hideTools = []
|
161
151
|
} = customProps;
|
162
152
|
const [openSetttings, setOpenSettings] = useState(false);
|
163
153
|
const [exandTools, setExpandTools] = useState(null);
|
@@ -345,15 +335,13 @@ const Table = props => {
|
|
345
335
|
handleAction: handleAction,
|
346
336
|
exandTools: exandTools,
|
347
337
|
openSetttings: openSetttings,
|
348
|
-
hideTools: hideTools
|
349
|
-
translation: translation
|
338
|
+
hideTools: hideTools
|
350
339
|
}), /*#__PURE__*/_jsx(MoreTableSettings, {
|
351
340
|
exandTools: exandTools,
|
352
341
|
handleAction: handleAction,
|
353
342
|
editorTheme: editorTheme,
|
354
343
|
setExpandTools: setExpandTools,
|
355
|
-
classes: classes
|
356
|
-
customProps: customProps
|
344
|
+
classes: classes
|
357
345
|
}), openSetttings ? /*#__PURE__*/_jsx(TablePopup, {
|
358
346
|
element: tableProps?.styleProps || {},
|
359
347
|
onSave: onSave,
|
@@ -100,12 +100,8 @@ const TableCell = props => {
|
|
100
100
|
const [openSettings, setOpenSettings] = useState(false);
|
101
101
|
const table = new TableUtil(editor);
|
102
102
|
const tableProps = table.getTableProps();
|
103
|
-
const [tableNode] = getNodeWithType(editor, "table",
|
104
|
-
|
105
|
-
}); // getting cannot find the descendant path error, while deleting table because of unknown re-render issue, so wrapping it with try catch
|
106
|
-
const [rowNode] = getNodeWithType(editor, "table-row", {
|
107
|
-
at: path
|
108
|
-
});
|
103
|
+
const [tableNode] = getNodeWithType(editor, "table", path); // getting cannot find the descendant path error, while deleting table because of unknown re-render issue, so wrapping it with try catch
|
104
|
+
const [rowNode] = getNodeWithType(editor, "table-row", path);
|
109
105
|
const currentPath = path.slice(-2) || []; // getting last 2 items from path, which gives row and column position of the cell
|
110
106
|
const [row, column] = currentPath;
|
111
107
|
const isFirstRow = row === 0;
|
@@ -15,11 +15,8 @@ const TablePopup = props => {
|
|
15
15
|
styleType
|
16
16
|
} = props;
|
17
17
|
const styles = STYLE_TYPES[styleType] || tableStyle;
|
18
|
-
const {
|
19
|
-
translation
|
20
|
-
} = customProps;
|
21
18
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
22
|
-
title:
|
19
|
+
title: "Table",
|
23
20
|
type: "gridStyle",
|
24
21
|
element: element,
|
25
22
|
onSave: onSave,
|