vxe-table 4.23.0 → 4.23.1
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 +12 -2
- package/dist/style.css +1 -1
- package/es/style.css +1 -1
- package/es/table/src/table.js +10 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +4 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +2 -2
- package/lib/table/src/table.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/package.json +2 -2
- package/packages/table/src/table.ts +10 -0
- /package/es/{iconfont.1792337313144.ttf → iconfont.1792405528114.ttf} +0 -0
- /package/es/{iconfont.1792337313144.woff → iconfont.1792405528114.woff} +0 -0
- /package/es/{iconfont.1792337313144.woff2 → iconfont.1792405528114.woff2} +0 -0
- /package/lib/{iconfont.1792337313144.ttf → iconfont.1792405528114.ttf} +0 -0
- /package/lib/{iconfont.1792337313144.woff → iconfont.1792405528114.woff} +0 -0
- /package/lib/{iconfont.1792337313144.woff2 → iconfont.1792405528114.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -56,7 +56,7 @@ function getDefaultConfig(val1, def1) {
|
|
|
56
56
|
return XEUtils.eqNull(val1) ? def1 : val1;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
const version = "4.23.
|
|
59
|
+
const version = "4.23.1";
|
|
60
60
|
VxeUI.version = version;
|
|
61
61
|
VxeUI.tableVersion = version;
|
|
62
62
|
VxeUI.setConfig({
|
|
@@ -952,7 +952,7 @@ function getPopupAppendElement(appendTo) {
|
|
|
952
952
|
}
|
|
953
953
|
|
|
954
954
|
const { log } = VxeUI;
|
|
955
|
-
const tableVersion = `table v${"4.23.
|
|
955
|
+
const tableVersion = `table v${"4.23.1"}`;
|
|
956
956
|
function createComponentLog(name) {
|
|
957
957
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
|
|
958
958
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -16224,12 +16224,14 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
16224
16224
|
});
|
|
16225
16225
|
const computeScrollbarWrapperClss = computed(() => {
|
|
16226
16226
|
const { yThumbHeight, xThumbWidth } = reactData;
|
|
16227
|
+
const scrollbarOpts = computeScrollbarOpts.value;
|
|
16227
16228
|
const scrollbarXToTop = computeScrollbarXToTop.value;
|
|
16228
16229
|
const scrollbarYToLeft = computeScrollbarYToLeft.value;
|
|
16229
16230
|
const scrollXVisible = computeScrollXVisible.value;
|
|
16230
16231
|
const scrollYVisible = computeScrollYVisible.value;
|
|
16231
16232
|
return domUtils.buildClass([
|
|
16232
16233
|
'vxe-scrollbar is--virtual',
|
|
16234
|
+
scrollbarOpts.fluentOverlay ? 'is--fluent-overlay' : 'is--default-mode',
|
|
16233
16235
|
`ov-x--${scrollXVisible === false ? 'hidden' : 'visible'}`,
|
|
16234
16236
|
`ov-y--${scrollYVisible === false ? 'hidden' : 'visible'}`,
|
|
16235
16237
|
`sx-pos--${scrollbarXToTop ? 'top' : 'bottom'}`,
|
|
@@ -29537,6 +29539,8 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
29537
29539
|
if (isVScrollbar) {
|
|
29538
29540
|
const el = refElem.value;
|
|
29539
29541
|
const viewInnerEl = getRefElem(elemStore['main-body-table']);
|
|
29542
|
+
const viewXSpaceEl = getRefElem(elemStore['main-body-xSpace']);
|
|
29543
|
+
const viewYSpaceEl = getRefElem(elemStore['main-body-ySpace']);
|
|
29540
29544
|
const scrollObserver = globalResize.create(() => {
|
|
29541
29545
|
reScrollFlag.value++;
|
|
29542
29546
|
});
|
|
@@ -29546,6 +29550,12 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
29546
29550
|
if (viewInnerEl) {
|
|
29547
29551
|
scrollObserver.observe(viewInnerEl);
|
|
29548
29552
|
}
|
|
29553
|
+
if (viewXSpaceEl) {
|
|
29554
|
+
scrollObserver.observe(viewXSpaceEl);
|
|
29555
|
+
}
|
|
29556
|
+
if (viewYSpaceEl) {
|
|
29557
|
+
scrollObserver.observe(viewYSpaceEl);
|
|
29558
|
+
}
|
|
29549
29559
|
internalData.scrollObserver = scrollObserver;
|
|
29550
29560
|
}
|
|
29551
29561
|
};
|