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

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, Upload, InputNumber, Tooltip, Select, 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, Select, Upload, InputNumber, Tooltip, 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,6 +5687,188 @@ 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
+
5690
5872
  var ConfigurationSettingsType;
5691
5873
  (function (ConfigurationSettingsType) {
5692
5874
  ConfigurationSettingsType[ConfigurationSettingsType["isTransferFrozen"] = 0] = "isTransferFrozen";
@@ -5732,6 +5914,197 @@ var ProgrammeCertify = /** @class */ (function () {
5732
5914
  return ProgrammeCertify;
5733
5915
  }());
5734
5916
 
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
+ };
5735
6108
  var AddNewCompanyComponent = function (props) {
5736
6109
  var _a;
5737
6110
  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;
@@ -5750,6 +6123,52 @@ var AddNewCompanyComponent = function (props) {
5750
6123
  var _k = useState(false), loadingList = _k[0], setLoadingList = _k[1];
5751
6124
  var _l = useState([]), regionsList = _l[0], setRegionsList = _l[1];
5752
6125
  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
+ }); };
5753
6172
  var getCountryList = function () { return __awaiter(void 0, void 0, void 0, function () {
5754
6173
  var response, alpha2Names;
5755
6174
  return __generator(this, function (_a) {
@@ -5874,6 +6293,15 @@ var AddNewCompanyComponent = function (props) {
5874
6293
  logoBase64 = _c.sent();
5875
6294
  logoUrls = logoBase64.split(",");
5876
6295
  requestData.company.logo = logoUrls[1];
6296
+ if (companyRole === CompanyRole.MINISTRY) {
6297
+ requestData.company.name =
6298
+ "Ministry of " +
6299
+ (requestData.company.ministry === "ScienceAndTechnology")
6300
+ ? "Science And Technology"
6301
+ : requestData.company.ministry === "WaterResources"
6302
+ ? "Water Resources"
6303
+ : requestData.company.ministry;
6304
+ }
5877
6305
  if (!isGuest) return [3 /*break*/, 4];
5878
6306
  return [4 /*yield*/, post("national/user/register", requestData)];
5879
6307
  case 3:
@@ -5926,7 +6354,7 @@ var AddNewCompanyComponent = function (props) {
5926
6354
  });
5927
6355
  }); };
5928
6356
  var onUpdateCompany = function () { return __awaiter(void 0, void 0, void 0, function () {
5929
- var formOneValues, values, logoBase64, logoUrls, response, error_3;
6357
+ var formOneValues, values, key, logoBase64, logoUrls, response, error_3;
5930
6358
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5931
6359
  return __generator(this, function (_l) {
5932
6360
  switch (_l.label) {
@@ -5967,6 +6395,20 @@ var AddNewCompanyComponent = function (props) {
5967
6395
  if (((_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.companyRole) === CompanyRole.MINISTRY) {
5968
6396
  values.sectoralScope = formOneValues.sectoralScope;
5969
6397
  values.nameOfMinister = formOneValues.nameOfMinister;
6398
+ values.ministry = formOneValues.ministry;
6399
+ if (formOneValues.govDep in GovDepartment) {
6400
+ key = formOneValues.govDep;
6401
+ values.govDep = GovDepartment[key];
6402
+ }
6403
+ else {
6404
+ values.govDep = formOneValues.govDep;
6405
+ }
6406
+ values.name =
6407
+ "Ministry of " + (formOneValues.ministry === "ScienceAndTechnology")
6408
+ ? "Science And Technology"
6409
+ : formOneValues.ministry === "WaterResources"
6410
+ ? "Water Resources"
6411
+ : formOneValues.ministry;
5970
6412
  }
5971
6413
  if (((_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.companyRole) === CompanyRole.GOVERNMENT) {
5972
6414
  values.omgePercentage = Math.round(Number(formOneValues.omgePercentage));
@@ -6027,7 +6469,7 @@ var AddNewCompanyComponent = function (props) {
6027
6469
  setCompanyRole(value);
6028
6470
  };
6029
6471
  var CompanyDetailsForm = function () {
6030
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
6472
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
6031
6473
  var companyRoleClassName = companyRole === CompanyRole.CERTIFIER
6032
6474
  ? "certifier"
6033
6475
  : companyRole === CompanyRole.PROGRAMME_DEVELOPER
@@ -6041,7 +6483,7 @@ var AddNewCompanyComponent = function (props) {
6041
6483
  React.createElement(Row, { className: "row", gutter: [16, 16] },
6042
6484
  React.createElement(Col, { xl: 12, md: 24 },
6043
6485
  React.createElement("div", { className: "details-part-one" },
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: [
6486
+ 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: [
6045
6487
  {
6046
6488
  required: true,
6047
6489
  message: "",
@@ -6060,7 +6502,7 @@ var AddNewCompanyComponent = function (props) {
6060
6502
  }); },
6061
6503
  },
6062
6504
  ] },
6063
- React.createElement(Input, { size: "large" })),
6505
+ React.createElement(Input, { size: "large" }))),
6064
6506
  companyRole !== CompanyRole.MINISTRY
6065
6507
  ? (!isUpdate ||
6066
6508
  (isUpdate &&
@@ -6140,7 +6582,35 @@ var AddNewCompanyComponent = function (props) {
6140
6582
  },
6141
6583
  ] },
6142
6584
  React.createElement(Input, { size: "large" })),
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: [
6585
+ companyRole === CompanyRole.MINISTRY && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
6586
+ 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: [
6587
+ {
6588
+ required: true,
6589
+ message: "Ministry Name is required",
6590
+ },
6591
+ ] },
6592
+ React.createElement(Select, { size: "large", onChange: onChangeMinistry }, Object.values(Ministry).map(function (ministry) { return (React.createElement(Select.Option, { value: ministry }, ministry === "ScienceAndTechnology"
6593
+ ? "Science And Technology"
6594
+ : ministry === "WaterResources"
6595
+ ? "Water Resources"
6596
+ : ministry)); }))),
6597
+ 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: [
6598
+ {
6599
+ validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6600
+ return __generator(this, function (_a) {
6601
+ if (String(value).trim() === "" ||
6602
+ String(value).trim() === undefined ||
6603
+ value === null ||
6604
+ value === undefined) {
6605
+ throw new Error("Name of the Minister ".concat(t("isRequired")));
6606
+ }
6607
+ return [2 /*return*/];
6608
+ });
6609
+ }); },
6610
+ },
6611
+ ] },
6612
+ React.createElement(Input, { size: "large" })))),
6613
+ 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: [
6144
6614
  {
6145
6615
  required: false,
6146
6616
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6158,6 +6628,23 @@ var AddNewCompanyComponent = function (props) {
6158
6628
  },
6159
6629
  ], 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(); } },
6160
6630
  React.createElement(Input, { addonBefore: "https://", size: "large" })),
6631
+ 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: [
6632
+ { required: true, message: "" },
6633
+ {
6634
+ validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6635
+ return __generator(this, function (_a) {
6636
+ if (String(value).trim() === "" ||
6637
+ String(value).trim() === undefined ||
6638
+ value === null ||
6639
+ value === undefined) {
6640
+ throw new Error("Address ".concat(t("isRequired")));
6641
+ }
6642
+ return [2 /*return*/];
6643
+ });
6644
+ }); },
6645
+ },
6646
+ ] },
6647
+ React.createElement(Input.TextArea, { rows: 3, maxLength: 100 }))),
6161
6648
  React.createElement(Form.Item, { name: "logo", label: "Organisation Logo (File Type : JPEG , PNG)", valuePropName: "fileList", getValueFromEvent: normFile, required: true, rules: [
6162
6649
  {
6163
6650
  validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6201,29 +6688,12 @@ var AddNewCompanyComponent = function (props) {
6201
6688
  return false;
6202
6689
  }, className: "logo-upload-section", name: "logo", action: "/upload.do", listType: "picture", multiple: false, defaultFileList: fileList, maxCount: 1 },
6203
6690
  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 }))),
