xrk-components 2.0.0-beta.86 → 2.0.0-beta.88

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/lib/index.esm.js CHANGED
@@ -863,52 +863,59 @@ function easeInOutCubic(t, b, c, d) {
863
863
  return cc / 2 * ((t -= 2) * t * t + 2) + b;
864
864
  }
865
865
 
866
- /**
867
- * @vue/shared v3.5.17
868
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
869
- * @license MIT
870
- **/
871
-
872
- !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
873
- !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
874
- const NOOP = () => {
875
- };
876
- const hasOwnProperty$p = Object.prototype.hasOwnProperty;
877
- const hasOwn = (val, key) => hasOwnProperty$p.call(val, key);
878
- const isArray$1 = Array.isArray;
879
- const isDate$1 = (val) => toTypeString(val) === "[object Date]";
880
- const isFunction$2 = (val) => typeof val === "function";
881
- const isString$2 = (val) => typeof val === "string";
882
- const isObject$1 = (val) => val !== null && typeof val === "object";
883
- const isPromise = (val) => {
884
- return (isObject$1(val) || isFunction$2(val)) && isFunction$2(val.then) && isFunction$2(val.catch);
885
- };
886
- const objectToString$1 = Object.prototype.toString;
887
- const toTypeString = (value) => objectToString$1.call(value);
888
- const toRawType = (value) => {
889
- return toTypeString(value).slice(8, -1);
890
- };
891
- const isPlainObject$1 = (val) => toTypeString(val) === "[object Object]";
892
- const cacheStringFunction = (fn) => {
893
- const cache = /* @__PURE__ */ Object.create(null);
894
- return (str) => {
895
- const hit = cache[str];
896
- return hit || (cache[str] = fn(str));
897
- };
898
- };
899
- const camelizeRE = /-(\w)/g;
900
- const camelize = cacheStringFunction(
901
- (str) => {
902
- return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
903
- }
904
- );
905
- const hyphenateRE = /\B([A-Z])/g;
906
- const hyphenate = cacheStringFunction(
907
- (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
908
- );
909
- const capitalize$2 = cacheStringFunction((str) => {
910
- return str.charAt(0).toUpperCase() + str.slice(1);
911
- });
866
+ /**
867
+ * Make a map and return a function for checking if a key
868
+ * is in that map.
869
+ * IMPORTANT: all calls of this function must be prefixed with
870
+ * \/\*#\_\_PURE\_\_\*\/
871
+ * So that rollup can tree-shake them if necessary.
872
+ */
873
+
874
+ (process.env.NODE_ENV !== 'production')
875
+ ? Object.freeze({})
876
+ : {};
877
+ (process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];
878
+ const NOOP = () => { };
879
+ const hasOwnProperty$p = Object.prototype.hasOwnProperty;
880
+ const hasOwn = (val, key) => hasOwnProperty$p.call(val, key);
881
+ const isArray$1 = Array.isArray;
882
+ const isDate$1 = (val) => val instanceof Date;
883
+ const isFunction$2 = (val) => typeof val === 'function';
884
+ const isString$2 = (val) => typeof val === 'string';
885
+ const isObject$1 = (val) => val !== null && typeof val === 'object';
886
+ const isPromise = (val) => {
887
+ return isObject$1(val) && isFunction$2(val.then) && isFunction$2(val.catch);
888
+ };
889
+ const objectToString$1 = Object.prototype.toString;
890
+ const toTypeString = (value) => objectToString$1.call(value);
891
+ const toRawType = (value) => {
892
+ // extract "RawType" from strings like "[object RawType]"
893
+ return toTypeString(value).slice(8, -1);
894
+ };
895
+ const isPlainObject$1 = (val) => toTypeString(val) === '[object Object]';
896
+ const cacheStringFunction = (fn) => {
897
+ const cache = Object.create(null);
898
+ return ((str) => {
899
+ const hit = cache[str];
900
+ return hit || (cache[str] = fn(str));
901
+ });
902
+ };
903
+ const camelizeRE = /-(\w)/g;
904
+ /**
905
+ * @private
906
+ */
907
+ const camelize = cacheStringFunction((str) => {
908
+ return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));
909
+ });
910
+ const hyphenateRE = /\B([A-Z])/g;
911
+ /**
912
+ * @private
913
+ */
914
+ const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, '-$1').toLowerCase());
915
+ /**
916
+ * @private
917
+ */
918
+ const capitalize$2 = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));
912
919
 
