@undp/carbon-library 1.0.41-CARBON-329.0 → 1.0.41-CARBON-329.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +83 -26
- 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 +83 -26
- 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
@@ -951,8 +951,6 @@ interface NdcActionBodyProps {
|
|
951
951
|
useConnection: any;
|
952
952
|
translator: any;
|
953
953
|
useUserContext: any;
|
954
|
-
linkDocVisible: any;
|
955
|
-
uploadDocUserPermission: any;
|
956
954
|
}
|
957
955
|
declare const NdcActionBody: FC<NdcActionBodyProps>;
|
958
956
|
|
@@ -971,12 +969,11 @@ interface ProgrammeDocumentsProps {
|
|
971
969
|
getDocumentDetails: any;
|
972
970
|
getProgrammeById: any;
|
973
971
|
ministryLevelPermission?: boolean;
|
974
|
-
linkDocVisible: any;
|
975
|
-
uploadDocUserPermission: any;
|
976
972
|
useConnection: any;
|
977
973
|
useUserContext: any;
|
978
974
|
translator: any;
|
979
975
|
methodologyDocumentUpdated: any;
|
976
|
+
programmeStatus?: any;
|
980
977
|
}
|
981
978
|
declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
|
982
979
|
|
package/package.json
CHANGED