@kando-env/kando-ui 1.0.3 → 1.0.5
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/EventsView/views/components/SamplingParameters/NoResults/NoResults.js +42 -0
- package/lib/EventsView/views/components/SamplingParameters/NoResults/NoResults.stories.js +26 -0
- package/lib/EventsView/views/components/SamplingParameters/NoResults/discover.svg +66 -0
- package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +29 -0
- package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +44 -0
- package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +41 -0
- package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersContainer.js +62 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +70 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +41 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +47 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +92 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +102 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExpandableSamplingTable/assets/rigth.svg +3 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/SamplingContainer.js +37 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingParameters.js +129 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingParameters.mock.js +972 -0
- package/lib/EventsView/views/components/SamplingParameters/SamplingParameters.stories.js +171 -0
- package/lib/EventsView/views/components/SamplingParameters/charts/ParametersChart.js +50 -0
- package/lib/EventsView/views/components/SamplingParameters/charts/SamplingChart.js +53 -0
- package/lib/EventsView/views/components/SamplingParameters/charts/options/options.js +209 -0
- package/lib/EventsView/views/components/SamplingParameters/dataParser.js +107 -0
- package/lib/EventsView/views/components/SamplingParameters/models.js +5 -0
- package/lib/EventsView/views/components/SamplingParameters/styles/samplingParameters.js +26 -0
- package/lib/EventsView/views/components/SamplingParameters/styles/styles.js +35 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +91 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaMap/AreaMap.js +66 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +124 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +30 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/Areas.js +157 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/styles.js +24 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/Factories.js +182 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +92 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +117 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +31 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/styles.js +24 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/MostPolluting.js +68 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/MostPolluting.stories.js +148 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/ShowMore/ShowMore.js +29 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/ShowMore/styles.js +20 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/Tabs.js +109 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/Tabs.stories.js +37 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/home.svg +15 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/index.js +45 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/matash.svg +1 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/plant.svg +23 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/shape.svg +37 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/water.svg +20 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/down-arrow.svg +27 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/gas.svg +17 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/index.js +53 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/leather.svg +23 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/metal.svg +20 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/shop.svg +24 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/show-more.svg +3 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/models.js +5 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/styles.js +24 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +83 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/MostSevereEvents.scss +31 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +383 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +37 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +26 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/NoEvents/discover.svg +66 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +107 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.scss +168 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/info.svg +1 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/pipe-bluckages.svg +51 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/pipe.svg +61 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/sludge.svg +127 -0
- package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/models.js +5 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/Back/Back.js +34 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/MostCommon.js +83 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/arrow.svg +44 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/bacteria.svg +90 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/clock.svg +8 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/pipes.svg +31 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/styles.js +80 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +68 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +86 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/assets/down-arrow.svg +27 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/styles.js +62 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/TopBar.js +49 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +42 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/UtilityInformation/styles.js +60 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/models.js +5 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/styles.js +17 -0
- package/lib/EventsView/views/components/UtilityDashboard/UtilityDashboard.js +35 -0
- package/lib/EventsView/views/components/UtilityDashboard/UtilityDashboard.stories.js +95 -0
- package/lib/EventsView/views/components/UtilityDashboard/mocks/areas.mock.js +344 -0
- package/lib/EventsView/views/components/UtilityDashboard/mocks/events.mock.js +345 -0
- package/lib/EventsView/views/components/UtilityDashboard/mocks/factories.mock.js +152 -0
- package/lib/EventsView/views/components/UtilityDashboard/mocks/index.js +29 -0
- package/lib/index.js +4 -9
- package/lib/shared/components/DoubleTabs/DoubleTabs.js +44 -0
- package/lib/shared/components/DoubleTabs/DoubleTabs.stories.js +30 -0
- package/lib/shared/components/DoubleTabs/styles.js +26 -0
- package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +50 -0
- package/lib/shared/components/Select/Select.js +58 -0
- package/lib/shared/components/Select/Select.scss +49 -0
- package/lib/shared/components/Select/Select.stories.js +44 -0
- package/lib/shared/components/Spinner/Spinner.js +23 -0
- package/lib/shared/components/Spinner/Spinner.stories.js +38 -0
- package/lib/shared/components/Spinner/index.js +13 -0
- package/lib/shared/components/Spinner/style/spinner.js +25 -0
- package/lib/shared/utilities/custom_hooks/useApi.js +83 -0
- package/lib/shared/utilities/custom_hooks/useWindowSize.js +47 -0
- package/package.json +7 -3
- package/lib/ProjectManagement/api/index.js +0 -19
- package/lib/ProjectManagement/components/kpi-list-item.js +0 -88
- package/lib/ProjectManagement/components/kpi-percentage-item.js +0 -98
- package/lib/ProjectManagement/components/kpi.js +0 -71
- package/lib/ProjectManagement/components/legend-icon.js +0 -61
- package/lib/ProjectManagement/components/link-to-item.js +0 -67
- package/lib/ProjectManagement/components/list-of-points.js +0 -111
- package/lib/ProjectManagement/components/map-view.js +0 -128
- package/lib/ProjectManagement/components/metrics.js +0 -94
- package/lib/ProjectManagement/components/node-label.js +0 -66
- package/lib/ProjectManagement/components/period-selector-button.js +0 -68
- package/lib/ProjectManagement/components/period-selector.js +0 -79
- package/lib/ProjectManagement/components/point-preview.js +0 -298
- package/lib/ProjectManagement/components/project-management.js +0 -262
- package/lib/ProjectManagement/components/tree-legend.js +0 -100
- package/lib/ProjectManagement/components/tree-view.js +0 -281
- package/lib/ProjectManagement/stores/project-management-store.js +0 -32
- package/lib/ProjectManagement/util/constants.js +0 -10
- package/lib/ProjectManagement/util/treeUtil.js +0 -45
- package/lib/ProjectManagement/util/url.js +0 -24
|
@@ -0,0 +1,15 @@
|
|
|
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>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "HomeSvg", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _home.ReactComponent;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "MatashSvg", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _matash.ReactComponent;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "PlantSvg", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _plant.ReactComponent;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "ShapeSvg", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _shape.ReactComponent;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "WaterSvg", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _water.ReactComponent;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
var _home = require("./home.svg");
|
|
38
|
+
|
|
39
|
+
var _matash = require("./matash.svg");
|
|
40
|
+
|
|
41
|
+
var _plant = require("./plant.svg");
|
|
42
|
+
|
|
43
|
+
var _shape = require("./shape.svg");
|
|
44
|
+
|
|
45
|
+
var _water = require("./water.svg");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 175.48 175.48"><defs><style>.cls-1,.cls-4,.cls-5{fill:none;}.cls-2{fill:url(#kando_teel);}.cls-3{fill:url(#linear-gradient);}.cls-4,.cls-5,.cls-7{stroke:#000;stroke-miterlimit:10;}.cls-4{stroke-width:9px;}.cls-5,.cls-7{stroke-width:7px;}.cls-6,.cls-7{fill:#fff;}</style><linearGradient id="kando_teel" x1="38.93" y1="188.61" x2="38.93" y2="-2.22" gradientTransform="matrix(-1, 0, 0, 1, 175.48, 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b1ebe1"/><stop offset="1" stop-color="#c1faf0"/></linearGradient><linearGradient id="linear-gradient" x1="38.93" y1="188.61" x2="38.93" y2="-2.22" gradientTransform="matrix(1, 0, 0, 1, 0, 0)" xlink:href="#kando_teel"/></defs><g id="Layer_2" data-name="Layer 2"><g id="_0" data-name="0"><path class="cls-1" d="M87.74,4.5a84.17,84.17,0,0,1,14.39,1.26v164A84.17,84.17,0,0,1,87.74,171a83.24,83.24,0,0,1,0-166.48Z"/><path class="cls-2" d="M171,87.74a83.24,83.24,0,0,1-68.85,82V5.76A83.25,83.25,0,0,1,171,87.74Z"/><path class="cls-1" d="M87.74,4.5A84.26,84.26,0,0,0,73.35,5.76v164A84.26,84.26,0,0,0,87.74,171a83.24,83.24,0,0,0,0-166.48Z"/><path class="cls-3" d="M4.5,87.74a83.24,83.24,0,0,0,68.85,82V5.76A83.25,83.25,0,0,0,4.5,87.74Z"/><circle class="cls-4" cx="87.74" cy="87.74" r="83.24"/><line class="cls-5" x1="76.56" y1="8.48" x2="76.56" y2="170.98"/><line class="cls-5" x1="98.82" y1="5.23" x2="98.82" y2="170.98"/><rect class="cls-6" x="77.83" y="5.23" width="19.96" height="64.63"/><rect class="cls-6" x="77.83" y="105.23" width="19.96" height="64.63"/><line class="cls-5" x1="77.83" y1="142.12" x2="98.82" y2="142.12"/><line class="cls-5" x1="77.83" y1="127.72" x2="98.82" y2="127.72"/><line class="cls-5" x1="77.83" y1="47.64" x2="98.82" y2="47.64"/><line class="cls-5" x1="77.83" y1="33.99" x2="97.78" y2="33.99"/><circle class="cls-7" cx="87.68" cy="87.81" r="17.94"/><rect x="91.33" y="83.76" width="80.45" height="8.08"/></g></g></svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
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="y0zizarmua" 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(#y0zizarmua)" d="M51 192H121V482H51z"/>
|
|
9
|
+
<linearGradient id="310bki0bwb" 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(#310bki0bwb)" d="M51 132H121V162H51z"/>
|
|
14
|
+
<linearGradient id="pwx45b5v8c" 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(#pwx45b5v8c)" 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>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 25.2.3, 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.1 512.1" style="enable-background:new 0 0 512.1 512.1;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:url(#SVGID_1_);}
|
|
7
|
+
.st1{fill:#FFFFFF;}
|
|
8
|
+
</style>
|
|
9
|
+
<g>
|
|
10
|
+
<g>
|
|
11
|
+
<g>
|
|
12
|
+
<path d="M512.1,128.1c-0.1-35.3-28.9-63.9-64.2-63.8c-25.1,0.1-47.9,14.9-58.2,37.9L335,93l-5.3,31.6l54.9,9.2
|
|
13
|
+
c2.1,23.8,17.4,44.4,39.5,53.5l-15.6,117.6c-32.1,3.8-56.3,30.9-56.4,63.2v0.2l-184.5,48.6c-9.8-17.5-27.4-29.4-47.3-32
|
|
14
|
+
L87.6,123.5c15.5-6.2,28.1-18.2,34.9-33.5l207.2,34.6L335,93L127.5,58.4c-3-35.1-33.9-61.2-69.1-58.1c-35.1,3-61.1,33.9-58.1,69
|
|
15
|
+
c2.6,30,25.7,54.1,55.5,57.9l32.7,261.4c-32.9,13-49,50.2-36,83.1s50.2,49,83.1,36c24.4-9.7,40.5-33.3,40.5-59.6v-0.2l184.5-48.6
|
|
16
|
+
c17.2,30.8,56.1,41.8,86.9,24.6c30.8-17.2,41.8-56.1,24.6-86.9c-7.1-12.7-18.4-22.6-31.9-28.1l15.6-117.6
|
|
17
|
+
C487.8,187.5,512,160.4,512.1,128.1z M64.1,96.1c-17.7,0-32-14.3-32-32s14.3-32,32-32s32,14.3,32,32S81.8,96.1,64.1,96.1z
|
|
18
|
+
M112.1,480.1c-17.7,0-32-14.3-32-32s14.3-32,32-32s32,14.3,32,32C144.1,465.7,129.8,480.1,112.1,480.1z M448.1,368.1
|
|
19
|
+
c0,17.7-14.3,32-32,32s-32-14.3-32-32s14.3-32,32-32S448.1,350.4,448.1,368.1z M416.1,128.1c0-17.7,14.3-32,32-32s32,14.3,32,32
|
|
20
|
+
s-14.3,32-32,32S416.1,145.7,416.1,128.1z"/>
|
|
21
|
+
</g>
|
|
22
|
+
</g>
|
|
23
|
+
</g>
|
|
24
|
+
<g>
|
|
25
|
+
|
|
26
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="87.6" y1="258.55" x2="424.1" y2="258.55" gradientTransform="matrix(1 0 0 -1 0 512)">
|
|
27
|
+
<stop offset="0" style="stop-color:#0B7FD9"/>
|
|
28
|
+
<stop offset="1" style="stop-color:#70ABD8"/>
|
|
29
|
+
</linearGradient>
|
|
30
|
+
<path class="st0" d="M167.6,416.9l184.5-48.6v-0.2c0.1-32.3,24.3-59.5,56.4-63.2l15.6-117.6c-22.1-9.1-37.4-29.7-39.5-53.5
|
|
31
|
+
l-54.9-9.2L122.5,90c-6.8,15.3-19.3,27.3-34.9,33.5L120.3,385C140.2,387.5,157.8,399.4,167.6,416.9z"/>
|
|
32
|
+
<circle class="st1" cx="112.1" cy="448.1" r="32"/>
|
|
33
|
+
<circle class="st1" cx="64.1" cy="64.1" r="32"/>
|
|
34
|
+
<circle class="st1" cx="448.1" cy="128.1" r="32"/>
|
|
35
|
+
<circle class="st1" cx="416.1" cy="368.1" r="32"/>
|
|
36
|
+
</g>
|
|
37
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_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
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:url(#SVGID_1_);}
|
|
7
|
+
</style>
|
|
8
|
+
<path d="M512,462c0,11-9,20-20,20c-51.4,0-54.4,30-118,30c-64,0-66.3-30-118-30c-51.4,0-54.4,30-118,30c-64,0-66.3-30-118-30
|
|
9
|
+
c-11,0-20-9-20-20s9-20,20-20c64,0,66.3,30,118,30c51.9,0,53.8-30,118-30c64,0,66.3,30,118,30c51.9,0,53.8-30,118-30
|
|
10
|
+
C503,442,512,451,512,462z M316,365.2V258c0-26.1-16.7-48.3-40-56.6V256c0,11-9,20-20,20s-20-9-20-20v-18H20c-11,0-20-9-20-20V58
|
|
11
|
+
c0-11,9-20,20-20h216V20c0-11,9-20,20-20s20,9,20,20v59.1c89.9,10,160,86.4,160,178.9v105.3c13.4-6,30-11.3,56-11.3c11,0,20,9,20,20
|
|
12
|
+
s-9,20-20,20c-51.4,0-54.4,30-118,30c-64,0-66.3-30-118-30c-51.4,0-54.4,30-118,30c-64,0-66.3-30-118-30c-11,0-20-9-20-20
|
|
13
|
+
s9-20,20-20c64,0,66.3,30,118,30c51.9,0,53.8-30,118-30C284.6,352,301.9,358.4,316,365.2z M236,78H40v120h196L236,78z M356,258
|
|
14
|
+
v122.7c5.2,0.8,11,1.3,18,1.3c8.8,0,15.9-0.7,22-2V258c0-70.4-52.2-128.8-120-138.6V160C321.6,169.3,356,209.7,356,258z"/>
|
|
15
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="137.9941" y1="198" x2="137.9941" y2="78">
|
|
16
|
+
<stop offset="0" style="stop-color:#4F40EB"/>
|
|
17
|
+
<stop offset="1" style="stop-color:#C2BEEB"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<rect x="40" y="78" class="st0" width="196" height="120"/>
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
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" viewBox="0 0 512.171 512.171" style="enable-background:new 0 0 512.171 512.171;" xml:space="preserve">
|
|
4
|
+
<g>
|
|
5
|
+
<g>
|
|
6
|
+
<path d="M479.046,283.925c-1.664-3.989-5.547-6.592-9.856-6.592H352.305V10.667C352.305,4.779,347.526,0,341.638,0H170.971
|
|
7
|
+
c-5.888,0-10.667,4.779-10.667,10.667v266.667H42.971c-4.309,0-8.192,2.603-9.856,6.571c-1.643,3.989-0.747,8.576,2.304,11.627
|
|
8
|
+
l212.8,213.504c2.005,2.005,4.715,3.136,7.552,3.136s5.547-1.131,7.552-3.115l213.419-213.504
|
|
9
|
+
C479.793,292.501,480.71,287.915,479.046,283.925z" />
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
<g></g>
|
|
13
|
+
<g></g>
|
|
14
|
+
<g></g>
|
|
15
|
+
<g></g>
|
|
16
|
+
<g></g>
|
|
17
|
+
<g></g>
|
|
18
|
+
<g></g>
|
|
19
|
+
<g></g>
|
|
20
|
+
<g></g>
|
|
21
|
+
<g></g>
|
|
22
|
+
<g></g>
|
|
23
|
+
<g></g>
|
|
24
|
+
<g></g>
|
|
25
|
+
<g></g>
|
|
26
|
+
<g></g>
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
.st2{fill:#1d1d1d}
|
|
4
|
+
</style>
|
|
5
|
+
<linearGradient id="SVGID_1_" x1="271" x2="271" y1="466" y2="46" gradientUnits="userSpaceOnUse">
|
|
6
|
+
<stop offset="0" stop-color="#F37C1C"/>
|
|
7
|
+
<stop offset="1" stop-color="#FCC191"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<path fill="url(#SVGID_1_)" d="M353 46l-50 60h-58.4l-31.8-30-70.7-30H60v3.7l70.6 69.6 50.4 50.4V466h301V46H353zm94.6 364.4l-21.2 21.2-25.6-25.6H262.2l-25.6 25.6-21.2-21.2 25.6-25.6V247.2l-25.6-25.6 21.2-21.2 25.6 25.6h138.6l25.6-25.6 21.2 21.2-25.6 25.6v137.6l25.6 25.6zM452 166H292.1l75-90H452v90z"/>
|
|
10
|
+
<linearGradient id="SVGID_2_" x1="45" x2="45" y1="196" y2="146.744" gradientUnits="userSpaceOnUse">
|
|
11
|
+
<stop offset="0" stop-color="#EFC530"/>
|
|
12
|
+
<stop offset="1" stop-color="#FCEDB6"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<path fill="url(#SVGID_2_)" d="M32 173.5c-1.3 2.3-2 4.8-2 7.5 0 8.3 6.7 15 15 15s15-6.7 15-15c0-2.7-.7-5.2-2-7.5-5-8.6-9.3-17.6-13-26.8-3.7 9.2-8 18.2-13 26.8z"/>
|
|
15
|
+
<path d="M289 76h-31.9l-27.4-27.4-21.2 21.2L154.6 16H30v53c0 31.4-8.3 62.3-24 89.5-3.9 6.8-6 14.6-6 22.5 0 24.8 20.2 45 45 45s45-20.2 45-45c0-7.9-2.1-15.7-6-22.5-13.7-23.7-21.8-50.3-23.6-77.5l44.7 12.8 39.7 39.7-21.2 21.2 27.4 27.4V496h361V16H339l-50 60zM45 196c-8.3 0-15-6.7-15-15 0-2.7.7-5.2 2-7.5 5-8.6 9.3-17.6 13-26.8 3.7 9.2 8 18.2 13 26.8 1.3 2.3 2 4.8 2 7.5 0 8.3-6.7 15-15 15zm75.8-129L60 49.7V46h82.2l45 45-21.2 21.2L120.8 67zM482 46v420H181V169.6l-15-15L229.6 91l15 15H303l50-60h129z" class="st2"/>
|
|
16
|
+
<path d="M452 166V76h-84.9l-75 90H452zm-70.9-60H422v30h-65.9l25-30zM447.6 221.6l-21.2-21.2-25.6 25.6H262.2l-25.6-25.6-21.2 21.2 25.6 25.6v137.6l-25.6 25.6 21.2 21.2 25.6-25.6h138.6l25.6 25.6 21.2-21.2-25.6-25.6V247.2l25.6-25.6zM392 376H271V256h121v120z" class="st2"/>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "GasSvg", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _gas.ReactComponent;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "Arrow", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _downArrow.ReactComponent;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "ShopSvg", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _shop.ReactComponent;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "MetalSvg", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _metal.ReactComponent;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "LeatherSvg", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _leather.ReactComponent;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "ShowMoreIcon", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _showMore.ReactComponent;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
var _gas = require("./gas.svg");
|
|
44
|
+
|
|
45
|
+
var _downArrow = require("./down-arrow.svg");
|
|
46
|
+
|
|
47
|
+
var _shop = require("./shop.svg");
|
|
48
|
+
|
|
49
|
+
var _metal = require("./metal.svg");
|
|
50
|
+
|
|
51
|
+
var _leather = require("./leather.svg");
|
|
52
|
+
|
|
53
|
+
var _showMore = require("./show-more.svg");
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 512 512" viewBox="0 0 512 512">
|
|
2
|
+
<style>
|
|
3
|
+
.st4{fill:#1d1d1d}
|
|
4
|
+
</style>
|
|
5
|
+
<g id="Layer_2">
|
|
6
|
+
<linearGradient id="SVGID_1_" x1="257.084" x2="257.084" y1="503.4" y2="12.284" gradientUnits="userSpaceOnUse">
|
|
7
|
+
<stop offset="0" stop-color="#F37C1C"/>
|
|
8
|
+
<stop offset="1" stop-color="#FCC191"/>
|
|
9
|
+
</linearGradient>
|
|
10
|
+
<path fill="url(#SVGID_1_)" d="M472.3 136.6V46.4l-99.9-1.5-54-32.6H204l-41.7 27.3L53.2 50.2l-11.4 80.1 65.2 80.6 3 115.2-68.2 59.1L61 465.6l117.2 25.8 87.9 12.1 61.4-21.5 141-18v-85.6l-58.4-65.9 7.6-127.4 54.6-48.5zm-76.6 286.6l-16-1.4H137.2l-16.1 1.5V369s12.4-3.8 19.3-22.1c10.7-18.6 15.5-54.2 15.5-75.7 3.8-25.2-6.8-78.7-6.8-78.7s-5.8-34.7-28-45.5V91.1h274.6V147s-15.4 8.2-19.4 22.3c-7.9 13.9-15.6 39.8-15 75.2-4.4 35.7 7.2 78.3 7.2 78.3s5.3 33.6 27.3 46c-.1 26.2-.1 54.4-.1 54.4z"/>
|
|
11
|
+
</g>
|
|
12
|
+
<g id="Layer_1">
|
|
13
|
+
<g id="Layer_2_copy_3">
|
|
14
|
+
<linearGradient id="SVGID_3_" x1="258.461" x2="258.461" y1="423.309" y2="91.168" gradientUnits="userSpaceOnUse">
|
|
15
|
+
<stop offset="0" stop-color="#EFC530"/>
|
|
16
|
+
<stop offset="1" stop-color="#FCEDB6"/>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
<path fill="url(#SVGID_3_)" d="M368.4 322.9s-10-41-7.2-78.3c2.4-35.4 6.9-61.9 15-75.2 4-14.1 19.4-22.3 19.4-22.3V91.2H121v55.9c14.7 4.8 25.3 32.4 28 45.5 4 19.3 9 51.3 6.8 78.7-1.8 22.5-5.4 57.3-15.5 75.7-6.7 18.6-19.3 22.1-19.3 22.1v54.3l16.1-1.5h242.5l16 1.4V369c-21.9-12.5-27.2-46.1-27.2-46.1zM186 272.5c.7-56.3-3.1-64.5-7.7-87.5"/>
|
|
19
|
+
</g>
|
|
20
|
+
<path d="M472.6 153.2l9.3-3.8V30.2l-15.6.6c-4.5.2-9.2.3-13.9.3-53.5 0-99.7 0-125.2-26.5L322.7 0H191.4L187 4.5c-26.3 26.6-72.5 26.6-126.1 26.6-4.7 0-9.5-.1-14.3-.3L31 30.2v119.1l9.6 3.7c30.9 12.1 50.9 52.8 50.9 103.8 0 50.8-20.9 94.5-50.9 106.2l-9.6 3.7v116.6l15.8-.8c7.1-.4 14.4-.6 21.6-.6 53.5 0 103.5 10.5 133.7 28l3.5 2h102.6l3.5-2c30.2-17.6 80.2-28 133.6-28 6.9 0 13.9.2 20.8.5l15.8.8V366.7l-9.3-3.8c-29.7-12.2-50.5-55.3-50.5-105 0-51.1 19.8-92.1 50.5-104.7zm-61.7 20.5c-12.3 23.3-18.8 52.4-18.8 84.1 0 57.7 23.7 107.6 59.8 128.2v65.9c-59.9-.9-115.1 10.1-151.6 30h-86.7c-35.2-19.1-87.8-30.1-145.2-30.1-2.4 0-4.9 0-7.3.1v-65.5c36.5-20.3 60.4-70.8 60.4-129.7 0-31.5-6.6-60.5-19.1-83.8-10.5-19.6-24.7-34.5-41.4-43.5V61.1c55.2 0 107.4 0 142.5-31.1h106.6c34.4 31 86.5 31.1 141.6 31.1v68.8c-16.4 9.3-30.5 24.3-40.8 43.8z" class="st4"/>
|
|
21
|
+
<path d="M376.6 346.5l-27.2 12.7c4.7 10.2 10.2 18.4 16.4 24.4v8h-15l-.1 30.1c22.7.1 27.9.1 29.1.1l16 1.4v-54.3l-6.4-4.5c-2.5-1.7-7.5-6.3-12.8-17.9zM271.7 421.6h52.7v-30.1h-52.7v30.1zM192.6 391.6v30.1h52.7v-30.1c-18.5-.1-36.7-.1-52.7 0zM167.7 359.7L140.5 347c-5.4 11.5-10.3 16-12.7 17.6l-6.6 4.5v54.3l16.1-1.5c1.2 0 6.5-.1 29.1-.2l-.1-30.1c-6.2 0-11.1 0-15 .1v-7.6c6.1-6 11.7-14.2 16.4-24.4zM148.7 323.3l29.1 7.5c4.5-17.5 7.2-37.1 8.2-58.2l-30-1.3c-.8 18.7-3.3 36.7-7.3 52zM149.2 192.5c3.9 15.2 6.2 32.7 6.9 52l30-1.1c-.8-21.5-3.4-41.1-7.8-58.4l-29.1 7.5zM140.9 169l27.1-13c-4.8-10-10.4-18.1-16.8-24.1v-10.7h15V91.1h-45.1V147l6.6 4.5c4.6 3 9.2 9.2 13.2 17.5zM192.6 91.2h52.7v30.1h-52.7V91.2zM271.6 91.2h52.7v30.1h-52.7V91.2zM350.7 121.2h15v11.1c-6.2 6.1-11.8 14.2-16.6 24.2l27.2 12.9c4-8.3 8.6-14.7 13.1-17.8l6.4-4.5V91.2h-45.1v30zM361.3 271.2l-30 1.2c.9 21 3.6 40.6 8 58l29.1-7.5c-3.9-15.1-6.3-33-7.1-51.7zM368.1 192.8l-29.1-7.4c-4.4 17.2-7 36.7-7.8 58l30 1.1c.8-19.1 3.1-36.6 6.9-51.7z" class="st4"/>
|
|
22
|
+
</g>
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" id="Layer_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
|
+
.st1{fill:#1d1d1d}
|
|
4
|
+
</style>
|
|
5
|
+
<linearGradient id="SVGID_1_" x1="190.25" x2="190.25" y1="398" y2="90.9" gradientUnits="userSpaceOnUse">
|
|
6
|
+
<stop offset="0" stop-color="#F37C1C"/>
|
|
7
|
+
<stop offset="1" stop-color="#FCC191"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<path fill="url(#SVGID_1_)" stroke="#000000" stroke-miterlimit="10" d="M72 90.9L310.2 90.9 310.2 300.8 232.4 348.9 223.9 398 158.4 398 149.9 345.8 70.3 290.7z"/>
|
|
10
|
+
<path d="M104.1 158.1v86h174.1v-86H104.1zm148 60.1h-122v-34h122.1v34h-.1z" class="st1"/>
|
|
11
|
+
<path d="M511 420.7c0-15.7-11.1-29.5-26.4-32.8l-1.6-.3v-53.3h-29.7V201.5l-39.4-39.4-18.4 18.4 31.8 31.8v122h-29.7v57.3l-1.2.5c-5 2.2-9.8 5-14.1 8.5l-3 2.4-.2-3.9c-2-39.5-33.1-72.1-72.5-75.8l-4.3-.4 3.1-3c19.9-19.4 30.8-45.3 30.8-73v-182h-33.1l-.6-.9c-24-38.8-65.6-62-111.4-62-45.7 0-87.4 23.2-111.4 61.9l-.6.9H46v182c0 27.7 10.9 53.6 30.8 73l3.1 3-4.3.4c-41.4 4-72.6 38.4-72.6 80V510h376.2v-16l3.2 2.6c11 8.8 24.2 13.4 38.2 13.4h56.7c18.5 0 33.6-15.1 33.6-33.6l.1-55.7zM70.3 484H29v-80.8c0-23.8 15.9-45.2 38.7-52l2.6-.8V484zm43.8-422.5c19.8-21.3 47.8-33.5 77-33.5s57.2 12.2 77 33.5l3.1 3.4H111l3.1-3.4zM285.9 484H96.3V348.9h27.2l13 75.2h109.2l13-75.2h27.2V484zm-136-135.1h82.5l-8.5 49.1h-65.5l-8.5-49.1zm84.3-26H148c-41.9 0-76-34.1-76-76v-156h238.2v156c0 41.9-34.1 76-76 76zm119 161.1h-41.3V350.4l2.6.8c22.8 6.8 38.7 28.2 38.7 52V484zm70.5-123.7H457v26.8h-33.3v-26.8zM485 476.4c0 4.2-3.4 7.6-7.6 7.6h-56.7c-19.6 0-35.5-15.9-35.5-35.5 0-19.5 15.9-35.5 35.5-35.5h56.7c4.2 0 7.6 3.4 7.6 7.6v55.8z" class="st1"/>
|
|
12
|
+
<path d="M362.4 129.2H388.4V154.7H362.4z" class="st1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 9.5916 307.0508)"/>
|
|
13
|
+
<path d="M359.3 188H384.8V214H359.3z" class="st1" transform="matrix(0.7082 -0.706 0.706 0.7082 -33.3727 321.32)"/>
|
|
14
|
+
<path d="M421.7 125.7H447.2V151.7H421.7z" class="st1" transform="matrix(0.7082 -0.706 0.706 0.7082 28.8531 347.1919)"/>
|
|
15
|
+
<linearGradient id="SVGID_2_" x1="191.1" x2="191.1" y1="484" y2="348.9" gradientUnits="userSpaceOnUse">
|
|
16
|
+
<stop offset="0" stop-color="#EFC530"/>
|
|
17
|
+
<stop offset="1" stop-color="#FCEDB6"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<path fill="url(#SVGID_2_)" stroke="#000000" stroke-miterlimit="10" d="M96.3 348.9L123.5 348.9 136.5 424.1 245.7 424.1 258.7 348.9 285.9 348.9 285.9 484 96.3 484z"/>
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" x="0" y="0" enable-background="new 0 0 489.4 489.4" version="1.1" viewBox="0 0 489.4 489.4" xml:space="preserve">
|
|
2
|
+
<style>
|
|
3
|
+
.st3{fill:#1d1d1d}
|
|
4
|
+
</style>
|
|
5
|
+
<linearGradient id="SVGID_1_" x1="244" x2="244" y1="230" y2="43" gradientUnits="userSpaceOnUse">
|
|
6
|
+
<stop offset="0" stop-color="#F37C1C"/>
|
|
7
|
+
<stop offset="1" stop-color="#FCC191"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<path fill="url(#SVGID_1_)" d="M17 171L89 43 402 43 471 162 471 198.3 413 230 362 191 310 230 248.2 198.1 191 230 132.6 193 66 230 17 198.3z"/>
|
|
10
|
+
<linearGradient id="SVGID_2_" x1="244.65" x2="244.65" y1="434.45" y2="210.25" gradientUnits="userSpaceOnUse">
|
|
11
|
+
<stop offset="0" stop-color="#EFC530"/>
|
|
12
|
+
<stop offset="1" stop-color="#FCEDB6"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<path fill="url(#SVGID_2_)" d="M423.3 434.4V241.2c-1.4 0-2.7.1-4.1.1-24.2 0-45.6-12.3-58.2-31-12.6 18.7-33.9 31-58.1 31-24.1 0-45.5-12.3-58.1-31-12.7 18.7-34 31-58.2 31-24.2 0-45.6-12.3-58.2-31-12.6 18.7-34 31-58.2 31-1.4 0-2.8 0-4.2-.1v193.3h42.5V304.9c0-22.7 18.5-41.1 41.1-41.1h34.9c22.7 0 41.1 18.5 41.1 41.1v129.5h197.7zM248.2 296.7c0-18.2 14.8-33 33-33h66.5c18.2 0 33 14.8 33 33v51c0 18.2-14.8 33-33 33h-66.5c-18.2 0-33-14.8-33-33v-51z"/>
|
|
15
|
+
<linearGradient id="SVGID_3_" x1="167.15" x2="167.15" y1="434.35" y2="287.75" gradientUnits="userSpaceOnUse">
|
|
16
|
+
<stop offset="0" stop-color="#F37C1C"/>
|
|
17
|
+
<stop offset="1" stop-color="#FCC191"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<path fill="url(#SVGID_3_)" d="M149.7 287.7c-9.5 0-17.1 7.7-17.1 17.1v129.5h69.1V304.9c0-9.5-7.7-17.1-17.1-17.1h-34.9z"/>
|
|
20
|
+
<g>
|
|
21
|
+
<path d="M347.7 263.8h-66.5c-18.2 0-33 14.8-33 33v51c0 18.2 14.8 33 33 33h66.5c18.2 0 33-14.8 33-33v-51c0-18.3-14.8-33-33-33zm9 84c0 5-4.1 9-9 9h-66.5c-5 0-9-4.1-9-9v-51c0-5 4.1-9 9-9h66.5c5 0 9 4.1 9 9v51z" class="st3"/>
|
|
22
|
+
<path d="M489.4 171.1c0-2.1-.5-4.1-1.6-5.9L415 37.2c-2.1-3.7-6.1-6.1-10.4-6.1H84.7c-4.3 0-8.3 2.3-10.4 6.1l-72.7 128C.6 167 0 169 0 171.1c0 28.7 17.3 53.3 42 64.2v211.1c0 6.6 5.4 12 12 12h381.3c6.6 0 12-5.4 12-12V236.8c0-.5 0-.9-.1-1.3 24.8-10.9 42.2-35.6 42.2-64.4zM91.7 55.2h305.9l56.9 100.1H34.9L91.7 55.2zm256.6 123.9c-3.8 21.6-22.7 38-45.4 38s-41.6-16.4-45.4-38h90.8zm-116.3 0c-3.8 21.6-22.7 38-45.4 38s-41.6-16.4-45.5-38H232zm-207.2 0h90.9c-3.8 21.6-22.8 38-45.5 38-22.7.2-41.6-16.3-45.4-38zm176.8 255.3h-69V304.9c0-9.4 7.6-17.1 17.1-17.1h34.9c9.4 0 17.1 7.6 17.1 17.1v129.5h-.1zm221.7 0H225.6V304.9c0-22.6-18.4-41.1-41.1-41.1h-34.9c-22.6 0-41.1 18.4-41.1 41.1v129.6H66V241.2c1.4.1 2.8.1 4.2.1 24.2 0 45.6-12.3 58.2-31 12.6 18.7 34 31 58.2 31s45.5-12.3 58.2-31c12.6 18.7 34 31 58.1 31 24.2 0 45.5-12.3 58.1-31 12.6 18.7 34 31 58.2 31 1.4 0 2.7-.1 4.1-.1v193.2zm-4.1-217.1c-22.7 0-41.6-16.4-45.4-38h90.9c-3.9 21.5-22.8 38-45.5 38z" class="st3"/>
|
|
23
|
+
</g>
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 491.996 491.996" viewBox="0 0 491.996 491.996">
|
|
2
|
+
<path d="M484.132 124.986l-16.116-16.228c-5.072-5.068-11.82-7.86-19.032-7.86-7.208 0-13.964 2.792-19.036 7.86l-183.84 183.848L62.056 108.554c-5.064-5.068-11.82-7.856-19.028-7.856s-13.968 2.788-19.036 7.856l-16.12 16.128c-10.496 10.488-10.496 27.572 0 38.06l219.136 219.924c5.064 5.064 11.812 8.632 19.084 8.632h.084c7.212 0 13.96-3.572 19.024-8.632l218.932-219.328c5.072-5.064 7.856-12.016 7.864-19.224 0-7.212-2.792-14.068-7.864-19.128z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.SpinnerHolder = exports.Container = void 0;
|
|
9
|
+
|
|
10
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
|
+
|
|
12
|
+
var Container = _styledComponents.default.div.withConfig({
|
|
13
|
+
displayName: "styles__Container",
|
|
14
|
+
componentId: "sc-1iu9svv-0"
|
|
15
|
+
})(["box-shadow:-0.9px -0.5px 5px 0 rgba(0,0,0,0.06);border:solid 1px #ebebeb;padding:39px 20px 28px 23px;min-height:300px;"]);
|
|
16
|
+
|
|
17
|
+
exports.Container = Container;
|
|
18
|
+
|
|
19
|
+
var SpinnerHolder = _styledComponents.default.div.withConfig({
|
|
20
|
+
displayName: "styles__SpinnerHolder",
|
|
21
|
+
componentId: "sc-1iu9svv-1"
|
|
22
|
+
})(["text-align:center;display:flex;justify-content:center;align-items:center;height:100%;"]);
|
|
23
|
+
|
|
24
|
+
exports.SpinnerHolder = SpinnerHolder;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.MostSevereEvents = void 0;
|
|
11
|
+
|
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
|
+
|
|
14
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
15
|
+
|
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
17
|
+
|
|
18
|
+
require("./MostSevereEvents.scss");
|
|
19
|
+
|
|
20
|
+
var _SevereEvent = require("./SevereEvent/SevereEvent");
|
|
21
|
+
|
|
22
|
+
var _useApi3 = require("../../../../../shared/utilities/custom_hooks/useApi");
|
|
23
|
+
|
|
24
|
+
var _NoEvents = _interopRequireDefault(require("./NoEvents/NoEvents"));
|
|
25
|
+
|
|
26
|
+
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); }
|
|
27
|
+
|
|
28
|
+
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; }
|
|
29
|
+
|
|
30
|
+
var MostSevereEvents = function MostSevereEvents(_ref) {
|
|
31
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
32
|
+
|
|
33
|
+
var _useState = (0, _react.useState)([]),
|
|
34
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
35
|
+
eventsArr = _useState2[0],
|
|
36
|
+
setEventsArr = _useState2[1];
|
|
37
|
+
|
|
38
|
+
var endPoint = '/events';
|
|
39
|
+
|
|
40
|
+
var _useApi = (0, _useApi3.useApi)(endPoint),
|
|
41
|
+
_useApi2 = (0, _slicedToArray2.default)(_useApi, 3),
|
|
42
|
+
response = _useApi2[0],
|
|
43
|
+
isLoading = _useApi2[1],
|
|
44
|
+
Error = _useApi2[2];
|
|
45
|
+
|
|
46
|
+
(0, _react.useEffect)(function () {
|
|
47
|
+
var _response$data;
|
|
48
|
+
|
|
49
|
+
if (response !== null && response !== void 0 && (_response$data = response.data) !== null && _response$data !== void 0 && _response$data.eventsArr && !Error) {
|
|
50
|
+
if (Array.isArray(response.data.eventsArr)) {
|
|
51
|
+
var arr = response.data.eventsArr.filter(function (event) {
|
|
52
|
+
return event.severity === 'high' || event.severity === 'extreme';
|
|
53
|
+
}).sort(function (a, b) {
|
|
54
|
+
return -Date.parse("01/01/2011 ".concat(a.total)) + Date.parse("01/01/2011 ".concat(b.total));
|
|
55
|
+
}).slice(0, 4);
|
|
56
|
+
setEventsArr(arr);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}, [response]);
|
|
60
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
61
|
+
className: "most-severe-events"
|
|
62
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
63
|
+
className: "titles"
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
65
|
+
className: "main-title"
|
|
66
|
+
}, "Most Severe Events"), /*#__PURE__*/_react.default.createElement("div", {
|
|
67
|
+
className: "subtitle"
|
|
68
|
+
}, "All Events ", '>')), response && eventsArr.length === 0 ? /*#__PURE__*/_react.default.createElement(_NoEvents.default, null) : /*#__PURE__*/_react.default.createElement("div", {
|
|
69
|
+
className: "events-container"
|
|
70
|
+
}, eventsArr.map(function (event, index) {
|
|
71
|
+
return /*#__PURE__*/_react.default.createElement(_SevereEvent.SevereEvent, {
|
|
72
|
+
key: index,
|
|
73
|
+
damages: event.damages,
|
|
74
|
+
firstSeen: event.firstSeen,
|
|
75
|
+
lastSeen: event.lastSeen,
|
|
76
|
+
total: event.total,
|
|
77
|
+
etaWWTP: event.etaWWTP,
|
|
78
|
+
msg: event.msg
|
|
79
|
+
});
|
|
80
|
+
})));
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
exports.MostSevereEvents = MostSevereEvents;
|
package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/MostSevereEvents.scss
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.most-severe-events {
|
|
2
|
+
color: #1d1d1d;
|
|
3
|
+
|
|
4
|
+
> .titles {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: baseline;
|
|
7
|
+
margin-bottom: 18px;
|
|
8
|
+
|
|
9
|
+
> .main-title {
|
|
10
|
+
margin-right: 11px;
|
|
11
|
+
font-size: 24px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
> .subtitle {
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
font-weight: 300;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
> .events-container {
|
|
21
|
+
|
|
22
|
+
display: grid;
|
|
23
|
+
grid-template-columns: repeat(auto-fill, 446px);
|
|
24
|
+
grid-gap: 24px;
|
|
25
|
+
grid-auto-rows: 315px;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
}
|