@undp/carbon-library 1.0.265-CARBON-377.2 → 1.0.268-CARBON-380.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +8 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Enums/enablementTypes.enum.d.ts +2 -1
- package/dist/esm/index.js +8 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Enums/enablementTypes.enum.d.ts +2 -1
- package/dist/locales/i18n/company/en.json +1 -1
- package/dist/locales/i18n/creditTransfer/en.json +2 -2
- package/dist/locales/i18n/ndcAction/en.json +1 -1
- package/dist/locales/i18n/programme/en.json +2 -2
- package/dist/locales/i18n/view/en.json +2 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -17758,6 +17758,7 @@ var EnablementTypes;
|
|
17758
17758
|
EnablementTypes["CapacityBuilding"] = "Capacity Building";
|
17759
17759
|
EnablementTypes["TechnologyTransfer"] = "Technology Transfer";
|
17760
17760
|
EnablementTypes["Financial"] = "Financial";
|
17761
|
+
EnablementTypes["EnhancedTransparency"] = "Enhanced Transparency";
|
17761
17762
|
})(EnablementTypes || (EnablementTypes = {}));
|
17762
17763
|
var enablementTypesAndValues = [
|
17763
17764
|
{ type: EnablementTypes.CapacityBuilding.valueOf(), col: 4 },
|
@@ -17766,6 +17767,7 @@ var enablementTypesAndValues = [
|
|
17766
17767
|
col: 5,
|
17767
17768
|
},
|
17768
17769
|
{ type: EnablementTypes.Financial.valueOf(), col: 4 },
|
17770
|
+
{ type: EnablementTypes.EnhancedTransparency.valueOf(), col: 5 },
|
17769
17771
|
];
|
17770
17772
|
|
17771
17773
|
var NdcActionDetails = function (props) {
|
@@ -22776,7 +22778,7 @@ var MrvDashboardComponent = function (props) {
|
|
22776
22778
|
"#ddddbb",
|
22777
22779
|
"#ff9900",
|
22778
22780
|
];
|
22779
|
-
var colorsStatus = ["#
|
22781
|
+
var colorsStatus = ["#C6A7FE", "#FF8183", "#CDCDCD", "#7FEABF", "#B7A4FE"];
|
22780
22782
|
var TTSuffix = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.PROGRAMME_DEVELOPER ? "My" : "";
|
22781
22783
|
var genPayload = function () {
|
22782
22784
|
var stats = [];
|
@@ -25697,8 +25699,8 @@ var RegistryDashboardComponent = function (props) {
|
|
25697
25699
|
var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
|
25698
25700
|
var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
|
25699
25701
|
var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
|
25700
|
-
var news = ["all", ["==", ["get", "stage"], "
|
25701
|
-
var colors = ["#6ACDFF", "#
|
25702
|
+
var news = ["all", ["==", ["get", "stage"], "New"]];
|
25703
|
+
var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
|
25702
25704
|
var donutSegment = function (start, end, r, r0, color) {
|
25703
25705
|
if (end - start === 1)
|
25704
25706
|
end -= 0.00001;
|
@@ -26168,9 +26170,9 @@ var RegistryDashboardComponent = function (props) {
|
|
26168
26170
|
React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
|
26169
26171
|
!((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER &&
|
26170
26172
|
categoryType === "mine") && (React.createElement(React.Fragment, null,
|
26171
|
-
React.createElement(LegendItem, { text: "Rejected", color: "#
|
26172
|
-
React.createElement(LegendItem, { text: "Pending", color: "#
|
26173
|
-
React.createElement(LegendItem, { text: "
|
26173
|
+
React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
|
26174
|
+
React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
|
26175
|
+
React.createElement(LegendItem, { text: "New", color: "#B7A4FE" })))),
|
26174
26176
|
React.createElement("div", { className: "updated-on margin-top-1" },
|
26175
26177
|
React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
|
26176
26178
|
lastUpdateProgrammesStatsC)))))),
|