@hisptz/dhis2-analytics 2.0.9 → 2.0.11
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/types/components/ChartAnalytics/DHIS2Chart.d.ts +26 -0
- package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts +8 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts +8 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts +9 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts +2 -0
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts +12 -0
- package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/index.d.ts +2 -0
- package/dist/types/components/ChartAnalytics/index.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/models/bar.d.ts +9 -0
- package/dist/types/components/ChartAnalytics/models/bar.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/models/column.d.ts +13 -0
- package/dist/types/components/ChartAnalytics/models/column.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/models/index.d.ts +19 -0
- package/dist/types/components/ChartAnalytics/models/index.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/models/line.d.ts +9 -0
- package/dist/types/components/ChartAnalytics/models/line.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/models/multi-series.d.ts +10 -0
- package/dist/types/components/ChartAnalytics/models/multi-series.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/models/pie.d.ts +9 -0
- package/dist/types/components/ChartAnalytics/models/pie.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/services/export.d.ts +9 -0
- package/dist/types/components/ChartAnalytics/services/export.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/types/props.d.ts +47 -0
- package/dist/types/components/ChartAnalytics/types/props.d.ts.map +1 -0
- package/dist/types/components/ChartAnalytics/utils/chart.d.ts +16 -0
- package/dist/types/components/ChartAnalytics/utils/chart.d.ts.map +1 -0
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts +6 -0
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts.map +1 -0
- package/dist/types/components/CircularProgressDashboard/index.d.ts +3 -0
- package/dist/types/components/CircularProgressDashboard/index.d.ts.map +1 -0
- package/dist/types/components/CircularProgressDashboard/types/props.d.ts +18 -0
- package/dist/types/components/CircularProgressDashboard/types/props.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts +23 -0
- package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts +10 -0
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts +2 -0
- package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts +2 -0
- package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/index.d.ts +3 -0
- package/dist/types/components/DHIS2PivotTable/index.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts +2 -0
- package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/services/engine.d.ts +63 -0
- package/dist/types/components/DHIS2PivotTable/services/engine.d.ts.map +1 -0
- package/dist/types/components/DHIS2PivotTable/state/engine.d.ts +8 -0
- package/dist/types/components/DHIS2PivotTable/state/engine.d.ts.map +1 -0
- package/dist/types/components/Map/DHIS2Map.d.ts +9 -0
- package/dist/types/components/Map/DHIS2Map.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts +10 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts +9 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts +2 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts +2 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts +2 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts +2 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts +2 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts +4 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts +8 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts.map +1 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts +3 -0
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapArea/index.d.ts +6 -0
- package/dist/types/components/Map/components/MapArea/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts +31 -0
- package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts +8 -0
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts +8 -0
- package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts +6 -0
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapControls/index.d.ts +6 -0
- package/dist/types/components/Map/components/MapControls/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts +2 -0
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts +15 -0
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts +18 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts +5 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts +10 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts +4 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts +59 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts +56 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts +21 -0
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts +6 -0
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts +9 -0
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts +4 -0
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts +3 -0
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts +2 -0
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts +13 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts +11 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts +17 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts +22 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +22 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts +17 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts +5 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts +3 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts +5 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/index.d.ts +6 -0
- package/dist/types/components/Map/components/MapLayer/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts +136 -0
- package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts +10 -0
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts +7 -0
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts +16 -0
- package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapProvider/index.d.ts +3 -0
- package/dist/types/components/Map/components/MapProvider/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/MapUpdater/index.d.ts +5 -0
- package/dist/types/components/Map/components/MapUpdater/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts +3 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts +3 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts +8 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts +420 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts +9 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts +12 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts +2 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts +8 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts +9 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts +2 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts +2 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts +4 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts.map +1 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts +15 -0
- package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts.map +1 -0
- package/dist/types/components/Map/constants/colors.d.ts +422 -0
- package/dist/types/components/Map/constants/colors.d.ts.map +1 -0
- package/dist/types/components/Map/constants/legendSet.d.ts +8 -0
- package/dist/types/components/Map/constants/legendSet.d.ts.map +1 -0
- package/dist/types/components/Map/hooks/map.d.ts +10 -0
- package/dist/types/components/Map/hooks/map.d.ts.map +1 -0
- package/dist/types/components/Map/index.d.ts +6 -0
- package/dist/types/components/Map/index.d.ts.map +1 -0
- package/dist/types/components/Map/interfaces/index.d.ts +76 -0
- package/dist/types/components/Map/interfaces/index.d.ts.map +1 -0
- package/dist/types/components/Map/state/index.d.ts +21 -0
- package/dist/types/components/Map/state/index.d.ts.map +1 -0
- package/dist/types/components/Map/utils/colors.d.ts +13 -0
- package/dist/types/components/Map/utils/colors.d.ts.map +1 -0
- package/dist/types/components/Map/utils/helpers.d.ts +7 -0
- package/dist/types/components/Map/utils/helpers.d.ts.map +1 -0
- package/dist/types/components/Map/utils/map.d.ts +41 -0
- package/dist/types/components/Map/utils/map.d.ts.map +1 -0
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts +11 -0
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts.map +1 -0
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts +10 -0
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts.map +1 -0
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts +3 -0
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts.map +1 -0
- package/dist/types/components/SingleValueContainer/index.d.ts +5 -0
- package/dist/types/components/SingleValueContainer/index.d.ts.map +1 -0
- package/dist/types/components/SingleValueContainer/types/props.d.ts +18 -0
- package/dist/types/components/SingleValueContainer/types/props.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts +11 -0
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts +16 -0
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts +15 -0
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts +5 -0
- package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts +14 -0
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts +23 -0
- package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts +15 -0
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts +2 -0
- package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts.map +1 -0
- package/dist/types/components/Visualization/index.d.ts +23 -0
- package/dist/types/components/Visualization/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeField.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.tsx"],"names":[],"mappings":"AAUA,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,8CA6D9D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EarthEngineOptions } from "../../MapLayer/components/GoogleEngineLayer/interfaces/index.js";
|
|
2
|
+
export declare function useDatasetInfo(shouldRun: boolean, config?: EarthEngineOptions): {
|
|
3
|
+
loading: boolean;
|
|
4
|
+
error: any;
|
|
5
|
+
periods: any;
|
|
6
|
+
};
|
|
7
|
+
export declare function useType(): EarthEngineOptions | undefined;
|
|
8
|
+
//# sourceMappingURL=data.d.ts.map
|
package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/hooks/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AASrG,wBAAgB,cAAc,CAC7B,SAAS,EAAE,OAAO,EAClB,MAAM,CAAC,EAAE,kBAAkB;;;;EA+B3B;AAED,wBAAgB,OAAO,mCAKtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Map as LeafletMap } from "leaflet";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { MapAreaProps } from "./interfaces/index.js";
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<MapAreaProps & React.RefAttributes<LeafletMap>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,KAA6B,MAAM,OAAO,CAAC;AASlD,OAAO,EACN,YAAY,EAGZ,MAAM,uBAAuB,CAAC;;AAqG/B,wBAAmC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ControlPosition } from "leaflet";
|
|
2
|
+
import type { MapContainerProps } from "react-leaflet";
|
|
3
|
+
import { CustomBoundaryLayer, CustomPointLayer, EarthEngineLayerConfig, ThematicLayerConfig } from "../../MapLayer/interfaces";
|
|
4
|
+
export interface MapControls {
|
|
5
|
+
position: ControlPosition;
|
|
6
|
+
type: "zoom" | "rotate" | "fullscreen" | "compass" | "scale" | "print";
|
|
7
|
+
options?: Record<string, any>;
|
|
8
|
+
}
|
|
9
|
+
export interface MapLegendConfig {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
position: ControlPosition;
|
|
12
|
+
collapsible: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface MapLayerConfig {
|
|
15
|
+
thematicLayers?: ThematicLayerConfig[];
|
|
16
|
+
boundaryLayers?: CustomBoundaryLayer[];
|
|
17
|
+
pointLayers?: CustomPointLayer[];
|
|
18
|
+
earthEngineLayers?: EarthEngineLayerConfig[];
|
|
19
|
+
}
|
|
20
|
+
export interface MapAreaProps {
|
|
21
|
+
base?: {
|
|
22
|
+
url: string;
|
|
23
|
+
attribution: string;
|
|
24
|
+
};
|
|
25
|
+
controls?: MapControls[];
|
|
26
|
+
mapOptions?: MapContainerProps;
|
|
27
|
+
legends?: MapLegendConfig;
|
|
28
|
+
layers: MapLayerConfig;
|
|
29
|
+
key?: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/MapArea/interfaces/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EACN,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,WAAW;IAC3B,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACvC,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACvC,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACjC,iBAAiB,CAAC,EAAE,sBAAsB,EAAE,CAAC;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ControlOptions } from "leaflet";
|
|
2
|
+
import React from "react";
|
|
3
|
+
interface CustomControlOptions extends ControlOptions {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function CustomControl({ children, position, ...options }: CustomControlOptions): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/CustomControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,UAAU,oBAAqB,SAAQ,cAAc;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,EAAE,oBAAoB,2CASrF"}
|
package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ControlPosition } from "leaflet";
|
|
2
|
+
import "leaflet-easyprint";
|
|
3
|
+
export default function DownloadControl({ options, position, mapId }: {
|
|
4
|
+
options: any;
|
|
5
|
+
position: ControlPosition;
|
|
6
|
+
mapId: string;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/DownloadControl/index.tsx"],"names":[],"mappings":"AACA,OAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,mBAAmB,CAAC;AAM3B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,eAAe,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,2CAE/H"}
|
package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "leaflet.fullscreen";
|
|
3
|
+
import "leaflet.fullscreen/Control.FullScreen.css";
|
|
4
|
+
declare const FullscreenControl: import("react").ForwardRefExoticComponent<import("leaflet").ControlOptions & import("react").RefAttributes<any>>;
|
|
5
|
+
export default FullscreenControl;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/FullscreenControl/index.tsx"],"names":[],"mappings":";AAEA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,2CAA2C,CAAC;AAEnD,QAAA,MAAM,iBAAiB,kHAEtB,CAAC;AACF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MapControls } from "../MapArea/interfaces/index.js";
|
|
2
|
+
export interface MapControlProps extends MapControls {
|
|
3
|
+
mapId: string;
|
|
4
|
+
}
|
|
5
|
+
export default function MapControl({ type, options, position, mapId, }: MapControlProps): import("react/jsx-runtime.js").JSX.Element | null;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapControls/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,MAAM,WAAW,eAAgB,SAAQ,WAAW;IACnD,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,KAAK,GACL,EAAE,eAAe,qDAmBjB"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EarthEngineLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,wBAAgB,UAAU,CAAC,EAC1B,MAAM,GACN,EAAE;IACF,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnE,8CAcA;;;;;;;AA4FD,wBAA6C"}
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/LegendArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAEN,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EAEnB,MAAM,2BAA2B,CAAC;AAyLnC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,MAAM,EACN,OAAO,EAAE,YAAY,GACrB,EAAE;IACF,MAAM,EAAE,KAAK,CACZ,mBAAmB,GAAG,gBAAgB,GAAG,uBAAuB,CAChE,CAAC;IACF,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,CAAC,EAAE,eAAe,CAAC;CAC1B,8CA2BA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;;AA2F1C,wBAAuC"}
|
package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/index.tsx"],"names":[],"mappings":"AAeA,wBAAgB,UAAU,+CAoDzB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bubbles.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAe,MAAM,OAAO,CAAC;AAcpC,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,WAAW,IAAI,CAAC;;;;;;;AA+J7B,wBAA6B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;AA4C/C,wBAAwC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "../../../styles/legends.css";
|
|
2
|
+
import type { Legend } from "@hisptz/dhis2-utils";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../interfaces/index.js";
|
|
5
|
+
export declare function LegendItem({ legend, value, }: {
|
|
6
|
+
legend: {
|
|
7
|
+
startValue: number;
|
|
8
|
+
endValue: number;
|
|
9
|
+
color: string;
|
|
10
|
+
};
|
|
11
|
+
value: number;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<{
|
|
14
|
+
data: ThematicLayerData[];
|
|
15
|
+
dataItem: ThematicLayerDataItem;
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
collapsible?: boolean | undefined;
|
|
18
|
+
onCollapse?: (() => void) | undefined;
|
|
19
|
+
legends: Legend[];
|
|
20
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=ChoroplethLegend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChoroplethLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,oCAAoC,CAAC;AAG5C,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,KAAK,GACL,EAAE;IACF,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;CACd,2CAWA;;;;;;;;;AAyCD,wBAA4C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Legend } from "@hisptz/dhis2-utils";
|
|
2
|
+
import { MapOrgUnit } from "../../../../../../interfaces/index.js";
|
|
3
|
+
import { ThematicLayerDataItem } from "../../../../interfaces/index.js";
|
|
4
|
+
import type { LeafletEventHandlerFnMap, LeafletMouseEvent } from "leaflet";
|
|
5
|
+
interface LayerData {
|
|
6
|
+
orgUnit: MapOrgUnit;
|
|
7
|
+
data?: number;
|
|
8
|
+
dataItem: ThematicLayerDataItem;
|
|
9
|
+
}
|
|
10
|
+
export default function Choropleth({ data, legends, customEventHandlers, onLayerClick, }: {
|
|
11
|
+
data: LayerData;
|
|
12
|
+
legends: Legend[];
|
|
13
|
+
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
14
|
+
onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
|
|
15
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAMnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAS3E,UAAU,SAAS;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,qBAAqB,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,mBAAmB,EACnB,YAAY,GACZ,EAAE;IACF,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/D,8CA4BA"}
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACvC,OAAO,EAAE,MAAM,GACb,mBAAmB,GAAG,SAAS,CAIjC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|