vxe-table 3.4.1 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.umd.js CHANGED
@@ -783,16 +783,6 @@ module.exports = function (exec, SKIP_CLOSING) {
783
783
  };
784
784
 
785
785
 
786
- /***/ }),
787
-
788
- /***/ "1cdc":
789
- /***/ (function(module, exports, __webpack_require__) {
790
-
791
- var userAgent = __webpack_require__("342f");
792
-
793
- module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
794
-
795
-
796
786
  /***/ }),
797
787
 
798
788
  /***/ "1d80":
@@ -2125,126 +2115,6 @@ $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
2125
2115
  });
2126
2116
 
2127
2117
 
2128
- /***/ }),
2129
-
2130
- /***/ "2cf4":
2131
- /***/ (function(module, exports, __webpack_require__) {
2132
-
2133
- var global = __webpack_require__("da84");
2134
- var isCallable = __webpack_require__("1626");
2135
- var fails = __webpack_require__("d039");
2136
- var bind = __webpack_require__("0366");
2137
- var html = __webpack_require__("1be4");
2138
- var createElement = __webpack_require__("cc12");
2139
- var IS_IOS = __webpack_require__("1cdc");
2140
- var IS_NODE = __webpack_require__("605d");
2141
-
2142
- var set = global.setImmediate;
2143
- var clear = global.clearImmediate;
2144
- var process = global.process;
2145
- var MessageChannel = global.MessageChannel;
2146
- var Dispatch = global.Dispatch;
2147
- var counter = 0;
2148
- var queue = {};
2149
- var ONREADYSTATECHANGE = 'onreadystatechange';
2150
- var location, defer, channel, port;
2151
-
2152
- try {
2153
- // Deno throws a ReferenceError on `location` access without `--location` flag
2154
- location = global.location;
2155
- } catch (error) { /* empty */ }
2156
-
2157
- var run = function (id) {
2158
- // eslint-disable-next-line no-prototype-builtins -- safe
2159
- if (queue.hasOwnProperty(id)) {
2160
- var fn = queue[id];
2161
- delete queue[id];
2162
- fn();
2163
- }
2164
- };
2165
-
2166
- var runner = function (id) {
2167
- return function () {
2168
- run(id);
2169
- };
2170
- };
2171
-
2172
- var listener = function (event) {
2173
- run(event.data);
2174
- };
2175
-
2176
- var post = function (id) {
2177
- // old engines have not location.origin
2178
- global.postMessage(String(id), location.protocol + '//' + location.host);
2179
- };
2180
-
2181
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
2182
- if (!set || !clear) {
2183
- set = function setImmediate(fn) {
2184
- var args = [];
2185
- var argumentsLength = arguments.length;
2186
- var i = 1;
2187
- while (argumentsLength > i) args.push(arguments[i++]);
2188
- queue[++counter] = function () {
2189
- // eslint-disable-next-line no-new-func -- spec requirement
2190
- (isCallable(fn) ? fn : Function(fn)).apply(undefined, args);
2191
- };
2192
- defer(counter);
2193
- return counter;
2194
- };
2195
- clear = function clearImmediate(id) {
2196
- delete queue[id];
2197
- };
2198
- // Node.js 0.8-
2199
- if (IS_NODE) {
2200
- defer = function (id) {
2201
- process.nextTick(runner(id));
2202
- };
2203
- // Sphere (JS game engine) Dispatch API
2204
- } else if (Dispatch && Dispatch.now) {
2205
- defer = function (id) {
2206
- Dispatch.now(runner(id));
2207
- };
2208
- // Browsers with MessageChannel, includes WebWorkers
2209
- // except iOS - https://github.com/zloirock/core-js/issues/624
2210
- } else if (MessageChannel && !IS_IOS) {
2211
- channel = new MessageChannel();
2212
- port = channel.port2;
2213
- channel.port1.onmessage = listener;
2214
- defer = bind(port.postMessage, port, 1);
2215
- // Browsers with postMessage, skip WebWorkers
2216
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2217
- } else if (
2218
- global.addEventListener &&
2219
- isCallable(global.postMessage) &&
2220
- !global.importScripts &&
2221
- location && location.protocol !== 'file:' &&
2222
- !fails(post)
2223
- ) {
2224
- defer = post;
2225
- global.addEventListener('message', listener, false);
2226
- // IE8-
2227
- } else if (ONREADYSTATECHANGE in createElement('script')) {
2228
- defer = function (id) {
2229
- html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
2230
- html.removeChild(this);
2231
- run(id);
2232
- };
2233
- };
2234
- // Rest old browsers
2235
- } else {
2236
- defer = function (id) {
2237
- setTimeout(runner(id), 0);
2238
- };
2239
- }
2240
- }
2241
-
2242
- module.exports = {
2243
- set: set,
2244
- clear: clear
2245
- };
2246
-
2247
-
2248
2118
  /***/ }),
2249
2119
 
2250
2120
  /***/ "2d00":
@@ -2471,21 +2341,6 @@ module.exports = function (key) {
2471
2341
  };
2472
2342
 
2473
2343
 
2474
- /***/ }),
2475
-
2476
- /***/ "44de":
2477
- /***/ (function(module, exports, __webpack_require__) {
2478
-
2479
- var global = __webpack_require__("da84");
2480
-
2481
- module.exports = function (a, b) {
2482
- var console = global.console;
2483
- if (console && console.error) {
2484
- arguments.length === 1 ? console.error(a) : console.error(a, b);
2485
- }
2486
- };
2487
-
2488
-
2489
2344
  /***/ }),
2490
2345
 
2491
2346
  /***/ "44e7":
@@ -3629,25 +3484,6 @@ module.exports = function (input) {
3629
3484
  };
3630
3485
 
3631
3486
 
3632
- /***/ }),
3633
-
3634
- /***/ "605d":
3635
- /***/ (function(module, exports, __webpack_require__) {
3636
-
3637
- var classof = __webpack_require__("c6b6");
3638
- var global = __webpack_require__("da84");
3639
-
3640
- module.exports = classof(global.process) == 'process';
3641
-
3642
-
3643
- /***/ }),
3644
-
3645
- /***/ "6069":
3646
- /***/ (function(module, exports) {
3647
-
3648
- module.exports = typeof window == 'object';
3649
-
3650
-
3651
3487
  /***/ }),
3652
3488
 
3653
3489
  /***/ "60da":
@@ -5654,16 +5490,6 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
5654
5490
  });
5655
5491
 
5656
5492
 
5657
- /***/ }),
5658
-
5659
- /***/ "a4b4":
5660
- /***/ (function(module, exports, __webpack_require__) {
5661
-
5662
- var userAgent = __webpack_require__("342f");
5663
-
5664
- module.exports = /web0s(?!.*chrome)/i.test(userAgent);
5665
-
5666
-
5667
5493
  /***/ }),
5668
5494
 
5669
5495
  /***/ "a4d3":
@@ -6347,96 +6173,6 @@ if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
6347
6173
  }
6348
6174
 
6349
6175
 
