@undp/carbon-library 1.0.258-CARBON-380.0 → 1.0.258-CARBON-328.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -854,10 +854,10 @@ var CompanyManagementComponent = function (props) {
854
854
  } })))))));
855
855
  };
856
856
 
857
- 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\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";
857
+ var css_248z$s = ".company-details-form-container {\n width: 100%; }\n .company-details-form-container .company-details-form .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .company-details-form-container .company-details-form .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .company-details-form-container .company-details-form .row .website .ant-input {\n margin-left: 0.3rem; }\n .company-details-form-container .company-details-form .row .website .ant-input-group-addon {\n border: 1px solid #d9d9d9; }\n .company-details-form-container .company-details-form .row .logo-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: start;\n width: 100%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload {\n width: 20%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 75%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .company-details-form-container .company-details-form .row .details-part-one .space-container {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-one .space-container .ant-space-item {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #519e4f !important;\n border-color: #519e4f !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #519e4f; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffa070 !important;\n border-color: #ffa070 !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #ffa070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #9155fd !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #9155fd; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container {\n width: 45%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #16b1ff !important;\n border-color: #16b1ff !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #16b1ff; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container {\n width: 25%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #707070 !important;\n border-color: #707070 !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #707070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .anticon {\n margin-right: 0.5rem; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier .ant-radio-button-checked {\n background: rgba(128, 255, 0, 0.12);\n color: #519e4f; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev .ant-radio-button-checked {\n background: rgba(254, 241, 173, 0.5);\n color: #ffa070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov .ant-radio-button-checked {\n background: rgba(185, 226, 244, 0.56);\n color: #16b1ff; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister .ant-radio-button-checked {\n background: rgba(198, 144, 251, 0.12);\n color: #9155fd; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer .ant-radio-button-checked {\n background: rgba(176, 190, 197, 0.23);\n color: #707070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .role-icons {\n margin-right: 5px; }\n .company-details-form-container .company-details-form .row .details-part-two .space-container {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .space-container .ant-space-item {\n width: 100%; }\n\n.step-title-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .step-title-container .step-count {\n font-size: 2.2rem;\n font-weight: 800;\n margin-right: 0.4rem;\n color: rgba(58, 53, 65, 0.8); }\n .step-title-container .title {\n font-size: 1rem;\n font-weight: 600;\n color: #3a3541; }\n\n.add-company-main-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 50px; }\n .add-company-main-container .title-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px; }\n .add-company-main-container .title-container .main {\n font-size: 1.25rem;\n font-weight: 500;\n color: #16b1ff; }\n .add-company-main-container .title-container .sub {\n font-size: 0.8rem;\n color: #555657; }\n .add-company-main-container .adding-section {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n margin: 1rem 0 1rem 0;\n border-radius: 10px;\n padding: 2.5rem 1.5rem 2.5rem 1.5rem; }\n .add-company-main-container .adding-section .form-section {\n display: flex;\n margin-bottom: 2rem; }\n .add-company-main-container .adding-section .form-section .form-one {\n width: 100%; }\n .add-company-main-container .adding-section .form-section .steps {\n width: 15%; }\n .add-company-main-container .adding-section .form-section .steps-content {\n width: 85%; }\n .add-company-main-container .adding-section .steps-action {\n display: flex;\n flex-direction: row-reverse; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n height: auto;\n max-height: 200px; }\n\n.hide {\n display: none !important; }\n";
858
858
  styleInject(css_248z$s);
859
859
 
