vxe-table 3.3.12 → 3.3.14-beta.1

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.
Files changed (46) hide show
  1. package/helper/vetur/attributes.json +8 -0
  2. package/helper/vetur/tags.json +2 -0
  3. package/lib/form/src/form-gather.js +13 -0
  4. package/lib/form/src/form-gather.min.js +1 -1
  5. package/lib/form/src/form-item.js +123 -1
  6. package/lib/form/src/form-item.min.js +1 -1
  7. package/lib/form/src/form.js +72 -102
  8. package/lib/form/src/form.min.js +1 -1
  9. package/lib/form/src/render.js +81 -0
  10. package/lib/form/src/render.min.js +1 -0
  11. package/lib/grid/src/grid.js +26 -9
  12. package/lib/grid/src/grid.min.js +1 -1
  13. package/lib/index.css +1 -1
  14. package/lib/index.umd.js +1173 -226
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/modal/src/modal.js +16 -4
  17. package/lib/modal/src/modal.min.js +1 -1
  18. package/lib/modal/style/style.css +2 -2
  19. package/lib/modal/style/style.min.css +1 -1
  20. package/lib/style.css +1 -1
  21. package/lib/style.min.css +1 -1
  22. package/lib/table/src/body.js +15 -1
  23. package/lib/table/src/body.min.js +1 -1
  24. package/lib/table/src/methods.js +45 -30
  25. package/lib/table/src/methods.min.js +1 -1
  26. package/lib/textarea/src/textarea.js +11 -3
  27. package/lib/textarea/src/textarea.min.js +1 -1
  28. package/lib/textarea/style/style.css +11 -12
  29. package/lib/textarea/style/style.min.css +1 -1
  30. package/lib/v-x-e-table/src/conf.js +1 -0
  31. package/lib/v-x-e-table/src/conf.min.js +1 -1
  32. package/package.json +5 -5
  33. package/packages/form/src/form-gather.js +10 -0
  34. package/packages/form/src/form-item.js +101 -1
  35. package/packages/form/src/form.js +49 -107
  36. package/packages/form/src/render.js +79 -0
  37. package/packages/grid/src/grid.js +16 -5
  38. package/packages/modal/src/modal.js +9 -4
  39. package/packages/table/src/body.js +12 -4
  40. package/packages/table/src/methods.js +19 -9
  41. package/packages/textarea/src/textarea.js +8 -3
  42. package/packages/v-x-e-table/src/conf.js +1 -0
  43. package/styles/modal.scss +3 -3
  44. package/styles/textarea.scss +11 -11
  45. package/styles/variable.scss +198 -198
  46. package/types/form.d.ts +5 -0
package/lib/index.umd.js CHANGED
@@ -504,33 +504,6 @@ fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCal
504
504
  }, !SUPPORTS_Y);
505
505
 
506
506
 
507
- /***/ }),
508
-
509
- /***/ "13d5":
510
- /***/ (function(module, exports, __webpack_require__) {
511
-
512
- "use strict";
513
-
514
- var $ = __webpack_require__("23e7");
515
- var $reduce = __webpack_require__("d58f").left;
516
- var arrayMethodIsStrict = __webpack_require__("a640");
517
- var CHROME_VERSION = __webpack_require__("2d00");
518
- var IS_NODE = __webpack_require__("605d");
519
-
520
- var STRICT_METHOD = arrayMethodIsStrict('reduce');
521
- // Chrome 80-82 has a critical bug
522
- // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
523
- var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
524
-
525
- // `Array.prototype.reduce` method
526
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
527
- $({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
528
- reduce: function reduce(callbackfn /* , initialValue */) {
529
- return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
530
- }
531
- });
532
-
533
-
534
507
  /***/ }),
535
508
 
536
509
  /***/ "14c3":
@@ -687,6 +660,16 @@ module.exports = function (exec, SKIP_CLOSING) {
687
660
  };
688
661
 
689
662
 
663
+ /***/ }),
664
+
665
+ /***/ "1cdc":
666
+ /***/ (function(module, exports, __webpack_require__) {
667
+
668
+ var userAgent = __webpack_require__("342f");
669
+
670
+ module.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);
671
+
672
+
690
673
  /***/ }),
691
674
 
692
675
  /***/ "1d80":
@@ -1998,6 +1981,120 @@ $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
1998
1981
  });
1999
1982
 
2000
1983
 
1984
+ /***/ }),
1985
+
1986
+ /***/ "2cf4":
1987
+ /***/ (function(module, exports, __webpack_require__) {
1988
+
1989
+ var global = __webpack_require__("da84");
1990
+ var fails = __webpack_require__("d039");
1991
+ var bind = __webpack_require__("0366");
1992
+ var html = __webpack_require__("1be4");
1993
+ var createElement = __webpack_require__("cc12");
1994
+ var IS_IOS = __webpack_require__("1cdc");
1995
+ var IS_NODE = __webpack_require__("605d");
1996
+
1997
+ var location = global.location;
1998
+ var set = global.setImmediate;
1999
+ var clear = global.clearImmediate;
2000
+ var process = global.process;
2001
+ var MessageChannel = global.MessageChannel;
2002
+ var Dispatch = global.Dispatch;
2003
+ var counter = 0;
2004
+ var queue = {};
2005
+ var ONREADYSTATECHANGE = 'onreadystatechange';
2006
+ var defer, channel, port;
2007
+
2008
+ var run = function (id) {
2009
+ // eslint-disable-next-line no-prototype-builtins -- safe
2010
+ if (queue.hasOwnProperty(id)) {
2011
+ var fn = queue[id];
2012
+ delete queue[id];
2013
+ fn();
2014
+ }
2015
+ };
2016
+
2017
+ var runner = function (id) {
2018
+ return function () {
2019
+ run(id);
2020
+ };
2021
+ };
2022
+
2023
+ var listener = function (event) {
2024
+ run(event.data);
2025
+ };
2026
+
2027
+ var post = function (id) {
2028
+ // old engines have not location.origin
2029
+ global.postMessage(id + '', location.protocol + '//' + location.host);
2030
+ };
2031
+
2032
+ // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
2033
+ if (!set || !clear) {
2034
+ set = function setImmediate(fn) {
2035
+ var args = [];
2036
+ var i = 1;
2037
+ while (arguments.length > i) args.push(arguments[i++]);
2038
+ queue[++counter] = function () {
2039
+ // eslint-disable-next-line no-new-func -- spec requirement
2040
+ (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);
2041
+ };
2042
+ defer(counter);
2043
+ return counter;
2044
+ };
2045
+ clear = function clearImmediate(id) {
2046
+ delete queue[id];
2047
+ };
2048
+ // Node.js 0.8-
2049
+ if (IS_NODE) {
2050
+ defer = function (id) {
2051
+ process.nextTick(runner(id));
2052
+ };
2053
+ // Sphere (JS game engine) Dispatch API
2054
+ } else if (Dispatch && Dispatch.now) {
2055
+ defer = function (id) {
2056
+ Dispatch.now(runner(id));
2057
+ };
2058
+ // Browsers with MessageChannel, includes WebWorkers
2059
+ // except iOS - https://github.com/zloirock/core-js/issues/624
2060
+ } else if (MessageChannel && !IS_IOS) {
2061
+ channel = new MessageChannel();
2062
+ port = channel.port2;
2063
+ channel.port1.onmessage = listener;
2064
+ defer = bind(port.postMessage, port, 1);
2065
+ // Browsers with postMessage, skip WebWorkers
2066
+ // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2067
+ } else if (
2068
+ global.addEventListener &&
2069
+ typeof postMessage == 'function' &&
2070
+ !global.importScripts &&
2071
+ location && location.protocol !== 'file:' &&
2072
+ !fails(post)
2073
+ ) {
2074
+ defer = post;
2075
+ global.addEventListener('message', listener, false);
2076
+ // IE8-
2077
+ } else if (ONREADYSTATECHANGE in createElement('script')) {
2078
+ defer = function (id) {
2079
+ html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
2080
+ html.removeChild(this);
2081
+ run(id);
2082
+ };
2083
+ };
2084
+ // Rest old browsers
2085
+ } else {
2086
+ defer = function (id) {
2087
+ setTimeout(runner(id), 0);
2088
+ };
2089
+ }
2090
+ }
2091
+
2092
+ module.exports = {
2093
+ set: set,
2094
+ clear: clear
2095
+ };
2096
+
2097
+
2001
2098
  /***/ }),
2002
2099
 
2003
2100
  /***/ "2d00":
@@ -2224,6 +2321,21 @@ module.exports = function (key) {
2224
2321
  };
2225
2322
 
2226
2323
 
2324
+ /***/ }),
2325
+
2326
+ /***/ "44de":
2327
+ /***/ (function(module, exports, __webpack_require__) {
2328
+
2329
+ var global = __webpack_require__("da84");
2330
+
2331
+ module.exports = function (a, b) {
2332
+ var console = global.console;
2333
+ if (console && console.error) {
2334
+ arguments.length === 1 ? console.error(a) : console.error(a, b);
2335
+ }
2336
+ };
2337
+
2338
+
2227
2339
  /***/ }),
2228
2340
 
2229
2341
  /***/ "44e7":
@@ -4876,6 +4988,16 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
4876
4988
  });
4877
4989
 
4878
4990
 
4991
+ /***/ }),
4992
+
4993
+ /***/ "a4b4":
4994
+ /***/ (function(module, exports, __webpack_require__) {
4995
+
4996
+ var userAgent = __webpack_require__("342f");
4997
+
4998
+ module.exports = /web0s(?!.*chrome)/i.test(userAgent);
4999
+
5000
+
4879
5001
  /***/ }),
4880
5002
 
4881
5003
  /***/ "a4d3":
@@ -5514,6 +5636,93 @@ if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
5514
5636
  }
5515
5637
 
5516
5638
 
5639
+ /***/ }),
5640
+
5641
+ /***/ "b575":
5642
+ /***/ (function(module, exports, __webpack_require__) {
5643
+
5644
+ var global = __webpack_require__("da84");
5645
+ var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
5646
+ var macrotask = __webpack_require__("2cf4").set;
5647
+ var IS_IOS = __webpack_require__("1cdc");
5648
+ var IS_WEBOS_WEBKIT = __webpack_require__("a4b4");
5649
+ var IS_NODE = __webpack_require__("605d");
5650
+
5651
+ var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
5652
+ var document = global.document;
5653
+ var process = global.process;
5654
+ var Promise = global.Promise;
5655
+ // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
5656
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
5657
+ var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
5658
+
5659
+ var flush, head, last, notify, toggle, node, promise, then;
5660
+
5661
+ // modern engines have queueMicrotask method
5662
+ if (!queueMicrotask) {
5663
+ flush = function () {
5664
+ var parent, fn;
5665
+ if (IS_NODE && (parent = process.domain)) parent.exit();
5666
+ while (head) {
5667
+ fn = head.fn;
5668
+ head = head.next;
5669
+ try {
5670
+ fn();
5671
+ } catch (error) {
5672
+ if (head) notify();
5673
+ else last = undefined;
5674
+ throw error;
5675
+ }
5676
+ } last = undefined;
5677
+ if (parent) parent.enter();
5678
+ };
5679
+
5680
+ // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
5681
+ // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
5682
+ if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
5683
+ toggle = true;
5684
+ node = document.createTextNode('');
5685
+ new MutationObserver(flush).observe(node, { characterData: true });
5686
+ notify = function () {
5687
+ node.data = toggle = !toggle;
5688
+ };
5689
+ // environments with maybe non-completely correct, but existent Promise
5690
+ } else if (Promise && Promise.resolve) {
5691
+ // Promise.resolve without an argument throws an error in LG WebOS 2
5692
+ promise = Promise.resolve(undefined);
5693
+ then = promise.then;
5694
+ notify = function () {
5695
+ then.call(promise, flush);
5696
+ };
5697
+ // Node.js without promises
5698
+ } else if (IS_NODE) {
5699
+ notify = function () {
5700
+ process.nextTick(flush);
5701
+ };
5702
+ // for other environments - macrotask based on:
5703
+ // - setImmediate
5704
+ // - MessageChannel
5705
+ // - window.postMessag
5706
+ // - onreadystatechange
5707
+ // - setTimeout
5708
+ } else {
5709
+ notify = function () {
5710
+ // strange IE + webpack dev server bug - use .call(global)
5711
+ macrotask.call(global, flush);
5712
+ };
5713
+ }
5714
+ }
5715
+
5716
+ module.exports = queueMicrotask || function (fn) {
5717
+ var task = { fn: fn, next: undefined };
5718
+ if (last) last.next = task;
5719
+ if (!head) {
5720
+ head = task;
5721
+ notify();
5722
+ } last = task;
5723
+ };
5724
+
5725
+
5517
5726
  /***/ }),
