@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
@@ -5,7 +5,8 @@ const renderChildrenOptions = [
5
5
  {
6
6
  label: '自定义区域',
7
7
  value: 'Box',
8
- render: '{(record, index, indent, expanded) => <Box></Box>}',
8
+ //render: '{(record, index, indent, expanded) => <Box></Box>}',
9
+ render: '(record, index, indent, expanded) => <Box></Box>',
9
10
  relatedImports: ['Box'],
10
11
  },
11
12
  ];
@@ -15,7 +16,7 @@ export const Table = {
15
16
  exportType: 'namedExport',
16
17
  icon: 'icon-biaoge',
17
18
  type: 'element',
18
- package: '@music163/antd',
19
+ package: '@cuvp1225/antd',
19
20
  help: '最基本的表格组件,没有过多复杂的功能。',
20
21
  hasChildren: false,
21
22
  props: [
@@ -42,12 +43,6 @@ export const Table = {
42
43
  },
43
44
  ],
44
45
  },
45
- {
46
- name: 'rowKey',
47
- title: '数据主键',
48
- setter: 'textSetter',
49
- group: 'basic',
50
- },
51
46
  {
52
47
  name: 'dataSource',
53
48
  title: '数据源',
@@ -55,6 +50,18 @@ export const Table = {
55
50
  setter: 'expressionSetter',
56
51
  group: 'basic',
57
52
  },
53
+ {
54
+ name: 'loading',
55
+ title: '表格加载中',
56
+ setter: 'boolSetter',
57
+ group: 'basic',
58
+ },
59
+ {
60
+ name: 'rowKey',
61
+ title: '数据主键',
62
+ setter: 'textSetter',
63
+ group: 'basic',
64
+ },
58
65
  {
59
66
  name: 'rowSelection',
60
67
  title: '是否开启多选',
@@ -161,7 +168,7 @@ export const Table = {
161
168
  },
162
169
  {
163
170
  name: 'expandable',
164
- title: '配置展开属性',
171
+ title: '行展开',
165
172
  // tip: '{expandedRowRender:function(record, index, indent, expanded): ReactNode,其它配置项},详细见:',
166
173
  // setter: 'tableExpandableSetter',
167
174
  props: [
@@ -250,7 +257,7 @@ export const Table = {
250
257
  },
251
258
  {
252
259
  name: 'scroll',
253
- title: '表格滚动设置',
260
+ title: '滚动',
254
261
  tip: '可以指定滚动区域的宽、高,格式:{{x:宽,y:高,scrollToFirstRowOnChange:boolean}},详细参见:',
255
262
  props: [
256
263
  {
@@ -279,13 +286,6 @@ export const Table = {
279
286
  setter: 'expressionSetter',
280
287
  group: 'basic',
281
288
  },
282
- {
283
- name: 'summary',
284
- title: '总结栏',
285
- tip: '格式:(currentData) => ReactNode',
286
- setter: 'expressionSetter',
287
- group: 'basic',
288
- },
289
289
  {
290
290
  name: 'footer',
291
291
  title: '表格尾部',
@@ -316,12 +316,6 @@ export const Table = {
316
316
  defaultValue: true,
317
317
  group: 'basic',
318
318
  },
319
- {
320
- name: 'loading',
321
- title: '表格加载中',
322
- setter: 'boolSetter',
323
- group: 'basic',
324
- },
325
319
  {
326
320
  name: 'sticky',
327
321
  title: '粘性头部和滚动条',
@@ -335,6 +329,23 @@ export const Table = {
335
329
  setter: 'expressionSetter',
336
330
  group: 'event',
337
331
  },
332
+ {
333
+ name: 'summary',
334
+ title: '总结栏',
335
+ tip: '格式:(currentData) => ReactNode',
336
+ setter: 'expressionSetter',
337
+ group: 'event',
338
+ autoCompleteOptions: [`(pageData) => {
339
+ console.log("pageData", pageData);
340
+ let sum = 100;
341
+ return (
342
+ <Table.Summary.Row>
343
+ <Table.Summary.Cell index={0}>合计:</Table.Summary.Cell>
344
+ <Table.Summary.Cell index={1}>{sum}</Table.Summary.Cell>
345
+ </Table.Summary.Row>
346
+ );
347
+ }`],
348
+ },
338
349
  {
339
350
  name: 'onHeaderRow',
340
351
  title: '设置头部行属性',
@@ -369,7 +380,7 @@ export const TableColumn = {
369
380
  exportType: 'namedExport',
370
381
  icon: 'icon-biaoge',
371
382
  type: 'element',
372
- package: '@music163/antd',
383
+ package: '@cuvp1225/antd',
373
384
  hasChildren: false,
374
385
  props: [
375
386
  {
@@ -513,9 +524,9 @@ export const TableColumn = {
513
524
  setter: 'expressionSetter',
514
525
  group: 'advanced',
515
526
  autoCompleteOptions: [
516
- `(record1,record2) => {
517
- //示例:按照id降序排列
518
- //return record1.id-record2.id
527
+ `(record1,record2) => {
528
+ //示例:按照id降序排列
529
+ //return record1.id-record2.id
519
530
  }`,
520
531
  ],
521
532
  },
@@ -5,7 +5,7 @@ export const Tabs = {
5
5
  exportType: 'namedExport',
6
6
  icon: 'icon-xuanxiangka',
7
7
  type: 'container',
8
- package: '@music163/antd',
8
+ package: '@cuvp1225/antd',
9
9
  help: '提供平级的区域将大块内容进行收纳和展现,保持界面整洁',
10
10
  hasChildren: true,
11
11
  initChildren: '<TabPane key="1" tab="选项卡1"></TabPane><TabPane key="2" tab="选项卡2"></TabPane>',
@@ -79,7 +79,7 @@ export const TabPane = {
79
79
  exportType: 'namedExport',
80
80
  icon: 'icon-xuanxiangka',
81
81
  type: 'container',
82
- package: '@music163/antd',
82
+ package: '@cuvp1225/antd',
83
83
  hasChildren: true,
84
84
  props: [
85
85
  ...StylePrototypes,
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Tag = {
3
3
  name: 'Tag',
4
4
  title: '标签',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-biaoqian',
7
7
  type: 'element',
8
8
  help: '进行标记和分类的小标签,用于标记事物的属性和维度或分类',
@@ -40,6 +40,7 @@ export const Tag = {
40
40
  title: '是否显示标签',
41
41
  setter: 'boolSetter',
42
42
  defaultValue: true,
43
+ autoCompleteOptions: ['() => text == "1"'],
43
44
  },
44
45
  {
45
46
  name: 'onClose',
@@ -53,7 +54,7 @@ export const Tag = {
53
54
  export const CheckableTag = {
54
55
  name: 'CheckableTag',
55
56
  title: '可选择标签',
56
- package: '@music163/antd',
57
+ package: '@cuvp1225/antd',
57
58
  icon: 'icon-kexuanzebiaoqian',
58
59
  help: '可点击选中的 Tag 控件',
59
60
  type: 'element',
@@ -5,7 +5,7 @@ export const Text = {
5
5
  exportType: 'namedExport',
6
6
  icon: 'icon-wenzi',
7
7
  type: 'element',
8
- package: '@music163/antd',
8
+ package: '@cuvp1225/antd',
9
9
  help: '原子布局组件,创建一个行内的文本内容。',
10
10
  hasChildren: false,
11
11
  initChildren: '文本',
@@ -5,7 +5,7 @@ export const TimePicker = {
5
5
  title: '时间选择框',
6
6
  icon: 'icon-shijianxuanze',
7
7
  type: 'element',
8
- package: '@music163/antd',
8
+ package: '@cuvp1225/antd',
9
9
  hasChildren: false,
10
10
  props: [
11
11
  ...StylePrototypes,
@@ -186,7 +186,7 @@ export const TimeRangePicker = {
186
186
  title: '时间选择框 Range',
187
187
  icon: 'icon-time-range',
188
188
  type: 'element',
189
- package: '@music163/antd',
189
+ package: '@cuvp1225/antd',
190
190
  hasChildren: false,
191
191
  props: [
192
192
  ...StylePrototypes,
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Timeline = {
3
3
  name: 'Timeline',
4
4
  title: '时间轴',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-shijianzhou',
7
7
  type: 'element',
8
8
  help: '垂直展示的时间流信息,用于一系列信息需按时间排列时',
@@ -47,7 +47,7 @@ export const Timeline = {
47
47
  export const TimelineItem = {
48
48
  name: 'TimelineItem',
49
49
  title: '时间轴',
50
- package: '@music163/antd',
50
+ package: '@cuvp1225/antd',
51
51
  icon: 'icon-shijianzhouitem',
52
52
  type: 'element',
53
53
  hasChildren: true,
@@ -4,7 +4,7 @@ export const Toolbar = {
4
4
  title: '工具栏',
5
5
  icon: 'icon-toolbar',
6
6
  type: 'element',
7
- package: '@music163/antd',
7
+ package: '@cuvp1225/antd',
8
8
  hasChildren: true,
9
9
  props: [
10
10
  ...StylePrototypes,
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Tooltip = {
3
3
  name: 'Tooltip',
4
4
  title: '文字提示',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-wenzitishi',
7
7
  help: '简单的文字提示气泡框,气泡浮层不承载复杂文本和操作',
8
8
  type: 'element',
@@ -10,7 +10,7 @@ for (let i = 0; i < 5; i++) {
10
10
  export const Transfer = {
11
11
  name: 'Transfer',
12
12
  title: '穿梭框',
13
- package: '@music163/antd',
13
+ package: '@cuvp1225/antd',
14
14
  icon: 'icon-chuansuokuang1',
15
15
  type: 'element',
16
16
  help: '双栏穿梭选择框,需要在多个可选项中进行多选时使用的控件',
@@ -139,7 +139,7 @@ export const Transfer = {
139
139
  // export const Render: ComponentPrototypeType = {
140
140
  // name: 'Render',
141
141
  // title: '穿梭框',
142
- // package: '@music163/antd',
142
+ // package: '@cuvp1225/antd',
143
143
  // icon: '',
144
144
  // type: 'element',
145
145
  // // props: [
@@ -4,7 +4,7 @@ export const TreeSelect = {
4
4
  title: '树选择',
5
5
  icon: 'icon-shuxingjiegou',
6
6
  type: 'element',
7
- package: '@music163/antd',
7
+ package: '@cuvp1225/antd',
8
8
  help: '树型选择控件,类似 Select 的选择控件,可选择的数据结构是一个树形结构时使用',
9
9
  hasChildren: true,
10
10
  childrenName: 'TreeNode',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Tree = {
3
3
  name: 'Tree',
4
4
  title: '树形控件',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-shuxingjiegou',
7
7
  help: '多层次的结构列表,如需要展示文件夹、组织架构、生物分类、国家地区数据等等',
8
8
  type: 'element',
@@ -261,7 +261,7 @@ export const Tree = {
261
261
  export const TreeNode = {
262
262
  name: 'TreeNode',
263
263
  title: '树形控件节点',
264
- package: '@music163/antd',
264
+ package: '@cuvp1225/antd',
265
265
  icon: 'icon-shuxingjiegou',
266
266
  type: 'element',
267
267
  props: [
@@ -306,7 +306,7 @@ export const TreeNode = {
306
306
  export const DirectoryTree = {
307
307
  name: 'DirectoryTree',
308
308
  title: '树形控件',
309
- package: '@music163/antd',
309
+ package: '@cuvp1225/antd',
310
310
  icon: '',
311
311
  type: 'element',
312
312
  props: [
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Typography = {
3
3
  name: 'Typography',
4
4
  title: '排版容器',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-wenzi',
7
7
  type: 'element',
8
8
  hasChildren: true,
@@ -114,7 +114,7 @@ const commonTypographyProps = [
114
114
  export const Title = {
115
115
  name: 'Title',
116
116
  title: '标题',
117
- package: '@music163/antd',
117
+ package: '@cuvp1225/antd',
118
118
  icon: 'icon-header',
119
119
  help: '创建一个标题文本,可以展示不同级别的标题。',
120
120
  type: 'element',
@@ -144,7 +144,7 @@ export const Title = {
144
144
  export const Paragraph = {
145
145
  name: 'Paragraph',
146
146
  title: '段落',
147
- package: '@music163/antd',
147
+ package: '@cuvp1225/antd',
148
148
  icon: 'icon-paragraph',
149
149
  help: '创建一个文本段落,提供默认的布局和样式设置。',
150
150
  type: 'element',
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
2
2
  export const Upload = {
3
3
  name: 'Upload',
4
4
  title: '上传',
5
- package: '@music163/antd',
5
+ package: '@cuvp1225/antd',
6
6
  icon: 'icon-shangchuan',
7
7
  type: 'element',
8
8
  help: '基础的文件选择上传和拖拽上传控件',
@@ -182,7 +182,7 @@ export const Upload = {
182
182
  export const UploadDragger = {
183
183
  name: 'UploadDragger',
184
184
  title: '拖拽上传',
185
- package: '@music163/antd',
185
+ package: '@cuvp1225/antd',
186
186
  icon: '',
187
187
  type: 'element',
188
188
  props: [
@@ -4,7 +4,7 @@ export const When = {
4
4
  exportType: 'namedExport',
5
5
  icon: 'icon-shitu',
6
6
  type: 'container',
7
- package: '@music163/antd',
7
+ package: '@cuvp1225/antd',
8
8
  help: '创建一个条件执行容器,当条件为真时,渲染子节点。',
9
9
  hasChildren: true,
10
10
  initChildren: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuvp1225/antd",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "antd components for tango app",
5
5
  "author": "wwsun <ww.sww@outlook.com>",
6
6
  "homepage": "https://github.com/netease/tango-components#readme",
@@ -14,6 +14,9 @@
14
14
  "module": "lib/esm/index.js",
15
15
  "main": "lib/cjs/index.js",
16
16
  "types": "lib/esm/index.d.ts",
17
+ "sandpackEntries": [
18
+ "dist/designer.js"
19
+ ],
17
20
  "files": [
18
21
  "dist",
19
22
  "lib"
@@ -43,13 +46,13 @@
43
46
  "registry": "https://registry.npmjs.org/"
44
47
  },
45
48
  "dependencies": {
46
- "@cuvp1225/foundation": "^0.2.3",
47
- "@music163/formily": "^0.2.4",
49
+ "@cuvp1225/formily": "^0.2.6",
50
+ "@cuvp1225/foundation": "^0.3.2",
48
51
  "@music163/tango-boot": "^0.3.3",
49
52
  "@music163/tango-helpers": "^1.2.4",
50
53
  "antd": "4",
51
54
  "classnames": "^2.3.2",
52
55
  "coral-system": "^1.0.6"
53
56
  },
54
- "gitHead": "3ad958237a4a81a2410a9b08abef73a411cc5756"
57
+ "gitHead": "fcef9c13191b06d0b3492175ce28c17784b24b59"
55
58
  }