@undp/carbon-library 1.0.265-CARBON-377.2 → 1.0.267
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
@@ -1,7 +1,8 @@
|
|
1
1
|
export declare enum EnablementTypes {
|
2
2
|
CapacityBuilding = "Capacity Building",
|
3
3
|
TechnologyTransfer = "Technology Transfer",
|
4
|
-
Financial = "Financial"
|
4
|
+
Financial = "Financial",
|
5
|
+
EnhancedTransparency = "Enhanced Transparency"
|
5
6
|
}
|
6
7
|
export declare const enablementTypesAndValues: {
|
7
8
|
type: string;
|
package/dist/esm/index.js
CHANGED
@@ -17738,6 +17738,7 @@ var EnablementTypes;
|
|
17738
17738
|
EnablementTypes["CapacityBuilding"] = "Capacity Building";
|
17739
17739
|
EnablementTypes["TechnologyTransfer"] = "Technology Transfer";
|
17740
17740
|
EnablementTypes["Financial"] = "Financial";
|
17741
|
+
EnablementTypes["EnhancedTransparency"] = "Enhanced Transparency";
|
17741
17742
|
})(EnablementTypes || (EnablementTypes = {}));
|
17742
17743
|
var enablementTypesAndValues = [
|
17743
17744
|
{ type: EnablementTypes.CapacityBuilding.valueOf(), col: 4 },
|
@@ -17746,6 +17747,7 @@ var enablementTypesAndValues = [
|
|
17746
17747
|
col: 5,
|
17747
17748
|
},
|
17748
17749
|
{ type: EnablementTypes.Financial.valueOf(), col: 4 },
|
17750
|
+
{ type: EnablementTypes.EnhancedTransparency.valueOf(), col: 5 },
|
17749
17751
|
];
|
17750
17752
|
|
17751
17753
|
var NdcActionDetails = function (props) {
|
@@ -22756,7 +22758,7 @@ var MrvDashboardComponent = function (props) {
|
|
22756
22758
|
"#ddddbb",
|
22757
22759
|
"#ff9900",
|
22758
22760
|
];
|
22759
|
-
var colorsStatus = ["#
|
22761
|
+
var colorsStatus = ["#C6A7FE", "#FF8183", "#CDCDCD", "#7FEABF", "#B7A4FE"];
|
22760
22762
|
var TTSuffix = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.PROGRAMME_DEVELOPER ? "My" : "";
|
22761
22763
|
var genPayload = function () {
|
22762
22764
|
var stats = [];
|
@@ -25677,8 +25679,8 @@ var RegistryDashboardComponent = function (props) {
|
|
25677
25679
|
var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
|
25678
25680
|
var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
|
25679
25681
|
var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
|
25680
|
-
var news = ["all", ["==", ["get", "stage"], "
|
25681
|
-
var colors = ["#6ACDFF", "#
|
25682
|
+
var news = ["all", ["==", ["get", "stage"], "New"]];
|
25683
|
+
var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
|
25682
25684
|
var donutSegment = function (start, end, r, r0, color) {
|
25683
25685
|
if (end - start === 1)
|
25684
25686
|
end -= 0.00001;
|
@@ -26148,9 +26150,9 @@ var RegistryDashboardComponent = function (props) {
|
|
26148
26150
|
React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
|
26149
26151
|
!((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER &&
|
26150
26152
|
categoryType === "mine") && (React.createElement(React.Fragment, null,
|
26151
|
-
React.createElement(LegendItem, { text: "Rejected", color: "#
|
26152
|
-
React.createElement(LegendItem, { text: "Pending", color: "#
|
26153
|
-
React.createElement(LegendItem, { text: "
|
26153
|
+
React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
|
26154
|
+
React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
|
26155
|
+
React.createElement(LegendItem, { text: "New", color: "#B7A4FE" })))),
|
26154
26156
|
React.createElement("div", { className: "updated-on margin-top-1" },
|
26155
26157
|
React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
|
26156
26158
|
lastUpdateProgrammesStatsC)))))),
|