vxe-table 4.1.3 → 4.1.4

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/README.en.md CHANGED
@@ -12,7 +12,7 @@
12
12
  [![pull requests closed](https://img.shields.io/github/issues-pr-closed/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
13
13
  [![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
14
14
 
15
- A [vue](https://www.npmjs.com/package/vue) based PC form component, support add, delete, change, virtual scroll, lazy load, shortcut menu, data validation, tree structure, print export, form rendering, data paging, virtual list, modal window, custom template, renderer, flexible configuration items, extension interface, etc...
15
+ A [vue](https://www.npmjs.com/package/vue) based PC form component, support add, delete, change, virtual list, virtual tree, lazy load, shortcut menu, data validation, print export, form rendering, data paging, modal window, custom template, renderer, flexible configuration items, extension interface, etc...
16
16
 
17
17
  * Design concept
18
18
  * Efficient and concise API design for modern browsers.
@@ -66,9 +66,9 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 8+ ✔ |
66
66
  * [x] Form
67
67
  * [x] Toolbar
68
68
  * [x] Pulldown
69
- * [x] List
69
+ * [x] Virtual list
70
+ * [x] Virtual tree
70
71
  * [x] Editable CRUD
71
- * [x] Tree table
72
72
  * [x] Validate
73
73
  * [x] Data Proxy
74
74
  * [x] Keyboard navigation
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  [![pull requests closed](https://img.shields.io/github/issues-pr-closed/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
13
13
  [![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
14
14
 
15
- 一个基于 [vue](https://www.npmjs.com/package/vue) 的 PC 端表格组件,支持增删改查、虚拟滚动、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、虚拟列表、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...
15
+ 一个基于 [vue](https://www.npmjs.com/package/vue) 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...
16
16
 
17
17
  * 设计理念
18
18
  * 面向现代浏览器,高效的简洁 API 设计
@@ -24,7 +24,7 @@
24
24
  * [x] v2.0 基于 vue2.6+,支持所有主流的浏览器,同时兼具功能与性能
25
25
  * [x] v3.0 基于 vue2.6+,支持现代浏览器并保留兼容 IE11,提升渲染性能
26
26
  * [x] v4.0 基于 vue3.0+,只支持现代浏览器,不支持 IE
27
- * [] 下一阶段:sticky 表格、虚拟树、css 变量、虚拟滚动与动态行高、数据可视化
27
+ * [ ] 下一阶段:sticky 表格、css 变量、虚拟滚动与动态行高、数据可视化
28
28
 
29
29
  ## QQ 交流群
30
30
 
@@ -72,8 +72,8 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 8+ ✔ |
72
72
  * [x] 工具栏
73
73
  * [x] 下拉容器
74
74
  * [x] 虚拟列表
75
+ * [x] 虚拟树
75
76
  * [x] 增删改查
76
- * [x] 树表格
77
77
  * [x] 数据校验
78
78
  * [x] 数据代理
79
79
  * [x] 键盘导航
package/README.zh-TW.md CHANGED
@@ -12,7 +12,7 @@
12
12
  [![pull requests closed](https://img.shields.io/github/issues-pr-closed/x-extends/vxe-table.svg)](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
13
13
  [![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
14
14
 
15
- 一個基於 [vue](https://www.npmjs.com/package/vue) 的PC端表格組件,支持增删改查、虛擬滾動、懶加載、快捷選單、數據校驗、樹形結構、列印匯出、表單渲染、數據分頁、虛擬清單、彈窗、自定義範本、渲染器、賊靈活的配寘項、擴展接口等…
15
+ 一個基於 [vue](https://www.npmjs.com/package/vue) 的PC端表格組件,支持增删改查、虛擬清單、虛擬樹、懶加載、快捷選單、數據校驗、列印匯出、表單渲染、數據分頁、彈窗、自定義範本、渲染器、賊靈活的配寘項、擴展接口等…
16
16
 
17
17
  * 設計理念
18
18
  * 面向現代瀏覽器,高效的簡潔 API 設計
@@ -24,7 +24,7 @@
24
24
  * [x] v2.0 基於 vue2.6+,支持所有主流的瀏覽器,同時兼具功能與效能
25
25
  * [x] v3.0 基於 vue2.6+,支持現代瀏覽器並保留相容IE11,提升渲染效能
26
26
  * [x] v4.0 基于 vue3.0+,只支持現代瀏覽器,不支持IE
27
- * [] 下一阶段:sticky 表格、虚拟树、css 变量、虚拟滚动与动态行高、数据可视化
27
+ * [ ] 下一阶段:sticky 表格、css 变量、虚拟滚动与动态行高、数据可视化
28
28
 
29
29
  ## QQ 交流群
30
30
 
@@ -73,7 +73,6 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 8+ ✔ |
73
73
  * [x] 下拉容器
74
74
  * [x] 虛擬清單
75
75
  * [x] 增删改查
76
- * [x] 樹表格
77
76
  * [x] 數據校驗
78
77
  * [x] 數據代理
79
78
  * [x] 鍵盤導航
@@ -2072,8 +2072,10 @@ export default defineComponent({
2072
2072
  var treeFullData = internalData.treeFullData;
2073
2073
  var treeOpts = computeTreeOpts.value;
2074
2074
  var fullData = [];
2075
+ var expandMaps = new Map();
2075
2076
  XEUtils.eachTree(treeFullData, function (row, index, items, path, parent) {
2076
- if (!parent || $xetable.findRowIndexOf(treeExpandeds, parent) > -1) {
2077
+ if (!parent || (expandMaps.has(parent) && $xetable.findRowIndexOf(treeExpandeds, parent) > -1)) {
2078
+ expandMaps.set(row, 1);
2077
2079
  fullData.push(row);
2078
2080
  }
2079
2081
  }, treeOpts);
package/lib/index.umd.js CHANGED
@@ -3077,6 +3077,23 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
3077
3077
  });
3078
3078
 
3079
3079
 
3080
+ /***/ }),
3081
+
3082
+ /***/ "4ec9":
3083
+ /***/ (function(module, exports, __webpack_require__) {
3084
+
3085
+ "use strict";
3086
+
3087
+ var collection = __webpack_require__("6d61");
3088
+ var collectionStrong = __webpack_require__("6566");
3089
+
3090
+ // `Map` constructor
3091
+ // https://tc39.es/ecma262/#sec-map-objects
3092
+ module.exports = collection('Map', function (init) {
3093
+ return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
3094
+ }, collectionStrong);
3095
+
3096
+
3080
3097
  /***/ }),
3081
3098
 
3082
3099
  /***/ "5087":
@@ -3727,6 +3744,216 @@ module.exports = {
3727
3744
  };
3728
3745
 
3729
3746
 
3747
+ /***/ }),
3748
+
3749
+ /***/ "6566":
3750
+ /***/ (function(module, exports, __webpack_require__) {
3751
+
3752
+ "use strict";
3753
+
3754
+ var defineProperty = __webpack_require__("9bf2").f;
3755
+ var create = __webpack_require__("7c73");
3756
+ var redefineAll = __webpack_require__("e2cc");
3757
+ var bind = __webpack_require__("0366");
3758
+ var anInstance = __webpack_require__("19aa");
3759
+ var iterate = __webpack_require__("2266");
3760
+ var defineIterator = __webpack_require__("7dd0");
3761
+ var setSpecies = __webpack_require__("2626");
3762
+ var DESCRIPTORS = __webpack_require__("83ab");
3763
+ var fastKey = __webpack_require__("f183").fastKey;
3764
+ var InternalStateModule = __webpack_require__("69f3");
3765
+
3766
+ var setInternalState = InternalStateModule.set;
3767
+ var internalStateGetterFor = InternalStateModule.getterFor;
3768
+
3769
+ module.exports = {
3770
+ getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
3771
+ var C = wrapper(function (that, iterable) {
3772
+ anInstance(that, C, CONSTRUCTOR_NAME);
3773
+ setInternalState(that, {
3774
+ type: CONSTRUCTOR_NAME,
3775
+ index: create(null),
3776
+ first: undefined,
3777
+ last: undefined,
3778
+ size: 0
3779
+ });
3780
+ if (!DESCRIPTORS) that.size = 0;
3781
+ if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
3782
+ });
3783
+
3784
+ var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
3785
+
3786
+ var define = function (that, key, value) {
3787
+ var state = getInternalState(that);
3788
+ var entry = getEntry(that, key);
3789
+ var previous, index;
3790
+ // change existing entry
3791
+ if (entry) {
3792
+ entry.value = value;
3793
+ // create new entry
3794
+ } else {
3795
+ state.last = entry = {
3796
+ index: index = fastKey(key, true),
3797
+ key: key,
3798
+ value: value,
3799
+ previous: previous = state.last,
3800
+ next: undefined,
3801
+ removed: false
3802
+ };
3803
+ if (!state.first) state.first = entry;
3804
+ if (previous) previous.next = entry;
3805
+ if (DESCRIPTORS) state.size++;
3806
+ else that.size++;
3807
+ // add to index
3808
+ if (index !== 'F') state.index[index] = entry;
3809
+ } return that;
3810
+ };
3811
+
3812
+ var getEntry = function (that, key) {
3813
+ var state = getInternalState(that);
3814
+ // fast case
3815
+ var index = fastKey(key);
3816
+ var entry;
3817
+ if (index !== 'F') return state.index[index];
3818
+ // frozen object case
3819
+ for (entry = state.first; entry; entry = entry.next) {
3820
+ if (entry.key == key) return entry;
3821
+ }
3822
+ };
3823
+
3824
+ redefineAll(C.prototype, {
3825
+ // `{ Map, Set }.prototype.clear()` methods
3826
+ // https://tc39.es/ecma262/#sec-map.prototype.clear
3827
+ // https://tc39.es/ecma262/#sec-set.prototype.clear
3828
+ clear: function clear() {
3829
+ var that = this;
3830
+ var state = getInternalState(that);
3831
+ var data = state.index;
3832
+ var entry = state.first;
3833
+ while (entry) {
3834
+ entry.removed = true;
3835
+ if (entry.previous) entry.previous = entry.previous.next = undefined;
3836
+ delete data[entry.index];
3837
+ entry = entry.next;
3838
+ }
3839
+ state.first = state.last = undefined;
3840
+ if (DESCRIPTORS) state.size = 0;
3841
+ else that.size = 0;
3842
+ },
3843
+ // `{ Map, Set }.prototype.delete(key)` methods
3844
+ // https://tc39.es/ecma262/#sec-map.prototype.delete
3845
+ // https://tc39.es/ecma262/#sec-set.prototype.delete
3846
+ 'delete': function (key) {
3847
+ var that = this;
3848
+ var state = getInternalState(that);
3849
+ var entry = getEntry(that, key);
3850
+ if (entry) {
3851
+ var next = entry.next;
3852
+ var prev = entry.previous;
3853
+ delete state.index[entry.index];
3854
+ entry.removed = true;
3855
+ if (prev) prev.next = next;
3856
+ if (next) next.previous = prev;
3857
+ if (state.first == entry) state.first = next;
3858
+ if (state.last == entry) state.last = prev;
3859
+ if (DESCRIPTORS) state.size--;
3860
+ else that.size--;
3861
+ } return !!entry;
3862
+ },
3863
+ // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods
3864
+ // https://tc39.es/ecma262/#sec-map.prototype.foreach
3865
+ // https://tc39.es/ecma262/#sec-set.prototype.foreach
3866
+ forEach: function forEach(callbackfn /* , that = undefined */) {
3867
+ var state = getInternalState(this);
3868
+ var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
3869
+ var entry;
3870
+ while (entry = entry ? entry.next : state.first) {
3871
+ boundFunction(entry.value, entry.key, this);
3872
+ // revert to the last existing entry
3873
+ while (entry && entry.removed) entry = entry.previous;
3874
+ }
3875
+ },
3876
+ // `{ Map, Set}.prototype.has(key)` methods
3877
+ // https://tc39.es/ecma262/#sec-map.prototype.has
3878
+ // https://tc39.es/ecma262/#sec-set.prototype.has
3879
+ has: function has(key) {
3880
+ return !!getEntry(this, key);
3881
+ }
3882
+ });
3883
+
3884
+ redefineAll(C.prototype, IS_MAP ? {
3885
+ // `Map.prototype.get(key)` method
3886
+ // https://tc39.es/ecma262/#sec-map.prototype.get
3887
+ get: function get(key) {
3888
+ var entry = getEntry(this, key);
3889
+ return entry && entry.value;
3890
+ },
3891
+ // `Map.prototype.set(key, value)` method
3892
+ // https://tc39.es/ecma262/#sec-map.prototype.set
3893
+ set: function set(key, value) {
3894
+ return define(this, key === 0 ? 0 : key, value);
3895
+ }
3896
+ } : {
3897
+ // `Set.prototype.add(value)` method
3898
+ // https://tc39.es/ecma262/#sec-set.prototype.add
3899
+ add: function add(value) {
3900
+ return define(this, value = value === 0 ? 0 : value, value);
3901
+ }
3902
+ });
3903
+ if (DESCRIPTORS) defineProperty(C.prototype, 'size', {
3904
+ get: function () {
3905
+ return getInternalState(this).size;
3906
+ }
3907
+ });
3908
+ return C;
3909
+ },
3910
+ setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {
3911
+ var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
3912
+ var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
3913
+ var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
3914
+ // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods
3915
+ // https://tc39.es/ecma262/#sec-map.prototype.entries
3916
+ // https://tc39.es/ecma262/#sec-map.prototype.keys
3917
+ // https://tc39.es/ecma262/#sec-map.prototype.values
3918
+ // https://tc39.es/ecma262/#sec-map.prototype-@@iterator
3919
+ // https://tc39.es/ecma262/#sec-set.prototype.entries
3920
+ // https://tc39.es/ecma262/#sec-set.prototype.keys
3921
+ // https://tc39.es/ecma262/#sec-set.prototype.values
3922
+ // https://tc39.es/ecma262/#sec-set.prototype-@@iterator
3923
+ defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {
3924
+ setInternalState(this, {
3925
+ type: ITERATOR_NAME,
3926
+ target: iterated,
3927
+ state: getInternalCollectionState(iterated),
3928
+ kind: kind,
3929
+ last: undefined
3930
+ });
3931
+ }, function () {
3932
+ var state = getInternalIteratorState(this);
3933
+ var kind = state.kind;
3934
+ var entry = state.last;
3935
+ // revert to the last existing entry
3936
+ while (entry && entry.removed) entry = entry.previous;
3937
+ // get next entry
3938
+ if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
3939
+ // or finish the iteration
3940
+ state.target = undefined;
3941
+ return { value: undefined, done: true };
3942
+ }
3943
+ // return step by kind
3944
+ if (kind == 'keys') return { value: entry.key, done: false };
3945
+ if (kind == 'values') return { value: entry.value, done: false };
3946
+ return { value: [entry.key, entry.value], done: false };
3947
+ }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
3948
+
3949
+ // `{ Map, Set }.prototype[@@species]` accessors
3950
+ // https://tc39.es/ecma262/#sec-get-map-@@species
3951
+ // https://tc39.es/ecma262/#sec-get-set-@@species
3952
+ setSpecies(CONSTRUCTOR_NAME);
3953
+ }
3954
+ };
3955
+
3956
+
3730
3957
  /***/ }),
3731
3958
 
3732
3959
  /***/ "65f0":
@@ -3863,6 +4090,118 @@ module.exports = {
3863
4090
  };
3864
4091
 
3865
4092
 
4093
+ /***/ }),
4094
+
4095
+ /***/ "6d61":
4096
+ /***/ (function(module, exports, __webpack_require__) {
4097
+
4098
+ "use strict";
4099
+
4100
+ var $ = __webpack_require__("23e7");
4101
+ var global = __webpack_require__("da84");
4102
+ var isForced = __webpack_require__("94ca");
4103
+ var redefine = __webpack_require__("6eeb");
4104
+ var InternalMetadataModule = __webpack_require__("f183");
4105
+ var iterate = __webpack_require__("2266");
4106
+ var anInstance = __webpack_require__("19aa");
4107
+ var isCallable = __webpack_require__("1626");
4108
+ var isObject = __webpack_require__("861d");
4109
+ var fails = __webpack_require__("d039");
4110
+ var checkCorrectnessOfIteration = __webpack_require__("1c7e");
4111
+ var setToStringTag = __webpack_require__("d44e");
4112
+ var inheritIfRequired = __webpack_require__("7156");
4113
+
4114
+ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
4115
+ var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
4116
+ var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
4117
+ var ADDER = IS_MAP ? 'set' : 'add';
4118
+ var NativeConstructor = global[CONSTRUCTOR_NAME];
4119
+ var NativePrototype = NativeConstructor && NativeConstructor.prototype;
4120
+ var Constructor = NativeConstructor;
4121
+ var exported = {};
4122
+
4123
+ var fixMethod = function (KEY) {
4124
+ var nativeMethod = NativePrototype[KEY];
4125
+ redefine(NativePrototype, KEY,
4126
+ KEY == 'add' ? function add(value) {
4127
+ nativeMethod.call(this, value === 0 ? 0 : value);
4128
+ return this;
4129
+ } : KEY == 'delete' ? function (key) {
4130
+ return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
4131
+ } : KEY == 'get' ? function get(key) {
4132
+ return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);
4133
+ } : KEY == 'has' ? function has(key) {
4134
+ return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
4135
+ } : function set(key, value) {
4136
+ nativeMethod.call(this, key === 0 ? 0 : key, value);
4137
+ return this;
4138
+ }
4139
+ );
4140
+ };
4141
+
4142
+ var REPLACE = isForced(
4143
+ CONSTRUCTOR_NAME,
4144
+ !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {
4145
+ new NativeConstructor().entries().next();
4146
+ }))
4147
+ );
4148
+
4149
+ if (REPLACE) {
4150
+ // create collection constructor
4151
+ Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
4152
+ InternalMetadataModule.enable();
4153
+ } else if (isForced(CONSTRUCTOR_NAME, true)) {
4154
+ var instance = new Constructor();
4155
+ // early implementations not supports chaining
4156
+ var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
4157
+ // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
4158
+ var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
4159
+ // most early implementations doesn't supports iterables, most modern - not close it correctly
4160
+ // eslint-disable-next-line no-new -- required for testing
4161
+ var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });
4162
+ // for early implementations -0 and +0 not the same
4163
+ var BUGGY_ZERO = !IS_WEAK && fails(function () {
4164
+ // V8 ~ Chromium 42- fails only with 5+ elements
4165
+ var $instance = new NativeConstructor();
4166
+ var index = 5;
4167
+ while (index--) $instance[ADDER](index, index);
4168
+ return !$instance.has(-0);
4169
+ });
4170
+
4171
+ if (!ACCEPT_ITERABLES) {
4172
+ Constructor = wrapper(function (dummy, iterable) {
4173
+ anInstance(dummy, Constructor, CONSTRUCTOR_NAME);
4174
+ var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
4175
+ if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
4176
+ return that;
4177
+ });
4178
+ Constructor.prototype = NativePrototype;
4179
+ NativePrototype.constructor = Constructor;
4180
+ }
4181
+
4182
+ if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
4183
+ fixMethod('delete');
4184
+ fixMethod('has');
4185
+ IS_MAP && fixMethod('get');
4186
+ }
4187
+
4188
+ if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
4189
+
4190
+ // weak collections should not contains .clear method
4191
+ if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;
4192
+ }
4193
+
4194
+ exported[CONSTRUCTOR_NAME] = Constructor;
4195
+ $({ global: true, forced: Constructor != NativeConstructor }, exported);
4196
+
4197
+ setToStringTag(Constructor, CONSTRUCTOR_NAME);
4198
+
4199
+ if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
4200
+
4201
+ return Constructor;
4202
+ };
4203
+
4204
+
3866
4205
  /***/ }),
3867
4206
 
3868
4207
  /***/ "6eeb":
@@ -6365,6 +6704,19 @@ module.exports = {
6365
6704
  };
6366
6705
 
6367
6706
 
6707
+ /***/ }),
6708
+
6709
+ /***/ "bb2f":
6710
+ /***/ (function(module, exports, __webpack_require__) {
6711
+
6712
+ var fails = __webpack_require__("d039");
6713
+
6714
+ module.exports = !fails(function () {
6715
+ // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
6716
+ return Object.isExtensible(Object.preventExtensions({}));
6717
+ });
6718
+
6719
+
6368
6720
  /***/ }),
6369
6721
 
6370
6722
  /***/ "c04e":
@@ -7735,6 +8087,105 @@ module.exports.f = function (C) {
7735
8087
 
7736
8088
  module.exports = __WEBPACK_EXTERNAL_MODULE_f0af__;
7737
8089
 
8090
+ /***/ }),
8091
+
8092
+ /***/ "f183":
8093
+ /***/ (function(module, exports, __webpack_require__) {
8094
+
8095
+ var $ = __webpack_require__("23e7");
8096
+ var hiddenKeys = __webpack_require__("d012");
8097
+ var isObject = __webpack_require__("861d");
8098
+ var hasOwn = __webpack_require__("1a2d");
8099
+ var defineProperty = __webpack_require__("9bf2").f;
8100
+ var getOwnPropertyNamesModule = __webpack_require__("241c");
8101
+ var getOwnPropertyNamesExternalModule = __webpack_require__("057f");
8102
+ var uid = __webpack_require__("90e3");
8103
+ var FREEZING = __webpack_require__("bb2f");
8104
+
8105
+ var REQUIRED = false;
8106
+ var METADATA = uid('meta');
8107
+ var id = 0;
8108
+
8109
+ // eslint-disable-next-line es/no-object-isextensible -- safe
8110
+ var isExtensible = Object.isExtensible || function () {
8111
+ return true;
8112
+ };
8113
+
8114
+ var setMetadata = function (it) {
8115
+ defineProperty(it, METADATA, { value: {
8116
+ objectID: 'O' + id++, // object ID
8117
+ weakData: {} // weak collections IDs
8118
+ } });
8119
+ };
8120
+
8121
+ var fastKey = function (it, create) {
8122
+ // return a primitive with prefix
8123
+ if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
8124
+ if (!hasOwn(it, METADATA)) {
8125
+ // can't set metadata to uncaught frozen object
8126
+ if (!isExtensible(it)) return 'F';
8127
+ // not necessary to add metadata
8128
+ if (!create) return 'E';
8129
+ // add missing metadata
8130
+ setMetadata(it);
8131
+ // return object ID
8132
+ } return it[METADATA].objectID;
8133
+ };
8134
+
8135
+ var getWeakData = function (it, create) {
8136
+ if (!hasOwn(it, METADATA)) {
8137
+ // can't set metadata to uncaught frozen object
8138
+ if (!isExtensible(it)) return true;
8139
+ // not necessary to add metadata
8140
+ if (!create) return false;
8141
+ // add missing metadata
8142
+ setMetadata(it);
8143
+ // return the store of weak collections IDs
8144
+ } return it[METADATA].weakData;
8145
+ };
8146
+
8147
+ // add metadata on freeze-family methods calling
8148
+ var onFreeze = function (it) {
8149
+ if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);
8150
+ return it;
8151
+ };
8152
+
8153
+ var enable = function () {
8154
+ meta.enable = function () { /* empty */ };
8155
+ REQUIRED = true;
8156
+ var getOwnPropertyNames = getOwnPropertyNamesModule.f;
8157
+ var splice = [].splice;
8158
+ var test = {};
8159
+ test[METADATA] = 1;
8160
+
8161
+ // prevent exposing of metadata key
8162
+ if (getOwnPropertyNames(test).length) {
8163
+ getOwnPropertyNamesModule.f = function (it) {
8164
+ var result = getOwnPropertyNames(it);
8165
+ for (var i = 0, length = result.length; i < length; i++) {
8166
+ if (result[i] === METADATA) {
8167
+ splice.call(result, i, 1);
8168
+ break;
8169
+ }
8170
+ } return result;
8171
+ };
8172
+
8173
+ $({ target: 'Object', stat: true, forced: true }, {
8174
+ getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
8175
+ });
8176
+ }
8177
+ };
8178
+
8179
+ var meta = module.exports = {
8180
+ enable: enable,
8181
+ fastKey: fastKey,
8182
+ getWeakData: getWeakData,
8183
+ onFreeze: onFreeze
8184
+ };
8185
+
8186
+ hiddenKeys[METADATA] = true;
8187
+
8188
+
7738
8189
  /***/ }),
