@undp/carbon-library 1.0.297 → 1.0.298-CARBON-444.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -19837,60 +19837,59 @@ var GenderParity = function (props) {
19837
19837
  var onFormSubmit = props.onFormSubmit, genderParityViewData = props.genderParityViewData, viewOnly = props.viewOnly, translator = props.translator;
19838
19838
  var formOne = Form.useForm()[0];
19839
19839
  var formTwo = Form.useForm()[0];
19840
- translator.setDefaultNamespace("genderParity");
19841
19840
  var t = translator.t;
19842
19841
  var _a = useState(), genderParityDetails = _a[0], setGenderParityDetails = _a[1];
19843
19842
  var genderParityDetailsOne = [
19844
19843
  {
19845
- label: t("benifit1"),
19844
+ label: t("genderParity:benifit1"),
19846
19845
  name: "descriminationAgainstGirls",
19847
19846
  value: true,
19848
19847
  },
19849
19848
  {
19850
- label: t("benifit2"),
19849
+ label: t("genderParity:benifit2"),
19851
19850
  name: "violationAgainstGirls",
19852
19851
  value: true,
19853
19852
  },
19854
19853
  {
19855
- label: t("benifit3"),
19854
+ label: t("genderParity:benifit3"),
19856
19855
  name: "harmfulPracticesAgainstGirls",
19857
19856
  value: true,
19858
19857
  },
19859
19858
  {
19860
- label: t("benifit4"),
19859
+ label: t("genderParity:benifit4"),
19861
19860
  name: "equealRightsToGirls",
19862
19861
  value: true,
19863
19862
  },
19864
19863
  {
19865
- label: t("benifit5"),
19864
+ label: t("genderParity:benifit5"),
19866
19865
  name: "equealRightsToHealthToGirls",
19867
19866
  value: true,
19868
19867
  },
19869
19868
  ];
19870
19869
  var genderParityDetailsTwo = [
19871
19870
  {
19872
- label: t("benifit6"),
19871
+ label: t("genderParity:benifit6"),
19873
19872
  name: "numberOfWomenEmpoyed",
19874
19873
  col: { md: 18, lg: 10 },
19875
19874
  labelCol: 24,
19876
19875
  wrapperCol: 18,
19877
19876
  },
19878
19877
  {
19879
- label: t("benifit7"),
19878
+ label: t("genderParity:benifit7"),
19880
19879
  name: "numberOfWomenTrained",
19881
19880
  col: { md: 18, lg: 10 },
19882
19881
  labelCol: 24,
19883
19882
  wrapperCol: 18,
19884
19883
  },
19885
19884
  {
19886
- label: t("benifit8"),
19885
+ label: t("genderParity:benifit8"),
19887
19886
  name: "numberOfWomenSelectedForDecisionMaking",
19888
19887
  col: { md: 18, lg: 16 },
19889
19888
  labelCol: 24,
19890
19889
  wrapperCol: 11,
19891
19890
  },
19892
19891
  {
19893
- label: t("benifit9"),
19892
+ label: t("genderParity:benifit9"),
19894
19893
  name: "numberOfWomenProvidedAccessForTech",
19895
19894
  col: { md: 18, lg: 16 },
19896
19895
  labelCol: 24,
@@ -19942,12 +19941,12 @@ var GenderParity = function (props) {
19942
19941
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: true },
19943
19942
  React.createElement("div", { className: "yes-no-radio-container" },
19944
19943
  React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, (genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) === true
19945
- ? t("yes")
19946
- : t("no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
19944
+ ? t("genderParity:yes")
19945
+ : t("genderParity:no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
19947
19946
  React.createElement("div", { className: "yes-no-radio-container" },
19948
- React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("yes"))),
19947
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("genderParity:yes"))),
19949
19948
  React.createElement("div", { className: "yes-no-radio-container" },
19950
- React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("no")))))));
19949
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("genderParity:no")))))));
19951
19950
  })),
19952
19951
  React.createElement("div", { className: "part-two" },
19953
19952
  React.createElement(Form, { name: "additional-details", layout: "vertical", form: formTwo, onValuesChange: onGenderParityValuesChangedSub },
@@ -19965,7 +19964,6 @@ var GenderParity = function (props) {
19965
19964
 
19966
19965
  var Assessment = function (props) {
19967
19966
  var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
19968
- translator.setDefaultNamespace("coBenifits");
19969
19967
  var t = translator.t;
19970
19968
  var form1 = Form.useForm()[0];
19971
19969
  var form2 = Form.useForm()[0];
@@ -20123,105 +20121,105 @@ var Assessment = function (props) {
20123
20121
  React.createElement(Row, null,
20124
20122
  React.createElement(Form, { name: "from1", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form1, onValuesChange: function () { return validateForms(); } },
20125
20123
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20126
- React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified", {
20124
+ React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified", {
20127
20125
  ns: "coBenifits",
20128
20126
  }), className: "form-item", name: "IsThirdPartyVerified" },
20129
20127
  React.createElement(Radio.Group, { size: "middle", onChange: onIsThirdPartyVerifiedChanged },
20130
20128
  React.createElement("div", { className: "radio-container" },
20131
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20129
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20132
20130
  React.createElement("div", { className: "radio-container" },
20133
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20131
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20134
20132
  React.createElement("div", { className: "radio-container" },
20135
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20136
- isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20133
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20134
+ isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20137
20135
  {
20138
20136
  required: true,
20139
20137
  message: "",
20140
20138
  },
20141
20139
  ] },
20142
20140
  React.createElement(Input, { style: { width: 303 } }))),
20143
- React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20141
+ React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20144
20142
  React.createElement(Radio.Group, { size: "middle", onChange: onIsWillingToVerifiedChanged },
20145
20143
  React.createElement("div", { className: "radio-container" },
20146
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20144
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20147
20145
  React.createElement("div", { className: "radio-container" },
20148
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20146
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20149
20147
  React.createElement("div", { className: "radio-container" },
20150
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20151
- isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20148
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20149
+ isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20152
20150
  React.createElement(Input, { style: { width: 303 } }))))),
20153
20151
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20154
- assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20152
+ assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20155
20153
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20156
20154
  React.createElement("div", { className: "radio-container" },
20157
20155
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsThirdPartyVerified))))),
20158
20156
  assessmentViewData.IsThirdPartyVerified ===
20159
- RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName" },
20157
+ RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName" },
20160
20158
  React.createElement(Input, { disabled: true, style: { width: 303 }, defaultValue: assessmentViewData.verifyingOrgName
20161
20159
  ? assessmentViewData.verifyingOrgName
20162
20160
  : "-" }))),
20163
- assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20161
+ assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20164
20162
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20165
20163
  React.createElement("div", { className: "radio-container" },
20166
20164
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsWillingToVerified))))),
20167
20165
  assessmentViewData.IsWillingToVerified ===
20168
- RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20166
+ RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20169
20167
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.verifyingDetails
20170
20168
  ? assessmentViewData.verifyingDetails
20171
20169
  : "-", style: { width: 303 } }))))))),
20172
20170
  React.createElement(Row, null,
20173
20171
  React.createElement(Form, { name: "form2", labelCol: { span: 14 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 8 }, layout: "vertical", requiredMark: true, form: form2, className: "view-section" },
20174
20172
  React.createElement(Row, { className: "mg-bottom-1" },
20175
- React.createElement("label", { className: "co-sub-title-text" }, t("contactInformation"))),
20173
+ React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:contactInformation"))),
20176
20174
  React.createElement(Row, { justify: "start", gutter: 16 },
20177
20175
  React.createElement(Col, { flex: "139px" },
20178
20176
  React.createElement(React.Fragment, null,
20179
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
20177
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20180
20178
  React.createElement(Select, { size: "large", style: {
20181
20179
  width: "139px",
20182
20180
  borderRadius: "4px",
20183
20181
  }, options: titleList }))),
20184
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
20182
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20185
20183
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.title
20186
20184
  ? assessmentViewData.title
20187
20185
  : "-", style: { width: 303 } }))))),
20188
20186
  React.createElement(Col, { flex: "303px" },
20189
20187
  React.createElement(React.Fragment, null,
20190
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20188
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20191
20189
  React.createElement(Input, { style: { width: 303 } }))),
20192
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20190
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20193
20191
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.firstName
20194
20192
  ? assessmentViewData.firstName
20195
20193
  : "-", style: { width: 303 } }))))),
20196
20194
  React.createElement(Col, { flex: "303px" },
20197
20195
  React.createElement(React.Fragment, null,
20198
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20196
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20199
20197
  React.createElement(Input, { style: { width: 303 } }))),
20200
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20198
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20201
20199
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.lastName
20202
20200
  ? assessmentViewData.lastName
20203
20201
  : "-", style: { width: 303 } })))))),
20204
20202
  React.createElement(Row, { justify: "start", gutter: 16 },
20205
20203
  React.createElement(Col, { flex: "462px" },
20206
20204
  React.createElement(React.Fragment, null,
20207
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20205
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20208
20206
  React.createElement(Input, { style: { width: 462 } }))),
20209
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20207
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20210
20208
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.organisation
20211
20209
  ? assessmentViewData.organisation
20212
20210
  : "-", style: { width: 462 } }))))),
20213
20211
  React.createElement(Col, { flex: "303px" },
20214
20212
  React.createElement(React.Fragment, null,
20215
- React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20213
+ React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20216
20214
  React.createElement(PhoneInput, { style: { width: 303 }, international: true, defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })))),
20217
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20215
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20218
20216
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.telephone
20219
20217
  ? assessmentViewData.telephone
20220
20218
  : "-", style: { width: 303 } })))))),
20221
20219
  React.createElement(Row, { justify: "start", gutter: 16 },
20222
20220
  React.createElement(Col, { flex: "303px" },
20223
20221
  React.createElement(React.Fragment, null,
20224
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email", rules: [
20222
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email", rules: [
20225
20223
  {
20226
20224
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
20227
20225
  var val, reg, matches;
@@ -20242,15 +20240,15 @@ var Assessment = function (props) {
20242
20240
  },
20243
20241
  ] },
20244
20242
  React.createElement(Input, { style: { width: 303 } }))),
20245
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email" },
20243
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email" },
20246
20244
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.email
20247
20245
  ? assessmentViewData.email
20248
20246
  : "-", style: { width: 303 } }))))),
20249
20247
  React.createElement(Col, { flex: "462px" },
20250
20248
  React.createElement(React.Fragment, null,
20251
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20249
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20252
20250
  React.createElement(Input, { style: { width: 462 } }))),
20253
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20251
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20254
20252
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.affiliationCDM
20255
20253
  ? assessmentViewData.affiliationCDM
20256
20254
  : "-", style: { width: 462 } })))))))),
