@dhis2/analytics 21.4.0 → 21.5.1

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 (66) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/build/cjs/api/analytics/Analytics.js +6 -0
  3. package/build/cjs/locales/ar/translations.json +7 -0
  4. package/build/cjs/locales/ar_EG/translations.json +7 -0
  5. package/build/cjs/locales/ar_IQ/translations.json +7 -0
  6. package/build/cjs/locales/ckb/translations.json +7 -0
  7. package/build/cjs/locales/cs/translations.json +7 -0
  8. package/build/cjs/locales/da/translations.json +7 -0
  9. package/build/cjs/locales/es/translations.json +7 -0
  10. package/build/cjs/locales/fr/translations.json +7 -0
  11. package/build/cjs/locales/id/translations.json +7 -0
  12. package/build/cjs/locales/km/translations.json +7 -0
  13. package/build/cjs/locales/lo/translations.json +7 -0
  14. package/build/cjs/locales/my/translations.json +7 -0
  15. package/build/cjs/locales/nb/translations.json +7 -0
  16. package/build/cjs/locales/nl/translations.json +7 -0
  17. package/build/cjs/locales/prs/translations.json +7 -0
  18. package/build/cjs/locales/ps/translations.json +7 -0
  19. package/build/cjs/locales/pt/translations.json +7 -0
  20. package/build/cjs/locales/pt_BR/translations.json +7 -0
  21. package/build/cjs/locales/ru/translations.json +7 -0
  22. package/build/cjs/locales/sv/translations.json +7 -0
  23. package/build/cjs/locales/tet/translations.json +7 -0
  24. package/build/cjs/locales/tg/translations.json +7 -0
  25. package/build/cjs/locales/uk/translations.json +7 -0
  26. package/build/cjs/locales/ur/translations.json +7 -0
  27. package/build/cjs/locales/uz/translations.json +7 -0
  28. package/build/cjs/locales/uz_Latn/translations.json +7 -0
  29. package/build/cjs/locales/vi/translations.json +7 -0
  30. package/build/cjs/locales/zh/translations.json +8 -1
  31. package/build/cjs/locales/zh_CN/translations.json +7 -0
  32. package/build/cjs/modules/layoutUiRules/rules.js +5 -1
  33. package/build/cjs/modules/visTypes.js +3 -1
  34. package/build/es/api/analytics/Analytics.js +5 -0
  35. package/build/es/locales/ar/translations.json +7 -0
  36. package/build/es/locales/ar_EG/translations.json +7 -0
  37. package/build/es/locales/ar_IQ/translations.json +7 -0
  38. package/build/es/locales/ckb/translations.json +7 -0
  39. package/build/es/locales/cs/translations.json +7 -0
  40. package/build/es/locales/da/translations.json +7 -0
  41. package/build/es/locales/es/translations.json +7 -0
  42. package/build/es/locales/fr/translations.json +7 -0
  43. package/build/es/locales/id/translations.json +7 -0
  44. package/build/es/locales/km/translations.json +7 -0
  45. package/build/es/locales/lo/translations.json +7 -0
  46. package/build/es/locales/my/translations.json +7 -0
  47. package/build/es/locales/nb/translations.json +7 -0
  48. package/build/es/locales/nl/translations.json +7 -0
  49. package/build/es/locales/prs/translations.json +7 -0
  50. package/build/es/locales/ps/translations.json +7 -0
  51. package/build/es/locales/pt/translations.json +7 -0
  52. package/build/es/locales/pt_BR/translations.json +7 -0
  53. package/build/es/locales/ru/translations.json +7 -0
  54. package/build/es/locales/sv/translations.json +7 -0
  55. package/build/es/locales/tet/translations.json +7 -0
  56. package/build/es/locales/tg/translations.json +7 -0
  57. package/build/es/locales/uk/translations.json +7 -0
  58. package/build/es/locales/ur/translations.json +7 -0
  59. package/build/es/locales/uz/translations.json +7 -0
  60. package/build/es/locales/uz_Latn/translations.json +7 -0
  61. package/build/es/locales/vi/translations.json +7 -0
  62. package/build/es/locales/zh/translations.json +8 -1
  63. package/build/es/locales/zh_CN/translations.json +7 -0
  64. package/build/es/modules/layoutUiRules/rules.js +6 -2
  65. package/build/es/modules/visTypes.js +1 -0
  66. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## [21.5.1](https://github.com/dhis2/analytics/compare/v21.5.0...v21.5.1) (2022-01-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **translations:** sync translations from transifex (master) ([bf92db5](https://github.com/dhis2/analytics/commit/bf92db54fd0e36e93f11e5249be61531fdbb8eef))
