vxe-pc-ui 4.3.71 → 4.3.72
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/language/ru-RU.js +2 -2
- package/es/language/uk-UA.js +517 -517
- 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/language/ru-RU.js +2 -2
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +2 -2
- package/lib/language/uk-UA.js +517 -517
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +517 -517
- 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/packages/language/ru-RU.ts +2 -2
- package/packages/language/uk-UA.ts +517 -517
- package/types/components/table.d.ts +65 -7
- /package/es/icon/{iconfont.1736736680193.ttf → iconfont.1736928965735.ttf} +0 -0
- /package/es/icon/{iconfont.1736736680193.woff → iconfont.1736928965735.woff} +0 -0
- /package/es/icon/{iconfont.1736736680193.woff2 → iconfont.1736928965735.woff2} +0 -0
- /package/es/{iconfont.1736736680193.ttf → iconfont.1736928965735.ttf} +0 -0
- /package/es/{iconfont.1736736680193.woff → iconfont.1736928965735.woff} +0 -0
- /package/es/{iconfont.1736736680193.woff2 → iconfont.1736928965735.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1736736680193.ttf → iconfont.1736928965735.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1736736680193.woff → iconfont.1736928965735.woff} +0 -0
- /package/lib/icon/style/{iconfont.1736736680193.woff2 → iconfont.1736928965735.woff2} +0 -0
- /package/lib/{iconfont.1736736680193.ttf → iconfont.1736928965735.ttf} +0 -0
- /package/lib/{iconfont.1736736680193.woff → iconfont.1736928965735.woff} +0 -0
- /package/lib/{iconfont.1736736680193.woff2 → iconfont.1736928965735.woff2} +0 -0
|
@@ -374,12 +374,48 @@ export namespace VxeTablePropTypes {
|
|
|
374
374
|
* 单元格配置项
|
|
375
375
|
*/
|
|
376
376
|
export interface CellConfig<D = any>{
|
|
377
|
+
/**
|
|
378
|
+
* 单元格默认高度
|
|
379
|
+
*/
|
|
380
|
+
height?: number
|
|
381
|
+
/**
|
|
382
|
+
* 是否显示间距
|
|
383
|
+
*/
|
|
384
|
+
padding?: boolean
|
|
377
385
|
/**
|
|
378
386
|
* 垂直对齐方式
|
|
379
387
|
*/
|
|
380
388
|
verticalAlign?: '' | 'top' | 'center' | null
|
|
381
389
|
}
|
|
382
390
|
|
|
391
|
+
/**
|
|
392
|
+
* 表头单元格配置项
|
|
393
|
+
*/
|
|
394
|
+
export interface HeaderCellConfig<D = any>{
|
|
395
|
+
/**
|
|
396
|
+
* 单元格默认高度
|
|
397
|
+
*/
|
|
398
|
+
height?: number
|
|
399
|
+
/**
|
|
400
|
+
* 是否显示间距
|
|
401
|
+
*/
|
|
402
|
+
padding?: boolean
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* 表尾单元格配置项
|
|
407
|
+
*/
|
|
408
|
+
export interface FooterCellConfig<D = any>{
|
|
409
|
+
/**
|
|
410
|
+
* 单元格默认高度
|
|
411
|
+
*/
|
|
412
|
+
height?: number
|
|
413
|
+
/**
|
|
414
|
+
* 是否显示间距
|
|
415
|
+
*/
|
|
416
|
+
padding?: boolean
|
|
417
|
+
}
|
|
418
|
+
|
|
383
419
|
/**
|
|
384
420
|
* 已废弃,被 RowDragConfig 替换
|
|
385
421
|
* @deprecated
|
|
@@ -1874,9 +1910,13 @@ export namespace VxeTablePropTypes {
|
|
|
1874
1910
|
*/
|
|
1875
1911
|
gt?: number
|
|
1876
1912
|
/**
|
|
1877
|
-
*
|
|
1913
|
+
* 指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久
|
|
1878
1914
|
*/
|
|
1879
1915
|
oSize?: number
|
|
1916
|
+
/**
|
|
1917
|
+
* 预加载数量
|
|
1918
|
+
*/
|
|
1919
|
+
preSize?: Number
|
|
1880
1920
|
/**
|
|
1881
1921
|
* 是否启用,支持局部/全局启用
|
|
1882
1922
|
*/
|
|
@@ -1901,9 +1941,13 @@ export namespace VxeTablePropTypes {
|
|
|
1901
1941
|
*/
|
|
1902
1942
|
gt?: number
|
|
1903
1943
|
/**
|
|
1904
|
-
*
|
|
1944
|
+
* 指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久
|
|
1905
1945
|
*/
|
|
1906
1946
|
oSize?: number
|
|
1947
|
+
/**
|
|
1948
|
+
* 预加载数量
|
|
1949
|
+
*/
|
|
1950
|
+
preSize?: Number
|
|
1907
1951
|
/**
|
|
1908
1952
|
* 是否启用,支持局部/全局启用
|
|
1909
1953
|
*/
|
|
@@ -1927,11 +1971,11 @@ export namespace VxeTablePropTypes {
|
|
|
1927
1971
|
*/
|
|
1928
1972
|
export interface ScrollbarConfig {
|
|
1929
1973
|
/**
|
|
1930
|
-
*
|
|
1974
|
+
* 滚动条宽度
|
|
1931
1975
|
*/
|
|
1932
1976
|
width?: number
|
|
1933
1977
|
/**
|
|
1934
|
-
*
|
|
1978
|
+
* 滚动条高度
|
|
1935
1979
|
*/
|
|
1936
1980
|
height?: number
|
|
1937
1981
|
/**
|
|
@@ -1939,7 +1983,7 @@ export namespace VxeTablePropTypes {
|
|
|
1939
1983
|
*/
|
|
1940
1984
|
x?: {
|
|
1941
1985
|
/**
|
|
1942
|
-
*
|
|
1986
|
+
* 滚动条显示位置
|
|
1943
1987
|
*/
|
|
1944
1988
|
position?: 'top' | 'bottom' | ''
|
|
1945
1989
|
}
|
|
@@ -1948,7 +1992,7 @@ export namespace VxeTablePropTypes {
|
|
|
1948
1992
|
*/
|
|
1949
1993
|
y?: {
|
|
1950
1994
|
/**
|
|
1951
|
-
*
|
|
1995
|
+
* 滚动条显示位置
|
|
1952
1996
|
*/
|
|
1953
1997
|
position?: 'left' | 'right' | ''
|
|
1954
1998
|
}
|
|
@@ -2474,6 +2518,14 @@ export interface VxeTableProps<D = any> {
|
|
|
2474
2518
|
* 单元格配置信息
|
|
2475
2519
|
*/
|
|
2476
2520
|
cellConfig?: VxeTablePropTypes.CellConfig<D>
|
|
2521
|
+
/**
|
|
2522
|
+
* 表头单元格配置信息
|
|
2523
|
+
*/
|
|
2524
|
+
headerCellConfig?: VxeTablePropTypes.HeaderCellConfig<D>
|
|
2525
|
+
/**
|
|
2526
|
+
* 表尾单元格配置信息
|
|
2527
|
+
*/
|
|
2528
|
+
footerCellConfig?: VxeTablePropTypes.FooterCellConfig<D>
|
|
2477
2529
|
/**
|
|
2478
2530
|
* 当前行配置项
|
|
2479
2531
|
*/
|
|
@@ -2691,11 +2743,15 @@ export interface TablePrivateComputed<D = any> {
|
|
|
2691
2743
|
computeVirtualXOpts: ComputedRef<VxeTablePropTypes.VirtualXConfig>
|
|
2692
2744
|
computeVirtualYOpts: ComputedRef<VxeTablePropTypes.VirtualYConfig>
|
|
2693
2745
|
computeScrollbarOpts: ComputedRef<VxeTablePropTypes.ScrollbarConfig>
|
|
2746
|
+
computeScrollbarXToTop: ComputedRef<boolean>
|
|
2747
|
+
computeScrollbarYToLeft: ComputedRef<boolean>
|
|
2694
2748
|
computeColumnOpts: ComputedRef<VxeTablePropTypes.ColumnOpts>
|
|
2695
2749
|
computeScrollXThreshold: ComputedRef<number>
|
|
2696
2750
|
computeScrollYThreshold: ComputedRef<number>
|
|
2697
2751
|
computeDefaultRowHeight: ComputedRef<number>
|
|
2698
2752
|
computeCellOpts: ComputedRef<VxeTablePropTypes.CellConfig>
|
|
2753
|
+
computeHeaderCellOpts: ComputedRef<VxeTablePropTypes.HeaderCellConfig>
|
|
2754
|
+
computeFooterCellOpts: ComputedRef<VxeTablePropTypes.FooterCellConfig>
|
|
2699
2755
|
computeRowOpts: ComputedRef<VxeTablePropTypes.RowOpts>
|
|
2700
2756
|
computeRowDragOpts: ComputedRef<VxeTablePropTypes.RowDragConfig>
|
|
2701
2757
|
computeColumnDragOpts: ComputedRef<VxeTablePropTypes.ColumnDragConfig>
|
|
@@ -2749,7 +2805,6 @@ export interface TablePrivateComputed<D = any> {
|
|
|
2749
2805
|
export interface VxeTablePrivateComputed extends TablePrivateComputed { }
|
|
2750
2806
|
|
|
2751
2807
|
export interface TableReactData<D = any> {
|
|
2752
|
-
isCalcColumn: boolean
|
|
2753
2808
|
// 低性能的静态列
|
|
2754
2809
|
staticColumns: any[]
|
|
2755
2810
|
// 渲染的列分组
|
|
@@ -3942,6 +3997,8 @@ export interface TablePrivateMethods<D = any> {
|
|
|
3942
3997
|
triggerBodyScrollEvent(evnt: Event, fixedType: 'right' | 'left' | ''): void
|
|
3943
3998
|
triggerFooterScrollEvent(evnt: Event, fixedType: 'right' | 'left' | ''): void
|
|
3944
3999
|
triggerBodyWheelEvent(evnt: WheelEvent): void
|
|
4000
|
+
triggerVirtualScrollXEvent(evnt: Event): void
|
|
4001
|
+
triggerVirtualScrollYEvent(evnt: Event): void
|
|
3945
4002
|
scrollToTreeRow(row: any): Promise<any>
|
|
3946
4003
|
updateScrollYStatus(fullData?: any[]): boolean
|
|
3947
4004
|
updateScrollXSpace(): void
|
|
@@ -4064,6 +4121,7 @@ export namespace VxeTableDefines {
|
|
|
4064
4121
|
index: number
|
|
4065
4122
|
$index: number
|
|
4066
4123
|
_index: number
|
|
4124
|
+
treeIndex: number
|
|
4067
4125
|
items: any[]
|
|
4068
4126
|
parent: any
|
|
4069
4127
|
level: number
|
|
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
|