vxe-pc-ui 3.18.22 → 3.19.0
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/calendar/src/calendar.js +1 -1
- package/es/card/src/card.js +1 -1
- package/es/carousel/src/carousel.js +1 -1
- package/es/countdown/src/countdown.js +1 -1
- package/es/date-range-picker/src/date-range-picker.js +3 -3
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +1 -1
- package/es/layout-aside/src/layout-aside.js +25 -10
- package/es/layout-aside/style.css +2 -4
- package/es/layout-aside/style.min.css +1 -1
- package/es/layout-body/src/layout-body.js +22 -14
- package/es/layout-body/style.css +2 -3
- package/es/layout-body/style.min.css +1 -1
- package/es/list/src/list.js +1 -1
- package/es/menu/src/menu.js +16 -4
- package/es/menu/style.css +10 -2
- package/es/menu/style.min.css +1 -1
- package/es/scrollbar/src/scrollbar.js +72 -10
- package/es/scrollbar/style.css +18 -15
- package/es/scrollbar/style.min.css +1 -1
- package/es/select/src/select.js +2 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +1 -1
- package/es/tabs/src/tabs.js +1 -1
- package/es/text-ellipsis/style.css +29 -10
- package/es/text-ellipsis/style.min.css +1 -1
- package/es/ui/index.js +8 -2
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +1 -1
- package/es/upload/style.css +5 -3
- package/es/upload/style.min.css +1 -1
- package/es/vxe-layout-aside/style.css +2 -4
- package/es/vxe-layout-aside/style.min.css +1 -1
- package/es/vxe-layout-body/style.css +2 -3
- package/es/vxe-layout-body/style.min.css +1 -1
- package/es/vxe-menu/style.css +10 -2
- package/es/vxe-menu/style.min.css +1 -1
- package/es/vxe-scrollbar/style.css +18 -15
- package/es/vxe-scrollbar/style.min.css +1 -1
- package/es/vxe-text-ellipsis/style.css +29 -10
- package/es/vxe-text-ellipsis/style.min.css +1 -1
- package/es/vxe-upload/style.css +5 -3
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/calendar/src/calendar.js +1 -1
- package/lib/calendar/src/calendar.min.js +1 -1
- package/lib/card/src/card.js +1 -1
- package/lib/card/src/card.min.js +1 -1
- package/lib/carousel/src/carousel.js +1 -1
- package/lib/carousel/src/carousel.min.js +1 -1
- package/lib/countdown/src/countdown.js +1 -1
- package/lib/countdown/src/countdown.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +3 -3
- package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +1 -1
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +1418 -1290
- package/lib/index.umd.min.js +1 -1
- package/lib/layout-aside/src/layout-aside.js +30 -10
- package/lib/layout-aside/src/layout-aside.min.js +1 -1
- package/lib/layout-aside/style/style.css +2 -4
- package/lib/layout-aside/style/style.min.css +1 -1
- package/lib/layout-body/src/layout-body.js +32 -14
- package/lib/layout-body/src/layout-body.min.js +1 -1
- package/lib/layout-body/style/style.css +2 -3
- package/lib/layout-body/style/style.min.css +1 -1
- package/lib/list/src/list.js +1 -1
- package/lib/list/src/list.min.js +1 -1
- package/lib/menu/src/menu.js +20 -6
- package/lib/menu/src/menu.min.js +1 -1
- package/lib/menu/style/style.css +10 -2
- package/lib/menu/style/style.min.css +1 -1
- package/lib/scrollbar/src/scrollbar.js +81 -11
- package/lib/scrollbar/src/scrollbar.min.js +1 -1
- package/lib/scrollbar/style/style.css +18 -15
- package/lib/scrollbar/style/style.min.css +1 -1
- package/lib/select/src/select.js +2 -2
- package/lib/select/src/select.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 +1 -1
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/tabs/src/tabs.js +1 -1
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/text-ellipsis/style/style.css +29 -10
- package/lib/text-ellipsis/style/style.min.css +1 -1
- package/lib/ui/index.js +8 -2
- 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/upload/src/upload.js +1 -1
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/upload/style/style.css +5 -3
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-layout-aside/style/style.css +2 -4
- package/lib/vxe-layout-aside/style/style.min.css +1 -1
- package/lib/vxe-layout-body/style/style.css +2 -3
- package/lib/vxe-layout-body/style/style.min.css +1 -1
- package/lib/vxe-menu/style/style.css +10 -2
- package/lib/vxe-menu/style/style.min.css +1 -1
- package/lib/vxe-scrollbar/style/style.css +18 -15
- package/lib/vxe-scrollbar/style/style.min.css +1 -1
- package/lib/vxe-text-ellipsis/style/style.css +29 -10
- package/lib/vxe-text-ellipsis/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +5 -3
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/calendar/src/calendar.ts +1 -1
- package/packages/card/src/card.ts +1 -1
- package/packages/carousel/src/carousel.ts +1 -1
- package/packages/countdown/src/countdown.ts +1 -1
- package/packages/date-range-picker/src/date-range-picker.ts +3 -3
- package/packages/icon-picker/src/icon-picker.ts +1 -1
- package/packages/layout-aside/src/layout-aside.ts +26 -10
- package/packages/layout-body/src/layout-body.ts +26 -14
- package/packages/list/src/list.ts +1 -1
- package/packages/menu/src/menu.ts +17 -4
- package/packages/scrollbar/src/scrollbar.ts +80 -10
- package/packages/select/src/select.ts +2 -2
- package/packages/table-select/src/table-select.ts +1 -1
- package/packages/tabs/src/tabs.ts +1 -1
- package/packages/ui/index.ts +8 -3
- package/packages/upload/src/upload.ts +1 -1
- package/styles/components/layout-aside.scss +2 -4
- package/styles/components/layout-body.scss +2 -3
- package/styles/components/menu.scss +11 -2
- package/styles/components/scrollbar.scss +26 -19
- package/styles/components/text-ellipsis.scss +23 -64
- package/styles/components/upload.scss +5 -3
- package/styles/theme/base.scss +2 -0
- package/types/components/layout-aside.d.ts +3 -0
- package/types/components/layout-body.d.ts +3 -0
- package/types/components/menu.d.ts +3 -0
- package/types/components/scrollbar.d.ts +16 -0
- /package/es/icon/{iconfont.1791471260167.ttf → iconfont.1791539006762.ttf} +0 -0
- /package/es/icon/{iconfont.1791471260167.woff → iconfont.1791539006762.woff} +0 -0
- /package/es/icon/{iconfont.1791471260167.woff2 → iconfont.1791539006762.woff2} +0 -0
- /package/es/{iconfont.1791471260167.ttf → iconfont.1791539006762.ttf} +0 -0
- /package/es/{iconfont.1791471260167.woff → iconfont.1791539006762.woff} +0 -0
- /package/es/{iconfont.1791471260167.woff2 → iconfont.1791539006762.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1791471260167.ttf → iconfont.1791539006762.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1791471260167.woff → iconfont.1791539006762.woff} +0 -0
- /package/lib/icon/style/{iconfont.1791471260167.woff2 → iconfont.1791539006762.woff2} +0 -0
- /package/lib/{iconfont.1791471260167.ttf → iconfont.1791539006762.ttf} +0 -0
- /package/lib/{iconfont.1791471260167.woff → iconfont.1791539006762.woff} +0 -0
- /package/lib/{iconfont.1791471260167.woff2 → iconfont.1791539006762.woff2} +0 -0
package/styles/theme/base.scss
CHANGED
|
@@ -323,4 +323,6 @@
|
|
|
323
323
|
--vxe-ui-scrollbar-y-width: 10px;
|
|
324
324
|
--vxe-ui-scrollbar-x-height: var(--vxe-ui-scrollbar-y-width);
|
|
325
325
|
--vxe-ui-scrollbar-track-background-color: transparent;
|
|
326
|
+
--vxe-ui-scrollbar-track-padding: 0;
|
|
327
|
+
--vxe-ui-scrollbar-thumb-border-radius: var(--vxe-ui-base-border-radius);
|
|
326
328
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSizeType, VxeComponentStyleType } from '@vxe-ui/core'
|
|
2
|
+
import { VxeScrollbarProps } from './scrollbar'
|
|
2
3
|
|
|
3
4
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
4
5
|
|
|
@@ -28,6 +29,7 @@ export namespace VxeLayoutAsidePropTypes {
|
|
|
28
29
|
*/
|
|
29
30
|
animation?: boolean
|
|
30
31
|
}
|
|
32
|
+
export interface ScrollbarConfig extends Pick<VxeScrollbarProps, 'native' | 'yConfig' | 'className' | 'viewAttrs' | 'viewClassName' | 'viewInnerClassName'> {}
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
export interface VxeLayoutAsideProps {
|
|
@@ -38,6 +40,7 @@ export interface VxeLayoutAsideProps {
|
|
|
38
40
|
padding?: VxeLayoutAsidePropTypes.Padding
|
|
39
41
|
size?: VxeLayoutAsidePropTypes.Size
|
|
40
42
|
collapseConfig?: VxeLayoutAsidePropTypes.CollapseConfig
|
|
43
|
+
scrollbarConfig?: VxeLayoutAsidePropTypes.ScrollbarConfig
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
export interface LayoutAsidePrivateComputed {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeBacktopProps, VxeBacktopSlotTypes } from './backtop'
|
|
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
|
|
|
@@ -23,6 +24,7 @@ export namespace VxeLayoutBodyPropTypes {
|
|
|
23
24
|
export type Padding = boolean
|
|
24
25
|
export type ShowBacktop = boolean
|
|
25
26
|
export interface BacktopConfig extends Omit<VxeBacktopProps, 'target'> {}
|
|
27
|
+
export interface ScrollbarConfig extends Pick<VxeScrollbarProps, 'native' | 'xConfig' | 'yConfig' | 'className' | 'viewAttrs' | 'viewClassName' | 'viewInnerClassName'> {}
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
export interface VxeLayoutBodyProps {
|
|
@@ -31,6 +33,7 @@ export interface VxeLayoutBodyProps {
|
|
|
31
33
|
padding?: VxeLayoutBodyPropTypes.Padding
|
|
32
34
|
showBacktop?: VxeLayoutBodyPropTypes.ShowBacktop
|
|
33
35
|
backtopConfig?: VxeLayoutBodyPropTypes.BacktopConfig
|
|
36
|
+
scrollbarConfig?: VxeLayoutBodyPropTypes.ScrollbarConfig
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
export interface LayoutBodyPrivateComputed {
|
|
@@ -2,6 +2,7 @@ import { CreateElement } from 'vue'
|
|
|
2
2
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSizeType, VxeComponentStyleType, VxeComponentPermissionCodeType, VxeComponentSlotType } from '@vxe-ui/core'
|
|
3
3
|
import { VxeLinkPropTypes } from './link'
|
|
4
4
|
import { VxeContextMenuPropTypes, VxeContextMenuDefines } from './context-menu'
|
|
5
|
+
import { VxeScrollbarProps } from './scrollbar'
|
|
5
6
|
|
|
6
7
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
7
8
|
|
|
@@ -79,6 +80,7 @@ export namespace VxeMenuPropTypes {
|
|
|
79
80
|
}): boolean
|
|
80
81
|
}
|
|
81
82
|
export type AppendTo = string | HTMLElement | ((params: {}) => string | HTMLElement)
|
|
83
|
+
export interface ScrollbarConfig extends VxeScrollbarProps {}
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
export interface VxeMenuProps {
|
|
@@ -100,6 +102,7 @@ export interface VxeMenuProps {
|
|
|
100
102
|
expandKeys?: VxeMenuPropTypes.ExpandKeys
|
|
101
103
|
options?: VxeMenuPropTypes.Options
|
|
102
104
|
menuConfig?: VxeMenuPropTypes.MenuConfig
|
|
105
|
+
scrollbarConfig?: VxeMenuPropTypes.ScrollbarConfig
|
|
103
106
|
/**
|
|
104
107
|
* 挂载到指定元素下
|
|
105
108
|
*/
|
|
@@ -17,6 +17,8 @@ export interface ScrollbarPrivateRef {
|
|
|
17
17
|
export interface VxeScrollbarPrivateRef extends ScrollbarPrivateRef { }
|
|
18
18
|
|
|
19
19
|
export namespace VxeScrollbarPropTypes {
|
|
20
|
+
export type Id = number | string
|
|
21
|
+
export type ViewId = number | string
|
|
20
22
|
export type Width = number | string
|
|
21
23
|
export type Height = number | string
|
|
22
24
|
export type MinWidth = number | string
|
|
@@ -52,12 +54,18 @@ export namespace VxeScrollbarPropTypes {
|
|
|
52
54
|
threshold?: string | number
|
|
53
55
|
}
|
|
54
56
|
export type ClassName = string
|
|
57
|
+
export type ViewAttrs = Record<string, any>
|
|
55
58
|
export type ViewClassName = string
|
|
59
|
+
export type ViewInnerClassName = string
|
|
56
60
|
export type AutoResize = boolean
|
|
57
61
|
export type SyncResize = boolean
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
export interface VxeScrollbarProps {
|
|
65
|
+
/**
|
|
66
|
+
* ID
|
|
67
|
+
*/
|
|
68
|
+
id?: VxeScrollbarPropTypes.Id
|
|
61
69
|
/**
|
|
62
70
|
* 容器宽度
|
|
63
71
|
*/
|
|
@@ -102,10 +110,18 @@ export interface VxeScrollbarProps {
|
|
|
102
110
|
* 给容器附加 class
|
|
103
111
|
*/
|
|
104
112
|
className?: VxeScrollbarPropTypes.ClassName
|
|
113
|
+
/**
|
|
114
|
+
* 给视图元素附加属性
|
|
115
|
+
*/
|
|
116
|
+
viewAttrs?: VxeScrollbarPropTypes.ViewAttrs
|
|
105
117
|
/**
|
|
106
118
|
* 给视图元素附加 class
|
|
107
119
|
*/
|
|
108
120
|
viewClassName?: VxeScrollbarPropTypes.ViewClassName
|
|
121
|
+
/**
|
|
122
|
+
* 给视图内元素附加 class
|
|
123
|
+
*/
|
|
124
|
+
viewInnerClassName?: VxeScrollbarPropTypes.ViewInnerClassName
|
|
109
125
|
/**
|
|
110
126
|
* 自动监听元素的变化去重新计算样式
|
|
111
127
|
*/
|
|
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
|