860
- var css_248z$r = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n\n.ant-menu {\n background-color: #f4f5fa; }\n\n.ant-layout-header {\n background-color: #f4f5fa; }\n\n.ant-layout {\n background-color: #f4f5fa; }\n\n.ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n\n.ant-menu-item {\n background-color: #f4f5fa; }\n\n.ant-menu-sub {\n background-color: #f4f5fa; }\n\n.ant-table-content {\n font-family: \"Inter\"; }\n\n.ant-input {\n border-radius: 5px !important; }\n\n.ant-btn {\n border-radius: 5px !important; }\n\n.ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n\n.ant-input-group .ant-input {\n width: 99% !important; }\n\n.ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n\n.ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n\n.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n\n.ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n\n.ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n\n.ant-table-thead\n> tr\n> th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n background-color: transparent !important; }\n\n.ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n\n.ant-form-item-label\n> label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n margin-left: 0.2rem !important;\n color: rgba(255, 77, 79, 0.8) !important; }\n\n.ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n\n.space-container {\n width: 100%; }\n .space-container .ant-space-item {\n width: 100%; }\n\n.PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n\n.PhoneInput .PhoneInputInput {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border: 1px solid #d9d9d9 !important;\n outline: none; }\n\n.filter-title {\n color: rgba(58, 53, 65, 0.8);\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.875rem; }\n\n.ant-radio-wrapper {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 22px;\n color: rgba(58, 53, 65, 0.8); }\n\n.ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n\n.PhoneInput .PhoneInputInput:focus-visible,\n.PhoneInput .PhoneInputInput:hover {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border-right: 1px solid #40a9ff !important;\n outline: 1px solid #40a9ff; }\n\n.layout-content-container {\n padding-bottom: 100px; }\n .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n .layout-content-container .ant-btn {\n height: 32px;\n font-weight: 500;\n font-size: 0.8rem;\n border-radius: 0.3rem;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);\n min-width: 80px;\n box-shadow: none; }\n .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n\n.content-container {\n padding: 0px 20px; }\n .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n\n.content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n .content-card .action-bar button {\n width: fit-content; }\n .content-card .filter-section {\n padding: 1.4rem 1.3rem 1.6rem 1.3rem;\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: end; }\n .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n .content-card .filter-section .ant-input-search\n> .ant-input-group\n> .ant-input-group-addon:last-child\n.ant-input-search-button {\n padding-top: 0;\n padding-bottom: 0;\n border-radius: 0 0.313rem 0.313rem 0 !important; }\n\n.layout-content-container .ant-btn {\n min-width: 50px !important; }\n\n.table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n\n.action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n .action-menu .anticon-edit {\n color: #16b1ff; }\n .action-menu .anticon-delete {\n color: #f25a29; }\n\n.ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n\n.ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n\n.ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n\n.ant-tag {\n border-radius: 20px; }\n\n.clickable {\n cursor: pointer; }\n\n.text-center {\n text-align: center; }\n\n.float-left {\n float: left; }\n\n.float-right {\n float: right; }\n\n.apexcharts-canvas {\n font-family: \"Inter\" !important; }\n\n.apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n\n.ant-tag {\n padding: 1px 10px; }\n\n.flex-display {\n display: flex; }\n\n.ant-modal-footer {\n border-top: none;\n text-align: center; }\n .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n\n.ant-modal-header {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-content {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-header {\n border: none; }\n\n.ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n .ant-modal-body .form-label {\n text-align: left; }\n .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n\n.popup-header {\n text-align: center;\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n font-family: \"Inter\";\n font-size: 0.9rem;\n margin: 25px 20px -20px 20px; }\n .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n .popup-header img {\n height: 100px; }\n\n.popup-success .icon {\n color: #5dc380; }\n\n.popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-primary .icon {\n color: #16b1ff; }\n\n.popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n\n.popup-danger .ant-btn-primary {\n background: rgba(255, 77, 79, 0.8);\n border-radius: rgba(255, 77, 79, 0.8);\n border: none; }\n\n.popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n\n.ant-modal-footer .ant-btn-default {\n color: rgba(140, 140, 140, 0.7) !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n\n.ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n\n.filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n\n.pull-right {\n float: right; }\n\n.disabled {\n opacity: 0.5; }\n\n.mg-left-3 {\n margin-left: 3rem; }\n\n.mg-left-2 {\n margin-left: 2rem !important; }\n\n.mg-left-1 {\n margin-left: 1rem; }\n\n.mg-top-1 {\n margin-top: 1rem; }\n\n.mg-top-2 {\n margin-top: 2rem; }\n\n.mg-bottom-1 {\n margin-bottom: 1rem !important; }\n\n.transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n .transfer-form .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";
860
+ var css_248z$r = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n\n.ant-menu {\n background-color: #f4f5fa; }\n\n.ant-layout-header {\n background-color: #f4f5fa; }\n\n.ant-layout {\n background-color: #f4f5fa; }\n\n.ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n\n.ant-menu-item {\n background-color: #f4f5fa; }\n\n.ant-menu-sub {\n background-color: #f4f5fa; }\n\n.ant-table-content {\n font-family: \"Inter\"; }\n\n.ant-input {\n border-radius: 5px !important; }\n\n.ant-btn {\n border-radius: 5px !important; }\n\n.ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n\n.ant-input-group .ant-input {\n width: 99% !important; }\n\n.ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n\n.ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n\n.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n\n.ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n\n.ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n\n.ant-table-thead\n> tr\n> th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n background-color: transparent !important; }\n\n.ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n\n.ant-form-item-label\n> label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n margin-left: 0.2rem !important;\n color: rgba(255, 77, 79, 0.8) !important; }\n\n.ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n\n.space-container {\n width: 100%; }\n .space-container .ant-space-item {\n width: 100%; }\n\n.PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n\n.PhoneInput .PhoneInputInput {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border: 1px solid #d9d9d9 !important;\n outline: none; }\n\n.filter-title {\n color: rgba(58, 53, 65, 0.8);\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.875rem; }\n\n.ant-radio-wrapper {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 22px;\n color: rgba(58, 53, 65, 0.8); }\n\n.ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n\n.PhoneInput .PhoneInputInput:focus-visible,\n.PhoneInput .PhoneInputInput:hover {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border-right: 1px solid #40a9ff !important;\n outline: 1px solid #40a9ff; }\n\n.layout-content-container {\n padding-bottom: 100px; }\n .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n .layout-content-container .ant-btn {\n height: 32px;\n font-weight: 500;\n font-size: 0.8rem;\n border-radius: 0.3rem;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);\n min-width: 80px;\n box-shadow: none; }\n .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n\n.content-container {\n padding: 0px 20px; }\n .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n\n.content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n .content-card .action-bar button {\n width: fit-content; }\n .content-card .filter-section {\n padding: 1.4rem 1.3rem 1.6rem 1.3rem;\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: end; }\n .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n .content-card .filter-section .ant-input-search\n> .ant-input-group\n> .ant-input-group-addon:last-child\n.ant-input-search-button {\n padding-top: 0;\n padding-bottom: 0;\n border-radius: 0 0.313rem 0.313rem 0 !important; }\n\n.layout-content-container .ant-btn {\n min-width: 50px !important; }\n\n.table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n\n.action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n .action-menu .anticon-edit {\n color: #16b1ff; }\n .action-menu .anticon-delete {\n color: #f25a29; }\n\n.ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n\n.ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n\n.ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n\n.ant-tag {\n border-radius: 20px; }\n\n.clickable {\n cursor: pointer; }\n\n.text-center {\n text-align: center; }\n\n.float-left {\n float: left; }\n\n.float-right {\n float: right; }\n\n.apexcharts-canvas {\n font-family: \"Inter\" !important; }\n\n.apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n\n.ant-tag {\n padding: 1px 10px; }\n\n.flex-display {\n display: flex; }\n\n.ant-modal-footer {\n border-top: none;\n text-align: center; }\n .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n\n.ant-modal-header {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-content {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-header {\n border: none; }\n\n.ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n .ant-modal-body .form-label {\n text-align: left; }\n .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n\n.popup-header {\n text-align: center;\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n font-family: \"Inter\";\n font-size: 0.9rem;\n margin: 25px 20px -20px 20px; }\n .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n .popup-header img {\n height: 100px; }\n\n.popup-success .icon {\n color: #5dc380; }\n\n.popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-primary .icon {\n color: #16b1ff; }\n\n.popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n\n.popup-danger .ant-btn-primary {\n background: rgba(255, 77, 79, 0.8);\n border-radius: rgba(255, 77, 79, 0.8);\n border: none; }\n\n.popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n\n.ant-modal-footer .ant-btn-default {\n color: rgba(140, 140, 140, 0.7) !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n\n.ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n\n.filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n\n.pull-right {\n float: right; }\n\n.disabled {\n opacity: 0.5; }\n\n.mg-left-3 {\n margin-left: 3rem; }\n\n.mg-left-2 {\n margin-left: 2rem !important; }\n\n.mg-left-1 {\n margin-left: 1rem; }\n\n.mg-top-1 {\n margin-top: 1rem; }\n\n.mg-top-2 {\n margin-top: 2rem; }\n\n.mg-bottom-1 {\n margin-bottom: 1rem !important; }\n\n.transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n .transfer-form .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 20px;\n align-items: center;\n justify-content: start;\n margin-left: 5px; }\n .transfer-form .ant-row {\n align-items: unset; }\n .transfer-form .sub-text {\n margin-bottom: 35px;\n font-size: 0.9rem;\n font-weight: 500; }\n .transfer-form .label {\n text-align: left;\n font-size: 0.9rem;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .seperator {\n font-size: 1.2rem;\n color: #d9d9d9; }\n .transfer-form .footer {\n margin-bottom: 0px;\n margin-top: 15px; }\n .transfer-form label {\n font-size: 0.8rem; }\n .transfer-form .ant-radio-wrapper {\n font-size: 0.9rem; }\n .transfer-form input {\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form button {\n text-transform: uppercase;\n font-weight: 500; }\n\n.color-error {\n color: rgba(255, 77, 79, 0.8); }\n\n.color-primary {\n color: #16b1ff; }\n\n.ant-input-number-input {\n text-align: right; }\n\n.text-left {\n text-align: left; }\n\n.ant-form-item .ant-radio-group {\n text-align: left; }\n\n.loading-center {\n margin: auto;\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%; }\n\n.ant-tag-purple {\n color: #976ed7; }\n\n.ant-tag-orange {\n color: #ff8f56; }\n\n.ant-tag-default {\n color: rgba(58, 53, 65, 0.5); }\n\n.ant-popover-inner {\n border-radius: 4px; }\n\n.ant-input-number {\n border-radius: 5px; }\n\n.ret-icon {\n background-color: rgba(254, 241, 173, 0.5);\n color: #ff8f56; }\n\n.flag-ret-icon {\n display: flex !important;\n background-color: #f4f5fa;\n font-size: 1.1rem !important;\n padding: 7px; }\n\n.b-icon {\n vertical-align: middle; }\n\n.ant-message-notice-content {\n padding: 0px;\n border-radius: 5px; }\n .ant-message-notice-content .ant-message-custom-content {\n font-size: 0.8rem;\n border-radius: 5px;\n padding: 17px 24px; }\n .ant-message-notice-content .ant-message-error {\n color: rgba(255, 77, 79, 0.8);\n border: 1px solid rgba(255, 77, 79, 0.8); }\n .ant-message-notice-content .ant-message-success {\n color: #5bce00;\n border: 1px solid #5bce00; }\n\n.ant-select-selection-item {\n color: rgba(58, 53, 65, 0.6); }\n\n.sub-text {\n font-size: 0.9rem;\n font-weight: 500; }\n\n.search-filter {\n margin-right: 15px; }\n\n.mg-bottom-0 {\n margin-bottom: 0px; }\n\n.padding-bottom-0 {\n padding-bottom: 0px; }\n\n.ellipsis-overflow {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical; }\n\n.nextline-overflow {\n overflow-wrap: break-word; }\n\n.ant-message {\n width: 50%;\n right: 0px;\n left: auto;\n min-width: 400px; }\n";
861
861
  styleInject(css_248z$r);
862
862
 
863
863
  exports.UserManagementColumns = void 0;
@@ -5947,16 +5947,16 @@ var AddNewCompanyComponent = function (props) {
5947
5947
  }); };
