@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBoundaryData.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,+DAI9B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CustomBoundaryLayer as BoundaryLayerInterface } from "../../interfaces/index.js";
|
|
2
|
-
export declare const defaultStyle: {
|
|
3
|
-
weight: number;
|
|
4
|
-
color: string;
|
|
5
|
-
fillColor: string;
|
|
6
|
-
fillOpacity: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const highlightStyle: {
|
|
9
|
-
weight: number;
|
|
10
|
-
color: string;
|
|
11
|
-
dashArray: string;
|
|
12
|
-
fillOpacity: number;
|
|
13
|
-
};
|
|
14
|
-
export default function BoundaryLayer(props: BoundaryLayerInterface): import("react/jsx-runtime.js").JSX.Element;
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/BoundaryLayer/index.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,mBAAmB,IAAI,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAG1F,eAAO,MAAM,YAAY;;;;;CAKxB,CAAC;AACF,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,sBAAsB,8CAyClE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { CustomGoogleEngineLayer } from "../../../interfaces/index.js";
|
|
3
|
-
export declare function LegendItem({ legend, }: {
|
|
4
|
-
legend: {
|
|
5
|
-
min: number;
|
|
6
|
-
max: number;
|
|
7
|
-
color: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
};
|
|
10
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
11
|
-
declare const _default: React.ForwardRefExoticComponent<{
|
|
12
|
-
layer: CustomGoogleEngineLayer;
|
|
13
|
-
collapsible?: boolean | undefined;
|
|
14
|
-
onCollapse?: (() => void) | undefined;
|
|
15
|
-
name: string;
|
|
16
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
export default _default;
|
|
18
|
-
//# sourceMappingURL=EarthEngineLegend.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;;;AA4FD,wBAA6C"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { EarthEngineOptions } from "../interfaces/index.js";
|
|
2
|
-
export declare const EARTH_ENGINE_LAYER = "earthEngine";
|
|
3
|
-
export declare const EARTH_ENGINE_LAYERS: EarthEngineOptions[];
|
|
4
|
-
export declare const SUPPORTED_EARTH_ENGINE_LAYERS: string[];
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAEhD,eAAO,MAAM,mBAAmB,EAAE,kBAAkB,EA4bnD,CAAC;AAEF,eAAO,MAAM,6BAA6B,UAIzC,CAAC"}
|
package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CustomGoogleEngineLayer } from "../../../interfaces/index.js";
|
|
2
|
-
import { EarthEngineToken } from "../interfaces/index.js";
|
|
3
|
-
export declare function useGoogleEngineToken(): {
|
|
4
|
-
refresh: () => Promise<{
|
|
5
|
-
token: EarthEngineToken;
|
|
6
|
-
}>;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
};
|
|
9
|
-
export default function useGoogleEngineLayer(layerId: string): CustomGoogleEngineLayer | undefined;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAS1D,wBAAgB,oBAAoB;mBAYI,QAAQ;QAC7C,KAAK,EAAE,gBAAgB,CAAC;KACxB,CAAC;;EAGH;AAED,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC3C,OAAO,EAAE,MAAM,GACb,uBAAuB,GAAG,SAAS,CAGrC"}
|
package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/index.tsx"],"names":[],"mappings":"AA8MA,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,qDAqCzE"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { MapOrgUnit } from "../../../../../interfaces/index.js";
|
|
2
|
-
export interface EarthEngineToken {
|
|
3
|
-
access_token: string;
|
|
4
|
-
client_id: string;
|
|
5
|
-
expires_in: number;
|
|
6
|
-
}
|
|
7
|
-
export type RefreshToken = () => Promise<{
|
|
8
|
-
token: EarthEngineToken;
|
|
9
|
-
}>;
|
|
10
|
-
export type DatasetType = "Image" | "ImageCollection" | "Feature" | "FeatureCollection";
|
|
11
|
-
export interface EarthEngineOptions {
|
|
12
|
-
layer: "earthEngine";
|
|
13
|
-
type: DatasetType;
|
|
14
|
-
id: string;
|
|
15
|
-
datasetId: string;
|
|
16
|
-
name: string;
|
|
17
|
-
unit?: string;
|
|
18
|
-
description: string;
|
|
19
|
-
source: string;
|
|
20
|
-
sourceUrl: string;
|
|
21
|
-
img: string;
|
|
22
|
-
defaultAggregations?: string[];
|
|
23
|
-
maxAggregations?: number;
|
|
24
|
-
periodType?: string;
|
|
25
|
-
filters?: string[];
|
|
26
|
-
legend?: {
|
|
27
|
-
items: {
|
|
28
|
-
id: number;
|
|
29
|
-
name: string;
|
|
30
|
-
color: string;
|
|
31
|
-
}[];
|
|
32
|
-
};
|
|
33
|
-
legacy?: boolean;
|
|
34
|
-
mosaic?: boolean;
|
|
35
|
-
bands?: {
|
|
36
|
-
id: string;
|
|
37
|
-
name: any;
|
|
38
|
-
multiple?: boolean;
|
|
39
|
-
}[];
|
|
40
|
-
mask?: boolean;
|
|
41
|
-
selectedBands?: string[];
|
|
42
|
-
params?: {
|
|
43
|
-
min: number;
|
|
44
|
-
max: number;
|
|
45
|
-
palette: string;
|
|
46
|
-
};
|
|
47
|
-
opacity: number;
|
|
48
|
-
notice?: string;
|
|
49
|
-
error?: string;
|
|
50
|
-
tokenType: "Bearer";
|
|
51
|
-
aggregations?: string[];
|
|
52
|
-
tileScale?: number;
|
|
53
|
-
methods?: Record<string, any>;
|
|
54
|
-
}
|
|
55
|
-
export interface GoogleEngineComponentProps {
|
|
56
|
-
options: EarthEngineOptions;
|
|
57
|
-
orgUnits: MapOrgUnit[];
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,WAAW,gBAAgB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,CAAC;IAAE,KAAK,EAAE,gBAAgB,CAAA;CAAE,CAAC,CAAC;AACtE,MAAM,MAAM,WAAW,GACpB,OAAO,GACP,iBAAiB,GACjB,SAAS,GACT,mBAAmB,CAAC;AAEvB,MAAM,WAAW,kBAAkB;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE;QACR,KAAK,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KACrD,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,GAAG,CAAC;QACV,QAAQ,CAAC,EAAE,OAAO,CAAC;KACnB,EAAE,CAAC;IACJ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,QAAQ,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,0BAA0B;IAC1C,OAAO,EAAE,kBAAkB,CAAC;IAC5B,QAAQ,EAAE,UAAU,EAAE,CAAC;CACvB"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { MapOrgUnit } from "../../../../../interfaces/index.js";
|
|
2
|
-
import { EarthEngineOptions, EarthEngineToken, RefreshToken } from "../interfaces/index.js";
|
|
3
|
-
export declare class EarthEngine {
|
|
4
|
-
token?: EarthEngineToken;
|
|
5
|
-
options: EarthEngineOptions;
|
|
6
|
-
refresh?: RefreshToken;
|
|
7
|
-
orgUnits?: MapOrgUnit[];
|
|
8
|
-
initialized: boolean;
|
|
9
|
-
period?: string | string[];
|
|
10
|
-
instance: any;
|
|
11
|
-
scale?: any;
|
|
12
|
-
image: any;
|
|
13
|
-
aggregationData: any;
|
|
14
|
-
constructor({ options }: {
|
|
15
|
-
options: EarthEngineOptions;
|
|
16
|
-
});
|
|
17
|
-
static setToken(token: EarthEngineToken, refresh: RefreshToken): Promise<void>;
|
|
18
|
-
setOrgUnits(orgUnits: MapOrgUnit[]): EarthEngine;
|
|
19
|
-
setPeriod(period: string): void;
|
|
20
|
-
getValue(geoJSON: any, type: string): Promise<unknown>;
|
|
21
|
-
getPeriod(): Promise<unknown>;
|
|
22
|
-
info(): Promise<unknown>;
|
|
23
|
-
getScale(): Promise<void>;
|
|
24
|
-
getFeatureCollectionAggregation(): Promise<any>;
|
|
25
|
-
getHistogramAggregations(): Promise<{
|
|
26
|
-
orgUnit: MapOrgUnit | undefined;
|
|
27
|
-
data: any;
|
|
28
|
-
}[]>;
|
|
29
|
-
getAggregations(): Promise<void>;
|
|
30
|
-
getAggregation(orgUnit: MapOrgUnit): any;
|
|
31
|
-
url(): Promise<string>;
|
|
32
|
-
protected applyPeriod(imageCollection: any): any;
|
|
33
|
-
protected applyMask(image: any): any;
|
|
34
|
-
protected applyBand(imageCollection: any): any;
|
|
35
|
-
protected getReducerByType(type: string): any;
|
|
36
|
-
protected getGeometryByType(geoJSON: any): any;
|
|
37
|
-
protected getFeatureByType(geoJSON: any): any;
|
|
38
|
-
protected getFeatureCollection(): unknown;
|
|
39
|
-
protected getParamsFromLegend(): {
|
|
40
|
-
min: number;
|
|
41
|
-
max: number;
|
|
42
|
-
palette: string;
|
|
43
|
-
} | undefined;
|
|
44
|
-
protected visualize(image: any): Promise<string>;
|
|
45
|
-
protected getImageCollectionInstance(): any;
|
|
46
|
-
protected getImageFromImageCollection(): any;
|
|
47
|
-
protected getImageInstance(): any;
|
|
48
|
-
protected getImageFromImage(): any;
|
|
49
|
-
protected getFeatureInstance(): any;
|
|
50
|
-
protected getImageFromFeature(): any;
|
|
51
|
-
protected getFeatureCollectionInstance(): any;
|
|
52
|
-
protected getImageFromFeatureCollection(): any;
|
|
53
|
-
protected getInstance(): void;
|
|
54
|
-
protected getImage(): any;
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=engine.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EACN,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,MAAM,wBAAwB,CAAC;AA6BhC,qBAAa,WAAW;IACvB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IACxB,WAAW,UAAS;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,QAAQ,EAAE,GAAG,CAAC;IACd,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,KAAK,EAAE,GAAG,CAAC;IACX,eAAe,EAAE,GAAG,CAAC;gBAET,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,kBAAkB,CAAA;KAAE;WAM3C,QAAQ,CACpB,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAuChB,WAAW,CAAC,QAAQ,EAAE,UAAU,EAAE,GAAG,WAAW;IAKhD,SAAS,CAAC,MAAM,EAAE,MAAM;IAIlB,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAkBnC,SAAS;IAgBT,IAAI;IAMJ,QAAQ;IAaR,+BAA+B;IAgB/B,wBAAwB;;;;IA4CxB,eAAe;IA6CrB,cAAc,CAAC,OAAO,EAAE,UAAU;IAU5B,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC;IAK5B,SAAS,CAAC,WAAW,CAAC,eAAe,EAAE,GAAG;IAO1C,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG;IAQ9B,SAAS,CAAC,SAAS,CAAC,eAAe,EAAE,GAAG;IAQxC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAIvC,SAAS,CAAC,iBAAiB,CAAC,OAAO,EAAE,GAAG;IAIxC,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG;IAgBvC,SAAS,CAAC,oBAAoB,IAAI,OAAO;IAYzC,SAAS,CAAC,mBAAmB;;;;;cAUb,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IActD,SAAS,CAAC,0BAA0B;IAUpC,SAAS,CAAC,2BAA2B;IAYrC,SAAS,CAAC,gBAAgB;IAO1B,SAAS,CAAC,iBAAiB;IAI3B,SAAS,CAAC,kBAAkB;IAO5B,SAAS,CAAC,mBAAmB;IAI7B,SAAS,CAAC,4BAA4B;IAStC,SAAS,CAAC,6BAA6B;IAOvC,SAAS,CAAC,WAAW;IAoBrB,SAAS,CAAC,QAAQ,IAAI,GAAG;CA2BzB"}
|
package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EarthEngineOptions } from "../interfaces/index.js";
|
|
2
|
-
export declare const combineReducers: (ee: any) => (types: string[]) => any;
|
|
3
|
-
export declare const getInfo: (instance: any) => Promise<unknown>;
|
|
4
|
-
export declare const getFeatureCollectionProperties: (data: any) => any;
|
|
5
|
-
export declare const getScale: (image: any) => Promise<any>;
|
|
6
|
-
export declare const getClassifiedImage: (eeImage: any, { legend: legends, params }: EarthEngineOptions) => {
|
|
7
|
-
eeImage: any;
|
|
8
|
-
params: {
|
|
9
|
-
min: number;
|
|
10
|
-
max: number;
|
|
11
|
-
palette: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare const hasClasses: (type: string) => boolean;
|
|
15
|
-
export declare const getHistogramStatistics: ({ data, scale, aggregationType, legend, }: {
|
|
16
|
-
data: any;
|
|
17
|
-
scale: any;
|
|
18
|
-
aggregationType: string;
|
|
19
|
-
legend: any;
|
|
20
|
-
}) => any;
|
|
21
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,eAAO,MAAM,eAAe,OAAQ,GAAG,aAAa,MAAM,EAAE,QAU1D,CAAC;AAEH,eAAO,MAAM,OAAO,aAAc,GAAG,qBASnC,CAAC;AAEH,eAAO,MAAM,8BAA8B,SAAU,GAAG,QAOtD,CAAC;AAEH,eAAO,MAAM,QAAQ,UAAiB,GAAG,iBAExC,CAAC;AAWF,eAAO,MAAM,kBAAkB,YACrB,GAAG,+BACiB,kBAAkB;;;;;;;CAwB/C,CAAC;AAQF,eAAO,MAAM,UAAU,SAAU,MAAM,YAAoC,CAAC;AAE5E,eAAO,MAAM,sBAAsB;UAM5B,GAAG;WACF,GAAG;qBACO,MAAM;YACf,GAAG;SAkCV,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACxC,KAAK,EACL,WAAW,EACX,UAAU,GACV,EAAE;IACF,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,2CAqBA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ControlPosition } from "leaflet";
|
|
2
|
-
import { MapLegendConfig } from "../../../MapArea/interfaces/index.js";
|
|
3
|
-
import { CustomGoogleEngineLayer, CustomPointLayer, CustomThematicLayer } from "../../interfaces/index.js";
|
|
4
|
-
export default function LegendArea({ layers, legends: legendConfig, }: {
|
|
5
|
-
layers: Array<CustomThematicLayer | CustomPointLayer | CustomGoogleEngineLayer>;
|
|
6
|
-
position: ControlPosition;
|
|
7
|
-
legends?: MapLegendConfig;
|
|
8
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,8CA2BA"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/hooks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,wBAAgB,aAAa,qBAG5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/index.tsx"],"names":[],"mappings":"AAeA,wBAAgB,UAAU,+CAoDzB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface BubbleProps {
|
|
2
|
-
radius: number;
|
|
3
|
-
maxRadius: number;
|
|
4
|
-
text?: string;
|
|
5
|
-
textAlign?: "left" | "right";
|
|
6
|
-
color?: string;
|
|
7
|
-
stroke?: string;
|
|
8
|
-
pattern?: string;
|
|
9
|
-
gap?: number;
|
|
10
|
-
}
|
|
11
|
-
declare const Bubble: ({ radius, maxRadius, text, textAlign, color, stroke, pattern, }: BubbleProps) => import("react/jsx-runtime.js").JSX.Element;
|
|
12
|
-
export default Bubble;
|
|
13
|
-
//# sourceMappingURL=Bubble.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED,QAAA,MAAM,MAAM,oEAQT,WAAW,+CA8Cb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const guideLength = 16;
|
|
3
|
-
export declare const textPadding = 4;
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({ radiusLow, radiusHigh, color, classes, }: {
|
|
5
|
-
radiusLow: number;
|
|
6
|
-
radiusHigh: number;
|
|
7
|
-
color?: string | undefined;
|
|
8
|
-
classes: any[];
|
|
9
|
-
}) => import("react/jsx-runtime.js").JSX.Element | null>;
|
|
10
|
-
export default _default;
|
|
11
|
-
//# sourceMappingURL=Bubbles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;;;AA+J7B,wBAA6B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Legend } from "@hisptz/dhis2-utils";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../../interfaces/index.js";
|
|
4
|
-
declare const _default: React.ForwardRefExoticComponent<{
|
|
5
|
-
radius: {
|
|
6
|
-
min: number;
|
|
7
|
-
max: number;
|
|
8
|
-
};
|
|
9
|
-
dataItem: ThematicLayerDataItem;
|
|
10
|
-
data: ThematicLayerData[];
|
|
11
|
-
name?: string | undefined;
|
|
12
|
-
collapsible?: boolean | undefined;
|
|
13
|
-
onCollapse?: (() => void) | undefined;
|
|
14
|
-
legends: Legend[];
|
|
15
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
export default _default;
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;;;;;;;;;AA4C/C,wBAAwC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Legend } from "@hisptz/dhis2-utils";
|
|
2
|
-
import { type LeafletEventHandlerFnMap, type LeafletMouseEvent } from "leaflet";
|
|
3
|
-
import { ThematicLayerData, ThematicLayerDataItem } from "../../../../interfaces/index.js";
|
|
4
|
-
import { MapOrgUnit } from "../../../../../../interfaces/index.js";
|
|
5
|
-
interface LayerData {
|
|
6
|
-
orgUnit: MapOrgUnit;
|
|
7
|
-
data?: number;
|
|
8
|
-
dataItem: ThematicLayerDataItem;
|
|
9
|
-
}
|
|
10
|
-
export default function Bubble({ data, highestData, legends, radius, customEventHandlers, onLayerClick, }: {
|
|
11
|
-
data: ThematicLayerData;
|
|
12
|
-
highestData: number;
|
|
13
|
-
legends: Legend[];
|
|
14
|
-
radius?: {
|
|
15
|
-
min: number;
|
|
16
|
-
max: number;
|
|
17
|
-
};
|
|
18
|
-
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
19
|
-
onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
|
|
20
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
21
|
-
export {};
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAEN,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,MAAM,SAAS,CAAC;AAQjB,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AASnE,UAAU,SAAS;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,qBAAqB,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC9B,IAAI,EACJ,WAAW,EACX,OAAO,EACP,MAAM,EACN,mBAAmB,EACnB,YAAY,GACZ,EAAE;IACF,IAAI,EAAE,iBAAiB,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/D,8CAqCA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import "../../../styles/legends.css";
|
|
2
|
-
import type { Legend } from "@hisptz/dhis2-utils";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../interfaces/index.js";
|
|
5
|
-
export declare function LegendItem({ legend, value, }: {
|
|
6
|
-
legend: {
|
|
7
|
-
startValue: number;
|
|
8
|
-
endValue: number;
|
|
9
|
-
color: string;
|
|
10
|
-
};
|
|
11
|
-
value: number;
|
|
12
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<{
|
|
14
|
-
data: ThematicLayerData[];
|
|
15
|
-
dataItem: ThematicLayerDataItem;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
collapsible?: boolean | undefined;
|
|
18
|
-
onCollapse?: (() => void) | undefined;
|
|
19
|
-
legends: Legend[];
|
|
20
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
export default _default;
|
|
22
|
-
//# sourceMappingURL=ChoroplethLegend.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChoroplethLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,oCAAoC,CAAC;AAG5C,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,KAAK,GACL,EAAE;IACF,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;CACd,2CAWA;;;;;;;;;AAyCD,wBAA4C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Legend } from "@hisptz/dhis2-utils";
|
|
2
|
-
import { MapOrgUnit } from "../../../../../../interfaces/index.js";
|
|
3
|
-
import { ThematicLayerDataItem } from "../../../../interfaces/index.js";
|
|
4
|
-
import type { LeafletEventHandlerFnMap, LeafletMouseEvent } from "leaflet";
|
|
5
|
-
interface LayerData {
|
|
6
|
-
orgUnit: MapOrgUnit;
|
|
7
|
-
data?: number;
|
|
8
|
-
dataItem: ThematicLayerDataItem;
|
|
9
|
-
}
|
|
10
|
-
export default function Choropleth({ data, legends, customEventHandlers, onLayerClick, }: {
|
|
11
|
-
data: LayerData;
|
|
12
|
-
legends: Legend[];
|
|
13
|
-
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
14
|
-
onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
|
|
15
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAMnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAS3E,UAAU,SAAS;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,qBAAqB,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,mBAAmB,EACnB,YAAY,GACZ,EAAE;IACF,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/D,8CA4BA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACrC,IAAI,EAAE,UAAU,GAChB,EAAE;IACF,IAAI,EAAE,iBAAiB,CAAC;CACxB,8CA0BA"}
|
package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACvC,OAAO,EAAE,MAAM,GACb,mBAAmB,GAAG,SAAS,CAIjC"}
|
package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/index.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACrC,OAAO,EACP,KAAK,GACL,EAAE;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACd,qDAyDA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CustomBoundaryLayer, CustomGoogleEngineLayer, CustomPointLayer, CustomThematicLayer } from "./interfaces/index.js";
|
|
2
|
-
export default function MapLayer({ layer, index, }: {
|
|
3
|
-
layer: CustomThematicLayer | CustomBoundaryLayer | CustomPointLayer | CustomGoogleEngineLayer;
|
|
4
|
-
index: number;
|
|
5
|
-
}): import("react/jsx-runtime.js").JSX.Element | null;
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapLayer/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EACN,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAChC,KAAK,EACL,KAAK,GACL,EAAE;IACF,KAAK,EACF,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,uBAAuB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACd,qDAkBA"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import type { Legend } from "@hisptz/dhis2-utils";
|
|
2
|
-
import { MapOrgUnit, PointOrgUnit } from "../../../interfaces/index.js";
|
|
3
|
-
import { LegendColorScale } from "../../../utils/colors.js";
|
|
4
|
-
import { EarthEngineOptions } from "../components/GoogleEngineLayer/interfaces/index.js";
|
|
5
|
-
import { EarthEngine } from "../components/GoogleEngineLayer/services/engine.js";
|
|
6
|
-
import type { LeafletEventHandlerFnMap, LeafletMouseEvent } from "leaflet";
|
|
7
|
-
export type BoundaryLayerType = "basemap" | "overlay";
|
|
8
|
-
export type ThematicLayerType = "choropleth" | "bubble";
|
|
9
|
-
export declare const SUPPORTED_EARTH_ENGINE_LAYERS: string[];
|
|
10
|
-
export type GoogleEngineLayerType = "population" | "footprints" | "elevation" | "landCover";
|
|
11
|
-
export interface CustomBoundaryLayer extends CustomMapLayer {
|
|
12
|
-
id: string;
|
|
13
|
-
type: BoundaryLayerType;
|
|
14
|
-
enabled: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface EarthEngineLayerConfig extends CustomMapLayer {
|
|
17
|
-
type: GoogleEngineLayerType;
|
|
18
|
-
aggregations?: string[];
|
|
19
|
-
name?: string;
|
|
20
|
-
filters?: {
|
|
21
|
-
period: string;
|
|
22
|
-
};
|
|
23
|
-
params?: {
|
|
24
|
-
min: number;
|
|
25
|
-
max: number;
|
|
26
|
-
palette?: string;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export interface CustomGoogleEngineLayer extends CustomMapLayer {
|
|
30
|
-
type: GoogleEngineLayerType;
|
|
31
|
-
options: EarthEngineOptions;
|
|
32
|
-
aggregations?: string[];
|
|
33
|
-
name: string;
|
|
34
|
-
url: string;
|
|
35
|
-
engine?: EarthEngine;
|
|
36
|
-
}
|
|
37
|
-
export interface CustomPointLayer extends CustomMapLayer {
|
|
38
|
-
id: string;
|
|
39
|
-
type: "point";
|
|
40
|
-
label?: string;
|
|
41
|
-
level?: string | number;
|
|
42
|
-
group?: string;
|
|
43
|
-
style?: {
|
|
44
|
-
icon?: string;
|
|
45
|
-
groupSet?: string;
|
|
46
|
-
orgUnitGroups?: Array<{
|
|
47
|
-
name: string;
|
|
48
|
-
symbol: string;
|
|
49
|
-
}>;
|
|
50
|
-
};
|
|
51
|
-
points?: Array<PointOrgUnit>;
|
|
52
|
-
}
|
|
53
|
-
export type DataItemType = "dataElement" | "indicator" | "programIndicator";
|
|
54
|
-
export interface ThematicLayerDataItem {
|
|
55
|
-
id: string;
|
|
56
|
-
displayName: string;
|
|
57
|
-
type: DataItemType;
|
|
58
|
-
legendSet?: string;
|
|
59
|
-
legendConfig?: {
|
|
60
|
-
colorClass: LegendColorScale;
|
|
61
|
-
scale: number;
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
export interface ThematicLayerControl {
|
|
65
|
-
position: "topleft" | "topright" | "bottomleft" | "bottomright";
|
|
66
|
-
enabled: boolean;
|
|
67
|
-
}
|
|
68
|
-
export interface ThematicLayerData {
|
|
69
|
-
orgUnit: MapOrgUnit;
|
|
70
|
-
data?: number;
|
|
71
|
-
dataItem: ThematicLayerDataItem;
|
|
72
|
-
}
|
|
73
|
-
export interface ThematicLayerRawData {
|
|
74
|
-
orgUnit: string;
|
|
75
|
-
data?: number;
|
|
76
|
-
dataItem: string;
|
|
77
|
-
}
|
|
78
|
-
export interface CustomChoroplethLayer extends CustomMapLayer {
|
|
79
|
-
enabled: boolean;
|
|
80
|
-
name?: string;
|
|
81
|
-
data: ThematicLayerData[];
|
|
82
|
-
dataItem: ThematicLayerDataItem;
|
|
83
|
-
type: "choropleth";
|
|
84
|
-
control?: ThematicLayerControl;
|
|
85
|
-
legends?: Legend[];
|
|
86
|
-
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
87
|
-
}
|
|
88
|
-
export interface CustomBubbleLayer extends CustomMapLayer {
|
|
89
|
-
enabled: boolean;
|
|
90
|
-
name?: string;
|
|
91
|
-
data: ThematicLayerData[];
|
|
92
|
-
dataItem: ThematicLayerDataItem;
|
|
93
|
-
type: "bubble";
|
|
94
|
-
control?: ThematicLayerControl;
|
|
95
|
-
legends?: Legend[];
|
|
96
|
-
radius?: {
|
|
97
|
-
min: number;
|
|
98
|
-
max: number;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
export type CustomThematicLayer = CustomBubbleLayer | CustomChoroplethLayer;
|
|
102
|
-
interface LayerData {
|
|
103
|
-
orgUnit: MapOrgUnit;
|
|
104
|
-
data?: number;
|
|
105
|
-
dataItem?: ThematicLayerDataItem;
|
|
106
|
-
}
|
|
107
|
-
export interface ThematicLayerConfig {
|
|
108
|
-
id: string;
|
|
109
|
-
data?: ThematicLayerRawData[];
|
|
110
|
-
enabled: boolean;
|
|
111
|
-
name?: string;
|
|
112
|
-
dataItem: ThematicLayerDataItem;
|
|
113
|
-
type: ThematicLayerType;
|
|
114
|
-
control?: ThematicLayerControl;
|
|
115
|
-
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
116
|
-
onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
|
|
117
|
-
radius?: {
|
|
118
|
-
min: number;
|
|
119
|
-
max: number;
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
export interface CustomMapLayer {
|
|
123
|
-
id: string;
|
|
124
|
-
type: string;
|
|
125
|
-
enabled: boolean;
|
|
126
|
-
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
127
|
-
onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
|
|
128
|
-
}
|
|
129
|
-
export type MapLayer = CustomBoundaryLayer | ThematicLayerConfig | CustomPointLayer | CustomGoogleEngineLayer;
|
|
130
|
-
export interface MapLayerProps {
|
|
131
|
-
enabled: boolean;
|
|
132
|
-
type: "boundary" | "thematic" | "external" | "point" | "earthEngine";
|
|
133
|
-
layer: MapLayer;
|
|
134
|
-
}
|
|
135
|
-
export {};
|
|
136
|
-
//# sourceMappingURL=index.d.ts.map
|