vxe-pc-ui 4.6.44 → 4.6.45
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/form/src/form-item.js +2 -1
- package/es/form/src/form.js +2 -1
- package/es/form/src/itemInfo.js +2 -0
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/src/tabs.js +22 -9
- package/es/tabs/style.css +4 -11
- package/es/tabs/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-tabs/style.css +4 -11
- package/es/vxe-tabs/style.min.css +1 -1
- package/lib/form/src/form-item.js +2 -1
- package/lib/form/src/form-item.min.js +1 -1
- package/lib/form/src/form.js +2 -1
- package/lib/form/src/form.min.js +1 -1
- package/lib/form/src/itemInfo.js +2 -0
- package/lib/form/src/itemInfo.min.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 +33 -17
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tabs/src/tabs.js +25 -13
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tabs/style/style.css +4 -11
- package/lib/tabs/style/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/vxe-tabs/style/style.css +4 -11
- package/lib/vxe-tabs/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/form/src/form-item.ts +2 -1
- package/packages/form/src/form.ts +2 -1
- package/packages/form/src/itemInfo.ts +2 -0
- package/packages/tabs/src/tabs.ts +22 -9
- package/styles/components/tabs.scss +4 -9
- package/types/components/form-item.d.ts +10 -0
- package/types/components/form.d.ts +10 -0
- package/types/components/tab-pane.d.ts +15 -4
- package/types/components/table-module/filter.d.ts +1 -1
- package/types/components/table.d.ts +1 -1
- package/types/components/tabs.d.ts +10 -5
- /package/es/icon/{iconfont.1751511158748.ttf → iconfont.1751536878019.ttf} +0 -0
- /package/es/icon/{iconfont.1751511158748.woff → iconfont.1751536878019.woff} +0 -0
- /package/es/icon/{iconfont.1751511158748.woff2 → iconfont.1751536878019.woff2} +0 -0
- /package/es/{iconfont.1751511158748.ttf → iconfont.1751536878019.ttf} +0 -0
- /package/es/{iconfont.1751511158748.woff → iconfont.1751536878019.woff} +0 -0
- /package/es/{iconfont.1751511158748.woff2 → iconfont.1751536878019.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1751511158748.ttf → iconfont.1751536878019.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1751511158748.woff → iconfont.1751536878019.woff} +0 -0
- /package/lib/icon/style/{iconfont.1751511158748.woff2 → iconfont.1751536878019.woff2} +0 -0
- /package/lib/{iconfont.1751511158748.ttf → iconfont.1751536878019.ttf} +0 -0
- /package/lib/{iconfont.1751511158748.woff → iconfont.1751536878019.woff} +0 -0
- /package/lib/{iconfont.1751511158748.woff2 → iconfont.1751536878019.woff2} +0 -0
|
@@ -388,26 +388,20 @@ $scrollbarOffsetSize: 20px;
|
|
|
388
388
|
.vxe-tabs-header--item-content {
|
|
389
389
|
flex-grow: 1;
|
|
390
390
|
max-width: 30em;
|
|
391
|
+
padding: 0 0.3em;
|
|
391
392
|
overflow: hidden;
|
|
392
393
|
text-overflow: ellipsis;
|
|
393
394
|
white-space: nowrap;
|
|
394
|
-
|
|
395
|
-
.
|
|
396
|
-
padding: 0 0.6em;
|
|
397
|
-
&+.vxe-tabs-header--item-name {
|
|
398
|
-
padding-left: 0;
|
|
395
|
+
& > span {
|
|
396
|
+
padding: 0 0.3em;
|
|
399
397
|
}
|
|
400
398
|
}
|
|
401
|
-
.vxe-tabs-header--item-name {
|
|
402
|
-
padding: 0 0.6em;
|
|
403
|
-
}
|
|
404
399
|
.vxe-tabs-header--refresh-btn,
|
|
405
400
|
.vxe-tabs-header--close-btn {
|
|
406
401
|
font-size: 0.8em;
|
|
407
402
|
border-radius: 50%;
|
|
408
403
|
width: 1.5em;
|
|
409
404
|
height: 1.5em;
|
|
410
|
-
margin: 0 0.2em;
|
|
411
405
|
line-height: 1.5em;
|
|
412
406
|
text-align: center;
|
|
413
407
|
&:hover {
|
|
@@ -419,6 +413,7 @@ $scrollbarOffsetSize: 20px;
|
|
|
419
413
|
}
|
|
420
414
|
& > i {
|
|
421
415
|
font-size: 1em;
|
|
416
|
+
vertical-align: middle;
|
|
422
417
|
}
|
|
423
418
|
}
|
|
424
419
|
.vxe-tabs-header--refresh-btn {
|
|
@@ -148,6 +148,11 @@ export namespace VxeFormItemPropTypes {
|
|
|
148
148
|
valid?: string | ((params: VxeFormItemSlotTypes.ValidSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | null
|
|
149
149
|
extra?: string | ((params: VxeFormItemSlotTypes.ExtraSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | null
|
|
150
150
|
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 额外的参数
|
|
154
|
+
*/
|
|
155
|
+
export type Params = any
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
export interface VxeFormItemProps<D = any> {
|
|
@@ -265,6 +270,11 @@ export interface VxeFormItemProps<D = any> {
|
|
|
265
270
|
Rules?: VxeFormItemPropTypes.Rules<D>
|
|
266
271
|
slots?: VxeFormItemPropTypes.Slots
|
|
267
272
|
children?: VxeFormItemProps<D>[]
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* 额外的参数
|
|
276
|
+
*/
|
|
277
|
+
params?: VxeFormItemPropTypes.Params
|
|
268
278
|
}
|
|
269
279
|
|
|
270
280
|
export interface FormItemPrivateComputed {
|
|
@@ -93,6 +93,11 @@ export namespace VxeFormPropTypes {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
export type CustomLayout = boolean
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 额外的参数
|
|
99
|
+
*/
|
|
100
|
+
export type Params = any
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
export interface VxeFormProps<D = any> {
|
|
@@ -123,6 +128,11 @@ export interface VxeFormProps<D = any> {
|
|
|
123
128
|
tooltipConfig?: VxeFormPropTypes.TooltipConfig
|
|
124
129
|
collapseConfig?: VxeFormPropTypes.CollapseConfig
|
|
125
130
|
customLayout?: VxeFormPropTypes.CustomLayout
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 额外的参数
|
|
134
|
+
*/
|
|
135
|
+
params?: VxeFormPropTypes.Params
|
|
126
136
|
}
|
|
127
137
|
|
|
128
138
|
export interface FormPrivateComputed {
|
|
@@ -42,14 +42,16 @@ export type VxeTabPaneProps = {
|
|
|
42
42
|
permissionCode?: VxeTabPanePropTypes.PermissionCode
|
|
43
43
|
|
|
44
44
|
slots?: {
|
|
45
|
-
title?: string | ((params:
|
|
46
|
-
|
|
45
|
+
title?: string | ((params: VxeTabPaneSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
46
|
+
titlePrefix?: string | ((params: VxeTabPaneSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
47
|
+
titleSuffix?: string | ((params: VxeTabPaneSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
48
|
+
default?: string | ((params: VxeTabPaneSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
47
49
|
|
|
48
50
|
/**
|
|
49
51
|
* 已废弃,被 title 替换
|
|
50
52
|
* @deprecated
|
|
51
53
|
*/
|
|
52
|
-
tab?: string | ((params:
|
|
54
|
+
tab?: string | ((params: VxeTabPaneSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
|
|
@@ -86,12 +88,21 @@ export interface VxeTabPaneListeners { }
|
|
|
86
88
|
export namespace VxeTabPaneEvents { }
|
|
87
89
|
|
|
88
90
|
export namespace VxeTabPaneSlotTypes {
|
|
89
|
-
export interface DefaultSlotParams {
|
|
91
|
+
export interface DefaultSlotParams {
|
|
92
|
+
name: string
|
|
93
|
+
title: string
|
|
94
|
+
}
|
|
90
95
|
}
|
|
91
96
|
|
|
92
97
|
export interface VxeTabPaneSlots {
|
|
93
98
|
title?: (params: VxeTabPaneSlotTypes.DefaultSlotParams) => any
|
|
99
|
+
'title-prefix'?: (params: VxeTabPaneSlotTypes.DefaultSlotParams) => any
|
|
100
|
+
titlePrefix?: (params: VxeTabPaneSlotTypes.DefaultSlotParams) => any
|
|
101
|
+
'title-suffix'?: (params: VxeTabPaneSlotTypes.DefaultSlotParams) => any
|
|
102
|
+
titleSuffix?: (params: VxeTabPaneSlotTypes.DefaultSlotParams) => any
|
|
103
|
+
|
|
94
104
|
default?: (params: VxeTabPaneSlotTypes.DefaultSlotParams) => any
|
|
105
|
+
|
|
95
106
|
/**
|
|
96
107
|
* 已废弃,被 title 替换
|
|
97
108
|
* @deprecated
|
|
@@ -36,7 +36,7 @@ export interface TableFilterMethods<D = any> {
|
|
|
36
36
|
/**
|
|
37
37
|
* 用于 filters,修改筛选列表,update 是否同时更新数据,如果不传,则可以手动调用 updateData() 更新数据;如果需要同时触发对应的事件,请使用 setFilterByEvent
|
|
38
38
|
*/
|
|
39
|
-
setFilter(fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>, options: VxeColumnPropTypes.
|
|
39
|
+
setFilter(fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>, options: VxeColumnPropTypes.Filters, update?: boolean): Promise<void>
|
|
40
40
|
/**
|
|
41
41
|
* 手动清空筛选条件;如果需要同时触发对应的事件,请使用 clearFilterByEvent
|
|
42
42
|
*/
|
|
@@ -4426,7 +4426,7 @@ export interface TableMethods<DT = any> {
|
|
|
4426
4426
|
/**
|
|
4427
4427
|
* 区别就是会触发对应的事件
|
|
4428
4428
|
*/
|
|
4429
|
-
setFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>, options: VxeColumnPropTypes.
|
|
4429
|
+
setFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>, options: VxeColumnPropTypes.Filters, update?: boolean): Promise<void>
|
|
4430
4430
|
/**
|
|
4431
4431
|
* 区别就是会触发对应的事件
|
|
4432
4432
|
*/
|
|
@@ -283,10 +283,13 @@ export namespace VxeTabsSlotTypes {
|
|
|
283
283
|
export interface DefaultSlotParams {
|
|
284
284
|
name: VxeTabsPropTypes.ModelValue
|
|
285
285
|
}
|
|
286
|
-
export interface
|
|
287
|
-
export interface
|
|
286
|
+
export interface TabPrefixSlotParams extends DefaultSlotParams {}
|
|
287
|
+
export interface TabSuffixSlotParams extends DefaultSlotParams {}
|
|
288
288
|
export interface TopSlotParams extends DefaultSlotParams {}
|
|
289
289
|
export interface FooterSlotParams extends DefaultSlotParams {}
|
|
290
|
+
export interface TitleSlotParams extends DefaultSlotParams {
|
|
291
|
+
title: string
|
|
292
|
+
}
|
|
290
293
|
}
|
|
291
294
|
|
|
292
295
|
export interface VxeTabsSlots {
|
|
@@ -300,8 +303,10 @@ export interface VxeTabsSlots {
|
|
|
300
303
|
}) => any) | undefined
|
|
301
304
|
|
|
302
305
|
default?: (params: VxeTabsSlotTypes.DefaultSlotParams) => any
|
|
303
|
-
prefix?: (params: VxeTabsSlotTypes.
|
|
304
|
-
|
|
306
|
+
'tab-prefix'?: (params: VxeTabsSlotTypes.TabPrefixSlotParams) => any
|
|
307
|
+
tabPrefix?: (params: VxeTabsSlotTypes.TabPrefixSlotParams) => any
|
|
308
|
+
'tab-suffix'?: (params: VxeTabsSlotTypes.TabSuffixSlotParams) => any
|
|
309
|
+
tabSuffix?: (params: VxeTabsSlotTypes.TabSuffixSlotParams) => any
|
|
305
310
|
/**
|
|
306
311
|
* 自定义面板头部模板
|
|
307
312
|
*/
|
|
@@ -315,7 +320,7 @@ export interface VxeTabsSlots {
|
|
|
315
320
|
* 已废弃,请使用 suffix
|
|
316
321
|
* @deprecated
|
|
317
322
|
*/
|
|
318
|
-
extra?: (params: VxeTabsSlotTypes.
|
|
323
|
+
extra?: (params: VxeTabsSlotTypes.TabSuffixSlotParams) => any
|
|
319
324
|
}
|
|
320
325
|
|
|
321
326
|
export const Tabs: typeof VxeTabs
|
|
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
|