vxe-table 4.14.1 → 4.14.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 (165) hide show
  1. package/README.md +2 -2
  2. package/es/grid/src/grid.js +1 -1
  3. package/es/index.css +1 -1
  4. package/es/index.min.css +1 -1
  5. package/es/locale/lang/ar-EG.js +19 -1
  6. package/es/locale/lang/de-DE.js +19 -1
  7. package/es/locale/lang/en-US.js +20 -2
  8. package/es/locale/lang/es-ES.js +19 -1
  9. package/es/locale/lang/fr-FR.js +19 -1
  10. package/es/locale/lang/hu-HU.js +19 -1
  11. package/es/locale/lang/hy-AM.js +18 -0
  12. package/es/locale/lang/id-ID.js +19 -1
  13. package/es/locale/lang/it-IT.js +19 -1
  14. package/es/locale/lang/ja-JP.js +19 -1
  15. package/es/locale/lang/ko-KR.js +19 -1
  16. package/es/locale/lang/ms-MY.js +19 -1
  17. package/es/locale/lang/nb-NO.js +19 -1
  18. package/es/locale/lang/pt-BR.js +19 -1
  19. package/es/locale/lang/ru-RU.js +19 -1
  20. package/es/locale/lang/th-TH.js +19 -1
  21. package/es/locale/lang/ug-CN.js +19 -1
  22. package/es/locale/lang/uk-UA.js +19 -1
  23. package/es/locale/lang/uz-UZ.js +19 -1
  24. package/es/locale/lang/vi-VN.js +19 -1
  25. package/es/locale/lang/zh-CHT.js +19 -1
  26. package/es/locale/lang/zh-CN.js +18 -0
  27. package/es/style.css +1 -1
  28. package/es/style.min.css +1 -1
  29. package/es/table/module/filter/panel.js +5 -1
  30. package/es/table/src/body.js +4 -7
  31. package/es/table/src/table.js +14 -4
  32. package/es/table/style.css +7 -1
  33. package/es/table/style.min.css +1 -1
  34. package/es/ui/index.js +2 -2
  35. package/es/ui/src/log.js +1 -1
  36. package/es/vxe-table/style.css +7 -1
  37. package/es/vxe-table/style.min.css +1 -1
  38. package/lib/grid/src/grid.js +1 -1
  39. package/lib/grid/src/grid.min.js +1 -1
  40. package/lib/index.css +1 -1
  41. package/lib/index.min.css +1 -1
  42. package/lib/index.umd.js +36 -16
  43. package/lib/index.umd.min.js +1 -1
  44. package/lib/locale/lang/ar-EG.js +19 -1
  45. package/lib/locale/lang/ar-EG.min.js +1 -1
  46. package/lib/locale/lang/ar-EG.umd.js +19 -1
  47. package/lib/locale/lang/de-DE.js +19 -1
  48. package/lib/locale/lang/de-DE.min.js +1 -1
  49. package/lib/locale/lang/de-DE.umd.js +19 -1
  50. package/lib/locale/lang/en-US.js +20 -2
  51. package/lib/locale/lang/en-US.min.js +1 -1
  52. package/lib/locale/lang/en-US.umd.js +20 -2
  53. package/lib/locale/lang/es-ES.js +19 -1
  54. package/lib/locale/lang/es-ES.min.js +1 -1
  55. package/lib/locale/lang/es-ES.umd.js +19 -1
  56. package/lib/locale/lang/fr-FR.js +19 -1
  57. package/lib/locale/lang/fr-FR.min.js +1 -1
  58. package/lib/locale/lang/fr-FR.umd.js +19 -1
  59. package/lib/locale/lang/hu-HU.js +19 -1
  60. package/lib/locale/lang/hu-HU.min.js +1 -1
  61. package/lib/locale/lang/hu-HU.umd.js +19 -1
  62. package/lib/locale/lang/hy-AM.js +18 -0
  63. package/lib/locale/lang/hy-AM.min.js +1 -1
  64. package/lib/locale/lang/hy-AM.umd.js +18 -0
  65. package/lib/locale/lang/id-ID.js +19 -1
  66. package/lib/locale/lang/id-ID.min.js +1 -1
  67. package/lib/locale/lang/id-ID.umd.js +19 -1
  68. package/lib/locale/lang/it-IT.js +19 -1
  69. package/lib/locale/lang/it-IT.min.js +1 -1
  70. package/lib/locale/lang/it-IT.umd.js +19 -1
  71. package/lib/locale/lang/ja-JP.js +19 -1
  72. package/lib/locale/lang/ja-JP.min.js +1 -1
  73. package/lib/locale/lang/ja-JP.umd.js +19 -1
  74. package/lib/locale/lang/ko-KR.js +19 -1
  75. package/lib/locale/lang/ko-KR.min.js +1 -1
  76. package/lib/locale/lang/ko-KR.umd.js +19 -1
  77. package/lib/locale/lang/ms-MY.js +19 -1
  78. package/lib/locale/lang/ms-MY.min.js +1 -1
  79. package/lib/locale/lang/ms-MY.umd.js +19 -1
  80. package/lib/locale/lang/nb-NO.js +19 -1
  81. package/lib/locale/lang/nb-NO.min.js +1 -1
  82. package/lib/locale/lang/nb-NO.umd.js +19 -1
  83. package/lib/locale/lang/pt-BR.js +19 -1
  84. package/lib/locale/lang/pt-BR.min.js +1 -1
  85. package/lib/locale/lang/pt-BR.umd.js +19 -1
  86. package/lib/locale/lang/ru-RU.js +19 -1
  87. package/lib/locale/lang/ru-RU.min.js +1 -1
  88. package/lib/locale/lang/ru-RU.umd.js +19 -1
  89. package/lib/locale/lang/th-TH.js +19 -1
  90. package/lib/locale/lang/th-TH.min.js +1 -1
  91. package/lib/locale/lang/th-TH.umd.js +19 -1
  92. package/lib/locale/lang/ug-CN.js +19 -1
  93. package/lib/locale/lang/ug-CN.min.js +1 -1
  94. package/lib/locale/lang/ug-CN.umd.js +19 -1
  95. package/lib/locale/lang/uk-UA.js +19 -1
  96. package/lib/locale/lang/uk-UA.min.js +1 -1
  97. package/lib/locale/lang/uk-UA.umd.js +19 -1
  98. package/lib/locale/lang/uz-UZ.js +19 -1
  99. package/lib/locale/lang/uz-UZ.min.js +1 -1
  100. package/lib/locale/lang/uz-UZ.umd.js +19 -1
  101. package/lib/locale/lang/vi-VN.js +19 -1
  102. package/lib/locale/lang/vi-VN.min.js +1 -1
  103. package/lib/locale/lang/vi-VN.umd.js +19 -1
  104. package/lib/locale/lang/zh-CHT.js +19 -1
  105. package/lib/locale/lang/zh-CHT.min.js +1 -1
  106. package/lib/locale/lang/zh-CHT.umd.js +19 -1
  107. package/lib/locale/lang/zh-CN.js +18 -0
  108. package/lib/locale/lang/zh-CN.min.js +1 -1
  109. package/lib/locale/lang/zh-CN.umd.js +18 -0
  110. package/lib/style.css +1 -1
  111. package/lib/style.min.css +1 -1
  112. package/lib/table/module/filter/panel.js +5 -1
  113. package/lib/table/module/filter/panel.min.js +1 -1
  114. package/lib/table/src/body.js +4 -6
  115. package/lib/table/src/body.min.js +1 -1
  116. package/lib/table/src/table.js +5 -5
  117. package/lib/table/src/table.min.js +1 -1
  118. package/lib/table/style/style.css +7 -1
  119. package/lib/table/style/style.min.css +1 -1
  120. package/lib/ui/index.js +2 -2
  121. package/lib/ui/index.min.js +1 -1
  122. package/lib/ui/src/log.js +1 -1
  123. package/lib/ui/src/log.min.js +1 -1
  124. package/lib/vxe-table/style/style.css +7 -1
  125. package/lib/vxe-table/style/style.min.css +1 -1
  126. package/package.json +1 -1
  127. package/packages/grid/src/grid.ts +4 -4
  128. package/packages/locale/lang/ar-EG.ts +19 -1
  129. package/packages/locale/lang/de-DE.ts +19 -1
  130. package/packages/locale/lang/en-US.ts +20 -2
  131. package/packages/locale/lang/es-ES.ts +19 -1
  132. package/packages/locale/lang/fr-FR.ts +19 -1
  133. package/packages/locale/lang/hu-HU.ts +19 -1
  134. package/packages/locale/lang/hy-AM.ts +18 -0
  135. package/packages/locale/lang/id-ID.ts +19 -1
  136. package/packages/locale/lang/it-IT.ts +19 -1
  137. package/packages/locale/lang/ja-JP.ts +19 -1
  138. package/packages/locale/lang/ko-KR.ts +19 -1
  139. package/packages/locale/lang/ms-MY.ts +19 -1
  140. package/packages/locale/lang/nb-NO.ts +19 -1
  141. package/packages/locale/lang/pt-BR.ts +19 -1
  142. package/packages/locale/lang/ru-RU.ts +19 -1
  143. package/packages/locale/lang/th-TH.ts +19 -1
  144. package/packages/locale/lang/ug-CN.ts +19 -1
  145. package/packages/locale/lang/uk-UA.ts +19 -1
  146. package/packages/locale/lang/uz-UZ.ts +19 -1
  147. package/packages/locale/lang/vi-VN.ts +19 -1
  148. package/packages/locale/lang/zh-CHT.ts +19 -1
  149. package/packages/locale/lang/zh-CN.ts +18 -0
  150. package/packages/table/module/custom/panel.ts +6 -6
  151. package/packages/table/module/export/export-panel.ts +5 -6
  152. package/packages/table/module/export/import-panel.ts +3 -4
  153. package/packages/table/module/filter/panel.ts +5 -1
  154. package/packages/table/src/body.ts +4 -9
  155. package/packages/table/src/table.ts +16 -7
  156. package/packages/toolbar/src/toolbar.ts +4 -4
  157. package/packages/ui/index.ts +1 -1
  158. package/styles/components/table.scss +7 -1
  159. package/styles/theme/base.scss +1 -1
  160. /package/es/{iconfont.1752051052938.ttf → iconfont.1752473553949.ttf} +0 -0
  161. /package/es/{iconfont.1752051052938.woff → iconfont.1752473553949.woff} +0 -0
  162. /package/es/{iconfont.1752051052938.woff2 → iconfont.1752473553949.woff2} +0 -0
  163. /package/lib/{iconfont.1752051052938.ttf → iconfont.1752473553949.ttf} +0 -0
  164. /package/lib/{iconfont.1752051052938.woff → iconfont.1752473553949.woff} +0 -0
  165. /package/lib/{iconfont.1752051052938.woff2 → iconfont.1752473553949.woff2} +0 -0
@@ -6,7 +6,7 @@ import { getTpImg, addClass, removeClass, hasControlKey } from '../../../ui/src/
6
6
  import { errLog } from '../../../ui/src/log'
7
7
  import XEUtils from 'xe-utils'
8
8
 
9
- import type { VxeModalComponent, VxeDrawerComponent, VxeButtonComponent, VxeRadioGroupComponent, VxeInputComponent, VxeButtonEvents } from 'vxe-pc-ui'
9
+ import type { VxeButtonEvents } from 'vxe-pc-ui'
10
10
  import type { VxeTableDefines, VxeTablePrivateMethods, VxeTableConstructor, VxeTableMethods, VxeColumnPropTypes, VxeTableCustomPanelConstructor, TableCustomPanelReactData, TableCustomPanelInternalData, TableCustomPanelPrivateRef, TableCustomPanelPrivateComputed } from '../../../../types'
11
11
 
12
12
  const { getI18n, getIcon, renderEmptyElement } = VxeUI
@@ -22,11 +22,11 @@ export default defineVxeComponent({
22
22
  setup (props, context) {
23
23
  const xID = XEUtils.uniqueId()
24
24
 
25
- const VxeUIModalComponent = VxeUI.getComponent<VxeModalComponent>('VxeModal')
26
- const VxeUIDrawerComponent = VxeUI.getComponent<VxeDrawerComponent>('VxeDrawer')
27
- const VxeUIButtonComponent = VxeUI.getComponent<VxeButtonComponent>('VxeButton')
28
- const VxeUINumberInputComponent = VxeUI.getComponent<VxeInputComponent>('VxeNumberInput')
29
- const VxeUIRadioGroupComponent = VxeUI.getComponent<VxeRadioGroupComponent>('VxeRadioGroup')
25
+ const VxeUIModalComponent = VxeUI.getComponent('VxeModal')
26
+ const VxeUIDrawerComponent = VxeUI.getComponent('VxeDrawer')
27
+ const VxeUIButtonComponent = VxeUI.getComponent('VxeButton')
28
+ const VxeUINumberInputComponent = VxeUI.getComponent('VxeNumberInput')
29
+ const VxeUIRadioGroupComponent = VxeUI.getComponent('VxeRadioGroup')
30
30
 
31
31
  const $xeTable = inject('$xeTable', {} as VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods)
32
32
 
@@ -5,7 +5,6 @@ import XEUtils from 'xe-utils'
5
5
  import { formatText } from '../../../ui/src/utils'
6
6
  import { errLog } from '../../../ui/src/log'
7
7
 
8
- import type { VxeModalComponent, VxeInputComponent, VxeCheckboxComponent, VxeSelectComponent, VxeButtonComponent } from 'vxe-pc-ui'
9
8
  import type { VxeTablePrivateMethods, VxeTableConstructor, VxeTableMethods } from '../../../../types'
10
9
 
11
10
  const { getI18n, getIcon } = VxeUI
@@ -17,11 +16,11 @@ export default defineVxeComponent({
17
16
  storeData: Object as any
18
17
  },
19
18
  setup (props) {
20
- const VxeUIModalComponent = VxeUI.getComponent<VxeModalComponent>('VxeModal')
21
- const VxeUIButtonComponent = VxeUI.getComponent<VxeButtonComponent>('VxeButton')
22
- const VxeUISelectComponent = VxeUI.getComponent<VxeSelectComponent>('VxeSelect')
23
- const VxeUIInputComponent = VxeUI.getComponent<VxeInputComponent>('VxeInput')
24
- const VxeUICheckboxComponent = VxeUI.getComponent<VxeCheckboxComponent>('VxeCheckbox')
19
+ const VxeUIModalComponent = VxeUI.getComponent('VxeModal')
20
+ const VxeUIButtonComponent = VxeUI.getComponent('VxeButton')
21
+ const VxeUISelectComponent = VxeUI.getComponent('VxeSelect')
22
+ const VxeUIInputComponent = VxeUI.getComponent('VxeInput')
23
+ const VxeUICheckboxComponent = VxeUI.getComponent('VxeCheckbox')
25
24
 
26
25
  const $xeTable = inject('$xeTable', {} as VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods)
27
26
  const { computeExportOpts, computePrintOpts } = $xeTable.getComputeMaps()
@@ -5,7 +5,6 @@ import XEUtils from 'xe-utils'
5
5
  import { parseFile } from '../../../ui/src/utils'
6
6
  import { errLog } from '../../../ui/src/log'
7
7
 
8
- import type { VxeButtonComponent, VxeModalComponent, VxeSelectComponent } from 'vxe-pc-ui'
9
8
  import type { VxeTablePrivateMethods, VxeTableConstructor, VxeTableMethods } from '../../../../types'
10
9
 
11
10
  const { getI18n, getIcon } = VxeUI
@@ -17,9 +16,9 @@ export default defineVxeComponent({
17
16
  storeData: Object as any
18
17
  },
19
18
  setup (props) {
20
- const VxeUIModalComponent = VxeUI.getComponent<VxeModalComponent>('VxeModal')
21
- const VxeUIButtonComponent = VxeUI.getComponent<VxeButtonComponent>('VxeButton')
22
- const VxeUISelectComponent = VxeUI.getComponent<VxeSelectComponent>('VxeSelect')
19
+ const VxeUIModalComponent = VxeUI.getComponent('VxeModal')
20
+ const VxeUIButtonComponent = VxeUI.getComponent('VxeButton')
21
+ const VxeUISelectComponent = VxeUI.getComponent('VxeSelect')
23
22
 
24
23
  const $xeTable = inject('$xeTable', {} as VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods)
25
24
  const { computeImportOpts } = $xeTable.getComputeMaps()
@@ -4,6 +4,7 @@ import { VxeUI } from '../../../ui'
4
4
  import { formatText, isEnableConf } from '../../../ui/src/utils'
5
5
  import { getPropClass } from '../../../ui/src/dom'
6
6
  import { getSlotVNs } from '../../../ui/src/vn'
7
+ import { warnLog } from '../../../ui/src/log'
7
8
  import XEUtils from 'xe-utils'
8
9
 
9
10
  import type { VxeTableConstructor, VxeTableMethods, VxeTablePrivateMethods } from '../../../../types'
@@ -56,7 +57,10 @@ export default defineVxeComponent({
56
57
  *************************/
57
58
  // 确认筛选
58
59
  const confirmFilter = (evnt: Event) => {
59
- $xeTable.handleFilterConfirmFilter(evnt)
60
+ if (!evnt) {
61
+ warnLog('vxe.error.delFunc', ['confirmFilter', 'saveFilterPanelByEvent'])
62
+ }
63
+ $xeTable.handleFilterConfirmFilter(evnt || new Event('click'))
60
64
  }
61
65
 
62
66
  // (单选)筛选发生改变
@@ -243,7 +243,7 @@ export default defineVxeComponent({
243
243
  if (spanRest) {
244
244
  const { rowspan, colspan } = spanRest
245
245
  if (!rowspan || !colspan) {
246
- return null
246
+ return renderEmptyElement($xeTable)
247
247
  }
248
248
  if (rowspan > 1) {
249
249
  isMergeCell = true
@@ -260,7 +260,7 @@ export default defineVxeComponent({
260
260
  // 自定义合并行或列的方法
261
261
  const { rowspan = 1, colspan = 1 } = spanMethod(cellParams) || {}
262
262
  if (!rowspan || !colspan) {
263
- return null
263
+ return renderEmptyElement($xeTable)
264
264
  }
265
265
  if (rowspan > 1) {
266
266
  isMergeCell = true
@@ -401,13 +401,8 @@ export default defineVxeComponent({
401
401
  }
402
402
 
403
403
  let showAreaRowStatus = false
404
- if (mouseConfig && mouseOpts.area && selectCellToRow) {
405
- if (
406
- (!_columnIndex && selectCellToRow === true) ||
407
- (selectCellToRow === column.field)
408
- ) {
409
- showAreaRowStatus = true
410
- }
404
+ if (mouseConfig && mouseOpts.area && !_columnIndex && selectCellToRow) {
405
+ showAreaRowStatus = true
411
406
  }
412
407
 
413
408
  if (!fixedHiddenColumn && showResizable && isAllColumnDrag) {
@@ -20,7 +20,7 @@ import TableImportPanelComponent from '../module/export/import-panel'
20
20
  import TableExportPanelComponent from '../module/export/export-panel'
21
21
  import TableMenuPanelComponent from '../module/menu/panel'
22
22
 
23
- import type { VxeLoadingComponent, VxeTooltipInstance, VxeTooltipComponent, VxeTabsConstructor, VxeTabsPrivateMethods, ValueOf, VxeComponentSlotType } from 'vxe-pc-ui'
23
+ import type { VxeTooltipInstance, VxeTabsConstructor, VxeTabsPrivateMethods, ValueOf, VxeComponentSlotType } from 'vxe-pc-ui'
24
24
  import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, TableInternalData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableEmits, VxeTableProps, VxeColumnPropTypes, VxeTableCustomPanelConstructor } from '../../../types'
25
25
 
26
26
  const { getConfig, getIcon, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, globalEvents, GLOBAL_EVENT_KEYS, useFns, renderEmptyElement } = VxeUI
@@ -42,8 +42,8 @@ export default defineVxeComponent({
42
42
  const browseObj = XEUtils.browse()
43
43
 
44
44
  // 使用已安装的组件,如果未安装则不渲染
45
- const VxeUILoadingComponent = VxeUI.getComponent<VxeLoadingComponent>('VxeLoading')
46
- const VxeUITooltipComponent = VxeUI.getComponent<VxeTooltipComponent>('VxeTooltip')
45
+ const VxeUILoadingComponent = VxeUI.getComponent('VxeLoading')
46
+ const VxeUITooltipComponent = VxeUI.getComponent('VxeTooltip')
47
47
 
48
48
  const $xeTabs = inject<(VxeTabsConstructor & VxeTabsPrivateMethods) | null>('$xeTabs', null)
49
49
 
@@ -6248,15 +6248,17 @@ export default defineVxeComponent({
6248
6248
  * 手动清空展开行状态,数据会恢复成未展开的状态
6249
6249
  */
6250
6250
  clearRowExpand () {
6251
- const { tableFullData } = internalData
6251
+ const { tableFullData, scrollYStore } = internalData
6252
6252
  const expandOpts = computeExpandOpts.value
6253
6253
  const { reserve } = expandOpts
6254
6254
  const expList = $xeTable.getRowExpandRecords()
6255
6255
  internalData.rowExpandedMaps = {}
6256
- reactData.rowExpandedFlag++
6257
6256
  if (reserve) {
6258
6257
  tableFullData.forEach((row) => handleRowExpandReserve(row, false))
6259
6258
  }
6259
+ reactData.rowExpandedFlag++
6260
+ scrollYStore.startIndex = 0
6261
+ scrollYStore.endIndex = 1
6260
6262
  return nextTick().then(() => {
6261
6263
  if (expList.length) {
6262
6264
  return handleLazyRecalculate(true, true, true)
@@ -8423,7 +8425,7 @@ export default defineVxeComponent({
8423
8425
  const treeOpts = computeTreeOpts.value
8424
8426
  const childrenField = treeOpts.children || treeOpts.childrenField
8425
8427
  const checkboxOpts = computeCheckboxOpts.value
8426
- const { checkField, checkStrictly, checkMethod } = checkboxOpts
8428
+ const { checkField, indeterminateField, checkStrictly, checkMethod } = checkboxOpts
8427
8429
  if (checkStrictly) {
8428
8430
  return
8429
8431
  }
@@ -8454,6 +8456,10 @@ export default defineVxeComponent({
8454
8456
  if (childList && childList.length && !childRowMaps[rowid]) {
8455
8457
  childRowMaps[rowid] = 1
8456
8458
  childRowList.unshift([row, rowid, childList])
8459
+ } else {
8460
+ if (indeterminateField) {
8461
+ XEUtils.set(row, indeterminateField, false)
8462
+ }
8457
8463
  }
8458
8464
  }, { children: transform ? mapChildrenField : childrenField })
8459
8465
  }
@@ -8465,7 +8471,7 @@ export default defineVxeComponent({
8465
8471
  let sLen = 0 // 已选
8466
8472
  let hLen = 0 // 半选
8467
8473
  let vLen = 0 // 有效子行
8468
- const cLen = childList.length // 有效子行
8474
+ const cLen = childList.length // 子行
8469
8475
  childList.forEach(
8470
8476
  checkMethod
8471
8477
  ? (item) => {
@@ -8521,6 +8527,9 @@ export default defineVxeComponent({
8521
8527
  if (checkField) {
8522
8528
  XEUtils.set(row, checkField, isSelected)
8523
8529
  }
8530
+ if (indeterminateField) {
8531
+ XEUtils.set(row, indeterminateField, halfSelect)
8532
+ }
8524
8533
  if (isSelected) {
8525
8534
  if (!checkField) {
8526
8535
  selectCheckboxMaps[rowid] = row
@@ -1,11 +1,11 @@
1
- import { h, ref, Ref, computed, inject, createCommentVNode, VNode, reactive, nextTick, PropType } from 'vue'
1
+ import { h, ref, computed, inject, createCommentVNode, VNode, reactive, nextTick, PropType } from 'vue'
2
2
  import { defineVxeComponent } from '../../ui/src/comp'
3
3
  import XEUtils from 'xe-utils'
4
4
  import { VxeUI } from '../../ui'
5
5
  import { getSlotVNs } from '../../ui/src/vn'
6
6
  import { warnLog, errLog } from '../../ui/src/log'
7
7
 
8
- import type { ValueOf, VxeButtonComponent, VxeButtonEvents, VxeComponentSlotType, VxeButtonDefines } from 'vxe-pc-ui'
8
+ import type { ValueOf, VxeButtonEvents, VxeComponentSlotType, VxeButtonDefines } from 'vxe-pc-ui'
9
9
  import type { VxeGridConstructor, GridPrivateMethods, ToolbarMethods, ToolbarInternalData, VxeToolbarConstructor, VxeToolbarEmits, VxeToolbarPropTypes, ToolbarPrivateRef, ToolbarReactData, VxeTableConstructor, VxeTablePrivateMethods } from '../../../types'
10
10
 
11
11
  const { getConfig, getIcon, getI18n, renderer, commands, createEvent, useFns } = VxeUI
@@ -54,7 +54,7 @@ export default defineVxeComponent({
54
54
  const xID = XEUtils.uniqueId()
55
55
 
56
56
  // 使用已安装的组件,如果未安装则不渲染
57
- const VxeUIButtonComponent = VxeUI.getComponent<VxeButtonComponent>('VxeButton')
57
+ const VxeUIButtonComponent = VxeUI.getComponent('VxeButton')
58
58
 
59
59
  const { computeSize } = useFns.useSize(props)
60
60
 
@@ -68,7 +68,7 @@ export default defineVxeComponent({
68
68
  connectTable: null
69
69
  }
70
70
 
71
- const refElem = ref() as Ref<HTMLDivElement>
71
+ const refElem = ref<HTMLDivElement>()
72
72
 
73
73
  const refMaps: ToolbarPrivateRef = {
74
74
  refElem
@@ -264,7 +264,7 @@ VxeUI.setConfig({
264
264
  autoLoad: true,
265
265
  showLoading: true,
266
266
  showResponseMsg: true,
267
- showActiveMsg: true,
267
+ showActionMsg: true,
268
268
  response: {
269
269
  list: null,
270
270
  result: 'result',
@@ -401,7 +401,13 @@ $btnThemeList: (
401
401
  }
402
402
  .vxe-table--cell-col-status-area,
403
403
  .vxe-table--cell-row-status-area {
404
- background-color: var(--vxe-ui-table-checkbox-range-background-color);
404
+ background-color: var(--vxe-ui-table-cell-area-status-background-color);
405
+ }
406
+ .vxe-table--cell-col-status-area {
407
+ border-bottom: var(--vxe-ui-table-cell-area-border-width) solid var(--vxe-ui-table-cell-area-border-color);
408
+ }
409
+ .vxe-table--cell-row-status-area {
410
+ border-right: var(--vxe-ui-table-cell-area-border-width) solid var(--vxe-ui-table-cell-area-border-color);
405
411
  }
406
412
  }
407
413
 
@@ -65,7 +65,7 @@
65
65
  --vxe-ui-table-cell-extend-area-border-color: var(--vxe-ui-table-cell-area-border-color);
66
66
  --vxe-ui-table-cell-active-area-border-color: var(--vxe-ui-table-cell-area-border-color);
67
67
  --vxe-ui-table-cell-area-background-color: rgba(64,158,255,0.2);
68
- --vxe-ui-table-header-active-area-background-color: rgba(64,158,255,0.05);
68
+ --vxe-ui-table-cell-area-status-background-color: rgba(64,158,255,0.1);
69
69
 
70
70
  --vxe-ui-table-expand-padding-default: 16px;
71
71