@kyfe/ks-query-table 0.0.13 → 0.0.14

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- ;{try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="807508cc-cf54-4e06-b227-d35e9e901164",e._sentryDebugIdIdentifier="sentry-dbid-807508cc-cf54-4e06-b227-d35e9e901164")}catch(e){}};
1
+ ;{try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a64a3c07-0ead-4248-a325-f1c7d62ce2a1",e._sentryDebugIdIdentifier="sentry-dbid-a64a3c07-0ead-4248-a325-f1c7d62ce2a1")}catch(e){}};
2
2
  {
3
3
  let _global =
4
4
  typeof window !== 'undefined' ?
@@ -11,18 +11,9 @@
11
11
  self :
12
12
  {};
13
13
 
14
- _global.SENTRY_RELEASE={id:"@kyfe/ks-query-table@0.0.13"};}
15
- (function webpackUniversalModuleDefinition(root, factory) {
16
- if(typeof exports === 'object' && typeof module === 'object')
17
- module.exports = factory();
18
- else if(typeof define === 'function' && define.amd)
19
- define([], factory);
20
- else if(typeof exports === 'object')
21
- exports["ks-query-table"] = factory();
22
- else
23
- root["ks-query-table"] = factory();
24
- })((typeof self !== 'undefined' ? self : this), function() {
25
- return /******/ (function(modules) { // webpackBootstrap
14
+ _global.SENTRY_RELEASE={id:"@kyfe/ks-query-table@0.0.14"};}
15
+ module.exports =
16
+ /******/ (function(modules) { // webpackBootstrap
26
17
  /******/ // The module cache
27
18
  /******/ var installedModules = {};
28
19
  /******/
@@ -9695,14 +9686,14 @@ function getWindowScrollingElement() {
9695
9686
  return document.documentElement;
9696
9687
  }
9697
9688
  }
9698
- /**
9699
- * Returns the "bounding client rect" of given element
9700
- * @param {HTMLElement} el The element whose boundingClientRect is wanted
9701
- * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
9702
- * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
9703
- * @param {[Boolean]} undoScale Whether the container's scale() should be undone
9704
- * @param {[HTMLElement]} container The parent the element will be placed in
9705
- * @return {Object} The boundingClientRect of el, with specified adjustments
9689
+ /**
9690
+ * Returns the "bounding client rect" of given element
9691
+ * @param {HTMLElement} el The element whose boundingClientRect is wanted
9692
+ * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
9693
+ * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
9694
+ * @param {[Boolean]} undoScale Whether the container's scale() should be undone
9695
+ * @param {[HTMLElement]} container The parent the element will be placed in
9696
+ * @return {Object} The boundingClientRect of el, with specified adjustments
9706
9697
  */
9707
9698
 
9708
9699
 
@@ -9774,12 +9765,12 @@ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoS
9774
9765
  height: height
9775
9766
  };
9776
9767
  }
9777
- /**
9778
- * Checks if a side of an element is scrolled past a side of its parents
9779
- * @param {HTMLElement} el The element who's side being scrolled out of view is in question
9780
- * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
9781
- * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
9782
- * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
9768
+ /**
9769
+ * Checks if a side of an element is scrolled past a side of its parents
9770
+ * @param {HTMLElement} el The element who's side being scrolled out of view is in question
9771
+ * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
9772
+ * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
9773
+ * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
9783
9774
  */
9784
9775
 
9785
9776
 
@@ -9805,13 +9796,13 @@ function isScrolledPast(el, elSide, parentSide) {
9805
9796
 
9806
9797
  return false;
9807
9798
  }
9808
- /**
9809
- * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
9810
- * and non-draggable elements
9811
- * @param {HTMLElement} el The parent element
9812
- * @param {Number} childNum The index of the child
9813
- * @param {Object} options Parent Sortable's options
9814
- * @return {HTMLElement} The child at index childNum, or null if not found
9799
+ /**
9800
+ * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
9801
+ * and non-draggable elements
9802
+ * @param {HTMLElement} el The parent element
9803
+ * @param {Number} childNum The index of the child
9804
+ * @param {Object} options Parent Sortable's options
9805
+ * @return {HTMLElement} The child at index childNum, or null if not found
9815
9806
  */
9816
9807
 
9817
9808
 
@@ -9834,11 +9825,11 @@ function getChild(el, childNum, options) {
9834
9825
 
9835
9826
  return null;
9836
9827
  }
9837
- /**
9838
- * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
9839
- * @param {HTMLElement} el Parent element
9840
- * @param {selector} selector Any other elements that should be ignored
9841
- * @return {HTMLElement} The last child, ignoring ghostEl
9828
+ /**
9829
+ * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
9830
+ * @param {HTMLElement} el Parent element
9831
+ * @param {selector} selector Any other elements that should be ignored
9832
+ * @return {HTMLElement} The last child, ignoring ghostEl
9842
9833
  */
9843
9834
 
9844
9835
 
@@ -9851,12 +9842,12 @@ function lastChild(el, selector) {
9851
9842
 
9852
9843
  return last || null;
9853
9844
  }
9854
- /**
9855
- * Returns the index of an element within its parent for a selected set of
9856
- * elements
9857
- * @param {HTMLElement} el
9858
- * @param {selector} selector
9859
- * @return {number}
9845
+ /**
9846
+ * Returns the index of an element within its parent for a selected set of
9847
+ * elements
9848
+ * @param {HTMLElement} el
9849
+ * @param {selector} selector
9850
+ * @return {number}
9860
9851
  */
9861
9852
 
9862
9853
 
@@ -9877,11 +9868,11 @@ function index(el, selector) {
9877
9868
 
9878
9869
  return index;
9879
9870
  }
9880
- /**
9881
- * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
9882
- * The value is returned in real pixels.
9883
- * @param {HTMLElement} el
9884
- * @return {Array} Offsets in the format of [left, top]
9871
+ /**
9872
+ * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
9873
+ * The value is returned in real pixels.
9874
+ * @param {HTMLElement} el
9875
+ * @return {Array} Offsets in the format of [left, top]
9885
9876
  */
9886
9877
 
9887
9878
 
@@ -9902,11 +9893,11 @@ function getRelativeScrollOffset(el) {
9902
9893
 
9903
9894
  return [offsetLeft, offsetTop];
9904
9895
  }
9905
- /**
9906
- * Returns the index of the object within the given array
9907
- * @param {Array} arr Array that may or may not hold the object
9908
- * @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
9909
- * @return {Number} The index of the object in the array, or -1
9896
+ /**
9897
+ * Returns the index of the object within the given array
9898
+ * @param {Array} arr Array that may or may not hold the object
9899
+ * @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
9900
+ * @return {Number} The index of the object in the array, or -1
9910
9901
  */
9911
9902
 
9912
9903
 
@@ -12978,9 +12969,9 @@ function MultiDragPlugin() {
12978
12969
  // Static methods & properties
12979
12970
  pluginName: 'multiDrag',
12980
12971
  utils: {
12981
- /**
12982
- * Selects the provided multi-drag item
12983
- * @param {HTMLElement} el The element to be selected
12972
+ /**
12973
+ * Selects the provided multi-drag item
12974
+ * @param {HTMLElement} el The element to be selected
12984
12975
  */
12985
12976
  select: function select(el) {
12986
12977
  var sortable = el.parentNode[expando];
@@ -12996,9 +12987,9 @@ function MultiDragPlugin() {
12996
12987
  multiDragElements.push(el);
12997
12988
  },
12998
12989
 
12999
- /**
13000
- * Deselects the provided multi-drag item
13001
- * @param {HTMLElement} el The element to be deselected
12990
+ /**
12991
+ * Deselects the provided multi-drag item
12992
+ * @param {HTMLElement} el The element to be deselected
13002
12993
  */
13003
12994
  deselect: function deselect(el) {
13004
12995
  var sortable = el.parentNode[expando],
@@ -13068,10 +13059,10 @@ function insertMultiDragElements(clonesInserted, rootEl) {
13068
13059
  }
13069
13060
  });
13070
13061
  }
13071
- /**
13072
- * Insert multi-drag clones
13073
- * @param {[Boolean]} elementsInserted Whether the multi-drag elements are inserted
13074
- * @param {HTMLElement} rootEl
13062
+ /**
13063
+ * Insert multi-drag clones
13064
+ * @param {[Boolean]} elementsInserted Whether the multi-drag elements are inserted
13065
+ * @param {HTMLElement} rootEl
13075
13066
  */
13076
13067
 
13077
13068
 
@@ -23414,12 +23405,12 @@ var customDateTime = function customDateTime(d) {
23414
23405
  return formatter_date(d, fmt);
23415
23406
  };
23416
23407
 
23417
- /**
23418
- * 9级组织过滤器
23419
- * @param val 投资集团/快递事业部/京津冀大区/取派中心/北京分区/顺义区/顺义取派部/东城片区/顺义八里庄点部@顺义取派部@顺义八里庄点部
23420
- * @param dept Array:9级组织 | 1:部门 | 2:点部
23421
- * @param split 组织、部门、点部 的分隔符,默认为“@”
23422
- * @returns {string} 根据用户保存的点部配置,解析出对应的部门数据
23408
+ /**
23409
+ * 9级组织过滤器
23410
+ * @param val 投资集团/快递事业部/京津冀大区/取派中心/北京分区/顺义区/顺义取派部/东城片区/顺义八里庄点部@顺义取派部@顺义八里庄点部
23411
+ * @param dept Array:9级组织 | 1:部门 | 2:点部
23412
+ * @param split 组织、部门、点部 的分隔符,默认为“@”
23413
+ * @returns {string} 根据用户保存的点部配置,解析出对应的部门数据
23423
23414
  */
23424
23415
  var deptFilter = function deptFilter(val, dept) {
23425
23416
  var split = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '@';
@@ -23805,26 +23796,26 @@ var render_cells_createRowCellOption = function createRowCellOption(_ref3) {
23805
23796
  };
23806
23797
  };
23807
23798
 
23808
- /**
23809
- *
23810
- * #@description 渲染单元格的方法
23811
- * @param {*} {
23812
- * cell,
23813
- * columns,
23814
- * isRenderFixedCells,
23815
- * cellComponentMap,
23816
- * removeCells,
23817
- * rowData,
23818
- * rowKey,
23819
- * gridOffsetX,
23820
- * isHeader,
23821
- * handleEvent,
23822
- * rowIndex,
23823
- * grid,
23824
- * rowContainerDom,
23825
- * }
23826
- * @param {*} i
23827
- * @return {*}
23799
+ /**
23800
+ *
23801
+ * #@description 渲染单元格的方法
23802
+ * @param {*} {
23803
+ * cell,
23804
+ * columns,
23805
+ * isRenderFixedCells,
23806
+ * cellComponentMap,
23807
+ * removeCells,
23808
+ * rowData,
23809
+ * rowKey,
23810
+ * gridOffsetX,
23811
+ * isHeader,
23812
+ * handleEvent,
23813
+ * rowIndex,
23814
+ * grid,
23815
+ * rowContainerDom,
23816
+ * }
23817
+ * @param {*} i
23818
+ * @return {*}
23828
23819
  */
23829
23820
  var render_cells_renderCellComponent = function renderCellComponent(_ref5, i) {
23830
23821
  var _ref5$cell = _ref5.cell,
@@ -23944,27 +23935,27 @@ function removeCellComponents(componentMap, rowContainerDom) {
23944
23935
  }
23945
23936
  }
23946
23937
 
23947
- /**
23948
- *
23949
- * @description 计算可视区域单元格渲染逻辑
23950
- * @export
23951
- * @param {*} {
23952
- * columns,
23953
- * startCell,
23954
- * endCell,
23955
- * cells,
23956
- * cellComponentMap,
23957
- * type,
23958
- * rowContainerDom,
23959
- * isRenderFixedCells,
23960
- * gridOffsetX,
23961
- * rowKey,
23962
- * handleEvent,
23963
- * rowData,
23964
- * rowIndex,
23965
- * grid = {},
23966
- * headerParentColcellComponentMap,
23967
- * }
23938
+ /**
23939
+ *
23940
+ * @description 计算可视区域单元格渲染逻辑
23941
+ * @export
23942
+ * @param {*} {
23943
+ * columns,
23944
+ * startCell,
23945
+ * endCell,
23946
+ * cells,
23947
+ * cellComponentMap,
23948
+ * type,
23949
+ * rowContainerDom,
23950
+ * isRenderFixedCells,
23951
+ * gridOffsetX,
23952
+ * rowKey,
23953
+ * handleEvent,
23954
+ * rowData,
23955
+ * rowIndex,
23956
+ * grid = {},
23957
+ * headerParentColcellComponentMap,
23958
+ * }
23968
23959
  */
23969
23960
  function calculateRenderCells(_ref7) {
23970
23961
  var columns = _ref7.columns,
@@ -24067,23 +24058,23 @@ function calculateRenderCells(_ref7) {
24067
24058
  }, commonRowParams));
24068
24059
  }
24069
24060
  }
24070
- /**
24071
- *
24072
- * @description 计算表头父节点单元格渲染逻辑
24073
- * @export
24074
- * @param {*} {
24075
- * parentCols,
24076
- * headerParentColcellComponentMap,
24077
- * renderParentCells,
24078
- * rowContainerDom,
24079
- * isRenderFixedCells,
24080
- * gridOffsetX,
24081
- * rowKey,
24082
- * handleEvent,
24083
- * rowData,
24084
- * rowIndex,
24085
- * grid,
24086
- * }
24061
+ /**
24062
+ *
24063
+ * @description 计算表头父节点单元格渲染逻辑
24064
+ * @export
24065
+ * @param {*} {
24066
+ * parentCols,
24067
+ * headerParentColcellComponentMap,
24068
+ * renderParentCells,
24069
+ * rowContainerDom,
24070
+ * isRenderFixedCells,
24071
+ * gridOffsetX,
24072
+ * rowKey,
24073
+ * handleEvent,
24074
+ * rowData,
24075
+ * rowIndex,
24076
+ * grid,
24077
+ * }
24087
24078
  */
24088
24079
  function calculateHeaderParentColRenderCells(_ref8) {
24089
24080
  var parentCols = _ref8.parentCols,
@@ -24292,15 +24283,15 @@ function smoothEaseOut(t) {
24292
24283
  return t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;
24293
24284
  }
24294
24285
 
24295
- /**
24296
- * 平滑滚动到指定位置
24297
- * @param {Object} options 滚动配置
24298
- * @param {Number} options.from 起始位置
24299
- * @param {Number} options.to 目标位置
24300
- * @param {Number} options.duration 动画持续时间(毫秒)
24301
- * @param {Function} options.onUpdate 位置更新回调
24302
- * @param {Function} [options.onComplete] 动画完成回调
24303
- * @param {Function} [options.easing=easeOutCubic] 缓动函数
24286
+ /**
24287
+ * 平滑滚动到指定位置
24288
+ * @param {Object} options 滚动配置
24289
+ * @param {Number} options.from 起始位置
24290
+ * @param {Number} options.to 目标位置
24291
+ * @param {Number} options.duration 动画持续时间(毫秒)
24292
+ * @param {Function} options.onUpdate 位置更新回调
24293
+ * @param {Function} [options.onComplete] 动画完成回调
24294
+ * @param {Function} [options.easing=easeOutCubic] 缓动函数
24304
24295
  */
24305
24296
  function animateScroll(options) {
24306
24297
  var from = options.from,
@@ -24425,11 +24416,11 @@ function animateScroll(options) {
24425
24416
  this.renderViewportRows();
24426
24417
  this.emitScroll();
24427
24418
  },
24428
- /**
24429
- * 垂直滚动到指定行
24430
- * @param {Number} rowKey 数据源中的行Key(从0开始)
24431
- * @param {Number} [offset=0] 额外偏移量(像素)
24432
- * @param {Number} [duration] 动画持续时间(毫秒)
24419
+ /**
24420
+ * 垂直滚动到指定行
24421
+ * @param {Number} rowKey 数据源中的行Key(从0开始)
24422
+ * @param {Number} [offset=0] 额外偏移量(像素)
24423
+ * @param {Number} [duration] 动画持续时间(毫秒)
24433
24424
  */
24434
24425
  scrollToColumn: function scrollToColumn(key) {
24435
24426
  var _this = this;
@@ -24461,11 +24452,11 @@ function animateScroll(options) {
24461
24452
  this.renderScollXTable(targetScrollLeft);
24462
24453
  }
24463
24454
  },
24464
- /**
24465
- * 垂直滚动到指定行
24466
- * @param {Number} rowIndex 数据源中的行索引(从0开始)
24467
- * @param {Number} [offset=0] 额外偏移量(像素)
24468
- * @param {Number} [duration] 动画持续时间(毫秒)
24455
+ /**
24456
+ * 垂直滚动到指定行
24457
+ * @param {Number} rowIndex 数据源中的行索引(从0开始)
24458
+ * @param {Number} [offset=0] 额外偏移量(像素)
24459
+ * @param {Number} [duration] 动画持续时间(毫秒)
24469
24460
  */
24470
24461
  scrollToRow: function scrollToRow(targetIndex) {
24471
24462
  var _this2 = this;
@@ -25503,20 +25494,20 @@ var isNaN_default = /*#__PURE__*/__webpack_require__.n(lodash_isNaN);
25503
25494
 
25504
25495
 
25505
25496
 
25506
- /**
25507
- * 触摸滚动处理类
25508
- * 实现移动端触摸滚动及惯性滚动效果
25497
+ /**
25498
+ * 触摸滚动处理类
25499
+ * 实现移动端触摸滚动及惯性滚动效果
25509
25500
  */
25510
25501
  var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25511
- /**
25512
- * 构造函数
25513
- * @param {HTMLElement} el - 需要绑定滚动效果的目标元素
25514
- * @param {Object} options - 配置选项
25515
- * @param {boolean} options.unScrollX - 是否禁用X轴滚动
25516
- * @param {boolean} options.unScrollY - 是否禁用Y轴滚动
25517
- * @param {boolean} options.isShowHorizontal - 是否显示水平滚动条
25518
- * @param {Function} options.handlerTouchend - 触摸结束回调函数
25519
- * @param {Function} options.handlerScrollEnd - 滚动结束回调函数
25502
+ /**
25503
+ * 构造函数
25504
+ * @param {HTMLElement} el - 需要绑定滚动效果的目标元素
25505
+ * @param {Object} options - 配置选项
25506
+ * @param {boolean} options.unScrollX - 是否禁用X轴滚动
25507
+ * @param {boolean} options.unScrollY - 是否禁用Y轴滚动
25508
+ * @param {boolean} options.isShowHorizontal - 是否显示水平滚动条
25509
+ * @param {Function} options.handlerTouchend - 触摸结束回调函数
25510
+ * @param {Function} options.handlerScrollEnd - 滚动结束回调函数
25520
25511
  */
25521
25512
  function TouchScrolling(el) {
25522
25513
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -25559,8 +25550,8 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25559
25550
  this.addEventListeners();
25560
25551
  }
25561
25552
 
25562
- /**
25563
- * 添加事件监听器
25553
+ /**
25554
+ * 添加事件监听器
25564
25555
  */
25565
25556
  return _createClass(TouchScrolling, [{
25566
25557
  key: "addEventListeners",
@@ -25578,8 +25569,8 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25578
25569
  this.el.addEventListener('pointermove', pointermove);
25579
25570
  }
25580
25571
 
25581
- /**
25582
- * 移除事件监听器
25572
+ /**
25573
+ * 移除事件监听器
25583
25574
  */
25584
25575
  }, {
25585
25576
  key: "removeEventListeners",
@@ -25594,10 +25585,10 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25594
25585
  this.el.removeEventListener('pointermove', pointermove);
25595
25586
  }
25596
25587
 
25597
- /**
25598
- * 确保值为有效数字
25599
- * @param {*} value - 需要转换的值
25600
- * @returns {number} - 转换后的数字
25588
+ /**
25589
+ * 确保值为有效数字
25590
+ * @param {*} value - 需要转换的值
25591
+ * @returns {number} - 转换后的数字
25601
25592
  */
25602
25593
  }, {
25603
25594
  key: "ensureNumeric",
@@ -25606,10 +25597,10 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25606
25597
  return isNaN_default()(numericValue) ? 0 : numericValue;
25607
25598
  }
25608
25599
 
25609
- /**
25610
- * 派发滚轮事件
25611
- * @param {number} deltaY - Y轴滚动量
25612
- * @param {number} deltaX - X轴滚动量
25600
+ /**
25601
+ * 派发滚轮事件
25602
+ * @param {number} deltaY - Y轴滚动量
25603
+ * @param {number} deltaX - X轴滚动量
25613
25604
  */
25614
25605
  }, {
25615
25606
  key: "dispatchWheelEvent",
@@ -25632,10 +25623,10 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25632
25623
  this.el.dispatchEvent(wheelEvent);
25633
25624
  }
25634
25625
 
25635
- /**
25636
- * 设置滚动属性
25637
- * @param {string} key - 属性名
25638
- * @param {*} val - 属性值
25626
+ /**
25627
+ * 设置滚动属性
25628
+ * @param {string} key - 属性名
25629
+ * @param {*} val - 属性值
25639
25630
  */
25640
25631
  }, {
25641
25632
  key: "setScroll",
@@ -25645,10 +25636,10 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25645
25636
  }
25646
25637
  }
25647
25638
 
25648
- /**
25649
- * 模拟惯性减速滚动效果
25650
- * @param {number} decelerationId - 当前减速动画ID
25651
- * @param {Boolean} isYAndDownToTop - Y轴并且从下至上滚动
25639
+ /**
25640
+ * 模拟惯性减速滚动效果
25641
+ * @param {number} decelerationId - 当前减速动画ID
25642
+ * @param {Boolean} isYAndDownToTop - Y轴并且从下至上滚动
25652
25643
  */
25653
25644
  }, {
25654
25645
  key: "simulateDeceleratedScrolling",
@@ -25690,9 +25681,9 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25690
25681
  var lastTime = performance.now(); // 上次动画帧时间
25691
25682
  var elapsedTime = 0; // 已过去的时间
25692
25683
 
25693
- /**
25694
- * 动画帧回调函数
25695
- * @param {number} timestamp - 当前时间戳
25684
+ /**
25685
+ * 动画帧回调函数
25686
+ * @param {number} timestamp - 当前时间戳
25696
25687
  */
25697
25688
  var _step = function step(timestamp) {
25698
25689
  var _this$handlerBeforeAn2;
@@ -25739,9 +25730,9 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25739
25730
  requestAnimationFrame(_step);
25740
25731
  }
25741
25732
 
25742
- /**
25743
- * 触发滚动结束回调
25744
- * @param {Object|null} direction - 滚动方向对象
25733
+ /**
25734
+ * 触发滚动结束回调
25735
+ * @param {Object|null} direction - 滚动方向对象
25745
25736
  */
25746
25737
  }, {
25747
25738
  key: "triggerScrollEnd",
@@ -25759,9 +25750,9 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25759
25750
  (_this$onScrollEnd = this.onScrollEnd) === null || _this$onScrollEnd === void 0 || _this$onScrollEnd.call(this, direction);
25760
25751
  }
