ui-kit-ck-consultant 0.5.201 → 0.5.202
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.
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -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,7 +10031,9 @@ 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,
|
10034
|
+
return /*#__PURE__*/React.createElement(Fragment$1, {
|
10035
|
+
idx: idxCol
|
10036
|
+
}, _this3.props.isWeek || idxCol < 5 ? /*#__PURE__*/React.createElement("td", {
|
10037
10037
|
key: idxCol
|
10038
10038
|
}, col ? /*#__PURE__*/React.createElement("span", {
|
10039
10039
|
className: _this3.checkActiveClassName(idxRow, idxCol),
|