@tmf_ciclica/ciclicastorybook 1.0.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 (134) hide show
  1. package/.storybook/main.js +21 -0
  2. package/.storybook/preview.jsx +31 -0
  3. package/README.md +8 -0
  4. package/eslint.config.js +38 -0
  5. package/index.html +13 -0
  6. package/package.json +67 -0
  7. package/public/vite.svg +1 -0
  8. package/src/App.css +0 -0
  9. package/src/App.jsx +36 -0
  10. package/src/_variables.scss +56 -0
  11. package/src/assets/img/arrowDown.svg +3 -0
  12. package/src/assets/img/closeIcon.svg +4 -0
  13. package/src/assets/img/copyIcon.svg +17 -0
  14. package/src/assets/img/deleteIcon.svg +6 -0
  15. package/src/assets/img/eyeActiveIcon.svg +6 -0
  16. package/src/assets/img/eyeNotActiveIcon.svg +8 -0
  17. package/src/assets/img/filtersIcon.svg +6 -0
  18. package/src/assets/img/langarrow.png +0 -0
  19. package/src/assets/img/pause.svg +5 -0
  20. package/src/assets/img/play.svg +4 -0
  21. package/src/assets/img/processingIcon.svg +20 -0
  22. package/src/assets/img/sample-image.png +0 -0
  23. package/src/assets/img/sample2.png +0 -0
  24. package/src/assets/img/world.svg +3 -0
  25. package/src/assets/mapStyles/mapStyle.js +781 -0
  26. package/src/components/AmbitSelector/AmbitItem/AmbitItem.jsx +74 -0
  27. package/src/components/AmbitSelector/AmbitItem/AmbitItem.module.scss +27 -0
  28. package/src/components/AmbitSelector/AmbitSelector.jsx +68 -0
  29. package/src/components/AmbitSelector/AmbitSelector.module.scss +29 -0
  30. package/src/components/AmbitSelector/AmbitSelector.stories.jsx +21 -0
  31. package/src/components/ButtonsList/ButtonsList.jsx +92 -0
  32. package/src/components/ButtonsList/ButtonsList.module.scss +37 -0
  33. package/src/components/ButtonsList/ButtonsList.stories.jsx +55 -0
  34. package/src/components/DropdownList/DropdownList.jsx +69 -0
  35. package/src/components/DropdownList/DropdownList.module.scss +20 -0
  36. package/src/components/DropdownList/DropdownList.stories.jsx +22 -0
  37. package/src/components/DropdownList/DropdownListExample/DropDownListExample.jsx +33 -0
  38. package/src/components/DropdownList/DropdownListExample/DropdownListExample.stories.jsx +11 -0
  39. package/src/components/EditAmbit/EditAmbit.jsx +7 -0
  40. package/src/components/FiltersAmbit/AppliedFilters/AppliedFilters.jsx +57 -0
  41. package/src/components/FiltersAmbit/AppliedFilters/AppliedFilters.module.scss +13 -0
  42. package/src/components/FiltersAmbit/AppliedFilters/AppliedFilters.stories.jsx +47 -0
  43. package/src/components/FiltersAmbit/FiltersAmbit.jsx +58 -0
  44. package/src/components/FiltersAmbit/FiltersAmbit.module.scss +28 -0
  45. package/src/components/FiltersAmbit/FiltersAmbit.stories.jsx +36 -0
  46. package/src/components/FiltersAmbit/GeographicFilters/GeographicalFilters.jsx +33 -0
  47. package/src/components/FiltersAmbit/GeographicFilters/GeographicalFilters.module.scss +13 -0
  48. package/src/components/FiltersAmbit/GeographicFilters/GeographicalFilters.stories.jsx +47 -0
  49. package/src/components/FiltersAmbit/TematicalFilters/TematicalFilters.jsx +83 -0
  50. package/src/components/FiltersAmbit/TematicalFilters/TematicalFilters.module.scss +8 -0
  51. package/src/components/FiltersAmbit/TematicalFilters/TematicalFilters.stories.jsx +17 -0
  52. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersCategory/TematicalFiltersCategory.jsx +60 -0
  53. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/AbsoluteSlider/AbsoluteSlider.jsx +61 -0
  54. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/AbsoluteSlider/AbsoluteSlider.module.scss +45 -0
  55. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/CategoryCheckbox/CategoryChackbox.module.scss +18 -0
  56. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/CategoryCheckbox/CategoryCheckbox.jsx +47 -0
  57. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/TematicalFiltersInput.jsx +267 -0
  58. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersInput/TematicalFiltersInput.module.scss +31 -0
  59. package/src/components/FiltersAmbit/TematicalFilters/TematicalFiltersSubcat/TematicalFiltersSubcat.jsx +58 -0
  60. package/src/components/FiltersAmbit/useAmbitStore.jsx +10 -0
  61. package/src/components/Graphic/BarChart/BarChart.jsx +146 -0
  62. package/src/components/Graphic/BarChart/BarChart.module.scss +5 -0
  63. package/src/components/Graphic/BarChart/BarChart.stories.jsx +18 -0
  64. package/src/components/Graphic/Graphic.jsx +55 -0
  65. package/src/components/Graphic/Graphic.module.scss +12 -0
  66. package/src/components/Graphic/Graphic.stories.jsx +25 -0
  67. package/src/components/IndicatorsList/Indicator/Indicator.jsx +180 -0
  68. package/src/components/IndicatorsList/Indicator/Indicator.module.scss +46 -0
  69. package/src/components/IndicatorsList/IndicatorSubCategory/IndicatorSubCategory.jsx +76 -0
  70. package/src/components/IndicatorsList/IndicatorSubCategory/IndicatorSubCategory.module.scss +12 -0
  71. package/src/components/IndicatorsList/IndicatorsCategory/IndicatorsCategory.jsx +122 -0
  72. package/src/components/IndicatorsList/IndicatorsCategory/IndicatorsCategory.module.scss +20 -0
  73. package/src/components/IndicatorsList/IndicatorsList.jsx +173 -0
  74. package/src/components/IndicatorsList/IndicatorsList.module.scss +10 -0
  75. package/src/components/IndicatorsList/IndicatorsList.stories.jsx +263 -0
  76. package/src/components/LangSelector/LangSelector.jsx +70 -0
  77. package/src/components/LangSelector/LangSelector.module.scss +41 -0
  78. package/src/components/LangSelector/LangSelector.stories.jsx +27 -0
  79. package/src/components/Legend/Legend.jsx +132 -0
  80. package/src/components/Legend/Legend.module.scss +121 -0
  81. package/src/components/Legend/Legend.stories.jsx +53 -0
  82. package/src/components/LogoApp/LogoApp.jsx +33 -0
  83. package/src/components/LogoApp/LogoApp.module.scss +7 -0
  84. package/src/components/LogoApp/LogoApp.stories.jsx +27 -0
  85. package/src/components/MapboxMap/MapboxMap.jsx +160 -0
  86. package/src/components/MapboxMap/MapboxMap.module.scss +4 -0
  87. package/src/components/MapboxMap/MapboxMap.stories.jsx +57 -0
  88. package/src/components/MaplibreMap/MaplibreMap.jsx +166 -0
  89. package/src/components/MaplibreMap/MaplibreMap.module.scss +5 -0
  90. package/src/components/MaplibreMap/MaplibreMap.stories.jsx +55 -0
  91. package/src/components/SectionBar/SectionBar.jsx +41 -0
  92. package/src/components/SectionBar/SectionBar.module.scss +40 -0
  93. package/src/components/SectionBar/SectionBar.stories.jsx +35 -0
  94. package/src/components/TimeSlider/TimeSlider.jsx +147 -0
  95. package/src/components/TimeSlider/TimeSlider.module.scss +63 -0
  96. package/src/components/TimeSlider/TimeSlider.stories.jsx +9 -0
  97. package/src/components/Tooltip/Tooltip.jsx +40 -0
  98. package/src/components/Tooltip/Tooltip.module.scss +141 -0
  99. package/src/components/Tooltip/Tooltip.stories.jsx +51 -0
  100. package/src/components/TopNavMenu/TopNavMenu.jsx +62 -0
  101. package/src/components/TopNavMenu/TopNavMenu.module.scss +21 -0
  102. package/src/components/TopNavMenu/TopNavMenu.stories.jsx +20 -0
  103. package/src/components/UserMenuTrigger/UserMenuTrigger.jsx +47 -0
  104. package/src/components/UserMenuTrigger/UserMenuTrigger.module.scss +5 -0
  105. package/src/components/UserMenuTrigger/UserMenuTrigger.stories.jsx +33 -0
  106. package/src/components/index.jsx +17 -0
  107. package/src/constants/indicators.js +1371 -0
  108. package/src/constants/mapTexts.js +161 -0
  109. package/src/constants/textLayers.js +639 -0
  110. package/src/constants/topNavMenuOptions.js +14 -0
  111. package/src/i18n.js +19 -0
  112. package/src/index.js +2 -0
  113. package/src/index.scss +87 -0
  114. package/src/locales/ca.json +8 -0
  115. package/src/locales/es.json +15 -0
  116. package/src/main.jsx +10 -0
  117. package/src/sections/HeaderSection/HeaderSection.jsx +51 -0
  118. package/src/sections/HeaderSection/HeaderSection.module.scss +33 -0
  119. package/src/sections/HeaderSection/HeaderSection.stories.jsx +61 -0
  120. package/src/sections/RightSidebar/RightSidebar.jsx +35 -0
  121. package/src/sections/RightSidebar/RightSidebar.module.scss +39 -0
  122. package/src/sections/RightSidebar/RightSidebar.stories.jsx +21 -0
  123. package/src/sections/index.js +2 -0
  124. package/src/store/index.js +1 -0
  125. package/src/store/mapSlice/index.js +1 -0
  126. package/src/store/mapSlice/mapSlice.js +30 -0
  127. package/src/store/rightBarSlice/index.js +1 -0
  128. package/src/store/rightBarSlice/rightBarSlice.js +28 -0
  129. package/src/store/routerSlice/index.js +1 -0
  130. package/src/store/routerSlice/routerSlice.js +14 -0
  131. package/src/store/store.js +14 -0
  132. package/src/store/userSlice/index.js +1 -0
  133. package/src/store/userSlice/userSlice.js +22 -0
  134. package/vite.config.js +36 -0