5518
5727
 
5519
5728
  /***/ "b622":
@@ -5971,6 +6180,40 @@ module.exports = function (it) {
5971
6180
  };
5972
6181
 
5973
6182
 
6183
+ /***/ }),
6184
+
6185
+ /***/ "cca6":
6186
+ /***/ (function(module, exports, __webpack_require__) {
6187
+
6188
+ var $ = __webpack_require__("23e7");
6189
+ var assign = __webpack_require__("60da");
6190
+
6191
+ // `Object.assign` method
6192
+ // https://tc39.es/ecma262/#sec-object.assign
6193
+ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
6194
+ assign: assign
6195
+ });
6196
+
6197
+
6198
+ /***/ }),
6199
+
6200
+ /***/ "cdf9":
6201
+ /***/ (function(module, exports, __webpack_require__) {
6202
+
6203
+ var anObject = __webpack_require__("825a");
6204
+ var isObject = __webpack_require__("861d");
6205
+ var newPromiseCapability = __webpack_require__("f069");
6206
+
6207
+ module.exports = function (C, x) {
6208
+ anObject(C);
6209
+ if (isObject(x) && x.constructor === C) return x;
6210
+ var promiseCapability = newPromiseCapability.f(C);
6211
+ var resolve = promiseCapability.resolve;
6212
+ resolve(x);
6213
+ return promiseCapability.promise;
6214
+ };
6215
+
6216
+
5974
6217
  /***/ }),
5975
6218
 
5976
6219
  /***/ "ce4e":
@@ -6126,53 +6369,6 @@ module.exports = function (it, TAG, STATIC) {
6126
6369
  };
6127
6370
 
6128
6371
 
6129
- /***/ }),
6130
-
6131
- /***/ "d58f":
6132
- /***/ (function(module, exports, __webpack_require__) {
6133
-
6134
- var aFunction = __webpack_require__("1c0b");
6135
- var toObject = __webpack_require__("7b0b");
6136
- var IndexedObject = __webpack_require__("44ad");
6137
- var toLength = __webpack_require__("50c4");
6138
-
6139
- // `Array.prototype.{ reduce, reduceRight }` methods implementation
6140
- var createMethod = function (IS_RIGHT) {
6141
- return function (that, callbackfn, argumentsLength, memo) {
6142
- aFunction(callbackfn);
6143
- var O = toObject(that);
6144
- var self = IndexedObject(O);
6145
- var length = toLength(O.length);
6146
- var index = IS_RIGHT ? length - 1 : 0;
6147
- var i = IS_RIGHT ? -1 : 1;
6148
- if (argumentsLength < 2) while (true) {
6149
- if (index in self) {
6150
- memo = self[index];
6151
- index += i;
6152
- break;
6153
- }
6154
- index += i;
6155
- if (IS_RIGHT ? index < 0 : length <= index) {
6156
- throw TypeError('Reduce of empty array with no initial value');
6157
- }
6158
- }
6159
- for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
6160
- memo = callbackfn(memo, self[index], index, O);
6161
- }
6162
- return memo;
6163
- };
6164
- };
6165
-
6166
- module.exports = {
6167
- // `Array.prototype.reduce` method
6168
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
6169
- left: createMethod(false),
6170
- // `Array.prototype.reduceRight` method
6171
- // https://tc39.es/ecma262/#sec-array.prototype.reduceright
6172
- right: createMethod(true)
6173
- };
6174
-
6175
-
6176
6372
  /***/ }),
6177
6373
 
6178
6374
  /***/ "d784":
@@ -6640,6 +6836,409 @@ var wellKnownSymbol = __webpack_require__("b622");
6640
6836
  exports.f = wellKnownSymbol;
6641
6837
 
6642
6838
 
6839
+ /***/ }),
6840
+
6841
+ /***/ "e667":
6842
+ /***/ (function(module, exports) {
6843
+
6844
+ module.exports = function (exec) {
6845
+ try {
6846
+ return { error: false, value: exec() };
6847
+ } catch (error) {
6848
+ return { error: true, value: error };
6849
+ }
6850
+ };
6851
+
6852
+
6853
+ /***/ }),
6854
+
6855
+ /***/ "e6cf":
6856
+ /***/ (function(module, exports, __webpack_require__) {
6857
+
6858
+ "use strict";
6859
+
6860
+ var $ = __webpack_require__("23e7");
6861
+ var IS_PURE = __webpack_require__("c430");
6862
+ var global = __webpack_require__("da84");
6863
+ var getBuiltIn = __webpack_require__("d066");
6864
+ var NativePromise = __webpack_require__("fea9");
6865
+ var redefine = __webpack_require__("6eeb");
6866
+ var redefineAll = __webpack_require__("e2cc");
6867
+ var setToStringTag = __webpack_require__("d44e");
6868
+ var setSpecies = __webpack_require__("2626");
6869
+ var isObject = __webpack_require__("861d");
6870
+ var aFunction = __webpack_require__("1c0b");
6871
+ var anInstance = __webpack_require__("19aa");
6872
+ var inspectSource = __webpack_require__("8925");
6873
+ var iterate = __webpack_require__("2266");
6874
+ var checkCorrectnessOfIteration = __webpack_require__("1c7e");
6875
+ var speciesConstructor = __webpack_require__("4840");
6876
+ var task = __webpack_require__("2cf4").set;
6877
+ var microtask = __webpack_require__("b575");
6878
+ var promiseResolve = __webpack_require__("cdf9");
6879
+ var hostReportErrors = __webpack_require__("44de");
6880
+ var newPromiseCapabilityModule = __webpack_require__("f069");
6881
+ var perform = __webpack_require__("e667");
6882
+ var InternalStateModule = __webpack_require__("69f3");
6883
+ var isForced = __webpack_require__("94ca");
6884
+ var wellKnownSymbol = __webpack_require__("b622");
6885
+ var IS_NODE = __webpack_require__("605d");
6886
+ var V8_VERSION = __webpack_require__("2d00");
6887
+
6888
+ var SPECIES = wellKnownSymbol('species');
6889
+ var PROMISE = 'Promise';
6890
+ var getInternalState = InternalStateModule.get;
6891
+ var setInternalState = InternalStateModule.set;
6892
+ var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
6893
+ var PromiseConstructor = NativePromise;
6894
+ var TypeError = global.TypeError;
6895
+ var document = global.document;
6896
+ var process = global.process;
6897
+ var $fetch = getBuiltIn('fetch');
6898
+ var newPromiseCapability = newPromiseCapabilityModule.f;
6899
+ var newGenericPromiseCapability = newPromiseCapability;
6900
+ var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
6901
+ var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';
6902
+ var UNHANDLED_REJECTION = 'unhandledrejection';
6903
+ var REJECTION_HANDLED = 'rejectionhandled';
6904
+ var PENDING = 0;
6905
+ var FULFILLED = 1;
6906
+ var REJECTED = 2;
6907
+ var HANDLED = 1;
6908
+ var UNHANDLED = 2;
6909
+ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
6910
+
6911
+ var FORCED = isForced(PROMISE, function () {
6912
+ var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);
6913
+ if (!GLOBAL_CORE_JS_PROMISE) {
6914
+ // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
6915
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
6916
+ // We can't detect it synchronously, so just check versions
6917
+ if (V8_VERSION === 66) return true;
6918
+ // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
6919
+ if (!IS_NODE && !NATIVE_REJECTION_EVENT) return true;
6920
+ }
6921
+ // We need Promise#finally in the pure version for preventing prototype pollution
6922
+ if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;
6923
+ // We can't use @@species feature detection in V8 since it causes
6924
+ // deoptimization and performance degradation
6925
+ // https://github.com/zloirock/core-js/issues/679
6926
+ if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;
6927
+ // Detect correctness of subclassing with @@species support
6928
+ var promise = PromiseConstructor.resolve(1);
6929
+ var FakePromise = function (exec) {
6930
+ exec(function () { /* empty */ }, function () { /* empty */ });
6931
+ };
6932
+ var constructor = promise.constructor = {};
6933
+ constructor[SPECIES] = FakePromise;
6934
+ return !(promise.then(function () { /* empty */ }) instanceof FakePromise);
6935
+ });
6936
+
6937
+ var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
6938
+ PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
6939
+ });
6940
+
6941
+ // helpers
6942
+ var isThenable = function (it) {
6943
+ var then;
6944
+ return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
6945
+ };
6946
+
6947
+ var notify = function (state, isReject) {
6948
+ if (state.notified) return;
6949
+ state.notified = true;
6950
+ var chain = state.reactions;
6951
+ microtask(function () {
6952
+ var value = state.value;
6953
+ var ok = state.state == FULFILLED;
6954
+ var index = 0;
6955
+ // variable length - can't use forEach
6956
+ while (chain.length > index) {
6957
+ var reaction = chain[index++];
6958
+ var handler = ok ? reaction.ok : reaction.fail;
6959
+ var resolve = reaction.resolve;
6960
+ var reject = reaction.reject;
6961
+ var domain = reaction.domain;
6962
+ var result, then, exited;
6963
+ try {
6964
+ if (handler) {
6965
+ if (!ok) {
6966
+ if (state.rejection === UNHANDLED) onHandleUnhandled(state);
6967
+ state.rejection = HANDLED;
6968
+ }
6969
+ if (handler === true) result = value;
6970
+ else {
6971
+ if (domain) domain.enter();
6972
+ result = handler(value); // can throw
6973
+ if (domain) {
6974
+ domain.exit();
6975
+ exited = true;
6976
+ }
6977
+ }
6978
+ if (result === reaction.promise) {
6979
+ reject(TypeError('Promise-chain cycle'));
6980
+ } else if (then = isThenable(result)) {
6981
+ then.call(result, resolve, reject);
6982
+ } else resolve(result);
6983
+ } else reject(value);
6984
+ } catch (error) {
6985
+ if (domain && !exited) domain.exit();
6986
+ reject(error);
6987
+ }
6988
+ }
6989
+ state.reactions = [];
6990
+ state.notified = false;
6991
+ if (isReject && !state.rejection) onUnhandled(state);
6992
+ });
6993
+ };
6994
+
6995
+ var dispatchEvent = function (name, promise, reason) {
6996
+ var event, handler;
6997
+ if (DISPATCH_EVENT) {
6998
+ event = document.createEvent('Event');
6999
+ event.promise = promise;
7000
+ event.reason = reason;
7001
+ event.initEvent(name, false, true);
7002
+ global.dispatchEvent(event);
7003
+ } else event = { promise: promise, reason: reason };
7004
+ if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
7005
+ else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
7006
+ };
7007
+
7008
+ var onUnhandled = function (state) {
7009
+ task.call(global, function () {
7010
+ var promise = state.facade;
7011
+ var value = state.value;
7012
+ var IS_UNHANDLED = isUnhandled(state);
7013
+ var result;
7014
+ if (IS_UNHANDLED) {
7015
+ result = perform(function () {
7016
+ if (IS_NODE) {
7017
+ process.emit('unhandledRejection', value, promise);
7018
+ } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
7019
+ });
7020
+ // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
7021
+ state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
7022
+ if (result.error) throw result.value;
7023
+ }
7024
+ });
7025
+ };
7026
+
7027
+ var isUnhandled = function (state) {
7028
+ return state.rejection !== HANDLED && !state.parent;
7029
+ };
7030
+
7031
+ var onHandleUnhandled = function (state) {
7032
+ task.call(global, function () {
7033
+ var promise = state.facade;
7034
+ if (IS_NODE) {
7035
+ process.emit('rejectionHandled', promise);
7036
+ } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
7037
+ });
7038
+ };
7039
+
7040
+ var bind = function (fn, state, unwrap) {
7041
+ return function (value) {
7042
+ fn(state, value, unwrap);
7043
+ };
7044
+ };
7045
+
7046
+ var internalReject = function (state, value, unwrap) {
7047
+ if (state.done) return;
7048
+ state.done = true;
7049
+ if (unwrap) state = unwrap;
7050
+ state.value = value;
7051
+ state.state = REJECTED;
7052
+ notify(state, true);
7053
+ };
7054
+
7055
+ var internalResolve = function (state, value, unwrap) {
7056
+ if (state.done) return;
7057
+ state.done = true;
7058
+ if (unwrap) state = unwrap;
7059
+ try {
7060
+ if (state.facade === value) throw TypeError("Promise can't be resolved itself");
7061
+ var then = isThenable(value);
7062
+ if (then) {
7063
+ microtask(function () {
7064
+ var wrapper = { done: false };
7065
+ try {
7066
+ then.call(value,
7067
+ bind(internalResolve, wrapper, state),
7068
+ bind(internalReject, wrapper, state)
7069
+ );
7070
+ } catch (error) {
7071
+ internalReject(wrapper, error, state);
7072
+ }
7073
+ });
7074
+ } else {
7075
+ state.value = value;
7076
+ state.state = FULFILLED;
7077
+ notify(state, false);
7078
+ }
7079
+ } catch (error) {
7080
+ internalReject({ done: false }, error, state);
7081
+ }
7082
+ };
7083
+
7084
+ // constructor polyfill
7085
+ if (FORCED) {
7086
+ // 25.4.3.1 Promise(executor)
7087
+ PromiseConstructor = function Promise(executor) {
7088
+ anInstance(this, PromiseConstructor, PROMISE);
7089
+ aFunction(executor);
7090
+ Internal.call(this);
7091
+ var state = getInternalState(this);
7092
+ try {
7093
+ executor(bind(internalResolve, state), bind(internalReject, state));
7094
+ } catch (error) {
7095
+ internalReject(state, error);
7096
+ }
7097
+ };
7098
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
7099
+ Internal = function Promise(executor) {
7100
+ setInternalState(this, {
7101
+ type: PROMISE,
7102
+ done: false,
7103
+ notified: false,
7104
+ parent: false,
7105
+ reactions: [],
7106
+ rejection: false,
7107
+ state: PENDING,
7108
+ value: undefined
7109
+ });
7110
+ };
7111
+ Internal.prototype = redefineAll(PromiseConstructor.prototype, {
7112
+ // `Promise.prototype.then` method
7113
+ // https://tc39.es/ecma262/#sec-promise.prototype.then
7114
+ then: function then(onFulfilled, onRejected) {
7115
+ var state = getInternalPromiseState(this);
7116
+ var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
7117
+ reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
7118
+ reaction.fail = typeof onRejected == 'function' && onRejected;
7119
+ reaction.domain = IS_NODE ? process.domain : undefined;
7120
+ state.parent = true;
7121
+ state.reactions.push(reaction);
7122
+ if (state.state != PENDING) notify(state, false);
7123
+ return reaction.promise;
7124
+ },
7125
+ // `Promise.prototype.catch` method
7126
+ // https://tc39.es/ecma262/#sec-promise.prototype.catch
7127
+ 'catch': function (onRejected) {
7128
+ return this.then(undefined, onRejected);
7129
+ }
7130
+ });
7131
+ OwnPromiseCapability = function () {
7132
+ var promise = new Internal();
7133
+ var state = getInternalState(promise);
7134
+ this.promise = promise;
7135
+ this.resolve = bind(internalResolve, state);
7136
+ this.reject = bind(internalReject, state);
7137
+ };
7138
+ newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
7139
+ return C === PromiseConstructor || C === PromiseWrapper
7140
+ ? new OwnPromiseCapability(C)
7141
+ : newGenericPromiseCapability(C);
7142
+ };
7143
+
7144
+ if (!IS_PURE && typeof NativePromise == 'function') {
7145
+ nativeThen = NativePromise.prototype.then;
7146
+
7147
+ // wrap native Promise#then for native async functions
7148
+ redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {
7149
+ var that = this;
7150
+ return new PromiseConstructor(function (resolve, reject) {
7151
+ nativeThen.call(that, resolve, reject);
7152
+ }).then(onFulfilled, onRejected);
7153
+ // https://github.com/zloirock/core-js/issues/640
7154
+ }, { unsafe: true });
7155
+
7156
+ // wrap fetch result
7157
+ if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {
7158
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
7159
+ fetch: function fetch(input /* , init */) {
7160
+ return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));
7161
+ }
7162
+ });
7163
+ }
7164
+ }
7165
+
7166
+ $({ global: true, wrap: true, forced: FORCED }, {
7167
+ Promise: PromiseConstructor
7168
+ });
7169
+
7170
+ setToStringTag(PromiseConstructor, PROMISE, false, true);
7171
+ setSpecies(PROMISE);
7172
+
7173
+ PromiseWrapper = getBuiltIn(PROMISE);
7174
+
7175
+ // statics
7176
+ $({ target: PROMISE, stat: true, forced: FORCED }, {
7177
+ // `Promise.reject` method
7178
+ // https://tc39.es/ecma262/#sec-promise.reject
7179
+ reject: function reject(r) {
7180
+ var capability = newPromiseCapability(this);
7181
+ capability.reject.call(undefined, r);
7182
+ return capability.promise;
7183
+ }
7184
+ });
7185
+
7186
+ $({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {
7187
+ // `Promise.resolve` method
7188
+ // https://tc39.es/ecma262/#sec-promise.resolve
7189
+ resolve: function resolve(x) {
7190
+ return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
7191
+ }
7192
+ });
7193
+
7194
+ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
7195
+ // `Promise.all` method
7196
+ // https://tc39.es/ecma262/#sec-promise.all
7197
+ all: function all(iterable) {
7198
+ var C = this;
7199
+ var capability = newPromiseCapability(C);
7200
+ var resolve = capability.resolve;
7201
+ var reject = capability.reject;
7202
+ var result = perform(function () {
7203
+ var $promiseResolve = aFunction(C.resolve);
7204
+ var values = [];
7205
+ var counter = 0;
7206
+ var remaining = 1;
7207
+ iterate(iterable, function (promise) {
7208
+ var index = counter++;
7209
+ var alreadyCalled = false;
7210
+ values.push(undefined);
7211
+ remaining++;
7212
+ $promiseResolve.call(C, promise).then(function (value) {
7213
+ if (alreadyCalled) return;
7214
+ alreadyCalled = true;
7215
+ values[index] = value;
7216
+ --remaining || resolve(values);
7217
+ }, reject);
7218
+ });
7219
+ --remaining || resolve(values);
7220
+ });
7221
+ if (result.error) reject(result.value);
7222
+ return capability.promise;
7223
+ },
7224
+ // `Promise.race` method
7225
+ // https://tc39.es/ecma262/#sec-promise.race
7226
+ race: function race(iterable) {
7227
+ var C = this;
7228
+ var capability = newPromiseCapability(C);
7229
+ var reject = capability.reject;
7230
+ var result = perform(function () {
7231
+ var $promiseResolve = aFunction(C.resolve);
7232
+ iterate(iterable, function (promise) {
7233
+ $promiseResolve.call(C, promise).then(capability.resolve, reject);
7234
+ });
7235
+ });
7236
+ if (result.error) reject(result.value);
7237
+ return capability.promise;
7238
+ }
7239
+ });
7240
+
7241
+
6643
7242
  /***/ }),
