stk-table-vue 0.6.10 → 0.6.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/README.md +201 -201
- package/lib/stk-table-vue.js +24 -12
- package/package.json +74 -74
- package/src/StkTable/StkTable.vue +1546 -1541
- package/src/StkTable/components/DragHandle.vue +9 -9
- package/src/StkTable/components/SortIcon.vue +6 -6
- package/src/StkTable/const.ts +37 -37
- package/src/StkTable/index.ts +4 -4
- package/src/StkTable/style.less +553 -553
- package/src/StkTable/types/highlightDimOptions.ts +26 -26
- package/src/StkTable/types/index.ts +239 -239
- package/src/StkTable/useAutoResize.ts +91 -91
- package/src/StkTable/useColResize.ts +216 -216
- package/src/StkTable/useFixedCol.ts +148 -148
- package/src/StkTable/useFixedStyle.ts +75 -75
- package/src/StkTable/useGetFixedColPosition.ts +65 -65
- package/src/StkTable/useHighlight.ts +318 -318
- package/src/StkTable/useKeyboardArrowScroll.ts +112 -106
- package/src/StkTable/useThDrag.ts +102 -102
- package/src/StkTable/useTrDrag.ts +118 -118
- package/src/StkTable/useVirtualScroll.ts +447 -447
- package/src/StkTable/utils/constRefUtils.ts +29 -29
- package/src/StkTable/utils/index.ts +212 -212
- package/src/StkTable/utils/useTriggerRef.ts +33 -33
- package/src/VirtualTree.vue +622 -622
- package/src/VirtualTreeSelect.vue +367 -367
- package/src/vite-env.d.ts +10 -10
package/package.json
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "stk-table-vue",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "Simple realtime virtual table for vue3 and vue2.7",
|
|
5
|
-
"main": "./lib/stk-table-vue.js",
|
|
6
|
-
"types": "./lib/src/StkTable/index.d.ts",
|
|
7
|
-
"packageManager": "pnpm@10.7.0",
|
|
8
|
-
"directories": {
|
|
9
|
-
"test": "test"
|
|
10
|
-
},
|
|
11
|
-
"type": "module",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"dev": "vite",
|
|
14
|
-
"build": "vite build",
|
|
15
|
-
"test": "vitest",
|
|
16
|
-
"docs:dev": "vitepress dev docs-src",
|
|
17
|
-
"docs:build": "vitepress build docs-src",
|
|
18
|
-
"docs:preview": "vitepress preview docs-src",
|
|
19
|
-
"docs:update": "cp -rf ./docs-src/.vitepress/dist/* ./docs"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"virtual table",
|
|
23
|
-
"vue",
|
|
24
|
-
"vue2",
|
|
25
|
-
"vue3",
|
|
26
|
-
"highlight",
|
|
27
|
-
"sticky",
|
|
28
|
-
"virtual",
|
|
29
|
-
"table",
|
|
30
|
-
"list"
|
|
31
|
-
],
|
|
32
|
-
"files": [
|
|
33
|
-
"lib",
|
|
34
|
-
"src"
|
|
35
|
-
],
|
|
36
|
-
"author": "japlus",
|
|
37
|
-
"repository": {
|
|
38
|
-
"type": "git",
|
|
39
|
-
"url": "https://github.com/ja-plus/stk-table-vue"
|
|
40
|
-
},
|
|
41
|
-
"license": "MIT",
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@types/d3-interpolate": "^3.0.4",
|
|
44
|
-
"@types/mockjs": "^1.0.10",
|
|
45
|
-
"@types/node": "^20.12.10",
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
47
|
-
"@typescript-eslint/parser": "^7.7.0",
|
|
48
|
-
"@vitejs/plugin-vue": "^5.1.4",
|
|
49
|
-
"@vue/test-utils": "2.4.4",
|
|
50
|
-
"eslint": "^8.57.0",
|
|
51
|
-
"eslint-config-prettier": "^9.1.0",
|
|
52
|
-
"eslint-plugin-html": "^8.1.0",
|
|
53
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
54
|
-
"eslint-plugin-vue": "^9.25.0",
|
|
55
|
-
"happy-dom": "^12.10.3",
|
|
56
|
-
"less": "^4.2.0",
|
|
57
|
-
"mitt": "^3.0.1",
|
|
58
|
-
"mockjs": "^1.1.0",
|
|
59
|
-
"postcss": "^8.4.47",
|
|
60
|
-
"postcss-discard-comments": "^6.0.2",
|
|
61
|
-
"postcss-preset-env": "^9.5.11",
|
|
62
|
-
"prettier": "^3.2.5",
|
|
63
|
-
"typescript": "^5.4.5",
|
|
64
|
-
"vite": "^5.4.10",
|
|
65
|
-
"vite-plugin-dts": "3.9.1",
|
|
66
|
-
"vitepress": "^1.5.0",
|
|
67
|
-
"vitepress-demo-plugin": "^1.3.1",
|
|
68
|
-
"vitest": "^2.1.3",
|
|
69
|
-
"vue": "^3.5.12",
|
|
70
|
-
"vue-eslint-parser": "^9.4.2"
|
|
71
|
-
},
|
|
72
|
-
"dependencies": {
|
|
73
|
-
"d3-interpolate": "^3.0.1"
|
|
74
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "stk-table-vue",
|
|
3
|
+
"version": "0.6.12",
|
|
4
|
+
"description": "Simple realtime virtual table for vue3 and vue2.7",
|
|
5
|
+
"main": "./lib/stk-table-vue.js",
|
|
6
|
+
"types": "./lib/src/StkTable/index.d.ts",
|
|
7
|
+
"packageManager": "pnpm@10.7.0",
|
|
8
|
+
"directories": {
|
|
9
|
+
"test": "test"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "vite",
|
|
14
|
+
"build": "vite build",
|
|
15
|
+
"test": "vitest",
|
|
16
|
+
"docs:dev": "vitepress dev docs-src",
|
|
17
|
+
"docs:build": "vitepress build docs-src",
|
|
18
|
+
"docs:preview": "vitepress preview docs-src",
|
|
19
|
+
"docs:update": "cp -rf ./docs-src/.vitepress/dist/* ./docs"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"virtual table",
|
|
23
|
+
"vue",
|
|
24
|
+
"vue2",
|
|
25
|
+
"vue3",
|
|
26
|
+
"highlight",
|
|
27
|
+
"sticky",
|
|
28
|
+
"virtual",
|
|
29
|
+
"table",
|
|
30
|
+
"list"
|
|
31
|
+
],
|
|
32
|
+
"files": [
|
|
33
|
+
"lib",
|
|
34
|
+
"src"
|
|
35
|
+
],
|
|
36
|
+
"author": "japlus",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/ja-plus/stk-table-vue"
|
|
40
|
+
},
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/d3-interpolate": "^3.0.4",
|
|
44
|
+
"@types/mockjs": "^1.0.10",
|
|
45
|
+
"@types/node": "^20.12.10",
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
47
|
+
"@typescript-eslint/parser": "^7.7.0",
|
|
48
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
49
|
+
"@vue/test-utils": "2.4.4",
|
|
50
|
+
"eslint": "^8.57.0",
|
|
51
|
+
"eslint-config-prettier": "^9.1.0",
|
|
52
|
+
"eslint-plugin-html": "^8.1.0",
|
|
53
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
54
|
+
"eslint-plugin-vue": "^9.25.0",
|
|
55
|
+
"happy-dom": "^12.10.3",
|
|
56
|
+
"less": "^4.2.0",
|
|
57
|
+
"mitt": "^3.0.1",
|
|
58
|
+
"mockjs": "^1.1.0",
|
|
59
|
+
"postcss": "^8.4.47",
|
|
60
|
+
"postcss-discard-comments": "^6.0.2",
|
|
61
|
+
"postcss-preset-env": "^9.5.11",
|
|
62
|
+
"prettier": "^3.2.5",
|
|
63
|
+
"typescript": "^5.4.5",
|
|
64
|
+
"vite": "^5.4.10",
|
|
65
|
+
"vite-plugin-dts": "3.9.1",
|
|
66
|
+
"vitepress": "^1.5.0",
|
|
67
|
+
"vitepress-demo-plugin": "^1.3.1",
|
|
68
|
+
"vitest": "^2.1.3",
|
|
69
|
+
"vue": "^3.5.12",
|
|
70
|
+
"vue-eslint-parser": "^9.4.2"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"d3-interpolate": "^3.0.1"
|
|
74
|
+
}
|
|
75
75
|
}
|