@undp/carbon-library 1.0.274-CARBON-404.1 → 1.0.274-CARBON-359.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
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
- import { Input, Radio, Space, Row, Col, Button, Dropdown, Table, Empty, message, Form, Steps, Select, Upload, InputNumber, Tooltip, Modal, Alert, Skeleton, Card, Tag, Checkbox, DatePicker, Popover, List, Typography, Spin, Tabs, Progress } from 'antd';
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
3
  import React, { useState, useEffect, useRef, useContext } from 'react';
4
4
  import { DateTime } from 'luxon';
5
5
  import { Buffer } from 'buffer';
@@ -5687,188 +5687,6 @@ var SystemNames;
5687
5687
  SystemNames["CARBON_TRANSPARENCY"] = "CARBON_TRANSPARENCY_SYSTEM";
5688
5688
  })(SystemNames || (SystemNames = {}));
5689
5689
 
5690
- var GovDepartment;
5691
- (function (GovDepartment) {
5692
- GovDepartment["Cocoa Research Institute"] = "1";
5693
- GovDepartment["National Agricultural Extension, Research and Liaison Services"] = "2";
5694
- GovDepartment["National Veterinary Research Institute"] = "3";
5695
- GovDepartment["Agricultural Insurance Corporation"] = "4";
5696
- GovDepartment["National Root Crops Research Institute"] = "5";
5697
- GovDepartment["Agricultural Research Council"] = "6";
5698
- GovDepartment["Institute for Oceanography and Marine Research"] = "7";
5699
- GovDepartment["Institute for Oil Palm Research"] = "8";
5700
- GovDepartment["Agricultural Quarantine Service"] = "9";
5701
- GovDepartment["National Horticultural Research Institute"] = "10";
5702
- GovDepartment["Federal Airports Authority"] = "11";
5703
- GovDepartment["Airspace Management Agency"] = "12";
5704
- GovDepartment["Civil Aviation Authority"] = "13";
5705
- GovDepartment["Safety Investigation Bureau"] = "14";
5706
- GovDepartment["Meteorological Agency"] = "15";
5707
- GovDepartment["College of Aviation Technology"] = "16";
5708
- GovDepartment["National Information Technology Development Agency"] = "17";
5709
- GovDepartment["Satellite Limited"] = "18";
5710
- GovDepartment["Broadcasting Commission"] = "19";
5711
- GovDepartment["Commission"] = "20";
5712
- GovDepartment["Postal Service"] = "21";
5713
- GovDepartment["National Frequency Management Council"] = "22";
5714
- GovDepartment["Television Authority"] = "23";
5715
- GovDepartment["Galaxy Backbone"] = "24";
5716
- GovDepartment["Asset Management Corporation"] = "25";
5717
- GovDepartment["Social Security Administration"] = "26";
5718
- GovDepartment["Budget Office of the Federation"] = "27";
5719
- GovDepartment["Bureau of Public Enterprises"] = "28";
5720
- GovDepartment["Bureau of Public Procurement"] = "29";
5721
- GovDepartment["Central Bank"] = "30";
5722
- GovDepartment["Corporate Affairs Commission"] = "31";
5723
- GovDepartment["Debt Management Office"] = "32";
5724
- GovDepartment["Inland Revenue Service"] = "33";
5725
- GovDepartment["Mortgage Bank"] = "34";
5726
- GovDepartment["Fiscal Responsibility Commission"] = "35";
5727
- GovDepartment["Infrastructure Concession Regulatory Commission"] = "36";
5728
- GovDepartment["National Bureau of Statistics"] = "37";
5729
- GovDepartment["National Council on Privatisation"] = "38";
5730
- GovDepartment["National Insurance Commission"] = "39";
5731
- GovDepartment["National Pension Commission"] = "40";
5732
- GovDepartment["National Planning Commission"] = "41";
5733
- GovDepartment["National Sugar Development Council"] = "42";
5734
- GovDepartment["Niger Delta Development Commission"] = "43";
5735
- GovDepartment["Customs Service"] = "44";
5736
- GovDepartment["Deposit Insurance Corporation"] = "45";
5737
- GovDepartment["Investment Promotion Commission"] = "46";
5738
- GovDepartment["Export - Import Bank"] = "47";
5739
- GovDepartment["Export Promotion Council"] = "48";
5740
- GovDepartment["Oil and Gas Free Zones Authority"] = "49";
5741
- GovDepartment["Export Processing Zones Authority"] = "50";
5742
- GovDepartment["Revenue Mobilisation Allocation and Fiscal Commission"] = "51";
5743
- GovDepartment["Securities and Exchange Commission"] = "52";
5744
- GovDepartment["Standards Organisation"] = "53";
5745
- GovDepartment["Small and Medium Enterprise Development Agency"] = "54";
5746
- GovDepartment["National Board for Arabic And Islamic Studies"] = "55";
5747
- GovDepartment["Joint Admissions and Matriculation Board"] = "56";
5748
- GovDepartment["National Examination Council"] = "115";
5749
- GovDepartment["National Open University"] = "57";
5750
- GovDepartment["National Teachers Institute"] = "58";
5751
- GovDepartment["National Universities Commission"] = "59";
5752
- GovDepartment["Tertiary Education Trust Fund"] = "60";
5753
- GovDepartment["Teachers Registration Council"] = "61";
5754
- GovDepartment["National Business and Technical Examinations Board"] = "62";
5755
- GovDepartment["Universal Basic Education Commission"] = "63";
5756
- GovDepartment["West African Examination Council"] = "64";
5757
- GovDepartment["National Commission for Colleges of Education"] = "65";
5758
- GovDepartment["National Library"] = "66";
5759
- GovDepartment["Midstream and Downstream Petroleum Regulatory Authority"] = "67";
5760
- GovDepartment["Upstream Petroleum Regulatory Commission"] = "68";
5761
- GovDepartment["Electricity Management Services Limited"] = "69";
5762
- GovDepartment["Energy Commission"] = "70";
5763
- GovDepartment["National Power Training Institute"] = "71";
5764
- GovDepartment["Electricity Regulatory Commission"] = "72";
5765
- GovDepartment["Content Monitoring and Development Board"] = "73";
5766
- GovDepartment["National Petroleum Corporation"] = "74";
5767
- GovDepartment["Nuclear Regulatory Authority Science & Technology"] = "75";
5768
- GovDepartment["Petroleum Product Pricing Regulatory Agency"] = "76";
5769
- GovDepartment["Power Holding Company (defunct)"] = "77";
5770
- GovDepartment["Rural Electrification Agency"] = "78";
5771
- GovDepartment["Transmission Company"] = "79";
5772
- GovDepartment["Environmental Protection Agency (defunct)"] = "80";
5773
- GovDepartment["Forestry Research Institute"] = "81";
5774
- GovDepartment["National Biosafety Management Agency"] = "82";
5775
- GovDepartment["National Environmental Standards and Regulations Enforcement Agency"] = "83";
5776
- GovDepartment["National Oil Spill Detection and Response Agency"] = "84";
5777
- GovDepartment["Environmental Health Officers Registration Council"] = "85";
5778
- GovDepartment["National Health Insurance Scheme"] = "86";
5779
- GovDepartment["Institute for Pharmaceutical Research and Development"] = "87";
5780
- GovDepartment["Agency for the Control of AIDS"] = "88";
5781
- GovDepartment["Agency for Food and Drug Administration and Control"] = "89";
5782
- GovDepartment["Primary Health Care Development Agency"] = "90";
5783
- GovDepartment["Institute of Medical Research"] = "91";
5784
- GovDepartment["Centre for Disease Control"] = "92";
5785
- GovDepartment["Drug Law Enforcement Agency"] = "93";
5786
- GovDepartment["Defence Intelligence Agency"] = "94";
5787
- GovDepartment["State Security Service"] = "95";
5788
- GovDepartment["National Intelligence Agency"] = "96";
5789
- GovDepartment["Financial Intelligence Unit"] = "97";
5790
- GovDepartment["National Judicial Council"] = "98";
5791
- GovDepartment["Federal Judicial Service Commission"] = "99";
5792
- GovDepartment["National Judicial Institute"] = "100";
5793
- GovDepartment["Maritime Administration and Safety Agency"] = "101";
5794
- GovDepartment["Ports Authority"] = "102";
5795
- GovDepartment["Shippers' Council"] = "103";
5796
- GovDepartment["Broadcasting Organisation"] = "104";
5797
- GovDepartment["News Agency"] = "105";
5798
- GovDepartment["Press Council"] = "106";
5799
- GovDepartment["Television Authority Media"] = "107";
5800
- GovDepartment["Agency For Science and Engineering Infrastructure"] = "108";
5801
- GovDepartment["Biotechnology Development Agency"] = "109";
5802
- GovDepartment["Centre for Remote Sensing"] = "110";
5803
- GovDepartment["Science and Technology Complex"] = "111";
5804
- GovDepartment["Office for Technology Acquisition and Promotion"] = "112";
5805
- GovDepartment["Space Research and Development Agency"] = "113";
5806
- GovDepartment["Nuclear Regulatory Authority"] = "114";
5807
- GovDepartment["Raw Materials Research and Development Council"] = "116";
5808
- GovDepartment["Communications Satellite Ltd"] = "117";
5809
- GovDepartment["Centre for Technology Management"] = "118";
5810
- GovDepartment["Hydrological Services Agency"] = "119";
5811
- GovDepartment["Integrated Water Resources Commission"] = "120";
5812
- GovDepartment["Water Resources Institute"] = "121";
5813
- GovDepartment["River Basin Development Authorities"] = "122";
5814
- GovDepartment["Centre for Black and African Arts and Civilization"] = "123";
5815
- GovDepartment["Automotive Design and Development Council"] = "124";
5816
- GovDepartment["Code of Conduct Bureau"] = "125";
5817
- GovDepartment["Computer Professionals Registration Council"] = "126";
5818
- GovDepartment["Consumer Protection Council"] = "127";
5819
- GovDepartment["Economic and Financial Crimes Commission"] = "128";
5820
- GovDepartment["Federal Character Commission"] = "129";
5821
- GovDepartment["Federal Housing Authority"] = "130";
5822
- GovDepartment["Corrupt Practices and Other Related Offences Commission"] = "131";
5823
- GovDepartment["Independent National Electoral Commission"] = "132";
5824
- GovDepartment["Industrial Training Fund"] = "133";
5825
- GovDepartment["Legal Aid Council"] = "134";
5826
- GovDepartment["Agency for the Prohibition of Trafficking in Persons"] = "135";
5827
- GovDepartment["National Boundary Commission"] = "136";
5828
- GovDepartment["National Council of Arts and Culture"] = "137";
5829
- GovDepartment["Economic Reconstruction Fund"] = "138";
5830
- GovDepartment["Emergency Management Agency"] = "139";
5831
- GovDepartment["Hajj Commission"] = "140";
5832
- GovDepartment["Human Rights Commission"] = "141";
5833
- GovDepartment["Identity Management Commission"] = "142";
5834
- GovDepartment["Institute for Hospitality Tourism"] = "143";
5835
- GovDepartment["Lottery Regulatory Commission"] = "144";
5836
- GovDepartment["Orientation Agency"] = "145";
5837
- GovDepartment["Population Commission"] = "146";
5838
- GovDepartment["Poverty Eradication Programme (defunct)"] = "147";
5839
- GovDepartment["Salaries, Incomes and Wages Commission"] = "148";
5840
- GovDepartment["Sports Commission"] = "149";
5841
- GovDepartment["Extractive Industries Transparency Initiative"] = "150";
5842
- GovDepartment["Immigration Service"] = "151";
5843
- GovDepartment["Building and Road Research Institute"] = "152";
5844
- GovDepartment["Institute of Building"] = "153";
5845
- GovDepartment["Christian Pilgrim Commission"] = "154";
5846
- GovDepartment["Copyright Commission"] = "155";
5847
- GovDepartment["Tourism Development Corporation"] = "156";
5848
- GovDepartment["Public Complaints Commission"] = "157";
5849
- GovDepartment["Surveyors Council"] = "158";
5850
- GovDepartment["National Lottery Trust Fund"] = "159";
5851
- })(GovDepartment || (GovDepartment = {}));
5852
-
5853
- var Ministry;
5854
- (function (Ministry) {
5855
- Ministry["Agriculture"] = "Agriculture";
5856
- Ministry["Aviation"] = "Aviation";
5857
- Ministry["Communications"] = "Communications";
5858
- Ministry["Economy"] = "Economy";
5859
- Ministry["Education"] = "Education";
5860
- Ministry["Energy"] = "Energy";
5861
- Ministry["Environment"] = "Environment";
5862
- Ministry["Health"] = "Health";
5863
- Ministry["Intelligence"] = "Intelligence";
5864
- Ministry["Judiciary"] = "Judiciary";
5865
- Ministry["Maritime"] = "Maritime";
5866
- Ministry["Media"] = "Media";
5867
- Ministry["ScienceAndTechnology"] = "ScienceAndTechnology";
5868
- Ministry["WaterResources"] = "WaterResources";
5869
- Ministry["Other"] = "Other";
5870
- })(Ministry || (Ministry = {}));
5871
-
5872
5690
  var ConfigurationSettingsType;
