@undp/carbon-library 1.0.17-CARBON-363.35 → 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 +145 -125
- 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 +3 -2
- package/dist/esm/index.js +146 -126
- 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 +3 -2
- 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
|
10
|
+
id: number;
|
11
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;
|
@@ -25,6 +25,7 @@ export declare enum NdcDetailsActionType {
|
|
25
25
|
SubAction = "SubAction"
|
26
26
|
}
|
27
27
|
export declare enum NdcDetailsActionStatus {
|
28
|
+
New = "New",
|
28
29
|
Pending = "Pending",
|
29
30
|
Approved = "Approved",
|
30
31
|
Rejected = "Rejected"
|
package/package.json
CHANGED