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.umd.js
CHANGED
|
@@ -11250,7 +11250,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
11250
11250
|
/***/ "9224":
|
|
11251
11251
|
/***/ (function(module) {
|
|
11252
11252
|
|
|
11253
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11253
|
+
module.exports = JSON.parse("{\"a\":\"3.4.90\"}");
|
|
11254
11254
|
|
|
11255
11255
|
/***/ }),
|
|
11256
11256
|
|
|
@@ -58922,6 +58922,10 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
58922
58922
|
*/
|
|
58923
58923
|
|
|
58924
58924
|
|
|
58925
|
+
var isEachMode = function isEachMode() {
|
|
58926
|
+
return checkInfo.useCheckbox.mode === 'each';
|
|
58927
|
+
};
|
|
58928
|
+
|
|
58925
58929
|
var unCheckedRow = function unCheckedRow(row) {
|
|
58926
58930
|
var index = stores.treeStore.findIndex(function (item) {
|
|
58927
58931
|
return item.index === row.index;
|
|
@@ -58933,6 +58937,10 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
58933
58937
|
};
|
|
58934
58938
|
|
|
58935
58939
|
var onCheckChildren = function onCheckChildren(node) {
|
|
58940
|
+
if (isEachMode()) {
|
|
58941
|
+
return;
|
|
58942
|
+
}
|
|
58943
|
+
|
|
58936
58944
|
if (node.hasChild) {
|
|
58937
58945
|
node.children.forEach(function (children) {
|
|
58938
58946
|
var childNode = children;
|
|
@@ -58957,6 +58965,10 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
58957
58965
|
};
|
|
58958
58966
|
|
|
58959
58967
|
var onCheckParent = function onCheckParent(node) {
|
|
58968
|
+
if (isEachMode()) {
|
|
58969
|
+
return;
|
|
58970
|
+
}
|
|
58971
|
+
|
|
58960
58972
|
var parentNode = node.parent;
|
|
58961
58973
|
|
|
58962
58974
|
if (parentNode) {
|
|
@@ -59074,8 +59086,12 @@ var treeGrid_uses_checkEvent = function checkEvent(params) {
|
|
|
59074
59086
|
|
|
59075
59087
|
|
|
59076
59088
|
var onCheckAll = function onCheckAll(event) {
|
|
59089
|
+
var _stores$store;
|
|
59090
|
+
|
|
59077
59091
|
var status = checkInfo.isHeaderChecked;
|
|
59078
|
-
var store = stores.store
|
|
59092
|
+
var store = (_stores$store = stores.store) === null || _stores$store === void 0 ? void 0 : _stores$store.filter(function (row) {
|
|
59093
|
+
return row.isFilter;
|
|
59094
|
+
});
|
|
59079
59095
|
|
|
59080
59096
|
if (pageInfo.isClientPaging) {
|
|
59081
59097
|
store = getPagingData();
|