@dhis2/analytics 26.9.5 → 26.10.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 (59) hide show
  1. package/build/cjs/__demo__/DataDimension.stories.js +53 -0
  2. package/build/cjs/api/dimensions.js +1 -1
  3. package/build/cjs/api/expression.js +20 -10
  4. package/build/cjs/components/DataDimension/Calculation/CalculationModal.js +1 -1
  5. package/build/cjs/components/DataDimension/DataDimension.js +4 -1
  6. package/build/cjs/components/DataDimension/Info/CalculationInfo.js +106 -0
  7. package/build/cjs/components/DataDimension/Info/DataElementInfo.js +135 -0
  8. package/build/cjs/components/DataDimension/Info/DataElementOperandInfo.js +188 -0
  9. package/build/cjs/components/DataDimension/Info/DataSetInfo.js +115 -0
  10. package/build/cjs/components/DataDimension/Info/EventDataItemInfo.js +111 -0
  11. package/build/cjs/components/DataDimension/Info/IndicatorInfo.js +179 -0
  12. package/build/cjs/components/DataDimension/Info/InfoPopover.js +58 -0
  13. package/build/cjs/components/DataDimension/Info/InfoTable.js +219 -0
  14. package/build/cjs/components/DataDimension/Info/ProgramIndicatorInfo.js +191 -0
  15. package/build/cjs/components/DataDimension/Info/styles/InfoPopover.style.js +10 -0
  16. package/build/cjs/components/DataDimension/ItemSelector.js +22 -5
  17. package/build/cjs/components/DataDimension/TransferOption.js +117 -0
  18. package/build/cjs/components/DataDimension/styles/TransferOption.style.js +10 -0
  19. package/build/cjs/components/DimensionsPanel/List/__tests__/__snapshots__/DimensionItem.spec.js.snap +0 -20
  20. package/build/cjs/components/OrgUnitDimension/__tests__/__snapshots__/OrgUnitDimension.spec.js.snap +0 -5
  21. package/build/cjs/components/PeriodDimension/__tests__/__snapshots__/FixedPeriodSingleSelect.spec.js.snap +0 -12
  22. package/build/cjs/components/PeriodDimension/__tests__/__snapshots__/PeriodSelector.spec.js.snap +3 -10
  23. package/build/cjs/components/styles/DimensionSelector.style.js +2 -2
  24. package/build/cjs/index.js +66 -10
  25. package/build/cjs/locales/en/translations.json +73 -9
  26. package/build/cjs/locales/vi/translations.json +202 -202
  27. package/build/cjs/modules/dimensionListItem.js +3 -3
  28. package/build/cjs/modules/dimensionSelectorHelper.js +2 -2
  29. package/build/cjs/modules/valueTypes.js +50 -11
  30. package/build/es/__demo__/DataDimension.stories.js +42 -0
  31. package/build/es/api/dimensions.js +1 -1
  32. package/build/es/api/expression.js +19 -9
  33. package/build/es/components/DataDimension/Calculation/CalculationModal.js +2 -2
  34. package/build/es/components/DataDimension/DataDimension.js +4 -1
  35. package/build/es/components/DataDimension/Info/CalculationInfo.js +96 -0
  36. package/build/es/components/DataDimension/Info/DataElementInfo.js +127 -0
  37. package/build/es/components/DataDimension/Info/DataElementOperandInfo.js +178 -0
  38. package/build/es/components/DataDimension/Info/DataSetInfo.js +107 -0
  39. package/build/es/components/DataDimension/Info/EventDataItemInfo.js +103 -0
  40. package/build/es/components/DataDimension/Info/IndicatorInfo.js +169 -0
  41. package/build/es/components/DataDimension/Info/InfoPopover.js +54 -0
  42. package/build/es/components/DataDimension/Info/InfoTable.js +205 -0
  43. package/build/es/components/DataDimension/Info/ProgramIndicatorInfo.js +181 -0
  44. package/build/es/components/DataDimension/Info/styles/InfoPopover.style.js +4 -0
  45. package/build/es/components/DataDimension/ItemSelector.js +24 -7
  46. package/build/es/components/DataDimension/TransferOption.js +109 -0
  47. package/build/es/components/DataDimension/styles/TransferOption.style.js +4 -0
  48. package/build/es/components/DimensionsPanel/List/__tests__/__snapshots__/DimensionItem.spec.js.snap +0 -20
  49. package/build/es/components/OrgUnitDimension/__tests__/__snapshots__/OrgUnitDimension.spec.js.snap +0 -5
  50. package/build/es/components/PeriodDimension/__tests__/__snapshots__/FixedPeriodSingleSelect.spec.js.snap +0 -12
  51. package/build/es/components/PeriodDimension/__tests__/__snapshots__/PeriodSelector.spec.js.snap +3 -10
  52. package/build/es/components/styles/DimensionSelector.style.js +2 -2
  53. package/build/es/index.js +1 -1
  54. package/build/es/locales/en/translations.json +73 -9
  55. package/build/es/locales/vi/translations.json +202 -202
  56. package/build/es/modules/dimensionListItem.js +1 -1
  57. package/build/es/modules/dimensionSelectorHelper.js +2 -2
  58. package/build/es/modules/valueTypes.js +48 -10
  59. package/package.json +5 -5
