sag_components 2.0.0-beta353 → 2.0.0-beta354
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 +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -41970,7 +41970,10 @@ const TableHeader = _ref => {
|
|
|
41970
41970
|
"data-column": column.key
|
|
41971
41971
|
}), column.fieldType?.toLowerCase() === 'checkbox' && column.showCheckboxInTitle === true && /*#__PURE__*/React$1.createElement(ColumnCheckbox, {
|
|
41972
41972
|
type: "checkbox",
|
|
41973
|
-
checked: headerCheckboxStates[column.key]
|
|
41973
|
+
checked: headerCheckboxStates[column.key] !== "partial" && Boolean(headerCheckboxStates[column.key]),
|
|
41974
|
+
ref: el => {
|
|
41975
|
+
if (el) el.indeterminate = headerCheckboxStates[column.key] === "partial";
|
|
41976
|
+
},
|
|
41974
41977
|
onChange: e => handleHeaderCheckboxClick(column.key, e),
|
|
41975
41978
|
"data-column": column.key,
|
|
41976
41979
|
style: {
|