@plone/volto 18.0.0-alpha.5 → 18.0.0-alpha.7

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.
Files changed (248) hide show
  1. package/.release-it.json +2 -3
  2. package/CHANGELOG.md +59 -0
  3. package/locales/ca/LC_MESSAGES/volto.po +930 -933
  4. package/locales/ca.json +1 -1
  5. package/locales/de/LC_MESSAGES/volto.po +930 -931
  6. package/locales/de.json +1 -1
  7. package/locales/en/LC_MESSAGES/volto.po +930 -930
  8. package/locales/en.json +1 -1
  9. package/locales/es/LC_MESSAGES/volto.po +932 -936
  10. package/locales/es.json +1 -1
  11. package/locales/eu/LC_MESSAGES/volto.po +930 -930
  12. package/locales/eu.json +1 -1
  13. package/locales/fi/LC_MESSAGES/volto.po +930 -936
  14. package/locales/fi.json +1 -1
  15. package/locales/fr/LC_MESSAGES/volto.po +930 -940
  16. package/locales/fr.json +1 -1
  17. package/locales/it/LC_MESSAGES/volto.po +930 -930
  18. package/locales/it.json +1 -1
  19. package/locales/ja/LC_MESSAGES/volto.po +930 -933
  20. package/locales/ja.json +1 -1
  21. package/locales/nl/LC_MESSAGES/volto.po +930 -945
  22. package/locales/nl.json +1 -1
  23. package/locales/pt/LC_MESSAGES/volto.po +930 -933
  24. package/locales/pt.json +1 -1
  25. package/locales/pt_BR/LC_MESSAGES/volto.po +930 -934
  26. package/locales/pt_BR.json +1 -1
  27. package/locales/ro/LC_MESSAGES/volto.po +930 -930
  28. package/locales/ro.json +1 -1
  29. package/locales/volto.pot +932 -936
  30. package/locales/zh_CN/LC_MESSAGES/volto.po +930 -930
  31. package/locales/zh_CN.json +1 -1
  32. package/package.json +11 -9
  33. package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +11 -3
  34. package/src/components/manage/Blocks/Block/StyleWrapper.jsx +7 -1
  35. package/src/components/manage/Blocks/Grid/View.jsx +2 -1
  36. package/src/components/manage/Blocks/Image/View.jsx +2 -1
  37. package/src/components/manage/Blocks/Listing/View.jsx +2 -1
  38. package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +46 -4
  39. package/src/components/manage/Blocks/Teaser/DefaultBody.jsx +2 -2
  40. package/src/components/manage/Contents/Contents.jsx +4 -8
  41. package/src/components/manage/Sidebar/SidebarPopup.jsx +1 -1
  42. package/src/components/manage/Sidebar/SidebarPortal.jsx +1 -1
  43. package/src/components/manage/Widgets/ColorPickerWidget.stories.tsx +48 -0
  44. package/src/components/manage/Widgets/{ColorPickerWidget.jsx → ColorPickerWidget.tsx} +40 -23
  45. package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +1 -1
  46. package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.test.jsx +1 -1
  47. package/src/components/theme/Comments/CommentEditModal.jsx +1 -0
  48. package/src/components/theme/Login/Login.jsx +12 -2
  49. package/src/components/theme/Navigation/Navigation.jsx +34 -32
  50. package/src/components/theme/PreviewImage/PreviewImage.jsx +7 -2
  51. package/src/components/theme/Sitemap/Sitemap.jsx +4 -4
  52. package/src/components/theme/Sitemap/Sitemap.test.jsx +52 -0
  53. package/src/components/theme/Unauthorized/Unauthorized.jsx +12 -11
  54. package/src/config/Blocks.jsx +1 -1
  55. package/src/helpers/Blocks/Blocks.js +64 -1
  56. package/src/helpers/Blocks/Blocks.test.js +77 -0
  57. package/src/helpers/Extensions/withBlockSchemaEnhancer.js +3 -1
  58. package/src/helpers/index.js +1 -0
  59. package/theme/themes/pastanaga/extras/blocks.less +2 -0
  60. package/theme/themes/pastanaga/extras/sidebar.less +2 -1
  61. package/tsconfig.declarations.json +16 -0
  62. package/types/actions/authRole/authRole.d.ts +1 -1
  63. package/types/actions/comments/comments.d.ts +1 -1
  64. package/types/actions/content/content.d.ts +1 -1
  65. package/types/actions/controlpanels/controlpanels.d.ts +2 -2
  66. package/types/actions/index.d.ts +36 -0
  67. package/types/actions/upgrade/upgrade.d.ts +2 -2
  68. package/types/components/index.d.ts +180 -0
  69. package/types/components/manage/Add/Add.d.ts +3 -2
  70. package/types/components/manage/Aliases/Aliases.d.ts +4 -1
  71. package/types/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.d.ts +3 -2
  72. package/types/components/manage/BlockChooser/BlockChooser.d.ts +2 -1
  73. package/types/components/manage/Blocks/Block/Edit.d.ts +5 -5
  74. package/types/components/manage/Blocks/Block/EditBlockWrapper.d.ts +3 -2
  75. package/types/components/manage/Blocks/Block/Settings.d.ts +3 -2
  76. package/types/components/manage/Blocks/Grid/View.d.ts +1 -1
  77. package/types/components/manage/Blocks/Grid/templates.d.ts +1 -1
  78. package/types/components/manage/Blocks/HeroImageLeft/Edit.d.ts +4 -1
  79. package/types/components/manage/Blocks/Image/Edit.d.ts +3 -2
  80. package/types/components/manage/Blocks/Image/LayoutSchema.d.ts +36 -1
  81. package/types/components/manage/Blocks/Image/View.d.ts +3 -2
  82. package/types/components/manage/Blocks/LeadImage/Edit.d.ts +3 -2
  83. package/types/components/manage/Blocks/LeadImage/LeadImageSidebar.d.ts +5 -4
  84. package/types/components/manage/Blocks/Listing/Edit.d.ts +1 -1
  85. package/types/components/manage/Blocks/Listing/ListingBody.d.ts +3 -2
  86. package/types/components/manage/Blocks/Listing/View.d.ts +1 -1
  87. package/types/components/manage/Blocks/Maps/Edit.d.ts +1 -1
  88. package/types/components/manage/Blocks/Maps/View.d.ts +1 -3
  89. package/types/components/manage/Blocks/Search/SearchBlockView.d.ts +1 -1
  90. package/types/components/manage/Blocks/Search/components/SortOn.d.ts +1 -3
  91. package/types/components/manage/Blocks/Search/components/ViewSwitcher.d.ts +1 -3
  92. package/types/components/manage/Blocks/Search/schema.d.ts +1 -1
  93. package/types/components/manage/Blocks/Search/utils.d.ts +2 -2
  94. package/types/components/manage/Blocks/Teaser/Edit.d.ts +1 -1
  95. package/types/components/manage/Blocks/Teaser/View.d.ts +1 -1
  96. package/types/components/manage/Blocks/Text/Edit.d.ts +3 -5
  97. package/types/components/manage/Blocks/Text/Schema.d.ts +36 -1
  98. package/types/components/manage/Blocks/ToC/Edit.d.ts +2 -2
  99. package/types/components/manage/Blocks/ToC/View.d.ts +3 -2
  100. package/types/components/manage/Blocks/ToC/variations/DefaultTocRenderer.d.ts +3 -2
  101. package/types/components/manage/Blocks/ToC/variations/HorizontalMenu.d.ts +3 -2
  102. package/types/components/manage/Blocks/Video/Body.test.d.ts +1 -0
  103. package/types/components/manage/Blocks/Video/Edit.d.ts +1 -3
  104. package/types/components/manage/Blocks/Video/View.d.ts +1 -1
  105. package/types/components/manage/Contents/Contents.d.ts +5 -4
  106. package/types/components/manage/Contents/ContentsTagsModal.stories.d.ts +0 -1
  107. package/types/components/manage/Contents/ContentsUploadModal.d.ts +4 -1
  108. package/types/components/manage/Controlpanels/AddonsControlpanel.d.ts +4 -1
  109. package/types/components/manage/Controlpanels/Aliases.d.ts +4 -1
  110. package/types/components/manage/Controlpanels/ContentType.d.ts +4 -1
  111. package/types/components/manage/Controlpanels/ContentTypeLayout.d.ts +4 -1
  112. package/types/components/manage/Controlpanels/ContentTypeSchema.d.ts +4 -1
  113. package/types/components/manage/Controlpanels/ContentTypes.d.ts +4 -1
  114. package/types/components/manage/Controlpanels/ContentTypesActions.d.ts +3 -2
  115. package/types/components/manage/Controlpanels/Controlpanel.d.ts +3 -2
  116. package/types/components/manage/Controlpanels/Controlpanels.d.ts +1 -16
  117. package/types/components/manage/Controlpanels/DatabaseInformation.d.ts +4 -1
  118. package/types/components/manage/Controlpanels/Groups/GroupsControlpanel.d.ts +4 -1
  119. package/types/components/manage/Controlpanels/Groups/RenderGroups.d.ts +3 -2
  120. package/types/components/manage/Controlpanels/ModerateComments.d.ts +4 -1
  121. package/types/components/manage/Controlpanels/Relations/RelationsMatrix.d.ts +43 -1
  122. package/types/components/manage/Controlpanels/Rules/AddRule.d.ts +4 -1
  123. package/types/components/manage/Controlpanels/Rules/ConfigureRule.d.ts +4 -1
  124. package/types/components/manage/Controlpanels/Rules/EditRule.d.ts +4 -1
  125. package/types/components/manage/Controlpanels/Rules/Rules.d.ts +4 -1
  126. package/types/components/manage/Controlpanels/Rules/components/VariableModal.d.ts +4 -1
  127. package/types/components/manage/Controlpanels/UndoControlpanel.d.ts +4 -1
  128. package/types/components/manage/Controlpanels/UpgradeControlPanel.d.ts +4 -1
  129. package/types/components/manage/Controlpanels/Users/RenderUsers.d.ts +4 -1
  130. package/types/components/manage/Controlpanels/Users/UsersControlpanel.d.ts +4 -1
  131. package/types/components/manage/Display/Display.d.ts +3 -2
  132. package/types/components/manage/Edit/Edit.d.ts +6 -3
  133. package/types/components/manage/Form/BlocksToolbar.d.ts +5 -2
  134. package/types/components/manage/Form/Field.d.ts +3 -2
  135. package/types/components/manage/Form/Form.d.ts +1 -3
  136. package/types/components/manage/Form/InlineForm.d.ts +3 -2
  137. package/types/components/manage/Form/ModalForm.d.ts +3 -2
  138. package/types/components/manage/History/History.d.ts +3 -2
  139. package/types/components/manage/Multilingual/CompareLanguages.d.ts +2 -1
  140. package/types/components/manage/Multilingual/ManageTranslations.d.ts +43 -1
  141. package/types/components/manage/Pluggable/index.d.ts +8 -7
  142. package/types/components/manage/Preferences/PersonalPreferences.d.ts +4 -1
  143. package/types/components/manage/Rules/Rules.d.ts +4 -1
  144. package/types/components/manage/Sidebar/ObjectBrowser.d.ts +25 -2
  145. package/types/components/manage/Sidebar/ObjectBrowserBody.d.ts +4 -1
  146. package/types/components/manage/Sidebar/Sidebar.d.ts +2 -1
  147. package/types/components/manage/Sidebar/SidebarPortal.d.ts +2 -2
  148. package/types/components/manage/Toolbar/More.d.ts +3 -2
  149. package/types/components/manage/Toolbar/Toolbar.d.ts +4 -1
  150. package/types/components/manage/Toolbar/Types.d.ts +1 -20
  151. package/types/components/manage/Widgets/ArrayWidget.d.ts +5 -4
  152. package/types/components/manage/Widgets/CheckboxWidget.d.ts +3 -2
  153. package/types/components/manage/Widgets/ColorPickerWidget.d.ts +22 -21
  154. package/types/components/manage/Widgets/ColorPickerWidget.stories.d.ts +7 -8
  155. package/types/components/manage/Widgets/DatetimeWidget.d.ts +2 -2
  156. package/types/components/manage/Widgets/FileWidget.d.ts +3 -2
  157. package/types/components/manage/Widgets/FormFieldWrapper.d.ts +3 -2
  158. package/types/components/manage/Widgets/IdWidget.d.ts +4 -1
  159. package/types/components/manage/Widgets/ImageSizeWidget.d.ts +3 -2
  160. package/types/components/manage/Widgets/InternalUrlWidget.d.ts +43 -1
  161. package/types/components/manage/Widgets/NumberWidget.d.ts +3 -2
  162. package/types/components/manage/Widgets/ObjectBrowserWidget.d.ts +9 -9
  163. package/types/components/manage/Widgets/PasswordWidget.d.ts +3 -2
  164. package/types/components/manage/Widgets/QueryWidget.d.ts +4 -4
  165. package/types/components/manage/Widgets/RecurrenceWidget/ByMonthDayField.d.ts +3 -2
  166. package/types/components/manage/Widgets/RecurrenceWidget/ByMonthField.d.ts +3 -2
  167. package/types/components/manage/Widgets/RecurrenceWidget/ByYearField.d.ts +3 -2
  168. package/types/components/manage/Widgets/RecurrenceWidget/EndField.d.ts +3 -2
  169. package/types/components/manage/Widgets/RecurrenceWidget/Occurences.d.ts +3 -2
  170. package/types/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField.d.ts +3 -2
  171. package/types/components/manage/Widgets/ReferenceWidget.d.ts +4 -1
  172. package/types/components/manage/Widgets/RegistryImageWidget.d.ts +3 -2
  173. package/types/components/manage/Widgets/SchemaWidget.d.ts +3 -2
  174. package/types/components/manage/Widgets/SelectAutoComplete.d.ts +5 -4
  175. package/types/components/manage/Widgets/SelectWidget.d.ts +3 -2
  176. package/types/components/manage/Widgets/TextWidget.d.ts +3 -2
  177. package/types/components/manage/Widgets/TextareaWidget.d.ts +3 -2
  178. package/types/components/manage/Widgets/TokenWidget.d.ts +3 -2
  179. package/types/components/manage/Widgets/UrlWidget.d.ts +43 -1
  180. package/types/components/manage/Widgets/WysiwygWidget.d.ts +3 -2
  181. package/types/components/theme/App/App.d.ts +4 -4
  182. package/types/components/theme/AppExtras/AppExtras.d.ts +1 -1
  183. package/types/components/theme/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -2
  184. package/types/components/theme/Error/ErrorBoundary.d.ts +2 -2
  185. package/types/components/theme/Error/ServerError.d.ts +1 -1
  186. package/types/components/theme/Footer/Footer.d.ts +3 -2
  187. package/types/components/theme/Forbidden/Forbidden.d.ts +1 -1
  188. package/types/components/theme/Navigation/ContextNavigation.d.ts +1 -1
  189. package/types/components/theme/NotFound/NotFound.d.ts +1 -1
  190. package/types/components/theme/Pagination/Pagination.d.ts +3 -2
  191. package/types/components/theme/Search/Search.d.ts +6 -3
  192. package/types/components/theme/Sitemap/Sitemap.d.ts +4 -2
  193. package/types/components/theme/TsTest/TsTest.d.ts +11 -0
  194. package/types/components/theme/TsTest/TsTest.test.d.ts +1 -0
  195. package/types/components/theme/Unauthorized/Unauthorized.d.ts +1 -1
  196. package/types/components/theme/View/AlbumView.d.ts +2 -1
  197. package/types/components/theme/View/DefaultView.d.ts +3 -2
  198. package/types/components/theme/View/RenderBlocks.d.ts +1 -1
  199. package/types/components/theme/View/View.d.ts +4 -1
  200. package/types/components/theme/Widgets/ArrayWidget.d.ts +1 -1
  201. package/types/components/theme/Widgets/BooleanWidget.d.ts +3 -2
  202. package/types/components/theme/Widgets/DateWidget.d.ts +1 -1
  203. package/types/components/theme/Widgets/DatetimeWidget.d.ts +1 -1
  204. package/types/components/theme/Widgets/DescriptionWidget.d.ts +1 -1
  205. package/types/components/theme/Widgets/EmailWidget.d.ts +1 -1
  206. package/types/components/theme/Widgets/FileWidget.d.ts +1 -1
  207. package/types/components/theme/Widgets/ImageWidget.d.ts +1 -1
  208. package/types/components/theme/Widgets/PasswordWidget.d.ts +1 -1
  209. package/types/components/theme/Widgets/RelationWidget.d.ts +1 -1
  210. package/types/components/theme/Widgets/RelationsWidget.d.ts +1 -1
  211. package/types/components/theme/Widgets/RichTextWidget.d.ts +1 -1
  212. package/types/components/theme/Widgets/SelectWidget.d.ts +1 -1
  213. package/types/components/theme/Widgets/TextWidget.d.ts +1 -1
  214. package/types/components/theme/Widgets/TitleWidget.d.ts +1 -1
  215. package/types/components/theme/Widgets/TokenWidget.d.ts +1 -1
  216. package/types/components/theme/Widgets/UrlWidget.d.ts +1 -1
  217. package/types/config/Blocks.d.ts +20 -1
  218. package/types/config/Components.d.ts +3 -0
  219. package/types/config/ContentIcons.d.ts +7 -7
  220. package/types/config/ControlPanels.d.ts +21 -21
  221. package/types/config/RichTextEditor/index.d.ts +8 -5
  222. package/types/config/Views.d.ts +40 -11
  223. package/types/config/Widgets.d.ts +58 -4
  224. package/types/error.d.ts +3 -2
  225. package/types/helpers/AsyncConnect/AsyncConnect.d.ts +2 -2
  226. package/types/helpers/Blocks/Blocks.d.ts +3 -1
  227. package/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts +2 -2
  228. package/types/helpers/Helmet/Helmet.d.ts +71 -1
  229. package/types/helpers/Html/Html.d.ts +2 -2
  230. package/types/helpers/LanguageMap/LanguageMap.d.ts +1 -878
  231. package/types/helpers/Loadable/__mocks__/Loadable.d.ts +2 -2
  232. package/types/helpers/MessageLabels/MessageLabels.d.ts +1 -540
  233. package/types/helpers/ScrollToTop/ScrollToTop.d.ts +1 -1
  234. package/types/helpers/UndoManager/useUndoManager.d.ts +4 -4
  235. package/types/helpers/Url/Url.d.ts +3 -3
  236. package/types/helpers/Utils/Date.d.ts +2 -2
  237. package/types/helpers/Utils/usePagination.d.ts +1 -1
  238. package/types/helpers/Utils/usePrevious.d.ts +1 -1
  239. package/types/helpers/index.d.ts +12 -0
  240. package/types/hooks/index.d.ts +2 -1
  241. package/types/middleware/index.d.ts +2 -0
  242. package/types/reducers/blocksClipboard/blocksClipboard.d.ts +1 -1
  243. package/types/reducers/index.d.ts +40 -0
  244. package/types/registry.d.ts +1 -0
  245. package/types/routes.d.ts +31 -3
  246. package/types/server.d.ts +1 -1
  247. package/types/storybook.d.ts +3 -3
  248. package/src/components/manage/Widgets/ColorPickerWidget.stories.jsx +0 -30