@@ -50,6 +50,54 @@
50
50
  "All types": "All types",
51
51
  "Disaggregation": "Disaggregation",
52
52
  "No data": "No data",
53
+ "Expression description": "Expression description",
54
+ "Error loading value": "Error loading value",
55
+ "None": "None",
56
+ "Data set(s)": "Data set(s)",
57
+ "Zero is significant": "Zero is significant",
58
+ "True": "True",
59
+ "False": "False",
60
+ "Value type": "Value type",
61
+ "Aggregation type": "Aggregation type",
62
+ "Category combo": "Category combo",
63
+ "Option set": "Option set",
64
+ "Group membership": "Group membership",
65
+ "Legend set(s)": "Legend set(s)",
66
+ "Category option name": "Category option name",
67
+ "Category combo name": "Category combo name",
68
+ "Categories name": "Categories name",
69
+ "Period type": "Period type",
70
+ "Indicators": "Indicators",
71
+ "Expiry days": "Expiry days",
72
+ "Type": "Type",
73
+ "Data element": "Data element",
74
+ "Tracked entity attribute": "Tracked entity attribute",
75
+ "Numerator description": "Numerator description",
76
+ "Numerator expression": "Numerator expression",
77
+ "Denominator description": "Denominator description",
78
+ "Denominator expression": "Denominator expression",
79
+ "Annualized": "Annualized",
80
+ "Yes": "Yes",
81
+ "No": "No",
82
+ "Indicator type": "Indicator type",
83
+ "Decimals in output": "Decimals in output",
84
+ "There was a problem loading information for this data item.": "There was a problem loading information for this data item.",
85
+ "Name": "Name",
86
+ "Description": "Description",
87
+ "Code": "Code",
88
+ "ID": "ID",
89
+ "Last updated date": "Last updated date",
90
+ "Created date": "Created date",
91
+ "Created by": "Created by",
92
+ "Custom": "Custom",
93
+ "Program": "Program",
94
+ "Analytics type": "Analytics type",
95
+ "Enrollment": "Enrollment",
96
+ "Event": "Event",
97
+ "Analytics period boundaries": "Analytics period boundaries",
98
+ "{{ offsetPeriodType }} × {{ offsetPeriods }}": "{{ offsetPeriodType }} × {{ offsetPeriods }}",
99
+ "Expression": "Expression",
100
+ "Filter": "Filter",
53
101
  "Search by data item name": "Search by data item name",
54
102
  "No items selected": "No items selected",
55
103
  "Selected Items": "Selected Items",
@@ -100,8 +148,6 @@
100
148
  "Open in this app": "Open in this app",