5948
5948
  var onUpdateCompany = function () { return __awaiter(void 0, void 0, void 0, function () {
5949
5949
  var formOneValues, values, logoBase64, logoUrls, response, error_3;
5950
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
5951
- return __generator(this, function (_k) {
5952
- switch (_k.label) {
5950
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5951
+ return __generator(this, function (_l) {
5952
+ switch (_l.label) {
5953
5953
  case 0:
5954
5954
  setLoading(true);
5955
5955
  formOneValues = formOne.getFieldsValue();
5956
5956
  formOneValues.phoneNo = PhoneInput.formatPhoneNumberIntl(formOneValues.phoneNo);
5957
- _k.label = 1;
5957
+ _l.label = 1;
5958
5958
  case 1:
5959
- _k.trys.push([1, 5, , 6]);
5959
+ _l.trys.push([1, 5, , 6]);
5960
5960
  values = {};
5961
5961
  if (regionField) {
5962
5962
  values = {
@@ -5989,6 +5989,9 @@ var AddNewCompanyComponent = function (props) {
5989
5989
  values.nameOfMinister = formOneValues.nameOfMinister;
5990
5990
  }
5991
5991
  if (((_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.companyRole) === exports.CompanyRole.GOVERNMENT) {
5992
+ values.omgePercentage = Math.round(Number(formOneValues.omgePercentage));
5993
+ }
5994
+ if (((_j = state === null || state === void 0 ? void 0 : state.record) === null || _j === void 0 ? void 0 : _j.companyRole) === exports.CompanyRole.GOVERNMENT) {
5992
5995
  values.nationalSopValue = Math.floor(Number(formOneValues.nationalSopValue));
5993
5996
  }
5994
5997
  if (formOneValues.website) {
@@ -5999,15 +6002,15 @@ var AddNewCompanyComponent = function (props) {
5999
6002
  }
6000
6003
  if (!formOneValues.logo) return [3 /*break*/, 3];
6001
6004
  if (!(formOneValues.logo.length !== 0)) return [3 /*break*/, 3];
6002
- return [4 /*yield*/, getBase64((_j = formOneValues.logo[0]) === null || _j === void 0 ? void 0 : _j.originFileObj)];
6005
+ return [4 /*yield*/, getBase64((_k = formOneValues.logo[0]) === null || _k === void 0 ? void 0 : _k.originFileObj)];
6003
6006
  case 2:
6004
- logoBase64 = _k.sent();
6007
+ logoBase64 = _l.sent();
6005
6008
  logoUrls = logoBase64.split(",");
6006
6009
  values.logo = logoUrls[1];
6007
- _k.label = 3;
6010
+ _l.label = 3;
6008
6011
  case 3: return [4 /*yield*/, put("national/organisation/update", values)];
6009
6012
  case 4:
6010
- response = _k.sent();
6013
+ response = _l.sent();
6011
6014
  if (response.status === 200 || response.status === 201) {
6012
6015
  setUserInfo({
6013
6016
  companyLogo: response.data.logo,
@@ -6023,7 +6026,7 @@ var AddNewCompanyComponent = function (props) {
6023
6026
  setLoading(false);
6024
6027
  return [3 /*break*/, 6];
6025
6028
  case 5:
6026
- error_3 = _k.sent();
6029
+ error_3 = _l.sent();
6027
6030
  antd.message.open({
6028
6031
  type: "error",
6029
6032
  content: "".concat(t("errorInUpdatingCompany"), " ").concat(error_3.message),
@@ -6044,7 +6047,7 @@ var AddNewCompanyComponent = function (props) {
6044
6047
  setCompanyRole(value);
6045
6048
  };
6046
6049
  var CompanyDetailsForm = function () {
6047
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
6050
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
6048
6051
  var companyRoleClassName = companyRole === exports.CompanyRole.CERTIFIER
6049
6052
  ? "certifier"
6050
6053
  : companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER
@@ -6276,7 +6279,7 @@ var AddNewCompanyComponent = function (props) {
6276
6279
  width: "45%",
6277
6280
  }
6278
6281
  : {} },
6279
- React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of projects" },
6282
+ React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of programmes" },
6280
6283
  React.createElement(antd.Radio.Button, { className: "certifier", value: "Certifier" },
6281
6284
  React.createElement(icons.SafetyOutlined, { className: "role-icons" }),
6282
6285
  "Certifier"))),
@@ -6286,14 +6289,15 @@ var AddNewCompanyComponent = function (props) {
6286
6289
  width: "45%",
6287
6290
  marginLeft: isGuest ? "30px" : 0,
6288
6291
  }
6289
- : { marginLeft: isGuest ? "30px" : 0, } },
6290
- React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own projects and transfer carbon credits" },
6292
+ : { marginLeft: isGuest ? "30px" : 0 } },
6293
+ React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own programmes and transfer carbon credits" },
6291
6294
  React.createElement(antd.Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
6292
6295
  React.createElement(icons.ExperimentOutlined, { className: "role-icons" }),
6293
6296
  "Developer"))),
6294
- ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
6295
- exports.CompanyRole.MINISTRY) && !isGuest && (React.createElement("div", { className: "minister-radio-container" },
6296
- React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to perform all project-related actions within the Ministry" },
6297
+ (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
6298
+ exports.CompanyRole.MINISTRY &&
6299
+ !isGuest && (React.createElement("div", { className: "minister-radio-container" },
6300
+ React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to perform all programme-related actions within the Ministry" },
6297
6301
  React.createElement(antd.Radio.Button, { className: "minister", value: "Ministry" },
6298
6302
  React.createElement(icons.AuditOutlined, { className: "role-icons" }),
6299
6303
  "Ministry")))))))),
@@ -6381,7 +6385,30 @@ var AddNewCompanyComponent = function (props) {
6381
6385
  }); },
6382
6386
  },
6383
6387
  ] },
6384
- React.createElement(antd.Input.TextArea, { rows: 3, maxLength: 100 })))))),
6388
+ React.createElement(antd.Input.TextArea, { rows: 3, maxLength: 100 }))),
6389
+ companyRole === exports.CompanyRole.GOVERNMENT &&
6390
+ systemType !== exports.CarbonSystemType.MRV && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
6391
+ React.createElement(antd.Space, { wrap: true, style: {
6392
+ display: "flex",
6393
+ marginBottom: 8,
6394
+ }, align: "center", size: "large" },
6395
+ React.createElement(antd.Form.Item, { style: { width: "100%" }, name: "omgePercentage", label: "Overall Mitigation in Global Emissions (OMGE) Account", initialValue: (_p = state === null || state === void 0 ? void 0 : state.record) === null || _p === void 0 ? void 0 : _p.omgePercentage, rules: [
6396
+ { required: true, message: "" },
6397
+ {
6398
+ validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6399
+ return __generator(this, function (_a) {
6400
+ if (String(value).trim() === "" ||
6401
+ String(value).trim() === undefined ||
6402
+ value === null ||
6403
+ value === undefined) {
6404
+ throw new Error("Overall Mitigation in Global Emissions (OMGE) Account ".concat(t("isRequired")));
6405
+ }
6406
+ return [2 /*return*/];
6407
+ });
6408
+ }); },
6409
+ },
6410
+ ] },
6411
+ React.createElement(antd.InputNumber, { style: { width: "100%" }, size: "large", min: 1, max: 99, formatter: function (value) { return "".concat(Math.round(value), "%"); }, parser: function (value) { return value.replace("%", ""); } })))))))),
6385
6412
  React.createElement("div", { className: "steps-actions" }, isUpdate ? (React.createElement(antd.Row, null,
6386
6413
  React.createElement(antd.Button, { loading: loading, onClick: onCancel }, t("addCompany:cancel")),
6387
6414
  React.createElement(antd.Button, { loading: loading, className: "mg-left-1", type: "primary", htmlType: "submit" }, t("addCompany:submit")))) : (current === 0 && (React.createElement(antd.Button, { type: "primary", htmlType: "submit" }, "Next"))))))));
