ui-kit-ck-consultant 0.5.202 → 0.5.205

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.
@@ -2107,14 +2107,16 @@ var BarChart = /*#__PURE__*/function (_React$Component) {
2107
2107
  var optionsCurrency = {
2108
2108
  style: 'currency',
2109
2109
  currency: 'EUR',
2110
- minimumFractionDigits: digits
2110
+ minimumFractionDigits: digits,
2111
+ maximumFractionDigits: digits
2111
2112
  };
2112
2113
  var value = new Intl.NumberFormat('fr-FR', optionsCurrency).format(tooltipItem.yLabel);
2113
2114
  return name + " : " + value;
2114
2115
  } else if (_this.props.format === 'percentage') {
2115
2116
  var optionsPercentage = {
2116
2117
  style: 'percent',
2117
- minimumFractionDigits: digits
2118
+ minimumFractionDigits: digits,
2119
+ maximumFractionDigits: digits
2118
2120
  };
2119
2121
 
2120
2122
  var _value = new Intl.NumberFormat('fr-FR', optionsPercentage).format(tooltipItem.yLabel / 100);
@@ -2122,7 +2124,8 @@ var BarChart = /*#__PURE__*/function (_React$Component) {
2122
2124
  return name + " : " + _value;
2123
2125
  } else {
2124
2126
  var options = {
2125
- minimumFractionDigits: digits
2127
+ minimumFractionDigits: digits,
2128
+ maximumFractionDigits: digits
2126
2129
  };
2127
2130
 
2128
2131
  var _value2 = new Intl.NumberFormat('fr-FR', options).format(tooltipItem.yLabel);
@@ -9870,7 +9873,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
9870
9873
  return 1;
9871
9874
  } else {
9872
9875
  if (_this.props.enabledDates && _this.props.enabledDates.length) {
9873
- if (_this.props.enabledDates.includes(currentDate)) {
9876
+ if (_this.props.enabledDates.includes(currentDate) && !(_this.props.minDate && moment(_this.props.minDate).isAfter(moment(currentDate)))) {
9874
9877
  return 0;
9875
9878
  } else {
9876
9879
  return 2;
@@ -10031,16 +10034,14 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
10031
10034
  return /*#__PURE__*/React.createElement("tr", {
10032
10035
  key: idxRow
10033
10036
  }, row.map(function (col, idxCol) {
10034
- return /*#__PURE__*/React.createElement(Fragment$1, {
10035
- idx: idxCol
10036
- }, _this3.props.isWeek || idxCol < 5 ? /*#__PURE__*/React.createElement("td", {
10037
- key: idxCol
10037
+ return _this3.props.isWeek || idxCol < 5 ? /*#__PURE__*/React.createElement("td", {
10038
+ key: idxRow + "-" + idxCol
10038
10039
  }, col ? /*#__PURE__*/React.createElement("span", {
10039
10040
  className: _this3.checkActiveClassName(idxRow, idxCol),
10040
10041
  onClick: function onClick() {
10041
10042
  return _this3.handleActiveClick(idxRow, idxCol);
10042
10043
  }
10043
- }, moment(_this3.state.year + "-" + _this3.state.month + "-" + col, 'YYYY-M-D').format('DD')) : null) : null);
10044
+ }, moment(_this3.state.year + "-" + _this3.state.month + "-" + col, 'YYYY-M-D').format('DD')) : null) : null;
10044
10045
  }));
10045
10046
  })))))), this.props.isTime && this.state.activeDate ? /*#__PURE__*/React.createElement(Col, {
10046
10047
  xs: 12,