vxe-table 3.12.0-beta.6 → 3.12.0-beta.7
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/es/style.css +1 -1
- package/es/table/module/custom/panel.js +2 -6
- package/es/table/src/methods.js +9 -5
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +13 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/custom/panel.js +2 -6
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/src/methods.js +9 -5
- package/lib/table/src/methods.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/table/module/custom/panel.ts +2 -6
- package/packages/table/src/methods.ts +10 -5
- /package/es/{iconfont.1735262166812.ttf → iconfont.1735277338963.ttf} +0 -0
- /package/es/{iconfont.1735262166812.woff → iconfont.1735277338963.woff} +0 -0
- /package/es/{iconfont.1735262166812.woff2 → iconfont.1735277338963.woff2} +0 -0
- /package/lib/{iconfont.1735262166812.ttf → iconfont.1735277338963.ttf} +0 -0
- /package/lib/{iconfont.1735262166812.woff → iconfont.1735277338963.woff} +0 -0
- /package/lib/{iconfont.1735262166812.woff2 → iconfont.1735277338963.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
|
|
|
2220
2220
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2221
2221
|
|
|
2222
2222
|
|
|
2223
|
-
const version = "3.12.0-beta.
|
|
2223
|
+
const version = "3.12.0-beta.7";
|
|
2224
2224
|
core_.VxeUI.version = version;
|
|
2225
2225
|
core_.VxeUI.tableVersion = version;
|
|
2226
2226
|
core_.VxeUI.setConfig({
|
|
@@ -2808,7 +2808,7 @@ function isNodeElement(elem) {
|
|
|
2808
2808
|
const {
|
|
2809
2809
|
log: log_log
|
|
2810
2810
|
} = core_.VxeUI;
|
|
2811
|
-
const log_version = `table v${"3.12.0-beta.
|
|
2811
|
+
const log_version = `table v${"3.12.0-beta.7"}`;
|
|
2812
2812
|
const warnLog = log_log.create('warn', log_version);
|
|
2813
2813
|
const errLog = log_log.create('error', log_version);
|
|
2814
2814
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -11376,6 +11376,14 @@ const Methods = {
|
|
|
11376
11376
|
evnt.dataTransfer.setDragImage(getTpImg(), 0, 0);
|
|
11377
11377
|
}
|
|
11378
11378
|
},
|
|
11379
|
+
handleColDragSwapColumn() {
|
|
11380
|
+
const $xeTable = this;
|
|
11381
|
+
$xeTable.handleUpdateColumn();
|
|
11382
|
+
$xeTable.parseColumns(false).then(() => {
|
|
11383
|
+
$xeTable.updateCellAreas();
|
|
11384
|
+
$xeTable.saveCustomStore('update:sort');
|
|
11385
|
+
});
|
|
11386
|
+
},
|
|
11379
11387
|
handleColDragSwapEvent(evnt, isSyncColumn, dragCol, prevDragCol, prevDragPos, prevDragToChild) {
|
|
11380
11388
|
const $xeTable = this;
|
|
11381
11389
|
const props = $xeTable;
|
|
@@ -11532,11 +11540,7 @@ const Methods = {
|
|
|
11532
11540
|
}
|
|
11533
11541
|
}, evnt);
|
|
11534
11542
|
if (isSyncColumn) {
|
|
11535
|
-
$xeTable.
|
|
11536
|
-
$xeTable.parseColumns(false).then(() => {
|
|
11537
|
-
$xeTable.updateCellAreas();
|
|
11538
|
-
return $xeTable.saveCustomStore('update:sort');
|
|
11539
|
-
});
|
|
11543
|
+
$xeTable.handleColDragSwapColumn();
|
|
11540
11544
|
}
|
|
11541
11545
|
}).catch(() => {});
|
|
11542
11546
|
}
|
|
@@ -16629,7 +16633,7 @@ const renderPopupPanel = (h, _vm) => {
|
|
|
16629
16633
|
}
|
|
16630
16634
|
}), immediate ? h(VxeUIButtonComponent, {
|
|
16631
16635
|
props: {
|
|
16632
|
-
content: customOpts.resetButtonText || panel_getI18n('vxe.
|
|
16636
|
+
content: customOpts.resetButtonText || panel_getI18n('vxe.table.customClose')
|
|
16633
16637
|
},
|
|
16634
16638
|
on: {
|
|
16635
16639
|
click: _vm.cancelCloseEvent
|
|
@@ -17164,11 +17168,7 @@ const renderPopupPanel = (h, _vm) => {
|
|
|
17164
17168
|
}, evnt);
|
|
17165
17169
|
if (immediate) {
|
|
17166
17170
|
reactData.customColumnList = collectColumn.slice(0);
|
|
17167
|
-
$xeTable.
|
|
17168
|
-
$xeTable.updateCellAreas();
|
|
17169
|
-
$xeTable.handleCustom();
|
|
17170
|
-
$xeTable.saveCustomStore('update:sort');
|
|
17171
|
-
});
|
|
17171
|
+
$xeTable.handleColDragSwapColumn();
|
|
17172
17172
|
}
|
|
17173
17173
|
}).catch(() => {});
|
|
17174
17174
|
}
|