@flozy/editor 9.8.1 → 9.8.3
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 +25 -139
- 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 +5 -15
- 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 +30 -43
- 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 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +6 -21
- 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 +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 -23
- 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/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/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 +6 -31
- package/dist/Editor/Elements/FreeGrid/FreeGridButton.js +2 -6
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +6 -54
- 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 +4 -7
- package/dist/Editor/Elements/Search/SearchList.js +5 -10
- package/dist/Editor/Elements/Signature/SignatureButton.js +2 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/DrawSignature.js +8 -2
- 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 +12 -24
- 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 +8 -9
- 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 +5 -17
- 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 +42 -122
- package/dist/Editor/Toolbar/PopupTool/index.js +2 -18
- 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 -31
- 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/MUIIcon/index.js +3 -0
- package/dist/Editor/common/MentionsPopup/index.js +2 -6
- package/dist/Editor/common/RnD/ContextMenu/CMenus.js +22 -46
- 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/ShadowElement.js +1 -2
- 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 +8 -55
- 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 -155
- package/dist/Editor/common/RnD/VirtualElement/updateAutoProps.js +3 -5
- package/dist/Editor/common/RnD/index.js +13 -69
- 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/SwipeableDrawer/index.js +1 -1
- package/dist/Editor/common/Uploader.js +5 -16
- package/dist/Editor/commonStyle.js +57 -68
- package/dist/Editor/helper/index.js +3 -27
- 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 +9 -11
- package/dist/Editor/plugins/withLayout.js +2 -3
- package/dist/Editor/plugins/withLinks.js +0 -10
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +173 -50
- package/dist/Editor/utils/SlateUtilityFunctions.js +50 -178
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/freegrid.js +3 -3
- package/dist/Editor/utils/helper.js +21 -92
- package/package.json +4 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +0 -444
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -436
- package/dist/Editor/assets/svg/ClearAllRounded.js +0 -31
- package/dist/Editor/assets/svg/ResetIconNew.js +0 -23
- 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/BoxHeaderAutoAlignment.js +0 -43
- package/dist/Editor/common/RnD/VirtualElement/ForceAutoAlignment.js +0 -44
- package/dist/Editor/common/RnD/VirtualElement/VirtualTextElement.js +0 -134
- package/dist/Editor/common/RnD/VirtualElement/helper.js +0 -381
- 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
@@ -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,
|
@@ -22,12 +22,8 @@ const FormWorkflow = props => {
|
|
22
22
|
setBodyData,
|
23
23
|
handleSelectedVariables,
|
24
24
|
handleInputReset,
|
25
|
-
classes
|
26
|
-
customProps
|
25
|
+
classes
|
27
26
|
} = props;
|
28
|
-
const {
|
29
|
-
translation
|
30
|
-
} = customProps;
|
31
27
|
const [anchorEl, setAnchorEl] = useState(null);
|
32
28
|
const variables = element?.children;
|
33
29
|
const type = 1;
|
@@ -64,10 +60,10 @@ const FormWorkflow = props => {
|
|
64
60
|
xs: 12,
|
65
61
|
children: [/*#__PURE__*/_jsx(Typography, {
|
66
62
|
sx: classes.subHeadings,
|
67
|
-
children:
|
63
|
+
children: "Set Timings *"
|
68
64
|
}), /*#__PURE__*/_jsx(Typography, {
|
69
65
|
sx: classes.infoText,
|
70
|
-
children:
|
66
|
+
children: "Invitees will receive reminder emails at specified times before scheduled events"
|
71
67
|
})]
|
72
68
|
}), /*#__PURE__*/_jsx(Grid, {
|
73
69
|
item: true,
|
@@ -84,7 +80,7 @@ const FormWorkflow = props => {
|
|
84
80
|
defaultValue: 1,
|
85
81
|
children: [/*#__PURE__*/_jsx(FormControlLabel, {
|
86
82
|
value: "immediately",
|
87
|
-
label:
|
83
|
+
label: "Immediately",
|
88
84
|
onChange: () => {
|
89
85
|
setSchedule("immediately");
|
90
86
|
},
|
@@ -93,7 +89,7 @@ const FormWorkflow = props => {
|
|
93
89
|
})
|
94
90
|
}), /*#__PURE__*/_jsx(FormControlLabel, {
|
95
91
|
value: "after",
|
96
|
-
label:
|
92
|
+
label: "After",
|
97
93
|
onChange: () => {
|
98
94
|
setSchedule("after");
|
99
95
|
},
|
@@ -140,15 +136,15 @@ const FormWorkflow = props => {
|
|
140
136
|
children: [/*#__PURE__*/_jsx(MenuItem, {
|
141
137
|
sx: classes.selectList,
|
142
138
|
value: "minutes",
|
143
|
-
children:
|
139
|
+
children: "Minutes"
|
144
140
|
}), /*#__PURE__*/_jsx(MenuItem, {
|
145
141
|
sx: classes.selectList,
|
146
142
|
value: "hours",
|
147
|
-
children:
|
143
|
+
children: "Hours"
|
148
144
|
}), /*#__PURE__*/_jsx(MenuItem, {
|
149
145
|
sx: classes.selectList,
|
150
146
|
value: "days",
|
151
|
-
children:
|
147
|
+
children: "Day"
|
152
148
|
})]
|
153
149
|
})
|
154
150
|
})
|
@@ -161,7 +157,7 @@ const FormWorkflow = props => {
|
|
161
157
|
xs: 12,
|
162
158
|
children: [/*#__PURE__*/_jsx(Typography, {
|
163
159
|
sx: classes.formHeadings,
|
164
|
-
children:
|
160
|
+
children: "Subject *"
|
165
161
|
}), /*#__PURE__*/_jsx(TextField, {
|
166
162
|
multiline: true,
|
167
163
|
margin: "none",
|
@@ -196,7 +192,7 @@ const FormWorkflow = props => {
|
|
196
192
|
sx: classes.variableBtn,
|
197
193
|
onClick: handleVariables,
|
198
194
|
endIcon: /*#__PURE__*/_jsx(KeyboardArrowDownIcon, {}),
|
199
|
-
children:
|
195
|
+
children: "Variables"
|
200
196
|
}), /*#__PURE__*/_jsx(Menu, {
|
201
197
|
id: "basic-menu",
|
202
198
|
open: Boolean(anchorEl),
|
@@ -226,7 +222,7 @@ const FormWorkflow = props => {
|
|
226
222
|
xs: 12,
|
227
223
|
children: [/*#__PURE__*/_jsx(Typography, {
|
228
224
|
sx: classes.formHeadings,
|
229
|
-
children:
|
225
|
+
children: "Body *"
|
230
226
|
}), /*#__PURE__*/_jsx(UserInputs, {
|
231
227
|
element: element,
|
232
228
|
type: 2,
|
@@ -234,9 +230,7 @@ const FormWorkflow = props => {
|
|
234
230
|
handleField: handleBodyField,
|
235
231
|
onSave: onSaveBodyField,
|
236
232
|
handleSelectedVariables: handleSelectedVariables,
|
237
|
-
handleInputReset: handleInputReset
|
238
|
-
customProps: customProps,
|
239
|
-
translation: translation
|
233
|
+
handleInputReset: handleInputReset
|
240
234
|
})]
|
241
235
|
})]
|
242
236
|
});
|
@@ -2,20 +2,16 @@ import React from "react";
|
|
2
2
|
import { Grid, Typography } from "@mui/material";
|
3
3
|
import FormStyles from "./Styles";
|
4
4
|
import MoreOptions from "./MoreOptions";
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
6
5
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
7
7
|
const ListWorkflow = props => {
|
8
8
|
const {
|
9
9
|
workflow,
|
10
10
|
handleEditFormWorkflow,
|
11
|
-
handleDeleteFormWorkflow
|
12
|
-
customProps
|
11
|
+
handleDeleteFormWorkflow
|
13
12
|
} = props;
|
14
13
|
const classes = FormStyles();
|
15
14
|
const optionsList = ["Edit", "Delete"];
|
16
|
-
const {
|
17
|
-
translation
|
18
|
-
} = customProps;
|
19
15
|
const onMenuClick = (selectedMenu, selectedFlow) => () => {
|
20
16
|
if (selectedMenu === "Edit") {
|
21
17
|
handleEditFormWorkflow(selectedFlow);
|
@@ -36,12 +32,12 @@ const ListWorkflow = props => {
|
|
36
32
|
children: [/*#__PURE__*/_jsx(Grid, {
|
37
33
|
item: true,
|
38
34
|
sx: classes.emailIndexCard,
|
39
|
-
children: /*#__PURE__*/
|
35
|
+
children: /*#__PURE__*/_jsxs(Typography, {
|
40
36
|
sx: {
|
41
37
|
fontSize: "12px",
|
42
38
|
fontWeight: 600
|
43
39
|
},
|
44
|
-
children:
|
40
|
+
children: ["Email ", index + 1]
|
45
41
|
})
|
46
42
|
}), /*#__PURE__*/_jsx(Grid, {
|
47
43
|
item: true,
|
@@ -67,7 +63,7 @@ const ListWorkflow = props => {
|
|
67
63
|
item: true,
|
68
64
|
children: /*#__PURE__*/_jsx(Typography, {
|
69
65
|
sx: classes.listHeading,
|
70
|
-
children:
|
66
|
+
children: "Subject:"
|
71
67
|
})
|
72
68
|
}), /*#__PURE__*/_jsx(Grid, {
|
73
69
|
item: true,
|
@@ -90,7 +86,7 @@ const ListWorkflow = props => {
|
|
90
86
|
item: true,
|
91
87
|
children: /*#__PURE__*/_jsx(Typography, {
|
92
88
|
sx: classes.listHeading,
|
93
|
-
children:
|
89
|
+
children: "Body:"
|
94
90
|
})
|
95
91
|
}), /*#__PURE__*/_jsx(Grid, {
|
96
92
|
item: true,
|
@@ -113,7 +109,7 @@ const ListWorkflow = props => {
|
|
113
109
|
item: true,
|
114
110
|
children: /*#__PURE__*/_jsx(Typography, {
|
115
111
|
sx: classes.listHeading,
|
116
|
-
children:
|
112
|
+
children: "Scheduled:"
|
117
113
|
})
|
118
114
|
}), /*#__PURE__*/_jsx(Grid, {
|
119
115
|
item: true,
|
@@ -150,8 +146,7 @@ const ListWorkflow = props => {
|
|
150
146
|
classes: classes,
|
151
147
|
menus: optionsList,
|
152
148
|
selectedFlow: index,
|
153
|
-
onMenuClick: onMenuClick
|
154
|
-
translation: translation
|
149
|
+
onMenuClick: onMenuClick
|
155
150
|
})
|
156
151
|
})]
|
157
152
|
})
|
@@ -9,8 +9,7 @@ function MoreOptions(props) {
|
|
9
9
|
classes,
|
10
10
|
menus,
|
11
11
|
onMenuClick,
|
12
|
-
selectedFlow
|
13
|
-
translation
|
12
|
+
selectedFlow
|
14
13
|
} = props;
|
15
14
|
|
16
15
|
//state
|
@@ -53,7 +52,7 @@ function MoreOptions(props) {
|
|
53
52
|
paddingRight: "100px"
|
54
53
|
},
|
55
54
|
onClick: onMenuClick(m, selectedFlow),
|
56
|
-
children:
|
55
|
+
children: m
|
57
56
|
}, `menu_${i}_${m}`))
|
58
57
|
})]
|
59
58
|
});
|
@@ -9,20 +9,20 @@ const FormStyles = theme => ({
|
|
9
9
|
color: "#94A3B8"
|
10
10
|
},
|
11
11
|
bodyTextArea: {
|
12
|
-
|
13
|
-
padding:
|
14
|
-
|
15
|
-
outline:
|
16
|
-
border:
|
12
|
+
'& .mini-editor-cls': {
|
13
|
+
padding: '12px',
|
14
|
+
'&:focus-visible': {
|
15
|
+
outline: 'none',
|
16
|
+
border: 'none'
|
17
17
|
}
|
18
18
|
},
|
19
19
|
"& .editorWorkflow": {
|
20
|
-
minHeight:
|
21
|
-
padding:
|
20
|
+
minHeight: '130px',
|
21
|
+
padding: '12px',
|
22
22
|
paddingBottom: 0,
|
23
|
-
|
24
|
-
outline:
|
25
|
-
border:
|
23
|
+
'&:focus-visible': {
|
24
|
+
outline: 'none',
|
25
|
+
border: 'none'
|
26
26
|
}
|
27
27
|
}
|
28
28
|
},
|
@@ -105,7 +105,7 @@ const FormStyles = theme => ({
|
|
105
105
|
padding: "4px 22px",
|
106
106
|
textTransform: "none",
|
107
107
|
border: "1px solid #D8DDE1",
|
108
|
-
minWidth:
|
108
|
+
minWidth: '126px',
|
109
109
|
"& svg": {
|
110
110
|
"& path": {
|
111
111
|
stroke: "#64748B"
|
@@ -169,19 +169,17 @@ const FormStyles = theme => ({
|
|
169
169
|
}
|
170
170
|
},
|
171
171
|
colorButtonSingle: {
|
172
|
-
border: "1.5px solid #DCE4EC !important",
|
173
172
|
"&.active": {
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
outline: "2px solid #2563EB"
|
173
|
+
"&:before": {
|
174
|
+
content: '" "',
|
175
|
+
position: "absolute",
|
176
|
+
top: "-5px",
|
177
|
+
left: "-5px",
|
178
|
+
width: "calc(100% + 4px)",
|
179
|
+
height: "calc(100% + 4px)",
|
180
|
+
border: "3px solid blue",
|
181
|
+
borderRadius: "50%"
|
182
|
+
}
|
185
183
|
}
|
186
184
|
},
|
187
185
|
colorButtonsInner: {
|
@@ -251,7 +249,7 @@ const FormStyles = theme => ({
|
|
251
249
|
}
|
252
250
|
},
|
253
251
|
root: {
|
254
|
-
padding:
|
252
|
+
padding: '10px'
|
255
253
|
}
|
256
254
|
});
|
257
255
|
export default FormStyles;
|
@@ -10,8 +10,7 @@ const UserInputs = props => {
|
|
10
10
|
type,
|
11
11
|
subject,
|
12
12
|
handleField,
|
13
|
-
onSave
|
14
|
-
translation
|
13
|
+
onSave
|
15
14
|
} = props;
|
16
15
|
const editorRef = useRef();
|
17
16
|
const variables = element?.children;
|
@@ -40,8 +39,7 @@ const UserInputs = props => {
|
|
40
39
|
fontStyleOptions: ['underline'],
|
41
40
|
hideLink: true,
|
42
41
|
hideTextColor: true
|
43
|
-
}
|
44
|
-
translation: translation
|
42
|
+
}
|
45
43
|
})
|
46
44
|
})
|
47
45
|
});
|