@plone/volto 17.9.0 → 17.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/package.json +6 -6
- package/packages/volto-slate/package.json +1 -1
- package/src/components/manage/Sidebar/SidebarPortal.jsx +1 -1
- package/src/components/manage/Widgets/ColorPickerWidget.stories.tsx +48 -0
- package/src/components/manage/Widgets/{ColorPickerWidget.jsx → ColorPickerWidget.tsx} +40 -23
- package/src/helpers/Extensions/withBlockSchemaEnhancer.js +1 -1
- package/tsconfig.declarations.json +16 -0
- package/types/actions/authRole/authRole.d.ts +1 -1
- package/types/actions/comments/comments.d.ts +1 -1
- package/types/actions/content/content.d.ts +1 -1
- package/types/actions/controlpanels/controlpanels.d.ts +2 -2
- package/types/actions/index.d.ts +36 -0
- package/types/actions/upgrade/upgrade.d.ts +2 -2
- package/types/components/index.d.ts +180 -0
- package/types/components/manage/Actions/Actions.d.ts +2 -1
- package/types/components/manage/Add/Add.d.ts +1 -3
- package/types/components/manage/AnchorPlugin/components/Link/index.d.ts +6 -5
- package/types/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.d.ts +3 -2
- package/types/components/manage/AnchorPlugin/components/LinkButton/index.d.ts +1 -1
- package/types/components/manage/BlockChooser/BlockChooser.d.ts +2 -1
- package/types/components/manage/Blocks/Block/Edit.d.ts +21 -18
- package/types/components/manage/Blocks/Block/EditBlockWrapper.d.ts +3 -2
- package/types/components/manage/Blocks/Block/Settings.d.ts +3 -2
- package/types/components/manage/Blocks/Container/Edit.d.ts +7 -6
- package/types/components/manage/Blocks/Description/Edit.d.ts +19 -14
- package/types/components/manage/Blocks/Description/View.d.ts +7 -2
- package/types/components/manage/Blocks/Grid/Edit.d.ts +6 -5
- package/types/components/manage/Blocks/Grid/View.d.ts +1 -1
- package/types/components/manage/Blocks/HTML/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/HTML/View.d.ts +4 -1
- package/types/components/manage/Blocks/HeroImageLeft/View.d.ts +4 -1
- package/types/components/manage/Blocks/Image/Edit.d.ts +1 -3
- package/types/components/manage/Blocks/Image/ImageSidebar.d.ts +6 -3
- package/types/components/manage/Blocks/Image/LayoutSchema.d.ts +36 -1
- package/types/components/manage/Blocks/Image/View.d.ts +5 -2
- package/types/components/manage/Blocks/LeadImage/Edit.d.ts +3 -2
- package/types/components/manage/Blocks/LeadImage/LeadImageSidebar.d.ts +5 -4
- package/types/components/manage/Blocks/LeadImage/View.d.ts +7 -2
- package/types/components/manage/Blocks/Listing/DefaultTemplate.d.ts +4 -3
- package/types/components/manage/Blocks/Listing/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/ImageGallery.d.ts +2 -1
- package/types/components/manage/Blocks/Listing/ListingBody.d.ts +3 -2
- package/types/components/manage/Blocks/Listing/ListingData.d.ts +6 -3
- package/types/components/manage/Blocks/Listing/SummaryTemplate.d.ts +4 -3
- package/types/components/manage/Blocks/Listing/View.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/withQuerystringResults.d.ts +5 -1
- package/types/components/manage/Blocks/Maps/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Maps/View.d.ts +1 -3
- package/types/components/manage/Blocks/Search/SearchBlockView.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/DateRangeFacet.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/SelectFacet.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/SortOn.d.ts +1 -3
- package/types/components/manage/Blocks/Search/components/ViewSwitcher.d.ts +1 -3
- package/types/components/manage/Blocks/Table/Cell.d.ts +1 -1
- package/types/components/manage/Blocks/Table/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Table/View.d.ts +4 -1
- package/types/components/manage/Blocks/Teaser/Body.d.ts +5 -2
- package/types/components/manage/Blocks/Teaser/DefaultBody.d.ts +5 -2
- package/types/components/manage/Blocks/Teaser/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Teaser/View.d.ts +1 -1
- package/types/components/manage/Blocks/Text/Edit.d.ts +30 -25
- package/types/components/manage/Blocks/Text/Schema.d.ts +36 -1
- package/types/components/manage/Blocks/Text/View.d.ts +4 -1
- package/types/components/manage/Blocks/Title/Edit.d.ts +19 -14
- package/types/components/manage/Blocks/ToC/Edit.d.ts +2 -2
- package/types/components/manage/Blocks/ToC/View.d.ts +3 -2
- package/types/components/manage/Blocks/ToC/variations/DefaultTocRenderer.d.ts +3 -2
- package/types/components/manage/Blocks/ToC/variations/HorizontalMenu.d.ts +3 -2
- package/types/components/manage/Blocks/Video/Body.d.ts +4 -1
- package/types/components/manage/Blocks/Video/Edit.d.ts +1 -3
- package/types/components/manage/Blocks/Video/View.d.ts +1 -1
- package/types/components/manage/ConditionalLink/ConditionalLink.d.ts +8 -4
- package/types/components/manage/Contents/Contents.d.ts +2 -6
- package/types/components/manage/Contents/ContentsIndexHeader.d.ts +9 -8
- package/types/components/manage/Contents/ContentsItem.d.ts +25 -16
- package/types/components/manage/Contents/ContentsPropertiesModal.d.ts +5 -4
- package/types/components/manage/Contents/ContentsRenameModal.d.ts +9 -4
- package/types/components/manage/Contents/ContentsTagsModal.d.ts +8 -4
- package/types/components/manage/Contents/ContentsWorkflowModal.d.ts +5 -4
- package/types/components/manage/Controlpanels/ContentTypesActions.d.ts +3 -2
- package/types/components/manage/Controlpanels/Controlpanel.d.ts +3 -2
- package/types/components/manage/Controlpanels/Controlpanels.d.ts +1 -16
- package/types/components/manage/Controlpanels/Groups/RenderGroups.d.ts +3 -2
- package/types/components/manage/Controlpanels/Relations/RelationsMatrix.d.ts +41 -1
- package/types/components/manage/Diff/DiffField.d.ts +1 -1
- package/types/components/manage/Display/Display.d.ts +1 -3
- package/types/components/manage/DragDropList/DragDropList.d.ts +1 -1
- package/types/components/manage/Edit/Edit.d.ts +1 -3
- package/types/components/manage/Form/BlocksToolbar.d.ts +2 -1
- package/types/components/manage/Form/Field.d.ts +3 -2
- package/types/components/manage/Form/Form.d.ts +4 -3
- package/types/components/manage/Form/InlineForm.d.ts +3 -2
- package/types/components/manage/Form/ModalForm.d.ts +3 -2
- package/types/components/manage/History/History.d.ts +1 -3
- package/types/components/manage/LinkMore/LinkMore.d.ts +4 -1
- package/types/components/manage/Multilingual/CompareLanguages.d.ts +2 -1
- package/types/components/manage/Multilingual/ManageTranslations.d.ts +41 -1
- package/types/components/manage/Pluggable/index.d.ts +26 -7
- package/types/components/manage/ReactVirtualized/DynamicRowHeightList.d.ts +1 -1
- package/types/components/manage/Sidebar/ObjectBrowser.d.ts +23 -2
- package/types/components/manage/Sidebar/Sidebar.d.ts +2 -1
- package/types/components/manage/Sidebar/SidebarPopup.d.ts +4 -3
- package/types/components/manage/Sidebar/SidebarPortal.d.ts +6 -4
- package/types/components/manage/TemplateChooser/TemplateChooser.d.ts +3 -2
- package/types/components/manage/TextLineEdit/TextLineEdit.d.ts +22 -17
- package/types/components/manage/Toast/Toast.d.ts +7 -6
- package/types/components/manage/Toolbar/More.d.ts +3 -2
- package/types/components/manage/Toolbar/PersonalTools.d.ts +2 -1
- package/types/components/manage/Toolbar/StandardWrapper.d.ts +7 -6
- package/types/components/manage/Toolbar/Types.d.ts +19 -5
- package/types/components/manage/UniversalLink/UniversalLink.d.ts +11 -7
- package/types/components/manage/Widgets/ArrayWidget.d.ts +4 -5
- package/types/components/manage/Widgets/CheckboxWidget.d.ts +3 -2
- package/types/components/manage/Widgets/ColorPickerWidget.d.ts +21 -21
- package/types/components/manage/Widgets/ColorPickerWidget.stories.d.ts +7 -8
- package/types/components/manage/Widgets/DatetimeWidget.d.ts +15 -14
- package/types/components/manage/Widgets/EmailWidget.d.ts +13 -12
- package/types/components/manage/Widgets/FileWidget.d.ts +3 -2
- package/types/components/manage/Widgets/FormFieldWrapper.d.ts +3 -2
- package/types/components/manage/Widgets/ImageSizeWidget.d.ts +3 -2
- package/types/components/manage/Widgets/InternalUrlWidget.d.ts +55 -14
- package/types/components/manage/Widgets/NumberWidget.d.ts +3 -2
- package/types/components/manage/Widgets/ObjectBrowserWidget.d.ts +23 -22
- package/types/components/manage/Widgets/ObjectWidget.d.ts +6 -5
- package/types/components/manage/Widgets/PasswordWidget.d.ts +3 -2
- package/types/components/manage/Widgets/QuerySortOnWidget.d.ts +1 -1
- package/types/components/manage/Widgets/QueryWidget.d.ts +15 -16
- package/types/components/manage/Widgets/RecurrenceWidget/ByDayField.d.ts +1 -1
- package/types/components/manage/Widgets/RecurrenceWidget/ByMonthDayField.d.ts +3 -2
- package/types/components/manage/Widgets/RecurrenceWidget/ByMonthField.d.ts +3 -2
- package/types/components/manage/Widgets/RecurrenceWidget/ByYearField.d.ts +3 -2
- package/types/components/manage/Widgets/RecurrenceWidget/EndField.d.ts +3 -2
- package/types/components/manage/Widgets/RecurrenceWidget/IntervalField.d.ts +5 -4
- package/types/components/manage/Widgets/RecurrenceWidget/MonthOfTheYearField.d.ts +1 -1
- package/types/components/manage/Widgets/RecurrenceWidget/Occurences.d.ts +4 -3
- package/types/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.d.ts +1 -1
- package/types/components/manage/Widgets/RecurrenceWidget/SelectInput.d.ts +6 -5
- package/types/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthField.d.ts +1 -1
- package/types/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField.d.ts +3 -2
- package/types/components/manage/Widgets/RegistryImageWidget.d.ts +3 -2
- package/types/components/manage/Widgets/SchemaWidget.d.ts +1 -3
- package/types/components/manage/Widgets/SchemaWidgetFieldset.d.ts +11 -10
- package/types/components/manage/Widgets/SelectAutoComplete.d.ts +4 -5
- package/types/components/manage/Widgets/SelectStyling.d.ts +7 -7
- package/types/components/manage/Widgets/SelectWidget.d.ts +4 -3
- package/types/components/manage/Widgets/TextWidget.d.ts +3 -2
- package/types/components/manage/Widgets/TextareaWidget.d.ts +3 -2
- package/types/components/manage/Widgets/TokenWidget.d.ts +1 -3
- package/types/components/manage/Widgets/UrlWidget.d.ts +55 -14
- package/types/components/manage/Widgets/WysiwygWidget.d.ts +1 -3
- package/types/components/manage/Workflow/Workflow.d.ts +1 -1
- package/types/components/theme/Anontools/Anontools.d.ts +5 -2
- package/types/components/theme/App/App.d.ts +8 -7
- package/types/components/theme/Avatar/Avatar.d.ts +7 -6
- package/types/components/theme/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/types/components/theme/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -2
- package/types/components/theme/Comments/CommentEditModal.d.ts +10 -6
- package/types/components/theme/Comments/Comments.d.ts +1 -1
- package/types/components/theme/Error/ErrorBoundary.d.ts +2 -1
- package/types/components/theme/Error/ServerError.d.ts +1 -1
- package/types/components/theme/Footer/Footer.d.ts +3 -2
- package/types/components/theme/Forbidden/Forbidden.d.ts +1 -1
- package/types/components/theme/Header/Header.d.ts +6 -3
- package/types/components/theme/Icon/Icon.d.ts +11 -6
- package/types/components/theme/Image/Image.d.ts +13 -7
- package/types/components/theme/LanguageSelector/LanguageSelector.d.ts +2 -1
- package/types/components/theme/Navigation/ContextNavigation.d.ts +9 -1
- package/types/components/theme/Navigation/Navigation.d.ts +2 -1
- package/types/components/theme/Navigation/withContentNavigation.d.ts +15 -2
- package/types/components/theme/NotFound/NotFound.d.ts +1 -1
- package/types/components/theme/Pagination/Pagination.d.ts +3 -2
- package/types/components/theme/Popup/Popup.d.ts +2 -1
- package/types/components/theme/PreviewImage/PreviewImage.d.ts +9 -2
- package/types/components/theme/Search/Search.d.ts +1 -3
- package/types/components/theme/Sitemap/Sitemap.d.ts +1 -3
- package/types/components/theme/SocialSharing/SocialSharing.d.ts +4 -3
- package/types/components/theme/Tags/Tags.d.ts +2 -1
- package/types/components/theme/Title/Title.d.ts +2 -1
- package/types/components/theme/TsTest/TsTest.d.ts +10 -0
- package/types/components/theme/TsTest/TsTest.test.d.ts +1 -0
- package/types/components/theme/Unauthorized/Unauthorized.d.ts +1 -1
- package/types/components/theme/View/AlbumView.d.ts +42 -2
- package/types/components/theme/View/DefaultView.d.ts +3 -2
- package/types/components/theme/View/EventDatesInfo.d.ts +2 -2
- package/types/components/theme/View/EventView.d.ts +20 -1
- package/types/components/theme/View/FileView.d.ts +9 -1
- package/types/components/theme/View/ImageView.d.ts +12 -1
- package/types/components/theme/View/LinkView.d.ts +7 -2
- package/types/components/theme/View/ListingView.d.ts +13 -1
- package/types/components/theme/View/NewsItemView.d.ts +8 -1
- package/types/components/theme/View/SummaryView.d.ts +40 -1
- package/types/components/theme/View/TabularView.d.ts +36 -1
- package/types/components/theme/Widgets/BooleanWidget.d.ts +3 -2
- package/types/config/Blocks.d.ts +19 -1
- package/types/config/Components.d.ts +3 -0
- package/types/config/Views.d.ts +63 -11
- package/types/config/Widgets.d.ts +55 -3
- package/types/config/server.d.ts +1 -1
- package/types/error.d.ts +3 -2
- package/types/express-middleware/devproxy.d.ts +1 -1
- package/types/express-middleware/files.d.ts +1 -1
- package/types/express-middleware/images.d.ts +1 -1
- package/types/express-middleware/ok.d.ts +1 -1
- package/types/express-middleware/robotstxt.d.ts +1 -1
- package/types/express-middleware/sitemap.d.ts +1 -1
- package/types/express-middleware/static.d.ts +1 -1
- package/types/helpers/AsyncConnect/AsyncConnect.d.ts +13 -12
- package/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts +1 -1
- package/types/helpers/Helmet/Helmet.d.ts +84 -17
- package/types/helpers/Html/Html.d.ts +12 -5
- package/types/helpers/Loadable/Loadable.d.ts +3 -2
- package/types/helpers/ScrollToTop/ScrollToTop.d.ts +2 -1
- package/types/helpers/UndoManager/useUndoManager.d.ts +4 -4
- package/types/helpers/Utils/usePagination.d.ts +1 -1
- package/types/helpers/Utils/usePrevious.d.ts +1 -1
- package/types/helpers/index.d.ts +12 -0
- package/types/hooks/index.d.ts +2 -1
- package/types/middleware/index.d.ts +2 -0
- package/types/reducers/index.d.ts +40 -0
- package/types/routes.d.ts +1 -1
- package/types/server.d.ts +1 -1
- package/types/storybook.d.ts +10 -9
- package/src/components/manage/Widgets/ColorPickerWidget.stories.jsx +0 -30
|
@@ -1,2 +1,37 @@
|
|
|
1
1
|
export default Schema;
|
|
2
|
-
declare const Schema:
|
|
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,20 +1,24 @@
|
|
|
1
1
|
export function TitleBlockEdit(props: any): JSX.Element;
|
|
2
2
|
export namespace TitleBlockEdit {
|
|
3
3
|
namespace propTypes {
|
|
4
|
-
let properties:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
let
|
|
8
|
-
let
|
|
9
|
-
let
|
|
10
|
-
let
|
|
11
|
-
let
|
|
12
|
-
let
|
|
13
|
-
let
|
|
14
|
-
let
|
|
15
|
-
let
|
|
16
|
-
let
|
|
17
|
-
|
|
4
|
+
let properties: PropTypes.Validator<{
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}>;
|
|
7
|
+
let selected: PropTypes.Validator<boolean>;
|
|
8
|
+
let block: PropTypes.Validator<string>;
|
|
9
|
+
let index: PropTypes.Validator<number>;
|
|
10
|
+
let onChangeField: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
let onSelectBlock: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
+
let onDeleteBlock: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
+
let onAddBlock: PropTypes.Validator<(...args: any[]) => any>;
|
|
14
|
+
let onFocusPreviousBlock: PropTypes.Validator<(...args: any[]) => any>;
|
|
15
|
+
let onFocusNextBlock: PropTypes.Validator<(...args: any[]) => any>;
|
|
16
|
+
let data: PropTypes.Validator<{
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
}>;
|
|
19
|
+
let editable: PropTypes.Requireable<boolean>;
|
|
20
|
+
let detached: PropTypes.Requireable<boolean>;
|
|
21
|
+
let blockNode: PropTypes.Requireable<any>;
|
|
18
22
|
}
|
|
19
23
|
namespace defaultProps {
|
|
20
24
|
let detached_1: boolean;
|
|
@@ -24,3 +28,4 @@ export namespace TitleBlockEdit {
|
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
export default TitleBlockEdit;
|
|
31
|
+
import PropTypes from 'prop-types';
|
|
@@ -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
|
|
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:
|
|
8
|
-
WrappedComponent:
|
|
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:
|
|
2
|
-
WrappedComponent:
|
|
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:
|
|
2
|
-
WrappedComponent:
|
|
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';
|
|
@@ -5,7 +5,9 @@ declare function Body({ data, isEditMode }: {
|
|
|
5
5
|
}): JSX.Element;
|
|
6
6
|
declare namespace Body {
|
|
7
7
|
namespace propTypes {
|
|
8
|
-
let data:
|
|
8
|
+
let data: PropTypes.Validator<{
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
11
13
|
export function getVideoIDAndPlaceholder(url: any): {
|
|
@@ -13,3 +15,4 @@ export function getVideoIDAndPlaceholder(url: any): {
|
|
|
13
15
|
listID: any;
|
|
14
16
|
thumbnailURL: string;
|
|
15
17
|
};
|
|
18
|
+
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
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;
|
|
@@ -7,9 +7,13 @@ declare function ConditionalLink({ condition, to, item, ...props }: {
|
|
|
7
7
|
}): any;
|
|
8
8
|
declare namespace ConditionalLink {
|
|
9
9
|
namespace propTypes {
|
|
10
|
-
let condition:
|
|
11
|
-
let to:
|
|
12
|
-
let item:
|
|
13
|
-
|
|
10
|
+
let condition: PropTypes.Requireable<boolean>;
|
|
11
|
+
let to: PropTypes.Requireable<string>;
|
|
12
|
+
let item: PropTypes.Requireable<PropTypes.InferProps<{
|
|
13
|
+
'@id': PropTypes.Requireable<string>;
|
|
14
|
+
remoteUrl: PropTypes.Requireable<string>;
|
|
15
|
+
}>>;
|
|
16
|
+
let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
19
|
+
import PropTypes from 'prop-types';
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
export const __test__:
|
|
2
|
-
|
|
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>>;
|
|
6
|
-
};
|
|
1
|
+
export const __test__: any;
|
|
2
|
+
declare const _default: any;
|
|
7
3
|
export default _default;
|
|
@@ -8,14 +8,15 @@ export function ContentsIndexHeaderComponent({ intl, width, label, connectDragSo
|
|
|
8
8
|
}): string;
|
|
9
9
|
export namespace ContentsIndexHeaderComponent {
|
|
10
10
|
namespace propTypes {
|
|
11
|
-
let width:
|
|
12
|
-
let label:
|
|
13
|
-
let connectDragSource: any
|
|
14
|
-
let connectDropTarget: any
|
|
15
|
-
let isDragging:
|
|
16
|
-
let order:
|
|
17
|
-
let onOrderIndex: any
|
|
11
|
+
let width: PropTypes.Validator<number>;
|
|
12
|
+
let label: PropTypes.Validator<string>;
|
|
13
|
+
let connectDragSource: PropTypes.Validator<(...args: any[]) => any>;
|
|
14
|
+
let connectDropTarget: PropTypes.Validator<(...args: any[]) => any>;
|
|
15
|
+
let isDragging: PropTypes.Validator<boolean>;
|
|
16
|
+
let order: PropTypes.Validator<number>;
|
|
17
|
+
let onOrderIndex: PropTypes.Validator<(...args: any[]) => any>;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
declare const _default: any
|
|
20
|
+
declare const _default: ((props: any) => JSX.Element) & import("hoist-non-react-statics").NonReactStatics<any, {}>;
|
|
21
21
|
export default _default;
|
|
22
|
+
import PropTypes from 'prop-types';
|
|
@@ -16,22 +16,31 @@ export function ContentsItemComponent({ item, selected, onClick, indexes, onCut,
|
|
|
16
16
|
}): string;
|
|
17
17
|
export namespace ContentsItemComponent {
|
|
18
18
|
namespace propTypes {
|
|
19
|
-
let item:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
let
|
|
26
|
-
let
|
|
27
|
-
let
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
let
|
|
32
|
-
let
|
|
33
|
-
let
|
|
19
|
+
let item: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
20
|
+
'@id': PropTypes.Requireable<string>;
|
|
21
|
+
title: PropTypes.Requireable<string>;
|
|
22
|
+
is_folderish: PropTypes.Requireable<boolean>;
|
|
23
|
+
'@type': PropTypes.Requireable<string>;
|
|
24
|
+
}>>>;
|
|
25
|
+
let selected: PropTypes.Validator<boolean>;
|
|
26
|
+
let onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
27
|
+
let indexes: PropTypes.Validator<PropTypes.InferProps<{
|
|
28
|
+
id: PropTypes.Requireable<string>;
|
|
29
|
+
type: PropTypes.Requireable<string>;
|
|
30
|
+
}>[]>;
|
|
31
|
+
let onCut: PropTypes.Validator<(...args: any[]) => any>;
|
|
32
|
+
let onCopy: PropTypes.Validator<(...args: any[]) => any>;
|
|
33
|
+
let onDelete: PropTypes.Validator<(...args: any[]) => any>;
|
|
34
|
+
let onMoveToTop: PropTypes.Validator<(...args: any[]) => any>;
|
|
35
|
+
let onMoveToBottom: PropTypes.Validator<(...args: any[]) => any>;
|
|
36
|
+
let connectDragPreview: PropTypes.Validator<(...args: any[]) => any>;
|
|
37
|
+
let connectDragSource: PropTypes.Validator<(...args: any[]) => any>;
|
|
38
|
+
let connectDropTarget: PropTypes.Validator<(...args: any[]) => any>;
|
|
39
|
+
let isDragging: PropTypes.Validator<boolean>;
|
|
40
|
+
let order: PropTypes.Validator<number>;
|
|
41
|
+
let onOrderItem: PropTypes.Validator<(...args: any[]) => any>;
|
|
34
42
|
}
|
|
35
43
|
}
|
|
36
|
-
declare const _default: any
|
|
44
|
+
declare const _default: ((props: any) => JSX.Element) & import("hoist-non-react-statics").NonReactStatics<any, {}>;
|
|
37
45
|
export default _default;
|
|
46
|
+
import PropTypes from 'prop-types';
|
|
@@ -2,9 +2,10 @@ export default ContentsPropertiesModal;
|
|
|
2
2
|
declare function ContentsPropertiesModal(props: any): JSX.Element;
|
|
3
3
|
declare namespace ContentsPropertiesModal {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
let items:
|
|
6
|
-
let open:
|
|
7
|
-
let onOk: any
|
|
8
|
-
let onCancel: any
|
|
5
|
+
let items: PropTypes.Validator<string[]>;
|
|
6
|
+
let open: PropTypes.Validator<boolean>;
|
|
7
|
+
let onOk: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
|
+
let onCancel: PropTypes.Validator<(...args: any[]) => any>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
+
import PropTypes from 'prop-types';
|
|
@@ -2,9 +2,14 @@ export default ContentsRenameModal;
|
|
|
2
2
|
declare function ContentsRenameModal(props: any): JSX.Element;
|
|
3
3
|
declare namespace ContentsRenameModal {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
let items:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
let items: PropTypes.Validator<PropTypes.InferProps<{
|
|
6
|
+
id: PropTypes.Requireable<string>;
|
|
7
|
+
title: PropTypes.Requireable<string>;
|
|
8
|
+
url: PropTypes.Requireable<string>;
|
|
9
|
+
}>[]>;
|
|
10
|
+
let open: PropTypes.Validator<boolean>;
|
|
11
|
+
let onOk: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
+
let onCancel: PropTypes.Validator<(...args: any[]) => any>;
|
|
9
13
|
}
|
|
10
14
|
}
|
|
15
|
+
import PropTypes from 'prop-types';
|
|
@@ -2,9 +2,13 @@ export default ContentsTagsModal;
|
|
|
2
2
|
declare function ContentsTagsModal(props: any): JSX.Element;
|
|
3
3
|
declare namespace ContentsTagsModal {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
let items:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
let items: PropTypes.Validator<PropTypes.InferProps<{
|
|
6
|
+
subjects: PropTypes.Requireable<string[]>;
|
|
7
|
+
url: PropTypes.Requireable<string>;
|
|
8
|
+
}>[]>;
|
|
9
|
+
let open: PropTypes.Validator<boolean>;
|
|
10
|
+
let onOk: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
let onCancel: PropTypes.Validator<(...args: any[]) => any>;
|
|
9
12
|
}
|
|
10
13
|
}
|
|
14
|
+
import PropTypes from 'prop-types';
|
|
@@ -2,9 +2,10 @@ export default ContentsWorkflowModal;
|
|
|
2
2
|
declare function ContentsWorkflowModal(props: any): JSX.Element;
|
|
3
3
|
declare namespace ContentsWorkflowModal {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
let items:
|
|
6
|
-
let open:
|
|
7
|
-
let onOk: any
|
|
8
|
-
let onCancel: any
|
|
5
|
+
let items: PropTypes.Validator<string[]>;
|
|
6
|
+
let open: PropTypes.Validator<boolean>;
|
|
7
|
+
let onOk: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
|
+
let onCancel: PropTypes.Validator<(...args: any[]) => any>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
+
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
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:
|
|
2
|
-
WrappedComponent:
|
|
1
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, string> & 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").
|
|
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: import("react-redux").ConnectedComponent<import("react-redux").ConnectedComponent<any, any>, import("react-redux").Omit<any, "pathname" | "dispatch" | "controlpanels" | "controlpanelsRequest" | "systemInformation">>;
|
|
17
2
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
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,42 @@
|
|
|
1
|
-
declare const _default:
|
|
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: unknown;
|
|
15
|
+
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
16
|
+
forceUpdate(callback?: () => void): void;
|
|
17
|
+
readonly props: Readonly<any>;
|
|
18
|
+
refs: {
|
|
19
|
+
[key: string]: React.ReactInstance;
|
|
20
|
+
};
|
|
21
|
+
componentDidMount?(): void;
|
|
22
|
+
shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
23
|
+
componentWillUnmount?(): void;
|
|
24
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
25
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
|
|
26
|
+
componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
|
|
27
|
+
componentWillMount?(): void;
|
|
28
|
+
UNSAFE_componentWillMount?(): void;
|
|
29
|
+
componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
30
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
31
|
+
componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
32
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
33
|
+
};
|
|
34
|
+
defaultProps: {
|
|
35
|
+
onChangeBlock: () => void;
|
|
36
|
+
data: {};
|
|
37
|
+
block: string;
|
|
38
|
+
};
|
|
39
|
+
contextType?: React.Context<any>;
|
|
40
|
+
};
|
|
2
41
|
export default _default;
|
|
42
|
+
import React from 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: any
|
|
1
|
+
declare const _default: ((props: any) => JSX.Element) & import("hoist-non-react-statics").NonReactStatics<any, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
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) & import("hoist-non-react-statics").NonReactStatics<any, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export const __test__: any;
|
|
2
|
-
declare const _default:
|
|
3
|
-
WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
4
|
-
};
|
|
2
|
+
declare const _default: any;
|
|
5
3
|
export default _default;
|
|
@@ -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;
|
|
@@ -12,3 +12,4 @@ export class BlocksToolbarComponent {
|
|
|
12
12
|
}
|
|
13
13
|
declare const _default: any;
|
|
14
14
|
export default _default;
|
|
15
|
+
import React from 'react';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
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-redux").ConnectedComponent<
|
|
2
|
-
WrappedComponent:
|
|
3
|
-
}, import("react-redux").Omit<Pick<import("react-intl").WithIntlProps<any>, string | number | symbol> &
|
|
1
|
+
declare const _default: import("react-redux").ConnectedComponent<React.ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<any>, string | number | symbol> & React.RefAttributes<any>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<any>;
|
|
3
|
+
}, import("react-redux").Omit<Pick<import("react-intl").WithIntlProps<any>, string | number | symbol> & React.RefAttributes<any>, "setSidebarTab">>;
|
|
4
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
1
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<import("react-intl").WithIntlProps<any>, string | number | symbol> & 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:
|
|
2
|
-
WrappedComponent:
|
|
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:
|
|
2
|
-
WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
3
|
-
};
|
|
1
|
+
declare const _default: any;
|
|
4
2
|
export default _default;
|
|
@@ -1,2 +1,42 @@
|
|
|
1
|
-
declare const _default:
|
|
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: unknown;
|
|
15
|
+
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
16
|
+
forceUpdate(callback?: () => void): void;
|
|
17
|
+
readonly props: Readonly<any>;
|
|
18
|
+
refs: {
|
|
19
|
+
[key: string]: React.ReactInstance;
|
|
20
|
+
};
|
|
21
|
+
componentDidMount?(): void;
|
|
22
|
+
shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
23
|
+
componentWillUnmount?(): void;
|
|
24
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
25
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
|
|
26
|
+
componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
|
|
27
|
+
componentWillMount?(): void;
|
|
28
|
+
UNSAFE_componentWillMount?(): void;
|
|
29
|
+
componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
30
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
31
|
+
componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
32
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
33
|
+
};
|
|
34
|
+
defaultProps: {
|
|
35
|
+
onChangeBlock: () => void;
|
|
36
|
+
data: {};
|
|
37
|
+
block: string;
|
|
38
|
+
};
|
|
39
|
+
contextType?: React.Context<any>;
|
|
40
|
+
};
|
|
2
41
|
export default _default;
|
|
42
|
+
import React from 'react';
|