@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/esm/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import { PlusOutlined, FilterOutlined, BankOutlined, SafetyOutlined, AuditOutlined, ExperimentOutlined, UploadOutlined, UserOutlined, MinusCircleOutlined, StarOutlined, ToolOutlined, EyeOutlined, SearchOutlined, EllipsisOutlined, EditOutlined, DeleteOutlined, FileAddOutlined, CheckCircleOutlined, ExclamationCircleOutlined, BookOutlined, CaretDownOutlined, EyeInvisibleOutlined, GlobalOutlined, FlagOutlined, LineChartOutlined, LikeOutlined, DislikeOutlined } from '@ant-design/icons';
2
2
  import { Input, Radio, Space, Row, Col, Button, Dropdown, Table, Empty, message, Form, Steps, Upload, InputNumber, Tooltip, Select, Modal, Alert, Skeleton, Card, Tag, Checkbox, DatePicker, Popover, List, Typography, Spin, Tabs, Progress } from 'antd';
3
- import React, { useState, useEffect, useRef, useContext } from 'react';
3
+ import React, { createContext, useState, useEffect, useCallback, useContext, useRef } from 'react';
4
4
  import { DateTime } from 'luxon';
5
5
  import { Buffer } from 'buffer';
6
+ import axios from 'axios';
6
7
  import PhoneInput, { formatPhoneNumberIntl, formatPhoneNumber } from 'react-phone-number-input';
7
8
  import validator from 'validator';
8
9
  import { plainToClass } from 'class-transformer';
@@ -489,9 +490,311 @@ var OrganisationStatus = function (props) {
489
490
  return orgState;
490
491
  };
491
492
 
