evui 3.4.89 → 3.4.90
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/evui.common.js +18 -2
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +18 -2
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/treeGrid/uses.js +12 -1
package/dist/evui.common.js
CHANGED
|
@@ -11241,7 +11241,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
11241
11241
|
/***/ "9224":
|
|
11242
11242
|
/***/ (function(module) {
|
|
11243
11243
|
|
|
11244
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11244
|
+
module.exports = JSON.parse("{\"a\":\"3.4.90\"}");
|
|
11245
11245
|
|
|
11246
11246
|
/***/ }),
|
|
11247
11247
|
|
|
@@ -58913,6 +58913,10 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
58913
58913
|
*/
|
|
58914
58914
|
|
|
58915
58915
|
|
|
58916
|
+
var isEachMode = function isEachMode() {
|
|
58917
|
+
return checkInfo.useCheckbox.mode === 'each';
|
|
58918
|
+
};
|
|
58919
|
+
|
|
58916
58920
|
var unCheckedRow = function unCheckedRow(row) {
|
|
58917
58921
|
var index = stores.treeStore.findIndex(function (item) {
|
|
58918
58922
|
return item.index === row.index;
|
|
@@ -58924,6 +58928,10 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
58924
58928
|
};
|
|
58925
58929
|
|
|
58926
58930
|
var onCheckChildren = function onCheckChildren(node) {
|
|
58931
|
+
if (isEachMode()) {
|
|
58932
|
+
return;
|
|
58933
|
+
}
|
|
58934
|
+
|
|
58927
58935
|
if (node.hasChild) {
|
|
58928
58936
|
node.children.forEach(function (children) {
|
|
58929
58937
|
var childNode = children;
|
|
@@ -58948,6 +58956,10 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
58948
58956
|
};
|
|
58949
58957
|
|
|
58950
58958
|
var onCheckParent = function onCheckParent(node) {
|
|
58959
|
+
if (isEachMode()) {
|
|
58960
|
+
return;
|
|
58961
|
+
}
|
|
58962
|
+
|
|
58951
58963
|
var parentNode = node.parent;
|
|
58952
58964
|
|
|
58953
58965
|
if (parentNode) {
|
|
@@ -59065,8 +59077,12 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
59065
59077
|
|
|
59066
59078
|
|
|
59067
59079
|
var onCheckAll = function onCheckAll(event) {
|
|
59080
|
+
var _stores$store;
|
|
59081
|
+
|
|
59068
59082
|
var status = checkInfo.isHeaderChecked;
|
|
59069
|
-
var store = stores.store
|
|
59083
|
+
var store = (_stores$store = stores.store) === null || _stores$store === void 0 ? void 0 : _stores$store.filter(function (row) {
|
|
59084
|
+
return row.isFilter;
|
|
59085
|
+
});
|
|
59070
59086
|
|
|
59071
59087
|
if (pageInfo.isClientPaging) {
|
|
59072
59088
|
store = getPagingData();
|