@kando-env/kando-ui 1.0.3 → 1.0.6
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 +13 -7
- package/lib/CovidView/views/components/MapStyle.scss +7 -30
- package/lib/CovidView/views/components/Sidebar.js +22 -4
- package/lib/CovidView/views/components/SummaryStyle.scss +1 -1
- package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +176 -0
- package/lib/CovidView/views/components/TrendGraphNVL/index.js +13 -0
- package/lib/CovidView/views/components/TrendGraphNVL/styles.scss +20 -0
- package/lib/CovidView/views/components/{areas/TrendPopupContent → TrendPopupContent}/TrendPopupContent.js +35 -23
- package/lib/CovidView/views/components/areas/Area.js +74 -64
- package/lib/CovidView/views/components/areas/AreaPolygonWBE.js +37 -13
- package/lib/CovidView/views/components/areas/AreasList.js +11 -11
- package/lib/CovidView/views/components/areas/AreasStyle.scss +76 -1
- 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 +95 -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 +34 -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 +361 -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/PieChart/PieChart.js +117 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +68 -0
- package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +56 -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/EventsView/views/components/events/event_info/EventInfo.js +3 -5
- package/lib/EventsView/views/components/map/FloatingGraph.js +12 -18
- package/lib/EventsView/views/components/map/Map.js +5 -3
- package/lib/EventsView/views/components/map/floatingGraphStyle.scss +54 -0
- package/lib/EventsView/views/components/map/mapStyle.scss +7 -29
- package/lib/EventsView/views/components/points/PointMarker.js +16 -15
- 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/KandoModal/KandoModal.js +9 -6
- 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/redux/global/actions.js +5 -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
- /package/lib/CovidView/views/components/{areas/TrendPopupContent → TrendPopupContent}/index.js +0 -0
- /package/lib/CovidView/views/components/{areas/TrendPopupContent → TrendPopupContent}/styles.scss +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.TwentyParametersTabs = exports.TwoParametersTabs = exports.NoResults = exports.Static = exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _msw = require("msw");
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _SamplingParameters = require("./SamplingParameters.mock");
|
|
15
|
+
|
|
16
|
+
var _SamplingParameters2 = require("./SamplingParameters");
|
|
17
|
+
|
|
18
|
+
var _default = {
|
|
19
|
+
title: 'UI/Widgets/SamplingParameters',
|
|
20
|
+
component: _SamplingParameters2.SamplingParameters,
|
|
21
|
+
argTypes: {
|
|
22
|
+
DefaultShowParameters: {
|
|
23
|
+
control: 'boolean',
|
|
24
|
+
defaultValue: false
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.default = _default;
|
|
29
|
+
|
|
30
|
+
var Template = function Template(args) {
|
|
31
|
+
return /*#__PURE__*/_react.default.createElement(_SamplingParameters2.SamplingParameters, args);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
var Static = Template.bind({});
|
|
35
|
+
exports.Static = Static;
|
|
36
|
+
Static.args = {};
|
|
37
|
+
Static.parameters = {
|
|
38
|
+
msw: [_msw.rest.get('/test', function (req, res, ctx) {
|
|
39
|
+
return res(ctx.json({
|
|
40
|
+
lab_results: _SamplingParameters.labResultsDefault
|
|
41
|
+
}));
|
|
42
|
+
})]
|
|
43
|
+
};
|
|
44
|
+
var NoResults = Template.bind({});
|
|
45
|
+
exports.NoResults = NoResults;
|
|
46
|
+
NoResults.args = {};
|
|
47
|
+
NoResults.parameters = {
|
|
48
|
+
msw: [_msw.rest.get('/test', function (req, res, ctx) {
|
|
49
|
+
return res(ctx.json({
|
|
50
|
+
lab_results: []
|
|
51
|
+
}));
|
|
52
|
+
})]
|
|
53
|
+
};
|
|
54
|
+
var TwoParametersTabs = Template.bind({});
|
|
55
|
+
exports.TwoParametersTabs = TwoParametersTabs;
|
|
56
|
+
TwoParametersTabs.args = {
|
|
57
|
+
DefaultShowParameters: true
|
|
58
|
+
};
|
|
59
|
+
TwoParametersTabs.parameters = {
|
|
60
|
+
msw: [_msw.rest.get('/test', function (req, res, ctx) {
|
|
61
|
+
return res(ctx.json({
|
|
62
|
+
lab_results: _SamplingParameters.twoParamsTabs
|
|
63
|
+
}));
|
|
64
|
+
})]
|
|
65
|
+
};
|
|
66
|
+
var TwentyParametersTabs = Template.bind({});
|
|
67
|
+
exports.TwentyParametersTabs = TwentyParametersTabs;
|
|
68
|
+
TwentyParametersTabs.args = {
|
|
69
|
+
DefaultShowParameters: true
|
|
70
|
+
};
|
|
71
|
+
TwentyParametersTabs.parameters = {
|
|
72
|
+
msw: [_msw.rest.get('/test', function (req, res, ctx) {
|
|
73
|
+
return res(ctx.json({
|
|
74
|
+
lab_results: _SamplingParameters.twentyParamsTabs
|
|
75
|
+
}));
|
|
76
|
+
})]
|
|
77
|
+
}; //DONT remove comments; used for generating custom content
|
|
78
|
+
// export const Dynamic = Template.bind({});
|
|
79
|
+
// Dynamic.args = {};
|
|
80
|
+
// Dynamic.parameters = {
|
|
81
|
+
// msw: [
|
|
82
|
+
// rest.get('/test', (req, res, ctx) => {
|
|
83
|
+
// const json = createJsonResults(4);
|
|
84
|
+
// console.log(JSON.stringify(json));
|
|
85
|
+
// return res(
|
|
86
|
+
// ctx.json({
|
|
87
|
+
// lab_results: createJsonResults(4),
|
|
88
|
+
// }),
|
|
89
|
+
// );
|
|
90
|
+
// }),
|
|
91
|
+
// ],
|
|
92
|
+
// };
|
|
93
|
+
// const randomBetween = (low: number, high: number) =>
|
|
94
|
+
// Math.floor(Math.random() * (high - low)) + low;
|
|
95
|
+
// const RandomParameter = () => {
|
|
96
|
+
// const symbols = [
|
|
97
|
+
// 'CI-',
|
|
98
|
+
// 'COD',
|
|
99
|
+
// 'COD/BOD',
|
|
100
|
+
// 'Cu',
|
|
101
|
+
// 'PH',
|
|
102
|
+
// 'Pb',
|
|
103
|
+
// 'Solids>10mm',
|
|
104
|
+
// 'COD/BOD1',
|
|
105
|
+
// 'COD/BOD2',
|
|
106
|
+
// 'COD/BOD3',
|
|
107
|
+
// 'COD/BOD4',
|
|
108
|
+
// 'COD/BOD5',
|
|
109
|
+
// 'COD/BOD6',
|
|
110
|
+
// 'COD/BOD7',
|
|
111
|
+
// 'COD/BOD8',
|
|
112
|
+
// 'COD/BOD9',
|
|
113
|
+
// 'COD/BOD10',
|
|
114
|
+
// 'COD/BOD11',
|
|
115
|
+
// 'COD/BOD12',
|
|
116
|
+
// 'COD/BOD13',
|
|
117
|
+
// 'COD/BOD14',
|
|
118
|
+
// 'COD/BOD15',
|
|
119
|
+
// 'COD/BOD16',
|
|
120
|
+
// 'COD/BOD17',
|
|
121
|
+
// 'COD/BOD18',
|
|
122
|
+
// 'COD/BOD19',
|
|
123
|
+
// 'COD/BOD20',
|
|
124
|
+
// 'COD/BOD21',
|
|
125
|
+
// 'COD/BOD22',
|
|
126
|
+
// 'COD/BOD23',
|
|
127
|
+
// 'COD/BOD24',
|
|
128
|
+
// 'COD/BOD25',
|
|
129
|
+
// 'COD/BOD26',
|
|
130
|
+
// 'COD/BOD27',
|
|
131
|
+
// 'COD/BOD28',
|
|
132
|
+
// ];
|
|
133
|
+
// const symbol = symbols[randomBetween(0, 21)];
|
|
134
|
+
// const percent_value = randomBetween(0, 200);
|
|
135
|
+
// let status = 'normal';
|
|
136
|
+
// if (percent_value > 150) {
|
|
137
|
+
// status = 'warning';
|
|
138
|
+
// } else if (percent_value > 100) {
|
|
139
|
+
// status = 'exception';
|
|
140
|
+
// }
|
|
141
|
+
// return {
|
|
142
|
+
// symbol,
|
|
143
|
+
// percent_value,
|
|
144
|
+
// percent_uncertainty: randomBetween(0, 300),
|
|
145
|
+
// measured_value: randomBetween(200, 400),
|
|
146
|
+
// status,
|
|
147
|
+
// };
|
|
148
|
+
// };
|
|
149
|
+
// const createParametersArray = (number: number) => {
|
|
150
|
+
// const arr: any[] = [];
|
|
151
|
+
// for (let index = 0; index < number; index++) {
|
|
152
|
+
// arr.push(RandomParameter());
|
|
153
|
+
// }
|
|
154
|
+
// return arr;
|
|
155
|
+
// };
|
|
156
|
+
// const createJsonResults = (number: number) => {
|
|
157
|
+
// const arr: any[] = [];
|
|
158
|
+
// const statuses = ['normal', 'exception'];
|
|
159
|
+
// for (let index = 0; index < number; index++) {
|
|
160
|
+
// arr.push({
|
|
161
|
+
// date: 1623748845000 + index * 24 * 3600 * 1000,
|
|
162
|
+
// point: {
|
|
163
|
+
// point_id: 23423,
|
|
164
|
+
// site_name: `site${index + 1}`,
|
|
165
|
+
// },
|
|
166
|
+
// status: statuses[randomBetween(0, 2)],
|
|
167
|
+
// parameters: createParametersArray(randomBetween(12, 13)),
|
|
168
|
+
// });
|
|
169
|
+
// }
|
|
170
|
+
// return arr;
|
|
171
|
+
// };
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ParametersChart = void 0;
|
|
11
|
+
|
|
12
|
+
var _highcharts = _interopRequireDefault(require("highcharts"));
|
|
13
|
+
|
|
14
|
+
var _highchartsReactOfficial = _interopRequireDefault(require("highcharts-react-official"));
|
|
15
|
+
|
|
16
|
+
var _highchartsMore = _interopRequireDefault(require("highcharts/highcharts-more"));
|
|
17
|
+
|
|
18
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
+
|
|
20
|
+
var _options = require("./options/options");
|
|
21
|
+
|
|
22
|
+
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); }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
(0, _highchartsMore.default)(_highcharts.default);
|
|
27
|
+
|
|
28
|
+
var ParametersChart = function ParametersChart(_ref) {
|
|
29
|
+
var parametersData = _ref.parametersData,
|
|
30
|
+
breakLine = _ref.breakLine,
|
|
31
|
+
title = _ref.title;
|
|
32
|
+
var options = (0, _react.useMemo)(function () {
|
|
33
|
+
if (!parametersData) {
|
|
34
|
+
return {};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return (0, _options.getParametersOptions)(parametersData, breakLine, title);
|
|
38
|
+
}, [parametersData]);
|
|
39
|
+
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_highchartsReactOfficial.default, {
|
|
40
|
+
highcharts: _highcharts.default,
|
|
41
|
+
options: options,
|
|
42
|
+
containerProps: {
|
|
43
|
+
style: {
|
|
44
|
+
height: "100%"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
exports.ParametersChart = ParametersChart;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.SamplingChart = void 0;
|
|
11
|
+
|
|
12
|
+
var _highcharts = _interopRequireDefault(require("highcharts"));
|
|
13
|
+
|
|
14
|
+
var _highchartsReactOfficial = _interopRequireDefault(require("highcharts-react-official"));
|
|
15
|
+
|
|
16
|
+
var _highchartsMore = _interopRequireDefault(require("highcharts/highcharts-more"));
|
|
17
|
+
|
|
18
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
+
|
|
20
|
+
var _styles = require("../styles/styles");
|
|
21
|
+
|
|
22
|
+
var _options = require("./options/options");
|
|
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
|
+
(0, _highchartsMore.default)(_highcharts.default);
|
|
29
|
+
|
|
30
|
+
var SamplingChart = function SamplingChart(_ref) {
|
|
31
|
+
var labResults = _ref.labResults,
|
|
32
|
+
setLoadingDone = _ref.setLoadingDone;
|
|
33
|
+
var options = (0, _react.useMemo)(function () {
|
|
34
|
+
return (0, _options.getSamplingOptions)(labResults);
|
|
35
|
+
}, [labResults]);
|
|
36
|
+
(0, _react.useEffect)(function () {
|
|
37
|
+
setLoadingDone(false);
|
|
38
|
+
}, []);
|
|
39
|
+
return /*#__PURE__*/_react.default.createElement(_styles.CustomContainer, {
|
|
40
|
+
w: "100%",
|
|
41
|
+
padding: "25px 50px"
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_highchartsReactOfficial.default, {
|
|
43
|
+
highcharts: _highcharts.default,
|
|
44
|
+
options: options,
|
|
45
|
+
containerProps: {
|
|
46
|
+
style: {
|
|
47
|
+
height: "260px"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}));
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
exports.SamplingChart = SamplingChart;
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getSamplingOptions = exports.getParametersOptions = void 0;
|
|
7
|
+
|
|
8
|
+
var _styles = require("../../styles/styles");
|
|
9
|
+
|
|
10
|
+
var getParametersOptions = function getParametersOptions(parametersData, breakLine, title) {
|
|
11
|
+
var categories = [];
|
|
12
|
+
var colors = [];
|
|
13
|
+
var upperData = [];
|
|
14
|
+
var lowerData = [];
|
|
15
|
+
parametersData.forEach(function (i) {
|
|
16
|
+
var value = i.value,
|
|
17
|
+
title = i.title;
|
|
18
|
+
categories.push(title);
|
|
19
|
+
|
|
20
|
+
if (value <= breakLine) {
|
|
21
|
+
lowerData.push(value);
|
|
22
|
+
upperData.push(0);
|
|
23
|
+
} else {
|
|
24
|
+
lowerData.push(breakLine);
|
|
25
|
+
upperData.push(value - breakLine);
|
|
26
|
+
}
|
|
27
|
+
}); // @ts-ignore
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
|
|
30
|
+
var options = {
|
|
31
|
+
chart: {
|
|
32
|
+
backgroundColor: "",
|
|
33
|
+
// zoomType: "xy",
|
|
34
|
+
type: "column",
|
|
35
|
+
marginLeft: 100,
|
|
36
|
+
marginRight: 100
|
|
37
|
+
},
|
|
38
|
+
credits: {
|
|
39
|
+
enabled: false
|
|
40
|
+
},
|
|
41
|
+
title: {
|
|
42
|
+
text: title,
|
|
43
|
+
style: {
|
|
44
|
+
fontSize: "18px",
|
|
45
|
+
fontWeight: "600"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
xAxis: [{
|
|
49
|
+
categories: categories
|
|
50
|
+
}],
|
|
51
|
+
plotOptions: {
|
|
52
|
+
series: {
|
|
53
|
+
// animation: {
|
|
54
|
+
// duration: 400,
|
|
55
|
+
// },
|
|
56
|
+
animation: false
|
|
57
|
+
},
|
|
58
|
+
column: {
|
|
59
|
+
stacking: "normal",
|
|
60
|
+
dataLabels: {
|
|
61
|
+
enabled: true
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
yAxis: [{
|
|
66
|
+
title: {
|
|
67
|
+
text: ""
|
|
68
|
+
},
|
|
69
|
+
stackLabels: {
|
|
70
|
+
enabled: true,
|
|
71
|
+
style: {
|
|
72
|
+
fontWeight: "600",
|
|
73
|
+
color: "#1d1d1d",
|
|
74
|
+
fontFamily: "Gilroy"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
plotLines: [{
|
|
78
|
+
value: breakLine,
|
|
79
|
+
color: "#f6004f",
|
|
80
|
+
width: 2,
|
|
81
|
+
dashStyle: "ShortDash",
|
|
82
|
+
className: "line-value",
|
|
83
|
+
zIndex: 2,
|
|
84
|
+
label: {
|
|
85
|
+
text: breakLine.toString(),
|
|
86
|
+
align: "right",
|
|
87
|
+
y: 4,
|
|
88
|
+
x: 24,
|
|
89
|
+
style: {
|
|
90
|
+
color: "#f6004f",
|
|
91
|
+
fontSize: "12px",
|
|
92
|
+
fontWeight: "600"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}]
|
|
96
|
+
}],
|
|
97
|
+
tooltip: {
|
|
98
|
+
enabled: false
|
|
99
|
+
},
|
|
100
|
+
series: [{
|
|
101
|
+
// @ts-ignore
|
|
102
|
+
data: upperData,
|
|
103
|
+
color: "#f6004f",
|
|
104
|
+
showInLegend: false,
|
|
105
|
+
dataLabels: {
|
|
106
|
+
enabled: false
|
|
107
|
+
}
|
|
108
|
+
}, {
|
|
109
|
+
// @ts-ignore
|
|
110
|
+
data: lowerData,
|
|
111
|
+
zIndex: 1,
|
|
112
|
+
color: "#fcb2ca",
|
|
113
|
+
showInLegend: false,
|
|
114
|
+
dataLabels: {
|
|
115
|
+
enabled: false
|
|
116
|
+
}
|
|
117
|
+
}]
|
|
118
|
+
};
|
|
119
|
+
return options;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
exports.getParametersOptions = getParametersOptions;
|
|
123
|
+
var COLOR_OPTIONS = {
|
|
124
|
+
exceptions: _styles.colors['yellow'],
|
|
125
|
+
exception: _styles.colors['yellow'],
|
|
126
|
+
normal: _styles.colors['green'],
|
|
127
|
+
warning: _styles.colors['red']
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
var getSamplingOptions = function getSamplingOptions(labResults) {
|
|
131
|
+
var _labResults$parameter;
|
|
132
|
+
|
|
133
|
+
var categories = [];
|
|
134
|
+
var colors = [];
|
|
135
|
+
var data = [];
|
|
136
|
+
var errorData = [];
|
|
137
|
+
var RED_LINE_VALUE = 100;
|
|
138
|
+
labResults === null || labResults === void 0 ? void 0 : (_labResults$parameter = labResults.parameters) === null || _labResults$parameter === void 0 ? void 0 : _labResults$parameter.forEach(function (i) {
|
|
139
|
+
var symbol = i.symbol,
|
|
140
|
+
percent_uncertainty = i.percent_uncertainty,
|
|
141
|
+
percent_value = i.percent_value,
|
|
142
|
+
status = i.status;
|
|
143
|
+
categories.push(symbol);
|
|
144
|
+
colors.push(COLOR_OPTIONS[status || "normal"]);
|
|
145
|
+
data.push(percent_value);
|
|
146
|
+
errorData.push([0, percent_uncertainty]);
|
|
147
|
+
});
|
|
148
|
+
var options = {
|
|
149
|
+
chart: {
|
|
150
|
+
backgroundColor: ""
|
|
151
|
+
},
|
|
152
|
+
title: {
|
|
153
|
+
text: ""
|
|
154
|
+
},
|
|
155
|
+
credits: {
|
|
156
|
+
enabled: false
|
|
157
|
+
},
|
|
158
|
+
xAxis: [{
|
|
159
|
+
categories: categories
|
|
160
|
+
}],
|
|
161
|
+
plotOptions: {
|
|
162
|
+
series: {
|
|
163
|
+
animation: {
|
|
164
|
+
duration: 400
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
yAxis: [{
|
|
169
|
+
title: {
|
|
170
|
+
text: "Deviation (%)"
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
tickInterval: 100,
|
|
174
|
+
title: {
|
|
175
|
+
text: ""
|
|
176
|
+
},
|
|
177
|
+
plotLines: [{
|
|
178
|
+
value: RED_LINE_VALUE,
|
|
179
|
+
color: "red",
|
|
180
|
+
width: 2
|
|
181
|
+
}]
|
|
182
|
+
}],
|
|
183
|
+
tooltip: {
|
|
184
|
+
shared: true,
|
|
185
|
+
style: {
|
|
186
|
+
fontSize: "14px"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
series: [{
|
|
190
|
+
animation: false,
|
|
191
|
+
name: "Value",
|
|
192
|
+
type: "column",
|
|
193
|
+
yAxis: 1,
|
|
194
|
+
showInLegend: false,
|
|
195
|
+
data: data,
|
|
196
|
+
colorByPoint: true,
|
|
197
|
+
colors: colors
|
|
198
|
+
}, {
|
|
199
|
+
animation: false,
|
|
200
|
+
name: "Error",
|
|
201
|
+
type: "errorbar",
|
|
202
|
+
yAxis: 1,
|
|
203
|
+
data: errorData
|
|
204
|
+
}]
|
|
205
|
+
};
|
|
206
|
+
return options;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
exports.getSamplingOptions = getSamplingOptions;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.parseTableData = void 0;
|
|
9
|
+
|
|
10
|
+
var _moment = _interopRequireDefault(require("moment"));
|
|
11
|
+
|
|
12
|
+
var _styles = require("./styles/styles");
|
|
13
|
+
|
|
14
|
+
// import { LabResults } from './../../components/SamplingErrorBar/models';
|
|
15
|
+
var rowMapper = function rowMapper(result) {
|
|
16
|
+
var row = [];
|
|
17
|
+
var time = (0, _moment.default)(result.date);
|
|
18
|
+
row.push(time.format("MMM DD, YYYY"));
|
|
19
|
+
row.push(time.format("hh:mm A"));
|
|
20
|
+
row.push(result.point.site_name);
|
|
21
|
+
row.push(result.parameters.length.toString());
|
|
22
|
+
var exception = exceptionStatusCounter(result.parameters);
|
|
23
|
+
var exceptionNumber = exception.exception.number.toString();
|
|
24
|
+
row.push(exceptionNumber);
|
|
25
|
+
var normalNumber = exception.normal.number.toString();
|
|
26
|
+
row.push(normalNumber);
|
|
27
|
+
|
|
28
|
+
if (result.status) {
|
|
29
|
+
row.push(result.status[0].toUpperCase() + result.status.slice(1));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return row;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var exceptionStatusCounter = function exceptionStatusCounter(arr) {
|
|
36
|
+
var summary = {
|
|
37
|
+
total: {
|
|
38
|
+
number: 0,
|
|
39
|
+
color: _styles.colors.grey,
|
|
40
|
+
title: "Samples"
|
|
41
|
+
},
|
|
42
|
+
exception: {
|
|
43
|
+
number: 0,
|
|
44
|
+
color: _styles.colors.yellow,
|
|
45
|
+
title: "Exceptions"
|
|
46
|
+
},
|
|
47
|
+
normal: {
|
|
48
|
+
number: 0,
|
|
49
|
+
color: _styles.colors.green,
|
|
50
|
+
title: "Normal"
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
arr.forEach(function (result) {
|
|
54
|
+
if (result.status) {
|
|
55
|
+
if (result.status === 'warning') {
|
|
56
|
+
summary.exception.number += 1;
|
|
57
|
+
} else {
|
|
58
|
+
summary[result.status].number += 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
summary.total.number += 1;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
return summary;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
var parametersReducer = function parametersReducer(labResults) {
|
|
68
|
+
var summary = {};
|
|
69
|
+
labResults.forEach(function (result) {
|
|
70
|
+
result.parameters.reduce(function (summary, param) {
|
|
71
|
+
if (!summary[param.symbol]) {
|
|
72
|
+
summary[param.symbol] = [];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
var time = (0, _moment.default)(result.date);
|
|
76
|
+
var data = {
|
|
77
|
+
title: "".concat(time.format("MMM DD, YYYY"), "<br/>").concat(time.format("hh:mm A")),
|
|
78
|
+
value: param.measured_value
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
if (param !== null && param !== void 0 && param.symbol && summary[param.symbol] && data) {
|
|
82
|
+
summary[param.symbol].push(data);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return summary;
|
|
86
|
+
}, summary);
|
|
87
|
+
}, summary);
|
|
88
|
+
return summary;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
var parseTableData = function parseTableData(json) {
|
|
92
|
+
var headers = ["Sampling Date", "Site", "Parameters", "Exceptions", "Normal", "Status"];
|
|
93
|
+
var rows = json.lab_results.map(function (i) {
|
|
94
|
+
return rowMapper(i);
|
|
95
|
+
});
|
|
96
|
+
var exceptionsSummary = exceptionStatusCounter(json.lab_results);
|
|
97
|
+
var exceptions = Object.values(exceptionsSummary);
|
|
98
|
+
var parametersSummary = parametersReducer(json.lab_results);
|
|
99
|
+
return {
|
|
100
|
+
headers: headers,
|
|
101
|
+
rows: rows,
|
|
102
|
+
exceptions: exceptions,
|
|
103
|
+
parametersSummary: parametersSummary
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
exports.parseTableData = parseTableData;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.Title = exports.TitleTabsHolder = exports.Main = void 0;
|
|
9
|
+
|
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
|
+
|
|
12
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
|
+
|
|
14
|
+
var _templateObject, _templateObject2, _templateObject3;
|
|
15
|
+
|
|
16
|
+
var Main = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n font-family: Gilroy;\n width: 100%;\n overflow-x: hidden;\n"])));
|
|
17
|
+
|
|
18
|
+
exports.Main = Main;
|
|
19
|
+
|
|
20
|
+
var TitleTabsHolder = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n"])));
|
|
21
|
+
|
|
22
|
+
exports.TitleTabsHolder = TitleTabsHolder;
|
|
23
|
+
|
|
24
|
+
var Title = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n color: #1d1d1d;\n font-size: 24px;\n line-height: 0.92;\n"])));
|
|
25
|
+
|
|
26
|
+
exports.Title = Title;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.CustomContainer = exports.colors = void 0;
|
|
9
|
+
|
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
|
+
|
|
12
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
|
+
|
|
14
|
+
var _templateObject;
|
|
15
|
+
|
|
16
|
+
var colors = {
|
|
17
|
+
red: "#f6004f",
|
|
18
|
+
grey: "#ebebeb",
|
|
19
|
+
green: "#1db232",
|
|
20
|
+
yellow: "#f6b22f"
|
|
21
|
+
};
|
|
22
|
+
exports.colors = colors;
|
|
23
|
+
|
|
24
|
+
var CustomContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: ", ";\n width: ", ";\n padding: ", ";;\n"])), function (_ref) {
|
|
25
|
+
var h = _ref.h;
|
|
26
|
+
return "".concat(h);
|
|
27
|
+
}, function (_ref2) {
|
|
28
|
+
var w = _ref2.w;
|
|
29
|
+
return "".concat(w);
|
|
30
|
+
}, function (_ref3) {
|
|
31
|
+
var padding = _ref3.padding;
|
|
32
|
+
return "".concat(padding);
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
exports.CustomContainer = CustomContainer;
|