@undp/carbon-library 1.0.292-CARBON-411.1 → 1.0.292-CARBON-419.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1093 -260
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +1 -0
- package/dist/cjs/types/Definitions/Enums/govDep.enum.d.ts +159 -0
- package/dist/cjs/types/Definitions/Enums/ministry.enum.d.ts +17 -0
- package/dist/cjs/types/Definitions/index.d.ts +2 -0
- package/dist/esm/index.js +1095 -262
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +1 -0
- package/dist/esm/types/Definitions/Enums/govDep.enum.d.ts +159 -0
- package/dist/esm/types/Definitions/Enums/ministry.enum.d.ts +17 -0
- package/dist/esm/types/Definitions/index.d.ts +2 -0
- package/dist/index.d.ts +180 -1
- package/dist/locales/i18n/addCompany/en.json +5 -1
- package/dist/locales/i18n/addCompany/es.json +5 -1
- package/dist/locales/i18n/addCompany/fr.json +5 -1
- package/dist/locales/i18n/addProgramme/en.json +4 -0
- package/dist/locales/i18n/companyDetails/en.json +3 -1
- package/dist/locales/i18n/companyDetails/es.json +3 -1
- package/dist/locales/i18n/companyDetails/fr.json +3 -1
- package/dist/locales/i18n/companyProfile/en.json +13 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PlusOutlined, FilterOutlined, DownloadOutlined, BankOutlined, SafetyOutlined, AuditOutlined, ExperimentOutlined, UploadOutlined, UserOutlined, MinusCircleOutlined, StarOutlined, ToolOutlined, EyeOutlined, SearchOutlined, EllipsisOutlined, EditOutlined, DeleteOutlined, FileAddOutlined, CheckCircleOutlined, ExclamationCircleOutlined, BookOutlined, CaretDownOutlined, LockOutlined, EyeInvisibleOutlined, GlobalOutlined, FlagOutlined, LineChartOutlined, LikeOutlined, DislikeOutlined, PlusCircleOutlined, LockFilled, CloseCircleOutlined } from '@ant-design/icons';
|
2
|
-
import { Input, Radio, Space, Row, Col, Button, Dropdown, Table, Empty, message, Form, Steps, Upload, InputNumber, Tooltip,
|
2
|
+
import { Input, Radio, Space, Row, Col, Button, Dropdown, Table, Empty, message, Form, Steps, Select, Upload, InputNumber, Tooltip, Modal, Alert, Card, Skeleton, Tag, Checkbox, DatePicker, Popover, List, Typography, Spin, Tabs, Progress, Collapse } from 'antd';
|
3
3
|
import React, { createContext, useState, useEffect, useCallback, useContext, useRef } from 'react';
|
4
4
|
import { DateTime } from 'luxon';
|
5
5
|
import { Buffer } from 'buffer';
|
@@ -6115,6 +6115,186 @@ var GhgStatCardTypes;
|
|
6115
6115
|
GhgStatCardTypes["AGG_EMISSIONS_COMPARISON"] = "AGG_EMISSIONS_COMPARISON";
|
6116
6116
|
})(GhgStatCardTypes || (GhgStatCardTypes = {}));
|
6117
6117
|
|
6118
|
+
var GovDepartment;
|
6119
|
+
(function (GovDepartment) {
|
6120
|
+
GovDepartment["Cocoa Research Institute"] = "1";
|
6121
|
+
GovDepartment["National Agricultural Extension, Research and Liaison Services"] = "2";
|
6122
|
+
GovDepartment["National Veterinary Research Institute"] = "3";
|
6123
|
+
GovDepartment["Agricultural Insurance Corporation"] = "4";
|
6124
|
+
GovDepartment["National Root Crops Research Institute"] = "5";
|
6125
|
+
GovDepartment["Agricultural Research Council"] = "6";
|
6126
|
+
GovDepartment["Institute for Oceanography and Marine Research"] = "7";
|
6127
|
+
GovDepartment["Institute for Oil Palm Research"] = "8";
|
6128
|
+
GovDepartment["Agricultural Quarantine Service"] = "9";
|
6129
|
+
GovDepartment["National Horticultural Research Institute"] = "10";
|
6130
|
+
GovDepartment["Federal Airports Authority"] = "11";
|
6131
|
+
GovDepartment["Airspace Management Agency"] = "12";
|
6132
|
+
GovDepartment["Civil Aviation Authority"] = "13";
|
6133
|
+
GovDepartment["Safety Investigation Bureau"] = "14";
|
6134
|
+
GovDepartment["Meteorological Agency"] = "15";
|
6135
|
+
GovDepartment["College of Aviation Technology"] = "16";
|
6136
|
+
GovDepartment["National Information Technology Development Agency"] = "17";
|
6137
|
+
GovDepartment["Satellite Limited"] = "18";
|
6138
|
+
GovDepartment["Broadcasting Commission"] = "19";
|
6139
|
+
GovDepartment["Commission"] = "20";
|
6140
|
+
GovDepartment["Postal Service"] = "21";
|
6141
|
+
GovDepartment["National Frequency Management Council"] = "22";
|
6142
|
+
GovDepartment["Television Authority"] = "23";
|
6143
|
+
GovDepartment["Galaxy Backbone"] = "24";
|
6144
|
+
GovDepartment["Asset Management Corporation"] = "25";
|
6145
|
+
GovDepartment["Social Security Administration"] = "26";
|
6146
|
+
GovDepartment["Budget Office of the Federation"] = "27";
|
6147
|
+
GovDepartment["Bureau of Public Enterprises"] = "28";
|
6148
|
+
GovDepartment["Bureau of Public Procurement"] = "29";
|
6149
|
+
GovDepartment["Central Bank"] = "30";
|
6150
|
+
GovDepartment["Corporate Affairs Commission"] = "31";
|
6151
|
+
GovDepartment["Debt Management Office"] = "32";
|
6152
|
+
GovDepartment["Inland Revenue Service"] = "33";
|
6153
|
+
GovDepartment["Mortgage Bank"] = "34";
|
6154
|
+
GovDepartment["Fiscal Responsibility Commission"] = "35";
|
6155
|
+
GovDepartment["Infrastructure Concession Regulatory Commission"] = "36";
|
6156
|
+
GovDepartment["National Bureau of Statistics"] = "37";
|
6157
|
+
GovDepartment["National Council on Privatisation"] = "38";
|
6158
|
+
GovDepartment["National Insurance Commission"] = "39";
|
6159
|
+
GovDepartment["National Pension Commission"] = "40";
|
6160
|
+
GovDepartment["National Planning Commission"] = "41";
|
6161
|
+
GovDepartment["National Sugar Development Council"] = "42";
|
6162
|
+
GovDepartment["Niger Delta Development Commission"] = "43";
|
6163
|
+
GovDepartment["Customs Service"] = "44";
|
6164
|
+
GovDepartment["Deposit Insurance Corporation"] = "45";
|
6165
|
+
GovDepartment["Investment Promotion Commission"] = "46";
|
6166
|
+
GovDepartment["Export - Import Bank"] = "47";
|
6167
|
+
GovDepartment["Export Promotion Council"] = "48";
|
6168
|
+
GovDepartment["Oil and Gas Free Zones Authority"] = "49";
|
6169
|
+
GovDepartment["Export Processing Zones Authority"] = "50";
|
6170
|
+
GovDepartment["Revenue Mobilisation Allocation and Fiscal Commission"] = "51";
|
6171
|
+
GovDepartment["Securities and Exchange Commission"] = "52";
|
6172
|
+
GovDepartment["Standards Organisation"] = "53";
|
6173
|
+
GovDepartment["Small and Medium Enterprise Development Agency"] = "54";
|
6174
|
+
GovDepartment["National Board for Arabic And Islamic Studies"] = "55";
|
6175
|
+
GovDepartment["Joint Admissions and Matriculation Board"] = "56";
|
6176
|
+
GovDepartment["National Examination Council"] = "115";
|
6177
|
+
GovDepartment["National Open University"] = "57";
|
6178
|
+
GovDepartment["National Teachers Institute"] = "58";
|
6179
|
+
GovDepartment["National Universities Commission"] = "59";
|
6180
|
+
GovDepartment["Tertiary Education Trust Fund"] = "60";
|
6181
|
+
GovDepartment["Teachers Registration Council"] = "61";
|
6182
|
+
GovDepartment["National Business and Technical Examinations Board"] = "62";
|
6183
|
+
GovDepartment["Universal Basic Education Commission"] = "63";
|
6184
|
+
GovDepartment["West African Examination Council"] = "64";
|
6185
|
+
GovDepartment["National Commission for Colleges of Education"] = "65";
|
6186
|
+
GovDepartment["National Library"] = "66";
|
6187
|
+
GovDepartment["Midstream and Downstream Petroleum Regulatory Authority"] = "67";
|
6188
|
+
GovDepartment["Upstream Petroleum Regulatory Commission"] = "68";
|
6189
|
+
GovDepartment["Electricity Management Services Limited"] = "69";
|
6190
|
+
GovDepartment["Energy Commission"] = "70";
|
6191
|
+
GovDepartment["National Power Training Institute"] = "71";
|
6192
|
+
GovDepartment["Electricity Regulatory Commission"] = "72";
|
6193
|
+
GovDepartment["Content Monitoring and Development Board"] = "73";
|
6194
|
+
GovDepartment["National Petroleum Corporation"] = "74";
|
6195
|
+
GovDepartment["Petroleum Product Pricing Regulatory Agency"] = "76";
|
6196
|
+
GovDepartment["Power Holding Company (defunct)"] = "77";
|
6197
|
+
GovDepartment["Rural Electrification Agency"] = "78";
|
6198
|
+
GovDepartment["Transmission Company"] = "79";
|
6199
|
+
GovDepartment["Environmental Protection Agency (defunct)"] = "80";
|
6200
|
+
GovDepartment["Forestry Research Institute"] = "81";
|
6201
|
+
GovDepartment["National Biosafety Management Agency"] = "82";
|
6202
|
+
GovDepartment["National Environmental Standards and Regulations Enforcement Agency"] = "83";
|
6203
|
+
GovDepartment["National Oil Spill Detection and Response Agency"] = "84";
|
6204
|
+
GovDepartment["Environmental Health Officers Registration Council"] = "85";
|
6205
|
+
GovDepartment["National Health Insurance Scheme"] = "86";
|
6206
|
+
GovDepartment["Institute for Pharmaceutical Research and Development"] = "87";
|
6207
|
+
GovDepartment["Agency for the Control of AIDS"] = "88";
|
6208
|
+
GovDepartment["Agency for Food and Drug Administration and Control"] = "89";
|
6209
|
+
GovDepartment["Primary Health Care Development Agency"] = "90";
|
6210
|
+
GovDepartment["Institute of Medical Research"] = "91";
|
6211
|
+
GovDepartment["Centre for Disease Control"] = "92";
|
6212
|
+
GovDepartment["Drug Law Enforcement Agency"] = "93";
|
6213
|
+
GovDepartment["Defence Intelligence Agency"] = "94";
|
6214
|
+
GovDepartment["State Security Service"] = "95";
|
6215
|
+
GovDepartment["National Intelligence Agency"] = "96";
|
6216
|
+
GovDepartment["Financial Intelligence Unit"] = "97";
|
6217
|
+
GovDepartment["National Judicial Council"] = "98";
|
6218
|
+
GovDepartment["Federal Judicial Service Commission"] = "99";
|
6219
|
+
GovDepartment["National Judicial Institute"] = "100";
|
6220
|
+
GovDepartment["Maritime Administration and Safety Agency"] = "101";
|
6221
|
+
GovDepartment["Ports Authority"] = "102";
|
6222
|
+
GovDepartment["Shippers' Council"] = "103";
|
6223
|
+
GovDepartment["Broadcasting Organisation"] = "104";
|
6224
|
+
GovDepartment["News Agency"] = "105";
|
6225
|
+
GovDepartment["Press Council"] = "106";
|
6226
|
+
GovDepartment["Agency For Science and Engineering Infrastructure"] = "108";
|
6227
|
+
GovDepartment["Biotechnology Development Agency"] = "109";
|
6228
|
+
GovDepartment["Centre for Remote Sensing"] = "110";
|
6229
|
+
GovDepartment["Science and Technology Complex"] = "111";
|
6230
|
+
GovDepartment["Office for Technology Acquisition and Promotion"] = "112";
|
6231
|
+
GovDepartment["Space Research and Development Agency"] = "113";
|
6232
|
+
GovDepartment["Nuclear Regulatory Authority"] = "114";
|
6233
|
+
GovDepartment["Raw Materials Research and Development Council"] = "116";
|
6234
|
+
GovDepartment["Communications Satellite Ltd"] = "117";
|
6235
|
+
GovDepartment["Centre for Technology Management"] = "118";
|
6236
|
+
GovDepartment["Hydrological Services Agency"] = "119";
|
6237
|
+
GovDepartment["Integrated Water Resources Commission"] = "120";
|
6238
|
+
GovDepartment["Water Resources Institute"] = "121";
|
6239
|
+
GovDepartment["River Basin Development Authorities"] = "122";
|
6240
|
+
GovDepartment["Centre for Black and African Arts and Civilization"] = "123";
|
6241
|
+
GovDepartment["Automotive Design and Development Council"] = "124";
|
6242
|
+
GovDepartment["Code of Conduct Bureau"] = "125";
|
6243
|
+
GovDepartment["Computer Professionals Registration Council"] = "126";
|
6244
|
+
GovDepartment["Consumer Protection Council"] = "127";
|
6245
|
+
GovDepartment["Economic and Financial Crimes Commission"] = "128";
|
6246
|
+
GovDepartment["Federal Character Commission"] = "129";
|
6247
|
+
GovDepartment["Federal Housing Authority"] = "130";
|
6248
|
+
GovDepartment["Corrupt Practices and Other Related Offences Commission"] = "131";
|
6249
|
+
GovDepartment["Independent National Electoral Commission"] = "132";
|
6250
|
+
GovDepartment["Industrial Training Fund"] = "133";
|
6251
|
+
GovDepartment["Legal Aid Council"] = "134";
|
6252
|
+
GovDepartment["Agency for the Prohibition of Trafficking in Persons"] = "135";
|
6253
|
+
GovDepartment["National Boundary Commission"] = "136";
|
6254
|
+
GovDepartment["National Council of Arts and Culture"] = "137";
|
6255
|
+
GovDepartment["Economic Reconstruction Fund"] = "138";
|
6256
|
+
GovDepartment["Emergency Management Agency"] = "139";
|
6257
|
+
GovDepartment["Hajj Commission"] = "140";
|
6258
|
+
GovDepartment["Human Rights Commission"] = "141";
|
6259
|
+
GovDepartment["Identity Management Commission"] = "142";
|
6260
|
+
GovDepartment["Institute for Hospitality Tourism"] = "143";
|
6261
|
+
GovDepartment["Lottery Regulatory Commission"] = "144";
|
6262
|
+
GovDepartment["Orientation Agency"] = "145";
|
6263
|
+
GovDepartment["Population Commission"] = "146";
|
6264
|
+
GovDepartment["Poverty Eradication Programme (defunct)"] = "147";
|
6265
|
+
GovDepartment["Salaries, Incomes and Wages Commission"] = "148";
|
6266
|
+
GovDepartment["Sports Commission"] = "149";
|
6267
|
+
GovDepartment["Extractive Industries Transparency Initiative"] = "150";
|
6268
|
+
GovDepartment["Immigration Service"] = "151";
|
6269
|
+
GovDepartment["Building and Road Research Institute"] = "152";
|
6270
|
+
GovDepartment["Institute of Building"] = "153";
|
6271
|
+
GovDepartment["Christian Pilgrim Commission"] = "154";
|
6272
|
+
GovDepartment["Copyright Commission"] = "155";
|
6273
|
+
GovDepartment["Tourism Development Corporation"] = "156";
|
6274
|
+
GovDepartment["Public Complaints Commission"] = "157";
|
6275
|
+
GovDepartment["Surveyors Council"] = "158";
|
6276
|
+
GovDepartment["National Lottery Trust Fund"] = "159";
|
6277
|
+
})(GovDepartment || (GovDepartment = {}));
|
6278
|
+
|
6279
|
+
var Ministry;
|
6280
|
+
(function (Ministry) {
|
6281
|
+
Ministry["Agriculture"] = "Agriculture";
|
6282
|
+
Ministry["Aviation"] = "Aviation";
|
6283
|
+
Ministry["Communications"] = "Communications";
|
6284
|
+
Ministry["Economy"] = "Economy";
|
6285
|
+
Ministry["Education"] = "Education";
|
6286
|
+
Ministry["Energy"] = "Energy";
|
6287
|
+
Ministry["Environment"] = "Environment";
|
6288
|
+
Ministry["Health"] = "Health";
|
6289
|
+
Ministry["Intelligence"] = "Intelligence";
|
6290
|
+
Ministry["Judiciary"] = "Judiciary";
|
6291
|
+
Ministry["Maritime"] = "Maritime";
|
6292
|
+
Ministry["Media"] = "Media";
|
6293
|
+
Ministry["ScienceAndTechnology"] = "Science And Technology";
|
6294
|
+
Ministry["WaterResources"] = "Water Resources";
|
6295
|
+
Ministry["Other"] = "Other";
|
6296
|
+
})(Ministry || (Ministry = {}));
|
6297
|
+
|
6118
6298
|
var ConfigurationSettingsType;
|
6119
6299
|
(function (ConfigurationSettingsType) {
|
6120
6300
|
ConfigurationSettingsType[ConfigurationSettingsType["isTransferFrozen"] = 0] = "isTransferFrozen";
|
@@ -6172,24 +6352,310 @@ var Projection = /** @class */ (function () {
|
|
6172
6352
|
return Projection;
|
6173
6353
|
}());
|
6174
6354
|
|
6355
|
+
var ministries = [
|
6356
|
+
"Agriculture",
|
6357
|
+
"Aviation",
|
6358
|
+
"Communications",
|
6359
|
+
"Economy",
|
6360
|
+
"Education",
|
6361
|
+
"Energy",
|
6362
|
+
"Environment",
|
6363
|
+
"Health",
|
6364
|
+
"Intelligence",
|
6365
|
+
"Judiciary",
|
6366
|
+
"Maritime",
|
6367
|
+
"Media",
|
6368
|
+
"Science And Technology",
|
6369
|
+
"Water Resources",
|
6370
|
+
"Other",
|
6371
|
+
];
|
6372
|
+
var ministryOrgs = {
|
6373
|
+
Agriculture: [
|
6374
|
+
"Cocoa Research Institute",
|
6375
|
+
"National Agricultural Extension, Research and Liaison Services",
|
6376
|
+
"National Veterinary Research Institute",
|
6377
|
+
"Agricultural Insurance Corporation",
|
6378
|
+
"National Root Crops Research Institute",
|
6379
|
+
"Agricultural Research Council",
|
6380
|
+
"Institute for Oceanography and Marine Research",
|
6381
|
+
"Institute for Oil Palm Research",
|
6382
|
+
"Agricultural Quarantine Service",
|
6383
|
+
"National Horticultural Research Institute",
|
6384
|
+
],
|
6385
|
+
Aviation: [
|
6386
|
+
"Federal Airports Authority",
|
6387
|
+
"Airspace Management Agency",
|
6388
|
+
"Civil Aviation Authority",
|
6389
|
+
"Safety Investigation Bureau",
|
6390
|
+
"Meteorological Agency",
|
6391
|
+
"College of Aviation Technology",
|
6392
|
+
],
|
6393
|
+
Communications: [
|
6394
|
+
"National Information Technology Development Agency",
|
6395
|
+
"Satellite Limited",
|
6396
|
+
"Broadcasting Commission",
|
6397
|
+
"Commission",
|
6398
|
+
"Postal Service",
|
6399
|
+
"National Frequency Management Council",
|
6400
|
+
"Television Authority",
|
6401
|
+
"Galaxy Backbone",
|
6402
|
+
],
|
6403
|
+
Economy: [
|
6404
|
+
"Asset Management Corporation",
|
6405
|
+
"Social Security Administration",
|
6406
|
+
"Budget Office of the Federation",
|
6407
|
+
"Bureau of Public Enterprises",
|
6408
|
+
"Bureau of Public Procurement",
|
6409
|
+
"Central Bank",
|
6410
|
+
"Corporate Affairs Commission",
|
6411
|
+
"Debt Management Office",
|
6412
|
+
"Inland Revenue Service",
|
6413
|
+
"Mortgage Bank",
|
6414
|
+
"Fiscal Responsibility Commission",
|
6415
|
+
"Infrastructure Concession Regulatory Commission",
|
6416
|
+
"National Bureau of Statistics",
|
6417
|
+
"National Council on Privatisation",
|
6418
|
+
"National Insurance Commission",
|
6419
|
+
"National Pension Commission",
|
6420
|
+
"National Planning Commission",
|
6421
|
+
"National Sugar Development Council",
|
6422
|
+
"Niger Delta Development Commission",
|
6423
|
+
"Customs Service",
|
6424
|
+
"Deposit Insurance Corporation",
|
6425
|
+
"Investment Promotion Commission",
|
6426
|
+
"Export - Import Bank",
|
6427
|
+
"Export Promotion Council",
|
6428
|
+
"Oil and Gas Free Zones Authority",
|
6429
|
+
"Export Processing Zones Authority",
|
6430
|
+
"Revenue Mobilisation Allocation and Fiscal Commission",
|
6431
|
+
"Securities and Exchange Commission",
|
6432
|
+
"Standards Organisation",
|
6433
|
+
"Small and Medium Enterprise Development Agency",
|
6434
|
+
],
|
6435
|
+
Education: [
|
6436
|
+
"National Board for Arabic And Islamic Studies",
|
6437
|
+
"Joint Admissions and Matriculation Board",
|
6438
|
+
"National Examination Council",
|
6439
|
+
"National Open University",
|
6440
|
+
"National Teachers Institute",
|
6441
|
+
"National Universities Commission",
|
6442
|
+
"Tertiary Education Trust Fund",
|
6443
|
+
"Teachers Registration Council",
|
6444
|
+
"National Business and Technical Examinations Board",
|
6445
|
+
"Universal Basic Education Commission",
|
6446
|
+
"West African Examination Council",
|
6447
|
+
"National Commission for Colleges of Education",
|
6448
|
+
"National Library",
|
6449
|
+
],
|
6450
|
+
Energy: [
|
6451
|
+
"Midstream and Downstream Petroleum Regulatory Authority",
|
6452
|
+
"Upstream Petroleum Regulatory Commission",
|
6453
|
+
"Electricity Management Services Limited",
|
6454
|
+
"Energy Commission",
|
6455
|
+
"National Power Training Institute",
|
6456
|
+
"Electricity Regulatory Commission",
|
6457
|
+
"Content Monitoring and Development Board",
|
6458
|
+
"National Petroleum Corporation",
|
6459
|
+
"Nuclear Regulatory Authority",
|
6460
|
+
"Petroleum Product Pricing Regulatory Agency",
|
6461
|
+
"Power Holding Company (defunct)",
|
6462
|
+
"Rural Electrification Agency",
|
6463
|
+
"Transmission Company",
|
6464
|
+
],
|
6465
|
+
Environment: [
|
6466
|
+
"Environmental Protection Agency (defunct)",
|
6467
|
+
"Forestry Research Institute",
|
6468
|
+
"National Biosafety Management Agency",
|
6469
|
+
"National Environmental Standards and Regulations Enforcement Agency",
|
6470
|
+
"National Oil Spill Detection and Response Agency",
|
6471
|
+
"Environmental Health Officers Registration Council",
|
6472
|
+
],
|
6473
|
+
Health: [
|
6474
|
+
"National Health Insurance Scheme",
|
6475
|
+
"Institute for Pharmaceutical Research and Development",
|
6476
|
+
"Agency for the Control of AIDS",
|
6477
|
+
"Agency for Food and Drug Administration and Control",
|
6478
|
+
"Primary Health Care Development Agency",
|
6479
|
+
"Institute of Medical Research",
|
6480
|
+
"Centre for Disease Control",
|
6481
|
+
"Drug Law Enforcement Agency",
|
6482
|
+
],
|
6483
|
+
Intelligence: [
|
6484
|
+
"Defence Intelligence Agency",
|
6485
|
+
"State Security Service",
|
6486
|
+
"National Intelligence Agency",
|
6487
|
+
"Financial Intelligence Unit",
|
6488
|
+
],
|
6489
|
+
Judiciary: [
|
6490
|
+
"National Judicial Council",
|
6491
|
+
"Federal Judicial Service Commission",
|
6492
|
+
"National Judicial Institute",
|
6493
|
+
],
|
6494
|
+
Maritime: [
|
6495
|
+
"Maritime Administration and Safety Agency",
|
6496
|
+
"Ports Authority",
|
6497
|
+
"Shippers' Council",
|
6498
|
+
],
|
6499
|
+
Media: [
|
6500
|
+
"Broadcasting Organisation",
|
6501
|
+
"News Agency",
|
6502
|
+
"Press Council",
|
6503
|
+
"Television Authority",
|
6504
|
+
],
|
6505
|
+
ScienceAndTechnology: [
|
6506
|
+
"Agency For Science and Engineering Infrastructure",
|
6507
|
+
"Biotechnology Development Agency",
|
6508
|
+
"Centre for Remote Sensing",
|
6509
|
+
"Science and Technology Complex",
|
6510
|
+
"Office for Technology Acquisition and Promotion",
|
6511
|
+
"Space Research and Development Agency",
|
6512
|
+
"Nuclear Regulatory Authority",
|
6513
|
+
"Raw Materials Research and Development Council",
|
6514
|
+
"Communications Satellite Ltd",
|
6515
|
+
"Centre for Technology Management",
|
6516
|
+
],
|
6517
|
+
WaterResources: [
|
6518
|
+
"Hydrological Services Agency",
|
6519
|
+
"Integrated Water Resources Commission",
|
6520
|
+
"Water Resources Institute",
|
6521
|
+
"River Basin Development Authorities",
|
6522
|
+
],
|
6523
|
+
Other: [
|
6524
|
+
"Centre for Black and African Arts and Civilization",
|
6525
|
+
"Automotive Design and Development Council",
|
6526
|
+
"Code of Conduct Bureau",
|
6527
|
+
"Computer Professionals Registration Council",
|
6528
|
+
"Consumer Protection Council",
|
6529
|
+
"Economic and Financial Crimes Commission",
|
6530
|
+
"Federal Character Commission",
|
6531
|
+
"Federal Housing Authority",
|
6532
|
+
"Corrupt Practices and Other Related Offences Commission",
|
6533
|
+
"Independent National Electoral Commission",
|
6534
|
+
"Industrial Training Fund",
|
6535
|
+
"Legal Aid Council",
|
6536
|
+
"Agency for the Prohibition of Trafficking in Persons",
|
6537
|
+
"National Boundary Commission",
|
6538
|
+
"National Council of Arts and Culture",
|
6539
|
+
"Economic Reconstruction Fund",
|
6540
|
+
"Emergency Management Agency",
|
6541
|
+
"Hajj Commission",
|
6542
|
+
"Human Rights Commission",
|
6543
|
+
"Identity Management Commission",
|
6544
|
+
"Institute for Hospitality Tourism",
|
6545
|
+
"Lottery Regulatory Commission",
|
6546
|
+
"Orientation Agency",
|
6547
|
+
"Population Commission",
|
6548
|
+
"Poverty Eradication Programme (defunct)",
|
6549
|
+
"Salaries, Incomes and Wages Commission",
|
6550
|
+
"Sports Commission",
|
6551
|
+
"Extractive Industries Transparency Initiative",
|
6552
|
+
"Immigration Service",
|
6553
|
+
"Building and Road Research Institute",
|
6554
|
+
"Institute of Building",
|
6555
|
+
"Christian Pilgrim Commission",
|
6556
|
+
"Copyright Commission",
|
6557
|
+
"Tourism Development Corporation",
|
6558
|
+
"Public Complaints Commission",
|
6559
|
+
"Surveyors Council",
|
6560
|
+
"National Lottery Trust Fund",
|
6561
|
+
],
|
6562
|
+
};
|
6175
6563
|
var AddNewCompanyComponent = function (props) {
|
6176
|
-
var _a;
|
6564
|
+
var _a, _b, _c, _d, _e;
|
6177
6565
|
var t = props.t, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, maximumImageSize = props.maximumImageSize, useLocation = props.useLocation, regionField = props.regionField, isGuest = props.isGuest, onNavigateToHome = props.onNavigateToHome, systemType = props.systemType;
|
6178
6566
|
var formOne = Form.useForm()[0];
|
6179
6567
|
var formTwo = Form.useForm()[0];
|
6180
|
-
var
|
6181
|
-
var
|
6568
|
+
var _f = useState(), stepOneData = _f[0], setStepOneData = _f[1];
|
6569
|
+
var _g = useState(false), loading = _g[0], setLoading = _g[1];
|
6182
6570
|
var contactNoInput = useState()[0];
|
6183
|
-
var
|
6184
|
-
var
|
6185
|
-
var
|
6186
|
-
var
|
6571
|
+
var _h = useState(0), current = _h[0], setCurrent = _h[1];
|
6572
|
+
var _j = useState(false), isUpdate = _j[0], setIsUpdate = _j[1];
|
6573
|
+
var _k = useConnection(), put = _k.put, get = _k.get, post = _k.post;
|
6574
|
+
var _l = useUserContext(), setUserInfo = _l.setUserInfo, userInfoState = _l.userInfoState;
|
6187
6575
|
var state = useLocation().state;
|
6188
|
-
var
|
6189
|
-
var
|
6190
|
-
var
|
6191
|
-
var
|
6192
|
-
var
|
6576
|
+
var _m = useState([]), fileList = _m[0], setFileList = _m[1];
|
6577
|
+
var _o = useState([]), countries = _o[0], setCountries = _o[1];
|
6578
|
+
var _p = useState(false), loadingList = _p[0], setLoadingList = _p[1];
|
6579
|
+
var _q = useState([]), regionsList = _q[0], setRegionsList = _q[1];
|
6580
|
+
var _r = useState((_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.companyRole), companyRole = _r[0], setCompanyRole = _r[1];
|
6581
|
+
var _s = useState(""), selectedMinistry = _s[0], setSelectedMinistry = _s[1];
|
6582
|
+
var _t = useState([]), existgovDep = _t[0], setexistGovdep = _t[1];
|
6583
|
+
var _u = useState(ministries), ministryDropdown = _u[0], setMinistryDropdown = _u[1];
|
6584
|
+
var _v = useState(((_b = state === null || state === void 0 ? void 0 : state.record) === null || _b === void 0 ? void 0 : _b.govDep) ? (_c = state === null || state === void 0 ? void 0 : state.record) === null || _c === void 0 ? void 0 : _c.govDep : ""), intialGovDep = _v[0]; _v[1];
|
6585
|
+
var _w = useState(((_d = state === null || state === void 0 ? void 0 : state.record) === null || _d === void 0 ? void 0 : _d.ministry) ? (_e = state === null || state === void 0 ? void 0 : state.record) === null || _e === void 0 ? void 0 : _e.ministry : ""), initialMinistry = _w[0]; _w[1];
|
6586
|
+
var selectedGovDepatments = ministryOrgs[selectedMinistry];
|
6587
|
+
if (existgovDep && existgovDep.length > 0) {
|
6588
|
+
selectedGovDepatments = selectedGovDepatments.filter(function (x) { return !existgovDep.includes(x); });
|
6589
|
+
}
|
6590
|
+
var onChangeMinistry = function (val) { return __awaiter(void 0, void 0, void 0, function () {
|
6591
|
+
var key;
|
6592
|
+
return __generator(this, function (_a) {
|
6593
|
+
key = Object.keys(Ministry)[Object.values(Ministry).indexOf(val)];
|
6594
|
+
setSelectedMinistry(String(key));
|
6595
|
+
if (isUpdate && val === initialMinistry) {
|
6596
|
+
formOne.setFieldValue("govDep", Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(intialGovDep)]);
|
6597
|
+
}
|
6598
|
+
else {
|
6599
|
+
formOne.setFieldValue("govDep", "");
|
6600
|
+
}
|
6601
|
+
getGovDep(val);
|
6602
|
+
return [2 /*return*/];
|
6603
|
+
});
|
6604
|
+
}); };
|
6605
|
+
var getMinistryList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6606
|
+
var leftmins, excludingmin_1, _i, ministries_1, min, response, minkey, error_1;
|
6607
|
+
return __generator(this, function (_a) {
|
6608
|
+
switch (_a.label) {
|
6609
|
+
case 0:
|
6610
|
+
setLoadingList(true);
|
6611
|
+
_a.label = 1;
|
6612
|
+
case 1:
|
6613
|
+
_a.trys.push([1, 6, 7, 8]);
|
6614
|
+
leftmins = [];
|
6615
|
+
excludingmin_1 = [];
|
6616
|
+
_i = 0, ministries_1 = ministries;
|
6617
|
+
_a.label = 2;
|
6618
|
+
case 2:
|
6619
|
+
if (!(_i < ministries_1.length)) return [3 /*break*/, 5];
|
6620
|
+
min = ministries_1[_i];
|
6621
|
+
return [4 /*yield*/, post("national/organisation/query", {
|
6622
|
+
page: 1,
|
6623
|
+
size: 100,
|
6624
|
+
filterAnd: [
|
6625
|
+
{
|
6626
|
+
key: "ministry",
|
6627
|
+
operation: "=",
|
6628
|
+
value: min,
|
6629
|
+
},
|
6630
|
+
],
|
6631
|
+
})];
|
6632
|
+
case 3:
|
6633
|
+
response = _a.sent();
|
6634
|
+
minkey = Object.keys(Ministry)[Object.values(Ministry).indexOf(min)];
|
6635
|
+
if (response.data.length === ministryOrgs[minkey].length) {
|
6636
|
+
if (!isUpdate && min !== initialMinistry) {
|
6637
|
+
excludingmin_1.push(min);
|
6638
|
+
}
|
6639
|
+
}
|
6640
|
+
_a.label = 4;
|
6641
|
+
case 4:
|
6642
|
+
_i++;
|
6643
|
+
return [3 /*break*/, 2];
|
6644
|
+
case 5:
|
6645
|
+
leftmins = ministries.filter(function (x) { return !excludingmin_1.includes(x); });
|
6646
|
+
setMinistryDropdown(leftmins);
|
6647
|
+
return [3 /*break*/, 8];
|
6648
|
+
case 6:
|
6649
|
+
error_1 = _a.sent();
|
6650
|
+
console.log("Error in getting min list", error_1);
|
6651
|
+
return [3 /*break*/, 8];
|
6652
|
+
case 7:
|
6653
|
+
setLoadingList(false);
|
6654
|
+
return [7 /*endfinally*/];
|
6655
|
+
case 8: return [2 /*return*/];
|
6656
|
+
}
|
6657
|
+
});
|
6658
|
+
}); };
|
6193
6659
|
var getCountryList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6194
6660
|
var response, alpha2Names;
|
6195
6661
|
return __generator(this, function (_a) {
|
@@ -6208,7 +6674,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6208
6674
|
});
|
6209
6675
|
}); };
|
6210
6676
|
var getRegionList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6211
|
-
var response, regionNames,
|
6677
|
+
var response, regionNames, error_2;
|
6212
6678
|
return __generator(this, function (_a) {
|
6213
6679
|
switch (_a.label) {
|
6214
6680
|
case 0:
|
@@ -6231,13 +6697,61 @@ var AddNewCompanyComponent = function (props) {
|
|
6231
6697
|
response = _a.sent();
|
6232
6698
|
if (response.data) {
|
6233
6699
|
regionNames = response.data.map(function (item) { return item.regionName; });
|
6234
|
-
|
6235
|
-
setRegionsList(__spreadArray([t("national")], uniqueRegionNames, true));
|
6700
|
+
setRegionsList(__spreadArray([t("national")], regionNames, true));
|
6236
6701
|
}
|
6237
6702
|
return [3 /*break*/, 5];
|
6238
6703
|
case 3:
|
6239
|
-
|
6240
|
-
console.log("Error in getting regions list",
|
6704
|
+
error_2 = _a.sent();
|
6705
|
+
console.log("Error in getting regions list", error_2);
|
6706
|
+
return [3 /*break*/, 5];
|
6707
|
+
case 4:
|
6708
|
+
setLoadingList(false);
|
6709
|
+
return [7 /*endfinally*/];
|
6710
|
+
case 5: return [2 /*return*/];
|
6711
|
+
}
|
6712
|
+
});
|
6713
|
+
}); };
|
6714
|
+
var getGovDep = function (val) { return __awaiter(void 0, void 0, void 0, function () {
|
6715
|
+
var response, existDep, i, departName, error_3;
|
6716
|
+
return __generator(this, function (_a) {
|
6717
|
+
switch (_a.label) {
|
6718
|
+
case 0:
|
6719
|
+
setLoadingList(true);
|
6720
|
+
_a.label = 1;
|
6721
|
+
case 1:
|
6722
|
+
_a.trys.push([1, 3, 4, 5]);
|
6723
|
+
return [4 /*yield*/, post("national/organisation/query", {
|
6724
|
+
page: 1,
|
6725
|
+
size: 200,
|
6726
|
+
filterAnd: [
|
6727
|
+
{
|
6728
|
+
key: "ministry",
|
6729
|
+
operation: "=",
|
6730
|
+
value: val,
|
6731
|
+
},
|
6732
|
+
],
|
6733
|
+
})];
|
6734
|
+
case 2:
|
6735
|
+
response = _a.sent();
|
6736
|
+
if (response && response.data) {
|
6737
|
+
existDep = [];
|
6738
|
+
for (i in response.data) {
|
6739
|
+
if (response.data[i].govDep && response.data[i].govDep.length > 0) {
|
6740
|
+
departName = Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(response.data[i].govDep)];
|
6741
|
+
if (response.data[i].govDep !== intialGovDep) {
|
6742
|
+
existDep.push(departName);
|
6743
|
+
}
|
6744
|
+
else {
|
6745
|
+
continue;
|
6746
|
+
}
|
6747
|
+
}
|
6748
|
+
}
|
6749
|
+
setexistGovdep(existDep);
|
6750
|
+
}
|
6751
|
+
return [3 /*break*/, 5];
|
6752
|
+
case 3:
|
6753
|
+
error_3 = _a.sent();
|
6754
|
+
console.log("Error in getting exist Government Department list", error_3);
|
6241
6755
|
return [3 /*break*/, 5];
|
6242
6756
|
case 4:
|
6243
6757
|
setLoadingList(false);
|
@@ -6247,10 +6761,11 @@ var AddNewCompanyComponent = function (props) {
|
|
6247
6761
|
});
|
6248
6762
|
}); };
|
6249
6763
|
useEffect(function () {
|
6250
|
-
var _a, _b, _c;
|
6764
|
+
var _a, _b, _c, _d, _e, _f;
|
6251
6765
|
setIsUpdate((state === null || state === void 0 ? void 0 : state.record) ? true : false);
|
6252
6766
|
getCountryList();
|
6253
6767
|
getRegionList();
|
6768
|
+
getMinistryList();
|
6254
6769
|
if ((_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.logo) {
|
6255
6770
|
setFileList([
|
6256
6771
|
{
|
@@ -6262,6 +6777,11 @@ var AddNewCompanyComponent = function (props) {
|
|
6262
6777
|
},
|
6263
6778
|
]);
|
6264
6779
|
}
|
6780
|
+
if ((_d = state === null || state === void 0 ? void 0 : state.record) === null || _d === void 0 ? void 0 : _d.ministry) {
|
6781
|
+
var key = Object.keys(Ministry)[Object.values(Ministry).indexOf((_e = state === null || state === void 0 ? void 0 : state.record) === null || _e === void 0 ? void 0 : _e.ministry)];
|
6782
|
+
setSelectedMinistry(key);
|
6783
|
+
getGovDep((_f = state === null || state === void 0 ? void 0 : state.record) === null || _f === void 0 ? void 0 : _f.ministry);
|
6784
|
+
}
|
6265
6785
|
}, []);
|
6266
6786
|
var normFile = function (e) {
|
6267
6787
|
if (Array.isArray(e)) {
|
@@ -6287,7 +6807,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6287
6807
|
}
|
6288
6808
|
};
|
6289
6809
|
var onFinishStepTwo = function (values) { return __awaiter(void 0, void 0, void 0, function () {
|
6290
|
-
var requestData, logoBase64, logoUrls, response, response,
|
6810
|
+
var requestData, logoBase64, logoUrls, response, response, error_4;
|
6291
6811
|
var _a, _b;
|
6292
6812
|
return __generator(this, function (_c) {
|
6293
6813
|
switch (_c.label) {
|
@@ -6315,6 +6835,10 @@ var AddNewCompanyComponent = function (props) {
|
|
6315
6835
|
logoBase64 = _c.sent();
|
6316
6836
|
logoUrls = logoBase64.split(",");
|
6317
6837
|
requestData.company.logo = logoUrls[1];
|
6838
|
+
if (companyRole === CompanyRole.MINISTRY) {
|
6839
|
+
requestData.company.name =
|
6840
|
+
"Ministry of " + requestData.company.ministry;
|
6841
|
+
}
|
6318
6842
|
if (!isGuest) return [3 /*break*/, 4];
|
6319
6843
|
return [4 /*yield*/, post("national/user/register", requestData)];
|
6320
6844
|
case 3:
|
@@ -6351,10 +6875,10 @@ var AddNewCompanyComponent = function (props) {
|
|
6351
6875
|
_c.label = 6;
|
6352
6876
|
case 6: return [3 /*break*/, 9];
|
6353
6877
|
case 7:
|
6354
|
-
|
6878
|
+
error_4 = _c.sent();
|
6355
6879
|
message.open({
|
6356
6880
|
type: "error",
|
6357
|
-
content: "".concat(
|
6881
|
+
content: "".concat(error_4.message),
|
6358
6882
|
duration: 3,
|
6359
6883
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
6360
6884
|
});
|
@@ -6367,17 +6891,17 @@ var AddNewCompanyComponent = function (props) {
|
|
6367
6891
|
});
|
6368
6892
|
}); };
|
6369
6893
|
var onUpdateCompany = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6370
|
-
var formOneValues, values, logoBase64, logoUrls, response,
|
6371
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
6372
|
-
return __generator(this, function (
|
6373
|
-
switch (
|
6894
|
+
var formOneValues, values, key, logoBase64, logoUrls, response, error_5;
|
6895
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
6896
|
+
return __generator(this, function (_o) {
|
6897
|
+
switch (_o.label) {
|
6374
6898
|
case 0:
|
6375
6899
|
setLoading(true);
|
6376
6900
|
formOneValues = formOne.getFieldsValue();
|
6377
6901
|
formOneValues.phoneNo = formatPhoneNumberIntl(formOneValues.phoneNo);
|
6378
|
-
|
6902
|
+
_o.label = 1;
|
6379
6903
|
case 1:
|
6380
|
-
|
6904
|
+
_o.trys.push([1, 5, , 6]);
|
6381
6905
|
values = {};
|
6382
6906
|
if (regionField) {
|
6383
6907
|
values = {
|
@@ -6405,14 +6929,26 @@ var AddNewCompanyComponent = function (props) {
|
|
6405
6929
|
values.taxId = formOneValues.taxId;
|
6406
6930
|
values.paymentId = formOneValues.paymentId;
|
6407
6931
|
}
|
6408
|
-
if (((_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.companyRole) === CompanyRole.MINISTRY
|
6932
|
+
if (((_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.companyRole) === CompanyRole.MINISTRY ||
|
6933
|
+
((_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.companyRole) === CompanyRole.GOVERNMENT) {
|
6934
|
+
if (formOneValues.govDep in GovDepartment) {
|
6935
|
+
key = formOneValues.govDep;
|
6936
|
+
values.govDep = GovDepartment[key];
|
6937
|
+
}
|
6938
|
+
else {
|
6939
|
+
values.govDep = formOneValues.govDep;
|
6940
|
+
}
|
6941
|
+
values.ministry = formOneValues.ministry;
|
6942
|
+
}
|
6943
|
+
if (((_j = state === null || state === void 0 ? void 0 : state.record) === null || _j === void 0 ? void 0 : _j.companyRole) === CompanyRole.MINISTRY) {
|
6409
6944
|
values.sectoralScope = formOneValues.sectoralScope;
|
6410
6945
|
values.nameOfMinister = formOneValues.nameOfMinister;
|
6946
|
+
values.name = "Ministry of " + formOneValues.ministry;
|
6411
6947
|
}
|
6412
|
-
if (((
|
6948
|
+
if (((_k = state === null || state === void 0 ? void 0 : state.record) === null || _k === void 0 ? void 0 : _k.companyRole) === CompanyRole.GOVERNMENT) {
|
6413
6949
|
values.omgePercentage = Math.round(Number(formOneValues.omgePercentage));
|
6414
6950
|
}
|
6415
|
-
if (((
|
6951
|
+
if (((_l = state === null || state === void 0 ? void 0 : state.record) === null || _l === void 0 ? void 0 : _l.companyRole) === CompanyRole.GOVERNMENT) {
|
6416
6952
|
values.nationalSopValue = Math.floor(Number(formOneValues.nationalSopValue));
|
6417
6953
|
}
|
6418
6954
|
if (formOneValues.website) {
|
@@ -6423,15 +6959,15 @@ var AddNewCompanyComponent = function (props) {
|
|
6423
6959
|
}
|
6424
6960
|
if (!formOneValues.logo) return [3 /*break*/, 3];
|
6425
6961
|
if (!(formOneValues.logo.length !== 0)) return [3 /*break*/, 3];
|
6426
|
-
return [4 /*yield*/, getBase64((
|
6962
|
+
return [4 /*yield*/, getBase64((_m = formOneValues.logo[0]) === null || _m === void 0 ? void 0 : _m.originFileObj)];
|
6427
6963
|
case 2:
|
6428
|
-
logoBase64 =
|
6964
|
+
logoBase64 = _o.sent();
|
6429
6965
|
logoUrls = logoBase64.split(",");
|
6430
6966
|
values.logo = logoUrls[1];
|
6431
|
-
|
6967
|
+
_o.label = 3;
|
6432
6968
|
case 3: return [4 /*yield*/, put("national/organisation/update", values)];
|
6433
6969
|
case 4:
|
6434
|
-
response =
|
6970
|
+
response = _o.sent();
|
6435
6971
|
if (response.status === 200 || response.status === 201) {
|
6436
6972
|
setUserInfo({
|
6437
6973
|
companyLogo: response.data.logo,
|
@@ -6447,10 +6983,10 @@ var AddNewCompanyComponent = function (props) {
|
|
6447
6983
|
setLoading(false);
|
6448
6984
|
return [3 /*break*/, 6];
|
6449
6985
|
case 5:
|
6450
|
-
|
6986
|
+
error_5 = _o.sent();
|
6451
6987
|
message.open({
|
6452
6988
|
type: "error",
|
6453
|
-
content: "".concat(t("errorInUpdatingCompany"), " ").concat(
|
6989
|
+
content: "".concat(t("errorInUpdatingCompany"), " ").concat(error_5.message),
|
6454
6990
|
duration: 3,
|
6455
6991
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
6456
6992
|
});
|
@@ -6468,7 +7004,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6468
7004
|
setCompanyRole(value);
|
6469
7005
|
};
|
6470
7006
|
var CompanyDetailsForm = function () {
|
6471
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
7007
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
6472
7008
|
var companyRoleClassName = companyRole === CompanyRole.CERTIFIER
|
6473
7009
|
? "certifier"
|
6474
7010
|
: companyRole === CompanyRole.PROGRAMME_DEVELOPER
|
@@ -6482,7 +7018,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6482
7018
|
React.createElement(Row, { className: "row", gutter: [16, 16] },
|
6483
7019
|
React.createElement(Col, { xl: 12, md: 24 },
|
6484
7020
|
React.createElement("div", { className: "details-part-one" },
|
6485
|
-
React.createElement(Form.Item, { label: t("addCompany:name"), name: "name", initialValue: (_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.name, rules: [
|
7021
|
+
companyRole !== CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: t("addCompany:name"), name: "name", initialValue: (_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.name, rules: [
|
6486
7022
|
{
|
6487
7023
|
required: true,
|
6488
7024
|
message: "",
|
@@ -6501,7 +7037,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6501
7037
|
}); },
|
6502
7038
|
},
|
6503
7039
|
] },
|
6504
|
-
React.createElement(Input, { size: "large" })),
|
7040
|
+
React.createElement(Input, { size: "large" }))),
|
6505
7041
|
companyRole !== CompanyRole.MINISTRY
|
6506
7042
|
? (!isUpdate ||
|
6507
7043
|
(isUpdate &&
|
@@ -6550,7 +7086,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6550
7086
|
] },
|
6551
7087
|
React.createElement(Input, { size: "large" })))
|
6552
7088
|
: null,
|
6553
|
-
React.createElement(Form.Item, { label: t("addCompany:email"), name: "email", initialValue: (_d = state === null || state === void 0 ? void 0 : state.record) === null || _d === void 0 ? void 0 : _d.email, rules: [
|
7089
|
+
companyRole !== CompanyRole.GOVERNMENT && (React.createElement(Form.Item, { label: t("addCompany:email"), name: "email", initialValue: (_d = state === null || state === void 0 ? void 0 : state.record) === null || _d === void 0 ? void 0 : _d.email, rules: [
|
6554
7090
|
{
|
6555
7091
|
required: true,
|
6556
7092
|
message: "",
|
@@ -6580,8 +7116,65 @@ var AddNewCompanyComponent = function (props) {
|
|
6580
7116
|
}); },
|
6581
7117
|
},
|
6582
7118
|
] },
|
6583
|
-
React.createElement(Input, { size: "large" })),
|
6584
|
-
|
7119
|
+
React.createElement(Input, { size: "large" }))),
|
7120
|
+
(companyRole === CompanyRole.MINISTRY ||
|
7121
|
+
companyRole === CompanyRole.GOVERNMENT) && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
7122
|
+
React.createElement(Form.Item, { label: t("addCompany:ministry"), name: "ministry", initialValue: (_e = state === null || state === void 0 ? void 0 : state.record) === null || _e === void 0 ? void 0 : _e.ministry, rules: [
|
7123
|
+
{
|
7124
|
+
required: true,
|
7125
|
+
message: "".concat(t("addCompany:ministry"), " ").concat(t("isRequired")),
|
7126
|
+
},
|
7127
|
+
] }, (companyRole !== CompanyRole.GOVERNMENT &&
|
7128
|
+
(ministryDropdown &&
|
7129
|
+
ministryDropdown.length > 0)) ? (React.createElement(Select, { size: "large", onChange: onChangeMinistry }, ministryDropdown.map(function (ministry) { return (React.createElement(Select.Option, { value: ministry }, ministry)); }))) : (React.createElement(Select, { size: "large", disabled: true }))),
|
7130
|
+
companyRole === CompanyRole.GOVERNMENT && (React.createElement(Form.Item, { label: t("addCompany:email"), name: "email", initialValue: (_f = state === null || state === void 0 ? void 0 : state.record) === null || _f === void 0 ? void 0 : _f.email, rules: [
|
7131
|
+
{
|
7132
|
+
required: true,
|
7133
|
+
message: "",
|
7134
|
+
},
|
7135
|
+
{
|
7136
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7137
|
+
var val, reg, matches;
|
7138
|
+
return __generator(this, function (_a) {
|
7139
|
+
if (String(value).trim() === "" ||
|
7140
|
+
String(value).trim() === undefined ||
|
7141
|
+
value === null ||
|
7142
|
+
value === undefined) {
|
7143
|
+
throw new Error("".concat(t("addCompany:email"), " ").concat(t("isRequired")));
|
7144
|
+
}
|
7145
|
+
else {
|
7146
|
+
val = value.trim();
|
7147
|
+
reg = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
7148
|
+
matches = val.match(reg)
|
7149
|
+
? val.match(reg)
|
7150
|
+
: [];
|
7151
|
+
if (matches.length === 0) {
|
7152
|
+
throw new Error("".concat(t("addCompany:email"), " ").concat(t("isInvalid")));
|
7153
|
+
}
|
7154
|
+
}
|
7155
|
+
return [2 /*return*/];
|
7156
|
+
});
|
7157
|
+
}); },
|
7158
|
+
},
|
7159
|
+
] },
|
7160
|
+
React.createElement(Input, { size: "large" }))),
|
7161
|
+
companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: t("addCompany:ministerName"), name: "nameOfMinister", initialValue: (_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.nameOfMinister, rules: [
|
7162
|
+
{
|
7163
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7164
|
+
return __generator(this, function (_a) {
|
7165
|
+
if (String(value).trim() === "" ||
|
7166
|
+
String(value).trim() === undefined ||
|
7167
|
+
value === null ||
|
7168
|
+
value === undefined) {
|
7169
|
+
throw new Error("".concat(t("addCompany:ministerName"), " ").concat(t("isRequired")));
|
7170
|
+
}
|
7171
|
+
return [2 /*return*/];
|
7172
|
+
});
|
7173
|
+
}); },
|
7174
|
+
},
|
7175
|
+
] },
|
7176
|
+
React.createElement(Input, { size: "large" }))))),
|
7177
|
+
React.createElement(Form.Item, { className: "website", label: t("addCompany:website"), initialValue: (_j = (_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.website) === null || _j === void 0 ? void 0 : _j.split("://")[1], name: "website", rules: [
|
6585
7178
|
{
|
6586
7179
|
required: false,
|
6587
7180
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6599,6 +7192,23 @@ var AddNewCompanyComponent = function (props) {
|
|
6599
7192
|
},
|
6600
7193
|
], 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(); } },
|
6601
7194
|
React.createElement(Input, { addonBefore: "https://", size: "large" })),
|
7195
|
+
companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: t("addCompany:addresss"), initialValue: (_k = state === null || state === void 0 ? void 0 : state.record) === null || _k === void 0 ? void 0 : _k.address, rules: [
|
7196
|
+
{ required: true, message: "" },
|
7197
|
+
{
|
7198
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7199
|
+
return __generator(this, function (_a) {
|
7200
|
+
if (String(value).trim() === "" ||
|
7201
|
+
String(value).trim() === undefined ||
|
7202
|
+
value === null ||
|
7203
|
+
value === undefined) {
|
7204
|
+
throw new Error("".concat(t("addCompany:addresss"), " ").concat(t("isRequired")));
|
7205
|
+
}
|
7206
|
+
return [2 /*return*/];
|
7207
|
+
});
|
7208
|
+
}); },
|
7209
|
+
},
|
7210
|
+
] },
|
7211
|
+
React.createElement(Input.TextArea, { rows: 3, maxLength: 100 }))),
|
6602
7212
|
React.createElement(Form.Item, { name: "logo", label: t("addCompany:companyLogoWithType"), valuePropName: "fileList", getValueFromEvent: normFile, required: true, rules: [
|
6603
7213
|
{
|
6604
7214
|
validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6642,29 +7252,12 @@ var AddNewCompanyComponent = function (props) {
|
|
6642
7252
|
return false;
|
6643
7253
|
}, className: "logo-upload-section", name: "logo", action: "/upload.do", listType: "picture", multiple: false, defaultFileList: fileList, maxCount: 1 },
|
6644
7254
|
React.createElement(Button, { size: "large", icon: React.createElement(UploadOutlined, null) }, t("addCompany:upload")))),
|
6645
|
-
companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: t("addCompany:addresss"), initialValue: (_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.address, rules: [
|
6646
|
-
{ required: true, message: "" },
|
6647
|
-
{
|
6648
|
-
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
6649
|
-
return __generator(this, function (_a) {
|
6650
|
-
if (String(value).trim() === "" ||
|
6651
|
-
String(value).trim() === undefined ||
|
6652
|
-
value === null ||
|
6653
|
-
value === undefined) {
|
6654
|
-
throw new Error("".concat(t("addCompany:addresss"), " ").concat(t("isRequired")));
|
6655
|
-
}
|
6656
|
-
return [2 /*return*/];
|
6657
|
-
});
|
6658
|
-
}); },
|
6659
|
-
},
|
6660
|
-
] },
|
6661
|
-
React.createElement(Input.TextArea, { rows: 3, maxLength: 100 }))),
|
6662
7255
|
companyRole === CompanyRole.GOVERNMENT && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
6663
7256
|
React.createElement(Space, { wrap: true, style: {
|
6664
7257
|
display: "flex",
|
6665
7258
|
marginBottom: 8,
|
6666
7259
|
}, align: "center", size: "large" },
|
6667
|
-
React.createElement(Form.Item, { style: { width: "100%" }, name: "nationalSopValue", label: t("addCompany:nationalSopValue"), initialValue: (
|
7260
|
+
React.createElement(Form.Item, { style: { width: "100%" }, name: "nationalSopValue", label: t("addCompany:nationalSopValue"), initialValue: (_l = state === null || state === void 0 ? void 0 : state.record) === null || _l === void 0 ? void 0 : _l.nationalSopValue, rules: [
|
6668
7261
|
{ required: true, message: "" },
|
6669
7262
|
{
|
6670
7263
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6717,42 +7310,54 @@ var AddNewCompanyComponent = function (props) {
|
|
6717
7310
|
t("addCompany:programmeDeveleper")))),
|
6718
7311
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
6719
7312
|
CompanyRole.MINISTRY &&
|
6720
|
-
!isGuest && (React.createElement("div", { className: "minister-radio-container" },
|
6721
|
-
React.createElement(
|
6722
|
-
React.createElement(
|
6723
|
-
|
6724
|
-
|
6725
|
-
|
7313
|
+
!isGuest && (React.createElement("div", { className: "minister-radio-container" }, ministryDropdown.length > 0 ? (React.createElement(Tooltip, { placement: "top", title: t("addCompany:ministryToolTip") },
|
7314
|
+
React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
|
7315
|
+
React.createElement(AuditOutlined, { className: "role-icons" }),
|
7316
|
+
t("addCompany:min")))) : (React.createElement(Tooltip, { placement: "top", title: t("addCompany:allmincreated") },
|
7317
|
+
React.createElement(Radio.Button, { className: "minister", value: "Ministry", disabled: true },
|
7318
|
+
React.createElement(AuditOutlined, { className: "role-icons" }),
|
7319
|
+
t("addCompany:min")))))))))),
|
7320
|
+
(companyRole === CompanyRole.MINISTRY ||
|
7321
|
+
companyRole === CompanyRole.GOVERNMENT) && (React.createElement(Form.Item, { label: t("addCompany:govdep"), name: "govDep", initialValue: Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(intialGovDep)], rules: [
|
6726
7322
|
{
|
6727
7323
|
required: true,
|
6728
|
-
message: "",
|
7324
|
+
message: "".concat(t("addCompany:govdep"), " ").concat(t("isRequired")),
|
6729
7325
|
},
|
6730
7326
|
{
|
6731
7327
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7328
|
+
var val;
|
6732
7329
|
return __generator(this, function (_a) {
|
6733
|
-
|
6734
|
-
|
6735
|
-
|
6736
|
-
|
6737
|
-
|
7330
|
+
val = Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(value)];
|
7331
|
+
if (val &&
|
7332
|
+
val.length > 0 &&
|
7333
|
+
selectedGovDepatments &&
|
7334
|
+
!selectedGovDepatments.includes(val)) {
|
7335
|
+
throw new Error("".concat(t("addCompany:govdepnotexist")));
|
6738
7336
|
}
|
6739
7337
|
return [2 /*return*/];
|
6740
7338
|
});
|
6741
7339
|
}); },
|
6742
7340
|
},
|
6743
|
-
] },
|
6744
|
-
|
7341
|
+
] }, (companyRole !== CompanyRole.GOVERNMENT &&
|
7342
|
+
(selectedGovDepatments &&
|
7343
|
+
selectedGovDepatments.length > 0)) ? (React.createElement(Select, { size: "large" }, selectedGovDepatments === null || selectedGovDepatments === void 0 ? void 0 : selectedGovDepatments.map(function (val) {
|
7344
|
+
if (val in GovDepartment) {
|
7345
|
+
var key = val;
|
7346
|
+
return (React.createElement(Select.Option, { key: GovDepartment[key], value: GovDepartment[key] }, val));
|
7347
|
+
}
|
7348
|
+
return null;
|
7349
|
+
}))) : (React.createElement(Select, { size: "large", disabled: true })))),
|
6745
7350
|
companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: t("addCompany:sectoralScope"), name: "sectoralScope", rules: [
|
6746
7351
|
{
|
6747
7352
|
required: true,
|
6748
7353
|
message: "".concat(t("addCompany:sectoralScope"), " ").concat(t("isRequired")),
|
6749
7354
|
},
|
6750
|
-
], initialValue: (
|
7355
|
+
], initialValue: (_m = state === null || state === void 0 ? void 0 : state.record) === null || _m === void 0 ? void 0 : _m.sectoralScope },
|
6751
7356
|
React.createElement(Select, { mode: "multiple", size: "large", maxTagCount: 2, allowClear: true }, Object.entries(SectoralScope).map(function (_a) {
|
6752
7357
|
var key = _a[0], value = _a[1];
|
6753
7358
|
return (React.createElement(Select.Option, { key: value, value: value }, key));
|
6754
7359
|
})))),
|
6755
|
-
React.createElement(Form.Item, { name: "phoneNo", label: t("addCompany:phoneNo"), initialValue: (
|
7360
|
+
React.createElement(Form.Item, { name: "phoneNo", label: t("addCompany:phoneNo"), initialValue: (_o = state === null || state === void 0 ? void 0 : state.record) === null || _o === void 0 ? void 0 : _o.phoneNo, rules: [
|
6756
7361
|
{
|
6757
7362
|
required: true,
|
6758
7363
|
message: "",
|
@@ -6783,14 +7388,14 @@ var AddNewCompanyComponent = function (props) {
|
|
6783
7388
|
},
|
6784
7389
|
] },
|
6785
7390
|
React.createElement(PhoneInput, { placeholder: t("addCompany:phoneNo"), international: true, value: formatPhoneNumberIntl(contactNoInput), defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })),
|
6786
|
-
regionField && (React.createElement(Form.Item, { label: t("region"), name: "regions", initialValue: (
|
7391
|
+
regionField && (React.createElement(Form.Item, { label: t("addCompany:region"), name: "regions", initialValue: (_p = state === null || state === void 0 ? void 0 : state.record) === null || _p === void 0 ? void 0 : _p.regions, rules: [
|
6787
7392
|
{
|
6788
7393
|
required: true,
|
6789
|
-
message: "".concat(t("region"), " ").concat(t("isRequired")),
|
7394
|
+
message: "".concat(t("addCompany:region"), " ").concat(t("isRequired")),
|
6790
7395
|
},
|
6791
7396
|
] },
|
6792
7397
|
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)); })))),
|
6793
|
-
companyRole !== CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: t("addCompany:addresss"), initialValue: (
|
7398
|
+
companyRole !== CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: t("addCompany:addresss"), initialValue: (_q = state === null || state === void 0 ? void 0 : state.record) === null || _q === void 0 ? void 0 : _q.address, rules: [
|
6794
7399
|
{ required: true, message: "" },
|
6795
7400
|
{
|
6796
7401
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6813,7 +7418,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6813
7418
|
display: "flex",
|
6814
7419
|
marginBottom: 8,
|
6815
7420
|
}, align: "center", size: "large" },
|
6816
|
-
React.createElement(Form.Item, { style: { width: "100%" }, name: "omgePercentage", label: t("addCompany:omgePercentage"), initialValue: (
|
7421
|
+
React.createElement(Form.Item, { style: { width: "100%" }, name: "omgePercentage", label: t("addCompany:omgePercentage"), initialValue: (_r = state === null || state === void 0 ? void 0 : state.record) === null || _r === void 0 ? void 0 : _r.omgePercentage, rules: [
|
6817
7422
|
{ required: true, message: "" },
|
6818
7423
|
{
|
6819
7424
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6987,6 +7592,16 @@ var CompanyDetailsComponent = function (props) {
|
|
6987
7592
|
React.createElement(Row, { className: "field" },
|
6988
7593
|
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:name")),
|
6989
7594
|
React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.name ? companyDetails.name : "-")),
|
7595
|
+
((companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.companyRole) === CompanyRole.GOVERNMENT ||
|
7596
|
+
(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.companyRole) === CompanyRole.MINISTRY) && (React.createElement(React.Fragment, null,
|
7597
|
+
React.createElement(Row, { className: "field" },
|
7598
|
+
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:ministry")),
|
7599
|
+
React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.ministry ? companyDetails.ministry : "-")),
|
7600
|
+
React.createElement(Row, { className: "field" },
|
7601
|
+
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:govDep")),
|
7602
|
+
React.createElement(Col, { span: 12, className: "field-value" }, (companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.govDep)
|
7603
|
+
? Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.govDep)]
|
7604
|
+
: "-")))),
|
6990
7605
|
React.createElement(Row, { className: "field" },
|
6991
7606
|
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:taxId")),
|
6992
7607
|
React.createElement(Col, { span: 12, className: "field-value nextline-overflow" }, companyDetails.taxId &&
|
@@ -7895,7 +8510,7 @@ var ProgrammeManagementComponent = function (props) {
|
|
7895
8510
|
} })))))));
|
7896
8511
|
};
|
7897
8512
|
|
7898
|
-
var css_248z$r = ".programme-details-form-container,\n.programme-sought-form-container {\n width: 100%; }\n .programme-details-form-container .programme-details-form,\n .programme-details-form-container .programme-sought-form,\n .programme-sought-form-container .programme-details-form,\n .programme-sought-form-container .programme-sought-form {\n width: 100%; }\n .programme-details-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-details-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover,\n .programme-details-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-details-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover,\n .programme-sought-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-sought-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover,\n .programme-sought-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-sought-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover {\n border-color: #ff4d4f !important; }\n .programme-details-form-container .programme-details-form .ant-picker-large,\n .programme-details-form-container .programme-sought-form .ant-picker-large,\n .programme-sought-form-container .programme-details-form .ant-picker-large,\n .programme-sought-form-container .programme-sought-form .ant-picker-large {\n height: 40px !important;\n width: 100%; }\n .programme-details-form-container .programme-details-form .ant-upload-list-item-name,\n .programme-details-form-container .programme-sought-form .ant-upload-list-item-name,\n .programme-sought-form-container .programme-details-form .ant-upload-list-item-name,\n .programme-sought-form-container .programme-sought-form .ant-upload-list-item-name {\n color: #16b1ff; }\n .programme-details-form-container .programme-details-form .steps-actions,\n .programme-details-form-container .programme-sought-form .steps-actions,\n .programme-sought-form-container .programme-details-form .steps-actions,\n .programme-sought-form-container .programme-sought-form .steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem; }\n .programme-details-form-container .programme-details-form .steps-actions .action-btn,\n .programme-details-form-container .programme-sought-form .steps-actions .action-btn,\n .programme-sought-form-container .programme-details-form .steps-actions .action-btn,\n .programme-sought-form-container .programme-sought-form .steps-actions .action-btn {\n border: 1px solid #16b1ff;\n color: #16b1ff;\n margin-right: 1rem; }\n .programme-details-form-container .programme-details-form .steps-actions .back-btn,\n .programme-details-form-container .programme-sought-form .steps-actions .back-btn,\n .programme-sought-form-container .programme-details-form .steps-actions .back-btn,\n .programme-sought-form-container .programme-sought-form .steps-actions .back-btn {\n border: 1px solid rgba(140, 140, 140, 0.7);\n color: rgba(140, 140, 140, 0.7);\n margin-right: 1rem; }\n .programme-details-form-container .programme-details-form .steps-actions .mg-left-1,\n .programme-details-form-container .programme-sought-form .steps-actions .mg-left-1,\n .programme-sought-form-container .programme-details-form .steps-actions .mg-left-1,\n .programme-sought-form-container .programme-sought-form .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .programme-details-form-container .programme-details-form .options-programme,\n .programme-details-form-container .programme-sought-form .options-programme,\n .programme-sought-form-container .programme-details-form .options-programme,\n .programme-sought-form-container .programme-sought-form .options-programme {\n width: 100%; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .ant-radio-group,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .ant-radio-group,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .ant-radio-group,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .ant-radio-group {\n width: 50%; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio-container,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio-container,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio-container,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio-container {\n width: 30%;\n text-align: center; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .anticon,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .anticon,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .anticon,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .anticon {\n margin-right: 0.5rem; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio {\n width: 100%; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .role-icons,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .role-icons,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .role-icons,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .role-icons {\n margin-right: 5px; }\n .programme-details-form-container .programme-details-form .row,\n .programme-details-form-container .programme-sought-form .row,\n .programme-sought-form-container .programme-details-form .row,\n .programme-sought-form-container .programme-sought-form .row {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .org-col .details-part-three,\n .programme-details-form-container .programme-sought-form .row .org-col .details-part-three,\n .programme-sought-form-container .programme-details-form .row .org-col .details-part-three,\n .programme-sought-form-container .programme-sought-form .row .org-col .details-part-three {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .website .ant-input,\n .programme-details-form-container .programme-sought-form .row .website .ant-input,\n .programme-sought-form-container .programme-details-form .row .website .ant-input,\n .programme-sought-form-container .programme-sought-form .row .website .ant-input {\n margin-left: 0.3rem; }\n .programme-details-form-container .programme-details-form .row .website .ant-input-group-addon,\n .programme-details-form-container .programme-sought-form .row .website .ant-input-group-addon,\n .programme-sought-form-container .programme-details-form .row .website .ant-input-group-addon,\n .programme-sought-form-container .programme-sought-form .row .website .ant-input-group-addon {\n border: 1px solid #d9d9d9; }\n .programme-details-form-container .programme-details-form .row .design-upload-section,\n .programme-details-form-container .programme-sought-form .row .design-upload-section,\n .programme-sought-form-container .programme-details-form .row .design-upload-section,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: start;\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .icon-color,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .icon-color,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .icon-color,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .icon-color {\n color: #16b1ff !important; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .ant-upload,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .ant-upload,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .ant-upload,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .ant-upload {\n width: 20%; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .ant-upload-list,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .ant-upload-list,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .ant-upload-list,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 75%; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .ant-upload-list .ant-upload-list-item,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .ant-upload-list .ant-upload-list-item,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .ant-upload-list .ant-upload-list-item,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .programme-details-form-container .programme-details-form .row .details-part-one .upload-doc,\n .programme-details-form-container .programme-sought-form .row .details-part-one .upload-doc,\n .programme-sought-form-container .programme-details-form .row .details-part-one .upload-doc,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .upload-doc {\n height: 40px !important; }\n .programme-details-form-container .programme-details-form .row .details-part-one .ant-upload-list-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .ant-upload-list-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .ant-upload-list-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n .programme-details-form-container .programme-details-form .row .details-part-one .add-Document,\n .programme-details-form-container .programme-sought-form .row .details-part-one .add-Document,\n .programme-sought-form-container .programme-details-form .row .details-part-one .add-Document,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .add-Document {\n display: flex; }\n .programme-details-form-container .programme-details-form .row .details-part-one .add-Document .ant-form-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .add-Document .ant-form-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .add-Document .ant-form-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .add-Document .ant-form-item {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .add-Document .addDoc-info,\n .programme-details-form-container .programme-sought-form .row .details-part-one .add-Document .addDoc-info,\n .programme-sought-form-container .programme-details-form .row .details-part-one .add-Document .addDoc-info,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .add-Document .addDoc-info {\n position: absolute;\n margin-left: 130px;\n margin-top: 1.1px; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-list-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-list-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-list-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-list-item {\n display: flex;\n width: 100%;\n align-items: center; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item .organisation,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item .organisation,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item .organisation,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item .organisation {\n width: 60%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent {\n width: 35%;\n margin-left: 1rem; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-input-number,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-input-number,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-input-number,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-input-number {\n width: 80%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error {\n width: 250px !important; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container {\n width: 48%;\n text-align: center; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n border-radius: 4px;\n box-shadow: none; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .anticon,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .anticon,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .anticon,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .anticon {\n margin-right: 0.5rem; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .role-icons,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .role-icons,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .role-icons,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .role-icons {\n margin-right: 5px; }\n .programme-details-form-container .programme-details-form .row-org,\n .programme-details-form-container .programme-sought-form .row-org,\n .programme-sought-form-container .programme-details-form .row-org,\n .programme-sought-form-container .programme-sought-form .row-org {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row-org .org-col .details-part-three,\n .programme-details-form-container .programme-sought-form .row-org .org-col .details-part-three,\n .programme-sought-form-container .programme-details-form .row-org .org-col .details-part-three,\n .programme-sought-form-container .programme-sought-form .row-org .org-col .details-part-three {\n width: 100%; }\n .programme-details-form-container .programme-details-form .selection-details-row,\n .programme-details-form-container .programme-sought-form .selection-details-row,\n .programme-sought-form-container .programme-details-form .selection-details-row,\n .programme-sought-form-container .programme-sought-form .selection-details-row {\n width: 100%;\n margin-bottom: 1rem; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-col,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-col,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-col,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-col,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-col,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-col,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-col,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-col {\n width: 100%; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row {\n width: 100%;\n align-items: center; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-label,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-label,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label {\n display: flex;\n flex-direction: row;\n width: fit-content;\n align-items: center;\n justify-content: space-between;\n font-size: 14px;\n color: rgba(58, 53, 65, 0.5); }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-label .info-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label .info-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-label .info-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: flex-end; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val {\n width: 100%; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container {\n width: 45%;\n text-align: center; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none;\n border-radius: 4px; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before {\n background-color: transparent;\n border-radius: 4px; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n color: #8c8c8c; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .anticon,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .anticon,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .anticon,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .anticon {\n margin-right: 0.5rem; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio {\n width: 100%; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n\n.step-title-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .step-title-container .step-count {\n font-size: 2.2rem;\n font-weight: 800;\n margin-right: 0.4rem;\n color: rgba(58, 53, 65, 0.8); }\n .step-title-container .title {\n font-size: 1rem;\n font-weight: 600;\n color: #3a3541; }\n\n.add-programme-main-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 50px; }\n .add-programme-main-container .title-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px; }\n .add-programme-main-container .title-container .main {\n font-size: 1.25rem;\n font-weight: 500;\n color: #16b1ff; }\n .add-programme-main-container .title-container .sub {\n font-size: 0.8rem;\n color: #555657; }\n .add-programme-main-container .adding-section {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n margin: 1rem 0 1rem 0;\n border-radius: 10px;\n padding: 2.5rem 1.5rem 2.5rem 1.5rem; }\n .add-programme-main-container .adding-section .form-section {\n display: flex;\n margin-bottom: 2rem; }\n .add-programme-main-container .adding-section .form-section .form-one {\n width: 100%; }\n .add-programme-main-container .adding-section .form-section .steps {\n width: 15%; }\n .add-programme-main-container .adding-section .form-section .steps-content {\n width: 85%; }\n .add-programme-main-container .adding-section .steps-action {\n display: flex;\n flex-direction: row-reverse; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n height: auto;\n max-height: 200px; }\n";
|
8513
|
+
var css_248z$r = ".programme-details-form-container,\n.programme-sought-form-container {\n width: 100%; }\n .programme-details-form-container .programme-details-form,\n .programme-details-form-container .programme-sought-form,\n .programme-sought-form-container .programme-details-form,\n .programme-sought-form-container .programme-sought-form {\n width: 100%; }\n .programme-details-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-details-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover,\n .programme-details-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-details-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover,\n .programme-sought-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-sought-form-container .programme-details-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover,\n .programme-sought-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input,\n .programme-sought-form-container .programme-sought-form .ant-input-status-error:not(.ant-input-disabled):not(\n .ant-input-borderless\n).ant-input:hover {\n border-color: #ff4d4f !important; }\n .programme-details-form-container .programme-details-form .ant-picker-large,\n .programme-details-form-container .programme-sought-form .ant-picker-large,\n .programme-sought-form-container .programme-details-form .ant-picker-large,\n .programme-sought-form-container .programme-sought-form .ant-picker-large {\n height: 40px !important;\n width: 100%; }\n .programme-details-form-container .programme-details-form .ant-upload-list-item-name,\n .programme-details-form-container .programme-sought-form .ant-upload-list-item-name,\n .programme-sought-form-container .programme-details-form .ant-upload-list-item-name,\n .programme-sought-form-container .programme-sought-form .ant-upload-list-item-name {\n color: #16b1ff; }\n .programme-details-form-container .programme-details-form .steps-actions,\n .programme-details-form-container .programme-sought-form .steps-actions,\n .programme-sought-form-container .programme-details-form .steps-actions,\n .programme-sought-form-container .programme-sought-form .steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem; }\n .programme-details-form-container .programme-details-form .steps-actions .action-btn,\n .programme-details-form-container .programme-sought-form .steps-actions .action-btn,\n .programme-sought-form-container .programme-details-form .steps-actions .action-btn,\n .programme-sought-form-container .programme-sought-form .steps-actions .action-btn {\n border: 1px solid #16b1ff;\n color: #16b1ff;\n margin-right: 1rem; }\n .programme-details-form-container .programme-details-form .steps-actions .back-btn,\n .programme-details-form-container .programme-sought-form .steps-actions .back-btn,\n .programme-sought-form-container .programme-details-form .steps-actions .back-btn,\n .programme-sought-form-container .programme-sought-form .steps-actions .back-btn {\n border: 1px solid rgba(140, 140, 140, 0.7);\n color: rgba(140, 140, 140, 0.7);\n margin-right: 1rem; }\n .programme-details-form-container .programme-details-form .steps-actions .mg-left-1,\n .programme-details-form-container .programme-sought-form .steps-actions .mg-left-1,\n .programme-sought-form-container .programme-details-form .steps-actions .mg-left-1,\n .programme-sought-form-container .programme-sought-form .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .programme-details-form-container .programme-details-form .options-programme,\n .programme-details-form-container .programme-sought-form .options-programme,\n .programme-sought-form-container .programme-details-form .options-programme,\n .programme-sought-form-container .programme-sought-form .options-programme {\n width: 100%; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .ant-radio-group,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .ant-radio-group,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .ant-radio-group,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .ant-radio-group {\n width: 50%; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio-container,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio-container,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio-container,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio-container {\n width: 30%;\n text-align: center; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .anticon,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .anticon,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .anticon,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .anticon {\n margin-right: 0.5rem; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio {\n width: 100%; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .condition-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .condition-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .programme-details-form-container .programme-details-form .options-programme .role-group .role-icons,\n .programme-details-form-container .programme-sought-form .options-programme .role-group .role-icons,\n .programme-sought-form-container .programme-details-form .options-programme .role-group .role-icons,\n .programme-sought-form-container .programme-sought-form .options-programme .role-group .role-icons {\n margin-right: 5px; }\n .programme-details-form-container .programme-details-form .row,\n .programme-details-form-container .programme-sought-form .row,\n .programme-sought-form-container .programme-details-form .row,\n .programme-sought-form-container .programme-sought-form .row {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .org-col .details-part-three,\n .programme-details-form-container .programme-sought-form .row .org-col .details-part-three,\n .programme-sought-form-container .programme-details-form .row .org-col .details-part-three,\n .programme-sought-form-container .programme-sought-form .row .org-col .details-part-three {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .website .ant-input,\n .programme-details-form-container .programme-sought-form .row .website .ant-input,\n .programme-sought-form-container .programme-details-form .row .website .ant-input,\n .programme-sought-form-container .programme-sought-form .row .website .ant-input {\n margin-left: 0.3rem; }\n .programme-details-form-container .programme-details-form .row .website .ant-input-group-addon,\n .programme-details-form-container .programme-sought-form .row .website .ant-input-group-addon,\n .programme-sought-form-container .programme-details-form .row .website .ant-input-group-addon,\n .programme-sought-form-container .programme-sought-form .row .website .ant-input-group-addon {\n border: 1px solid #d9d9d9; }\n .programme-details-form-container .programme-details-form .row .design-upload-section,\n .programme-details-form-container .programme-sought-form .row .design-upload-section,\n .programme-sought-form-container .programme-details-form .row .design-upload-section,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: start;\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .icon-color,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .icon-color,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .icon-color,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .icon-color {\n color: #16b1ff !important; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .ant-upload,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .ant-upload,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .ant-upload,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .ant-upload {\n width: 20%; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .ant-upload-list,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .ant-upload-list,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .ant-upload-list,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 75%; }\n .programme-details-form-container .programme-details-form .row .design-upload-section .ant-upload-list .ant-upload-list-item,\n .programme-details-form-container .programme-sought-form .row .design-upload-section .ant-upload-list .ant-upload-list-item,\n .programme-sought-form-container .programme-details-form .row .design-upload-section .ant-upload-list .ant-upload-list-item,\n .programme-sought-form-container .programme-sought-form .row .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .programme-details-form-container .programme-details-form .row .details-part-one .upload-doc,\n .programme-details-form-container .programme-sought-form .row .details-part-one .upload-doc,\n .programme-sought-form-container .programme-details-form .row .details-part-one .upload-doc,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .upload-doc {\n height: 40px !important; }\n .programme-details-form-container .programme-details-form .row .details-part-one .ant-upload-list-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .ant-upload-list-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .ant-upload-list-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n .programme-details-form-container .programme-details-form .row .details-part-one .add-Document,\n .programme-details-form-container .programme-sought-form .row .details-part-one .add-Document,\n .programme-sought-form-container .programme-details-form .row .details-part-one .add-Document,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .add-Document {\n display: flex; }\n .programme-details-form-container .programme-details-form .row .details-part-one .add-Document .ant-form-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .add-Document .ant-form-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .add-Document .ant-form-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .add-Document .ant-form-item {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .add-Document .addDoc-info,\n .programme-details-form-container .programme-sought-form .row .details-part-one .add-Document .addDoc-info,\n .programme-sought-form-container .programme-details-form .row .details-part-one .add-Document .addDoc-info,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .add-Document .addDoc-info {\n position: absolute;\n margin-left: 130px;\n margin-top: 1.1px; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-list-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-list-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-list-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-list-item {\n display: flex;\n width: 100%;\n align-items: center; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item .organisation,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item .organisation,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ant-space-item .organisation,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ant-space-item .organisation {\n width: 60%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent {\n width: 35%;\n margin-left: 1rem; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-input-number,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-input-number,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-input-number,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-input-number {\n width: 80%; }\n .programme-details-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error,\n .programme-details-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error,\n .programme-sought-form-container .programme-details-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error,\n .programme-sought-form-container .programme-sought-form .row .details-part-one .space-container .ownership-percent .ant-form-item-explain-error {\n width: 250px !important; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container {\n width: 48%;\n text-align: center; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n border-radius: 4px;\n box-shadow: none; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .anticon,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .anticon,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .anticon,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .anticon {\n margin-right: 0.5rem; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .condition-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .programme-details-form-container .programme-details-form .row .details-part-two .role-group .role-icons,\n .programme-details-form-container .programme-sought-form .row .details-part-two .role-group .role-icons,\n .programme-sought-form-container .programme-details-form .row .details-part-two .role-group .role-icons,\n .programme-sought-form-container .programme-sought-form .row .details-part-two .role-group .role-icons {\n margin-right: 5px; }\n .programme-details-form-container .programme-details-form .row-org,\n .programme-details-form-container .programme-sought-form .row-org,\n .programme-sought-form-container .programme-details-form .row-org,\n .programme-sought-form-container .programme-sought-form .row-org {\n width: 100%; }\n .programme-details-form-container .programme-details-form .row-org .org-col .details-part-three,\n .programme-details-form-container .programme-sought-form .row-org .org-col .details-part-three,\n .programme-sought-form-container .programme-details-form .row-org .org-col .details-part-three,\n .programme-sought-form-container .programme-sought-form .row-org .org-col .details-part-three {\n width: 100%; }\n .programme-details-form-container .programme-details-form .selection-details-row,\n .programme-details-form-container .programme-sought-form .selection-details-row,\n .programme-sought-form-container .programme-details-form .selection-details-row,\n .programme-sought-form-container .programme-sought-form .selection-details-row {\n width: 100%;\n margin-bottom: 1rem; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-col,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-col,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-col,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-col,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-col,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-col,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-col,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-col {\n width: 100%; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row {\n width: 100%;\n align-items: center; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-label,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-label,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label {\n display: flex;\n flex-direction: row;\n width: fit-content;\n align-items: center;\n justify-content: space-between;\n font-size: 14px;\n color: rgba(58, 53, 65, 0.5); }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-label .info-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label .info-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-label .info-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-label .info-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-label .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: flex-end; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val {\n width: 100%; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container {\n width: max-content;\n text-align: center;\n margin-right: 1rem; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n),\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none;\n border-radius: 4px; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper::before,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper::before {\n background-color: transparent;\n border-radius: 4px; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .ant-radio-button-wrapper,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n color: #8c8c8c; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .anticon,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .anticon,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .anticon,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .anticon,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .anticon {\n margin-right: 0.5rem; }\n .programme-details-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-details-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-details-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-ndc-row .included-val .yes-no-radio .ant-radio-button-checked,\n .programme-sought-form-container .programme-sought-form .selection-details-row .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked {\n background: #16b1ff;\n color: #ffffff; }\n\n.step-title-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .step-title-container .step-count {\n font-size: 2.2rem;\n font-weight: 800;\n margin-right: 0.4rem;\n color: rgba(58, 53, 65, 0.8); }\n .step-title-container .title {\n font-size: 1rem;\n font-weight: 600;\n color: #3a3541; }\n\n.add-programme-main-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 50px; }\n .add-programme-main-container .title-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px; }\n .add-programme-main-container .title-container .main {\n font-size: 1.25rem;\n font-weight: 500;\n color: #16b1ff; }\n .add-programme-main-container .title-container .sub {\n font-size: 0.8rem;\n color: #555657; }\n .add-programme-main-container .adding-section {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n margin: 1rem 0 1rem 0;\n border-radius: 10px;\n padding: 2.5rem 1.5rem 2.5rem 1.5rem; }\n .add-programme-main-container .adding-section .form-section {\n display: flex;\n margin-bottom: 2rem; }\n .add-programme-main-container .adding-section .form-section .form-one {\n width: 100%; }\n .add-programme-main-container .adding-section .form-section .steps {\n width: 15%; }\n .add-programme-main-container .adding-section .form-section .steps-content {\n width: 85%; }\n .add-programme-main-container .adding-section .steps-action {\n display: flex;\n flex-direction: row-reverse; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n height: auto;\n max-height: 200px; }\n";
|
7899
8514
|
styleInject(css_248z$r);
|
7900
8515
|
|
7901
8516
|
function commonjsRequire(path) {
|
@@ -13654,7 +14269,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13654
14269
|
var userInfoState = useUserContext().userInfoState;
|
13655
14270
|
var _e = useState(false), loading = _e[0], setLoading = _e[1];
|
13656
14271
|
var _f = useState(false), loadingList = _f[0], setLoadingList = _f[1];
|
13657
|
-
var _g = useState()
|
14272
|
+
var _g = useState(); _g[0]; var setNdcScopeChanged = _g[1];
|
13658
14273
|
var _h = useState(), ndcScopeValue = _h[0], setNdcScopeValue = _h[1];
|
13659
14274
|
var _j = useState(), stepOneData = _j[0], setStepOneData = _j[1];
|
13660
14275
|
var _k = useState(0), current = _k[0], setCurrent = _k[1];
|
@@ -13674,6 +14289,10 @@ var ProgrammeCreationComponent = function (props) {
|
|
13674
14289
|
var _z = useState([]), availableSecoralScope = _z[0], setAvailableSectoralScope = _z[1];
|
13675
14290
|
var _0 = useState([]), selectableSectoralScope = _0[0], setSelectableSectoralScope = _0[1];
|
13676
14291
|
var _1 = useState([]), availableSectar = _1[0], setAvailableSectar = _1[1];
|
14292
|
+
var _2 = useState(true), article6trade = _2[0], setArticletrade = _2[1];
|
14293
|
+
var _3 = useState([]), ministryList = _3[0], setMinistryList = _3[1];
|
14294
|
+
var _4 = useState(); _4[0]; _4[1];
|
14295
|
+
var _5 = useState(), implementOwner = _5[0], setimplementOwner = _5[1];
|
13677
14296
|
// const initialOrganisationOwnershipValues: any[] = [
|
13678
14297
|
// {
|
13679
14298
|
// organisation:
|
@@ -13730,7 +14349,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13730
14349
|
});
|
13731
14350
|
}); };
|
13732
14351
|
var getRegionList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
13733
|
-
var response, regionNames,
|
14352
|
+
var response, regionNames, error_2;
|
13734
14353
|
return __generator(this, function (_a) {
|
13735
14354
|
switch (_a.label) {
|
13736
14355
|
case 0:
|
@@ -13753,8 +14372,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13753
14372
|
response = _a.sent();
|
13754
14373
|
if (response.data) {
|
13755
14374
|
regionNames = response.data.map(function (item) { return item.regionName; });
|
13756
|
-
|
13757
|
-
setRegionsList(__spreadArray(["National"], uniqueRegionNames, true));
|
14375
|
+
setRegionsList(__spreadArray(["National"], regionNames, true));
|
13758
14376
|
}
|
13759
14377
|
return [3 /*break*/, 5];
|
13760
14378
|
case 3:
|
@@ -13799,7 +14417,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13799
14417
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyName),
|
13800
14418
|
proponentPercentage: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
13801
14419
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY &&
|
13802
|
-
|
14420
|
+
100 - Number(response === null || response === void 0 ? void 0 : response.data[0].nationalSopValue),
|
13803
14421
|
},
|
13804
14422
|
]);
|
13805
14423
|
setGovData(response === null || response === void 0 ? void 0 : response.data[0]);
|
@@ -13818,8 +14436,96 @@ var ProgrammeCreationComponent = function (props) {
|
|
13818
14436
|
}
|
13819
14437
|
});
|
13820
14438
|
}); };
|
14439
|
+
var getMinistryDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14440
|
+
var response, error_4;
|
14441
|
+
return __generator(this, function (_a) {
|
14442
|
+
switch (_a.label) {
|
14443
|
+
case 0:
|
14444
|
+
setLoading(true);
|
14445
|
+
_a.label = 1;
|
14446
|
+
case 1:
|
14447
|
+
_a.trys.push([1, 3, 4, 5]);
|
14448
|
+
console.log("getting Ministry profile");
|
14449
|
+
return [4 /*yield*/, post("national/organisation/query", {
|
14450
|
+
page: 1,
|
14451
|
+
size: 100,
|
14452
|
+
filterOr: [
|
14453
|
+
{
|
14454
|
+
key: "companyRole",
|
14455
|
+
operation: "=",
|
14456
|
+
value: CompanyRole.MINISTRY,
|
14457
|
+
},
|
14458
|
+
{
|
14459
|
+
key: "companyRole",
|
14460
|
+
operation: "=",
|
14461
|
+
value: CompanyRole.GOVERNMENT,
|
14462
|
+
},
|
14463
|
+
],
|
14464
|
+
})];
|
14465
|
+
case 2:
|
14466
|
+
response = _a.sent();
|
14467
|
+
if (response.data) {
|
14468
|
+
setMinistryList(response === null || response === void 0 ? void 0 : response.data);
|
14469
|
+
}
|
14470
|
+
return [3 /*break*/, 5];
|
14471
|
+
case 3:
|
14472
|
+
error_4 = _a.sent();
|
14473
|
+
console.log("Error in getting ministry data", error_4);
|
14474
|
+
return [3 /*break*/, 5];
|
14475
|
+
case 4:
|
14476
|
+
setLoading(false);
|
14477
|
+
return [7 /*endfinally*/];
|
14478
|
+
case 5: return [2 /*return*/];
|
14479
|
+
}
|
14480
|
+
});
|
14481
|
+
}); };
|
14482
|
+
var getImplementOwnerDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14483
|
+
var response, error_5;
|
14484
|
+
var _a, _b;
|
14485
|
+
return __generator(this, function (_c) {
|
14486
|
+
switch (_c.label) {
|
14487
|
+
case 0:
|
14488
|
+
setLoading(true);
|
14489
|
+
_c.label = 1;
|
14490
|
+
case 1:
|
14491
|
+
_c.trys.push([1, 3, , 4]);
|
14492
|
+
return [4 /*yield*/, post("national/user/query", {
|
14493
|
+
page: 1,
|
14494
|
+
size: 10,
|
14495
|
+
filterAnd: [
|
14496
|
+
{
|
14497
|
+
key: "id",
|
14498
|
+
operation: "=",
|
14499
|
+
value: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.id,
|
14500
|
+
},
|
14501
|
+
],
|
14502
|
+
})];
|
14503
|
+
case 2:
|
14504
|
+
response = _c.sent();
|
14505
|
+
if (response && response.data) {
|
14506
|
+
if ((_a = response === null || response === void 0 ? void 0 : response.data[0]) === null || _a === void 0 ? void 0 : _a.company) {
|
14507
|
+
setimplementOwner((_b = response === null || response === void 0 ? void 0 : response.data[0]) === null || _b === void 0 ? void 0 : _b.company);
|
14508
|
+
}
|
14509
|
+
}
|
14510
|
+
setLoading(false);
|
14511
|
+
return [3 /*break*/, 4];
|
14512
|
+
case 3:
|
14513
|
+
error_5 = _c.sent();
|
14514
|
+
console.log("Error in getting users", error_5);
|
14515
|
+
message.open({
|
14516
|
+
type: "error",
|
14517
|
+
content: error_5.message,
|
14518
|
+
duration: 3,
|
14519
|
+
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
14520
|
+
});
|
14521
|
+
setLoading(false);
|
14522
|
+
return [3 /*break*/, 4];
|
14523
|
+
case 4: return [2 /*return*/];
|
14524
|
+
}
|
14525
|
+
});
|
14526
|
+
}); };
|
13821
14527
|
var getOrganisationsDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
13822
|
-
var response, userOrganisation, taxId,
|
14528
|
+
var response, userOrganisation, taxId, error_6;
|
13823
14529
|
return __generator(this, function (_a) {
|
13824
14530
|
switch (_a.label) {
|
13825
14531
|
case 0:
|
@@ -13848,8 +14554,8 @@ var ProgrammeCreationComponent = function (props) {
|
|
13848
14554
|
}
|
13849
14555
|
return [3 /*break*/, 5];
|
13850
14556
|
case 3:
|
13851
|
-
|
13852
|
-
console.log("Error in getting organisation list",
|
14557
|
+
error_6 = _a.sent();
|
14558
|
+
console.log("Error in getting organisation list", error_6);
|
13853
14559
|
return [3 /*break*/, 5];
|
13854
14560
|
case 4:
|
13855
14561
|
setLoadingList(false);
|
@@ -13859,7 +14565,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13859
14565
|
});
|
13860
14566
|
}); };
|
13861
14567
|
var getUserDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
13862
|
-
var response, sectScopeValues_1, sectSScope_1, sectors_1,
|
14568
|
+
var response, sectScopeValues_1, sectSScope_1, sectors_1, error_7;
|
13863
14569
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
13864
14570
|
return __generator(this, function (_k) {
|
13865
14571
|
switch (_k.label) {
|
@@ -13919,11 +14625,11 @@ var ProgrammeCreationComponent = function (props) {
|
|
13919
14625
|
setLoading(false);
|
13920
14626
|
return [3 /*break*/, 4];
|
13921
14627
|
case 3:
|
13922
|
-
|
13923
|
-
console.log("Error in getting users",
|
14628
|
+
error_7 = _k.sent();
|
14629
|
+
console.log("Error in getting users", error_7);
|
13924
14630
|
message.open({
|
13925
14631
|
type: "error",
|
13926
|
-
content:
|
14632
|
+
content: error_7.message,
|
13927
14633
|
duration: 3,
|
13928
14634
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
13929
14635
|
});
|
@@ -13938,8 +14644,10 @@ var ProgrammeCreationComponent = function (props) {
|
|
13938
14644
|
getCountryList();
|
13939
14645
|
getRegionList();
|
13940
14646
|
getGovernmentDetails();
|
14647
|
+
getMinistryDetails();
|
13941
14648
|
if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY) {
|
13942
14649
|
getUserDetails();
|
14650
|
+
getImplementOwnerDetails();
|
13943
14651
|
}
|
13944
14652
|
}, []);
|
13945
14653
|
var normFile = function (e) {
|
@@ -13956,46 +14664,74 @@ var ProgrammeCreationComponent = function (props) {
|
|
13956
14664
|
setCurrent(current - 1);
|
13957
14665
|
};
|
13958
14666
|
var onFinishStepOne = function (values) { return __awaiter(void 0, void 0, void 0, function () {
|
13959
|
-
var programmeDetails, ownershipPercentage,
|
13960
|
-
var _a, _b, _c, _d;
|
13961
|
-
return __generator(this, function (
|
13962
|
-
switch (
|
14667
|
+
var programmeDetails, totalPercentage, ownershipPercentage, duplicateIds, proponentTxIds, proponentPercentages, finalImplementingOwner, supportingOwners, propTaxIds, propTaxIds, environmentalImpactAssessmentData, logoBase64;
|
14668
|
+
var _a, _b, _c, _d, _e;
|
14669
|
+
return __generator(this, function (_f) {
|
14670
|
+
switch (_f.label) {
|
13963
14671
|
case 0:
|
13964
14672
|
setLoading(true);
|
13965
|
-
|
13966
|
-
|
13967
|
-
|
13968
|
-
|
13969
|
-
|
14673
|
+
if (article6trade) {
|
14674
|
+
ownershipPercentage = JSON.parse(JSON.stringify(values === null || values === void 0 ? void 0 : values.ownershipPercentage));
|
14675
|
+
if (Number(govData.nationalSopValue) !== 0) {
|
14676
|
+
ownershipPercentage.push({
|
14677
|
+
organisation: govData.taxId,
|
14678
|
+
proponentPercentage: Number(govData.nationalSopValue),
|
14679
|
+
});
|
14680
|
+
}
|
14681
|
+
totalPercentage = ownershipPercentage.reduce(function (sum, field) { return sum + field.proponentPercentage; }, 0);
|
14682
|
+
proponentPercentages = ownershipPercentage.map(function (item) { return item.proponentPercentage; });
|
14683
|
+
proponentTxIds =
|
14684
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
14685
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
14686
|
+
? ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.slice(1).map(function (item) { return item.organisation; })
|
14687
|
+
: ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.map(function (item) { return item.organisation; });
|
14688
|
+
propTaxIds = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
14689
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
14690
|
+
? __spreadArray([userOrgTaxId], proponentTxIds, true) : proponentTxIds;
|
14691
|
+
duplicateIds = new Set(propTaxIds).size !== propTaxIds.length;
|
14692
|
+
console.log("proponentTxIds", proponentTxIds);
|
14693
|
+
console.log("ownershipPercentage", ownershipPercentage);
|
14694
|
+
}
|
14695
|
+
if (!article6trade) {
|
14696
|
+
ownershipPercentage = (values === null || values === void 0 ? void 0 : values.article6Percentage)
|
14697
|
+
? JSON.parse(JSON.stringify(values === null || values === void 0 ? void 0 : values.article6Percentage))
|
14698
|
+
: [];
|
14699
|
+
totalPercentage = 100;
|
14700
|
+
if ((values === null || values === void 0 ? void 0 : values.implementingOwner) && (values === null || values === void 0 ? void 0 : values.implementingOwner.length) > 0) {
|
14701
|
+
ownershipPercentage.push({
|
14702
|
+
organisation: implementOwner
|
14703
|
+
? implementOwner.taxId
|
14704
|
+
: values === null || values === void 0 ? void 0 : values.implementingOwner,
|
14705
|
+
proponentPercentage: 100,
|
14706
|
+
});
|
14707
|
+
}
|
14708
|
+
proponentPercentages = ownershipPercentage.map(function (item) {
|
14709
|
+
return item.proponentPercentage === "Supporting" ? 0 : 100;
|
13970
14710
|
});
|
14711
|
+
proponentTxIds = ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.map(function (item) { return item.organisation; });
|
14712
|
+
propTaxIds = proponentTxIds;
|
14713
|
+
duplicateIds = new Set(propTaxIds).size !== propTaxIds.length;
|
14714
|
+
finalImplementingOwner = implementOwner
|
14715
|
+
? implementOwner.taxId
|
14716
|
+
: values === null || values === void 0 ? void 0 : values.implementingOwner;
|
14717
|
+
supportingOwners = (_a = values === null || values === void 0 ? void 0 : values.article6Percentage) === null || _a === void 0 ? void 0 : _a.map(function (item) { return item.organisation; });
|
14718
|
+
console.log("implementingOwner", finalImplementingOwner);
|
14719
|
+
console.log("supportingOwners", supportingOwners);
|
13971
14720
|
}
|
13972
|
-
|
13973
|
-
|
13974
|
-
|
13975
|
-
proponentTxIds = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
13976
|
-
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
13977
|
-
? ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.slice(1).map(function (item) { return item.organisation; })
|
13978
|
-
: ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.map(function (item) { return item.organisation; });
|
13979
|
-
logoBase64 = "";
|
13980
|
-
if (!(((_a = values === null || values === void 0 ? void 0 : values.designDocument) === null || _a === void 0 ? void 0 : _a.length) > 0)) return [3 /*break*/, 2];
|
13981
|
-
return [4 /*yield*/, getBase64((_b = values === null || values === void 0 ? void 0 : values.designDocument[0]) === null || _b === void 0 ? void 0 : _b.originFileObj)];
|
14721
|
+
environmentalImpactAssessmentData = "";
|
14722
|
+
if (!(((_b = values === null || values === void 0 ? void 0 : values.environmentalImpactAssessment) === null || _b === void 0 ? void 0 : _b.length) > 0)) return [3 /*break*/, 2];
|
14723
|
+
return [4 /*yield*/, getBase64((_c = values === null || values === void 0 ? void 0 : values.environmentalImpactAssessment[0]) === null || _c === void 0 ? void 0 : _c.originFileObj)];
|
13982
14724
|
case 1:
|
13983
|
-
|
13984
|
-
|
14725
|
+
environmentalImpactAssessmentData = _f.sent();
|
14726
|
+
_f.label = 2;
|
13985
14727
|
case 2:
|
13986
|
-
|
13987
|
-
if (!(((
|
13988
|
-
return [4 /*yield*/, getBase64((
|
14728
|
+
logoBase64 = "";
|
14729
|
+
if (!(((_d = values === null || values === void 0 ? void 0 : values.designDocument) === null || _d === void 0 ? void 0 : _d.length) > 0)) return [3 /*break*/, 4];
|
14730
|
+
return [4 /*yield*/, getBase64((_e = values === null || values === void 0 ? void 0 : values.designDocument[0]) === null || _e === void 0 ? void 0 : _e.originFileObj)];
|
13989
14731
|
case 3:
|
13990
|
-
|
13991
|
-
|
14732
|
+
logoBase64 = _f.sent();
|
14733
|
+
_f.label = 4;
|
13992
14734
|
case 4:
|
13993
|
-
propTaxIds = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
13994
|
-
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
13995
|
-
? __spreadArray([userOrgTaxId], proponentTxIds, true) : proponentTxIds;
|
13996
|
-
duplicateIds = new Set(propTaxIds).size !== propTaxIds.length;
|
13997
|
-
console.log("proponentTxIds", proponentTxIds);
|
13998
|
-
console.log("ownershipPercentage", ownershipPercentage);
|
13999
14735
|
if (totalPercentage !== 100) {
|
14000
14736
|
if (Number(govData.nationalSopValue) !== 0) {
|
14001
14737
|
ownershipPercentage.pop();
|
@@ -14032,7 +14768,12 @@ var ProgrammeCreationComponent = function (props) {
|
|
14032
14768
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
14033
14769
|
? __spreadArray([userOrgTaxId], proponentTxIds, true) : proponentTxIds,
|
14034
14770
|
proponentPercentage: proponentPercentages,
|
14035
|
-
|
14771
|
+
article6trade: article6trade,
|
14772
|
+
supportingowners: !article6trade && supportingOwners ? supportingOwners : undefined,
|
14773
|
+
implementinguser: !article6trade ? finalImplementingOwner : undefined,
|
14774
|
+
programmeProperties: __assign(__assign({ buyerCountryEligibility: article6trade
|
14775
|
+
? values === null || values === void 0 ? void 0 : values.buyerCountryEligibility
|
14776
|
+
: undefined, geographicalLocation: values === null || values === void 0 ? void 0 : values.geographicalLocation, greenHouseGasses: values === null || values === void 0 ? void 0 : values.greenHouseGasses }, ((values === null || values === void 0 ? void 0 : values.ndcScope) !== undefined &&
|
14036
14777
|
(values === null || values === void 0 ? void 0 : values.ndcScope) !== null && {
|
14037
14778
|
ndcScope: (values === null || values === void 0 ? void 0 : values.ndcScope) === "true" ? true : false,
|
14038
14779
|
})), (includedInNDC !== undefined &&
|
@@ -14055,7 +14796,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
14055
14796
|
});
|
14056
14797
|
}); };
|
14057
14798
|
var saveNewProgramme = function (payload) { return __awaiter(void 0, void 0, void 0, function () {
|
14058
|
-
var response,
|
14799
|
+
var response, error_8;
|
14059
14800
|
return __generator(this, function (_a) {
|
14060
14801
|
switch (_a.label) {
|
14061
14802
|
case 0:
|
@@ -14078,11 +14819,11 @@ var ProgrammeCreationComponent = function (props) {
|
|
14078
14819
|
onNavigateToProgrammeView();
|
14079
14820
|
return [3 /*break*/, 5];
|
14080
14821
|
case 3:
|
14081
|
-
|
14082
|
-
console.log("Error in programme creation - ",
|
14822
|
+
error_8 = _a.sent();
|
14823
|
+
console.log("Error in programme creation - ", error_8);
|
14083
14824
|
message.open({
|
14084
14825
|
type: "error",
|
14085
|
-
content:
|
14826
|
+
content: error_8 === null || error_8 === void 0 ? void 0 : error_8.message,
|
14086
14827
|
duration: 4,
|
14087
14828
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
14088
14829
|
});
|
@@ -14098,7 +14839,9 @@ var ProgrammeCreationComponent = function (props) {
|
|
14098
14839
|
var programmeDetails = stepOneData;
|
14099
14840
|
programmeDetails.creditEst = Number(values === null || values === void 0 ? void 0 : values.creditEst);
|
14100
14841
|
programmeDetails.programmeProperties.estimatedProgrammeCostUSD = Number(values === null || values === void 0 ? void 0 : values.estimatedProgrammeCostUSD);
|
14101
|
-
programmeDetails.programmeProperties.carbonPriceUSDPerTon =
|
14842
|
+
programmeDetails.programmeProperties.carbonPriceUSDPerTon = article6trade
|
14843
|
+
? Number(values === null || values === void 0 ? void 0 : values.minViableCarbonPrice)
|
14844
|
+
: 0;
|
14102
14845
|
setProgrammeDetailsObj(programmeDetails);
|
14103
14846
|
return programmeDetails;
|
14104
14847
|
};
|
@@ -14111,7 +14854,8 @@ var ProgrammeCreationComponent = function (props) {
|
|
14111
14854
|
});
|
14112
14855
|
}); };
|
14113
14856
|
var onFormTwoValuesChane = function (changedValues, allValues) {
|
14114
|
-
if (
|
14857
|
+
if (article6trade &&
|
14858
|
+
(allValues === null || allValues === void 0 ? void 0 : allValues.creditEst) !== undefined &&
|
14115
14859
|
(allValues === null || allValues === void 0 ? void 0 : allValues.creditEst) !== null &&
|
14116
14860
|
(allValues === null || allValues === void 0 ? void 0 : allValues.creditEst) > 0 &&
|
14117
14861
|
(allValues === null || allValues === void 0 ? void 0 : allValues.estimatedProgrammeCostUSD) !== undefined &&
|
@@ -14143,13 +14887,11 @@ var ProgrammeCreationComponent = function (props) {
|
|
14143
14887
|
setIncludedInNDC(undefined);
|
14144
14888
|
}
|
14145
14889
|
};
|
14146
|
-
var
|
14147
|
-
|
14148
|
-
|
14149
|
-
|
14150
|
-
|
14151
|
-
setIncludedInNDC(value);
|
14152
|
-
}
|
14890
|
+
var onArticle6Trading = function (event) {
|
14891
|
+
setArticletrade(event.target.value);
|
14892
|
+
formOne.resetFields(["ownershipPercentage"]);
|
14893
|
+
formOne.resetFields(["article6Percentage"]);
|
14894
|
+
formOne.resetFields(["implementingOwner"]);
|
14153
14895
|
};
|
14154
14896
|
var onChangeGeoLocation = function (values) {
|
14155
14897
|
if (values.includes("National")) {
|
@@ -14158,22 +14900,19 @@ var ProgrammeCreationComponent = function (props) {
|
|
14158
14900
|
formOne.setFieldValue("geographicalLocation", __spreadArray([], newBuyerValues, true));
|
14159
14901
|
}
|
14160
14902
|
};
|
14161
|
-
var
|
14162
|
-
var _a, _b;
|
14163
|
-
|
14164
|
-
|
14903
|
+
var onChangeStepOne = function (changedValues, allValues) {
|
14904
|
+
var _a, _b, _c;
|
14905
|
+
var selectedCompanies;
|
14906
|
+
if (article6trade) {
|
14907
|
+
selectedCompanies = (_a = allValues === null || allValues === void 0 ? void 0 : allValues.ownershipPercentage) === null || _a === void 0 ? void 0 : _a.map(function (org) { return org === null || org === void 0 ? void 0 : org.organisation; });
|
14908
|
+
var orgPercentValidation = ((_b = allValues === null || allValues === void 0 ? void 0 : allValues.ownershipPercentage[0]) === null || _b === void 0 ? void 0 : _b.proponentPercentage) === false
|
14909
|
+
? true
|
14910
|
+
: false;
|
14911
|
+
setOwnershipPercentageValidation(orgPercentValidation);
|
14165
14912
|
}
|
14166
|
-
else
|
14167
|
-
|
14913
|
+
else {
|
14914
|
+
selectedCompanies = (_c = allValues === null || allValues === void 0 ? void 0 : allValues.article6Percentage) === null || _c === void 0 ? void 0 : _c.map(function (org) { return org === null || org === void 0 ? void 0 : org.organisation; });
|
14168
14915
|
}
|
14169
|
-
};
|
14170
|
-
var onChangeStepOne = function (changedValues, allValues) {
|
14171
|
-
var _a, _b;
|
14172
|
-
var selectedCompanies = (_a = allValues === null || allValues === void 0 ? void 0 : allValues.ownershipPercentage) === null || _a === void 0 ? void 0 : _a.map(function (org) { return org === null || org === void 0 ? void 0 : org.organisation; });
|
14173
|
-
var orgPercentValidation = ((_b = allValues === null || allValues === void 0 ? void 0 : allValues.ownershipPercentage[0]) === null || _b === void 0 ? void 0 : _b.proponentPercentage) === false
|
14174
|
-
? true
|
14175
|
-
: false;
|
14176
|
-
setOwnershipPercentageValidation(orgPercentValidation);
|
14177
14916
|
var uniqueOrgs = new Set(selectedCompanies);
|
14178
14917
|
setSelectedOrgs(__spreadArray([], uniqueOrgs, true));
|
14179
14918
|
};
|
@@ -14353,91 +15092,200 @@ var ProgrammeCreationComponent = function (props) {
|
|
14353
15092
|
React.createElement("div", { className: "addDoc-info" },
|
14354
15093
|
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "topLeft", trigger: "hover", title: React.createElement("a", { style: { color: "#fff" }, href: "https://app-eff78ffabc4efb.app.unfccc.org/tools/cdm/testprodspt3/UNFCCC_CDM/Pages/PDDnew.aspx?t=pdd", target: "_blank" }, t("addProgramme:designDocTooltip")), overlayClassName: "custom-tooltip" },
|
14355
15094
|
React.createElement(InfoCircle, { color: "#000000", size: 12 })))),
|
14356
|
-
React.createElement(
|
14357
|
-
|
14358
|
-
|
14359
|
-
|
14360
|
-
|
14361
|
-
|
14362
|
-
|
14363
|
-
|
14364
|
-
|
14365
|
-
|
14366
|
-
|
14367
|
-
|
14368
|
-
|
14369
|
-
|
14370
|
-
|
14371
|
-
|
14372
|
-
|
14373
|
-
|
14374
|
-
|
14375
|
-
|
14376
|
-
|
14377
|
-
|
14378
|
-
|
14379
|
-
|
14380
|
-
|
14381
|
-
|
14382
|
-
|
14383
|
-
|
14384
|
-
|
14385
|
-
|
14386
|
-
React.createElement(
|
14387
|
-
|
14388
|
-
|
14389
|
-
|
14390
|
-
|
14391
|
-
|
14392
|
-
|
14393
|
-
|
14394
|
-
|
14395
|
-
|
14396
|
-
|
14397
|
-
|
14398
|
-
|
14399
|
-
|
15095
|
+
React.createElement(Row, { className: "selection-details-row", gutter: [16, 16] },
|
15096
|
+
React.createElement(Col, { md: 24, xl: 12, className: "in-ndc-col" },
|
15097
|
+
React.createElement(Row, { className: "in-ndc-row" },
|
15098
|
+
React.createElement(Col, { md: 16, lg: 18, xl: 18 },
|
15099
|
+
React.createElement("div", { className: "included-label" },
|
15100
|
+
React.createElement("div", null, t("addProgramme:article6trading")))),
|
15101
|
+
React.createElement(Col, { md: 8, lg: 6, xl: 6, className: "included-val" },
|
15102
|
+
React.createElement(Radio.Group, { size: "middle", value: article6trade, onChange: onArticle6Trading, disabled: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
15103
|
+
CompanyRole.PROGRAMME_DEVELOPER },
|
15104
|
+
React.createElement("div", { className: "yes-no-radio-container" },
|
15105
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: true }, t("addProgramme:yes"))),
|
15106
|
+
React.createElement("div", { className: "yes-no-radio-container" },
|
15107
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: false }, t("addProgramme:no")))))))),
|
15108
|
+
article6trade && (React.createElement(React.Fragment, null,
|
15109
|
+
React.createElement(Form.Item, { label: t("addProgramme:buyerCountryEligibility"), name: "buyerCountryEligibility", initialValue: (_b = state === null || state === void 0 ? void 0 : state.record) === null || _b === void 0 ? void 0 : _b.name, rules: [
|
15110
|
+
{
|
15111
|
+
required: false,
|
15112
|
+
},
|
15113
|
+
] },
|
15114
|
+
React.createElement(Select, { size: "large", loading: loadingList }, countries.map(function (country) { return (React.createElement(Select.Option, { key: country.alpha2, value: country.alpha2 }, country.name)); }))),
|
15115
|
+
govData &&
|
15116
|
+
Number(govData.nationalSopValue) !== 0 && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15117
|
+
React.createElement(Space, { wrap: true, style: {
|
15118
|
+
display: "flex",
|
15119
|
+
marginBottom: 8,
|
15120
|
+
}, align: "center", size: "large" },
|
15121
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15122
|
+
React.createElement(Form.Item, { label: t("addProgramme:company"), name: "governmentName", wrapperCol: { span: 24 }, className: "organisation", initialValue: govData
|
15123
|
+
? govData.name
|
15124
|
+
: "Government", required: true },
|
15125
|
+
React.createElement(Input, { size: "large", disabled: true })),
|
15126
|
+
React.createElement(Form.Item, { label: t("addProgramme:proponentPercentage"), className: "ownership-percent", name: "sopPercentage", labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, initialValue: govData
|
15127
|
+
? Number(govData.nationalSopValue)
|
15128
|
+
: 0 },
|
15129
|
+
React.createElement(InputNumber, { size: "large", disabled: true, min: 1, max: 100, formatter: function (value) {
|
15130
|
+
return "".concat(value, "%");
|
15131
|
+
}, parser: function (value) {
|
15132
|
+
return value.replace("%", "");
|
15133
|
+
} })))))),
|
15134
|
+
React.createElement(Form.List, { name: "ownershipPercentage", initialValue: initialOrganisationOwnershipValues }, function (fields, _a) {
|
15135
|
+
var add = _a.add, remove = _a.remove;
|
15136
|
+
return (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15137
|
+
fields.map(function (_a) {
|
15138
|
+
var key = _a.key, name = _a.name, restField = __rest(_a, ["key", "name"]);
|
15139
|
+
return (React.createElement(Space, { wrap: true, key: key, style: {
|
15140
|
+
display: "flex",
|
15141
|
+
marginBottom: 8,
|
15142
|
+
}, align: "center", size: "large" },
|
15143
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15144
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:company"), name: [
|
15145
|
+
name,
|
15146
|
+
"organisation",
|
15147
|
+
], wrapperCol: { span: 24 }, className: "organisation", rules: [
|
15148
|
+
{
|
15149
|
+
required: true,
|
15150
|
+
message: "".concat(t("addProgramme:company"), " ").concat(t("isRequired")),
|
15151
|
+
validateTrigger: "onBlur",
|
15152
|
+
},
|
15153
|
+
], shouldUpdate: true }),
|
15154
|
+
React.createElement(Select, { size: "large", loading: loadingList, disabled: name === 0 &&
|
14400
15155
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
14401
|
-
CompanyRole.
|
14402
|
-
|
14403
|
-
(organisation === null ||
|
14404
|
-
|
14405
|
-
|
14406
|
-
|
14407
|
-
|
14408
|
-
|
14409
|
-
|
14410
|
-
|
14411
|
-
|
14412
|
-
|
14413
|
-
|
14414
|
-
|
14415
|
-
|
14416
|
-
|
14417
|
-
|
14418
|
-
|
14419
|
-
|
14420
|
-
|
14421
|
-
|
14422
|
-
|
14423
|
-
|
14424
|
-
|
14425
|
-
|
14426
|
-
|
14427
|
-
|
14428
|
-
|
14429
|
-
|
14430
|
-
|
14431
|
-
|
14432
|
-
|
14433
|
-
|
14434
|
-
|
14435
|
-
|
14436
|
-
|
14437
|
-
|
14438
|
-
|
14439
|
-
|
14440
|
-
|
15156
|
+
CompanyRole.GOVERNMENT &&
|
15157
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15158
|
+
CompanyRole.MINISTRY }, organisationsList.map(function (organisation) { return (React.createElement(Select.Option, { key: organisation.companyId, value: organisation.taxId, disabled: (selectedOrgs === null || selectedOrgs === void 0 ? void 0 : selectedOrgs.includes(organisation.taxId)) ||
|
15159
|
+
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15160
|
+
CompanyRole.GOVERNMENT &&
|
15161
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15162
|
+
CompanyRole.MINISTRY &&
|
15163
|
+
userOrgTaxId ===
|
15164
|
+
(organisation === null || organisation === void 0 ? void 0 : organisation.taxId)) }, organisation.name)); }))),
|
15165
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:proponentPercentage"), className: "ownership-percent", name: [
|
15166
|
+
name,
|
15167
|
+
"proponentPercentage",
|
15168
|
+
], labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, rules: [
|
15169
|
+
{
|
15170
|
+
required: true,
|
15171
|
+
message: "".concat(t("addProgramme:proponentPercentage"), " ").concat(t("isRequired")),
|
15172
|
+
},
|
15173
|
+
{
|
15174
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15175
|
+
return __generator(this, function (_a) {
|
15176
|
+
if (ownershipPercentageValidation &&
|
15177
|
+
name === 0) {
|
15178
|
+
throw new Error("".concat(t("addProgramme:proponentPercentage"), " ").concat(t("isRequired")));
|
15179
|
+
}
|
15180
|
+
return [2 /*return*/];
|
15181
|
+
});
|
15182
|
+
}); },
|
15183
|
+
},
|
15184
|
+
], shouldUpdate: true }),
|
15185
|
+
React.createElement(InputNumber, { size: "large", min: 1, max: 100, formatter: function (value) {
|
15186
|
+
return "".concat(value, "%");
|
15187
|
+
}, parser: function (value) {
|
15188
|
+
return value.replace("%", "");
|
15189
|
+
}, disabled: (fields === null || fields === void 0 ? void 0 : fields.length) < 2 &&
|
15190
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15191
|
+
CompanyRole.GOVERNMENT &&
|
15192
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15193
|
+
CompanyRole.MINISTRY })),
|
15194
|
+
(fields === null || fields === void 0 ? void 0 : fields.length) > 1 &&
|
15195
|
+
name !== 0 && (React.createElement(MinusCircleOutlined, { className: "dynamic-delete-button", onClick: function () {
|
15196
|
+
remove(name);
|
15197
|
+
} })))));
|
15198
|
+
}),
|
15199
|
+
React.createElement(Form.Item, null,
|
15200
|
+
React.createElement(Button, { type: "dashed", onClick: function () { return add(); }, icon: React.createElement(PlusOutlined, null) }))));
|
15201
|
+
}))),
|
15202
|
+
!article6trade && (React.createElement(React.Fragment, null,
|
15203
|
+
implementOwner ? (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15204
|
+
React.createElement(Space, { wrap: true, style: {
|
15205
|
+
display: "flex",
|
15206
|
+
marginBottom: 8,
|
15207
|
+
}, align: "center", size: "large" },
|
15208
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15209
|
+
React.createElement(Form.Item, { label: t("addProgramme:governmentDepartment"), name: "implementingOwner", wrapperCol: { span: 24 }, className: "organisation", initialValue: implementOwner
|
15210
|
+
? implementOwner.name +
|
15211
|
+
" - " +
|
15212
|
+
Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(implementOwner.govDep)]
|
15213
|
+
: "Implementing Owner", required: true },
|
15214
|
+
React.createElement(Input, { size: "large", disabled: true })),
|
15215
|
+
React.createElement(Form.Item, { label: t("addProgramme:ownership"), className: "ownership-percent", name: "implementPercentage", labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, initialValue: implementOwner
|
15216
|
+
? "Implementing"
|
15217
|
+
: "Supporting" },
|
15218
|
+
React.createElement(InputNumber, { size: "large", disabled: true })))))) : (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15219
|
+
React.createElement(Space, { wrap: true, style: {
|
15220
|
+
display: "flex",
|
15221
|
+
marginBottom: 8,
|
15222
|
+
}, align: "center", size: "large" },
|
15223
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15224
|
+
React.createElement(Form.Item, { label: t("addProgramme:governmentDepartment"), name: "implementingOwner", wrapperCol: { span: 24 }, className: "organisation", rules: [
|
15225
|
+
{
|
15226
|
+
required: true,
|
15227
|
+
message: "".concat(t("addProgramme:governmentDepartment"), " ").concat(t("isRequired")),
|
15228
|
+
},
|
15229
|
+
] },
|
15230
|
+
React.createElement(Select, { size: "large", loading: loadingList }, ministryList.map(function (organisation) {
|
15231
|
+
return organisation.govDep && (React.createElement(Select.Option, { key: organisation.companyId, value: organisation.taxId }, organisation.name +
|
15232
|
+
" - " +
|
15233
|
+
Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(organisation.govDep)]));
|
15234
|
+
}))),
|
15235
|
+
React.createElement(Form.Item, { label: t("addProgramme:ownership"), className: "ownership-percent", name: "implementPercentage", labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, initialValue: "Implementing" },
|
15236
|
+
React.createElement(InputNumber, { size: "large", disabled: true })))))),
|
15237
|
+
React.createElement(Form.List, { name: "article6Percentage" }, function (fields, _a) {
|
15238
|
+
var add = _a.add, remove = _a.remove;
|
15239
|
+
return (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15240
|
+
fields.map(function (_a) {
|
15241
|
+
var key = _a.key, name = _a.name, restField = __rest(_a, ["key", "name"]);
|
15242
|
+
return (React.createElement(Space, { wrap: true, key: key, style: {
|
15243
|
+
display: "flex",
|
15244
|
+
marginBottom: 8,
|
15245
|
+
}, align: "center", size: "large" },
|
15246
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15247
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:governmentDepartment"), name: [
|
15248
|
+
name,
|
15249
|
+
"organisation",
|
15250
|
+
], rules: [
|
15251
|
+
{
|
15252
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15253
|
+
return __generator(this, function (_a) {
|
15254
|
+
if (String(value).trim() === "" ||
|
15255
|
+
String(value).trim() ===
|
15256
|
+
undefined ||
|
15257
|
+
value === null ||
|
15258
|
+
value ===
|
15259
|
+
undefined) {
|
15260
|
+
throw new Error("".concat(t("addProgramme:governmentDepartment"), " shouldn't be empty"));
|
15261
|
+
}
|
15262
|
+
return [2 /*return*/];
|
15263
|
+
});
|
15264
|
+
}); },
|
15265
|
+
},
|
15266
|
+
], wrapperCol: { span: 24 }, className: "organisation", shouldUpdate: true }),
|
15267
|
+
React.createElement(Select, { size: "large", loading: loadingList }, ministryList.map(function (organisation) {
|
15268
|
+
var _a;
|
15269
|
+
return organisation.govDep && (React.createElement(Select.Option, { key: organisation.companyId, value: organisation.taxId, disabled: (selectedOrgs === null || selectedOrgs === void 0 ? void 0 : selectedOrgs.includes(organisation.taxId.trim())) ||
|
15270
|
+
(implementOwner === null || implementOwner === void 0 ? void 0 : implementOwner.taxId) ===
|
15271
|
+
organisation.taxId ||
|
15272
|
+
((_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.implementingOwner.trim()) ===
|
15273
|
+
organisation.taxId }, organisation.name +
|
15274
|
+
" - " +
|
15275
|
+
Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(organisation.govDep)]));
|
15276
|
+
}))),
|
15277
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:ownership"), className: "ownership-percent", name: [
|
15278
|
+
name,
|
15279
|
+
"proponentPercentage",
|
15280
|
+
], initialValue: "Supporting", labelCol: { span: 24 }, wrapperCol: { span: 24 }, shouldUpdate: true }),
|
15281
|
+
React.createElement(InputNumber, { size: "large", disabled: true })),
|
15282
|
+
React.createElement(MinusCircleOutlined, { className: "dynamic-delete-button", onClick: function () {
|
15283
|
+
remove(name);
|
15284
|
+
} }))));
|
15285
|
+
}),
|
15286
|
+
React.createElement(Form.Item, null,
|
15287
|
+
React.createElement(Button, { type: "dashed", onClick: function () { return add(); }, icon: React.createElement(PlusOutlined, null) }))));
|
15288
|
+
}))),
|
14441
15289
|
React.createElement(Form.Item, { label: t("addProgramme:environmentalAssessmentRegistrationNo"), name: "environmentalAssessmentRegistrationNo", initialValue: (_c = state === null || state === void 0 ? void 0 : state.record) === null || _c === void 0 ? void 0 : _c.environmentalAssessmentRegistrationNo, rules: [
|
14442
15290
|
{
|
14443
15291
|
required: true,
|
@@ -14565,25 +15413,6 @@ var ProgrammeCreationComponent = function (props) {
|
|
14565
15413
|
},
|
14566
15414
|
] },
|
14567
15415
|
React.createElement(Select, { mode: "multiple", size: "large", maxTagCount: 2, onChange: onChangeGeoLocation, loading: loadingList, className: "custom-select", allowClear: true }, regionsList.map(function (region) { return (React.createElement(Select.Option, { value: region }, region)); })))))),
|
14568
|
-
React.createElement(Row, { className: "selection-details-row", gutter: [16, 16] },
|
14569
|
-
React.createElement(Col, { md: 24, xl: 12, className: "in-ndc-col" },
|
14570
|
-
React.createElement(Row, { className: "in-ndc-row" },
|
14571
|
-
React.createElement(Col, { md: 16, lg: 18, xl: 18 },
|
14572
|
-
React.createElement("div", { className: "included-label" },
|
14573
|
-
React.createElement("div", null, t("addProgramme:inNDC")),
|
14574
|
-
React.createElement("div", { className: "info-container" },
|
14575
|
-
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "topLeft", trigger: "hover", title: t("addProgramme:inNDCToolTip"), overlayClassName: "custom-tooltip" },
|
14576
|
-
React.createElement(InfoCircle, { color: "#000000", size: 17 }))))),
|
14577
|
-
React.createElement(Col, { md: 8, lg: 6, xl: 6, className: "included-val" },
|
14578
|
-
React.createElement(Radio.Group, { size: "middle", disabled: ndcScopeChanged, value: includedInNDC, onChange: onInCludedNDCChange },
|
14579
|
-
React.createElement("div", { className: "yes-no-radio-container" },
|
14580
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: true, onClick: function () {
|
14581
|
-
return onClickIncludedInNDCScope(true);
|
14582
|
-
} }, t("addProgramme:yes"))),
|
14583
|
-
React.createElement("div", { className: "yes-no-radio-container" },
|
14584
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: false, onClick: function () {
|
14585
|
-
return onClickIncludedInNDCScope(false);
|
14586
|
-
} }, t("addProgramme:no")))))))),
|
14587
15416
|
React.createElement("div", { className: "steps-actions" },
|
14588
15417
|
React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading, onClick: checkOrgPercentageValidation }, t("addProgramme:next"))))))),
|
14589
15418
|
},
|
@@ -14623,11 +15452,13 @@ var ProgrammeCreationComponent = function (props) {
|
|
14623
15452
|
},
|
14624
15453
|
] },
|
14625
15454
|
React.createElement(InputNumber, { size: "large", style: { width: "100%", paddingRight: 12 } })),
|
14626
|
-
React.createElement(Form.Item, { label: t("addProgramme:minViableCarbonPrice"), name: "minViableCarbonPrice" },
|
14627
|
-
React.createElement(InputNumber, { disabled: true, size: "large", style: { width: "100%", paddingRight: 12 } })))),
|
15455
|
+
article6trade && (React.createElement(Form.Item, { label: t("addProgramme:minViableCarbonPrice"), name: "minViableCarbonPrice" },
|
15456
|
+
React.createElement(InputNumber, { disabled: true, size: "large", style: { width: "100%", paddingRight: 12 } }))))),
|
14628
15457
|
React.createElement(Col, { xl: 12, md: 24 },
|
14629
15458
|
React.createElement("div", { className: "details-part-two" },
|
14630
|
-
React.createElement(Form.Item, { label:
|
15459
|
+
React.createElement(Form.Item, { label: article6trade
|
15460
|
+
? t("addProgramme:creditEst")
|
15461
|
+
: t("addProgramme:creditReduction"), name: "creditEst", rules: [
|
14631
15462
|
{
|
14632
15463
|
required: true,
|
14633
15464
|
message: "",
|
@@ -14639,7 +15470,9 @@ var ProgrammeCreationComponent = function (props) {
|
|
14639
15470
|
String(value).trim() === undefined ||
|
14640
15471
|
value === null ||
|
14641
15472
|
value === undefined) {
|
14642
|
-
throw new Error("".concat(
|
15473
|
+
throw new Error("".concat(article6trade
|
15474
|
+
? t("addProgramme:creditEst")
|
15475
|
+
: t("addProgramme:creditReduction"), " ").concat(t("isRequired")));
|
14643
15476
|
}
|
14644
15477
|
else if (!isNaN(value) &&
|
14645
15478
|
Number(value) > 0) {
|
@@ -35113,5 +35946,5 @@ var GHGDashboardComponent = function (props) {
|
|
35113
35946
|
React.createElement(Row, { gutter: [40, 40], className: "statics-card-row" }, row.map(function (item, j) { return getWidgetJSX(item); })))); }))));
|
35114
35947
|
};
|
35115
35948
|
|
35116
|
-
export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProvider, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, Emission, EmissionGas, EmissionSector, EmissionSubSectors, EnergyGenerationUnits, FormElementType, GHGDashboardComponent, GHGEmissionsComponent, GHGProjectionsComponent, GhgStatCardTypes, 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, Projection, ProjectionTypes$1 as ProjectionTypes, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, SettingsContext, SettingsContextProvider, StasticCard, StatsCardsTypes, SubTypeOfMitigation, SupportCreationComponent, SupportManagementComponent, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserContext, UserInformationContextProvider, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound$1 as addCommSepRound, addNdcDesc, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal$1 as getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, getValidNdcActions, isBase64, landAreaUnitList, methodologyOptions, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, useConnection, useSettingsContext, useUserContext };
|
35949
|
+
export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProvider, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, Emission, EmissionGas, EmissionSector, EmissionSubSectors, EnergyGenerationUnits, FormElementType, GHGDashboardComponent, GHGEmissionsComponent, GHGProjectionsComponent, GhgStatCardTypes, 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, Projection, ProjectionTypes$1 as ProjectionTypes, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, SettingsContext, SettingsContextProvider, StasticCard, StatsCardsTypes, SubTypeOfMitigation, SupportCreationComponent, SupportManagementComponent, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserContext, UserInformationContextProvider, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound$1 as addCommSepRound, addNdcDesc, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal$1 as getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, getValidNdcActions, isBase64, landAreaUnitList, methodologyOptions, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, useConnection, useSettingsContext, useUserContext };
|
35117
35950
|
//# sourceMappingURL=index.js.map
|