@undp/carbon-library 1.0.292-CARBON-337.4 → 1.0.292-CARBON-239.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +155 -147
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +156 -148
- package/dist/esm/index.js.map +1 -1
- package/dist/locales/i18n/coBenifits/en.json +1 -104
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -6795,6 +6795,11 @@ var AddNewCompanyComponent = function (props) {
|
|
6795
6795
|
phoneNo === undefined) {
|
6796
6796
|
throw new Error("".concat(t("addCompany:phoneNo"), " ").concat(t("isRequired")));
|
6797
6797
|
}
|
6798
|
+
else {
|
6799
|
+
if (!PhoneInput.isPossiblePhoneNumber(String(value))) {
|
6800
|
+
throw new Error("".concat(t("addCompany:phoneNo"), " ").concat(t("isInvalid")));
|
6801
|
+
}
|
6802
|
+
}
|
6798
6803
|
}
|
6799
6804
|
}
|
6800
6805
|
return [2 /*return*/];
|
@@ -20599,203 +20604,204 @@ var Safeguards = function (props) {
|
|
20599
20604
|
|
20600
20605
|
var Environmental = function (props) {
|
20601
20606
|
var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
|
20602
|
-
|
20607
|
+
translator.setDefaultNamespace("unfcccSdTool");
|
20608
|
+
var t = translator.t;
|
20603
20609
|
var environmentalDetailsInitial = [
|
20604
20610
|
{
|
20605
|
-
section: t("
|
20611
|
+
section: t("air"),
|
20606
20612
|
fields: [
|
20607
20613
|
{
|
20608
20614
|
name: "airQ1",
|
20609
|
-
label: t("
|
20615
|
+
label: t("airQ1"),
|
20610
20616
|
hide: false,
|
20611
20617
|
required: false,
|
20612
20618
|
},
|
20613
20619
|
{
|
20614
20620
|
name: "airQ2",
|
20615
|
-
label: t("
|
20621
|
+
label: t("airQ2"),
|
20616
20622
|
hide: true,
|
20617
20623
|
required: true,
|
20618
20624
|
},
|
20619
20625
|
{
|
20620
20626
|
name: "airQ3",
|
20621
|
-
label: t("
|
20627
|
+
label: t("airQ3"),
|
20622
20628
|
hide: true,
|
20623
20629
|
required: true,
|
20624
20630
|
},
|
20625
20631
|
{
|
20626
20632
|
name: "airQ4",
|
20627
|
-
label: t("
|
20633
|
+
label: t("airQ4"),
|
20628
20634
|
hide: true,
|
20629
20635
|
required: true,
|
20630
20636
|
},
|
20631
20637
|
{
|
20632
20638
|
name: "airQ5",
|
20633
|
-
label: t("
|
20639
|
+
label: t("airQ5"),
|
20634
20640
|
hide: true,
|
20635
20641
|
required: true,
|
20636
20642
|
},
|
20637
20643
|
{
|
20638
20644
|
name: "airQ6",
|
20639
|
-
label: t("
|
20645
|
+
label: t("airQ6"),
|
20640
20646
|
hide: true,
|
20641
20647
|
required: true,
|
20642
20648
|
},
|
20643
20649
|
{
|
20644
20650
|
name: "airQ7",
|
20645
|
-
label: t("
|
20651
|
+
label: t("airQ7"),
|
20646
20652
|
hide: true,
|
20647
20653
|
required: true,
|
20648
20654
|
},
|
20649
20655
|
{
|
20650
20656
|
name: "airQ8",
|
20651
|
-
label: t("
|
20657
|
+
label: t("airQ8"),
|
20652
20658
|
hide: true,
|
20653
20659
|
required: true,
|
20654
20660
|
},
|
20655
20661
|
{
|
20656
20662
|
name: "airQ9",
|
20657
|
-
label: t("
|
20663
|
+
label: t("airQ9"),
|
20658
20664
|
hide: true,
|
20659
20665
|
required: true,
|
20660
20666
|
},
|
20661
20667
|
],
|
20662
20668
|
},
|
20663
20669
|
{
|
20664
|
-
section: t("
|
20670
|
+
section: t("land"),
|
20665
20671
|
fields: [
|
20666
20672
|
{
|
20667
20673
|
name: "landQ1",
|
20668
|
-
label: t("
|
20674
|
+
label: t("landQ1"),
|
20669
20675
|
hide: false,
|
20670
20676
|
required: false,
|
20671
20677
|
},
|
20672
20678
|
{
|
20673
20679
|
name: "landQ2",
|
20674
|
-
label: t("
|
20680
|
+
label: t("landQ2"),
|
20675
20681
|
hide: true,
|
20676
20682
|
required: true,
|
20677
20683
|
},
|
20678
20684
|
{
|
20679
20685
|
name: "landQ3",
|
20680
|
-
label: t("
|
20686
|
+
label: t("landQ3"),
|
20681
20687
|
hide: true,
|
20682
20688
|
required: true,
|
20683
20689
|
},
|
20684
20690
|
{
|
20685
20691
|
name: "landQ4",
|
20686
|
-
label: t("
|
20692
|
+
label: t("landQ4"),
|
20687
20693
|
hide: true,
|
20688
20694
|
required: true,
|
20689
20695
|
},
|
20690
20696
|
{
|
20691
20697
|
name: "landQ5",
|
20692
|
-
label: t("
|
20698
|
+
label: t("landQ5"),
|
20693
20699
|
hide: true,
|
20694
20700
|
required: true,
|
20695
20701
|
},
|
20696
20702
|
{
|
20697
20703
|
name: "landQ6",
|
20698
|
-
label: t("
|
20704
|
+
label: t("landQ6"),
|
20699
20705
|
hide: true,
|
20700
20706
|
required: true,
|
20701
20707
|
},
|
20702
20708
|
{
|
20703
20709
|
name: "landQ7",
|
20704
|
-
label: t("
|
20710
|
+
label: t("landQ7"),
|
20705
20711
|
hide: true,
|
20706
20712
|
required: true,
|
20707
20713
|
},
|
20708
20714
|
{
|
20709
20715
|
name: "landQ8",
|
20710
|
-
label: t("
|
20716
|
+
label: t("landQ8"),
|
20711
20717
|
hide: true,
|
20712
20718
|
required: true,
|
20713
20719
|
},
|
20714
20720
|
],
|
20715
20721
|
},
|
20716
20722
|
{
|
20717
|
-
section: t("
|
20723
|
+
section: t("water"),
|
20718
20724
|
fields: [
|
20719
20725
|
{
|
20720
20726
|
name: "waterQ1",
|
20721
|
-
label: t("
|
20727
|
+
label: t("waterQ1"),
|
20722
20728
|
hide: false,
|
20723
20729
|
required: false,
|
20724
20730
|
},
|
20725
20731
|
{
|
20726
20732
|
name: "waterQ2",
|
20727
|
-
label: t("
|
20733
|
+
label: t("waterQ2"),
|
20728
20734
|
hide: true,
|
20729
20735
|
required: true,
|
20730
20736
|
},
|
20731
20737
|
{
|
20732
20738
|
name: "waterQ3",
|
20733
|
-
label: t("
|
20739
|
+
label: t("waterQ3"),
|
20734
20740
|
hide: true,
|
20735
20741
|
required: true,
|
20736
20742
|
},
|
20737
20743
|
{
|
20738
20744
|
name: "waterQ4",
|
20739
|
-
label: t("
|
20745
|
+
label: t("waterQ4"),
|
20740
20746
|
hide: true,
|
20741
20747
|
required: true,
|
20742
20748
|
},
|
20743
20749
|
{
|
20744
20750
|
name: "waterQ5",
|
20745
|
-
label: t("
|
20751
|
+
label: t("waterQ5"),
|
20746
20752
|
hide: true,
|
20747
20753
|
required: true,
|
20748
20754
|
},
|
20749
20755
|
{
|
20750
20756
|
name: "waterQ6",
|
20751
|
-
label: t("
|
20757
|
+
label: t("waterQ6"),
|
20752
20758
|
hide: true,
|
20753
20759
|
required: true,
|
20754
20760
|
},
|
20755
20761
|
{
|
20756
20762
|
name: "waterQ7",
|
20757
|
-
label: t("
|
20763
|
+
label: t("waterQ7"),
|
20758
20764
|
hide: true,
|
20759
20765
|
required: true,
|
20760
20766
|
},
|
20761
20767
|
],
|
20762
20768
|
},
|
20763
20769
|
{
|
20764
|
-
section: t("
|
20770
|
+
section: t("naturalResource"),
|
20765
20771
|
fields: [
|
20766
20772
|
{
|
20767
20773
|
name: "naturalResourceQ1",
|
20768
|
-
label: t("
|
20774
|
+
label: t("naturalResourceQ1"),
|
20769
20775
|
hide: false,
|
20770
20776
|
required: false,
|
20771
20777
|
},
|
20772
20778
|
{
|
20773
20779
|
name: "naturalResourceQ2",
|
20774
|
-
label: t("
|
20780
|
+
label: t("naturalResourceQ2"),
|
20775
20781
|
hide: true,
|
20776
20782
|
required: true,
|
20777
20783
|
},
|
20778
20784
|
{
|
20779
20785
|
name: "naturalResourceQ3",
|
20780
|
-
label: t("
|
20786
|
+
label: t("naturalResourceQ3"),
|
20781
20787
|
hide: true,
|
20782
20788
|
required: true,
|
20783
20789
|
},
|
20784
20790
|
{
|
20785
20791
|
name: "naturalResourceQ4",
|
20786
|
-
label: t("
|
20792
|
+
label: t("naturalResourceQ4"),
|
20787
20793
|
hide: true,
|
20788
20794
|
required: true,
|
20789
20795
|
},
|
20790
20796
|
{
|
20791
20797
|
name: "naturalResourceQ5",
|
20792
|
-
label: t("
|
20798
|
+
label: t("naturalResourceQ5"),
|
20793
20799
|
hide: true,
|
20794
20800
|
required: true,
|
20795
20801
|
},
|
20796
20802
|
{
|
20797
20803
|
name: "naturalResourceQ6",
|
20798
|
-
label: t("
|
20804
|
+
label: t("naturalResourceQ6"),
|
20799
20805
|
hide: true,
|
20800
20806
|
required: true,
|
20801
20807
|
},
|
@@ -20813,7 +20819,7 @@ var Environmental = function (props) {
|
|
20813
20819
|
if (changedFieldName.includes("1")) {
|
20814
20820
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
20815
20821
|
var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
|
20816
|
-
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(
|
20822
|
+
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
20817
20823
|
updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
|
20818
20824
|
if (field.name !== changedFieldName) {
|
20819
20825
|
field.hide = changedFieldValue !== exports.RadioButtonStatus.YES;
|
@@ -20832,35 +20838,35 @@ var Environmental = function (props) {
|
|
20832
20838
|
if (environmentalViewData && viewOnly === true) {
|
20833
20839
|
var updatedEnvironmentalData = [
|
20834
20840
|
{
|
20835
|
-
section: t("
|
20841
|
+
section: t("air"),
|
20836
20842
|
fields: [],
|
20837
20843
|
},
|
20838
20844
|
{
|
20839
|
-
section: t("
|
20845
|
+
section: t("land"),
|
20840
20846
|
fields: [],
|
20841
20847
|
},
|
20842
20848
|
{
|
20843
|
-
section: t("
|
20849
|
+
section: t("water"),
|
20844
20850
|
fields: [],
|
20845
20851
|
},
|
20846
20852
|
{
|
20847
|
-
section: t("
|
20853
|
+
section: t("naturalResource"),
|
20848
20854
|
fields: [],
|
20849
20855
|
},
|
20850
20856
|
];
|
20851
20857
|
var _loop_1 = function (key) {
|
20852
20858
|
var section = "";
|
20853
20859
|
if (String(key).includes("air")) {
|
20854
|
-
section = t("
|
20860
|
+
section = t("air");
|
20855
20861
|
}
|
20856
20862
|
else if (String(key).includes("land")) {
|
20857
|
-
section = t("
|
20863
|
+
section = t("land");
|
20858
20864
|
}
|
20859
20865
|
else if (String(key).includes("water")) {
|
20860
|
-
section = t("
|
20866
|
+
section = t("water");
|
20861
20867
|
}
|
20862
20868
|
else if (String(key).includes("naturalResource")) {
|
20863
|
-
section = t("
|
20869
|
+
section = t("naturalResource");
|
20864
20870
|
}
|
20865
20871
|
var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
|
20866
20872
|
if (environmentalItem) {
|
@@ -20888,11 +20894,11 @@ var Environmental = function (props) {
|
|
20888
20894
|
React.createElement(antd.Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
20889
20895
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
20890
20896
|
React.createElement("span", null,
|
20891
|
-
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("
|
20897
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
|
20892
20898
|
React.createElement(antd.Col, { span: 24 },
|
20893
20899
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
20894
20900
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
20895
|
-
React.createElement("span", null, t("
|
20901
|
+
React.createElement("span", null, t("environmental"))),
|
20896
20902
|
React.createElement(antd.Col, { span: 24 },
|
20897
20903
|
React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
|
20898
20904
|
(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 :
|
@@ -20905,188 +20911,189 @@ var Environmental = function (props) {
|
|
20905
20911
|
{
|
20906
20912
|
required: field === null || field === void 0 ? void 0 : field.required,
|
20907
20913
|
message: (field === null || field === void 0 ? void 0 : field.required) &&
|
20908
|
-
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("
|
20914
|
+
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
|
20909
20915
|
},
|
20910
20916
|
] },
|
20911
20917
|
React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
|
20912
20918
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
20913
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
20919
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes")))),
|
20914
20920
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
20915
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
20921
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no")))),
|
20916
20922
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
20917
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
20923
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
20918
20924
|
React.createElement("div", { className: "yes-no-radio-container" },
|
20919
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
20925
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
20920
20926
|
React.createElement("div", { className: "yes-no-radio-container" },
|
20921
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
20927
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
20922
20928
|
React.createElement("div", { className: "yes-no-radio-container" },
|
20923
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
20929
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na"))))))));
|
20924
20930
|
})));
|
20925
20931
|
})))));
|
20926
20932
|
};
|
20927
20933
|
|
20928
20934
|
var Economic = function (props) {
|
20929
20935
|
var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
|
20930
|
-
|
20936
|
+
translator.setDefaultNamespace("unfcccSdTool");
|
20937
|
+
var t = translator.t;
|
20931
20938
|
var economicDetailsInitial = [
|
20932
20939
|
{
|
20933
|
-
section: t("
|
20940
|
+
section: t("growth"),
|
20934
20941
|
fields: [
|
20935
20942
|
{
|
20936
20943
|
name: "growthQ1",
|
20937
|
-
label: t("
|
20944
|
+
label: t("growthQ1"),
|
20938
20945
|
hide: false,
|
20939
20946
|
required: false,
|
20940
20947
|
},
|
20941
20948
|
{
|
20942
20949
|
name: "growthQ2",
|
20943
|
-
label: t("
|
20950
|
+
label: t("growthQ2"),
|
20944
20951
|
hide: true,
|
20945
20952
|
required: true,
|
20946
20953
|
},
|
20947
20954
|
{
|
20948
20955
|
name: "growthQ3",
|
20949
|
-
label: t("
|
20956
|
+
label: t("growthQ3"),
|
20950
20957
|
hide: true,
|
20951
20958
|
required: true,
|
20952
20959
|
},
|
20953
20960
|
{
|
20954
20961
|
name: "growthQ4",
|
20955
|
-
label: t("
|
20962
|
+
label: t("growthQ4"),
|
20956
20963
|
hide: true,
|
20957
20964
|
required: true,
|
20958
20965
|
},
|
20959
20966
|
{
|
20960
20967
|
name: "growthQ5",
|
20961
|
-
label: t("
|
20968
|
+
label: t("growthQ5"),
|
20962
20969
|
hide: true,
|
20963
20970
|
required: true,
|
20964
20971
|
},
|
20965
20972
|
{
|
20966
20973
|
name: "growthQ6",
|
20967
|
-
label: t("
|
20974
|
+
label: t("growthQ6"),
|
20968
20975
|
hide: true,
|
20969
20976
|
required: true,
|
20970
20977
|
},
|
20971
20978
|
{
|
20972
20979
|
name: "growthQ7",
|
20973
|
-
label: t("
|
20980
|
+
label: t("growthQ7"),
|
20974
20981
|
hide: true,
|
20975
20982
|
required: true,
|
20976
20983
|
},
|
20977
20984
|
{
|
20978
20985
|
name: "growthQ8",
|
20979
|
-
label: t("
|
20986
|
+
label: t("growthQ8"),
|
20980
20987
|
hide: true,
|
20981
20988
|
required: true,
|
20982
20989
|
},
|
20983
20990
|
],
|
20984
20991
|
},
|
20985
20992
|
{
|
20986
|
-
section: t("
|
20993
|
+
section: t("energy"),
|
20987
20994
|
fields: [
|
20988
20995
|
{
|
20989
20996
|
name: "energyQ1",
|
20990
|
-
label: t("
|
20997
|
+
label: t("energyQ1"),
|
20991
20998
|
hide: false,
|
20992
20999
|
required: false,
|
20993
21000
|
},
|
20994
21001
|
{
|
20995
21002
|
name: "energyQ2",
|
20996
|
-
label: t("
|
21003
|
+
label: t("energyQ2"),
|
20997
21004
|
hide: true,
|
20998
21005
|
required: true,
|
20999
21006
|
},
|
21000
21007
|
{
|
21001
21008
|
name: "energyQ3",
|
21002
|
-
label: t("
|
21009
|
+
label: t("energyQ3"),
|
21003
21010
|
hide: true,
|
21004
21011
|
required: true,
|
21005
21012
|
},
|
21006
21013
|
{
|
21007
21014
|
name: "energyQ4",
|
21008
|
-
label: t("
|
21015
|
+
label: t("energyQ4"),
|
21009
21016
|
hide: true,
|
21010
21017
|
required: true,
|
21011
21018
|
},
|
21012
21019
|
{
|
21013
21020
|
name: "energyQ5",
|
21014
|
-
label: t("
|
21021
|
+
label: t("energyQ5"),
|
21015
21022
|
hide: true,
|
21016
21023
|
required: true,
|
21017
21024
|
},
|
21018
21025
|
],
|
21019
21026
|
},
|
21020
21027
|
{
|
21021
|
-
section: t("
|
21028
|
+
section: t("techTransfer"),
|
21022
21029
|
fields: [
|
21023
21030
|
{
|
21024
21031
|
name: "techTransferQ1",
|
21025
|
-
label: t("
|
21032
|
+
label: t("techTransferQ1"),
|
21026
21033
|
hide: false,
|
21027
21034
|
required: false,
|
21028
21035
|
},
|
21029
21036
|
{
|
21030
21037
|
name: "techTransferQ2",
|
21031
|
-
label: t("
|
21038
|
+
label: t("techTransferQ2"),
|
21032
21039
|
hide: true,
|
21033
21040
|
required: true,
|
21034
21041
|
},
|
21035
21042
|
{
|
21036
21043
|
name: "techTransferQ3",
|
21037
|
-
label: t("
|
21044
|
+
label: t("techTransferQ3"),
|
21038
21045
|
hide: true,
|
21039
21046
|
required: true,
|
21040
21047
|
},
|
21041
21048
|
{
|
21042
21049
|
name: "techTransferQ4",
|
21043
|
-
label: t("
|
21050
|
+
label: t("techTransferQ4"),
|
21044
21051
|
hide: true,
|
21045
21052
|
required: true,
|
21046
21053
|
},
|
21047
21054
|
{
|
21048
21055
|
name: "techTransferQ5",
|
21049
|
-
label: t("
|
21056
|
+
label: t("techTransferQ5"),
|
21050
21057
|
hide: true,
|
21051
21058
|
required: true,
|
21052
21059
|
},
|
21053
21060
|
{
|
21054
21061
|
name: "techTransferQ6",
|
21055
|
-
label: t("
|
21062
|
+
label: t("techTransferQ6"),
|
21056
21063
|
hide: true,
|
21057
21064
|
required: true,
|
21058
21065
|
},
|
21059
21066
|
],
|
21060
21067
|
},
|
21061
21068
|
{
|
21062
|
-
section: t("
|
21069
|
+
section: t("balanceOfPayments"),
|
21063
21070
|
fields: [
|
21064
21071
|
{
|
21065
21072
|
name: "balanceOfPaymentsQ1",
|
21066
|
-
label: t("
|
21073
|
+
label: t("balanceOfPaymentsQ1"),
|
21067
21074
|
hide: false,
|
21068
21075
|
required: false,
|
21069
21076
|
},
|
21070
21077
|
{
|
21071
21078
|
name: "balanceOfPaymentsQ2",
|
21072
|
-
label: t("
|
21079
|
+
label: t("balanceOfPaymentsQ2"),
|
21073
21080
|
hide: true,
|
21074
21081
|
required: true,
|
21075
21082
|
},
|
21076
21083
|
{
|
21077
21084
|
name: "balanceOfPaymentsQ3",
|
21078
|
-
label: t("
|
21085
|
+
label: t("balanceOfPaymentsQ3"),
|
21079
21086
|
hide: true,
|
21080
21087
|
required: true,
|
21081
21088
|
},
|
21082
21089
|
],
|
21083
21090
|
},
|
21084
21091
|
{
|
21085
|
-
section: t("
|
21092
|
+
section: t("furtherInfo"),
|
21086
21093
|
fields: [
|
21087
21094
|
{
|
21088
21095
|
name: "furtherInfoQ1",
|
21089
|
-
label: t("
|
21096
|
+
label: t("furtherInfoQ1"),
|
21090
21097
|
hide: false,
|
21091
21098
|
required: false,
|
21092
21099
|
},
|
@@ -21103,7 +21110,7 @@ var Economic = function (props) {
|
|
21103
21110
|
if (changedFieldName.includes("1")) {
|
21104
21111
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
21105
21112
|
var updatedEconomicDetails = __spreadArray([], economicDetails, true);
|
21106
|
-
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(
|
21113
|
+
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
21107
21114
|
updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
|
21108
21115
|
if (field.name !== changedFieldName) {
|
21109
21116
|
field.hide = changedFieldValue !== exports.RadioButtonStatus.YES;
|
@@ -21122,42 +21129,42 @@ var Economic = function (props) {
|
|
21122
21129
|
if (economicViewData && viewOnly === true) {
|
21123
21130
|
var updatedEconomicData = [
|
21124
21131
|
{
|
21125
|
-
section: t("
|
21132
|
+
section: t("growth"),
|
21126
21133
|
fields: [],
|
21127
21134
|
},
|
21128
21135
|
{
|
21129
|
-
section: t("
|
21136
|
+
section: t("energy"),
|
21130
21137
|
fields: [],
|
21131
21138
|
},
|
21132
21139
|
{
|
21133
|
-
section: t("
|
21140
|
+
section: t("techTransfer"),
|
21134
21141
|
fields: [],
|
21135
21142
|
},
|
21136
21143
|
{
|
21137
|
-
section: t("
|
21144
|
+
section: t("balanceOfPayments"),
|
21138
21145
|
fields: [],
|
21139
21146
|
},
|
21140
21147
|
{
|
21141
|
-
section: t("
|
21148
|
+
section: t("furtherInfo"),
|
21142
21149
|
fields: [],
|
21143
21150
|
},
|
21144
21151
|
];
|
21145
21152
|
var _loop_1 = function (key) {
|
21146
21153
|
var section = "";
|
21147
21154
|
if (String(key).includes("growth")) {
|
21148
|
-
section = t("
|
21155
|
+
section = t("growth");
|
21149
21156
|
}
|
21150
21157
|
else if (String(key).includes("energy")) {
|
21151
|
-
section = t("
|
21158
|
+
section = t("energy");
|
21152
21159
|
}
|
21153
21160
|
else if (String(key).includes("techTransfer")) {
|
21154
|
-
section = t("
|
21161
|
+
section = t("techTransfer");
|
21155
21162
|
}
|
21156
21163
|
else if (String(key).includes("balanceOfPayments")) {
|
21157
|
-
section = t("
|
21164
|
+
section = t("balanceOfPayments");
|
21158
21165
|
}
|
21159
21166
|
else if (String(key).includes("furtherInfo")) {
|
21160
|
-
section = t("
|
21167
|
+
section = t("furtherInfo");
|
21161
21168
|
}
|
21162
21169
|
var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
|
21163
21170
|
if (economicItem) {
|
@@ -21185,7 +21192,7 @@ var Economic = function (props) {
|
|
21185
21192
|
React.createElement(antd.Col, { span: 24 },
|
21186
21193
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21187
21194
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21188
|
-
React.createElement("span", null, t("
|
21195
|
+
React.createElement("span", null, t("economic"))))),
|
21189
21196
|
(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 :
|
21190
21197
|
economicDetails.map(function (environmentalDetail) {
|
21191
21198
|
var _a;
|
@@ -21196,193 +21203,194 @@ var Economic = function (props) {
|
|
21196
21203
|
{
|
21197
21204
|
required: field === null || field === void 0 ? void 0 : field.required,
|
21198
21205
|
message: (field === null || field === void 0 ? void 0 : field.required) &&
|
21199
|
-
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("
|
21206
|
+
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
|
21200
21207
|
},
|
21201
21208
|
] },
|
21202
21209
|
React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
|
21203
21210
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
21204
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
21211
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes")))),
|
21205
21212
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
21206
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
21213
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no")))),
|
21207
21214
|
(field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
21208
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
21215
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
21209
21216
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21210
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("
|
21217
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
21211
21218
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21212
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("
|
21219
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
21213
21220
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21214
|
-
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("
|
21221
|
+
React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na"))))))));
|
21215
21222
|
})));
|
21216
21223
|
})))));
|
21217
21224
|
};
|
21218
21225
|
|
21219
21226
|
var Social = function (props) {
|
21220
21227
|
var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21221
|
-
|
21228
|
+
translator.setDefaultNamespace("unfcccSdTool");
|
21229
|
+
var t = translator.t;
|
21222
21230
|
var form = antd.Form.useForm()[0];
|
21223
21231
|
var _a = React.useState(0); _a[0]; var setRefreshCounter = _a[1];
|
21224
21232
|
var _b = React.useState(), socialDetails = _b[0], setSocialDetails = _b[1];
|
21225
21233
|
var _c = React.useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
|
21226
21234
|
var SocialElementDetails = [
|
21227
21235
|
{
|
21228
|
-
title: t("
|
21229
|
-
label: t("
|
21236
|
+
title: t("jobs"),
|
21237
|
+
label: t("jobRelatedMainQ"),
|
21230
21238
|
name: "jobRelatedMainQ",
|
21231
21239
|
subItems: [
|
21232
21240
|
{
|
21233
21241
|
type: exports.FormElementType.Radio,
|
21234
|
-
label: t("
|
21242
|
+
label: t("jobRelatedSubQ1"),
|
21235
21243
|
name: "jobRelatedSubQ1",
|
21236
21244
|
},
|
21237
21245
|
{
|
21238
21246
|
type: exports.FormElementType.Radio,
|
21239
|
-
label: t("
|
21247
|
+
label: t("jobRelatedSubQ2"),
|
21240
21248
|
name: "jobRelatedSubQ2",
|
21241
21249
|
},
|
21242
21250
|
{
|
21243
21251
|
type: exports.FormElementType.Radio,
|
21244
|
-
label: t("
|
21252
|
+
label: t("jobRelatedSubQ3"),
|
21245
21253
|
name: "jobRelatedSubQ3",
|
21246
21254
|
},
|
21247
21255
|
{
|
21248
21256
|
type: exports.FormElementType.Radio,
|
21249
|
-
label: t("
|
21257
|
+
label: t("jobRelatedSubQ4"),
|
21250
21258
|
name: "jobRelatedSubQ4",
|
21251
21259
|
},
|
21252
21260
|
{
|
21253
21261
|
type: exports.FormElementType.Input,
|
21254
|
-
label: t("
|
21262
|
+
label: t("jobRelatedSubQ5"),
|
21255
21263
|
name: "jobRelatedSubQ5",
|
21256
21264
|
},
|
21257
21265
|
{
|
21258
21266
|
type: exports.FormElementType.Input,
|
21259
|
-
label: t("
|
21267
|
+
label: t("jobRelatedSubQ6"),
|
21260
21268
|
name: "jobRelatedSubQ6",
|
21261
21269
|
},
|
21262
21270
|
{
|
21263
21271
|
type: exports.FormElementType.Input,
|
21264
|
-
label: t("
|
21272
|
+
label: t("jobRelatedSubQ7"),
|
21265
21273
|
name: "jobRelatedSubQ7",
|
21266
21274
|
},
|
21267
21275
|
],
|
21268
21276
|
},
|
21269
21277
|
{
|
21270
|
-
title: t("
|
21271
|
-
label: t("
|
21278
|
+
title: t("health"),
|
21279
|
+
label: t("healthRelatedMainQ"),
|
21272
21280
|
name: "healthRelatedMainQ",
|
21273
21281
|
subItems: [
|
21274
21282
|
{
|
21275
21283
|
type: exports.FormElementType.Radio,
|
21276
|
-
label: t("
|
21284
|
+
label: t("healthRelatedSubQ1"),
|
21277
21285
|
name: "healthRelatedSubQ1",
|
21278
21286
|
},
|
21279
21287
|
{
|
21280
21288
|
type: exports.FormElementType.Radio,
|
21281
|
-
label: t("
|
21289
|
+
label: t("healthRelatedSubQ2"),
|
21282
21290
|
name: "healthRelatedSubQ2",
|
21283
21291
|
},
|
21284
21292
|
{
|
21285
21293
|
type: exports.FormElementType.Radio,
|
21286
|
-
label: t("
|
21294
|
+
label: t("healthRelatedSubQ3"),
|
21287
21295
|
name: "healthRelatedSubQ3",
|
21288
21296
|
},
|
21289
21297
|
{
|
21290
21298
|
type: exports.FormElementType.Radio,
|
21291
|
-
label: t("
|
21299
|
+
label: t("healthRelatedSubQ4"),
|
21292
21300
|
name: "healthRelatedSubQ4",
|
21293
21301
|
},
|
21294
21302
|
{
|
21295
21303
|
type: exports.FormElementType.Radio,
|
21296
|
-
label: t("
|
21304
|
+
label: t("healthRelatedSubQ5"),
|
21297
21305
|
name: "healthRelatedSubQ5",
|
21298
21306
|
},
|
21299
21307
|
{
|
21300
21308
|
type: exports.FormElementType.Radio,
|
21301
|
-
label: t("
|
21309
|
+
label: t("healthRelatedSubQ6"),
|
21302
21310
|
name: "healthRelatedSubQ6",
|
21303
21311
|
},
|
21304
21312
|
{
|
21305
21313
|
type: exports.FormElementType.Radio,
|
21306
|
-
label: t("
|
21314
|
+
label: t("healthRelatedSubQ7"),
|
21307
21315
|
name: "healthRelatedSubQ7",
|
21308
21316
|
},
|
21309
21317
|
{
|
21310
21318
|
type: exports.FormElementType.Radio,
|
21311
|
-
label: t("
|
21319
|
+
label: t("healthRelatedSubQ8"),
|
21312
21320
|
name: "healthRelatedSubQ8",
|
21313
21321
|
},
|
21314
21322
|
],
|
21315
21323
|
},
|
21316
21324
|
{
|
21317
|
-
title: t("
|
21318
|
-
label: t("
|
21325
|
+
title: t("educational"),
|
21326
|
+
label: t("educationRelatedMainQ"),
|
21319
21327
|
name: "educationRelatedMainQ",
|
21320
21328
|
subItems: [
|
21321
21329
|
{
|
21322
21330
|
type: exports.FormElementType.Radio,
|
21323
|
-
label: t("
|
21331
|
+
label: t("educationRelatedSubQ1"),
|
21324
21332
|
name: "educationRelatedSubQ1",
|
21325
21333
|
},
|
21326
21334
|
{
|
21327
21335
|
type: exports.FormElementType.Radio,
|
21328
|
-
label: t("
|
21336
|
+
label: t("educationRelatedSubQ2"),
|
21329
21337
|
name: "educationRelatedSubQ2",
|
21330
21338
|
},
|
21331
21339
|
{
|
21332
21340
|
type: exports.FormElementType.Radio,
|
21333
|
-
label: t("
|
21341
|
+
label: t("educationRelatedSubQ3"),
|
21334
21342
|
name: "educationRelatedSubQ3",
|
21335
21343
|
},
|
21336
21344
|
{
|
21337
21345
|
type: exports.FormElementType.Radio,
|
21338
|
-
label: t("
|
21346
|
+
label: t("educationRelatedSubQ4"),
|
21339
21347
|
name: "educationRelatedSubQ4",
|
21340
21348
|
},
|
21341
21349
|
],
|
21342
21350
|
},
|
21343
21351
|
{
|
21344
|
-
title: t("
|
21345
|
-
label: t("
|
21352
|
+
title: t("welfare"),
|
21353
|
+
label: t("welfareRelatedMainQ"),
|
21346
21354
|
name: "welfareRelatedMainQ",
|
21347
21355
|
subItems: [
|
21348
21356
|
{
|
21349
21357
|
type: exports.FormElementType.Radio,
|
21350
|
-
label: t("
|
21358
|
+
label: t("welfareRelatedSubQ1"),
|
21351
21359
|
name: "welfareRelatedSubQ1",
|
21352
21360
|
},
|
21353
21361
|
{
|
21354
21362
|
type: exports.FormElementType.Radio,
|
21355
|
-
label: t("
|
21363
|
+
label: t("welfareRelatedSubQ2"),
|
21356
21364
|
name: "welfareRelatedSubQ2",
|
21357
21365
|
},
|
21358
21366
|
{
|
21359
21367
|
type: exports.FormElementType.Radio,
|
21360
|
-
label: t("
|
21368
|
+
label: t("welfareRelatedSubQ3"),
|
21361
21369
|
name: "welfareRelatedSubQ3",
|
21362
21370
|
},
|
21363
21371
|
{
|
21364
21372
|
type: exports.FormElementType.Radio,
|
21365
|
-
label: t("
|
21373
|
+
label: t("welfareRelatedSubQ4"),
|
21366
21374
|
name: "welfareRelatedSubQ4",
|
21367
21375
|
},
|
21368
21376
|
{
|
21369
21377
|
type: exports.FormElementType.Radio,
|
21370
|
-
label: t("
|
21378
|
+
label: t("welfareRelatedSubQ5"),
|
21371
21379
|
name: "welfareRelatedSubQ5",
|
21372
21380
|
},
|
21373
21381
|
{
|
21374
21382
|
type: exports.FormElementType.Radio,
|
21375
|
-
label: t("
|
21383
|
+
label: t("welfareRelatedSubQ6"),
|
21376
21384
|
name: "welfareRelatedSubQ6",
|
21377
21385
|
},
|
21378
21386
|
{
|
21379
21387
|
type: exports.FormElementType.Radio,
|
21380
|
-
label: t("
|
21388
|
+
label: t("welfareRelatedSubQ7"),
|
21381
21389
|
name: "welfareRelatedSubQ7",
|
21382
21390
|
},
|
21383
21391
|
{
|
21384
21392
|
type: exports.FormElementType.Radio,
|
21385
|
-
label: t("
|
21393
|
+
label: t("welfareRelatedSubQ8"),
|
21386
21394
|
name: "welfareRelatedSubQ8",
|
21387
21395
|
},
|
21388
21396
|
],
|
@@ -21441,7 +21449,7 @@ var Social = function (props) {
|
|
21441
21449
|
React.createElement(antd.Col, { span: 24 },
|
21442
21450
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21443
21451
|
React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21444
|
-
React.createElement("span", null, t("
|
21452
|
+
React.createElement("span", null, t("social"))))),
|
21445
21453
|
viewOnly && !socialViewData && (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE })),
|
21446
21454
|
((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) {
|
21447
21455
|
return (React.createElement(React.Fragment, null,
|
@@ -21452,11 +21460,11 @@ var Social = function (props) {
|
|
21452
21460
|
React.createElement(antd.Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
|
21453
21461
|
React.createElement(antd.Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
|
21454
21462
|
React.createElement("div", { className: "radio-container" },
|
21455
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("
|
21463
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
21456
21464
|
React.createElement("div", { className: "radio-container" },
|
21457
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("
|
21465
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
21458
21466
|
React.createElement("div", { className: "radio-container" },
|
21459
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("
|
21467
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("na"))))),
|
21460
21468
|
form.getFieldValue(element.name) ===
|
21461
21469
|
exports.RadioButtonStatus.YES &&
|
21462
21470
|
element.subItems.map(function (elementItem) {
|
@@ -21469,11 +21477,11 @@ var Social = function (props) {
|
|
21469
21477
|
] },
|
21470
21478
|
React.createElement(antd.Radio.Group, { size: "middle" },
|
21471
21479
|
React.createElement("div", { className: "radio-container" },
|
21472
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("
|
21480
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
|
21473
21481
|
React.createElement("div", { className: "radio-container" },
|
21474
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("
|
21482
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
|
21475
21483
|
React.createElement("div", { className: "radio-container" },
|
21476
|
-
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("
|
21484
|
+
React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("na"))))));
|
21477
21485
|
}
|
21478
21486
|
else if (elementItem.type === exports.FormElementType.Input) {
|
21479
21487
|
return (React.createElement(antd.Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
|
@@ -22021,14 +22029,14 @@ var CoBenifitsComponent = function (props) {
|
|
22021
22029
|
? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental)
|
22022
22030
|
? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental
|
22023
22031
|
: {}
|
22024
|
-
: undefined, viewOnly: viewOnly || false, translator:
|
22032
|
+
: undefined, viewOnly: viewOnly || false, translator: translator }),
|
22025
22033
|
React.createElement(Social, { onFormSubmit: onSocialFormSubmit, socialViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.socialValueDetails)) ||
|
22026
|
-
(!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.socialValueDetails)), viewOnly: viewOnly || false, translator:
|
22034
|
+
(!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.socialValueDetails)), viewOnly: viewOnly || false, translator: translator }),
|
22027
22035
|
React.createElement(Economic, { onFormSubmit: onEconomicFormSubmit, economicViewData: viewOnly
|
22028
22036
|
? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic)
|
22029
22037
|
? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic
|
22030
22038
|
: {}
|
22031
|
-
: undefined, viewOnly: viewOnly || false, translator:
|
22039
|
+
: undefined, viewOnly: viewOnly || false, translator: translator }))),
|
22032
22040
|
},
|
22033
22041
|
{
|
22034
22042
|
label: t("coBenifits:assessment"),
|