vxe-pc-ui 4.9.36 → 4.9.38
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/input/src/input.js +6 -3
- package/es/number-input/src/number-input.js +5 -0
- package/es/password-input/src/password-input.js +9 -7
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +27 -12
- package/es/textarea/src/textarea.js +3 -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 +81 -34
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +10 -4
- package/lib/input/src/input.min.js +1 -1
- package/lib/number-input/src/number-input.js +13 -1
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/password-input/src/password-input.js +13 -10
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table-select/src/table-select.js +39 -16
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/textarea/src/textarea.js +4 -1
- package/lib/textarea/src/textarea.min.js +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/input/src/input.ts +6 -3
- package/packages/number-input/src/number-input.ts +5 -0
- package/packages/password-input/src/password-input.ts +9 -7
- package/packages/table-select/src/table-select.ts +27 -12
- package/packages/textarea/src/textarea.ts +3 -1
- package/types/components/column.d.ts +17 -0
- package/types/components/grid.d.ts +8 -0
- package/types/components/input.d.ts +6 -0
- package/types/components/number-input.d.ts +1 -0
- package/types/components/password-input.d.ts +1 -0
- package/types/components/table-module/filter.d.ts +50 -4
- package/types/components/table-select.d.ts +7 -7
- package/types/components/table.d.ts +33 -4
- package/types/components/textarea.d.ts +7 -1
- package/types/ui/renderer.d.ts +24 -0
- /package/es/icon/{iconfont.1758801549529.ttf → iconfont.1759031228909.ttf} +0 -0
- /package/es/icon/{iconfont.1758801549529.woff → iconfont.1759031228909.woff} +0 -0
- /package/es/icon/{iconfont.1758801549529.woff2 → iconfont.1759031228909.woff2} +0 -0
- /package/es/{iconfont.1758801549529.ttf → iconfont.1759031228909.ttf} +0 -0
- /package/es/{iconfont.1758801549529.woff → iconfont.1759031228909.woff} +0 -0
- /package/es/{iconfont.1758801549529.woff2 → iconfont.1759031228909.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1758801549529.ttf → iconfont.1759031228909.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1758801549529.woff → iconfont.1759031228909.woff} +0 -0
- /package/lib/icon/style/{iconfont.1758801549529.woff2 → iconfont.1759031228909.woff2} +0 -0
- /package/lib/{iconfont.1758801549529.ttf → iconfont.1759031228909.ttf} +0 -0
- /package/lib/{iconfont.1758801549529.woff → iconfont.1759031228909.woff} +0 -0
- /package/lib/{iconfont.1758801549529.woff2 → iconfont.1759031228909.woff2} +0 -0
|
@@ -152,6 +152,8 @@ export namespace VxeColumnPropTypes {
|
|
|
152
152
|
cellType?: VxeColumnPropTypes.CellType
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
export type FloatingFilters = boolean
|
|
156
|
+
|
|
155
157
|
/**
|
|
156
158
|
* 设置为分组节点
|
|
157
159
|
*/
|
|
@@ -383,6 +385,11 @@ export namespace VxeColumnPropTypes {
|
|
|
383
385
|
* 只对 filter-render 启用时有效,自定义筛选模板
|
|
384
386
|
*/
|
|
385
387
|
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<D>) => VxeComponentSlotType[] | VxeComponentSlotType) | null
|
|
388
|
+
/**
|
|
389
|
+
* 只对 floating-filters 和 filter-render 启用时有效,自定义浮动筛选模板
|
|
390
|
+
*/
|
|
391
|
+
floatingFilter?: string | ((params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => VxeComponentSlotType[] | VxeComponentSlotType) | null
|
|
392
|
+
'floating-filter'?: string | ((params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => VxeComponentSlotType[] | VxeComponentSlotType) | null
|
|
386
393
|
/**
|
|
387
394
|
* 只对 edit-render 启用时有效,自定义可编辑组件模板
|
|
388
395
|
*/
|
|
@@ -533,6 +540,10 @@ export interface VxeColumnProps<D = any> {
|
|
|
533
540
|
* 筛选模板配置项
|
|
534
541
|
*/
|
|
535
542
|
filterRender?: VxeColumnPropTypes.FilterRender
|
|
543
|
+
/**
|
|
544
|
+
* 是否启用浮动筛选
|
|
545
|
+
*/
|
|
546
|
+
floatingFilters?: VxeColumnPropTypes.FloatingFilters
|
|
536
547
|
/**
|
|
537
548
|
* 设置为分组节点
|
|
538
549
|
*/
|
|
@@ -643,6 +654,7 @@ export namespace VxeColumnSlotTypes {
|
|
|
643
654
|
$columnIndex: number
|
|
644
655
|
$rowIndex: number
|
|
645
656
|
}
|
|
657
|
+
export interface FloatingFilterSlotParams<D = any> extends VxeTableDefines.CellFloatingFilterParams<D> { }
|
|
646
658
|
|
|
647
659
|
export interface EditSlotParams<D = any> extends VxeTableDefines.CellRenderBodyParams<D> { }
|
|
648
660
|
|
|
@@ -712,6 +724,11 @@ export interface VxeColumnSlots<D = any> {
|
|
|
712
724
|
* 只对 filter-render 启用时有效,自定义筛选模板
|
|
713
725
|
*/
|
|
714
726
|
filter?: (params: VxeColumnSlotTypes.FilterSlotParams<D>) => any
|
|
727
|
+
/**
|
|
728
|
+
* 只对 floating-filters 和 filter-render 启用时有效,自定义浮动筛选模板
|
|
729
|
+
*/
|
|
730
|
+
floatingFilter?: (params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => any
|
|
731
|
+
'floating-filter'?: (params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => any
|
|
715
732
|
/**
|
|
716
733
|
* 只对 edit-render 启用时有效,自定义可编辑组件模板
|
|
717
734
|
*/
|
|
@@ -349,6 +349,10 @@ export interface GridMethods<D = any> {
|
|
|
349
349
|
* @param field 字段名
|
|
350
350
|
*/
|
|
351
351
|
clearFormValidate(field?: VxeFormItemPropTypes.Field | VxeFormItemPropTypes.Field[] | VxeFormDefines.ItemInfo | VxeFormDefines.ItemInfo[] | null): Promise<any>
|
|
352
|
+
/**
|
|
353
|
+
* 获取每页大小
|
|
354
|
+
*/
|
|
355
|
+
getPageSize(): number
|
|
352
356
|
/**
|
|
353
357
|
* 修改每页大小
|
|
354
358
|
*/
|
|
@@ -373,6 +377,10 @@ export interface GridMethods<D = any> {
|
|
|
373
377
|
* 跳转末页,并触发对应的事件
|
|
374
378
|
*/
|
|
375
379
|
endPageByEvent(evnt: Event): void
|
|
380
|
+
/**
|
|
381
|
+
* 获取当前页数
|
|
382
|
+
*/
|
|
383
|
+
getCurrentPage(): number
|
|
376
384
|
/**
|
|
377
385
|
* 修改每当前页数
|
|
378
386
|
*/
|
|
@@ -226,6 +226,7 @@ export type VxeInputEmits = [
|
|
|
226
226
|
'focus',
|
|
227
227
|
'blur',
|
|
228
228
|
'clear',
|
|
229
|
+
'lazy-change',
|
|
229
230
|
'search-click',
|
|
230
231
|
'toggle-visible',
|
|
231
232
|
'prev-number',
|
|
@@ -312,6 +313,8 @@ export namespace VxeInputDefines {
|
|
|
312
313
|
export interface ClearParams extends InputParams {}
|
|
313
314
|
export interface ClearEventParams extends InputKeyboardEventParams, ClearParams { }
|
|
314
315
|
|
|
316
|
+
export interface LazyChangeEventParams extends InputKeyboardEventParams { }
|
|
317
|
+
|
|
315
318
|
export interface SearchClickParams extends InputParams {}
|
|
316
319
|
export interface SearchClickEventParams extends InputKeyboardEventParams, SearchClickParams { }
|
|
317
320
|
|
|
@@ -350,6 +353,7 @@ export type VxeInputEventProps = {
|
|
|
350
353
|
onFocus?: VxeInputEvents.Focus
|
|
351
354
|
onBlur?: VxeInputEvents.Blur
|
|
352
355
|
onClear?: VxeInputEvents.Clear
|
|
356
|
+
onLazyChange?: VxeInputEvents.LazyChange
|
|
353
357
|
onSearchClick?: VxeInputEvents.SearchClick
|
|
354
358
|
onToggleVisible?: VxeInputEvents.ToggleVisible
|
|
355
359
|
onPrevNumber?: VxeInputEvents.PrevNumber
|
|
@@ -371,6 +375,7 @@ export interface VxeInputListeners {
|
|
|
371
375
|
focus?: VxeInputEvents.Focus
|
|
372
376
|
blur?: VxeInputEvents.Blur
|
|
373
377
|
clear?: VxeInputEvents.Clear
|
|
378
|
+
lazyChange?: VxeInputEvents.LazyChange
|
|
374
379
|
searchClick?: VxeInputEvents.SearchClick
|
|
375
380
|
toggleVisible?: VxeInputEvents.ToggleVisible
|
|
376
381
|
prevNumber?: VxeInputEvents.PrevNumber
|
|
@@ -392,6 +397,7 @@ export namespace VxeInputEvents {
|
|
|
392
397
|
export type Focus = (params: VxeInputDefines.FocusEventParams) => void
|
|
393
398
|
export type Blur = (params: VxeInputDefines.BlurEventParams) => void
|
|
394
399
|
export type Clear = (params: VxeInputDefines.ClearEventParams) => void
|
|
400
|
+
export type LazyChange = (params: VxeInputDefines.LazyChangeEventParams) => void
|
|
395
401
|
export type SearchClick = (params: VxeInputDefines.SearchClickEventParams) => void
|
|
396
402
|
export type ToggleVisible = (params: VxeInputDefines.ToggleVisibleEventParams) => void
|
|
397
403
|
export type PrevNumber = (params: VxeInputDefines.PrevNumberEventParams) => void
|
|
@@ -57,6 +57,22 @@ export interface TableFilterMethods<D = any> {
|
|
|
57
57
|
* 用于在自定义面板中使用,手动重置筛选并触发 filter-change 事件
|
|
58
58
|
*/
|
|
59
59
|
resetFilterPanelByEvent(event: Event): Promise<any>
|
|
60
|
+
/**
|
|
61
|
+
* 对指定列手动确认筛选
|
|
62
|
+
*/
|
|
63
|
+
saveFilter(fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
64
|
+
/**
|
|
65
|
+
* 对指定列手动确认筛选并触发 filter-change 事件
|
|
66
|
+
*/
|
|
67
|
+
saveFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
68
|
+
/**
|
|
69
|
+
* 对指定列手动重置筛选
|
|
70
|
+
*/
|
|
71
|
+
resetFilter(fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
72
|
+
/**
|
|
73
|
+
* 对指定列手动重置筛选并触发 filter-change 事件
|
|
74
|
+
*/
|
|
75
|
+
resetFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
60
76
|
/**
|
|
61
77
|
* 获取当前筛选的所有列信息
|
|
62
78
|
*/
|
|
@@ -64,20 +80,50 @@ export interface TableFilterMethods<D = any> {
|
|
|
64
80
|
/**
|
|
65
81
|
* 更新筛选选项的状态
|
|
66
82
|
*/
|
|
67
|
-
updateFilterOptionStatus(item:
|
|
83
|
+
updateFilterOptionStatus(item: VxeTableDefines.FilterOption | VxeColumnPropTypes.FilterItem, checked: boolean): Promise<void>
|
|
68
84
|
}
|
|
69
85
|
|
|
70
86
|
export interface TableFilterPrivateMethods<D = any> {
|
|
87
|
+
/**
|
|
88
|
+
* @private
|
|
89
|
+
*/
|
|
71
90
|
checkFilterOptions(): void
|
|
91
|
+
/**
|
|
92
|
+
* @private
|
|
93
|
+
*/
|
|
72
94
|
handleClearFilter(column: any): void
|
|
95
|
+
/**
|
|
96
|
+
* @private
|
|
97
|
+
*/
|
|
73
98
|
triggerFilterEvent(evnt: any, column: any, params: any): void
|
|
99
|
+
/**
|
|
100
|
+
* @private
|
|
101
|
+
*/
|
|
74
102
|
handleColumnConfirmFilter(column: VxeTableDefines.ColumnInfo, evnt: Event | null): Promise<any>
|
|
75
|
-
|
|
103
|
+
/**
|
|
104
|
+
* @private
|
|
105
|
+
*/
|
|
106
|
+
confirmFilterEvent(evnt: Event | null, column?: VxeTableDefines.ColumnInfo | null): void
|
|
107
|
+
/**
|
|
108
|
+
* @private
|
|
109
|
+
*/
|
|
76
110
|
handleFilterChangeRadioOption (evnt: Event, checked: boolean, item: any): void
|
|
111
|
+
/**
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
77
114
|
handleFilterChangeMultipleOption (evnt: Event, checked: boolean, item: any): void
|
|
115
|
+
/**
|
|
116
|
+
* @private
|
|
117
|
+
*/
|
|
78
118
|
handleFilterChangeOption (evnt: Event, checked: boolean, item: any): void
|
|
79
|
-
|
|
80
|
-
|
|
119
|
+
/**
|
|
120
|
+
* @private
|
|
121
|
+
*/
|
|
122
|
+
handleFilterConfirmFilter (evnt: Event | null, column: VxeTableDefines.ColumnInfo | null): void
|
|
123
|
+
/**
|
|
124
|
+
* @private
|
|
125
|
+
*/
|
|
126
|
+
handleFilterResetFilter (evnt: Event | null, column: VxeTableDefines.ColumnInfo | null): void
|
|
81
127
|
}
|
|
82
128
|
|
|
83
129
|
declare module '../grid' {
|
|
@@ -84,13 +84,6 @@ export interface TableSelectReactData {
|
|
|
84
84
|
initialized: boolean
|
|
85
85
|
tableColumns: VxeGridPropTypes.Columns
|
|
86
86
|
fullOptionList: any[]
|
|
87
|
-
fullRowMaps: Record<string, {
|
|
88
|
-
item: any
|
|
89
|
-
index: number
|
|
90
|
-
items: any[]
|
|
91
|
-
parent: any
|
|
92
|
-
nodes: any[]
|
|
93
|
-
}>
|
|
94
87
|
panelIndex: number
|
|
95
88
|
panelStyle: any
|
|
96
89
|
panelPlacement: any
|
|
@@ -100,6 +93,13 @@ export interface TableSelectReactData {
|
|
|
100
93
|
isActivated: boolean
|
|
101
94
|
}
|
|
102
95
|
export interface TableSelectInternalData {
|
|
96
|
+
fullRowMaps: Record<string, {
|
|
97
|
+
item: any
|
|
98
|
+
index: number
|
|
99
|
+
items: any[]
|
|
100
|
+
parent: any
|
|
101
|
+
nodes: any[]
|
|
102
|
+
}>
|
|
103
103
|
hpTimeout?: undefined | number
|
|
104
104
|
vpTimeout?: undefined | number
|
|
105
105
|
}
|
|
@@ -1244,6 +1244,17 @@ export namespace VxeTablePropTypes {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
export interface FilterOpts<D = VxeTablePropTypes.Row> extends FilterConfig<D> { }
|
|
1246
1246
|
|
|
1247
|
+
export interface FloatingFilterConfig<D = VxeTablePropTypes.Row> {
|
|
1248
|
+
/**
|
|
1249
|
+
* 是否启用
|
|
1250
|
+
*/
|
|
1251
|
+
enabled?: boolean
|
|
1252
|
+
/**
|
|
1253
|
+
* 是否启用浮动筛选
|
|
1254
|
+
*/
|
|
1255
|
+
floatingFilters?: VxeColumnPropTypes.FloatingFilters
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1247
1258
|
/**
|
|
1248
1259
|
* 单选框配置
|
|
1249
1260
|
*/
|
|
@@ -3294,6 +3305,10 @@ export interface VxeTableProps<D = any> {
|
|
|
3294
3305
|
* 筛选配置项
|
|
3295
3306
|
*/
|
|
3296
3307
|
filterConfig?: VxeTablePropTypes.FilterConfig<D>
|
|
3308
|
+
/**
|
|
3309
|
+
* 浮动筛选配置项
|
|
3310
|
+
*/
|
|
3311
|
+
floatingFilterConfig?: VxeTablePropTypes.FloatingFilterConfig<D>
|
|
3297
3312
|
/**
|
|
3298
3313
|
* 单选框配置项
|
|
3299
3314
|
*/
|
|
@@ -3511,6 +3526,7 @@ export interface TablePrivateComputed<D = any> {
|
|
|
3511
3526
|
computeEditOpts: ComputedRef<VxeTablePropTypes.EditOpts<D>>
|
|
3512
3527
|
computeSortOpts: ComputedRef<VxeTablePropTypes.SortConfig<D>>
|
|
3513
3528
|
computeFilterOpts: ComputedRef<VxeTablePropTypes.FilterOpts<D>>
|
|
3529
|
+
computeFloatingFilterOpts: ComputedRef<VxeTablePropTypes.FloatingFilterConfig<D>>
|
|
3514
3530
|
computeMouseOpts: ComputedRef<VxeTablePropTypes.MouseOpts>
|
|
3515
3531
|
computeAreaOpts: ComputedRef<VxeTablePropTypes.AreaOpts>
|
|
3516
3532
|
computeKeyboardOpts: ComputedRef<VxeTablePropTypes.KeyboardOpts>
|
|
@@ -3639,12 +3655,9 @@ export interface TableReactData<D = any> {
|
|
|
3639
3655
|
isAllSelected: boolean
|
|
3640
3656
|
isIndeterminate: boolean
|
|
3641
3657
|
style: any
|
|
3642
|
-
|
|
3643
|
-
column: any
|
|
3644
|
-
multiple: boolean
|
|
3658
|
+
column: VxeTableDefines.ColumnInfo | null | undefined
|
|
3645
3659
|
visible: boolean
|
|
3646
3660
|
maxHeight: number | string | null
|
|
3647
|
-
[key: string]: any
|
|
3648
3661
|
}
|
|
3649
3662
|
// 存放列相关的信息
|
|
3650
3663
|
columnStore: {
|
|
@@ -5508,6 +5521,7 @@ export namespace VxeTableDefines {
|
|
|
5508
5521
|
filterResetMethod: VxeColumnPropTypes.FilterResetMethod<D>
|
|
5509
5522
|
filterRecoverMethod: VxeColumnPropTypes.FilterRecoverMethod<D>
|
|
5510
5523
|
filterRender: VxeColumnPropTypes.FilterRender
|
|
5524
|
+
floatingFilters: VxeColumnPropTypes.FloatingFilters
|
|
5511
5525
|
rowGroupNode: VxeColumnPropTypes.RowGroupNode
|
|
5512
5526
|
treeNode: VxeColumnPropTypes.TreeNode
|
|
5513
5527
|
dragSort: VxeColumnPropTypes.DragSort
|
|
@@ -5682,6 +5696,21 @@ export namespace VxeTableDefines {
|
|
|
5682
5696
|
getKey(): string
|
|
5683
5697
|
}
|
|
5684
5698
|
|
|
5699
|
+
export interface CellFloatingFilterParams<D = any> {
|
|
5700
|
+
$table: VxeTableConstructor<D>
|
|
5701
|
+
$grid: VxeGridConstructor | null | undefined
|
|
5702
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
5703
|
+
column: ColumnInfo<D>
|
|
5704
|
+
columnIndex: number
|
|
5705
|
+
$columnIndex: number
|
|
5706
|
+
_columnIndex: number
|
|
5707
|
+
fixed: VxeColumnPropTypes.Fixed
|
|
5708
|
+
type: string
|
|
5709
|
+
isHidden: boolean
|
|
5710
|
+
hasFilter: boolean
|
|
5711
|
+
option: VxeColumnPropTypes.FilterItem | null
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5685
5714
|
export interface CellRenderHeaderParams<D = any> {
|
|
5686
5715
|
$table: VxeTableConstructor<D>
|
|
5687
5716
|
$grid: VxeGridConstructor | null | undefined
|
|
@@ -151,7 +151,8 @@ export type VxeTextareaEmits = [
|
|
|
151
151
|
'click',
|
|
152
152
|
'change',
|
|
153
153
|
'focus',
|
|
154
|
-
'blur'
|
|
154
|
+
'blur',
|
|
155
|
+
'lazy-change'
|
|
155
156
|
]
|
|
156
157
|
|
|
157
158
|
export namespace VxeTextareaDefines {
|
|
@@ -181,6 +182,8 @@ export namespace VxeTextareaDefines {
|
|
|
181
182
|
|
|
182
183
|
export interface BlurParams extends InputParams {}
|
|
183
184
|
export interface BlurEventParams extends TextareaEventParams, BlurParams { }
|
|
185
|
+
|
|
186
|
+
export interface LazyChangeEventParams extends TextareaEventParams { }
|
|
184
187
|
}
|
|
185
188
|
|
|
186
189
|
export type VxeTextareaEventProps = {
|
|
@@ -192,6 +195,7 @@ export type VxeTextareaEventProps = {
|
|
|
192
195
|
onClick?: VxeTextareaEvents.Click
|
|
193
196
|
onFocus?: VxeTextareaEvents.Focus
|
|
194
197
|
onBlur?: VxeTextareaEvents.Blur
|
|
198
|
+
onLazyChange?: VxeTextareaEvents.LazyChange
|
|
195
199
|
}
|
|
196
200
|
|
|
197
201
|
export interface VxeTextareaListeners {
|
|
@@ -203,6 +207,7 @@ export interface VxeTextareaListeners {
|
|
|
203
207
|
click?: VxeTextareaEvents.Click
|
|
204
208
|
focus?: VxeTextareaEvents.Focus
|
|
205
209
|
blur?: VxeTextareaEvents.Blur
|
|
210
|
+
lazyChange?: VxeTextareaEvents.LazyChange
|
|
206
211
|
}
|
|
207
212
|
|
|
208
213
|
export namespace VxeTextareaEvents {
|
|
@@ -214,6 +219,7 @@ export namespace VxeTextareaEvents {
|
|
|
214
219
|
export type Click = (params: VxeTextareaDefines.ClickEventParams) => void
|
|
215
220
|
export type Focus = (params: VxeTextareaDefines.FocusEventParams) => void
|
|
216
221
|
export type Blur = (params: VxeTextareaDefines.BlurEventParams) => void
|
|
222
|
+
export type LazyChange = (params: VxeTextareaDefines.LazyChangeEventParams) => void
|
|
217
223
|
}
|
|
218
224
|
|
|
219
225
|
export namespace VxeTextareaSlotTypes {
|
package/types/ui/renderer.d.ts
CHANGED
|
@@ -29,6 +29,14 @@ declare module '@vxe-ui/core' {
|
|
|
29
29
|
* 表格 - 自定义筛选渲染内容
|
|
30
30
|
*/
|
|
31
31
|
renderTableFilter?(renderOpts: VxeGlobalRendererHandles.RenderTableFilterOptions, renderParams: VxeGlobalRendererHandles.RenderTableFilterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
|
|
32
|
+
/**
|
|
33
|
+
* 表格 - 自定义浮动筛选渲染内容
|
|
34
|
+
*/
|
|
35
|
+
renderTableFloatingFilter?(renderOpts: VxeGlobalRendererHandles.RenderTableFloatingFilterOptions, renderParams: VxeGlobalRendererHandles.RenderTableFloatingFilterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
|
|
36
|
+
/**
|
|
37
|
+
* 表格 - 定义筛选选项数据
|
|
38
|
+
*/
|
|
39
|
+
createTableFilterOptions?(params: VxeGlobalRendererHandles.CreateTableFilterOptionsParams): VxeColumnPropTypes.FilterItem[]
|
|
32
40
|
/**
|
|
33
41
|
* 表格 - 筛选面板自适应表格高度
|
|
34
42
|
*/
|
|
@@ -255,6 +263,12 @@ declare module '@vxe-ui/core' {
|
|
|
255
263
|
*/
|
|
256
264
|
export interface RenderFilterOptions extends RenderTableFilterOptions {}
|
|
257
265
|
export interface RenderTableFilterOptions extends VxeColumnPropTypes.FilterRender {}
|
|
266
|
+
export interface RenderTableFloatingFilterOptions extends VxeColumnPropTypes.FilterRender {}
|
|
267
|
+
|
|
268
|
+
export interface CreateTableFilterOptionsParams<D = any> {
|
|
269
|
+
$table: VxeTableConstructor<D>
|
|
270
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
271
|
+
}
|
|
258
272
|
|
|
259
273
|
export interface RenderParams {}
|
|
260
274
|
|
|
@@ -273,6 +287,16 @@ declare module '@vxe-ui/core' {
|
|
|
273
287
|
$rowIndex: number
|
|
274
288
|
}
|
|
275
289
|
|
|
290
|
+
export interface RenderTableFloatingFilterParams<D = any> {
|
|
291
|
+
$table: VxeTableConstructor<D>
|
|
292
|
+
option: VxeTableDefines.FilterOption
|
|
293
|
+
column: {
|
|
294
|
+
filters: VxeTableDefines.FilterOption[]
|
|
295
|
+
} & VxeTableDefines.ColumnInfo<D>
|
|
296
|
+
columnIndex: number
|
|
297
|
+
$columnIndex: number
|
|
298
|
+
}
|
|
299
|
+
|
|
276
300
|
/**
|
|
277
301
|
* @deprecated
|
|
278
302
|
*/
|
|
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
|