@undp/carbon-library 1.0.280-CARBON-412.40 → 1.0.280-CARBON-412.42

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.
@@ -1,8 +1,8 @@
1
1
  export declare enum GuaranteePayback {
2
2
  UPFORNT = "Upfront",
3
- ANNUAL = "Anual"
3
+ ANNUAL = "Annual"
4
4
  }
5
5
  export declare enum InsurancePayback {
6
- LUMPSUM = "LumpSum",
6
+ LUMPSUM = "Lump Sum",
7
7
  ANNUAL = "Annual"
8
8
  }
package/dist/esm/index.js CHANGED
@@ -15337,11 +15337,11 @@ var Loading = function () {
15337
15337
  var GuaranteePayback;
15338
15338
  (function (GuaranteePayback) {
15339
15339
  GuaranteePayback["UPFORNT"] = "Upfront";
15340
- GuaranteePayback["ANNUAL"] = "Anual";
15340
+ GuaranteePayback["ANNUAL"] = "Annual";
15341
15341
  })(GuaranteePayback || (GuaranteePayback = {}));
15342
15342
  var InsurancePayback;
15343
15343
  (function (InsurancePayback) {
15344
- InsurancePayback["LUMPSUM"] = "LumpSum";
15344
+ InsurancePayback["LUMPSUM"] = "Lump Sum";
15345
15345
  InsurancePayback["ANNUAL"] = "Annual";
15346
15346
  })(InsurancePayback || (InsurancePayback = {}));
15347
15347
 
@@ -15833,7 +15833,7 @@ var InvestmentCreationComponent = function (props) {
15833
15833
  ] },
15834
15834
  React.createElement(RangePicker$2, { showTime: true, allowClear: true, format: "DD:MM:YYYY", size: "large" }))),
15835
15835
  React.createElement(Col, { xl: 8, md: 12 },
15836
- React.createElement(Form.Item, { label: t("programme:guaranteePayback"), wrapperCol: { span: 13 }, className: "role-group", name: "guaranteePayback", rules: [
15836
+ React.createElement(Form.Item, { label: t("programme:payback"), wrapperCol: { span: 13 }, className: "role-group", name: "guaranteePayback", rules: [
15837
15837
  {
15838
15838
  required: true,
15839
15839
  message: "",
@@ -15846,7 +15846,7 @@ var InvestmentCreationComponent = function (props) {
15846
15846
  undefined ||
15847
15847
  value === null ||
15848
15848
  value === undefined) {
15849
- throw new Error("".concat(t("programme:guaranteePayback"), " ").concat(t("isRequired")));
15849
+ throw new Error("".concat(t("programme:payback"), " ").concat(t("isRequired")));
15850
15850
  }
15851
15851
  return [2 /*return*/];
15852
15852
  });
@@ -15923,7 +15923,7 @@ var InvestmentCreationComponent = function (props) {
15923
15923
  instrument.indexOf(Instrument.INSURANCE) >= 0 && (React.createElement(Row, { className: "row", gutter: [16, 16] },
15924
15924
  React.createElement(Col, { xl: 8, md: 12 },
15925
15925
  React.createElement("div", { className: "details-part-two" },
15926
- React.createElement(Form.Item, { label: t("programme:insurancePayback"), wrapperCol: { span: 13 }, className: "role-group", name: "insurancePayback", rules: [
15926
+ React.createElement(Form.Item, { label: t("programme:payback"), wrapperCol: { span: 13 }, className: "role-group", name: "insurancePayback", rules: [
15927
15927
  {
15928
15928
  required: true,
15929
15929
  message: "",
@@ -15936,7 +15936,7 @@ var InvestmentCreationComponent = function (props) {
15936
15936
  undefined ||
15937
15937
  value === null ||
15938
15938
  value === undefined) {
15939
- throw new Error("".concat(t("programme:insurancePayback"), " ").concat(t("isRequired")));
15939
+ throw new Error("".concat(t("programme:payback"), " ").concat(t("isRequired")));
15940
15940
  }
15941
15941
  return [2 /*return*/];
15942
15942
  });