@plone/volto 18.0.0-alpha.26 → 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 +25 -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 +21 -19
- 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/ColorPickerWidget.tsx +7 -7
- 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/reducers/navigation/navigation.js +1 -2
- package/src/reducers/navigation/navigation.test.js +6 -0
- 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/ColorPickerWidget.d.ts +5 -5
- 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
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import configureStore from 'redux-mock-store';
|
|
3
3
|
import { Provider } from 'react-intl-redux';
|
|
4
|
-
import {
|
|
4
|
+
import { render } from '@testing-library/react';
|
|
5
5
|
import config from '@plone/volto/registry';
|
|
6
6
|
|
|
7
7
|
import Workflow from './Workflow';
|
|
8
8
|
|
|
9
9
|
const mockStore = configureStore();
|
|
10
10
|
|
|
11
|
+
jest.mock('@plone/volto/components/manage/Widgets');
|
|
11
12
|
jest.mock('@plone/volto/helpers/Loadable/Loadable');
|
|
12
13
|
beforeAll(
|
|
13
14
|
async () =>
|
|
@@ -46,7 +47,6 @@ describe('Workflow', () => {
|
|
|
46
47
|
<Workflow pathname="/test" />
|
|
47
48
|
</Provider>,
|
|
48
49
|
);
|
|
49
|
-
await waitFor(() => screen.getByText(/Published/));
|
|
50
50
|
expect(container).toMatchSnapshot();
|
|
51
51
|
});
|
|
52
52
|
|
|
@@ -70,7 +70,6 @@ describe('Workflow', () => {
|
|
|
70
70
|
<Workflow pathname="/test" />
|
|
71
71
|
</Provider>,
|
|
72
72
|
);
|
|
73
|
-
await waitFor(() => screen.getByText('Private'));
|
|
74
73
|
expect(container).toMatchSnapshot();
|
|
75
74
|
});
|
|
76
75
|
});
|
|
@@ -5,7 +5,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
|
|
5
5
|
|
|
6
6
|
import { usePrevious } from '@plone/volto/helpers';
|
|
7
7
|
import { updateComment } from '@plone/volto/actions';
|
|
8
|
-
import { ModalForm } from '@plone/volto/components';
|
|
8
|
+
import { ModalForm } from '@plone/volto/components/manage/Form';
|
|
9
9
|
|
|
10
10
|
const messages = defineMessages({
|
|
11
11
|
editComment: {
|
|
@@ -7,9 +7,7 @@ import CommentEditModal from './CommentEditModal';
|
|
|
7
7
|
|
|
8
8
|
const mockStore = configureStore();
|
|
9
9
|
|
|
10
|
-
jest.mock('
|
|
11
|
-
jest.fn(() => <div id="modalform" />),
|
|
12
|
-
);
|
|
10
|
+
jest.mock('@plone/volto/components/manage/Form');
|
|
13
11
|
|
|
14
12
|
describe('CommentEditModal', () => {
|
|
15
13
|
it('renders a comment edit modal component', () => {
|
|
@@ -13,7 +13,9 @@ import {
|
|
|
13
13
|
listComments,
|
|
14
14
|
listMoreComments,
|
|
15
15
|
} from '@plone/volto/actions';
|
|
16
|
-
import { Avatar
|
|
16
|
+
import { Avatar } from '@plone/volto/components';
|
|
17
|
+
import { Form } from '@plone/volto/components/manage/Form';
|
|
18
|
+
import { CommentEditModal } from '@plone/volto/components/theme/Comments';
|
|
17
19
|
import {
|
|
18
20
|
flattenToAppURL,
|
|
19
21
|
getBaseUrl,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CommentEditModal = () => <div id="modal" />;
|
|
@@ -7,7 +7,8 @@ import { toast } from 'react-toastify';
|
|
|
7
7
|
|
|
8
8
|
import { emailNotification } from '@plone/volto/actions';
|
|
9
9
|
import { useDispatch, useSelector } from 'react-redux';
|
|
10
|
-
import {
|
|
10
|
+
import { Toolbar, Toast } from '@plone/volto/components';
|
|
11
|
+
import { Form } from '@plone/volto/components/manage/Form';
|
|
11
12
|
import { getBaseUrl, Helmet, usePrevious } from '@plone/volto/helpers';
|
|
12
13
|
import { useClient } from '@plone/volto/hooks';
|
|
13
14
|
|
|
@@ -9,6 +9,8 @@ jest.mock('../../manage/Toolbar/Toolbar', () =>
|
|
|
9
9
|
jest.fn(() => <div id="Portal" />),
|
|
10
10
|
);
|
|
11
11
|
|
|
12
|
+
jest.mock('@plone/volto/components/manage/Form');
|
|
13
|
+
|
|
12
14
|
const mockStore = configureStore();
|
|
13
15
|
describe('Contact form', () => {
|
|
14
16
|
it('renders a contact form', () => {
|
|
@@ -12,7 +12,7 @@ import { Helmet } from '@plone/volto/helpers';
|
|
|
12
12
|
import { Container } from 'semantic-ui-react';
|
|
13
13
|
import { FormattedMessage, defineMessages, injectIntl } from 'react-intl';
|
|
14
14
|
|
|
15
|
-
import { Form } from '@plone/volto/components';
|
|
15
|
+
import { Form } from '@plone/volto/components/manage/Form';
|
|
16
16
|
import { setInitialPassword } from '@plone/volto/actions';
|
|
17
17
|
import config from '@plone/volto/registry';
|
|
18
18
|
|
|
@@ -5,7 +5,7 @@ import { Container } from 'semantic-ui-react';
|
|
|
5
5
|
import { FormattedMessage, defineMessages, useIntl } from 'react-intl';
|
|
6
6
|
|
|
7
7
|
import { Helmet, usePrevious } from '@plone/volto/helpers';
|
|
8
|
-
import { Form } from '@plone/volto/components';
|
|
8
|
+
import { Form } from '@plone/volto/components/manage/Form';
|
|
9
9
|
import { resetPassword } from '@plone/volto/actions';
|
|
10
10
|
import config from '@plone/volto/registry';
|
|
11
11
|
|
|
@@ -12,7 +12,8 @@ import PropTypes from 'prop-types';
|
|
|
12
12
|
import { withRouter } from 'react-router-dom';
|
|
13
13
|
import { toast } from 'react-toastify';
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { Toast } from '@plone/volto/components';
|
|
16
|
+
import { Form } from '@plone/volto/components/manage/Form';
|
|
16
17
|
import { createUser } from '@plone/volto/actions';
|
|
17
18
|
|
|
18
19
|
const messages = defineMessages({
|
|
@@ -44,7 +44,7 @@ export const controlPanelsIcons = {
|
|
|
44
44
|
relations: relationsSVG,
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
export const filterControlPanels = (controlpanels) => {
|
|
47
|
+
export const filterControlPanels = (controlpanels = []) => {
|
|
48
48
|
const HIDDEN_CONTROL_PANELS = ['markup', 'content-rules'];
|
|
49
49
|
|
|
50
50
|
return controlpanels.filter(
|
package/src/config/Widgets.jsx
CHANGED
|
@@ -1,39 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
import SelectMetadataWidget from '@plone/volto/components/manage/Blocks/Search/widgets/SelectMetadataField';
|
|
35
|
-
import SelectAutoComplete from '@plone/volto/components/manage/Widgets/SelectAutoComplete';
|
|
36
|
-
import ColorPickerWidget from '@plone/volto/components/manage/Widgets/ColorPickerWidget';
|
|
1
|
+
import {
|
|
2
|
+
AlignWidget,
|
|
3
|
+
ButtonsWidget,
|
|
4
|
+
ArrayWidget,
|
|
5
|
+
CheckboxWidget,
|
|
6
|
+
FileWidget,
|
|
7
|
+
IdWidget,
|
|
8
|
+
PasswordWidget,
|
|
9
|
+
QueryWidget,
|
|
10
|
+
QuerySortOnWidget,
|
|
11
|
+
QuerystringWidget,
|
|
12
|
+
SchemaWidget,
|
|
13
|
+
SelectWidget,
|
|
14
|
+
TextareaWidget,
|
|
15
|
+
TextWidget,
|
|
16
|
+
TokenWidget,
|
|
17
|
+
UrlWidget,
|
|
18
|
+
InternalUrlWidget,
|
|
19
|
+
EmailWidget,
|
|
20
|
+
NumberWidget,
|
|
21
|
+
ImageSizeWidget,
|
|
22
|
+
RegistryImageWidget,
|
|
23
|
+
ReferenceWidget,
|
|
24
|
+
ObjectBrowserWidget,
|
|
25
|
+
ObjectWidget,
|
|
26
|
+
ObjectListWidget,
|
|
27
|
+
VocabularyTermsWidget,
|
|
28
|
+
SelectMetadataWidget,
|
|
29
|
+
SelectAutoComplete,
|
|
30
|
+
ColorPickerWidget,
|
|
31
|
+
DatetimeWidget,
|
|
32
|
+
RecurrenceWidget,
|
|
33
|
+
} from '@plone/volto/components/manage/Widgets';
|
|
37
34
|
|
|
38
35
|
import ArrayViewWidget from '@plone/volto/components/theme/Widgets/ArrayWidget';
|
|
39
36
|
import BooleanViewWidget from '@plone/volto/components/theme/Widgets/BooleanWidget';
|
|
@@ -54,16 +51,6 @@ import TitleViewWidget from '@plone/volto/components/theme/Widgets/TitleWidget';
|
|
|
54
51
|
import TokenViewWidget from '@plone/volto/components/theme/Widgets/TokenWidget';
|
|
55
52
|
import UrlViewWidget from '@plone/volto/components/theme/Widgets/UrlWidget';
|
|
56
53
|
|
|
57
|
-
export const DatetimeWidget = loadable(
|
|
58
|
-
() => import('@plone/volto/components/manage/Widgets/DatetimeWidget'),
|
|
59
|
-
);
|
|
60
|
-
export const RecurrenceWidget = loadable(
|
|
61
|
-
() =>
|
|
62
|
-
import(
|
|
63
|
-
'@plone/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget'
|
|
64
|
-
),
|
|
65
|
-
);
|
|
66
|
-
|
|
67
54
|
// Widgets mapping
|
|
68
55
|
export const widgetMapping = {
|
|
69
56
|
id: {
|
|
@@ -31,9 +31,8 @@ const initialState = {
|
|
|
31
31
|
*/
|
|
32
32
|
function getRecursiveItems(items) {
|
|
33
33
|
return map(items, (item) => ({
|
|
34
|
-
title: item.title,
|
|
35
|
-
description: item.description,
|
|
36
34
|
url: flattenToAppURL(item['@id']),
|
|
35
|
+
...item,
|
|
37
36
|
...(item.items && { items: getRecursiveItems(item.items) }),
|
|
38
37
|
}));
|
|
39
38
|
}
|
|
@@ -49,6 +49,7 @@ describe('Navigation reducer', () => {
|
|
|
49
49
|
error: null,
|
|
50
50
|
items: [
|
|
51
51
|
{
|
|
52
|
+
'@id': 'http://localhost:8080/Plone/front-page',
|
|
52
53
|
title: 'Welcome to Plone!',
|
|
53
54
|
description:
|
|
54
55
|
'Congratulations! You have successfully installed Plone.',
|
|
@@ -91,17 +92,20 @@ describe('Navigation reducer', () => {
|
|
|
91
92
|
error: null,
|
|
92
93
|
items: [
|
|
93
94
|
{
|
|
95
|
+
'@id': 'http://localhost:8080/Plone/front-page',
|
|
94
96
|
title: 'Welcome to Plone!',
|
|
95
97
|
description:
|
|
96
98
|
'Congratulations! You have successfully installed Plone.',
|
|
97
99
|
url: '/front-page',
|
|
98
100
|
},
|
|
99
101
|
{
|
|
102
|
+
'@id': 'http://localhost:8080/Plone/folder1',
|
|
100
103
|
title: 'Folder1',
|
|
101
104
|
description: 'Folder description',
|
|
102
105
|
url: '/folder1',
|
|
103
106
|
items: [
|
|
104
107
|
{
|
|
108
|
+
'@id': 'http://localhost:8080/Plone/folderinfolder1',
|
|
105
109
|
title: 'FolderInFolder1',
|
|
106
110
|
description: 'Sub-folder description',
|
|
107
111
|
url: '/folderinfolder1',
|
|
@@ -162,6 +166,7 @@ describe('Navigation reducer (NAVIGATION)GET_CONTENT', () => {
|
|
|
162
166
|
error: null,
|
|
163
167
|
items: [
|
|
164
168
|
{
|
|
169
|
+
'@id': 'http://localhost:8080/Plone/front-page',
|
|
165
170
|
title: 'Welcome to Plone!',
|
|
166
171
|
description:
|
|
167
172
|
'Congratulations! You have successfully installed Plone.',
|
|
@@ -192,6 +197,7 @@ describe('Navigation reducer (NAVIGATION)GET_CONTENT', () => {
|
|
|
192
197
|
error: null,
|
|
193
198
|
items: [
|
|
194
199
|
{
|
|
200
|
+
'@id': 'http://localhost:8080/Plone/front-page',
|
|
195
201
|
title: 'Welcome to Plone!',
|
|
196
202
|
description:
|
|
197
203
|
'Congratulations! You have successfully installed Plone.',
|
package/src/routes.js
CHANGED
|
@@ -6,19 +6,10 @@ import debug from 'debug';
|
|
|
6
6
|
import { compact } from 'lodash';
|
|
7
7
|
import {
|
|
8
8
|
Add,
|
|
9
|
-
AddonsControlpanel,
|
|
10
9
|
Aliases,
|
|
11
10
|
ChangePassword,
|
|
12
11
|
ContactForm,
|
|
13
|
-
Contents,
|
|
14
|
-
ContentType,
|
|
15
|
-
ContentTypeLayout,
|
|
16
|
-
ContentTypeSchema,
|
|
17
|
-
ContentTypes,
|
|
18
|
-
Controlpanel,
|
|
19
|
-
Controlpanels,
|
|
20
12
|
CreateTranslation,
|
|
21
|
-
DatabaseInformation,
|
|
22
13
|
Delete,
|
|
23
14
|
Diff,
|
|
24
15
|
Edit,
|
|
@@ -27,28 +18,39 @@ import {
|
|
|
27
18
|
Login,
|
|
28
19
|
Logout,
|
|
29
20
|
ManageTranslations,
|
|
30
|
-
ModerateComments,
|
|
31
21
|
NotFound,
|
|
32
22
|
PasswordReset,
|
|
33
|
-
Relations,
|
|
34
23
|
Register,
|
|
35
|
-
Rules,
|
|
36
24
|
RequestPasswordReset,
|
|
37
25
|
Search,
|
|
38
26
|
Sharing,
|
|
39
27
|
Sitemap,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
28
|
+
PersonalInformation,
|
|
29
|
+
} from '@plone/volto/components';
|
|
30
|
+
import { Contents } from '@plone/volto/components/manage/Contents';
|
|
31
|
+
import { Rules } from '@plone/volto/components/manage/Rules';
|
|
32
|
+
import {
|
|
45
33
|
RulesControlpanel,
|
|
46
34
|
AddRuleControlpanel,
|
|
47
35
|
EditRuleControlpanel,
|
|
48
36
|
ConfigureRuleControlpanel,
|
|
37
|
+
UsersControlpanel,
|
|
38
|
+
UserGroupMembershipControlPanel,
|
|
39
|
+
GroupsControlpanel,
|
|
40
|
+
AddonsControlpanel,
|
|
41
|
+
AliasesControlpanel,
|
|
42
|
+
ContentType,
|
|
43
|
+
ContentTypeLayout,
|
|
44
|
+
ContentTypeSchema,
|
|
45
|
+
ContentTypes,
|
|
46
|
+
Controlpanel,
|
|
47
|
+
Controlpanels,
|
|
48
|
+
DatabaseInformation,
|
|
49
|
+
ModerateComments,
|
|
50
|
+
RelationsControlpanel,
|
|
51
|
+
UndoControlpanel,
|
|
49
52
|
UpgradeControlPanel,
|
|
50
|
-
|
|
51
|
-
} from '@plone/volto/components';
|
|
53
|
+
} from '@plone/volto/components/manage/Controlpanels';
|
|
52
54
|
|
|
53
55
|
// Deliberatelly use of absolute path of these components, since we do not want them
|
|
54
56
|
// in the components/index.js file.
|
|
@@ -228,7 +230,7 @@ export const defaultRoutes = [
|
|
|
228
230
|
},
|
|
229
231
|
{
|
|
230
232
|
path: '/controlpanel/relations',
|
|
231
|
-
component:
|
|
233
|
+
component: RelationsControlpanel,
|
|
232
234
|
},
|
|
233
235
|
{
|
|
234
236
|
path: '/controlpanel/:id',
|
|
@@ -98,9 +98,11 @@ of an error is present, it overrides a default from SemanticUI grid definitions.
|
|
|
98
98
|
&.clear-search-button {
|
|
99
99
|
//needed for focus
|
|
100
100
|
margin-left: 0.1em;
|
|
101
|
+
|
|
101
102
|
svg.icon {
|
|
102
103
|
margin: auto;
|
|
103
104
|
}
|
|
105
|
+
|
|
104
106
|
&:focus,
|
|
105
107
|
&:hover {
|
|
106
108
|
-webkit-box-shadow: none;
|
|
@@ -46,45 +46,22 @@ export { default as CompareLanguages } from "@plone/volto/components/manage/Mult
|
|
|
46
46
|
export { default as FileView } from "@plone/volto/components/theme/View/FileView";
|
|
47
47
|
export { default as ImageView } from "@plone/volto/components/theme/View/ImageView";
|
|
48
48
|
export { default as NewsItemView } from "@plone/volto/components/theme/View/NewsItemView";
|
|
49
|
-
export const EventView: any
|
|
49
|
+
export const EventView: import("@loadable/component").LoadableComponent<any>;
|
|
50
50
|
export { default as ListingView } from "@plone/volto/components/theme/View/ListingView";
|
|
51
51
|
export { default as SummaryView } from "@plone/volto/components/theme/View/SummaryView";
|
|
52
52
|
export { default as TabularView } from "@plone/volto/components/theme/View/TabularView";
|
|
53
53
|
export { default as AlbumView } from "@plone/volto/components/theme/View/AlbumView";
|
|
54
54
|
export { default as Actions } from "@plone/volto/components/manage/Actions/Actions";
|
|
55
55
|
export { default as Add } from "@plone/volto/components/manage/Add/Add";
|
|
56
|
-
export { default as AddonsControlpanel } from "@plone/volto/components/manage/Controlpanels/AddonsControlpanel";
|
|
57
|
-
export { default as UndoControlpanel } from "@plone/volto/components/manage/Controlpanels/UndoControlpanel";
|
|
58
|
-
export { default as Contents } from "@plone/volto/components/manage/Contents/Contents";
|
|
59
56
|
export { default as Circle } from "@plone/volto/components/manage/Contents/circle";
|
|
60
|
-
export { default as DatabaseInformation } from "@plone/volto/components/manage/Controlpanels/DatabaseInformation";
|
|
61
|
-
export { default as Controlpanel } from "@plone/volto/components/manage/Controlpanels/Controlpanel";
|
|
62
|
-
export { default as Controlpanels } from "@plone/volto/components/manage/Controlpanels/Controlpanels";
|
|
63
|
-
export { default as AliasesControlpanel } from "@plone/volto/components/manage/Controlpanels/Aliases";
|
|
64
|
-
export { default as ContentTypes } from "@plone/volto/components/manage/Controlpanels/ContentTypes";
|
|
65
|
-
export { default as ContentType } from "@plone/volto/components/manage/Controlpanels/ContentType";
|
|
66
|
-
export { default as ContentTypeLayout } from "@plone/volto/components/manage/Controlpanels/ContentTypeLayout";
|
|
67
|
-
export { default as ContentTypeSchema } from "@plone/volto/components/manage/Controlpanels/ContentTypeSchema";
|
|
68
|
-
export { default as ContentTypesActions } from "@plone/volto/components/manage/Controlpanels/ContentTypesActions";
|
|
69
|
-
export { default as UsersControlpanel } from "@plone/volto/components/manage/Controlpanels/Users/UsersControlpanel";
|
|
70
|
-
export { default as UserGroupMembershipControlPanel } from "@plone/volto/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel";
|
|
71
|
-
export { default as Relations } from "@plone/volto/components/manage/Controlpanels/Relations/Relations";
|
|
72
|
-
export { default as GroupsControlpanel } from "@plone/volto/components/manage/Controlpanels/Groups/GroupsControlpanel";
|
|
73
|
-
export { default as RulesControlpanel } from "@plone/volto/components/manage/Controlpanels/Rules/Rules";
|
|
74
|
-
export { default as AddRuleControlpanel } from "@plone/volto/components/manage/Controlpanels/Rules/AddRule";
|
|
75
|
-
export { default as EditRuleControlpanel } from "@plone/volto/components/manage/Controlpanels/Rules/EditRule";
|
|
76
|
-
export { default as ConfigureRuleControlpanel } from "@plone/volto/components/manage/Controlpanels/Rules/ConfigureRule";
|
|
77
|
-
export { default as UpgradeControlPanel } from "@plone/volto/components/manage/Controlpanels/UpgradeControlPanel";
|
|
78
|
-
export { default as ModerateComments } from "@plone/volto/components/manage/Controlpanels/ModerateComments";
|
|
79
|
-
export { default as VersionOverview } from "@plone/volto/components/manage/Controlpanels/VersionOverview";
|
|
80
57
|
export { default as Delete } from "@plone/volto/components/manage/Delete/Delete";
|
|
81
|
-
export
|
|
58
|
+
export const Diff: import("@loadable/component").LoadableClassComponent<any>;
|
|
59
|
+
export const DiffField: import("@loadable/component").LoadableClassComponent<any>;
|
|
82
60
|
export { default as Display } from "@plone/volto/components/manage/Display/Display";
|
|
83
61
|
export { default as Edit } from "@plone/volto/components/manage/Edit/Edit";
|
|
84
|
-
export { default as ModalForm } from "@plone/volto/components/manage/Form/ModalForm";
|
|
85
62
|
export { default as History } from "@plone/volto/components/manage/History/History";
|
|
86
63
|
export { default as Sharing } from "@plone/volto/components/manage/Sharing/Sharing";
|
|
87
|
-
export
|
|
64
|
+
export const Rules: import("@loadable/component").LoadableClassComponent<any>;
|
|
88
65
|
export { default as Aliases } from "@plone/volto/components/manage/Aliases/Aliases";
|
|
89
66
|
export { default as LinksToItem } from "@plone/volto/components/manage/LinksToItem/LinksToItem";
|
|
90
67
|
export { default as Workflow } from "@plone/volto/components/manage/Workflow/Workflow";
|
|
@@ -100,43 +77,11 @@ export { default as More } from "@plone/volto/components/manage/Toolbar/More";
|
|
|
100
77
|
export { default as Types } from "@plone/volto/components/manage/Toolbar/Types";
|
|
101
78
|
export { default as Toast } from "@plone/volto/components/manage/Toast/Toast";
|
|
102
79
|
export { default as ManageTranslations } from "@plone/volto/components/manage/Multilingual/ManageTranslations";
|
|
103
|
-
export { default as Form } from "@plone/volto/components/manage/Form/Form";
|
|
104
|
-
export { default as BlocksToolbar } from "@plone/volto/components/manage/Form/BlocksToolbar";
|
|
105
|
-
export { default as UndoToolbar } from "@plone/volto/components/manage/Form/UndoToolbar";
|
|
106
|
-
export { default as Field } from "@plone/volto/components/manage/Form/Field";
|
|
107
80
|
export { default as SearchTags } from "@plone/volto/components/theme/Search/SearchTags";
|
|
108
|
-
export {
|
|
109
|
-
export { default as ContentsBreadcrumbs } from "@plone/volto/components/manage/Contents/ContentsBreadcrumbs";
|
|
110
|
-
export { default as ContentsIndexHeader } from "@plone/volto/components/manage/Contents/ContentsIndexHeader";
|
|
111
|
-
export { default as ContentsItem } from "@plone/volto/components/manage/Contents/ContentsItem";
|
|
112
|
-
export { default as ContentsUploadModal } from "@plone/volto/components/manage/Contents/ContentsUploadModal";
|
|
113
|
-
export { default as ContentsPropertiesModal } from "@plone/volto/components/manage/Contents/ContentsPropertiesModal";
|
|
114
|
-
export { default as ContentsRenameModal } from "@plone/volto/components/manage/Contents/ContentsRenameModal";
|
|
115
|
-
export { default as ContentsWorkflowModal } from "@plone/volto/components/manage/Contents/ContentsWorkflowModal";
|
|
116
|
-
export { default as ContentsTagsModal } from "@plone/volto/components/manage/Contents/ContentsTagsModal";
|
|
117
|
-
export { default as RenderUsers } from "@plone/volto/components/manage/Controlpanels/Users/RenderUsers";
|
|
118
|
-
export { default as RenderGroups } from "@plone/volto/components/manage/Controlpanels/Groups/RenderGroups";
|
|
119
|
-
export { default as DiffField } from "@plone/volto/components/manage/Diff/DiffField";
|
|
81
|
+
export { CommentEditModal } from "@plone/volto/components/theme/Comments";
|
|
120
82
|
export { default as DragDropList } from "@plone/volto/components/manage/DragDropList/DragDropList";
|
|
121
|
-
export
|
|
122
|
-
export
|
|
123
|
-
export { default as BlockDataForm } from "@plone/volto/components/manage/Form/BlockDataForm";
|
|
124
|
-
export { default as FormFieldWrapper } from "@plone/volto/components/manage/Widgets/FormFieldWrapper";
|
|
125
|
-
export { default as ArrayWidget } from "@plone/volto/components/manage/Widgets/ArrayWidget";
|
|
126
|
-
export { default as CheckboxWidget } from "@plone/volto/components/manage/Widgets/CheckboxWidget";
|
|
127
|
-
export const DatetimeWidget: any;
|
|
128
|
-
export const RecurrenceWidget: any;
|
|
129
|
-
export { default as FileWidget } from "@plone/volto/components/manage/Widgets/FileWidget";
|
|
130
|
-
export { default as IdWidget } from "@plone/volto/components/manage/Widgets/IdWidget";
|
|
131
|
-
export { default as PasswordWidget } from "@plone/volto/components/manage/Widgets/PasswordWidget";
|
|
132
|
-
export { default as ReferenceWidget } from "@plone/volto/components/manage/Widgets/ReferenceWidget";
|
|
133
|
-
export { default as SchemaWidget } from "@plone/volto/components/manage/Widgets/SchemaWidget";
|
|
134
|
-
export { default as SchemaWidgetFieldset } from "@plone/volto/components/manage/Widgets/SchemaWidgetFieldset";
|
|
135
|
-
export { default as SelectWidget } from "@plone/volto/components/manage/Widgets/SelectWidget";
|
|
136
|
-
export { default as TextareaWidget } from "@plone/volto/components/manage/Widgets/TextareaWidget";
|
|
137
|
-
export { default as TextWidget } from "@plone/volto/components/manage/Widgets/TextWidget";
|
|
138
|
-
export { default as ObjectWidget } from "@plone/volto/components/manage/Widgets/ObjectWidget";
|
|
139
|
-
export { default as ObjectListWidget } from "@plone/volto/components/manage/Widgets/ObjectListWidget";
|
|
83
|
+
export const SchemaWidgetFieldset: import("@loadable/component").LoadableClassComponent<any>;
|
|
84
|
+
export const ObjectBrowserWidgetMode: 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>>>>;
|
|
140
85
|
export { default as EditDefaultBlock } from "@plone/volto/components/manage/Blocks/Block/DefaultEdit";
|
|
141
86
|
export { default as EditDescriptionBlock } from "@plone/volto/components/manage/Blocks/Description/Edit";
|
|
142
87
|
export { default as EditTitleBlock } from "@plone/volto/components/manage/Blocks/Title/Edit";
|
|
@@ -174,4 +119,7 @@ export { default as FormattedRelativeDate } from "@plone/volto/components/theme/
|
|
|
174
119
|
export { default as Popup } from "@plone/volto/components/theme/Popup/Popup";
|
|
175
120
|
export { default as Component } from "@plone/volto/components/theme/Component/Component";
|
|
176
121
|
export { default as App } from "@plone/volto/components/theme/App/App";
|
|
177
|
-
export {
|
|
122
|
+
export { Controlpanels, Controlpanel, RulesControlpanel, AddRuleControlpanel, EditRuleControlpanel, ConfigureRuleControlpanel, UsersControlpanel, RenderUsers, UserGroupMembershipControlPanel, GroupsControlpanel, RenderGroups, RelationsControlpanel, AliasesControlpanel, UndoControlpanel, AddonsControlpanel, ContentType, ContentTypeLayout, ContentTypeSchema, ContentTypes, VersionOverview, UpgradeControlPanel, ModerateComments, DatabaseInformation } from "@plone/volto/components/manage/Controlpanels";
|
|
123
|
+
export { Field, InlineForm, ModalForm, UndoToolbar, BlocksToolbar, BlockDataForm, BlocksForm, Form } from "@plone/volto/components/manage/Form";
|
|
124
|
+
export { Contents, ContentsBreadcrumbs, ContentsIndexHeader, ContentsItem, ContentsUploadModal, ContentsPropertiesModal, ContentsRenameModal, ContentsWorkflowModal, ContentsTagsModal } from "@plone/volto/components/manage/Contents";
|
|
125
|
+
export { AlignWidget, ButtonsWidget, ArrayWidget, CheckboxWidget, FileWidget, IdWidget, PasswordWidget, QueryWidget, QuerySortOnWidget, QuerystringWidget, SchemaWidget, SelectWidget, TextareaWidget, TextWidget, TokenWidget, WysiwygWidget, UrlWidget, InternalUrlWidget, EmailWidget, NumberWidget, ImageSizeWidget, RegistryImageWidget, ReferenceWidget, ObjectBrowserWidget, ObjectWidget, ObjectListWidget, VocabularyTermsWidget, SelectMetadataWidget, SelectAutoComplete, ColorPickerWidget, DatetimeWidget, RecurrenceWidget, FormFieldWrapper } from "@plone/volto/components/manage/Widgets";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const Contents: import("@loadable/component").LoadableClassComponent<any>;
|
|
2
|
+
export declare const ContentsRenameModal: import("@loadable/component").LoadableComponent<any>;
|
|
3
|
+
export declare const ContentsBreadcrumbs: import("@loadable/component").LoadableComponent<any>;
|
|
4
|
+
export declare const ContentsIndexHeader: import("@loadable/component").LoadableClassComponent<any>;
|
|
5
|
+
export declare const ContentsItem: import("@loadable/component").LoadableClassComponent<any>;
|
|
6
|
+
export declare const ContentsUploadModal: import("@loadable/component").LoadableClassComponent<any>;
|
|
7
|
+
export declare const ContentsPropertiesModal: import("@loadable/component").LoadableComponent<any>;
|
|
8
|
+
export declare const ContentsWorkflowModal: import("@loadable/component").LoadableComponent<any>;
|
|
9
|
+
export declare const ContentsTagsModal: import("@loadable/component").LoadableComponent<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export default
|
|
2
|
-
declare function
|
|
1
|
+
export default RelationsListing;
|
|
2
|
+
declare function RelationsListing({ relationtype, query_source, query_target, potential_sources_path, potential_targets_path, }: {
|
|
3
3
|
relationtype: any;
|
|
4
4
|
query_source: any;
|
|
5
5
|
query_target: any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Controlpanels: any;
|
|
3
|
+
export declare const Controlpanel: 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>>>>;
|
|
4
|
+
export declare const RulesControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
5
|
+
export declare const AddRuleControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
6
|
+
export declare const EditRuleControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
7
|
+
export declare const ConfigureRuleControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
8
|
+
export declare const UsersControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
9
|
+
export declare const RenderUsers: import("@loadable/component").LoadableClassComponent<any>;
|
|
10
|
+
export declare const UserGroupMembershipControlPanel: import("@loadable/component").LoadableComponent<unknown>;
|
|
11
|
+
export declare const GroupsControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
12
|
+
export declare const RenderGroups: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
|
|
13
|
+
export declare const RelationsControlpanel: import("@loadable/component").LoadableComponent<unknown>;
|
|
14
|
+
export declare const AliasesControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
15
|
+
export declare const UndoControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
16
|
+
export declare const AddonsControlpanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
17
|
+
export declare const ContentType: import("@loadable/component").LoadableClassComponent<any>;
|
|
18
|
+
export declare const ContentTypeLayout: import("@loadable/component").LoadableClassComponent<any>;
|
|
19
|
+
export declare const ContentTypeSchema: import("@loadable/component").LoadableClassComponent<any>;
|
|
20
|
+
export declare const ContentTypes: import("@loadable/component").LoadableClassComponent<any>;
|
|
21
|
+
export declare const VersionOverview: import("@loadable/component").LoadableComponent<{
|
|
22
|
+
cmf_version: any;
|
|
23
|
+
debug_mode: any;
|
|
24
|
+
pil_version: any;
|
|
25
|
+
plone_version: any;
|
|
26
|
+
plone_restapi_version: any;
|
|
27
|
+
python_version: any;
|
|
28
|
+
zope_version: any;
|
|
29
|
+
}>;
|
|
30
|
+
export declare const UpgradeControlPanel: import("@loadable/component").LoadableClassComponent<any>;
|
|
31
|
+
export declare const ModerateComments: import("@loadable/component").LoadableClassComponent<any>;
|
|
32
|
+
export declare const DatabaseInformation: import("@loadable/component").LoadableClassComponent<any>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="jest" />
|
|
2
|
+
export declare const Field: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
|
|
3
|
+
export declare const InlineForm: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
|
|
4
|
+
export declare const ModalForm: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
|
|
5
|
+
export declare const UndoToolbar: jest.Mock<import("react/jsx-runtime").JSX.Element, [], any>;
|
|
6
|
+
export declare const BlocksToolbar: jest.Mock<import("react/jsx-runtime").JSX.Element, [], any>;
|
|
7
|
+
export declare const BlockDataForm: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
|
|
8
|
+
export declare const BlocksForm: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
|
|
9
|
+
export declare const Form: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
|