vxe-table 3.17.7 → 3.17.8
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/src/grid.js +47 -29
- package/es/style.css +1 -1
- package/es/table/module/export/mixin.js +3 -1
- package/es/table/src/methods.js +109 -42
- package/es/table/src/props.js +1 -1
- package/es/table/src/table.js +7 -1
- package/es/table/src/util.js +0 -4
- package/es/toolbar/src/toolbar.js +2 -2
- package/es/ui/index.js +13 -4
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +49 -26
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +13411 -13299
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/export/mixin.js +5 -1
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/src/methods.js +114 -43
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/props.js +2 -2
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +8 -2
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +0 -4
- package/lib/table/src/util.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +2 -0
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +12 -3
- 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/src/grid.ts +49 -30
- package/packages/table/module/export/mixin.ts +5 -3
- package/packages/table/src/methods.ts +118 -46
- package/packages/table/src/props.ts +1 -1
- package/packages/table/src/table.ts +7 -1
- package/packages/table/src/util.ts +0 -4
- package/packages/toolbar/src/toolbar.ts +2 -2
- package/packages/ui/index.ts +12 -2
- package/packages/ui/src/dom.ts +1 -1
- /package/es/{iconfont.1754614978390.ttf → iconfont.1754905462391.ttf} +0 -0
- /package/es/{iconfont.1754614978390.woff → iconfont.1754905462391.woff} +0 -0
- /package/es/{iconfont.1754614978390.woff2 → iconfont.1754905462391.woff2} +0 -0
- /package/lib/{iconfont.1754614978390.ttf → iconfont.1754905462391.ttf} +0 -0
- /package/lib/{iconfont.1754614978390.woff → iconfont.1754905462391.woff} +0 -0
- /package/lib/{iconfont.1754614978390.woff2 → iconfont.1754905462391.woff2} +0 -0
|
@@ -8,7 +8,7 @@ import methods from './methods'
|
|
|
8
8
|
import TableBodyComponent from './body'
|
|
9
9
|
import TableHeaderComponent from './header'
|
|
10
10
|
import TableFooterComponent from './footer'
|
|
11
|
-
import tableProps from './props'
|
|
11
|
+
import { tableProps } from './props'
|
|
12
12
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
13
13
|
import { warnLog, errLog } from '../../ui/src/log'
|
|
14
14
|
import TableCustomPanelComponent from '../module/custom/panel'
|
|
@@ -522,6 +522,12 @@ export default {
|
|
|
522
522
|
scrollbarHeight: 0,
|
|
523
523
|
// 行高
|
|
524
524
|
rowHeight: 0,
|
|
525
|
+
// 表头高度
|
|
526
|
+
tHeaderHeight: 0,
|
|
527
|
+
// 表体高度
|
|
528
|
+
tBodyHeight: 0,
|
|
529
|
+
// 表尾高度
|
|
530
|
+
tFooterHeight: 0,
|
|
525
531
|
// 表格父容器的高度
|
|
526
532
|
parentHeight: 0,
|
|
527
533
|
// 是否使用分组表头
|
|
@@ -367,7 +367,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
367
367
|
$xeGrid.triggerToolbarBtnEvent(item, $event)
|
|
368
368
|
} else {
|
|
369
369
|
const gCommandOpts = commands.get(code)
|
|
370
|
-
const params = { code, button: item, $table: $table
|
|
370
|
+
const params = { code, button: item, $table: $table as VxeTableConstructor, $grid: $xeGrid, $gantt: null, $event }
|
|
371
371
|
if (gCommandOpts) {
|
|
372
372
|
const tCommandMethod = gCommandOpts.tableCommandMethod || gCommandOpts.commandMethod
|
|
373
373
|
if (tCommandMethod) {
|
|
@@ -396,7 +396,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
396
396
|
$xeGrid.triggerToolbarTolEvent(item, $event)
|
|
397
397
|
} else {
|
|
398
398
|
const gCommandOpts = commands.get(code)
|
|
399
|
-
const params = { code, button: null, tool: item, $table: $table
|
|
399
|
+
const params = { code, button: null, tool: item, $table: $table as VxeTableConstructor, $grid: $xeGrid, $gantt: null, $event }
|
|
400
400
|
if (gCommandOpts) {
|
|
401
401
|
const tCommandMethod = gCommandOpts.tableCommandMethod || gCommandOpts.commandMethod
|
|
402
402
|
if (tCommandMethod) {
|
package/packages/ui/index.ts
CHANGED
|
@@ -235,7 +235,15 @@ VxeUI.setConfig({
|
|
|
235
235
|
},
|
|
236
236
|
scrollbarConfig: {
|
|
237
237
|
// width: 14,
|
|
238
|
-
// height: 14
|
|
238
|
+
// height: 14,
|
|
239
|
+
x: {
|
|
240
|
+
// position: 'bottom',
|
|
241
|
+
visible: true
|
|
242
|
+
},
|
|
243
|
+
y: {
|
|
244
|
+
// position: 'right',
|
|
245
|
+
visible: true
|
|
246
|
+
}
|
|
239
247
|
}
|
|
240
248
|
},
|
|
241
249
|
// export: {
|
|
@@ -288,7 +296,9 @@ VxeUI.setConfig({
|
|
|
288
296
|
// types: ['csv', 'html', 'xml', 'txt']
|
|
289
297
|
// },
|
|
290
298
|
// buttons: []
|
|
291
|
-
}
|
|
299
|
+
},
|
|
300
|
+
|
|
301
|
+
gantt: {}
|
|
292
302
|
})
|
|
293
303
|
|
|
294
304
|
const iconPrefix = 'vxe-table-icon-'
|
package/packages/ui/src/dom.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|