@@ -6516,7 +6543,7 @@ var css_248z$q = ".company-profile {\n padding: 0px 50px; }\n .company-profile
6516
6543
  styleInject(css_248z$q);
6517
6544
 
6518
6545
  var CompanyProfileComponent = function (props) {
6519
- var t = props.t, useAbilityContext = props.useAbilityContext, useLocation = props.useLocation, useConnection = props.useConnection, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, onNavigateToCompanyEdit = props.onNavigateToCompanyEdit, regionField = props.regionField;
6546
+ var t = props.t, useAbilityContext = props.useAbilityContext, useLocation = props.useLocation, useConnection = props.useConnection, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, onNavigateToCompanyEdit = props.onNavigateToCompanyEdit, regionField = props.regionField, systemType = props.systemType;
6520
6547
  var _a = useConnection(), get = _a.get, put = _a.put, post = _a.post;
6521
6548
  var _b = React.useState(undefined), companyDetails = _b[0], setCompanyDetails = _b[1];
6522
6549
  var _c = React.useState(undefined), userDetails = _c[0], setUserDetails = _c[1];
@@ -6909,6 +6936,13 @@ var CompanyProfileComponent = function (props) {
6909
6936
  React.createElement(antd.Col, { span: 12, className: "field-value" }, companyDetails.remarks
6910
6937
  ? companyDetails.remarks
6911
6938
  : "-"))) : (""),