@@ -20258,15 +20256,15 @@ var Assessment = function (props) {
20258
20256
  React.createElement(Col, { span: 24 },
20259
20257
  React.createElement(Form, { name: "form3", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form3, onValuesChange: function () { return validateForms(); } },
20260
20258
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20261
- React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20259
+ React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20262
20260
  React.createElement(Radio.Group, { size: "middle", onChange: onIsThePersonListedChanged },
20263
20261
  React.createElement("div", { className: "radio-container" },
20264
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20262
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20265
20263
  React.createElement("div", { className: "radio-container" },
20266
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20264
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20267
20265
  React.createElement("div", { className: "radio-container" },
20268
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20269
- isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails", rules: [
20266
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20267
+ isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails", rules: [
20270
20268
  {
20271
20269
  required: true,
20272
20270
  message: "",
@@ -20274,45 +20272,45 @@ var Assessment = function (props) {
20274
20272
  ] },
20275
20273
  React.createElement(Input, { style: { width: 303 } }))))),
20276
20274
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20277
- assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20275
+ assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20278
20276
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20279
20277
  React.createElement("div", { className: "radio-container" },
20280
20278
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.isThePersonListed))))),
20281
20279
  assessmentViewData.isThePersonListed ===
20282
- RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails" },
20280
+ RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails" },
20283
20281
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.personListedDetails
20284
20282
  ? assessmentViewData.personListedDetails
20285
20283
  : "-", style: { width: 303 } })))))))),
20286
20284
  React.createElement(Row, null,
20287
20285
  React.createElement(Form, { layout: "vertical", name: "form4", form: form4, className: "view-section" },
20288
20286
  React.createElement(Row, { className: "mg-bottom-1" },
20289
- React.createElement("label", { className: "co-sub-title-text" }, t("feasibilityReport"))),
20287
+ React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:feasibilityReport"))),
20290
20288
  React.createElement(Row, { justify: "start", gutter: 16 },
20291
20289
  React.createElement(Col, { flex: "303px" },
20292
20290
  React.createElement(React.Fragment, null,
20293
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20291
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20294
20292
  React.createElement(Input, { style: { width: 303 } }))),
20295
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20293
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20296
20294
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.studyName
20297
20295
  ? assessmentViewData.studyName
20298
20296
  : "-", style: { width: 303 } }))))),
20299
20297
  React.createElement(Col, { flex: "303px" },
20300
20298
  React.createElement(React.Fragment, null,
20301
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
20299
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20302
20300
  React.createElement(Input, { style: { width: 303 } }))),
20303
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
20301
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20304
20302
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.funder
20305
20303
  ? assessmentViewData.funder
20306
20304
  : "-", style: { width: 303 } })))))),
20307
20305
  React.createElement(Row, null,
20308
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20306
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20309
20307
  {
20310
20308
  validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
20311
20309
  var _a, _b;
20312
20310
  return __generator(this, function (_c) {
20313
20311
  if ((file === null || file === void 0 ? void 0 : file.length) > 0) {
20314
20312
  if (!isValidateFileType((_a = file[0]) === null || _a === void 0 ? void 0 : _a.type)) {
20315
- throw new Error("".concat(t("invalidFileFormat")));
20313
+ throw new Error("".concat(t("coBenifits:invalidFileFormat")));
20316
20314
  }
20317
20315
  else if (((_b = file[0]) === null || _b === void 0 ? void 0 : _b.size) > maximumFileSize) {
20318
20316
  throw new Error("".concat(t("common:maxSizeVal")));
@@ -20327,7 +20325,7 @@ var Assessment = function (props) {
20327
20325
  return false;
20328
20326
  }, className: "design-upload-section", name: "document", listType: "picture", multiple: false, maxCount: 1 },
20329
20327
  React.createElement(Button, { className: "upload-doc", size: "large", icon: React.createElement(UploadOutlined, null) }, "Upload")))),
20330
- viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "assessmentDocuments" },
20328
+ viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "assessmentDocuments" },
20331
20329
  React.createElement("a", { href: assessmentViewData.document, target: "_blank", rel: "noopener noreferrer", download: true }, assessmentViewData.document))))))))));
20332
20330
  };
20333
20331
 