5873
5691
  (function (ConfigurationSettingsType) {
5874
5692
  ConfigurationSettingsType[ConfigurationSettingsType["isTransferFrozen"] = 0] = "isTransferFrozen";
@@ -5914,197 +5732,6 @@ var ProgrammeCertify = /** @class */ (function () {
5914
5732
  return ProgrammeCertify;
5915
5733
  }());
5916
5734
 
5917
- var sectoralScopes$1 = {
5918
- Agriculture: [
5919
- "Cocoa Research Institute",
5920
- "National Agricultural Extension, Research and Liaison Services",
5921
- "National Veterinary Research Institute",
5922
- "Agricultural Insurance Corporation",
5923
- "National Root Crops Research Institute",
5924
- "Agricultural Research Council",
5925
- "Institute for Oceanography and Marine Research",
5926
- "Institute for Oil Palm Research",
5927
- "Agricultural Quarantine Service",
5928
- "National Horticultural Research Institute",
5929
- ],
5930
- Aviation: [
5931
- "Federal Airports Authority",
5932
- "Airspace Management Agency",
5933
- "Civil Aviation Authority",
5934
- "Safety Investigation Bureau",
5935
- "Meteorological Agency",
5936
- "College of Aviation Technology",
5937
- ],
5938
- Communications: [
5939
- "National Information Technology Development Agency",
5940
- "Communications Satellite Limited",
5941
- "Broadcasting Commission",
5942
- "Communications Commission",
5943
- "Postal Service",
5944
- "National Frequency Management Council",
5945
- "Television Authority",
5946
- "Galaxy Backbone",
5947
- ],
5948
- Economy: [
5949
- "Asset Management Corporation",
5950
- "Social Security Administration",
5951
- "Budget Office of the Federation",
5952
- "Bureau of Public Enterprises",
5953
- "Bureau of Public Procurement",
5954
- "Central Bank",
5955
- "Corporate Affairs Commission",
5956
- "Debt Management Office",
5957
- "Inland Revenue Service",
5958
- "Mortgage Bank",
5959
- "Fiscal Responsibility Commission",
5960
- "Infrastructure Concession Regulatory Commission",
5961
- "National Bureau of Statistics",
5962
- "National Council on Privatisation",
5963
- "National Insurance Commission",
5964
- "National Pension Commission",
5965
- "National Planning Commission",
5966
- "National Sugar Development Council",
5967
- "Niger Delta Development Commission",
5968
- "Customs Service",
5969
- "Deposit Insurance Corporation",
5970
- "Investment Promotion Commission",
5971
- "Export - Import Bank",
5972
- "Export Promotion Council",
5973
- "Oil and Gas Free Zones Authority",
5974
- "Export Processing Zones Authority",
5975
- "Revenue Mobilisation Allocation and Fiscal Commission",
5976
- "Securities and Exchange Commission",
5977
- "Standards Organisation",
5978
- "Small and Medium Enterprise Development Agency",
5979
- ],
5980
- Education: [
5981
- "National Board for Arabic And Islamic Studies",
5982
- "Joint Admissions and Matriculation Board",
5983
- "National Examination Council",
5984
- "National Open University",
5985
- "National Teachers Institute",
5986
- "National Universities Commission",
5987
- "Tertiary Education Trust Fund",
5988
- "Teachers Registration Council",
5989
- "National Business and Technical Examinations Board",
5990
- "Universal Basic Education Commission",
5991
- "West African Examination Council",
5992
- "National Commission for Colleges of Education",
5993
- "National Library",
5994
- ],
5995
- Energy: [
5996
- "Midstream and Downstream Petroleum Regulatory Authority",
5997
- "Upstream Petroleum Regulatory Commission",
5998
- "Electricity Management Services Limited",
5999
- "Energy Commission",
6000
- "National Power Training Institute",
6001
- "Electricity Regulatory Commission",
6002
- "Content Monitoring and Development Board",
6003
- "National Petroleum Corporation",
6004
- "Nuclear Regulatory Authority",
6005
- "Petroleum Product Pricing Regulatory Agency",
6006
- "Power Holding Company (defunct)",
6007
- "Rural Electrification Agency",
6008
- "Transmission Company",
6009
- ],
6010
- Environment: [
6011
- "Environmental Protection Agency (defunct)",
6012
- "Forestry Research Institute",
6013
- "National Biosafety Management Agency",
6014
- "National Environmental Standards and Regulations Enforcement Agency",
6015
- "National Oil Spill Detection and Response Agency",
6016
- "Environmental Health Officers Registration Council",
6017
- ],
6018
- Health: [
6019
- "National Health Insurance Scheme",
6020
- "Institute for Pharmaceutical Research and Development",
6021
- "Agency for the Control of AIDS",
6022
- "Agency for Food and Drug Administration and Control",
6023
- "Primary Health Care Development Agency",
6024
- "Institute of Medical Research",
6025
- "Centre for Disease Control",
6026
- "Drug Law Enforcement Agency",
6027
- ],
6028
- Intelligence: [
6029
- "Defence Intelligence Agency",
6030
- "State Security Service",
6031
- "National Intelligence Agency",
6032
- "Financial Intelligence Unit",
6033
- ],
6034
- Judiciary: [
6035
- "National Judicial Council",
6036
- "Federal Judicial Service Commission",
6037
- "National Judicial Institute",
6038
- ],
6039
- Maritime: [
6040
- "Maritime Administration and Safety Agency",
6041
- "Ports Authority",
6042
- "Shippers' Council",
6043
- ],
6044
- Media: [
6045
- "Broadcasting Organisation",
6046
- "News Agency",
6047
- "Press Council",
6048
- "Television Authority",
6049
- ],
6050
- ScienceAndTechnology: [
6051
- "Agency For Science and Engineering Infrastructure",
6052
- "Biotechnology Development Agency",
6053
- "Centre for Remote Sensing",
6054
- "Science and Technology Complex",
6055
- "Office for Technology Acquisition and Promotion",
6056
- "Space Research and Development Agency",
6057
- "Nuclear Regulatory Authority",
6058
- "Raw Materials Research and Development Council",
6059
- "Communications Satellite Ltd",
6060
- "Centre for Technology Management",
6061
- ],
6062
- WaterResources: [
6063
- "Hydrological Services Agency",
6064
- "Integrated Water Resources Commission",
6065
- "Water Resources Institute",
6066
- "River Basin Development Authorities",
6067
- ],
6068
- Other: [
6069
- "Centre for Black and African Arts and Civilization",
6070
- "Automotive Design and Development Council",
6071
- "Code of Conduct Bureau",
6072
- "Computer Professionals Registration Council",
6073
- "Consumer Protection Council",
6074
- "Economic and Financial Crimes Commission",
6075
- "Federal Character Commission",
6076
- "Federal Housing Authority",
6077
- "Corrupt Practices and Other Related Offences Commission",
6078
- "Independent National Electoral Commission",
6079
- "Industrial Training Fund",
6080
- "Legal Aid Council",
6081
- "Agency for the Prohibition of Trafficking in Persons",
6082
- "National Boundary Commission",
6083
- "National Council of Arts and Culture",
6084
- "Economic Reconstruction Fund",
6085
- "Emergency Management Agency",
6086
- "Hajj Commission",
6087
- "Human Rights Commission",
6088
- "Identity Management Commission",
6089
- "Institute for Hospitality Tourism",
6090
- "Lottery Regulatory Commission",
6091
- "Orientation Agency",
6092
- "Population Commission",
6093
- "Poverty Eradication Programme (defunct)",
6094
- "Salaries, Incomes and Wages Commission",
6095
- "Sports Commission",
6096
- "Extractive Industries Transparency Initiative",
6097
- "Immigration Service",
6098
- "Building and Road Research Institute",
6099
- "Institute of Building",
6100
- "Christian Pilgrim Commission",
6101
- "Copyright Commission",
6102
- "Tourism Development Corporation",
6103
- "Public Complaints Commission",
6104
- "Surveyors Council",
6105
- "National Lottery Trust Fund",
6106
- ],
6107
- };
6108
5735
  var AddNewCompanyComponent = function (props) {
6109
5736
  var _a;
6110
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;
@@ -6123,52 +5750,6 @@ var AddNewCompanyComponent = function (props) {
6123
5750
  var _k = useState(false), loadingList = _k[0], setLoadingList = _k[1];
6124
5751
  var _l = useState([]), regionsList = _l[0], setRegionsList = _l[1];
6125
5752
  var _m = useState((_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.companyRole), companyRole = _m[0], setCompanyRole = _m[1];
6126
- var _o = useState(""), selectedMinistry = _o[0], setSelectedMinistry = _o[1];
6127
- var _p = useState([]), existgovDep = _p[0], setexistGovdep = _p[1];
6128
- var selectedGovDepatments = sectoralScopes$1[selectedMinistry];
6129
- if (existgovDep && existgovDep.length > 0) {
6130
- selectedGovDepatments = selectedGovDepatments.filter(function (x) { return !existgovDep.includes(x); });
6131
- }
6132
- var onChangeMinistry = function (val) { return __awaiter(void 0, void 0, void 0, function () {
6133
- var response, existDep, i, departName;
6134
- return __generator(this, function (_a) {
6135
- switch (_a.label) {
6136
- case 0:
6137
- formOne.resetFields(["govDep"]);
6138
- setSelectedMinistry(String(val));
6139
- return [4 /*yield*/, post("national/organisation/query", {
6140
- page: 1,
6141
- size: 10,
6142
- filterAnd: [
6143
- {
6144
- key: "companyRole",
6145
- operation: "=",
6146
- value: "Ministry",
6147
- },
6148
- {
6149
- key: "ministry",
6150
- operation: "=",
6151
- value: val,
6152
- },
6153
- ],
6154
- })];
6155
- case 1:
6156
- response = _a.sent();
6157
- if (response && response.data) {
6158
- existDep = [];
6159
- for (i in response.data) {
6160
- console.log("existdata", response.data[i]);
6161
- if (response.data[i].govDep && response.data[i].govDep.length > 0) {
6162
- departName = Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(response.data[i].govDep)];
6163
- existDep.push(departName);
6164
- }
6165
- }
6166
- setexistGovdep(existDep);
6167
- }
6168
- return [2 /*return*/];
6169
- }
6170
- });
6171
- }); };
6172
5753
  var getCountryList = function () { return __awaiter(void 0, void 0, void 0, function () {
6173
5754
  var response, alpha2Names;
6174
5755
  return __generator(this, function (_a) {
@@ -6293,10 +5874,6 @@ var AddNewCompanyComponent = function (props) {
6293
5874
  logoBase64 = _c.sent();
6294
5875
  logoUrls = logoBase64.split(",");
6295
5876
  requestData.company.logo = logoUrls[1];
6296
- if (companyRole === CompanyRole.MINISTRY) {
6297
- requestData.company.name =
6298
- "Ministry of " + requestData.company.ministry;
6299
- }
6300
5877
  if (!isGuest) return [3 /*break*/, 4];
6301
5878
  return [4 /*yield*/, post("national/user/register", requestData)];
6302
5879
  case 3:
@@ -6349,7 +5926,7 @@ var AddNewCompanyComponent = function (props) {
6349
5926
  });
6350
5927
  }); };
6351
5928
  var onUpdateCompany = function () { return __awaiter(void 0, void 0, void 0, function () {
6352
- var formOneValues, values, key, logoBase64, logoUrls, response, error_3;
5929
+ var formOneValues, values, logoBase64, logoUrls, response, error_3;
6353
5930
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6354
5931
  return __generator(this, function (_l) {
6355
5932
  switch (_l.label) {
@@ -6390,15 +5967,6 @@ var AddNewCompanyComponent = function (props) {
6390
5967
  if (((_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.companyRole) === CompanyRole.MINISTRY) {
6391
5968
  values.sectoralScope = formOneValues.sectoralScope;
6392
5969
  values.nameOfMinister = formOneValues.nameOfMinister;
6393
- values.ministry = formOneValues.ministry;
6394
- if (formOneValues.govDep in GovDepartment) {
6395
- key = formOneValues.govDep;
6396
- values.govDep = GovDepartment[key];
6397
- }
6398
- else {
6399
- values.govDep = formOneValues.govDep;
6400
- }
6401
- values.name = "Ministry of " + formOneValues.ministry;
6402
5970
  }
6403
5971
  if (((_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.companyRole) === CompanyRole.GOVERNMENT) {
6404
5972
  values.omgePercentage = Math.round(Number(formOneValues.omgePercentage));
@@ -6459,7 +6027,7 @@ var AddNewCompanyComponent = function (props) {
6459
6027
  setCompanyRole(value);
6460
6028
  };
6461
6029
  var CompanyDetailsForm = function () {
6462
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
6030
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
6463
6031
  var companyRoleClassName = companyRole === CompanyRole.CERTIFIER
6464
6032
  ? "certifier"
6465
6033
  : companyRole === CompanyRole.PROGRAMME_DEVELOPER
@@ -6473,7 +6041,7 @@ var AddNewCompanyComponent = function (props) {
6473
6041
  React.createElement(Row, { className: "row", gutter: [16, 16] },
6474
6042
  React.createElement(Col, { xl: 12, md: 24 },
6475
6043
  React.createElement("div", { className: "details-part-one" },
6476
- companyRole !== CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: "Name", name: "name", initialValue: (_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.name, rules: [
6044
+ React.createElement(Form.Item, { label: "Name", name: "name", initialValue: (_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.name, rules: [
6477
6045
  {
6478
6046
  required: true,
6479
6047
  message: "",
@@ -6492,7 +6060,7 @@ var AddNewCompanyComponent = function (props) {
6492
6060
  }); },
6493
6061
  },
6494
6062
  ] },
6495
- React.createElement(Input, { size: "large" }))),
6063
+ React.createElement(Input, { size: "large" })),
6496
6064
  companyRole !== CompanyRole.MINISTRY
6497
6065
  ? (!isUpdate ||
6498
6066
  (isUpdate &&
@@ -6572,35 +6140,7 @@ var AddNewCompanyComponent = function (props) {
6572
6140
  },
6573
6141
  ] },
6574
6142
  React.createElement(Input, { size: "large" })),
6575
- companyRole === CompanyRole.MINISTRY && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
6576
- React.createElement(Form.Item, { label: "Ministry Name", name: "ministry", initialValue: (_e = state === null || state === void 0 ? void 0 : state.record) === null || _e === void 0 ? void 0 : _e.ministry, rules: [
6577
- {
6578
- required: true,
6579
- message: "Ministry Name is required",
6580
- },
6581
- ] },
6582
- React.createElement(Select, { size: "large", onChange: onChangeMinistry }, Object.values(Ministry).map(function (ministry) { return (React.createElement(Select.Option, { value: ministry }, ministry)); }))),
6583
- React.createElement(Form.Item, { label: "Name of the Minister", name: "nameOfMinister", initialValue: (_f = state === null || state === void 0 ? void 0 : state.record) === null || _f === void 0 ? void 0 : _f.nameOfMinister, rules: [
6584
- {
6585
- required: true,
6586
- message: "Minister Name is required",
6587
- },
6588
- {
6589
- validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6590
- return __generator(this, function (_a) {
6591
- if (String(value).trim() === "" ||
6592
- String(value).trim() === undefined ||
6593
- value === null ||
6594
- value === undefined) {
6595
- throw new Error("Name of the Minister ".concat(t("isRequired")));
6596
- }
6597
- return [2 /*return*/];
6598
- });
6599
- }); },
6600
- },
6601
- ] },
6602
- React.createElement(Input, { size: "large" })))),
6603
- React.createElement(Form.Item, { className: "website", label: "Website", initialValue: (_h = (_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.website) === null || _h === void 0 ? void 0 : _h.split("://")[1], name: "website", rules: [
6143
+ React.createElement(Form.Item, { className: "website", label: "Website", initialValue: (_f = (_e = state === null || state === void 0 ? void 0 : state.record) === null || _e === void 0 ? void 0 : _e.website) === null || _f === void 0 ? void 0 : _f.split("://")[1], name: "website", rules: [
6604
6144
  {
6605
6145
  required: false,
6606
6146
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6618,23 +6158,6 @@ var AddNewCompanyComponent = function (props) {
6618
6158
  },
6619
6159
  ], getValueFromEvent: function (event) { var _a; return (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value.trim(); } },
6620
6160
  React.createElement(Input, { addonBefore: "https://", size: "large" })),
6621
- companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: "Address", initialValue: (_j = state === null || state === void 0 ? void 0 : state.record) === null || _j === void 0 ? void 0 : _j.address, rules: [
6622
- { required: true, message: "" },
6623
- {
6624
- validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6625
- return __generator(this, function (_a) {
6626
- if (String(value).trim() === "" ||
6627
- String(value).trim() === undefined ||
6628
- value === null ||
6629
- value === undefined) {
6630
- throw new Error("Address ".concat(t("isRequired")));
6631
- }
6632
- return [2 /*return*/];
6633
- });
6634
- }); },
6635
- },
6636
- ] },
6637
- React.createElement(Input.TextArea, { rows: 3, maxLength: 100 }))),
6638
6161
  React.createElement(Form.Item, { name: "logo", label: "Organisation Logo (File Type : JPEG , PNG)", valuePropName: "fileList", getValueFromEvent: normFile, required: true, rules: [
6639
6162
  {
6640
6163
  validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6678,12 +6201,29 @@ var AddNewCompanyComponent = function (props) {
6678
6201
  return false;
6679
6202
  }, className: "logo-upload-section", name: "logo", action: "/upload.do", listType: "picture", multiple: false, defaultFileList: fileList, maxCount: 1 },
6680
6203
  React.createElement(Button, { size: "large", icon: React.createElement(UploadOutlined, null) }, "Upload"))),
6204
+ companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: "Address", initialValue: (_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.address, rules: [
6205
+ { required: true, message: "" },
6206
+ {
6207
+ validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6208
+ return __generator(this, function (_a) {
6209
+ if (String(value).trim() === "" ||
6210
+ String(value).trim() === undefined ||
6211
+ value === null ||
6212
+ value === undefined) {
6213
+ throw new Error("Address ".concat(t("isRequired")));
6214
+ }
6215
+ return [2 /*return*/];
6216
+ });
6217
+ }); },
6218
+ },
6219
+ ] },
6220
+ React.createElement(Input.TextArea, { rows: 3, maxLength: 100 }))),
6681
6221
  companyRole === CompanyRole.GOVERNMENT && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
6682
6222
  React.createElement(Space, { wrap: true, style: {
6683
6223
  display: "flex",
6684
6224
  marginBottom: 8,
6685
6225
  }, align: "center", size: "large" },
6686
- React.createElement(Form.Item, { style: { width: "100%" }, name: "nationalSopValue", label: "National Share of Proceeds", initialValue: (_k = state === null || state === void 0 ? void 0 : state.record) === null || _k === void 0 ? void 0 : _k.nationalSopValue, rules: [
6226
+ React.createElement(Form.Item, { style: { width: "100%" }, name: "nationalSopValue", label: "National Share of Proceeds", initialValue: (_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.nationalSopValue, rules: [
6687
6227
  { required: true, message: "" },
6688
6228
  {
6689
6229
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6741,43 +6281,37 @@ var AddNewCompanyComponent = function (props) {
6741
6281
  React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
6742
6282
  React.createElement(AuditOutlined, { className: "role-icons" }),
6743
6283
  "Ministry")))))))),
6744
- companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: "Government Department", name: "govDep", initialValue: Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf((_l = state === null || state === void 0 ? void 0 : state.record) === null || _l === void 0 ? void 0 : _l.govDep)], rules: [
6284
+ companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: "Name of the Minister", name: "nameOfMinister", initialValue: (_j = state === null || state === void 0 ? void 0 : state.record) === null || _j === void 0 ? void 0 : _j.nameOfMinister, rules: [
6745
6285
  {
6746
6286
  required: true,
6747
- message: "Government Department is required",
6287
+ message: "",
6748
6288
  },
6749
6289
  {
6750
6290
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6751
- var val;
6752
6291
  return __generator(this, function (_a) {
6753
- val = Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(value)];
6754
- if (selectedGovDepatments &&
6755
- !selectedGovDepatments.includes(val)) {
6756
- throw new Error("Department not exist in Ministry");
6292
+ if (String(value).trim() === "" ||
6293
+ String(value).trim() === undefined ||
6294
+ value === null ||
6295
+ value === undefined) {
6296
+ throw new Error("Name of the Minister ".concat(t("isRequired")));
6757
6297
  }
6758
6298
  return [2 /*return*/];
6759
6299
  });
6760
6300
  }); },
6761
6301
  },
6762
6302
  ] },
6763
- React.createElement(Select, { size: "large" }, selectedGovDepatments === null || selectedGovDepatments === void 0 ? void 0 : selectedGovDepatments.map(function (val) {
6764
- if (val in GovDepartment) {
6765
- var key = val;
6766
- return (React.createElement(Select.Option, { key: GovDepartment[key], value: GovDepartment[key] }, val));
6767
- }
6768
- return null;
6769
- })))),
6303
+ React.createElement(Input, { size: "large" }))),
6770
6304
  companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: "Sectoral Scope", name: "sectoralScope", rules: [
6771
6305
  {
6772
6306
  required: true,
6773
6307
  message: "Sectoral Scope ".concat(t("isRequired")),
6774
6308
  },
6775
- ], initialValue: (_m = state === null || state === void 0 ? void 0 : state.record) === null || _m === void 0 ? void 0 : _m.sectoralScope },
6309
+ ], initialValue: (_k = state === null || state === void 0 ? void 0 : state.record) === null || _k === void 0 ? void 0 : _k.sectoralScope },
6776
6310
  React.createElement(Select, { mode: "multiple", size: "large", maxTagCount: 2, allowClear: true }, Object.entries(SectoralScope).map(function (_a) {
6777
6311
  var key = _a[0], value = _a[1];
6778
6312
  return (React.createElement(Select.Option, { key: value, value: value }, key));
6779
6313
  })))),