6939
+ (companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.companyRole) === exports.CompanyRole.GOVERNMENT &&
6940
+ systemType !== exports.CarbonSystemType.MRV && (React.createElement(React.Fragment, null,
6941
+ React.createElement(antd.Row, { className: "field" },
6942
+ React.createElement(antd.Col, { span: 12, className: "field-key" }, t("companyProfile:omgePercentage")),
6943
+ React.createElement(antd.Col, { span: 12, className: "field-value" }, companyDetails.omgePercentage
6944
+ ? companyDetails.omgePercentage
6945
+ : "-")))),
6912
6946
  (companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.companyRole) === exports.CompanyRole.GOVERNMENT && (React.createElement(React.Fragment, null,
6913
6947
  React.createElement(antd.Row, { className: "field" },
6914
6948
  React.createElement(antd.Col, { span: 12, className: "field-key" }, t("companyProfile:nationalSopValue")),
@@ -6930,9 +6964,7 @@ var CompanyProfileComponent = function (props) {
6930
6964
  React.createElement(antd.Col, { span: 12, className: "field-value" }, (userDetails === null || userDetails === void 0 ? void 0 : userDetails.email) ? userDetails === null || userDetails === void 0 ? void 0 : userDetails.email : "-")),
6931
6965
  React.createElement(antd.Row, { className: "field" },
6932
6966
  React.createElement(antd.Col, { span: 12, className: "field-key" }, t("companyProfile:adminPhone")),
6933
- React.createElement(antd.Col, { span: 12, className: "field-value" }, (userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo)
6934
- ? userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo
6935
- : "-"))))))))),
6967
+ React.createElement(antd.Col, { span: 12, className: "field-value" }, (userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo) ? userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo : "-"))))))))),
6936
6968
  React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: onDeauthoriseOrgConfirmed, onActionCanceled: onDeauthoriseOrgCanceled, openModal: openDeauthorisationModal, errorMsg: errorMsg, loading: isLoading }),
6937
6969
  React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: onReactivateOrgConfirmed, onActionCanceled: onReactivateOrgCanceled, openModal: openReactivateModal, errorMsg: errorMsg, loading: isLoading }),
6938
6970
  React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: onApproveOrgConfirmed, onActionCanceled: onApproveOrgCanceled, openModal: openApproveModal, errorMsg: errorMsg, loading: isLoading }),
@@ -20991,7 +21023,9 @@ var AddNdcActionComponent = function (props) {
20991
21023
  title: (React.createElement("div", { className: "step-title-container" },
20992
21024
  React.createElement("div", { className: "step-count" }, "01"),
20993
21025
  React.createElement("div", { className: "title" }, t("ndcAction:ndcActionDetailsTitle")),
20994
- React.createElement("div", { className: "info-container" }))),
21026
+ React.createElement("div", { className: "info-container" },
21027
+ React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "right", trigger: "hover", title: t("ndcAction:ndcToolTip"), overlayClassName: "custom-tooltip" },
21028
+ React.createElement(Icon.InfoCircle, { color: "#000000", size: 17 }))))),
20995
21029
  description: (React.createElement("div", { className: current !== 1 ? "hide" : "" },
20996
21030
  React.createElement(NdcActionDetails, { isBackBtnVisible: false, onFormSubmit: onNdcActionDetailsSubmit, ndcActionDetails: ndcActionDetails, translator: translator, programmeDetails: programmeDetails }))),
20997
21031
  },
@@ -21726,6 +21760,30 @@ var TransferActionModel = function (props) {
21726
21760
  React.createElement(antd.Col, { lg: 6, md: 4 },
21727
21761
  React.createElement(antd.Form.Item, { className: "popup-credit-input" },
21728
21762
  React.createElement(antd.InputNumber, { placeholder: addCommSep(transfer.creditAmount), disabled: true })))),
