@undp/carbon-library 1.0.292-CARBON-428.0 → 1.0.292-CARBON-366.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +31 -212
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/StasticCard/stasticCard.d.ts +2 -0
- package/dist/esm/index.js +31 -212
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/StasticCard/stasticCard.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -16018,7 +16018,7 @@ var InvestmentCreationComponent = function (props) {
|
|
16018
16018
|
.startOf("day")
|
16019
16019
|
.unix();
|
16020
16020
|
}
|
16021
|
-
payload.instrument =
|
16021
|
+
payload.instrument = [payload.instrument];
|
16022
16022
|
payload.fromCompanyIds = data.companyId.map(function (e) { return Number(e); });
|
16023
16023
|
payload.percentage = val.percentage;
|
16024
16024
|
payload.toCompanyId = Number(payload.toCompanyId);
|
@@ -25534,215 +25534,19 @@ var optionDonutPieB = {
|
|
25534
25534
|
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";
|
25535
25535
|
styleInject(css_248z$8);
|
25536
25536
|
|
25537
|
-
var toolTipTextGen = function (companyRole, cardType, mine) {
|
25538
|
-
var text = '';
|
25539
|
-
if (companyRole === CompanyRole.GOVERNMENT) {
|
25540
|
-
if (cardType === StatsCardsTypes.PROGRAMMES_PENDING) {
|
25541
|
-
text = 'Pending state projects awaiting authorisation';
|
25542
|
-
}
|
25543
|
-
else if (cardType === StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25544
|
-
text =
|
25545
|
-
'Pending credit transfer requests sent to project owners initiated by your organisation';
|
25546
|
-
}
|
25547
|
-
else if (cardType === StatsCardsTypes.CREDIT_BALANCE) {
|
25548
|
-
text = 'Total credit balance owned by your organisation';
|
25549
|
-
}
|
25550
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25551
|
-
text =
|
25552
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25553
|
-
}
|
25554
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25555
|
-
text =
|
25556
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25557
|
-
}
|
25558
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25559
|
-
text =
|
25560
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25561
|
-
}
|
25562
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25563
|
-
text =
|
25564
|
-
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25565
|
-
}
|
25566
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25567
|
-
text =
|
25568
|
-
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25569
|
-
}
|
25570
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25571
|
-
text =
|
25572
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25573
|
-
}
|
25574
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25575
|
-
text =
|
25576
|
-
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25577
|
-
}
|
25578
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25579
|
-
text =
|
25580
|
-
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25581
|
-
}
|
25582
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25583
|
-
text =
|
25584
|
-
'Locations of credits of international transfer requests recognised during the specified period';
|
25585
|
-
}
|
25586
|
-
}
|
25587
|
-
else if (companyRole === CompanyRole.PROGRAMME_DEVELOPER) {
|
25588
|
-
if (cardType === StatsCardsTypes.TRANSFER_REQUEST_RECEIVED) {
|
25589
|
-
text = 'Pending credit transfer requests received by your organisation';
|
25590
|
-
}
|
25591
|
-
else if (cardType === StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25592
|
-
text = 'Pending local credit transfer requests initiated by your organisation';
|
25593
|
-
}
|
25594
|
-
else if (cardType === StatsCardsTypes.CREDIT_BALANCE) {
|
25595
|
-
text = 'Total credit balance owned by your organisation';
|
25596
|
-
}
|
25597
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25598
|
-
text =
|
25599
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
|
25600
|
-
}
|
25601
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25602
|
-
text =
|
25603
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
|
25604
|
-
}
|
25605
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25606
|
-
text =
|
25607
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
|
25608
|
-
}
|
25609
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25610
|
-
text =
|
25611
|
-
'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';
|
25612
|
-
}
|
25613
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25614
|
-
text =
|
25615
|
-
'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
|
25616
|
-
}
|
25617
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25618
|
-
text =
|
25619
|
-
'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';
|
25620
|
-
}
|
25621
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25622
|
-
text =
|
25623
|
-
'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';
|
25624
|
-
}
|
25625
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25626
|
-
text =
|
25627
|
-
'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
|
25628
|
-
}
|
25629
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25630
|
-
text =
|
25631
|
-
'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
|
25632
|
-
}
|
25633
|
-
}
|
25634
|
-
else if (companyRole === CompanyRole.CERTIFIER && mine === true) {
|
25635
|
-
if (cardType === StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25636
|
-
text =
|
25637
|
-
'Number of projects not yet certified including certificates revoked by your organisation';
|
25638
|
-
}
|
25639
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25640
|
-
text = 'Number of projects certified by your organisation';
|
25641
|
-
}
|
25642
|
-
else if (cardType === StatsCardsTypes.CREDIT_CERTIFIED) {
|
25643
|
-
text = 'Number of credits certified by your organisation';
|
25644
|
-
}
|
25645
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25646
|
-
text =
|
25647
|
-
'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
|
25648
|
-
}
|
25649
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25650
|
-
text =
|
25651
|
-
'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
|
25652
|
-
}
|
25653
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25654
|
-
text =
|
25655
|
-
'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
|
25656
|
-
}
|
25657
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25658
|
-
text =
|
25659
|
-
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25660
|
-
}
|
25661
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25662
|
-
text =
|
25663
|
-
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25664
|
-
}
|
25665
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25666
|
-
text =
|
25667
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25668
|
-
}
|
25669
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25670
|
-
text =
|
25671
|
-
'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';
|
25672
|
-
}
|
25673
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25674
|
-
text =
|
25675
|
-
'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
|
25676
|
-
}
|
25677
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25678
|
-
text =
|
25679
|
-
'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
|
25680
|
-
}
|
25681
|
-
}
|
25682
|
-
else if (companyRole === CompanyRole.CERTIFIER && !mine) {
|
25683
|
-
if (cardType === StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25684
|
-
text =
|
25685
|
-
'Number of projects not yet certified including certificates revoked by your organisation';
|
25686
|
-
}
|
25687
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25688
|
-
text = 'Number of projects certified by your organisation';
|
25689
|
-
}
|
25690
|
-
else if (cardType === StatsCardsTypes.CREDIT_CERTIFIED) {
|
25691
|
-
text = 'Number of credits certified by your organisation';
|
25692
|
-
}
|
25693
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25694
|
-
text =
|
25695
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25696
|
-
}
|
25697
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25698
|
-
text =
|
25699
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25700
|
-
}
|
25701
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25702
|
-
text =
|
25703
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25704
|
-
}
|
25705
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25706
|
-
text =
|
25707
|
-
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25708
|
-
}
|
25709
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25710
|
-
text =
|
25711
|
-
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25712
|
-
}
|
25713
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25714
|
-
text =
|
25715
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25716
|
-
}
|
25717
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25718
|
-
text =
|
25719
|
-
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25720
|
-
}
|
25721
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25722
|
-
text =
|
25723
|
-
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25724
|
-
}
|
25725
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25726
|
-
text =
|
25727
|
-
'Locations of credits of international transfer requests recognised during the specified period';
|
25728
|
-
}
|
25729
|
-
}
|
25730
|
-
return text;
|
25731
|
-
};
|
25732
|
-
|
25733
25537
|
var StasticCard = function (props) {
|
25734
|
-
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading
|
25538
|
+
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading; props.companyRole; var tooltip = props.tooltip, t = props.t;
|
25735
25539
|
return (React.createElement("div", { className: "stastic-card-main-container" }, loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
|
25736
25540
|
React.createElement("div", { className: "title-section" },
|
25737
|
-
React.createElement("div", { className: "title" }, title),
|
25541
|
+
React.createElement("div", { className: "title" }, t(title)),
|
25738
25542
|
React.createElement("div", { className: "info-container" },
|
25739
|
-
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title:
|
25543
|
+
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: tooltip },
|
25740
25544
|
React.createElement(InfoCircle, { color: "#000000", size: 17 })))),
|
25741
25545
|
React.createElement("div", { className: "values-section" },
|
25742
25546
|
React.createElement("div", { className: "values-and-unit" },
|
25743
|
-
title.includes(
|
25744
|
-
React.createElement("div", { className: "value" }, title.includes(
|
25745
|
-
? value === 0 || String(value) ===
|
25547
|
+
title.includes("credit") && React.createElement("div", { className: "unit" }, "ITMOs"),
|
25548
|
+
React.createElement("div", { className: "value" }, title.includes("credit")
|
25549
|
+
? value === 0 || String(value) === "NaN"
|
25746
25550
|
? 0
|
25747
25551
|
: addCommSep(value)
|
25748
25552
|
: value)),
|
@@ -27348,54 +27152,69 @@ var RegistryDashboardComponent = function (props) {
|
|
27348
27152
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27349
27153
|
CompanyRole.PROGRAMME_DEVELOPER
|
27350
27154
|
? transferRequestReceived
|
27351
|
-
: programmesUnCertifed, title:
|
27155
|
+
: programmesUnCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27352
27156
|
? "programmesPending"
|
27353
27157
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27354
27158
|
CompanyRole.PROGRAMME_DEVELOPER
|
27355
27159
|
? "trasnferReqReceived"
|
27356
|
-
: "programmesUnCertified"
|
27160
|
+
: "programmesUnCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27357
27161
|
? lastUpdateProgrammesStats
|
27358
27162
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27359
27163
|
CompanyRole.PROGRAMME_DEVELOPER
|
27360
27164
|
? lastUpdatePendingTransferReceived
|
27361
27165
|
: lastUpdateProgrammesCertifiable, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ? (React.createElement(ClockHistory, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27362
|
-
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldX, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
27166
|
+
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldX, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27167
|
+
? "tTprogrammespendingGoverment"
|
27168
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27169
|
+
CompanyRole.PROGRAMME_DEVELOPER
|
27170
|
+
? "tTTransferReqRecProgrammeDev"
|
27171
|
+
: "tTProgrammesUnCertiCertifier"), t: t })),
|
27363
27172
|
React.createElement(Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27364
27173
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27365
27174
|
? transferRequestSent
|
27366
27175
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27367
27176
|
CompanyRole.PROGRAMME_DEVELOPER
|
27368
27177
|
? transferRequestSent
|
27369
|
-
: programmesCertifed, title:
|
27178
|
+
: programmesCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27370
27179
|
? "trasnferReqInit"
|
27371
27180
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27372
27181
|
CompanyRole.PROGRAMME_DEVELOPER
|
27373
27182
|
? "trasnferReqInit"
|
27374
|
-
: "programmesCertified"
|
27183
|
+
: "programmesCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27375
27184
|
? lastUpdatePendingTransferSent
|
27376
27185
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27377
27186
|
CompanyRole.PROGRAMME_DEVELOPER
|
27378
27187
|
? lastUpdatePendingTransferSent
|
27379
27188
|
: lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ? (React.createElement(BoxArrowRight, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27380
|
-
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldCheck, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
27189
|
+
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldCheck, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27190
|
+
? "tTTransferReqSentGovernment"
|
27191
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27192
|
+
CompanyRole.PROGRAMME_DEVELOPER
|
27193
|
+
? "tTTransferReqInitProgrammeDev"
|
27194
|
+
: "tTProgrammesCertiCertifier"), t: t })),
|
27381
27195
|
React.createElement(Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27382
27196
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27383
27197
|
? creditBalanceWithoutTimeRange
|
27384
27198
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27385
27199
|
CompanyRole.PROGRAMME_DEVELOPER
|
27386
27200
|
? creditBalanceWithoutTimeRange
|
27387
|
-
: creditCertiedBalanceWithoutTimeRange, title:
|
27201
|
+
: creditCertiedBalanceWithoutTimeRange, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27388
27202
|
? "creditBal"
|
27389
27203
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27390
27204
|
CompanyRole.PROGRAMME_DEVELOPER
|
27391
27205
|
? "creditBal"
|
27392
|
-
: "creditCertified"
|
27206
|
+
: "creditCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27393
27207
|
? lastUpdateCreditBalance
|
27394
27208
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27395
27209
|
CompanyRole.PROGRAMME_DEVELOPER
|
27396
27210
|
? lastUpdateCreditBalance
|
27397
27211
|
: lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ? (React.createElement(Gem, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27398
|
-
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldExclamation, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
27212
|
+
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldExclamation, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27213
|
+
? "tTCreditBalanceGovernment"
|
27214
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27215
|
+
CompanyRole.PROGRAMME_DEVELOPER
|
27216
|
+
? "tTCreditBalanceProgrammeDev"
|
27217
|
+
: "tTCreditCertifiedCertifier"), t: t })))),
|
27399
27218
|
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ||
|
27400
27219
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER ||
|
27401
27220
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY) &&
|