25761
25752
 
25762
- /**
25763
- * 触摸开始事件处理
25764
- * @param {TouchEvent} event - 触摸事件对象
25753
+ /**
25754
+ * 触摸开始事件处理
25755
+ * @param {TouchEvent} event - 触摸事件对象
25765
25756
  */
25766
25757
  }, {
25767
25758
  key: "onTouchStart",
@@ -25796,15 +25787,15 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25796
25787
  (_this$handlerTouchSta = this.handlerTouchStar) === null || _this$handlerTouchSta === void 0 || _this$handlerTouchSta.call(this, event);
25797
25788
  }
25798
25789
 
25799
- /**
25800
- * 触摸取消事件处理
25790
+ /**
25791
+ * 触摸取消事件处理
25801
25792
  */
25802
25793
  }, {
25803
25794
  key: "onTouchCancel",
25804
25795
  value: function onTouchCancel() {}
25805
25796
 
25806
- /**
25807
- * 触摸结束事件处理
25797
+ /**
25798
+ * 触摸结束事件处理
25808
25799
  */
25809
25800
  }, {
25810
25801
  key: "onTouchEnd",
@@ -25862,9 +25853,9 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25862
25853
  key: "onPointermove",
25863
25854
  value: function onPointermove() {}
25864
25855
 
25865
- /**
25866
- * 触摸移动事件处理
25867
- * @param {TouchEvent} event - 触摸事件对象
25856
+ /**
25857
+ * 触摸移动事件处理
25858
+ * @param {TouchEvent} event - 触摸事件对象
25868
25859
  */
25869
25860
  }, {
25870
25861
  key: "onTouchMove",
@@ -25929,12 +25920,12 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25929
25920
  }, 150); // 150ms 内没有新的 touchmove 事件则认为停止
