@undp/carbon-library 1.0.292-CARBON-366.0 → 1.0.292-CARBON-369.1
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 +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/esm/index.js
CHANGED
@@ -25534,19 +25534,215 @@ 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
|
+
|
25537
25733
|
var StasticCard = function (props) {
|
25538
|
-
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading
|
25734
|
+
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading, companyRole = props.companyRole;
|
25539
25735
|
return (React.createElement("div", { className: "stastic-card-main-container" }, loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
|
25540
25736
|
React.createElement("div", { className: "title-section" },
|
25541
|
-
React.createElement("div", { className: "title" },
|
25737
|
+
React.createElement("div", { className: "title" }, title),
|
25542
25738
|
React.createElement("div", { className: "info-container" },
|
25543
|
-
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title:
|
25739
|
+
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: toolTipTextGen(companyRole, title) },
|
25544
25740
|
React.createElement(InfoCircle, { color: "#000000", size: 17 })))),
|
25545
25741
|
React.createElement("div", { className: "values-section" },
|
25546
25742
|
React.createElement("div", { className: "values-and-unit" },
|
25547
|
-
title.includes(
|
25548
|
-
React.createElement("div", { className: "value" }, title.includes(
|
25549
|
-
? value === 0 || String(value) ===
|
25743
|
+
title.includes('Credit') && React.createElement("div", { className: "unit" }, "ITMOs"),
|
25744
|
+
React.createElement("div", { className: "value" }, title.includes('Credit')
|
25745
|
+
? value === 0 || String(value) === 'NaN'
|
25550
25746
|
? 0
|
25551
25747
|
: addCommSep(value)
|
25552
25748
|
: value)),
|
@@ -27152,69 +27348,54 @@ var RegistryDashboardComponent = function (props) {
|
|
27152
27348
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27153
27349
|
CompanyRole.PROGRAMME_DEVELOPER
|
27154
27350
|
? transferRequestReceived
|
27155
|
-
: programmesUnCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27351
|
+
: programmesUnCertifed, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27156
27352
|
? "programmesPending"
|
27157
27353
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27158
27354
|
CompanyRole.PROGRAMME_DEVELOPER
|
27159
27355
|
? "trasnferReqReceived"
|
27160
|
-
: "programmesUnCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27356
|
+
: "programmesUnCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27161
27357
|
? lastUpdateProgrammesStats
|
27162
27358
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27163
27359
|
CompanyRole.PROGRAMME_DEVELOPER
|
27164
27360
|
? lastUpdatePendingTransferReceived
|
27165
27361
|
: 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) ===
|
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
|
27167
|
-
? "tTprogrammespendingGoverment"
|
27168
|
-
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27169
|
-
CompanyRole.PROGRAMME_DEVELOPER
|
27170
|
-
? "tTTransferReqRecProgrammeDev"
|
27171
|
-
: "tTProgrammesUnCertiCertifier"), t: t })),
|
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 })),
|
27172
27363
|
React.createElement(Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27173
27364
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27174
27365
|
? transferRequestSent
|
27175
27366
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27176
27367
|
CompanyRole.PROGRAMME_DEVELOPER
|
27177
27368
|
? transferRequestSent
|
27178
|
-
: programmesCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27369
|
+
: programmesCertifed, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27179
27370
|
? "trasnferReqInit"
|
27180
27371
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27181
27372
|
CompanyRole.PROGRAMME_DEVELOPER
|
27182
27373
|
? "trasnferReqInit"
|
27183
|
-
: "programmesCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27374
|
+
: "programmesCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27184
27375
|
? lastUpdatePendingTransferSent
|
27185
27376
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27186
27377
|
CompanyRole.PROGRAMME_DEVELOPER
|
27187
27378
|
? lastUpdatePendingTransferSent
|
27188
27379
|
: 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) ===
|
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
|
27190
|
-
? "tTTransferReqSentGovernment"
|
27191
|
-
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27192
|
-
CompanyRole.PROGRAMME_DEVELOPER
|
27193
|
-
? "tTTransferReqInitProgrammeDev"
|
27194
|
-
: "tTProgrammesCertiCertifier"), t: t })),
|
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 })),
|
27195
27381
|
React.createElement(Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27196
27382
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27197
27383
|
? creditBalanceWithoutTimeRange
|
27198
27384
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27199
27385
|
CompanyRole.PROGRAMME_DEVELOPER
|
27200
27386
|
? creditBalanceWithoutTimeRange
|
27201
|
-
: creditCertiedBalanceWithoutTimeRange, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27387
|
+
: creditCertiedBalanceWithoutTimeRange, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27202
27388
|
? "creditBal"
|
27203
27389
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27204
27390
|
CompanyRole.PROGRAMME_DEVELOPER
|
27205
27391
|
? "creditBal"
|
27206
|
-
: "creditCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27392
|
+
: "creditCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27207
27393
|
? lastUpdateCreditBalance
|
27208
27394
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27209
27395
|
CompanyRole.PROGRAMME_DEVELOPER
|
27210
27396
|
? lastUpdateCreditBalance
|
27211
27397
|
: 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) ===
|
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
|
27213
|
-
? "tTCreditBalanceGovernment"
|
27214
|
-
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27215
|
-
CompanyRole.PROGRAMME_DEVELOPER
|
27216
|
-
? "tTCreditBalanceProgrammeDev"
|
27217
|
-
: "tTCreditCertifiedCertifier"), t: t })))),
|
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 })))),
|
27218
27399
|
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ||
|
27219
27400
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER ||
|
27220
27401
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY) &&
|