vxe-pc-ui 3.4.21 → 3.4.23
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/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +2 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- 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/package.json +1 -1
- package/types/components/table-plugins/extend-cell-area.d.ts +89 -86
- package/types/components/table-plugins/extend-pivot-table.d.ts +7 -0
- package/types/components/table-plugins/index.d.ts +1 -0
- package/types/components/table.d.ts +32 -31
- /package/es/icon/{iconfont.1742535133922.ttf → iconfont.1742786088382.ttf} +0 -0
- /package/es/icon/{iconfont.1742535133922.woff → iconfont.1742786088382.woff} +0 -0
- /package/es/icon/{iconfont.1742535133922.woff2 → iconfont.1742786088382.woff2} +0 -0
- /package/es/{iconfont.1742535133922.ttf → iconfont.1742786088382.ttf} +0 -0
- /package/es/{iconfont.1742535133922.woff → iconfont.1742786088382.woff} +0 -0
- /package/es/{iconfont.1742535133922.woff2 → iconfont.1742786088382.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1742535133922.ttf → iconfont.1742786088382.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1742535133922.woff → iconfont.1742786088382.woff} +0 -0
- /package/lib/icon/style/{iconfont.1742535133922.woff2 → iconfont.1742786088382.woff2} +0 -0
- /package/lib/{iconfont.1742535133922.ttf → iconfont.1742786088382.ttf} +0 -0
- /package/lib/{iconfont.1742535133922.woff → iconfont.1742786088382.woff} +0 -0
- /package/lib/{iconfont.1742535133922.woff2 → iconfont.1742786088382.woff2} +0 -0
|
@@ -2,7 +2,7 @@ import { VNode, CreateElement } from 'vue'
|
|
|
2
2
|
import { NormalizedScopedSlot } from 'vue/types/vnode'
|
|
3
3
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeGlobalConfig, VxeComponentStyleType, VxeComponentSlotType } from '@vxe-ui/core'
|
|
4
4
|
import { VxeColumnPropTypes, VxeColumnProps, VxeColumnSlotTypes } from './column'
|
|
5
|
-
import {
|
|
5
|
+
import { VxeTableExtendCellAreaDefines, VxeTableExtendCellAreaEmits } from './table-plugins'
|
|
6
6
|
import { VxeGridConstructor } from './grid'
|
|
7
7
|
import { VxeTooltipPropTypes } from './tooltip'
|
|
8
8
|
import { VxeModalPropTypes } from './modal'
|
|
@@ -1357,12 +1357,12 @@ export namespace VxeTablePropTypes {
|
|
|
1357
1357
|
* 只对 mouse-config.extension 启用后有效,扩展区域之前的方法,可以通过返回 false 阻止扩展行为
|
|
1358
1358
|
* @param params
|
|
1359
1359
|
*/
|
|
1360
|
-
beforeExtendMethod?(params:
|
|
1360
|
+
beforeExtendMethod?(params: VxeTableExtendCellAreaDefines.CellAreaExtensionStartParams<D>): boolean
|
|
1361
1361
|
/**
|
|
1362
1362
|
* 只对 mouse-config.extension 启用后有效,扩展区域之后的方法
|
|
1363
1363
|
* @param params
|
|
1364
1364
|
*/
|
|
1365
|
-
afterExtendMethod?(params:
|
|
1365
|
+
afterExtendMethod?(params: VxeTableExtendCellAreaDefines.CellAreaExtensionEndParams<D>): void
|
|
1366
1366
|
/**
|
|
1367
1367
|
* 当点击表格之外,是否自动清除单元格的选取状态
|
|
1368
1368
|
*/
|
|
@@ -1371,7 +1371,7 @@ export namespace VxeTablePropTypes {
|
|
|
1371
1371
|
* 只对 extendByCalc 启用后有效,重写单元格扩展区域计算值的方法
|
|
1372
1372
|
* @param params
|
|
1373
1373
|
*/
|
|
1374
|
-
extendCalcMethod?(params:
|
|
1374
|
+
extendCalcMethod?(params: VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): any[][]
|
|
1375
1375
|
/**
|
|
1376
1376
|
* 只对 extendByCopy | extendByCalc 启用后有效,重写单元格扩展区域赋值的方法
|
|
1377
1377
|
* @param params
|
|
@@ -1380,19 +1380,19 @@ export namespace VxeTablePropTypes {
|
|
|
1380
1380
|
cellValue: any
|
|
1381
1381
|
row: D
|
|
1382
1382
|
column: VxeTableDefines.ColumnInfo<D>
|
|
1383
|
-
} &
|
|
1383
|
+
} & VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): void
|
|
1384
1384
|
/**
|
|
1385
1385
|
* 只对 extendByCopy | extendByCalc 启用后有效,自定义单元格扩展区域赋值之前的方法,可以通过返回 false 阻止扩展赋值行为
|
|
1386
1386
|
* @param params
|
|
1387
1387
|
*/
|
|
1388
|
-
beforeExtendSetMethod?(params:
|
|
1388
|
+
beforeExtendSetMethod?(params: VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): boolean
|
|
1389
1389
|
/**
|
|
1390
1390
|
* 只对 extendByCopy | extendByCalc 启用后有效,自定义单元格扩展区域赋值之后的方法
|
|
1391
1391
|
* @param params
|
|
1392
1392
|
*/
|
|
1393
1393
|
afterExtendSetMethod?(params: {
|
|
1394
1394
|
extendValues: any[][]
|
|
1395
|
-
} &
|
|
1395
|
+
} & VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): void
|
|
1396
1396
|
}
|
|
1397
1397
|
export interface AreaOpts<D = any> extends AreaConfig<D> { }
|
|
1398
1398
|
|
|
@@ -1584,8 +1584,8 @@ export namespace VxeTablePropTypes {
|
|
|
1584
1584
|
*/
|
|
1585
1585
|
beforeCopyMethod?(params: {
|
|
1586
1586
|
isCut: boolean
|
|
1587
|
-
activeArea:
|
|
1588
|
-
targetAreas:
|
|
1587
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
1588
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1589
1589
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1590
1590
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1591
1591
|
}): boolean
|
|
@@ -1594,7 +1594,7 @@ export namespace VxeTablePropTypes {
|
|
|
1594
1594
|
*/
|
|
1595
1595
|
afterCopyMethod?(params: {
|
|
1596
1596
|
isCut: boolean
|
|
1597
|
-
targetAreas:
|
|
1597
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1598
1598
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1599
1599
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1600
1600
|
}): boolean
|
|
@@ -1616,9 +1616,9 @@ export namespace VxeTablePropTypes {
|
|
|
1616
1616
|
* 自定义单元格剪贴值清除之前的方法,可以通过返回 false 阻止清除行为
|
|
1617
1617
|
*/
|
|
1618
1618
|
beforeCutMethod?:(params: {
|
|
1619
|
-
activeArea:
|
|
1620
|
-
cutAreas:
|
|
1621
|
-
currentAreas:
|
|
1619
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
1620
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1621
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1622
1622
|
clipData: {
|
|
1623
1623
|
text?: string
|
|
1624
1624
|
html?: string
|
|
@@ -1630,8 +1630,8 @@ export namespace VxeTablePropTypes {
|
|
|
1630
1630
|
* 自定义单元格剪贴值清除之后的方法
|
|
1631
1631
|
*/
|
|
1632
1632
|
afterCutMethod?:(params: {
|
|
1633
|
-
cutAreas:
|
|
1634
|
-
currentAreas:
|
|
1633
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1634
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1635
1635
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1636
1636
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1637
1637
|
}) => void
|
|
@@ -1655,10 +1655,10 @@ export namespace VxeTablePropTypes {
|
|
|
1655
1655
|
*/
|
|
1656
1656
|
beforePasteMethod?(params: {
|
|
1657
1657
|
isCut: boolean
|
|
1658
|
-
activeArea:
|
|
1659
|
-
cutAreas:
|
|
1660
|
-
currentAreas:
|
|
1661
|
-
targetAreas:
|
|
1658
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
1659
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1660
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1661
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1662
1662
|
cellValues: string[][]
|
|
1663
1663
|
pasteCells: string[][]
|
|
1664
1664
|
clipData: {
|
|
@@ -1673,9 +1673,9 @@ export namespace VxeTablePropTypes {
|
|
|
1673
1673
|
*/
|
|
1674
1674
|
afterPasteMethod?(params: {
|
|
1675
1675
|
isCut: boolean
|
|
1676
|
-
currentAreas:
|
|
1677
|
-
cutAreas:
|
|
1678
|
-
targetAreas:
|
|
1676
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1677
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1678
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1679
1679
|
cellValues: any[][]
|
|
1680
1680
|
pasteCells: string[][]
|
|
1681
1681
|
insertRows: DT[]
|
|
@@ -1687,8 +1687,8 @@ export namespace VxeTablePropTypes {
|
|
|
1687
1687
|
* 只对 isRowIncrement 有效,自定义创建自增行数据的方法
|
|
1688
1688
|
*/
|
|
1689
1689
|
createRowsMethod?(params: {
|
|
1690
|
-
currentAreas:
|
|
1691
|
-
targetAreas:
|
|
1690
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1691
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1692
1692
|
cellValues: any[][]
|
|
1693
1693
|
pasteCells: string[][]
|
|
1694
1694
|
insertRows: DT[]
|
|
@@ -1699,8 +1699,8 @@ export namespace VxeTablePropTypes {
|
|
|
1699
1699
|
* 只对 isColumnIncrement 有效,自定义创建自增列配置的方法
|
|
1700
1700
|
*/
|
|
1701
1701
|
createColumnsMethod?(params: {
|
|
1702
|
-
currentAreas:
|
|
1703
|
-
targetAreas:
|
|
1702
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1703
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1704
1704
|
cellValues: any[][]
|
|
1705
1705
|
pasteCells: string[][]
|
|
1706
1706
|
insertColumns: VxeTableDefines.ColumnOptions[]
|
|
@@ -1744,7 +1744,7 @@ export namespace VxeTablePropTypes {
|
|
|
1744
1744
|
afterFindMethod?(params: {
|
|
1745
1745
|
isAll: boolean
|
|
1746
1746
|
findValue: string | null
|
|
1747
|
-
result:
|
|
1747
|
+
result: VxeTableExtendCellAreaDefines.FindAndReplaceResult[]
|
|
1748
1748
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1749
1749
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1750
1750
|
}): void
|
|
@@ -1779,7 +1779,7 @@ export namespace VxeTablePropTypes {
|
|
|
1779
1779
|
isAll: boolean
|
|
1780
1780
|
findValue: string
|
|
1781
1781
|
replaceValue: string
|
|
1782
|
-
result:
|
|
1782
|
+
result: VxeTableExtendCellAreaDefines.FindAndReplaceResult[]
|
|
1783
1783
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1784
1784
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1785
1785
|
}) => void
|
|
@@ -3241,6 +3241,7 @@ export interface TableReactData<D = any> {
|
|
|
3241
3241
|
rowExpandHeightFlag: number
|
|
3242
3242
|
calcCellHeightFlag: number
|
|
3243
3243
|
resizeHeightFlag: number
|
|
3244
|
+
resizeWidthFlag: number
|
|
3244
3245
|
|
|
3245
3246
|
isCustomStatus: boolean
|
|
3246
3247
|
|
|
@@ -4450,7 +4451,7 @@ export type VxeTableEmits = [
|
|
|
4450
4451
|
'scroll-boundary',
|
|
4451
4452
|
'custom',
|
|
4452
4453
|
|
|
4453
|
-
...
|
|
4454
|
+
...VxeTableExtendCellAreaEmits
|
|
4454
4455
|
]
|
|
4455
4456
|
|
|
4456
4457
|
export namespace VxeTableDefines {
|
|
@@ -4928,8 +4929,8 @@ export namespace VxeTableDefines {
|
|
|
4928
4929
|
rowIndex: number
|
|
4929
4930
|
column: VxeTableDefines.ColumnInfo<D>
|
|
4930
4931
|
columnIndex: number
|
|
4931
|
-
activeArea:
|
|
4932
|
-
cellAreas:
|
|
4932
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea<D>
|
|
4933
|
+
cellAreas: VxeTableExtendCellAreaDefines.MouseCellArea<D>[]
|
|
4933
4934
|
}
|
|
4934
4935
|
export interface CellDeleteValueEventParams<D = any> extends TableEventParams<D>, CellDeleteValueParams<D> { }
|
|
4935
4936
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|