@hisptz/dhis2-analytics 2.0.9 → 2.0.10
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 +5 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.tsx"],"names":[],"mappings":"AAaA,QAAA,MAAM,gBAAgB;;WAQd,MAAM;WACN,MAAM;wBACO,MAAM,KAAK,IAAI;gBACvB,MAAM;gDAoDlB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const getColorPalette: (scale: string, classes: number) => any;
|
|
2
|
+
export declare const getColorScale: (palette: string) => string | undefined;
|
|
3
|
+
export declare const defaultColorScaleName = "YlOrBr";
|
|
4
|
+
export declare const defaultClasses = 5;
|
|
5
|
+
export declare const defaultColorScale: any;
|
|
6
|
+
export declare const cssColor: (color: any) => any;
|
|
7
|
+
export declare const getUniqueColor: (defaultColors: any) => (index: number) => any;
|
|
8
|
+
export declare const isDarkColor: (color: string) => boolean;
|
|
9
|
+
export declare const getContrastColor: (color: string) => "#fff" | "#000";
|
|
10
|
+
export type LegendColorScale = (typeof colorScales)[number];
|
|
11
|
+
export declare const colorScales: string[];
|
|
12
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe,UAAW,MAAM,WAAW,MAAM,QAE7D,CAAC;AAGF,eAAO,MAAM,aAAa,YAAa,MAAM,uBAK5C,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAC9C,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,iBAAiB,KAG7B,CAAC;AAGF,eAAO,MAAM,QAAQ,UAAW,GAAG,QAQlC,CAAC;AAGF,eAAO,MAAM,cAAc,kBAAmB,GAAG,aAkBjC,MAAM,QACrB,CAAC;AAGF,eAAO,MAAM,WAAW,UAAW,MAAM,YAAsB,CAAC;AAGhE,eAAO,MAAM,gBAAgB,UAAW,MAAM,oBACT,CAAC;AACtC,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAC5D,eAAO,MAAM,WAAW,UAgCvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.tsx"],"names":[],"mappings":"AAUA,wBAAgB,YAAY,+CAqD3B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default function IndicatorSelectorModal({ onUpdate, onClose, hide, selected, disabled, ...props }: {
|
|
2
|
+
onUpdate: (data: any) => void;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
hide: boolean;
|
|
5
|
+
selected: any;
|
|
6
|
+
disabled?: string[];
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.tsx"],"names":[],"mappings":"AAYA,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC9C,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACR,EAAE;IACF,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,2CAkCA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function LegendSetSelector({ selected, onChange, error, required, ...props }: {
|
|
2
|
+
selected?: string;
|
|
3
|
+
onChange: (value: string) => void;
|
|
4
|
+
error?: {
|
|
5
|
+
message?: string;
|
|
6
|
+
};
|
|
7
|
+
required?: boolean;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.tsx"],"names":[],"mappings":"AAgBA,wBAAgB,iBAAiB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACR,EAAE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,2CAsCA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadiusField.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/RadiusField.tsx"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,4CAoC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeField.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/TypeField.tsx"],"names":[],"mappings":"AAKA,wBAAgB,SAAS,4CA6CxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/ThematicLayerConfiguration/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import { ThematicLayerConfig } from "../../MapLayer/interfaces";
|
|
3
|
+
export interface ThematicLayerConfigurationProps {
|
|
4
|
+
exclude?: string[];
|
|
5
|
+
form: UseFormReturn<ThematicLayerConfig>;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export interface ThematicLayerConfigModalProps {
|
|
9
|
+
open: boolean;
|
|
10
|
+
config?: ThematicLayerConfig;
|
|
11
|
+
exclude?: string[];
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
onChange: (config: ThematicLayerConfig) => void;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/ThematicLayerConfiguration/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,WAAW,+BAA+B;IAC/C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAEzC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;AAED,MAAM,WAAW,6BAA6B;IAC7C,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAChD"}
|
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
export declare const COLOR_PALETTES: {
|
|
2
|
+
YlGn: {
|
|
3
|
+
3: string[];
|
|
4
|
+
4: string[];
|
|
5
|
+
5: string[];
|
|
6
|
+
6: string[];
|
|
7
|
+
7: string[];
|
|
8
|
+
8: string[];
|
|
9
|
+
9: string[];
|
|
10
|
+
};
|
|
11
|
+
YlGnBu: {
|
|
12
|
+
3: string[];
|
|
13
|
+
4: string[];
|
|
14
|
+
5: string[];
|
|
15
|
+
6: string[];
|
|
16
|
+
7: string[];
|
|
17
|
+
8: string[];
|
|
18
|
+
9: string[];
|
|
19
|
+
};
|
|
20
|
+
GnBu: {
|
|
21
|
+
3: string[];
|
|
22
|
+
4: string[];
|
|
23
|
+
5: string[];
|
|
24
|
+
6: string[];
|
|
25
|
+
7: string[];
|
|
26
|
+
8: string[];
|
|
27
|
+
9: string[];
|
|
28
|
+
};
|
|
29
|
+
BuGn: {
|
|
30
|
+
3: string[];
|
|
31
|
+
4: string[];
|
|
32
|
+
5: string[];
|
|
33
|
+
6: string[];
|
|
34
|
+
7: string[];
|
|
35
|
+
8: string[];
|
|
36
|
+
9: string[];
|
|
37
|
+
};
|
|
38
|
+
PuBuGn: {
|
|
39
|
+
3: string[];
|
|
40
|
+
4: string[];
|
|
41
|
+
5: string[];
|
|
42
|
+
6: string[];
|
|
43
|
+
7: string[];
|
|
44
|
+
8: string[];
|
|
45
|
+
9: string[];
|
|
46
|
+
};
|
|
47
|
+
PuBu: {
|
|
48
|
+
3: string[];
|
|
49
|
+
4: string[];
|
|
50
|
+
5: string[];
|
|
51
|
+
6: string[];
|
|
52
|
+
7: string[];
|
|
53
|
+
8: string[];
|
|
54
|
+
9: string[];
|
|
55
|
+
};
|
|
56
|
+
BuPu: {
|
|
57
|
+
3: string[];
|
|
58
|
+
4: string[];
|
|
59
|
+
5: string[];
|
|
60
|
+
6: string[];
|
|
61
|
+
7: string[];
|
|
62
|
+
8: string[];
|
|
63
|
+
9: string[];
|
|
64
|
+
};
|
|
65
|
+
RdPu: {
|
|
66
|
+
3: string[];
|
|
67
|
+
4: string[];
|
|
68
|
+
5: string[];
|
|
69
|
+
6: string[];
|
|
70
|
+
7: string[];
|
|
71
|
+
8: string[];
|
|
72
|
+
9: string[];
|
|
73
|
+
};
|
|
74
|
+
PuRd: {
|
|
75
|
+
3: string[];
|
|
76
|
+
4: string[];
|
|
77
|
+
5: string[];
|
|
78
|
+
6: string[];
|
|
79
|
+
7: string[];
|
|
80
|
+
8: string[];
|
|
81
|
+
9: string[];
|
|
82
|
+
};
|
|
83
|
+
OrRd: {
|
|
84
|
+
3: string[];
|
|
85
|
+
4: string[];
|
|
86
|
+
5: string[];
|
|
87
|
+
6: string[];
|
|
88
|
+
7: string[];
|
|
89
|
+
8: string[];
|
|
90
|
+
9: string[];
|
|
91
|
+
};
|
|
92
|
+
YlOrRd: {
|
|
93
|
+
3: string[];
|
|
94
|
+
4: string[];
|
|
95
|
+
5: string[];
|
|
96
|
+
6: string[];
|
|
97
|
+
7: string[];
|
|
98
|
+
8: string[];
|
|
99
|
+
9: string[];
|
|
100
|
+
};
|
|
101
|
+
YlOrBr: {
|
|
102
|
+
3: string[];
|
|
103
|
+
4: string[];
|
|
104
|
+
5: string[];
|
|
105
|
+
6: string[];
|
|
106
|
+
7: string[];
|
|
107
|
+
8: string[];
|
|
108
|
+
9: string[];
|
|
109
|
+
};
|
|
110
|
+
Purples: {
|
|
111
|
+
3: string[];
|
|
112
|
+
4: string[];
|
|
113
|
+
5: string[];
|
|
114
|
+
6: string[];
|
|
115
|
+
7: string[];
|
|
116
|
+
8: string[];
|
|
117
|
+
9: string[];
|
|
118
|
+
};
|
|
119
|
+
Blues: {
|
|
120
|
+
3: string[];
|
|
121
|
+
4: string[];
|
|
122
|
+
5: string[];
|
|
123
|
+
6: string[];
|
|
124
|
+
7: string[];
|
|
125
|
+
8: string[];
|
|
126
|
+
9: string[];
|
|
127
|
+
};
|
|
128
|
+
Greens: {
|
|
129
|
+
3: string[];
|
|
130
|
+
4: string[];
|
|
131
|
+
5: string[];
|
|
132
|
+
6: string[];
|
|
133
|
+
7: string[];
|
|
134
|
+
8: string[];
|
|
135
|
+
9: string[];
|
|
136
|
+
};
|
|
137
|
+
Oranges: {
|
|
138
|
+
3: string[];
|
|
139
|
+
4: string[];
|
|
140
|
+
5: string[];
|
|
141
|
+
6: string[];
|
|
142
|
+
7: string[];
|
|
143
|
+
8: string[];
|
|
144
|
+
9: string[];
|
|
145
|
+
};
|
|
146
|
+
Reds: {
|
|
147
|
+
3: string[];
|
|
148
|
+
4: string[];
|
|
149
|
+
5: string[];
|
|
150
|
+
6: string[];
|
|
151
|
+
7: string[];
|
|
152
|
+
8: string[];
|
|
153
|
+
9: string[];
|
|
154
|
+
};
|
|
155
|
+
Greys: {
|
|
156
|
+
3: string[];
|
|
157
|
+
4: string[];
|
|
158
|
+
5: string[];
|
|
159
|
+
6: string[];
|
|
160
|
+
7: string[];
|
|
161
|
+
8: string[];
|
|
162
|
+
9: string[];
|
|
163
|
+
};
|
|
164
|
+
PuOr: {
|
|
165
|
+
3: string[];
|
|
166
|
+
4: string[];
|
|
167
|
+
5: string[];
|
|
168
|
+
6: string[];
|
|
169
|
+
7: string[];
|
|
170
|
+
8: string[];
|
|
171
|
+
9: string[];
|
|
172
|
+
10: string[];
|
|
173
|
+
11: string[];
|
|
174
|
+
};
|
|
175
|
+
BrBG: {
|
|
176
|
+
3: string[];
|
|
177
|
+
4: string[];
|
|
178
|
+
5: string[];
|
|
179
|
+
6: string[];
|
|
180
|
+
7: string[];
|
|
181
|
+
8: string[];
|
|
182
|
+
9: string[];
|
|
183
|
+
10: string[];
|
|
184
|
+
11: string[];
|
|
185
|
+
};
|
|
186
|
+
PRGn: {
|
|
187
|
+
3: string[];
|
|
188
|
+
4: string[];
|
|
189
|
+
5: string[];
|
|
190
|
+
6: string[];
|
|
191
|
+
7: string[];
|
|
192
|
+
8: string[];
|
|
193
|
+
9: string[];
|
|
194
|
+
10: string[];
|
|
195
|
+
11: string[];
|
|
196
|
+
};
|
|
197
|
+
PiYG: {
|
|
198
|
+
3: string[];
|
|
199
|
+
4: string[];
|
|
200
|
+
5: string[];
|
|
201
|
+
6: string[];
|
|
202
|
+
7: string[];
|
|
203
|
+
8: string[];
|
|
204
|
+
9: string[];
|
|
205
|
+
10: string[];
|
|
206
|
+
11: string[];
|
|
207
|
+
};
|
|
208
|
+
RdBu: {
|
|
209
|
+
3: string[];
|
|
210
|
+
4: string[];
|
|
211
|
+
5: string[];
|
|
212
|
+
6: string[];
|
|
213
|
+
7: string[];
|
|
214
|
+
8: string[];
|
|
215
|
+
9: string[];
|
|
216
|
+
10: string[];
|
|
217
|
+
11: string[];
|
|
218
|
+
};
|
|
219
|
+
RdGy: {
|
|
220
|
+
3: string[];
|
|
221
|
+
4: string[];
|
|
222
|
+
5: string[];
|
|
223
|
+
6: string[];
|
|
224
|
+
7: string[];
|
|
225
|
+
8: string[];
|
|
226
|
+
9: string[];
|
|
227
|
+
10: string[];
|
|
228
|
+
11: string[];
|
|
229
|
+
};
|
|
230
|
+
RdYlBu: {
|
|
231
|
+
3: string[];
|
|
232
|
+
4: string[];
|
|
233
|
+
5: string[];
|
|
234
|
+
6: string[];
|
|
235
|
+
7: string[];
|
|
236
|
+
8: string[];
|
|
237
|
+
9: string[];
|
|
238
|
+
10: string[];
|
|
239
|
+
11: string[];
|
|
240
|
+
};
|
|
241
|
+
Spectral: {
|
|
242
|
+
3: string[];
|
|
243
|
+
4: string[];
|
|
244
|
+
5: string[];
|
|
245
|
+
6: string[];
|
|
246
|
+
7: string[];
|
|
247
|
+
8: string[];
|
|
248
|
+
9: string[];
|
|
249
|
+
10: string[];
|
|
250
|
+
11: string[];
|
|
251
|
+
};
|
|
252
|
+
RdYlGn: {
|
|
253
|
+
3: string[];
|
|
254
|
+
4: string[];
|
|
255
|
+
5: string[];
|
|
256
|
+
6: string[];
|
|
257
|
+
7: string[];
|
|
258
|
+
8: string[];
|
|
259
|
+
9: string[];
|
|
260
|
+
10: string[];
|
|
261
|
+
11: string[];
|
|
262
|
+
};
|
|
263
|
+
Accent: {
|
|
264
|
+
3: string[];
|
|
265
|
+
4: string[];
|
|
266
|
+
5: string[];
|
|
267
|
+
6: string[];
|
|
268
|
+
7: string[];
|
|
269
|
+
8: string[];
|
|
270
|
+
};
|
|
271
|
+
Dark2: {
|
|
272
|
+
3: string[];
|
|
273
|
+
4: string[];
|
|
274
|
+
5: string[];
|
|
275
|
+
6: string[];
|
|
276
|
+
7: string[];
|
|
277
|
+
8: string[];
|
|
278
|
+
};
|
|
279
|
+
Paired: {
|
|
280
|
+
3: string[];
|
|
281
|
+
4: string[];
|
|
282
|
+
5: string[];
|
|
283
|
+
6: string[];
|
|
284
|
+
7: string[];
|
|
285
|
+
8: string[];
|
|
286
|
+
9: string[];
|
|
287
|
+
10: string[];
|
|
288
|
+
11: string[];
|
|
289
|
+
12: string[];
|
|
290
|
+
};
|
|
291
|
+
Pastel1: {
|
|
292
|
+
3: string[];
|
|
293
|
+
4: string[];
|
|
294
|
+
5: string[];
|
|
295
|
+
6: string[];
|
|
296
|
+
7: string[];
|
|
297
|
+
8: string[];
|
|
298
|
+
9: string[];
|
|
299
|
+
};
|
|
300
|
+
Pastel2: {
|
|
301
|
+
3: string[];
|
|
302
|
+
4: string[];
|
|
303
|
+
5: string[];
|
|
304
|
+
6: string[];
|
|
305
|
+
7: string[];
|
|
306
|
+
8: string[];
|
|
307
|
+
};
|
|
308
|
+
Set1: {
|
|
309
|
+
3: string[];
|
|
310
|
+
4: string[];
|
|
311
|
+
5: string[];
|
|
312
|
+
6: string[];
|
|
313
|
+
7: string[];
|
|
314
|
+
8: string[];
|
|
315
|
+
9: string[];
|
|
316
|
+
};
|
|
317
|
+
Set2: {
|
|
318
|
+
3: string[];
|
|
319
|
+
4: string[];
|
|
320
|
+
5: string[];
|
|
321
|
+
6: string[];
|
|
322
|
+
7: string[];
|
|
323
|
+
8: string[];
|
|
324
|
+
};
|
|
325
|
+
Set3: {
|
|
326
|
+
3: string[];
|
|
327
|
+
4: string[];
|
|
328
|
+
5: string[];
|
|
329
|
+
6: string[];
|
|
330
|
+
7: string[];
|
|
331
|
+
8: string[];
|
|
332
|
+
9: string[];
|
|
333
|
+
10: string[];
|
|
334
|
+
11: string[];
|
|
335
|
+
12: string[];
|
|
336
|
+
};
|
|
337
|
+
YlOrBr_reverse: {
|
|
338
|
+
3: string[];
|
|
339
|
+
4: string[];
|
|
340
|
+
5: string[];
|
|
341
|
+
6: string[];
|
|
342
|
+
7: string[];
|
|
343
|
+
8: string[];
|
|
344
|
+
9: string[];
|
|
345
|
+
};
|
|
346
|
+
Reds_reverse: {
|
|
347
|
+
3: string[];
|
|
348
|
+
4: string[];
|
|
349
|
+
5: string[];
|
|
350
|
+
6: string[];
|
|
351
|
+
7: string[];
|
|
352
|
+
8: string[];
|
|
353
|
+
9: string[];
|
|
354
|
+
};
|
|
355
|
+
YlGn_reverse: {
|
|
356
|
+
3: string[];
|
|
357
|
+
4: string[];
|
|
358
|
+
5: string[];
|
|
359
|
+
6: string[];
|
|
360
|
+
7: string[];
|
|
361
|
+
8: string[];
|
|
362
|
+
9: string[];
|
|
363
|
+
};
|
|
364
|
+
Greens_reverse: {
|
|
365
|
+
3: string[];
|
|
366
|
+
4: string[];
|
|
367
|
+
5: string[];
|
|
368
|
+
6: string[];
|
|
369
|
+
7: string[];
|
|
370
|
+
8: string[];
|
|
371
|
+
9: string[];
|
|
372
|
+
};
|
|
373
|
+
Blues_reverse: {
|
|
374
|
+
3: string[];
|
|
375
|
+
4: string[];
|
|
376
|
+
5: string[];
|
|
377
|
+
6: string[];
|
|
378
|
+
7: string[];
|
|
379
|
+
8: string[];
|
|
380
|
+
9: string[];
|
|
381
|
+
};
|
|
382
|
+
BuPu_reverse: {
|
|
383
|
+
3: string[];
|
|
384
|
+
4: string[];
|
|
385
|
+
5: string[];
|
|
386
|
+
6: string[];
|
|
387
|
+
7: string[];
|
|
388
|
+
8: string[];
|
|
389
|
+
9: string[];
|
|
390
|
+
};
|
|
391
|
+
RdPu_reverse: {
|
|
392
|
+
3: string[];
|
|
393
|
+
4: string[];
|
|
394
|
+
5: string[];
|
|
395
|
+
6: string[];
|
|
396
|
+
7: string[];
|
|
397
|
+
8: string[];
|
|
398
|
+
9: string[];
|
|
399
|
+
};
|
|
400
|
+
PuRd_reverse: {
|
|
401
|
+
3: string[];
|
|
402
|
+
4: string[];
|
|
403
|
+
5: string[];
|
|
404
|
+
6: string[];
|
|
405
|
+
7: string[];
|
|
406
|
+
8: string[];
|
|
407
|
+
9: string[];
|
|
408
|
+
};
|
|
409
|
+
Greys_reverse: {
|
|
410
|
+
3: string[];
|
|
411
|
+
4: string[];
|
|
412
|
+
5: string[];
|
|
413
|
+
6: string[];
|
|
414
|
+
7: string[];
|
|
415
|
+
8: string[];
|
|
416
|
+
9: string[];
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
export type COLOR_CLASS = keyof typeof COLOR_PALETTES;
|
|
420
|
+
export declare const qualitativeColors: string[];
|
|
421
|
+
export declare const COLOR_SCALES: string[];
|
|
422
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/constants/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAozD1B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,cAAc,CAAC;AAGtD,eAAO,MAAM,iBAAiB,UAa7B,CAAC;AACF,eAAO,MAAM,YAAY,UAgCxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legendSet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/constants/legendSet.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;CAkB5B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LatLngTuple } from "leaflet";
|
|
2
|
+
export declare function useMapBounds(): {
|
|
3
|
+
center: import("leaflet").LatLng;
|
|
4
|
+
bounds: any;
|
|
5
|
+
};
|
|
6
|
+
export declare function useCenterMap({ bounds }: {
|
|
7
|
+
bounds: LatLngTuple[];
|
|
8
|
+
}): (node: HTMLDivElement | null) => void;
|
|
9
|
+
export declare function usePrintMedia(): boolean;
|
|
10
|
+
//# sourceMappingURL=map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/hooks/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,WAAW,EAAE,MAAM,SAAS,CAAC;AAO/C,wBAAgB,YAAY;;;EAsB3B;AAED,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,WAAW,EAAE,CAAA;CAAE,yCAWjE;AAED,wBAAgB,aAAa,YAE5B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./DHIS2Map.js";
|
|
2
|
+
export * from "./interfaces/index.js";
|
|
3
|
+
export * from "./components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.js";
|
|
4
|
+
export * from "./components/ThematicLayerConfiguration/ThematicLayerConfiguration.js";
|
|
5
|
+
export * from "./constants/colors.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,6EAA6E,CAAC;AAC5F,cAAc,uEAAuE,CAAC;AACtF,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { OrgUnitSelection } from "@hisptz/dhis2-utils";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import type { MapContainerProps } from "react-leaflet";
|
|
4
|
+
import { MapControls, MapLegendConfig } from "../components/MapArea/interfaces/index.js";
|
|
5
|
+
import { EarthEngineLayerConfig, ThematicLayerConfig } from "../components/MapLayer/interfaces/index.js";
|
|
6
|
+
import { type LeafletEventHandlerFnMap, type LeafletMouseEvent, Map as LeafletMap } from "leaflet";
|
|
7
|
+
export interface MapProviderProps {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
orgUnitSelection: OrgUnitSelection;
|
|
10
|
+
periodSelection?: {
|
|
11
|
+
periods?: string[];
|
|
12
|
+
range?: {
|
|
13
|
+
start: Date;
|
|
14
|
+
end: Date;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface MapProps {
|
|
19
|
+
key?: string;
|
|
20
|
+
setRef?: (ref: LeafletMap) => void;
|
|
21
|
+
orgUnitSelection: OrgUnitSelection;
|
|
22
|
+
pointLayer?: {
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
label?: string;
|
|
25
|
+
level?: number | string;
|
|
26
|
+
group?: string;
|
|
27
|
+
style?: {
|
|
28
|
+
icon?: string;
|
|
29
|
+
groupSet?: string;
|
|
30
|
+
};
|
|
31
|
+
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
32
|
+
onLayerClick?: (e: LeafletMouseEvent, data: {
|
|
33
|
+
orgUnit: MapOrgUnit;
|
|
34
|
+
}) => void;
|
|
35
|
+
};
|
|
36
|
+
boundaryLayer?: {
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
39
|
+
onLayerClick?: (e: LeafletMouseEvent, data: {
|
|
40
|
+
orgUnit: MapOrgUnit;
|
|
41
|
+
}) => void;
|
|
42
|
+
};
|
|
43
|
+
controls?: MapControls[];
|
|
44
|
+
legends?: MapLegendConfig;
|
|
45
|
+
thematicLayers?: ThematicLayerConfig[];
|
|
46
|
+
earthEngineLayers?: EarthEngineLayerConfig[];
|
|
47
|
+
periodSelection?: {
|
|
48
|
+
periods?: string[];
|
|
49
|
+
range?: {
|
|
50
|
+
start: Date;
|
|
51
|
+
end: Date;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
mapOptions?: MapContainerProps;
|
|
55
|
+
}
|
|
56
|
+
export interface MapOrgUnit {
|
|
57
|
+
id: string;
|
|
58
|
+
path: string;
|
|
59
|
+
name: string;
|
|
60
|
+
bounds: any[];
|
|
61
|
+
geoJSON: any;
|
|
62
|
+
children?: MapOrgUnit[];
|
|
63
|
+
level?: number;
|
|
64
|
+
}
|
|
65
|
+
export interface PointOrgUnit {
|
|
66
|
+
id: string;
|
|
67
|
+
path: string;
|
|
68
|
+
name: string;
|
|
69
|
+
bounds: any[];
|
|
70
|
+
geoJSON: any;
|
|
71
|
+
icon: {
|
|
72
|
+
type: "custom" | "groupIcon";
|
|
73
|
+
icon: string;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/interfaces/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { OrgUnitSelection } from "@hisptz/dhis2-utils";
|
|
3
|
+
import { BasePeriod } from "@hisptz/dhis2-utils";
|
|
4
|
+
import { CustomMapLayer } from "../components/MapLayer/interfaces/index.js";
|
|
5
|
+
import { MapOrgUnit } from "../interfaces/index.js";
|
|
6
|
+
export declare const MapOrgUnitContext: import("react").Context<{
|
|
7
|
+
orgUnitSelection: OrgUnitSelection;
|
|
8
|
+
orgUnits?: MapOrgUnit[] | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const MapPeriodContext: import("react").Context<{
|
|
11
|
+
periods?: BasePeriod[] | undefined;
|
|
12
|
+
range?: {
|
|
13
|
+
start: Date;
|
|
14
|
+
end: Date;
|
|
15
|
+
} | undefined;
|
|
16
|
+
} | undefined>;
|
|
17
|
+
export declare const MapLayersContext: import("react").Context<{
|
|
18
|
+
layers: CustomMapLayer[];
|
|
19
|
+
updateLayer: (id: string, updatedLayer: CustomMapLayer) => void;
|
|
20
|
+
}>;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/state/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,eAAO,MAAM,iBAAiB;sBACX,gBAAgB;;EAKjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;eAGT,IAAI;aAAO,IAAI;;cAKjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;YACpB,cAAc,EAAE;sBACN,MAAM,gBAAgB,cAAc,KAAK,IAAI;EAI9D,CAAC"}
|