vxe-table 4.14.2 → 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 (144) hide show
  1. package/es/grid/src/grid.js +1 -1
  2. package/es/locale/lang/ar-EG.js +19 -1
  3. package/es/locale/lang/de-DE.js +19 -1
  4. package/es/locale/lang/en-US.js +20 -2
  5. package/es/locale/lang/es-ES.js +19 -1
  6. package/es/locale/lang/fr-FR.js +19 -1
  7. package/es/locale/lang/hu-HU.js +19 -1
  8. package/es/locale/lang/hy-AM.js +18 -0
  9. package/es/locale/lang/id-ID.js +19 -1
  10. package/es/locale/lang/it-IT.js +19 -1
  11. package/es/locale/lang/ja-JP.js +19 -1
  12. package/es/locale/lang/ko-KR.js +19 -1
  13. package/es/locale/lang/ms-MY.js +19 -1
  14. package/es/locale/lang/nb-NO.js +19 -1
  15. package/es/locale/lang/pt-BR.js +19 -1
  16. package/es/locale/lang/ru-RU.js +19 -1
  17. package/es/locale/lang/th-TH.js +19 -1
  18. package/es/locale/lang/ug-CN.js +19 -1
  19. package/es/locale/lang/uk-UA.js +19 -1
  20. package/es/locale/lang/uz-UZ.js +19 -1
  21. package/es/locale/lang/vi-VN.js +19 -1
  22. package/es/locale/lang/zh-CHT.js +19 -1
  23. package/es/locale/lang/zh-CN.js +18 -0
  24. package/es/style.css +1 -1
  25. package/es/table/module/filter/panel.js +5 -1
  26. package/es/table/src/table.js +14 -4
  27. package/es/ui/index.js +2 -2
  28. package/es/ui/src/log.js +1 -1
  29. package/lib/grid/src/grid.js +1 -1
  30. package/lib/grid/src/grid.min.js +1 -1
  31. package/lib/index.umd.js +32 -10
  32. package/lib/index.umd.min.js +1 -1
  33. package/lib/locale/lang/ar-EG.js +19 -1
  34. package/lib/locale/lang/ar-EG.min.js +1 -1
  35. package/lib/locale/lang/ar-EG.umd.js +19 -1
  36. package/lib/locale/lang/de-DE.js +19 -1
  37. package/lib/locale/lang/de-DE.min.js +1 -1
  38. package/lib/locale/lang/de-DE.umd.js +19 -1
  39. package/lib/locale/lang/en-US.js +20 -2
  40. package/lib/locale/lang/en-US.min.js +1 -1
  41. package/lib/locale/lang/en-US.umd.js +20 -2
  42. package/lib/locale/lang/es-ES.js +19 -1
  43. package/lib/locale/lang/es-ES.min.js +1 -1
  44. package/lib/locale/lang/es-ES.umd.js +19 -1
  45. package/lib/locale/lang/fr-FR.js +19 -1
  46. package/lib/locale/lang/fr-FR.min.js +1 -1
  47. package/lib/locale/lang/fr-FR.umd.js +19 -1
  48. package/lib/locale/lang/hu-HU.js +19 -1
  49. package/lib/locale/lang/hu-HU.min.js +1 -1
  50. package/lib/locale/lang/hu-HU.umd.js +19 -1
  51. package/lib/locale/lang/hy-AM.js +18 -0
  52. package/lib/locale/lang/hy-AM.min.js +1 -1
  53. package/lib/locale/lang/hy-AM.umd.js +18 -0
  54. package/lib/locale/lang/id-ID.js +19 -1
  55. package/lib/locale/lang/id-ID.min.js +1 -1
  56. package/lib/locale/lang/id-ID.umd.js +19 -1
  57. package/lib/locale/lang/it-IT.js +19 -1
  58. package/lib/locale/lang/it-IT.min.js +1 -1
  59. package/lib/locale/lang/it-IT.umd.js +19 -1
  60. package/lib/locale/lang/ja-JP.js +19 -1
  61. package/lib/locale/lang/ja-JP.min.js +1 -1
  62. package/lib/locale/lang/ja-JP.umd.js +19 -1
  63. package/lib/locale/lang/ko-KR.js +19 -1
  64. package/lib/locale/lang/ko-KR.min.js +1 -1
  65. package/lib/locale/lang/ko-KR.umd.js +19 -1
  66. package/lib/locale/lang/ms-MY.js +19 -1
  67. package/lib/locale/lang/ms-MY.min.js +1 -1
  68. package/lib/locale/lang/ms-MY.umd.js +19 -1
  69. package/lib/locale/lang/nb-NO.js +19 -1
  70. package/lib/locale/lang/nb-NO.min.js +1 -1
  71. package/lib/locale/lang/nb-NO.umd.js +19 -1
  72. package/lib/locale/lang/pt-BR.js +19 -1
  73. package/lib/locale/lang/pt-BR.min.js +1 -1
  74. package/lib/locale/lang/pt-BR.umd.js +19 -1
  75. package/lib/locale/lang/ru-RU.js +19 -1
  76. package/lib/locale/lang/ru-RU.min.js +1 -1
  77. package/lib/locale/lang/ru-RU.umd.js +19 -1
  78. package/lib/locale/lang/th-TH.js +19 -1
  79. package/lib/locale/lang/th-TH.min.js +1 -1
  80. package/lib/locale/lang/th-TH.umd.js +19 -1
  81. package/lib/locale/lang/ug-CN.js +19 -1
  82. package/lib/locale/lang/ug-CN.min.js +1 -1
  83. package/lib/locale/lang/ug-CN.umd.js +19 -1
  84. package/lib/locale/lang/uk-UA.js +19 -1
  85. package/lib/locale/lang/uk-UA.min.js +1 -1
  86. package/lib/locale/lang/uk-UA.umd.js +19 -1
  87. package/lib/locale/lang/uz-UZ.js +19 -1
  88. package/lib/locale/lang/uz-UZ.min.js +1 -1
  89. package/lib/locale/lang/uz-UZ.umd.js +19 -1
  90. package/lib/locale/lang/vi-VN.js +19 -1
  91. package/lib/locale/lang/vi-VN.min.js +1 -1
  92. package/lib/locale/lang/vi-VN.umd.js +19 -1
  93. package/lib/locale/lang/zh-CHT.js +19 -1
  94. package/lib/locale/lang/zh-CHT.min.js +1 -1
  95. package/lib/locale/lang/zh-CHT.umd.js +19 -1
  96. package/lib/locale/lang/zh-CN.js +18 -0
  97. package/lib/locale/lang/zh-CN.min.js +1 -1
  98. package/lib/locale/lang/zh-CN.umd.js +18 -0
  99. package/lib/style.css +1 -1
  100. package/lib/table/module/filter/panel.js +5 -1
  101. package/lib/table/module/filter/panel.min.js +1 -1
  102. package/lib/table/src/table.js +5 -5
  103. package/lib/table/src/table.min.js +1 -1
  104. package/lib/ui/index.js +2 -2
  105. package/lib/ui/index.min.js +1 -1
  106. package/lib/ui/src/log.js +1 -1
  107. package/lib/ui/src/log.min.js +1 -1
  108. package/package.json +1 -1
  109. package/packages/grid/src/grid.ts +4 -4
  110. package/packages/locale/lang/ar-EG.ts +19 -1
  111. package/packages/locale/lang/de-DE.ts +19 -1
  112. package/packages/locale/lang/en-US.ts +20 -2
  113. package/packages/locale/lang/es-ES.ts +19 -1
  114. package/packages/locale/lang/fr-FR.ts +19 -1
  115. package/packages/locale/lang/hu-HU.ts +19 -1
  116. package/packages/locale/lang/hy-AM.ts +18 -0
  117. package/packages/locale/lang/id-ID.ts +19 -1
  118. package/packages/locale/lang/it-IT.ts +19 -1
  119. package/packages/locale/lang/ja-JP.ts +19 -1
  120. package/packages/locale/lang/ko-KR.ts +19 -1
  121. package/packages/locale/lang/ms-MY.ts +19 -1
  122. package/packages/locale/lang/nb-NO.ts +19 -1
  123. package/packages/locale/lang/pt-BR.ts +19 -1
  124. package/packages/locale/lang/ru-RU.ts +19 -1
  125. package/packages/locale/lang/th-TH.ts +19 -1
  126. package/packages/locale/lang/ug-CN.ts +19 -1
  127. package/packages/locale/lang/uk-UA.ts +19 -1
  128. package/packages/locale/lang/uz-UZ.ts +19 -1
  129. package/packages/locale/lang/vi-VN.ts +19 -1
  130. package/packages/locale/lang/zh-CHT.ts +19 -1
  131. package/packages/locale/lang/zh-CN.ts +18 -0
  132. package/packages/table/module/custom/panel.ts +6 -6
  133. package/packages/table/module/export/export-panel.ts +5 -6
  134. package/packages/table/module/export/import-panel.ts +3 -4
  135. package/packages/table/module/filter/panel.ts +5 -1
  136. package/packages/table/src/table.ts +16 -7
  137. package/packages/toolbar/src/toolbar.ts +4 -4
  138. package/packages/ui/index.ts +1 -1
  139. /package/es/{iconfont.1752196480453.ttf → iconfont.1752473553949.ttf} +0 -0
  140. /package/es/{iconfont.1752196480453.woff → iconfont.1752473553949.woff} +0 -0
  141. /package/es/{iconfont.1752196480453.woff2 → iconfont.1752473553949.woff2} +0 -0
  142. /package/lib/{iconfont.1752196480453.ttf → iconfont.1752473553949.ttf} +0 -0
  143. /package/lib/{iconfont.1752196480453.woff → iconfont.1752473553949.woff} +0 -0
  144. /package/lib/{iconfont.1752196480453.woff2 → iconfont.1752473553949.woff2} +0 -0
