vxe-table 4.19.10 → 4.19.11
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/dist/all.esm.js +13 -7
- package/dist/style.css +1 -1
- package/es/grid/src/grid.js +8 -2
- package/es/style.css +1 -1
- package/es/table/src/table.js +3 -3
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +6 -2
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +12 -5
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +4 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +2 -2
- package/packages/grid/src/grid.ts +6 -2
- package/packages/table/src/table.ts +3 -3
- /package/es/{iconfont.1780911752570.ttf → iconfont.1781074420923.ttf} +0 -0
- /package/es/{iconfont.1780911752570.woff → iconfont.1781074420923.woff} +0 -0
- /package/es/{iconfont.1780911752570.woff2 → iconfont.1781074420923.woff2} +0 -0
- /package/lib/{iconfont.1780911752570.ttf → iconfont.1781074420923.ttf} +0 -0
- /package/lib/{iconfont.1780911752570.woff → iconfont.1781074420923.woff} +0 -0
- /package/lib/{iconfont.1780911752570.woff2 → iconfont.1781074420923.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -44,7 +44,7 @@ function eqEmptyValue(cellValue) {
|
|
|
44
44
|
return cellValue === '' || XEUtils.eqNull(cellValue);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
const version$1 = "4.19.
|
|
47
|
+
const version$1 = "4.19.11";
|
|
48
48
|
VxeUI.version = version$1;
|
|
49
49
|
VxeUI.tableVersion = version$1;
|
|
50
50
|
VxeUI.setConfig({
|
|
@@ -556,7 +556,7 @@ const modal = {
|
|
|
556
556
|
const defineVxeComponent = defineComponent;
|
|
557
557
|
|
|
558
558
|
const { log } = VxeUI;
|
|
559
|
-
const version = `table v${"4.19.
|
|
559
|
+
const version = `table v${"4.19.11"}`;
|
|
560
560
|
const warnLog = log.create('warn', version);
|
|
561
561
|
const errLog = log.create('error', version);
|
|
562
562
|
|
|
@@ -16545,9 +16545,9 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
16545
16545
|
if (expandOpts.mode !== 'inside' && (treeConfig && !treeOpts.transform)) {
|
|
16546
16546
|
errLog('vxe.error.notConflictProp', ['tree-config.transform=false', 'expand-config.mode=inside']);
|
|
16547
16547
|
}
|
|
16548
|
-
if (props.spanMethod) {
|
|
16549
|
-
|
|
16550
|
-
}
|
|
16548
|
+
// if (props.spanMethod) {
|
|
16549
|
+
// warnLog('vxe.error.notSupportProp', ['column.type=expand', 'span-method', 'span-method=null'])
|
|
16550
|
+
// }
|
|
16551
16551
|
}
|
|
16552
16552
|
if (htmlColumn) {
|
|
16553
16553
|
if (!columnOpts.useKey) {
|
|
@@ -30245,6 +30245,7 @@ var VxeGridComponent = defineVxeComponent({
|
|
|
30245
30245
|
return;
|
|
30246
30246
|
}
|
|
30247
30247
|
if (proxyConfig && isEnableConf(proxyOpts)) {
|
|
30248
|
+
$xeGrid.dispatchEvent('form-submit', params, params.$event);
|
|
30248
30249
|
internalData.uFoot = true;
|
|
30249
30250
|
$xeGrid.commitProxy('reload').then((rest) => {
|
|
30250
30251
|
$xeGrid.dispatchEvent('proxy-query', Object.assign(Object.assign({}, rest), { isReload: true }), params.$event);
|
|
@@ -30252,7 +30253,9 @@ var VxeGridComponent = defineVxeComponent({
|
|
|
30252
30253
|
internalData.uFoot = false;
|
|
30253
30254
|
updateQueryFooter();
|
|
30254
30255
|
}
|
|
30255
|
-
|
|
30256
|
+
else {
|
|
30257
|
+
$xeGrid.dispatchEvent('form-submit', params, params.$event);
|
|
30258
|
+
}
|
|
30256
30259
|
};
|
|
30257
30260
|
const resetFormEvent = (params) => {
|
|
30258
30261
|
const $xeTable = refTable.value;
|
|
@@ -30260,6 +30263,7 @@ var VxeGridComponent = defineVxeComponent({
|
|
|
30260
30263
|
const { $event } = params;
|
|
30261
30264
|
const proxyOpts = computeProxyOpts.value;
|
|
30262
30265
|
if (proxyConfig && isEnableConf(proxyOpts)) {
|
|
30266
|
+
$xeGrid.dispatchEvent('form-reset', params, $event);
|
|
30263
30267
|
if ($xeTable) {
|
|
30264
30268
|
$xeTable.clearScroll();
|
|
30265
30269
|
}
|
|
@@ -30270,7 +30274,9 @@ var VxeGridComponent = defineVxeComponent({
|
|
|
30270
30274
|
internalData.uFoot = false;
|
|
30271
30275
|
updateQueryFooter();
|
|
30272
30276
|
}
|
|
30273
|
-
|
|
30277
|
+
else {
|
|
30278
|
+
$xeGrid.dispatchEvent('form-reset', params, $event);
|
|
30279
|
+
}
|
|
30274
30280
|
};
|
|
30275
30281
|
const submitInvalidEvent = (params) => {
|
|
30276
30282
|
$xeGrid.dispatchEvent('form-submit-invalid', params, params.$event);
|