21763
+ transfer.retirementType === exports.RetireType.CROSS_BORDER && (React.createElement(antd.Row, null,
21764
+ React.createElement(antd.Col, { lg: 18, md: 20 },
21765
+ React.createElement("div", { className: "label" }, "".concat(t("view:govInternationalAcc")))),
21766
+ React.createElement(antd.Col, { lg: 6, md: 4 },
21767
+ React.createElement(antd.Form.Item, { className: "popup-credit-input" },
21768
+ React.createElement(antd.InputNumber, { placeholder: transfer.creditAmount
21769
+ ? addCommSep(transfer.creditAmount -
21770
+ Number(((transfer.omgePercentage *
21771
+ transfer.creditAmount) /
21772
+ 100).toFixed(2)))
21773
+ : "-", disabled: true }))))),
21774
+ transfer.retirementType === exports.RetireType.CROSS_BORDER && (React.createElement(antd.Row, null,
21775
+ React.createElement(antd.Col, { lg: 18, md: 20, style: { display: "flex" } },
21776
+ React.createElement("div", { className: "label" }, "".concat(t("view:omgeAcc"))),
21777
+ React.createElement("div", { className: "info-container" },
21778
+ React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "topLeft", trigger: "hover", title: t("view:omgeDesc"), overlayClassName: "custom-tooltip" },
21779
+ React.createElement(Icon.InfoCircle, { color: "#000000", size: 15 })))),
21780
+ React.createElement(antd.Col, { lg: 6, md: 4 },
21781
+ React.createElement(antd.Form.Item, { className: "popup-credit-input" },
21782
+ React.createElement(antd.InputNumber, { placeholder: transfer.creditAmount
21783
+ ? addCommSep(Number(((transfer.omgePercentage *
21784
+ transfer.creditAmount) /
21785
+ 100).toFixed(2)))
21786
+ : "-", disabled: true }))))),
21729
21787
  React.createElement(antd.Row, null,
21730
21788
  React.createElement(antd.Col, { span: 24 },
21731
21789
  React.createElement(antd.Form.Item, { className: "remarks-label", label: "Remarks", name: "comment", rules: [
@@ -24134,46 +24192,46 @@ var toolTipTextGen = function (companyRole, cardType, mine) {
24134
24192
  var text = '';
24135
24193
  if (companyRole === exports.CompanyRole.GOVERNMENT) {
24136
24194
  if (cardType === exports.StatsCardsTypes.PROGRAMMES_PENDING) {
24137
- text = 'Pending state projects awaiting authorisation';
24195
+ text = 'Pending state programmes awaiting authorisation';
24138
24196
  }
24139
24197
  else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
24140
24198
  text =
24141
- 'Pending credit transfer requests sent to project owners initiated by your organisation';
24199
+ 'Pending credit transfer requests sent to programme owners initiated by your organisation';
24142
24200
  }
24143
24201
  else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
24144
24202
  text = 'Total credit balance owned by your organisation';
24145
24203
  }
24146
24204
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24147
24205
  text =
24148
- 'Number of projects created during the specified period and their project state in the carbon registry at present';
24206
+ 'Number of programmes created during the specified period and their programme state in the carbon registry at present';
24149
24207
  }
24150
24208
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24151
24209
  text =
24152
- 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
24210
+ 'Number of credits of programmes created during the specified period and their credit state in the carbon registry at present';
24153
24211
  }
24154
24212
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24155
24213
  text =
24156
- 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24214
+ 'Number of credits of programmes created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24157
24215
  }
24158
24216
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24159
24217
  text =
24160
- 'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
24218
+ 'Graphical representation of the number of programmes created during the specified period in each programme state in the carbon registry at present';
24161
24219
  }
24162
24220
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24163
24221
  text =
24164
- 'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
24222
+ 'Graphical representation of the number of programmes in each programme sector created during the specified time in the carbon registry';
24165
24223
  }
24166
24224
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24167
24225
  text =
24168
- 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
24226
+ 'Graphical representation of the number of credits of programmes created during the specified period in each credit state in the carbon registry at present';
24169
24227
  }
24170
24228
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24171
24229
  text =
24172
- 'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
24230
+ 'Graphical representation of the number of credits of programmes created during the specified period certified, uncertified and revoked in the carbon registry at present';
24173
24231
  }
24174
24232
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24175
24233
  text =
24176
- 'Locations of the projects created during the specified period and their project states in the carbon registry at present';
24234
+ 'Locations of the programmes created during the specified period and their programme states in the carbon registry at present';
24177
24235
  }
24178
24236
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24179
24237
  text =
@@ -24192,131 +24250,131 @@ var toolTipTextGen = function (companyRole, cardType, mine) {
24192
24250
  }
24193
24251
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24194
24252
  text =
24195
- 'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
24253
+ 'Number of programmes created during the specified period and their programme state in the carbon registry at present, owned by your organisation';
24196
24254
  }
24197
24255
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24198
24256
  text =
24199
- 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
24257
+ 'Number of credits of programmes created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
24200
24258
  }
24201
24259
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24202
24260
  text =
24203
- 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
24261
+ 'Number of credits of programmes created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
24204
24262
  }
24205
24263
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24206
24264
  text =
24207
- 'Graphical representation of the number of projects created during the specified period, owned by your organisation, in each project state in the carbon registry at present';
24265
+ 'Graphical representation of the number of programmes created during the specified period, owned by your organisation, in each programme state in the carbon registry at present';
24208
24266
  }
24209
24267
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24210
24268
  text =
24211
- 'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
24269
+ 'Graphical representation of the number of programmes owned by your organisation, in each programme sector created during the specified time in the carbon registry';
24212
24270
  }
24213
24271
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24214
24272
  text =
24215
- 'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, in each credit state in the carbon registry at present';
24273
+ 'Graphical representation of the number of credits of programmes created during the specified period, owned by your organisation, in each credit state in the carbon registry at present';
24216
24274
  }
24217
24275
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24218
24276
  text =
24219
- 'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, certified, uncertified and revoked in the carbon registry at present';
24277
+ 'Graphical representation of the number of credits of programmes created during the specified period, owned by your organisation, certified, uncertified and revoked in the carbon registry at present';
24220
24278
  }
24221
24279
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24222
24280
  text =
24223
- 'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
24281
+ 'Locations of the programmes created during the specified period, owned by your organisation, and their programme states in the carbon registry at present';
24224
24282
  }
24225
24283
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24226
24284
  text =
24227
- 'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
24285
+ 'Locations of credits international transfer requests of programmes owned by your organisation recognised during the specified period';
24228
24286
  }
24229
24287
  }
24230
24288
  else if (companyRole === exports.CompanyRole.CERTIFIER && mine === true) {
24231
24289
  if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
24232
24290
  text =
24233
- 'Number of projects not yet certified including certificates revoked by your organisation';
24291
+ 'Number of programmes not yet certified including certificates revoked by your organisation';
24234
24292
  }
24235
24293
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
24236
- text = 'Number of projects certified by your organisation';
24294
+ text = 'Number of programmes certified by your organisation';
24237
24295
  }
24238
24296
  else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
24239
24297
  text = 'Number of credits certified by your organisation';
24240
24298
  }
24241
24299
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24242
24300
  text =
24243
- 'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
24301
+ 'Number of programmes created during the specified period, certified by your organisation, and their programme state in the carbon registry at present';
24244
24302
  }
24245
24303
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24246
24304
  text =
24247
- 'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
24305
+ 'Number of credits of programmes created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
24248
24306
  }
24249
24307
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24250
24308
  text =
24251
- 'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
24309
+ 'Number of credits of programmes created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
24252
24310
  }
24253
24311
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24254
24312
  text =
24255
- 'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
24313
+ 'Graphical representation of the number of programmes in each programme sector created during the specified time, certified by your company, in the carbon registry';
24256
24314
  }
24257
24315
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24258
24316
  text =
24259
- 'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
24317
+ 'Graphical representation of the number of programmes in each programme sector created during the specified time, certified by your company, in the carbon registry';
24260
24318
  }
24261
24319
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24262
24320
  text =
