vxe-table 4.7.0 → 4.7.3
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/components.js +3 -1
- package/es/grid/src/grid.js +3 -2
- package/es/index.esm.js +2 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/hook.js +2 -2
- package/es/table/module/custom/panel.js +2 -1
- package/es/table/module/edit/hook.js +2 -1
- package/es/table/module/export/export-panel.js +2 -1
- package/es/table/module/export/hook.js +2 -1
- package/es/table/module/export/import-panel.js +2 -1
- package/es/table/module/filter/hook.js +2 -1
- package/es/table/module/filter/panel.js +2 -1
- package/es/table/module/keyboard/hook.js +2 -1
- package/es/table/module/menu/hook.js +2 -1
- package/es/table/module/validator/hook.js +2 -1
- package/es/table/render/index.js +2 -1
- package/es/table/src/body.js +2 -1
- package/es/table/src/cell.js +2 -1
- package/es/table/src/columnInfo.js +2 -1
- package/es/table/src/props.js +2 -1
- package/es/table/src/table.js +16 -2
- package/es/table/style.css +4 -2
- package/es/table/style.min.css +1 -1
- package/es/toolbar/src/toolbar.js +3 -2
- package/es/ui/index.js +4 -2
- package/es/ui/src/utils.js +3 -3
- package/es/v-x-e-table/index.js +3 -0
- package/es/v-x-e-table/style.css +0 -0
- package/es/v-x-e-table/style.min.css +0 -0
- package/es/vxe-table/style.css +4 -2
- package/es/vxe-table/style.min.css +1 -1
- package/es/vxe-v-x-e-table/index.js +3 -0
- package/es/vxe-v-x-e-table/style.css +0 -0
- package/es/vxe-v-x-e-table/style.min.css +0 -0
- package/lib/components.js +10 -2
- package/lib/components.min.js +1 -1
- package/lib/grid/src/grid.js +40 -29
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.common.js +5 -5
- package/lib/index.umd.js +570 -437
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/hook.js +1 -1
- package/lib/table/module/custom/hook.min.js +1 -1
- package/lib/table/module/custom/panel.js +27 -23
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/edit/hook.js +20 -13
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/module/export/export-panel.js +35 -31
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/hook.js +24 -18
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/module/export/import-panel.js +12 -8
- package/lib/table/module/export/import-panel.min.js +1 -1
- package/lib/table/module/filter/hook.js +7 -3
- package/lib/table/module/filter/hook.min.js +1 -1
- package/lib/table/module/filter/panel.js +13 -8
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/module/keyboard/hook.js +4 -1
- package/lib/table/module/keyboard/hook.min.js +1 -1
- package/lib/table/module/menu/hook.js +11 -5
- package/lib/table/module/menu/hook.min.js +1 -1
- package/lib/table/module/validator/hook.js +13 -7
- package/lib/table/module/validator/hook.min.js +1 -1
- package/lib/table/render/index.js +11 -5
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/body.js +7 -3
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +26 -21
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/columnInfo.js +15 -10
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/props.js +27 -24
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +173 -146
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +4 -2
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/src/toolbar.js +48 -38
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +5 -3
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/utils.js +2 -2
- package/lib/ui/src/utils.min.js +1 -1
- package/lib/v-x-e-table/index.js +22 -0
- package/lib/v-x-e-table/index.min.js +1 -0
- package/lib/v-x-e-table/style/index.js +1 -0
- package/lib/v-x-e-table/style/style.css +0 -0
- package/lib/v-x-e-table/style/style.min.css +0 -0
- package/lib/vxe-table/style/style.css +4 -2
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-v-x-e-table/index.js +22 -0
- package/lib/vxe-v-x-e-table/index.min.js +1 -0
- package/lib/vxe-v-x-e-table/style/index.js +1 -0
- package/lib/vxe-v-x-e-table/style/style.css +0 -0
- package/lib/vxe-v-x-e-table/style/style.min.css +0 -0
- package/package.json +2 -2
- package/packages/components.ts +4 -1
- package/packages/grid/src/grid.ts +5 -4
- package/packages/index.ts +2 -2
- package/packages/table/module/custom/hook.ts +2 -2
- package/packages/table/module/custom/panel.ts +4 -3
- package/packages/table/module/edit/hook.ts +3 -1
- package/packages/table/module/export/export-panel.ts +4 -3
- package/packages/table/module/export/hook.ts +3 -1
- package/packages/table/module/export/import-panel.ts +4 -3
- package/packages/table/module/filter/hook.ts +3 -1
- package/packages/table/module/filter/panel.ts +3 -1
- package/packages/table/module/keyboard/hook.ts +3 -1
- package/packages/table/module/menu/hook.ts +3 -1
- package/packages/table/module/validator/hook.ts +3 -1
- package/packages/table/render/index.ts +4 -3
- package/packages/table/src/body.ts +4 -2
- package/packages/table/src/cell.ts +4 -2
- package/packages/table/src/columnInfo.ts +2 -1
- package/packages/table/src/props.ts +3 -1
- package/packages/table/src/table.ts +18 -4
- package/packages/toolbar/src/toolbar.ts +5 -4
- package/packages/ui/index.ts +3 -0
- package/packages/ui/src/utils.ts +3 -3
- package/packages/ui/src/vn.ts +2 -1
- package/packages/v-x-e-table/index.d.ts +4 -0
- package/packages/v-x-e-table/index.ts +4 -0
- package/styles/components/table.scss +5 -2
- package/styles/components/v-x-e-table.scss +0 -0
- package/styles/theme/base.scss +1 -0
- package/types/all.d.ts +0 -22
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { nextTick } from 'vue'
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
4
4
|
import { toFilters, handleFieldOrColumn } from '../../src/util'
|
|
5
5
|
import { getDomNode, triggerEvent } from '../../../ui/src/dom'
|
|
6
6
|
|
|
7
7
|
import type { TableFilterMethods, TableFilterPrivateMethods } from '../../../../types'
|
|
8
8
|
|
|
9
|
+
const { renderer, hooks } = VxeUI
|
|
10
|
+
|
|
9
11
|
const tableFilterMethodKeys: (keyof TableFilterMethods)[] = ['setFilter', 'clearFilter', 'getCheckedFilters']
|
|
10
12
|
|
|
11
13
|
hooks.add('tableFilterModule', {
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { defineComponent, h, computed, inject } from 'vue'
|
|
2
|
-
import {
|
|
2
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
3
3
|
import { formatText } from '../../../ui/src/utils'
|
|
4
4
|
import { getPropClass } from '../../../ui/src/dom'
|
|
5
5
|
import { getSlotVNs } from '../../../ui/src/vn'
|
|
6
6
|
|
|
7
7
|
import type { VxeTableConstructor, VxeTableMethods, VxeTablePrivateMethods } from '../../../../types'
|
|
8
8
|
|
|
9
|
+
const { getI18n, getIcon, renderer } = VxeUI
|
|
10
|
+
|
|
9
11
|
export default defineComponent({
|
|
10
12
|
name: 'VxeTableFilterPanel',
|
|
11
13
|
props: {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import XEUtils from 'xe-utils'
|
|
2
|
-
import {
|
|
2
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
3
3
|
import { browse, hasClass, getAbsolutePos, addClass, removeClass, getEventTargetNode } from '../../../ui/src/dom'
|
|
4
4
|
|
|
5
5
|
import type { TableKeyboardPrivateMethods } from '../../../../types'
|
|
6
6
|
|
|
7
|
+
const { hooks } = VxeUI
|
|
8
|
+
|
|
7
9
|
function getTargetOffset (target: any, container: any) {
|
|
8
10
|
let offsetTop = 0
|
|
9
11
|
let offsetLeft = 0
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { nextTick } from 'vue'
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
4
4
|
import { getDomNode, getAbsolutePos, getEventTargetNode } from '../../../ui/src/dom'
|
|
5
5
|
import { isEnableConf, hasChildrenList } from '../../../ui/src/utils'
|
|
6
6
|
|
|
7
7
|
import type { TableMenuMethods, TableMenuPrivateMethods } from '../../../../types'
|
|
8
8
|
|
|
9
|
+
const { menus, hooks, globalEvents, GLOBAL_EVENT_KEYS } = VxeUI
|
|
10
|
+
|
|
9
11
|
const tableMenuMethodKeys: (keyof TableMenuMethods)[] = ['closeMenu']
|
|
10
12
|
|
|
11
13
|
hooks.add('tableMenuModule', {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { nextTick } from 'vue'
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
4
4
|
import { getFuncText, eqEmptyValue } from '../../../ui/src/utils'
|
|
5
5
|
import { scrollToView } from '../../../ui/src/dom'
|
|
6
6
|
import { handleFieldOrColumn, getRowid } from '../../src/util'
|
|
7
7
|
|
|
8
8
|
import type { TableValidatorMethods, TableValidatorPrivateMethods, VxeTableDefines } from '../../../../types'
|
|
9
9
|
|
|
10
|
+
const { getConfig, validators, hooks, log } = VxeUI
|
|
11
|
+
|
|
10
12
|
/**
|
|
11
13
|
* 校验规则
|
|
12
14
|
*/
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { h, resolveComponent, ComponentOptions } from 'vue'
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
4
4
|
import { getCellValue, setCellValue } from '../../table/src/util'
|
|
5
5
|
import { getFuncText, formatText, isEmptyValue } from '../../ui/src/utils'
|
|
6
6
|
import { getOnName } from '../../ui/src/vn'
|
|
7
7
|
|
|
8
|
-
import type { VxeButtonComponent } from '
|
|
9
|
-
|
|
8
|
+
import type { VxeGlobalRendererHandles, VxeColumnPropTypes, VxeButtonComponent } from '../../../types'
|
|
9
|
+
|
|
10
|
+
const { getConfig, renderer, getI18n, log } = VxeUI
|
|
10
11
|
|
|
11
12
|
const componentDefaultModelProp = 'modelValue'
|
|
12
13
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { createCommentVNode, defineComponent, h, ref, Ref, PropType, inject, nextTick, ComputedRef, onBeforeUnmount, onMounted, onUnmounted } from 'vue'
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
4
4
|
import { mergeBodyMethod, getRowid, removeScrollListener, restoreScrollListener, XEBodyScrollElement } from './util'
|
|
5
5
|
import { updateCellTitle, getPropClass } from '../../ui/src/dom'
|
|
6
6
|
import { isEnableConf } from '../../ui/src/utils'
|
|
7
7
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
8
8
|
|
|
9
|
-
import type { VxeTablePrivateMethods, VxeTableConstructor, VxeTableDefines, VxeTableMethods, VxeColumnPropTypes, VxeComponentSizeType } from '../../../types'
|
|
9
|
+
import type { VxeTablePrivateMethods, VxeTableConstructor, VxeTableDefines, VxeTableMethods, VxeColumnPropTypes, VxeComponentSlotType, VxeComponentSizeType } from '../../../types'
|
|
10
|
+
|
|
11
|
+
const { getI18n, renderer } = VxeUI
|
|
10
12
|
|
|
11
13
|
const renderType = 'body'
|
|
12
14
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { h, VNode } from 'vue'
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
4
4
|
import { getFuncText, isEnableConf, formatText, eqEmptyValue } from '../../ui/src/utils'
|
|
5
5
|
import { updateCellTitle } from '../../ui/src/dom'
|
|
6
6
|
import { createColumn, getRowid } from './util'
|
|
7
7
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
8
8
|
|
|
9
|
-
import type { VxeTableConstructor, VxeTableDefines, VxeTablePrivateMethods } from '../../../types'
|
|
9
|
+
import type { VxeTableConstructor, VxeTableDefines, VxeTablePrivateMethods, VxeComponentSlotType } from '../../../types'
|
|
10
|
+
|
|
11
|
+
const { getI18n, getIcon, renderer } = VxeUI
|
|
10
12
|
|
|
11
13
|
function renderTitlePrefixIcon (params: VxeTableDefines.CellRenderHeaderParams) {
|
|
12
14
|
const { $table, column } = params
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import XEUtils from 'xe-utils'
|
|
2
|
-
import {
|
|
2
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
3
3
|
import { toFilters } from './util'
|
|
4
4
|
import { getFuncText } from '../../ui/src/utils'
|
|
5
5
|
|
|
6
6
|
import type { VxeTableConstructor, VxeTablePrivateMethods } from '../../../types'
|
|
7
7
|
|
|
8
|
+
const { getI18n, formats, log } = VxeUI
|
|
8
9
|
export class ColumnInfo {
|
|
9
10
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
10
11
|
constructor ($xeTable: VxeTableConstructor & VxeTablePrivateMethods, _vm: any, { renderHeader, renderCell, renderFooter, renderData }: any = {}) {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue'
|
|
2
|
-
import {
|
|
2
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
3
3
|
|
|
4
4
|
import type { VxeTablePropTypes } from '../../../types'
|
|
5
5
|
|
|
6
|
+
const { getConfig } = VxeUI
|
|
7
|
+
|
|
6
8
|
export default {
|
|
7
9
|
/** 基本属性 */
|
|
8
10
|
id: String as PropType<VxeTablePropTypes.ID>,
|
|
@@ -2,7 +2,7 @@ import { defineComponent, h, createCommentVNode, ComponentPublicInstance, resolv
|
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
3
|
import { browse, isPx, isScale, hasClass, addClass, removeClass, getEventTargetNode, getPaddingTopBottomSize, setScrollTop, setScrollLeft, isNodeElement } from '../../ui/src/dom'
|
|
4
4
|
import { getLastZIndex, nextZIndex, hasChildrenList, getFuncText, isEnableConf, formatText, eqEmptyValue } from '../../ui/src/utils'
|
|
5
|
-
import { VxeUI
|
|
5
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
6
6
|
import Cell from './cell'
|
|
7
7
|
import TableBodyComponent from './body'
|
|
8
8
|
import TableHeaderComponent from './header'
|
|
@@ -17,8 +17,9 @@ import TableImportPanelComponent from '../module/export/import-panel'
|
|
|
17
17
|
import TableExportPanelComponent from '../module/export/export-panel'
|
|
18
18
|
import TableMenuPanelComponent from '../module/menu/panel'
|
|
19
19
|
|
|
20
|
-
import type { VxeLoadingComponent, VxeTooltipInstance, VxeTooltipComponent } from '
|
|
21
|
-
|
|
20
|
+
import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, TableInternalData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableProps, VxeColumnPropTypes, VxeLoadingComponent, VxeTooltipInstance, VxeTooltipComponent } from '../../../types'
|
|
21
|
+
|
|
22
|
+
const { getConfig, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, globalEvents, GLOBAL_EVENT_KEYS, log, useFns } = VxeUI
|
|
22
23
|
|
|
23
24
|
const isWebkit = browse['-webkit'] && !browse.edge
|
|
24
25
|
|
|
@@ -36,7 +37,7 @@ export default defineComponent({
|
|
|
36
37
|
|
|
37
38
|
const xID = XEUtils.uniqueId()
|
|
38
39
|
|
|
39
|
-
const { computeSize } = useSize(props)
|
|
40
|
+
const { computeSize } = useFns.useSize(props)
|
|
40
41
|
|
|
41
42
|
const reactData = reactive<TableReactData>({
|
|
42
43
|
// 低性能的静态列
|
|
@@ -2811,6 +2812,19 @@ export default defineComponent({
|
|
|
2811
2812
|
return tableMethods.recalculate()
|
|
2812
2813
|
})
|
|
2813
2814
|
},
|
|
2815
|
+
/**
|
|
2816
|
+
* 修改行数据
|
|
2817
|
+
*/
|
|
2818
|
+
setRow (rows, record) {
|
|
2819
|
+
if (rows && record) {
|
|
2820
|
+
let rest: any[] = rows
|
|
2821
|
+
if (!XEUtils.isArray(rows)) {
|
|
2822
|
+
rest = [rows]
|
|
2823
|
+
}
|
|
2824
|
+
rest.forEach(item => Object.assign(item, record))
|
|
2825
|
+
}
|
|
2826
|
+
return nextTick()
|
|
2827
|
+
},
|
|
2814
2828
|
/**
|
|
2815
2829
|
* 局部加载行数据并恢复到初始状态
|
|
2816
2830
|
* 对于行数据需要局部更改的场景中可能会用到
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent, h, ref, Ref, computed, inject, createCommentVNode, VNode, reactive, nextTick, PropType, resolveComponent } from 'vue'
|
|
2
2
|
import XEUtils from 'xe-utils'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
4
4
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
5
5
|
|
|
6
|
-
import type { VxeButtonComponent } from '
|
|
7
|
-
|
|
6
|
+
import type { VxeGridConstructor, GridPrivateMethods, ToolbarMethods, VxeToolbarConstructor, VxeToolbarEmits, VxeToolbarPropTypes, VxeTableConstructor, ToolbarPrivateRef, VxeTableMethods, VxeTablePrivateMethods, ToolbarReactData, VxeButtonComponent } from '../../../types'
|
|
7
|
+
|
|
8
|
+
const { getConfig, getIcon, getI18n, renderer, commands, log, createEvent, useFns } = VxeUI
|
|
8
9
|
|
|
9
10
|
export default defineComponent({
|
|
10
11
|
name: 'VxeToolbar',
|
|
@@ -31,7 +32,7 @@ export default defineComponent({
|
|
|
31
32
|
|
|
32
33
|
const xID = XEUtils.uniqueId()
|
|
33
34
|
|
|
34
|
-
const { computeSize } = useSize(props)
|
|
35
|
+
const { computeSize } = useFns.useSize(props)
|
|
35
36
|
|
|
36
37
|
const reactData = reactive<ToolbarReactData>({
|
|
37
38
|
isRefresh: false,
|
package/packages/ui/index.ts
CHANGED
package/packages/ui/src/utils.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import XEUtils from 'xe-utils'
|
|
2
|
-
import {
|
|
2
|
+
import { VxeUI } from 'vxe-pc-ui'
|
|
3
3
|
import DomZIndex from 'dom-zindex'
|
|
4
4
|
|
|
5
5
|
export function isEnableConf (conf: any): boolean {
|
|
@@ -32,14 +32,14 @@ export function hasChildrenList (item: any) {
|
|
|
32
32
|
|
|
33
33
|
export function getFuncText (content?: string | number | boolean | null) {
|
|
34
34
|
if (content) {
|
|
35
|
-
const translate = getConfig().translate
|
|
35
|
+
const translate = VxeUI.getConfig().translate
|
|
36
36
|
return XEUtils.toValueString(translate ? translate('' + content) : content)
|
|
37
37
|
}
|
|
38
38
|
return ''
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export function formatText (value: any, placeholder?: any) {
|
|
42
|
-
return '' + (isEmptyValue(value) ? (placeholder ? getConfig().emptyCell : '') : value)
|
|
42
|
+
return '' + (isEmptyValue(value) ? (placeholder ? VxeUI.getConfig().emptyCell : '') : value)
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
package/packages/ui/src/vn.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import XEUtils from 'xe-utils'
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import type { VxeComponentSlotType } from '../../../types'
|
|
3
4
|
|
|
4
5
|
export function getOnName (type: string) {
|
|
5
6
|
return 'on' + type.substring(0, 1).toLocaleUpperCase() + type.substring(1)
|
|
@@ -208,7 +208,10 @@
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.vxe-table--cell-active-area {
|
|
211
|
-
border: var(--vxe-ui-table-cell-active-area-border-
|
|
211
|
+
border-color: var(--vxe-ui-table-cell-active-area-border-color);
|
|
212
|
+
border-style: solid;
|
|
213
|
+
border-width: var(--vxe-ui-table-cell-active-area-border-width);
|
|
214
|
+
background-color: var(--vxe-ui-table-cell-active-area-background-color);
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
.vxe-table--cell-multi-area {
|
|
@@ -990,7 +993,7 @@
|
|
|
990
993
|
height: 1em;
|
|
991
994
|
text-align: center;
|
|
992
995
|
transform: translateY(-50%);
|
|
993
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
996
|
+
// background-color: var(--vxe-ui-layout-background-color);
|
|
994
997
|
z-index: 1;
|
|
995
998
|
user-select: none;
|
|
996
999
|
cursor: pointer;
|
|
File without changes
|
package/styles/theme/base.scss
CHANGED
|
@@ -69,6 +69,7 @@ $vxe-ui-status-error-color: #f56c6c;
|
|
|
69
69
|
--vxe-ui-table-cell-extend-area-border-width: 2px;
|
|
70
70
|
--vxe-ui-table-cell-copy-area-border-width: 3px;
|
|
71
71
|
--vxe-ui-table-cell-active-area-border-width: 2px;
|
|
72
|
+
--vxe-ui-table-cell-active-area-background-color: transparent;
|
|
72
73
|
--vxe-ui-table-cell-copy-area-border-color: var(--vxe-ui-table-cell-area-border-color);
|
|
73
74
|
--vxe-ui-table-cell-extend-area-border-color: var(--vxe-ui-table-cell-area-border-color);
|
|
74
75
|
--vxe-ui-table-cell-active-area-border-color: var(--vxe-ui-table-cell-area-border-color);
|
package/types/all.d.ts
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
import { VxeUIExport } from 'vxe-pc-ui'
|
|
2
|
-
import VxeColumn from 'vxe-pc-ui/types/components/column'
|
|
3
|
-
import VxeColgroup from 'vxe-pc-ui/types/components/colgroup'
|
|
4
|
-
import VxeTable from 'vxe-pc-ui/types/components/table'
|
|
5
|
-
import VxeGrid from 'vxe-pc-ui/types/components/grid'
|
|
6
|
-
import VxeToolbar from 'vxe-pc-ui/types/components/toolbar'
|
|
7
|
-
|
|
8
|
-
declare module '@vue/runtime-core' {
|
|
9
|
-
export interface GlobalComponents {
|
|
10
|
-
VxeColumn: typeof VxeColumn
|
|
11
|
-
VxeColgroup: typeof VxeColgroup
|
|
12
|
-
VxeTable: typeof VxeTable
|
|
13
|
-
VxeGrid: typeof VxeGrid
|
|
14
|
-
VxeToolbar: typeof VxeToolbar
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
2
|
|
|
18
3
|
declare global {
|
|
19
4
|
interface Window {
|
|
@@ -37,10 +22,3 @@ export const VXETable: VxeUIExport
|
|
|
37
22
|
export type VXETableCore = VxeUIExport
|
|
38
23
|
|
|
39
24
|
export * from 'vxe-pc-ui'
|
|
40
|
-
|
|
41
|
-
// Component
|
|
42
|
-
export * from 'vxe-pc-ui/types/components/column'
|
|
43
|
-
export * from 'vxe-pc-ui/types/components/colgroup'
|
|
44
|
-
export * from 'vxe-pc-ui/types/components/table'
|
|
45
|
-
export * from 'vxe-pc-ui/types/components/grid'
|
|
46
|
-
export * from 'vxe-pc-ui/types/components/toolbar'
|