6221
6691
  companyRole === CompanyRole.GOVERNMENT && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
6222
6692
  React.createElement(Space, { wrap: true, style: {
6223
6693
  display: "flex",
6224
6694
  marginBottom: 8,
6225
6695
  }, align: "center", size: "large" },
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: [
6696
+ 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: [
6227
6697
  { required: true, message: "" },
6228
6698
  {
6229
6699
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6281,37 +6751,43 @@ var AddNewCompanyComponent = function (props) {
6281
6751
  React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
6282
6752
  React.createElement(AuditOutlined, { className: "role-icons" }),
6283
6753
  "Ministry")))))))),
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: [
6754
+ 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: [
6285
6755
  {
6286
6756
  required: true,
6287
- message: "",
6757
+ message: "Government Department is required",
6288
6758
  },
6289
6759
  {
6290
6760
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
6761
+ var val;
6291
6762
  return __generator(this, function (_a) {
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")));
6763
+ val = Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(value)];
6764
+ if (selectedGovDepatments &&
6765
+ !selectedGovDepatments.includes(val)) {
6766
+ throw new Error("Department not exist in Ministry");
6297
6767
  }
6298
6768
  return [2 /*return*/];
6299
6769
  });
6300
6770
  }); },
6301
6771
  },
6302
6772
  ] },