@@ -1,4 +1,4 @@
1
- export const NONVALUE_OPERATIONS: Set<string>;
2
- export const DATE_OPERATIONS: Set<string>;
1
+ export const NONVALUE_OPERATIONS: any;
2
+ export const DATE_OPERATIONS: any;
3
3
  export function hasNonValueOperation(ops: any): boolean;
4
4
  export function hasDateOperation(ops: any): boolean;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -3,7 +3,7 @@
3
3
  * @class Edit
4
4
  * @extends Component
5
5
  */
6
- export class EditComponent extends Component<any, any, any> {
6
+ export class EditComponent extends React.Component<any, any, any> {
7
7
  /**
8
8
  * Property types.
9
9
  * @property {Object} propTypes Property types.
@@ -84,9 +84,7 @@ export class EditComponent extends Component<any, any, any> {
84
84
  render(): string;
85
85
  node: any;
86
86
  }
87
- export const Edit: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
88
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
89
- };
87
+ export const Edit: any;
90
88
  export default Preloader;
91
- import { Component } from 'react';
89
+ import React from 'react';
92
90
  declare function Preloader(props: any): JSX.Element;
@@ -1,2 +1,37 @@
1
1
  export default Schema;
2
- declare const Schema: any;
2
+ declare const Schema: {
3
+ fieldsets: {
4
+ id: string;
5
+ title: string;
6
+ fields: string[];
7
+ }[];
8
+ properties: {
9
+ placeholder: {
10
+ title: string;
11
+ description: string;
12
+ type: string;
13
+ };
14
+ required: {
15
+ title: string;
16
+ description: string;
17
+ type: string;
18
+ };
19
+ fixed: {
20
+ title: string;
21
+ description: string;
22
+ type: string;
23
+ };
24
+ disableNewBlocks: {
25
+ title: string;
26
+ description: string;
27
+ type: string;
28
+ };
29
+ readOnly: {
30
+ title: string;
31
+ description: string;
32
+ type: string;
33
+ };
34
+ };
35
+ title: string;
36
+ required: any[];
37
+ };
@@ -1,7 +1,7 @@
1
1
  export default Edit;
2
- declare class Edit extends Component<any, any, any> {
2
+ declare class Edit extends React.Component<any, any, any> {
3
3
  constructor(props: any);
4
4
  constructor(props: any, context: any);
5
5
  render(): JSX.Element;
6
6
  }
7
- import { Component } from 'react';
7
+ import React from 'react';
@@ -4,7 +4,8 @@ export function getBlocksTocEntries(properties: any, tocData: any): {
4
4
  tocEntries: {};
5
5
  tocEntriesLayout: any[];
6
6
  };
7
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<any>>> & {
8
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<any>>;
7
+ declare const _default: React.FC<import("react-intl").WithIntlProps<any>> & {
8
+ WrappedComponent: React.ComponentType<any>;
9
9
  };
10
10
  export default _default;
11
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ declare const _default: React.FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ declare const _default: React.FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,2 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
- };
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: (props: any) => JSX.Element;
2
2
  export default _default;
@@ -1,7 +1,8 @@
1
- export const __test__: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ export const __test__: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
3
  };
4
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
5
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
4
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
5
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
6
6
  };
7
7
  export default _default;
8
+ import React from 'react';
@@ -16,4 +16,3 @@ declare namespace _default {
16
16
  }
17
17
  }
18
18
  export default _default;
19
- import { bool } from 'prop-types';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ declare const _default: React.FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,17 +1,2 @@
1
- declare const _default: import("react-redux").ConnectedComponent<import("react").JSXElementConstructor<import("react-redux").Matching<{
2
- controlpanels: any;
3
- controlpanelsRequest: any;
4
- pathname: any;
5
- systemInformation: any;
6
- } & import("react-redux").DispatchProp<import("dnd-core/node_modules/redux").AnyAction>, unknown>>, import("react-redux").Omit<import("react-redux").Matching<{
7
- controlpanels: any;
8
- controlpanelsRequest: any;
9
- pathname: any;
10
- systemInformation: any;
11
- } & import("react-redux").DispatchProp<import("dnd-core/node_modules/redux").AnyAction>, unknown>, never> | import("react-redux").Omit<import("react").ClassAttributes<import("react").Component<any, any, any>> & import("react-redux").Matching<{
12
- controlpanels: any;
13
- controlpanelsRequest: any;
14
- pathname: any;
15
- systemInformation: any;
16
- } & import("react-redux").DispatchProp<import("dnd-core/node_modules/redux").AnyAction>, unknown>, never>>;
1
+ declare const _default: any;
17
2
  export default _default;
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
1
+ declare const _default: React.FC<import("react-intl").WithIntlProps<any>> & {
2
+ WrappedComponent: React.ComponentType<any>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,44 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ new (): {
3
+ state: {
4
+ isObjectBrowserOpen: boolean;
5
+ };
6
+ openObjectBrowser: ({ mode, onSelectItem, dataName, overlay, propDataName, searchableTypes, selectableTypes, maximumSelectionSize, currentPath, }?: {
7
+ mode: string;
8
+ dataName: string;
9
+ onSelectItem: string;
10
+ overlay: string;
11
+ }) => void;
12
+ closeObjectBrowser: () => void;
13
+ render(): JSX.Element;
14
+ context: any;
15
+ setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
16
+ forceUpdate(callback?: () => void): void;
17
+ readonly props: Readonly<any> & Readonly<{
18
+ children?: any;
19
+ }>;
20
+ refs: {
21
+ [key: string]: React.ReactInstance;
22
+ };
23
+ componentDidMount?(): void;
24
+ shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
25
+ componentWillUnmount?(): void;
26
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
27
+ getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
28
+ componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
29
+ componentWillMount?(): void;
30
+ UNSAFE_componentWillMount?(): void;
31
+ componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
32
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
33
+ componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
34
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
35
+ };
36
+ defaultProps: {
37
+ onChangeBlock: () => void;
38
+ data: {};
39
+ block: string;
40
+ };
41
+ contextType?: React.Context<any>;
42
+ };
2
43
  export default _default;
44
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,5 +1,8 @@
1
- export const __test__: any;
2
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
3
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ export const __test__: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
4
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
5
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
4
6
  };
5
7
  export default _default;
8
+ import React from 'react';
@@ -1,4 +1,4 @@
1
- export class BlocksToolbarComponent {
1
+ export class BlocksToolbarComponent extends React.Component<any, any, any> {
2
2
  constructor(props: any);
3
3
  copyBlocksToClipboard(): void;
4
4
  cutBlocksToClipboard(): void;
@@ -10,5 +10,8 @@ export class BlocksToolbarComponent {
10
10
  componentWillUnmount(): void;
11
11
  render(): JSX.Element;
12
12
  }
13
- declare const _default: any;
13
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
14
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
15
+ };
14
16
  export default _default;
17
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
1
+ declare const _default: React.FC<import("react-intl").WithIntlProps<any>> & {
2
+ WrappedComponent: React.ComponentType<any>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,2 @@
1
- declare const _default: import("react-redux").ConnectedComponent<import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<any>, string | number | symbol> & import("react").RefAttributes<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
3
- }, import("react-redux").Omit<Pick<import("react-intl").WithIntlProps<any>, string | number | symbol> & import("react").RefAttributes<any>, "setSidebarTab">>;
1
+ declare const _default: any;
4
2
  export default _default;
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<any>, string | number | symbol> & import("react").RefAttributes<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<any>, "ref"> & React.RefAttributes<any>> & {
2
+ WrappedComponent: React.ComponentType<any>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
1
+ declare const _default: React.FC<import("react-intl").WithIntlProps<any>> & {
2
+ WrappedComponent: React.ComponentType<any>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,4 +1,5 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
3
  };
4
4
  export default _default;
5
+ import React from 'react';
@@ -1,2 +1,3 @@
1
1
  export default CompareLanguages;
2
- declare const CompareLanguages: any;
2
+ declare const CompareLanguages: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
@@ -1,2 +1,44 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ new (): {
3
+ state: {
4
+ isObjectBrowserOpen: boolean;
5
+ };
6
+ openObjectBrowser: ({ mode, onSelectItem, dataName, overlay, propDataName, searchableTypes, selectableTypes, maximumSelectionSize, currentPath, }?: {
7
+ mode: string;
8
+ dataName: string;
9
+ onSelectItem: string;
10
+ overlay: string;
11
+ }) => void;
12
+ closeObjectBrowser: () => void;
13
+ render(): JSX.Element;
14
+ context: any;
15
+ setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
16
+ forceUpdate(callback?: () => void): void;
17
+ readonly props: Readonly<any> & Readonly<{
18
+ children?: any;
19
+ }>;
20
+ refs: {
21
+ [key: string]: React.ReactInstance;
22
+ };
23
+ componentDidMount?(): void;
24
+ shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
25
+ componentWillUnmount?(): void;
26
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
27
+ getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
28
+ componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
29
+ componentWillMount?(): void;
30
+ UNSAFE_componentWillMount?(): void;
31
+ componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
32
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
33
+ componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
34
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
35
+ };
36
+ defaultProps: {
37
+ onChangeBlock: () => void;
38
+ data: {};
39
+ block: string;
40
+ };
41
+ contextType?: React.Context<any>;
42
+ };
2
43
  export default _default;
44
+ import React from 'react';
@@ -11,10 +11,10 @@ export function usePlug({ pluggable, id, renderer, dependencies, options }: {
11
11
  options: any;
12
12
  }): void;
13
13
  export function createPluggable(name: any): {
14
- (props: any): any;
14
+ (props: any): React.FunctionComponentElement<any>;
15
15
  pluggableName: any;
16
16
  Plug: {
17
- (props: any): any;
17
+ (props: any): React.FunctionComponentElement<any>;
18
18
  displayName: string;
19
19
  };
20
20
  };
@@ -22,17 +22,17 @@ export function createPluggable(name: any): {
22
22
  * Creates a Pluggable + Plug pair
23
23
  */
24
24
  export function createPluggableAndPlug(name: any): ({
25
- (props: any): any;
25
+ (props: any): React.FunctionComponentElement<any>;
26
26
  pluggableName: any;
27
27
  Plug: {
28
- (props: any): any;
28
+ (props: any): React.FunctionComponentElement<any>;
29
29
  displayName: string;
30
30
  };
31
31
  } | {
32
- (props: any): any;
32
+ (props: any): React.FunctionComponentElement<any>;
33
33
  displayName: string;
34
34
  })[];
35
- export const context: any;
35
+ export const context: React.Context<any>;
36
36
  export function Plug({ pluggable, id, dependencies, children, ...options }: {
37
37
  [x: string]: any;
38
38
  pluggable: any;
@@ -42,5 +42,6 @@ export function Plug({ pluggable, id, dependencies, children, ...options }: {
42
42
  }): any;
43
43
  export function PluggablesProvider({ children }: {
44
44
  children: any;
45
- }): any;
45
+ }): React.FunctionComponentElement<React.ProviderProps<any>>;
46
46
  export default Pluggable;
47
+ import React from 'react';
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
2
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
3
+ };
2
4
  export default _default;
5
+ import React from 'react';