@plone/volto 18.0.0-alpha.6 → 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 (231) hide show
  1. package/.release-it.json +2 -3
  2. package/CHANGELOG.md +25 -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 +9 -7
  33. package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +7 -2
  34. package/src/components/manage/Contents/Contents.jsx +4 -8
  35. package/src/components/manage/Sidebar/SidebarPortal.jsx +1 -1
  36. package/src/components/manage/Widgets/ColorPickerWidget.stories.tsx +48 -0
  37. package/src/components/manage/Widgets/{ColorPickerWidget.jsx → ColorPickerWidget.tsx} +40 -23
  38. package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +1 -1
  39. package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.test.jsx +1 -1
  40. package/src/config/Blocks.jsx +1 -1
  41. package/src/helpers/Blocks/Blocks.js +10 -2
  42. package/src/helpers/Blocks/Blocks.test.js +20 -0
  43. package/src/helpers/Extensions/withBlockSchemaEnhancer.js +3 -1
  44. package/tsconfig.declarations.json +16 -0
  45. package/types/actions/authRole/authRole.d.ts +1 -1
  46. package/types/actions/comments/comments.d.ts +1 -1
  47. package/types/actions/content/content.d.ts +1 -1
  48. package/types/actions/controlpanels/controlpanels.d.ts +2 -2
  49. package/types/actions/index.d.ts +36 -0
  50. package/types/actions/upgrade/upgrade.d.ts +2 -2
  51. package/types/components/index.d.ts +180 -0
  52. package/types/components/manage/Add/Add.d.ts +3 -2
  53. package/types/components/manage/Aliases/Aliases.d.ts +4 -1
  54. package/types/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.d.ts +3 -2
  55. package/types/components/manage/BlockChooser/BlockChooser.d.ts +2 -1
  56. package/types/components/manage/Blocks/Block/Edit.d.ts +5 -5
  57. package/types/components/manage/Blocks/Block/EditBlockWrapper.d.ts +3 -2
  58. package/types/components/manage/Blocks/Block/Settings.d.ts +3 -2
  59. package/types/components/manage/Blocks/Grid/View.d.ts +1 -1
  60. package/types/components/manage/Blocks/Grid/templates.d.ts +1 -1
  61. package/types/components/manage/Blocks/HeroImageLeft/Edit.d.ts +4 -1
  62. package/types/components/manage/Blocks/Image/Edit.d.ts +3 -2
  63. package/types/components/manage/Blocks/Image/LayoutSchema.d.ts +36 -1
  64. package/types/components/manage/Blocks/Image/View.d.ts +3 -2
  65. package/types/components/manage/Blocks/LeadImage/Edit.d.ts +3 -2
  66. package/types/components/manage/Blocks/LeadImage/LeadImageSidebar.d.ts +5 -4
  67. package/types/components/manage/Blocks/Listing/Edit.d.ts +1 -1
  68. package/types/components/manage/Blocks/Listing/ListingBody.d.ts +3 -2
  69. package/types/components/manage/Blocks/Listing/View.d.ts +1 -1
  70. package/types/components/manage/Blocks/Maps/Edit.d.ts +1 -1
  71. package/types/components/manage/Blocks/Maps/View.d.ts +1 -3
  72. package/types/components/manage/Blocks/Search/SearchBlockView.d.ts +1 -1
  73. package/types/components/manage/Blocks/Search/components/SortOn.d.ts +1 -3
  74. package/types/components/manage/Blocks/Search/components/ViewSwitcher.d.ts +1 -3
  75. package/types/components/manage/Blocks/Search/schema.d.ts +1 -1
  76. package/types/components/manage/Blocks/Search/utils.d.ts +2 -2
  77. package/types/components/manage/Blocks/Teaser/Edit.d.ts +1 -1
  78. package/types/components/manage/Blocks/Teaser/View.d.ts +1 -1
  79. package/types/components/manage/Blocks/Text/Edit.d.ts +3 -5
  80. package/types/components/manage/Blocks/Text/Schema.d.ts +36 -1
  81. package/types/components/manage/Blocks/ToC/Edit.d.ts +2 -2
  82. package/types/components/manage/Blocks/ToC/View.d.ts +3 -2
  83. package/types/components/manage/Blocks/ToC/variations/DefaultTocRenderer.d.ts +3 -2
  84. package/types/components/manage/Blocks/ToC/variations/HorizontalMenu.d.ts +3 -2
  85. package/types/components/manage/Blocks/Video/Body.test.d.ts +1 -0
  86. package/types/components/manage/Blocks/Video/Edit.d.ts +1 -3
  87. package/types/components/manage/Blocks/Video/View.d.ts +1 -1
  88. package/types/components/manage/Contents/Contents.d.ts +5 -4
  89. package/types/components/manage/Contents/ContentsTagsModal.stories.d.ts +0 -1
  90. package/types/components/manage/Contents/ContentsUploadModal.d.ts +4 -1
  91. package/types/components/manage/Controlpanels/AddonsControlpanel.d.ts +4 -1
  92. package/types/components/manage/Controlpanels/Aliases.d.ts +4 -1
  93. package/types/components/manage/Controlpanels/ContentType.d.ts +4 -1
  94. package/types/components/manage/Controlpanels/ContentTypeLayout.d.ts +4 -1
  95. package/types/components/manage/Controlpanels/ContentTypeSchema.d.ts +4 -1
  96. package/types/components/manage/Controlpanels/ContentTypes.d.ts +4 -1
  97. package/types/components/manage/Controlpanels/ContentTypesActions.d.ts +3 -2
  98. package/types/components/manage/Controlpanels/Controlpanel.d.ts +3 -2
  99. package/types/components/manage/Controlpanels/Controlpanels.d.ts +1 -16
  100. package/types/components/manage/Controlpanels/DatabaseInformation.d.ts +4 -1
  101. package/types/components/manage/Controlpanels/Groups/GroupsControlpanel.d.ts +4 -1
  102. package/types/components/manage/Controlpanels/Groups/RenderGroups.d.ts +3 -2
  103. package/types/components/manage/Controlpanels/ModerateComments.d.ts +4 -1
  104. package/types/components/manage/Controlpanels/Relations/RelationsMatrix.d.ts +43 -1
  105. package/types/components/manage/Controlpanels/Rules/AddRule.d.ts +4 -1
  106. package/types/components/manage/Controlpanels/Rules/ConfigureRule.d.ts +4 -1
  107. package/types/components/manage/Controlpanels/Rules/EditRule.d.ts +4 -1
  108. package/types/components/manage/Controlpanels/Rules/Rules.d.ts +4 -1
  109. package/types/components/manage/Controlpanels/Rules/components/VariableModal.d.ts +4 -1
  110. package/types/components/manage/Controlpanels/UndoControlpanel.d.ts +4 -1
  111. package/types/components/manage/Controlpanels/UpgradeControlPanel.d.ts +4 -1
  112. package/types/components/manage/Controlpanels/Users/RenderUsers.d.ts +4 -1
  113. package/types/components/manage/Controlpanels/Users/UsersControlpanel.d.ts +4 -1
  114. package/types/components/manage/Display/Display.d.ts +3 -2
  115. package/types/components/manage/Edit/Edit.d.ts +6 -3
  116. package/types/components/manage/Form/BlocksToolbar.d.ts +5 -2
  117. package/types/components/manage/Form/Field.d.ts +3 -2
  118. package/types/components/manage/Form/Form.d.ts +1 -3
  119. package/types/components/manage/Form/InlineForm.d.ts +3 -2
  120. package/types/components/manage/Form/ModalForm.d.ts +3 -2
  121. package/types/components/manage/History/History.d.ts +3 -2
  122. package/types/components/manage/Multilingual/CompareLanguages.d.ts +2 -1
  123. package/types/components/manage/Multilingual/ManageTranslations.d.ts +43 -1
  124. package/types/components/manage/Pluggable/index.d.ts +8 -7
  125. package/types/components/manage/Preferences/PersonalPreferences.d.ts +4 -1
  126. package/types/components/manage/Rules/Rules.d.ts +4 -1
  127. package/types/components/manage/Sidebar/ObjectBrowser.d.ts +25 -2
  128. package/types/components/manage/Sidebar/ObjectBrowserBody.d.ts +4 -1
  129. package/types/components/manage/Sidebar/Sidebar.d.ts +2 -1
  130. package/types/components/manage/Sidebar/SidebarPortal.d.ts +2 -2
  131. package/types/components/manage/Toolbar/More.d.ts +3 -2
  132. package/types/components/manage/Toolbar/Toolbar.d.ts +4 -1
  133. package/types/components/manage/Toolbar/Types.d.ts +1 -20
  134. package/types/components/manage/Widgets/ArrayWidget.d.ts +5 -4
  135. package/types/components/manage/Widgets/CheckboxWidget.d.ts +3 -2
  136. package/types/components/manage/Widgets/ColorPickerWidget.d.ts +22 -21
  137. package/types/components/manage/Widgets/ColorPickerWidget.stories.d.ts +7 -8
  138. package/types/components/manage/Widgets/DatetimeWidget.d.ts +2 -2
  139. package/types/components/manage/Widgets/FileWidget.d.ts +3 -2
  140. package/types/components/manage/Widgets/FormFieldWrapper.d.ts +3 -2
  141. package/types/components/manage/Widgets/IdWidget.d.ts +4 -1
  142. package/types/components/manage/Widgets/ImageSizeWidget.d.ts +3 -2
  143. package/types/components/manage/Widgets/InternalUrlWidget.d.ts +43 -1
  144. package/types/components/manage/Widgets/NumberWidget.d.ts +3 -2
  145. package/types/components/manage/Widgets/ObjectBrowserWidget.d.ts +9 -9
  146. package/types/components/manage/Widgets/PasswordWidget.d.ts +3 -2
  147. package/types/components/manage/Widgets/QueryWidget.d.ts +4 -4
  148. package/types/components/manage/Widgets/RecurrenceWidget/ByMonthDayField.d.ts +3 -2
  149. package/types/components/manage/Widgets/RecurrenceWidget/ByMonthField.d.ts +3 -2
  150. package/types/components/manage/Widgets/RecurrenceWidget/ByYearField.d.ts +3 -2
  151. package/types/components/manage/Widgets/RecurrenceWidget/EndField.d.ts +3 -2
  152. package/types/components/manage/Widgets/RecurrenceWidget/Occurences.d.ts +3 -2
  153. package/types/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField.d.ts +3 -2
  154. package/types/components/manage/Widgets/ReferenceWidget.d.ts +4 -1
  155. package/types/components/manage/Widgets/RegistryImageWidget.d.ts +3 -2
  156. package/types/components/manage/Widgets/SchemaWidget.d.ts +3 -2
  157. package/types/components/manage/Widgets/SelectAutoComplete.d.ts +5 -4
  158. package/types/components/manage/Widgets/SelectWidget.d.ts +3 -2
  159. package/types/components/manage/Widgets/TextWidget.d.ts +3 -2
  160. package/types/components/manage/Widgets/TextareaWidget.d.ts +3 -2
  161. package/types/components/manage/Widgets/TokenWidget.d.ts +3 -2
  162. package/types/components/manage/Widgets/UrlWidget.d.ts +43 -1
  163. package/types/components/manage/Widgets/WysiwygWidget.d.ts +3 -2
  164. package/types/components/theme/App/App.d.ts +4 -4
  165. package/types/components/theme/AppExtras/AppExtras.d.ts +1 -1
  166. package/types/components/theme/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -2
  167. package/types/components/theme/Error/ErrorBoundary.d.ts +2 -2
  168. package/types/components/theme/Error/ServerError.d.ts +1 -1
  169. package/types/components/theme/Footer/Footer.d.ts +3 -2
  170. package/types/components/theme/Forbidden/Forbidden.d.ts +1 -1
  171. package/types/components/theme/Navigation/ContextNavigation.d.ts +1 -1
  172. package/types/components/theme/NotFound/NotFound.d.ts +1 -1
  173. package/types/components/theme/Pagination/Pagination.d.ts +3 -2
  174. package/types/components/theme/Search/Search.d.ts +6 -3
  175. package/types/components/theme/Sitemap/Sitemap.d.ts +4 -2
  176. package/types/components/theme/TsTest/TsTest.d.ts +11 -0
  177. package/types/components/theme/TsTest/TsTest.test.d.ts +1 -0
  178. package/types/components/theme/Unauthorized/Unauthorized.d.ts +1 -1
  179. package/types/components/theme/View/AlbumView.d.ts +2 -1
  180. package/types/components/theme/View/DefaultView.d.ts +3 -2
  181. package/types/components/theme/View/RenderBlocks.d.ts +1 -1
  182. package/types/components/theme/View/View.d.ts +4 -1
  183. package/types/components/theme/Widgets/ArrayWidget.d.ts +1 -1
  184. package/types/components/theme/Widgets/BooleanWidget.d.ts +3 -2
  185. package/types/components/theme/Widgets/DateWidget.d.ts +1 -1
  186. package/types/components/theme/Widgets/DatetimeWidget.d.ts +1 -1
  187. package/types/components/theme/Widgets/DescriptionWidget.d.ts +1 -1
  188. package/types/components/theme/Widgets/EmailWidget.d.ts +1 -1
  189. package/types/components/theme/Widgets/FileWidget.d.ts +1 -1
  190. package/types/components/theme/Widgets/ImageWidget.d.ts +1 -1
  191. package/types/components/theme/Widgets/PasswordWidget.d.ts +1 -1
  192. package/types/components/theme/Widgets/RelationWidget.d.ts +1 -1
  193. package/types/components/theme/Widgets/RelationsWidget.d.ts +1 -1
  194. package/types/components/theme/Widgets/RichTextWidget.d.ts +1 -1
  195. package/types/components/theme/Widgets/SelectWidget.d.ts +1 -1
  196. package/types/components/theme/Widgets/TextWidget.d.ts +1 -1
  197. package/types/components/theme/Widgets/TitleWidget.d.ts +1 -1
  198. package/types/components/theme/Widgets/TokenWidget.d.ts +1 -1
  199. package/types/components/theme/Widgets/UrlWidget.d.ts +1 -1
  200. package/types/config/Blocks.d.ts +20 -1
  201. package/types/config/Components.d.ts +3 -0
  202. package/types/config/ContentIcons.d.ts +7 -7
  203. package/types/config/ControlPanels.d.ts +21 -21
  204. package/types/config/RichTextEditor/index.d.ts +8 -5
  205. package/types/config/Views.d.ts +40 -11
  206. package/types/config/Widgets.d.ts +58 -4
  207. package/types/error.d.ts +3 -2
  208. package/types/helpers/AsyncConnect/AsyncConnect.d.ts +2 -2
  209. package/types/helpers/Blocks/Blocks.d.ts +3 -1
  210. package/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts +2 -2
  211. package/types/helpers/Helmet/Helmet.d.ts +71 -1
  212. package/types/helpers/Html/Html.d.ts +2 -2
  213. package/types/helpers/LanguageMap/LanguageMap.d.ts +1 -878
  214. package/types/helpers/Loadable/__mocks__/Loadable.d.ts +2 -2
  215. package/types/helpers/MessageLabels/MessageLabels.d.ts +1 -540
  216. package/types/helpers/ScrollToTop/ScrollToTop.d.ts +1 -1
  217. package/types/helpers/UndoManager/useUndoManager.d.ts +4 -4
  218. package/types/helpers/Url/Url.d.ts +3 -3
  219. package/types/helpers/Utils/Date.d.ts +2 -2
  220. package/types/helpers/Utils/usePagination.d.ts +1 -1
  221. package/types/helpers/Utils/usePrevious.d.ts +1 -1
  222. package/types/helpers/index.d.ts +12 -0
  223. package/types/hooks/index.d.ts +2 -1
  224. package/types/middleware/index.d.ts +2 -0
  225. package/types/reducers/blocksClipboard/blocksClipboard.d.ts +1 -1
  226. package/types/reducers/index.d.ts +40 -0
  227. package/types/registry.d.ts +1 -0
  228. package/types/routes.d.ts +31 -3
  229. package/types/server.d.ts +1 -1
  230. package/types/storybook.d.ts +3 -3
  231. package/src/components/manage/Widgets/ColorPickerWidget.stories.jsx +0 -30