24263
- 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
24321
+ 'Graphical representation of the number of credits of programmes created during the specified period in each credit state in the carbon registry at present';
24264
24322
  }
24265
24323
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24266
24324
  text =
24267
- 'Graphical representation of the number of credits of projects certified, uncertified and revoked (refer above for states), by your organisation, spread over the specified time';
24325
+ 'Graphical representation of the number of credits of programmes certified, uncertified and revoked (refer above for states), by your organisation, spread over the specified time';
24268
24326
  }
24269
24327
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24270
24328
  text =
24271
- 'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
24329
+ 'Locations of the programmes created during the specified period, certified by your organisation, and their programme states in the carbon registry at present';
24272
24330
  }
24273
24331
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24274
24332
  text =
24275
- 'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
24333
+ 'Locations of credits of international transfer requests of programmes certified by your organisation recognised during the specified period';
24276
24334
  }
24277
24335
  }
24278
24336
  else if (companyRole === exports.CompanyRole.CERTIFIER && !mine) {
24279
24337
  if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
24280
24338
  text =
24281
- 'Number of projects not yet certified including certificates revoked by your organisation';
24339
+ 'Number of programmes not yet certified including certificates revoked by your organisation';
24282
24340
  }
24283
24341
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
24284
- text = 'Number of projects certified by your organisation';
24342
+ text = 'Number of programmes certified by your organisation';
24285
24343
  }
24286
24344
  else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
24287
24345
  text = 'Number of credits certified by your organisation';
24288
24346
  }
24289
24347
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24290
24348
  text =
24291
- 'Number of projects created during the specified period and their project state in the carbon registry at present';
24349
+ 'Number of programmes created during the specified period and their programme state in the carbon registry at present';
24292
24350
  }
24293
24351
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24294
24352
  text =
24295
- 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
24353
+ 'Number of credits of programmes created during the specified period and their credit state in the carbon registry at present';
24296
24354
  }
24297
24355
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24298
24356
  text =
24299
- 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24357
+ 'Number of credits of programmes created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24300
24358
  }
24301
24359
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24302
24360
  text =
24303
- 'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
24361
+ 'Graphical representation of the number of programmes created during the specified period in each programme state in the carbon registry at present';
24304
24362
  }
24305
24363
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24306
24364
  text =
24307
- 'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
24365
+ 'Graphical representation of the number of programmes in each programme sector created during the specified time in the carbon registry';
24308
24366
  }
24309
24367
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24310
24368
  text =
24311
- 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
24369
+ 'Graphical representation of the number of credits of programmes created during the specified period in each credit state in the carbon registry at present';
24312
24370
  }
24313
24371
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24314
24372
  text =
24315
- 'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
24373
+ 'Graphical representation of the number of credits of programmes created during the specified period certified, uncertified and revoked in the carbon registry at present';
24316
24374
  }
24317
24375
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24318
24376
  text =
24319
- 'Locations of the projects created during the specified period and their project states in the carbon registry at present';
24377
+ 'Locations of the programmes created during the specified period and their programme states in the carbon registry at present';
24320
24378
  }
24321
24379
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24322
24380
  text =
@@ -24347,7 +24405,7 @@ var StasticCard = function (props) {
24347
24405
  };
24348
24406
 
24349
24407
  var ProgrammeRejectAndTransferComponent = function (props) {
24350
- var totalPrgrammes = props.totalPrgrammes, pending = props.pending, rejected = props.rejected, authorized = props.authorized, updatedDate = props.updatedDate, loading = props.loading, toolTipText = props.toolTipText, t = props.t;
24408
+ var totalPrgrammes = props.totalPrgrammes, pending = props.pending, rejected = props.rejected, authorized = props.authorized, updatedDate = props.updatedDate, loading = props.loading, toolTipText = props.toolTipText;
24351
24409
  React.useEffect(function () {
24352
24410
  console.log({ pending: pending, totalPrgrammes: totalPrgrammes });
24353
24411
  });
@@ -24355,7 +24413,7 @@ var ProgrammeRejectAndTransferComponent = function (props) {
24355
24413
  React.createElement(antd.Skeleton, { active: true }),
24356
24414
  React.createElement(antd.Skeleton, { active: true }))) : (React.createElement(React.Fragment, null,
24357
24415
  React.createElement("div", { className: "title-section" },
24358
- React.createElement("div", { className: "title" }, t("programmes")),
24416
+ React.createElement("div", { className: "title" }, "Programmes"),
24359
24417
  React.createElement("div", { className: "info-container" },
24360
24418
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: toolTipText },
24361
24419
  React.createElement(Icon.InfoCircle, { color: "#000000", size: 17 })))),
@@ -26027,7 +26085,7 @@ var RegistryDashboardComponent = function (props) {
26027
26085
  ? "tTProgrammesProgrammeDev"
26028
26086
  : categoryType === "mine"
26029
26087
  ? "tTProgrammesCertifierMine"
26030
- : "tTProgrammesCertifierOverall"), t: t })),
26088
+ : "tTProgrammesCertifierOverall") })),
26031
26089
  React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col pie" },
