@hisptz/dhis2-analytics 2.0.7 → 2.0.9
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.
- package/dist/components/ChartAnalytics/ChartAnalytics.stories.js +11 -1
- package/dist/components/ChartAnalytics/ChartAnalytics.stories.js.map +1 -1
- package/dist/components/ChartAnalytics/models/index.js +16 -1
- package/dist/components/ChartAnalytics/models/index.js.map +1 -1
- package/dist/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
- package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js +12 -3
- package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
- package/dist/components/DHIS2PivotTable/services/engine.js +22 -0
- package/dist/components/DHIS2PivotTable/services/engine.js.map +1 -1
- package/dist/components/SingleValueContainer/SingleValueContainer.stories.js +38 -0
- package/dist/components/SingleValueContainer/SingleValueContainer.stories.js.map +1 -1
- package/dist/components/SingleValueContainer/SingleValueVisualizer.js +3 -1
- package/dist/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
- package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js +3 -1
- package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
- package/dist/components/SingleValueContainer/index.js +7 -0
- package/dist/components/SingleValueContainer/index.js.map +1 -1
- package/dist/esm/components/ChartAnalytics/ChartAnalytics.stories.js +11 -1
- package/dist/esm/components/ChartAnalytics/ChartAnalytics.stories.js.map +1 -1
- package/dist/esm/components/ChartAnalytics/models/index.js +16 -1
- package/dist/esm/components/ChartAnalytics/models/index.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js +12 -3
- package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/services/engine.js +23 -1
- package/dist/esm/components/DHIS2PivotTable/services/engine.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/SingleValueContainer.stories.js +38 -1
- package/dist/esm/components/SingleValueContainer/SingleValueContainer.stories.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/SingleValueVisualizer.js +3 -1
- package/dist/esm/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js +3 -1
- package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/index.js +1 -0
- package/dist/esm/components/SingleValueContainer/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts +0 -26
- package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts +0 -8
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts +0 -8
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts +0 -2
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts +0 -12
- package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/index.d.ts +0 -2
- package/dist/types/components/ChartAnalytics/index.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/bar.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/models/bar.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/column.d.ts +0 -13
- package/dist/types/components/ChartAnalytics/models/column.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/index.d.ts +0 -18
- package/dist/types/components/ChartAnalytics/models/index.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/line.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/models/line.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/multi-series.d.ts +0 -10
- package/dist/types/components/ChartAnalytics/models/multi-series.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/pie.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/models/pie.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/services/export.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/services/export.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/types/props.d.ts +0 -46
- package/dist/types/components/ChartAnalytics/types/props.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/utils/chart.d.ts +0 -16
- package/dist/types/components/ChartAnalytics/utils/chart.d.ts.map +0 -1
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts +0 -6
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts.map +0 -1
- package/dist/types/components/CircularProgressDashboard/index.d.ts +0 -3
- package/dist/types/components/CircularProgressDashboard/index.d.ts.map +0 -1
- package/dist/types/components/CircularProgressDashboard/types/props.d.ts +0 -18
- package/dist/types/components/CircularProgressDashboard/types/props.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts +0 -38
- package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts +0 -10
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts +0 -2
- package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts +0 -2
- package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/index.d.ts +0 -3
- package/dist/types/components/DHIS2PivotTable/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts +0 -2
- package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/services/engine.d.ts +0 -59
- package/dist/types/components/DHIS2PivotTable/services/engine.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/state/engine.d.ts +0 -8
- package/dist/types/components/DHIS2PivotTable/state/engine.d.ts.map +0 -1
- package/dist/types/components/Map/DHIS2Map.d.ts +0 -9
- package/dist/types/components/Map/DHIS2Map.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts +0 -10
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts +0 -9
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts +0 -4
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts +0 -8
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts +0 -3
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapArea/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapArea/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts +0 -31
- package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts +0 -8
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts +0 -8
- package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapControls/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts +0 -2
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts +0 -15
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts +0 -18
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts +0 -10
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts +0 -4
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts +0 -59
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts +0 -56
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts +0 -21
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts +0 -9
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts +0 -4
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts +0 -3
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts +0 -2
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts +0 -13
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts +0 -11
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts +0 -17
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts +0 -22
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +0 -22
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts +0 -17
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts +0 -3
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts +0 -136
- package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts +0 -10
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts +0 -7
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts +0 -16
- package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/index.d.ts +0 -3
- package/dist/types/components/Map/components/MapProvider/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapUpdater/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapUpdater/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts +0 -3
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts +0 -3
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts +0 -8
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts +0 -420
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts +0 -9
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts +0 -12
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts +0 -2
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts +0 -8
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts +0 -9
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts +0 -2
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts +0 -2
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts +0 -4
- package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts +0 -15
- package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts.map +0 -1
- package/dist/types/components/Map/constants/colors.d.ts +0 -422
- package/dist/types/components/Map/constants/colors.d.ts.map +0 -1
- package/dist/types/components/Map/constants/legendSet.d.ts +0 -8
- package/dist/types/components/Map/constants/legendSet.d.ts.map +0 -1
- package/dist/types/components/Map/hooks/map.d.ts +0 -10
- package/dist/types/components/Map/hooks/map.d.ts.map +0 -1
- package/dist/types/components/Map/index.d.ts +0 -6
- package/dist/types/components/Map/index.d.ts.map +0 -1
- package/dist/types/components/Map/interfaces/index.d.ts +0 -76
- package/dist/types/components/Map/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/state/index.d.ts +0 -21
- package/dist/types/components/Map/state/index.d.ts.map +0 -1
- package/dist/types/components/Map/utils/colors.d.ts +0 -13
- package/dist/types/components/Map/utils/colors.d.ts.map +0 -1
- package/dist/types/components/Map/utils/helpers.d.ts +0 -7
- package/dist/types/components/Map/utils/helpers.d.ts.map +0 -1
- package/dist/types/components/Map/utils/map.d.ts +0 -41
- package/dist/types/components/Map/utils/map.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts +0 -11
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts +0 -9
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts +0 -3
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/index.d.ts +0 -4
- package/dist/types/components/SingleValueContainer/index.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/types/props.d.ts +0 -17
- package/dist/types/components/SingleValueContainer/types/props.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts +0 -11
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts +0 -16
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts +0 -15
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts +0 -5
- package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts +0 -14
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts +0 -23
- package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts +0 -15
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts +0 -2
- package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/index.d.ts +0 -23
- package/dist/types/components/Visualization/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/index.d.ts.map +0 -1
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
export declare const COLOR_PALETTES: {
|
|
2
|
-
YlGn: {
|
|
3
|
-
3: string[];
|
|
4
|
-
4: string[];
|
|
5
|
-
5: string[];
|
|
6
|
-
6: string[];
|
|
7
|
-
7: string[];
|
|
8
|
-
8: string[];
|
|
9
|
-
9: string[];
|
|
10
|
-
};
|
|
11
|
-
YlGnBu: {
|
|
12
|
-
3: string[];
|
|
13
|
-
4: string[];
|
|
14
|
-
5: string[];
|
|
15
|
-
6: string[];
|
|
16
|
-
7: string[];
|
|
17
|
-
8: string[];
|
|
18
|
-
9: string[];
|
|
19
|
-
};
|
|
20
|
-
GnBu: {
|
|
21
|
-
3: string[];
|
|
22
|
-
4: string[];
|
|
23
|
-
5: string[];
|
|
24
|
-
6: string[];
|
|
25
|
-
7: string[];
|
|
26
|
-
8: string[];
|
|
27
|
-
9: string[];
|
|
28
|
-
};
|
|
29
|
-
BuGn: {
|
|
30
|
-
3: string[];
|
|
31
|
-
4: string[];
|
|
32
|
-
5: string[];
|
|
33
|
-
6: string[];
|
|
34
|
-
7: string[];
|
|
35
|
-
8: string[];
|
|
36
|
-
9: string[];
|
|
37
|
-
};
|
|
38
|
-
PuBuGn: {
|
|
39
|
-
3: string[];
|
|
40
|
-
4: string[];
|
|
41
|
-
5: string[];
|
|
42
|
-
6: string[];
|
|
43
|
-
7: string[];
|
|
44
|
-
8: string[];
|
|
45
|
-
9: string[];
|
|
46
|
-
};
|
|
47
|
-
PuBu: {
|
|
48
|
-
3: string[];
|
|
49
|
-
4: string[];
|
|
50
|
-
5: string[];
|
|
51
|
-
6: string[];
|
|
52
|
-
7: string[];
|
|
53
|
-
8: string[];
|
|
54
|
-
9: string[];
|
|
55
|
-
};
|
|
56
|
-
BuPu: {
|
|
57
|
-
3: string[];
|
|
58
|
-
4: string[];
|
|
59
|
-
5: string[];
|
|
60
|
-
6: string[];
|
|
61
|
-
7: string[];
|
|
62
|
-
8: string[];
|
|
63
|
-
9: string[];
|
|
64
|
-
};
|
|
65
|
-
RdPu: {
|
|
66
|
-
3: string[];
|
|
67
|
-
4: string[];
|
|
68
|
-
5: string[];
|
|
69
|
-
6: string[];
|
|
70
|
-
7: string[];
|
|
71
|
-
8: string[];
|
|
72
|
-
9: string[];
|
|
73
|
-
};
|
|
74
|
-
PuRd: {
|
|
75
|
-
3: string[];
|
|
76
|
-
4: string[];
|
|
77
|
-
5: string[];
|
|
78
|
-
6: string[];
|
|
79
|
-
7: string[];
|
|
80
|
-
8: string[];
|
|
81
|
-
9: string[];
|
|
82
|
-
};
|
|
83
|
-
OrRd: {
|
|
84
|
-
3: string[];
|
|
85
|
-
4: string[];
|
|
86
|
-
5: string[];
|
|
87
|
-
6: string[];
|
|
88
|
-
7: string[];
|
|
89
|
-
8: string[];
|
|
90
|
-
9: string[];
|
|
91
|
-
};
|
|
92
|
-
YlOrRd: {
|
|
93
|
-
3: string[];
|
|
94
|
-
4: string[];
|
|
95
|
-
5: string[];
|
|
96
|
-
6: string[];
|
|
97
|
-
7: string[];
|
|
98
|
-
8: string[];
|
|
99
|
-
9: string[];
|
|
100
|
-
};
|
|
101
|
-
YlOrBr: {
|
|
102
|
-
3: string[];
|
|
103
|
-
4: string[];
|
|
104
|
-
5: string[];
|
|
105
|
-
6: string[];
|
|
106
|
-
7: string[];
|
|
107
|
-
8: string[];
|
|
108
|
-
9: string[];
|
|
109
|
-
};
|
|
110
|
-
Purples: {
|
|
111
|
-
3: string[];
|
|
112
|
-
4: string[];
|
|
113
|
-
5: string[];
|
|
114
|
-
6: string[];
|
|
115
|
-
7: string[];
|
|
116
|
-
8: string[];
|
|
117
|
-
9: string[];
|
|
118
|
-
};
|
|
119
|
-
Blues: {
|
|
120
|
-
3: string[];
|
|
121
|
-
4: string[];
|
|
122
|
-
5: string[];
|
|
123
|
-
6: string[];
|
|
124
|
-
7: string[];
|
|
125
|
-
8: string[];
|
|
126
|
-
9: string[];
|
|
127
|
-
};
|
|
128
|
-
Greens: {
|
|
129
|
-
3: string[];
|
|
130
|
-
4: string[];
|
|
131
|
-
5: string[];
|
|
132
|
-
6: string[];
|
|
133
|
-
7: string[];
|
|
134
|
-
8: string[];
|
|
135
|
-
9: string[];
|
|
136
|
-
};
|
|
137
|
-
Oranges: {
|
|
138
|
-
3: string[];
|
|
139
|
-
4: string[];
|
|
140
|
-
5: string[];
|
|
141
|
-
6: string[];
|
|
142
|
-
7: string[];
|
|
143
|
-
8: string[];
|
|
144
|
-
9: string[];
|
|
145
|
-
};
|
|
146
|
-
Reds: {
|
|
147
|
-
3: string[];
|
|
148
|
-
4: string[];
|
|
149
|
-
5: string[];
|
|
150
|
-
6: string[];
|
|
151
|
-
7: string[];
|
|
152
|
-
8: string[];
|
|
153
|
-
9: string[];
|
|
154
|
-
};
|
|
155
|
-
Greys: {
|
|
156
|
-
3: string[];
|
|
157
|
-
4: string[];
|
|
158
|
-
5: string[];
|
|
159
|
-
6: string[];
|
|
160
|
-
7: string[];
|
|
161
|
-
8: string[];
|
|
162
|
-
9: string[];
|
|
163
|
-
};
|
|
164
|
-
PuOr: {
|
|
165
|
-
3: string[];
|
|
166
|
-
4: string[];
|
|
167
|
-
5: string[];
|
|
168
|
-
6: string[];
|
|
169
|
-
7: string[];
|
|
170
|
-
8: string[];
|
|
171
|
-
9: string[];
|
|
172
|
-
10: string[];
|
|
173
|
-
11: string[];
|
|
174
|
-
};
|
|
175
|
-
BrBG: {
|
|
176
|
-
3: string[];
|
|
177
|
-
4: string[];
|
|
178
|
-
5: string[];
|
|
179
|
-
6: string[];
|
|
180
|
-
7: string[];
|
|
181
|
-
8: string[];
|
|
182
|
-
9: string[];
|
|
183
|
-
10: string[];
|
|
184
|
-
11: string[];
|
|
185
|
-
};
|
|
186
|
-
PRGn: {
|
|
187
|
-
3: string[];
|
|
188
|
-
4: string[];
|
|
189
|
-
5: string[];
|
|
190
|
-
6: string[];
|
|
191
|
-
7: string[];
|
|
192
|
-
8: string[];
|
|
193
|
-
9: string[];
|
|
194
|
-
10: string[];
|
|
195
|
-
11: string[];
|
|
196
|
-
};
|
|
197
|
-
PiYG: {
|
|
198
|
-
3: string[];
|
|
199
|
-
4: string[];
|
|
200
|
-
5: string[];
|
|
201
|
-
6: string[];
|
|
202
|
-
7: string[];
|
|
203
|
-
8: string[];
|
|
204
|
-
9: string[];
|
|
205
|
-
10: string[];
|
|
206
|
-
11: string[];
|
|
207
|
-
};
|
|
208
|
-
RdBu: {
|
|
209
|
-
3: string[];
|
|
210
|
-
4: string[];
|
|
211
|
-
5: string[];
|
|
212
|
-
6: string[];
|
|
213
|
-
7: string[];
|
|
214
|
-
8: string[];
|
|
215
|
-
9: string[];
|
|
216
|
-
10: string[];
|
|
217
|
-
11: string[];
|
|
218
|
-
};
|
|
219
|
-
RdGy: {
|
|
220
|
-
3: string[];
|
|
221
|
-
4: string[];
|
|
222
|
-
5: string[];
|
|
223
|
-
6: string[];
|
|
224
|
-
7: string[];
|
|
225
|
-
8: string[];
|
|
226
|
-
9: string[];
|
|
227
|
-
10: string[];
|
|
228
|
-
11: string[];
|
|
229
|
-
};
|
|
230
|
-
RdYlBu: {
|
|
231
|
-
3: string[];
|
|
232
|
-
4: string[];
|
|
233
|
-
5: string[];
|
|
234
|
-
6: string[];
|
|
235
|
-
7: string[];
|
|
236
|
-
8: string[];
|
|
237
|
-
9: string[];
|
|
238
|
-
10: string[];
|
|
239
|
-
11: string[];
|
|
240
|
-
};
|
|
241
|
-
Spectral: {
|
|
242
|
-
3: string[];
|
|
243
|
-
4: string[];
|
|
244
|
-
5: string[];
|
|
245
|
-
6: string[];
|
|
246
|
-
7: string[];
|
|
247
|
-
8: string[];
|
|
248
|
-
9: string[];
|
|
249
|
-
10: string[];
|
|
250
|
-
11: string[];
|
|
251
|
-
};
|
|
252
|
-
RdYlGn: {
|
|
253
|
-
3: string[];
|
|
254
|
-
4: string[];
|
|
255
|
-
5: string[];
|
|
256
|
-
6: string[];
|
|
257
|
-
7: string[];
|
|
258
|
-
8: string[];
|
|
259
|
-
9: string[];
|
|
260
|
-
10: string[];
|
|
261
|
-
11: string[];
|
|
262
|
-
};
|
|
263
|
-
Accent: {
|
|
264
|
-
3: string[];
|
|
265
|
-
4: string[];
|
|
266
|
-
5: string[];
|
|
267
|
-
6: string[];
|
|
268
|
-
7: string[];
|
|
269
|
-
8: string[];
|
|
270
|
-
};
|
|
271
|
-
Dark2: {
|
|
272
|
-
3: string[];
|
|
273
|
-
4: string[];
|
|
274
|
-
5: string[];
|
|
275
|
-
6: string[];
|
|
276
|
-
7: string[];
|
|
277
|
-
8: string[];
|
|
278
|
-
};
|
|
279
|
-
Paired: {
|
|
280
|
-
3: string[];
|
|
281
|
-
4: string[];
|
|
282
|
-
5: string[];
|
|
283
|
-
6: string[];
|
|
284
|
-
7: string[];
|
|
285
|
-
8: string[];
|
|
286
|
-
9: string[];
|
|
287
|
-
10: string[];
|
|
288
|
-
11: string[];
|
|
289
|
-
12: string[];
|
|
290
|
-
};
|
|
291
|
-
Pastel1: {
|
|
292
|
-
3: string[];
|
|
293
|
-
4: string[];
|
|
294
|
-
5: string[];
|
|
295
|
-
6: string[];
|
|
296
|
-
7: string[];
|
|
297
|
-
8: string[];
|
|
298
|
-
9: string[];
|
|
299
|
-
};
|
|
300
|
-
Pastel2: {
|
|
301
|
-
3: string[];
|
|
302
|
-
4: string[];
|
|
303
|
-
5: string[];
|
|
304
|
-
6: string[];
|
|
305
|
-
7: string[];
|
|
306
|
-
8: string[];
|
|
307
|
-
};
|
|
308
|
-
Set1: {
|
|
309
|
-
3: string[];
|
|
310
|
-
4: string[];
|
|
311
|
-
5: string[];
|
|
312
|
-
6: string[];
|
|
313
|
-
7: string[];
|
|
314
|
-
8: string[];
|
|
315
|
-
9: string[];
|
|
316
|
-
};
|
|
317
|
-
Set2: {
|
|
318
|
-
3: string[];
|
|
319
|
-
4: string[];
|
|
320
|
-
5: string[];
|
|
321
|
-
6: string[];
|
|
322
|
-
7: string[];
|
|
323
|
-
8: string[];
|
|
324
|
-
};
|
|
325
|
-
Set3: {
|
|
326
|
-
3: string[];
|
|
327
|
-
4: string[];
|
|
328
|
-
5: string[];
|
|
329
|
-
6: string[];
|
|
330
|
-
7: string[];
|
|
331
|
-
8: string[];
|
|
332
|
-
9: string[];
|
|
333
|
-
10: string[];
|
|
334
|
-
11: string[];
|
|
335
|
-
12: string[];
|
|
336
|
-
};
|
|
337
|
-
YlOrBr_reverse: {
|
|
338
|
-
3: string[];
|
|
339
|
-
4: string[];
|
|
340
|
-
5: string[];
|
|
341
|
-
6: string[];
|
|
342
|
-
7: string[];
|
|
343
|
-
8: string[];
|
|
344
|
-
9: string[];
|
|
345
|
-
};
|
|
346
|
-
Reds_reverse: {
|
|
347
|
-
3: string[];
|
|
348
|
-
4: string[];
|
|
349
|
-
5: string[];
|
|
350
|
-
6: string[];
|
|
351
|
-
7: string[];
|
|
352
|
-
8: string[];
|
|
353
|
-
9: string[];
|
|
354
|
-
};
|
|
355
|
-
YlGn_reverse: {
|
|
356
|
-
3: string[];
|
|
357
|
-
4: string[];
|
|
358
|
-
5: string[];
|
|
359
|
-
6: string[];
|
|
360
|
-
7: string[];
|
|
361
|
-
8: string[];
|
|
362
|
-
9: string[];
|
|
363
|
-
};
|
|
364
|
-
Greens_reverse: {
|
|
365
|
-
3: string[];
|
|
366
|
-
4: string[];
|
|
367
|
-
5: string[];
|
|
368
|
-
6: string[];
|
|
369
|
-
7: string[];
|
|
370
|
-
8: string[];
|
|
371
|
-
9: string[];
|
|
372
|
-
};
|
|
373
|
-
Blues_reverse: {
|
|
374
|
-
3: string[];
|
|
375
|
-
4: string[];
|
|
376
|
-
5: string[];
|
|
377
|
-
6: string[];
|
|
378
|
-
7: string[];
|
|
379
|
-
8: string[];
|
|
380
|
-
9: string[];
|
|
381
|
-
};
|
|
382
|
-
BuPu_reverse: {
|
|
383
|
-
3: string[];
|
|
384
|
-
4: string[];
|
|
385
|
-
5: string[];
|
|
386
|
-
6: string[];
|
|
387
|
-
7: string[];
|
|
388
|
-
8: string[];
|
|
389
|
-
9: string[];
|
|
390
|
-
};
|
|
391
|
-
RdPu_reverse: {
|
|
392
|
-
3: string[];
|
|
393
|
-
4: string[];
|
|
394
|
-
5: string[];
|
|
395
|
-
6: string[];
|
|
396
|
-
7: string[];
|
|
397
|
-
8: string[];
|
|
398
|
-
9: string[];
|
|
399
|
-
};
|
|
400
|
-
PuRd_reverse: {
|
|
401
|
-
3: string[];
|
|
402
|
-
4: string[];
|
|
403
|
-
5: string[];
|
|
404
|
-
6: string[];
|
|
405
|
-
7: string[];
|
|
406
|
-
8: string[];
|
|
407
|
-
9: string[];
|
|
408
|
-
};
|
|
409
|
-
Greys_reverse: {
|
|
410
|
-
3: string[];
|
|
411
|
-
4: string[];
|
|
412
|
-
5: string[];
|
|
413
|
-
6: string[];
|
|
414
|
-
7: string[];
|
|
415
|
-
8: string[];
|
|
416
|
-
9: string[];
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
export type COLOR_CLASS = keyof typeof COLOR_PALETTES;
|
|
420
|
-
export declare const qualitativeColors: string[];
|
|
421
|
-
export declare const COLOR_SCALES: string[];
|
|
422
|
-
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/constants/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAozD1B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,cAAc,CAAC;AAGtD,eAAO,MAAM,iBAAiB,UAa7B,CAAC;AACF,eAAO,MAAM,YAAY,UAgCxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legendSet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/constants/legendSet.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;CAkB5B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { LatLngTuple } from "leaflet";
|
|
2
|
-
export declare function useMapBounds(): {
|
|
3
|
-
center: import("leaflet").LatLng;
|
|
4
|
-
bounds: any;
|
|
5
|
-
};
|
|
6
|
-
export declare function useCenterMap({ bounds }: {
|
|
7
|
-
bounds: LatLngTuple[];
|
|
8
|
-
}): (node: HTMLDivElement | null) => void;
|
|
9
|
-
export declare function usePrintMedia(): boolean;
|
|
10
|
-
//# sourceMappingURL=map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/hooks/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,WAAW,EAAE,MAAM,SAAS,CAAC;AAO/C,wBAAgB,YAAY;;;EAsB3B;AAED,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,WAAW,EAAE,CAAA;CAAE,yCAWjE;AAED,wBAAgB,aAAa,YAE5B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from "./DHIS2Map.js";
|
|
2
|
-
export * from "./interfaces/index.js";
|
|
3
|
-
export * from "./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js";
|
|
4
|
-
export * from "./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js";
|
|
5
|
-
export * from "./constants/colors.js";
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,6EAA6E,CAAC;AAC5F,cAAc,uEAAuE,CAAC;AACtF,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { OrgUnitSelection } from "@hisptz/dhis2-utils";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import type { MapContainerProps } from "react-leaflet";
|
|
4
|
-
import { MapControls, MapLegendConfig } from "../components/MapArea/interfaces/index.js";
|
|
5
|
-
import { EarthEngineLayerConfig, ThematicLayerConfig } from "../components/MapLayer/interfaces/index.js";
|
|
6
|
-
import { type LeafletEventHandlerFnMap, type LeafletMouseEvent, Map as LeafletMap } from "leaflet";
|
|
7
|
-
export interface MapProviderProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
orgUnitSelection: OrgUnitSelection;
|
|
10
|
-
periodSelection?: {
|
|
11
|
-
periods?: string[];
|
|
12
|
-
range?: {
|
|
13
|
-
start: Date;
|
|
14
|
-
end: Date;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export interface MapProps {
|
|
19
|
-
key?: string;
|
|
20
|
-
setRef?: (ref: LeafletMap) => void;
|
|
21
|
-
orgUnitSelection: OrgUnitSelection;
|
|
22
|
-
pointLayer?: {
|
|
23
|
-
enabled: boolean;
|
|
24
|
-
label?: string;
|
|
25
|
-
level?: number | string;
|
|
26
|
-
group?: string;
|
|
27
|
-
style?: {
|
|
28
|
-
icon?: string;
|
|
29
|
-
groupSet?: string;
|
|
30
|
-
};
|
|
31
|
-
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
32
|
-
onLayerClick?: (e: LeafletMouseEvent, data: {
|
|
33
|
-
orgUnit: MapOrgUnit;
|
|
34
|
-
}) => void;
|
|
35
|
-
};
|
|
36
|
-
boundaryLayer?: {
|
|
37
|
-
enabled: boolean;
|
|
38
|
-
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
39
|
-
onLayerClick?: (e: LeafletMouseEvent, data: {
|
|
40
|
-
orgUnit: MapOrgUnit;
|
|
41
|
-
}) => void;
|
|
42
|
-
};
|
|
43
|
-
controls?: MapControls[];
|
|
44
|
-
legends?: MapLegendConfig;
|
|
45
|
-
thematicLayers?: ThematicLayerConfig[];
|
|
46
|
-
earthEngineLayers?: EarthEngineLayerConfig[];
|
|
47
|
-
periodSelection?: {
|
|
48
|
-
periods?: string[];
|
|
49
|
-
range?: {
|
|
50
|
-
start: Date;
|
|
51
|
-
end: Date;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
mapOptions?: MapContainerProps;
|
|
55
|
-
}
|
|
56
|
-
export interface MapOrgUnit {
|
|
57
|
-
id: string;
|
|
58
|
-
path: string;
|
|
59
|
-
name: string;
|
|
60
|
-
bounds: any[];
|
|
61
|
-
geoJSON: any;
|
|
62
|
-
children?: MapOrgUnit[];
|
|
63
|
-
level?: number;
|
|
64
|
-
}
|
|
65
|
-
export interface PointOrgUnit {
|
|
66
|
-
id: string;
|
|
67
|
-
path: string;
|
|
68
|
-
name: string;
|
|
69
|
-
bounds: any[];
|
|
70
|
-
geoJSON: any;
|
|
71
|
-
icon: {
|
|
72
|
-
type: "custom" | "groupIcon";
|
|
73
|
-
icon: string;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/interfaces/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { OrgUnitSelection } from "@hisptz/dhis2-utils";
|
|
3
|
-
import { BasePeriod } from "@hisptz/dhis2-utils";
|
|
4
|
-
import { CustomMapLayer } from "../components/MapLayer/interfaces/index.js";
|
|
5
|
-
import { MapOrgUnit } from "../interfaces/index.js";
|
|
6
|
-
export declare const MapOrgUnitContext: import("react").Context<{
|
|
7
|
-
orgUnitSelection: OrgUnitSelection;
|
|
8
|
-
orgUnits?: MapOrgUnit[] | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
export declare const MapPeriodContext: import("react").Context<{
|
|
11
|
-
periods?: BasePeriod[] | undefined;
|
|
12
|
-
range?: {
|
|
13
|
-
start: Date;
|
|
14
|
-
end: Date;
|
|
15
|
-
} | undefined;
|
|
16
|
-
} | undefined>;
|
|
17
|
-
export declare const MapLayersContext: import("react").Context<{
|
|
18
|
-
layers: CustomMapLayer[];
|
|
19
|
-
updateLayer: (id: string, updatedLayer: CustomMapLayer) => void;
|
|
20
|
-
}>;
|
|
21
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/state/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,eAAO,MAAM,iBAAiB;sBACX,gBAAgB;;EAKjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;eAGT,IAAI;aAAO,IAAI;;cAKjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;YACpB,cAAc,EAAE;sBACN,MAAM,gBAAgB,cAAc,KAAK,IAAI;EAI9D,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { COLOR_SCALES } from "../constants/colors.js";
|
|
2
|
-
export declare const getColorPalette: (scale: string, classes: number) => any;
|
|
3
|
-
export declare const getColorClasses: (palette: string) => number;
|
|
4
|
-
export declare const getColorScale: (palette: string) => string | undefined;
|
|
5
|
-
export declare const defaultColorScaleName = "YlOrBr";
|
|
6
|
-
export declare const defaultClasses = 5;
|
|
7
|
-
export declare const defaultColorScale: any;
|
|
8
|
-
export declare const cssColor: (color: any) => any;
|
|
9
|
-
export declare const getUniqueColor: (defaultColors: any) => (index: number) => any;
|
|
10
|
-
export declare const isDarkColor: (color: string) => boolean;
|
|
11
|
-
export declare const getContrastColor: (color: string) => "#fff" | "#000";
|
|
12
|
-
export type LegendColorScale = (typeof COLOR_SCALES)[number];
|
|
13
|
-
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/utils/colors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAKtE,eAAO,MAAM,eAAe,UAAW,MAAM,WAAW,MAAM,QAE7D,CAAC;AAEF,eAAO,MAAM,eAAe,YAAa,MAAM,WAE9C,CAAC;AAGF,eAAO,MAAM,aAAa,YAAa,MAAM,uBAK5C,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAC9C,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,iBAAiB,KAG7B,CAAC;AAGF,eAAO,MAAM,QAAQ,UAAW,GAAG,QAQlC,CAAC;AAGF,eAAO,MAAM,cAAc,kBAAmB,GAAG,aAkBjC,MAAM,QACrB,CAAC;AAGF,eAAO,MAAM,WAAW,UAAW,MAAM,YAAsB,CAAC;AAGhE,eAAO,MAAM,gBAAgB,UAAW,MAAM,oBACT,CAAC;AACtC,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import L from "leaflet";
|
|
2
|
-
export declare const getLongestTextLength: (array: Array<any>, key: string | number) => any;
|
|
3
|
-
export declare function getIconUrl(icon: string, { baseUrl }: {
|
|
4
|
-
baseUrl: string;
|
|
5
|
-
}): string;
|
|
6
|
-
export declare function getIcon(url: string): L.Icon | undefined;
|
|
7
|
-
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/utils/helpers.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,SAAS,CAAC;AAExB,eAAO,MAAM,oBAAoB,UAAW,MAAM,GAAG,CAAC,OAAO,MAAM,GAAG,MAAM,QAOnE,CAAC;AAEV,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,UAExE;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,GAAG,SAAS,CAIvD"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { Legend, OrgUnitSelection } from "@hisptz/dhis2-utils";
|
|
2
|
-
import { LeafletMouseEvent } from "leaflet";
|
|
3
|
-
export declare function highlightFeature(e: LeafletMouseEvent, style: any): void;
|
|
4
|
-
export declare function resetHighlight(e: LeafletMouseEvent, defaultStyle: any): void;
|
|
5
|
-
export declare function getColorFromLegendSet(legends: Legend[], value?: number): string;
|
|
6
|
-
export declare function getLegendCount(legend: any, data: any): number;
|
|
7
|
-
export declare function getOrgUnitsSelection(orgUnitSelection: OrgUnitSelection): string[];
|
|
8
|
-
export declare function sanitizeOrgUnits(metaData: any): any;
|
|
9
|
-
export declare function toGeoJson(organisationUnits: any): ({
|
|
10
|
-
type: string;
|
|
11
|
-
id: any;
|
|
12
|
-
geometry: {
|
|
13
|
-
type: string;
|
|
14
|
-
coordinates: any;
|
|
15
|
-
};
|
|
16
|
-
properties: {
|
|
17
|
-
type: string;
|
|
18
|
-
id: any;
|
|
19
|
-
name: any;
|
|
20
|
-
hasCoordinatesDown: any;
|
|
21
|
-
hasCoordinatesUp: any;
|
|
22
|
-
level: any;
|
|
23
|
-
grandParentParentGraph: string;
|
|
24
|
-
grandParentId: string;
|
|
25
|
-
parentGraph: any;
|
|
26
|
-
parentId: any;
|
|
27
|
-
parentName: any;
|
|
28
|
-
dimensions: any;
|
|
29
|
-
};
|
|
30
|
-
} | {
|
|
31
|
-
type?: undefined;
|
|
32
|
-
id?: undefined;
|
|
33
|
-
geometry?: undefined;
|
|
34
|
-
properties?: undefined;
|
|
35
|
-
})[];
|
|
36
|
-
export declare function sanitizeDate(startDate: string): string;
|
|
37
|
-
export declare function generateLegends(maxValue: number, minValue: number, { classesCount, colorClass }: {
|
|
38
|
-
classesCount: number;
|
|
39
|
-
colorClass: string;
|
|
40
|
-
}): Array<Legend>;
|
|
41
|
-
//# sourceMappingURL=map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/utils/map.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,MAAM,EAEN,gBAAgB,EAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAgB5C,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,iBAAiB,EAAE,KAAK,EAAE,GAAG,QAIhE;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,iBAAiB,EAAE,YAAY,EAAE,GAAG,QAIrE;AAED,wBAAgB,qBAAqB,CACpC,OAAO,EAAE,MAAM,EAAE,EACjB,KAAK,CAAC,EAAE,MAAM,GACZ,MAAM,CAWR;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,UAIpD;AAED,wBAAgB,oBAAoB,CAAC,gBAAgB,EAAE,gBAAgB,YAyBtE;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,GAAG,OAS7C;AAED,wBAAgB,SAAS,CAAC,iBAAiB,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;KAwD/C;AAED,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAKtD;AAED,wBAAgB,eAAe,CAC9B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GACxE,KAAK,CAAC,MAAM,CAAC,CAuBf"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import SingleValueItem from "./components/SingleValueItem/SingleValueItem.js";
|
|
3
|
-
import { SingleValueVisualizerProps } from "./types/props.js";
|
|
4
|
-
export * from "./types/props.js";
|
|
5
|
-
export declare function SingleValueVisualizer({ title, singleValueItems, animationDuration, animationDelay, }: SingleValueVisualizerProps): React.ReactElement;
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated since `v2`. Use `SingleValueVisualizer` instead
|
|
8
|
-
* */
|
|
9
|
-
export declare const SingleValueContainer: typeof SingleValueVisualizer;
|
|
10
|
-
export { SingleValueItem };
|
|
11
|
-
//# sourceMappingURL=SingleValueVisualizer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,GACd,EAAE,0BAA0B,GAAG,KAAK,CAAC,YAAY,CA2BjD;AAED;;KAEK;AACL,eAAO,MAAM,oBAAoB,8BAAwB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SingleValue } from "../../types/props.js";
|
|
3
|
-
interface SingleValueProps extends SingleValue {
|
|
4
|
-
globalAnimationDelay?: number;
|
|
5
|
-
globalAnimationDuration?: number;
|
|
6
|
-
}
|
|
7
|
-
export default function SingleValueItem({ label, value, color, percentage, animationDuration, animationDelay, globalAnimationDelay, decimalPlaces, globalAnimationDuration, }: SingleValueProps): React.ReactElement;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=SingleValueItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;CACjC;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,GACvB,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAoCvC"}
|