@undp/carbon-library 1.0.289-CARBON-366.1 → 1.0.289-CARBON-220.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +211 -30
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/StasticCard/stasticCard.d.ts +0 -2
- package/dist/esm/index.js +211 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/StasticCard/stasticCard.d.ts +0 -2
- package/dist/index.d.ts +0 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -25243,19 +25243,215 @@ var optionDonutPieB = {
|
|
25243
25243
|
var css_248z$8 = ".stastic-card-main-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 11.2rem;\n background-color: white;\n border-radius: 0.625rem;\n padding: 1rem 1.875rem 0 1.875rem; }\n .stastic-card-main-container .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n height: 3.3rem; }\n .stastic-card-main-container .title-section .title {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n font-family: 'Inter';\n font-size: 1.15rem;\n font-weight: 600;\n width: 95%;\n color: rgba(58, 53, 65, 0.8); }\n .stastic-card-main-container .title-section .info-container {\n display: flex;\n flex-direction: row;\n width: 5%;\n align-items: center;\n justify-content: flex-end; }\n .stastic-card-main-container .values-section {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between;\n height: 5rem; }\n .stastic-card-main-container .values-section .values-and-unit {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n width: 60%; }\n .stastic-card-main-container .values-section .values-and-unit .value {\n font-family: 'Inter';\n font-size: 2rem;\n font-weight: 600;\n width: 100%;\n color: #16b1ff;\n padding: 0; }\n .stastic-card-main-container .values-section .values-and-unit .unit {\n margin-bottom: -0.6rem;\n margin-left: 0.2rem;\n margin-top: -0.66rem;\n font-family: 'Inter';\n font-size: 0.875rem;\n font-weight: 500;\n width: 100%;\n color: rgba(58, 53, 65, 0.5); }\n .stastic-card-main-container .values-section .icon-section {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n width: 40%;\n justify-content: flex-start; }\n .stastic-card-main-container .values-section .icon-section img {\n height: 80px; }\n .stastic-card-main-container .values-section .updated-on-null {\n display: flex;\n flex-direction: row;\n font-size: 0.813rem;\n border-radius: 3.125rem;\n padding: 0 0.5rem 0 0.5rem;\n margin-top: 1rem;\n color: transparent;\n background-color: transparent; }\n .stastic-card-main-container .updated-on {\n display: flex;\n flex-direction: row;\n font-size: 0.75rem;\n border-radius: 3.125rem;\n padding: 0.05rem 0.8rem 0.05rem 0.8rem;\n width: max-content;\n color: #16b1ff;\n background-color: rgba(185, 226, 244, 0.4); }\n\n.stastic-card-main-container:hover {\n box-shadow: rgba(0, 5, 18, 0.2) 0px 8px 24px; }\n";
|
25244
25244
|
styleInject(css_248z$8);
|
25245
25245
|
|
25246
|
+
var toolTipTextGen = function (companyRole, cardType, mine) {
|
25247
|
+
var text = '';
|
25248
|
+
if (companyRole === exports.CompanyRole.GOVERNMENT) {
|
25249
|
+
if (cardType === exports.StatsCardsTypes.PROGRAMMES_PENDING) {
|
25250
|
+
text = 'Pending state projects awaiting authorisation';
|
25251
|
+
}
|
25252
|
+
else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25253
|
+
text =
|
25254
|
+
'Pending credit transfer requests sent to project owners initiated by your organisation';
|
25255
|
+
}
|
25256
|
+
else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
|
25257
|
+
text = 'Total credit balance owned by your organisation';
|
25258
|
+
}
|
25259
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25260
|
+
text =
|
25261
|
+
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25262
|
+
}
|
25263
|
+
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25264
|
+
text =
|
25265
|
+
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25266
|
+
}
|
25267
|
+
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25268
|
+
text =
|
25269
|
+
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25270
|
+
}
|
25271
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25272
|
+
text =
|
25273
|
+
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25274
|
+
}
|
25275
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25276
|
+
text =
|
25277
|
+
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25278
|
+
}
|
25279
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25280
|
+
text =
|
25281
|
+
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25282
|
+
}
|
25283
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25284
|
+
text =
|
25285
|
+
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25286
|
+
}
|
25287
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25288
|
+
text =
|
25289
|
+
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25290
|
+
}
|
25291
|
+
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25292
|
+
text =
|
25293
|
+
'Locations of credits of international transfer requests recognised during the specified period';
|
25294
|
+
}
|
25295
|
+
}
|
25296
|
+
else if (companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER) {
|
25297
|
+
if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_RECEIVED) {
|
25298
|
+
text = 'Pending credit transfer requests received by your organisation';
|
25299
|
+
}
|
25300
|
+
else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25301
|
+
text = 'Pending local credit transfer requests initiated by your organisation';
|
25302
|
+
}
|
25303
|
+
else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
|
25304
|
+
text = 'Total credit balance owned by your organisation';
|
25305
|
+
}
|
25306
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25307
|
+
text =
|
25308
|
+
'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
|
25309
|
+
}
|
25310
|
+
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25311
|
+
text =
|
25312
|
+
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
|
25313
|
+
}
|
25314
|
+
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25315
|
+
text =
|
25316
|
+
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
|
25317
|
+
}
|
25318
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25319
|
+
text =
|
25320
|
+
'Graphical representation of the number of projects created during the specified period, owned by your organisation, in each project state in the carbon registry at present';
|
25321
|
+
}
|
25322
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25323
|
+
text =
|
25324
|
+
'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
|
25325
|
+
}
|
25326
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25327
|
+
text =
|
25328
|
+
'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, in each credit state in the carbon registry at present';
|
25329
|
+
}
|
25330
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25331
|
+
text =
|
25332
|
+
'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, certified, uncertified and revoked in the carbon registry at present';
|
25333
|
+
}
|
25334
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25335
|
+
text =
|
25336
|
+
'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
|
25337
|
+
}
|
25338
|
+
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25339
|
+
text =
|
25340
|
+
'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
|
25341
|
+
}
|
25342
|
+
}
|
25343
|
+
else if (companyRole === exports.CompanyRole.CERTIFIER && mine === true) {
|
25344
|
+
if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25345
|
+
text =
|
25346
|
+
'Number of projects not yet certified including certificates revoked by your organisation';
|
25347
|
+
}
|
25348
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25349
|
+
text = 'Number of projects certified by your organisation';
|
25350
|
+
}
|
25351
|
+
else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
|
25352
|
+
text = 'Number of credits certified by your organisation';
|
25353
|
+
}
|
25354
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25355
|
+
text =
|
25356
|
+
'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
|
25357
|
+
}
|
25358
|
+
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25359
|
+
text =
|
25360
|
+
'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
|
25361
|
+
}
|
25362
|
+
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25363
|
+
text =
|
25364
|
+
'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
|
25365
|
+
}
|
25366
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25367
|
+
text =
|
25368
|
+
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25369
|
+
}
|
25370
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25371
|
+
text =
|
25372
|
+
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25373
|
+
}
|
25374
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25375
|
+
text =
|
25376
|
+
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25377
|
+
}
|
25378
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25379
|
+
text =
|
25380
|
+
'Graphical representation of the number of credits of projects certified, uncertified and revoked (refer above for states), by your organisation, spread over the specified time';
|
25381
|
+
}
|
25382
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25383
|
+
text =
|
25384
|
+
'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
|
25385
|
+
}
|
25386
|
+
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25387
|
+
text =
|
25388
|
+
'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
|
25389
|
+
}
|
25390
|
+
}
|
25391
|
+
else if (companyRole === exports.CompanyRole.CERTIFIER && !mine) {
|
25392
|
+
if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25393
|
+
text =
|
25394
|
+
'Number of projects not yet certified including certificates revoked by your organisation';
|
25395
|
+
}
|
25396
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25397
|
+
text = 'Number of projects certified by your organisation';
|
25398
|
+
}
|
25399
|
+
else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
|
25400
|
+
text = 'Number of credits certified by your organisation';
|
25401
|
+
}
|
25402
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25403
|
+
text =
|
25404
|
+
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25405
|
+
}
|
25406
|
+
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25407
|
+
text =
|
25408
|
+
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25409
|
+
}
|
25410
|
+
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25411
|
+
text =
|
25412
|
+
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25413
|
+
}
|
25414
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25415
|
+
text =
|
25416
|
+
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25417
|
+
}
|
25418
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25419
|
+
text =
|
25420
|
+
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25421
|
+
}
|
25422
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25423
|
+
text =
|
25424
|
+
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25425
|
+
}
|
25426
|
+
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25427
|
+
text =
|
25428
|
+
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25429
|
+
}
|
25430
|
+
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25431
|
+
text =
|
25432
|
+
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25433
|
+
}
|
25434
|
+
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25435
|
+
text =
|
25436
|
+
'Locations of credits of international transfer requests recognised during the specified period';
|
25437
|
+
}
|
25438
|
+
}
|
25439
|
+
return text;
|
25440
|
+
};
|
25441
|
+
|
25246
25442
|
var StasticCard = function (props) {
|
25247
|
-
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading
|
25443
|
+
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading, companyRole = props.companyRole;
|
25248
25444
|
return (React.createElement("div", { className: "stastic-card-main-container" }, loading ? (React.createElement(antd.Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
|
25249
25445
|
React.createElement("div", { className: "title-section" },
|
25250
|
-
React.createElement("div", { className: "title" },
|
25446
|
+
React.createElement("div", { className: "title" }, title),
|
25251
25447
|
React.createElement("div", { className: "info-container" },
|
25252
|
-
React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title:
|
25448
|
+
React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: toolTipTextGen(companyRole, title) },
|
25253
25449
|
React.createElement(Icon.InfoCircle, { color: "#000000", size: 17 })))),
|
25254
25450
|
React.createElement("div", { className: "values-section" },
|
25255
25451
|
React.createElement("div", { className: "values-and-unit" },
|
25256
|
-
title.includes(
|
25257
|
-
React.createElement("div", { className: "value" }, title.includes(
|
25258
|
-
? value === 0 || String(value) ===
|
25452
|
+
title.includes('Credit') && React.createElement("div", { className: "unit" }, "ITMOs"),
|
25453
|
+
React.createElement("div", { className: "value" }, title.includes('Credit')
|
25454
|
+
? value === 0 || String(value) === 'NaN'
|
25259
25455
|
? 0
|
25260
25456
|
: addCommSep(value)
|
25261
25457
|
: value)),
|
@@ -26861,69 +27057,54 @@ var RegistryDashboardComponent = function (props) {
|
|
26861
27057
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26862
27058
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26863
27059
|
? transferRequestReceived
|
26864
|
-
: programmesUnCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27060
|
+
: programmesUnCertifed, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26865
27061
|
? "programmesPending"
|
26866
27062
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26867
27063
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26868
27064
|
? "trasnferReqReceived"
|
26869
|
-
: "programmesUnCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27065
|
+
: "programmesUnCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26870
27066
|
? lastUpdateProgrammesStats
|
26871
27067
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26872
27068
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26873
27069
|
? lastUpdatePendingTransferReceived
|
26874
27070
|
: lastUpdateProgrammesCertifiable, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ? (React.createElement(Icon.ClockHistory, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26875
|
-
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldX, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
26876
|
-
? "tTprogrammespendingGoverment"
|
26877
|
-
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26878
|
-
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26879
|
-
? "tTTransferReqRecProgrammeDev"
|
26880
|
-
: "tTProgrammesUnCertiCertifier"), t: t })),
|
27071
|
+
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldX, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole })),
|
26881
27072
|
React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
26882
27073
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26883
27074
|
? transferRequestSent
|
26884
27075
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26885
27076
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26886
27077
|
? transferRequestSent
|
26887
|
-
: programmesCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27078
|
+
: programmesCertifed, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26888
27079
|
? "trasnferReqInit"
|
26889
27080
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26890
27081
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26891
27082
|
? "trasnferReqInit"
|
26892
|
-
: "programmesCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27083
|
+
: "programmesCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26893
27084
|
? lastUpdatePendingTransferSent
|
26894
27085
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26895
27086
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26896
27087
|
? lastUpdatePendingTransferSent
|
26897
27088
|
: lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ? (React.createElement(Icon.BoxArrowRight, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26898
|
-
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldCheck, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
26899
|
-
? "tTTransferReqSentGovernment"
|
26900
|
-
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26901
|
-
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26902
|
-
? "tTTransferReqInitProgrammeDev"
|
26903
|
-
: "tTProgrammesCertiCertifier"), t: t })),
|
27089
|
+
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldCheck, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole })),
|
26904
27090
|
React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
26905
27091
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26906
27092
|
? creditBalanceWithoutTimeRange
|
26907
27093
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26908
27094
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26909
27095
|
? creditBalanceWithoutTimeRange
|
26910
|
-
: creditCertiedBalanceWithoutTimeRange, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27096
|
+
: creditCertiedBalanceWithoutTimeRange, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26911
27097
|
? "creditBal"
|
26912
27098
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26913
27099
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26914
27100
|
? "creditBal"
|
26915
|
-
: "creditCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27101
|
+
: "creditCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
26916
27102
|
? lastUpdateCreditBalance
|
26917
27103
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26918
27104
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26919
27105
|
? lastUpdateCreditBalance
|
26920
27106
|
: lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ? (React.createElement(Icon.Gem, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26921
|
-
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldExclamation, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
26922
|
-
? "tTCreditBalanceGovernment"
|
26923
|
-
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
26924
|
-
exports.CompanyRole.PROGRAMME_DEVELOPER
|
26925
|
-
? "tTCreditBalanceProgrammeDev"
|
26926
|
-
: "tTCreditCertifiedCertifier"), t: t })))),
|
27107
|
+
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldExclamation, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole })))),
|
26927
27108
|
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ||
|
26928
27109
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER ||
|
26929
27110
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY) &&
|