@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.
@@ -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
- title: React.ReactNode;
14
- editable: boolean;
15
- children: React.ReactNode;
16
- dataIndex: keyof Item;
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
- handleSave: (record: Item) => void;
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?: number;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.17-CARBON-363.35",
3
+ "version": "1.0.17-CARBON-363.97",
4
4
  "description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
5
5
  "type": "module",
6
6
  "scripts": {