@@ -0,0 +1,1371 @@
1
+ export default [
2
+ {
3
+ category: "Arq",
4
+ name: "indicators.arq",
5
+ haveFilters: true,
6
+ escenariFilters: true,
7
+ subcategories: [
8
+ {
9
+ subcategory: "subcPrinc",
10
+ name: "indicators.arq_princ",
11
+ indicators: [
12
+ {
13
+ ikey: 0, //ikey asociada al indicador
14
+ name: "indicators.us_prn.title", //título del indicador referenciado al archivo locales (traducción)
15
+ code: ["us_prn"], //código del indicador en el archivo json de las tiles
16
+ type: "cat", //tipo del indicador. Puede ser-> 'cat' (categorizado), 'abs' (valor absoluto), 'both' (indicador con las dos opciones), 'twoUnits' (indicator abs con 2 unidades distintas)
17
+ category: "Arq", //ERESE: Categoria a la que pertenece el indicador. Puede ser -> 'Arq' (Arquitectónica), 'Ene' (Energética), 'Eco' (Económica), 'Ide' (Identificación).
18
+ category_ods: "ODS_00", //ODS:
19
+ category_aue: "AUE_00", //AUE:
20
+ values: [
21
+ //por cada uno de los posibles valores o categorías creamos un objeto con el color asociado, el código o códigos (array) del archivo tiles y su título (referencia a locales)
22
+ {
23
+ fillColor: "#FEB740",
24
+ codename: ["Residencial", "VincViv"],
25
+ title: "indicators.us_prn.Residencial",
26
+ },
27
+ {
28
+ fillColor: "#033364",
29
+ codename: ["Público"],
30
+ title: "indicators.us_prn.Public",
31
+ },
32
+ {
33
+ fillColor: "#5190cb",
34
+ codename: ["EnseñanzaCultural"],
35
+ title: "indicators.us_prn.EnsenyamentCultural",
36
+ },
37
+ {
38
+ fillColor: "#18ae9a",
39
+ codename: ["Deportivo", "Piscinas"],
40
+ title: "indicators.us_prn.Esportiu",
41
+ },
42
+ {
43
+ fillColor: "#850d15",
44
+ codename: ["Comercial"],
45
+ title: "indicators.us_prn.Comercial",
46
+ },
47
+ {
48
+ fillColor: "#ee2e39",
49
+ codename: ["HoteleroRestauración"],
50
+ title: "indicators.us_prn.HotelerRestauracio",
51
+ },
52
+ {
53
+ fillColor: "#ed602e",
54
+ codename: ["Oficinas"],
55
+ title: "indicators.us_prn.Oficines",
56
+ },
57
+ {
58
+ fillColor: "#843059",
59
+ codename: ["Almacenaje"],
60
+ title: "indicators.us_prn.Emmagatzematge",
61
+ },
62
+ {
63
+ fillColor: "#CB719D",
64
+ codename: ["Industrial", "IndustrialResto"],
65
+ title: "indicators.us_prn.Industrial",
66
+ },
67
+ {
68
+ fillColor: "#7f7f7f",
69
+ codename: ["Aparcamiento"],
70
+ title: "indicators.us_prn.Aparcament",
71
+ },
72
+ {
73
+ fillColor: "#dadae3",
74
+ codename: [
75
+ "OtrosCal",
76
+ "OtrosNoCal",
77
+ "Común",
78
+ "Sin datos",
79
+ "",
80
+ "None",
81
+ "null",
82
+ "undefined",
83
+ " ",
84
+ "NoCodificado",
85
+ ],
86
+ title: "indicators.us_prn.None",
87
+ },
88
+ ],
89
+ time: false,
90
+ },
91
+ {
92
+ ikey: 1,
93
+ name: "indicators.al_max.title",
94
+ code: ["al_max", "al_max_cat"], //[code.abs, code.cat] en los indicadores que sean 'both', necesitamos un array de códigos de las tiles. el primer valor es el código del indicador categorizado, el segundo el del indicador absoluto
95
+ codeAbs: "al_max", //código del indicador absoluto
96
+ codeCat: "al_max_cat", //código del indicador categorizado
97
+ type: "both", //tipo del indicador. Puede ser-> 'cat' (categorizado), 'abs' (valor absoluto), 'both' (indicador con las dos opciones)
98
+ category: "Arq",
99
+ category_ods: "ODS_00",
100
+ category_aue: "AUE_00",
101
+ maxColor: "#00544a", //color asociado al valor máximo
102
+ midColor: "#00ae9a", //color asociado al valor medio
103
+ minColor: "#00ffe1", //color asociado al valor mínimo
104
+ minValue: -1, //valor mínimo
105
+ maxValue: 14, //valor máximo
106
+ minValueIndicador: "indicators.al_max.minValueIndicador", //valor mínimo Indicador
107
+ maxValueIndicador: "indicators.al_max.maxValueIndicador", //valor máximo Indicador
108
+ unit: "indicators.al_max.unit", //unidad del valor. La usaremos en la leyenda
109
+ values: [
110
+ {
111
+ fillColor: "#00544a",
112
+ codename: ["De PB+3 o mes"],
113
+ title: "indicators.al_max.PB+3",
114
+ },
115
+ {
116
+ fillColor: "#00ae9a",
117
+ codename: ["De PB a PB+2"],
118
+ title: "indicators.al_max.PB",
119
+ },
120
+ {
121
+ fillColor: "#00ffe1",
122
+ codename: ["De P-1 en avall"],
123
+ title: "indicators.al_max.De P-1",
124
+ },
125
+ {
126
+ fillColor: "#dadae3",
127
+ codename: [
128
+ "Sense dades",
129
+ "Sense",
130
+ "",
131
+ "None",
132
+ "null",
133
+ "undefined",
134
+ " ",
135
+ ],
136
+ title: "indicators.al_max.None",
137
+ },
138
+ ],
139
+ time: false,
140
+ },
141
+ {
142
+ ikey: 2,
143
+ name: "indicators.uni_pluri.title",
144
+ code: ["uni_pluri"],
145
+ type: "cat",
146
+ category: "Arq",
147
+ // category_ods: 'ODS_00',
148
+ // category_aue: 'AUE_00',
149
+ values: [
150
+ {
151
+ fillColor: "#BA1C27",
152
+ codename: ["Bloque"],
153
+ title: "indicators.uni_pluri.Bloc",
154
+ },
155
+ {
156
+ fillColor: "#FEB740",
157
+ codename: ["Colectiva"],
158
+ title: "indicators.uni_pluri.Colectiva",
159
+ },
160
+ {
161
+ fillColor: "#508FCC",
162
+ codename: ["Unifamiliar"],
163
+ title: "indicators.uni_pluri.Unifamiliar",
164
+ },
165
+ {
166
+ fillColor: "#dadae3",
167
+ codename: [
168
+ "Sense dades",
169
+ "Sense",
170
+ "",
171
+ "None",
172
+ "null",
173
+ "undefined",
174
+ " ",
175
+ ],
176
+ title: "indicators.uni_pluri.None",
177
+ },
178
+ ],
179
+ time: false,
180
+ },
181
+ {
182
+ ikey: 3,
183
+ name: "indicators.any_const.title",
184
+ code: ["any_const", "any_const_cat"],
185
+ type: "both",
186
+ category: "Arq",
187
+ category_ods: "ODS_00",
188
+ category_aue: "AUE_00",
189
+ maxColor: "#D2DBE4",
190
+ midColor: "#7E98B2",
191
+ minColor: "#003366",
192
+ minValue: 1900,
193
+ maxValue: 2020,
194
+ minValueIndicador: "indicators.any_const.minValueIndicador",
195
+ maxValueIndicador: "indicators.any_const.maxValueIndicador",
196
+ unit: "indicators.any_const.Unit",
197
+ values: [
198
+ {
199
+ fillColor: "#D2DBE4 ",
200
+ codename: ["De 2008 a 2020"],
201
+ title: "indicators.any_const.2008Adelante",
202
+ },
203
+ {
204
+ fillColor: "#A8BACB",
205
+ codename: ["De 1981 a 2007"],
206
+ title: "indicators.any_const.1981-2007",
207
+ },
208
+ {
209
+ fillColor: "#7E98B2",
210
+ codename: ["De 1961 a 1980"],
211
+ title: "indicators.any_const.1961-1980",
212
+ },
213
+ {
214
+ fillColor: "#547699",
215
+ codename: ["De 1941 a 1960"],
216
+ title: "indicators.any_const.1941-1960",
217
+ },
218
+ {
219
+ fillColor: "#2A557F",
220
+ codename: ["De 1901 a 1940"],
221
+ title: "indicators.any_const.1901-1940",
222
+ },
223
+ {
224
+ fillColor: "#003366",
225
+ codename: ["Hasta 1900"],
226
+ title: "indicators.any_const.hasta-1900",
227
+ },
228
+ {
229
+ fillColor: "#dadae3",
230
+ codename: [
231
+ "Sense dades",
232
+ "Sense",
233
+ "",
234
+ "None",
235
+ "null",
236
+ "undefined",
237
+ " ",
238
+ ],
239
+ title: "indicators.any_const.None",
240
+ },
241
+ ],
242
+ time: false,
243
+ },
244
+ {
245
+ ikey: 4,
246
+ name: "indicators.num_viv.title",
247
+ code: ["num_viv", "num_viv_cat"],
248
+ type: "abs",
249
+ category: "Arq",
250
+ category_ods: "ODS_00",
251
+ category_aue: "AUE_02",
252
+ maxColor: "#684A1A",
253
+ midColor: "#AF7F2C",
254
+ minColor: "#FEB740",
255
+ minValue: 1,
256
+ maxValue: 40,
257
+ minValueIndicador: "indicators.num_viv.minValueIndicador",
258
+ maxValueIndicador: "indicators.num_viv.maxValueIndicador",
259
+ unit: "indicators.num_viv.unit",
260
+ time: false,
261
+ values: [
262
+ {
263
+ fillColor: "#684A1A",
264
+ codename: ["40 o más viviendas"],
265
+ title: "indicators.num_viv.40+",
266
+ },
267
+ {
268
+ fillColor: "#8A6423",
269
+ codename: ["De 20 a 39 viviendas"],
270
+ title: "indicators.num_viv.20-39",
271
+ },
272
+ {
273
+ fillColor: "#AF7F2C",
274
+ codename: ["De 10 a 19 viviendas"],
275
+ title: "indicators.num_viv.10-19",
276
+ },
277
+ {
278
+ fillColor: "#D69A36",
279
+ codename: ["De 5 a 9 viviendas"],
280
+ title: "indicators.num_viv.5-9",
281
+ },
282
+ {
283
+ fillColor: "#FEB740",
284
+ codename: ["De 2 a 4 viviendas"],
285
+ title: "indicators.num_viv.2-4",
286
+ },
287
+ {
288
+ fillColor: "#3e77b2",
289
+ codename: ["Unifamiliar"],
290
+ title: "indicators.num_viv.unifamiliar",
291
+ },
292
+ {
293
+ fillColor: "#dadae3",
294
+ codename: [
295
+ "Sense dades",
296
+ "Sense",
297
+ "",
298
+ "None",
299
+ "null",
300
+ "undefined",
301
+ " ",
302
+ "No residencial",
303
+ ],
304
+ title: "indicators.num_viv.none",
305
+ },
306
+ ],
307
+ },
308
+ {
309
+ ikey: 5,
310
+ name: "indicators.cluster.title",
311
+ code: ["nom_cluster"],
312
+ type: "cat",
313
+ category_ods: "ODS_07",
314
+ category_aue: "AUE_01",
315
+ category: "Arq",
316
+ values: [
317
+ {
318
+ fillColor: "#022952",
319
+ codename: ["A"],
320
+ title: "indicators.cluster.A",
321
+ },
322
+ {
323
+ fillColor: "#033364",
324
+ codename: ["B"],
325
+ title: "indicators.cluster.B",
326
+ },
327
+ {
328
+ fillColor: "#2A6298",
329
+ codename: ["C"],
330
+ title: "indicators.cluster.C",
331
+ },
332
+ {
333
+ fillColor: "#5190CB",
334
+ codename: ["D"],
335
+ title: "indicators.cluster.D",
336
+ },
337
+ {
338
+ fillColor: "#6CA2D4",
339
+ codename: ["E"],
340
+ title: "indicators.cluster.E",
341
+ },
342
+ {
343
+ fillColor: "#79ABD8",
344
+ codename: ["F"],
345
+ title: "indicators.cluster.F",
346
+ },
347
+ {
348
+ fillColor: "#605225",
349
+ codename: ["G"],
350
+ title: "indicators.cluster.G",
351
+ },
352
+ {
353
+ fillColor: "#7B692F",
354
+ codename: ["H"],
355
+ title: "indicators.cluster.H",
356
+ },
357
+ {
358
+ fillColor: "#BD9037",
359
+ codename: ["I"],
360
+ title: "indicators.cluster.I",
361
+ },
362
+ {
363
+ fillColor: "#FEB63E",
364
+ codename: ["J"],
365
+ title: "indicators.cluster.J",
366
+ },
367
+ {
368
+ fillColor: "#FECC7A",
369
+ codename: ["K"],
370
+ title: "indicators.cluster.K",
371
+ },
372
+ {
373
+ fillColor: "#FED798",
374
+ codename: ["L"],
375
+ title: "indicators.cluster.L",
376
+ },
377
+ {
378
+ fillColor: "#dadae3",
379
+ codename: [
380
+ "Sense dades",
381
+ "Sense",
382
+ "",
383
+ "None",
384
+ "null",
385
+ "undefined",
386
+ " ",
387
+ ],
388
+ title: "indicators.cluster.none",
389
+ },
390
+ ],
391
+ time: false,
392
+ },
393
+ ],
394
+ },
395
+ {
396
+ subcategory: "subcPrinc22",
397
+ name: "indicators.arq_princ22",
398
+ indicators: [
399
+ {
400
+ ikey: 0, //ikey asociada al indicador
401
+ name: "indicators.us_prn.title", //título del indicador referenciado al archivo locales (traducción)
402
+ code: ["us_prn"], //código del indicador en el archivo json de las tiles
403
+ type: "cat", //tipo del indicador. Puede ser-> 'cat' (categorizado), 'abs' (valor absoluto), 'both' (indicador con las dos opciones), 'twoUnits' (indicator abs con 2 unidades distintas)
404
+ category: "Arq", //ERESE: Categoria a la que pertenece el indicador. Puede ser -> 'Arq' (Arquitectónica), 'Ene' (Energética), 'Eco' (Económica), 'Ide' (Identificación).
405
+ category_ods: "ODS_00", //ODS:
406
+ category_aue: "AUE_00", //AUE:
407
+ values: [
408
+ //por cada uno de los posibles valores o categorías creamos un objeto con el color asociado, el código o códigos (array) del archivo tiles y su título (referencia a locales)
409
+ {
410
+ fillColor: "#FEB740",
411
+ codename: ["Residencial", "VincViv"],
412
+ title: "indicators.us_prn.Residencial",
413
+ },
414
+ {
415
+ fillColor: "#033364",
416
+ codename: ["Público"],
417
+ title: "indicators.us_prn.Public",
418
+ },
419
+ {
420
+ fillColor: "#5190cb",
421
+ codename: ["EnseñanzaCultural"],
422
+ title: "indicators.us_prn.EnsenyamentCultural",
423
+ },
424
+ {
425
+ fillColor: "#18ae9a",
426
+ codename: ["Deportivo", "Piscinas"],
427
+ title: "indicators.us_prn.Esportiu",
428
+ },
429
+ {
430
+ fillColor: "#850d15",
431
+ codename: ["Comercial"],
432
+ title: "indicators.us_prn.Comercial",
433
+ },
434
+ {
435
+ fillColor: "#ee2e39",
436
+ codename: ["HoteleroRestauración"],
437
+ title: "indicators.us_prn.HotelerRestauracio",
438
+ },
439
+ {
440
+ fillColor: "#ed602e",
441
+ codename: ["Oficinas"],
442
+ title: "indicators.us_prn.Oficines",
443
+ },
444
+ {
445
+ fillColor: "#843059",
446
+ codename: ["Almacenaje"],
447
+ title: "indicators.us_prn.Emmagatzematge",
448
+ },
449
+ {
450
+ fillColor: "#CB719D",
451
+ codename: ["Industrial", "IndustrialResto"],
452
+ title: "indicators.us_prn.Industrial",
453
+ },
454
+ {
455
+ fillColor: "#7f7f7f",
456
+ codename: ["Aparcamiento"],
457
+ title: "indicators.us_prn.Aparcament",
458
+ },
459
+ {
460
+ fillColor: "#dadae3",
461
+ codename: [
462
+ "OtrosCal",
463
+ "OtrosNoCal",
464
+ "Común",
465
+ "Sin datos",
466
+ "",
467
+ "None",
468
+ "null",
469
+ "undefined",
470
+ " ",
471
+ "NoCodificado",
472
+ ],
473
+ title: "indicators.us_prn.None",
474
+ },
475
+ ],
476
+ time: false,
477
+ },
478
+ {
479
+ ikey: 1,
480
+ name: "indicators.al_max.title",
481
+ code: ["al_max", "al_max_cat"], //[code.abs, code.cat] en los indicadores que sean 'both', necesitamos un array de códigos de las tiles. el primer valor es el código del indicador categorizado, el segundo el del indicador absoluto
482
+ type: "both", //tipo del indicador. Puede ser-> 'cat' (categorizado), 'abs' (valor absoluto), 'both' (indicador con las dos opciones)
483
+ category: "Arq",
484
+ category_ods: "ODS_00",
485
+ category_aue: "AUE_00",
486
+ maxColor: "#00544a", //color asociado al valor máximo
487
+ midColor: "#00ae9a", //color asociado al valor medio
488
+ minColor: "#00ffe1", //color asociado al valor mínimo
489
+ minValue: -1, //valor mínimo
490
+ maxValue: 14, //valor máximo
491
+ minValueIndicador: "indicators.al_max.minValueIndicador", //valor mínimo Indicador
492
+ maxValueIndicador: "indicators.al_max.maxValueIndicador", //valor máximo Indicador
493
+ unit: "indicators.al_max.unit", //unidad del valor. La usaremos en la leyenda
494
+ values: [
495
+ {
496
+ fillColor: "#00544a",
497
+ codename: ["De PB+3 o mes"],
498
+ title: "indicators.al_max.PB+3",
499
+ },
500
+ {
501
+ fillColor: "#00ae9a",
502
+ codename: ["De PB a PB+2"],
503
+ title: "indicators.al_max.PB",
504
+ },
505
+ {
506
+ fillColor: "#00ffe1",
507
+ codename: ["De P-1 en avall"],
508
+ title: "indicators.al_max.De P-1",
509
+ },
510
+ {
511
+ fillColor: "#dadae3",
512
+ codename: [
513
+ "Sense dades",
514
+ "Sense",
515
+ "",
516
+ "None",
517
+ "null",
518
+ "undefined",
519
+ " ",
520
+ ],
521
+ title: "indicators.al_max.None",
522
+ },
523
+ ],
524
+ time: false,
525
+ },
526
+ {
527
+ ikey: 2,
528
+ name: "indicators.uni_pluri.title",
529
+ code: ["uni_pluri"],
530
+ type: "cat",
531
+ category: "Arq",
532
+ // category_ods: 'ODS_00',
533
+ // category_aue: 'AUE_00',
534
+ values: [
535
+ {
536
+ fillColor: "#BA1C27",
537
+ codename: ["Bloque"],
538
+ title: "indicators.uni_pluri.Bloc",
539
+ },
540
+ {
541
+ fillColor: "#FEB740",
542
+ codename: ["Colectiva"],
543
+ title: "indicators.uni_pluri.Colectiva",
544
+ },
545
+ {
546
+ fillColor: "#508FCC",
547
+ codename: ["Unifamiliar"],
548
+ title: "indicators.uni_pluri.Unifamiliar",
549
+ },
550
+ {
551
+ fillColor: "#dadae3",
552
+ codename: [
553
+ "Sense dades",
554
+ "Sense",
555
+ "",
556
+ "None",
557
+ "null",
558
+ "undefined",
559
+ " ",
560
+ ],
561
+ title: "indicators.uni_pluri.None",
562
+ },
563
+ ],
564
+ time: false,
565
+ },
566
+ {
567
+ ikey: 3,
568
+ name: "indicators.any_const.title",
569
+ code: ["any_const", "any_const_cat"],
570
+ type: "both",
571
+ category: "Arq",
572
+ category_ods: "ODS_00",
573
+ category_aue: "AUE_00",
574
+ maxColor: "#D2DBE4",
575
+ midColor: "#7E98B2",
576
+ minColor: "#003366",
577
+ minValue: 1900,
578
+ maxValue: 2020,
579
+ minValueIndicador: "indicators.any_const.minValueIndicador",
580
+ maxValueIndicador: "indicators.any_const.maxValueIndicador",
581
+ unit: "indicators.any_const.Unit",
582
+ values: [
583
+ {
584
+ fillColor: "#D2DBE4 ",
585
+ codename: ["De 2008 a 2020"],
586
+ title: "indicators.any_const.2008Adelante",
587
+ },
588
+ {
589
+ fillColor: "#A8BACB",
590
+ codename: ["De 1981 a 2007"],
591
+ title: "indicators.any_const.1981-2007",
592
+ },
593
+ {
594
+ fillColor: "#7E98B2",
595
+ codename: ["De 1961 a 1980"],
596
+ title: "indicators.any_const.1961-1980",
597
+ },
598
+ {
599
+ fillColor: "#547699",
600
+ codename: ["De 1941 a 1960"],
601
+ title: "indicators.any_const.1941-1960",
602
+ },
603
+ {
604
+ fillColor: "#2A557F",
605
+ codename: ["De 1901 a 1940"],
606
+ title: "indicators.any_const.1901-1940",
607
+ },
608
+ {
609
+ fillColor: "#003366",
610
+ codename: ["Hasta 1900"],
611
+ title: "indicators.any_const.hasta-1900",
612
+ },
613
+ {
614
+ fillColor: "#dadae3",
615
+ codename: [
616
+ "Sense dades",
617
+ "Sense",
618
+ "",
619
+ "None",
620
+ "null",
621
+ "undefined",
622
+ " ",
623
+ ],
624
+ title: "indicators.any_const.None",
625
+ },
626
+ ],
627
+ time: false,
628
+ },
629
+ {
630
+ ikey: 4,
631
+ name: "indicators.num_viv.title",
632
+ code: ["num_viv", "num_viv_cat"],
633
+ type: "abs",
634
+ category: "Arq",
635
+ category_ods: "ODS_00",
636
+ category_aue: "AUE_02",
637
+ maxColor: "#684A1A",
638
+ midColor: "#AF7F2C",
639
+ minColor: "#FEB740",
640
+ minValue: 1,
641
+ maxValue: 40,
642
+ minValueIndicador: "indicators.num_viv.minValueIndicador",
643
+ maxValueIndicador: "indicators.num_viv.maxValueIndicador",
644
+ unit: "indicators.num_viv.unit",
645
+ time: false,
646
+ values: [
647
+ {
648
+ fillColor: "#684A1A",
649
+ codename: ["40 o más viviendas"],
650
+ title: "indicators.num_viv.40+",
651
+ },
652
+ {
653
+ fillColor: "#8A6423",
654
+ codename: ["De 20 a 39 viviendas"],
655
+ title: "indicators.num_viv.20-39",
656
+ },
657
+ {
658
+ fillColor: "#AF7F2C",
659
+ codename: ["De 10 a 19 viviendas"],
660
+ title: "indicators.num_viv.10-19",
661
+ },
662
+ {
663
+ fillColor: "#D69A36",
664
+ codename: ["De 5 a 9 viviendas"],
665
+ title: "indicators.num_viv.5-9",
666
+ },
667
+ {
668
+ fillColor: "#FEB740",
669
+ codename: ["De 2 a 4 viviendas"],
670
+ title: "indicators.num_viv.2-4",
671
+ },
672
+ {
673
+ fillColor: "#3e77b2",
674
+ codename: ["Unifamiliar"],
675
+ title: "indicators.num_viv.unifamiliar",
676
+ },
677
+ {
678
+ fillColor: "#dadae3",
679
+ codename: [
680
+ "Sense dades",
681
+ "Sense",
682
+ "",
683
+ "None",
684
+ "null",
685
+ "undefined",
686
+ " ",
687
+ "No residencial",
688
+ ],
689
+ title: "indicators.num_viv.none",
690
+ },
691
+ ],
692
+ },
693
+ {
694
+ ikey: 5,
695
+ name: "indicators.cluster.title",
696
+ code: ["nom_cluster"],
697
+ type: "cat",
698
+ category_ods: "ODS_07",
699
+ category_aue: "AUE_01",
700
+ category: "Arq",
701
+ values: [
702
+ {
703
+ fillColor: "#022952",
704
+ codename: ["A"],
705
+ title: "indicators.cluster.A",
706
+ },
707
+ {
708
+ fillColor: "#033364",
709
+ codename: ["B"],
710
+ title: "indicators.cluster.B",
711
+ },
712
+ {
713
+ fillColor: "#2A6298",
714
+ codename: ["C"],
715
+ title: "indicators.cluster.C",
716
+ },
717
+ {
718
+ fillColor: "#5190CB",
719
+ codename: ["D"],
720
+ title: "indicators.cluster.D",
721
+ },
722
+ {
723
+ fillColor: "#6CA2D4",
724
+ codename: ["E"],
725
+ title: "indicators.cluster.E",
726
+ },
727
+ {
728
+ fillColor: "#79ABD8",
729
+ codename: ["F"],
730
+ title: "indicators.cluster.F",
731
+ },
732
+ {
733
+ fillColor: "#605225",
734
+ codename: ["G"],
735
+ title: "indicators.cluster.G",
736
+ },
737
+ {
738
+ fillColor: "#7B692F",
739
+ codename: ["H"],
740
+ title: "indicators.cluster.H",
741
+ },
742
+ {
743
+ fillColor: "#BD9037",
744
+ codename: ["I"],
745
+ title: "indicators.cluster.I",
746
+ },
747
+ {
748
+ fillColor: "#FEB63E",
749
+ codename: ["J"],
750
+ title: "indicators.cluster.J",
751
+ },
752
+ {
753
+ fillColor: "#FECC7A",
754
+ codename: ["K"],
755
+ title: "indicators.cluster.K",
756
+ },
757
+ {
758
+ fillColor: "#FED798",
759
+ codename: ["L"],
760
+ title: "indicators.cluster.L",
761
+ },
762
+ {
763
+ fillColor: "#dadae3",
764
+ codename: [
765
+ "Sense dades",
766
+ "Sense",
767
+ "",
768
+ "None",
769
+ "null",
770
+ "undefined",
771
+ " ",
772
+ ],
773
+ title: "indicators.cluster.none",
774
+ },
775
+ ],
776
+ time: false,
777
+ },
778
+ ],
779
+ },
780
+ ],
781
+ },
782
+ {
783
+ category: "Ene",
784
+ name: "indicators.ene",
785
+ haveFilters: true,
786
+ escenariFilters: true,
787
+ indicators: [
788
+ {
789
+ ikey: 6,
790
+ name: "indicators.cal.title",
791
+ code: ["demanda_cal_m2"],
792
+ type: "abs",
793
+ category: "Ene",
794
+ category_ods: "ODS_07",
795
+ category_aue: "AUE_04",
796
+ maxColor: "#EE2C3C",
797
+ midColor: "#FDB740",
798
+ minColor: "#00544A",
799
+ minValue: 1,
800
+ maxValue: 120,
801
+ minValueIndicador: "indicators.cal.minValueIndicador",
802
+ maxValueIndicador: "indicators.cal.maxValueIndicador",
803
+ unit: "indicators.cal.unit",
804
+ time: true,
805
+ values: [
806
+ {
807
+ fillColor: "#00544A",
808
+ codename: ["Menos de 20 kWh/m2"],
809
+ title: "indicators.demanda_cal_m2.<20",
810
+ },
811
+ {
812
+ fillColor: "#386A48",
813
+ codename: ["Entre 20 y 40 kWh/m2"],
814
+ title: "indicators.demanda_cal_m2.20-40",
815
+ },
816
+ {
817
+ fillColor: "#708046",
818
+ codename: ["Entre 40 y 60 kWh/m2"],
819
+ title: "indicators.demanda_cal_m2.40-60",
820
+ },
821
+ {
822
+ fillColor: "#A99643",
823
+ codename: ["Entre 60 y 80 kWh/m2"],
824
+ title: "indicators.demanda_cal_m2.60-80",
825
+ },
826
+ {
827
+ fillColor: "#E1AC41",
828
+ codename: ["Entre 80 y 100 kWh/m2"],
829
+ title: "indicators.demanda_cal_m2.80-100",
830
+ },
831
+ {
832
+ fillColor: "#FBA840",
833
+ codename: ["Entre 100 y 120 kWh/m2"],
834
+ title: "indicators.demanda_cal_m2.100-120",
835
+ },
836
+ {
837
+ fillColor: "#F8893F",
838
+ codename: ["Entre 120 y 140 kWh/m2"],
839
+ title: "indicators.demanda_cal_m2.120-140",
840
+ },
841
+ {
842
+ fillColor: "#F56A3E",
843
+ codename: ["Entre 140 y 160 kWh/m2"],
844
+ title: "indicators.demanda_cal_m2.140-160",
845
+ },
846
+ {
847
+ fillColor: "#F14B3D",
848
+ codename: ["Entre 160 y 180 kWh/m2"],
849
+ title: "indicators.demanda_cal_m2.160-180",
850
+ },
851
+ {
852
+ fillColor: "#EE2C3C",
853
+ codename: ["Más de 180 kWh/m2"],
854
+ title: "indicators.demanda_cal_m2.>180",
855
+ },
856
+ ],
857
+ },
858
+ {
859
+ ikey: 7,
860
+ name: "indicators.cal_post.title",
861
+ code: ["demanda_post_m2"],
862
+ type: "abs",
863
+ category: "Ene",
864
+ category_ods: "ODS_07",
865
+ category_aue: "AUE_04",
866
+ minColor: "#00544A",
867
+ midColor: "#FDB740",
868
+ maxColor: "#EE2C3C",
869
+ minValue: 10,
870
+ maxValue: 150,
871
+ minValueIndicador: "indicators.cal_post.minValueIndicador",
872
+ maxValueIndicador: "indicators.cal_post.maxValueIndicador",
873
+ unit: "indicators.cal_post.unit",
874
+ time: false,
875
+ values: [
876
+ {
877
+ fillColor: "#00544A",
878
+ codename: ["Menos de 20 kWh/m2"],
879
+ title: "indicators.demanda_cal_m2.<20",
880
+ },
881
+ {
882
+ fillColor: "#386A48",
883
+ codename: ["Entre 20 y 40 kWh/m2"],
884
+ title: "indicators.demanda_cal_m2.20-40",
885
+ },
886
+ {
887
+ fillColor: "#708046",
888
+ codename: ["Entre 40 y 60 kWh/m2"],
889
+ title: "indicators.demanda_cal_m2.40-60",
890
+ },
891
+ {
892
+ fillColor: "#A99643",
893
+ codename: ["Entre 60 y 80 kWh/m2"],
894
+ title: "indicators.demanda_cal_m2.60-80",
895
+ },
896
+ {
897
+ fillColor: "#E1AC41",
898
+ codename: ["Entre 80 y 100 kWh/m2"],
899
+ title: "indicators.demanda_cal_m2.80-100",
900
+ },
901
+ {
902
+ fillColor: "#FBA840",
903
+ codename: ["Entre 100 y 120 kWh/m2"],
904
+ title: "indicators.demanda_cal_m2.100-120",
905
+ },
906
+ {
907
+ fillColor: "#F8893F",
908
+ codename: ["Entre 120 y 140 kWh/m2"],
909
+ title: "indicators.demanda_cal_m2.120-140",
910
+ },
911
+ {
912
+ fillColor: "#F56A3E",
913
+ codename: ["Entre 140 y 160 kWh/m2"],
914
+ title: "indicators.demanda_cal_m2.140-160",
915
+ },
916
+ {
917
+ fillColor: "#F14B3D",
918
+ codename: ["Entre 160 y 180 kWh/m2"],
919
+ title: "indicators.demanda_cal_m2.160-180",
920
+ },
921
+ {
922
+ fillColor: "#EE2C3C",
923
+ codename: ["Más de 180 kWh/m2"],
924
+ title: "indicators.demanda_cal_m2.>180",
925
+ },
926
+ ],
927
+ },
928
+ {
929
+ ikey: 8,
930
+ name: "indicators.qual_cal.title",
931
+ code: ["qual"],
932
+ type: "cat",
933
+ category: "Ene",
934
+ category_ods: "ODS_07",
935
+ category_aue: "AUE_04",
936
+ values: [
937
+ {
938
+ fillColor: "#306f35",
939
+ codename: ["A"],
940
+ title: "indicators.qual_cal.A",
941
+ },
942
+ {
943
+ fillColor: "#4aa038",
944
+ codename: ["B"],
945
+ title: "indicators.qual_cal.B",
946
+ },
947
+ {
948
+ fillColor: "#a7c52b",
949
+ codename: ["C"],
950
+ title: "indicators.qual_cal.C",
951
+ },
952
+ {
953
+ fillColor: "#efe737",
954
+ codename: ["D"],
955
+ title: "indicators.qual_cal.D",
956
+ },
957
+ {
958
+ fillColor: "#feb63e",
959
+ codename: ["E"],
960
+ title: "indicators.qual_cal.E",
961
+ },
962
+ {
963
+ fillColor: "#f35d3e",
964
+ codename: ["F"],
965
+ title: "indicators.qual_cal.F",
966
+ },
967
+ {
968
+ fillColor: "#cb2f45",
969
+ codename: ["G"],
970
+ title: "indicators.qual_cal.G",
971
+ },
972
+ {
973
+ fillColor: "#dadae3",
974
+ codename: [
975
+ "Sense dades",
976
+ "Sense",
977
+ "",
978
+ "None",
979
+ "null",
980
+ "undefined",
981
+ " ",
982
+ ],
983
+ title: "indicators.qual_cal.none",
984
+ },
985
+ ],
986
+ time: true,
987
+ },
988
+ {
989
+ ikey: 9,
990
+ name: "indicators.qual_cal_post.title",
991
+ code: ["qual_post"],
992
+ type: "cat",
993
+ category: "Ene",
994
+ category_ods: "ODS_07",
995
+ category_aue: "AUE_04",
996
+ values: [
997
+ {
998
+ fillColor: "#306f35",
999
+ codename: ["A"],
1000
+ title: "indicators.qual_cal.A",
1001
+ },
1002
+ {
1003
+ fillColor: "#4aa038",
1004
+ codename: ["B"],
1005
+ title: "indicators.qual_cal.B",
1006
+ },
1007
+ {
1008
+ fillColor: "#a7c52b",
1009
+ codename: ["C"],
1010
+ title: "indicators.qual_cal.C",
1011
+ },
1012
+ {
1013
+ fillColor: "#efe737",
1014
+ codename: ["D"],
1015
+ title: "indicators.qual_cal.D",
1016
+ },
1017
+ {
1018
+ fillColor: "#feb63e",
1019
+ codename: ["E"],
1020
+ title: "indicators.qual_cal.E",
1021
+ },
1022
+ {
1023
+ fillColor: "#f35d3e",
1024
+ codename: ["F"],
1025
+ title: "indicators.qual_cal.F",
1026
+ },
1027
+ {
1028
+ fillColor: "#cb2f45",
1029
+ codename: ["G"],
1030
+ title: "indicators.qual_cal.G",
1031
+ },
1032
+ {
1033
+ fillColor: "#dadae3",
1034
+ codename: [
1035
+ "Sense dades",
1036
+ "Sense",
1037
+ "",
1038
+ "None",
1039
+ "null",
1040
+ "undefined",
1041
+ " ",
1042
+ ],
1043
+ title: "indicators.qual_cal.none",
1044
+ },
1045
+ ],
1046
+ time: false,
1047
+ },
1048
+ {
1049
+ ikey: 10,
1050
+ name: "indicators.reduccio_demanda.title",
1051
+ code: ["reduccio_demanda"],
1052
+ type: "abs",
1053
+ category: "Ene",
1054
+ category_ods: "ODS_07",
1055
+ category_aue: "AUE_04",
1056
+ maxColor: "#00544A",
1057
+ midColor: "#FDB740",
1058
+ minColor: "#EE2C3C",
1059
+ minValue: 0,
1060
+ maxValue: 100,
1061
+ minValueIndicador: "indicators.cal.minValueIndicador",
1062
+ maxValueIndicador: "indicators.cal.maxValueIndicador",
1063
+ unit: "indicators.reduccio_demanda.unit",
1064
+ time: true,
1065
+ values: [
1066
+ {
1067
+ fillColor: "#00544A",
1068
+ codename: ["Entre 90 y 100 %"],
1069
+ title: "indicators.reduccio_demanda.100",
1070
+ },
1071
+ {
1072
+ fillColor: "#386A48",
1073
+ codename: ["Entre 80 y 90 %"],
1074
+ title: "indicators.reduccio_demanda.90",
1075
+ },
1076
+ {
1077
+ fillColor: "#708046",
1078
+ codename: ["Entre 70 y 80 %"],
1079
+ title: "indicators.reduccio_demanda.80",
1080
+ },
1081
+ {
1082
+ fillColor: "#A99643",
1083
+ codename: ["Entre 60 y 70 %"],
1084
+ title: "indicators.reduccio_demanda.70",
1085
+ },
1086
+ {
1087
+ fillColor: "#E1AC41",
1088
+ codename: ["Entre 50 y 60 %"],
1089
+ title: "indicators.reduccio_demanda.60",
1090
+ },
1091
+ {
1092
+ fillColor: "#FBA840",
1093
+ codename: ["Entre 40 y 50 %"],
1094
+ title: "indicators.reduccio_demanda.50",
1095
+ },
1096
+ {
1097
+ fillColor: "#F8893F",
1098
+ codename: ["Entre 30 y 40 %"],
1099
+ title: "indicators.reduccio_demanda.40",
1100
+ },
1101
+ {
1102
+ fillColor: "#F56A3E",
1103
+ codename: ["Entre 20 y 30 %"],
1104
+ title: "indicators.reduccio_demanda.30",
1105
+ },
1106
+ {
1107
+ fillColor: "#F14B3D",
1108
+ codename: ["Entre 10 y 20 %"],
1109
+ title: "indicators.reduccio_demanda.20",
1110
+ },
1111
+ {
1112
+ fillColor: "#EE2C3C",
1113
+ codename: ["Menos de 10 %"],
1114
+ title: "indicators.reduccio_demanda.10",
1115
+ },
1116
+ ],
1117
+ },
1118
+ ],
1119
+ },
1120
+ {
1121
+ category: "Eco",
1122
+ name: "indicators.eco",
1123
+ haveFilters: true,
1124
+ escenariFilters: false,
1125
+ indicators: [
1126
+ {
1127
+ ikey: 11,
1128
+ name: "indicators.cost_int.title",
1129
+ code: ["cost_int"],
1130
+ type: "twoUnits",
1131
+ category: "Eco",
1132
+ category_ods: "ODS_11",
1133
+ category_aue: "AUE_02",
1134
+ maxColor: "#EE2C3C",
1135
+ midColor: "#FDB740",
1136
+ minColor: "#003366",
1137
+ values: [
1138
+ {
1139
+ unit: "€/m2",
1140
+ minValue: 100,
1141
+ maxValue: 900,
1142
+ minValueIndicador: "indicators.cost_int_m2.minValueIndicador",
1143
+ maxValueIndicador: "indicators.cost_int_m2.maxValueIndicador",
1144
+ codename: "cost_int_m2",
1145
+ title: "indicators.cost_int.cost_int_m2",
1146
+ },
1147
+ {
1148
+ unit: "€/Vivienda",
1149
+ minValue: 10000,
1150
+ maxValue: 18000,
1151
+ minValueIndicador: "indicators.cost_int_hab.minValueIndicador",
1152
+ maxValueIndicador: "indicators.cost_int_hab.maxValueIndicador",
1153
+ codename: "cost_int_hab",
1154
+ title: "indicators.cost_int.cost_int_hab",
1155
+ },
1156
+ ],
1157
+ time: false,
1158
+ cats_hab: [
1159
+ {
1160
+ fillColor: "#003366",
1161
+ codename: ["Menos de 10.000 €/viv"],
1162
+ title: "indicators.cost_int.<10",
1163
+ },
1164
+ {
1165
+ fillColor: "#38505E",
1166
+ codename: ["Entre 10.000 y 11.000 €/viv"],
1167
+ title: "indicators.cost_int.10-11",
1168
+ },
1169
+ {
1170
+ fillColor: "#706E55",
1171
+ codename: ["Entre 11.000 y 12.000 €/viv"],
1172
+ title: "indicators.cost_int.11-12",
1173
+ },
1174
+ {
1175
+ fillColor: "#A98B4D",
1176
+ codename: ["Entre 12.000 y 13.000 €/viv"],
1177
+ title: "indicators.cost_int.12-13",
1178
+ },
1179
+ {
1180
+ fillColor: "#E1A844",
1181
+ codename: ["Entre 13.000 y 14.000 €/viv"],
1182
+ title: "indicators.cost_int.13-14",
1183
+ },
1184
+ {
1185
+ fillColor: "#FBA840",
1186
+ codename: ["Entre 14.000 y 15.000 €/viv"],
1187
+ title: "indicators.cost_int.14-15",
1188
+ },
1189
+ {
1190
+ fillColor: "#F8893F",
1191
+ codename: ["Entre 15.000 y 16.000 €/viv"],
1192
+ title: "indicators.cost_int.15-16",
1193
+ },
1194
+ {
1195
+ fillColor: "#F56A3E",
1196
+ codename: ["Entre 16.000 y 17.000 €/viv"],
1197
+ title: "indicators.cost_int.16-17",
1198
+ },
1199
+ {
1200
+ fillColor: "#F14B3D",
1201
+ codename: ["Entre 17.000 y 18.000 €/viv"],
1202
+ title: "indicators.cost_int.17-18",
1203
+ },
1204
+ {
1205
+ fillColor: "#EE2C3C",
1206
+ codename: ["Más de 18.000 €/viv"],
1207
+ title: "indicators.cost_int.>18",
1208
+ },
1209
+ ],
1210
+ cats_m2: [
1211
+ {
1212
+ fillColor: "#003366",
1213
+ codename: ["Menos de 100 €/m2·viv"],
1214
+ title: "indicators.cost_int.<100",
1215
+ },
1216
+ {
1217
+ fillColor: "#38505E",
1218
+ codename: ["Entre 100 y 200 €/m2·viv"],
1219
+ title: "indicators.cost_int.100-200",
1220
+ },
1221
+ {
1222
+ fillColor: "#706E55",
1223
+ codename: ["Entre 200 y 300 €/m2·viv"],
1224
+ title: "indicators.cost_int.200-300",
1225
+ },
1226
+ {
1227
+ fillColor: "#A98B4D",
1228
+ codename: ["Entre 300 y 400 €/m2·viv"],
1229
+ title: "indicators.cost_int.300-400",
1230
+ },
1231
+ {
1232
+ fillColor: "#E1A844",
1233
+ codename: ["Entre 400 y 500 €/m2·viv"],
1234
+ title: "indicators.cost_int.400-500",
1235
+ },
1236
+ {
1237
+ fillColor: "#FBA840",
1238
+ codename: ["Entre 500 y 600 €/m2·viv"],
1239
+ title: "indicators.cost_int.500-600",
1240
+ },
1241
+ {
1242
+ fillColor: "#F8893F",
1243
+ codename: ["Entre 600 y 700 €/m2·viv"],
1244
+ title: "indicators.cost_int.600-700",
1245
+ },
1246
+ {
1247
+ fillColor: "#F56A3E",
1248
+ codename: ["Entre 700 y 800 €/m2·viv"],
1249
+ title: "indicators.cost_int.700-800",
1250
+ },
1251
+ {
1252
+ fillColor: "#F14B3D",
1253
+ codename: ["Entre 800 y 900 €/m2·viv"],
1254
+ title: "indicators.cost_int.800-900",
1255
+ },
1256
+ {
1257
+ fillColor: "#EE2C3C",
1258
+ codename: ["Más de 900 €/m2·viv"],
1259
+ title: "indicators.cost_int.>900",
1260
+ },
1261
+ ],
1262
+ },
1263
+ ],
1264
+ },
1265
+ {
1266
+ category: "Int",
1267
+ name: "indicators.int",
1268
+ haveFilters: false,
1269
+ escenariFilters: false,
1270
+ indicators: [
1271
+ {
1272
+ ikey: 12,
1273
+ name: "indicators.int_FP.title",
1274
+ code: ["FP"],
1275
+ type: "cat",
1276
+ category: "Int",
1277
+ values: [
1278
+ { fillColor: "#89a301", codename: [1], title: "indicators.intYear" },
1279
+ { fillColor: "#D0D79D", codename: [2], title: "indicators.intPast" },
1280
+ { fillColor: "#dadae3", codename: [0], title: "indicators.intNot" },
1281
+ ],
1282
+ time: true,
1283
+ },
1284
+ {
1285
+ ikey: 13,
1286
+ name: "indicators.int_VFP.title",
1287
+ code: ["VFP"],
1288
+ type: "cat",
1289
+ category: "Int",
1290
+ values: [
1291
+ { fillColor: "#006e51", codename: [1], title: "indicators.intYear" },
1292
+ { fillColor: "#9CBFB0", codename: [2], title: "indicators.intPast" },
1293
+ { fillColor: "#dadae3", codename: [0], title: "indicators.intNot" },
1294
+ ],
1295
+ time: true,
1296
+ },
1297
+ {
1298
+ ikey: 14,
1299
+ name: "indicators.int_P.title",
1300
+ code: ["P"],
1301
+ type: "cat",
1302
+ category: "Int",
1303
+ values: [
1304
+ { fillColor: "#9d4823", codename: [1], title: "indicators.intYear" },
1305
+ { fillColor: "#DCAE9B", codename: [2], title: "indicators.intPast" },
1306
+ { fillColor: "#dadae3", codename: [0], title: "indicators.intNot" },
1307
+ ],
1308
+ time: true,
1309
+ },
1310
+ {
1311
+ ikey: 15,
1312
+ name: "indicators.int_ME.title",
1313
+ code: ["ME"],
1314
+ type: "cat",
1315
+ category: "Int",
1316
+ values: [
1317
+ { fillColor: "#1D7DAD", codename: [1], title: "indicators.intYear" },
1318
+ { fillColor: "#ABC5DC", codename: [2], title: "indicators.intPast" },
1319
+ { fillColor: "#dadae3", codename: [0], title: "indicators.intNot" },
1320
+ ],
1321
+ time: true,
1322
+ },
1323
+ {
1324
+ ikey: 16,
1325
+ name: "indicators.int_S.title",
1326
+ code: ["S"],
1327
+ type: "cat",
1328
+ category: "Int",
1329
+ values: [
1330
+ { fillColor: "#3ba5a5", codename: [1], title: "indicators.intYear" },
1331
+ { fillColor: "#B2D8D8", codename: [2], title: "indicators.intPast" },
1332
+ { fillColor: "#dadae3", codename: [0], title: "indicators.intNot" },
1333
+ ],
1334
+ time: true,
1335
+ },
1336
+ {
1337
+ ikey: 17,
1338
+ name: "indicators.int_C.title",
1339
+ code: ["C"],
1340
+ type: "cat",
1341
+ category: "Int",
1342
+ values: [
1343
+ { fillColor: "#ad6e5c", codename: [1], title: "indicators.intYear" },
1344
+ { fillColor: "#DFBFB6", codename: [2], title: "indicators.intPast" },
1345
+ { fillColor: "#dadae3", codename: [0], title: "indicators.intNot" },
1346
+ ],
1347
+ time: true,
1348
+ },
1349
+ {
1350
+ ikey: 18,
1351
+ name: "indicators.check_meps.title",
1352
+ code: ["check_meps"],
1353
+ type: "cat",
1354
+ category: "Int",
1355
+ values: [
1356
+ {
1357
+ fillColor: "#00ae9a",
1358
+ codename: [1],
1359
+ title: "indicators.check_meps.yes",
1360
+ },
1361
+ {
1362
+ fillColor: "#dadae3",
1363
+ codename: [0],
1364
+ title: "indicators.check_meps.no",
1365
+ },
1366
+ ],
1367
+ time: true,
1368
+ },
1369
+ ],
1370
+ },
1371
+ ]