@a2simcode/ui 0.0.111 → 0.0.112
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/simcode-ui.es.js +422 -425
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/table-panel.ts +12 -0
- package/docs/components/meta/table.ts +7 -1
- package/package.json +66 -66
|
@@ -36,6 +36,12 @@ export default {
|
|
|
36
36
|
"type": "boolean",
|
|
37
37
|
"default": "false"
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
"name": "selectStateKey",
|
|
41
|
+
"description": "选状态字段名",
|
|
42
|
+
"type": "string",
|
|
43
|
+
"default": "''"
|
|
44
|
+
},
|
|
39
45
|
{
|
|
40
46
|
"name": "isPage",
|
|
41
47
|
"description": "是否分页",
|
|
@@ -118,6 +124,12 @@ export default {
|
|
|
118
124
|
"type": "string",
|
|
119
125
|
"default": "'操作'"
|
|
120
126
|
},
|
|
127
|
+
{
|
|
128
|
+
"name": "actionFilter",
|
|
129
|
+
"description": "行内操作按钮过滤方法",
|
|
130
|
+
"type": "(params: {\n action: ButtonCompType\n record: Record<string, any>\n recordIndex: number\n col: number\n row: number\n table: any\n selected: boolean\n}) =>\n | boolean\n | {\n display?: boolean\n disabled?: boolean\n }\n | null\n | undefined",
|
|
131
|
+
"default": "null"
|
|
132
|
+
},
|
|
121
133
|
{
|
|
122
134
|
"name": "loadData",
|
|
123
135
|
"description": "加载数据方法",
|
|
@@ -54,6 +54,12 @@ export default {
|
|
|
54
54
|
"type": "boolean",
|
|
55
55
|
"default": "false"
|
|
56
56
|
},
|
|
57
|
+
{
|
|
58
|
+
"name": "selectStateKey",
|
|
59
|
+
"description": "选状态字段名",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"default": "''"
|
|
62
|
+
},
|
|
57
63
|
{
|
|
58
64
|
"name": "isPage",
|
|
59
65
|
"description": "是否分页",
|
|
@@ -104,7 +110,7 @@ export default {
|
|
|
104
110
|
{
|
|
105
111
|
"name": "actionFilter",
|
|
106
112
|
"description": "行内操作按钮过滤方法",
|
|
107
|
-
"type": "(params: {\n action: ButtonCompType\n record: Record<string, any>\n recordIndex: number\n col: number\n row: number\n table: any\n}) =>\n | boolean\n | {\n display?: boolean\n disabled?: boolean\n }\n | null\n | undefined",
|
|
113
|
+
"type": "(params: {\n action: ButtonCompType\n record: Record<string, any>\n recordIndex: number\n col: number\n row: number\n table: any\n selected: boolean\n}) =>\n | boolean\n | {\n display?: boolean\n disabled?: boolean\n }\n | null\n | undefined",
|
|
108
114
|
"default": "null"
|
|
109
115
|
},
|
|
110
116
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a2simcode/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.112",
|
|
4
4
|
"description": "A Vue 3 UI Component Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/simcode-ui.umd.js",
|
|
@@ -52,43 +52,43 @@
|
|
|
52
52
|
"author": "苏州极简搭信息技术有限公司",
|
|
53
53
|
"license": "UNLICENSED",
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@bwip-js/browser": "
|
|
56
|
-
"@codemirror/autocomplete": "
|
|
57
|
-
"@codemirror/commands": "
|
|
58
|
-
"@codemirror/lang-css": "
|
|
59
|
-
"@codemirror/lang-html": "
|
|
60
|
-
"@codemirror/lang-java": "
|
|
61
|
-
"@codemirror/lang-javascript": "
|
|
62
|
-
"@codemirror/lang-json": "
|
|
63
|
-
"@codemirror/lang-markdown": "
|
|
64
|
-
"@codemirror/lang-python": "
|
|
65
|
-
"@codemirror/lang-sql": "
|
|
66
|
-
"@codemirror/lang-xml": "
|
|
67
|
-
"@codemirror/language": "
|
|
68
|
-
"@codemirror/state": "
|
|
69
|
-
"@codemirror/view": "
|
|
70
|
-
"@iconify/vue": "
|
|
71
|
-
"@visactor/vtable": "
|
|
72
|
-
"@visactor/vtable-editors": "
|
|
73
|
-
"@visactor/vtable-plugins": "
|
|
74
|
-
"@vueuse/core": "
|
|
75
|
-
"async-validator": "
|
|
76
|
-
"codemirror": "
|
|
77
|
-
"countup.js": "
|
|
78
|
-
"crypto-js": "
|
|
79
|
-
"dayjs": "
|
|
80
|
-
"echarts": "
|
|
81
|
-
"element-plus": "
|
|
82
|
-
"sortablejs": "
|
|
83
|
-
"sql-formatter": "
|
|
84
|
-
"vue": "
|
|
85
|
-
"@wangeditor/editor": "
|
|
86
|
-
"diagram-js": "
|
|
87
|
-
"diagram-js-direct-editing": "
|
|
88
|
-
"min-dom": "
|
|
55
|
+
"@bwip-js/browser": "4.8.0",
|
|
56
|
+
"@codemirror/autocomplete": "6.20.1",
|
|
57
|
+
"@codemirror/commands": "6.10.3",
|
|
58
|
+
"@codemirror/lang-css": "6.3.1",
|
|
59
|
+
"@codemirror/lang-html": "6.4.11",
|
|
60
|
+
"@codemirror/lang-java": "6.0.2",
|
|
61
|
+
"@codemirror/lang-javascript": "6.2.5",
|
|
62
|
+
"@codemirror/lang-json": "6.0.2",
|
|
63
|
+
"@codemirror/lang-markdown": "6.5.0",
|
|
64
|
+
"@codemirror/lang-python": "6.2.1",
|
|
65
|
+
"@codemirror/lang-sql": "6.10.0",
|
|
66
|
+
"@codemirror/lang-xml": "6.1.0",
|
|
67
|
+
"@codemirror/language": "6.12.2",
|
|
68
|
+
"@codemirror/state": "6.6.0",
|
|
69
|
+
"@codemirror/view": "6.40.0",
|
|
70
|
+
"@iconify/vue": "5.0.0",
|
|
71
|
+
"@visactor/vtable": "1.25.0",
|
|
72
|
+
"@visactor/vtable-editors": "1.25.0",
|
|
73
|
+
"@visactor/vtable-plugins": "1.25.0",
|
|
74
|
+
"@vueuse/core": "14.2.1",
|
|
75
|
+
"async-validator": "4.2.5",
|
|
76
|
+
"codemirror": "6.0.2",
|
|
77
|
+
"countup.js": "2.10.0",
|
|
78
|
+
"crypto-js": "4.2.0",
|
|
79
|
+
"dayjs": "1.11.20",
|
|
80
|
+
"echarts": "6.0.0",
|
|
81
|
+
"element-plus": "2.13.5",
|
|
82
|
+
"sortablejs": "1.15.7",
|
|
83
|
+
"sql-formatter": "15.7.2",
|
|
84
|
+
"vue": "3.5.30",
|
|
85
|
+
"@wangeditor/editor": "5.1.23",
|
|
86
|
+
"diagram-js": "15.9.1",
|
|
87
|
+
"diagram-js-direct-editing": "3.3.0",
|
|
88
|
+
"min-dom": "5.3.0",
|
|
89
89
|
"inherits": "2.0.4",
|
|
90
|
-
"tiny-svg": "
|
|
91
|
-
"min-dash": "
|
|
90
|
+
"tiny-svg": "4.1.4",
|
|
91
|
+
"min-dash": "5.0.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
94
94
|
"vue": {
|
|
@@ -201,34 +201,34 @@
|
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
"devDependencies": {
|
|
204
|
-
"@types/codemirror": "
|
|
205
|
-
"@types/crypto-js": "
|
|
206
|
-
"@types/lodash-es": "
|
|
207
|
-
"@types/node": "
|
|
208
|
-
"@types/sortablejs": "
|
|
209
|
-
"@typescript-eslint/eslint-plugin": "
|
|
210
|
-
"@typescript-eslint/parser": "
|
|
211
|
-
"@vitejs/plugin-vue": "
|
|
212
|
-
"@vitest/ui": "
|
|
213
|
-
"@vue/test-utils": "
|
|
214
|
-
"element-plus": "
|
|
215
|
-
"eslint": "
|
|
216
|
-
"eslint-config-prettier": "
|
|
217
|
-
"eslint-plugin-vue": "
|
|
218
|
-
"happy-dom": "
|
|
219
|
-
"less": "
|
|
220
|
-
"prettier": "
|
|
221
|
-
"rollup-plugin-visualizer": "
|
|
222
|
-
"shiki": "
|
|
223
|
-
"terser": "
|
|
224
|
-
"tsx": "
|
|
225
|
-
"typescript": "
|
|
226
|
-
"vite": "
|
|
227
|
-
"vite-plugin-dts": "
|
|
228
|
-
"vitepress": "
|
|
229
|
-
"vitest": "
|
|
230
|
-
"vue": "
|
|
231
|
-
"vue-docgen-api": "
|
|
232
|
-
"vue-tsc": "
|
|
204
|
+
"@types/codemirror": "5.60.17",
|
|
205
|
+
"@types/crypto-js": "4.2.2",
|
|
206
|
+
"@types/lodash-es": "4.17.12",
|
|
207
|
+
"@types/node": "25.5.0",
|
|
208
|
+
"@types/sortablejs": "1.15.9",
|
|
209
|
+
"@typescript-eslint/eslint-plugin": "8.57.1",
|
|
210
|
+
"@typescript-eslint/parser": "8.57.1",
|
|
211
|
+
"@vitejs/plugin-vue": "6.0.5",
|
|
212
|
+
"@vitest/ui": "4.1.0",
|
|
213
|
+
"@vue/test-utils": "2.4.6",
|
|
214
|
+
"element-plus": "2.13.5",
|
|
215
|
+
"eslint": "10.0.3",
|
|
216
|
+
"eslint-config-prettier": "10.1.8",
|
|
217
|
+
"eslint-plugin-vue": "10.8.0",
|
|
218
|
+
"happy-dom": "20.8.4",
|
|
219
|
+
"less": "4.6.4",
|
|
220
|
+
"prettier": "3.8.1",
|
|
221
|
+
"rollup-plugin-visualizer": "7.0.1",
|
|
222
|
+
"shiki": "4.0.2",
|
|
223
|
+
"terser": "5.46.1",
|
|
224
|
+
"tsx": "4.21.0",
|
|
225
|
+
"typescript": "5.9.3",
|
|
226
|
+
"vite": "8.0.0",
|
|
227
|
+
"vite-plugin-dts": "4.5.4",
|
|
228
|
+
"vitepress": "1.6.4",
|
|
229
|
+
"vitest": "4.1.0",
|
|
230
|
+
"vue": "3.5.30",
|
|
231
|
+
"vue-docgen-api": "4.79.2",
|
|
232
|
+
"vue-tsc": "3.2.6"
|
|
233
233
|
}
|
|
234
234
|
}
|