@hisptz/dhis2-analytics 2.1.24 → 2.1.25

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 (132) hide show
  1. package/dist/components/ChartAnalytics/DHIS2Chart.js.map +1 -1
  2. package/dist/components/ChartAnalytics/components/DownloadMenu/index.js.map +1 -1
  3. package/dist/components/CircularProgressDashboard/CircularProgressIndicator.js.map +1 -1
  4. package/dist/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
  5. package/dist/components/DHIS2PivotTable/components/Table/index.js.map +1 -1
  6. package/dist/components/DHIS2PivotTable/components/TableBody/index.js.map +1 -1
  7. package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
  8. package/dist/components/DHIS2PivotTable/state/engine.js.map +1 -1
  9. package/dist/components/Map/DHIS2Map.js.map +1 -1
  10. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/Name.js.map +1 -1
  11. package/dist/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.js.map +1 -1
  12. package/dist/components/Map/components/MapArea/index.js.map +1 -1
  13. package/dist/components/Map/components/MapControls/components/CustomControl/index.js +13 -2
  14. package/dist/components/Map/components/MapControls/components/CustomControl/index.js.map +1 -1
  15. package/dist/components/Map/components/MapControls/components/FullscreenControl/index.js.map +1 -1
  16. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.js.map +1 -1
  17. package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/index.js.map +1 -1
  18. package/dist/components/Map/components/MapLayer/components/LegendArea/index.js +10 -11
  19. package/dist/components/Map/components/MapLayer/components/LegendArea/index.js.map +1 -1
  20. package/dist/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.js.map +1 -1
  21. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.js.map +1 -1
  22. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.js.map +1 -1
  23. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.js.map +1 -1
  24. package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js.map +1 -1
  25. package/dist/components/Map/components/MapProvider/components/MapLayerProvider/index.js.map +1 -1
  26. package/dist/components/Map/components/MapProvider/index.js.map +1 -1
  27. package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.js.map +1 -1
  28. package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.js.map +1 -1
  29. package/dist/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.js.map +1 -1
  30. package/dist/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.js.map +1 -1
  31. package/dist/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
  32. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
  33. package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.js.map +1 -1
  34. package/dist/components/Visualization/components/AnalyticsDataProvider/index.js.map +1 -1
  35. package/dist/components/Visualization/components/DimensionsProvider/index.js.map +1 -1
  36. package/dist/components/Visualization/components/LayoutProvider/index.js.map +1 -1
  37. package/dist/components/Visualization/components/VisualizationDimensionSelector/index.js.map +1 -1
  38. package/dist/components/Visualization/components/VisualizationProvider/index.js.map +1 -1
  39. package/dist/components/Visualization/components/VisualizationSelector/index.js.map +1 -1
  40. package/dist/components/Visualization/components/VisualizationTypeProvider/index.js.map +1 -1
  41. package/dist/components/Visualization/components/VisualizationTypeSelector/index.js.map +1 -1
  42. package/dist/esm/components/ChartAnalytics/DHIS2Chart.js.map +1 -1
  43. package/dist/esm/components/ChartAnalytics/components/DownloadMenu/index.js.map +1 -1
  44. package/dist/esm/components/CircularProgressDashboard/CircularProgressIndicator.js.map +1 -1
  45. package/dist/esm/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
  46. package/dist/esm/components/DHIS2PivotTable/components/Table/index.js.map +1 -1
  47. package/dist/esm/components/DHIS2PivotTable/components/TableBody/index.js.map +1 -1
  48. package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
  49. package/dist/esm/components/DHIS2PivotTable/state/engine.js.map +1 -1
  50. package/dist/esm/components/Map/DHIS2Map.js.map +1 -1
  51. package/dist/esm/components/Map/components/EarthEngineLayerConfiguration/components/Name.js.map +1 -1
  52. package/dist/esm/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.js.map +1 -1
  53. package/dist/esm/components/Map/components/MapArea/index.js.map +1 -1
  54. package/dist/esm/components/Map/components/MapControls/components/CustomControl/index.js +13 -2
  55. package/dist/esm/components/Map/components/MapControls/components/CustomControl/index.js.map +1 -1
  56. package/dist/esm/components/Map/components/MapControls/components/FullscreenControl/index.js.map +1 -1
  57. package/dist/esm/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.js.map +1 -1
  58. package/dist/esm/components/Map/components/MapLayer/components/GoogleEngineLayer/index.js.map +1 -1
  59. package/dist/esm/components/Map/components/MapLayer/components/LegendArea/index.js +4 -4
  60. package/dist/esm/components/Map/components/MapLayer/components/LegendArea/index.js.map +1 -1
  61. package/dist/esm/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.js.map +1 -1
  62. package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.js.map +1 -1
  63. package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.js.map +1 -1
  64. package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.js.map +1 -1
  65. package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js.map +1 -1
  66. package/dist/esm/components/Map/components/MapProvider/components/MapLayerProvider/index.js.map +1 -1
  67. package/dist/esm/components/Map/components/MapProvider/index.js.map +1 -1
  68. package/dist/esm/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.js.map +1 -1
  69. package/dist/esm/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.js.map +1 -1
  70. package/dist/esm/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.js.map +1 -1
  71. package/dist/esm/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.js.map +1 -1
  72. package/dist/esm/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
  73. package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
  74. package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.js.map +1 -1
  75. package/dist/esm/components/Visualization/components/AnalyticsDataProvider/index.js.map +1 -1
  76. package/dist/esm/components/Visualization/components/DimensionsProvider/index.js.map +1 -1
  77. package/dist/esm/components/Visualization/components/LayoutProvider/index.js.map +1 -1
  78. package/dist/esm/components/Visualization/components/VisualizationDimensionSelector/index.js.map +1 -1
  79. package/dist/esm/components/Visualization/components/VisualizationProvider/index.js.map +1 -1
  80. package/dist/esm/components/Visualization/components/VisualizationSelector/index.js.map +1 -1
  81. package/dist/esm/components/Visualization/components/VisualizationTypeProvider/index.js.map +1 -1
  82. package/dist/esm/components/Visualization/components/VisualizationTypeSelector/index.js.map +1 -1
  83. package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts +3 -3
  84. package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts.map +1 -1
  85. package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts +2 -2
  86. package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts.map +1 -1
  87. package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts +2 -2
  88. package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts.map +1 -1
  89. package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts +2 -2
  90. package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts.map +1 -1
  91. package/dist/types/components/DHIS2PivotTable/state/engine.d.ts.map +1 -1
  92. package/dist/types/components/Map/DHIS2Map.d.ts +3 -3
  93. package/dist/types/components/Map/DHIS2Map.d.ts.map +1 -1
  94. package/dist/types/components/Map/components/MapArea/index.d.ts +1 -2
  95. package/dist/types/components/Map/components/MapArea/index.d.ts.map +1 -1
  96. package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts +2 -2
  97. package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map +1 -1
  98. package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts +2 -1
  99. package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map +1 -1
  100. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts +2 -3
  101. package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts.map +1 -1
  102. package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts.map +1 -1
  103. package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts +1 -2
  104. package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts.map +1 -1
  105. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts +1 -2
  106. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts.map +1 -1
  107. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts +2 -3
  108. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts.map +1 -1
  109. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +2 -3
  110. package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +1 -1
  111. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts +2 -2
  112. package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map +1 -1
  113. package/dist/types/components/Map/components/MapProvider/index.d.ts.map +1 -1
  114. package/dist/types/components/Map/interfaces/index.d.ts +2 -2
  115. package/dist/types/components/Map/interfaces/index.d.ts.map +1 -1
  116. package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts +2 -2
  117. package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts.map +1 -1
  118. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts +2 -2
  119. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts.map +1 -1
  120. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts +2 -2
  121. package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts.map +1 -1
  122. package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts +2 -2
  123. package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts.map +1 -1
  124. package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts +4 -4
  125. package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts.map +1 -1
  126. package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts +3 -3
  127. package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts.map +1 -1
  128. package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts +2 -2
  129. package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts.map +1 -1
  130. package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts +6 -6
  131. package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map +1 -1
  132. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DHIS2PivotTable/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,cAAc,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,eAAe,2CAU3E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DHIS2PivotTable/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,eAAe,2CAU3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../src/components/DHIS2PivotTable/state/engine.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAiB,SAAS,EAAc,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAK9D,wBAAgB,yBAAyB,iCAExC;AAED,wBAAgB,6BAA6B,CAAC,EAC7C,QAAQ,EACR,MAAM,GACN,EAAE;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,qBAAqB,CAAC;CAC9B,8CAMA"}
