bkui-vue 2.0.1-beta.15.table.10 → 2.0.1-beta.15.table.12
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/index.cjs.js +49 -49
- package/dist/index.esm.js +7966 -7941
- package/dist/index.umd.js +48 -48
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/index.js +1 -0
- package/lib/checkbox/checkbox.d.ts +7 -7
- package/lib/checkbox/index.d.ts +11 -11
- package/lib/checkbox/index.js +9 -1
- package/lib/date-picker/date-picker.d.ts +0 -1
- package/lib/date-picker/index.d.ts +0 -3
- package/lib/date-picker/index.js +34 -13
- package/lib/dialog/dialog.d.ts +7 -2
- package/lib/dialog/index.d.ts +15 -4
- package/lib/dialog/props.d.ts +3 -1
- package/lib/index.js +1 -1
- package/lib/modal/index.d.ts +18 -5
- package/lib/modal/index.js +7 -1
- package/lib/modal/modal.d.ts +7 -2
- package/lib/modal/props.mixin.d.ts +3 -1
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +18 -7
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.d.ts +7 -7
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +27 -9
- package/lib/select/index.js +99 -80
- package/lib/select/select.css +3 -4
- package/lib/select/select.d.ts +11 -3
- package/lib/select/select.less +3 -4
- package/lib/select/select.variable.css +3 -4
- package/lib/sideslider/index.d.ts +15 -4
- package/lib/sideslider/sideslider.d.ts +7 -2
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-column.d.ts +3 -45
- package/lib/table/hooks/use-column-template.d.ts +0 -1
- package/lib/table/hooks/use-settings.d.ts +1 -0
- package/lib/table/index.d.ts +7 -60
- package/lib/table/index.js +107 -50
- package/lib/table/props.d.ts +1 -3
- package/lib/table/table.css +5 -6
- package/lib/table/table.d.ts +2 -7
- package/lib/table/table.less +6 -9
- package/lib/table/table.variable.css +5 -6
- package/lib/table-column/index.d.ts +9 -135
- package/lib/table-column/index.js +17282 -20
- package/lib/virtual-render/index.js +2 -3
- package/package.json +1 -1
@@ -904,15 +904,14 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
904
904
|
pos: pos
|
905
905
|
});
|
906
906
|
var start = pagination.startIndex * props.groupItemCount;
|
907
|
-
var end =
|
907
|
+
var end = pagination.endIndex * props.groupItemCount;
|
908
908
|
var total = localList.value.length;
|
909
909
|
if (total < end) {
|
910
|
-
// calcList.value = localList.value.slice(start, total);
|
911
910
|
end = total;
|
912
911
|
start = end - Math.floor(refContent.value.offsetHeight / props.lineHeight);
|
913
912
|
start = start < 0 ? 0 : start;
|
914
913
|
}
|
915
|
-
var value = localList.value.slice(start, end);
|
914
|
+
var value = localList.value.slice(start, end + props.preloadItemCount * props.groupItemCount);
|
916
915
|
calcList.value = value;
|
917
916
|
if (event) {
|
918
917
|
ctx.emit('content-scroll', [event, pagination, value]);
|