25930
25921
  }
25931
25922
 
25932
- /**
25933
- * 更新触摸状态
25934
- * @param {number} y - 当前Y坐标
25935
- * @param {number} x - 当前X坐标
25936
- * @param {number} deltaY - Y轴滚动量
25937
- * @param {number} deltaX - X轴滚动量
25923
+ /**
25924
+ * 更新触摸状态
25925
+ * @param {number} y - 当前Y坐标
25926
+ * @param {number} x - 当前X坐标
25927
+ * @param {number} deltaY - Y轴滚动量
25928
+ * @param {number} deltaX - X轴滚动量
25938
25929
  */
25939
25930
  }, {
25940
25931
  key: "updateTouchState",
@@ -25948,8 +25939,8 @@ var touch_scroll_TouchScrolling = /*#__PURE__*/function () {
25948
25939
  this.touchScrollState.lastDeltaX = deltaX;
25949
25940
  }
25950
25941
 
25951
- /**
25952
- * 销毁方法,清理资源
25942
+ /**
25943
+ * 销毁方法,清理资源
25953
25944
  */
25954
25945
  }, {
25955
25946
  key: "destroy",
@@ -26173,9 +26164,9 @@ var RowConstructor = pe_tablevue_type_script_lang_js_Vue.extend(pe_table_row);
26173
26164
  // window.removeEventListener('resize', this.throttleHandleResize)
26174
26165
  },
