vxe-table 4.7.28-beta.1 → 4.7.28-beta.2

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.
@@ -269,7 +269,6 @@ export const Cell = {
269
269
  }
270
270
  if (!trigger || trigger === 'default') {
271
271
  ons.onClick = (evnt) => {
272
- evnt.stopPropagation();
273
272
  $table.triggerTreeExpandEvent(evnt, params);
274
273
  };
275
274
  }
@@ -359,7 +358,6 @@ export const Cell = {
359
358
  ons = {
360
359
  onClick(evnt) {
361
360
  if (!isDisabled && isVisible) {
362
- evnt.stopPropagation();
363
361
  $table.triggerRadioRowEvent(evnt, params);
364
362
  }
365
363
  }
@@ -412,7 +410,6 @@ export const Cell = {
412
410
  ons = {
413
411
  onClick(evnt) {
414
412
  if (!isAllCheckboxDisabled) {
415
- evnt.stopPropagation();
416
413
  $table.triggerCheckAllEvent(evnt, !isAllCheckboxSelected);
417
414
  }
418
415
  }
@@ -469,7 +466,6 @@ export const Cell = {
469
466
  ons = {
470
467
  onClick(evnt) {
471
468
  if (!isDisabled && isVisible) {
472
- evnt.stopPropagation();
473
469
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
474
470
  }
475
471
  }
@@ -531,7 +527,6 @@ export const Cell = {
531
527
  ons = {
532
528
  onClick(evnt) {
533
529
  if (!isDisabled && isVisible) {
534
- evnt.stopPropagation();
535
530
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
536
531
  }
537
532
  }
@@ -602,7 +597,6 @@ export const Cell = {
602
597
  'is--active': isAceived
603
598
  }],
604
599
  onClick(evnt) {
605
- evnt.stopPropagation();
606
600
  $table.triggerRowExpandEvent(evnt, params);
607
601
  }
608
602
  }, [
@@ -5986,6 +5986,7 @@ export default defineComponent({
5986
5986
  if (trigger === 'manual') {
5987
5987
  return;
5988
5988
  }
5989
+ evnt.stopPropagation();
5989
5990
  if (checkboxOpts.isShiftKey && evnt.shiftKey && !props.treeConfig) {
5990
5991
  const checkboxRecords = tableMethods.getCheckboxRecords();
5991
5992
  if (checkboxRecords.length) {
@@ -6020,6 +6021,9 @@ export default defineComponent({
6020
6021
  if (trigger === 'manual') {
6021
6022
  return;
6022
6023
  }
6024
+ if (evnt) {
6025
+ evnt.stopPropagation();
6026
+ }
6023
6027
  handleCheckAllEvent(evnt, value);
6024
6028
  },
6025
6029
  /**
@@ -6033,6 +6037,7 @@ export default defineComponent({
6033
6037
  if (trigger === 'manual') {
6034
6038
  return;
6035
6039
  }
6040
+ evnt.stopPropagation();
6036
6041
  let newValue = row;
6037
6042
  let isChange = oldValue !== newValue;
6038
6043
  if (isChange) {
@@ -6069,6 +6074,7 @@ export default defineComponent({
6069
6074
  if (trigger === 'manual') {
6070
6075
  return;
6071
6076
  }
6077
+ evnt.stopPropagation();
6072
6078
  const rowid = getRowid($xeTable, row);
6073
6079
  if (!lazy || !rowExpandLazyLoadedMaps[rowid]) {
6074
6080
  const expanded = !tableMethods.isRowExpandByRow(row);
@@ -6097,6 +6103,7 @@ export default defineComponent({
6097
6103
  if (trigger === 'manual') {
6098
6104
  return;
6099
6105
  }
6106
+ evnt.stopPropagation();
6100
6107
  const rowid = getRowid($xeTable, row);
6101
6108
  if (!lazy || !treeExpandLazyLoadedMaps[rowid]) {
6102
6109
  const expanded = !tableMethods.isTreeExpandByRow(row);
package/es/ui/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "4.7.28-beta.1";
3
+ export const version = "4.7.28-beta.2";
4
4
  VxeUI.version = version;
5
- VxeUI.tableVersion = "4.7.28-beta.1";
5
+ VxeUI.tableVersion = "4.7.28-beta.2";
6
6
  VxeUI.setConfig({
7
7
  emptyCell: ' ',
8
8
  table: {
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"4.7.28-beta.1"}`;
3
+ const version = `table v${"4.7.28-beta.2"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -1951,9 +1951,9 @@ function eqEmptyValue(cellValue) {
1951
1951
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
1952
1952
 
1953
1953
 
1954
- const version = "4.7.28-beta.1";
1954
+ const version = "4.7.28-beta.2";
1955
1955
  core_.VxeUI.version = version;
1956
- core_.VxeUI.tableVersion = "4.7.28-beta.1";
1956
+ core_.VxeUI.tableVersion = "4.7.28-beta.2";
1957
1957
  core_.VxeUI.setConfig({
1958
1958
  emptyCell: ' ',
1959
1959
  table: {
@@ -2254,7 +2254,7 @@ var es_array_push = __webpack_require__(4114);
2254
2254
  const {
2255
2255
  log: log_log
2256
2256
  } = core_.VxeUI;
2257
- const log_version = `table v${"4.7.28-beta.1"}`;
2257
+ const log_version = `table v${"4.7.28-beta.2"}`;
2258
2258
  const warnLog = log_log.create('warn', log_version);
2259
2259
  const errLog = log_log.create('error', log_version);
2260
2260
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -3437,7 +3437,6 @@ const Cell = {
3437
3437
  }
3438
3438
  if (!trigger || trigger === 'default') {
3439
3439
  ons.onClick = evnt => {
3440
- evnt.stopPropagation();
3441
3440
  $table.triggerTreeExpandEvent(evnt, params);
3442
3441
  };
3443
3442
  }
@@ -3558,7 +3557,6 @@ const Cell = {
3558
3557
  ons = {
3559
3558
  onClick(evnt) {
3560
3559
  if (!isDisabled && isVisible) {
3561
- evnt.stopPropagation();
3562
3560
  $table.triggerRadioRowEvent(evnt, params);
3563
3561
  }
3564
3562
  }
@@ -3633,7 +3631,6 @@ const Cell = {
3633
3631
  ons = {
3634
3632
  onClick(evnt) {
3635
3633
  if (!isAllCheckboxDisabled) {
3636
- evnt.stopPropagation();
3637
3634
  $table.triggerCheckAllEvent(evnt, !isAllCheckboxSelected);
3638
3635
  }
3639
3636
  }
@@ -3712,7 +3709,6 @@ const Cell = {
3712
3709
  ons = {
3713
3710
  onClick(evnt) {
3714
3711
  if (!isDisabled && isVisible) {
3715
- evnt.stopPropagation();
3716
3712
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
3717
3713
  }
3718
3714
  }
@@ -3806,7 +3802,6 @@ const Cell = {
3806
3802
  ons = {
3807
3803
  onClick(evnt) {
3808
3804
  if (!isDisabled && isVisible) {
3809
- evnt.stopPropagation();
3810
3805
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
3811
3806
  }
3812
3807
  }
@@ -3906,7 +3901,6 @@ const Cell = {
3906
3901
  'is--active': isAceived
3907
3902
  }],
3908
3903
  onClick(evnt) {
3909
- evnt.stopPropagation();
3910
3904
  $table.triggerRowExpandEvent(evnt, params);
3911
3905
  }
3912
3906
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
@@ -14991,6 +14985,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14991
14985
  if (trigger === 'manual') {
14992
14986
  return;
14993
14987
  }
14988
+ evnt.stopPropagation();
14994
14989
  if (checkboxOpts.isShiftKey && evnt.shiftKey && !props.treeConfig) {
14995
14990
  const checkboxRecords = tableMethods.getCheckboxRecords();
14996
14991
  if (checkboxRecords.length) {
@@ -15031,6 +15026,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
15031
15026
  if (trigger === 'manual') {
15032
15027
  return;
15033
15028
  }
15029
+ if (evnt) {
15030
+ evnt.stopPropagation();
15031
+ }
15034
15032
  handleCheckAllEvent(evnt, value);
15035
15033
  },
15036
15034
  /**
@@ -15050,6 +15048,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
15050
15048
  if (trigger === 'manual') {
15051
15049
  return;
15052
15050
  }
15051
+ evnt.stopPropagation();
15053
15052
  let newValue = row;
15054
15053
  let isChange = oldValue !== newValue;
15055
15054
  if (isChange) {
@@ -15105,6 +15104,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
15105
15104
  if (trigger === 'manual') {
15106
15105
  return;
15107
15106
  }
15107
+ evnt.stopPropagation();
15108
15108
  const rowid = getRowid($xeTable, row);
15109
15109
  if (!lazy || !rowExpandLazyLoadedMaps[rowid]) {
15110
15110
  const expanded = !tableMethods.isRowExpandByRow(row);
@@ -15141,6 +15141,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
15141
15141
  if (trigger === 'manual') {
15142
15142
  return;
15143
15143
  }
15144
+ evnt.stopPropagation();
15144
15145
  const rowid = getRowid($xeTable, row);
15145
15146
  if (!lazy || !treeExpandLazyLoadedMaps[rowid]) {
15146
15147
  const expanded = !tableMethods.isTreeExpandByRow(row);