@a2simcode/ui 0.0.69 → 0.0.71

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.
Files changed (37) hide show
  1. package/dist/components/barcode/index.d.ts +3 -3
  2. package/dist/components/barcode/src/barcode.vue.d.ts +1 -1
  3. package/dist/components/date/index.d.ts +98 -0
  4. package/dist/components/date/src/date.vue.d.ts +78 -0
  5. package/dist/components/index.d.ts +3 -1
  6. package/dist/components/slider/index.d.ts +3 -3
  7. package/dist/components/slider/src/slider.vue.d.ts +1 -1
  8. package/dist/components/tabs/index.d.ts +3 -3
  9. package/dist/components/tabs/src/tabs.vue.d.ts +1 -1
  10. package/dist/simcode-ui.es.js +5074 -4879
  11. package/dist/simcode-ui.umd.js +2 -2
  12. package/dist/stats.html +1 -1
  13. package/dist/ui.css +1 -1
  14. package/docs/components/date.md +76 -0
  15. package/docs/components/meta/comp.ts +230 -230
  16. package/docs/components/meta/date.ts +275 -0
  17. package/docs/components/meta/dynamic-layer.ts +99 -99
  18. package/docs/components/meta/form-item.ts +50 -50
  19. package/docs/components/meta/guid.ts +42 -42
  20. package/docs/components/meta/input.ts +411 -411
  21. package/docs/components/meta/number.ts +296 -296
  22. package/docs/components/meta/page.ts +67 -67
  23. package/docs/components/meta/radio.ts +55 -55
  24. package/docs/components/meta/table-panel.ts +178 -154
  25. package/docs/components/meta/table.ts +1 -1
  26. package/docs/components/page.md +15 -0
  27. package/docs/components/table-panel.md +19 -0
  28. package/docs/examples/date/basic.vue +73 -0
  29. package/docs/examples/date/default-value.vue +59 -0
  30. package/docs/examples/date/format.vue +75 -0
  31. package/docs/examples/date/range.vue +66 -0
  32. package/docs/examples/date/types.vue +79 -0
  33. package/docs/examples/page/log.vue +439 -0
  34. package/docs/examples/table/editable.vue +1 -0
  35. package/docs/examples/table-panel/filter.vue +12 -2
  36. package/docs/examples/table-panel/sub-table-lazy.vue +118 -0
  37. package/package.json +1 -1
@@ -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
+ }