6350
- /***/ }),
6351
-
6352
- /***/ "b575":
6353
- /***/ (function(module, exports, __webpack_require__) {
6354
-
6355
- var global = __webpack_require__("da84");
6356
- var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
6357
- var macrotask = __webpack_require__("2cf4").set;
6358
- var IS_IOS = __webpack_require__("1cdc");
6359
- var IS_IOS_PEBBLE = __webpack_require__("d4c3");
6360
- var IS_WEBOS_WEBKIT = __webpack_require__("a4b4");
6361
- var IS_NODE = __webpack_require__("605d");
6362
-
6363
- var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
6364
- var document = global.document;
6365
- var process = global.process;
6366
- var Promise = global.Promise;
6367
- // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
6368
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
6369
- var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
6370
-
6371
- var flush, head, last, notify, toggle, node, promise, then;
6372
-
6373
- // modern engines have queueMicrotask method
6374
- if (!queueMicrotask) {
6375
- flush = function () {
6376
- var parent, fn;
6377
- if (IS_NODE && (parent = process.domain)) parent.exit();
6378
- while (head) {
6379
- fn = head.fn;
6380
- head = head.next;
6381
- try {
6382
- fn();
6383
- } catch (error) {
6384
- if (head) notify();
6385
- else last = undefined;
6386
- throw error;
6387
- }
6388
- } last = undefined;
6389
- if (parent) parent.enter();
6390
- };
6391
-
6392
- // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
6393
- // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
6394
- if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
6395
- toggle = true;
6396
- node = document.createTextNode('');
6397
- new MutationObserver(flush).observe(node, { characterData: true });
6398
- notify = function () {
6399
- node.data = toggle = !toggle;
6400
- };
6401
- // environments with maybe non-completely correct, but existent Promise
6402
- } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {
6403
- // Promise.resolve without an argument throws an error in LG WebOS 2
6404
- promise = Promise.resolve(undefined);
6405
- // workaround of WebKit ~ iOS Safari 10.1 bug
6406
- promise.constructor = Promise;
6407
- then = promise.then;
6408
- notify = function () {
6409
- then.call(promise, flush);
6410
- };
6411
- // Node.js without promises
6412
- } else if (IS_NODE) {
6413
- notify = function () {
6414
- process.nextTick(flush);
6415
- };
6416
- // for other environments - macrotask based on:
6417
- // - setImmediate
6418
- // - MessageChannel
6419
- // - window.postMessag
6420
- // - onreadystatechange
6421
- // - setTimeout
6422
- } else {
6423
- notify = function () {
6424
- // strange IE + webpack dev server bug - use .call(global)
6425
- macrotask.call(global, flush);
6426
- };
6427
- }
6428
- }
6429
-
6430
- module.exports = queueMicrotask || function (fn) {
6431
- var task = { fn: fn, next: undefined };
6432
- if (last) last.next = task;
6433
- if (!head) {
6434
- head = task;
6435
- notify();
6436
- } last = task;
6437
- };
6438
-
6439
-
6440
6176
  /***/ }),
6441
6177
 
6442
6178
  /***/ "b622":
@@ -6907,41 +6643,6 @@ module.exports = function (it) {
6907
6643
  };
6908
6644
 
6909
6645
 
6910
- /***/ }),
6911
-
6912
- /***/ "cca6":
6913
- /***/ (function(module, exports, __webpack_require__) {
6914
-
6915
- var $ = __webpack_require__("23e7");
6916
- var assign = __webpack_require__("60da");
6917
-
6918
- // `Object.assign` method
6919
- // https://tc39.es/ecma262/#sec-object.assign
6920
- // eslint-disable-next-line es/no-object-assign -- required for testing
6921
- $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
6922
- assign: assign
6923
- });
6924
-
6925
-
6926
- /***/ }),
6927
-
6928
- /***/ "cdf9":
6929
- /***/ (function(module, exports, __webpack_require__) {
6930
-
6931
- var anObject = __webpack_require__("825a");
6932
- var isObject = __webpack_require__("861d");
6933
- var newPromiseCapability = __webpack_require__("f069");
6934
-
6935
- module.exports = function (C, x) {
6936
- anObject(C);
6937
- if (isObject(x) && x.constructor === C) return x;
6938
- var promiseCapability = newPromiseCapability.f(C);
6939
- var resolve = promiseCapability.resolve;
6940
- resolve(x);
6941
- return promiseCapability.promise;
6942
- };
6943
-
6944
-
6945
6646
  /***/ }),
6946
6647
 
6947
6648
  /***/ "ce4e":
@@ -7099,17 +6800,6 @@ module.exports = function (it, TAG, STATIC) {
7099
6800
  };
7100
6801
 
7101
6802
 
7102
- /***/ }),
7103
-
7104
- /***/ "d4c3":
7105
- /***/ (function(module, exports, __webpack_require__) {
7106
-
7107
- var userAgent = __webpack_require__("342f");
7108
- var global = __webpack_require__("da84");
7109
-
7110
- module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;
7111
-
7112
-
7113
6803
  /***/ }),
7114
6804
 
7115
6805
  /***/ "d784":
@@ -7577,422 +7267,6 @@ var wellKnownSymbol = __webpack_require__("b622");
7577
7267
  exports.f = wellKnownSymbol;
7578
7268
 
7579
7269
 
