vxe-table 4.19.9 → 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 +24 -18
- package/dist/style.css +1 -1
- package/es/grid/src/grid.js +8 -2
- package/es/locale/lang/ar-EG.js +9 -9
- package/es/locale/lang/de-DE.js +8 -8
- package/es/locale/lang/en-US.js +8 -8
- package/es/locale/lang/es-ES.js +10 -10
- package/es/locale/lang/fr-FR.js +10 -10
- package/es/locale/lang/hu-HU.js +9 -9
- package/es/locale/lang/hy-AM.js +1 -1
- package/es/locale/lang/id-ID.js +10 -10
- package/es/locale/lang/it-IT.js +10 -10
- package/es/locale/lang/ja-JP.js +10 -10
- package/es/locale/lang/ko-KR.js +9 -9
- package/es/locale/lang/ms-MY.js +10 -10
- package/es/locale/lang/nb-NO.js +9 -9
- package/es/locale/lang/pt-BR.js +10 -10
- package/es/locale/lang/ru-RU.js +10 -10
- package/es/locale/lang/th-TH.js +9 -9
- package/es/locale/lang/ug-CN.js +9 -9
- package/es/locale/lang/uk-UA.js +10 -10
- package/es/locale/lang/uz-UZ.js +10 -10
- package/es/locale/lang/vi-VN.js +10 -10
- package/es/style.css +1 -1
- package/es/table/src/body.js +11 -11
- 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 +23 -16
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +9 -9
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +9 -9
- package/lib/locale/lang/de-DE.js +8 -8
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +8 -8
- package/lib/locale/lang/en-US.js +8 -8
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +8 -8
- package/lib/locale/lang/es-ES.js +10 -10
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +10 -10
- package/lib/locale/lang/fr-FR.js +10 -10
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +10 -10
- package/lib/locale/lang/hu-HU.js +9 -9
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +9 -9
- package/lib/locale/lang/hy-AM.js +1 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +1 -1
- package/lib/locale/lang/id-ID.js +10 -10
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +10 -10
- package/lib/locale/lang/it-IT.js +10 -10
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +10 -10
- package/lib/locale/lang/ja-JP.js +10 -10
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +10 -10
- package/lib/locale/lang/ko-KR.js +9 -9
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +9 -9
- package/lib/locale/lang/ms-MY.js +10 -10
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +10 -10
- package/lib/locale/lang/nb-NO.js +9 -9
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +9 -9
- package/lib/locale/lang/pt-BR.js +10 -10
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +10 -10
- package/lib/locale/lang/ru-RU.js +10 -10
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +10 -10
- package/lib/locale/lang/th-TH.js +9 -9
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +9 -9
- package/lib/locale/lang/ug-CN.js +9 -9
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +9 -9
- package/lib/locale/lang/uk-UA.js +10 -10
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +10 -10
- package/lib/locale/lang/uz-UZ.js +10 -10
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +10 -10
- package/lib/locale/lang/vi-VN.js +10 -10
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +10 -10
- package/lib/style.css +1 -1
- package/lib/table/src/body.js +11 -11
- package/lib/table/src/body.min.js +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/locale/lang/ar-EG.ts +9 -9
- package/packages/locale/lang/de-DE.ts +8 -8
- package/packages/locale/lang/en-US.ts +8 -8
- package/packages/locale/lang/es-ES.ts +10 -10
- package/packages/locale/lang/fr-FR.ts +10 -10
- package/packages/locale/lang/hu-HU.ts +9 -9
- package/packages/locale/lang/hy-AM.ts +1 -1
- package/packages/locale/lang/id-ID.ts +10 -10
- package/packages/locale/lang/it-IT.ts +10 -10
- package/packages/locale/lang/ja-JP.ts +10 -10
- package/packages/locale/lang/ko-KR.ts +9 -9
- package/packages/locale/lang/ms-MY.ts +10 -10
- package/packages/locale/lang/nb-NO.ts +9 -9
- package/packages/locale/lang/pt-BR.ts +10 -10
- package/packages/locale/lang/ru-RU.ts +10 -10
- package/packages/locale/lang/th-TH.ts +9 -9
- package/packages/locale/lang/ug-CN.ts +9 -9
- package/packages/locale/lang/uk-UA.ts +10 -10
- package/packages/locale/lang/uz-UZ.ts +10 -10
- package/packages/locale/lang/vi-VN.ts +10 -10
- package/packages/table/src/body.ts +13 -13
- package/packages/table/src/table.ts +3 -3
- /package/es/{iconfont.1780878117167.ttf → iconfont.1781074420923.ttf} +0 -0
- /package/es/{iconfont.1780878117167.woff → iconfont.1781074420923.woff} +0 -0
- /package/es/{iconfont.1780878117167.woff2 → iconfont.1781074420923.woff2} +0 -0
- /package/lib/{iconfont.1780878117167.ttf → iconfont.1781074420923.ttf} +0 -0
- /package/lib/{iconfont.1780878117167.woff → iconfont.1781074420923.woff} +0 -0
- /package/lib/{iconfont.1780878117167.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
|
|
|
@@ -4307,11 +4307,21 @@ var TableBodyComponent = defineVxeComponent({
|
|
|
4307
4307
|
class: 'vxe-cell--wrapper vxe-body-cell--wrapper'
|
|
4308
4308
|
}, column.renderCell(cellParams)));
|
|
4309
4309
|
}
|
|
4310
|
+
tdVNs.push(h('div', {
|
|
4311
|
+
key: 'tc',
|
|
4312
|
+
class: ['vxe-cell', {
|
|
4313
|
+
'c--title': showTitle,
|
|
4314
|
+
'c--tooltip': showTooltip,
|
|
4315
|
+
'c--ellipsis': showEllipsis
|
|
4316
|
+
}],
|
|
4317
|
+
style: tcStyle,
|
|
4318
|
+
title: showTitle ? $xeTable.getCellLabel(row, column) : null
|
|
4319
|
+
}, clVNs));
|
|
4310
4320
|
if (showValidTip && errorValidItem) {
|
|
4311
4321
|
const errRule = errorValidItem.rule;
|
|
4312
4322
|
const validSlot = slots ? slots.valid : null;
|
|
4313
4323
|
const validParams = Object.assign(Object.assign(Object.assign({}, cellParams), errorValidItem), { rule: errorValidItem });
|
|
4314
|
-
|
|
4324
|
+
tdVNs.push(h('div', {
|
|
4315
4325
|
key: 'tcv',
|
|
4316
4326
|
class: ['vxe-cell--valid-error-tip', getPropClass(validOpts.className, validParams)],
|
|
4317
4327
|
style: errRule && errRule.maxWidth
|
|
@@ -4333,16 +4343,6 @@ var TableBodyComponent = defineVxeComponent({
|
|
|
4333
4343
|
])
|
|
4334
4344
|
]));
|
|
4335
4345
|
}
|
|
4336
|
-
tdVNs.push(h('div', {
|
|
4337
|
-
key: 'tc',
|
|
4338
|
-
class: ['vxe-cell', {
|
|
4339
|
-
'c--title': showTitle,
|
|
4340
|
-
'c--tooltip': showTooltip,
|
|
4341
|
-
'c--ellipsis': showEllipsis
|
|
4342
|
-
}],
|
|
4343
|
-
style: tcStyle,
|
|
4344
|
-
title: showTitle ? $xeTable.getCellLabel(row, column) : null
|
|
4345
|
-
}, clVNs));
|
|
4346
4346
|
}
|
|
4347
4347
|
let showAreaRowStatus = false;
|
|
4348
4348
|
if (mouseConfig && mouseOpts.area && !_columnIndex && selectCellToRow) {
|
|
@@ -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);
|