@kando-env/kando-ui 1.0.40 → 1.0.41-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/CovidView/views/components/Body.js +104 -0
- package/lib/CovidView/views/components/Map.js +144 -0
- package/lib/CovidView/views/components/Sidebar.js +69 -0
- package/lib/CovidView/views/components/Summary.js +142 -0
- package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +177 -0
- package/lib/{pages/CovidPage → CovidView/views}/components/TrendGraphNVL/index.js +1 -1
- package/lib/CovidView/views/components/TrendPopupContent/TrendPopupContent.js +157 -0
- package/lib/{pages/CovidPage → CovidView/views}/components/TrendPopupContent/index.js +1 -1
- package/lib/CovidView/views/components/areas/Area.js +182 -0
- package/lib/CovidView/views/components/areas/AreaPolygonWBE.js +266 -0
- package/lib/CovidView/views/components/areas/AreaPolygonsWBE.js +82 -0
- package/lib/CovidView/views/components/areas/AreasList.js +124 -0
- package/lib/{pages/CovidPage → CovidView/views}/components/areas/AreasStyle.scss +16 -0
- package/lib/CovidView/views/components/areas/Sort.js +60 -0
- package/lib/CovidView/views/covidView.js +47 -0
- package/lib/DashboardV2/AreaDashboard/AreaDashboard.js +129 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/Dashboard.js +89 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/EventsCarousel/EventsCarousel.js +107 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/LineChart.js +68 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/options/options.js +103 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/Sites.js +121 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/PieChart/PieChart.js +123 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/SiteBox.js +58 -0
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/styles.js +26 -0
- package/lib/{pages/AreaPage → DashboardV2/AreaDashboard}/Dashboard/Sites/factories.mock.js +1 -1
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/styles.js +25 -0
- package/lib/DashboardV2/AreaDashboard.js +119 -0
- package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.js +96 -0
- package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.stories.js +31 -0
- package/lib/DashboardV2/Header/DoubleTabs/styles.js +32 -0
- package/lib/DashboardV2/Header/Header.js +21 -0
- package/lib/DashboardV2/Header/Header.stories.js +29 -0
- package/lib/DashboardV2/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +37 -0
- package/lib/DashboardV2/Header/InfoBar/InfoBar.js +88 -0
- package/lib/DashboardV2/Header/Toolbar/Toolbar.js +117 -0
- package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/MultiChoiceTabs.js +67 -0
- package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/RadioTabs.js +49 -0
- package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/EditNotificationModal/Buttons/SeverityButtons.js +5 -7
- package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.js +229 -0
- package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.stories.js +33 -0
- package/lib/DashboardV2/Notifications/Notification/Notification.js +93 -0
- package/lib/DashboardV2/Notifications/Notifications.js +100 -0
- package/lib/DashboardV2/Notifications/Notifications.mock.js +45 -0
- package/lib/DashboardV2/Notifications/Notifications.stories.js +38 -0
- package/lib/DashboardV2/Profile/PasswordModal/PasswordModal.js +99 -0
- package/lib/DashboardV2/Profile/Profile.js +225 -0
- package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +53 -0
- package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.stories.js +27 -0
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +30 -0
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +41 -0
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +42 -0
- package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersContainer.js +63 -0
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +69 -0
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +42 -0
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +48 -0
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +103 -0
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +38 -0
- package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +131 -0
- package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +973 -0
- package/lib/DashboardV2/SamplingParameters/SamplingParameters.stories.js +173 -0
- package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +58 -0
- package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/charts/SamplingChart.js +1 -1
- package/lib/DashboardV2/SamplingParameters/charts/options/options.js +233 -0
- package/lib/DashboardV2/SamplingParameters/dataParser.js +109 -0
- package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +32 -0
- package/lib/DashboardV2/SamplingParameters/styles/styles.js +35 -0
- package/lib/DashboardV2/SiteDashboard.js +365 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +124 -0
- package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/AreaBox/Map/Map.js +3 -3
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +130 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +31 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/Areas.js +152 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/areas.mock.js +575 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +25 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/Factories.js +188 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +58 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +123 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +26 -0
- package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Factories/factories.mock.js +1 -1
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/styles.js +25 -0
- package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/MostPolluting.js +2 -2
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +117 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/ShowMore.js +32 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +21 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +81 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.stories.js +38 -0
- package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/index.js +0 -34
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/components/ChangePercent.js +50 -0
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +25 -0
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +125 -0
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +384 -0
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +54 -0
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +27 -0
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/Eta.js +182 -0
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/styles.js +24 -0
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +102 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/Back/Back.js +34 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +85 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/styles.js +81 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +44 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +155 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +69 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +93 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/qualitySummary.mock.js +30 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/styles.js +63 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +30 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +94 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +61 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/utilityInformation.mock.js +15 -0
- package/lib/DashboardV2/UtilityDashboard/TopBar/styles.js +18 -0
- package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.js +89 -0
- package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +141 -0
- package/lib/DashboardV2/UtilityDashboard/initMsw.js +17 -0
- package/lib/DashboardV2/WaterAuthorityDashboard.js +60 -0
- package/lib/DashboardV2/index.js +32 -0
- package/lib/DashboardV2/styles.scss +128 -0
- package/lib/DashboardV2/useApiWithDashboardQuery.js +66 -0
- package/lib/EventsView/views/components/Body.js +81 -0
- package/lib/EventsView/views/components/areas/AreaPolygon.js +54 -0
- package/lib/EventsView/views/components/areas/AreaPolygons.js +64 -0
- package/lib/EventsView/views/components/edges/Edge.js +76 -0
- package/lib/EventsView/views/components/edges/Edges.js +51 -0
- package/lib/EventsView/views/components/events/EventIndicator.js +275 -0
- package/lib/EventsView/views/components/events/EventPath.js +95 -0
- package/lib/{pages/EventsPage → EventsView/views}/components/events/EventsStyle.scss +15 -0
- package/lib/EventsView/views/components/events/MoreInfo.js +73 -0
- package/lib/EventsView/views/components/events/Sidebar.js +63 -0
- package/lib/EventsView/views/components/events/event_info/EarlyWarnings.js +150 -0
- package/lib/EventsView/views/components/events/event_info/EventDetails.js +101 -0
- package/lib/EventsView/views/components/events/event_info/EventInfo.js +137 -0
- package/lib/EventsView/views/components/events/event_info/EventTimeRange.js +153 -0
- package/lib/EventsView/views/components/events/event_info/HistoricalInformation.js +45 -0
- package/lib/EventsView/views/components/events/event_info/MiniEventTree.js +117 -0
- package/lib/EventsView/views/components/events/event_info/MobileEventPath.js +40 -0
- package/lib/EventsView/views/components/events/event_info/PollutionDischarge.js +66 -0
- package/lib/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +76 -0
- package/lib/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +122 -0
- package/lib/EventsView/views/components/events/event_info/damage_type/DamageType.js +111 -0
- package/lib/EventsView/views/components/events/event_info/samplings/Sampling.js +30 -0
- package/lib/EventsView/views/components/events/event_info/samplings/Samplings.js +37 -0
- package/lib/EventsView/views/components/events/event_info/sources/Source.js +119 -0
- package/lib/EventsView/views/components/events/event_info/sources/Sources.js +47 -0
- package/lib/EventsView/views/components/events/events_list/EventItem.js +140 -0
- package/lib/EventsView/views/components/events/events_list/EventsList.js +299 -0
- package/lib/EventsView/views/components/events/events_list/Filter/Filter.js +138 -0
- package/lib/EventsView/views/components/events/events_list/Filter/FilterContainer.js +389 -0
- package/lib/EventsView/views/components/events/events_list/Filter/FilterItem.js +211 -0
- package/lib/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +69 -0
- package/lib/EventsView/views/components/events/events_list/Filter/OptionsDropDown.js +140 -0
- package/lib/EventsView/views/components/events/events_list/Sort.js +93 -0
- package/lib/EventsView/views/components/map/FloatingGraph.js +78 -0
- package/lib/EventsView/views/components/map/Map.js +176 -0
- package/lib/EventsView/views/components/map/Map.stories.js +31 -0
- package/lib/EventsView/views/components/points/PointMarker.js +455 -0
- package/lib/EventsView/views/components/points/PointMarkers.js +31 -0
- package/lib/EventsView/views/eventsView.js +48 -0
- package/lib/Router.js +21 -51
- package/lib/index.js +4 -10
- package/lib/macros/getVersion.js +2 -2
- package/lib/shared/TimeRangeSelector/TimeRangeSelector.js +118 -0
- package/lib/shared/TimeRangeSelector/TimeRangeSelector.stories.js +36 -0
- package/lib/shared/TimeRangeSelector/constants.js +9 -0
- package/lib/{components → shared}/TimeRangeSelector/index.js +1 -1
- package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +43 -0
- package/lib/{components → shared/components}/Breadcrumbs/index.js +1 -1
- package/lib/shared/components/ContentLoader/ContentLoader.js +72 -0
- package/lib/{components → shared/components}/ContentLoader/index.js +1 -1
- package/lib/shared/components/DamageType/DamageType.js +264 -0
- package/lib/{components → shared/components}/DamageType/index.js +1 -1
- package/lib/shared/components/DataLoaderError/DataLoaderError.js +32 -0
- package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +219 -0
- package/lib/{components → shared/components}/DischargeHeatmap/index.js +1 -1
- package/lib/shared/components/DoubleTabs/DoubleTabs.js +45 -0
- package/lib/shared/components/DoubleTabs/DoubleTabs.stories.js +31 -0
- package/lib/shared/components/DoubleTabs/styles.js +32 -0
- package/lib/shared/components/ErrorBoundary.js +67 -0
- package/lib/shared/components/Events/Events.js +237 -0
- package/lib/{components → shared/components}/Events/index.js +1 -1
- package/lib/shared/components/Graph/Graph.js +211 -0
- package/lib/{components → shared/components}/Graph/index.js +1 -1
- package/lib/shared/components/InfoBar/InfoBar.js +76 -0
- package/lib/shared/components/InfoBar/InfoBar.stories.js +32 -0
- package/lib/shared/components/KandoModal/KandoModal.js +121 -0
- package/lib/{components → shared/components}/KandoModal/index.js +1 -1
- package/lib/shared/components/KandoNavbar/KandoNavbar.js +297 -0
- package/lib/{components → shared/components}/KandoNavbar/NavbarStyle.scss +3 -3
- package/lib/{components → shared/components}/KandoNavbar/index.js +1 -1
- package/lib/shared/components/LiveEvents/CarouselSlide.js +65 -0
- package/lib/shared/components/LiveEvents/LiveEvents.js +59 -0
- package/lib/{components → shared/components}/LiveEvents/index.js +1 -1
- package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +51 -0
- package/lib/shared/components/Map/Map.js +94 -0
- package/lib/{components → shared/components}/Map/index.js +1 -1
- package/lib/{components → shared/components}/NarrowHeader.js +1 -1
- package/lib/shared/components/PasswordInput/PasswordInput.js +54 -0
- package/lib/shared/components/PointInfo/PointInfo.js +84 -0
- package/lib/{components → shared/components}/PointInfo/index.js +1 -1
- package/lib/shared/components/PopupModal/PopupModal.js +55 -0
- package/lib/shared/components/PopupModal/PopupModal.stories.js +53 -0
- package/lib/shared/components/PrimaryButton/PrimaryButton.js +21 -0
- package/lib/shared/components/Search/Search.js +152 -0
- package/lib/{components → shared/components}/Search/index.js +1 -1
- package/lib/shared/components/Sector/Sector.js +198 -0
- package/lib/{components → shared/components}/Sector/index.js +1 -1
- package/lib/shared/components/Select/Select.js +101 -0
- package/lib/shared/components/Select/Select.stories.js +48 -0
- package/lib/shared/components/Spinner/Spinner.js +28 -0
- package/lib/shared/components/Spinner/Spinner.stories.js +39 -0
- package/lib/{components → shared/components}/Spinner/index.js +1 -1
- package/lib/shared/components/Spinner/styles.js +44 -0
- package/lib/{components → shared/components}/Toggle/Toggle.js +1 -1
- package/lib/{components → shared/components}/Toggle/index.js +1 -1
- package/lib/shared/components/TrendGraph/TrendGraph.js +215 -0
- package/lib/{components → shared/components}/TrendGraph/index.js +1 -1
- package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +168 -0
- package/lib/{components → shared/components}/TrendGraphNVL/index.js +1 -1
- package/lib/shared/helpers/kql.js +53 -0
- package/lib/shared/helpers/time.js +22 -0
- package/lib/shared/redux/WBE/actionTypes.js +9 -0
- package/lib/shared/redux/WBE/actions.js +16 -0
- package/lib/shared/redux/WBE/reducer.js +37 -0
- package/lib/shared/redux/areas/actionTypes.js +13 -0
- package/lib/shared/redux/areas/actions.js +41 -0
- package/lib/shared/redux/areas/reducer.js +55 -0
- package/lib/shared/redux/context/actionTypes.js +9 -0
- package/lib/shared/redux/context/actions.js +16 -0
- package/lib/shared/redux/context/reducer.js +37 -0
- package/lib/shared/redux/dashboard/dashboardSlice.js +24 -0
- package/lib/shared/redux/edges/actionTypes.js +15 -0
- package/lib/shared/redux/edges/actions.js +49 -0
- package/lib/shared/redux/edges/reducer.js +81 -0
- package/lib/shared/redux/events/actionTypes.js +29 -0
- package/lib/shared/redux/events/actions.js +113 -0
- package/lib/shared/redux/events/reducer.js +197 -0
- package/lib/shared/redux/global/actionTypes.js +25 -0
- package/lib/shared/redux/global/actions.js +97 -0
- package/lib/shared/redux/global/reducer.js +92 -0
- package/lib/shared/redux/points/actionTypes.js +11 -0
- package/lib/shared/redux/points/actions.js +33 -0
- package/lib/shared/redux/points/reducer.js +36 -0
- package/lib/shared/redux/rootActionTypes.js +9 -0
- package/lib/shared/redux/rootActions.js +15 -0
- package/lib/shared/redux/rootReducer.js +57 -0
- package/lib/shared/redux/rootStore.js +51 -0
- package/lib/shared/utilities/ActionUtility.js +18 -0
- package/lib/shared/utilities/ErrorBoundary.js +73 -0
- package/lib/{utilities → shared/utilities}/KandoDate.js +1 -1
- package/lib/{utilities → shared/utilities}/KandoModal.js +1 -1
- package/lib/shared/utilities/LocalStorage.js +49 -0
- package/lib/shared/utilities/TimeFormat.js +71 -0
- package/lib/shared/utilities/Truncate.js +76 -0
- package/lib/shared/utilities/custom_hooks/useApi.js +94 -0
- package/lib/shared/utilities/custom_hooks/useClickOutside.js +27 -0
- package/lib/shared/utilities/custom_hooks/useKandoFetch.js +83 -0
- package/lib/shared/utilities/custom_hooks/useMap.js +156 -0
- package/lib/shared/utilities/custom_hooks/useQueryURL.js +16 -0
- package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +35 -0
- package/lib/shared/utilities/custom_hooks/useUpdateEventBodyTail.js +63 -0
- package/lib/shared/utilities/custom_hooks/useWindowSize.js +48 -0
- package/lib/{i18n → shared/utilities/i18n}/en.json +2 -30
- package/lib/shared/utilities/i18n/en.yml +3266 -0
- package/lib/shared/utilities/i18n/fr.yml +2621 -0
- package/lib/shared/utilities/i18n/he.yml +3237 -0
- package/lib/shared/utilities/i18n/index.js +25 -0
- package/lib/shared/utilities/i18n/it.yml +2644 -0
- package/lib/shared/utilities/i18n.js +74 -0
- package/lib/styles.scss +4 -133
- package/package.json +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +0 -43
- package/lib/components/ContentLoader/ContentLoader.js +0 -72
- package/lib/components/DamageType/DamageType.js +0 -264
- package/lib/components/DataLoaderError/DataLoaderError.js +0 -32
- package/lib/components/DischargeHeatmap/DischargeHeatmap.js +0 -219
- package/lib/components/DoubleTabs/DoubleTabs.js +0 -45
- package/lib/components/DoubleTabs/DoubleTabs.stories.js +0 -31
- package/lib/components/DoubleTabs/styles.js +0 -32
- package/lib/components/ErrorBoundary.js +0 -67
- package/lib/components/Events/Events.js +0 -237
- package/lib/components/Graph/Graph.js +0 -211
- package/lib/components/Header/DoubleTabs/DoubleTabs.js +0 -96
- package/lib/components/Header/DoubleTabs/DoubleTabs.stories.js +0 -31
- package/lib/components/Header/DoubleTabs/styles.js +0 -32
- package/lib/components/Header/Header.js +0 -21
- package/lib/components/Header/Header.stories.js +0 -29
- package/lib/components/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +0 -37
- package/lib/components/Header/InfoBar/InfoBar.js +0 -88
- package/lib/components/Header/Toolbar/Toolbar.js +0 -117
- package/lib/components/InfoBar/InfoBar.js +0 -76
- package/lib/components/InfoBar/InfoBar.stories.js +0 -32
- package/lib/components/KandoModal/KandoModal.js +0 -121
- package/lib/components/KandoNavbar/KandoNavbar.js +0 -297
- package/lib/components/Link.js +0 -37
- package/lib/components/LiveEvents/CarouselSlide.js +0 -65
- package/lib/components/LiveEvents/LiveEvents.js +0 -59
- package/lib/components/LoaderByPercent/LoaderByPercent.js +0 -51
- package/lib/components/Map/Map.js +0 -94
- package/lib/components/PasswordInput/PasswordInput.js +0 -54
- package/lib/components/PointInfo/PointInfo.js +0 -84
- package/lib/components/PopupModal/PopupModal.js +0 -55
- package/lib/components/PopupModal/PopupModal.stories.js +0 -53
- package/lib/components/PrimaryButton/PrimaryButton.js +0 -21
- package/lib/components/Search/Search.js +0 -152
- package/lib/components/Sector/Sector.js +0 -198
- package/lib/components/Select/Select.js +0 -101
- package/lib/components/Select/Select.stories.js +0 -48
- package/lib/components/Spinner/Spinner.js +0 -29
- package/lib/components/Spinner/Spinner.stories.js +0 -39
- package/lib/components/Spinner/styles.js +0 -44
- package/lib/components/TimeRangeSelector/TimeRangeSelector.js +0 -118
- package/lib/components/TimeRangeSelector/TimeRangeSelector.stories.js +0 -36
- package/lib/components/TimeRangeSelector/constants.js +0 -9
- package/lib/components/TrendGraph/TrendGraph.js +0 -215
- package/lib/components/TrendGraphNVL/TrendGraphNVL.js +0 -168
- package/lib/development-environment/index.js +0 -50
- package/lib/development-environment/mock/browser.js +0 -21
- package/lib/development-environment/mock/get.js +0 -21
- package/lib/development-environment/mock/handlers.js +0 -52
- package/lib/development-environment/mock/mockBus.js +0 -24
- package/lib/development-environment/mock/mockObjects/area-trends-graph.js +0 -14
- package/lib/development-environment/mock/mockObjects/areaInformation.js +0 -63
- package/lib/development-environment/mock/mockObjects/areaQualitySummary.js +0 -31
- package/lib/development-environment/mock/mockObjects/areaSitesData.js +0 -409
- package/lib/development-environment/mock/mockObjects/areasJson.js +0 -399
- package/lib/development-environment/mock/mockObjects/controlRoomNetworkEdges.js +0 -2839
- package/lib/development-environment/mock/mockObjects/covidView-areasData-24.js +0 -54
- package/lib/development-environment/mock/mockObjects/data-menuData.js +0 -518
- package/lib/development-environment/mock/mockObjects/data-search.js +0 -436
- package/lib/development-environment/mock/mockObjects/discharge_effluent_quality.js +0 -27
- package/lib/development-environment/mock/mockObjects/discharge_pattern_overtime.js +0 -11
- package/lib/development-environment/mock/mockObjects/eventFiltersJson.js +0 -278
- package/lib/development-environment/mock/mockObjects/eventsJson.js +0 -2240
- package/lib/development-environment/mock/mockObjects/metascore.js +0 -19
- package/lib/development-environment/mock/mockObjects/pointsJson.js +0 -6021
- package/lib/development-environment/mock/mockObjects/trend-graph-component-data-907.js +0 -14
- package/lib/development-environment/togly/ToglyDashboard.js +0 -73
- package/lib/development-environment/togly/ToglyItem.js +0 -89
- package/lib/development-environment/togly/flags.js +0 -8
- package/lib/development-environment/togly/init.js +0 -16
- package/lib/development-environment/togly/macro.js +0 -39
- package/lib/development-environment/togly/useDoubleKeyDown.js +0 -38
- package/lib/development-environment/togly/useLocalStorage.js +0 -42
- package/lib/hooks/useApi.js +0 -94
- package/lib/hooks/useApiWithDashboardQuery.js +0 -66
- package/lib/hooks/useClickOutside.js +0 -27
- package/lib/hooks/useKandoFetch.js +0 -83
- package/lib/hooks/useMap.js +0 -163
- package/lib/hooks/useQueryURL.js +0 -16
- package/lib/hooks/useRemoveExistingLayers.js +0 -37
- package/lib/hooks/useUpdateEventBodyTail.js +0 -63
- package/lib/hooks/useWindowSize.js +0 -48
- package/lib/pages/AreaPage/AreaPage.js +0 -122
- package/lib/pages/AreaPage/Dashboard/Dashboard.js +0 -97
- package/lib/pages/AreaPage/Dashboard/EventsCarousel/EventsCarousel.js +0 -107
- package/lib/pages/AreaPage/Dashboard/LineChart/LineChart.js +0 -82
- package/lib/pages/AreaPage/Dashboard/LineChart/options/options.js +0 -102
- package/lib/pages/AreaPage/Dashboard/Sites/Sites.js +0 -128
- package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/PieChart/PieChart.js +0 -123
- package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/SiteBox.js +0 -58
- package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/styles.js +0 -26
- package/lib/pages/AreaPage/Dashboard/Sites/styles.js +0 -25
- package/lib/pages/CovidPage/CovidPage.js +0 -47
- package/lib/pages/CovidPage/components/Body.js +0 -104
- package/lib/pages/CovidPage/components/Map.js +0 -144
- package/lib/pages/CovidPage/components/Sidebar.js +0 -69
- package/lib/pages/CovidPage/components/Summary.js +0 -142
- package/lib/pages/CovidPage/components/TrendGraphNVL/TrendGraphNVL.js +0 -177
- package/lib/pages/CovidPage/components/TrendPopupContent/TrendPopupContent.js +0 -157
- package/lib/pages/CovidPage/components/areas/Area.js +0 -182
- package/lib/pages/CovidPage/components/areas/AreaPolygonWBE.js +0 -266
- package/lib/pages/CovidPage/components/areas/AreaPolygonsWBE.js +0 -82
- package/lib/pages/CovidPage/components/areas/AreasList.js +0 -124
- package/lib/pages/CovidPage/components/areas/Sort.js +0 -60
- package/lib/pages/EventsPage/EventsPage.js +0 -47
- package/lib/pages/EventsPage/components/Body.js +0 -81
- package/lib/pages/EventsPage/components/areas/AreaPolygon.js +0 -54
- package/lib/pages/EventsPage/components/areas/AreaPolygons.js +0 -64
- package/lib/pages/EventsPage/components/edges/Edge.js +0 -76
- package/lib/pages/EventsPage/components/edges/Edges.js +0 -51
- package/lib/pages/EventsPage/components/events/EventIndicator.js +0 -275
- package/lib/pages/EventsPage/components/events/EventPath.js +0 -95
- package/lib/pages/EventsPage/components/events/MoreInfo.js +0 -73
- package/lib/pages/EventsPage/components/events/Sidebar.js +0 -63
- package/lib/pages/EventsPage/components/events/event_info/EarlyWarnings.js +0 -150
- package/lib/pages/EventsPage/components/events/event_info/EventDetails.js +0 -101
- package/lib/pages/EventsPage/components/events/event_info/EventInfo.js +0 -137
- package/lib/pages/EventsPage/components/events/event_info/EventTimeRange.js +0 -153
- package/lib/pages/EventsPage/components/events/event_info/HistoricalInformation.js +0 -45
- package/lib/pages/EventsPage/components/events/event_info/MiniEventTree.js +0 -117
- package/lib/pages/EventsPage/components/events/event_info/MobileEventPath.js +0 -40
- package/lib/pages/EventsPage/components/events/event_info/PollutionDischarge.js +0 -66
- package/lib/pages/EventsPage/components/events/event_info/charts/EventDetailsLineChart.js +0 -76
- package/lib/pages/EventsPage/components/events/event_info/charts/EventDetailsPieChart.js +0 -122
- package/lib/pages/EventsPage/components/events/event_info/damage_type/DamageType.js +0 -111
- package/lib/pages/EventsPage/components/events/event_info/samplings/Sampling.js +0 -30
- package/lib/pages/EventsPage/components/events/event_info/samplings/Samplings.js +0 -37
- package/lib/pages/EventsPage/components/events/event_info/sources/Source.js +0 -119
- package/lib/pages/EventsPage/components/events/event_info/sources/Sources.js +0 -47
- package/lib/pages/EventsPage/components/events/events_list/EventItem.js +0 -140
- package/lib/pages/EventsPage/components/events/events_list/EventsList.js +0 -299
- package/lib/pages/EventsPage/components/events/events_list/Filter/Filter.js +0 -138
- package/lib/pages/EventsPage/components/events/events_list/Filter/FilterContainer.js +0 -389
- package/lib/pages/EventsPage/components/events/events_list/Filter/FilterItem.js +0 -211
- package/lib/pages/EventsPage/components/events/events_list/Filter/FiltersDropDown.js +0 -69
- package/lib/pages/EventsPage/components/events/events_list/Filter/OptionsDropDown.js +0 -140
- package/lib/pages/EventsPage/components/events/events_list/Sort.js +0 -93
- package/lib/pages/EventsPage/components/map/FloatingGraph.js +0 -78
- package/lib/pages/EventsPage/components/map/Map.js +0 -176
- package/lib/pages/EventsPage/components/map/Map.stories.js +0 -31
- package/lib/pages/EventsPage/components/points/PointMarker.js +0 -455
- package/lib/pages/EventsPage/components/points/PointMarkers.js +0 -31
- package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/MultiChoiceTabs.js +0 -69
- package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/RadioTabs.js +0 -49
- package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.js +0 -229
- package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.stories.js +0 -33
- package/lib/pages/NotificationsPage/Notification/Notification.js +0 -95
- package/lib/pages/NotificationsPage/Notifications.mock.js +0 -45
- package/lib/pages/NotificationsPage/Notifications.stories.js +0 -38
- package/lib/pages/NotificationsPage/NotificationsPage.js +0 -98
- package/lib/pages/ProfilePage/PasswordModal/PasswordModal.js +0 -99
- package/lib/pages/ProfilePage/ProfilePage.js +0 -225
- package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.js +0 -53
- package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.stories.js +0 -27
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +0 -30
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +0 -41
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +0 -42
- package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersContainer.js +0 -63
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +0 -69
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +0 -42
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +0 -48
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +0 -103
- package/lib/pages/SitePage/SamplingParameters/SamplingContainer/SamplingContainer.js +0 -38
- package/lib/pages/SitePage/SamplingParameters/SamplingParameters.js +0 -131
- package/lib/pages/SitePage/SamplingParameters/SamplingParameters.mock.js +0 -973
- package/lib/pages/SitePage/SamplingParameters/SamplingParameters.stories.js +0 -173
- package/lib/pages/SitePage/SamplingParameters/charts/ParametersChart.js +0 -58
- package/lib/pages/SitePage/SamplingParameters/charts/options/options.js +0 -233
- package/lib/pages/SitePage/SamplingParameters/dataParser.js +0 -109
- package/lib/pages/SitePage/SamplingParameters/styles/samplingParameters.js +0 -32
- package/lib/pages/SitePage/SamplingParameters/styles/styles.js +0 -35
- package/lib/pages/SitePage/SitePage.js +0 -361
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/AreaBox.js +0 -120
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +0 -130
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/styles.js +0 -31
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/Areas.js +0 -160
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/areas.mock.js +0 -575
- package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/styles.js +0 -25
- package/lib/pages/UtilityDashboardPage/MostPolluting/EmptyState/EmptyState.js +0 -57
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/Factories.js +0 -196
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/FactoryBox.js +0 -53
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +0 -123
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/styles.js +0 -26
- package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/styles.js +0 -25
- package/lib/pages/UtilityDashboardPage/MostPolluting/MostPolluting.stories.js +0 -117
- package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/ShowMore.js +0 -32
- package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/styles.js +0 -21
- package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.js +0 -81
- package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.stories.js +0 -38
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/factory.svg +0 -31
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-areas.svg +0 -24
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-collector.svg +0 -66
- package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-wwtp.svg +0 -34
- package/lib/pages/UtilityDashboardPage/MostPolluting/components/ChangePercent.js +0 -50
- package/lib/pages/UtilityDashboardPage/MostPolluting/styles.js +0 -25
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.js +0 -125
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.stories.js +0 -384
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.js +0 -54
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.stories.js +0 -27
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/Eta.js +0 -175
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/styles.js +0 -24
- package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/SevereEvent.js +0 -102
- package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/Back/Back.js +0 -34
- package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/MostCommon.js +0 -85
- package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/styles.js +0 -81
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +0 -44
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/PieChart.js +0 -155
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PollutedLine/PollutedLine.js +0 -69
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/QualitySummary.js +0 -95
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/qualitySummary.mock.js +0 -30
- package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/styles.js +0 -63
- package/lib/pages/UtilityDashboardPage/TopBar/TopBar.js +0 -34
- package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/UtilityInformation.js +0 -95
- package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/styles.js +0 -61
- package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/utilityInformation.mock.js +0 -15
- package/lib/pages/UtilityDashboardPage/TopBar/styles.js +0 -18
- package/lib/pages/UtilityDashboardPage/UtilityDashboard.js +0 -89
- package/lib/pages/UtilityDashboardPage/UtilityDashboard.stories.js +0 -141
- package/lib/pages/UtilityDashboardPage/UtilityDashboardPage.js +0 -57
- package/lib/react-app-env.d.js +0 -6
- package/lib/store/WBE/actionTypes.js +0 -9
- package/lib/store/WBE/actions.js +0 -16
- package/lib/store/WBE/reducer.js +0 -37
- package/lib/store/areas/actionTypes.js +0 -13
- package/lib/store/areas/actions.js +0 -41
- package/lib/store/areas/reducer.js +0 -55
- package/lib/store/context/actionTypes.js +0 -9
- package/lib/store/context/actions.js +0 -16
- package/lib/store/context/reducer.js +0 -37
- package/lib/store/dashboard/dashboardSlice.js +0 -24
- package/lib/store/edges/actionTypes.js +0 -15
- package/lib/store/edges/actions.js +0 -49
- package/lib/store/edges/reducer.js +0 -81
- package/lib/store/events/actionTypes.js +0 -29
- package/lib/store/events/actions.js +0 -113
- package/lib/store/events/reducer.js +0 -197
- package/lib/store/global/actionTypes.js +0 -25
- package/lib/store/global/actions.js +0 -97
- package/lib/store/global/reducer.js +0 -92
- package/lib/store/points/actionTypes.js +0 -11
- package/lib/store/points/actions.js +0 -33
- package/lib/store/points/reducer.js +0 -36
- package/lib/store/rootActionTypes.js +0 -9
- package/lib/store/rootActions.js +0 -15
- package/lib/store/rootReducer.js +0 -57
- package/lib/store/rootStore.js +0 -51
- package/lib/utilities/ActionUtility.js +0 -18
- package/lib/utilities/ErrorBoundary.js +0 -73
- package/lib/utilities/LocalStorage.js +0 -49
- package/lib/utilities/TimeFormat.js +0 -71
- package/lib/utilities/Truncate.js +0 -83
- package/lib/utilities/i18n.js +0 -74
- package/lib/utilities/kql.js +0 -53
- package/lib/utilities/time.js +0 -22
- /package/lib/{pages/CovidPage → CovidView/views}/components/MapStyle.scss +0 -0
- /package/lib/{pages/CovidPage → CovidView/views}/components/SidebarStyle.scss +0 -0
- /package/lib/{pages/CovidPage → CovidView/views}/components/SummaryStyle.scss +0 -0
- /package/lib/{pages/CovidPage → CovidView/views}/components/TrendGraphNVL/styles.scss +0 -0
- /package/lib/{pages/CovidPage → CovidView/views}/components/TrendPopupContent/styles.scss +0 -0
- /package/lib/{pages/AreaPage → DashboardV2/AreaDashboard}/Dashboard/Sites/SitesResponse.interface.js +0 -0
- /package/lib/{components → DashboardV2}/Header/InfoBar/Breadcrumbs/right-arrow-bold.svg +0 -0
- /package/lib/{components → DashboardV2}/Header/InfoBar/Breadcrumbs/right-arrow-light.svg +0 -0
- /package/lib/{components → DashboardV2}/Header/Toolbar/arrow.svg +0 -0
- /package/lib/{components → DashboardV2}/Header/Toolbar/user.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/Notifications.interface.js +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/alert1.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/chat.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/close.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/index.js +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/mail.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/monitor.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/right.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/spill1.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/telegram.svg +0 -0
- /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/trash-del.svg +0 -0
- /package/lib/{pages/ProfilePage → DashboardV2/Profile}/pen.svg +0 -0
- /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/NoResults/discover.svg +0 -0
- /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +0 -0
- /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/assets/rigth.svg +0 -0
- /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/models.js +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/AreaBox/Map/Map.scss +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/areasResponse.interface.js +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Factories/factoriesResponse.interface.js +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/home.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/index.js +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/matash.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/plant.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/shape.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/water.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/down-arrow.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/gas.svg +0 -0
- /package/lib/{components/Sector/svgs → DashboardV2/UtilityDashboard/MostPolluting/assets}/leather.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/metal.svg +0 -0
- /package/lib/{components/Sector/svgs → DashboardV2/UtilityDashboard/MostPolluting/assets}/shop.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/show-more.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/models.js +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/MostSevereEvents.scss +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/NoEvents/discover.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/SevereEvent.scss +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/info.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/pipe-bluckages.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/pipe.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/sludge.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/models.js +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/arrow.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/bacteria.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/clock.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/pipes.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/QualitySummary/assets/down-arrow.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/QualitySummary/qualitySummaryResponse.interface.js +0 -0
- /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/UtilityInformation/UtilityInformationResponse.interface.js +0 -0
- /package/lib/{pages/SitePage → DashboardV2/types}/IDashboardData.js +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/_colors.scss +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/EventInfoStyle.scss +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/agriculture.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/bacteria-process.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/effluent.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/energy.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/equipment.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/extra-biological-sludge.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/overflow.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/pipes-bluckages.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/pipes-infrastructure.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/reuse.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/sea-rivers.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/sludge.svg +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/map/floatingGraphStyle.scss +0 -0
- /package/lib/{pages/EventsPage → EventsView/views}/components/map/mapStyle.scss +0 -0
- /package/lib/{assets/fonts → fonts}/Gilroy-ExtraBold.otf +0 -0
- /package/lib/{assets/fonts → fonts}/Gilroy-Light.otf +0 -0
- /package/lib/{assets/fonts → fonts}/Gilroy-Regular.otf +0 -0
- /package/lib/{assets/fonts → fonts}/Gilroy-SemiBold.otf +0 -0
- /package/lib/{components → shared}/TimeRangeSelector/styles.scss +0 -0
- /package/lib/{components → shared/components}/Breadcrumbs/styles.scss +0 -0
- /package/lib/{components → shared/components}/DamageType/styles.scss +0 -0
- /package/lib/{components → shared/components}/DischargeHeatmap/styles.scss +0 -0
- /package/lib/{components → shared/components}/Events/styles.scss +0 -0
- /package/lib/{components → shared/components}/KandoModal/styles.scss +0 -0
- /package/lib/{components → shared/components}/LiveEvents/styles.scss +0 -0
- /package/lib/{components → shared/components}/Map/styles.scss +0 -0
- /package/lib/{components → shared/components}/PasswordInput/show.svg +0 -0
- /package/lib/{components → shared/components}/PointInfo/styles.scss +0 -0
- /package/lib/{components → shared/components}/Search/styles.scss +0 -0
- /package/lib/{components → shared/components}/Sector/styles.scss +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/Brewing.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/Cowshed.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/Garage.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/Missing.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/barrel.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/beer.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/beverage.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/car-repair.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/car-wash.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/chemistry.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/conductor-manufacturer.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/cosmetic-manufacturer.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/cow.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/cpu.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/dairy.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/dippel-oil.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/food-donation.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/food-factory.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/garbage-truck-1.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/gas-station.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/glass-manufacturer.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/glass.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/hand-washing.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/hospital.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/hotel.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/laundromat.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/leather-factory.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage/MostPolluting/assets → shared/components/Sector/svgs}/leather.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/lipstick.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/meat.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/metal-coating-plant.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/metal-facbrication.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/milk.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/oil-rig.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/petrochemical.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/pie.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/pills.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/plant-unkown-3.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/plastic-rubber.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/printer.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/recycling.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/refinery.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/repair.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/sewing-machine.svg +0 -0
- /package/lib/{pages/UtilityDashboardPage/MostPolluting/assets → shared/components/Sector/svgs}/shop.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/soda.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/spray-gun.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/washing-machine.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/waste.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/welder-a.svg +0 -0
- /package/lib/{components → shared/components}/Sector/svgs/wine-glass.svg +0 -0
- /package/lib/{components → shared/components}/Select/Select.scss +0 -0
- /package/lib/{components → shared/components}/Toggle/styles.scss +0 -0
- /package/lib/{components → shared/components}/TrendGraph/styles.scss +0 -0
- /package/lib/{components → shared/components}/TrendGraphNVL/styles.scss +0 -0
- /package/lib/{models → shared/models}/IAction.js +0 -0
- /package/lib/{models → shared/models}/IAppState.js +0 -0
- /package/lib/{store → shared/redux}/WBE/models/IAreaWBE.js +0 -0
- /package/lib/{store → shared/redux}/WBE/models/IWBE.js +0 -0
- /package/lib/{store → shared/redux}/WBE/models/IWBEState.js +0 -0
- /package/lib/{store → shared/redux}/areas/models/IArea.js +0 -0
- /package/lib/{store → shared/redux}/areas/models/IAreasState.js +0 -0
- /package/lib/{store → shared/redux}/context/models/INavContext.js +0 -0
- /package/lib/{store → shared/redux}/context/models/INavContextState.js +0 -0
- /package/lib/{store → shared/redux}/edges/models/IEdge.js +0 -0
- /package/lib/{store → shared/redux}/edges/models/IEdgesState.js +0 -0
- /package/lib/{store → shared/redux}/events/models/IEvent.js +0 -0
- /package/lib/{store → shared/redux}/events/models/IEventsState.js +0 -0
- /package/lib/{store → shared/redux}/events/models/ISource.js +0 -0
- /package/lib/{store → shared/redux}/filters/IFilter.js +0 -0
- /package/lib/{store → shared/redux}/filters/IFilterItem.js +0 -0
- /package/lib/{store → shared/redux}/global/models/IGlobalState.js +0 -0
- /package/lib/{store → shared/redux}/points/models/IGroup.js +0 -0
- /package/lib/{store → shared/redux}/points/models/IPoint.js +0 -0
- /package/lib/{store → shared/redux}/points/models/IPointsState.js +0 -0
- /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-matash-white.svg +0 -0
- /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-plant-white.svg +0 -0
- /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-suction.svg +0 -0
- /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-water.svg +0 -0
- /package/lib/{i18n → shared/utilities/i18n}/fr.json +0 -0
- /package/lib/{i18n → shared/utilities/i18n}/he.json +0 -0
- /package/lib/{i18n → shared/utilities/i18n}/it.json +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/classCallCheck"));
|
|
11
|
+
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/createClass"));
|
|
13
|
+
|
|
14
|
+
var _lodash = _interopRequireDefault(require("lodash"));
|
|
15
|
+
|
|
16
|
+
var _en = _interopRequireDefault(require("./i18n/en.json"));
|
|
17
|
+
|
|
18
|
+
var _fr = _interopRequireDefault(require("./i18n/fr.json"));
|
|
19
|
+
|
|
20
|
+
var _he = _interopRequireDefault(require("./i18n/he.json"));
|
|
21
|
+
|
|
22
|
+
var _it = _interopRequireDefault(require("./i18n/it.json"));
|
|
23
|
+
|
|
24
|
+
var i18n = /*#__PURE__*/function () {
|
|
25
|
+
function i18n() {
|
|
26
|
+
(0, _classCallCheck2.default)(this, i18n);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
(0, _createClass2.default)(i18n, null, [{
|
|
30
|
+
key: "t",
|
|
31
|
+
value: function t(scope) {
|
|
32
|
+
var urlSearchParams = new URLSearchParams(window.location.search);
|
|
33
|
+
var localKey = urlSearchParams.get('locale') || 'en';
|
|
34
|
+
var defaultWarnValue = "[".concat(localKey, " MISSING ").concat(scope, "]");
|
|
35
|
+
|
|
36
|
+
var value = _lodash.default.get(i18n.locals, "".concat(localKey, ".").concat(scope), defaultWarnValue);
|
|
37
|
+
|
|
38
|
+
if (value === defaultWarnValue) {
|
|
39
|
+
if (!i18n.emptyKeys["".concat(localKey, ".").concat(scope)]) {
|
|
40
|
+
i18n.emptyKeys["".concat(localKey, ".").concat(scope)] = 1;
|
|
41
|
+
console.error("Translation scope \"".concat(scope, "\" is missing for local file ").concat(localKey));
|
|
42
|
+
} else {
|
|
43
|
+
++i18n.emptyKeys["".concat(localKey, ".").concat(scope)];
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
50
|
+
key: "init",
|
|
51
|
+
value: function init(prefix) {
|
|
52
|
+
var prefixToFileMap = {
|
|
53
|
+
en: _en.default,
|
|
54
|
+
fr: _fr.default,
|
|
55
|
+
he: _he.default,
|
|
56
|
+
it: _it.default
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
if (!prefixToFileMap[prefix]) {
|
|
60
|
+
console.error("Local url param \"".concat(prefix, "\" isn't valid"));
|
|
61
|
+
prefix = 'en';
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
i18n.locals = prefixToFileMap[prefix];
|
|
65
|
+
return i18n.locals;
|
|
66
|
+
}
|
|
67
|
+
}]);
|
|
68
|
+
return i18n;
|
|
69
|
+
}();
|
|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biBzY29wZSBcIiR7c2NvcGV9XCIgaXMgbWlzc2luZyBmb3IgbG9jYWwgZmlsZSAke2xvY2FsS2V5fWAsXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgKytpMThuLmVtcHR5S2V5c1tgJHtsb2NhbEtleX0uJHtzY29wZX1gXTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdmFsdWU7XG4gICAgfVxuXG4gICAgc3RhdGljIGluaXQocHJlZml4OiBzdHJpbmcpIHtcbiAgICAgICAgY29uc3QgcHJlZml4VG9GaWxlTWFwID0ge1xuICAgICAgICAgICAgZW4sXG4gICAgICAgICAgICBmcixcbiAgICAgICAgICAgIGhlLFxuICAgICAgICAgICAgaXQsXG4gICAgICAgIH07XG5cbiAgICAgICAgaWYgKCFwcmVmaXhUb0ZpbGVNYXBbcHJlZml4XSkge1xuICAgICAgICAgICAgY29uc29sZS5lcnJvcihgTG9jYWwgdXJsIHBhcmFtIFwiJHtwcmVmaXh9XCIgaXNuJ3QgdmFsaWRgKTtcbiAgICAgICAgICAgIHByZWZpeCA9ICdlbic7XG4gICAgICAgIH1cbiAgICAgICAgaTE4bi5sb2NhbHMgPSBwcmVmaXhUb0ZpbGVNYXBbcHJlZml4XTtcbiAgICAgICAgcmV0dXJuIGkxOG4ubG9jYWxzO1xuICAgIH1cbn1cbiJdfQ==
|
package/lib/styles.scss
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'Gilroy';
|
|
3
|
-
src: url('./
|
|
3
|
+
src: url('./fonts/Gilroy-Light.otf') format('opentype');
|
|
4
4
|
font-weight: 300;
|
|
5
5
|
font-style: normal;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
@font-face {
|
|
9
9
|
font-family: 'Gilroy';
|
|
10
|
-
src: url('./
|
|
10
|
+
src: url('./fonts/Gilroy-ExtraBold.otf') format('opentype');
|
|
11
11
|
font-weight: 700;
|
|
12
12
|
font-style: normal;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@font-face {
|
|
16
16
|
font-family: 'Gilroy';
|
|
17
|
-
src: url('./
|
|
17
|
+
src: url('./fonts/Gilroy-Regular.otf') format('opentype');
|
|
18
18
|
font-weight: 400;
|
|
19
19
|
font-style: normal;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@font-face {
|
|
23
23
|
font-family: 'Gilroy';
|
|
24
|
-
src: url('./
|
|
24
|
+
src: url('./fonts/Gilroy-SemiBold.otf') format('opentype');
|
|
25
25
|
font-weight: 600;
|
|
26
26
|
font-style: normal;
|
|
27
27
|
}
|
|
@@ -39,132 +39,3 @@
|
|
|
39
39
|
margin: 0;
|
|
40
40
|
padding: 0;
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
$flex-basis: 160px;
|
|
44
|
-
|
|
45
|
-
.l2 {
|
|
46
|
-
box-sizing: border-box;
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
|
|
50
|
-
&__controls {
|
|
51
|
-
display: flex;
|
|
52
|
-
background: #f2f2f2;
|
|
53
|
-
padding: 4px 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&__breadcrumbs {
|
|
57
|
-
flex: 3 1 $flex-basis;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&__buttons {
|
|
61
|
-
flex: 2 1 $flex-basis;
|
|
62
|
-
margin-left: auto;
|
|
63
|
-
}
|
|
64
|
-
&__row-title {
|
|
65
|
-
}
|
|
66
|
-
&__group-name {
|
|
67
|
-
line-height: 60px;
|
|
68
|
-
margin: 20px;
|
|
69
|
-
}
|
|
70
|
-
&__content {
|
|
71
|
-
margin: 0 20px;
|
|
72
|
-
display: flex;
|
|
73
|
-
}
|
|
74
|
-
&__col-1 {
|
|
75
|
-
display: flex;
|
|
76
|
-
flex: 2 1 $flex-basis;
|
|
77
|
-
flex-direction: column;
|
|
78
|
-
}
|
|
79
|
-
&__col-2 {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex: 8 1 $flex-basis;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
margin: 0 0 0 10px;
|
|
84
|
-
}
|
|
85
|
-
&__row-1 {
|
|
86
|
-
display: flex;
|
|
87
|
-
}
|
|
88
|
-
&__row-2 {
|
|
89
|
-
display: flex;
|
|
90
|
-
margin: 20px 0 0;
|
|
91
|
-
}
|
|
92
|
-
&__events {
|
|
93
|
-
flex: 8 1 $flex-basis;
|
|
94
|
-
}
|
|
95
|
-
&__damage {
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
height: 150px;
|
|
98
|
-
flex: 3 1 $flex-basis;
|
|
99
|
-
margin: 0 0 0 14px;
|
|
100
|
-
}
|
|
101
|
-
&__trend {
|
|
102
|
-
flex: 8 1 $flex-basis;
|
|
103
|
-
min-height: 100px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&__trend-title {
|
|
107
|
-
font-weight: bold;
|
|
108
|
-
font-size: 18px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&__discharge {
|
|
112
|
-
width: 300px;
|
|
113
|
-
flex: 3 1 $flex-basis;
|
|
114
|
-
margin: 0 0 0 14px;
|
|
115
|
-
}
|
|
116
|
-
&__live-events {
|
|
117
|
-
margin: 20px 0 0;
|
|
118
|
-
padding: 0;
|
|
119
|
-
|
|
120
|
-
.event-content__header {
|
|
121
|
-
justify-content: center !important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.carousel-control-next-icon {
|
|
125
|
-
margin-top: 33px;
|
|
126
|
-
align-self: start;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.carousel-control-prev-icon {
|
|
130
|
-
margin-top: 33px;
|
|
131
|
-
align-self: start;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.carousel-indicators li {
|
|
135
|
-
background-color: grey !important;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
&__factory-info {
|
|
139
|
-
font-weight: bold;
|
|
140
|
-
font-size: 18px;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.t-range-ctrl {
|
|
145
|
-
margin: 2px 20px;
|
|
146
|
-
float: right;
|
|
147
|
-
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.rtls {
|
|
153
|
-
.t-range-ctrl {
|
|
154
|
-
float: left;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.l2 {
|
|
158
|
-
&__col-2 {
|
|
159
|
-
margin: 0 10px 0 0;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&__damage {
|
|
163
|
-
margin: 0 14px 0 0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&__discharge {
|
|
167
|
-
margin: 0 14px 0 0;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
package/package.json
CHANGED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _reactRedux = require("react-redux");
|
|
13
|
-
|
|
14
|
-
require("./styles.scss");
|
|
15
|
-
|
|
16
|
-
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
17
|
-
var parts = _ref.parts;
|
|
18
|
-
parts = parts.filter(function (part) {
|
|
19
|
-
return !!part;
|
|
20
|
-
});
|
|
21
|
-
var navContext = (0, _reactRedux.useSelector)(function (state) {
|
|
22
|
-
return state.nav_context_data.navContext;
|
|
23
|
-
});
|
|
24
|
-
var dir = navContext.locale === 'he' ? 'rtl' : 'ltr';
|
|
25
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
26
|
-
className: "breadcrumbs",
|
|
27
|
-
dir: dir
|
|
28
|
-
}, parts.map(function (part, idx) {
|
|
29
|
-
return /*#__PURE__*/_react.default.createElement("span", {
|
|
30
|
-
className: "breadcrumbs__part-wrap",
|
|
31
|
-
key: "bread-".concat(idx),
|
|
32
|
-
dir: dir
|
|
33
|
-
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
34
|
-
className: "breadcrumbs__part"
|
|
35
|
-
}, part), idx !== parts.length - 1 && /*#__PURE__*/_react.default.createElement("span", {
|
|
36
|
-
className: "breadcrumbs__sep"
|
|
37
|
-
}, ">"));
|
|
38
|
-
}));
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
var _default = Breadcrumbs;
|
|
42
|
-
exports.default = _default;
|
|
43
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JyZWFkY3J1bWJzL0JyZWFkY3J1bWJzLnRzeCJdLCJuYW1lcyI6WyJCcmVhZGNydW1icyIsInBhcnRzIiwiZmlsdGVyIiwicGFydCIsIm5hdkNvbnRleHQiLCJzdGF0ZSIsIm5hdl9jb250ZXh0X2RhdGEiLCJkaXIiLCJsb2NhbGUiLCJtYXAiLCJpZHgiLCJsZW5ndGgiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUVBOztBQU9BLElBQU1BLFdBQVcsR0FBRyxTQUFkQSxXQUFjLE9BQXVCO0FBQUEsTUFBcEJDLEtBQW9CLFFBQXBCQSxLQUFvQjtBQUN2Q0EsRUFBQUEsS0FBSyxHQUFHQSxLQUFLLENBQUNDLE1BQU4sQ0FBYSxVQUFDQyxJQUFEO0FBQUEsV0FBVSxDQUFDLENBQUNBLElBQVo7QUFBQSxHQUFiLENBQVI7QUFFQS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ZGNydW1icyA9ICh7IHBhcnRzIH06IElQcm9wcykgPT4ge1xuICAgIHBhcnRzID0gcGFydHMuZmlsdGVyKChwYXJ0KSA9PiAhIXBhcnQpO1xuXG4gICAgY29uc3QgbmF2Q29udGV4dCA9IHVzZVNlbGVjdG9yKFxuICAgICAgICAoc3RhdGU6IFJldHVyblR5cGU8dHlwZW9mIGFwcFJlZHVjZXI+KSA9PlxuICAgICAgICAgICAgc3RhdGUubmF2X2NvbnRleHRfZGF0YS5uYXZDb250ZXh0LFxuICAgICk7XG5cbiAgICBjb25zdCBkaXIgPSBuYXZDb250ZXh0LmxvY2FsZSA9PT0gJ2hlJyA/ICdydGwnIDogJ2x0cic7XG5cbiAgICByZXR1cm4gKFxuICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImJyZWFkY3J1bWJzXCIgZGlyPXtkaXJ9PlxuICAgICAgICAgICAge3BhcnRzLm1hcCgocGFydCwgaWR4KSA9PiAoXG4gICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwiYnJlYWRjcnVtYnNfX3BhcnQtd3JhcFwiXG4gICAgICAgICAgICAgICAgICAgIGtleT17YGJyZWFkLSR7aWR4fWB9XG4gICAgICAgICAgICAgICAgICAgIGRpcj17ZGlyfVxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwiYnJlYWRjcnVtYnNfX3BhcnRcIj57cGFydH08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgIHtpZHggIT09IHBhcnRzLmxlbmd0aCAtIDEgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwiYnJlYWRjcnVtYnNfX3NlcFwiPiZndDs8L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgKSl9XG4gICAgICAgIDwvZGl2PlxuICAgICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBCcmVhZGNydW1icztcbiJdfQ==
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.RowLoader = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _reactContentLoader = _interopRequireDefault(require("react-content-loader"));
|
|
13
|
-
|
|
14
|
-
var RowLoader = function RowLoader(_ref) {
|
|
15
|
-
var fromX = _ref.fromX,
|
|
16
|
-
fromY = _ref.fromY,
|
|
17
|
-
width = _ref.width,
|
|
18
|
-
height = _ref.height,
|
|
19
|
-
bgColor = _ref.bgColor,
|
|
20
|
-
fgColor = _ref.fgColor,
|
|
21
|
-
margin = _ref.margin;
|
|
22
|
-
bgColor = bgColor || '#ebebeb';
|
|
23
|
-
fgColor = fgColor || '#ccc';
|
|
24
|
-
fromX = fromX || 0;
|
|
25
|
-
fromY = fromY || 0;
|
|
26
|
-
height = height || '100%';
|
|
27
|
-
width = width || '100%';
|
|
28
|
-
margin = margin || 0;
|
|
29
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
30
|
-
className: "content-loader-wrapper",
|
|
31
|
-
style: {
|
|
32
|
-
margin: margin
|
|
33
|
-
}
|
|
34
|
-
}, /*#__PURE__*/_react.default.createElement(_reactContentLoader.default, {
|
|
35
|
-
speed: 1,
|
|
36
|
-
width: width,
|
|
37
|
-
height: height,
|
|
38
|
-
backgroundColor: bgColor,
|
|
39
|
-
foregroundColor: fgColor
|
|
40
|
-
}, /*#__PURE__*/_react.default.createElement("rect", {
|
|
41
|
-
x: "0",
|
|
42
|
-
y: "0",
|
|
43
|
-
rx: "3",
|
|
44
|
-
ry: "3",
|
|
45
|
-
width: "67",
|
|
46
|
-
height: "11"
|
|
47
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
48
|
-
x: "76",
|
|
49
|
-
y: "0",
|
|
50
|
-
rx: "3",
|
|
51
|
-
ry: "3",
|
|
52
|
-
width: "140",
|
|
53
|
-
height: "11"
|
|
54
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
55
|
-
x: "116",
|
|
56
|
-
y: "96",
|
|
57
|
-
rx: "3",
|
|
58
|
-
ry: "3",
|
|
59
|
-
width: "53",
|
|
60
|
-
height: "11"
|
|
61
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
62
|
-
x: fromX,
|
|
63
|
-
y: fromY,
|
|
64
|
-
width: width,
|
|
65
|
-
height: height,
|
|
66
|
-
rx: "5",
|
|
67
|
-
ry: "5"
|
|
68
|
-
})));
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
exports.RowLoader = RowLoader;
|
|
72
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0NvbnRlbnRMb2FkZXIvQ29udGVudExvYWRlci50c3giXSwibmFtZXMiOlsiUm93TG9hZGVyIiwiZnJvbVgiLCJmcm9tWSIsIndpZHRoIiwiaGVpZ2h0IiwiYmdDb2xvciIsImZnQ29sb3IiLCJtYXJnaW4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQVlPLElBQU1BLFNBQVMsR0FBRyxTQUFaQSxTQUFZLE9BUUg7QUFBQSxNQVBsQkMsS0FPa0IsUUFQbEJBLEtBT2tCO0FBQUEsTUFObEJDLEtBTWtCLFFBTmxCQSxLQU1rQjtBQUFBLE1BTGxCQyxLQUtrQixRQUxsQkEsS0FLa0I7QUFBQSxNQUpsQkMsTUFJa0IsUUFKbEJBLE1BSWtCO0FBQUEsTUFIbEJDLE9BR2tCLFFBSG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dCB4PVwiNzZcIiB5PVwiMFwiIHJ4PVwiM1wiIHJ5PVwiM1wiIHdpZHRoPVwiMTQwXCIgaGVpZ2h0PVwiMTFcIiAvPlxuICAgICAgICAgICAgICAgIDxyZWN0IHg9XCIxMTZcIiB5PVwiOTZcIiByeD1cIjNcIiByeT1cIjNcIiB3aWR0aD1cIjUzXCIgaGVpZ2h0PVwiMTFcIiAvPlxuICAgICAgICAgICAgICAgIDxyZWN0XG4gICAgICAgICAgICAgICAgICAgIHg9e2Zyb21YfVxuICAgICAgICAgICAgICAgICAgICB5PXtmcm9tWX1cbiAgICAgICAgICAgICAgICAgICAgd2lkdGg9e3dpZHRofVxuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ9e2hlaWdodH1cbiAgICAgICAgICAgICAgICAgICAgcng9XCI1XCJcbiAgICAgICAgICAgICAgICAgICAgcnk9XCI1XCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgPC9Db250ZW50TG9hZGVyPlxuICAgICAgICA8L2Rpdj5cbiAgICApO1xufTtcbiJdfQ==
|