@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,6 @@
|
|
|
1
|
+
import { CustomBoundaryLayer, CustomGoogleEngineLayer, CustomPointLayer, CustomThematicLayer } from "./interfaces/index.js";
|
|
2
|
+
export default function MapLayer({ layer, index, }: {
|
|
3
|
+
layer: CustomThematicLayer | CustomBoundaryLayer | CustomPointLayer | CustomGoogleEngineLayer;
|
|
4
|
+
index: number;
|
|
5
|
+
}): import("react/jsx-runtime.js").JSX.Element | null;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapLayer/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EACN,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAChC,KAAK,EACL,KAAK,GACL,EAAE;IACF,KAAK,EACF,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,uBAAuB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACd,qDAkBA"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { Legend } from "@hisptz/dhis2-utils";
|
|
2
|
+
import { MapOrgUnit, PointOrgUnit } from "../../../interfaces/index.js";
|
|
3
|
+
import { LegendColorScale } from "../../../utils/colors.js";
|
|
4
|
+
import { EarthEngineOptions } from "../components/GoogleEngineLayer/interfaces/index.js";
|
|
5
|
+
import { EarthEngine } from "../components/GoogleEngineLayer/services/engine.js";
|
|
6
|
+
import type { LeafletEventHandlerFnMap, LeafletMouseEvent } from "leaflet";
|
|
7
|
+
export type BoundaryLayerType = "basemap" | "overlay";
|
|
8
|
+
export type ThematicLayerType = "choropleth" | "bubble";
|
|
9
|
+
export declare const SUPPORTED_EARTH_ENGINE_LAYERS: string[];
|
|
10
|
+
export type GoogleEngineLayerType = "population" | "footprints" | "elevation" | "landCover";
|
|
11
|
+
export interface CustomBoundaryLayer extends CustomMapLayer {
|
|
12
|
+
id: string;
|
|
13
|
+
type: BoundaryLayerType;
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface EarthEngineLayerConfig extends CustomMapLayer {
|
|
17
|
+
type: GoogleEngineLayerType;
|
|
18
|
+
aggregations?: string[];
|
|
19
|
+
name?: string;
|
|
20
|
+
filters?: {
|
|
21
|
+
period: string;
|
|
22
|
+
};
|
|
23
|
+
params?: {
|
|
24
|
+
min: number;
|
|
25
|
+
max: number;
|
|
26
|
+
palette?: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface CustomGoogleEngineLayer extends CustomMapLayer {
|
|
30
|
+
type: GoogleEngineLayerType;
|
|
31
|
+
options: EarthEngineOptions;
|
|
32
|
+
aggregations?: string[];
|
|
33
|
+
name: string;
|
|
34
|
+
url: string;
|
|
35
|
+
engine?: EarthEngine;
|
|
36
|
+
}
|
|
37
|
+
export interface CustomPointLayer extends CustomMapLayer {
|
|
38
|
+
id: string;
|
|
39
|
+
type: "point";
|
|
40
|
+
label?: string;
|
|
41
|
+
level?: string | number;
|
|
42
|
+
group?: string;
|
|
43
|
+
style?: {
|
|
44
|
+
icon?: string;
|
|
45
|
+
groupSet?: string;
|
|
46
|
+
orgUnitGroups?: Array<{
|
|
47
|
+
name: string;
|
|
48
|
+
symbol: string;
|
|
49
|
+
}>;
|
|
50
|
+
};
|
|
51
|
+
points?: Array<PointOrgUnit>;
|
|
52
|
+
}
|
|
53
|
+
export type DataItemType = "dataElement" | "indicator" | "programIndicator";
|
|
54
|
+
export interface ThematicLayerDataItem {
|
|
55
|
+
id: string;
|
|
56
|
+
displayName: string;
|
|
57
|
+
type: DataItemType;
|
|
58
|
+
legendSet?: string;
|
|
59
|
+
legendConfig?: {
|
|
60
|
+
colorClass: LegendColorScale;
|
|
61
|
+
scale: number;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export interface ThematicLayerControl {
|
|
65
|
+
position: "topleft" | "topright" | "bottomleft" | "bottomright";
|
|
66
|
+
enabled: boolean;
|
|
67
|
+
}
|
|
68
|
+
export interface ThematicLayerData {
|
|
69
|
+
orgUnit: MapOrgUnit;
|
|
70
|
+
data?: number;
|
|
71
|
+
dataItem: ThematicLayerDataItem;
|
|
72
|
+
}
|
|
73
|
+
export interface ThematicLayerRawData {
|
|
74
|
+
orgUnit: string;
|
|
75
|
+
data?: number;
|
|
76
|
+
dataItem: string;
|
|
77
|
+
}
|
|
78
|
+
export interface CustomChoroplethLayer extends CustomMapLayer {
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
name?: string;
|
|
81
|
+
data: ThematicLayerData[];
|
|
82
|
+
dataItem: ThematicLayerDataItem;
|
|
83
|
+
type: "choropleth";
|
|
84
|
+
control?: ThematicLayerControl;
|
|
85
|
+
legends?: Legend[];
|
|
86
|
+
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
87
|
+
}
|
|
88
|
+
export interface CustomBubbleLayer extends CustomMapLayer {
|
|
89
|
+
enabled: boolean;
|
|
90
|
+
name?: string;
|
|
91
|
+
data: ThematicLayerData[];
|
|
92
|
+
dataItem: ThematicLayerDataItem;
|
|
93
|
+
type: "bubble";
|
|
94
|
+
control?: ThematicLayerControl;
|
|
95
|
+
legends?: Legend[];
|
|
96
|
+
radius?: {
|
|
97
|
+
min: number;
|
|
98
|
+
max: number;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
export type CustomThematicLayer = CustomBubbleLayer | CustomChoroplethLayer;
|
|
102
|
+
interface LayerData {
|
|
103
|
+
orgUnit: MapOrgUnit;
|
|
104
|
+
data?: number;
|
|
105
|
+
dataItem?: ThematicLayerDataItem;
|
|
106
|
+
}
|
|
107
|
+
export interface ThematicLayerConfig {
|
|
108
|
+
id: string;
|
|
109
|
+
data?: ThematicLayerRawData[];
|
|
110
|
+
enabled: boolean;
|
|
111
|
+
name?: string;
|
|
112
|
+
dataItem: ThematicLayerDataItem;
|
|
113
|
+
type: ThematicLayerType;
|
|
114
|
+
control?: ThematicLayerControl;
|
|
115
|
+
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
116
|
+
onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
|
|
117
|
+
radius?: {
|
|
118
|
+
min: number;
|
|
119
|
+
max: number;
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
export interface CustomMapLayer {
|
|
123
|
+
id: string;
|
|
124
|
+
type: string;
|
|
125
|
+
enabled: boolean;
|
|
126
|
+
customEventHandlers?: LeafletEventHandlerFnMap;
|
|
127
|
+
onLayerClick?: (e: LeafletMouseEvent, data: LayerData) => void;
|
|
128
|
+
}
|
|
129
|
+
export type MapLayer = CustomBoundaryLayer | ThematicLayerConfig | CustomPointLayer | CustomGoogleEngineLayer;
|
|
130
|
+
export interface MapLayerProps {
|
|
131
|
+
enabled: boolean;
|
|
132
|
+
type: "boundary" | "thematic" | "external" | "point" | "earthEngine";
|
|
133
|
+
layer: MapLayer;
|
|
134
|
+
}
|
|
135
|
+
export {};
|
|
136
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/MapLayer/interfaces/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CustomGoogleEngineLayer, CustomPointLayer, EarthEngineLayerConfig } from "../../../../MapLayer/interfaces";
|
|
2
|
+
export declare function useThematicLayers(): any;
|
|
3
|
+
export declare function usePointLayer(): {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
sanitizeLayer: (layer: CustomPointLayer) => Promise<CustomPointLayer | undefined>;
|
|
6
|
+
};
|
|
7
|
+
export declare function useGoogleEngineLayers(): {
|
|
8
|
+
sanitizeLayers: (layers: EarthEngineLayerConfig[]) => Promise<CustomGoogleEngineLayer[]>;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACN,uBAAuB,EACvB,gBAAgB,EAEhB,sBAAsB,EAEtB,MAAM,iCAAiC,CAAC;AAiFzC,wBAAgB,iBAAiB,IAAI,GAAG,CA8KvC;AAED,wBAAgB,aAAa;;2BAoDnB,gBAAgB,KACrB,QAAQ,gBAAgB,GAAG,SAAS,CAAC;EA+DzC;AAED,wBAAgB,qBAAqB;6BAwB1B,sBAAsB,EAAE,KAC9B,QAAQ,uBAAuB,EAAE,CAAC;EA0DtC"}
|
package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MapLayerConfig } from "../../../MapArea/interfaces/index.js";
|
|
3
|
+
export declare function MapLayersProvider({ layers, children, }: {
|
|
4
|
+
layers: MapLayerConfig;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAgBtE,wBAAgB,iBAAiB,CAAC,EACjC,MAAM,EACN,QAAQ,GACR,EAAE;IACF,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,8CAmIA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function useMapOrganisationUnit(): {
|
|
2
|
+
orgUnitSelection: import("@hisptz/dhis2-utils").OrgUnitSelection;
|
|
3
|
+
orgUnits?: import("../../../index.js").MapOrgUnit[] | undefined;
|
|
4
|
+
};
|
|
5
|
+
export declare function useMapPeriods(): {
|
|
6
|
+
periods?: import("@hisptz/dhis2-utils").BasePeriod[] | undefined;
|
|
7
|
+
range?: {
|
|
8
|
+
start: Date;
|
|
9
|
+
end: Date;
|
|
10
|
+
} | undefined;
|
|
11
|
+
} | undefined;
|
|
12
|
+
export declare function useMapLayers(): {
|
|
13
|
+
layers: import("../../MapLayer/interfaces/index.js").CustomMapLayer[];
|
|
14
|
+
updateLayer: (id: string, updatedLayer: import("../../MapLayer/interfaces/index.js").CustomMapLayer) => void;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/MapProvider/hooks/index.ts"],"names":[],"mappings":"AAOA,wBAAgB,sBAAsB;;;EAErC;AAED,wBAAgB,aAAa;;;;;;cAE5B;AAED,wBAAgB,YAAY;;;EAE3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapProvider/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AA6BzE,wBAAgB,WAAW,CAAC,EAC3B,QAAQ,EACR,gBAAgB,EAChB,eAAe,GACf,EAAE,gBAAgB,qDA6ElB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapUpdater/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,WAAW,EAAE,CAAA;CAAE,8CAGvE"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ThematicLayerConfigModalProps } from "./types";
|
|
2
|
+
export declare function ThematicLayerConfigModal({ open, exclude, config, onClose, onChange, ...props }: ThematicLayerConfigModalProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=ThematicLayerConfigModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThematicLayerConfigModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAexD,wBAAgB,wBAAwB,CAAC,EACxC,IAAI,EACJ,OAAO,EACP,MAAM,EACN,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,6BAA6B,2CA6B/B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ThematicLayerConfigurationProps } from "./types/index.js";
|
|
2
|
+
export declare function ThematicLayerConfiguration({ exclude, form, }: ThematicLayerConfigurationProps): import("react/jsx-runtime.js").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=ThematicLayerConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThematicLayerConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AAInE,wBAAgB,0BAA0B,CAAC,EAC1C,OAAO,EACP,IAAI,GACJ,EAAE,+BAA+B,8CA4JjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU;WAMR,MAAM;UACP,MAAM;WACL,MAAM;qBACI,MAAM,KAAK,IAAI;6CAsBhC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,420 @@
|
|
|
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 declare const qualitativeColors: string[];
|
|
420
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAia1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAa7B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const ColorScaleSelect: ({ colorClass, count, width, onChange, className, }: {
|
|
2
|
+
className?: string | undefined;
|
|
3
|
+
count: number;
|
|
4
|
+
width: number;
|
|
5
|
+
onChange: (palette: string) => void;
|
|
6
|
+
colorClass: string;
|
|
7
|
+
}) => import("react/jsx-runtime.js").JSX.Element;
|
|
8
|
+
export default ColorScaleSelect;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|