vxe-pc-ui 4.19.4 → 4.19.6
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/dist/all.esm.js +20 -3
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/layout-aside/style.css +4 -1
- package/es/layout-aside/style.min.css +1 -1
- package/es/layout-body/style.css +4 -1
- package/es/layout-body/style.min.css +1 -1
- package/es/scrollbar/src/scrollbar.js +18 -1
- package/es/scrollbar/style.css +42 -3
- package/es/scrollbar/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/style.css +4 -0
- 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-layout-aside/style.css +4 -1
- package/es/vxe-layout-aside/style.min.css +1 -1
- package/es/vxe-layout-body/style.css +4 -1
- package/es/vxe-layout-body/style.min.css +1 -1
- package/es/vxe-scrollbar/style.css +42 -3
- package/es/vxe-scrollbar/style.min.css +1 -1
- package/es/vxe-tabs/style.css +4 -0
- 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 +20 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/layout-aside/style/style.css +4 -1
- package/lib/layout-aside/style/style.min.css +1 -1
- package/lib/layout-body/style/style.css +4 -1
- package/lib/layout-body/style/style.min.css +1 -1
- package/lib/scrollbar/src/scrollbar.js +18 -2
- package/lib/scrollbar/src/scrollbar.min.js +1 -1
- package/lib/scrollbar/style/style.css +42 -3
- 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/style/style.css +4 -0
- 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-layout-aside/style/style.css +4 -1
- package/lib/vxe-layout-aside/style/style.min.css +1 -1
- package/lib/vxe-layout-body/style/style.css +4 -1
- package/lib/vxe-layout-body/style/style.min.css +1 -1
- package/lib/vxe-scrollbar/style/style.css +42 -3
- package/lib/vxe-scrollbar/style/style.min.css +1 -1
- package/lib/vxe-tabs/style/style.css +4 -0
- package/lib/vxe-tabs/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/scrollbar/src/scrollbar.ts +20 -1
- package/styles/components/layout-aside.scss +10 -1
- package/styles/components/layout-body.scss +10 -1
- package/styles/components/scrollbar.scss +70 -4
- package/styles/components/tabs.scss +4 -0
- package/types/components/scrollbar.d.ts +13 -0
- /package/es/icon/{iconfont.1791616163416.ttf → iconfont.1791769645781.ttf} +0 -0
- /package/es/icon/{iconfont.1791616163416.woff → iconfont.1791769645781.woff} +0 -0
- /package/es/icon/{iconfont.1791616163416.woff2 → iconfont.1791769645781.woff2} +0 -0
- /package/es/{iconfont.1791616163416.ttf → iconfont.1791769645781.ttf} +0 -0
- /package/es/{iconfont.1791616163416.woff → iconfont.1791769645781.woff} +0 -0
- /package/es/{iconfont.1791616163416.woff2 → iconfont.1791769645781.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1791616163416.ttf → iconfont.1791769645781.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1791616163416.woff → iconfont.1791769645781.woff} +0 -0
- /package/lib/icon/style/{iconfont.1791616163416.woff2 → iconfont.1791769645781.woff2} +0 -0
- /package/lib/{iconfont.1791616163416.ttf → iconfont.1791769645781.ttf} +0 -0
- /package/lib/{iconfont.1791616163416.woff → iconfont.1791769645781.woff} +0 -0
- /package/lib/{iconfont.1791616163416.woff2 → iconfont.1791769645781.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -101,7 +101,7 @@ function checkDynamic() {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
const { log } = VxeUI;
|
|
104
|
-
const uiVersion = `ui v${"4.19.
|
|
104
|
+
const uiVersion = `ui v${"4.19.6"}`;
|
|
105
105
|
function createComponentLog(name) {
|
|
106
106
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
107
107
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -115,7 +115,7 @@ function createComponentLog(name) {
|
|
|
115
115
|
const warnLog$i = log.create('warn', uiVersion);
|
|
116
116
|
log.create('error', uiVersion);
|
|
117
117
|
|
|
118
|
-
const version = "4.19.
|
|
118
|
+
const version = "4.19.6";
|
|
119
119
|
VxeUI.uiVersion = version;
|
|
120
120
|
VxeUI.dynamicApp = dynamicApp;
|
|
121
121
|
function config(options) {
|
|
@@ -28869,6 +28869,10 @@ var VxeScrollbarComponent = defineVxeComponent({
|
|
|
28869
28869
|
type: Boolean,
|
|
28870
28870
|
default: () => getConfig$2().scrollbar.native
|
|
28871
28871
|
},
|
|
28872
|
+
padding: {
|
|
28873
|
+
type: Boolean,
|
|
28874
|
+
default: () => getConfig$2().scrollbar.padding
|
|
28875
|
+
},
|
|
28872
28876
|
xConfig: Object,
|
|
28873
28877
|
yConfig: Object,
|
|
28874
28878
|
className: {
|
|
@@ -28941,17 +28945,22 @@ var VxeScrollbarComponent = defineVxeComponent({
|
|
|
28941
28945
|
return stys;
|
|
28942
28946
|
});
|
|
28943
28947
|
const computeWrapperClss = computed(() => {
|
|
28944
|
-
const { native, className } = props;
|
|
28948
|
+
const { native, className, padding } = props;
|
|
28945
28949
|
const { yThumbHeight, xThumbWidth } = reactData;
|
|
28946
28950
|
const xOpts = computeXOpts.value;
|
|
28947
28951
|
const yOpts = computeYOpts.value;
|
|
28952
|
+
const xToTop = computeXToTop.value;
|
|
28953
|
+
const yToLeft = computeYToLeft.value;
|
|
28948
28954
|
return domUtils.buildClass([
|
|
28949
28955
|
'vxe-scrollbar',
|
|
28950
28956
|
`ov-x--${xOpts.visible || 'visible'}`,
|
|
28951
28957
|
`ov-y--${yOpts.visible || 'visible'}`,
|
|
28958
|
+
`sx-pos--${xToTop ? 'top' : 'bottom'}`,
|
|
28959
|
+
`sy-pos--${yToLeft ? 'left' : 'right'}`,
|
|
28952
28960
|
native ? 'is--native' : 'is--virtual',
|
|
28953
28961
|
className
|
|
28954
28962
|
], {
|
|
28963
|
+
'is--padding': padding,
|
|
28955
28964
|
'ov-x--auto-hide': xOpts.autoHide,
|
|
28956
28965
|
'ov-y--auto-hide': yOpts.autoHide,
|
|
28957
28966
|
'overflow-y': yThumbHeight,
|
|
@@ -28978,6 +28987,14 @@ var VxeScrollbarComponent = defineVxeComponent({
|
|
|
28978
28987
|
const computeYOpts = computed(() => {
|
|
28979
28988
|
return Object.assign({}, getConfig$2().scrollbar.yConfig, props.yConfig);
|
|
28980
28989
|
});
|
|
28990
|
+
const computeXToTop = computed(() => {
|
|
28991
|
+
const xOpts = computeXOpts.value;
|
|
28992
|
+
return xOpts.position === 'top';
|
|
28993
|
+
});
|
|
28994
|
+
const computeYToLeft = computed(() => {
|
|
28995
|
+
const yOpts = computeYOpts.value;
|
|
28996
|
+
return yOpts.position === 'left';
|
|
28997
|
+
});
|
|
28981
28998
|
const refMaps = {
|
|
28982
28999
|
refElem
|
|
28983
29000
|
};
|