vxe-pc-ui 3.3.75 → 3.3.77
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/ko-KR.js +515 -515
- 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/es/upload/src/upload.js +3 -3
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +5 -5
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ko-KR.js +515 -515
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +515 -515
- 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/lib/upload/src/upload.js +3 -3
- package/lib/upload/src/upload.min.js +1 -1
- package/package.json +1 -1
- package/packages/language/ko-KR.ts +515 -515
- package/packages/language/ru-RU.ts +2 -2
- package/packages/language/uk-UA.ts +517 -517
- package/packages/upload/src/upload.ts +3 -3
- package/types/components/table.d.ts +65 -7
- /package/es/icon/{iconfont.1736688685691.ttf → iconfont.1736928939791.ttf} +0 -0
- /package/es/icon/{iconfont.1736688685691.woff → iconfont.1736928939791.woff} +0 -0
- /package/es/icon/{iconfont.1736688685691.woff2 → iconfont.1736928939791.woff2} +0 -0
- /package/es/{iconfont.1736688685691.ttf → iconfont.1736928939791.ttf} +0 -0
- /package/es/{iconfont.1736688685691.woff → iconfont.1736928939791.woff} +0 -0
- /package/es/{iconfont.1736688685691.woff2 → iconfont.1736928939791.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1736688685691.ttf → iconfont.1736928939791.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1736688685691.woff → iconfont.1736928939791.woff} +0 -0
- /package/lib/icon/style/{iconfont.1736688685691.woff2 → iconfont.1736928939791.woff2} +0 -0
- /package/lib/{iconfont.1736688685691.ttf → iconfont.1736928939791.ttf} +0 -0
- /package/lib/{iconfont.1736688685691.woff → iconfont.1736928939791.woff} +0 -0
- /package/lib/{iconfont.1736688685691.woff2 → iconfont.1736928939791.woff2} +0 -0
|
@@ -493,9 +493,9 @@ export default defineVxeComponent({
|
|
|
493
493
|
return decodeURIComponent(`${url || ''}`).split('/').pop() || ''
|
|
494
494
|
},
|
|
495
495
|
parseFileType (name: string) {
|
|
496
|
-
const index = name
|
|
497
|
-
if (index >
|
|
498
|
-
return name.substring(index + 1
|
|
496
|
+
const index = name.lastIndexOf('.')
|
|
497
|
+
if (index > 0) {
|
|
498
|
+
return name.substring(index + 1).toLowerCase()
|
|
499
499
|
}
|
|
500
500
|
return ''
|
|
501
501
|
},
|
|
@@ -349,12 +349,48 @@ export namespace VxeTablePropTypes {
|
|
|
349
349
|
* 单元格配置项
|
|
350
350
|
*/
|
|
351
351
|
export interface CellConfig<D = any>{
|
|
352
|
+
/**
|
|
353
|
+
* 单元格默认高度
|
|
354
|
+
*/
|
|
355
|
+
height?: number
|
|
356
|
+
/**
|
|
357
|
+
* 是否显示间距
|
|
358
|
+
*/
|
|
359
|
+
padding?: boolean
|
|
352
360
|
/**
|
|
353
361
|
* 垂直对齐方式
|
|
354
362
|
*/
|
|
355
363
|
verticalAlign?: '' | 'top' | 'center' | null
|
|
356
364
|
}
|
|
357
365
|
|
|
366
|
+
/**
|
|
367
|
+
* 表头单元格配置项
|
|
368
|
+
*/
|
|
369
|
+
export interface HeaderCellConfig<D = any>{
|
|
370
|
+
/**
|
|
371
|
+
* 单元格默认高度
|
|
372
|
+
*/
|
|
373
|
+
height?: number
|
|
374
|
+
/**
|
|
375
|
+
* 是否显示间距
|
|
376
|
+
*/
|
|
377
|
+
padding?: boolean
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* 表尾单元格配置项
|
|
382
|
+
*/
|
|
383
|
+
export interface FooterCellConfig<D = any>{
|
|
384
|
+
/**
|
|
385
|
+
* 单元格默认高度
|
|
386
|
+
*/
|
|
387
|
+
height?: number
|
|
388
|
+
/**
|
|
389
|
+
* 是否显示间距
|
|
390
|
+
*/
|
|
391
|
+
padding?: boolean
|
|
392
|
+
}
|
|
393
|
+
|
|
358
394
|
/**
|
|
359
395
|
* 已废弃,被 RowDragConfig 替换
|
|
360
396
|
* @deprecated
|
|
@@ -1845,9 +1881,13 @@ export namespace VxeTablePropTypes {
|
|
|
1845
1881
|
*/
|
|
1846
1882
|
gt?: number
|
|
1847
1883
|
/**
|
|
1848
|
-
*
|
|
1884
|
+
* 指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久
|
|
1849
1885
|
*/
|
|
1850
1886
|
oSize?: number
|
|
1887
|
+
/**
|
|
1888
|
+
* 预加载数量
|
|
1889
|
+
*/
|
|
1890
|
+
preSize?: Number
|
|
1851
1891
|
/**
|
|
1852
1892
|
* 是否启用,支持局部/全局启用
|
|
1853
1893
|
*/
|
|
@@ -1872,9 +1912,13 @@ export namespace VxeTablePropTypes {
|
|
|
1872
1912
|
*/
|
|
1873
1913
|
gt?: number
|
|
1874
1914
|
/**
|
|
1875
|
-
*
|
|
1915
|
+
* 指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久
|
|
1876
1916
|
*/
|
|
1877
1917
|
oSize?: number
|
|
1918
|
+
/**
|
|
1919
|
+
* 预加载数量
|
|
1920
|
+
*/
|
|
1921
|
+
preSize?: Number
|
|
1878
1922
|
/**
|
|
1879
1923
|
* 是否启用,支持局部/全局启用
|
|
1880
1924
|
*/
|
|
@@ -1898,11 +1942,11 @@ export namespace VxeTablePropTypes {
|
|
|
1898
1942
|
*/
|
|
1899
1943
|
export interface ScrollbarConfig {
|
|
1900
1944
|
/**
|
|
1901
|
-
*
|
|
1945
|
+
* 滚动条宽度
|
|
1902
1946
|
*/
|
|
1903
1947
|
width?: number
|
|
1904
1948
|
/**
|
|
1905
|
-
*
|
|
1949
|
+
* 滚动条高度
|
|
1906
1950
|
*/
|
|
1907
1951
|
height?: number
|
|
1908
1952
|
/**
|
|
@@ -1910,7 +1954,7 @@ export namespace VxeTablePropTypes {
|
|
|
1910
1954
|
*/
|
|
1911
1955
|
x?: {
|
|
1912
1956
|
/**
|
|
1913
|
-
*
|
|
1957
|
+
* 滚动条显示位置
|
|
1914
1958
|
*/
|
|
1915
1959
|
position?: 'top' | 'bottom' | ''
|
|
1916
1960
|
}
|
|
@@ -1919,7 +1963,7 @@ export namespace VxeTablePropTypes {
|
|
|
1919
1963
|
*/
|
|
1920
1964
|
y?: {
|
|
1921
1965
|
/**
|
|
1922
|
-
*
|
|
1966
|
+
* 滚动条显示位置
|
|
1923
1967
|
*/
|
|
1924
1968
|
position?: 'left' | 'right' | ''
|
|
1925
1969
|
}
|
|
@@ -2448,6 +2492,14 @@ export interface VxeTableProps<D = any> {
|
|
|
2448
2492
|
* 单元格配置信息
|
|
2449
2493
|
*/
|
|
2450
2494
|
cellConfig?: VxeTablePropTypes.CellConfig<D>
|
|
2495
|
+
/**
|
|
2496
|
+
* 表头单元格配置信息
|
|
2497
|
+
*/
|
|
2498
|
+
headerCellConfig?: VxeTablePropTypes.HeaderCellConfig<D>
|
|
2499
|
+
/**
|
|
2500
|
+
* 表尾单元格配置信息
|
|
2501
|
+
*/
|
|
2502
|
+
footerCellConfig?: VxeTablePropTypes.FooterCellConfig<D>
|
|
2451
2503
|
/**
|
|
2452
2504
|
* 当前行配置项
|
|
2453
2505
|
*/
|
|
@@ -2665,11 +2717,15 @@ export interface TablePrivateComputed<D = any> {
|
|
|
2665
2717
|
computeVirtualXOpts: VxeTablePropTypes.VirtualXConfig
|
|
2666
2718
|
computeVirtualYOpts: VxeTablePropTypes.VirtualYConfig
|
|
2667
2719
|
computeScrollbarOpts: VxeTablePropTypes.ScrollbarConfig
|
|
2720
|
+
computeScrollbarXToTop: boolean
|
|
2721
|
+
computeScrollbarYToLeft: boolean
|
|
2668
2722
|
computeColumnOpts: VxeTablePropTypes.ColumnOpts
|
|
2669
2723
|
computeScrollXThreshold: number
|
|
2670
2724
|
computeScrollYThreshold: number
|
|
2671
2725
|
computeDefaultRowHeight: number
|
|
2672
2726
|
computeCellOpts: VxeTablePropTypes.CellConfig
|
|
2727
|
+
computeHeaderCellOpts: VxeTablePropTypes.HeaderCellConfig
|
|
2728
|
+
computeFooterCellOpts: VxeTablePropTypes.FooterCellConfig
|
|
2673
2729
|
computeRowOpts: VxeTablePropTypes.RowOpts
|
|
2674
2730
|
computeRowDragOpts: VxeTablePropTypes.RowDragConfig
|
|
2675
2731
|
computeColumnDragOpts: VxeTablePropTypes.ColumnDragConfig
|
|
@@ -2762,7 +2818,6 @@ export interface TablePrivateComputed<D = any> {
|
|
|
2762
2818
|
export interface VxeTablePrivateComputed<D = any> extends TablePrivateComputed<D> { }
|
|
2763
2819
|
|
|
2764
2820
|
export interface TableReactData<D = any> {
|
|
2765
|
-
isCalcColumn: boolean
|
|
2766
2821
|
// 低性能的静态列
|
|
2767
2822
|
staticColumns: any[]
|
|
2768
2823
|
// 渲染的列分组
|
|
@@ -3954,6 +4009,8 @@ export interface TablePrivateMethods<D = any> {
|
|
|
3954
4009
|
triggerBodyScrollEvent(evnt: Event, fixedType: 'right' | 'left' | ''): void
|
|
3955
4010
|
triggerFooterScrollEvent(evnt: Event, fixedType: 'right' | 'left' | ''): void
|
|
3956
4011
|
triggerBodyWheelEvent(evnt: WheelEvent): void
|
|
4012
|
+
triggerVirtualScrollXEvent(evnt: Event): void
|
|
4013
|
+
triggerVirtualScrollYEvent(evnt: Event): void
|
|
3957
4014
|
scrollToTreeRow(row: any): Promise<any>
|
|
3958
4015
|
updateScrollYStatus(fullData?: any[]): boolean
|
|
3959
4016
|
updateScrollXSpace(): void
|
|
@@ -4076,6 +4133,7 @@ export namespace VxeTableDefines {
|
|
|
4076
4133
|
index: number
|
|
4077
4134
|
$index: number
|
|
4078
4135
|
_index: number
|
|
4136
|
+
treeIndex: number
|
|
4079
4137
|
items: any[]
|
|
4080
4138
|
parent: any
|
|
4081
4139
|
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
|