@hisptz/dhis2-analytics 2.0.0-alpha.0 → 2.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (616) hide show
  1. package/dist/components/ChartAnalytics/ChartAnalytics.stories.js +20 -43
  2. package/dist/components/ChartAnalytics/DHIS2Chart.js +17 -43
  3. package/dist/components/ChartAnalytics/DHIS2Chart.js.map +1 -1
  4. package/dist/components/ChartAnalytics/components/DownloadMenu/components/Menu.js +14 -16
  5. package/dist/components/ChartAnalytics/components/DownloadMenu/components/Menu.js.map +1 -1
  6. package/dist/components/ChartAnalytics/components/DownloadMenu/constants/menu.js +8 -14
  7. package/dist/components/ChartAnalytics/components/DownloadMenu/index.js +19 -21
  8. package/dist/components/ChartAnalytics/components/DownloadMenu/index.js.map +1 -1
  9. package/dist/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.js +0 -1
  10. package/dist/components/ChartAnalytics/hooks/useChart.js +11 -13
  11. package/dist/components/ChartAnalytics/hooks/useChart.js.map +1 -1
  12. package/dist/components/ChartAnalytics/index.js +1 -12
  13. package/dist/components/ChartAnalytics/index.js.map +1 -1
  14. package/dist/components/ChartAnalytics/models/bar.js +3 -6
  15. package/dist/components/ChartAnalytics/models/bar.js.map +1 -1
  16. package/dist/components/ChartAnalytics/models/column.js +6 -9
  17. package/dist/components/ChartAnalytics/models/column.js.map +1 -1
  18. package/dist/components/ChartAnalytics/models/index.js +1 -6
  19. package/dist/components/ChartAnalytics/models/index.js.map +1 -1
  20. package/dist/components/ChartAnalytics/models/line.js +6 -8
  21. package/dist/components/ChartAnalytics/models/line.js.map +1 -1
  22. package/dist/components/ChartAnalytics/models/multi-series.js +26 -15
  23. package/dist/components/ChartAnalytics/models/multi-series.js.map +1 -1
  24. package/dist/components/ChartAnalytics/models/pie.js +8 -8
  25. package/dist/components/ChartAnalytics/models/pie.js.map +1 -1
  26. package/dist/components/ChartAnalytics/services/export.js +7 -20
  27. package/dist/components/ChartAnalytics/services/export.js.map +1 -1
  28. package/dist/components/ChartAnalytics/styles/custom-highchart.css +40 -0
  29. package/dist/components/ChartAnalytics/styles/custom-highchart.css.map +1 -0
  30. package/dist/components/ChartAnalytics/types/props.js +0 -1
  31. package/dist/components/ChartAnalytics/utils/chart.js +24 -31
  32. package/dist/components/ChartAnalytics/utils/chart.js.map +1 -1
  33. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.js +14 -23
  34. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.js.map +1 -1
  35. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.stories.js +3 -10
  36. package/dist/components/CircularProgressDashboard/index.js +2 -19
  37. package/dist/components/CircularProgressDashboard/index.js.map +1 -1
  38. package/dist/components/CircularProgressDashboard/types/props.js +0 -1
  39. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.js +13 -15
  40. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
  41. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.stories.js +5 -14
  42. package/dist/components/DHIS2PivotTable/components/Table/index.js +4 -6
  43. package/dist/components/DHIS2PivotTable/components/TableBody/index.js +30 -36
  44. package/dist/components/DHIS2PivotTable/components/TableBody/index.js.map +1 -1
  45. package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js +27 -33
  46. package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
  47. package/dist/components/DHIS2PivotTable/index.js +2 -19
  48. package/dist/components/DHIS2PivotTable/index.js.map +1 -1
  49. package/dist/components/DHIS2PivotTable/interfaces/index.js +0 -1
  50. package/dist/components/DHIS2PivotTable/services/engine.js +10 -18
  51. package/dist/components/DHIS2PivotTable/services/engine.js.map +1 -1
  52. package/dist/components/DHIS2PivotTable/state/engine.js +6 -9
  53. package/dist/components/DHIS2PivotTable/state/engine.js.map +1 -1
  54. package/dist/components/Map/DHIS2Map.js +13 -20
  55. package/dist/components/Map/DHIS2Map.js.map +1 -1
  56. package/dist/components/Map/DHIS2Map.stories.js +3 -17
  57. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.js +15 -21
  58. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.js.map +1 -1
  59. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.stories.js +10 -15
  60. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js +16 -18
  61. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js.map +1 -1
  62. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.stories.js +7 -12
  63. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.js +24 -30
  64. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.js.map +1 -1
  65. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.js +42 -49
  66. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.js.map +1 -1
  67. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/Name.js +16 -22
  68. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/Name.js.map +1 -1
  69. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.js +26 -32
  70. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.js.map +1 -1
  71. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.js +10 -16
  72. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.js.map +1 -1
  73. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.js +21 -27
  74. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.js.map +1 -1
  75. package/dist/components/Map/components/EarthEngineLayerConfiguration/hooks/data.js +16 -19
  76. package/dist/components/Map/components/EarthEngineLayerConfiguration/hooks/data.js.map +1 -1
  77. package/dist/components/Map/components/EarthEngineLayerConfiguration/index.js +2 -19
  78. package/dist/components/Map/components/EarthEngineLayerConfiguration/index.js.map +1 -1
  79. package/dist/components/Map/components/MapArea/index.js +60 -54
  80. package/dist/components/Map/components/MapArea/index.js.map +1 -1
  81. package/dist/components/Map/components/MapArea/interfaces/index.js +0 -1
  82. package/dist/components/Map/components/MapControls/components/CustomControl/index.js +3 -5
  83. package/dist/components/Map/components/MapControls/components/DownloadControl/index.js +8 -14
  84. package/dist/components/Map/components/MapControls/components/FullscreenControl/index.js +7 -9
  85. package/dist/components/Map/components/MapControls/index.js +22 -17
  86. package/dist/components/Map/components/MapControls/index.js.map +1 -1
  87. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.js +3 -5
  88. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.js.map +1 -1
  89. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/index.js +21 -31
  90. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/index.js.map +1 -1
  91. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.js +59 -34
  92. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.js.map +1 -1
  93. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.js +99 -89
  94. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.js.map +1 -1
  95. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.js +9 -14
  96. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.js.map +1 -1
  97. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/index.js +62 -69
  98. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/index.js.map +1 -1
  99. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.js +0 -1
  100. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/services/api.js +31466 -0
  101. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/services/api.js.map +1 -0
  102. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.js +43 -43
  103. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.js.map +1 -1
  104. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.js +34 -31
  105. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.js.map +1 -1
  106. package/dist/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.js +6 -8
  107. package/dist/components/Map/components/MapLayer/components/LegendArea/index.js +46 -57
  108. package/dist/components/Map/components/MapLayer/components/LegendArea/index.js.map +1 -1
  109. package/dist/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.js +38 -30
  110. package/dist/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.js.map +1 -1
  111. package/dist/components/Map/components/MapLayer/components/PointLayer/hooks/index.js +5 -7
  112. package/dist/components/Map/components/MapLayer/components/PointLayer/hooks/index.js.map +1 -1
  113. package/dist/components/Map/components/MapLayer/components/PointLayer/index.js +21 -28
  114. package/dist/components/Map/components/MapLayer/components/PointLayer/index.js.map +1 -1
  115. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.js +39 -13
  116. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.js.map +1 -1
  117. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.js +40 -32
  118. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.js.map +1 -1
  119. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.js +13 -20
  120. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.js.map +1 -1
  121. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.js +17 -23
  122. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.js.map +1 -1
  123. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js +30 -25
  124. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js.map +1 -1
  125. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.js +17 -20
  126. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.js.map +1 -1
  127. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.js +15 -21
  128. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.js.map +1 -1
  129. package/dist/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.js +6 -8
  130. package/dist/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.js.map +1 -1
  131. package/dist/components/Map/components/MapLayer/components/ThematicLayer/index.js +16 -24
  132. package/dist/components/Map/components/MapLayer/components/ThematicLayer/index.js.map +1 -1
  133. package/dist/components/Map/components/MapLayer/components/ThematicLayer/styles/legends.css +56 -0
  134. package/dist/components/Map/components/MapLayer/components/ThematicLayer/styles/legends.css.map +1 -0
  135. package/dist/components/Map/components/MapLayer/index.js +10 -18
  136. package/dist/components/Map/components/MapLayer/index.js.map +1 -1
  137. package/dist/components/Map/components/MapLayer/interfaces/index.js +7 -4
  138. package/dist/components/Map/components/MapLayer/interfaces/index.js.map +1 -1
  139. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.js +59 -63
  140. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.js.map +1 -1
  141. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/index.js +30 -36
  142. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/index.js.map +1 -1
  143. package/dist/components/Map/components/MapProvider/hooks/index.js +6 -10
  144. package/dist/components/Map/components/MapProvider/hooks/index.js.map +1 -1
  145. package/dist/components/Map/components/MapProvider/index.js +25 -31
  146. package/dist/components/Map/components/MapProvider/index.js.map +1 -1
  147. package/dist/components/Map/components/MapUpdater/index.js +5 -7
  148. package/dist/components/Map/components/MapUpdater/index.js.map +1 -1
  149. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.js +15 -21
  150. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.js.map +1 -1
  151. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.stories.js +5 -10
  152. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.js +53 -60
  153. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.js.map +1 -1
  154. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.stories.js +7 -12
  155. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.js +21 -15
  156. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.js.map +1 -1
  157. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.js +1 -4
  158. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.js +22 -30
  159. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.js.map +1 -1
  160. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.js +18 -21
  161. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.js.map +1 -1
  162. package/dist/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.js +23 -30
  163. package/dist/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.js.map +1 -1
  164. package/dist/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.js +16 -22
  165. package/dist/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.js +16 -22
  166. package/dist/components/Map/components/ThematicLayerConfiguration/components/RadiusField.js +16 -22
  167. package/dist/components/Map/components/ThematicLayerConfiguration/components/TypeField.js +18 -24
  168. package/dist/components/Map/components/ThematicLayerConfiguration/index.js +3 -26
  169. package/dist/components/Map/components/ThematicLayerConfiguration/index.js.map +1 -1
  170. package/dist/components/Map/components/ThematicLayerConfiguration/types/index.js +0 -1
  171. package/dist/components/Map/constants/colors.js +1 -4
  172. package/dist/components/Map/constants/legendSet.js +1 -3
  173. package/dist/components/Map/hooks/map.js +17 -21
  174. package/dist/components/Map/hooks/map.js.map +1 -1
  175. package/dist/components/Map/index.js +5 -40
  176. package/dist/components/Map/index.js.map +1 -1
  177. package/dist/components/Map/interfaces/index.js +0 -1
  178. package/dist/components/Map/state/index.js +5 -9
  179. package/dist/components/Map/state/index.js.map +1 -1
  180. package/dist/components/Map/utils/colors.js +18 -22
  181. package/dist/components/Map/utils/colors.js.map +1 -1
  182. package/dist/components/Map/utils/helpers.js +3 -11
  183. package/dist/components/Map/utils/map.js +25 -24
  184. package/dist/components/Map/utils/map.js.map +1 -1
  185. package/dist/components/SingleValueContainer/SingleValueContainer.stories.js +3 -11
  186. package/dist/components/SingleValueContainer/SingleValueVisualizer.js +17 -35
  187. package/dist/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
  188. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js +14 -21
  189. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
  190. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.js +7 -13
  191. package/dist/components/SingleValueContainer/index.js +3 -19
  192. package/dist/components/SingleValueContainer/index.js.map +1 -1
  193. package/dist/components/SingleValueContainer/types/props.js +0 -1
  194. package/dist/components/Visualization/components/AnalyticsDataProvider/index.js +50 -26
  195. package/dist/components/Visualization/components/AnalyticsDataProvider/index.js.map +1 -1
  196. package/dist/components/Visualization/components/DimensionsProvider/index.js +13 -18
  197. package/dist/components/Visualization/components/LayoutProvider/index.js +11 -14
  198. package/dist/components/Visualization/components/LayoutProvider/index.js.map +1 -1
  199. package/dist/components/Visualization/components/VisualizationDimensionSelector/index.js +30 -36
  200. package/dist/components/Visualization/components/VisualizationDimensionSelector/index.js.map +1 -1
  201. package/dist/components/Visualization/components/VisualizationProvider/index.js +14 -10
  202. package/dist/components/Visualization/components/VisualizationProvider/index.js.map +1 -1
  203. package/dist/components/Visualization/components/VisualizationSelector/index.js +46 -57
  204. package/dist/components/Visualization/components/VisualizationSelector/index.js.map +1 -1
  205. package/dist/components/Visualization/components/VisualizationTypeProvider/index.js +16 -19
  206. package/dist/components/Visualization/components/VisualizationTypeProvider/index.js.map +1 -1
  207. package/dist/components/Visualization/components/VisualizationTypeSelector/index.js +37 -27
  208. package/dist/components/Visualization/components/VisualizationTypeSelector/index.js.map +1 -1
  209. package/dist/components/Visualization/index.js +27 -33
  210. package/dist/components/Visualization/index.js.map +1 -1
  211. package/dist/index.js +6 -47
  212. package/dist/index.js.map +1 -1
  213. package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts +4 -4
  214. package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts.map +1 -1
  215. package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts +2 -2
  216. package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts.map +1 -1
  217. package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts +2 -2
  218. package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts.map +1 -1
  219. package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts +1 -1
  220. package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts.map +1 -1
  221. package/dist/types/components/ChartAnalytics/index.d.ts +1 -1
  222. package/dist/types/components/ChartAnalytics/index.d.ts.map +1 -1
  223. package/dist/types/components/ChartAnalytics/models/bar.d.ts +1 -1
  224. package/dist/types/components/ChartAnalytics/models/bar.d.ts.map +1 -1
  225. package/dist/types/components/ChartAnalytics/models/column.d.ts +1 -1
  226. package/dist/types/components/ChartAnalytics/models/column.d.ts.map +1 -1
  227. package/dist/types/components/ChartAnalytics/models/index.d.ts +1 -1
  228. package/dist/types/components/ChartAnalytics/models/index.d.ts.map +1 -1
  229. package/dist/types/components/ChartAnalytics/models/line.d.ts +1 -1
  230. package/dist/types/components/ChartAnalytics/models/line.d.ts.map +1 -1
  231. package/dist/types/components/ChartAnalytics/models/multi-series.d.ts +1 -1
  232. package/dist/types/components/ChartAnalytics/models/multi-series.d.ts.map +1 -1
  233. package/dist/types/components/ChartAnalytics/models/pie.d.ts +1 -1
  234. package/dist/types/components/ChartAnalytics/models/pie.d.ts.map +1 -1
  235. package/dist/types/components/ChartAnalytics/services/export.d.ts.map +1 -1
  236. package/dist/types/components/ChartAnalytics/utils/chart.d.ts +2 -2
  237. package/dist/types/components/ChartAnalytics/utils/chart.d.ts.map +1 -1
  238. package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts +2 -2
  239. package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts.map +1 -1
  240. package/dist/types/components/CircularProgressDashboard/index.d.ts +2 -2
  241. package/dist/types/components/CircularProgressDashboard/index.d.ts.map +1 -1
  242. package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts +2 -2
  243. package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts.map +1 -1
  244. package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts +1 -1
  245. package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts.map +1 -1
  246. package/dist/types/components/DHIS2PivotTable/index.d.ts +2 -2
  247. package/dist/types/components/DHIS2PivotTable/index.d.ts.map +1 -1
  248. package/dist/types/components/DHIS2PivotTable/services/engine.d.ts +1 -1
  249. package/dist/types/components/DHIS2PivotTable/services/engine.d.ts.map +1 -1
  250. package/dist/types/components/DHIS2PivotTable/state/engine.d.ts +2 -2
  251. package/dist/types/components/DHIS2PivotTable/state/engine.d.ts.map +1 -1
  252. package/dist/types/components/Map/DHIS2Map.d.ts +1 -1
  253. package/dist/types/components/Map/DHIS2Map.d.ts.map +1 -1
  254. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts +2 -2
  255. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts.map +1 -1
  256. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts +1 -1
  257. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts.map +1 -1
  258. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts +1 -1
  259. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts.map +1 -1
  260. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts +1 -1
  261. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts.map +1 -1
  262. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts +1 -1
  263. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts.map +1 -1
  264. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts +1 -1
  265. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts.map +1 -1
  266. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts +1 -1
  267. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts.map +1 -1
  268. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts +1 -1
  269. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts.map +1 -1
  270. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts +2 -2
  271. package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts.map +1 -1
  272. package/dist/types/components/Map/components/MapArea/index.d.ts +1 -1
  273. package/dist/types/components/Map/components/MapArea/index.d.ts.map +1 -1
  274. package/dist/types/components/Map/components/MapControls/index.d.ts +2 -2
  275. package/dist/types/components/Map/components/MapControls/index.d.ts.map +1 -1
  276. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts +1 -1
  277. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts.map +1 -1
  278. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts +2 -2
  279. package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts.map +1 -1
  280. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts +2 -2
  281. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts.map +1 -1
  282. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts +1 -1
  283. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts.map +1 -1
  284. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts +2 -2
  285. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts.map +1 -1
  286. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts +1 -1
  287. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts.map +1 -1
  288. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts +1 -1
  289. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts.map +1 -1
  290. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts +2 -2
  291. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts.map +1 -1
  292. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts +2 -2
  293. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts.map +1 -1
  294. package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts +3 -3
  295. package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts.map +1 -1
  296. package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts.map +1 -1
  297. package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts +1 -1
  298. package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts.map +1 -1
  299. package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts +1 -1
  300. package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts.map +1 -1
  301. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts +1 -1
  302. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts.map +1 -1
  303. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts +2 -2
  304. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts.map +1 -1
  305. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts +1 -1
  306. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts.map +1 -1
  307. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts +2 -2
  308. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts.map +1 -1
  309. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +1 -1
  310. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +1 -1
  311. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts +4 -4
  312. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts.map +1 -1
  313. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts +2 -2
  314. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts.map +1 -1
  315. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts +1 -1
  316. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts.map +1 -1
  317. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts +1 -1
  318. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts.map +1 -1
  319. package/dist/types/components/Map/components/MapLayer/index.d.ts +2 -2
  320. package/dist/types/components/Map/components/MapLayer/index.d.ts.map +1 -1
  321. package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts +4 -4
  322. package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts.map +1 -1
  323. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts +2 -2
  324. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map +1 -1
  325. package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts +3 -3
  326. package/dist/types/components/Map/components/MapProvider/index.d.ts +2 -2
  327. package/dist/types/components/Map/components/MapProvider/index.d.ts.map +1 -1
  328. package/dist/types/components/Map/components/MapUpdater/index.d.ts +1 -1
  329. package/dist/types/components/Map/components/MapUpdater/index.d.ts.map +1 -1
  330. package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts +2 -2
  331. package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts.map +1 -1
  332. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts +1 -1
  333. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts.map +1 -1
  334. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts +1 -1
  335. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts.map +1 -1
  336. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts +1 -1
  337. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts.map +1 -1
  338. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts +1 -1
  339. package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts.map +1 -1
  340. package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts +3 -3
  341. package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts.map +1 -1
  342. package/dist/types/components/Map/hooks/map.d.ts.map +1 -1
  343. package/dist/types/components/Map/index.d.ts +5 -5
  344. package/dist/types/components/Map/index.d.ts.map +1 -1
  345. package/dist/types/components/Map/interfaces/index.d.ts +2 -2
  346. package/dist/types/components/Map/interfaces/index.d.ts.map +1 -1
  347. package/dist/types/components/Map/state/index.d.ts +2 -2
  348. package/dist/types/components/Map/state/index.d.ts.map +1 -1
  349. package/dist/types/components/Map/utils/colors.d.ts +1 -1
  350. package/dist/types/components/Map/utils/colors.d.ts.map +1 -1
  351. package/dist/types/components/Map/utils/map.d.ts.map +1 -1
  352. package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts +3 -3
  353. package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts.map +1 -1
  354. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts +1 -1
  355. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts.map +1 -1
  356. package/dist/types/components/SingleValueContainer/index.d.ts +3 -2
  357. package/dist/types/components/SingleValueContainer/index.d.ts.map +1 -1
  358. package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts +1 -1
  359. package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts.map +1 -1
  360. package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts +2 -2
  361. package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts.map +1 -1
  362. package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts +1 -1
  363. package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts.map +1 -1
  364. package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts +4 -4
  365. package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts.map +1 -1
  366. package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts +10 -10
  367. package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts.map +1 -1
  368. package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts +2 -2
  369. package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map +1 -1
  370. package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts +1 -1
  371. package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts.map +1 -1
  372. package/dist/types/components/Visualization/index.d.ts +6 -6
  373. package/dist/types/components/Visualization/index.d.ts.map +1 -1
  374. package/dist/types/index.d.ts +6 -6
  375. package/dist/types/index.d.ts.map +1 -1
  376. package/package.json +5 -4
  377. package/dist/components/ChartAnalytics/ChartAnalytics.stories.mjs +0 -254
  378. package/dist/components/ChartAnalytics/ChartAnalytics.stories.mjs.map +0 -1
  379. package/dist/components/ChartAnalytics/DHIS2Chart.mjs +0 -36
  380. package/dist/components/ChartAnalytics/DHIS2Chart.mjs.map +0 -1
  381. package/dist/components/ChartAnalytics/components/DownloadMenu/components/Menu.mjs +0 -52
  382. package/dist/components/ChartAnalytics/components/DownloadMenu/components/Menu.mjs.map +0 -1
  383. package/dist/components/ChartAnalytics/components/DownloadMenu/constants/menu.mjs +0 -42
  384. package/dist/components/ChartAnalytics/components/DownloadMenu/constants/menu.mjs.map +0 -1
  385. package/dist/components/ChartAnalytics/components/DownloadMenu/index.mjs +0 -65
  386. package/dist/components/ChartAnalytics/components/DownloadMenu/index.mjs.map +0 -1
  387. package/dist/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.mjs +0 -3
  388. package/dist/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.mjs.map +0 -1
  389. package/dist/components/ChartAnalytics/hooks/useChart.mjs +0 -43
  390. package/dist/components/ChartAnalytics/hooks/useChart.mjs.map +0 -1
  391. package/dist/components/ChartAnalytics/index.mjs +0 -3
  392. package/dist/components/ChartAnalytics/index.mjs.map +0 -1
  393. package/dist/components/ChartAnalytics/models/bar.mjs +0 -21
  394. package/dist/components/ChartAnalytics/models/bar.mjs.map +0 -1
  395. package/dist/components/ChartAnalytics/models/column.mjs +0 -48
  396. package/dist/components/ChartAnalytics/models/column.mjs.map +0 -1
  397. package/dist/components/ChartAnalytics/models/index.mjs +0 -117
  398. package/dist/components/ChartAnalytics/models/index.mjs.map +0 -1
  399. package/dist/components/ChartAnalytics/models/line.mjs +0 -31
  400. package/dist/components/ChartAnalytics/models/line.mjs.map +0 -1
  401. package/dist/components/ChartAnalytics/models/multi-series.mjs +0 -99
  402. package/dist/components/ChartAnalytics/models/multi-series.mjs.map +0 -1
  403. package/dist/components/ChartAnalytics/models/pie.mjs +0 -51
  404. package/dist/components/ChartAnalytics/models/pie.mjs.map +0 -1
  405. package/dist/components/ChartAnalytics/services/export.mjs +0 -35
  406. package/dist/components/ChartAnalytics/services/export.mjs.map +0 -1
  407. package/dist/components/ChartAnalytics/types/props.mjs +0 -3
  408. package/dist/components/ChartAnalytics/types/props.mjs.map +0 -1
  409. package/dist/components/ChartAnalytics/utils/chart.mjs +0 -130
  410. package/dist/components/ChartAnalytics/utils/chart.mjs.map +0 -1
  411. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.mjs +0 -66
  412. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.mjs.map +0 -1
  413. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.stories.mjs +0 -42
  414. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.stories.mjs.map +0 -1
  415. package/dist/components/CircularProgressDashboard/index.mjs +0 -4
  416. package/dist/components/CircularProgressDashboard/index.mjs.map +0 -1
  417. package/dist/components/CircularProgressDashboard/types/props.mjs +0 -3
  418. package/dist/components/CircularProgressDashboard/types/props.mjs.map +0 -1
  419. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.mjs +0 -26
  420. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.mjs.map +0 -1
  421. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.stories.mjs +0 -30
  422. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.stories.mjs.map +0 -1
  423. package/dist/components/DHIS2PivotTable/components/Table/index.mjs +0 -10
  424. package/dist/components/DHIS2PivotTable/components/Table/index.mjs.map +0 -1
  425. package/dist/components/DHIS2PivotTable/components/TableBody/index.mjs +0 -106
  426. package/dist/components/DHIS2PivotTable/components/TableBody/index.mjs.map +0 -1
  427. package/dist/components/DHIS2PivotTable/components/TableHeaders/index.mjs +0 -94
  428. package/dist/components/DHIS2PivotTable/components/TableHeaders/index.mjs.map +0 -1
  429. package/dist/components/DHIS2PivotTable/index.mjs +0 -4
  430. package/dist/components/DHIS2PivotTable/index.mjs.map +0 -1
  431. package/dist/components/DHIS2PivotTable/interfaces/index.mjs +0 -3
  432. package/dist/components/DHIS2PivotTable/interfaces/index.mjs.map +0 -1
  433. package/dist/components/DHIS2PivotTable/services/engine.mjs +0 -93
  434. package/dist/components/DHIS2PivotTable/services/engine.mjs.map +0 -1
  435. package/dist/components/DHIS2PivotTable/state/engine.mjs +0 -17
  436. package/dist/components/DHIS2PivotTable/state/engine.mjs.map +0 -1
  437. package/dist/components/Map/DHIS2Map.mjs +0 -65
  438. package/dist/components/Map/DHIS2Map.mjs.map +0 -1
  439. package/dist/components/Map/DHIS2Map.stories.mjs +0 -366
  440. package/dist/components/Map/DHIS2Map.stories.mjs.map +0 -1
  441. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.mjs +0 -41
  442. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.mjs.map +0 -1
  443. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.stories.mjs +0 -34
  444. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.stories.mjs.map +0 -1
  445. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.mjs +0 -26
  446. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.mjs.map +0 -1
  447. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.stories.mjs +0 -21
  448. package/dist/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.stories.mjs.map +0 -1
  449. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.mjs +0 -67
  450. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.mjs.map +0 -1
  451. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.mjs +0 -134
  452. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.mjs.map +0 -1
  453. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/Name.mjs +0 -44
  454. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/Name.mjs.map +0 -1
  455. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.mjs +0 -67
  456. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.mjs.map +0 -1
  457. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.mjs +0 -24
  458. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.mjs.map +0 -1
  459. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.mjs +0 -67
  460. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.mjs.map +0 -1
  461. package/dist/components/Map/components/EarthEngineLayerConfiguration/hooks/data.mjs +0 -45
  462. package/dist/components/Map/components/EarthEngineLayerConfiguration/hooks/data.mjs.map +0 -1
  463. package/dist/components/Map/components/EarthEngineLayerConfiguration/index.mjs +0 -4
  464. package/dist/components/Map/components/EarthEngineLayerConfiguration/index.mjs.map +0 -1
  465. package/dist/components/Map/components/MapArea/index.mjs +0 -85
  466. package/dist/components/Map/components/MapArea/index.mjs.map +0 -1
  467. package/dist/components/Map/components/MapArea/interfaces/index.mjs +0 -3
  468. package/dist/components/Map/components/MapArea/interfaces/index.mjs.map +0 -1
  469. package/dist/components/Map/components/MapControls/components/CustomControl/index.mjs +0 -16
  470. package/dist/components/Map/components/MapControls/components/CustomControl/index.mjs.map +0 -1
  471. package/dist/components/Map/components/MapControls/components/DownloadControl/index.mjs +0 -15
  472. package/dist/components/Map/components/MapControls/components/DownloadControl/index.mjs.map +0 -1
  473. package/dist/components/Map/components/MapControls/components/FullscreenControl/index.mjs +0 -13
  474. package/dist/components/Map/components/MapControls/components/FullscreenControl/index.mjs.map +0 -1
  475. package/dist/components/Map/components/MapControls/index.mjs +0 -23
  476. package/dist/components/Map/components/MapControls/index.mjs.map +0 -1
  477. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.mjs +0 -10
  478. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.mjs.map +0 -1
  479. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/index.mjs +0 -52
  480. package/dist/components/Map/components/MapLayer/components/BoundaryLayer/index.mjs.map +0 -1
  481. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.mjs +0 -65
  482. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.mjs.map +0 -1
  483. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.mjs +0 -439
  484. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.mjs.map +0 -1
  485. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.mjs +0 -32
  486. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.mjs.map +0 -1
  487. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/index.mjs +0 -197
  488. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/index.mjs.map +0 -1
  489. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.mjs +0 -3
  490. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.mjs.map +0 -1
  491. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.mjs +0 -359
  492. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.mjs.map +0 -1
  493. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.mjs +0 -82
  494. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.mjs.map +0 -1
  495. package/dist/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.mjs +0 -17
  496. package/dist/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.mjs.map +0 -1
  497. package/dist/components/Map/components/MapLayer/components/LegendArea/index.mjs +0 -179
  498. package/dist/components/Map/components/MapLayer/components/LegendArea/index.mjs.map +0 -1
  499. package/dist/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.mjs +0 -78
  500. package/dist/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.mjs.map +0 -1
  501. package/dist/components/Map/components/MapLayer/components/PointLayer/hooks/index.mjs +0 -11
  502. package/dist/components/Map/components/MapLayer/components/PointLayer/hooks/index.mjs.map +0 -1
  503. package/dist/components/Map/components/MapLayer/components/PointLayer/index.mjs +0 -48
  504. package/dist/components/Map/components/MapLayer/components/PointLayer/index.mjs.map +0 -1
  505. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.mjs +0 -36
  506. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.mjs.map +0 -1
  507. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.mjs +0 -111
  508. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.mjs.map +0 -1
  509. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.mjs +0 -41
  510. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.mjs.map +0 -1
  511. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.mjs +0 -50
  512. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.mjs.map +0 -1
  513. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.mjs +0 -42
  514. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.mjs.map +0 -1
  515. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.mjs +0 -37
  516. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.mjs.map +0 -1
  517. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.mjs +0 -40
  518. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.mjs.map +0 -1
  519. package/dist/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.mjs +0 -12
  520. package/dist/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.mjs.map +0 -1
  521. package/dist/components/Map/components/MapLayer/components/ThematicLayer/index.mjs +0 -55
  522. package/dist/components/Map/components/MapLayer/components/ThematicLayer/index.mjs.map +0 -1
  523. package/dist/components/Map/components/MapLayer/index.mjs +0 -32
  524. package/dist/components/Map/components/MapLayer/index.mjs.map +0 -1
  525. package/dist/components/Map/components/MapLayer/interfaces/index.mjs +0 -5
  526. package/dist/components/Map/components/MapLayer/interfaces/index.mjs.map +0 -1
  527. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.mjs +0 -405
  528. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.mjs.map +0 -1
  529. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/index.mjs +0 -115
  530. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/index.mjs.map +0 -1
  531. package/dist/components/Map/components/MapProvider/hooks/index.mjs +0 -16
  532. package/dist/components/Map/components/MapProvider/hooks/index.mjs.map +0 -1
  533. package/dist/components/Map/components/MapProvider/index.mjs +0 -95
  534. package/dist/components/Map/components/MapProvider/index.mjs.map +0 -1
  535. package/dist/components/Map/components/MapUpdater/index.mjs +0 -11
  536. package/dist/components/Map/components/MapUpdater/index.mjs.map +0 -1
  537. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.mjs +0 -41
  538. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.mjs.map +0 -1
  539. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.stories.mjs +0 -24
  540. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.stories.mjs.map +0 -1
  541. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.mjs +0 -174
  542. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.mjs.map +0 -1
  543. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.stories.mjs +0 -21
  544. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.stories.mjs.map +0 -1
  545. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.mjs +0 -24
  546. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.mjs.map +0 -1
  547. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.mjs +0 -436
  548. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.mjs.map +0 -1
  549. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.mjs +0 -71
  550. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.mjs.map +0 -1
  551. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.mjs +0 -74
  552. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.mjs.map +0 -1
  553. package/dist/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.mjs +0 -57
  554. package/dist/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.mjs.map +0 -1
  555. package/dist/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.mjs +0 -44
  556. package/dist/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.mjs.map +0 -1
  557. package/dist/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.mjs +0 -60
  558. package/dist/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.mjs.map +0 -1
  559. package/dist/components/Map/components/ThematicLayerConfiguration/components/RadiusField.mjs +0 -54
  560. package/dist/components/Map/components/ThematicLayerConfiguration/components/RadiusField.mjs.map +0 -1
  561. package/dist/components/Map/components/ThematicLayerConfiguration/components/TypeField.mjs +0 -63
  562. package/dist/components/Map/components/ThematicLayerConfiguration/components/TypeField.mjs.map +0 -1
  563. package/dist/components/Map/components/ThematicLayerConfiguration/index.mjs +0 -5
  564. package/dist/components/Map/components/ThematicLayerConfiguration/index.mjs.map +0 -1
  565. package/dist/components/Map/components/ThematicLayerConfiguration/types/index.mjs +0 -3
  566. package/dist/components/Map/components/ThematicLayerConfiguration/types/index.mjs.map +0 -1
  567. package/dist/components/Map/constants/colors.mjs +0 -436
  568. package/dist/components/Map/constants/colors.mjs.map +0 -1
  569. package/dist/components/Map/constants/legendSet.mjs +0 -23
  570. package/dist/components/Map/constants/legendSet.mjs.map +0 -1
  571. package/dist/components/Map/hooks/map.mjs +0 -44
  572. package/dist/components/Map/hooks/map.mjs.map +0 -1
  573. package/dist/components/Map/index.mjs +0 -7
  574. package/dist/components/Map/index.mjs.map +0 -1
  575. package/dist/components/Map/interfaces/index.mjs +0 -3
  576. package/dist/components/Map/interfaces/index.mjs.map +0 -1
  577. package/dist/components/Map/state/index.mjs +0 -18
  578. package/dist/components/Map/state/index.mjs.map +0 -1
  579. package/dist/components/Map/utils/colors.mjs +0 -77
  580. package/dist/components/Map/utils/colors.mjs.map +0 -1
  581. package/dist/components/Map/utils/helpers.mjs +0 -18
  582. package/dist/components/Map/utils/helpers.mjs.map +0 -1
  583. package/dist/components/Map/utils/map.mjs +0 -127
  584. package/dist/components/Map/utils/map.mjs.map +0 -1
  585. package/dist/components/SingleValueContainer/SingleValueContainer.stories.mjs +0 -145
  586. package/dist/components/SingleValueContainer/SingleValueContainer.stories.mjs.map +0 -1
  587. package/dist/components/SingleValueContainer/SingleValueVisualizer.mjs +0 -44
  588. package/dist/components/SingleValueContainer/SingleValueVisualizer.mjs.map +0 -1
  589. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.mjs +0 -49
  590. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.mjs.map +0 -1
  591. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.mjs +0 -22
  592. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.mjs.map +0 -1
  593. package/dist/components/SingleValueContainer/index.mjs +0 -4
  594. package/dist/components/SingleValueContainer/index.mjs.map +0 -1
  595. package/dist/components/SingleValueContainer/types/props.mjs +0 -3
  596. package/dist/components/SingleValueContainer/types/props.mjs.map +0 -1
  597. package/dist/components/Visualization/components/AnalyticsDataProvider/index.mjs +0 -67
  598. package/dist/components/Visualization/components/AnalyticsDataProvider/index.mjs.map +0 -1
  599. package/dist/components/Visualization/components/DimensionsProvider/index.mjs +0 -35
  600. package/dist/components/Visualization/components/DimensionsProvider/index.mjs.map +0 -1
  601. package/dist/components/Visualization/components/LayoutProvider/index.mjs +0 -17
  602. package/dist/components/Visualization/components/LayoutProvider/index.mjs.map +0 -1
  603. package/dist/components/Visualization/components/VisualizationDimensionSelector/index.mjs +0 -85
  604. package/dist/components/Visualization/components/VisualizationDimensionSelector/index.mjs.map +0 -1
  605. package/dist/components/Visualization/components/VisualizationProvider/index.mjs +0 -13
  606. package/dist/components/Visualization/components/VisualizationProvider/index.mjs.map +0 -1
  607. package/dist/components/Visualization/components/VisualizationSelector/index.mjs +0 -167
  608. package/dist/components/Visualization/components/VisualizationSelector/index.mjs.map +0 -1
  609. package/dist/components/Visualization/components/VisualizationTypeProvider/index.mjs +0 -23
  610. package/dist/components/Visualization/components/VisualizationTypeProvider/index.mjs.map +0 -1
  611. package/dist/components/Visualization/components/VisualizationTypeSelector/index.mjs +0 -39
  612. package/dist/components/Visualization/components/VisualizationTypeSelector/index.mjs.map +0 -1
  613. package/dist/components/Visualization/index.mjs +0 -113
  614. package/dist/components/Visualization/index.mjs.map +0 -1
  615. package/dist/index.mjs +0 -8
  616. package/dist/index.mjs.map +0 -1