@@ -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';
@@ -36,9 +36,30 @@ declare function withObjectBrowser(WrappedComponent: any): {
36
36
  dataName: string;
37
37
  onSelectItem: string;
38
38
  overlay: string;
39
- }) => any;
40
- closeObjectBrowser: () => any;
39
+ }) => void;
40
+ closeObjectBrowser: () => void;
41
41
  render(): JSX.Element;
42
+ context: any;
43
+ setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
44
+ forceUpdate(callback?: () => void): void;
45
+ readonly props: Readonly<any> & Readonly<{
46
+ children?: any;
47
+ }>;
48
+ refs: {
49
+ [key: string]: React.ReactInstance;
50
+ };
51
+ componentDidMount?(): void;
52
+ shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
53
+ componentWillUnmount?(): void;
54
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
55
+ getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
56
+ componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
57
+ componentWillMount?(): void;
58
+ UNSAFE_componentWillMount?(): void;
59
+ componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
60
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
61
+ componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
62
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
42
63
  };
43
64
  /**
44
65
  * Default properties
@@ -50,4 +71,6 @@ declare function withObjectBrowser(WrappedComponent: any): {
50
71
  data: {};
51
72
  block: string;
52
73
  };
74
+ contextType?: React.Context<any>;
53
75
  };
76
+ 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,6 +1,7 @@
1
- declare const _default: import("react").ComponentType<{
1
+ declare const _default: React.ComponentType<{
2
2
  [x: string]: any;
3
3
  [x: number]: any;
4
4
  [x: symbol]: any;
5
5
  }>;
6
6
  export default _default;
7
+ import React from 'react';
@@ -1,12 +1,12 @@
1
1
  export default SidebarPortal;
2
2
  /**
3
3
  * Portal that wraps Sidebar components
4
- * @param {Array} children Sidebar content
4
+ * @param {React.ReactNode} children Sidebar content
5
5
  * @param {bool} selected Sidebar needs to know when the related block is selected
6
6
  * @param {string} tab Element id where to insert sidebar content, default: sidebar-properties
7
7
  * @returns {string} Rendered sidebar
8
8
  */
