@taocompany/magic-grid 0.14.3 → 0.15.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/AGENTS.md +49 -47
- package/README.md +4317 -4341
- package/dist/api-manifest.json +29 -47
- package/dist/components/MagicGrid/MagicGrid.vue.d.ts +68 -104
- package/dist/components/MagicGrid/MagicGrid.vue.d.ts.map +1 -1
- package/dist/components/MagicGrid/index.d.ts +72 -3
- package/dist/components/MagicGrid/index.d.ts.map +1 -1
- package/dist/components/MagicGrid/magicGridProps.d.ts +2 -18
- package/dist/components/MagicGrid/magicGridProps.d.ts.map +1 -1
- package/dist/components/MagicGrid/magicGridSlotBridge.d.ts.map +1 -1
- package/dist/components/MagicGrid/useMagicGrid.d.ts.map +1 -1
- package/dist/components/cellRenderer/vueCellRendererHost.d.ts.map +1 -1
- package/dist/components/vueHostSafeUnmount.d.ts.map +1 -1
- package/dist/core/cell/cellCtrl.d.ts +3 -1
- package/dist/core/cell/cellCtrl.d.ts.map +1 -1
- package/dist/core/column/applyHeaderCells.d.ts.map +1 -1
- package/dist/core/column/columnModel.d.ts +4 -1
- package/dist/core/column/columnModel.d.ts.map +1 -1
- package/dist/core/column/createGroupColumnDef.d.ts +0 -2
- package/dist/core/column/createGroupColumnDef.d.ts.map +1 -1
- package/dist/core/column/prepareGridColumnDefs.d.ts +2 -2
- package/dist/core/column/prepareGridColumnDefs.d.ts.map +1 -1
- package/dist/core/column/renderGroupCell.d.ts +7 -4
- package/dist/core/column/renderGroupCell.d.ts.map +1 -1
- package/dist/core/column/renderTreeHeaderCell.d.ts +1 -1
- package/dist/core/editing/cellEditPipeline.d.ts +3 -1
- package/dist/core/editing/cellEditPipeline.d.ts.map +1 -1
- package/dist/core/editing/cellEditorHost.d.ts.map +1 -1
- package/dist/core/grid/grid.d.ts +9 -1
- package/dist/core/grid/grid.d.ts.map +1 -1
- package/dist/core/grid/gridBootstrap.d.ts.map +1 -1
- package/dist/core/grid/gridHierarchyOps.d.ts +1 -0
- package/dist/core/grid/gridHierarchyOps.d.ts.map +1 -1
- package/dist/core/grid/gridInteraction/cellBodyInteractionHandlers.d.ts +2 -0
- package/dist/core/grid/gridInteraction/cellBodyInteractionHandlers.d.ts.map +1 -1
- package/dist/core/grid/gridInteraction/focusController.d.ts.map +1 -1
- package/dist/core/pipeline/stages/mapStage.d.ts +0 -3
- package/dist/core/pipeline/stages/mapStage.d.ts.map +1 -1
- package/dist/core/row/cellComp.d.ts +11 -2
- package/dist/core/row/cellComp.d.ts.map +1 -1
- package/dist/core/row/rowComp.d.ts.map +1 -1
- package/dist/core/selection/cellClipboardCell.d.ts.map +1 -1
- package/dist/core/treeTable/resolveGridHierarchyMode.d.ts +2 -1
- package/dist/core/treeTable/resolveGridHierarchyMode.d.ts.map +1 -1
- package/dist/core/treeTable/treeHierarchyMove.d.ts.map +1 -1
- package/dist/core/treeTable/treeTableService.d.ts.map +1 -1
- package/dist/core/types/column.d.ts +5 -0
- package/dist/core/types/column.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +2 -2
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/types/treeTable.d.ts +37 -33
- package/dist/core/types/treeTable.d.ts.map +1 -1
- package/dist/getRowDragCommitHierarchy-DoMf_SY8.cjs.map +1 -1
- package/dist/getRowDragCommitHierarchy-pWgukMAX.js.map +1 -1
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4678 -4633
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/token-catalog.json +2 -2
- package/dist/types/core.d.ts +22 -22
- package/dist/types/core.d.ts.map +1 -1
- package/dist/types/magic-grid.d.ts +19 -14
- package/dist/types/magic-grid.d.ts.map +1 -1
- package/dist/validation-BHqm5Flb.js.map +1 -1
- package/dist/validation-CD6lt5wS.cjs.map +1 -1
- package/llms.txt +19 -19
- package/package.json +126 -126
package/package.json
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@taocompany/magic-grid",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A high-performance virtual table component library for Vue 3",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"author": "songjiuzhang <jiuzhang.song@taoandcompany02.com>",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"vue",
|
|
10
|
-
"vue3",
|
|
11
|
-
"virtual-table",
|
|
12
|
-
"virtual-grid",
|
|
13
|
-
"component-library",
|
|
14
|
-
"magic-grid"
|
|
15
|
-
],
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
19
|
-
"import": "./dist/index.es.js",
|
|
20
|
-
"require": "./dist/index.cjs.js"
|
|
21
|
-
},
|
|
22
|
-
"./types/core": {
|
|
23
|
-
"types": "./dist/types/core.d.ts",
|
|
24
|
-
"import": "./dist/types/core.es.js",
|
|
25
|
-
"require": "./dist/types/core.cjs.js"
|
|
26
|
-
},
|
|
27
|
-
"./types/validation": {
|
|
28
|
-
"types": "./dist/types/validation.d.ts",
|
|
29
|
-
"import": "./dist/types/validation.es.js",
|
|
30
|
-
"require": "./dist/types/validation.cjs.js"
|
|
31
|
-
},
|
|
32
|
-
"./validation": {
|
|
33
|
-
"types": "./dist/validation.d.ts",
|
|
34
|
-
"import": "./dist/validation.es.js",
|
|
35
|
-
"require": "./dist/validation.cjs.js"
|
|
36
|
-
},
|
|
37
|
-
"./style.css": "./dist/style.css",
|
|
38
|
-
"./tokens.css": "./dist/tokens.css",
|
|
39
|
-
"./token-catalog.json": "./dist/token-catalog.json",
|
|
40
|
-
"./api-manifest.json": "./dist/api-manifest.json"
|
|
41
|
-
},
|
|
42
|
-
"main": "./dist/index.cjs.js",
|
|
43
|
-
"module": "./dist/index.es.js",
|
|
44
|
-
"types": "./dist/index.d.ts",
|
|
45
|
-
"files": [
|
|
46
|
-
"dist",
|
|
47
|
-
"llms.txt",
|
|
48
|
-
"AGENTS.md"
|
|
49
|
-
],
|
|
50
|
-
"sideEffects": [
|
|
51
|
-
"dist/style.css",
|
|
52
|
-
"dist/tokens.css",
|
|
53
|
-
"**/*.css"
|
|
54
|
-
],
|
|
55
|
-
"publishConfig": {
|
|
56
|
-
"access": "public",
|
|
57
|
-
"registry": "https://registry.npmjs.org/"
|
|
58
|
-
},
|
|
59
|
-
"engines": {
|
|
60
|
-
"node": ">=20.19"
|
|
61
|
-
},
|
|
62
|
-
"packageManager": "pnpm@12.5.1",
|
|
63
|
-
"scripts": {
|
|
64
|
-
"dev": "vite --config vite.config.playground.ts",
|
|
65
|
-
"build": "vue-tsc -p tsconfig.build.json --noEmit && vite build && vite build --config vite.config.tokens.ts && tsx scripts/generate-token-catalog.ts && node --experimental-strip-types scripts/bundle-types.ts && tsx scripts/generate-api-manifest.ts && tsx scripts/patch-magic-grid-vue-dts.ts",
|
|
66
|
-
"manifest:check": "tsx scripts/generate-api-manifest.ts --check",
|
|
67
|
-
"mcp:version:sync": "tsx scripts/sync-mcp-version.ts",
|
|
68
|
-
"mcp:version:check": "tsx scripts/sync-mcp-version.ts --check",
|
|
69
|
-
"mcp:build": "pnpm run mcp:version:check && pnpm --filter @taocompany/magic-grid-mcp build",
|
|
70
|
-
"mcp:check": "pnpm run mcp:build && node packages/magic-grid-mcp/bin/mgc.js doctor",
|
|
71
|
-
"mcp:test:p1": "pnpm run mcp:build && pnpm exec tsx packages/magic-grid-mcp/scripts/mcp-stdio-smoke.mts && pnpm exec vitest run packages/magic-grid-mcp/__tests__/unchecked.test.ts",
|
|
72
|
-
"theme-studio:catalog": "vite build --config vite.config.tokens.ts && tsx scripts/generate-token-catalog.ts",
|
|
73
|
-
"theme-studio:validate": "tsx scripts/validate-theme-overrides.ts",
|
|
74
|
-
"build:playground": "vite build --config vite.config.playground.ts",
|
|
75
|
-
"preview": "vite preview --config vite.config.playground.ts",
|
|
76
|
-
"typecheck": "vue-tsc -p tsconfig.build.json --noEmit",
|
|
77
|
-
"typecheck:emits": "tsx scripts/typecheck-emits/run.mts",
|
|
78
|
-
"check:recipes:tsc": "tsx scripts/check-recipes-tsc/run.mts",
|
|
79
|
-
"ai-eval:baseline": "tsx scripts/ai-eval/run-baseline.mts",
|
|
80
|
-
"ai-eval:agent-pack": "tsx scripts/ai-eval/export-agent-pack.mts",
|
|
81
|
-
"ai-eval:implement-run": "tsx scripts/ai-eval/implement-run.mts",
|
|
82
|
-
"ai-eval:check-snapshots": "tsx scripts/ai-eval/check-snapshot-range.mts",
|
|
83
|
-
"ai-eval:sync-oracle-snapshots": "tsx scripts/ai-eval/sync-reference-snapshots.mts",
|
|
84
|
-
"ai-eval:collect-run": "tsx scripts/ai-eval/collect-run-from-snapshots.mts",
|
|
85
|
-
"ai-eval:score": "tsx scripts/ai-eval/score-run.mts",
|
|
86
|
-
"ai-eval:pipeline-smoke": "pnpm run ai-eval:sync-oracle-snapshots && pnpm exec tsx scripts/ai-eval/collect-run-from-snapshots.mts -- --group G3 --runner oracle --dir docs/ai/eval/agent-snapshots/reference-oracle --out docs/ai/eval/runs/reference-oracle-G3.json --assume-vite-pass && pnpm exec tsx scripts/ai-eval/score-run.mts docs/ai/eval/runs/reference-oracle-G3.json",
|
|
87
|
-
"ai-eval:vite-smoke": "tsx scripts/ai-eval/vite-spot-check.mts",
|
|
88
|
-
"ai-eval:compare-runs": "tsx scripts/ai-eval/compare-runs.mts",
|
|
89
|
-
"test": "vitest",
|
|
90
|
-
"test:run": "vitest run",
|
|
91
|
-
"test:theme-studio": "vitest run theme-studio/__tests__",
|
|
92
|
-
"test:perf": "vitest run --include 'src/__tests__/**/*.perf.test.ts'",
|
|
93
|
-
"test:coverage": "vitest run --coverage",
|
|
94
|
-
"prepublishOnly": "pnpm run build",
|
|
95
|
-
"deploy:dev": "node --experimental-strip-types scripts/deploy-dev.ts",
|
|
96
|
-
"publish:dev": "node --experimental-strip-types scripts/publish-dev.ts",
|
|
97
|
-
"docs:api": "node --experimental-strip-types scripts/generate-docs-api-entries.ts"
|
|
98
|
-
},
|
|
99
|
-
"peerDependencies": {
|
|
100
|
-
"async-validator": "^4.2.0",
|
|
101
|
-
"vue": "^3.5.0"
|
|
102
|
-
},
|
|
103
|
-
"devDependencies": {
|
|
104
|
-
"@microsoft/api-extractor": "^7.55.0",
|
|
105
|
-
"@vitejs/plugin-vue": "^6.0.8",
|
|
106
|
-
"@vitest/coverage-v8": "^4.1.10",
|
|
107
|
-
"@vue/test-utils": "^2.4.11",
|
|
108
|
-
"@vue/tsconfig": "^0.8.1",
|
|
109
|
-
"async-validator": "^4.2.5",
|
|
110
|
-
"element-plus": "^2.14.3",
|
|
111
|
-
"happy-dom": "^20.11.1",
|
|
112
|
-
"less": "^4.8.1",
|
|
113
|
-
"shiki": "^4.4.3",
|
|
114
|
-
"tsx": "^4.23.15",
|
|
115
|
-
"typescript": "^5.9.3",
|
|
116
|
-
"vite": "^8.2.0",
|
|
117
|
-
"vite-plugin-dts": "^5.0.3",
|
|
118
|
-
"vitest": "^4.1.10",
|
|
119
|
-
"vue": "^3.5.40",
|
|
120
|
-
"vue-router": "^4.6.4",
|
|
121
|
-
"vue-tsc": "^3.2.0"
|
|
122
|
-
},
|
|
123
|
-
"dependencies": {
|
|
124
|
-
"@lucide/vue": "^1.28.0"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@taocompany/magic-grid",
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"description": "A high-performance virtual table component library for Vue 3",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "songjiuzhang <jiuzhang.song@taoandcompany02.com>",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"vue",
|
|
10
|
+
"vue3",
|
|
11
|
+
"virtual-table",
|
|
12
|
+
"virtual-grid",
|
|
13
|
+
"component-library",
|
|
14
|
+
"magic-grid"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.es.js",
|
|
20
|
+
"require": "./dist/index.cjs.js"
|
|
21
|
+
},
|
|
22
|
+
"./types/core": {
|
|
23
|
+
"types": "./dist/types/core.d.ts",
|
|
24
|
+
"import": "./dist/types/core.es.js",
|
|
25
|
+
"require": "./dist/types/core.cjs.js"
|
|
26
|
+
},
|
|
27
|
+
"./types/validation": {
|
|
28
|
+
"types": "./dist/types/validation.d.ts",
|
|
29
|
+
"import": "./dist/types/validation.es.js",
|
|
30
|
+
"require": "./dist/types/validation.cjs.js"
|
|
31
|
+
},
|
|
32
|
+
"./validation": {
|
|
33
|
+
"types": "./dist/validation.d.ts",
|
|
34
|
+
"import": "./dist/validation.es.js",
|
|
35
|
+
"require": "./dist/validation.cjs.js"
|
|
36
|
+
},
|
|
37
|
+
"./style.css": "./dist/style.css",
|
|
38
|
+
"./tokens.css": "./dist/tokens.css",
|
|
39
|
+
"./token-catalog.json": "./dist/token-catalog.json",
|
|
40
|
+
"./api-manifest.json": "./dist/api-manifest.json"
|
|
41
|
+
},
|
|
42
|
+
"main": "./dist/index.cjs.js",
|
|
43
|
+
"module": "./dist/index.es.js",
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"files": [
|
|
46
|
+
"dist",
|
|
47
|
+
"llms.txt",
|
|
48
|
+
"AGENTS.md"
|
|
49
|
+
],
|
|
50
|
+
"sideEffects": [
|
|
51
|
+
"dist/style.css",
|
|
52
|
+
"dist/tokens.css",
|
|
53
|
+
"**/*.css"
|
|
54
|
+
],
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public",
|
|
57
|
+
"registry": "https://registry.npmjs.org/"
|
|
58
|
+
},
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=20.19"
|
|
61
|
+
},
|
|
62
|
+
"packageManager": "pnpm@12.5.1",
|
|
63
|
+
"scripts": {
|
|
64
|
+
"dev": "vite --config vite.config.playground.ts",
|
|
65
|
+
"build": "vue-tsc -p tsconfig.build.json --noEmit && vite build && vite build --config vite.config.tokens.ts && tsx scripts/generate-token-catalog.ts && node --experimental-strip-types scripts/bundle-types.ts && tsx scripts/generate-api-manifest.ts && tsx scripts/patch-magic-grid-vue-dts.ts",
|
|
66
|
+
"manifest:check": "tsx scripts/generate-api-manifest.ts --check",
|
|
67
|
+
"mcp:version:sync": "tsx scripts/sync-mcp-version.ts",
|
|
68
|
+
"mcp:version:check": "tsx scripts/sync-mcp-version.ts --check",
|
|
69
|
+
"mcp:build": "pnpm run mcp:version:check && pnpm --filter @taocompany/magic-grid-mcp build",
|
|
70
|
+
"mcp:check": "pnpm run mcp:build && node packages/magic-grid-mcp/bin/mgc.js doctor",
|
|
71
|
+
"mcp:test:p1": "pnpm run mcp:build && pnpm exec tsx packages/magic-grid-mcp/scripts/mcp-stdio-smoke.mts && pnpm exec vitest run packages/magic-grid-mcp/__tests__/unchecked.test.ts",
|
|
72
|
+
"theme-studio:catalog": "vite build --config vite.config.tokens.ts && tsx scripts/generate-token-catalog.ts",
|
|
73
|
+
"theme-studio:validate": "tsx scripts/validate-theme-overrides.ts",
|
|
74
|
+
"build:playground": "vite build --config vite.config.playground.ts",
|
|
75
|
+
"preview": "vite preview --config vite.config.playground.ts",
|
|
76
|
+
"typecheck": "vue-tsc -p tsconfig.build.json --noEmit",
|
|
77
|
+
"typecheck:emits": "tsx scripts/typecheck-emits/run.mts",
|
|
78
|
+
"check:recipes:tsc": "tsx scripts/check-recipes-tsc/run.mts",
|
|
79
|
+
"ai-eval:baseline": "tsx scripts/ai-eval/run-baseline.mts",
|
|
80
|
+
"ai-eval:agent-pack": "tsx scripts/ai-eval/export-agent-pack.mts",
|
|
81
|
+
"ai-eval:implement-run": "tsx scripts/ai-eval/implement-run.mts",
|
|
82
|
+
"ai-eval:check-snapshots": "tsx scripts/ai-eval/check-snapshot-range.mts",
|
|
83
|
+
"ai-eval:sync-oracle-snapshots": "tsx scripts/ai-eval/sync-reference-snapshots.mts",
|
|
84
|
+
"ai-eval:collect-run": "tsx scripts/ai-eval/collect-run-from-snapshots.mts",
|
|
85
|
+
"ai-eval:score": "tsx scripts/ai-eval/score-run.mts",
|
|
86
|
+
"ai-eval:pipeline-smoke": "pnpm run ai-eval:sync-oracle-snapshots && pnpm exec tsx scripts/ai-eval/collect-run-from-snapshots.mts -- --group G3 --runner oracle --dir docs/ai/eval/agent-snapshots/reference-oracle --out docs/ai/eval/runs/reference-oracle-G3.json --assume-vite-pass && pnpm exec tsx scripts/ai-eval/score-run.mts docs/ai/eval/runs/reference-oracle-G3.json",
|
|
87
|
+
"ai-eval:vite-smoke": "tsx scripts/ai-eval/vite-spot-check.mts",
|
|
88
|
+
"ai-eval:compare-runs": "tsx scripts/ai-eval/compare-runs.mts",
|
|
89
|
+
"test": "vitest",
|
|
90
|
+
"test:run": "vitest run",
|
|
91
|
+
"test:theme-studio": "vitest run theme-studio/__tests__",
|
|
92
|
+
"test:perf": "vitest run --include 'src/__tests__/**/*.perf.test.ts'",
|
|
93
|
+
"test:coverage": "vitest run --coverage",
|
|
94
|
+
"prepublishOnly": "pnpm run build",
|
|
95
|
+
"deploy:dev": "node --experimental-strip-types scripts/deploy-dev.ts",
|
|
96
|
+
"publish:dev": "node --experimental-strip-types scripts/publish-dev.ts",
|
|
97
|
+
"docs:api": "node --experimental-strip-types scripts/generate-docs-api-entries.ts"
|
|
98
|
+
},
|
|
99
|
+
"peerDependencies": {
|
|
100
|
+
"async-validator": "^4.2.0",
|
|
101
|
+
"vue": "^3.5.0"
|
|
102
|
+
},
|
|
103
|
+
"devDependencies": {
|
|
104
|
+
"@microsoft/api-extractor": "^7.55.0",
|
|
105
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
106
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
107
|
+
"@vue/test-utils": "^2.4.11",
|
|
108
|
+
"@vue/tsconfig": "^0.8.1",
|
|
109
|
+
"async-validator": "^4.2.5",
|
|
110
|
+
"element-plus": "^2.14.3",
|
|
111
|
+
"happy-dom": "^20.11.1",
|
|
112
|
+
"less": "^4.8.1",
|
|
113
|
+
"shiki": "^4.4.3",
|
|
114
|
+
"tsx": "^4.23.15",
|
|
115
|
+
"typescript": "^5.9.3",
|
|
116
|
+
"vite": "^8.2.0",
|
|
117
|
+
"vite-plugin-dts": "^5.0.3",
|
|
118
|
+
"vitest": "^4.1.10",
|
|
119
|
+
"vue": "^3.5.40",
|
|
120
|
+
"vue-router": "^4.6.4",
|
|
121
|
+
"vue-tsc": "^3.2.0"
|
|
122
|
+
},
|
|
123
|
+
"dependencies": {
|
|
124
|
+
"@lucide/vue": "^1.28.0"
|
|
125
|
+
}
|
|
126
|
+
}
|