@@ -96,9 +96,27 @@ export default {
96
96
  operError: "Xato yuz berdi va operatsiya muvaffaqiyatsiz bo'ldi!"
97
97
  },
98
98
  select: {
99
+ clear: '清除',
100
+ allChecked: '全选',
101
+ total: '{0} / {1}',
99
102
  search: 'qidirish',
100
103
  loadingText: 'yuklamoq',
101
- emptyText: "Hali ma'lumot yo'q"
104
+ emptyText: "Hali ma'lumot yo'q",
105
+ maxOpt: '最大可选择的数量不能超过 {0} 个',
106
+ overSizeErr: '已超出最大可选数量 {0} 个,超出部分将被忽略!',
107
+ searchEmpty: '未匹配到数据!'
108
+ },
109
+ tree: {
110
+ searchEmpty: '未匹配到数据!'
111
+ },
112
+ treeSelect: {
113
+ clearChecked: '清除',
114
+ allChecked: '全选',
115
+ allExpand: '全部展开',
116
+ clearExpand: '全部收起',
117
+ total: '{0} / {1}',
118
+ search: '搜索',
119
+ emptyText: '暂无数据'
102
120
  },
103
121
  pager: {
104
122
  goto: 'Bormoq',
@@ -96,9 +96,27 @@ export default {
96
96
  operError: 'Một lỗi đã xảy ra và hoạt động không thành công!'
97
97
  },
98
98
  select: {
99
+ clear: '清除',
100
+ allChecked: '全选',
101
+ total: '{0} / {1}',
99
102
  search: 'tìm kiếm',
100
103
  loadingText: 'đang tải',
101
- emptyText: 'Chưa có dữ liệu'
104
+ emptyText: 'Chưa có dữ liệu',
105
+ maxOpt: '最大可选择的数量不能超过 {0} 个',
106
+ overSizeErr: '已超出最大可选数量 {0} 个,超出部分将被忽略!',
107
+ searchEmpty: '未匹配到数据!'
108
+ },
109
+ tree: {
110
+ searchEmpty: '未匹配到数据!'
111
+ },
112
+ treeSelect: {
113
+ clearChecked: '清除',
114
+ allChecked: '全选',
115
+ allExpand: '全部展开',
116
+ clearExpand: '全部收起',
117
+ total: '已选 {0}',
118
+ search: '搜索',
119
+ emptyText: '暂无数据'
102
120
  },
103
121
  pager: {
104
122
  goto: 'Đi',
@@ -96,9 +96,27 @@ export default {
96
96
  operError: '發生錯誤,操作失敗!'
97
97
  },
98
98
  select: {
99
+ clear: '清除',
100
+ allChecked: '全选',
101
+ total: '{0} / {1}',
99
102
  search: '搜尋',
100
103
  loadingText: '載入中',
101
- emptyText: '暫無數據'
104
+ emptyText: '暫無數據',
105
+ maxOpt: '最大可选择的数量不能超过 {0} 个',
106
+ overSizeErr: '已超出最大可选数量 {0} 个,超出部分将被忽略!',
107
+ searchEmpty: '未匹配到数据!'
108
+ },
109
+ tree: {
110
+ searchEmpty: '未匹配到数据!'
111
+ },
112
+ treeSelect: {
113
+ clearChecked: '清除',
114
+ allChecked: '全选',
115
+ allExpand: '全部展开',
116
+ clearExpand: '全部收起',
117
+ total: '已选 {0}',
118
+ search: '搜索',
119
+ emptyText: '暂无数据'
102
120
  },
103
121
  pager: {
104
122
  goto: '前往',
@@ -96,8 +96,26 @@ export default {
96
96
  operError: '发生错误,操作失败!'
97
97
  },
98
98
  select: {
99
+ clear: '清除',
100
+ allChecked: '全选',
101
+ total: '{0} / {1}',
99
102
  search: '搜索',
100
103
  loadingText: '加载中',
104
+ emptyText: '暂无数据',
105
+ maxSize: '最大可选择的数量不能超过 {0} 个',
106
+ overSizeErr: '已超出最大可选数量 {0} 个,超出部分将被忽略!',
107
+ searchEmpty: '未匹配到数据!'
108
+ },
109
+ tree: {
110
+ searchEmpty: '未匹配到数据!'
111
+ },
112
+ treeSelect: {
113
+ clearChecked: '清除',
114
+ allChecked: '全选',
115
+ allExpand: '全部展开',
116
+ clearExpand: '全部收起',
117
+ total: '已选 {0}',
118
+ search: '搜索',
101
119
  emptyText: '暂无数据'
102
120
  },
103
121
  pager: {
@@ -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
  // (单选)筛选发生改变
@@ -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',