@undp/carbon-library 1.0.285-CARBON-138.0 → 1.0.285-CARBON-367.1
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 +8 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -284,8 +284,8 @@ var getStageTagType = function (stage) {
|
|
284
284
|
return "error";
|
285
285
|
case exports.ProgrammeStageR.Authorised:
|
286
286
|
return "processing";
|
287
|
-
|
288
|
-
|
287
|
+
case exports.ProgrammeStageR.Approved:
|
288
|
+
return 'purple';
|
289
289
|
default:
|
290
290
|
return "default";
|
291
291
|
}
|
@@ -916,9 +916,9 @@ var getStatusTagType = function (status) {
|
|
916
916
|
case exports.InvestmentStatus.REJECTED:
|
917
917
|
return "error";
|
918
918
|
case exports.InvestmentStatus.PENDING:
|
919
|
-
return "processing";
|
920
|
-
case exports.InvestmentStatus.APPROVED:
|
921
919
|
return "success";
|
920
|
+
case exports.InvestmentStatus.APPROVED:
|
921
|
+
return "processing";
|
922
922
|
default:
|
923
923
|
return "default";
|
924
924
|
}
|
@@ -2061,9 +2061,9 @@ var getNdcActionStatusEnumVal$1 = function (value) {
|
|
2061
2061
|
var getNdcStatusTagType = function (status) {
|
2062
2062
|
switch (getNdcActionStatusEnumVal$1(status)) {
|
2063
2063
|
case exports.NdcActionStatus.PENDING:
|
2064
|
-
return "processing";
|
2065
|
-
case exports.NdcActionStatus.APPROVED:
|
2066
2064
|
return "success";
|
2065
|
+
case exports.NdcActionStatus.APPROVED:
|
2066
|
+
return "processing";
|
2067
2067
|
default:
|
2068
2068
|
return "default";
|
2069
2069
|
}
|
@@ -5949,7 +5949,7 @@ var AddNewCompanyComponent = function (props) {
|
|
5949
5949
|
_c.label = 1;
|
5950
5950
|
case 1:
|
5951
5951
|
_c.trys.push([1, 7, 8, 9]);
|
5952
|
-
if (requestData.phoneNo
|
5952
|
+
if (requestData.phoneNo) {
|
5953
5953
|
requestData.phoneNo = PhoneInput.formatPhoneNumberIntl(requestData.phoneNo);
|
5954
5954
|
}
|
5955
5955
|
else {
|
@@ -14359,7 +14359,7 @@ var AddNewUserComponent = function (props) {
|
|
14359
14359
|
_a.label = 1;
|
14360
14360
|
case 1:
|
14361
14361
|
_a.trys.push([1, 3, 4, 5]);
|
14362
|
-
if (values.phoneNo
|
14362
|
+
if (values.phoneNo) {
|
14363
14363
|
values.phoneNo = PhoneInput.formatPhoneNumberIntl(values.phoneNo);
|
14364
14364
|
}
|
14365
14365
|
else {
|