@@ -20503,176 +20501,175 @@ var SdgGoals = function (props) {
20503
20501
 
20504
20502
  var Safeguards = function (props) {
20505
20503
  var onFormSubmit = props.onFormSubmit, safeGuardViewData = props.safeGuardViewData, viewOnly = props.viewOnly, translator = props.translator;
20506
- translator.setDefaultNamespace("safeguards");
20507
20504
  var t = translator.t;
20508
20505
  var _a = useState(), safeguardDetails = _a[0], setSafeguardDetails = _a[1];
20509
20506
  var form = Form.useForm()[0];
20510
20507
  var initialFormElementList = [
20511
20508
  {
20512
20509
  type: FormElementType.Label,
20513
- label: t("humanRights"),
20510
+ label: t("safeguards:humanRights"),
20514
20511
  items: [
20515
20512
  {
20516
20513
  type: FormElementType.Radio,
20517
- label: t("isRespectHumanRights"),
20514
+ label: t("safeguards:isRespectHumanRights"),
20518
20515
  name: "isRespectHumanRights",
20519
20516
  },
20520
20517
  {
20521
20518
  type: FormElementType.Radio,
20522
- label: t("isProjectdiscriminate"),
20519
+ label: t("safeguards:isProjectdiscriminate"),
20523
20520
  name: "isProjectdiscriminate",
20524
20521
  },
20525
20522
  ],
20526
20523
  },
20527
20524
  {
20528
20525
  type: FormElementType.Label,
20529
- label: t("genderEquality"),
20526
+ label: t("safeguards:genderEquality"),
20530
20527
  items: [
20531
20528
  {
20532
20529
  type: FormElementType.Radio,
20533
- label: t("genderEqualityQ1"),
20530
+ label: t("safeguards:genderEqualityQ1"),
20534
20531
  name: "genderEqualityQ1",
20535
20532
  },
20536
20533
  {
20537
20534
  type: FormElementType.Radio,
20538
- label: t("genderEqualityQ2"),
20535
+ label: t("safeguards:genderEqualityQ2"),
20539
20536
  name: "genderEqualityQ2",
20540
20537
  },
20541
20538
  {
20542
20539
  type: FormElementType.Radio,
20543
- label: t("genderEqualityQ3"),
20540
+ label: t("safeguards:genderEqualityQ3"),
20544
20541
  name: "genderEqualityQ3",
20545
20542
  },
20546
20543
  {
20547
20544
  type: FormElementType.Radio,
20548
- label: t("genderEqualityQ4"),
20545
+ label: t("safeguards:genderEqualityQ4"),
20549
20546
  name: "genderEqualityQ4",
20550
20547
  },
20551
20548
  ],
20552
20549
  },
20553
20550
  {
20554
20551
  type: FormElementType.Label,
20555
- label: t("communityHealth"),
20552
+ label: t("safeguards:communityHealth"),
20556
20553
  items: [
20557
20554
  {
20558
20555
  type: FormElementType.Radio,
20559
- label: t("communityHealthQ1"),
20556
+ label: t("safeguards:communityHealthQ1"),
20560
20557
  name: "communityHealthQ1",
20561
20558
  },
20562
20559
  ],
20563
20560
  },
20564
20561
  {
20565
20562
  type: FormElementType.Label,
20566
- label: t("historicHeritage"),
20563
+ label: t("safeguards:historicHeritage"),
20567
20564
  items: [
20568
20565
  {
20569
20566
  type: FormElementType.Radio,
20570
- label: t("historicHeritageQ1"),
20567
+ label: t("safeguards:historicHeritageQ1"),
20571
20568
  name: "historicHeritageQ1",
20572
20569
  },
20573
20570
  ],
20574
20571
  },
20575
20572
  {
20576
20573
  type: FormElementType.Label,
20577
- label: t("forcedEviction"),
20574
+ label: t("safeguards:forcedEviction"),
20578
20575
  items: [
20579
20576
  {
20580
20577
  type: FormElementType.Radio,
20581
- label: t("forcedEvictionQ1"),
20578
+ label: t("safeguards:forcedEvictionQ1"),
20582
20579
  name: "forcedEvictionQ1",
20583
20580
  },
20584
20581
  ],
20585
20582
  },
20586
20583
  {
20587
20584
  type: FormElementType.Label,
20588
- label: t("landTenure"),
20585
+ label: t("safeguards:landTenure"),
20589
20586
  items: [
20590
20587
  {
20591
20588
  type: FormElementType.Radio,
20592
- label: t("landTenureQ1"),
20589
+ label: t("safeguards:landTenureQ1"),
20593
20590
  name: "landTenureQ1",
20594
20591
  },
20595
20592
  {
20596
20593
  type: FormElementType.Radio,
20597
- label: t("landTenureQ2"),
20594
+ label: t("safeguards:landTenureQ2"),
20598
20595
  name: "landTenureQ2",
20599
20596
  },
20600
20597
  ],
20601
20598
  },
20602
20599
  {
20603
20600
  type: FormElementType.Label,
20604
- label: t("indegenousPeople"),
20601
+ label: t("safeguards:indegenousPeople"),
20605
20602
  items: [
20606
20603
  {
20607
20604
  type: FormElementType.Radio,
20608
- label: t("indegenousPeopleQ1"),
20605
+ label: t("safeguards:indegenousPeopleQ1"),
20609
20606
  name: "indegenousPeopleQ1",
20610
20607
  },
20611
20608
  ],
20612
20609
  },
20613
20610
  {
20614
20611
  type: FormElementType.Label,
20615
- label: t("corruption"),
20612
+ label: t("safeguards:corruption"),
20616
20613
  items: [
20617
20614
  {
20618
20615
  type: FormElementType.Radio,
20619
- label: t("corruptionQ1"),
20616
+ label: t("safeguards:corruptionQ1"),
20620
20617
  name: "corruptionQ1",
20621
20618
  },
20622
20619
  ],
20623
20620
  },
20624
20621
  {
20625
20622
  type: FormElementType.Label,
20626
- label: t("labourRights"),
20623
+ label: t("safeguards:labourRights"),
20627
20624
  items: [
20628
20625
  {
20629
20626
  type: FormElementType.Radio,
20630
- label: t("labourRightsQ1"),
20627
+ label: t("safeguards:labourRightsQ1"),
20631
20628
  name: "labourRightsQ1",
20632
20629
  },
20633
20630
  {
20634
20631
  type: FormElementType.Radio,
20635
- label: t("labourRightsQ2"),
20632
+ label: t("safeguards:labourRightsQ2"),
20636
20633
  name: "labourRightsQ2",
20637
20634
  },
20638
20635
  {
20639
20636
  type: FormElementType.Label,
20640
- label: t("labourRightsSubLabel"),
20637
+ label: t("safeguards:labourRightsSubLabel"),
20641
20638
  className: "mg-left-2",
20642
20639
  items: [
20643
20640
  {
20644
20641
  type: FormElementType.Radio,
20645
- label: t("labourRightsSubQ1"),
20642
+ label: t("safeguards:labourRightsSubQ1"),
20646
20643
  name: "labourRightsSubQ1",
20647
20644
  className: "mg-left-4",
20648
20645
  },
20649
20646
  {
20650
20647
  type: FormElementType.Radio,
20651
- label: t("labourRightsSubQ2"),
20648
+ label: t("safeguards:labourRightsSubQ2"),
20652
20649
  name: "labourRightsSubQ2",
20653
20650
  className: "mg-left-4",
20654
20651
  },
20655
20652
  {
20656
20653
  type: FormElementType.Radio,
20657
- label: t("labourRightsSubQ3"),
20654
+ label: t("safeguards:labourRightsSubQ3"),
20658
20655
  name: "labourRightsSubQ3",
20659
20656
  className: "mg-left-4",
20660
20657
  },
20661
20658
  {
20662
20659
  type: FormElementType.Radio,
20663
- label: t("labourRightsSubQ4"),
20660
+ label: t("safeguards:labourRightsSubQ4"),
20664
20661
  name: "labourRightsSubQ4",
20665
20662
  className: "mg-left-4",
20666
20663
  },
20667
20664
  {
20668
20665
  type: FormElementType.Radio,
20669
- label: t("labourRightsSubQ5"),
20666
+ label: t("safeguards:labourRightsSubQ5"),
20670
20667
  name: "labourRightsSubQ5",
20671
20668
  className: "mg-left-4",
20672
20669
  },
20673
20670
  {
20674
20671
  type: FormElementType.Radio,
20675
- label: t("labourRightsSubQ6"),
20672
+ label: t("safeguards:labourRightsSubQ6"),
20676
20673
  name: "labourRightsSubQ6",
20677
20674
  className: "mg-left-4",
20678
20675
  },
@@ -20680,198 +20677,198 @@ var Safeguards = function (props) {
20680
20677
  },
20681
20678
  {
20682
20679
  type: FormElementType.Radio,
20683
- label: t("labourRightsQ3"),
20680
+ label: t("safeguards:labourRightsQ3"),
20684
20681
  name: "labourRightsQ3",
20685
20682
  },
20686
20683
  {
20687
20684
  type: FormElementType.Radio,
20688
- label: t("labourRightsQ4"),
20685
+ label: t("safeguards:labourRightsQ4"),
20689
20686
  name: "labourRightsQ4",
20690
20687
  },
20691
20688
  ],
20692
20689
  },
20693
20690
  {
20694
20691
  type: FormElementType.Label,
20695
- label: t("economicConsequences"),
20692
+ label: t("safeguards:economicConsequences"),
20696
20693
  items: [
20697
20694
  {
20698
20695
  type: FormElementType.Radio,
20699
- label: t("economicConsequencesQ1"),
20696
+ label: t("safeguards:economicConsequencesQ1"),
20700
20697
  name: "economicConsequencesQ1",
20701
20698
  },
20702
20699
  ],
20703
20700
  },
20704
20701
  {
20705
20702
  type: FormElementType.Label,
20706
- label: t("emissions"),
20703
+ label: t("safeguards:emissions"),
20707
20704
  items: [
20708
20705
  {
20709
20706
  type: FormElementType.Radio,
20710
- label: t("emissionsQ1"),
20707
+ label: t("safeguards:emissionsQ1"),
20711
20708
  name: "emissionsQ1",
20712
20709
  },
20713
20710
  ],
20714
20711
  },
20715
20712
  {
20716
20713
  type: FormElementType.Label,
20717
- label: t("energySupply"),
20714
+ label: t("safeguards:energySupply"),
20718
20715
  items: [
20719
20716
  {
20720
20717
  type: FormElementType.Radio,
20721
- label: t("energySupplyQ1"),
20718
+ label: t("safeguards:energySupplyQ1"),
20722
20719
  name: "energySupplyQ1",
20723
20720
  },
20724
20721
  ],
20725
20722
  },
20726
20723
  {
20727
20724
  type: FormElementType.Label,
20728
- label: t("waterPattern"),
20725
+ label: t("safeguards:waterPattern"),
20729
20726
  items: [
20730
20727
  {
20731
20728
  type: FormElementType.Radio,
20732
- label: t("waterPatternQ1"),
20729
+ label: t("safeguards:waterPatternQ1"),
20733
20730
  name: "waterPatternQ1",
20734
20731
  },
20735
20732
  ],
20736
20733
  },
20737
20734
  {
20738
20735
  type: FormElementType.Label,
20739
- label: t("erosoin"),
20736
+ label: t("safeguards:erosoin"),
20740
20737
  items: [
20741
20738
  {
20742
20739
  type: FormElementType.Radio,
20743
- label: t("erosoinQ1"),
20740
+ label: t("safeguards:erosoinQ1"),
20744
20741
  name: "erosoinQ1",
20745
20742
  },
20746
20743
  {
20747
20744
  type: FormElementType.Radio,
20748
- label: t("erosoinQ2"),
20745
+ label: t("safeguards:erosoinQ2"),
20749
20746
  name: "erosoinQ2",
20750
20747
  },
20751
20748
  ],
20752
20749
  },
20753
20750
  {
20754
20751
  type: FormElementType.Label,
20755
- label: t("landscape"),
20752
+ label: t("safeguards:landscape"),
20756
20753
  items: [
20757
20754
  {
20758
20755
  type: FormElementType.Radio,
20759
- label: t("landscapeQ1"),
20756
+ label: t("safeguards:landscapeQ1"),
20760
20757
  name: "landscapeQ1",
20761
20758
  },
20762
20759
  ],
20763
20760
  },
20764
20761
  {
20765
20762
  type: FormElementType.Label,
20766
- label: t("naturalDisaster"),
20763
+ label: t("safeguards:naturalDisaster"),
20767
20764
  items: [
20768
20765
  {
20769
20766
  type: FormElementType.Radio,
20770
- label: t("naturalDisasterQ1"),
20767
+ label: t("safeguards:naturalDisasterQ1"),
20771
20768
  name: "naturalDisasterQ1",
20772
20769
  },
20773
20770
  ],
20774
20771
  },
20775
20772
  {
20776
20773
  type: FormElementType.Label,
20777
- label: t("genetic"),
20774
+ label: t("safeguards:genetic"),
20778
20775
  items: [
20779
20776
  {
20780
20777
  type: FormElementType.Radio,
20781
- label: t("geneticQ1"),
20778
+ label: t("safeguards:geneticQ1"),
20782
20779
  name: "geneticQ1",
20783
20780
  },
20784
20781
  ],
20785
20782
  },
20786
20783
  {
20787
20784
  type: FormElementType.Label,
20788
- label: t("pollutants"),
20785
+ label: t("safeguards:pollutants"),
20789
20786
  items: [
20790
20787
  {
20791
20788
  type: FormElementType.Radio,
20792
- label: t("pollutantsQ1"),
20789
+ label: t("safeguards:pollutantsQ1"),
20793
20790
  name: "pollutantsQ1",
20794
20791
  },
20795
20792
  ],
20796
20793
  },
20797
20794
  {
20798
20795
  type: FormElementType.Label,
20799
- label: t("hazardousWaste"),
20796
+ label: t("safeguards:hazardousWaste"),
20800
20797
  items: [
20801
20798
  {
20802
20799
  type: FormElementType.Radio,
20803
- label: t("hazardousWasteQ1"),
20800
+ label: t("safeguards:hazardousWasteQ1"),
20804
20801
  name: "hazardousWasteQ1",
20805
20802
  },
20806
20803
  ],
20807
20804
  },
20808
20805
  {
20809
20806
  type: FormElementType.Label,
20810
- label: t("pesticides"),
20807
+ label: t("safeguards:pesticides"),
20811
20808
  items: [
20812
20809
  {
20813
20810
  type: FormElementType.Radio,
20814
- label: t("pesticidesQ1"),
20811
+ label: t("safeguards:pesticidesQ1"),
20815
20812
  name: "pesticidesQ1",
20816
20813
  },
20817
20814
  ],
20818
20815
  },
20819
20816
  {
20820
20817
  type: FormElementType.Label,
20821
- label: t("harvestForests"),
20818
+ label: t("safeguards:harvestForests"),
20822
20819
  items: [
20823
20820
  {
20824
20821
  type: FormElementType.Radio,
20825
- label: t("harvestForestsQ1"),
20822
+ label: t("safeguards:harvestForestsQ1"),
20826
20823
  name: "harvestForestsQ1",
20827
20824
  },
20828
20825
  ],
20829
20826
  },
20830
20827
  {
20831
20828
  type: FormElementType.Label,
20832
- label: t("food"),
20829
+ label: t("safeguards:food"),
20833
20830
  items: [
20834
20831
  {
20835
20832
  type: FormElementType.Radio,
20836
- label: t("foodQ1"),
20833
+ label: t("safeguards:foodQ1"),
20837
20834
  name: "foodQ1",
20838
20835
  },
20839
20836
  ],
20840
20837
  },
20841
20838
  {
20842
20839
  type: FormElementType.Label,
20843
- label: t("animalHusbandry"),
20840
+ label: t("safeguards:animalHusbandry"),
20844
20841
  items: [
20845
20842
  {
20846
20843
  type: FormElementType.Radio,
20847
- label: t("animalHusbandryQ1"),
20844
+ label: t("safeguards:animalHusbandryQ1"),
20848
20845
  name: "animalHusbandryQ1",
20849
20846
  },
20850
20847
  ],
20851
20848
  },
20852
20849
  {
20853
20850
  type: FormElementType.Label,
20854
- label: t("criticalHabitats"),
20851
+ label: t("safeguards:criticalHabitats"),
20855
20852
  items: [
20856
20853
  {
20857
20854
  type: FormElementType.Radio,
20858
- label: t("criticalHabitatsQ1"),
20855
+ label: t("safeguards:criticalHabitatsQ1"),
20859
20856
  name: "criticalHabitatsQ1",
20860
20857
  },
20861
20858
  ],
20862
20859
  },
20863
20860
  {
20864
20861
  type: FormElementType.Label,
20865
- label: t("endangeredSpecies"),
20862
+ label: t("safeguards:endangeredSpecies"),
20866
20863
  items: [
20867
20864
  {
20868
20865
  type: FormElementType.Radio,
20869
- label: t("endangeredSpeciesQ1"),
20866
+ label: t("safeguards:endangeredSpeciesQ1"),
20870
20867
  name: "endangeredSpeciesQ1",
20871
20868
  },
20872
20869
  {
20873
20870
  type: FormElementType.Radio,
20874
- label: t("endangeredSpeciesQ2"),
20871
+ label: t("safeguards:endangeredSpeciesQ2"),
20875
20872
  name: "endangeredSpeciesQ2",
20876
20873
  },
20877
20874
  ],
@@ -20936,7 +20933,7 @@ var Safeguards = function (props) {
20936
20933
  React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
20937
20934
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
20938
20935
  React.createElement("span", null,
20939
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("undpSespTitle")))),
20936
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("safeguards:undpSespTitle")))),
20940
20937
  React.createElement(Col, { span: 24 },
20941
20938
  React.createElement("div", { className: "undpSesp-section-divider" })))),
20942
20939
  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) {
@@ -20955,11 +20952,11 @@ var Safeguards = function (props) {
20955
20952
  ] },
