@a2simcode/ui 0.0.68 → 0.0.70

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.
@@ -1,230 +1,230 @@
1
- export default {
2
- "props": [
3
- {
4
- "name": "modelValue",
5
- "description": "输入值",
6
- "type": "string | number | boolean | any[] | Record<string, any>",
7
- "default": "undefined"
8
- },
9
- {
10
- "name": "id",
11
- "description": "组件 id",
12
- "type": "string",
13
- "default": "''"
14
- },
15
- {
16
- "name": "type",
17
- "description": "组件类型",
18
- "type": "string",
19
- "default": "''"
20
- },
21
- {
22
- "name": "getCompType",
23
- "description": "获取组件类型",
24
- "type": "func",
25
- "default": "undefined"
26
- },
27
- {
28
- "name": "config",
29
- "description": "组件配置",
30
- "type": "Record<string, any>",
31
- "default": "() => {}"
32
- },
33
- {
34
- "name": "getCompConfig",
35
- "description": "获取组件配置",
36
- "type": "func",
37
- "default": "undefined"
38
- },
39
- {
40
- "name": "children",
41
- "description": "子集",
42
- "type": "SchemaConfig[]",
43
- "default": "() => []"
44
- },
45
- {
46
- "name": "row",
47
- "description": "行数据",
48
- "type": "Record<string, any>",
49
- "default": "undefined"
50
- },
51
- {
52
- "name": "isTableCell",
53
- "description": "是否是表格单元格",
54
- "type": "boolean",
55
- "default": "false"
56
- },
57
- {
58
- "name": "getTableProvide",
59
- "description": "获取表格提供的方法",
60
- "type": "func",
61
- "default": "undefined"
62
- }
63
- ],
64
- "events": [
65
- {
66
- "name": "update:modelValue",
67
- "description": "v-model 双向绑定更新事件",
68
- "type": "union"
69
- },
70
- {
71
- "name": "change",
72
- "description": "组件值变化事件",
73
- "type": "unknown"
74
- }
75
- ],
76
- "slots": [],
77
- "methods": [],
78
- "types": [
79
- {
80
- "name": "BaseSchemaConfig",
81
- "properties": [
82
- {
83
- "name": "slot",
84
- "type": "string",
85
- "description": "插槽名称"
86
- },
87
- {
88
- "name": "getCompType",
89
- "type": "any",
90
- "description": "获取组件类型"
91
- },
92
- {
93
- "name": "config",
94
- "type": "Record<string, any> & BaseCompConfig",
95
- "description": "组件配置"
96
- },
97
- {
98
- "name": "getCompConfig",
99
- "type": "any",
100
- "description": "获取组件配置"
101
- }
102
- ]
103
- },
104
- {
105
- "name": "BaseCompConfig",
106
- "properties": [
107
- {
108
- "name": "display",
109
- "type": "boolean",
110
- "description": "是否显示"
111
- },
112
- {
113
- "name": "defaultValue",
114
- "type": "any",
115
- "description": "默认值"
116
- }
117
- ]
118
- },
119
- {
120
- "name": "TabsSchemaConfig",
121
- "properties": [
122
- {
123
- "name": "id",
124
- "type": "string",
125
- "description": "id"
126
- },
127
- {
128
- "name": "type",
129
- "type": "'j-tabs'",
130
- "description": "组件类型"
131
- },
132
- {
133
- "name": "children",
134
- "type": "TabPaneSchemaConfig[]",
135
- "description": "子集"
136
- }
137
- ]
138
- },
139
- {
140
- "name": "TabPaneSchemaConfig",
141
- "properties": [
142
- {
143
- "name": "id",
144
- "type": "string",
145
- "description": "id"
146
- },
147
- {
148
- "name": "type",
149
- "type": "'el-tab-pane'",
150
- "description": "组件类型"
151
- },
152
- {
153
- "name": "config",
154
- "type": "{ label: string; active?: boolean } & BaseCompConfig",
155
- "description": "标签页标题"
156
- },
157
- {
158
- "name": "children",
159
- "type": "SchemaConfig[]",
160
- "description": "子集"
161
- }
162
- ]
163
- },
164
- {
165
- "name": "GeneralSchemaConfig",
166
- "properties": [
167
- {
168
- "name": "id",
169
- "type": "string",
170
- "description": "id"
171
- },
172
- {
173
- "name": "type",
174
- "type": "string",
175
- "description": "组件类型"
176
- },
177
- {
178
- "name": "children",
179
- "type": "SchemaConfig[]",
180
- "description": "子集"
181
- }
182
- ]
183
- },
184
- {
185
- "name": "CollapseSchemaConfig",
186
- "properties": [
187
- {
188
- "name": "id",
189
- "type": "string",
190
- "description": "id"
191
- },
192
- {
193
- "name": "type",
194
- "type": "'j-collapse'",
195
- "description": "组件类型"
196
- },
197
- {
198
- "name": "children",
199
- "type": "CollapseItemSchemaConfig[]",
200
- "description": "子集"
201
- }
202
- ]
203
- },
204
- {
205
- "name": "CollapseItemSchemaConfig",
206
- "properties": [
207
- {
208
- "name": "id",
209
- "type": "string",
210
- "description": "id"
211
- },
212
- {
213
- "name": "type",
214
- "type": "'el-collapse-item'",
215
- "description": "组件类型"
216
- },
217
- {
218
- "name": "config",
219
- "type": "{ label: string; active?: boolean } & BaseCompConfig",
220
- "description": "面板标题"
221
- },
222
- {
223
- "name": "children",
224
- "type": "SchemaConfig[]",
225
- "description": "子集"
226
- }
227
- ]
228
- }
229
- ]
230
- }
1
+ export default {
2
+ "props": [
3
+ {
4
+ "name": "modelValue",
5
+ "description": "输入值",
6
+ "type": "string | number | boolean | any[] | Record<string, any>",
7
+ "default": "undefined"
8
+ },
9
+ {
10
+ "name": "id",
11
+ "description": "组件 id",
12
+ "type": "string",
13
+ "default": "''"
14
+ },
15
+ {
16
+ "name": "type",
17
+ "description": "组件类型",
18
+ "type": "string",
19
+ "default": "''"
20
+ },
21
+ {
22
+ "name": "getCompType",
23
+ "description": "获取组件类型",
24
+ "type": "func",
25
+ "default": "undefined"
26
+ },
27
+ {
28
+ "name": "config",
29
+ "description": "组件配置",
30
+ "type": "Record<string, any>",
31
+ "default": "() => {}"
32
+ },
33
+ {
34
+ "name": "getCompConfig",
35
+ "description": "获取组件配置",
36
+ "type": "func",
37
+ "default": "undefined"
38
+ },
39
+ {
40
+ "name": "children",
41
+ "description": "子集",
42
+ "type": "SchemaConfig[]",
43
+ "default": "() => []"
44
+ },
45
+ {
46
+ "name": "row",
47
+ "description": "行数据",
48
+ "type": "Record<string, any>",
49
+ "default": "undefined"
50
+ },
51
+ {
52
+ "name": "isTableCell",
53
+ "description": "是否是表格单元格",
54
+ "type": "boolean",
55
+ "default": "false"
56
+ },
57
+ {
58
+ "name": "getTableProvide",
59
+ "description": "获取表格提供的方法",
60
+ "type": "func",
61
+ "default": "undefined"
62
+ }
63
+ ],
64
+ "events": [
65
+ {
66
+ "name": "update:modelValue",
67
+ "description": "v-model 双向绑定更新事件",
68
+ "type": "union"
69
+ },
70
+ {
71
+ "name": "change",
72
+ "description": "组件值变化事件",
73
+ "type": "unknown"
74
+ }
75
+ ],
76
+ "slots": [],
77
+ "methods": [],
78
+ "types": [
79
+ {
80
+ "name": "BaseSchemaConfig",
81
+ "properties": [
82
+ {
83
+ "name": "slot",
84
+ "type": "string",
85
+ "description": "插槽名称"
86
+ },
87
+ {
88
+ "name": "getCompType",
89
+ "type": "any",
90
+ "description": "获取组件类型"
91
+ },
92
+ {
93
+ "name": "config",
94
+ "type": "Record<string, any> & BaseCompConfig",
95
+ "description": "组件配置"
96
+ },
97
+ {
98
+ "name": "getCompConfig",
99
+ "type": "any",
100
+ "description": "获取组件配置"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "BaseCompConfig",
106
+ "properties": [
107
+ {
108
+ "name": "display",
109
+ "type": "boolean",
110
+ "description": "是否显示"
111
+ },
112
+ {
113
+ "name": "defaultValue",
114
+ "type": "any",
115
+ "description": "默认值"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "name": "TabsSchemaConfig",
121
+ "properties": [
122
+ {
123
+ "name": "id",
124
+ "type": "string",
125
+ "description": "id"
126
+ },
127
+ {
128
+ "name": "type",
129
+ "type": "'j-tabs'",
130
+ "description": "组件类型"
131
+ },
132
+ {
133
+ "name": "children",
134
+ "type": "TabPaneSchemaConfig[]",
135
+ "description": "子集"
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "name": "TabPaneSchemaConfig",
141
+ "properties": [
142
+ {
143
+ "name": "id",
144
+ "type": "string",
145
+ "description": "id"
146
+ },
147
+ {
148
+ "name": "type",
149
+ "type": "'el-tab-pane'",
150
+ "description": "组件类型"
151
+ },
152
+ {
153
+ "name": "config",
154
+ "type": "{ label: string; active?: boolean } & BaseCompConfig",
155
+ "description": "标签页标题"
156
+ },
157
+ {
158
+ "name": "children",
159
+ "type": "SchemaConfig[]",
160
+ "description": "子集"
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "name": "GeneralSchemaConfig",
166
+ "properties": [
167
+ {
168
+ "name": "id",
169
+ "type": "string",
170
+ "description": "id"
171
+ },
172
+ {
173
+ "name": "type",
174
+ "type": "string",
175
+ "description": "组件类型"
176
+ },
177
+ {
178
+ "name": "children",
179
+ "type": "SchemaConfig[]",
180
+ "description": "子集"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "name": "CollapseSchemaConfig",
186
+ "properties": [
187
+ {
188
+ "name": "id",
189
+ "type": "string",
190
+ "description": "id"
191
+ },
192
+ {
193
+ "name": "type",
194
+ "type": "'j-collapse'",
195
+ "description": "组件类型"
196
+ },
197
+ {
198
+ "name": "children",
199
+ "type": "CollapseItemSchemaConfig[]",
200
+ "description": "子集"
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "name": "CollapseItemSchemaConfig",
206
+ "properties": [
207
+ {
208
+ "name": "id",
209
+ "type": "string",
210
+ "description": "id"
211
+ },
212
+ {
213
+ "name": "type",
214
+ "type": "'el-collapse-item'",
215
+ "description": "组件类型"
216
+ },
217
+ {
218
+ "name": "config",
219
+ "type": "{ label: string; active?: boolean } & BaseCompConfig",
220
+ "description": "面板标题"
221
+ },
222
+ {
223
+ "name": "children",
224
+ "type": "SchemaConfig[]",
225
+ "description": "子集"
226
+ }
227
+ ]
228
+ }
229
+ ]
230
+ }
@@ -1,99 +1,99 @@
1
- export default {
2
- "props": [],
3
- "events": [],
4
- "slots": [],
5
- "methods": [
6
- {
7
- "name": "open",
8
- "description": "",
9
- "type": "() => void"
10
- }
11
- ],
12
- "types": [
13
- {
14
- "name": "LayerParamType",
15
- "properties": [
16
- {
17
- "name": "title",
18
- "type": "string",
19
- "description": "表单标题"
20
- },
21
- {
22
- "name": "subtitle",
23
- "type": "string",
24
- "description": "表单副标题"
25
- },
26
- {
27
- "name": "name",
28
- "type": "string | any",
29
- "description": "表单名称"
30
- },
31
- {
32
- "name": "type",
33
- "type": "string",
34
- "description": "类型,弹窗 modal ,全屏弹窗 full ,抽屉 drawer"
35
- },
36
- {
37
- "name": "width",
38
- "type": "number",
39
- "description": "宽度"
40
- },
41
- {
42
- "name": "height",
43
- "type": "number",
44
- "description": "高度"
45
- },
46
- {
47
- "name": "hasBtns",
48
- "type": "boolean",
49
- "description": "是否有按钮"
50
- },
51
- {
52
- "name": "hasSaveBtn",
53
- "type": "boolean",
54
- "description": "是否有保存按钮"
55
- },
56
- {
57
- "name": "btnText",
58
- "type": "string",
59
- "description": "弹窗按钮文字"
60
- },
61
- {
62
- "name": "destroyOnClose",
63
- "type": "boolean",
64
- "description": "关闭时是否销毁抽屉内的元素"
65
- },
66
- {
67
- "name": "hasHeader",
68
- "type": "boolean",
69
- "description": "是否有头部"
70
- },
71
- {
72
- "name": "param",
73
- "type": "Record<string, any>",
74
- "description": "参数"
75
- },
76
- {
77
- "name": "config",
78
- "type": "Record<string, any>",
79
- "description": "组件配置"
80
- },
81
- {
82
- "name": "afterOk",
83
- "type": "(data: any) => void",
84
- "description": "保存成功后调用方法"
85
- },
86
- {
87
- "name": "afterClose",
88
- "type": "() => void",
89
- "description": "关闭后方法"
90
- },
91
- {
92
- "name": "afterCancel",
93
- "type": "() => void",
94
- "description": "取消后方法"
95
- }
96
- ]
97
- }
98
- ]
99
- }
1
+ export default {
2
+ "props": [],
3
+ "events": [],
4
+ "slots": [],
5
+ "methods": [
6
+ {
7
+ "name": "open",
8
+ "description": "",
9
+ "type": "() => void"
10
+ }
11
+ ],
12
+ "types": [
13
+ {
14
+ "name": "LayerParamType",
15
+ "properties": [
16
+ {
17
+ "name": "title",
18
+ "type": "string",
19
+ "description": "表单标题"
20
+ },
21
+ {
22
+ "name": "subtitle",
23
+ "type": "string",
24
+ "description": "表单副标题"
25
+ },
26
+ {
27
+ "name": "name",
28
+ "type": "string | any",
29
+ "description": "表单名称"
30
+ },
31
+ {
32
+ "name": "type",
33
+ "type": "string",
34
+ "description": "类型,弹窗 modal ,全屏弹窗 full ,抽屉 drawer"
35
+ },
36
+ {
37
+ "name": "width",
38
+ "type": "number",
39
+ "description": "宽度"
40
+ },
41
+ {
42
+ "name": "height",
43
+ "type": "number",
44
+ "description": "高度"
45
+ },
46
+ {
47
+ "name": "hasBtns",
48
+ "type": "boolean",
49
+ "description": "是否有按钮"
50
+ },
51
+ {
52
+ "name": "hasSaveBtn",
53
+ "type": "boolean",
54
+ "description": "是否有保存按钮"
55
+ },
56
+ {
57
+ "name": "btnText",
58
+ "type": "string",
59
+ "description": "弹窗按钮文字"
60
+ },
61
+ {
62
+ "name": "destroyOnClose",
63
+ "type": "boolean",
64
+ "description": "关闭时是否销毁抽屉内的元素"
65
+ },
66
+ {
67
+ "name": "hasHeader",
68
+ "type": "boolean",
69
+ "description": "是否有头部"
70
+ },
71
+ {
72
+ "name": "param",
73
+ "type": "Record<string, any>",
74
+ "description": "参数"
75
+ },
76
+ {
77
+ "name": "config",
78
+ "type": "Record<string, any>",
79
+ "description": "组件配置"
80
+ },
81
+ {
82
+ "name": "afterOk",
83
+ "type": "(data: any) => void",
84
+ "description": "保存成功后调用方法"
85
+ },
86
+ {
87
+ "name": "afterClose",
88
+ "type": "() => void",
89
+ "description": "关闭后方法"
90
+ },
91
+ {
92
+ "name": "afterCancel",
93
+ "type": "() => void",
94
+ "description": "取消后方法"
95
+ }
96
+ ]
97
+ }
98
+ ]
99
+ }