7
+
8
+ # [21.5.0](https://github.com/dhis2/analytics/compare/v21.4.2...v21.5.0) (2022-01-25)
9
+
10
+
11
+ ### Features
12
+
13
+ * add line list rules ([f0b13c0](https://github.com/dhis2/analytics/commit/f0b13c034d2fa4dca63aeeeb6bf067642a5848b3))
14
+
15
+ ## [21.4.2](https://github.com/dhis2/analytics/compare/v21.4.1...v21.4.2) (2022-01-22)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **translations:** sync translations from transifex (master) ([c977170](https://github.com/dhis2/analytics/commit/c9771709c49e7ff6d239ca9e133c10f8dc3bc06c))
21
+
22
+ ## [21.4.1](https://github.com/dhis2/analytics/compare/v21.4.0...v21.4.1) (2022-01-21)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * enable enrollments endpoint ([#1134](https://github.com/dhis2/analytics/issues/1134)) ([e4d5d7f](https://github.com/dhis2/analytics/commit/e4d5d7f453064215d013930dea61da7c95941946))
28
+
1
29
  # [21.4.0](https://github.com/dhis2/analytics/compare/v21.3.2...v21.4.0) (2022-01-20)
2
30
 
3
31
 
@@ -7,6 +7,8 @@ exports.default = void 0;
7
7
 
8
8
  var _AnalyticsAggregate = _interopRequireDefault(require("./AnalyticsAggregate.js"));
9
9
 
10
+ var _AnalyticsEnrollments = _interopRequireDefault(require("./AnalyticsEnrollments.js"));
11
+
10
12
  var _AnalyticsEvents = _interopRequireDefault(require("./AnalyticsEvents.js"));
11
13
 
12
14
  var _AnalyticsRequest = _interopRequireDefault(require("./AnalyticsRequest.js"));
@@ -43,17 +45,20 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
43
45
  class Analytics {
44
46
  /**
45
47
  * @param {!module:analytics.AnalyticsAggregate} analyticsAggregate The AnalyticsAggregate instance
48
+ * @param {!module:analytics.AnalyticsEnrollments} analyticsEnrollments The AnalyticsEnrollments instance
46
49
  * @param {!module:analytics.AnalyticsEvents} analyticsEvents The AnalyticsEvents instance
47
50
  * @param {!module:analytics.AnalyticsRequest} analyticsRequest The AnalyticsRequest class
48
51
  * @param {!module:analytics.AnalyticsResponse} analyticsResponse The AnalyticsResponse class
49
52
  */
50
53
  constructor({
51
54
  aggregate,
55
+ enrollments,
52
56
  events,
53
57
  request,
54
58
  response
55
59
  }) {
56
60
  this.aggregate = aggregate;
61
+ this.enrollments = enrollments;
57
62
  this.events = events;
58
63
  this.request = request;
59
64
  this.response = response;
@@ -76,6 +81,7 @@ class Analytics {
76
81
  if (!Analytics.getAnalytics.analytics) {
77
82
  Analytics.getAnalytics.analytics = new Analytics({
78
83
  aggregate: new _AnalyticsAggregate.default(dataEngine),
84
+ enrollments: new _AnalyticsEnrollments.default(dataEngine),
79
85
  events: new _AnalyticsEvents.default(dataEngine),
80
86
  request: _AnalyticsRequest.default,
81
87
  response: _AnalyticsResponse.default
@@ -119,6 +119,13 @@
119
119
  "No event reports found. Click New event report to get started.": "",
120
120
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
121
121
  "New event report": "",
122
+ "Open an event visualization": "",
123
+ "Loading event visualizations": "",
124
+ "Couldn't load event visualizations": "",
125
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
126
+ "No event visualizations found. Click New event visualization to get started.": "",
127
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
128
+ "New event visualization": "",
122
129
  "Options": "الخيارات",
123
130
  "Hide": "إخفاء",
124
131
  "Update": "تحديث",
@@ -119,6 +119,13 @@
119
119
  "No event reports found. Click New event report to get started.": "",
120
120
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
121
121
  "New event report": "",
122
+ "Open an event visualization": "",
123
+ "Loading event visualizations": "",
124
+ "Couldn't load event visualizations": "",
125
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
126
+ "No event visualizations found. Click New event visualization to get started.": "",
127
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
128
+ "New event visualization": "",
122
129
  "Options": "",
123
130
  "Hide": "",
124
131
  "Update": "",
@@ -119,6 +119,13 @@
119
119
  "No event reports found. Click New event report to get started.": "",
120
120
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
121
121
  "New event report": "",
122
+ "Open an event visualization": "",
123
+ "Loading event visualizations": "",
124
+ "Couldn't load event visualizations": "",
125
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
126
+ "No event visualizations found. Click New event visualization to get started.": "",
127
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
128
+ "New event visualization": "",
122
129
  "Options": "الخيارات",
123
130
  "Hide": "إخفاء",
124
131
  "Update": "تحديث",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "",
119
126
  "Hide": "شاردنەوە",
120
127
  "Update": "نوێ کردنەوە",
@@ -117,6 +117,13 @@
117
117
  "No event reports found. Click New event report to get started.": "Nebyly nalezeny žádné zprávy o událostech. Začněte kliknutím na Nový přehled událostí.",
118
118
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "Nebyly nalezeny žádné zprávy o událostech. Zkuste upravit možnosti vyhledávání nebo filtrování, abyste našli to, co hledáte.",
119
119
  "New event report": "Nová zpráva o události",
120
+ "Open an event visualization": "",
121
+ "Loading event visualizations": "",
122
+ "Couldn't load event visualizations": "",
123
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
124
+ "No event visualizations found. Click New event visualization to get started.": "",
125
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
126
+ "New event visualization": "",
120
127
  "Options": "Možnosti",
121
128
  "Hide": "Skrýt",
122
129
  "Update": "Aktualizovat",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "",
119
126
  "Hide": "",
120
127
  "Update": "Update",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Opciones",
119
126
  "Hide": "Ocultar",
120
127
  "Update": "Actualizar",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Options",
119
126
  "Hide": "Masquer",
120
127
  "Update": "Mettre à jour",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Opsi",
118
125
  "Hide": "Sembunyikan",
119
126
  "Update": "Perbarui",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "",
118
125
  "Hide": "",
119
126
  "Update": "ធ្វើ​បច្ចុប្បន្នភាព",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "ຈັດການ",
118
125
  "Hide": "ເຊື່ອງ",
119
126
  "Update": "ປັບປຸງ",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "",
118
125
  "Hide": "",
119
126
  "Update": "‌နောက်ဆုံးသတင်းကိုရစေခြင်း",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Alternativ",
119
126
  "Hide": "Skjul",
120
127
  "Update": "Oppdater",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "",
119
126
  "Hide": "",
120
127
  "Update": "Bijwerken",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "گزینه‌ها",
119
126
  "Hide": "مخفی کردن",
120
127
  "Update": "تجدید",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "ګزینه",
119
126
  "Hide": "پټ یې کړئ",
120
127
  "Update": "تجدید یا نوي یې کړئ",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Opções",
119
126
  "Hide": "Esconder",
120
127
  "Update": "Actualizar",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Opções",
119
126
  "Hide": "",
120
127
  "Update": "Actualizar",
@@ -117,6 +117,13 @@
117
117
  "No event reports found. Click New event report to get started.": "",
118
118
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
119
119
  "New event report": "",
120
+ "Open an event visualization": "",
121
+ "Loading event visualizations": "",
122
+ "Couldn't load event visualizations": "",
123
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
124
+ "No event visualizations found. Click New event visualization to get started.": "",
125
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
126
+ "New event visualization": "",
120
127
  "Options": "Параметры",
121
128
  "Hide": "Скрыть",
122
129
  "Update": "Обновить",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Alternativ",
119
126
  "Hide": "",
120
127
  "Update": "Uppdatera",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Opsoens",
118
125
  "Hide": "Subar",
119
126
  "Update": "Atualiza",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Имконот",
119
126
  "Hide": "Пинҳон кардан",
120
127
  "Update": "Навсозӣ",
@@ -117,6 +117,13 @@
117
117
  "No event reports found. Click New event report to get started.": "",
118
118
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
119
119
  "New event report": "",
120
+ "Open an event visualization": "",
121
+ "Loading event visualizations": "",
122
+ "Couldn't load event visualizations": "",
123
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
124
+ "No event visualizations found. Click New event visualization to get started.": "",
125
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
126
+ "New event visualization": "",
120
127
  "Options": "Опції",
121
128
  "Hide": "Сховати",
122
129
  "Update": "Оновити",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "اختیارات",
119
126
  "Hide": "چھپائیں",
120
127
  "Update": "اپڈیٹ",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Вариант",
118
125
  "Hide": "Беркитиш",
119
126
  "Update": "Янгилаш",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Вариант",
118
125
  "Hide": "Berkitish",
119
126
  "Update": "Янгилаш",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Tùy chọn",
118
125
  "Hide": "Ẩn",
119
126
  "Update": "Cập nhật",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "未找到事件报告。单击新建事件报告开始。",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "未找到事件报告。尝试调整您的搜索或过滤选项以找到您要查找的内容。",
116
116
  "New event report": "新建事件报告",
117
+ "Open an event visualization": "打开事件可视化",
118
+ "Loading event visualizations": "加载事件可视化",
119
+ "Couldn't load event visualizations": "无法加载事件可视化应用",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "加载事件可视化时出现问题。重试或联系您的系统管理员。",
121
+ "No event visualizations found. Click New event visualization to get started.": "未找到事件可视化。单击新建事件可视化开始。",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "未找到事件可视化。尝试调整您的搜索或过滤选项以找到您要查找的内容。",
123
+ "New event visualization": "新的事件可视化",
117
124
  "Options": "选项",
118
125
  "Hide": "隐藏",
119
126
  "Update": "更新",
@@ -224,7 +231,7 @@
224
231
  "Choose a locale to translate from the menu above": "从上面的菜单中选择要翻译的语言环境",
225
232
  "Translate: {{objectName}}": "翻译:{{objectName}}",
226
233
  "Save translations": "保存翻译",
227
- "Could not load translations": "",
234
+ "Could not load translations": "无法加载翻译",
228
235
  "Retry": "重试",
229
236
  "Series": "系列",
230
237
  "Category": "分类",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "选项",
118
125
  "Hide": "隐藏",
119
126
  "Update": "更新",
@@ -89,6 +89,9 @@ const scatterRules = {
89
89
  [_predefinedDimensions.DIMENSION_ID_ORGUNIT]: _axis.AXIS_ID_ROWS
90
90
  }
91
91
  };
92
+ const lineListRules = {
93
+ [RULE_PROP_AVAILABLE_AXES]: [_axis.AXIS_ID_COLUMNS, _axis.AXIS_ID_FILTERS]
94
+ };
92
95
  const visTypeToRules = {
93
96
  [_visTypes.VIS_TYPE_COLUMN]: defaultRules,
94
97
  [_visTypes.VIS_TYPE_STACKED_COLUMN]: defaultRules,
@@ -104,7 +107,8 @@ const visTypeToRules = {
104
107
  [_visTypes.VIS_TYPE_YEAR_OVER_YEAR_LINE]: yearOverYearRules,
105
108
  [_visTypes.VIS_TYPE_YEAR_OVER_YEAR_COLUMN]: yearOverYearRules,
106
109
  [_visTypes.VIS_TYPE_PIVOT_TABLE]: pivotTableRules,
107
- [_visTypes.VIS_TYPE_SCATTER]: scatterRules
110
+ [_visTypes.VIS_TYPE_SCATTER]: scatterRules,
111
+ [_visTypes.VIS_TYPE_LINE_LIST]: lineListRules
108
112
  };
109
113
 
110
114
  const getRulesByVisType = visType => {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.isColumnBasedType = exports.isLegendSetType = exports.isVerticalType = exports.isTwoCategoryChartType = exports.isSingleValue = exports.isMultiType = exports.isDualAxisType = exports.isYearOverYear = exports.isStacked = exports.defaultVisType = exports.getDisplayNameByVisType = exports.visTypeIcons = exports.visTypeDescriptions = exports.visTypeDisplayNames = exports.VIS_TYPE_SCATTER = exports.VIS_TYPE_PIVOT_TABLE = exports.VIS_TYPE_SINGLE_VALUE = exports.VIS_TYPE_YEAR_OVER_YEAR_COLUMN = exports.VIS_TYPE_YEAR_OVER_YEAR_LINE = exports.VIS_TYPE_BUBBLE = exports.VIS_TYPE_GAUGE = exports.VIS_TYPE_RADAR = exports.VIS_TYPE_PIE = exports.VIS_TYPE_STACKED_AREA = exports.VIS_TYPE_AREA = exports.VIS_TYPE_LINE = exports.VIS_TYPE_STACKED_BAR = exports.VIS_TYPE_BAR = exports.VIS_TYPE_STACKED_COLUMN = exports.VIS_TYPE_COLUMN = void 0;
6
+ exports.isColumnBasedType = exports.isLegendSetType = exports.isVerticalType = exports.isTwoCategoryChartType = exports.isSingleValue = exports.isMultiType = exports.isDualAxisType = exports.isYearOverYear = exports.isStacked = exports.defaultVisType = exports.getDisplayNameByVisType = exports.visTypeIcons = exports.visTypeDescriptions = exports.visTypeDisplayNames = exports.VIS_TYPE_LINE_LIST = exports.VIS_TYPE_SCATTER = exports.VIS_TYPE_PIVOT_TABLE = exports.VIS_TYPE_SINGLE_VALUE = exports.VIS_TYPE_YEAR_OVER_YEAR_COLUMN = exports.VIS_TYPE_YEAR_OVER_YEAR_LINE = exports.VIS_TYPE_BUBBLE = exports.VIS_TYPE_GAUGE = exports.VIS_TYPE_RADAR = exports.VIS_TYPE_PIE = exports.VIS_TYPE_STACKED_AREA = exports.VIS_TYPE_AREA = exports.VIS_TYPE_LINE = exports.VIS_TYPE_STACKED_BAR = exports.VIS_TYPE_BAR = exports.VIS_TYPE_STACKED_COLUMN = exports.VIS_TYPE_COLUMN = void 0;
7
7
 
8
8
  var _ui = require("@dhis2/ui");
9
9
 
@@ -43,6 +43,8 @@ const VIS_TYPE_PIVOT_TABLE = 'PIVOT_TABLE';
43
43
  exports.VIS_TYPE_PIVOT_TABLE = VIS_TYPE_PIVOT_TABLE;
44
44
  const VIS_TYPE_SCATTER = 'SCATTER';
45
45
  exports.VIS_TYPE_SCATTER = VIS_TYPE_SCATTER;
46
+ const VIS_TYPE_LINE_LIST = 'LINE_LIST';
47
+ exports.VIS_TYPE_LINE_LIST = VIS_TYPE_LINE_LIST;
46
48
  const visTypeDisplayNames = {
47
49
  [VIS_TYPE_PIVOT_TABLE]: _index.default.t('Pivot table'),
48
50
  [VIS_TYPE_COLUMN]: _index.default.t('Column'),
@@ -2,6 +2,7 @@
2
2
  * @module analytics
3
3
  */
4
4
  import AnalyticsAggregate from './AnalyticsAggregate.js';
5
+ import AnalyticsEnrollments from './AnalyticsEnrollments.js';
5
6
  import AnalyticsEvents from './AnalyticsEvents.js';
6
7
  import AnalyticsRequest from './AnalyticsRequest.js';
7
8
  import AnalyticsResponse from './AnalyticsResponse.js';
@@ -30,17 +31,20 @@ import AnalyticsResponse from './AnalyticsResponse.js';
30
31
  class Analytics {
31
32
  /**
32
33
  * @param {!module:analytics.AnalyticsAggregate} analyticsAggregate The AnalyticsAggregate instance
34
+ * @param {!module:analytics.AnalyticsEnrollments} analyticsEnrollments The AnalyticsEnrollments instance
33
35
  * @param {!module:analytics.AnalyticsEvents} analyticsEvents The AnalyticsEvents instance
34
36
  * @param {!module:analytics.AnalyticsRequest} analyticsRequest The AnalyticsRequest class
35
37
  * @param {!module:analytics.AnalyticsResponse} analyticsResponse The AnalyticsResponse class
36
38
  */
37
39
  constructor({
38
40
  aggregate,
41
+ enrollments,
39
42
  events,
40
43
  request,
41
44
  response
42
45
  }) {
43
46
  this.aggregate = aggregate;
47
+ this.enrollments = enrollments;
44
48
  this.events = events;
45
49
  this.request = request;
46
50
  this.response = response;
@@ -63,6 +67,7 @@ class Analytics {
63
67
  if (!Analytics.getAnalytics.analytics) {
64
68
  Analytics.getAnalytics.analytics = new Analytics({
65
69
  aggregate: new AnalyticsAggregate(dataEngine),
70
+ enrollments: new AnalyticsEnrollments(dataEngine),
66
71
  events: new AnalyticsEvents(dataEngine),
67
72
  request: AnalyticsRequest,
68
73
  response: AnalyticsResponse
@@ -119,6 +119,13 @@
119
119
  "No event reports found. Click New event report to get started.": "",
120
120
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
121
121
  "New event report": "",
122
+ "Open an event visualization": "",
123
+ "Loading event visualizations": "",
124
+ "Couldn't load event visualizations": "",
125
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
126
+ "No event visualizations found. Click New event visualization to get started.": "",
127
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
128
+ "New event visualization": "",
122
129
  "Options": "الخيارات",
123
130
  "Hide": "إخفاء",
124
131
  "Update": "تحديث",
@@ -119,6 +119,13 @@
119
119
  "No event reports found. Click New event report to get started.": "",
120
120
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
121
121
  "New event report": "",
122
+ "Open an event visualization": "",
123
+ "Loading event visualizations": "",
124
+ "Couldn't load event visualizations": "",
125
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
126
+ "No event visualizations found. Click New event visualization to get started.": "",
127
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
128
+ "New event visualization": "",
122
129
  "Options": "",
123
130
  "Hide": "",
124
131
  "Update": "",
@@ -119,6 +119,13 @@
119
119
  "No event reports found. Click New event report to get started.": "",
120
120
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
121
121
  "New event report": "",
122
+ "Open an event visualization": "",
123
+ "Loading event visualizations": "",
124
+ "Couldn't load event visualizations": "",
125
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
126
+ "No event visualizations found. Click New event visualization to get started.": "",
127
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
128
+ "New event visualization": "",
122
129
  "Options": "الخيارات",
123
130
  "Hide": "إخفاء",
124
131
  "Update": "تحديث",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "",
119
126
  "Hide": "شاردنەوە",
120
127
  "Update": "نوێ کردنەوە",
@@ -117,6 +117,13 @@
117
117
  "No event reports found. Click New event report to get started.": "Nebyly nalezeny žádné zprávy o událostech. Začněte kliknutím na Nový přehled událostí.",
118
118
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "Nebyly nalezeny žádné zprávy o událostech. Zkuste upravit možnosti vyhledávání nebo filtrování, abyste našli to, co hledáte.",
119
119
  "New event report": "Nová zpráva o události",
120
+ "Open an event visualization": "",
121
+ "Loading event visualizations": "",
122
+ "Couldn't load event visualizations": "",
123
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
124
+ "No event visualizations found. Click New event visualization to get started.": "",
125
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
126
+ "New event visualization": "",
120
127
  "Options": "Možnosti",
121
128
  "Hide": "Skrýt",
122
129
  "Update": "Aktualizovat",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "",
119
126
  "Hide": "",
120
127
  "Update": "Update",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Opciones",
119
126
  "Hide": "Ocultar",
120
127
  "Update": "Actualizar",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Options",
119
126
  "Hide": "Masquer",
120
127
  "Update": "Mettre à jour",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Opsi",
118
125
  "Hide": "Sembunyikan",
119
126
  "Update": "Perbarui",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "",
118
125
  "Hide": "",
119
126
  "Update": "ធ្វើ​បច្ចុប្បន្នភាព",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "ຈັດການ",
118
125
  "Hide": "ເຊື່ອງ",
119
126
  "Update": "ປັບປຸງ",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "",
118
125
  "Hide": "",
119
126
  "Update": "‌နောက်ဆုံးသတင်းကိုရစေခြင်း",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Alternativ",
119
126
  "Hide": "Skjul",
120
127
  "Update": "Oppdater",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "",
119
126
  "Hide": "",
120
127
  "Update": "Bijwerken",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "گزینه‌ها",
119
126
  "Hide": "مخفی کردن",
120
127
  "Update": "تجدید",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "ګزینه",
119
126
  "Hide": "پټ یې کړئ",
120
127
  "Update": "تجدید یا نوي یې کړئ",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Opções",
119
126
  "Hide": "Esconder",
120
127
  "Update": "Actualizar",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Opções",
119
126
  "Hide": "",
120
127
  "Update": "Actualizar",
@@ -117,6 +117,13 @@
117
117
  "No event reports found. Click New event report to get started.": "",
118
118
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
119
119
  "New event report": "",
120
+ "Open an event visualization": "",
121
+ "Loading event visualizations": "",
122
+ "Couldn't load event visualizations": "",
123
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
124
+ "No event visualizations found. Click New event visualization to get started.": "",
125
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
126
+ "New event visualization": "",
120
127
  "Options": "Параметры",
121
128
  "Hide": "Скрыть",
122
129
  "Update": "Обновить",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Alternativ",
119
126
  "Hide": "",
120
127
  "Update": "Uppdatera",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Opsoens",
118
125
  "Hide": "Subar",
119
126
  "Update": "Atualiza",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "Имконот",
119
126
  "Hide": "Пинҳон кардан",
120
127
  "Update": "Навсозӣ",
@@ -117,6 +117,13 @@
117
117
  "No event reports found. Click New event report to get started.": "",
118
118
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
119
119
  "New event report": "",
120
+ "Open an event visualization": "",
121
+ "Loading event visualizations": "",
122
+ "Couldn't load event visualizations": "",
123
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
124
+ "No event visualizations found. Click New event visualization to get started.": "",
125
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
126
+ "New event visualization": "",
120
127
  "Options": "Опції",
121
128
  "Hide": "Сховати",
122
129
  "Update": "Оновити",
@@ -115,6 +115,13 @@
115
115
  "No event reports found. Click New event report to get started.": "",
116
116
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
117
117
  "New event report": "",
118
+ "Open an event visualization": "",
119
+ "Loading event visualizations": "",
120
+ "Couldn't load event visualizations": "",
121
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
122
+ "No event visualizations found. Click New event visualization to get started.": "",
123
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
124
+ "New event visualization": "",
118
125
  "Options": "اختیارات",
119
126
  "Hide": "چھپائیں",
120
127
  "Update": "اپڈیٹ",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Вариант",
118
125
  "Hide": "Беркитиш",
119
126
  "Update": "Янгилаш",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Вариант",
118
125
  "Hide": "Berkitish",
119
126
  "Update": "Янгилаш",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "Tùy chọn",
118
125
  "Hide": "Ẩn",
119
126
  "Update": "Cập nhật",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "未找到事件报告。单击新建事件报告开始。",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "未找到事件报告。尝试调整您的搜索或过滤选项以找到您要查找的内容。",
116
116
  "New event report": "新建事件报告",
117
+ "Open an event visualization": "打开事件可视化",
118
+ "Loading event visualizations": "加载事件可视化",
119
+ "Couldn't load event visualizations": "无法加载事件可视化应用",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "加载事件可视化时出现问题。重试或联系您的系统管理员。",
121
+ "No event visualizations found. Click New event visualization to get started.": "未找到事件可视化。单击新建事件可视化开始。",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "未找到事件可视化。尝试调整您的搜索或过滤选项以找到您要查找的内容。",
123
+ "New event visualization": "新的事件可视化",
117
124
  "Options": "选项",
118
125
  "Hide": "隐藏",
119
126
  "Update": "更新",
@@ -224,7 +231,7 @@
224
231
  "Choose a locale to translate from the menu above": "从上面的菜单中选择要翻译的语言环境",
225
232
  "Translate: {{objectName}}": "翻译:{{objectName}}",
226
233
  "Save translations": "保存翻译",
227
- "Could not load translations": "",
234
+ "Could not load translations": "无法加载翻译",
228
235
  "Retry": "重试",
229
236
  "Series": "系列",
230
237
  "Category": "分类",
@@ -114,6 +114,13 @@
114
114
  "No event reports found. Click New event report to get started.": "",
115
115
  "No event reports found. Try adjusting your search or filter options to find what you're looking for.": "",
116
116
  "New event report": "",
117
+ "Open an event visualization": "",
118
+ "Loading event visualizations": "",
119
+ "Couldn't load event visualizations": "",
120
+ "There was a problem loading event visualizations. Try again or contact your system administrator.": "",
121
+ "No event visualizations found. Click New event visualization to get started.": "",
122
+ "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
123
+ "New event visualization": "",
117
124
  "Options": "选项",
118
125
  "Hide": "隐藏",
119
126
  "Update": "更新",
@@ -1,6 +1,6 @@
1
1
  import { AXIS_ID_COLUMNS, AXIS_ID_ROWS, AXIS_ID_FILTERS } from '../layout/axis.js';
2
2
  import { DIMENSION_ID_PERIOD, DIMENSION_ID_DATA, DIMENSION_ID_ORGUNIT } from '../predefinedDimensions.js';
3
- import { VIS_TYPE_COLUMN, VIS_TYPE_STACKED_COLUMN, VIS_TYPE_BAR, VIS_TYPE_STACKED_BAR, VIS_TYPE_LINE, VIS_TYPE_AREA, VIS_TYPE_STACKED_AREA, VIS_TYPE_RADAR, VIS_TYPE_GAUGE, VIS_TYPE_PIE, VIS_TYPE_SINGLE_VALUE, VIS_TYPE_YEAR_OVER_YEAR_LINE, VIS_TYPE_YEAR_OVER_YEAR_COLUMN, VIS_TYPE_PIVOT_TABLE, VIS_TYPE_SCATTER } from '../visTypes.js';
3
+ import { VIS_TYPE_COLUMN, VIS_TYPE_STACKED_COLUMN, VIS_TYPE_BAR, VIS_TYPE_STACKED_BAR, VIS_TYPE_LINE, VIS_TYPE_AREA, VIS_TYPE_STACKED_AREA, VIS_TYPE_RADAR, VIS_TYPE_GAUGE, VIS_TYPE_PIE, VIS_TYPE_SINGLE_VALUE, VIS_TYPE_YEAR_OVER_YEAR_LINE, VIS_TYPE_YEAR_OVER_YEAR_COLUMN, VIS_TYPE_PIVOT_TABLE, VIS_TYPE_SCATTER, VIS_TYPE_LINE_LIST } from '../visTypes.js';
4
4
  const RULE_PROP_AVAILABLE_AXES = 'availableAxes',
5
5
  RULE_PROP_MAX_DIMS_PER_AXIS = 'maxNumberOfDimsPerAxis',
6
6
  RULE_PROP_MIN_DIMS_PER_AXIS = 'minNumberOfDimsPerAxis',
@@ -79,6 +79,9 @@ const scatterRules = {
79
79
  [DIMENSION_ID_ORGUNIT]: AXIS_ID_ROWS
80
80
  }
81
81
  };
82
+ const lineListRules = {
83
+ [RULE_PROP_AVAILABLE_AXES]: [AXIS_ID_COLUMNS, AXIS_ID_FILTERS]
84
+ };
82
85
  const visTypeToRules = {
83
86
  [VIS_TYPE_COLUMN]: defaultRules,
84
87
  [VIS_TYPE_STACKED_COLUMN]: defaultRules,
@@ -94,7 +97,8 @@ const visTypeToRules = {
94
97
  [VIS_TYPE_YEAR_OVER_YEAR_LINE]: yearOverYearRules,
95
98
  [VIS_TYPE_YEAR_OVER_YEAR_COLUMN]: yearOverYearRules,
96
99
  [VIS_TYPE_PIVOT_TABLE]: pivotTableRules,
97
- [VIS_TYPE_SCATTER]: scatterRules
100
+ [VIS_TYPE_SCATTER]: scatterRules,
101
+ [VIS_TYPE_LINE_LIST]: lineListRules
98
102
  };
99
103
 
100
104
  const getRulesByVisType = visType => {
@@ -16,6 +16,7 @@ export const VIS_TYPE_YEAR_OVER_YEAR_COLUMN = 'YEAR_OVER_YEAR_COLUMN';
16
16
  export const VIS_TYPE_SINGLE_VALUE = 'SINGLE_VALUE';
17
17
  export const VIS_TYPE_PIVOT_TABLE = 'PIVOT_TABLE';
18
18
  export const VIS_TYPE_SCATTER = 'SCATTER';
19
+ export const VIS_TYPE_LINE_LIST = 'LINE_LIST';
19
20
  export const visTypeDisplayNames = {
20
21
  [VIS_TYPE_PIVOT_TABLE]: i18n.t('Pivot table'),
21
22
  [VIS_TYPE_COLUMN]: i18n.t('Column'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/analytics",
3
- "version": "21.4.0",
3
+ "version": "21.5.1",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {