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.
Files changed (129) hide show
  1. package/es/components.js +3 -1
  2. package/es/grid/src/grid.js +3 -2
  3. package/es/index.esm.js +2 -2
  4. package/es/style.css +1 -1
  5. package/es/style.min.css +1 -1
  6. package/es/table/module/custom/hook.js +2 -2
  7. package/es/table/module/custom/panel.js +2 -1
  8. package/es/table/module/edit/hook.js +2 -1
  9. package/es/table/module/export/export-panel.js +2 -1
  10. package/es/table/module/export/hook.js +2 -1
  11. package/es/table/module/export/import-panel.js +2 -1
  12. package/es/table/module/filter/hook.js +2 -1
  13. package/es/table/module/filter/panel.js +2 -1
  14. package/es/table/module/keyboard/hook.js +2 -1
  15. package/es/table/module/menu/hook.js +2 -1
  16. package/es/table/module/validator/hook.js +2 -1
  17. package/es/table/render/index.js +2 -1
  18. package/es/table/src/body.js +2 -1
  19. package/es/table/src/cell.js +2 -1
  20. package/es/table/src/columnInfo.js +2 -1
  21. package/es/table/src/props.js +2 -1
  22. package/es/table/src/table.js +16 -2
  23. package/es/table/style.css +4 -2
  24. package/es/table/style.min.css +1 -1
  25. package/es/toolbar/src/toolbar.js +3 -2
  26. package/es/ui/index.js +4 -2
  27. package/es/ui/src/utils.js +3 -3
  28. package/es/v-x-e-table/index.js +3 -0
  29. package/es/v-x-e-table/style.css +0 -0
  30. package/es/v-x-e-table/style.min.css +0 -0
  31. package/es/vxe-table/style.css +4 -2
  32. package/es/vxe-table/style.min.css +1 -1
  33. package/es/vxe-v-x-e-table/index.js +3 -0
  34. package/es/vxe-v-x-e-table/style.css +0 -0
  35. package/es/vxe-v-x-e-table/style.min.css +0 -0
  36. package/lib/components.js +10 -2
  37. package/lib/components.min.js +1 -1
  38. package/lib/grid/src/grid.js +40 -29
  39. package/lib/grid/src/grid.min.js +1 -1
  40. package/lib/index.common.js +5 -5
  41. package/lib/index.umd.js +570 -437
  42. package/lib/index.umd.min.js +1 -1
  43. package/lib/style.css +1 -1
  44. package/lib/style.min.css +1 -1
  45. package/lib/table/module/custom/hook.js +1 -1
  46. package/lib/table/module/custom/hook.min.js +1 -1
  47. package/lib/table/module/custom/panel.js +27 -23
  48. package/lib/table/module/custom/panel.min.js +1 -1
  49. package/lib/table/module/edit/hook.js +20 -13
  50. package/lib/table/module/edit/hook.min.js +1 -1
  51. package/lib/table/module/export/export-panel.js +35 -31
  52. package/lib/table/module/export/export-panel.min.js +1 -1
  53. package/lib/table/module/export/hook.js +24 -18
  54. package/lib/table/module/export/hook.min.js +1 -1
  55. package/lib/table/module/export/import-panel.js +12 -8
  56. package/lib/table/module/export/import-panel.min.js +1 -1
  57. package/lib/table/module/filter/hook.js +7 -3
  58. package/lib/table/module/filter/hook.min.js +1 -1
  59. package/lib/table/module/filter/panel.js +13 -8
  60. package/lib/table/module/filter/panel.min.js +1 -1
  61. package/lib/table/module/keyboard/hook.js +4 -1
  62. package/lib/table/module/keyboard/hook.min.js +1 -1
  63. package/lib/table/module/menu/hook.js +11 -5
  64. package/lib/table/module/menu/hook.min.js +1 -1
  65. package/lib/table/module/validator/hook.js +13 -7
  66. package/lib/table/module/validator/hook.min.js +1 -1
  67. package/lib/table/render/index.js +11 -5
  68. package/lib/table/render/index.min.js +1 -1
  69. package/lib/table/src/body.js +7 -3
  70. package/lib/table/src/body.min.js +1 -1
  71. package/lib/table/src/cell.js +26 -21
  72. package/lib/table/src/cell.min.js +1 -1
  73. package/lib/table/src/columnInfo.js +15 -10
  74. package/lib/table/src/columnInfo.min.js +1 -1
  75. package/lib/table/src/props.js +27 -24
  76. package/lib/table/src/props.min.js +1 -1
  77. package/lib/table/src/table.js +173 -146
  78. package/lib/table/src/table.min.js +1 -1
  79. package/lib/table/style/style.css +4 -2
  80. package/lib/table/style/style.min.css +1 -1
  81. package/lib/toolbar/src/toolbar.js +48 -38
  82. package/lib/toolbar/src/toolbar.min.js +1 -1
  83. package/lib/ui/index.js +5 -3
  84. package/lib/ui/index.min.js +1 -1
  85. package/lib/ui/src/utils.js +2 -2
  86. package/lib/ui/src/utils.min.js +1 -1
  87. package/lib/v-x-e-table/index.js +22 -0
  88. package/lib/v-x-e-table/index.min.js +1 -0
  89. package/lib/v-x-e-table/style/index.js +1 -0
  90. package/lib/v-x-e-table/style/style.css +0 -0
  91. package/lib/v-x-e-table/style/style.min.css +0 -0
  92. package/lib/vxe-table/style/style.css +4 -2
  93. package/lib/vxe-table/style/style.min.css +1 -1
  94. package/lib/vxe-v-x-e-table/index.js +22 -0
  95. package/lib/vxe-v-x-e-table/index.min.js +1 -0
  96. package/lib/vxe-v-x-e-table/style/index.js +1 -0
  97. package/lib/vxe-v-x-e-table/style/style.css +0 -0
  98. package/lib/vxe-v-x-e-table/style/style.min.css +0 -0
  99. package/package.json +2 -2
  100. package/packages/components.ts +4 -1
  101. package/packages/grid/src/grid.ts +5 -4
  102. package/packages/index.ts +2 -2
  103. package/packages/table/module/custom/hook.ts +2 -2
  104. package/packages/table/module/custom/panel.ts +4 -3
  105. package/packages/table/module/edit/hook.ts +3 -1
  106. package/packages/table/module/export/export-panel.ts +4 -3
  107. package/packages/table/module/export/hook.ts +3 -1
  108. package/packages/table/module/export/import-panel.ts +4 -3
  109. package/packages/table/module/filter/hook.ts +3 -1
  110. package/packages/table/module/filter/panel.ts +3 -1
  111. package/packages/table/module/keyboard/hook.ts +3 -1
  112. package/packages/table/module/menu/hook.ts +3 -1
  113. package/packages/table/module/validator/hook.ts +3 -1
  114. package/packages/table/render/index.ts +4 -3
  115. package/packages/table/src/body.ts +4 -2
  116. package/packages/table/src/cell.ts +4 -2
  117. package/packages/table/src/columnInfo.ts +2 -1
  118. package/packages/table/src/props.ts +3 -1
  119. package/packages/table/src/table.ts +18 -4
  120. package/packages/toolbar/src/toolbar.ts +5 -4
  121. package/packages/ui/index.ts +3 -0
  122. package/packages/ui/src/utils.ts +3 -3
  123. package/packages/ui/src/vn.ts +2 -1
  124. package/packages/v-x-e-table/index.d.ts +4 -0
  125. package/packages/v-x-e-table/index.ts +4 -0
  126. package/styles/components/table.scss +5 -2
  127. package/styles/components/v-x-e-table.scss +0 -0
  128. package/styles/theme/base.scss +1 -0
  129. 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 { renderer, hooks } from 'vxe-pc-ui'
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 { getI18n, getIcon, renderer } from 'vxe-pc-ui'
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 { hooks } from 'vxe-pc-ui'
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 { menus, hooks, globalEvents, GLOBAL_EVENT_KEYS } from 'vxe-pc-ui'
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 { getConfig, validators, hooks, log } from 'vxe-pc-ui'
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 { getConfig, renderer, getI18n, log } from 'vxe-pc-ui'
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 'vxe-pc-ui'
9
- import type { VxeGlobalRendererHandles, VxeColumnPropTypes } from '../../../types'
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 { getI18n, renderer, VxeComponentSlotType } from 'vxe-pc-ui'
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 { getI18n, getIcon, renderer, VxeComponentSlotType } from 'vxe-pc-ui'
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 { getI18n, formats, log } from 'vxe-pc-ui'
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 { getConfig } from 'vxe-pc-ui'
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, getConfig, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, globalEvents, GLOBAL_EVENT_KEYS, log, useSize } from 'vxe-pc-ui'
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 'vxe-pc-ui'
21
- import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, TableInternalData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableProps, VxeColumnPropTypes } from '../../../types'
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 { getConfig, getIcon, getI18n, renderer, commands, log, createEvent, useSize } from 'vxe-pc-ui'
3
+ import { VxeUI } from 'vxe-pc-ui'
4
4
  import { getSlotVNs } from '../../ui/src/vn'
5
5
 
6
- import type { VxeButtonComponent } from 'vxe-pc-ui'
7
- import type { VxeGridConstructor, GridPrivateMethods, ToolbarMethods, VxeToolbarConstructor, VxeToolbarEmits, VxeToolbarPropTypes, VxeTableConstructor, ToolbarPrivateRef, VxeTableMethods, VxeTablePrivateMethods, ToolbarReactData } from '../../../types'
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,
@@ -285,6 +285,9 @@ export const _t = VxeUI._t
285
285
  */
286
286
  export const VXETable = VxeUI
287
287
 
288
+ export const saveFile = VxeUI.readFile
289
+ export const readFile = VxeUI.readFile
290
+
288
291
  export {
289
292
  VxeUI
290
293
  }
@@ -1,5 +1,5 @@
1
1
  import XEUtils from 'xe-utils'
2
- import { getConfig } from 'vxe-pc-ui'
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
  /**
@@ -1,5 +1,6 @@
1
1
  import XEUtils from 'xe-utils'
2
- import { VxeComponentSlotType } from 'vxe-pc-ui'
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)
@@ -0,0 +1,4 @@
1
+ import VxeUI from '../ui'
2
+
3
+ export * from '../ui'
4
+ export default VxeUI
@@ -0,0 +1,4 @@
1
+ import VxeUI from '../ui'
2
+
3
+ export * from '../ui'
4
+ export default VxeUI
@@ -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-width) solid var(--vxe-ui-table-cell-active-area-border-color);
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
@@ -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'