26032
26090
  React.createElement(RegistryPieChartsStatComponent, { id: "credits", title: t("credits"), options: optionDonutPieA, series: creditsPieSeries, lastUpdate: lastUpdateProgrammesCreditsStats, loading: loading, toolTipText: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
26033
26091
  ? "tTCreditsGovernment"
@@ -26937,7 +26995,48 @@ var ProgrammeRetireForm = function (props) {
26937
26995
  var _e = React.useState([]), countryList = _e[0], setCountryList = _e[1];
26938
26996
  var _f = React.useState(); _f[0]; var setValue = _f[1];
26939
26997
  var _g = React.useState(false), checked = _g[0], setChecked = _g[1];
26940
- var _h = useConnection(); _h.get; _h.delete; var post = _h.post;
26998
+ var _h = React.useState(), govData = _h[0], setGovData = _h[1];
26999
+ var _j = useConnection(); _j.get; _j.delete; var post = _j.post;
27000
+ var getGovernmentDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
27001
+ var response, error_1;
27002
+ return __generator(this, function (_a) {
27003
+ switch (_a.label) {
27004
+ case 0:
27005
+ setLoading(true);
27006
+ _a.label = 1;
27007
+ case 1:
27008
+ _a.trys.push([1, 3, 4, 5]);
27009
+ console.log("getting government profile");
27010
+ return [4 /*yield*/, post("national/organisation/query", {
27011
+ page: 1,
27012
+ size: 100,
27013
+ filterAnd: [
27014
+ {
27015
+ key: "companyRole",
27016
+ operation: "=",
27017
+ value: exports.CompanyRole.GOVERNMENT,
27018
+ },
27019
+ ],
27020
+ })];
27021
+ case 2:
27022
+ response = _a.sent();
27023
+ if (response.data) {
27024
+ setGovData(response === null || response === void 0 ? void 0 : response.data[0]);
27025
+ console.log("gov profile", response === null || response === void 0 ? void 0 : response.data[0]);
27026
+ return [2 /*return*/, response === null || response === void 0 ? void 0 : response.data[0]];
27027
+ }
27028
+ return [3 /*break*/, 5];
27029
+ case 3:
27030
+ error_1 = _a.sent();
27031
+ console.log("Error in getting government data", error_1);
27032
+ return [3 /*break*/, 5];
27033
+ case 4:
27034
+ setLoading(false);
27035
+ return [7 /*endfinally*/];
27036
+ case 5: return [2 /*return*/];
27037
+ }
27038
+ });
27039
+ }); };
26941
27040
  var handleSearch = function (newValue) { return __awaiter(void 0, void 0, void 0, function () {
26942
27041
  var resp;
26943
27042
  return __generator(this, function (_a) {
@@ -26981,8 +27080,8 @@ var ProgrammeRetireForm = function (props) {
26981
27080
  programme.creditOwnerPercentage = [100];
26982
27081
  }
26983
27082
  var companies = {};
26984
- for (var _i = 0, _j = programme.company; _i < _j.length; _i++) {
26985
- var c = _j[_i];
27083
+ for (var _i = 0, _k = programme.company; _i < _k.length; _i++) {
27084
+ var c = _k[_i];
26986
27085
  companies[c.companyId] = c;
26987
27086
  }
26988
27087
  var validCompanies = [];
@@ -27016,7 +27115,11 @@ var ProgrammeRetireForm = function (props) {
27016
27115
  if (hideType) {
27017
27116
  setType("0");
27018
27117
  }
27118
+ getGovernmentDetails();
27019
27119
  }, []);
27120
+ if (!govData) {
27121
+ return React.createElement("div", null, "Loading");
27122
+ }
27020
27123
  return (React.createElement("div", { className: "transfer-form" },
27021
27124
  subText && (React.createElement(antd.Row, null,
27022
27125
  React.createElement(antd.Col, { span: 24, className: "sub-text" }, subText))),
@@ -27052,6 +27155,7 @@ var ProgrammeRetireForm = function (props) {
27052
27155
  country: d.country,
27053
27156
  };
27054
27157
  }
27158
+ d.omgePercentage = Number(govData.omgePercentage);
27055
27159
  return [4 /*yield*/, onFinish(d)];
27056
27160
  case 1:
27057
27161
  res = _a.sent();
@@ -27146,7 +27250,31 @@ var ProgrammeRetireForm = function (props) {
27146
27250
  React.createElement(antd.Col, { lg: 1, md: 1, className: "seperator" }, "/"),
27147
27251
  React.createElement(antd.Col, { lg: 6, md: 12 },
27148
27252
  React.createElement(antd.Form.Item, { className: "popup-credit-input" },
27149
- React.createElement(antd.InputNumber, { placeholder: addCommSep(totalCredits), disabled: true }))))))),
27253
+ React.createElement(antd.InputNumber, { placeholder: addCommSep(totalCredits), disabled: true }))))),
27254
+ React.createElement(antd.Row, null,
27255
+ React.createElement(antd.Col, { lg: 11, md: 24 },
27256
+ React.createElement("div", { className: "label" }, "".concat(t("view:govInternationalAcc")))),
27257
+ React.createElement(antd.Col, { lg: 6, md: 12 },
27258
+ React.createElement(antd.Form.Item, { className: "popup-credit-input" },
27259
+ React.createElement(antd.InputNumber, { placeholder: addCommSep(currentSum -
27260
+ Number(((currentSum * govData.omgePercentage) / 100).toFixed(2))), disabled: true }))),
27261
+ React.createElement(antd.Col, { lg: 1, md: 1, className: "seperator" }, "/"),
27262
+ React.createElement(antd.Col, { lg: 6, md: 12 },
27263
+ React.createElement(antd.Form.Item, { className: "popup-credit-input" },
27264
+ React.createElement(antd.InputNumber, { placeholder: addCommSep(totalCredits), disabled: true })))),
27265
+ React.createElement(antd.Row, null,
27266
+ React.createElement(antd.Col, { lg: 11, md: 24, style: { display: "flex" } },
27267
+ React.createElement("div", { className: "label" }, "".concat(t("view:omgeAcc"))),
27268
+ React.createElement("div", { className: "info-container" },
27269
+ React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "topLeft", trigger: "hover", title: t("view:omgeDesc"), overlayClassName: "custom-tooltip" },
27270
+ React.createElement(Icon.InfoCircle, { color: "#000000", size: 15 })))),
27271
+ React.createElement(antd.Col, { lg: 6, md: 12 },
27272
+ React.createElement(antd.Form.Item, { className: "popup-credit-input" },
27273
+ React.createElement(antd.InputNumber, { placeholder: addCommSep(Number(((currentSum * govData.omgePercentage) / 100).toFixed(2))), disabled: true }))),
27274
+ React.createElement(antd.Col, { lg: 1, md: 1, className: "seperator" }, "/"),
27275
+ React.createElement(antd.Col, { lg: 6, md: 12 },
27276
+ React.createElement(antd.Form.Item, { className: "popup-credit-input" },
27277
+ React.createElement(antd.InputNumber, { placeholder: addCommSep(totalCredits), disabled: true })))))),
27150
27278
  React.createElement(antd.Row, null,
27151
27279
  React.createElement(antd.Col, { span: 24 },
27152
27280
  React.createElement(antd.Form.Item, { className: "remarks-label", label: "Remarks", name: "comment", rules: [