vxe-pc-ui 4.4.21 → 4.4.22
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 +90 -85
- 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 +31 -31
- /package/es/icon/{iconfont.1742535161697.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/es/icon/{iconfont.1742535161697.woff → iconfont.1742629559493.woff} +0 -0
- /package/es/icon/{iconfont.1742535161697.woff2 → iconfont.1742629559493.woff2} +0 -0
- /package/es/{iconfont.1742535161697.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/es/{iconfont.1742535161697.woff → iconfont.1742629559493.woff} +0 -0
- /package/es/{iconfont.1742535161697.woff2 → iconfont.1742629559493.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1742535161697.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1742535161697.woff → iconfont.1742629559493.woff} +0 -0
- /package/lib/icon/style/{iconfont.1742535161697.woff2 → iconfont.1742629559493.woff2} +0 -0
- /package/lib/{iconfont.1742535161697.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/lib/{iconfont.1742535161697.woff → iconfont.1742629559493.woff} +0 -0
- /package/lib/{iconfont.1742535161697.woff2 → iconfont.1742629559493.woff2} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref, ComputedRef, ComponentPublicInstance, VNode } from 'vue'
|
|
2
2
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeGlobalConfig, VxeComponentStyleType, VxeComponentSlotType, VxeComponentAlignType } from '@vxe-ui/core'
|
|
3
3
|
import { VxeColumnPropTypes, VxeColumnProps, VxeColumnSlotTypes } from './column'
|
|
4
|
-
import {
|
|
4
|
+
import { VxeTableExtendCellAreaDefines, VxeTableExtendCellAreaEmits } from './table-plugins'
|
|
5
5
|
import { VxeGridConstructor } from './grid'
|
|
6
6
|
import { VxeTooltipInstance, VxeTooltipPropTypes } from './tooltip'
|
|
7
7
|
import { VxeModalPropTypes } from './modal'
|
|
@@ -1383,12 +1383,12 @@ export namespace VxeTablePropTypes {
|
|
|
1383
1383
|
* 只对 mouse-config.extension 启用后有效,扩展区域之前的方法,可以通过返回 false 阻止扩展行为
|
|
1384
1384
|
* @param params
|
|
1385
1385
|
*/
|
|
1386
|
-
beforeExtendMethod?(params:
|
|
1386
|
+
beforeExtendMethod?(params: VxeTableExtendCellAreaDefines.CellAreaExtensionStartParams<D>): boolean
|
|
1387
1387
|
/**
|
|
1388
1388
|
* 只对 mouse-config.extension 启用后有效,扩展区域之后的方法
|
|
1389
1389
|
* @param params
|
|
1390
1390
|
*/
|
|
1391
|
-
afterExtendMethod?(params:
|
|
1391
|
+
afterExtendMethod?(params: VxeTableExtendCellAreaDefines.CellAreaExtensionEndParams<D>): void
|
|
1392
1392
|
/**
|
|
1393
1393
|
* 当点击表格之外,是否自动清除单元格的选取状态
|
|
1394
1394
|
*/
|
|
@@ -1397,7 +1397,7 @@ export namespace VxeTablePropTypes {
|
|
|
1397
1397
|
* 只对 extendByCalc 启用后有效,重写单元格扩展区域计算值的方法
|
|
1398
1398
|
* @param params
|
|
1399
1399
|
*/
|
|
1400
|
-
extendCalcMethod?(params:
|
|
1400
|
+
extendCalcMethod?(params: VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): any[][]
|
|
1401
1401
|
/**
|
|
1402
1402
|
* 只对 extendByCopy | extendByCalc 启用后有效,重写单元格扩展区域赋值的方法
|
|
1403
1403
|
* @param params
|
|
@@ -1406,19 +1406,19 @@ export namespace VxeTablePropTypes {
|
|
|
1406
1406
|
cellValue: any
|
|
1407
1407
|
row: D
|
|
1408
1408
|
column: VxeTableDefines.ColumnInfo<D>
|
|
1409
|
-
} &
|
|
1409
|
+
} & VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): void
|
|
1410
1410
|
/**
|
|
1411
1411
|
* 只对 extendByCopy | extendByCalc 启用后有效,自定义单元格扩展区域赋值之前的方法,可以通过返回 false 阻止扩展赋值行为
|
|
1412
1412
|
* @param params
|
|
1413
1413
|
*/
|
|
1414
|
-
beforeExtendSetMethod?(params:
|
|
1414
|
+
beforeExtendSetMethod?(params: VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): boolean
|
|
1415
1415
|
/**
|
|
1416
1416
|
* 只对 extendByCopy | extendByCalc 启用后有效,自定义单元格扩展区域赋值之后的方法
|
|
1417
1417
|
* @param params
|
|
1418
1418
|
*/
|
|
1419
1419
|
afterExtendSetMethod?(params: {
|
|
1420
1420
|
extendValues: any[][]
|
|
1421
|
-
} &
|
|
1421
|
+
} & VxeTableExtendCellAreaDefines.ExtendCellAreaCalcBaseParams<D>): void
|
|
1422
1422
|
}
|
|
1423
1423
|
export interface AreaOpts<D = any> extends AreaConfig<D> { }
|
|
1424
1424
|
|
|
@@ -1610,8 +1610,8 @@ export namespace VxeTablePropTypes {
|
|
|
1610
1610
|
*/
|
|
1611
1611
|
beforeCopyMethod?(params: {
|
|
1612
1612
|
isCut: boolean
|
|
1613
|
-
activeArea:
|
|
1614
|
-
targetAreas:
|
|
1613
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
1614
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1615
1615
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1616
1616
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1617
1617
|
}): boolean
|
|
@@ -1620,7 +1620,7 @@ export namespace VxeTablePropTypes {
|
|
|
1620
1620
|
*/
|
|
1621
1621
|
afterCopyMethod?(params: {
|
|
1622
1622
|
isCut: boolean
|
|
1623
|
-
targetAreas:
|
|
1623
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1624
1624
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1625
1625
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1626
1626
|
}): boolean
|
|
@@ -1642,9 +1642,9 @@ export namespace VxeTablePropTypes {
|
|
|
1642
1642
|
* 自定义单元格剪贴值清除之前的方法,可以通过返回 false 阻止清除行为
|
|
1643
1643
|
*/
|
|
1644
1644
|
beforeCutMethod?:(params: {
|
|
1645
|
-
activeArea:
|
|
1646
|
-
cutAreas:
|
|
1647
|
-
currentAreas:
|
|
1645
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
1646
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1647
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1648
1648
|
clipData: {
|
|
1649
1649
|
text?: string
|
|
1650
1650
|
html?: string
|
|
@@ -1656,8 +1656,8 @@ export namespace VxeTablePropTypes {
|
|
|
1656
1656
|
* 自定义单元格剪贴值清除之后的方法
|
|
1657
1657
|
*/
|
|
1658
1658
|
afterCutMethod?:(params: {
|
|
1659
|
-
cutAreas:
|
|
1660
|
-
currentAreas:
|
|
1659
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1660
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1661
1661
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1662
1662
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1663
1663
|
}) => void
|
|
@@ -1681,10 +1681,10 @@ export namespace VxeTablePropTypes {
|
|
|
1681
1681
|
*/
|
|
1682
1682
|
beforePasteMethod?(params: {
|
|
1683
1683
|
isCut: boolean
|
|
1684
|
-
activeArea:
|
|
1685
|
-
cutAreas:
|
|
1686
|
-
currentAreas:
|
|
1687
|
-
targetAreas:
|
|
1684
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
1685
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1686
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1687
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1688
1688
|
cellValues: string[][]
|
|
1689
1689
|
pasteCells: string[][]
|
|
1690
1690
|
clipData: {
|
|
@@ -1699,9 +1699,9 @@ export namespace VxeTablePropTypes {
|
|
|
1699
1699
|
*/
|
|
1700
1700
|
afterPasteMethod?(params: {
|
|
1701
1701
|
isCut: boolean
|
|
1702
|
-
currentAreas:
|
|
1703
|
-
cutAreas:
|
|
1704
|
-
targetAreas:
|
|
1702
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1703
|
+
cutAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1704
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1705
1705
|
cellValues: any[][]
|
|
1706
1706
|
pasteCells: string[][]
|
|
1707
1707
|
insertRows: DT[]
|
|
@@ -1713,8 +1713,8 @@ export namespace VxeTablePropTypes {
|
|
|
1713
1713
|
* 只对 isRowIncrement 有效,自定义创建自增行数据的方法
|
|
1714
1714
|
*/
|
|
1715
1715
|
createRowsMethod?(params: {
|
|
1716
|
-
currentAreas:
|
|
1717
|
-
targetAreas:
|
|
1716
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1717
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1718
1718
|
cellValues: any[][]
|
|
1719
1719
|
pasteCells: string[][]
|
|
1720
1720
|
insertRows: DT[]
|
|
@@ -1725,8 +1725,8 @@ export namespace VxeTablePropTypes {
|
|
|
1725
1725
|
* 只对 isColumnIncrement 有效,自定义创建自增列配置的方法
|
|
1726
1726
|
*/
|
|
1727
1727
|
createColumnsMethod?(params: {
|
|
1728
|
-
currentAreas:
|
|
1729
|
-
targetAreas:
|
|
1728
|
+
currentAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1729
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<DT>[]
|
|
1730
1730
|
cellValues: any[][]
|
|
1731
1731
|
pasteCells: string[][]
|
|
1732
1732
|
insertColumns: VxeTableDefines.ColumnOptions[]
|
|
@@ -1770,7 +1770,7 @@ export namespace VxeTablePropTypes {
|
|
|
1770
1770
|
afterFindMethod?(params: {
|
|
1771
1771
|
isAll: boolean
|
|
1772
1772
|
findValue: string | null
|
|
1773
|
-
result:
|
|
1773
|
+
result: VxeTableExtendCellAreaDefines.FindAndReplaceResult[]
|
|
1774
1774
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1775
1775
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1776
1776
|
}): void
|
|
@@ -1805,7 +1805,7 @@ export namespace VxeTablePropTypes {
|
|
|
1805
1805
|
isAll: boolean
|
|
1806
1806
|
findValue: string
|
|
1807
1807
|
replaceValue: string
|
|
1808
|
-
result:
|
|
1808
|
+
result: VxeTableExtendCellAreaDefines.FindAndReplaceResult[]
|
|
1809
1809
|
$table: VxeTableConstructor<DT> & VxeTablePrivateMethods<DT>
|
|
1810
1810
|
$grid: VxeGridConstructor<DT> | null | undefined
|
|
1811
1811
|
}) => void
|
|
@@ -4441,7 +4441,7 @@ export type VxeTableEmits = [
|
|
|
4441
4441
|
'scroll-boundary',
|
|
4442
4442
|
'custom',
|
|
4443
4443
|
|
|
4444
|
-
...
|
|
4444
|
+
...VxeTableExtendCellAreaEmits
|
|
4445
4445
|
]
|
|
4446
4446
|
|
|
4447
4447
|
export namespace VxeTableDefines {
|
|
@@ -4923,8 +4923,8 @@ export namespace VxeTableDefines {
|
|
|
4923
4923
|
rowIndex: number
|
|
4924
4924
|
column: VxeTableDefines.ColumnInfo<D>
|
|
4925
4925
|
columnIndex: number
|
|
4926
|
-
activeArea:
|
|
4927
|
-
cellAreas:
|
|
4926
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea<D>
|
|
4927
|
+
cellAreas: VxeTableExtendCellAreaDefines.MouseCellArea<D>[]
|
|
4928
4928
|
}
|
|
4929
4929
|
export interface CellDeleteValueEventParams<D = any> extends TableEventParams<D>, CellDeleteValueParams<D> { }
|
|
4930
4930
|
|
|
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
|