@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.
Files changed (149) hide show
  1. package/lib/CovidView/views/components/Body.js +13 -7
  2. package/lib/CovidView/views/components/MapStyle.scss +7 -30
  3. package/lib/CovidView/views/components/Sidebar.js +22 -4
  4. package/lib/CovidView/views/components/SummaryStyle.scss +1 -1
  5. package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +176 -0
  6. package/lib/CovidView/views/components/TrendGraphNVL/index.js +13 -0
  7. package/lib/CovidView/views/components/TrendGraphNVL/styles.scss +20 -0
  8. package/lib/CovidView/views/components/{areas/TrendPopupContent → TrendPopupContent}/TrendPopupContent.js +35 -23
  9. package/lib/CovidView/views/components/areas/Area.js +74 -64
  10. package/lib/CovidView/views/components/areas/AreaPolygonWBE.js +37 -13
  11. package/lib/CovidView/views/components/areas/AreasList.js +11 -11
  12. package/lib/CovidView/views/components/areas/AreasStyle.scss +76 -1
  13. package/lib/EventsView/views/components/SamplingParameters/NoResults/NoResults.js +42 -0
  14. package/lib/EventsView/views/components/SamplingParameters/NoResults/NoResults.stories.js +26 -0
  15. package/lib/EventsView/views/components/SamplingParameters/NoResults/discover.svg +66 -0
  16. package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +29 -0
  17. package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +44 -0
  18. package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +41 -0
  19. package/lib/EventsView/views/components/SamplingParameters/ParametersContainer/ParametersContainer.js +62 -0
  20. package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +70 -0
  21. package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +41 -0
  22. package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +47 -0
  23. package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +92 -0
  24. package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +102 -0
  25. package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/ExpandableSamplingTable/assets/rigth.svg +3 -0
  26. package/lib/EventsView/views/components/SamplingParameters/SamplingContainer/SamplingContainer.js +37 -0
  27. package/lib/EventsView/views/components/SamplingParameters/SamplingParameters.js +129 -0
  28. package/lib/EventsView/views/components/SamplingParameters/SamplingParameters.mock.js +972 -0
  29. package/lib/EventsView/views/components/SamplingParameters/SamplingParameters.stories.js +171 -0
  30. package/lib/EventsView/views/components/SamplingParameters/charts/ParametersChart.js +50 -0
  31. package/lib/EventsView/views/components/SamplingParameters/charts/SamplingChart.js +53 -0
  32. package/lib/EventsView/views/components/SamplingParameters/charts/options/options.js +209 -0
  33. package/lib/EventsView/views/components/SamplingParameters/dataParser.js +107 -0
  34. package/lib/EventsView/views/components/SamplingParameters/models.js +5 -0
  35. package/lib/EventsView/views/components/SamplingParameters/styles/samplingParameters.js +26 -0
  36. package/lib/EventsView/views/components/SamplingParameters/styles/styles.js +35 -0
  37. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +95 -0
  38. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaMap/AreaMap.js +66 -0
  39. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +124 -0
  40. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +30 -0
  41. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/Areas.js +157 -0
  42. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Areas/styles.js +24 -0
  43. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/Factories.js +182 -0
  44. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +92 -0
  45. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +117 -0
  46. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +31 -0
  47. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Factories/styles.js +24 -0
  48. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/MostPolluting.js +68 -0
  49. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/MostPolluting.stories.js +148 -0
  50. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/ShowMore/ShowMore.js +29 -0
  51. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/ShowMore/styles.js +20 -0
  52. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/Tabs.js +109 -0
  53. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/Tabs.stories.js +37 -0
  54. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/home.svg +15 -0
  55. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/index.js +45 -0
  56. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/matash.svg +1 -0
  57. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/plant.svg +23 -0
  58. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/shape.svg +37 -0
  59. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/Tabs/assets/water.svg +20 -0
  60. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/down-arrow.svg +27 -0
  61. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/gas.svg +17 -0
  62. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/index.js +53 -0
  63. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/leather.svg +23 -0
  64. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/metal.svg +20 -0
  65. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/shop.svg +24 -0
  66. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/assets/show-more.svg +3 -0
  67. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/models.js +5 -0
  68. package/lib/EventsView/views/components/UtilityDashboard/MostPolluting/styles.js +24 -0
  69. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +83 -0
  70. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/MostSevereEvents.scss +34 -0
  71. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +383 -0
  72. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +37 -0
  73. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +26 -0
  74. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/NoEvents/discover.svg +66 -0
  75. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +107 -0
  76. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.scss +361 -0
  77. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/info.svg +1 -0
  78. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/pipe-bluckages.svg +51 -0
  79. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/pipe.svg +61 -0
  80. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/SevereEvent/assets/sludge.svg +127 -0
  81. package/lib/EventsView/views/components/UtilityDashboard/MostSevereEvents/models.js +5 -0
  82. package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/Back/Back.js +34 -0
  83. package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/MostCommon.js +83 -0
  84. package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/arrow.svg +44 -0
  85. package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/bacteria.svg +90 -0
  86. package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/clock.svg +8 -0
  87. package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/assets/pipes.svg +31 -0
  88. package/lib/EventsView/views/components/UtilityDashboard/TopBar/MostCommon/styles.js +80 -0
  89. package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +117 -0
  90. package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +68 -0
  91. package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +56 -0
  92. package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/assets/down-arrow.svg +27 -0
  93. package/lib/EventsView/views/components/UtilityDashboard/TopBar/QualitySummary/styles.js +62 -0
  94. package/lib/EventsView/views/components/UtilityDashboard/TopBar/TopBar.js +49 -0
  95. package/lib/EventsView/views/components/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +42 -0
  96. package/lib/EventsView/views/components/UtilityDashboard/TopBar/UtilityInformation/styles.js +60 -0
  97. package/lib/EventsView/views/components/UtilityDashboard/TopBar/models.js +5 -0
  98. package/lib/EventsView/views/components/UtilityDashboard/TopBar/styles.js +17 -0
  99. package/lib/EventsView/views/components/UtilityDashboard/UtilityDashboard.js +35 -0
  100. package/lib/EventsView/views/components/UtilityDashboard/UtilityDashboard.stories.js +95 -0
  101. package/lib/EventsView/views/components/UtilityDashboard/mocks/areas.mock.js +344 -0
  102. package/lib/EventsView/views/components/UtilityDashboard/mocks/events.mock.js +345 -0
  103. package/lib/EventsView/views/components/UtilityDashboard/mocks/factories.mock.js +152 -0
  104. package/lib/EventsView/views/components/UtilityDashboard/mocks/index.js +29 -0
  105. package/lib/EventsView/views/components/events/event_info/EventInfo.js +3 -5
  106. package/lib/EventsView/views/components/map/FloatingGraph.js +12 -18
  107. package/lib/EventsView/views/components/map/Map.js +5 -3
  108. package/lib/EventsView/views/components/map/floatingGraphStyle.scss +54 -0
  109. package/lib/EventsView/views/components/map/mapStyle.scss +7 -29
  110. package/lib/EventsView/views/components/points/PointMarker.js +16 -15
  111. package/lib/index.js +4 -9
  112. package/lib/shared/components/DoubleTabs/DoubleTabs.js +44 -0
  113. package/lib/shared/components/DoubleTabs/DoubleTabs.stories.js +30 -0
  114. package/lib/shared/components/DoubleTabs/styles.js +26 -0
  115. package/lib/shared/components/KandoModal/KandoModal.js +9 -6
  116. package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +50 -0
  117. package/lib/shared/components/Select/Select.js +58 -0
  118. package/lib/shared/components/Select/Select.scss +49 -0
  119. package/lib/shared/components/Select/Select.stories.js +44 -0
  120. package/lib/shared/components/Spinner/Spinner.js +23 -0
  121. package/lib/shared/components/Spinner/Spinner.stories.js +38 -0
  122. package/lib/shared/components/Spinner/index.js +13 -0
  123. package/lib/shared/components/Spinner/style/spinner.js +25 -0
  124. package/lib/shared/redux/global/actions.js +5 -0
  125. package/lib/shared/utilities/custom_hooks/useApi.js +83 -0
  126. package/lib/shared/utilities/custom_hooks/useWindowSize.js +47 -0
  127. package/package.json +7 -3
  128. package/lib/ProjectManagement/api/index.js +0 -19
  129. package/lib/ProjectManagement/components/kpi-list-item.js +0 -88
  130. package/lib/ProjectManagement/components/kpi-percentage-item.js +0 -98
  131. package/lib/ProjectManagement/components/kpi.js +0 -71
  132. package/lib/ProjectManagement/components/legend-icon.js +0 -61
  133. package/lib/ProjectManagement/components/link-to-item.js +0 -67
  134. package/lib/ProjectManagement/components/list-of-points.js +0 -111
  135. package/lib/ProjectManagement/components/map-view.js +0 -128
  136. package/lib/ProjectManagement/components/metrics.js +0 -94
  137. package/lib/ProjectManagement/components/node-label.js +0 -66
  138. package/lib/ProjectManagement/components/period-selector-button.js +0 -68
  139. package/lib/ProjectManagement/components/period-selector.js +0 -79
  140. package/lib/ProjectManagement/components/point-preview.js +0 -298
  141. package/lib/ProjectManagement/components/project-management.js +0 -262
  142. package/lib/ProjectManagement/components/tree-legend.js +0 -100
  143. package/lib/ProjectManagement/components/tree-view.js +0 -281
  144. package/lib/ProjectManagement/stores/project-management-store.js +0 -32
  145. package/lib/ProjectManagement/util/constants.js +0 -10
  146. package/lib/ProjectManagement/util/treeUtil.js +0 -45
  147. package/lib/ProjectManagement/util/url.js +0 -24
  148. /package/lib/CovidView/views/components/{areas/TrendPopupContent → TrendPopupContent}/index.js +0 -0
  149. /package/lib/CovidView/views/components/{areas/TrendPopupContent → TrendPopupContent}/styles.scss +0 -0