493
+ 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";
494
+
495
+ var ConnectionContext = createContext({});
496
+ var ConnectionContextProvider = function (props) {
497
+ var _a = useState(), token = _a[0], setToken = _a[1];
498
+ var serverURL = props.serverURL, t = props.t, children = props.children;
499
+ useEffect(function () {
500
+ var timer = setInterval(function () { return __awaiter(void 0, void 0, void 0, function () {
501
+ var newToken;
502
+ return __generator(this, function (_a) {
503
+ switch (_a.label) {
504
+ case 0: return [4 /*yield*/, localStorage.getItem('token')];
505
+ case 1:
506
+ newToken = _a.sent();
507
+ if (token !== newToken) {
508
+ setToken(newToken);
509
+ }
510
+ return [2 /*return*/];
511
+ }
512
+ });
513
+ }); }, 3000);
514
+ if (token) {
515
+ clearTimeout(timer);
516
+ }
517
+ return function () {
518
+ clearTimeout(timer);
519
+ };
520
+ }, [token]);
521
+ var send = useCallback(function (method, path, data, config, extraUrl) {
522
+ return new Promise(function (resolve, reject) {
523
+ var url = "".concat(extraUrl ? extraUrl : serverURL, "/").concat(path);
524
+ var headers;
525
+ if (token) {
526
+ headers = { authorization: "Bearer ".concat(token.toString()) };
527
+ }
528
+ else {
529
+ localStorage.getItem('token');
530
+ headers = {
531
+ authorization: "Bearer ".concat(localStorage.getItem('token')),
532
+ };
533
+ }
534
+ axios(__assign({ method: method, url: url, data: data, headers: headers }, config))
535
+ .then(function (response) {
536
+ var _a, _b, _c;
537
+ if (response.status) {
538
+ if (response.status === 200 || response.status === 201) {
539
+ resolve({
540
+ status: response.status,
541
+ data: (_a = response.data.data) !== null && _a !== void 0 ? _a : response.data,
542
+ response: response,
543
+ statusText: 'SUCCESS',
544
+ message: response.data.message,
545
+ });
546
+ }
547
+ else if (response.status === 422) {
548
+ reject({
549
+ status: response.status,
550
+ data: (_b = response.data) === null || _b === void 0 ? void 0 : _b.data,
551
+ statusText: 'ERROR',
552
+ response: response,
553
+ message: response.data.message,
554
+ errors: (_c = response.data) === null || _c === void 0 ? void 0 : _c.errors,
555
+ });
556
+ }
557
+ }
558
+ else {
559
+ reject({
560
+ status: 500,
561
+ statusText: 'UNKNOWN',
562
+ message: t('common:systemError'),
563
+ });
564
+ }
565
+ })
566
+ .catch(function (e) {
567
+ var _a;
568
+ if (e.response) {
569
+ if (e.response.status) {
570
+ if (e.response.data.message === 'jwt expired') {
571
+ localStorage.removeItem('token');
572
+ window.location.reload();
573
+ }
574
+ reject({
575
+ status: e.response.status,
576
+ statusText: 'ERROR',
577
+ errors: (_a = e.response.data) === null || _a === void 0 ? void 0 : _a.errors,
578
+ message: e.response.data.message,
579
+ });
580
+ }
581
+ else {
582
+ reject({
583
+ statusText: 'ERROR',
584
+ message: t('common:systemError'),
585
+ });
586
+ }
587
+ }
588
+ else {
589
+ reject({
590
+ statusText: 'ERROR',
591
+ message: t('common:networkError'),
592
+ });
593
+ }
594
+ });
595
+ });
596
+ }, [token, serverURL]);
597
+ var post = useCallback(function (path, data, config, extraUrl) {
598
+ return send('post', path, data, config, extraUrl);
599
+ }, [send]);
600
+ var put = useCallback(function (path, data, config) {
601
+ return send('put', path, data, config);
602
+ }, [send]);
603
+ var get = useCallback(function (path, config) {
604
+ return send('get', path, undefined, config);
605
+ }, [send]);
606
+ var patch = useCallback(function (path, data, config) {
607
+ return send('patch', path, data, config);
608
+ }, [send]);
609
+ var del = useCallback(function (path, config) {
610
+ return send('delete', path, config);
611
+ }, [send]);
612
+ var updateToken = useCallback(function (newToken) { return __awaiter(void 0, void 0, void 0, function () {
613
+ return __generator(this, function (_a) {
614
+ if (newToken) {
615
+ localStorage.setItem('token', newToken);
616
+ setToken(newToken);
617
+ }
618
+ else {
619
+ localStorage.setItem('token', '');
620
+ setToken(undefined);
621
+ }
622
+ return [2 /*return*/];
623
+ });
624
+ }); }, []);
625
+ var removeToken = function (tkn) {
626
+ if (tkn) {
627
+ var exp = o(tkn).exp;
628
+ if (Date.now() > exp * 1000) {
629
+ localStorage.setItem('token', '');
630
+ localStorage.removeItem('userRole');
631
+ localStorage.removeItem('userId');
632
+ localStorage.removeItem('companyId');
633
+ localStorage.removeItem('companyRole');
634
+ }
635
+ else {
636
+ var diff = exp * 1000 - Date.now();
637
+ setTimeout(function () {
638
+ setToken(undefined);
639
+ localStorage.setItem('token', '');
640
+ localStorage.removeItem('userRole');
641
+ localStorage.removeItem('userId');
642
+ localStorage.removeItem('companyId');
643
+ localStorage.removeItem('companyRole');
644
+ }, diff);
645
+ console.log(diff, 'Remaining Token expire time');
646
+ }
647
+ }
648
+ };
649
+ useEffect(function () {
650
+ removeToken(token);
651
+ }, [token]);
652
+ return (React.createElement(ConnectionContext.Provider, { value: {
653
+ connection: { post: post, put: put, get: get, patch: patch, delete: del, updateToken: updateToken, token: token, removeToken: removeToken },
654
+ } }, children));
655
+ };
656
+ var useConnection = function () {
657
+ var context = useContext(ConnectionContext);
658
+ return context.connection;
659
+ };
660
+
661
+ var UserContext = createContext({
662
+ setUserInfo: function () { },
663
+ removeUserInfo: function () { },
664
+ IsAuthenticated: function (tkn) { return false; },
665
+ isTokenExpired: false,
666
+ setIsTokenExpired: function (val) { },
667
+ });
668
+ var UserInformationContextProvider = function (_a) {
669
+ var children = _a.children;
670
+ var token = useConnection().token;
671
+ var _b = useState(false), isTokenExpired = _b[0], setIsTokenExpired = _b[1];
672
+ var initialUserProps = {
673
+ id: localStorage.getItem('userId') ? localStorage.getItem('userId') : '',
674
+ userRole: localStorage.getItem('userRole') ? localStorage.getItem('userRole') : '',
675
+ companyRole: localStorage.getItem('companyRole')
676
+ ? localStorage.getItem('companyRole')
677
+ : '',
678
+ companyId: localStorage.getItem('companyId')
679
+ ? parseInt(localStorage.getItem('companyId'))
680
+ : -1,
681
+ companyLogo: localStorage.getItem('companyLogo')
682
+ ? localStorage.getItem('companyLogo')
683
+ : '',
684
+ companyName: localStorage.getItem('companyName')
685
+ ? localStorage.getItem('companyName')
686
+ : '',
687
+ companyState: localStorage.getItem('companyState')
688
+ ? parseInt(localStorage.getItem('companyState'))
689
+ : 0,
690
+ };
691
+ var _c = useState(initialUserProps), userInfoState = _c[0], setUserInfoState = _c[1];
692
+ var setUserInfo = function (value) {
693
+ var state = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyState) === 1 ? userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyState : 0;
694
+ 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;
695
+ if (id) {
696
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { id: id })); });
697
+ localStorage.setItem('userId', id);
698
+ }
699
+ if (userRole) {
700
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { userRole: userRole })); });
701
+ localStorage.setItem('userRole', userRole);
702
+ }
703
+ if (companyId) {
704
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyId: companyId })); });
705
+ localStorage.setItem('companyId', companyId + '');
706
+ }
707
+ if (companyLogo) {
708
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyLogo: companyLogo })); });
709
+ localStorage.setItem('companyLogo', companyLogo);
710
+ }
711
+ else {
712
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyLogo: '' })); });
713
+ localStorage.setItem('companyLogo', '');
714
+ }
715
+ if (companyName) {
716
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyName: companyName })); });
717
+ localStorage.setItem('companyName', companyName);
718
+ }
719
+ if (userRole) {
720
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyRole: companyRole })); });
721
+ localStorage.setItem('companyRole', companyRole);
722
+ }
723
+ setUserInfoState(function (prev) { return (__assign(__assign({}, prev), { companyState: companyState })); });
724
+ localStorage.setItem('companyState', companyState + '');
725
+ };
726
+ var IsAuthenticated = useCallback(function (tokenNew) {
727
+ var tokenVal;
728
+ if (tokenNew) {
729
+ tokenVal = tokenNew;
730
+ }
731
+ else if (token) {
732
+ tokenVal = token;
733
+ }
734
+ else {
735
+ tokenVal = localStorage.getItem('token');
736
+ if (tokenVal === '') {
737
+ if (history.length !== 1) {
738
+ setIsTokenExpired(true);
739
+ }
740
+ }
741
+ }
742
+ try {
743
+ if (tokenVal) {
744
+ var exp = o(tokenVal).exp;
745
+ return Date.now() < exp * 1000;
746
+ }
747
+ return false;
748
+ }
749
+ catch (err) {
750
+ return false;
751
+ }
752
+ }, [token]);
753
+ var removeUserInfo = function () {
754
+ localStorage.removeItem('userId');
755
+ localStorage.removeItem('userRole');
756
+ localStorage.removeItem('companyId');
757
+ localStorage.removeItem('companyRole');
758
+ localStorage.removeItem('companyName');
759
+ localStorage.removeItem('companyState');
760
+ localStorage.removeItem('companyLogo');
761
+ setUserInfoState(initialUserProps);
762
+ };
763
+ return (React.createElement(UserContext.Provider, { value: {
764
+ userInfoState: userInfoState,
765
+ setUserInfo: setUserInfo,
766
+ removeUserInfo: removeUserInfo,
767
+ IsAuthenticated: IsAuthenticated,
768
+ isTokenExpired: isTokenExpired,
769
+ setIsTokenExpired: setIsTokenExpired,
770
+ } }, children));
771
+ };
772
+ var useUserContext = function () {
773
+ return useContext(UserContext);
774
+ };
775
+
776
+ var SettingsContext = createContext({
777
+ isTransferFrozen: false,
778
+ setTransferFrozen: function (value) { },
779
+ });
780
+ var SettingsContextProvider = function (_a) {
781
+ var children = _a.children;
782
+ var _b = useState(false), isTransferFrozen = _b[0], setIsTransferFrozen = _b[1];
783
+ var setTransferFrozen = function (value) {
784
+ setIsTransferFrozen(value);
785
+ };
786
+ return (React.createElement(SettingsContext.Provider, { value: {
787
+ isTransferFrozen: isTransferFrozen,
788
+ setTransferFrozen: setTransferFrozen,
789
+ } }, children));
790
+ };
791
+ var useSettingsContext = function () {
792
+ return useContext(SettingsContext);
793
+ };
794
+
492
795
  var Search$2 = Input.Search;
