vxe-table 3.6.14 → 3.6.15-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/lib/form/src/form.js +9 -1
- package/lib/form/src/form.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +21 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/validator/src/mixin.js +9 -1
- package/lib/validator/src/mixin.min.js +1 -1
- package/package.json +1 -1
- package/packages/form/src/form.js +9 -1
- package/packages/validator/src/mixin.js +9 -1
- /package/lib/icon/style/{iconfont.1687652041972.ttf → iconfont.1687738783666.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1687652041972.woff → iconfont.1687738783666.woff} +0 -0
- /package/lib/icon/style/{iconfont.1687652041972.woff2 → iconfont.1687738783666.woff2} +0 -0
- /package/lib/{iconfont.1687652041972.ttf → iconfont.1687738783666.ttf} +0 -0
- /package/lib/{iconfont.1687652041972.woff → iconfont.1687738783666.woff} +0 -0
- /package/lib/{iconfont.1687652041972.woff2 → iconfont.1687738783666.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -11033,7 +11033,7 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
11033
11033
|
|
|
11034
11034
|
|
|
11035
11035
|
function getLog(message, params) {
|
|
11036
|
-
return "[vxe-table v".concat("3.6.
|
|
11036
|
+
return "[vxe-table v".concat("3.6.15-beta.0", "] ").concat(conf.i18n(message, params));
|
|
11037
11037
|
}
|
|
11038
11038
|
function outLog(type) {
|
|
11039
11039
|
return function (message, params) {
|
|
@@ -12220,7 +12220,7 @@ function _t(key, args) {
|
|
|
12220
12220
|
var v = 'v3';
|
|
12221
12221
|
var VXETable = {
|
|
12222
12222
|
v: v,
|
|
12223
|
-
version: "3.6.
|
|
12223
|
+
version: "3.6.15-beta.0",
|
|
12224
12224
|
reg: reg,
|
|
12225
12225
|
use: use,
|
|
12226
12226
|
setup: setup,
|
|
@@ -32064,6 +32064,7 @@ var Keyboard = {
|
|
|
32064
32064
|
|
|
32065
32065
|
|
|
32066
32066
|
|
|
32067
|
+
|
|
32067
32068
|
|
|
32068
32069
|
|
|
32069
32070
|
/**
|
|
@@ -32368,7 +32369,15 @@ function validErrorRuleValue(rule, val) {
|
|
|
32368
32369
|
}
|
|
32369
32370
|
} else {
|
|
32370
32371
|
var isArrType = type === 'array';
|
|
32371
|
-
var
|
|
32372
|
+
var isArrVal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(cellValue);
|
|
32373
|
+
var hasEmpty = true;
|
|
32374
|
+
if (isArrType || isArrVal) {
|
|
32375
|
+
hasEmpty = !isArrVal || !cellValue.length;
|
|
32376
|
+
} else if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(cellValue)) {
|
|
32377
|
+
hasEmpty = eqEmptyValue(cellValue.trim());
|
|
32378
|
+
} else {
|
|
32379
|
+
hasEmpty = eqEmptyValue(cellValue);
|
|
32380
|
+
}
|
|
32372
32381
|
if (required ? hasEmpty || validErrorRuleValue(rule, cellValue) : !hasEmpty && validErrorRuleValue(rule, cellValue)) {
|
|
32373
32382
|
_this3.validRuleErr = true;
|
|
32374
32383
|
errorRules.push(new Rule(rule));
|
|
@@ -37915,7 +37924,15 @@ function getResetValue(value, resetValue) {
|
|
|
37915
37924
|
}
|
|
37916
37925
|
} else {
|
|
37917
37926
|
var isArrType = type === 'array';
|
|
37918
|
-
var
|
|
37927
|
+
var isArrVal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(itemValue);
|
|
37928
|
+
var hasEmpty = true;
|
|
37929
|
+
if (isArrType || isArrVal) {
|
|
37930
|
+
hasEmpty = !isArrVal || !itemValue.length;
|
|
37931
|
+
} else if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(itemValue)) {
|
|
37932
|
+
hasEmpty = eqEmptyValue(itemValue.trim());
|
|
37933
|
+
} else {
|
|
37934
|
+
hasEmpty = eqEmptyValue(itemValue);
|
|
37935
|
+
}
|
|
37919
37936
|
if (required ? hasEmpty || form_validErrorRuleValue(rule, itemValue) : !hasEmpty && form_validErrorRuleValue(rule, itemValue)) {
|
|
37920
37937
|
errorRules.push(new form_Rule(rule));
|
|
37921
37938
|
}
|