26175
26166
  activated: function activated() {
26176
- /*
26177
- 释放掉,存在一个页面多个表格,路由回来A表格从新被activate挂起,handleVisibility没有走,
26178
- B表格这时候也会被activate = true给锁死,导致没办法更新白屏问题,比如一个页面存在tabs的场景
26167
+ /*
26168
+ 释放掉,存在一个页面多个表格,路由回来A表格从新被activate挂起,handleVisibility没有走,
26169
+ B表格这时候也会被activate = true给锁死,导致没办法更新白屏问题,比如一个页面存在tabs的场景
26179
26170
  */
26180
26171
  var isVisible = this.isVisible();
26181
26172
  if (isVisible) {
@@ -33174,10 +33165,10 @@ var table_settings_component = normalizeComponent(
33174
33165
  }, _callee2);
33175
33166
  }))();
33176
33167
  },
33177
- /**
33178
- * 用户变更列显示/隐藏后,保存状态
33179
- * @param {*} columns
33180
- * @returns
33168
+ /**
33169
+ * 用户变更列显示/隐藏后,保存状态
33170
+ * @param {*} columns
33171
+ * @returns
33181
33172
  */
33182
33173
  saveConfigToHttp: function saveConfigToHttp(columns) {
33183
33174
  var _this4 = this;
@@ -33215,9 +33206,9 @@ var table_settings_component = normalizeComponent(
33215
33206
  }, _callee3);
