@dhis2/analytics 28.0.2 → 28.0.4

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 (452) hide show
  1. package/build/cjs/__demo__/DataDimension.stories.js +3 -4
  2. package/build/cjs/__demo__/Filter.stories.js +1 -2
  3. package/build/cjs/__demo__/FixedPeriodSelect.stories.js +1 -2
  4. package/build/cjs/__demo__/OpenFileDialog.stories.js +2 -2
  5. package/build/cjs/__demo__/OrgUnitDimension.stories.js +3 -4
  6. package/build/cjs/__demo__/PeriodDimension.stories.js +2 -2
  7. package/build/cjs/__demo__/PivotTable.stories.js +166 -224
  8. package/build/cjs/__demo__/ScatterPlotPdfExport.stories.js +1 -2
  9. package/build/cjs/__demo__/SingleValue.stories.js +1 -2
  10. package/build/cjs/__demo__/Toolbar.stories.js +1 -2
  11. package/build/cjs/api/__tests__/dimensions.spec.js +1 -2
  12. package/build/cjs/api/analytics/Analytics.js +8 -9
  13. package/build/cjs/api/analytics/AnalyticsBase.js +58 -77
  14. package/build/cjs/api/analytics/AnalyticsRequest.js +1 -2
  15. package/build/cjs/api/analytics/AnalyticsRequestBase.js +18 -21
  16. package/build/cjs/api/analytics/AnalyticsRequestPropertiesMixin.js +19 -38
  17. package/build/cjs/api/analytics/AnalyticsResponseHeader.js +5 -7
  18. package/build/cjs/api/analytics/__tests__/AnalyticsBase.spec.js +9 -12
  19. package/build/cjs/api/analytics/__tests__/AnalyticsRequest.spec.js +8 -2
  20. package/build/cjs/api/analytics/utils.js +11 -17
  21. package/build/cjs/api/dimensions.js +119 -148
  22. package/build/cjs/api/expression.js +39 -60
  23. package/build/cjs/api/organisationUnits.js +23 -35
  24. package/build/cjs/components/AboutAOUnit/AboutAOUnit.js +12 -20
  25. package/build/cjs/components/CachedDataQueryProvider.js +7 -9
  26. package/build/cjs/components/DashboardPluginWrapper/DashboardPluginWrapper.js +18 -22
  27. package/build/cjs/components/DataDimension/Calculation/CalculationModal.js +44 -61
  28. package/build/cjs/components/DataDimension/Calculation/DataElementOption.js +5 -6
  29. package/build/cjs/components/DataDimension/Calculation/DataElementSelector.js +29 -38
  30. package/build/cjs/components/DataDimension/Calculation/DndContext.js +29 -37
  31. package/build/cjs/components/DataDimension/Calculation/DraggingItem.js +5 -6
  32. package/build/cjs/components/DataDimension/Calculation/DropZone.js +4 -5
  33. package/build/cjs/components/DataDimension/Calculation/FormulaField.js +29 -32
  34. package/build/cjs/components/DataDimension/Calculation/FormulaItem.js +14 -16
  35. package/build/cjs/components/DataDimension/Calculation/MathOperatorSelector.js +23 -29
  36. package/build/cjs/components/DataDimension/Calculation/Operator.js +6 -7
  37. package/build/cjs/components/DataDimension/DataDimension.js +20 -32
  38. package/build/cjs/components/DataDimension/Info/CalculationInfo.js +14 -22
  39. package/build/cjs/components/DataDimension/Info/DataElementInfo.js +23 -36
  40. package/build/cjs/components/DataDimension/Info/DataElementOperandInfo.js +30 -44
  41. package/build/cjs/components/DataDimension/Info/DataSetInfo.js +26 -39
  42. package/build/cjs/components/DataDimension/Info/EventDataItemInfo.js +21 -34
  43. package/build/cjs/components/DataDimension/Info/IndicatorInfo.js +21 -32
  44. package/build/cjs/components/DataDimension/Info/InfoPopover.js +6 -7
  45. package/build/cjs/components/DataDimension/Info/InfoTable.js +39 -52
  46. package/build/cjs/components/DataDimension/Info/OptionInfo.js +13 -20
  47. package/build/cjs/components/DataDimension/Info/ProgramIndicatorInfo.js +46 -58
  48. package/build/cjs/components/DataDimension/ItemOptionsSelector/ItemOptionsSelector.js +22 -32
  49. package/build/cjs/components/DataDimension/ItemSelector/DataTypeSelector.js +6 -7
  50. package/build/cjs/components/DataDimension/ItemSelector/DetailSelector.js +5 -6
  51. package/build/cjs/components/DataDimension/ItemSelector/GroupSelector.js +10 -12
  52. package/build/cjs/components/DataDimension/ItemSelector/ItemSelector.js +86 -104
  53. package/build/cjs/components/DataDimension/ItemSelector/MetricSelector.js +5 -6
  54. package/build/cjs/components/DataDimension/SourceEmptyPlaceholder.js +10 -13
  55. package/build/cjs/components/DataDimension/TransferOption.js +35 -39
  56. package/build/cjs/components/DimensionMenu.js +13 -14
  57. package/build/cjs/components/DimensionsPanel/DimensionsPanel.js +8 -9
  58. package/build/cjs/components/DimensionsPanel/List/DimensionItem.js +12 -13
  59. package/build/cjs/components/DimensionsPanel/List/DimensionList.js +9 -10
  60. package/build/cjs/components/DimensionsPanel/List/OptionsButton.js +8 -11
  61. package/build/cjs/components/DimensionsPanel/List/RecommendedIcon.js +10 -13
  62. package/build/cjs/components/DynamicDimension/DynamicDimension.js +9 -13
  63. package/build/cjs/components/DynamicDimension/ItemSelector.js +25 -38
  64. package/build/cjs/components/FileMenu/DeleteDialog.js +11 -16
  65. package/build/cjs/components/FileMenu/FileMenu.js +19 -30
  66. package/build/cjs/components/FileMenu/GetLinkDialog.js +7 -7
  67. package/build/cjs/components/FileMenu/RenameDialog.js +13 -21
  68. package/build/cjs/components/FileMenu/SaveAsDialog.js +13 -21
  69. package/build/cjs/components/FileMenu/__tests__/FileMenu.spec.js +6 -2
  70. package/build/cjs/components/FileMenu/__tests__/GetLinkDialog.spec.js +7 -8
  71. package/build/cjs/components/FileMenu/utils.js +10 -12
  72. package/build/cjs/components/Filter/Filter.js +21 -27
  73. package/build/cjs/components/Interpretations/InterpretationModal/Comment.js +8 -10
  74. package/build/cjs/components/Interpretations/InterpretationModal/CommentAddForm.js +10 -15
  75. package/build/cjs/components/Interpretations/InterpretationModal/CommentDeleteButton.js +10 -15
  76. package/build/cjs/components/Interpretations/InterpretationModal/CommentUpdateForm.js +12 -17
  77. package/build/cjs/components/Interpretations/InterpretationModal/InterpretationModal.js +19 -25
  78. package/build/cjs/components/Interpretations/InterpretationModal/InterpretationThread.js +12 -14
  79. package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationForm.js +12 -17
  80. package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationList.js +10 -11
  81. package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationsUnit.js +23 -33
  82. package/build/cjs/components/Interpretations/common/Interpretation/Interpretation.js +13 -15
  83. package/build/cjs/components/Interpretations/common/Interpretation/InterpretationDeleteButton.js +7 -11
  84. package/build/cjs/components/Interpretations/common/Interpretation/InterpretationSharingLink.js +5 -7
  85. package/build/cjs/components/Interpretations/common/Interpretation/InterpretationUpdateForm.js +15 -23
  86. package/build/cjs/components/Interpretations/common/Interpretation/useLike.js +5 -6
  87. package/build/cjs/components/Interpretations/common/Message/Message.js +6 -7
  88. package/build/cjs/components/Interpretations/common/Message/MessageButtonStrip.js +8 -11
  89. package/build/cjs/components/Interpretations/common/Message/MessageEditorContainer.js +18 -21
  90. package/build/cjs/components/Interpretations/common/Message/MessageIconButton.js +34 -40
  91. package/build/cjs/components/Interpretations/common/Message/MessageInput.js +1 -2
  92. package/build/cjs/components/Interpretations/common/Message/MessageStatsBar.js +8 -11
  93. package/build/cjs/components/LegendKey/LegendKey.js +3 -4
  94. package/build/cjs/components/OfflineTooltip.js +18 -26
  95. package/build/cjs/components/OpenFileDialog/CreatedByFilter.js +20 -26
  96. package/build/cjs/components/OpenFileDialog/CustomSelectOption.js +23 -26
  97. package/build/cjs/components/OpenFileDialog/DateField.js +3 -4
  98. package/build/cjs/components/OpenFileDialog/FileList.js +19 -22
  99. package/build/cjs/components/OpenFileDialog/NameFilter.js +15 -21
  100. package/build/cjs/components/OpenFileDialog/OpenFileDialog.js +36 -45
  101. package/build/cjs/components/OpenFileDialog/PaginationControls.js +22 -28
  102. package/build/cjs/components/OpenFileDialog/VisTypeFilter.js +28 -37
  103. package/build/cjs/components/Options/VisualizationOptions.js +35 -46
  104. package/build/cjs/components/OrgUnitDimension/OrgUnitDimension.js +38 -60
  105. package/build/cjs/components/PeriodDimension/FixedPeriodFilter.js +16 -25
  106. package/build/cjs/components/PeriodDimension/FixedPeriodSelect.js +15 -21
  107. package/build/cjs/components/PeriodDimension/PeriodDimension.js +9 -12
  108. package/build/cjs/components/PeriodDimension/PeriodTransfer.js +49 -63
  109. package/build/cjs/components/PeriodDimension/RelativePeriodFilter.js +24 -30
  110. package/build/cjs/components/PeriodDimension/__tests__/__snapshots__/FixedPeriodSingleSelect.spec.js.snap +0 -1
  111. package/build/cjs/components/PeriodDimension/__tests__/__snapshots__/PeriodDimension.spec.js.snap +0 -1
  112. package/build/cjs/components/PeriodDimension/utils/fixedPeriods.js +6 -7
  113. package/build/cjs/components/PeriodDimension/utils/index.js +1 -5
  114. package/build/cjs/components/PivotTable/PivotTable.js +8 -10
  115. package/build/cjs/components/PivotTable/PivotTableBody.js +20 -29
  116. package/build/cjs/components/PivotTable/PivotTableCell.js +8 -12
  117. package/build/cjs/components/PivotTable/PivotTableClippedAxis.js +14 -17
  118. package/build/cjs/components/PivotTable/PivotTableColumnHeaderCell.js +7 -8
  119. package/build/cjs/components/PivotTable/PivotTableColumnHeaders.js +22 -29
  120. package/build/cjs/components/PivotTable/PivotTableContainer.js +5 -6
  121. package/build/cjs/components/PivotTable/PivotTableDimensionLabelCell.js +4 -5
  122. package/build/cjs/components/PivotTable/PivotTableEmptyCell.js +3 -4
  123. package/build/cjs/components/PivotTable/PivotTableEmptyRow.js +4 -5
  124. package/build/cjs/components/PivotTable/PivotTableEngineContext.js +5 -7
  125. package/build/cjs/components/PivotTable/PivotTableHead.js +13 -16
  126. package/build/cjs/components/PivotTable/PivotTableHeaderCell.js +8 -9
  127. package/build/cjs/components/PivotTable/PivotTableRow.js +20 -27
  128. package/build/cjs/components/PivotTable/PivotTableRowHeaderCell.js +5 -6
  129. package/build/cjs/components/PivotTable/PivotTableSortIcon.js +4 -5
  130. package/build/cjs/components/PivotTable/PivotTableTitleRow.js +19 -24
  131. package/build/cjs/components/PivotTable/PivotTableTitleRows.js +4 -5
  132. package/build/cjs/components/PivotTable/PivotTableValueCell.js +6 -8
  133. package/build/cjs/components/RichText/Editor/Editor.js +70 -85
  134. package/build/cjs/components/RichText/Parser/Parser.js +5 -10
  135. package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuBar.js +20 -24
  136. package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js +8 -13
  137. package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuList.js +9 -17
  138. package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuListItem.js +11 -16
  139. package/build/cjs/components/Toolbar/HoverMenuBar/__tests__/HoverMenuBar.spec.js +4 -5
  140. package/build/cjs/components/Toolbar/HoverMenuBar/__tests__/HoverMenuList.spec.js +13 -11
  141. package/build/cjs/components/Toolbar/InterpretationsAndDetailsToggler.js +15 -21
  142. package/build/cjs/components/Toolbar/Toolbar.js +10 -16
  143. package/build/cjs/components/Toolbar/ToolbarSidebar.js +12 -18
  144. package/build/cjs/components/Toolbar/UpdateButton.js +18 -24
  145. package/build/cjs/components/TransferOption.js +14 -15
  146. package/build/cjs/components/TranslationDialog/TranslationModal/LocalesSelect.js +19 -27
  147. package/build/cjs/components/TranslationDialog/TranslationModal/TranslationForm.js +17 -25
  148. package/build/cjs/components/TranslationDialog/TranslationModal/TranslationModal.js +8 -10
  149. package/build/cjs/components/TranslationDialog/TranslationModal/TranslationModalActions.js +18 -27
  150. package/build/cjs/components/TranslationDialog/TranslationModal/__tests__/TranslationModal.spec.js +52 -0
  151. package/build/cjs/components/TranslationDialog/TranslationModal/useTranslationsResults.js +3 -4
  152. package/build/cjs/components/UserMention/UserList.js +6 -7
  153. package/build/cjs/components/UserMention/UserMentionWrapper.js +13 -20
  154. package/build/cjs/components/UserMention/useUserSearchResults.js +12 -16
  155. package/build/cjs/components/VisTypeIcon.js +5 -6
  156. package/build/cjs/index.js +38 -39
  157. package/build/cjs/locales/ar_IQ/translations.json +20 -11
  158. package/build/cjs/locales/cs/translations.json +2 -0
  159. package/build/cjs/locales/en/translations.json +1 -0
  160. package/build/cjs/locales/es/translations.json +2 -0
  161. package/build/cjs/locales/fr/translations.json +2 -0
  162. package/build/cjs/locales/id/translations.json +20 -11
  163. package/build/cjs/locales/index.js +62 -62
  164. package/build/cjs/locales/lo/translations.json +2 -0
  165. package/build/cjs/locales/nb/translations.json +2 -0
  166. package/build/cjs/locales/prs/translations.json +2 -0
  167. package/build/cjs/locales/ps/translations.json +2 -0
  168. package/build/cjs/locales/pt/translations.json +2 -0
  169. package/build/cjs/locales/pt_BR/translations.json +2 -0
  170. package/build/cjs/locales/ru/translations.json +2 -0
  171. package/build/cjs/locales/si/translations.json +20 -11
  172. package/build/cjs/locales/sv/translations.json +20 -11
  173. package/build/cjs/locales/tet/translations.json +20 -11
  174. package/build/cjs/locales/tg/translations.json +2 -0
  175. package/build/cjs/locales/uk/translations.json +2 -0
  176. package/build/cjs/locales/ur/translations.json +2 -0
  177. package/build/cjs/locales/uz_UZ_Cyrl/translations.json +2 -0
  178. package/build/cjs/locales/uz_UZ_Latn/translations.json +4 -2
  179. package/build/cjs/locales/vi/translations.json +2 -0
  180. package/build/cjs/locales/zh/translations.json +2 -0
  181. package/build/cjs/locales/zh_CN/translations.json +17 -15
  182. package/build/cjs/modules/__tests__/expressions.spec.js +4 -5
  183. package/build/cjs/modules/__tests__/isNumeric.spec.js +33 -0
  184. package/build/cjs/modules/dimensionListItem.js +4 -5
  185. package/build/cjs/modules/expressions.js +3 -9
  186. package/build/cjs/modules/getPWAInstallationStatus.js +7 -9
  187. package/build/cjs/modules/layout/dimensionCreate.js +1 -3
  188. package/build/cjs/modules/layout/dimensionIsValid.js +3 -4
  189. package/build/cjs/modules/legends.js +5 -6
  190. package/build/cjs/modules/outliers/index.js +5 -6
  191. package/build/cjs/modules/outliers/iqr.js +4 -6
  192. package/build/cjs/modules/outliers/modZScore.js +6 -14
  193. package/build/cjs/modules/outliers/zScore.js +3 -4
  194. package/build/cjs/modules/pivotTable/AdaptiveClippingController.js +12 -16
  195. package/build/cjs/modules/pivotTable/PivotTableEngine.js +48 -59
  196. package/build/cjs/modules/pivotTable/clipAxis.js +7 -8
  197. package/build/cjs/modules/pivotTable/clipPartitionedAxis.js +9 -10
  198. package/build/cjs/modules/pivotTable/getHeaderForDisplay.js +8 -9
  199. package/build/cjs/modules/pivotTable/measureText.js +7 -9
  200. package/build/cjs/modules/pivotTable/useParentSize.js +1 -2
  201. package/build/cjs/modules/pivotTable/useScrollPosition.js +1 -2
  202. package/build/cjs/modules/pivotTable/useTableClipping.js +6 -7
  203. package/build/cjs/modules/relativeItems/index.js +1 -4
  204. package/build/cjs/modules/renderValue.js +1 -2
  205. package/build/cjs/modules/utils.js +11 -2
  206. package/build/cjs/visualizations/config/adapters/dhis_highcharts/addTrendLines.js +3 -8
  207. package/build/cjs/visualizations/config/adapters/dhis_highcharts/axis.js +7 -10
  208. package/build/cjs/visualizations/config/adapters/dhis_highcharts/customAxes.js +2 -5
  209. package/build/cjs/visualizations/config/adapters/dhis_highcharts/customSVGOptions/index.js +7 -8
  210. package/build/cjs/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/getSingleValueBackgroundColor.js +1 -2
  211. package/build/cjs/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/index.js +6 -7
  212. package/build/cjs/visualizations/config/adapters/dhis_highcharts/getFormatter.js +2 -3
  213. package/build/cjs/visualizations/config/adapters/dhis_highcharts/getSteps.js +2 -3
  214. package/build/cjs/visualizations/config/adapters/dhis_highcharts/getTrimmedConfig.js +3 -4
  215. package/build/cjs/visualizations/config/adapters/dhis_highcharts/index.js +8 -10
  216. package/build/cjs/visualizations/config/adapters/dhis_highcharts/legend.js +6 -7
  217. package/build/cjs/visualizations/config/adapters/dhis_highcharts/legendSet.js +22 -26
  218. package/build/cjs/visualizations/config/adapters/dhis_highcharts/plotOptions.js +8 -9
  219. package/build/cjs/visualizations/config/adapters/dhis_highcharts/series/index.js +18 -20
  220. package/build/cjs/visualizations/config/adapters/dhis_highcharts/series/pie.js +1 -4
  221. package/build/cjs/visualizations/config/adapters/dhis_highcharts/subtitle/index.js +1 -2
  222. package/build/cjs/visualizations/config/adapters/dhis_highcharts/yAxis/gauge.js +1 -3
  223. package/build/cjs/visualizations/config/index.js +11 -12
  224. package/build/cjs/visualizations/config/validators/dhis/index.js +3 -4
  225. package/build/cjs/visualizations/index.js +1 -4
  226. package/build/cjs/visualizations/store/adapters/dhis_highcharts/index.js +7 -8
  227. package/build/cjs/visualizations/store/index.js +15 -17
  228. package/build/cjs/visualizations/store/validators/dhis/index.js +5 -6
  229. package/build/cjs/visualizations/util/getFilterText.js +3 -6
  230. package/build/cjs/visualizations/util/shouldUseContrastColor.js +1 -2
  231. package/build/es/__demo__/DataDimension.stories.js +2 -2
  232. package/build/es/__demo__/OpenFileDialog.stories.js +2 -2
  233. package/build/es/__demo__/OrgUnitDimension.stories.js +2 -2
  234. package/build/es/__demo__/PeriodDimension.stories.js +2 -2
  235. package/build/es/__demo__/PivotTable.stories.js +165 -222
  236. package/build/es/api/__tests__/dimensions.spec.js +1 -2
  237. package/build/es/api/analytics/Analytics.js +8 -9
  238. package/build/es/api/analytics/AnalyticsBase.js +58 -77
  239. package/build/es/api/analytics/AnalyticsRequest.js +1 -2
  240. package/build/es/api/analytics/AnalyticsRequestBase.js +18 -21
  241. package/build/es/api/analytics/AnalyticsRequestPropertiesMixin.js +19 -38
  242. package/build/es/api/analytics/AnalyticsResponseHeader.js +5 -7
  243. package/build/es/api/analytics/__tests__/AnalyticsBase.spec.js +8 -10
  244. package/build/es/api/analytics/__tests__/AnalyticsRequest.spec.js +8 -2
  245. package/build/es/api/analytics/utils.js +11 -17
  246. package/build/es/api/dimensions.js +119 -148
  247. package/build/es/api/expression.js +39 -60
  248. package/build/es/api/organisationUnits.js +23 -35
  249. package/build/es/components/AboutAOUnit/AboutAOUnit.js +11 -18
  250. package/build/es/components/CachedDataQueryProvider.js +6 -7
  251. package/build/es/components/DashboardPluginWrapper/DashboardPluginWrapper.js +17 -20
  252. package/build/es/components/DataDimension/Calculation/CalculationModal.js +43 -59
  253. package/build/es/components/DataDimension/Calculation/DataElementOption.js +5 -6
  254. package/build/es/components/DataDimension/Calculation/DataElementSelector.js +28 -36
  255. package/build/es/components/DataDimension/Calculation/DndContext.js +28 -35
  256. package/build/es/components/DataDimension/Calculation/DraggingItem.js +5 -6
  257. package/build/es/components/DataDimension/Calculation/DropZone.js +4 -5
  258. package/build/es/components/DataDimension/Calculation/FormulaField.js +29 -32
  259. package/build/es/components/DataDimension/Calculation/FormulaItem.js +13 -14
  260. package/build/es/components/DataDimension/Calculation/MathOperatorSelector.js +23 -29
  261. package/build/es/components/DataDimension/Calculation/Operator.js +6 -7
  262. package/build/es/components/DataDimension/DataDimension.js +19 -30
  263. package/build/es/components/DataDimension/Info/CalculationInfo.js +13 -20
  264. package/build/es/components/DataDimension/Info/DataElementInfo.js +23 -36
  265. package/build/es/components/DataDimension/Info/DataElementOperandInfo.js +29 -42
  266. package/build/es/components/DataDimension/Info/DataSetInfo.js +26 -39
  267. package/build/es/components/DataDimension/Info/EventDataItemInfo.js +21 -34
  268. package/build/es/components/DataDimension/Info/IndicatorInfo.js +20 -30
  269. package/build/es/components/DataDimension/Info/InfoPopover.js +6 -7
  270. package/build/es/components/DataDimension/Info/InfoTable.js +39 -52
  271. package/build/es/components/DataDimension/Info/OptionInfo.js +13 -20
  272. package/build/es/components/DataDimension/Info/ProgramIndicatorInfo.js +45 -56
  273. package/build/es/components/DataDimension/ItemOptionsSelector/ItemOptionsSelector.js +21 -30
  274. package/build/es/components/DataDimension/ItemSelector/DataTypeSelector.js +6 -7
  275. package/build/es/components/DataDimension/ItemSelector/DetailSelector.js +5 -6
  276. package/build/es/components/DataDimension/ItemSelector/GroupSelector.js +9 -10
  277. package/build/es/components/DataDimension/ItemSelector/ItemSelector.js +85 -102
  278. package/build/es/components/DataDimension/ItemSelector/MetricSelector.js +5 -6
  279. package/build/es/components/DataDimension/SourceEmptyPlaceholder.js +10 -13
  280. package/build/es/components/DataDimension/TransferOption.js +35 -39
  281. package/build/es/components/DimensionMenu.js +13 -14
  282. package/build/es/components/DimensionsPanel/DimensionsPanel.js +7 -7
  283. package/build/es/components/DimensionsPanel/List/DimensionItem.js +11 -11
  284. package/build/es/components/DimensionsPanel/List/DimensionList.js +8 -8
  285. package/build/es/components/DimensionsPanel/List/OptionsButton.js +8 -11
  286. package/build/es/components/DimensionsPanel/List/RecommendedIcon.js +10 -13
  287. package/build/es/components/DynamicDimension/DynamicDimension.js +9 -13
  288. package/build/es/components/DynamicDimension/ItemSelector.js +24 -36
  289. package/build/es/components/FileMenu/DeleteDialog.js +10 -14
  290. package/build/es/components/FileMenu/FileMenu.js +18 -28
  291. package/build/es/components/FileMenu/GetLinkDialog.js +7 -7
  292. package/build/es/components/FileMenu/RenameDialog.js +12 -19
  293. package/build/es/components/FileMenu/SaveAsDialog.js +12 -19
  294. package/build/es/components/FileMenu/__tests__/FileMenu.spec.js +6 -2
  295. package/build/es/components/FileMenu/__tests__/GetLinkDialog.spec.js +7 -8
  296. package/build/es/components/FileMenu/utils.js +10 -12
  297. package/build/es/components/Filter/Filter.js +21 -27
  298. package/build/es/components/Interpretations/InterpretationModal/Comment.js +7 -8
  299. package/build/es/components/Interpretations/InterpretationModal/CommentAddForm.js +9 -13
  300. package/build/es/components/Interpretations/InterpretationModal/CommentDeleteButton.js +9 -13
  301. package/build/es/components/Interpretations/InterpretationModal/CommentUpdateForm.js +11 -15
  302. package/build/es/components/Interpretations/InterpretationModal/InterpretationModal.js +18 -23
  303. package/build/es/components/Interpretations/InterpretationModal/InterpretationThread.js +11 -12
  304. package/build/es/components/Interpretations/InterpretationsUnit/InterpretationForm.js +11 -15
  305. package/build/es/components/Interpretations/InterpretationsUnit/InterpretationList.js +10 -11
  306. package/build/es/components/Interpretations/InterpretationsUnit/InterpretationsUnit.js +22 -31
  307. package/build/es/components/Interpretations/common/Interpretation/Interpretation.js +12 -13
  308. package/build/es/components/Interpretations/common/Interpretation/InterpretationDeleteButton.js +7 -11
  309. package/build/es/components/Interpretations/common/Interpretation/InterpretationSharingLink.js +4 -5
  310. package/build/es/components/Interpretations/common/Interpretation/InterpretationUpdateForm.js +14 -21
  311. package/build/es/components/Interpretations/common/Interpretation/useLike.js +5 -6
  312. package/build/es/components/Interpretations/common/Message/Message.js +6 -7
  313. package/build/es/components/Interpretations/common/Message/MessageButtonStrip.js +8 -11
  314. package/build/es/components/Interpretations/common/Message/MessageEditorContainer.js +18 -21
  315. package/build/es/components/Interpretations/common/Message/MessageIconButton.js +34 -40
  316. package/build/es/components/Interpretations/common/Message/MessageStatsBar.js +8 -11
  317. package/build/es/components/LegendKey/LegendKey.js +3 -4
  318. package/build/es/components/OfflineTooltip.js +18 -26
  319. package/build/es/components/OpenFileDialog/CreatedByFilter.js +20 -26
  320. package/build/es/components/OpenFileDialog/CustomSelectOption.js +23 -26
  321. package/build/es/components/OpenFileDialog/DateField.js +3 -4
  322. package/build/es/components/OpenFileDialog/FileList.js +19 -22
  323. package/build/es/components/OpenFileDialog/NameFilter.js +15 -21
  324. package/build/es/components/OpenFileDialog/OpenFileDialog.js +35 -43
  325. package/build/es/components/OpenFileDialog/PaginationControls.js +22 -28
  326. package/build/es/components/OpenFileDialog/VisTypeFilter.js +28 -37
  327. package/build/es/components/Options/VisualizationOptions.js +34 -44
  328. package/build/es/components/OrgUnitDimension/OrgUnitDimension.js +37 -58
  329. package/build/es/components/PeriodDimension/FixedPeriodFilter.js +16 -25
  330. package/build/es/components/PeriodDimension/FixedPeriodSelect.js +14 -19
  331. package/build/es/components/PeriodDimension/PeriodDimension.js +9 -12
  332. package/build/es/components/PeriodDimension/PeriodTransfer.js +48 -61
  333. package/build/es/components/PeriodDimension/RelativePeriodFilter.js +24 -30
  334. package/build/es/components/PeriodDimension/__tests__/__snapshots__/FixedPeriodSingleSelect.spec.js.snap +0 -1
  335. package/build/es/components/PeriodDimension/__tests__/__snapshots__/PeriodDimension.spec.js.snap +0 -1
  336. package/build/es/components/PeriodDimension/utils/fixedPeriods.js +6 -7
  337. package/build/es/components/PeriodDimension/utils/index.js +1 -5
  338. package/build/es/components/PivotTable/PivotTable.js +7 -8
  339. package/build/es/components/PivotTable/PivotTableBody.js +20 -29
  340. package/build/es/components/PivotTable/PivotTableCell.js +8 -12
  341. package/build/es/components/PivotTable/PivotTableClippedAxis.js +14 -17
  342. package/build/es/components/PivotTable/PivotTableColumnHeaderCell.js +7 -8
  343. package/build/es/components/PivotTable/PivotTableColumnHeaders.js +22 -29
  344. package/build/es/components/PivotTable/PivotTableContainer.js +5 -6
  345. package/build/es/components/PivotTable/PivotTableDimensionLabelCell.js +4 -5
  346. package/build/es/components/PivotTable/PivotTableEmptyCell.js +3 -4
  347. package/build/es/components/PivotTable/PivotTableEmptyRow.js +4 -5
  348. package/build/es/components/PivotTable/PivotTableEngineContext.js +4 -5
  349. package/build/es/components/PivotTable/PivotTableHead.js +13 -16
  350. package/build/es/components/PivotTable/PivotTableHeaderCell.js +8 -9
  351. package/build/es/components/PivotTable/PivotTableRow.js +20 -27
  352. package/build/es/components/PivotTable/PivotTableRowHeaderCell.js +5 -6
  353. package/build/es/components/PivotTable/PivotTableSortIcon.js +4 -5
  354. package/build/es/components/PivotTable/PivotTableTitleRow.js +18 -22
  355. package/build/es/components/PivotTable/PivotTableTitleRows.js +4 -5
  356. package/build/es/components/PivotTable/PivotTableValueCell.js +5 -6
  357. package/build/es/components/RichText/Editor/Editor.js +69 -83
  358. package/build/es/components/RichText/Parser/Parser.js +4 -8
  359. package/build/es/components/Toolbar/HoverMenuBar/HoverMenuBar.js +20 -23
  360. package/build/es/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js +7 -11
  361. package/build/es/components/Toolbar/HoverMenuBar/HoverMenuList.js +8 -15
  362. package/build/es/components/Toolbar/HoverMenuBar/HoverMenuListItem.js +10 -14
  363. package/build/es/components/Toolbar/HoverMenuBar/__tests__/HoverMenuBar.spec.js +4 -5
  364. package/build/es/components/Toolbar/HoverMenuBar/__tests__/HoverMenuList.spec.js +6 -4
  365. package/build/es/components/Toolbar/InterpretationsAndDetailsToggler.js +15 -21
  366. package/build/es/components/Toolbar/Toolbar.js +10 -16
  367. package/build/es/components/Toolbar/ToolbarSidebar.js +12 -18
  368. package/build/es/components/Toolbar/UpdateButton.js +18 -24
  369. package/build/es/components/TransferOption.js +14 -15
  370. package/build/es/components/TranslationDialog/TranslationModal/LocalesSelect.js +19 -27
  371. package/build/es/components/TranslationDialog/TranslationModal/TranslationForm.js +16 -23
  372. package/build/es/components/TranslationDialog/TranslationModal/TranslationModal.js +7 -8
  373. package/build/es/components/TranslationDialog/TranslationModal/TranslationModalActions.js +18 -27
  374. package/build/es/components/TranslationDialog/TranslationModal/__tests__/TranslationModal.spec.js +49 -0
  375. package/build/es/components/TranslationDialog/TranslationModal/useTranslationsResults.js +3 -4
  376. package/build/es/components/UserMention/UserList.js +6 -7
  377. package/build/es/components/UserMention/UserMentionWrapper.js +12 -18
  378. package/build/es/components/UserMention/useUserSearchResults.js +12 -16
  379. package/build/es/components/VisTypeIcon.js +5 -6
  380. package/build/es/locales/ar_IQ/translations.json +20 -11
  381. package/build/es/locales/cs/translations.json +2 -0
  382. package/build/es/locales/en/translations.json +1 -0
  383. package/build/es/locales/es/translations.json +2 -0
  384. package/build/es/locales/fr/translations.json +2 -0
  385. package/build/es/locales/id/translations.json +20 -11
  386. package/build/es/locales/lo/translations.json +2 -0
  387. package/build/es/locales/nb/translations.json +2 -0
  388. package/build/es/locales/prs/translations.json +2 -0
  389. package/build/es/locales/ps/translations.json +2 -0
  390. package/build/es/locales/pt/translations.json +2 -0
  391. package/build/es/locales/pt_BR/translations.json +2 -0
  392. package/build/es/locales/ru/translations.json +2 -0
  393. package/build/es/locales/si/translations.json +20 -11
  394. package/build/es/locales/sv/translations.json +20 -11
  395. package/build/es/locales/tet/translations.json +20 -11
  396. package/build/es/locales/tg/translations.json +2 -0
  397. package/build/es/locales/uk/translations.json +2 -0
  398. package/build/es/locales/ur/translations.json +2 -0
  399. package/build/es/locales/uz_UZ_Cyrl/translations.json +2 -0
  400. package/build/es/locales/uz_UZ_Latn/translations.json +4 -2
  401. package/build/es/locales/vi/translations.json +2 -0
  402. package/build/es/locales/zh/translations.json +2 -0
  403. package/build/es/locales/zh_CN/translations.json +17 -15
  404. package/build/es/modules/__tests__/expressions.spec.js +4 -5
  405. package/build/es/modules/__tests__/isNumeric.spec.js +31 -0
  406. package/build/es/modules/dimensionListItem.js +4 -5
  407. package/build/es/modules/expressions.js +3 -9
  408. package/build/es/modules/getPWAInstallationStatus.js +7 -9
  409. package/build/es/modules/layout/dimensionCreate.js +1 -3
  410. package/build/es/modules/layout/dimensionIsValid.js +3 -4
  411. package/build/es/modules/legends.js +5 -6
  412. package/build/es/modules/outliers/index.js +2 -3
  413. package/build/es/modules/outliers/iqr.js +4 -6
  414. package/build/es/modules/outliers/modZScore.js +6 -14
  415. package/build/es/modules/outliers/zScore.js +3 -4
  416. package/build/es/modules/pivotTable/AdaptiveClippingController.js +12 -16
  417. package/build/es/modules/pivotTable/PivotTableEngine.js +48 -59
  418. package/build/es/modules/pivotTable/clipAxis.js +7 -8
  419. package/build/es/modules/pivotTable/clipPartitionedAxis.js +9 -10
  420. package/build/es/modules/pivotTable/getHeaderForDisplay.js +8 -9
  421. package/build/es/modules/pivotTable/measureText.js +7 -9
  422. package/build/es/modules/pivotTable/useParentSize.js +1 -2
  423. package/build/es/modules/pivotTable/useScrollPosition.js +1 -2
  424. package/build/es/modules/pivotTable/useTableClipping.js +6 -7
  425. package/build/es/modules/relativeItems/index.js +1 -4
  426. package/build/es/modules/renderValue.js +1 -2
  427. package/build/es/modules/utils.js +9 -1
  428. package/build/es/visualizations/config/adapters/dhis_highcharts/addTrendLines.js +3 -8
  429. package/build/es/visualizations/config/adapters/dhis_highcharts/axis.js +2 -5
  430. package/build/es/visualizations/config/adapters/dhis_highcharts/customAxes.js +2 -5
  431. package/build/es/visualizations/config/adapters/dhis_highcharts/customSVGOptions/index.js +7 -8
  432. package/build/es/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/getSingleValueBackgroundColor.js +1 -2
  433. package/build/es/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/index.js +6 -7
  434. package/build/es/visualizations/config/adapters/dhis_highcharts/getFormatter.js +1 -1
  435. package/build/es/visualizations/config/adapters/dhis_highcharts/getSteps.js +1 -1
  436. package/build/es/visualizations/config/adapters/dhis_highcharts/getTrimmedConfig.js +3 -4
  437. package/build/es/visualizations/config/adapters/dhis_highcharts/index.js +7 -8
  438. package/build/es/visualizations/config/adapters/dhis_highcharts/legend.js +6 -7
  439. package/build/es/visualizations/config/adapters/dhis_highcharts/legendSet.js +22 -26
  440. package/build/es/visualizations/config/adapters/dhis_highcharts/plotOptions.js +8 -9
  441. package/build/es/visualizations/config/adapters/dhis_highcharts/series/index.js +18 -20
  442. package/build/es/visualizations/config/adapters/dhis_highcharts/series/pie.js +1 -4
  443. package/build/es/visualizations/config/adapters/dhis_highcharts/yAxis/gauge.js +1 -3
  444. package/build/es/visualizations/config/index.js +11 -12
  445. package/build/es/visualizations/config/validators/dhis/index.js +3 -4
  446. package/build/es/visualizations/index.js +1 -4
  447. package/build/es/visualizations/store/adapters/dhis_highcharts/index.js +7 -8
  448. package/build/es/visualizations/store/index.js +15 -17
  449. package/build/es/visualizations/store/validators/dhis/index.js +5 -6
  450. package/build/es/visualizations/util/getFilterText.js +3 -6
  451. package/build/es/visualizations/util/shouldUseContrastColor.js +1 -2
  452. package/package.json +12 -12
