@undp/carbon-library 1.0.274 → 1.0.276-CARBON-387.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Enums/statsCards.type.enum.d.ts +3 -3
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Enums/statsCards.type.enum.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -5667,11 +5667,11 @@ exports.WidgetType = void 0;
|
|
5667
5667
|
|
5668
5668
|
exports.StatsCardsTypes = void 0;
|
5669
5669
|
(function (StatsCardsTypes) {
|
5670
|
-
StatsCardsTypes["PROGRAMMES_PENDING"] = "
|
5670
|
+
StatsCardsTypes["PROGRAMMES_PENDING"] = "Projects Pending";
|
5671
5671
|
StatsCardsTypes["TRANSFER_REQUEST_RECEIVED"] = "Pending Transfers Received";
|
5672
|
-
StatsCardsTypes["PROGRAMMES_UNCERTIFIED"] = "
|
5672
|
+
StatsCardsTypes["PROGRAMMES_UNCERTIFIED"] = "Projects Certifiable";
|
5673
5673
|
StatsCardsTypes["TRANSFER_REQUEST_SENT"] = "Pending Transfers Sent";
|
5674
|
-
StatsCardsTypes["PROGRAMMES_CERTIFIED"] = "
|
5674
|
+
StatsCardsTypes["PROGRAMMES_CERTIFIED"] = "Projects Certified";
|
5675
5675
|
StatsCardsTypes["CREDIT_BALANCE"] = "Credit Balance";
|
5676
5676
|
StatsCardsTypes["CREDIT_CERTIFIED"] = "Credits Certified";
|
5677
5677
|
StatsCardsTypes["PROGRAMMES"] = "Programmes";
|
@@ -23264,7 +23264,7 @@ var MrvDashboardComponent = function (props) {
|
|
23264
23264
|
"#ddddbb",
|
23265
23265
|
"#ff9900",
|
23266
23266
|
];
|
23267
|
-
var colorsStatus = ["#
|
23267
|
+
var colorsStatus = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE", "#B7A4FE"];
|
23268
23268
|
var TTSuffix = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.PROGRAMME_DEVELOPER ? "My" : "";
|
23269
23269
|
var genPayload = function () {
|
23270
23270
|
var stats = [];
|
@@ -26174,8 +26174,8 @@ var RegistryDashboardComponent = function (props) {
|
|
26174
26174
|
var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
|
26175
26175
|
var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
|
26176
26176
|
var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
|
26177
|
-
var news = ["all", ["==", ["get", "stage"], "
|
26178
|
-
var colors = ["#6ACDFF", "#
|
26177
|
+
var news = ["all", ["==", ["get", "stage"], "Approved"]];
|
26178
|
+
var colors = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE"];
|
26179
26179
|
var donutSegment = function (start, end, r, r0, color) {
|
26180
26180
|
if (end - start === 1)
|
26181
26181
|
end -= 0.00001;
|
@@ -26645,9 +26645,9 @@ var RegistryDashboardComponent = function (props) {
|
|
26645
26645
|
React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
|
26646
26646
|
!((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER &&
|
26647
26647
|
categoryType === "mine") && (React.createElement(React.Fragment, null,
|
26648
|
-
React.createElement(LegendItem, { text: "Rejected", color: "#
|
26649
|
-
React.createElement(LegendItem, { text: "Pending", color: "#
|
26650
|
-
React.createElement(LegendItem, { text: "
|
26648
|
+
React.createElement(LegendItem, { text: "Rejected", color: "#CDCDCD" }),
|
26649
|
+
React.createElement(LegendItem, { text: "Pending", color: "#FF8183" }),
|
26650
|
+
React.createElement(LegendItem, { text: "Approved", color: "#B7A4FE" })))),
|
26651
26651
|
React.createElement("div", { className: "updated-on margin-top-1" },
|
26652
26652
|
React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
|
26653
26653
|
lastUpdateProgrammesStatsC)))))),
|