913
920
  /** Detect free variable `global` from Node.js. */
914
921
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
@@ -21106,9 +21113,8 @@ function getOppositeAxis(axis) {
21106
21113
  function getAxisLength(axis) {
21107
21114
  return axis === 'y' ? 'height' : 'width';
21108
21115
  }
21109
- const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
21110
21116
  function getSideAxis(placement) {
21111
- return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
21117
+ return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
21112
21118
  }
21113
21119
  function getAlignmentAxis(placement) {
21114
21120
  return getOppositeAxis(getSideAxis(placement));
@@ -21133,19 +21139,19 @@ function getExpandedPlacements(placement) {
21133
21139
  function getOppositeAlignmentPlacement(placement) {
21134
21140
  return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
21135
21141
  }
21136
- const lrPlacement = ['left', 'right'];
21137
- const rlPlacement = ['right', 'left'];
21138
- const tbPlacement = ['top', 'bottom'];
21139
- const btPlacement = ['bottom', 'top'];
21140
21142
  function getSideList(side, isStart, rtl) {
21143
+ const lr = ['left', 'right'];
21144
+ const rl = ['right', 'left'];
21145
+ const tb = ['top', 'bottom'];
21146
+ const bt = ['bottom', 'top'];
21141
21147
  switch (side) {
21142
21148
  case 'top':
21143
21149
  case 'bottom':
21144
- if (rtl) return isStart ? rlPlacement : lrPlacement;
21145
- return isStart ? lrPlacement : rlPlacement;
21150
+ if (rtl) return isStart ? rl : lr;
21151
+ return isStart ? lr : rl;
21146
21152
  case 'left':
21147
21153
  case 'right':
21148
- return isStart ? tbPlacement : btPlacement;
21154
+ return isStart ? tb : bt;
21149
21155
  default:
21150
21156
  return [];
21151
21157
  }
@@ -21668,22 +21674,16 @@ const flip$1 = function (options) {
21668
21674
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
21669
21675
  const nextPlacement = placements[nextIndex];
21670
21676
  if (nextPlacement) {
21671
- const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
21672
- if (!ignoreCrossAxisOverflow ||
21673
- // We leave the current main axis only if every placement on that axis
21674
- // overflows the main axis.
21675
- overflowsData.every(d => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {
21676
- // Try next placement and re-run the lifecycle.
21677
- return {
21678
- data: {
21679
- index: nextIndex,
21680
- overflows: overflowsData
21681
- },
21682
- reset: {
21683
- placement: nextPlacement
21684
- }
21685
- };
21686
- }
21677
+ // Try next placement and re-run the lifecycle.
21678
+ return {
21679
+ data: {
21680
+ index: nextIndex,
21681
+ overflows: overflowsData
21682
+ },
21683
+ reset: {
21684
+ placement: nextPlacement
21685
+ }
21686
+ };
21687
21687
  }
21688
21688
 
21689
21689
  // First, find the candidates that fit on the mainAxis side of overflow,
@@ -21929,8 +21929,6 @@ const inline = function (options) {
21929
21929
  };
21930
21930
  };
21931
21931
 
21932
- const originSides = /*#__PURE__*/new Set(['left', 'top']);
21933
-
21934
21932
  // For type backwards-compatibility, the `OffsetOptions` type was also
21935
21933
  // Derivable.
21936
21934
 
@@ -21944,7 +21942,7 @@ async function convertValueToCoords(state, options) {
21944
21942
  const side = getSide(placement);
21945
21943
  const alignment = getAlignment(placement);
21946
21944
  const isVertical = getSideAxis(placement) === 'y';
21947
- const mainAxisMulti = originSides.has(side) ? -1 : 1;
21945
+ const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
21948
21946
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
21949
21947
  const rawValue = evaluate(options, state);
21950
21948
 
@@ -22144,7 +22142,7 @@ const limitShift = function (options) {
22144
22142
  if (checkCrossAxis) {
22145
22143
  var _middlewareData$offse, _middlewareData$offse2;
22146
22144
  const len = mainAxis === 'y' ? 'width' : 'height';
22147
- const isOriginSide = originSides.has(getSide(placement));
22145
+ const isOriginSide = ['top', 'left'].includes(getSide(placement));
22148
22146
  const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
22149
22147
  const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
22150
22148
  if (crossAxisCoord < limitMin) {
@@ -22289,7 +22287,6 @@ function isShadowRoot(value) {
22289
22287
  }
22290
22288
  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
22291
22289
  }
22292
- const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
22293
22290
  function isOverflowElement(element) {
22294
22291
  const {
22295
22292
  overflow,
@@ -22297,32 +22294,27 @@ function isOverflowElement(element) {
22297
22294
  overflowY,
22298
22295
  display
22299
22296
  } = getComputedStyle$1(element);
22300
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
22297
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
22301
22298
  }
22302
- const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
22303
22299
  function isTableElement(element) {
22304
- return tableElements.has(getNodeName(element));
22300
+ return ['table', 'td', 'th'].includes(getNodeName(element));
22305
22301
  }
22306
- const topLayerSelectors = [':popover-open', ':modal'];
22307
22302
  function isTopLayer(element) {
22308
- return topLayerSelectors.some(selector => {
22303
+ return [':popover-open', ':modal'].some(selector => {
22309
22304
  try {
22310
22305
  return element.matches(selector);
22311
- } catch (_e) {
22306
+ } catch (e) {
22312
22307
  return false;
22313
22308
  }
22314
22309
  });
22315
22310
  }
22316
- const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
22317
- const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
22318
- const containValues = ['paint', 'layout', 'strict', 'content'];
22319
22311
  function isContainingBlock(elementOrCss) {
22320
22312
  const webkit = isWebKit();
22321
22313
  const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
22322
22314
 
22323
22315
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
22324
22316
  // https://drafts.csswg.org/css-transforms-2/#individual-transforms
22325
- return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
22317
+ return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
22326
22318
  }
22327
22319
  function getContainingBlock(element) {
22328
22320
  let currentNode = getParentNode(element);
@@ -22340,9 +22332,8 @@ function isWebKit() {
22340
22332
  if (typeof CSS === 'undefined' || !CSS.supports) return false;
22341
22333
  return CSS.supports('-webkit-backdrop-filter', 'none');
22342
22334
  }
22343
- const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
22344
22335
  function isLastTraversableNode(node) {
22345
- return lastTraversableNodeNames.has(getNodeName(node));
22336
+ return ['html', 'body', '#document'].includes(getNodeName(node));
22346
22337
  }
22347
22338
  function getComputedStyle$1(element) {
22348
22339
  return getWindow(element).getComputedStyle(element);
@@ -22647,7 +22638,6 @@ function getViewportRect(element, strategy) {
22647
22638
  };
22648
22639
  }
22649
22640
 
22650
- const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
22651
22641
  // Returns the inner client rect, subtracting scrollbars if present.
22652
22642
  function getInnerBoundingClientRect(element, strategy) {
22653
22643
  const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
@@ -22712,7 +22702,7 @@ function getClippingElementAncestors(element, cache) {
22712
22702
  if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
22713
22703
  currentContainingBlockComputedStyle = null;
22714
22704
  }
22715
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
22705
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
22716
22706
  if (shouldDropCurrentNode) {
22717
22707
  // Drop non-containing blocks.
22718
22708
  result = result.filter(ancestor => ancestor !== currentNode);
@@ -22775,12 +22765,6 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
22775
22765
  scrollTop: 0
22776
22766
  };
22777
22767
  const offsets = createCoords(0);
22778
-
22779
- // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
22780
- // Firefox with layout.scrollbar.side = 3 in about:config to test this.
22781
- function setLeftRTLScrollbarOffset() {
22782
- offsets.x = getWindowScrollBarX(documentElement);
22783
- }
22784
22768
  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
22785
22769
  if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
22786
22770
  scroll = getNodeScroll(offsetParent);
@@ -22790,12 +22774,11 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
22790
22774
  offsets.x = offsetRect.x + offsetParent.clientLeft;
22791
22775
  offsets.y = offsetRect.y + offsetParent.clientTop;
22792
22776
  } else if (documentElement) {
22793
- setLeftRTLScrollbarOffset();
22777
+ // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
22778
+ // Firefox with layout.scrollbar.side = 3 in about:config to test this.
22779
+ offsets.x = getWindowScrollBarX(documentElement);
22794
22780
  }
22795
22781
  }
22796
- if (isFixed && !isOffsetParentAnElement && documentElement) {
22797
- setLeftRTLScrollbarOffset();
22798
- }
22799
22782
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
22800
22783
  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
22801
22784
  const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
@@ -22972,7 +22955,7 @@ function observeMove(element, onMove) {
22972
22955
  // Handle <iframe>s
22973
22956
  root: root.ownerDocument
22974
22957
  });
22975
- } catch (_e) {
22958
+ } catch (e) {
22976
22959
  io = new IntersectionObserver(handleObserve, options);
22977
22960
  }
22978
22961
  io.observe(element);
@@ -71521,7 +71504,8 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
71521
71504
  maxLine: { type: Number, required: false, default: 1 },
71522
71505
  trigger: { type: String, required: false, default: 'click' },
71523
71506
  maxCount: { type: Number, required: false },
71524
- notRepeatShow: { type: Boolean, required: false, default: true }
71507
+ notRepeatShow: { type: Boolean, required: false, default: true },
71508
+ type: { type: null, required: false, default: 'primary2' }
71525
71509
  }, setup: function (__props) {
71526
71510
  var props = __props;
71527
71511
  var popoverRef = ref();
@@ -71588,7 +71572,7 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
71588
71572
  ref: btnsRef
71589
71573
  }, [
71590
71574
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.btns, function (btn, index) {
71591
- return (openBlock(), createBlock(unref(BaseButton), mergeProps({ key: index }, __assign({ type: 'primary2', link: true }, btn)), {
71575
+ return (openBlock(), createBlock(unref(BaseButton), mergeProps({ key: index }, __assign({ type: __props.type, link: true }, btn)), {
71592
71576
  default: withCtx(function () { return [
71593
71577
  createTextVNode(toDisplayString(btn.content), 1 /* TEXT */)
71594
71578
  ]; }),
@@ -71609,13 +71593,13 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
71609
71593
  reference: withCtx(function () { return [
71610
71594
  createVNode(unref(BaseButton), {
71611
71595
  link: "",
71612
- type: "primary2"
71596
+ type: __props.type
71613
71597
  }, {
71614
71598
  default: withCtx(function () { return [
71615
71599
  _hoisted_1$h
71616
71600
  ]; }),
71617
71601
  _: 1 /* STABLE */
71618
- })
71602
+ }, 8 /* PROPS */, ["type"])
71619
71603
  ]; }),
71620
71604
  default: withCtx(function () { return [
71621
71605
  createElementVNode("div", _hoisted_2$a, [
@@ -76272,7 +76256,8 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
76272
76256
  }) },
76273
76257
  spanMethod: { type: null, required: false },
76274
76258
  treeProps: { type: Object, required: false },
76275
- tooltipOptions: { type: null, required: false }
76259
+ tooltipOptions: { type: null, required: false },
76260
+ hideSelectNo: { type: Boolean, required: false, default: false }
76276
76261
  }, emits: ["sort-change", "expand-change", "select", "select-all"], setup: function (__props, _a) {
76277
76262
  var _b;
76278
76263
  var expose = _a.expose, emits = _a.emit;
@@ -76325,7 +76310,7 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
76325
76310
  });
76326
76311
  return function (_ctx, _cache) {
76327
76312
  return (openBlock(), createBlock(unref(ElTable), {
76328
- class: normalizeClass({ 'base-table': __props.useBaseClass }),
76313
+ class: normalizeClass({ 'base-table': __props.useBaseClass, hideSelectNo: __props.hideSelectNo }),
76329
76314
  ref_key: "BaseTableRef",
76330
76315
  ref: BaseTableRef,
76331
76316
  data: transformData(__props.data),
@@ -76520,7 +76505,7 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76520
76505
  });
76521
76506
  var checkboxAllChecked = computed(function () {
76522
76507
  return (filterPageAllData.value.length > 0 &&
76523
- filterPageAllData.value.every(function (row) { return props.prop && row[props.prop] && isChecked(row[props.prop]); }));
76508
+ !filterPageAllData.value.some(function (row) { return props.prop && row[props.prop] && !isChecked(row[props.prop]); }));
76524
76509
  });
76525
76510
  var checkboxAllIndeterminate = computed(function () {
76526
76511
  return (filterPageAllData.value.length > 0 &&
@@ -76638,14 +76623,13 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76638
76623
  });
76639
76624
  };
76640
76625
  var handleCheckboxClick = function (row) { return __awaiter(_this, void 0, void 0, function () {
76641
- var _a, _b;
76626
+ var _a, _b, error_2;
76642
76627
  return __generator(this, function (_c) {
76643
76628
  switch (_c.label) {
76644
76629
  case 0:
76645
- if (_selectionDisabled(row) || row._selectionLoading)
76630
+ if (_selectionDisabled(row))
76646
76631
  return [2 /*return*/];
76647
76632
  if (!props.prop) return [3 /*break*/, 15];
76648
- row._selectionLoading = true;
76649
76633
  _c.label = 1;
76650
76634
  case 1:
76651
76635
  _c.trys.push([1, 14, , 15]);
@@ -76663,7 +76647,6 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76663
76647
  case 4:
76664
76648
  // 树结构数据,选择联动处理
76665
76649
  treeChecked({ row: row, type: 'remove' });
76666
- row._selectionLoading = false;
76667
76650
  _a = isFunction(props.selectionRemoveAfter);
76668
76651
  if (!_a) return [3 /*break*/, 6];
76669
76652
  return [4 /*yield*/, props.selectionRemoveAfter(row)];
@@ -76686,7 +76669,6 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76686
76669
  case 10:
76687
76670
  // 树结构数据,选择联动处理
76688
76671
  treeChecked({ row: row, type: 'add' });
76689
- row._selectionLoading = false;
76690
76672
  _b = isFunction(props.selectionAddAfter);
76691
76673
  if (!_b) return [3 /*break*/, 12];
76692
76674
  return [4 /*yield*/, props.selectionAddAfter(row)];
@@ -76699,8 +76681,8 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76699
76681
  emits('select', getSelectionRows === null || getSelectionRows === void 0 ? void 0 : getSelectionRows(), row);
76700
76682
  return [3 /*break*/, 15];
76701
76683
  case 14:
76702
- _c.sent();
76703
- row._selectionLoading = false;
76684
+ error_2 = _c.sent();
76685
+ console.log(error_2);
76704
76686
  return [3 /*break*/, 15];
76705
76687
  case 15: return [2 /*return*/];
76706
76688
  }
@@ -76750,13 +76732,11 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76750
76732
  style: { "display": "inline-block" },
76751
76733
  onClick: withModifiers(function ($event) { return (handleCheckboxClick(row)); }, ["prevent"])
76752
76734
  }, [
76753
- withDirectives(createVNode(unref(BaseCheckbox), {
76735
+ createVNode(unref(BaseCheckbox), {
76754
76736
  class: "table-base-checkbox",
76755
76737
  "model-value": unref(checked)(row),
76756
76738
  disabled: _selectionDisabled(row)
76757
- }, null, 8 /* PROPS */, ["model-value", "disabled"]), [
76758
- [unref(vLoading$1), row._selectionLoading]
76759
- ])
76739
+ }, null, 8 /* PROPS */, ["model-value", "disabled"])
76760
76740
  ], 8 /* PROPS */, _hoisted_1$5))
76761
76741
  : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
76762
76742
  createTextVNode(toDisplayString(getColumnValue(row, $index, column)), 1 /* TEXT */)