@pdg/react-table 1.0.25 → 1.0.26
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.esm.js +12 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -9008,6 +9008,18 @@ var Table = React__default.forwardRef(function (_a, ref) {
|
|
|
9008
9008
|
useEffect(function () {
|
|
9009
9009
|
stopHeadCheckTimer();
|
|
9010
9010
|
clearFireOnCheckChangeTimer();
|
|
9011
|
+
Object.keys(localHeaderDataRef.current).forEach(function (key) {
|
|
9012
|
+
var _a;
|
|
9013
|
+
if (localHeaderDataRef.current[key].column.type === 'check') {
|
|
9014
|
+
(_a = localHeaderDataRef.current[key].commands) === null || _a === void 0 ? void 0 : _a.setChecked(false);
|
|
9015
|
+
}
|
|
9016
|
+
});
|
|
9017
|
+
Object.keys(localBodyDataRef.current).forEach(function (key) {
|
|
9018
|
+
Object.keys(localBodyDataRef.current[key].columns).forEach(function (cKey) {
|
|
9019
|
+
var _a;
|
|
9020
|
+
(_a = localBodyDataRef.current[key].columns[cKey].commands) === null || _a === void 0 ? void 0 : _a.setChecked(false);
|
|
9021
|
+
});
|
|
9022
|
+
});
|
|
9011
9023
|
setSortableItems(makeSortableItems(items));
|
|
9012
9024
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
9013
9025
|
}, [items]);
|