@undp/carbon-library 1.0.263-CARBON-390.3 → 1.0.263-carbon-lib-test.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/dist/cjs/index.js +359 -82
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +0 -1
  4. package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +0 -1
  5. package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +0 -1
  6. package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
  7. package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +0 -2
  8. package/dist/cjs/types/Context/ConnectionContext/connectionContext.d.ts +8 -0
  9. package/dist/cjs/types/Context/SettingsContext/settingsContext.d.ts +10 -0
  10. package/dist/cjs/types/Context/UserInformationContext/userInformationContext.d.ts +6 -0
  11. package/dist/cjs/types/Context/index.d.ts +3 -0
  12. package/dist/cjs/types/Definitions/Definitions/connectionContext.definitions.d.ts +1 -0
  13. package/dist/cjs/types/Definitions/Enums/enablementTypes.enum.d.ts +1 -2
  14. package/dist/cjs/types/Storybook/AddNewCompanyComponent.stories.d.ts +12 -0
  15. package/dist/cjs/types/Storybook/AddNewUserComponent.stories.d.ts +12 -0
  16. package/dist/cjs/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +2 -0
  17. package/dist/cjs/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +2 -0
  18. package/dist/cjs/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +2 -0
  19. package/dist/cjs/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +2 -0
  20. package/dist/cjs/types/Storybook/ProgrammeCreationComponent.stories.d.ts +12 -0
  21. package/dist/cjs/types/index.d.ts +1 -0
  22. package/dist/esm/index.js +353 -84
  23. package/dist/esm/index.js.map +1 -1
  24. package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +0 -1
  25. package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +0 -1
  26. package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +0 -1
  27. package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
  28. package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +0 -2
  29. package/dist/esm/types/Context/ConnectionContext/connectionContext.d.ts +8 -0
  30. package/dist/esm/types/Context/SettingsContext/settingsContext.d.ts +10 -0
  31. package/dist/esm/types/Context/UserInformationContext/userInformationContext.d.ts +6 -0
  32. package/dist/esm/types/Context/index.d.ts +3 -0
  33. package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +1 -0
  34. package/dist/esm/types/Definitions/Enums/enablementTypes.enum.d.ts +1 -2
  35. package/dist/esm/types/Storybook/AddNewCompanyComponent.stories.d.ts +12 -0
  36. package/dist/esm/types/Storybook/AddNewUserComponent.stories.d.ts +12 -0
  37. package/dist/esm/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +2 -0
  38. package/dist/esm/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +2 -0
  39. package/dist/esm/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +2 -0
  40. package/dist/esm/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +2 -0
  41. package/dist/esm/types/Storybook/ProgrammeCreationComponent.stories.d.ts +12 -0
  42. package/dist/esm/types/index.d.ts +1 -0
  43. package/dist/index.d.ts +21 -8
  44. package/dist/locales/i18n/company/en.json +1 -1
  45. package/dist/locales/i18n/creditTransfer/en.json +2 -2
  46. package/dist/locales/i18n/ndc/en.json +1 -1
  47. package/dist/locales/i18n/ndcAction/en.json +1 -1
  48. package/dist/locales/i18n/programme/en.json +2 -2
  49. package/dist/locales/i18n/view/en.json +5 -9
  50. package/package.json +29 -2
package/dist/cjs/index.js CHANGED
@@ -5,6 +5,7 @@ var antd = require('antd');
5
5
  var React = require('react');
6
6
  var luxon = require('luxon');
7
7
  var buffer = require('buffer');
8
+ var axios = require('axios');
8
9
  var PhoneInput = require('react-phone-number-input');
9
10
  var validator = require('validator');
10
11
  var classTransformer = require('class-transformer');
@@ -509,9 +510,311 @@ var OrganisationStatus = function (props) {
509
510
  return orgState;
510
511
  };
511
512
 
