@sis-cc/dotstatsuite-components 8.11.0 → 8.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/lib/app.js +13 -5
  2. package/lib/rules/src/factories/stacked-dimension.js +17 -23
  3. package/lib/rules/src/factories/stacked-series.js +82 -158
  4. package/lib/rules/src/index.js +3 -6
  5. package/lib/rules/src/properties/index.js +2 -1
  6. package/lib/rules/src/properties/stacked.js +35 -11
  7. package/lib/rules/src/properties/utils.js +7 -1
  8. package/lib/rules-driver/src/app.js +116 -167
  9. package/lib/viewer/src/app/use-case-3.js +52 -0
  10. package/lib/viewer/src/app.js +9 -0
  11. package/lib/viewer/src/index.js +1 -1
  12. package/lib/viewer/src/legends/SeriesLegend.js +3 -1
  13. package/package.json +2 -2
  14. package/src/app.js +10 -5
  15. package/src/rules/src/factories/stacked-dimension.js +14 -10
  16. package/src/rules/src/factories/stacked-series.js +102 -94
  17. package/src/rules/src/index.js +1 -2
  18. package/src/rules/src/properties/index.js +3 -1
  19. package/src/rules/src/properties/stacked.js +23 -7
  20. package/src/rules/src/properties/utils.js +8 -3
  21. package/src/rules-driver/src/app.js +116 -132
  22. package/src/rules-driver/src/mocks/data1.json +332 -0
  23. package/src/rules-driver/src/mocks/data2.json +309 -0
  24. package/src/viewer/src/app/use-case-3.js +18 -0
  25. package/src/viewer/src/app.js +6 -0
  26. package/src/viewer/src/index.js +2 -2
  27. package/src/viewer/src/legends/SeriesLegend.js +4 -1
  28. package/lib/rules-driver/src/app/chart.js +0 -52
  29. package/lib/rules-driver/src/app/config-axis.js +0 -95
  30. package/lib/rules-driver/src/app/config-buttons.js +0 -47
  31. package/lib/rules-driver/src/app/config-input.js +0 -51
  32. package/lib/rules-driver/src/app/config-select.js +0 -57
  33. package/lib/rules-driver/src/app/config-t4size.js +0 -61
  34. package/lib/rules-driver/src/app/config1.js +0 -148
  35. package/lib/rules-driver/src/app/menu.js +0 -44
  36. package/lib/rules-driver/src/app/viewer1.js +0 -39
  37. package/lib/rules-driver/src/app/viewer2.js +0 -115
  38. package/src/rules-driver/src/app/chart.js +0 -18
  39. package/src/rules-driver/src/app/config-axis.js +0 -54
  40. package/src/rules-driver/src/app/config-buttons.js +0 -27
  41. package/src/rules-driver/src/app/config-input.js +0 -35
  42. package/src/rules-driver/src/app/config-select.js +0 -25
  43. package/src/rules-driver/src/app/config-t4size.js +0 -50
  44. package/src/rules-driver/src/app/config1.js +0 -120
  45. package/src/rules-driver/src/app/menu.js +0 -27
  46. package/src/rules-driver/src/app/viewer1.js +0 -18
  47. package/src/rules-driver/src/app/viewer2.js +0 -77
  48. package/src/rules-driver/src/mocks/ecb.json +0 -2069
  49. package/src/rules-driver/src/mocks/ins.json +0 -264
  50. package/src/rules-driver/src/mocks/oecd-time.json +0 -864
  51. package/src/rules-driver/src/mocks/oecd.json +0 -372
  52. package/src/rules-driver/src/mocks/tunisia.json +0 -333
