stk-table-vue 1.2.0-beta.1 → 1.2.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/README.md +7 -2
- package/lib/{Dropdown-C1GFH7uN.js → Dropdown-Bq4DxXYJ.js} +2 -2
- package/lib/{StkTable-BJu5HZzo.js → StkTable-yOz9wkCz.js} +404 -56
- package/lib/src/StkTable/StkTable.vue.d.ts +16 -4
- package/lib/src/StkTable/features/useAreaSelection.d.ts +3 -1
- package/lib/src/StkTable/index.d.ts +1 -1
- package/lib/src/StkTable/mergeCellsCache.d.ts +3 -0
- package/lib/src/StkTable/types/index.d.ts +39 -0
- package/lib/src/StkTable/useVirtualScroll.d.ts +7 -40
- package/lib/src/StkTable/utils/rowHeightFenwickTree.d.ts +26 -0
- package/lib/stk-table-vue.js +3 -3
- package/lib/style.css +2 -160
- package/lib/test/autoRowHeightVirtualScroll.test.d.ts +1 -0
- package/lib/test/scrollTo.test.d.ts +1 -0
- package/package.json +3 -1
- package/src/StkTable/StkTable.vue +194 -9
- package/src/StkTable/features/useAreaSelection.ts +7 -2
- package/src/StkTable/index.ts +1 -1
- package/src/StkTable/mergeCellsCache.ts +4 -1
- package/src/StkTable/style.less +1 -0
- package/src/StkTable/types/index.ts +42 -0
- package/src/StkTable/useMergeCells.ts +5 -1
- package/src/StkTable/useVirtualScroll.ts +154 -46
- package/src/StkTable/utils/rowHeightFenwickTree.ts +74 -0
- /package/lib/test/{scrollPerf.test.d.ts → autoHeightStripe.repro.test.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Smooth performance with tens of thousands of rows. Designed for real-time data d
|
|
|
25
25
|
- Cell highlighting with Animation API
|
|
26
26
|
- Built-in custom cells: Filter, Editable, Checkbox, Number, Change
|
|
27
27
|
- Column resize, header drag, row drag
|
|
28
|
-
- Merge cells (virtual mode supported)
|
|
28
|
+
- Merge cells (virtual mode, huge rowspan / colspan supported)
|
|
29
29
|
- Custom scrollbar
|
|
30
30
|
- Sortable & filterable
|
|
31
31
|
- Theme support (dark / light)
|
|
@@ -182,7 +182,12 @@ const dataSource = [
|
|
|
182
182
|
```
|
|
183
183
|
|
|
184
184
|
## Compare
|
|
185
|
-
Compare performance with other vue table [vue-table-
|
|
185
|
+
Compare performance with other vue table [vue-virtual-table-benchmark](https://github.com/ja-plus/vue-virtual-table-benchmark)
|
|
186
|
+
|
|
187
|
+
[Benchmark Result Page](https://ja-plus.github.io/vue-virtual-table-benchmark/perf-report.html)
|
|
188
|
+
|
|
189
|
+
## Changelog
|
|
190
|
+
[CHANGELOG](CHANGELOG.md)
|
|
186
191
|
|
|
187
192
|
|
|
188
193
|
## License
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: stk-table-vue
|
|
3
|
-
* version: v1.2.0
|
|
3
|
+
* version: v1.2.0
|
|
4
4
|
* description: High performance realtime virtual table for vue3 and vue2.7
|
|
5
5
|
* author: japlus
|
|
6
6
|
* homepage: https://ja-plus.github.io/stk-table-vue/
|
|
7
7
|
* license: MIT
|
|
8
8
|
*/
|
|
9
|
-
import { t as StkTable_default } from "./StkTable-
|
|
9
|
+
import { t as StkTable_default } from "./StkTable-yOz9wkCz.js";
|
|
10
10
|
import { createElementBlock, createElementVNode, createVNode, defineComponent, h, nextTick, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, reactive, ref, withModifiers } from "vue";
|
|
11
11
|
//#region src/StkTable/custom-cells/FilterCell/Dropdown/index.vue?vue&type=script&setup=true&lang.ts
|
|
12
12
|
var DROPDOWN_DEFAULT_WIDTH = 300;
|