513
+ function e$1(e){this.message=e;}e$1.prototype=new Error,e$1.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new e$1("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,c="";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function t$1(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw "Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(t)}catch(e){return r(t)}}function n$1(e){this.message=e;}function o(e,r){if("string"!=typeof e)throw new n$1("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t$1(e.split(".")[o]))}catch(e){throw new n$1("Invalid token specified: "+e.message)}}n$1.prototype=new Error,n$1.prototype.name="InvalidTokenError";
514
+
515
+ var ConnectionContext = React.createContext({});
516
+ var ConnectionContextProvider = function (props) {
517
+ var _a = React.useState(), token = _a[0], setToken = _a[1];
518
+ var serverURL = props.serverURL, t = props.t, children = props.children;
519
+ React.useEffect(function () {
520
+ var timer = setInterval(function () { return __awaiter(void 0, void 0, void 0, function () {
521
+ var newToken;
522
+ return __generator(this, function (_a) {
523
+ switch (_a.label) {
524
+ case 0: return [4 /*yield*/, localStorage.getItem('token')];
525
+ case 1:
526
+ newToken = _a.sent();
527
+ if (token !== newToken) {
528
+ setToken(newToken);
529
+ }
530
+ return [2 /*return*/];
531
+ }
532
+ });
533
+ }); }, 3000);
534
+ if (token) {
535
+ clearTimeout(timer);
536
+ }
537
+ return function () {
538
+ clearTimeout(timer);
539
+ };
540
+ }, [token]);
541
+ var send = React.useCallback(function (method, path, data, config, extraUrl) {
542
+ return new Promise(function (resolve, reject) {
543
+ var url = "".concat(extraUrl ? extraUrl : serverURL, "/").concat(path);
544
+ var headers;
545
+ if (token) {
546
+ headers = { authorization: "Bearer ".concat(token.toString()) };
547
+ }
548
+ else {
549
+ localStorage.getItem('token');
550
+ headers = {
551
+ authorization: "Bearer ".concat(localStorage.getItem('token')),
552
+ };
553
+ }
554
+ axios(__assign({ method: method, url: url, data: data, headers: headers }, config))
555
+ .then(function (response) {
556
+ var _a, _b, _c;
557
+ if (response.status) {
558
+ if (response.status === 200 || response.status === 201) {
559
+ resolve({
560
+ status: response.status,
561
+ data: (_a = response.data.data) !== null && _a !== void 0 ? _a : response.data,
562
+ response: response,
563
+ statusText: 'SUCCESS',
564
+ message: response.data.message,
565
+ });
566
+ }
567
+ else if (response.status === 422) {
568
+ reject({
569
+ status: response.status,
570
+ data: (_b = response.data) === null || _b === void 0 ? void 0 : _b.data,
571
+ statusText: 'ERROR',
572
+ response: response,
573
+ message: response.data.message,
574
+ errors: (_c = response.data) === null || _c === void 0 ? void 0 : _c.errors,
575
+ });
576
+ }
577
+ }
578
+ else {
579
+ reject({
580
+ status: 500,
581
+ statusText: 'UNKNOWN',
582
+ message: t('common:systemError'),
583
+ });
584
+ }
585
+ })
586
+ .catch(function (e) {
587
+ var _a;
588
+ if (e.response) {
589
+ if (e.response.status) {
590
+ if (e.response.data.message === 'jwt expired') {
591
+ localStorage.removeItem('token');
592
+ window.location.reload();
593
+ }
594
+ reject({
595
+ status: e.response.status,
596
+ statusText: 'ERROR',
597
+ errors: (_a = e.response.data) === null || _a === void 0 ? void 0 : _a.errors,
598
+ message: e.response.data.message,
599
+ });
600
+ }
601
+ else {
602
+ reject({
603
+ statusText: 'ERROR',
604
+ message: t('common:systemError'),
605
+ });
606
+ }
607
+ }
608
+ else {
609
+ reject({
610
+ statusText: 'ERROR',
611
+ message: t('common:networkError'),
612
+ });
613
+ }
614
+ });
615
+ });
616
+ }, [token, serverURL]);
617
+ var post = React.useCallback(function (path, data, config, extraUrl) {
618
+ return send('post', path, data, config, extraUrl);
619
+ }, [send]);
620
+ var put = React.useCallback(function (path, data, config) {
621
+ return send('put', path, data, config);
622
+ }, [send]);
623
+ var get = React.useCallback(function (path, config) {
624
+ return send('get', path, undefined, config);
625
+ }, [send]);
626
+ var patch = React.useCallback(function (path, data, config) {
627
+ return send('patch', path, data, config);
628
+ }, [send]);
629
+ var del = React.useCallback(function (path, config) {
630
+ return send('delete', path, config);
631
+ }, [send]);
632
+ var updateToken = React.useCallback(function (newToken) { return __awaiter(void 0, void 0, void 0, function () {
633
+ return __generator(this, function (_a) {
634
+ if (newToken) {
635
+ localStorage.setItem('token', newToken);
636
+ setToken(newToken);
637
+ }
638
+ else {
639
+ localStorage.setItem('token', '');
640
+ setToken(undefined);
641
+ }
642
+ return [2 /*return*/];
643
+ });
644
+ }); }, []);
645
+ var removeToken = function (tkn) {
646
+ if (tkn) {
647
+ var exp = o(tkn).exp;
648
+ if (Date.now() > exp * 1000) {
649
+ localStorage.setItem('token', '');
650
+ localStorage.removeItem('userRole');
651
+ localStorage.removeItem('userId');
652
+ localStorage.removeItem('companyId');
653
+ localStorage.removeItem('companyRole');
654
+ }
655
+ else {
656
+ var diff = exp * 1000 - Date.now();
657
+ setTimeout(function () {
658
+ setToken(undefined);
659
+ localStorage.setItem('token', '');
660
+ localStorage.removeItem('userRole');
661
+ localStorage.removeItem('userId');
662
+ localStorage.removeItem('companyId');
663
+ localStorage.removeItem('companyRole');
664
+ }, diff);
665
+ console.log(diff, 'Remaining Token expire time');
666
+ }
667
+ }
668
+ };
669
+ React.useEffect(function () {
670
+ removeToken(token);
671
+ }, [token]);
672
+ return (React.createElement(ConnectionContext.Provider, { value: {
673
+ connection: { post: post, put: put, get: get, patch: patch, delete: del, updateToken: updateToken, token: token, removeToken: removeToken },
674
+ } }, children));
675
+ };
676
+ var useConnection = function () {
677
+ var context = React.useContext(ConnectionContext);
678
+ return context.connection;
679
+ };
680
+
681
+ var UserContext = React.createContext({
682
+ setUserInfo: function () { },
683
+ removeUserInfo: function () { },
684
+ IsAuthenticated: function (tkn) { return false; },
685
+ isTokenExpired: false,
686
+ setIsTokenExpired: function (val) { },
687
+ });
688
+ var UserInformationContextProvider = function (_a) {
689
+ var children = _a.children;
690
+ var token = useConnection().token;
691
+ var _b = React.useState(false), isTokenExpired = _b[0], setIsTokenExpired = _b[1];
692
+ var initialUserProps = {
693
+ id: localStorage.getItem('userId') ? localStorage.getItem('userId') : '',
694
+ userRole: localStorage.getItem('userRole') ? localStorage.getItem('userRole') : '',
695
+ companyRole: localStorage.getItem('companyRole')
696
+ ? localStorage.getItem('companyRole')
697
+ : '',
698
+ companyId: localStorage.getItem('companyId')
699
+ ? parseInt(localStorage.getItem('companyId'))
700
+ : -1,
701
+ companyLogo: localStorage.getItem('companyLogo')
702
+ ? localStorage.getItem('companyLogo')
703
+ : '',
704
+ companyName: localStorage.getItem('companyName')
705
+ ? localStorage.getItem('companyName')
706
+ : '',
707
+ companyState: localStorage.getItem('companyState')
708
+ ? parseInt(localStorage.getItem('companyState'))
709
+ : 0,
710
+ };
711
+ var _c = React.useState(initialUserProps), userInfoState = _c[0], setUserInfoState = _c[1];
712
+ var setUserInfo = function (value) {
713
+ var state = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyState) === 1 ? userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyState : 0;
714
+ var id = value.id, userRole = value.userRole, companyId = value.companyId, companyRole = value.companyRole, companyLogo = value.companyLogo, companyName = value.companyName, _a = value.companyState, companyState = _a === void 0 ? state : _a;
715
+ if (id) {
716
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { id: id })); });
717
+ localStorage.setItem('userId', id);
718
+ }
719
+ if (userRole) {
720
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { userRole: userRole })); });
721
+ localStorage.setItem('userRole', userRole);
722
+ }
723
+ if (companyId) {
724
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyId: companyId })); });
725
+ localStorage.setItem('companyId', companyId + '');
726
+ }
727
+ if (companyLogo) {
728
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyLogo: companyLogo })); });
729
+ localStorage.setItem('companyLogo', companyLogo);
730
+ }
731
+ else {
732
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyLogo: '' })); });
733
+ localStorage.setItem('companyLogo', '');
734
+ }
735
+ if (companyName) {
736
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyName: companyName })); });
737
+ localStorage.setItem('companyName', companyName);
738
+ }
739
+ if (userRole) {
740
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyRole: companyRole })); });
741
+ localStorage.setItem('companyRole', companyRole);
742
+ }
743
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyState: companyState })); });
744
+ localStorage.setItem('companyState', companyState + '');
745
+ };
746
+ var IsAuthenticated = React.useCallback(function (tokenNew) {
747
+ var tokenVal;
748
+ if (tokenNew) {
749
+ tokenVal = tokenNew;
750
+ }
751
+ else if (token) {
752
+ tokenVal = token;
753
+ }
754
+ else {
755
+ tokenVal = localStorage.getItem('token');
756
+ if (tokenVal === '') {
757
+ if (history.length !== 1) {
758
+ setIsTokenExpired(true);
759
+ }
760
+ }
761
+ }
762
+ try {
763
+ if (tokenVal) {
764
+ var exp = o(tokenVal).exp;
765
+ return Date.now() < exp * 1000;
766
+ }
767
+ return false;
768
+ }
769
+ catch (err) {
770
+ return false;
771
+ }
772
+ }, [token]);
773
+ var removeUserInfo = function () {
774
+ localStorage.removeItem('userId');
775
+ localStorage.removeItem('userRole');
776
+ localStorage.removeItem('companyId');
777
+ localStorage.removeItem('companyRole');
778
+ localStorage.removeItem('companyName');
779
+ localStorage.removeItem('companyState');
780
+ localStorage.removeItem('companyLogo');
781
+ setUserInfoState(initialUserProps);
782
+ };
783
+ return (React.createElement(UserContext.Provider, { value: {
784
+ userInfoState: userInfoState,
785
+ setUserInfo: setUserInfo,
786
+ removeUserInfo: removeUserInfo,
787
+ IsAuthenticated: IsAuthenticated,
788
+ isTokenExpired: isTokenExpired,
789
+ setIsTokenExpired: setIsTokenExpired,
790
+ } }, children));
791
+ };
792
+ var useUserContext = function () {
793
+ return React.useContext(UserContext);
794
+ };
795
+
796
+ var SettingsContext = React.createContext({
797
+ isTransferFrozen: false,
798
+ setTransferFrozen: function (value) { },
799
+ });
800
+ var SettingsContextProvider = function (_a) {
801
+ var children = _a.children;
802
+ var _b = React.useState(false), isTransferFrozen = _b[0], setIsTransferFrozen = _b[1];
803
+ var setTransferFrozen = function (value) {
804
+ setIsTransferFrozen(value);
805
+ };
806
+ return (React.createElement(SettingsContext.Provider, { value: {
807
+ isTransferFrozen: isTransferFrozen,
808
+ setTransferFrozen: setTransferFrozen,
809
+ } }, children));
810
+ };
811
+ var useSettingsContext = function () {
812
+ return React.useContext(SettingsContext);
813
+ };
814
+
512
815
  var Search$2 = antd.Input.Search;
