@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
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function staticsMiddleware():
|
|
1
|
+
export default function staticsMiddleware(): import("express-serve-static-core").Router;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class AsyncConnect extends Component<any, any, any> {
|
|
1
|
+
export class AsyncConnect extends React.Component<any, any, any> {
|
|
2
2
|
constructor(props: any);
|
|
3
3
|
state: {
|
|
4
4
|
previousLocation: any;
|
|
@@ -17,15 +17,15 @@ export class AsyncConnect extends Component<any, any, any> {
|
|
|
17
17
|
}
|
|
18
18
|
export namespace AsyncConnect {
|
|
19
19
|
namespace propTypes {
|
|
20
|
-
let render: any
|
|
21
|
-
let beginGlobalLoad: any
|
|
22
|
-
let endGlobalLoad: any
|
|
23
|
-
let reloadOnPropsChange: any
|
|
24
|
-
let routes: any
|
|
25
|
-
let location:
|
|
26
|
-
let match:
|
|
27
|
-
let helpers: any
|
|
28
|
-
let reduxConnectStore:
|
|
20
|
+
let render: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
let beginGlobalLoad: PropTypes.Validator<(...args: any[]) => any>;
|
|
22
|
+
let endGlobalLoad: PropTypes.Validator<(...args: any[]) => any>;
|
|
23
|
+
let reloadOnPropsChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
+
let routes: PropTypes.Validator<any[]>;
|
|
25
|
+
let location: PropTypes.Validator<object>;
|
|
26
|
+
let match: PropTypes.Validator<object>;
|
|
27
|
+
let helpers: PropTypes.Requireable<any>;
|
|
28
|
+
let reduxConnectStore: PropTypes.Validator<object>;
|
|
29
29
|
}
|
|
30
30
|
namespace defaultProps {
|
|
31
31
|
let helpers_1: {};
|
|
@@ -42,8 +42,9 @@ export function AsyncConnectWithContext({ context, ...otherProps }: {
|
|
|
42
42
|
}): JSX.Element;
|
|
43
43
|
export namespace AsyncConnectWithContext {
|
|
44
44
|
export namespace propTypes_1 {
|
|
45
|
-
let context:
|
|
45
|
+
let context: PropTypes.Requireable<object>;
|
|
46
46
|
}
|
|
47
47
|
export { propTypes_1 as propTypes };
|
|
48
48
|
}
|
|
49
|
-
import
|
|
49
|
+
import React from 'react';
|
|
50
|
+
import PropTypes from 'prop-types';
|
|
@@ -15,7 +15,7 @@ export function addExtensionFieldToSchema({ schema, name, items, intl, title, de
|
|
|
15
15
|
items: any;
|
|
16
16
|
intl: any;
|
|
17
17
|
title: any;
|
|
18
|
-
description
|
|
18
|
+
description?: string;
|
|
19
19
|
insertFieldToOrder?: typeof _addField;
|
|
20
20
|
}): any;
|
|
21
21
|
export function withBlockSchemaEnhancer(FormComponent: any, extensionName?: string, insertFieldToOrder?: typeof _addField): ({ ...props }: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { HelmetExport as Helmet };
|
|
2
2
|
export default HelmetExport;
|
|
3
3
|
declare const HelmetExport: {
|
|
4
|
-
new (): {
|
|
4
|
+
new (props: any): {
|
|
5
5
|
shouldComponentUpdate(nextProps: any): boolean;
|
|
6
6
|
mapNestedChildrenToProps(child: any, nestedChildren: any): {
|
|
7
7
|
innerHTML: any;
|
|
@@ -26,6 +26,70 @@ declare const HelmetExport: {
|
|
|
26
26
|
warnOnInvalidChildren(child: any, nestedChildren: any): true | void;
|
|
27
27
|
mapChildrenToProps(children: any, newProps: any): any;
|
|
28
28
|
render(): JSX.Element;
|
|
29
|
+
context: unknown;
|
|
30
|
+
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
31
|
+
forceUpdate(callback?: () => void): void;
|
|
32
|
+
readonly props: Readonly<any>;
|
|
33
|
+
state: Readonly<any>;
|
|
34
|
+
refs: {
|
|
35
|
+
[key: string]: React.ReactInstance;
|
|
36
|
+
};
|
|
37
|
+
componentDidMount?(): void;
|
|
38
|
+
componentWillUnmount?(): void;
|
|
39
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
40
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
|
|
41
|
+
componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
|
|
42
|
+
componentWillMount?(): void;
|
|
43
|
+
UNSAFE_componentWillMount?(): void;
|
|
44
|
+
componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
45
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
46
|
+
componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
47
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
48
|
+
};
|
|
49
|
+
new (props: any, context: any): {
|
|
50
|
+
shouldComponentUpdate(nextProps: any): boolean;
|
|
51
|
+
mapNestedChildrenToProps(child: any, nestedChildren: any): {
|
|
52
|
+
innerHTML: any;
|
|
53
|
+
cssText?: undefined;
|
|
54
|
+
} | {
|
|
55
|
+
cssText: any;
|
|
56
|
+
innerHTML?: undefined;
|
|
57
|
+
};
|
|
58
|
+
flattenArrayTypeChildren({ child, arrayTypeChildren, newChildProps, nestedChildren, }: {
|
|
59
|
+
child: any;
|
|
60
|
+
arrayTypeChildren: any;
|
|
61
|
+
newChildProps: any;
|
|
62
|
+
nestedChildren: any;
|
|
63
|
+
}): any;
|
|
64
|
+
mapObjectTypeChildren({ child, newProps, newChildProps, nestedChildren }: {
|
|
65
|
+
child: any;
|
|
66
|
+
newProps: any;
|
|
67
|
+
newChildProps: any;
|
|
68
|
+
nestedChildren: any;
|
|
69
|
+
}): any;
|
|
70
|
+
mapArrayTypeChildrenToProps(arrayTypeChildren: any, newProps: any): any;
|
|
71
|
+
warnOnInvalidChildren(child: any, nestedChildren: any): true | void;
|
|
72
|
+
mapChildrenToProps(children: any, newProps: any): any;
|
|
73
|
+
render(): JSX.Element;
|
|
74
|
+
context: unknown;
|
|
75
|
+
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
76
|
+
forceUpdate(callback?: () => void): void;
|
|
77
|
+
readonly props: Readonly<any>;
|
|
78
|
+
state: Readonly<any>;
|
|
79
|
+
refs: {
|
|
80
|
+
[key: string]: React.ReactInstance;
|
|
81
|
+
};
|
|
82
|
+
componentDidMount?(): void;
|
|
83
|
+
componentWillUnmount?(): void;
|
|
84
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
85
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
|
|
86
|
+
componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
|
|
87
|
+
componentWillMount?(): void;
|
|
88
|
+
UNSAFE_componentWillMount?(): void;
|
|
89
|
+
componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
90
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
91
|
+
componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
92
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
29
93
|
};
|
|
30
94
|
/**
|
|
31
95
|
* @param {Object} base: {"target": "_blank", "href": "http://mysite.com/"}
|
|
@@ -45,22 +109,22 @@ declare const HelmetExport: {
|
|
|
45
109
|
* @param {String} titleTemplate: "MySite.com - %s"
|
|
46
110
|
*/
|
|
47
111
|
propTypes: {
|
|
48
|
-
base:
|
|
49
|
-
bodyAttributes:
|
|
50
|
-
children:
|
|
51
|
-
defaultTitle:
|
|
52
|
-
defer:
|
|
53
|
-
encodeSpecialCharacters:
|
|
54
|
-
htmlAttributes:
|
|
55
|
-
link:
|
|
56
|
-
meta:
|
|
57
|
-
noscript:
|
|
58
|
-
onChangeClientState: any
|
|
59
|
-
script:
|
|
60
|
-
style:
|
|
61
|
-
title:
|
|
62
|
-
titleAttributes:
|
|
63
|
-
titleTemplate:
|
|
112
|
+
base: PropTypes.Requireable<object>;
|
|
113
|
+
bodyAttributes: PropTypes.Requireable<object>;
|
|
114
|
+
children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
115
|
+
defaultTitle: PropTypes.Requireable<string>;
|
|
116
|
+
defer: PropTypes.Requireable<boolean>;
|
|
117
|
+
encodeSpecialCharacters: PropTypes.Requireable<boolean>;
|
|
118
|
+
htmlAttributes: PropTypes.Requireable<object>;
|
|
119
|
+
link: PropTypes.Requireable<object[]>;
|
|
120
|
+
meta: PropTypes.Requireable<object[]>;
|
|
121
|
+
noscript: PropTypes.Requireable<object[]>;
|
|
122
|
+
onChangeClientState: PropTypes.Requireable<(...args: any[]) => any>;
|
|
123
|
+
script: PropTypes.Requireable<object[]>;
|
|
124
|
+
style: PropTypes.Requireable<object[]>;
|
|
125
|
+
title: PropTypes.Requireable<string>;
|
|
126
|
+
titleAttributes: PropTypes.Requireable<object>;
|
|
127
|
+
titleTemplate: PropTypes.Requireable<string>;
|
|
64
128
|
};
|
|
65
129
|
defaultProps: {
|
|
66
130
|
defer: boolean;
|
|
@@ -69,4 +133,7 @@ declare const HelmetExport: {
|
|
|
69
133
|
peek: any;
|
|
70
134
|
rewind: () => any;
|
|
71
135
|
canUseDOM: any;
|
|
136
|
+
contextType?: React.Context<any>;
|
|
72
137
|
};
|
|
138
|
+
import React from 'react';
|
|
139
|
+
import PropTypes from 'prop-types';
|
|
@@ -29,16 +29,22 @@ export default Html;
|
|
|
29
29
|
* @class Html
|
|
30
30
|
* @extends Component
|
|
31
31
|
*/
|
|
32
|
-
declare class Html extends Component<any, any, any> {
|
|
32
|
+
declare class Html extends React.Component<any, any, any> {
|
|
33
33
|
/**
|
|
34
34
|
* Property types.
|
|
35
35
|
* @property {Object} propTypes Property types.
|
|
36
36
|
* @static
|
|
37
37
|
*/
|
|
38
38
|
static propTypes: {
|
|
39
|
-
extractor:
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
extractor: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
40
|
+
getLinkElements: PropTypes.Validator<(...args: any[]) => any>;
|
|
41
|
+
getScriptElements: PropTypes.Validator<(...args: any[]) => any>;
|
|
42
|
+
getStyleElements: PropTypes.Validator<(...args: any[]) => any>;
|
|
43
|
+
}>>>;
|
|
44
|
+
markup: PropTypes.Validator<string>;
|
|
45
|
+
store: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
46
|
+
getState: PropTypes.Requireable<(...args: any[]) => any>;
|
|
47
|
+
}>>>;
|
|
42
48
|
};
|
|
43
49
|
constructor(props: any);
|
|
44
50
|
constructor(props: any, context: any);
|
|
@@ -49,4 +55,5 @@ declare class Html extends Component<any, any, any> {
|
|
|
49
55
|
*/
|
|
50
56
|
render(): string;
|
|
51
57
|
}
|
|
52
|
-
import
|
|
58
|
+
import React from 'react';
|
|
59
|
+
import PropTypes from 'prop-types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export function useLazyLibs(maybeNames: any, options?: {}): any;
|
|
2
|
-
export function preloadLazyLibs(maybeNames: any, forwardRef?: boolean): (WrappedComponent: any) => any
|
|
3
|
-
export function injectLazyLibs(maybeNames: any, forwardRef?: boolean): (WrappedComponent: any) => any
|
|
2
|
+
export function preloadLazyLibs(maybeNames: any, forwardRef?: boolean): (WrappedComponent: any) => ((props: any) => JSX.Element) & hoistNonReactStatics.NonReactStatics<any, {}>;
|
|
3
|
+
export function injectLazyLibs(maybeNames: any, forwardRef?: boolean): (WrappedComponent: any) => ((props: any) => JSX.Element) & hoistNonReactStatics.NonReactStatics<any, {}>;
|
|
4
|
+
import hoistNonReactStatics from 'hoist-non-react-statics';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const _default: import("react-redux").ConnectedComponent<
|
|
1
|
+
declare const _default: import("react-redux").ConnectedComponent<React.JSXElementConstructor<never>, never>;
|
|
2
2
|
export default _default;
|
|
3
|
+
import React from 'react';
|
|
@@ -3,8 +3,8 @@ declare function useUndoManager(state: any, onUndoRedo: any, { maxUndoLevels, en
|
|
|
3
3
|
maxUndoLevels: any;
|
|
4
4
|
enableHotKeys?: boolean;
|
|
5
5
|
}): {
|
|
6
|
-
doUndo:
|
|
7
|
-
doRedo:
|
|
8
|
-
canUndo:
|
|
9
|
-
canRedo:
|
|
6
|
+
doUndo: () => void;
|
|
7
|
+
doRedo: () => void;
|
|
8
|
+
canUndo: boolean;
|
|
9
|
+
canRedo: boolean;
|
|
10
10
|
};
|
package/types/helpers/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export { default as Api } from "@plone/volto/helpers/Api/Api";
|
|
2
|
+
export { getAPIResourceWithAuth } from "@plone/volto/helpers/Api/APIResourceWithAuth";
|
|
3
|
+
export { default as Html } from "@plone/volto/helpers/Html/Html";
|
|
4
|
+
export { generateRobots } from "@plone/volto/helpers/Robots/Robots";
|
|
5
|
+
export { default as BodyClass } from "@plone/volto/helpers/BodyClass/BodyClass";
|
|
6
|
+
export { default as ScrollToTop } from "@plone/volto/helpers/ScrollToTop/ScrollToTop";
|
|
1
7
|
export { default as langmap } from "./LanguageMap/LanguageMap";
|
|
2
8
|
export { default as Helmet } from "./Helmet/Helmet";
|
|
3
9
|
export { messages } from "./MessageLabels/MessageLabels";
|
|
@@ -11,6 +17,12 @@ export { default as useUndoManager } from "./UndoManager/useUndoManager";
|
|
|
11
17
|
export { getCookieOptions } from "./Cookies/cookies";
|
|
12
18
|
export { getWidgetView } from "./Widget/widget";
|
|
13
19
|
export { getSiteAsyncPropExtender } from "./Site";
|
|
20
|
+
export { getAuthToken, persistAuthToken } from "@plone/volto/helpers/AuthToken/AuthToken";
|
|
21
|
+
export { addAppURL, expandToBackendURL, flattenHTMLToAppURL, flattenToAppURL, stripQuerystring, toPublicURL, isInternalURL, getParentUrl, getBaseUrl, getView, isCmsUi, getId, isUrl, normalizeUrl, removeProtocol, URLUtils, flattenScales } from "@plone/volto/helpers/Url/Url";
|
|
22
|
+
export { nestContent, getLayoutFieldname, getContentIcon, getLanguageIndependentFields } from "@plone/volto/helpers/Content/Content";
|
|
23
|
+
export { addBlock, insertBlock, blockHasValue, changeBlock, deleteBlock, emptyBlocksForm, getBlocks, getBlocksFieldname, getBlocksLayoutFieldname, hasBlocksData, moveBlock, mutateBlock, nextBlockId, previousBlockId, applyBlockDefaults, applySchemaDefaults, blocksFormGenerator, buildStyleClassNamesFromData, buildStyleClassNamesExtenders, buildStyleObjectFromData, getPreviousNextBlock, findBlocks } from "@plone/volto/helpers/Blocks/Blocks";
|
|
24
|
+
export { getBoolean, getVocabName, getVocabFromHint, getVocabFromField, getVocabFromItems, getFieldsVocabulary } from "@plone/volto/helpers/Vocabularies/Vocabularies";
|
|
14
25
|
export { default as FormValidation, validateFileUploadSize } from "./FormValidation/FormValidation";
|
|
26
|
+
export { difference, getColor, getInitials, safeWrapper, applyConfig, withServerErrorCode, parseDateTime, toGettextLang, normalizeLanguageName, toReactIntlLang, toLangUnderscoreRegion, toBackendLang, hasApiExpander, replaceItemOfArray, cloneDeepSchema, arrayRange, reorderArray, isInteractiveElement, slugify, normalizeString } from "@plone/volto/helpers/Utils/Utils";
|
|
15
27
|
export { withBlockSchemaEnhancer, withVariationSchemaEnhancer, withBlockExtensions, applySchemaEnhancer, resolveExtension, resolveBlockExtensions, addStyling, composeSchema } from "./Extensions";
|
|
16
28
|
export { getCurrentStateMapping, getWorkflowOptions } from "./Workflows/Workflows";
|
package/types/hooks/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { default as useClipboard } from "@plone/volto/hooks/clipboard/useClipboard";
|
|
2
|
+
export { useClient } from "@plone/volto/hooks/client/useClient";
|
|
@@ -50,6 +50,46 @@ declare namespace reducers {
|
|
|
50
50
|
export { navroot };
|
|
51
51
|
}
|
|
52
52
|
import reduxAsyncConnect from './asyncConnect/asyncConnect';
|
|
53
|
+
import actions from '@plone/volto/reducers/actions/actions';
|
|
54
|
+
import addons from '@plone/volto/reducers/addons/addons';
|
|
55
|
+
import apierror from '@plone/volto/reducers/apierror/apierror';
|
|
56
|
+
import aliases from '@plone/volto/reducers/aliases/aliases';
|
|
57
|
+
import breadcrumbs from '@plone/volto/reducers/breadcrumbs/breadcrumbs';
|
|
58
|
+
import browserdetect from '@plone/volto/reducers/browserdetect/browserdetect';
|
|
59
|
+
import comments from '@plone/volto/reducers/comments/comments';
|
|
60
|
+
import content from '@plone/volto/reducers/content/content';
|
|
61
|
+
import controlpanels from '@plone/volto/reducers/controlpanels/controlpanels';
|
|
62
|
+
import clipboard from '@plone/volto/reducers/clipboard/clipboard';
|
|
63
|
+
import diff from '@plone/volto/reducers/diff/diff';
|
|
64
|
+
import emailNotification from '@plone/volto/reducers/emailNotification/emailNotification';
|
|
65
|
+
import emailSend from '@plone/volto/reducers/emailSend/emailSend';
|
|
66
|
+
import form from '@plone/volto/reducers/form/form';
|
|
67
|
+
import groups from '@plone/volto/reducers/groups/groups';
|
|
68
|
+
import history from '@plone/volto/reducers/history/history';
|
|
69
|
+
import messages from '@plone/volto/reducers/messages/messages';
|
|
70
|
+
import navigation from '@plone/volto/reducers/navigation/navigation';
|
|
71
|
+
import querystring from '@plone/volto/reducers/querystring/querystring';
|
|
72
|
+
import querystringsearch from '@plone/volto/reducers/querystringsearch/querystringsearch';
|
|
73
|
+
import relations from '@plone/volto/reducers/relations/relations';
|
|
74
|
+
import roles from '@plone/volto/reducers/roles/roles';
|
|
75
|
+
import rules from '@plone/volto/reducers/rules/rules';
|
|
76
|
+
import controlpanelrule from '@plone/volto/reducers/controlPanelRule/controlPanelRule';
|
|
77
|
+
import controlpanelrules from '@plone/volto/reducers/controlPanelRules/controlPanelRules';
|
|
78
|
+
import contentrulesevents from '@plone/volto/reducers/contentRulesEvents/contentRulesEvents';
|
|
79
|
+
import schema from '@plone/volto/reducers/schema/schema';
|
|
80
|
+
import search from '@plone/volto/reducers/search/search';
|
|
81
|
+
import sharing from '@plone/volto/reducers/sharing/sharing';
|
|
82
|
+
import sidebar from '@plone/volto/reducers/sidebar/sidebar';
|
|
83
|
+
import types from '@plone/volto/reducers/types/types';
|
|
84
|
+
import users from '@plone/volto/reducers/users/users';
|
|
85
|
+
import authRole from '@plone/volto/reducers/authRole/authRole';
|
|
86
|
+
import userSession from '@plone/volto/reducers/userSession/userSession';
|
|
87
|
+
import vocabularies from '@plone/volto/reducers/vocabularies/vocabularies';
|
|
88
|
+
import workflow from '@plone/volto/reducers/workflow/workflow';
|
|
89
|
+
import toolbar from '@plone/volto/reducers/toolbar/toolbar';
|
|
90
|
+
import blocksClipboard from '@plone/volto/reducers/blocksClipboard/blocksClipboard';
|
|
91
|
+
import lazyLibraries from '@plone/volto/reducers/lazyLibraries/lazyLibraries';
|
|
92
|
+
import contextNavigation from '@plone/volto/reducers/contextNavigation/contextNavigation';
|
|
53
93
|
import upgrade from './upgrade/upgrade';
|
|
54
94
|
import workingCopy from './workingcopy/workingcopy';
|
|
55
95
|
import transactions from './transactions/transactions';
|
package/types/routes.d.ts
CHANGED
package/types/server.d.ts
CHANGED