6780
- React.createElement(Form.Item, { name: "phoneNo", label: "Phone Number", initialValue: (_o = state === null || state === void 0 ? void 0 : state.record) === null || _o === void 0 ? void 0 : _o.phoneNo, rules: [
6314
+ React.createElement(Form.Item, { name: "phoneNo", label: "Phone Number", initialValue: (_l = state === null || state === void 0 ? void 0 : state.record) === null || _l === void 0 ? void 0 : _l.phoneNo, rules: [
6781
6315
  {
6782
6316
  required: true,
6783
6317
  message: "",
@@ -6808,14 +6342,14 @@ var AddNewCompanyComponent = function (props) {
6808
6342
  },
6809
6343
  ] },
6810
6344
  React.createElement(PhoneInput, { placeholder: "Phone number", international: true, value: formatPhoneNumberIntl(contactNoInput), defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })),
6811
- regionField && (React.createElement(Form.Item, { label: t("region"), name: "regions", initialValue: (_p = state === null || state === void 0 ? void 0 : state.record) === null || _p === void 0 ? void 0 : _p.regions, rules: [
6345
+ regionField && (React.createElement(Form.Item, { label: t("region"), name: "regions", initialValue: (_m = state === null || state === void 0 ? void 0 : state.record) === null || _m === void 0 ? void 0 : _m.regions, rules: [
6812
6346
  {
6813
6347
  required: true,
6814
6348
  message: "".concat(t("region"), " ").concat(t("isRequired")),
6815
6349
  },
6816
6350
  ] },
6817
6351
  React.createElement(Select, { mode: "multiple", size: "large", maxTagCount: 2, onChange: onChangeRegion, loading: loadingList, allowClear: true }, regionsList.map(function (region) { return (React.createElement(Select.Option, { value: region }, region)); })))),
6818
- companyRole !== CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: "Address", initialValue: (_q = state === null || state === void 0 ? void 0 : state.record) === null || _q === void 0 ? void 0 : _q.address, rules: [
6352
+ companyRole !== CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: "Address", initialValue: (_o = state === null || state === void 0 ? void 0 : state.record) === null || _o === void 0 ? void 0 : _o.address, rules: [
6819
6353
  { required: true, message: "" },
6820
6354
  {
6821
6355
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6838,7 +6372,7 @@ var AddNewCompanyComponent = function (props) {
6838
6372
  display: "flex",
6839
6373
  marginBottom: 8,
6840
6374
  }, align: "center", size: "large" },
6841
- React.createElement(Form.Item, { style: { width: "100%" }, name: "omgePercentage", label: "Overall Mitigation in Global Emissions (OMGE) Account", initialValue: (_r = state === null || state === void 0 ? void 0 : state.record) === null || _r === void 0 ? void 0 : _r.omgePercentage, rules: [
6375
+ React.createElement(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: [
6842
6376
  { required: true, message: "" },
6843
6377
  {
6844
6378
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -7345,16 +6879,6 @@ var CompanyProfileComponent = function (props) {
7345
6879
  React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.nameOfMinister
7346
6880
  ? companyDetails.nameOfMinister
7347
6881
  : "-")),
7348
- React.createElement(Row, { className: "field" },
7349
- React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:ministryName")),
7350
- React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.ministry
7351
- ? companyDetails.ministry
7352
- : "-")),
7353
- React.createElement(Row, { className: "field" },
7354
- React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:govDepName")),
7355
- React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.govDep
7356
- ? Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(companyDetails.govDep)]
7357
- : "-")),
7358
6882
  React.createElement(Row, { className: "field" },
7359
6883
  React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:sectoralScope")),
7360
6884
  React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.sectoralScope
@@ -22544,14 +22068,14 @@ var NdcActionViewComponent = function (props) {
22544
22068
  : "empty" }, t("programme:monitoringReport")),
22545
22069
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime) && (React.createElement("div", { className: "time" },
22546
22070
  moment(parseInt(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
22547
- " ~ " + monitoringReportversion))),
22548
- React.createElement("div", { className: "icon" }, !(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
22549
- ? t("programme:notAuthToUploadDoc")
22550
- : uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId)
22551
- ? !canUploadMonitorReport &&
22552
- t("programme:programmeNotAuth")
22553
- : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
22554
- React.createElement(FileAddOutlined, null))))),
22071
+ " ~ " + monitoringReportversion)))),
22072
+ React.createElement("div", { className: "icon" }, !(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
22073
+ ? t("programme:notAuthToUploadDoc")
22074
+ : uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId)
22075
+ ? !canUploadMonitorReport &&
22076
+ t("programme:programmeNotAuth")
22077
+ : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
22078
+ React.createElement(FileAddOutlined, null)))),
22555
22079
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(Row, null,
22556
22080
  React.createElement("div", { className: "icon" },
22557
22081
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
@@ -28521,7 +28045,7 @@ var RejectDocumentationConfirmationModel = function (props) {
28521
28045
  React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
28522
28046
  };
28523
28047
 
28524
- var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n align-items: center;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n align-items: center;\n justify-content: flex-start;\n gap: 20px; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
28048
+ var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items: start; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
28525
28049
  styleInject(css_248z$2);
28526
28050
 
28527
28051
  var NdcActionBody = function (props) {
@@ -28787,7 +28311,7 @@ var NdcActionBody = function (props) {
28787
28311
  React.createElement("div", { className: "icon" }, (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) ? (monitoringReportPending ? ((companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
28788
28312
  React.createElement(LikeOutlined, { onClick: function () {
28789
28313
  return docAction(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.id, DocumentStatus.ACCEPTED, monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.actionId, monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.type);
28790
- }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28314
+ }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
28791
28315
  React.createElement(DislikeOutlined, { onClick: function () {
28792
28316
  setRejectDocData({
28793
28317
  id: monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.id,
@@ -28802,8 +28326,8 @@ var NdcActionBody = function (props) {
28802
28326
  icon: React.createElement(DislikeOutlined, null),
28803
28327
  });
28804
28328
  setOpenRejectDocConfirmationModal(true);
28805
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } })))) : monitoringReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })) : (monitoringReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28806
- React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
28329
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } })))) : monitoringReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })) : (monitoringReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28330
+ React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70", paddingTop: '3px' } }))))) : (React.createElement(React.Fragment, null,
28807
28331
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28808
28332
  ? t("programme:notAuthToUploadDoc")
28809
28333
  : uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
@@ -28834,7 +28358,7 @@ var NdcActionBody = function (props) {
28834
28358
  } }))))),
