@plone/volto 18.0.0-alpha.27 → 18.0.0-alpha.28
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 +18 -0
- package/cypress/support/commands.js +1 -4
- package/cypress/support/e2e.js +9 -0
- package/locales/pt_BR/LC_MESSAGES/volto.po +1 -1
- package/locales/pt_BR.json +1 -1
- package/package.json +18 -16
- package/src/components/index.js +104 -73
- package/src/components/manage/Actions/Actions.jsx +2 -1
- package/src/components/manage/Actions/Actions.test.jsx +1 -3
- package/src/components/manage/Add/Add.jsx +1 -1
- package/src/components/manage/Blocks/Block/DefaultEdit.jsx +1 -1
- package/src/components/manage/Blocks/Block/Settings.jsx +1 -1
- package/src/components/manage/Blocks/Block/Settings.test.jsx +2 -0
- package/src/components/manage/Blocks/Container/Data.jsx +1 -1
- package/src/components/manage/Blocks/Container/Edit.jsx +2 -1
- package/src/components/manage/Blocks/Image/ImageSidebar.jsx +2 -1
- package/src/components/manage/Blocks/Image/ImageSidebar.test.jsx +2 -0
- package/src/components/manage/Blocks/LeadImage/LeadImageSidebar.jsx +2 -3
- package/src/components/manage/Blocks/LeadImage/LeadImageSidebar.test.jsx +2 -0
- package/src/components/manage/Blocks/Listing/ListingData.jsx +1 -1
- package/src/components/manage/Blocks/Maps/MapsSidebar.jsx +1 -1
- package/src/components/manage/Blocks/Maps/MapsSidebar.test.jsx +2 -0
- package/src/components/manage/Blocks/Search/SearchBlockEdit.jsx +2 -1
- package/src/components/manage/Blocks/Search/widgets/SelectMetadataField.jsx +1 -1
- package/src/components/manage/Blocks/Teaser/Data.jsx +2 -1
- package/src/components/manage/Blocks/ToC/Edit.jsx +1 -1
- package/src/components/manage/Blocks/Video/VideoSidebar.jsx +1 -1
- package/src/components/manage/Blocks/Video/VideoSidebar.test.jsx +2 -0
- package/src/components/manage/ConditionalLink/ConditionalLink.jsx +1 -1
- package/src/components/manage/Contents/Contents.jsx +8 -8
- package/src/components/manage/Contents/ContentsIndexHeader.test.jsx +1 -1
- package/src/components/manage/Contents/ContentsPropertiesModal.jsx +1 -1
- package/src/components/manage/Contents/ContentsPropertiesModal.test.jsx +1 -1
- package/src/components/manage/Contents/ContentsRenameModal.jsx +1 -1
- package/src/components/manage/Contents/ContentsRenameModal.test.jsx +1 -1
- package/src/components/manage/Contents/ContentsTagsModal.jsx +1 -1
- package/src/components/manage/Contents/ContentsTagsModal.test.jsx +1 -1
- package/src/components/manage/Contents/ContentsWorkflowModal.jsx +1 -1
- package/src/components/manage/Contents/ContentsWorkflowModal.test.jsx +1 -1
- package/src/components/manage/Contents/__mocks__/index.tsx +5 -0
- package/src/components/manage/Contents/index.tsx +64 -0
- package/src/components/manage/Controlpanels/Aliases.jsx +1 -1
- package/src/components/manage/Controlpanels/Aliases.test.jsx +1 -0
- package/src/components/manage/Controlpanels/ContentType.jsx +2 -1
- package/src/components/manage/Controlpanels/ContentType.test.jsx +1 -1
- package/src/components/manage/Controlpanels/ContentTypeLayout.jsx +2 -8
- package/src/components/manage/Controlpanels/ContentTypeSchema.jsx +2 -1
- package/src/components/manage/Controlpanels/ContentTypes.jsx +3 -8
- package/src/components/manage/Controlpanels/Controlpanel.jsx +2 -1
- package/src/components/manage/Controlpanels/Controlpanel.test.jsx +1 -2
- package/src/components/manage/Controlpanels/Controlpanels.jsx +12 -49
- package/src/components/manage/Controlpanels/Controlpanels.test.jsx +36 -32
- package/src/components/manage/Controlpanels/Groups/GroupsControlpanel.jsx +2 -2
- package/src/components/manage/Controlpanels/ModerateComments.jsx +2 -6
- package/src/components/manage/Controlpanels/ModerateComments.test.jsx +1 -4
- package/src/components/manage/Controlpanels/Relations/RelationsListing.jsx +2 -2
- package/src/components/manage/Controlpanels/Relations/RelationsMatrix.jsx +2 -2
- package/src/components/manage/Controlpanels/Rules/AddRule.jsx +2 -2
- package/src/components/manage/Controlpanels/Rules/AddRule.test.jsx +1 -0
- package/src/components/manage/Controlpanels/Rules/EditRule.jsx +2 -2
- package/src/components/manage/Controlpanels/Rules/EditRule.test.jsx +2 -0
- package/src/components/manage/Controlpanels/Rules/components/VariableModal.jsx +1 -1
- package/src/components/manage/Controlpanels/UndoControlpanel.jsx +2 -1
- package/src/components/manage/Controlpanels/UndoControlpanel.test.jsx +1 -2
- package/src/components/manage/Controlpanels/UpgradeControlPanel.jsx +2 -1
- package/src/components/manage/Controlpanels/Users/RenderUsers.jsx +2 -1
- package/src/components/manage/Controlpanels/Users/UserGroupMembershipMatrix.jsx +1 -1
- package/src/components/manage/Controlpanels/Users/UsersControlpanel.jsx +2 -2
- package/src/components/manage/Controlpanels/index.tsx +181 -0
- package/src/components/manage/Diff/Diff.jsx +1 -1
- package/src/components/manage/Display/Display.jsx +2 -1
- package/src/components/manage/Display/Display.test.jsx +1 -0
- package/src/components/manage/Edit/Edit.jsx +1 -1
- package/src/components/manage/Edit/Edit.test.jsx +1 -2
- package/src/components/manage/Form/BlockDataForm.jsx +1 -1
- package/src/components/manage/Form/BlockDataForm.test.jsx +2 -0
- package/src/components/manage/Form/Form.jsx +4 -2
- package/src/components/manage/Form/Form.test.jsx +1 -1
- package/src/components/manage/Form/InlineForm.jsx +2 -1
- package/src/components/manage/Form/InlineForm.test.jsx +2 -0
- package/src/components/manage/Form/ModalForm.jsx +2 -1
- package/src/components/manage/Form/ModalForm.test.jsx +1 -1
- package/src/components/manage/Form/__mocks__/index.tsx +74 -0
- package/src/components/manage/Form/index.tsx +50 -0
- package/src/components/manage/Multilingual/TranslationObject.jsx +2 -1
- package/src/components/manage/Preferences/ChangePassword.jsx +2 -1
- package/src/components/manage/Preferences/ChangePassword.test.jsx +1 -0
- package/src/components/manage/Preferences/PersonalInformation.jsx +2 -1
- package/src/components/manage/Preferences/PersonalPreferences.jsx +2 -1
- package/src/components/manage/Preferences/PersonalPreferences.test.jsx +3 -5
- package/src/components/manage/Rules/index.tsx +5 -0
- package/src/components/manage/Toolbar/PersonalTools.jsx +2 -2
- package/src/components/manage/Widgets/ArrayWidget.jsx +1 -1
- package/src/components/manage/Widgets/ButtonsWidget.jsx +1 -1
- package/src/components/manage/Widgets/CheckboxWidget.jsx +1 -1
- package/src/components/manage/Widgets/DatetimeWidget.jsx +2 -1
- package/src/components/manage/Widgets/EmailWidget.jsx +1 -1
- package/src/components/manage/Widgets/FileWidget.jsx +2 -1
- package/src/components/manage/Widgets/IdWidget.jsx +2 -1
- package/src/components/manage/Widgets/ImageSizeWidget.jsx +1 -1
- package/src/components/manage/Widgets/InternalUrlWidget.jsx +3 -3
- package/src/components/manage/Widgets/NumberWidget.jsx +1 -1
- package/src/components/manage/Widgets/ObjectListWidget.jsx +2 -1
- package/src/components/manage/Widgets/ObjectListWidget.test.js +2 -0
- package/src/components/manage/Widgets/ObjectWidget.jsx +1 -2
- package/src/components/manage/Widgets/ObjectWidget.test.jsx +2 -0
- package/src/components/manage/Widgets/PasswordWidget.jsx +1 -1
- package/src/components/manage/Widgets/QuerySortOnWidget.jsx +1 -1
- package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +3 -2
- package/src/components/manage/Widgets/RecurrenceWidget/SelectInput.jsx +12 -3
- package/src/components/manage/Widgets/ReferenceWidget.jsx +1 -1
- package/src/components/manage/Widgets/RegistryImageWidget.jsx +2 -1
- package/src/components/manage/Widgets/SchemaWidget.jsx +2 -5
- package/src/components/manage/Widgets/SelectAutoComplete.jsx +1 -1
- package/src/components/manage/Widgets/SelectWidget.jsx +1 -1
- package/src/components/manage/Widgets/TextWidget.jsx +2 -1
- package/src/components/manage/Widgets/TextareaWidget.jsx +1 -1
- package/src/components/manage/Widgets/TokenWidget.jsx +1 -1
- package/src/components/manage/Widgets/UrlWidget.jsx +3 -3
- package/src/components/manage/Widgets/VocabularyTermsWidget.jsx +5 -8
- package/src/components/manage/Widgets/VocabularyTermsWidget.test.jsx +2 -0
- package/src/components/manage/Widgets/__mocks__/index.tsx +43 -0
- package/src/components/manage/Widgets/index.tsx +232 -0
- package/src/components/manage/Workflow/Workflow.jsx +2 -1
- package/src/components/manage/Workflow/Workflow.test.jsx +2 -3
- package/src/components/theme/Comments/CommentEditModal.jsx +1 -1
- package/src/components/theme/Comments/CommentEditModal.test.jsx +1 -3
- package/src/components/theme/Comments/Comments.jsx +3 -1
- package/src/components/theme/Comments/Comments.test.jsx +2 -0
- package/src/components/theme/Comments/__mocks__/index.tsx +1 -0
- package/src/components/theme/Comments/index.tsx +5 -0
- package/src/components/theme/ContactForm/ContactForm.jsx +2 -1
- package/src/components/theme/ContactForm/ContactForm.test.jsx +2 -0
- package/src/components/theme/PasswordReset/PasswordReset.jsx +1 -1
- package/src/components/theme/PasswordReset/RequestPasswordReset.jsx +1 -1
- package/src/components/theme/PasswordReset/RequestPasswordReset.test.jsx +2 -0
- package/src/components/theme/Register/Register.jsx +2 -1
- package/src/components/theme/Register/Register.test.jsx +2 -0
- package/src/config/ControlPanels.js +1 -1
- package/src/config/Widgets.jsx +33 -46
- package/src/routes.js +22 -20
- package/theme/themes/pastanaga/elements/input.overrides +2 -0
- package/types/components/index.d.ts +11 -63
- package/types/components/manage/Blocks/Search/widgets/SelectMetadataField.d.ts +5 -0
- package/types/components/manage/ConditionalLink/ConditionalLink.d.ts +1 -1
- package/types/components/manage/Contents/__mocks__/index.d.ts +3 -0
- package/types/components/manage/Contents/index.d.ts +9 -0
- package/types/components/manage/Controlpanels/Controlpanels.d.ts +6 -2
- package/types/components/manage/Controlpanels/Relations/RelationsListing.d.ts +2 -2
- package/types/components/manage/Controlpanels/index.d.ts +32 -0
- package/types/components/manage/Form/__mocks__/index.d.ts +9 -0
- package/types/components/manage/Form/index.d.ts +14 -0
- package/types/components/manage/Rules/index.d.ts +1 -0
- package/types/components/manage/Widgets/RecurrenceWidget/SelectInput.d.ts +2 -34
- package/types/components/manage/Widgets/__mocks__/index.d.ts +34 -0
- package/types/components/manage/Widgets/index.d.ts +120 -0
- package/types/components/theme/Comments/__mocks__/index.d.ts +1 -0
- package/types/components/theme/Comments/index.d.ts +1 -0
- package/types/config/ControlPanels.d.ts +1 -1
- package/types/config/Loadables.d.ts +151 -9
- package/types/config/Views.d.ts +1 -1
- package/types/config/Widgets.d.ts +33 -39
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const AlignWidget: import("@loadable/component").LoadableComponent<any>;
|
|
3
|
+
export declare const ButtonsWidget: import("@loadable/component").LoadableComponent<any>;
|
|
4
|
+
export declare const ArrayWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
5
|
+
export declare const CheckboxWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
6
|
+
export declare const FileWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
7
|
+
export declare const IdWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
8
|
+
export declare const PasswordWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
9
|
+
export declare const QueryWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
10
|
+
export declare const QuerySortOnWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
11
|
+
export declare const QuerystringWidget: import("@loadable/component").LoadableComponent<any>;
|
|
12
|
+
export declare const SchemaWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
13
|
+
export declare const SelectWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
14
|
+
export declare const TextareaWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
15
|
+
export declare const TextWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
16
|
+
export declare const TokenWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
17
|
+
export declare const WysiwygWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
18
|
+
export declare const UrlWidget: import("@loadable/component").LoadableClassComponent<{
|
|
19
|
+
new (): {
|
|
20
|
+
state: {
|
|
21
|
+
isObjectBrowserOpen: boolean;
|
|
22
|
+
};
|
|
23
|
+
openObjectBrowser: ({ mode, onSelectItem, dataName, overlay, propDataName, searchableTypes, selectableTypes, maximumSelectionSize, currentPath, }?: {
|
|
24
|
+
mode: string;
|
|
25
|
+
dataName: string;
|
|
26
|
+
onSelectItem: string;
|
|
27
|
+
overlay: string;
|
|
28
|
+
}) => void;
|
|
29
|
+
closeObjectBrowser: () => void;
|
|
30
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
context: unknown;
|
|
32
|
+
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
33
|
+
forceUpdate(callback?: () => void): void;
|
|
34
|
+
readonly props: Readonly<any>;
|
|
35
|
+
refs: {
|
|
36
|
+
[key: string]: import("react").ReactInstance;
|
|
37
|
+
};
|
|
38
|
+
componentDidMount?(): void;
|
|
39
|
+
shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
40
|
+
componentWillUnmount?(): void;
|
|
41
|
+
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
42
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
|
|
43
|
+
componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
|
|
44
|
+
componentWillMount?(): void;
|
|
45
|
+
UNSAFE_componentWillMount?(): void;
|
|
46
|
+
componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
47
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
48
|
+
componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
49
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
50
|
+
};
|
|
51
|
+
defaultProps: {
|
|
52
|
+
onChangeBlock: () => void;
|
|
53
|
+
data: {};
|
|
54
|
+
block: string;
|
|
55
|
+
};
|
|
56
|
+
contextType?: import("react").Context<any>;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const InternalUrlWidget: import("@loadable/component").LoadableClassComponent<{
|
|
59
|
+
new (): {
|
|
60
|
+
state: {
|
|
61
|
+
isObjectBrowserOpen: boolean;
|
|
62
|
+
};
|
|
63
|
+
openObjectBrowser: ({ mode, onSelectItem, dataName, overlay, propDataName, searchableTypes, selectableTypes, maximumSelectionSize, currentPath, }?: {
|
|
64
|
+
mode: string;
|
|
65
|
+
dataName: string;
|
|
66
|
+
onSelectItem: string;
|
|
67
|
+
overlay: string;
|
|
68
|
+
}) => void;
|
|
69
|
+
closeObjectBrowser: () => void;
|
|
70
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
context: unknown;
|
|
72
|
+
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
73
|
+
forceUpdate(callback?: () => void): void;
|
|
74
|
+
readonly props: Readonly<any>;
|
|
75
|
+
refs: {
|
|
76
|
+
[key: string]: import("react").ReactInstance;
|
|
77
|
+
};
|
|
78
|
+
componentDidMount?(): void;
|
|
79
|
+
shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
80
|
+
componentWillUnmount?(): void;
|
|
81
|
+
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
82
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
|
|
83
|
+
componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
|
|
84
|
+
componentWillMount?(): void;
|
|
85
|
+
UNSAFE_componentWillMount?(): void;
|
|
86
|
+
componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
87
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
|
|
88
|
+
componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
89
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
|
|
90
|
+
};
|
|
91
|
+
defaultProps: {
|
|
92
|
+
onChangeBlock: () => void;
|
|
93
|
+
data: {};
|
|
94
|
+
block: string;
|
|
95
|
+
};
|
|
96
|
+
contextType?: import("react").Context<any>;
|
|
97
|
+
}>;
|
|
98
|
+
export declare const EmailWidget: import("@loadable/component").LoadableComponent<any>;
|
|
99
|
+
export declare const NumberWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
100
|
+
export declare const ImageSizeWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
101
|
+
export declare const RegistryImageWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
102
|
+
export declare const ReferenceWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
103
|
+
export declare const ObjectBrowserWidget: import("@loadable/component").LoadableComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>>;
|
|
104
|
+
export declare const ObjectWidget: import("@loadable/component").LoadableComponent<{
|
|
105
|
+
[x: string]: any;
|
|
106
|
+
block: any;
|
|
107
|
+
schema: any;
|
|
108
|
+
value: any;
|
|
109
|
+
onChange: any;
|
|
110
|
+
errors?: {};
|
|
111
|
+
id: any;
|
|
112
|
+
}>;
|
|
113
|
+
export declare const ObjectListWidget: import("@loadable/component").LoadableComponent<any>;
|
|
114
|
+
export declare const VocabularyTermsWidget: import("@loadable/component").LoadableComponent<any>;
|
|
115
|
+
export declare const SelectMetadataWidget: import("@loadable/component").LoadableComponent<any>;
|
|
116
|
+
export declare const SelectAutoComplete: import("@loadable/component").LoadableClassComponent<any>;
|
|
117
|
+
export declare const ColorPickerWidget: import("@loadable/component").LoadableComponent<import("@plone/volto/components/manage/Widgets/ColorPickerWidget").ColorPickerWidgetProps>;
|
|
118
|
+
export declare const DatetimeWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
119
|
+
export declare const RecurrenceWidget: import("@loadable/component").LoadableClassComponent<any>;
|
|
120
|
+
export declare const FormFieldWrapper: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CommentEditModal: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CommentEditModal: import("@loadable/component").LoadableComponent<any>;
|
|
@@ -21,5 +21,5 @@ export const controlPanelsIcons: {
|
|
|
21
21
|
aliases: string;
|
|
22
22
|
relations: string;
|
|
23
23
|
};
|
|
24
|
-
export function filterControlPanels(controlpanels
|
|
24
|
+
export function filterControlPanels(controlpanels?: any[]): any[];
|
|
25
25
|
export function filterControlPanelsSchema(controlpanel: any): any;
|
|
@@ -1,20 +1,162 @@
|
|
|
1
1
|
export namespace loadables {
|
|
2
|
-
let prettierStandalone:
|
|
3
|
-
|
|
2
|
+
let prettierStandalone: import("@loadable/component").LoadableLibrary<{
|
|
3
|
+
default: typeof import("prettier/standalone");
|
|
4
|
+
formatWithCursor(source: string, options: import("prettier").CursorOptions): Promise<import("prettier").CursorResult>;
|
|
5
|
+
format(source: string, options?: import("prettier").Options): Promise<string>;
|
|
6
|
+
check(source: string, options?: import("prettier").Options): Promise<boolean>;
|
|
7
|
+
getSupportInfo(): Promise<import("prettier").SupportInfo>;
|
|
8
|
+
}>;
|
|
9
|
+
let prettierParserHtml: import("@loadable/component").LoadableLibrary<{
|
|
10
|
+
default: typeof import("prettier/plugins/html");
|
|
11
|
+
parsers: {
|
|
12
|
+
angular: import("prettier").Parser<any>;
|
|
13
|
+
html: import("prettier").Parser<any>;
|
|
14
|
+
lwc: import("prettier").Parser<any>;
|
|
15
|
+
vue: import("prettier").Parser<any>;
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
4
18
|
let prismCore: any;
|
|
5
|
-
let toastify:
|
|
19
|
+
let toastify: import("@loadable/component").LoadableLibrary<{
|
|
20
|
+
default: typeof import("react-toastify");
|
|
21
|
+
cssTransition(props: import("react-toastify").cssTransitionProps): import("react").ComponentType<{}>;
|
|
22
|
+
ToastType: import("react-toastify").Type;
|
|
23
|
+
ToastPosition: import("react-toastify").Position;
|
|
24
|
+
ToastContainer: typeof import("react-toastify").ToastContainer;
|
|
25
|
+
toast: import("react-toastify").Toast;
|
|
26
|
+
Slide: import("react").ComponentType<{}>;
|
|
27
|
+
Bounce: import("react").ComponentType<{}>;
|
|
28
|
+
Flip: import("react").ComponentType<{}>;
|
|
29
|
+
Zoom: import("react").ComponentType<{}>;
|
|
30
|
+
}>;
|
|
6
31
|
let reactSelect: any;
|
|
7
32
|
let reactVirtualized: any;
|
|
8
|
-
let reactSortableHOC:
|
|
9
|
-
|
|
33
|
+
let reactSortableHOC: import("@loadable/component").LoadableLibrary<{
|
|
34
|
+
default: typeof import("react-sortable-hoc");
|
|
35
|
+
SortableContainer<P>(wrappedComponent: any, config?: import("react-sortable-hoc").Config): import("react").ComponentClass<P & import("react-sortable-hoc").SortableContainerProps, any>;
|
|
36
|
+
SortableElement<P_1>(wrappedComponent: any, config?: import("react-sortable-hoc").Config): import("react").ComponentClass<P_1 & import("react-sortable-hoc").SortableElementProps, any>;
|
|
37
|
+
SortableHandle<P_2>(wrappedComponent: any, config?: import("react-sortable-hoc").Config): import("react").ComponentClass<P_2, any>;
|
|
38
|
+
arrayMove<T>(collection: T[], previousIndex: number, newIndex: number): T[];
|
|
39
|
+
}>;
|
|
40
|
+
let reactSelectAsyncPaginate: import("@loadable/component").LoadableLibrary<{
|
|
41
|
+
default: typeof import("react-select-async-paginate");
|
|
42
|
+
wrapMenuList: (MenuList: import("react").ComponentType<{
|
|
43
|
+
innerRef: import("react").Ref<HTMLElement>;
|
|
44
|
+
}>) => import("react").FC<import("react-select-async-paginate/ts/wrapMenuList").Props>;
|
|
45
|
+
reduceGroupedOptions: import("react-select-async-paginate").ReduceOptions<any, any>;
|
|
46
|
+
withAsyncPaginate: typeof import("react-select-async-paginate").withAsyncPaginate;
|
|
47
|
+
useAsyncPaginateBase: <OptionType, Additional>(params: import("react-select-async-paginate").UseAsyncPaginateBaseParams<OptionType, Additional>, deps?: readonly any[]) => import("react-select-async-paginate").UseAsyncPaginateBaseResult<OptionType>;
|
|
48
|
+
useAsyncPaginate: <OptionType_1, Additional_1>(params: import("react-select-async-paginate").UseAsyncPaginateParams<OptionType_1, Additional_1>, deps?: readonly any[]) => import("react-select-async-paginate").UseAsyncPaginateResult<OptionType_1>;
|
|
49
|
+
useComponents: <OptionType_2, IsMulti extends boolean>(components: any) => any;
|
|
50
|
+
AsyncPaginate: import("react").FC<any>;
|
|
51
|
+
}>;
|
|
10
52
|
let reactSelectAsync: any;
|
|
11
53
|
let reactSelectCreateable: any;
|
|
12
54
|
let reactSelectAsyncCreateable: any;
|
|
13
55
|
let diffLib: any;
|
|
14
|
-
let moment:
|
|
56
|
+
let moment: import("@loadable/component").LoadableLibrary<{
|
|
57
|
+
default: typeof import("moment");
|
|
58
|
+
utc(inp?: import("moment").MomentInput, strict?: boolean): import("moment").Moment;
|
|
59
|
+
utc(inp?: import("moment").MomentInput, format?: import("moment").MomentFormatSpecification, strict?: boolean): import("moment").Moment;
|
|
60
|
+
utc(inp?: import("moment").MomentInput, format?: import("moment").MomentFormatSpecification, language?: string, strict?: boolean): import("moment").Moment;
|
|
61
|
+
unix(timestamp: number): import("moment").Moment;
|
|
62
|
+
invalid(flags?: import("moment").MomentParsingFlagsOpt): import("moment").Moment;
|
|
63
|
+
isMoment(m: any): m is import("moment").Moment;
|
|
64
|
+
isDate(m: any): m is Date;
|
|
65
|
+
isDuration(d: any): d is import("moment").Duration;
|
|
66
|
+
lang(language?: string): string;
|
|
67
|
+
lang(language?: string, definition?: import("moment").Locale): string;
|
|
68
|
+
locale(language?: string): string;
|
|
69
|
+
locale(language?: string[]): string;
|
|
70
|
+
locale(language?: string, definition?: import("moment").LocaleSpecification): string;
|
|
71
|
+
localeData(key?: string | string[]): import("moment").Locale;
|
|
72
|
+
duration(inp?: import("moment").DurationInputArg1, unit?: import("moment").unitOfTime.DurationConstructor): import("moment").Duration;
|
|
73
|
+
parseZone(inp?: import("moment").MomentInput, format?: import("moment").MomentFormatSpecification, strict?: boolean): import("moment").Moment;
|
|
74
|
+
parseZone(inp?: import("moment").MomentInput, format?: import("moment").MomentFormatSpecification, language?: string, strict?: boolean): import("moment").Moment;
|
|
75
|
+
months(): string[];
|
|
76
|
+
months(index: number): string;
|
|
77
|
+
months(format: string): string[];
|
|
78
|
+
months(format: string, index: number): string;
|
|
79
|
+
monthsShort(): string[];
|
|
80
|
+
monthsShort(index: number): string;
|
|
81
|
+
monthsShort(format: string): string[];
|
|
82
|
+
monthsShort(format: string, index: number): string;
|
|
83
|
+
weekdays(): string[];
|
|
84
|
+
weekdays(index: number): string;
|
|
85
|
+
weekdays(format: string): string[];
|
|
86
|
+
weekdays(format: string, index: number): string;
|
|
87
|
+
weekdays(localeSorted: boolean): string[];
|
|
88
|
+
weekdays(localeSorted: boolean, index: number): string;
|
|
89
|
+
weekdays(localeSorted: boolean, format: string): string[];
|
|
90
|
+
weekdays(localeSorted: boolean, format: string, index: number): string;
|
|
91
|
+
weekdaysShort(): string[];
|
|
92
|
+
weekdaysShort(index: number): string;
|
|
93
|
+
weekdaysShort(format: string): string[];
|
|
94
|
+
weekdaysShort(format: string, index: number): string;
|
|
95
|
+
weekdaysShort(localeSorted: boolean): string[];
|
|
96
|
+
weekdaysShort(localeSorted: boolean, index: number): string;
|
|
97
|
+
weekdaysShort(localeSorted: boolean, format: string): string[];
|
|
98
|
+
weekdaysShort(localeSorted: boolean, format: string, index: number): string;
|
|
99
|
+
weekdaysMin(): string[];
|
|
100
|
+
weekdaysMin(index: number): string;
|
|
101
|
+
weekdaysMin(format: string): string[];
|
|
102
|
+
weekdaysMin(format: string, index: number): string;
|
|
103
|
+
weekdaysMin(localeSorted: boolean): string[];
|
|
104
|
+
weekdaysMin(localeSorted: boolean, index: number): string;
|
|
105
|
+
weekdaysMin(localeSorted: boolean, format: string): string[];
|
|
106
|
+
weekdaysMin(localeSorted: boolean, format: string, index: number): string;
|
|
107
|
+
min(moments: import("moment").Moment[]): import("moment").Moment;
|
|
108
|
+
min(...moments: import("moment").Moment[]): import("moment").Moment;
|
|
109
|
+
max(moments: import("moment").Moment[]): import("moment").Moment;
|
|
110
|
+
max(...moments: import("moment").Moment[]): import("moment").Moment;
|
|
111
|
+
now(): number;
|
|
112
|
+
defineLocale(language: string, localeSpec: import("moment").LocaleSpecification): import("moment").Locale;
|
|
113
|
+
updateLocale(language: string, localeSpec: import("moment").LocaleSpecification): import("moment").Locale;
|
|
114
|
+
locales(): string[];
|
|
115
|
+
normalizeUnits(unit: import("moment").unitOfTime.All): string;
|
|
116
|
+
relativeTimeThreshold(threshold: string): number | boolean;
|
|
117
|
+
relativeTimeThreshold(threshold: string, limit: number): boolean;
|
|
118
|
+
relativeTimeRounding(fn: (num: number) => number): boolean;
|
|
119
|
+
relativeTimeRounding(): (num: number) => number;
|
|
120
|
+
calendarFormat(m: import("moment").Moment, now: import("moment").Moment): string;
|
|
121
|
+
parseTwoDigitYear(input: string): number;
|
|
122
|
+
version: string;
|
|
123
|
+
fn: import("moment").Moment;
|
|
124
|
+
ISO_8601: import("moment").MomentBuiltinFormat;
|
|
125
|
+
RFC_2822: import("moment").MomentBuiltinFormat;
|
|
126
|
+
defaultFormat: string;
|
|
127
|
+
defaultFormatUtc: string;
|
|
128
|
+
suppressDeprecationWarnings: boolean;
|
|
129
|
+
deprecationHandler: (name: string, msg: string) => void;
|
|
130
|
+
HTML5_FMT: {
|
|
131
|
+
DATETIME_LOCAL: string;
|
|
132
|
+
DATETIME_LOCAL_SECONDS: string;
|
|
133
|
+
DATETIME_LOCAL_MS: string;
|
|
134
|
+
DATE: string;
|
|
135
|
+
TIME: string;
|
|
136
|
+
TIME_SECONDS: string;
|
|
137
|
+
TIME_MS: string;
|
|
138
|
+
WEEK: string;
|
|
139
|
+
MONTH: string;
|
|
140
|
+
};
|
|
141
|
+
}>;
|
|
15
142
|
let reactDates: any;
|
|
16
|
-
let reactDnd:
|
|
17
|
-
|
|
143
|
+
let reactDnd: import("@loadable/component").LoadableLibrary<{
|
|
144
|
+
default: typeof import("react-dnd");
|
|
145
|
+
DragDropContext: typeof import("react-dnd").DragDropContext;
|
|
146
|
+
DragDropContextProvider: React.SFC<import("react-dnd").DragDropContextProviderProps<any>>;
|
|
147
|
+
DragLayer: typeof import("react-dnd").DragLayer;
|
|
148
|
+
DragSource: typeof import("react-dnd").DragSource;
|
|
149
|
+
DropTarget: typeof import("react-dnd").DropTarget;
|
|
150
|
+
XYCoord: any;
|
|
151
|
+
}>;
|
|
152
|
+
let reactDndHtml5Backend: import("@loadable/component").LoadableLibrary<typeof import("react-dnd-html5-backend")>;
|
|
18
153
|
let reactBeautifulDnd: any;
|
|
19
|
-
let rrule:
|
|
154
|
+
let rrule: import("@loadable/component").LoadableLibrary<{
|
|
155
|
+
default: typeof import("rrule");
|
|
156
|
+
RRule: typeof import("rrule").RRule;
|
|
157
|
+
RRuleSet: typeof import("rrule").RRuleSet;
|
|
158
|
+
rrulestr: typeof import("rrule").rrulestr;
|
|
159
|
+
Frequency: typeof import("rrule").Frequency;
|
|
160
|
+
Weekday: typeof import("rrule").Weekday;
|
|
161
|
+
}>;
|
|
20
162
|
}
|
package/types/config/Views.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export const contentTypesViews: {
|
|
|
31
31
|
content: any;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
Event: any
|
|
34
|
+
Event: import("@loadable/component").LoadableComponent<any>;
|
|
35
35
|
};
|
|
36
36
|
export const defaultView: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
37
37
|
WrappedComponent: import("react").ComponentType<any>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export const DatetimeWidget: any;
|
|
2
|
-
export const RecurrenceWidget: any;
|
|
3
1
|
export namespace widgetMapping {
|
|
4
2
|
export namespace id {
|
|
5
3
|
export { SchemaWidget as schema };
|
|
@@ -37,15 +35,11 @@ export namespace widgetMapping {
|
|
|
37
35
|
export { SelectWidget as select };
|
|
38
36
|
}
|
|
39
37
|
export let vocabulary: {
|
|
40
|
-
'plone.app.vocabularies.Catalog': import("
|
|
41
|
-
WrappedComponent: import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
42
|
-
};
|
|
38
|
+
'plone.app.vocabularies.Catalog': import("@loadable/component").LoadableComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>>;
|
|
43
39
|
};
|
|
44
40
|
export let factory: {
|
|
45
|
-
'Relation List': import("
|
|
46
|
-
|
|
47
|
-
};
|
|
48
|
-
'Relation Choice': any;
|
|
41
|
+
'Relation List': import("@loadable/component").LoadableComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>>;
|
|
42
|
+
'Relation Choice': import("@loadable/component").LoadableClassComponent<any>;
|
|
49
43
|
};
|
|
50
44
|
export { SelectWidget as choices };
|
|
51
45
|
export namespace type {
|
|
@@ -102,36 +96,36 @@ export namespace widgetMapping {
|
|
|
102
96
|
export { type_1 as type };
|
|
103
97
|
}
|
|
104
98
|
}
|
|
105
|
-
export const defaultWidget: import("
|
|
106
|
-
|
|
107
|
-
};
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
import
|
|
112
|
-
import
|
|
113
|
-
import
|
|
114
|
-
import
|
|
115
|
-
import PasswordWidget from '@plone/volto/components/manage/Widgets
|
|
116
|
-
import FileWidget from '@plone/volto/components/manage/Widgets
|
|
117
|
-
import AlignWidget from '@plone/volto/components/manage/Widgets
|
|
118
|
-
import ButtonsWidget from '@plone/volto/components/manage/Widgets
|
|
119
|
-
import InternalUrlWidget from '@plone/volto/components/manage/Widgets
|
|
120
|
-
import EmailWidget from '@plone/volto/components/manage/Widgets
|
|
121
|
-
import ArrayWidget from '@plone/volto/components/manage/Widgets
|
|
122
|
-
import QueryWidget from '@plone/volto/components/manage/Widgets
|
|
123
|
-
import QuerySortOnWidget from '@plone/volto/components/manage/Widgets
|
|
124
|
-
import ObjectBrowserWidget from '@plone/volto/components/manage/Widgets
|
|
125
|
-
import ObjectWidget from '@plone/volto/components/manage/Widgets
|
|
126
|
-
import ObjectListWidget from '@plone/volto/components/manage/Widgets
|
|
127
|
-
import VocabularyTermsWidget from '@plone/volto/components/manage/Widgets
|
|
128
|
-
import ImageSizeWidget from '@plone/volto/components/manage/Widgets
|
|
129
|
-
import SelectMetadataWidget from '@plone/volto/components/manage/
|
|
130
|
-
import SelectAutoComplete from '@plone/volto/components/manage/Widgets
|
|
131
|
-
import ColorPickerWidget from '@plone/volto/components/manage/Widgets
|
|
132
|
-
import SelectWidget from '@plone/volto/components/manage/Widgets
|
|
133
|
-
import CheckboxWidget from '@plone/volto/components/manage/Widgets
|
|
134
|
-
import NumberWidget from '@plone/volto/components/manage/Widgets
|
|
99
|
+
export const defaultWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
100
|
+
import { SchemaWidget } from '@plone/volto/components/manage/Widgets';
|
|
101
|
+
import { TokenWidget } from '@plone/volto/components/manage/Widgets';
|
|
102
|
+
import { QuerystringWidget } from '@plone/volto/components/manage/Widgets';
|
|
103
|
+
import { RecurrenceWidget } from '@plone/volto/components/manage/Widgets';
|
|
104
|
+
import { UrlWidget } from '@plone/volto/components/manage/Widgets';
|
|
105
|
+
import { IdWidget } from '@plone/volto/components/manage/Widgets';
|
|
106
|
+
import { RegistryImageWidget } from '@plone/volto/components/manage/Widgets';
|
|
107
|
+
import { TextareaWidget } from '@plone/volto/components/manage/Widgets';
|
|
108
|
+
import { DatetimeWidget } from '@plone/volto/components/manage/Widgets';
|
|
109
|
+
import { PasswordWidget } from '@plone/volto/components/manage/Widgets';
|
|
110
|
+
import { FileWidget } from '@plone/volto/components/manage/Widgets';
|
|
111
|
+
import { AlignWidget } from '@plone/volto/components/manage/Widgets';
|
|
112
|
+
import { ButtonsWidget } from '@plone/volto/components/manage/Widgets';
|
|
113
|
+
import { InternalUrlWidget } from '@plone/volto/components/manage/Widgets';
|
|
114
|
+
import { EmailWidget } from '@plone/volto/components/manage/Widgets';
|
|
115
|
+
import { ArrayWidget } from '@plone/volto/components/manage/Widgets';
|
|
116
|
+
import { QueryWidget } from '@plone/volto/components/manage/Widgets';
|
|
117
|
+
import { QuerySortOnWidget } from '@plone/volto/components/manage/Widgets';
|
|
118
|
+
import { ObjectBrowserWidget } from '@plone/volto/components/manage/Widgets';
|
|
119
|
+
import { ObjectWidget } from '@plone/volto/components/manage/Widgets';
|
|
120
|
+
import { ObjectListWidget } from '@plone/volto/components/manage/Widgets';
|
|
121
|
+
import { VocabularyTermsWidget } from '@plone/volto/components/manage/Widgets';
|
|
122
|
+
import { ImageSizeWidget } from '@plone/volto/components/manage/Widgets';
|
|
123
|
+
import { SelectMetadataWidget } from '@plone/volto/components/manage/Widgets';
|
|
124
|
+
import { SelectAutoComplete } from '@plone/volto/components/manage/Widgets';
|
|
125
|
+
import { ColorPickerWidget } from '@plone/volto/components/manage/Widgets';
|
|
126
|
+
import { SelectWidget } from '@plone/volto/components/manage/Widgets';
|
|
127
|
+
import { CheckboxWidget } from '@plone/volto/components/manage/Widgets';
|
|
128
|
+
import { NumberWidget } from '@plone/volto/components/manage/Widgets';
|
|
135
129
|
import { getWidgetView } from '@plone/volto/helpers/Widget/widget';
|
|
136
130
|
import TextViewWidget from '@plone/volto/components/theme/Widgets/TextWidget';
|
|
137
131
|
import FileViewWidget from '@plone/volto/components/theme/Widgets/FileWidget';
|