ui-kit-ck-consultant 0.5.201 → 0.5.204

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.
@@ -9870,7 +9870,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
9870
9870
  return 1;
9871
9871
  } else {
9872
9872
  if (_this.props.enabledDates && _this.props.enabledDates.length) {
9873
- if (_this.props.enabledDates.includes(currentDate)) {
9873
+ if (_this.props.enabledDates.includes(currentDate) && !(_this.props.minDate && moment(_this.props.minDate).isAfter(moment(currentDate)))) {
9874
9874
  return 0;
9875
9875
  } else {
9876
9876
  return 2;
@@ -9965,12 +9965,8 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
9965
9965
  activeDate: this.props.valueDate
9966
9966
  }, function () {
9967
9967
  _this2.getArrayDays();
9968
-
9969
- _this2.getArrayTime();
9970
9968
  });
9971
- }
9972
-
9973
- if (prevProps.show !== this.props.show) {
9969
+ } else if (prevProps.show !== this.props.show) {
9974
9970
  this.getArrayDays();
9975
9971
  }
9976
9972
 
@@ -9980,6 +9976,8 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
9980
9976
  }, this.getArrayTime);
9981
9977
  } else if (prevProps.show !== this.props.show) {
9982
9978
  this.getArrayTime();
9979
+ } else if (this.props.timesRange && JSON.stringify(this.props.timesRange) !== JSON.stringify(prevProps.timesRange)) {
9980
+ this.getArrayTime();
9983
9981
  }
9984
9982
  };
9985
9983
 
@@ -10033,14 +10031,14 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
10033
10031
  return /*#__PURE__*/React.createElement("tr", {
10034
10032
  key: idxRow
10035
10033
  }, row.map(function (col, idxCol) {
10036
- return /*#__PURE__*/React.createElement(Fragment$1, null, _this3.props.isWeek || idxCol < 5 ? /*#__PURE__*/React.createElement("td", {
10037
- key: idxCol
10034
+ return _this3.props.isWeek || idxCol < 5 ? /*#__PURE__*/React.createElement("td", {
10035
+ key: idxRow + "-" + idxCol
10038
10036
  }, col ? /*#__PURE__*/React.createElement("span", {
10039
10037
  className: _this3.checkActiveClassName(idxRow, idxCol),
10040
10038
  onClick: function onClick() {
10041
10039
  return _this3.handleActiveClick(idxRow, idxCol);
10042
10040
  }
10043
- }, moment(_this3.state.year + "-" + _this3.state.month + "-" + col, 'YYYY-M-D').format('DD')) : null) : null);
10041
+ }, moment(_this3.state.year + "-" + _this3.state.month + "-" + col, 'YYYY-M-D').format('DD')) : null) : null;
10044
10042
  }));
10045
10043
  })))))), this.props.isTime && this.state.activeDate ? /*#__PURE__*/React.createElement(Col, {
10046
10044
  xs: 12,