@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.
Files changed (212) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +11 -11
  3. package/dist/designer.js +886 -14079
  4. package/dist/index.js +530 -13820
  5. package/dist/index.less +1 -1
  6. package/lib/cjs/components/box.d.ts +1 -1
  7. package/lib/cjs/components/box.js +1 -1
  8. package/lib/cjs/components/button.d.ts +2 -2
  9. package/lib/cjs/components/columns.d.ts +2 -2
  10. package/lib/cjs/components/columns.js +1 -1
  11. package/lib/cjs/components/form.d.ts +16 -0
  12. package/lib/cjs/components/form.js +17 -0
  13. package/lib/cjs/components/formily.d.ts +5 -5
  14. package/lib/cjs/components/formily.js +2 -2
  15. package/lib/cjs/components/grid.d.ts +3 -0
  16. package/lib/cjs/components/grid.js +28 -0
  17. package/lib/cjs/components/gridCombination.d.ts +7 -0
  18. package/lib/cjs/components/gridCombination.js +26 -0
  19. package/lib/cjs/components/index.d.ts +1 -15
  20. package/lib/cjs/components/index.js +21 -35
  21. package/lib/cjs/components/input-number.d.ts +3 -3
  22. package/lib/cjs/components/modal.js +35 -35
  23. package/lib/cjs/components/multiColumns.d.ts +4 -0
  24. package/lib/cjs/components/multiColumns.js +17 -0
  25. package/lib/cjs/components/page.d.ts +1 -1
  26. package/lib/cjs/components/page.js +9 -9
  27. package/lib/cjs/components/placeholder.d.ts +1 -1
  28. package/lib/cjs/components/placeholder.js +22 -24
  29. package/lib/cjs/components/section.d.ts +1 -1
  30. package/lib/cjs/components/section.js +1 -1
  31. package/lib/cjs/components/select.d.ts +2 -2
  32. package/lib/cjs/components/shadow-container.js +9 -9
  33. package/lib/cjs/components/typography.d.ts +2 -2
  34. package/lib/cjs/designer.js +4 -4
  35. package/lib/cjs/index.less +1 -1
  36. package/lib/cjs/prototypes/affix.js +1 -1
  37. package/lib/cjs/prototypes/alert.js +2 -2
  38. package/lib/cjs/prototypes/anchor.js +2 -2
  39. package/lib/cjs/prototypes/auto-complete.js +1 -1
  40. package/lib/cjs/prototypes/avatar.js +2 -2
  41. package/lib/cjs/prototypes/back-top.js +1 -1
  42. package/lib/cjs/prototypes/badge.js +2 -2
  43. package/lib/cjs/prototypes/box.js +1 -1
  44. package/lib/cjs/prototypes/breadcrumb.js +3 -3
  45. package/lib/cjs/prototypes/button.js +1 -1
  46. package/lib/cjs/prototypes/calendar.js +1 -1
  47. package/lib/cjs/prototypes/card.js +3 -3
  48. package/lib/cjs/prototypes/carousel.js +1 -1
  49. package/lib/cjs/prototypes/cascader.js +1 -1
  50. package/lib/cjs/prototypes/checkbox.js +2 -2
  51. package/lib/cjs/prototypes/collapse.js +2 -2
  52. package/lib/cjs/prototypes/columns.js +2 -2
  53. package/lib/cjs/prototypes/comment.js +1 -1
  54. package/lib/cjs/prototypes/date-picker.js +33 -33
  55. package/lib/cjs/prototypes/descriptions.js +2 -2
  56. package/lib/cjs/prototypes/divider.js +1 -1
  57. package/lib/cjs/prototypes/drawer.js +1 -1
  58. package/lib/cjs/prototypes/dropdown.js +2 -2
  59. package/lib/cjs/prototypes/each.js +1 -1
  60. package/lib/cjs/prototypes/empty.js +1 -1
  61. package/lib/cjs/prototypes/form.js +19 -5
  62. package/lib/cjs/prototypes/formily.js +5 -5
  63. package/lib/cjs/prototypes/grid.d.ts +3 -0
  64. package/lib/cjs/prototypes/grid.js +56 -0
  65. package/lib/cjs/prototypes/iframe.js +1 -1
  66. package/lib/cjs/prototypes/image.js +2 -2
  67. package/lib/cjs/prototypes/index.d.ts +1 -0
  68. package/lib/cjs/prototypes/index.js +1 -0
  69. package/lib/cjs/prototypes/input-number.js +1 -1
  70. package/lib/cjs/prototypes/input.js +5 -5
  71. package/lib/cjs/prototypes/interval.js +1 -1
  72. package/lib/cjs/prototypes/link.js +1 -1
  73. package/lib/cjs/prototypes/list.js +3 -3
  74. package/lib/cjs/prototypes/mentions.js +2 -2
  75. package/lib/cjs/prototypes/menu.js +5 -5
  76. package/lib/cjs/prototypes/modal.js +1 -1
  77. package/lib/cjs/prototypes/page-header.js +1 -1
  78. package/lib/cjs/prototypes/page.js +1 -1
  79. package/lib/cjs/prototypes/pagination.js +2 -1
  80. package/lib/cjs/prototypes/popconfirm.js +1 -1
  81. package/lib/cjs/prototypes/popover.js +1 -1
  82. package/lib/cjs/prototypes/progress.js +1 -1
  83. package/lib/cjs/prototypes/radio.js +2 -2
  84. package/lib/cjs/prototypes/rate.js +1 -1
  85. package/lib/cjs/prototypes/result.js +1 -1
  86. package/lib/cjs/prototypes/section.js +1 -1
  87. package/lib/cjs/prototypes/select.js +1 -1
  88. package/lib/cjs/prototypes/skeleton.js +6 -6
  89. package/lib/cjs/prototypes/slider.js +1 -1
  90. package/lib/cjs/prototypes/space.js +1 -1
  91. package/lib/cjs/prototypes/spin.js +1 -1
  92. package/lib/cjs/prototypes/statistic.js +2 -2
  93. package/lib/cjs/prototypes/steps.js +2 -2
  94. package/lib/cjs/prototypes/switch.js +1 -1
  95. package/lib/cjs/prototypes/table.js +38 -27
  96. package/lib/cjs/prototypes/tabs.js +2 -2
  97. package/lib/cjs/prototypes/tag.js +3 -2
  98. package/lib/cjs/prototypes/text.js +1 -1
  99. package/lib/cjs/prototypes/time-picker.js +2 -2
  100. package/lib/cjs/prototypes/timeline.js +2 -2
  101. package/lib/cjs/prototypes/toolbar.js +1 -1
  102. package/lib/cjs/prototypes/tooltip.js +1 -1
  103. package/lib/cjs/prototypes/transfer.js +2 -2
  104. package/lib/cjs/prototypes/tree-select.js +1 -1
  105. package/lib/cjs/prototypes/tree.js +3 -3
  106. package/lib/cjs/prototypes/typography.js +3 -3
  107. package/lib/cjs/prototypes/upload.js +2 -2
  108. package/lib/cjs/prototypes/when.js +1 -1
  109. package/lib/esm/components/box.d.ts +1 -1
  110. package/lib/esm/components/box.js +1 -1
  111. package/lib/esm/components/button.d.ts +2 -2
  112. package/lib/esm/components/columns.d.ts +2 -2
  113. package/lib/esm/components/columns.js +1 -1
  114. package/lib/esm/components/form.d.ts +16 -0
  115. package/lib/esm/components/form.js +14 -0
  116. package/lib/esm/components/formily.d.ts +5 -5
  117. package/lib/esm/components/formily.js +2 -2
  118. package/lib/esm/components/grid.d.ts +3 -0
  119. package/lib/esm/components/grid.js +24 -0
  120. package/lib/esm/components/gridCombination.d.ts +7 -0
  121. package/lib/esm/components/gridCombination.js +22 -0
  122. package/lib/esm/components/index.d.ts +1 -15
  123. package/lib/esm/components/index.js +19 -15
  124. package/lib/esm/components/input-number.d.ts +3 -3
  125. package/lib/esm/components/modal.js +35 -35
  126. package/lib/esm/components/multiColumns.d.ts +4 -0
  127. package/lib/esm/components/multiColumns.js +13 -0
  128. package/lib/esm/components/page.d.ts +1 -1
  129. package/lib/esm/components/page.js +9 -9
  130. package/lib/esm/components/placeholder.d.ts +1 -1
  131. package/lib/esm/components/placeholder.js +22 -24
  132. package/lib/esm/components/section.d.ts +1 -1
  133. package/lib/esm/components/section.js +1 -1
  134. package/lib/esm/components/select.d.ts +2 -2
  135. package/lib/esm/components/shadow-container.js +9 -9
  136. package/lib/esm/components/typography.d.ts +2 -2
  137. package/lib/esm/designer.js +4 -4
  138. package/lib/esm/index.less +1 -1
  139. package/lib/esm/prototypes/affix.js +1 -1
  140. package/lib/esm/prototypes/alert.js +2 -2
  141. package/lib/esm/prototypes/anchor.js +2 -2
  142. package/lib/esm/prototypes/auto-complete.js +1 -1
  143. package/lib/esm/prototypes/avatar.js +2 -2
  144. package/lib/esm/prototypes/back-top.js +1 -1
  145. package/lib/esm/prototypes/badge.js +2 -2
  146. package/lib/esm/prototypes/box.js +1 -1
  147. package/lib/esm/prototypes/breadcrumb.js +3 -3
  148. package/lib/esm/prototypes/button.js +1 -1
  149. package/lib/esm/prototypes/calendar.js +1 -1
  150. package/lib/esm/prototypes/card.js +3 -3
  151. package/lib/esm/prototypes/carousel.js +1 -1
  152. package/lib/esm/prototypes/cascader.js +1 -1
  153. package/lib/esm/prototypes/checkbox.js +2 -2
  154. package/lib/esm/prototypes/collapse.js +2 -2
  155. package/lib/esm/prototypes/columns.js +2 -2
  156. package/lib/esm/prototypes/comment.js +1 -1
  157. package/lib/esm/prototypes/date-picker.js +33 -33
  158. package/lib/esm/prototypes/descriptions.js +2 -2
  159. package/lib/esm/prototypes/divider.js +1 -1
  160. package/lib/esm/prototypes/drawer.js +1 -1
  161. package/lib/esm/prototypes/dropdown.js +2 -2
  162. package/lib/esm/prototypes/each.js +1 -1
  163. package/lib/esm/prototypes/empty.js +1 -1
  164. package/lib/esm/prototypes/form.js +19 -5
  165. package/lib/esm/prototypes/formily.js +5 -5
  166. package/lib/esm/prototypes/grid.d.ts +3 -0
  167. package/lib/esm/prototypes/grid.js +53 -0
  168. package/lib/esm/prototypes/iframe.js +1 -1
  169. package/lib/esm/prototypes/image.js +2 -2
  170. package/lib/esm/prototypes/index.d.ts +1 -0
  171. package/lib/esm/prototypes/index.js +1 -0
  172. package/lib/esm/prototypes/input-number.js +1 -1
  173. package/lib/esm/prototypes/input.js +5 -5
  174. package/lib/esm/prototypes/interval.js +1 -1
  175. package/lib/esm/prototypes/link.js +1 -1
  176. package/lib/esm/prototypes/list.js +3 -3
  177. package/lib/esm/prototypes/mentions.js +2 -2
  178. package/lib/esm/prototypes/menu.js +5 -5
  179. package/lib/esm/prototypes/modal.js +1 -1
  180. package/lib/esm/prototypes/page-header.js +1 -1
  181. package/lib/esm/prototypes/page.js +1 -1
  182. package/lib/esm/prototypes/pagination.js +2 -1
  183. package/lib/esm/prototypes/popconfirm.js +1 -1
  184. package/lib/esm/prototypes/popover.js +1 -1
  185. package/lib/esm/prototypes/progress.js +1 -1
  186. package/lib/esm/prototypes/radio.js +2 -2
  187. package/lib/esm/prototypes/rate.js +1 -1
  188. package/lib/esm/prototypes/result.js +1 -1
  189. package/lib/esm/prototypes/section.js +1 -1
  190. package/lib/esm/prototypes/select.js +1 -1
  191. package/lib/esm/prototypes/skeleton.js +6 -6
  192. package/lib/esm/prototypes/slider.js +1 -1
  193. package/lib/esm/prototypes/space.js +1 -1
  194. package/lib/esm/prototypes/spin.js +1 -1
  195. package/lib/esm/prototypes/statistic.js +2 -2
  196. package/lib/esm/prototypes/steps.js +2 -2
  197. package/lib/esm/prototypes/switch.js +1 -1
  198. package/lib/esm/prototypes/table.js +38 -27
  199. package/lib/esm/prototypes/tabs.js +2 -2
  200. package/lib/esm/prototypes/tag.js +3 -2
  201. package/lib/esm/prototypes/text.js +1 -1
  202. package/lib/esm/prototypes/time-picker.js +2 -2
  203. package/lib/esm/prototypes/timeline.js +2 -2
  204. package/lib/esm/prototypes/toolbar.js +1 -1
  205. package/lib/esm/prototypes/tooltip.js +1 -1
  206. package/lib/esm/prototypes/transfer.js +2 -2
  207. package/lib/esm/prototypes/tree-select.js +1 -1
  208. package/lib/esm/prototypes/tree.js +3 -3
  209. package/lib/esm/prototypes/typography.js +3 -3
  210. package/lib/esm/prototypes/upload.js +2 -2
  211. package/lib/esm/prototypes/when.js +1 -1
  212. 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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
