@plone/volto 17.10.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 +6 -0
- package/package.json +2 -2
- package/packages/volto-slate/package.json +1 -1
- package/src/components/manage/Sidebar/SidebarPortal.jsx +1 -1
- 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
|
@@ -11,7 +11,14 @@ declare function PreviewImage({ item, alt, image_field, showDefault, ...rest }:
|
|
|
11
11
|
}): JSX.Element;
|
|
12
12
|
declare namespace PreviewImage {
|
|
13
13
|
namespace propTypes {
|
|
14
|
-
let item:
|
|
15
|
-
|
|
14
|
+
let item: PropTypes.Requireable<PropTypes.InferProps<{
|
|
15
|
+
'@id': PropTypes.Validator<string>;
|
|
16
|
+
title: PropTypes.Validator<string>;
|
|
17
|
+
image_field: PropTypes.Requireable<string>;
|
|
18
|
+
image_scales: PropTypes.Requireable<object>;
|
|
19
|
+
showDefault: PropTypes.Requireable<boolean>;
|
|
20
|
+
}>>;
|
|
21
|
+
let alt: PropTypes.Validator<string>;
|
|
16
22
|
}
|
|
17
23
|
}
|
|
24
|
+
import PropTypes from 'prop-types';
|
|
@@ -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,6 +1,4 @@
|
|
|
1
1
|
export function getSitemapPath(pathname: string, lang: any): any;
|
|
2
2
|
export const __test__: any;
|
|
3
|
-
declare const _default:
|
|
4
|
-
WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
5
|
-
};
|
|
3
|
+
declare const _default: any;
|
|
6
4
|
export default _default;
|
|
@@ -10,8 +10,9 @@ export default SocialSharing;
|
|
|
10
10
|
declare function SocialSharing({ url, title, description }: string): string;
|
|
11
11
|
declare namespace SocialSharing {
|
|
12
12
|
namespace propTypes {
|
|
13
|
-
let url:
|
|
14
|
-
let title:
|
|
15
|
-
let description:
|
|
13
|
+
let url: PropTypes.Validator<string>;
|
|
14
|
+
let title: PropTypes.Validator<string>;
|
|
15
|
+
let description: PropTypes.Validator<string>;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
+
import PropTypes from 'prop-types';
|
|
@@ -8,10 +8,11 @@ export default Tags;
|
|
|
8
8
|
declare function Tags({ tags }: any[]): string;
|
|
9
9
|
declare namespace Tags {
|
|
10
10
|
namespace propTypes {
|
|
11
|
-
let tags:
|
|
11
|
+
let tags: PropTypes.Requireable<string[]>;
|
|
12
12
|
}
|
|
13
13
|
namespace defaultProps {
|
|
14
14
|
let tags_1: any;
|
|
15
15
|
export { tags_1 as tags };
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TEST COMPONENT: React TSX component
|
|
3
|
+
* Ensure successful implementation of TSX and validate the functionality with Jest tests
|
|
4
|
+
* Dependencies: jest (version 26.6.3), ts-jest (version ^26.4.2)
|
|
5
|
+
*/
|
|
6
|
+
type TestProps = {
|
|
7
|
+
text: string;
|
|
8
|
+
};
|
|
9
|
+
declare const TsTest: ({ text }: TestProps) => JSX.Element;
|
|
10
|
+
export default TsTest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: any;
|
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
|
2
2
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export default AlbumView;
|
|
|
5
5
|
* @param {Object} content Content object.
|
|
6
6
|
* @returns {string} Markup of the component.
|
|
7
7
|
*/
|
|
8
|
-
declare class AlbumView {
|
|
8
|
+
declare class AlbumView extends React.Component<any, any, any> {
|
|
9
9
|
constructor(props: any);
|
|
10
10
|
state: {
|
|
11
11
|
openIndex: any;
|
|
@@ -17,6 +17,46 @@ declare class AlbumView {
|
|
|
17
17
|
}
|
|
18
18
|
declare namespace AlbumView {
|
|
19
19
|
namespace propTypes {
|
|
20
|
-
let content:
|
|
20
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
21
|
+
/**
|
|
22
|
+
* Title of the object
|
|
23
|
+
*/
|
|
24
|
+
title: PropTypes.Requireable<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Description of the object
|
|
27
|
+
*/
|
|
28
|
+
description: PropTypes.Requireable<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Child items of the object
|
|
31
|
+
*/
|
|
32
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
33
|
+
/**
|
|
34
|
+
* Title of the item
|
|
35
|
+
*/
|
|
36
|
+
title: PropTypes.Requireable<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Description of the item
|
|
39
|
+
*/
|
|
40
|
+
description: PropTypes.Requireable<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Url of the item
|
|
43
|
+
*/
|
|
44
|
+
url: PropTypes.Requireable<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Image of the item
|
|
47
|
+
*/
|
|
48
|
+
image: PropTypes.Requireable<object>;
|
|
49
|
+
/**
|
|
50
|
+
* Image caption of the item
|
|
51
|
+
*/
|
|
52
|
+
image_caption: PropTypes.Requireable<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Type of the item
|
|
55
|
+
*/
|
|
56
|
+
'@type': PropTypes.Requireable<string>;
|
|
57
|
+
}>[]>;
|
|
58
|
+
}>>>;
|
|
21
59
|
}
|
|
22
60
|
}
|
|
61
|
+
import React from 'react';
|
|
62
|
+
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<any>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<any>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|
|
@@ -6,11 +6,11 @@ export function datesForDisplay(start: any, end: any, moment: any): {
|
|
|
6
6
|
endDate: any;
|
|
7
7
|
endTime: any;
|
|
8
8
|
};
|
|
9
|
-
export const When: any
|
|
9
|
+
export const When: ((props: any) => JSX.Element) & import("hoist-non-react-statics").NonReactStatics<any, {}>;
|
|
10
10
|
export function Recurrence_({ recurrence, start, moment: momentlib, rrule, }: {
|
|
11
11
|
recurrence: any;
|
|
12
12
|
start: any;
|
|
13
13
|
moment: any;
|
|
14
14
|
rrule: any;
|
|
15
15
|
}): JSX.Element;
|
|
16
|
-
export const Recurrence: any
|
|
16
|
+
export const Recurrence: ((props: any) => JSX.Element) & import("hoist-non-react-statics").NonReactStatics<any, {}>;
|
|
@@ -8,6 +8,25 @@ export default EventView;
|
|
|
8
8
|
declare function EventView(props: any): string;
|
|
9
9
|
declare namespace EventView {
|
|
10
10
|
namespace propTypes {
|
|
11
|
-
let content:
|
|
11
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
12
|
+
title: PropTypes.Requireable<string>;
|
|
13
|
+
description: PropTypes.Requireable<string>;
|
|
14
|
+
text: PropTypes.Requireable<PropTypes.InferProps<{
|
|
15
|
+
data: PropTypes.Requireable<string>;
|
|
16
|
+
}>>;
|
|
17
|
+
attendees: PropTypes.Validator<string[]>;
|
|
18
|
+
contact_email: PropTypes.Requireable<string>;
|
|
19
|
+
contact_name: PropTypes.Requireable<string>;
|
|
20
|
+
contact_phone: PropTypes.Requireable<string>;
|
|
21
|
+
end: PropTypes.Validator<string>;
|
|
22
|
+
event_url: PropTypes.Requireable<string>;
|
|
23
|
+
location: PropTypes.Requireable<string>;
|
|
24
|
+
open_end: PropTypes.Requireable<boolean>;
|
|
25
|
+
recurrence: PropTypes.Requireable<any>;
|
|
26
|
+
start: PropTypes.Validator<string>;
|
|
27
|
+
subjects: PropTypes.Validator<string[]>;
|
|
28
|
+
whole_day: PropTypes.Requireable<boolean>;
|
|
29
|
+
}>>>;
|
|
12
30
|
}
|
|
13
31
|
}
|
|
32
|
+
import PropTypes from 'prop-types';
|
|
@@ -10,6 +10,14 @@ declare function FileView({ content }: {
|
|
|
10
10
|
}): string;
|
|
11
11
|
declare namespace FileView {
|
|
12
12
|
namespace propTypes {
|
|
13
|
-
let content:
|
|
13
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
14
|
+
title: PropTypes.Requireable<string>;
|
|
15
|
+
description: PropTypes.Requireable<string>;
|
|
16
|
+
file: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
+
download: PropTypes.Requireable<string>;
|
|
18
|
+
filename: PropTypes.Requireable<string>;
|
|
19
|
+
}>>;
|
|
20
|
+
}>>>;
|
|
14
21
|
}
|
|
15
22
|
}
|
|
23
|
+
import PropTypes from 'prop-types';
|
|
@@ -10,6 +10,17 @@ declare function ImageView({ content }: {
|
|
|
10
10
|
}): string;
|
|
11
11
|
declare namespace ImageView {
|
|
12
12
|
namespace propTypes {
|
|
13
|
-
let content:
|
|
13
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
14
|
+
title: PropTypes.Requireable<string>;
|
|
15
|
+
description: PropTypes.Requireable<string>;
|
|
16
|
+
image: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
+
scales: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
preview: PropTypes.Requireable<PropTypes.InferProps<{
|
|
19
|
+
download: PropTypes.Requireable<string>;
|
|
20
|
+
}>>;
|
|
21
|
+
}>>;
|
|
22
|
+
}>>;
|
|
23
|
+
}>>>;
|
|
14
24
|
}
|
|
15
25
|
}
|
|
26
|
+
import PropTypes from 'prop-types';
|
|
@@ -5,8 +5,12 @@ declare function LinkView({ token, content }: {
|
|
|
5
5
|
}): JSX.Element;
|
|
6
6
|
declare namespace LinkView {
|
|
7
7
|
namespace propTypes {
|
|
8
|
-
let content:
|
|
9
|
-
|
|
8
|
+
let content: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
|
+
title: PropTypes.Requireable<string>;
|
|
10
|
+
description: PropTypes.Requireable<string>;
|
|
11
|
+
remoteUrl: PropTypes.Requireable<string>;
|
|
12
|
+
}>>;
|
|
13
|
+
let token: PropTypes.Requireable<string>;
|
|
10
14
|
}
|
|
11
15
|
namespace defaultProps {
|
|
12
16
|
let content_1: any;
|
|
@@ -15,3 +19,4 @@ declare namespace LinkView {
|
|
|
15
19
|
export { token_1 as token };
|
|
16
20
|
}
|
|
17
21
|
}
|
|
22
|
+
import PropTypes from 'prop-types';
|
|
@@ -10,6 +10,18 @@ declare function ListingView({ content }: {
|
|
|
10
10
|
}): string;
|
|
11
11
|
declare namespace ListingView {
|
|
12
12
|
namespace propTypes {
|
|
13
|
-
let content:
|
|
13
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
14
|
+
title: PropTypes.Requireable<string>;
|
|
15
|
+
description: PropTypes.Requireable<string>;
|
|
16
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
+
'@id': PropTypes.Requireable<string>;
|
|
18
|
+
'@type': PropTypes.Requireable<string>;
|
|
19
|
+
description: PropTypes.Requireable<string>;
|
|
20
|
+
review_state: PropTypes.Requireable<string>;
|
|
21
|
+
title: PropTypes.Requireable<string>;
|
|
22
|
+
url: PropTypes.Requireable<string>;
|
|
23
|
+
}>[]>;
|
|
24
|
+
}>>>;
|
|
14
25
|
}
|
|
15
26
|
}
|
|
27
|
+
import PropTypes from 'prop-types';
|
|
@@ -10,6 +10,13 @@ declare function NewsItemView({ content }: {
|
|
|
10
10
|
}): string;
|
|
11
11
|
declare namespace NewsItemView {
|
|
12
12
|
namespace propTypes {
|
|
13
|
-
let content:
|
|
13
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
14
|
+
title: PropTypes.Requireable<string>;
|
|
15
|
+
description: PropTypes.Requireable<string>;
|
|
16
|
+
text: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
+
data: PropTypes.Requireable<string>;
|
|
18
|
+
}>>;
|
|
19
|
+
}>>>;
|
|
14
20
|
}
|
|
15
21
|
}
|
|
22
|
+
import PropTypes from 'prop-types';
|
|
@@ -8,6 +8,45 @@ export default SummaryView;
|
|
|
8
8
|
declare function SummaryView({ content }: any): string;
|
|
9
9
|
declare namespace SummaryView {
|
|
10
10
|
namespace propTypes {
|
|
11
|
-
let content:
|
|
11
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
12
|
+
/**
|
|
13
|
+
* Title of the object
|
|
14
|
+
*/
|
|
15
|
+
title: PropTypes.Requireable<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Description of the object
|
|
18
|
+
*/
|
|
19
|
+
description: PropTypes.Requireable<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Child items of the object
|
|
22
|
+
*/
|
|
23
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
24
|
+
/**
|
|
25
|
+
* Title of the item
|
|
26
|
+
*/
|
|
27
|
+
title: PropTypes.Requireable<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Description of the item
|
|
30
|
+
*/
|
|
31
|
+
description: PropTypes.Requireable<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Url of the item
|
|
34
|
+
*/
|
|
35
|
+
url: PropTypes.Requireable<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Image of the item
|
|
38
|
+
*/
|
|
39
|
+
image: PropTypes.Requireable<object>;
|
|
40
|
+
/**
|
|
41
|
+
* Image caption of the item
|
|
42
|
+
*/
|
|
43
|
+
image_caption: PropTypes.Requireable<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Type of the item
|
|
46
|
+
*/
|
|
47
|
+
'@type': PropTypes.Requireable<string>;
|
|
48
|
+
}>[]>;
|
|
49
|
+
}>>>;
|
|
12
50
|
}
|
|
13
51
|
}
|
|
52
|
+
import PropTypes from 'prop-types';
|
|
@@ -8,6 +8,41 @@ export default TabularView;
|
|
|
8
8
|
declare function TabularView({ content }: any): string;
|
|
9
9
|
declare namespace TabularView {
|
|
10
10
|
namespace propTypes {
|
|
11
|
-
let content:
|
|
11
|
+
let content: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
12
|
+
/**
|
|
13
|
+
* Title of the object
|
|
14
|
+
*/
|
|
15
|
+
title: PropTypes.Requireable<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Description of the object
|
|
18
|
+
*/
|
|
19
|
+
description: PropTypes.Requireable<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Child items of the object
|
|
22
|
+
*/
|
|
23
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
24
|
+
/**
|
|
25
|
+
* Title of the item
|
|
26
|
+
*/
|
|
27
|
+
title: PropTypes.Requireable<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Description of the item
|
|
30
|
+
*/
|
|
31
|
+
description: PropTypes.Requireable<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Url of the item
|
|
34
|
+
*/
|
|
35
|
+
url: PropTypes.Requireable<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Review state of the item
|
|
38
|
+
*/
|
|
39
|
+
review_state: PropTypes.Requireable<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Type of the item
|
|
42
|
+
*/
|
|
43
|
+
'@type': PropTypes.Requireable<string>;
|
|
44
|
+
}>[]>;
|
|
45
|
+
}>>>;
|
|
12
46
|
}
|
|
13
47
|
}
|
|
48
|
+
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';
|
package/types/config/Blocks.d.ts
CHANGED
|
@@ -23,7 +23,15 @@ export namespace blocksConfig {
|
|
|
23
23
|
id: string;
|
|
24
24
|
isDefault: boolean;
|
|
25
25
|
title: string;
|
|
26
|
-
template:
|
|
26
|
+
template: {
|
|
27
|
+
(props: any): JSX.Element;
|
|
28
|
+
propTypes: {
|
|
29
|
+
data: import("prop-types").Validator<{
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
}>;
|
|
32
|
+
isEditMode: import("prop-types").Requireable<boolean>;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
27
35
|
}[];
|
|
28
36
|
}
|
|
29
37
|
namespace image {
|
|
@@ -51,3 +59,13 @@ export namespace blocksConfig {
|
|
|
51
59
|
}
|
|
52
60
|
export const initialBlocks: {};
|
|
53
61
|
export const initialBlocksFocus: {};
|
|
62
|
+
import { gridTeaserDisableStylingSchema } from '@plone/volto/components/manage/Blocks/Teaser/schema';
|
|
63
|
+
import TeaserViewBlock from '@plone/volto/components/manage/Blocks/Teaser/View';
|
|
64
|
+
import TeaserEditBlock from '@plone/volto/components/manage/Blocks/Teaser/Edit';
|
|
65
|
+
import { TeaserSchema } from '@plone/volto/components/manage/Blocks/Teaser/schema';
|
|
66
|
+
import { TeaserBlockDataAdapter } from '@plone/volto/components/manage/Blocks/Teaser/adapter';
|
|
67
|
+
import { gridImageDisableSizeAndPositionHandlersSchema } from '@plone/volto/components/manage/Blocks/Image/schema';
|
|
68
|
+
import ViewImageBlock from '@plone/volto/components/manage/Blocks/Image/View';
|
|
69
|
+
import EditImageBlock from '@plone/volto/components/manage/Blocks/Image/Edit';
|
|
70
|
+
import ImageSettingsSchema from '@plone/volto/components/manage/Blocks/Image/LayoutSchema';
|
|
71
|
+
import { getImageBlockSizes } from '@plone/volto/components/manage/Blocks/Image/utils';
|
|
@@ -9,3 +9,6 @@ export namespace components {
|
|
|
9
9
|
export { Image as component };
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
import { PreviewImage as PreviewImage_1 } from '@plone/volto/components';
|
|
13
|
+
import { App as App_1 } from '@plone/volto/components';
|
|
14
|
+
import { Image as Image_1 } from '@plone/volto/components';
|
package/types/config/Views.d.ts
CHANGED
|
@@ -7,20 +7,66 @@ export namespace layoutViews {
|
|
|
7
7
|
export { AlbumView as album_view };
|
|
8
8
|
}
|
|
9
9
|
export const contentTypesViews: {
|
|
10
|
-
'News Item':
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
'News Item': {
|
|
11
|
+
({ content }: {
|
|
12
|
+
content: any;
|
|
13
|
+
}): string;
|
|
14
|
+
propTypes: {
|
|
15
|
+
content: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
16
|
+
title: import("prop-types").Requireable<string>;
|
|
17
|
+
description: import("prop-types").Requireable<string>;
|
|
18
|
+
text: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
19
|
+
data: import("prop-types").Requireable<string>;
|
|
20
|
+
}>>;
|
|
21
|
+
}>>>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
File: {
|
|
25
|
+
({ content }: {
|
|
26
|
+
content: any;
|
|
27
|
+
}): string;
|
|
28
|
+
propTypes: {
|
|
29
|
+
content: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
30
|
+
title: import("prop-types").Requireable<string>;
|
|
31
|
+
description: import("prop-types").Requireable<string>;
|
|
32
|
+
file: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
33
|
+
download: import("prop-types").Requireable<string>;
|
|
34
|
+
filename: import("prop-types").Requireable<string>;
|
|
35
|
+
}>>;
|
|
36
|
+
}>>>;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
Image: {
|
|
40
|
+
({ content }: {
|
|
41
|
+
content: any;
|
|
42
|
+
}): string;
|
|
43
|
+
propTypes: {
|
|
44
|
+
content: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
45
|
+
title: import("prop-types").Requireable<string>;
|
|
46
|
+
description: import("prop-types").Requireable<string>;
|
|
47
|
+
image: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
48
|
+
scales: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
49
|
+
preview: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
50
|
+
download: import("prop-types").Requireable<string>;
|
|
51
|
+
}>>;
|
|
52
|
+
}>>;
|
|
53
|
+
}>>;
|
|
54
|
+
}>>>;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
13
57
|
Event: any;
|
|
14
58
|
};
|
|
15
|
-
export const defaultView: any
|
|
59
|
+
export const defaultView: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
60
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
61
|
+
};
|
|
16
62
|
export const errorViews: {
|
|
17
|
-
404: any;
|
|
18
|
-
401: any;
|
|
19
|
-
403: any;
|
|
20
|
-
408:
|
|
21
|
-
500: any;
|
|
22
|
-
ECONNREFUSED:
|
|
23
|
-
corsError:
|
|
63
|
+
404: (props: any) => JSX.Element;
|
|
64
|
+
401: (props: any) => JSX.Element;
|
|
65
|
+
403: (props: any) => JSX.Element;
|
|
66
|
+
408: () => string;
|
|
67
|
+
500: (props: any) => JSX.Element;
|
|
68
|
+
ECONNREFUSED: () => JSX.Element;
|
|
69
|
+
corsError: () => string;
|
|
24
70
|
};
|
|
25
71
|
export namespace layoutViewsNamesMapping {
|
|
26
72
|
export let album_view: string;
|
|
@@ -41,3 +87,9 @@ export namespace layoutViewsNamesMapping {
|
|
|
41
87
|
let _default: string;
|
|
42
88
|
export { _default as default };
|
|
43
89
|
}
|
|
90
|
+
import DefaultView from '@plone/volto/components/theme/View/DefaultView';
|
|
91
|
+
import SummaryView from '@plone/volto/components/theme/View/SummaryView';
|
|
92
|
+
import TabularView from '@plone/volto/components/theme/View/TabularView';
|
|
93
|
+
import ListingView from '@plone/volto/components/theme/View/ListingView';
|
|
94
|
+
import LinkView from '@plone/volto/components/theme/View/LinkView';
|
|
95
|
+
import AlbumView from '@plone/volto/components/theme/View/AlbumView';
|
|
@@ -38,10 +38,14 @@ export namespace widgetMapping {
|
|
|
38
38
|
export { SelectWidget as select };
|
|
39
39
|
}
|
|
40
40
|
export let vocabulary: {
|
|
41
|
-
'plone.app.vocabularies.Catalog':
|
|
41
|
+
'plone.app.vocabularies.Catalog': 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>>>> & {
|
|
42
|
+
WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
43
|
+
};
|
|
42
44
|
};
|
|
43
45
|
export let factory: {
|
|
44
|
-
'Relation List':
|
|
46
|
+
'Relation List': 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>>>> & {
|
|
47
|
+
WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
48
|
+
};
|
|
45
49
|
'Relation Choice': any;
|
|
46
50
|
};
|
|
47
51
|
export { SelectWidget as choices };
|
|
@@ -99,4 +103,52 @@ export namespace widgetMapping {
|
|
|
99
103
|
export { type_1 as type };
|
|
100
104
|
}
|
|
101
105
|
}
|
|
102
|
-
export const defaultWidget: any
|
|
106
|
+
export const defaultWidget: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
107
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
108
|
+
};
|
|
109
|
+
import SchemaWidget from '@plone/volto/components/manage/Widgets/SchemaWidget';
|
|
110
|
+
import TokenWidget from '@plone/volto/components/manage/Widgets/TokenWidget';
|
|
111
|
+
import QuerystringWidget from '@plone/volto/components/manage/Widgets/QuerystringWidget';
|
|
112
|
+
import UrlWidget from '@plone/volto/components/manage/Widgets/UrlWidget';
|
|
113
|
+
import IdWidget from '@plone/volto/components/manage/Widgets/IdWidget';
|
|
114
|
+
import RegistryImageWidget from '@plone/volto/components/manage/Widgets/RegistryImageWidget';
|
|
115
|
+
import WysiwygWidget from '@plone/volto/components/manage/Widgets/WysiwygWidget';
|
|
116
|
+
import TextareaWidget from '@plone/volto/components/manage/Widgets/TextareaWidget';
|
|
117
|
+
import PasswordWidget from '@plone/volto/components/manage/Widgets/PasswordWidget';
|
|
118
|
+
import FileWidget from '@plone/volto/components/manage/Widgets/FileWidget';
|
|
119
|
+
import AlignWidget from '@plone/volto/components/manage/Widgets/AlignWidget';
|
|
120
|
+
import ButtonsWidget from '@plone/volto/components/manage/Widgets/ButtonsWidget';
|
|
121
|
+
import InternalUrlWidget from '@plone/volto/components/manage/Widgets/InternalUrlWidget';
|
|
122
|
+
import EmailWidget from '@plone/volto/components/manage/Widgets/EmailWidget';
|
|
123
|
+
import ArrayWidget from '@plone/volto/components/manage/Widgets/ArrayWidget';
|
|
124
|
+
import QueryWidget from '@plone/volto/components/manage/Widgets/QueryWidget';
|
|
125
|
+
import QuerySortOnWidget from '@plone/volto/components/manage/Widgets/QuerySortOnWidget';
|
|
126
|
+
import ObjectBrowserWidget from '@plone/volto/components/manage/Widgets/ObjectBrowserWidget';
|
|
127
|
+
import ObjectWidget from '@plone/volto/components/manage/Widgets/ObjectWidget';
|
|
128
|
+
import ObjectListWidget from '@plone/volto/components/manage/Widgets/ObjectListWidget';
|
|
129
|
+
import VocabularyTermsWidget from '@plone/volto/components/manage/Widgets/VocabularyTermsWidget';
|
|
130
|
+
import ImageSizeWidget from '@plone/volto/components/manage/Widgets/ImageSizeWidget';
|
|
131
|
+
import SelectMetadataWidget from '@plone/volto/components/manage/Blocks/Search/widgets/SelectMetadataField';
|
|
132
|
+
import SelectAutoComplete from '@plone/volto/components/manage/Widgets/SelectAutoComplete';
|
|
133
|
+
import ColorPickerWidget from '@plone/volto/components/manage/Widgets/ColorPickerWidget';
|
|
134
|
+
import SelectWidget from '@plone/volto/components/manage/Widgets/SelectWidget';
|
|
135
|
+
import CheckboxWidget from '@plone/volto/components/manage/Widgets/CheckboxWidget';
|
|
136
|
+
import NumberWidget from '@plone/volto/components/manage/Widgets/NumberWidget';
|
|
137
|
+
import { getWidgetView } from '@plone/volto/helpers/Widget/widget';
|
|
138
|
+
import TextViewWidget from '@plone/volto/components/theme/Widgets/TextWidget';
|
|
139
|
+
import FileViewWidget from '@plone/volto/components/theme/Widgets/FileWidget';
|
|
140
|
+
import ImageViewWidget from '@plone/volto/components/theme/Widgets/ImageWidget';
|
|
141
|
+
import RelationsViewWidget from '@plone/volto/components/theme/Widgets/RelationsWidget';
|
|
142
|
+
import TokenViewWidget from '@plone/volto/components/theme/Widgets/TokenWidget';
|
|
143
|
+
import ArrayViewWidget from '@plone/volto/components/theme/Widgets/ArrayWidget';
|
|
144
|
+
import BooleanViewWidget from '@plone/volto/components/theme/Widgets/BooleanWidget';
|
|
145
|
+
import SelectViewWidget from '@plone/volto/components/theme/Widgets/SelectWidget';
|
|
146
|
+
import DateViewWidget from '@plone/volto/components/theme/Widgets/DateWidget';
|
|
147
|
+
import DatetimeViewWidget from '@plone/volto/components/theme/Widgets/DatetimeWidget';
|
|
148
|
+
import DescriptionViewWidget from '@plone/volto/components/theme/Widgets/DescriptionWidget';
|
|
149
|
+
import EmailViewWidget from '@plone/volto/components/theme/Widgets/EmailWidget';
|
|
150
|
+
import PasswordViewWidget from '@plone/volto/components/theme/Widgets/PasswordWidget';
|
|
151
|
+
import RelationViewWidget from '@plone/volto/components/theme/Widgets/RelationWidget';
|
|
152
|
+
import RichTextViewWidget from '@plone/volto/components/theme/Widgets/RichTextWidget';
|
|
153
|
+
import TitleViewWidget from '@plone/volto/components/theme/Widgets/TitleWidget';
|
|
154
|
+
import UrlViewWidget from '@plone/volto/components/theme/Widgets/UrlWidget';
|
package/types/config/server.d.ts
CHANGED
package/types/error.d.ts
CHANGED
|
@@ -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 +1 @@
|
|
|
1
|
-
export default function devProxyMiddleware():
|
|
1
|
+
export default function devProxyMiddleware(): import("express-serve-static-core").Router;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function filesMiddleware():
|
|
1
|
+
export default function filesMiddleware(): import("express-serve-static-core").Router;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function imagesMiddleware():
|
|
1
|
+
export default function imagesMiddleware(): import("express-serve-static-core").Router;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function okRouteMiddleware():
|
|
1
|
+
export default function okRouteMiddleware(): import("express-serve-static-core").Router;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function robotstxtMiddleware():
|
|
1
|
+
export default function robotstxtMiddleware(): import("express-serve-static-core").Router;
|