@opentinyvue/vue-grid 2.28.0 → 2.29.0

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.js CHANGED
@@ -295,6 +295,8 @@ var GlobalConfig$1 = {
295
295
  defaultTreeSpacing: 30,
296
296
  rowId: "_RID",
297
297
  // 行数据的唯一主键字段名
298
+ $rowIndex: Symbol("$rowIndex"),
299
+ // 虚拟滚动处理后的行索引
298
300
  version: 0,
299
301
  // 版本号,对于某些带数据缓存的功能有用到,上升版本号可以用于重置数据
300
302
  optimization: {
@@ -2313,9 +2315,9 @@ var useCellSpan = function useCellSpan2(bodyVm, bodyProps) {
2313
2315
  var leftList = columnStore.leftList, rightList = columnStore.rightList;
2314
2316
  var normalState = {};
2315
2317
  var normalTable = [];
2316
- for (var $rowIndex = 0; $rowIndex < tableData.length; $rowIndex++) {
2317
- var row2 = tableData[$rowIndex];
2318
- var rowLevel = tableNode[$rowIndex].level;
2318
+ for (var _index4 = 0; _index4 < tableData.length; _index4++) {
2319
+ var row2 = tableData[_index4];
2320
+ var rowLevel = tableNode[_index4].level;
2319
2321
  var rowIndex = $table.getRowIndex(row2);
2320
2322
  var virtualRow = false;
2321
2323
  if (hasVirtualRow) {
@@ -2325,7 +2327,7 @@ var useCellSpan = function useCellSpan2(bodyVm, bodyProps) {
2325
2327
  if (!isSkipRowRender) {
2326
2328
  seqCount.value = seqCount.value + 1;
2327
2329
  }
2328
- var seq = isOrdered ? seqCount.value : $rowIndex + 1;
2330
+ var seq = isOrdered ? seqCount.value : _index4 + 1;
2329
2331
  if (scrollYLoad) {
2330
2332
  seq += startIndex;
2331
2333
  }
@@ -2340,7 +2342,7 @@ var useCellSpan = function useCellSpan2(bodyVm, bodyProps) {
2340
2342
  $table,
2341
2343
  data: tableData,
2342
2344
  row: row2,
2343
- $rowIndex,
2345
+ $rowIndex: row2[GlobalConfig$1.$rowIndex],
2344
2346
  rowIndex,
2345
2347
  level: rowLevel,
2346
2348
  $seq: "",
@@ -2784,9 +2786,11 @@ var updatePool = function updatePool2(array, context) {
2784
2786
  var indices = /* @__PURE__ */ new WeakMap();
2785
2787
  expires.forEach(function(item) {
2786
2788
  var view = context.idViewMap.get(item.id);
2787
- view.used = false;
2788
- context.idViewMap.delete(item.id);
2789
- context.unusedViews.push(view);
2789
+ if (view) {
2790
+ view.used = false;
2791
+ context.idViewMap.delete(item.id);
2792
+ context.unusedViews.push(view);
2793
+ }
2790
2794
  });
2791
2795
  array.forEach(function(item, i) {
2792
2796
  indices.set(item, i);
@@ -2813,6 +2817,34 @@ var updatePool = function updatePool2(array, context) {
2813
2817
  });
2814
2818
  return context;
2815
2819
  };
2820
+ function addTableDataRowIndex(rowPool) {
2821
+ var treeTableData = [];
2822
+ var $rowIndex = GlobalConfig$1.$rowIndex;
2823
+ var tempChildren = Symbol("tempChildren");
2824
+ rowPool.forEach(function(rowPoolItem) {
2825
+ var _rowPoolItem$item = rowPoolItem.item, row2 = _rowPoolItem$item.payload, level = _rowPoolItem$item.level, parentNode = _rowPoolItem$item.parentNode, used = rowPoolItem.used;
2826
+ if (!used) {
2827
+ return;
2828
+ }
2829
+ if (level === 0) {
2830
+ treeTableData.push(row2);
2831
+ row2[$rowIndex] = treeTableData.length - 1;
2832
+ return;
2833
+ }
2834
+ var parent = parentNode == null ? void 0 : parentNode.payload;
2835
+ if (!parent) {
2836
+ return;
2837
+ }
2838
+ if (!parent[tempChildren]) {
2839
+ parent[tempChildren] = [];
2840
+ }
2841
+ parent[tempChildren].push(row2);
2842
+ row2[$rowIndex] = parent[tempChildren].length - 1;
2843
+ });
2844
+ rowPool.forEach(function(rowPoolItem) {
2845
+ delete rowPoolItem.item.payload[tempChildren];
2846
+ });
2847
+ }
2816
2848
  var usePool = function usePool2(props) {
2817
2849
  var columnPool = hooks.ref([]);
2818
2850
  var rowPool = hooks.ref([]);
@@ -2839,6 +2871,7 @@ var usePool = function usePool2(props) {
2839
2871
  rowContext = createPool(props.tableNode);
2840
2872
  }
2841
2873
  rowPool.value = ((_rowContext = rowContext) == null ? void 0 : _rowContext.pool) || rowPool.value;
2874
+ addTableDataRowIndex(rowPool.value);
2842
2875
  isNoData.value = !(((_props$tableNode = props.tableNode) == null ? void 0 : _props$tableNode.length) > 0);
2843
2876
  });
2844
2877
  return {
@@ -3103,13 +3136,14 @@ function renderRows(_vm) {
3103
3136
  value: 0
3104
3137
  };
3105
3138
  var $seq = "";
3106
- rowPool.forEach(function(_ref49, $rowIndex) {
3139
+ rowPool.forEach(function(_ref49) {
3107
3140
  var id3 = _ref49.id, _ref49$item = _ref49.item, row2 = _ref49$item.payload, rowLevel = _ref49$item.level, used = _ref49.used;
3108
3141
  var rowActived = editConfig && actived.row === row2;
3109
3142
  var virtualRow = isVirtualRow(row2);
3110
3143
  var isSkipRowRender = hideMethod && hideMethod(row2, rowLevel) || virtualRow;
3111
3144
  var rowid2 = getRowid($table, row2);
3112
3145
  var rowIndex = $table.getRowIndex(row2);
3146
+ var $rowIndex = row2[GlobalConfig$1.$rowIndex];
3113
3147
  if (!isSkipRowRender) {
3114
3148
  seqCount.value = seqCount.value + 1;
3115
3149
  }
@@ -3152,7 +3186,8 @@ function renderRows(_vm) {
3152
3186
  seq,
3153
3187
  treeConfig,
3154
3188
  used,
3155
- selectRow
3189
+ selectRow,
3190
+ scrollYLoad
3156
3191
  });
3157
3192
  renderRow(args);
3158
3193
  renderRowAfter({
@@ -3238,9 +3273,8 @@ function renderRowAfter(_ref50) {
3238
3273
  }, h);
3239
3274
  }
3240
3275
  function renderRow(args) {
3241
- var _ref51;
3242
3276
  var $rowIndex = args.$rowIndex, $seq = args.$seq, $table = args.$table, _vm = args._vm, editStore = args.editStore, id3 = args.id, isSkipRowRender = args.isSkipRowRender, row2 = args.row, rowActived = args.rowActived, rowClassName = args.rowClassName;
3243
- var rowIndex = args.rowIndex, rowLevel = args.rowLevel, rowid2 = args.rowid, rows = args.rows, selection = args.selection, selectRow = args.selectRow, seq = args.seq, treeConfig = args.treeConfig, used = args.used;
3277
+ var rowIndex = args.rowIndex, rowLevel = args.rowLevel, rowid2 = args.rowid, rows = args.rows, selection = args.selection, selectRow = args.selectRow, seq = args.seq, treeConfig = args.treeConfig, used = args.used, scrollYLoad = args.scrollYLoad;
3244
3278
  if (isSkipRowRender) {
3245
3279
  return;
3246
3280
  }
@@ -3254,40 +3288,43 @@ function renderRow(args) {
3254
3288
  }
3255
3289
  }
3256
3290
  var columnPool = _vm.columnPool;
3257
- rows.push(h("tr", {
3258
- "key": key,
3259
- "attrs": {
3260
- "data-rowid": rowid2,
3261
- "data-rowindex": $rowIndex,
3262
- "data-rowlevel": rowLevel
3263
- },
3264
- "style": {
3265
- display: used ? void 0 : "none"
3266
- },
3267
- "class": ["tiny-grid-body__row", (_ref51 = {}, _ref51["row__level-" + rowLevel] = treeConfig, _ref51["row__new"] = editStore.insertList.includes(row2), _ref51["row__selected"] = selection.includes(row2), _ref51["row__radio"] = selectRow === row2, _ref51["row__actived"] = rowActived, _ref51), rowClassName ? isFunction(rowClassName) ? rowClassName({
3268
- $table,
3269
- $seq,
3270
- seq,
3271
- fixedType: void 0,
3272
- rowLevel,
3273
- row: row2,
3274
- rowIndex,
3275
- $rowIndex
3276
- }) : rowClassName : ""]
3277
- }, [columnPool.map(function(_ref52, $columnIndex) {
3278
- var id4 = _ref52.id, column = _ref52.item, used2 = _ref52.used;
3279
- return renderColumn({
3280
- $columnIndex,
3281
- $table,
3282
- _vm,
3283
- column,
3284
- id: id4,
3285
- row: row2,
3286
- rowid: rowid2,
3287
- seq,
3288
- used: used2
3289
- });
3290
- })]));
3291
+ if (used || scrollYLoad) {
3292
+ var _ref51;
3293
+ rows.push(h("tr", {
3294
+ "key": key,
3295
+ "attrs": {
3296
+ "data-rowid": rowid2,
3297
+ "data-rowindex": $rowIndex,
3298
+ "data-rowlevel": rowLevel
3299
+ },
3300
+ "style": {
3301
+ display: used ? void 0 : "none"
3302
+ },
3303
+ "class": ["tiny-grid-body__row", (_ref51 = {}, _ref51["row__level-" + rowLevel] = treeConfig, _ref51["row__new"] = editStore.insertList.includes(row2), _ref51["row__selected"] = selection.includes(row2), _ref51["row__radio"] = selectRow === row2, _ref51["row__actived"] = rowActived, _ref51), rowClassName ? isFunction(rowClassName) ? rowClassName({
3304
+ $table,
3305
+ $seq,
3306
+ seq,
3307
+ fixedType: void 0,
3308
+ rowLevel,
3309
+ row: row2,
3310
+ rowIndex,
3311
+ $rowIndex
3312
+ }) : rowClassName : ""]
3313
+ }, [columnPool.map(function(_ref52, $columnIndex) {
3314
+ var id4 = _ref52.id, column = _ref52.item, used2 = _ref52.used;
3315
+ return renderColumn({
3316
+ $columnIndex,
3317
+ $table,
3318
+ _vm,
3319
+ column,
3320
+ id: id4,
3321
+ row: row2,
3322
+ rowid: rowid2,
3323
+ seq,
3324
+ used: used2
3325
+ });
3326
+ })]));
3327
+ }
3291
3328
  }
3292
3329
  function renderRowGroupTds(_ref53) {
3293
3330
  var $table = _ref53.$table, closeable = _ref53.closeable, render19 = _ref53.render, renderGroupCell = _ref53.renderGroupCell, row2 = _ref53.row, tds = _ref53.tds, title = _ref53.title, _vm = _ref53._vm;
@@ -4142,14 +4179,15 @@ var Panel$1 = defineComponent({
4142
4179
  }
4143
4180
  if (this.visible) {
4144
4181
  setTimeout(function() {
4182
+ var _this4$$grid;
4145
4183
  var _this4$filterStore = _this4.filterStore, targetElemParentTr = _this4$filterStore.targetElemParentTr, id3 = _this4$filterStore.id;
4146
4184
  var reference = targetElemParentTr && targetElemParentTr.querySelector("svg.tiny-grid-filter__btn." + id3);
4147
4185
  var popper = _this4.$el;
4148
4186
  popper.style.zIndex = PopupManager.nextZIndex();
4149
- _this4.popperJS = new PopperJS(reference, popper, {
4187
+ _this4.popperJS = new PopperJS(reference, popper, _extends({
4150
4188
  placement: "bottom-end",
4151
4189
  gpuAcceleration: false
4152
- });
4190
+ }, ((_this4$$grid = _this4.$grid) == null ? void 0 : _this4$$grid.filterPopperOptions) || {}));
4153
4191
  popper.style.display = "block";
4154
4192
  });
4155
4193
  }
@@ -5732,11 +5770,11 @@ function getColumnRuleTypeOther(_ref94) {
5732
5770
  var $table = _ref94.$table, _vm = _ref94._vm, colProps = _ref94.colProps, editor = _ref94.editor, filter2 = _ref94.filter, isTreeNode = _ref94.isTreeNode, renMaps = _ref94.renMaps, type = _ref94.type;
5733
5771
  return {
5734
5772
  match: function match() {
5735
- return !~["index", "radio", "selection", "expand", "operation"].indexOf(type);
5773
+ return !["index", "radio", "selection", "expand", "operation"].includes(type);
5736
5774
  },
5737
5775
  action: function action() {
5738
5776
  var sortable = colProps.sortable, remoteSort = colProps.remoteSort;
5739
- var isSortable = $table.sortable && (type ? false : sortable);
5777
+ var isSortable = $table.sortable && sortable;
5740
5778
  var isSortColumn = isSortable || remoteSort;
5741
5779
  if (editor) {
5742
5780
  renMaps.renderHeader = _vm.renderEditHeader;
@@ -5863,6 +5901,7 @@ var Cell = {
5863
5901
  var $table = params.$table, row2 = params.row, column = params.column;
5864
5902
  var slots = column.slots, renderer = column.renderer;
5865
5903
  var format = column.format || {};
5904
+ $table.columnSlotsWeakMap || ($table.columnSlotsWeakMap = /* @__PURE__ */ new WeakMap());
5866
5905
  if (slots && slots.default) {
5867
5906
  return slots.default(params, h2);
5868
5907
  }
@@ -6464,7 +6503,7 @@ var Cell = {
6464
6503
  return renderBig(buttonConfig, viewClass);
6465
6504
  });
6466
6505
  var scopedSlots = {
6467
- default: function _default28() {
6506
+ default: function _default29() {
6468
6507
  return h2(iconEllipsis(), {
6469
6508
  class: "tiny-grid__oper-col-elps"
6470
6509
  });
@@ -8995,7 +9034,7 @@ var Methods$d = {
8995
9034
  // 点击排序事件
8996
9035
  triggerSortEvent: function triggerSortEvent(event, column, order) {
8997
9036
  var property = column.property;
8998
- var isColumnSortable = column.type ? false : column.sortable || column.remoteSort;
9037
+ var isColumnSortable = column.sortable || column.remoteSort;
8999
9038
  if (this.sortable && isColumnSortable) {
9000
9039
  var evntParams = {
9001
9040
  $table: this,
@@ -9020,7 +9059,7 @@ var Methods$d = {
9020
9059
  return item.property === field;
9021
9060
  });
9022
9061
  var isRemote = isBoolean(column.remoteSort) ? column.remoteSort : remoteSort;
9023
- var isColumnSortable = column.type ? false : column.sortable || column.remoteSort;
9062
+ var isColumnSortable = column.sortable || column.remoteSort;
9024
9063
  if (this.sortable && isColumnSortable) {
9025
9064
  if (column.order !== order) {
9026
9065
  tableFullColumn.forEach(function(column2) {
@@ -9966,7 +10005,7 @@ var __vue2_script$7 = defineComponent({
9966
10005
  })]);
9967
10006
  } else {
9968
10007
  var scopedSlots = {
9969
- default: function _default28() {
10008
+ default: function _default29() {
9970
10009
  return h(IconEllipsis(), {
9971
10010
  class: "mf-table-more outline-none text-base cursor-pointer"
9972
10011
  });
@@ -11642,6 +11681,7 @@ var Table = defineComponent({
11642
11681
  var tableListeners = getListeners(attrs, listeners);
11643
11682
  var markColumnIndex = hooks.ref(0);
11644
11683
  var rowidCacheMap = /* @__PURE__ */ new Map();
11684
+ var columnSlotsWeakMap = /* @__PURE__ */ new WeakMap();
11645
11685
  return {
11646
11686
  slots,
11647
11687
  tableListeners,
@@ -11680,7 +11720,8 @@ var Table = defineComponent({
11680
11720
  markColumnIndex,
11681
11721
  rowidCacheMap,
11682
11722
  horizonScroll,
11683
- resolveMap
11723
+ resolveMap,
11724
+ columnSlotsWeakMap
11684
11725
  };
11685
11726
  },
11686
11727
  render: function render16() {
@@ -12062,7 +12103,13 @@ var Grid = defineComponent({
12062
12103
  default: false
12063
12104
  },
12064
12105
  isMultipleHistory: Boolean,
12065
- selectToolbar: [Boolean, Object]
12106
+ selectToolbar: [Boolean, Object],
12107
+ filterPopperOptions: {
12108
+ type: Object,
12109
+ default: function _default28() {
12110
+ return {};
12111
+ }
12112
+ }
12066
12113
  }),
12067
12114
  data: function data6() {
12068
12115
  return {
@@ -12487,8 +12534,10 @@ var Methods$c = {
12487
12534
  var _column$format, _column$format$async;
12488
12535
  return (_column$format = column.format) == null ? void 0 : (_column$format$async = _column$format.async) == null ? void 0 : _column$format$async.fetch;
12489
12536
  });
12537
+ var defaultRowId = "_RID";
12490
12538
  var newRecords = records.map(function(record) {
12491
12539
  isColumnFormat && (record[GlobalConfig$1.constant.insertedField] = true);
12540
+ delete record[defaultRowId];
12492
12541
  return hooks.reactive(_this54.defineField(Object.assign({}, record)));
12493
12542
  });
12494
12543
  operArrs({
@@ -12683,7 +12732,7 @@ var Methods$c = {
12683
12732
  editConfig,
12684
12733
  row: row2
12685
12734
  });
12686
- if (!(editor && cell && isActiveCell)) {
12735
+ if (!(editor && cell && isActiveCell && editConfig)) {
12687
12736
  _context.n = 2;
12688
12737
  break;
12689
12738
  }
@@ -12955,10 +13004,10 @@ function findLeft(params) {
12955
13004
  targetRowIndex
12956
13005
  };
12957
13006
  }
12958
- for (var _index4 = columnIndex - 1; _index4 >= 0; _index4--) {
12959
- if (checkColumn(visibleColumn[_index4])) {
12960
- targetColumnIndex = _index4;
12961
- targetColumn = visibleColumn[_index4];
13007
+ for (var _index5 = columnIndex - 1; _index5 >= 0; _index5--) {
13008
+ if (checkColumn(visibleColumn[_index5])) {
13009
+ targetColumnIndex = _index5;
13010
+ targetColumn = visibleColumn[_index5];
12962
13011
  break;
12963
13012
  }
12964
13013
  }
@@ -12972,10 +13021,10 @@ function findLeft(params) {
12972
13021
  }
12973
13022
  targetRowIndex = rowIndex - 1;
12974
13023
  targetRow = tableData[targetRowIndex];
12975
- for (var _index5 = visibleColumn.length - 1; _index5 >= 0; _index5--) {
12976
- if (checkColumn(visibleColumn[_index5])) {
12977
- targetColumnIndex = _index5;
12978
- targetColumn = visibleColumn[_index5];
13024
+ for (var _index6 = visibleColumn.length - 1; _index6 >= 0; _index6--) {
13025
+ if (checkColumn(visibleColumn[_index6])) {
13026
+ targetColumnIndex = _index6;
13027
+ targetColumn = visibleColumn[_index6];
12979
13028
  break;
12980
13029
  }
12981
13030
  }
@@ -12997,10 +13046,10 @@ function findRight(params) {
12997
13046
  targetRowIndex
12998
13047
  };
12999
13048
  }
13000
- for (var _index6 = columnIndex + 1; _index6 < visibleColumn.length; _index6++) {
13001
- if (checkColumn(visibleColumn[_index6])) {
13002
- targetColumnIndex = _index6;
13003
- targetColumn = visibleColumn[_index6];
13049
+ for (var _index7 = columnIndex + 1; _index7 < visibleColumn.length; _index7++) {
13050
+ if (checkColumn(visibleColumn[_index7])) {
13051
+ targetColumnIndex = _index7;
13052
+ targetColumn = visibleColumn[_index7];
13004
13053
  break;
13005
13054
  }
13006
13055
  }
@@ -13014,10 +13063,10 @@ function findRight(params) {
13014
13063
  }
13015
13064
  targetRowIndex = rowIndex + 1;
13016
13065
  targetRow = tableData[targetRowIndex];
13017
- for (var _index7 = 0; _index7 < visibleColumn.length; _index7++) {
13018
- if (checkColumn(visibleColumn[_index7])) {
13019
- targetColumnIndex = _index7;
13020
- targetColumn = visibleColumn[_index7];
13066
+ for (var _index8 = 0; _index8 < visibleColumn.length; _index8++) {
13067
+ if (checkColumn(visibleColumn[_index8])) {
13068
+ targetColumnIndex = _index8;
13069
+ targetColumn = visibleColumn[_index8];
13021
13070
  break;
13022
13071
  }
13023
13072
  }
@@ -16113,7 +16162,7 @@ var Methods = {
16113
16162
  var treeExpandedsCopy = [].concat(treeExpandeds);
16114
16163
  rows.forEach(function(row2) {
16115
16164
  if (row2[children] && row2[children].length) {
16116
- var _index8 = treeExpandedsCopy.indexOf(row2);
16165
+ var _index9 = treeExpandedsCopy.indexOf(row2);
16117
16166
  if (accordion) {
16118
16167
  var matchObj = findTree$1(tableFullData, function(item) {
16119
16168
  return item === row2;
@@ -16122,11 +16171,11 @@ var Methods = {
16122
16171
  return ~matchObj.items.indexOf(item);
16123
16172
  });
16124
16173
  }
16125
- if (~_index8 && (isToggle || !expanded)) {
16126
- treeExpandedsCopy.splice(_index8, 1);
16174
+ if (~_index9 && (isToggle || !expanded)) {
16175
+ treeExpandedsCopy.splice(_index9, 1);
16127
16176
  return;
16128
16177
  }
16129
- if (!~_index8 && (isToggle || expanded)) {
16178
+ if (!~_index9 && (isToggle || expanded)) {
16130
16179
  treeExpandedsCopy.push(row2);
16131
16180
  }
16132
16181
  }
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-grid",
3
3
  "type": "module",
4
- "version": "2.28.0",
4
+ "version": "2.29.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/utils": "~3.28.0",
12
- "@opentinyvue/vue-common": "~2.28.0",
13
- "@opentinyvue/vue-directive": "~2.28.0",
14
- "@opentinyvue/vue-dropdown": "~2.28.0",
15
- "@opentinyvue/vue-dropdown-item": "~2.28.0",
16
- "@opentinyvue/vue-dropdown-menu": "~2.28.0",
17
- "@opentinyvue/vue-exception": "~2.28.0",
18
- "@opentinyvue/vue-icon": "~2.28.0",
19
- "@opentinyvue/vue-loading": "~2.28.0",
20
- "@opentinyvue/vue-locale": "~2.28.0",
21
- "@opentinyvue/vue-modal": "~2.28.0",
22
- "@opentinyvue/vue-pager": "~2.28.0",
23
- "@opentinyvue/vue-renderless": "~3.28.0",
24
- "@opentinyvue/vue-tag": "~2.28.0",
25
- "@opentinyvue/vue-theme": "~3.28.0",
26
- "@opentinyvue/vue-tooltip": "~2.28.0"
11
+ "@opentinyvue/utils": "~3.29.0",
12
+ "@opentinyvue/vue-common": "~2.29.0",
13
+ "@opentinyvue/vue-directive": "~2.29.0",
14
+ "@opentinyvue/vue-dropdown": "~2.29.0",
15
+ "@opentinyvue/vue-dropdown-item": "~2.29.0",
16
+ "@opentinyvue/vue-dropdown-menu": "~2.29.0",
17
+ "@opentinyvue/vue-exception": "~2.29.0",
18
+ "@opentinyvue/vue-icon": "~2.29.0",
19
+ "@opentinyvue/vue-loading": "~2.29.0",
20
+ "@opentinyvue/vue-locale": "~2.29.0",
21
+ "@opentinyvue/vue-modal": "~2.29.0",
22
+ "@opentinyvue/vue-pager": "~2.29.0",
23
+ "@opentinyvue/vue-renderless": "~3.29.0",
24
+ "@opentinyvue/vue-tag": "~2.29.0",
25
+ "@opentinyvue/vue-theme": "~3.29.0",
26
+ "@opentinyvue/vue-tooltip": "~2.29.0"
27
27
  },
28
28
  "types": "index.d.ts",
29
29
  "scripts": {
package/src/config.d.ts CHANGED
@@ -25,6 +25,7 @@ declare const GlobalConfig: {
25
25
  defaultTreeIndent: number;
26
26
  defaultTreeSpacing: number;
27
27
  rowId: string;
28
+ $rowIndex: symbol;
28
29
  version: number;
29
30
  optimization: {
30
31
  animat: boolean;