1
+ {"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../src/components/DHIS2PivotTable/state/engine.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAc,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAK9D,wBAAgB,yBAAyB,iCAExC;AAED,wBAAgB,6BAA6B,CAAC,EAC7C,QAAQ,EACR,MAAM,GACN,EAAE;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,qBAAqB,CAAC;CAC9B,8CAMA"}
@@ -1,9 +1,9 @@
1
- import React from "react";
2
1
  import { MapProps } from "./interfaces";
3
2
  import "leaflet/dist/leaflet.css";
4
- export declare const DHIS2Map: React.FC<MapProps>;
3
+ import type { FC } from "react";
4
+ export declare const DHIS2Map: FC<MapProps>;
5
5
  /**
6
6
  * @deprecated since `v2`. Use `DHIS2Map` instead
7
7
  * */
8
- export declare const Map: React.FC<MapProps>;
8
+ export declare const Map: FC<MapProps>;
9
9
  //# sourceMappingURL=DHIS2Map.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DHIS2Map.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/DHIS2Map.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,0BAA0B,CAAC;AA6DlC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAgB,CAAC;AAEzD;;KAEK;AACL,eAAO,MAAM,GAAG,oBAAW,CAAC"}
1
+ {"version":3,"file":"DHIS2Map.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/DHIS2Map.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA6DhC,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAgB,CAAC;AAEnD;;KAEK;AACL,eAAO,MAAM,GAAG,cAAW,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { Map as LeafletMap } from "leaflet";
2
- import React from "react";
3
2
  import { MapAreaProps } from "./interfaces/index.js";
4
- declare const _default: React.ForwardRefExoticComponent<MapAreaProps & React.RefAttributes<LeafletMap>>;
3
+ declare const _default: import("react").ForwardRefExoticComponent<MapAreaProps & import("react").RefAttributes<LeafletMap>>;
5
4
  export default _default;
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,KAA6B,MAAM,OAAO,CAAC;AASlD,OAAO,EACN,YAAY,EAGZ,MAAM,uBAAuB,CAAC;;AA0H/B,wBAAmC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;AAW5C,OAAO,EACN,YAAY,EAGZ,MAAM,uBAAuB,CAAC;;AA0H/B,wBAAmC"}
@@ -1,7 +1,7 @@
1
1
  import { ControlOptions } from "leaflet";
2
- import React from "react";
2
+ import { type ReactNode } from "react";
3
3
  interface CustomControlOptions extends ControlOptions {
4
- children: React.ReactNode;
4
+ children: ReactNode;
5
5
  }
6
6
  export declare function CustomControl({ children, position, ...options }: CustomControlOptions): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/CustomControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,UAAU,oBAAqB,SAAQ,cAAc;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,EAAE,oBAAoB,2CASrF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/CustomControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,UAAU,oBAAqB,SAAQ,cAAc;IACpD,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAC7B,QAAQ,EACR,QAAQ,EACR,GAAG,OAAO,EACV,EAAE,oBAAoB,2CAatB"}
@@ -1,6 +1,7 @@
1
1
  import { type ControlOptions } from "leaflet";
2
2
  import "leaflet.fullscreen";
3
3
  import "leaflet.fullscreen/Control.FullScreen.css";
4
- declare const FullscreenControl: React.ForwardRefExoticComponent<ControlOptions & React.RefAttributes<any>>;
4
+ import type { ForwardRefExoticComponent, RefAttributes } from "react";
5
+ declare const FullscreenControl: ForwardRefExoticComponent<ControlOptions & RefAttributes<any>>;
5
6
  export default FullscreenControl;
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/FullscreenControl/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,2CAA2C,CAAC;AAEnD,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,yBAAyB,CACvD,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAC+B,CAAC;AAC1E,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/FullscreenControl/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtE,QAAA,MAAM,iBAAiB,EAAE,yBAAyB,CACjD,cAAc,GAAG,aAAa,CAAC,GAAG,CAAC,CACqC,CAAC;AAC1E,eAAe,iBAAiB,CAAC"}
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import { CustomGoogleEngineLayer } from "../../../interfaces/index.js";
3
2
  export declare function LegendItem({ legend, }: {
4
3
  legend: {
@@ -8,11 +7,11 @@ export declare function LegendItem({ legend, }: {
8
7
  name?: string;
9
8
  };
10
9
  }): import("react/jsx-runtime.js").JSX.Element;
11
- declare const _default: React.ForwardRefExoticComponent<{
10
+ declare const _default: import("react").ForwardRefExoticComponent<{
12
11
  layer: CustomGoogleEngineLayer;
13
12
  collapsible?: boolean;
14
13
  onCollapse?: () => void;
15
14
  name: string;
16
- } & React.RefAttributes<HTMLDivElement>>;
15
+ } & import("react").RefAttributes<HTMLDivElement>>;
17
16
  export default _default;
18
17
  //# sourceMappingURL=EarthEngineLegend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EarthEngineLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,wBAAgB,UAAU,CAAC,EAC1B,MAAM,GACN,EAAE;IACF,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnE,8CAcA;;WA0CQ,uBAAuB;kBAChB,OAAO;iBACR,MAAM,IAAI;UACjB,MAAM;;AA+Cd,wBAA6C"}
1
+ {"version":3,"file":"EarthEngineLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,wBAAgB,UAAU,CAAC,EAC1B,MAAM,GACN,EAAE;IACF,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnE,8CAcA;;WA0CQ,uBAAuB;kBAChB,OAAO;iBACR,MAAM,IAAI;UACjB,MAAM;;AA+Cd,wBAA6C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/LegendArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAEN,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EAEnB,MAAM,2BAA2B,CAAC;AAyLnC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,MAAM,EACN,OAAO,EAAE,YAAY,GACrB,EAAE;IACF,MAAM,EAAE,KAAK,CACZ,mBAAmB,GAAG,gBAAgB,GAAG,uBAAuB,CAChE,CAAC;IACF,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,CAAC,EAAE,eAAe,CAAC;CAC1B,8CA4BA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/LegendArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAU1C,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAEN,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EAEnB,MAAM,2BAA2B,CAAC;AAwLnC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,MAAM,EACN,OAAO,EAAE,YAAY,GACrB,EAAE;IACF,MAAM,EAAE,KAAK,CACZ,mBAAmB,GAAG,gBAAgB,GAAG,uBAAuB,CAChE,CAAC;IACF,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,CAAC,EAAE,eAAe,CAAC;CAC1B,8CA4BA"}
@@ -1,4 +1,3 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLDivElement>>;
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
3
2
  export default _default;
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;;AA2F1C,wBAAuC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.tsx"],"names":[],"mappings":";AA6FA,wBAAuC"}
@@ -1,7 +1,6 @@
1
- import React from "react";
2
1
  export declare const guideLength = 16;
3
2
  export declare const textPadding = 4;
4
- declare const _default: React.MemoExoticComponent<({ radiusLow, radiusHigh, color, classes, }: {
3
+ declare const _default: import("react").MemoExoticComponent<({ radiusLow, radiusHigh, color, classes, }: {
5
4
  radiusLow: number;
6
5
  radiusHigh: number;
7
6
  color?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Bubbles.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAe,MAAM,OAAO,CAAC;AAcpC,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,WAAW,IAAI,CAAC;+FAO1B;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CACpB;AAmJD,wBAA6B"}
1
+ {"version":3,"file":"Bubbles.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,WAAW,IAAI,CAAC;yGAO1B;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CACpB;AAmJD,wBAA6B"}
@@ -1,7 +1,6 @@
1
1
  import type { Legend } from "@hisptz/dhis2-utils";
2
- import React from "react";
3
2
  import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../../interfaces/index.js";
4
- declare const _default: React.ForwardRefExoticComponent<{
3
+ declare const _default: import("react").ForwardRefExoticComponent<{
5
4
  radius: {
6
5
  min: number;
7
6
  max: number;
@@ -12,6 +11,6 @@ declare const _default: React.ForwardRefExoticComponent<{
12
11
  collapsible?: boolean;
13
12
  onCollapse?: () => void;
14
13
  legends: Legend[];
15
- } & React.RefAttributes<HTMLDivElement>>;
14
+ } & import("react").RefAttributes<HTMLDivElement>>;
16
15
  export default _default;
17
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,uCAAuC,CAAC;;YAcrC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;cAC1B,qBAAqB;UACzB,iBAAiB,EAAE;WAClB,MAAM;kBACC,OAAO;iBACR,MAAM,IAAI;aACd,MAAM,EAAE;;AAwBnB,wBAAwC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,uCAAuC,CAAC;;YAcrC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;cAC1B,qBAAqB;UACzB,iBAAiB,EAAE;WAClB,MAAM;kBACC,OAAO;iBACR,MAAM,IAAI;aACd,MAAM,EAAE;;AAwBnB,wBAAwC"}
@@ -1,6 +1,5 @@
1
1
  import "../../../styles/legends.css";
2
2
  import type { Legend } from "@hisptz/dhis2-utils";
3
- import React from "react";
4
3
  import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../interfaces";
5
4
  export declare function LegendItem({ legend, value, }: {
6
5
  legend: {
@@ -10,13 +9,13 @@ export declare function LegendItem({ legend, value, }: {
10
9
  };
11
10
  value: number;
12
11
  }): import("react/jsx-runtime").JSX.Element;
13
- declare const _default: React.ForwardRefExoticComponent<{
12
+ declare const _default: import("react").ForwardRefExoticComponent<{
14
13
  data: ThematicLayerData[];
15
14
  dataItem: ThematicLayerDataItem;
16
15
  name?: string;
17
16
  collapsible?: boolean;
18
17
  onCollapse?: () => void;
19
18
  legends: Legend[];
20
- } & React.RefAttributes<HTMLDivElement>>;
19
+ } & import("react").RefAttributes<HTMLDivElement>>;
21
20
  export default _default;
22
21
  //# sourceMappingURL=ChoroplethLegend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChoroplethLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,2BAA2B,CAAC;AAQnC,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,KAAK,GACL,EAAE;IACF,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;CACd,2CAWA;;UAUO,iBAAiB,EAAE;cACf,qBAAqB;WACxB,MAAM;kBACC,OAAO;iBACR,MAAM,IAAI;aACd,MAAM,EAAE;;AAyBnB,wBAA4C"}
1
+ {"version":3,"file":"ChoroplethLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,2BAA2B,CAAC;AAQnC,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,KAAK,GACL,EAAE;IACF,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;CACd,2CAWA;;UAUO,iBAAiB,EAAE;cACf,qBAAqB;WACxB,MAAM;kBACC,OAAO;iBACR,MAAM,IAAI;aACd,MAAM,EAAE;;AAyBnB,wBAA4C"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import { type ReactNode } from "react";
2
2
  import { MapLayerConfig } from "../../../MapArea/interfaces";
3
3
  import type { MapAnalyticsOptions } from "../../../../interfaces";
4
4
  export declare function MapLayersProvider({ layers, children, analyticsOptions, }: {
5
5
  layers: MapLayerConfig;
6
- children: React.ReactNode;
6
+ children: ReactNode;
7
7
  analyticsOptions?: MapAnalyticsOptions;
8
8
  }): import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAe7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,wBAAgB,iBAAiB,CAAC,EACjC,MAAM,EACN,QAAQ,EACR,gBAAgB,GAChB,EAAE;IACF,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;CACvC,2CAsIA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAe7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,wBAAgB,iBAAiB,CAAC,EACjC,MAAM,EACN,QAAQ,EACR,gBAAgB,GAChB,EAAE;IACF,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;CACvC,2CAsIA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapProvider/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAyBhE,wBAAgB,WAAW,CAAC,EAC3B,QAAQ,EACR,gBAAgB,EAChB,eAAe,GACf,EAAE,gBAAgB,kDAmFlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapProvider/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAyBhE,wBAAgB,WAAW,CAAC,EAC3B,QAAQ,EACR,gBAAgB,EAChB,eAAe,GACf,EAAE,gBAAgB,kDAkFlB"}
@@ -1,11 +1,11 @@
1
1
  import type { OrgUnitSelection } from "@hisptz/dhis2-utils";
2
- import React from "react";
2
+ import { type ReactNode } from "react";
3
3
  import type { MapContainerProps } from "react-leaflet";
4
4
  import { MapControls, MapLegendConfig } from "../components/MapArea/interfaces";
5
5
  import { EarthEngineLayerConfig, ThematicLayerConfig } from "../components/MapLayer/interfaces";
6
6
  import { type LeafletEventHandlerFnMap, type LeafletMouseEvent, Map as LeafletMap } from "leaflet";
7
7
  export interface MapProviderProps {
8
- children: React.ReactNode;
8
+ children: ReactNode;
9
9
  orgUnitSelection: OrgUnitSelection;
10
10
  periodSelection?: {
11
11
  periods?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/interfaces/index.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/interfaces/index.ts"],"names":[],"mappings":"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"}
@@ -1,8 +1,8 @@
1
- import React from "react";
1
+ import { type ReactElement } from "react";
2
2
  import SingleValueItem from "./components/SingleValueItem/SingleValueItem.js";
3
3
  import { SingleValueVisualizerProps } from "./types/props.js";
4
4
  export * from "./types/props.js";
5
- export declare function SingleValueVisualizer({ title, singleValueItems, animationDuration, animationDelay, disableAnimation, }: SingleValueVisualizerProps): React.ReactElement;
5
+ export declare function SingleValueVisualizer({ title, singleValueItems, animationDuration, animationDelay, disableAnimation, }: SingleValueVisualizerProps): ReactElement;
6
6
  /**
7
7
  * @deprecated since `v2`. Use `SingleValueVisualizer` instead
8
8
  * */
@@ -1 +1 @@
1
- {"version":3,"file":"SingleValueVisualizer.d.ts","sourceRoot":"","sources":["../../../../src/components/SingleValueContainer/SingleValueVisualizer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,eAAe,MAAM,iDAAiD,CAAC;AAE9E,OAAO,EAAe,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAE3E,cAAc,kBAAkB,CAAC;AAEjC,wBAAgB,qBAAqB,CAAC,EACrC,KAAK,EACL,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,GAChB,EAAE,0BAA0B,GAAG,KAAK,CAAC,YAAY,CA4BjD;AAED;;KAEK;AACL,eAAO,MAAM,oBAAoB,8BAAwB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"SingleValueVisualizer.d.ts","sourceRoot":"","sources":["../../../../src/components/SingleValueContainer/SingleValueVisualizer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AACpD,OAAO,eAAe,MAAM,iDAAiD,CAAC;AAE9E,OAAO,EAAe,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAE3E,cAAc,kBAAkB,CAAC;AAEjC,wBAAgB,qBAAqB,CAAC,EACrC,KAAK,EACL,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,GAChB,EAAE,0BAA0B,GAAG,YAAY,CA4B3C;AAED;;KAEK;AACL,eAAO,MAAM,oBAAoB,8BAAwB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -1,10 +1,10 @@
1
- import React from "react";
1
+ import { type ReactElement } from "react";
2
2
  import { SingleValue } from "../../types/props.js";
3
3
  interface SingleValueProps extends SingleValue {
4
4
  globalAnimationDelay?: number;
5
5
  globalAnimationDuration?: number;
6
6
  disableAnimation?: boolean;
7
7
  }
8
- export default function SingleValueItem({ label, value, color, percentage, animationDuration, animationDelay, globalAnimationDelay, decimalPlaces, globalAnimationDuration, disableAnimation, }: SingleValueProps): React.ReactElement;
8
+ export default function SingleValueItem({ label, value, color, percentage, animationDuration, animationDelay, globalAnimationDelay, decimalPlaces, globalAnimationDuration, disableAnimation, }: SingleValueProps): ReactElement;
9
9
  export {};
10
10
  //# sourceMappingURL=SingleValueItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SingleValueItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,UAAU,gBAAiB,SAAQ,WAAW;IAC7C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACvC,KAAK,EACL,KAAK,EACL,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,gBAAgB,GAChB,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAqCvC"}
1
+ {"version":3,"file":"SingleValueItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,UAAU,gBAAiB,SAAQ,WAAW;IAC7C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACvC,KAAK,EACL,KAAK,EACL,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,gBAAgB,GAChB,EAAE,gBAAgB,GAAG,YAAY,CAqCjC"}
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- export default function SingleValuePercentage({ percentage, color, }: any): React.ReactElement;
1
+ import { type ReactElement } from "react";
2
+ export default function SingleValuePercentage({ percentage, color, }: any): ReactElement;
3
3
  //# sourceMappingURL=SingleValuePercentage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SingleValuePercentage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC7C,UAAU,EACV,KAAK,GACL,EAAE,GAAG,GAAG,KAAK,CAAC,YAAY,CAW1B"}
1
+ {"version":3,"file":"SingleValuePercentage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC7C,UAAU,EACV,KAAK,GACL,EAAE,GAAG,GAAG,YAAY,CAWpB"}
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { type ReactNode } from "react";
2
2
  import { Analytics } from "@hisptz/dhis2-utils";
3
3
  export interface DataProviderProps {
4
- children: React.ReactNode;
4
+ children: ReactNode;
5
5
  }
6
6
  export declare function useAnalyticsData(): {
7
7
  loading: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/AnalyticsDataProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAsB,MAAM,qBAAqB,CAAC;AA6BpE,MAAM,WAAW,iBAAiB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,wBAAgB,gBAAgB;aA1BpB,OAAO;eAAa,SAAS;EA4BxC;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,8CAiEpE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/AnalyticsDataProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EAId,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,SAAS,EAAsB,MAAM,qBAAqB,CAAC;AA6BpE,MAAM,WAAW,iBAAiB;IACjC,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,gBAAgB;aA1BpB,OAAO;eAAa,SAAS;EA4BxC;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,8CAiEpE"}
@@ -1,14 +1,14 @@
1
- import React from "react";
1
+ import { type ReactNode } from "react";
2
2
  import { AnalyticsDimension } from "@hisptz/dhis2-utils";
3
3
  export type Dimension = "ou" | "pe" | "dx" | "co";
4
4
  export type DimensionUpdater = (data: {
5
5
  dimension: Dimension;
6
6
  value: string[];
7
7
  }) => void;
8
- export declare const DimensionState: React.Context<AnalyticsDimension>;
9
- export declare const DimensionUpdateState: React.Context<DimensionUpdater | undefined>;
8
+ export declare const DimensionState: import("react").Context<AnalyticsDimension>;
9
+ export declare const DimensionUpdateState: import("react").Context<DimensionUpdater | undefined>;
10
10
  export interface DimensionProviderProps {
11
- children: React.ReactNode;
11
+ children: ReactNode;
12
12
  dimensions: AnalyticsDimension;
13
13
  }
14
14
  export declare function useDimensions(): [AnalyticsDimension, DimensionUpdater];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/DimensionsProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE;IACrC,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;CAChB,KAAK,IAAI,CAAC;AACX,eAAO,MAAM,cAAc,mCAIzB,CAAC;AACH,eAAO,MAAM,oBAAoB,6CAEhC,CAAC;AAWF,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,EAAE,kBAAkB,CAAC;CAC/B;AAED,wBAAgB,aAAa,IAC6C,CACxE,kBAAkB,EAClB,gBAAgB,CAChB,CACD;AAED,wBAAgB,kBAAkB,CAAC,EAClC,QAAQ,EACR,UAAU,GACV,EAAE,sBAAsB,2CAmBxB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/DimensionsProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EAId,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE;IACrC,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;CAChB,KAAK,IAAI,CAAC;AACX,eAAO,MAAM,cAAc,6CAIzB,CAAC;AACH,eAAO,MAAM,oBAAoB,uDAEhC,CAAC;AAWF,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,kBAAkB,CAAC;CAC/B;AAED,wBAAgB,aAAa,IAC6C,CACxE,kBAAkB,EAClB,gBAAgB,CAChB,CACD;AAED,wBAAgB,kBAAkB,CAAC,EAClC,QAAQ,EACR,UAAU,GACV,EAAE,sBAAsB,2CAmBxB"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { type ReactNode } from "react";
2
2
  import { Dimension } from "../DimensionsProvider/index.js";
3
3
  export interface Layout {
4
4
  rows: Dimension[];
@@ -6,10 +6,10 @@ export interface Layout {
6
6
  filters: Dimension[];
7
7
  }
8
8
  export interface LayoutProviderProps {
9
- children: React.ReactNode;
9
+ children: ReactNode;
10
10
  defaultLayout: Layout;
11
11
  }
12
- export declare const LayoutState: React.Context<Layout | undefined>;
12
+ export declare const LayoutState: import("react").Context<Layout | undefined>;
13
13
  export declare function useLayout(): Layout[];
14
14
  export declare function LayoutProvider({ defaultLayout, children, }: LayoutProviderProps): import("react/jsx-runtime.js").JSX.Element;
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/LayoutProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,MAAM,WAAW,MAAM;IACtB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,OAAO,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,mCAA+C,CAAC;AAExE,wBAAgB,SAAS,aAExB;AAED,wBAAgB,cAAc,CAAC,EAC9B,aAAa,EACb,QAAQ,GACR,EAAE,mBAAmB,8CAMrB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/LayoutProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,MAAM,WAAW,MAAM;IACtB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,OAAO,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,6CAA+C,CAAC;AAExE,wBAAgB,SAAS,aAExB;AAED,wBAAgB,cAAc,CAAC,EAC9B,aAAa,EACb,QAAQ,GACR,EAAE,mBAAmB,8CAMrB"}
@@ -1,10 +1,10 @@
1
- import React from "react";
1
+ import { type ReactNode } from "react";
2
2
  import { Layout } from "../LayoutProvider/index.js";
3
3
  import { AnalyticsDimension } from "@hisptz/dhis2-utils";
4
4
  import { VisualizationType } from "../VisualizationTypeProvider/index.js";
5
5
  import { VisualizationConfig } from "../../index.js";
6
6
  export interface VisualizationProviderProps {
7
- children: React.ReactNode;
7
+ children: ReactNode;
8
8
  layout: Layout;
9
9
  dimensions: AnalyticsDimension;
10
10
  type: VisualizationType;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAkB,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,OAAO,EACN,iBAAiB,EAEjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,WAAW,0BAA0B;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,kBAAkB,CAAC;IAC/B,IAAI,EAAE,iBAAiB,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED,wBAAgB,qBAAqB,CAAC,EACrC,MAAM,EACN,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,MAAM,GACN,EAAE,0BAA0B,8CAU5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,EAAkB,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,OAAO,EACN,iBAAiB,EAEjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,WAAW,0BAA0B;IAC1C,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,kBAAkB,CAAC;IAC/B,IAAI,EAAE,iBAAiB,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED,wBAAgB,qBAAqB,CAAC,EACrC,MAAM,EACN,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,MAAM,GACN,EAAE,0BAA0B,8CAU5B"}
@@ -1,15 +1,15 @@
1
- import React from "react";
1
+ import { type Dispatch, type ReactNode, type SetStateAction } from "react";
2
2
  import { VisualizationConfig } from "../../index.js";
3
3
  export type VisualizationType = "pivotTable" | "chart" | "map";
4
- export declare const VisualizationTypeContext: React.Context<VisualizationType>;
5
- export declare const VisualizationConfigContext: React.Context<VisualizationConfig | undefined>;
6
- export declare const VisualizationTypeSetter: React.Context<React.Dispatch<React.SetStateAction<VisualizationType>> | undefined>;
4
+ export declare const VisualizationTypeContext: import("react").Context<VisualizationType>;
5
+ export declare const VisualizationConfigContext: import("react").Context<VisualizationConfig | undefined>;
6
+ export declare const VisualizationTypeSetter: import("react").Context<Dispatch<SetStateAction<VisualizationType>> | undefined>;
7
7
  export interface VisualizationTypeProviderProps {
8
- children: React.ReactNode;
8
+ children: ReactNode;
9
9
  defaultType: VisualizationType;
10
10
  config: VisualizationConfig;
11
11
  }
12
- export declare function useVisualizationType(): [VisualizationType, React.Dispatch<React.SetStateAction<VisualizationType>>];
12
+ export declare function useVisualizationType(): [VisualizationType, Dispatch<SetStateAction<VisualizationType>>];
13
13
  export declare function useVisualizationConfig(): VisualizationConfig | undefined;
14
14
  export declare function VisualizationTypeProvider({ children, defaultType, config, }: VisualizationTypeProviderProps): import("react/jsx-runtime.js").JSX.Element;
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationTypeProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/D,eAAO,MAAM,wBAAwB,kCACU,CAAC;AAChD,eAAO,MAAM,0BAA0B,gDAE3B,CAAC;AACb,eAAO,MAAM,uBAAuB,oFAExB,CAAC;AAEb,MAAM,WAAW,8BAA8B;IAC9C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,IAI9B,CACJ,iBAAiB,EACjB,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CACvD,CACD;AAED,wBAAgB,sBAAsB,oCAErC;AAED,wBAAgB,yBAAyB,CAAC,EACzC,QAAQ,EACR,WAAW,EACX,MAAM,GACN,EAAE,8BAA8B,8CAYhC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationTypeProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EAGnB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/D,eAAO,MAAM,wBAAwB,4CACU,CAAC;AAChD,eAAO,MAAM,0BAA0B,0DAE3B,CAAC;AACb,eAAO,MAAM,uBAAuB,kFAExB,CAAC;AAEb,MAAM,WAAW,8BAA8B;IAC9C,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,IAI9B,CAAC,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC,CACrE;AAED,wBAAgB,sBAAsB,oCAErC;AAED,wBAAgB,yBAAyB,CAAC,EACzC,QAAQ,EACR,WAAW,EACX,MAAM,GACN,EAAE,8BAA8B,8CAYhC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hisptz/dhis2-analytics",
3
- "version": "2.1.24",
3
+ "version": "2.1.25",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -18,6 +18,7 @@
18
18
  ],
19
19
  "devDependencies": {
20
20
  "@dhis2/app-runtime": "^3.14.1",
21
+ "@google/earthengine": "^1.5.21",
21
22
  "@storybook/react": "^7.6.7",
22
23
  "@tanstack/react-query": "^4.36.1",
23
24
  "@types/async": "^3.2.24",
@@ -43,11 +44,10 @@
43
44
  "tsup": "^8.4.0",
44
45
  "typescript": "^5.3.3",
45
46
  "usehooks-ts": "^2.16.0",
46
- "@repo/eslint-config": "0.0.0",
47
- "@repo/typescript-config": "0.0.2"
47
+ "@repo/typescript-config": "0.0.2",
48
+ "@repo/eslint-config": "0.0.0"
48
49
  },
49
50
  "dependencies": {
50
- "@google/earthengine": "^1.5.21",
51
51
  "@react-leaflet/core": "^2.1.0",
52
52
  "@react-pdf/renderer": "^4.0.0",
53
53
  "@tanstack/react-table": "^8.19.3",
@@ -56,8 +56,6 @@
56
56
  "d3-scale": "^4.0.2",
57
57
  "file-saver": "^2.0.5",
58
58
  "geolib": "^3.3.4",
59
- "highcharts": "^12.2.0",
60
- "highcharts-react-official": "^3.2.1",
61
59
  "jotai-devtools": "^0.10.1",
62
60
  "leaflet": "^1.9.4",
63
61
  "leaflet-easyprint": "^2.1.9",
@@ -74,7 +72,7 @@
74
72
  "react-to-print": "^3.0.1",
75
73
  "screenfull": "^6.0.2",
76
74
  "xlsx": "^0.18.5",
77
- "@hisptz/dhis2-ui": "2.0.49",
75
+ "@hisptz/dhis2-ui": "2.0.50",
78
76
  "@hisptz/dhis2-utils": "2.0.18"
79
77
  },
80
78
  "peerDependencies": {
@@ -83,6 +81,8 @@
83
81
  "@dhis2/multi-calendar-dates": "^1",
84
82
  "@dhis2/ui": "^10",
85
83
  "classnames": "^2",
84
+ "highcharts": "^12",
85
+ "highcharts-react-official": "^3",
86
86
  "lodash": "^4",
87
87
  "react": "^18 || ^19",
88
88
  "react-dom": "^18 || ^19",