@undp/carbon-library 1.0.175-CARBON-347.6 → 1.0.175-CARBON-347.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -16088,7 +16088,28 @@ var InvestmentCreationComponent = function (props) {
16088
16088
  React.createElement(Select, { size: "large" }, Object.values(ESGType).map(function (esg) { return (React.createElement(Select.Option, { value: esg }, esg)); }))))),
16089
16089
  React.createElement(Form.Item, null,
16090
16090
  React.createElement("div", { className: "steps-actions" },
16091
- React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading, onSubmit: nextOne }, t("programme:next")))))))))),
16091
+ React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading, onSubmit: nextOne }, t("programme:next")))))),
16092
+ typeCreation == InvestmentCreationType.EXISTING && (React.createElement("div", null,
16093
+ React.createElement(Row, { className: "row", gutter: [16, 16] },
16094
+ React.createElement(Col, { xl: 12, md: 24 },
16095
+ React.createElement("div", { className: "details-part-one" },
16096
+ React.createElement(Form.Item, { label: t("programme:investorName"), name: "toCompanyId", wrapperCol: { span: 24 }, className: "organisation", rules: [
16097
+ {
16098
+ required: true,
16099
+ message: "".concat(t("programme:investorName"), " ").concat(t("isRequired")),
16100
+ },
16101
+ ] },
16102
+ React.createElement(Select, { size: "large", loading: loadingList }, organisationsList.map(function (organisation) { return (React.createElement(Select.Option, { key: organisation.companyId, value: organisation.companyId }, organisation.name)); })))))),
16103
+ React.createElement(Row, { className: "row", gutter: [16, 16] },
16104
+ React.createElement(Col, { xl: 12, md: 24 },
16105
+ React.createElement("div", { className: "details-part-one" },
16106
+ React.createElement(Form.Item, { label: t("programme:investorName"), name: "toCompanyId", wrapperCol: { span: 24 }, className: "organisation", rules: [
16107
+ {
16108
+ required: true,
16109
+ message: "".concat(t("programme:investorName"), " ").concat(t("isRequired")),
16110
+ },
16111
+ ] },
16112
+ React.createElement(Select, { size: "large", loading: loadingList }, organisationsList.map(function (organisation) { return (React.createElement(Select.Option, { key: organisation.companyId, value: organisation.companyId }, organisation.name)); })))))))))))),
16092
16113
  },
16093
16114
  {
16094
16115
  title: (React.createElement("div", { className: "step-title-container" },