@hisptz/dhis2-analytics 2.1.23 → 2.1.25
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/DHIS2Chart.js.map +1 -1
- package/dist/components/ChartAnalytics/components/DownloadMenu/index.js.map +1 -1
- package/dist/components/CircularProgressDashboard/CircularProgressIndicator.js.map +1 -1
- package/dist/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
- package/dist/components/DHIS2PivotTable/components/Table/index.js.map +1 -1
- package/dist/components/DHIS2PivotTable/components/TableBody/index.js.map +1 -1
- package/dist/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
- package/dist/components/DHIS2PivotTable/state/engine.js.map +1 -1
- package/dist/components/Map/DHIS2Map.js +2 -4
- package/dist/components/Map/DHIS2Map.js.map +1 -1
- package/dist/components/Map/components/EarthEngineLayerConfiguration/components/Name.js.map +1 -1
- package/dist/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.js.map +1 -1
- package/dist/components/Map/components/MapArea/index.js.map +1 -1
- package/dist/components/Map/components/MapControls/components/CustomControl/index.js +13 -2
- package/dist/components/Map/components/MapControls/components/CustomControl/index.js.map +1 -1
- package/dist/components/Map/components/MapControls/components/FullscreenControl/index.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/GoogleEngineLayer/index.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/LegendArea/index.js +10 -11
- package/dist/components/Map/components/MapLayer/components/LegendArea/index.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.js.map +1 -1
- package/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js.map +1 -1
- package/dist/components/Map/components/MapProvider/components/MapLayerProvider/index.js.map +1 -1
- package/dist/components/Map/components/MapProvider/index.js.map +1 -1
- package/dist/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.js.map +1 -1
- package/dist/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.js.map +1 -1
- package/dist/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.js.map +1 -1
- package/dist/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.js.map +1 -1
- package/dist/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
- package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
- package/dist/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.js.map +1 -1
- package/dist/components/Visualization/components/AnalyticsDataProvider/index.js.map +1 -1
- package/dist/components/Visualization/components/DimensionsProvider/index.js.map +1 -1
- package/dist/components/Visualization/components/LayoutProvider/index.js.map +1 -1
- package/dist/components/Visualization/components/VisualizationDimensionSelector/index.js.map +1 -1
- package/dist/components/Visualization/components/VisualizationProvider/index.js.map +1 -1
- package/dist/components/Visualization/components/VisualizationSelector/index.js.map +1 -1
- package/dist/components/Visualization/components/VisualizationTypeProvider/index.js.map +1 -1
- package/dist/components/Visualization/components/VisualizationTypeSelector/index.js.map +1 -1
- package/dist/esm/components/ChartAnalytics/DHIS2Chart.js.map +1 -1
- package/dist/esm/components/ChartAnalytics/components/DownloadMenu/index.js.map +1 -1
- package/dist/esm/components/CircularProgressDashboard/CircularProgressIndicator.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/DHIS2PivotTable.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/components/Table/index.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/components/TableBody/index.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/components/TableHeaders/index.js.map +1 -1
- package/dist/esm/components/DHIS2PivotTable/state/engine.js.map +1 -1
- package/dist/esm/components/Map/DHIS2Map.js +2 -4
- package/dist/esm/components/Map/DHIS2Map.js.map +1 -1
- package/dist/esm/components/Map/components/EarthEngineLayerConfiguration/components/Name.js.map +1 -1
- package/dist/esm/components/Map/components/EarthEngineLayerConfiguration/components/PeriodSelector.js.map +1 -1
- package/dist/esm/components/Map/components/MapArea/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapControls/components/CustomControl/index.js +13 -2
- package/dist/esm/components/Map/components/MapControls/components/CustomControl/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapControls/components/FullscreenControl/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/GoogleEngineLayer/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/LegendArea/index.js +4 -4
- package/dist/esm/components/Map/components/MapLayer/components/LegendArea/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js.map +1 -1
- package/dist/esm/components/Map/components/MapProvider/components/MapLayerProvider/index.js.map +1 -1
- package/dist/esm/components/Map/components/MapProvider/index.js.map +1 -1
- package/dist/esm/components/Map/components/ThematicLayerConfiguration/ThematicLayerConfiguration.js.map +1 -1
- package/dist/esm/components/Map/components/ThematicLayerConfiguration/components/ColorScaleSelect/index.js.map +1 -1
- package/dist/esm/components/Map/components/ThematicLayerConfiguration/components/IndicatorSelectorModal/index.js.map +1 -1
- package/dist/esm/components/Map/components/ThematicLayerConfiguration/components/LegendSetSelector/index.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/SingleValueVisualizer.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.js.map +1 -1
- package/dist/esm/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.js.map +1 -1
- package/dist/esm/components/Visualization/components/AnalyticsDataProvider/index.js.map +1 -1
- package/dist/esm/components/Visualization/components/DimensionsProvider/index.js.map +1 -1
- package/dist/esm/components/Visualization/components/LayoutProvider/index.js.map +1 -1
- package/dist/esm/components/Visualization/components/VisualizationDimensionSelector/index.js.map +1 -1
- package/dist/esm/components/Visualization/components/VisualizationProvider/index.js.map +1 -1
- package/dist/esm/components/Visualization/components/VisualizationSelector/index.js.map +1 -1
- package/dist/esm/components/Visualization/components/VisualizationTypeProvider/index.js.map +1 -1
- package/dist/esm/components/Visualization/components/VisualizationTypeSelector/index.js.map +1 -1
- package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts +3 -3
- package/dist/types/components/ChartAnalytics/DHIS2Chart.d.ts.map +1 -1
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts +2 -2
- package/dist/types/components/ChartAnalytics/components/DownloadMenu/index.d.ts.map +1 -1
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts +2 -2
- package/dist/types/components/CircularProgressDashboard/CircularProgressIndicator.d.ts.map +1 -1
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts +2 -2
- package/dist/types/components/DHIS2PivotTable/components/Table/index.d.ts.map +1 -1
- package/dist/types/components/DHIS2PivotTable/state/engine.d.ts.map +1 -1
- package/dist/types/components/Map/DHIS2Map.d.ts +3 -3
- package/dist/types/components/Map/DHIS2Map.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapArea/index.d.ts +1 -2
- package/dist/types/components/Map/components/MapArea/index.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts +2 -2
- package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts +2 -1
- package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts +2 -3
- package/dist/types/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapLayer/components/LegendArea/index.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts +1 -2
- package/dist/types/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts +1 -2
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts +2 -3
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +2 -3
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts +2 -2
- package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map +1 -1
- package/dist/types/components/Map/components/MapProvider/index.d.ts.map +1 -1
- package/dist/types/components/Map/interfaces/index.d.ts +2 -2
- package/dist/types/components/Map/interfaces/index.d.ts.map +1 -1
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts +2 -2
- package/dist/types/components/SingleValueContainer/SingleValueVisualizer.d.ts.map +1 -1
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts +2 -2
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts.map +1 -1
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts +2 -2
- package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.d.ts.map +1 -1
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts +2 -2
- package/dist/types/components/Visualization/components/AnalyticsDataProvider/index.d.ts.map +1 -1
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts +4 -4
- package/dist/types/components/Visualization/components/DimensionsProvider/index.d.ts.map +1 -1
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts +3 -3
- package/dist/types/components/Visualization/components/LayoutProvider/index.d.ts.map +1 -1
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts +2 -2
- package/dist/types/components/Visualization/components/VisualizationProvider/index.d.ts.map +1 -1
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts +6 -6
- package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import HighchartsReact from "highcharts-react-official";
|
|
2
|
-
import
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
3
|
import { ChartExportMenuItem } from "./interfaces/menu.js";
|
|
4
4
|
export declare function ChartDownloadMenu({ chartRef, exclude, icon, }: {
|
|
5
5
|
chartRef: HighchartsReact.RefObject | null;
|
|
6
6
|
exclude?: ChartExportMenuItem[];
|
|
7
|
-
icon?:
|
|
7
|
+
icon?: ReactNode;
|
|
8
8
|
}): import("react/jsx-runtime.js").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChartAnalytics/components/DownloadMenu/index.tsx"],"names":[],"mappings":"AACA,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChartAnalytics/components/DownloadMenu/index.tsx"],"names":[],"mappings":"AACA,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAC;AASzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,iBAAiB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,IAAI,GACJ,EAAE;IACF,QAAQ,EAAE,eAAe,CAAC,SAAS,GAAG,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAChC,IAAI,CAAC,EAAE,SAAS,CAAC;CACjB,8CAwDA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
2
|
import { CircularDashboardProps } from "./types/props.js";
|
|
3
3
|
export * from "./types/props.js";
|
|
4
|
-
export declare function CircularProgressVisualizer({ numerator, size, denominator, value, textStyle, strokeStyle, }: CircularDashboardProps):
|
|
4
|
+
export declare function CircularProgressVisualizer({ numerator, size, denominator, value, textStyle, strokeStyle, }: CircularDashboardProps): ReactElement;
|
|
5
5
|
export declare const CircularProgressDashboard: typeof CircularProgressVisualizer;
|
|
6
6
|
//# sourceMappingURL=CircularProgressIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgressDashboard/CircularProgressIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"CircularProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/CircularProgressDashboard/CircularProgressIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AAEnD,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,YAAY,CA8CvC;AAED,eAAO,MAAM,yBAAyB,mCAA6B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { DataTableProps } from "@dhis2/ui";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
3
|
export type PivotTableLayoutProps = DataTableProps;
|
|
4
4
|
export interface PivotTableProps {
|
|
5
|
-
children:
|
|
5
|
+
children: ReactNode;
|
|
6
6
|
tableProps?: DataTableProps;
|
|
7
7
|
setRef?: (ref: HTMLTableElement) => void;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DHIS2PivotTable/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DHIS2PivotTable/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../src/components/DHIS2PivotTable/state/engine.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../src/components/DHIS2PivotTable/state/engine.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAc,MAAM,OAAO,CAAC;AAC7D,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 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { MapProps } from "./interfaces";
|
|
3
2
|
import "leaflet/dist/leaflet.css";
|
|
4
|
-
|
|
3
|
+
import type { FC } from "react";
|
|
4
|
+
export declare const DHIS2Map: FC<MapProps>;
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated since `v2`. Use `DHIS2Map` instead
|
|
7
7
|
* */
|
|
8
|
-
export declare const Map:
|
|
8
|
+
export declare const Map: FC<MapProps>;
|
|
9
9
|
//# sourceMappingURL=DHIS2Map.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DHIS2Map.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/DHIS2Map.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DHIS2Map.d.ts","sourceRoot":"","sources":["../../../../src/components/Map/DHIS2Map.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA6DhC,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAgB,CAAC;AAEnD;;KAEK;AACL,eAAO,MAAM,GAAG,cAAW,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Map as LeafletMap } from "leaflet";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import { MapAreaProps } from "./interfaces/index.js";
|
|
4
|
-
declare const _default:
|
|
3
|
+
declare const _default: import("react").ForwardRefExoticComponent<MapAreaProps & import("react").RefAttributes<LeafletMap>>;
|
|
5
4
|
export default _default;
|
|
6
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
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;AAW5C,OAAO,EACN,YAAY,EAGZ,MAAM,uBAAuB,CAAC;;AA0H/B,wBAAmC"}
|
package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControlOptions } from "leaflet";
|
|
2
|
-
import
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
3
|
interface CustomControlOptions extends ControlOptions {
|
|
4
|
-
children:
|
|
4
|
+
children: ReactNode;
|
|
5
5
|
}
|
|
6
6
|
export declare function CustomControl({ children, position, ...options }: CustomControlOptions): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
package/dist/types/components/Map/components/MapControls/components/CustomControl/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/CustomControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
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,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,UAAU,oBAAqB,SAAQ,cAAc;IACpD,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAC7B,QAAQ,EACR,QAAQ,EACR,GAAG,OAAO,EACV,EAAE,oBAAoB,2CAatB"}
|
package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ControlOptions } from "leaflet";
|
|
2
2
|
import "leaflet.fullscreen";
|
|
3
3
|
import "leaflet.fullscreen/Control.FullScreen.css";
|
|
4
|
-
|
|
4
|
+
import type { ForwardRefExoticComponent, RefAttributes } from "react";
|
|
5
|
+
declare const FullscreenControl: ForwardRefExoticComponent<ControlOptions & RefAttributes<any>>;
|
|
5
6
|
export default FullscreenControl;
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Map/components/MapControls/components/FullscreenControl/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/FullscreenControl/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapControls/components/FullscreenControl/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtE,QAAA,MAAM,iBAAiB,EAAE,yBAAyB,CACjD,cAAc,GAAG,aAAa,CAAC,GAAG,CAAC,CACqC,CAAC;AAC1E,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { CustomGoogleEngineLayer } from "../../../interfaces/index.js";
|
|
3
2
|
export declare function LegendItem({ legend, }: {
|
|
4
3
|
legend: {
|
|
@@ -8,11 +7,11 @@ export declare function LegendItem({ legend, }: {
|
|
|
8
7
|
name?: string;
|
|
9
8
|
};
|
|
10
9
|
}): import("react/jsx-runtime.js").JSX.Element;
|
|
11
|
-
declare const _default:
|
|
10
|
+
declare const _default: import("react").ForwardRefExoticComponent<{
|
|
12
11
|
layer: CustomGoogleEngineLayer;
|
|
13
12
|
collapsible?: boolean;
|
|
14
13
|
onCollapse?: () => void;
|
|
15
14
|
name: string;
|
|
16
|
-
} &
|
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
16
|
export default _default;
|
|
18
17
|
//# sourceMappingURL=EarthEngineLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EarthEngineLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EarthEngineLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Map/components/MapLayer/components/GoogleEngineLayer/components/EarthEngineLegend.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAKvE,wBAAgB,UAAU,CAAC,EAC1B,MAAM,GACN,EAAE;IACF,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnE,8CAcA;;WA0CQ,uBAAuB;kBAChB,OAAO;iBACR,MAAM,IAAI;UACjB,MAAM;;AA+Cd,wBAA6C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/LegendArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapLayer/components/LegendArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAU1C,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAEN,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EAEnB,MAAM,2BAA2B,CAAC;AAwLnC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,MAAM,EACN,OAAO,EAAE,YAAY,GACrB,EAAE;IACF,MAAM,EAAE,KAAK,CACZ,mBAAmB,GAAG,gBAAgB,GAAG,uBAAuB,CAChE,CAAC;IACF,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,CAAC,EAAE,eAAe,CAAC;CAC1B,8CA4BA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
2
|
export default _default;
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/Map/components/MapLayer/components/PointLayer/components/PointLegend/index.tsx"],"names":[],"mappings":";AA6FA,wBAAuC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
export declare const guideLength = 16;
|
|
3
2
|
export declare const textPadding = 4;
|
|
4
|
-
declare const _default:
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<({ radiusLow, radiusHigh, color, classes, }: {
|
|
5
4
|
radiusLow: number;
|
|
6
5
|
radiusHigh: number;
|
|
7
6
|
color?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bubbles.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Bubbles.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/components/Bubbles.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,WAAW,IAAI,CAAC;yGAO1B;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CACpB;AAmJD,wBAA6B"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Legend } from "@hisptz/dhis2-utils";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../../interfaces/index.js";
|
|
4
|
-
declare const _default:
|
|
3
|
+
declare const _default: import("react").ForwardRefExoticComponent<{
|
|
5
4
|
radius: {
|
|
6
5
|
min: number;
|
|
7
6
|
max: number;
|
|
@@ -12,6 +11,6 @@ declare const _default: React.ForwardRefExoticComponent<{
|
|
|
12
11
|
collapsible?: boolean;
|
|
13
12
|
onCollapse?: () => void;
|
|
14
13
|
legends: Legend[];
|
|
15
|
-
} &
|
|
14
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
15
|
export default _default;
|
|
17
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Bubble/components/BubbleLegend/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,uCAAuC,CAAC;;YAcrC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;cAC1B,qBAAqB;UACzB,iBAAiB,EAAE;WAClB,MAAM;kBACC,OAAO;iBACR,MAAM,IAAI;aACd,MAAM,EAAE;;AAwBnB,wBAAwC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "../../../styles/legends.css";
|
|
2
2
|
import type { Legend } from "@hisptz/dhis2-utils";
|
|
3
|
-
import React from "react";
|
|
4
3
|
import { ThematicLayerData, ThematicLayerDataItem } from "../../../../../interfaces";
|
|
5
4
|
export declare function LegendItem({ legend, value, }: {
|
|
6
5
|
legend: {
|
|
@@ -10,13 +9,13 @@ export declare function LegendItem({ legend, value, }: {
|
|
|
10
9
|
};
|
|
11
10
|
value: number;
|
|
12
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare const _default:
|
|
12
|
+
declare const _default: import("react").ForwardRefExoticComponent<{
|
|
14
13
|
data: ThematicLayerData[];
|
|
15
14
|
dataItem: ThematicLayerDataItem;
|
|
16
15
|
name?: string;
|
|
17
16
|
collapsible?: boolean;
|
|
18
17
|
onCollapse?: () => void;
|
|
19
18
|
legends: Legend[];
|
|
20
|
-
} &
|
|
19
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
20
|
export default _default;
|
|
22
21
|
//# sourceMappingURL=ChoroplethLegend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChoroplethLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChoroplethLegend.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,MAAM,2BAA2B,CAAC;AAQnC,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,KAAK,GACL,EAAE;IACF,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC;CACd,2CAWA;;UAUO,iBAAiB,EAAE;cACf,qBAAqB;WACxB,MAAM;kBACC,OAAO;iBACR,MAAM,IAAI;aACd,MAAM,EAAE;;AAyBnB,wBAA4C"}
|
package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { MapLayerConfig } from "../../../MapArea/interfaces";
|
|
3
3
|
import type { MapAnalyticsOptions } from "../../../../interfaces";
|
|
4
4
|
export declare function MapLayersProvider({ layers, children, analyticsOptions, }: {
|
|
5
5
|
layers: MapLayerConfig;
|
|
6
|
-
children:
|
|
6
|
+
children: ReactNode;
|
|
7
7
|
analyticsOptions?: MapAnalyticsOptions;
|
|
8
8
|
}): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Map/components/MapProvider/components/MapLayerProvider/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Map/components/MapProvider/components/MapLayerProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAe7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,wBAAgB,iBAAiB,CAAC,EACjC,MAAM,EACN,QAAQ,EACR,gBAAgB,GAChB,EAAE;IACF,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;CACvC,2CAsIA"}
|
|
@@ -1 +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,kBAAkB,CAAC;AAyBhE,wBAAgB,WAAW,CAAC,EAC3B,QAAQ,EACR,gBAAgB,EAChB,eAAe,GACf,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Map/components/MapProvider/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAyBhE,wBAAgB,WAAW,CAAC,EAC3B,QAAQ,EACR,gBAAgB,EAChB,eAAe,GACf,EAAE,gBAAgB,kDAkFlB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { OrgUnitSelection } from "@hisptz/dhis2-utils";
|
|
2
|
-
import
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
3
|
import type { MapContainerProps } from "react-leaflet";
|
|
4
4
|
import { MapControls, MapLegendConfig } from "../components/MapArea/interfaces";
|
|
5
5
|
import { EarthEngineLayerConfig, ThematicLayerConfig } from "../components/MapLayer/interfaces";
|
|
6
6
|
import { type LeafletEventHandlerFnMap, type LeafletMouseEvent, Map as LeafletMap } from "leaflet";
|
|
7
7
|
export interface MapProviderProps {
|
|
8
|
-
children:
|
|
8
|
+
children: ReactNode;
|
|
9
9
|
orgUnitSelection: OrgUnitSelection;
|
|
10
10
|
periodSelection?: {
|
|
11
11
|
periods?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/interfaces/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/interfaces/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
2
|
import SingleValueItem from "./components/SingleValueItem/SingleValueItem.js";
|
|
3
3
|
import { SingleValueVisualizerProps } from "./types/props.js";
|
|
4
4
|
export * from "./types/props.js";
|
|
5
|
-
export declare function SingleValueVisualizer({ title, singleValueItems, animationDuration, animationDelay, disableAnimation, }: SingleValueVisualizerProps):
|
|
5
|
+
export declare function SingleValueVisualizer({ title, singleValueItems, animationDuration, animationDelay, disableAnimation, }: SingleValueVisualizerProps): ReactElement;
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated since `v2`. Use `SingleValueVisualizer` instead
|
|
8
8
|
* */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleValueVisualizer.d.ts","sourceRoot":"","sources":["../../../../src/components/SingleValueContainer/SingleValueVisualizer.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"SingleValueVisualizer.d.ts","sourceRoot":"","sources":["../../../../src/components/SingleValueContainer/SingleValueVisualizer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AACpD,OAAO,eAAe,MAAM,iDAAiD,CAAC;AAE9E,OAAO,EAAe,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAE3E,cAAc,kBAAkB,CAAC;AAEjC,wBAAgB,qBAAqB,CAAC,EACrC,KAAK,EACL,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,GAChB,EAAE,0BAA0B,GAAG,YAAY,CA4B3C;AAED;;KAEK;AACL,eAAO,MAAM,oBAAoB,8BAAwB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/types/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
2
|
import { SingleValue } from "../../types/props.js";
|
|
3
3
|
interface SingleValueProps extends SingleValue {
|
|
4
4
|
globalAnimationDelay?: number;
|
|
5
5
|
globalAnimationDuration?: number;
|
|
6
6
|
disableAnimation?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export default function SingleValueItem({ label, value, color, percentage, animationDuration, animationDelay, globalAnimationDelay, decimalPlaces, globalAnimationDuration, disableAnimation, }: SingleValueProps):
|
|
8
|
+
export default function SingleValueItem({ label, value, color, percentage, animationDuration, animationDelay, globalAnimationDelay, decimalPlaces, globalAnimationDuration, disableAnimation, }: SingleValueProps): ReactElement;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=SingleValueItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleValueItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SingleValueItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValueItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,UAAU,gBAAiB,SAAQ,WAAW;IAC7C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACvC,KAAK,EACL,KAAK,EACL,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,gBAAgB,GAChB,EAAE,gBAAgB,GAAG,YAAY,CAqCjC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default function SingleValuePercentage({ percentage, color, }: any):
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
export default function SingleValuePercentage({ percentage, color, }: any): ReactElement;
|
|
3
3
|
//# sourceMappingURL=SingleValuePercentage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleValuePercentage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SingleValuePercentage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SingleValueContainer/components/SingleValueItem/SingleValuePercentage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC7C,UAAU,EACV,KAAK,GACL,EAAE,GAAG,GAAG,YAAY,CAWpB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { Analytics } from "@hisptz/dhis2-utils";
|
|
3
3
|
export interface DataProviderProps {
|
|
4
|
-
children:
|
|
4
|
+
children: ReactNode;
|
|
5
5
|
}
|
|
6
6
|
export declare function useAnalyticsData(): {
|
|
7
7
|
loading: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/AnalyticsDataProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/AnalyticsDataProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EAId,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,SAAS,EAAsB,MAAM,qBAAqB,CAAC;AA6BpE,MAAM,WAAW,iBAAiB;IACjC,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,gBAAgB;aA1BpB,OAAO;eAAa,SAAS;EA4BxC;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,8CAiEpE"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { AnalyticsDimension } from "@hisptz/dhis2-utils";
|
|
3
3
|
export type Dimension = "ou" | "pe" | "dx" | "co";
|
|
4
4
|
export type DimensionUpdater = (data: {
|
|
5
5
|
dimension: Dimension;
|
|
6
6
|
value: string[];
|
|
7
7
|
}) => void;
|
|
8
|
-
export declare const DimensionState:
|
|
9
|
-
export declare const DimensionUpdateState:
|
|
8
|
+
export declare const DimensionState: import("react").Context<AnalyticsDimension>;
|
|
9
|
+
export declare const DimensionUpdateState: import("react").Context<DimensionUpdater | undefined>;
|
|
10
10
|
export interface DimensionProviderProps {
|
|
11
|
-
children:
|
|
11
|
+
children: ReactNode;
|
|
12
12
|
dimensions: AnalyticsDimension;
|
|
13
13
|
}
|
|
14
14
|
export declare function useDimensions(): [AnalyticsDimension, DimensionUpdater];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/DimensionsProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/DimensionsProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EAId,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE;IACrC,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;CAChB,KAAK,IAAI,CAAC;AACX,eAAO,MAAM,cAAc,6CAIzB,CAAC;AACH,eAAO,MAAM,oBAAoB,uDAEhC,CAAC;AAWF,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,kBAAkB,CAAC;CAC/B;AAED,wBAAgB,aAAa,IAC6C,CACxE,kBAAkB,EAClB,gBAAgB,CAChB,CACD;AAED,wBAAgB,kBAAkB,CAAC,EAClC,QAAQ,EACR,UAAU,GACV,EAAE,sBAAsB,2CAmBxB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { Dimension } from "../DimensionsProvider/index.js";
|
|
3
3
|
export interface Layout {
|
|
4
4
|
rows: Dimension[];
|
|
@@ -6,10 +6,10 @@ export interface Layout {
|
|
|
6
6
|
filters: Dimension[];
|
|
7
7
|
}
|
|
8
8
|
export interface LayoutProviderProps {
|
|
9
|
-
children:
|
|
9
|
+
children: ReactNode;
|
|
10
10
|
defaultLayout: Layout;
|
|
11
11
|
}
|
|
12
|
-
export declare const LayoutState:
|
|
12
|
+
export declare const LayoutState: import("react").Context<Layout | undefined>;
|
|
13
13
|
export declare function useLayout(): Layout[];
|
|
14
14
|
export declare function LayoutProvider({ defaultLayout, children, }: LayoutProviderProps): import("react/jsx-runtime.js").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/LayoutProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/LayoutProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,MAAM,WAAW,MAAM;IACtB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,OAAO,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,6CAA+C,CAAC;AAExE,wBAAgB,SAAS,aAExB;AAED,wBAAgB,cAAc,CAAC,EAC9B,aAAa,EACb,QAAQ,GACR,EAAE,mBAAmB,8CAMrB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { Layout } from "../LayoutProvider/index.js";
|
|
3
3
|
import { AnalyticsDimension } from "@hisptz/dhis2-utils";
|
|
4
4
|
import { VisualizationType } from "../VisualizationTypeProvider/index.js";
|
|
5
5
|
import { VisualizationConfig } from "../../index.js";
|
|
6
6
|
export interface VisualizationProviderProps {
|
|
7
|
-
children:
|
|
7
|
+
children: ReactNode;
|
|
8
8
|
layout: Layout;
|
|
9
9
|
dimensions: AnalyticsDimension;
|
|
10
10
|
type: VisualizationType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,EAAkB,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,OAAO,EACN,iBAAiB,EAEjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,WAAW,0BAA0B;IAC1C,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,kBAAkB,CAAC;IAC/B,IAAI,EAAE,iBAAiB,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED,wBAAgB,qBAAqB,CAAC,EACrC,MAAM,EACN,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,MAAM,GACN,EAAE,0BAA0B,8CAU5B"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type Dispatch, type ReactNode, type SetStateAction } from "react";
|
|
2
2
|
import { VisualizationConfig } from "../../index.js";
|
|
3
3
|
export type VisualizationType = "pivotTable" | "chart" | "map";
|
|
4
|
-
export declare const VisualizationTypeContext:
|
|
5
|
-
export declare const VisualizationConfigContext:
|
|
6
|
-
export declare const VisualizationTypeSetter:
|
|
4
|
+
export declare const VisualizationTypeContext: import("react").Context<VisualizationType>;
|
|
5
|
+
export declare const VisualizationConfigContext: import("react").Context<VisualizationConfig | undefined>;
|
|
6
|
+
export declare const VisualizationTypeSetter: import("react").Context<Dispatch<SetStateAction<VisualizationType>> | undefined>;
|
|
7
7
|
export interface VisualizationTypeProviderProps {
|
|
8
|
-
children:
|
|
8
|
+
children: ReactNode;
|
|
9
9
|
defaultType: VisualizationType;
|
|
10
10
|
config: VisualizationConfig;
|
|
11
11
|
}
|
|
12
|
-
export declare function useVisualizationType(): [VisualizationType,
|
|
12
|
+
export declare function useVisualizationType(): [VisualizationType, Dispatch<SetStateAction<VisualizationType>>];
|
|
13
13
|
export declare function useVisualizationConfig(): VisualizationConfig | undefined;
|
|
14
14
|
export declare function VisualizationTypeProvider({ children, defaultType, config, }: VisualizationTypeProviderProps): import("react/jsx-runtime.js").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/Visualization/components/VisualizationTypeProvider/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationTypeProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Visualization/components/VisualizationTypeProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EAGnB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/D,eAAO,MAAM,wBAAwB,4CACU,CAAC;AAChD,eAAO,MAAM,0BAA0B,0DAE3B,CAAC;AACb,eAAO,MAAM,uBAAuB,kFAExB,CAAC;AAEb,MAAM,WAAW,8BAA8B;IAC9C,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,IAI9B,CAAC,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC,CACrE;AAED,wBAAgB,sBAAsB,oCAErC;AAED,wBAAgB,yBAAyB,CAAC,EACzC,QAAQ,EACR,WAAW,EACX,MAAM,GACN,EAAE,8BAA8B,8CAYhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hisptz/dhis2-analytics",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.25",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dhis2/app-runtime": "^3.14.1",
|
|
21
|
+
"@google/earthengine": "^1.5.21",
|
|
21
22
|
"@storybook/react": "^7.6.7",
|
|
22
23
|
"@tanstack/react-query": "^4.36.1",
|
|
23
24
|
"@types/async": "^3.2.24",
|
|
@@ -47,7 +48,6 @@
|
|
|
47
48
|
"@repo/eslint-config": "0.0.0"
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
|
-
"@google/earthengine": "^1.5.21",
|
|
51
51
|
"@react-leaflet/core": "^2.1.0",
|
|
52
52
|
"@react-pdf/renderer": "^4.0.0",
|
|
53
53
|
"@tanstack/react-table": "^8.19.3",
|
|
@@ -56,8 +56,6 @@
|
|
|
56
56
|
"d3-scale": "^4.0.2",
|
|
57
57
|
"file-saver": "^2.0.5",
|
|
58
58
|
"geolib": "^3.3.4",
|
|
59
|
-
"highcharts": "^12.2.0",
|
|
60
|
-
"highcharts-react-official": "^3.2.1",
|
|
61
59
|
"jotai-devtools": "^0.10.1",
|
|
62
60
|
"leaflet": "^1.9.4",
|
|
63
61
|
"leaflet-easyprint": "^2.1.9",
|
|
@@ -74,8 +72,8 @@
|
|
|
74
72
|
"react-to-print": "^3.0.1",
|
|
75
73
|
"screenfull": "^6.0.2",
|
|
76
74
|
"xlsx": "^0.18.5",
|
|
77
|
-
"@hisptz/dhis2-
|
|
78
|
-
"@hisptz/dhis2-
|
|
75
|
+
"@hisptz/dhis2-ui": "2.0.50",
|
|
76
|
+
"@hisptz/dhis2-utils": "2.0.18"
|
|
79
77
|
},
|
|
80
78
|
"peerDependencies": {
|
|
81
79
|
"@dhis2/app-runtime": "^3",
|
|
@@ -83,6 +81,8 @@
|
|
|
83
81
|
"@dhis2/multi-calendar-dates": "^1",
|
|
84
82
|
"@dhis2/ui": "^10",
|
|
85
83
|
"classnames": "^2",
|
|
84
|
+
"highcharts": "^12",
|
|
85
|
+
"highcharts-react-official": "^3",
|
|
86
86
|
"lodash": "^4",
|
|
87
87
|
"react": "^18 || ^19",
|
|
88
88
|
"react-dom": "^18 || ^19",
|