202
+ package: '@cuvp1225/antd',
203
203
  help: '重置表单。',
204
204
  hasChildren: false,
205
205
  props: [
@@ -0,0 +1,3 @@
1
+ import { ComponentPrototypeType } from '@music163/tango-helpers';
2
+ export declare const Col: ComponentPrototypeType;
3
+ export declare const Row: ComponentPrototypeType;
@@ -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
+ };
@@ -5,7 +5,7 @@ export const IFrame = {
5
5
  exportType: 'namedExport',
6
6
  icon: 'icon-iframe',
7
7
  type: 'element',
8
- package: '@music163/antd',
8
+ package: '@cuvp1225/antd',
9
9
  hasChildren: false,
10
10
  props: [
11
11
  ...StylePrototypes,
@@ -6,7 +6,7 @@ export const Image = {
6
6
  icon: 'icon-tupian',
7
7
  type: 'element',
8
8
  help: '展示一种图片,并且可以进入快捷预览态。',
9
- package: '@music163/antd',
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: '@music163/antd',
61
+ package: '@cuvp1225/antd',
62
62
  hasChildren: false,
63
63
  props: [
64
64
  ...StylePrototypes,
@@ -65,3 +65,4 @@ export * from './tree-select';
65
65
  export * from './tree';
66
66
  export * from './typography';
67
67
  export * from './upload';
68
+ export * from './grid';
@@ -65,3 +65,4 @@ export * from './tree-select';
65
65
  export * from './tree';
66
66
  export * from './typography';
67
67
  export * from './upload';
68
+ export * from './grid';
@@ -4,7 +4,7 @@ export const InputNumber = {
4
4
  title: '数字输入框',
5
5
  icon: 'icon-jishuqi',
6
6
  type: 'element',
7
- package: '@music163/antd',
7
+ package: '@cuvp1225/antd',
8
8
  help: '通过鼠标或键盘,输入范围内的数值',
9
9
  hasChildren: false,
10
10
  props: [
@@ -4,7 +4,7 @@ export const Input = {
4
4
  title: '输入框',
5
5
  icon: 'icon-shurukuang',
6
6
  type: 'element',
7
- package: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
258
+ package: '@cuvp1225/antd',
259
259
  help: '输入框的组合展现',
260
260
  hasChildren: true,
261
261
  props: [
@@ -5,7 +5,7 @@ export const Interval = {
5
5
  exportType: 'namedExport',
6
6
  icon: 'icon-time-range',
7
7
  type: 'element',
8
- package: '@music163/antd',
8
+ package: '@cuvp1225/antd',
9
9
  help: '用于周期性的执行某一个动作。',
10
10
  hasChildren: false,
11
11
  props: [
@@ -5,7 +5,7 @@ export const Link = {
5
5
  exportType: 'namedExport',
6
6
  icon: 'icon-link-button',
7
7
  type: 'element',
8
- package: '@music163/antd',
8
+ package: '@cuvp1225/antd',
9
9
  help: '创建一个链接文本,支持跳转到指定的锚点地址。',
10
10
  hasChildren: true,
11
11
  props: [
@@ -3,7 +3,7 @@ import { Pagination } from './pagination';
3
3
  export const List = {
4
4
  name: 'List',
5
5
  title: '列表',
6
- package: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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 PageHeader = {
3
3
  name: 'PageHeader',
4
4
  title: '页头',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-yetou',
7
7
  type: 'element',
8
8
  props: [
@@ -3,7 +3,7 @@ export const Page = {
3
3
  title: '页面容器',
4
4
  icon: 'icon-page',
5
5
  type: 'page',
6
- package: '@music163/antd',
6
+ package: '@cuvp1225/antd',
7
7
  hasChildren: true,
8
8
  props: [
9
9
  {
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Pagination = {
3
3
  name: 'Pagination',
4
4
  title: '分页',
5
- package: '@music163/antd',
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' },
@@ -3,7 +3,7 @@ import { Button as ButtonPrototype } from './button';
3
3
  export const Popconfirm = {
4
4
  name: 'Popconfirm',
5
5
  title: '气泡确认框',
6
- package: '@music163/antd',
6
+ package: '@cuvp1225/antd',
7
7
  icon: 'icon-qipaoqueren',
8
8
  help: '点击元素,弹出气泡式的确认框',
9
9
  type: 'element',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Popover = {
3
3
  name: 'Popover',
4
4
  title: '气泡卡片',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-qipao',
7
7
  help: '点击/鼠标移入元素,弹出气泡式的卡片浮层',
8
8
  type: 'element',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Progress = {
3
3
  name: 'Progress',
4
4
  title: '进度条',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-jindutiao',
7
7
  help: '展示操作的当前进度控件,在操作需要较长时间才能完成时,为用户显示该操作的当前进度和状态',
8
8
  type: 'element',
@@ -4,7 +4,7 @@ export const Radio = {
4
4
  title: '单选框',
5
5
  icon: 'icon-danxuankuang',
6
6
  type: 'element',
7
- package: '@music163/antd',
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: '@music163/antd',
56
+ package: '@cuvp1225/antd',
57
57
  hasChildren: true,
58
58
  help: '单选框组,一组互斥的 Radio 配合使用',
59
59
  props: [
@@ -2,7 +2,7 @@ import { InstancePrototypes, StylePrototypes } from './common';
2
2
  export const Rate = {
3
3
  name: 'Rate',
4
4
  title: '评分',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  help: '评分组件,用于对评价进行展示或对事物进行快速的评级操作',
7
7
  icon: 'icon-pingfen',
8
8
  type: 'element',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Result = {
3
3
  name: 'Result',
4
4
  title: '结果',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-jieguo',
7
7
  help: '用于反馈一系列操作任务的处理结果',
8
8
  type: 'element',
@@ -4,7 +4,7 @@ export const Section = {
4
4
  title: '布局区块',
5
5
  icon: 'icon-mianban',
6
6
  type: 'element',
7
- package: '@music163/antd',
7
+ package: '@cuvp1225/antd',
8
8
  help: '区域容器,可以用来将页面划分成多个区域,每个区域放置具体的内容模块。',
9
9
  hasChildren: true,
10
10
  initChildren: '',
@@ -74,7 +74,7 @@ export const Select = {
74
74
  title: '下拉选择',
75
75
  icon: 'icon-xuanzeqi',
76
76
  type: 'element',
77
- package: '@music163/antd',
77
+ package: '@cuvp1225/antd',
78
78
  help: '下拉选择器,弹出一个下拉菜单给用户选择操作',
79
79
  hasChildren: true,
80
80
  props: [
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const SkeletonAvatar = {
3
3
  name: 'SkeletonAvatar',
4
4
  title: '骨架屏(头像)',
5
- package: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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 Slider = {
3
3
  name: 'Slider',
4
4
  title: '滑动输入条',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-huadongtiao',
7
7
  help: '滑动型输入器,展示当前值和可选范围',
8
8
  type: 'element',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Space = {
3
3
  name: 'Space',
4
4
  title: '间距',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-jianju',
7
7
  type: 'element',
8
8
  help: '设置组件之间的间距',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Spin = {
3
3
  name: 'Spin',
4
4
  title: '加载中',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-jiazaizhong',
7
7
  help: '用于页面和区块的加载中状态',
8
8
  type: 'element',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Statistic = {
3
3
  name: 'Statistic',
4
4
  title: '统计数值',
5
- package: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
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: '@music163/antd',
114
+ package: '@cuvp1225/antd',
115
115
  icon: '',
116
116
  type: 'element',
117
117
  props: [
@@ -4,7 +4,7 @@ export const Switch = {
4
4
  title: '开关',
5
5
  icon: 'icon-kaiguan',
6
6
  type: 'element',
7
- package: '@music163/antd',
7
+ package: '@cuvp1225/antd',
8
8
  help: '开关选择器,需要表示开关状态/两种状态之间的切换控件',
9
9
  hasChildren: false,
10
10
  props: [