28835
28359
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement("div", { className: "report-link" },
28836
28360
  React.createElement("div", { className: "link" }, linkDocVisible(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) && (React.createElement("a", { href: monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url, target: "_blank", rel: "noopener noreferrer", download: true },
28837
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
28361
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
28838
28362
  !monitoringReportAccepted && (React.createElement(React.Fragment, null,
28839
28363
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28840
28364
  ? t("programme:notAuthToUploadDoc")
@@ -28877,7 +28401,7 @@ var NdcActionBody = function (props) {
28877
28401
  ministryLevelPermission) && (React.createElement(React.Fragment, null,
28878
28402
  React.createElement(LikeOutlined, { onClick: function () {
28879
28403
  return docAction(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.id, DocumentStatus.ACCEPTED, verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.actionId, verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.type);
28880
- }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28404
+ }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
28881
28405
  React.createElement(DislikeOutlined, { onClick: function () {
28882
28406
  setRejectDocData({
28883
28407
  id: verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.id,
@@ -28892,8 +28416,8 @@ var NdcActionBody = function (props) {
28892
28416
  icon: React.createElement(DislikeOutlined, null),
28893
28417
  });
28894
28418
  setOpenRejectDocConfirmationModal(true);
28895
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } })))) : verificationReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })) : (verifcationReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28896
- React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
28419
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } })))) : verificationReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })) : (verifcationReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28420
+ React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70", paddingTop: '3px' } }))))) : (React.createElement(React.Fragment, null,
28897
28421
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28898
28422
  ? t("programme:notAuthToUploadDoc")
28899
28423
  : uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
@@ -28924,7 +28448,7 @@ var NdcActionBody = function (props) {
28924
28448
  } })))))),
