@undp/carbon-library 1.0.262-CARBON-350.5 → 1.0.262-CARBON-350.6
Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js
CHANGED
@@ -19679,9 +19679,10 @@ var Safeguards = function (props) {
|
|
19679
19679
|
viewOnly && !safeGuardViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
|
19680
19680
|
((viewOnly && safeGuardViewData) || !viewOnly) && (React.createElement("div", { className: "safeguard-tab-item" },
|
19681
19681
|
React.createElement("div", { className: "undpSesp-section-wrapper" },
|
19682
|
-
React.createElement(Row, { justify: "center", align: "middle", style: { width:
|
19682
|
+
React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
19683
19683
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
19684
|
-
React.createElement("span", null,
|
19684
|
+
React.createElement("span", null,
|
19685
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("undpSespTitle")))),
|
19685
19686
|
React.createElement(Col, { span: 24 },
|
19686
19687
|
React.createElement("div", { className: "undpSesp-section-divider" })))),
|
19687
19688
|
React.createElement(Form, { onValuesChange: onSafeguardValuesChanged, name: "safeguardDetails", labelWrap: true, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", form: form }, updatedFormElementList.map(function (sectionItem) {
|
@@ -19750,7 +19751,7 @@ var Safeguards = function (props) {
|
|
19750
19751
|
|
19751
19752
|
var Environmental = function (props) {
|
19752
19753
|
var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
|
19753
|
-
translator.setDefaultNamespace(
|
19754
|
+
translator.setDefaultNamespace("unfcccSdTool");
|
19754
19755
|
var t = translator.t;
|
19755
19756
|
var environmentalDetailsInitial = [
|
19756
19757
|
{
|
@@ -20037,15 +20038,16 @@ var Environmental = function (props) {
|
|
20037
20038
|
React.createElement(Form, { name: "environmental-details", className: "benifits-details-environmental", labelCol: { md: 16, lg: 19, xl: 17 }, wrapperCol: { md: 8, lg: 5, xl: 7 }, layout: "horizontal", requiredMark: true, form: formOne, onFieldsChange: onFieldsChange, onValuesChange: onEnvironmentalValuesChanged },
|
20038
20039
|
React.createElement("div", { className: environmentalViewData ? "section view-section" : "section" },
|
20039
20040
|
React.createElement("div", { className: "unfccSdTool-section-wrapper" },
|
20040
|
-
React.createElement(Row, { justify: "center", align: "middle", style: { width:
|
20041
|
+
React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
20041
20042
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
20042
|
-
React.createElement("span", null,
|
20043
|
+
React.createElement("span", null,
|
20044
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
|
20043
20045
|
React.createElement(Col, { span: 24 },
|
20044
20046
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
20045
20047
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
20046
20048
|
React.createElement("span", null, t("environmental"))),
|
20047
20049
|
React.createElement(Col, { span: 24 },
|
20048
|
-
React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom:
|
20050
|
+
React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
|
20049
20051
|
(environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), environmentalDetails === null || environmentalDetails === void 0 ? void 0 :
|
20050
20052
|
environmentalDetails.map(function (environmentalDetail) {
|
20051
20053
|
var _a;
|