@@ -1,366 +0,0 @@
1
- import { DHIS2Map } from './DHIS2Map';
2
-
3
- const meta = {
4
- title: "DHIS2 Map",
5
- component: DHIS2Map
6
- };
7
- var DHIS2Map_stories_default = meta;
8
- const BaseMap = {
9
- name: "Base map"
10
- };
11
- BaseMap.args = {
12
- orgUnitSelection: {
13
- orgUnits: [],
14
- userOrgUnit: true,
15
- userSubUnit: true,
16
- userSubX2Unit: true
17
- }
18
- };
19
- const Controls = {
20
- name: "Controls"
21
- };
22
- Controls.args = {
23
- orgUnitSelection: {
24
- orgUnits: [],
25
- userOrgUnit: true,
26
- userSubUnit: true,
27
- userSubX2Unit: true
28
- },
29
- controls: [
30
- {
31
- type: "print",
32
- position: "topleft",
33
- options: {
34
- hidden: false,
35
- hideControlContainer: true,
36
- sizeModes: ["A4Landscape", "A4Portrait", "Current"]
37
- }
38
- }
39
- ]
40
- };
41
- const BoundaryLayer = {
42
- name: "Boundary layer"
43
- };
44
- BoundaryLayer.args = {
45
- orgUnitSelection: {
46
- orgUnits: [],
47
- userOrgUnit: true,
48
- userSubUnit: true,
49
- userSubX2Unit: true
50
- },
51
- boundaryLayer: {
52
- enabled: true
53
- }
54
- };
55
- const BoundaryLayerWithLevels = {
56
- name: "Boundary layer with levels"
57
- };
58
- BoundaryLayerWithLevels.args = {
59
- orgUnitSelection: {
60
- orgUnits: [
61
- {
62
- id: "ImspTQPwCqd",
63
- displayName: "Sierra Leone",
64
- name: "Sierra Leone",
65
- path: "/ImspTQPwCqd",
66
- children: []
67
- }
68
- ],
69
- levels: ["2"]
70
- },
71
- boundaryLayer: {
72
- enabled: true
73
- }
74
- };
75
- const ChoroplethThematicLayer = {};
76
- ChoroplethThematicLayer.args = {
77
- orgUnitSelection: {
78
- orgUnits: [],
79
- userOrgUnit: true,
80
- userSubUnit: true,
81
- userSubX2Unit: false
82
- },
83
- boundaryLayer: {
84
- enabled: true
85
- },
86
- thematicLayers: [
87
- {
88
- type: "choropleth",
89
- id: "choropleth",
90
- enabled: true,
91
- dataItem: {
92
- id: "Uvn6LCg7dVU",
93
- displayName: "ANC 1 Coverage",
94
- type: "indicator"
95
- },
96
- control: {
97
- enabled: true,
98
- position: "topright"
99
- }
100
- }
101
- ],
102
- periodSelection: {
103
- periods: ["2022"]
104
- },
105
- legends: {
106
- enabled: true,
107
- position: "topright",
108
- collapsible: true
109
- }
110
- };
111
- const BubbleThematicLayer = {};
112
- BubbleThematicLayer.args = {
113
- orgUnitSelection: {
114
- orgUnits: [],
115
- userOrgUnit: true,
116
- userSubUnit: true,
117
- userSubX2Unit: true
118
- },
119
- boundaryLayer: {
120
- enabled: true
121
- },
122
- thematicLayers: [
123
- {
124
- type: "bubble",
125
- id: "bubble",
126
- enabled: true,
127
- dataItem: {
128
- id: "Uvn6LCg7dVU",
129
- displayName: "ANC 1 Coverage",
130
- type: "indicator"
131
- },
132
- control: {
133
- enabled: true,
134
- position: "topright"
135
- },
136
- radius: {
137
- min: 0,
138
- max: 40
139
- }
140
- }
141
- ],
142
- legends: {
143
- enabled: true,
144
- position: "topright",
145
- collapsible: true
146
- },
147
- periodSelection: {
148
- periods: ["2022"]
149
- },
150
- controls: [
151
- {
152
- type: "fullscreen",
153
- position: "topleft"
154
- }
155
- ]
156
- };
157
- const AllThematicLayers = {};
158
- AllThematicLayers.args = {
159
- orgUnitSelection: {
160
- orgUnits: [],
161
- userOrgUnit: true,
162
- userSubUnit: true,
163
- userSubX2Unit: true
164
- },
165
- boundaryLayer: {
166
- enabled: true
167
- },
168
- thematicLayers: [
169
- {
170
- type: "choropleth",
171
- id: "ReUHfIn0pTQ",
172
- enabled: true,
173
- dataItem: {
174
- id: "ReUHfIn0pTQ",
175
- displayName: "ANC 1-3 Dropout Rate",
176
- type: "indicator",
177
- legendSet: "fqs276KXCXi"
178
- },
179
- control: {
180
- enabled: true,
181
- position: "topright"
182
- }
183
- },
184
- {
185
- type: "choropleth",
186
- id: "Uvn6LCg7dVU",
187
- enabled: true,
188
- dataItem: {
189
- id: "Uvn6LCg7dVU",
190
- displayName: "ANC 1 Coverage",
191
- type: "indicator"
192
- },
193
- control: {
194
- enabled: true,
195
- position: "topright"
196
- }
197
- }
198
- ],
199
- legends: {
200
- enabled: true,
201
- position: "topright",
202
- collapsible: true
203
- },
204
- periodSelection: {
205
- periods: ["2022"]
206
- },
207
- controls: [
208
- {
209
- type: "scale",
210
- position: "bottomleft",
211
- options: {
212
- imperial: false,
213
- metric: true
214
- }
215
- },
216
- {
217
- type: "fullscreen",
218
- position: "bottomleft"
219
- }
220
- ]
221
- };
222
- const ChoroplethThematicLayerWithLevels = {};
223
- ChoroplethThematicLayerWithLevels.args = {
224
- orgUnitSelection: {
225
- orgUnits: [
226
- {
227
- id: "ImspTQPwCqd",
228
- displayName: "Sierra Leone",
229
- name: "Sierra Leone",
230
- path: "/ImspTQPwCqd",
231
- children: []
232
- }
233
- ],
234
- levels: ["3"]
235
- },
236
- boundaryLayer: {
237
- enabled: true
238
- },
239
- thematicLayers: [
240
- {
241
- type: "choropleth",
242
- id: "choropleth",
243
- enabled: true,
244
- dataItem: {
245
- id: "Uvn6LCg7dVU",
246
- displayName: "ANC 1 Coverage",
247
- type: "indicator"
248
- },
249
- control: {
250
- enabled: true,
251
- position: "topright"
252
- }
253
- }
254
- ],
255
- legends: {
256
- enabled: true,
257
- position: "topright",
258
- collapsible: true
259
- },
260
- periodSelection: {
261
- periods: ["2022"]
262
- },
263
- controls: [
264
- {
265
- type: "print",
266
- position: "topleft",
267
- options: {
268
- hidden: false,
269
- hideControlContainer: true,
270
- sizeModes: ["A4Landscape", "A4Portrait", "Current"]
271
- }
272
- }
273
- ]
274
- };
275
- const PointLayer = {};
276
- PointLayer.args = {
277
- orgUnitSelection: {
278
- orgUnits: [],
279
- userOrgUnit: true,
280
- userSubUnit: true,
281
- userSubX2Unit: false
282
- },
283
- thematicLayers: [
284
- {
285
- type: "choropleth",
286
- id: "choropleth",
287
- enabled: true,
288
- dataItem: {
289
- id: "Uvn6LCg7dVU",
290
- displayName: "ANC 1 Coverage",
291
- type: "indicator"
292
- },
293
- control: {
294
- enabled: true,
295
- position: "topright"
296
- }
297
- }
298
- ],
299
- periodSelection: {
300
- periods: ["2022"]
301
- },
302
- pointLayer: {
303
- enabled: true,
304
- label: "Facilities",
305
- level: "m9lBJogzE95",
306
- style: {
307
- groupSet: "J5jldMd8OHv"
308
- }
309
- }
310
- };
311
- const GoogleEarthEngineLayers = {};
312
- GoogleEarthEngineLayers.args = {
313
- orgUnitSelection: {
314
- orgUnits: [],
315
- userOrgUnit: true,
316
- userSubUnit: true,
317
- userSubX2Unit: false
318
- },
319
- thematicLayers: [],
320
- periodSelection: {
321
- periods: ["2022"]
322
- },
323
- earthEngineLayers: [
324
- {
325
- name: "Population",
326
- type: "population",
327
- id: "population",
328
- enabled: false,
329
- params: {
330
- min: 0,
331
- max: 10,
332
- palette: "#f7fbff,#deebf7,#c6dbef,#9ecae1,#6baed6,#4292c6,#2171b5,#08519c,#08306b"
333
- },
334
- aggregations: ["sum", "mean"],
335
- filters: {
336
- period: "2020"
337
- }
338
- },
339
- {
340
- name: "Footprints",
341
- type: "footprints",
342
- id: "footprints",
343
- aggregations: ["count"],
344
- enabled: false
345
- },
346
- {
347
- name: "Land Cover",
348
- type: "landCover",
349
- id: "landCover",
350
- enabled: true,
351
- aggregations: ["percentage"]
352
- }
353
- ],
354
- pointLayer: {
355
- enabled: false,
356
- label: "Facilities",
357
- level: "m9lBJogzE95",
358
- style: {
359
- groupSet: "J5jldMd8OHv"
360
- }
361
- }
362
- };
363
-
364
- export { AllThematicLayers, BaseMap, BoundaryLayer, BoundaryLayerWithLevels, BubbleThematicLayer, ChoroplethThematicLayer, ChoroplethThematicLayerWithLevels, Controls, GoogleEarthEngineLayers, PointLayer, DHIS2Map_stories_default as default };
365
- //# sourceMappingURL=out.js.map
366
- //# sourceMappingURL=DHIS2Map.stories.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/Map/DHIS2Map.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\nimport { DHIS2Map } from \"./DHIS2Map\";\n\nconst meta: Meta<typeof DHIS2Map> = {\n\ttitle: \"DHIS2 Map\",\n\tcomponent: DHIS2Map,\n};\nexport default meta;\n\ntype Story = StoryObj<typeof DHIS2Map>;\nexport const BaseMap: Story = {\n\tname: \"Base map\",\n};\nBaseMap.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: true,\n\t},\n};\n\nexport const Controls: Story = {\n\tname: \"Controls\",\n};\nControls.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: true,\n\t},\n\tcontrols: [\n\t\t{\n\t\t\ttype: \"print\",\n\t\t\tposition: \"topleft\",\n\t\t\toptions: {\n\t\t\t\thidden: false,\n\t\t\t\thideControlContainer: true,\n\t\t\t\tsizeModes: [\"A4Landscape\", \"A4Portrait\", \"Current\"],\n\t\t\t},\n\t\t},\n\t],\n};\n\nexport const BoundaryLayer: Story = {\n\tname: \"Boundary layer\",\n};\nBoundaryLayer.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: true,\n\t},\n\tboundaryLayer: {\n\t\tenabled: true,\n\t},\n};\n\nexport const BoundaryLayerWithLevels: Story = {\n\tname: \"Boundary layer with levels\",\n};\nBoundaryLayerWithLevels.args = {\n\torgUnitSelection: {\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"ImspTQPwCqd\",\n\t\t\t\tdisplayName: \"Sierra Leone\",\n\t\t\t\tname: \"Sierra Leone\",\n\t\t\t\tpath: \"/ImspTQPwCqd\",\n\t\t\t\tchildren: [],\n\t\t\t},\n\t\t],\n\t\tlevels: [\"2\"],\n\t},\n\tboundaryLayer: {\n\t\tenabled: true,\n\t},\n};\n\nexport const ChoroplethThematicLayer: Story = {};\nChoroplethThematicLayer.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: false,\n\t},\n\tboundaryLayer: {\n\t\tenabled: true,\n\t},\n\tthematicLayers: [\n\t\t{\n\t\t\ttype: \"choropleth\",\n\t\t\tid: \"choropleth\",\n\t\t\tenabled: true,\n\t\t\tdataItem: {\n\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\tdisplayName: \"ANC 1 Coverage\",\n\t\t\t\ttype: \"indicator\",\n\t\t\t},\n\t\t\tcontrol: {\n\t\t\t\tenabled: true,\n\t\t\t\tposition: \"topright\",\n\t\t\t},\n\t\t},\n\t],\n\tperiodSelection: {\n\t\tperiods: [\"2022\"],\n\t},\n\tlegends: {\n\t\tenabled: true,\n\t\tposition: \"topright\",\n\t\tcollapsible: true,\n\t},\n};\n\nexport const BubbleThematicLayer: Story = {};\nBubbleThematicLayer.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: true,\n\t},\n\tboundaryLayer: {\n\t\tenabled: true,\n\t},\n\tthematicLayers: [\n\t\t{\n\t\t\ttype: \"bubble\",\n\t\t\tid: \"bubble\",\n\t\t\tenabled: true,\n\t\t\tdataItem: {\n\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\tdisplayName: \"ANC 1 Coverage\",\n\t\t\t\ttype: \"indicator\",\n\t\t\t},\n\t\t\tcontrol: {\n\t\t\t\tenabled: true,\n\t\t\t\tposition: \"topright\",\n\t\t\t},\n\t\t\tradius: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 40,\n\t\t\t},\n\t\t},\n\t],\n\tlegends: {\n\t\tenabled: true,\n\t\tposition: \"topright\",\n\t\tcollapsible: true,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\"2022\"],\n\t},\n\tcontrols: [\n\t\t{\n\t\t\ttype: \"fullscreen\",\n\t\t\tposition: \"topleft\",\n\t\t},\n\t],\n};\n\nexport const AllThematicLayers: Story = {};\nAllThematicLayers.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: true,\n\t},\n\tboundaryLayer: {\n\t\tenabled: true,\n\t},\n\tthematicLayers: [\n\t\t{\n\t\t\ttype: \"choropleth\",\n\t\t\tid: \"ReUHfIn0pTQ\",\n\t\t\tenabled: true,\n\t\t\tdataItem: {\n\t\t\t\tid: \"ReUHfIn0pTQ\",\n\t\t\t\tdisplayName: \"ANC 1-3 Dropout Rate\",\n\t\t\t\ttype: \"indicator\",\n\t\t\t\tlegendSet: \"fqs276KXCXi\",\n\t\t\t},\n\t\t\tcontrol: {\n\t\t\t\tenabled: true,\n\t\t\t\tposition: \"topright\",\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\ttype: \"choropleth\",\n\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\tenabled: true,\n\t\t\tdataItem: {\n\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\tdisplayName: \"ANC 1 Coverage\",\n\t\t\t\ttype: \"indicator\",\n\t\t\t},\n\t\t\tcontrol: {\n\t\t\t\tenabled: true,\n\t\t\t\tposition: \"topright\",\n\t\t\t},\n\t\t},\n\t],\n\tlegends: {\n\t\tenabled: true,\n\t\tposition: \"topright\",\n\t\tcollapsible: true,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\"2022\"],\n\t},\n\tcontrols: [\n\t\t{\n\t\t\ttype: \"scale\",\n\t\t\tposition: \"bottomleft\",\n\t\t\toptions: {\n\t\t\t\timperial: false,\n\t\t\t\tmetric: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\ttype: \"fullscreen\",\n\t\t\tposition: \"bottomleft\",\n\t\t},\n\t],\n};\n\nexport const ChoroplethThematicLayerWithLevels: Story = {};\nChoroplethThematicLayerWithLevels.args = {\n\torgUnitSelection: {\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"ImspTQPwCqd\",\n\t\t\t\tdisplayName: \"Sierra Leone\",\n\t\t\t\tname: \"Sierra Leone\",\n\t\t\t\tpath: \"/ImspTQPwCqd\",\n\t\t\t\tchildren: [],\n\t\t\t},\n\t\t],\n\t\tlevels: [\"3\"],\n\t},\n\tboundaryLayer: {\n\t\tenabled: true,\n\t},\n\tthematicLayers: [\n\t\t{\n\t\t\ttype: \"choropleth\",\n\t\t\tid: \"choropleth\",\n\t\t\tenabled: true,\n\t\t\tdataItem: {\n\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\tdisplayName: \"ANC 1 Coverage\",\n\t\t\t\ttype: \"indicator\",\n\t\t\t},\n\t\t\tcontrol: {\n\t\t\t\tenabled: true,\n\t\t\t\tposition: \"topright\",\n\t\t\t},\n\t\t},\n\t],\n\tlegends: {\n\t\tenabled: true,\n\t\tposition: \"topright\",\n\t\tcollapsible: true,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\"2022\"],\n\t},\n\tcontrols: [\n\t\t{\n\t\t\ttype: \"print\",\n\t\t\tposition: \"topleft\",\n\t\t\toptions: {\n\t\t\t\thidden: false,\n\t\t\t\thideControlContainer: true,\n\t\t\t\tsizeModes: [\"A4Landscape\", \"A4Portrait\", \"Current\"],\n\t\t\t},\n\t\t},\n\t],\n};\n\nexport const PointLayer: Story = {};\nPointLayer.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: false,\n\t},\n\tthematicLayers: [\n\t\t{\n\t\t\ttype: \"choropleth\",\n\t\t\tid: \"choropleth\",\n\t\t\tenabled: true,\n\t\t\tdataItem: {\n\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\tdisplayName: \"ANC 1 Coverage\",\n\t\t\t\ttype: \"indicator\",\n\t\t\t},\n\t\t\tcontrol: {\n\t\t\t\tenabled: true,\n\t\t\t\tposition: \"topright\",\n\t\t\t},\n\t\t},\n\t],\n\tperiodSelection: {\n\t\tperiods: [\"2022\"],\n\t},\n\tpointLayer: {\n\t\tenabled: true,\n\t\tlabel: \"Facilities\",\n\t\tlevel: \"m9lBJogzE95\",\n\t\tstyle: {\n\t\t\tgroupSet: \"J5jldMd8OHv\",\n\t\t},\n\t},\n};\n\nexport const GoogleEarthEngineLayers: Story = {};\nGoogleEarthEngineLayers.args = {\n\torgUnitSelection: {\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: false,\n\t},\n\tthematicLayers: [],\n\tperiodSelection: {\n\t\tperiods: [\"2022\"],\n\t},\n\tearthEngineLayers: [\n\t\t{\n\t\t\tname: \"Population\",\n\t\t\ttype: \"population\",\n\t\t\tid: \"population\",\n\t\t\tenabled: false,\n\t\t\tparams: {\n\t\t\t\tmin: 0,\n\t\t\t\tmax: 10,\n\t\t\t\tpalette:\n\t\t\t\t\t\"#f7fbff,#deebf7,#c6dbef,#9ecae1,#6baed6,#4292c6,#2171b5,#08519c,#08306b\",\n\t\t\t},\n\t\t\taggregations: [\"sum\", \"mean\"],\n\t\t\tfilters: {\n\t\t\t\tperiod: \"2020\",\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tname: \"Footprints\",\n\t\t\ttype: \"footprints\",\n\t\t\tid: \"footprints\",\n\t\t\taggregations: [\"count\"],\n\t\t\tenabled: false,\n\t\t},\n\t\t{\n\t\t\tname: \"Land Cover\",\n\t\t\ttype: \"landCover\",\n\t\t\tid: \"landCover\",\n\t\t\tenabled: true,\n\t\t\taggregations: [\"percentage\"],\n\t\t},\n\t],\n\tpointLayer: {\n\t\tenabled: false,\n\t\tlabel: \"Facilities\",\n\t\tlevel: \"m9lBJogzE95\",\n\t\tstyle: {\n\t\t\tgroupSet: \"J5jldMd8OHv\",\n\t\t},\n\t},\n};\n"]}
@@ -1,41 +0,0 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { useForm } from 'react-hook-form';
3
- import { Modal, ModalTitle, ModalContent, ModalActions, ButtonStrip, Button } from '@dhis2/ui';
4
- import i18n from '@dhis2/d2-i18n';
5
- import { EarthEngineLayerConfiguration } from './EarthEngineLayerConfiguration';
6
-
7
- function EarthEngineLayerConfigModal({
8
- open,
9
- exclude,
10
- config,
11
- onClose,
12
- onChange,
13
- ...props
14
- }) {
15
- const form = useForm({
16
- defaultValues: config ?? {}
17
- });
18
- const onSubmitClick = (values) => {
19
- onClose();
20
- onChange(values);
21
- };
22
- return /* @__PURE__ */ jsxs(Modal, { ...props, hide: !open, onClose, children: [
23
- /* @__PURE__ */ jsx(ModalTitle, { children: i18n.t("Configure Earth Engine Layer") }),
24
- /* @__PURE__ */ jsx(ModalContent, { children: /* @__PURE__ */ jsx(EarthEngineLayerConfiguration, { form, excluded: exclude }) }),
25
- /* @__PURE__ */ jsx(ModalActions, { children: /* @__PURE__ */ jsxs(ButtonStrip, { children: [
26
- /* @__PURE__ */ jsx(Button, { onClick: onClose, children: i18n.t("Cancel") }),
27
- /* @__PURE__ */ jsx(
28
- Button,
29
- {
30
- primary: true,
31
- onClick: () => form.handleSubmit(onSubmitClick)(),
32
- children: i18n.t("Save")
33
- }
34
- )
35
- ] }) })
36
- ] });
37
- }
38
-
39
- export { EarthEngineLayerConfigModal };
40
- //# sourceMappingURL=out.js.map
41
- //# sourceMappingURL=EarthEngineLayerConfigModal.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.tsx"],"names":[],"mappings":"AAwCG,cAKC,YALD;AAxCH,SAAS,eAAe;AAExB;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,OAAO,UAAU;AAEjB,SAAS,qCAAqC;AAUvC,SAAS,4BAA4B;AAAA,EAC3C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACJ,GAAqC;AACpC,QAAM,OAAO,QAAgC;AAAA,IAC5C,eAAe,UAAU,CAAC;AAAA,EAC3B,CAAC;AACD,QAAM,gBAAgB,CAAC,WAAmC;AACzD,YAAQ;AACR,aAAS,MAAM;AAAA,EAChB;AAEA,SACC,qBAAC,SAAO,GAAG,OAAO,MAAM,CAAC,MAAM,SAC9B;AAAA,wBAAC,cAAY,eAAK,EAAE,8BAA8B,GAAE;AAAA,IACpD,oBAAC,gBACA,8BAAC,iCAA8B,MAAY,UAAU,SAAS,GAC/D;AAAA,IACA,oBAAC,gBACA,+BAAC,eACA;AAAA,0BAAC,UAAO,SAAS,SAAU,eAAK,EAAE,QAAQ,GAAE;AAAA,MAC5C;AAAA,QAAC;AAAA;AAAA,UACA,SAAO;AAAA,UACP,SAAS,MAAM,KAAK,aAAa,aAAa,EAAE;AAAA,UAE/C,eAAK,EAAE,MAAM;AAAA;AAAA,MACf;AAAA,OACD,GACD;AAAA,KACD;AAEF","sourcesContent":["import { useForm } from \"react-hook-form\";\nimport { EarthEngineLayerConfig } from \"../MapLayer/interfaces\";\nimport {\n\tButton,\n\tButtonStrip,\n\tModal,\n\tModalActions,\n\tModalContent,\n\tModalTitle,\n} from \"@dhis2/ui\";\nimport i18n from \"@dhis2/d2-i18n\";\nimport React from \"react\";\nimport { EarthEngineLayerConfiguration } from \"./EarthEngineLayerConfiguration\";\n\nexport interface EarthEngineLayerConfigModalProps {\n\topen: boolean;\n\tconfig?: EarthEngineLayerConfig;\n\texclude?: string[];\n\tonClose: () => void;\n\tonChange: (config: EarthEngineLayerConfig) => void;\n}\n\nexport function EarthEngineLayerConfigModal({\n\topen,\n\texclude,\n\tconfig,\n\tonClose,\n\tonChange,\n\t...props\n}: EarthEngineLayerConfigModalProps) {\n\tconst form = useForm<EarthEngineLayerConfig>({\n\t\tdefaultValues: config ?? {},\n\t});\n\tconst onSubmitClick = (values: EarthEngineLayerConfig) => {\n\t\tonClose();\n\t\tonChange(values);\n\t};\n\n\treturn (\n\t\t<Modal {...props} hide={!open} onClose={onClose}>\n\t\t\t<ModalTitle>{i18n.t(\"Configure Earth Engine Layer\")}</ModalTitle>\n\t\t\t<ModalContent>\n\t\t\t\t<EarthEngineLayerConfiguration form={form} excluded={exclude} />\n\t\t\t</ModalContent>\n\t\t\t<ModalActions>\n\t\t\t\t<ButtonStrip>\n\t\t\t\t\t<Button onClick={onClose}>{i18n.t(\"Cancel\")}</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tprimary\n\t\t\t\t\t\tonClick={() => form.handleSubmit(onSubmitClick)()}\n\t\t\t\t\t>\n\t\t\t\t\t\t{i18n.t(\"Save\")}\n\t\t\t\t\t</Button>\n\t\t\t\t</ButtonStrip>\n\t\t\t</ModalActions>\n\t\t</Modal>\n\t);\n}\n"]}
@@ -1,34 +0,0 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { Button } from '@dhis2/ui';
3
- import { useBoolean } from 'usehooks-ts';
4
- import { EarthEngineLayerConfigModal } from './EarthEngineLayerConfigModal';
5
-
6
- const meta = {
7
- component: EarthEngineLayerConfigModal,
8
- title: "DHIS2 Map/Earth Engine Layer Config Modal",
9
- decorators: [
10
- (Story) => {
11
- const {
12
- value: hide,
13
- setTrue: onClose,
14
- setFalse: onOpen
15
- } = useBoolean(true);
16
- return /* @__PURE__ */ jsxs("div", { children: [
17
- /* @__PURE__ */ jsx(Story, { args: { open: !hide, onClose }, onClose }),
18
- /* @__PURE__ */ jsx(Button, { onClick: onOpen, children: "Open modal" })
19
- ] });
20
- }
21
- ]
22
- };
23
- var EarthEngineLayerConfigModal_stories_default = meta;
24
- const Default = {};
25
- Default.args = {
26
- onClose: () => {
27
- },
28
- onChange: console.info,
29
- open: true
30
- };
31
-
32
- export { Default, EarthEngineLayerConfigModal_stories_default as default };
33
- //# sourceMappingURL=out.js.map
34
- //# sourceMappingURL=EarthEngineLayerConfigModal.stories.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.stories.tsx"],"names":[],"mappings":"AAiBI,SACC,KADD;AAhBJ,SAAS,cAAc;AACvB,SAAS,kBAAkB;AAC3B,SAAS,mCAAmC;AAE5C,MAAM,OAAiD;AAAA,EACtD,WAAW;AAAA,EACX,OAAO;AAAA,EACP,YAAY;AAAA,IACX,CAAC,UAAU;AACV,YAAM;AAAA,QACL,OAAO;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MACX,IAAI,WAAW,IAAI;AAEnB,aACC,qBAAC,SACA;AAAA,4BAAC,SAAM,MAAM,EAAE,MAAM,CAAC,MAAM,QAAQ,GAAG,SAAkB;AAAA,QACzD,oBAAC,UAAO,SAAS,QAAQ,wBAAU;AAAA,SACpC;AAAA,IAEF;AAAA,EACD;AACD;AAEA,IAAO,8CAAQ;AAIR,MAAM,UAAiB,CAAC;AAC/B,QAAQ,OAAO;AAAA,EACd,SAAS,MAAM;AAAA,EAAC;AAAA,EAChB,UAAU,QAAQ;AAAA,EAClB,MAAM;AACP","sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\nimport { Button } from \"@dhis2/ui\";\nimport { useBoolean } from \"usehooks-ts\";\nimport { EarthEngineLayerConfigModal } from \"./EarthEngineLayerConfigModal\";\n\nconst meta: Meta<typeof EarthEngineLayerConfigModal> = {\n\tcomponent: EarthEngineLayerConfigModal,\n\ttitle: \"DHIS2 Map/Earth Engine Layer Config Modal\",\n\tdecorators: [\n\t\t(Story) => {\n\t\t\tconst {\n\t\t\t\tvalue: hide,\n\t\t\t\tsetTrue: onClose,\n\t\t\t\tsetFalse: onOpen,\n\t\t\t} = useBoolean(true);\n\n\t\t\treturn (\n\t\t\t\t<div>\n\t\t\t\t\t<Story args={{ open: !hide, onClose }} onClose={onClose} />\n\t\t\t\t\t<Button onClick={onOpen}>Open modal</Button>\n\t\t\t\t</div>\n\t\t\t);\n\t\t},\n\t],\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof EarthEngineLayerConfigModal>;\n\nexport const Default: Story = {};\nDefault.args = {\n\tonClose: () => {},\n\tonChange: console.info,\n\topen: true,\n};\n"]}
@@ -1,26 +0,0 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
2
- import { FormProvider } from 'react-hook-form';
3
- import { StylesConfig } from './components/StylesConfig';
4
- import { Name } from './components/Name';
5
- import { TypeField } from './components/TypeField';
6
- import { AggregationSelector } from './components/AggregationSelector';
7
- import { PeriodSelector } from './components/PeriodSelector';
8
- import { QueryClient, QueryClientProvider } from 'react-query';
9
-
10
- const queryClient = new QueryClient();
11
- function EarthEngineLayerConfiguration({
12
- form,
13
- excluded
14
- }) {
15
- return /* @__PURE__ */ jsx(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx(FormProvider, { ...form, children: /* @__PURE__ */ jsxs("div", { className: "column gap-16", children: [
16
- /* @__PURE__ */ jsx(TypeField, { excluded }),
17
- /* @__PURE__ */ jsx(Name, {}),
18
- /* @__PURE__ */ jsx(AggregationSelector, {}),
19
- /* @__PURE__ */ jsx(PeriodSelector, {}),
20
- /* @__PURE__ */ jsx(StylesConfig, {})
21
- ] }) }) });
22
- }
23
-
24
- export { EarthEngineLayerConfiguration };
25
- //# sourceMappingURL=out.js.map
26
- //# sourceMappingURL=EarthEngineLayerConfiguration.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.tsx"],"names":[],"mappings":"AAyBI,SACC,KADD;AAxBJ,SAAS,oBAAmC;AAE5C,SAAS,oBAAoB;AAC7B,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,2BAA2B;AACpC,SAAS,sBAAsB;AAC/B,SAAS,aAAa,2BAA2B;AAEjD,MAAM,cAAc,IAAI,YAAY;AAQ7B,SAAS,8BAA8B;AAAA,EAC7C;AAAA,EACA;AACD,GAAuC;AACtC,SACC,oBAAC,uBAAoB,QAAQ,aAC5B,8BAAC,gBAAc,GAAG,MACjB,+BAAC,SAAI,WAAU,iBACd;AAAA,wBAAC,aAAU,UAAoB;AAAA,IAC/B,oBAAC,QAAK;AAAA,IACN,oBAAC,uBAAoB;AAAA,IACrB,oBAAC,kBAAe;AAAA,IAChB,oBAAC,gBAAa;AAAA,KACf,GACD,GACD;AAEF","sourcesContent":["import { EarthEngineLayerConfig } from \"../MapLayer/interfaces\";\nimport { FormProvider, UseFormReturn } from \"react-hook-form\";\nimport React from \"react\";\nimport { StylesConfig } from \"./components/StylesConfig\";\nimport { Name } from \"./components/Name\";\nimport { TypeField } from \"./components/TypeField\";\nimport { AggregationSelector } from \"./components/AggregationSelector\";\nimport { PeriodSelector } from \"./components/PeriodSelector\";\nimport { QueryClient, QueryClientProvider } from \"react-query\";\n\nconst queryClient = new QueryClient();\nexport interface EarthEngineLayerConfigurationProps {\n\tform: UseFormReturn<EarthEngineLayerConfig>;\n\texcluded?: string[];\n\n\t[key: string]: any;\n}\n\nexport function EarthEngineLayerConfiguration({\n\tform,\n\texcluded,\n}: EarthEngineLayerConfigurationProps) {\n\treturn (\n\t\t<QueryClientProvider client={queryClient}>\n\t\t\t<FormProvider {...form}>\n\t\t\t\t<div className=\"column gap-16\">\n\t\t\t\t\t<TypeField excluded={excluded} />\n\t\t\t\t\t<Name />\n\t\t\t\t\t<AggregationSelector />\n\t\t\t\t\t<PeriodSelector />\n\t\t\t\t\t<StylesConfig />\n\t\t\t\t</div>\n\t\t\t</FormProvider>\n\t\t</QueryClientProvider>\n\t);\n}\n"]}
@@ -1,21 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { EarthEngineLayerConfiguration } from './EarthEngineLayerConfiguration';
3
- import { useForm } from 'react-hook-form';
4
-
5
- const Default = {};
6
- Default.args = {};
7
- const meta = {
8
- title: "DHIS2 Map/Earth Engine Configuration",
9
- component: EarthEngineLayerConfiguration,
10
- decorators: [
11
- (MapStory) => {
12
- const form = useForm();
13
- return /* @__PURE__ */ jsx("div", { style: { width: "50%", height: "50%" }, children: /* @__PURE__ */ jsx(MapStory, { args: { form }, form }) });
14
- }
15
- ]
16
- };
17
- var EarthEngineLayerConfiguration_stories_default = meta;
18
-
19
- export { Default, EarthEngineLayerConfiguration_stories_default as default };
20
- //# sourceMappingURL=out.js.map
21
- //# sourceMappingURL=EarthEngineLayerConfiguration.stories.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.stories.tsx"],"names":[],"mappings":"AAmBK;AAlBL,SAAS,qCAAqC;AAE9C,SAAS,eAAe;AAKjB,MAAM,UAAiB,CAAC;AAC/B,QAAQ,OAAO,CAAC;AAEhB,MAAM,OAAmD;AAAA,EACxD,OAAO;AAAA,EACP,WAAW;AAAA,EACX,YAAY;AAAA,IACX,CAAC,aAAa;AACb,YAAM,OAAO,QAAgC;AAC7C,aACC,oBAAC,SAAI,OAAO,EAAE,OAAO,OAAO,QAAQ,MAAM,GACzC,8BAAC,YAAS,MAAM,EAAE,KAAK,GAAG,MAAY,GACvC;AAAA,IAEF;AAAA,EACD;AACD;AAEA,IAAO,gDAAQ","sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\nimport { EarthEngineLayerConfiguration } from \"./EarthEngineLayerConfiguration\";\nimport React from \"react\";\nimport { useForm } from \"react-hook-form\";\nimport { EarthEngineLayerConfig } from \"../MapLayer/interfaces\";\n\ntype Story = StoryObj<typeof EarthEngineLayerConfiguration>;\n\nexport const Default: Story = {};\nDefault.args = {};\n\nconst meta: Meta<typeof EarthEngineLayerConfiguration> = {\n\ttitle: \"DHIS2 Map/Earth Engine Configuration\",\n\tcomponent: EarthEngineLayerConfiguration,\n\tdecorators: [\n\t\t(MapStory) => {\n\t\t\tconst form = useForm<EarthEngineLayerConfig>();\n\t\t\treturn (\n\t\t\t\t<div style={{ width: \"50%\", height: \"50%\" }}>\n\t\t\t\t\t<MapStory args={{ form }} form={form} />\n\t\t\t\t</div>\n\t\t\t);\n\t\t},\n\t],\n};\n\nexport default meta;\n"]}
@@ -1,67 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { Controller } from 'react-hook-form';
3
- import { SingleSelectField, SingleSelectOption, MultiSelectField, MultiSelectOption } from '@dhis2/ui';
4
- import { head, capitalize } from 'lodash';
5
- import i18n from '@dhis2/d2-i18n';
6
- import { useType } from '../hooks/data';
7
-
8
- function AggregationSelector() {
9
- const config = useType();
10
- if (!config?.defaultAggregations) {
11
- return null;
12
- }
13
- const supportedAggregations = config?.defaultAggregations ?? [];
14
- const maxAggregations = config?.maxAggregations;
15
- return /* @__PURE__ */ jsx(
16
- Controller,
17
- {
18
- render: ({ field, fieldState }) => {
19
- return maxAggregations === 1 ? /* @__PURE__ */ jsx(
20
- SingleSelectField,
21
- {
22
- clearable: true,
23
- error: Boolean(fieldState.error),
24
- validationText: fieldState?.error?.message,
25
- selected: supportedAggregations.includes(
26
- head(field.value) ?? ""
27
- ) ? head(field.value) : void 0,
28
- onChange: ({ selected }) => field.onChange([selected]),
29
- label: i18n.t("Aggregation"),
30
- children: supportedAggregations.map((aggregation) => /* @__PURE__ */ jsx(
31
- SingleSelectOption,
32
- {
33
- label: capitalize(aggregation),
34
- value: aggregation
35
- },
36
- `${aggregation}-option`
37
- ))
38
- }
39
- ) : /* @__PURE__ */ jsx(
40
- MultiSelectField,
41
- {
42
- error: Boolean(fieldState.error),
43
- validationText: fieldState?.error?.message,
44
- selected: field.value?.filter(
45
- (value) => supportedAggregations?.includes(value)
46
- ),
47
- onChange: ({ selected }) => field.onChange(selected),
48
- label: i18n.t("Aggregations"),
49
- children: supportedAggregations.map((aggregation) => /* @__PURE__ */ jsx(
50
- MultiSelectOption,
51
- {
52
- label: capitalize(aggregation),
53
- value: aggregation
54
- },
55
- `${aggregation}-option`
56
- ))
57
- }
58
- );
59
- },
60
- name: "aggregations"
61
- }
62
- );
63
- }
64
-
65
- export { AggregationSelector };
66
- //# sourceMappingURL=out.js.map
67
- //# sourceMappingURL=AggregationSelector.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.tsx"],"names":[],"mappings":"AA4CO;AA5CP,SAAS,kBAAkB;AAC3B;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,YAAY,YAAY;AACjC,OAAO,UAAU;AAEjB,SAAS,eAAe;AAEjB,SAAS,sBAAsB;AACrC,QAAM,SAAS,QAAQ;AAEvB,MAAI,CAAC,QAAQ,qBAAqB;AACjC,WAAO;AAAA,EACR;AAEA,QAAM,wBAAwB,QAAQ,uBAAuB,CAAC;AAE9D,QAAM,kBAAkB,QAAQ;AAEhC,SACC;AAAA,IAAC;AAAA;AAAA,MACA,QAAQ,CAAC,EAAE,OAAO,WAAW,MAAM;AAClC,eAAO,oBAAoB,IAC1B;AAAA,UAAC;AAAA;AAAA,YACA,WAAS;AAAA,YACT,OAAO,QAAQ,WAAW,KAAK;AAAA,YAC/B,gBAAgB,YAAY,OAAO;AAAA,YACnC,UACC,sBAAsB;AAAA,cACrB,KAAK,MAAM,KAAK,KAAK;AAAA,YACtB,IACG,KAAK,MAAM,KAAK,IAChB;AAAA,YAEJ,UAAU,CAAC,EAAE,SAAS,MACrB,MAAM,SAAS,CAAC,QAAQ,CAAC;AAAA,YAE1B,OAAO,KAAK,EAAE,aAAa;AAAA,YAE1B,gCAAsB,IAAI,CAAC,gBAC3B;AAAA,cAAC;AAAA;AAAA,gBAEA,OAAO,WAAW,WAAW;AAAA,gBAC7B,OAAO;AAAA;AAAA,cAFF,GAAG,WAAW;AAAA,YAGpB,CACA;AAAA;AAAA,QACF,IAEA;AAAA,UAAC;AAAA;AAAA,YACA,OAAO,QAAQ,WAAW,KAAK;AAAA,YAC/B,gBAAgB,YAAY,OAAO;AAAA,YACnC,UAAU,MAAM,OAAO;AAAA,cACtB,CAAC,UACA,uBAAuB,SAAS,KAAK;AAAA,YACvC;AAAA,YACA,UAAU,CAAC,EAAE,SAAS,MACrB,MAAM,SAAS,QAAQ;AAAA,YAExB,OAAO,KAAK,EAAE,cAAc;AAAA,YAE3B,gCAAsB,IAAI,CAAC,gBAC3B;AAAA,cAAC;AAAA;AAAA,gBAEA,OAAO,WAAW,WAAW;AAAA,gBAC7B,OAAO;AAAA;AAAA,cAFF,GAAG,WAAW;AAAA,YAGpB,CACA;AAAA;AAAA,QACF;AAAA,MAEF;AAAA,MACA,MAAM;AAAA;AAAA,EACP;AAEF","sourcesContent":["import { Controller } from \"react-hook-form\";\nimport {\n\tMultiSelectField,\n\tMultiSelectOption,\n\tSingleSelectField,\n\tSingleSelectOption,\n} from \"@dhis2/ui\";\nimport { capitalize, head } from \"lodash\";\nimport i18n from \"@dhis2/d2-i18n\";\nimport React from \"react\";\nimport { useType } from \"../hooks/data\";\n\nexport function AggregationSelector() {\n\tconst config = useType();\n\n\tif (!config?.defaultAggregations) {\n\t\treturn null;\n\t}\n\n\tconst supportedAggregations = config?.defaultAggregations ?? [];\n\n\tconst maxAggregations = config?.maxAggregations;\n\n\treturn (\n\t\t<Controller\n\t\t\trender={({ field, fieldState }) => {\n\t\t\t\treturn maxAggregations === 1 ? (\n\t\t\t\t\t<SingleSelectField\n\t\t\t\t\t\tclearable\n\t\t\t\t\t\terror={Boolean(fieldState.error)}\n\t\t\t\t\t\tvalidationText={fieldState?.error?.message}\n\t\t\t\t\t\tselected={\n\t\t\t\t\t\t\tsupportedAggregations.includes(\n\t\t\t\t\t\t\t\thead(field.value) ?? \"\",\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t? head(field.value)\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tonChange={({ selected }: { selected: string }) =>\n\t\t\t\t\t\t\tfield.onChange([selected])\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlabel={i18n.t(\"Aggregation\")}\n\t\t\t\t\t>\n\t\t\t\t\t\t{supportedAggregations.map((aggregation) => (\n\t\t\t\t\t\t\t<SingleSelectOption\n\t\t\t\t\t\t\t\tkey={`${aggregation}-option`}\n\t\t\t\t\t\t\t\tlabel={capitalize(aggregation)}\n\t\t\t\t\t\t\t\tvalue={aggregation}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</SingleSelectField>\n\t\t\t\t) : (\n\t\t\t\t\t<MultiSelectField\n\t\t\t\t\t\terror={Boolean(fieldState.error)}\n\t\t\t\t\t\tvalidationText={fieldState?.error?.message}\n\t\t\t\t\t\tselected={field.value?.filter(\n\t\t\t\t\t\t\t(value: string) =>\n\t\t\t\t\t\t\t\tsupportedAggregations?.includes(value),\n\t\t\t\t\t\t)}\n\t\t\t\t\t\tonChange={({ selected }: { selected: string[] }) =>\n\t\t\t\t\t\t\tfield.onChange(selected)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlabel={i18n.t(\"Aggregations\")}\n\t\t\t\t\t>\n\t\t\t\t\t\t{supportedAggregations.map((aggregation) => (\n\t\t\t\t\t\t\t<MultiSelectOption\n\t\t\t\t\t\t\t\tkey={`${aggregation}-option`}\n\t\t\t\t\t\t\t\tlabel={capitalize(aggregation)}\n\t\t\t\t\t\t\t\tvalue={aggregation}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</MultiSelectField>\n\t\t\t\t);\n\t\t\t}}\n\t\t\tname={\"aggregations\"}\n\t\t/>\n\t);\n}\n"]}