@undp/carbon-library 1.0.127 → 1.0.130-NAM-4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +76 -25
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
- package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +1 -2
- package/dist/cjs/types/Utils/documentsPermission.d.ts +3 -0
- package/dist/esm/index.js +76 -25
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
- package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +1 -2
- package/dist/esm/types/Utils/documentsPermission.d.ts +3 -0
- package/dist/index.d.ts +1 -4
- package/package.json +1 -1
@@ -9,11 +9,10 @@ export interface ProgrammeDocumentsProps {
|
|
9
9
|
getDocumentDetails: any;
|
10
10
|
getProgrammeById: any;
|
11
11
|
ministryLevelPermission?: boolean;
|
12
|
-
linkDocVisible: any;
|
13
|
-
uploadDocUserPermission: any;
|
14
12
|
useConnection: any;
|
15
13
|
useUserContext: any;
|
16
14
|
translator: any;
|
17
15
|
methodologyDocumentUpdated: any;
|
16
|
+
programmeStatus?: any;
|
18
17
|
}
|
19
18
|
export declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { DocType, DocumentStatus } from "../Definitions";
|
2
|
+
export declare const linkDocVisible: (docStatus: DocumentStatus) => boolean;
|
3
|
+
export declare const uploadDocUserPermission: (userInfoState: any, docType: DocType, programmeOwnerId: any[], ministryLevelPermission?: boolean, programmeStatus?: any) => boolean;
|
package/dist/index.d.ts
CHANGED
@@ -949,8 +949,6 @@ interface NdcActionBodyProps {
|
|
949
949
|
useConnection: any;
|
950
950
|
translator: any;
|
951
951
|
useUserContext: any;
|
952
|
-
linkDocVisible: any;
|
953
|
-
uploadDocUserPermission: any;
|
954
952
|
}
|
955
953
|
declare const NdcActionBody: FC<NdcActionBodyProps>;
|
956
954
|
|
@@ -969,12 +967,11 @@ interface ProgrammeDocumentsProps {
|
|
969
967
|
getDocumentDetails: any;
|
970
968
|
getProgrammeById: any;
|
971
969
|
ministryLevelPermission?: boolean;
|
972
|
-
linkDocVisible: any;
|
973
|
-
uploadDocUserPermission: any;
|
974
970
|
useConnection: any;
|
975
971
|
useUserContext: any;
|
976
972
|
translator: any;
|
977
973
|
methodologyDocumentUpdated: any;
|
974
|
+
programmeStatus?: any;
|
978
975
|
}
|
979
976
|
declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
|
980
977
|
|