6303
- React.createElement(Input, { size: "large" }))),
6773
+ React.createElement(Select, { size: "large" }, selectedGovDepatments === null || selectedGovDepatments === void 0 ? void 0 : selectedGovDepatments.map(function (val) {
6774
+ if (val in GovDepartment) {
6775
+ var key = val;
6776
+ return (React.createElement(Select.Option, { key: GovDepartment[key], value: GovDepartment[key] }, val));
6777
+ }
6778
+ return null;
6779
+ })))),
6304
6780
  companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: "Sectoral Scope", name: "sectoralScope", rules: [
6305
6781
  {
6306
6782
  required: true,
6307
6783
  message: "Sectoral Scope ".concat(t("isRequired")),
6308
6784
  },
6309
- ], initialValue: (_k = state === null || state === void 0 ? void 0 : state.record) === null || _k === void 0 ? void 0 : _k.sectoralScope },
6785
+ ], initialValue: (_m = state === null || state === void 0 ? void 0 : state.record) === null || _m === void 0 ? void 0 : _m.sectoralScope },
6310
6786
  React.createElement(Select, { mode: "multiple", size: "large", maxTagCount: 2, allowClear: true }, Object.entries(SectoralScope).map(function (_a) {
6311
6787
  var key = _a[0], value = _a[1];
6312
6788
  return (React.createElement(Select.Option, { key: value, value: value }, key));
6313
6789
  })))),
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: [
6790
+ 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: [
6315
6791
  {
6316
6792
  required: true,
6317
6793
  message: "",
@@ -6342,14 +6818,14 @@ var AddNewCompanyComponent = function (props) {
6342
6818
  },
6343
6819
  ] },
6344
6820
  React.createElement(PhoneInput, { placeholder: "Phone number", international: true, value: formatPhoneNumberIntl(contactNoInput), defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })),
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: [
6821
+ 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: [
6346
6822
  {
6347
6823
  required: true,
6348
6824
  message: "".concat(t("region"), " ").concat(t("isRequired")),
6349
6825
  },
6350
6826
  ] },
