@undp/carbon-library 1.0.302-CARBON-337.0 → 1.0.302-CARBON-433.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +151 -148
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +151 -148
- package/dist/esm/index.js.map +1 -1
- package/dist/locales/i18n/coBenifits/en.json +1 -104
- package/dist/locales/i18n/programme/en.json +1 -1
- package/dist/locales/i18n/programme/es.json +2 -1
- package/dist/locales/i18n/programme/fr.json +2 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -17706,7 +17706,7 @@ var InvestmentManagementComponent = function (props) {
|
|
17706
17706
|
return handleTableChange(val, sorter);
|
17707
17707
|
}, locale: {
|
17708
17708
|
emptyText: (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE, description: tableData.length === 0
|
17709
|
-
? t("programme:
|
17709
|
+
? t("programme:noinvestment")
|
17710
17710
|
: null })),
|
17711
17711
|
} }))))),
|
17712
17712
|
popupInfo && selectedReq && (React.createElement(InvestmentActionModel, { investment: selectedReq, onCancel: function () {
|
@@ -21032,203 +21032,204 @@ var Safeguards = function (props) {
|
|
21032
21032
|
|
21033
21033
|
var Environmental = function (props) {
|
21034
21034
|
var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21035
|
-
|
21035
|
+
translator.setDefaultNamespace("unfcccSdTool");
|
21036
|
+
var t = translator.t;
|
21036
21037
|
var environmentalDetailsInitial = [
|
21037
21038
|
{
|
21038
|
-
section: t("
|
21039
|
+
section: t("air"),
|
21039
21040
|
fields: [
|
21040
21041
|
{
|
21041
21042
|
name: "airQ1",
|
21042
|
-
label: t("
|
21043
|
+
label: t("airQ1"),
|
21043
21044
|
hide: false,
|
21044
21045
|
required: false,
|
21045
21046
|
},
|
21046
21047
|
{
|
21047
21048
|
name: "airQ2",
|
21048
|
-
label: t("
|
21049
|
+
label: t("airQ2"),
|
21049
21050
|
hide: true,
|
21050
21051
|
required: true,
|
21051
21052
|
},
|
21052
21053
|
{
|
21053
21054
|
name: "airQ3",
|
21054
|
-
label: t("
|
21055
|
+
label: t("airQ3"),
|
21055
21056
|
hide: true,
|
21056
21057
|
required: true,
|
21057
21058
|
},
|
21058
21059
|
{
|
21059
21060
|
name: "airQ4",
|
21060
|
-
label: t("
|
21061
|
+
label: t("airQ4"),
|
21061
21062
|
hide: true,
|
21062
21063
|
required: true,
|
21063
21064
|
},
|
21064
21065
|
{
|
21065
21066
|
name: "airQ5",
|
21066
|
-
label: t("
|
21067
|
+
label: t("airQ5"),
|
21067
21068
|
hide: true,
|
21068
21069
|
required: true,
|
21069
21070
|
},
|
21070
21071
|
{
|
21071
21072
|
name: "airQ6",
|
21072
|
-
label: t("
|
21073
|
+
label: t("airQ6"),
|
21073
21074
|
hide: true,
|
21074
21075
|
required: true,
|
21075
21076
|
},
|
21076
21077
|
{
|
21077
21078
|
name: "airQ7",
|
21078
|
-
label: t("
|
21079
|
+
label: t("airQ7"),
|
21079
21080
|
hide: true,
|
21080
21081
|
required: true,
|
21081
21082
|
},
|
21082
21083
|
{
|
21083
21084
|
name: "airQ8",
|
21084
|
-
label: t("
|
21085
|
+
label: t("airQ8"),
|
21085
21086
|
hide: true,
|
21086
21087
|
required: true,
|
21087
21088
|
},
|
21088
21089
|
{
|
21089
21090
|
name: "airQ9",
|
21090
|
-
label: t("
|
21091
|
+
label: t("airQ9"),
|
21091
21092
|
hide: true,
|
21092
21093
|
required: true,
|
21093
21094
|
},
|
21094
21095
|
],
|
21095
21096
|
},
|
21096
21097
|
{
|
21097
|
-
section: t("
|
21098
|
+
section: t("land"),
|
21098
21099
|
fields: [
|
21099
21100
|
{
|
21100
21101
|
name: "landQ1",
|
21101
|
-
label: t("
|
21102
|
+
label: t("landQ1"),
|
21102
21103
|
hide: false,
|
21103
21104
|
required: false,
|
21104
21105
|
},
|
21105
21106
|
{
|
21106
21107
|
name: "landQ2",
|
21107
|
-
label: t("
|
21108
|
+
label: t("landQ2"),
|
21108
21109
|
hide: true,
|
21109
21110
|
required: true,
|
21110
21111
|
},
|
21111
21112
|
{
|
21112
21113
|
name: "landQ3",
|
21113
|
-
label: t("
|
21114
|
+
label: t("landQ3"),
|
21114
21115
|
hide: true,
|
21115
21116
|
required: true,
|
21116
21117
|
},
|
21117
21118
|
{
|
21118
21119
|
name: "landQ4",
|
21119
|
-
label: t("
|
21120
|
+
label: t("landQ4"),
|
21120
21121
|
hide: true,
|
21121
21122
|
required: true,
|
21122
21123
|
},
|
21123
21124
|
{
|
21124
21125
|
name: "landQ5",
|
21125
|
-
label: t("
|
21126
|
+
label: t("landQ5"),
|
21126
21127
|
hide: true,
|
21127
21128
|
required: true,
|
21128
21129
|
},
|
21129
21130
|
{
|
21130
21131
|
name: "landQ6",
|
21131
|
-
label: t("
|
21132
|
+
label: t("landQ6"),
|
21132
21133
|
hide: true,
|
21133
21134
|
required: true,
|
21134
21135
|
},
|
21135
21136
|
{
|
21136
21137
|
name: "landQ7",
|
21137
|
-
label: t("
|
21138
|
+
label: t("landQ7"),
|
21138
21139
|
hide: true,
|
21139
21140
|
required: true,
|
21140
21141
|
},
|
21141
21142
|
{
|
21142
21143
|
name: "landQ8",
|
21143
|
-
label: t("
|
21144
|
+
label: t("landQ8"),
|
21144
21145
|
hide: true,
|
21145
21146
|
required: true,
|
21146
21147
|
},
|
21147
21148
|
],
|
21148
21149
|
},
|
21149
21150
|
{
|
21150
|
-
section: t("
|
21151
|
+
section: t("water"),
|
21151
21152
|
fields: [
|
21152
21153
|
{
|
21153
21154
|
name: "waterQ1",
|
21154
|
-
label: t("
|
21155
|
+
label: t("waterQ1"),
|
21155
21156
|
hide: false,
|
21156
21157
|
required: false,
|
21157
21158
|
},
|
21158
21159
|
{
|
21159
21160
|
name: "waterQ2",
|
21160
|
-
label: t("
|
21161
|
+
label: t("waterQ2"),
|
21161
21162
|
hide: true,
|
21162
21163
|
required: true,
|
21163
21164
|
},
|
21164
21165
|
{
|
21165
21166
|
name: "waterQ3",
|
21166
|
-
label: t("
|
21167
|
+
label: t("waterQ3"),
|
21167
21168
|
hide: true,
|
21168
21169
|
required: true,
|
21169
21170
|
},
|
21170
21171
|
{
|
21171
21172
|
name: "waterQ4",
|
21172
|
-
label: t("
|
21173
|
+
label: t("waterQ4"),
|
21173
21174
|
hide: true,
|
21174
21175
|
required: true,
|
21175
21176
|
},
|
21176
21177
|
{
|
21177
21178
|
name: "waterQ5",
|
21178
|
-
label: t("
|
21179
|
+
label: t("waterQ5"),
|
21179
21180
|
hide: true,
|
21180
21181
|
required: true,
|
21181
21182
|
},
|
21182
21183
|
{
|
21183
21184
|
name: "waterQ6",
|
21184
|
-
label: t("
|
21185
|
+
label: t("waterQ6"),
|
21185
21186
|
hide: true,
|
21186
21187
|
required: true,
|
21187
21188
|
},
|
21188
21189
|
{
|
21189
21190
|
name: "waterQ7",
|
21190
|
-
label: t("
|
21191
|
+
label: t("waterQ7"),
|
21191
21192
|
hide: true,
|
21192
21193
|
required: true,
|
21193
21194
|
},
|
21194
21195
|
],
|
21195
21196
|
},
|
21196
21197
|
{
|
21197
|
-
section: t("
|
21198
|
+
section: t("naturalResource"),
|
21198
21199
|
fields: [
|
21199
21200
|
{
|
21200
21201
|
name: "naturalResourceQ1",
|
21201
|
-
label: t("
|
21202
|
+
label: t("naturalResourceQ1"),
|
21202
21203
|
hide: false,
|
21203
21204
|
required: false,
|
21204
21205
|
},
|
21205
21206
|
{
|
21206
21207
|
name: "naturalResourceQ2",
|
21207
|
-
label: t("
|
21208
|
+
label: t("naturalResourceQ2"),
|
21208
21209
|
hide: true,
|
21209
21210
|
required: true,
|
21210
21211
|
},
|
21211
21212
|
{
|
21212
21213
|
name: "naturalResourceQ3",
|
21213
|
-
label: t("
|
21214
|
+
label: t("naturalResourceQ3"),
|
21214
21215
|
hide: true,
|
21215
21216
|
required: true,
|
21216
21217
|
},
|
21217
21218
|
{
|
21218
21219
|
name: "naturalResourceQ4",
|
21219
|
-
label: t("
|
21220
|
+
label: t("naturalResourceQ4"),
|
21220
21221
|
hide: true,
|
21221
21222
|
required: true,
|
21222
21223
|
},
|
21223
21224
|
{
|
21224
21225
|
name: "naturalResourceQ5",
|
21225
|
-
label: t("
|
21226
|
+
label: t("naturalResourceQ5"),
|
21226
21227
|
hide: true,
|
21227
21228
|
required: true,
|
21228
21229
|
},
|
21229
21230
|
{
|
21230
21231
|
name: "naturalResourceQ6",
|
21231
|
-
label: t("
|
21232
|
+
label: t("naturalResourceQ6"),
|
21232
21233
|
hide: true,
|
21233
21234
|
required: true,
|
21234
21235
|
},
|
@@ -21246,7 +21247,7 @@ var Environmental = function (props) {
|
|
21246
21247
|
if (changedFieldName.includes("1")) {
|
21247
21248
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
21248
21249
|
var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
|
21249
|
-
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(
|
21250
|
+
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
21250
21251
|
updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
|
21251
21252
|
if (field.name !== changedFieldName) {
|
21252
21253
|
field.hide = changedFieldValue !== exports.RadioButtonStatus.YES;
|
@@ -21265,35 +21266,35 @@ var Environmental = function (props) {
|
|
21265
21266
|
if (environmentalViewData && viewOnly === true) {
|
21266
21267
|
var updatedEnvironmentalData = [
|
21267
21268
|
{
|
21268
|
-
section: t("
|
21269
|
+
section: t("air"),
|
21269
21270
|
fields: [],
|
21270
21271
|
},
|
21271
21272
|
{
|
21272
|
-
section: t("
|
21273
|
+
section: t("land"),
|
21273
21274
|
fields: [],
|
21274
21275
|
},
|
21275
21276
|
{
|
21276
|
-
section: t("
|
21277
|
+
section: t("water"),
|
21277
21278
|
fields: [],
|
21278
21279
|
},
|
21279
21280
|
{
|
21280
|
-
section: t("
|
21281
|
+
section: t("naturalResource"),
|
21281
21282
|
fields: [],
|
21282
21283
|
},
|
21283
21284
|
];
|
21284
21285
|
var _loop_1 = function (key) {
|
21285
21286
|
var section = "";
|
21286
21287
|
if (String(key).includes("air")) {
|
21287
|
-
section = t("
|
21288
|
+
section = t("air");
|
21288
21289
|
}
|
21289
21290
|
else if (String(key).includes("land")) {
|
21290
|
-
section = t("
|
21291
|
+
section = t("land");
|
21291
21292
|
}
|
21292
21293
|
else if (String(key).includes("water")) {
|
21293
|
-
section = t("
|
21294
|
+
section = t("water");
|
21294
21295
|
}
|
21295
21296
|
else if (String(key).includes("naturalResource")) {
|
21296
|
-
section = t("
|
21297
|
+
section = t("naturalResource");
|
21297
21298
|
}
|
21298
21299
|
var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
|
21299
21300
|
if (environmentalItem) {
|
@@ -21321,11 +21322,11 @@ var Environmental = function (props) {
|
|
21321
21322
|
React.createElement(antd.Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
21322
21323
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21323
21324
|
React.createElement("span", null,
|
21324
|
-
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("
|
21325
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
|
21325
21326
|
React.createElement(antd.Col, { span: 24 },
|
21326
21327
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21327
21328
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21328
|
-
React.createElement("span", null, t("
|
21329
|
+
React.createElement("span", null, t("environmental"))),
|
21329
21330
|
React.createElement(antd.Col, { span: 24 },
|
21330
21331
|
React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
|
21331
21332
|
(environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.length) === 0 && (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE })), environmentalDetails === null || environmentalDetails === void 0 ? void 0 :
|
@@ -21338,188 +21339,189 @@ var Environmental = function (props) {
|
|
21338
21339
|
{
|
21339
21340
|
required: field === null || field === void 0 ? void 0 : field.required,
|
21340
21341
|
message: (field === null || field === void 0 ? void 0 : field.required) &&
|
21341
|
-
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("
|
21342
|
+
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
|
21342
21343
|
},
|
21343
21344
|
] },
|
21344
21345
|
React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
|
21345
21346
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
21346
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
21347
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes")))),
|
21347
21348
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
21348
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
21349
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no")))),
|
21349
21350
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
21350
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
21351
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
21351
21352
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21352
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
21353
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
21353
21354
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21354
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
21355
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
21355
21356
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21356
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
21357
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na"))))))));
|
21357
21358
|
})));
|
21358
21359
|
})))));
|
21359
21360
|
};
|
21360
21361
|
|
21361
21362
|
var Economic = function (props) {
|
21362
21363
|
var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21363
|
-
|
21364
|
+
translator.setDefaultNamespace("unfcccSdTool");
|
21365
|
+
var t = translator.t;
|
21364
21366
|
var economicDetailsInitial = [
|
21365
21367
|
{
|
21366
|
-
section: t("
|
21368
|
+
section: t("growth"),
|
21367
21369
|
fields: [
|
21368
21370
|
{
|
21369
21371
|
name: "growthQ1",
|
21370
|
-
label: t("
|
21372
|
+
label: t("growthQ1"),
|
21371
21373
|
hide: false,
|
21372
21374
|
required: false,
|
21373
21375
|
},
|
21374
21376
|
{
|
21375
21377
|
name: "growthQ2",
|
21376
|
-
label: t("
|
21378
|
+
label: t("growthQ2"),
|
21377
21379
|
hide: true,
|
21378
21380
|
required: true,
|
21379
21381
|
},
|
21380
21382
|
{
|
21381
21383
|
name: "growthQ3",
|
21382
|
-
label: t("
|
21384
|
+
label: t("growthQ3"),
|
21383
21385
|
hide: true,
|
21384
21386
|
required: true,
|
21385
21387
|
},
|
21386
21388
|
{
|
21387
21389
|
name: "growthQ4",
|
21388
|
-
label: t("
|
21390
|
+
label: t("growthQ4"),
|
21389
21391
|
hide: true,
|
21390
21392
|
required: true,
|
21391
21393
|
},
|
21392
21394
|
{
|
21393
21395
|
name: "growthQ5",
|
21394
|
-
label: t("
|
21396
|
+
label: t("growthQ5"),
|
21395
21397
|
hide: true,
|
21396
21398
|
required: true,
|
21397
21399
|
},
|
21398
21400
|
{
|
21399
21401
|
name: "growthQ6",
|
21400
|
-
label: t("
|
21402
|
+
label: t("growthQ6"),
|
21401
21403
|
hide: true,
|
21402
21404
|
required: true,
|
21403
21405
|
},
|
21404
21406
|
{
|
21405
21407
|
name: "growthQ7",
|
21406
|
-
label: t("
|
21408
|
+
label: t("growthQ7"),
|
21407
21409
|
hide: true,
|
21408
21410
|
required: true,
|
21409
21411
|
},
|
21410
21412
|
{
|
21411
21413
|
name: "growthQ8",
|
21412
|
-
label: t("
|
21414
|
+
label: t("growthQ8"),
|
21413
21415
|
hide: true,
|
21414
21416
|
required: true,
|
21415
21417
|
},
|
21416
21418
|
],
|
21417
21419
|
},
|
21418
21420
|
{
|
21419
|
-
section: t("
|
21421
|
+
section: t("energy"),
|
21420
21422
|
fields: [
|
21421
21423
|
{
|
21422
21424
|
name: "energyQ1",
|
21423
|
-
label: t("
|
21425
|
+
label: t("energyQ1"),
|
21424
21426
|
hide: false,
|
21425
21427
|
required: false,
|
21426
21428
|
},
|
21427
21429
|
{
|
21428
21430
|
name: "energyQ2",
|
21429
|
-
label: t("
|
21431
|
+
label: t("energyQ2"),
|
21430
21432
|
hide: true,
|
21431
21433
|
required: true,
|
21432
21434
|
},
|
21433
21435
|
{
|
21434
21436
|
name: "energyQ3",
|
21435
|
-
label: t("
|
21437
|
+
label: t("energyQ3"),
|
21436
21438
|
hide: true,
|
21437
21439
|
required: true,
|
21438
21440
|
},
|
21439
21441
|
{
|
21440
21442
|
name: "energyQ4",
|
21441
|
-
label: t("
|
21443
|
+
label: t("energyQ4"),
|
21442
21444
|
hide: true,
|
21443
21445
|
required: true,
|
21444
21446
|
},
|
21445
21447
|
{
|
21446
21448
|
name: "energyQ5",
|
21447
|
-
label: t("
|
21449
|
+
label: t("energyQ5"),
|
21448
21450
|
hide: true,
|
21449
21451
|
required: true,
|
21450
21452
|
},
|
21451
21453
|
],
|
21452
21454
|
},
|
21453
21455
|
{
|
21454
|
-
section: t("
|
21456
|
+
section: t("techTransfer"),
|
21455
21457
|
fields: [
|
21456
21458
|
{
|
21457
21459
|
name: "techTransferQ1",
|
21458
|
-
label: t("
|
21460
|
+
label: t("techTransferQ1"),
|
21459
21461
|
hide: false,
|
21460
21462
|
required: false,
|
21461
21463
|
},
|
21462
21464
|
{
|
21463
21465
|
name: "techTransferQ2",
|
21464
|
-
label: t("
|
21466
|
+
label: t("techTransferQ2"),
|
21465
21467
|
hide: true,
|
21466
21468
|
required: true,
|
21467
21469
|
},
|
21468
21470
|
{
|
21469
21471
|
name: "techTransferQ3",
|
21470
|
-
label: t("
|
21472
|
+
label: t("techTransferQ3"),
|
21471
21473
|
hide: true,
|
21472
21474
|
required: true,
|
21473
21475
|
},
|
21474
21476
|
{
|
21475
21477
|
name: "techTransferQ4",
|
21476
|
-
label: t("
|
21478
|
+
label: t("techTransferQ4"),
|
21477
21479
|
hide: true,
|
21478
21480
|
required: true,
|
21479
21481
|
},
|
21480
21482
|
{
|
21481
21483
|
name: "techTransferQ5",
|
21482
|
-
label: t("
|
21484
|
+
label: t("techTransferQ5"),
|
21483
21485
|
hide: true,
|
21484
21486
|
required: true,
|
21485
21487
|
},
|
21486
21488
|
{
|
21487
21489
|
name: "techTransferQ6",
|
21488
|
-
label: t("
|
21490
|
+
label: t("techTransferQ6"),
|
21489
21491
|
hide: true,
|
21490
21492
|
required: true,
|
21491
21493
|
},
|
21492
21494
|
],
|
21493
21495
|
},
|
21494
21496
|
{
|
21495
|
-
section: t("
|
21497
|
+
section: t("balanceOfPayments"),
|
21496
21498
|
fields: [
|
21497
21499
|
{
|
21498
21500
|
name: "balanceOfPaymentsQ1",
|
21499
|
-
label: t("
|
21501
|
+
label: t("balanceOfPaymentsQ1"),
|
21500
21502
|
hide: false,
|
21501
21503
|
required: false,
|
21502
21504
|
},
|
21503
21505
|
{
|
21504
21506
|
name: "balanceOfPaymentsQ2",
|
21505
|
-
label: t("
|
21507
|
+
label: t("balanceOfPaymentsQ2"),
|
21506
21508
|
hide: true,
|
21507
21509
|
required: true,
|
21508
21510
|
},
|
21509
21511
|
{
|
21510
21512
|
name: "balanceOfPaymentsQ3",
|
21511
|
-
label: t("
|
21513
|
+
label: t("balanceOfPaymentsQ3"),
|
21512
21514
|
hide: true,
|
21513
21515
|
required: true,
|
21514
21516
|
},
|
21515
21517
|
],
|
21516
21518
|
},
|
21517
21519
|
{
|
21518
|
-
section: t("
|
21520
|
+
section: t("furtherInfo"),
|
21519
21521
|
fields: [
|
21520
21522
|
{
|
21521
21523
|
name: "furtherInfoQ1",
|
21522
|
-
label: t("
|
21524
|
+
label: t("furtherInfoQ1"),
|
21523
21525
|
hide: false,
|
21524
21526
|
required: false,
|
21525
21527
|
},
|
@@ -21536,7 +21538,7 @@ var Economic = function (props) {
|
|
21536
21538
|
if (changedFieldName.includes("1")) {
|
21537
21539
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
21538
21540
|
var updatedEconomicDetails = __spreadArray([], economicDetails, true);
|
21539
|
-
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(
|
21541
|
+
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
21540
21542
|
updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
|
21541
21543
|
if (field.name !== changedFieldName) {
|
21542
21544
|
field.hide = changedFieldValue !== exports.RadioButtonStatus.YES;
|
@@ -21555,42 +21557,42 @@ var Economic = function (props) {
|
|
21555
21557
|
if (economicViewData && viewOnly === true) {
|
21556
21558
|
var updatedEconomicData = [
|
21557
21559
|
{
|
21558
|
-
section: t("
|
21560
|
+
section: t("growth"),
|
21559
21561
|
fields: [],
|
21560
21562
|
},
|
21561
21563
|
{
|
21562
|
-
section: t("
|
21564
|
+
section: t("energy"),
|
21563
21565
|
fields: [],
|
21564
21566
|
},
|
21565
21567
|
{
|
21566
|
-
section: t("
|
21568
|
+
section: t("techTransfer"),
|
21567
21569
|
fields: [],
|
21568
21570
|
},
|
21569
21571
|
{
|
21570
|
-
section: t("
|
21572
|
+
section: t("balanceOfPayments"),
|
21571
21573
|
fields: [],
|
21572
21574
|
},
|
21573
21575
|
{
|
21574
|
-
section: t("
|
21576
|
+
section: t("furtherInfo"),
|
21575
21577
|
fields: [],
|
21576
21578
|
},
|
21577
21579
|
];
|
21578
21580
|
var _loop_1 = function (key) {
|
21579
21581
|
var section = "";
|
21580
21582
|
if (String(key).includes("growth")) {
|
21581
|
-
section = t("
|
21583
|
+
section = t("growth");
|
21582
21584
|
}
|
21583
21585
|
else if (String(key).includes("energy")) {
|
21584
|
-
section = t("
|
21586
|
+
section = t("energy");
|
21585
21587
|
}
|
21586
21588
|
else if (String(key).includes("techTransfer")) {
|
21587
|
-
section = t("
|
21589
|
+
section = t("techTransfer");
|
21588
21590
|
}
|
21589
21591
|
else if (String(key).includes("balanceOfPayments")) {
|
21590
|
-
section = t("
|
21592
|
+
section = t("balanceOfPayments");
|
21591
21593
|
}
|
21592
21594
|
else if (String(key).includes("furtherInfo")) {
|
21593
|
-
section = t("
|
21595
|
+
section = t("furtherInfo");
|
21594
21596
|
}
|
21595
21597
|
var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
|
21596
21598
|
if (economicItem) {
|
@@ -21618,7 +21620,7 @@ var Economic = function (props) {
|
|
21618
21620
|
React.createElement(antd.Col, { span: 24 },
|
21619
21621
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21620
21622
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21621
|
-
React.createElement("span", null, t("
|
21623
|
+
React.createElement("span", null, t("economic"))))),
|
21622
21624
|
(economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.length) === 0 && (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE })), economicDetails === null || economicDetails === void 0 ? void 0 :
|
21623
21625
|
economicDetails.map(function (environmentalDetail) {
|
21624
21626
|
var _a;
|
@@ -21629,193 +21631,194 @@ var Economic = function (props) {
|
|
21629
21631
|
{
|
21630
21632
|
required: field === null || field === void 0 ? void 0 : field.required,
|
21631
21633
|
message: (field === null || field === void 0 ? void 0 : field.required) &&
|
21632
|
-
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("
|
21634
|
+
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
|
21633
21635
|
},
|
21634
21636
|
] },
|
21635
21637
|
React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
|
21636
21638
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
21637
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
21639
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes")))),
|
21638
21640
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
21639
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
21641
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no")))),
|
21640
21642
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
21641
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
21643
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
21642
21644
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21643
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
21645
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
21644
21646
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21645
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
21647
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
21646
21648
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21647
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
21649
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na"))))))));
|
21648
21650
|
})));
|
21649
21651
|
})))));
|
21650
21652
|
};
|
21651
21653
|
|
21652
21654
|
var Social = function (props) {
|
21653
21655
|
var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21654
|
-
|
21656
|
+
translator.setDefaultNamespace("unfcccSdTool");
|
21657
|
+
var t = translator.t;
|
21655
21658
|
var form = antd.Form.useForm()[0];
|
21656
21659
|
var _a = React.useState(0); _a[0]; var setRefreshCounter = _a[1];
|
21657
21660
|
var _b = React.useState(), socialDetails = _b[0], setSocialDetails = _b[1];
|
21658
21661
|
var _c = React.useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
|
21659
21662
|
var SocialElementDetails = [
|
21660
21663
|
{
|
21661
|
-
title: t("
|
21662
|
-
label: t("
|
21664
|
+
title: t("jobs"),
|
21665
|
+
label: t("jobRelatedMainQ"),
|
21663
21666
|
name: "jobRelatedMainQ",
|
21664
21667
|
subItems: [
|
21665
21668
|
{
|
21666
21669
|
type: exports.FormElementType.Radio,
|
21667
|
-
label: t("
|
21670
|
+
label: t("jobRelatedSubQ1"),
|
21668
21671
|
name: "jobRelatedSubQ1",
|
21669
21672
|
},
|
21670
21673
|
{
|
21671
21674
|
type: exports.FormElementType.Radio,
|
21672
|
-
label: t("
|
21675
|
+
label: t("jobRelatedSubQ2"),
|
21673
21676
|
name: "jobRelatedSubQ2",
|
21674
21677
|
},
|
21675
21678
|
{
|
21676
21679
|
type: exports.FormElementType.Radio,
|
21677
|
-
label: t("
|
21680
|
+
label: t("jobRelatedSubQ3"),
|
21678
21681
|
name: "jobRelatedSubQ3",
|
21679
21682
|
},
|
21680
21683
|
{
|
21681
21684
|
type: exports.FormElementType.Radio,
|
21682
|
-
label: t("
|
21685
|
+
label: t("jobRelatedSubQ4"),
|
21683
21686
|
name: "jobRelatedSubQ4",
|
21684
21687
|
},
|
21685
21688
|
{
|
21686
21689
|
type: exports.FormElementType.Input,
|
21687
|
-
label: t("
|
21690
|
+
label: t("jobRelatedSubQ5"),
|
21688
21691
|
name: "jobRelatedSubQ5",
|
21689
21692
|
},
|
21690
21693
|
{
|
21691
21694
|
type: exports.FormElementType.Input,
|
21692
|
-
label: t("
|
21695
|
+
label: t("jobRelatedSubQ6"),
|
21693
21696
|
name: "jobRelatedSubQ6",
|
21694
21697
|
},
|
21695
21698
|
{
|
21696
21699
|
type: exports.FormElementType.Input,
|
21697
|
-
label: t("
|
21700
|
+
label: t("jobRelatedSubQ7"),
|
21698
21701
|
name: "jobRelatedSubQ7",
|
21699
21702
|
},
|
21700
21703
|
],
|
21701
21704
|
},
|
21702
21705
|
{
|
21703
|
-
title: t("
|
21704
|
-
label: t("
|
21706
|
+
title: t("health"),
|
21707
|
+
label: t("healthRelatedMainQ"),
|
21705
21708
|
name: "healthRelatedMainQ",
|
21706
21709
|
subItems: [
|
21707
21710
|
{
|
21708
21711
|
type: exports.FormElementType.Radio,
|
21709
|
-
label: t("
|
21712
|
+
label: t("healthRelatedSubQ1"),
|
21710
21713
|
name: "healthRelatedSubQ1",
|
21711
21714
|
},
|
21712
21715
|
{
|
21713
21716
|
type: exports.FormElementType.Radio,
|
21714
|
-
label: t("
|
21717
|
+
label: t("healthRelatedSubQ2"),
|
21715
21718
|
name: "healthRelatedSubQ2",
|
21716
21719
|
},
|
21717
21720
|
{
|
21718
21721
|
type: exports.FormElementType.Radio,
|
21719
|
-
label: t("
|
21722
|
+
label: t("healthRelatedSubQ3"),
|
21720
21723
|
name: "healthRelatedSubQ3",
|
21721
21724
|
},
|
21722
21725
|
{
|
21723
21726
|
type: exports.FormElementType.Radio,
|
21724
|
-
label: t("
|
21727
|
+
label: t("healthRelatedSubQ4"),
|
21725
21728
|
name: "healthRelatedSubQ4",
|
21726
21729
|
},
|
21727
21730
|
{
|
21728
21731
|
type: exports.FormElementType.Radio,
|
21729
|
-
label: t("
|
21732
|
+
label: t("healthRelatedSubQ5"),
|
21730
21733
|
name: "healthRelatedSubQ5",
|
21731
21734
|
},
|
21732
21735
|
{
|
21733
21736
|
type: exports.FormElementType.Radio,
|
21734
|
-
label: t("
|
21737
|
+
label: t("healthRelatedSubQ6"),
|
21735
21738
|
name: "healthRelatedSubQ6",
|
21736
21739
|
},
|
21737
21740
|
{
|
21738
21741
|
type: exports.FormElementType.Radio,
|
21739
|
-
label: t("
|
21742
|
+
label: t("healthRelatedSubQ7"),
|
21740
21743
|
name: "healthRelatedSubQ7",
|
21741
21744
|
},
|
21742
21745
|
{
|
21743
21746
|
type: exports.FormElementType.Radio,
|
21744
|
-
label: t("
|
21747
|
+
label: t("healthRelatedSubQ8"),
|
21745
21748
|
name: "healthRelatedSubQ8",
|
21746
21749
|
},
|
21747
21750
|
],
|
21748
21751
|
},
|
21749
21752
|
{
|
21750
|
-
title: t("
|
21751
|
-
label: t("
|
21753
|
+
title: t("educational"),
|
21754
|
+
label: t("educationRelatedMainQ"),
|
21752
21755
|
name: "educationRelatedMainQ",
|
21753
21756
|
subItems: [
|
21754
21757
|
{
|
21755
21758
|
type: exports.FormElementType.Radio,
|
21756
|
-
label: t("
|
21759
|
+
label: t("educationRelatedSubQ1"),
|
21757
21760
|
name: "educationRelatedSubQ1",
|
21758
21761
|
},
|
21759
21762
|
{
|
21760
21763
|
type: exports.FormElementType.Radio,
|
21761
|
-
label: t("
|
21764
|
+
label: t("educationRelatedSubQ2"),
|
21762
21765
|
name: "educationRelatedSubQ2",
|
21763
21766
|
},
|
21764
21767
|
{
|
21765
21768
|
type: exports.FormElementType.Radio,
|
21766
|
-
label: t("
|
21769
|
+
label: t("educationRelatedSubQ3"),
|
21767
21770
|
name: "educationRelatedSubQ3",
|
21768
21771
|
},
|
21769
21772
|
{
|
21770
21773
|
type: exports.FormElementType.Radio,
|
21771
|
-
label: t("
|
21774
|
+
label: t("educationRelatedSubQ4"),
|
21772
21775
|
name: "educationRelatedSubQ4",
|
21773
21776
|
},
|
21774
21777
|
],
|
21775
21778
|
},
|
21776
21779
|
{
|
21777
|
-
title: t("
|
21778
|
-
label: t("
|
21780
|
+
title: t("welfare"),
|
21781
|
+
label: t("welfareRelatedMainQ"),
|
21779
21782
|
name: "welfareRelatedMainQ",
|
21780
21783
|
subItems: [
|
21781
21784
|
{
|
21782
21785
|
type: exports.FormElementType.Radio,
|
21783
|
-
label: t("
|
21786
|
+
label: t("welfareRelatedSubQ1"),
|
21784
21787
|
name: "welfareRelatedSubQ1",
|
21785
21788
|
},
|
21786
21789
|
{
|
21787
21790
|
type: exports.FormElementType.Radio,
|
21788
|
-
label: t("
|
21791
|
+
label: t("welfareRelatedSubQ2"),
|
21789
21792
|
name: "welfareRelatedSubQ2",
|
21790
21793
|
},
|
21791
21794
|
{
|
21792
21795
|
type: exports.FormElementType.Radio,
|
21793
|
-
label: t("
|
21796
|
+
label: t("welfareRelatedSubQ3"),
|
21794
21797
|
name: "welfareRelatedSubQ3",
|
21795
21798
|
},
|
21796
21799
|
{
|
21797
21800
|
type: exports.FormElementType.Radio,
|
21798
|
-
label: t("
|
21801
|
+
label: t("welfareRelatedSubQ4"),
|
21799
21802
|
name: "welfareRelatedSubQ4",
|
21800
21803
|
},
|
21801
21804
|
{
|
21802
21805
|
type: exports.FormElementType.Radio,
|
21803
|
-
label: t("
|
21806
|
+
label: t("welfareRelatedSubQ5"),
|
21804
21807
|
name: "welfareRelatedSubQ5",
|
21805
21808
|
},
|
21806
21809
|
{
|
21807
21810
|
type: exports.FormElementType.Radio,
|
21808
|
-
label: t("
|
21811
|
+
label: t("welfareRelatedSubQ6"),
|
21809
21812
|
name: "welfareRelatedSubQ6",
|
21810
21813
|
},
|
21811
21814
|
{
|
21812
21815
|
type: exports.FormElementType.Radio,
|
21813
|
-
label: t("
|
21816
|
+
label: t("welfareRelatedSubQ7"),
|
21814
21817
|
name: "welfareRelatedSubQ7",
|
21815
21818
|
},
|
21816
21819
|
{
|
21817
21820
|
type: exports.FormElementType.Radio,
|
21818
|
-
label: t("
|
21821
|
+
label: t("welfareRelatedSubQ8"),
|
21819
21822
|
name: "welfareRelatedSubQ8",
|
21820
21823
|
},
|
21821
21824
|
],
|
@@ -21874,7 +21877,7 @@ var Social = function (props) {
|
|
21874
21877
|
React.createElement(antd.Col, { span: 24 },
|
21875
21878
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21876
21879
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21877
|
-
React.createElement("span", null, t("
|
21880
|
+
React.createElement("span", null, t("social"))))),
|
21878
21881
|
viewOnly && !socialViewData && (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE })),
|
21879
21882
|
((viewOnly && socialViewData) || !viewOnly) && (React.createElement(antd.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) {
|
21880
21883
|
return (React.createElement(React.Fragment, null,
|
@@ -21885,11 +21888,11 @@ var Social = function (props) {
|
|
21885
21888
|
React.createElement(antd.Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
|
21886
21889
|
React.createElement(antd.Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
|
21887
21890
|
React.createElement("div", { className: "radio-container" },
|
21888
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("
|
21891
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
21889
21892
|
React.createElement("div", { className: "radio-container" },
|
21890
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("
|
21893
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
21891
21894
|
React.createElement("div", { className: "radio-container" },
|
21892
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("
|
21895
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("na"))))),
|
21893
21896
|
form.getFieldValue(element.name) ===
|
21894
21897
|
exports.RadioButtonStatus.YES &&
|
21895
21898
|
element.subItems.map(function (elementItem) {
|
@@ -21902,11 +21905,11 @@ var Social = function (props) {
|
|
21902
21905
|
] },
|
21903
21906
|
React.createElement(antd.Radio.Group, { size: "middle" },
|
21904
21907
|
React.createElement("div", { className: "radio-container" },
|
21905
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("
|
21908
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
21906
21909
|
React.createElement("div", { className: "radio-container" },
|
21907
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("
|
21910
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
21908
21911
|
React.createElement("div", { className: "radio-container" },
|
21909
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("
|
21912
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("na"))))));
|
21910
21913
|
}
|
21911
21914
|
else if (elementItem.type === exports.FormElementType.Input) {
|
21912
21915
|
return (React.createElement(antd.Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
|
@@ -22454,14 +22457,14 @@ var CoBenifitsComponent = function (props) {
|
|
22454
22457
|
? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental)
|
22455
22458
|
? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental
|
22456
22459
|
: {}
|
22457
|
-
: undefined, viewOnly: viewOnly || false, translator:
|
22460
|
+
: undefined, viewOnly: viewOnly || false, translator: translator }),
|
22458
22461
|
React.createElement(Social, { onFormSubmit: onSocialFormSubmit, socialViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.socialValueDetails)) ||
|
22459
|
-
(!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.socialValueDetails)), viewOnly: viewOnly || false, translator:
|
22462
|
+
(!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.socialValueDetails)), viewOnly: viewOnly || false, translator: translator }),
|
22460
22463
|
React.createElement(Economic, { onFormSubmit: onEconomicFormSubmit, economicViewData: viewOnly
|
22461
22464
|
? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic)
|
22462
22465
|
? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic
|
22463
22466
|
: {}
|
22464
|
-
: undefined, viewOnly: viewOnly || false, translator:
|
22467
|
+
: undefined, viewOnly: viewOnly || false, translator: translator }))),
|
22465
22468
|
},
|
22466
22469
|
{
|
22467
22470
|
label: t("coBenifits:assessment"),
|