@undp/carbon-library 1.0.17-CARBON-363.20 → 1.0.17-CARBON-363.97
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +332 -166
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/AntComponents/antTableComponents.d.ts +7 -6
- package/dist/cjs/types/Definitions/Definitions/ndcDetails.definitions.d.ts +20 -8
- package/dist/esm/index.js +334 -168
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/AntComponents/antTableComponents.d.ts +7 -6
- package/dist/esm/types/Definitions/Definitions/ndcDetails.definitions.d.ts +20 -8
- package/package.json +1 -1
@@ -9,13 +9,14 @@ interface EditableRowProps {
|
|
9
9
|
index: number;
|
10
10
|
}
|
11
11
|
export declare const EditableRow: React.FC<EditableRowProps>;
|
12
|
-
interface EditableCellProps {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
interface EditableCellProps extends React.HTMLAttributes<HTMLElement> {
|
13
|
+
editing: boolean;
|
14
|
+
dataIndex: string;
|
15
|
+
title: any;
|
16
|
+
inputType: "number" | "text";
|
17
17
|
record: Item;
|
18
|
-
|
18
|
+
index: number;
|
19
|
+
children: React.ReactNode;
|
19
20
|
}
|
20
21
|
export declare const EditableCell: React.FC<EditableCellProps>;
|
21
22
|
export {};
|
@@ -7,10 +7,10 @@ export type Period = {
|
|
7
7
|
deleted: boolean;
|
8
8
|
};
|
9
9
|
export type NdcDetail = {
|
10
|
-
id
|
11
|
-
actionType:
|
10
|
+
id: number;
|
11
|
+
actionType: NdcDetailsActionType;
|
12
12
|
nationalPlanObjective: string;
|
13
|
-
kpi: number;
|
13
|
+
kpi: number | string;
|
14
14
|
ministryName: string;
|
15
15
|
periodId?: number;
|
16
16
|
status: NdcDetailsActionStatus;
|
@@ -20,11 +20,23 @@ 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
|
+
New = "New",
|
29
|
+
Pending = "Pending",
|
30
|
+
Approved = "Approved",
|
31
|
+
Rejected = "Rejected"
|
30
32
|
}
|
33
|
+
export declare const getNdcActionStatusEnumVal: (value: string) => string;
|
34
|
+
export declare const getNdcActionStatusTagType: (status: NdcDetailsActionStatus) => "error" | "processing" | "default" | "success";
|
35
|
+
export type PopupInfo = {
|
36
|
+
title: string;
|
37
|
+
icon: any;
|
38
|
+
actionBtnText: string;
|
39
|
+
okAction: any;
|
40
|
+
type: "primary" | "danger";
|
41
|
+
remarkRequired: boolean;
|
42
|
+
};
|