@kando-env/kando-ui 1.0.40-alpha.1 → 1.0.40-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Router.js +51 -21
- package/lib/components/Breadcrumbs/Breadcrumbs.js +43 -0
- package/lib/{shared/components → components}/Breadcrumbs/index.js +1 -1
- package/lib/components/ContentLoader/ContentLoader.js +72 -0
- package/lib/{shared/components → components}/ContentLoader/index.js +1 -1
- package/lib/components/DamageType/DamageType.js +264 -0
- package/lib/{shared/components → components}/DamageType/index.js +1 -1
- package/lib/components/DataLoaderError/DataLoaderError.js +32 -0
- package/lib/components/DischargeHeatmap/DischargeHeatmap.js +219 -0
- package/lib/{shared/components → components}/DischargeHeatmap/index.js +1 -1
- package/lib/components/DoubleTabs/DoubleTabs.js +45 -0
- package/lib/components/DoubleTabs/DoubleTabs.stories.js +31 -0
- package/lib/components/DoubleTabs/styles.js +32 -0
- package/lib/components/ErrorBoundary.js +67 -0
- package/lib/components/Events/Events.js +237 -0
- package/lib/{shared/components → components}/Events/index.js +1 -1
- package/lib/components/Graph/Graph.js +211 -0
- package/lib/{shared/components → components}/Graph/index.js +1 -1
- package/lib/components/Header/DoubleTabs/DoubleTabs.js +96 -0
- package/lib/components/Header/DoubleTabs/DoubleTabs.stories.js +31 -0
- package/lib/components/Header/DoubleTabs/styles.js +32 -0
- package/lib/components/Header/Header.js +21 -0
- package/lib/components/Header/Header.stories.js +29 -0
- package/lib/components/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +37 -0
- package/lib/components/Header/InfoBar/InfoBar.js +88 -0
- package/lib/components/Header/Toolbar/Toolbar.js +117 -0
- package/lib/components/InfoBar/InfoBar.js +76 -0
- package/lib/components/InfoBar/InfoBar.stories.js +32 -0
- package/lib/components/KandoModal/KandoModal.js +121 -0
- package/lib/{shared/components → components}/KandoModal/index.js +1 -1
- package/lib/components/KandoNavbar/KandoNavbar.js +297 -0
- package/lib/{shared/components → components}/KandoNavbar/NavbarStyle.scss +3 -3
- package/lib/{shared/components → components}/KandoNavbar/index.js +1 -1
- package/lib/components/LiveEvents/CarouselSlide.js +65 -0
- package/lib/components/LiveEvents/LiveEvents.js +59 -0
- package/lib/{shared/components → components}/LiveEvents/index.js +1 -1
- package/lib/components/LoaderByPercent/LoaderByPercent.js +51 -0
- package/lib/components/Map/Map.js +94 -0
- package/lib/{shared/components → components}/Map/index.js +1 -1
- package/lib/{shared/components → components}/NarrowHeader.js +1 -1
- package/lib/components/PasswordInput/PasswordInput.js +54 -0
- package/lib/components/PointInfo/PointInfo.js +84 -0
- package/lib/{shared/components → components}/PointInfo/index.js +1 -1
- package/lib/components/PopupModal/PopupModal.js +55 -0
- package/lib/components/PopupModal/PopupModal.stories.js +53 -0
- package/lib/components/PrimaryButton/PrimaryButton.js +21 -0
- package/lib/components/Search/Search.js +152 -0
- package/lib/{shared/components → components}/Search/index.js +1 -1
- package/lib/components/Sector/Sector.js +198 -0
- package/lib/{shared/components → components}/Sector/index.js +1 -1
- package/lib/components/Select/Select.js +101 -0
- package/lib/components/Select/Select.stories.js +48 -0
- package/lib/components/Spinner/Spinner.js +29 -0
- package/lib/components/Spinner/Spinner.stories.js +39 -0
- package/lib/{shared/components → components}/Spinner/index.js +1 -1
- package/lib/components/Spinner/styles.js +44 -0
- package/lib/components/TimeRangeSelector/TimeRangeSelector.js +118 -0
- package/lib/components/TimeRangeSelector/TimeRangeSelector.stories.js +36 -0
- package/lib/components/TimeRangeSelector/constants.js +9 -0
- package/lib/{shared → components}/TimeRangeSelector/index.js +1 -1
- package/lib/{shared/components → components}/Toggle/Toggle.js +1 -1
- package/lib/{shared/components → components}/Toggle/index.js +1 -1
- package/lib/components/TrendGraph/TrendGraph.js +215 -0
- package/lib/{shared/components → components}/TrendGraph/index.js +1 -1
- package/lib/components/TrendGraphNVL/TrendGraphNVL.js +168 -0
- package/lib/{shared/components → components}/TrendGraphNVL/index.js +1 -1
- package/lib/development-environment/index.js +50 -0
- package/lib/development-environment/mock/browser.js +21 -0
- package/lib/development-environment/mock/get.js +21 -0
- package/lib/development-environment/mock/handlers.js +52 -0
- package/lib/development-environment/mock/mockBus.js +24 -0
- package/lib/development-environment/mock/mockObjects/area-trends-graph.js +14 -0
- package/lib/development-environment/mock/mockObjects/areaInformation.js +63 -0
- package/lib/development-environment/mock/mockObjects/areaQualitySummary.js +31 -0
- package/lib/development-environment/mock/mockObjects/areaSitesData.js +409 -0
- package/lib/development-environment/mock/mockObjects/areasJson.js +399 -0
- package/lib/development-environment/mock/mockObjects/controlRoomNetworkEdges.js +2839 -0
- package/lib/development-environment/mock/mockObjects/covidView-areasData-24.js +54 -0
- package/lib/development-environment/mock/mockObjects/data-menuData.js +518 -0
- package/lib/development-environment/mock/mockObjects/data-search.js +436 -0
- package/lib/development-environment/mock/mockObjects/discharge_effluent_quality.js +27 -0
- package/lib/development-environment/mock/mockObjects/discharge_pattern_overtime.js +11 -0
- package/lib/development-environment/mock/mockObjects/eventFiltersJson.js +278 -0
- package/lib/development-environment/mock/mockObjects/eventsJson.js +2240 -0
- package/lib/development-environment/mock/mockObjects/metascore.js +19 -0
- package/lib/development-environment/mock/mockObjects/pointsJson.js +6021 -0
- package/lib/development-environment/mock/mockObjects/trend-graph-component-data-907.js +14 -0
- package/lib/development-environment/togly/ToglyDashboard.js +73 -0
- package/lib/development-environment/togly/ToglyItem.js +89 -0
- package/lib/development-environment/togly/flags.js +8 -0
- package/lib/development-environment/togly/init.js +16 -0
- package/lib/development-environment/togly/macro.js +39 -0
- package/lib/development-environment/togly/useDoubleKeyDown.js +38 -0
- package/lib/development-environment/togly/useLocalStorage.js +42 -0
- package/lib/hooks/useApi.js +94 -0
- package/lib/hooks/useApiWithDashboardQuery.js +66 -0
- package/lib/hooks/useClickOutside.js +27 -0
- package/lib/hooks/useKandoFetch.js +83 -0
- package/lib/hooks/useMap.js +163 -0
- package/lib/hooks/useQueryURL.js +16 -0
- package/lib/hooks/useRemoveExistingLayers.js +37 -0
- package/lib/hooks/useUpdateEventBodyTail.js +63 -0
- package/lib/hooks/useWindowSize.js +48 -0
- package/lib/{shared/utilities/i18n → i18n}/en.json +30 -2
- package/lib/index.js +10 -4
- package/lib/macros/getVersion.js +2 -2
- package/lib/pages/AreaPage/AreaPage.js +122 -0
- package/lib/pages/AreaPage/Dashboard/Dashboard.js +97 -0
- package/lib/pages/AreaPage/Dashboard/EventsCarousel/EventsCarousel.js +107 -0
- package/lib/pages/AreaPage/Dashboard/LineChart/LineChart.js +82 -0
- package/lib/pages/AreaPage/Dashboard/LineChart/options/options.js +102 -0
- package/lib/pages/AreaPage/Dashboard/Sites/Sites.js +128 -0
- package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/PieChart/PieChart.js +123 -0
- package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/SiteBox.js +58 -0
- package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/styles.js +26 -0
- package/lib/{DashboardV2/AreaDashboard → pages/AreaPage}/Dashboard/Sites/factories.mock.js +1 -1
- package/lib/pages/AreaPage/Dashboard/Sites/styles.js +25 -0
- package/lib/pages/CovidPage/CovidPage.js +47 -0
- package/lib/pages/CovidPage/components/Body.js +104 -0
- package/lib/pages/CovidPage/components/Map.js +144 -0
- package/lib/pages/CovidPage/components/Sidebar.js +69 -0
- package/lib/pages/CovidPage/components/Summary.js +142 -0
- package/lib/pages/CovidPage/components/TrendGraphNVL/TrendGraphNVL.js +177 -0
- package/lib/{CovidView/views → pages/CovidPage}/components/TrendGraphNVL/index.js +1 -1
- package/lib/pages/CovidPage/components/TrendPopupContent/TrendPopupContent.js +157 -0
- package/lib/{CovidView/views → pages/CovidPage}/components/TrendPopupContent/index.js +1 -1
- package/lib/pages/CovidPage/components/areas/Area.js +182 -0
- package/lib/pages/CovidPage/components/areas/AreaPolygonWBE.js +266 -0
- package/lib/pages/CovidPage/components/areas/AreaPolygonsWBE.js +82 -0
- package/lib/pages/CovidPage/components/areas/AreasList.js +124 -0
- package/lib/{CovidView/views → pages/CovidPage}/components/areas/AreasStyle.scss +0 -16
- package/lib/pages/CovidPage/components/areas/Sort.js +60 -0
- package/lib/pages/EventsPage/EventsPage.js +47 -0
- package/lib/pages/EventsPage/components/Body.js +81 -0
- package/lib/pages/EventsPage/components/areas/AreaPolygon.js +54 -0
- package/lib/pages/EventsPage/components/areas/AreaPolygons.js +64 -0
- package/lib/pages/EventsPage/components/edges/Edge.js +76 -0
- package/lib/pages/EventsPage/components/edges/Edges.js +51 -0
- package/lib/pages/EventsPage/components/events/EventIndicator.js +275 -0
- package/lib/pages/EventsPage/components/events/EventPath.js +95 -0
- package/lib/{EventsView/views → pages/EventsPage}/components/events/EventsStyle.scss +0 -15
- package/lib/pages/EventsPage/components/events/MoreInfo.js +73 -0
- package/lib/pages/EventsPage/components/events/Sidebar.js +63 -0
- package/lib/pages/EventsPage/components/events/event_info/EarlyWarnings.js +150 -0
- package/lib/pages/EventsPage/components/events/event_info/EventDetails.js +101 -0
- package/lib/pages/EventsPage/components/events/event_info/EventInfo.js +137 -0
- package/lib/pages/EventsPage/components/events/event_info/EventTimeRange.js +153 -0
- package/lib/pages/EventsPage/components/events/event_info/HistoricalInformation.js +45 -0
- package/lib/pages/EventsPage/components/events/event_info/MiniEventTree.js +117 -0
- package/lib/pages/EventsPage/components/events/event_info/MobileEventPath.js +40 -0
- package/lib/pages/EventsPage/components/events/event_info/PollutionDischarge.js +66 -0
- package/lib/pages/EventsPage/components/events/event_info/charts/EventDetailsLineChart.js +76 -0
- package/lib/pages/EventsPage/components/events/event_info/charts/EventDetailsPieChart.js +122 -0
- package/lib/pages/EventsPage/components/events/event_info/damage_type/DamageType.js +111 -0
- package/lib/pages/EventsPage/components/events/event_info/samplings/Sampling.js +30 -0
- package/lib/pages/EventsPage/components/events/event_info/samplings/Samplings.js +37 -0
- package/lib/pages/EventsPage/components/events/event_info/sources/Source.js +119 -0
- package/lib/pages/EventsPage/components/events/event_info/sources/Sources.js +47 -0
- package/lib/pages/EventsPage/components/events/events_list/EventItem.js +140 -0
- package/lib/pages/EventsPage/components/events/events_list/EventsList.js +299 -0
- package/lib/pages/EventsPage/components/events/events_list/Filter/Filter.js +138 -0
- package/lib/pages/EventsPage/components/events/events_list/Filter/FilterContainer.js +389 -0
- package/lib/pages/EventsPage/components/events/events_list/Filter/FilterItem.js +211 -0
- package/lib/pages/EventsPage/components/events/events_list/Filter/FiltersDropDown.js +69 -0
- package/lib/pages/EventsPage/components/events/events_list/Filter/OptionsDropDown.js +140 -0
- package/lib/pages/EventsPage/components/events/events_list/Sort.js +93 -0
- package/lib/pages/EventsPage/components/map/FloatingGraph.js +78 -0
- package/lib/pages/EventsPage/components/map/Map.js +176 -0
- package/lib/pages/EventsPage/components/map/Map.stories.js +31 -0
- package/lib/pages/EventsPage/components/points/PointMarker.js +455 -0
- package/lib/pages/EventsPage/components/points/PointMarkers.js +31 -0
- package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/MultiChoiceTabs.js +69 -0
- package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/RadioTabs.js +49 -0
- package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/EditNotificationModal/Buttons/SeverityButtons.js +7 -5
- package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.js +229 -0
- package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.stories.js +33 -0
- package/lib/pages/NotificationsPage/Notification/Notification.js +95 -0
- package/lib/pages/NotificationsPage/Notifications.mock.js +45 -0
- package/lib/pages/NotificationsPage/Notifications.stories.js +38 -0
- package/lib/pages/NotificationsPage/NotificationsPage.js +98 -0
- package/lib/pages/ProfilePage/PasswordModal/PasswordModal.js +99 -0
- package/lib/pages/ProfilePage/ProfilePage.js +225 -0
- package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.js +53 -0
- package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.stories.js +27 -0
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +30 -0
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +41 -0
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +42 -0
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersContainer.js +63 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +69 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +42 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +48 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +103 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/SamplingContainer.js +38 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingParameters.js +131 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingParameters.mock.js +973 -0
- package/lib/pages/SitePage/SamplingParameters/SamplingParameters.stories.js +173 -0
- package/lib/pages/SitePage/SamplingParameters/charts/ParametersChart.js +58 -0
- package/lib/{DashboardV2 → pages/SitePage}/SamplingParameters/charts/SamplingChart.js +1 -1
- package/lib/pages/SitePage/SamplingParameters/charts/options/options.js +233 -0
- package/lib/pages/SitePage/SamplingParameters/dataParser.js +109 -0
- package/lib/pages/SitePage/SamplingParameters/styles/samplingParameters.js +32 -0
- package/lib/pages/SitePage/SamplingParameters/styles/styles.js +35 -0
- package/lib/pages/SitePage/SitePage.js +361 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/AreaBox.js +128 -0
- package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Areas/AreaBox/Map/Map.js +3 -3
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +130 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/styles.js +31 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/Areas.js +160 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/areas.mock.js +575 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/styles.js +25 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/EmptyState/EmptyState.js +57 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/Factories.js +196 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/FactoryBox.js +53 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +123 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/styles.js +26 -0
- package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Factories/factories.mock.js +1 -1
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/styles.js +25 -0
- package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/MostPolluting.js +2 -2
- package/lib/pages/UtilityDashboardPage/MostPolluting/MostPolluting.stories.js +117 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/ShowMore.js +32 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/styles.js +21 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.js +81 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.stories.js +38 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/factory.svg +31 -0
- package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/assets/index.js +34 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-areas.svg +24 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-collector.svg +66 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-wwtp.svg +34 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/components/ChangePercent.js +50 -0
- package/lib/pages/UtilityDashboardPage/MostPolluting/styles.js +25 -0
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.js +125 -0
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.stories.js +384 -0
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.js +54 -0
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.stories.js +27 -0
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/Eta.js +175 -0
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/styles.js +24 -0
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/SevereEvent.js +102 -0
- package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/Back/Back.js +34 -0
- package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/MostCommon.js +85 -0
- package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/styles.js +81 -0
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +44 -0
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/PieChart.js +155 -0
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PollutedLine/PollutedLine.js +69 -0
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/QualitySummary.js +95 -0
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/qualitySummary.mock.js +30 -0
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/styles.js +63 -0
- package/lib/pages/UtilityDashboardPage/TopBar/TopBar.js +34 -0
- package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/UtilityInformation.js +95 -0
- package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/styles.js +61 -0
- package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/utilityInformation.mock.js +15 -0
- package/lib/pages/UtilityDashboardPage/TopBar/styles.js +18 -0
- package/lib/pages/UtilityDashboardPage/UtilityDashboard.js +89 -0
- package/lib/pages/UtilityDashboardPage/UtilityDashboard.stories.js +141 -0
- package/lib/pages/UtilityDashboardPage/UtilityDashboardPage.js +57 -0
- package/lib/store/WBE/actionTypes.js +9 -0
- package/lib/store/WBE/actions.js +16 -0
- package/lib/store/WBE/reducer.js +37 -0
- package/lib/store/areas/actionTypes.js +13 -0
- package/lib/store/areas/actions.js +41 -0
- package/lib/store/areas/reducer.js +55 -0
- package/lib/store/context/actionTypes.js +9 -0
- package/lib/store/context/actions.js +16 -0
- package/lib/store/context/reducer.js +37 -0
- package/lib/store/dashboard/dashboardSlice.js +24 -0
- package/lib/store/edges/actionTypes.js +15 -0
- package/lib/store/edges/actions.js +49 -0
- package/lib/store/edges/reducer.js +81 -0
- package/lib/store/events/actionTypes.js +29 -0
- package/lib/store/events/actions.js +113 -0
- package/lib/store/events/reducer.js +197 -0
- package/lib/store/global/actionTypes.js +25 -0
- package/lib/store/global/actions.js +97 -0
- package/lib/store/global/reducer.js +92 -0
- package/lib/store/points/actionTypes.js +11 -0
- package/lib/store/points/actions.js +33 -0
- package/lib/store/points/models/IPointsState.js +6 -0
- package/lib/store/points/reducer.js +36 -0
- package/lib/store/rootActionTypes.js +9 -0
- package/lib/store/rootActions.js +15 -0
- package/lib/store/rootReducer.js +57 -0
- package/lib/store/rootStore.js +51 -0
- package/lib/styles.scss +133 -4
- package/lib/utilities/ActionUtility.js +18 -0
- package/lib/utilities/ErrorBoundary.js +73 -0
- package/lib/{shared/utilities → utilities}/KandoDate.js +1 -1
- package/lib/{shared/utilities → utilities}/KandoModal.js +1 -1
- package/lib/utilities/LocalStorage.js +49 -0
- package/lib/utilities/TimeFormat.js +71 -0
- package/lib/utilities/Truncate.js +83 -0
- package/lib/utilities/i18n.js +74 -0
- package/lib/utilities/kql.js +53 -0
- package/lib/utilities/time.js +22 -0
- package/package.json +10 -8
- package/lib/CovidView/views/components/Body.js +0 -104
- package/lib/CovidView/views/components/Map.js +0 -144
- package/lib/CovidView/views/components/Sidebar.js +0 -69
- package/lib/CovidView/views/components/Summary.js +0 -142
- package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +0 -177
- package/lib/CovidView/views/components/TrendPopupContent/TrendPopupContent.js +0 -157
- package/lib/CovidView/views/components/areas/Area.js +0 -182
- package/lib/CovidView/views/components/areas/AreaPolygonWBE.js +0 -266
- package/lib/CovidView/views/components/areas/AreaPolygonsWBE.js +0 -82
- package/lib/CovidView/views/components/areas/AreasList.js +0 -124
- package/lib/CovidView/views/components/areas/Sort.js +0 -60
- package/lib/CovidView/views/covidView.js +0 -47
- package/lib/DashboardV2/AreaDashboard/AreaDashboard.js +0 -129
- package/lib/DashboardV2/AreaDashboard/Dashboard/Dashboard.js +0 -89
- package/lib/DashboardV2/AreaDashboard/Dashboard/EventsCarousel/EventsCarousel.js +0 -107
- package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/LineChart.js +0 -68
- package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/options/options.js +0 -103
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/Sites.js +0 -121
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/PieChart/PieChart.js +0 -123
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/SiteBox.js +0 -58
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/styles.js +0 -26
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/styles.js +0 -25
- package/lib/DashboardV2/AreaDashboard.js +0 -119
- package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.js +0 -96
- package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.stories.js +0 -31
- package/lib/DashboardV2/Header/DoubleTabs/styles.js +0 -32
- package/lib/DashboardV2/Header/Header.js +0 -21
- package/lib/DashboardV2/Header/Header.stories.js +0 -29
- package/lib/DashboardV2/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +0 -37
- package/lib/DashboardV2/Header/InfoBar/InfoBar.js +0 -88
- package/lib/DashboardV2/Header/Toolbar/Toolbar.js +0 -117
- package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/MultiChoiceTabs.js +0 -67
- package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/RadioTabs.js +0 -49
- package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.js +0 -229
- package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.stories.js +0 -33
- package/lib/DashboardV2/Notifications/Notification/Notification.js +0 -93
- package/lib/DashboardV2/Notifications/Notifications.js +0 -100
- package/lib/DashboardV2/Notifications/Notifications.mock.js +0 -45
- package/lib/DashboardV2/Notifications/Notifications.stories.js +0 -38
- package/lib/DashboardV2/Profile/PasswordModal/PasswordModal.js +0 -99
- package/lib/DashboardV2/Profile/Profile.js +0 -225
- package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +0 -53
- package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.stories.js +0 -27
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +0 -30
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +0 -41
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +0 -42
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersContainer.js +0 -63
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +0 -69
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +0 -42
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +0 -48
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +0 -103
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +0 -38
- package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +0 -131
- package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +0 -973
- package/lib/DashboardV2/SamplingParameters/SamplingParameters.stories.js +0 -173
- package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +0 -58
- package/lib/DashboardV2/SamplingParameters/charts/options/options.js +0 -233
- package/lib/DashboardV2/SamplingParameters/dataParser.js +0 -109
- package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +0 -32
- package/lib/DashboardV2/SamplingParameters/styles/styles.js +0 -35
- package/lib/DashboardV2/SiteDashboard.js +0 -365
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +0 -124
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +0 -130
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +0 -31
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/Areas.js +0 -152
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/areas.mock.js +0 -575
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +0 -25
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/Factories.js +0 -188
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +0 -49
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +0 -123
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +0 -26
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/styles.js +0 -25
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +0 -117
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/ShowMore.js +0 -32
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +0 -21
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +0 -81
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.stories.js +0 -38
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/components/ChangePercent.js +0 -50
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +0 -25
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +0 -125
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +0 -384
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +0 -54
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +0 -27
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/Eta.js +0 -182
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/styles.js +0 -24
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +0 -102
- package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/Back/Back.js +0 -34
- package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +0 -85
- package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/styles.js +0 -81
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +0 -44
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +0 -155
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +0 -69
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +0 -93
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/qualitySummary.mock.js +0 -30
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/styles.js +0 -63
- package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +0 -30
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +0 -94
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +0 -61
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/utilityInformation.mock.js +0 -15
- package/lib/DashboardV2/UtilityDashboard/TopBar/styles.js +0 -18
- package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.js +0 -89
- package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +0 -141
- package/lib/DashboardV2/WaterAuthorityDashboard.js +0 -60
- package/lib/DashboardV2/index.js +0 -32
- package/lib/DashboardV2/styles.scss +0 -128
- package/lib/DashboardV2/useApiWithDashboardQuery.js +0 -66
- package/lib/EventsView/views/components/Body.js +0 -81
- package/lib/EventsView/views/components/areas/AreaPolygon.js +0 -54
- package/lib/EventsView/views/components/areas/AreaPolygons.js +0 -64
- package/lib/EventsView/views/components/edges/Edge.js +0 -76
- package/lib/EventsView/views/components/edges/Edges.js +0 -51
- package/lib/EventsView/views/components/events/EventIndicator.js +0 -275
- package/lib/EventsView/views/components/events/EventPath.js +0 -95
- package/lib/EventsView/views/components/events/MoreInfo.js +0 -73
- package/lib/EventsView/views/components/events/Sidebar.js +0 -63
- package/lib/EventsView/views/components/events/event_info/EarlyWarnings.js +0 -150
- package/lib/EventsView/views/components/events/event_info/EventDetails.js +0 -101
- package/lib/EventsView/views/components/events/event_info/EventInfo.js +0 -137
- package/lib/EventsView/views/components/events/event_info/EventTimeRange.js +0 -153
- package/lib/EventsView/views/components/events/event_info/HistoricalInformation.js +0 -45
- package/lib/EventsView/views/components/events/event_info/MiniEventTree.js +0 -117
- package/lib/EventsView/views/components/events/event_info/MobileEventPath.js +0 -40
- package/lib/EventsView/views/components/events/event_info/PollutionDischarge.js +0 -66
- package/lib/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +0 -76
- package/lib/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +0 -122
- package/lib/EventsView/views/components/events/event_info/damage_type/DamageType.js +0 -111
- package/lib/EventsView/views/components/events/event_info/samplings/Sampling.js +0 -30
- package/lib/EventsView/views/components/events/event_info/samplings/Samplings.js +0 -37
- package/lib/EventsView/views/components/events/event_info/sources/Source.js +0 -119
- package/lib/EventsView/views/components/events/event_info/sources/Sources.js +0 -47
- package/lib/EventsView/views/components/events/events_list/EventItem.js +0 -140
- package/lib/EventsView/views/components/events/events_list/EventsList.js +0 -299
- package/lib/EventsView/views/components/events/events_list/Filter/Filter.js +0 -138
- package/lib/EventsView/views/components/events/events_list/Filter/FilterContainer.js +0 -389
- package/lib/EventsView/views/components/events/events_list/Filter/FilterItem.js +0 -211
- package/lib/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +0 -69
- package/lib/EventsView/views/components/events/events_list/Filter/OptionsDropDown.js +0 -140
- package/lib/EventsView/views/components/events/events_list/Sort.js +0 -93
- package/lib/EventsView/views/components/map/FloatingGraph.js +0 -78
- package/lib/EventsView/views/components/map/Map.js +0 -176
- package/lib/EventsView/views/components/map/Map.stories.js +0 -31
- package/lib/EventsView/views/components/points/PointMarker.js +0 -455
- package/lib/EventsView/views/components/points/PointMarkers.js +0 -31
- package/lib/EventsView/views/eventsView.js +0 -48
- package/lib/shared/TimeRangeSelector/TimeRangeSelector.js +0 -118
- package/lib/shared/TimeRangeSelector/TimeRangeSelector.stories.js +0 -36
- package/lib/shared/TimeRangeSelector/constants.js +0 -9
- package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +0 -43
- package/lib/shared/components/ContentLoader/ContentLoader.js +0 -72
- package/lib/shared/components/DamageType/DamageType.js +0 -264
- package/lib/shared/components/DataLoaderError/DataLoaderError.js +0 -32
- package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +0 -219
- package/lib/shared/components/DoubleTabs/DoubleTabs.js +0 -45
- package/lib/shared/components/DoubleTabs/DoubleTabs.stories.js +0 -31
- package/lib/shared/components/DoubleTabs/styles.js +0 -32
- package/lib/shared/components/ErrorBoundary.js +0 -67
- package/lib/shared/components/Events/Events.js +0 -237
- package/lib/shared/components/Graph/Graph.js +0 -211
- package/lib/shared/components/InfoBar/InfoBar.js +0 -76
- package/lib/shared/components/InfoBar/InfoBar.stories.js +0 -32
- package/lib/shared/components/KandoModal/KandoModal.js +0 -121
- package/lib/shared/components/KandoNavbar/KandoNavbar.js +0 -297
- package/lib/shared/components/LiveEvents/CarouselSlide.js +0 -65
- package/lib/shared/components/LiveEvents/LiveEvents.js +0 -59
- package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +0 -51
- package/lib/shared/components/Map/Map.js +0 -94
- package/lib/shared/components/PasswordInput/PasswordInput.js +0 -54
- package/lib/shared/components/PointInfo/PointInfo.js +0 -84
- package/lib/shared/components/PopupModal/PopupModal.js +0 -55
- package/lib/shared/components/PopupModal/PopupModal.stories.js +0 -53
- package/lib/shared/components/PrimaryButton/PrimaryButton.js +0 -21
- package/lib/shared/components/Search/Search.js +0 -152
- package/lib/shared/components/Sector/Sector.js +0 -198
- package/lib/shared/components/Select/Select.js +0 -101
- package/lib/shared/components/Select/Select.stories.js +0 -48
- package/lib/shared/components/Spinner/Spinner.js +0 -28
- package/lib/shared/components/Spinner/Spinner.stories.js +0 -39
- package/lib/shared/components/Spinner/styles.js +0 -44
- package/lib/shared/components/TrendGraph/TrendGraph.js +0 -215
- package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +0 -168
- package/lib/shared/helpers/kql.js +0 -53
- package/lib/shared/helpers/time.js +0 -22
- package/lib/shared/redux/WBE/actionTypes.js +0 -9
- package/lib/shared/redux/WBE/actions.js +0 -16
- package/lib/shared/redux/WBE/reducer.js +0 -37
- package/lib/shared/redux/areas/actionTypes.js +0 -13
- package/lib/shared/redux/areas/actions.js +0 -41
- package/lib/shared/redux/areas/reducer.js +0 -55
- package/lib/shared/redux/context/actionTypes.js +0 -9
- package/lib/shared/redux/context/actions.js +0 -16
- package/lib/shared/redux/context/reducer.js +0 -37
- package/lib/shared/redux/dashboard/dashboardSlice.js +0 -24
- package/lib/shared/redux/edges/actionTypes.js +0 -15
- package/lib/shared/redux/edges/actions.js +0 -49
- package/lib/shared/redux/edges/reducer.js +0 -81
- package/lib/shared/redux/events/actionTypes.js +0 -29
- package/lib/shared/redux/events/actions.js +0 -113
- package/lib/shared/redux/events/reducer.js +0 -197
- package/lib/shared/redux/global/actionTypes.js +0 -25
- package/lib/shared/redux/global/actions.js +0 -97
- package/lib/shared/redux/global/reducer.js +0 -92
- package/lib/shared/redux/points/actionTypes.js +0 -11
- package/lib/shared/redux/points/actions.js +0 -33
- package/lib/shared/redux/points/reducer.js +0 -36
- package/lib/shared/redux/rootActionTypes.js +0 -9
- package/lib/shared/redux/rootActions.js +0 -15
- package/lib/shared/redux/rootReducer.js +0 -57
- package/lib/shared/redux/rootStore.js +0 -51
- package/lib/shared/utilities/ActionUtility.js +0 -18
- package/lib/shared/utilities/ErrorBoundary.js +0 -73
- package/lib/shared/utilities/LocalStorage.js +0 -49
- package/lib/shared/utilities/TimeFormat.js +0 -71
- package/lib/shared/utilities/Truncate.js +0 -76
- package/lib/shared/utilities/custom_hooks/useApi.js +0 -94
- package/lib/shared/utilities/custom_hooks/useClickOutside.js +0 -27
- package/lib/shared/utilities/custom_hooks/useKandoFetch.js +0 -83
- package/lib/shared/utilities/custom_hooks/useMap.js +0 -150
- package/lib/shared/utilities/custom_hooks/useQueryURL.js +0 -16
- package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +0 -35
- package/lib/shared/utilities/custom_hooks/useUpdateEventBodyTail.js +0 -63
- package/lib/shared/utilities/custom_hooks/useWindowSize.js +0 -48
- package/lib/shared/utilities/i18n/en.yml +0 -3266
- package/lib/shared/utilities/i18n/fr.yml +0 -2621
- package/lib/shared/utilities/i18n/he.yml +0 -3237
- package/lib/shared/utilities/i18n/index.js +0 -25
- package/lib/shared/utilities/i18n/it.yml +0 -2644
- package/lib/shared/utilities/i18n.js +0 -74
- /package/lib/{fonts → assets/fonts}/Gilroy-ExtraBold.otf +0 -0
- /package/lib/{fonts → assets/fonts}/Gilroy-Light.otf +0 -0
- /package/lib/{fonts → assets/fonts}/Gilroy-Regular.otf +0 -0
- /package/lib/{fonts → assets/fonts}/Gilroy-SemiBold.otf +0 -0
- /package/lib/{shared/components → components}/Breadcrumbs/styles.scss +0 -0
- /package/lib/{shared/components → components}/DamageType/styles.scss +0 -0
- /package/lib/{shared/components → components}/DischargeHeatmap/styles.scss +0 -0
- /package/lib/{shared/components → components}/Events/styles.scss +0 -0
- /package/lib/{DashboardV2 → components}/Header/InfoBar/Breadcrumbs/right-arrow-bold.svg +0 -0
- /package/lib/{DashboardV2 → components}/Header/InfoBar/Breadcrumbs/right-arrow-light.svg +0 -0
- /package/lib/{DashboardV2 → components}/Header/Toolbar/arrow.svg +0 -0
- /package/lib/{DashboardV2 → components}/Header/Toolbar/user.svg +0 -0
- /package/lib/{shared/components → components}/KandoModal/styles.scss +0 -0
- /package/lib/{shared/components → components}/LiveEvents/styles.scss +0 -0
- /package/lib/{shared/components → components}/Map/styles.scss +0 -0
- /package/lib/{shared/components → components}/PasswordInput/show.svg +0 -0
- /package/lib/{shared/components → components}/PointInfo/styles.scss +0 -0
- /package/lib/{shared/components → components}/Search/styles.scss +0 -0
- /package/lib/{shared/components → components}/Sector/styles.scss +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/Brewing.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/Cowshed.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/Garage.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/Missing.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/barrel.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/beer.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/beverage.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/car-repair.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/car-wash.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/chemistry.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/conductor-manufacturer.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/cosmetic-manufacturer.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/cow.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/cpu.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/dairy.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/dippel-oil.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/food-donation.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/food-factory.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/garbage-truck-1.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/gas-station.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/glass-manufacturer.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/glass.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/hand-washing.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/hospital.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/hotel.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/laundromat.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/leather-factory.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard/MostPolluting/assets → components/Sector/svgs}/leather.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/lipstick.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/meat.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/metal-coating-plant.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/metal-facbrication.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/milk.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/oil-rig.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/petrochemical.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/pie.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/pills.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/plant-unkown-3.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/plastic-rubber.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/printer.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/recycling.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/refinery.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/repair.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/sewing-machine.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard/MostPolluting/assets → components/Sector/svgs}/shop.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/soda.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/spray-gun.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/washing-machine.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/waste.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/welder-a.svg +0 -0
- /package/lib/{shared/components → components}/Sector/svgs/wine-glass.svg +0 -0
- /package/lib/{shared/components → components}/Select/Select.scss +0 -0
- /package/lib/{shared → components}/TimeRangeSelector/styles.scss +0 -0
- /package/lib/{shared/components → components}/Toggle/styles.scss +0 -0
- /package/lib/{shared/components → components}/TrendGraph/styles.scss +0 -0
- /package/lib/{shared/components → components}/TrendGraphNVL/styles.scss +0 -0
- /package/lib/{shared/utilities/custom_hooks → hooks}/map/pin-matash-white.svg +0 -0
- /package/lib/{shared/utilities/custom_hooks → hooks}/map/pin-plant-white.svg +0 -0
- /package/lib/{shared/utilities/custom_hooks → hooks}/map/pin-suction.svg +0 -0
- /package/lib/{shared/utilities/custom_hooks → hooks}/map/pin-water.svg +0 -0
- /package/lib/{shared/utilities/i18n → i18n}/fr.json +0 -0
- /package/lib/{shared/utilities/i18n → i18n}/he.json +0 -0
- /package/lib/{shared/utilities/i18n → i18n}/it.json +0 -0
- /package/lib/{shared/models → models}/IAction.js +0 -0
- /package/lib/{shared/models → models}/IAppState.js +0 -0
- /package/lib/{DashboardV2/AreaDashboard → pages/AreaPage}/Dashboard/Sites/SitesResponse.interface.js +0 -0
- /package/lib/{CovidView/views → pages/CovidPage}/components/MapStyle.scss +0 -0
- /package/lib/{CovidView/views → pages/CovidPage}/components/SidebarStyle.scss +0 -0
- /package/lib/{CovidView/views → pages/CovidPage}/components/SummaryStyle.scss +0 -0
- /package/lib/{CovidView/views → pages/CovidPage}/components/TrendGraphNVL/styles.scss +0 -0
- /package/lib/{CovidView/views → pages/CovidPage}/components/TrendPopupContent/styles.scss +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/_colors.scss +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/EventInfoStyle.scss +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/agriculture.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/bacteria-process.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/effluent.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/energy.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/equipment.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/extra-biological-sludge.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/overflow.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/pipes-bluckages.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/pipes-infrastructure.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/reuse.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/sea-rivers.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/events/event_info/damage_type/svgs/sludge.svg +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/map/floatingGraphStyle.scss +0 -0
- /package/lib/{EventsView/views → pages/EventsPage}/components/map/mapStyle.scss +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/Notifications.interface.js +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/alert1.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/chat.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/close.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/index.js +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/mail.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/monitor.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/right.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/spill1.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/telegram.svg +0 -0
- /package/lib/{DashboardV2/Notifications → pages/NotificationsPage}/assets/trash-del.svg +0 -0
- /package/lib/{DashboardV2/Profile → pages/ProfilePage}/pen.svg +0 -0
- /package/lib/{DashboardV2/types → pages/SitePage}/IDashboardData.js +0 -0
- /package/lib/{DashboardV2 → pages/SitePage}/SamplingParameters/NoResults/discover.svg +0 -0
- /package/lib/{DashboardV2 → pages/SitePage}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +0 -0
- /package/lib/{DashboardV2 → pages/SitePage}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/assets/rigth.svg +0 -0
- /package/lib/{DashboardV2 → pages/SitePage}/SamplingParameters/models.js +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Areas/AreaBox/Map/Map.scss +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Areas/areasResponse.interface.js +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Factories/factoriesResponse.interface.js +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Tabs/assets/home.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Tabs/assets/index.js +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Tabs/assets/matash.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Tabs/assets/plant.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Tabs/assets/shape.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/Tabs/assets/water.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/assets/down-arrow.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/assets/gas.svg +0 -0
- /package/lib/{shared/components/Sector/svgs → pages/UtilityDashboardPage/MostPolluting/assets}/leather.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/assets/metal.svg +0 -0
- /package/lib/{shared/components/Sector/svgs → pages/UtilityDashboardPage/MostPolluting/assets}/shop.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/assets/show-more.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostPolluting/models.js +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/MostSevereEvents.scss +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/NoEvents/discover.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/SevereEvent/SevereEvent.scss +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/SevereEvent/assets/info.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/SevereEvent/assets/pipe-bluckages.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/SevereEvent/assets/pipe.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/SevereEvent/assets/sludge.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/MostSevereEvents/models.js +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/TopBar/MostCommon/assets/arrow.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/TopBar/MostCommon/assets/bacteria.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/TopBar/MostCommon/assets/clock.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/TopBar/MostCommon/assets/pipes.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/TopBar/QualitySummary/assets/down-arrow.svg +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/TopBar/QualitySummary/qualitySummaryResponse.interface.js +0 -0
- /package/lib/{DashboardV2/UtilityDashboard → pages/UtilityDashboardPage}/TopBar/UtilityInformation/UtilityInformationResponse.interface.js +0 -0
- /package/lib/{shared/redux/WBE/models/IAreaWBE.js → react-app-env.d.js} +0 -0
- /package/lib/{shared/redux/WBE/models/IWBE.js → store/WBE/models/IAreaWBE.js} +0 -0
- /package/lib/{shared/redux/WBE/models/IWBEState.js → store/WBE/models/IWBE.js} +0 -0
- /package/lib/{shared/redux/areas/models/IArea.js → store/WBE/models/IWBEState.js} +0 -0
- /package/lib/{shared/redux/areas/models/IAreasState.js → store/areas/models/IArea.js} +0 -0
- /package/lib/{shared/redux/context/models/INavContext.js → store/areas/models/IAreasState.js} +0 -0
- /package/lib/{shared/redux/context/models/INavContextState.js → store/context/models/INavContext.js} +0 -0
- /package/lib/{shared/redux/edges/models/IEdge.js → store/context/models/INavContextState.js} +0 -0
- /package/lib/{shared/redux/edges/models/IEdgesState.js → store/edges/models/IEdge.js} +0 -0
- /package/lib/{shared/redux/events/models/IEvent.js → store/edges/models/IEdgesState.js} +0 -0
- /package/lib/{shared/redux/events/models/IEventsState.js → store/events/models/IEvent.js} +0 -0
- /package/lib/{shared/redux/events/models/ISource.js → store/events/models/IEventsState.js} +0 -0
- /package/lib/{shared/redux/filters/IFilter.js → store/events/models/ISource.js} +0 -0
- /package/lib/{shared/redux/filters/IFilterItem.js → store/filters/IFilter.js} +0 -0
- /package/lib/{shared/redux/global/models/IGlobalState.js → store/filters/IFilterItem.js} +0 -0
- /package/lib/{shared/redux/points/models/IGroup.js → store/global/models/IGlobalState.js} +0 -0
- /package/lib/{shared/redux/points/models/IPoint.js → store/points/models/IGroup.js} +0 -0
- /package/lib/{shared/redux/points/models/IPointsState.js → store/points/models/IPoint.js} +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.SamplingParameters = void 0;
|
|
11
|
+
|
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
+
|
|
16
|
+
var _DoubleTabs = require("components/DoubleTabs/DoubleTabs");
|
|
17
|
+
|
|
18
|
+
var _Spinner = require("components/Spinner/Spinner");
|
|
19
|
+
|
|
20
|
+
var _useApi3 = require("hooks/useApi");
|
|
21
|
+
|
|
22
|
+
var _dataParser = require("./dataParser");
|
|
23
|
+
|
|
24
|
+
var _ParametersContainer = require("./ParametersContainer/ParametersContainer");
|
|
25
|
+
|
|
26
|
+
var _NoResults = require("./NoResults/NoResults");
|
|
27
|
+
|
|
28
|
+
var _SamplingContainer = require("./SamplingContainer/SamplingContainer");
|
|
29
|
+
|
|
30
|
+
var _samplingParameters = require("./styles/samplingParameters");
|
|
31
|
+
|
|
32
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
33
|
+
|
|
34
|
+
var _i18n = _interopRequireDefault(require("utilities/i18n"));
|
|
35
|
+
|
|
36
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
37
|
+
|
|
38
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
39
|
+
|
|
40
|
+
var SamplingParameters = function SamplingParameters(_ref) {
|
|
41
|
+
var _ref$DefaultShowParam = _ref.DefaultShowParameters,
|
|
42
|
+
DefaultShowParameters = _ref$DefaultShowParam === void 0 ? false : _ref$DefaultShowParam;
|
|
43
|
+
|
|
44
|
+
var _useState = (0, _react.useState)(!DefaultShowParameters),
|
|
45
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
46
|
+
samplingParameters = _useState2[0],
|
|
47
|
+
setSamplingParameters = _useState2[1];
|
|
48
|
+
|
|
49
|
+
var endPoint = '/test';
|
|
50
|
+
|
|
51
|
+
var _useState3 = (0, _react.useState)([]),
|
|
52
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
53
|
+
headers = _useState4[0],
|
|
54
|
+
setHeaders = _useState4[1];
|
|
55
|
+
|
|
56
|
+
var _useState5 = (0, _react.useState)([]),
|
|
57
|
+
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
|
58
|
+
rows = _useState6[0],
|
|
59
|
+
setRows = _useState6[1];
|
|
60
|
+
|
|
61
|
+
var _useState7 = (0, _react.useState)([]),
|
|
62
|
+
_useState8 = (0, _slicedToArray2.default)(_useState7, 2),
|
|
63
|
+
exceptionTags = _useState8[0],
|
|
64
|
+
setExceptionTags = _useState8[1];
|
|
65
|
+
|
|
66
|
+
var _useState9 = (0, _react.useState)([]),
|
|
67
|
+
_useState10 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
68
|
+
labResults = _useState10[0],
|
|
69
|
+
setLabResults = _useState10[1];
|
|
70
|
+
|
|
71
|
+
var _useApi = (0, _useApi3.useApi)(endPoint),
|
|
72
|
+
_useApi2 = (0, _slicedToArray2.default)(_useApi, 3),
|
|
73
|
+
response = _useApi2[0],
|
|
74
|
+
isLoading = _useApi2[1],
|
|
75
|
+
Error = _useApi2[2];
|
|
76
|
+
|
|
77
|
+
var _useState11 = (0, _react.useState)({}),
|
|
78
|
+
_useState12 = (0, _slicedToArray2.default)(_useState11, 2),
|
|
79
|
+
parametersSummary = _useState12[0],
|
|
80
|
+
setParametersSummary = _useState12[1];
|
|
81
|
+
|
|
82
|
+
(0, _react.useEffect)(function () {
|
|
83
|
+
if (response && !Error) {
|
|
84
|
+
var _parseTableData = (0, _dataParser.parseTableData)(response.data),
|
|
85
|
+
_headers = _parseTableData.headers,
|
|
86
|
+
_rows = _parseTableData.rows,
|
|
87
|
+
_parametersSummary = _parseTableData.parametersSummary,
|
|
88
|
+
_exceptionTags = _parseTableData.exceptions;
|
|
89
|
+
|
|
90
|
+
setHeaders(_headers);
|
|
91
|
+
setRows(_rows);
|
|
92
|
+
setParametersSummary(_parametersSummary);
|
|
93
|
+
setLabResults(response.data.lab_results);
|
|
94
|
+
setExceptionTags(_exceptionTags);
|
|
95
|
+
}
|
|
96
|
+
}, [response]);
|
|
97
|
+
|
|
98
|
+
if (isLoading) {
|
|
99
|
+
return /*#__PURE__*/_react.default.createElement(_Spinner.Spinner, null);
|
|
100
|
+
} else if (Error) {
|
|
101
|
+
console.error(Error);
|
|
102
|
+
return /*#__PURE__*/_react.default.createElement("div", null, Error);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return /*#__PURE__*/_react.default.createElement(_samplingParameters.Main, null, /*#__PURE__*/_react.default.createElement(_samplingParameters.TitleTabsHolder, null, /*#__PURE__*/_react.default.createElement(_samplingParameters.Title, null, samplingParameters ? _i18n.default.t('dashboard_v2.sampling_parameters.sampling') : _i18n.default.t('dashboard_v2.sampling_parameters.lab-tests')), /*#__PURE__*/_react.default.createElement(_DoubleTabs.DoubleTabs, {
|
|
106
|
+
active: samplingParameters,
|
|
107
|
+
toggle: function toggle() {
|
|
108
|
+
return setSamplingParameters(!samplingParameters);
|
|
109
|
+
},
|
|
110
|
+
textLeft: _i18n.default.t('dashboard_v2.sampling_parameters.sampling'),
|
|
111
|
+
textRight: _i18n.default.t('dashboard_v2.sampling_parameters.parameters'),
|
|
112
|
+
disabled: labResults.length === 0
|
|
113
|
+
})), isLoading === false && (response === null || response === void 0 ? void 0 : response.data.lab_results.length) === 0 ? /*#__PURE__*/_react.default.createElement(_NoResults.NoResults, null) : /*#__PURE__*/_react.default.createElement(Container, {
|
|
114
|
+
className: samplingParameters ? 'left' : 'right'
|
|
115
|
+
}, /*#__PURE__*/_react.default.createElement(_SamplingContainer.SamplingContainer, {
|
|
116
|
+
headers: headers,
|
|
117
|
+
rows: rows,
|
|
118
|
+
exceptionTags: exceptionTags,
|
|
119
|
+
labResults: labResults
|
|
120
|
+
}), /*#__PURE__*/_react.default.createElement(_ParametersContainer.ParametersContainer, {
|
|
121
|
+
parametersSummary: parametersSummary
|
|
122
|
+
})));
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
exports.SamplingParameters = SamplingParameters;
|
|
126
|
+
|
|
127
|
+
var Container = _styledComponents.default.div.withConfig({
|
|
128
|
+
displayName: "SamplingParameters__Container",
|
|
129
|
+
componentId: "sc-1sc7ll8-0"
|
|
130
|
+
})(["display:flex;width:200%;overflow:hidden;transition:transform 0.5s ease-in-out;&.right{transform:translateX(-50%);}[dir='rtl'] &.right{transform:translateX(50%);}"]);
|
|
131
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWdlcy9TaXRlUGFnZS9TYW1wbGluZ1BhcmFtZXRlcnMvU2FtcGxpbmdQYXJhbWV0ZXJzLnRzeCJdLCJuYW1lcyI6WyJTYW1wbGluZ1BhcmFtZXRlcnMiLCJEZWZhdWx0U2hvd1BhcmFtZXRlcnMiLCJzYW1wbGluZ1BhcmFtZXRlcnMiLCJzZXRTYW1wbGluZ1BhcmFtZXRlcnMiLCJlbmRQb2ludCIsImhlYWRlcnMiLCJzZXRIZWFkZXJzIiwicm93cyIsInNldFJvd3MiLCJleGNlcHRpb25UYWdzIiwic2V0RXhjZXB0aW9uVGFncyIsImxhYlJlc3VsdHMiLCJzZXRMYWJSZXN1bHRzIiwicmVzcG9uc2UiLCJpc0xvYWRpbmciL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YXJ5Pih7fSk7XG4gICAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICAgICAgaWYgKHJlc3BvbnNlICYmICFFcnJvcikge1xuICAgICAgICAgICAgY29uc3Qge1xuICAgICAgICAgICAgICAgIGhlYWRlcnMsXG4gICAgICAgICAgICAgICAgcm93cyxcbiAgICAgICAgICAgICAgICBwYXJhbWV0ZXJzU3VtbWFyeSxcbiAgICAgICAgICAgICAgICBleGNlcHRpb25zOiBleGNlcHRpb25UYWdzLFxuICAgICAgICAgICAgfSA9IHBhcnNlVGFibGVEYXRhKHJlc3BvbnNlLmRhdGEpO1xuXG4gICAgICAgICAgICBzZXRIZWFkZXJzKGhlYWRlcnMpO1xuICAgICAgICAgICAgc2V0Um93cyhyb3dzKTtcbiAgICAgICAgICAgIHNldFBhcmFtZXRlcnNTdW1tYXJ5KHBhcmFtZXRlcnNTdW1tYXJ5KTtcbiAgICAgICAgICAgIHNldExhYlJlc3VsdHMocmVzcG9uc2UuZGF0YS5sYWJfcmVzdWx0cyk7XG4gICAgICAgICAgICBzZXRFeGNlcHRpb25UYWdzKGV4Y2VwdGlvblRhZ3MpO1xuICAgICAgICB9XG4gICAgfSwgW3Jlc3BvbnNlXSk7XG5cbiAgICBpZiAoaXNMb2FkaW5nKSB7XG4gICAgICAgIHJldHVybiA8U3Bpbm5lciAvPjtcbiAgICB9IGVsc2UgaWYgKEVycm9yKSB7XG4gICAgICAgIGNvbnNvbGUuZXJyb3IoRXJyb3IpO1xuICAgICAgICByZXR1cm4gPGRpdj57RXJyb3J9PC9kaXY+O1xuICAgIH1cblxuICAgIHJldHVybiAoXG4gICAgICAgIDxNYWluPlxuICAgICAgICAgICAgPFRpdGxlVGFic0hvbGRlcj5cbiAgICAgICAgICAgICAgICA8VGl0bGU+XG4gICAgICAgICAgICAgICAgICAgIHtzYW1wbGluZ1BhcmFtZXRlcnNcbiAgICAgICAgICAgICAgICAgICAgICAgID8gaTE4bi50KCdkYXNoYm9hcmRfdjIuc2FtcGxpbmdfcGFyYW1ldGVycy5zYW1wbGluZycpXG4gICAgICAgICAgICAgICAgICAgICAgICA6IGkxOG4udCgnZGFzaGJvYXJkX3YyLnNhbXBsaW5nX3BhcmFtZXRlcnMubGFiLXRlc3RzJyl9XG4gICAgICAgICAgICAgICAgPC9UaXRsZT5cbiAgICAgICAgICAgICAgICA8RG91YmxlVGFic1xuICAgICAgICAgICAgICAgICAgICBhY3RpdmU9e3NhbXBsaW5nUGFyYW1ldGVyc31cbiAgICAgICAgICAgICAgICAgICAgdG9nZ2xlPXsoKSA9PiBzZXRTYW1wbGluZ1BhcmFtZXRlcnMoIXNhbXBsaW5nUGFyYW1ldGVycyl9XG4gICAgICAgICAgICAgICAgICAgIHRleHRMZWZ0PXtpMThuLnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFzaGJvYXJkX3YyLnNhbXBsaW5nX3BhcmFtZXRlcnMuc2FtcGxpbmcnLFxuICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICB0ZXh0UmlnaHQ9e2kxOG4udChcbiAgICAgICAgICAgICAgICAgICAgICAgICdkYXNoYm9hcmRfdjIuc2FtcGxpbmdfcGFyYW1ldGVycy5wYXJhbWV0ZXJzJyxcbiAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgZGlzYWJsZWQ9e2xhYlJlc3VsdHMubGVuZ3RoID09PSAwfVxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8L1RpdGxlVGFic0hvbGRlcj5cbiAgICAgICAgICAgIHtpc0xvYWRpbmcgPT09IGZhbHNlICYmIHJlc3BvbnNlPy5kYXRhLmxhYl9yZXN1bHRzLmxlbmd0aCA9PT0gMCA/IChcbiAgICAgICAgICAgICAgICA8Tm9SZXN1bHRzIC8+XG4gICAgICAgICAgICApIDogKFxuICAgICAgICAgICAgICAgIDxDb250YWluZXIgY2xhc3NOYW1lPXtzYW1wbGluZ1BhcmFtZXRlcnMgPyAnbGVmdCcgOiAncmlnaHQnfT5cbiAgICAgICAgICAgICAgICAgICAgPFNhbXBsaW5nQ29udGFpbmVyXG4gICAgICAgICAgICAgICAgICAgICAgICBoZWFkZXJzPXtoZWFkZXJzfVxuICAgICAgICAgICAgICAgICAgICAgICAgcm93cz17cm93c31cbiAgICAgICAgICAgICAgICAgICAgICAgIGV4Y2VwdGlvblRhZ3M9e2V4Y2VwdGlvblRhZ3N9XG4gICAgICAgICAgICAgICAgICAgICAgICBsYWJSZXN1bHRzPXtsYWJSZXN1bHRzfVxuICAgICAgICAgICAgICAgICAgICAvPlxuXG4gICAgICAgICAgICAgICAgICAgIDxQYXJhbWV0ZXJzQ29udGFpbmVyXG4gICAgICAgICAgICAgICAgICAgICAgICBwYXJhbWV0ZXJzU3VtbWFyeT17cGFyYW1ldGVyc1N1bW1hcnl9XG4gICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgPC9Db250YWluZXI+XG4gICAgICAgICAgICApfVxuICAgICAgICA8L01haW4+XG4gICAgKTtcbn07XG5cbmNvbnN0IENvbnRhaW5lciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogZmxleDtcbiAgICB3aWR0aDogMjAwJTtcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSAwLjVzIGVhc2UtaW4tb3V0O1xuICAgICYucmlnaHQge1xuICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTUwJSk7XG4gICAgfVxuXG4gICAgW2Rpcj0ncnRsJ10gJi5yaWdodCB7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg1MCUpO1xuICAgIH1cbmA7XG4iXX0=
|