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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evui",
3
- "version": "3.4.89",
3
+ "version": "3.4.90",
4
4
  "description": "A EXEM Library project",
5
5
  "author": "exem <dev_client@ex-em.com>",
6
6
  "license": "MIT",
@@ -453,11 +453,14 @@ export const checkEvent = (params) => {
453
453
  getPagingData,
454
454
  } = params;
455
455
  const { emit } = getCurrentInstance();
456
+
456
457
  /**
457
458
  * row에 대한 체크 상태를 해제한다.
458
459
  *
459
460
  * @param {array} row - row 데이터
460
461
  */
462
+ const isEachMode = () => checkInfo.useCheckbox.mode === 'each';
463
+
461
464
  const unCheckedRow = (row) => {
462
465
  const index = stores.treeStore.findIndex(
463
466
  item => item.index === row.index);
@@ -467,6 +470,10 @@ export const checkEvent = (params) => {
467
470
  }
468
471
  };
469
472
  const onCheckChildren = (node) => {
473
+ if (isEachMode()) {
474
+ return;
475
+ }
476
+
470
477
  if (node.hasChild) {
471
478
  node.children.forEach((children) => {
472
479
  const childNode = children;
@@ -486,6 +493,10 @@ export const checkEvent = (params) => {
486
493
  }
487
494
  };
488
495
  const onCheckParent = (node) => {
496
+ if (isEachMode()) {
497
+ return;
498
+ }
499
+
489
500
  const parentNode = node.parent;
490
501
  if (parentNode) {
491
502
  const isCheck = parentNode.children.every(n => n.checked);
@@ -574,7 +585,7 @@ export const checkEvent = (params) => {
574
585
  */
575
586
  const onCheckAll = (event) => {
576
587
  const status = checkInfo.isHeaderChecked;
577
- let store = stores.store;
588
+ let store = stores.store?.filter(row => row.isFilter);
578
589
  if (pageInfo.isClientPaging) {
579
590
  store = getPagingData();
580
591
  }