@plone/volto 18.0.0-alpha.6 → 18.0.0-alpha.8
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/.release-it.json +2 -3
- package/CHANGELOG.md +49 -0
- package/locales/ca/LC_MESSAGES/volto.po +930 -933
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +930 -931
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +930 -930
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +932 -936
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +930 -930
- package/locales/eu.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +930 -936
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +933 -943
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +930 -930
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +930 -933
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +930 -945
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +930 -933
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +930 -934
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +930 -930
- package/locales/ro.json +1 -1
- package/locales/volto.pot +932 -936
- package/locales/zh_CN/LC_MESSAGES/volto.po +930 -930
- package/locales/zh_CN.json +1 -1
- package/package.json +10 -8
- package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +7 -2
- package/src/components/manage/Contents/Contents.jsx +4 -8
- package/src/components/manage/LinksToItem/LinksToItem.jsx +22 -2
- package/src/components/manage/LinksToItem/LinksToItem.test.jsx +13 -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/components/manage/Widgets/ObjectBrowserWidget.jsx +13 -3
- package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +1 -1
- package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.test.jsx +1 -1
- package/src/config/Blocks.jsx +1 -1
- package/src/helpers/Blocks/Blocks.js +10 -2
- package/src/helpers/Blocks/Blocks.test.js +20 -0
- package/src/helpers/Extensions/withBlockSchemaEnhancer.js +3 -1
- package/src/server.jsx +1 -1
- package/theme/themes/pastanaga/extras/blocks.less +7 -0
- 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/Add/Add.d.ts +3 -2
- package/types/components/manage/Aliases/Aliases.d.ts +4 -1
- package/types/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.d.ts +3 -2
- package/types/components/manage/BlockChooser/BlockChooser.d.ts +2 -1
- package/types/components/manage/Blocks/Block/Edit.d.ts +5 -5
- 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/Grid/View.d.ts +1 -1
- package/types/components/manage/Blocks/Grid/templates.d.ts +1 -1
- package/types/components/manage/Blocks/HeroImageLeft/Edit.d.ts +4 -1
- package/types/components/manage/Blocks/Image/Edit.d.ts +3 -2
- package/types/components/manage/Blocks/Image/LayoutSchema.d.ts +36 -1
- package/types/components/manage/Blocks/Image/View.d.ts +3 -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/Listing/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/ListingBody.d.ts +3 -2
- package/types/components/manage/Blocks/Listing/View.d.ts +1 -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/SortOn.d.ts +1 -3
- package/types/components/manage/Blocks/Search/components/ViewSwitcher.d.ts +1 -3
- package/types/components/manage/Blocks/Search/schema.d.ts +1 -1
- package/types/components/manage/Blocks/Search/utils.d.ts +2 -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 +3 -5
- package/types/components/manage/Blocks/Text/Schema.d.ts +36 -1
- 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.test.d.ts +1 -0
- 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/Contents/Contents.d.ts +5 -4
- package/types/components/manage/Contents/ContentsTagsModal.stories.d.ts +0 -1
- package/types/components/manage/Contents/ContentsUploadModal.d.ts +4 -1
- package/types/components/manage/Controlpanels/AddonsControlpanel.d.ts +4 -1
- package/types/components/manage/Controlpanels/Aliases.d.ts +4 -1
- package/types/components/manage/Controlpanels/ContentType.d.ts +4 -1
- package/types/components/manage/Controlpanels/ContentTypeLayout.d.ts +4 -1
- package/types/components/manage/Controlpanels/ContentTypeSchema.d.ts +4 -1
- package/types/components/manage/Controlpanels/ContentTypes.d.ts +4 -1
- 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/DatabaseInformation.d.ts +4 -1
- package/types/components/manage/Controlpanels/Groups/GroupsControlpanel.d.ts +4 -1
- package/types/components/manage/Controlpanels/Groups/RenderGroups.d.ts +3 -2
- package/types/components/manage/Controlpanels/ModerateComments.d.ts +4 -1
- package/types/components/manage/Controlpanels/Relations/RelationsMatrix.d.ts +43 -1
- package/types/components/manage/Controlpanels/Rules/AddRule.d.ts +4 -1
- package/types/components/manage/Controlpanels/Rules/ConfigureRule.d.ts +4 -1
- package/types/components/manage/Controlpanels/Rules/EditRule.d.ts +4 -1
- package/types/components/manage/Controlpanels/Rules/Rules.d.ts +4 -1
- package/types/components/manage/Controlpanels/Rules/components/VariableModal.d.ts +4 -1
- package/types/components/manage/Controlpanels/UndoControlpanel.d.ts +4 -1
- package/types/components/manage/Controlpanels/UpgradeControlPanel.d.ts +4 -1
- package/types/components/manage/Controlpanels/Users/RenderUsers.d.ts +4 -1
- package/types/components/manage/Controlpanels/Users/UsersControlpanel.d.ts +4 -1
- package/types/components/manage/Display/Display.d.ts +3 -2
- package/types/components/manage/Edit/Edit.d.ts +6 -3
- package/types/components/manage/Form/BlocksToolbar.d.ts +5 -2
- package/types/components/manage/Form/Field.d.ts +3 -2
- package/types/components/manage/Form/Form.d.ts +1 -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 +3 -2
- package/types/components/manage/LinksToItem/LinksToItem.d.ts +3 -2
- package/types/components/manage/Multilingual/CompareLanguages.d.ts +2 -1
- package/types/components/manage/Multilingual/ManageTranslations.d.ts +43 -1
- package/types/components/manage/Pluggable/index.d.ts +8 -7
- package/types/components/manage/Preferences/PersonalPreferences.d.ts +4 -1
- package/types/components/manage/Rules/Rules.d.ts +4 -1
- package/types/components/manage/Sidebar/ObjectBrowser.d.ts +25 -2
- package/types/components/manage/Sidebar/ObjectBrowserBody.d.ts +4 -1
- package/types/components/manage/Sidebar/Sidebar.d.ts +2 -1
- package/types/components/manage/Sidebar/SidebarPortal.d.ts +2 -2
- package/types/components/manage/Toolbar/More.d.ts +3 -2
- package/types/components/manage/Toolbar/Toolbar.d.ts +4 -1
- package/types/components/manage/Toolbar/Types.d.ts +1 -20
- package/types/components/manage/Widgets/ArrayWidget.d.ts +5 -4
- package/types/components/manage/Widgets/CheckboxWidget.d.ts +3 -2
- package/types/components/manage/Widgets/ColorPickerWidget.d.ts +22 -21
- package/types/components/manage/Widgets/ColorPickerWidget.stories.d.ts +7 -8
- package/types/components/manage/Widgets/DatetimeWidget.d.ts +2 -2
- 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/IdWidget.d.ts +4 -1
- package/types/components/manage/Widgets/ImageSizeWidget.d.ts +3 -2
- package/types/components/manage/Widgets/InternalUrlWidget.d.ts +43 -1
- package/types/components/manage/Widgets/NumberWidget.d.ts +3 -2
- package/types/components/manage/Widgets/ObjectBrowserWidget.d.ts +9 -9
- package/types/components/manage/Widgets/PasswordWidget.d.ts +3 -2
- package/types/components/manage/Widgets/QueryWidget.d.ts +4 -4
- 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/Occurences.d.ts +3 -2
- package/types/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField.d.ts +3 -2
- package/types/components/manage/Widgets/ReferenceWidget.d.ts +4 -1
- package/types/components/manage/Widgets/RegistryImageWidget.d.ts +3 -2
- package/types/components/manage/Widgets/SchemaWidget.d.ts +3 -2
- package/types/components/manage/Widgets/SelectAutoComplete.d.ts +5 -4
- package/types/components/manage/Widgets/SelectWidget.d.ts +3 -2
- 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 +3 -2
- package/types/components/manage/Widgets/UrlWidget.d.ts +43 -1
- package/types/components/manage/Widgets/WysiwygWidget.d.ts +3 -2
- package/types/components/theme/App/App.d.ts +4 -4
- package/types/components/theme/AppExtras/AppExtras.d.ts +1 -1
- package/types/components/theme/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -2
- package/types/components/theme/Error/ErrorBoundary.d.ts +2 -2
- 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/Navigation/ContextNavigation.d.ts +1 -1
- package/types/components/theme/NotFound/NotFound.d.ts +1 -1
- package/types/components/theme/Pagination/Pagination.d.ts +3 -2
- package/types/components/theme/Search/Search.d.ts +6 -3
- package/types/components/theme/Sitemap/Sitemap.d.ts +4 -2
- package/types/components/theme/TsTest/TsTest.d.ts +11 -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 +2 -1
- package/types/components/theme/View/DefaultView.d.ts +3 -2
- package/types/components/theme/View/RenderBlocks.d.ts +1 -1
- package/types/components/theme/View/View.d.ts +4 -1
- package/types/components/theme/Widgets/ArrayWidget.d.ts +1 -1
- package/types/components/theme/Widgets/BooleanWidget.d.ts +3 -2
- package/types/components/theme/Widgets/DateWidget.d.ts +1 -1
- package/types/components/theme/Widgets/DatetimeWidget.d.ts +1 -1
- package/types/components/theme/Widgets/DescriptionWidget.d.ts +1 -1
- package/types/components/theme/Widgets/EmailWidget.d.ts +1 -1
- package/types/components/theme/Widgets/FileWidget.d.ts +1 -1
- package/types/components/theme/Widgets/ImageWidget.d.ts +1 -1
- package/types/components/theme/Widgets/PasswordWidget.d.ts +1 -1
- package/types/components/theme/Widgets/RelationWidget.d.ts +1 -1
- package/types/components/theme/Widgets/RelationsWidget.d.ts +1 -1
- package/types/components/theme/Widgets/RichTextWidget.d.ts +1 -1
- package/types/components/theme/Widgets/SelectWidget.d.ts +1 -1
- package/types/components/theme/Widgets/TextWidget.d.ts +1 -1
- package/types/components/theme/Widgets/TitleWidget.d.ts +1 -1
- package/types/components/theme/Widgets/TokenWidget.d.ts +1 -1
- package/types/components/theme/Widgets/UrlWidget.d.ts +1 -1
- package/types/config/Blocks.d.ts +20 -1
- package/types/config/Components.d.ts +3 -0
- package/types/config/ContentIcons.d.ts +7 -7
- package/types/config/ControlPanels.d.ts +21 -21
- package/types/config/RichTextEditor/index.d.ts +8 -5
- package/types/config/Views.d.ts +40 -11
- package/types/config/Widgets.d.ts +58 -4
- package/types/error.d.ts +3 -2
- package/types/helpers/AsyncConnect/AsyncConnect.d.ts +2 -2
- package/types/helpers/Blocks/Blocks.d.ts +3 -1
- package/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts +2 -2
- package/types/helpers/Helmet/Helmet.d.ts +71 -1
- package/types/helpers/Html/Html.d.ts +2 -2
- package/types/helpers/LanguageMap/LanguageMap.d.ts +1 -878
- package/types/helpers/Loadable/__mocks__/Loadable.d.ts +2 -2
- package/types/helpers/MessageLabels/MessageLabels.d.ts +1 -540
- package/types/helpers/ScrollToTop/ScrollToTop.d.ts +1 -1
- package/types/helpers/UndoManager/useUndoManager.d.ts +4 -4
- package/types/helpers/Url/Url.d.ts +3 -3
- package/types/helpers/Utils/Date.d.ts +2 -2
- 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/blocksClipboard/blocksClipboard.d.ts +1 -1
- package/types/reducers/index.d.ts +40 -0
- package/types/registry.d.ts +1 -0
- package/types/routes.d.ts +31 -3
- package/types/server.d.ts +1 -1
- package/types/storybook.d.ts +3 -3
- package/src/components/manage/Widgets/ColorPickerWidget.stories.jsx +0 -30
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import React, { Component } from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { compose } from 'redux';
|
|
9
|
-
import { compact, isArray, isEmpty, remove } from 'lodash';
|
|
9
|
+
import { compact, includes, isArray, isEmpty, remove } from 'lodash';
|
|
10
10
|
import { connect } from 'react-redux';
|
|
11
|
-
import { Label, Popup, Button } from 'semantic-ui-react';
|
|
11
|
+
import { Image, Label, Popup, Button } from 'semantic-ui-react';
|
|
12
12
|
import {
|
|
13
13
|
flattenToAppURL,
|
|
14
14
|
isInternalURL,
|
|
@@ -21,6 +21,7 @@ import withObjectBrowser from '@plone/volto/components/manage/Sidebar/ObjectBrow
|
|
|
21
21
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
22
22
|
import Icon from '@plone/volto/components/theme/Icon/Icon';
|
|
23
23
|
import FormFieldWrapper from '@plone/volto/components/manage/Widgets/FormFieldWrapper';
|
|
24
|
+
import config from '@plone/volto/registry';
|
|
24
25
|
|
|
25
26
|
import navTreeSVG from '@plone/volto/icons/nav.svg';
|
|
26
27
|
import clearSVG from '@plone/volto/icons/clear.svg';
|
|
@@ -122,7 +123,16 @@ export class ObjectBrowserWidgetComponent extends Component {
|
|
|
122
123
|
}
|
|
123
124
|
trigger={
|
|
124
125
|
<Label>
|
|
125
|
-
<div className="item-title">
|
|
126
|
+
<div className="item-title">
|
|
127
|
+
{includes(config.settings.imageObjects, item['@type']) ? (
|
|
128
|
+
<Image
|
|
129
|
+
size="small"
|
|
130
|
+
src={`${item['@id']}/@@images/image/thumb`}
|
|
131
|
+
/>
|
|
132
|
+
) : (
|
|
133
|
+
item.title
|
|
134
|
+
)}
|
|
135
|
+
</div>
|
|
126
136
|
<div>
|
|
127
137
|
{this.props.mode === 'multiple' && (
|
|
128
138
|
<Icon
|
|
@@ -746,7 +746,7 @@ class RecurrenceWidget extends Component {
|
|
|
746
746
|
id={`${fieldSet || 'field'}-${id}`}
|
|
747
747
|
>
|
|
748
748
|
<Grid>
|
|
749
|
-
<Grid.Row stretched>
|
|
749
|
+
<Grid.Row stretched verticalAlign="middle">
|
|
750
750
|
<Grid.Column width="4">
|
|
751
751
|
<div className="wrapper">
|
|
752
752
|
<label htmlFor={`field-${id}`}>{title}</label>
|
package/src/config/Blocks.jsx
CHANGED
|
@@ -642,13 +642,21 @@ export const buildStyleObjectFromData = (obj = {}, prefix = '') => {
|
|
|
642
642
|
// ...(() => {
|
|
643
643
|
// if (isObject(v)) {
|
|
644
644
|
// return Object.entries(
|
|
645
|
-
// buildStyleObjectFromData(
|
|
645
|
+
// buildStyleObjectFromData(
|
|
646
|
+
// v,
|
|
647
|
+
// `${k.endsWith(':noprefix') ? '' : `${prefix}${k}--`}`,
|
|
648
|
+
// ),
|
|
646
649
|
// );
|
|
647
650
|
// }
|
|
648
651
|
// return [styleDataToStyleObject(k, v, prefix)];
|
|
649
652
|
// })(),
|
|
650
653
|
...(isObject(v)
|
|
651
|
-
? Object.entries(
|
|
654
|
+
? Object.entries(
|
|
655
|
+
buildStyleObjectFromData(
|
|
656
|
+
v,
|
|
657
|
+
`${k.endsWith(':noprefix') ? '' : `${prefix}${k}--`}`, // We don't add a prefix if the key ends with the marker suffix
|
|
658
|
+
),
|
|
659
|
+
)
|
|
652
660
|
: [styleDataToStyleObject(k, v, prefix)]),
|
|
653
661
|
],
|
|
654
662
|
[],
|
|
@@ -1123,6 +1123,26 @@ describe('Blocks', () => {
|
|
|
1123
1123
|
'--nested--level2--foo': '#fff',
|
|
1124
1124
|
});
|
|
1125
1125
|
});
|
|
1126
|
+
|
|
1127
|
+
it('Supports multiple nested levels and optional inclusion of the name of the level', () => {
|
|
1128
|
+
const styles = {
|
|
1129
|
+
'--color': 'red',
|
|
1130
|
+
backgroundColor: '#AABBCC',
|
|
1131
|
+
'nested:noprefix': {
|
|
1132
|
+
l1: 'white',
|
|
1133
|
+
'--foo': 'white',
|
|
1134
|
+
level2: {
|
|
1135
|
+
'--foo': '#fff',
|
|
1136
|
+
bar: '#000',
|
|
1137
|
+
},
|
|
1138
|
+
},
|
|
1139
|
+
};
|
|
1140
|
+
expect(buildStyleObjectFromData(styles)).toEqual({
|
|
1141
|
+
'--color': 'red',
|
|
1142
|
+
'--foo': 'white',
|
|
1143
|
+
'--level2--foo': '#fff',
|
|
1144
|
+
});
|
|
1145
|
+
});
|
|
1126
1146
|
});
|
|
1127
1147
|
|
|
1128
1148
|
describe('getPreviousNextBlock', () => {
|
|
@@ -47,7 +47,7 @@ export const addExtensionFieldToSchema = ({
|
|
|
47
47
|
items,
|
|
48
48
|
intl,
|
|
49
49
|
title,
|
|
50
|
-
description,
|
|
50
|
+
description = '',
|
|
51
51
|
insertFieldToOrder = _addField,
|
|
52
52
|
}) => {
|
|
53
53
|
const _ = intl.formatMessage;
|
|
@@ -64,6 +64,8 @@ export const addExtensionFieldToSchema = ({
|
|
|
64
64
|
|
|
65
65
|
schema.properties[name] = {
|
|
66
66
|
title: _(title),
|
|
67
|
+
// TODO: is description sensible in here? The argument is not used anywhere
|
|
68
|
+
// description: _(description),
|
|
67
69
|
choices: items?.map(({ id, title }) => [
|
|
68
70
|
id,
|
|
69
71
|
_({ id: title, defaultMessage: title }),
|
package/src/server.jsx
CHANGED
|
@@ -239,7 +239,7 @@ server.get('/*', (req, res) => {
|
|
|
239
239
|
: store.getState().content.data?.language?.token ||
|
|
240
240
|
config.settings.defaultLanguage;
|
|
241
241
|
|
|
242
|
-
if (toBackendLang(initialLang) !== contentLang) {
|
|
242
|
+
if (toBackendLang(initialLang) !== contentLang && url !== '/') {
|
|
243
243
|
const newLang = toReactIntlLang(
|
|
244
244
|
new locale.Locales(contentLang).best(supported).toString(),
|
|
245
245
|
);
|
|
@@ -786,6 +786,7 @@ body.has-toolbar.has-sidebar-collapsed .ui.wrapper > .ui.inner.block.full {
|
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
.ui.form .ui.input input {
|
|
789
|
+
padding-left: 5px;
|
|
789
790
|
//reset for semantic-ui outline:none
|
|
790
791
|
border-width: @1px;
|
|
791
792
|
border-color: transparent;
|
|
@@ -1189,4 +1190,10 @@ body.has-toolbar.has-sidebar-collapsed .ui.wrapper > .ui.inner.block.full {
|
|
|
1189
1190
|
}
|
|
1190
1191
|
}
|
|
1191
1192
|
|
|
1193
|
+
// If using popperjs, we need also to set preference too to the
|
|
1194
|
+
// popperjs container. The sidebar container has 150, so it has to be higher.
|
|
1195
|
+
[data-popper-placement] {
|
|
1196
|
+
z-index: 200;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1192
1199
|
@import 'teaser';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"allowJs": true,
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"emitDeclarationOnly": true,
|
|
6
|
+
"outDir": "types",
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"jsx": "react-jsx",
|
|
10
|
+
"preserveSymlinks": true,
|
|
11
|
+
"paths": {
|
|
12
|
+
"@plone/volto/*": ["./src/*"],
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.tsx"],
|
|
16
|
+
}
|
|
@@ -81,7 +81,7 @@ export function lockContent(urls: string): any;
|
|
|
81
81
|
*/
|
|
82
82
|
export function unlockContent(urls: string | any[], force?: boolean): any;
|
|
83
83
|
export function linkIntegrityCheck(selection: any): {
|
|
84
|
-
type:
|
|
84
|
+
type: string;
|
|
85
85
|
mode: string;
|
|
86
86
|
request: {
|
|
87
87
|
op: string;
|
|
@@ -36,14 +36,14 @@ export function listControlpanels(): any;
|
|
|
36
36
|
*/
|
|
37
37
|
export function updateControlpanel(url: string, data: any): any;
|
|
38
38
|
export function getSystemInformation(): {
|
|
39
|
-
type:
|
|
39
|
+
type: string;
|
|
40
40
|
request: {
|
|
41
41
|
op: string;
|
|
42
42
|
path: string;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
export function getDatabaseInformation(): {
|
|
46
|
-
type:
|
|
46
|
+
type: string;
|
|
47
47
|
request: {
|
|
48
48
|
op: string;
|
|
49
49
|
path: string;
|
package/types/actions/index.d.ts
CHANGED
|
@@ -1,8 +1,44 @@
|
|
|
1
|
+
export { listActions } from "@plone/volto/actions/actions/actions";
|
|
2
|
+
export { getBreadcrumbs } from "@plone/volto/actions/breadcrumbs/breadcrumbs";
|
|
3
|
+
export { setExpandedToolbar } from "@plone/volto/actions/toolbar/toolbar";
|
|
4
|
+
export { getDiff } from "@plone/volto/actions/diff/diff";
|
|
5
|
+
export { emailNotification } from "@plone/volto/actions/emailNotification/emailNotification";
|
|
6
|
+
export { emailSend } from "@plone/volto/actions/emailSend/emailSend";
|
|
7
|
+
export { getNavigation } from "@plone/volto/actions/navigation/navigation";
|
|
8
|
+
export { rebuildRelations } from "@plone/volto/actions/relations/rebuild";
|
|
9
|
+
export { listRoles } from "@plone/volto/actions/roles/roles";
|
|
10
|
+
export { getTypes } from "@plone/volto/actions/types/types";
|
|
11
|
+
export { getQuerystring } from "@plone/volto/actions/querystring/querystring";
|
|
12
|
+
export { getQueryStringResults } from "@plone/volto/actions/querystringsearch/querystringsearch";
|
|
13
|
+
export { setSidebarTab } from "@plone/volto/actions/sidebar/sidebar";
|
|
14
|
+
export { loadLazyLibrary } from "@plone/volto/actions/lazyLibraries/lazyLibraries";
|
|
15
|
+
export { getContextNavigation } from "@plone/volto/actions/contextNavigation/contextNavigation";
|
|
16
|
+
export { authenticatedRole } from "@plone/volto/actions/authRole/authRole";
|
|
1
17
|
export * from "./asyncConnect/asyncConnect";
|
|
2
18
|
export { getUserSchema } from "./userschema/userschema";
|
|
3
19
|
export { getSite } from "./site/site";
|
|
4
20
|
export { getNavroot } from "./navroot/navroot";
|
|
21
|
+
export { copy, cut, copyContent, moveContent } from "@plone/volto/actions/clipboard/clipboard";
|
|
5
22
|
export { installAddon, listAddons, uninstallAddon, upgradeAddon } from "./addons/addons";
|
|
23
|
+
export { addComment, deleteComment, listComments, listMoreComments, updateComment } from "@plone/volto/actions/comments/comments";
|
|
24
|
+
export { createContent, deleteContent, updateContent, getContent, orderContent, sortContent, resetContent, updateColumnsContent, lockContent, unlockContent, linkIntegrityCheck } from "@plone/volto/actions/content/content";
|
|
25
|
+
export { getControlpanel, postControlpanel, deleteControlpanel, listControlpanels, updateControlpanel, getSystemInformation, getDatabaseInformation } from "@plone/volto/actions/controlpanels/controlpanels";
|
|
26
|
+
export { createGroup, deleteGroup, getGroup, listGroups, updateGroup } from "@plone/volto/actions/groups/groups";
|
|
27
|
+
export { getHistory, revertHistory } from "@plone/volto/actions/history/history";
|
|
28
|
+
export { getTransactions, revertTransactions } from "@plone/volto/actions/transactions/transactions";
|
|
29
|
+
export { addMessage, removeMessage, purgeMessages } from "@plone/volto/actions/messages/messages";
|
|
30
|
+
export { createRelations, deleteRelations, queryRelations, getRelationStats } from "@plone/volto/actions/relations/relations";
|
|
31
|
+
export { getSchema, postSchema, putSchema, updateSchema } from "@plone/volto/actions/schema/schema";
|
|
32
|
+
export { addRule, moveRuleCondition, moveRuleAction, getRules, enableRules, disableRules, applyRulesToSubfolders, unapplyRulesToSubfolders, removeRules, getControlPanelRule, getControlPanelRules, deleteControlPanelRule, getContentRulesEvents, addNewRule, editRule, removeCondition, addCondition, editCondition, getCondition, removeAction, addAction, editAction, getAction } from "@plone/volto/actions/rules/rules";
|
|
33
|
+
export { resetSearchContent, searchContent } from "@plone/volto/actions/search/search";
|
|
34
|
+
export { updateSharing, getSharing } from "@plone/volto/actions/sharing/sharing";
|
|
35
|
+
export { getAliases, addAliases, removeAliases } from "@plone/volto/actions/aliases/aliases";
|
|
36
|
+
export { createUser, deleteUser, getUser, listUsers, setInitialPassword, resetPassword, updatePassword, updateUser } from "@plone/volto/actions/users/users";
|
|
37
|
+
export { login, loginRenew, logout, resetLoginRequest } from "@plone/volto/actions/userSession/userSession";
|
|
38
|
+
export { getVocabulary, getVocabularyTokenTitle } from "@plone/volto/actions/vocabularies/vocabularies";
|
|
39
|
+
export { getWorkflow, transitionWorkflow } from "@plone/volto/actions/workflow/workflow";
|
|
40
|
+
export { deleteLinkTranslation, getTranslationLocator, linkTranslation } from "@plone/volto/actions/translations/translations";
|
|
41
|
+
export { setBlocksClipboard, resetBlocksClipboard } from "@plone/volto/actions/blocksClipboard/blocksClipboard";
|
|
6
42
|
export { changeLanguage, changeLanguageCookies } from "./language/language";
|
|
7
43
|
export { applyWorkingCopy, createWorkingCopy, removeWorkingCopy } from "./workingcopy/workingcopy";
|
|
8
44
|
export { getUpgradeInformation, runUpgrade } from "./upgrade/upgrade";
|
|
@@ -1,3 +1,183 @@
|
|
|
1
|
+
export { default as AppExtras } from "@plone/volto/components/theme/AppExtras/AppExtras";
|
|
2
|
+
export { default as Header } from "@plone/volto/components/theme/Header/Header";
|
|
3
|
+
export { default as Logo } from "@plone/volto/components/theme/Logo/Logo";
|
|
4
|
+
export { default as Anontools } from "@plone/volto/components/theme/Anontools/Anontools";
|
|
5
|
+
export { default as Navigation } from "@plone/volto/components/theme/Navigation/Navigation";
|
|
6
|
+
export { default as Breadcrumbs } from "@plone/volto/components/theme/Breadcrumbs/Breadcrumbs";
|
|
7
|
+
export { default as SearchWidget } from "@plone/volto/components/theme/SearchWidget/SearchWidget";
|
|
8
|
+
export { default as Footer } from "@plone/volto/components/theme/Footer/Footer";
|
|
9
|
+
export { default as Title } from "@plone/volto/components/theme/Title/Title";
|
|
10
|
+
export { default as DefaultView } from "@plone/volto/components/theme/View/DefaultView";
|
|
11
|
+
export { default as Pagination } from "@plone/volto/components/theme/Pagination/Pagination";
|
|
12
|
+
export { default as Tags } from "@plone/volto/components/theme/Tags/Tags";
|
|
13
|
+
export { default as OutdatedBrowser } from "@plone/volto/components/theme/OutdatedBrowser/OutdatedBrowser";
|
|
14
|
+
export { default as LanguageSelector } from "@plone/volto/components/theme/LanguageSelector/LanguageSelector";
|
|
15
|
+
export { default as RenderBlocks } from "@plone/volto/components/theme/View/RenderBlocks";
|
|
16
|
+
export { default as SkipLinks } from "@plone/volto/components/theme/SkipLinks/SkipLinks";
|
|
17
|
+
export { default as EventDetails } from "@plone/volto/components/theme/EventDetails/EventDetails";
|
|
18
|
+
export { default as PreviewImage } from "@plone/volto/components/theme/PreviewImage/PreviewImage";
|
|
19
|
+
export { default as Error } from "@plone/volto/components/theme/Error/Error";
|
|
20
|
+
export { default as ErrorBoundary } from "@plone/volto/components/theme/Error/ErrorBoundary";
|
|
21
|
+
export { default as NotFound } from "@plone/volto/components/theme/NotFound/NotFound";
|
|
22
|
+
export { default as Forbidden } from "@plone/volto/components/theme/Forbidden/Forbidden";
|
|
23
|
+
export { default as Unauthorized } from "@plone/volto/components/theme/Unauthorized/Unauthorized";
|
|
24
|
+
export { default as Avatar } from "@plone/volto/components/theme/Avatar/Avatar";
|
|
25
|
+
export { default as Icon } from "@plone/volto/components/theme/Icon/Icon";
|
|
26
|
+
export { default as Image } from "@plone/volto/components/theme/Image/Image";
|
|
27
|
+
export { default as ConditionalLink } from "@plone/volto/components/manage/ConditionalLink/ConditionalLink";
|
|
28
|
+
export { default as UniversalLink } from "@plone/volto/components/manage/UniversalLink/UniversalLink";
|
|
29
|
+
export { default as LinkMore } from "@plone/volto/components/manage/LinkMore/LinkMore";
|
|
30
|
+
export { default as ContactForm } from "@plone/volto/components/theme/ContactForm/ContactForm";
|
|
31
|
+
export { default as Login } from "@plone/volto/components/theme/Login/Login";
|
|
32
|
+
export { default as Logout } from "@plone/volto/components/theme/Logout/Logout";
|
|
33
|
+
export { default as Sitemap } from "@plone/volto/components/theme/Sitemap/Sitemap";
|
|
34
|
+
export { default as Search } from "@plone/volto/components/theme/Search/Search";
|
|
35
|
+
export { default as Comments } from "@plone/volto/components/theme/Comments/Comments";
|
|
36
|
+
export { default as SocialSharing } from "@plone/volto/components/theme/SocialSharing/SocialSharing";
|
|
37
|
+
export { default as Register } from "@plone/volto/components/theme/Register/Register";
|
|
38
|
+
export { default as PasswordReset } from "@plone/volto/components/theme/PasswordReset/PasswordReset";
|
|
39
|
+
export { default as RequestPasswordReset } from "@plone/volto/components/theme/PasswordReset/RequestPasswordReset";
|
|
40
|
+
export { default as ChangePassword } from "@plone/volto/components/manage/Preferences/ChangePassword";
|
|
41
|
+
export { default as PersonalPreferences } from "@plone/volto/components/manage/Preferences/PersonalPreferences";
|
|
42
|
+
export { default as PersonalInformation } from "@plone/volto/components/manage/Preferences/PersonalInformation";
|
|
43
|
+
export { default as CreateTranslation } from "@plone/volto/components/manage/Multilingual/CreateTranslation";
|
|
44
|
+
export { default as TranslationObject } from "@plone/volto/components/manage/Multilingual/TranslationObject";
|
|
45
|
+
export { default as CompareLanguages } from "@plone/volto/components/manage/Multilingual/CompareLanguages";
|
|
46
|
+
export { default as FileView } from "@plone/volto/components/theme/View/FileView";
|
|
47
|
+
export { default as ImageView } from "@plone/volto/components/theme/View/ImageView";
|
|
48
|
+
export { default as NewsItemView } from "@plone/volto/components/theme/View/NewsItemView";
|
|
1
49
|
export const EventView: any;
|
|
50
|
+
export { default as ListingView } from "@plone/volto/components/theme/View/ListingView";
|
|
51
|
+
export { default as SummaryView } from "@plone/volto/components/theme/View/SummaryView";
|
|
52
|
+
export { default as TabularView } from "@plone/volto/components/theme/View/TabularView";
|
|
53
|
+
export { default as AlbumView } from "@plone/volto/components/theme/View/AlbumView";
|
|
54
|
+
export { default as Actions } from "@plone/volto/components/manage/Actions/Actions";
|
|
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
|
+
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
|
+
export { default as Delete } from "@plone/volto/components/manage/Delete/Delete";
|
|
81
|
+
export { default as Diff } from "@plone/volto/components/manage/Diff/Diff";
|
|
82
|
+
export { default as Display } from "@plone/volto/components/manage/Display/Display";
|
|
83
|
+
export { default as Edit } from "@plone/volto/components/manage/Edit/Edit";
|
|
84
|
+
export { default as ModalForm } from "@plone/volto/components/manage/Form/ModalForm";
|
|
85
|
+
export { default as History } from "@plone/volto/components/manage/History/History";
|
|
86
|
+
export { default as Sharing } from "@plone/volto/components/manage/Sharing/Sharing";
|
|
87
|
+
export { default as Rules } from "@plone/volto/components/manage/Rules/Rules";
|
|
88
|
+
export { default as Aliases } from "@plone/volto/components/manage/Aliases/Aliases";
|
|
89
|
+
export { default as LinksToItem } from "@plone/volto/components/manage/LinksToItem/LinksToItem";
|
|
90
|
+
export { default as Workflow } from "@plone/volto/components/manage/Workflow/Workflow";
|
|
91
|
+
export { default as Messages } from "@plone/volto/components/manage/Messages/Messages";
|
|
92
|
+
export { default as BlockChooser } from "@plone/volto/components/manage/BlockChooser/BlockChooser";
|
|
93
|
+
export { default as BlockChooserButton } from "@plone/volto/components/manage/BlockChooser/BlockChooserButton";
|
|
94
|
+
export { default as Toolbar } from "@plone/volto/components/manage/Toolbar/Toolbar";
|
|
95
|
+
export { default as Sidebar } from "@plone/volto/components/manage/Sidebar/Sidebar";
|
|
96
|
+
export { default as SidebarPopup } from "@plone/volto/components/manage/Sidebar/SidebarPopup";
|
|
97
|
+
export { default as SidebarPortal } from "@plone/volto/components/manage/Sidebar/SidebarPortal";
|
|
98
|
+
export { default as PersonalTools } from "@plone/volto/components/manage/Toolbar/PersonalTools";
|
|
99
|
+
export { default as More } from "@plone/volto/components/manage/Toolbar/More";
|
|
100
|
+
export { default as Types } from "@plone/volto/components/manage/Toolbar/Types";
|
|
101
|
+
export { default as Toast } from "@plone/volto/components/manage/Toast/Toast";
|
|
102
|
+
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
|
+
export { default as SearchTags } from "@plone/volto/components/theme/Search/SearchTags";
|
|
108
|
+
export { default as CommentEditModal } from "@plone/volto/components/theme/Comments/CommentEditModal";
|
|
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";
|
|
120
|
+
export { default as DragDropList } from "@plone/volto/components/manage/DragDropList/DragDropList";
|
|
121
|
+
export { default as InlineForm } from "@plone/volto/components/manage/Form/InlineForm";
|
|
122
|
+
export { default as BlocksForm } from "@plone/volto/components/manage/Blocks/Block/BlocksForm";
|
|
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";
|
|
2
127
|
export const DatetimeWidget: any;
|
|
3
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 WysiwygWidget } from "@plone/volto/components/manage/Widgets/WysiwygWidget";
|
|
139
|
+
export { default as ObjectWidget } from "@plone/volto/components/manage/Widgets/ObjectWidget";
|
|
140
|
+
export { default as ObjectListWidget } from "@plone/volto/components/manage/Widgets/ObjectListWidget";
|
|
141
|
+
export { default as EditDefaultBlock } from "@plone/volto/components/manage/Blocks/Block/DefaultEdit";
|
|
142
|
+
export { default as EditDescriptionBlock } from "@plone/volto/components/manage/Blocks/Description/Edit";
|
|
143
|
+
export { default as EditTitleBlock } from "@plone/volto/components/manage/Blocks/Title/Edit";
|
|
144
|
+
export { default as EditToCBlock } from "@plone/volto/components/manage/Blocks/ToC/Edit";
|
|
145
|
+
export { default as EditTextBlock } from "@plone/volto/components/manage/Blocks/Text/Edit";
|
|
146
|
+
export { default as EditImageBlock } from "@plone/volto/components/manage/Blocks/Image/Edit";
|
|
147
|
+
export { default as EditListingBlock } from "@plone/volto/components/manage/Blocks/Listing/Edit";
|
|
148
|
+
export { default as EditVideoBlock } from "@plone/volto/components/manage/Blocks/Video/Edit";
|
|
149
|
+
export { default as EditBlock } from "@plone/volto/components/manage/Blocks/Block/Edit";
|
|
150
|
+
export { default as EditHeroImageLeftBlock } from "@plone/volto/components/manage/Blocks/HeroImageLeft/Edit";
|
|
151
|
+
export { default as ViewHeroImageLeftBlock } from "@plone/volto/components/manage/Blocks/HeroImageLeft/View";
|
|
152
|
+
export { default as EditMapBlock } from "@plone/volto/components/manage/Blocks/Maps/Edit";
|
|
153
|
+
export { default as EditHTMLBlock } from "@plone/volto/components/manage/Blocks/HTML/Edit";
|
|
154
|
+
export { default as ViewDefaultBlock } from "@plone/volto/components/manage/Blocks/Block/DefaultView";
|
|
155
|
+
export { default as ViewDescriptionBlock } from "@plone/volto/components/manage/Blocks/Description/View";
|
|
156
|
+
export { default as ViewTitleBlock } from "@plone/volto/components/manage/Blocks/Title/View";
|
|
157
|
+
export { default as ViewToCBlock } from "@plone/volto/components/manage/Blocks/ToC/View";
|
|
158
|
+
export { default as ViewTextBlock } from "@plone/volto/components/manage/Blocks/Text/View";
|
|
159
|
+
export { default as ViewImageBlock } from "@plone/volto/components/manage/Blocks/Image/View";
|
|
160
|
+
export { default as ViewListingBlock } from "@plone/volto/components/manage/Blocks/Listing/View";
|
|
161
|
+
export { default as ViewVideoBlock } from "@plone/volto/components/manage/Blocks/Video/View";
|
|
162
|
+
export { default as ViewMapBlock } from "@plone/volto/components/manage/Blocks/Maps/View";
|
|
163
|
+
export { default as ViewHTMLBlock } from "@plone/volto/components/manage/Blocks/HTML/View";
|
|
164
|
+
export { default as ListingBlockBody } from "@plone/volto/components/manage/Blocks/Listing/ListingBody";
|
|
165
|
+
export { default as ListingBlockData } from "@plone/volto/components/manage/Blocks/Listing/ListingData";
|
|
166
|
+
export { default as ImageSidebar } from "@plone/volto/components/manage/Blocks/Image/ImageSidebar";
|
|
167
|
+
export { default as MapsSidebar } from "@plone/volto/components/manage/Blocks/Maps/MapsSidebar";
|
|
168
|
+
export { default as VideoSidebar } from "@plone/volto/components/manage/Blocks/Video/VideoSidebar";
|
|
169
|
+
export { default as LeadImageSidebar } from "@plone/volto/components/manage/Blocks/LeadImage/LeadImageSidebar";
|
|
170
|
+
export { default as Style } from "@plone/volto/components/manage/Blocks/Block/Style";
|
|
171
|
+
export { default as BlockSettingsSidebar } from "@plone/volto/components/manage/Blocks/Block/Settings";
|
|
172
|
+
export { default as BlockSettingsSchema } from "@plone/volto/components/manage/Blocks/Block/Schema";
|
|
173
|
+
export { default as TextSettingsSchema } from "@plone/volto/components/manage/Blocks/Text/Schema";
|
|
174
|
+
export { default as ImageSettingsSchema } from "@plone/volto/components/manage/Blocks/Image/LayoutSchema";
|
|
175
|
+
export { default as ToCSettingsSchema } from "@plone/volto/components/manage/Blocks/ToC/Schema";
|
|
176
|
+
export { default as MaybeWrap } from "@plone/volto/components/manage/MaybeWrap/MaybeWrap";
|
|
177
|
+
export { default as ContentMetadataTags } from "@plone/volto/components/theme/ContentMetadataTags/ContentMetadataTags";
|
|
178
|
+
export { default as FormattedDate } from "@plone/volto/components/theme/FormattedDate/FormattedDate";
|
|
179
|
+
export { default as FormattedRelativeDate } from "@plone/volto/components/theme/FormattedDate/FormattedRelativeDate";
|
|
180
|
+
export { default as Popup } from "@plone/volto/components/theme/Popup/Popup";
|
|
181
|
+
export { default as Component } from "@plone/volto/components/theme/Component/Component";
|
|
182
|
+
export { default as App } from "@plone/volto/components/theme/App/App";
|
|
183
|
+
export { default as ObjectBrowserWidget, default as ObjectBrowserWidgetMode } from "@plone/volto/components/manage/Widgets/ObjectBrowserWidget";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
1
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
3
|
+
};
|
|
2
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
1
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @class Edit
|
|
4
4
|
* @extends Component
|
|
5
5
|
*/
|
|
6
|
-
export class Edit extends Component<any, any, any> {
|
|
6
|
+
export class Edit extends React.Component<any, any, any> {
|
|
7
7
|
/**
|
|
8
8
|
* Property types.
|
|
9
9
|
* @property {Object} propTypes Property types.
|
|
@@ -36,7 +36,7 @@ export class Edit extends Component<any, any, any> {
|
|
|
36
36
|
constructor(props: any, context: any);
|
|
37
37
|
componentDidMount(): void;
|
|
38
38
|
UNSAFE_componentWillReceiveProps(nextProps: any): void;
|
|
39
|
-
blockNode: any
|
|
39
|
+
blockNode: React.RefObject<any>;
|
|
40
40
|
/**
|
|
41
41
|
* Render method.
|
|
42
42
|
* @method render
|
|
@@ -44,8 +44,8 @@ export class Edit extends Component<any, any, any> {
|
|
|
44
44
|
*/
|
|
45
45
|
render(): string;
|
|
46
46
|
}
|
|
47
|
-
declare const _default:
|
|
48
|
-
WrappedComponent:
|
|
47
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
|
|
48
|
+
WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
49
49
|
};
|
|
50
50
|
export default _default;
|
|
51
|
-
import
|
|
51
|
+
import React from 'react';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
1
|
+
declare const _default: React.FC<import("react-intl").WithIntlProps<any>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<any>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
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,2 +1,2 @@
|
|
|
1
|
-
declare const _default: any;
|
|
1
|
+
declare const _default: (props: any) => JSX.Element;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
3
|
+
};
|
|
2
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
WrappedComponent:
|
|
1
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & React.RefAttributes<React.ComponentType<import("react-intl").WrappedComponentProps<string>>>> & {
|
|
2
|
+
WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
+
import React from 'react';
|