@hisptz/dhis2-scorecard 1.1.5 → 1.1.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataItem.d.ts","sourceRoot":"","sources":["../../../src/hooks/dataItem.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,wBAAgB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"dataItem.d.ts","sourceRoot":"","sources":["../../../src/hooks/dataItem.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,wBAAgB,qBAAqB,KAE5B,YAAY,mBAAmB,YAUvC"}
|
|
@@ -3013,7 +3013,7 @@ export declare const scorecardTableAverageCellConfig: z.ZodObject<{
|
|
|
3013
3013
|
} | undefined;
|
|
3014
3014
|
}>;
|
|
3015
3015
|
export type ScorecardTableAverageCellConfig = z.infer<typeof scorecardTableAverageCellConfig>;
|
|
3016
|
-
export declare const scorecardCellDataSchema: z.ZodObject<
|
|
3016
|
+
export declare const scorecardCellDataSchema: z.ZodObject<{
|
|
3017
3017
|
id: z.ZodString;
|
|
3018
3018
|
name: z.ZodString;
|
|
3019
3019
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3094,7 +3094,7 @@ export declare const scorecardCellDataSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
3094
3094
|
}>, "many">>;
|
|
3095
3095
|
specificTargetsSet: z.ZodOptional<z.ZodBoolean>;
|
|
3096
3096
|
description: z.ZodOptional<z.ZodString>;
|
|
3097
|
-
}
|
|
3097
|
+
} & {
|
|
3098
3098
|
data: z.ZodObject<{
|
|
3099
3099
|
previous: z.ZodOptional<z.ZodNumber>;
|
|
3100
3100
|
current: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3105,7 +3105,7 @@ export declare const scorecardCellDataSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
3105
3105
|
previous?: number | undefined;
|
|
3106
3106
|
current?: number | undefined;
|
|
3107
3107
|
}>;
|
|
3108
|
-
}
|
|
3108
|
+
}, "strip", z.ZodTypeAny, {
|
|
3109
3109
|
type: "indicator" | "programIndicator" | "dataSet" | "dataElement" | "customFunction" | "sqlView";
|
|
3110
3110
|
id: string;
|
|
3111
3111
|
name: string;
|
|
@@ -3181,7 +3181,7 @@ export declare const scorecardCellDataSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
3181
3181
|
description?: string | undefined;
|
|
3182
3182
|
}>;
|
|
3183
3183
|
export type ScorecardCellData = z.infer<typeof scorecardCellDataSchema>;
|
|
3184
|
-
export declare const scorecardAverageCellDataSchema: z.ZodObject<
|
|
3184
|
+
export declare const scorecardAverageCellDataSchema: z.ZodObject<{
|
|
3185
3185
|
id: z.ZodString;
|
|
3186
3186
|
name: z.ZodString;
|
|
3187
3187
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3262,7 +3262,7 @@ export declare const scorecardAverageCellDataSchema: z.ZodObject<z.objectUtil.ex
|
|
|
3262
3262
|
}>, "many">>;
|
|
3263
3263
|
specificTargetsSet: z.ZodOptional<z.ZodBoolean>;
|
|
3264
3264
|
description: z.ZodOptional<z.ZodString>;
|
|
3265
|
-
}
|
|
3265
|
+
} & {
|
|
3266
3266
|
data: z.ZodObject<{
|
|
3267
3267
|
average: z.ZodOptional<z.ZodNumber>;
|
|
3268
3268
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3270,7 +3270,7 @@ export declare const scorecardAverageCellDataSchema: z.ZodObject<z.objectUtil.ex
|
|
|
3270
3270
|
}, {
|
|
3271
3271
|
average?: number | undefined;
|
|
3272
3272
|
}>;
|
|
3273
|
-
}
|
|
3273
|
+
}, "strip", z.ZodTypeAny, {
|
|
3274
3274
|
type: "indicator" | "programIndicator" | "dataSet" | "dataElement" | "customFunction" | "sqlView";
|
|
3275
3275
|
id: string;
|
|
3276
3276
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hisptz/dhis2-scorecard",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
"package.json"
|
|
18
18
|
],
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@dhis2/app-runtime": "^3.14.0",
|
|
21
|
-
"@dhis2/d2-i18n": "^1.1.3",
|
|
22
|
-
"@dhis2/multi-calendar-dates": "^1.3.2",
|
|
23
|
-
"@dhis2/ui": "^9.15.0",
|
|
24
20
|
"@storybook/react": "^7.6.7",
|
|
25
21
|
"@types/async": "^3.2.24",
|
|
26
22
|
"@types/d3-color": "^3.1.0",
|
|
@@ -46,8 +42,8 @@
|
|
|
46
42
|
"tsup": "^8.3.0",
|
|
47
43
|
"typescript": "^5.3.3",
|
|
48
44
|
"usehooks-ts": "^2.9.2",
|
|
49
|
-
"@repo/
|
|
50
|
-
"@repo/
|
|
45
|
+
"@repo/typescript-config": "0.0.2",
|
|
46
|
+
"@repo/eslint-config": "0.0.0"
|
|
51
47
|
},
|
|
52
48
|
"dependencies": {
|
|
53
49
|
"@tanstack/react-table": "^8.19.3",
|
|
@@ -62,15 +58,15 @@
|
|
|
62
58
|
"recoil": "^0.7.7",
|
|
63
59
|
"xlsx": "^0.18.5",
|
|
64
60
|
"zod": "^3.23.8",
|
|
65
|
-
"@hisptz/dhis2-analytics": "2.1.
|
|
61
|
+
"@hisptz/dhis2-analytics": "2.1.6",
|
|
66
62
|
"@hisptz/dhis2-utils": "2.0.18",
|
|
67
|
-
"@hisptz/dhis2-ui": "2.0.
|
|
63
|
+
"@hisptz/dhis2-ui": "2.0.47"
|
|
68
64
|
},
|
|
69
65
|
"peerDependencies": {
|
|
70
|
-
"@dhis2/app-runtime": "^3
|
|
66
|
+
"@dhis2/app-runtime": "^3",
|
|
71
67
|
"@dhis2/d2-i18n": "^1.1.3",
|
|
72
68
|
"@dhis2/multi-calendar-dates": "^1.2.4",
|
|
73
|
-
"@dhis2/ui": "^10
|
|
69
|
+
"@dhis2/ui": "^10",
|
|
74
70
|
"classnames": "^2.5.1",
|
|
75
71
|
"eslint": "^8.56.0",
|
|
76
72
|
"lodash": "^4.17.21",
|