513
816
  var CompanyManagementComponent = function (props) {
514
- var t = props.t, useAbilityContext = props.useAbilityContext, post = props.post, visibleColumns = props.visibleColumns, onNavigateToCompanyProfile = props.onNavigateToCompanyProfile, onClickAddCompany = props.onClickAddCompany;
817
+ var t = props.t, useAbilityContext = props.useAbilityContext, visibleColumns = props.visibleColumns, onNavigateToCompanyProfile = props.onNavigateToCompanyProfile, onClickAddCompany = props.onClickAddCompany;
515
818
  var _a = React.useState(), totalCompany = _a[0], setTotalCompany = _a[1];
516
819
  var _b = React.useState(false), loading = _b[0], setLoading = _b[1];
517
820
  var _c = React.useState([]), tableData = _c[0], setTableData = _c[1];
@@ -525,6 +828,7 @@ var CompanyManagementComponent = function (props) {
525
828
  var _k = React.useState(""), sortOrder = _k[0], setSortOrder = _k[1];
526
829
  var _l = React.useState(""), sortField = _l[0], setSortField = _l[1];
527
830
  var ability = useAbilityContext();
831
+ var post = useConnection().post;
528
832
  document.addEventListener("mousedown", function (event) {
529
833
  var organisationFilterArea1 = document.querySelector(".filter-bar");
530
834
  var organisationFilterArea2 = document.querySelector(".filter-dropdown");
@@ -857,7 +1161,7 @@ var CompanyManagementComponent = function (props) {
857
1161
  var css_248z$s = ".company-details-form-container {\n width: 100%; }\n .company-details-form-container .company-details-form .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .company-details-form-container .company-details-form .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .company-details-form-container .company-details-form .row .website .ant-input {\n margin-left: 0.3rem; }\n .company-details-form-container .company-details-form .row .website .ant-input-group-addon {\n border: 1px solid #d9d9d9; }\n .company-details-form-container .company-details-form .row .logo-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: start;\n width: 100%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload {\n width: 20%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 75%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .company-details-form-container .company-details-form .row .details-part-one .space-container {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-one .space-container .ant-space-item {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #519e4f !important;\n border-color: #519e4f !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #519e4f; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffa070 !important;\n border-color: #ffa070 !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #ffa070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #9155fd !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #9155fd; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container {\n width: 45%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #16b1ff !important;\n border-color: #16b1ff !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #16b1ff; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container {\n width: 25%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #707070 !important;\n border-color: #707070 !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #707070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .anticon {\n margin-right: 0.5rem; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier .ant-radio-button-checked {\n background: rgba(128, 255, 0, 0.12);\n color: #519e4f; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev .ant-radio-button-checked {\n background: rgba(254, 241, 173, 0.5);\n color: #ffa070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov .ant-radio-button-checked {\n background: rgba(185, 226, 244, 0.56);\n color: #16b1ff; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister .ant-radio-button-checked {\n background: rgba(198, 144, 251, 0.12);\n color: #9155fd; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer .ant-radio-button-checked {\n background: rgba(176, 190, 197, 0.23);\n color: #707070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .role-icons {\n margin-right: 5px; }\n .company-details-form-container .company-details-form .row .details-part-two .space-container {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .space-container .ant-space-item {\n width: 100%; }\n\n.step-title-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .step-title-container .step-count {\n font-size: 2.2rem;\n font-weight: 800;\n margin-right: 0.4rem;\n color: rgba(58, 53, 65, 0.8); }\n .step-title-container .title {\n font-size: 1rem;\n font-weight: 600;\n color: #3a3541; }\n\n.add-company-main-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 50px; }\n .add-company-main-container .title-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px; }\n .add-company-main-container .title-container .main {\n font-size: 1.25rem;\n font-weight: 500;\n color: #16b1ff; }\n .add-company-main-container .title-container .sub {\n font-size: 0.8rem;\n color: #555657; }\n .add-company-main-container .adding-section {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n margin: 1rem 0 1rem 0;\n border-radius: 10px;\n padding: 2.5rem 1.5rem 2.5rem 1.5rem; }\n .add-company-main-container .adding-section .form-section {\n display: flex;\n margin-bottom: 2rem; }\n .add-company-main-container .adding-section .form-section .form-one {\n width: 100%; }\n .add-company-main-container .adding-section .form-section .steps {\n width: 15%; }\n .add-company-main-container .adding-section .form-section .steps-content {\n width: 85%; }\n .add-company-main-container .adding-section .steps-action {\n display: flex;\n flex-direction: row-reverse; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n height: auto;\n max-height: 200px; }\n\n.hide {\n display: none !important; }\n";
858
1162
  styleInject(css_248z$s);
859
1163
 
860
- var css_248z$r = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n\n.ant-menu {\n background-color: #f4f5fa; }\n\n.ant-layout-header {\n background-color: #f4f5fa; }\n\n.ant-layout {\n background-color: #f4f5fa; }\n\n.ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n\n.ant-menu-item {\n background-color: #f4f5fa; }\n\n.ant-menu-sub {\n background-color: #f4f5fa; }\n\n.ant-table-content {\n font-family: \"Inter\"; }\n\n.ant-input {\n border-radius: 5px !important; }\n\n.ant-btn {\n border-radius: 5px !important; }\n\n.ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n\n.ant-input-group .ant-input {\n width: 99% !important; }\n\n.ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n\n.ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n\n.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n\n.ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n\n.ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n\n.ant-table-thead\n> tr\n> th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n background-color: transparent !important; }\n\n.ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n\n.ant-form-item-label\n> label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n margin-left: 0.2rem !important;\n color: rgba(255, 77, 79, 0.8) !important; }\n\n.ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n\n.space-container {\n width: 100%; }\n .space-container .ant-space-item {\n width: 100%; }\n\n.PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n\n.PhoneInput .PhoneInputInput {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border: 1px solid #d9d9d9 !important;\n outline: none; }\n\n.filter-title {\n color: rgba(58, 53, 65, 0.8);\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.875rem; }\n\n.ant-radio-wrapper {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 22px;\n color: rgba(58, 53, 65, 0.8); }\n\n.ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n\n.PhoneInput .PhoneInputInput:focus-visible,\n.PhoneInput .PhoneInputInput:hover {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border-right: 1px solid #40a9ff !important;\n outline: 1px solid #40a9ff; }\n\n.layout-content-container {\n padding-bottom: 100px; }\n .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n .layout-content-container .ant-btn {\n height: 32px;\n font-weight: 500;\n font-size: 0.8rem;\n border-radius: 0.3rem;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);\n min-width: 80px;\n box-shadow: none; }\n .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n\n.content-container {\n padding: 0px 20px; }\n .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n\n.content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n .content-card .action-bar button {\n width: fit-content; }\n .content-card .filter-section {\n padding: 1.4rem 1.3rem 1.6rem 1.3rem;\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: end; }\n .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n .content-card .filter-section .ant-input-search\n> .ant-input-group\n> .ant-input-group-addon:last-child\n.ant-input-search-button {\n padding-top: 0;\n padding-bottom: 0;\n border-radius: 0 0.313rem 0.313rem 0 !important; }\n\n.layout-content-container .ant-btn {\n min-width: 50px !important; }\n\n.table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n\n.action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n .action-menu .anticon-edit {\n color: #16b1ff; }\n .action-menu .anticon-delete {\n color: #f25a29; }\n\n.ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n\n.ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n\n.ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n\n.ant-tag {\n border-radius: 20px; }\n\n.clickable {\n cursor: pointer; }\n\n.text-center {\n text-align: center; }\n\n.float-left {\n float: left; }\n\n.float-right {\n float: right; }\n\n.apexcharts-canvas {\n font-family: \"Inter\" !important; }\n\n.apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n\n.ant-tag {\n padding: 1px 10px; }\n\n.flex-display {\n display: flex; }\n\n.ant-modal-footer {\n border-top: none;\n text-align: center; }\n .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n\n.ant-modal-header {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-content {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-header {\n border: none; }\n\n.ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n .ant-modal-body .form-label {\n text-align: left; }\n .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n\n.popup-header {\n text-align: center;\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n font-family: \"Inter\";\n font-size: 0.9rem;\n margin: 25px 20px -20px 20px; }\n .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n .popup-header img {\n height: 100px; }\n\n.popup-success .icon {\n color: #5dc380; }\n\n.popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-primary .icon {\n color: #16b1ff; }\n\n.popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n\n.popup-danger .ant-btn-primary {\n background: rgba(255, 77, 79, 0.8);\n border-radius: rgba(255, 77, 79, 0.8);\n border: none; }\n\n.popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n\n.ant-modal-footer .ant-btn-default {\n color: rgba(140, 140, 140, 0.7) !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n\n.ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n\n.filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n\n.pull-right {\n float: right; }\n\n.disabled {\n opacity: 0.5; }\n\n.mg-left-3 {\n margin-left: 3rem; }\n\n.mg-left-2 {\n margin-left: 2rem !important; }\n\n.mg-left-1 {\n margin-left: 1rem; }\n\n.mg-top-1 {\n margin-top: 1rem; }\n\n.mg-top-2 {\n margin-top: 2rem; }\n\n.mg-bottom-1 {\n margin-bottom: 1rem !important; }\n\n.transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n .transfer-form .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 20px;\n align-items: center;\n justify-content: start;\n margin-left: 5px; }\n .transfer-form .ant-row {\n align-items: unset; }\n .transfer-form .sub-text {\n margin-bottom: 35px;\n font-size: 0.9rem;\n font-weight: 500; }\n .transfer-form .label {\n text-align: left;\n font-size: 0.9rem;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .seperator {\n font-size: 1.2rem;\n color: #d9d9d9; }\n .transfer-form .footer {\n margin-bottom: 0px;\n margin-top: 15px; }\n .transfer-form label {\n font-size: 0.8rem; }\n .transfer-form .ant-radio-wrapper {\n font-size: 0.9rem; }\n .transfer-form input {\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form button {\n text-transform: uppercase;\n font-weight: 500; }\n\n.color-error {\n color: rgba(255, 77, 79, 0.8); }\n\n.color-primary {\n color: #16b1ff; }\n\n.ant-input-number-input {\n text-align: right; }\n\n.text-left {\n text-align: left; }\n\n.ant-form-item .ant-radio-group {\n text-align: left; }\n\n.loading-center {\n margin: auto;\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%; }\n\n.ant-tag-purple {\n color: #976ed7; }\n\n.ant-tag-orange {\n color: #ff8f56; }\n\n.ant-tag-default {\n color: rgba(58, 53, 65, 0.5); }\n\n.ant-popover-inner {\n border-radius: 4px; }\n\n.ant-input-number {\n border-radius: 5px; }\n\n.ret-icon {\n background-color: rgba(254, 241, 173, 0.5);\n color: #ff8f56; }\n\n.flag-ret-icon {\n display: flex !important;\n background-color: #f4f5fa;\n font-size: 1.1rem !important;\n padding: 7px; }\n\n.b-icon {\n vertical-align: middle; }\n\n.ant-message-notice-content {\n padding: 0px;\n border-radius: 5px; }\n .ant-message-notice-content .ant-message-custom-content {\n font-size: 0.8rem;\n border-radius: 5px;\n padding: 17px 24px; }\n .ant-message-notice-content .ant-message-error {\n color: rgba(255, 77, 79, 0.8);\n border: 1px solid rgba(255, 77, 79, 0.8); }\n .ant-message-notice-content .ant-message-success {\n color: #5bce00;\n border: 1px solid #5bce00; }\n\n.ant-select-selection-item {\n color: rgba(58, 53, 65, 0.6); }\n\n.sub-text {\n font-size: 0.9rem;\n font-weight: 500; }\n\n.search-filter {\n margin-right: 15px; }\n\n.mg-bottom-0 {\n margin-bottom: 0px; }\n\n.padding-bottom-0 {\n padding-bottom: 0px; }\n\n.ellipsis-overflow {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical; }\n\n.nextline-overflow {\n overflow-wrap: break-word; }\n\n.ant-message {\n width: 50%;\n right: 0px;\n left: auto;\n min-width: 400px; }\n";
1164
+ var css_248z$r = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n body .ant-menu {\n background-color: #f4f5fa; }\n body .ant-layout-header {\n background-color: #f4f5fa; }\n body .ant-layout {\n background-color: #f4f5fa; }\n body .ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n body .ant-menu-item {\n background-color: #f4f5fa; }\n body .ant-menu-sub {\n background-color: #f4f5fa; }\n body .ant-table-content {\n font-family: \"Inter\"; }\n body .ant-input {\n border-radius: 5px !important; }\n body .ant-btn {\n border-radius: 5px !important; }\n body .ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n body .ant-input-group .ant-input {\n width: 99% !important; }\n body .ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n body .ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n body .ant-upload-list-picture .ant-upload-list-item-error,\n body .ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n body .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n body .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n body .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n body .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n body .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n body .ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n body .ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n body .ant-table-thead\n> tr\n> th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n background-color: transparent !important; }\n body .ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n body .ant-form-item-label\n> label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n margin-left: 0.2rem !important;\n color: rgba(255, 77, 79, 0.8) !important; }\n body .ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n body .space-container {\n width: 100%; }\n body .space-container .ant-space-item {\n width: 100%; }\n body .PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n body .PhoneInput .PhoneInputInput {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border: 1px solid #d9d9d9 !important;\n outline: none; }\n body .filter-title {\n color: rgba(58, 53, 65, 0.8);\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.875rem; }\n body .ant-radio-wrapper {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 22px;\n color: rgba(58, 53, 65, 0.8); }\n body .ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n body .PhoneInput .PhoneInputInput:focus-visible,\n body .PhoneInput .PhoneInputInput:hover {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border-right: 1px solid #40a9ff !important;\n outline: 1px solid #40a9ff; }\n body .layout-content-container {\n padding-bottom: 100px; }\n body .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n body .layout-content-container .ant-btn {\n height: 32px;\n font-weight: 500;\n font-size: 0.8rem;\n border-radius: 0.3rem;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);\n min-width: 80px;\n box-shadow: none; }\n body .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n body .content-container {\n padding: 0px 20px; }\n body .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n body .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n body .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n body .content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n body .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n body .content-card .action-bar button {\n width: fit-content; }\n body .content-card .filter-section {\n padding: 1.4rem 1.3rem 1.6rem 1.3rem;\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: end; }\n body .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n body .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n body .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n body .content-card .filter-section .ant-input-search\n> .ant-input-group\n> .ant-input-group-addon:last-child\n.ant-input-search-button {\n padding-top: 0;\n padding-bottom: 0;\n border-radius: 0 0.313rem 0.313rem 0 !important; }\n body .layout-content-container .ant-btn {\n min-width: 50px !important; }\n body .table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n body .action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n body .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n body .action-menu .anticon-edit {\n color: #16b1ff; }\n body .action-menu .anticon-delete {\n color: #f25a29; }\n body .ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n body .ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n body .ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n body .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n body .ant-tag {\n border-radius: 20px; }\n body .clickable {\n cursor: pointer; }\n body .text-center {\n text-align: center; }\n body .float-left {\n float: left; }\n body .float-right {\n float: right; }\n body .apexcharts-canvas {\n font-family: \"Inter\" !important; }\n body .apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n body .ant-tag {\n padding: 1px 10px; }\n body .flex-display {\n display: flex; }\n body .ant-modal-footer {\n border-top: none;\n text-align: center; }\n body .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n body .ant-modal-header {\n border-radius: 15px;\n border: none; }\n body .ant-modal-content {\n border-radius: 15px;\n border: none; }\n body .ant-modal-header {\n border: none; }\n body .ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n body .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n body .ant-modal-body .form-label {\n text-align: left; }\n body .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n body .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n body .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n body .popup-header {\n text-align: center;\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n font-family: \"Inter\";\n font-size: 0.9rem;\n margin: 25px 20px -20px 20px; }\n body .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n body .popup-header img {\n height: 100px; }\n body .popup-success .icon {\n color: #5dc380; }\n body .popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n body .popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-primary .icon {\n color: #16b1ff; }\n body .popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n body .popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n body .popup-danger .ant-btn-primary {\n background: rgba(255, 77, 79, 0.8);\n border-radius: rgba(255, 77, 79, 0.8);\n border: none; }\n body .popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n body .ant-modal-footer .ant-btn-default {\n color: rgba(140, 140, 140, 0.7) !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n body .ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n body .filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n body .pull-right {\n float: right; }\n body .disabled {\n opacity: 0.5; }\n body .mg-left-3 {\n margin-left: 3rem; }\n body .mg-left-2 {\n margin-left: 2rem !important; }\n body .mg-left-1 {\n margin-left: 1rem; }\n body .mg-top-1 {\n margin-top: 1rem; }\n body .mg-top-2 {\n margin-top: 2rem; }\n body .mg-bottom-1 {\n margin-bottom: 1rem !important; }\n body .transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n body .transfer-form .ant-row {\n align-items: unset; }\n body .transfer-form .sub-text {\n margin-bottom: 35px;\n font-size: 0.9rem;\n font-weight: 500; }\n body .transfer-form .label {\n text-align: left;\n font-size: 0.9rem;\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form .seperator {\n font-size: 1.2rem;\n color: #d9d9d9; }\n body .transfer-form .footer {\n margin-bottom: 0px;\n margin-top: 15px; }\n body .transfer-form label {\n font-size: 0.8rem; }\n body .transfer-form .ant-radio-wrapper {\n font-size: 0.9rem; }\n body .transfer-form input {\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form button {\n text-transform: uppercase;\n font-weight: 500; }\n body .color-error {\n color: rgba(255, 77, 79, 0.8); }\n body .color-primary {\n color: #16b1ff; }\n body .ant-input-number-input {\n text-align: right; }\n body .text-left {\n text-align: left; }\n body .ant-form-item .ant-radio-group {\n text-align: left; }\n body .loading-center {\n margin: auto;\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%; }\n body .ant-tag-purple {\n color: #976ed7; }\n body .ant-tag-orange {\n color: #ff8f56; }\n body .ant-tag-default {\n color: rgba(58, 53, 65, 0.5); }\n body .ant-popover-inner {\n border-radius: 4px; }\n body .ant-input-number {\n border-radius: 5px; }\n body .ret-icon {\n background-color: rgba(254, 241, 173, 0.5);\n color: #ff8f56; }\n body .flag-ret-icon {\n display: flex !important;\n background-color: #f4f5fa;\n font-size: 1.1rem !important;\n padding: 7px; }\n body .b-icon {\n vertical-align: middle; }\n body .ant-message-notice-content {\n padding: 0px;\n border-radius: 5px; }\n body .ant-message-notice-content .ant-message-custom-content {\n font-size: 0.8rem;\n border-radius: 5px;\n padding: 17px 24px; }\n body .ant-message-notice-content .ant-message-error {\n color: rgba(255, 77, 79, 0.8);\n border: 1px solid rgba(255, 77, 79, 0.8); }\n body .ant-message-notice-content .ant-message-success {\n color: #5bce00;\n border: 1px solid #5bce00; }\n body .ant-select-selection-item {\n color: rgba(58, 53, 65, 0.6); }\n body .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 20px;\n align-items: center;\n justify-content: start;\n margin-left: 5px; }\n body .ant-row {\n align-items: unset; }\n body .sub-text {\n font-size: 0.9rem;\n font-weight: 500; }\n body .search-filter {\n margin-right: 15px; }\n body .mg-bottom-0 {\n margin-bottom: 0px; }\n body .padding-bottom-0 {\n padding-bottom: 0px; }\n body .ellipsis-overflow {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical; }\n body .nextline-overflow {\n overflow-wrap: break-word; }\n body .ant-message {\n width: 50%;\n right: 0px;\n left: auto;\n min-width: 400px; }\n";
861
1165
  styleInject(css_248z$r);
862
1166
 
863
1167
  exports.UserManagementColumns = void 0;
@@ -5754,7 +6058,7 @@ var ProgrammeCertify = /** @class */ (function () {
5754
6058
 
5755
6059
  var AddNewCompanyComponent = function (props) {
5756
6060
  var _a;
5757
- var t = props.t, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, maximumImageSize = props.maximumImageSize, useConnection = props.useConnection, useUserContext = props.useUserContext, useLocation = props.useLocation, regionField = props.regionField, isGuest = props.isGuest, onNavigateToHome = props.onNavigateToHome, systemType = props.systemType;
6061
+ var t = props.t, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, maximumImageSize = props.maximumImageSize, useLocation = props.useLocation, regionField = props.regionField, isGuest = props.isGuest, onNavigateToHome = props.onNavigateToHome, systemType = props.systemType;
5758
6062
  var formOne = antd.Form.useForm()[0];
5759
6063
  var formTwo = antd.Form.useForm()[0];
5760
6064
  var _b = React.useState(), stepOneData = _b[0], setStepOneData = _b[1];
@@ -6543,7 +6847,7 @@ var css_248z$q = ".company-profile {\n padding: 0px 50px; }\n .company-profile
6543
6847
  styleInject(css_248z$q);
6544
6848
 
6545
6849
  var CompanyProfileComponent = function (props) {
6546
- var t = props.t, useAbilityContext = props.useAbilityContext, useLocation = props.useLocation, useConnection = props.useConnection, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, onNavigateToCompanyEdit = props.onNavigateToCompanyEdit, regionField = props.regionField, systemType = props.systemType;
6850
+ var t = props.t, useAbilityContext = props.useAbilityContext, useLocation = props.useLocation, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, onNavigateToCompanyEdit = props.onNavigateToCompanyEdit, regionField = props.regionField, systemType = props.systemType;
6547
6851
  var _a = useConnection(), get = _a.get, put = _a.put, post = _a.post;
6548
6852
  var _b = React.useState(undefined), companyDetails = _b[0], setCompanyDetails = _b[1];
6549
6853
  var _c = React.useState(undefined), userDetails = _c[0], setUserDetails = _c[1];
@@ -6976,7 +7280,7 @@ styleInject(css_248z$p);
6976
7280
 
6977
7281
  var Search$1 = antd.Input.Search;
6978
7282
  var ProgrammeManagementComponent = function (props) {
6979
- var t = props.t, visibleColumns = props.visibleColumns, useUserContext = props.useUserContext, useConnection = props.useConnection, onNavigateToProgrammeView = props.onNavigateToProgrammeView, onClickAddProgramme = props.onClickAddProgramme, enableAddProgramme = props.enableAddProgramme, useAbilityContext = props.useAbilityContext;
7283
+ var t = props.t, visibleColumns = props.visibleColumns, onNavigateToProgrammeView = props.onNavigateToProgrammeView, onClickAddProgramme = props.onClickAddProgramme, enableAddProgramme = props.enableAddProgramme, useAbilityContext = props.useAbilityContext;
6980
7284
  var _a = useConnection(); _a.get; _a.delete; var post = _a.post;
6981
7285
  var _b = React.useState(), totalProgramme = _b[0], setTotalProgramme = _b[1];
6982
7286
  var _c = React.useState(false), loading = _c[0], setLoading = _c[1];
@@ -7361,7 +7665,7 @@ var ProgrammeManagementComponent = function (props) {
7361
7665
  React.createElement("div", { className: "filter-section" },
7362
7666
  React.createElement("div", { className: "search-filter" },
7363
7667
  React.createElement(antd.Checkbox, { className: "label", onChange: function (v) {
7364
- if (userInfoState.companyRole === exports.CompanyRole.MINISTRY) {
7668
+ if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY) {
7365
7669
  if (v.target.checked) {
7366
7670
  setMinistryLevelFilter(true);
7367
7671
  }
@@ -7378,7 +7682,7 @@ var ProgrammeManagementComponent = function (props) {
7378
7682
  }
7379
7683
  : undefined);
7380
7684
  }
7381
- } }, userInfoState.companyRole === exports.CompanyRole.MINISTRY
7685
+ } }, (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY
7382
7686
  ? t("view:ministryLevel")
7383
7687
  : t("view:seeMine"))),
7384
7688
  React.createElement("div", { className: "search-bar" },
@@ -13159,7 +13463,7 @@ var sectoralScopes = {
13159
13463
  };
13160
13464
  var ProgrammeCreationComponent = function (props) {
13161
13465
  var _a, _b, _c;
13162
- var useUserContext = props.useUserContext, useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToProgrammeView = props.onNavigateToProgrammeView, translator = props.translator;
13466
+ var useLocation = props.useLocation, onNavigateToProgrammeView = props.onNavigateToProgrammeView, translator = props.translator;
13163
13467
  var t = translator.t;
13164
13468
  var state = useLocation().state;
13165
13469
  var formOne = antd.Form.useForm()[0];
@@ -14224,7 +14528,7 @@ var ChangePasswordModel = function (props) {
14224
14528
 
14225
14529
  var AddNewUserComponent = function (props) {
14226
14530
  var _a, _b, _c, _d, _e, _f;
14227
- var t = props.t, onNavigateToUserManagement = props.onNavigateToUserManagement, onNavigateLogin = props.onNavigateLogin, useConnection = props.useConnection, useUserContext = props.useUserContext, useLocation = props.useLocation, useAbilityContext = props.useAbilityContext, themeColor = props.themeColor;
14531
+ var t = props.t, onNavigateToUserManagement = props.onNavigateToUserManagement, onNavigateLogin = props.onNavigateLogin, useLocation = props.useLocation, useAbilityContext = props.useAbilityContext, themeColor = props.themeColor;
14228
14532
  var _g = useConnection(), post = _g.post, put = _g.put, del = _g.delete, get = _g.get;
14229
14533
  var formOne = antd.Form.useForm()[0];
14230
14534
  var state = useLocation().state;
@@ -14642,7 +14946,7 @@ var LanguageSelection = function (props) {
14642
14946
  };
14643
14947
 
14644
14948
  var UserProfileComponent = function (props) {
14645
- var t = props.t, i18n = props.i18n, useConnection = props.useConnection, onNavigateUpdateUser = props.onNavigateUpdateUser, onNavigateLogin = props.onNavigateLogin, useUserContext = props.useUserContext;
14949
+ var t = props.t, i18n = props.i18n, onNavigateUpdateUser = props.onNavigateUpdateUser, onNavigateLogin = props.onNavigateLogin;
14646
14950
  var get = useConnection().get;
14647
14951
  var _a = React.useState(undefined), organisationDetails = _a[0], setOrganisationDetails = _a[1];
14648
14952
  var _b = React.useState(undefined), userDetails = _b[0], setUserDetails = _b[1];
@@ -14810,7 +15114,7 @@ styleInject(css_248z$k);
14810
15114
 
14811
15115
  var Search = antd.Input.Search;
14812
15116
  var UserManagementComponent = function (props) {
14813
- var t = props.t, useAbilityContext = props.useAbilityContext, useConnection = props.useConnection, visibleColumns = props.visibleColumns, onNavigateToUpdateUser = props.onNavigateToUpdateUser, onClickAddUser = props.onClickAddUser, userInfoState = props.userInfoState;
15117
+ var t = props.t, useAbilityContext = props.useAbilityContext, visibleColumns = props.visibleColumns, onNavigateToUpdateUser = props.onNavigateToUpdateUser, onClickAddUser = props.onClickAddUser;
14814
15118
  antd.Form.useForm()[0];
14815
15119
  var _a = useConnection(), post = _a.post, del = _a.delete;
14816
15120
  var _b = React.useState(), totalUser = _b[0], setTotalUser = _b[1];
@@ -14832,6 +15136,7 @@ var UserManagementComponent = function (props) {
14832
15136
  var _s = React.useState(""), errorMsg = _s[0], setErrorMsg = _s[1];
14833
15137
  var _t = React.useState(false), openDeleteConfirmationModal = _t[0], setOpenDeleteConfirmationModal = _t[1];
14834
15138
  var ability = useAbilityContext();
15139
+ var userInfoState = useUserContext().userInfoState;
14835
15140
  document.addEventListener("mousedown", function (event) {
14836
15141
  var userFilterArea1 = document.querySelector(".filter-bar");
14837
15142
  var userFilterArea2 = document.querySelector(".filter-dropdown");
@@ -15352,7 +15657,7 @@ var Loading = function () {
15352
15657
  };
15353
15658
 
15354
15659
  var InvestmentCreationComponent = function (props) {
15355
- var t = props.t, useConnection = props.useConnection, userInfoState = props.userInfoState, useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
15660
+ var t = props.t, useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
15356
15661
  var state = useLocation().state;
15357
15662
  var _a = React.useState(), data = _a[0], setData = _a[1];
15358
15663
  var formOne = antd.Form.useForm()[0];
@@ -15367,6 +15672,7 @@ var InvestmentCreationComponent = function (props) {
15367
15672
  var _h = React.useState([]), instrument = _h[0], setInstrument = _h[1];
15368
15673
  var _j = React.useState(), stepOneData = _j[0], setStepOneData = _j[1];
15369
15674
  var _k = React.useState(), govData = _k[0], setGovData = _k[1];
15675
+ var userInfoState = useUserContext().userInfoState;
15370
15676
  var instrumentOptions = Object.keys(exports.Instrument).map(function (k, index) { return ({
15371
15677
  label: addSpaces(Object.values(exports.Instrument)[index]),
15372
15678
  value: Object.values(exports.Instrument)[index],
@@ -15983,7 +16289,7 @@ var InvestmentActionModel = function (props) {
15983
16289
  };
15984
16290
 
15985
16291
  var InvestmentManagementComponent = function (props) {
15986
- var translator = props.translator, useConnection = props.useConnection, onNavigateToProgrammeView = props.onNavigateToProgrammeView, useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, onClickAddOwnership = props.onClickAddOwnership, enableAddOwnership = props.enableAddOwnership;
16292
+ var translator = props.translator, onNavigateToProgrammeView = props.onNavigateToProgrammeView, onClickAddOwnership = props.onClickAddOwnership, enableAddOwnership = props.enableAddOwnership;
15987
16293
  var t = translator.t;
15988
16294
  var statusOptions = Object.keys(exports.InvestmentStatus).map(function (k, index) { return ({
15989
16295
  label: addSpaces(Object.values(exports.InvestmentStatus)[index]),
@@ -16516,7 +16822,7 @@ var css_248z$i = ".steps-actions {\n display: flex;\n flex-direction: row-reve
16516
16822
  styleInject(css_248z$i);
16517
16823
 
16518
16824
  var SupportCreationComponent = function (props) {
16519
- var t = props.t, useConnection = props.useConnection, userInfoState = props.userInfoState, useLocation = props.useLocation; props.onNavigateToProgrammeManagementView; props.onNavigateToProgrammeView;
16825
+ var t = props.t, useLocation = props.useLocation; props.onNavigateToProgrammeManagementView; props.onNavigateToProgrammeView;
16520
16826
  useLocation().state;
16521
16827
  var _a = React.useState(); _a[0]; _a[1];
16522
16828
  var formOne = antd.Form.useForm()[0];
@@ -16529,6 +16835,7 @@ var SupportCreationComponent = function (props) {
16529
16835
  var _f = React.useState([]), organisationsList = _f[0], setOrganisationList = _f[1];
16530
16836
  var _g = React.useState([]), instrument = _g[0], setInstrument = _g[1];
16531
16837
  var _h = React.useState(); _h[0]; var setStepOneData = _h[1];
16838
+ var userInfoState = useUserContext().userInfoState;
16532
16839
  var instrumentOptions = Object.keys(exports.Instrument).map(function (k, index) { return ({
16533
16840
  label: addSpaces(Object.values(exports.Instrument)[index]),
16534
16841
  value: Object.values(exports.Instrument)[index],
@@ -16871,7 +17178,7 @@ var SupportCreationComponent = function (props) {
16871
17178
  };
16872
17179
 
16873
17180
  var SupportManagementComponent = function (props) {
16874
- var translator = props.translator, useConnection = props.useConnection; props.onNavigateToProgrammeView; var useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, enableAddSupport = props.enableAddSupport, onClickAddSupport = props.onClickAddSupport;
17181
+ var translator = props.translator; props.onNavigateToProgrammeView; var enableAddSupport = props.enableAddSupport, onClickAddSupport = props.onClickAddSupport;
16875
17182
  var t = translator.t;
16876
17183
  var statusOptions = Object.keys(exports.InvestmentStatus).map(function (k, index) { return ({
16877
17184
  label: addSpaces(Object.values(exports.InvestmentStatus)[index]),
@@ -17373,7 +17680,7 @@ var css_248z$h = ".ndc-management .ant-checkbox-checked .ant-checkbox-input[valu
17373
17680
  styleInject(css_248z$h);
17374
17681
 
17375
17682
  var NdcActionManagementComponent = function (props) {
17376
- var t = props.t, useConnection = props.useConnection, useUserContext = props.useUserContext, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView;
17683
+ var t = props.t, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView;
17377
17684
  var _a = React.useState(true), checkAll = _a[0], setCheckAll = _a[1];
17378
17685
  var _b = React.useState([]), tableData = _b[0], setTableData = _b[1];
17379
17686
  var _c = React.useState(), totalProgramme = _c[0], setTotalProgramme = _c[1];
@@ -17758,7 +18065,6 @@ var EnablementTypes;
17758
18065
  EnablementTypes["CapacityBuilding"] = "Capacity Building";
17759
18066
  EnablementTypes["TechnologyTransfer"] = "Technology Transfer";
17760
18067
  EnablementTypes["Financial"] = "Financial";
17761
- EnablementTypes["EnhancedTransparency"] = "Enhanced Transparency";
17762
18068
  })(EnablementTypes || (EnablementTypes = {}));
17763
18069
  var enablementTypesAndValues = [
17764
18070
  { type: EnablementTypes.CapacityBuilding.valueOf(), col: 4 },
@@ -17767,7 +18073,6 @@ var enablementTypesAndValues = [
17767
18073
  col: 5,
17768
18074
  },
17769
18075
  { type: EnablementTypes.Financial.valueOf(), col: 4 },
17770
- { type: EnablementTypes.EnhancedTransparency.valueOf(), col: 5 },
17771
18076
  ];
17772
18077
 
17773
18078
  var NdcActionDetails = function (props) {
@@ -18732,7 +19037,7 @@ var GenderParity = function (props) {
18732
19037
  };
18733
19038
 
18734
19039
  var Assessment = function (props) {
18735
- var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, useConnection = props.useConnection, translator = props.translator;
19040
+ var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
18736
19041
  translator.setDefaultNamespace("coBenifits");
18737
19042
  var t = translator.t;
18738
19043
  var form1 = antd.Form.useForm()[0];
@@ -20653,7 +20958,7 @@ var Social = function (props) {
20653
20958
  };
20654
20959
 
20655
20960
  var CoBenifitsComponent = function (props) {
20656
- var onClickedBackBtn = props.onClickedBackBtn, onFormSubmit = props.onFormSubmit, coBenefitsDetails = props.coBenefitsDetails, submitButtonText = props.submitButtonText, viewOnly = props.viewOnly, coBenifitsViewDetails = props.coBenifitsViewDetails, _a = props.loading, loading = _a === void 0 ? false : _a, sdgGoalImages = props.sdgGoalImages, translator = props.translator, useConnection = props.useConnection;
20961
+ var onClickedBackBtn = props.onClickedBackBtn, onFormSubmit = props.onFormSubmit, coBenefitsDetails = props.coBenefitsDetails, submitButtonText = props.submitButtonText, viewOnly = props.viewOnly, coBenifitsViewDetails = props.coBenifitsViewDetails, _a = props.loading, loading = _a === void 0 ? false : _a, sdgGoalImages = props.sdgGoalImages, translator = props.translator;
20657
20962
  var _b = React.useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
20658
20963
  var _c = React.useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
20659
20964
  var _d = React.useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
@@ -20731,7 +21036,7 @@ var CoBenifitsComponent = function (props) {
20731
21036
  label: t("coBenifits:assessment"),
20732
21037
  key: "7",
20733
21038
  children: (React.createElement(Assessment, { onFormSubmit: onAssessmentFormSubmit, assessmentViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.assessmentDetails)) ||
20734
- (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.assessmentDetails)), viewOnly: viewOnly || false, useConnection: useConnection, translator: translator })),
21039
+ (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.assessmentDetails)), viewOnly: viewOnly || false, translator: translator })),
20735
21040
  },
20736
21041
  ];
20737
21042
  var onCoBenefitSubmit = function () {
@@ -20894,7 +21199,7 @@ var CoBenifitsComponent = function (props) {
20894
21199
  };
20895
21200
 
20896
21201
  var AddNdcActionComponent = function (props) {
20897
- var useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView, sdgGoalImages = props.sdgGoalImages, translator = props.translator;
21202
+ var useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView, sdgGoalImages = props.sdgGoalImages, translator = props.translator;
20898
21203
  translator.setDefaultNamespace("ndcAction");
20899
21204
  var t = translator.t;
20900
21205
  var _a = React.useState(1), current = _a[0], setCurrent = _a[1];
@@ -21036,7 +21341,7 @@ var AddNdcActionComponent = function (props) {
21036
21341
  description: (React.createElement("div", { className: current !== 2 ? "hide" : "" },
21037
21342
  React.createElement(CoBenifitsComponent, { onClickedBackBtn: onClickBackCoBenefits, coBenefitsDetails: ndcActionDetails ? ndcActionDetails.coBenefitsProperties : {}, onFormSubmit: onCoBenefitsSubmit, submitButtonText: isProjectReportsVisible()
21038
21343
  ? t("ndcAction:next")
21039
- : t("ndcAction:submit"), loading: loading, sdgGoalImages: sdgGoalImages, useConnection: useConnection, translator: translator }))),
21344
+ : t("ndcAction:submit"), loading: loading, sdgGoalImages: sdgGoalImages, translator: translator }))),
21040
21345
  },
21041
21346
  ];
21042
21347
  if (isProjectReportsVisible()) {
@@ -21173,7 +21478,7 @@ var uploadDocUserPermission = function (userInfoState, docType, programmeOwnerId
21173
21478
  var NdcActionViewComponent = function (props) {
21174
21479
  var _a;
21175
21480
  var _b, _c;
21176
- var useUserContext = props.useUserContext, useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, translator = props.translator, sdgGoalImages = props.sdgGoalImages, Chart = props.Chart;
21481
+ var useLocation = props.useLocation, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, translator = props.translator, sdgGoalImages = props.sdgGoalImages, Chart = props.Chart;
21177
21482
  translator.setDefaultNamespace("ndcAction");
21178
21483
  var t = translator.t;
21179
21484
  var userInfoState = useUserContext().userInfoState;
@@ -21666,7 +21971,7 @@ var NdcActionViewComponent = function (props) {
21666
21971
  React.createElement(antd.Card, { className: "card-container" },
21667
21972
  React.createElement("div", { className: "co-benifits-view" },
21668
21973
  React.createElement("div", { className: "title" }, t("ndcAction:coBenefitsSubTitle")),
21669
- React.createElement(CoBenifitsComponent, { viewOnly: true, coBenifitsViewDetails: (_c = state === null || state === void 0 ? void 0 : state.record) === null || _c === void 0 ? void 0 : _c.coBenefitsProperties, sdgGoalImages: sdgGoalImages, useConnection: useConnection, translator: translator })))))))));
21974
+ React.createElement(CoBenifitsComponent, { viewOnly: true, coBenifitsViewDetails: (_c = state === null || state === void 0 ? void 0 : state.record) === null || _c === void 0 ? void 0 : _c.coBenefitsProperties, sdgGoalImages: sdgGoalImages, translator: translator })))))))));
21670
21975
  };
21671
21976
 
21672
21977
  var css_248z$b = ".credit-transfer-management .certify-list {\n width: 110px;\n display: flex;\n align-items: center;\n flex-wrap: wrap; }\n .credit-transfer-management .certify-list .profile-icon {\n margin-bottom: 4px; }\n\n.credit-transfer-management .table-actions-section {\n margin-bottom: 0px; }\n .credit-transfer-management .table-actions-section input {\n font-family: \"Inter\";\n font-size: 0.8rem; }\n\n.credit-transfer-management .all-check {\n margin-right: 10px; }\n .credit-transfer-management .all-check .ant-checkbox-inner::after {\n background-color: rgba(58, 53, 65, 0.5); }\n .credit-transfer-management .all-check .ant-checkbox-checked .ant-checkbox-inner::after {\n background-color: transparent; }\n .credit-transfer-management .all-check .ant-checkbox-checked .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.5);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Retired'] + .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.4);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='AwaitingAuthorization'] + .ant-checkbox-inner {\n background-color: rgba(237, 77, 71, 0.6);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Rejected'] + .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.4);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Issued'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Transferred'] + .ant-checkbox-inner {\n background-color: rgba(118, 195, 39, 0.6);\n border: none; }\n\n.credit-transfer-modal-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 2rem 0 0 0;\n width: 100%; }\n .credit-transfer-modal-container .icon-credit {\n margin-bottom: 15px; }\n .credit-transfer-modal-container .credit-transfer-details {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-bottom: 10px; }\n .credit-transfer-modal-container .credit-transfer-details .content-credit-transfer {\n font-family: 'Inter' !important;\n font-style: normal;\n font-weight: 600;\n font-size: 0.9rem;\n line-height: 1.3rem;\n padding: 0 1rem 0 1rem;\n text-align: center;\n color: rgba(58, 53, 65, 0.8) !important; }\n .credit-transfer-modal-container .credit-transfer-details .sub-content-credit-transfer {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.8rem;\n line-height: 1.375rem;\n text-align: center;\n color: rgba(58, 53, 65, 0.5); }\n .credit-transfer-modal-container .remarks-credit-transfer {\n flex-direction: row;\n width: 100%;\n padding: 0.5rem 1rem 0 1rem; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .ant-form-item-explain-error {\n display: flex;\n flex-direction: row; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .ant-form {\n width: 100%; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .ant-form .ant-form-item-label > label {\n font-size: 0.8rem; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .modal-credit-transfer-btns {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-top: 1rem; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .modal-credit-transfer-btns .center {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .modal-credit-transfer-btns .width-60 {\n width: 60%; }\n\n.common-table-class .ant-table .ant-table-thead .ant-table-cell {\n font-size: 0.75rem;\n font-weight: 600; }\n";
@@ -21819,7 +22124,7 @@ var TransferActionModel = function (props) {
21819
22124
  };
21820
22125
 
21821
22126
  var CreditTransferComponent = function (props) {
21822
- var useConnection = props.useConnection, useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, translator = props.translator, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
22127
+ var translator = props.translator, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
21823
22128
  var userInfoState = useUserContext().userInfoState;
21824
22129
  var t = translator.t;
21825
22130
  var statusOptions = Object.keys(exports.CreditTransferStage).map(function (k, index) { return ({
@@ -22754,7 +23059,7 @@ var MapStatsComponent = function (props) {
22754
23059
 
22755
23060
  var RangePicker$1 = antd.DatePicker.RangePicker;
22756
23061
  var MrvDashboardComponent = function (props) {
22757
- var useConnection = props.useConnection, useUserContext = props.useUserContext, Link = props.Link, Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup, _a = props.isMultipleDashboardsVisible, isMultipleDashboardsVisible = _a === void 0 ? false : _a;
23062
+ var Link = props.Link, Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup, _a = props.isMultipleDashboardsVisible, isMultipleDashboardsVisible = _a === void 0 ? false : _a;
22758
23063
  var _b = useConnection(); _b.get; var post = _b.post; _b.delete;
22759
23064
  var _c = React.useState({}), data = _c[0], setData = _c[1];
22760
23065
  var _e = React.useState(false), loading = _e[0], setLoading = _e[1];
@@ -24498,7 +24803,7 @@ var RegistryBarChartsStatComponent = function (props) {
24498
24803
 
24499
24804
  var RangePicker = antd.DatePicker.RangePicker;
24500
24805
  var RegistryDashboardComponent = function (props) {
24501
- var useUserContext = props.useUserContext, useConnection = props.useConnection, Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup, Link = props.Link, _a = props.isMultipleDashboardsVisible, isMultipleDashboardsVisible = _a === void 0 ? false : _a;
24806
+ var Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup, Link = props.Link, _a = props.isMultipleDashboardsVisible, isMultipleDashboardsVisible = _a === void 0 ? false : _a;
24502
24807
  var _b = useConnection(); _b.get; var post = _b.post; _b.delete;
24503
24808
  var userInfoState = useUserContext().userInfoState;
24504
24809
  var _c = React.useState(false), loadingWithoutTimeRange = _c[0], setLoadingWithoutTimeRange = _c[1];
@@ -26265,7 +26570,7 @@ var NdcActionType;
26265
26570
  NdcActionType[NdcActionType["sub"] = 1] = "sub";
26266
26571
  })(NdcActionType || (NdcActionType = {}));
26267
26572
  var NdcDetailsComponent = function (props) {
26268
- var t = props.t; props.useConnection; var useUserContext = props.useUserContext;
26573
+ var t = props.t;
26269
26574
  var RangePicker = antd.DatePicker.RangePicker;
26270
26575
  var _a = React.useState([]), ndcDetailsData = _a[0], setNdcDetailsData = _a[1];
26271
26576
  var _b = React.useState(false), loading = _b[0]; _b[1];
@@ -26385,7 +26690,7 @@ var NdcDetailsComponent = function (props) {
26385
26690
  editable: true,
26386
26691
  width: "50%",
26387
26692
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(antd.Space, { size: "middle" },
26388
- React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { placeholder: "Please add Programmes", className: "ant-input", type: "text" })))); },
26693
+ React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { placeholder: "Please add the National Plan Objective", className: "ant-input", type: "text" })))); },
26389
26694
  },
26390
26695
  {
26391
26696
  title: t("ndc:ndcColumnsKpi"),
@@ -26398,14 +26703,14 @@ var NdcDetailsComponent = function (props) {
26398
26703
  React.createElement("span", null, record.kpi))) : (React.createElement("input", { placeholder: "Enter Kpi", className: "ant-input", type: "text" })))); },
26399
26704
  },
26400
26705
  {
26401
- title: "Government Department",
26706
+ title: "Ministry",
26402
26707
  dataIndex: "ministry",
26403
26708
  key: "ministry",
26404
26709
  align: "left",
26405
26710
  editable: true,
26406
26711
  width: "40%",
26407
26712
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(antd.Space, { size: "middle" },
26408
- React.createElement("span", null, record.ministry))) : (React.createElement("input", { placeholder: "Please add the Government Department", className: "ant-input", type: "text" })))); },
26713
+ React.createElement("span", null, record.ministry))) : (React.createElement("input", { placeholder: "Please add the Ministry name", className: "ant-input", type: "text" })))); },
26409
26714
  },
26410
26715
  ];
26411
26716
  var columns = defaultColumns.map(function (col) {
@@ -26985,7 +27290,7 @@ var ProgrammeIssueForm = function (props) {
26985
27290
  };
26986
27291
 
26987
27292
  var ProgrammeRetireForm = function (props) {
26988
- var programme = props.programme, onFinish = props.onFinish, onCancel = props.onCancel, actionBtnText = props.actionBtnText, subText = props.subText, hideType = props.hideType, myCompanyId = props.myCompanyId, translator = props.translator, useConnection = props.useConnection;
27293
+ var programme = props.programme, onFinish = props.onFinish, onCancel = props.onCancel, actionBtnText = props.actionBtnText, subText = props.subText, hideType = props.hideType, myCompanyId = props.myCompanyId, translator = props.translator;
26989
27294
  var t = translator.t;
26990
27295
  var _a = React.useState(undefined), popupError = _a[0], setPopupError = _a[1];
26991
27296
  var _b = React.useState(false), loading = _b[0], setLoading = _b[1];
@@ -27361,7 +27666,7 @@ var ProgrammeRevokeForm = function (props) {
27361
27666
  };
27362
27667
 
27363
27668
  var ProgrammeTransferForm = function (props) {
27364
- var programme = props.programme, onFinish = props.onFinish, onCancel = props.onCancel, actionBtnText = props.actionBtnText; props.subText; var toCompanyDefault = props.toCompanyDefault, disableToCompany = props.disableToCompany, receiverLabelText = props.receiverLabelText, userCompanyId = props.userCompanyId, companyRole = props.companyRole, translator = props.translator, useConnection = props.useConnection, _a = props.ministryLevelPermission, ministryLevelPermission = _a === void 0 ? false : _a;
27669
+ var programme = props.programme, onFinish = props.onFinish, onCancel = props.onCancel, actionBtnText = props.actionBtnText; props.subText; var toCompanyDefault = props.toCompanyDefault, disableToCompany = props.disableToCompany, receiverLabelText = props.receiverLabelText, userCompanyId = props.userCompanyId, companyRole = props.companyRole, translator = props.translator, _a = props.ministryLevelPermission, ministryLevelPermission = _a === void 0 ? false : _a;
27365
27670
  var t = translator.t;
27366
27671
  var _b = React.useState(undefined), popupError = _b[0], setPopupError = _b[1];
27367
27672
  var _c = React.useState(false), loading = _c[0], setLoading = _c[1];
@@ -27592,7 +27897,7 @@ var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column
27592
27897
  styleInject(css_248z$2);
27593
27898
 
27594
27899
  var NdcActionBody = function (props) {
27595
- var data = props.data, programmeId = props.programmeId, canUploadMonitorReport = props.canUploadMonitorReport, programmeOwnerId = props.programmeOwnerId, getProgrammeDocs = props.getProgrammeDocs, ministryLevelPermission = props.ministryLevelPermission, useConnection = props.useConnection, translator = props.translator, useUserContext = props.useUserContext, onFinish = props.onFinish, programme = props.programme;
27900
+ var data = props.data, programmeId = props.programmeId, canUploadMonitorReport = props.canUploadMonitorReport, programmeOwnerId = props.programmeOwnerId, getProgrammeDocs = props.getProgrammeDocs, ministryLevelPermission = props.ministryLevelPermission, translator = props.translator, onFinish = props.onFinish, programme = props.programme;
27596
27901
  var t = translator.t;
27597
27902
  var userInfoState = useUserContext().userInfoState;
27598
27903
  var fileInputMonitoringRef = React.useRef(null);
@@ -27673,12 +27978,8 @@ var NdcActionBody = function (props) {
27673
27978
  modified_1 = true;
27674
27979
  var docAdded = false;
27675
27980
  for (var _i = 0, _a = action.projectMaterial; _i < _a.length; _i++) {
27676
- var documentDetails = _a[_i];
27677
- var document_1 = void 0;
27678
- documentDetails.url
27679
- ? (document_1 = documentDetails.url)
27680
- : (document_1 = documentDetails);
27681
- if (document_1.includes("VERIFICATION_REPORT")) {
27981
+ var document = _a[_i];
27982
+ if (document.includes("VERIFICATION_REPORT")) {
27682
27983
  docAdded = true;
27683
27984
  break;
27684
27985
  }
@@ -27879,16 +28180,8 @@ var NdcActionBody = function (props) {
27879
28180
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
27880
28181
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
27881
28182
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
27882
- ? {
27883
- color: "#3F3A47",
27884
- cursor: "pointer",
27885
- margin: "0px 0px 2.5px 0px",
27886
- }
27887
- : {
27888
- color: "#cacaca",
27889
- cursor: "default",
27890
- margin: "0px 0px 2.5px 0px",
27891
- }, onClick: function () {
28183
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28184
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
27892
28185
  if (canUploadMonitorReport &&
27893
28186
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
27894
28187
  handleFileUploadMonitor();
@@ -27911,16 +28204,8 @@ var NdcActionBody = function (props) {
27911
28204
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
27912
28205
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
27913
28206
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
27914
- ? {
27915
- color: "#3F3A47",
27916
- cursor: "pointer",
27917
- margin: "0px 0px 2.5px 0px",
27918
- }
27919
- : {
27920
- color: "#cacaca",
27921
- cursor: "default",
27922
- margin: "0px 0px 2.5px 0px",
27923
- }, onClick: function () {
28207
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28208
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
27924
28209
  if (canUploadMonitorReport &&
27925
28210
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
27926
28211
  handleFileUploadMonitor();
@@ -27969,16 +28254,8 @@ var NdcActionBody = function (props) {
27969
28254
  : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
27970
28255
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
27971
28256
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
27972
- ? {
27973
- color: "#3F3A47",
27974
- cursor: "pointer",
27975
- margin: "0px 0px 2.5px 0px",
27976
- }
27977
- : {
27978
- color: "#cacaca",
27979
- cursor: "default",
27980
- margin: "0px 0px 2.5px 0px",
27981
- }, onClick: function () {
28257
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28258
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
27982
28259
  if (monitoringReportAccepted &&
27983
28260
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
27984
28261
  handleFileUploadVerification();
@@ -28001,16 +28278,8 @@ var NdcActionBody = function (props) {
28001
28278
  : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
28002
28279
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
28003
28280
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
28004
- ? {
28005
- color: "#3F3A47",
28006
- cursor: "pointer",
28007
- margin: "0px 0px 2.5px 0px",
28008
- }
28009
- : {
28010
- color: "#cacaca",
28011
- cursor: "default",
28012
- margin: "0px 0px 2.5px 0px",
28013
- }, onClick: function () {
28281
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28282
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28014
28283
  if (monitoringReportAccepted &&
28015
28284
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
28016
28285
  handleFileUploadVerification();
@@ -28028,7 +28297,7 @@ var css_248z$1 = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-vi
28028
28297
  styleInject(css_248z$1);
28029
28298
 
28030
28299
  var ProgrammeDocuments = function (props) {
28031
- var data = props.data, title = props.title, icon = props.icon, programmeId = props.programmeId, programmeOwnerId = props.programmeOwnerId, getDocumentDetails = props.getDocumentDetails, getProgrammeById = props.getProgrammeById, ministryLevelPermission = props.ministryLevelPermission, useConnection = props.useConnection, useUserContext = props.useUserContext, translator = props.translator, methodologyDocumentUpdated = props.methodologyDocumentUpdated, programmeStatus = props.programmeStatus;
28300
+ var data = props.data, title = props.title, icon = props.icon, programmeId = props.programmeId, programmeOwnerId = props.programmeOwnerId, getDocumentDetails = props.getDocumentDetails, getProgrammeById = props.getProgrammeById, ministryLevelPermission = props.ministryLevelPermission, translator = props.translator, methodologyDocumentUpdated = props.methodologyDocumentUpdated, programmeStatus = props.programmeStatus;
28032
28301
  var t = translator.t;
28033
28302
  var userInfoState = useUserContext().userInfoState;
28034
28303
  var _a = useConnection(); _a.delete; var post = _a.post;
@@ -28535,6 +28804,7 @@ exports.CoBenifitsComponent = CoBenifitsComponent;
28535
28804
  exports.Company = Company;
28536
28805
  exports.CompanyManagementComponent = CompanyManagementComponent;
28537
28806
  exports.CompanyProfileComponent = CompanyProfileComponent;
28807
+ exports.ConnectionContextProvider = ConnectionContextProvider;
28538
28808
  exports.CreditTransferComponent = CreditTransferComponent;
28539
28809
  exports.DevBGColor = DevBGColor;
28540
28810
  exports.DevColor = DevColor;
@@ -28577,6 +28847,8 @@ exports.RejectDocumentationConfirmationModel = RejectDocumentationConfirmationMo
28577
28847
  exports.RoleIcon = RoleIcon;
28578
28848
  exports.RootBGColor = RootBGColor;
28579
28849
  exports.RootColor = RootColor;
28850
+ exports.SettingsContext = SettingsContext;
28851
+ exports.SettingsContextProvider = SettingsContextProvider;
28580
28852
  exports.StasticCard = StasticCard;
28581
28853
  exports.SupportCreationComponent = SupportCreationComponent;
28582
28854
  exports.SupportManagementComponent = SupportManagementComponent;
@@ -28585,6 +28857,8 @@ exports.TooltipColor = TooltipColor;
28585
28857
  exports.TransferActionModel = TransferActionModel;
28586
28858
  exports.UnitField = UnitField;
28587
28859
  exports.User = User;
28860
+ exports.UserContext = UserContext;
28861
+ exports.UserInformationContextProvider = UserInformationContextProvider;
28588
28862
  exports.UserManagementComponent = UserManagementComponent;
28589
28863
  exports.UserProfileComponent = UserProfileComponent;
28590
28864
  exports.UserRoleIcon = UserRoleIcon;
@@ -28626,4 +28900,7 @@ exports.ndcActionTypeList = ndcActionTypeList;
28626
28900
  exports.sectorMitigationTypesListMapped = sectorMitigationTypesListMapped;
28627
28901
  exports.sumArray = sumArray;
28628
28902
  exports.titleList = titleList;
28903
+ exports.useConnection = useConnection;
28904
+ exports.useSettingsContext = useSettingsContext;
28905
+ exports.useUserContext = useUserContext;
28629
28906
  //# sourceMappingURL=index.js.map