vxe-table 3.18.5 → 3.18.6
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/grid/index.js +7 -3
- package/es/style.css +1 -1
- package/es/table/module/custom/panel.js +5 -6
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/index.js +7 -3
- package/lib/grid/index.min.js +1 -1
- package/lib/index.umd.js +17 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/custom/panel.js +5 -5
- package/lib/table/module/custom/panel.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 +1 -1
- package/packages/grid/index.ts +8 -4
- package/packages/table/module/custom/panel.ts +5 -6
- /package/es/{iconfont.1756865980627.ttf → iconfont.1756974415046.ttf} +0 -0
- /package/es/{iconfont.1756865980627.woff → iconfont.1756974415046.woff} +0 -0
- /package/es/{iconfont.1756865980627.woff2 → iconfont.1756974415046.woff2} +0 -0
- /package/lib/{iconfont.1756865980627.ttf → iconfont.1756974415046.ttf} +0 -0
- /package/lib/{iconfont.1756865980627.woff → iconfont.1756974415046.woff} +0 -0
- /package/lib/{iconfont.1756865980627.woff2 → iconfont.1756974415046.woff2} +0 -0
|
@@ -201,12 +201,12 @@ const renderSimplePanel = (h, _vm) => {
|
|
|
201
201
|
}, [
|
|
202
202
|
h('span', {
|
|
203
203
|
class: ['vxe-table-custom--sort-btn', {
|
|
204
|
-
'is--disabled': isDisabled || isHidden
|
|
204
|
+
'is--disabled': isDisabled || isHidden
|
|
205
205
|
}],
|
|
206
206
|
attrs: {
|
|
207
207
|
title: getI18n('vxe.custom.setting.sortHelpTip')
|
|
208
208
|
},
|
|
209
|
-
on: isDisabled || isHidden
|
|
209
|
+
on: isDisabled || isHidden
|
|
210
210
|
? {}
|
|
211
211
|
: {
|
|
212
212
|
mousedown: _vm.sortMousedownEvent,
|
|
@@ -545,12 +545,12 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
545
545
|
? ((isCrossDrag ? immediate : false) || column.level === 1
|
|
546
546
|
? h('div', {
|
|
547
547
|
class: ['vxe-table-custom-popup--column-sort-btn', {
|
|
548
|
-
'is--disabled': isDisabled || isHidden
|
|
548
|
+
'is--disabled': isDisabled || isHidden
|
|
549
549
|
}],
|
|
550
550
|
attrs: {
|
|
551
551
|
title: getI18n('vxe.custom.setting.sortHelpTip')
|
|
552
552
|
},
|
|
553
|
-
on: (isDisabled || isHidden
|
|
553
|
+
on: (isDisabled || isHidden
|
|
554
554
|
? {}
|
|
555
555
|
: {
|
|
556
556
|
mousedown: _vm.sortMousedownEvent,
|
|
@@ -1373,8 +1373,7 @@ export default {
|
|
|
1373
1373
|
if (!dragCol ||
|
|
1374
1374
|
(dragCol && dragCol.id === column.id) ||
|
|
1375
1375
|
(!isCrossDrag && column.level > 1) ||
|
|
1376
|
-
(!immediate && column.level > 1)
|
|
1377
|
-
column.renderFixed) {
|
|
1376
|
+
(!immediate && column.level > 1)) {
|
|
1378
1377
|
showDropTip($xeTableCustomPanel, evnt, optEl, false, dragPos);
|
|
1379
1378
|
return;
|
|
1380
1379
|
}
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/grid/index.js
CHANGED
|
@@ -7,14 +7,18 @@ exports.default = exports.VxeGrid = exports.Grid = void 0;
|
|
|
7
7
|
var _ui = require("../ui");
|
|
8
8
|
var _grid = _interopRequireDefault(require("./src/grid"));
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
let isReg = false;
|
|
10
11
|
const VxeGrid = exports.VxeGrid = Object.assign({}, _grid.default, {
|
|
11
12
|
install(app) {
|
|
13
|
+
if (!isReg) {
|
|
14
|
+
isReg = true;
|
|
15
|
+
if (_ui.VxeUI.dynamicApp) {
|
|
16
|
+
_ui.VxeUI.dynamicApp.component(_grid.default.name, _grid.default);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
12
19
|
app.component(_grid.default.name, _grid.default);
|
|
13
20
|
}
|
|
14
21
|
});
|
|
15
|
-
if (_ui.VxeUI.dynamicApp) {
|
|
16
|
-
_ui.VxeUI.dynamicApp.component(_grid.default.name, _grid.default);
|
|
17
|
-
}
|
|
18
22
|
_ui.VxeUI.component(_grid.default);
|
|
19
23
|
const Grid = exports.Grid = VxeGrid;
|
|
20
24
|
var _default = exports.default = VxeGrid;
|
package/lib/grid/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.VxeGrid=exports.Grid=void 0;var _ui=require("../ui"),_grid=_interopRequireDefault(require("./src/grid"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let VxeGrid=exports.VxeGrid=Object.assign({},_grid.default,{install(e){
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.VxeGrid=exports.Grid=void 0;var _ui=require("../ui"),_grid=_interopRequireDefault(require("./src/grid"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let isReg=!1,VxeGrid=exports.VxeGrid=Object.assign({},_grid.default,{install(e){isReg||(isReg=!0,_ui.VxeUI.dynamicApp&&_ui.VxeUI.dynamicApp.component(_grid.default.name,_grid.default)),e.component(_grid.default.name,_grid.default)}}),Grid=(_ui.VxeUI.component(_grid.default),exports.Grid=VxeGrid);var _default=exports.default=VxeGrid;
|
package/lib/index.umd.js
CHANGED
|
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
|
|
|
2002
2002
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2003
2003
|
|
|
2004
2004
|
|
|
2005
|
-
const version = "3.18.
|
|
2005
|
+
const version = "3.18.6";
|
|
2006
2006
|
core_.VxeUI.version = version;
|
|
2007
2007
|
core_.VxeUI.tableVersion = version;
|
|
2008
2008
|
core_.VxeUI.setConfig({
|
|
@@ -2678,7 +2678,7 @@ function isNodeElement(elem) {
|
|
|
2678
2678
|
const {
|
|
2679
2679
|
log: log_log
|
|
2680
2680
|
} = core_.VxeUI;
|
|
2681
|
-
const log_version = `table v${"3.18.
|
|
2681
|
+
const log_version = `table v${"3.18.6"}`;
|
|
2682
2682
|
const warnLog = log_log.create('warn', log_version);
|
|
2683
2683
|
const errLog = log_log.create('error', log_version);
|
|
2684
2684
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -21523,12 +21523,12 @@ const renderSimplePanel = (h, _vm) => {
|
|
|
21523
21523
|
class: 'vxe-table-custom--sort-option'
|
|
21524
21524
|
}, [h('span', {
|
|
21525
21525
|
class: ['vxe-table-custom--sort-btn', {
|
|
21526
|
-
'is--disabled': isDisabled || isHidden
|
|
21526
|
+
'is--disabled': isDisabled || isHidden
|
|
21527
21527
|
}],
|
|
21528
21528
|
attrs: {
|
|
21529
21529
|
title: panel_getI18n('vxe.custom.setting.sortHelpTip')
|
|
21530
21530
|
},
|
|
21531
|
-
on: isDisabled || isHidden
|
|
21531
|
+
on: isDisabled || isHidden ? {} : {
|
|
21532
21532
|
mousedown: _vm.sortMousedownEvent,
|
|
21533
21533
|
mouseup: _vm.sortMouseupEvent
|
|
21534
21534
|
}
|
|
@@ -21824,12 +21824,12 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
21824
21824
|
class: 'vxe-table-custom-popup--name'
|
|
21825
21825
|
}, [allowSort ? (isCrossDrag ? immediate : false) || column.level === 1 ? h('div', {
|
|
21826
21826
|
class: ['vxe-table-custom-popup--column-sort-btn', {
|
|
21827
|
-
'is--disabled': isDisabled || isHidden
|
|
21827
|
+
'is--disabled': isDisabled || isHidden
|
|
21828
21828
|
}],
|
|
21829
21829
|
attrs: {
|
|
21830
21830
|
title: panel_getI18n('vxe.custom.setting.sortHelpTip')
|
|
21831
21831
|
},
|
|
21832
|
-
on: isDisabled || isHidden
|
|
21832
|
+
on: isDisabled || isHidden ? {} : {
|
|
21833
21833
|
mousedown: _vm.sortMousedownEvent,
|
|
21834
21834
|
mouseup: _vm.sortMouseupEvent
|
|
21835
21835
|
}
|
|
@@ -22623,7 +22623,7 @@ const renderPopupPanel = (h, $xeTableCustomPanel) => {
|
|
|
22623
22623
|
evnt.preventDefault();
|
|
22624
22624
|
const offsetY = evnt.clientY - optEl.getBoundingClientRect().y;
|
|
22625
22625
|
const dragPos = offsetY < optEl.clientHeight / 2 ? 'top' : 'bottom';
|
|
22626
|
-
if (!dragCol || dragCol && dragCol.id === column.id || !isCrossDrag && column.level > 1 || !immediate && column.level > 1
|
|
22626
|
+
if (!dragCol || dragCol && dragCol.id === column.id || !isCrossDrag && column.level > 1 || !immediate && column.level > 1) {
|
|
22627
22627
|
panel_showDropTip($xeTableCustomPanel, evnt, optEl, false, dragPos);
|
|
22628
22628
|
return;
|
|
22629
22629
|
}
|
|
@@ -34610,14 +34610,18 @@ function grid_createInternalData() {
|
|
|
34610
34610
|
;// CONCATENATED MODULE: ./packages/grid/index.ts
|
|
34611
34611
|
|
|
34612
34612
|
|
|
34613
|
+
let isReg = false;
|
|
34613
34614
|
const VxeGrid = Object.assign({}, grid, {
|
|
34614
34615
|
install(app) {
|
|
34616
|
+
if (!isReg) {
|
|
34617
|
+
isReg = true;
|
|
34618
|
+
if (core_.VxeUI.dynamicApp) {
|
|
34619
|
+
core_.VxeUI.dynamicApp.component(grid.name, grid);
|
|
34620
|
+
}
|
|
34621
|
+
}
|
|
34615
34622
|
app.component(grid.name, grid);
|
|
34616
34623
|
}
|
|
34617
34624
|
});
|
|
34618
|
-
if (core_.VxeUI.dynamicApp) {
|
|
34619
|
-
core_.VxeUI.dynamicApp.component(grid.name, grid);
|
|
34620
|
-
}
|
|
34621
34625
|
core_.VxeUI.component(grid);
|
|
34622
34626
|
const Grid = VxeGrid;
|
|
34623
34627
|
/* harmony default export */ var packages_grid = ((/* unused pure expression or super */ null && (VxeGrid)));
|
|
@@ -35992,7 +35996,7 @@ render_renderer.mixin({
|
|
|
35992
35996
|
|
|
35993
35997
|
|
|
35994
35998
|
|
|
35995
|
-
let
|
|
35999
|
+
let table_isReg = false;
|
|
35996
36000
|
const VxeTable = Object.assign({}, table, {
|
|
35997
36001
|
install(app) {
|
|
35998
36002
|
if (typeof window !== 'undefined') {
|
|
@@ -36024,8 +36028,8 @@ const VxeTable = Object.assign({}, table, {
|
|
|
36024
36028
|
(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$vxe.t = core_.VxeUI.t;
|
|
36025
36029
|
(external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$vxe._t = core_.VxeUI._t;
|
|
36026
36030
|
}
|
|
36027
|
-
if (!
|
|
36028
|
-
|
|
36031
|
+
if (!table_isReg) {
|
|
36032
|
+
table_isReg = true;
|
|
36029
36033
|
if (core_.VxeUI.dynamicApp) {
|
|
36030
36034
|
core_.VxeUI.dynamicApp.component(table.name, table);
|
|
36031
36035
|
}
|