@undp/carbon-library 1.0.135-ghg-inventory.4 → 1.0.135-ghg-inventory.5

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -26599,7 +26599,7 @@ var GHGEmissionsComponent = function (props) {
26599
26599
  var encodedUri = encodeURI("data:text/csv;charset=utf-8,".concat(csvContent));
26600
26600
  var link = document.createElement('a');
26601
26601
  link.setAttribute('href', encodedUri);
26602
- link.setAttribute('download', "GHG-Reporting Emission_".concat(dataToDownload.year, "_V").concat(dataToDownload.version, ".csv"));
26602
+ link.setAttribute('download', "GHG-Reporting Emissions_".concat(dataToDownload.year, "_V").concat(dataToDownload.version, ".csv"));
26603
26603
  document.body.appendChild(link);
26604
26604
  link.click();
26605
26605
  };
@@ -26816,7 +26816,7 @@ var GHGEmissionsComponent = function (props) {
26816
26816
  React.createElement(antd.Row, { className: "add-new-upload-file-label" }, t("ghgInventory:emissionRemovalDocument")),
26817
26817
  React.createElement(antd.Row, null,
26818
26818
  React.createElement(antd.Col, { xl: 15, md: 15, className: "view-download-file-name-input" },
26819
- React.createElement(antd.Input, { value: "GHG-Reporting Emission_".concat(tabData.year, "_V").concat(tabData.version, ".csv"), disabled: true })),
26819
+ React.createElement(antd.Input, { value: "GHG-Reporting Emissions_".concat(tabData.year, "_V").concat(tabData.version, ".csv"), disabled: true })),
26820
26820
  React.createElement(antd.Col, { xl: 5, md: 5, className: "view-download-file-inner-col" },
26821
26821
  React.createElement(antd.Button, { icon: React.createElement(icons.DownloadOutlined, null), onClick: function () { downloadCSV(tabData); } }, t("ghgInventory:download")))))),
26822
26822
  React.createElement(antd.Row, { gutter: 16 },
@@ -28219,7 +28219,7 @@ var GHGProjectionsComponent = function (props) {
28219
28219
  React.createElement(antd.Row, { className: "add-new-upload-file-label" }, t("ghgInventory:emissionRemovalDocument")),
28220
28220
  React.createElement(antd.Row, null,
28221
28221
  React.createElement(antd.Col, { xl: 15, md: 15, className: "view-download-file-name-input" },
28222
- React.createElement(antd.Input, { value: "GHG-Reporting Emission_".concat(tabData.year, "_V").concat(tabData.version, ".csv"), disabled: true })),
28222
+ React.createElement(antd.Input, { value: "GHG-Reporting Projections_".concat(tabData.year, "_V").concat(tabData.version, ".csv"), disabled: true })),
28223
28223
  React.createElement(antd.Col, { xl: 5, md: 5, className: "view-download-file-inner-col" },
28224
28224
  React.createElement(antd.Button, { icon: React.createElement(icons.DownloadOutlined, null), onClick: function () { downloadCSV(tabData); } }, t("ghgInventory:download")))))),
28225
28225
  React.createElement(antd.Row, { gutter: 16 },