sag_components 1.0.150 → 1.0.152

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.
@@ -74,8 +74,9 @@ var Datepicker = function Datepicker(_ref) {
74
74
  value: value,
75
75
  onChange: function onChange(newValue) {
76
76
  setValue(newValue);
77
+ console.log("newValue", newValue.format("YYYY-MM-DD").toString());
77
78
  _onChange({
78
- newValue: newValue
79
+ newValue: newValue.format("YYYY-MM-DD").toString()
79
80
  });
80
81
  },
81
82
  sx: getTextFieldStyle(),
@@ -56,11 +56,11 @@ var TotalBenchmarkBarchart = function TotalBenchmarkBarchart(_ref) {
56
56
  tempFormattedBarChartData.push({
57
57
  title1: barChartData[0].title,
58
58
  value1: barChartData[0].value,
59
- formattedValue1: currency ? (0, _CommonFunctions.getCurrencySign)(currencyType).toString().concat("", (0, _CommonFunctions.getFormattedValue)(barChartData[0].value), "", (0, _CommonFunctions.getFormattedUnits)(barChartData[0].value)) : "",
59
+ formattedValue1: currency ? (0, _CommonFunctions.getCurrencySign)(currencyType).toString().concat("", (0, _CommonFunctions.getFormattedValue)(barChartData[0].value), "", (0, _CommonFunctions.getFormattedUnits)(barChartData[0].value)) : (0, _CommonFunctions.getFormattedValue)(barChartData[0].value).toString().concat("", (0, _CommonFunctions.getFormattedUnits)(barChartData[0].value)),
60
60
  color1: barChartData[0].color ? barChartData[0].color : "#79DB95",
61
61
  title2: barChartData[1].title,
62
62
  value2: barChartData[1].value,
63
- formattedValue2: currency ? (0, _CommonFunctions.getCurrencySign)(currencyType).toString().concat("", (0, _CommonFunctions.getFormattedValue)(barChartData[1].value), "", (0, _CommonFunctions.getFormattedUnits)(barChartData[1].value)) : "",
63
+ formattedValue2: currency ? (0, _CommonFunctions.getCurrencySign)(currencyType).toString().concat("", (0, _CommonFunctions.getFormattedValue)(barChartData[1].value), "", (0, _CommonFunctions.getFormattedUnits)(barChartData[1].value)) : (0, _CommonFunctions.getFormattedValue)(barChartData[1].value).toString().concat("", (0, _CommonFunctions.getFormattedUnits)(barChartData[1].value)),
64
64
  color2: barChartData[1].color ? barChartData[1].color : "#D4C0FF"
65
65
  });
66
66
  console.log("barChartData changed", barChartData);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.150",
3
+ "version": "1.0.152",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {