vxe-table 3.3.11 → 3.3.14-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/helper/vetur/attributes.json +8 -0
- package/helper/vetur/tags.json +2 -0
- package/lib/form/src/form.js +22 -10
- package/lib/form/src/form.min.js +1 -1
- package/lib/form/style/style.css +41 -14
- package/lib/form/style/style.min.css +1 -1
- package/lib/grid/src/grid.js +20 -6
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +903 -51
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +16 -4
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +2 -2
- package/lib/modal/style/style.min.css +1 -1
- package/lib/select/src/util.js +5 -1
- package/lib/select/src/util.min.js +1 -1
- package/lib/select/style/style.css +2 -1
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/methods.js +45 -30
- package/lib/table/src/methods.min.js +1 -1
- package/lib/tooltip/style/style.css +1 -1
- package/lib/tooltip/style/style.min.css +1 -1
- package/lib/v-x-e-table/src/conf.js +1 -0
- package/lib/v-x-e-table/src/conf.min.js +1 -1
- package/package.json +5 -5
- package/packages/form/src/form.js +24 -10
- package/packages/grid/src/grid.js +12 -2
- package/packages/modal/src/modal.js +9 -4
- package/packages/select/src/util.js +3 -2
- package/packages/table/src/methods.js +19 -9
- package/packages/v-x-e-table/src/conf.js +1 -0
- package/styles/form.scss +38 -18
- package/styles/input.scss +4 -4
- package/styles/modal.scss +3 -3
- package/styles/select.scss +1 -0
- package/styles/tooltip.scss +1 -1
- package/styles/variable.scss +1 -0
- package/types/form.d.ts +5 -0
package/lib/index.umd.js
CHANGED
|
@@ -687,6 +687,16 @@ module.exports = function (exec, SKIP_CLOSING) {
|
|
|
687
687
|
};
|
|
688
688
|
|
|
689
689
|
|
|
690
|
+
/***/ }),
|
|
691
|
+
|
|
692
|
+
/***/ "1cdc":
|
|
693
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
694
|
+
|
|
695
|
+
var userAgent = __webpack_require__("342f");
|
|
696
|
+
|
|
697
|
+
module.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);
|
|
698
|
+
|
|
699
|
+
|
|
690
700
|
/***/ }),
|
|
691
701
|
|
|
692
702
|
/***/ "1d80":
|
|
@@ -1998,6 +2008,120 @@ $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
|
|
|
1998
2008
|
});
|
|
1999
2009
|
|
|
2000
2010
|
|
|
2011
|
+
/***/ }),
|
|
2012
|
+
|
|
2013
|
+
/***/ "2cf4":
|
|
2014
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2015
|
+
|
|
2016
|
+
var global = __webpack_require__("da84");
|
|
2017
|
+
var fails = __webpack_require__("d039");
|
|
2018
|
+
var bind = __webpack_require__("0366");
|
|
2019
|
+
var html = __webpack_require__("1be4");
|
|
2020
|
+
var createElement = __webpack_require__("cc12");
|
|
2021
|
+
var IS_IOS = __webpack_require__("1cdc");
|
|
2022
|
+
var IS_NODE = __webpack_require__("605d");
|
|
2023
|
+
|
|
2024
|
+
var location = global.location;
|
|
2025
|
+
var set = global.setImmediate;
|
|
2026
|
+
var clear = global.clearImmediate;
|
|
2027
|
+
var process = global.process;
|
|
2028
|
+
var MessageChannel = global.MessageChannel;
|
|
2029
|
+
var Dispatch = global.Dispatch;
|
|
2030
|
+
var counter = 0;
|
|
2031
|
+
var queue = {};
|
|
2032
|
+
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2033
|
+
var defer, channel, port;
|
|
2034
|
+
|
|
2035
|
+
var run = function (id) {
|
|
2036
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2037
|
+
if (queue.hasOwnProperty(id)) {
|
|
2038
|
+
var fn = queue[id];
|
|
2039
|
+
delete queue[id];
|
|
2040
|
+
fn();
|
|
2041
|
+
}
|
|
2042
|
+
};
|
|
2043
|
+
|
|
2044
|
+
var runner = function (id) {
|
|
2045
|
+
return function () {
|
|
2046
|
+
run(id);
|
|
2047
|
+
};
|
|
2048
|
+
};
|
|
2049
|
+
|
|
2050
|
+
var listener = function (event) {
|
|
2051
|
+
run(event.data);
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
var post = function (id) {
|
|
2055
|
+
// old engines have not location.origin
|
|
2056
|
+
global.postMessage(id + '', location.protocol + '//' + location.host);
|
|
2057
|
+
};
|
|
2058
|
+
|
|
2059
|
+
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
2060
|
+
if (!set || !clear) {
|
|
2061
|
+
set = function setImmediate(fn) {
|
|
2062
|
+
var args = [];
|
|
2063
|
+
var i = 1;
|
|
2064
|
+
while (arguments.length > i) args.push(arguments[i++]);
|
|
2065
|
+
queue[++counter] = function () {
|
|
2066
|
+
// eslint-disable-next-line no-new-func -- spec requirement
|
|
2067
|
+
(typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);
|
|
2068
|
+
};
|
|
2069
|
+
defer(counter);
|
|
2070
|
+
return counter;
|
|
2071
|
+
};
|
|
2072
|
+
clear = function clearImmediate(id) {
|
|
2073
|
+
delete queue[id];
|
|
2074
|
+
};
|
|
2075
|
+
// Node.js 0.8-
|
|
2076
|
+
if (IS_NODE) {
|
|
2077
|
+
defer = function (id) {
|
|
2078
|
+
process.nextTick(runner(id));
|
|
2079
|
+
};
|
|
2080
|
+
// Sphere (JS game engine) Dispatch API
|
|
2081
|
+
} else if (Dispatch && Dispatch.now) {
|
|
2082
|
+
defer = function (id) {
|
|
2083
|
+
Dispatch.now(runner(id));
|
|
2084
|
+
};
|
|
2085
|
+
// Browsers with MessageChannel, includes WebWorkers
|
|
2086
|
+
// except iOS - https://github.com/zloirock/core-js/issues/624
|
|
2087
|
+
} else if (MessageChannel && !IS_IOS) {
|
|
2088
|
+
channel = new MessageChannel();
|
|
2089
|
+
port = channel.port2;
|
|
2090
|
+
channel.port1.onmessage = listener;
|
|
2091
|
+
defer = bind(port.postMessage, port, 1);
|
|
2092
|
+
// Browsers with postMessage, skip WebWorkers
|
|
2093
|
+
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
2094
|
+
} else if (
|
|
2095
|
+
global.addEventListener &&
|
|
2096
|
+
typeof postMessage == 'function' &&
|
|
2097
|
+
!global.importScripts &&
|
|
2098
|
+
location && location.protocol !== 'file:' &&
|
|
2099
|
+
!fails(post)
|
|
2100
|
+
) {
|
|
2101
|
+
defer = post;
|
|
2102
|
+
global.addEventListener('message', listener, false);
|
|
2103
|
+
// IE8-
|
|
2104
|
+
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
2105
|
+
defer = function (id) {
|
|
2106
|
+
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
|
|
2107
|
+
html.removeChild(this);
|
|
2108
|
+
run(id);
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
// Rest old browsers
|
|
2112
|
+
} else {
|
|
2113
|
+
defer = function (id) {
|
|
2114
|
+
setTimeout(runner(id), 0);
|
|
2115
|
+
};
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
module.exports = {
|
|
2120
|
+
set: set,
|
|
2121
|
+
clear: clear
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
|
|
2001
2125
|
/***/ }),
|
|
2002
2126
|
|
|
2003
2127
|
/***/ "2d00":
|
|
@@ -2224,6 +2348,21 @@ module.exports = function (key) {
|
|
|
2224
2348
|
};
|
|
2225
2349
|
|
|
2226
2350
|
|
|
2351
|
+
/***/ }),
|
|
2352
|
+
|
|
2353
|
+
/***/ "44de":
|
|
2354
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2355
|
+
|
|
2356
|
+
var global = __webpack_require__("da84");
|
|
2357
|
+
|
|
2358
|
+
module.exports = function (a, b) {
|
|
2359
|
+
var console = global.console;
|
|
2360
|
+
if (console && console.error) {
|
|
2361
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
|
2362
|
+
}
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
|
|
2227
2366
|
/***/ }),
|
|
2228
2367
|
|
|
2229
2368
|
/***/ "44e7":
|
|
@@ -4876,6 +5015,16 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
|
4876
5015
|
});
|
|
4877
5016
|
|
|
4878
5017
|
|
|
5018
|
+
/***/ }),
|
|
5019
|
+
|
|
5020
|
+
/***/ "a4b4":
|
|
5021
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5022
|
+
|
|
5023
|
+
var userAgent = __webpack_require__("342f");
|
|
5024
|
+
|
|
5025
|
+
module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
|
5026
|
+
|
|
5027
|
+
|
|
4879
5028
|
/***/ }),
|
|
4880
5029
|
|
|
4881
5030
|
/***/ "a4d3":
|
|
@@ -5514,6 +5663,93 @@ if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
|
|
|
5514
5663
|
}
|
|
5515
5664
|
|
|
5516
5665
|
|
|
5666
|
+
/***/ }),
|
|
5667
|
+
|
|
5668
|
+
/***/ "b575":
|
|
5669
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5670
|
+
|
|
5671
|
+
var global = __webpack_require__("da84");
|
|
5672
|
+
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
5673
|
+
var macrotask = __webpack_require__("2cf4").set;
|
|
5674
|
+
var IS_IOS = __webpack_require__("1cdc");
|
|
5675
|
+
var IS_WEBOS_WEBKIT = __webpack_require__("a4b4");
|
|
5676
|
+
var IS_NODE = __webpack_require__("605d");
|
|
5677
|
+
|
|
5678
|
+
var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
|
|
5679
|
+
var document = global.document;
|
|
5680
|
+
var process = global.process;
|
|
5681
|
+
var Promise = global.Promise;
|
|
5682
|
+
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5683
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
5684
|
+
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5685
|
+
|
|
5686
|
+
var flush, head, last, notify, toggle, node, promise, then;
|
|
5687
|
+
|
|
5688
|
+
// modern engines have queueMicrotask method
|
|
5689
|
+
if (!queueMicrotask) {
|
|
5690
|
+
flush = function () {
|
|
5691
|
+
var parent, fn;
|
|
5692
|
+
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
5693
|
+
while (head) {
|
|
5694
|
+
fn = head.fn;
|
|
5695
|
+
head = head.next;
|
|
5696
|
+
try {
|
|
5697
|
+
fn();
|
|
5698
|
+
} catch (error) {
|
|
5699
|
+
if (head) notify();
|
|
5700
|
+
else last = undefined;
|
|
5701
|
+
throw error;
|
|
5702
|
+
}
|
|
5703
|
+
} last = undefined;
|
|
5704
|
+
if (parent) parent.enter();
|
|
5705
|
+
};
|
|
5706
|
+
|
|
5707
|
+
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
|
5708
|
+
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
|
5709
|
+
if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
|
|
5710
|
+
toggle = true;
|
|
5711
|
+
node = document.createTextNode('');
|
|
5712
|
+
new MutationObserver(flush).observe(node, { characterData: true });
|
|
5713
|
+
notify = function () {
|
|
5714
|
+
node.data = toggle = !toggle;
|
|
5715
|
+
};
|
|
5716
|
+
// environments with maybe non-completely correct, but existent Promise
|
|
5717
|
+
} else if (Promise && Promise.resolve) {
|
|
5718
|
+
// Promise.resolve without an argument throws an error in LG WebOS 2
|
|
5719
|
+
promise = Promise.resolve(undefined);
|
|
5720
|
+
then = promise.then;
|
|
5721
|
+
notify = function () {
|
|
5722
|
+
then.call(promise, flush);
|
|
5723
|
+
};
|
|
5724
|
+
// Node.js without promises
|
|
5725
|
+
} else if (IS_NODE) {
|
|
5726
|
+
notify = function () {
|
|
5727
|
+
process.nextTick(flush);
|
|
5728
|
+
};
|
|
5729
|
+
// for other environments - macrotask based on:
|
|
5730
|
+
// - setImmediate
|
|
5731
|
+
// - MessageChannel
|
|
5732
|
+
// - window.postMessag
|
|
5733
|
+
// - onreadystatechange
|
|
5734
|
+
// - setTimeout
|
|
5735
|
+
} else {
|
|
5736
|
+
notify = function () {
|
|
5737
|
+
// strange IE + webpack dev server bug - use .call(global)
|
|
5738
|
+
macrotask.call(global, flush);
|
|
5739
|
+
};
|
|
5740
|
+
}
|
|
5741
|
+
}
|
|
5742
|
+
|
|
5743
|
+
module.exports = queueMicrotask || function (fn) {
|
|
5744
|
+
var task = { fn: fn, next: undefined };
|
|
5745
|
+
if (last) last.next = task;
|
|
5746
|
+
if (!head) {
|
|
5747
|
+
head = task;
|
|
5748
|
+
notify();
|
|
5749
|
+
} last = task;
|
|
5750
|
+
};
|
|
5751
|
+
|
|
5752
|
+
|
|
5517
5753
|
/***/ }),
|
|
5518
5754
|
|
|
5519
5755
|
/***/ "b622":
|
|
@@ -5971,6 +6207,40 @@ module.exports = function (it) {
|
|
|
5971
6207
|
};
|
|
5972
6208
|
|
|
5973
6209
|
|
|
6210
|
+
/***/ }),
|
|
6211
|
+
|
|
6212
|
+
/***/ "cca6":
|
|
6213
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6214
|
+
|
|
6215
|
+
var $ = __webpack_require__("23e7");
|
|
6216
|
+
var assign = __webpack_require__("60da");
|
|
6217
|
+
|
|
6218
|
+
// `Object.assign` method
|
|
6219
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
6220
|
+
$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
6221
|
+
assign: assign
|
|
6222
|
+
});
|
|
6223
|
+
|
|
6224
|
+
|
|
6225
|
+
/***/ }),
|
|
6226
|
+
|
|
6227
|
+
/***/ "cdf9":
|
|
6228
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6229
|
+
|
|
6230
|
+
var anObject = __webpack_require__("825a");
|
|
6231
|
+
var isObject = __webpack_require__("861d");
|
|
6232
|
+
var newPromiseCapability = __webpack_require__("f069");
|
|
6233
|
+
|
|
6234
|
+
module.exports = function (C, x) {
|
|
6235
|
+
anObject(C);
|
|
6236
|
+
if (isObject(x) && x.constructor === C) return x;
|
|
6237
|
+
var promiseCapability = newPromiseCapability.f(C);
|
|
6238
|
+
var resolve = promiseCapability.resolve;
|
|
6239
|
+
resolve(x);
|
|
6240
|
+
return promiseCapability.promise;
|
|
6241
|
+
};
|
|
6242
|
+
|
|
6243
|
+
|
|
5974
6244
|
/***/ }),
|
|
5975
6245
|
|
|
5976
6246
|
/***/ "ce4e":
|
|
@@ -6640,6 +6910,409 @@ var wellKnownSymbol = __webpack_require__("b622");
|
|
|
6640
6910
|
exports.f = wellKnownSymbol;
|
|
6641
6911
|
|
|
6642
6912
|
|
|
6913
|
+
/***/ }),
|
|
6914
|
+
|
|
6915
|
+
/***/ "e667":
|
|
6916
|
+
/***/ (function(module, exports) {
|
|
6917
|
+
|
|
6918
|
+
module.exports = function (exec) {
|
|
6919
|
+
try {
|
|
6920
|
+
return { error: false, value: exec() };
|
|
6921
|
+
} catch (error) {
|
|
6922
|
+
return { error: true, value: error };
|
|
6923
|
+
}
|
|
6924
|
+
};
|
|
6925
|
+
|
|
6926
|
+
|
|
6927
|
+
/***/ }),
|
|
6928
|
+
|
|
6929
|
+
/***/ "e6cf":
|
|
6930
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6931
|
+
|
|
6932
|
+
"use strict";
|
|
6933
|
+
|
|
6934
|
+
var $ = __webpack_require__("23e7");
|
|
6935
|
+
var IS_PURE = __webpack_require__("c430");
|
|
6936
|
+
var global = __webpack_require__("da84");
|
|
6937
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
6938
|
+
var NativePromise = __webpack_require__("fea9");
|
|
6939
|
+
var redefine = __webpack_require__("6eeb");
|
|
6940
|
+
var redefineAll = __webpack_require__("e2cc");
|
|
6941
|
+
var setToStringTag = __webpack_require__("d44e");
|
|
6942
|
+
var setSpecies = __webpack_require__("2626");
|
|
6943
|
+
var isObject = __webpack_require__("861d");
|
|
6944
|
+
var aFunction = __webpack_require__("1c0b");
|
|
6945
|
+
var anInstance = __webpack_require__("19aa");
|
|
6946
|
+
var inspectSource = __webpack_require__("8925");
|
|
6947
|
+
var iterate = __webpack_require__("2266");
|
|
6948
|
+
var checkCorrectnessOfIteration = __webpack_require__("1c7e");
|
|
6949
|
+
var speciesConstructor = __webpack_require__("4840");
|
|
6950
|
+
var task = __webpack_require__("2cf4").set;
|
|
6951
|
+
var microtask = __webpack_require__("b575");
|
|
6952
|
+
var promiseResolve = __webpack_require__("cdf9");
|
|
6953
|
+
var hostReportErrors = __webpack_require__("44de");
|
|
6954
|
+
var newPromiseCapabilityModule = __webpack_require__("f069");
|
|
6955
|
+
var perform = __webpack_require__("e667");
|
|
6956
|
+
var InternalStateModule = __webpack_require__("69f3");
|
|
6957
|
+
var isForced = __webpack_require__("94ca");
|
|
6958
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
6959
|
+
var IS_NODE = __webpack_require__("605d");
|
|
6960
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
6961
|
+
|
|
6962
|
+
var SPECIES = wellKnownSymbol('species');
|
|
6963
|
+
var PROMISE = 'Promise';
|
|
6964
|
+
var getInternalState = InternalStateModule.get;
|
|
6965
|
+
var setInternalState = InternalStateModule.set;
|
|
6966
|
+
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
6967
|
+
var PromiseConstructor = NativePromise;
|
|
6968
|
+
var TypeError = global.TypeError;
|
|
6969
|
+
var document = global.document;
|
|
6970
|
+
var process = global.process;
|
|
6971
|
+
var $fetch = getBuiltIn('fetch');
|
|
6972
|
+
var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
6973
|
+
var newGenericPromiseCapability = newPromiseCapability;
|
|
6974
|
+
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
6975
|
+
var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';
|
|
6976
|
+
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
6977
|
+
var REJECTION_HANDLED = 'rejectionhandled';
|
|
6978
|
+
var PENDING = 0;
|
|
6979
|
+
var FULFILLED = 1;
|
|
6980
|
+
var REJECTED = 2;
|
|
6981
|
+
var HANDLED = 1;
|
|
6982
|
+
var UNHANDLED = 2;
|
|
6983
|
+
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
6984
|
+
|
|
6985
|
+
var FORCED = isForced(PROMISE, function () {
|
|
6986
|
+
var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);
|
|
6987
|
+
if (!GLOBAL_CORE_JS_PROMISE) {
|
|
6988
|
+
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6989
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6990
|
+
// We can't detect it synchronously, so just check versions
|
|
6991
|
+
if (V8_VERSION === 66) return true;
|
|
6992
|
+
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6993
|
+
if (!IS_NODE && !NATIVE_REJECTION_EVENT) return true;
|
|
6994
|
+
}
|
|
6995
|
+
// We need Promise#finally in the pure version for preventing prototype pollution
|
|
6996
|
+
if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;
|
|
6997
|
+
// We can't use @@species feature detection in V8 since it causes
|
|
6998
|
+
// deoptimization and performance degradation
|
|
6999
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
7000
|
+
if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;
|
|
7001
|
+
// Detect correctness of subclassing with @@species support
|
|
7002
|
+
var promise = PromiseConstructor.resolve(1);
|
|
7003
|
+
var FakePromise = function (exec) {
|
|
7004
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
7005
|
+
};
|
|
7006
|
+
var constructor = promise.constructor = {};
|
|
7007
|
+
constructor[SPECIES] = FakePromise;
|
|
7008
|
+
return !(promise.then(function () { /* empty */ }) instanceof FakePromise);
|
|
7009
|
+
});
|
|
7010
|
+
|
|
7011
|
+
var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
|
|
7012
|
+
PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
|
|
7013
|
+
});
|
|
7014
|
+
|
|
7015
|
+
// helpers
|
|
7016
|
+
var isThenable = function (it) {
|
|
7017
|
+
var then;
|
|
7018
|
+
return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
|
|
7019
|
+
};
|
|
7020
|
+
|
|
7021
|
+
var notify = function (state, isReject) {
|
|
7022
|
+
if (state.notified) return;
|
|
7023
|
+
state.notified = true;
|
|
7024
|
+
var chain = state.reactions;
|
|
7025
|
+
microtask(function () {
|
|
7026
|
+
var value = state.value;
|
|
7027
|
+
var ok = state.state == FULFILLED;
|
|
7028
|
+
var index = 0;
|
|
7029
|
+
// variable length - can't use forEach
|
|
7030
|
+
while (chain.length > index) {
|
|
7031
|
+
var reaction = chain[index++];
|
|
7032
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
7033
|
+
var resolve = reaction.resolve;
|
|
7034
|
+
var reject = reaction.reject;
|
|
7035
|
+
var domain = reaction.domain;
|
|
7036
|
+
var result, then, exited;
|
|
7037
|
+
try {
|
|
7038
|
+
if (handler) {
|
|
7039
|
+
if (!ok) {
|
|
7040
|
+
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
7041
|
+
state.rejection = HANDLED;
|
|
7042
|
+
}
|
|
7043
|
+
if (handler === true) result = value;
|
|
7044
|
+
else {
|
|
7045
|
+
if (domain) domain.enter();
|
|
7046
|
+
result = handler(value); // can throw
|
|
7047
|
+
if (domain) {
|
|
7048
|
+
domain.exit();
|
|
7049
|
+
exited = true;
|
|
7050
|
+
}
|
|
7051
|
+
}
|
|
7052
|
+
if (result === reaction.promise) {
|
|
7053
|
+
reject(TypeError('Promise-chain cycle'));
|
|
7054
|
+
} else if (then = isThenable(result)) {
|
|
7055
|
+
then.call(result, resolve, reject);
|
|
7056
|
+
} else resolve(result);
|
|
7057
|
+
} else reject(value);
|
|
7058
|
+
} catch (error) {
|
|
7059
|
+
if (domain && !exited) domain.exit();
|
|
7060
|
+
reject(error);
|
|
7061
|
+
}
|
|
7062
|
+
}
|
|
7063
|
+
state.reactions = [];
|
|
7064
|
+
state.notified = false;
|
|
7065
|
+
if (isReject && !state.rejection) onUnhandled(state);
|
|
7066
|
+
});
|
|
7067
|
+
};
|
|
7068
|
+
|
|
7069
|
+
var dispatchEvent = function (name, promise, reason) {
|
|
7070
|
+
var event, handler;
|
|
7071
|
+
if (DISPATCH_EVENT) {
|
|
7072
|
+
event = document.createEvent('Event');
|
|
7073
|
+
event.promise = promise;
|
|
7074
|
+
event.reason = reason;
|
|
7075
|
+
event.initEvent(name, false, true);
|
|
7076
|
+
global.dispatchEvent(event);
|
|
7077
|
+
} else event = { promise: promise, reason: reason };
|
|
7078
|
+
if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
|
|
7079
|
+
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
7080
|
+
};
|
|
7081
|
+
|
|
7082
|
+
var onUnhandled = function (state) {
|
|
7083
|
+
task.call(global, function () {
|
|
7084
|
+
var promise = state.facade;
|
|
7085
|
+
var value = state.value;
|
|
7086
|
+
var IS_UNHANDLED = isUnhandled(state);
|
|
7087
|
+
var result;
|
|
7088
|
+
if (IS_UNHANDLED) {
|
|
7089
|
+
result = perform(function () {
|
|
7090
|
+
if (IS_NODE) {
|
|
7091
|
+
process.emit('unhandledRejection', value, promise);
|
|
7092
|
+
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
|
7093
|
+
});
|
|
7094
|
+
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
|
7095
|
+
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
|
|
7096
|
+
if (result.error) throw result.value;
|
|
7097
|
+
}
|
|
7098
|
+
});
|
|
7099
|
+
};
|
|
7100
|
+
|
|
7101
|
+
var isUnhandled = function (state) {
|
|
7102
|
+
return state.rejection !== HANDLED && !state.parent;
|
|
7103
|
+
};
|
|
7104
|
+
|
|
7105
|
+
var onHandleUnhandled = function (state) {
|
|
7106
|
+
task.call(global, function () {
|
|
7107
|
+
var promise = state.facade;
|
|
7108
|
+
if (IS_NODE) {
|
|
7109
|
+
process.emit('rejectionHandled', promise);
|
|
7110
|
+
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
|
7111
|
+
});
|
|
7112
|
+
};
|
|
7113
|
+
|
|
7114
|
+
var bind = function (fn, state, unwrap) {
|
|
7115
|
+
return function (value) {
|
|
7116
|
+
fn(state, value, unwrap);
|
|
7117
|
+
};
|
|
7118
|
+
};
|
|
7119
|
+
|
|
7120
|
+
var internalReject = function (state, value, unwrap) {
|
|
7121
|
+
if (state.done) return;
|
|
7122
|
+
state.done = true;
|
|
7123
|
+
if (unwrap) state = unwrap;
|
|
7124
|
+
state.value = value;
|
|
7125
|
+
state.state = REJECTED;
|
|
7126
|
+
notify(state, true);
|
|
7127
|
+
};
|
|
7128
|
+
|
|
7129
|
+
var internalResolve = function (state, value, unwrap) {
|
|
7130
|
+
if (state.done) return;
|
|
7131
|
+
state.done = true;
|
|
7132
|
+
if (unwrap) state = unwrap;
|
|
7133
|
+
try {
|
|
7134
|
+
if (state.facade === value) throw TypeError("Promise can't be resolved itself");
|
|
7135
|
+
var then = isThenable(value);
|
|
7136
|
+
if (then) {
|
|
7137
|
+
microtask(function () {
|
|
7138
|
+
var wrapper = { done: false };
|
|
7139
|
+
try {
|
|
7140
|
+
then.call(value,
|
|
7141
|
+
bind(internalResolve, wrapper, state),
|
|
7142
|
+
bind(internalReject, wrapper, state)
|
|
7143
|
+
);
|
|
7144
|
+
} catch (error) {
|
|
7145
|
+
internalReject(wrapper, error, state);
|
|
7146
|
+
}
|
|
7147
|
+
});
|
|
7148
|
+
} else {
|
|
7149
|
+
state.value = value;
|
|
7150
|
+
state.state = FULFILLED;
|
|
7151
|
+
notify(state, false);
|
|
7152
|
+
}
|
|
7153
|
+
} catch (error) {
|
|
7154
|
+
internalReject({ done: false }, error, state);
|
|
7155
|
+
}
|
|
7156
|
+
};
|
|
7157
|
+
|
|
7158
|
+
// constructor polyfill
|
|
7159
|
+
if (FORCED) {
|
|
7160
|
+
// 25.4.3.1 Promise(executor)
|
|
7161
|
+
PromiseConstructor = function Promise(executor) {
|
|
7162
|
+
anInstance(this, PromiseConstructor, PROMISE);
|
|
7163
|
+
aFunction(executor);
|
|
7164
|
+
Internal.call(this);
|
|
7165
|
+
var state = getInternalState(this);
|
|
7166
|
+
try {
|
|
7167
|
+
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
7168
|
+
} catch (error) {
|
|
7169
|
+
internalReject(state, error);
|
|
7170
|
+
}
|
|
7171
|
+
};
|
|
7172
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
7173
|
+
Internal = function Promise(executor) {
|
|
7174
|
+
setInternalState(this, {
|
|
7175
|
+
type: PROMISE,
|
|
7176
|
+
done: false,
|
|
7177
|
+
notified: false,
|
|
7178
|
+
parent: false,
|
|
7179
|
+
reactions: [],
|
|
7180
|
+
rejection: false,
|
|
7181
|
+
state: PENDING,
|
|
7182
|
+
value: undefined
|
|
7183
|
+
});
|
|
7184
|
+
};
|
|
7185
|
+
Internal.prototype = redefineAll(PromiseConstructor.prototype, {
|
|
7186
|
+
// `Promise.prototype.then` method
|
|
7187
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
7188
|
+
then: function then(onFulfilled, onRejected) {
|
|
7189
|
+
var state = getInternalPromiseState(this);
|
|
7190
|
+
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
7191
|
+
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
|
7192
|
+
reaction.fail = typeof onRejected == 'function' && onRejected;
|
|
7193
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
7194
|
+
state.parent = true;
|
|
7195
|
+
state.reactions.push(reaction);
|
|
7196
|
+
if (state.state != PENDING) notify(state, false);
|
|
7197
|
+
return reaction.promise;
|
|
7198
|
+
},
|
|
7199
|
+
// `Promise.prototype.catch` method
|
|
7200
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7201
|
+
'catch': function (onRejected) {
|
|
7202
|
+
return this.then(undefined, onRejected);
|
|
7203
|
+
}
|
|
7204
|
+
});
|
|
7205
|
+
OwnPromiseCapability = function () {
|
|
7206
|
+
var promise = new Internal();
|
|
7207
|
+
var state = getInternalState(promise);
|
|
7208
|
+
this.promise = promise;
|
|
7209
|
+
this.resolve = bind(internalResolve, state);
|
|
7210
|
+
this.reject = bind(internalReject, state);
|
|
7211
|
+
};
|
|
7212
|
+
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
|
7213
|
+
return C === PromiseConstructor || C === PromiseWrapper
|
|
7214
|
+
? new OwnPromiseCapability(C)
|
|
7215
|
+
: newGenericPromiseCapability(C);
|
|
7216
|
+
};
|
|
7217
|
+
|
|
7218
|
+
if (!IS_PURE && typeof NativePromise == 'function') {
|
|
7219
|
+
nativeThen = NativePromise.prototype.then;
|
|
7220
|
+
|
|
7221
|
+
// wrap native Promise#then for native async functions
|
|
7222
|
+
redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {
|
|
7223
|
+
var that = this;
|
|
7224
|
+
return new PromiseConstructor(function (resolve, reject) {
|
|
7225
|
+
nativeThen.call(that, resolve, reject);
|
|
7226
|
+
}).then(onFulfilled, onRejected);
|
|
7227
|
+
// https://github.com/zloirock/core-js/issues/640
|
|
7228
|
+
}, { unsafe: true });
|
|
7229
|
+
|
|
7230
|
+
// wrap fetch result
|
|
7231
|
+
if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {
|
|
7232
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
7233
|
+
fetch: function fetch(input /* , init */) {
|
|
7234
|
+
return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));
|
|
7235
|
+
}
|
|
7236
|
+
});
|
|
7237
|
+
}
|
|
7238
|
+
}
|
|
7239
|
+
|
|
7240
|
+
$({ global: true, wrap: true, forced: FORCED }, {
|
|
7241
|
+
Promise: PromiseConstructor
|
|
7242
|
+
});
|
|
7243
|
+
|
|
7244
|
+
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
7245
|
+
setSpecies(PROMISE);
|
|
7246
|
+
|
|
7247
|
+
PromiseWrapper = getBuiltIn(PROMISE);
|
|
7248
|
+
|
|
7249
|
+
// statics
|
|
7250
|
+
$({ target: PROMISE, stat: true, forced: FORCED }, {
|
|
7251
|
+
// `Promise.reject` method
|
|
7252
|
+
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7253
|
+
reject: function reject(r) {
|
|
7254
|
+
var capability = newPromiseCapability(this);
|
|
7255
|
+
capability.reject.call(undefined, r);
|
|
7256
|
+
return capability.promise;
|
|
7257
|
+
}
|
|
7258
|
+
});
|
|
7259
|
+
|
|
7260
|
+
$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {
|
|
7261
|
+
// `Promise.resolve` method
|
|
7262
|
+
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
7263
|
+
resolve: function resolve(x) {
|
|
7264
|
+
return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
|
|
7265
|
+
}
|
|
7266
|
+
});
|
|
7267
|
+
|
|
7268
|
+
$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
7269
|
+
// `Promise.all` method
|
|
7270
|
+
// https://tc39.es/ecma262/#sec-promise.all
|
|
7271
|
+
all: function all(iterable) {
|
|
7272
|
+
var C = this;
|
|
7273
|
+
var capability = newPromiseCapability(C);
|
|
7274
|
+
var resolve = capability.resolve;
|
|
7275
|
+
var reject = capability.reject;
|
|
7276
|
+
var result = perform(function () {
|
|
7277
|
+
var $promiseResolve = aFunction(C.resolve);
|
|
7278
|
+
var values = [];
|
|
7279
|
+
var counter = 0;
|
|
7280
|
+
var remaining = 1;
|
|
7281
|
+
iterate(iterable, function (promise) {
|
|
7282
|
+
var index = counter++;
|
|
7283
|
+
var alreadyCalled = false;
|
|
7284
|
+
values.push(undefined);
|
|
7285
|
+
remaining++;
|
|
7286
|
+
$promiseResolve.call(C, promise).then(function (value) {
|
|
7287
|
+
if (alreadyCalled) return;
|
|
7288
|
+
alreadyCalled = true;
|
|
7289
|
+
values[index] = value;
|
|
7290
|
+
--remaining || resolve(values);
|
|
7291
|
+
}, reject);
|
|
7292
|
+
});
|
|
7293
|
+
--remaining || resolve(values);
|
|
7294
|
+
});
|
|
7295
|
+
if (result.error) reject(result.value);
|
|
7296
|
+
return capability.promise;
|
|
7297
|
+
},
|
|
7298
|
+
// `Promise.race` method
|
|
7299
|
+
// https://tc39.es/ecma262/#sec-promise.race
|
|
7300
|
+
race: function race(iterable) {
|
|
7301
|
+
var C = this;
|
|
7302
|
+
var capability = newPromiseCapability(C);
|
|
7303
|
+
var reject = capability.reject;
|
|
7304
|
+
var result = perform(function () {
|
|
7305
|
+
var $promiseResolve = aFunction(C.resolve);
|
|
7306
|
+
iterate(iterable, function (promise) {
|
|
7307
|
+
$promiseResolve.call(C, promise).then(capability.resolve, reject);
|
|
7308
|
+
});
|
|
7309
|
+
});
|
|
7310
|
+
if (result.error) reject(result.value);
|
|
7311
|
+
return capability.promise;
|
|
7312
|
+
}
|
|
7313
|
+
});
|
|
7314
|
+
|
|
7315
|
+
|
|
6643
7316
|
/***/ }),
|
|
6644
7317
|
|
|
6645
7318
|
/***/ "e893":
|
|
@@ -6692,6 +7365,32 @@ module.exports = function (it) {
|
|
|
6692
7365
|
};
|
|
6693
7366
|
|
|
6694
7367
|
|
|
7368
|
+
/***/ }),
|
|
7369
|
+
|
|
7370
|
+
/***/ "f069":
|
|
7371
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7372
|
+
|
|
7373
|
+
"use strict";
|
|
7374
|
+
|
|
7375
|
+
var aFunction = __webpack_require__("1c0b");
|
|
7376
|
+
|
|
7377
|
+
var PromiseCapability = function (C) {
|
|
7378
|
+
var resolve, reject;
|
|
7379
|
+
this.promise = new C(function ($$resolve, $$reject) {
|
|
7380
|
+
if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
|
|
7381
|
+
resolve = $$resolve;
|
|
7382
|
+
reject = $$reject;
|
|
7383
|
+
});
|
|
7384
|
+
this.resolve = aFunction(resolve);
|
|
7385
|
+
this.reject = aFunction(reject);
|
|
7386
|
+
};
|
|
7387
|
+
|
|
7388
|
+
// 25.4.1.5 NewPromiseCapability(C)
|
|
7389
|
+
module.exports.f = function (C) {
|
|
7390
|
+
return new PromiseCapability(C);
|
|
7391
|
+
};
|
|
7392
|
+
|
|
7393
|
+
|
|
6695
7394
|
/***/ }),
|
|
6696
7395
|
|
|
6697
7396
|
/***/ "f0af":
|
|
@@ -7284,6 +7983,7 @@ var iconPrefix = 'vxe-icon--';
|
|
|
7284
7983
|
showTitleOverflow: true,
|
|
7285
7984
|
animat: true,
|
|
7286
7985
|
showClose: true,
|
|
7986
|
+
draggable: true,
|
|
7287
7987
|
// storage: false,
|
|
7288
7988
|
storageKey: 'VXE_MODAL_POSITION'
|
|
7289
7989
|
},
|
|
@@ -7341,6 +8041,9 @@ var es_symbol_iterator = __webpack_require__("d28b");
|
|
|
7341
8041
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
7342
8042
|
var es_string_iterator = __webpack_require__("3ca3");
|
|
7343
8043
|
|
|
8044
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
8045
|
+
var es_array_iterator = __webpack_require__("e260");
|
|
8046
|
+
|
|
7344
8047
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
7345
8048
|
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
7346
8049
|
|
|
@@ -7355,6 +8058,7 @@ var es_array_from = __webpack_require__("a630");
|
|
|
7355
8058
|
|
|
7356
8059
|
|
|
7357
8060
|
|
|
8061
|
+
|
|
7358
8062
|
function _iterableToArray(iter) {
|
|
7359
8063
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
|
7360
8064
|
}
|
|
@@ -7391,6 +8095,9 @@ function _nonIterableSpread() {
|
|
|
7391
8095
|
function _toConsumableArray(arr) {
|
|
7392
8096
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
7393
8097
|
}
|
|
8098
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
8099
|
+
var es_object_assign = __webpack_require__("cca6");
|
|
8100
|
+
|
|
7394
8101
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
|
|
7395
8102
|
var es_string_fixed = __webpack_require__("c7cd");
|
|
7396
8103
|
|
|
@@ -7405,6 +8112,7 @@ var es_array_splice = __webpack_require__("a434");
|
|
|
7405
8112
|
|
|
7406
8113
|
|
|
7407
8114
|
|
|
8115
|
+
|
|
7408
8116
|
/**
|
|
7409
8117
|
* 创建数据仓库
|
|
7410
8118
|
*/
|
|
@@ -7450,6 +8158,7 @@ var store_Store = /*#__PURE__*/function () {
|
|
|
7450
8158
|
/* harmony default export */ var store = (store_Store);
|
|
7451
8159
|
// CONCATENATED MODULE: ./packages/v-x-e-table/src/formats.js
|
|
7452
8160
|
|
|
8161
|
+
|
|
7453
8162
|
var formats = new store();
|
|
7454
8163
|
|
|
7455
8164
|
if (false) {}
|
|
@@ -7466,6 +8175,7 @@ if (false) {}
|
|
|
7466
8175
|
|
|
7467
8176
|
|
|
7468
8177
|
|
|
8178
|
+
|
|
7469
8179
|
var zindexIndex = 0;
|
|
7470
8180
|
var lastZindex = 1;
|
|
7471
8181
|
|
|
@@ -7746,6 +8456,9 @@ var es_string_match = __webpack_require__("466d");
|
|
|
7746
8456
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
7747
8457
|
var es_array_concat = __webpack_require__("99af");
|
|
7748
8458
|
|
|
8459
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8460
|
+
var es_promise = __webpack_require__("e6cf");
|
|
8461
|
+
|
|
7749
8462
|
// CONCATENATED MODULE: ./packages/tools/src/dom.js
|
|
7750
8463
|
|
|
7751
8464
|
|
|
@@ -7756,6 +8469,7 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
7756
8469
|
|
|
7757
8470
|
|
|
7758
8471
|
|
|
8472
|
+
|
|
7759
8473
|
var dom_getRowid = utils.getRowid;
|
|
7760
8474
|
var browse = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.browse();
|
|
7761
8475
|
var reClsMap = {};
|
|
@@ -8342,6 +9056,7 @@ var es_number_to_fixed = __webpack_require__("b680");
|
|
|
8342
9056
|
|
|
8343
9057
|
|
|
8344
9058
|
|
|
9059
|
+
|
|
8345
9060
|
var defaultCompProps = {
|
|
8346
9061
|
transfer: true
|
|
8347
9062
|
};
|
|
@@ -9131,11 +9846,13 @@ var renderer = {
|
|
|
9131
9846
|
};
|
|
9132
9847
|
// CONCATENATED MODULE: ./packages/v-x-e-table/src/commands.js
|
|
9133
9848
|
|
|
9849
|
+
|
|
9134
9850
|
var commands = new store();
|
|
9135
9851
|
|
|
9136
9852
|
if (false) {}
|
|
9137
9853
|
// CONCATENATED MODULE: ./packages/v-x-e-table/src/menus.js
|
|
9138
9854
|
|
|
9855
|
+
|
|
9139
9856
|
var menus = new store();
|
|
9140
9857
|
|
|
9141
9858
|
if (false) {}
|
|
@@ -9525,6 +10242,7 @@ function clearTableAllStatus(_vm) {
|
|
|
9525
10242
|
|
|
9526
10243
|
|
|
9527
10244
|
|
|
10245
|
+
|
|
9528
10246
|
var renderType = 'body'; // 滚动、拖动过程中不需要触发
|
|
9529
10247
|
|
|
9530
10248
|
function isOperateMouse($xetable) {
|
|
@@ -10443,6 +11161,7 @@ var es_string_trim = __webpack_require__("498a");
|
|
|
10443
11161
|
|
|
10444
11162
|
|
|
10445
11163
|
|
|
11164
|
+
|
|
10446
11165
|
function renderHelpIcon(h, params) {
|
|
10447
11166
|
var $table = params.$table,
|
|
10448
11167
|
column = params.column;
|
|
@@ -11907,8 +12626,7 @@ var Methods = {
|
|
|
11907
12626
|
}, {
|
|
11908
12627
|
children: 'children'
|
|
11909
12628
|
});
|
|
11910
|
-
this.handleColumn(collectColumn);
|
|
11911
|
-
return this.$nextTick();
|
|
12629
|
+
return this.handleColumn(collectColumn);
|
|
11912
12630
|
},
|
|
11913
12631
|
|
|
11914
12632
|
/**
|
|
@@ -11942,13 +12660,15 @@ var Methods = {
|
|
|
11942
12660
|
|
|
11943
12661
|
if (false) {}
|
|
11944
12662
|
|
|
11945
|
-
this.$nextTick(function () {
|
|
12663
|
+
return this.$nextTick().then(function () {
|
|
11946
12664
|
if (_this7.$toolbar) {
|
|
11947
12665
|
_this7.$toolbar.syncUpdate({
|
|
11948
12666
|
collectColumn: collectColumn,
|
|
11949
12667
|
$table: _this7
|
|
11950
12668
|
});
|
|
11951
12669
|
}
|
|
12670
|
+
|
|
12671
|
+
return _this7.recalculate();
|
|
11952
12672
|
});
|
|
11953
12673
|
},
|
|
11954
12674
|
|
|
@@ -12288,16 +13008,30 @@ var Methods = {
|
|
|
12288
13008
|
treeOpts = this.treeOpts,
|
|
12289
13009
|
expandOpts = this.expandOpts;
|
|
12290
13010
|
var rowkey = getRowkey(this);
|
|
12291
|
-
this.
|
|
12292
|
-
var property =
|
|
12293
|
-
editRender =
|
|
13011
|
+
this.tableFullColumn.forEach(function (column) {
|
|
13012
|
+
var property = column.property,
|
|
13013
|
+
editRender = column.editRender;
|
|
12294
13014
|
|
|
12295
13015
|
if (property && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.has(record, property)) {
|
|
12296
|
-
|
|
13016
|
+
var cellValue = null;
|
|
13017
|
+
|
|
13018
|
+
if (editRender) {
|
|
13019
|
+
var defaultValue = editRender.defaultValue;
|
|
13020
|
+
|
|
13021
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(defaultValue)) {
|
|
13022
|
+
cellValue = defaultValue({
|
|
13023
|
+
column: column
|
|
13024
|
+
});
|
|
13025
|
+
} else if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(defaultValue)) {
|
|
13026
|
+
cellValue = defaultValue;
|
|
13027
|
+
}
|
|
13028
|
+
}
|
|
13029
|
+
|
|
13030
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.set(record, property, cellValue);
|
|
12297
13031
|
}
|
|
12298
13032
|
});
|
|
12299
|
-
var
|
|
12300
|
-
|
|
13033
|
+
var otherFields = [radioOpts.labelField, checkboxOpts.checkField, checkboxOpts.labelField, expandOpts.labelField];
|
|
13034
|
+
otherFields.forEach(function (key) {
|
|
12301
13035
|
if (key && eqEmptyValue(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(record, key))) {
|
|
12302
13036
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.set(record, key, null);
|
|
12303
13037
|
}
|
|
@@ -12658,10 +13392,10 @@ var Methods = {
|
|
|
12658
13392
|
|
|
12659
13393
|
if (filterColumns.length) {
|
|
12660
13394
|
tableData = tableData.filter(function (row) {
|
|
12661
|
-
return filterColumns.every(function (
|
|
12662
|
-
var column =
|
|
12663
|
-
valueList =
|
|
12664
|
-
itemList =
|
|
13395
|
+
return filterColumns.every(function (_ref) {
|
|
13396
|
+
var column = _ref.column,
|
|
13397
|
+
valueList = _ref.valueList,
|
|
13398
|
+
itemList = _ref.itemList;
|
|
12665
13399
|
|
|
12666
13400
|
if (valueList.length && !allRemoteFilter) {
|
|
12667
13401
|
var filterMethod = column.filterMethod,
|
|
@@ -12726,9 +13460,9 @@ var Methods = {
|
|
|
12726
13460
|
} else {
|
|
12727
13461
|
// 兼容 v4
|
|
12728
13462
|
if (sortMultiple) {
|
|
12729
|
-
tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, orderColumns.map(function (
|
|
12730
|
-
var column =
|
|
12731
|
-
order =
|
|
13463
|
+
tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, orderColumns.map(function (_ref2) {
|
|
13464
|
+
var column = _ref2.column,
|
|
13465
|
+
order = _ref2.order;
|
|
12732
13466
|
return [getOrderField(_this15, column), order];
|
|
12733
13467
|
}));
|
|
12734
13468
|
} else {
|
|
@@ -12741,9 +13475,9 @@ var Methods = {
|
|
|
12741
13475
|
});
|
|
12742
13476
|
}
|
|
12743
13477
|
|
|
12744
|
-
tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, sortByConfs || [firstOrderColumn].map(function (
|
|
12745
|
-
var column =
|
|
12746
|
-
order =
|
|
13478
|
+
tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.orderBy(tableData, sortByConfs || [firstOrderColumn].map(function (_ref3) {
|
|
13479
|
+
var column = _ref3.column,
|
|
13480
|
+
order = _ref3.order;
|
|
12747
13481
|
return [getOrderField(_this15, column), order];
|
|
12748
13482
|
}));
|
|
12749
13483
|
}
|
|
@@ -12972,9 +13706,9 @@ var Methods = {
|
|
|
12972
13706
|
keyMap[colKey] = column;
|
|
12973
13707
|
}
|
|
12974
13708
|
});
|
|
12975
|
-
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.each(customMap, function (
|
|
12976
|
-
var visible =
|
|
12977
|
-
resizeWidth =
|
|
13709
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.each(customMap, function (_ref4, field) {
|
|
13710
|
+
var visible = _ref4.visible,
|
|
13711
|
+
resizeWidth = _ref4.resizeWidth;
|
|
12978
13712
|
var column = keyMap[field];
|
|
12979
13713
|
|
|
12980
13714
|
if (column) {
|
|
@@ -14581,10 +15315,10 @@ var Methods = {
|
|
|
14581
15315
|
* 多选,行选中事件
|
|
14582
15316
|
* value 选中true 不选false 半选-1
|
|
14583
15317
|
*/
|
|
14584
|
-
handleSelectRow: function handleSelectRow(
|
|
15318
|
+
handleSelectRow: function handleSelectRow(_ref5, value) {
|
|
14585
15319
|
var _this28 = this;
|
|
14586
15320
|
|
|
14587
|
-
var row =
|
|
15321
|
+
var row = _ref5.row;
|
|
14588
15322
|
var selection = this.selection,
|
|
14589
15323
|
afterFullData = this.afterFullData,
|
|
14590
15324
|
treeConfig = this.treeConfig,
|
|
@@ -15397,8 +16131,8 @@ var Methods = {
|
|
|
15397
16131
|
/**
|
|
15398
16132
|
* 行 hover 事件
|
|
15399
16133
|
*/
|
|
15400
|
-
triggerHoverEvent: function triggerHoverEvent(evnt,
|
|
15401
|
-
var row =
|
|
16134
|
+
triggerHoverEvent: function triggerHoverEvent(evnt, _ref6) {
|
|
16135
|
+
var row = _ref6.row;
|
|
15402
16136
|
this.setHoverRow(row);
|
|
15403
16137
|
},
|
|
15404
16138
|
setHoverRow: function setHoverRow(row) {
|
|
@@ -15780,10 +16514,10 @@ var Methods = {
|
|
|
15780
16514
|
}
|
|
15781
16515
|
|
|
15782
16516
|
if (!sortOpts.remote) {
|
|
15783
|
-
|
|
16517
|
+
this.handleTableData(true);
|
|
15784
16518
|
}
|
|
15785
16519
|
|
|
15786
|
-
return this.$nextTick();
|
|
16520
|
+
return this.$nextTick().then(this.updateStyle);
|
|
15787
16521
|
},
|
|
15788
16522
|
// 在 v3 中废弃
|
|
15789
16523
|
getSortColumn: function getSortColumn() {
|
|
@@ -16893,8 +17627,8 @@ var Methods = {
|
|
|
16893
17627
|
}
|
|
16894
17628
|
|
|
16895
17629
|
_this47.clearValidate();
|
|
16896
|
-
}).catch(function (
|
|
16897
|
-
var rule =
|
|
17630
|
+
}).catch(function (_ref7) {
|
|
17631
|
+
var rule = _ref7.rule;
|
|
16898
17632
|
|
|
16899
17633
|
if (customVal) {
|
|
16900
17634
|
methods_setCellValue(row, column, cellValue);
|
|
@@ -17153,6 +17887,8 @@ funcs.forEach(function (name) {
|
|
|
17153
17887
|
|
|
17154
17888
|
|
|
17155
17889
|
|
|
17890
|
+
|
|
17891
|
+
|
|
17156
17892
|
/**
|
|
17157
17893
|
* 渲染浮固定列
|
|
17158
17894
|
* 分别渲染左边固定列和右边固定列
|
|
@@ -18409,6 +19145,7 @@ function handleUupdateResize(_vm) {
|
|
|
18409
19145
|
|
|
18410
19146
|
|
|
18411
19147
|
|
|
19148
|
+
|
|
18412
19149
|
var Table = Object.assign(table, {
|
|
18413
19150
|
install: function install(Vue) {
|
|
18414
19151
|
if (typeof window !== 'undefined' && window.VXETableMixin) {
|
|
@@ -18445,6 +19182,7 @@ var Table = Object.assign(table, {
|
|
|
18445
19182
|
|
|
18446
19183
|
|
|
18447
19184
|
|
|
19185
|
+
|
|
18448
19186
|
/* harmony default export */ var panel = ({
|
|
18449
19187
|
name: 'VxeTableFilter',
|
|
18450
19188
|
props: {
|
|
@@ -18656,6 +19394,7 @@ var Table = Object.assign(table, {
|
|
|
18656
19394
|
|
|
18657
19395
|
|
|
18658
19396
|
|
|
19397
|
+
|
|
18659
19398
|
/* harmony default export */ var src_mixin = ({
|
|
18660
19399
|
methods: {
|
|
18661
19400
|
/**
|
|
@@ -19072,6 +19811,7 @@ var Filter = {
|
|
|
19072
19811
|
|
|
19073
19812
|
|
|
19074
19813
|
|
|
19814
|
+
|
|
19075
19815
|
/* harmony default export */ var menu_src_mixin = ({
|
|
19076
19816
|
methods: {
|
|
19077
19817
|
/**
|
|
@@ -19461,6 +20201,7 @@ var Menu = {
|
|
|
19461
20201
|
|
|
19462
20202
|
|
|
19463
20203
|
|
|
20204
|
+
|
|
19464
20205
|
/* harmony default export */ var edit_src_mixin = ({
|
|
19465
20206
|
methods: {
|
|
19466
20207
|
/**
|
|
@@ -20229,6 +20970,7 @@ function _arrayWithHoles(arr) {
|
|
|
20229
20970
|
|
|
20230
20971
|
|
|
20231
20972
|
|
|
20973
|
+
|
|
20232
20974
|
function _iterableToArrayLimit(arr, i) {
|
|
20233
20975
|
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
|
|
20234
20976
|
var _arr = [];
|
|
@@ -20282,6 +21024,8 @@ function _slicedToArray(arr, i) {
|
|
|
20282
21024
|
|
|
20283
21025
|
|
|
20284
21026
|
|
|
21027
|
+
|
|
21028
|
+
|
|
20285
21029
|
var allActivedModals = [];
|
|
20286
21030
|
var msgQueue = [];
|
|
20287
21031
|
/* harmony default export */ var modal = ({
|
|
@@ -20411,6 +21155,12 @@ var msgQueue = [];
|
|
|
20411
21155
|
}
|
|
20412
21156
|
},
|
|
20413
21157
|
fullscreen: Boolean,
|
|
21158
|
+
draggable: {
|
|
21159
|
+
type: Boolean,
|
|
21160
|
+
default: function _default() {
|
|
21161
|
+
return conf.modal.draggable;
|
|
21162
|
+
}
|
|
21163
|
+
},
|
|
20414
21164
|
remember: {
|
|
20415
21165
|
type: Boolean,
|
|
20416
21166
|
default: function _default() {
|
|
@@ -20556,6 +21306,7 @@ var msgQueue = [];
|
|
|
20556
21306
|
showClose = this.showClose,
|
|
20557
21307
|
showZoom = this.showZoom,
|
|
20558
21308
|
animat = this.animat,
|
|
21309
|
+
draggable = this.draggable,
|
|
20559
21310
|
loading = this.loading,
|
|
20560
21311
|
status = this.status,
|
|
20561
21312
|
iconStatus = this.iconStatus,
|
|
@@ -20577,9 +21328,11 @@ var msgQueue = [];
|
|
|
20577
21328
|
var footerSlot = $scopedSlots.footer || slots.footer;
|
|
20578
21329
|
var headerSlot = $scopedSlots.header || slots.header;
|
|
20579
21330
|
var titleSlot = $scopedSlots.title || slots.title;
|
|
20580
|
-
var headerOns = {
|
|
20581
|
-
|
|
20582
|
-
|
|
21331
|
+
var headerOns = {};
|
|
21332
|
+
|
|
21333
|
+
if (draggable) {
|
|
21334
|
+
headerOns.mousedown = this.mousedownEvent;
|
|
21335
|
+
}
|
|
20583
21336
|
|
|
20584
21337
|
if (showZoom && dblclickZoom && type === 'modal') {
|
|
20585
21338
|
headerOns.dblclick = this.toggleZoomEvent;
|
|
@@ -20601,7 +21354,10 @@ var msgQueue = [];
|
|
|
20601
21354
|
},
|
|
20602
21355
|
ref: 'modalBox'
|
|
20603
21356
|
}, [this.showHeader ? h('div', {
|
|
20604
|
-
class: ['vxe-modal--header',
|
|
21357
|
+
class: ['vxe-modal--header', {
|
|
21358
|
+
'is--drag': draggable,
|
|
21359
|
+
'is--ellipsis': !isMsg && showTitleOverflow
|
|
21360
|
+
}],
|
|
20605
21361
|
on: headerOns
|
|
20606
21362
|
}, headerSlot ? !inited || destroyOnClose && !visible ? [] : headerSlot.call(this, {
|
|
20607
21363
|
$modal: this
|
|
@@ -21470,6 +22226,7 @@ var es_string_pad_start = __webpack_require__("4d90");
|
|
|
21470
22226
|
|
|
21471
22227
|
|
|
21472
22228
|
|
|
22229
|
+
|
|
21473
22230
|
var yearSize = 20;
|
|
21474
22231
|
var monthSize = 20;
|
|
21475
22232
|
var quarterSize = 8;
|
|
@@ -24000,6 +24757,7 @@ function renderExtraSuffixIcon(h, _vm) {
|
|
|
24000
24757
|
|
|
24001
24758
|
|
|
24002
24759
|
|
|
24760
|
+
|
|
24003
24761
|
function isOptionVisible(option) {
|
|
24004
24762
|
return option.visible !== false;
|
|
24005
24763
|
}
|
|
@@ -24894,6 +25652,7 @@ function select_renderOpts(h, _vm) {
|
|
|
24894
25652
|
|
|
24895
25653
|
|
|
24896
25654
|
|
|
25655
|
+
|
|
24897
25656
|
var util_OptionConfig = /*#__PURE__*/function () {
|
|
24898
25657
|
function OptionConfig($xeselect, _vm) {
|
|
24899
25658
|
_classCallCheck(this, OptionConfig);
|
|
@@ -24931,6 +25690,8 @@ function destroyOption(_vm) {
|
|
|
24931
25690
|
optionConfig = _vm.optionConfig;
|
|
24932
25691
|
var matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.findTree($xeselect.collectOption, function (option) {
|
|
24933
25692
|
return option === optionConfig;
|
|
25693
|
+
}, {
|
|
25694
|
+
children: 'options'
|
|
24934
25695
|
});
|
|
24935
25696
|
|
|
24936
25697
|
if (matchObj) {
|
|
@@ -24943,9 +25704,11 @@ function assemOption(_vm) {
|
|
|
24943
25704
|
$xeoptgroup = _vm.$xeoptgroup,
|
|
24944
25705
|
optionConfig = _vm.optionConfig;
|
|
24945
25706
|
var groupConfig = $xeoptgroup ? $xeoptgroup.optionConfig : null;
|
|
24946
|
-
optionConfig.slots = _vm.$scopedSlots;
|
|
24947
25707
|
|
|
24948
25708
|
if (groupConfig) {
|
|
25709
|
+
// 子选项才允许自定义插槽
|
|
25710
|
+
optionConfig.slots = _vm.$slots;
|
|
25711
|
+
|
|
24949
25712
|
if (!groupConfig.options) {
|
|
24950
25713
|
groupConfig.options = [];
|
|
24951
25714
|
}
|
|
@@ -25014,6 +25777,7 @@ Object.keys(option_props).forEach(function (name) {
|
|
|
25014
25777
|
|
|
25015
25778
|
|
|
25016
25779
|
|
|
25780
|
+
|
|
25017
25781
|
/* harmony default export */ var export_panel = ({
|
|
25018
25782
|
name: 'VxeExportPanel',
|
|
25019
25783
|
props: {
|
|
@@ -25553,6 +26317,7 @@ Object.keys(option_props).forEach(function (name) {
|
|
|
25553
26317
|
|
|
25554
26318
|
|
|
25555
26319
|
|
|
26320
|
+
|
|
25556
26321
|
/* harmony default export */ var import_panel = ({
|
|
25557
26322
|
name: 'VxeImportPanel',
|
|
25558
26323
|
props: {
|
|
@@ -25757,6 +26522,9 @@ var es_string_repeat = __webpack_require__("38cf");
|
|
|
25757
26522
|
|
|
25758
26523
|
|
|
25759
26524
|
|
|
26525
|
+
|
|
26526
|
+
|
|
26527
|
+
|
|
25760
26528
|
|
|
25761
26529
|
|
|
25762
26530
|
|
|
@@ -27581,6 +28349,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
27581
28349
|
|
|
27582
28350
|
|
|
27583
28351
|
|
|
28352
|
+
|
|
27584
28353
|
function print(options) {
|
|
27585
28354
|
var opts = Object.assign({}, options, {
|
|
27586
28355
|
type: 'html'
|
|
@@ -27619,6 +28388,7 @@ var Export = {
|
|
|
27619
28388
|
|
|
27620
28389
|
|
|
27621
28390
|
|
|
28391
|
+
|
|
27622
28392
|
function getTargetOffset(target, container) {
|
|
27623
28393
|
var offsetTop = 0;
|
|
27624
28394
|
var offsetLeft = 0;
|
|
@@ -28107,6 +28877,9 @@ var Keyboard = {
|
|
|
28107
28877
|
|
|
28108
28878
|
|
|
28109
28879
|
|
|
28880
|
+
|
|
28881
|
+
|
|
28882
|
+
|
|
28110
28883
|
/**
|
|
28111
28884
|
* 校验规则
|
|
28112
28885
|
*/
|
|
@@ -28998,6 +29771,7 @@ var cellType = 'header';
|
|
|
28998
29771
|
// CONCATENATED MODULE: ./packages/header/index.js
|
|
28999
29772
|
|
|
29000
29773
|
|
|
29774
|
+
|
|
29001
29775
|
var Header = Object.assign(header, {
|
|
29002
29776
|
install: function install(Vue) {
|
|
29003
29777
|
Vue.component(header.name, header);
|
|
@@ -29011,6 +29785,7 @@ var Header = Object.assign(header, {
|
|
|
29011
29785
|
|
|
29012
29786
|
|
|
29013
29787
|
|
|
29788
|
+
|
|
29014
29789
|
var footer_cellType = 'footer';
|
|
29015
29790
|
|
|
29016
29791
|
function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
|
|
@@ -29359,6 +30134,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
|
|
|
29359
30134
|
// CONCATENATED MODULE: ./packages/footer/index.js
|
|
29360
30135
|
|
|
29361
30136
|
|
|
30137
|
+
|
|
29362
30138
|
var Footer = Object.assign(footer, {
|
|
29363
30139
|
install: function install(Vue) {
|
|
29364
30140
|
Vue.component(footer.name, footer);
|
|
@@ -29516,6 +30292,7 @@ Object.keys(column_props).forEach(function (name) {
|
|
|
29516
30292
|
// CONCATENATED MODULE: ./packages/column/index.js
|
|
29517
30293
|
|
|
29518
30294
|
|
|
30295
|
+
|
|
29519
30296
|
var Column = Object.assign(src_column, {
|
|
29520
30297
|
install: function install(Vue) {
|
|
29521
30298
|
Vue.component(src_column.name, src_column); // 兼容旧用法
|
|
@@ -29539,6 +30316,7 @@ var Column = Object.assign(src_column, {
|
|
|
29539
30316
|
// CONCATENATED MODULE: ./packages/colgroup/index.js
|
|
29540
30317
|
|
|
29541
30318
|
|
|
30319
|
+
|
|
29542
30320
|
var Colgroup = Object.assign(src_group, {
|
|
29543
30321
|
install: function install(Vue) {
|
|
29544
30322
|
Vue.component(src_group.name, src_group); // 兼容旧用法
|
|
@@ -30065,12 +30843,26 @@ Object.keys(packages_table.methods).forEach(function (name) {
|
|
|
30065
30843
|
if (proxyConfig) {
|
|
30066
30844
|
if (isEnableConf(formConfig) && proxyOpts.form && formOpts.items) {
|
|
30067
30845
|
var formData = {};
|
|
30068
|
-
formOpts.items.forEach(function (
|
|
30069
|
-
var field =
|
|
30070
|
-
itemRender =
|
|
30846
|
+
formOpts.items.forEach(function (item) {
|
|
30847
|
+
var field = item.field,
|
|
30848
|
+
itemRender = item.itemRender;
|
|
30071
30849
|
|
|
30072
30850
|
if (field) {
|
|
30073
|
-
|
|
30851
|
+
var itemValue = null;
|
|
30852
|
+
|
|
30853
|
+
if (itemRender) {
|
|
30854
|
+
var defaultValue = itemRender.defaultValue;
|
|
30855
|
+
|
|
30856
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(defaultValue)) {
|
|
30857
|
+
itemValue = defaultValue({
|
|
30858
|
+
item: item
|
|
30859
|
+
});
|
|
30860
|
+
} else if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isUndefined(defaultValue)) {
|
|
30861
|
+
itemValue = defaultValue;
|
|
30862
|
+
}
|
|
30863
|
+
}
|
|
30864
|
+
|
|
30865
|
+
formData[field] = itemValue;
|
|
30074
30866
|
}
|
|
30075
30867
|
});
|
|
30076
30868
|
this.formData = formData;
|
|
@@ -30147,8 +30939,8 @@ Object.keys(packages_table.methods).forEach(function (name) {
|
|
|
30147
30939
|
break;
|
|
30148
30940
|
|
|
30149
30941
|
case 'insert_actived':
|
|
30150
|
-
this.insert().then(function (
|
|
30151
|
-
var row =
|
|
30942
|
+
this.insert().then(function (_ref2) {
|
|
30943
|
+
var row = _ref2.row;
|
|
30152
30944
|
return _this5.setActiveRow(row);
|
|
30153
30945
|
});
|
|
30154
30946
|
break;
|
|
@@ -30719,6 +31511,7 @@ Object.keys(packages_table.methods).forEach(function (name) {
|
|
|
30719
31511
|
|
|
30720
31512
|
|
|
30721
31513
|
|
|
31514
|
+
|
|
30722
31515
|
var Grid = Object.assign(grid, {
|
|
30723
31516
|
install: function install(Vue) {
|
|
30724
31517
|
v_x_e_table.Grid = grid;
|
|
@@ -30740,6 +31533,8 @@ var Grid = Object.assign(grid, {
|
|
|
30740
31533
|
|
|
30741
31534
|
|
|
30742
31535
|
|
|
31536
|
+
|
|
31537
|
+
|
|
30743
31538
|
var renderDropdowns = function renderDropdowns(h, _vm, item, isBtn) {
|
|
30744
31539
|
var _e = _vm._e;
|
|
30745
31540
|
var dropdowns = item.dropdowns;
|
|
@@ -31511,6 +32306,7 @@ function renderCustoms(h, _vm) {
|
|
|
31511
32306
|
// CONCATENATED MODULE: ./packages/toolbar/index.js
|
|
31512
32307
|
|
|
31513
32308
|
|
|
32309
|
+
|
|
31514
32310
|
var Toolbar = Object.assign(src_toolbar, {
|
|
31515
32311
|
install: function install(Vue) {
|
|
31516
32312
|
Vue.component(src_toolbar.name, src_toolbar);
|
|
@@ -32000,6 +32796,7 @@ var Toolbar = Object.assign(src_toolbar, {
|
|
|
32000
32796
|
// CONCATENATED MODULE: ./packages/pager/index.js
|
|
32001
32797
|
|
|
32002
32798
|
|
|
32799
|
+
|
|
32003
32800
|
var Pager = Object.assign(pager, {
|
|
32004
32801
|
install: function install(Vue) {
|
|
32005
32802
|
Vue.component(pager.name, pager);
|
|
@@ -32009,6 +32806,7 @@ var Pager = Object.assign(pager, {
|
|
|
32009
32806
|
// CONCATENATED MODULE: ./packages/checkbox/index.js
|
|
32010
32807
|
|
|
32011
32808
|
|
|
32809
|
+
|
|
32012
32810
|
var Checkbox = Object.assign(src_checkbox, {
|
|
32013
32811
|
install: function install(Vue) {
|
|
32014
32812
|
Vue.component(src_checkbox.name, src_checkbox);
|
|
@@ -32018,6 +32816,7 @@ var Checkbox = Object.assign(src_checkbox, {
|
|
|
32018
32816
|
// CONCATENATED MODULE: ./packages/checkbox/src/group.js
|
|
32019
32817
|
|
|
32020
32818
|
|
|
32819
|
+
|
|
32021
32820
|
/* harmony default export */ var checkbox_src_group = ({
|
|
32022
32821
|
name: 'VxeCheckboxGroup',
|
|
32023
32822
|
props: {
|
|
@@ -32071,6 +32870,7 @@ var Checkbox = Object.assign(src_checkbox, {
|
|
|
32071
32870
|
// CONCATENATED MODULE: ./packages/checkbox-group/index.js
|
|
32072
32871
|
|
|
32073
32872
|
|
|
32873
|
+
|
|
32074
32874
|
var CheckboxGroup = Object.assign(checkbox_src_group, {
|
|
32075
32875
|
install: function install(Vue) {
|
|
32076
32876
|
Vue.component(checkbox_src_group.name, checkbox_src_group);
|
|
@@ -32080,6 +32880,7 @@ var CheckboxGroup = Object.assign(checkbox_src_group, {
|
|
|
32080
32880
|
// CONCATENATED MODULE: ./packages/radio/index.js
|
|
32081
32881
|
|
|
32082
32882
|
|
|
32883
|
+
|
|
32083
32884
|
var Radio = Object.assign(src_radio, {
|
|
32084
32885
|
install: function install(Vue) {
|
|
32085
32886
|
Vue.component(src_radio.name, src_radio);
|
|
@@ -32133,6 +32934,7 @@ var Radio = Object.assign(src_radio, {
|
|
|
32133
32934
|
// CONCATENATED MODULE: ./packages/radio-group/index.js
|
|
32134
32935
|
|
|
32135
32936
|
|
|
32937
|
+
|
|
32136
32938
|
var RadioGroup = Object.assign(radio_src_group, {
|
|
32137
32939
|
install: function install(Vue) {
|
|
32138
32940
|
Vue.component(radio_src_group.name, radio_src_group);
|
|
@@ -32236,6 +33038,7 @@ var RadioGroup = Object.assign(radio_src_group, {
|
|
|
32236
33038
|
// CONCATENATED MODULE: ./packages/radio-button/index.js
|
|
32237
33039
|
|
|
32238
33040
|
|
|
33041
|
+
|
|
32239
33042
|
var RadioButton = Object.assign(src_button, {
|
|
32240
33043
|
install: function install(Vue) {
|
|
32241
33044
|
Vue.component(src_button.name, src_button);
|
|
@@ -32245,6 +33048,7 @@ var RadioButton = Object.assign(src_button, {
|
|
|
32245
33048
|
// CONCATENATED MODULE: ./packages/input/index.js
|
|
32246
33049
|
|
|
32247
33050
|
|
|
33051
|
+
|
|
32248
33052
|
var Input = Object.assign(input, {
|
|
32249
33053
|
install: function install(Vue) {
|
|
32250
33054
|
Vue.component(input.name, input);
|
|
@@ -32263,6 +33067,7 @@ var Input = Object.assign(input, {
|
|
|
32263
33067
|
|
|
32264
33068
|
|
|
32265
33069
|
|
|
33070
|
+
|
|
32266
33071
|
var autoTxtElem;
|
|
32267
33072
|
/* harmony default export */ var src_textarea = ({
|
|
32268
33073
|
name: 'VxeTextarea',
|
|
@@ -32523,6 +33328,7 @@ var autoTxtElem;
|
|
|
32523
33328
|
// CONCATENATED MODULE: ./packages/textarea/index.js
|
|
32524
33329
|
|
|
32525
33330
|
|
|
33331
|
+
|
|
32526
33332
|
var Textarea = Object.assign(src_textarea, {
|
|
32527
33333
|
install: function install(Vue) {
|
|
32528
33334
|
Vue.component(src_textarea.name, src_textarea);
|
|
@@ -32538,6 +33344,7 @@ var Textarea = Object.assign(src_textarea, {
|
|
|
32538
33344
|
|
|
32539
33345
|
|
|
32540
33346
|
|
|
33347
|
+
|
|
32541
33348
|
/* harmony default export */ var button_src_button = ({
|
|
32542
33349
|
name: 'VxeButton',
|
|
32543
33350
|
mixins: [size],
|
|
@@ -32924,6 +33731,7 @@ var Textarea = Object.assign(src_textarea, {
|
|
|
32924
33731
|
// CONCATENATED MODULE: ./packages/button/index.js
|
|
32925
33732
|
|
|
32926
33733
|
|
|
33734
|
+
|
|
32927
33735
|
var Button = Object.assign(button_src_button, {
|
|
32928
33736
|
install: function install(Vue) {
|
|
32929
33737
|
Vue.component(button_src_button.name, button_src_button);
|
|
@@ -32938,6 +33746,8 @@ var Button = Object.assign(button_src_button, {
|
|
|
32938
33746
|
|
|
32939
33747
|
|
|
32940
33748
|
|
|
33749
|
+
|
|
33750
|
+
|
|
32941
33751
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
32942
33752
|
|
|
32943
33753
|
var ModalClass = null;
|
|
@@ -33073,6 +33883,7 @@ var Modal = Object.assign(modal, {
|
|
|
33073
33883
|
|
|
33074
33884
|
|
|
33075
33885
|
|
|
33886
|
+
|
|
33076
33887
|
function updateTipStyle(_vm) {
|
|
33077
33888
|
var wrapperElem = _vm.$el,
|
|
33078
33889
|
tipTarget = _vm.tipTarget,
|
|
@@ -33393,6 +34204,7 @@ function updateTipStyle(_vm) {
|
|
|
33393
34204
|
|
|
33394
34205
|
|
|
33395
34206
|
|
|
34207
|
+
|
|
33396
34208
|
var Tooltip = Object.assign(src_tooltip, {
|
|
33397
34209
|
install: function install(Vue) {
|
|
33398
34210
|
v_x_e_table._tooltip = 1;
|
|
@@ -33409,6 +34221,7 @@ var Tooltip = Object.assign(src_tooltip, {
|
|
|
33409
34221
|
|
|
33410
34222
|
|
|
33411
34223
|
|
|
34224
|
+
|
|
33412
34225
|
var util_ItemConfig = /*#__PURE__*/function () {
|
|
33413
34226
|
function ItemConfig($xeform, item) {
|
|
33414
34227
|
_classCallCheck(this, ItemConfig);
|
|
@@ -33511,6 +34324,10 @@ function assemItem(_vm) {
|
|
|
33511
34324
|
|
|
33512
34325
|
|
|
33513
34326
|
|
|
34327
|
+
|
|
34328
|
+
|
|
34329
|
+
|
|
34330
|
+
|
|
33514
34331
|
|
|
33515
34332
|
|
|
33516
34333
|
|
|
@@ -33627,10 +34444,11 @@ function renderTitle(h, _vm, item) {
|
|
|
33627
34444
|
item: item,
|
|
33628
34445
|
$form: _vm
|
|
33629
34446
|
};
|
|
33630
|
-
var
|
|
34447
|
+
var contVNs = [];
|
|
34448
|
+
var titVNs = [];
|
|
33631
34449
|
|
|
33632
34450
|
if (titlePrefix) {
|
|
33633
|
-
|
|
34451
|
+
titVNs.push(titlePrefix.message ? h('vxe-tooltip', {
|
|
33634
34452
|
props: {
|
|
33635
34453
|
content: UtilTools.getFuncText(titlePrefix.message),
|
|
33636
34454
|
enterable: titlePrefix.enterable,
|
|
@@ -33639,12 +34457,16 @@ function renderTitle(h, _vm, item) {
|
|
|
33639
34457
|
}, [renderPrefixIcon(h, titlePrefix)]) : renderPrefixIcon(h, titlePrefix));
|
|
33640
34458
|
}
|
|
33641
34459
|
|
|
33642
|
-
|
|
34460
|
+
titVNs.push(h('span', {
|
|
33643
34461
|
class: 'vxe-form--item-title-label'
|
|
33644
34462
|
}, compConf && compConf.renderItemTitle ? compConf.renderItemTitle(itemRender, params) : slots && slots.title ? form_callSlot(_vm, slots.title, params, h) : UtilTools.getFuncText(item.title)));
|
|
34463
|
+
contVNs.push(h('div', {
|
|
34464
|
+
class: 'vxe-form--item-title-content'
|
|
34465
|
+
}, titVNs));
|
|
34466
|
+
var fixVNs = [];
|
|
33645
34467
|
|
|
33646
34468
|
if (titleSuffix) {
|
|
33647
|
-
|
|
34469
|
+
fixVNs.push(titleSuffix.message ? h('vxe-tooltip', {
|
|
33648
34470
|
props: {
|
|
33649
34471
|
content: UtilTools.getFuncText(titleSuffix.message),
|
|
33650
34472
|
enterable: titleSuffix.enterable,
|
|
@@ -33653,7 +34475,10 @@ function renderTitle(h, _vm, item) {
|
|
|
33653
34475
|
}, [form_renderSuffixIcon(h, titleSuffix)]) : form_renderSuffixIcon(h, titleSuffix));
|
|
33654
34476
|
}
|
|
33655
34477
|
|
|
33656
|
-
|
|
34478
|
+
contVNs.push(h('div', {
|
|
34479
|
+
class: 'vxe-form--item-title-postfix'
|
|
34480
|
+
}, fixVNs));
|
|
34481
|
+
return contVNs;
|
|
33657
34482
|
}
|
|
33658
34483
|
|
|
33659
34484
|
function renderItems(h, _vm, itemList) {
|
|
@@ -33971,7 +34796,7 @@ function renderItems(h, _vm, itemList) {
|
|
|
33971
34796
|
evnt.preventDefault();
|
|
33972
34797
|
|
|
33973
34798
|
if (!this.preventSubmit) {
|
|
33974
|
-
this.beginValidate().then(function () {
|
|
34799
|
+
this.beginValidate(this.getItems()).then(function () {
|
|
33975
34800
|
_this3.$emit('submit', {
|
|
33976
34801
|
data: _this3.data,
|
|
33977
34802
|
$form: _this3,
|
|
@@ -34059,7 +34884,7 @@ function renderItems(h, _vm, itemList) {
|
|
|
34059
34884
|
var item = params.item;
|
|
34060
34885
|
var tooltipStore = this.tooltipStore;
|
|
34061
34886
|
var $tooltip = this.$refs.tooltip;
|
|
34062
|
-
var overflowElem = evnt.currentTarget;
|
|
34887
|
+
var overflowElem = evnt.currentTarget.children[0];
|
|
34063
34888
|
var content = (overflowElem.textContent || '').trim();
|
|
34064
34889
|
var isCellOverflow = overflowElem.scrollWidth > overflowElem.clientWidth;
|
|
34065
34890
|
clearTimeout(this.tooltipTimeout);
|
|
@@ -34115,9 +34940,14 @@ function renderItems(h, _vm, itemList) {
|
|
|
34115
34940
|
return this.$nextTick();
|
|
34116
34941
|
},
|
|
34117
34942
|
validate: function validate(callback) {
|
|
34118
|
-
return this.beginValidate('', callback);
|
|
34943
|
+
return this.beginValidate(this.getItems(), '', callback);
|
|
34119
34944
|
},
|
|
34120
|
-
|
|
34945
|
+
validateField: function validateField(field, callback) {
|
|
34946
|
+
return this.beginValidate(this.getItems().filter(function (item) {
|
|
34947
|
+
return item.field === field;
|
|
34948
|
+
}), '', callback);
|
|
34949
|
+
},
|
|
34950
|
+
beginValidate: function beginValidate(itemList, type, callback) {
|
|
34121
34951
|
var _this7 = this;
|
|
34122
34952
|
|
|
34123
34953
|
var data = this.data,
|
|
@@ -34126,7 +34956,6 @@ function renderItems(h, _vm, itemList) {
|
|
|
34126
34956
|
var validRest = {};
|
|
34127
34957
|
var validFields = [];
|
|
34128
34958
|
var itemValids = [];
|
|
34129
|
-
var itemList = this.getItems();
|
|
34130
34959
|
this.clearValidate();
|
|
34131
34960
|
clearTimeout(this.showErrTime);
|
|
34132
34961
|
|
|
@@ -34353,6 +35182,7 @@ function renderItems(h, _vm, itemList) {
|
|
|
34353
35182
|
// CONCATENATED MODULE: ./packages/form/index.js
|
|
34354
35183
|
|
|
34355
35184
|
|
|
35185
|
+
|
|
34356
35186
|
var Form = Object.assign(src_form, {
|
|
34357
35187
|
install: function install(Vue) {
|
|
34358
35188
|
Vue.component(src_form.name, src_form);
|
|
@@ -34425,6 +35255,7 @@ Object.keys(form_item_props).forEach(function (name) {
|
|
|
34425
35255
|
// CONCATENATED MODULE: ./packages/form-item/index.js
|
|
34426
35256
|
|
|
34427
35257
|
|
|
35258
|
+
|
|
34428
35259
|
var FormItem = Object.assign(form_item, {
|
|
34429
35260
|
install: function install(Vue) {
|
|
34430
35261
|
Vue.component(form_item.name, form_item);
|
|
@@ -34448,6 +35279,7 @@ var FormItem = Object.assign(form_item, {
|
|
|
34448
35279
|
// CONCATENATED MODULE: ./packages/form-gather/index.js
|
|
34449
35280
|
|
|
34450
35281
|
|
|
35282
|
+
|
|
34451
35283
|
var FormGather = Object.assign(form_gather, {
|
|
34452
35284
|
install: function install(Vue) {
|
|
34453
35285
|
Vue.component(form_gather.name, form_gather);
|
|
@@ -34514,6 +35346,7 @@ Object.keys(optgroup_props).forEach(function (name) {
|
|
|
34514
35346
|
|
|
34515
35347
|
|
|
34516
35348
|
|
|
35349
|
+
|
|
34517
35350
|
var Select = Object.assign(src_select, {
|
|
34518
35351
|
Option: src_option,
|
|
34519
35352
|
Optgroup: optgroup,
|
|
@@ -34527,6 +35360,7 @@ var Select = Object.assign(src_select, {
|
|
|
34527
35360
|
// CONCATENATED MODULE: ./packages/optgroup/index.js
|
|
34528
35361
|
|
|
34529
35362
|
|
|
35363
|
+
|
|
34530
35364
|
var Optgroup = Object.assign(optgroup, {
|
|
34531
35365
|
install: function install(Vue) {
|
|
34532
35366
|
Vue.component(optgroup.name, optgroup);
|
|
@@ -34536,6 +35370,7 @@ var Optgroup = Object.assign(optgroup, {
|
|
|
34536
35370
|
// CONCATENATED MODULE: ./packages/option/index.js
|
|
34537
35371
|
|
|
34538
35372
|
|
|
35373
|
+
|
|
34539
35374
|
var Option = Object.assign(src_option, {
|
|
34540
35375
|
install: function install(Vue) {
|
|
34541
35376
|
Vue.component(src_option.name, src_option);
|
|
@@ -34690,6 +35525,7 @@ var Option = Object.assign(src_option, {
|
|
|
34690
35525
|
// CONCATENATED MODULE: ./packages/switch/index.js
|
|
34691
35526
|
|
|
34692
35527
|
|
|
35528
|
+
|
|
34693
35529
|
var Switch = Object.assign(src_switch, {
|
|
34694
35530
|
install: function install(Vue) {
|
|
34695
35531
|
Vue.component(src_switch.name, src_switch);
|
|
@@ -34705,6 +35541,8 @@ var Switch = Object.assign(src_switch, {
|
|
|
34705
35541
|
|
|
34706
35542
|
|
|
34707
35543
|
|
|
35544
|
+
|
|
35545
|
+
|
|
34708
35546
|
/* harmony default export */ var src_list = ({
|
|
34709
35547
|
name: 'VxeList',
|
|
34710
35548
|
mixins: [size],
|
|
@@ -35071,6 +35909,7 @@ var Switch = Object.assign(src_switch, {
|
|
|
35071
35909
|
// CONCATENATED MODULE: ./packages/list/index.js
|
|
35072
35910
|
|
|
35073
35911
|
|
|
35912
|
+
|
|
35074
35913
|
var List = Object.assign(src_list, {
|
|
35075
35914
|
install: function install(Vue) {
|
|
35076
35915
|
Vue.component(src_list.name, src_list);
|
|
@@ -35083,6 +35922,8 @@ var List = Object.assign(src_list, {
|
|
|
35083
35922
|
|
|
35084
35923
|
|
|
35085
35924
|
|
|
35925
|
+
|
|
35926
|
+
|
|
35086
35927
|
/* harmony default export */ var pulldown = ({
|
|
35087
35928
|
name: 'VxePulldown',
|
|
35088
35929
|
mixins: [size],
|
|
@@ -35383,6 +36224,7 @@ var List = Object.assign(src_list, {
|
|
|
35383
36224
|
// CONCATENATED MODULE: ./packages/pulldown/index.js
|
|
35384
36225
|
|
|
35385
36226
|
|
|
36227
|
+
|
|
35386
36228
|
var Pulldown = Object.assign(pulldown, {
|
|
35387
36229
|
install: function install(Vue) {
|
|
35388
36230
|
Vue.component(pulldown.name, pulldown);
|
|
@@ -35933,6 +36775,16 @@ module.exports = NATIVE_SYMBOL
|
|
|
35933
36775
|
&& typeof Symbol.iterator == 'symbol';
|
|
35934
36776
|
|
|
35935
36777
|
|
|
36778
|
+
/***/ }),
|
|
36779
|
+
|
|
36780
|
+
/***/ "fea9":
|
|
36781
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
36782
|
+
|
|
36783
|
+
var global = __webpack_require__("da84");
|
|
36784
|
+
|
|
36785
|
+
module.exports = global.Promise;
|
|
36786
|
+
|
|
36787
|
+
|
|
35936
36788
|
/***/ })
|
|
35937
36789
|
|
|
35938
36790
|
/******/ });
|