7580
- /***/ }),
7581
-
7582
- /***/ "e667":
7583
- /***/ (function(module, exports) {
7584
-
7585
- module.exports = function (exec) {
7586
- try {
7587
- return { error: false, value: exec() };
7588
- } catch (error) {
7589
- return { error: true, value: error };
7590
- }
7591
- };
7592
-
7593
-
7594
- /***/ }),
7595
-
7596
- /***/ "e6cf":
7597
- /***/ (function(module, exports, __webpack_require__) {
7598
-
7599
- "use strict";
7600
-
7601
- var $ = __webpack_require__("23e7");
7602
- var IS_PURE = __webpack_require__("c430");
7603
- var global = __webpack_require__("da84");
7604
- var getBuiltIn = __webpack_require__("d066");
7605
- var NativePromise = __webpack_require__("fea9");
7606
- var redefine = __webpack_require__("6eeb");
7607
- var redefineAll = __webpack_require__("e2cc");
7608
- var setPrototypeOf = __webpack_require__("d2bb");
7609
- var setToStringTag = __webpack_require__("d44e");
7610
- var setSpecies = __webpack_require__("2626");
7611
- var aCallable = __webpack_require__("59ed");
7612
- var isCallable = __webpack_require__("1626");
7613
- var isObject = __webpack_require__("861d");
7614
- var anInstance = __webpack_require__("19aa");
7615
- var inspectSource = __webpack_require__("8925");
7616
- var iterate = __webpack_require__("2266");
7617
- var checkCorrectnessOfIteration = __webpack_require__("1c7e");
7618
- var speciesConstructor = __webpack_require__("4840");
7619
- var task = __webpack_require__("2cf4").set;
7620
- var microtask = __webpack_require__("b575");
7621
- var promiseResolve = __webpack_require__("cdf9");
7622
- var hostReportErrors = __webpack_require__("44de");
7623
- var newPromiseCapabilityModule = __webpack_require__("f069");
7624
- var perform = __webpack_require__("e667");
7625
- var InternalStateModule = __webpack_require__("69f3");
7626
- var isForced = __webpack_require__("94ca");
7627
- var wellKnownSymbol = __webpack_require__("b622");
7628
- var IS_BROWSER = __webpack_require__("6069");
7629
- var IS_NODE = __webpack_require__("605d");
7630
- var V8_VERSION = __webpack_require__("2d00");
7631
-
7632
- var SPECIES = wellKnownSymbol('species');
7633
- var PROMISE = 'Promise';
7634
- var getInternalState = InternalStateModule.get;
7635
- var setInternalState = InternalStateModule.set;
7636
- var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
7637
- var NativePromisePrototype = NativePromise && NativePromise.prototype;
7638
- var PromiseConstructor = NativePromise;
7639
- var PromiseConstructorPrototype = NativePromisePrototype;
7640
- var TypeError = global.TypeError;
7641
- var document = global.document;
7642
- var process = global.process;
7643
- var newPromiseCapability = newPromiseCapabilityModule.f;
7644
- var newGenericPromiseCapability = newPromiseCapability;
7645
- var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
7646
- var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
7647
- var UNHANDLED_REJECTION = 'unhandledrejection';
7648
- var REJECTION_HANDLED = 'rejectionhandled';
7649
- var PENDING = 0;
7650
- var FULFILLED = 1;
7651
- var REJECTED = 2;
7652
- var HANDLED = 1;
7653
- var UNHANDLED = 2;
7654
- var SUBCLASSING = false;
7655
- var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
7656
-
7657
- var FORCED = isForced(PROMISE, function () {
7658
- var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
7659
- var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
7660
- // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
7661
- // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
7662
- // We can't detect it synchronously, so just check versions
7663
- if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
7664
- // We need Promise#finally in the pure version for preventing prototype pollution
7665
- if (IS_PURE && !PromiseConstructorPrototype['finally']) return true;
7666
- // We can't use @@species feature detection in V8 since it causes
7667
- // deoptimization and performance degradation
7668
- // https://github.com/zloirock/core-js/issues/679
7669
- if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
7670
- // Detect correctness of subclassing with @@species support
7671
- var promise = new PromiseConstructor(function (resolve) { resolve(1); });
7672
- var FakePromise = function (exec) {
7673
- exec(function () { /* empty */ }, function () { /* empty */ });
7674
- };
7675
- var constructor = promise.constructor = {};
7676
- constructor[SPECIES] = FakePromise;
7677
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
7678
- if (!SUBCLASSING) return true;
7679
- // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
7680
- return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
7681
- });
7682
-
7683
- var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
7684
- PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
7685
- });
7686
-
7687
- // helpers
7688
- var isThenable = function (it) {
7689
- var then;
7690
- return isObject(it) && isCallable(then = it.then) ? then : false;
7691
- };
7692
-
7693
- var notify = function (state, isReject) {
7694
- if (state.notified) return;
7695
- state.notified = true;
7696
- var chain = state.reactions;
7697
- microtask(function () {
7698
- var value = state.value;
7699
- var ok = state.state == FULFILLED;
7700
- var index = 0;
7701
- // variable length - can't use forEach
7702
- while (chain.length > index) {
7703
- var reaction = chain[index++];
7704
- var handler = ok ? reaction.ok : reaction.fail;
7705
- var resolve = reaction.resolve;
7706
- var reject = reaction.reject;
7707
- var domain = reaction.domain;
7708
- var result, then, exited;
7709
- try {
7710
- if (handler) {
7711
- if (!ok) {
7712
- if (state.rejection === UNHANDLED) onHandleUnhandled(state);
7713
- state.rejection = HANDLED;
7714
- }
7715
- if (handler === true) result = value;
7716
- else {
7717
- if (domain) domain.enter();
7718
- result = handler(value); // can throw
7719
- if (domain) {
7720
- domain.exit();
7721
- exited = true;
7722
- }
7723
- }
7724
- if (result === reaction.promise) {
7725
- reject(TypeError('Promise-chain cycle'));
7726
- } else if (then = isThenable(result)) {
7727
- then.call(result, resolve, reject);
7728
- } else resolve(result);
7729
- } else reject(value);
7730
- } catch (error) {
7731
- if (domain && !exited) domain.exit();
7732
- reject(error);
7733
- }
7734
- }
7735
- state.reactions = [];
7736
- state.notified = false;
7737
- if (isReject && !state.rejection) onUnhandled(state);
7738
- });
7739
- };
7740
-
7741
- var dispatchEvent = function (name, promise, reason) {
7742
- var event, handler;
7743
- if (DISPATCH_EVENT) {
7744
- event = document.createEvent('Event');
7745
- event.promise = promise;
7746
- event.reason = reason;
7747
- event.initEvent(name, false, true);
7748
- global.dispatchEvent(event);
7749
- } else event = { promise: promise, reason: reason };
7750
- if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
7751
- else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
7752
- };
7753
-
7754
- var onUnhandled = function (state) {
7755
- task.call(global, function () {
7756
- var promise = state.facade;
7757
- var value = state.value;
7758
- var IS_UNHANDLED = isUnhandled(state);
7759
- var result;
7760
- if (IS_UNHANDLED) {
7761
- result = perform(function () {
7762
- if (IS_NODE) {
7763
- process.emit('unhandledRejection', value, promise);
7764
- } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
7765
- });
7766
- // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
7767
- state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
7768
- if (result.error) throw result.value;
7769
- }
7770
- });
7771
- };
7772
-
7773
- var isUnhandled = function (state) {
7774
- return state.rejection !== HANDLED && !state.parent;
7775
- };
7776
-
7777
- var onHandleUnhandled = function (state) {
7778
- task.call(global, function () {
7779
- var promise = state.facade;
7780
- if (IS_NODE) {
7781
- process.emit('rejectionHandled', promise);
7782
- } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
7783
- });
7784
- };
7785
-
7786
- var bind = function (fn, state, unwrap) {
7787
- return function (value) {
7788
- fn(state, value, unwrap);
7789
- };
7790
- };
7791
-
7792
- var internalReject = function (state, value, unwrap) {
7793
- if (state.done) return;
7794
- state.done = true;
7795
- if (unwrap) state = unwrap;
7796
- state.value = value;
7797
- state.state = REJECTED;
7798
- notify(state, true);
7799
- };
7800
-
7801
- var internalResolve = function (state, value, unwrap) {
7802
- if (state.done) return;
7803
- state.done = true;
7804
- if (unwrap) state = unwrap;
7805
- try {
7806
- if (state.facade === value) throw TypeError("Promise can't be resolved itself");
7807
- var then = isThenable(value);
7808
- if (then) {
7809
- microtask(function () {
7810
- var wrapper = { done: false };
7811
- try {
7812
- then.call(value,
7813
- bind(internalResolve, wrapper, state),
7814
- bind(internalReject, wrapper, state)
7815
- );
7816
- } catch (error) {
7817
- internalReject(wrapper, error, state);
7818
- }
7819
- });
7820
- } else {
7821
- state.value = value;
7822
- state.state = FULFILLED;
7823
- notify(state, false);
7824
- }
7825
- } catch (error) {
7826
- internalReject({ done: false }, error, state);
7827
- }
7828
- };
7829
-
7830
- // constructor polyfill
7831
- if (FORCED) {
7832
- // 25.4.3.1 Promise(executor)
7833
- PromiseConstructor = function Promise(executor) {
7834
- anInstance(this, PromiseConstructor, PROMISE);
7835
- aCallable(executor);
7836
- Internal.call(this);
7837
- var state = getInternalState(this);
7838
- try {
7839
- executor(bind(internalResolve, state), bind(internalReject, state));
7840
- } catch (error) {
7841
- internalReject(state, error);
7842
- }
7843
- };
7844
- PromiseConstructorPrototype = PromiseConstructor.prototype;
7845
- // eslint-disable-next-line no-unused-vars -- required for `.length`
7846
- Internal = function Promise(executor) {
7847
- setInternalState(this, {
7848
- type: PROMISE,
7849
- done: false,
7850
- notified: false,
7851
- parent: false,
7852
- reactions: [],
7853
- rejection: false,
7854
- state: PENDING,
7855
- value: undefined
7856
- });
7857
- };
7858
- Internal.prototype = redefineAll(PromiseConstructorPrototype, {
7859
- // `Promise.prototype.then` method
7860
- // https://tc39.es/ecma262/#sec-promise.prototype.then
7861
- then: function then(onFulfilled, onRejected) {
7862
- var state = getInternalPromiseState(this);
7863
- var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
7864
- reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
7865
- reaction.fail = isCallable(onRejected) && onRejected;
7866
- reaction.domain = IS_NODE ? process.domain : undefined;
7867
- state.parent = true;
7868
- state.reactions.push(reaction);
7869
- if (state.state != PENDING) notify(state, false);
7870
- return reaction.promise;
7871
- },
7872
- // `Promise.prototype.catch` method
7873
- // https://tc39.es/ecma262/#sec-promise.prototype.catch
7874
- 'catch': function (onRejected) {
7875
- return this.then(undefined, onRejected);
7876
- }
7877
- });
7878
- OwnPromiseCapability = function () {
7879
- var promise = new Internal();
7880
- var state = getInternalState(promise);
7881
- this.promise = promise;
7882
- this.resolve = bind(internalResolve, state);
7883
- this.reject = bind(internalReject, state);
7884
- };
7885
- newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
7886
- return C === PromiseConstructor || C === PromiseWrapper
7887
- ? new OwnPromiseCapability(C)
7888
- : newGenericPromiseCapability(C);
7889
- };
7890
-
7891
- if (!IS_PURE && isCallable(NativePromise) && NativePromisePrototype !== Object.prototype) {
7892
- nativeThen = NativePromisePrototype.then;
7893
-
7894
- if (!SUBCLASSING) {
7895
- // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
7896
- redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
7897
- var that = this;
7898
- return new PromiseConstructor(function (resolve, reject) {
7899
- nativeThen.call(that, resolve, reject);
7900
- }).then(onFulfilled, onRejected);
7901
- // https://github.com/zloirock/core-js/issues/640
7902
- }, { unsafe: true });
7903
-
7904
- // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
7905
- redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true });
7906
- }
7907
-
7908
- // make `.constructor === Promise` work for native promise-based APIs
7909
- try {
7910
- delete NativePromisePrototype.constructor;
7911
- } catch (error) { /* empty */ }
7912
-
7913
- // make `instanceof Promise` work for native promise-based APIs
7914
- if (setPrototypeOf) {
7915
- setPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype);
7916
- }
7917
- }
7918
- }
7919
-
7920
- $({ global: true, wrap: true, forced: FORCED }, {
7921
- Promise: PromiseConstructor
7922
- });
7923
-
7924
- setToStringTag(PromiseConstructor, PROMISE, false, true);
7925
- setSpecies(PROMISE);
7926
-
7927
- PromiseWrapper = getBuiltIn(PROMISE);
7928
-
7929
- // statics
7930
- $({ target: PROMISE, stat: true, forced: FORCED }, {
7931
- // `Promise.reject` method
7932
- // https://tc39.es/ecma262/#sec-promise.reject
7933
- reject: function reject(r) {
7934
- var capability = newPromiseCapability(this);
7935
- capability.reject.call(undefined, r);
7936
- return capability.promise;
7937
- }
7938
- });
7939
-
7940
- $({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {
7941
- // `Promise.resolve` method
7942
- // https://tc39.es/ecma262/#sec-promise.resolve
7943
- resolve: function resolve(x) {
7944
- return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
7945
- }
7946
- });
7947
-
7948
- $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
7949
- // `Promise.all` method
7950
- // https://tc39.es/ecma262/#sec-promise.all
7951
- all: function all(iterable) {
7952
- var C = this;
7953
- var capability = newPromiseCapability(C);
7954
- var resolve = capability.resolve;
7955
- var reject = capability.reject;
7956
- var result = perform(function () {
7957
- var $promiseResolve = aCallable(C.resolve);
7958
- var values = [];
7959
- var counter = 0;
7960
- var remaining = 1;
7961
- iterate(iterable, function (promise) {
7962
- var index = counter++;
7963
- var alreadyCalled = false;
7964
- values.push(undefined);
7965
- remaining++;
7966
- $promiseResolve.call(C, promise).then(function (value) {
7967
- if (alreadyCalled) return;
7968
- alreadyCalled = true;
7969
- values[index] = value;
7970
- --remaining || resolve(values);
7971
- }, reject);
7972
- });
7973
- --remaining || resolve(values);
7974
- });
7975
- if (result.error) reject(result.value);
7976
- return capability.promise;
7977
- },
7978
- // `Promise.race` method
7979
- // https://tc39.es/ecma262/#sec-promise.race
7980
- race: function race(iterable) {
7981
- var C = this;
7982
- var capability = newPromiseCapability(C);
7983
- var reject = capability.reject;
7984
- var result = perform(function () {
7985
- var $promiseResolve = aCallable(C.resolve);
7986
- iterate(iterable, function (promise) {
7987
- $promiseResolve.call(C, promise).then(capability.resolve, reject);
7988
- });
7989
- });
7990
- if (result.error) reject(result.value);
7991
- return capability.promise;
7992
- }
7993
- });
7994
-
7995
-
7996
7270
  /***/ }),
