@undp/carbon-library 1.0.17-CARBON-363.20 → 1.0.17-CARBON-363.35
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +201 -55
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Definitions/ndcDetails.definitions.d.ts +17 -6
- package/dist/esm/index.js +202 -56
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Definitions/ndcDetails.definitions.d.ts +17 -6
- package/package.json +1 -1
@@ -8,7 +8,7 @@ export type Period = {
|
|
8
8
|
};
|
9
9
|
export type NdcDetail = {
|
10
10
|
id?: number;
|
11
|
-
actionType:
|
11
|
+
actionType: NdcDetailsActionType;
|
12
12
|
nationalPlanObjective: string;
|
13
13
|
kpi: number;
|
14
14
|
ministryName: string;
|
@@ -20,11 +20,22 @@ export type DateRange = {
|
|
20
20
|
startYear: number;
|
21
21
|
endYear: number;
|
22
22
|
};
|
23
|
-
export declare enum
|
24
|
-
|
25
|
-
|
23
|
+
export declare enum NdcDetailsActionType {
|
24
|
+
MainAction = "MainAction",
|
25
|
+
SubAction = "SubAction"
|
26
26
|
}
|
27
27
|
export declare enum NdcDetailsActionStatus {
|
28
|
-
|
29
|
-
|
28
|
+
Pending = "Pending",
|
29
|
+
Approved = "Approved",
|
30
|
+
Rejected = "Rejected"
|
30
31
|
}
|
32
|
+
export declare const getNdcActionStatusEnumVal: (value: string) => string;
|
33
|
+
export declare const getNdcActionStatusTagType: (status: NdcDetailsActionStatus) => "error" | "processing" | "default" | "success";
|
34
|
+
export type PopupInfo = {
|
35
|
+
title: string;
|
36
|
+
icon: any;
|
37
|
+
actionBtnText: string;
|
38
|
+
okAction: any;
|
39
|
+
type: "primary" | "danger";
|
40
|
+
remarkRequired: boolean;
|
41
|
+
};
|
package/package.json
CHANGED