@@ -9,12 +9,11 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _visTypes = require("../modules/visTypes.js");
11
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- const VisTypeIcon = _ref => {
13
- let {
14
- type,
15
- useSmall = false,
16
- ...props
17
- } = _ref;
12
+ const VisTypeIcon = ({
13
+ type,
14
+ useSmall = false,
15
+ ...props
16
+ }) => {
18
17
  let VisIcon;
19
18
  switch (type) {
20
19
  case _visTypes.VIS_TYPE_LINE_LIST:
@@ -318,13 +318,13 @@ Object.defineProperty(exports, "Analytics", {
318
318
  Object.defineProperty(exports, "BIMONTHLY", {
319
319
  enumerable: true,
320
320
  get: function () {
321
- return _index12.BIMONTHLY;
321
+ return _index10.BIMONTHLY;
322
322
  }
323
323
  });
324
324
  Object.defineProperty(exports, "BIWEEKLY", {
325
325
  enumerable: true,
326
326
  get: function () {
327
- return _index12.BIWEEKLY;
327
+ return _index10.BIWEEKLY;
328
328
  }
329
329
  });
330
330
  Object.defineProperty(exports, "COLOR_SET_BASIC", {
@@ -384,7 +384,7 @@ Object.defineProperty(exports, "CachedDataQueryProvider", {
384
384
  Object.defineProperty(exports, "DAILY", {
385
385
  enumerable: true,
386
386
  get: function () {
387
- return _index12.DAILY;
387
+ return _index10.DAILY;
388
388
  }
389
389
  });
390
390
  Object.defineProperty(exports, "DEFAULT_AXIS_IDS", {
@@ -594,7 +594,7 @@ Object.defineProperty(exports, "DynamicDimension", {
594
594
  Object.defineProperty(exports, "FINANCIAL", {
595
595
  enumerable: true,
596
596
  get: function () {
597
- return _index12.FINANCIAL;
597
+ return _index10.FINANCIAL;
598
598
  }
599
599
  });
600
600
  Object.defineProperty(exports, "FONT_STYLE_AXIS_LABELS", {
@@ -684,25 +684,25 @@ Object.defineProperty(exports, "FONT_STYLE_VISUALIZATION_TITLE", {
684
684
  Object.defineProperty(exports, "FYAPR", {
685
685
  enumerable: true,
686
686
  get: function () {
687
- return _index12.FYAPR;
687
+ return _index10.FYAPR;
688
688
  }
689
689
  });
690
690
  Object.defineProperty(exports, "FYJUL", {
691
691
  enumerable: true,
692
692
  get: function () {
693
- return _index12.FYJUL;
693
+ return _index10.FYJUL;
694
694
  }
695
695
  });
696
696
  Object.defineProperty(exports, "FYNOV", {
697
697
  enumerable: true,
698
698
  get: function () {
699
- return _index12.FYNOV;
699
+ return _index10.FYNOV;
700
700
  }
701
701
  });
702
702
  Object.defineProperty(exports, "FYOCT", {
703
703
  enumerable: true,
704
704
  get: function () {
705
- return _index12.FYOCT;
705
+ return _index10.FYOCT;
706
706
  }
707
707
  });
708
708
  Object.defineProperty(exports, "FileMenu", {
@@ -864,7 +864,7 @@ Object.defineProperty(exports, "LegendKey", {
864
864
  Object.defineProperty(exports, "MONTHLY", {
865
865
  enumerable: true,
866
866
  get: function () {
867
- return _index12.MONTHLY;
867
+ return _index10.MONTHLY;
868
868
  }
869
869
  });
870
870
  Object.defineProperty(exports, "OfflineTooltip", {
@@ -900,19 +900,19 @@ Object.defineProperty(exports, "PivotTable", {
900
900
  Object.defineProperty(exports, "QUARTERLY", {
901
901
  enumerable: true,
902
902
  get: function () {
903
- return _index12.QUARTERLY;
903
+ return _index10.QUARTERLY;
904
904
  }
905
905
  });
906
906
  Object.defineProperty(exports, "SIXMONTHLY", {
907
907
  enumerable: true,
908
908
  get: function () {
909
- return _index12.SIXMONTHLY;
909
+ return _index10.SIXMONTHLY;
910
910
  }
911
911
  });
912
912
  Object.defineProperty(exports, "SIXMONTHLYAPR", {
913
913
  enumerable: true,
914
914
  get: function () {
915
- return _index12.SIXMONTHLYAPR;
915
+ return _index10.SIXMONTHLYAPR;
916
916
  }
917
917
  });
918
918
  Object.defineProperty(exports, "TEXT_ALIGN_CENTER", {
@@ -1266,43 +1266,43 @@ Object.defineProperty(exports, "VisualizationOptions", {
1266
1266
  Object.defineProperty(exports, "WEEKLY", {
1267
1267
  enumerable: true,
1268
1268
  get: function () {
1269
- return _index12.WEEKLY;
1269
+ return _index10.WEEKLY;
1270
1270
  }
1271
1271
  });
1272
1272
  Object.defineProperty(exports, "WEEKLYSAT", {
1273
1273
  enumerable: true,
1274
1274
  get: function () {
1275
- return _index12.WEEKLYSAT;
1275
+ return _index10.WEEKLYSAT;
1276
1276
  }
1277
1277
  });
1278
1278
  Object.defineProperty(exports, "WEEKLYSUN", {
1279
1279
  enumerable: true,
1280
1280
  get: function () {
1281
- return _index12.WEEKLYSUN;
1281
+ return _index10.WEEKLYSUN;
1282
1282
  }
1283
1283
  });
1284
1284
  Object.defineProperty(exports, "WEEKLYTHU", {
1285
1285
  enumerable: true,
1286
1286
  get: function () {
1287
- return _index12.WEEKLYTHU;
1287
+ return _index10.WEEKLYTHU;
1288
1288
  }
1289
1289
  });
1290
1290
  Object.defineProperty(exports, "WEEKLYWED", {
1291
1291
  enumerable: true,
1292
1292
  get: function () {
1293
- return _index12.WEEKLYWED;
1293
+ return _index10.WEEKLYWED;
1294
1294
  }
1295
1295
  });
1296
1296
  Object.defineProperty(exports, "WEEKS_THIS_YEAR", {
1297
1297
  enumerable: true,
1298
1298
  get: function () {
1299
- return _index12.WEEKS_THIS_YEAR;
1299
+ return _index10.WEEKS_THIS_YEAR;
1300
1300
  }
1301
1301
  });
1302
1302
  Object.defineProperty(exports, "YEARLY", {
1303
1303
  enumerable: true,
1304
1304
  get: function () {
1305
- return _index12.YEARLY;
1305
+ return _index10.YEARLY;
1306
1306
  }
1307
1307
  });
1308
1308
  Object.defineProperty(exports, "apiFetchDimensions", {
@@ -1392,7 +1392,7 @@ Object.defineProperty(exports, "axisIsEmpty", {
1392
1392
  Object.defineProperty(exports, "canDimensionBeAddedToAxis", {
1393
1393
  enumerable: true,
1394
1394
  get: function () {
1395
- return _index10.canDimensionBeAddedToAxis;
1395
+ return _index0.canDimensionBeAddedToAxis;
1396
1396
  }
1397
1397
  });
1398
1398
  Object.defineProperty(exports, "colorSets", {
@@ -1410,7 +1410,7 @@ Object.defineProperty(exports, "convertOuLevelsToUids", {
1410
1410
  Object.defineProperty(exports, "createVisualization", {
1411
1411
  enumerable: true,
1412
1412
  get: function () {
1413
- return _index11.createVisualization;
1413
+ return _index1.createVisualization;
1414
1414
  }
1415
1415
  });
1416
1416
  Object.defineProperty(exports, "dataTypeMap", {
@@ -1500,31 +1500,31 @@ Object.defineProperty(exports, "getAdaptedUiLayoutByType", {
1500
1500
  Object.defineProperty(exports, "getAllLockedDimensionIds", {
1501
1501
  enumerable: true,
1502
1502
  get: function () {
1503
- return _index10.getAllLockedDimensionIds;
1503
+ return _index0.getAllLockedDimensionIds;
1504
1504
  }
1505
1505
  });
1506
1506
  Object.defineProperty(exports, "getAvailableAxes", {
1507
1507
  enumerable: true,
1508
1508
  get: function () {
1509
- return _index10.getAvailableAxes;
1509
+ return _index0.getAvailableAxes;
1510
1510
  }
1511
1511
  });
1512
1512
  Object.defineProperty(exports, "getAxisMaxNumberOfDimensions", {
1513
1513
  enumerable: true,
1514
1514
  get: function () {
1515
- return _index10.getAxisMaxNumberOfDimensions;
1515
+ return _index0.getAxisMaxNumberOfDimensions;
1516
1516
  }
1517
1517
  });
1518
1518
  Object.defineProperty(exports, "getAxisMaxNumberOfItems", {
1519
1519
  enumerable: true,
1520
1520
  get: function () {
1521
- return _index10.getAxisMaxNumberOfItems;
1521
+ return _index0.getAxisMaxNumberOfItems;
1522
1522
  }
1523
1523
  });
1524
1524
  Object.defineProperty(exports, "getAxisMinNumberOfDimensions", {
1525
1525
  enumerable: true,
1526
1526
  get: function () {
1527
- return _index10.getAxisMinNumberOfDimensions;
1527
+ return _index0.getAxisMinNumberOfDimensions;
1528
1528
  }
1529
1529
  });
1530
1530
  Object.defineProperty(exports, "getAxisName", {
@@ -1542,7 +1542,7 @@ Object.defineProperty(exports, "getAxisNameByLayoutType", {
1542
1542
  Object.defineProperty(exports, "getAxisPerLockedDimension", {
1543
1543
  enumerable: true,
1544
1544
  get: function () {
1545
- return _index10.getAxisPerLockedDimension;
1545
+ return _index0.getAxisPerLockedDimension;
1546
1546
  }
1547
1547
  });
1548
1548
  Object.defineProperty(exports, "getColorByValueFromLegendSet", {
@@ -1560,13 +1560,13 @@ Object.defineProperty(exports, "getDimensionById", {
1560
1560
  Object.defineProperty(exports, "getDimensionMaxNumberOfItems", {
1561
1561
  enumerable: true,
1562
1562
  get: function () {
1563
- return _index10.getDimensionMaxNumberOfItems;
1563
+ return _index0.getDimensionMaxNumberOfItems;
1564
1564
  }
1565
1565
  });
1566
1566
  Object.defineProperty(exports, "getDisallowedDimensions", {
1567
1567
  enumerable: true,
1568
1568
  get: function () {
1569
- return _index10.getDisallowedDimensions;
1569
+ return _index0.getDisallowedDimensions;
1570
1570
  }
1571
1571
  });
1572
1572
  Object.defineProperty(exports, "getDisplayNameByVisType", {
@@ -1644,13 +1644,13 @@ Object.defineProperty(exports, "getTextAlignOptions", {
1644
1644
  Object.defineProperty(exports, "getTransferableDimension", {
1645
1645
  enumerable: true,
1646
1646
  get: function () {
1647
- return _index10.getTransferableDimension;
1647
+ return _index0.getTransferableDimension;
1648
1648
  }
1649
1649
  });
1650
1650
  Object.defineProperty(exports, "hasAxisTooManyItems", {
1651
1651
  enumerable: true,
1652
1652
  get: function () {
1653
- return _index10.hasAxisTooManyItems;
1653
+ return _index0.hasAxisTooManyItems;
1654
1654
  }
1655
1655
  });
1656
1656
  Object.defineProperty(exports, "hasCustomAxes", {
@@ -1662,7 +1662,7 @@ Object.defineProperty(exports, "hasCustomAxes", {
1662
1662
  Object.defineProperty(exports, "hasDimensionTooManyItems", {
1663
1663
  enumerable: true,
1664
1664
  get: function () {
1665
- return _index10.hasDimensionTooManyItems;
1665
+ return _index0.hasDimensionTooManyItems;
1666
1666
  }
1667
1667
  });
1668
1668
  Object.defineProperty(exports, "hasRelativeItems", {
@@ -1674,7 +1674,7 @@ Object.defineProperty(exports, "hasRelativeItems", {
1674
1674
  Object.defineProperty(exports, "isAxisFull", {
1675
1675
  enumerable: true,
1676
1676
  get: function () {
1677
- return _index10.isAxisFull;
1677
+ return _index0.isAxisFull;
1678
1678
  }
1679
1679
  });
1680
1680
  Object.defineProperty(exports, "isColumnBasedType", {
@@ -1686,7 +1686,7 @@ Object.defineProperty(exports, "isColumnBasedType", {
1686
1686
  Object.defineProperty(exports, "isDimensionLocked", {
1687
1687
  enumerable: true,
1688
1688
  get: function () {
1689
- return _index10.isDimensionLocked;
1689
+ return _index0.isDimensionLocked;
1690
1690
  }
1691
1691
  });
1692
1692
  Object.defineProperty(exports, "isDualAxisType", {
@@ -1975,18 +1975,17 @@ var _itemIsValid = require("./modules/layout/itemIsValid.js");
1975
1975
  var _visTypeToLayoutType = require("./modules/visTypeToLayoutType.js");
1976
1976
  var _visTypes = require("./modules/visTypes.js");
1977
1977
  var _layoutTypes = require("./modules/layoutTypes.js");
1978
- var _index10 = require("./modules/layoutUiRules/index.js");
1979
- var _index11 = require("./visualizations/index.js");
1978
+ var _index0 = require("./modules/layoutUiRules/index.js");
1979
+ var _index1 = require("./visualizations/index.js");
1980
1980
  var _fontStyle = require("./modules/fontStyle.js");
1981
1981
  var _legends = require("./modules/legends.js");
1982
1982
  var _hideEmptyRowItems = require("./modules/hideEmptyRowItems.js");
1983
1983
  var _renderValue = require("./modules/renderValue.js");
1984
1984
  var _colorSets = require("./visualizations/util/colors/colorSets.js");
1985
- var _index12 = require("./components/PeriodDimension/utils/index.js");
1985
+ var _index10 = require("./components/PeriodDimension/utils/index.js");
1986
1986
  var _relativePeriods = require("./components/PeriodDimension/utils/relativePeriods.js");
1987
1987
  var _fixedPeriods = require("./components/PeriodDimension/utils/fixedPeriods.js");
1988
1988
  var _VisualizationOptions = _interopRequireDefault(require("./components/Options/VisualizationOptions.js"));
1989
1989
  var _dataTypes = require("./modules/dataTypes.js");
1990
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
1991
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
1990
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
1992
1991
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -49,11 +49,6 @@
49
49
  "No data elements found": "",
50
50
  "Drag items here, or double click in the list, to start building a calculation formula": "",
51
51
  "Math operators": "",
52
- "Data Type": "",
53
- "Only {{dataType}} can be used in {{visType}}": "",
54
- "All types": "",
55
- "Disaggregation": "",
56
- "No data": "",
57
52
  "Expression description": "",
58
53
  "Error loading value": "",
59
54
  "None": "لا شيء",
@@ -102,9 +97,24 @@
102
97
  "{{ offsetPeriodType }} × {{ offsetPeriods }}": "",
103
98
  "Expression": "",
104
99
  "Filter": "",
100
+ "All available options are already selected": "",
101
+ "No available options for this item": "",
102
+ "Search by option name": "",
103
+ "Back to all items": "",
104
+ "Options": "الخيارات",
105
+ "Selected items": "",
106
+ "Data Type": "",
107
+ "Only {{dataType}} can be used in {{visType}}": "",
108
+ "All types": "",
109
+ "Disaggregation": "",
110
+ "No data": "",
105
111
  "Search by data item name": "",
106
- "No items selected": "",
107
112
  "Selected Items": "",
113
+ "All available items are already selected": "",
114
+ "Calculation": "",
115
+ "Metric type": "",
116
+ "All metrics": "",
117
+ "No items selected": "",
108
118
  "No indicators found": "",
109
119
  "No data sets found": "",
110
120
  "No event data items found": "",
@@ -116,9 +126,7 @@
116
126
  "No program indicators found for \"{{- searchTerm}}\"": "",
117
127
  "No calculations found for \"{{- searchTerm}}\"": "",
118
128
  "Nothing found for \"{{- searchTerm}}\"": "",
119
- "Calculation": "",
120
- "Metric type": "",
121
- "All metrics": "",
129
+ "Click to choose from available options": "",
122
130
  "Move to {{axisName}}": "",
123
131
  "Add to {{axisName}}": "",
124
132
  "Not available for {{visualizationType}}": "",
@@ -135,7 +143,6 @@
135
143
  "Manually select items...": "",
136
144
  "Nothing found in {{- dimensionTitle}}": "",
137
145
  "Search": "البحث",
138
- "Nothing found for {{- searchTerm}}": "",
139
146
  "Delete {{fileType}}": "",
140
147
  "This {{fileType}} and related interpretations will be deleted. Continue?": "",
141
148
  "Delete": "حذف",
@@ -159,6 +166,7 @@
159
166
  "line list": "",
160
167
  "map": "",
161
168
  "visualization": "",
169
+ "Untitled {{visualizationType}}, {{date}}": "",
162
170
  "Edit": "تعديل",
163
171
  "Write a reply": "",
164
172
  "Post reply": "",
@@ -227,7 +235,6 @@
227
235
  "No line lists found. Click New line list to get started.": "",
228
236
  "No line lists found. Try adjusting your search or filter options to find what you're looking for.": "",
229
237
  "New line list": "",
230
- "Options": "الخيارات",
231
238
  "Hide": "إخفاء",
232
239
  "{{count}} org units_0": "",
233
240
  "{{count}} org units_1": "",
@@ -383,6 +390,7 @@
383
390
  "Program indicators": "",
384
391
  "Program indicator": "",
385
392
  "Calculations": "",
393
+ "Option": "",
386
394
  "Number": "",
387
395
  "Formula is empty. Add items to the formula from the lists on the left.": "",
388
396
  "Consecutive math operators": "",
@@ -464,6 +472,7 @@
464
472
  "Single value": "",
465
473
  "Outlier table": "",
466
474
  "All charts": "",
475
+ "Map": "الخريطة",
467
476
  "{{seriesName}} (trend)": "",
468
477
  "Trend": "",
469
478
  "No legend for this series": "",
@@ -164,6 +164,7 @@
164
164
  "line list": "seznam řádků",
165
165
  "map": "mapa",
166
166
  "visualization": "vizualizace",
167
+ "Untitled {{visualizationType}}, {{date}}": "",
167
168
  "Edit": "Upravit",
168
169
  "Write a reply": "Napsat odpověď",
169
170
  "Post reply": "Odpovědět",
@@ -461,6 +462,7 @@
461
462
  "Single value": "Jedna hodnota",
462
463
  "Outlier table": "",
463
464
  "All charts": "Všechny grafy",
465
+ "Map": "Mapa",
464
466
  "{{seriesName}} (trend)": "{{seriesName}} (trend)",
465
467
  "Trend": "Trend",
466
468
  "No legend for this series": "Pro tuto sérii není legenda",
@@ -153,6 +153,7 @@
153
153
  "Share…": "Share…",
154
154
  "Get link…": "Get link…",
155
155
  "Open in this app": "Open in this app",
156
+ "Copy to clipboard": "Copy to clipboard",
156
157
  "Close": "Close",
157
158
  "Rename {{fileType}}": "Rename {{fileType}}",
158
159
  "Rename": "Rename",
@@ -162,6 +162,7 @@
162
162
  "line list": "listados",
163
163
  "map": "mapa",
164
164
  "visualization": "visualización",
165
+ "Untitled {{visualizationType}}, {{date}}": "",
165
166
  "Edit": "Editar",
166
167
  "Write a reply": "Escribe una respuesta",
167
168
  "Post reply": "Publicar respuesta",
@@ -451,6 +452,7 @@
451
452
  "Single value": "Valor único",
452
453
  "Outlier table": "tabla de valores atípicos",
453
454
  "All charts": "Todos los gráficos",
455
+ "Map": "Mapa",
454
456
  "{{seriesName}} (trend)": "{{seriesName}} (tendencia)",
455
457
  "Trend": "Tendencia",
456
458
  "No legend for this series": "Ninguna leyenda para esta serie",
@@ -162,6 +162,7 @@
162
162
  "line list": "",
163
163
  "map": "carte",
164
164
  "visualization": "",
165
+ "Untitled {{visualizationType}}, {{date}}": "",
165
166
  "Edit": "Modifier",
166
167
  "Write a reply": "Ecrire une réponse",
167
168
  "Post reply": "",
@@ -451,6 +452,7 @@
451
452
  "Single value": "Valeur unique",
452
453
  "Outlier table": "",
453
454
  "All charts": "",
455
+ "Map": "Carte",
454
456
  "{{seriesName}} (trend)": "{{seriesName}} (tendance)",
455
457
  "Trend": "Tendance",
456
458
  "No legend for this series": "Aucune légende pour ces séries",
@@ -44,11 +44,6 @@
44
44
  "No data elements found": "Tidak ada elemen data yang ditemukan",
45
45
  "Drag items here, or double click in the list, to start building a calculation formula": "",
46
46
  "Math operators": "",
47
- "Data Type": "Tipe Data",
48
- "Only {{dataType}} can be used in {{visType}}": "",
49
- "All types": "Semua jenis",
50
- "Disaggregation": "Disagregasi",
51
- "No data": "Tidak ada data",
52
47
  "Expression description": "Deskripsi expression",
53
48
  "Error loading value": "",
54
49
  "None": "Tidak ada",
@@ -97,9 +92,24 @@
97
92
  "{{ offsetPeriodType }} × {{ offsetPeriods }}": "",
98
93
  "Expression": "",
99
94
  "Filter": "Saring",
95
+ "All available options are already selected": "",
96
+ "No available options for this item": "",
97
+ "Search by option name": "",
98
+ "Back to all items": "",
99
+ "Options": "Opsi",
100
+ "Selected items": "",
101
+ "Data Type": "Tipe Data",
102
+ "Only {{dataType}} can be used in {{visType}}": "",
103
+ "All types": "Semua jenis",
104
+ "Disaggregation": "Disagregasi",
105
+ "No data": "Tidak ada data",
100
106
  "Search by data item name": "Cari berdasarkan nama item data",
101
- "No items selected": "Tidak ada item yang dipilih",
102
107
  "Selected Items": "Item yang Dipilih",
108
+ "All available items are already selected": "",
109
+ "Calculation": "",
110
+ "Metric type": "Jenis metrik",
111
+ "All metrics": "Semua metrik",
112
+ "No items selected": "Tidak ada item yang dipilih",
103
113
  "No indicators found": "Tidak ada indikator yang ditemukan",
104
114
  "No data sets found": "Tidak ada kumpulan data yang ditemukan",
105
115
  "No event data items found": "Tidak ada item data acara yang ditemukan",
@@ -111,9 +121,7 @@
111
121
  "No program indicators found for \"{{- searchTerm}}\"": "Tidak ada indikator program yang ditemukan untuk \"{{- searchTerm}}\"",
112
122
  "No calculations found for \"{{- searchTerm}}\"": "",
113
123
  "Nothing found for \"{{- searchTerm}}\"": "Tidak ada yang ditemukan untuk \"{{- searchTerm}}\"",
114
- "Calculation": "",
115
- "Metric type": "Jenis metrik",
116
- "All metrics": "Semua metrik",
124
+ "Click to choose from available options": "",
117
125
  "Move to {{axisName}}": "Pindah ke {{axisName}}",
118
126
  "Add to {{axisName}}": "Tambahkan ke {{axisName}}",
119
127
  "Not available for {{visualizationType}}": "Tidak tersedia untuk {{visualizationType}}",
@@ -130,7 +138,6 @@
130
138
  "Manually select items...": "",
131
139
  "Nothing found in {{- dimensionTitle}}": "",
132
140
  "Search": "Pencarian",
133
- "Nothing found for {{- searchTerm}}": "",
134
141
  "Delete {{fileType}}": "Hapus {{fileType}}",
135
142
  "This {{fileType}} and related interpretations will be deleted. Continue?": "{{fileType}} ini dan interpretasi terkait akan dihapus. Terus?",
136
143
  "Delete": "Hapus",
@@ -154,6 +161,7 @@
154
161
  "line list": "",
155
162
  "map": "",
156
163
  "visualization": "",
164
+ "Untitled {{visualizationType}}, {{date}}": "",
157
165
  "Edit": "Sunting",
158
166
  "Write a reply": "",
159
167
  "Post reply": "",
@@ -217,7 +225,6 @@
217
225
  "No line lists found. Click New line list to get started.": "",
218
226
  "No line lists found. Try adjusting your search or filter options to find what you're looking for.": "",
219
227
  "New line list": "",
220
- "Options": "Opsi",
221
228
  "Hide": "Sembunyikan",
222
229
  "{{count}} org units": "",
223
230
  "{{count}} levels": "",
@@ -358,6 +365,7 @@
358
365
  "Program indicators": "Indikator program",
359
366
  "Program indicator": "Indikator program",
360
367
  "Calculations": "",
368
+ "Option": "",
361
369
  "Number": "Angka",
362
370
  "Formula is empty. Add items to the formula from the lists on the left.": "",
363
371
  "Consecutive math operators": "",
@@ -439,6 +447,7 @@
439
447
  "Single value": "Nilai tunggal",
440
448
  "Outlier table": "",
441
449
  "All charts": "Semua grafik",
450
+ "Map": "Peta",
442
451
  "{{seriesName}} (trend)": "{{seriesName}} (tren)",
443
452
  "Trend": "Tren",
444
453
  "No legend for this series": "Tidak ada legenda untuk seri ini",