7997
7271
 
7998
7272
  /***/ "e893":
@@ -8046,33 +7320,6 @@ module.exports = function (it) {
8046
7320
  };
8047
7321
 
8048
7322
 
8049
- /***/ }),
8050
-
8051
- /***/ "f069":
8052
- /***/ (function(module, exports, __webpack_require__) {
8053
-
8054
- "use strict";
8055
-
8056
- var aCallable = __webpack_require__("59ed");
8057
-
8058
- var PromiseCapability = function (C) {
8059
- var resolve, reject;
8060
- this.promise = new C(function ($$resolve, $$reject) {
8061
- if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
8062
- resolve = $$resolve;
8063
- reject = $$reject;
8064
- });
8065
- this.resolve = aCallable(resolve);
8066
- this.reject = aCallable(reject);
8067
- };
8068
-
8069
- // `NewPromiseCapability` abstract operation
8070
- // https://tc39.es/ecma262/#sec-newpromisecapability
8071
- module.exports.f = function (C) {
8072
- return new PromiseCapability(C);
8073
- };
8074
-
8075
-
8076
7323
  /***/ }),
8077
7324
 
8078
7325
  /***/ "f0af":
@@ -8466,8 +7713,8 @@ var iconPrefix = 'vxe-icon--';
8466
7713
  showIcon: true
8467
7714
  },