33216
33207
  }))();
33217
33208
  },
33218
- /**
33219
- * 个性设置重置
33220
- * @returns
33209
+ /**
33210
+ * 个性设置重置
33211
+ * @returns
33221
33212
  */
33222
33213
  resetToHttp: function resetToHttp() {
33223
33214
  var _this5 = this;
@@ -34362,11 +34353,11 @@ var addRowLength = 500;
34362
34353
  return _ref4.apply(this, arguments);
34363
34354
  };
34364
34355
  }(), 100),
34365
- /**
34366
- * 基于ID过滤并合并两个大型数组,保持原始顺序
34367
- * @param {Array} arr1 第一个数组(将被过滤)
34368
- * @param {Array} arr2 第二个数组(将完整保留)
34369
- * @returns {Array} 合并后的新数组
34356
+ /**
34357
+ * 基于ID过滤并合并两个大型数组,保持原始顺序
34358
+ * @param {Array} arr1 第一个数组(将被过滤)
34359
+ * @param {Array} arr2 第二个数组(将完整保留)
34360
+ * @returns {Array} 合并后的新数组
34370
34361
  */
34371
34362
  filterAndMergeArrays: function filterAndMergeArrays(arr1, arr2) {
34372
34363
  // 创建第二个数组的ID集合用于快速查找
@@ -35459,5 +35450,4 @@ module.exports = isSymbol;
35459
35450
  /***/ })
35460
35451
 
35461
35452
  /******/ });
35462
- });
35463
- //# sourceMappingURL=ks-query-table.umd.js.map
35453
+ //# sourceMappingURL=ks-query-table.common.js.map