@cuvp1225/antd 0.3.1 → 0.3.3
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/LICENSE +21 -21
- package/README.md +11 -11
- package/dist/designer.js +886 -14079
- package/dist/index.js +530 -13820
- package/dist/index.less +1 -1
- package/lib/cjs/components/box.d.ts +1 -1
- package/lib/cjs/components/box.js +1 -1
- package/lib/cjs/components/button.d.ts +2 -2
- package/lib/cjs/components/columns.d.ts +2 -2
- package/lib/cjs/components/columns.js +1 -1
- package/lib/cjs/components/form.d.ts +16 -0
- package/lib/cjs/components/form.js +17 -0
- package/lib/cjs/components/formily.d.ts +5 -5
- package/lib/cjs/components/formily.js +2 -2
- package/lib/cjs/components/grid.d.ts +3 -0
- package/lib/cjs/components/grid.js +28 -0
- package/lib/cjs/components/gridCombination.d.ts +7 -0
- package/lib/cjs/components/gridCombination.js +26 -0
- package/lib/cjs/components/index.d.ts +1 -15
- package/lib/cjs/components/index.js +21 -35
- package/lib/cjs/components/input-number.d.ts +3 -3
- package/lib/cjs/components/modal.js +35 -35
- package/lib/cjs/components/multiColumns.d.ts +4 -0
- package/lib/cjs/components/multiColumns.js +17 -0
- package/lib/cjs/components/page.d.ts +1 -1
- package/lib/cjs/components/page.js +9 -9
- package/lib/cjs/components/placeholder.d.ts +1 -1
- package/lib/cjs/components/placeholder.js +22 -24
- package/lib/cjs/components/section.d.ts +1 -1
- package/lib/cjs/components/section.js +1 -1
- package/lib/cjs/components/select.d.ts +2 -2
- package/lib/cjs/components/shadow-container.js +9 -9
- package/lib/cjs/components/typography.d.ts +2 -2
- package/lib/cjs/designer.js +4 -4
- package/lib/cjs/index.less +1 -1
- package/lib/cjs/prototypes/affix.js +1 -1
- package/lib/cjs/prototypes/alert.js +2 -2
- package/lib/cjs/prototypes/anchor.js +2 -2
- package/lib/cjs/prototypes/auto-complete.js +1 -1
- package/lib/cjs/prototypes/avatar.js +2 -2
- package/lib/cjs/prototypes/back-top.js +1 -1
- package/lib/cjs/prototypes/badge.js +2 -2
- package/lib/cjs/prototypes/box.js +1 -1
- package/lib/cjs/prototypes/breadcrumb.js +3 -3
- package/lib/cjs/prototypes/button.js +1 -1
- package/lib/cjs/prototypes/calendar.js +1 -1
- package/lib/cjs/prototypes/card.js +3 -3
- package/lib/cjs/prototypes/carousel.js +1 -1
- package/lib/cjs/prototypes/cascader.js +1 -1
- package/lib/cjs/prototypes/checkbox.js +2 -2
- package/lib/cjs/prototypes/collapse.js +2 -2
- package/lib/cjs/prototypes/columns.js +2 -2
- package/lib/cjs/prototypes/comment.js +1 -1
- package/lib/cjs/prototypes/date-picker.js +33 -33
- package/lib/cjs/prototypes/descriptions.js +2 -2
- package/lib/cjs/prototypes/divider.js +1 -1
- package/lib/cjs/prototypes/drawer.js +1 -1
- package/lib/cjs/prototypes/dropdown.js +2 -2
- package/lib/cjs/prototypes/each.js +1 -1
- package/lib/cjs/prototypes/empty.js +1 -1
- package/lib/cjs/prototypes/form.js +19 -5
- package/lib/cjs/prototypes/formily.js +5 -5
- package/lib/cjs/prototypes/grid.d.ts +3 -0
- package/lib/cjs/prototypes/grid.js +56 -0
- package/lib/cjs/prototypes/iframe.js +1 -1
- package/lib/cjs/prototypes/image.js +2 -2
- package/lib/cjs/prototypes/index.d.ts +1 -0
- package/lib/cjs/prototypes/index.js +1 -0
- package/lib/cjs/prototypes/input-number.js +1 -1
- package/lib/cjs/prototypes/input.js +5 -5
- package/lib/cjs/prototypes/interval.js +1 -1
- package/lib/cjs/prototypes/link.js +1 -1
- package/lib/cjs/prototypes/list.js +3 -3
- package/lib/cjs/prototypes/mentions.js +2 -2
- package/lib/cjs/prototypes/menu.js +5 -5
- package/lib/cjs/prototypes/modal.js +1 -1
- package/lib/cjs/prototypes/page-header.js +1 -1
- package/lib/cjs/prototypes/page.js +1 -1
- package/lib/cjs/prototypes/pagination.js +2 -1
- package/lib/cjs/prototypes/popconfirm.js +1 -1
- package/lib/cjs/prototypes/popover.js +1 -1
- package/lib/cjs/prototypes/progress.js +1 -1
- package/lib/cjs/prototypes/radio.js +2 -2
- package/lib/cjs/prototypes/rate.js +1 -1
- package/lib/cjs/prototypes/result.js +1 -1
- package/lib/cjs/prototypes/section.js +1 -1
- package/lib/cjs/prototypes/select.js +1 -1
- package/lib/cjs/prototypes/skeleton.js +6 -6
- package/lib/cjs/prototypes/slider.js +1 -1
- package/lib/cjs/prototypes/space.js +1 -1
- package/lib/cjs/prototypes/spin.js +1 -1
- package/lib/cjs/prototypes/statistic.js +2 -2
- package/lib/cjs/prototypes/steps.js +2 -2
- package/lib/cjs/prototypes/switch.js +1 -1
- package/lib/cjs/prototypes/table.js +38 -27
- package/lib/cjs/prototypes/tabs.js +2 -2
- package/lib/cjs/prototypes/tag.js +3 -2
- package/lib/cjs/prototypes/text.js +1 -1
- package/lib/cjs/prototypes/time-picker.js +2 -2
- package/lib/cjs/prototypes/timeline.js +2 -2
- package/lib/cjs/prototypes/toolbar.js +1 -1
- package/lib/cjs/prototypes/tooltip.js +1 -1
- package/lib/cjs/prototypes/transfer.js +2 -2
- package/lib/cjs/prototypes/tree-select.js +1 -1
- package/lib/cjs/prototypes/tree.js +3 -3
- package/lib/cjs/prototypes/typography.js +3 -3
- package/lib/cjs/prototypes/upload.js +2 -2
- package/lib/cjs/prototypes/when.js +1 -1
- package/lib/esm/components/box.d.ts +1 -1
- package/lib/esm/components/box.js +1 -1
- package/lib/esm/components/button.d.ts +2 -2
- package/lib/esm/components/columns.d.ts +2 -2
- package/lib/esm/components/columns.js +1 -1
- package/lib/esm/components/form.d.ts +16 -0
- package/lib/esm/components/form.js +14 -0
- package/lib/esm/components/formily.d.ts +5 -5
- package/lib/esm/components/formily.js +2 -2
- package/lib/esm/components/grid.d.ts +3 -0
- package/lib/esm/components/grid.js +24 -0
- package/lib/esm/components/gridCombination.d.ts +7 -0
- package/lib/esm/components/gridCombination.js +22 -0
- package/lib/esm/components/index.d.ts +1 -15
- package/lib/esm/components/index.js +19 -15
- package/lib/esm/components/input-number.d.ts +3 -3
- package/lib/esm/components/modal.js +35 -35
- package/lib/esm/components/multiColumns.d.ts +4 -0
- package/lib/esm/components/multiColumns.js +13 -0
- package/lib/esm/components/page.d.ts +1 -1
- package/lib/esm/components/page.js +9 -9
- package/lib/esm/components/placeholder.d.ts +1 -1
- package/lib/esm/components/placeholder.js +22 -24
- package/lib/esm/components/section.d.ts +1 -1
- package/lib/esm/components/section.js +1 -1
- package/lib/esm/components/select.d.ts +2 -2
- package/lib/esm/components/shadow-container.js +9 -9
- package/lib/esm/components/typography.d.ts +2 -2
- package/lib/esm/designer.js +4 -4
- package/lib/esm/index.less +1 -1
- package/lib/esm/prototypes/affix.js +1 -1
- package/lib/esm/prototypes/alert.js +2 -2
- package/lib/esm/prototypes/anchor.js +2 -2
- package/lib/esm/prototypes/auto-complete.js +1 -1
- package/lib/esm/prototypes/avatar.js +2 -2
- package/lib/esm/prototypes/back-top.js +1 -1
- package/lib/esm/prototypes/badge.js +2 -2
- package/lib/esm/prototypes/box.js +1 -1
- package/lib/esm/prototypes/breadcrumb.js +3 -3
- package/lib/esm/prototypes/button.js +1 -1
- package/lib/esm/prototypes/calendar.js +1 -1
- package/lib/esm/prototypes/card.js +3 -3
- package/lib/esm/prototypes/carousel.js +1 -1
- package/lib/esm/prototypes/cascader.js +1 -1
- package/lib/esm/prototypes/checkbox.js +2 -2
- package/lib/esm/prototypes/collapse.js +2 -2
- package/lib/esm/prototypes/columns.js +2 -2
- package/lib/esm/prototypes/comment.js +1 -1
- package/lib/esm/prototypes/date-picker.js +33 -33
- package/lib/esm/prototypes/descriptions.js +2 -2
- package/lib/esm/prototypes/divider.js +1 -1
- package/lib/esm/prototypes/drawer.js +1 -1
- package/lib/esm/prototypes/dropdown.js +2 -2
- package/lib/esm/prototypes/each.js +1 -1
- package/lib/esm/prototypes/empty.js +1 -1
- package/lib/esm/prototypes/form.js +19 -5
- package/lib/esm/prototypes/formily.js +5 -5
- package/lib/esm/prototypes/grid.d.ts +3 -0
- package/lib/esm/prototypes/grid.js +53 -0
- package/lib/esm/prototypes/iframe.js +1 -1
- package/lib/esm/prototypes/image.js +2 -2
- package/lib/esm/prototypes/index.d.ts +1 -0
- package/lib/esm/prototypes/index.js +1 -0
- package/lib/esm/prototypes/input-number.js +1 -1
- package/lib/esm/prototypes/input.js +5 -5
- package/lib/esm/prototypes/interval.js +1 -1
- package/lib/esm/prototypes/link.js +1 -1
- package/lib/esm/prototypes/list.js +3 -3
- package/lib/esm/prototypes/mentions.js +2 -2
- package/lib/esm/prototypes/menu.js +5 -5
- package/lib/esm/prototypes/modal.js +1 -1
- package/lib/esm/prototypes/page-header.js +1 -1
- package/lib/esm/prototypes/page.js +1 -1
- package/lib/esm/prototypes/pagination.js +2 -1
- package/lib/esm/prototypes/popconfirm.js +1 -1
- package/lib/esm/prototypes/popover.js +1 -1
- package/lib/esm/prototypes/progress.js +1 -1
- package/lib/esm/prototypes/radio.js +2 -2
- package/lib/esm/prototypes/rate.js +1 -1
- package/lib/esm/prototypes/result.js +1 -1
- package/lib/esm/prototypes/section.js +1 -1
- package/lib/esm/prototypes/select.js +1 -1
- package/lib/esm/prototypes/skeleton.js +6 -6
- package/lib/esm/prototypes/slider.js +1 -1
- package/lib/esm/prototypes/space.js +1 -1
- package/lib/esm/prototypes/spin.js +1 -1
- package/lib/esm/prototypes/statistic.js +2 -2
- package/lib/esm/prototypes/steps.js +2 -2
- package/lib/esm/prototypes/switch.js +1 -1
- package/lib/esm/prototypes/table.js +38 -27
- package/lib/esm/prototypes/tabs.js +2 -2
- package/lib/esm/prototypes/tag.js +3 -2
- package/lib/esm/prototypes/text.js +1 -1
- package/lib/esm/prototypes/time-picker.js +2 -2
- package/lib/esm/prototypes/timeline.js +2 -2
- package/lib/esm/prototypes/toolbar.js +1 -1
- package/lib/esm/prototypes/tooltip.js +1 -1
- package/lib/esm/prototypes/transfer.js +2 -2
- package/lib/esm/prototypes/tree-select.js +1 -1
- package/lib/esm/prototypes/tree.js +3 -3
- package/lib/esm/prototypes/typography.js +3 -3
- package/lib/esm/prototypes/upload.js +2 -2
- package/lib/esm/prototypes/when.js +1 -1
- package/package.json +7 -4
@@ -31,7 +31,7 @@ export const FormilyForm = {
|
|
31
31
|
exportType: 'namedExport',
|
32
32
|
icon: 'icon-biaodan',
|
33
33
|
type: 'element',
|
34
|
-
package: '@
|
34
|
+
package: '@cuvp1225/antd',
|
35
35
|
help: 'Formily 表单',
|
36
36
|
hasChildren: true,
|
37
37
|
initChildren: '<FormilyFormItem name="input1" component="Input" label="表单项" /><FormilyFormItem name="select1" component="Select" label="表单项" />',
|
@@ -70,7 +70,7 @@ export const FormilyFormItem = {
|
|
70
70
|
exportType: 'namedExport',
|
71
71
|
icon: 'icon-biaodan',
|
72
72
|
type: 'element',
|
73
|
-
package: '@
|
73
|
+
package: '@cuvp1225/antd',
|
74
74
|
help: 'Formily 表单项',
|
75
75
|
hasChildren: false,
|
76
76
|
props: [
|
@@ -151,7 +151,7 @@ export const FormilyFormFooter = {
|
|
151
151
|
exportType: 'namedExport',
|
152
152
|
icon: 'icon-biaodan',
|
153
153
|
type: 'element',
|
154
|
-
package: '@
|
154
|
+
package: '@cuvp1225/antd',
|
155
155
|
hasChildren: true,
|
156
156
|
initChildren: `<FormilySubmit>提交</FormilySubmit><FormilyReset>重置</FormilyReset>`,
|
157
157
|
relatedImports: ['FormilySubmit', 'FormilyReset'],
|
@@ -162,7 +162,7 @@ export const FormilySubmit = {
|
|
162
162
|
exportType: 'namedExport',
|
163
163
|
icon: 'icon-anniu',
|
164
164
|
type: 'element',
|
165
|
-
package: '@
|
165
|
+
package: '@cuvp1225/antd',
|
166
166
|
help: '提交表单',
|
167
167
|
hasChildren: false,
|
168
168
|
props: [
|
@@ -199,7 +199,7 @@ export const FormilyReset = {
|
|
199
199
|
exportType: 'namedExport',
|
200
200
|
icon: 'icon-anniu',
|
201
201
|
type: 'element',
|
202
|
-
package: '@
|
202
|
+
package: '@cuvp1225/antd',
|
203
203
|
help: '重置表单。',
|
204
204
|
hasChildren: false,
|
205
205
|
props: [
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { StylePrototypes } from './common';
|
2
|
+
export const Col = {
|
3
|
+
name: 'Col',
|
4
|
+
title: '栅格列',
|
5
|
+
package: '@cuvp1225/antd',
|
6
|
+
icon: 'icon-column',
|
7
|
+
//type: 'element',
|
8
|
+
type: 'container',
|
9
|
+
help: '栅格行',
|
10
|
+
hasChildren: true,
|
11
|
+
initChildren: '<Placeholder text="放置替换" />',
|
12
|
+
relatedImports: ['Placeholder'],
|
13
|
+
props: [
|
14
|
+
...StylePrototypes,
|
15
|
+
{
|
16
|
+
name: 'span',
|
17
|
+
title: '所占栅格',
|
18
|
+
setter: 'numberSetter',
|
19
|
+
//defaultValue: 24
|
20
|
+
},
|
21
|
+
],
|
22
|
+
rules: {
|
23
|
+
canMoveIn(incomingName) {
|
24
|
+
return !(incomingName === Row.name);
|
25
|
+
},
|
26
|
+
},
|
27
|
+
};
|
28
|
+
export const Row = {
|
29
|
+
name: 'Row',
|
30
|
+
title: '栅格行',
|
31
|
+
package: '@cuvp1225/antd',
|
32
|
+
icon: 'icon-column',
|
33
|
+
//type: 'element',
|
34
|
+
type: 'container',
|
35
|
+
help: '栅格行',
|
36
|
+
hasChildren: true,
|
37
|
+
initChildren: '<Placeholder text="放置替换" />',
|
38
|
+
relatedImports: ['Placeholder'],
|
39
|
+
props: [
|
40
|
+
...StylePrototypes,
|
41
|
+
{
|
42
|
+
name: 'gutter',
|
43
|
+
title: '栅格间隔',
|
44
|
+
setter: 'textSetter',
|
45
|
+
defaultValue: [20, 20]
|
46
|
+
},
|
47
|
+
],
|
48
|
+
rules: {
|
49
|
+
canMoveIn(incomingName) {
|
50
|
+
return !(incomingName === Row.name);
|
51
|
+
},
|
52
|
+
},
|
53
|
+
};
|
@@ -6,7 +6,7 @@ export const Image = {
|
|
6
6
|
icon: 'icon-tupian',
|
7
7
|
type: 'element',
|
8
8
|
help: '展示一种图片,并且可以进入快捷预览态。',
|
9
|
-
package: '@
|
9
|
+
package: '@cuvp1225/antd',
|
10
10
|
hasChildren: false,
|
11
11
|
props: [
|
12
12
|
...StylePrototypes,
|
@@ -58,7 +58,7 @@ export const ImageList = {
|
|
58
58
|
icon: 'icon-tupian',
|
59
59
|
type: 'element',
|
60
60
|
help: '当需要展示一组图片时,从一张图片点开相册,可在 Table 的单元格或描述列表中使用',
|
61
|
-
package: '@
|
61
|
+
package: '@cuvp1225/antd',
|
62
62
|
hasChildren: false,
|
63
63
|
props: [
|
64
64
|
...StylePrototypes,
|
@@ -4,7 +4,7 @@ export const Input = {
|
|
4
4
|
title: '输入框',
|
5
5
|
icon: 'icon-shurukuang',
|
6
6
|
type: 'element',
|
7
|
-
package: '@
|
7
|
+
package: '@cuvp1225/antd',
|
8
8
|
help: '通过鼠标或键盘输入内容,是最基础的表单域的包装',
|
9
9
|
hasChildren: false,
|
10
10
|
props: [
|
@@ -119,7 +119,7 @@ export const TextArea = {
|
|
119
119
|
title: '文本框',
|
120
120
|
icon: 'icon-wenbenyu',
|
121
121
|
type: 'element',
|
122
|
-
package: '@
|
122
|
+
package: '@cuvp1225/antd',
|
123
123
|
help: '用于多行文本输入',
|
124
124
|
hasChildren: false,
|
125
125
|
props: [
|
@@ -202,7 +202,7 @@ export const Search = {
|
|
202
202
|
title: '搜索框',
|
203
203
|
icon: 'icon-sousuokuang',
|
204
204
|
type: 'element',
|
205
|
-
package: '@
|
205
|
+
package: '@cuvp1225/antd',
|
206
206
|
help: '带有搜索按钮的输入框',
|
207
207
|
hasChildren: false,
|
208
208
|
props: [
|
@@ -233,7 +233,7 @@ export const Password = {
|
|
233
233
|
title: '密码输入',
|
234
234
|
icon: 'icon-password',
|
235
235
|
type: 'element',
|
236
|
-
package: '@
|
236
|
+
package: '@cuvp1225/antd',
|
237
237
|
help: '需要输入密码的控件',
|
238
238
|
hasChildren: false,
|
239
239
|
props: [
|
@@ -255,7 +255,7 @@ export const InputGroup = {
|
|
255
255
|
title: '输入框组合',
|
256
256
|
icon: 'icon-shurukuang',
|
257
257
|
type: 'element',
|
258
|
-
package: '@
|
258
|
+
package: '@cuvp1225/antd',
|
259
259
|
help: '输入框的组合展现',
|
260
260
|
hasChildren: true,
|
261
261
|
props: [
|
@@ -3,7 +3,7 @@ import { Pagination } from './pagination';
|
|
3
3
|
export const List = {
|
4
4
|
name: 'List',
|
5
5
|
title: '列表',
|
6
|
-
package: '@
|
6
|
+
package: '@cuvp1225/antd',
|
7
7
|
icon: 'icon-liebiao',
|
8
8
|
help: '最基础的列表展示,可承载文字、列表、图片、段落,常用于后台数据展示页面',
|
9
9
|
type: 'element',
|
@@ -89,7 +89,7 @@ export const List = {
|
|
89
89
|
export const ListItem = {
|
90
90
|
name: 'ListItem',
|
91
91
|
title: '列表Item',
|
92
|
-
package: '@
|
92
|
+
package: '@cuvp1225/antd',
|
93
93
|
icon: 'icon-shujuzhanshiitem',
|
94
94
|
type: 'element',
|
95
95
|
hasChildren: true,
|
@@ -113,7 +113,7 @@ export const ListItem = {
|
|
113
113
|
export const ListItemMeta = {
|
114
114
|
name: 'ListItemMeta',
|
115
115
|
title: '列表Item',
|
116
|
-
package: '@
|
116
|
+
package: '@cuvp1225/antd',
|
117
117
|
icon: '',
|
118
118
|
type: 'element',
|
119
119
|
relatedImports: ['Avatar'],
|
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
|
|
2
2
|
export const Mentions = {
|
3
3
|
name: 'Mentions',
|
4
4
|
title: '提及',
|
5
|
-
package: '@
|
5
|
+
package: '@cuvp1225/antd',
|
6
6
|
icon: 'icon-tiji',
|
7
7
|
type: 'element',
|
8
8
|
help: '提及组件,用于在输入中提及某人或某事,常用于发布、聊天或评论功能',
|
@@ -87,7 +87,7 @@ export const Mentions = {
|
|
87
87
|
export const MentionsOption = {
|
88
88
|
name: 'MentionsOption',
|
89
89
|
title: '提及',
|
90
|
-
package: '@
|
90
|
+
package: '@cuvp1225/antd',
|
91
91
|
icon: 'icon-tijioption',
|
92
92
|
type: 'element',
|
93
93
|
props: [
|
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
|
|
2
2
|
export const Menu = {
|
3
3
|
name: 'Menu',
|
4
4
|
title: '导航菜单',
|
5
|
-
package: '@
|
5
|
+
package: '@cuvp1225/antd',
|
6
6
|
icon: 'icon-daohangcaidan',
|
7
7
|
type: 'element',
|
8
8
|
help: '为页面和功能提供导航的菜单列表,一般分为顶部导航和侧边导航',
|
@@ -140,7 +140,7 @@ export const Menu = {
|
|
140
140
|
export const MenuItem = {
|
141
141
|
name: 'MenuItem',
|
142
142
|
title: '导航菜单',
|
143
|
-
package: '@
|
143
|
+
package: '@cuvp1225/antd',
|
144
144
|
icon: '',
|
145
145
|
type: 'element',
|
146
146
|
props: [
|
@@ -167,7 +167,7 @@ export const MenuItem = {
|
|
167
167
|
export const MenuSubMenu = {
|
168
168
|
name: 'MenuSubMenu',
|
169
169
|
title: '导航菜单',
|
170
|
-
package: '@
|
170
|
+
package: '@cuvp1225/antd',
|
171
171
|
icon: '',
|
172
172
|
type: 'element',
|
173
173
|
props: [
|
@@ -208,7 +208,7 @@ export const MenuSubMenu = {
|
|
208
208
|
export const MenuItemGroup = {
|
209
209
|
name: 'MenuItemGroup',
|
210
210
|
title: '导航菜单',
|
211
|
-
package: '@
|
211
|
+
package: '@cuvp1225/antd',
|
212
212
|
icon: '',
|
213
213
|
type: 'element',
|
214
214
|
props: [
|
@@ -220,7 +220,7 @@ export const MenuItemGroup = {
|
|
220
220
|
export const MenuDivider = {
|
221
221
|
name: 'MenuDivider',
|
222
222
|
title: '导航菜单',
|
223
|
-
package: '@
|
223
|
+
package: '@cuvp1225/antd',
|
224
224
|
icon: '',
|
225
225
|
type: 'element',
|
226
226
|
props: [
|
@@ -5,7 +5,7 @@ export const Modal = {
|
|
5
5
|
exportType: 'namedExport',
|
6
6
|
icon: 'icon-tanchuang',
|
7
7
|
type: 'container',
|
8
|
-
package: '@
|
8
|
+
package: '@cuvp1225/antd',
|
9
9
|
help: '需要用户处理事务,又不希望跳转页面以致打断工作流程时,可以使用 Modal 在当前页面正中打开一个浮层,承载相应的操作。',
|
10
10
|
hasChildren: true,
|
11
11
|
initChildren: '',
|
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
|
|
2
2
|
export const Pagination = {
|
3
3
|
name: 'Pagination',
|
4
4
|
title: '分页',
|
5
|
-
package: '@
|
5
|
+
package: '@cuvp1225/antd',
|
6
6
|
icon: 'icon-fenyeqi',
|
7
7
|
help: '采用分页的形式分隔长列表,每次只加载一个页面',
|
8
8
|
type: 'element',
|
@@ -54,6 +54,7 @@ export const Pagination = {
|
|
54
54
|
name: 'showTotal',
|
55
55
|
title: '总量和当前数量展示',
|
56
56
|
setter: 'expressionSetter',
|
57
|
+
autoCompleteOptions: ['(total) => `共 ${total} 条`'],
|
57
58
|
},
|
58
59
|
{ name: 'total', title: '数据总数', setter: 'numberSetter', initValue: 20 },
|
59
60
|
{ name: 'current', title: '当前页数', setter: 'numberSetter' },
|
@@ -4,7 +4,7 @@ export const Radio = {
|
|
4
4
|
title: '单选框',
|
5
5
|
icon: 'icon-danxuankuang',
|
6
6
|
type: 'element',
|
7
|
-
package: '@
|
7
|
+
package: '@cuvp1225/antd',
|
8
8
|
help: '单选框,用于在多个备选项中选中单个状态',
|
9
9
|
hasChildren: true,
|
10
10
|
initChildren: '单项1',
|
@@ -53,7 +53,7 @@ export const RadioGroup = {
|
|
53
53
|
title: '单选框组',
|
54
54
|
icon: 'icon-danxuankuang',
|
55
55
|
type: 'element',
|
56
|
-
package: '@
|
56
|
+
package: '@cuvp1225/antd',
|
57
57
|
hasChildren: true,
|
58
58
|
help: '单选框组,一组互斥的 Radio 配合使用',
|
59
59
|
props: [
|
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
|
|
2
2
|
export const SkeletonAvatar = {
|
3
3
|
name: 'SkeletonAvatar',
|
4
4
|
title: '骨架屏(头像)',
|
5
|
-
package: '@
|
5
|
+
package: '@cuvp1225/antd',
|
6
6
|
icon: 'icon-placeholder',
|
7
7
|
type: 'element',
|
8
8
|
hasChildren: true,
|
@@ -45,7 +45,7 @@ export const SkeletonAvatar = {
|
|
45
45
|
export const SkeletonButton = {
|
46
46
|
name: 'SkeletonButton',
|
47
47
|
title: '骨架屏(按钮)',
|
48
|
-
package: '@
|
48
|
+
package: '@cuvp1225/antd',
|
49
49
|
icon: 'icon-placeholder',
|
50
50
|
type: 'element',
|
51
51
|
hasChildren: true,
|
@@ -93,7 +93,7 @@ export const SkeletonButton = {
|
|
93
93
|
export const SkeletonInput = {
|
94
94
|
name: 'SkeletonInput',
|
95
95
|
title: '骨架屏(输入框)',
|
96
|
-
package: '@
|
96
|
+
package: '@cuvp1225/antd',
|
97
97
|
icon: 'icon-placeholder',
|
98
98
|
type: 'element',
|
99
99
|
hasChildren: true,
|
@@ -122,7 +122,7 @@ export const SkeletonInput = {
|
|
122
122
|
export const SkeletonImage = {
|
123
123
|
name: 'SkeletonImage',
|
124
124
|
title: '骨架屏(图片)',
|
125
|
-
package: '@
|
125
|
+
package: '@cuvp1225/antd',
|
126
126
|
icon: 'icon-placeholder',
|
127
127
|
type: 'element',
|
128
128
|
hasChildren: true,
|
@@ -138,7 +138,7 @@ export const SkeletonImage = {
|
|
138
138
|
export const SkeletonNode = {
|
139
139
|
name: 'SkeletonNode',
|
140
140
|
title: '骨架屏(结点)',
|
141
|
-
package: '@
|
141
|
+
package: '@cuvp1225/antd',
|
142
142
|
icon: 'icon-placeholder',
|
143
143
|
type: 'element',
|
144
144
|
hasChildren: true,
|
@@ -154,7 +154,7 @@ export const SkeletonNode = {
|
|
154
154
|
export const Skeleton = {
|
155
155
|
name: 'Skeleton',
|
156
156
|
title: '骨架屏',
|
157
|
-
package: '@
|
157
|
+
package: '@cuvp1225/antd',
|
158
158
|
icon: 'icon-placeholder',
|
159
159
|
help: '在需要等待加载内容的位置提供一个占位图形组合',
|
160
160
|
type: 'element',
|
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
|
|
2
2
|
export const Statistic = {
|
3
3
|
name: 'Statistic',
|
4
4
|
title: '统计数值',
|
5
|
-
package: '@
|
5
|
+
package: '@cuvp1225/antd',
|
6
6
|
icon: 'icon-tongjishuzhi',
|
7
7
|
help: '展示统计数值组件,当需要突出某个或某组数字或展示带描述的统计类数据时使用',
|
8
8
|
type: 'element',
|
@@ -47,7 +47,7 @@ export const Statistic = {
|
|
47
47
|
export const StatisticCountdown = {
|
48
48
|
name: 'StatisticCountdown',
|
49
49
|
title: '统计数值',
|
50
|
-
package: '@
|
50
|
+
package: '@cuvp1225/antd',
|
51
51
|
icon: '',
|
52
52
|
type: 'element',
|
53
53
|
props: [
|
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
|
|
2
2
|
export const Steps = {
|
3
3
|
name: 'Steps',
|
4
4
|
title: '步骤条',
|
5
|
-
package: '@
|
5
|
+
package: '@cuvp1225/antd',
|
6
6
|
icon: 'icon-buzhoutiao',
|
7
7
|
type: 'element',
|
8
8
|
help: '引导用户按照流程完成任务的导航条,当任务复杂或者存在先后关系时,将其分解成一系列步骤,从而简化任务。',
|
@@ -111,7 +111,7 @@ export const Steps = {
|
|
111
111
|
export const StepsItem = {
|
112
112
|
name: 'StepsItem',
|
113
113
|
title: '步骤条',
|
114
|
-
package: '@
|
114
|
+
package: '@cuvp1225/antd',
|
115
115
|
icon: '',
|
116
116
|
type: 'element',
|
117
117
|
props: [
|