6351
6827
  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)); })))),
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: [
6828
+ 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: [
6353
6829
  { required: true, message: "" },
6354
6830
  {
6355
6831
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6372,7 +6848,7 @@ var AddNewCompanyComponent = function (props) {
6372
6848
  display: "flex",
6373
6849
  marginBottom: 8,
6374
6850
  }, align: "center", size: "large" },
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: [
6851
+ 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: [
6376
6852
  { required: true, message: "" },
6377
6853
  {
6378
6854
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
@@ -6879,6 +7355,16 @@ var CompanyProfileComponent = function (props) {
6879
7355
  React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.nameOfMinister
6880
7356
  ? companyDetails.nameOfMinister
6881
7357
  : "-")),
7358
+ React.createElement(Row, { className: "field" },
7359
+ React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:ministryName")),
7360
+ React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.ministry
7361
+ ? companyDetails.ministry
7362
+ : "-")),
7363
+ React.createElement(Row, { className: "field" },
7364
+ React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:govDepName")),
7365
+ React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.govDep
7366
+ ? Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(companyDetails.govDep)]
7367
+ : "-")),
6882
7368
  React.createElement(Row, { className: "field" },
6883
7369
  React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:sectoralScope")),
6884
7370
  React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.sectoralScope
@@ -22068,14 +22554,14 @@ var NdcActionViewComponent = function (props) {
22068
22554
  : "empty" }, t("programme:monitoringReport")),
22069
22555
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime) && (React.createElement("div", { className: "time" },
22070
22556
  moment(parseInt(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
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)))),
22557
+ " ~ " + monitoringReportversion))),
22558
+ 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
22559
+ ? t("programme:notAuthToUploadDoc")
22560
+ : uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId)
22561
+ ? !canUploadMonitorReport &&
22562
+ t("programme:programmeNotAuth")
22563
+ : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
22564
+ React.createElement(FileAddOutlined, null))))),
22079
22565
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(Row, null,
22080
22566
  React.createElement("div", { className: "icon" },
22081
22567
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
@@ -28045,7 +28531,7 @@ var RejectDocumentationConfirmationModel = function (props) {
28045
28531
  React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
28046
28532
  };
28047
28533
 
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";
28534
+ 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";
28049
28535
  styleInject(css_248z$2);
28050
28536
 
28051
28537
  var NdcActionBody = function (props) {
@@ -28311,7 +28797,7 @@ var NdcActionBody = function (props) {
28311
28797
  React.createElement("div", { className: "icon" }, (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) ? (monitoringReportPending ? ((companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
28312
28798
  React.createElement(LikeOutlined, { onClick: function () {
28313
28799
  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);
28314
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
28800
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28315
28801
  React.createElement(DislikeOutlined, { onClick: function () {
28316
28802
  setRejectDocData({
28317
28803
  id: monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.id,
@@ -28326,8 +28812,8 @@ var NdcActionBody = function (props) {
28326
28812
  icon: React.createElement(DislikeOutlined, null),
28327
28813
  });
28328
28814
  setOpenRejectDocConfirmationModal(true);
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,
28815
+ }, 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" },
28816
+ React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
28331
28817
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28332
28818
  ? t("programme:notAuthToUploadDoc")
28333
28819
  : uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
@@ -28358,7 +28844,7 @@ var NdcActionBody = function (props) {
28358
28844
  } }))))),
28359
28845
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement("div", { className: "report-link" },
28360
28846
  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 },
28361
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
28847
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
28362
28848
  !monitoringReportAccepted && (React.createElement(React.Fragment, null,
28363
28849
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28364
28850
  ? t("programme:notAuthToUploadDoc")
@@ -28401,7 +28887,7 @@ var NdcActionBody = function (props) {
28401
28887
  ministryLevelPermission) && (React.createElement(React.Fragment, null,
28402
28888
  React.createElement(LikeOutlined, { onClick: function () {
28403
28889
  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);
28404
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
28890
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28405
28891
  React.createElement(DislikeOutlined, { onClick: function () {
28406
28892
  setRejectDocData({
28407
28893
  id: verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.id,
@@ -28416,8 +28902,8 @@ var NdcActionBody = function (props) {
28416
28902
  icon: React.createElement(DislikeOutlined, null),
28417
28903
  });
28418
28904
  setOpenRejectDocConfirmationModal(true);
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,
28905
+ }, 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" },
28906
+ React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
28421
28907
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28422
28908
  ? t("programme:notAuthToUploadDoc")
28423
28909
  : uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
@@ -28448,7 +28934,7 @@ var NdcActionBody = function (props) {
28448
28934
  } })))))),
28449
28935
  (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement("div", { className: "report-link" },
28450
28936
  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 },
28451
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
28937
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
28452
28938
  !verificationReportAccepted && monitoringReportAccepted && (React.createElement(React.Fragment, null,
28453
28939
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28454
28940
  ? t("programme:notAuthToUploadDoc")
@@ -28481,7 +28967,7 @@ var NdcActionBody = function (props) {
28481
28967
  React.createElement(RejectDocumentationConfirmationModel, { actionInfo: actionInfo, onActionConfirmed: handleOk, onActionCanceled: handleCancel, openModal: openRejectDocConfirmationModal, errorMsg: "", loading: loading, translator: translator })));
28482
28968
  };
28483
28969
 
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";
28970
+ 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";
28485
28971
  styleInject(css_248z$1);
28486
28972
 
28487
28973
  var ProgrammeDocuments = function (props) {
@@ -28728,7 +29214,7 @@ var ProgrammeDocuments = function (props) {
28728
29214
  (designDocActionPermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
28729
29215
  React.createElement(LikeOutlined, { onClick: function () {
28730
29216
  return docAction(designDocId, DocumentStatus.ACCEPTED);
28731
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
29217
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28732
29218
  React.createElement(DislikeOutlined, { onClick: function () {
28733
29219
  setRejectDocData({ id: designDocId });
28734
29220
  setActionInfo({
@@ -28739,8 +29225,8 @@ var ProgrammeDocuments = function (props) {
28739
29225
  icon: React.createElement(DislikeOutlined, null),
28740
29226
  });
28741
29227
  setOpenRejectDocConfirmationModal(true);
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" } })),
29228
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
29229
+ designDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28744
29230
  designDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28745
29231
  React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
28746
29232
  designDocUrl !== "" && (React.createElement("div", { className: "time" },
@@ -28748,23 +29234,15 @@ var ProgrammeDocuments = function (props) {
28748
29234
  " ~ " + designDocversion))),
28749
29235
  React.createElement(Col, { span: 6, className: "field-value" }, designDocUrl !== "" ? (React.createElement("div", { className: "link" },
28750
29236
  linkDocVisible(designDocStatus) && (React.createElement("a", { href: designDocUrl, target: "_blank", rel: "noopener noreferrer", download: true },
28751
- React.createElement(BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } }))),
29237
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28752
29238
  designDocStatus !== DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
28753
29239
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly ||
28754
29240
  (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER
28755
29241
  ? t("programme:notAuthToUploadDoc")
28756
29242
  : !uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28757
29243
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
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 () {
29244
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29245
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28768
29246
  return uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
28769
29247
  } })),
28770
29248
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -28777,16 +29255,8 @@ var ProgrammeDocuments = function (props) {
28777
29255
  ? t("programme:notAuthToUploadDoc")
28778
29256
  : !uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28779
29257
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
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 () {
29258
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29259
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28790
29260
  return uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
28791
29261
  } })),
28792
29262
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -28812,7 +29282,7 @@ var ProgrammeDocuments = function (props) {
28812
29282
  (companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
28813
29283
  React.createElement(LikeOutlined, { onClick: function () {
28814
29284
  return docAction(methDocId, DocumentStatus.ACCEPTED);
28815
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
29285
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28816
29286
  React.createElement(DislikeOutlined, { onClick: function () {
28817
29287
  setRejectDocData({ id: methDocId });
28818
29288
  setActionInfo({
@@ -28823,8 +29293,8 @@ var ProgrammeDocuments = function (props) {
28823
29293
  icon: React.createElement(DislikeOutlined, null),
28824
29294
  });
28825
29295
  setOpenRejectDocConfirmationModal(true);
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" } })),
29296
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
29297
+ methodDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28828
29298
  methodDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28829
29299
  React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
28830
29300
  methodologyDocUrl !== "" && (React.createElement("div", { className: "time" },
@@ -28832,22 +29302,15 @@ var ProgrammeDocuments = function (props) {
28832
29302
  " ~ " + methDocversion))),
28833
29303
  React.createElement(Col, { span: 6, className: "field-value" }, methodologyDocUrl !== "" ? (React.createElement("div", { className: "link" },
28834
29304
  linkDocVisible(methodDocStatus) && (React.createElement("a", { href: methodologyDocUrl, target: "_blank", rel: "noopener noreferrer", download: true },
28835
- React.createElement(BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } }))),
29305
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28836
29306
  methodDocStatus !== DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
28837
29307
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
28838
29308
  ? t("programme:notAuthToUploadDoc")
28839
29309
  : !uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28840
29310
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === DocumentStatus.ACCEPTED &&
28841
29311
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
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 () {
29312
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29313
+ : { color: "#cacaca", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28851
29314
  return designDocStatus === DocumentStatus.ACCEPTED &&
28852
29315
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
28853
29316
  handleMethodologyFileUpload();
@@ -28866,16 +29329,8 @@ var ProgrammeDocuments = function (props) {
28866
29329
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28867
29330
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === DocumentStatus.ACCEPTED &&
28868
29331
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
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 () {
29332
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29333
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28879
29334
  return designDocStatus === DocumentStatus.ACCEPTED &&
28880
29335
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
28881
29336
  handleMethodologyFileUpload();
@@ -28904,7 +29359,7 @@ var ProgrammeDocuments = function (props) {
28904
29359
  (ministryLevelPermission || companyRolePermission) && (React.createElement(React.Fragment, null,
28905
29360
  React.createElement(LikeOutlined, { onClick: function () {
28906
29361
  return docAction(impactAssessmentId, DocumentStatus.ACCEPTED);
28907
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
29362
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28908
29363
  React.createElement(DislikeOutlined, { onClick: function () {
28909
29364
  setRejectDocData({ id: impactAssessmentId });
28910
29365
  setActionInfo({
@@ -28915,8 +29370,8 @@ var ProgrammeDocuments = function (props) {
28915
29370
  icon: React.createElement(DislikeOutlined, null),
28916
29371
  });
28917
29372
  setOpenRejectDocConfirmationModal(true);
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" } })),
29373
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
29374
+ impactAssessmentStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28920
29375
  impactAssessmentStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28921
29376
  React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
28922
29377
  impactAssessmentUrl !== "" && (React.createElement("div", { className: "time" },
@@ -28924,22 +29379,13 @@ var ProgrammeDocuments = function (props) {
28924
29379
  " ~ " + impactAssessmentversion))),
28925
29380
  React.createElement(Col, { span: 6, className: "field-value" }, impactAssessmentUrl !== "" ? (React.createElement("div", { className: "link" },
28926
29381
  linkDocVisible(impactAssessmentStatus) && (React.createElement("a", { href: impactAssessmentUrl, target: "_blank", rel: "noopener noreferrer", download: true },
28927
- React.createElement("div", null,
28928
- React.createElement(BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } })))),
29382
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28929
29383
  impactAssessmentStatus !== DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
28930
29384
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
28931
29385
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
28932
29386
  !isProjectRejected
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 () {
29387
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29388
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28943
29389
  return uploadImpactAssessmentDocUserPermission &&
28944
29390
  !isProjectRejected &&
28945
29391
  handleImpactAssessmentFileUpload();
@@ -28952,16 +29398,8 @@ var ProgrammeDocuments = function (props) {
28952
29398
  React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
28953
29399
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
28954
29400
  !isProjectRejected
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 () {
29401
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
29402
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28965
29403
  return uploadImpactAssessmentDocUserPermission &&
28966
29404
  !isProjectRejected &&
28967
29405
  handleImpactAssessmentFileUpload();
@@ -29028,5 +29466,5 @@ var TimelineBody = function (props) {
29028
29466
  React.createElement("div", { className: "remark-body" }, remark)))));
29029
29467
  };
29030
29468
 
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 };
29469
+ 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 };
29032
29470
  //# sourceMappingURL=index.js.map