6644
7243
 
6645
7244
  /***/ "e893":
@@ -6692,6 +7291,32 @@ module.exports = function (it) {
6692
7291
  };
6693
7292
 
6694
7293
 
7294
+ /***/ }),
7295
+
7296
+ /***/ "f069":
7297
+ /***/ (function(module, exports, __webpack_require__) {
7298
+
7299
+ "use strict";
7300
+
7301
+ var aFunction = __webpack_require__("1c0b");
7302
+
7303
+ var PromiseCapability = function (C) {
7304
+ var resolve, reject;
7305
+ this.promise = new C(function ($$resolve, $$reject) {
7306
+ if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
7307
+ resolve = $$resolve;
7308
+ reject = $$reject;
7309
+ });
7310
+ this.resolve = aFunction(resolve);
7311
+ this.reject = aFunction(reject);
7312
+ };
7313
+
7314
+ // 25.4.1.5 NewPromiseCapability(C)
7315
+ module.exports.f = function (C) {
7316
+ return new PromiseCapability(C);
7317
+ };
7318
+
7319
+
6695
7320
  /***/ }),
6696
7321
 
6697
7322
  /***/ "f0af":
@@ -7284,6 +7909,7 @@ var iconPrefix = 'vxe-icon--';
7284
7909
  showTitleOverflow: true,
7285
7910
  animat: true,
7286
7911
  showClose: true,
7912
+ draggable: true,
7287
7913
  // storage: false,
7288
7914
  storageKey: 'VXE_MODAL_POSITION'
7289
7915
  },
@@ -7341,6 +7967,9 @@ var es_symbol_iterator = __webpack_require__("d28b");
7341
7967
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
7342
7968
  var es_string_iterator = __webpack_require__("3ca3");
7343
7969
 
7970
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
7971
+ var es_array_iterator = __webpack_require__("e260");
7972
+
7344
7973
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
7345
7974
  var web_dom_collections_iterator = __webpack_require__("ddb0");
7346
7975
 
@@ -7355,6 +7984,7 @@ var es_array_from = __webpack_require__("a630");
7355
7984
 
7356
7985
 
7357
7986
 
7987
+
7358
7988
  function _iterableToArray(iter) {
7359
7989
  if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
7360
7990
  }