@@ -0,0 +1,972 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.twentyParamsTabs = exports.twoParamsTabs = exports.labResultsDefault = void 0;
7
+ var labResultsDefault = [{
8
+ date: 1623748845000,
9
+ point: {
10
+ point_id: 23423,
11
+ site_name: 'site1'
12
+ },
13
+ status: 'normal',
14
+ parameters: [{
15
+ symbol: 'Cu',
16
+ percent_value: 54,
17
+ percent_uncertainty: 11,
18
+ measured_value: 215,
19
+ status: 'normal'
20
+ }, {
21
+ symbol: 'Cu',
22
+ percent_value: 132,
23
+ percent_uncertainty: 217,
24
+ measured_value: 299,
25
+ status: 'exception'
26
+ }, {
27
+ symbol: 'PH',
28
+ percent_value: 63,
29
+ percent_uncertainty: 250,
30
+ measured_value: 282,
31
+ status: 'normal'
32
+ }, {
33
+ symbol: 'CI-',
34
+ percent_value: 52,
35
+ percent_uncertainty: 274,
36
+ measured_value: 350,
37
+ status: 'normal'
38
+ }, {
39
+ symbol: 'PH',
40
+ percent_value: 131,
41
+ percent_uncertainty: 74,
42
+ measured_value: 378,
43
+ status: 'exception'
44
+ }, {
45
+ symbol: 'Cu',
46
+ percent_value: 124,
47
+ percent_uncertainty: 232,
48
+ measured_value: 323,
49
+ status: 'exception'
50
+ }, {
51
+ symbol: 'COD/BOD',
52
+ percent_value: 60,
53
+ percent_uncertainty: 79,
54
+ measured_value: 330,
55
+ status: 'normal'
56
+ }, {
57
+ symbol: 'Pb',
58
+ percent_value: 198,
59
+ percent_uncertainty: 149,
60
+ measured_value: 238,
61
+ status: 'warning'
62
+ }, {
63
+ symbol: 'COD',
64
+ percent_value: 166,
65
+ percent_uncertainty: 140,
66
+ measured_value: 308,
67
+ status: 'warning'
68
+ }, {
69
+ symbol: 'PH',
70
+ percent_value: 29,
71
+ percent_uncertainty: 224,
72
+ measured_value: 390,
73
+ status: 'normal'
74
+ }, {
75
+ symbol: 'CI-',
76
+ percent_value: 160,
77
+ percent_uncertainty: 87,
78
+ measured_value: 231,
79
+ status: 'warning'
80
+ }, {
81
+ symbol: 'Pb',
82
+ percent_value: 110,
83
+ percent_uncertainty: 47,
84
+ measured_value: 250,
85
+ status: 'exception'
86
+ }]
87
+ }, {
88
+ date: 1623835245000,
89
+ point: {
90
+ point_id: 23423,
91
+ site_name: 'site2'
92
+ },
93
+ status: 'normal',
94
+ parameters: [{
95
+ symbol: 'COD',
96
+ percent_value: 187,
97
+ percent_uncertainty: 180,
98
+ measured_value: 235,
99
+ status: 'warning'
100
+ }, {
101
+ symbol: 'Cu',
102
+ percent_value: 94,
103
+ percent_uncertainty: 233,
104
+ measured_value: 331,
105
+ status: 'normal'
106
+ }, {
107
+ symbol: 'Cu',
108
+ percent_value: 84,
109
+ percent_uncertainty: 218,
110
+ measured_value: 306,
111
+ status: 'normal'
112
+ }, {
113
+ symbol: 'Cu',
114
+ percent_value: 124,
115
+ percent_uncertainty: 29,
116
+ measured_value: 242,
117
+ status: 'exception'
118
+ }, {
119
+ symbol: 'COD',
120
+ percent_value: 160,
121
+ percent_uncertainty: 240,
122
+ measured_value: 294,
123
+ status: 'warning'
124
+ }, {
125
+ symbol: 'COD',
126
+ percent_value: 189,
127
+ percent_uncertainty: 292,
128
+ measured_value: 297,
129
+ status: 'warning'
130
+ }, {
131
+ symbol: 'PH',
132
+ percent_value: 197,
133
+ percent_uncertainty: 114,
134
+ measured_value: 334,
135
+ status: 'warning'
136
+ }, {
137
+ symbol: 'PH',
138
+ percent_value: 48,
139
+ percent_uncertainty: 142,
140
+ measured_value: 351,
141
+ status: 'normal'
142
+ }, {
143
+ symbol: 'COD',
144
+ percent_value: 168,
145
+ percent_uncertainty: 33,
146
+ measured_value: 212,
147
+ status: 'warning'
148
+ }, {
149
+ symbol: 'PH',
150
+ percent_value: 183,
151
+ percent_uncertainty: 281,
152
+ measured_value: 395,
153
+ status: 'warning'
154
+ }, {
155
+ symbol: 'PH',
156
+ percent_value: 153,
157
+ percent_uncertainty: 100,
158
+ measured_value: 259,
159
+ status: 'warning'
160
+ }, {
161
+ symbol: 'COD/BOD',
162
+ percent_value: 19,
163
+ percent_uncertainty: 139,
164
+ measured_value: 342,
165
+ status: 'normal'
166
+ }]
167
+ }, {
168
+ date: 1623921645000,
169
+ point: {
170
+ point_id: 23423,
171
+ site_name: 'site3'
172
+ },
173
+ status: 'exception',
174
+ parameters: [{
175
+ symbol: 'COD/BOD',
176
+ percent_value: 55,
177
+ percent_uncertainty: 173,
178
+ measured_value: 386,
179
+ status: 'normal'
180
+ }, {
181
+ symbol: 'COD',
182
+ percent_value: 179,
183
+ percent_uncertainty: 163,
184
+ measured_value: 362,
185
+ status: 'warning'
186
+ }, {
187
+ symbol: 'COD',
188
+ percent_value: 177,
189
+ percent_uncertainty: 53,
190
+ measured_value: 243,
191
+ status: 'warning'
192
+ }, {
193
+ symbol: 'PH',
194
+ percent_value: 81,
195
+ percent_uncertainty: 37,
196
+ measured_value: 320,
197
+ status: 'normal'
198
+ }, {
199
+ symbol: 'CI-',
200
+ percent_value: 0,
201
+ percent_uncertainty: 12,
202
+ measured_value: 388,
203
+ status: 'normal'
204
+ }, {
205
+ symbol: 'PH',
206
+ percent_value: 103,
207
+ percent_uncertainty: 107,
208
+ measured_value: 357,
209
+ status: 'exception'
210
+ }, {
211
+ symbol: 'CI-',
212
+ percent_value: 75,
213
+ percent_uncertainty: 149,
214
+ measured_value: 335,
215
+ status: 'normal'
216
+ }, {
217
+ symbol: 'PH',
218
+ percent_value: 14,
219
+ percent_uncertainty: 249,
220
+ measured_value: 289,
221
+ status: 'normal'
222
+ }, {
223
+ symbol: 'Cu',
224
+ percent_value: 130,
225
+ percent_uncertainty: 53,
226
+ measured_value: 269,
227
+ status: 'exception'
228
+ }, {
229
+ symbol: 'CI-',
230
+ percent_value: 20,
231
+ percent_uncertainty: 67,
232
+ measured_value: 256,
233
+ status: 'normal'
234
+ }, {
235
+ symbol: 'CI-',
236
+ percent_value: 9,
237
+ percent_uncertainty: 236,
238
+ measured_value: 303,
239
+ status: 'normal'
240
+ }, {
241
+ symbol: 'Cu',
242
+ percent_value: 10,
243
+ percent_uncertainty: 152,
244
+ measured_value: 239,
245
+ status: 'normal'
246
+ }]
247
+ }, {
248
+ date: 1624008045000,
249
+ point: {
250
+ point_id: 23423,
251
+ site_name: 'site4'
252
+ },
253
+ status: 'exception',
254
+ parameters: [{
255
+ symbol: 'Pb',
256
+ percent_value: 56,
257
+ percent_uncertainty: 215,
258
+ measured_value: 368,
259
+ status: 'normal'
260
+ }, {
261
+ symbol: 'PH',
262
+ percent_value: 116,
263
+ percent_uncertainty: 35,
264
+ measured_value: 285,
265
+ status: 'exception'
266
+ }, {
267
+ symbol: 'Pb',
268
+ percent_value: 135,
269
+ percent_uncertainty: 53,
270
+ measured_value: 242,
271
+ status: 'exception'
272
+ }, {
273
+ symbol: 'Cu',
274
+ percent_value: 174,
275
+ percent_uncertainty: 190,
276
+ measured_value: 217,
277
+ status: 'warning'
278
+ }, {
279
+ symbol: 'Pb',
280
+ percent_value: 75,
281
+ percent_uncertainty: 77,
282
+ measured_value: 390,
283
+ status: 'normal'
284
+ }, {
285
+ symbol: 'Cu',
286
+ percent_value: 184,
287
+ percent_uncertainty: 278,
288
+ measured_value: 238,
289
+ status: 'warning'
290
+ }, {
291
+ symbol: 'Pb',
292
+ percent_value: 73,
293
+ percent_uncertainty: 176,
294
+ measured_value: 391,
295
+ status: 'normal'
296
+ }, {
297
+ symbol: 'COD',
298
+ percent_value: 115,
299
+ percent_uncertainty: 262,
300
+ measured_value: 390,
301
+ status: 'exception'
302
+ }, {
303
+ symbol: 'COD/BOD',
304
+ percent_value: 193,
305
+ percent_uncertainty: 104,
306
+ measured_value: 251,
307
+ status: 'warning'
308
+ }, {
309
+ symbol: 'CI-',
310
+ percent_value: 126,
311
+ percent_uncertainty: 203,
312
+ measured_value: 219,
313
+ status: 'exception'
314
+ }, {
315
+ symbol: 'CI-',
316
+ percent_value: 65,
317
+ percent_uncertainty: 95,
318
+ measured_value: 210,
319
+ status: 'normal'
320
+ }, {
321
+ symbol: 'COD',
322
+ percent_value: 118,
323
+ percent_uncertainty: 268,
324
+ measured_value: 260,
325
+ status: 'exception'
326
+ }]
327
+ }];
328
+ exports.labResultsDefault = labResultsDefault;
329
+ var twoParamsTabs = [{
330
+ date: 1623748845000,
331
+ point: {
332
+ point_id: 23423,
333
+ site_name: 'site1'
334
+ },
335
+ status: 'normal',
336
+ parameters: [{
337
+ symbol: 'CI-',
338
+ percent_value: 0,
339
+ percent_uncertainty: 220,
340
+ measured_value: 248,
341
+ status: 'normal'
342
+ }, {
343
+ symbol: 'COD',
344
+ percent_value: 141,
345
+ percent_uncertainty: 214,
346
+ measured_value: 246,
347
+ status: 'exception'
348
+ }, {
349
+ symbol: 'CI-',
350
+ percent_value: 73,
351
+ percent_uncertainty: 269,
352
+ measured_value: 244,
353
+ status: 'normal'
354
+ }, {
355
+ symbol: 'CI-',
356
+ percent_value: 112,
357
+ percent_uncertainty: 270,
358
+ measured_value: 285,
359
+ status: 'exception'
360
+ }, {
361
+ symbol: 'CI-',
362
+ percent_value: 21,
363
+ percent_uncertainty: 134,
364
+ measured_value: 305,
365
+ status: 'normal'
366
+ }, {
367
+ symbol: 'COD',
368
+ percent_value: 134,
369
+ percent_uncertainty: 179,
370
+ measured_value: 264,
371
+ status: 'exception'
372
+ }, {
373
+ symbol: 'CI-',
374
+ percent_value: 6,
375
+ percent_uncertainty: 66,
376
+ measured_value: 365,
377
+ status: 'normal'
378
+ }, {
379
+ symbol: 'CI-',
380
+ percent_value: 11,
381
+ percent_uncertainty: 84,
382
+ measured_value: 348,
383
+ status: 'normal'
384
+ }, {
385
+ symbol: 'CI-',
386
+ percent_value: 53,
387
+ percent_uncertainty: 83,
388
+ measured_value: 287,
389
+ status: 'normal'
390
+ }, {
391
+ symbol: 'COD',
392
+ percent_value: 4,
393
+ percent_uncertainty: 282,
394
+ measured_value: 266,
395
+ status: 'normal'
396
+ }, {
397
+ symbol: 'CI-',
398
+ percent_value: 190,
399
+ percent_uncertainty: 185,
400
+ measured_value: 283,
401
+ status: 'warning'
402
+ }, {
403
+ symbol: 'CI-',
404
+ percent_value: 30,
405
+ percent_uncertainty: 148,
406
+ measured_value: 220,
407
+ status: 'normal'
408
+ }]
409
+ }, {
410
+ date: 1623835245000,
411
+ point: {
412
+ point_id: 23423,
413
+ site_name: 'site2'
414
+ },
415
+ status: 'normal',
416
+ parameters: [{
417
+ symbol: 'COD',
418
+ percent_value: 125,
419
+ percent_uncertainty: 69,
420
+ measured_value: 265,
421
+ status: 'exception'
422
+ }, {
423
+ symbol: 'CI-',
424
+ percent_value: 140,
425
+ percent_uncertainty: 297,
426
+ measured_value: 395,
427
+ status: 'exception'
428
+ }, {
429
+ symbol: 'COD',
430
+ percent_value: 82,
431
+ percent_uncertainty: 102,
432
+ measured_value: 234,
433
+ status: 'normal'
434
+ }, {
435
+ symbol: 'COD',
436
+ percent_value: 76,
437
+ percent_uncertainty: 141,
438
+ measured_value: 238,
439
+ status: 'normal'
440
+ }, {
441
+ symbol: 'COD',
442
+ percent_value: 102,
443
+ percent_uncertainty: 224,
444
+ measured_value: 250,
445
+ status: 'exception'
446
+ }, {
447
+ symbol: 'CI-',
448
+ percent_value: 90,
449
+ percent_uncertainty: 145,
450
+ measured_value: 389,
451
+ status: 'normal'
452
+ }, {
453
+ symbol: 'CI-',
454
+ percent_value: 180,
455
+ percent_uncertainty: 267,
456
+ measured_value: 376,
457
+ status: 'warning'
458
+ }, {
459
+ symbol: 'CI-',
460
+ percent_value: 172,
461
+ percent_uncertainty: 216,
462
+ measured_value: 205,
463
+ status: 'warning'
464
+ }, {
465
+ symbol: 'CI-',
466
+ percent_value: 154,
467
+ percent_uncertainty: 147,
468
+ measured_value: 273,
469
+ status: 'warning'
470
+ }, {
471
+ symbol: 'COD',
472
+ percent_value: 4,
473
+ percent_uncertainty: 202,
474
+ measured_value: 284,
475
+ status: 'normal'
476
+ }, {
477
+ symbol: 'COD',
478
+ percent_value: 133,
479
+ percent_uncertainty: 36,
480
+ measured_value: 364,
481
+ status: 'exception'
482
+ }, {
483
+ symbol: 'COD',
484
+ percent_value: 50,
485
+ percent_uncertainty: 164,
486
+ measured_value: 280,
487
+ status: 'normal'
488
+ }]
489
+ }, {
490
+ date: 1623921645000,
491
+ point: {
492
+ point_id: 23423,
493
+ site_name: 'site3'
494
+ },
495
+ status: 'exception',
496
+ parameters: [{
497
+ symbol: 'COD',
498
+ percent_value: 157,
499
+ percent_uncertainty: 255,
500
+ measured_value: 240,
501
+ status: 'warning'
502
+ }, {
503
+ symbol: 'COD',
504
+ percent_value: 30,
505
+ percent_uncertainty: 251,
506
+ measured_value: 293,
507
+ status: 'normal'
508
+ }, {
509
+ symbol: 'COD',
510
+ percent_value: 71,
511
+ percent_uncertainty: 296,
512
+ measured_value: 348,
513
+ status: 'normal'
514
+ }, {
515
+ symbol: 'CI-',
516
+ percent_value: 13,
517
+ percent_uncertainty: 112,
518
+ measured_value: 258,
519
+ status: 'normal'
520
+ }, {
521
+ symbol: 'CI-',
522
+ percent_value: 145,
523
+ percent_uncertainty: 113,
524
+ measured_value: 253,
525
+ status: 'exception'
526
+ }, {
527
+ symbol: 'COD',
528
+ percent_value: 16,
529
+ percent_uncertainty: 246,
530
+ measured_value: 303,
531
+ status: 'normal'
532
+ }, {
533
+ symbol: 'COD',
534
+ percent_value: 31,
535
+ percent_uncertainty: 34,
536
+ measured_value: 297,
537
+ status: 'normal'
538
+ }, {
539
+ symbol: 'CI-',
540
+ percent_value: 69,
541
+ percent_uncertainty: 287,
542
+ measured_value: 221,
543
+ status: 'normal'
544
+ }, {
545
+ symbol: 'CI-',
546
+ percent_value: 108,
547
+ percent_uncertainty: 244,
548
+ measured_value: 370,
549
+ status: 'exception'
550
+ }, {
551
+ symbol: 'COD',
552
+ percent_value: 85,
553
+ percent_uncertainty: 159,
554
+ measured_value: 284,
555
+ status: 'normal'
556
+ }, {
557
+ symbol: 'COD',
558
+ percent_value: 180,
559
+ percent_uncertainty: 131,
560
+ measured_value: 220,
561
+ status: 'warning'
562
+ }, {
563
+ symbol: 'COD',
564
+ percent_value: 186,
565
+ percent_uncertainty: 155,
566
+ measured_value: 221,
567
+ status: 'warning'
568
+ }]
569
+ }, {
570
+ date: 1624008045000,
571
+ point: {
572
+ point_id: 23423,
573
+ site_name: 'site4'
574
+ },
575
+ status: 'exception',
576
+ parameters: [{
577
+ symbol: 'COD',
578
+ percent_value: 16,
579
+ percent_uncertainty: 16,
580
+ measured_value: 343,
581
+ status: 'normal'
582
+ }, {
583
+ symbol: 'COD',
584
+ percent_value: 84,
585
+ percent_uncertainty: 77,
586
+ measured_value: 294,
587
+ status: 'normal'
588
+ }, {
589
+ symbol: 'CI-',
590
+ percent_value: 151,
591
+ percent_uncertainty: 259,
592
+ measured_value: 333,
593
+ status: 'warning'
594
+ }, {
595
+ symbol: 'COD',
596
+ percent_value: 174,
597
+ percent_uncertainty: 133,
598
+ measured_value: 209,
599
+ status: 'warning'
600
+ }, {
601
+ symbol: 'COD',
602
+ percent_value: 46,
603
+ percent_uncertainty: 137,
604
+ measured_value: 249,
605
+ status: 'normal'
606
+ }, {
607
+ symbol: 'CI-',
608
+ percent_value: 109,
609
+ percent_uncertainty: 23,
610
+ measured_value: 339,
611
+ status: 'exception'
612
+ }, {
613
+ symbol: 'COD',
614
+ percent_value: 20,
615
+ percent_uncertainty: 61,
616
+ measured_value: 349,
617
+ status: 'normal'
618
+ }, {
619
+ symbol: 'CI-',
620
+ percent_value: 68,
621
+ percent_uncertainty: 62,
622
+ measured_value: 291,
623
+ status: 'normal'
624
+ }, {
625
+ symbol: 'COD',
626
+ percent_value: 73,
627
+ percent_uncertainty: 112,
628
+ measured_value: 336,
629
+ status: 'normal'
630
+ }, {
631
+ symbol: 'COD',
632
+ percent_value: 45,
633
+ percent_uncertainty: 258,
634
+ measured_value: 229,
635
+ status: 'normal'
636
+ }, {
637
+ symbol: 'COD',
638
+ percent_value: 5,
639
+ percent_uncertainty: 17,
640
+ measured_value: 364,
641
+ status: 'normal'
642
+ }, {
643
+ symbol: 'CI-',
644
+ percent_value: 181,
645
+ percent_uncertainty: 78,
646
+ measured_value: 386,
647
+ status: 'warning'
648
+ }]
649
+ }];
650
+ exports.twoParamsTabs = twoParamsTabs;
651
+ var twentyParamsTabs = [{
652
+ date: 1623748845000,
653
+ point: {
654
+ point_id: 23423,
655
+ site_name: 'site1'
656
+ },
657
+ status: 'exception',
658
+ parameters: [{
659
+ symbol: 'COD/BOD1',
660
+ percent_value: 73,
661
+ percent_uncertainty: 250,
662
+ measured_value: 300,
663
+ status: 'normal'
664
+ }, {
665
+ symbol: 'COD/BOD8',
666
+ percent_value: 195,
667
+ percent_uncertainty: 72,
668
+ measured_value: 246,
669
+ status: 'warning'
670
+ }, {
671
+ symbol: 'COD/BOD6',
672
+ percent_value: 20,
673
+ percent_uncertainty: 80,
674
+ measured_value: 327,
675
+ status: 'normal'
676
+ }, {
677
+ symbol: 'COD/BOD8',
678
+ percent_value: 29,
679
+ percent_uncertainty: 88,
680
+ measured_value: 221,
681
+ status: 'normal'
682
+ }, {
683
+ symbol: 'COD/BOD3',
684
+ percent_value: 164,
685
+ percent_uncertainty: 117,
686
+ measured_value: 215,
687
+ status: 'warning'
688
+ }, {
689
+ symbol: 'CI-',
690
+ percent_value: 120,
691
+ percent_uncertainty: 239,
692
+ measured_value: 279,
693
+ status: 'exception'
694
+ }, {
695
+ symbol: 'Pb',
696
+ percent_value: 31,
697
+ percent_uncertainty: 145,
698
+ measured_value: 259,
699
+ status: 'normal'
700
+ }, {
701
+ symbol: 'COD/BOD11',
702
+ percent_value: 81,
703
+ percent_uncertainty: 35,
704
+ measured_value: 282,
705
+ status: 'normal'
706
+ }, {
707
+ symbol: 'COD/BOD10',
708
+ percent_value: 116,
709
+ percent_uncertainty: 61,
710
+ measured_value: 267,
711
+ status: 'exception'
712
+ }, {
713
+ symbol: 'PH',
714
+ percent_value: 57,
715
+ percent_uncertainty: 56,
716
+ measured_value: 271,
717
+ status: 'normal'
718
+ }, {
719
+ symbol: 'CI-',
720
+ percent_value: 151,
721
+ percent_uncertainty: 212,
722
+ measured_value: 236,
723
+ status: 'warning'
724
+ }, {
725
+ symbol: 'COD/BOD12',
726
+ percent_value: 44,
727
+ percent_uncertainty: 182,
728
+ measured_value: 295,
729
+ status: 'normal'
730
+ }]
731
+ }, {
732
+ date: 1623835245000,
733
+ point: {
734
+ point_id: 23423,
735
+ site_name: 'site2'
736
+ },
737
+ status: 'exception',
738
+ parameters: [{
739
+ symbol: 'CI-',
740
+ percent_value: 109,
741
+ percent_uncertainty: 41,
742
+ measured_value: 202,
743
+ status: 'exception'
744
+ }, {
745
+ symbol: 'COD/BOD5',
746
+ percent_value: 28,
747
+ percent_uncertainty: 109,
748
+ measured_value: 230,
749
+ status: 'normal'
750
+ }, {
751
+ symbol: 'COD/BOD9',
752
+ percent_value: 47,
753
+ percent_uncertainty: 189,
754
+ measured_value: 271,
755
+ status: 'normal'
756
+ }, {
757
+ symbol: 'Pb',
758
+ percent_value: 122,
759
+ percent_uncertainty: 105,
760
+ measured_value: 254,
761
+ status: 'exception'
762
+ }, {
763
+ symbol: 'COD/BOD4',
764
+ percent_value: 114,
765
+ percent_uncertainty: 100,
766
+ measured_value: 369,
767
+ status: 'exception'
768
+ }, {
769
+ symbol: 'Pb',
770
+ percent_value: 127,
771
+ percent_uncertainty: 37,
772
+ measured_value: 245,
773
+ status: 'exception'
774
+ }, {
775
+ symbol: 'COD/BOD1',
776
+ percent_value: 12,
777
+ percent_uncertainty: 175,
778
+ measured_value: 317,
779
+ status: 'normal'
780
+ }, {
781
+ symbol: 'CI-',
782
+ percent_value: 73,
783
+ percent_uncertainty: 299,
784
+ measured_value: 255,
785
+ status: 'normal'
786
+ }, {
787
+ symbol: 'COD/BOD14',
788
+ percent_value: 189,
789
+ percent_uncertainty: 253,
790
+ measured_value: 211,
791
+ status: 'warning'
792
+ }, {
793
+ symbol: 'COD/BOD6',
794
+ percent_value: 94,
795
+ percent_uncertainty: 285,
796
+ measured_value: 369,
797
+ status: 'normal'
798
+ }, {
799
+ symbol: 'COD/BOD7',
800
+ percent_value: 11,
801
+ percent_uncertainty: 210,
802
+ measured_value: 240,
803
+ status: 'normal'
804
+ }, {
805
+ symbol: 'COD/BOD2',
806
+ percent_value: 179,
807
+ percent_uncertainty: 281,
808
+ measured_value: 222,
809
+ status: 'warning'
810
+ }]
811
+ }, {
812
+ date: 1623921645000,
813
+ point: {
814
+ point_id: 23423,
815
+ site_name: 'site3'
816
+ },
817
+ status: 'normal',
818
+ parameters: [{
819
+ symbol: 'COD/BOD8',
820
+ percent_value: 49,
821
+ percent_uncertainty: 87,
822
+ measured_value: 313,
823
+ status: 'normal'
824
+ }, {
825
+ symbol: 'COD/BOD4',
826
+ percent_value: 8,
827
+ percent_uncertainty: 192,
828
+ measured_value: 279,
829
+ status: 'normal'
830
+ }, {
831
+ symbol: 'COD/BOD1',
832
+ percent_value: 24,
833
+ percent_uncertainty: 197,
834
+ measured_value: 309,
835
+ status: 'normal'
836
+ }, {
837
+ symbol: 'COD/BOD5',
838
+ percent_value: 162,
839
+ percent_uncertainty: 206,
840
+ measured_value: 354,
841
+ status: 'warning'
842
+ }, {
843
+ symbol: 'CI-',
844
+ percent_value: 61,
845
+ percent_uncertainty: 5,
846
+ measured_value: 335,
847
+ status: 'normal'
848
+ }, {
849
+ symbol: 'COD/BOD2',
850
+ percent_value: 185,
851
+ percent_uncertainty: 260,
852
+ measured_value: 250,
853
+ status: 'warning'
854
+ }, {
855
+ symbol: 'COD/BOD1',
856
+ percent_value: 20,
857
+ percent_uncertainty: 198,
858
+ measured_value: 238,
859
+ status: 'normal'
860
+ }, {
861
+ symbol: 'Cu',
862
+ percent_value: 169,
863
+ percent_uncertainty: 201,
864
+ measured_value: 275,
865
+ status: 'warning'
866
+ }, {
867
+ symbol: 'COD/BOD13',
868
+ percent_value: 128,
869
+ percent_uncertainty: 153,
870
+ measured_value: 246,
871
+ status: 'exception'
872
+ }, {
873
+ symbol: 'Solids>10mm',
874
+ percent_value: 107,
875
+ percent_uncertainty: 293,
876
+ measured_value: 219,
877
+ status: 'exception'
878
+ }, {
879
+ symbol: 'CI-',
880
+ percent_value: 25,
881
+ percent_uncertainty: 78,
882
+ measured_value: 247,
883
+ status: 'normal'
884
+ }, {
885
+ symbol: 'COD/BOD10',
886
+ percent_value: 153,
887
+ percent_uncertainty: 272,
888
+ measured_value: 272,
889
+ status: 'warning'
890
+ }]
891
+ }, {
892
+ date: 1624008045000,
893
+ point: {
894
+ point_id: 23423,
895
+ site_name: 'site4'
896
+ },
897
+ status: 'normal',
898
+ parameters: [{
899
+ symbol: 'COD/BOD7',
900
+ percent_value: 135,
901
+ percent_uncertainty: 288,
902
+ measured_value: 325,
903
+ status: 'exception'
904
+ }, {
905
+ symbol: 'Solids>10mm',
906
+ percent_value: 188,
907
+ percent_uncertainty: 239,
908
+ measured_value: 383,
909
+ status: 'warning'
910
+ }, {
911
+ symbol: 'COD/BOD8',
912
+ percent_value: 183,
913
+ percent_uncertainty: 228,
914
+ measured_value: 311,
915
+ status: 'warning'
916
+ }, {
917
+ symbol: 'COD',
918
+ percent_value: 84,
919
+ percent_uncertainty: 48,
920
+ measured_value: 245,
921
+ status: 'normal'
922
+ }, {
923
+ symbol: 'COD/BOD9',
924
+ percent_value: 78,
925
+ percent_uncertainty: 124,
926
+ measured_value: 392,
927
+ status: 'normal'
928
+ }, {
929
+ symbol: 'COD/BOD10',
930
+ percent_value: 196,
931
+ percent_uncertainty: 298,
932
+ measured_value: 331,
933
+ status: 'warning'
934
+ }, {
935
+ symbol: 'PH',
936
+ percent_value: 183,
937
+ percent_uncertainty: 138,
938
+ measured_value: 394,
939
+ status: 'warning'
940
+ }, {
941
+ symbol: 'COD/BOD2',
942
+ percent_value: 134,
943
+ percent_uncertainty: 101,
944
+ measured_value: 220,
945
+ status: 'exception'
946
+ }, {
947
+ symbol: 'COD/BOD9',
948
+ percent_value: 12,
949
+ percent_uncertainty: 114,
950
+ measured_value: 231,
951
+ status: 'normal'
952
+ }, {
953
+ symbol: 'COD/BOD3',
954
+ percent_value: 64,
955
+ percent_uncertainty: 73,
956
+ measured_value: 385,
957
+ status: 'normal'
958
+ }, {
959
+ symbol: 'COD/BOD11',
960
+ percent_value: 24,
961
+ percent_uncertainty: 134,
962
+ measured_value: 204,
963
+ status: 'normal'
964
+ }, {
965
+ symbol: 'Cu',
966
+ percent_value: 135,
967
+ percent_uncertainty: 260,
968
+ measured_value: 324,
969
+ status: 'exception'
970
+ }]
971
+ }];
972
+ exports.twentyParamsTabs = twentyParamsTabs;