@hisptz/dhis2-analytics 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ChartAnalytics/ChartAnalytics.stories.js +11 -1
- package/dist/components/ChartAnalytics/ChartAnalytics.stories.js.map +1 -1
- package/dist/components/ChartAnalytics/models/index.js +16 -1
- package/dist/components/ChartAnalytics/models/index.js.map +1 -1
- package/dist/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
- package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js +12 -3
- package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
- package/dist/components/DHIS2PivotTable/services/engine.js +22 -0
- package/dist/components/DHIS2PivotTable/services/engine.js.map +1 -1
- package/dist/components/SingleValueContainer/SingleValueContainer.stories.js +38 -0
- package/dist/components/SingleValueContainer/SingleValueContainer.stories.js.map +1 -1
- package/dist/components/SingleValueContainer/SingleValueVisualizer.js +3 -1
- package/dist/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
- package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js +3 -1
- package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
- package/dist/components/SingleValueContainer/index.js +7 -0
- package/dist/components/SingleValueContainer/index.js.map +1 -1
- package/dist/esm/components/ChartAnalytics/ChartAnalytics.stories.js +11 -1
- package/dist/esm/components/ChartAnalytics/ChartAnalytics.stories.js.map +1 -1
- package/dist/esm/components/ChartAnalytics/models/index.js +16 -1
- package/dist/esm/components/ChartAnalytics/models/index.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js +12 -3
- package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/services/engine.js +23 -1
- package/dist/esm/components/DHIS2PivotTable/services/engine.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/SingleValueContainer.stories.js +38 -1
- package/dist/esm/components/SingleValueContainer/SingleValueContainer.stories.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/SingleValueVisualizer.js +3 -1
- package/dist/esm/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js +3 -1
- package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/index.js +1 -0
- package/dist/esm/components/SingleValueContainer/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts +0 -26
- package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts +0 -8
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/components/Menu.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts +0 -8
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/constants/menu.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts +0 -2
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/interfaces/menu.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts +0 -12
- package/dist/types/components/ChartAnalytics/hooks/useChart.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/index.d.ts +0 -2
- package/dist/types/components/ChartAnalytics/index.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/bar.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/models/bar.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/column.d.ts +0 -13
- package/dist/types/components/ChartAnalytics/models/column.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/index.d.ts +0 -18
- package/dist/types/components/ChartAnalytics/models/index.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/line.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/models/line.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/multi-series.d.ts +0 -10
- package/dist/types/components/ChartAnalytics/models/multi-series.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/models/pie.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/models/pie.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/services/export.d.ts +0 -9
- package/dist/types/components/ChartAnalytics/services/export.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/types/props.d.ts +0 -46
- package/dist/types/components/ChartAnalytics/types/props.d.ts.map +0 -1
- package/dist/types/components/ChartAnalytics/utils/chart.d.ts +0 -16
- package/dist/types/components/ChartAnalytics/utils/chart.d.ts.map +0 -1
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts +0 -6
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts.map +0 -1
- package/dist/types/components/CircularProgressDashboard/index.d.ts +0 -3
- package/dist/types/components/CircularProgressDashboard/index.d.ts.map +0 -1
- package/dist/types/components/CircularProgressDashboard/types/props.d.ts +0 -18
- package/dist/types/components/CircularProgressDashboard/types/props.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts +0 -38
- package/dist/types/components/DHIS2PivotTable/DHIS2PivotTable.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts +0 -10
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts +0 -2
- package/dist/types/components/DHIS2PivotTable/components/TableBody/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts +0 -2
- package/dist/types/components/DHIS2PivotTable/components/TableHeaders/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/index.d.ts +0 -3
- package/dist/types/components/DHIS2PivotTable/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts +0 -2
- package/dist/types/components/DHIS2PivotTable/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/services/engine.d.ts +0 -59
- package/dist/types/components/DHIS2PivotTable/services/engine.d.ts.map +0 -1
- package/dist/types/components/DHIS2PivotTable/state/engine.d.ts +0 -8
- package/dist/types/components/DHIS2PivotTable/state/engine.d.ts.map +0 -1
- package/dist/types/components/Map/DHIS2Map.d.ts +0 -9
- package/dist/types/components/Map/DHIS2Map.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts +0 -10
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts +0 -9
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts +0 -2
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts +0 -4
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/TypeField.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts +0 -8
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/hooks/data.d.ts.map +0 -1
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts +0 -3
- package/dist/types/components/Map/components/EarthEngineLayerConfiguration/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapArea/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapArea/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts +0 -31
- package/dist/types/components/Map/components/MapArea/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts +0 -8
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts +0 -8
- package/dist/types/components/Map/components/MapControls/components/DownloadControl/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapControls/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapControls/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts +0 -2
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/hooks/useBoundaryData.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts +0 -15
- package/dist/types/components/Map/components/MapLayer/components/BoundaryLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts +0 -18
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/constants/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts +0 -10
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts +0 -4
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts +0 -59
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts +0 -56
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/services/engine.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts +0 -21
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/utils/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/components/LegendCardHeader/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts +0 -9
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts +0 -4
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts +0 -3
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts +0 -2
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts +0 -13
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubble.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts +0 -11
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts +0 -17
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts +0 -22
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +0 -22
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts +0 -17
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/CustomTooltip/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts +0 -3
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/hooks/config.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/index.d.ts +0 -6
- package/dist/types/components/Map/components/MapLayer/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts +0 -136
- package/dist/types/components/Map/components/MapLayer/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts +0 -10
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts +0 -7
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts +0 -16
- package/dist/types/components/Map/components/MapProvider/hooks/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapProvider/index.d.ts +0 -3
- package/dist/types/components/Map/components/MapProvider/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/MapUpdater/index.d.ts +0 -5
- package/dist/types/components/Map/components/MapUpdater/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts +0 -3
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfigModal.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts +0 -3
- package/dist/types/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts +0 -8
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/components/ColorScale/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts +0 -420
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/constants/colors.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts +0 -9
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts +0 -12
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/utils/colors.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts +0 -2
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/CustomLegend/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts +0 -8
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts +0 -9
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts +0 -2
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/RadiusField.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts +0 -2
- package/dist/types/components/Map/components/ThematicLayerConfiguration/components/TypeField.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts +0 -4
- package/dist/types/components/Map/components/ThematicLayerConfiguration/index.d.ts.map +0 -1
- package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts +0 -15
- package/dist/types/components/Map/components/ThematicLayerConfiguration/types/index.d.ts.map +0 -1
- package/dist/types/components/Map/constants/colors.d.ts +0 -422
- package/dist/types/components/Map/constants/colors.d.ts.map +0 -1
- package/dist/types/components/Map/constants/legendSet.d.ts +0 -8
- package/dist/types/components/Map/constants/legendSet.d.ts.map +0 -1
- package/dist/types/components/Map/hooks/map.d.ts +0 -10
- package/dist/types/components/Map/hooks/map.d.ts.map +0 -1
- package/dist/types/components/Map/index.d.ts +0 -6
- package/dist/types/components/Map/index.d.ts.map +0 -1
- package/dist/types/components/Map/interfaces/index.d.ts +0 -76
- package/dist/types/components/Map/interfaces/index.d.ts.map +0 -1
- package/dist/types/components/Map/state/index.d.ts +0 -21
- package/dist/types/components/Map/state/index.d.ts.map +0 -1
- package/dist/types/components/Map/utils/colors.d.ts +0 -13
- package/dist/types/components/Map/utils/colors.d.ts.map +0 -1
- package/dist/types/components/Map/utils/helpers.d.ts +0 -7
- package/dist/types/components/Map/utils/helpers.d.ts.map +0 -1
- package/dist/types/components/Map/utils/map.d.ts +0 -41
- package/dist/types/components/Map/utils/map.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts +0 -11
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts +0 -9
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts +0 -3
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/index.d.ts +0 -4
- package/dist/types/components/SingleValueContainer/index.d.ts.map +0 -1
- package/dist/types/components/SingleValueContainer/types/props.d.ts +0 -17
- package/dist/types/components/SingleValueContainer/types/props.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts +0 -11
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts +0 -16
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts +0 -15
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts +0 -5
- package/dist/types/components/Visualization/components/VisualizationDimensionSelector/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts +0 -14
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts +0 -23
- package/dist/types/components/Visualization/components/VisualizationSelector/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts +0 -15
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts +0 -2
- package/dist/types/components/Visualization/components/VisualizationTypeSelector/index.d.ts.map +0 -1
- package/dist/types/components/Visualization/index.d.ts +0 -23
- package/dist/types/components/Visualization/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/index.d.ts.map +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Analytics } from "@hisptz/dhis2-utils";
|
|
2
|
-
import HighCharts from "highcharts";
|
|
3
|
-
import { ChartConfig } from "../types/props.js";
|
|
4
|
-
export declare abstract class DHIS2Chart {
|
|
5
|
-
id: string;
|
|
6
|
-
analytics: Analytics;
|
|
7
|
-
config: ChartConfig;
|
|
8
|
-
constructor(id: string, analytics: Analytics, config: ChartConfig);
|
|
9
|
-
abstract getHighchartsType(): string;
|
|
10
|
-
getChartConfig(): HighCharts.ChartOptions & any;
|
|
11
|
-
getOptions(): HighCharts.Options;
|
|
12
|
-
abstract getSeries(): HighCharts.SeriesOptionsType[];
|
|
13
|
-
abstract getPlotOptions(): HighCharts.PlotOptions;
|
|
14
|
-
abstract getXAxis(): HighCharts.XAxisOptions | undefined;
|
|
15
|
-
getYAxis(): HighCharts.YAxisOptions[];
|
|
16
|
-
getExporting(): HighCharts.ExportingOptions;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChartAnalytics/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,8BAAsB,UAAU;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,WAAW,CAAC;gBAER,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW;IAMjE,QAAQ,CAAC,iBAAiB,IAAI,MAAM;IAEpC,cAAc,IAAI,UAAU,CAAC,YAAY,GAAG,GAAG;IAU/C,UAAU,IAAI,UAAU,CAAC,OAAO;IAkDhC,QAAQ,CAAC,SAAS,IAAI,UAAU,CAAC,iBAAiB,EAAE;IAEpD,QAAQ,CAAC,cAAc,IAAI,UAAU,CAAC,WAAW;IAEjD,QAAQ,CAAC,QAAQ,IAAI,UAAU,CAAC,YAAY,GAAG,SAAS;IAExD,QAAQ,IAAI,UAAU,CAAC,YAAY,EAAE;IAuCrC,YAAY,IAAI,UAAU,CAAC,gBAAgB;CAY3C"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PlotOptions, SeriesOptionsType, XAxisOptions } from "highcharts";
|
|
2
|
-
import { DHIS2Chart } from "./index.js";
|
|
3
|
-
export declare class DHIS2LineChart extends DHIS2Chart {
|
|
4
|
-
getHighchartsType(): string;
|
|
5
|
-
getPlotOptions(): PlotOptions;
|
|
6
|
-
getSeries(): SeriesOptionsType[];
|
|
7
|
-
getXAxis(): XAxisOptions | undefined;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=line.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChartAnalytics/models/line.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,qBAAa,cAAe,SAAQ,UAAU;IAC7C,iBAAiB,IAAI,MAAM;IAI3B,cAAc,IAAI,WAAW;IAM7B,SAAS,IAAI,iBAAiB,EAAE;IAIhC,QAAQ,IAAI,YAAY,GAAG,SAAS;CAWpC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PlotOptions, SeriesOptionsType, XAxisOptions, YAxisOptions } from "highcharts";
|
|
2
|
-
import { DHIS2Chart } from "./index.js";
|
|
3
|
-
export declare class DHIS2MultiSeriesChart extends DHIS2Chart {
|
|
4
|
-
getHighchartsType(): string;
|
|
5
|
-
getPlotOptions(): PlotOptions;
|
|
6
|
-
getSeries(): SeriesOptionsType[];
|
|
7
|
-
getXAxis(): XAxisOptions | undefined;
|
|
8
|
-
getYAxis(): YAxisOptions[];
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=multi-series.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multi-series.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChartAnalytics/models/multi-series.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,MAAM,YAAY,CAAC;AAIpB,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,qBAAa,qBAAsB,SAAQ,UAAU;IACpD,iBAAiB,IAAI,MAAM;IAI3B,cAAc,IAAI,WAAW;IAO7B,SAAS,IAAI,iBAAiB,EAAE;IAwEhC,QAAQ,IAAI,YAAY,GAAG,SAAS;IAYpC,QAAQ,IAAI,YAAY,EAAE;CAiC1B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PlotOptions, SeriesOptionsType, XAxisOptions } from "highcharts";
|
|
2
|
-
import { DHIS2Chart } from "./index.js";
|
|
3
|
-
export declare class DHIS2PieChart extends DHIS2Chart {
|
|
4
|
-
getHighchartsType(): string;
|
|
5
|
-
getPlotOptions(): PlotOptions;
|
|
6
|
-
getSeries(): SeriesOptionsType[];
|
|
7
|
-
getXAxis(): XAxisOptions | undefined;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=pie.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pie.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChartAnalytics/models/pie.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,qBAAa,aAAc,SAAQ,UAAU;IAC5C,iBAAiB,IAAI,MAAM;IAI3B,cAAc,IAAI,WAAW;IAa7B,SAAS,IAAI,iBAAiB,EAAE;IAwChC,QAAQ,IAAI,YAAY,GAAG,SAAS;CAGpC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Highcharts from "highcharts";
|
|
2
|
-
import HighchartsReact from "highcharts-react-official";
|
|
3
|
-
export declare function setupHighchartsModules(highcharts: typeof Highcharts): void;
|
|
4
|
-
export declare function onFullScreenView(chartRef: HighchartsReact.RefObject, options?: Highcharts.Options): void;
|
|
5
|
-
export declare function onPDFDownload(chartRef: HighchartsReact.RefObject, options?: Highcharts.Options): void;
|
|
6
|
-
export declare function onCSVDownload(chartRef: HighchartsReact.RefObject, options?: Highcharts.Options): void;
|
|
7
|
-
export declare const onImageDownload: (chartRef: HighchartsReact.RefObject, type: "png" | "svg+xml" | "jpeg", options?: Highcharts.Options) => void;
|
|
8
|
-
export declare const onViewAsTable: (chartRef: HighchartsReact.RefObject, show: boolean) => void;
|
|
9
|
-
//# sourceMappingURL=export.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChartAnalytics/services/export.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAKxD,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,OAAO,UAAU,QAInE;AAED,wBAAgB,gBAAgB,CAC/B,QAAQ,EAAE,eAAe,CAAC,SAAS,EACnC,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,QAG5B;AAED,wBAAgB,aAAa,CAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,EACnC,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,QAG5B;AAED,wBAAgB,aAAa,CAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,EACnC,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,QAG5B;AAED,eAAO,MAAM,eAAe,aACjB,gBAAgB,SAAS,QAC7B,KAAK,GAAG,SAAS,GAAG,MAAM,YACtB,WAAW,OAAO,SAG5B,CAAC;AAEF,eAAO,MAAM,aAAa,aACf,gBAAgB,SAAS,QAC7B,OAAO,SAUb,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { Analytics } from "@hisptz/dhis2-utils";
|
|
2
|
-
import HighCharts, { DashStyleValue, YAxisOptions, YAxisPlotLinesLabelOptions } from "highcharts";
|
|
3
|
-
import HighchartsReact from "highcharts-react-official";
|
|
4
|
-
export type ChartType = "column" | "pie" | "stacked-column" | "line" | "multi-series" | "bar" | "stacked-bar";
|
|
5
|
-
export interface MultiSeriesConfig {
|
|
6
|
-
series?: Array<{
|
|
7
|
-
id: string;
|
|
8
|
-
as: "column" | "line";
|
|
9
|
-
cumulative?: boolean;
|
|
10
|
-
yAxis?: number;
|
|
11
|
-
}>;
|
|
12
|
-
yAxes?: Array<YAxisOptions>;
|
|
13
|
-
target?: TargetConfig;
|
|
14
|
-
}
|
|
15
|
-
export interface TargetConfig {
|
|
16
|
-
id: string;
|
|
17
|
-
value: number;
|
|
18
|
-
label?: YAxisPlotLinesLabelOptions;
|
|
19
|
-
styles: {
|
|
20
|
-
color?: string;
|
|
21
|
-
width?: number;
|
|
22
|
-
dashStyle?: DashStyleValue;
|
|
23
|
-
zIndex?: number;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export type ChartConfig = {
|
|
27
|
-
layout: {
|
|
28
|
-
series: Array<string>;
|
|
29
|
-
category: Array<string>;
|
|
30
|
-
filter: Array<string>;
|
|
31
|
-
};
|
|
32
|
-
type?: ChartType;
|
|
33
|
-
height?: number;
|
|
34
|
-
colors?: Array<string>;
|
|
35
|
-
name?: string;
|
|
36
|
-
allowChartTypeChange?: boolean;
|
|
37
|
-
highChartOverrides?: Partial<HighCharts.Options> | ((config: HighCharts.Options) => Partial<HighCharts.Options>);
|
|
38
|
-
multiSeries?: MultiSeriesConfig;
|
|
39
|
-
};
|
|
40
|
-
export type ChartAnalyticsProps = {
|
|
41
|
-
analytics: Analytics;
|
|
42
|
-
config: ChartConfig;
|
|
43
|
-
setRef?: (ref: HighchartsReact.RefObject) => void;
|
|
44
|
-
containerProps?: Record<string, any>;
|
|
45
|
-
};
|
|
46
|
-
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChartAnalytics/types/props.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,UAAU,EAAE,EAClB,cAAc,EACd,YAAY,EACZ,0BAA0B,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAExD,MAAM,MAAM,SAAS,GAClB,QAAQ,GACR,KAAK,GACL,gBAAgB,GAChB,MAAM,GACN,cAAc,GACd,KAAK,GACL,aAAa,CAAC;AAEjB,MAAM,WAAW,iBAAiB;IACjC,MAAM,CAAC,EAAE,KAAK,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,QAAQ,GAAG,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,0BAA0B,CAAC;IACnC,MAAM,EAAE;QACP,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,cAAc,CAAC;QAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACF;AAED,MAAM,MAAM,WAAW,GAAG;IACzB,MAAM,EAAE;QACP,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACtB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACxB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,kBAAkB,CAAC,EAChB,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,GAC3B,CAAC,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,KAAK,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;IACjE,WAAW,CAAC,EAAE,iBAAiB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,CAAC,SAAS,KAAK,IAAI,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACrC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Analytics, AnalyticsHeader } from "@hisptz/dhis2-utils";
|
|
2
|
-
import { DHIS2Chart } from "../models/index.js";
|
|
3
|
-
import { ChartConfig, ChartType } from "../types/props.js";
|
|
4
|
-
export declare function getDimensionHeaderIndex(headers: AnalyticsHeader[], name: string): number;
|
|
5
|
-
export declare function getPointSeries(analytics: Analytics, config: ChartConfig, highchartsType: string): any;
|
|
6
|
-
export declare function getColumnSeries(analytics: Analytics, header: AnalyticsHeader, config: ChartConfig, highchartsType: string): any;
|
|
7
|
-
export declare function getAllCategories(analytics: Analytics, config: ChartConfig): string[];
|
|
8
|
-
export declare function updateLayout(config: ChartConfig, { type }: {
|
|
9
|
-
type: ChartType;
|
|
10
|
-
}): {
|
|
11
|
-
series: string[];
|
|
12
|
-
category: string[];
|
|
13
|
-
filter: string[];
|
|
14
|
-
};
|
|
15
|
-
export declare function getChartInstance(id: string, analytics: Analytics, config: ChartConfig): DHIS2Chart;
|
|
16
|
-
//# sourceMappingURL=chart.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChartAnalytics/utils/chart.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,eAAe,EAEf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG3D,wBAAgB,uBAAuB,CACtC,OAAO,EAAE,eAAe,EAAE,EAC1B,IAAI,EAAE,MAAM,GACV,MAAM,CAER;AAED,wBAAgB,cAAc,CAC7B,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,WAAW,EACnB,cAAc,EAAE,MAAM,OAetB;AAED,wBAAgB,eAAe,CAC9B,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,WAAW,EACnB,cAAc,EAAE,MAAM,GACpB,GAAG,CAgDL;AAeD,wBAAgB,gBAAgB,CAC/B,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,WAAW,GACjB,MAAM,EAAE,CAgBV;AAED,wBAAgB,YAAY,CAC3B,MAAM,EAAE,WAAW,EACnB,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE;;;;EA0B7B;AAED,wBAAgB,gBAAgB,CAC/B,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,WAAW,GACjB,UAAU,CAmBZ"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { CircularDashboardProps } from "./types/props.js";
|
|
3
|
-
export * from "./types/props.js";
|
|
4
|
-
export declare function CircularProgressVisualizer({ numerator, size, denominator, value, textStyle, strokeStyle, }: CircularDashboardProps): React.ReactElement;
|
|
5
|
-
export declare const CircularProgressDashboard: typeof CircularProgressVisualizer;
|
|
6
|
-
//# sourceMappingURL=CircularProgressIndicator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CircularProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgressDashboard/CircularProgressIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,cAAc,kBAAkB,CAAC;AAEjC,wBAAgB,0BAA0B,CAAC,EAC1C,SAAS,EACT,IAAI,EACJ,WAAW,EACX,KAAK,EACL,SAAS,EACT,WAAW,GACX,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,CA8C7C;AAED,eAAO,MAAM,yBAAyB,mCAA6B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgressDashboard/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type CircularDashboardProps = {
|
|
2
|
-
strokeStyle?: {
|
|
3
|
-
width?: number | string;
|
|
4
|
-
color?: string;
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
7
|
-
textStyle?: {
|
|
8
|
-
color?: string;
|
|
9
|
-
fontSize?: number | string;
|
|
10
|
-
fontWeight?: number | string;
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
};
|
|
13
|
-
value?: number;
|
|
14
|
-
numerator?: number;
|
|
15
|
-
denominator?: number;
|
|
16
|
-
size: string | number;
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/components/CircularProgressDashboard/types/props.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE;QACZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,SAAS,CAAC,EAAE;QACV,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Analytics, LegendSet } from "@hisptz/dhis2-utils";
|
|
2
|
-
import { DHIS2Dimension } from "./interfaces/index.js";
|
|
3
|
-
import { DataTableProps } from "@dhis2/ui";
|
|
4
|
-
export interface DHIS2PivotTableOptions {
|
|
5
|
-
legendSets?: LegendSet[];
|
|
6
|
-
hideEmptyColumns?: boolean;
|
|
7
|
-
hideEmptyRows?: boolean;
|
|
8
|
-
showRowTotals?: boolean;
|
|
9
|
-
showColumnTotals?: boolean;
|
|
10
|
-
showRowSubtotals?: boolean;
|
|
11
|
-
showColumnSubtotals?: boolean;
|
|
12
|
-
fixColumnHeaders?: boolean;
|
|
13
|
-
fixRowHeaders?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface DHIS2PivotTableProps {
|
|
16
|
-
analytics: Analytics;
|
|
17
|
-
tableProps?: DataTableProps;
|
|
18
|
-
setRef?: (ref: HTMLTableElement) => void;
|
|
19
|
-
config: {
|
|
20
|
-
layout: {
|
|
21
|
-
columns: {
|
|
22
|
-
dimension: DHIS2Dimension;
|
|
23
|
-
label?: string;
|
|
24
|
-
}[];
|
|
25
|
-
rows: {
|
|
26
|
-
dimension: DHIS2Dimension;
|
|
27
|
-
label?: string;
|
|
28
|
-
}[];
|
|
29
|
-
filter?: {
|
|
30
|
-
dimension: DHIS2Dimension;
|
|
31
|
-
label?: string;
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
options?: DHIS2PivotTableOptions;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export declare function DHIS2PivotTable({ analytics, config, tableProps, setRef, }: DHIS2PivotTableProps): import("react/jsx-runtime.js").JSX.Element;
|
|
38
|
-
//# sourceMappingURL=DHIS2PivotTable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DHIS2PivotTable.d.ts","sourceRoot":"","sources":["../../../../src/components/DHIS2PivotTable/DHIS2PivotTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAO3D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,WAAW,sBAAsB;IACtC,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACpC,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACzC,MAAM,EAAE;QACP,MAAM,EAAE;YACP,OAAO,EAAE;gBACR,SAAS,EAAE,cAAc,CAAC;gBAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;aACf,EAAE,CAAC;YACJ,IAAI,EAAE;gBACL,SAAS,EAAE,cAAc,CAAC;gBAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;aACf,EAAE,CAAC;YACJ,MAAM,CAAC,EAAE;gBACR,SAAS,EAAE,cAAc,CAAC;gBAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;aACf,EAAE,CAAC;SACJ,CAAC;QACF,OAAO,CAAC,EAAE,sBAAsB,CAAC;KACjC,CAAC;CACF;AAED,wBAAgB,eAAe,CAAC,EAC/B,SAAS,EACT,MAAM,EACN,UAAU,EACV,MAAM,GACN,EAAE,oBAAoB,8CActB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DataTableProps } from "@dhis2/ui";
|
|
3
|
-
export type PivotTableLayoutProps = DataTableProps;
|
|
4
|
-
export interface PivotTableProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
tableProps?: DataTableProps;
|
|
7
|
-
setRef?: (ref: HTMLTableElement) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function PivotTable({ tableProps, children, setRef }: PivotTableProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DHIS2PivotTable/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,cAAc,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,eAAe,2CAU3E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DHIS2PivotTable/components/TableBody/index.tsx"],"names":[],"mappings":"AAqHA,wBAAgB,oBAAoB,mDAmBnC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DHIS2PivotTable/components/TableHeaders/index.tsx"],"names":[],"mappings":"AA8FA,wBAAgB,YAAY,sDAmB3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DHIS2PivotTable/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DHIS2PivotTable/interfaces/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Analytics, AnalyticsItem, LegendSet } from "@hisptz/dhis2-utils";
|
|
2
|
-
import { DHIS2Dimension } from "../interfaces/index.js";
|
|
3
|
-
export interface EngineConfig {
|
|
4
|
-
layout: {
|
|
5
|
-
columns: {
|
|
6
|
-
dimension: DHIS2Dimension;
|
|
7
|
-
label?: string;
|
|
8
|
-
}[];
|
|
9
|
-
rows: {
|
|
10
|
-
dimension: DHIS2Dimension;
|
|
11
|
-
label?: string;
|
|
12
|
-
}[];
|
|
13
|
-
filter?: {
|
|
14
|
-
dimension: DHIS2Dimension;
|
|
15
|
-
label?: string;
|
|
16
|
-
}[];
|
|
17
|
-
};
|
|
18
|
-
options?: {
|
|
19
|
-
legendSets?: LegendSet[];
|
|
20
|
-
hideEmptyColumns?: boolean;
|
|
21
|
-
hideEmptyRows?: boolean;
|
|
22
|
-
showRowTotals?: boolean;
|
|
23
|
-
showColumnTotals?: boolean;
|
|
24
|
-
showRowSubtotals?: boolean;
|
|
25
|
-
showColumnSubtotals?: boolean;
|
|
26
|
-
fixColumnHeaders?: boolean;
|
|
27
|
-
fixRowHeaders?: boolean;
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export interface Header {
|
|
32
|
-
dimension: DHIS2Dimension;
|
|
33
|
-
label?: string;
|
|
34
|
-
items?: AnalyticsItem[];
|
|
35
|
-
}
|
|
36
|
-
export declare class DHIS2PivotTableEngine {
|
|
37
|
-
analyticsData: Analytics;
|
|
38
|
-
valueIndex: number;
|
|
39
|
-
config: EngineConfig;
|
|
40
|
-
rowHeaders?: Header[];
|
|
41
|
-
columnHeaders?: Header[];
|
|
42
|
-
columnMap?: {
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}[];
|
|
45
|
-
constructor({ analytics, config, }: {
|
|
46
|
-
analytics: Analytics;
|
|
47
|
-
config: EngineConfig;
|
|
48
|
-
});
|
|
49
|
-
get fixColumnHeaders(): boolean;
|
|
50
|
-
get fixRowHeaders(): boolean;
|
|
51
|
-
getDimensionItems(dimension: DHIS2Dimension): string[];
|
|
52
|
-
getItem(id: string): AnalyticsItem | undefined;
|
|
53
|
-
getValue(mapper: {
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}): number | undefined;
|
|
56
|
-
getHeaders(): void;
|
|
57
|
-
getColumnMap(): void;
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=engine.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../src/components/DHIS2PivotTable/services/engine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE1E,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE;QACP,OAAO,EAAE;YAAE,SAAS,EAAE,cAAc,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QACzD,IAAI,EAAE;YAAE,SAAS,EAAE,cAAc,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QACtD,MAAM,CAAC,EAAE;YAAE,SAAS,EAAE,cAAc,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KACzD,CAAC;IACF,OAAO,CAAC,EAAE;QACT,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;QACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACnB,CAAC;CACF;AAED,MAAM,WAAW,MAAM;IACtB,SAAS,EAAE,cAAc,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;CACxB;AAED,qBAAa,qBAAqB;IACjC,aAAa,EAAE,SAAS,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,YAAY,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB,SAAS,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;gBAEzB,EACX,SAAS,EACT,MAAM,GACN,EAAE;QACF,SAAS,EAAE,SAAS,CAAC;QACrB,MAAM,EAAE,YAAY,CAAC;KACrB;IAWD,IAAI,gBAAgB,YAEnB;IAED,IAAI,aAAa,YAEhB;IAED,iBAAiB,CAAC,SAAS,EAAE,cAAc;IAI3C,OAAO,CAAC,EAAE,EAAE,MAAM;IAIlB,QAAQ,CAAC,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;IAUvC,UAAU;IAuBV,YAAY;CAyBZ"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { DHIS2PivotTableEngine } from "../services/engine.js";
|
|
3
|
-
export declare function useCustomPivotTableEngine(): DHIS2PivotTableEngine | null;
|
|
4
|
-
export declare function DHIS2PivotTableEngineProvider({ children, engine, }: {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
engine: DHIS2PivotTableEngine;
|
|
7
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=engine.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../src/components/DHIS2PivotTable/state/engine.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAiB,SAAS,EAAc,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAK9D,wBAAgB,yBAAyB,iCAExC;AAED,wBAAgB,6BAA6B,CAAC,EAC7C,QAAQ,EACR,MAAM,GACN,EAAE;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,qBAAqB,CAAC;CAC9B,8CAMA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { MapProps } from "./interfaces";
|
|
3
|
-
import "leaflet/dist/leaflet.css";
|
|
4
|
-
export declare const DHIS2Map: React.FC<MapProps>;
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated since `v2`. Use `DHIS2Map` instead
|
|
7
|
-
* */
|
|
8
|
-
export declare const Map: React.FC<MapProps>;
|
|
9
|
-
//# sourceMappingURL=DHIS2Map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DHIS2Map.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/DHIS2Map.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,0BAA0B,CAAC;AA0DlC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAgB,CAAC;AAEzD;;KAEK;AACL,eAAO,MAAM,GAAG,oBAAW,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EarthEngineLayerConfig } from "../MapLayer/interfaces/index.js";
|
|
2
|
-
export interface EarthEngineLayerConfigModalProps {
|
|
3
|
-
open: boolean;
|
|
4
|
-
config?: EarthEngineLayerConfig;
|
|
5
|
-
exclude?: string[];
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
onChange: (config: EarthEngineLayerConfig) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function EarthEngineLayerConfigModal({ open, exclude, config, onClose, onChange, ...props }: EarthEngineLayerConfigModalProps): import("react/jsx-runtime.js").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=EarthEngineLayerConfigModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EarthEngineLayerConfigModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfigModal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAazE,MAAM,WAAW,gCAAgC;IAChD,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;CACnD;AAED,wBAAgB,2BAA2B,CAAC,EAC3C,IAAI,EACJ,OAAO,EACP,MAAM,EACN,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,gCAAgC,8CA4BlC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EarthEngineLayerConfig } from "../MapLayer/interfaces";
|
|
2
|
-
import { UseFormReturn } from "react-hook-form";
|
|
3
|
-
export interface EarthEngineLayerConfigurationProps {
|
|
4
|
-
form: UseFormReturn<EarthEngineLayerConfig>;
|
|
5
|
-
excluded?: string[];
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}
|
|
8
|
-
export declare function EarthEngineLayerConfiguration({ form, excluded, }: EarthEngineLayerConfigurationProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
//# sourceMappingURL=EarthEngineLayerConfiguration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EarthEngineLayerConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/EarthEngineLayerConfiguration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAgB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAW9D,MAAM,WAAW,kCAAkC;IAClD,IAAI,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;AAED,wBAAgB,6BAA6B,CAAC,EAC7C,IAAI,EACJ,QAAQ,GACR,EAAE,kCAAkC,2CAoBpC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AggregationSelector.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/components/AggregationSelector.tsx"],"names":[],"mappings":"AAYA,wBAAgB,mBAAmB,sDAiElC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ColorConfig.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/components/ColorConfig.tsx"],"names":[],"mappings":"AAkBA,wBAAgB,WAAW,+CAqH1B"}
|
package/dist/types/components/Map/components/EarthEngineLayerConfiguration/components/Name.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Name.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/components/Name.tsx"],"names":[],"mappings":"AAMA,wBAAgB,IAAI,+CA8BnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PeriodSelector.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.tsx"],"names":[],"mappings":"AAYA,wBAAgB,cAAc,sDAsE7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StylesConfig.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Map/components/EarthEngineLayerConfiguration/components/StylesConfig.tsx"],"names":[],"mappings":"AAKA,wBAAgB,YAAY,sDAkB3B"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|