9
- declare function SidebarPortal({ children, selected, tab }: any[]): string;
9
+ declare function SidebarPortal({ children, selected, tab }: any): string;
10
10
  declare namespace SidebarPortal {
11
11
  namespace propTypes {
12
12
  let children: any;
@@ -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,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,21 +1,2 @@
1
- declare const _default: import("react-redux").ConnectedComponent<{
2
- ({ types, pathname, content, currentLanguage }: {
3
- types: any;
4
- pathname: any;
5
- content: any;
6
- currentLanguage: any;
7
- }): JSX.Element;
8
- propTypes: {
9
- pathname: any;
10
- types: any;
11
- };
12
- }, import("react-redux").Omit<Pick<{
13
- types: any;
14
- pathname: any;
15
- content: any;
16
- currentLanguage: any;
17
- }, never> & Pick<import("prop-types").InferProps<{
18
- pathname: any;
19
- types: any;
20
- }>, any>, "types" | "currentLanguage">>;
1
+ declare const _default: any;
21
2
  export default _default;
@@ -1,7 +1,8 @@
1
- export const ArrayWidgetComponent: import("react").FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
1
+ export const ArrayWidgetComponent: React.FC<import("react-intl").WithIntlProps<any>> & {
2
+ WrappedComponent: React.ComponentType<any>;
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';
@@ -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,22 +1,23 @@
1
+ /// <reference types="react" />
2
+ type Color = {
3
+ name: string;
4
+ label: string;
5
+ style: Record<`--${string}`, string>;
6
+ } | {
7
+ name: string;
8
+ label: string;
9
+ style: undefined;
10
+ };
11
+ export type ColorPickerWidgetProps = {
12
+ id: string;
13
+ title: string;
14
+ value: string;
15
+ default: string;
16
+ required: boolean;
17
+ missing_value: unknown;
18
+ className: string;
19
+ onChange: (id: string, value: any) => void;
20
+ colors: Color[];
21
+ };
22
+ declare const ColorPickerWidget: (props: ColorPickerWidgetProps) => JSX.Element;
1
23
  export default ColorPickerWidget;
2
- declare function ColorPickerWidget(props: any): JSX.Element;
3
- declare namespace ColorPickerWidget {
4
- namespace propTypes {
5
- let id: any;
6
- let title: any;
7
- let required: any;
8
- let value: any;
9
- let onChange: any;
10
- let colors: any;
11
- }
12
- namespace defaultProps {
13
- let required_1: boolean;
14
- export { required_1 as required };
15
- let value_1: any;
16
- export { value_1 as value };
17
- let onChange_1: any;
18
- export { onChange_1 as onChange };
19
- let colors_1: any[];
20
- export { colors_1 as colors };
21
- }
22
- }
@@ -1,8 +1,7 @@
1
- export const Default: any;
2
- declare namespace _default {
3
- export let title: string;
4
- export { Default as component };
5
- export let decorators: ((Story: any) => JSX.Element)[];
6
- export let argTypes: {};
7
- }
8
- export default _default;
1
+ import ColorPickerWidget from './ColorPickerWidget';
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
+ declare const meta: Meta<typeof ColorPickerWidget>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ColorPickerWidget>;
6
+ export declare const Default: Story;
7
+ export declare const WithEnhancedStyleConfig: Story;
@@ -12,7 +12,7 @@
12
12
  * }
13
13
  * ```
14
14
  */
15
- export class DatetimeWidgetComponent extends Component<any, any, any> {
15
+ export class DatetimeWidgetComponent extends React.Component<any, any, any> {
16
16
  /**
17
17
  * Constructor
18
18
  * @method constructor
@@ -84,4 +84,4 @@ export namespace DatetimeWidgetComponent {
84
84
  }
85
85
  declare const _default: any;
86
86
  export default _default;
87
- import { Component } from 'react';
87
+ 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").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,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';
@@ -36,5 +36,47 @@ export namespace InternalUrlWidget {
36
36
  export { maxLength_1 as maxLength };
37
37
  }
38
38
  }
39
- declare const _default: any;
39
+ declare const _default: {
40
+ new (): {
41
+ state: {
42
+ isObjectBrowserOpen: boolean;
43
+ };
44
+ openObjectBrowser: ({ mode, onSelectItem, dataName, overlay, propDataName, searchableTypes, selectableTypes, maximumSelectionSize, currentPath, }?: {
45
+ mode: string;
46
+ dataName: string;
47
+ onSelectItem: string;
48
+ overlay: string;
49
+ }) => void;
50
+ closeObjectBrowser: () => void;
51
+ render(): JSX.Element;
52
+ context: any;
53
+ setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
54
+ forceUpdate(callback?: () => void): void;
55
+ readonly props: Readonly<any> & Readonly<{
56
+ children?: any;
57
+ }>;
58
+ refs: {
59
+ [key: string]: React.ReactInstance;
60
+ };
61
+ componentDidMount?(): void;
62
+ shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
63
+ componentWillUnmount?(): void;
64
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
65
+ getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
66
+ componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
67
+ componentWillMount?(): void;
68
+ UNSAFE_componentWillMount?(): void;
69
+ componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
70
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
71
+ componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
72
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
73
+ };
74
+ defaultProps: {
75
+ onChangeBlock: () => void;
76
+ data: {};
77
+ block: string;
78
+ };
79
+ contextType?: React.Context<any>;
80
+ };
40
81
  export default _default;
82
+ 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';
@@ -3,7 +3,7 @@
3
3
  * @class ObjectBrowserWidget
4
4
  * @extends Component
5
5
  */
6
- export class ObjectBrowserWidgetComponent extends Component<any, any, any> {
6
+ export class ObjectBrowserWidgetComponent extends React.Component<any, any, any> {
7
7
  /**
8
8
  * Property types.
9
9
  * @property {Object} propTypes Property types.
@@ -44,13 +44,13 @@ export class ObjectBrowserWidgetComponent extends Component<any, any, any> {
44
44
  manualLinkInput: string;
45
45
  validURL: boolean;
46
46
  };
47
- selectedItemsRef: any;
48
- placeholderRef: any;
47
+ selectedItemsRef: React.RefObject<any>;
48
+ placeholderRef: React.RefObject<any>;
49
49
  renderLabel(item: any): JSX.Element;
50
50
  removeItem: (item: any) => void;
51
51
  onChange: (item: any) => void;
52
52
  onManualLinkInput: (e: any) => void;
53
- validateManualLink: (url: any) => any;
53
+ validateManualLink: (url: any) => boolean;
54
54
  onSubmitManualLink: () => void;
55
55
  onKeyDownManualLink: (e: any) => void;
56
56
  showObjectBrowser: (ev: any) => void;
@@ -62,11 +62,11 @@ export class ObjectBrowserWidgetComponent extends Component<any, any, any> {
62
62
  */
63
63
  render(): string;
64
64
  }
65
- 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>>>> & {
66
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
65
+ 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>>>> & {
66
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
67
67
  };
68
68
  export default _default;
69
- import { Component } from 'react';
70
- export function ObjectBrowserWidgetMode(mode: any): 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>>>> & {
71
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
69
+ import React from 'react';
70
+ export function ObjectBrowserWidgetMode(mode: any): React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
71
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
72
72
  };
@@ -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,7 +1,7 @@
1
1
  /**
2
2
  * Widget for a querystring value, to define a catalog search criteria.
3
3
  */
4
- export class QuerystringWidgetComponent extends Component<any, any, any> {
4
+ export class QuerystringWidgetComponent extends React.Component<any, any, any> {
5
5
  /**
6
6
  * Property types.
7
7
  * @property {Object} propTypes Property types.
@@ -74,8 +74,8 @@ export class QuerystringWidgetComponent extends Component<any, any, any> {
74
74
  */
75
75
  render(): string;
76
76
  }
77
- 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>>>> & {
78
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
77
+ 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>>>> & {
78
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
79
79
  };
80
80
  export default _default;
81
- import { Component } from 'react';
81
+ 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,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,5 +1,6 @@
1
1
  export const Occurences: any;
2
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<any>>> & {
3
- WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<any>>;
2
+ declare const _default: React.FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<any>>> & {
3
+ WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<any>>;
4
4
  };
5
5
  export default _default;
6
+ 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,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,7 +1,8 @@
1
- export const SelectAutoCompleteComponent: import("react").FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
1
+ export const SelectAutoCompleteComponent: React.FC<import("react-intl").WithIntlProps<any>> & {
2
+ WrappedComponent: React.ComponentType<any>;
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';
@@ -1,5 +1,6 @@
1
- export const SelectWidgetComponent: import("react").FC<import("react-intl").WithIntlProps<any>> & {
2
- WrappedComponent: import("react").ComponentType<any>;
1
+ export const SelectWidgetComponent: React.FC<import("react-intl").WithIntlProps<any>> & {
2
+ WrappedComponent: React.ComponentType<any>;
3
3
  };
4
4
  declare const _default: any;
5
5
  export default _default;
6
+ 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").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';
@@ -36,5 +36,47 @@ export namespace UrlWidget {
36
36
  export { maxLength_1 as maxLength };
37
37
  }
38
38
  }
39
- declare const _default: any;
39
+ declare const _default: {
40
+ new (): {
41
+ state: {
42
+ isObjectBrowserOpen: boolean;
43
+ };
44
+ openObjectBrowser: ({ mode, onSelectItem, dataName, overlay, propDataName, searchableTypes, selectableTypes, maximumSelectionSize, currentPath, }?: {
45
+ mode: string;
46
+ dataName: string;
47
+ onSelectItem: string;
48
+ overlay: string;
49
+ }) => void;
50
+ closeObjectBrowser: () => void;
51
+ render(): JSX.Element;
52
+ context: any;
53
+ setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
54
+ forceUpdate(callback?: () => void): void;
55
+ readonly props: Readonly<any> & Readonly<{
56
+ children?: any;
57
+ }>;
58
+ refs: {
59
+ [key: string]: React.ReactInstance;
60
+ };
61
+ componentDidMount?(): void;
62
+ shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
63
+ componentWillUnmount?(): void;
64
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
65
+ getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
66
+ componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
67
+ componentWillMount?(): void;
68
+ UNSAFE_componentWillMount?(): void;
69
+ componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
70
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
71
+ componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
72
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
73
+ };
74
+ defaultProps: {
75
+ onChangeBlock: () => void;
76
+ data: {};
77
+ block: string;
78
+ };
79
+ contextType?: React.Context<any>;
80
+ };
40
81
  export default _default;
82
+ import React from 'react';
@@ -1,5 +1,6 @@
1
- export const WysiwygWidget: 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 WysiwygWidget: 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 Preloader;
5
+ import React from 'react';
5
6
  declare function Preloader(props: any): JSX.Element;