28925
28449
  (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement("div", { className: "report-link" },
28926
28450
  React.createElement("div", { className: "link" }, linkDocVisible(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) && (React.createElement("a", { href: verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url, target: "_blank", rel: "noopener noreferrer", download: true },
28927
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
28451
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
28928
28452
  !verificationReportAccepted && monitoringReportAccepted && (React.createElement(React.Fragment, null,
28929
28453
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28930
28454
  ? t("programme:notAuthToUploadDoc")
@@ -28957,7 +28481,7 @@ var NdcActionBody = function (props) {
28957
28481
  React.createElement(RejectDocumentationConfirmationModel, { actionInfo: actionInfo, onActionConfirmed: handleOk, onActionCanceled: handleCancel, openModal: openRejectDocConfirmationModal, errorMsg: "", loading: loading, translator: translator })));
28958
28482
  };
28959
28483
 
28960
- var css_248z$1 = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-view .title-text {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600; }\n\n.info-view .title {\n margin-bottom: 5px; }\n\n.info-view .field-key {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 500;\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-key .label-container {\n display: flex;\n flex-direction: row; }\n .info-view .field-key .label {\n width: 70%; }\n .info-view .field-key .label-uploaded {\n color: rgba(58, 53, 65, 0.8);\n width: 70%; }\n\n.info-view .field-value {\n color: rgba(58, 53, 65, 0.6);\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-value .link {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n gap: 20px; }\n\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
28484
+ var css_248z$1 = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-view .title-text {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600; }\n\n.info-view .title {\n margin-bottom: 5px; }\n\n.info-view .field-key {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 500;\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-key .label-container {\n display: flex;\n flex-direction: row;\n align-items: start; }\n .info-view .field-key .label {\n width: 70%; }\n .info-view .field-key .label-uploaded {\n color: rgba(58, 53, 65, 0.8);\n width: 70%; }\n\n.info-view .field-value {\n color: rgba(58, 53, 65, 0.6);\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-value .link {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n gap: 20px; }\n\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
28961
28485
  styleInject(css_248z$1);
28962
28486
 
28963
28487
  var ProgrammeDocuments = function (props) {
@@ -29204,7 +28728,7 @@ var ProgrammeDocuments = function (props) {
29204
28728
  (designDocActionPermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
29205
28729
  React.createElement(LikeOutlined, { onClick: function () {
29206
28730
  return docAction(designDocId, DocumentStatus.ACCEPTED);
29207
- }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28731
+ }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
29208
28732
  React.createElement(DislikeOutlined, { onClick: function () {
29209
28733
  setRejectDocData({ id: designDocId });
29210
28734
  setActionInfo({
@@ -29215,8 +28739,8 @@ var ProgrammeDocuments = function (props) {
29215
28739
  icon: React.createElement(DislikeOutlined, null),
29216
28740
  });
29217
28741
  setOpenRejectDocConfirmationModal(true);
29218
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
29219
- designDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28742
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
28743
+ designDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
29220
28744
  designDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
29221
28745
  React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
29222
28746
  designDocUrl !== "" && (React.createElement("div", { className: "time" },
@@ -29224,15 +28748,23 @@ var ProgrammeDocuments = function (props) {
29224
28748
  " ~ " + designDocversion))),
29225
28749
  React.createElement(Col, { span: 6, className: "field-value" }, designDocUrl !== "" ? (React.createElement("div", { className: "link" },
29226
28750
  linkDocVisible(designDocStatus) && (React.createElement("a", { href: designDocUrl, target: "_blank", rel: "noopener noreferrer", download: true },
29227
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28751
+ React.createElement(BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } }))),
29228
28752
  designDocStatus !== DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
29229
28753
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly ||
29230
28754
  (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER
29231
28755
  ? t("programme:notAuthToUploadDoc")
29232
28756
  : !uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
29233
28757
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
29234
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29235
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28758
+ ? {
28759
+ color: "#3F3A47",
28760
+ cursor: "pointer",
28761
+ margin: "0px 0px 1.5px 0px",
28762
+ }
28763
+ : {
28764
+ color: "#cacaca",
28765
+ cursor: "default",
28766
+ margin: "0px 0px 1.5px 0px",
28767
+ }, onClick: function () {
29236
28768
  return uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
29237
28769
  } })),
29238
28770
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -29245,8 +28777,16 @@ var ProgrammeDocuments = function (props) {
29245
28777
  ? t("programme:notAuthToUploadDoc")
29246
28778
  : !uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
29247
28779
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
29248
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29249
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28780
+ ? {
28781
+ color: "#3F3A47",
28782
+ cursor: "pointer",
28783
+ margin: "0px 0px 1.5px 0px",
28784
+ }
28785
+ : {
28786
+ color: "#cacaca",
28787
+ cursor: "default",
28788
+ margin: "0px 0px 1.5px 0px",
28789
+ }, onClick: function () {
29250
28790
  return uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
29251
28791
  } })),
29252
28792
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -29272,7 +28812,7 @@ var ProgrammeDocuments = function (props) {
29272
28812
  (companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
29273
28813
  React.createElement(LikeOutlined, { onClick: function () {
29274
28814
  return docAction(methDocId, DocumentStatus.ACCEPTED);
29275
- }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28815
+ }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
29276
28816
  React.createElement(DislikeOutlined, { onClick: function () {
29277
28817
  setRejectDocData({ id: methDocId });
29278
28818
  setActionInfo({
@@ -29283,8 +28823,8 @@ var ProgrammeDocuments = function (props) {
29283
28823
  icon: React.createElement(DislikeOutlined, null),
29284
28824
  });
29285
28825
  setOpenRejectDocConfirmationModal(true);
29286
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
29287
- methodDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28826
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
28827
+ methodDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
29288
28828
  methodDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
29289
28829
  React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
29290
28830
  methodologyDocUrl !== "" && (React.createElement("div", { className: "time" },
@@ -29292,15 +28832,22 @@ var ProgrammeDocuments = function (props) {
29292
28832
  " ~ " + methDocversion))),
29293
28833
  React.createElement(Col, { span: 6, className: "field-value" }, methodologyDocUrl !== "" ? (React.createElement("div", { className: "link" },
29294
28834
  linkDocVisible(methodDocStatus) && (React.createElement("a", { href: methodologyDocUrl, target: "_blank", rel: "noopener noreferrer", download: true },
29295
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28835
+ React.createElement(BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } }))),
29296
28836
  methodDocStatus !== DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
29297
28837
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
29298
28838
  ? t("programme:notAuthToUploadDoc")
29299
28839
  : !uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
29300
28840
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === DocumentStatus.ACCEPTED &&
29301
28841
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
29302
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29303
- : { color: "#cacaca", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28842
+ ? {
28843
+ color: "#3F3A47",
28844
+ cursor: "pointer",
28845
+ margin: "0px 0px 1.5px 0px",
28846
+ }
28847
+ : {
28848
+ color: "#cacaca",
28849
+ margin: "0px 0px 1.5px 0px",
28850
+ }, onClick: function () {
29304
28851
  return designDocStatus === DocumentStatus.ACCEPTED &&
29305
28852
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
29306
28853
  handleMethodologyFileUpload();
@@ -29319,8 +28866,16 @@ var ProgrammeDocuments = function (props) {
29319
28866
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
29320
28867
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === DocumentStatus.ACCEPTED &&
29321
28868
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
29322
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29323
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28869
+ ? {
28870
+ color: "#3F3A47",
28871
+ cursor: "pointer",
28872
+ margin: "0px 0px 1.5px 0px",
28873
+ }
28874
+ : {
28875
+ color: "#cacaca",
28876
+ cursor: "default",
28877
+ margin: "0px 0px 1.5px 0px",
28878
+ }, onClick: function () {
29324
28879
  return designDocStatus === DocumentStatus.ACCEPTED &&
29325
28880
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
29326
28881
  handleMethodologyFileUpload();
@@ -29349,7 +28904,7 @@ var ProgrammeDocuments = function (props) {
29349
28904
  (ministryLevelPermission || companyRolePermission) && (React.createElement(React.Fragment, null,
29350
28905
  React.createElement(LikeOutlined, { onClick: function () {
29351
28906
  return docAction(impactAssessmentId, DocumentStatus.ACCEPTED);
29352
- }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28907
+ }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
29353
28908
  React.createElement(DislikeOutlined, { onClick: function () {
29354
28909
  setRejectDocData({ id: impactAssessmentId });
29355
28910
  setActionInfo({
@@ -29360,8 +28915,8 @@ var ProgrammeDocuments = function (props) {
29360
28915
  icon: React.createElement(DislikeOutlined, null),
29361
28916
  });
29362
28917
  setOpenRejectDocConfirmationModal(true);
29363
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
29364
- impactAssessmentStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28918
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
28919
+ impactAssessmentStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
29365
28920
  impactAssessmentStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
29366
28921
  React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
29367
28922
  impactAssessmentUrl !== "" && (React.createElement("div", { className: "time" },
@@ -29369,13 +28924,22 @@ var ProgrammeDocuments = function (props) {
29369
28924
  " ~ " + impactAssessmentversion))),
29370
28925
  React.createElement(Col, { span: 6, className: "field-value" }, impactAssessmentUrl !== "" ? (React.createElement("div", { className: "link" },
29371
28926
  linkDocVisible(impactAssessmentStatus) && (React.createElement("a", { href: impactAssessmentUrl, target: "_blank", rel: "noopener noreferrer", download: true },
29372
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28927
+ React.createElement("div", null,
28928
+ React.createElement(BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } })))),
29373
28929
  impactAssessmentStatus !== DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
29374
28930
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
29375
28931
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
29376
28932
  !isProjectRejected
29377
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29378
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28933
+ ? {
28934
+ color: "#3F3A47",
28935
+ cursor: "pointer",
28936
+ margin: "0px 0px 1.5px 0px",
28937
+ }
28938
+ : {
28939
+ color: "#cacaca",
28940
+ cursor: "default",
28941
+ margin: "0px 0px 1.5px 0px",
28942
+ }, onClick: function () {
29379
28943
  return uploadImpactAssessmentDocUserPermission &&
29380
28944
  !isProjectRejected &&
29381
28945
  handleImpactAssessmentFileUpload();
@@ -29388,8 +28952,16 @@ var ProgrammeDocuments = function (props) {
29388
28952
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
29389
28953
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
29390
28954
  !isProjectRejected
29391
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29392
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28955
+ ? {
28956
+ color: "#3F3A47",
28957
+ cursor: "pointer",
28958
+ margin: "0px 0px 1.5px 0px",
28959
+ }
28960
+ : {
28961
+ color: "#cacaca",
28962
+ cursor: "default",
28963
+ margin: "0px 0px 1.5px 0px",
28964
+ }, onClick: function () {
29393
28965
  return uploadImpactAssessmentDocUserPermission &&
29394
28966
  !isProjectRejected &&
29395
28967
  handleImpactAssessmentFileUpload();
@@ -29456,5 +29028,5 @@ var TimelineBody = function (props) {
29456
29028
  React.createElement("div", { className: "remark-body" }, remark)))));
29457
29029
  };
29458
29030
 
29459
- 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, GovDepartment, ImgWithFallback, InfoView, Instrument, InvestmentBGColor, InvestmentBody, InvestmentColor, InvestmentCreationComponent, InvestmentCreationType, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LegendItem, Loading, ManagerBGColor, ManagerColor, MapComponent, MapTypes, MapboxComponent, MinBGColor, MinColor, Ministry, 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 };
29031
+ 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 };
29460
29032
  //# sourceMappingURL=index.js.map