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.js
CHANGED
@@ -9968,12 +9968,8 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
9968
9968
|
activeDate: this.props.valueDate
|
9969
9969
|
}, function () {
|
9970
9970
|
_this2.getArrayDays();
|
9971
|
-
|
9972
|
-
_this2.getArrayTime();
|
9973
9971
|
});
|
9974
|
-
}
|
9975
|
-
|
9976
|
-
if (prevProps.show !== this.props.show) {
|
9972
|
+
} else if (prevProps.show !== this.props.show) {
|
9977
9973
|
this.getArrayDays();
|
9978
9974
|
}
|
9979
9975
|
|
@@ -9983,6 +9979,8 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
9983
9979
|
}, this.getArrayTime);
|
9984
9980
|
} else if (prevProps.show !== this.props.show) {
|
9985
9981
|
this.getArrayTime();
|
9982
|
+
} else if (this.props.timesRange && JSON.stringify(this.props.timesRange) !== JSON.stringify(prevProps.timesRange)) {
|
9983
|
+
this.getArrayTime();
|
9986
9984
|
}
|
9987
9985
|
};
|
9988
9986
|
|
@@ -10036,7 +10034,9 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
10036
10034
|
return /*#__PURE__*/React__default.createElement("tr", {
|
10037
10035
|
key: idxRow
|
10038
10036
|
}, row.map(function (col, idxCol) {
|
10039
|
-
return /*#__PURE__*/React__default.createElement(React.Fragment,
|
10037
|
+
return /*#__PURE__*/React__default.createElement(React.Fragment, {
|
10038
|
+
idx: idxCol
|
10039
|
+
}, _this3.props.isWeek || idxCol < 5 ? /*#__PURE__*/React__default.createElement("td", {
|
10040
10040
|
key: idxCol
|
10041
10041
|
}, col ? /*#__PURE__*/React__default.createElement("span", {
|
10042
10042
|
className: _this3.checkActiveClassName(idxRow, idxCol),
|