vxe-pc-ui 4.6.35 → 4.6.36
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/tabs/src/tabs.js +290 -89
- package/es/tabs/style.css +431 -156
- package/es/tabs/style.min.css +1 -1
- package/es/ui/index.js +3 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-tabs/style.css +431 -156
- package/es/vxe-tabs/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +310 -84
- 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 +306 -82
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tabs/style/style.css +431 -156
- package/lib/tabs/style/style.min.css +1 -1
- package/lib/ui/index.js +3 -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 +431 -156
- package/lib/vxe-tabs/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/tabs/src/tabs.ts +299 -90
- package/packages/ui/index.ts +2 -0
- package/styles/components/tabs.scss +534 -183
- package/types/components/tabs.d.ts +22 -6
- package/types/ui/global-icon.d.ts +2 -0
- /package/es/icon/{iconfont.1750910542831.ttf → iconfont.1751108492990.ttf} +0 -0
- /package/es/icon/{iconfont.1750910542831.woff → iconfont.1751108492990.woff} +0 -0
- /package/es/icon/{iconfont.1750910542831.woff2 → iconfont.1751108492990.woff2} +0 -0
- /package/es/{iconfont.1750910542831.ttf → iconfont.1751108492990.ttf} +0 -0
- /package/es/{iconfont.1750910542831.woff → iconfont.1751108492990.woff} +0 -0
- /package/es/{iconfont.1750910542831.woff2 → iconfont.1751108492990.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1750910542831.ttf → iconfont.1751108492990.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1750910542831.woff → iconfont.1751108492990.woff} +0 -0
- /package/lib/icon/style/{iconfont.1750910542831.woff2 → iconfont.1751108492990.woff2} +0 -0
- /package/lib/{iconfont.1750910542831.ttf → iconfont.1751108492990.ttf} +0 -0
- /package/lib/{iconfont.1750910542831.woff → iconfont.1751108492990.woff} +0 -0
- /package/lib/{iconfont.1750910542831.woff2 → iconfont.1751108492990.woff2} +0 -0
|
@@ -27,10 +27,12 @@ export namespace VxeTabsPropTypes {
|
|
|
27
27
|
export type ModelValue = undefined | null | VxeTabPanePropTypes.Name
|
|
28
28
|
export type Options = VxeTabPaneProps[]
|
|
29
29
|
export type DestroyOnClose = boolean
|
|
30
|
+
export type Width = string | number
|
|
30
31
|
export type Height = string | number
|
|
31
32
|
export type TitleWidth = VxeTabPanePropTypes.TitleWidth
|
|
32
33
|
export type TitleAlign = VxeTabPanePropTypes.TitleAlign
|
|
33
34
|
export type Type = null | '' | 'default' | 'card' | 'border-card' | 'round-card'
|
|
35
|
+
export type Position = null | '' | 'top' | 'bottom' | 'left' | 'right'
|
|
34
36
|
export type ShowClose = boolean
|
|
35
37
|
export type Padding = boolean
|
|
36
38
|
export type Trigger = '' | 'default' | 'click' | 'manual'
|
|
@@ -110,10 +112,12 @@ export type VxeTabsProps = {
|
|
|
110
112
|
modelValue?: VxeTabsPropTypes.ModelValue
|
|
111
113
|
options?: VxeTabsPropTypes.Options
|
|
112
114
|
destroyOnClose?: VxeTabsPropTypes.DestroyOnClose
|
|
115
|
+
width?: VxeTabsPropTypes.Width
|
|
113
116
|
height?: VxeTabsPropTypes.Height
|
|
114
117
|
titleWidth?: VxeTabsPropTypes.TitleWidth
|
|
115
118
|
titleAlign?: VxeTabsPropTypes.TitleAlign
|
|
116
119
|
type?: VxeTabsPropTypes.Type
|
|
120
|
+
position?: VxeTabsPropTypes.Position
|
|
117
121
|
showClose?: VxeTabsPropTypes.ShowClose
|
|
118
122
|
padding?: VxeTabsPropTypes.Padding
|
|
119
123
|
trigger?: VxeTabsPropTypes.Trigger
|
|
@@ -143,7 +147,10 @@ export interface TabsReactData {
|
|
|
143
147
|
activeName: VxeTabsPropTypes.ModelValue
|
|
144
148
|
initNames: VxeTabsPropTypes.ModelValue[]
|
|
145
149
|
lintLeft: number
|
|
150
|
+
lintTop: number
|
|
146
151
|
lintWidth: number
|
|
152
|
+
lintHeight: number
|
|
153
|
+
scrollbarWidth: number
|
|
147
154
|
isTabOver: boolean
|
|
148
155
|
resizeFlag: number
|
|
149
156
|
cacheTabMaps: Record<string, {
|
|
@@ -269,11 +276,10 @@ export namespace VxeTabsSlotTypes {
|
|
|
269
276
|
export interface DefaultSlotParams {
|
|
270
277
|
name: VxeTabsPropTypes.ModelValue
|
|
271
278
|
}
|
|
272
|
-
export interface
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
export interface
|
|
276
|
-
export interface FooterSlotParams {}
|
|
279
|
+
export interface PrefixSlotParams extends DefaultSlotParams {}
|
|
280
|
+
export interface SuffixSlotParams extends DefaultSlotParams {}
|
|
281
|
+
export interface TopSlotParams extends DefaultSlotParams {}
|
|
282
|
+
export interface FooterSlotParams extends DefaultSlotParams {}
|
|
277
283
|
}
|
|
278
284
|
|
|
279
285
|
export interface VxeTabsSlots {
|
|
@@ -287,11 +293,21 @@ export interface VxeTabsSlots {
|
|
|
287
293
|
}) => any) | undefined
|
|
288
294
|
|
|
289
295
|
default?: (params: VxeTabsSlotTypes.DefaultSlotParams) => any
|
|
290
|
-
|
|
296
|
+
prefix?: (params: VxeTabsSlotTypes.PrefixSlotParams) => any
|
|
297
|
+
suffix?: (params: VxeTabsSlotTypes.SuffixSlotParams) => any
|
|
298
|
+
/**
|
|
299
|
+
* 自定义页签顶部模板
|
|
300
|
+
*/
|
|
301
|
+
top?(params: VxeTabsSlotTypes.TopSlotParams): any
|
|
291
302
|
/**
|
|
292
303
|
* 自定义页签底部模板
|
|
293
304
|
*/
|
|
294
305
|
footer?(params: VxeTabsSlotTypes.FooterSlotParams): any
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* 已废弃,请使用 suffix
|
|
309
|
+
*/
|
|
310
|
+
extra?: (params: VxeTabsSlotTypes.SuffixSlotParams) => any
|
|
295
311
|
}
|
|
296
312
|
|
|
297
313
|
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
|