20956
20953
  React.createElement(Radio.Group, { size: "middle" },
20957
20954
  React.createElement("div", { className: "radio-container" },
20958
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
20955
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
20959
20956
  React.createElement("div", { className: "radio-container" },
20960
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
20957
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
20961
20958
  React.createElement("div", { className: "radio-container" },
20962
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
20959
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
20963
20960
  viewOnly &&
20964
20961
  safeGuardViewData.hasOwnProperty(item === null || item === void 0 ? void 0 : item.name) && (React.createElement("div", { className: "view-section" },
20965
20962
  React.createElement(Form.Item, { label: item === null || item === void 0 ? void 0 : item.label, className: item.className
@@ -20984,11 +20981,11 @@ var Safeguards = function (props) {
20984
20981
  ] },
20985
20982
  React.createElement(Radio.Group, { size: "middle" },
20986
20983
  React.createElement("div", { className: "radio-container" },
20987
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
20984
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
20988
20985
  React.createElement("div", { className: "radio-container" },
20989
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
20986
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
20990
20987
  React.createElement("div", { className: "radio-container" },
20991
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
20988
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
20992
20989
  viewOnly &&
20993
20990
  safeGuardViewData.hasOwnProperty(subItem === null || subItem === void 0 ? void 0 : subItem.name) && (React.createElement("div", { className: "view-section" },
20994
20991
  React.createElement(Form.Item, { label: subItem === null || subItem === void 0 ? void 0 : subItem.label, className: subItem.className
@@ -21005,204 +21002,203 @@ var Safeguards = function (props) {
21005
21002
 
21006
21003
  var Environmental = function (props) {
21007
21004
  var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
21008
- translator.setDefaultNamespace("unfcccSdTool");
21009
21005
  var t = translator.t;
21010
21006
  var environmentalDetailsInitial = [
21011
21007
  {
21012
- section: t("air"),
21008
+ section: t("unfcccSdTool:air"),
21013
21009
  fields: [
21014
21010
  {
21015
21011
  name: "airQ1",
21016
- label: t("airQ1"),
21012
+ label: t("unfcccSdTool:airQ1"),
21017
21013
  hide: false,
21018
21014
  required: false,
21019
21015
  },
21020
21016
  {
21021
21017
  name: "airQ2",
21022
- label: t("airQ2"),
21018
+ label: t("unfcccSdTool:airQ2"),
21023
21019
  hide: true,
21024
21020
  required: true,
21025
21021
  },
21026
21022
  {
21027
21023
  name: "airQ3",
21028
- label: t("airQ3"),
21024
+ label: t("unfcccSdTool:airQ3"),
21029
21025
  hide: true,
21030
21026
  required: true,
21031
21027
  },
21032
21028
  {
21033
21029
  name: "airQ4",
21034
- label: t("airQ4"),
21030
+ label: t("unfcccSdTool:airQ4"),
21035
21031
  hide: true,
21036
21032
  required: true,
21037
21033
  },
21038
21034
  {
21039
21035
  name: "airQ5",
21040
- label: t("airQ5"),
21036
+ label: t("unfcccSdTool:airQ5"),
21041
21037
  hide: true,
21042
21038
  required: true,
21043
21039
  },
21044
21040
  {
21045
21041
  name: "airQ6",
21046
- label: t("airQ6"),
21042
+ label: t("unfcccSdTool:airQ6"),
21047
21043
  hide: true,
21048
21044
  required: true,
21049
21045
  },
21050
21046
  {
21051
21047
  name: "airQ7",
21052
- label: t("airQ7"),
21048
+ label: t("unfcccSdTool:airQ7"),
21053
21049
  hide: true,
21054
21050
  required: true,
21055
21051
  },
21056
21052
  {
21057
21053
  name: "airQ8",
21058
- label: t("airQ8"),
21054
+ label: t("unfcccSdTool:airQ8"),
21059
21055
  hide: true,
21060
21056
  required: true,
21061
21057
  },
21062
21058
  {
21063
21059
  name: "airQ9",
21064
- label: t("airQ9"),
21060
+ label: t("unfcccSdTool:airQ9"),
21065
21061
  hide: true,
21066
21062
  required: true,
21067
21063
  },
21068
21064
  ],
21069
21065
  },
21070
21066
  {
21071
- section: t("land"),
21067
+ section: t("unfcccSdTool:land"),
21072
21068
  fields: [
21073
21069
  {
21074
21070
  name: "landQ1",
21075
- label: t("landQ1"),
21071
+ label: t("unfcccSdTool:landQ1"),
21076
21072
  hide: false,
21077
21073
  required: false,
21078
21074
  },
21079
21075
  {
21080
21076
  name: "landQ2",
21081
- label: t("landQ2"),
21077
+ label: t("unfcccSdTool:landQ2"),
21082
21078
  hide: true,
21083
21079
  required: true,
21084
21080
  },
21085
21081
  {
21086
21082
  name: "landQ3",
21087
- label: t("landQ3"),
21083
+ label: t("unfcccSdTool:landQ3"),
21088
21084
  hide: true,
21089
21085
  required: true,
21090
21086
  },
21091
21087
  {
21092
21088
  name: "landQ4",
21093
- label: t("landQ4"),
21089
+ label: t("unfcccSdTool:landQ4"),
21094
21090
  hide: true,
21095
21091
  required: true,
21096
21092
  },
21097
21093
  {
21098
21094
  name: "landQ5",
21099
- label: t("landQ5"),
21095
+ label: t("unfcccSdTool:landQ5"),
21100
21096
  hide: true,
21101
21097
  required: true,
21102
21098
  },
21103
21099
  {
21104
21100
  name: "landQ6",
21105
- label: t("landQ6"),
21101
+ label: t("unfcccSdTool:landQ6"),
21106
21102
  hide: true,
21107
21103
  required: true,
21108
21104
  },
21109
21105
  {
21110
21106
  name: "landQ7",
21111
- label: t("landQ7"),
21107
+ label: t("unfcccSdTool:landQ7"),
21112
21108
  hide: true,
21113
21109
  required: true,
21114
21110
  },
21115
21111
  {
21116
21112
  name: "landQ8",
21117
- label: t("landQ8"),
21113
+ label: t("unfcccSdTool:landQ8"),
21118
21114
  hide: true,
21119
21115
  required: true,
21120
21116
  },
21121
21117
  ],
21122
21118
  },
21123
21119
  {
21124
- section: t("water"),
21120
+ section: t("unfcccSdTool:water"),
21125
21121
  fields: [
21126
21122
  {
21127
21123
  name: "waterQ1",
21128
- label: t("waterQ1"),
21124
+ label: t("unfcccSdTool:waterQ1"),
21129
21125
  hide: false,
21130
21126
  required: false,
21131
21127
  },
21132
21128
  {
21133
21129
  name: "waterQ2",
21134
- label: t("waterQ2"),
21130
+ label: t("unfcccSdTool:waterQ2"),
21135
21131
  hide: true,
21136
21132
  required: true,
21137
21133
  },
21138
21134
  {
21139
21135
  name: "waterQ3",
21140
- label: t("waterQ3"),
21136
+ label: t("unfcccSdTool:waterQ3"),
21141
21137
  hide: true,
21142
21138
  required: true,
21143
21139
  },
21144
21140
  {
21145
21141
  name: "waterQ4",
21146
- label: t("waterQ4"),
21142
+ label: t("unfcccSdTool:waterQ4"),
21147
21143
  hide: true,
21148
21144
  required: true,
21149
21145
  },
21150
21146
  {
21151
21147
  name: "waterQ5",
21152
- label: t("waterQ5"),
21148
+ label: t("unfcccSdTool:waterQ5"),
21153
21149
  hide: true,
21154
21150
  required: true,
21155
21151
  },
21156
21152
  {
21157
21153
  name: "waterQ6",
21158
- label: t("waterQ6"),
21154
+ label: t("unfcccSdTool:waterQ6"),
21159
21155
  hide: true,
21160
21156
  required: true,
21161
21157
  },
21162
21158
  {
21163
21159
  name: "waterQ7",
21164
- label: t("waterQ7"),
21160
+ label: t("unfcccSdTool:waterQ7"),
21165
21161
  hide: true,
21166
21162
  required: true,
21167
21163
  },
21168
21164
  ],
21169
21165
  },
21170
21166
  {
21171
- section: t("naturalResource"),
21167
+ section: t("unfcccSdTool:naturalResource"),
21172
21168
  fields: [
21173
21169
  {
21174
21170
  name: "naturalResourceQ1",
21175
- label: t("naturalResourceQ1"),
21171
+ label: t("unfcccSdTool:naturalResourceQ1"),
21176
21172
  hide: false,
21177
21173
  required: false,
21178
21174
  },
21179
21175
  {
21180
21176
  name: "naturalResourceQ2",
21181
- label: t("naturalResourceQ2"),
21177
+ label: t("unfcccSdTool:naturalResourceQ2"),
21182
21178
  hide: true,
21183
21179
  required: true,
21184
21180
  },
21185
21181
  {
21186
21182
  name: "naturalResourceQ3",
21187
- label: t("naturalResourceQ3"),
21183
+ label: t("unfcccSdTool:naturalResourceQ3"),
21188
21184
  hide: true,
21189
21185
  required: true,
21190
21186
  },
21191
21187
  {
21192
21188
  name: "naturalResourceQ4",
21193
- label: t("naturalResourceQ4"),
21189
+ label: t("unfcccSdTool:naturalResourceQ4"),
21194
21190
  hide: true,
21195
21191
  required: true,
21196
21192
  },
21197
21193
  {
21198
21194
  name: "naturalResourceQ5",
21199
- label: t("naturalResourceQ5"),
21195
+ label: t("unfcccSdTool:naturalResourceQ5"),
21200
21196
  hide: true,
21201
21197
  required: true,
21202
21198
  },
21203
21199
  {
21204
21200
  name: "naturalResourceQ6",
21205
- label: t("naturalResourceQ6"),
21201
+ label: t("unfcccSdTool:naturalResourceQ6"),
21206
21202
  hide: true,
21207
21203
  required: true,
21208
21204
  },
@@ -21220,7 +21216,7 @@ var Environmental = function (props) {
21220
21216
  if (changedFieldName.includes("1")) {
21221
21217
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21222
21218
  var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
21223
- var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
21219
+ var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21224
21220
  updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
21225
21221
  if (field.name !== changedFieldName) {
21226
21222
  field.hide = changedFieldValue !== RadioButtonStatus.YES;
@@ -21239,41 +21235,41 @@ var Environmental = function (props) {
21239
21235
  if (environmentalViewData && viewOnly === true) {
21240
21236
  var updatedEnvironmentalData = [
21241
21237
  {
21242
- section: t("air"),
21238
+ section: t("unfcccSdTool:air"),
21243
21239
  fields: [],
21244
21240
  },
21245
21241
  {
21246
- section: t("land"),
21242
+ section: t("unfcccSdTool:land"),
21247
21243
  fields: [],
21248
21244
  },
21249
21245
  {
21250
- section: t("water"),
21246
+ section: t("unfcccSdTool:water"),
21251
21247
  fields: [],
21252
21248
  },
21253
21249
  {
21254
- section: t("naturalResource"),
21250
+ section: t("unfcccSdTool:naturalResource"),
21255
21251
  fields: [],
21256
21252
  },
21257
21253
  ];
21258
21254
  var _loop_1 = function (key) {
21259
21255
  var section = "";
21260
21256
  if (String(key).includes("air")) {
21261
- section = t("air");
21257
+ section = t("unfcccSdTool:air");
21262
21258
  }
21263
21259
  else if (String(key).includes("land")) {
21264
- section = t("land");
21260
+ section = t("unfcccSdTool:land");
21265
21261
  }
21266
21262
  else if (String(key).includes("water")) {
21267
- section = t("water");
21263
+ section = t("unfcccSdTool:water");
21268
21264
  }
21269
21265
  else if (String(key).includes("naturalResource")) {
21270
- section = t("naturalResource");
21266
+ section = t("unfcccSdTool:naturalResource");
21271
21267
  }
21272
21268
  var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
21273
21269
  if (environmentalItem) {
21274
21270
  environmentalItem.fields.push({
21275
21271
  name: key,
21276
- label: t(key),
21272
+ label: t("unfcccSdTool:" + key),
21277
21273
  hide: false,
21278
21274
  value: environmentalViewData[key],
21279
21275
  });
@@ -21295,11 +21291,11 @@ var Environmental = function (props) {
21295
21291
  React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
21296
21292
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21297
21293
  React.createElement("span", null,
21298
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
21294
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdTool:unfcccSdToolTitle")))),
21299
21295
  React.createElement(Col, { span: 24 },
21300
21296
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21301
21297
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21302
- React.createElement("span", null, t("environmental"))),
21298
+ React.createElement("span", null, t("unfcccSdTool:environmental"))),
21303
21299
  React.createElement(Col, { span: 24 },
21304
21300
  React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
21305
21301
  (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 :
@@ -21312,189 +21308,188 @@ var Environmental = function (props) {
21312
21308
  {
21313
21309
  required: field === null || field === void 0 ? void 0 : field.required,
21314
21310
  message: (field === null || field === void 0 ? void 0 : field.required) &&
21315
- "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
21311
+ "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("unfcccSdTool:isRequired")),
21316
21312
  },
21317
21313
  ] },
21318
21314
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
21319
21315
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21320
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
21316
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21321
21317
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21322
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
21318
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21323
21319
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21324
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
21320
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21325
21321
  React.createElement("div", { className: "yes-no-radio-container" },
21326
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
21322
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21327
21323
  React.createElement("div", { className: "yes-no-radio-container" },
21328
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
21324
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21329
21325
  React.createElement("div", { className: "yes-no-radio-container" },
21330
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
21326
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21331
21327
  })));
21332
21328
  })))));
21333
21329
  };
21334
21330
 
21335
21331
  var Economic = function (props) {
21336
21332
  var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
21337
- translator.setDefaultNamespace("unfcccSdTool");
21338
21333
  var t = translator.t;
21339
21334
  var economicDetailsInitial = [
21340
21335
  {
21341
- section: t("growth"),
21336
+ section: t("unfcccSdTool:growth"),
21342
21337
  fields: [
21343
21338
  {
21344
21339
  name: "growthQ1",
21345
- label: t("growthQ1"),
21340
+ label: t("unfcccSdTool:growthQ1"),
21346
21341
  hide: false,
21347
21342
  required: false,
21348
21343
  },
21349
21344
  {
21350
21345
  name: "growthQ2",
21351
- label: t("growthQ2"),
21346
+ label: t("unfcccSdTool:growthQ2"),
21352
21347
  hide: true,
21353
21348
  required: true,
21354
21349
  },
21355
21350
  {
21356
21351
  name: "growthQ3",
21357
- label: t("growthQ3"),
21352
+ label: t("unfcccSdTool:growthQ3"),
21358
21353
  hide: true,
21359
21354
  required: true,
21360
21355
  },
21361
21356
  {
21362
21357
  name: "growthQ4",
21363
- label: t("growthQ4"),
21358
+ label: t("unfcccSdTool:growthQ4"),
21364
21359
  hide: true,
21365
21360
  required: true,
21366
21361
  },
21367
21362
  {
21368
21363
  name: "growthQ5",
21369
- label: t("growthQ5"),
21364
+ label: t("unfcccSdTool:growthQ5"),
21370
21365
  hide: true,
21371
21366
  required: true,
21372
21367
  },
21373
21368
  {
21374
21369
  name: "growthQ6",
21375
- label: t("growthQ6"),
21370
+ label: t("unfcccSdTool:growthQ6"),
21376
21371
  hide: true,
21377
21372
  required: true,
21378
21373
  },
21379
21374
  {
21380
21375
  name: "growthQ7",
21381
- label: t("growthQ7"),
21376
+ label: t("unfcccSdTool:growthQ7"),
21382
21377
  hide: true,
21383
21378
  required: true,
21384
21379
  },
21385
21380
  {
21386
21381
  name: "growthQ8",
21387
- label: t("growthQ8"),
21382
+ label: t("unfcccSdTool:growthQ8"),
21388
21383
  hide: true,
21389
21384
  required: true,
21390
21385
  },
21391
21386
  ],
21392
21387
  },
21393
21388
  {
21394
- section: t("energy"),
21389
+ section: t("unfcccSdTool:energy"),
21395
21390
  fields: [
21396
21391
  {
21397
21392
  name: "energyQ1",
21398
- label: t("energyQ1"),
21393
+ label: t("unfcccSdTool:energyQ1"),
21399
21394
  hide: false,
21400
21395
  required: false,
21401
21396
  },
21402
21397
  {
21403
21398
  name: "energyQ2",
21404
- label: t("energyQ2"),
21399
+ label: t("unfcccSdTool:energyQ2"),
21405
21400
  hide: true,
21406
21401
  required: true,
21407
21402
  },
21408
21403
  {
21409
21404
  name: "energyQ3",
21410
- label: t("energyQ3"),
21405
+ label: t("unfcccSdTool:energyQ3"),
21411
21406
  hide: true,
21412
21407
  required: true,
21413
21408
  },
21414
21409
  {
21415
21410
  name: "energyQ4",
21416
- label: t("energyQ4"),
21411
+ label: t("unfcccSdTool:energyQ4"),
21417
21412
  hide: true,
21418
21413
  required: true,
21419
21414
  },
21420
21415
  {
21421
21416
  name: "energyQ5",
21422
- label: t("energyQ5"),
21417
+ label: t("unfcccSdTool:energyQ5"),
21423
21418
  hide: true,
21424
21419
  required: true,
21425
21420
  },
21426
21421
  ],
21427
21422
  },
21428
21423
  {
21429
- section: t("techTransfer"),
21424
+ section: t("unfcccSdTool:techTransfer"),
21430
21425
  fields: [
21431
21426
  {
21432
21427
  name: "techTransferQ1",
21433
- label: t("techTransferQ1"),
21428
+ label: t("unfcccSdTool:techTransferQ1"),
21434
21429
  hide: false,
21435
21430
  required: false,
21436
21431
  },
21437
21432
  {
21438
21433
  name: "techTransferQ2",
21439
- label: t("techTransferQ2"),
21434
+ label: t("unfcccSdTool:techTransferQ2"),
21440
21435
  hide: true,
21441
21436
  required: true,
21442
21437
  },
21443
21438
  {
21444
21439
  name: "techTransferQ3",
21445
- label: t("techTransferQ3"),
21440
+ label: t("unfcccSdTool:techTransferQ3"),
21446
21441
  hide: true,
21447
21442
  required: true,
21448
21443
  },
21449
21444
  {
21450
21445
  name: "techTransferQ4",
21451
- label: t("techTransferQ4"),
21446
+ label: t("unfcccSdTool:techTransferQ4"),
21452
21447
  hide: true,
21453
21448
  required: true,
21454
21449
  },
21455
21450
  {
21456
21451
  name: "techTransferQ5",
21457
- label: t("techTransferQ5"),
21452
+ label: t("unfcccSdTool:techTransferQ5"),
21458
21453
  hide: true,
21459
21454
  required: true,
21460
21455
  },
21461
21456
  {
21462
21457
  name: "techTransferQ6",
21463
- label: t("techTransferQ6"),
21458
+ label: t("unfcccSdTool:techTransferQ6"),
21464
21459
  hide: true,
21465
21460
  required: true,
21466
21461
  },
21467
21462
  ],
21468
21463
  },
21469
21464
  {
21470
- section: t("balanceOfPayments"),
21465
+ section: t("unfcccSdTool:balanceOfPayments"),
21471
21466
  fields: [
21472
21467
  {
21473
21468
  name: "balanceOfPaymentsQ1",
21474
- label: t("balanceOfPaymentsQ1"),
21469
+ label: t("unfcccSdTool:balanceOfPaymentsQ1"),
21475
21470
  hide: false,
21476
21471
  required: false,
21477
21472
  },
21478
21473
  {
21479
21474
  name: "balanceOfPaymentsQ2",
21480
- label: t("balanceOfPaymentsQ2"),
21475
+ label: t("unfcccSdTool:balanceOfPaymentsQ2"),
21481
21476
  hide: true,
21482
21477
  required: true,
21483
21478
  },
21484
21479
  {
21485
21480
  name: "balanceOfPaymentsQ3",
21486
- label: t("balanceOfPaymentsQ3"),
21481
+ label: t("unfcccSdTool:balanceOfPaymentsQ3"),
21487
21482
  hide: true,
21488
21483
  required: true,
21489
21484
  },
21490
21485
  ],
21491
21486
  },
21492
21487
  {
21493
- section: t("furtherInfo"),
21488
+ section: t("unfcccSdTool:furtherInfo"),
21494
21489
  fields: [
21495
21490
  {
21496
21491
  name: "furtherInfoQ1",
21497
- label: t("furtherInfoQ1"),
21492
+ label: t("unfcccSdTool:furtherInfoQ1"),
21498
21493
  hide: false,
21499
21494
  required: false,
21500
21495
  },
@@ -21511,7 +21506,7 @@ var Economic = function (props) {
21511
21506
  if (changedFieldName.includes("1")) {
21512
21507
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21513
21508
  var updatedEconomicDetails = __spreadArray([], economicDetails, true);
21514
- var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
21509
+ var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21515
21510
  updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
21516
21511
  if (field.name !== changedFieldName) {
21517
21512
  field.hide = changedFieldValue !== RadioButtonStatus.YES;
@@ -21530,48 +21525,48 @@ var Economic = function (props) {
21530
21525
  if (economicViewData && viewOnly === true) {
21531
21526
  var updatedEconomicData = [
21532
21527
  {
21533
- section: t("growth"),
21528
+ section: t("unfcccSdTool:growth"),
21534
21529
  fields: [],
21535
21530
  },
21536
21531
  {
21537
- section: t("energy"),
21532
+ section: t("unfcccSdTool:energy"),
21538
21533
  fields: [],
21539
21534
  },
21540
21535
  {
21541
- section: t("techTransfer"),
21536
+ section: t("unfcccSdTool:techTransfer"),
21542
21537
  fields: [],
21543
21538
  },
21544
21539
  {
21545
- section: t("balanceOfPayments"),
21540
+ section: t("unfcccSdTool:balanceOfPayments"),
21546
21541
  fields: [],
21547
21542
  },
21548
21543
  {
21549
- section: t("furtherInfo"),
21544
+ section: t("unfcccSdTool:furtherInfo"),
21550
21545
  fields: [],
21551
21546
  },
21552
21547
  ];
21553
21548
  var _loop_1 = function (key) {
21554
21549
  var section = "";
21555
21550
  if (String(key).includes("growth")) {
21556
- section = t("growth");
21551
+ section = t("unfcccSdTool:growth");
21557
21552
  }
21558
21553
  else if (String(key).includes("energy")) {
21559
- section = t("energy");
21554
+ section = t("unfcccSdTool:energy");
21560
21555
  }
21561
21556
  else if (String(key).includes("techTransfer")) {
21562
- section = t("techTransfer");
21557
+ section = t("unfcccSdTool:techTransfer");
21563
21558
  }
21564
21559
  else if (String(key).includes("balanceOfPayments")) {
21565
- section = t("balanceOfPayments");
21560
+ section = t("unfcccSdTool:balanceOfPayments");
21566
21561
  }
21567
21562
  else if (String(key).includes("furtherInfo")) {
21568
- section = t("furtherInfo");
21563
+ section = t("unfcccSdTool:furtherInfo");
21569
21564
  }
21570
21565
  var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
21571
21566
  if (economicItem) {
21572
21567
  economicItem.fields.push({
21573
21568
  name: key,
21574
- label: t(key),
21569
+ label: t("unfcccSdTool:" + key),
21575
21570
  hide: false,
21576
21571
  value: economicViewData[key],
21577
21572
  });
@@ -21593,7 +21588,7 @@ var Economic = function (props) {
21593
21588
  React.createElement(Col, { span: 24 },
21594
21589
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21595
21590
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21596
- React.createElement("span", null, t("economic"))))),
21591
+ React.createElement("span", null, t("unfcccSdTool:economic"))))),
21597
21592
  (economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), economicDetails === null || economicDetails === void 0 ? void 0 :
21598
21593
  economicDetails.map(function (environmentalDetail) {
21599
21594
  var _a;
@@ -21609,24 +21604,23 @@ var Economic = function (props) {
21609
21604
  ] },
21610
21605
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
21611
21606
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21612
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
21607
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21613
21608
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21614
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
21609
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21615
21610
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21616
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
21611
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21617
21612
  React.createElement("div", { className: "yes-no-radio-container" },
21618
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
21613
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21619
21614
  React.createElement("div", { className: "yes-no-radio-container" },
21620
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
21615
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21621
21616
  React.createElement("div", { className: "yes-no-radio-container" },
21622
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
21617
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21623
21618
  })));
21624
21619
  })))));
21625
21620
  };
21626
21621
 
21627
21622
  var Social = function (props) {
21628
21623
  var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
21629
- translator.setDefaultNamespace("unfcccSdTool");
21630
21624
  var t = translator.t;
21631
21625
  var form = Form.useForm()[0];
21632
21626
  var _a = useState(0); _a[0]; var setRefreshCounter = _a[1];
@@ -21634,164 +21628,164 @@ var Social = function (props) {
21634
21628
  var _c = useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
21635
21629
  var SocialElementDetails = [
21636
21630
  {
21637
- title: t("jobs"),
21638
- label: t("jobRelatedMainQ"),
21631
+ title: t("unfcccSdTool:jobs"),
21632
+ label: t("unfcccSdTool:jobRelatedMainQ"),
21639
21633
  name: "jobRelatedMainQ",
21640
21634
  subItems: [
21641
21635
  {
21642
21636
  type: FormElementType.Radio,
21643
- label: t("jobRelatedSubQ1"),
21637
+ label: t("unfcccSdTool:jobRelatedSubQ1"),
21644
21638
  name: "jobRelatedSubQ1",
21645
21639
  },
21646
21640
  {
21647
21641
  type: FormElementType.Radio,
21648
- label: t("jobRelatedSubQ2"),
21642
+ label: t("unfcccSdTool:jobRelatedSubQ2"),
21649
21643
  name: "jobRelatedSubQ2",
21650
21644
  },
21651
21645
  {
21652
21646
  type: FormElementType.Radio,
21653
- label: t("jobRelatedSubQ3"),
21647
+ label: t("unfcccSdTool:jobRelatedSubQ3"),
21654
21648
  name: "jobRelatedSubQ3",
21655
21649
  },
21656
21650
  {
21657
21651
  type: FormElementType.Radio,
21658
- label: t("jobRelatedSubQ4"),
21652
+ label: t("unfcccSdTool:jobRelatedSubQ4"),
21659
21653
  name: "jobRelatedSubQ4",
21660
21654
  },
21661
21655
  {
21662
21656
  type: FormElementType.Input,
21663
- label: t("jobRelatedSubQ5"),
21657
+ label: t("unfcccSdTool:jobRelatedSubQ5"),
21664
21658
  name: "jobRelatedSubQ5",
21665
21659
  },
21666
21660
  {
21667
21661
  type: FormElementType.Input,
21668
- label: t("jobRelatedSubQ6"),
21662
+ label: t("unfcccSdTool:jobRelatedSubQ6"),
21669
21663
  name: "jobRelatedSubQ6",
21670
21664
  },
21671
21665
  {
21672
21666
  type: FormElementType.Input,
21673
- label: t("jobRelatedSubQ7"),
21667
+ label: t("unfcccSdTool:jobRelatedSubQ7"),
21674
21668
  name: "jobRelatedSubQ7",
21675
21669
  },
21676
21670
  ],
21677
21671
  },
21678
21672
  {
21679
- title: t("health"),
21680
- label: t("healthRelatedMainQ"),
21673
+ title: t("unfcccSdTool:health"),
21674
+ label: t("unfcccSdTool:healthRelatedMainQ"),
21681
21675
  name: "healthRelatedMainQ",
21682
21676
  subItems: [
21683
21677
  {
21684
21678
  type: FormElementType.Radio,
21685
- label: t("healthRelatedSubQ1"),
21679
+ label: t("unfcccSdTool:healthRelatedSubQ1"),
21686
21680
  name: "healthRelatedSubQ1",
21687
21681
  },
21688
21682
  {
21689
21683
  type: FormElementType.Radio,
21690
- label: t("healthRelatedSubQ2"),
21684
+ label: t("unfcccSdTool:healthRelatedSubQ2"),
21691
21685
  name: "healthRelatedSubQ2",
21692
21686
  },
21693
21687
  {
21694
21688
  type: FormElementType.Radio,
21695
- label: t("healthRelatedSubQ3"),
21689
+ label: t("unfcccSdTool:healthRelatedSubQ3"),
21696
21690
  name: "healthRelatedSubQ3",
21697
21691
  },
21698
21692
  {
21699
21693
  type: FormElementType.Radio,
21700
- label: t("healthRelatedSubQ4"),
21694
+ label: t("unfcccSdTool:healthRelatedSubQ4"),
21701
21695
  name: "healthRelatedSubQ4",
21702
21696
  },
21703
21697
  {
21704
21698
  type: FormElementType.Radio,
21705
- label: t("healthRelatedSubQ5"),
21699
+ label: t("unfcccSdTool:healthRelatedSubQ5"),
21706
21700
  name: "healthRelatedSubQ5",
21707
21701
  },
21708
21702
  {
21709
21703
  type: FormElementType.Radio,
21710
- label: t("healthRelatedSubQ6"),
21704
+ label: t("unfcccSdTool:healthRelatedSubQ6"),
21711
21705
  name: "healthRelatedSubQ6",
21712
21706
  },
21713
21707
  {
21714
21708
  type: FormElementType.Radio,
21715
- label: t("healthRelatedSubQ7"),
21709
+ label: t("unfcccSdTool:healthRelatedSubQ7"),
21716
21710
  name: "healthRelatedSubQ7",
21717
21711
  },
21718
21712
  {
21719
21713
  type: FormElementType.Radio,
21720
- label: t("healthRelatedSubQ8"),
21714
+ label: t("unfcccSdTool:healthRelatedSubQ8"),
21721
21715
  name: "healthRelatedSubQ8",
21722
21716
  },
21723
21717
  ],
21724
21718
  },
21725
21719
  {
21726
- title: t("educational"),
21727
- label: t("educationRelatedMainQ"),
21720
+ title: t("unfcccSdTool:educational"),
21721
+ label: t("unfcccSdTool:educationRelatedMainQ"),
21728
21722
  name: "educationRelatedMainQ",
21729
21723
  subItems: [
21730
21724
  {
21731
21725
  type: FormElementType.Radio,
21732
- label: t("educationRelatedSubQ1"),
21726
+ label: t("unfcccSdTool:educationRelatedSubQ1"),
21733
21727
  name: "educationRelatedSubQ1",
21734
21728
  },
21735
21729
  {
21736
21730
  type: FormElementType.Radio,
21737
- label: t("educationRelatedSubQ2"),
21731
+ label: t("unfcccSdTool:educationRelatedSubQ2"),
21738
21732
  name: "educationRelatedSubQ2",
21739
21733
  },
21740
21734
  {
21741
21735
  type: FormElementType.Radio,
21742
- label: t("educationRelatedSubQ3"),
21736
+ label: t("unfcccSdTool:educationRelatedSubQ3"),
21743
21737
  name: "educationRelatedSubQ3",
21744
21738
  },
21745
21739
  {
21746
21740
  type: FormElementType.Radio,
21747
- label: t("educationRelatedSubQ4"),
21741
+ label: t("unfcccSdTool:educationRelatedSubQ4"),
21748
21742
  name: "educationRelatedSubQ4",
21749
21743
  },
21750
21744
  ],
21751
21745
  },
21752
21746
  {
21753
- title: t("welfare"),
21754
- label: t("welfareRelatedMainQ"),
21747
+ title: t("unfcccSdTool:welfare"),
21748
+ label: t("unfcccSdTool:welfareRelatedMainQ"),
21755
21749
  name: "welfareRelatedMainQ",
21756
21750
  subItems: [
21757
21751
  {
21758
21752
  type: FormElementType.Radio,
21759
- label: t("welfareRelatedSubQ1"),
21753
+ label: t("unfcccSdTool:welfareRelatedSubQ1"),
21760
21754
  name: "welfareRelatedSubQ1",
21761
21755
  },
21762
21756
  {
21763
21757
  type: FormElementType.Radio,
21764
- label: t("welfareRelatedSubQ2"),
21758
+ label: t("unfcccSdTool:welfareRelatedSubQ2"),
21765
21759
  name: "welfareRelatedSubQ2",
21766
21760
  },
21767
21761
  {
21768
21762
  type: FormElementType.Radio,
21769
- label: t("welfareRelatedSubQ3"),
21763
+ label: t("unfcccSdTool:welfareRelatedSubQ3"),
21770
21764
  name: "welfareRelatedSubQ3",
21771
21765
  },
21772
21766
  {
21773
21767
  type: FormElementType.Radio,
21774
- label: t("welfareRelatedSubQ4"),
21768
+ label: t("unfcccSdTool:welfareRelatedSubQ4"),
21775
21769
  name: "welfareRelatedSubQ4",
21776
21770
  },
21777
21771
  {
21778
21772
  type: FormElementType.Radio,
21779
- label: t("welfareRelatedSubQ5"),
21773
+ label: t("unfcccSdTool:welfareRelatedSubQ5"),
21780
21774
  name: "welfareRelatedSubQ5",
21781
21775
  },
21782
21776
  {
21783
21777
  type: FormElementType.Radio,
21784
- label: t("welfareRelatedSubQ6"),
21778
+ label: t("unfcccSdTool:welfareRelatedSubQ6"),
21785
21779
  name: "welfareRelatedSubQ6",
21786
21780
  },
21787
21781
  {
21788
21782
  type: FormElementType.Radio,
21789
- label: t("welfareRelatedSubQ7"),
21783
+ label: t("unfcccSdTool:welfareRelatedSubQ7"),
21790
21784
  name: "welfareRelatedSubQ7",
21791
21785
  },
21792
21786
  {
21793
21787
  type: FormElementType.Radio,
21794
- label: t("welfareRelatedSubQ8"),
21788
+ label: t("unfcccSdTool:welfareRelatedSubQ8"),
21795
21789
  name: "welfareRelatedSubQ8",
21796
21790
  },
21797
21791
  ],
@@ -21850,7 +21844,7 @@ var Social = function (props) {
21850
21844
  React.createElement(Col, { span: 24 },
21851
21845
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21852
21846
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21853
- React.createElement("span", null, t("social"))))),
21847
+ React.createElement("span", null, t("unfcccSdTool:social"))))),
21854
21848
  viewOnly && !socialViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
21855
21849
  ((viewOnly && socialViewData) || !viewOnly) && (React.createElement(Form, { name: "socialDetails", labelWrap: true, form: form, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", onValuesChange: onSocialValuesChanged }, SocialElementDetails.map(function (element) {
21856
21850
  return (React.createElement(React.Fragment, null,
@@ -21861,11 +21855,11 @@ var Social = function (props) {
21861
21855
  React.createElement(Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
21862
21856
  React.createElement(Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
21863
21857
  React.createElement("div", { className: "radio-container" },
21864
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
21858
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21865
21859
  React.createElement("div", { className: "radio-container" },
21866
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
21860
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21867
21861
  React.createElement("div", { className: "radio-container" },
21868
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))),
21862
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))),
21869
21863
  form.getFieldValue(element.name) ===
21870
21864
  RadioButtonStatus.YES &&
21871
21865
  element.subItems.map(function (elementItem) {
@@ -21878,11 +21872,11 @@ var Social = function (props) {
21878
21872
  ] },
21879
21873
  React.createElement(Radio.Group, { size: "middle" },
21880
21874
  React.createElement("div", { className: "radio-container" },
21881
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
21875
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21882
21876
  React.createElement("div", { className: "radio-container" },
21883
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
21877
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21884
21878
  React.createElement("div", { className: "radio-container" },
21885
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))));
21879
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))));
21886
21880
  }
21887
21881
  else if (elementItem.type === FormElementType.Input) {
21888
21882
  return (React.createElement(Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
@@ -21918,89 +21912,88 @@ var Social = function (props) {
21918
21912
 
21919
21913
  var SocialEnvironmentalRisk = function (props) {
21920
21914
  var onFormSubmit = props.onFormSubmit, SocialEnvironmentalRiskData = props.SocialEnvironmentalRiskData, viewOnly = props.viewOnly, translator = props.translator;
21921
- translator.setDefaultNamespace("socialEnvironmentalRisk");
21922
21915
  var t = translator.t;
21923
21916
  var form = Form.useForm()[0];
21924
21917
  var _a = useState(), socialEnvironmentalFormDetails = _a[0], setSocialEnvironmentalFormDetails = _a[1];
21925
21918
  var _b = useState([
21926
21919
  {
21927
- title: t("humanRightsSubHeader"),
21920
+ title: t("socialEnvironmentalRisk:humanRightsSubHeader"),
21928
21921
  isTitleVisible: true,
21929
21922
  subItems: [
21930
21923
  {
21931
- title: t("humanRights"),
21924
+ title: t("socialEnvironmentalRisk:humanRights"),
21932
21925
  isTitleVisible: true,
21933
21926
  subItems: [
21934
21927
  {
21935
- label: t("humanRightsQ1"),
21928
+ label: t("socialEnvironmentalRisk:humanRightsQ1"),
21936
21929
  name: "humanRightsQ1",
21937
21930
  },
21938
21931
  {
21939
- label: t("humanRightsQ2"),
21932
+ label: t("socialEnvironmentalRisk:humanRightsQ2"),
21940
21933
  name: "humanRightsQ2",
21941
21934
  },
21942
21935
  {
21943
- label: t("humanRightsQ3"),
21936
+ label: t("socialEnvironmentalRisk:humanRightsQ3"),
21944
21937
  name: "humanRightsQ3",
21945
21938
  },
21946
21939
  {
21947
- label: t("humanRightsQ4"),
21940
+ label: t("socialEnvironmentalRisk:humanRightsQ4"),
21948
21941
  name: "humanRightsQ4",
21949
21942
  },
21950
21943
  {
21951
- label: t("humanRightsQ5"),
21944
+ label: t("socialEnvironmentalRisk:humanRightsQ5"),
21952
21945
  name: "humanRightsQ5",
21953
21946
  },
21954
21947
  {
21955
- label: t("humanRightsQ6"),
21948
+ label: t("socialEnvironmentalRisk:humanRightsQ6"),
21956
21949
  name: "humanRightsQ6",
21957
21950
  },
21958
21951
  {
21959
- label: t("humanRightsQ7"),
21952
+ label: t("socialEnvironmentalRisk:humanRightsQ7"),
21960
21953
  name: "humanRightsQ7",
21961
21954
  },
21962
21955
  ],
21963
21956
  },
21964
21957
  {
21965
- title: t("genderEqalityWomenEmpower"),
21958
+ title: t("socialEnvironmentalRisk:genderEqalityWomenEmpower"),
21966
21959
  isTitleVisible: true,
21967
21960
  subItems: [
21968
21961
  {
21969
- label: t("genderEqalityWomenEmpowerQ1"),
21962
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ1"),
21970
21963
  name: "genderEqalityWomenEmpowerQ1",
21971
21964
  },
21972
21965
  {
21973
- label: t("genderEqalityWomenEmpowerQ2"),
21966
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ2"),
21974
21967
  name: "genderEqalityWomenEmpowerQ2",
21975
21968
  },
21976
21969
  {
21977
- label: t("genderEqalityWomenEmpowerQ3"),
21970
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ3"),
21978
21971
  name: "genderEqalityWomenEmpowerQ3",
21979
21972
  },
21980
21973
  {
21981
- label: t("genderEqalityWomenEmpowerQ4"),
21974
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ4"),
21982
21975
  name: "genderEqalityWomenEmpowerQ4",
21983
21976
  },
21984
21977
  {
21985
- label: t("genderEqalityWomenEmpowerQ5"),
21978
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ5"),
21986
21979
  name: "genderEqalityWomenEmpowerQ5",
21987
21980
  },
21988
21981
  ],
21989
21982
  },
21990
21983
  {
21991
- title: t("accountability"),
21984
+ title: t("socialEnvironmentalRisk:accountability"),
21992
21985
  isTitleVisible: true,
21993
21986
  subItems: [
21994
21987
  {
21995
- label: t("accountabilityQ1"),
21988
+ label: t("socialEnvironmentalRisk:accountabilityQ1"),
21996
21989
  name: "accountabilityQ1",
21997
21990
  },
21998
21991
  {
21999
- label: t("accountabilityQ2"),
21992
+ label: t("socialEnvironmentalRisk:accountabilityQ2"),
22000
21993
  name: "AccountabilityQ2",
22001
21994
  },
22002
21995
  {
22003
- label: t("accountabilityQ3"),
21996
+ label: t("socialEnvironmentalRisk:accountabilityQ3"),
22004
21997
  name: "accountabilityQ3",
22005
21998
  },
22006
21999
  ],
@@ -22008,277 +22001,277 @@ var SocialEnvironmentalRisk = function (props) {
22008
22001
  ],
22009
22002
  },
22010
22003
  {
22011
- title: t("standardSubHeader"),
22004
+ title: t("socialEnvironmentalRisk:standardSubHeader"),
22012
22005
  isTitleVisible: true,
22013
22006
  subItems: [
22014
22007
  {
22015
- title: t("standard1"),
22008
+ title: t("socialEnvironmentalRisk:standard1"),
22016
22009
  isTitleVisible: true,
22017
22010
  subItems: [
22018
22011
  {
22019
- label: t("standard1Q1"),
22012
+ label: t("socialEnvironmentalRisk:standard1Q1"),
22020
22013
  name: "standard1Q1",
22021
22014
  },
22022
22015
  {
22023
- label: t("standard1Q2"),
22016
+ label: t("socialEnvironmentalRisk:standard1Q2"),
22024
22017
  name: "standard1Q2",
22025
22018
  },
22026
22019
  {
22027
- label: t("standard1Q3"),
22020
+ label: t("socialEnvironmentalRisk:standard1Q3"),
22028
22021
  name: "standard1Q3",
22029
22022
  },
22030
22023
  {
22031
- label: t("standard1Q4"),
22024
+ label: t("socialEnvironmentalRisk:standard1Q4"),
22032
22025
  name: "standard1Q4",
22033
22026
  },
22034
22027
  {
22035
- label: t("standard1Q5"),
22028
+ label: t("socialEnvironmentalRisk:standard1Q5"),
22036
22029
  name: "standard1Q5",
22037
22030
  },
22038
22031
  {
22039
- label: t("standard1Q6"),
22032
+ label: t("socialEnvironmentalRisk:standard1Q6"),
22040
22033
  name: "standard1Q6",
22041
22034
  },
22042
22035
  {
22043
- label: t("standard1Q7"),
22036
+ label: t("socialEnvironmentalRisk:standard1Q7"),
22044
22037
  name: "standard1Q7",
22045
22038
  },
22046
22039
  {
22047
- label: t("standard1Q8"),
22040
+ label: t("socialEnvironmentalRisk:standard1Q8"),
22048
22041
  name: "standard1Q8",
22049
22042
  },
22050
22043
  {
22051
- label: t("standard1Q9"),
22044
+ label: t("socialEnvironmentalRisk:standard1Q9"),
22052
22045
  name: "standard1Q9",
22053
22046
  },
22054
22047
  {
22055
- label: t("standard1Q10"),
22048
+ label: t("socialEnvironmentalRisk:standard1Q10"),
22056
22049
  name: "standard1Q10",
22057
22050
  },
22058
22051
  {
22059
- label: t("standard1Q11"),
22052
+ label: t("socialEnvironmentalRisk:standard1Q11"),
22060
22053
  name: "standard1Q11",
22061
22054
  },
22062
22055
  {
22063
- label: t("standard1Q12"),
22056
+ label: t("socialEnvironmentalRisk:standard1Q12"),
22064
22057
  name: "standard1Q12",
22065
22058
  },
22066
22059
  {
22067
- label: t("standard1Q13"),
22060
+ label: t("socialEnvironmentalRisk:standard1Q13"),
22068
22061
  name: "standard1Q13",
22069
22062
  },
22070
22063
  {
22071
- label: t("standard1Q14"),
22064
+ label: t("socialEnvironmentalRisk:standard1Q14"),
22072
22065
  name: "standard1Q14",
22073
22066
  },
22074
22067
  ],
22075
22068
  },
22076
22069
  {
22077
- title: t("standard2"),
22070
+ title: t("socialEnvironmentalRisk:standard2"),
22078
22071
  isTitleVisible: true,
22079
22072
  subItems: [
22080
22073
  {
22081
- label: t("standard2Q1"),
22074
+ label: t("socialEnvironmentalRisk:standard2Q1"),
22082
22075
  name: "standard2Q1",
22083
22076
  },
22084
22077
  {
22085
- label: t("standard2Q2"),
22078
+ label: t("socialEnvironmentalRisk:standard2Q2"),
22086
22079
  name: "standard2Q2",
22087
22080
  },
22088
22081
  {
22089
- label: t("standard2Q3"),
22082
+ label: t("socialEnvironmentalRisk:standard2Q3"),
22090
22083
  name: "standard2Q3",
22091
22084
  },
22092
22085
  {
22093
- label: t("standard2Q4"),
22086
+ label: t("socialEnvironmentalRisk:standard2Q4"),
22094
22087
  name: "standard2Q4",
22095
22088
  },
22096
22089
  ],
22097
22090
  },
22098
22091
  {
22099
- title: t("standard3"),
22092
+ title: t("socialEnvironmentalRisk:standard3"),
22100
22093
  isTitleVisible: true,
22101
22094
  subItems: [
22102
22095
  {
22103
- label: t("standard3Q1"),
22096
+ label: t("socialEnvironmentalRisk:standard3Q1"),
22104
22097
  name: "standard3Q1",
22105
22098
  },
22106
22099
  {
22107
- label: t("standard3Q2"),
22100
+ label: t("socialEnvironmentalRisk:standard3Q2"),
22108
22101
  name: "standard3Q2",
22109
22102
  },
22110
22103
  {
22111
- label: t("standard3Q3"),
22104
+ label: t("socialEnvironmentalRisk:standard3Q3"),
22112
22105
  name: "standard3Q3",
22113
22106
  },
22114
22107
  {
22115
- label: t("standard3Q4"),
22108
+ label: t("socialEnvironmentalRisk:standard3Q4"),
22116
22109
  name: "standard3Q4",
22117
22110
  },
22118
22111
  {
22119
- label: t("standard3Q5"),
22112
+ label: t("socialEnvironmentalRisk:standard3Q5"),
22120
22113
  name: "standard3Q5",
22121
22114
  },
22122
22115
  {
22123
- label: t("standard3Q6"),
22116
+ label: t("socialEnvironmentalRisk:standard3Q6"),
22124
22117
  name: "standard3Q6",
22125
22118
  },
22126
22119
  {
22127
- label: t("standard3Q7"),
22120
+ label: t("socialEnvironmentalRisk:standard3Q7"),
22128
22121
  name: "standard3Q7",
22129
22122
  },
22130
22123
  {
22131
- label: t("standard3Q8"),
22124
+ label: t("socialEnvironmentalRisk:standard3Q8"),
22132
22125
  name: "standard3Q8",
22133
22126
  },
22134
22127
  ],
22135
22128
  },
22136
22129
  {
22137
- title: t("standard4"),
22130
+ title: t("socialEnvironmentalRisk:standard4"),
22138
22131
  isTitleVisible: true,
22139
22132
  subItems: [
22140
22133
  {
22141
- label: t("standard4Q1"),
22134
+ label: t("socialEnvironmentalRisk:standard4Q1"),
22142
22135
  name: "standard4Q1",
22143
22136
  },
22144
22137
  {
22145
- label: t("standard4Q2"),
22138
+ label: t("socialEnvironmentalRisk:standard4Q2"),
22146
22139
  name: "standard4Q2",
22147
22140
  },
22148
22141
  {
22149
- label: t("standard4Q3"),
22142
+ label: t("socialEnvironmentalRisk:standard4Q3"),
22150
22143
  name: "standard4Q3",
22151
22144
  },
22152
22145
  {
22153
- label: t("standard4Q4"),
22146
+ label: t("socialEnvironmentalRisk:standard4Q4"),
22154
22147
  name: "standard4Q4",
22155
22148
  },
22156
22149
  {
22157
- label: t("standard4Q5"),
22150
+ label: t("socialEnvironmentalRisk:standard4Q5"),
22158
22151
  name: "standard4Q5",
22159
22152
  },
22160
22153
  ],
22161
22154
  },
22162
22155
  {
22163
- title: t("standard5"),
22156
+ title: t("socialEnvironmentalRisk:standard5"),
22164
22157
  isTitleVisible: true,
22165
22158
  subItems: [
22166
22159
  {
22167
- label: t("standard5Q1"),
22160
+ label: t("socialEnvironmentalRisk:standard5Q1"),
22168
22161
  name: "standard5Q1",
22169
22162
  },
22170
22163
  {
22171
- label: t("standard5Q2"),
22164
+ label: t("socialEnvironmentalRisk:standard5Q2"),
22172
22165
  name: "standard5Q2",
22173
22166
  },
22174
22167
  {
22175
- label: t("standard5Q3"),
22168
+ label: t("socialEnvironmentalRisk:standard5Q3"),
22176
22169
  name: "standard5Q3",
22177
22170
  },
22178
22171
  {
22179
- label: t("standard5Q4"),
22172
+ label: t("socialEnvironmentalRisk:standard5Q4"),
22180
22173
  name: "standard5Q4",
22181
22174
  },
22182
22175
  ],
22183
22176
  },
22184
22177
  {
22185
- title: t("standard6"),
22178
+ title: t("socialEnvironmentalRisk:standard6"),
22186
22179
  isTitleVisible: true,
22187
22180
  subItems: [
22188
22181
  {
22189
- label: t("standard6Q1"),
22182
+ label: t("socialEnvironmentalRisk:standard6Q1"),
22190
22183
  name: "standard6Q1",
22191
22184
  },
22192
22185
  {
22193
- label: t("standard6Q2"),
22186
+ label: t("socialEnvironmentalRisk:standard6Q2"),
22194
22187
  name: "standard6Q2",
22195
22188
  },
22196
22189
  {
22197
- label: t("standard6Q3"),
22190
+ label: t("socialEnvironmentalRisk:standard6Q3"),
22198
22191
  name: "standard6Q3",
22199
22192
  },
22200
22193
  {
22201
- label: t("standard6Q4"),
22194
+ label: t("socialEnvironmentalRisk:standard6Q4"),
22202
22195
  name: "standard6Q4",
22203
22196
  },
22204
22197
  {
22205
- label: t("standard6Q5"),
22198
+ label: t("socialEnvironmentalRisk:standard6Q5"),
22206
22199
  name: "standard6Q5",
22207
22200
  },
22208
22201
  {
22209
- label: t("standard6Q6"),
22202
+ label: t("socialEnvironmentalRisk:standard6Q6"),
22210
22203
  name: "standard6Q6",
22211
22204
  },
22212
22205
  {
22213
- label: t("standard6Q7"),
22206
+ label: t("socialEnvironmentalRisk:standard6Q7"),
22214
22207
  name: "standard6Q7",
22215
22208
  },
22216
22209
  {
22217
- label: t("standard6Q8"),
22210
+ label: t("socialEnvironmentalRisk:standard6Q8"),
22218
22211
  name: "standard6Q8",
22219
22212
  },
22220
22213
  {
22221
- label: t("standard6Q9"),
22214
+ label: t("socialEnvironmentalRisk:standard6Q9"),
22222
22215
  name: "standard6Q9",
22223
22216
  },
22224
22217
  ],
22225
22218
  },
22226
22219
  {
22227
- title: t("standard7"),
22220
+ title: t("socialEnvironmentalRisk:standard7"),
22228
22221
  isTitleVisible: true,
22229
22222
  subItems: [
22230
22223
  {
22231
- label: t("standard7Q1"),
22224
+ label: t("socialEnvironmentalRisk:standard7Q1"),
22232
22225
  name: "standard7Q1",
22233
22226
  },
22234
22227
  {
22235
- label: t("standard7Q2"),
22228
+ label: t("socialEnvironmentalRisk:standard7Q2"),
22236
22229
  name: "standard7Q2",
22237
22230
  },
22238
22231
  {
22239
- label: t("standard7Q3"),
22232
+ label: t("socialEnvironmentalRisk:standard7Q3"),
22240
22233
  name: "standard7Q3",
22241
22234
  },
22242
22235
  {
22243
- label: t("standard7Q4"),
22236
+ label: t("socialEnvironmentalRisk:standard7Q4"),
22244
22237
  name: "standard7Q4",
22245
22238
  },
22246
22239
  {
22247
- label: t("standard7Q5"),
22240
+ label: t("socialEnvironmentalRisk:standard7Q5"),
22248
22241
  name: "standard7Q5",
22249
22242
  },
22250
22243
  {
22251
- label: t("standard7Q6"),
22244
+ label: t("socialEnvironmentalRisk:standard7Q6"),
22252
22245
  name: "standard7Q6",
22253
22246
  },
22254
22247
  ],
22255
22248
  },
22256
22249
  {
22257
- title: t("standard8"),
22250
+ title: t("socialEnvironmentalRisk:standard8"),
22258
22251
  isTitleVisible: true,
22259
22252
  subItems: [
22260
22253
  {
22261
- label: t("standard8Q1"),
22254
+ label: t("socialEnvironmentalRisk:standard8Q1"),
22262
22255
  name: "standard8Q1",
22263
22256
  },
22264
22257
  {
22265
- label: t("standard8Q2"),
22258
+ label: t("socialEnvironmentalRisk:standard8Q2"),
22266
22259
  name: "standard8Q2",
22267
22260
  },
22268
22261
  {
22269
- label: t("standard8Q3"),
22262
+ label: t("socialEnvironmentalRisk:standard8Q3"),
22270
22263
  name: "standard8Q3",
22271
22264
  },
22272
22265
  {
22273
- label: t("standard8Q4"),
22266
+ label: t("socialEnvironmentalRisk:standard8Q4"),
22274
22267
  name: "standard8Q4",
22275
22268
  },
22276
22269
  {
22277
- label: t("standard8Q5"),
22270
+ label: t("socialEnvironmentalRisk:standard8Q5"),
22278
22271
  name: "standard8Q5",
22279
22272
  },
22280
22273
  {
22281
- label: t("standard8Q6"),
22274
+ label: t("socialEnvironmentalRisk:standard8Q6"),
22282
22275
  name: "standard8Q6",
22283
22276
  },
22284
22277
  ],
@@ -22339,9 +22332,9 @@ var SocialEnvironmentalRisk = function (props) {
22339
22332
  return (React.createElement(Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
22340
22333
  React.createElement(Radio.Group, { size: "middle" },
22341
22334
  React.createElement("div", { className: "radio-container" },
22342
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
22335
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("socialEnvironmentalRisk:yes"))),
22343
22336
  React.createElement("div", { className: "radio-container" },
22344
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))))));
22337
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("socialEnvironmentalRisk:no"))))));
22345
22338
  })));
22346
22339
  })));
22347
22340
  }),
@@ -22373,7 +22366,6 @@ var CoBenifitsComponent = function (props) {
22373
22366
  var _b = useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
22374
22367
  var _c = useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
22375
22368
  var _d = useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
22376
- translator.setDefaultNamespace("coBenifits");
22377
22369
  var t = translator.t;
22378
22370
  var onSdgGoalsFormSubmit = function (sdgGoalsDetails) {
22379
22371
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });