@undp/carbon-library 1.0.292-CARBON-425.0 → 1.0.292-CARBON-419.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1084 -258
- 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 +1086 -260
- 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,308 @@ 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
|
+
excludingmin_1.push(min);
|
6637
|
+
}
|
6638
|
+
_a.label = 4;
|
6639
|
+
case 4:
|
6640
|
+
_i++;
|
6641
|
+
return [3 /*break*/, 2];
|
6642
|
+
case 5:
|
6643
|
+
leftmins = ministries.filter(function (x) { return !excludingmin_1.includes(x); });
|
6644
|
+
setMinistryDropdown(leftmins);
|
6645
|
+
return [3 /*break*/, 8];
|
6646
|
+
case 6:
|
6647
|
+
error_1 = _a.sent();
|
6648
|
+
console.log("Error in getting min list", error_1);
|
6649
|
+
return [3 /*break*/, 8];
|
6650
|
+
case 7:
|
6651
|
+
setLoadingList(false);
|
6652
|
+
return [7 /*endfinally*/];
|
6653
|
+
case 8: return [2 /*return*/];
|
6654
|
+
}
|
6655
|
+
});
|
6656
|
+
}); };
|
6193
6657
|
var getCountryList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6194
6658
|
var response, alpha2Names;
|
6195
6659
|
return __generator(this, function (_a) {
|
@@ -6208,7 +6672,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6208
6672
|
});
|
6209
6673
|
}); };
|
6210
6674
|
var getRegionList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6211
|
-
var response, regionNames,
|
6675
|
+
var response, regionNames, error_2;
|
6212
6676
|
return __generator(this, function (_a) {
|
6213
6677
|
switch (_a.label) {
|
6214
6678
|
case 0:
|
@@ -6235,8 +6699,52 @@ var AddNewCompanyComponent = function (props) {
|
|
6235
6699
|
}
|
6236
6700
|
return [3 /*break*/, 5];
|
6237
6701
|
case 3:
|
6238
|
-
|
6239
|
-
console.log("Error in getting regions list",
|
6702
|
+
error_2 = _a.sent();
|
6703
|
+
console.log("Error in getting regions list", error_2);
|
6704
|
+
return [3 /*break*/, 5];
|
6705
|
+
case 4:
|
6706
|
+
setLoadingList(false);
|
6707
|
+
return [7 /*endfinally*/];
|
6708
|
+
case 5: return [2 /*return*/];
|
6709
|
+
}
|
6710
|
+
});
|
6711
|
+
}); };
|
6712
|
+
var getGovDep = function (val) { return __awaiter(void 0, void 0, void 0, function () {
|
6713
|
+
var response, existDep, i, departName, error_3;
|
6714
|
+
return __generator(this, function (_a) {
|
6715
|
+
switch (_a.label) {
|
6716
|
+
case 0:
|
6717
|
+
setLoadingList(true);
|
6718
|
+
_a.label = 1;
|
6719
|
+
case 1:
|
6720
|
+
_a.trys.push([1, 3, 4, 5]);
|
6721
|
+
return [4 /*yield*/, post("national/organisation/query", {
|
6722
|
+
page: 1,
|
6723
|
+
size: 200,
|
6724
|
+
filterAnd: [
|
6725
|
+
{
|
6726
|
+
key: "ministry",
|
6727
|
+
operation: "=",
|
6728
|
+
value: val,
|
6729
|
+
},
|
6730
|
+
],
|
6731
|
+
})];
|
6732
|
+
case 2:
|
6733
|
+
response = _a.sent();
|
6734
|
+
if (response && response.data) {
|
6735
|
+
existDep = [];
|
6736
|
+
for (i in response.data) {
|
6737
|
+
if (response.data[i].govDep && response.data[i].govDep.length > 0) {
|
6738
|
+
departName = Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(response.data[i].govDep)];
|
6739
|
+
existDep.push(departName);
|
6740
|
+
}
|
6741
|
+
}
|
6742
|
+
setexistGovdep(existDep);
|
6743
|
+
}
|
6744
|
+
return [3 /*break*/, 5];
|
6745
|
+
case 3:
|
6746
|
+
error_3 = _a.sent();
|
6747
|
+
console.log("Error in getting exist Government Department list", error_3);
|
6240
6748
|
return [3 /*break*/, 5];
|
6241
6749
|
case 4:
|
6242
6750
|
setLoadingList(false);
|
@@ -6246,10 +6754,11 @@ var AddNewCompanyComponent = function (props) {
|
|
6246
6754
|
});
|
6247
6755
|
}); };
|
6248
6756
|
useEffect(function () {
|
6249
|
-
var _a, _b, _c;
|
6757
|
+
var _a, _b, _c, _d, _e, _f;
|
6250
6758
|
setIsUpdate((state === null || state === void 0 ? void 0 : state.record) ? true : false);
|
6251
6759
|
getCountryList();
|
6252
6760
|
getRegionList();
|
6761
|
+
getMinistryList();
|
6253
6762
|
if ((_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.logo) {
|
6254
6763
|
setFileList([
|
6255
6764
|
{
|
@@ -6261,6 +6770,11 @@ var AddNewCompanyComponent = function (props) {
|
|
6261
6770
|
},
|
6262
6771
|
]);
|
6263
6772
|
}
|
6773
|
+
if ((_d = state === null || state === void 0 ? void 0 : state.record) === null || _d === void 0 ? void 0 : _d.ministry) {
|
6774
|
+
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)];
|
6775
|
+
setSelectedMinistry(key);
|
6776
|
+
getGovDep((_f = state === null || state === void 0 ? void 0 : state.record) === null || _f === void 0 ? void 0 : _f.ministry);
|
6777
|
+
}
|
6264
6778
|
}, []);
|
6265
6779
|
var normFile = function (e) {
|
6266
6780
|
if (Array.isArray(e)) {
|
@@ -6286,7 +6800,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6286
6800
|
}
|
6287
6801
|
};
|
6288
6802
|
var onFinishStepTwo = function (values) { return __awaiter(void 0, void 0, void 0, function () {
|
6289
|
-
var requestData, logoBase64, logoUrls, response, response,
|
6803
|
+
var requestData, logoBase64, logoUrls, response, response, error_4;
|
6290
6804
|
var _a, _b;
|
6291
6805
|
return __generator(this, function (_c) {
|
6292
6806
|
switch (_c.label) {
|
@@ -6314,6 +6828,10 @@ var AddNewCompanyComponent = function (props) {
|
|
6314
6828
|
logoBase64 = _c.sent();
|
6315
6829
|
logoUrls = logoBase64.split(",");
|
6316
6830
|
requestData.company.logo = logoUrls[1];
|
6831
|
+
if (companyRole === CompanyRole.MINISTRY) {
|
6832
|
+
requestData.company.name =
|
6833
|
+
"Ministry of " + requestData.company.ministry;
|
6834
|
+
}
|
6317
6835
|
if (!isGuest) return [3 /*break*/, 4];
|
6318
6836
|
return [4 /*yield*/, post("national/user/register", requestData)];
|
6319
6837
|
case 3:
|
@@ -6350,10 +6868,10 @@ var AddNewCompanyComponent = function (props) {
|
|
6350
6868
|
_c.label = 6;
|
6351
6869
|
case 6: return [3 /*break*/, 9];
|
6352
6870
|
case 7:
|
6353
|
-
|
6871
|
+
error_4 = _c.sent();
|
6354
6872
|
message.open({
|
6355
6873
|
type: "error",
|
6356
|
-
content: "".concat(
|
6874
|
+
content: "".concat(error_4.message),
|
6357
6875
|
duration: 3,
|
6358
6876
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
6359
6877
|
});
|
@@ -6366,17 +6884,17 @@ var AddNewCompanyComponent = function (props) {
|
|
6366
6884
|
});
|
6367
6885
|
}); };
|
6368
6886
|
var onUpdateCompany = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6369
|
-
var formOneValues, values, logoBase64, logoUrls, response,
|
6370
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
6371
|
-
return __generator(this, function (
|
6372
|
-
switch (
|
6887
|
+
var formOneValues, values, key, logoBase64, logoUrls, response, error_5;
|
6888
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
6889
|
+
return __generator(this, function (_o) {
|
6890
|
+
switch (_o.label) {
|
6373
6891
|
case 0:
|
6374
6892
|
setLoading(true);
|
6375
6893
|
formOneValues = formOne.getFieldsValue();
|
6376
6894
|
formOneValues.phoneNo = formatPhoneNumberIntl(formOneValues.phoneNo);
|
6377
|
-
|
6895
|
+
_o.label = 1;
|
6378
6896
|
case 1:
|
6379
|
-
|
6897
|
+
_o.trys.push([1, 5, , 6]);
|
6380
6898
|
values = {};
|
6381
6899
|
if (regionField) {
|
6382
6900
|
values = {
|
@@ -6404,14 +6922,26 @@ var AddNewCompanyComponent = function (props) {
|
|
6404
6922
|
values.taxId = formOneValues.taxId;
|
6405
6923
|
values.paymentId = formOneValues.paymentId;
|
6406
6924
|
}
|
6407
|
-
if (((_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.companyRole) === CompanyRole.MINISTRY
|
6925
|
+
if (((_g = state === null || state === void 0 ? void 0 : state.record) === null || _g === void 0 ? void 0 : _g.companyRole) === CompanyRole.MINISTRY ||
|
6926
|
+
((_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.companyRole) === CompanyRole.GOVERNMENT) {
|
6927
|
+
if (formOneValues.govDep in GovDepartment) {
|
6928
|
+
key = formOneValues.govDep;
|
6929
|
+
values.govDep = GovDepartment[key];
|
6930
|
+
}
|
6931
|
+
else {
|
6932
|
+
values.govDep = formOneValues.govDep;
|
6933
|
+
}
|
6934
|
+
values.ministry = formOneValues.ministry;
|
6935
|
+
}
|
6936
|
+
if (((_j = state === null || state === void 0 ? void 0 : state.record) === null || _j === void 0 ? void 0 : _j.companyRole) === CompanyRole.MINISTRY) {
|
6408
6937
|
values.sectoralScope = formOneValues.sectoralScope;
|
6409
6938
|
values.nameOfMinister = formOneValues.nameOfMinister;
|
6939
|
+
values.name = "Ministry of " + formOneValues.ministry;
|
6410
6940
|
}
|
6411
|
-
if (((
|
6941
|
+
if (((_k = state === null || state === void 0 ? void 0 : state.record) === null || _k === void 0 ? void 0 : _k.companyRole) === CompanyRole.GOVERNMENT) {
|
6412
6942
|
values.omgePercentage = Math.round(Number(formOneValues.omgePercentage));
|
6413
6943
|
}
|
6414
|
-
if (((
|
6944
|
+
if (((_l = state === null || state === void 0 ? void 0 : state.record) === null || _l === void 0 ? void 0 : _l.companyRole) === CompanyRole.GOVERNMENT) {
|
6415
6945
|
values.nationalSopValue = Math.floor(Number(formOneValues.nationalSopValue));
|
6416
6946
|
}
|
6417
6947
|
if (formOneValues.website) {
|
@@ -6422,15 +6952,15 @@ var AddNewCompanyComponent = function (props) {
|
|
6422
6952
|
}
|
6423
6953
|
if (!formOneValues.logo) return [3 /*break*/, 3];
|
6424
6954
|
if (!(formOneValues.logo.length !== 0)) return [3 /*break*/, 3];
|
6425
|
-
return [4 /*yield*/, getBase64((
|
6955
|
+
return [4 /*yield*/, getBase64((_m = formOneValues.logo[0]) === null || _m === void 0 ? void 0 : _m.originFileObj)];
|
6426
6956
|
case 2:
|
6427
|
-
logoBase64 =
|
6957
|
+
logoBase64 = _o.sent();
|
6428
6958
|
logoUrls = logoBase64.split(",");
|
6429
6959
|
values.logo = logoUrls[1];
|
6430
|
-
|
6960
|
+
_o.label = 3;
|
6431
6961
|
case 3: return [4 /*yield*/, put("national/organisation/update", values)];
|
6432
6962
|
case 4:
|
6433
|
-
response =
|
6963
|
+
response = _o.sent();
|
6434
6964
|
if (response.status === 200 || response.status === 201) {
|
6435
6965
|
setUserInfo({
|
6436
6966
|
companyLogo: response.data.logo,
|
@@ -6446,10 +6976,10 @@ var AddNewCompanyComponent = function (props) {
|
|
6446
6976
|
setLoading(false);
|
6447
6977
|
return [3 /*break*/, 6];
|
6448
6978
|
case 5:
|
6449
|
-
|
6979
|
+
error_5 = _o.sent();
|
6450
6980
|
message.open({
|
6451
6981
|
type: "error",
|
6452
|
-
content: "".concat(t("errorInUpdatingCompany"), " ").concat(
|
6982
|
+
content: "".concat(t("errorInUpdatingCompany"), " ").concat(error_5.message),
|
6453
6983
|
duration: 3,
|
6454
6984
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
6455
6985
|
});
|
@@ -6467,7 +6997,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6467
6997
|
setCompanyRole(value);
|
6468
6998
|
};
|
6469
6999
|
var CompanyDetailsForm = function () {
|
6470
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
7000
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
6471
7001
|
var companyRoleClassName = companyRole === CompanyRole.CERTIFIER
|
6472
7002
|
? "certifier"
|
6473
7003
|
: companyRole === CompanyRole.PROGRAMME_DEVELOPER
|
@@ -6481,7 +7011,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6481
7011
|
React.createElement(Row, { className: "row", gutter: [16, 16] },
|
6482
7012
|
React.createElement(Col, { xl: 12, md: 24 },
|
6483
7013
|
React.createElement("div", { className: "details-part-one" },
|
6484
|
-
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: [
|
7014
|
+
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: [
|
6485
7015
|
{
|
6486
7016
|
required: true,
|
6487
7017
|
message: "",
|
@@ -6500,7 +7030,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6500
7030
|
}); },
|
6501
7031
|
},
|
6502
7032
|
] },
|
6503
|
-
React.createElement(Input, { size: "large" })),
|
7033
|
+
React.createElement(Input, { size: "large" }))),
|
6504
7034
|
companyRole !== CompanyRole.MINISTRY
|
6505
7035
|
? (!isUpdate ||
|
6506
7036
|
(isUpdate &&
|
@@ -6549,7 +7079,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6549
7079
|
] },
|
6550
7080
|
React.createElement(Input, { size: "large" })))
|
6551
7081
|
: null,
|
6552
|
-
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: [
|
7082
|
+
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: [
|
6553
7083
|
{
|
6554
7084
|
required: true,
|
6555
7085
|
message: "",
|
@@ -6579,8 +7109,65 @@ var AddNewCompanyComponent = function (props) {
|
|
6579
7109
|
}); },
|
6580
7110
|
},
|
6581
7111
|
] },
|
6582
|
-
React.createElement(Input, { size: "large" })),
|
6583
|
-
|
7112
|
+
React.createElement(Input, { size: "large" }))),
|
7113
|
+
(companyRole === CompanyRole.MINISTRY ||
|
7114
|
+
companyRole === CompanyRole.GOVERNMENT) && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
7115
|
+
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: [
|
7116
|
+
{
|
7117
|
+
required: true,
|
7118
|
+
message: "".concat(t("addCompany:ministry"), " ").concat(t("isRequired")),
|
7119
|
+
},
|
7120
|
+
] }, (companyRole !== CompanyRole.GOVERNMENT &&
|
7121
|
+
(ministryDropdown &&
|
7122
|
+
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 }))),
|
7123
|
+
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: [
|
7124
|
+
{
|
7125
|
+
required: true,
|
7126
|
+
message: "",
|
7127
|
+
},
|
7128
|
+
{
|
7129
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7130
|
+
var val, reg, matches;
|
7131
|
+
return __generator(this, function (_a) {
|
7132
|
+
if (String(value).trim() === "" ||
|
7133
|
+
String(value).trim() === undefined ||
|
7134
|
+
value === null ||
|
7135
|
+
value === undefined) {
|
7136
|
+
throw new Error("".concat(t("addCompany:email"), " ").concat(t("isRequired")));
|
7137
|
+
}
|
7138
|
+
else {
|
7139
|
+
val = value.trim();
|
7140
|
+
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,}))$/;
|
7141
|
+
matches = val.match(reg)
|
7142
|
+
? val.match(reg)
|
7143
|
+
: [];
|
7144
|
+
if (matches.length === 0) {
|
7145
|
+
throw new Error("".concat(t("addCompany:email"), " ").concat(t("isInvalid")));
|
7146
|
+
}
|
7147
|
+
}
|
7148
|
+
return [2 /*return*/];
|
7149
|
+
});
|
7150
|
+
}); },
|
7151
|
+
},
|
7152
|
+
] },
|
7153
|
+
React.createElement(Input, { size: "large" }))),
|
7154
|
+
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: [
|
7155
|
+
{
|
7156
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7157
|
+
return __generator(this, function (_a) {
|
7158
|
+
if (String(value).trim() === "" ||
|
7159
|
+
String(value).trim() === undefined ||
|
7160
|
+
value === null ||
|
7161
|
+
value === undefined) {
|
7162
|
+
throw new Error("".concat(t("addCompany:ministerName"), " ").concat(t("isRequired")));
|
7163
|
+
}
|
7164
|
+
return [2 /*return*/];
|
7165
|
+
});
|
7166
|
+
}); },
|
7167
|
+
},
|
7168
|
+
] },
|
7169
|
+
React.createElement(Input, { size: "large" }))))),
|
7170
|
+
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: [
|
6584
7171
|
{
|
6585
7172
|
required: false,
|
6586
7173
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6598,6 +7185,23 @@ var AddNewCompanyComponent = function (props) {
|
|
6598
7185
|
},
|
6599
7186
|
], 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(); } },
|
6600
7187
|
React.createElement(Input, { addonBefore: "https://", size: "large" })),
|
7188
|
+
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: [
|
7189
|
+
{ required: true, message: "" },
|
7190
|
+
{
|
7191
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7192
|
+
return __generator(this, function (_a) {
|
7193
|
+
if (String(value).trim() === "" ||
|
7194
|
+
String(value).trim() === undefined ||
|
7195
|
+
value === null ||
|
7196
|
+
value === undefined) {
|
7197
|
+
throw new Error("".concat(t("addCompany:addresss"), " ").concat(t("isRequired")));
|
7198
|
+
}
|
7199
|
+
return [2 /*return*/];
|
7200
|
+
});
|
7201
|
+
}); },
|
7202
|
+
},
|
7203
|
+
] },
|
7204
|
+
React.createElement(Input.TextArea, { rows: 3, maxLength: 100 }))),
|
6601
7205
|
React.createElement(Form.Item, { name: "logo", label: t("addCompany:companyLogoWithType"), valuePropName: "fileList", getValueFromEvent: normFile, required: true, rules: [
|
6602
7206
|
{
|
6603
7207
|
validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6641,29 +7245,12 @@ var AddNewCompanyComponent = function (props) {
|
|
6641
7245
|
return false;
|
6642
7246
|
}, className: "logo-upload-section", name: "logo", action: "/upload.do", listType: "picture", multiple: false, defaultFileList: fileList, maxCount: 1 },
|
6643
7247
|
React.createElement(Button, { size: "large", icon: React.createElement(UploadOutlined, null) }, t("addCompany:upload")))),
|
6644
|
-
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: [
|
6645
|
-
{ required: true, message: "" },
|
6646
|
-
{
|
6647
|
-
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
6648
|
-
return __generator(this, function (_a) {
|
6649
|
-
if (String(value).trim() === "" ||
|
6650
|
-
String(value).trim() === undefined ||
|
6651
|
-
value === null ||
|
6652
|
-
value === undefined) {
|
6653
|
-
throw new Error("".concat(t("addCompany:addresss"), " ").concat(t("isRequired")));
|
6654
|
-
}
|
6655
|
-
return [2 /*return*/];
|
6656
|
-
});
|
6657
|
-
}); },
|
6658
|
-
},
|
6659
|
-
] },
|
6660
|
-
React.createElement(Input.TextArea, { rows: 3, maxLength: 100 }))),
|
6661
7248
|
companyRole === CompanyRole.GOVERNMENT && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
6662
7249
|
React.createElement(Space, { wrap: true, style: {
|
6663
7250
|
display: "flex",
|
6664
7251
|
marginBottom: 8,
|
6665
7252
|
}, align: "center", size: "large" },
|
6666
|
-
React.createElement(Form.Item, { style: { width: "100%" }, name: "nationalSopValue", label: t("addCompany:nationalSopValue"), initialValue: (
|
7253
|
+
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: [
|
6667
7254
|
{ required: true, message: "" },
|
6668
7255
|
{
|
6669
7256
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6716,42 +7303,54 @@ var AddNewCompanyComponent = function (props) {
|
|
6716
7303
|
t("addCompany:programmeDeveleper")))),
|
6717
7304
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
6718
7305
|
CompanyRole.MINISTRY &&
|
6719
|
-
!isGuest && (React.createElement("div", { className: "minister-radio-container" },
|
6720
|
-
React.createElement(
|
6721
|
-
React.createElement(
|
6722
|
-
|
6723
|
-
|
6724
|
-
|
7306
|
+
!isGuest && (React.createElement("div", { className: "minister-radio-container" }, ministryDropdown.length > 0 ? (React.createElement(Tooltip, { placement: "top", title: t("addCompany:ministryToolTip") },
|
7307
|
+
React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
|
7308
|
+
React.createElement(AuditOutlined, { className: "role-icons" }),
|
7309
|
+
t("addCompany:min")))) : (React.createElement(Tooltip, { placement: "top", title: t("addCompany:allmincreated") },
|
7310
|
+
React.createElement(Radio.Button, { className: "minister", value: "Ministry", disabled: true },
|
7311
|
+
React.createElement(AuditOutlined, { className: "role-icons" }),
|
7312
|
+
t("addCompany:min")))))))))),
|
7313
|
+
(companyRole === CompanyRole.MINISTRY ||
|
7314
|
+
companyRole === CompanyRole.GOVERNMENT) && (React.createElement(Form.Item, { label: t("addCompany:govdep"), name: "govDep", initialValue: Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(intialGovDep)], rules: [
|
6725
7315
|
{
|
6726
7316
|
required: true,
|
6727
|
-
message: "",
|
7317
|
+
message: "".concat(t("addCompany:govdep"), " ").concat(t("isRequired")),
|
6728
7318
|
},
|
6729
7319
|
{
|
6730
7320
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
7321
|
+
var val;
|
6731
7322
|
return __generator(this, function (_a) {
|
6732
|
-
|
6733
|
-
|
6734
|
-
|
6735
|
-
|
6736
|
-
|
7323
|
+
val = Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(value)];
|
7324
|
+
if (val &&
|
7325
|
+
val.length > 0 &&
|
7326
|
+
selectedGovDepatments &&
|
7327
|
+
!selectedGovDepatments.includes(val)) {
|
7328
|
+
throw new Error("".concat(t("addCompany:govdepnotexist")));
|
6737
7329
|
}
|
6738
7330
|
return [2 /*return*/];
|
6739
7331
|
});
|
6740
7332
|
}); },
|
6741
7333
|
},
|
6742
|
-
] },
|
6743
|
-
|
7334
|
+
] }, (companyRole !== CompanyRole.GOVERNMENT &&
|
7335
|
+
(selectedGovDepatments &&
|
7336
|
+
selectedGovDepatments.length > 0)) ? (React.createElement(Select, { size: "large" }, selectedGovDepatments === null || selectedGovDepatments === void 0 ? void 0 : selectedGovDepatments.map(function (val) {
|
7337
|
+
if (val in GovDepartment) {
|
7338
|
+
var key = val;
|
7339
|
+
return (React.createElement(Select.Option, { key: GovDepartment[key], value: GovDepartment[key] }, val));
|
7340
|
+
}
|
7341
|
+
return null;
|
7342
|
+
}))) : (React.createElement(Select, { size: "large", disabled: true })))),
|
6744
7343
|
companyRole === CompanyRole.MINISTRY && (React.createElement(Form.Item, { label: t("addCompany:sectoralScope"), name: "sectoralScope", rules: [
|
6745
7344
|
{
|
6746
7345
|
required: true,
|
6747
7346
|
message: "".concat(t("addCompany:sectoralScope"), " ").concat(t("isRequired")),
|
6748
7347
|
},
|
6749
|
-
], initialValue: (
|
7348
|
+
], initialValue: (_m = state === null || state === void 0 ? void 0 : state.record) === null || _m === void 0 ? void 0 : _m.sectoralScope },
|
6750
7349
|
React.createElement(Select, { mode: "multiple", size: "large", maxTagCount: 2, allowClear: true }, Object.entries(SectoralScope).map(function (_a) {
|
6751
7350
|
var key = _a[0], value = _a[1];
|
6752
7351
|
return (React.createElement(Select.Option, { key: value, value: value }, key));
|
6753
7352
|
})))),
|
6754
|
-
React.createElement(Form.Item, { name: "phoneNo", label: t("addCompany:phoneNo"), initialValue: (
|
7353
|
+
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: [
|
6755
7354
|
{
|
6756
7355
|
required: true,
|
6757
7356
|
message: "",
|
@@ -6782,14 +7381,14 @@ var AddNewCompanyComponent = function (props) {
|
|
6782
7381
|
},
|
6783
7382
|
] },
|
6784
7383
|
React.createElement(PhoneInput, { placeholder: t("addCompany:phoneNo"), international: true, value: formatPhoneNumberIntl(contactNoInput), defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })),
|
6785
|
-
regionField && (React.createElement(Form.Item, { label: t("region"), name: "regions", initialValue: (
|
7384
|
+
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: [
|
6786
7385
|
{
|
6787
7386
|
required: true,
|
6788
|
-
message: "".concat(t("region"), " ").concat(t("isRequired")),
|
7387
|
+
message: "".concat(t("addCompany:region"), " ").concat(t("isRequired")),
|
6789
7388
|
},
|
6790
7389
|
] },
|
6791
7390
|
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)); })))),
|
6792
|
-
companyRole !== CompanyRole.MINISTRY && (React.createElement(Form.Item, { name: "address", label: t("addCompany:addresss"), initialValue: (
|
7391
|
+
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: [
|
6793
7392
|
{ required: true, message: "" },
|
6794
7393
|
{
|
6795
7394
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6812,7 +7411,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6812
7411
|
display: "flex",
|
6813
7412
|
marginBottom: 8,
|
6814
7413
|
}, align: "center", size: "large" },
|
6815
|
-
React.createElement(Form.Item, { style: { width: "100%" }, name: "omgePercentage", label: t("addCompany:omgePercentage"), initialValue: (
|
7414
|
+
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: [
|
6816
7415
|
{ required: true, message: "" },
|
6817
7416
|
{
|
6818
7417
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -6828,9 +7427,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6828
7427
|
}); },
|
6829
7428
|
},
|
6830
7429
|
] },
|
6831
|
-
React.createElement(InputNumber, { style: { width: "100%" }, size: "large", min:
|
6832
|
-
return "".concat(value ? Math.round(value) : "", "%");
|
6833
|
-
}, parser: function (value) { return value.replace("%", ""); } })))))))),
|
7430
|
+
React.createElement(InputNumber, { style: { width: "100%" }, size: "large", min: 1, max: 99, formatter: function (value) { return "".concat(Math.round(value), "%"); }, parser: function (value) { return value.replace("%", ""); } })))))))),
|
6834
7431
|
React.createElement("div", { className: "steps-actions" }, isUpdate ? (React.createElement(Row, null,
|
6835
7432
|
React.createElement(Button, { loading: loading, onClick: onCancel }, t("addCompany:cancel")),
|
6836
7433
|
React.createElement(Button, { loading: loading, className: "mg-left-1", type: "primary", htmlType: "submit" }, t("addCompany:submit")))) : (current === 0 && (React.createElement(Button, { type: "primary", htmlType: "submit" }, t("addCompany:next")))))))));
|
@@ -6988,6 +7585,16 @@ var CompanyDetailsComponent = function (props) {
|
|
6988
7585
|
React.createElement(Row, { className: "field" },
|
6989
7586
|
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:name")),
|
6990
7587
|
React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.name ? companyDetails.name : "-")),
|
7588
|
+
((companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.companyRole) === CompanyRole.GOVERNMENT ||
|
7589
|
+
(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.companyRole) === CompanyRole.MINISTRY) && (React.createElement(React.Fragment, null,
|
7590
|
+
React.createElement(Row, { className: "field" },
|
7591
|
+
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:ministry")),
|
7592
|
+
React.createElement(Col, { span: 12, className: "field-value" }, companyDetails.ministry ? companyDetails.ministry : "-")),
|
7593
|
+
React.createElement(Row, { className: "field" },
|
7594
|
+
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:govDep")),
|
7595
|
+
React.createElement(Col, { span: 12, className: "field-value" }, (companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.govDep)
|
7596
|
+
? Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.govDep)]
|
7597
|
+
: "-")))),
|
6991
7598
|
React.createElement(Row, { className: "field" },
|
6992
7599
|
React.createElement(Col, { span: 12, className: "field-key" }, t("companyDetails:taxId")),
|
6993
7600
|
React.createElement(Col, { span: 12, className: "field-value nextline-overflow" }, companyDetails.taxId &&
|
@@ -7896,7 +8503,7 @@ var ProgrammeManagementComponent = function (props) {
|
|
7896
8503
|
} })))))));
|
7897
8504
|
};
|
7898
8505
|
|
7899
|
-
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";
|
8506
|
+
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";
|
7900
8507
|
styleInject(css_248z$r);
|
7901
8508
|
|
7902
8509
|
function commonjsRequire(path) {
|
@@ -13655,7 +14262,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13655
14262
|
var userInfoState = useUserContext().userInfoState;
|
13656
14263
|
var _e = useState(false), loading = _e[0], setLoading = _e[1];
|
13657
14264
|
var _f = useState(false), loadingList = _f[0], setLoadingList = _f[1];
|
13658
|
-
var _g = useState()
|
14265
|
+
var _g = useState(); _g[0]; var setNdcScopeChanged = _g[1];
|
13659
14266
|
var _h = useState(), ndcScopeValue = _h[0], setNdcScopeValue = _h[1];
|
13660
14267
|
var _j = useState(), stepOneData = _j[0], setStepOneData = _j[1];
|
13661
14268
|
var _k = useState(0), current = _k[0], setCurrent = _k[1];
|
@@ -13675,6 +14282,10 @@ var ProgrammeCreationComponent = function (props) {
|
|
13675
14282
|
var _z = useState([]), availableSecoralScope = _z[0], setAvailableSectoralScope = _z[1];
|
13676
14283
|
var _0 = useState([]), selectableSectoralScope = _0[0], setSelectableSectoralScope = _0[1];
|
13677
14284
|
var _1 = useState([]), availableSectar = _1[0], setAvailableSectar = _1[1];
|
14285
|
+
var _2 = useState(true), article6trade = _2[0], setArticletrade = _2[1];
|
14286
|
+
var _3 = useState([]), ministryList = _3[0], setMinistryList = _3[1];
|
14287
|
+
var _4 = useState(); _4[0]; _4[1];
|
14288
|
+
var _5 = useState(), implementOwner = _5[0], setimplementOwner = _5[1];
|
13678
14289
|
// const initialOrganisationOwnershipValues: any[] = [
|
13679
14290
|
// {
|
13680
14291
|
// organisation:
|
@@ -13799,7 +14410,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13799
14410
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyName),
|
13800
14411
|
proponentPercentage: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
13801
14412
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY &&
|
13802
|
-
|
14413
|
+
100 - Number(response === null || response === void 0 ? void 0 : response.data[0].nationalSopValue),
|
13803
14414
|
},
|
13804
14415
|
]);
|
13805
14416
|
setGovData(response === null || response === void 0 ? void 0 : response.data[0]);
|
@@ -13818,8 +14429,96 @@ var ProgrammeCreationComponent = function (props) {
|
|
13818
14429
|
}
|
13819
14430
|
});
|
13820
14431
|
}); };
|
14432
|
+
var getMinistryDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14433
|
+
var response, error_4;
|
14434
|
+
return __generator(this, function (_a) {
|
14435
|
+
switch (_a.label) {
|
14436
|
+
case 0:
|
14437
|
+
setLoading(true);
|
14438
|
+
_a.label = 1;
|
14439
|
+
case 1:
|
14440
|
+
_a.trys.push([1, 3, 4, 5]);
|
14441
|
+
console.log("getting Ministry profile");
|
14442
|
+
return [4 /*yield*/, post("national/organisation/query", {
|
14443
|
+
page: 1,
|
14444
|
+
size: 100,
|
14445
|
+
filterOr: [
|
14446
|
+
{
|
14447
|
+
key: "companyRole",
|
14448
|
+
operation: "=",
|
14449
|
+
value: CompanyRole.MINISTRY,
|
14450
|
+
},
|
14451
|
+
{
|
14452
|
+
key: "companyRole",
|
14453
|
+
operation: "=",
|
14454
|
+
value: CompanyRole.GOVERNMENT,
|
14455
|
+
},
|
14456
|
+
],
|
14457
|
+
})];
|
14458
|
+
case 2:
|
14459
|
+
response = _a.sent();
|
14460
|
+
if (response.data) {
|
14461
|
+
setMinistryList(response === null || response === void 0 ? void 0 : response.data);
|
14462
|
+
}
|
14463
|
+
return [3 /*break*/, 5];
|
14464
|
+
case 3:
|
14465
|
+
error_4 = _a.sent();
|
14466
|
+
console.log("Error in getting ministry data", error_4);
|
14467
|
+
return [3 /*break*/, 5];
|
14468
|
+
case 4:
|
14469
|
+
setLoading(false);
|
14470
|
+
return [7 /*endfinally*/];
|
14471
|
+
case 5: return [2 /*return*/];
|
14472
|
+
}
|
14473
|
+
});
|
14474
|
+
}); };
|
14475
|
+
var getImplementOwnerDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14476
|
+
var response, error_5;
|
14477
|
+
var _a, _b;
|
14478
|
+
return __generator(this, function (_c) {
|
14479
|
+
switch (_c.label) {
|
14480
|
+
case 0:
|
14481
|
+
setLoading(true);
|
14482
|
+
_c.label = 1;
|
14483
|
+
case 1:
|
14484
|
+
_c.trys.push([1, 3, , 4]);
|
14485
|
+
return [4 /*yield*/, post("national/user/query", {
|
14486
|
+
page: 1,
|
14487
|
+
size: 10,
|
14488
|
+
filterAnd: [
|
14489
|
+
{
|
14490
|
+
key: "id",
|
14491
|
+
operation: "=",
|
14492
|
+
value: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.id,
|
14493
|
+
},
|
14494
|
+
],
|
14495
|
+
})];
|
14496
|
+
case 2:
|
14497
|
+
response = _c.sent();
|
14498
|
+
if (response && response.data) {
|
14499
|
+
if ((_a = response === null || response === void 0 ? void 0 : response.data[0]) === null || _a === void 0 ? void 0 : _a.company) {
|
14500
|
+
setimplementOwner((_b = response === null || response === void 0 ? void 0 : response.data[0]) === null || _b === void 0 ? void 0 : _b.company);
|
14501
|
+
}
|
14502
|
+
}
|
14503
|
+
setLoading(false);
|
14504
|
+
return [3 /*break*/, 4];
|
14505
|
+
case 3:
|
14506
|
+
error_5 = _c.sent();
|
14507
|
+
console.log("Error in getting users", error_5);
|
14508
|
+
message.open({
|
14509
|
+
type: "error",
|
14510
|
+
content: error_5.message,
|
14511
|
+
duration: 3,
|
14512
|
+
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
14513
|
+
});
|
14514
|
+
setLoading(false);
|
14515
|
+
return [3 /*break*/, 4];
|
14516
|
+
case 4: return [2 /*return*/];
|
14517
|
+
}
|
14518
|
+
});
|
14519
|
+
}); };
|
13821
14520
|
var getOrganisationsDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
13822
|
-
var response, userOrganisation, taxId,
|
14521
|
+
var response, userOrganisation, taxId, error_6;
|
13823
14522
|
return __generator(this, function (_a) {
|
13824
14523
|
switch (_a.label) {
|
13825
14524
|
case 0:
|
@@ -13848,8 +14547,8 @@ var ProgrammeCreationComponent = function (props) {
|
|
13848
14547
|
}
|
13849
14548
|
return [3 /*break*/, 5];
|
13850
14549
|
case 3:
|
13851
|
-
|
13852
|
-
console.log("Error in getting organisation list",
|
14550
|
+
error_6 = _a.sent();
|
14551
|
+
console.log("Error in getting organisation list", error_6);
|
13853
14552
|
return [3 /*break*/, 5];
|
13854
14553
|
case 4:
|
13855
14554
|
setLoadingList(false);
|
@@ -13859,7 +14558,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13859
14558
|
});
|
13860
14559
|
}); };
|
13861
14560
|
var getUserDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
13862
|
-
var response, sectScopeValues_1, sectSScope_1, sectors_1,
|
14561
|
+
var response, sectScopeValues_1, sectSScope_1, sectors_1, error_7;
|
13863
14562
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
13864
14563
|
return __generator(this, function (_k) {
|
13865
14564
|
switch (_k.label) {
|
@@ -13919,11 +14618,11 @@ var ProgrammeCreationComponent = function (props) {
|
|
13919
14618
|
setLoading(false);
|
13920
14619
|
return [3 /*break*/, 4];
|
13921
14620
|
case 3:
|
13922
|
-
|
13923
|
-
console.log("Error in getting users",
|
14621
|
+
error_7 = _k.sent();
|
14622
|
+
console.log("Error in getting users", error_7);
|
13924
14623
|
message.open({
|
13925
14624
|
type: "error",
|
13926
|
-
content:
|
14625
|
+
content: error_7.message,
|
13927
14626
|
duration: 3,
|
13928
14627
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
13929
14628
|
});
|
@@ -13938,8 +14637,10 @@ var ProgrammeCreationComponent = function (props) {
|
|
13938
14637
|
getCountryList();
|
13939
14638
|
getRegionList();
|
13940
14639
|
getGovernmentDetails();
|
14640
|
+
getMinistryDetails();
|
13941
14641
|
if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY) {
|
13942
14642
|
getUserDetails();
|
14643
|
+
getImplementOwnerDetails();
|
13943
14644
|
}
|
13944
14645
|
}, []);
|
13945
14646
|
var normFile = function (e) {
|
@@ -13956,46 +14657,74 @@ var ProgrammeCreationComponent = function (props) {
|
|
13956
14657
|
setCurrent(current - 1);
|
13957
14658
|
};
|
13958
14659
|
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 (
|
14660
|
+
var programmeDetails, totalPercentage, ownershipPercentage, duplicateIds, proponentTxIds, proponentPercentages, finalImplementingOwner, supportingOwners, propTaxIds, propTaxIds, environmentalImpactAssessmentData, logoBase64;
|
14661
|
+
var _a, _b, _c, _d, _e;
|
14662
|
+
return __generator(this, function (_f) {
|
14663
|
+
switch (_f.label) {
|
13963
14664
|
case 0:
|
13964
14665
|
setLoading(true);
|
13965
|
-
|
13966
|
-
|
13967
|
-
|
13968
|
-
|
13969
|
-
|
14666
|
+
if (article6trade) {
|
14667
|
+
ownershipPercentage = JSON.parse(JSON.stringify(values === null || values === void 0 ? void 0 : values.ownershipPercentage));
|
14668
|
+
if (Number(govData.nationalSopValue) !== 0) {
|
14669
|
+
ownershipPercentage.push({
|
14670
|
+
organisation: govData.taxId,
|
14671
|
+
proponentPercentage: Number(govData.nationalSopValue),
|
14672
|
+
});
|
14673
|
+
}
|
14674
|
+
totalPercentage = ownershipPercentage.reduce(function (sum, field) { return sum + field.proponentPercentage; }, 0);
|
14675
|
+
proponentPercentages = ownershipPercentage.map(function (item) { return item.proponentPercentage; });
|
14676
|
+
proponentTxIds =
|
14677
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
14678
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
14679
|
+
? ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.slice(1).map(function (item) { return item.organisation; })
|
14680
|
+
: ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.map(function (item) { return item.organisation; });
|
14681
|
+
propTaxIds = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.GOVERNMENT &&
|
14682
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
14683
|
+
? __spreadArray([userOrgTaxId], proponentTxIds, true) : proponentTxIds;
|
14684
|
+
duplicateIds = new Set(propTaxIds).size !== propTaxIds.length;
|
14685
|
+
console.log("proponentTxIds", proponentTxIds);
|
14686
|
+
console.log("ownershipPercentage", ownershipPercentage);
|
14687
|
+
}
|
14688
|
+
if (!article6trade) {
|
14689
|
+
ownershipPercentage = (values === null || values === void 0 ? void 0 : values.article6Percentage)
|
14690
|
+
? JSON.parse(JSON.stringify(values === null || values === void 0 ? void 0 : values.article6Percentage))
|
14691
|
+
: [];
|
14692
|
+
totalPercentage = 100;
|
14693
|
+
if ((values === null || values === void 0 ? void 0 : values.implementingOwner) && (values === null || values === void 0 ? void 0 : values.implementingOwner.length) > 0) {
|
14694
|
+
ownershipPercentage.push({
|
14695
|
+
organisation: implementOwner
|
14696
|
+
? implementOwner.taxId
|
14697
|
+
: values === null || values === void 0 ? void 0 : values.implementingOwner,
|
14698
|
+
proponentPercentage: 100,
|
14699
|
+
});
|
14700
|
+
}
|
14701
|
+
proponentPercentages = ownershipPercentage.map(function (item) {
|
14702
|
+
return item.proponentPercentage === "Supporting" ? 0 : 100;
|
13970
14703
|
});
|
14704
|
+
proponentTxIds = ownershipPercentage === null || ownershipPercentage === void 0 ? void 0 : ownershipPercentage.map(function (item) { return item.organisation; });
|
14705
|
+
propTaxIds = proponentTxIds;
|
14706
|
+
duplicateIds = new Set(propTaxIds).size !== propTaxIds.length;
|
14707
|
+
finalImplementingOwner = implementOwner
|
14708
|
+
? implementOwner.taxId
|
14709
|
+
: values === null || values === void 0 ? void 0 : values.implementingOwner;
|
14710
|
+
supportingOwners = (_a = values === null || values === void 0 ? void 0 : values.article6Percentage) === null || _a === void 0 ? void 0 : _a.map(function (item) { return item.organisation; });
|
14711
|
+
console.log("implementingOwner", finalImplementingOwner);
|
14712
|
+
console.log("supportingOwners", supportingOwners);
|
13971
14713
|
}
|
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)];
|
14714
|
+
environmentalImpactAssessmentData = "";
|
14715
|
+
if (!(((_b = values === null || values === void 0 ? void 0 : values.environmentalImpactAssessment) === null || _b === void 0 ? void 0 : _b.length) > 0)) return [3 /*break*/, 2];
|
14716
|
+
return [4 /*yield*/, getBase64((_c = values === null || values === void 0 ? void 0 : values.environmentalImpactAssessment[0]) === null || _c === void 0 ? void 0 : _c.originFileObj)];
|
13982
14717
|
case 1:
|
13983
|
-
|
13984
|
-
|
14718
|
+
environmentalImpactAssessmentData = _f.sent();
|
14719
|
+
_f.label = 2;
|
13985
14720
|
case 2:
|
13986
|
-
|
13987
|
-
if (!(((
|
13988
|
-
return [4 /*yield*/, getBase64((
|
14721
|
+
logoBase64 = "";
|
14722
|
+
if (!(((_d = values === null || values === void 0 ? void 0 : values.designDocument) === null || _d === void 0 ? void 0 : _d.length) > 0)) return [3 /*break*/, 4];
|
14723
|
+
return [4 /*yield*/, getBase64((_e = values === null || values === void 0 ? void 0 : values.designDocument[0]) === null || _e === void 0 ? void 0 : _e.originFileObj)];
|
13989
14724
|
case 3:
|
13990
|
-
|
13991
|
-
|
14725
|
+
logoBase64 = _f.sent();
|
14726
|
+
_f.label = 4;
|
13992
14727
|
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
14728
|
if (totalPercentage !== 100) {
|
14000
14729
|
if (Number(govData.nationalSopValue) !== 0) {
|
14001
14730
|
ownershipPercentage.pop();
|
@@ -14032,7 +14761,12 @@ var ProgrammeCreationComponent = function (props) {
|
|
14032
14761
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.MINISTRY
|
14033
14762
|
? __spreadArray([userOrgTaxId], proponentTxIds, true) : proponentTxIds,
|
14034
14763
|
proponentPercentage: proponentPercentages,
|
14035
|
-
|
14764
|
+
article6trade: article6trade,
|
14765
|
+
supportingowners: !article6trade && supportingOwners ? supportingOwners : undefined,
|
14766
|
+
implementinguser: !article6trade ? finalImplementingOwner : undefined,
|
14767
|
+
programmeProperties: __assign(__assign({ buyerCountryEligibility: article6trade
|
14768
|
+
? values === null || values === void 0 ? void 0 : values.buyerCountryEligibility
|
14769
|
+
: 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
14770
|
(values === null || values === void 0 ? void 0 : values.ndcScope) !== null && {
|
14037
14771
|
ndcScope: (values === null || values === void 0 ? void 0 : values.ndcScope) === "true" ? true : false,
|
14038
14772
|
})), (includedInNDC !== undefined &&
|
@@ -14055,7 +14789,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
14055
14789
|
});
|
14056
14790
|
}); };
|
14057
14791
|
var saveNewProgramme = function (payload) { return __awaiter(void 0, void 0, void 0, function () {
|
14058
|
-
var response,
|
14792
|
+
var response, error_8;
|
14059
14793
|
return __generator(this, function (_a) {
|
14060
14794
|
switch (_a.label) {
|
14061
14795
|
case 0:
|
@@ -14078,11 +14812,11 @@ var ProgrammeCreationComponent = function (props) {
|
|
14078
14812
|
onNavigateToProgrammeView();
|
14079
14813
|
return [3 /*break*/, 5];
|
14080
14814
|
case 3:
|
14081
|
-
|
14082
|
-
console.log("Error in programme creation - ",
|
14815
|
+
error_8 = _a.sent();
|
14816
|
+
console.log("Error in programme creation - ", error_8);
|
14083
14817
|
message.open({
|
14084
14818
|
type: "error",
|
14085
|
-
content:
|
14819
|
+
content: error_8 === null || error_8 === void 0 ? void 0 : error_8.message,
|
14086
14820
|
duration: 4,
|
14087
14821
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
14088
14822
|
});
|
@@ -14098,7 +14832,9 @@ var ProgrammeCreationComponent = function (props) {
|
|
14098
14832
|
var programmeDetails = stepOneData;
|
14099
14833
|
programmeDetails.creditEst = Number(values === null || values === void 0 ? void 0 : values.creditEst);
|
14100
14834
|
programmeDetails.programmeProperties.estimatedProgrammeCostUSD = Number(values === null || values === void 0 ? void 0 : values.estimatedProgrammeCostUSD);
|
14101
|
-
programmeDetails.programmeProperties.carbonPriceUSDPerTon =
|
14835
|
+
programmeDetails.programmeProperties.carbonPriceUSDPerTon = article6trade
|
14836
|
+
? Number(values === null || values === void 0 ? void 0 : values.minViableCarbonPrice)
|
14837
|
+
: 0;
|
14102
14838
|
setProgrammeDetailsObj(programmeDetails);
|
14103
14839
|
return programmeDetails;
|
14104
14840
|
};
|
@@ -14111,7 +14847,8 @@ var ProgrammeCreationComponent = function (props) {
|
|
14111
14847
|
});
|
14112
14848
|
}); };
|
14113
14849
|
var onFormTwoValuesChane = function (changedValues, allValues) {
|
14114
|
-
if (
|
14850
|
+
if (article6trade &&
|
14851
|
+
(allValues === null || allValues === void 0 ? void 0 : allValues.creditEst) !== undefined &&
|
14115
14852
|
(allValues === null || allValues === void 0 ? void 0 : allValues.creditEst) !== null &&
|
14116
14853
|
(allValues === null || allValues === void 0 ? void 0 : allValues.creditEst) > 0 &&
|
14117
14854
|
(allValues === null || allValues === void 0 ? void 0 : allValues.estimatedProgrammeCostUSD) !== undefined &&
|
@@ -14143,13 +14880,11 @@ var ProgrammeCreationComponent = function (props) {
|
|
14143
14880
|
setIncludedInNDC(undefined);
|
14144
14881
|
}
|
14145
14882
|
};
|
14146
|
-
var
|
14147
|
-
|
14148
|
-
|
14149
|
-
|
14150
|
-
|
14151
|
-
setIncludedInNDC(value);
|
14152
|
-
}
|
14883
|
+
var onArticle6Trading = function (event) {
|
14884
|
+
setArticletrade(event.target.value);
|
14885
|
+
formOne.resetFields(["ownershipPercentage"]);
|
14886
|
+
formOne.resetFields(["article6Percentage"]);
|
14887
|
+
formOne.resetFields(["implementingOwner"]);
|
14153
14888
|
};
|
14154
14889
|
var onChangeGeoLocation = function (values) {
|
14155
14890
|
if (values.includes("National")) {
|
@@ -14158,22 +14893,19 @@ var ProgrammeCreationComponent = function (props) {
|
|
14158
14893
|
formOne.setFieldValue("geographicalLocation", __spreadArray([], newBuyerValues, true));
|
14159
14894
|
}
|
14160
14895
|
};
|
14161
|
-
var
|
14162
|
-
var _a, _b;
|
14163
|
-
|
14164
|
-
|
14896
|
+
var onChangeStepOne = function (changedValues, allValues) {
|
14897
|
+
var _a, _b, _c;
|
14898
|
+
var selectedCompanies;
|
14899
|
+
if (article6trade) {
|
14900
|
+
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; });
|
14901
|
+
var orgPercentValidation = ((_b = allValues === null || allValues === void 0 ? void 0 : allValues.ownershipPercentage[0]) === null || _b === void 0 ? void 0 : _b.proponentPercentage) === false
|
14902
|
+
? true
|
14903
|
+
: false;
|
14904
|
+
setOwnershipPercentageValidation(orgPercentValidation);
|
14165
14905
|
}
|
14166
|
-
else
|
14167
|
-
|
14906
|
+
else {
|
14907
|
+
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
14908
|
}
|
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
14909
|
var uniqueOrgs = new Set(selectedCompanies);
|
14178
14910
|
setSelectedOrgs(__spreadArray([], uniqueOrgs, true));
|
14179
14911
|
};
|
@@ -14353,91 +15085,200 @@ var ProgrammeCreationComponent = function (props) {
|
|
14353
15085
|
React.createElement("div", { className: "addDoc-info" },
|
14354
15086
|
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
15087
|
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
|
-
|
15088
|
+
React.createElement(Row, { className: "selection-details-row", gutter: [16, 16] },
|
15089
|
+
React.createElement(Col, { md: 24, xl: 12, className: "in-ndc-col" },
|
15090
|
+
React.createElement(Row, { className: "in-ndc-row" },
|
15091
|
+
React.createElement(Col, { md: 16, lg: 18, xl: 18 },
|
15092
|
+
React.createElement("div", { className: "included-label" },
|
15093
|
+
React.createElement("div", null, t("addProgramme:article6trading")))),
|
15094
|
+
React.createElement(Col, { md: 8, lg: 6, xl: 6, className: "included-val" },
|
15095
|
+
React.createElement(Radio.Group, { size: "middle", value: article6trade, onChange: onArticle6Trading, disabled: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
15096
|
+
CompanyRole.PROGRAMME_DEVELOPER },
|
15097
|
+
React.createElement("div", { className: "yes-no-radio-container" },
|
15098
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: true }, t("addProgramme:yes"))),
|
15099
|
+
React.createElement("div", { className: "yes-no-radio-container" },
|
15100
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: false }, t("addProgramme:no")))))))),
|
15101
|
+
article6trade && (React.createElement(React.Fragment, null,
|
15102
|
+
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: [
|
15103
|
+
{
|
15104
|
+
required: false,
|
15105
|
+
},
|
15106
|
+
] },
|
15107
|
+
React.createElement(Select, { size: "large", loading: loadingList }, countries.map(function (country) { return (React.createElement(Select.Option, { key: country.alpha2, value: country.alpha2 }, country.name)); }))),
|
15108
|
+
govData &&
|
15109
|
+
Number(govData.nationalSopValue) !== 0 && (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15110
|
+
React.createElement(Space, { wrap: true, style: {
|
15111
|
+
display: "flex",
|
15112
|
+
marginBottom: 8,
|
15113
|
+
}, align: "center", size: "large" },
|
15114
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15115
|
+
React.createElement(Form.Item, { label: t("addProgramme:company"), name: "governmentName", wrapperCol: { span: 24 }, className: "organisation", initialValue: govData
|
15116
|
+
? govData.name
|
15117
|
+
: "Government", required: true },
|
15118
|
+
React.createElement(Input, { size: "large", disabled: true })),
|
15119
|
+
React.createElement(Form.Item, { label: t("addProgramme:proponentPercentage"), className: "ownership-percent", name: "sopPercentage", labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, initialValue: govData
|
15120
|
+
? Number(govData.nationalSopValue)
|
15121
|
+
: 0 },
|
15122
|
+
React.createElement(InputNumber, { size: "large", disabled: true, min: 1, max: 100, formatter: function (value) {
|
15123
|
+
return "".concat(value, "%");
|
15124
|
+
}, parser: function (value) {
|
15125
|
+
return value.replace("%", "");
|
15126
|
+
} })))))),
|
15127
|
+
React.createElement(Form.List, { name: "ownershipPercentage", initialValue: initialOrganisationOwnershipValues }, function (fields, _a) {
|
15128
|
+
var add = _a.add, remove = _a.remove;
|
15129
|
+
return (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15130
|
+
fields.map(function (_a) {
|
15131
|
+
var key = _a.key, name = _a.name, restField = __rest(_a, ["key", "name"]);
|
15132
|
+
return (React.createElement(Space, { wrap: true, key: key, style: {
|
15133
|
+
display: "flex",
|
15134
|
+
marginBottom: 8,
|
15135
|
+
}, align: "center", size: "large" },
|
15136
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15137
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:company"), name: [
|
15138
|
+
name,
|
15139
|
+
"organisation",
|
15140
|
+
], wrapperCol: { span: 24 }, className: "organisation", rules: [
|
15141
|
+
{
|
15142
|
+
required: true,
|
15143
|
+
message: "".concat(t("addProgramme:company"), " ").concat(t("isRequired")),
|
15144
|
+
validateTrigger: "onBlur",
|
15145
|
+
},
|
15146
|
+
], shouldUpdate: true }),
|
15147
|
+
React.createElement(Select, { size: "large", loading: loadingList, disabled: name === 0 &&
|
14400
15148
|
(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
|
-
|
15149
|
+
CompanyRole.GOVERNMENT &&
|
15150
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15151
|
+
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)) ||
|
15152
|
+
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15153
|
+
CompanyRole.GOVERNMENT &&
|
15154
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15155
|
+
CompanyRole.MINISTRY &&
|
15156
|
+
userOrgTaxId ===
|
15157
|
+
(organisation === null || organisation === void 0 ? void 0 : organisation.taxId)) }, organisation.name)); }))),
|
15158
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:proponentPercentage"), className: "ownership-percent", name: [
|
15159
|
+
name,
|
15160
|
+
"proponentPercentage",
|
15161
|
+
], labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, rules: [
|
15162
|
+
{
|
15163
|
+
required: true,
|
15164
|
+
message: "".concat(t("addProgramme:proponentPercentage"), " ").concat(t("isRequired")),
|
15165
|
+
},
|
15166
|
+
{
|
15167
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15168
|
+
return __generator(this, function (_a) {
|
15169
|
+
if (ownershipPercentageValidation &&
|
15170
|
+
name === 0) {
|
15171
|
+
throw new Error("".concat(t("addProgramme:proponentPercentage"), " ").concat(t("isRequired")));
|
15172
|
+
}
|
15173
|
+
return [2 /*return*/];
|
15174
|
+
});
|
15175
|
+
}); },
|
15176
|
+
},
|
15177
|
+
], shouldUpdate: true }),
|
15178
|
+
React.createElement(InputNumber, { size: "large", min: 1, max: 100, formatter: function (value) {
|
15179
|
+
return "".concat(value, "%");
|
15180
|
+
}, parser: function (value) {
|
15181
|
+
return value.replace("%", "");
|
15182
|
+
}, disabled: (fields === null || fields === void 0 ? void 0 : fields.length) < 2 &&
|
15183
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15184
|
+
CompanyRole.GOVERNMENT &&
|
15185
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
15186
|
+
CompanyRole.MINISTRY })),
|
15187
|
+
(fields === null || fields === void 0 ? void 0 : fields.length) > 1 &&
|
15188
|
+
name !== 0 && (React.createElement(MinusCircleOutlined, { className: "dynamic-delete-button", onClick: function () {
|
15189
|
+
remove(name);
|
15190
|
+
} })))));
|
15191
|
+
}),
|
15192
|
+
React.createElement(Form.Item, null,
|
15193
|
+
React.createElement(Button, { type: "dashed", onClick: function () { return add(); }, icon: React.createElement(PlusOutlined, null) }))));
|
15194
|
+
}))),
|
15195
|
+
!article6trade && (React.createElement(React.Fragment, null,
|
15196
|
+
implementOwner ? (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15197
|
+
React.createElement(Space, { wrap: true, style: {
|
15198
|
+
display: "flex",
|
15199
|
+
marginBottom: 8,
|
15200
|
+
}, align: "center", size: "large" },
|
15201
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15202
|
+
React.createElement(Form.Item, { label: t("addProgramme:governmentDepartment"), name: "implementingOwner", wrapperCol: { span: 24 }, className: "organisation", initialValue: implementOwner
|
15203
|
+
? implementOwner.name +
|
15204
|
+
" - " +
|
15205
|
+
Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(implementOwner.govDep)]
|
15206
|
+
: "Implementing Owner", required: true },
|
15207
|
+
React.createElement(Input, { size: "large", disabled: true })),
|
15208
|
+
React.createElement(Form.Item, { label: t("addProgramme:ownership"), className: "ownership-percent", name: "implementPercentage", labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, initialValue: implementOwner
|
15209
|
+
? "Implementing"
|
15210
|
+
: "Supporting" },
|
15211
|
+
React.createElement(InputNumber, { size: "large", disabled: true })))))) : (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15212
|
+
React.createElement(Space, { wrap: true, style: {
|
15213
|
+
display: "flex",
|
15214
|
+
marginBottom: 8,
|
15215
|
+
}, align: "center", size: "large" },
|
15216
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15217
|
+
React.createElement(Form.Item, { label: t("addProgramme:governmentDepartment"), name: "implementingOwner", wrapperCol: { span: 24 }, className: "organisation", rules: [
|
15218
|
+
{
|
15219
|
+
required: true,
|
15220
|
+
message: "".concat(t("addProgramme:governmentDepartment"), " ").concat(t("isRequired")),
|
15221
|
+
},
|
15222
|
+
] },
|
15223
|
+
React.createElement(Select, { size: "large", loading: loadingList }, ministryList.map(function (organisation) {
|
15224
|
+
return organisation.govDep && (React.createElement(Select.Option, { key: organisation.companyId, value: organisation.taxId }, organisation.name +
|
15225
|
+
"-" +
|
15226
|
+
Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(organisation.govDep)]));
|
15227
|
+
}))),
|
15228
|
+
React.createElement(Form.Item, { label: t("addProgramme:ownership"), className: "ownership-percent", name: "implementPercentage", labelCol: { span: 24 }, wrapperCol: { span: 24 }, required: true, initialValue: "Implementing" },
|
15229
|
+
React.createElement(InputNumber, { size: "large", disabled: true })))))),
|
15230
|
+
React.createElement(Form.List, { name: "article6Percentage" }, function (fields, _a) {
|
15231
|
+
var add = _a.add, remove = _a.remove;
|
15232
|
+
return (React.createElement("div", { className: "space-container", style: { width: "100%" } },
|
15233
|
+
fields.map(function (_a) {
|
15234
|
+
var key = _a.key, name = _a.name, restField = __rest(_a, ["key", "name"]);
|
15235
|
+
return (React.createElement(Space, { wrap: true, key: key, style: {
|
15236
|
+
display: "flex",
|
15237
|
+
marginBottom: 8,
|
15238
|
+
}, align: "center", size: "large" },
|
15239
|
+
React.createElement("div", { className: "ownership-list-item" },
|
15240
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:governmentDepartment"), name: [
|
15241
|
+
name,
|
15242
|
+
"organisation",
|
15243
|
+
], rules: [
|
15244
|
+
{
|
15245
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15246
|
+
return __generator(this, function (_a) {
|
15247
|
+
if (String(value).trim() === "" ||
|
15248
|
+
String(value).trim() ===
|
15249
|
+
undefined ||
|
15250
|
+
value === null ||
|
15251
|
+
value ===
|
15252
|
+
undefined) {
|
15253
|
+
throw new Error("".concat(t("addProgramme:governmentDepartment"), " shouldn't be empty"));
|
15254
|
+
}
|
15255
|
+
return [2 /*return*/];
|
15256
|
+
});
|
15257
|
+
}); },
|
15258
|
+
},
|
15259
|
+
], wrapperCol: { span: 24 }, className: "organisation", shouldUpdate: true }),
|
15260
|
+
React.createElement(Select, { size: "large", loading: loadingList }, ministryList.map(function (organisation) {
|
15261
|
+
var _a;
|
15262
|
+
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())) ||
|
15263
|
+
(implementOwner === null || implementOwner === void 0 ? void 0 : implementOwner.taxId) ===
|
15264
|
+
organisation.taxId ||
|
15265
|
+
((_a = state === null || state === void 0 ? void 0 : state.record) === null || _a === void 0 ? void 0 : _a.implementingOwner.trim()) ===
|
15266
|
+
organisation.taxId }, organisation.name +
|
15267
|
+
" - " +
|
15268
|
+
Object.keys(GovDepartment)[Object.values(GovDepartment).indexOf(organisation.govDep)]));
|
15269
|
+
}))),
|
15270
|
+
React.createElement(Form.Item, __assign({}, restField, { label: t("addProgramme:ownership"), className: "ownership-percent", name: [
|
15271
|
+
name,
|
15272
|
+
"proponentPercentage",
|
15273
|
+
], initialValue: "Supporting", labelCol: { span: 24 }, wrapperCol: { span: 24 }, shouldUpdate: true }),
|
15274
|
+
React.createElement(InputNumber, { size: "large", disabled: true })),
|
15275
|
+
React.createElement(MinusCircleOutlined, { className: "dynamic-delete-button", onClick: function () {
|
15276
|
+
remove(name);
|
15277
|
+
} }))));
|
15278
|
+
}),
|
15279
|
+
React.createElement(Form.Item, null,
|
15280
|
+
React.createElement(Button, { type: "dashed", onClick: function () { return add(); }, icon: React.createElement(PlusOutlined, null) }))));
|
15281
|
+
}))),
|
14441
15282
|
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
15283
|
{
|
14443
15284
|
required: true,
|
@@ -14565,25 +15406,6 @@ var ProgrammeCreationComponent = function (props) {
|
|
14565
15406
|
},
|
14566
15407
|
] },
|
14567
15408
|
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
15409
|
React.createElement("div", { className: "steps-actions" },
|
14588
15410
|
React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading, onClick: checkOrgPercentageValidation }, t("addProgramme:next"))))))),
|
14589
15411
|
},
|
@@ -14623,11 +15445,13 @@ var ProgrammeCreationComponent = function (props) {
|
|
14623
15445
|
},
|
14624
15446
|
] },
|
14625
15447
|
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 } })))),
|
15448
|
+
article6trade && (React.createElement(Form.Item, { label: t("addProgramme:minViableCarbonPrice"), name: "minViableCarbonPrice" },
|
15449
|
+
React.createElement(InputNumber, { disabled: true, size: "large", style: { width: "100%", paddingRight: 12 } }))))),
|
14628
15450
|
React.createElement(Col, { xl: 12, md: 24 },
|
14629
15451
|
React.createElement("div", { className: "details-part-two" },
|
14630
|
-
React.createElement(Form.Item, { label:
|
15452
|
+
React.createElement(Form.Item, { label: article6trade
|
15453
|
+
? t("addProgramme:creditEst")
|
15454
|
+
: t("addProgramme:creditReduction"), name: "creditEst", rules: [
|
14631
15455
|
{
|
14632
15456
|
required: true,
|
14633
15457
|
message: "",
|
@@ -14639,7 +15463,9 @@ var ProgrammeCreationComponent = function (props) {
|
|
14639
15463
|
String(value).trim() === undefined ||
|
14640
15464
|
value === null ||
|
14641
15465
|
value === undefined) {
|
14642
|
-
throw new Error("".concat(
|
15466
|
+
throw new Error("".concat(article6trade
|
15467
|
+
? t("addProgramme:creditEst")
|
15468
|
+
: t("addProgramme:creditReduction"), " ").concat(t("isRequired")));
|
14643
15469
|
}
|
14644
15470
|
else if (!isNaN(value) &&
|
14645
15471
|
Number(value) > 0) {
|
@@ -35113,5 +35939,5 @@ var GHGDashboardComponent = function (props) {
|
|
35113
35939
|
React.createElement(Row, { gutter: [40, 40], className: "statics-card-row" }, row.map(function (item, j) { return getWidgetJSX(item); })))); }))));
|
35114
35940
|
};
|
35115
35941
|
|
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 };
|
35942
|
+
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
35943
|
//# sourceMappingURL=index.js.map
|