vxe-table 4.13.38 → 4.13.40
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/README.en.md +2 -0
- package/README.ja-JP.md +2 -0
- package/README.md +3 -0
- package/README.zh-TW.md +3 -1
- package/es/grid/src/grid.js +21 -6
- package/es/{iconfont.1749796903898.ttf → iconfont.1750082858834.ttf} +0 -0
- package/es/iconfont.1750082858834.woff +0 -0
- package/es/iconfont.1750082858834.woff2 +0 -0
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +6 -0
- package/es/locale/lang/de-DE.js +6 -0
- package/es/locale/lang/en-US.js +6 -0
- package/es/locale/lang/es-ES.js +6 -0
- package/es/locale/lang/fr-FR.js +6 -0
- package/es/locale/lang/hu-HU.js +6 -0
- package/es/locale/lang/hy-AM.js +6 -0
- package/es/locale/lang/id-ID.js +6 -0
- package/es/locale/lang/it-IT.js +6 -0
- package/es/locale/lang/ja-JP.js +6 -0
- package/es/locale/lang/ko-KR.js +6 -0
- package/es/locale/lang/ms-MY.js +6 -0
- package/es/locale/lang/nb-NO.js +6 -0
- package/es/locale/lang/pt-BR.js +6 -0
- package/es/locale/lang/ru-RU.js +6 -0
- package/es/locale/lang/th-TH.js +6 -0
- package/es/locale/lang/ug-CN.js +6 -0
- package/es/locale/lang/uk-UA.js +6 -0
- package/es/locale/lang/uz-UZ.js +6 -0
- package/es/locale/lang/vi-VN.js +6 -0
- package/es/locale/lang/zh-CHT.js +6 -0
- package/es/locale/lang/zh-CN.js +6 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/hook.js +29 -4
- package/es/table/module/custom/panel.js +105 -93
- package/es/table/module/export/export-panel.js +3 -2
- package/es/table/module/export/import-panel.js +3 -2
- package/es/table/module/filter/panel.js +3 -2
- package/es/table/module/menu/panel.js +3 -2
- package/es/table/src/body.js +8 -6
- package/es/table/src/column.js +3 -2
- package/es/table/src/footer.js +3 -2
- package/es/table/src/group.js +3 -2
- package/es/table/src/header.js +3 -2
- package/es/table/src/props.js +28 -7
- package/es/table/src/table.js +64 -47
- package/es/table/style.css +22 -3
- package/es/table/style.min.css +1 -1
- package/es/toolbar/src/toolbar.js +3 -2
- package/es/ui/index.js +4 -1
- package/es/ui/src/comp.js +2 -0
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +22 -3
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +20 -5
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/{iconfont.1749796903898.ttf → iconfont.1750082858834.ttf} +0 -0
- package/lib/iconfont.1750082858834.woff +0 -0
- package/lib/iconfont.1750082858834.woff2 +0 -0
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +149 -51
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +6 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +6 -0
- package/lib/locale/lang/de-DE.js +6 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +6 -0
- package/lib/locale/lang/en-US.js +6 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +6 -0
- package/lib/locale/lang/es-ES.js +6 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +6 -0
- package/lib/locale/lang/fr-FR.js +6 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +6 -0
- package/lib/locale/lang/hu-HU.js +6 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +6 -0
- package/lib/locale/lang/hy-AM.js +6 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +6 -0
- package/lib/locale/lang/id-ID.js +6 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +6 -0
- package/lib/locale/lang/it-IT.js +6 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +6 -0
- package/lib/locale/lang/ja-JP.js +6 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +6 -0
- package/lib/locale/lang/ko-KR.js +6 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +6 -0
- package/lib/locale/lang/ms-MY.js +6 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +6 -0
- package/lib/locale/lang/nb-NO.js +6 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +6 -0
- package/lib/locale/lang/pt-BR.js +6 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +6 -0
- package/lib/locale/lang/ru-RU.js +6 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +6 -0
- package/lib/locale/lang/th-TH.js +6 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +6 -0
- package/lib/locale/lang/ug-CN.js +6 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +6 -0
- package/lib/locale/lang/uk-UA.js +6 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +6 -0
- package/lib/locale/lang/uz-UZ.js +6 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +6 -0
- package/lib/locale/lang/vi-VN.js +6 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +6 -0
- package/lib/locale/lang/zh-CHT.js +6 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +6 -0
- package/lib/locale/lang/zh-CN.js +6 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +6 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/hook.js +32 -4
- package/lib/table/module/custom/hook.min.js +1 -1
- package/lib/table/module/custom/panel.js +14 -3
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/export/export-panel.js +2 -1
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/import-panel.js +2 -1
- package/lib/table/module/export/import-panel.min.js +1 -1
- package/lib/table/module/filter/panel.js +2 -1
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/module/menu/panel.js +2 -1
- package/lib/table/module/menu/panel.min.js +1 -1
- package/lib/table/src/body.js +10 -10
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/column.js +2 -1
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/footer.js +2 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/group.js +2 -1
- package/lib/table/src/group.min.js +1 -1
- package/lib/table/src/header.js +2 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/props.js +28 -7
- package/lib/table/src/table.js +13 -11
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +22 -3
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/src/toolbar.js +2 -1
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +4 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/comp.js +8 -0
- package/lib/ui/src/comp.min.js +1 -0
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-table/style/style.css +22 -3
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +29 -7
- package/packages/locale/lang/ar-EG.ts +6 -0
- package/packages/locale/lang/de-DE.ts +6 -0
- package/packages/locale/lang/en-US.ts +6 -0
- package/packages/locale/lang/es-ES.ts +6 -0
- package/packages/locale/lang/fr-FR.ts +6 -0
- package/packages/locale/lang/hu-HU.ts +6 -0
- package/packages/locale/lang/hy-AM.ts +6 -0
- package/packages/locale/lang/id-ID.ts +6 -0
- package/packages/locale/lang/it-IT.ts +6 -0
- package/packages/locale/lang/ja-JP.ts +6 -0
- package/packages/locale/lang/ko-KR.ts +6 -0
- package/packages/locale/lang/ms-MY.ts +6 -0
- package/packages/locale/lang/nb-NO.ts +6 -0
- package/packages/locale/lang/pt-BR.ts +6 -0
- package/packages/locale/lang/ru-RU.ts +6 -0
- package/packages/locale/lang/th-TH.ts +6 -0
- package/packages/locale/lang/ug-CN.ts +6 -0
- package/packages/locale/lang/uk-UA.ts +6 -0
- package/packages/locale/lang/uz-UZ.ts +6 -0
- package/packages/locale/lang/vi-VN.ts +6 -0
- package/packages/locale/lang/zh-CHT.ts +6 -0
- package/packages/locale/lang/zh-CN.ts +6 -0
- package/packages/table/module/custom/hook.ts +27 -4
- package/packages/table/module/custom/panel.ts +114 -102
- package/packages/table/module/export/export-panel.ts +3 -2
- package/packages/table/module/export/import-panel.ts +3 -2
- package/packages/table/module/filter/panel.ts +3 -2
- package/packages/table/module/menu/panel.ts +3 -2
- package/packages/table/src/body.ts +11 -9
- package/packages/table/src/cell.ts +14 -14
- package/packages/table/src/column.ts +3 -2
- package/packages/table/src/footer.ts +3 -2
- package/packages/table/src/group.ts +3 -2
- package/packages/table/src/header.ts +3 -2
- package/packages/table/src/props.ts +28 -7
- package/packages/table/src/table.ts +66 -46
- package/packages/toolbar/src/toolbar.ts +3 -2
- package/packages/ui/index.ts +11 -0
- package/packages/ui/src/comp.ts +3 -0
- package/styles/components/icon.scss +13 -1
- package/styles/components/table-module/custom.scss +9 -2
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/es/iconfont.1749796903898.woff +0 -0
- package/es/iconfont.1749796903898.woff2 +0 -0
- package/lib/iconfont.1749796903898.woff +0 -0
- package/lib/iconfont.1749796903898.woff2 +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, ref, computed, inject, Teleport } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../../ui/src/comp'
|
|
2
3
|
import { VxeUI } from '../../../ui'
|
|
3
4
|
import { formatText, isEnableConf } from '../../../ui/src/utils'
|
|
4
5
|
import { getPropClass } from '../../../ui/src/dom'
|
|
@@ -9,7 +10,7 @@ import type { VxeTableConstructor, VxeTableMethods, VxeTablePrivateMethods } fro
|
|
|
9
10
|
|
|
10
11
|
const { getI18n, getIcon, renderer } = VxeUI
|
|
11
12
|
|
|
12
|
-
export default
|
|
13
|
+
export default defineVxeComponent({
|
|
13
14
|
name: 'VxeTableFilterPanel',
|
|
14
15
|
props: {
|
|
15
16
|
filterStore: Object as any
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Teleport, inject, ref, Ref, createCommentVNode } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../../ui/src/comp'
|
|
2
3
|
import { VxeUI } from '../../../ui'
|
|
3
4
|
import { getFuncText } from '../../../ui/src/utils'
|
|
4
5
|
import XEUtils from 'xe-utils'
|
|
@@ -7,7 +8,7 @@ import type { VxeTablePrivateMethods, VxeTableConstructor, VxeTableMethods } fro
|
|
|
7
8
|
|
|
8
9
|
const { getIcon } = VxeUI
|
|
9
10
|
|
|
10
|
-
export default
|
|
11
|
+
export default defineVxeComponent({
|
|
11
12
|
name: 'VxeTableMenuPanel',
|
|
12
13
|
setup (props, context) {
|
|
13
14
|
const xID = XEUtils.uniqueId()
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransitionGroup, h, ref, Ref, PropType, inject, nextTick, onMounted, onUnmounted } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp'
|
|
2
3
|
import XEUtils from 'xe-utils'
|
|
3
4
|
import { VxeUI } from '../../ui'
|
|
4
5
|
import { getOffsetSize, calcTreeLine, getRowid, createHandleGetRowId, getCellRestHeight } from './util'
|
|
@@ -12,7 +13,7 @@ const { getI18n, renderer, renderEmptyElement } = VxeUI
|
|
|
12
13
|
|
|
13
14
|
const renderType = 'body'
|
|
14
15
|
|
|
15
|
-
export default
|
|
16
|
+
export default defineVxeComponent({
|
|
16
17
|
name: 'VxeTableBody',
|
|
17
18
|
props: {
|
|
18
19
|
tableData: Array as PropType<any[]>,
|
|
@@ -45,7 +46,7 @@ export default defineComponent({
|
|
|
45
46
|
return !!(isDragResize || (lastScrollTime && Date.now() < lastScrollTime + (delayHover as number)))
|
|
46
47
|
}
|
|
47
48
|
|
|
48
|
-
const renderLine = (rowid: string, params: VxeTableDefines.CellRenderBodyParams, cellHeight: number) => {
|
|
49
|
+
const renderLine = (rowid: string, params: VxeTableDefines.CellRenderBodyParams, cellHeight: number): VxeComponentSlotType[] => {
|
|
49
50
|
const { row, column } = params
|
|
50
51
|
const { afterFullData } = tableInternalData
|
|
51
52
|
const { treeConfig } = tableProps
|
|
@@ -302,7 +303,7 @@ export default defineComponent({
|
|
|
302
303
|
if (mEndRow) {
|
|
303
304
|
const meRowRest = fullAllDataRowIdData[getRowid($xeTable, mEndRow)]
|
|
304
305
|
if (meRowRest) {
|
|
305
|
-
cellHeight += meRowRest.oTop - rowRest.oTop
|
|
306
|
+
cellHeight += meRowRest.oTop + getCellRestHeight(meRowRest, cellOpts, rowOpts, defaultRowHeight) - rowRest.oTop - getCellRestHeight(rowRest, cellOpts, rowOpts, defaultRowHeight)
|
|
306
307
|
}
|
|
307
308
|
}
|
|
308
309
|
}
|
|
@@ -326,7 +327,7 @@ export default defineComponent({
|
|
|
326
327
|
tcStyle.minHeight = `${cellHeight}px`
|
|
327
328
|
}
|
|
328
329
|
|
|
329
|
-
const tdVNs:
|
|
330
|
+
const tdVNs: VxeComponentSlotType[] = []
|
|
330
331
|
if (fixedHiddenColumn && isAllOverflow) {
|
|
331
332
|
tdVNs.push(
|
|
332
333
|
h('div', {
|
|
@@ -609,7 +610,7 @@ export default defineComponent({
|
|
|
609
610
|
const { showOverflow } = expandColumn || {}
|
|
610
611
|
const colid = expandColumn.id
|
|
611
612
|
const colRest = fullColumnIdData[colid] || {}
|
|
612
|
-
const hasEllipsis =
|
|
613
|
+
const hasEllipsis = XEUtils.eqNull(showOverflow) ? isAllOverflow : showOverflow
|
|
613
614
|
let columnIndex = -1
|
|
614
615
|
let $columnIndex = -1
|
|
615
616
|
let _columnIndex = -1
|
|
@@ -791,13 +792,14 @@ export default defineComponent({
|
|
|
791
792
|
|
|
792
793
|
let emptyContent: string | VxeComponentSlotType | VxeComponentSlotType[]
|
|
793
794
|
const emptySlot = slots ? slots.empty : null
|
|
795
|
+
const emptyParams = { $table: $xeTable, $grid: $xeGrid }
|
|
794
796
|
if (emptySlot) {
|
|
795
|
-
emptyContent = $xeTable.callSlot(emptySlot,
|
|
797
|
+
emptyContent = $xeTable.callSlot(emptySlot, emptyParams)
|
|
796
798
|
} else {
|
|
797
799
|
const compConf = emptyOpts.name ? renderer.get(emptyOpts.name) : null
|
|
798
800
|
const rtEmptyView = compConf ? (compConf.renderTableEmpty || compConf.renderTableEmptyView || compConf.renderEmpty) : null
|
|
799
801
|
if (rtEmptyView) {
|
|
800
|
-
emptyContent = getSlotVNs(rtEmptyView(emptyOpts,
|
|
802
|
+
emptyContent = getSlotVNs(rtEmptyView(emptyOpts, emptyParams))
|
|
801
803
|
} else {
|
|
802
804
|
emptyContent = tableProps.emptyText || getI18n('vxe.table.emptyText')
|
|
803
805
|
}
|
|
@@ -880,7 +882,7 @@ export default defineComponent({
|
|
|
880
882
|
? [
|
|
881
883
|
h('span', {
|
|
882
884
|
class: 'vxe-table--cell-main-area-btn',
|
|
883
|
-
onMousedown (evnt:
|
|
885
|
+
onMousedown (evnt: MouseEvent) {
|
|
884
886
|
if ($xeTable.triggerCellAreaExtendMousedownEvent) {
|
|
885
887
|
$xeTable.triggerCellAreaExtendMousedownEvent(evnt, { $table: $xeTable, fixed: fixedType, type: renderType })
|
|
886
888
|
}
|
|
@@ -400,20 +400,6 @@ export const Cell = {
|
|
|
400
400
|
const { field, slots, editRender, cellRender, rowGroupNode, aggFunc } = column
|
|
401
401
|
const renderOpts = editRender || cellRender
|
|
402
402
|
const defaultSlot = slots ? slots.default : null
|
|
403
|
-
if (defaultSlot) {
|
|
404
|
-
return renderCellBaseVNs(params, $table.callSlot(defaultSlot, params))
|
|
405
|
-
}
|
|
406
|
-
if (renderOpts) {
|
|
407
|
-
const compConf = renderer.get(renderOpts.name)
|
|
408
|
-
if (compConf) {
|
|
409
|
-
const rtCell = compConf.renderTableCell || compConf.renderCell
|
|
410
|
-
const rtDefault = compConf.renderTableDefault || compConf.renderDefault
|
|
411
|
-
const renderFn = editRender ? rtCell : rtDefault
|
|
412
|
-
if (renderFn) {
|
|
413
|
-
return renderCellBaseVNs(params, getSlotVNs(renderFn(renderOpts, Object.assign({ $type: editRender ? 'edit' : 'cell' }, params))))
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
403
|
let cellValue: string | number | null = ''
|
|
418
404
|
if (isRowGroupStatus && field && row.isAggregate) {
|
|
419
405
|
const aggRow: VxeTableDefines.AggregateRowInfo = row
|
|
@@ -460,6 +446,20 @@ export const Cell = {
|
|
|
460
446
|
}
|
|
461
447
|
}
|
|
462
448
|
} else {
|
|
449
|
+
if (defaultSlot) {
|
|
450
|
+
return renderCellBaseVNs(params, $table.callSlot(defaultSlot, params))
|
|
451
|
+
}
|
|
452
|
+
if (renderOpts) {
|
|
453
|
+
const compConf = renderer.get(renderOpts.name)
|
|
454
|
+
if (compConf) {
|
|
455
|
+
const rtCell = compConf.renderTableCell || compConf.renderCell
|
|
456
|
+
const rtDefault = compConf.renderTableDefault || compConf.renderDefault
|
|
457
|
+
const renderFn = editRender ? rtCell : rtDefault
|
|
458
|
+
if (renderFn) {
|
|
459
|
+
return renderCellBaseVNs(params, getSlotVNs(renderFn(renderOpts, Object.assign({ $type: editRender ? 'edit' : 'cell' }, params))))
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
463
|
cellValue = $table.getCellLabel(row, column)
|
|
464
464
|
}
|
|
465
465
|
const cellPlaceholder = editRender ? editRender.placeholder : ''
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, onUnmounted, inject, ref, PropType, provide, onMounted, createCommentVNode } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp'
|
|
2
3
|
import { XEColumnInstance, watchColumn, assembleColumn, destroyColumn } from './util'
|
|
3
4
|
import Cell from './cell'
|
|
4
5
|
|
|
@@ -130,7 +131,7 @@ export const columnProps = {
|
|
|
130
131
|
params: Object as PropType<VxeColumnPropTypes.Params>
|
|
131
132
|
}
|
|
132
133
|
|
|
133
|
-
export default
|
|
134
|
+
export default defineVxeComponent({
|
|
134
135
|
name: 'VxeColumn',
|
|
135
136
|
props: columnProps,
|
|
136
137
|
setup (props, { slots }) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransitionGroup, h, ref, Ref, PropType, inject, nextTick, onMounted, onUnmounted } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp'
|
|
2
3
|
import XEUtils from 'xe-utils'
|
|
3
4
|
import { VxeUI } from '../../ui'
|
|
4
5
|
import { updateCellTitle, getPropClass } from '../../ui/src/dom'
|
|
@@ -10,7 +11,7 @@ const { renderer, renderEmptyElement } = VxeUI
|
|
|
10
11
|
|
|
11
12
|
const renderType = 'footer'
|
|
12
13
|
|
|
13
|
-
export default
|
|
14
|
+
export default defineVxeComponent({
|
|
14
15
|
name: 'VxeTableFooter',
|
|
15
16
|
props: {
|
|
16
17
|
footerTableData: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, onUnmounted, provide, inject, ref, onMounted, Slot, createCommentVNode } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp'
|
|
2
3
|
import { columnProps } from './column'
|
|
3
4
|
import { XEColumnInstance, watchColumn, assembleColumn, destroyColumn } from './util'
|
|
4
5
|
import Cell from './cell'
|
|
5
6
|
|
|
6
7
|
import type { VxeTableConstructor, VxeTablePrivateMethods } from '../../../types'
|
|
7
8
|
|
|
8
|
-
export default
|
|
9
|
+
export default defineVxeComponent({
|
|
9
10
|
name: 'VxeColgroup',
|
|
10
11
|
props: columnProps,
|
|
11
12
|
setup (props, { slots }) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransitionGroup, h, ref, Ref, PropType, inject, nextTick, watch, onMounted, onUnmounted } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp'
|
|
2
3
|
import XEUtils from 'xe-utils'
|
|
3
4
|
import { VxeUI } from '../../ui'
|
|
4
5
|
import { getCellHeight, convertHeaderColumnToRows } from './util'
|
|
@@ -9,7 +10,7 @@ const { renderer, renderEmptyElement } = VxeUI
|
|
|
9
10
|
|
|
10
11
|
const renderType = 'header'
|
|
11
12
|
|
|
12
|
-
export default
|
|
13
|
+
export default defineVxeComponent({
|
|
13
14
|
name: 'VxeTableHeader',
|
|
14
15
|
props: {
|
|
15
16
|
tableData: Array as PropType<any[]>,
|
|
@@ -159,11 +159,20 @@ export default {
|
|
|
159
159
|
},
|
|
160
160
|
|
|
161
161
|
/** 高级属性 */
|
|
162
|
-
|
|
162
|
+
/**
|
|
163
|
+
* (即将废弃)columnKey 已废弃,被 column-config.useKey 替换
|
|
164
|
+
* @deprecated
|
|
165
|
+
*/
|
|
163
166
|
columnKey: Boolean as PropType<VxeTablePropTypes.ColumnKey>,
|
|
164
|
-
|
|
167
|
+
/**
|
|
168
|
+
* (即将废弃)rowKey 已废弃,被 row-config.useKey 替换
|
|
169
|
+
* @deprecated
|
|
170
|
+
*/
|
|
165
171
|
rowKey: Boolean as PropType<VxeTablePropTypes.RowKey>,
|
|
166
|
-
|
|
172
|
+
/**
|
|
173
|
+
* (即将废弃)rowId 已废弃,被 row-config.keyField 替换
|
|
174
|
+
* @deprecated
|
|
175
|
+
*/
|
|
167
176
|
rowId: {
|
|
168
177
|
type: String as PropType<VxeTablePropTypes.RowId>,
|
|
169
178
|
default: () => getConfig().table.rowId
|
|
@@ -200,11 +209,17 @@ export default {
|
|
|
200
209
|
rowConfig: Object as PropType<VxeTablePropTypes.RowConfig>,
|
|
201
210
|
// 数据聚合配置项
|
|
202
211
|
aggregateConfig: Object as PropType<VxeTablePropTypes.AggregateConfig>,
|
|
203
|
-
|
|
212
|
+
/**
|
|
213
|
+
* 已废弃,被 aggregateConfig 替换
|
|
214
|
+
* @deprecated
|
|
215
|
+
*/
|
|
204
216
|
rowGroupConfig: Object as PropType<VxeTablePropTypes.RowGroupConfig>,
|
|
205
217
|
// 当前行配置项
|
|
206
218
|
currentRowConfig: Object as PropType<VxeTablePropTypes.CurrentRowConfig>,
|
|
207
|
-
|
|
219
|
+
/**
|
|
220
|
+
* 已废弃,被 rowDragConfig 替换
|
|
221
|
+
* @deprecated
|
|
222
|
+
*/
|
|
208
223
|
dragConfig: Object as PropType<VxeTablePropTypes.DragConfig>,
|
|
209
224
|
// 行拖拽排序配置项
|
|
210
225
|
rowDragConfig: Object as PropType<VxeTablePropTypes.RowDragConfig>,
|
|
@@ -258,9 +273,15 @@ export default {
|
|
|
258
273
|
emptyRender: Object as PropType<VxeTablePropTypes.EmptyRender>,
|
|
259
274
|
// 自定义列配置项
|
|
260
275
|
customConfig: Object as PropType<VxeTablePropTypes.CustomConfig>,
|
|
261
|
-
|
|
276
|
+
/**
|
|
277
|
+
* (即将废弃)横向虚拟滚动配置项
|
|
278
|
+
* @deprecated
|
|
279
|
+
*/
|
|
262
280
|
scrollX: Object as PropType<VxeTablePropTypes.ScrollX>,
|
|
263
|
-
|
|
281
|
+
/**
|
|
282
|
+
* (即将废弃)纵向虚拟滚动配置项
|
|
283
|
+
* @deprecated
|
|
284
|
+
*/
|
|
264
285
|
scrollY: Object as PropType<VxeTablePropTypes.ScrollY>,
|
|
265
286
|
// 横向虚拟滚动配置项
|
|
266
287
|
virtualXConfig: Object as PropType<VxeTablePropTypes.VirtualXConfig>,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, ComponentPublicInstance, reactive, ref, Ref, provide, inject, nextTick, onActivated, onDeactivated, onBeforeUnmount, onUnmounted, watch, computed, onMounted } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp'
|
|
2
3
|
import XEUtils from 'xe-utils'
|
|
3
4
|
import { initTpImg, getTpImg, isPx, isScale, hasClass, addClass, removeClass, getEventTargetNode, getPaddingTopBottomSize, setScrollTop, setScrollLeft, toCssUnit, hasControlKey } from '../../ui/src/dom'
|
|
4
5
|
import { getLastZIndex, nextZIndex, hasChildrenList, getFuncText, isEnableConf, formatText, eqEmptyValue } from '../../ui/src/utils'
|
|
@@ -28,7 +29,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE'
|
|
|
28
29
|
const maxYHeight = 5e6
|
|
29
30
|
const maxXWidth = 5e6
|
|
30
31
|
|
|
31
|
-
export default
|
|
32
|
+
export default defineVxeComponent({
|
|
32
33
|
name: 'VxeTable',
|
|
33
34
|
props: tableProps,
|
|
34
35
|
emits: tableEmits,
|
|
@@ -247,6 +248,7 @@ export default defineComponent({
|
|
|
247
248
|
|
|
248
249
|
isRowGroupStatus: false,
|
|
249
250
|
rowGroupList: [],
|
|
251
|
+
aggHandleFields: [],
|
|
250
252
|
|
|
251
253
|
rowGroupExpandedFlag: 1,
|
|
252
254
|
rowExpandedFlag: 1,
|
|
@@ -769,22 +771,15 @@ export default defineComponent({
|
|
|
769
771
|
})
|
|
770
772
|
|
|
771
773
|
const computeTableRowExpandedList = computed(() => {
|
|
772
|
-
const {
|
|
773
|
-
const { rowExpandedFlag, expandColumn, rowGroupExpandedFlag, treeExpandedFlag, isRowGroupStatus } = reactData
|
|
774
|
+
const { rowExpandedFlag, expandColumn, rowGroupExpandedFlag, treeExpandedFlag } = reactData
|
|
774
775
|
const { visibleDataRowIdData, rowExpandedMaps } = internalData
|
|
775
|
-
const treeOpts = computeTreeOpts.value
|
|
776
|
-
const { transform } = treeOpts
|
|
777
776
|
const expandList: any[] = []
|
|
778
777
|
if (expandColumn && rowExpandedFlag && rowGroupExpandedFlag && treeExpandedFlag) {
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
})
|
|
785
|
-
} else {
|
|
786
|
-
return XEUtils.values(rowExpandedMaps)
|
|
787
|
-
}
|
|
778
|
+
XEUtils.each(rowExpandedMaps, (row, rowid) => {
|
|
779
|
+
if (visibleDataRowIdData[rowid]) {
|
|
780
|
+
expandList.push(row)
|
|
781
|
+
}
|
|
782
|
+
})
|
|
788
783
|
}
|
|
789
784
|
return expandList
|
|
790
785
|
})
|
|
@@ -866,6 +861,19 @@ export default defineComponent({
|
|
|
866
861
|
return rowGroupOpts.groupFields
|
|
867
862
|
})
|
|
868
863
|
|
|
864
|
+
const computeRowGroupColumns = computed(() => {
|
|
865
|
+
const { rowGroupList } = reactData
|
|
866
|
+
const { fullColumnFieldData } = internalData
|
|
867
|
+
const rgColumns: VxeTableDefines.ColumnInfo[] = []
|
|
868
|
+
rowGroupList.forEach(aggConf => {
|
|
869
|
+
const colRest = fullColumnFieldData[aggConf.field]
|
|
870
|
+
if (colRest) {
|
|
871
|
+
rgColumns.push(colRest.column)
|
|
872
|
+
}
|
|
873
|
+
})
|
|
874
|
+
return rgColumns
|
|
875
|
+
})
|
|
876
|
+
|
|
869
877
|
const refMaps: VxeTablePrivateRef = {
|
|
870
878
|
refElem,
|
|
871
879
|
refTooltip,
|
|
@@ -954,6 +962,8 @@ export default defineComponent({
|
|
|
954
962
|
computeIsMaxFixedColumn,
|
|
955
963
|
computeIsAllCheckboxDisabled,
|
|
956
964
|
computeVirtualScrollBars,
|
|
965
|
+
computeRowGroupFields,
|
|
966
|
+
computeRowGroupColumns,
|
|
957
967
|
|
|
958
968
|
computeSXOpts,
|
|
959
969
|
computeSYOpts
|
|
@@ -990,6 +1000,10 @@ export default defineComponent({
|
|
|
990
1000
|
internalData.isCurrDeepKey = hasDeepKey(keyField)
|
|
991
1001
|
}
|
|
992
1002
|
|
|
1003
|
+
const hangleStorageDefaultValue = (value: boolean | null | undefined, isAll: boolean) => {
|
|
1004
|
+
return XEUtils.isBoolean(value) ? value : isAll
|
|
1005
|
+
}
|
|
1006
|
+
|
|
993
1007
|
const getNextSortOrder = (column: VxeTableDefines.ColumnInfo) => {
|
|
994
1008
|
const sortOpts = computeSortOpts.value
|
|
995
1009
|
const { orders = [] } = sortOpts
|
|
@@ -1523,13 +1537,13 @@ export default defineComponent({
|
|
|
1523
1537
|
const { customConfig } = props
|
|
1524
1538
|
const tableId = computeTableId.value
|
|
1525
1539
|
const customOpts = computeCustomOpts.value
|
|
1526
|
-
const { storage, restoreStore } = customOpts
|
|
1540
|
+
const { storage, restoreStore, storeOptions } = customOpts
|
|
1527
1541
|
const isAllCustom = storage === true
|
|
1528
|
-
const storageOpts: VxeTableDefines.VxeTableCustomStorageObj = isAllCustom ? {} : Object.assign({}, storage || {})
|
|
1529
|
-
const isCustomResizable =
|
|
1530
|
-
const isCustomVisible =
|
|
1531
|
-
const isCustomFixed =
|
|
1532
|
-
const isCustomSort =
|
|
1542
|
+
const storageOpts: VxeTableDefines.VxeTableCustomStorageObj = isAllCustom ? {} : Object.assign({}, storage || {}, storeOptions)
|
|
1543
|
+
const isCustomResizable = hangleStorageDefaultValue(storageOpts.resizable, isAllCustom)
|
|
1544
|
+
const isCustomVisible = hangleStorageDefaultValue(storageOpts.visible, isAllCustom)
|
|
1545
|
+
const isCustomFixed = hangleStorageDefaultValue(storageOpts.fixed, isAllCustom)
|
|
1546
|
+
const isCustomSort = hangleStorageDefaultValue(storageOpts.sort, isAllCustom)
|
|
1533
1547
|
if ((customConfig ? isEnableConf(customOpts) : customOpts.enabled) && (isCustomResizable || isCustomVisible || isCustomFixed || isCustomSort)) {
|
|
1534
1548
|
if (!tableId) {
|
|
1535
1549
|
errLog('vxe.error.reqProp', ['id'])
|
|
@@ -3135,13 +3149,18 @@ export default defineComponent({
|
|
|
3135
3149
|
}
|
|
3136
3150
|
|
|
3137
3151
|
const handleUpdateRowGroup = (groupFields?: string[]) => {
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3152
|
+
const aggFields: string[] = []
|
|
3153
|
+
const aggConfs: { field: string }[] = []
|
|
3154
|
+
if (groupFields) {
|
|
3155
|
+
(XEUtils.isArray(groupFields) ? groupFields : [groupFields]).forEach(field => {
|
|
3156
|
+
aggFields.push(field)
|
|
3157
|
+
aggConfs.push({
|
|
3158
|
+
field
|
|
3143
3159
|
})
|
|
3144
|
-
|
|
3160
|
+
})
|
|
3161
|
+
}
|
|
3162
|
+
reactData.rowGroupList = aggConfs
|
|
3163
|
+
reactData.aggHandleFields = aggFields
|
|
3145
3164
|
}
|
|
3146
3165
|
|
|
3147
3166
|
const handleeGroupSummary = (aggList: VxeTableDefines.AggregateRowInfo[]) => {
|
|
@@ -3323,9 +3342,9 @@ export default defineComponent({
|
|
|
3323
3342
|
internalData.cvCacheMaps = {}
|
|
3324
3343
|
reactData.isRowLoading = true
|
|
3325
3344
|
reactData.scrollVMLoading = false
|
|
3326
|
-
internalData.treeExpandedMaps = {}
|
|
3345
|
+
// internalData.treeExpandedMaps = {}
|
|
3327
3346
|
reactData.treeExpandedFlag++
|
|
3328
|
-
internalData.rowExpandedMaps = {}
|
|
3347
|
+
// internalData.rowExpandedMaps = {}
|
|
3329
3348
|
reactData.rowExpandedFlag++
|
|
3330
3349
|
internalData.insertRowMaps = {}
|
|
3331
3350
|
reactData.insertRowFlag++
|
|
@@ -4072,7 +4091,7 @@ export default defineComponent({
|
|
|
4072
4091
|
const handleUpdateResize = () => {
|
|
4073
4092
|
const el = refElem.value
|
|
4074
4093
|
if (el && el.clientWidth && el.clientHeight) {
|
|
4075
|
-
|
|
4094
|
+
$xeTable.recalculate()
|
|
4076
4095
|
}
|
|
4077
4096
|
}
|
|
4078
4097
|
|
|
@@ -6715,13 +6734,13 @@ export default defineComponent({
|
|
|
6715
6734
|
const { id } = props
|
|
6716
6735
|
const customOpts = computeCustomOpts.value
|
|
6717
6736
|
const { collectColumn } = internalData
|
|
6718
|
-
const { storage, checkMethod } = customOpts
|
|
6737
|
+
const { storage, checkMethod, storeOptions } = customOpts
|
|
6719
6738
|
const isAllCustom = storage === true
|
|
6720
|
-
const storageOpts: VxeTableDefines.VxeTableCustomStorageObj = isAllCustom ? {} : Object.assign({}, storage || {})
|
|
6721
|
-
const isCustomResizable =
|
|
6722
|
-
const isCustomVisible =
|
|
6723
|
-
const isCustomFixed =
|
|
6724
|
-
const isCustomSort =
|
|
6739
|
+
const storageOpts: VxeTableDefines.VxeTableCustomStorageObj = isAllCustom ? {} : Object.assign({}, storage || {}, storeOptions)
|
|
6740
|
+
const isCustomResizable = hangleStorageDefaultValue(storageOpts.resizable, isAllCustom)
|
|
6741
|
+
const isCustomVisible = hangleStorageDefaultValue(storageOpts.visible, isAllCustom)
|
|
6742
|
+
const isCustomFixed = hangleStorageDefaultValue(storageOpts.fixed, isAllCustom)
|
|
6743
|
+
const isCustomSort = hangleStorageDefaultValue(storageOpts.sort, isAllCustom)
|
|
6725
6744
|
const resizableData: Record<string, number> = {}
|
|
6726
6745
|
const sortData: Record<string, number> = {}
|
|
6727
6746
|
const visibleData: Record<string, boolean> = {}
|
|
@@ -8204,13 +8223,13 @@ export default defineComponent({
|
|
|
8204
8223
|
const { customConfig } = props
|
|
8205
8224
|
const tableId = computeTableId.value
|
|
8206
8225
|
const customOpts = computeCustomOpts.value
|
|
8207
|
-
const { updateStore, storage } = customOpts
|
|
8226
|
+
const { updateStore, storage, storeOptions } = customOpts
|
|
8208
8227
|
const isAllCustom = storage === true
|
|
8209
|
-
const storageOpts: VxeTableDefines.VxeTableCustomStorageObj = isAllCustom ? {} : Object.assign({}, storage || {})
|
|
8210
|
-
const isCustomResizable =
|
|
8211
|
-
const isCustomVisible =
|
|
8212
|
-
const isCustomFixed =
|
|
8213
|
-
const isCustomSort =
|
|
8228
|
+
const storageOpts: VxeTableDefines.VxeTableCustomStorageObj = isAllCustom ? {} : Object.assign({}, storage || {}, storeOptions)
|
|
8229
|
+
const isCustomResizable = hangleStorageDefaultValue(storageOpts.resizable, isAllCustom)
|
|
8230
|
+
const isCustomVisible = hangleStorageDefaultValue(storageOpts.visible, isAllCustom)
|
|
8231
|
+
const isCustomFixed = hangleStorageDefaultValue(storageOpts.fixed, isAllCustom)
|
|
8232
|
+
const isCustomSort = hangleStorageDefaultValue(storageOpts.sort, isAllCustom)
|
|
8214
8233
|
if (type !== 'reset') {
|
|
8215
8234
|
// fix:修复拖动列宽,重置按钮无法点击的问题
|
|
8216
8235
|
reactData.isCustomStatus = true
|
|
@@ -10687,14 +10706,15 @@ export default defineComponent({
|
|
|
10687
10706
|
|
|
10688
10707
|
const renderEmptyBody = () => {
|
|
10689
10708
|
const emptyOpts = computeEmptyOpts.value
|
|
10690
|
-
const
|
|
10691
|
-
|
|
10692
|
-
|
|
10709
|
+
const emptySlot = slots.empty
|
|
10710
|
+
const emptyParams = { $table: $xeTable, $grid: $xeGrid }
|
|
10711
|
+
if (emptySlot) {
|
|
10712
|
+
return emptySlot(emptyParams)
|
|
10693
10713
|
} else {
|
|
10694
10714
|
const compConf = emptyOpts.name ? renderer.get(emptyOpts.name) : null
|
|
10695
10715
|
const rtEmptyView = compConf ? (compConf.renderTableEmpty || compConf.renderTableEmptyView || compConf.renderEmpty) : null
|
|
10696
10716
|
if (rtEmptyView) {
|
|
10697
|
-
return getSlotVNs(rtEmptyView(emptyOpts,
|
|
10717
|
+
return getSlotVNs(rtEmptyView(emptyOpts, emptyParams))
|
|
10698
10718
|
}
|
|
10699
10719
|
}
|
|
10700
10720
|
return getFuncText(props.emptyText) || getI18n('vxe.table.emptyText')
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, ref, Ref, computed, inject, createCommentVNode, VNode, reactive, nextTick, PropType } from 'vue'
|
|
2
|
+
import { defineVxeComponent } from '../../ui/src/comp'
|
|
2
3
|
import XEUtils from 'xe-utils'
|
|
3
4
|
import { VxeUI } from '../../ui'
|
|
4
5
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
@@ -9,7 +10,7 @@ import type { VxeGridConstructor, GridPrivateMethods, ToolbarMethods, ToolbarInt
|
|
|
9
10
|
|
|
10
11
|
const { getConfig, getIcon, getI18n, renderer, commands, createEvent, useFns } = VxeUI
|
|
11
12
|
|
|
12
|
-
export default
|
|
13
|
+
export default defineVxeComponent({
|
|
13
14
|
name: 'VxeToolbar',
|
|
14
15
|
props: {
|
|
15
16
|
loading: Boolean,
|
package/packages/ui/index.ts
CHANGED
|
@@ -100,6 +100,14 @@ VxeUI.setConfig({
|
|
|
100
100
|
showFooter: true,
|
|
101
101
|
placement: 'top-right',
|
|
102
102
|
// storage: false,
|
|
103
|
+
storeOptions: {
|
|
104
|
+
visible: true,
|
|
105
|
+
resizable: true,
|
|
106
|
+
sort: true,
|
|
107
|
+
fixed: true
|
|
108
|
+
// rowGroup: false,
|
|
109
|
+
// aggFunc: false
|
|
110
|
+
},
|
|
103
111
|
// checkMethod () {},
|
|
104
112
|
modalOptions: {
|
|
105
113
|
showMaximize: true,
|
|
@@ -308,6 +316,9 @@ VxeUI.setIcon({
|
|
|
308
316
|
TABLE_DRAG_DISABLED: iconPrefix + 'no-drop',
|
|
309
317
|
TABLE_ROW_GROUP_OPEN: iconPrefix + 'arrow-right rotate90',
|
|
310
318
|
TABLE_ROW_GROUP_CLOSE: iconPrefix + 'arrow-right',
|
|
319
|
+
TABLE_AGGREGATION_GROUPING: iconPrefix + 'grouping',
|
|
320
|
+
TABLE_AGGREGATION_VALUES: iconPrefix + 'values',
|
|
321
|
+
TABLE_AGGREGATION_DELETE: iconPrefix + 'close',
|
|
311
322
|
|
|
312
323
|
// toolbar
|
|
313
324
|
TOOLBAR_TOOLS_REFRESH: iconPrefix + 'repeat',
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@font-face {
|
|
6
6
|
font-family: "vxetableiconfont";
|
|
7
7
|
src:
|
|
8
|
-
url('data:application/x-font-woff2;charset=utf-8;base64,
|
|
8
|
+
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA84AAsAAAAAIDgAAA7oAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACIDgqpLKFiATYCJAOBDAtIAAQgBYVHB4N0G2QbM6P2krSyT/ZfH/BAhj5eBapat02oRr6GVbwUDPTpF7NF+KxYgQAQitcIb+DUdqgiVcSR1nUCDb3z3kXuFn6R4Pk9NpSSB2o/2tv9e2qKeldJNEIiQUgmJVIJnSG5xRuWM6HnUJkkzUzktedeC+FMIlPPB77wjVTOpDITqQxP2/yHB/a7484+2sQoQJ0HRgRlFVYtGucPdJUsA1fJdFGsui2AgDY/d1wPgdvidvzqZskVEG3Rgoxcpmal1O9Mv+FLMmb9ttddBmGTlyVeiGtTU5VKWVvpZtXl1PndAGUQUMALyP9LTvz6z/hs2VlL2bK7HHeNdXxMKGdNuWMfLyygi5CWFqACVowLIK1eZuO3H0Gqbvbs3XY8q9lsBBYRfumnCCg0blXcvnP/caVXT924rlFyujzw2jxcvXThlPxlieQgBfkFuV4nTcIddcRb8TTg9u37h89EoZEoJ3N6rcPnd5z14mn4Ve2WFshe0Ua3CwaPyEGG4YyVxvPOjeGk7EGGb7RQ96dMYRrz2iX172jvGt/5v8uk0qjFWN3vpr3rf/fifen7vvdxpVRYZSfe//5w5MOPj5Efj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ogKL5KAs+eFa1cnzv0jyM5uSIMNlRakQ1KCIfTJlz1q7xKr68yPrspcaMdDC3kEDcrwXfllGPQVUWx7faUywIdhwVBj8CR8J3kVgzRzTU8EvBiu7Za4XVn6e8zBHOhqo65EhkF081ZFV/6PFH8cYGAAA=') format('woff2');
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@keyframes rollCircle {
|
|
@@ -79,6 +79,18 @@ $btnThemeList: (
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
.vxe-table-icon-close:before {
|
|
83
|
+
content: "\e6e9";
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.vxe-table-icon-grouping:before {
|
|
87
|
+
content: "\e66c";
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.vxe-table-icon-values:before {
|
|
91
|
+
content: "\e66f";
|
|
92
|
+
}
|
|
93
|
+
|
|
82
94
|
.vxe-table-icon-add-sub:before {
|
|
83
95
|
content: "\e6bc";
|
|
84
96
|
}
|
|
@@ -52,9 +52,14 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
.vxe-table-custom--handle-wrapper {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
}
|
|
59
|
+
|
|
55
60
|
.vxe-table-custom-wrapper {
|
|
56
61
|
display: none;
|
|
57
|
-
flex-direction:
|
|
62
|
+
flex-direction: row;
|
|
58
63
|
position: absolute;
|
|
59
64
|
text-align: left;
|
|
60
65
|
background-color: var(--vxe-ui-layout-background-color);
|
|
@@ -120,8 +125,10 @@
|
|
|
120
125
|
}
|
|
121
126
|
|
|
122
127
|
.vxe-table-custom--header {
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
123
130
|
flex-shrink: 0;
|
|
124
|
-
|
|
131
|
+
height: 2.4em;
|
|
125
132
|
font-weight: 700;
|
|
126
133
|
border-bottom: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
127
134
|
user-select: none;
|
package/styles/icon/iconfont.ttf
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|