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.
- package/README.md +2 -2
- package/es/grid/src/grid.js +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +19 -1
- package/es/locale/lang/de-DE.js +19 -1
- package/es/locale/lang/en-US.js +20 -2
- package/es/locale/lang/es-ES.js +19 -1
- package/es/locale/lang/fr-FR.js +19 -1
- package/es/locale/lang/hu-HU.js +19 -1
- package/es/locale/lang/hy-AM.js +18 -0
- package/es/locale/lang/id-ID.js +19 -1
- package/es/locale/lang/it-IT.js +19 -1
- package/es/locale/lang/ja-JP.js +19 -1
- package/es/locale/lang/ko-KR.js +19 -1
- package/es/locale/lang/ms-MY.js +19 -1
- package/es/locale/lang/nb-NO.js +19 -1
- package/es/locale/lang/pt-BR.js +19 -1
- package/es/locale/lang/ru-RU.js +19 -1
- package/es/locale/lang/th-TH.js +19 -1
- package/es/locale/lang/ug-CN.js +19 -1
- package/es/locale/lang/uk-UA.js +19 -1
- package/es/locale/lang/uz-UZ.js +19 -1
- package/es/locale/lang/vi-VN.js +19 -1
- package/es/locale/lang/zh-CHT.js +19 -1
- package/es/locale/lang/zh-CN.js +18 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/filter/panel.js +5 -1
- package/es/table/src/body.js +4 -7
- package/es/table/src/table.js +14 -4
- package/es/table/style.css +7 -1
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +7 -1
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +36 -16
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +19 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +19 -1
- package/lib/locale/lang/de-DE.js +19 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +19 -1
- package/lib/locale/lang/en-US.js +20 -2
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +20 -2
- package/lib/locale/lang/es-ES.js +19 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +19 -1
- package/lib/locale/lang/fr-FR.js +19 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +19 -1
- package/lib/locale/lang/hu-HU.js +19 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +19 -1
- package/lib/locale/lang/hy-AM.js +18 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +18 -0
- package/lib/locale/lang/id-ID.js +19 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +19 -1
- package/lib/locale/lang/it-IT.js +19 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +19 -1
- package/lib/locale/lang/ja-JP.js +19 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +19 -1
- package/lib/locale/lang/ko-KR.js +19 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +19 -1
- package/lib/locale/lang/ms-MY.js +19 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +19 -1
- package/lib/locale/lang/nb-NO.js +19 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +19 -1
- package/lib/locale/lang/pt-BR.js +19 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +19 -1
- package/lib/locale/lang/ru-RU.js +19 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +19 -1
- package/lib/locale/lang/th-TH.js +19 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +19 -1
- package/lib/locale/lang/ug-CN.js +19 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +19 -1
- package/lib/locale/lang/uk-UA.js +19 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +19 -1
- package/lib/locale/lang/uz-UZ.js +19 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +19 -1
- package/lib/locale/lang/vi-VN.js +19 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +19 -1
- package/lib/locale/lang/zh-CHT.js +19 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +19 -1
- package/lib/locale/lang/zh-CN.js +18 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +18 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/filter/panel.js +5 -1
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/src/body.js +4 -6
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/table.js +5 -5
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +7 -1
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-table/style/style.css +7 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +4 -4
- package/packages/locale/lang/ar-EG.ts +19 -1
- package/packages/locale/lang/de-DE.ts +19 -1
- package/packages/locale/lang/en-US.ts +20 -2
- package/packages/locale/lang/es-ES.ts +19 -1
- package/packages/locale/lang/fr-FR.ts +19 -1
- package/packages/locale/lang/hu-HU.ts +19 -1
- package/packages/locale/lang/hy-AM.ts +18 -0
- package/packages/locale/lang/id-ID.ts +19 -1
- package/packages/locale/lang/it-IT.ts +19 -1
- package/packages/locale/lang/ja-JP.ts +19 -1
- package/packages/locale/lang/ko-KR.ts +19 -1
- package/packages/locale/lang/ms-MY.ts +19 -1
- package/packages/locale/lang/nb-NO.ts +19 -1
- package/packages/locale/lang/pt-BR.ts +19 -1
- package/packages/locale/lang/ru-RU.ts +19 -1
- package/packages/locale/lang/th-TH.ts +19 -1
- package/packages/locale/lang/ug-CN.ts +19 -1
- package/packages/locale/lang/uk-UA.ts +19 -1
- package/packages/locale/lang/uz-UZ.ts +19 -1
- package/packages/locale/lang/vi-VN.ts +19 -1
- package/packages/locale/lang/zh-CHT.ts +19 -1
- package/packages/locale/lang/zh-CN.ts +18 -0
- package/packages/table/module/custom/panel.ts +6 -6
- package/packages/table/module/export/export-panel.ts +5 -6
- package/packages/table/module/export/import-panel.ts +3 -4
- package/packages/table/module/filter/panel.ts +5 -1
- package/packages/table/src/body.ts +4 -9
- package/packages/table/src/table.ts +16 -7
- package/packages/toolbar/src/toolbar.ts +4 -4
- package/packages/ui/index.ts +1 -1
- package/styles/components/table.scss +7 -1
- package/styles/theme/base.scss +1 -1
- /package/es/{iconfont.1752051052938.ttf → iconfont.1752473553949.ttf} +0 -0
- /package/es/{iconfont.1752051052938.woff → iconfont.1752473553949.woff} +0 -0
- /package/es/{iconfont.1752051052938.woff2 → iconfont.1752473553949.woff2} +0 -0
- /package/lib/{iconfont.1752051052938.ttf → iconfont.1752473553949.ttf} +0 -0
- /package/lib/{iconfont.1752051052938.woff → iconfont.1752473553949.woff} +0 -0
- /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 {
|
|
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
|
|
26
|
-
const VxeUIDrawerComponent = VxeUI.getComponent
|
|
27
|
-
const VxeUIButtonComponent = VxeUI.getComponent
|
|
28
|
-
const VxeUINumberInputComponent = VxeUI.getComponent
|
|
29
|
-
const VxeUIRadioGroupComponent = VxeUI.getComponent
|
|
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
|
|
21
|
-
const VxeUIButtonComponent = VxeUI.getComponent
|
|
22
|
-
const VxeUISelectComponent = VxeUI.getComponent
|
|
23
|
-
const VxeUIInputComponent = VxeUI.getComponent
|
|
24
|
-
const VxeUICheckboxComponent = VxeUI.getComponent
|
|
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
|
|
21
|
-
const VxeUIButtonComponent = VxeUI.getComponent
|
|
22
|
-
const VxeUISelectComponent = VxeUI.getComponent
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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 {
|
|
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
|
|
46
|
-
const VxeUITooltipComponent = VxeUI.getComponent
|
|
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,
|
|
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,
|
|
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
|
|
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
|
|
71
|
+
const refElem = ref<HTMLDivElement>()
|
|
72
72
|
|
|
73
73
|
const refMaps: ToolbarPrivateRef = {
|
|
74
74
|
refElem
|
package/packages/ui/index.ts
CHANGED
|
@@ -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-
|
|
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
|
|
package/styles/theme/base.scss
CHANGED
|
@@ -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-
|
|
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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|