@dhis2/analytics 25.1.10 → 25.1.12
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/CHANGELOG.md +14 -0
- package/build/cjs/locales/es/translations.json +3 -3
- package/build/cjs/visualizations/config/generators/dhis/singleValue.js +1 -0
- package/build/es/locales/es/translations.json +3 -3
- package/build/es/visualizations/config/generators/dhis/singleValue.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [25.1.12](https://github.com/dhis2/analytics/compare/v25.1.11...v25.1.12) (2023-06-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **translations:** sync translations from transifex (master) ([53fd300](https://github.com/dhis2/analytics/commit/53fd3007f71cae4bd8dc99d84af44d5c954ebc99))
|
|
7
|
+
|
|
8
|
+
## [25.1.11](https://github.com/dhis2/analytics/compare/v25.1.10...v25.1.11) (2023-06-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add data-test to SV icon ([#1479](https://github.com/dhis2/analytics/issues/1479)) ([df1c7ef](https://github.com/dhis2/analytics/commit/df1c7efb3136be99b5026b252a499ba0bb57ecd9))
|
|
14
|
+
|
|
1
15
|
## [25.1.10](https://github.com/dhis2/analytics/compare/v25.1.9...v25.1.10) (2023-05-30)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"event report": "informe de evento",
|
|
104
104
|
"line list": "",
|
|
105
105
|
"map": "mapa",
|
|
106
|
-
"visualization": "",
|
|
106
|
+
"visualization": "visualización",
|
|
107
107
|
"Edit": "Editar",
|
|
108
108
|
"Write a reply": "Escribe una respuesta",
|
|
109
109
|
"Post reply": "",
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"Assigned Categories": "",
|
|
351
351
|
"Pivot table": "Tabla dinámica",
|
|
352
352
|
"Area": "Área",
|
|
353
|
-
"Stacked area": "",
|
|
353
|
+
"Stacked area": "Área apilada",
|
|
354
354
|
"Bar": "Barra",
|
|
355
355
|
"Stacked bar": "Barra apilada",
|
|
356
356
|
"Column": "Columna",
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"Year over year (line)": "Año tras año (línea)",
|
|
363
363
|
"Pie": "Pastel",
|
|
364
364
|
"Radar": "Radar",
|
|
365
|
-
"Scatter": "",
|
|
365
|
+
"Scatter": "Dispersión",
|
|
366
366
|
"Single value": "Valor único",
|
|
367
367
|
"All charts": "",
|
|
368
368
|
"{{seriesName}} (trend)": "",
|
|
@@ -109,6 +109,7 @@ const generateValueSVG = _ref => {
|
|
|
109
109
|
iconSvgNode.setAttribute('y', (iconSize / 2 - topMargin / 2) * -1);
|
|
110
110
|
iconSvgNode.setAttribute('x', "-".concat((iconSize + getIconPadding(textSize) + textWidth) / 2));
|
|
111
111
|
iconSvgNode.setAttribute('style', "color: ".concat(fillColor));
|
|
112
|
+
iconSvgNode.setAttribute('data-test', 'visualization-icon');
|
|
112
113
|
const parser = new DOMParser();
|
|
113
114
|
const svgIconDocument = parser.parseFromString(icon, 'image/svg+xml');
|
|
114
115
|
Array.from(svgIconDocument.documentElement.children).forEach(node => iconSvgNode.appendChild(node));
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"event report": "informe de evento",
|
|
104
104
|
"line list": "",
|
|
105
105
|
"map": "mapa",
|
|
106
|
-
"visualization": "",
|
|
106
|
+
"visualization": "visualización",
|
|
107
107
|
"Edit": "Editar",
|
|
108
108
|
"Write a reply": "Escribe una respuesta",
|
|
109
109
|
"Post reply": "",
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"Assigned Categories": "",
|
|
351
351
|
"Pivot table": "Tabla dinámica",
|
|
352
352
|
"Area": "Área",
|
|
353
|
-
"Stacked area": "",
|
|
353
|
+
"Stacked area": "Área apilada",
|
|
354
354
|
"Bar": "Barra",
|
|
355
355
|
"Stacked bar": "Barra apilada",
|
|
356
356
|
"Column": "Columna",
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"Year over year (line)": "Año tras año (línea)",
|
|
363
363
|
"Pie": "Pastel",
|
|
364
364
|
"Radar": "Radar",
|
|
365
|
-
"Scatter": "",
|
|
365
|
+
"Scatter": "Dispersión",
|
|
366
366
|
"Single value": "Valor único",
|
|
367
367
|
"All charts": "",
|
|
368
368
|
"{{seriesName}} (trend)": "",
|
|
@@ -99,6 +99,7 @@ const generateValueSVG = _ref => {
|
|
|
99
99
|
iconSvgNode.setAttribute('y', (iconSize / 2 - topMargin / 2) * -1);
|
|
100
100
|
iconSvgNode.setAttribute('x', "-".concat((iconSize + getIconPadding(textSize) + textWidth) / 2));
|
|
101
101
|
iconSvgNode.setAttribute('style', "color: ".concat(fillColor));
|
|
102
|
+
iconSvgNode.setAttribute('data-test', 'visualization-icon');
|
|
102
103
|
const parser = new DOMParser();
|
|
103
104
|
const svgIconDocument = parser.parseFromString(icon, 'image/svg+xml');
|
|
104
105
|
Array.from(svgIconDocument.documentElement.children).forEach(node => iconSvgNode.appendChild(node));
|