@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/cjs/index.js
CHANGED
@@ -16039,7 +16039,7 @@ var InvestmentCreationComponent = function (props) {
|
|
16039
16039
|
.startOf("day")
|
16040
16040
|
.unix();
|
16041
16041
|
}
|
16042
|
-
payload.instrument =
|
16042
|
+
payload.instrument = [payload.instrument];
|
16043
16043
|
payload.fromCompanyIds = data.companyId.map(function (e) { return Number(e); });
|
16044
16044
|
payload.percentage = val.percentage;
|
16045
16045
|
payload.toCompanyId = Number(payload.toCompanyId);
|
@@ -25555,215 +25555,19 @@ var optionDonutPieB = {
|
|
25555
25555
|
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";
|
25556
25556
|
styleInject(css_248z$8);
|
25557
25557
|
|
25558
|
-
var toolTipTextGen = function (companyRole, cardType, mine) {
|
25559
|
-
var text = '';
|
25560
|
-
if (companyRole === exports.CompanyRole.GOVERNMENT) {
|
25561
|
-
if (cardType === exports.StatsCardsTypes.PROGRAMMES_PENDING) {
|
25562
|
-
text = 'Pending state projects awaiting authorisation';
|
25563
|
-
}
|
25564
|
-
else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25565
|
-
text =
|
25566
|
-
'Pending credit transfer requests sent to project owners initiated by your organisation';
|
25567
|
-
}
|
25568
|
-
else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
|
25569
|
-
text = 'Total credit balance owned by your organisation';
|
25570
|
-
}
|
25571
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25572
|
-
text =
|
25573
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25574
|
-
}
|
25575
|
-
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25576
|
-
text =
|
25577
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25578
|
-
}
|
25579
|
-
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25580
|
-
text =
|
25581
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25582
|
-
}
|
25583
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25584
|
-
text =
|
25585
|
-
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25586
|
-
}
|
25587
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25588
|
-
text =
|
25589
|
-
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25590
|
-
}
|
25591
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25592
|
-
text =
|
25593
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25594
|
-
}
|
25595
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25596
|
-
text =
|
25597
|
-
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25598
|
-
}
|
25599
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25600
|
-
text =
|
25601
|
-
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25602
|
-
}
|
25603
|
-
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25604
|
-
text =
|
25605
|
-
'Locations of credits of international transfer requests recognised during the specified period';
|
25606
|
-
}
|
25607
|
-
}
|
25608
|
-
else if (companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER) {
|
25609
|
-
if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_RECEIVED) {
|
25610
|
-
text = 'Pending credit transfer requests received by your organisation';
|
25611
|
-
}
|
25612
|
-
else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25613
|
-
text = 'Pending local credit transfer requests initiated by your organisation';
|
25614
|
-
}
|
25615
|
-
else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
|
25616
|
-
text = 'Total credit balance owned by your organisation';
|
25617
|
-
}
|
25618
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25619
|
-
text =
|
25620
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
|
25621
|
-
}
|
25622
|
-
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25623
|
-
text =
|
25624
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
|
25625
|
-
}
|
25626
|
-
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25627
|
-
text =
|
25628
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
|
25629
|
-
}
|
25630
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25631
|
-
text =
|
25632
|
-
'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';
|
25633
|
-
}
|
25634
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25635
|
-
text =
|
25636
|
-
'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
|
25637
|
-
}
|
25638
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25639
|
-
text =
|
25640
|
-
'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';
|
25641
|
-
}
|
25642
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25643
|
-
text =
|
25644
|
-
'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';
|
25645
|
-
}
|
25646
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25647
|
-
text =
|
25648
|
-
'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
|
25649
|
-
}
|
25650
|
-
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25651
|
-
text =
|
25652
|
-
'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
|
25653
|
-
}
|
25654
|
-
}
|
25655
|
-
else if (companyRole === exports.CompanyRole.CERTIFIER && mine === true) {
|
25656
|
-
if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25657
|
-
text =
|
25658
|
-
'Number of projects not yet certified including certificates revoked by your organisation';
|
25659
|
-
}
|
25660
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25661
|
-
text = 'Number of projects certified by your organisation';
|
25662
|
-
}
|
25663
|
-
else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
|
25664
|
-
text = 'Number of credits certified by your organisation';
|
25665
|
-
}
|
25666
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25667
|
-
text =
|
25668
|
-
'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
|
25669
|
-
}
|
25670
|
-
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25671
|
-
text =
|
25672
|
-
'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
|
25673
|
-
}
|
25674
|
-
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25675
|
-
text =
|
25676
|
-
'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
|
25677
|
-
}
|
25678
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25679
|
-
text =
|
25680
|
-
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25681
|
-
}
|
25682
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25683
|
-
text =
|
25684
|
-
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25685
|
-
}
|
25686
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25687
|
-
text =
|
25688
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25689
|
-
}
|
25690
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25691
|
-
text =
|
25692
|
-
'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';
|
25693
|
-
}
|
25694
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25695
|
-
text =
|
25696
|
-
'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
|
25697
|
-
}
|
25698
|
-
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25699
|
-
text =
|
25700
|
-
'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
|
25701
|
-
}
|
25702
|
-
}
|
25703
|
-
else if (companyRole === exports.CompanyRole.CERTIFIER && !mine) {
|
25704
|
-
if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25705
|
-
text =
|
25706
|
-
'Number of projects not yet certified including certificates revoked by your organisation';
|
25707
|
-
}
|
25708
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25709
|
-
text = 'Number of projects certified by your organisation';
|
25710
|
-
}
|
25711
|
-
else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
|
25712
|
-
text = 'Number of credits certified by your organisation';
|
25713
|
-
}
|
25714
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
|
25715
|
-
text =
|
25716
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25717
|
-
}
|
25718
|
-
else if (cardType === exports.StatsCardsTypes.CREDITS) {
|
25719
|
-
text =
|
25720
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25721
|
-
}
|
25722
|
-
else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
|
25723
|
-
text =
|
25724
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25725
|
-
}
|
25726
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25727
|
-
text =
|
25728
|
-
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25729
|
-
}
|
25730
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25731
|
-
text =
|
25732
|
-
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25733
|
-
}
|
25734
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
|
25735
|
-
text =
|
25736
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25737
|
-
}
|
25738
|
-
else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25739
|
-
text =
|
25740
|
-
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25741
|
-
}
|
25742
|
-
else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25743
|
-
text =
|
25744
|
-
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25745
|
-
}
|
25746
|
-
else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25747
|
-
text =
|
25748
|
-
'Locations of credits of international transfer requests recognised during the specified period';
|
25749
|
-
}
|
25750
|
-
}
|
25751
|
-
return text;
|
25752
|
-
};
|
25753
|
-
|
25754
25558
|
var StasticCard = function (props) {
|
25755
|
-
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading
|
25559
|
+
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;
|
25756
25560
|
return (React.createElement("div", { className: "stastic-card-main-container" }, loading ? (React.createElement(antd.Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
|
25757
25561
|
React.createElement("div", { className: "title-section" },
|
25758
|
-
React.createElement("div", { className: "title" }, title),
|
25562
|
+
React.createElement("div", { className: "title" }, t(title)),
|
25759
25563
|
React.createElement("div", { className: "info-container" },
|
25760
|
-
React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title:
|
25564
|
+
React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: tooltip },
|
25761
25565
|
React.createElement(Icon.InfoCircle, { color: "#000000", size: 17 })))),
|
25762
25566
|
React.createElement("div", { className: "values-section" },
|
25763
25567
|
React.createElement("div", { className: "values-and-unit" },
|
25764
|
-
title.includes(
|
25765
|
-
React.createElement("div", { className: "value" }, title.includes(
|
25766
|
-
? value === 0 || String(value) ===
|
25568
|
+
title.includes("credit") && React.createElement("div", { className: "unit" }, "ITMOs"),
|
25569
|
+
React.createElement("div", { className: "value" }, title.includes("credit")
|
25570
|
+
? value === 0 || String(value) === "NaN"
|
25767
25571
|
? 0
|
25768
25572
|
: addCommSep(value)
|
25769
25573
|
: value)),
|
@@ -27369,54 +27173,69 @@ var RegistryDashboardComponent = function (props) {
|
|
27369
27173
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27370
27174
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27371
27175
|
? transferRequestReceived
|
27372
|
-
: programmesUnCertifed, title:
|
27176
|
+
: programmesUnCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27373
27177
|
? "programmesPending"
|
27374
27178
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27375
27179
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27376
27180
|
? "trasnferReqReceived"
|
27377
|
-
: "programmesUnCertified"
|
27181
|
+
: "programmesUnCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27378
27182
|
? lastUpdateProgrammesStats
|
27379
27183
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27380
27184
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27381
27185
|
? lastUpdatePendingTransferReceived
|
27382
27186
|
: 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) ===
|
27383
|
-
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
|
27187
|
+
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, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27188
|
+
? "tTprogrammespendingGoverment"
|
27189
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27190
|
+
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27191
|
+
? "tTTransferReqRecProgrammeDev"
|
27192
|
+
: "tTProgrammesUnCertiCertifier"), t: t })),
|
27384
27193
|
React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27385
27194
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27386
27195
|
? transferRequestSent
|
27387
27196
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27388
27197
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27389
27198
|
? transferRequestSent
|
27390
|
-
: programmesCertifed, title:
|
27199
|
+
: programmesCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27391
27200
|
? "trasnferReqInit"
|
27392
27201
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27393
27202
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27394
27203
|
? "trasnferReqInit"
|
27395
|
-
: "programmesCertified"
|
27204
|
+
: "programmesCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27396
27205
|
? lastUpdatePendingTransferSent
|
27397
27206
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27398
27207
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27399
27208
|
? lastUpdatePendingTransferSent
|
27400
27209
|
: 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) ===
|
27401
|
-
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
|
27210
|
+
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, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27211
|
+
? "tTTransferReqSentGovernment"
|
27212
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27213
|
+
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27214
|
+
? "tTTransferReqInitProgrammeDev"
|
27215
|
+
: "tTProgrammesCertiCertifier"), t: t })),
|
27402
27216
|
React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27403
27217
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27404
27218
|
? creditBalanceWithoutTimeRange
|
27405
27219
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27406
27220
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27407
27221
|
? creditBalanceWithoutTimeRange
|
27408
|
-
: creditCertiedBalanceWithoutTimeRange, title:
|
27222
|
+
: creditCertiedBalanceWithoutTimeRange, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27409
27223
|
? "creditBal"
|
27410
27224
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27411
27225
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27412
27226
|
? "creditBal"
|
27413
|
-
: "creditCertified"
|
27227
|
+
: "creditCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27414
27228
|
? lastUpdateCreditBalance
|
27415
27229
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27416
27230
|
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27417
27231
|
? lastUpdateCreditBalance
|
27418
27232
|
: 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) ===
|
27419
|
-
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
|
27233
|
+
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, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
|
27234
|
+
? "tTCreditBalanceGovernment"
|
27235
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27236
|
+
exports.CompanyRole.PROGRAMME_DEVELOPER
|
27237
|
+
? "tTCreditBalanceProgrammeDev"
|
27238
|
+
: "tTCreditCertifiedCertifier"), t: t })))),
|
27420
27239
|
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ||
|
27421
27240
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER ||
|
27422
27241
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY) &&
|