@@ -7391,6 +8021,9 @@ function _nonIterableSpread() {
7391
8021
  function _toConsumableArray(arr) {
7392
8022
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
7393
8023
  }
8024
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
8025
+ var es_object_assign = __webpack_require__("cca6");
8026
+
7394
8027
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
7395
8028
  var es_string_fixed = __webpack_require__("c7cd");
7396
8029
 
@@ -7405,6 +8038,7 @@ var es_array_splice = __webpack_require__("a434");
7405
8038
 
7406
8039
 
7407
8040
 
8041
+
7408
8042
  /**
7409
8043
  * 创建数据仓库
7410
8044
  */
@@ -7450,6 +8084,7 @@ var store_Store = /*#__PURE__*/function () {
7450
8084
  /* harmony default export */ var store = (store_Store);
7451
8085
  // CONCATENATED MODULE: ./packages/v-x-e-table/src/formats.js
7452
8086
 
8087
+
7453
8088
  var formats = new store();
7454
8089
 
7455
8090
  if (false) {}
@@ -7466,6 +8101,7 @@ if (false) {}
7466
8101
 
7467
8102
 
7468
8103
 
8104
+
7469
8105
  var zindexIndex = 0;
7470
8106
  var lastZindex = 1;
7471
8107
 
@@ -7746,6 +8382,9 @@ var es_string_match = __webpack_require__("466d");
7746
8382
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
7747
8383
  var es_array_concat = __webpack_require__("99af");
7748
8384
 
8385
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
8386
+ var es_promise = __webpack_require__("e6cf");
8387
+
7749
8388
  // CONCATENATED MODULE: ./packages/tools/src/dom.js
7750
8389
 
7751
8390
 
@@ -7756,6 +8395,7 @@ var es_array_concat = __webpack_require__("99af");
7756
8395
 
7757
8396
 
7758
8397
 
8398
+
7759
8399
  var dom_getRowid = utils.getRowid;
7760
8400
  var browse = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.browse();
7761
8401
  var reClsMap = {};
@@ -8342,6 +8982,7 @@ var es_number_to_fixed = __webpack_require__("b680");
8342
8982
 
8343
8983
 
8344
8984
 
8985
+
8345
8986
  var defaultCompProps = {
8346
8987
  transfer: true
8347
8988
  };
@@ -9131,11 +9772,13 @@ var renderer = {
9131
9772
  };
9132
9773
  // CONCATENATED MODULE: ./packages/v-x-e-table/src/commands.js
9133
9774
 
9775
+
9134
9776
  var commands = new store();
9135
9777
 
9136
9778
  if (false) {}
9137
9779
  // CONCATENATED MODULE: ./packages/v-x-e-table/src/menus.js
9138
9780
 
9781
+
9139
9782
  var menus = new store();
9140
9783
 
9141
9784
  if (false) {}
@@ -9525,6 +10168,7 @@ function clearTableAllStatus(_vm) {
9525
10168
 
9526
10169
 
9527
10170
 
10171
+
9528
10172
  var renderType = 'body'; // 滚动、拖动过程中不需要触发
9529
10173
 
9530
10174
  function isOperateMouse($xetable) {
@@ -10178,6 +10822,7 @@ function syncBodyScroll(scrollTop, elem1, elem2) {
10178
10822
  $xetable = this.$parent,
10179
10823
  fixedType = this.fixedType;
10180
10824
  var $refs = $xetable.$refs,
10825
+ elemStore = $xetable.elemStore,
10181
10826
  highlightHoverRow = $xetable.highlightHoverRow,
10182
10827
  scrollXLoad = $xetable.scrollXLoad,
10183
10828
  scrollYLoad = $xetable.scrollYLoad,
@@ -10194,6 +10839,10 @@ function syncBodyScroll(scrollTop, elem1, elem2) {
10194
10839
  var bodyElem = tableBody.$el;
10195
10840
  var leftElem = leftBody ? leftBody.$el : null;
10196
10841
  var rightElem = rightBody ? rightBody.$el : null;
10842
+ var bodyYElem = elemStore['main-body-ySpace'];
10843
+ var bodyXElem = elemStore['main-body-xSpace'];
10844
+ var bodyHeight = bodyYElem ? bodyYElem.clientHeight : 0;
10845
+ var bodyWidth = bodyXElem ? bodyXElem.clientWidth : 0;
10197
10846
  var scrollTop = scrollBodyElem.scrollTop;
10198
10847
  var scrollLeft = bodyElem.scrollLeft;
10199
10848
  var isRollX = scrollLeft !== lastScrollLeft;
@@ -10249,6 +10898,8 @@ function syncBodyScroll(scrollTop, elem1, elem2) {
10249
10898
  fixed: fixedType,
10250
10899
  scrollTop: scrollTop,
10251
10900
  scrollLeft: scrollLeft,
10901
+ bodyHeight: bodyHeight,
10902
+ bodyWidth: bodyWidth,
10252
10903
  isX: isRollX,
10253
10904
  isY: isRollY
10254
10905
  }, evnt);
@@ -10257,7 +10908,8 @@ function syncBodyScroll(scrollTop, elem1, elem2) {
10257
10908
  var _this = this;
10258
10909
 
10259
10910
  var $xetable = this.$parent;
10260
- var $refs = $xetable.$refs;
10911
+ var $refs = $xetable.$refs,
10912
+ elemStore = $xetable.elemStore;
10261
10913
  var tableBody = $refs.tableBody,
10262
10914
  leftBody = $refs.leftBody,
10263
10915
  rightBody = $refs.rightBody;
@@ -10265,6 +10917,10 @@ function syncBodyScroll(scrollTop, elem1, elem2) {
10265
10917
  var leftElem = leftBody ? leftBody.$el : null;
10266
10918
  var rightElem = rightBody ? rightBody.$el : null;
10267
10919
  var remainSize = this.isPrevWheelTop === isTopWheel ? Math.max(0, this.wheelYSize - this.wheelYTotal) : 0;
10920
+ var bodyYElem = elemStore['main-body-ySpace'];
10921
+ var bodyXElem = elemStore['main-body-xSpace'];
10922
+ var bodyHeight = bodyYElem ? bodyYElem.clientHeight : 0;
10923
+ var bodyWidth = bodyXElem ? bodyXElem.clientWidth : 0;
10268
10924
  this.isPrevWheelTop = isTopWheel;
10269
10925
  this.wheelYSize = Math.abs(isTopWheel ? deltaTop - remainSize : deltaTop + remainSize);
10270
10926
  this.wheelYInterval = 0;
@@ -10310,6 +10966,8 @@ function syncBodyScroll(scrollTop, elem1, elem2) {
10310
10966
  fixed: fixedType,
10311
10967
  scrollTop: bodyElem.scrollTop,
10312
10968
  scrollLeft: bodyElem.scrollLeft,
10969
+ bodyHeight: bodyHeight,
10970
+ bodyWidth: bodyWidth,
10313
10971
  isX: isRollX,
10314
10972
  isY: isRollY
10315
10973
  }, evnt);
@@ -10427,9 +11085,6 @@ function _objectSpread2(target) {
10427
11085
 
10428
11086
  return target;
10429
11087
  }
10430
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
10431
- var es_array_reduce = __webpack_require__("13d5");
10432
-
10433
11088
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
10434
11089
  var es_string_trim = __webpack_require__("498a");
10435
11090
 
@@ -10443,6 +11098,7 @@ var es_string_trim = __webpack_require__("498a");
10443
11098
 
10444
11099
 
10445
11100
 
11101
+
10446
11102
  function renderHelpIcon(h, params) {
10447
11103
  var $table = params.$table,
10448
11104
  column = params.column;
@@ -11326,6 +11982,8 @@ var Cell = {
11326
11982
 
11327
11983
 
11328
11984
 
11985
+
11986
+
11329
11987
 
11330
11988
 
11331
11989
 
@@ -11907,8 +12565,7 @@ var Methods = {
11907
12565
  }, {
11908
12566
  children: 'children'
11909
12567
  });
11910
- this.handleColumn(collectColumn);
11911
- return this.$nextTick();
12568
+ return this.handleColumn(collectColumn);
11912
12569
  },
11913
12570
 
11914
12571
  /**
@@ -11942,13 +12599,15 @@ var Methods = {
11942
12599
 
11943
12600
  if (false) {}
11944
12601
 
11945
- this.$nextTick(function () {
12602
+ return this.$nextTick().then(function () {
11946
12603
  if (_this7.$toolbar) {
11947
12604
  _this7.$toolbar.syncUpdate({
11948
12605
  collectColumn: collectColumn,
11949
12606
  $table: _this7
11950
12607
  });
11951
12608
  }
12609
+
12610
+ return _this7.recalculate();
11952
12611
  });
11953
12612
  },
11954
12613
 
@@ -12288,16 +12947,30 @@ var Methods = {
12288
12947
  treeOpts = this.treeOpts,
12289
12948
  expandOpts = this.expandOpts;
12290
12949
  var rowkey = getRowkey(this);
12291
- this.visibleColumn.forEach(function (_ref) {
12292
- var property = _ref.property,
12293
- editRender = _ref.editRender;
12950
+ this.tableFullColumn.forEach(function (column) {
12951
+ var property = column.property,
12952
+ editRender = column.editRender;
12294
12953
 
12295
12954
  if (property && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.has(record, property)) {
12296
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.set(record, property, editRender && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(editRender.defaultValue) ? editRender.defaultValue : null);
12955
+ var cellValue = null;
12956
+
12957
+ if (editRender) {
12958
+ var defaultValue = editRender.defaultValue;
12959
+
12960
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(defaultValue)) {
12961
+ cellValue = defaultValue({
12962
+ column: column
12963
+ });
12964
+ } else if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(defaultValue)) {
12965
+ cellValue = defaultValue;
12966
+ }
12967
+ }
12968
+
12969
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.set(record, property, cellValue);
12297
12970
  }
12298
12971
  });
12299
- var ohterFields = [radioOpts.labelField, checkboxOpts.checkField, checkboxOpts.labelField, expandOpts.labelField];
12300
- ohterFields.forEach(function (key) {
12972
+ var otherFields = [radioOpts.labelField, checkboxOpts.checkField, checkboxOpts.labelField, expandOpts.labelField];
12973
+ otherFields.forEach(function (key) {
12301
12974
  if (key && eqEmptyValue(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(record, key))) {
12302
12975
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.set(record, key, null);
12303
12976
  }
@@ -12658,10 +13331,10 @@ var Methods = {
12658
13331
 
12659
13332
  if (filterColumns.length) {
12660
13333
  tableData = tableData.filter(function (row) {
12661
- return filterColumns.every(function (_ref2) {
12662
- var column = _ref2.column,
12663
- valueList = _ref2.valueList,
12664
- itemList = _ref2.itemList;
13334
+ return filterColumns.every(function (_ref) {
13335
+ var column = _ref.column,
13336
+ valueList = _ref.valueList,
13337
+ itemList = _ref.itemList;
12665
13338
 
12666
13339
  if (valueList.length && !allRemoteFilter) {
12667
13340
  var filterMethod = column.filterMethod,
@@ -12726,9 +13399,9 @@ var Methods = {
12726
13399
  } else {
12727
13400
  // 兼容 v4
12728
13401
  if (sortMultiple) {
12729
- tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, orderColumns.map(function (_ref3) {
12730
- var column = _ref3.column,
12731
- order = _ref3.order;
13402
+ tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, orderColumns.map(function (_ref2) {
13403
+ var column = _ref2.column,
13404
+ order = _ref2.order;
12732
13405
  return [getOrderField(_this15, column), order];
12733
13406
  }));
12734
13407
  } else {
@@ -12741,9 +13414,9 @@ var Methods = {
12741
13414
  });
12742
13415
  }
12743
13416
 
12744
- tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, sortByConfs || [firstOrderColumn].map(function (_ref4) {
12745
- var column = _ref4.column,
12746
- order = _ref4.order;
13417
+ tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, sortByConfs || [firstOrderColumn].map(function (_ref3) {
13418
+ var column = _ref3.column,
13419
+ order = _ref3.order;
12747
13420
  return [getOrderField(_this15, column), order];
12748
13421
  }));
12749
13422
  }
@@ -12972,9 +13645,9 @@ var Methods = {
12972
13645
  keyMap[colKey] = column;
12973
13646
  }
12974
13647
  });
12975
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.each(customMap, function (_ref5, field) {
12976
- var visible = _ref5.visible,
12977
- resizeWidth = _ref5.resizeWidth;
13648
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.each(customMap, function (_ref4, field) {
13649
+ var visible = _ref4.visible,
13650
+ resizeWidth = _ref4.resizeWidth;
12978
13651
  var column = keyMap[field];
12979
13652
 
12980
13653
  if (column) {
@@ -14581,10 +15254,10 @@ var Methods = {
14581
15254
  * 多选,行选中事件
14582
15255
  * value 选中true 不选false 半选-1
14583
15256
  */
14584
- handleSelectRow: function handleSelectRow(_ref6, value) {
15257
+ handleSelectRow: function handleSelectRow(_ref5, value) {
14585
15258
  var _this28 = this;
14586
15259
 
14587
- var row = _ref6.row;
15260
+ var row = _ref5.row;
14588
15261
  var selection = this.selection,
14589
15262
  afterFullData = this.afterFullData,
14590
15263
  treeConfig = this.treeConfig,
@@ -15397,8 +16070,8 @@ var Methods = {
15397
16070
  /**
15398
16071
  * 行 hover 事件
15399
16072
  */
15400
- triggerHoverEvent: function triggerHoverEvent(evnt, _ref7) {
15401
- var row = _ref7.row;
16073
+ triggerHoverEvent: function triggerHoverEvent(evnt, _ref6) {
16074
+ var row = _ref6.row;
15402
16075
  this.setHoverRow(row);
15403
16076
  },
15404
16077
  setHoverRow: function setHoverRow(row) {
@@ -15780,10 +16453,10 @@ var Methods = {
15780
16453
  }
15781
16454
 
15782
16455
  if (!sortOpts.remote) {
15783
- return this.handleTableData(true);
16456
+ this.handleTableData(true);
15784
16457
  }
15785
16458
 
15786
- return this.$nextTick();
16459
+ return this.$nextTick().then(this.updateStyle);
15787
16460
  },
15788
16461
  // 在 v3 中废弃
15789
16462
  getSortColumn: function getSortColumn() {
@@ -16893,8 +17566,8 @@ var Methods = {
16893
17566
  }
16894
17567
 
16895
17568
  _this47.clearValidate();
16896
- }).catch(function (_ref8) {
16897
- var rule = _ref8.rule;
17569
+ }).catch(function (_ref7) {
17570
+ var rule = _ref7.rule;
16898
17571
 
16899
17572
  if (customVal) {
16900
17573
  methods_setCellValue(row, column, cellValue);
@@ -17153,6 +17826,8 @@ funcs.forEach(function (name) {
17153
17826
 
17154
17827
 
17155
17828
 
17829
+
17830
+
17156
17831
  /**
17157
17832
  * 渲染浮固定列
17158
17833
  * 分别渲染左边固定列和右边固定列
@@ -18409,6 +19084,7 @@ function handleUupdateResize(_vm) {
18409
19084
 
18410
19085
 
18411
19086
 
19087
+
18412
19088
  var Table = Object.assign(table, {
18413
19089
  install: function install(Vue) {
18414
19090
  if (typeof window !== 'undefined' && window.VXETableMixin) {
@@ -18445,6 +19121,7 @@ var Table = Object.assign(table, {
18445
19121
 
18446
19122
 
18447
19123
 
19124
+
18448
19125
  /* harmony default export */ var panel = ({
18449
19126
  name: 'VxeTableFilter',
18450
19127
  props: {
@@ -18656,6 +19333,7 @@ var Table = Object.assign(table, {
18656
19333
 
18657
19334
 
18658
19335
 
19336
+
18659
19337
  /* harmony default export */ var src_mixin = ({
18660
19338
  methods: {
18661
19339
  /**
@@ -19072,6 +19750,7 @@ var Filter = {
19072
19750
 
19073
19751
 
19074
19752
 
19753
+
19075
19754
  /* harmony default export */ var menu_src_mixin = ({
19076
19755
  methods: {
19077
19756
  /**
@@ -19461,6 +20140,7 @@ var Menu = {
19461
20140
 
19462
20141
 
19463
20142
 
20143
+
19464
20144
  /* harmony default export */ var edit_src_mixin = ({
19465
20145
  methods: {
19466
20146
  /**
@@ -20229,6 +20909,7 @@ function _arrayWithHoles(arr) {
20229
20909
 
20230
20910
 
20231
20911
 
20912
+
20232
20913
  function _iterableToArrayLimit(arr, i) {
20233
20914
  if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
20234
20915
  var _arr = [];
@@ -20282,6 +20963,8 @@ function _slicedToArray(arr, i) {
20282
20963
 
20283
20964
 
20284
20965
 
20966
+
20967
+
20285
20968
  var allActivedModals = [];
20286
20969
  var msgQueue = [];
20287
20970
  /* harmony default export */ var modal = ({
@@ -20411,6 +21094,12 @@ var msgQueue = [];
20411
21094
  }
20412
21095
  },
20413
21096
  fullscreen: Boolean,
21097
+ draggable: {
21098
+ type: Boolean,
21099
+ default: function _default() {
21100
+ return conf.modal.draggable;
21101
+ }
21102
+ },
20414
21103
  remember: {
20415
21104
  type: Boolean,
20416
21105
  default: function _default() {
@@ -20556,6 +21245,7 @@ var msgQueue = [];
20556
21245
  showClose = this.showClose,
20557
21246
  showZoom = this.showZoom,
20558
21247
  animat = this.animat,
21248
+ draggable = this.draggable,
20559
21249
  loading = this.loading,
20560
21250
  status = this.status,
20561
21251
  iconStatus = this.iconStatus,
@@ -20577,9 +21267,11 @@ var msgQueue = [];
20577
21267
  var footerSlot = $scopedSlots.footer || slots.footer;
20578
21268
  var headerSlot = $scopedSlots.header || slots.header;
20579
21269
  var titleSlot = $scopedSlots.title || slots.title;
20580
- var headerOns = {
20581
- mousedown: this.mousedownEvent
20582
- };
21270
+ var headerOns = {};
21271
+
21272
+ if (draggable) {
21273
+ headerOns.mousedown = this.mousedownEvent;
21274
+ }
20583
21275
 
20584
21276
  if (showZoom && dblclickZoom && type === 'modal') {
20585
21277
  headerOns.dblclick = this.toggleZoomEvent;
@@ -20601,7 +21293,10 @@ var msgQueue = [];
20601
21293
  },
20602
21294
  ref: 'modalBox'
20603
21295
  }, [this.showHeader ? h('div', {
20604
- class: ['vxe-modal--header', !isMsg && showTitleOverflow ? 'is--ellipsis' : ''],
21296
+ class: ['vxe-modal--header', {
21297
+ 'is--drag': draggable,
21298
+ 'is--ellipsis': !isMsg && showTitleOverflow
21299
+ }],
20605
21300
  on: headerOns
20606
21301
  }, headerSlot ? !inited || destroyOnClose && !visible ? [] : headerSlot.call(this, {
20607
21302
  $modal: this
@@ -21470,6 +22165,7 @@ var es_string_pad_start = __webpack_require__("4d90");
21470
22165
 
21471
22166
 
21472
22167
 
22168
+
21473
22169
  var yearSize = 20;
21474
22170
  var monthSize = 20;
21475
22171
  var quarterSize = 8;
@@ -24000,6 +24696,7 @@ function renderExtraSuffixIcon(h, _vm) {
24000
24696
 
24001
24697
 
24002
24698
 
24699
+
24003
24700
  function isOptionVisible(option) {
24004
24701
  return option.visible !== false;
24005
24702
  }
@@ -24894,6 +25591,7 @@ function select_renderOpts(h, _vm) {
24894
25591
 
24895
25592
 
24896
25593
 
25594
+
24897
25595
  var util_OptionConfig = /*#__PURE__*/function () {
24898
25596
  function OptionConfig($xeselect, _vm) {
24899
25597
  _classCallCheck(this, OptionConfig);
@@ -25018,6 +25716,7 @@ Object.keys(option_props).forEach(function (name) {
25018
25716
 
25019
25717
 
25020
25718
 
25719
+
25021
25720
  /* harmony default export */ var export_panel = ({
25022
25721
  name: 'VxeExportPanel',
25023
25722
  props: {
@@ -25557,6 +26256,7 @@ Object.keys(option_props).forEach(function (name) {
25557
26256
 
25558
26257
 
25559
26258
 
26259
+
25560
26260
  /* harmony default export */ var import_panel = ({
25561
26261
  name: 'VxeImportPanel',
25562
26262
  props: {
@@ -25761,6 +26461,9 @@ var es_string_repeat = __webpack_require__("38cf");
25761
26461
 
25762
26462
 
25763
26463
 
26464
+
26465
+
26466
+
25764
26467
 
25765
26468
 
25766
26469
 
@@ -27585,6 +28288,7 @@ var convertToRows = function convertToRows(originColumns) {
27585
28288
 
27586
28289
 
27587
28290
 
28291
+
27588
28292
  function print(options) {
27589
28293
  var opts = Object.assign({}, options, {
27590
28294
  type: 'html'
@@ -27623,6 +28327,7 @@ var Export = {
27623
28327
 
27624
28328
 
27625
28329
 
28330
+
27626
28331
  function getTargetOffset(target, container) {
27627
28332
  var offsetTop = 0;
27628
28333
  var offsetLeft = 0;
@@ -28111,6 +28816,9 @@ var Keyboard = {
28111
28816
 
28112
28817
 
28113
28818
 
28819
+
28820
+
28821
+
28114
28822
  /**
28115
28823
  * 校验规则
28116
28824
  */
@@ -29002,6 +29710,7 @@ var cellType = 'header';
29002
29710
  // CONCATENATED MODULE: ./packages/header/index.js
29003
29711
 
29004
29712
 
29713
+
29005
29714
  var Header = Object.assign(header, {
29006
29715
  install: function install(Vue) {
29007
29716
  Vue.component(header.name, header);
@@ -29015,6 +29724,7 @@ var Header = Object.assign(header, {
29015
29724
 
29016
29725
 
29017
29726
 
29727
+
29018
29728
  var footer_cellType = 'footer';
29019
29729
 
29020
29730
  function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
@@ -29363,6 +30073,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
29363
30073
  // CONCATENATED MODULE: ./packages/footer/index.js
29364
30074
 
29365
30075
 
30076
+
29366
30077
  var Footer = Object.assign(footer, {
29367
30078
  install: function install(Vue) {
29368
30079
  Vue.component(footer.name, footer);
@@ -29520,6 +30231,7 @@ Object.keys(column_props).forEach(function (name) {
29520
30231
  // CONCATENATED MODULE: ./packages/column/index.js
29521
30232
 
29522
30233
 
30234
+
29523
30235
  var Column = Object.assign(src_column, {
29524
30236
  install: function install(Vue) {
29525
30237
  Vue.component(src_column.name, src_column); // 兼容旧用法
@@ -29543,6 +30255,7 @@ var Column = Object.assign(src_column, {
29543
30255
  // CONCATENATED MODULE: ./packages/colgroup/index.js
29544
30256
 
29545
30257
 
30258
+
29546
30259
  var Colgroup = Object.assign(src_group, {
29547
30260
  install: function install(Vue) {
29548
30261
  Vue.component(src_group.name, src_group); // 兼容旧用法
@@ -29568,6 +30281,8 @@ var Colgroup = Object.assign(src_group, {
29568
30281
 
29569
30282
 
29570
30283
 
30284
+
30285
+
29571
30286
  var grid_methods = {};
29572
30287
  var propKeys = Object.keys(packages_table.props);
29573
30288
 
@@ -29613,8 +30328,8 @@ function renderDefaultForm(h, _vm) {
29613
30328
  on: {
29614
30329
  submit: _vm.submitEvent,
29615
30330
  reset: _vm.resetEvent,
29616
- 'submit-invalid': _vm.submitInvalidEvent,
29617
- 'toggle-collapse': _vm.togglCollapseEvent
30331
+ collapse: _vm.collapseEvent,
30332
+ 'submit-invalid': _vm.submitInvalidEvent
29618
30333
  },
29619
30334
  scopedSlots: formSlots
29620
30335
  })];
@@ -30069,12 +30784,26 @@ Object.keys(packages_table.methods).forEach(function (name) {
30069
30784
  if (proxyConfig) {
30070
30785
  if (isEnableConf(formConfig) && proxyOpts.form && formOpts.items) {
30071
30786
  var formData = {};
30072
- formOpts.items.forEach(function (_ref2) {
30073
- var field = _ref2.field,
30074
- itemRender = _ref2.itemRender;
30787
+ formOpts.items.forEach(function (item) {
30788
+ var field = item.field,
30789
+ itemRender = item.itemRender;
30075
30790
 
30076
30791
  if (field) {
30077
- formData[field] = itemRender && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(itemRender.defaultValue) ? itemRender.defaultValue : undefined;
30792
+ var itemValue = null;
30793
+
30794
+ if (itemRender) {
30795
+ var defaultValue = itemRender.defaultValue;
30796
+
30797
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(defaultValue)) {
30798
+ itemValue = defaultValue({
30799
+ item: item
30800
+ });
30801
+ } else if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(defaultValue)) {
30802
+ itemValue = defaultValue;
30803
+ }
30804
+ }
30805
+
30806
+ formData[field] = itemValue;
30078
30807
  }
30079
30808
  });
30080
30809
  this.formData = formData;
@@ -30151,8 +30880,8 @@ Object.keys(packages_table.methods).forEach(function (name) {
30151
30880
  break;
30152
30881
 
30153
30882
  case 'insert_actived':
30154
- this.insert().then(function (_ref3) {
30155
- var row = _ref3.row;
30883
+ this.insert().then(function (_ref2) {
30884
+ var row = _ref2.row;
30156
30885
  return _this5.setActiveRow(row);
30157
30886
  });
30158
30887
  break;
@@ -30650,7 +31379,7 @@ Object.keys(packages_table.methods).forEach(function (name) {
30650
31379
  $grid: this
30651
31380
  }, params));
30652
31381
  },
30653
- togglCollapseEvent: function togglCollapseEvent(params) {
31382
+ collapseEvent: function collapseEvent(params) {
30654
31383
  var _this6 = this;
30655
31384
 
30656
31385
  this.$nextTick(function () {
@@ -30659,6 +31388,9 @@ Object.keys(packages_table.methods).forEach(function (name) {
30659
31388
  this.$emit('form-toggle-collapse', Object.assign({
30660
31389
  $grid: this
30661
31390
  }, params));
31391
+ this.$emit('form-collapse', Object.assign({
31392
+ $grid: this
31393
+ }, params));
30662
31394
  },
30663
31395
  triggerZoomEvent: function triggerZoomEvent(evnt) {
30664
31396
  this.zoom();
@@ -30723,6 +31455,7 @@ Object.keys(packages_table.methods).forEach(function (name) {
30723
31455
 
30724
31456
 
30725
31457
 
31458
+
30726
31459
  var Grid = Object.assign(grid, {
30727
31460
  install: function install(Vue) {
30728
31461
  v_x_e_table.Grid = grid;
@@ -30744,6 +31477,8 @@ var Grid = Object.assign(grid, {
30744
31477
 
30745
31478
 
30746
31479
 
31480
+
31481
+
30747
31482
  var renderDropdowns = function renderDropdowns(h, _vm, item, isBtn) {
30748
31483
  var _e = _vm._e;
30749
31484
  var dropdowns = item.dropdowns;
@@ -31515,6 +32250,7 @@ function renderCustoms(h, _vm) {
31515
32250
  // CONCATENATED MODULE: ./packages/toolbar/index.js
31516
32251
 
31517
32252
 
32253
+
31518
32254
  var Toolbar = Object.assign(src_toolbar, {
31519
32255
  install: function install(Vue) {
31520
32256
  Vue.component(src_toolbar.name, src_toolbar);
@@ -32004,6 +32740,7 @@ var Toolbar = Object.assign(src_toolbar, {
32004
32740
  // CONCATENATED MODULE: ./packages/pager/index.js
32005
32741
 
32006
32742
 
32743
+
32007
32744
  var Pager = Object.assign(pager, {
32008
32745
  install: function install(Vue) {
32009
32746
  Vue.component(pager.name, pager);
@@ -32013,6 +32750,7 @@ var Pager = Object.assign(pager, {
32013
32750
  // CONCATENATED MODULE: ./packages/checkbox/index.js
32014
32751
 
32015
32752
 
32753
+
32016
32754
  var Checkbox = Object.assign(src_checkbox, {
32017
32755
  install: function install(Vue) {
32018
32756
  Vue.component(src_checkbox.name, src_checkbox);
@@ -32022,6 +32760,7 @@ var Checkbox = Object.assign(src_checkbox, {
32022
32760
  // CONCATENATED MODULE: ./packages/checkbox/src/group.js
32023
32761
 
32024
32762
 
32763
+
32025
32764
  /* harmony default export */ var checkbox_src_group = ({
32026
32765
  name: 'VxeCheckboxGroup',
32027
32766
  props: {
@@ -32075,6 +32814,7 @@ var Checkbox = Object.assign(src_checkbox, {
32075
32814
  // CONCATENATED MODULE: ./packages/checkbox-group/index.js
32076
32815
 
32077
32816
 
32817
+
32078
32818
  var CheckboxGroup = Object.assign(checkbox_src_group, {
32079
32819
  install: function install(Vue) {
32080
32820
  Vue.component(checkbox_src_group.name, checkbox_src_group);
@@ -32084,6 +32824,7 @@ var CheckboxGroup = Object.assign(checkbox_src_group, {
32084
32824
  // CONCATENATED MODULE: ./packages/radio/index.js
32085
32825
 
32086
32826
 
32827
+
32087
32828
  var Radio = Object.assign(src_radio, {
32088
32829
  install: function install(Vue) {
32089
32830
  Vue.component(src_radio.name, src_radio);
@@ -32137,6 +32878,7 @@ var Radio = Object.assign(src_radio, {
32137
32878
  // CONCATENATED MODULE: ./packages/radio-group/index.js
32138
32879
 
32139
32880
 
32881
+
32140
32882
  var RadioGroup = Object.assign(radio_src_group, {
32141
32883
  install: function install(Vue) {
32142
32884
  Vue.component(radio_src_group.name, radio_src_group);
@@ -32240,6 +32982,7 @@ var RadioGroup = Object.assign(radio_src_group, {
32240
32982
  // CONCATENATED MODULE: ./packages/radio-button/index.js
32241
32983
 
32242
32984
 
32985
+
32243
32986
  var RadioButton = Object.assign(src_button, {
32244
32987
  install: function install(Vue) {
32245
32988
  Vue.component(src_button.name, src_button);
@@ -32249,6 +32992,7 @@ var RadioButton = Object.assign(src_button, {
32249
32992
  // CONCATENATED MODULE: ./packages/input/index.js
32250
32993
 
32251
32994
 
32995
+
32252
32996
  var Input = Object.assign(input, {
32253
32997
  install: function install(Vue) {
32254
32998
  Vue.component(input.name, input);
@@ -32267,6 +33011,7 @@ var Input = Object.assign(input, {
32267
33011
 
32268
33012
 
32269
33013
 
33014
+
32270
33015
  var autoTxtElem;
32271
33016
  /* harmony default export */ var src_textarea = ({
32272
33017
  name: 'VxeTextarea',
@@ -32290,6 +33035,10 @@ var autoTxtElem;
32290
33035
  type: [String, Number],
32291
33036
  default: 2
32292
33037
  },
33038
+ cols: {
33039
+ type: [String, Number],
33040
+ default: null
33041
+ },
32293
33042
  showWordCount: Boolean,
32294
33043
  countMethod: Function,
32295
33044
  autosize: [Boolean, Object],
@@ -32371,14 +33120,18 @@ var autoTxtElem;
32371
33120
  maxlength = this.maxlength,
32372
33121
  autosize = this.autosize,
32373
33122
  showWordCount = this.showWordCount,
32374
- countMethod = this.countMethod;
33123
+ countMethod = this.countMethod,
33124
+ rows = this.rows,
33125
+ cols = this.cols;
32375
33126
  var attrs = {
32376
33127
  name: name,
32377
33128
  form: form,
32378
33129
  placeholder: placeholder,
32379
33130
  maxlength: maxlength,
32380
33131
  readonly: readonly,
32381
- disabled: disabled
33132
+ disabled: disabled,
33133
+ rows: rows,
33134
+ cols: cols
32382
33135
  };
32383
33136
 
32384
33137
  if (placeholder) {
@@ -32386,7 +33139,7 @@ var autoTxtElem;
32386
33139
  }
32387
33140
 
32388
33141
  return h('div', {
32389
- class: ['vxe-textarea', className, (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--autosize', autosize), _defineProperty(_ref, 'is--disabled', disabled), _ref)]
33142
+ class: ['vxe-textarea', className, (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--autosize', autosize), _defineProperty(_ref, 'is--disabled', disabled), _defineProperty(_ref, 'def--rows', !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eqNull(rows)), _defineProperty(_ref, 'def--cols', !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.eqNull(cols)), _ref)]
32390
33143
  }, [h('textarea', {
32391
33144
  ref: 'textarea',
32392
33145
  class: 'vxe-textarea--inner',
@@ -32527,6 +33280,7 @@ var autoTxtElem;
32527
33280
  // CONCATENATED MODULE: ./packages/textarea/index.js
32528
33281
 
32529
33282
 
33283
+
32530
33284
  var Textarea = Object.assign(src_textarea, {
32531
33285
  install: function install(Vue) {
32532
33286
  Vue.component(src_textarea.name, src_textarea);
@@ -32542,6 +33296,7 @@ var Textarea = Object.assign(src_textarea, {
32542
33296
 
32543
33297
 
32544
33298
 
33299
+
32545
33300
  /* harmony default export */ var button_src_button = ({
32546
33301
  name: 'VxeButton',
32547
33302
  mixins: [size],
@@ -32928,6 +33683,7 @@ var Textarea = Object.assign(src_textarea, {
32928
33683
  // CONCATENATED MODULE: ./packages/button/index.js
32929
33684
 
32930
33685
 
33686
+
32931
33687
  var Button = Object.assign(button_src_button, {
32932
33688
  install: function install(Vue) {
32933
33689
  Vue.component(button_src_button.name, button_src_button);
@@ -32942,6 +33698,8 @@ var Button = Object.assign(button_src_button, {
32942
33698
 
32943
33699
 
32944
33700
 
33701
+
33702
+
32945
33703
  /* eslint-disable @typescript-eslint/no-use-before-define */
32946
33704
 
32947
33705
  var ModalClass = null;
@@ -33077,6 +33835,7 @@ var Modal = Object.assign(modal, {
33077
33835
 
33078
33836
 
33079
33837
 
33838
+
33080
33839
  function updateTipStyle(_vm) {
33081
33840
  var wrapperElem = _vm.$el,
33082
33841
  tipTarget = _vm.tipTarget,
@@ -33397,6 +34156,7 @@ function updateTipStyle(_vm) {
33397
34156
 
33398
34157
 
33399
34158
 
34159
+
33400
34160
  var Tooltip = Object.assign(src_tooltip, {
33401
34161
  install: function install(Vue) {
33402
34162
  v_x_e_table._tooltip = 1;
@@ -33413,6 +34173,7 @@ var Tooltip = Object.assign(src_tooltip, {
33413
34173
 
33414
34174
 
33415
34175
 
34176
+
33416
34177
  var util_ItemConfig = /*#__PURE__*/function () {
33417
34178
  function ItemConfig($xeform, item) {
33418
34179
  _classCallCheck(this, ItemConfig);
@@ -33493,6 +34254,78 @@ function assemItem(_vm) {
33493
34254
  $xeform.staticItems.splice([].indexOf.call($xeform.$refs.hideItem.children, $el), 0, itemConfig);
33494
34255
  }
33495
34256
  }
34257
+ // CONCATENATED MODULE: ./packages/form/src/render.js
34258
+
34259
+
34260
+
34261
+
34262
+
34263
+ function renderPrefixIcon(h, titlePrefix) {
34264
+ return h('span', {
34265
+ class: 'vxe-form--item-title-prefix'
34266
+ }, [h('i', {
34267
+ class: titlePrefix.icon || conf.icon.FORM_PREFIX
34268
+ })]);
34269
+ }
34270
+
34271
+ function render_renderSuffixIcon(h, titleSuffix) {
34272
+ return h('span', {
34273
+ class: 'vxe-form--item-title-suffix'
34274
+ }, [h('i', {
34275
+ class: titleSuffix.icon || conf.icon.FORM_SUFFIX
34276
+ })]);
34277
+ }
34278
+
34279
+ function renderTitle(h, _vm, item) {
34280
+ var data = _vm.data;
34281
+ var slots = item.slots,
34282
+ field = item.field,
34283
+ itemRender = item.itemRender,
34284
+ titlePrefix = item.titlePrefix,
34285
+ titleSuffix = item.titleSuffix;
34286
+ var compConf = isEnableConf(itemRender) ? v_x_e_table.renderer.get(itemRender.name) : null;
34287
+ var params = {
34288
+ data: data,
34289
+ property: field,
34290
+ item: item,
34291
+ $form: _vm
34292
+ };
34293
+ var contVNs = [];
34294
+ var titVNs = [];
34295
+
34296
+ if (titlePrefix) {
34297
+ titVNs.push(titlePrefix.message ? h('vxe-tooltip', {
34298
+ props: {
34299
+ content: UtilTools.getFuncText(titlePrefix.message),
34300
+ enterable: titlePrefix.enterable,
34301
+ theme: titlePrefix.theme
34302
+ }
34303
+ }, [renderPrefixIcon(h, titlePrefix)]) : renderPrefixIcon(h, titlePrefix));
34304
+ }
34305
+
34306
+ titVNs.push(h('span', {
34307
+ class: 'vxe-form--item-title-label'
34308
+ }, compConf && compConf.renderItemTitle ? compConf.renderItemTitle(itemRender, params) : slots && slots.title ? _vm.callSlot(slots.title, params, h) : UtilTools.getFuncText(item.title)));
34309
+ contVNs.push(h('div', {
34310
+ class: 'vxe-form--item-title-content'
34311
+ }, titVNs));
34312
+ var fixVNs = [];
34313
+
34314
+ if (titleSuffix) {
34315
+ fixVNs.push(titleSuffix.message ? h('vxe-tooltip', {
34316
+ props: {
34317
+ content: UtilTools.getFuncText(titleSuffix.message),
34318
+ enterable: titleSuffix.enterable,
34319
+ theme: titleSuffix.theme
34320
+ }
34321
+ }, [render_renderSuffixIcon(h, titleSuffix)]) : render_renderSuffixIcon(h, titleSuffix));
34322
+ }
34323
+
34324
+ contVNs.push(h('div', {
34325
+ class: 'vxe-form--item-title-postfix'
34326
+ }, fixVNs));
34327
+ return contVNs;
34328
+ }
33496
34329
  // CONCATENATED MODULE: ./packages/form/src/form.js
33497
34330
 
33498
34331
 
@@ -33516,6 +34349,10 @@ function assemItem(_vm) {
33516
34349
 
33517
34350
 
33518
34351
 
34352
+
34353
+
34354
+
34355
+
33519
34356
 
33520
34357
 
33521
34358
 
@@ -33586,89 +34423,6 @@ function getResetValue(value, resetValue) {
33586
34423
  return resetValue;
33587
34424
  }
33588
34425
 
33589
- function form_callSlot(_vm, slotFunc, params, h) {
33590
- if (slotFunc) {
33591
- var $scopedSlots = _vm.$scopedSlots;
33592
-
33593
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isString(slotFunc)) {
33594
- slotFunc = $scopedSlots[slotFunc] || null;
33595
- }
33596
-
33597
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(slotFunc)) {
33598
- return slotFunc.call(_vm, params, h);
33599
- }
33600
- }
33601
-
33602
- return [];
33603
- }
33604
-
33605
- function renderPrefixIcon(h, titlePrefix) {
33606
- return h('span', {
33607
- class: 'vxe-form--item-title-prefix'
33608
- }, [h('i', {
33609
- class: titlePrefix.icon || conf.icon.FORM_PREFIX
33610
- })]);
33611
- }
33612
-
33613
- function form_renderSuffixIcon(h, titleSuffix) {
33614
- return h('span', {
33615
- class: 'vxe-form--item-title-suffix'
33616
- }, [h('i', {
33617
- class: titleSuffix.icon || conf.icon.FORM_SUFFIX
33618
- })]);
33619
- }
33620
-
33621
- function renderTitle(h, _vm, item) {
33622
- var data = _vm.data;
33623
- var slots = item.slots,
33624
- field = item.field,
33625
- itemRender = item.itemRender,
33626
- titlePrefix = item.titlePrefix,
33627
- titleSuffix = item.titleSuffix;
33628
- var compConf = isEnableConf(itemRender) ? v_x_e_table.renderer.get(itemRender.name) : null;
33629
- var params = {
33630
- data: data,
33631
- property: field,
33632
- item: item,
33633
- $form: _vm
33634
- };
33635
- var contVNs = [];
33636
- var titVNs = [];
33637
-
33638
- if (titlePrefix) {
33639
- titVNs.push(titlePrefix.message ? h('vxe-tooltip', {
33640
- props: {
33641
- content: UtilTools.getFuncText(titlePrefix.message),
33642
- enterable: titlePrefix.enterable,
33643
- theme: titlePrefix.theme
33644
- }
33645
- }, [renderPrefixIcon(h, titlePrefix)]) : renderPrefixIcon(h, titlePrefix));
33646
- }
33647
-
33648
- titVNs.push(h('span', {
33649
- class: 'vxe-form--item-title-label'
33650
- }, compConf && compConf.renderItemTitle ? compConf.renderItemTitle(itemRender, params) : slots && slots.title ? form_callSlot(_vm, slots.title, params, h) : UtilTools.getFuncText(item.title)));
33651
- contVNs.push(h('div', {
33652
- class: 'vxe-form--item-title-content'
33653
- }, titVNs));
33654
- var fixVNs = [];
33655
-
33656
- if (titleSuffix) {
33657
- fixVNs.push(titleSuffix.message ? h('vxe-tooltip', {
33658
- props: {
33659
- content: UtilTools.getFuncText(titleSuffix.message),
33660
- enterable: titleSuffix.enterable,
33661
- theme: titleSuffix.theme
33662
- }
33663
- }, [form_renderSuffixIcon(h, titleSuffix)]) : form_renderSuffixIcon(h, titleSuffix));
33664
- }
33665
-
33666
- contVNs.push(h('div', {
33667
- class: 'vxe-form--item-title-postfix'
33668
- }, fixVNs));
33669
- return contVNs;
33670
- }
33671
-
33672
34426
  function renderItems(h, _vm, itemList) {
33673
34427
  var _e = _vm._e,
33674
34428
  rules = _vm.rules,
@@ -33740,7 +34494,7 @@ function renderItems(h, _vm, itemList) {
33740
34494
  var contentVNs = [];
33741
34495
 
33742
34496
  if (slots && slots.default) {
33743
- contentVNs = form_callSlot(_vm, slots.default, params, h);
34497
+ contentVNs = _vm.callSlot(slots.default, params, h);
33744
34498
  } else if (compConf && compConf.renderItemContent) {
33745
34499
  contentVNs = compConf.renderItemContent.call(_vm, h, itemRender, params);
33746
34500
  } else if (compConf && compConf.renderItem) {
@@ -33801,6 +34555,10 @@ function renderItems(h, _vm, itemList) {
33801
34555
  name: 'VxeForm',
33802
34556
  mixins: [size],
33803
34557
  props: {
34558
+ collapseStatus: {
34559
+ type: Boolean,
34560
+ default: true
34561
+ },
33804
34562
  loading: Boolean,
33805
34563
  data: Object,
33806
34564
  size: {
@@ -33848,11 +34606,17 @@ function renderItems(h, _vm, itemList) {
33848
34606
  return conf.form.preventSubmit;
33849
34607
  }
33850
34608
  },
33851
- validConfig: Object
34609
+ validConfig: Object,
34610
+ customLayout: {
34611
+ type: Boolean,
34612
+ default: function _default() {
34613
+ return conf.form.customLayout;
34614
+ }
34615
+ }
33852
34616
  },
33853
34617
  data: function data() {
33854
34618
  return {
33855
- collapseAll: true,
34619
+ collapseAll: this.collapseStatus,
33856
34620
  staticItems: [],
33857
34621
  formItems: [],
33858
34622
  tooltipTimeout: null,
@@ -33884,25 +34648,30 @@ function renderItems(h, _vm, itemList) {
33884
34648
  return opts;
33885
34649
  }
33886
34650
  },
34651
+ watch: {
34652
+ staticItems: function staticItems(value) {
34653
+ this.formItems = value;
34654
+ },
34655
+ items: function items(value) {
34656
+ this.loadItem(value);
34657
+ },
34658
+ collapseStatus: function collapseStatus(value) {
34659
+ this.collapseAll = !!value;
34660
+ }
34661
+ },
33887
34662
  created: function created() {
33888
34663
  var _this = this;
33889
34664
 
33890
34665
  this.$nextTick(function () {
33891
34666
  var items = _this.items;
33892
34667
 
34668
+ if (false) {}
34669
+
33893
34670
  if (items) {
33894
34671
  _this.loadItem(items);
33895
34672
  }
33896
34673
  });
33897
34674
  },
33898
- watch: {
33899
- staticItems: function staticItems(value) {
33900
- this.formItems = value;
33901
- },
33902
- items: function items(value) {
33903
- this.loadItem(value);
33904
- }
33905
- },
33906
34675
  render: function render(h) {
33907
34676
  var _ref;
33908
34677
 
@@ -33912,7 +34681,8 @@ function renderItems(h, _vm, itemList) {
33912
34681
  data = this.data,
33913
34682
  vSize = this.vSize,
33914
34683
  tooltipOpts = this.tooltipOpts,
33915
- formItems = this.formItems;
34684
+ formItems = this.formItems,
34685
+ customLayout = this.customLayout;
33916
34686
  var hasUseTooltip = v_x_e_table._tooltip;
33917
34687
  return h('form', {
33918
34688
  class: ['vxe-form', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(className) ? className({
@@ -33926,10 +34696,10 @@ function renderItems(h, _vm, itemList) {
33926
34696
  }
33927
34697
  }, [h('div', {
33928
34698
  class: 'vxe-form--wrapper vxe-row'
33929
- }, renderItems(h, this, formItems)), h('div', {
34699
+ }, customLayout ? this.$slots.default : renderItems(h, this, formItems)), h('div', {
33930
34700
  class: 'vxe-form-slots',
33931
34701
  ref: 'hideItem'
33932
- }, this.$slots.default), h('div', {
34702
+ }, customLayout ? [] : this.$slots.default), h('div', {
33933
34703
  class: ['vxe-loading', {
33934
34704
  'is--visible': loading
33935
34705
  }]
@@ -33944,6 +34714,21 @@ function renderItems(h, _vm, itemList) {
33944
34714
  }, tooltipOpts)) : _e()]);
33945
34715
  },
33946
34716
  methods: {
34717
+ callSlot: function callSlot(slotFunc, params, h) {
34718
+ if (slotFunc) {
34719
+ var $scopedSlots = this.$scopedSlots;
34720
+
34721
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isString(slotFunc)) {
34722
+ slotFunc = $scopedSlots[slotFunc] || null;
34723
+ }
34724
+
34725
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(slotFunc)) {
34726
+ return slotFunc.call(this, params, h);
34727
+ }
34728
+ }
34729
+
34730
+ return [];
34731
+ },
33947
34732
  loadItem: function loadItem(list) {
33948
34733
  var _this2 = this;
33949
34734
 
@@ -33966,13 +34751,24 @@ function renderItems(h, _vm, itemList) {
33966
34751
  return itemList;
33967
34752
  },
33968
34753
  toggleCollapse: function toggleCollapse() {
33969
- this.collapseAll = !this.collapseAll;
34754
+ var status = !this.collapseAll;
34755
+ this.collapseAll = status;
34756
+ this.$emit('update:collapseStatus', status);
33970
34757
  return this.$nextTick();
33971
34758
  },
33972
34759
  toggleCollapseEvent: function toggleCollapseEvent(evnt) {
33973
34760
  this.toggleCollapse();
34761
+ var status = this.collapseAll;
33974
34762
  this.$emit('toggle-collapse', {
33975
- collapse: !this.collapseAll,
34763
+ status: status,
34764
+ collapse: status,
34765
+ data: this.data,
34766
+ $form: this,
34767
+ $event: evnt
34768
+ }, evnt);
34769
+ this.$emit('collapse', {
34770
+ status: status,
34771
+ collapse: status,
33976
34772
  data: this.data,
33977
34773
  $form: this,
33978
34774
  $event: evnt
@@ -34302,7 +35098,7 @@ function renderItems(h, _vm, itemList) {
34302
35098
  handleFocus: function handleFocus(fields) {
34303
35099
  var $el = this.$el;
34304
35100
  var itemList = this.getItems();
34305
- fields.some(function (property) {
35101
+ fields.some(function (property, index) {
34306
35102
  var item = itemList.find(function (item) {
34307
35103
  return item.field === property;
34308
35104
  });
@@ -34310,7 +35106,12 @@ function renderItems(h, _vm, itemList) {
34310
35106
  if (item && isEnableConf(item.itemRender)) {
34311
35107
  var itemRender = item.itemRender;
34312
35108
  var compConf = v_x_e_table.renderer.get(itemRender.name);
34313
- var inputElem; // 如果指定了聚焦 class
35109
+ var inputElem; // 定位到第一个
35110
+
35111
+ if (!index) {
35112
+ DomTools.scrollToView($el.querySelector(".".concat(item.id)));
35113
+ } // 如果指定了聚焦 class
35114
+
34314
35115
 
34315
35116
  if (itemRender.autofocus) {
34316
35117
  inputElem = $el.querySelector(".".concat(item.id, " ").concat(itemRender.autofocus));
@@ -34370,6 +35171,7 @@ function renderItems(h, _vm, itemList) {
34370
35171
  // CONCATENATED MODULE: ./packages/form/index.js
34371
35172
 
34372
35173
 
35174
+
34373
35175
  var Form = Object.assign(src_form, {
34374
35176
  install: function install(Vue) {
34375
35177
  Vue.component(src_form.name, src_form);
@@ -34381,6 +35183,13 @@ var Form = Object.assign(src_form, {
34381
35183
 
34382
35184
 
34383
35185
 
35186
+
35187
+
35188
+
35189
+
35190
+
35191
+
35192
+
34384
35193
  var form_item_props = {
34385
35194
  title: String,
34386
35195
  field: String,
@@ -34414,6 +35223,115 @@ Object.keys(form_item_props).forEach(function (name) {
34414
35223
  this.itemConfig.update(name, value);
34415
35224
  };
34416
35225
  });
35226
+
35227
+ var form_item_renderItem = function renderItem(h, _vm, item, slots) {
35228
+ var rules = _vm.rules,
35229
+ data = _vm.data,
35230
+ collapseAll = _vm.collapseAll,
35231
+ validOpts = _vm.validOpts,
35232
+ allTitleOverflow = _vm.titleOverflow;
35233
+ var title = item.title,
35234
+ folding = item.folding,
35235
+ visible = item.visible,
35236
+ visibleMethod = item.visibleMethod,
35237
+ field = item.field,
35238
+ collapseNode = item.collapseNode,
35239
+ itemRender = item.itemRender,
35240
+ showError = item.showError,
35241
+ errRule = item.errRule,
35242
+ className = item.className,
35243
+ titleOverflow = item.titleOverflow;
35244
+ var compConf = isEnableConf(itemRender) ? v_x_e_table.renderer.get(itemRender.name) : null;
35245
+ var span = item.span || _vm.span;
35246
+ var align = item.align || _vm.align;
35247
+ var titleAlign = item.titleAlign || _vm.titleAlign;
35248
+ var titleWidth = item.titleWidth || _vm.titleWidth;
35249
+ var itemVisibleMethod = visibleMethod;
35250
+ var itemOverflow = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(titleOverflow) || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isNull(titleOverflow) ? allTitleOverflow : titleOverflow;
35251
+ var showEllipsis = itemOverflow === 'ellipsis';
35252
+ var showTitle = itemOverflow === 'title';
35253
+ var showTooltip = itemOverflow === true || itemOverflow === 'tooltip';
35254
+ var hasEllipsis = showTitle || showTooltip || showEllipsis;
35255
+ var params = {
35256
+ data: data,
35257
+ property: field,
35258
+ item: item,
35259
+ $form: _vm
35260
+ };
35261
+ var isRequired;
35262
+
35263
+ if (!itemVisibleMethod && compConf && compConf.itemVisibleMethod) {
35264
+ itemVisibleMethod = compConf.itemVisibleMethod;
35265
+ }
35266
+
35267
+ if (rules) {
35268
+ var itemRules = rules[field];
35269
+
35270
+ if (itemRules) {
35271
+ isRequired = itemRules.some(function (rule) {
35272
+ return rule.required;
35273
+ });
35274
+ }
35275
+ }
35276
+
35277
+ var contentVNs = [];
35278
+
35279
+ if (slots && slots.default) {
35280
+ contentVNs = _vm.callSlot(slots.default, params, h);
35281
+ } else if (compConf && compConf.renderItemContent) {
35282
+ contentVNs = compConf.renderItemContent.call(_vm, h, itemRender, params);
35283
+ } else if (compConf && compConf.renderItem) {
35284
+ contentVNs = compConf.renderItem.call(_vm, h, itemRender, params);
35285
+ } else if (field) {
35286
+ contentVNs = ["".concat(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(data, field))];
35287
+ }
35288
+
35289
+ var ons = showTooltip ? {
35290
+ mouseenter: function mouseenter(evnt) {
35291
+ _vm.triggerHeaderHelpEvent(evnt, params);
35292
+ },
35293
+ mouseleave: _vm.handleTargetLeaveEvent
35294
+ } : {};
35295
+ return h('div', {
35296
+ class: ['vxe-form--item', item.id, span ? "vxe-col--".concat(span, " is--span") : null, className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(className) ? className(params) : className : '', {
35297
+ 'is--title': title,
35298
+ 'is--required': isRequired,
35299
+ 'is--hidden': visible === false || folding && collapseAll,
35300
+ 'is--active': !itemVisibleMethod || itemVisibleMethod(params),
35301
+ 'is--error': showError
35302
+ }]
35303
+ }, [h('div', {
35304
+ class: 'vxe-form--item-inner'
35305
+ }, [title || slots && slots.title ? h('div', {
35306
+ class: ['vxe-form--item-title', titleAlign ? "align--".concat(titleAlign) : null, {
35307
+ 'is--ellipsis': hasEllipsis
35308
+ }],
35309
+ style: titleWidth ? {
35310
+ width: isNaN(titleWidth) ? titleWidth : "".concat(titleWidth, "px")
35311
+ } : null,
35312
+ attrs: {
35313
+ title: showTitle ? UtilTools.getFuncText(title) : null
35314
+ },
35315
+ on: ons
35316
+ }, renderTitle(h, _vm, item)) : null, h('div', {
35317
+ class: ['vxe-form--item-content', align ? "align--".concat(align) : null]
35318
+ }, contentVNs.concat([collapseNode ? h('div', {
35319
+ class: 'vxe-form--item-trigger-node',
35320
+ on: {
35321
+ click: _vm.toggleCollapseEvent
35322
+ }
35323
+ }, [h('span', {
35324
+ class: 'vxe-form--item-trigger-text'
35325
+ }, collapseAll ? conf.i18n('vxe.form.unfolding') : conf.i18n('vxe.form.folding')), h('i', {
35326
+ class: ['vxe-form--item-trigger-icon', collapseAll ? conf.icon.FORM_FOLDING : conf.icon.FORM_UNFOLDING]
35327
+ })]) : null, errRule && validOpts.showMessage ? h('div', {
35328
+ class: 'vxe-form--item-valid',
35329
+ style: errRule.maxWidth ? {
35330
+ width: "".concat(errRule.maxWidth, "px")
35331
+ } : null
35332
+ }, errRule.message) : null]))])]);
35333
+ };
35334
+
34417
35335
  /* harmony default export */ var form_item = ({
34418
35336
  name: 'VxeFormItem',
34419
35337
  props: form_item_props,
@@ -34436,12 +35354,14 @@ Object.keys(form_item_props).forEach(function (name) {
34436
35354
  destroyItem(this);
34437
35355
  },
34438
35356
  render: function render(h) {
34439
- return h('div');
35357
+ var $xeform = this.$xeform;
35358
+ return $xeform && $xeform.customLayout ? form_item_renderItem(h, $xeform, this.itemConfig, this.$scopedSlots) : h('div');
34440
35359
  }
34441
35360
  });
34442
35361
  // CONCATENATED MODULE: ./packages/form-item/index.js
34443
35362
 
34444
35363
 
35364
+
34445
35365
  var FormItem = Object.assign(form_item, {
34446
35366
  install: function install(Vue) {
34447
35367
  Vue.component(form_item.name, form_item);
@@ -34450,6 +35370,7 @@ var FormItem = Object.assign(form_item, {
34450
35370
  /* harmony default export */ var packages_form_item = (FormItem);
34451
35371
  // CONCATENATED MODULE: ./packages/form/src/form-gather.js
34452
35372
 
35373
+
34453
35374
  /* harmony default export */ var form_gather = ({
34454
35375
  name: 'VxeFormGather',
34455
35376
  extends: form_item,
@@ -34458,6 +35379,11 @@ var FormItem = Object.assign(form_item, {
34458
35379
  xeformgather: this
34459
35380
  };
34460
35381
  },
35382
+ created: function created() {
35383
+ var _this = this;
35384
+
35385
+ if (false) {}
35386
+ },
34461
35387
  render: function render(h) {
34462
35388
  return h('div', this.$slots.default);
34463
35389
  }
@@ -34465,6 +35391,7 @@ var FormItem = Object.assign(form_item, {
34465
35391
  // CONCATENATED MODULE: ./packages/form-gather/index.js
34466
35392
 
34467
35393
 
35394
+
34468
35395
  var FormGather = Object.assign(form_gather, {
34469
35396
  install: function install(Vue) {
34470
35397
  Vue.component(form_gather.name, form_gather);
@@ -34531,6 +35458,7 @@ Object.keys(optgroup_props).forEach(function (name) {
34531
35458
 
34532
35459
 
34533
35460
 
35461
+
34534
35462
  var Select = Object.assign(src_select, {
34535
35463
  Option: src_option,
34536
35464
  Optgroup: optgroup,
@@ -34544,6 +35472,7 @@ var Select = Object.assign(src_select, {
34544
35472
  // CONCATENATED MODULE: ./packages/optgroup/index.js
34545
35473
 
34546
35474
 
35475
+
34547
35476
  var Optgroup = Object.assign(optgroup, {
34548
35477
  install: function install(Vue) {
34549
35478
  Vue.component(optgroup.name, optgroup);
@@ -34553,6 +35482,7 @@ var Optgroup = Object.assign(optgroup, {
34553
35482
  // CONCATENATED MODULE: ./packages/option/index.js
34554
35483
 
34555
35484
 
35485
+
34556
35486
  var Option = Object.assign(src_option, {
34557
35487
  install: function install(Vue) {
34558
35488
  Vue.component(src_option.name, src_option);
@@ -34707,6 +35637,7 @@ var Option = Object.assign(src_option, {
34707
35637
  // CONCATENATED MODULE: ./packages/switch/index.js
34708
35638
 
34709
35639
 
35640
+
34710
35641
  var Switch = Object.assign(src_switch, {
34711
35642
  install: function install(Vue) {
34712
35643
  Vue.component(src_switch.name, src_switch);
@@ -34722,6 +35653,8 @@ var Switch = Object.assign(src_switch, {
34722
35653
 
34723
35654
 
34724
35655
 
35656
+
35657
+
34725
35658
  /* harmony default export */ var src_list = ({
34726
35659
  name: 'VxeList',
34727
35660
  mixins: [size],
@@ -35088,6 +36021,7 @@ var Switch = Object.assign(src_switch, {
35088
36021
  // CONCATENATED MODULE: ./packages/list/index.js
35089
36022
 
35090
36023
 
36024
+
35091
36025
  var List = Object.assign(src_list, {
35092
36026
  install: function install(Vue) {
35093
36027
  Vue.component(src_list.name, src_list);
@@ -35100,6 +36034,8 @@ var List = Object.assign(src_list, {
35100
36034
 
35101
36035
 
35102
36036
 
36037
+
36038
+
35103
36039
  /* harmony default export */ var pulldown = ({
35104
36040
  name: 'VxePulldown',
35105
36041
  mixins: [size],
@@ -35400,6 +36336,7 @@ var List = Object.assign(src_list, {
35400
36336
  // CONCATENATED MODULE: ./packages/pulldown/index.js
35401
36337
 
35402
36338
 
36339
+
35403
36340
  var Pulldown = Object.assign(pulldown, {
35404
36341
  install: function install(Vue) {
35405
36342
  Vue.component(pulldown.name, pulldown);
@@ -35950,6 +36887,16 @@ module.exports = NATIVE_SYMBOL
35950
36887
  && typeof Symbol.iterator == 'symbol';
35951
36888
 
35952
36889
 
36890
+ /***/ }),
36891
+
36892
+ /***/ "fea9":
36893
+ /***/ (function(module, exports, __webpack_require__) {
36894
+
36895
+ var global = __webpack_require__("da84");
36896
+
36897
+ module.exports = global.Promise;
36898
+
36899
+
35953
36900
  /***/ })
35954
36901
 
35955
36902
  /******/ });