vxe-pc-ui 3.19.7 → 3.19.8
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/card/src/card.js +48 -11
- package/es/card/style.css +42 -44
- package/es/card/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/list/src/list.js +6 -2
- package/es/scrollbar/src/scrollbar.js +6 -0
- package/es/scrollbar/style.css +5 -5
- package/es/scrollbar/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/src/tabs.js +35 -8
- package/es/tabs/style.css +4 -2
- package/es/tabs/style.min.css +1 -1
- package/es/tree/src/tree.js +6 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-card/style.css +42 -44
- package/es/vxe-card/style.min.css +1 -1
- package/es/vxe-scrollbar/style.css +5 -5
- package/es/vxe-scrollbar/style.min.css +1 -1
- package/es/vxe-tabs/style.css +4 -2
- package/es/vxe-tabs/style.min.css +1 -1
- package/lib/card/src/card.js +55 -5
- package/lib/card/src/card.min.js +1 -1
- package/lib/card/style/style.css +42 -44
- package/lib/card/style/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 +5611 -5510
- package/lib/index.umd.min.js +1 -1
- package/lib/list/src/list.js +4 -0
- package/lib/list/src/list.min.js +1 -1
- package/lib/scrollbar/src/scrollbar.js +6 -0
- package/lib/scrollbar/src/scrollbar.min.js +1 -1
- package/lib/scrollbar/style/style.css +5 -5
- package/lib/scrollbar/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tabs/src/tabs.js +45 -8
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tabs/style/style.css +4 -2
- package/lib/tabs/style/style.min.css +1 -1
- package/lib/tree/src/tree.js +4 -0
- package/lib/tree/src/tree.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/lib/vxe-card/style/style.css +42 -44
- package/lib/vxe-card/style/style.min.css +1 -1
- package/lib/vxe-scrollbar/style/style.css +5 -5
- package/lib/vxe-scrollbar/style/style.min.css +1 -1
- package/lib/vxe-tabs/style/style.css +4 -2
- package/lib/vxe-tabs/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/card/src/card.ts +65 -11
- package/packages/list/src/list.ts +6 -2
- package/packages/scrollbar/src/scrollbar.ts +6 -0
- package/packages/tabs/src/tabs.ts +40 -8
- package/packages/tree/src/tree.ts +6 -2
- package/styles/components/card.scss +44 -58
- package/styles/components/scrollbar.scss +15 -11
- package/styles/components/tabs.scss +2 -1
- package/types/components/card.d.ts +11 -0
- package/types/components/grid.d.ts +37 -0
- package/types/components/layout-aside.d.ts +6 -0
- package/types/components/layout-body.d.ts +6 -0
- package/types/components/menu.d.ts +6 -0
- package/types/components/table.d.ts +3 -4
- package/types/components/tabs.d.ts +11 -0
- /package/es/icon/{iconfont.1791794439953.ttf → iconfont.1791862954819.ttf} +0 -0
- /package/es/icon/{iconfont.1791794439953.woff → iconfont.1791862954819.woff} +0 -0
- /package/es/icon/{iconfont.1791794439953.woff2 → iconfont.1791862954819.woff2} +0 -0
- /package/es/{iconfont.1791794439953.ttf → iconfont.1791862954819.ttf} +0 -0
- /package/es/{iconfont.1791794439953.woff → iconfont.1791862954819.woff} +0 -0
- /package/es/{iconfont.1791794439953.woff2 → iconfont.1791862954819.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1791794439953.ttf → iconfont.1791862954819.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1791794439953.woff → iconfont.1791862954819.woff} +0 -0
- /package/lib/icon/style/{iconfont.1791794439953.woff2 → iconfont.1791862954819.woff2} +0 -0
- /package/lib/{iconfont.1791794439953.ttf → iconfont.1791862954819.ttf} +0 -0
- /package/lib/{iconfont.1791794439953.woff → iconfont.1791862954819.woff} +0 -0
- /package/lib/{iconfont.1791794439953.woff2 → iconfont.1791862954819.woff2} +0 -0
|
@@ -41,7 +41,13 @@ export interface VxeLayoutAsideProps {
|
|
|
41
41
|
padding?: VxeLayoutAsidePropTypes.Padding
|
|
42
42
|
size?: VxeLayoutAsidePropTypes.Size
|
|
43
43
|
collapseConfig?: VxeLayoutAsidePropTypes.CollapseConfig
|
|
44
|
+
/**
|
|
45
|
+
* 使用虚拟滚动条
|
|
46
|
+
*/
|
|
44
47
|
useScrollbar?: VxeLayoutAsidePropTypes.UseScrollbar
|
|
48
|
+
/**
|
|
49
|
+
* 滚动条配置项
|
|
50
|
+
*/
|
|
45
51
|
scrollbarConfig?: VxeLayoutAsidePropTypes.ScrollbarConfig
|
|
46
52
|
}
|
|
47
53
|
|
|
@@ -33,7 +33,13 @@ export interface VxeLayoutBodyProps {
|
|
|
33
33
|
padding?: VxeLayoutBodyPropTypes.Padding
|
|
34
34
|
showBacktop?: VxeLayoutBodyPropTypes.ShowBacktop
|
|
35
35
|
backtopConfig?: VxeLayoutBodyPropTypes.BacktopConfig
|
|
36
|
+
/**
|
|
37
|
+
* 使用虚拟滚动条
|
|
38
|
+
*/
|
|
36
39
|
useScrollbar?: VxeLayoutBodyPropTypes.UseScrollbar
|
|
40
|
+
/**
|
|
41
|
+
* 滚动条配置项
|
|
42
|
+
*/
|
|
37
43
|
scrollbarConfig?: VxeLayoutBodyPropTypes.ScrollbarConfig
|
|
38
44
|
}
|
|
39
45
|
|
|
@@ -103,7 +103,13 @@ export interface VxeMenuProps {
|
|
|
103
103
|
expandKeys?: VxeMenuPropTypes.ExpandKeys
|
|
104
104
|
options?: VxeMenuPropTypes.Options
|
|
105
105
|
menuConfig?: VxeMenuPropTypes.MenuConfig
|
|
106
|
+
/**
|
|
107
|
+
* 使用虚拟滚动条
|
|
108
|
+
*/
|
|
106
109
|
useScrollbar?: VxeMenuPropTypes.UseScrollbar
|
|
110
|
+
/**
|
|
111
|
+
* 滚动条配置项
|
|
112
|
+
*/
|
|
107
113
|
scrollbarConfig?: VxeMenuPropTypes.ScrollbarConfig
|
|
108
114
|
/**
|
|
109
115
|
* 挂载到指定元素下
|
|
@@ -3,7 +3,7 @@ import { NormalizedScopedSlot } from 'vue/types/vnode'
|
|
|
3
3
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeGlobalConfig, VxeComponentStyleType, VxeComponentSlotType, VxeGlobalRendererOptions } from '@vxe-ui/core'
|
|
4
4
|
import { VxeColumnPropTypes, VxeColumnProps, VxeColumnSlotTypes } from './column'
|
|
5
5
|
import { VxeTableExtendCellAreaDefines, VxeTableExtendCellAreaEmits } from './table-plugins'
|
|
6
|
-
import { VxeGridConstructor } from './grid'
|
|
6
|
+
import { VxeGridConstructor, VxeGridPrivateMethods } from './grid'
|
|
7
7
|
import { VxeTooltipPropTypes } from './tooltip'
|
|
8
8
|
import { VxeModalConstructor, VxeModalPrivateMethods, VxeModalPropTypes } from './modal'
|
|
9
9
|
import { VxeDrawerPropTypes } from './drawer'
|
|
@@ -30,7 +30,7 @@ export type VxeTableInstance<D = any> = DefineVxeComponentInstance<{
|
|
|
30
30
|
*/
|
|
31
31
|
internalData: TableInternalData<D>
|
|
32
32
|
$xeParentTable: (VxeTableConstructor<D> & VxeTablePrivateMethods) | null | undefined
|
|
33
|
-
$xeGrid: VxeGridConstructor<D> | null | undefined
|
|
33
|
+
$xeGrid: (VxeGridConstructor<D> & VxeGridPrivateMethods)| null | undefined
|
|
34
34
|
$xeGantt: VxeTableDefines.InjectGanttType | null | undefined
|
|
35
35
|
$xeTabs: (VxeTabsConstructor & VxeTabsPrivateMethods) | null
|
|
36
36
|
$xeModal: (VxeModalConstructor & VxeModalPrivateMethods) | null
|
|
@@ -5530,12 +5530,11 @@ export interface TablePrivateMethods<D = any> {
|
|
|
5530
5530
|
* @private
|
|
5531
5531
|
*/
|
|
5532
5532
|
callSlot<T>(slotFunc: NormalizedScopedSlot | ((params: T) => VxeComponentSlotType | VxeComponentSlotType[]) | string | null, params: T, h: CreateElement): VxeComponentSlotType[]
|
|
5533
|
-
|
|
5534
5533
|
/**
|
|
5535
5534
|
* 内部方法
|
|
5536
5535
|
* @private
|
|
5537
5536
|
*/
|
|
5538
|
-
getParentElem():
|
|
5537
|
+
getParentElem(): HTMLElement | null
|
|
5539
5538
|
/**
|
|
5540
5539
|
* 内部方法
|
|
5541
5540
|
* @private
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeTabPaneProps, VxeTabPaneDefines, VxeTabPanePropTypes } from './tab-pane'
|
|
3
|
+
import { VxeScrollbarProps } from './scrollbar'
|
|
3
4
|
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
5
6
|
|
|
@@ -105,6 +106,8 @@ export namespace VxeTabsPropTypes {
|
|
|
105
106
|
option: Omit<VxeTabPaneProps, 'slots'>
|
|
106
107
|
}) => boolean
|
|
107
108
|
}
|
|
109
|
+
export type UseScrollbar = boolean
|
|
110
|
+
export interface ScrollbarConfig extends Pick<VxeScrollbarProps, 'native' | 'yConfig' | 'className' | 'viewAttrs' | 'viewClassName' | 'viewInnerClassName'> {}
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
export type VxeTabsProps = {
|
|
@@ -131,6 +134,14 @@ export type VxeTabsProps = {
|
|
|
131
134
|
* 刷新配置项
|
|
132
135
|
*/
|
|
133
136
|
refreshConfig?: VxeTabsPropTypes.RefreshConfig
|
|
137
|
+
/**
|
|
138
|
+
* 使用虚拟滚动条
|
|
139
|
+
*/
|
|
140
|
+
useScrollbar?: VxeTabsPropTypes.UseScrollbar
|
|
141
|
+
/**
|
|
142
|
+
* 滚动条配置项
|
|
143
|
+
*/
|
|
144
|
+
scrollbarConfig?: VxeTabsPropTypes.ScrollbarConfig
|
|
134
145
|
|
|
135
146
|
/**
|
|
136
147
|
* 请使用 closeConfig.beforeMethod
|
|
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
|