@kando-env/kando-ui 1.0.1 → 1.0.2
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/package.json +1 -1
- package/src/bundles/Router.tsx +1 -0
- package/lib-build/CovidView/views/components/Body.js +0 -90
- package/lib-build/CovidView/views/components/Map.js +0 -142
- package/lib-build/CovidView/views/components/MapStyle.scss +0 -387
- package/lib-build/CovidView/views/components/Sidebar.js +0 -50
- package/lib-build/CovidView/views/components/SidebarStyle.scss +0 -11
- package/lib-build/CovidView/views/components/Summary.js +0 -145
- package/lib-build/CovidView/views/components/SummaryStyle.scss +0 -61
- package/lib-build/CovidView/views/components/areas/Area.js +0 -171
- package/lib-build/CovidView/views/components/areas/AreaPolygonWBE.js +0 -241
- package/lib-build/CovidView/views/components/areas/AreaPolygonsWBE.js +0 -81
- package/lib-build/CovidView/views/components/areas/AreasList.js +0 -123
- package/lib-build/CovidView/views/components/areas/AreasStyle.scss +0 -237
- package/lib-build/CovidView/views/components/areas/Sort.js +0 -59
- package/lib-build/CovidView/views/components/areas/TrendPopupContent/TrendPopupContent.js +0 -148
- package/lib-build/CovidView/views/components/areas/TrendPopupContent/index.js +0 -13
- package/lib-build/CovidView/views/components/areas/TrendPopupContent/styles.scss +0 -30
- package/lib-build/CovidView/views/covidView.js +0 -46
- package/lib-build/DashboardV2/AreaDashboard.js +0 -116
- package/lib-build/DashboardV2/SiteDashboard.js +0 -364
- package/lib-build/DashboardV2/WaterAuthorityDashboard.js +0 -45
- package/lib-build/DashboardV2/index.js +0 -31
- package/lib-build/DashboardV2/styles.scss +0 -126
- package/lib-build/DashboardV2/types/IDashboardData.js +0 -5
- package/lib-build/EventsView/views/_colors.scss +0 -1
- package/lib-build/EventsView/views/components/Body.js +0 -76
- package/lib-build/EventsView/views/components/areas/AreaPolygon.js +0 -53
- package/lib-build/EventsView/views/components/areas/AreaPolygons.js +0 -63
- package/lib-build/EventsView/views/components/edges/Edge.js +0 -75
- package/lib-build/EventsView/views/components/edges/Edges.js +0 -50
- package/lib-build/EventsView/views/components/events/EventIndicator.js +0 -274
- package/lib-build/EventsView/views/components/events/EventPath.js +0 -94
- package/lib-build/EventsView/views/components/events/EventsStyle.scss +0 -725
- package/lib-build/EventsView/views/components/events/MoreInfo.js +0 -72
- package/lib-build/EventsView/views/components/events/Sidebar.js +0 -62
- package/lib-build/EventsView/views/components/events/event_info/EarlyWarnings.js +0 -151
- package/lib-build/EventsView/views/components/events/event_info/EventDetails.js +0 -100
- package/lib-build/EventsView/views/components/events/event_info/EventInfo.js +0 -138
- package/lib-build/EventsView/views/components/events/event_info/EventInfoStyle.scss +0 -508
- package/lib-build/EventsView/views/components/events/event_info/EventTimeRange.js +0 -152
- package/lib-build/EventsView/views/components/events/event_info/HistoricalInformation.js +0 -44
- package/lib-build/EventsView/views/components/events/event_info/MiniEventTree.js +0 -116
- package/lib-build/EventsView/views/components/events/event_info/MobileEventPath.js +0 -39
- package/lib-build/EventsView/views/components/events/event_info/PollutionDischarge.js +0 -64
- package/lib-build/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +0 -75
- package/lib-build/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +0 -121
- package/lib-build/EventsView/views/components/events/event_info/damage_type/DamageType.js +0 -109
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/agriculture.svg +0 -29
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/bacteria-process.svg +0 -90
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/effluent.svg +0 -55
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/energy.svg +0 -42
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/equipment.svg +0 -82
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/extra-biological-sludge.svg +0 -40
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/overflow.svg +0 -26
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/pipes-bluckages.svg +0 -29
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/pipes-infrastructure.svg +0 -31
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/reuse.svg +0 -29
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/sea-rivers.svg +0 -54
- package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/sludge.svg +0 -37
- package/lib-build/EventsView/views/components/events/event_info/samplings/Sampling.js +0 -28
- package/lib-build/EventsView/views/components/events/event_info/samplings/Samplings.js +0 -36
- package/lib-build/EventsView/views/components/events/event_info/sources/Source.js +0 -118
- package/lib-build/EventsView/views/components/events/event_info/sources/Sources.js +0 -46
- package/lib-build/EventsView/views/components/events/events_list/EventItem.js +0 -139
- package/lib-build/EventsView/views/components/events/events_list/EventsList.js +0 -298
- package/lib-build/EventsView/views/components/events/events_list/Filter/Filter.js +0 -137
- package/lib-build/EventsView/views/components/events/events_list/Filter/FilterContainer.js +0 -382
- package/lib-build/EventsView/views/components/events/events_list/Filter/FilterItem.js +0 -218
- package/lib-build/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +0 -68
- package/lib-build/EventsView/views/components/events/events_list/Filter/OptionsDropDown.js +0 -139
- package/lib-build/EventsView/views/components/events/events_list/Sort.js +0 -92
- package/lib-build/EventsView/views/components/map/FloatingGraph.js +0 -83
- package/lib-build/EventsView/views/components/map/Map.js +0 -162
- package/lib-build/EventsView/views/components/map/mapStyle.scss +0 -387
- package/lib-build/EventsView/views/components/points/PointMarker.js +0 -453
- package/lib-build/EventsView/views/components/points/PointMarkers.js +0 -30
- package/lib-build/EventsView/views/eventsView.js +0 -47
- package/lib-build/ProjectManagement/api/index.js +0 -19
- package/lib-build/ProjectManagement/components/kpi-list-item.js +0 -88
- package/lib-build/ProjectManagement/components/kpi-percentage-item.js +0 -98
- package/lib-build/ProjectManagement/components/kpi.js +0 -71
- package/lib-build/ProjectManagement/components/legend-icon.js +0 -61
- package/lib-build/ProjectManagement/components/link-to-item.js +0 -67
- package/lib-build/ProjectManagement/components/list-of-points.js +0 -111
- package/lib-build/ProjectManagement/components/map-view.js +0 -128
- package/lib-build/ProjectManagement/components/metrics.js +0 -94
- package/lib-build/ProjectManagement/components/node-label.js +0 -66
- package/lib-build/ProjectManagement/components/period-selector-button.js +0 -68
- package/lib-build/ProjectManagement/components/period-selector.js +0 -79
- package/lib-build/ProjectManagement/components/point-preview.js +0 -298
- package/lib-build/ProjectManagement/components/project-management.js +0 -262
- package/lib-build/ProjectManagement/components/tree-legend.js +0 -100
- package/lib-build/ProjectManagement/components/tree-view.js +0 -281
- package/lib-build/ProjectManagement/stores/project-management-store.js +0 -32
- package/lib-build/ProjectManagement/util/constants.js +0 -10
- package/lib-build/ProjectManagement/util/treeUtil.js +0 -45
- package/lib-build/ProjectManagement/util/url.js +0 -24
- package/lib-build/Router.js +0 -64
- package/lib-build/assets/NVL_trends/down.png +0 -0
- package/lib-build/assets/NVL_trends/same.png +0 -0
- package/lib-build/assets/NVL_trends/up.png +0 -0
- package/lib-build/assets/area_statuses/invalid-sampling.png +0 -0
- package/lib-build/assets/area_statuses/missing-sampling.png +0 -0
- package/lib-build/assets/area_statuses/pending-sampling.png +0 -0
- package/lib-build/assets/area_statuses/valid-sampling.png +0 -0
- package/lib-build/assets/factory-icon.png +0 -0
- package/lib-build/assets/flask.svg +0 -7
- package/lib-build/assets/kando_logo.png +0 -0
- package/lib-build/assets/line-chart.svg +0 -56
- package/lib-build/assets/missing/authority.png +0 -0
- package/lib-build/assets/missing/group.png +0 -0
- package/lib-build/assets/missing/point.png +0 -0
- package/lib-build/assets/no_events.svg +0 -31
- package/lib-build/assets/no_results.svg +0 -327
- package/lib-build/assets/point_icons/WWTP-icon.svg +0 -26
- package/lib-build/assets/point_icons/blue-circle.svg +0 -3
- package/lib-build/assets/point_icons/bright-blue-circle.svg +0 -3
- package/lib-build/assets/point_icons/factory-icon.svg +0 -23
- package/lib-build/assets/point_icons/green-circle.png +0 -0
- package/lib-build/assets/point_icons/green-circle.svg +0 -3
- package/lib-build/assets/point_icons/observation-icon.svg +0 -12
- package/lib-build/assets/point_icons/pink-circle.svg +0 -3
- package/lib-build/assets/point_icons/pump-station-icon.svg +0 -15
- package/lib-build/assets/point_icons/red-pin-red-shadow.png +0 -0
- package/lib-build/assets/point_icons/sampling-icon.svg +0 -9
- package/lib-build/assets/point_icons/white-pin-black-shadow.png +0 -0
- package/lib-build/assets/point_icons/white-pin-red-shadow.png +0 -0
- package/lib-build/assets/point_icons/yellow-circle.svg +0 -3
- package/lib-build/assets/sewer.svg +0 -3
- package/lib-build/assets/user.svg +0 -44
- package/lib-build/assets/white-point.png +0 -0
- package/lib-build/index.js +0 -34
- package/lib-build/shared/TimeRangeSelector/TimeRangeSelector.js +0 -111
- package/lib-build/shared/TimeRangeSelector/constants.js +0 -8
- package/lib-build/shared/TimeRangeSelector/index.js +0 -13
- package/lib-build/shared/TimeRangeSelector/styles.scss +0 -65
- package/lib-build/shared/components/Breadcrumbs/Breadcrumbs.js +0 -42
- package/lib-build/shared/components/Breadcrumbs/index.js +0 -13
- package/lib-build/shared/components/Breadcrumbs/styles.scss +0 -8
- package/lib-build/shared/components/ContentLoader/ContentLoader.js +0 -71
- package/lib-build/shared/components/ContentLoader/index.js +0 -13
- package/lib-build/shared/components/DamageType/DamageType.js +0 -263
- package/lib-build/shared/components/DamageType/index.js +0 -13
- package/lib-build/shared/components/DamageType/styles.scss +0 -50
- package/lib-build/shared/components/DischargeHeatmap/DischargeHeatmap.js +0 -218
- package/lib-build/shared/components/DischargeHeatmap/index.js +0 -13
- package/lib-build/shared/components/DischargeHeatmap/styles.scss +0 -17
- package/lib-build/shared/components/ErrorBoundary.js +0 -72
- package/lib-build/shared/components/Events/Events.js +0 -240
- package/lib-build/shared/components/Events/index.js +0 -13
- package/lib-build/shared/components/Events/styles.scss +0 -131
- package/lib-build/shared/components/Graph/Graph.js +0 -213
- package/lib-build/shared/components/Graph/index.js +0 -13
- package/lib-build/shared/components/KandoModal/KandoModal.js +0 -118
- package/lib-build/shared/components/KandoModal/index.js +0 -13
- package/lib-build/shared/components/KandoModal/styles.scss +0 -19
- package/lib-build/shared/components/KandoNavbar/KandoNavbar.js +0 -290
- package/lib-build/shared/components/KandoNavbar/NavbarStyle.scss +0 -238
- package/lib-build/shared/components/KandoNavbar/index.js +0 -13
- package/lib-build/shared/components/LiveEvents/CarouselSlide.js +0 -62
- package/lib-build/shared/components/LiveEvents/LiveEvents.js +0 -58
- package/lib-build/shared/components/LiveEvents/index.js +0 -13
- package/lib-build/shared/components/LiveEvents/styles.scss +0 -80
- package/lib-build/shared/components/Map/Map.js +0 -90
- package/lib-build/shared/components/Map/index.js +0 -13
- package/lib-build/shared/components/Map/styles.scss +0 -7
- package/lib-build/shared/components/NarrowHeader.js +0 -57
- package/lib-build/shared/components/PointInfo/PointInfo.js +0 -83
- package/lib-build/shared/components/PointInfo/index.js +0 -13
- package/lib-build/shared/components/PointInfo/styles.scss +0 -48
- package/lib-build/shared/components/Search/Search.js +0 -159
- package/lib-build/shared/components/Search/index.js +0 -13
- package/lib-build/shared/components/Search/styles.scss +0 -27
- package/lib-build/shared/components/Sector/Sector.js +0 -176
- package/lib-build/shared/components/Sector/index.js +0 -13
- package/lib-build/shared/components/Sector/styles.scss +0 -14
- package/lib-build/shared/components/Sector/svgs/Brewing.svg +0 -93
- package/lib-build/shared/components/Sector/svgs/Cowshed.svg +0 -23
- package/lib-build/shared/components/Sector/svgs/Garage.svg +0 -24
- package/lib-build/shared/components/Sector/svgs/Missing.svg +0 -36
- package/lib-build/shared/components/Sector/svgs/barrel.svg +0 -93
- package/lib-build/shared/components/Sector/svgs/beer.svg +0 -13
- package/lib-build/shared/components/Sector/svgs/beverage.svg +0 -13
- package/lib-build/shared/components/Sector/svgs/car-repair.svg +0 -24
- package/lib-build/shared/components/Sector/svgs/car-wash.svg +0 -36
- package/lib-build/shared/components/Sector/svgs/chemistry.svg +0 -30
- package/lib-build/shared/components/Sector/svgs/conductor-manufacturer.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/cosmetic-manufacturer.svg +0 -23
- package/lib-build/shared/components/Sector/svgs/cow.svg +0 -23
- package/lib-build/shared/components/Sector/svgs/cpu.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/dairy.svg +0 -18
- package/lib-build/shared/components/Sector/svgs/dippel-oil.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/food-donation.svg +0 -29
- package/lib-build/shared/components/Sector/svgs/food-factory.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/garbage-truck-1.svg +0 -34
- package/lib-build/shared/components/Sector/svgs/gas-station.svg +0 -26
- package/lib-build/shared/components/Sector/svgs/glass-manufacturer.svg +0 -21
- package/lib-build/shared/components/Sector/svgs/glass.svg +0 -21
- package/lib-build/shared/components/Sector/svgs/hand-washing.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/hospital.svg +0 -28
- package/lib-build/shared/components/Sector/svgs/hotel.svg +0 -24
- package/lib-build/shared/components/Sector/svgs/laundromat.svg +0 -26
- package/lib-build/shared/components/Sector/svgs/leather-factory.svg +0 -23
- package/lib-build/shared/components/Sector/svgs/leather.svg +0 -23
- package/lib-build/shared/components/Sector/svgs/lipstick.svg +0 -23
- package/lib-build/shared/components/Sector/svgs/meat.svg +0 -24
- package/lib-build/shared/components/Sector/svgs/metal-coating-plant.svg +0 -21
- package/lib-build/shared/components/Sector/svgs/metal-facbrication.svg +0 -20
- package/lib-build/shared/components/Sector/svgs/milk.svg +0 -18
- package/lib-build/shared/components/Sector/svgs/oil-rig.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/petrochemical.svg +0 -13
- package/lib-build/shared/components/Sector/svgs/pie.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/pills.svg +0 -22
- package/lib-build/shared/components/Sector/svgs/plant-unkown-3.svg +0 -36
- package/lib-build/shared/components/Sector/svgs/plastic-rubber.svg +0 -43
- package/lib-build/shared/components/Sector/svgs/printer.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/recycling.svg +0 -17
- package/lib-build/shared/components/Sector/svgs/refinery.svg +0 -18
- package/lib-build/shared/components/Sector/svgs/repair.svg +0 -13
- package/lib-build/shared/components/Sector/svgs/sewing-machine.svg +0 -22
- package/lib-build/shared/components/Sector/svgs/shop.svg +0 -24
- package/lib-build/shared/components/Sector/svgs/soda.svg +0 -13
- package/lib-build/shared/components/Sector/svgs/spray-gun.svg +0 -21
- package/lib-build/shared/components/Sector/svgs/washing-machine.svg +0 -26
- package/lib-build/shared/components/Sector/svgs/waste.svg +0 -43
- package/lib-build/shared/components/Sector/svgs/welder-a.svg +0 -20
- package/lib-build/shared/components/Sector/svgs/wine-glass.svg +0 -15
- package/lib-build/shared/components/Toggle/Toggle.js +0 -62
- package/lib-build/shared/components/Toggle/index.js +0 -13
- package/lib-build/shared/components/Toggle/styles.scss +0 -44
- package/lib-build/shared/components/TrendGraph/TrendGraph.js +0 -217
- package/lib-build/shared/components/TrendGraph/index.js +0 -13
- package/lib-build/shared/components/TrendGraph/styles.scss +0 -2
- package/lib-build/shared/components/TrendGraphNVL/TrendGraphNVL.js +0 -167
- package/lib-build/shared/components/TrendGraphNVL/index.js +0 -13
- package/lib-build/shared/components/TrendGraphNVL/styles.scss +0 -16
- package/lib-build/shared/helpers/kql.js +0 -51
- package/lib-build/shared/helpers/time.js +0 -21
- package/lib-build/shared/models/IAction.js +0 -1
- package/lib-build/shared/models/IAppState.js +0 -5
- package/lib-build/shared/redux/WBE/actionTypes.js +0 -8
- package/lib-build/shared/redux/WBE/actions.js +0 -15
- package/lib-build/shared/redux/WBE/models/IAreaWBE.js +0 -5
- package/lib-build/shared/redux/WBE/models/IWBE.js +0 -5
- package/lib-build/shared/redux/WBE/models/IWBEState.js +0 -5
- package/lib-build/shared/redux/WBE/reducer.js +0 -40
- package/lib-build/shared/redux/areas/actionTypes.js +0 -12
- package/lib-build/shared/redux/areas/actions.js +0 -40
- package/lib-build/shared/redux/areas/models/IArea.js +0 -5
- package/lib-build/shared/redux/areas/models/IAreasState.js +0 -5
- package/lib-build/shared/redux/areas/reducer.js +0 -56
- package/lib-build/shared/redux/context/actionTypes.js +0 -8
- package/lib-build/shared/redux/context/actions.js +0 -15
- package/lib-build/shared/redux/context/models/INavContext.js +0 -5
- package/lib-build/shared/redux/context/models/INavContextState.js +0 -5
- package/lib-build/shared/redux/context/reducer.js +0 -40
- package/lib-build/shared/redux/edges/actionTypes.js +0 -14
- package/lib-build/shared/redux/edges/actions.js +0 -48
- package/lib-build/shared/redux/edges/models/IEdge.js +0 -5
- package/lib-build/shared/redux/edges/models/IEdgesState.js +0 -5
- package/lib-build/shared/redux/edges/reducer.js +0 -79
- package/lib-build/shared/redux/events/actionTypes.js +0 -28
- package/lib-build/shared/redux/events/actions.js +0 -112
- package/lib-build/shared/redux/events/models/IEvent.js +0 -5
- package/lib-build/shared/redux/events/models/IEventsState.js +0 -5
- package/lib-build/shared/redux/events/models/ISource.js +0 -5
- package/lib-build/shared/redux/events/reducer.js +0 -196
- package/lib-build/shared/redux/filters/IFilter.js +0 -5
- package/lib-build/shared/redux/filters/IFilterItem.js +0 -5
- package/lib-build/shared/redux/global/actionTypes.js +0 -24
- package/lib-build/shared/redux/global/actions.js +0 -91
- package/lib-build/shared/redux/global/models/IGlobalState.js +0 -5
- package/lib-build/shared/redux/global/reducer.js +0 -92
- package/lib-build/shared/redux/points/actionTypes.js +0 -10
- package/lib-build/shared/redux/points/actions.js +0 -32
- package/lib-build/shared/redux/points/models/IGroup.js +0 -5
- package/lib-build/shared/redux/points/models/IPoint.js +0 -5
- package/lib-build/shared/redux/points/models/IPointsState.js +0 -5
- package/lib-build/shared/redux/points/reducer.js +0 -37
- package/lib-build/shared/redux/rootActionTypes.js +0 -8
- package/lib-build/shared/redux/rootActions.js +0 -14
- package/lib-build/shared/redux/rootReducer.js +0 -55
- package/lib-build/shared/redux/rootStore.js +0 -40
- package/lib-build/shared/utilities/ActionUtility.js +0 -17
- package/lib-build/shared/utilities/ErrorBoundary.js +0 -76
- package/lib-build/shared/utilities/KandoDate.js +0 -29
- package/lib-build/shared/utilities/KandoModal.js +0 -65
- package/lib-build/shared/utilities/LocalStorage.js +0 -48
- package/lib-build/shared/utilities/TimeFormat.js +0 -70
- package/lib-build/shared/utilities/Truncate.js +0 -81
- package/lib-build/shared/utilities/custom_hooks/useClickOutside.js +0 -26
- package/lib-build/shared/utilities/custom_hooks/useKandoFetch.js +0 -82
- package/lib-build/shared/utilities/custom_hooks/useQueryURL.js +0 -15
- package/lib-build/shared/utilities/custom_hooks/useRemoveExistingLayers.js +0 -34
- package/lib-build/shared/utilities/custom_hooks/useUpdateEventBodyTail.js +0 -62
- package/lib-build/shared/utilities/i18n.js +0 -33
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 512 512" viewBox="0 0 512 512">
|
|
2
|
-
<g>
|
|
3
|
-
<g>
|
|
4
|
-
<linearGradient id="ywp91w1coa" x1="51" x2="121" y1="177" y2="177" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
|
|
5
|
-
<stop offset="0" stop-color="#F37C1C"/>
|
|
6
|
-
<stop offset="1" stop-color="#FCC191"/>
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<path fill="url(#ywp91w1coa)" d="M51 192H121V482H51z"/>
|
|
9
|
-
<linearGradient id="k0oyzlj22b" x1="51" x2="121" y1="367" y2="367" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
|
|
10
|
-
<stop offset="0" stop-color="#F37C1C"/>
|
|
11
|
-
<stop offset="1" stop-color="#FCC191"/>
|
|
12
|
-
</linearGradient>
|
|
13
|
-
<path fill="url(#k0oyzlj22b)" d="M51 132H121V162H51z"/>
|
|
14
|
-
<linearGradient id="w9xtcsdq9c" x1="151" x2="461" y1="133" y2="133" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
|
|
15
|
-
<stop offset="0" stop-color="#EFC530"/>
|
|
16
|
-
<stop offset="1" stop-color="#FCEDB6"/>
|
|
17
|
-
</linearGradient>
|
|
18
|
-
<path fill="url(#w9xtcsdq9c)" d="M368.7 320.7c-7.6 3.3-16.4-.1-19.8-7.7-.8-1.9-1.3-4-1.3-6v-27l-92.3 40.7c-7.6 3.3-16.4-.1-19.8-7.7-.8-1.9-1.3-4-1.3-6v-27L151 316.8V482h310V280l-92.3 40.7zM426 437c0 8.3-6.7 15-15 15H201c-8.3 0-15-6.7-15-15v-70c0-8.3 6.7-15 15-15h210c8.3 0 15 6.7 15 15v70z"/>
|
|
19
|
-
<path d="M411 352H201c-8.3 0-15 6.7-15 15v70c0 8.3 6.7 15 15 15h210c8.3 0 15-6.7 15-15v-70c0-8.3-6.7-15-15-15zm-195 30h40v40h-40v-40zm70 0h40v40h-40v-40zm110 40h-40v-40h40v40z"/>
|
|
20
|
-
<path d="M497 482h-6V257c0-8.3-6.7-15-15-15-2.1 0-4.1.4-6.1 1.3L377.7 284v-27c0-8.3-6.7-15-15-15-2.1 0-4.1.4-6.1 1.3L264.3 284v-27c0-8.3-6.7-15-15-15-2.1 0-4.1.4-6 1.3L151 284V117c0-8.3-6.7-15-15-15H36c-8.3 0-15 6.7-15 15v365h-6c-8.3 0-15 6.7-15 15s6.7 15 15 15h482c8.3 0 15-6.7 15-15s-6.7-15-15-15zM121 132v30H51v-30h70zm-70 60h70v290H51V192zm100 290V316.8l83.3-36.8v27c0 8.3 6.7 15 15 15 2.1 0 4.1-.4 6.1-1.3l92.3-40.7v27c0 8.3 6.7 15 15 15 2.1 0 4.1-.4 6-1.3L461 280v202H151zM41 70c8.3 0 15-6.7 15-15 0-2.8 2.2-5 5-5h10c19.3 0 35-15.7 35-35 0-8.3-6.7-15-15-15S76 6.7 76 15c0 2.8-2.2 5-5 5H61c-19.3 0-35 15.7-35 35 0 8.3 6.7 15 15 15zM111 90c8.3 0 15-6.7 15-15 0-2.8 2.2-5 5-5h10c19.3 0 35-15.7 35-35 0-8.3-6.7-15-15-15s-15 6.7-15 15c0 2.8-2.2 5-5 5h-10c-19.3 0-35 15.7-35 35 0 8.3 6.7 15 15 15z"/>
|
|
21
|
-
</g>
|
|
22
|
-
</g>
|
|
23
|
-
</svg>
|
|
Binary file
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 512 511.9" viewBox="0 0 512 511.9">
|
|
2
|
-
<g>
|
|
3
|
-
<circle cx="326.4" cy="185.6" r="155.5" fill="#FFFFFF"/>
|
|
4
|
-
<path d="M457.6 54.3c-72.4-72.4-190.1-72.4-262.5 0-56 56.1-70.3 141.5-35.6 212.7L17.6 408.9c-23.6 23.6-23.6 61.8 0 85.3 23.6 23.6 61.8 23.6 85.3 0l141.9-141.9c92.1 45 203.3 6.7 248.3-85.4 34.8-71.2 20.5-156.6-35.5-212.6zM81.8 473c-11.8 11.8-31 11.8-42.9 0s-11.8-31 0-42.9l136.6-136.5c11.9 16.5 26.4 31 42.9 42.9L81.8 473zm354.6-177.5c-60.8 60.8-159.3 60.7-220 0s-60.7-159.3 0-220 159.3-60.7 220 0c29.2 29.2 45.6 68.7 45.6 110 .1 41.3-16.3 80.9-45.6 110z"/>
|
|
5
|
-
<path d="M328.6 74.2c-13.1 0-23.7 10.6-23.7 23.7v101c.3 13.1 11.1 23.5 24.2 23.2 12.7-.3 22.9-10.5 23.2-23.2v-101c0-13.1-10.6-23.7-23.7-23.7zM352.1 270.9c-.1-.8-.2-1.5-.3-2.3-.2-.8-.4-1.5-.6-2.2s-.5-1.5-.8-2.2-.6-1.4-1-2.1-.8-1.4-1.2-2-.9-1.3-1.4-1.9-1-1.2-1.6-1.7-1.1-1.1-1.7-1.6c-.6-.5-1.2-.9-1.9-1.4-.6-.4-1.3-.8-2-1.2s-1.4-.7-2.1-1-1.5-.6-2.2-.8-1.5-.4-2.3-.6-1.5-.3-2.3-.4c-1.6-.1-3.1-.1-4.7 0-.8.1-1.5.2-2.3.4s-1.5.4-2.3.6c-.7.2-1.5.5-2.2.8-.7.3-1.4.6-2.1 1s-1.3.8-2 1.2c-.6.4-1.3.9-1.9 1.4-.6.5-1.2 1-1.7 1.6-.5.6-1.1 1.1-1.6 1.7s-1 1.2-1.4 1.9-.8 1.3-1.2 2-.7 1.4-1 2.1-.6 1.5-.8 2.2-.4 1.5-.6 2.2-.3 1.5-.3 2.3c-.1 1.5-.1 3.1 0 4.7.1.8.2 1.5.3 2.3s.4 1.5.6 2.3c.2.7.5 1.5.8 2.2.3.7.6 1.4 1 2.1s.8 1.4 1.2 2 .9 1.3 1.4 1.9 1 1.2 1.6 1.7 1.1 1.1 1.7 1.6c.6.5 1.2.9 1.9 1.4.6.4 1.3.8 2 1.2s1.4.7 2.1 1 1.5.5 2.2.8 1.5.4 2.3.6 1.5.3 2.3.4 1.6.1 2.3.1 1.6 0 2.3-.1 1.5-.2 2.3-.4 1.5-.4 2.3-.6 1.5-.5 2.2-.8 1.4-.6 2.1-1 1.4-.8 2-1.2 1.3-.9 1.9-1.4 1.2-1 1.7-1.6 1.1-1.1 1.6-1.7 1-1.2 1.4-1.9c.4-.6.8-1.3 1.2-2 .4-.7.7-1.4 1-2.1s.6-1.5.8-2.2.4-1.5.6-2.3c.2-.8.3-1.5.3-2.3.3-1.6.3-3.2.1-4.7z"/>
|
|
6
|
-
<linearGradient id="6umkt74x6a" x1="30" x2="218.32" y1="126.026" y2="126.026" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
|
|
7
|
-
<stop offset="0" stop-color="#E35F5F"/>
|
|
8
|
-
<stop offset="1" stop-color="#F29D9D"/>
|
|
9
|
-
</linearGradient>
|
|
10
|
-
<path fill="url(#6umkt74x6a)" d="M175.4 293.6L38.9 430.2c-12.1 11.5-12.5 30.7-.9 42.8s30.8 12.5 42.9.9l.9-.9 136.6-136.5c-16.6-11.9-31.1-26.4-43-42.9z"/>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" x="0" y="0" enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve">
|
|
2
|
-
<style>
|
|
3
|
-
.st0{fill:#c1e3ae}
|
|
4
|
-
</style>
|
|
5
|
-
<path d="M421 422H451V452H421z" class="st0"/>
|
|
6
|
-
<path fill="#C1E3AE" stroke="#000000" stroke-miterlimit="10" d="M391 422L271 422 271 332 241 332 241 422 121 422 121 452 391 452z"/>
|
|
7
|
-
<linearGradient id="SVGID_1_" x1="256" x2="256" y1="212" y2="475" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
|
|
8
|
-
<stop offset="0" stop-color="#5EB030"/>
|
|
9
|
-
<stop offset="1" stop-color="#C1E3AE"/>
|
|
10
|
-
</linearGradient>
|
|
11
|
-
<path fill="url(#SVGID_1_)" stroke="#000000" stroke-miterlimit="10" d="M151 302h210V126.5L256 39l-105 87.5V302z"/>
|
|
12
|
-
<path d="M61 422H91V452H61z" class="st0"/>
|
|
13
|
-
<path d="M31 362v150h30v-30h390v30h30V362h-30v30H301v-60h90V151.5l35.4 29.5 19.2-23L256 0 66.4 158l19.2 23 35.4-29.5V332h90v60H61v-30H31zm420 90h-30v-30h30v30zM151 302V126.5L256 39l105 87.5V302H151zm90 120v-90h30v90h120v30H121v-30h120zm-150 0v30H61v-30h30z"/>
|
|
14
|
-
<path d="M283.1 152.3c-13.7-23.9-15.3-26.8-27.2-47.6-11.8 20.9-13.5 24-27.5 48.5-16.1 28.1-17.4 30.4-17.4 41.8 0 24.8 20.2 45 45 45s45-20.2 45-45c0-11.7-2-15.2-17.9-42.7zM256 210c-8.3 0-15-6.7-15-15 0-3.3-1.1-1.5 15-29.7 14.8 25.7 15 26.1 15 29.7 0 8.3-6.7 15-15 15z"/>
|
|
15
|
-
</svg>
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 512 512" viewBox="0 0 512 512">
|
|
2
|
-
<path d="M480 396.7c-4.4-6.9-144.7-227.3-149-234.1V90c24.8 0 45-20.2 45-45S355.8 0 331 0H181c-24.8 0-45 20.2-45 45s20.2 45 45 45v72.6L32 396.7C.2 446.7 36 512 95.3 512h321.4c59.3 0 95.1-65.3 63.3-115.3zM208.7 175.1c1.5-2.4 2.3-5.2 2.3-8.1V90c8.3 0 15-6.7 15-15s-6.7-15-15-15h-30c-8.3 0-15-6.7-15-15s6.7-15 15-15h150c8.3 0 15 6.7 15 15s-6.7 15-15 15h-30c-8.3 0-15 6.7-15 15s6.7 15 15 15v77c0 2.9.8 5.6 2.3 8.1l40.8 64.1c-34.9-7.5-72-.9-103 19.8l-46.9 31.2c-20.8 13.9-45.4 19.7-69.7 17l84.2-132.1zm208 306.9H95.3c-35.5 0-57-39.2-38-69.2l49.8-78.2c9.6 2.1 19.4 3.2 29 3.2 26.3 0 52.2-7.7 74.7-22.7l46.9-31.2c34.5-23 78.7-23.6 113.7-1.8l83.2 130.8c19.2 29.9-2.4 69.1-37.9 69.1z"/>
|
|
3
|
-
<linearGradient id="opkd2rl89a" x1="256.002" x2="256.002" y1="482" y2="266.171" gradientUnits="userSpaceOnUse">
|
|
4
|
-
<stop offset="0" stop-color="#3CBBEB"/>
|
|
5
|
-
<stop offset="1" stop-color="#B1DBEB"/>
|
|
6
|
-
</linearGradient>
|
|
7
|
-
<path fill="url(#opkd2rl89a)" d="M95.3 482h321.4c35.5 0 57.1-39.2 38-69.2L371.5 282c-35-21.8-79.2-21.2-113.7 1.8L210.9 315c-22.5 15-48.5 22.7-74.7 22.7-9.7 0-19.4-1.1-29-3.2l-49.6 77.9-6.7 16.6c-4.8 26.2 15 53 44.4 53z"/>
|
|
8
|
-
<path d="M166 362c-24.8 0-45 20.2-45 45s20.2 45 45 45 45-20.2 45-45-20.2-45-45-45zm0 62c-8.3 0-17-8.7-17-17s8.7-17 17-17 17 8.7 17 17-8.7 17-17 17zM316 302c-24.8 0-45 20.2-45 45s20.2 45 45 45 45-20.2 45-45-20.2-45-45-45zm0 62c-8.3 0-17-8.7-17-17s8.7-17 17-17 17 8.7 17 17-8.7 17-17 17z"/>
|
|
9
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="512pt" height="512pt" viewBox="0 0 512 512">
|
|
2
|
-
<path d="M512 462c0 11.047-8.953 20-20 20-51.363 0-54.39 30-118.004 30-63.976 0-66.336-30-118-30-51.363 0-54.387 30-118 30C74.023 512 71.664 482 20 482c-11.047 0-20-8.953-20-20s8.953-20 20-20c63.977 0 66.332 30 117.996 30 51.91 0 53.813-30 118-30 63.977 0 66.332 30 118 30 51.91 0 53.816-30 118.004-30 11.047 0 20 8.953 20 20zm-196-96.848V258c0-26.074-16.723-48.305-40-56.559V256c0 11.047-8.953 20-20 20s-20-8.953-20-20v-18H20c-11.047 0-20-8.953-20-20V58c0-11.047 8.953-20 20-20h216V20c0-11.047 8.953-20 20-20s20 8.953 20 20v59.117c89.875 9.98 160 86.39 160 178.883v105.285C449.406 357.242 466.004 352 492 352c11.047 0 20 8.953 20 20s-8.953 20-20 20c-51.363 0-54.39 30-118.004 30-63.976 0-66.336-30-118-30-51.363 0-54.387 30-118 30C74.023 422 71.664 392 20 392c-11.047 0-20-8.953-20-20s8.953-20 20-20c63.977 0 66.332 30 117.996 30 51.91 0 53.813-30 118-30 28.645 0 45.879 6.367 60.004 13.152zM235.996 78H40v120h195.988zM356 258v122.746c5.172.805 11.047 1.254 17.996 1.254 8.813 0 15.895-.723 22.004-1.977V258c0-70.406-52.246-128.828-120-138.566v40.578c45.59 9.289 80 49.695 80 97.988zm0 0"/>
|
|
3
|
-
</svg>
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
5
|
-
<g>
|
|
6
|
-
<g>
|
|
7
|
-
<path d="M437.02,330.98c-27.883-27.882-61.071-48.523-97.281-61.018C378.521,243.251,404,198.548,404,148
|
|
8
|
-
C404,66.393,337.607,0,256,0S108,66.393,108,148c0,50.548,25.479,95.251,64.262,121.962
|
|
9
|
-
c-36.21,12.495-69.398,33.136-97.281,61.018C26.629,379.333,0,443.62,0,512h40c0-119.103,96.897-216,216-216s216,96.897,216,216
|
|
10
|
-
h40C512,443.62,485.371,379.333,437.02,330.98z M256,256c-59.551,0-108-48.448-108-108S196.449,40,256,40
|
|
11
|
-
c59.551,0,108,48.448,108,108S315.551,256,256,256z"/>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
<g>
|
|
15
|
-
</g>
|
|
16
|
-
<g>
|
|
17
|
-
</g>
|
|
18
|
-
<g>
|
|
19
|
-
</g>
|
|
20
|
-
<g>
|
|
21
|
-
</g>
|
|
22
|
-
<g>
|
|
23
|
-
</g>
|
|
24
|
-
<g>
|
|
25
|
-
</g>
|
|
26
|
-
<g>
|
|
27
|
-
</g>
|
|
28
|
-
<g>
|
|
29
|
-
</g>
|
|
30
|
-
<g>
|
|
31
|
-
</g>
|
|
32
|
-
<g>
|
|
33
|
-
</g>
|
|
34
|
-
<g>
|
|
35
|
-
</g>
|
|
36
|
-
<g>
|
|
37
|
-
</g>
|
|
38
|
-
<g>
|
|
39
|
-
</g>
|
|
40
|
-
<g>
|
|
41
|
-
</g>
|
|
42
|
-
<g>
|
|
43
|
-
</g>
|
|
44
|
-
</svg>
|
|
Binary file
|
package/lib-build/index.js
DELETED
|
@@ -1,34 +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.KandoRouter = exports.ProjectManagement = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _Router = _interopRequireDefault(require("./Router"));
|
|
13
|
-
|
|
14
|
-
var _reactRouterDom = require("react-router-dom");
|
|
15
|
-
|
|
16
|
-
var _ErrorBoundary = _interopRequireDefault(require("./shared/utilities/ErrorBoundary"));
|
|
17
|
-
|
|
18
|
-
var _rootStore = _interopRequireDefault(require("./shared/redux/rootStore"));
|
|
19
|
-
|
|
20
|
-
var _reactRedux = require("react-redux");
|
|
21
|
-
|
|
22
|
-
var _projectManagement = _interopRequireDefault(require("./ProjectManagement/components/project-management"));
|
|
23
|
-
|
|
24
|
-
var ProjectManagement = _projectManagement.default;
|
|
25
|
-
exports.ProjectManagement = ProjectManagement;
|
|
26
|
-
|
|
27
|
-
var KandoRouter = function KandoRouter(props) {
|
|
28
|
-
var store = (0, _rootStore.default)(props);
|
|
29
|
-
return /*#__PURE__*/_react.default.createElement(_ErrorBoundary.default, null, /*#__PURE__*/_react.default.createElement(_reactRedux.Provider, {
|
|
30
|
-
store: store
|
|
31
|
-
}, /*#__PURE__*/_react.default.createElement(_reactRouterDom.BrowserRouter, null, /*#__PURE__*/_react.default.createElement(_Router.default, null))));
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
exports.KandoRouter = KandoRouter;
|
|
@@ -1,111 +0,0 @@
|
|
|
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.default = void 0;
|
|
11
|
-
|
|
12
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
|
-
|
|
14
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
-
|
|
16
|
-
var _i18n = _interopRequireDefault(require("../utilities/i18n"));
|
|
17
|
-
|
|
18
|
-
var _useClickOutside = _interopRequireDefault(require("../utilities/custom_hooks/useClickOutside"));
|
|
19
|
-
|
|
20
|
-
require("./styles.scss");
|
|
21
|
-
|
|
22
|
-
var _constants = require("./constants");
|
|
23
|
-
|
|
24
|
-
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); }
|
|
25
|
-
|
|
26
|
-
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; }
|
|
27
|
-
|
|
28
|
-
var TimeRangeSelector = function TimeRangeSelector(_ref) {
|
|
29
|
-
var selectedValue = _ref.selectedValue,
|
|
30
|
-
periods = _ref.periods,
|
|
31
|
-
onPeriodSelected = _ref.onPeriodSelected;
|
|
32
|
-
|
|
33
|
-
var _useState = (0, _react.useState)(false),
|
|
34
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
35
|
-
isOpen = _useState2[0],
|
|
36
|
-
setIsOpen = _useState2[1];
|
|
37
|
-
|
|
38
|
-
var _useState3 = (0, _react.useState)(selectedValue),
|
|
39
|
-
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
40
|
-
selectedVal = _useState4[0],
|
|
41
|
-
setSelectedVal = _useState4[1];
|
|
42
|
-
|
|
43
|
-
var menuRef = (0, _react.useRef)(null);
|
|
44
|
-
|
|
45
|
-
var clickOutsideAction = function clickOutsideAction() {
|
|
46
|
-
setIsOpen(false);
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
(0, _useClickOutside.default)(menuRef, clickOutsideAction);
|
|
50
|
-
|
|
51
|
-
var periodToI18n = function periodToI18n(days) {
|
|
52
|
-
var dict = {
|
|
53
|
-
'24h': _i18n.default.t('events_overview.filter.time.24h'),
|
|
54
|
-
'48h': _i18n.default.t('events_overview.filter.time.48h'),
|
|
55
|
-
'7d': _i18n.default.t('events_overview.filter.time.7d'),
|
|
56
|
-
'30d': _i18n.default.t('events_overview.filter.time.30d'),
|
|
57
|
-
'3m': _i18n.default.t('events_overview.filter.time.3m'),
|
|
58
|
-
'6m': _i18n.default.t('events_overview.filter.time.6m'),
|
|
59
|
-
'1y': _i18n.default.t('events_overview.filter.time.1y')
|
|
60
|
-
};
|
|
61
|
-
return dict[days];
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
var handlePeriodSelected = function handlePeriodSelected(period) {
|
|
65
|
-
setIsOpen(false);
|
|
66
|
-
setSelectedVal(period);
|
|
67
|
-
onPeriodSelected(period);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
var openClassName = function openClassName(prefix, isOpen) {
|
|
71
|
-
return isOpen ? "".concat(prefix, "--open") : '';
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
var selectedClassName = function selectedClassName(prefix, isSelected) {
|
|
75
|
-
return isSelected ? "".concat(prefix, "--selected") : '';
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
periods = periods || _constants.PERIODS;
|
|
79
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
80
|
-
className: "time-range ".concat(openClassName('time-range', isOpen)),
|
|
81
|
-
onClick: function onClick() {
|
|
82
|
-
return setIsOpen(!isOpen);
|
|
83
|
-
},
|
|
84
|
-
ref: menuRef
|
|
85
|
-
}, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
86
|
-
key: "selected-val",
|
|
87
|
-
className: "time-range__selected"
|
|
88
|
-
}, periodToI18n(selectedVal)), /*#__PURE__*/_react.default.createElement("div", {
|
|
89
|
-
className: "time-range__options ".concat(openClassName('time-range__options', isOpen))
|
|
90
|
-
}, periods.map(function (period) {
|
|
91
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
92
|
-
key: period,
|
|
93
|
-
className: "time-range__period ".concat(selectedClassName('time-range__period', selectedVal === period)),
|
|
94
|
-
onClick: function onClick() {
|
|
95
|
-
return handlePeriodSelected(period);
|
|
96
|
-
}
|
|
97
|
-
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
98
|
-
className: "time-range__radio",
|
|
99
|
-
type: "radio",
|
|
100
|
-
name: "time",
|
|
101
|
-
value: period,
|
|
102
|
-
checked: period === selectedVal,
|
|
103
|
-
onChange: function onChange() {
|
|
104
|
-
return handlePeriodSelected(period);
|
|
105
|
-
}
|
|
106
|
-
}), periodToI18n(period));
|
|
107
|
-
}))));
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
var _default = TimeRangeSelector;
|
|
111
|
-
exports.default = _default;
|
|
@@ -1,13 +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 _TimeRangeSelector = _interopRequireDefault(require("./TimeRangeSelector"));
|
|
11
|
-
|
|
12
|
-
var _default = _TimeRangeSelector.default;
|
|
13
|
-
exports.default = _default;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
.time-range {
|
|
2
|
-
user-select: none;
|
|
3
|
-
color: #333;
|
|
4
|
-
background: #e5e5e5;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
border-radius: 15px;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
line-height: 1.8em;
|
|
11
|
-
padding: 3px 14px;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
position: relative;
|
|
14
|
-
|
|
15
|
-
&--open {
|
|
16
|
-
z-index: 9;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__options {
|
|
20
|
-
display: none;
|
|
21
|
-
z-index: 9;
|
|
22
|
-
background: #fff;
|
|
23
|
-
border: 1px solid #ddd;
|
|
24
|
-
padding: 10px 20px;
|
|
25
|
-
margin: 0 0 0 -25px;
|
|
26
|
-
|
|
27
|
-
&--open {
|
|
28
|
-
display: block;
|
|
29
|
-
position: fixed;
|
|
30
|
-
overflow: auto;
|
|
31
|
-
height: auto;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&__period {
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
line-height: 2.4em;
|
|
38
|
-
height: 2.4em;
|
|
39
|
-
color: #666;
|
|
40
|
-
min-width: 120px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__radio {
|
|
44
|
-
margin: 0 4px 0;
|
|
45
|
-
position: relative;
|
|
46
|
-
top: 1px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&__selected {
|
|
50
|
-
text-align: center;
|
|
51
|
-
margin: 0 20px;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.rtls {
|
|
56
|
-
.time-range {
|
|
57
|
-
&__radio {
|
|
58
|
-
top: 3px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&__options {
|
|
62
|
-
margin: 0 -25px 0 0;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
@@ -1,42 +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;
|
|
@@ -1,13 +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 _Breadcrumbs = _interopRequireDefault(require("./Breadcrumbs"));
|
|
11
|
-
|
|
12
|
-
var _default = _Breadcrumbs.default;
|
|
13
|
-
exports.default = _default;
|
|
@@ -1,71 +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;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "RowLoader", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _ContentLoader.RowLoader;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
var _ContentLoader = require("./ContentLoader");
|