7739
8190
 
7740
8191
  /***/ "f5df":
@@ -30118,6 +30569,9 @@ var Pulldown = Object.assign(pulldown, {
30118
30569
  }
30119
30570
  });
30120
30571
  /* harmony default export */ var packages_pulldown = (Pulldown);
30572
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.js
30573
+ var es_map = __webpack_require__("4ec9");
30574
+
30121
30575
  // CONCATENATED MODULE: ./packages/table/src/body.ts
30122
30576
 
30123
30577
 
@@ -31073,8 +31527,6 @@ var lineOffsetSizes = {
31073
31527
 
31074
31528
 
31075
31529
 
31076
-
31077
-
31078
31530
 
31079
31531
 
31080
31532
 
@@ -33621,8 +34073,10 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
33621
34073
  var treeFullData = internalData.treeFullData;
33622
34074
  var treeOpts = computeTreeOpts.value;
33623
34075
  var fullData = [];
34076
+ var expandMaps = new Map();
33624
34077
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eachTree(treeFullData, function (row, index, items, path, parent) {
33625
- if (!parent || $xetable.findRowIndexOf(treeExpandeds, parent) > -1) {
34078
+ if (!parent || expandMaps.has(parent) && $xetable.findRowIndexOf(treeExpandeds, parent) > -1) {
34079
+ expandMaps.set(row, 1);
33626
34080
  fullData.push(row);
33627
34081
  }
33628
34082
  }, treeOpts);