8468
7715
  treeConfig: {
8469
- rowtKey: 'id',
8470
- parentKey: 'parentId',
7716
+ rowField: 'id',
7717
+ parentField: 'parentId',
8471
7718
  children: 'children',
8472
7719
  hasChild: 'hasChild',
8473
7720
  indent: 20,
@@ -8754,9 +8001,6 @@ var es_object_to_string = __webpack_require__("d3b7");
8754
8001
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
8755
8002
  var es_symbol_iterator = __webpack_require__("d28b");
8756
8003
 
8757
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
8758
- var es_array_iterator = __webpack_require__("e260");
8759
-
8760
8004
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
8761
8005
  var es_string_iterator = __webpack_require__("3ca3");
8762
8006
 
@@ -8774,7 +8018,6 @@ var es_array_from = __webpack_require__("a630");
8774
8018
 
8775
8019
 
8776
8020
 
8777
-
8778
8021
  function _iterableToArray(iter) {
8779
8022
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
8780
8023
  }
@@ -8811,9 +8054,6 @@ function _nonIterableSpread() {
8811
8054
  function _toConsumableArray(arr) {
8812
8055
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
8813
8056
  }
8814
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
8815
- var es_object_assign = __webpack_require__("cca6");
8816
-
8817
8057
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
8818
8058
  var es_string_fixed = __webpack_require__("c7cd");
8819
8059
 
@@ -8828,7 +8068,6 @@ var es_array_splice = __webpack_require__("a434");
8828
8068
 
8829
8069
 
8830
8070
 
8831
-
8832
8071
  /**
8833
8072
  * 创建数据仓库
8834
8073
  */
@@ -8874,7 +8113,6 @@ var store_Store = /*#__PURE__*/function () {
8874
8113
  /* harmony default export */ var store = (store_Store);
8875
8114
  // CONCATENATED MODULE: ./packages/v-x-e-table/src/formats.js
8876
8115
 
8877
-
8878
8116
  var formats = new store();
8879
8117
 
8880
8118
  if (false) {}
@@ -8891,7 +8129,6 @@ if (false) {}
8891
8129
 
8892
8130
 
8893
8131
 
8894
-
8895
8132
  var zindexIndex = 0;
8896
8133
  var lastZindex = 1;
8897
8134
 
@@ -9172,9 +8409,6 @@ var es_string_match = __webpack_require__("466d");
9172
8409
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
9173
8410
  var es_array_concat = __webpack_require__("99af");
9174
8411
 
9175
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
9176
- var es_promise = __webpack_require__("e6cf");
9177
-
9178
8412
  // CONCATENATED MODULE: ./packages/tools/src/dom.js
9179
8413
 
9180
8414
 
@@ -9185,7 +8419,6 @@ var es_promise = __webpack_require__("e6cf");
9185
8419
 
9186
8420
 
9187
8421
 
9188
-
9189
8422
  var dom_getRowid = utils.getRowid;
9190
8423
  var browse = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.browse();
9191
8424
  var reClsMap = {};
@@ -9772,7 +9005,6 @@ var es_number_to_fixed = __webpack_require__("b680");
9772
9005
 
9773
9006
 
9774
9007
 
9775
-
9776
9008
  var defaultCompProps = {
9777
9009
  transfer: true
9778
9010
  };
@@ -10562,13 +9794,11 @@ var renderer = {
10562
9794
  };
10563
9795
  // CONCATENATED MODULE: ./packages/v-x-e-table/src/commands.js
10564
9796
 
10565
-
10566
9797
  var commands = new store();
10567
9798
 
10568
9799
  if (false) {}
10569
9800
  // CONCATENATED MODULE: ./packages/v-x-e-table/src/menus.js
10570
9801
 
10571
-
10572
9802
  var menus = new store();
10573
9803
 
10574
9804
  if (false) {}
@@ -11899,7 +11129,6 @@ var es_array_sort = __webpack_require__("4e82");
11899
11129
 
11900
11130
 
11901
11131
 
11902
-
11903
11132
  function renderHelpIcon(h, params) {
11904
11133
  var $table = params.$table,
11905
11134
  column = params.column;
@@ -12252,18 +11481,22 @@ var Cell = {
12252
11481
  selectRow = $table.selectRow;
12253
11482
  var slots = column.slots;
12254
11483
  var labelField = radioOpts.labelField,
12255
- checkMethod = radioOpts.checkMethod;
11484
+ checkMethod = radioOpts.checkMethod,
11485
+ visibleMethod = radioOpts.visibleMethod;
12256
11486
  var row = params.row;
12257
11487
  var defaultSlot = slots ? slots.default : null;
12258
11488
  var radioSlot = slots ? slots.radio : null;
12259
11489
  var isChecked = row === selectRow;
11490
+ var isVisible = !visibleMethod || visibleMethod({
11491
+ row: row
11492
+ });
12260
11493
  var isDisabled = !!checkMethod;
12261
11494
  var on;
12262
11495
 
12263
11496
  if (!isHidden) {
12264
11497
  on = {
12265
11498
  click: function click(evnt) {
12266
- if (!isDisabled) {
11499
+ if (!isDisabled && isVisible) {
12267
11500
  $table.triggerRadioRowEvent(evnt, params);
12268
11501
  }
12269
11502
  }
@@ -12278,22 +11511,37 @@ var Cell = {
12278
11511
 
12279
11512
  var radioParams = _objectSpread2(_objectSpread2({}, params), {}, {
12280
11513
  checked: isChecked,
12281
- disabled: isDisabled
11514
+ disabled: isDisabled,
11515
+ visible: isVisible
12282
11516
  });
12283
11517
 
12284
- return radioSlot ? $table.callSlot(radioSlot, radioParams, h) : [h('span', {
11518
+ if (radioSlot) {
11519
+ return $table.callSlot(radioSlot, radioParams, h);
11520
+ }
11521
+
11522
+ var radioVNs = [];
11523
+
11524
+ if (isVisible) {
11525
+ radioVNs.push(h('span', {
11526
+ class: 'vxe-radio--icon vxe-radio--checked-icon'
11527
+ }), h('span', {
11528
+ class: 'vxe-radio--icon vxe-radio--unchecked-icon'
11529
+ }));
11530
+ }
11531
+
11532
+ if (defaultSlot || labelField) {
11533
+ radioVNs.push(h('span', {
11534
+ class: 'vxe-radio--label'
11535
+ }, defaultSlot ? $table.callSlot(defaultSlot, radioParams, h) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, labelField)));
11536
+ }
11537
+
11538
+ return [h('span', {
12285
11539
  class: ['vxe-cell--radio', {
12286
11540
  'is--checked': isChecked,
12287
11541
  'is--disabled': isDisabled
12288
11542
  }],
12289
11543
  on: on
12290
- }, [h('span', {
12291
- class: 'vxe-radio--icon vxe-radio--checked-icon'
12292
- }), h('span', {
12293
- class: 'vxe-radio--icon vxe-radio--unchecked-icon'
12294
- })].concat(defaultSlot || labelField ? [h('span', {
12295
- class: 'vxe-radio--label'
12296
- }, defaultSlot ? $table.callSlot(defaultSlot, radioParams, h) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, labelField))] : []))];
11544
+ }, radioVNs)];
12297
11545
  },
12298
11546
  renderTreeRadioCell: function renderTreeRadioCell(h, params) {
12299
11547
  return Cell.renderTreeIcon(h, params, Cell.renderRadioCell(h, params));
@@ -12372,12 +11620,16 @@ var Cell = {
12372
11620
  treeIndeterminates = $table.treeIndeterminates;
12373
11621
  var _$table$checkboxOpts = $table.checkboxOpts,
12374
11622
  labelField = _$table$checkboxOpts.labelField,
12375
- checkMethod = _$table$checkboxOpts.checkMethod;
11623
+ checkMethod = _$table$checkboxOpts.checkMethod,
11624
+ visibleMethod = _$table$checkboxOpts.visibleMethod;
12376
11625
  var slots = column.slots;
12377
11626
  var defaultSlot = slots ? slots.default : null;
12378
11627
  var checkboxSlot = slots ? slots.checkbox : null;
12379
11628
  var indeterminate = false;
12380
11629
  var isChecked = false;
11630
+ var isVisible = !visibleMethod || visibleMethod({
11631
+ row: row
11632
+ });
12381
11633
  var isDisabled = !!checkMethod;
12382
11634
  var on;
12383
11635
 
@@ -12385,7 +11637,7 @@ var Cell = {
12385
11637
  isChecked = $table.selection.indexOf(row) > -1;
12386
11638
  on = {
12387
11639
  click: function click(evnt) {
12388
- if (!isDisabled) {
11640
+ if (!isDisabled && isVisible) {
12389
11641
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
12390
11642
  }
12391
11643
  }
@@ -12405,25 +11657,40 @@ var Cell = {
12405
11657
  var checkboxParams = _objectSpread2(_objectSpread2({}, params), {}, {
12406
11658
  checked: isChecked,
12407
11659
  disabled: isDisabled,
11660
+ visible: isVisible,
12408
11661
  indeterminate: indeterminate
12409
11662
  });
12410
11663
 
12411
- return checkboxSlot ? $table.callSlot(checkboxSlot, checkboxParams, h) : [h('span', {
11664
+ if (checkboxSlot) {
11665
+ return $table.callSlot(checkboxSlot, checkboxParams, h);
11666
+ }
11667
+
11668
+ var checkVNs = [];
11669
+
11670
+ if (isVisible) {
11671
+ checkVNs.push(h('span', {
11672
+ class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
11673
+ }), h('span', {
11674
+ class: 'vxe-checkbox--icon vxe-checkbox--unchecked-icon'
11675
+ }), h('span', {
11676
+ class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
11677
+ }));
11678
+ }
11679
+
11680
+ if (defaultSlot || labelField) {
11681
+ checkVNs.push(h('span', {
11682
+ class: 'vxe-checkbox--label'
11683
+ }, defaultSlot ? $table.callSlot(defaultSlot, checkboxParams, h) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, labelField)));
11684
+ }
11685
+
11686
+ return [h('span', {
12412
11687
  class: ['vxe-cell--checkbox', {
12413
11688
  'is--checked': isChecked,
12414
11689
  'is--disabled': isDisabled,
12415
11690
  'is--indeterminate': indeterminate
12416
11691
  }],
12417
11692
  on: on
12418
- }, [h('span', {
12419
- class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
12420
- }), h('span', {
12421
- class: 'vxe-checkbox--icon vxe-checkbox--unchecked-icon'
12422
- }), h('span', {
12423
- class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
12424
- })].concat(defaultSlot || labelField ? [h('span', {
12425
- class: 'vxe-checkbox--label'
12426
- }, defaultSlot ? $table.callSlot(defaultSlot, checkboxParams, h) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, labelField))] : []))];
11693
+ }, checkVNs)];
12427
11694
  },
12428
11695
  renderTreeSelectionCell: function renderTreeSelectionCell(h, params) {
12429
11696
  return Cell.renderTreeIcon(h, params, Cell.renderSelectionCell(h, params));
@@ -12439,12 +11706,16 @@ var Cell = {
12439
11706
  labelField = _$table$checkboxOpts2.labelField,
12440
11707
  property = _$table$checkboxOpts2.checkField,
12441
11708
  halfField = _$table$checkboxOpts2.halfField,
12442
- checkMethod = _$table$checkboxOpts2.checkMethod;
11709
+ checkMethod = _$table$checkboxOpts2.checkMethod,
11710
+ visibleMethod = _$table$checkboxOpts2.visibleMethod;
12443
11711
  var slots = column.slots;
12444
11712
  var defaultSlot = slots ? slots.default : null;
12445
11713
  var checkboxSlot = slots ? slots.checkbox : null;
12446
11714
  var indeterminate = false;
12447
11715
  var isChecked = false;
11716
+ var isVisible = !visibleMethod || visibleMethod({
11717
+ row: row
11718
+ });
12448
11719
  var isDisabled = !!checkMethod;
12449
11720
  var on;
12450
11721
 
@@ -12452,7 +11723,7 @@ var Cell = {
12452
11723
  isChecked = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, property);
12453
11724
  on = {
12454
11725
  click: function click(evnt) {
12455
- if (!isDisabled) {
11726
+ if (!isDisabled && isVisible) {
12456
11727
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
12457
11728
  }
12458
11729
  }
@@ -12472,25 +11743,40 @@ var Cell = {
12472
11743
  var checkboxParams = _objectSpread2(_objectSpread2({}, params), {}, {
12473
11744
  checked: isChecked,
12474
11745
  disabled: isDisabled,
11746
+ visible: isVisible,
12475
11747
  indeterminate: indeterminate
12476
11748
  });
12477
11749
 
12478
- return checkboxSlot ? $table.callSlot(checkboxSlot, checkboxParams, h) : [h('span', {
11750
+ if (checkboxSlot) {
11751
+ return $table.callSlot(checkboxSlot, checkboxParams, h);
11752
+ }
11753
+
11754
+ var checkVNs = [];
11755
+
11756
+ if (isVisible) {
11757
+ checkVNs.push(h('span', {
11758
+ class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
11759
+ }), h('span', {
11760
+ class: 'vxe-checkbox--icon vxe-checkbox--unchecked-icon'
11761
+ }), h('span', {
11762
+ class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
11763
+ }));
11764
+ }
11765
+
11766
+ if (defaultSlot || labelField) {
11767
+ checkVNs.push(h('span', {
11768
+ class: 'vxe-checkbox--label'
11769
+ }, defaultSlot ? $table.callSlot(defaultSlot, checkboxParams, h) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, labelField)));
11770
+ }
11771
+
11772
+ return [h('span', {
12479
11773
  class: ['vxe-cell--checkbox', {
12480
11774
  'is--checked': isChecked,
12481
11775
  'is--disabled': isDisabled,
12482
11776
  'is--indeterminate': halfField && !isChecked ? row[halfField] : indeterminate
12483
11777
  }],
12484
11778
  on: on
12485
- }, [h('span', {
12486
- class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
12487
- }), h('span', {
12488
- class: 'vxe-checkbox--icon vxe-checkbox--unchecked-icon'
12489
- }), h('span', {
12490
- class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
12491
- })].concat(defaultSlot || labelField ? [h('span', {
12492
- class: 'vxe-checkbox--label'
12493
- }, defaultSlot ? $table.callSlot(defaultSlot, checkboxParams, h) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, labelField))] : []))];
11779
+ }, checkVNs)];
12494
11780
  },
12495
11781
  renderTreeSelectionCellByProp: function renderTreeSelectionCellByProp(h, params) {
12496
11782
  return Cell.renderTreeIcon(h, params, Cell.renderSelectionCellByProp(h, params));
@@ -13218,8 +12504,8 @@ var Methods = {
13218
12504
  if (false) {}
13219
12505
 
13220
12506
  treeData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toArrayTree(fullData, {
13221
- key: treeOpts.rowtKey,
13222
- parentKey: treeOpts.parentKey,
12507
+ key: treeOpts.rowField,
12508
+ parentKey: treeOpts.parentField,
13223
12509
  children: treeOpts.children
13224
12510
  });
13225
12511
  fullData = treeData.slice(0);
@@ -20029,7 +19315,6 @@ function handleUupdateResize(_vm) {
20029
19315
 
20030
19316
 
20031
19317
 
20032
-
20033
19318
  var Table = Object.assign(table, {
20034
19319
  install: function install(Vue) {
20035
19320
  if (typeof window !== 'undefined' && window.VXETableMixin) {
@@ -20066,7 +19351,6 @@ var Table = Object.assign(table, {
20066
19351
 
20067
19352
 
20068
19353
 
20069
-
20070
19354
  /* harmony default export */ var panel = ({
20071
19355
  name: 'VxeTableFilter',
20072
19356
  props: {
@@ -20278,7 +19562,6 @@ var Table = Object.assign(table, {
20278
19562
 
20279
19563
 
20280
19564
 
20281
-
20282
19565
  /* harmony default export */ var src_mixin = ({
20283
19566
  methods: {
20284
19567
  /**
@@ -20701,7 +19984,6 @@ var Filter = {
20701
19984
 
20702
19985
 
20703
19986
 
20704
-
20705
19987
  /* harmony default export */ var menu_src_mixin = ({
20706
19988
  methods: {
20707
19989
  /**
@@ -21859,7 +21141,6 @@ function _arrayWithHoles(arr) {
21859
21141
 
21860
21142
 
21861
21143
 
21862
-
21863
21144
  function _iterableToArrayLimit(arr, i) {
21864
21145
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
21865
21146
 
@@ -21916,8 +21197,6 @@ function _slicedToArray(arr, i) {
21916
21197
 
21917
21198
 
21918
21199
 
21919
-
21920
-
21921
21200
  var allActivedModals = [];
21922
21201
  var msgQueue = [];
21923
21202
  /* harmony default export */ var modal = ({
@@ -23118,7 +22397,6 @@ var es_string_pad_start = __webpack_require__("4d90");
23118
22397
 
23119
22398
 
23120
22399
 
23121
-
23122
22400
  var yearSize = 20;
23123
22401
  var monthSize = 20;
23124
22402
  var quarterSize = 8;
@@ -26543,7 +25821,6 @@ function select_renderOpts(h, _vm) {
26543
25821
 
26544
25822
 
26545
25823
 
26546
-
26547
25824
  var util_OptionConfig = /*#__PURE__*/function () {
26548
25825
  function OptionConfig($xeselect, _vm) {
26549
25826
  _classCallCheck(this, OptionConfig);
@@ -26668,7 +25945,6 @@ Object.keys(option_props).forEach(function (name) {
26668
25945
 
26669
25946
 
26670
25947
 
26671
-
26672
25948
  /* harmony default export */ var export_panel = ({
26673
25949
  name: 'VxeExportPanel',
26674
25950
  props: {
@@ -27208,7 +26484,6 @@ Object.keys(option_props).forEach(function (name) {
27208
26484
 
27209
26485
 
27210
26486
 
27211
-
27212
26487
  /* harmony default export */ var import_panel = ({
27213
26488
  name: 'VxeImportPanel',
27214
26489
  props: {
@@ -29264,7 +28539,6 @@ var convertToRows = function convertToRows(originColumns) {
29264
28539
 
29265
28540
 
29266
28541
 
29267
-
29268
28542
  function print(options) {
29269
28543
  var opts = Object.assign({}, options, {
29270
28544
  type: 'html'
@@ -29303,7 +28577,6 @@ var Export = {
29303
28577
 
29304
28578
 
29305
28579
 
29306
-
29307
28580
  function getTargetOffset(target, container) {
29308
28581
  var offsetTop = 0;
29309
28582
  var offsetLeft = 0;
@@ -30689,7 +29962,6 @@ var cellType = 'header';
30689
29962
  // CONCATENATED MODULE: ./packages/header/index.js
30690
29963
 
30691
29964
 
30692
-
30693
29965
  var Header = Object.assign(header, {
30694
29966
  install: function install(Vue) {
30695
29967
  Vue.component(header.name, header);
@@ -30703,7 +29975,6 @@ var Header = Object.assign(header, {
30703
29975
 
30704
29976
 
30705
29977
 
30706
-
30707
29978
  var footer_cellType = 'footer';
30708
29979
 
30709
29980
  function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
@@ -31052,7 +30323,6 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
31052
30323
  // CONCATENATED MODULE: ./packages/footer/index.js
31053
30324
 
31054
30325
 
31055
-
31056
30326
  var Footer = Object.assign(footer, {
31057
30327
  install: function install(Vue) {
31058
30328
  Vue.component(footer.name, footer);
@@ -31210,7 +30480,6 @@ Object.keys(column_props).forEach(function (name) {
31210
30480
  // CONCATENATED MODULE: ./packages/column/index.js
31211
30481
 
31212
30482
 
31213
-
31214
30483
  var Column = Object.assign(src_column, {
31215
30484
  install: function install(Vue) {
31216
30485
  Vue.component(src_column.name, src_column); // 兼容旧用法
@@ -31234,7 +30503,6 @@ var Column = Object.assign(src_column, {
31234
30503
  // CONCATENATED MODULE: ./packages/colgroup/index.js
31235
30504
 
31236
30505
 
31237
-
31238
30506
  var Colgroup = Object.assign(src_group, {
31239
30507
  install: function install(Vue) {
31240
30508
  Vue.component(src_group.name, src_group); // 兼容旧用法
@@ -32457,7 +31725,6 @@ Object.keys(packages_table.methods).forEach(function (name) {
32457
31725
 
32458
31726
 
32459
31727
 
32460
-
32461
31728
  var Grid = Object.assign(grid, {
32462
31729
  install: function install(Vue) {
32463
31730
  v_x_e_table.Grid = grid;
@@ -32479,8 +31746,6 @@ var Grid = Object.assign(grid, {
32479
31746
 
32480
31747
 
32481
31748
 
32482
-
32483
-
32484
31749
  var renderDropdowns = function renderDropdowns(h, _vm, item, isBtn) {
32485
31750
  var _e = _vm._e;
32486
31751
  var dropdowns = item.dropdowns;
@@ -33252,7 +32517,6 @@ function renderCustoms(h, _vm) {
33252
32517
  // CONCATENATED MODULE: ./packages/toolbar/index.js
33253
32518
 
33254
32519
 
33255
-
33256
32520
  var Toolbar = Object.assign(src_toolbar, {
33257
32521
  install: function install(Vue) {
33258
32522
  Vue.component(src_toolbar.name, src_toolbar);
@@ -33742,7 +33006,6 @@ var Toolbar = Object.assign(src_toolbar, {
33742
33006
  // CONCATENATED MODULE: ./packages/pager/index.js
33743
33007
 
33744
33008
 
33745
-
33746
33009
  var Pager = Object.assign(pager, {
33747
33010
  install: function install(Vue) {
33748
33011
  Vue.component(pager.name, pager);
@@ -33752,7 +33015,6 @@ var Pager = Object.assign(pager, {
33752
33015
  // CONCATENATED MODULE: ./packages/checkbox/index.js
33753
33016
 
33754
33017
 
33755
-
33756
33018
  var Checkbox = Object.assign(src_checkbox, {
33757
33019
  install: function install(Vue) {
33758
33020
  Vue.component(src_checkbox.name, src_checkbox);
@@ -33762,7 +33024,6 @@ var Checkbox = Object.assign(src_checkbox, {
33762
33024
  // CONCATENATED MODULE: ./packages/checkbox/src/group.js
33763
33025
 
33764
33026
 
33765
-
33766
33027
  /* harmony default export */ var checkbox_src_group = ({
33767
33028
  name: 'VxeCheckboxGroup',
33768
33029
  props: {
@@ -33816,7 +33077,6 @@ var Checkbox = Object.assign(src_checkbox, {
33816
33077
  // CONCATENATED MODULE: ./packages/checkbox-group/index.js
33817
33078
 
33818
33079
 
33819
-
33820
33080
  var CheckboxGroup = Object.assign(checkbox_src_group, {
33821
33081
  install: function install(Vue) {
33822
33082
  Vue.component(checkbox_src_group.name, checkbox_src_group);
@@ -33826,7 +33086,6 @@ var CheckboxGroup = Object.assign(checkbox_src_group, {
33826
33086
  // CONCATENATED MODULE: ./packages/radio/index.js
33827
33087
 
33828
33088
 
33829
-
33830
33089
  var Radio = Object.assign(src_radio, {
33831
33090
  install: function install(Vue) {
33832
33091
  Vue.component(src_radio.name, src_radio);
@@ -33880,7 +33139,6 @@ var Radio = Object.assign(src_radio, {
33880
33139
  // CONCATENATED MODULE: ./packages/radio-group/index.js
33881
33140
 
33882
33141
 
33883
-
33884
33142
  var RadioGroup = Object.assign(radio_src_group, {
33885
33143
  install: function install(Vue) {
33886
33144
  Vue.component(radio_src_group.name, radio_src_group);
@@ -33984,7 +33242,6 @@ var RadioGroup = Object.assign(radio_src_group, {
33984
33242
  // CONCATENATED MODULE: ./packages/radio-button/index.js
33985
33243
 
33986
33244
 
33987
-
33988
33245
  var RadioButton = Object.assign(src_button, {
33989
33246
  install: function install(Vue) {
33990
33247
  Vue.component(src_button.name, src_button);
@@ -33994,7 +33251,6 @@ var RadioButton = Object.assign(src_button, {
33994
33251
  // CONCATENATED MODULE: ./packages/input/index.js
33995
33252
 
33996
33253
 
33997
-
33998
33254
  var Input = Object.assign(input, {
33999
33255
  install: function install(Vue) {
34000
33256
  Vue.component(input.name, input);
@@ -34013,7 +33269,6 @@ var Input = Object.assign(input, {
34013
33269
 
34014
33270
 
34015
33271
 
34016
-
34017
33272
  var autoTxtElem;
34018
33273
  /* harmony default export */ var src_textarea = ({
34019
33274
  name: 'VxeTextarea',
@@ -34282,7 +33537,6 @@ var autoTxtElem;
34282
33537
  // CONCATENATED MODULE: ./packages/textarea/index.js
34283
33538
 
34284
33539
 
34285
-
34286
33540
  var Textarea = Object.assign(src_textarea, {
34287
33541
  install: function install(Vue) {
34288
33542
  Vue.component(src_textarea.name, src_textarea);
@@ -34298,7 +33552,6 @@ var Textarea = Object.assign(src_textarea, {
34298
33552
 
34299
33553
 
34300
33554
 
34301
-
34302
33555
  /* harmony default export */ var button_src_button = ({
34303
33556
  name: 'VxeButton',
34304
33557
  mixins: [size],
@@ -34685,7 +33938,6 @@ var Textarea = Object.assign(src_textarea, {
34685
33938
  // CONCATENATED MODULE: ./packages/button/index.js
34686
33939
 
34687
33940
 
34688
-
34689
33941
  var Button = Object.assign(button_src_button, {
34690
33942
  install: function install(Vue) {
34691
33943
  Vue.component(button_src_button.name, button_src_button);
@@ -34700,8 +33952,6 @@ var Button = Object.assign(button_src_button, {
34700
33952
 
34701
33953
 
34702
33954
 
34703
-
34704
-
34705
33955
  /* eslint-disable @typescript-eslint/no-use-before-define */
34706
33956
 
34707
33957
  var ModalClass = null;
@@ -34837,7 +34087,6 @@ var Modal = Object.assign(modal, {
34837
34087
 
34838
34088
 
34839
34089
 
34840
-
34841
34090
  function updateTipStyle(_vm) {
34842
34091
  var wrapperElem = _vm.$el,
34843
34092
  tipTarget = _vm.tipTarget,
@@ -35158,7 +34407,6 @@ function updateTipStyle(_vm) {
35158
34407
 
35159
34408
 
35160
34409
 
35161
-
35162
34410
  var Tooltip = Object.assign(src_tooltip, {
35163
34411
  install: function install(Vue) {
35164
34412
  v_x_e_table._tooltip = 1;
@@ -35175,7 +34423,6 @@ var Tooltip = Object.assign(src_tooltip, {
35175
34423
 
35176
34424
 
35177
34425
 
35178
-
35179
34426
  var util_ItemConfig = /*#__PURE__*/function () {
35180
34427
  function ItemConfig($xeform, item) {
35181
34428
  _classCallCheck(this, ItemConfig);
@@ -36185,7 +35432,6 @@ function renderItems(h, _vm, itemList) {
36185
35432
  // CONCATENATED MODULE: ./packages/form/index.js
36186
35433
 
36187
35434
 
36188
-
36189
35435
  var Form = Object.assign(src_form, {
36190
35436
  install: function install(Vue) {
36191
35437
  Vue.component(src_form.name, src_form);
@@ -36375,7 +35621,6 @@ var form_item_renderItem = function renderItem(h, _vm, item, slots) {
36375
35621
  // CONCATENATED MODULE: ./packages/form-item/index.js
36376
35622
 
36377
35623
 
36378
-
36379
35624
  var FormItem = Object.assign(form_item, {
36380
35625
  install: function install(Vue) {
36381
35626
  Vue.component(form_item.name, form_item);
@@ -36405,7 +35650,6 @@ var FormItem = Object.assign(form_item, {
36405
35650
  // CONCATENATED MODULE: ./packages/form-gather/index.js
36406
35651
 
36407
35652
 
36408
-
36409
35653
  var FormGather = Object.assign(form_gather, {
36410
35654
  install: function install(Vue) {
36411
35655
  Vue.component(form_gather.name, form_gather);
@@ -36472,7 +35716,6 @@ Object.keys(optgroup_props).forEach(function (name) {
36472
35716
 
36473
35717
 
36474
35718
 
36475
-
36476
35719
  var Select = Object.assign(src_select, {
36477
35720
  Option: src_option,
36478
35721
  Optgroup: optgroup,
@@ -36486,7 +35729,6 @@ var Select = Object.assign(src_select, {
36486
35729
  // CONCATENATED MODULE: ./packages/optgroup/index.js
36487
35730
 
36488
35731
 
36489
-
36490
35732
  var Optgroup = Object.assign(optgroup, {
36491
35733
  install: function install(Vue) {
36492
35734
  Vue.component(optgroup.name, optgroup);
@@ -36496,7 +35738,6 @@ var Optgroup = Object.assign(optgroup, {
36496
35738
  // CONCATENATED MODULE: ./packages/option/index.js
36497
35739
 
36498
35740
 
36499
-
36500
35741
  var Option = Object.assign(src_option, {
36501
35742
  install: function install(Vue) {
36502
35743
  Vue.component(src_option.name, src_option);
@@ -36651,7 +35892,6 @@ var Option = Object.assign(src_option, {
36651
35892
  // CONCATENATED MODULE: ./packages/switch/index.js
36652
35893
 
36653
35894
 
36654
-
36655
35895
  var Switch = Object.assign(src_switch, {
36656
35896
  install: function install(Vue) {
36657
35897
  Vue.component(src_switch.name, src_switch);
@@ -36667,8 +35907,6 @@ var Switch = Object.assign(src_switch, {
36667
35907
 
36668
35908
 
36669
35909
 
36670
-
36671
-
36672
35910
  /* harmony default export */ var src_list = ({
36673
35911
  name: 'VxeList',
36674
35912
  mixins: [size],
@@ -37035,7 +36273,6 @@ var Switch = Object.assign(src_switch, {
37035
36273
  // CONCATENATED MODULE: ./packages/list/index.js
37036
36274
 
37037
36275
 
37038
-
37039
36276
  var List = Object.assign(src_list, {
37040
36277
  install: function install(Vue) {
37041
36278
  Vue.component(src_list.name, src_list);
@@ -37048,8 +36285,6 @@ var List = Object.assign(src_list, {
37048
36285
 
37049
36286
 
37050
36287
 
37051
-
37052
-
37053
36288
  /* harmony default export */ var pulldown = ({
37054
36289
  name: 'VxePulldown',
37055
36290
  mixins: [size],
@@ -37350,7 +36585,6 @@ var List = Object.assign(src_list, {
37350
36585
  // CONCATENATED MODULE: ./packages/pulldown/index.js
37351
36586
 
37352
36587
 
37353
-
37354
36588
  var Pulldown = Object.assign(pulldown, {
37355
36589
  install: function install(Vue) {
37356
36590
  Vue.component(pulldown.name, pulldown);
@@ -37919,16 +37153,6 @@ module.exports = NATIVE_SYMBOL
37919
37153
  && typeof Symbol.iterator == 'symbol';
37920
37154
 
37921
37155
 
37922
- /***/ }),
37923
-
37924
- /***/ "fea9":
37925
- /***/ (function(module, exports, __webpack_require__) {
37926
-
37927
- var global = __webpack_require__("da84");
37928
-
37929
- module.exports = global.Promise;
37930
-
37931
-
37932
37156
  /***/ })
37933
37157
 
37934
37158
  /******/ });