design-comuni-plone-theme 11.19.0 → 11.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +22 -0
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Blocks/Accordion/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/Accordion/index.js +16 -0
- package/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx +2 -4
- package/src/components/ItaliaTheme/Blocks/Alert/index.js +16 -0
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/BandiSearch/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/BandiSearch/index.js +16 -0
- package/src/components/ItaliaTheme/Blocks/Break/index.js +10 -0
- package/src/components/ItaliaTheme/Blocks/CTABlock/Edit.jsx +2 -2
- package/src/components/ItaliaTheme/Blocks/CTABlock/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/Calendar/Edit.jsx +2 -6
- package/src/components/ItaliaTheme/Blocks/Calendar/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/Common/SearchFilters/SelectFilter.jsx +6 -4
- package/src/components/ItaliaTheme/Blocks/ContactsBlock/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/ContactsBlock/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/CountDown/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/CountDown/index.js +16 -0
- package/src/components/ItaliaTheme/Blocks/EventSearch/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/EventSearch/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/HighlightedContent/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/HighlightedContent/getAsyncData.js +10 -0
- package/src/components/ItaliaTheme/Blocks/HighlightedContent/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/IconBlocks/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/IconBlocks/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx +2 -2
- package/src/components/ItaliaTheme/Blocks/NumbersBlock/Sidebar.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/NumbersBlock/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/SearchSections/Edit.jsx +3 -5
- package/src/components/ItaliaTheme/Blocks/SearchSections/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/TextCard/index.js +23 -0
- package/src/components/ItaliaTheme/Blocks/UOSearch/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/UOSearch/index.js +17 -0
- package/src/components/ItaliaTheme/Blocks/VideoGallery/Edit.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/VideoGallery/index.js +17 -0
- package/src/components/ItaliaTheme/Icons/FontAwesomeIcon.jsx +8 -7
- package/src/components/ItaliaTheme/Icons/Icon.jsx +1 -1
- package/src/components/ItaliaTheme/View/BandoView/index.js +68 -0
- package/src/components/ItaliaTheme/View/CartellaModulisticaView/index.js +20 -0
- package/src/components/ItaliaTheme/View/Commons/index.jsx +358 -20
- package/src/components/ItaliaTheme/View/DocumentoView/index.js +68 -0
- package/src/components/ItaliaTheme/View/EventoView/index.js +74 -0
- package/src/components/ItaliaTheme/View/FAQ/FaqFolder/index.js +32 -0
- package/src/components/ItaliaTheme/View/FAQ/FaqView/index.js +20 -0
- package/src/components/ItaliaTheme/View/IncaricoView/index.js +26 -0
- package/src/components/ItaliaTheme/View/ModuloView/index.js +44 -0
- package/src/components/ItaliaTheme/View/NewsItemView/index.js +62 -0
- package/src/components/ItaliaTheme/View/PageView/index.js +26 -0
- package/src/components/ItaliaTheme/View/PaginaArgomentoView/index.js +26 -0
- package/src/components/ItaliaTheme/View/PersonaView/index.js +44 -0
- package/src/components/ItaliaTheme/View/PuntoDiContattoView/index.js +26 -0
- package/src/components/ItaliaTheme/View/ServizioView/index.js +152 -0
- package/src/components/ItaliaTheme/View/TrasparenzaView/index.js +20 -0
- package/src/components/ItaliaTheme/View/UOView/index.js +86 -0
- package/src/components/ItaliaTheme/View/VenueView/index.js +86 -0
- package/src/components/ItaliaTheme/View/index.js +255 -203
- package/src/components/ItaliaTheme/index.js +43 -15
- package/src/components/ItaliaTheme/manage/Widgets/IconWidget.jsx +1 -1
- package/src/components/ItaliaTheme/manage/Widgets/index.js +94 -0
- package/src/config/Blocks/blocks.js +87 -49
- package/src/config/Views/views.js +20 -20
- package/src/config/Widgets/widgets.js +12 -10
- package/src/config/italiaConfig.js +23 -21
- package/src/config/loadables.js +5 -0
- package/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx +6 -1
- package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +31 -14
- package/src/customizations/volto/components/theme/Search/Search.jsx +6 -1
- package/src/customizations/volto-feedback/components/FeedbackForm/Steps/{Commons.jsx → Commons/FormHeader.jsx} +2 -1
- package/src/helpers/IconWidget/IconAliasHelper.js +2 -1
- package/src/helpers/index.js +1 -2
- package/src/icons/index.js +161 -0
- /package/src/components/ItaliaTheme/View/{__tests__/CartellaModulisticaView.test.jsx → __disabled_tests__/CartellaModulisticaView.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ModuloView.test.jsx → __disabled_tests__/ModuloView.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/PersonaView.test.jsx → __disabled_tests__/PersonaView.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioAChiSiRivolge.test.jsx → __disabled_tests__/ServizioAChiSiRivolge.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioAccedi.test.jsx → __disabled_tests__/ServizioAccedi.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioCasiParticolari.test.jsx → __disabled_tests__/ServizioCasiParticolari.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioComeFare.test.jsx → __disabled_tests__/ServizioComeFare.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioCondizioni.test.jsx → __disabled_tests__/ServizioCondizioni.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioContatti.test.jsx → __disabled_tests__/ServizioContatti.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioCosE.test.jsx → __disabled_tests__/ServizioCosE.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioCosaServe.test.jsx → __disabled_tests__/ServizioCosaServe.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioCosaSiOttiene.test.jsx → __disabled_tests__/ServizioCosaSiOttiene.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioCostiVincoli.test.jsx → __disabled_tests__/ServizioCostiVincoli.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioMetadati.test.jsx → __disabled_tests__/ServizioMetadati.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioModulistica.test.jsx → __disabled_tests__/ServizioModulistica.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioProcedure.test.jsx → __disabled_tests__/ServizioProcedure.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioSitiEsterni.test.jsx → __disabled_tests__/ServizioSitiEsterni.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioTempiScadenze.test.jsx → __disabled_tests__/ServizioTempiScadenze.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/ServizioUlterioriInformazioni.test.jsx → __disabled_tests__/ServizioUlterioriInformazioni.test__disabled.jsx} +0 -0
- /package/src/components/ItaliaTheme/View/{__tests__/TrasparenzaView.test.jsx → __disabled_tests__/TrasparenzaView.test__disabled.jsx} +0 -0
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.20.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.19.0...v11.20.0) (2024-08-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* added option to pass static choices and isClearable to select filter ([f67acda](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f67acdaee5b06ab615b8338bc286ae01c02b7fd4))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* added new variable to set bg null ([#737](https://github.com/RedTurtle/design-comuni-plone-theme/issues/737)) ([5be0842](https://github.com/RedTurtle/design-comuni-plone-theme/commit/5be08427dc62200440cc0d3771c0a400e2871bab))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Maintenance
|
|
17
|
+
|
|
18
|
+
* set the ground for performance improvements ([#659](https://github.com/RedTurtle/design-comuni-plone-theme/issues/659)) ([e5951a2](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e5951a22e51acf9f5deca0d12c848ee335e850fa))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Documentation
|
|
22
|
+
|
|
23
|
+
* updated publiccode ([53523eb](https://github.com/RedTurtle/design-comuni-plone-theme/commit/53523eb3a968c2102bf7dcc4025518fe6fe343c5))
|
|
24
|
+
|
|
3
25
|
## [11.19.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.18.3...v11.19.0) (2024-08-01)
|
|
4
26
|
|
|
5
27
|
|
package/package.json
CHANGED
package/publiccode.yml
CHANGED
|
@@ -227,9 +227,9 @@ maintenance:
|
|
|
227
227
|
name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
|
|
228
228
|
platforms:
|
|
229
229
|
- web
|
|
230
|
-
releaseDate: '2024-08-
|
|
230
|
+
releaseDate: '2024-08-06'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.
|
|
232
|
+
softwareVersion: 11.20.0
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from 'volto-subblocks';
|
|
15
15
|
|
|
16
16
|
import { SidebarPortal } from '@plone/volto/components';
|
|
17
|
-
import Sidebar from '
|
|
17
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Accordion';
|
|
18
18
|
|
|
19
19
|
import { defineMessages } from 'react-intl';
|
|
20
20
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export AccordionView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Accordion/View';
|
|
4
|
+
|
|
5
|
+
export const AccordionEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Accordion/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
export const Sidebar = loadable(
|
|
12
|
+
() =>
|
|
13
|
+
import(
|
|
14
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Accordion/Sidebar'
|
|
15
|
+
),
|
|
16
|
+
);
|
|
@@ -15,10 +15,8 @@ import { createContent } from '@plone/volto/actions';
|
|
|
15
15
|
import { SidebarPortal } from '@plone/volto/components';
|
|
16
16
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
17
17
|
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
TextEditorWidget,
|
|
21
|
-
} from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
18
|
+
import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
19
|
+
import { Sidebar as AlertSidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Alert';
|
|
22
20
|
|
|
23
21
|
const messages = defineMessages({
|
|
24
22
|
content_placeholder: {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export AlertView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Alert/View';
|
|
4
|
+
|
|
5
|
+
export const AlertEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Alert/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
export const Sidebar = loadable(
|
|
12
|
+
() =>
|
|
13
|
+
import(
|
|
14
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Alert/Sidebar'
|
|
15
|
+
),
|
|
16
|
+
);
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
SubblocksWrapper,
|
|
10
10
|
} from 'volto-subblocks';
|
|
11
11
|
import { SidebarPortal } from '@plone/volto/components';
|
|
12
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ArgumentsInEvidence
|
|
12
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ArgumentsInEvidence';
|
|
13
13
|
import { ArgumentsInEvidenceBackground } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
14
14
|
|
|
15
15
|
class Edit extends SubblocksEdit {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export ArgumentsInEvidenceView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ArgumentsInEvidence/View';
|
|
4
|
+
|
|
5
|
+
export const ArgumentsInEvidenceEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import Body from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/BandiSearch/Body';
|
|
4
4
|
import { SidebarPortal } from '@plone/volto/components';
|
|
5
5
|
import { getBaseUrl } from '@plone/volto/helpers';
|
|
6
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/BandiSearch
|
|
6
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/BandiSearch';
|
|
7
7
|
import { useIntl, defineMessages } from 'react-intl';
|
|
8
8
|
|
|
9
9
|
const messages = defineMessages({
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export BandiSearchView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/BandiSearch/View';
|
|
4
|
+
|
|
5
|
+
export const BandiSearchEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/BandiSearch/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
export const Sidebar = loadable(
|
|
12
|
+
() =>
|
|
13
|
+
import(
|
|
14
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/BandiSearch/Sidebar'
|
|
15
|
+
),
|
|
16
|
+
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export ViewBreak from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Break/View';
|
|
4
|
+
|
|
5
|
+
export const EditBreak = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Break/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { SidebarPortal } from '@plone/volto/components';
|
|
8
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock
|
|
9
|
-
import BodyWrapper from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/BodyWrapper
|
|
8
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock';
|
|
9
|
+
import BodyWrapper from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/BodyWrapper';
|
|
10
10
|
import Block from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/Block';
|
|
11
11
|
|
|
12
12
|
class Edit extends React.Component {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export CTABlockView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/View';
|
|
4
|
+
|
|
5
|
+
export const CTABlockEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import Body from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Calendar/Body';
|
|
4
4
|
import { SidebarPortal } from '@plone/volto/components';
|
|
5
5
|
import { getBaseUrl } from '@plone/volto/helpers';
|
|
6
|
-
import
|
|
6
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Calendar';
|
|
7
7
|
|
|
8
8
|
const Edit = ({ data, block, onChangeBlock, selected, pathname }) => {
|
|
9
9
|
return (
|
|
@@ -16,11 +16,7 @@ const Edit = ({ data, block, onChangeBlock, selected, pathname }) => {
|
|
|
16
16
|
onChangeBlock={onChangeBlock}
|
|
17
17
|
/>
|
|
18
18
|
<SidebarPortal selected={selected}>
|
|
19
|
-
<
|
|
20
|
-
data={data}
|
|
21
|
-
block={block}
|
|
22
|
-
onChangeBlock={onChangeBlock}
|
|
23
|
-
/>
|
|
19
|
+
<Sidebar data={data} block={block} onChangeBlock={onChangeBlock} />
|
|
24
20
|
</SidebarPortal>
|
|
25
21
|
</div>
|
|
26
22
|
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export CalendarView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Calendar/View';
|
|
4
|
+
|
|
5
|
+
export const CalendarEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Calendar/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Calendar/ListingSidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -56,9 +56,11 @@ const SelectFilter = ({
|
|
|
56
56
|
}
|
|
57
57
|
}, []);
|
|
58
58
|
|
|
59
|
-
const select_options = options?.
|
|
60
|
-
?
|
|
61
|
-
:
|
|
59
|
+
const select_options = options?.choices
|
|
60
|
+
? options.choices
|
|
61
|
+
: options?.vocabulary
|
|
62
|
+
? vocabularies?.[options.vocabulary]?.items
|
|
63
|
+
: selectOptions;
|
|
62
64
|
|
|
63
65
|
return (
|
|
64
66
|
<div className="me-lg-3 my-2 my-lg-1 filter-wrapper select-filter">
|
|
@@ -70,7 +72,7 @@ const SelectFilter = ({
|
|
|
70
72
|
onChange(id, opt);
|
|
71
73
|
}}
|
|
72
74
|
options={select_options?.filter((opt) => !!opt.value?.toString()) ?? []}
|
|
73
|
-
isClearable={true}
|
|
75
|
+
isClearable={options?.isClearable ?? true}
|
|
74
76
|
isSearchable={isSearchable}
|
|
75
77
|
// components={{
|
|
76
78
|
// ClearIndicator: (props) => {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
20
20
|
|
|
21
21
|
import EditBlock from './Block/EditBlock';
|
|
22
|
-
import Sidebar from '
|
|
22
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ContactsBlock';
|
|
23
23
|
|
|
24
24
|
const messages = defineMessages({
|
|
25
25
|
addItem: {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export ContactsBlockView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ContactsBlock/View';
|
|
4
|
+
|
|
5
|
+
export const ContactsBlockEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ContactsBlock/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ContactsBlock/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -6,7 +6,7 @@ import { SidebarPortal } from '@plone/volto/components';
|
|
|
6
6
|
import { addAppURL, flattenToAppURL } from '@plone/volto/helpers';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
9
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CountDown
|
|
9
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CountDown';
|
|
10
10
|
import CountDown from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CountDown/CountDown';
|
|
11
11
|
|
|
12
12
|
const messages = defineMessages({
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export CountDownBlockView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CountDown/View';
|
|
4
|
+
|
|
5
|
+
export const CountDownBlockEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CountDown/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
export const Sidebar = loadable(
|
|
12
|
+
() =>
|
|
13
|
+
import(
|
|
14
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CountDown/Sidebar'
|
|
15
|
+
),
|
|
16
|
+
);
|
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import Body from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/EventSearch/Body';
|
|
4
4
|
import { SidebarPortal } from '@plone/volto/components';
|
|
5
5
|
import { getBaseUrl } from '@plone/volto/helpers';
|
|
6
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/EventSearch
|
|
6
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/EventSearch';
|
|
7
7
|
import { useIntl, defineMessages } from 'react-intl';
|
|
8
8
|
|
|
9
9
|
const messages = defineMessages({
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export EventSearchView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/EventSearch/View';
|
|
4
|
+
|
|
5
|
+
export const EventSearchEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/EventSearch/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/EventSearch/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -8,7 +8,7 @@ import { SidebarPortal } from '@plone/volto/components';
|
|
|
8
8
|
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
9
9
|
|
|
10
10
|
import Body from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HighlightedContent/Body';
|
|
11
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HighlightedContent
|
|
11
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HighlightedContent';
|
|
12
12
|
|
|
13
13
|
const messages = defineMessages({
|
|
14
14
|
emptySelection: {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getContent } from '@plone/volto/actions';
|
|
2
|
+
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
3
|
+
|
|
4
|
+
export default function getHiglitedContentAsyncData(props) {
|
|
5
|
+
const { data, id, dispatch } = props;
|
|
6
|
+
|
|
7
|
+
const subrequestID = id;
|
|
8
|
+
|
|
9
|
+
return [dispatch(getContent(flattenToAppURL(data.href), null, subrequestID))];
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export HighlightedContentView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HighlightedContent/View';
|
|
4
|
+
export getHiglitedContentAsyncData from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HighlightedContent/getAsyncData';
|
|
5
|
+
|
|
6
|
+
export const HighlightedContentEdit = loadable(
|
|
7
|
+
() =>
|
|
8
|
+
import(
|
|
9
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HighlightedContent/Edit'
|
|
10
|
+
),
|
|
11
|
+
);
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HighlightedContent/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
20
20
|
|
|
21
21
|
import EditBlock from './Block/EditBlock';
|
|
22
|
-
import Sidebar from '
|
|
22
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/IconBlocks';
|
|
23
23
|
|
|
24
24
|
import config from '@plone/volto/registry';
|
|
25
25
|
|
|
@@ -10,7 +10,7 @@ import upSVG from '@plone/volto/icons/up-key.svg';
|
|
|
10
10
|
import downSVG from '@plone/volto/icons/down-key.svg';
|
|
11
11
|
|
|
12
12
|
import { LinkToWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
13
|
-
import IconWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets
|
|
13
|
+
import { IconWidget } from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets';
|
|
14
14
|
import { defaultIconWidgetOptions } from 'design-comuni-plone-theme/helpers/index';
|
|
15
15
|
import config from '@plone/volto/registry';
|
|
16
16
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export IconBlocksView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/IconBlocks/View';
|
|
4
|
+
|
|
5
|
+
export const IconBlocksEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/IconBlocks/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/IconBlocks/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
} from 'volto-subblocks';
|
|
19
19
|
import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
20
20
|
|
|
21
|
-
import EditBlock from '
|
|
22
|
-
import Sidebar from '
|
|
21
|
+
import EditBlock from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/NumbersBlock/Block/EditBlock';
|
|
22
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/NumbersBlock';
|
|
23
23
|
|
|
24
24
|
const messages = defineMessages({
|
|
25
25
|
addItem: {
|
|
@@ -5,7 +5,7 @@ import { Segment, Accordion } from 'semantic-ui-react';
|
|
|
5
5
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
6
6
|
|
|
7
7
|
import { ObjectBrowserWidget } from '@plone/volto/components';
|
|
8
|
-
import IconWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets
|
|
8
|
+
import { IconWidget } from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets';
|
|
9
9
|
import { defaultIconWidgetOptions } from 'design-comuni-plone-theme/helpers/index';
|
|
10
10
|
|
|
11
11
|
const messages = defineMessages({
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export NumbersBlockView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/NumbersBlock/View';
|
|
4
|
+
|
|
5
|
+
export const NumbersBlockEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/NumbersBlock/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/NumbersBlock'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -3,10 +3,8 @@ import { useSelector } from 'react-redux';
|
|
|
3
3
|
import { useLocation } from 'react-router-dom';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { SidebarPortal } from '@plone/volto/components';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
BlockSearchSectionsBody,
|
|
9
|
-
} from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
6
|
+
import { BlockSearchSectionsBody } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
7
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/SearchSections';
|
|
10
8
|
import { SearchUtils } from 'design-comuni-plone-theme/components';
|
|
11
9
|
|
|
12
10
|
const Edit = ({
|
|
@@ -34,7 +32,7 @@ const Edit = ({
|
|
|
34
32
|
<BlockSearchSectionsBody block={data} sections={sections} />
|
|
35
33
|
</div>
|
|
36
34
|
<SidebarPortal selected={selected}>
|
|
37
|
-
<
|
|
35
|
+
<Sidebar
|
|
38
36
|
data={data}
|
|
39
37
|
block={block}
|
|
40
38
|
onChangeBlock={onChangeBlock}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export SearchSectionsView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/SearchSections/View';
|
|
4
|
+
|
|
5
|
+
export const SearchSectionsEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/SearchSections/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/SearchSections/SideBar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -7,7 +7,7 @@ import React, { Component } from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { injectIntl } from 'react-intl';
|
|
9
9
|
import { SidebarPortal } from '@plone/volto/components';
|
|
10
|
-
import Sidebar from '
|
|
10
|
+
import { TextCardWithImageSidebar as Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/TextCard';
|
|
11
11
|
import BodyWrapper from './BodyWrapper.jsx';
|
|
12
12
|
import Block from './Block';
|
|
13
13
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export TextCardView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/TextCard/SimpleCard/View';
|
|
4
|
+
export const TextCardEdit = loadable(
|
|
5
|
+
() =>
|
|
6
|
+
import(
|
|
7
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit'
|
|
8
|
+
),
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
export TextCardWithImageView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/TextCard/CardWithImage/View';
|
|
12
|
+
export const TextCardWithImageEdit = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Edit'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
18
|
+
export const TextCardWithImageSidebar = loadable(
|
|
19
|
+
() =>
|
|
20
|
+
import(
|
|
21
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar'
|
|
22
|
+
),
|
|
23
|
+
);
|
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import Body from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/UOSearch/Body';
|
|
4
4
|
import { SidebarPortal } from '@plone/volto/components';
|
|
5
5
|
import { getBaseUrl } from '@plone/volto/helpers';
|
|
6
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/UOSearch
|
|
6
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/UOSearch';
|
|
7
7
|
import { useIntl, defineMessages } from 'react-intl';
|
|
8
8
|
|
|
9
9
|
const messages = defineMessages({
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export UOSearchView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/UOSearch/View';
|
|
4
|
+
|
|
5
|
+
export const UOSearchEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/UOSearch/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/UOSearch/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
SubblocksEdit,
|
|
12
12
|
SubblocksWrapper,
|
|
13
13
|
} from 'volto-subblocks';
|
|
14
|
-
import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/VideoGallery
|
|
14
|
+
import { Sidebar } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/VideoGallery';
|
|
15
15
|
import Body from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/VideoGallery/Body';
|
|
16
16
|
import EditBlock from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/VideoGallery/Block/EditBlock';
|
|
17
17
|
import { SingleSlideWrapper } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import loadable from '@loadable/component';
|
|
2
|
+
|
|
3
|
+
export VideoGalleryView from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/VideoGallery/View';
|
|
4
|
+
|
|
5
|
+
export const VideoGalleryEdit = loadable(
|
|
6
|
+
() =>
|
|
7
|
+
import(
|
|
8
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/VideoGallery/Edit'
|
|
9
|
+
),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
export const Sidebar = loadable(
|
|
13
|
+
() =>
|
|
14
|
+
import(
|
|
15
|
+
/* webpackChunkName: "DCPTManage" */ 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/VideoGallery/Sidebar'
|
|
16
|
+
),
|
|
17
|
+
);
|