@@ -1,372 +0,0 @@
1
- {
2
- "header": {
3
- "id": "28096b3b-bd2f-4875-8105-b919fbc58ab2",
4
- "test": false,
5
- "prepared": "2017-03-20T15:46:58.775625Z",
6
- "sender": {
7
- "id": "OECD",
8
- "name": "Organisation for Economic Co-operation and Development"
9
- },
10
- "links": [
11
- {
12
- "href": "http://stats.oecd.org:80/SDMX-JSON/data/KEI/PRINTO01+PRMNTO01.AUS+AUT+BEL+CAN+CHL+CZE+DNK+EST+FIN+FRA.GP.A/all?startTime=2015&endTime=2015&dimensionAtObservation=allDimensions",
13
- "rel": "request"
14
- }
15
- ]
16
- },
17
- "dataSets": [
18
- {
19
- "action": "Information",
20
- "observations": {
21
- "0:0:0:0:0": [
22
- 1.18005263064255,
23
- 0,
24
- null,
25
- 0,
26
- 0,
27
- null
28
- ],
29
- "0:1:0:0:0": [
30
- 2.11995066296641,
31
- 0,
32
- null,
33
- 0,
34
- 0,
35
- null
36
- ],
37
- "0:2:0:0:0": [
38
- -0.0160655474335108,
39
- 0,
40
- null,
41
- 0,
42
- 0,
43
- null
44
- ],
45
- "0:3:0:0:0": [
46
- -0.734931326089172,
47
- 0,
48
- null,
49
- 0,
50
- 0,
51
- null
52
- ],
53
- "0:4:0:0:0": [
54
- 4.62318401937048,
55
- 0,
56
- null,
57
- 0,
58
- 0,
59
- null
60
- ],
61
- "0:5:0:0:0": [
62
- 1.18634492777014,
63
- 0,
64
- null,
65
- 0,
66
- 0,
67
- null
68
- ],
69
- "0:6:0:0:0": [
70
- -0.958831808585503,
71
- 0,
72
- null,
73
- 0,
74
- 0,
75
- null
76
- ],
77
- "0:7:0:0:0": [
78
- 1.96360436882936,
79
- 0,
80
- null,
81
- 0,
82
- 0,
83
- null
84
- ],
85
- "0:8:0:0:0": [
86
- 0.230172987500003,
87
- 0,
88
- null,
89
- 0,
90
- 0,
91
- null
92
- ],
93
- "0:9:0:0:0": [
94
- 0.292360493199452,
95
- 0,
96
- null,
97
- 0,
98
- 0,
99
- null
100
- ],
101
- "1:3:0:0:0": [
102
- 0.178223109790082,
103
- 0,
104
- null,
105
- 0,
106
- 0,
107
- null
108
- ],
109
- "1:0:0:0:0": [
110
- -1.70548071959404,
111
- 0,
112
- null,
113
- 0,
114
- 0,
115
- null
116
- ],
117
- "1:7:0:0:0": [
118
- 1.92806480043649,
119
- 0,
120
- null,
121
- 0,
122
- 0,
123
- null
124
- ],
125
- "1:6:0:0:0": [
126
- -0.938640709195226,
127
- 0,
128
- null,
129
- 0,
130
- 0,
131
- null
132
- ],
133
- "1:9:0:0:0": [
134
- 1.4055978394304,
135
- 0,
136
- null,
137
- 0,
138
- 0,
139
- null
140
- ],
141
- "1:2:0:0:0": [
142
- 0.177647331428157,
143
- 0,
144
- null,
145
- 0,
146
- 0,
147
- null
148
- ],
149
- "1:5:0:0:0": [
150
- 2.47915590644139,
151
- 0,
152
- null,
153
- 0,
154
- 0,
155
- null
156
- ],
157
- "1:8:0:0:0": [
158
- 0.286348587500551,
159
- 0,
160
- null,
161
- 0,
162
- 0,
163
- null
164
- ],
165
- "1:4:0:0:0": [
166
- 6.01902272562258,
167
- 0,
168
- null,
169
- 0,
170
- 0,
171
- null
172
- ],
173
- "1:1:0:0:0": [
174
- 2.36545969532268,
175
- 0,
176
- null,
177
- 0,
178
- 0,
179
- null
180
- ]
181
- }
182
- }
183
- ],
184
- "structure": {
185
- "links": [
186
- {
187
- "href": "http://stats.oecd.org/SDMX-JSON/dataflow/KEI/all",
188
- "rel": "dataflow"
189
- }
190
- ],
191
- "name": "Key Short-Term Economic Indicators",
192
- "description": "Key Short-Term Economic Indicators",
193
- "dimensions": {
194
- "observation": [
195
- {
196
- "keyPosition": 0,
197
- "id": "SUBJECT",
198
- "name": "Subject",
199
- "values": [
200
- {
201
- "id": "PRINTO01",
202
- "name": "Industrial production, s.a."
203
- },
204
- {
205
- "id": "PRMNTO01",
206
- "name": "Total manufacturing, s.a."
207
- }
208
- ]
209
- },
210
- {
211
- "keyPosition": 1,
212
- "id": "LOCATION",
213
- "name": "Country",
214
- "values": [
215
- {
216
- "id": "AUS",
217
- "name": "Australia"
218
- },
219
- {
220
- "id": "AUT",
221
- "name": "Austria"
222
- },
223
- {
224
- "id": "BEL",
225
- "name": "Belgium"
226
- },
227
- {
228
- "id": "CAN",
229
- "name": "Canada"
230
- },
231
- {
232
- "id": "CZE",
233
- "name": "Czech Republic"
234
- },
235
- {
236
- "id": "DNK",
237
- "name": "Denmark"
238
- },
239
- {
240
- "id": "FIN",
241
- "name": "Finland"
242
- },
243
- {
244
- "id": "FRA",
245
- "name": "France"
246
- },
247
- {
248
- "id": "CHL",
249
- "name": "Chile"
250
- },
251
- {
252
- "id": "EST",
253
- "name": "Estonia"
254
- }
255
- ],
256
- "role": "REF_AREA"
257
- },
258
- {
259
- "keyPosition": 2,
260
- "id": "MEASURE",
261
- "name": "Measure",
262
- "values": [
263
- {
264
- "id": "GP",
265
- "name": "Growth previous period"
266
- }
267
- ]
268
- },
269
- {
270
- "keyPosition": 3,
271
- "id": "FREQUENCY",
272
- "name": "Frequency",
273
- "values": [
274
- {
275
- "id": "A",
276
- "name": "Annual"
277
- }
278
- ],
279
- "role": "FREQ"
280
- },
281
- {
282
- "id": "TIME_PERIOD",
283
- "name": "Time",
284
- "values": [
285
- {
286
- "id": "2015",
287
- "name": "2015"
288
- }
289
- ],
290
- "role": "TIME_PERIOD"
291
- }
292
- ]
293
- },
294
- "attributes": {
295
- "dataSet": [],
296
- "series": [],
297
- "observation": [
298
- {
299
- "id": "TIME_FORMAT",
300
- "name": "Time Format",
301
- "values": [
302
- {
303
- "id": "P1Y",
304
- "name": "Annual"
305
- }
306
- ]
307
- },
308
- {
309
- "id": "OBS_STATUS",
310
- "name": "Observation Status",
311
- "values": []
312
- },
313
- {
314
- "id": "UNIT",
315
- "name": "Unit",
316
- "values": [
317
- {
318
- "id": "PC",
319
- "name": "Percentage"
320
- }
321
- ],
322
- "role": "UNIT_MEASURE"
323
- },
324
- {
325
- "id": "POWERCODE",
326
- "name": "Unit multiplier",
327
- "default": "0",
328
- "values": [
329
- {
330
- "id": "0",
331
- "name": "Units"
332
- }
333
- ],
334
- "role": "UNIT_MULT"
335
- },
336
- {
337
- "id": "REFERENCEPERIOD",
338
- "name": "Reference period",
339
- "values": [],
340
- "role": "BASE_PER"
341
- }
342
- ]
343
- },
344
- "annotations": [
345
- {
346
- "title": "Copyright OECD - All rights reserved",
347
- "uri": "",
348
- "text": ""
349
- },
350
- {
351
- "title": "Terms and Conditions",
352
- "uri": "http://www.oecd.org/termsandconditions/",
353
- "text": ""
354
- },
355
- {
356
- "title": "Privacy Policy",
357
- "uri": "http://www.oecd.org/privacy/",
358
- "text": ""
359
- },
360
- {
361
- "title": "MyOECD",
362
- "uri": "https://www.oecd.org/login",
363
- "text": ""
364
- },
365
- {
366
- "title": "Contact Us",
367
- "uri": "http://www.oecd.org/contact/",
368
- "text": ""
369
- }
370
- ]
371
- }
372
- }