vxe-pc-ui 4.6.35 → 4.6.37
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/notice-bar/src/notice-bar.js +9 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/src/tabs.js +323 -106
- package/es/tabs/style.css +434 -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 +434 -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 +354 -102
- package/lib/index.umd.min.js +1 -1
- package/lib/notice-bar/src/notice-bar.js +8 -1
- package/lib/notice-bar/src/notice-bar.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tabs/src/tabs.js +342 -99
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tabs/style/style.css +434 -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 +434 -156
- package/lib/vxe-tabs/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/notice-bar/src/notice-bar.ts +13 -3
- package/packages/tabs/src/tabs.ts +334 -107
- package/packages/ui/index.ts +2 -0
- package/styles/components/tabs.scss +539 -183
- package/types/components/tabs.d.ts +27 -7
- package/types/ui/global-icon.d.ts +2 -0
- /package/es/icon/{iconfont.1750910542831.ttf → iconfont.1751116737472.ttf} +0 -0
- /package/es/icon/{iconfont.1750910542831.woff → iconfont.1751116737472.woff} +0 -0
- /package/es/icon/{iconfont.1750910542831.woff2 → iconfont.1751116737472.woff2} +0 -0
- /package/es/{iconfont.1750910542831.ttf → iconfont.1751116737472.ttf} +0 -0
- /package/es/{iconfont.1750910542831.woff → iconfont.1751116737472.woff} +0 -0
- /package/es/{iconfont.1750910542831.woff2 → iconfont.1751116737472.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1750910542831.ttf → iconfont.1751116737472.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1750910542831.woff → iconfont.1751116737472.woff} +0 -0
- /package/lib/icon/style/{iconfont.1750910542831.woff2 → iconfont.1751116737472.woff2} +0 -0
- /package/lib/{iconfont.1750910542831.ttf → iconfont.1751116737472.ttf} +0 -0
- /package/lib/{iconfont.1750910542831.woff → iconfont.1751116737472.woff} +0 -0
- /package/lib/{iconfont.1750910542831.woff2 → iconfont.1751116737472.woff2} +0 -0
|
@@ -27,11 +27,14 @@ 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
|
|
37
|
+
export type ShowBody = boolean
|
|
35
38
|
export type Padding = boolean
|
|
36
39
|
export type Trigger = '' | 'default' | 'click' | 'manual'
|
|
37
40
|
export type BeforeChangeMethod = (params: {
|
|
@@ -110,11 +113,14 @@ export type VxeTabsProps = {
|
|
|
110
113
|
modelValue?: VxeTabsPropTypes.ModelValue
|
|
111
114
|
options?: VxeTabsPropTypes.Options
|
|
112
115
|
destroyOnClose?: VxeTabsPropTypes.DestroyOnClose
|
|
116
|
+
width?: VxeTabsPropTypes.Width
|
|
113
117
|
height?: VxeTabsPropTypes.Height
|
|
114
118
|
titleWidth?: VxeTabsPropTypes.TitleWidth
|
|
115
119
|
titleAlign?: VxeTabsPropTypes.TitleAlign
|
|
116
120
|
type?: VxeTabsPropTypes.Type
|
|
121
|
+
position?: VxeTabsPropTypes.Position
|
|
117
122
|
showClose?: VxeTabsPropTypes.ShowClose
|
|
123
|
+
showBody?: VxeTabsPropTypes.ShowBody
|
|
118
124
|
padding?: VxeTabsPropTypes.Padding
|
|
119
125
|
trigger?: VxeTabsPropTypes.Trigger
|
|
120
126
|
beforeChangeMethod?: VxeTabsPropTypes.BeforeChangeMethod
|
|
@@ -143,7 +149,11 @@ export interface TabsReactData {
|
|
|
143
149
|
activeName: VxeTabsPropTypes.ModelValue
|
|
144
150
|
initNames: VxeTabsPropTypes.ModelValue[]
|
|
145
151
|
lintLeft: number
|
|
152
|
+
lintTop: number
|
|
146
153
|
lintWidth: number
|
|
154
|
+
lintHeight: number
|
|
155
|
+
scrollbarWidth: number
|
|
156
|
+
scrollbarHeight: number
|
|
147
157
|
isTabOver: boolean
|
|
148
158
|
resizeFlag: number
|
|
149
159
|
cacheTabMaps: Record<string, {
|
|
@@ -269,11 +279,10 @@ export namespace VxeTabsSlotTypes {
|
|
|
269
279
|
export interface DefaultSlotParams {
|
|
270
280
|
name: VxeTabsPropTypes.ModelValue
|
|
271
281
|
}
|
|
272
|
-
export interface
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
export interface
|
|
276
|
-
export interface FooterSlotParams {}
|
|
282
|
+
export interface PrefixSlotParams extends DefaultSlotParams {}
|
|
283
|
+
export interface SuffixSlotParams extends DefaultSlotParams {}
|
|
284
|
+
export interface TopSlotParams extends DefaultSlotParams {}
|
|
285
|
+
export interface FooterSlotParams extends DefaultSlotParams {}
|
|
277
286
|
}
|
|
278
287
|
|
|
279
288
|
export interface VxeTabsSlots {
|
|
@@ -287,11 +296,22 @@ export interface VxeTabsSlots {
|
|
|
287
296
|
}) => any) | undefined
|
|
288
297
|
|
|
289
298
|
default?: (params: VxeTabsSlotTypes.DefaultSlotParams) => any
|
|
290
|
-
|
|
299
|
+
prefix?: (params: VxeTabsSlotTypes.PrefixSlotParams) => any
|
|
300
|
+
suffix?: (params: VxeTabsSlotTypes.SuffixSlotParams) => any
|
|
301
|
+
/**
|
|
302
|
+
* 自定义面板头部模板
|
|
303
|
+
*/
|
|
304
|
+
header?(params: VxeTabsSlotTypes.TopSlotParams): any
|
|
291
305
|
/**
|
|
292
|
-
*
|
|
306
|
+
* 自定义面板底部模板
|
|
293
307
|
*/
|
|
294
308
|
footer?(params: VxeTabsSlotTypes.FooterSlotParams): any
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* 已废弃,请使用 suffix
|
|
312
|
+
* @deprecated
|
|
313
|
+
*/
|
|
314
|
+
extra?: (params: VxeTabsSlotTypes.SuffixSlotParams) => any
|
|
295
315
|
}
|
|
296
316
|
|
|
297
317
|
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
|