101
149
  "Close": "Close",
102
150
  "Rename {{fileType}}": "Rename {{fileType}}",
103
- "Name": "Name",
104
- "Description": "Description",
105
151
  "Rename": "Rename",
106
152
  "{{- objectName}} (copy)": "{{- objectName}} (copy)",
107
153
  "Save {{fileType}} as": "Save {{fileType}} as",
@@ -137,7 +183,6 @@
137
183
  "Could not update interpretation": "Could not update interpretation",
138
184
  "Enter interpretation text": "Enter interpretation text",
139
185
  "Not available offline": "Not available offline",
140
- "Created by": "Created by",
141
186
  "Anyone": "Anyone",
142
187
  "Only you": "Only you",
143
188
  "Others": "Others",
@@ -145,7 +190,6 @@
145
190
  "Filter by name": "Filter by name",
146
191
  "Created": "Created",
147
192
  "Last updated": "Last updated",
148
- "Type": "Type",
149
193
  "Clear filters": "Clear filters",
150
194
  "{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}",
151
195
  "Open": "Open",
@@ -191,7 +235,6 @@
191
235
  "Select a level": "Select a level",
192
236
  "Select a group": "Select a group",
193
237
  "Deselect all": "Deselect all",
194
- "Period type": "Period type",
195
238
  "Year": "Year",
196
239
  "Select year": "Select year",
197
240
  "Period": "Period",
@@ -291,7 +334,6 @@
291
334
  "No results found": "No results found",
292
335
  "Series": "Series",
293
336
  "Category": "Category",
294
- "Filter": "Filter",
295
337
  "Columns": "Columns",
296
338
  "Rows": "Rows",
297
339
  "Points": "Points",
@@ -300,16 +342,13 @@
300
342
  "Actual reports": "Actual reports",
301
343
  "Actual reports on time": "Actual reports on time",
302
344
  "Expected reports": "Expected reports",
303
- "Program": "Program",
304
345
  "Select a program": "Select a program",
305
- "Indicators": "Indicators",
306
346
  "Indicator group": "Indicator group",
307
347
  "All groups": "All groups",
308
348
  "Indicator": "Indicator",
309
349
  "No indicator groups found": "No indicator groups found",
310
350
  "Loading indicator groups": "Loading indicator groups",
311
351
  "Data element group": "Data element group",
312
- "Data element": "Data element",
313
352
  "No data element groups found": "No data element groups found",
314
353
  "Loading data element groups": "Loading data element groups",
315
354
  "Data sets": "Data sets",
@@ -362,6 +401,31 @@
362
401
  "Data": "Data",
363
402
  "Organisation unit": "Organisation unit",
364
403
  "Assigned Categories": "Assigned Categories",
404
+ "Text": "Text",
405
+ "Long text": "Long text",
406
+ "Multi text": "Multi text",
407
+ "Letter": "Letter",
408
+ "Phone number": "Phone number",
409
+ "Email": "Email",
410
+ "Yes/No": "Yes/No",
411
+ "Yes Only": "Yes Only",
412
+ "Date": "Date",
413
+ "Date & Time": "Date & Time",
414
+ "Time": "Time",
415
+ "Unit interval": "Unit interval",
416
+ "Percentage": "Percentage",
417
+ "Integer": "Integer",
418
+ "Positive Integer": "Positive Integer",
419
+ "Negative Integer": "Negative Integer",
420
+ "Positive or Zero Integer": "Positive or Zero Integer",
421
+ "Tracker Associate": "Tracker Associate",
422
+ "Username": "Username",
423
+ "Coordinate": "Coordinate",
424
+ "Reference": "Reference",
425
+ "Age": "Age",
426
+ "URL": "URL",
427
+ "Image": "Image",
428
+ "GeoJSON": "GeoJSON",
365
429
  "Pivot table": "Pivot table",
366
430
  "Area": "Area",
367
431
  "Stacked area": "Stacked area",