@undp/carbon-library 1.0.273-CARBON-377.0 → 1.0.273-CARBON-387.4
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
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare enum StatsCardsTypes {
|
2
|
-
PROGRAMMES_PENDING = "
|
2
|
+
PROGRAMMES_PENDING = "Projects Pending",
|
3
3
|
TRANSFER_REQUEST_RECEIVED = "Pending Transfers Received",
|
4
|
-
PROGRAMMES_UNCERTIFIED = "
|
4
|
+
PROGRAMMES_UNCERTIFIED = "Projects Certifiable",
|
5
5
|
TRANSFER_REQUEST_SENT = "Pending Transfers Sent",
|
6
|
-
PROGRAMMES_CERTIFIED = "
|
6
|
+
PROGRAMMES_CERTIFIED = "Projects Certified",
|
7
7
|
CREDIT_BALANCE = "Credit Balance",
|
8
8
|
CREDIT_CERTIFIED = "Credits Certified",
|
9
9
|
PROGRAMMES = "Programmes",
|
package/dist/esm/index.js
CHANGED
@@ -5647,11 +5647,11 @@ var WidgetType;
|
|
5647
5647
|
|
5648
5648
|
var StatsCardsTypes;
|
5649
5649
|
(function (StatsCardsTypes) {
|
5650
|
-
StatsCardsTypes["PROGRAMMES_PENDING"] = "
|
5650
|
+
StatsCardsTypes["PROGRAMMES_PENDING"] = "Projects Pending";
|
5651
5651
|
StatsCardsTypes["TRANSFER_REQUEST_RECEIVED"] = "Pending Transfers Received";
|
5652
|
-
StatsCardsTypes["PROGRAMMES_UNCERTIFIED"] = "
|
5652
|
+
StatsCardsTypes["PROGRAMMES_UNCERTIFIED"] = "Projects Certifiable";
|
5653
5653
|
StatsCardsTypes["TRANSFER_REQUEST_SENT"] = "Pending Transfers Sent";
|
5654
|
-
StatsCardsTypes["PROGRAMMES_CERTIFIED"] = "
|
5654
|
+
StatsCardsTypes["PROGRAMMES_CERTIFIED"] = "Projects Certified";
|
5655
5655
|
StatsCardsTypes["CREDIT_BALANCE"] = "Credit Balance";
|
5656
5656
|
StatsCardsTypes["CREDIT_CERTIFIED"] = "Credits Certified";
|
5657
5657
|
StatsCardsTypes["PROGRAMMES"] = "Programmes";
|
@@ -23244,7 +23244,7 @@ var MrvDashboardComponent = function (props) {
|
|
23244
23244
|
"#ddddbb",
|
23245
23245
|
"#ff9900",
|
23246
23246
|
];
|
23247
|
-
var colorsStatus = ["#
|
23247
|
+
var colorsStatus = ["#C6A7FE", "#FF8183", "#CDCDCD", "#7FEABF", "#B7A4FE"];
|
23248
23248
|
var TTSuffix = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.PROGRAMME_DEVELOPER ? "My" : "";
|
23249
23249
|
var genPayload = function () {
|
23250
23250
|
var stats = [];
|
@@ -26154,8 +26154,8 @@ var RegistryDashboardComponent = function (props) {
|
|
26154
26154
|
var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
|
26155
26155
|
var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
|
26156
26156
|
var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
|
26157
|
-
var news = ["all", ["==", ["get", "stage"], "
|
26158
|
-
var colors = ["#6ACDFF", "#
|
26157
|
+
var news = ["all", ["==", ["get", "stage"], "New"]];
|
26158
|
+
var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
|
26159
26159
|
var donutSegment = function (start, end, r, r0, color) {
|
26160
26160
|
if (end - start === 1)
|
26161
26161
|
end -= 0.00001;
|
@@ -26625,9 +26625,9 @@ var RegistryDashboardComponent = function (props) {
|
|
26625
26625
|
React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
|
26626
26626
|
!((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER &&
|
26627
26627
|
categoryType === "mine") && (React.createElement(React.Fragment, null,
|
26628
|
-
React.createElement(LegendItem, { text: "Rejected", color: "#
|
26629
|
-
React.createElement(LegendItem, { text: "Pending", color: "#
|
26630
|
-
React.createElement(LegendItem, { text: "
|
26628
|
+
React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
|
26629
|
+
React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
|
26630
|
+
React.createElement(LegendItem, { text: "New", color: "#B7A4FE" })))),
|
26631
26631
|
React.createElement("div", { className: "updated-on margin-top-1" },
|
26632
26632
|
React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
|
26633
26633
|
lastUpdateProgrammesStatsC)))))),
|