@hisptz/dhis2-analytics 2.0.8 → 2.0.10

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 (227) hide show
  1. package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js +2 -1
  2. package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
  3. package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js +2 -1
  4. package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
  5. package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts +26 -0
  6. package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts.map +1 -0
  7. package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts +8 -0
  8. package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts.map +1 -0
  9. package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts +8 -0
  10. package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts.map +1 -0
  11. package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts +9 -0
  12. package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts.map +1 -0
  13. package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts +2 -0
  14. package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts.map +1 -0
  15. package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts +12 -0
  16. package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts.map +1 -0
  17. package/dist/types/components/ChartAnalytics/index.d.ts +2 -0
  18. package/dist/types/components/ChartAnalytics/index.d.ts.map +1 -0
  19. package/dist/types/components/ChartAnalytics/models/bar.d.ts +9 -0
  20. package/dist/types/components/ChartAnalytics/models/bar.d.ts.map +1 -0
  21. package/dist/types/components/ChartAnalytics/models/column.d.ts +13 -0
  22. package/dist/types/components/ChartAnalytics/models/column.d.ts.map +1 -0
  23. package/dist/types/components/ChartAnalytics/models/index.d.ts +19 -0
  24. package/dist/types/components/ChartAnalytics/models/index.d.ts.map +1 -0
  25. package/dist/types/components/ChartAnalytics/models/line.d.ts +9 -0
  26. package/dist/types/components/ChartAnalytics/models/line.d.ts.map +1 -0
  27. package/dist/types/components/ChartAnalytics/models/multi-series.d.ts +10 -0
  28. package/dist/types/components/ChartAnalytics/models/multi-series.d.ts.map +1 -0
  29. package/dist/types/components/ChartAnalytics/models/pie.d.ts +9 -0
  30. package/dist/types/components/ChartAnalytics/models/pie.d.ts.map +1 -0
  31. package/dist/types/components/ChartAnalytics/services/export.d.ts +9 -0
  32. package/dist/types/components/ChartAnalytics/services/export.d.ts.map +1 -0
  33. package/dist/types/components/ChartAnalytics/types/props.d.ts +47 -0
  34. package/dist/types/components/ChartAnalytics/types/props.d.ts.map +1 -0
  35. package/dist/types/components/ChartAnalytics/utils/chart.d.ts +16 -0
  36. package/dist/types/components/ChartAnalytics/utils/chart.d.ts.map +1 -0
  37. package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts +6 -0
  38. package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts.map +1 -0
  39. package/dist/types/components/CircularProgressDashboard/index.d.ts +3 -0
  40. package/dist/types/components/CircularProgressDashboard/index.d.ts.map +1 -0
  41. package/dist/types/components/CircularProgressDashboard/types/props.d.ts +18 -0
  42. package/dist/types/components/CircularProgressDashboard/types/props.d.ts.map +1 -0
  43. package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts +23 -0
  44. package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts.map +1 -0
  45. package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts +10 -0
  46. package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts.map +1 -0
  47. package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts +2 -0
  48. package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts.map +1 -0
  49. package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts +2 -0
  50. package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts.map +1 -0
  51. package/dist/types/components/DHIS2PivotTable/index.d.ts +3 -0
  52. package/dist/types/components/DHIS2PivotTable/index.d.ts.map +1 -0
  53. package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts +2 -0
  54. package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts.map +1 -0
  55. package/dist/types/components/DHIS2PivotTable/services/engine.d.ts +63 -0
  56. package/dist/types/components/DHIS2PivotTable/services/engine.d.ts.map +1 -0
  57. package/dist/types/components/DHIS2PivotTable/state/engine.d.ts +8 -0
  58. package/dist/types/components/DHIS2PivotTable/state/engine.d.ts.map +1 -0
  59. package/dist/types/components/Map/DHIS2Map.d.ts +9 -0
  60. package/dist/types/components/Map/DHIS2Map.d.ts.map +1 -0
  61. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts +10 -0
  62. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts.map +1 -0
  63. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts +9 -0
  64. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts.map +1 -0
  65. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts +2 -0
  66. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts.map +1 -0
  67. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts +2 -0
  68. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts.map +1 -0
  69. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts +2 -0
  70. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts.map +1 -0
  71. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts +2 -0
  72. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts.map +1 -0
  73. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts +2 -0
  74. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts.map +1 -0
  75. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts +4 -0
  76. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts.map +1 -0
  77. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts +8 -0
  78. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts.map +1 -0
  79. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts +3 -0
  80. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts.map +1 -0
  81. package/dist/types/components/Map/components/MapArea/index.d.ts +6 -0
  82. package/dist/types/components/Map/components/MapArea/index.d.ts.map +1 -0
  83. package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts +31 -0
  84. package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts.map +1 -0
  85. package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts +8 -0
  86. package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map +1 -0
  87. package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts +8 -0
  88. package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts.map +1 -0
  89. package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts +6 -0
  90. package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map +1 -0
  91. package/dist/types/components/Map/components/MapControls/index.d.ts +6 -0
  92. package/dist/types/components/Map/components/MapControls/index.d.ts.map +1 -0
  93. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts +2 -0
  94. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts.map +1 -0
  95. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts +15 -0
  96. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts.map +1 -0
  97. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts +18 -0
  98. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts.map +1 -0
  99. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts +5 -0
  100. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts.map +1 -0
  101. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts +10 -0
  102. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts.map +1 -0
  103. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts +4 -0
  104. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts.map +1 -0
  105. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts +59 -0
  106. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts.map +1 -0
  107. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts +56 -0
  108. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts.map +1 -0
  109. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts +21 -0
  110. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts.map +1 -0
  111. package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts +6 -0
  112. package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts.map +1 -0
  113. package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts +9 -0
  114. package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts.map +1 -0
  115. package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts +4 -0
  116. package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts.map +1 -0
  117. package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts +3 -0
  118. package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts.map +1 -0
  119. package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts +2 -0
  120. package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts.map +1 -0
  121. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts +13 -0
  122. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts.map +1 -0
  123. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts +11 -0
  124. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts.map +1 -0
  125. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts +17 -0
  126. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts.map +1 -0
  127. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts +22 -0
  128. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts.map +1 -0
  129. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +22 -0
  130. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +1 -0
  131. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts +17 -0
  132. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts.map +1 -0
  133. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts +5 -0
  134. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts.map +1 -0
  135. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts +3 -0
  136. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts.map +1 -0
  137. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts +5 -0
  138. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts.map +1 -0
  139. package/dist/types/components/Map/components/MapLayer/index.d.ts +6 -0
  140. package/dist/types/components/Map/components/MapLayer/index.d.ts.map +1 -0
  141. package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts +136 -0
  142. package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts.map +1 -0
  143. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts +10 -0
  144. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts.map +1 -0
  145. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts +7 -0
  146. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map +1 -0
  147. package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts +16 -0
  148. package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts.map +1 -0
  149. package/dist/types/components/Map/components/MapProvider/index.d.ts +3 -0
  150. package/dist/types/components/Map/components/MapProvider/index.d.ts.map +1 -0
  151. package/dist/types/components/Map/components/MapUpdater/index.d.ts +5 -0
  152. package/dist/types/components/Map/components/MapUpdater/index.d.ts.map +1 -0
  153. package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts +3 -0
  154. package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts.map +1 -0
  155. package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts +3 -0
  156. package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts.map +1 -0
  157. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts +8 -0
  158. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts.map +1 -0
  159. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts +420 -0
  160. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts.map +1 -0
  161. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts +9 -0
  162. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts.map +1 -0
  163. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts +12 -0
  164. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts.map +1 -0
  165. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts +2 -0
  166. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts.map +1 -0
  167. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts +8 -0
  168. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts.map +1 -0
  169. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts +9 -0
  170. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts.map +1 -0
  171. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts +2 -0
  172. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts.map +1 -0
  173. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts +2 -0
  174. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts.map +1 -0
  175. package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts +4 -0
  176. package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts.map +1 -0
  177. package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts +15 -0
  178. package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts.map +1 -0
  179. package/dist/types/components/Map/constants/colors.d.ts +422 -0
  180. package/dist/types/components/Map/constants/colors.d.ts.map +1 -0
  181. package/dist/types/components/Map/constants/legendSet.d.ts +8 -0
  182. package/dist/types/components/Map/constants/legendSet.d.ts.map +1 -0
  183. package/dist/types/components/Map/hooks/map.d.ts +10 -0
  184. package/dist/types/components/Map/hooks/map.d.ts.map +1 -0
  185. package/dist/types/components/Map/index.d.ts +6 -0
  186. package/dist/types/components/Map/index.d.ts.map +1 -0
  187. package/dist/types/components/Map/interfaces/index.d.ts +76 -0
  188. package/dist/types/components/Map/interfaces/index.d.ts.map +1 -0
  189. package/dist/types/components/Map/state/index.d.ts +21 -0
  190. package/dist/types/components/Map/state/index.d.ts.map +1 -0
  191. package/dist/types/components/Map/utils/colors.d.ts +13 -0
  192. package/dist/types/components/Map/utils/colors.d.ts.map +1 -0
  193. package/dist/types/components/Map/utils/helpers.d.ts +7 -0
  194. package/dist/types/components/Map/utils/helpers.d.ts.map +1 -0
  195. package/dist/types/components/Map/utils/map.d.ts +41 -0
  196. package/dist/types/components/Map/utils/map.d.ts.map +1 -0
  197. package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts +11 -0
  198. package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts.map +1 -0
  199. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts +10 -0
  200. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts.map +1 -0
  201. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts +3 -0
  202. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts.map +1 -0
  203. package/dist/types/components/SingleValueContainer/index.d.ts +5 -0
  204. package/dist/types/components/SingleValueContainer/index.d.ts.map +1 -0
  205. package/dist/types/components/SingleValueContainer/types/props.d.ts +18 -0
  206. package/dist/types/components/SingleValueContainer/types/props.d.ts.map +1 -0
  207. package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts +11 -0
  208. package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts.map +1 -0
  209. package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts +16 -0
  210. package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts.map +1 -0
  211. package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts +15 -0
  212. package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts.map +1 -0
  213. package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts +5 -0
  214. package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts.map +1 -0
  215. package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts +14 -0
  216. package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts.map +1 -0
  217. package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts +23 -0
  218. package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts.map +1 -0
  219. package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts +15 -0
  220. package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map +1 -0
  221. package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts +2 -0
  222. package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts.map +1 -0
  223. package/dist/types/components/Visualization/index.d.ts +23 -0
  224. package/dist/types/components/Visualization/index.d.ts.map +1 -0
  225. package/dist/types/index.d.ts +7 -0
  226. package/dist/types/index.d.ts.map +1 -0
  227. package/package.json +4 -4
