io-sanita-theme 1.0.6 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/package.json +19 -20
- package/src/actions/getSearchBandiFilters.js +5 -3
- package/src/components/AppExtras/SiteSettingsExtras.jsx +1 -1
- package/src/components/Blocks/Accordion/Edit.jsx +1 -1
- package/src/components/Blocks/Accordion/Sidebar.jsx +4 -1
- package/src/components/Blocks/Alert/Edit.jsx +1 -1
- package/src/components/Blocks/CTA/Block.jsx +2 -1
- package/src/components/Blocks/CTA/Edit.jsx +1 -1
- package/src/components/Blocks/Callout/Edit.jsx +2 -2
- package/src/components/Blocks/Callout/Sidebar.jsx +4 -2
- package/src/components/Blocks/Callout/View.jsx +1 -1
- package/src/components/Blocks/Contacts/Edit.jsx +2 -2
- package/src/components/Blocks/Contacts/View.jsx +1 -1
- package/src/components/Blocks/Hero/Edit.jsx +8 -8
- package/src/components/Blocks/Hero/HeroSidebar.jsx +4 -1
- package/src/components/Blocks/Hero/StoresButtons.jsx +2 -2
- package/src/components/Blocks/Hero/View.jsx +1 -1
- package/src/components/Blocks/Icons/Block/EditBlock.jsx +1 -1
- package/src/components/Blocks/Icons/Block/ViewBlock.jsx +1 -1
- package/src/components/Blocks/Icons/Edit.jsx +1 -1
- package/src/components/Blocks/Icons/MoreButton.jsx +1 -1
- package/src/components/Blocks/Icons/Sidebar.jsx +7 -3
- package/src/components/Blocks/Icons/icons.scss +1 -1
- package/src/components/Blocks/Listing/Bandi/BandiTemplate.jsx +1 -1
- package/src/components/Blocks/Listing/CardWithSlideUpText/CardWithSlideUpTextTemplate.jsx +1 -1
- package/src/components/Blocks/Listing/CompleteBlockLinks/CompleteBlockLinksTemplate.jsx +2 -2
- package/src/components/Blocks/Listing/HighlightedContent/HighlightedContentTemplate.jsx +1 -1
- package/src/components/Blocks/Listing/SimpleCard/Card/SimpleCardDefault.jsx +1 -1
- package/src/components/Blocks/Listing/SimpleCard/SimpleCardTemplateOneForRow.jsx +1 -1
- package/src/components/Blocks/Listing/SimpleList/SimpleListTemplate.jsx +1 -1
- package/src/components/Blocks/Listing/Skeletons/SimpleListTemplateSkeleton.jsx +1 -1
- package/src/components/Blocks/Listing/SmallBlockLinks/SmallBlockLinksTemplate.jsx +1 -1
- package/src/components/Blocks/Listing/commons/ListingImage.jsx +2 -2
- package/src/components/Blocks/Listing/commons/RassegnaInfo.jsx +1 -1
- package/src/components/Blocks/Rss/CardWithImageRssTemplate.jsx +2 -2
- package/src/components/Blocks/Rss/CardWithoutImageRssTemplate.jsx +2 -2
- package/src/components/Blocks/SearchBandi/Body.jsx +2 -2
- package/src/components/Blocks/SearchBandi/DefaultFilters.js +1 -1
- package/src/components/Blocks/SearchBandi/Edit.jsx +2 -2
- package/src/components/Blocks/SearchBandi/Sidebar.jsx +4 -3
- package/src/components/Blocks/SearchBandi/View.jsx +1 -1
- package/src/components/Blocks/SearchFarmacia/Edit.jsx +1 -1
- package/src/components/Blocks/SearchFarmacia/Results.jsx +1 -1
- package/src/components/Blocks/SearchFarmacia/SearchFilters.jsx +1 -1
- package/src/components/Blocks/SearchMap/Body.jsx +3 -3
- package/src/components/Blocks/SearchMap/Edit.jsx +2 -2
- package/src/components/Blocks/SearchMap/View.jsx +1 -1
- package/src/components/Blocks/SearchServiziProcedure/Body.jsx +3 -3
- package/src/components/Blocks/SearchServiziProcedure/Edit.jsx +2 -2
- package/src/components/Blocks/SearchServiziProcedure/View.jsx +1 -1
- package/src/components/Blocks/TopicsList/Body.jsx +1 -1
- package/src/components/Blocks/TopicsList/Edit.jsx +1 -1
- package/src/components/BrandWrapper/BrandWrapper.jsx +2 -2
- package/src/components/Breadcrumbs/Breadcrumbs.jsx +6 -9
- package/src/components/Breadcrumbs/GoogleBreadcrumbs.jsx +3 -1
- package/src/components/Cards/CardContatti/CardContatti.jsx +3 -1
- package/src/components/Cards/CardFeatured/CardFeatured.jsx +1 -1
- package/src/components/Cards/CardFile/CardFile.jsx +2 -2
- package/src/components/Cards/CardFile/Module.jsx +3 -3
- package/src/components/Cards/CardGhost/CardGhost.jsx +1 -1
- package/src/components/Cards/CardGuide/CardGuide.jsx +2 -2
- package/src/components/Cards/CardImage/CardImage.jsx +1 -1
- package/src/components/Cards/CardPersona/CardPersona.jsx +1 -1
- package/src/components/Cards/CardPlace/CardPlace.jsx +2 -1
- package/src/components/Cards/CardSimple/CardSimple.jsx +1 -1
- package/src/components/Cards/CardTaxonomy/CardTaxonomy.jsx +1 -1
- package/src/components/Cards/common/CardCategoryBottom.jsx +1 -1
- package/src/components/Cards/common/CardCategoryTop.jsx +1 -1
- package/src/components/ImageWithErrors/ImageWithErrors.jsx +1 -1
- package/src/components/LinkMore/LinkMore.jsx +2 -2
- package/src/components/LinkedHeadline/LinkedHeadline.jsx +1 -1
- package/src/components/LoginAgid/LoginAgid.jsx +3 -2
- package/src/components/LoginAgid/LoginAgidButtons.jsx +3 -1
- package/src/components/Pagination/Pagination.jsx +2 -1
- package/src/components/Pagination/PaginationItem.jsx +1 -1
- package/src/components/Pagination/createPaginationItems/rangeFactories.js +4 -2
- package/src/components/Search/Search.jsx +4 -2
- package/src/components/Unauthorized/Unauthorized.jsx +1 -1
- package/src/components/View/AggregationPage/AggregationPage.jsx +4 -4
- package/src/components/View/AggregationPage/SideMenu.jsx +1 -1
- package/src/components/View/CartellaModulistica/CartellaModulisticaView.jsx +1 -1
- package/src/components/View/CartellaModulistica/DocRow.jsx +2 -2
- package/src/components/View/ComeFarePer/Steps/Steps.jsx +2 -2
- package/src/components/View/Evento/EventoSponsors.jsx +11 -6
- package/src/components/View/Evento/EventoUlterioriInformazioni.jsx +1 -1
- package/src/components/View/Evento/Sponsors/Sponsors.jsx +4 -4
- package/src/components/View/FAQ/FaqFolder/FaqFolderTree.jsx +1 -1
- package/src/components/View/FAQ/FaqFolder/FaqFolderView.jsx +2 -2
- package/src/components/View/Modulo/common/DownloadFileFormat.jsx +3 -3
- package/src/components/View/Page/PageView.jsx +7 -3
- package/src/components/View/PuntoDiContatto/PuntoDiContattoCorrelati.jsx +3 -3
- package/src/components/View/Step/StepView.jsx +1 -1
- package/src/components/View/commons/Attachments/Attachments.jsx +5 -2
- package/src/components/View/commons/Gallery/Gallery.jsx +5 -2
- package/src/components/View/commons/Gallery/GalleryImage.jsx +1 -1
- package/src/components/View/commons/Locations/Locations.jsx +1 -1
- package/src/components/View/commons/Locations/LocationsMap.jsx +3 -3
- package/src/components/View/commons/PageHeader/PageHeaderLinkServizio.jsx +5 -4
- package/src/components/View/commons/PageHeader/SearchSectionForm.jsx +1 -1
- package/src/components/View/commons/RelatedItems.jsx +3 -10
- package/src/components/View/commons/Sharing/Sharing.jsx +1 -1
- package/src/components/View/commons/SideMenu/SideMenu.jsx +1 -1
- package/src/components/View/commons/TassonomiaUtenti.jsx +1 -1
- package/src/components/View/commons/Topics.jsx +1 -1
- package/src/components/Widgets/FileWidget.jsx +22 -15
- package/src/components/Widgets/SearchCheckbox/SearchCheckbox.jsx +1 -1
- package/src/components/Widgets/SearchFilters/SelectFilter.jsx +2 -1
- package/src/components/Widgets/SelectInput/select-styles.css +5 -0
- package/src/components/layout/Footer/FooterInfos.jsx +2 -2
- package/src/components/layout/Footer/FooterMain.jsx +1 -1
- package/src/components/layout/Footer/FooterNavigation.jsx +2 -2
- package/src/components/layout/Footer/FooterSmall.jsx +2 -2
- package/src/components/layout/Footer/FooterSocials.jsx +1 -1
- package/src/components/layout/Footer/SubsiteFooter.jsx +2 -1
- package/src/components/layout/Header/HeaderSlim/HeaderLogin.jsx +5 -3
- package/src/components/layout/Header/HeaderSlim/ParentSiteMenu.jsx +1 -1
- package/src/components/layout/Header/HeaderSlim/TertiaryMenu.jsx +2 -2
- package/src/components/layout/Header/LanguageSelector.jsx +6 -2
- package/src/components/layout/Header/SocialHeader.jsx +1 -1
- package/src/components/layout/Header/SubsiteHeader/SubsiteHeader.jsx +1 -1
- package/src/components/layout/Navigation/MegaMenu/MegaMenu.jsx +8 -6
- package/src/components/layout/Navigation/MenuSecondary/MenuSecondary.jsx +3 -3
- package/src/components/manage/Widgets/HeaderContactsWidget/HeaderContactsWidget.jsx +1 -1
- package/src/components/manage/Widgets/IconWidget/IconWidget.jsx +4 -1
- package/src/components/manage/Widgets/LinkToWidget/LinkToWidget.jsx +4 -1
- package/src/components/manage/Widgets/QuickSearch/QuickSearchConfigurationForm.jsx +2 -2
- package/src/components/manage/Widgets/QuickSearch/QuickSearchConfigurationWidget.jsx +1 -1
- package/src/components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm.jsx +5 -2
- package/src/components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget.jsx +1 -1
- package/src/config/ioSanitaConfig.js +1 -1
- package/src/customizations/volto/components/manage/Blocks/Grid/View.jsx +2 -2
- package/src/customizations/volto/components/manage/Blocks/HTML/Edit.jsx +3 -2
- package/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx +1 -1
- package/src/customizations/volto/components/manage/Blocks/Search/SearchBlockEdit.jsx +4 -3
- package/src/customizations/volto/components/manage/Blocks/Search/SearchBlockView.jsx +3 -2
- package/src/customizations/volto/components/manage/Blocks/Search/components/FilterList.jsx +2 -2
- package/src/customizations/volto/components/manage/Blocks/Search/layout/LeftColumnFacets.jsx +1 -1
- package/src/customizations/volto/components/manage/Blocks/Search/layout/RightColumnFacets.jsx +1 -1
- package/src/customizations/volto/components/manage/Blocks/Search/schema.js +1 -1
- package/src/customizations/volto/components/manage/Blocks/Video/Body.jsx +2 -1
- package/src/customizations/volto/components/manage/Blocks/Video/Edit.jsx +5 -7
- package/src/customizations/volto/components/manage/Blocks/Video/VideoSidebar.jsx +2 -2
- package/src/customizations/volto/components/manage/Diff/Diff.jsx +13 -16
- package/src/customizations/volto/components/manage/Diff/DiffField.jsx +3 -3
- package/src/customizations/volto/components/manage/History/History.jsx +17 -11
- package/src/customizations/volto/components/theme/Header/Header.jsx +4 -6
- package/src/customizations/volto/components/theme/Navigation/Navigation.jsx +1 -1
- package/src/customizations/volto/components/theme/NotFound/NotFound.jsx +7 -3
- package/src/customizations/volto/components/theme/Sitemap/Sitemap.jsx +4 -3
- package/src/customizations/volto/components/theme/View/DefaultView.jsx +4 -3
- package/src/customizations/volto/components/theme/View/View.jsx +11 -19
- package/src/customizations/volto/helpers/FormValidation/FormValidation.jsx +6 -1
- package/src/customizations/volto/helpers/Html/Html.jsx +3 -2
- package/src/customizations/volto/reducers/navigation/navigation.js +3 -6
- package/src/helpers/Address/mapPin.js +1 -1
- package/src/helpers/Blocks/RenderBlocks.jsx +3 -2
- package/src/helpers/Blocks/TextOrBlocks.jsx +1 -1
- package/src/helpers/Files/DownloadFileFormat.jsx +1 -1
- package/src/helpers/Files/FileIcon.jsx +1 -1
- package/src/helpers/FormValidation/FormValidation.js +2 -1
- package/src/helpers/RichText/RichTextRender.jsx +3 -3
- package/src/helpers/RichText/richTextUtils.js +2 -2
- package/src/helpers/Views/PuntoDiContattoValue.jsx +1 -1
- package/src/helpers/dates.js +1 -1
- package/src/helpers/htmlDiff.js +1 -1
- package/src/helpers/search.js +1 -1
- package/src/helpers/video.js +2 -1
- package/src/reducers/searchBandiFiltersReducer.js +1 -1
- package/src/theme/_cms-ui.scss +5 -0
- package/src/theme/io-sanita/components/layout/_mobileMenu.scss +12 -7
- package/src/customizations/volto/components/manage/Display/Display.jsx +0 -211
- package/src/customizations/volto/components/theme/App/App.jsx +0 -343
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.0](https://github.com/RedTurtle/io-sanita-theme/compare/1.0.7...2.0.0) (2025-01-10)
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* upgrade to Volto 18.4.0 (#67)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* upgrade to Volto 18.4.0 ([#67](https://github.com/RedTurtle/io-sanita-theme/issues/67)) ([c65516f](https://github.com/RedTurtle/io-sanita-theme/commit/c65516fb4ef17e075551e9cc3f6206f64039386f))
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* fileWidget preview just uploaded image ([d4183f3](https://github.com/RedTurtle/io-sanita-theme/commit/d4183f3b47059f883857976728feb8652ec9295c))
|
|
16
|
+
|
|
17
|
+
### Maintenance
|
|
18
|
+
|
|
19
|
+
* updated volto-gdpr-privacy ([32630ac](https://github.com/RedTurtle/io-sanita-theme/commit/32630ac64648c2eea7c1901973439dab70b202e0))
|
|
20
|
+
|
|
21
|
+
## [1.0.7](https://github.com/RedTurtle/io-sanita-theme/compare/1.0.6...1.0.7) (2024-11-28)
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* hidration failing for Callout block ([77517cb](https://github.com/RedTurtle/io-sanita-theme/commit/77517cba3dee9506c3f87c1201d72c0fdb751ce0))
|
|
26
|
+
|
|
27
|
+
### Maintenance
|
|
28
|
+
|
|
29
|
+
* updated volto-gdpr-privacy ([195c329](https://github.com/RedTurtle/io-sanita-theme/commit/195c329643b4de82c93ab081e5457718cab9d78a))
|
|
30
|
+
|
|
3
31
|
## [1.0.6](https://github.com/RedTurtle/io-sanita-theme/compare/1.0.5...1.0.6) (2024-11-28)
|
|
4
32
|
|
|
5
33
|
### Maintenance
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "io-sanita-theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "io-sanita-theme: Volto add-on",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@babel/plugin-proposal-throw-expressions": "7.18.6",
|
|
82
82
|
"@eeacms/volto-taxonomy": "5.1.1",
|
|
83
83
|
"@loadable/babel-plugin": "5.13.2",
|
|
84
|
-
"@plone-collective/volto-contents-next": "0.
|
|
84
|
+
"@plone-collective/volto-contents-next": "0.5.0",
|
|
85
85
|
"@plone-collective/volto-sentry": "0.3.1",
|
|
86
86
|
"@release-it/conventional-changelog": "^9.0.3",
|
|
87
87
|
"bootstrap-italia": "2.8.7",
|
|
@@ -95,25 +95,24 @@
|
|
|
95
95
|
"typeface-lora": "1.1.13",
|
|
96
96
|
"typeface-roboto-mono": "1.1.13",
|
|
97
97
|
"typeface-titillium-web": "1.1.13",
|
|
98
|
-
"volto-blocks-widget": "3.4.
|
|
98
|
+
"volto-blocks-widget": "3.4.4",
|
|
99
99
|
"volto-data-grid-widget": "2.3.1",
|
|
100
|
-
"volto-dropdownmenu": "4.1.
|
|
101
|
-
"volto-editablefooter": "5.1.
|
|
102
|
-
"volto-feedback": "0.
|
|
103
|
-
"volto-feedback-italia": "1.0.
|
|
104
|
-
"volto-form-block": "3.10.
|
|
105
|
-
"volto-form-block-italia": "1.0.
|
|
106
|
-
"volto-gdpr-privacy": "2.2.
|
|
107
|
-
"volto-querywidget-with-browser": "0.4.
|
|
108
|
-
"volto-rss-block": "3.0.
|
|
109
|
-
"volto-secondarymenu": "4.1.
|
|
110
|
-
"volto-site-settings": "0.4.
|
|
111
|
-
"volto-slate-italia": "1.0.
|
|
112
|
-
"volto-slimheader": "0.1.
|
|
113
|
-
"volto-social-settings": "3.
|
|
114
|
-
"volto-subfooter": "3.1.
|
|
100
|
+
"volto-dropdownmenu": "4.1.4",
|
|
101
|
+
"volto-editablefooter": "5.1.9",
|
|
102
|
+
"volto-feedback": "0.5.3",
|
|
103
|
+
"volto-feedback-italia": "1.0.5",
|
|
104
|
+
"volto-form-block": "3.10.2",
|
|
105
|
+
"volto-form-block-italia": "1.0.5",
|
|
106
|
+
"volto-gdpr-privacy": "2.2.14",
|
|
107
|
+
"volto-querywidget-with-browser": "0.4.3",
|
|
108
|
+
"volto-rss-block": "3.0.1",
|
|
109
|
+
"volto-secondarymenu": "4.1.2",
|
|
110
|
+
"volto-site-settings": "0.4.7",
|
|
111
|
+
"volto-slate-italia": "1.0.6",
|
|
112
|
+
"volto-slimheader": "0.1.5",
|
|
113
|
+
"volto-social-settings": "3.1.1",
|
|
114
|
+
"volto-subfooter": "3.1.3",
|
|
115
115
|
"volto-subsites": "4.0.2",
|
|
116
116
|
"volto-venue": "4.1.0"
|
|
117
|
-
}
|
|
118
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
117
|
+
}
|
|
119
118
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const GET_SEARCH_BANDI_FILTERS = 'GET_SEARCH_BANDI_FILTERS';
|
|
2
|
-
import { expandToBackendURL } from '@plone/volto/helpers';
|
|
2
|
+
import { expandToBackendURL } from '@plone/volto/helpers/Url/Url';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Get search bandi filters.
|
|
@@ -10,11 +10,13 @@ import { expandToBackendURL } from '@plone/volto/helpers';
|
|
|
10
10
|
* subjects: [],
|
|
11
11
|
* tipologie: [],
|
|
12
12
|
* }
|
|
13
|
-
*/
|
|
13
|
+
*/
|
|
14
14
|
|
|
15
15
|
export function getSearchBandiFilters(path = '') {
|
|
16
16
|
// let p = path === '/' ? '' : path;
|
|
17
|
-
const pathSearchFilters = `${
|
|
17
|
+
const pathSearchFilters = `${
|
|
18
|
+
path === '/' ? '' : expandToBackendURL(path)
|
|
19
|
+
}/@bandi-search-filters`;
|
|
18
20
|
return {
|
|
19
21
|
type: GET_SEARCH_BANDI_FILTERS,
|
|
20
22
|
request: {
|
|
@@ -5,7 +5,7 @@ CUSTOMIZATIONS:
|
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { useIntl } from 'react-intl';
|
|
8
|
-
import
|
|
8
|
+
import Helmet from '@plone/volto/helpers/Helmet/Helmet';
|
|
9
9
|
import { SiteProperty } from 'volto-site-settings';
|
|
10
10
|
import { getSiteProperty } from 'io-sanita-theme/helpers';
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from 'volto-subblocks';
|
|
16
16
|
import { TextEditorWidget } from 'volto-slate-italia';
|
|
17
17
|
|
|
18
|
-
import
|
|
18
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
19
19
|
import { handleKeyDownOwnFocusManagement } from 'io-sanita-theme/helpers';
|
|
20
20
|
import Sidebar from './Sidebar.jsx';
|
|
21
21
|
|
|
@@ -2,7 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Segment, Accordion } from 'semantic-ui-react';
|
|
4
4
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
TextWidget /*, CheckboxWidget*/,
|
|
7
|
+
} from '@plone/volto/components/manage/Widgets';
|
|
8
|
+
import Icon from '@plone/volto/components/theme/Icon/Icon';
|
|
6
9
|
import upSVG from '@plone/volto/icons/up-key.svg';
|
|
7
10
|
import downSVG from '@plone/volto/icons/down-key.svg';
|
|
8
11
|
import { defineMessages, useIntl } from 'react-intl';
|
|
@@ -9,7 +9,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
|
|
9
9
|
import { Row, Col } from 'design-react-kit';
|
|
10
10
|
import { TextEditorWidget } from 'volto-slate-italia';
|
|
11
11
|
|
|
12
|
-
import
|
|
12
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
13
13
|
|
|
14
14
|
import { useHandleDetachedBlockFocus } from 'io-sanita-theme/helpers';
|
|
15
15
|
import Sidebar from 'io-sanita-theme/components/Blocks/Alert/Sidebar';
|
|
@@ -5,8 +5,9 @@ import { defineMessages, useIntl } from 'react-intl';
|
|
|
5
5
|
import { Button, Container } from 'design-react-kit';
|
|
6
6
|
|
|
7
7
|
import { TextEditorWidget } from 'volto-slate-italia';
|
|
8
|
-
import
|
|
8
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
9
9
|
import { TextBlockView } from '@plone/volto-slate/blocks/Text';
|
|
10
|
+
import VoltoIcon from '@plone/volto/components/theme/Icon/Icon';
|
|
10
11
|
|
|
11
12
|
import { useHandleDetachedBlockFocus } from 'io-sanita-theme/helpers';
|
|
12
13
|
import config from '@plone/volto/registry';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import
|
|
7
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
8
8
|
import Sidebar from 'io-sanita-theme/components/Blocks/CTA/Sidebar';
|
|
9
9
|
import BodyWrapper from 'io-sanita-theme/components/Blocks/CTA/BodyWrapper.jsx';
|
|
10
10
|
import Block from 'io-sanita-theme/components/Blocks/CTA/Block';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { defineMessages, useIntl } from 'react-intl';
|
|
9
|
-
import
|
|
9
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
10
10
|
|
|
11
11
|
import { Callout, CalloutTitle, CalloutText } from 'design-react-kit';
|
|
12
12
|
import { Icon } from 'io-sanita-theme/components';
|
|
@@ -69,7 +69,7 @@ const Edit = (props) => {
|
|
|
69
69
|
/>
|
|
70
70
|
</div>
|
|
71
71
|
</CalloutTitle>
|
|
72
|
-
<CalloutText>
|
|
72
|
+
<CalloutText tag="div" className="callout-text">
|
|
73
73
|
<TextEditorWidget
|
|
74
74
|
{...otherProps}
|
|
75
75
|
data={data}
|
|
@@ -2,13 +2,15 @@ import React, { useEffect } from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Segment } from 'semantic-ui-react';
|
|
4
4
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
/*TextWidget,*/ SelectWidget,
|
|
7
|
+
} from '@plone/volto/components/manage/Widgets';
|
|
6
8
|
import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
|
|
7
9
|
import { defineMessages, useIntl } from 'react-intl';
|
|
8
10
|
|
|
9
11
|
import { ColorPickerWidget } from '@plone/volto/components/manage/Widgets';
|
|
10
12
|
import { Icon } from 'io-sanita-theme/components';
|
|
11
|
-
import
|
|
13
|
+
import FormFieldWrapper from '@plone/volto/components/manage/Widgets/FormFieldWrapper';
|
|
12
14
|
|
|
13
15
|
const messages = defineMessages({
|
|
14
16
|
color: { id: 'color', defaultMessage: 'Colore' },
|
|
@@ -26,7 +26,7 @@ const View = ({ data, id }) => {
|
|
|
26
26
|
{data.icon && <Icon icon={data.icon} padding={false} aria-hidden />}
|
|
27
27
|
<span className="text">{data.title}</span>
|
|
28
28
|
</CalloutTitle>
|
|
29
|
-
<CalloutText>
|
|
29
|
+
<CalloutText tag="div" className="callout-text">
|
|
30
30
|
<TextBlockView id={id} data={{ value: data.text }} />
|
|
31
31
|
</CalloutText>
|
|
32
32
|
</Callout>
|
|
@@ -7,8 +7,8 @@ import React from 'react';
|
|
|
7
7
|
import { defineMessages } from 'react-intl';
|
|
8
8
|
import { Container, Row, Col } from 'design-react-kit';
|
|
9
9
|
|
|
10
|
-
import
|
|
11
|
-
|
|
10
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
11
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
12
12
|
import {
|
|
13
13
|
withDNDContext,
|
|
14
14
|
SubblocksEdit,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { Container, Row, Col } from 'design-react-kit';
|
|
9
|
-
import
|
|
9
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
10
10
|
import { TextBlockView } from '@plone/volto-slate/blocks/Text';
|
|
11
11
|
import { LinkMore } from 'io-sanita-theme/components';
|
|
12
12
|
import ViewBlock from './Block/ViewBlock';
|
|
@@ -16,17 +16,17 @@ import { compose } from 'redux';
|
|
|
16
16
|
import { readAsDataURL } from 'promise-file-reader';
|
|
17
17
|
import { Container } from 'design-react-kit';
|
|
18
18
|
import { Button, Dimmer, Loader, Message } from 'semantic-ui-react';
|
|
19
|
-
import
|
|
19
|
+
import isEqual from 'lodash/isEqual';
|
|
20
20
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
21
21
|
import cx from 'classnames';
|
|
22
22
|
import { handleKeyDownOwnFocusManagement } from 'io-sanita-theme/helpers';
|
|
23
|
-
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from '@plone/volto/
|
|
28
|
-
import
|
|
29
|
-
import
|
|
23
|
+
import { validateFileUploadSize } from '@plone/volto/helpers/FormValidation/FormValidation';
|
|
24
|
+
import { getBaseUrl } from '@plone/volto/helpers/Url/Url';
|
|
25
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
26
|
+
|
|
27
|
+
import { createContent } from '@plone/volto/actions/content/content';
|
|
28
|
+
import Icon from '@plone/volto/components/theme/Icon/Icon';
|
|
29
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
30
30
|
|
|
31
31
|
import clearSVG from '@plone/volto/icons/clear.svg';
|
|
32
32
|
import { TextEditorWidget } from 'volto-slate-italia';
|
|
@@ -3,7 +3,10 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
|
|
4
4
|
import { Segment, Accordion } from 'semantic-ui-react';
|
|
5
5
|
import { defineMessages, FormattedMessage, injectIntl } from 'react-intl';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
TextWidget,
|
|
8
|
+
CheckboxWidget,
|
|
9
|
+
} from '@plone/volto/components/manage/Widgets';
|
|
7
10
|
import { LinkToWidget } from 'io-sanita-theme/components/manage/Widgets';
|
|
8
11
|
|
|
9
12
|
import clearSVG from '@plone/volto/icons/clear.svg';
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Button, CardReadMore } from 'design-react-kit';
|
|
4
4
|
import { defineMessages, useIntl } from 'react-intl';
|
|
5
|
-
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
6
|
-
import
|
|
5
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
6
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
7
7
|
|
|
8
8
|
import { Icon } from 'io-sanita-theme/components';
|
|
9
9
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import cx from 'classnames';
|
|
9
|
-
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
9
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
10
10
|
import StoresButtons from 'io-sanita-theme/components/Blocks/Hero/StoresButtons';
|
|
11
11
|
import { LinkedHeadline } from 'io-sanita-theme/components';
|
|
12
12
|
import './hero.scss';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { compose } from 'redux';
|
|
8
8
|
import { injectIntl, defineMessages } from 'react-intl';
|
|
9
|
-
import
|
|
9
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
10
10
|
import { injectDNDSubblocks, SubblockEdit, Subblock } from 'volto-subblocks';
|
|
11
11
|
import { TextEditorWidget } from 'volto-slate-italia';
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { useIntl, defineMessages } from 'react-intl';
|
|
9
|
-
import
|
|
9
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
10
10
|
|
|
11
11
|
import { Icon } from 'io-sanita-theme/components';
|
|
12
12
|
import { Card, CardBody, CardReadMore } from 'design-react-kit';
|
|
@@ -8,7 +8,7 @@ import cx from 'classnames';
|
|
|
8
8
|
import { defineMessages } from 'react-intl';
|
|
9
9
|
import { Container, Row, Col } from 'design-react-kit';
|
|
10
10
|
|
|
11
|
-
import
|
|
11
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
12
12
|
import { handleKeyDownOwnFocusManagement } from 'io-sanita-theme/helpers';
|
|
13
13
|
import {
|
|
14
14
|
withDNDContext,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button } from 'design-react-kit';
|
|
3
|
-
import
|
|
3
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
4
4
|
import { Icon } from 'io-sanita-theme/components';
|
|
5
5
|
|
|
6
6
|
const MoreButton = ({ data, isEditMode }) => {
|
|
@@ -3,15 +3,19 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import { defineMessages, useIntl } from 'react-intl';
|
|
4
4
|
import { Segment, Accordion } from 'semantic-ui-react';
|
|
5
5
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
6
|
-
import { TextWidget
|
|
6
|
+
import { TextWidget } from '@plone/volto/components/manage/Widgets';
|
|
7
7
|
import { BlockDataForm } from '@plone/volto/components/manage/Form';
|
|
8
|
+
import Icon from '@plone/volto/components/theme/Icon/Icon';
|
|
8
9
|
|
|
9
10
|
import upSVG from '@plone/volto/icons/up-key.svg';
|
|
10
11
|
import downSVG from '@plone/volto/icons/down-key.svg';
|
|
11
12
|
|
|
12
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
LinkToWidget,
|
|
15
|
+
defaultIconWidgetOptions,
|
|
16
|
+
} from 'io-sanita-theme/components/manage/Widgets';
|
|
13
17
|
import IconWidget from 'io-sanita-theme/components/manage/Widgets/IconWidget/IconWidget';
|
|
14
|
-
|
|
18
|
+
|
|
15
19
|
import config from '@plone/volto/registry';
|
|
16
20
|
|
|
17
21
|
const messages = defineMessages({
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
CardTitle,
|
|
12
12
|
CardReadMore,
|
|
13
13
|
} from 'design-react-kit';
|
|
14
|
-
import
|
|
14
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
15
15
|
|
|
16
16
|
import { LinkMore } from 'io-sanita-theme/components';
|
|
17
17
|
import {
|
|
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import { CardReadMore } from 'design-react-kit';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
|
|
9
|
-
import
|
|
9
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
10
10
|
import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
|
|
11
11
|
import {
|
|
12
12
|
getCalendarDate,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
Row,
|
|
11
11
|
Col,
|
|
12
12
|
} from 'design-react-kit';
|
|
13
|
-
import
|
|
14
|
-
import { isInternalURL } from '@plone/volto/helpers';
|
|
13
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
14
|
+
import { isInternalURL } from '@plone/volto/helpers/Url/Url';
|
|
15
15
|
import { Icon, LinkMore } from 'io-sanita-theme/components';
|
|
16
16
|
import {
|
|
17
17
|
ListingImage,
|
|
@@ -7,7 +7,7 @@ import { useIntl, defineMessages } from 'react-intl';
|
|
|
7
7
|
import { CardReadMore } from 'design-react-kit';
|
|
8
8
|
import cx from 'classnames';
|
|
9
9
|
|
|
10
|
-
import
|
|
10
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
11
11
|
|
|
12
12
|
import { getComponentWithFallback } from 'io-sanita-theme/helpers';
|
|
13
13
|
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
Badge,
|
|
13
13
|
} from 'design-react-kit';
|
|
14
14
|
import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
|
|
15
|
-
import
|
|
15
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
16
16
|
|
|
17
17
|
import {
|
|
18
18
|
getItemIcon,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
CardReadMore,
|
|
12
12
|
} from 'design-react-kit';
|
|
13
13
|
import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
|
|
14
|
-
import
|
|
14
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
15
15
|
|
|
16
16
|
import { getItemIcon } from 'io-sanita-theme/helpers';
|
|
17
17
|
import { CardCategoryTop, LinkMore } from 'io-sanita-theme/components';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Variation Lista Semplice of Listing block */
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import
|
|
4
|
+
import ConditionalLink from '@plone/volto/components/manage/ConditionalLink/ConditionalLink';
|
|
5
5
|
import { Row, Col } from 'design-react-kit';
|
|
6
6
|
import { ListingContainer } from 'io-sanita-theme/components/Blocks';
|
|
7
7
|
import { LinkMore } from 'io-sanita-theme/components';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import
|
|
3
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
4
4
|
import { Row, Col } from 'design-react-kit';
|
|
5
5
|
import { ListingContainer } from 'io-sanita-theme/components/Blocks';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
2
2
|
import DefaultImageSVG from '@plone/volto/components/manage/Blocks/Listing/default-image.svg';
|
|
3
|
-
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
3
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
4
4
|
import config from '@plone/volto/registry';
|
|
5
5
|
|
|
6
6
|
const ListingImage = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defineMessages, useIntl } from 'react-intl';
|
|
3
|
-
import
|
|
3
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
4
4
|
|
|
5
5
|
const RassegnaInfo = ({ eventoPadre }) => {
|
|
6
6
|
const intl = useIntl();
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
Col,
|
|
13
13
|
} from 'design-react-kit';
|
|
14
14
|
|
|
15
|
-
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
16
|
-
import
|
|
15
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
16
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
17
17
|
|
|
18
18
|
import { LinkMore } from 'io-sanita-theme/components';
|
|
19
19
|
import { getViewDate } from 'io-sanita-theme/components/Blocks/Rss/utils';
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
Row,
|
|
13
13
|
Col,
|
|
14
14
|
} from 'design-react-kit';
|
|
15
|
-
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
16
|
-
import
|
|
15
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
16
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
17
17
|
import { LinkMore } from 'io-sanita-theme/components';
|
|
18
18
|
import { getViewDate } from 'io-sanita-theme/components/Blocks/Rss/utils';
|
|
19
19
|
import './rssBlock.scss';
|
|
@@ -5,8 +5,8 @@ import { Container, Button, Spinner } from 'design-react-kit';
|
|
|
5
5
|
import moment from 'moment';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
|
|
8
|
-
import { getQueryStringResults } from '@plone/volto/actions';
|
|
9
|
-
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
8
|
+
import { getQueryStringResults } from '@plone/volto/actions/querystringsearch/querystringsearch';
|
|
9
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
10
10
|
import { BandiTemplate } from 'io-sanita-theme/components/Blocks';
|
|
11
11
|
import { Pagination } from 'io-sanita-theme/components';
|
|
12
12
|
import { resetQuerystringResults } from 'io-sanita-theme/actions';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSelector } from 'react-redux';
|
|
2
2
|
import moment from 'moment';
|
|
3
3
|
import { useIntl, defineMessages } from 'react-intl';
|
|
4
|
-
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
4
|
+
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
TextFilter,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import Body from 'io-sanita-theme/components/Blocks/SearchBandi/Body';
|
|
4
|
-
import
|
|
5
|
-
import { getBaseUrl } from '@plone/volto/helpers';
|
|
4
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
5
|
+
import { getBaseUrl } from '@plone/volto/helpers/Url/Url';
|
|
6
6
|
import Sidebar from 'io-sanita-theme/components/Blocks/SearchBandi/Sidebar';
|
|
7
7
|
import { useIntl, defineMessages } from 'react-intl';
|
|
8
8
|
|
|
@@ -4,11 +4,12 @@ import { Segment, Accordion } from 'semantic-ui-react';
|
|
|
4
4
|
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
|
5
5
|
import {
|
|
6
6
|
SelectWidget,
|
|
7
|
-
Icon,
|
|
8
7
|
ObjectBrowserWidget,
|
|
9
8
|
CheckboxWidget,
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
QueryWidget,
|
|
10
|
+
} from '@plone/volto/components/manage/Widgets';
|
|
11
|
+
import Icon from 'io-sanita-theme/components/Icon/Icon';
|
|
12
|
+
|
|
12
13
|
import upSVG from '@plone/volto/icons/up-key.svg';
|
|
13
14
|
import downSVG from '@plone/volto/icons/down-key.svg';
|
|
14
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import Body from 'io-sanita-theme/components/Blocks/SearchBandi/Body';
|
|
4
|
-
import { getBaseUrl } from '@plone/volto/helpers';
|
|
4
|
+
import { getBaseUrl } from '@plone/volto/helpers/Url/Url';
|
|
5
5
|
|
|
6
6
|
const View = ({ data, id, path, properties, block, blocksConfig }) => {
|
|
7
7
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
|
|
3
3
|
import Body from 'io-sanita-theme/components/Blocks/SearchFarmacia/Body';
|
|
4
4
|
import Sidebar from 'io-sanita-theme/components/Blocks/SearchFarmacia/Sidebar';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
2
2
|
import { PuntoDiContattoValue } from 'io-sanita-theme/helpers';
|
|
3
3
|
import { defineMessages, useIntl } from 'react-intl';
|
|
4
4
|
import { Table } from 'semantic-ui-react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DatetimeWidget } from '@plone/volto/components';
|
|
1
|
+
import { DatetimeWidget } from '@plone/volto/components/manage/Widgets';
|
|
2
2
|
import { Row, Col } from 'design-react-kit';
|
|
3
3
|
import { SearchBar, SelectInput } from 'io-sanita-theme/components';
|
|
4
4
|
import { defineMessages, useIntl } from 'react-intl';
|