From 9811180e2393e7ec9fe8e8b4a8d6dbf2b4ef2a3e Mon Sep 17 00:00:00 2001 From: razvanMiu Date: Tue, 27 Apr 2021 15:26:33 +0300 Subject: [PATCH] Restructuring industrial site --- jsconfig.json | 9 + mrs.developer.json | 21 + package.json | 19 +- .../DiscodataComponents/Custom/View.jsx | 7 +- .../Blocks/DiscodataComponents/Text/View.jsx | 2 +- .../PrivacyProtection.jsx | 11 +- .../manage/Blocks/ExploreEprtr/View.jsx | 6 +- .../manage/Blocks/ExploreEprtr/styles.css | 6 +- src/components/manage/Blocks/Iframe/View.jsx | 9 +- .../manage/Blocks/SidebarBlock/View.jsx | 184 +-- .../Blocks/SiteBlocks/BatConclusions.jsx | 195 ++++ .../Blocks/SiteBlocks/CompetentAuthority.jsx | 75 +- .../EnvironmentalFacilityDetails/View.jsx | 87 ++ .../EnvironmentalFacilityDetails/index.js | 17 + .../EnvironmentalFacilityDetails/schema.js | 19 + .../EnvironmentalLcpDetails/View.jsx | 77 ++ .../EnvironmentalLcpDetails/index.js | 17 + .../EnvironmentalLcpDetails/schema.js | 19 + .../EnvironmentalSiteDetails/View.jsx | 148 +++ .../EnvironmentalSiteDetails/index.js | 17 + .../EnvironmentalSiteDetails/schema.js | 19 + .../manage/Blocks/SiteBlocks/Header/View.jsx | 237 ++-- .../SiteBlocks/Header/ViewDeprecated.jsx | 144 +++ .../manage/Blocks/SiteBlocks/Header/index.js | 17 + .../manage/Blocks/SiteBlocks/Header/schema.js | 19 + .../manage/Blocks/SiteBlocks/Header/style.css | 20 +- .../Blocks/SiteBlocks/LcpDetails/Edit.jsx | 29 - .../Blocks/SiteBlocks/LcpDetails/View.jsx | 119 -- .../Blocks/SiteBlocks/LcpDetails/style.css | 38 - .../Blocks/SiteBlocks/PermitingAuthority.jsx | 135 ++- .../PollutantsFacilityDetails/Edit.jsx | 29 - .../PollutantsFacilityDetails/View.jsx | 103 -- .../PollutantsFacilityDetails/style.css | 38 - .../SiteBlocks/PollutantsSiteDetails/Edit.jsx | 29 - .../SiteBlocks/PollutantsSiteDetails/View.jsx | 179 --- .../PollutantsSiteDetails/style.css | 38 - .../RegulatoryBATConclusions/View.jsx | 92 ++ .../RegulatoryBATConclusions/index.js | 17 + .../RegulatoryBATConclusions/schema.js | 28 + .../RegulatoryInstallationDetails/View.jsx | 12 +- .../SiteBlocks/RegulatoryPermits/View.jsx | 99 ++ .../SiteBlocks/RegulatoryPermits/index.js | 17 + .../SiteBlocks/RegulatoryPermits/schema.js | 28 + .../SiteBlocks/RegulatorySiteDetails/Edit.jsx | 29 - .../SiteBlocks/RegulatorySiteDetails/View.jsx | 244 +--- .../SiteBlocks/RegulatorySiteDetails/index.js | 17 + .../RegulatorySiteDetails/schema.js | 19 + .../RegulatorySiteDetails/style.css | 49 - .../SiteBlocks/RegulatorySitePermits/View.jsx | 96 ++ .../SiteBlocks/RegulatorySitePermits/index.js | 17 + .../RegulatorySitePermits/schema.js | 19 + .../manage/Blocks/SiteBlocks/RenderTable.jsx | 26 +- .../manage/Blocks/SiteBlocks/SitesURLS.jsx | 2 + .../manage/Blocks/SiteBlocks/style.css | 228 +++- .../Blocks/SiteStructureSidebar/View.jsx | 272 +++++ .../Blocks/SiteStructureSidebar/index.js | 17 + .../Blocks/SiteStructureSidebar/schema.js | 27 + .../Blocks/SiteStructureSidebar/style.css | 125 ++ src/components/theme/View/DefaultView.jsx | 124 +- src/config.js | 95 +- .../volto/components/theme/Logo/Logo.jsx | 10 +- .../theme/Navigation/Navigation.jsx | 3 +- src/customizations/volto/middleware/api.js | 2 +- src/helpers/api.jsx | 19 + src/helpers/index.js | 4 + .../logo-blue.old.png} | Bin src/icons/logo-blue.png | Bin 0 -> 17242 bytes src/icons/logo-blue.svg | 152 +++ .../logo-white.old.png} | Bin src/icons/logo-white.png | Bin 0 -> 16223 bytes src/icons/logo-white.svg | 152 +++ theme/site/globals/site.overrides | 40 +- yarn.lock | 1029 ++++++++++++++++- 73 files changed, 3769 insertions(+), 1479 deletions(-) create mode 100644 src/components/manage/Blocks/SiteBlocks/BatConclusions.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/View.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/schema.js create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/View.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/schema.js create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/View.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/schema.js create mode 100644 src/components/manage/Blocks/SiteBlocks/Header/ViewDeprecated.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/Header/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/Header/schema.js delete mode 100644 src/components/manage/Blocks/SiteBlocks/LcpDetails/Edit.jsx delete mode 100644 src/components/manage/Blocks/SiteBlocks/LcpDetails/View.jsx delete mode 100644 src/components/manage/Blocks/SiteBlocks/LcpDetails/style.css delete mode 100644 src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/Edit.jsx delete mode 100644 src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/View.jsx delete mode 100644 src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/style.css delete mode 100644 src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/Edit.jsx delete mode 100644 src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/View.jsx delete mode 100644 src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/style.css create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/View.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/schema.js create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/View.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/schema.js delete mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/Edit.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/schema.js delete mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/style.css create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/View.jsx create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/index.js create mode 100644 src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/schema.js create mode 100644 src/components/manage/Blocks/SiteBlocks/SitesURLS.jsx create mode 100644 src/components/manage/Blocks/SiteStructureSidebar/View.jsx create mode 100644 src/components/manage/Blocks/SiteStructureSidebar/index.js create mode 100644 src/components/manage/Blocks/SiteStructureSidebar/schema.js create mode 100644 src/components/manage/Blocks/SiteStructureSidebar/style.css rename src/{customizations/volto/components/theme/Logo/Logo.black.png => icons/logo-blue.old.png} (100%) create mode 100644 src/icons/logo-blue.png create mode 100644 src/icons/logo-blue.svg rename src/{customizations/volto/components/theme/Logo/Logo.white.png => icons/logo-white.old.png} (100%) create mode 100644 src/icons/logo-white.png create mode 100644 src/icons/logo-white.svg diff --git a/jsconfig.json b/jsconfig.json index f38bbf5..4e98cf1 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -10,8 +10,17 @@ "volto-embed": [ "addons/volto-embed/src" ], + "@eeacms/volto-block-style": [ + "addons/volto-block-style/src" + ], + "@eeacms/volto-columns-block": [ + "addons/volto-columns-block/src" + ], "@eeacms/volto-grid-block": [ "addons/volto-grid-block/src" + ], + "@eeacms/volto-tabs-block": [ + "addons/volto-tabs-block/src" ] }, "baseUrl": "src" diff --git a/mrs.developer.json b/mrs.developer.json index 1aecac1..fd2e4e9 100644 --- a/mrs.developer.json +++ b/mrs.developer.json @@ -5,6 +5,20 @@ "path": "src", "develop": true }, + "volto-block-style": { + "url": "https://github.com/eea/volto-block-style.git", + "path": "src", + "package": "@eeacms/volto-block-style", + "branch": "develop", + "develop": true + }, + "volto-columns-block": { + "url": "https://github.com/eea/volto-columns-block.git", + "branch": "develop", + "path": "src", + "package": "@eeacms/volto-columns-block", + "develop": true + }, "volto-datablocks": { "url": "https://github.com/eea/volto-datablocks.git", "branch": "master", @@ -23,6 +37,13 @@ "path": "src", "package": "@eeacms/volto-grid-block", "develop": true + }, + "volto-tabs-block": { + "url": "https://github.com/eea/volto-tabs-block.git", + "path": "src", + "package": "@eeacms/volto-tabs-block", + "branch": "master", + "develop": true } } \ No newline at end of file diff --git a/package.json b/package.json index 2f59b6a..cfc45c7 100644 --- a/package.json +++ b/package.json @@ -41,19 +41,23 @@ "@eeacms/volto-sentry-rancher-config", "@eeacms/volto-matomo", "@eeacms/volto-grid-block", + "@eeacms/volto-columns-block", "volto-datablocks", "volto-embed", - "volto-addons" + "volto-addons", + "@eeacms/volto-block-style", + "@eeacms/volto-tabs-block" ], "dependencies": { - "@eeacms/volto-slate-metadata-mentions": "github:eea/volto-slate-metadata-mentions#2.2.0", - "@eeacms/volto-widgets-view": "github:eea/volto-widgets-view#2.1.0", - "@eeacms/volto-object-widget": "github:eea/volto-object-widget#2.2.0", - "@eeacms/volto-widget-toggle": "github:eea/volto-widget-toggle#2.2.0", + "@eeacms/volto-matomo": "github:eea/volto-matomo#2.0.0", "@eeacms/volto-metadata-block": "github:eea/volto-metadata-block#2.1.0", + "@eeacms/volto-object-widget": "github:eea/volto-object-widget#2.2.0", "@eeacms/volto-sentry-rancher-config": "github:eea/volto-sentry-rancher-config#2.1.0", - "@eeacms/volto-matomo": "github:eea/volto-matomo#2.0.0", + "@eeacms/volto-slate-metadata-mentions": "github:eea/volto-slate-metadata-mentions#2.2.0", + "@eeacms/volto-widget-toggle": "github:eea/volto-widget-toggle#2.2.0", + "@eeacms/volto-widgets-view": "github:eea/volto-widgets-view#2.1.0", "@material/react-linear-progress": "^0.15.0", + "@plone/volto": "12.10.1", "axios": "^0.20.0", "jsonp": "^0.2.1", "ol": "^6.4.3", @@ -62,12 +66,11 @@ "react-iframe": "^1.8.0", "react-tooltip": "^4.2.9", "react-visibility-sensor": "^5.1.1", - "@plone/volto": "12.10.1", "volto-slate": "github:eea/volto-slate#2.4.0" }, "devDependencies": { - "mrs-developer": "1.6.0", "eslint-plugin-prettier": "3.1.3", + "mrs-developer": "1.6.0", "prettier": "2.0.5", "stylelint": "13.3.3", "stylelint-config-idiomatic-order": "8.1.0", diff --git a/src/components/manage/Blocks/DiscodataComponents/Custom/View.jsx b/src/components/manage/Blocks/DiscodataComponents/Custom/View.jsx index 315f334..da360fa 100644 --- a/src/components/manage/Blocks/DiscodataComponents/Custom/View.jsx +++ b/src/components/manage/Blocks/DiscodataComponents/Custom/View.jsx @@ -154,12 +154,7 @@ const ReportingYears = (props) => { >
- +

Last report was submitted on:

{getDate(packages[0])}

diff --git a/src/components/manage/Blocks/DiscodataComponents/Text/View.jsx b/src/components/manage/Blocks/DiscodataComponents/Text/View.jsx index 2281426..91477e6 100644 --- a/src/components/manage/Blocks/DiscodataComponents/Text/View.jsx +++ b/src/components/manage/Blocks/DiscodataComponents/Text/View.jsx @@ -22,7 +22,7 @@ const components = { {components.bold(bold, text)} {tooltip && tooltipText ? ( - + ) : ( '' diff --git a/src/components/manage/Blocks/DiscodataOpenlayersMapBlock/PrivacyProtection.jsx b/src/components/manage/Blocks/DiscodataOpenlayersMapBlock/PrivacyProtection.jsx index 9ea8e41..7a2cb7e 100644 --- a/src/components/manage/Blocks/DiscodataOpenlayersMapBlock/PrivacyProtection.jsx +++ b/src/components/manage/Blocks/DiscodataOpenlayersMapBlock/PrivacyProtection.jsx @@ -72,12 +72,7 @@ export default ({ children, data = {}, block, onShow, ...rest }) => { className="floating-icon mr-1" data-tip={dataprotection.privacy_statement} > - + ) : ( '' @@ -112,8 +107,8 @@ export default ({ children, data = {}, block, onShow, ...rest }) => {

Your choice will be saved in a cookie managed by{' '} - {config.settings.ownDomain || '.eea.europa.eu'} that will expire in{' '} - {getExpDays()} days. + {config.settings.ownDomain || '.eea.europa.eu'} that will + expire in {getExpDays()} days.

diff --git a/src/components/manage/Blocks/ExploreEprtr/View.jsx b/src/components/manage/Blocks/ExploreEprtr/View.jsx index 7edeb3b..817b91c 100644 --- a/src/components/manage/Blocks/ExploreEprtr/View.jsx +++ b/src/components/manage/Blocks/ExploreEprtr/View.jsx @@ -20,7 +20,9 @@ const View = (props) => { tablet="7" mobile="12" > - Explore the data + + Explore the data + { tablet="5" mobile="12" > - +
Analyse
diff --git a/src/components/manage/Blocks/ExploreEprtr/styles.css b/src/components/manage/Blocks/ExploreEprtr/styles.css index 4ea94e6..1c88751 100644 --- a/src/components/manage/Blocks/ExploreEprtr/styles.css +++ b/src/components/manage/Blocks/ExploreEprtr/styles.css @@ -12,9 +12,13 @@ margin-bottom: 1rem !important; } +.ui.grid.explore-eprtr .explore-map a img { + width: 100%; +} + .explore-eprtr .description { display: flex !important; - justify-content: space-between; + justify-content: space-between !important; } .explore-eprtr .description .explore-tile { diff --git a/src/components/manage/Blocks/Iframe/View.jsx b/src/components/manage/Blocks/Iframe/View.jsx index b2e35aa..140da08 100644 --- a/src/components/manage/Blocks/Iframe/View.jsx +++ b/src/components/manage/Blocks/Iframe/View.jsx @@ -204,12 +204,7 @@ const View = ({ content, ...props }) => {

{title}

- +
) : title ? ( @@ -253,7 +248,7 @@ const View = ({ content, ...props }) => { export default compose( connect((state, props) => ({ - query: state.router.location.search, + query: qs.parse(state.router.location.search.replace('?', '')), search: state.discodata_query.search, flags: state.flags, })), diff --git a/src/components/manage/Blocks/SidebarBlock/View.jsx b/src/components/manage/Blocks/SidebarBlock/View.jsx index e1c0639..07a7ba0 100644 --- a/src/components/manage/Blocks/SidebarBlock/View.jsx +++ b/src/components/manage/Blocks/SidebarBlock/View.jsx @@ -68,189 +68,10 @@ const makeNewNavigation = ( dispatch, flags, ) => { - if ( - ['facilities', 'installations', 'lcps'].includes(preset) && - !collection.length - ) { + if (['lcps'].includes(preset) && !collection.length) { return []; } - if (preset === 'facilities') { - return items?.map((item) => ({ - ...item, - onClick: (pathname, query) => { - dispatch(deleteQueryParam({ queryParam: ['facilityInspireId'] })); - history.push(`${item.url}${query}`); - }, - items: item.items - ? collection.map((facility) => ({ - title: facility.facilityInspireId, - url: facility.facilityInspireId, - presetItem: true, - onClick: (pathname, query) => { - if (facility.facilityInspireId !== search.facilityInspireId) { - dispatch( - setQueryParam({ - queryParam: { - facilityInspireId: facility.facilityInspireId, - }, - }), - ); - } - if (pathname !== item.items[0].url) { - history.push(`${item.items[0].url}${query}`); - } - }, - active: (pathname) => { - return ( - search.facilityInspireId === facility.facilityInspireId && - pathname === item.items[0].url - // pathname.includes(item.url) - ); - }, - items: [ - // ...[ - // { - // title: 'Pollutant Releases', - // url: item.items[0]?.url, - // flag: 'has_release_data', - // id: 'pollutant_releases_tableau', - // }, - // { - // title: 'Pollutant Transfers', - // url: item.items[0]?.url, - // flag: 'has_transfer_data', - // id: 'pollutant_transfers_tableau', - // }, - // { - // title: 'Waste Transfers', - // url: item.items[0]?.url, - // flag: 'has_waste_data', - // id: 'pollutant_waste_tableau', - // }, - // ] - // .filter( - // (child) => - // flags.items.facilities?.[facility.facilityInspireId]?.[ - // child.flag - // ], - // ) - // ?.map((child) => ({ - // ...child, - // redirect: (pathname) => { - // // if ( - // // search.facilityInspireId !== facility.facilityInspireId && - // // pathname === child.url - // // ) { - // // history.push(item.url); - // // } - // }, - // active: (pathname) => { - // // return ( - // // search.facilityInspireId === facility.facilityInspireId && - // // pathname.includes(child.url) - // // ); - // }, - // onClick: (pathname, query) => { - // if ( - // facility.facilityInspireId !== search.facilityInspireId - // ) { - // dispatch( - // setQueryParam({ - // queryParam: { - // facilityInspireId: facility.facilityInspireId, - // }, - // }), - // ); - // } - // if (pathname !== child.url) { - // history.push(`${child.url}${query}#${child.id}`); - // } else { - // const hashElement = document.getElementById(child.id); - // if (hashElement) { - // hashElement.scrollIntoView(); - // } - // } - // }, - // })), - ], - })) - : [], - })); - } else if (preset === 'installations') { - return items?.map((item) => ({ - ...item, - onClick: (pathname, query) => { - dispatch( - deleteQueryParam({ - queryParam: ['facilityInspireId', 'installationInspireId'], - }), - ); - history.push(`${item.url}${query}`); - }, - items: item.items - ? collection.map((facility) => ({ - title: facility.facilityInspireId, - url: facility.facilityInspireId, - presetItem: true, - onClick: (pathname, query) => { - if (facility.facilityInspireId !== search.facilityInspireId) { - dispatch( - setQueryParam({ - queryParam: { - facilityInspireId: facility.facilityInspireId, - installationInspireId: facility.installations[0], - }, - }), - ); - } - if (pathname !== item.items[0].url) { - history.push(`${item.items[0].url}${query}`); - } - }, - active: (pathname) => { - return ( - search.facilityInspireId === facility.facilityInspireId && - pathname === item.items[0].url - // pathname.includes(item.url) - ); - }, - items: [ - ...(facility.installations?.map((installation) => ({ - title: installation, - url: installation, - presetItem: true, - onClick: (pathname, query) => { - if ( - installation !== search.installationInspireId || - facility.facilityInspireId !== search.facilityInspireId - ) { - dispatch( - setQueryParam({ - queryParam: { - facilityInspireId: facility.facilityInspireId, - installationInspireId: installation, - }, - }), - ); - } - if (pathname !== item.items[0].url) { - history.push(`${item.items[0].url}${query}`); - } - }, - active: (pathname) => { - return ( - search.installationInspireId === installation && - pathname === item.items[0].url - // pathname.includes(item.url) - ); - }, - items: [], - })) || []), - ], - })) - : [], - })); - } else if (preset === 'lcps') { + if (preset === 'lcps') { return items?.map((item) => ({ ...item, onClick: (pathname, query) => { @@ -505,6 +326,7 @@ const View = ({ content, ...props }) => { } /* eslint-disable-next-line */ }, [navigation]); + return navigation.length ? (
{ + const [activeAels, setActiveAels] = React.useState({}); + const { data = {}, installationsNth = {}, entity = '' } = props; + const installations = Object.keys(data).sort(); + + return ( +
+
+

BAT conclusions

+ + +
+ } + /> +
+ + {installations.length ? ( +
+ {installations.map((installation) => { + const conclusions = Object.keys(data[installation] || {}).sort(); + + return ( +
+

+ {entity === 'site' + ? `${installationsNth[installation]} ${installation}` + : ''} +

+ {conclusions.length + ? conclusions.map((conclusion) => { + const conclusionData = + data[installation][conclusion]?.[0]; + const batAels = data[installation][conclusion] + .filter((ael) => ael.derogationBATAELName) + .sort((a, b) => + a.derogationBATAELName > b.derogationBATAELName + ? 1 + : b.derogationBATAELName > a.derogationBATAELName + ? -1 + : 0, + ); + + return ( +
+
+

{conclusion}

+ {batAels.length ? ( +
+ + { + if ( + !activeAels[ + `${installation}.${conclusion}` + ] + ) { + setActiveAels({ + [`${installation}.${conclusion}`]: true, + }); + } else { + setActiveAels({}); + } + }} + /> +
+ } + /> +
+ ) : ( + '' + )} +
+ + + +

Status

+

+ {conclusionData.Status || '-'} +

+
+ +

Status modified

+

+ {conclusionData.StatusModifiedYear || '-'} +

+
+
+
+ {batAels.length && + activeAels[`${installation}.${conclusion}`] ? ( +
+

BAT AELs

+ {batAels.map((ael) => { + return ( +
+

+ + {ael.derogationBATAELName} + +

+ + + +

Start date

+

+ {getDate(ael.derogationStartDate) || + '-'} +

+
+ +

End date

+

+ {getDate(ael.derogationEndDate)} +

+
+ +

Status

+

+ {ael.Status || '-'} +

+
+
+
+
+ ); + })} +
+ ) : ( + '' + )} +
+ ); + }) + : ''} +
+ ); + })} +
+ ) : ( +

+ No information provided about competent authority +

+ )} +
+ ); +}; + +export default View; diff --git a/src/components/manage/Blocks/SiteBlocks/CompetentAuthority.jsx b/src/components/manage/Blocks/SiteBlocks/CompetentAuthority.jsx index b6bea9d..0d6b8b4 100644 --- a/src/components/manage/Blocks/SiteBlocks/CompetentAuthority.jsx +++ b/src/components/manage/Blocks/SiteBlocks/CompetentAuthority.jsx @@ -1,56 +1,57 @@ import React from 'react'; import Icon from '@plone/volto/components/theme/Icon/Icon'; +import { Popup, Grid } from 'semantic-ui-react'; import RenderTable from './RenderTable'; -import cx from 'classnames'; import infoSVG from '@plone/volto/icons/info.svg'; const CompetentAuthority = (props) => { const competentAuthority = props.competentAuthority; return ( -
-
1 ? 'mb-1' : '', - )} - > +
+

Competent Authority

- + +
} - > - - + />
{competentAuthority.length === 0 ? ( -

+

No information provided about competent authority

) : ( '' )} {competentAuthority.length === 1 ? ( -

+

Last updated: {competentAuthority[0].authLastUpdated}

) : ( '' )} - {competentAuthority.length > 1 ? ( -
+ {competentAuthority.length > 1 || + (competentAuthority.length === 1 && props.type === 'site') ? ( +
{ />
) : competentAuthority.length === 1 ? ( -
-
-
+ + +

Organization Name

{competentAuthority[0].organizationName}

-
-
+ +

Contact Person

{competentAuthority[0].contactPerson}

-
-
-
-
+ +

Address

{competentAuthority[0].address}

-
-
+ +

E-mail

{competentAuthority[0].email}

-
-
-
+ + + ) : ( '' )} diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/View.jsx new file mode 100644 index 0000000..99ccbf5 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/View.jsx @@ -0,0 +1,87 @@ +import React from 'react'; +import { compose } from 'redux'; +import { connect } from 'react-redux'; +import { setQueryParam, deleteQueryParam } from 'volto-datablocks/actions'; +import CompetentAuthority from '../CompetentAuthority'; +import { getDate } from '../helpers'; +import qs from 'querystring'; +import '../style.css'; + +const getAllIndexes = (arr, val) => { + const indexes = []; + let i = -1; + while ((i = arr.indexOf(val, i + 1)) !== -1) { + indexes.push(i); + } + return indexes; +}; + +const View = (props) => { + const [facilities, setFacilities] = React.useState([]); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + + const competentAuthority = facilities + .filter((facility) => facility.facilityOrganizationName) + .map((facility) => ({ + organizationName: facility.facilityOrganizationName, + contactPerson: facility.facilityContactPerson, + address: facility.facilityAddress, + email: facility.facilityContactMail, + authLastUpdated: getDate(facility.authLastUpdated), + })); + + React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys.length) { + const indexes = getAllIndexes( + provider_data?.euregReportingYear || [], + siteReportingYear, + ); + const newFacilities = []; + indexes.forEach((index, i) => { + newFacilities[i] = {}; + keys.forEach((key) => { + newFacilities[i][key] = provider_data[key][index]; + }); + }); + setFacilities(newFacilities); + } + }, [provider_data, provider_data?.euregReportingYear, siteReportingYear]); + + return props.mode === 'edit' ? ( +

{props.blockTitle}

+ ) : ( +
+ {facilities?.[0] ? ( + <> +

{facilities[0]?.facilityName}

+

Industrial activity

+

+ + {facilities[0]?.facilityIndustrialActivity}{' '} + {facilities[0]?.facilityMainActivity} + +

+ + ) : ( + '' + )} + +
+ ); +}; + +export default compose( + connect( + (state, props) => ({ + query: qs.parse(state.router.location.search.replace('?', '')), + discodata_query: state.discodata_query, + }), + { + setQueryParam, + deleteQueryParam, + }, + ), +)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/index.js b/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/index.js new file mode 100644 index 0000000..2e615f2 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/index.js @@ -0,0 +1,17 @@ +import EnvironmentalFacilityDetails from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + environmental_facility_details: { + view: EnvironmentalFacilityDetails, + title: 'Enivornmental facility details', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/schema.js b/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/schema.js new file mode 100644 index 0000000..f2a3a43 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails/schema.js @@ -0,0 +1,19 @@ +const getSchema = (props) => { + return { + title: 'Environmental facility details', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: [], + }, + ], + + properties: {}, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/View.jsx new file mode 100644 index 0000000..1866b9e --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/View.jsx @@ -0,0 +1,77 @@ +import React from 'react'; +import { compose } from 'redux'; +import { connect } from 'react-redux'; +import { Grid } from 'semantic-ui-react'; +import qs from 'querystring'; +import '../style.css'; + +const View = (props) => { + const [lcp, setLcp] = React.useState({}); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const { lcpInspireId = null } = query; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + const index = provider_data?.euregReportingYear?.indexOf(siteReportingYear); + + React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys?.length) { + const newLcp = {}; + keys.forEach((key) => { + newLcp[key] = provider_data[key][index]; + }); + setLcp(newLcp); + } + }, [index, provider_data, lcpInspireId]); + + return props.mode === 'edit' ? ( +

{props.blockTitle}

+ ) : ( +
+

{lcp.installationPartName}

+ + + +

Plant Type

+

{lcp.plantType || '-'}

+
+ +

Total rated thermal input

+

+ {lcp.totalRatedThermalInput + ? lcp.totalRatedThermalInput + : 'unspecified'} +

+
+ +

Untreated municipal waste treate

+

{lcp.untreatedMunicipalWaste ? 'yes' : 'no'}

+
+ +

Specific conditions apply?

+

{lcp.specificConditions ? lcp.specificConditions : 'no'}

+
+ +

Significant hazardous waste incinerated

+

{lcp.heatReleaseHazardousWaste ? 'yes' : 'no'}

+
+ +

Nominal capacity

+

+ {lcp.totalNominalCapacityAnyWaste + ? lcp.totalNominalCapacityAnyWaste + : 'unspecified'} +

+
+
+
+
+ ); +}; + +export default compose( + connect((state, props) => ({ + query: qs.parse(state.router.location.search.replace('?', '')), + discodata_query: state.discodata_query, + })), +)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/index.js b/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/index.js new file mode 100644 index 0000000..9b89cc7 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/index.js @@ -0,0 +1,17 @@ +import EnvironmentalLCPDetails from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + environmental_lcp_details: { + view: EnvironmentalLCPDetails, + title: 'Environmental LCP details', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/schema.js b/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/schema.js new file mode 100644 index 0000000..569b12a --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails/schema.js @@ -0,0 +1,19 @@ +const getSchema = (props) => { + return { + title: 'Environmental LCP details', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: [], + }, + ], + + properties: {}, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/View.jsx new file mode 100644 index 0000000..91c8bb9 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/View.jsx @@ -0,0 +1,148 @@ +import React from 'react'; +import { compose } from 'redux'; +import { connect } from 'react-redux'; +import { setQueryParam, deleteQueryParam } from 'volto-datablocks/actions'; +import CompetentAuthority from '../CompetentAuthority'; +import { getDate, getLonLat } from '../helpers'; +import { Grid } from 'semantic-ui-react'; +import qs from 'querystring'; +import '../style.css'; + +const getAllIndexes = (arr, val) => { + const indexes = []; + let i = -1; + while ((i = arr.indexOf(val, i + 1)) !== -1) { + indexes.push(i); + } + return indexes; +}; + +const View = (props) => { + const [siteDetails, setSiteDetails] = React.useState({}); + const [facilities, setFacilities] = React.useState([]); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + + const facilityList = [ + ...new Set(facilities.map((facility) => facility.facilityInspireId).sort()), + ]; + + const competentAuthority = facilities + .filter((facility) => facility.facilityOrganizationName) + .map((facility, index) => ({ + facilityInspireId: facility.facilityInspireId, + organizationName: facility.facilityOrganizationName, + contactPerson: facility.facilityContactPerson, + address: facility.facilityAddress, + email: facility.facilityContactMail, + authLastUpdated: getDate(facility.authLastUpdated), + nth: `${facilityList.indexOf(facility.facilityInspireId) + 1}.`, + })); + + React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys.length) { + const indexes = getAllIndexes( + provider_data?.euregReportingYear || [], + siteReportingYear, + ); + const newSiteDetails = {}; + const newFacilities = []; + indexes.forEach((index, i) => { + newFacilities[i] = {}; + keys.forEach((key) => { + if (i === 0) { + newSiteDetails[key] = provider_data[key][index]; + } + newFacilities[i][key] = provider_data[key][index]; + }); + }); + setSiteDetails(newSiteDetails); + setFacilities( + newFacilities.sort((a, b) => + a.facilityInspireId > b.facilityInspireId + ? 1 + : b.facilityInspireId > a.facilityInspireId + ? -1 + : 0, + ), + ); + } + }, [provider_data, provider_data?.euregReportingYear, siteReportingYear]); + + return props.mode === 'edit' ? ( +

{props.blockTitle}

+ ) : ( +
+ {/* BLUE BANNER */} + {siteDetails.authLastUpdated ? ( +
+ + + +

Last report was submitted on:

+

+ {getDate(siteDetails.authLastUpdated)} +

+
+ {siteDetails.eprtrReportingYear ? ( + +

EPRTR reporting year

+

+ {siteDetails.eprtrReportingYear} +

+
+ ) : ( + '' + )} +
+
+
+ ) : ( + '' + )} +
+

Site details

+
+ + {/* SITE DETAILS */} + + + +

Coordinates

+

+ {getLonLat(siteDetails.shape_wm_as_text) || '-'} +

+
+ +

NUTS Region

+

{siteDetails.NUTS || '-'}

+
+ +

National ID

+

{siteDetails.nationalId || '-'}

+
+ +

River Basin District

+

{siteDetails.riverBasin || '-'}

+
+
+
+ +
+ ); +}; + +export default compose( + connect( + (state, props) => ({ + query: qs.parse(state.router.location.search.replace('?', '')), + discodata_query: state.discodata_query, + }), + { + setQueryParam, + deleteQueryParam, + }, + ), +)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/index.js b/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/index.js new file mode 100644 index 0000000..e38b07f --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/index.js @@ -0,0 +1,17 @@ +import EnvironmentalSiteDetails from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + environmental_site_details: { + view: EnvironmentalSiteDetails, + title: 'Environmental site details', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/schema.js b/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/schema.js new file mode 100644 index 0000000..c9b94af --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails/schema.js @@ -0,0 +1,19 @@ +const getSchema = (props) => { + return { + title: 'Environmental site details', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: [], + }, + ], + + properties: {}, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/Header/View.jsx b/src/components/manage/Blocks/SiteBlocks/Header/View.jsx index 3c00fb4..1f1f63c 100644 --- a/src/components/manage/Blocks/SiteBlocks/Header/View.jsx +++ b/src/components/manage/Blocks/SiteBlocks/Header/View.jsx @@ -1,116 +1,136 @@ import React from 'react'; import { compose } from 'redux'; import { connect } from 'react-redux'; -import { Dropdown } from 'semantic-ui-react'; -import QueryBuilder from '../QueryBuilder'; -import { - setQueryParam, - deleteQueryParam, -} from 'volto-datablocks/actions'; +import { Grid, Dropdown } from 'semantic-ui-react'; +import { setQueryParam, deleteQueryParam } from 'volto-datablocks/actions'; +import qs from 'querystring'; import './style.css'; +const getQueryString = (query) => { + if (!Object.keys(query).length) return ''; + return '?' + qs.stringify(query); +}; + const View = (props) => { - const { - siteInspireId = null, - siteReportingYear = null, - } = props.discodata_query.search; - const { - site_header = {}, - reporting_years = [], - } = props.discodata_resources.data; - const site = site_header[siteInspireId] || null; - const options = reporting_years - .filter((item) => item.reportingYear) - .map((item, index) => ({ - key: item.reportingYear || index, - value: item.reportingYear || index, - text: item.reportingYear || index, - })); + const [siteHeader, setSiteHeader] = React.useState({}); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + const index = provider_data?.euregReportingYear?.indexOf(siteReportingYear); - return props.mode === 'edit' ? ( -

Site Header

- ) : ( -
- - {site ? ( -
-

{site.siteName}

-
-
-

Country

-

{site.countryCode}

-
+ const reportingYears = provider_data.euregReportingYear?.length + ? provider_data.euregReportingYear + .filter((year) => year) + .map((year) => ({ + key: year, + value: year, + text: year, + })) + : []; -
-

Regulation

- {site.count_factype_EPRTR ? ( -

- {site.count_factype_EPRTR} EPRTR{' '} - {site.count_factype_EPRTR > 1 ? 'Facilities' : 'Facility'} -

- ) : ( - '' - )} - {site.count_factype_NONEPRTR ? ( -

- {site.count_factype_NONEPRTR} NON-EPRTR{' '} - {site.count_factype_NONEPRTR > 1 ? 'Facilities' : 'Facility'} -

- ) : ( - '' - )} - {site.count_instype_IED ? ( -

- {site.count_instype_IED} IED Installation - {site.count_instype_IED > 1 ? 's' : ''} -

- ) : ( - '' - )} - {site.count_instype_NONIED ? ( -

- {site.count_instype_NONIED} NON-IED Installation - {site.count_instype_NONIED > 1 ? 's' : ''} -

- ) : ( - '' - )} - {site.count_plantType_LCP ? ( -

- {site.count_plantType_LCP} Large combustion plant - {site.count_plantType_LCP > 1 ? 's' : ''} -

- ) : ( - '' - )} - {site.count_plantType_WI ? ( -

- {site.count_plantType_WI} Waste incinerator - {site.count_plantType_WI > 1 ? 's' : ''} -

- ) : ( - '' - )} - {site.count_plantType_coWI ? ( -

- {site.count_plantType_coWI} Co-waste incinerator - {site.count_plantType_WI > 1 ? 's' : ''} -

- ) : ( - '' - )} -
+ React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys?.length) { + const newSiteHeader = {}; + keys.forEach((key) => { + newSiteHeader[key] = provider_data[key][index]; + }); + setSiteHeader(newSiteHeader); + } + }, [provider_data, index]); -
-

Inspire id

-

{site.siteInspireId}

-
- -
-

Reporting year

+ return props.mode === 'edit' ? ( +

Site header

+ ) : Object.keys(siteHeader)?.length ? ( +
+

{siteHeader.siteName}

+ + + +

Country

+

{siteHeader.countryCode}

+
+ +

Regulation

+ {siteHeader.count_factype_EPRTR ? ( +

+ {siteHeader.count_factype_EPRTR} EPRTR{' '} + {siteHeader.count_factype_EPRTR > 1 ? 'Facilities' : 'Facility'} +

+ ) : ( + '' + )} + {siteHeader.count_factype_NONEPRTR ? ( +

+ {siteHeader.count_factype_NONEPRTR} NON-EPRTR{' '} + {siteHeader.count_factype_NONEPRTR > 1 + ? 'Facilities' + : 'Facility'} +

+ ) : ( + '' + )} + {siteHeader.count_instype_IED ? ( +

+ {siteHeader.count_instype_IED} IED Installation + {siteHeader.count_instype_IED > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {siteHeader.count_instype_NONIED ? ( +

+ {siteHeader.count_instype_NONIED} NON-IED Installation + {siteHeader.count_instype_NONIED > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {siteHeader.count_plantType_LCP ? ( +

+ {siteHeader.count_plantType_LCP} Large combustion plant + {siteHeader.count_plantType_LCP > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {siteHeader.count_plantType_WI ? ( +

+ {siteHeader.count_plantType_WI} Waste incinerator + {siteHeader.count_plantType_WI > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {siteHeader.count_plantType_coWI ? ( +

+ {siteHeader.count_plantType_coWI} Co-waste incinerator + {siteHeader.count_plantType_WI > 1 ? 's' : ''} +

+ ) : ( + '' + )} +
+ +

Inspire id

+

{siteHeader.siteInspireId}

+
+ +

Reporting year

+
{ + props.history.push({ + pathname: props.location.pathname, + search: getQueryString({ + ...props.query, + siteReportingYear: data.value, + }), + state: { + ignoreScrollBehavior: true, + }, + }); props.setQueryParam({ queryParam: { siteReportingYear: data.value, @@ -118,26 +138,25 @@ const View = (props) => { }); }} placeholder={'Select'} - options={options} + options={reportingYears} value={siteReportingYear} aria-label="Reporting year selector" />
-
-
- ) : ( - '' - )} + + +
+ ) : ( + '' ); }; export default compose( connect( (state, props) => ({ - query: state.router.location.search, + query: qs.parse(state.router.location.search.replace('?', '')), discodata_query: state.discodata_query, - discodata_resources: state.discodata_resources, }), { setQueryParam, diff --git a/src/components/manage/Blocks/SiteBlocks/Header/ViewDeprecated.jsx b/src/components/manage/Blocks/SiteBlocks/Header/ViewDeprecated.jsx new file mode 100644 index 0000000..ff0d032 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/Header/ViewDeprecated.jsx @@ -0,0 +1,144 @@ +import React from 'react'; +import { compose } from 'redux'; +import { connect } from 'react-redux'; +import { Dropdown } from 'semantic-ui-react'; +import QueryBuilder from '../QueryBuilder'; +import { setQueryParam, deleteQueryParam } from 'volto-datablocks/actions'; +import './style.css'; + +const View = (props) => { + const { + siteInspireId = null, + siteReportingYear = null, + } = props.discodata_query.search; + const { + site_header = {}, + reporting_years = [], + } = props.discodata_resources.data; + const site = site_header[siteInspireId] || null; + const options = reporting_years + .filter((item) => item.reportingYear) + .map((item, index) => ({ + key: item.reportingYear || index, + value: item.reportingYear || index, + text: item.reportingYear || index, + })); + + return props.mode === 'edit' ? ( +

Site Header

+ ) : ( +
+ + {site ? ( +
+

{site.siteName}

+
+
+

Country

+

{site.countryCode}

+
+ +
+

Regulation

+ {site.count_factype_EPRTR ? ( +

+ {site.count_factype_EPRTR} EPRTR{' '} + {site.count_factype_EPRTR > 1 ? 'Facilities' : 'Facility'} +

+ ) : ( + '' + )} + {site.count_factype_NONEPRTR ? ( +

+ {site.count_factype_NONEPRTR} NON-EPRTR{' '} + {site.count_factype_NONEPRTR > 1 ? 'Facilities' : 'Facility'} +

+ ) : ( + '' + )} + {site.count_instype_IED ? ( +

+ {site.count_instype_IED} IED Installation + {site.count_instype_IED > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {site.count_instype_NONIED ? ( +

+ {site.count_instype_NONIED} NON-IED Installation + {site.count_instype_NONIED > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {site.count_plantType_LCP ? ( +

+ {site.count_plantType_LCP} Large combustion plant + {site.count_plantType_LCP > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {site.count_plantType_WI ? ( +

+ {site.count_plantType_WI} Waste incinerator + {site.count_plantType_WI > 1 ? 's' : ''} +

+ ) : ( + '' + )} + {site.count_plantType_coWI ? ( +

+ {site.count_plantType_coWI} Co-waste incinerator + {site.count_plantType_WI > 1 ? 's' : ''} +

+ ) : ( + '' + )} +
+ +
+

Inspire id

+

{site.siteInspireId}

+
+ +
+

Reporting year

+ { + props.setQueryParam({ + queryParam: { + siteReportingYear: data.value, + }, + }); + }} + placeholder={'Select'} + options={options} + value={siteReportingYear} + aria-label="Reporting year selector" + /> +
+
+
+ ) : ( + '' + )} +
+ ); +}; + +export default compose( + connect( + (state, props) => ({ + query: state.router.location.search, + discodata_query: state.discodata_query, + discodata_resources: state.discodata_resources, + }), + { + setQueryParam, + deleteQueryParam, + }, + ), +)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/Header/index.js b/src/components/manage/Blocks/SiteBlocks/Header/index.js new file mode 100644 index 0000000..8599263 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/Header/index.js @@ -0,0 +1,17 @@ +import SiteHeader from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + site_header: { + view: SiteHeader, + title: 'Site header', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/Header/schema.js b/src/components/manage/Blocks/SiteBlocks/Header/schema.js new file mode 100644 index 0000000..57031c3 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/Header/schema.js @@ -0,0 +1,19 @@ +const getSchema = (props) => { + return { + title: 'LCP details', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: [], + }, + ], + + properties: {}, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/Header/style.css b/src/components/manage/Blocks/SiteBlocks/Header/style.css index 6f43c59..974772d 100644 --- a/src/components/manage/Blocks/SiteBlocks/Header/style.css +++ b/src/components/manage/Blocks/SiteBlocks/Header/style.css @@ -1,19 +1,17 @@ +.site-header .info { + word-break: break-all; +} + .site-header h3.title { margin-bottom: 1rem !important; color: #4296b2; } -.site-header .row { - justify-content: space-between; - margin-left: -0.5rem; -} - -.site-header .row .detail { - padding-right: 0.5rem; - padding-left: 0.5rem; - margin-bottom: 1rem; +.site-header .label { + font-weight: bold; + margin-bottom: 0; } .site-header .info { - word-break: break-all; -} + margin-bottom: 0; +} \ No newline at end of file diff --git a/src/components/manage/Blocks/SiteBlocks/LcpDetails/Edit.jsx b/src/components/manage/Blocks/SiteBlocks/LcpDetails/Edit.jsx deleted file mode 100644 index 8ac90ff..0000000 --- a/src/components/manage/Blocks/SiteBlocks/LcpDetails/Edit.jsx +++ /dev/null @@ -1,29 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import { connect } from 'react-redux'; -import { compose } from 'redux'; -import _uniqueId from 'lodash/uniqueId'; -import View from './View'; -import config from '@plone/volto/registry'; -import './style.css'; - -const getSchema = (props) => { - return {}; -}; - -const Edit = (props) => { - const [state, setState] = useState({ - schema: getSchema({ ...props, providerUrl: config.settings.providerUrl }), - id: _uniqueId('block_'), - }); - return ( -
- -
- ); -}; - -export default compose( - connect((state, props) => ({ - pathname: state.router.location.pathname, - })), -)(Edit); diff --git a/src/components/manage/Blocks/SiteBlocks/LcpDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/LcpDetails/View.jsx deleted file mode 100644 index d30c117..0000000 --- a/src/components/manage/Blocks/SiteBlocks/LcpDetails/View.jsx +++ /dev/null @@ -1,119 +0,0 @@ -import React from 'react'; -import { compose } from 'redux'; -import { connect } from 'react-redux'; -import ReactTooltip from 'react-tooltip'; -import { Link } from 'react-router-dom'; -import { - setQueryParam, - deleteQueryParam, -} from 'volto-datablocks/actions'; -import './style.css'; - -const View = (props) => { - const { - siteInspireId = null, - lcpInspireId = null, - siteReportingYear = null, - } = props.discodata_query.search; - const { site_details_4 = {} } = props.discodata_resources.data; - const data = site_details_4[siteInspireId] || null; - const lcp = { - ...(data?.euregReportingYears?.[siteReportingYear]?.filter( - (part) => part.lcpInspireId === lcpInspireId, - )?.[0] || {}), - }; - return props.mode === 'edit' ? ( -

Lcp details

- ) : ( - <> - {Object.keys(lcp).length ? ( -
-

{lcp.installationPartName}

-

- This large-scale fuel combustion plant is linked to: -

-

- { - props.deleteQueryParam({ - queryParam: ['installationInspireId', 'lcpInspireId'], - }); - }} - > - {lcp.FacilityNameInspireID} - -

- {/* LCP DETAILS */} -
-
-

Plant Type

-

{lcp.plantType}

-
-
-

Total rated thermal input

-

- {lcp.totalRatedThermalInput - ? lcp.totalRatedThermalInput - : 'unspecified'} -

-
-
-
-
-

Untreated municipal waste treate

-

- {lcp.untreatedMunicipalWaste ? 'yes' : 'no'} -

-
-
-

Specific conditions apply?

-

- {lcp.specificConditions ? lcp.specificConditions : 'no'} -

-
-
-
-
-

- Significant hazardous waste incinerated -

-

- {lcp.heatReleaseHazardousWaste ? 'yes' : 'no'} -

-
-
-

Nominal capacity

-

- {lcp.totalNominalCapacityAnyWaste - ? lcp.totalNominalCapacityAnyWaste - : 'unspecified'} -

-
-
- - -
- ) : ( - '' - )} - - ); -}; - -export default compose( - connect( - (state, props) => ({ - query: state.router.location.search, - discodata_query: state.discodata_query, - discodata_resources: state.discodata_resources, - }), - { - setQueryParam, - deleteQueryParam, - }, - ), -)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/LcpDetails/style.css b/src/components/manage/Blocks/SiteBlocks/LcpDetails/style.css deleted file mode 100644 index 97f1341..0000000 --- a/src/components/manage/Blocks/SiteBlocks/LcpDetails/style.css +++ /dev/null @@ -1,38 +0,0 @@ -.lcp-details h3.blue { - color: #4296b2; -} - -.lcp-details .header-tooltip { - display: flex; - align-items: center; -} - -.lcp-details .floating-icon { - display: flex; -} - -.lcp-details .header-tooltip h3 { - margin-right: 0.3rem; - margin-bottom: 0; -} - -.lcp-details .list { - display: flex; - flex-flow: row; - flex-wrap: wrap; - padding: 0; - color: #ec776a; - grid-gap: 20px; - list-style: none; -} - -.lcp-details .list li button { - padding: 0; - border: none; - background: transparent; - color: #ec776a; -} - -.lcp-details .list li button:focus { - outline: none; -} diff --git a/src/components/manage/Blocks/SiteBlocks/PermitingAuthority.jsx b/src/components/manage/Blocks/SiteBlocks/PermitingAuthority.jsx index ee35305..a31cb50 100644 --- a/src/components/manage/Blocks/SiteBlocks/PermitingAuthority.jsx +++ b/src/components/manage/Blocks/SiteBlocks/PermitingAuthority.jsx @@ -1,47 +1,66 @@ import React from 'react'; +import { Popup, Grid } from 'semantic-ui-react'; import Icon from '@plone/volto/components/theme/Icon/Icon'; +import { UniversalLink } from '@plone/volto/components'; import RenderTable from './RenderTable'; import cx from 'classnames'; import infoSVG from '@plone/volto/icons/info.svg'; const PermitingAuthority = (props) => { + const { entity = '' } = props; const permitingAuthority = props.permitingAuthority; return ( -
-
+
+

Permiting Authority

- + +
} - > - - + />
- {permitingAuthority.length === 0 ? ( -

+ {!permitingAuthority.length ? ( +

No information provided about permiting authority

) : ( '' )} - {permitingAuthority.length > 1 ? ( -
+ {permitingAuthority.length > 1 || + (permitingAuthority.length === 1 && entity === 'site') ? ( +
{ />
) : permitingAuthority.length === 1 ? ( -
-
-
-

Permit updated

-

- {permitingAuthority[0].permitUpdated || '-'} -

-
-
-

Permiting authority

-

- {permitingAuthority[0].permitingAuthority || '-'} -

-
-
-
-
-

Permit available

-

- {permitingAuthority[0].permitAvailable || '-'} -

-
-
-

Seveso

-

{permitingAuthority[0].seveso || '-'}

-
-
-
-
-

Status

-

- {permitingAuthority[0].entityStatus || '-'} -

-
-
+
+ + + +

Permit updated

+

+ {permitingAuthority[0].permitUpdated || '-'} +

+
+ +

Permiting authority

+

+ {permitingAuthority[0].permitingAuthority || '-'} +

+
+ +

Permit available

+

+ {permitingAuthority[0].permitAvailable ? ( + + {permitingAuthority[0].permitAvailable} + + ) : ( + '-' + )} +

+
+ +

Seveso

+

{permitingAuthority[0].seveso || '-'}

+
+ +

Status

+

+ {permitingAuthority[0].entityStatus || '-'} +

+
+
+
) : ( '' diff --git a/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/Edit.jsx b/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/Edit.jsx deleted file mode 100644 index 8ac90ff..0000000 --- a/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/Edit.jsx +++ /dev/null @@ -1,29 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import { connect } from 'react-redux'; -import { compose } from 'redux'; -import _uniqueId from 'lodash/uniqueId'; -import View from './View'; -import config from '@plone/volto/registry'; -import './style.css'; - -const getSchema = (props) => { - return {}; -}; - -const Edit = (props) => { - const [state, setState] = useState({ - schema: getSchema({ ...props, providerUrl: config.settings.providerUrl }), - id: _uniqueId('block_'), - }); - return ( -
- -
- ); -}; - -export default compose( - connect((state, props) => ({ - pathname: state.router.location.pathname, - })), -)(Edit); diff --git a/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/View.jsx deleted file mode 100644 index 3291171..0000000 --- a/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/View.jsx +++ /dev/null @@ -1,103 +0,0 @@ -import React from 'react'; -import { compose } from 'redux'; -import { connect } from 'react-redux'; -import ReactTooltip from 'react-tooltip'; -import { - setQueryParam, - deleteQueryParam, -} from 'volto-datablocks/actions'; -import Icon from '@plone/volto/components/theme/Icon/Icon'; -import infoSVG from '@plone/volto/icons/info.svg'; -import CompetentAuthority from '../CompetentAuthority'; -import { getDate } from '../helpers'; -import './style.css'; - -const View = (props) => { - const { - siteInspireId = null, - facilityInspireId = null, - siteReportingYear = null, - } = props.discodata_query.search; - const { - site_details_1 = {}, - site_details_2 = {}, - } = props.discodata_resources.data; - const data_1 = site_details_1[siteInspireId] || null; - const data_2 = site_details_2[siteInspireId] || null; - const site = { - ...(data_1?.euregReportingYears?.[siteReportingYear]?.[0] || {}), - ...(data_2?.euregReportingYears?.[siteReportingYear]?.[0] || {}), - }; - const facility = data_2?.facilities?.[facilityInspireId] || []; - - const competentAuthority = - siteReportingYear && facility - ? facility - .filter( - (report) => - report.euregReportingYears === siteReportingYear && - report.facilityOrganizationName, - ) - .map((report) => ({ - organizationName: report.facilityOrganizationName, - contactPerson: report.facilityContactPerson, - address: report.facilityAddress, - email: report.facilityContactMail, - authLastUpdated: getDate(report.eprtrAuthLastUpdated), - })) - : []; - - return props.mode === 'edit' ? ( -

Facility details

- ) : ( - <> - {Object.keys(site).length ? ( -
- {facility?.[0] ? ( -
-

{facility[0]?.facilityName}

-

Industrial activity

-

- - {facility[0]?.facilityIndustrialActivity}{' '} - {facility[0]?.facilityMainActivity} - - {/* - - */} -

-
- ) : ( - '' - )} - - -
- ) : ( - '' - )} - - ); -}; - -export default compose( - connect( - (state, props) => ({ - query: state.router.location.search, - discodata_query: state.discodata_query, - discodata_resources: state.discodata_resources, - }), - { - setQueryParam, - deleteQueryParam, - }, - ), -)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/style.css b/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/style.css deleted file mode 100644 index f0af14a..0000000 --- a/src/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/style.css +++ /dev/null @@ -1,38 +0,0 @@ -.facility-details h3.blue { - color: #4296b2; -} - -.facility-details .header-tooltip { - display: flex; - align-items: center; -} - -.facility-details .floating-icon { - display: flex; -} - -.facility-details .header-tooltip h3 { - margin-right: 0.3rem; - margin-bottom: 0; -} - -.facility-details .list { - display: flex; - flex-flow: row; - flex-wrap: wrap; - padding: 0; - color: #ec776a; - grid-gap: 20px; - list-style: none; -} - -.facility-details .list li button { - padding: 0; - border: none; - background: transparent; - color: #ec776a; -} - -.facility-details .list li button:focus { - outline: none; -} diff --git a/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/Edit.jsx b/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/Edit.jsx deleted file mode 100644 index 8ac90ff..0000000 --- a/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/Edit.jsx +++ /dev/null @@ -1,29 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import { connect } from 'react-redux'; -import { compose } from 'redux'; -import _uniqueId from 'lodash/uniqueId'; -import View from './View'; -import config from '@plone/volto/registry'; -import './style.css'; - -const getSchema = (props) => { - return {}; -}; - -const Edit = (props) => { - const [state, setState] = useState({ - schema: getSchema({ ...props, providerUrl: config.settings.providerUrl }), - id: _uniqueId('block_'), - }); - return ( -
- -
- ); -}; - -export default compose( - connect((state, props) => ({ - pathname: state.router.location.pathname, - })), -)(Edit); diff --git a/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/View.jsx deleted file mode 100644 index 0f47b78..0000000 --- a/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/View.jsx +++ /dev/null @@ -1,179 +0,0 @@ -import React from 'react'; -import { useHistory } from 'react-router-dom'; -import { compose } from 'redux'; -import { connect } from 'react-redux'; -import ReactTooltip from 'react-tooltip'; -import { - setQueryParam, - deleteQueryParam, -} from 'volto-datablocks/actions'; -import _uniqueId from 'lodash/uniqueId'; -import Icon from '@plone/volto/components/theme/Icon/Icon'; -import CompetentAuthority from '../CompetentAuthority'; -import { getDate, getLonLat } from '../helpers'; -import cx from 'classnames'; -import infoSVG from '@plone/volto/icons/info.svg'; -import './style.css'; - -const View = (props) => { - const history = useHistory(); - const { - siteInspireId = null, - siteReportingYear = null, - } = props.discodata_query.search; - const { - site_details_1 = {}, - site_details_2 = {}, - } = props.discodata_resources.data; - const data_1 = site_details_1[siteInspireId] || null; - const data_2 = site_details_2[siteInspireId] || null; - const site = { - ...(data_1?.euregReportingYears?.[siteReportingYear]?.[0] || {}), - ...(data_2?.euregReportingYears?.[siteReportingYear]?.[0] || {}), - }; - const facilities = data_1?.facilities || {}; - - const competentAuthority = - siteReportingYear && data_1?.euregReportingYears?.[siteReportingYear] - ? data_1.euregReportingYears[siteReportingYear] - .filter( - (report) => - report.euregReportingYears === siteReportingYear && - report.organizationName, - ) - .map((report) => ({ - organizationName: report.organizationName, - contactPerson: report.contactPerson, - address: report.authAddress, - email: report.contactMail, - authLastUpdated: getDate(report.authLastUpdated), - })) - : []; - - return props.mode === 'edit' ? ( -

Site details

- ) : ( - <> - {Object.keys(site).length ? ( -
- {/* BLUE BANNER */} - {site.authLastUpdated ? ( -
-
-
- {/* - - */} -

Last report was submitted on:

-

- {getDate(site.authLastUpdated)} -

-
- {site.eprtrReportingYear ? ( -
-

EPRTR reporting year

-

- {site.eprtrReportingYear} -

-
- ) : ( - '' - )} -
-
- ) : ( - '' - )} - {/* FACILITIES LIST */} -

List of facilities

-
    - {Object.keys(facilities).map((facility) => ( -
  1. - -
  2. - ))} -
- {/* SITE DETAILS */} -
-
-

Coordinates

-

{getLonLat(site.shape_wm_as_text)}

-
-
-

NUTS Region

-

{site.NUTS}

-
-
-
-
-

National ID

-

{site.nationalId}

-
-
-

River Basin District

-

{site.riverBasin}

-
-
-
-
-

Main Activity

-

{site.mainActivity}

-
-
- - -
- ) : ( - '' - )} - - ); -}; - -export default compose( - connect( - (state, props) => ({ - query: state.router.location.search, - discodata_query: state.discodata_query, - discodata_resources: state.discodata_resources, - }), - { - setQueryParam, - deleteQueryParam, - }, - ), -)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/style.css b/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/style.css deleted file mode 100644 index c049978..0000000 --- a/src/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/style.css +++ /dev/null @@ -1,38 +0,0 @@ -.site-details h3.blue { - color: #4296b2; -} - -.site-details .header-tooltip { - display: flex; - align-items: center; -} - -.site-details .floating-icon { - display: flex; -} - -.site-details .header-tooltip h3 { - margin-right: 0.3rem; - margin-bottom: 0; -} - -.site-details .list { - display: flex; - flex-flow: row; - flex-wrap: wrap; - padding: 0; - color: #ec776a; - grid-gap: 20px; - list-style: none; -} - -.site-details .list li button { - padding: 0; - border: none; - background: transparent; - color: #ec776a; -} - -.site-details .list li button:focus { - outline: none; -} diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/View.jsx b/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/View.jsx new file mode 100644 index 0000000..119430b --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/View.jsx @@ -0,0 +1,92 @@ +import React from 'react'; +import { compose } from 'redux'; +import { connect } from 'react-redux'; +import BatConclusions from '../BatConclusions'; +import qs from 'querystring'; +import '../style.css'; + +const getAllIndexes = (arr, val) => { + const indexes = []; + let i = -1; + while ((i = arr.indexOf(val, i + 1)) !== -1) { + indexes.push(i); + } + return indexes; +}; + +const View = (props) => { + const [batConclusions, setBatConclusions] = React.useState({}); + const [installationsNth, setInstallationsNth] = React.useState({}); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + + React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys.length) { + const indexes = getAllIndexes( + provider_data?.EUregReportingYear || [], + siteReportingYear, + ); + const facilities = [ + ...new Set(provider_data?.facilityInspireId || []), + ].sort(); + let newBatConclusions = {}; + const counter = {}; + const nth = {}; + indexes.forEach((index, i) => { + const obj = {}; + const installation = provider_data['installationInspireId'][index]; + const batConclusionName = provider_data['BATConclusionName'][index]; + if (!newBatConclusions[installation]) { + newBatConclusions[installation] = { + facility: provider_data['facilityInspireId'][index], + }; + } + if (!newBatConclusions[installation][batConclusionName]) { + newBatConclusions[installation][batConclusionName] = []; + } + keys.forEach((key) => { + obj[key] = provider_data[key][index]; + }); + newBatConclusions[installation][batConclusionName].push({ ...obj }); + }); + + Object.keys(newBatConclusions) + .sort() + .forEach((id, index) => { + const installation = newBatConclusions[id]; + const facility = installation.facility; + if (!nth[id]) { + counter[facility] = (counter[facility] || 0) + 1; + nth[id] = `${facilities.indexOf(facility) + 1}.${ + counter[facility] + }.`; + } + delete installation.facility; + }); + setInstallationsNth(nth); + setBatConclusions(newBatConclusions); + } + /* eslint-disable-next-line */ + }, [provider_data, provider_data?.EUregReportingYear, siteReportingYear]); + + return props.mode === 'edit' ? ( +

{props.blockTitle}

+ ) : ( +
+ +
+ ); +}; + +export default compose( + connect((state, props) => ({ + query: qs.parse(state.router.location.search.replace('?', '')), + discodata_query: state.discodata_query, + })), +)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/index.js b/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/index.js new file mode 100644 index 0000000..bf0285f --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/index.js @@ -0,0 +1,17 @@ +import RegulatoryBATConclusions from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + regulatory_bat_conclusions: { + view: RegulatoryBATConclusions, + title: 'Regulatory BAT conclusions', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/schema.js b/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/schema.js new file mode 100644 index 0000000..1458a4d --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions/schema.js @@ -0,0 +1,28 @@ +const getSchema = (props) => { + return { + title: 'Site regulatory permits', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: ['entity'], + }, + ], + + properties: { + entity: { + title: 'Entity', + type: 'array', + choices: [ + ['site', 'Site'], + ['installation', 'Installation'], + ], + }, + }, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatoryInstallationDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/RegulatoryInstallationDetails/View.jsx index 1f4eb0c..2dd6bc4 100644 --- a/src/components/manage/Blocks/SiteBlocks/RegulatoryInstallationDetails/View.jsx +++ b/src/components/manage/Blocks/SiteBlocks/RegulatoryInstallationDetails/View.jsx @@ -2,10 +2,7 @@ import React, { useState } from 'react'; import { compose } from 'redux'; import { connect } from 'react-redux'; import ReactTooltip from 'react-tooltip'; -import { - setQueryParam, - deleteQueryParam, -} from 'volto-datablocks/actions'; +import { setQueryParam, deleteQueryParam } from 'volto-datablocks/actions'; import Icon from '@plone/volto/components/theme/Icon/Icon'; import PermitingAuthority from '../PermitingAuthority'; import cx from 'classnames'; @@ -83,12 +80,7 @@ const View = (props) => { 'Number of individual conclusions that indicate which techniques or combinations of techniques are BAT for achieving a specific environmental objective' } > - +
{batConclusions.length || batDerogations.length ? ( diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/View.jsx b/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/View.jsx new file mode 100644 index 0000000..3a6fdcf --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/View.jsx @@ -0,0 +1,99 @@ +import React from 'react'; +import { compose } from 'redux'; +import { connect } from 'react-redux'; +import PermitingAuthority from '../PermitingAuthority'; +import { getDate } from '../helpers'; +import qs from 'querystring'; +import '../style.css'; + +const getAllIndexes = (arr, val) => { + const indexes = []; + let i = -1; + while ((i = arr.indexOf(val, i + 1)) !== -1) { + indexes.push(i); + } + return indexes; +}; + +const View = (props) => { + const [permits, setPermits] = React.useState([]); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + + React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys.length) { + const indexes = getAllIndexes( + provider_data?.EUregReportingYear || [], + siteReportingYear, + ); + const facilities = [ + ...new Set(provider_data?.facilityInspireId || []), + ].sort(); + let newPermits = []; + const counter = {}; + indexes.forEach((index, i) => { + newPermits[i] = {}; + keys.forEach((key) => { + newPermits[i][key] = provider_data[key][index]; + }); + }); + + setPermits( + newPermits + .sort((a, b) => + a.installationInspireId > b.installationInspireId + ? 1 + : b.installationInspireId > a.installationInspireId + ? -1 + : 0, + ) + .map((permit, index) => { + const facility = permit.facilityInspireId; + const installation = permit.installationInspireId; + counter[installation] = (counter[installation] || 0) + 1; + counter[facility] = + counter[installation] < 2 + ? (counter[facility] || 0) + 1 + : counter[facility]; + + return { + ...permit, + nth: `${facilities.indexOf(facility) + 1}.${counter[facility]}`, + }; + }), + ); + } + /* eslint-disable-next-line */ + }, [provider_data, provider_data?.EUregReportingYear, siteReportingYear]); + + const permitingAuthority = permits.map((permit) => ({ + installationInspireId: permit.installationInspireId, + operatingSince: getDate(permit.operatingSince_), + permitUpdated: getDate(permit.permitUpdated), + permitingAuthority: permit.permitingAuthority, + permitAvailable: permit.permitAvailable, + seveso: permit.seveso, + entityStatus: permit.entityStatus, + nth: permit.nth, + })); + + return props.mode === 'edit' ? ( +

{props.blockTitle}

+ ) : ( +
+ +
+ ); +}; + +export default compose( + connect((state, props) => ({ + query: qs.parse(state.router.location.search.replace('?', '')), + discodata_query: state.discodata_query, + })), +)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/index.js b/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/index.js new file mode 100644 index 0000000..9cb311c --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/index.js @@ -0,0 +1,17 @@ +import RegulatoryPermits from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + regulatory_permits: { + view: RegulatoryPermits, + title: 'Regulatory permits', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/schema.js b/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/schema.js new file mode 100644 index 0000000..1458a4d --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatoryPermits/schema.js @@ -0,0 +1,28 @@ +const getSchema = (props) => { + return { + title: 'Site regulatory permits', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: ['entity'], + }, + ], + + properties: { + entity: { + title: 'Entity', + type: 'array', + choices: [ + ['site', 'Site'], + ['installation', 'Installation'], + ], + }, + }, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/Edit.jsx b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/Edit.jsx deleted file mode 100644 index 380c488..0000000 --- a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/Edit.jsx +++ /dev/null @@ -1,29 +0,0 @@ -import React, { useState } from 'react'; -import { connect } from 'react-redux'; -import { compose } from 'redux'; -import _uniqueId from 'lodash/uniqueId'; -import View from './View'; -import config from '@plone/volto/registry'; -import './style.css'; - -const getSchema = (props) => { - return {}; -}; - -const Edit = (props) => { - const [state] = useState({ - schema: getSchema({ ...props, providerUrl: config.settings.providerUrl }), - id: _uniqueId('block_'), - }); - return ( -
- -
- ); -}; - -export default compose( - connect((state, props) => ({ - pathname: state.router.location.pathname, - })), -)(Edit); diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/View.jsx b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/View.jsx index ab4e240..b7d645d 100644 --- a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/View.jsx +++ b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/View.jsx @@ -1,206 +1,63 @@ -import React, { useState } from 'react'; +import React from 'react'; import { compose } from 'redux'; import { connect } from 'react-redux'; -import ReactTooltip from 'react-tooltip'; -import { setQueryParam, deleteQueryParam } from 'volto-datablocks/actions'; +import { Grid, Popup } from 'semantic-ui-react'; import Icon from '@plone/volto/components/theme/Icon/Icon'; -import PermitingAuthority from '../PermitingAuthority'; -import cx from 'classnames'; -import { getDate } from '../helpers'; +import { setQueryParam, deleteQueryParam } from 'volto-datablocks/actions'; import infoSVG from '@plone/volto/icons/info.svg'; -import './style.css'; +import qs from 'querystring'; +import '../style.css'; const View = (props) => { - const [aels, setAels] = useState(false); - const { - siteInspireId = null, - siteReportingYear = null, - } = props.discodata_query.search; - const { - site_details_3 = {}, - permits = {}, - bat_derogations = {}, - bat_conclusions = {}, - } = props.discodata_resources.data; - const data_site = site_details_3[siteInspireId] || null; - const data_permits = permits[siteInspireId] || null; - const data_bat_derogations = bat_derogations[siteInspireId] || null; - const data_bat_conclusions = bat_conclusions[siteInspireId] || null; - const site = { - ...(data_site?.euregReportingYears?.[siteReportingYear]?.[0] || {}), - }; + const [siteDetails, setSiteDetails] = React.useState({}); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + const index = provider_data?.euregReportingYear?.indexOf(siteReportingYear); - const permitingAuthority = - siteReportingYear && data_permits?.euregReportingYears?.[siteReportingYear] - ? data_permits.euregReportingYears[siteReportingYear] - .filter((report) => report.EUregReportingYear === siteReportingYear) - .map((report) => ({ - permitUpdated: getDate(report.permitUpdated), - permitingAuthority: report.permitingAuthority, - permitAvailable: report.permitAvailable, - seveso: report.seveso, - entityStatus: report.entityStatus, - })) - : []; - const batDerogations = - siteReportingYear && - data_bat_derogations?.euregReportingYears?.[siteReportingYear] - ? data_bat_derogations.euregReportingYears[siteReportingYear] - : []; - const batConclusions = - siteReportingYear && - data_bat_conclusions?.euregReportingYears?.[siteReportingYear] - ? data_bat_conclusions.euregReportingYears[siteReportingYear] - : []; + React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys?.length) { + const newSiteDetails = {}; + keys.forEach((key) => { + newSiteDetails[key] = provider_data[key][index]; + }); + setSiteDetails(newSiteDetails); + } + }, [provider_data, index]); return props.mode === 'edit' ? ( -

Site details

+

{props.blockTitle}

) : ( -
- {Object.keys(site).length ? ( -
- {/* ABOUT THE ENTITY */} -
-

About the entity

- - - -
-
-
-

Regulated activities

-

{site.regulatedActivities || '-'}

-
-
-

Status

-

{site.entityStatus || '-'}

+
+
+

About the entity

+ +
-
-
-
-

seveso

-

{site.seveso || '-'}

-
-
- {/* OPERATING PERMIT */} - - {/* BAT CONCLUSION */} -
-

BAT conclusions

- - - -
-
- {batConclusions.map((conclusion, index) => ( -
-
-

{conclusion.BATConclusionName}

-
-
-
-

Status

-

{conclusion.Status || '-'}

-
-
-

Status modified

-

- {conclusion.StatusModifiedYear || '-'} -

-
-
- {aels && batDerogations.length && ( -
-
-

BAT AELs

-
- {batDerogations.map((ael, index) => - ael.BATAELName ? ( -
- -
-
-

Start date

-

- {getDate(ael.StartDate) || '-'} -

-
-
-

End date

-

{getDate(ael.EndDate)}

-
-
-
-
-

Status

-

{ael.Status || '-'}

-
-
-
- ) : ( -

No information available

- ), - )} -
- )} -
- ))} - {batDerogations?.length ? ( - <> -
-
- -
- - ) : ( - '' - )} -
- - -
- ) : ( - '' - )} + } + /> +
+ + + +

Regulated activities

+

{siteDetails.regulatedActivities || '-'}

+
+ +

Status

+

{siteDetails.entityStatus || '-'}

+
+ +

seveso

+

{siteDetails.seveso || '-'}

+
+
+
); }; @@ -208,9 +65,8 @@ const View = (props) => { export default compose( connect( (state, props) => ({ - query: state.router.location.search, + query: qs.parse(state.router.location.search.replace('?', '')), discodata_query: state.discodata_query, - discodata_resources: state.discodata_resources, }), { setQueryParam, diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/index.js b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/index.js new file mode 100644 index 0000000..6926636 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/index.js @@ -0,0 +1,17 @@ +import RegulatorySiteDetails from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + regulatory_site_details: { + view: RegulatorySiteDetails, + title: 'Regulatory site details', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/schema.js b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/schema.js new file mode 100644 index 0000000..83ad56d --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/schema.js @@ -0,0 +1,19 @@ +const getSchema = (props) => { + return { + title: 'Site regulatory information', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: [], + }, + ], + + properties: {}, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/style.css b/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/style.css deleted file mode 100644 index 2c525a8..0000000 --- a/src/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/style.css +++ /dev/null @@ -1,49 +0,0 @@ -.site-details h3.blue { - color: #4296b2; -} - -.site-details h3.dark { - color: #000; -} - -.site-details .header-tooltip { - display: flex; - align-items: center; -} - -.site-details .floating-icon { - display: flex; -} - -.site-details .header-tooltip h3 { - margin-right: 0.3rem; - margin-bottom: 0; -} - -.site-details .list { - display: flex; - flex-flow: row; - flex-wrap: wrap; - padding: 0; - color: #ec776a; - grid-gap: 20px; - list-style: none; -} - -.site-details .list li button { - padding: 0; - border: none; - background: transparent; - color: #ec776a; -} - -.site-details .list li button:focus { - outline: none; -} - -.site-details .detail p { - padding-right: 1rem; - padding-left: 1rem; - margin-left: -1rem; - word-break: break-all; -} diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/View.jsx b/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/View.jsx new file mode 100644 index 0000000..5526967 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/View.jsx @@ -0,0 +1,96 @@ +import React from 'react'; +import { compose } from 'redux'; +import { connect } from 'react-redux'; +import PermitingAuthority from '../PermitingAuthority'; +import { getDate } from '../helpers'; +import qs from 'querystring'; +import '../style.css'; + +const getAllIndexes = (arr, val) => { + const indexes = []; + let i = -1; + while ((i = arr.indexOf(val, i + 1)) !== -1) { + indexes.push(i); + } + return indexes; +}; + +const View = (props) => { + const [permits, setPermits] = React.useState([]); + const { provider_data = {} } = props; + const query = { ...props.query, ...props.discodata_query.search }; + const siteReportingYear = parseInt(query.siteReportingYear || ''); + + React.useEffect(() => { + const keys = Object.keys(provider_data || {}); + if (keys.length) { + const indexes = getAllIndexes( + provider_data?.EUregReportingYear || [], + siteReportingYear, + ); + const facilities = [ + ...new Set(provider_data?.facilityInspireId || []), + ].sort(); + let newPermits = []; + const counter = {}; + indexes.forEach((index, i) => { + newPermits[i] = {}; + keys.forEach((key) => { + newPermits[i][key] = provider_data[key][index]; + }); + }); + + setPermits( + newPermits + .sort((a, b) => + a.installationInspireId > b.installationInspireId + ? 1 + : b.installationInspireId > a.installationInspireId + ? -1 + : 0, + ) + .map((permit, index) => { + const facility = permit.facilityInspireId; + const installation = permit.installationInspireId; + counter[installation] = (counter[installation] || 0) + 1; + counter[facility] = + counter[installation] < 2 + ? (counter[facility] || 0) + 1 + : counter[facility]; + + return { + ...permit, + nth: `${facilities.indexOf(facility) + 1}.${counter[facility]}`, + }; + }), + ); + } + /* eslint-disable-next-line */ + }, [provider_data, provider_data?.EUregReportingYear, siteReportingYear]); + + const permitingAuthority = permits.map((permit) => ({ + installationInspireId: permit.installationInspireId, + operatingSince: getDate(permit.operatingSince_), + permitUpdated: getDate(permit.permitUpdated), + permitingAuthority: permit.permitingAuthority, + permitAvailable: permit.permitAvailable, + seveso: permit.seveso, + entityStatus: permit.entityStatus, + nth: permit.nth, + })); + + return props.mode === 'edit' ? ( +

{props.blockTitle}

+ ) : ( +
+ +
+ ); +}; + +export default compose( + connect((state, props) => ({ + query: qs.parse(state.router.location.search.replace('?', '')), + discodata_query: state.discodata_query, + })), +)(View); diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/index.js b/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/index.js new file mode 100644 index 0000000..f135f43 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/index.js @@ -0,0 +1,17 @@ +import RegulatorySitePermits from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + regulatory_site_permits: { + view: RegulatorySitePermits, + title: 'Regulatory site permits', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/schema.js b/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/schema.js new file mode 100644 index 0000000..912b5c7 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/RegulatorySitePermits/schema.js @@ -0,0 +1,19 @@ +const getSchema = (props) => { + return { + title: 'Site regulatory permits', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: [], + }, + ], + + properties: {}, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteBlocks/RenderTable.jsx b/src/components/manage/Blocks/SiteBlocks/RenderTable.jsx index 16fe3df..02e9183 100644 --- a/src/components/manage/Blocks/SiteBlocks/RenderTable.jsx +++ b/src/components/manage/Blocks/SiteBlocks/RenderTable.jsx @@ -1,5 +1,6 @@ import React from 'react'; -import { Table } from 'semantic-ui-react'; +import { Table, Popup } from 'semantic-ui-react'; +import { UniversalLink } from '@plone/volto/components'; import cx from 'classnames'; import './style.css'; @@ -30,11 +31,24 @@ const RenderTable = (props) => { {headers.map((header, headerIndex) => ( -

+ {row[header.key] && header.link ? ( + + {header.link.text || row[header.key]} + + ) : header.popup?.key ? ( + {row[header.key] || '-'}

} + /> + ) : ( +

{row[header.key] || '-'}

+ )}
))}
diff --git a/src/components/manage/Blocks/SiteBlocks/SitesURLS.jsx b/src/components/manage/Blocks/SiteBlocks/SitesURLS.jsx new file mode 100644 index 0000000..8ff7ab2 --- /dev/null +++ b/src/components/manage/Blocks/SiteBlocks/SitesURLS.jsx @@ -0,0 +1,2 @@ +// http://localhost:3000/industrial-site/environmental-information/site-overview?siteInspireId=AT.CAED%2F9008390099315.SITE&siteName=STO%20Treibacher%20Industrie%20AG&siteReportingYear=2019 +// http://localhost:3000/industrial-site/environmental-information/site-overview?siteInspireId=AT.CAED/9008390376829.SITE&siteName=Standort%20Werndorf&siteReportingYear=2019 diff --git a/src/components/manage/Blocks/SiteBlocks/style.css b/src/components/manage/Blocks/SiteBlocks/style.css index 6677ae4..8f86843 100644 --- a/src/components/manage/Blocks/SiteBlocks/style.css +++ b/src/components/manage/Blocks/SiteBlocks/style.css @@ -1,56 +1,260 @@ -.industrial-site { +.popup-svg { + height: 100%; + display: flex; + justify-content: center; +} + +h3.blue { + color: #4296b2; +} + +h3.orange { + color: #ed776a; +} + +.icon.button { + cursor: pointer; +} + +.site-block h3.blue { + color: #4296b2; +} + +.site-block .title { + display: flex; + align-items: center; + margin-bottom: 1rem; +} + +.site-block .title > h3 { + margin-bottom: 0; + margin-right: .5rem; +} + +.site-block .title.marginless, +.site-block h3.marginless { + margin-bottom: 0; + margin-top: 0; +} + + +.site-block > .activity { + font-weight: bold; + margin-bottom: 0; +} + +.site-block .ui.grid { + margin-top: 0; + margin-bottom: 0; +} + +.site-block .ui.grid .row { + padding: 0; +} + +.site-block .ui.grid .row .column { + padding: 0 1rem 1rem 1rem; +} + +.site-block div.eprtrBanner { + color: #fff; + border-radius: 10px; + margin-bottom: 1rem; + padding: 1rem 1rem; +} + +.site-block div.eprtrBanner.blue { + background-color: #4296B3; + margin-top: 1rem; +} + +.site-block div.eprtrBanner > .ui.grid .row .column { + display: flex; + justify-content: space-between; +} + +.site-block div.eprtrBanner > .ui.grid .row .column:last-child { + padding-bottom: 0; +} + +.site-block-table { overflow: auto; + margin-bottom: 1rem; } -.industrial-site .ui.table thead th { +.site-block-table .ui.table thead th { text-transform: unset; } -.industrial-site .ui.table.description-table thead tr th { +.site-block-table .ui.table.description-table thead tr th { background-color: unset; } -.industrial-site .ui.table.description-table thead tr { +.site-block-table .ui.table.description-table thead tr { background-color: #f6f6f6; } -.industrial-site .ui.table.description-table tbody tr:hover { +.site-block-table .ui.table.description-table tbody tr:hover { background-color: #f6f6f6 !important; } /* width */ -.industrial-site::-webkit-scrollbar { +.site-block-table::-webkit-scrollbar { height: 14px; border: 0; border-radius: 1px; } -.industrial-site::-webkit-scrollbar-corner { +.site-block-table::-webkit-scrollbar-corner { background-color: transparent; } -.industrial-site:hover::-webkit-scrollbar { +.site-block-table:hover::-webkit-scrollbar { border-radius: 1px; opacity: 1; } /* Track */ -.industrial-site::-webkit-scrollbar-track { +.site-block-table::-webkit-scrollbar-track { background-color: #f5f5f5; border-radius: 1px; } /* Handle */ -.industrial-site::-webkit-scrollbar-thumb { +.site-block-table::-webkit-scrollbar-thumb { background-color: #e1e1e1; border-radius: 1px; } /* Handle on hover */ -.industrial-site::-webkit-scrollbar-thumb:hover { +.site-block-table::-webkit-scrollbar-thumb:hover { background-color: #cbcbcb; } -.industrial-site::-webkit-scrollbar-thumb:active { +.site-block-table::-webkit-scrollbar-thumb:active { background-color: #b4b4b4; } + +.ui.grid .row .column .label { + font-weight: bold; + margin-bottom: 0; +} + +.ui.grid .row .column .info { + color: #989898; +} + +.competent-authority > .info, +.bat-conclusions > .info { + margin-bottom: 1rem; +} + + +/* .permiting-authority { + margin-bottom: 1rem; +} + +.permiting-authority .ui.grid .row .twelve.column { + margin-bottom: 0; +} */ + +.bat-conclusions .ui.grid, +.bat-conclusions .aels .ui.grid { + margin-top: 0; + margin-bottom: 0; +} + +.bat-conclusions .ui.grid .row, +.bat-conclusions .aels .ui.grid .row { + padding: 0; +} + +.bat-conclusions .ui.grid .row .column, +.bat-conclusions .aels .ui.grid .row .column { + margin-bottom: 1rem; +} + +.bat-conclusions > .title { + margin-bottom: 1rem; +} + +.bat-conclusions .bat-conclusions-wrapper { + position: relative; + width: 100%; + border: 1px solid #000; + padding: 0 1rem; + border-radius: 10px; +} + +.bat-conclusions .installation-conclusions-wrapper { + position: relative; + width: 100%; +} + +.bat-conclusions .installation-conclusions-wrapper:after { + content: ''; + display: block; + height: 1px; + width: calc(100% + 2rem); + margin-left: -1rem; + background-color: #000; +} + +.bat-conclusions .installation-conclusions-wrapper:last-child:after { + display: none; +} + +.bat-conclusions .installation-conclusions-wrapper .installation-id { + margin-top: 1rem; + color: #4296b2; +} + +.bat-conclusions .installation-conclusions-wrapper .conclusion-wrapper { + margin: 1rem 0; +} + +.bat-conclusions .installation-conclusions-wrapper .conclusion-wrapper .conclusion-title { + display: flex; + align-items: center; +} + +.bat-conclusions .installation-conclusions-wrapper .conclusion-wrapper .conclusion-title button { + border: 1px solid #000; + width: 16px; + height: 16px; + padding: 0; + border-radius: 100%; +} + +.bat-conclusions .installation-conclusions-wrapper .conclusion-wrapper .conclusion-title button.active { + background-color: #EC776A; +} + +.bat-conclusions .installation-conclusions-wrapper .conclusion-wrapper .conclusion-title > h3 { + margin-bottom: 0; + margin-right: .5rem; + word-break: break-all; +} + +.bat-conclusions .aels-wrapper { + margin-top: 1rem; + padding-left: 2rem; +} + +.bat-conclusions .aels-wrapper h3 { + color: #000; +} + +.bat-conclusions .aels-wrapper h4 { + color: #EC776A; + text-decoration: underline; +} + +.bat-conclusions .conclusion-wrapper button { + border: none; + background: transparent; + color: #ec776a; + cursor: pointer; + text-decoration: underline; + padding: 0; +} diff --git a/src/components/manage/Blocks/SiteStructureSidebar/View.jsx b/src/components/manage/Blocks/SiteStructureSidebar/View.jsx new file mode 100644 index 0000000..8d62127 --- /dev/null +++ b/src/components/manage/Blocks/SiteStructureSidebar/View.jsx @@ -0,0 +1,272 @@ +import React from 'react'; +import { Link } from 'react-router-dom'; +import { Menu } from 'semantic-ui-react'; +import { removeTralingSlash } from '~/helpers'; +import qs from 'querystring'; +import cx from 'classnames'; +import './style.css'; + +/* +SELECT facilities.siteName, + facilities.siteInspireId, + facilities.facilityInspireId, + installations.installationInspireId, + lcps.lcpInspireId +FROM [IED].[latest].[Browse6Header] as facilities +LEFT JOIN [IED].[latest].[Browse8Header] as installations + ON facilities.facilityInspireId = installations.facilityInspireId +LEFT JOIN [IED].[latest].[Browse10_Header] as lcps + ON installations.installationInspireId = lcps.installationInspireId +GROUP BY facilities.siteName, + facilities.siteInspireId, + facilities.facilityInspireId, + installations.installationInspireId, + lcps.lcpInspireId +*/ + +// AT.CAED/9008390010204.SITE -> fara lcps +// AT.CAED/9008390099636.SITE -> cu de toate + +const getQueryString = (query) => { + if (!Object.keys(query).length) return ''; + return '?' + qs.stringify(query); +}; + +const View = (props) => { + const [siteStructure, setSiteStructure] = React.useState(null); + const [siteDetails, setSiteDetails] = React.useState({}); + const { data = {}, provider_data = {} } = props; + const provider_data_string = JSON.stringify(provider_data); + const dataReady = provider_data?.siteInspireId?.length > 0; + const parentPathname = removeTralingSlash(data.pathname || ''); + const pathname = removeTralingSlash(props.location.pathname || ''); + const query = qs.parse(props.location?.search?.replace('?', '')); + const newQuery = qs.parse(props.location?.search?.replace('?', '')); + delete newQuery.facilityInspireId; + delete newQuery.installationInspireId; + delete newQuery.lcpInspireId; + + React.useEffect(() => { + setSiteDetails({ + ...siteDetails, + siteName: provider_data?.siteName?.[0], + siteInspireId: provider_data?.siteInspireId?.[0], + }); + if (dataReady) { + const newSiteStructure = { + facilities: [], + installations: {}, + lcps: {}, + }; + provider_data.facilityInspireId.forEach((facility, index) => { + const installation = provider_data.installationInspireId[index]; + const lcp = provider_data.lcpInspireId[index]; + // Add facilities + if (!newSiteStructure.facilities.includes(facility)) { + newSiteStructure.facilities.push(facility); + } + // Add installations + if (facility && !newSiteStructure.installations[facility]) { + newSiteStructure.installations[facility] = []; + } + if ( + installation && + !newSiteStructure.installations[facility].includes(installation) + ) { + newSiteStructure.installations[facility].push(installation); + } + // Add lcps + if (!newSiteStructure.lcps[installation]) { + newSiteStructure.lcps[installation] = []; + } + if (lcp && !newSiteStructure.lcps[installation].includes(lcp)) { + newSiteStructure.lcps[installation].push(lcp); + } + }); + setSiteStructure({ + ...newSiteStructure, + facilities: newSiteStructure.facilities.sort(), + }); + } + }, [provider_data_string]); + + return props.mode === 'edit' ? ( +
+

Sidebar edit

+
+ ) : ( +
+ + + {siteDetails.siteName} + + + {dataReady && siteStructure + ? siteStructure.facilities?.length + ? siteStructure.facilities.map((facility, facilityIndex) => ( + + {facilityIndex === 0 ? ( + <> +
+ + Environmental overview + +
+
+ + Regulatory overview + +
+ + ) : ( + '' + )} +
+ + + {facilityIndex + 1}. {facility} + + + {siteStructure.installations?.[facility]?.length + ? siteStructure.installations?.[facility]?.map( + (installation, installationIndex) => ( + +
+ + + {facilityIndex + 1}.{installationIndex + 1}.{' '} + {installation} + + + {siteStructure.lcps?.[installation]?.length + ? siteStructure.lcps?.[installation]?.map( + (lcp, lcpIndex) => ( +
+ + + {facilityIndex + 1}. + {installationIndex + 1}. + {lcpIndex + 1}. {lcp} + + +
+ ), + ) + : ''} +
+
+ ), + ) + : ''} +
+
+ )) + : '' + : ''} +
+
+ ); +}; + +export default View; diff --git a/src/components/manage/Blocks/SiteStructureSidebar/index.js b/src/components/manage/Blocks/SiteStructureSidebar/index.js new file mode 100644 index 0000000..6d1ab88 --- /dev/null +++ b/src/components/manage/Blocks/SiteStructureSidebar/index.js @@ -0,0 +1,17 @@ +import SiteStructureSidebar from './View'; +import getSchema from './schema'; + +export default (config) => { + config.blocks.blocksConfig.custom_connected_block = { + ...config.blocks.blocksConfig.custom_connected_block, + blocks: { + ...config.blocks.blocksConfig.custom_connected_block.blocks, + site_structure_sidebar: { + view: SiteStructureSidebar, + title: 'Site structure sidebar', + getSchema: getSchema, + }, + }, + }; + return config; +}; diff --git a/src/components/manage/Blocks/SiteStructureSidebar/schema.js b/src/components/manage/Blocks/SiteStructureSidebar/schema.js new file mode 100644 index 0000000..cb840f9 --- /dev/null +++ b/src/components/manage/Blocks/SiteStructureSidebar/schema.js @@ -0,0 +1,27 @@ +const getSchema = (props) => { + return { + title: 'Site structure sidebar', + + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: ['pathname', 'pages'], + }, + ], + + properties: { + pathname: { + title: 'Parent pathname', + widget: 'object_by_path', + }, + pages: { + title: 'Pages', + }, + }, + + required: [], + }; +}; + +export default getSchema; diff --git a/src/components/manage/Blocks/SiteStructureSidebar/style.css b/src/components/manage/Blocks/SiteStructureSidebar/style.css new file mode 100644 index 0000000..35c069f --- /dev/null +++ b/src/components/manage/Blocks/SiteStructureSidebar/style.css @@ -0,0 +1,125 @@ +.sidebar-block .ui.menu { + flex-flow: column; + border-bottom: none; + background: transparent; + min-height: 800px; +} + +.sidebar-block .ui.menu .ui.menu { + position: relative; + padding: 0; + height: initial; + min-height: unset; +} + +.sidebar-block .ui.menu .item.site-name { + font-weight: bold; +} + +.sidebar-block .ui.menu .ui.menu.entity .entity-item { + position: relative; + border-left: 2px solid #4296B3; + margin-left: 1em; +} + +.sidebar-block .ui.menu .ui.menu.entity .entity-item > .ui.menu.entity > .entity-item { + border-left: 2px solid #4296B3 !important; +} + +.sidebar-block .ui.menu .ui.menu.entity > .entity-item:last-child { + border-left: 2px solid transparent !important; +} + +.sidebar-block .ui.menu .ui.menu.entity .entity-item > .ui.menu.entity:last-child > .entity-item { + border-left: 2px solid transparent !important; +} + +.sidebar-block .ui.menu .ui.menu.entity .entity-item > .entity-item:last-child { + border-left: 2px solid transparent !important; +} + +.sidebar-block .ui.menu .item { + position: relative; + background: transparent; +} + +.sidebar-block .ui.menu .item:not(.site-name):hover { + color: #ed776a !important; +} + +.sidebar-block .ui.menu .item span { + display: block !important; + line-height: 1.1em; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.sidebar-block .ui.menu .ui.menu.entity .item:before { + display: block !important; + height: initial; + content: ''; + position: absolute !important; + top: 0 !important; + left: -2px !important; + right: unset; + bottom: 50% !important; + width: 0.75em !important; + border: 2px solid #4296B3 !important; + border-left: 2px solid #4296B3 !important; + border-bottom: 2px solid #4296B3 !important; + border-top: 0 none transparent !important; + border-right: 0 none transparent !important; +} + +.sidebar-block .ui.menu .item, +.sidebar-block .ui.menu .item.active { + padding-bottom: 1rem; + border: none; + background-color: transparent; + color: #333333 !important; + cursor: pointer; + text-align: left; +} + +.sidebar-block .ui.menu .item.hidden { + display: none; +} + +.sidebar-block .ui.menu .item.show { + display: block; +} + +.sidebar-block .ui.menu .item.depth__1 { + margin-left: 1em; +} + +.sidebar-block .ui.menu .item.depth__2 { + margin-left: 2em; +} + +.sidebar-block .ui.menu .item.depth__3 { + margin-left: 3em; +} + +.sidebar-block .ui.menu .item.depth__4 { + margin-left: 4em; +} + +.sidebar-block .ui.menu .item.depth__5 { + margin-left: 5em; +} + +.sidebar-block .ui.menu .item.active { + background-color: transparent !important; + color: #ed776a !important; +} + +.sidebar-block .ui.menu .item.active.depth__3 { + color: #333333; + /* font-weight: bold;; */ +} + +.permiting-authority .info { + margin-bottom: 1rem; +} \ No newline at end of file diff --git a/src/components/theme/View/DefaultView.jsx b/src/components/theme/View/DefaultView.jsx index 4486c53..931850c 100644 --- a/src/components/theme/View/DefaultView.jsx +++ b/src/components/theme/View/DefaultView.jsx @@ -57,75 +57,87 @@ const DefaultView = ({ 'siteInspireId', 'siteName', 'siteReportingYear', - 'facilityInspireId', - 'installationInspireId', - 'lcpInspireId', + // 'facilityInspireId', + // 'installationInspireId', + // 'lcpInspireId', ]; useEffect(() => { setMounted(true); + const unlisten = history.listen((location, action) => { + if (location?.state?.ignoreScrollBehavior) { + const scrollTo = window.scrollTo; + window.scrollTo = () => {}; + setTimeout(() => { + window.scrollTo = scrollTo; + }, 1); + } + }); return () => { setMounted(false); + unlisten(); }; + /* eslint-disable-next-line */ }, []); - useEffect(() => { - if ( - content['layout'] === 'default_view' && - content['@type'] === 'site_template' && - !discodata_query.search.siteInspireId && - !query.siteInspireId - ) { - history.push('/browse/explore-data-map/map'); - return; - } - if ( - content['layout'] === 'default_view' && - content['@type'] === 'site_template' && - mounted - ) { - const queryParams = { ...query }; - const missingQueryParams = {}; + // useEffect(() => { + // if ( + // content['layout'] === 'default_view' && + // content['@type'] === 'site_template' && + // !discodata_query.search.siteInspireId && + // !query.siteInspireId + // ) { + // history.push('/browse/explore-data-map/map'); + // return; + // } + // if ( + // content['layout'] === 'default_view' && + // content['@type'] === 'site_template' && + // mounted + // ) { + // const queryParams = { ...query }; + // const missingQueryParams = {}; - Object.keys(discodata_query.search) - .filter((key) => siteTemplateQuery.includes(key)) - .forEach((key) => { - queryParams[key] = discodata_query.search[key]; - }); + // Object.keys(discodata_query.search) + // .filter((key) => siteTemplateQuery.includes(key)) + // .forEach((key) => { + // queryParams[key] = discodata_query.search[key]; + // }); - Object.keys(query) - .filter( - (key) => - siteTemplateQuery.includes(key) && !discodata_query.search[key], - ) - .forEach((key) => { - if (key === 'siteReportingYear') { - missingQueryParams[key] = parseInt(query[key]); - } else { - missingQueryParams[key] = query[key]; - } - }); + // Object.keys(query) + // .filter( + // (key) => + // siteTemplateQuery.includes(key) && !discodata_query.search[key], + // ) + // .forEach((key) => { + // if (key === 'siteReportingYear') { + // missingQueryParams[key] = parseInt(query[key]); + // } else { + // missingQueryParams[key] = query[key]; + // } + // }); - if (Object.keys(missingQueryParams).length) { - setQueryParam({ - queryParam: { ...missingQueryParams }, - }); - } + // if (Object.keys(missingQueryParams).length) { + // setQueryParam({ + // queryParam: { ...missingQueryParams }, + // }); + // } - if ( - Object.keys(queryParams).filter( - (key) => - JSON.stringify(queryParams[key]) !== JSON.stringify(query[key]), - ).length - ) { - history.push( - `${location.pathname.replace(/\/$/, '')}?${qs.stringify( - queryParams, - )}`, - ); - } - } - }, [mounted, content?.['@id']]); + // if ( + // Object.keys(queryParams).filter( + // (key) => + // JSON.stringify(queryParams[key]) !== JSON.stringify(query[key]), + // ).length + // ) { + // history.push( + // `${location.pathname.replace(/\/$/, '')}?${qs.stringify( + // queryParams, + // )}`, + // ); + // } + // } + // /* eslint-disable-next-line */ + // }, [mounted, content?.['@id']]); return hasBlocksData(content) ? (
diff --git a/src/config.js b/src/config.js index 4a5ce63..7b9f40c 100644 --- a/src/config.js +++ b/src/config.js @@ -66,24 +66,6 @@ import GlossarySearchBlockView from '~/components/manage/Blocks/GlossarySearchBl import DummyBlockEdit from '~/components/manage/Blocks/DummyBlock/Edit'; import DummyBlockView from '~/components/manage/Blocks/DummyBlock/View'; -import SiteHeaderEdit from '~/components/manage/Blocks/SiteBlocks/Header/Edit'; -import SiteHeaderView from '~/components/manage/Blocks/SiteBlocks/Header/View'; - -import PollutantsSiteDetailsEdit from '~/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/Edit'; -import PollutantsSiteDetailsView from '~/components/manage/Blocks/SiteBlocks/PollutantsSiteDetails/View'; - -import PollutantsFacilityDetailsEdit from '~/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/Edit'; -import PollutantsFacilityDetailsView from '~/components/manage/Blocks/SiteBlocks/PollutantsFacilityDetails/View'; - -import RegulatorySiteDetailsEdit from '~/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/Edit'; -import RegulatorySiteDetailsView from '~/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails/View'; - -import RegulatoryInstallationDetailsEdit from '~/components/manage/Blocks/SiteBlocks/RegulatoryInstallationDetails/Edit'; -import RegulatoryInstallationDetailsView from '~/components/manage/Blocks/SiteBlocks/RegulatoryInstallationDetails/View'; - -import LcpDetailsEdit from '~/components/manage/Blocks/SiteBlocks/LcpDetails/Edit'; -import LcpDetailsView from '~/components/manage/Blocks/SiteBlocks/LcpDetails/View'; - // Discodata components import DiscodataTableBlockEdit from '~/components/manage/Blocks/DiscodataTableBlock/Edit'; import DiscodataTableBlockView from '~/components/manage/Blocks/DiscodataTableBlock/View'; @@ -109,6 +91,14 @@ import ListView from '~/components/manage/Blocks/DiscodataComponents/List/View'; import BlocksWidget from '~/components/manage/Widgets/BlocksWidget'; import QueryParametersListWidget from '~/components/manage/Blocks/DiscodataComponents/Widgets/QueryParametersListWidget'; +import installSiteStructureSidebar from '~/components/manage/Blocks/SiteStructureSidebar'; +import installSiteHeader from '~/components/manage/Blocks/SiteBlocks/Header'; +import installEnvironmentalSiteDetails from '~/components/manage/Blocks/SiteBlocks/EnvironmentalSiteDetails'; +import installEnvironmentalFacilityDetails from '~/components/manage/Blocks/SiteBlocks/EnvironmentalFacilityDetails'; +import installEnvironmentalLcpDetails from '~/components/manage/Blocks/SiteBlocks/EnvironmentalLcpDetails'; +import installRegulatorySiteDetails from '~/components/manage/Blocks/SiteBlocks/RegulatorySiteDetails'; +import installRegulatoryPermits from '~/components/manage/Blocks/SiteBlocks/RegulatoryPermits'; +import installRegulatoryBATConclusions from '~/components/manage/Blocks/SiteBlocks/RegulatoryBATConclusions'; import installExploreEprtr from '~/components/manage/Blocks/ExploreEprtr'; import { installTableau, @@ -296,60 +286,6 @@ export default function applyConfig(config) { icon: packSVG, }; - config.blocks.blocksConfig.eprtr_site_header = { - id: 'eprtr_site_header', - title: 'Eprtr site header', - group: 'eprtr_blocks', - view: SiteHeaderView, - edit: SiteHeaderEdit, - icon: packSVG, - }; - - config.blocks.blocksConfig.eprtr_pollutants_site_details = { - id: 'eprtr_pollutants_site_details', - title: 'Eprtr Pollutants site details', - group: 'eprtr_blocks', - view: PollutantsSiteDetailsView, - edit: PollutantsSiteDetailsEdit, - icon: packSVG, - }; - - config.blocks.blocksConfig.eprtr_pollutants_facility_details = { - id: 'eprtr_pollutants_facility_details', - title: 'Eprtr Pollutants facility details', - group: 'eprtr_blocks', - view: PollutantsFacilityDetailsView, - edit: PollutantsFacilityDetailsEdit, - icon: packSVG, - }; - - config.blocks.blocksConfig.eprtr_regulatory_site_details = { - id: 'eprtr_regulatory_site_details', - title: 'Eprtr Regulatory site details', - group: 'eprtr_blocks', - view: RegulatorySiteDetailsView, - edit: RegulatorySiteDetailsEdit, - icon: packSVG, - }; - - config.blocks.blocksConfig.eprtr_regulatory_installation_details = { - id: 'eprtr_regulatory_installation_details', - title: 'Eprtr Regulatory installation details', - group: 'eprtr_blocks', - view: RegulatoryInstallationDetailsView, - edit: RegulatoryInstallationDetailsEdit, - icon: packSVG, - }; - - config.blocks.blocksConfig.eprtr_lcp_details = { - id: 'eprtr_lcp_details', - title: 'Eprtr lcp details', - group: 'eprtr_blocks', - view: LcpDetailsView, - edit: LcpDetailsEdit, - icon: packSVG, - }; - config.blocks.blocksConfig.eprtr_openlayers_map_block = { id: 'eprtr_openlayers_map_block', title: 'Eprtr openlayers map block', @@ -428,7 +364,22 @@ export default function applyConfig(config) { ...(config.portlets || {}), }; + config.settings.available_colors = [ + '#F3EFEE', + '#F6F6F6', + '#4296B3', + '#ED8175', + ]; + return [ + installSiteStructureSidebar, + installSiteHeader, + installEnvironmentalSiteDetails, + installEnvironmentalFacilityDetails, + installEnvironmentalLcpDetails, + installRegulatorySiteDetails, + installRegulatoryPermits, + installRegulatoryBATConclusions, installExploreEprtr, installTableau, installExpendableList, diff --git a/src/customizations/volto/components/theme/Logo/Logo.jsx b/src/customizations/volto/components/theme/Logo/Logo.jsx index 15b5559..aa8c31c 100644 --- a/src/customizations/volto/components/theme/Logo/Logo.jsx +++ b/src/customizations/volto/components/theme/Logo/Logo.jsx @@ -8,9 +8,10 @@ import { Link } from 'react-router-dom'; import { defineMessages, useIntl } from 'react-intl'; import { Image } from 'semantic-ui-react'; import { useSelector } from 'react-redux'; +// import Icon from '@plone/volto/components/theme/Icon/Icon'; import config from '@plone/volto/registry'; -import LogoImage from './Logo.white.png'; +import logo from '~/icons/logo-white.png'; const messages = defineMessages({ site: { @@ -42,8 +43,13 @@ const Logo = () => { to={config.settings.isMultilingual ? `/${lang}` : '/'} title={intl.formatMessage(messages.site)} > + {/* */} {intl.formatMessage(messages.industrialEmissions)} { + onClick={(e) => { if ( + !e.ctrlKey && !item.url.includes('/industrial-site') && !item.url.includes('/analysis') ) { diff --git a/src/customizations/volto/middleware/api.js b/src/customizations/volto/middleware/api.js index 0bae27b..0108374 100644 --- a/src/customizations/volto/middleware/api.js +++ b/src/customizations/volto/middleware/api.js @@ -42,7 +42,7 @@ export function addExpandersToPath(path, type) { } const stringifiedQuery = qs.stringify(query, { arrayFormat: 'comma', - encode: true, + encode: false, }); if (!stringifiedQuery) { return pathPart; diff --git a/src/helpers/api.jsx b/src/helpers/api.jsx index be87d07..4a2052a 100644 --- a/src/helpers/api.jsx +++ b/src/helpers/api.jsx @@ -146,3 +146,22 @@ export const getLcps = (dispatch, siteInspireId) => { }); }); }; + +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008390396346.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008390731864.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008390733363.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008390925898.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008390928080.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391004097.INSTALLATION AT.CAED/9008390405734.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391004097.INSTALLATION AT.CAED/9008390405741.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391004134.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391004196.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391004837.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391020134.INSTALLATION +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391257066.INSTALLATION AT.CAED/9008390393697.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391257066.INSTALLATION AT.CAED/9008390393703.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391257066.INSTALLATION AT.CAED/9008390394236.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391257066.INSTALLATION AT.CAED/9008390396933.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391257066.INSTALLATION AT.CAED/9008390511381.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391257066.INSTALLATION AT.CAED/9008390925799.PART +// AT.CAED/9008390099636.SITE AT.CAED/9008390731697.FACILITY AT.CAED/9008391257080.INSTALLATION diff --git a/src/helpers/index.js b/src/helpers/index.js index 1892742..01805a7 100644 --- a/src/helpers/index.js +++ b/src/helpers/index.js @@ -34,6 +34,10 @@ export function getBasePath(url) { return ''; } +export function removeTralingSlash(url) { + return getBasePath(url).replace(/\/+$/, ''); +} + export const getNavigationByParent = (items, parent) => { if (items && parent !== undefined && typeof parent === 'string') { const pathnameArray = removeValue(parent.split('/'), ''); diff --git a/src/customizations/volto/components/theme/Logo/Logo.black.png b/src/icons/logo-blue.old.png similarity index 100% rename from src/customizations/volto/components/theme/Logo/Logo.black.png rename to src/icons/logo-blue.old.png diff --git a/src/icons/logo-blue.png b/src/icons/logo-blue.png new file mode 100644 index 0000000000000000000000000000000000000000..1dc76c36fc18395fafc54f553ccf019d57fa5736 GIT binary patch literal 17242 zcmXtg1yodDwD-^@ol?@>4bp}{Nj1}tRp0~7QBKzd1md9m z_Y3D)DB%tQQGw)Tq%=K$o@KRvCzsF2DgVR=o|IoJ#+DY!nr#>Qz$gi_v4A?UHEI*N zyaXagXR9LXhLC&P>gCfDeNAEp2WJN&B!;QRNrK;_3{JV~i@fc2{gC46(^N6Hb_RzB z4Ylf6!e^WRBx7!FDYJV63eCzYg~r7EjWBM@d9SUlO#upQygE862v#X}p(?I?b?GuH zo;h+hqZ|0|PxQh}<7fC^1ME;{(66Y7MyM}V{e(Did&B68I9xmfst8C99@jxk`S;r1 zFubI`2n&?IH8b-monaft5#R^#J?Nv1!PU~9H5|zIUvtn7 z&^#O}BHb&6WWZG#PXkPe8ua<|yHXx%goo9wGD%sgLn?V3SI{I=!m48oKNjdW1tJBA zue-STyEn})6DPdeb^1~mL7oO8Xck=>D`OWR`n>^24wuapq>6zm3<^B{M^>R+|1k+Q z3Y_D(Y@ntT@PJ-!z6{S9JIxdoar=Nuw_|4-KF~p2%+Hl=j~d4X2k(mkrW_$K$0lZE zBALb~EO;ag3c7zJE6|>6StR?6+DiW(g$c#802DKY>g*NqjfA7-Dk9Qha07!z0rHZ3 zZfPM{G$u|@eKv@|SRxTn^+$ytN|DLI5meOh3CI`}Af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$AcP|sC&NG`nM?-e$16+c`#x*W+E>~mDcRjA_#!*O`?-t)n3kJuCM|`~zYjpgiPrH_&v<4MubGBkeHVF{~xQW&Z{Wbdq^70M<2a}j;OVm=i z%GSFzq|U+^*7tSPVGraVO<-ni~o0J_=hLd zaUjT}4Wk7f7iD4J2lkEEOA_5wu{}dLXA_8K6(8Y8GPO$z!EuzbHfuU8Wc)15=0r4X`L}5io5w@T>XCgTxg{?G zMBBsj3(d?ySY^3HQpL0>c_+jzh+B8NNQE+k4)3$Z1MFJ&R95GF^lr|w{|5Mdfnqda z;M%h#&3!n+v?5?8<4=jLQ6{qe)Xi2@`y)>LKUo<=+;!e+9Cr*akNuTe@4}K7sV!3; z0{2v&i49as`C}oc!8WAD!GCuMxp*~EMU{UWSmn^wvhriBWLuswhpb#jd#ULx?H0T| z@OD=U(=i7L{Z9a{08#%scP>bZ@Q)TJyK2MnS>B(?zc;iRnd_d>(q4-#bA2Xr%{>ma z6O^D^M$5$PX~F!b^0ngSbfE=VU)22|Y1XuY-im)-wyx=%7cX4>e-Ui}003Z0(1LCi znuV*US-I8;ra~`h_ynnbr5U-007{N=mgz1#2nsPa%rym|1O-Z5Qw@k k`%D4?0002gN~hEL|3C>x$+WeWegFUf07*qoM6N<$f{h`#fdBvi literal 0 HcmV?d00001 diff --git a/src/icons/logo-blue.svg b/src/icons/logo-blue.svg new file mode 100644 index 0000000..7c083be --- /dev/null +++ b/src/icons/logo-blue.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/customizations/volto/components/theme/Logo/Logo.white.png b/src/icons/logo-white.old.png similarity index 100% rename from src/customizations/volto/components/theme/Logo/Logo.white.png rename to src/icons/logo-white.old.png diff --git a/src/icons/logo-white.png b/src/icons/logo-white.png new file mode 100644 index 0000000000000000000000000000000000000000..20d608ff87d2998c64ce96684643b570b2ec4b94 GIT binary patch literal 16223 zcmW+-bzGEB6F;Q8OF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EV;@?HP|=N#&ih%8hOie`^vPw&>{gk9n#kxw(SLf|Ncx6rh1A{q z5PXzy+n^w&aWxIVw~nzDj7APi-xQ5JU!$8@VXe0u<4J6gU!%|rtSlL|2z;mL zd{}(pgwpC+U|3q_+VSP(w_@Fl3SRAQ?M~Q~GW+(*m*Lh%ySn@`f;6#Tk0Y*q0i`#m zuz>30(fzunIrKy> zkzAV;0V9-hE@k|YdkL*1T#t0C1~Q@u7SE!F5%f`gaU9C$Ac%1M)|Or`9$DM8plEL> ziWXU0L(A3xLlBBrvN?D8y7eYW1rtj?1>1fV?{?aSewr=j# zwVcfl?`JKTXmn6XRF(MpI+60NnJ)&vNs_HVbca2kBVU)NP-fl%kzU78M8yb!VlMo> z`hRH=0j?K}C^Vw)~ z`DEMtJpK_!ITQ@uZvb-!-Tc?Q8XX1j-^*<3a;WDbBg}o9eJ8}a%Q+0 z3G~Ow9SlQIp5xV2eN0I${oS8I0d`+21#GCYXSp|g_#JPPl302pkMXx6p8PrThT z(tX$bGhtTqFvJ#n(P0c9rCg13bv6O|>}MDI#ctNJZFA^(Cf0?X^8oav^z+;i6M7EI zK*@INpVwE$TDHgAKedhOyEo{$fehQ%z#+wg{;}c!mYo5wiLK&~hWtI&MzCF(mzW%l zy)wdJj~inu$-tSmf%HIFI2svy@Fv}yg|@%|HC*$|fLEr?7sa)Es2W{jLsjV{2SOom zMoYYN2jiW3(3f1b>}6L~%)8++{V?}ZsXJ4sd9F+hNB)r040CTV=izc^J5pJ5;nPHspY~^dF)%FCR#buJx%hsT-ILX0y-fS y3>Tc?v`d}L@*QWe$||j7Gy%XJR1(cL`XZjy-~_!vLc#?aKp$m4$v~w{g8m00J|dI= literal 0 HcmV?d00001 diff --git a/src/icons/logo-white.svg b/src/icons/logo-white.svg new file mode 100644 index 0000000..f5cf176 --- /dev/null +++ b/src/icons/logo-white.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/theme/site/globals/site.overrides b/theme/site/globals/site.overrides index 6c46231..0e573b9 100644 --- a/theme/site/globals/site.overrides +++ b/theme/site/globals/site.overrides @@ -1,6 +1,10 @@ /******************************* Global Overrides *******************************/ +body { + font-family: 'Open Sans',Verdana, Helvetica, Arial, sans-serif, 'Helvetica Neue'; +} + .ui.vertical.padded.segment.footerWrapper>.ui.container { width: 80% !important; @@ -1669,10 +1673,6 @@ b { } } -.firefox-icon { - height: 20px; -} - .mdc-linear-progress__bar-inner { background-color: #4296B2 !important; } @@ -1724,4 +1724,34 @@ strong { .folder-contents { margin-top: 2rem; margin-bottom: 2rem; -} \ No newline at end of file +} + +.sidebar-content { + .sidebar-block { + height: 100%; + .ui.menu { + height: 100%; + padding: 1rem; + .item { + padding: 1rem; + } + } + } + .grid-layout > .row { + padding: 2rem !important; + } + + @media (max-width: 768px) { + .sidebar-block { + .ui.menu { + padding: 1rem 0; + .item { + padding: 1rem; + } + } + } + .grid-layout > .row { + padding: 2rem 1rem !important; + } + } +} diff --git a/yarn.lock b/yarn.lock index 67f61d6..eef0729 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11,6 +11,22 @@ orbit-camera-controller "^4.0.0" turntable-camera-controller "^3.0.0" +"@babel/cli@^7.6.0": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.13.16.tgz#9d372e943ced0cc291f068204a9b010fd9cfadbc" + integrity sha512-cL9tllhqvsQ6r1+d9Invf7nNXg/3BlfL1vvvL/AdH9fZ2l5j0CeBcoq6UjsqHpvyN1v5nXSZgqJZoGeK+ZOAbw== + dependencies: + commander "^4.0.1" + convert-source-map "^1.1.0" + fs-readdir-recursive "^1.1.0" + glob "^7.0.0" + make-dir "^2.1.0" + slash "^2.0.0" + source-map "^0.5.0" + optionalDependencies: + "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents" + chokidar "^3.4.0" + "@babel/code-frame@7.8.3", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" @@ -25,6 +41,18 @@ dependencies: "@babel/highlight" "^7.10.4" +"@babel/code-frame@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658" + integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g== + dependencies: + "@babel/highlight" "^7.12.13" + +"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.13.15", "@babel/compat-data@^7.13.8": + version "7.13.15" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.15.tgz#7e8eea42d0b64fda2b375b22d06c605222e848f4" + integrity sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA== + "@babel/compat-data@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.9.6.tgz#3f604c40e420131affe6f2c8052e9a275ae2049b" @@ -78,6 +106,27 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@^7.6.0": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.13.16.tgz#7756ab24396cc9675f1c3fcd5b79fcce192ea96a" + integrity sha512-sXHpixBiWWFti0AV2Zq7avpTasr6sIAu7Y396c608541qAU2ui4a193m0KSQmfPSKFZLnQ3cvlKDOm3XkuXm3Q== + dependencies: + "@babel/code-frame" "^7.12.13" + "@babel/generator" "^7.13.16" + "@babel/helper-compilation-targets" "^7.13.16" + "@babel/helper-module-transforms" "^7.13.14" + "@babel/helpers" "^7.13.16" + "@babel/parser" "^7.13.16" + "@babel/template" "^7.12.13" + "@babel/traverse" "^7.13.15" + "@babel/types" "^7.13.16" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.1.2" + semver "^6.3.0" + source-map "^0.5.0" + "@babel/generator@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.11.0.tgz#4b90c78d8c12825024568cbe83ee6c9af193585c" @@ -96,6 +145,15 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.13.16": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.13.16.tgz#0befc287031a201d84cdfc173b46b320ae472d14" + integrity sha512-grBBR75UnKOcUWMp8WoDxNsWCFl//XCK6HWTrBQKTr5SV9f5g0pNOjdyzi/DTBv12S9GnYPInIXQBTky7OXEMg== + dependencies: + "@babel/types" "^7.13.16" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/generator@^7.4.0", "@babel/generator@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.6.tgz#5408c82ac5de98cda0d77d8124e99fa1f2170a43" @@ -106,6 +164,13 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/helper-annotate-as-pure@^7.10.4", "@babel/helper-annotate-as-pure@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz#0f58e86dfc4bb3b1fcd7db806570e177d439b6ab" + integrity sha512-7YXfX5wQ5aYM/BOlbSccHDbuXXFPxeoUmfWtz8le2yTkTZc+BxsiEnENFoi2SlmA8ewDkG2LgIMIVzzn2h8kfw== + dependencies: + "@babel/types" "^7.12.13" + "@babel/helper-annotate-as-pure@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" @@ -113,6 +178,14 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-builder-binary-assignment-operator-visitor@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.12.13.tgz#6bc20361c88b0a74d05137a65cac8d3cbf6f61fc" + integrity sha512-CZOv9tGphhDRlVjVkAgm8Nhklm9RzSmWpX2my+t7Ua/KT616pEzXsQCjinzvkRvHWJ9itO4f296efroX23XCMA== + dependencies: + "@babel/helper-explode-assignable-expression" "^7.12.13" + "@babel/types" "^7.12.13" + "@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" @@ -138,6 +211,16 @@ "@babel/helper-annotate-as-pure" "^7.8.3" "@babel/types" "^7.9.0" +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.13", "@babel/helper-compilation-targets@^7.13.16", "@babel/helper-compilation-targets@^7.13.8": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz#6e91dccf15e3f43e5556dffe32d860109887563c" + integrity sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA== + dependencies: + "@babel/compat-data" "^7.13.15" + "@babel/helper-validator-option" "^7.12.17" + browserslist "^4.14.5" + semver "^6.3.0" + "@babel/helper-compilation-targets@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.9.6.tgz#1e05b7ccc9d38d2f8b40b458b380a04dcfadd38a" @@ -160,6 +243,17 @@ "@babel/helper-replace-supers" "^7.12.1" "@babel/helper-split-export-declaration" "^7.10.4" +"@babel/helper-create-class-features-plugin@^7.13.0": + version "7.13.11" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz#30d30a005bca2c953f5653fc25091a492177f4f6" + integrity sha512-ays0I7XYq9xbjCSvT+EvysLgfc3tOkwCULHjrnscGT3A9qD4sk3wXnJ3of0MAWsWGjdinFvajHU2smYuqXKMrw== + dependencies: + "@babel/helper-function-name" "^7.12.13" + "@babel/helper-member-expression-to-functions" "^7.13.0" + "@babel/helper-optimise-call-expression" "^7.12.13" + "@babel/helper-replace-supers" "^7.13.0" + "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/helper-create-class-features-plugin@^7.8.3": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.9.6.tgz#965c8b0a9f051801fd9d3b372ca0ccf200a90897" @@ -172,6 +266,14 @@ "@babel/helper-replace-supers" "^7.9.6" "@babel/helper-split-export-declaration" "^7.8.3" +"@babel/helper-create-regexp-features-plugin@^7.12.13": + version "7.12.17" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.17.tgz#a2ac87e9e319269ac655b8d4415e94d38d663cb7" + integrity sha512-p2VGmBu9oefLZ2nQpgnEnG0ZlRPvL8gAGvPUMQwUdaE8k49rOMuZpOwdQoy5qJf6K8jL3bcAMhVUlHAjIgJHUg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.12.13" + regexpu-core "^4.7.1" + "@babel/helper-create-regexp-features-plugin@^7.8.3", "@babel/helper-create-regexp-features-plugin@^7.8.8": version "7.8.8" resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.8.tgz#5d84180b588f560b7864efaeea89243e58312087" @@ -190,6 +292,27 @@ "@babel/types" "^7.8.3" lodash "^4.17.13" +"@babel/helper-define-polyfill-provider@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.0.tgz#a640051772045fedaaecc6f0c6c69f02bdd34bf1" + integrity sha512-JT8tHuFjKBo8NnaUbblz7mIu1nnvUDiHVjXXkulZULyidvo/7P6TY7+YqpV37IfF+KUFxmlK04elKtGKXaiVgw== + dependencies: + "@babel/helper-compilation-targets" "^7.13.0" + "@babel/helper-module-imports" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/traverse" "^7.13.0" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + semver "^6.1.2" + +"@babel/helper-explode-assignable-expression@^7.12.13": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.13.0.tgz#17b5c59ff473d9f956f40ef570cf3a76ca12657f" + integrity sha512-qS0peLTDP8kOisG1blKbaoBg/o9OSa1qoumMjTK5pM+KDTtpxpsiubnCGP34vK8BXGcb2M9eigwgvoJryrzwWA== + dependencies: + "@babel/types" "^7.13.0" + "@babel/helper-explode-assignable-expression@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" @@ -207,6 +330,15 @@ "@babel/template" "^7.10.4" "@babel/types" "^7.10.4" +"@babel/helper-function-name@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz#93ad656db3c3c2232559fd7b2c3dbdcbe0eb377a" + integrity sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA== + dependencies: + "@babel/helper-get-function-arity" "^7.12.13" + "@babel/template" "^7.12.13" + "@babel/types" "^7.12.13" + "@babel/helper-function-name@^7.8.3", "@babel/helper-function-name@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz#2b53820d35275120e1874a82e5aabe1376920a5c" @@ -223,6 +355,13 @@ dependencies: "@babel/types" "^7.10.4" +"@babel/helper-get-function-arity@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz#bc63451d403a3b3082b97e1d8b3fe5bd4091e583" + integrity sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg== + dependencies: + "@babel/types" "^7.12.13" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -230,6 +369,14 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-hoist-variables@^7.13.0": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.13.16.tgz#1b1651249e94b51f8f0d33439843e33e39775b30" + integrity sha512-1eMtTrXtrwscjcAeO4BVK+vvkxaLJSPFz1w1KLawz6HLNi9bPFGBNwwDyVfiu1Tv/vRRFYfoGaKhmAQPGPn5Wg== + dependencies: + "@babel/traverse" "^7.13.15" + "@babel/types" "^7.13.16" + "@babel/helper-hoist-variables@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" @@ -244,6 +391,13 @@ dependencies: "@babel/types" "^7.12.1" +"@babel/helper-member-expression-to-functions@^7.13.0", "@babel/helper-member-expression-to-functions@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz#dfe368f26d426a07299d8d6513821768216e6d72" + integrity sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw== + dependencies: + "@babel/types" "^7.13.12" + "@babel/helper-member-expression-to-functions@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c" @@ -265,7 +419,7 @@ dependencies: "@babel/types" "^7.12.5" -"@babel/helper-module-imports@^7.12.13": +"@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz#c6a369a6f3621cb25da014078684da9196b61977" integrity sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA== @@ -287,6 +441,20 @@ "@babel/types" "^7.12.1" lodash "^4.17.19" +"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.13.14": + version "7.13.14" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz#e600652ba48ccb1641775413cb32cfa4e8b495ef" + integrity sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g== + dependencies: + "@babel/helper-module-imports" "^7.13.12" + "@babel/helper-replace-supers" "^7.13.12" + "@babel/helper-simple-access" "^7.13.12" + "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/helper-validator-identifier" "^7.12.11" + "@babel/template" "^7.12.13" + "@babel/traverse" "^7.13.13" + "@babel/types" "^7.13.14" + "@babel/helper-module-transforms@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz#43b34dfe15961918707d247327431388e9fe96e5" @@ -307,6 +475,13 @@ dependencies: "@babel/types" "^7.10.4" +"@babel/helper-optimise-call-expression@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz#5c02d171b4c8615b1e7163f888c1c81c30a2aaea" + integrity sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA== + dependencies: + "@babel/types" "^7.12.13" + "@babel/helper-optimise-call-expression@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" @@ -324,7 +499,7 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== -"@babel/helper-plugin-utils@^7.12.13": +"@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz#806526ce125aed03373bc416a828321e3a6a33af" integrity sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ== @@ -336,6 +511,15 @@ dependencies: lodash "^4.17.13" +"@babel/helper-remap-async-to-generator@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.13.0.tgz#376a760d9f7b4b2077a9dd05aa9c3927cadb2209" + integrity sha512-pUQpFBE9JvC9lrQbpX0TmeNIy5s7GnZjna2lhhcHC7DzgBs6fWn722Y5cfwgrtrqc7NAJwMvOa0mKhq6XaE4jg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.12.13" + "@babel/helper-wrap-function" "^7.13.0" + "@babel/types" "^7.13.0" + "@babel/helper-remap-async-to-generator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" @@ -357,6 +541,16 @@ "@babel/traverse" "^7.12.5" "@babel/types" "^7.12.5" +"@babel/helper-replace-supers@^7.12.13", "@babel/helper-replace-supers@^7.13.0", "@babel/helper-replace-supers@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz#6442f4c1ad912502481a564a7386de0c77ff3804" + integrity sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.13.12" + "@babel/helper-optimise-call-expression" "^7.12.13" + "@babel/traverse" "^7.13.0" + "@babel/types" "^7.13.12" + "@babel/helper-replace-supers@^7.8.3", "@babel/helper-replace-supers@^7.8.6", "@babel/helper-replace-supers@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.9.6.tgz#03149d7e6a5586ab6764996cd31d6981a17e1444" @@ -374,6 +568,13 @@ dependencies: "@babel/types" "^7.12.1" +"@babel/helper-simple-access@^7.12.13", "@babel/helper-simple-access@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz#dd6c538afb61819d205a012c31792a39c7a5eaf6" + integrity sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA== + dependencies: + "@babel/types" "^7.13.12" + "@babel/helper-simple-access@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" @@ -382,7 +583,7 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-skip-transparent-expression-wrappers@^7.11.0": +"@babel/helper-skip-transparent-expression-wrappers@^7.11.0", "@babel/helper-skip-transparent-expression-wrappers@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz#462dc63a7e435ade8468385c63d2b84cce4b3cbf" integrity sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA== @@ -396,6 +597,13 @@ dependencies: "@babel/types" "^7.11.0" +"@babel/helper-split-export-declaration@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz#e9430be00baf3e88b0e13e6f9d4eaf2136372b05" + integrity sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg== + dependencies: + "@babel/types" "^7.12.13" + "@babel/helper-split-export-declaration@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" @@ -418,6 +626,21 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" integrity sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g== +"@babel/helper-validator-option@^7.12.17": + version "7.12.17" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz#d1fbf012e1a79b7eebbfdc6d270baaf8d9eb9831" + integrity sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw== + +"@babel/helper-wrap-function@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.13.0.tgz#bdb5c66fda8526ec235ab894ad53a1235c79fcc4" + integrity sha512-1UX9F7K3BS42fI6qd2A4BjKzgGjToscyZTdp1DjknHLCIvpgne6918io+aL5LXFcER/8QWiwpoY902pVEqgTXA== + dependencies: + "@babel/helper-function-name" "^7.12.13" + "@babel/template" "^7.12.13" + "@babel/traverse" "^7.13.0" + "@babel/types" "^7.13.0" + "@babel/helper-wrap-function@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" @@ -437,6 +660,15 @@ "@babel/traverse" "^7.12.5" "@babel/types" "^7.12.5" +"@babel/helpers@^7.13.16": + version "7.13.17" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.13.17.tgz#b497c7a00e9719d5b613b8982bda6ed3ee94caf6" + integrity sha512-Eal4Gce4kGijo1/TGJdqp3WuhllaMLSrW6XcL0ulyUAQOuxHcCafZE8KHg9857gcTehsm/v7RcOx2+jp0Ryjsg== + dependencies: + "@babel/template" "^7.12.13" + "@babel/traverse" "^7.13.17" + "@babel/types" "^7.13.17" + "@babel/helpers@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.9.6.tgz#092c774743471d0bb6c7de3ad465ab3d3486d580" @@ -455,6 +687,15 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.12.13": + version "7.13.10" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.13.10.tgz#a8b2a66148f5b27d666b15d81774347a731d52d1" + integrity sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg== + dependencies: + "@babel/helper-validator-identifier" "^7.12.11" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/highlight@^7.8.3": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.9.0.tgz#4e9b45ccb82b79607271b2979ad82c7b68163079" @@ -479,6 +720,29 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.5.tgz#b4af32ddd473c0bfa643bd7ff0728b8e71b81ea0" integrity sha512-FVM6RZQ0mn2KCf1VUED7KepYeUWoVShczewOCfm3nzoBybaih51h+sYVVGthW9M6lPByEPTQf+xm27PBdlpwmQ== +"@babel/parser@^7.12.13", "@babel/parser@^7.13.16": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.16.tgz#0f18179b0448e6939b1f3f5c4c355a3a9bcdfd37" + integrity sha512-6bAg36mCwuqLO0hbR+z7PHuqWiCeP7Dzg73OpQwsAB1Eb8HnGEz5xYBzCfbu+YjoaJsJs+qheDxVAuqbt3ILEw== + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.13.12.tgz#a3484d84d0b549f3fc916b99ee4783f26fabad2a" + integrity sha512-d0u3zWKcoZf379fOeJdr1a5WPDny4aOFZ6hlfKivgK0LY7ZxNfoaHL2fWwdGtHyVvra38FC+HVYkO+byfSA8AQ== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" + "@babel/plugin-proposal-optional-chaining" "^7.13.12" + +"@babel/plugin-proposal-async-generator-functions@^7.13.15": + version "7.13.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.15.tgz#80e549df273a3b3050431b148c892491df1bcc5b" + integrity sha512-VapibkWzFeoa6ubXy/NgV5U2U4MVnUlvnx6wo1XhlsaTrLYWE0UFpDQsVrmn22q5CzeloqJ8gEMHSKxuee6ZdA== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-remap-async-to-generator" "^7.13.0" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-proposal-async-generator-functions@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" @@ -488,6 +752,14 @@ "@babel/helper-remap-async-to-generator" "^7.8.3" "@babel/plugin-syntax-async-generators" "^7.8.0" +"@babel/plugin-proposal-class-properties@^7.13.0", "@babel/plugin-proposal-class-properties@^7.5.5": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz#146376000b94efd001e57a40a88a525afaab9f37" + integrity sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.13.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-proposal-class-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz#5e06654af5cd04b608915aada9b2a6788004464e" @@ -496,6 +768,14 @@ "@babel/helper-create-class-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-proposal-dynamic-import@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.13.8.tgz#876a1f6966e1dec332e8c9451afda3bebcdf2e1d" + integrity sha512-ONWKj0H6+wIRCkZi9zSbZtE/r73uOhMVHh256ys0UzfM7I3d4n+spZNWjOnJv2gzopumP2Wxi186vI8N0Y2JyQ== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-proposal-dynamic-import@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" @@ -520,6 +800,14 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" +"@babel/plugin-proposal-export-namespace-from@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.13.tgz#393be47a4acd03fa2af6e3cde9b06e33de1b446d" + integrity sha512-INAgtFo4OnLN3Y/j0VwAgw3HDXcDtX+C/erMvWzuV9v71r7urb6iyMXu7eM9IgLr1ElLlOkaHjJ0SbCmdOQ3Iw== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-proposal-json-strings@7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.4.tgz#593e59c63528160233bd321b1aebe0820c2341db" @@ -528,6 +816,14 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-json-strings" "^7.8.0" +"@babel/plugin-proposal-json-strings@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.13.8.tgz#bf1fb362547075afda3634ed31571c5901afef7b" + integrity sha512-w4zOPKUFPX1mgvTmL/fcEqy34hrQ1CRcGxdphBc6snDnnqJ47EZDIyop6IwXzAC8G916hsIuXB2ZMBCExC5k7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-proposal-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" @@ -536,6 +832,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-json-strings" "^7.8.0" +"@babel/plugin-proposal-logical-assignment-operators@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.13.8.tgz#93fa78d63857c40ce3c8c3315220fd00bfbb4e1a" + integrity sha512-aul6znYB4N4HGweImqKn59Su9RS8lbUIqxtXTOcAGtNIDczoEFv+l1EhmX8rUBp3G1jMjKJm8m0jXVp63ZpS4A== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-proposal-nullish-coalescing-operator@7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.10.4.tgz#02a7e961fc32e6d5b2db0649e01bf80ddee7e04a" @@ -544,6 +848,14 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" +"@babel/plugin-proposal-nullish-coalescing-operator@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.13.8.tgz#3730a31dafd3c10d8ccd10648ed80a2ac5472ef3" + integrity sha512-iePlDPBn//UhxExyS9KyeYU7RM9WScAG+D3Hhno0PLJebAEpDZMocbDe64eqynhNAnwz/vZoL/q/QB2T1OH39A== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2" @@ -560,6 +872,14 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-numeric-separator" "^7.10.4" +"@babel/plugin-proposal-numeric-separator@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.13.tgz#bd9da3188e787b5120b4f9d465a8261ce67ed1db" + integrity sha512-O1jFia9R8BUCl3ZGB7eitaAPu62TXJRHn7rh+ojNERCFyqRwJMTmhz+tJ+k0CwI6CLjX/ee4qW74FSqlq9I35w== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-proposal-numeric-separator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.8.3.tgz#5d6769409699ec9b3b68684cd8116cedff93bad8" @@ -568,6 +888,17 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" +"@babel/plugin-proposal-object-rest-spread@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.13.8.tgz#5d210a4d727d6ce3b18f9de82cc99a3964eed60a" + integrity sha512-DhB2EuB1Ih7S3/IRX5AFVgZ16k3EzfRbq97CxAVI1KSYcW+lexV8VZb7G7L8zuPVSdQMRn0kiBpf/Yzu9ZKH0g== + dependencies: + "@babel/compat-data" "^7.13.8" + "@babel/helper-compilation-targets" "^7.13.8" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.13.0" + "@babel/plugin-proposal-object-rest-spread@^7.9.5", "@babel/plugin-proposal-object-rest-spread@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" @@ -577,6 +908,14 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.9.5" +"@babel/plugin-proposal-optional-catch-binding@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.13.8.tgz#3ad6bd5901506ea996fc31bdcf3ccfa2bed71107" + integrity sha512-0wS/4DUF1CuTmGo+NiaHfHcVSeSLj5S3e6RivPTg/2k3wOv3jO35tZ6/ZWsQhQMvdgI7CwphjQa/ccarLymHVA== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-proposal-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" @@ -594,6 +933,15 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.11.0" "@babel/plugin-syntax-optional-chaining" "^7.8.0" +"@babel/plugin-proposal-optional-chaining@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.13.12.tgz#ba9feb601d422e0adea6760c2bd6bbb7bfec4866" + integrity sha512-fcEdKOkIB7Tf4IxrgEVeFC4zeJSTr78no9wTdBuZZbqF64kzllU0ybo2zrzm7gUQfxGhBgq4E39oRs8Zx/RMYQ== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-proposal-optional-chaining@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.9.0.tgz#31db16b154c39d6b8a645292472b98394c292a58" @@ -602,6 +950,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.0" +"@babel/plugin-proposal-private-methods@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.13.0.tgz#04bd4c6d40f6e6bbfa2f57e2d8094bad900ef787" + integrity sha512-MXyyKQd9inhx1kDYPkFRVOBXQ20ES8Pto3T7UZ92xj2mY0EVD8oAVzeyYuVfy/mxAdTSIayOvg+aVzcHV2bn6Q== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.13.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-proposal-throw-expressions@7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.10.4.tgz#501154a3c1b33cb1ad5b899204481fa2859cd3f3" @@ -610,6 +966,14 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-throw-expressions" "^7.10.4" +"@babel/plugin-proposal-unicode-property-regex@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.13.tgz#bebde51339be829c17aaaaced18641deb62b39ba" + integrity sha512-XyJmZidNfofEkqFV5VC/bLabGmO5QzenPO/YOfGuEbgU+2sSwMmio3YLb4WtBgcmmdwZHyVyv8on77IUjQ5Gvg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.12.13" + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": version "7.8.8" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.8.tgz#ee3a95e90cdc04fe8cd92ec3279fa017d68a0d1d" @@ -618,7 +982,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.8" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-async-generators@^7.8.0": +"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== @@ -632,6 +996,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-class-properties@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-syntax-dynamic-import@^7.7.4", "@babel/plugin-syntax-dynamic-import@^7.8.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" @@ -653,7 +1024,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-json-strings@^7.8.0": +"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== @@ -674,7 +1045,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== @@ -695,21 +1073,21 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0": +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.8.0": +"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.8.0": +"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== @@ -723,6 +1101,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-syntax-top-level-await@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.13.tgz#c5f0fa6e249f5b739727f923540cf7a806130178" + integrity sha512-A81F9pDwyS7yM//KwbCSDqy3Uj4NMIurtplxphWxoYtNPov7cJsDkAFNNyVlIZ3jwGycVsurZ+LtOA8gZ376iQ== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-syntax-top-level-await@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" @@ -737,6 +1122,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-transform-arrow-functions@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.13.0.tgz#10a59bebad52d637a027afa692e8d5ceff5e3dae" + integrity sha512-96lgJagobeVmazXFaDrbmCLQxBysKu7U6Do3mLsx27gf5Dk85ezysrs2BZUpXD703U/Su1xTBDxxar2oa4jAGg== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-arrow-functions@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" @@ -744,6 +1136,15 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-async-to-generator@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.13.0.tgz#8e112bf6771b82bf1e974e5e26806c5c99aa516f" + integrity sha512-3j6E004Dx0K3eGmhxVJxwwI89CTJrce7lg3UrtFuDAVQ/2+SJ/h/aSFOeE6/n0WB1GsOffsJp6MnPQNQ8nmwhg== + dependencies: + "@babel/helper-module-imports" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-remap-async-to-generator" "^7.13.0" + "@babel/plugin-transform-async-to-generator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" @@ -753,6 +1154,13 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-remap-async-to-generator" "^7.8.3" +"@babel/plugin-transform-block-scoped-functions@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.13.tgz#a9bf1836f2a39b4eb6cf09967739de29ea4bf4c4" + integrity sha512-zNyFqbc3kI/fVpqwfqkg6RvBgFpC4J18aKKMmv7KdQ/1GgREapSJAykLMVNwfRGO3BtHj3YQZl8kxCXPcVMVeg== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-block-scoped-functions@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" @@ -760,6 +1168,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-block-scoping@^7.12.13": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.13.16.tgz#a9c0f10794855c63b1d629914c7dcfeddd185892" + integrity sha512-ad3PHUxGnfWF4Efd3qFuznEtZKoBp0spS+DgqzVzRPV7urEBvPLue3y2j80w4Jf2YLzZHj8TOv/Lmvdmh3b2xg== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-block-scoping@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" @@ -768,6 +1183,19 @@ "@babel/helper-plugin-utils" "^7.8.3" lodash "^4.17.13" +"@babel/plugin-transform-classes@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.13.0.tgz#0265155075c42918bf4d3a4053134176ad9b533b" + integrity sha512-9BtHCPUARyVH1oXGcSJD3YpsqRLROJx5ZNP6tN5vnk17N0SVf9WCtf8Nuh1CFmgByKKAIMstitKduoCmsaDK5g== + dependencies: + "@babel/helper-annotate-as-pure" "^7.12.13" + "@babel/helper-function-name" "^7.12.13" + "@babel/helper-optimise-call-expression" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-replace-supers" "^7.13.0" + "@babel/helper-split-export-declaration" "^7.12.13" + globals "^11.1.0" + "@babel/plugin-transform-classes@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" @@ -782,6 +1210,13 @@ "@babel/helper-split-export-declaration" "^7.8.3" globals "^11.1.0" +"@babel/plugin-transform-computed-properties@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.13.0.tgz#845c6e8b9bb55376b1fa0b92ef0bdc8ea06644ed" + integrity sha512-RRqTYTeZkZAz8WbieLTvKUEUxZlUTdmL5KGMyZj7FnMfLNKV4+r5549aORG/mgojRmFlQMJDUupwAMiF2Q7OUg== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-computed-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" @@ -789,6 +1224,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-destructuring@^7.13.0": + version "7.13.17" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.13.17.tgz#678d96576638c19d5b36b332504d3fd6e06dea27" + integrity sha512-UAUqiLv+uRLO+xuBKKMEpC+t7YRNVRqBsWWq1yKXbBZBje/t3IXCiSinZhjn/DC3qzBfICeYd2EFGEbHsh5RLA== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-destructuring@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.9.5.tgz#72c97cf5f38604aea3abf3b935b0e17b1db76a50" @@ -796,6 +1238,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-dotall-regex@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.13.tgz#3f1601cc29905bfcb67f53910f197aeafebb25ad" + integrity sha512-foDrozE65ZFdUC2OfgeOCrEPTxdB3yjqxpXh8CH+ipd9CHd4s/iq81kcUpyH8ACGNEPdFqbtzfgzbT/ZGlbDeQ== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.12.13" + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" @@ -804,6 +1254,13 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-duplicate-keys@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.13.tgz#6f06b87a8b803fd928e54b81c258f0a0033904de" + integrity sha512-NfADJiiHdhLBW3pulJlJI2NB0t4cci4WTZ8FtdIuNc2+8pslXdPtRRAEWqUY+m9kNOk2eRYbTAOipAxlrOcwwQ== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-duplicate-keys@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" @@ -811,6 +1268,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-exponentiation-operator@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.13.tgz#4d52390b9a273e651e4aba6aee49ef40e80cd0a1" + integrity sha512-fbUelkM1apvqez/yYx1/oICVnGo2KM5s63mhGylrmXUxK/IAXSIf87QIxVfZldWf4QsOafY6vV3bX8aMHSvNrA== + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.12.13" + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-exponentiation-operator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" @@ -819,6 +1284,13 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-for-of@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.13.0.tgz#c799f881a8091ac26b54867a845c3e97d2696062" + integrity sha512-IHKT00mwUVYE0zzbkDgNRP6SRzvfGCYsOxIRz8KsiaaHCcT9BWIkO+H9QRJseHBLOGBZkHUdHiqj6r0POsdytg== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-for-of@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.9.0.tgz#0f260e27d3e29cd1bb3128da5e76c761aa6c108e" @@ -826,6 +1298,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-function-name@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.13.tgz#bb024452f9aaed861d374c8e7a24252ce3a50051" + integrity sha512-6K7gZycG0cmIwwF7uMK/ZqeCikCGVBdyP2J5SKNCXO5EOHcqi+z7Jwf8AmyDNcBgxET8DrEtCt/mPKPyAzXyqQ== + dependencies: + "@babel/helper-function-name" "^7.12.13" + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-function-name@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" @@ -834,6 +1314,13 @@ "@babel/helper-function-name" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-literals@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.13.tgz#2ca45bafe4a820197cf315794a4d26560fe4bdb9" + integrity sha512-FW+WPjSR7hiUxMcKqyNjP05tQ2kmBCdpEpZHY1ARm96tGQCCBvXKnpjILtDplUnJ/eHZ0lALLM+d2lMFSpYJrQ== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-literals@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" @@ -841,6 +1328,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-member-expression-literals@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.13.tgz#5ffa66cd59b9e191314c9f1f803b938e8c081e40" + integrity sha512-kxLkOsg8yir4YeEPHLuO2tXP9R/gTjpuTOjshqSpELUN3ZAg2jfDnKUvzzJxObun38sw3wm4Uu69sX/zA7iRvg== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-member-expression-literals@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" @@ -848,6 +1342,15 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-modules-amd@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.13.0.tgz#19f511d60e3d8753cc5a6d4e775d3a5184866cc3" + integrity sha512-EKy/E2NHhY/6Vw5d1k3rgoobftcNUmp9fGjb9XZwQLtTctsRBOTRO7RHHxfIky1ogMN5BxN7p9uMA3SzPfotMQ== + dependencies: + "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-plugin-utils" "^7.13.0" + babel-plugin-dynamic-import-node "^2.3.3" + "@babel/plugin-transform-modules-amd@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.6.tgz#8539ec42c153d12ea3836e0e3ac30d5aae7b258e" @@ -857,6 +1360,16 @@ "@babel/helper-plugin-utils" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.3" +"@babel/plugin-transform-modules-commonjs@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.13.8.tgz#7b01ad7c2dcf2275b06fa1781e00d13d420b3e1b" + integrity sha512-9QiOx4MEGglfYZ4XOnU79OHr6vIWUakIj9b4mioN8eQIoEh+pf5p/zEB36JpDFWA12nNMiRf7bfoRvl9Rn79Bw== + dependencies: + "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-simple-access" "^7.12.13" + babel-plugin-dynamic-import-node "^2.3.3" + "@babel/plugin-transform-modules-commonjs@^7.9.0", "@babel/plugin-transform-modules-commonjs@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.6.tgz#64b7474a4279ee588cacd1906695ca721687c277" @@ -867,6 +1380,17 @@ "@babel/helper-simple-access" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.3" +"@babel/plugin-transform-modules-systemjs@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.13.8.tgz#6d066ee2bff3c7b3d60bf28dec169ad993831ae3" + integrity sha512-hwqctPYjhM6cWvVIlOIe27jCIBgHCsdH2xCJVAYQm7V5yTMoilbVMi9f6wKg0rpQAOn6ZG4AOyvCqFF/hUh6+A== + dependencies: + "@babel/helper-hoist-variables" "^7.13.0" + "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-validator-identifier" "^7.12.11" + babel-plugin-dynamic-import-node "^2.3.3" + "@babel/plugin-transform-modules-systemjs@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.6.tgz#207f1461c78a231d5337a92140e52422510d81a4" @@ -877,6 +1401,14 @@ "@babel/helper-plugin-utils" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.3" +"@babel/plugin-transform-modules-umd@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.13.0.tgz#8a3d96a97d199705b9fd021580082af81c06e70b" + integrity sha512-D/ILzAh6uyvkWjKKyFE/W0FzWwasv6vPTSqPcjxFqn6QpX3u8DjRVliq4F2BamO2Wee/om06Vyy+vPkNrd4wxw== + dependencies: + "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-modules-umd@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.9.0.tgz#e909acae276fec280f9b821a5f38e1f08b480697" @@ -885,6 +1417,13 @@ "@babel/helper-module-transforms" "^7.9.0" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-named-capturing-groups-regex@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.13.tgz#2213725a5f5bbbe364b50c3ba5998c9599c5c9d9" + integrity sha512-Xsm8P2hr5hAxyYblrfACXpQKdQbx4m2df9/ZZSQ8MAhsadw06+jW7s9zsSw6he+mJZXRlVMyEnVktJo4zjk1WA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.12.13" + "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c" @@ -892,6 +1431,13 @@ dependencies: "@babel/helper-create-regexp-features-plugin" "^7.8.3" +"@babel/plugin-transform-new-target@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.13.tgz#e22d8c3af24b150dd528cbd6e685e799bf1c351c" + integrity sha512-/KY2hbLxrG5GTQ9zzZSc3xWiOy379pIETEhbtzwZcw9rvuaVV4Fqy7BYGYOWZnaoXIQYbbJ0ziXLa/sKcGCYEQ== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-new-target@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" @@ -899,6 +1445,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-object-super@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.13.tgz#b4416a2d63b8f7be314f3d349bd55a9c1b5171f7" + integrity sha512-JzYIcj3XtYspZDV8j9ulnoMPZZnF/Cj0LUxPOjR89BdBVx+zYJI9MdMIlUZjbXDX+6YVeS6I3e8op+qQ3BYBoQ== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-replace-supers" "^7.12.13" + "@babel/plugin-transform-object-super@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" @@ -907,6 +1461,13 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-replace-supers" "^7.8.3" +"@babel/plugin-transform-parameters@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.13.0.tgz#8fa7603e3097f9c0b7ca1a4821bc2fb52e9e5007" + integrity sha512-Jt8k/h/mIwE2JFEOb3lURoY5C85ETcYPnbuAJ96zRBzh1XHtQZfs62ChZ6EP22QlC8c7Xqr9q+e1SU5qttwwjw== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-parameters@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz#173b265746f5e15b2afe527eeda65b73623a0795" @@ -915,6 +1476,13 @@ "@babel/helper-get-function-arity" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-property-literals@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.13.tgz#4e6a9e37864d8f1b3bc0e2dce7bf8857db8b1a81" + integrity sha512-nqVigwVan+lR+g8Fj8Exl0UQX2kymtjcWfMOYM1vTYEKujeyv2SkMgazf2qNcK7l4SDiKyTA/nHCPqL4e2zo1A== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-property-literals@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" @@ -922,6 +1490,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-react-display-name@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.12.13.tgz#c28effd771b276f4647411c9733dbb2d2da954bd" + integrity sha512-MprESJzI9O5VnJZrL7gg1MpdqmiFcUv41Jc7SahxYsNP2kDkFqClxxTZq+1Qv4AFCamm+GXMRDQINNn+qrxmiA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-react-display-name@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.8.3.tgz#70ded987c91609f78353dd76d2fb2a0bb991e8e5" @@ -929,6 +1504,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-react-jsx-development@^7.12.17": + version "7.12.17" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.17.tgz#f510c0fa7cd7234153539f9a362ced41a5ca1447" + integrity sha512-BPjYV86SVuOaudFhsJR1zjgxxOhJDt6JHNoD48DxWEIxUCAMjV1ys6DYw4SDYZh0b1QsS2vfIA9t/ZsQGsDOUQ== + dependencies: + "@babel/plugin-transform-react-jsx" "^7.12.17" + "@babel/plugin-transform-react-jsx-development@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.9.0.tgz#3c2a130727caf00c2a293f0aed24520825dbf754" @@ -954,6 +1536,17 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-jsx@^7.12.17", "@babel/plugin-transform-react-jsx@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.13.12.tgz#1df5dfaf0f4b784b43e96da6f28d630e775f68b3" + integrity sha512-jcEI2UqIcpCqB5U5DRxIl0tQEProI2gcu+g8VTIqxLO5Iidojb4d77q+fwGseCvd8af/lJ9masp4QWzBXFE2xA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.12.13" + "@babel/helper-module-imports" "^7.13.12" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-jsx" "^7.12.13" + "@babel/types" "^7.13.12" + "@babel/plugin-transform-react-jsx@^7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.9.4.tgz#86f576c8540bd06d0e95e0b61ea76d55f6cbd03f" @@ -964,6 +1557,21 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-pure-annotations@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.12.1.tgz#05d46f0ab4d1339ac59adf20a1462c91b37a1a42" + integrity sha512-RqeaHiwZtphSIUZ5I85PEH19LOSzxfuEazoY7/pWASCAIBuATQzpSVD+eT6MebeeZT2F4eSL0u4vw6n4Nm0Mjg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-regenerator@^7.13.15": + version "7.13.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.13.15.tgz#e5eb28945bf8b6563e7f818945f966a8d2997f39" + integrity sha512-Bk9cOLSz8DiurcMETZ8E2YtIVJbFCPGW28DJWUakmyVWtQSm6Wsf0p4B4BfEr/eL2Nkhe/CICiUiMOCi1TPhuQ== + dependencies: + regenerator-transform "^0.14.2" + "@babel/plugin-transform-regenerator@^7.8.7": version "7.8.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz#5e46a0dca2bee1ad8285eb0527e6abc9c37672f8" @@ -971,6 +1579,13 @@ dependencies: regenerator-transform "^0.14.2" +"@babel/plugin-transform-reserved-words@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.13.tgz#7d9988d4f06e0fe697ea1d9803188aa18b472695" + integrity sha512-xhUPzDXxZN1QfiOy/I5tyye+TRz6lA7z6xaT4CLOjPRMVg1ldRf0LHw0TDBpYL4vG78556WuHdyO9oi5UmzZBg== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-reserved-words@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" @@ -988,6 +1603,13 @@ resolve "^1.8.1" semver "^5.5.1" +"@babel/plugin-transform-shorthand-properties@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.13.tgz#db755732b70c539d504c6390d9ce90fe64aff7ad" + integrity sha512-xpL49pqPnLtf0tVluuqvzWIgLEhuPpZzvs2yabUHSKRNlN7ScYU7aMlmavOeyXJZKgZKQRBlh8rHbKiJDraTSw== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-shorthand-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" @@ -995,6 +1617,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-spread@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.13.0.tgz#84887710e273c1815ace7ae459f6f42a5d31d5fd" + integrity sha512-V6vkiXijjzYeFmQTr3dBxPtZYLPcUfY34DebOU27jIl2M/Y8Egm52Hw82CSjjPqd54GTlJs5x+CR7HeNr24ckg== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" + "@babel/plugin-transform-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" @@ -1002,6 +1632,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-sticky-regex@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.13.tgz#760ffd936face73f860ae646fb86ee82f3d06d1f" + integrity sha512-Jc3JSaaWT8+fr7GRvQP02fKDsYk4K/lYwWq38r/UGfaxo89ajud321NH28KRQ7xy1Ybc0VUE5Pz8psjNNDUglg== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-sticky-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" @@ -1010,6 +1647,13 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-regex" "^7.8.3" +"@babel/plugin-transform-template-literals@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.13.0.tgz#a36049127977ad94438dee7443598d1cefdf409d" + integrity sha512-d67umW6nlfmr1iehCcBv69eSUSySk1EsIS8aTDX4Xo9qajAh6mYtcl4kJrBkGXuxZPEgVr7RVfAvNW6YQkd4Mw== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-transform-template-literals@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" @@ -1018,6 +1662,13 @@ "@babel/helper-annotate-as-pure" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-typeof-symbol@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.13.tgz#785dd67a1f2ea579d9c2be722de8c84cb85f5a7f" + integrity sha512-eKv/LmUJpMnu4npgfvs3LiHhJua5fo/CysENxa45YCQXZwKnGCQKAg87bvoqSW1fFT+HA32l03Qxsm8ouTY3ZQ== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-typeof-symbol@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412" @@ -1034,6 +1685,21 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-typescript" "^7.12.1" +"@babel/plugin-transform-unicode-escapes@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.13.tgz#840ced3b816d3b5127dd1d12dcedc5dead1a5e74" + integrity sha512-0bHEkdwJ/sN/ikBHfSmOXPypN/beiGqjo+o4/5K+vxEFNPRPdImhviPakMKG4x96l85emoa0Z6cDflsdBusZbw== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-transform-unicode-regex@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.13.tgz#b52521685804e155b1202e83fc188d34bb70f5ac" + integrity sha512-mDRzSNY7/zopwisPZ5kM9XKCfhchqIYwAKRERtEnhYscZB79VRekuRSoYbN0+KVe3y8+q1h6A4svXtP7N+UoCA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.12.13" + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-transform-unicode-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" @@ -1042,6 +1708,81 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" +"@babel/preset-env@^7.6.0": + version "7.13.15" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.13.15.tgz#c8a6eb584f96ecba183d3d414a83553a599f478f" + integrity sha512-D4JAPMXcxk69PKe81jRJ21/fP/uYdcTZ3hJDF5QX2HSI9bBxxYw/dumdR6dGumhjxlprHPE4XWoPaqzZUVy2MA== + dependencies: + "@babel/compat-data" "^7.13.15" + "@babel/helper-compilation-targets" "^7.13.13" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-validator-option" "^7.12.17" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.13.12" + "@babel/plugin-proposal-async-generator-functions" "^7.13.15" + "@babel/plugin-proposal-class-properties" "^7.13.0" + "@babel/plugin-proposal-dynamic-import" "^7.13.8" + "@babel/plugin-proposal-export-namespace-from" "^7.12.13" + "@babel/plugin-proposal-json-strings" "^7.13.8" + "@babel/plugin-proposal-logical-assignment-operators" "^7.13.8" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.13.8" + "@babel/plugin-proposal-numeric-separator" "^7.12.13" + "@babel/plugin-proposal-object-rest-spread" "^7.13.8" + "@babel/plugin-proposal-optional-catch-binding" "^7.13.8" + "@babel/plugin-proposal-optional-chaining" "^7.13.12" + "@babel/plugin-proposal-private-methods" "^7.13.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.12.13" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-top-level-await" "^7.12.13" + "@babel/plugin-transform-arrow-functions" "^7.13.0" + "@babel/plugin-transform-async-to-generator" "^7.13.0" + "@babel/plugin-transform-block-scoped-functions" "^7.12.13" + "@babel/plugin-transform-block-scoping" "^7.12.13" + "@babel/plugin-transform-classes" "^7.13.0" + "@babel/plugin-transform-computed-properties" "^7.13.0" + "@babel/plugin-transform-destructuring" "^7.13.0" + "@babel/plugin-transform-dotall-regex" "^7.12.13" + "@babel/plugin-transform-duplicate-keys" "^7.12.13" + "@babel/plugin-transform-exponentiation-operator" "^7.12.13" + "@babel/plugin-transform-for-of" "^7.13.0" + "@babel/plugin-transform-function-name" "^7.12.13" + "@babel/plugin-transform-literals" "^7.12.13" + "@babel/plugin-transform-member-expression-literals" "^7.12.13" + "@babel/plugin-transform-modules-amd" "^7.13.0" + "@babel/plugin-transform-modules-commonjs" "^7.13.8" + "@babel/plugin-transform-modules-systemjs" "^7.13.8" + "@babel/plugin-transform-modules-umd" "^7.13.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.12.13" + "@babel/plugin-transform-new-target" "^7.12.13" + "@babel/plugin-transform-object-super" "^7.12.13" + "@babel/plugin-transform-parameters" "^7.13.0" + "@babel/plugin-transform-property-literals" "^7.12.13" + "@babel/plugin-transform-regenerator" "^7.13.15" + "@babel/plugin-transform-reserved-words" "^7.12.13" + "@babel/plugin-transform-shorthand-properties" "^7.12.13" + "@babel/plugin-transform-spread" "^7.13.0" + "@babel/plugin-transform-sticky-regex" "^7.12.13" + "@babel/plugin-transform-template-literals" "^7.13.0" + "@babel/plugin-transform-typeof-symbol" "^7.12.13" + "@babel/plugin-transform-unicode-escapes" "^7.12.13" + "@babel/plugin-transform-unicode-regex" "^7.12.13" + "@babel/preset-modules" "^0.1.4" + "@babel/types" "^7.13.14" + babel-plugin-polyfill-corejs2 "^0.2.0" + babel-plugin-polyfill-corejs3 "^0.2.0" + babel-plugin-polyfill-regenerator "^0.2.0" + core-js-compat "^3.9.0" + semver "^6.3.0" + "@babel/preset-env@^7.9.5": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" @@ -1119,6 +1860,29 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" +"@babel/preset-modules@^0.1.4": + version "0.1.4" + resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.4.tgz#362f2b68c662842970fdb5e254ffc8fc1c2e415e" + integrity sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/preset-react@^7.0.0": + version "7.13.13" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.13.13.tgz#fa6895a96c50763fe693f9148568458d5a839761" + integrity sha512-gx+tDLIE06sRjKJkVtpZ/t3mzCDOnPG+ggHZG9lffUbX8+wC739x20YQc9V35Do6ZAxaUc/HhVHIiOzz5MvDmA== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-validator-option" "^7.12.17" + "@babel/plugin-transform-react-display-name" "^7.12.13" + "@babel/plugin-transform-react-jsx" "^7.13.12" + "@babel/plugin-transform-react-jsx-development" "^7.12.17" + "@babel/plugin-transform-react-pure-annotations" "^7.12.1" + "@babel/preset-react@^7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.9.4.tgz#c6c97693ac65b6b9c0b4f25b948a8f665463014d" @@ -1178,6 +1942,15 @@ "@babel/parser" "^7.10.4" "@babel/types" "^7.10.4" +"@babel/template@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.13.tgz#530265be8a2589dbb37523844c5bcb55947fb327" + integrity sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA== + dependencies: + "@babel/code-frame" "^7.12.13" + "@babel/parser" "^7.12.13" + "@babel/types" "^7.12.13" + "@babel/template@^7.4.0", "@babel/template@^7.8.3", "@babel/template@^7.8.6": version "7.8.6" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.6.tgz#86b22af15f828dfb086474f964dcc3e39c43ce2b" @@ -1217,6 +1990,20 @@ globals "^11.1.0" lodash "^4.17.19" +"@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13", "@babel/traverse@^7.13.15", "@babel/traverse@^7.13.17": + version "7.13.17" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.13.17.tgz#c85415e0c7d50ac053d758baec98b28b2ecfeea3" + integrity sha512-BMnZn0R+X6ayqm3C3To7o1j7Q020gWdqdyP50KEoVqaCO2c/Im7sYZSmVgvefp8TTMQ+9CtwuBp0Z1CZ8V3Pvg== + dependencies: + "@babel/code-frame" "^7.12.13" + "@babel/generator" "^7.13.16" + "@babel/helper-function-name" "^7.12.13" + "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/parser" "^7.13.16" + "@babel/types" "^7.13.17" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.0.0-beta.49", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.4.4", "@babel/types@^7.7.0", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5", "@babel/types@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.6.tgz#2c5502b427251e9de1bd2dff95add646d95cc9f7" @@ -1244,6 +2031,14 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" +"@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.14", "@babel/types@^7.13.16", "@babel/types@^7.13.17": + version "7.13.17" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.17.tgz#48010a115c9fba7588b4437dd68c9469012b38b4" + integrity sha512-RawydLgxbOPDlTLJNtoIypwdmAy//uQIzlKt2+iBiJaRlVuI6QLUxVAyWGNfOzp8Yu4L4lLIacoCyTNtpb4wiA== + dependencies: + "@babel/helper-validator-identifier" "^7.12.11" + to-fast-properties "^2.0.0" + "@babel/types@^7.13.12": version "7.13.14" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d" @@ -1334,6 +2129,13 @@ dependencies: "@datapunt/matomo-tracker-js" "^0.3.1" +"@eeacms/volto-block-style@^2.5.1": + version "2.5.1" + resolved "https://registry.yarnpkg.com/@eeacms/volto-block-style/-/volto-block-style-2.5.1.tgz#c16077800e7943f644c460918296022e81475be6" + integrity sha512-2wfbbM5IMIaf0177Hv39up553RyUXCKsWC3ajwnVYDWjxnocNVoYdfhwXmolNDda/xSaC4VsUBvEVlQ6uEliTA== + dependencies: + react-color "~2.18.1" + "@eeacms/volto-matomo@github:eea/volto-matomo#2.0.0": version "2.0.0" resolved "https://codeload.github.com/eea/volto-matomo/tar.gz/f883393ed544795f5e6eb4a985f8ad167e361616" @@ -1874,6 +2676,23 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" +"@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents": + version "2.1.8-no-fsevents" + resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.tgz#da7c3996b8e6e19ebd14d82eaced2313e7769f9b" + integrity sha512-+nb9vWloHNNMFHjGofEam3wopE3m1yuambrrd/fnPc+lFOMB9ROTqQlche9ByFWNkdNqfSgR/kkQtQ8DzEWt2w== + dependencies: + anymatch "^2.0.0" + async-each "^1.0.1" + braces "^2.3.2" + glob-parent "^3.1.0" + inherits "^2.0.3" + is-binary-path "^1.0.0" + is-glob "^4.0.0" + normalize-path "^3.0.0" + path-is-absolute "^1.0.0" + readdirp "^2.2.1" + upath "^1.1.1" + "@nodelib/fs.scandir@2.1.3": version "2.1.3" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" @@ -3791,6 +4610,30 @@ babel-plugin-macros@^2.6.1: cosmiconfig "^6.0.0" resolve "^1.12.0" +babel-plugin-polyfill-corejs2@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.0.tgz#686775bf9a5aa757e10520903675e3889caeedc4" + integrity sha512-9bNwiR0dS881c5SHnzCmmGlMkJLl0OUZvxrxHo9w/iNoRuqaPjqlvBf4HrovXtQs/au5yKkpcdgfT1cC5PAZwg== + dependencies: + "@babel/compat-data" "^7.13.11" + "@babel/helper-define-polyfill-provider" "^0.2.0" + semver "^6.1.1" + +babel-plugin-polyfill-corejs3@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.0.tgz#f4b4bb7b19329827df36ff56f6e6d367026cb7a2" + integrity sha512-zZyi7p3BCUyzNxLx8KV61zTINkkV65zVkDAFNZmrTCRVhjo1jAS+YLvDJ9Jgd/w2tsAviCwFHReYfxO3Iql8Yg== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.2.0" + core-js-compat "^3.9.1" + +babel-plugin-polyfill-regenerator@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.0.tgz#853f5f5716f4691d98c84f8069c7636ea8da7ab8" + integrity sha512-J7vKbCuD2Xi/eEHxquHN14bXAW9CXtecwuLrOIDJtcZzTaPzV1VdEfoUf9AzcRBMolKUQKM9/GVojeh0hFiqMg== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.2.0" + babel-plugin-react-intl@5.1.17: version "5.1.17" resolved "https://registry.yarnpkg.com/babel-plugin-react-intl/-/babel-plugin-react-intl-5.1.17.tgz#ba8cc0c61283fcc3d0e256427b457df9de2c89a8" @@ -4317,6 +5160,17 @@ browserslist@^4.0.0, browserslist@^4.11.1, browserslist@^4.6.4, browserslist@^4. node-releases "^1.1.53" pkg-up "^2.0.0" +browserslist@^4.14.5, browserslist@^4.16.4: + version "4.16.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.4.tgz#7ebf913487f40caf4637b892b268069951c35d58" + integrity sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ== + dependencies: + caniuse-lite "^1.0.30001208" + colorette "^1.2.2" + electron-to-chromium "^1.3.712" + escalade "^3.1.1" + node-releases "^1.1.71" + bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -4599,6 +5453,11 @@ caniuse-lite@^1.0.30001023: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001158.tgz#fce86d321369603c2bc855ee0e901a7f49f8310b" integrity sha512-s5loVYY+yKpuVA3HyW8BarzrtJvwHReuzugQXlv1iR3LKSReoFXRm86mT6hT7PEF5RxW+XQZg+6nYjlywYzQ+g== +caniuse-lite@^1.0.30001208: + version "1.0.30001214" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001214.tgz#70f153c78223515c6d37a9fde6cd69250da9d872" + integrity sha512-O2/SCpuaU3eASWVaesQirZv1MSjUNOvmugaD8zNSJqw6Vv5SGwoOpA9LJs3pNPfM745nxqPvfZY3MQKY4AKHYg== + canvas-fit@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/canvas-fit/-/canvas-fit-1.5.0.tgz#ae13be66ade42f5be0e487e345fce30a5e5b5e5f" @@ -4764,6 +5623,21 @@ chokidar@^3.3.0: optionalDependencies: fsevents "~2.1.2" +chokidar@^3.4.0: + version "3.5.1" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" + integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== + dependencies: + anymatch "~3.1.1" + braces "~3.0.2" + glob-parent "~5.1.0" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.5.0" + optionalDependencies: + fsevents "~2.3.1" + chownr@^1.0.1, chownr@^1.1.1, chownr@^1.1.2: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -5129,6 +6003,11 @@ color@^3.0.0: color-convert "^1.9.1" color-string "^1.5.2" +colorette@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" + integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== + colormap@^2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/colormap/-/colormap-2.3.2.tgz#4422c1178ce563806e265b96782737be85815abf" @@ -5158,7 +6037,7 @@ commander@2, commander@^2.11.0, commander@^2.15.1, commander@^2.18.0, commander@ resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^4.1.1: +commander@^4.0.1, commander@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== @@ -5371,7 +6250,7 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1, convert-source-map@^1.7.0: +convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1, convert-source-map@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== @@ -5450,6 +6329,14 @@ core-js-compat@^3.6.2: browserslist "^4.8.5" semver "7.0.0" +core-js-compat@^3.9.0, core-js-compat@^3.9.1: + version "3.10.2" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.10.2.tgz#0a675b4e1cde599616322a72c8886bcf696f3ec3" + integrity sha512-IGHnpuaM1N++gLSPI1F1wu3WXICPxSyj/Q++clcwsIOnUVp5uKUIPl/+6h0TQ112KU3fMiSxqJuM+OrCyKj5+A== + dependencies: + browserslist "^4.16.4" + semver "7.0.0" + core-js-pure@^3.0.0: version "3.6.5" resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.6.5.tgz#c79e75f5e38dbc85a662d91eea52b8256d53b813" @@ -6129,6 +7016,11 @@ date-fns@^1.27.2: resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== +debounce@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" + integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== + debug@2.6.9, debug@^2.1.3, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.8, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -6838,6 +7730,11 @@ earcut@^2.1.5, earcut@^2.2.2: resolved "https://registry.yarnpkg.com/earcut/-/earcut-2.2.2.tgz#41b0bc35f63e0fe80da7cddff28511e7e2e80d11" integrity sha512-eZoZPPJcUHnfRZ0PjLvx2qBordSiO8ofC3vt+qACLM95u+4DovnbYNpQtJh0DNsWj8RnxrQytD4WA8gj5cRIaQ== +easy-bem@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/easy-bem/-/easy-bem-1.1.1.tgz#1bfcc10425498090bcfddc0f9c000aba91399e03" + integrity sha512-GJRqdiy2h+EXy6a8E6R+ubmqUM08BK0FWNq41k24fup6045biQ8NXxoXimiwegMQvFFV3t1emADdGNL1TlS61A== + ecc-jsbn@~0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" @@ -6880,6 +7777,11 @@ electron-to-chromium@^1.3.413: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.432.tgz#3bf7b191978ff2e8bc3caf811bb52b1e9f9eab25" integrity sha512-/GdNhXyLP5Yl2322CUX/+Xi8NhdHBqL6lD9VJVKjH6CjoPGakvwZ5CpKgj/oOlbzuWWjOvMjDw1bBuAIRCNTlw== +electron-to-chromium@^1.3.712: + version "1.3.719" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.719.tgz#87166fee347a46a2557f19aadb40a1d68241e61c" + integrity sha512-heM78GKSqrIzO9Oz0/y22nTBN7bqSP1Pla2SyU9DiSnQD+Ea9SyyN5RWWlgqsqeBLNDkSlE9J9EHFmdMPzxB/g== + elegant-spinner@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" @@ -6979,6 +7881,11 @@ enhanced-resolve@^4.1.1: memory-fs "^0.5.0" tapable "^1.0.0" +enquire.js@^2.1.6: + version "2.1.6" + resolved "https://registry.yarnpkg.com/enquire.js/-/enquire.js-2.1.6.tgz#3e8780c9b8b835084c3f60e166dbc3c2a3c89814" + integrity sha1-PoeAybi4NQhMP2DhZtvDwqPImBQ= + enquirer@^2.3.4: version "2.3.5" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.5.tgz#3ab2b838df0a9d8ab9e7dff235b0e8712ef92381" @@ -7105,6 +8012,11 @@ es6-weak-map@^2.0.3: es6-iterator "^2.0.3" es6-symbol "^3.1.1" +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + escape-goat@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" @@ -8318,6 +9230,11 @@ fs-minipass@^2.0.0: dependencies: minipass "^3.0.0" +fs-readdir-recursive@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" + integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA== + fs-write-stream-atomic@^1.0.8: version "1.0.10" resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" @@ -8346,6 +9263,11 @@ fsevents@~2.1.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== +fsevents@~2.3.1: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + fstream@>=1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.12.tgz#4e8ba8ee2d48be4f7d0de505455548eae5932045" @@ -8404,6 +9326,11 @@ gensync@^1.0.0-beta.1: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + geojson-vt@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/geojson-vt/-/geojson-vt-3.2.1.tgz#f8adb614d2c1d3f6ee7c4265cad4bbf3ad60c8b7" @@ -11514,6 +12441,13 @@ json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= +json2mq@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/json2mq/-/json2mq-0.2.0.tgz#b637bd3ba9eabe122c83e9720483aeb10d2c904a" + integrity sha1-tje9O6nqvhIsg+lyBIOusQ0skEo= + dependencies: + string-convert "^0.2.0" + json3@^3.3.2: version "3.3.3" resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81" @@ -13156,6 +14090,11 @@ node-releases@^1.1.53: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.55.tgz#8af23b7c561d8e2e6e36a46637bab84633b07cee" integrity sha512-H3R3YR/8TjT5WPin/wOoHOUPHgvj8leuU/Keta/rwelEQN9pA/S2Dx8/se4pZ2LBxSd0nAGzsNzhqwa77v7F1w== +node-releases@^1.1.71: + version "1.1.71" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.71.tgz#cb1334b179896b1c89ecfdd4b725fb7bbdfc7dbb" + integrity sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg== + noop-logger@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/noop-logger/-/noop-logger-0.1.1.tgz#94a2b1633c4f1317553007d8966fd0e841b6a4c2" @@ -15234,7 +16173,7 @@ prop-types-exact@^1.2.0: object.assign "^4.1.0" reflect.ownkeys "^0.2.0" -prop-types@15.7.2, prop-types@15.x, prop-types@^15.5.0, prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@15.7.2, prop-types@15.x, prop-types@^15.5.0, prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.0, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -15692,6 +16631,18 @@ react-color@^2.18.1: reactcss "^1.2.0" tinycolor2 "^1.4.1" +react-color@~2.18.1: + version "2.18.1" + resolved "https://registry.yarnpkg.com/react-color/-/react-color-2.18.1.tgz#2cda8cc8e06a9e2c52ad391a30ddad31972472f4" + integrity sha512-X5XpyJS6ncplZs74ak0JJoqPi+33Nzpv5RYWWxn17bslih+X7OlgmfpmGC1fNvdkK7/SGWYf1JJdn7D2n5gSuQ== + dependencies: + "@icons/material" "^0.2.4" + lodash "^4.17.11" + material-colors "^1.2.1" + prop-types "^15.5.10" + reactcss "^1.2.0" + tinycolor2 "^1.4.1" + react-component-queries@2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/react-component-queries/-/react-component-queries-2.3.0.tgz#e2e92c5c49e21254ad496d31a3d3edeebc927777" @@ -15860,6 +16811,16 @@ react-image-gallery@^1.0.7: react-swipeable "^5.2.0" resize-observer-polyfill "^1.5.0" +react-indiana-drag-scroll@^1.6.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/react-indiana-drag-scroll/-/react-indiana-drag-scroll-1.8.1.tgz#495cb86b5ec064b28ebb9b8f01f8b49a27713a7e" + integrity sha512-jUunh472mcH1YRUfSjw/A+Wxb/eA3ilBvb5YQCkHwjaZ51NR1r08kiYcGuqb0xd2B8p7ZVxow6eEkD3EUEIM1Q== + dependencies: + classnames "^2.2.6" + debounce "^1.2.0" + easy-bem "^1.0.0" + prop-types "^15.7.0" + react-input-autosize@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/react-input-autosize/-/react-input-autosize-3.0.0.tgz#6b5898c790d4478d69420b55441fcc31d5c50a85" @@ -16092,6 +17053,17 @@ react-sizeme@3.0.1: shallowequal "^1.1.0" throttle-debounce "^3.0.1" +react-slick@^0.24.0: + version "0.24.0" + resolved "https://registry.yarnpkg.com/react-slick/-/react-slick-0.24.0.tgz#1a4e078a82de4e9458255d9ce26aa6f3b17b168b" + integrity sha512-Pvo0B74ohumQdYOf0qP+pdQpj9iUbAav7+2qiF3uTc5XeQp/Y/cnIeDBM2tB3txthfSe05jKIqLMJTS6qVvt5g== + dependencies: + classnames "^2.2.5" + enquire.js "^2.1.6" + json2mq "^0.2.0" + lodash.debounce "^4.0.8" + resize-observer-polyfill "^1.5.0" + react-swipeable@^5.2.0: version "5.5.1" resolved "https://registry.yarnpkg.com/react-swipeable/-/react-swipeable-5.5.1.tgz#48ae6182deaf62f21d4b87469b60281dbd7c4a76" @@ -16325,6 +17297,13 @@ readdirp@~3.4.0: dependencies: picomatch "^2.2.1" +readdirp@~3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e" + integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== + dependencies: + picomatch "^2.2.1" + realpath-native@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c" @@ -16515,6 +17494,18 @@ regexpu-core@^4.7.0: unicode-match-property-ecmascript "^1.0.4" unicode-match-property-value-ecmascript "^1.2.0" +regexpu-core@^4.7.1: + version "4.7.1" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.7.1.tgz#2dea5a9a07233298fbf0db91fa9abc4c6e0f8ad6" + integrity sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ== + dependencies: + regenerate "^1.4.0" + regenerate-unicode-properties "^8.2.0" + regjsgen "^0.5.1" + regjsparser "^0.6.4" + unicode-match-property-ecmascript "^1.0.4" + unicode-match-property-value-ecmascript "^1.2.0" + registry-auth-token@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.1.1.tgz#40a33be1e82539460f94328b0f7f0f84c16d9479" @@ -16905,7 +17896,7 @@ resolve@^0.6.1: resolved "https://registry.yarnpkg.com/resolve/-/resolve-0.6.3.tgz#dd957982e7e736debdf53b58a4dd91754575dd46" integrity sha1-3ZV5gufnNt699TtYpN2RdUV13UY= -resolve@^1.0.0, resolve@^1.1.5: +resolve@^1.0.0, resolve@^1.1.5, resolve@^1.14.2: version "1.20.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -17337,7 +18328,7 @@ semver@7.3.2, semver@^7.3.2: resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== -semver@^6.0.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: +semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -17702,6 +18693,11 @@ slice-ansi@^4.0.0: astral-regex "^2.0.0" is-fullwidth-code-point "^3.0.0" +slick-carousel@^1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/slick-carousel/-/slick-carousel-1.8.1.tgz#a4bfb29014887bb66ce528b90bd0cda262cc8f8d" + integrity sha512-XB9Ftrf2EEKfzoQXt3Nitrt/IPbT+f1fgqBdoxO3W/+JYvtEOW6EgxnWfr9GH6nmULv7Y2tPmEX3koxThVmebA== + snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -18092,6 +19088,11 @@ string-argv@0.3.1: resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== +string-convert@^0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/string-convert/-/string-convert-0.2.1.tgz#6982cc3049fbb4cd85f8b24568b9d9bf39eeff97" + integrity sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c= + string-hash@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b"