@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/cjs/index.js CHANGED
@@ -16108,7 +16108,28 @@ var InvestmentCreationComponent = function (props) {
16108
16108
  React.createElement(antd.Select, { size: "large" }, Object.values(exports.ESGType).map(function (esg) { return (React.createElement(antd.Select.Option, { value: esg }, esg)); }))))),
16109
16109
  React.createElement(antd.Form.Item, null,
16110
16110
  React.createElement("div", { className: "steps-actions" },
16111
- React.createElement(antd.Button, { type: "primary", htmlType: "submit", loading: loading, onSubmit: nextOne }, t("programme:next")))))))))),
16111
+ React.createElement(antd.Button, { type: "primary", htmlType: "submit", loading: loading, onSubmit: nextOne }, t("programme:next")))))),
16112
+ typeCreation == exports.InvestmentCreationType.EXISTING && (React.createElement("div", null,
16113
+ React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
16114
+ React.createElement(antd.Col, { xl: 12, md: 24 },
16115
+ React.createElement("div", { className: "details-part-one" },
16116
+ React.createElement(antd.Form.Item, { label: t("programme:investorName"), name: "toCompanyId", wrapperCol: { span: 24 }, className: "organisation", rules: [
16117
+ {
16118
+ required: true,
16119
+ message: "".concat(t("programme:investorName"), " ").concat(t("isRequired")),
16120
+ },
16121
+ ] },
16122
+ React.createElement(antd.Select, { size: "large", loading: loadingList }, organisationsList.map(function (organisation) { return (React.createElement(antd.Select.Option, { key: organisation.companyId, value: organisation.companyId }, organisation.name)); })))))),
16123
+ React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
16124
+ React.createElement(antd.Col, { xl: 12, md: 24 },
16125
+ React.createElement("div", { className: "details-part-one" },
16126
+ React.createElement(antd.Form.Item, { label: t("programme:investorName"), name: "toCompanyId", wrapperCol: { span: 24 }, className: "organisation", rules: [
16127
+ {
16128
+ required: true,
16129
+ message: "".concat(t("programme:investorName"), " ").concat(t("isRequired")),
16130
+ },
16131
+ ] },
16132
+ React.createElement(antd.Select, { size: "large", loading: loadingList }, organisationsList.map(function (organisation) { return (React.createElement(antd.Select.Option, { key: organisation.companyId, value: organisation.companyId }, organisation.name)); })))))))))))),
16112
16133
  },
16113
16134
  {
16114
16135
  title: (React.createElement("div", { className: "step-title-container" },