vxe-table 3.4.4 → 3.4.5

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,6 +783,16 @@ 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
+
786
796
  /***/ }),
787
797
 
788
798
  /***/ "1d80":
@@ -2115,6 +2125,126 @@ $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
2115
2125
  });
2116
2126
 
2117
2127
 
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
+
2118
2248
  /***/ }),
2119
2249
 
2120
2250
  /***/ "2d00":
@@ -2341,6 +2471,21 @@ module.exports = function (key) {
2341
2471
  };
2342
2472
 
2343
2473
 
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
+
2344
2489
  /***/ }),
2345
2490
 
2346
2491
  /***/ "44e7":
@@ -3484,6 +3629,25 @@ module.exports = function (input) {
3484
3629
  };
3485
3630
 
3486
3631
 
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
+
3487
3651
  /***/ }),
3488
3652
 
3489
3653
  /***/ "60da":
@@ -5490,6 +5654,16 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
5490
5654
  });
5491
5655
 
5492
5656
 
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
+
5493
5667
  /***/ }),
5494
5668
 
5495
5669
  /***/ "a4d3":
@@ -6173,6 +6347,96 @@ if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
6173
6347
  }
6174
6348
 
6175
6349
 
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
+
6176
6440
  /***/ }),
6177
6441
 
6178
6442
  /***/ "b622":
@@ -6643,6 +6907,41 @@ module.exports = function (it) {
6643
6907
  };
6644
6908
 
6645
6909
 
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
+
6646
6945
  /***/ }),
6647
6946
 
6648
6947
  /***/ "ce4e":
@@ -6800,6 +7099,17 @@ module.exports = function (it, TAG, STATIC) {
6800
7099
  };
6801
7100
 
6802
7101
 
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
+
6803
7113
  /***/ }),
6804
7114
 
6805
7115
  /***/ "d784":
@@ -7267,6 +7577,422 @@ var wellKnownSymbol = __webpack_require__("b622");
7267
7577
  exports.f = wellKnownSymbol;
7268
7578
 
7269
7579
 
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
+
7270
7996
  /***/ }),
7271
7997
 
7272
7998
  /***/ "e893":
@@ -7320,6 +8046,33 @@ module.exports = function (it) {
7320
8046
  };
7321
8047
 
7322
8048
 
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
+
7323
8076
  /***/ }),
7324
8077
 
7325
8078
  /***/ "f0af":
@@ -7661,6 +8414,7 @@ var iconPrefix = 'vxe-icon--';
7661
8414
  showHeader: true,
7662
8415
  animat: true,
7663
8416
  delayHover: 250,
8417
+ autoResize: true,
7664
8418
  // keepSource: false,
7665
8419
  // showOverflow: null,
7666
8420
  // showHeaderOverflow: null,
@@ -7668,7 +8422,6 @@ var iconPrefix = 'vxe-icon--';
7668
8422
  // resizeInterval: 500,
7669
8423
  // size: null,
7670
8424
  // zIndex: null,
7671
- // autoResize: false,
7672
8425
  // stripe: false,
7673
8426
  // border: false,
7674
8427
  // round: false,
@@ -11116,12 +11869,21 @@ function _objectSpread2(target) {
11116
11869
 
11117
11870
  return target;
11118
11871
  }
11872
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
11873
+ var es_promise = __webpack_require__("e6cf");
11874
+
11875
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
11876
+ var es_object_assign = __webpack_require__("cca6");
11877
+
11119
11878
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
11120
11879
  var es_string_trim = __webpack_require__("498a");
11121
11880
 
11122
11881
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
11123
11882
  var es_array_sort = __webpack_require__("4e82");
11124
11883
 
11884
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
11885
+ var es_array_iterator = __webpack_require__("e260");
11886
+
11125
11887
  // CONCATENATED MODULE: ./packages/table/src/cell.js
11126
11888
 
11127
11889
 
@@ -12073,6 +12835,9 @@ var Cell = {
12073
12835
 
12074
12836
 
12075
12837
 
12838
+
12839
+
12840
+
12076
12841
 
12077
12842
 
12078
12843
 
@@ -15923,6 +16688,18 @@ var Methods = {
15923
16688
  var reserveSelection = [];
15924
16689
 
15925
16690
  if (checkboxOpts.reserve) {
16691
+ var afterFullIdMaps = {};
16692
+
16693
+ if (treeConfig) {
16694
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eachTree(afterFullData, function (row) {
16695
+ afterFullIdMaps[methods_getRowid(_this30, row)] = 1;
16696
+ }, treeOpts);
16697
+ } else {
16698
+ afterFullData.forEach(function (row) {
16699
+ afterFullIdMaps[methods_getRowid(_this30, row)] = 1;
16700
+ });
16701
+ }
16702
+
15926
16703
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.each(checkboxReserveRowMap, function (oldRow, oldRowid) {
15927
16704
  if (oldRow) {
15928
16705
  if (isFull) {
@@ -15930,18 +16707,8 @@ var Methods = {
15930
16707
  reserveSelection.push(oldRow);
15931
16708
  }
15932
16709
  } else {
15933
- if (treeConfig) {
15934
- if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.findTree(afterFullData, function (row) {
15935
- return methods_getRowid(_this30, row) === oldRowid;
15936
- }, treeOpts)) {
15937
- reserveSelection.push(oldRow);
15938
- }
15939
- } else {
15940
- if (!afterFullData.some(function (row) {
15941
- return methods_getRowid(_this30, row) === oldRowid;
15942
- })) {
15943
- reserveSelection.push(oldRow);
15944
- }
16710
+ if (!afterFullIdMaps[oldRowid]) {
16711
+ reserveSelection.push(oldRow);
15945
16712
  }
15946
16713
  }
15947
16714
  }
@@ -29443,7 +30210,7 @@ function validErrorRuleValue(rule, val) {
29443
30210
  var ruleProps = Object.keys(validRest);
29444
30211
  return _this2.$nextTick().then(function () {
29445
30212
  if (ruleProps.length) {
29446
- return Promise.reject(validRest[ruleProps[0]][0]);
30213
+ return validRest[ruleProps[0]][0];
29447
30214
  }
29448
30215
 
29449
30216
  if (cb) {
@@ -29451,14 +30218,14 @@ function validErrorRuleValue(rule, val) {
29451
30218
  }
29452
30219
  });
29453
30220
  }).catch(function (firstErrParams) {
29454
- return new Promise(function (resolve, reject) {
30221
+ return new Promise(function (resolve) {
29455
30222
  var finish = function finish() {
29456
30223
  _this2.$nextTick(function () {
29457
30224
  if (cb) {
29458
30225
  cb(validRest);
29459
30226
  resolve();
29460
30227
  } else {
29461
- reject(validRest);
30228
+ resolve(validRest);
29462
30229
  }
29463
30230
  });
29464
30231
  };
@@ -37333,7 +38100,18 @@ module.exports = NATIVE_SYMBOL
37333
38100
  && typeof Symbol.iterator == 'symbol';
37334
38101
 
37335
38102
 
38103
+ /***/ }),
38104
+
38105
+ /***/ "fea9":
38106
+ /***/ (function(module, exports, __webpack_require__) {
38107
+
38108
+ var global = __webpack_require__("da84");
38109
+
38110
+ module.exports = global.Promise;
38111
+
38112
+
37336
38113
  /***/ })
37337
38114
 
37338
38115
  /******/ });
37339
- });
38116
+ });
38117
+ //# sourceMappingURL=index.umd.js.map