@@ -0,0 +1,22 @@
1
+ import "../../../styles/legends.css";
2
+ import type { Legend } from "@hisptz/dhis2-utils";
3
+ import React from "react";
4
+ import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../interfaces/index.js";
5
+ export declare function LegendItem({ legend, value, }: {
6
+ legend: {
7
+ startValue: number;
8
+ endValue: number;
9
+ color: string;
10
+ };
11
+ value: number;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ declare const _default: React.ForwardRefExoticComponent<{
14
+ data: ThematicLayerData[];
15
+ dataItem: ThematicLayerDataItem;
16
+ name?: string | undefined;
17
+ collapsible?: boolean | undefined;
18
+ onCollapse?: (() => void) | undefined;
19
+ legends: Legend[];
20
+ } & React.RefAttributes<HTMLDivElement>>;
21
+ export default _default;
22
+ //# sourceMappingURL=ChoroplethLegend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChoroplethLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,oCAAoC,CAAC;AAG5C,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,KAAK,GACL,EAAE;IACF,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;CACd,2CAWA;;;;;;;;;AAyCD,wBAA4C"}
@@ -0,0 +1,17 @@
1
+ import type { Legend } from "@hisptz/dhis2-utils";
2
+ import { MapOrgUnit } from "../../../../../../interfaces/index.js";
3
+ import { ThematicLayerDataItem } from "../../../../interfaces/index.js";
4
+ import type { LeafletEventHandlerFnMap, LeafletMouseEvent } from "leaflet";
5
+ interface LayerData {
6
+ orgUnit: MapOrgUnit;
7
+ data?: number;
8
+ dataItem: ThematicLayerDataItem;
9
+ }
10
+ export default function Choropleth({ data, legends, customEventHandlers, onLayerClick, }: {
11
+ data: LayerData;
12
+ legends: Legend[];
13
+ customEventHandlers?: LeafletEventHandlerFnMap;
14
+ onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
15
+ }): import("react/jsx-runtime.js").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAMnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAS3E,UAAU,SAAS;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,qBAAqB,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,mBAAmB,EACnB,YAAY,GACZ,EAAE;IACF,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/D,8CA4BA"}
@@ -0,0 +1,5 @@
1
+ import { ThematicLayerData } from "../../../../interfaces/index.js";
2
+ export default function CustomTooltip({ data: dataObject, }: {
3
+ data: ThematicLayerData;
4
+ }): import("react/jsx-runtime.js").JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACrC,IAAI,EAAE,UAAU,GAChB,EAAE;IACF,IAAI,EAAE,iBAAiB,CAAC;CACxB,8CA0BA"}
@@ -0,0 +1,3 @@
1
+ import { CustomThematicLayer } from "../../../interfaces/index.js";
2
+ export default function useThematicLayer(layerId: string): CustomThematicLayer | undefined;
3
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACvC,OAAO,EAAE,MAAM,GACb,mBAAmB,GAAG,SAAS,CAIjC"}
@@ -0,0 +1,5 @@
1
+ export default function ThematicLayer({ layerId, index, }: {
2
+ layerId: string;
3
+ index: number;
4
+ }): import("react/jsx-runtime.js").JSX.Element | null;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/index.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACrC,OAAO,EACP,KAAK,GACL,EAAE;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACd,qDAyDA"}
@@ -0,0 +1,6 @@
1
+ import { CustomBoundaryLayer, CustomGoogleEngineLayer, CustomPointLayer, CustomThematicLayer } from "./interfaces/index.js";
2
+ export default function MapLayer({ layer, index, }: {
3
+ layer: CustomThematicLayer | CustomBoundaryLayer | CustomPointLayer | CustomGoogleEngineLayer;
4
+ index: number;
5
+ }): import("react/jsx-runtime.js").JSX.Element | null;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapLayer/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EACN,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAChC,KAAK,EACL,KAAK,GACL,EAAE;IACF,KAAK,EACF,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,uBAAuB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACd,qDAkBA"}
@@ -0,0 +1,136 @@
1
+ import type { Legend } from "@hisptz/dhis2-utils";
2
+ import { MapOrgUnit, PointOrgUnit } from "../../../interfaces/index.js";
3
+ import { LegendColorScale } from "../../../utils/colors.js";
4
+ import { EarthEngineOptions } from "../components/GoogleEngineLayer/interfaces/index.js";
5
+ import { EarthEngine } from "../components/GoogleEngineLayer/services/engine.js";
6
+ import type { LeafletEventHandlerFnMap, LeafletMouseEvent } from "leaflet";
7
+ export type BoundaryLayerType = "basemap" | "overlay";
8
+ export type ThematicLayerType = "choropleth" | "bubble";
9
+ export declare const SUPPORTED_EARTH_ENGINE_LAYERS: string[];
10
+ export type GoogleEngineLayerType = "population" | "footprints" | "elevation" | "landCover";
11
+ export interface CustomBoundaryLayer extends CustomMapLayer {
12
+ id: string;
13
+ type: BoundaryLayerType;
14
+ enabled: boolean;
15
+ }
16
+ export interface EarthEngineLayerConfig extends CustomMapLayer {
17
+ type: GoogleEngineLayerType;
18
+ aggregations?: string[];
19
+ name?: string;
20
+ filters?: {
21
+ period: string;
22
+ };
23
+ params?: {
24
+ min: number;
25
+ max: number;
26
+ palette?: string;
27
+ };
28
+ }
29
+ export interface CustomGoogleEngineLayer extends CustomMapLayer {
30
+ type: GoogleEngineLayerType;
31
+ options: EarthEngineOptions;
32
+ aggregations?: string[];
33
+ name: string;
34
+ url: string;
35
+ engine?: EarthEngine;
36
+ }
37
+ export interface CustomPointLayer extends CustomMapLayer {
38
+ id: string;
39
+ type: "point";
40
+ label?: string;
41
+ level?: string | number;
42
+ group?: string;
43
+ style?: {
44
+ icon?: string;
45
+ groupSet?: string;
46
+ orgUnitGroups?: Array<{
47
+ name: string;
48
+ symbol: string;
49
+ }>;
50
+ };
51
+ points?: Array<PointOrgUnit>;
52
+ }
53
+ export type DataItemType = "dataElement" | "indicator" | "programIndicator";
54
+ export interface ThematicLayerDataItem {
55
+ id: string;
56
+ displayName: string;
57
+ type: DataItemType;
58
+ legendSet?: string;
59
+ legendConfig?: {
60
+ colorClass: LegendColorScale;
61
+ scale: number;
62
+ };
63
+ }
64
+ export interface ThematicLayerControl {
65
+ position: "topleft" | "topright" | "bottomleft" | "bottomright";
66
+ enabled: boolean;
67
+ }
68
+ export interface ThematicLayerData {
69
+ orgUnit: MapOrgUnit;
70
+ data?: number;
71
+ dataItem: ThematicLayerDataItem;
72
+ }
73
+ export interface ThematicLayerRawData {
74
+ orgUnit: string;
75
+ data?: number;
76
+ dataItem: string;
77
+ }
78
+ export interface CustomChoroplethLayer extends CustomMapLayer {
79
+ enabled: boolean;
80
+ name?: string;
81
+ data: ThematicLayerData[];
82
+ dataItem: ThematicLayerDataItem;
83
+ type: "choropleth";
84
+ control?: ThematicLayerControl;
85
+ legends?: Legend[];
86
+ customEventHandlers?: LeafletEventHandlerFnMap;
87
+ }
88
+ export interface CustomBubbleLayer extends CustomMapLayer {
89
+ enabled: boolean;
90
+ name?: string;
91
+ data: ThematicLayerData[];
92
+ dataItem: ThematicLayerDataItem;
93
+ type: "bubble";
94
+ control?: ThematicLayerControl;
95
+ legends?: Legend[];
96
+ radius?: {
97
+ min: number;
98
+ max: number;
99
+ };
100
+ }
101
+ export type CustomThematicLayer = CustomBubbleLayer | CustomChoroplethLayer;
102
+ interface LayerData {
103
+ orgUnit: MapOrgUnit;
104
+ data?: number;
105
+ dataItem?: ThematicLayerDataItem;
106
+ }
107
+ export interface ThematicLayerConfig {
108
+ id: string;
109
+ data?: ThematicLayerRawData[];
110
+ enabled: boolean;
111
+ name?: string;
112
+ dataItem: ThematicLayerDataItem;
113
+ type: ThematicLayerType;
114
+ control?: ThematicLayerControl;
115
+ customEventHandlers?: LeafletEventHandlerFnMap;
116
+ onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
117
+ radius?: {
118
+ min: number;
119
+ max: number;
120
+ };
121
+ }
122
+ export interface CustomMapLayer {
123
+ id: string;
124
+ type: string;
125
+ enabled: boolean;
126
+ customEventHandlers?: LeafletEventHandlerFnMap;
127
+ onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
128
+ }
129
+ export type MapLayer = CustomBoundaryLayer | ThematicLayerConfig | CustomPointLayer | CustomGoogleEngineLayer;
130
+ export interface MapLayerProps {
131
+ enabled: boolean;
132
+ type: "boundary" | "thematic" | "external" | "point" | "earthEngine";
133
+ layer: MapLayer;
134
+ }
135
+ export {};
136
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/MapLayer/interfaces/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5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QACR,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACZ,CAAC;CACF;AAED,MAAM,WAAW,cAAc;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/D;AAED,MAAM,MAAM,QAAQ,GACjB,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,uBAAuB,CAAC;AAE3B,MAAM,WAAW,aAAa;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,aAAa,CAAC;IACrE,KAAK,EAAE,QAAQ,CAAC;CAChB"}
@@ -0,0 +1,10 @@
1
+ import { CustomGoogleEngineLayer, CustomPointLayer, EarthEngineLayerConfig } from "../../../../MapLayer/interfaces";
2
+ export declare function useThematicLayers(): any;
3
+ export declare function usePointLayer(): {
4
+ loading: boolean;
5
+ sanitizeLayer: (layer: CustomPointLayer) => Promise<CustomPointLayer | undefined>;
6
+ };
7
+ export declare function useGoogleEngineLayers(): {
8
+ sanitizeLayers: (layers: EarthEngineLayerConfig[]) => Promise<CustomGoogleEngineLayer[]>;
9
+ };
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACN,uBAAuB,EACvB,gBAAgB,EAEhB,sBAAsB,EAEtB,MAAM,iCAAiC,CAAC;AAiFzC,wBAAgB,iBAAiB,IAAI,GAAG,CA8KvC;AAED,wBAAgB,aAAa;;2BAoDnB,gBAAgB,KACrB,QAAQ,gBAAgB,GAAG,SAAS,CAAC;EA+DzC;AAED,wBAAgB,qBAAqB;6BAwB1B,sBAAsB,EAAE,KAC9B,QAAQ,uBAAuB,EAAE,CAAC;EA0DtC"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { MapLayerConfig } from "../../../MapArea/interfaces/index.js";
3
+ export declare function MapLayersProvider({ layers, children, }: {
4
+ layers: MapLayerConfig;
5
+ children: React.ReactNode;
6
+ }): import("react/jsx-runtime.js").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAgBtE,wBAAgB,iBAAiB,CAAC,EACjC,MAAM,EACN,QAAQ,GACR,EAAE;IACF,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,8CAmIA"}
@@ -0,0 +1,16 @@
1
+ export declare function useMapOrganisationUnit(): {
2
+ orgUnitSelection: import("@hisptz/dhis2-utils").OrgUnitSelection;
3
+ orgUnits?: import("../../../index.js").MapOrgUnit[] | undefined;
4
+ };
5
+ export declare function useMapPeriods(): {
6
+ periods?: import("@hisptz/dhis2-utils").BasePeriod[] | undefined;
7
+ range?: {
8
+ start: Date;
9
+ end: Date;
10
+ } | undefined;
11
+ } | undefined;
12
+ export declare function useMapLayers(): {
13
+ layers: import("../../MapLayer/interfaces/index.js").CustomMapLayer[];
14
+ updateLayer: (id: string, updatedLayer: import("../../MapLayer/interfaces/index.js").CustomMapLayer) => void;
15
+ };
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/MapProvider/hooks/index.ts"],"names":[],"mappings":"AAOA,wBAAgB,sBAAsB;;;EAErC;AAED,wBAAgB,aAAa;;;;;;cAE5B;AAED,wBAAgB,YAAY;;;EAE3B"}
@@ -0,0 +1,3 @@
1
+ import { MapProviderProps } from "../../interfaces/index.js";
2
+ export declare function MapProvider({ children, orgUnitSelection, periodSelection, }: MapProviderProps): import("react/jsx-runtime.js").JSX.Element | null;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapProvider/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AA6BzE,wBAAgB,WAAW,CAAC,EAC3B,QAAQ,EACR,gBAAgB,EAChB,eAAe,GACf,EAAE,gBAAgB,qDA6ElB"}
@@ -0,0 +1,5 @@
1
+ import { LatLngTuple } from "leaflet";
2
+ export default function MapUpdater({ bounds }: {
3
+ bounds: LatLngTuple[];
4
+ }): import("react/jsx-runtime.js").JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapUpdater/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,WAAW,EAAE,CAAA;CAAE,8CAGvE"}
@@ -0,0 +1,3 @@
1
+ import { ThematicLayerConfigModalProps } from "./types";
2
+ export declare function ThematicLayerConfigModal({ open, exclude, config, onClose, onChange, ...props }: ThematicLayerConfigModalProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ThematicLayerConfigModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThematicLayerConfigModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAexD,wBAAgB,wBAAwB,CAAC,EACxC,IAAI,EACJ,OAAO,EACP,MAAM,EACN,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,6BAA6B,2CA6B/B"}
@@ -0,0 +1,3 @@
1
+ import { ThematicLayerConfigurationProps } from "./types/index.js";
2
+ export declare function ThematicLayerConfiguration({ exclude, form, }: ThematicLayerConfigurationProps): import("react/jsx-runtime.js").JSX.Element;
3
+ //# sourceMappingURL=ThematicLayerConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThematicLayerConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AAInE,wBAAgB,0BAA0B,CAAC,EAC1C,OAAO,EACP,IAAI,GACJ,EAAE,+BAA+B,8CA4JjC"}
@@ -0,0 +1,8 @@
1
+ declare const ColorScale: ({ scale, bins, width, onClick, }: {
2
+ scale: string;
3
+ bins: number;
4
+ width: number;
5
+ onClick: (scale: string) => void;
6
+ }) => import("react/jsx-runtime").JSX.Element;
7
+ export default ColorScale;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU;WAMR,MAAM;UACP,MAAM;WACL,MAAM;qBACI,MAAM,KAAK,IAAI;6CAsBhC,CAAC;AAEF,eAAe,UAAU,CAAC"}