493
796
  var CompanyManagementComponent = function (props) {
494
- var t = props.t, useAbilityContext = props.useAbilityContext, post = props.post, visibleColumns = props.visibleColumns, onNavigateToCompanyProfile = props.onNavigateToCompanyProfile, onClickAddCompany = props.onClickAddCompany;
797
+ var t = props.t, useAbilityContext = props.useAbilityContext, visibleColumns = props.visibleColumns, onNavigateToCompanyProfile = props.onNavigateToCompanyProfile, onClickAddCompany = props.onClickAddCompany;
495
798
  var _a = useState(), totalCompany = _a[0], setTotalCompany = _a[1];
496
799
  var _b = useState(false), loading = _b[0], setLoading = _b[1];
497
800
  var _c = useState([]), tableData = _c[0], setTableData = _c[1];
@@ -505,6 +808,7 @@ var CompanyManagementComponent = function (props) {
505
808
  var _k = useState(""), sortOrder = _k[0], setSortOrder = _k[1];
506
809
  var _l = useState(""), sortField = _l[0], setSortField = _l[1];
507
810
  var ability = useAbilityContext();
811
+ var post = useConnection().post;
508
812
  document.addEventListener("mousedown", function (event) {
509
813
  var organisationFilterArea1 = document.querySelector(".filter-bar");
510
814
  var organisationFilterArea2 = document.querySelector(".filter-dropdown");
@@ -837,7 +1141,7 @@ var CompanyManagementComponent = function (props) {
837
1141
  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";
838
1142
  styleInject(css_248z$s);
839
1143
 
840
- 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";
1144
+ 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";
841
1145
  styleInject(css_248z$r);
842
1146
 
843
1147
  var UserManagementColumns;
@@ -5734,7 +6038,7 @@ var ProgrammeCertify = /** @class */ (function () {
5734
6038
 
5735
6039
  var AddNewCompanyComponent = function (props) {
5736
6040
  var _a;
5737
- 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;
6041
+ 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;
5738
6042
  var formOne = Form.useForm()[0];
5739
6043
  var formTwo = Form.useForm()[0];
5740
6044
  var _b = useState(), stepOneData = _b[0], setStepOneData = _b[1];
@@ -6523,7 +6827,7 @@ var css_248z$q = ".company-profile {\n padding: 0px 50px; }\n .company-profile
6523
6827
  styleInject(css_248z$q);
6524
6828
 
6525
6829
  var CompanyProfileComponent = function (props) {
6526
- 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;
6830
+ var t = props.t, useAbilityContext = props.useAbilityContext, useLocation = props.useLocation, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, onNavigateToCompanyEdit = props.onNavigateToCompanyEdit, regionField = props.regionField, systemType = props.systemType;
6527
6831
  var _a = useConnection(), get = _a.get, put = _a.put, post = _a.post;
6528
6832
  var _b = useState(undefined), companyDetails = _b[0], setCompanyDetails = _b[1];
6529
6833
  var _c = useState(undefined), userDetails = _c[0], setUserDetails = _c[1];
@@ -6956,7 +7260,7 @@ styleInject(css_248z$p);
6956
7260
 
6957
7261
  var Search$1 = Input.Search;
6958
7262
  var ProgrammeManagementComponent = function (props) {
6959
- 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;
7263
+ var t = props.t, visibleColumns = props.visibleColumns, onNavigateToProgrammeView = props.onNavigateToProgrammeView, onClickAddProgramme = props.onClickAddProgramme, enableAddProgramme = props.enableAddProgramme, useAbilityContext = props.useAbilityContext;
6960
7264
  var _a = useConnection(); _a.get; _a.delete; var post = _a.post;
6961
7265
  var _b = useState(), totalProgramme = _b[0], setTotalProgramme = _b[1];
6962
7266
  var _c = useState(false), loading = _c[0], setLoading = _c[1];
@@ -7341,7 +7645,7 @@ var ProgrammeManagementComponent = function (props) {
7341
7645
  React.createElement("div", { className: "filter-section" },
7342
7646
  React.createElement("div", { className: "search-filter" },
7343
7647
  React.createElement(Checkbox, { className: "label", onChange: function (v) {
7344
- if (userInfoState.companyRole === CompanyRole.MINISTRY) {
7648
+ if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY) {
7345
7649
  if (v.target.checked) {
7346
7650
  setMinistryLevelFilter(true);
7347
7651
  }
@@ -7358,7 +7662,7 @@ var ProgrammeManagementComponent = function (props) {
7358
7662
  }
7359
7663
  : undefined);
7360
7664
  }
7361
- } }, userInfoState.companyRole === CompanyRole.MINISTRY
7665
+ } }, (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY
7362
7666
  ? t("view:ministryLevel")
7363
7667
  : t("view:seeMine"))),
7364
7668
  React.createElement("div", { className: "search-bar" },
@@ -13139,7 +13443,7 @@ var sectoralScopes = {
13139
13443
  };
13140
13444
  var ProgrammeCreationComponent = function (props) {
13141
13445
  var _a, _b, _c;
13142
- var useUserContext = props.useUserContext, useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToProgrammeView = props.onNavigateToProgrammeView, translator = props.translator;
13446
+ var useLocation = props.useLocation, onNavigateToProgrammeView = props.onNavigateToProgrammeView, translator = props.translator;
13143
13447
  var t = translator.t;
13144
13448
  var state = useLocation().state;
13145
13449
  var formOne = Form.useForm()[0];
@@ -14204,7 +14508,7 @@ var ChangePasswordModel = function (props) {
14204
14508
 
14205
14509
  var AddNewUserComponent = function (props) {
14206
14510
  var _a, _b, _c, _d, _e, _f;
14207
- 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;
14511
+ var t = props.t, onNavigateToUserManagement = props.onNavigateToUserManagement, onNavigateLogin = props.onNavigateLogin, useLocation = props.useLocation, useAbilityContext = props.useAbilityContext, themeColor = props.themeColor;
14208
14512
  var _g = useConnection(), post = _g.post, put = _g.put, del = _g.delete, get = _g.get;
14209
14513
  var formOne = Form.useForm()[0];
14210
14514
  var state = useLocation().state;
@@ -14622,7 +14926,7 @@ var LanguageSelection = function (props) {
14622
14926
  };
14623
14927
 
14624
14928
  var UserProfileComponent = function (props) {
14625
- var t = props.t, i18n = props.i18n, useConnection = props.useConnection, onNavigateUpdateUser = props.onNavigateUpdateUser, onNavigateLogin = props.onNavigateLogin, useUserContext = props.useUserContext;
14929
+ var t = props.t, i18n = props.i18n, onNavigateUpdateUser = props.onNavigateUpdateUser, onNavigateLogin = props.onNavigateLogin;
14626
14930
  var get = useConnection().get;
14627
14931
  var _a = useState(undefined), organisationDetails = _a[0], setOrganisationDetails = _a[1];
14628
14932
  var _b = useState(undefined), userDetails = _b[0], setUserDetails = _b[1];
@@ -14790,7 +15094,7 @@ styleInject(css_248z$k);
14790
15094
 
14791
15095
  var Search = Input.Search;
14792
15096
  var UserManagementComponent = function (props) {
14793
- var t = props.t, useAbilityContext = props.useAbilityContext, useConnection = props.useConnection, visibleColumns = props.visibleColumns, onNavigateToUpdateUser = props.onNavigateToUpdateUser, onClickAddUser = props.onClickAddUser, userInfoState = props.userInfoState;
15097
+ var t = props.t, useAbilityContext = props.useAbilityContext, visibleColumns = props.visibleColumns, onNavigateToUpdateUser = props.onNavigateToUpdateUser, onClickAddUser = props.onClickAddUser;
14794
15098
  Form.useForm()[0];
14795
15099
  var _a = useConnection(), post = _a.post, del = _a.delete;
14796
15100
  var _b = useState(), totalUser = _b[0], setTotalUser = _b[1];
@@ -14812,6 +15116,7 @@ var UserManagementComponent = function (props) {
14812
15116
  var _s = useState(""), errorMsg = _s[0], setErrorMsg = _s[1];
14813
15117
  var _t = useState(false), openDeleteConfirmationModal = _t[0], setOpenDeleteConfirmationModal = _t[1];
14814
15118
  var ability = useAbilityContext();
15119
+ var userInfoState = useUserContext().userInfoState;
14815
15120
  document.addEventListener("mousedown", function (event) {
14816
15121
  var userFilterArea1 = document.querySelector(".filter-bar");
14817
15122
  var userFilterArea2 = document.querySelector(".filter-dropdown");
@@ -15332,7 +15637,7 @@ var Loading = function () {
15332
15637
  };
15333
15638
 
15334
15639
  var InvestmentCreationComponent = function (props) {
15335
- var t = props.t, useConnection = props.useConnection, userInfoState = props.userInfoState, useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
15640
+ var t = props.t, useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
15336
15641
  var state = useLocation().state;
15337
15642
  var _a = useState(), data = _a[0], setData = _a[1];
15338
15643
  var formOne = Form.useForm()[0];
@@ -15347,6 +15652,7 @@ var InvestmentCreationComponent = function (props) {
15347
15652
  var _h = useState([]), instrument = _h[0], setInstrument = _h[1];
15348
15653
  var _j = useState(), stepOneData = _j[0], setStepOneData = _j[1];
15349
15654
  var _k = useState(), govData = _k[0], setGovData = _k[1];
15655
+ var userInfoState = useUserContext().userInfoState;
15350
15656
  var instrumentOptions = Object.keys(Instrument).map(function (k, index) { return ({
15351
15657
  label: addSpaces(Object.values(Instrument)[index]),
15352
15658
  value: Object.values(Instrument)[index],
@@ -15963,7 +16269,7 @@ var InvestmentActionModel = function (props) {
15963
16269
  };
15964
16270
 
15965
16271
  var InvestmentManagementComponent = function (props) {
15966
- var translator = props.translator, useConnection = props.useConnection, onNavigateToProgrammeView = props.onNavigateToProgrammeView, useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, onClickAddOwnership = props.onClickAddOwnership, enableAddOwnership = props.enableAddOwnership;
16272
+ var translator = props.translator, onNavigateToProgrammeView = props.onNavigateToProgrammeView, onClickAddOwnership = props.onClickAddOwnership, enableAddOwnership = props.enableAddOwnership;
15967
16273
  var t = translator.t;
15968
16274
  var statusOptions = Object.keys(InvestmentStatus).map(function (k, index) { return ({
15969
16275
  label: addSpaces(Object.values(InvestmentStatus)[index]),
@@ -16496,7 +16802,7 @@ var css_248z$i = ".steps-actions {\n display: flex;\n flex-direction: row-reve
16496
16802
  styleInject(css_248z$i);
16497
16803
 
16498
16804
  var SupportCreationComponent = function (props) {
16499
- var t = props.t, useConnection = props.useConnection, userInfoState = props.userInfoState, useLocation = props.useLocation; props.onNavigateToProgrammeManagementView; props.onNavigateToProgrammeView;
16805
+ var t = props.t, useLocation = props.useLocation; props.onNavigateToProgrammeManagementView; props.onNavigateToProgrammeView;
16500
16806
  useLocation().state;
16501
16807
  var _a = useState(); _a[0]; _a[1];
16502
16808
  var formOne = Form.useForm()[0];
@@ -16509,6 +16815,7 @@ var SupportCreationComponent = function (props) {
16509
16815
  var _f = useState([]), organisationsList = _f[0], setOrganisationList = _f[1];
16510
16816
  var _g = useState([]), instrument = _g[0], setInstrument = _g[1];
16511
16817
  var _h = useState(); _h[0]; var setStepOneData = _h[1];
16818
+ var userInfoState = useUserContext().userInfoState;
16512
16819
  var instrumentOptions = Object.keys(Instrument).map(function (k, index) { return ({
16513
16820
  label: addSpaces(Object.values(Instrument)[index]),
16514
16821
  value: Object.values(Instrument)[index],
@@ -16851,7 +17158,7 @@ var SupportCreationComponent = function (props) {
16851
17158
  };
16852
17159
 
16853
17160
  var SupportManagementComponent = function (props) {
16854
- var translator = props.translator, useConnection = props.useConnection; props.onNavigateToProgrammeView; var useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, enableAddSupport = props.enableAddSupport, onClickAddSupport = props.onClickAddSupport;
17161
+ var translator = props.translator; props.onNavigateToProgrammeView; var enableAddSupport = props.enableAddSupport, onClickAddSupport = props.onClickAddSupport;
16855
17162
  var t = translator.t;
16856
17163
  var statusOptions = Object.keys(InvestmentStatus).map(function (k, index) { return ({
16857
17164
  label: addSpaces(Object.values(InvestmentStatus)[index]),
@@ -17353,7 +17660,7 @@ var css_248z$h = ".ndc-management .ant-checkbox-checked .ant-checkbox-input[valu
17353
17660
  styleInject(css_248z$h);
17354
17661
 
17355
17662
  var NdcActionManagementComponent = function (props) {
17356
- var t = props.t, useConnection = props.useConnection, useUserContext = props.useUserContext, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView;
17663
+ var t = props.t, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView;
17357
17664
  var _a = useState(true), checkAll = _a[0], setCheckAll = _a[1];
17358
17665
  var _b = useState([]), tableData = _b[0], setTableData = _b[1];
17359
17666
  var _c = useState(), totalProgramme = _c[0], setTotalProgramme = _c[1];
@@ -17738,7 +18045,6 @@ var EnablementTypes;
17738
18045
  EnablementTypes["CapacityBuilding"] = "Capacity Building";
17739
18046
  EnablementTypes["TechnologyTransfer"] = "Technology Transfer";
17740
18047
  EnablementTypes["Financial"] = "Financial";
17741
- EnablementTypes["EnhancedTransparency"] = "Enhanced Transparency";
17742
18048
  })(EnablementTypes || (EnablementTypes = {}));
17743
18049
  var enablementTypesAndValues = [
17744
18050
  { type: EnablementTypes.CapacityBuilding.valueOf(), col: 4 },
@@ -17747,7 +18053,6 @@ var enablementTypesAndValues = [
17747
18053
  col: 5,
17748
18054
  },
17749
18055
  { type: EnablementTypes.Financial.valueOf(), col: 4 },
17750
- { type: EnablementTypes.EnhancedTransparency.valueOf(), col: 5 },
17751
18056
  ];
17752
18057
 
17753
18058
  var NdcActionDetails = function (props) {
@@ -18712,7 +19017,7 @@ var GenderParity = function (props) {
18712
19017
  };
18713
19018
 
18714
19019
  var Assessment = function (props) {
18715
- var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, useConnection = props.useConnection, translator = props.translator;
19020
+ var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
18716
19021
  translator.setDefaultNamespace("coBenifits");
18717
19022
  var t = translator.t;
18718
19023
  var form1 = Form.useForm()[0];
@@ -20633,7 +20938,7 @@ var Social = function (props) {
20633
20938
  };
20634
20939
 
20635
20940
  var CoBenifitsComponent = function (props) {
20636
- 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;
20941
+ 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;
20637
20942
  var _b = useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
20638
20943
  var _c = useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
20639
20944
  var _d = useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
@@ -20711,7 +21016,7 @@ var CoBenifitsComponent = function (props) {
20711
21016
  label: t("coBenifits:assessment"),
20712
21017
  key: "7",
20713
21018
  children: (React.createElement(Assessment, { onFormSubmit: onAssessmentFormSubmit, assessmentViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.assessmentDetails)) ||
20714
- (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.assessmentDetails)), viewOnly: viewOnly || false, useConnection: useConnection, translator: translator })),
21019
+ (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.assessmentDetails)), viewOnly: viewOnly || false, translator: translator })),
20715
21020
  },
20716
21021
  ];
20717
21022
  var onCoBenefitSubmit = function () {
@@ -20874,7 +21179,7 @@ var CoBenifitsComponent = function (props) {
20874
21179
  };
20875
21180
 
20876
21181
  var AddNdcActionComponent = function (props) {
20877
- var useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView, sdgGoalImages = props.sdgGoalImages, translator = props.translator;
21182
+ var useLocation = props.useLocation, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView, onNavigateToProgrammeView = props.onNavigateToProgrammeView, sdgGoalImages = props.sdgGoalImages, translator = props.translator;
20878
21183
  translator.setDefaultNamespace("ndcAction");
20879
21184
  var t = translator.t;
20880
21185
  var _a = useState(1), current = _a[0], setCurrent = _a[1];
@@ -21016,7 +21321,7 @@ var AddNdcActionComponent = function (props) {
21016
21321
  description: (React.createElement("div", { className: current !== 2 ? "hide" : "" },
21017
21322
  React.createElement(CoBenifitsComponent, { onClickedBackBtn: onClickBackCoBenefits, coBenefitsDetails: ndcActionDetails ? ndcActionDetails.coBenefitsProperties : {}, onFormSubmit: onCoBenefitsSubmit, submitButtonText: isProjectReportsVisible()
21018
21323
  ? t("ndcAction:next")
21019
- : t("ndcAction:submit"), loading: loading, sdgGoalImages: sdgGoalImages, useConnection: useConnection, translator: translator }))),
21324
+ : t("ndcAction:submit"), loading: loading, sdgGoalImages: sdgGoalImages, translator: translator }))),
21020
21325
  },
21021
21326
  ];
21022
21327
  if (isProjectReportsVisible()) {
@@ -21153,7 +21458,7 @@ var uploadDocUserPermission = function (userInfoState, docType, programmeOwnerId
21153
21458
  var NdcActionViewComponent = function (props) {
21154
21459
  var _a;
21155
21460
  var _b, _c;
21156
- var useUserContext = props.useUserContext, useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, translator = props.translator, sdgGoalImages = props.sdgGoalImages, Chart = props.Chart;
21461
+ var useLocation = props.useLocation, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, translator = props.translator, sdgGoalImages = props.sdgGoalImages, Chart = props.Chart;
21157
21462
  translator.setDefaultNamespace("ndcAction");
21158
21463
  var t = translator.t;
21159
21464
  var userInfoState = useUserContext().userInfoState;
@@ -21646,7 +21951,7 @@ var NdcActionViewComponent = function (props) {
21646
21951
  React.createElement(Card, { className: "card-container" },
21647
21952
  React.createElement("div", { className: "co-benifits-view" },
21648
21953
  React.createElement("div", { className: "title" }, t("ndcAction:coBenefitsSubTitle")),
21649
- 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 })))))))));
21954
+ 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 })))))))));
21650
21955
  };
21651
21956
 
21652
21957
  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";
@@ -21799,7 +22104,7 @@ var TransferActionModel = function (props) {
21799
22104
  };
21800
22105
 
21801
22106
  var CreditTransferComponent = function (props) {
21802
- var useConnection = props.useConnection, useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, translator = props.translator, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
22107
+ var translator = props.translator, onNavigateToProgrammeView = props.onNavigateToProgrammeView;
21803
22108
  var userInfoState = useUserContext().userInfoState;
21804
22109
  var t = translator.t;
21805
22110
  var statusOptions = Object.keys(CreditTransferStage).map(function (k, index) { return ({
@@ -22734,7 +23039,7 @@ var MapStatsComponent = function (props) {
22734
23039
 
22735
23040
  var RangePicker$1 = DatePicker.RangePicker;
22736
23041
  var MrvDashboardComponent = function (props) {
22737
- 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;
23042
+ var Link = props.Link, Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup, _a = props.isMultipleDashboardsVisible, isMultipleDashboardsVisible = _a === void 0 ? false : _a;
22738
23043
  var _b = useConnection(); _b.get; var post = _b.post; _b.delete;
22739
23044
  var _c = useState({}), data = _c[0], setData = _c[1];
22740
23045
  var _e = useState(false), loading = _e[0], setLoading = _e[1];
@@ -24478,7 +24783,7 @@ var RegistryBarChartsStatComponent = function (props) {
24478
24783
 
24479
24784
  var RangePicker = DatePicker.RangePicker;
24480
24785
  var RegistryDashboardComponent = function (props) {
24481
- 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;
24786
+ var Chart = props.Chart, t = props.t, ButtonGroup = props.ButtonGroup, Link = props.Link, _a = props.isMultipleDashboardsVisible, isMultipleDashboardsVisible = _a === void 0 ? false : _a;
24482
24787
  var _b = useConnection(); _b.get; var post = _b.post; _b.delete;
24483
24788
  var userInfoState = useUserContext().userInfoState;
24484
24789
  var _c = useState(false), loadingWithoutTimeRange = _c[0], setLoadingWithoutTimeRange = _c[1];
@@ -26245,7 +26550,7 @@ var NdcActionType;
26245
26550
  NdcActionType[NdcActionType["sub"] = 1] = "sub";
26246
26551
  })(NdcActionType || (NdcActionType = {}));
26247
26552
  var NdcDetailsComponent = function (props) {
26248
- var t = props.t; props.useConnection; var useUserContext = props.useUserContext;
26553
+ var t = props.t;
26249
26554
  var RangePicker = DatePicker.RangePicker;
26250
26555
  var _a = useState([]), ndcDetailsData = _a[0], setNdcDetailsData = _a[1];
26251
26556
  var _b = useState(false), loading = _b[0]; _b[1];
@@ -26365,7 +26670,7 @@ var NdcDetailsComponent = function (props) {
26365
26670
  editable: true,
26366
26671
  width: "50%",
26367
26672
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(Space, { size: "middle" },
26368
- React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { placeholder: "Please add Programmes", className: "ant-input", type: "text" })))); },
26673
+ React.createElement("span", null, record.nationalPlanObj))) : (React.createElement("input", { placeholder: "Please add the National Plan Objective", className: "ant-input", type: "text" })))); },
26369
26674
  },
26370
26675
  {
26371
26676
  title: t("ndc:ndcColumnsKpi"),
@@ -26378,14 +26683,14 @@ var NdcDetailsComponent = function (props) {
26378
26683
  React.createElement("span", null, record.kpi))) : (React.createElement("input", { placeholder: "Enter Kpi", className: "ant-input", type: "text" })))); },
26379
26684
  },
26380
26685
  {
26381
- title: "Government Department",
26686
+ title: "Ministry",
26382
26687
  dataIndex: "ministry",
26383
26688
  key: "ministry",
26384
26689
  align: "left",
26385
26690
  editable: true,
26386
26691
  width: "40%",
26387
26692
  render: function (_, record) { return (React.createElement(React.Fragment, null, record.nationalPlanObj ? (React.createElement(Space, { size: "middle" },
26388
- React.createElement("span", null, record.ministry))) : (React.createElement("input", { placeholder: "Please add the Government Department", className: "ant-input", type: "text" })))); },
26693
+ React.createElement("span", null, record.ministry))) : (React.createElement("input", { placeholder: "Please add the Ministry name", className: "ant-input", type: "text" })))); },
26389
26694
  },
26390
26695
  ];
26391
26696
  var columns = defaultColumns.map(function (col) {
@@ -26965,7 +27270,7 @@ var ProgrammeIssueForm = function (props) {
26965
27270
  };
26966
27271
 
26967
27272
  var ProgrammeRetireForm = function (props) {
26968
- 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;
27273
+ 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;
26969
27274
  var t = translator.t;
26970
27275
  var _a = useState(undefined), popupError = _a[0], setPopupError = _a[1];
26971
27276
  var _b = useState(false), loading = _b[0], setLoading = _b[1];
@@ -27341,7 +27646,7 @@ var ProgrammeRevokeForm = function (props) {
27341
27646
  };
27342
27647
 
27343
27648
  var ProgrammeTransferForm = function (props) {
27344
- 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;
27649
+ 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;
27345
27650
  var t = translator.t;
27346
27651
  var _b = useState(undefined), popupError = _b[0], setPopupError = _b[1];
27347
27652
  var _c = useState(false), loading = _c[0], setLoading = _c[1];
@@ -27572,7 +27877,7 @@ var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column
27572
27877
  styleInject(css_248z$2);
27573
27878
 
27574
27879
  var NdcActionBody = function (props) {
27575
- 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;
27880
+ 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;
27576
27881
  var t = translator.t;
27577
27882
  var userInfoState = useUserContext().userInfoState;
27578
27883
  var fileInputMonitoringRef = useRef(null);
@@ -27653,12 +27958,8 @@ var NdcActionBody = function (props) {
27653
27958
  modified_1 = true;
27654
27959
  var docAdded = false;
27655
27960
  for (var _i = 0, _a = action.projectMaterial; _i < _a.length; _i++) {
27656
- var documentDetails = _a[_i];
27657
- var document_1 = void 0;
27658
- documentDetails.url
27659
- ? (document_1 = documentDetails.url)
27660
- : (document_1 = documentDetails);
27661
- if (document_1.includes("VERIFICATION_REPORT")) {
27961
+ var document = _a[_i];
27962
+ if (document.includes("VERIFICATION_REPORT")) {
27662
27963
  docAdded = true;
27663
27964
  break;
27664
27965
  }
@@ -27859,16 +28160,8 @@ var NdcActionBody = function (props) {
27859
28160
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
27860
28161
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
27861
28162
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
27862
- ? {
27863
- color: "#3F3A47",
27864
- cursor: "pointer",
27865
- margin: "0px 0px 2.5px 0px",
27866
- }
27867
- : {
27868
- color: "#cacaca",
27869
- cursor: "default",
27870
- margin: "0px 0px 2.5px 0px",
27871
- }, onClick: function () {
28163
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28164
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
27872
28165
  if (canUploadMonitorReport &&
27873
28166
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
27874
28167
  handleFileUploadMonitor();
@@ -27891,16 +28184,8 @@ var NdcActionBody = function (props) {
27891
28184
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
27892
28185
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
27893
28186
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
27894
- ? {
27895
- color: "#3F3A47",
27896
- cursor: "pointer",
27897
- margin: "0px 0px 2.5px 0px",
27898
- }
27899
- : {
27900
- color: "#cacaca",
27901
- cursor: "default",
27902
- margin: "0px 0px 2.5px 0px",
27903
- }, onClick: function () {
28187
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28188
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
27904
28189
  if (canUploadMonitorReport &&
27905
28190
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
27906
28191
  handleFileUploadMonitor();
@@ -27949,16 +28234,8 @@ var NdcActionBody = function (props) {
27949
28234
  : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
27950
28235
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
27951
28236
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
27952
- ? {
27953
- color: "#3F3A47",
27954
- cursor: "pointer",
27955
- margin: "0px 0px 2.5px 0px",
27956
- }
27957
- : {
27958
- color: "#cacaca",
27959
- cursor: "default",
27960
- margin: "0px 0px 2.5px 0px",
27961
- }, onClick: function () {
28237
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28238
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
27962
28239
  if (monitoringReportAccepted &&
27963
28240
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
27964
28241
  handleFileUploadVerification();
@@ -27981,16 +28258,8 @@ var NdcActionBody = function (props) {
27981
28258
  : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
27982
28259
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
27983
28260
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
27984
- ? {
27985
- color: "#3F3A47",
27986
- cursor: "pointer",
27987
- margin: "0px 0px 2.5px 0px",
27988
- }
27989
- : {
27990
- color: "#cacaca",
27991
- cursor: "default",
27992
- margin: "0px 0px 2.5px 0px",
27993
- }, onClick: function () {
28261
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28262
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
27994
28263
  if (monitoringReportAccepted &&
27995
28264
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
27996
28265
  handleFileUploadVerification();
@@ -28008,7 +28277,7 @@ var css_248z$1 = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-vi
28008
28277
  styleInject(css_248z$1);
28009
28278
 
28010
28279
  var ProgrammeDocuments = function (props) {
28011
- 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;
28280
+ 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;
28012
28281
  var t = translator.t;
28013
28282
  var userInfoState = useUserContext().userInfoState;
28014
28283
  var _a = useConnection(); _a.delete; var post = _a.post;
@@ -28503,5 +28772,5 @@ var TimelineBody = function (props) {
28503
28772
  React.createElement("div", { className: "remark-body" }, remark)))));
28504
28773
  };
28505
28774
 
28506
- export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, ImgWithFallback, InfoView, Instrument, InvestmentBGColor, InvestmentBody, InvestmentColor, InvestmentCreationComponent, InvestmentCreationType, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LegendItem, Loading, ManagerBGColor, ManagerColor, MapComponent, MapTypes, MapboxComponent, MinBGColor, MinColor, MitigationSubTypes, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcActionBody, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, NdcDetailsComponent, OrganisationStatus, ProfileIcon, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDocuments, ProgrammeEntity, ProgrammeIssueForm, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeRetireForm, ProgrammeRevokeForm, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeTransfer, ProgrammeTransferForm, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, StasticCard, StatsCardsTypes, SubTypeOfMitigation, SupportCreationComponent, SupportManagementComponent, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addNdcDesc, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, getValidNdcActions, isBase64, landAreaUnitList, methodologyOptions, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList };
28775
+ export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProvider, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, ImgWithFallback, InfoView, Instrument, InvestmentBGColor, InvestmentBody, InvestmentColor, InvestmentCreationComponent, InvestmentCreationType, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LegendItem, Loading, ManagerBGColor, ManagerColor, MapComponent, MapTypes, MapboxComponent, MinBGColor, MinColor, MitigationSubTypes, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcActionBody, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, NdcDetailsComponent, OrganisationStatus, ProfileIcon, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDocuments, ProgrammeEntity, ProgrammeIssueForm, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeRetireForm, ProgrammeRevokeForm, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeTransfer, ProgrammeTransferForm, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, SettingsContext, SettingsContextProvider, StasticCard, StatsCardsTypes, SubTypeOfMitigation, SupportCreationComponent, SupportManagementComponent, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserContext, UserInformationContextProvider, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addNdcDesc, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, getValidNdcActions, isBase64, landAreaUnitList, methodologyOptions, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, useConnection, useSettingsContext, useUserContext };
28507
28776
  //# sourceMappingURL=index.js.map