@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
@@ -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: '@
|
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: '@
|
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: '@
|
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: '@
|
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: '@
|
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: '@
|
57
|
+
package: '@cuvp1225/antd',
|
57
58
|
icon: 'icon-kexuanzebiaoqian',
|
58
59
|
help: '可点击选中的 Tag 控件',
|
59
60
|
type: 'element',
|
@@ -5,7 +5,7 @@ export const TimePicker = {
|
|
5
5
|
title: '时间选择框',
|
6
6
|
icon: 'icon-shijianxuanze',
|
7
7
|
type: 'element',
|
8
|
-
package: '@
|
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: '@
|
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: '@
|
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: '@
|
50
|
+
package: '@cuvp1225/antd',
|
51
51
|
icon: 'icon-shijianzhouitem',
|
52
52
|
type: 'element',
|
53
53
|
hasChildren: true,
|
@@ -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: '@
|
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: '@
|
142
|
+
// package: '@cuvp1225/antd',
|
143
143
|
// icon: '',
|
144
144
|
// type: 'element',
|
145
145
|
// // props: [
|
@@ -2,7 +2,7 @@ import { StylePrototypes } from './common';
|
|
2
2
|
export const Tree = {
|
3
3
|
name: 'Tree',
|
4
4
|
title: '树形控件',
|
5
|
-
package: '@
|
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: '@
|
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: '@
|
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: '@
|
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: '@
|
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: '@
|
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: '@
|
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: '@
|
185
|
+
package: '@cuvp1225/antd',
|
186
186
|
icon: '',
|
187
187
|
type: 'element',
|
188
188
|
props: [
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cuvp1225/antd",
|
3
|
-
"version": "0.3.
|
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/
|
47
|
-
"@
|
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": "
|
57
|
+
"gitHead": "fcef9c13191b06d0b3492175ce28c17784b24b59"
|
55
58
|
}
|