@dckj-npm/dc-material 0.1.7 → 0.1.9
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/README.md +17 -17
- package/lowcode/d-c-slider/meta.ts +331 -331
- package/lowcode/grid-nav/meta.ts +160 -0
- package/lowcode/menu-list/meta.ts +147 -0
- package/lowcode/navigation/meta.ts +152 -151
- package/lowcode/position/meta.ts +211 -0
- package/lowcode/search-bar/meta.ts +54 -0
- package/lowcode/tag-c/meta.ts +75 -0
- package/lowcode/teletext-list/meta.ts +44 -2
- package/lowcode/title1/meta.ts +1 -1
- package/lowcode/title2/meta.ts +1 -1
- package/package.json +110 -110
- package/build/docs/colorful-button.html +0 -48
- package/build/docs/colorful-input.html +0 -48
- package/build/docs/index.html +0 -48
- package/build/docs/umi.7f7df875.css +0 -8
- package/build/docs/umi.7face50a.js +0 -1
- package/build/docs/~demos/colorful-button-demo.html +0 -47
- package/build/docs/~demos/colorful-input-demo.html +0 -47
- package/build/index.css +0 -2
- package/build/index.html +0 -1
- package/build/index.js +0 -60
- package/build/lowcode/assets-daily.json +0 -67
- package/build/lowcode/assets-dev.json +0 -67
- package/build/lowcode/assets-prod.json +0 -67
- package/build/lowcode/designer.html +0 -302
- package/build/lowcode/index.html +0 -304
- package/build/lowcode/index.js +0 -1
- package/build/lowcode/meta.js +0 -1
- package/build/lowcode/preview.css +0 -1
- package/build/lowcode/preview.html +0 -33
- package/build/lowcode/preview.js +0 -308
- package/build/lowcode/render/default/view.css +0 -1
- package/build/lowcode/render/default/view.js +0 -295
- package/build/lowcode/view.css +0 -1
- package/build/lowcode/view.js +0 -295
- package/dist/BizComps.css +0 -1
- package/dist/BizComps.js +0 -7
- package/dist/BizComps.js.map +0 -1
- package/es/assets/icon/navigation/index-selected.png +0 -0
- package/es/assets/icon/navigation/index.png +0 -0
- package/es/assets/icon/navigation/message-selected.png +0 -0
- package/es/assets/icon/navigation/message.png +0 -0
- package/es/assets/icon/navigation/mine-selected.png +0 -0
- package/es/assets/icon/navigation/mine.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -13
- package/es/components/bottom-navigation/bottom-navigation.js +0 -39
- package/es/components/bottom-navigation/index.d.ts +0 -3
- package/es/components/bottom-navigation/index.js +0 -2
- package/es/components/bottom-navigation/index.scss +0 -16
- package/es/components/colorful-button/colorful-button.d.ts +0 -12
- package/es/components/colorful-button/colorful-button.js +0 -25
- package/es/components/colorful-button/index.d.ts +0 -3
- package/es/components/colorful-button/index.js +0 -2
- package/es/components/colorful-button/index.scss +0 -5
- package/es/components/colorful-input/colorful-input.d.ts +0 -8
- package/es/components/colorful-input/colorful-input.js +0 -19
- package/es/components/colorful-input/index.d.ts +0 -3
- package/es/components/colorful-input/index.js +0 -2
- package/es/components/colorful-input/index.scss +0 -5
- package/es/components/dc-slider/index.d.ts +0 -3
- package/es/components/dc-slider/index.js +0 -2
- package/es/components/dc-slider/index.scss +0 -8
- package/es/components/dc-slider/slider.d.ts +0 -32
- package/es/components/dc-slider/slider.js +0 -14
- package/es/components/position/index.d.ts +0 -3
- package/es/components/position/index.js +0 -2
- package/es/components/position/index.scss +0 -16
- package/es/components/position/position.d.ts +0 -13
- package/es/components/position/position.js +0 -39
- package/es/components/teletext-list/index.d.ts +0 -6
- package/es/components/teletext-list/index.js +0 -6
- package/es/components/teletext-list/index.scss +0 -16
- package/es/components/teletext-list/teletext-list-item.d.ts +0 -42
- package/es/components/teletext-list/teletext-list-item.js +0 -50
- package/es/components/teletext-list/teletext-list-item.scss +0 -74
- package/es/components/teletext-list/teletext-list.d.ts +0 -53
- package/es/components/teletext-list/teletext-list.js +0 -73
- package/es/components/title/index.d.ts +0 -8
- package/es/components/title/index.js +0 -7
- package/es/components/title/title-1.d.ts +0 -10
- package/es/components/title/title-1.js +0 -16
- package/es/components/title/title-1.scss +0 -26
- package/es/components/title/title-2.d.ts +0 -18
- package/es/components/title/title-2.js +0 -31
- package/es/components/title/title-2.scss +0 -22
- package/es/index.d.ts +0 -12
- package/es/index.js +0 -7
- package/es/index.scss +0 -3
- package/es/style.js +0 -3
- package/es/variables.d.ts +0 -2
- package/es/variables.js +0 -2
- package/es/variables.scss +0 -3
- package/lib/assets/icon/navigation/index-selected.png +0 -0
- package/lib/assets/icon/navigation/index.png +0 -0
- package/lib/assets/icon/navigation/message-selected.png +0 -0
- package/lib/assets/icon/navigation/message.png +0 -0
- package/lib/assets/icon/navigation/mine-selected.png +0 -0
- package/lib/assets/icon/navigation/mine.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -13
- package/lib/components/bottom-navigation/bottom-navigation.js +0 -46
- package/lib/components/bottom-navigation/index.d.ts +0 -3
- package/lib/components/bottom-navigation/index.js +0 -7
- package/lib/components/bottom-navigation/index.scss +0 -16
- package/lib/components/colorful-button/colorful-button.d.ts +0 -12
- package/lib/components/colorful-button/colorful-button.js +0 -32
- package/lib/components/colorful-button/index.d.ts +0 -3
- package/lib/components/colorful-button/index.js +0 -7
- package/lib/components/colorful-button/index.scss +0 -5
- package/lib/components/colorful-input/colorful-input.d.ts +0 -8
- package/lib/components/colorful-input/colorful-input.js +0 -26
- package/lib/components/colorful-input/index.d.ts +0 -3
- package/lib/components/colorful-input/index.js +0 -7
- package/lib/components/colorful-input/index.scss +0 -5
- package/lib/components/dc-slider/index.d.ts +0 -3
- package/lib/components/dc-slider/index.js +0 -7
- package/lib/components/dc-slider/index.scss +0 -8
- package/lib/components/dc-slider/slider.d.ts +0 -32
- package/lib/components/dc-slider/slider.js +0 -21
- package/lib/components/position/index.d.ts +0 -3
- package/lib/components/position/index.js +0 -7
- package/lib/components/position/index.scss +0 -16
- package/lib/components/position/position.d.ts +0 -13
- package/lib/components/position/position.js +0 -46
- package/lib/components/teletext-list/index.d.ts +0 -6
- package/lib/components/teletext-list/index.js +0 -10
- package/lib/components/teletext-list/index.scss +0 -16
- package/lib/components/teletext-list/teletext-list-item.d.ts +0 -42
- package/lib/components/teletext-list/teletext-list-item.js +0 -54
- package/lib/components/teletext-list/teletext-list-item.scss +0 -74
- package/lib/components/teletext-list/teletext-list.d.ts +0 -53
- package/lib/components/teletext-list/teletext-list.js +0 -77
- package/lib/components/title/index.d.ts +0 -8
- package/lib/components/title/index.js +0 -8
- package/lib/components/title/title-1.d.ts +0 -10
- package/lib/components/title/title-1.js +0 -21
- package/lib/components/title/title-1.scss +0 -26
- package/lib/components/title/title-2.d.ts +0 -18
- package/lib/components/title/title-2.js +0 -36
- package/lib/components/title/title-2.scss +0 -22
- package/lib/index.d.ts +0 -12
- package/lib/index.js +0 -15
- package/lib/index.scss +0 -3
- package/lib/style.js +0 -3
- package/lib/variables.d.ts +0 -2
- package/lib/variables.js +0 -5
- package/lib/variables.scss +0 -3
- package/lowcode_es/d-c-slider/meta.d.ts +0 -140
- package/lowcode_es/d-c-slider/meta.js +0 -298
- package/lowcode_es/d-c-slider/snippets.d.ts +0 -36
- package/lowcode_es/d-c-slider/snippets.js +0 -36
- package/lowcode_es/meta.js +0 -168
- package/lowcode_es/navigation/meta.d.ts +0 -22
- package/lowcode_es/navigation/meta.js +0 -135
- package/lowcode_es/teletext-list/meta.d.ts +0 -22
- package/lowcode_es/teletext-list/meta.js +0 -259
- package/lowcode_es/title1/meta.d.ts +0 -22
- package/lowcode_es/title1/meta.js +0 -51
- package/lowcode_es/title2/meta.d.ts +0 -22
- package/lowcode_es/title2/meta.js +0 -83
- package/lowcode_es/view.js +0 -18
- package/lowcode_lib/d-c-slider/meta.d.ts +0 -140
- package/lowcode_lib/d-c-slider/meta.js +0 -303
- package/lowcode_lib/d-c-slider/snippets.d.ts +0 -36
- package/lowcode_lib/d-c-slider/snippets.js +0 -40
- package/lowcode_lib/meta.js +0 -172
- package/lowcode_lib/navigation/meta.d.ts +0 -22
- package/lowcode_lib/navigation/meta.js +0 -140
- package/lowcode_lib/teletext-list/meta.d.ts +0 -22
- package/lowcode_lib/teletext-list/meta.js +0 -264
- package/lowcode_lib/title1/meta.d.ts +0 -22
- package/lowcode_lib/title1/meta.js +0 -56
- package/lowcode_lib/title2/meta.d.ts +0 -22
- package/lowcode_lib/title2/meta.js +0 -88
- package/lowcode_lib/view.js +0 -29
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
group: string;
|
|
3
|
-
componentName: string;
|
|
4
|
-
title: string;
|
|
5
|
-
docUrl: string;
|
|
6
|
-
screenshot: string;
|
|
7
|
-
npm: {
|
|
8
|
-
package: string;
|
|
9
|
-
version: string;
|
|
10
|
-
exportName: string;
|
|
11
|
-
main: string;
|
|
12
|
-
destructuring: boolean;
|
|
13
|
-
subName: string;
|
|
14
|
-
};
|
|
15
|
-
props: ({
|
|
16
|
-
name: string;
|
|
17
|
-
propType: string;
|
|
18
|
-
defaultValue: string;
|
|
19
|
-
description?: undefined;
|
|
20
|
-
title?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
name: string;
|
|
23
|
-
propType: string;
|
|
24
|
-
defaultValue: boolean;
|
|
25
|
-
description?: undefined;
|
|
26
|
-
title?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
name: string;
|
|
29
|
-
propType: string;
|
|
30
|
-
description: string;
|
|
31
|
-
defaultValue?: undefined;
|
|
32
|
-
title?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
name: string;
|
|
35
|
-
title: {
|
|
36
|
-
label: string;
|
|
37
|
-
tip: string;
|
|
38
|
-
};
|
|
39
|
-
propType: string;
|
|
40
|
-
description: string;
|
|
41
|
-
defaultValue: number;
|
|
42
|
-
} | {
|
|
43
|
-
name: string;
|
|
44
|
-
title: {
|
|
45
|
-
label: string;
|
|
46
|
-
tip: string;
|
|
47
|
-
};
|
|
48
|
-
propType: string;
|
|
49
|
-
description: string;
|
|
50
|
-
defaultValue?: undefined;
|
|
51
|
-
} | {
|
|
52
|
-
name: string;
|
|
53
|
-
title: {
|
|
54
|
-
label: string;
|
|
55
|
-
tip: string;
|
|
56
|
-
};
|
|
57
|
-
propType: string;
|
|
58
|
-
description: string;
|
|
59
|
-
defaultValue: boolean;
|
|
60
|
-
} | {
|
|
61
|
-
name: string;
|
|
62
|
-
title: {
|
|
63
|
-
label: string;
|
|
64
|
-
tip: string;
|
|
65
|
-
};
|
|
66
|
-
propType: {
|
|
67
|
-
type: string;
|
|
68
|
-
value: string[];
|
|
69
|
-
};
|
|
70
|
-
description: string;
|
|
71
|
-
defaultValue: string;
|
|
72
|
-
} | {
|
|
73
|
-
name: string;
|
|
74
|
-
propType: string;
|
|
75
|
-
description: string;
|
|
76
|
-
defaultValue: any;
|
|
77
|
-
title?: undefined;
|
|
78
|
-
} | {
|
|
79
|
-
name: string;
|
|
80
|
-
propType: string;
|
|
81
|
-
defaultValue?: undefined;
|
|
82
|
-
description?: undefined;
|
|
83
|
-
title?: undefined;
|
|
84
|
-
})[];
|
|
85
|
-
configure: {
|
|
86
|
-
component: {
|
|
87
|
-
isContainer: boolean;
|
|
88
|
-
};
|
|
89
|
-
props: {
|
|
90
|
-
isExtends: boolean;
|
|
91
|
-
override: ({
|
|
92
|
-
name: string;
|
|
93
|
-
condition: () => boolean;
|
|
94
|
-
setter?: undefined;
|
|
95
|
-
} | {
|
|
96
|
-
name: string;
|
|
97
|
-
setter: string;
|
|
98
|
-
condition?: undefined;
|
|
99
|
-
})[];
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
icon: string;
|
|
103
|
-
category: string;
|
|
104
|
-
snippets: {
|
|
105
|
-
title: string;
|
|
106
|
-
screenshot: string;
|
|
107
|
-
schema: {
|
|
108
|
-
componentName: string;
|
|
109
|
-
props: {
|
|
110
|
-
prefix: string;
|
|
111
|
-
animation: string;
|
|
112
|
-
arrows: boolean;
|
|
113
|
-
arrowSize: string;
|
|
114
|
-
arrowPosition: string;
|
|
115
|
-
arrowDirection: string;
|
|
116
|
-
autoplaySpeed: number;
|
|
117
|
-
dots: boolean;
|
|
118
|
-
dotsDirection: string;
|
|
119
|
-
draggable: boolean;
|
|
120
|
-
infinite: boolean;
|
|
121
|
-
slide: string;
|
|
122
|
-
slideDirection: string;
|
|
123
|
-
slidesToShow: number;
|
|
124
|
-
slidesToScroll: number;
|
|
125
|
-
speed: number;
|
|
126
|
-
triggerType: string;
|
|
127
|
-
centerPadding: string;
|
|
128
|
-
cssEase: string;
|
|
129
|
-
edgeFriction: number;
|
|
130
|
-
swipe: boolean;
|
|
131
|
-
touchMove: boolean;
|
|
132
|
-
touchThreshold: number;
|
|
133
|
-
useCSS: boolean;
|
|
134
|
-
waitForAnimate: boolean;
|
|
135
|
-
picUrls: string[];
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
}[];
|
|
139
|
-
};
|
|
140
|
-
export default _default;
|
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
import snippets from "./snippets";
|
|
2
|
-
export default {
|
|
3
|
-
group: '原子组件',
|
|
4
|
-
componentName: 'DCSlider',
|
|
5
|
-
title: '图片轮播',
|
|
6
|
-
docUrl: '',
|
|
7
|
-
screenshot: '',
|
|
8
|
-
"npm": {
|
|
9
|
-
"package": "@dckj-npm/dc-material",
|
|
10
|
-
"version": "0.1.7",
|
|
11
|
-
"exportName": "DCSlider",
|
|
12
|
-
"main": "src\\index.tsx",
|
|
13
|
-
"destructuring": true,
|
|
14
|
-
"subName": ""
|
|
15
|
-
},
|
|
16
|
-
props: [{
|
|
17
|
-
name: 'prefix',
|
|
18
|
-
propType: 'string',
|
|
19
|
-
defaultValue: 'next-'
|
|
20
|
-
}, {
|
|
21
|
-
name: 'rtl',
|
|
22
|
-
propType: 'bool',
|
|
23
|
-
defaultValue: false
|
|
24
|
-
}, {
|
|
25
|
-
name: 'className',
|
|
26
|
-
propType: 'any',
|
|
27
|
-
description: '自定义传入的样式'
|
|
28
|
-
}, {
|
|
29
|
-
name: 'slidesToShow',
|
|
30
|
-
title: {
|
|
31
|
-
label: '图片数量',
|
|
32
|
-
tip: 'slidesToShow|同时展示的图片数量'
|
|
33
|
-
},
|
|
34
|
-
propType: 'number',
|
|
35
|
-
description: '同时展示的图片数量',
|
|
36
|
-
defaultValue: 1
|
|
37
|
-
}, {
|
|
38
|
-
name: 'slidesToScroll',
|
|
39
|
-
title: {
|
|
40
|
-
label: '同时滑动的图片数量',
|
|
41
|
-
tip: 'slidesToScroll'
|
|
42
|
-
},
|
|
43
|
-
propType: 'number',
|
|
44
|
-
description: '同时滑动的图片数量',
|
|
45
|
-
defaultValue: 1
|
|
46
|
-
}, {
|
|
47
|
-
name: 'speed',
|
|
48
|
-
title: {
|
|
49
|
-
label: '轮播速度',
|
|
50
|
-
tip: 'speed'
|
|
51
|
-
},
|
|
52
|
-
propType: 'number',
|
|
53
|
-
description: '轮播速度',
|
|
54
|
-
defaultValue: 600
|
|
55
|
-
}, {
|
|
56
|
-
name: 'activeIndex',
|
|
57
|
-
title: {
|
|
58
|
-
label: '指定轮播图',
|
|
59
|
-
tip: 'activeIndex|跳转到指定的轮播图(受控)'
|
|
60
|
-
},
|
|
61
|
-
propType: 'number',
|
|
62
|
-
description: '跳转到指定的轮播图(受控)'
|
|
63
|
-
}, {
|
|
64
|
-
name: 'adaptiveHeight',
|
|
65
|
-
title: {
|
|
66
|
-
label: '自适应高度',
|
|
67
|
-
tip: 'adaptiveHeight'
|
|
68
|
-
},
|
|
69
|
-
propType: 'bool',
|
|
70
|
-
description: '是否使用自适应高度',
|
|
71
|
-
defaultValue: true
|
|
72
|
-
}, {
|
|
73
|
-
name: 'animation',
|
|
74
|
-
title: {
|
|
75
|
-
label: '动效类型',
|
|
76
|
-
tip: 'animation'
|
|
77
|
-
},
|
|
78
|
-
propType: {
|
|
79
|
-
type: 'oneOfType',
|
|
80
|
-
value: ['string', 'bool']
|
|
81
|
-
},
|
|
82
|
-
description: "动效类型,默认是'slide'",
|
|
83
|
-
defaultValue: 'slide'
|
|
84
|
-
}, {
|
|
85
|
-
name: 'arrows',
|
|
86
|
-
title: {
|
|
87
|
-
label: '箭头',
|
|
88
|
-
tip: 'arrows|是否显示箭头'
|
|
89
|
-
},
|
|
90
|
-
propType: 'bool',
|
|
91
|
-
description: '是否显示箭头',
|
|
92
|
-
defaultValue: true
|
|
93
|
-
}, {
|
|
94
|
-
name: 'arrowSize',
|
|
95
|
-
title: {
|
|
96
|
-
label: '箭头大小',
|
|
97
|
-
tip: "arrowSize|导航箭头大小 可选值: 'medium', 'large'"
|
|
98
|
-
},
|
|
99
|
-
propType: {
|
|
100
|
-
type: 'oneOf',
|
|
101
|
-
value: ['medium', 'large']
|
|
102
|
-
},
|
|
103
|
-
description: "导航箭头大小 可选值: 'medium', 'large'",
|
|
104
|
-
defaultValue: 'medium'
|
|
105
|
-
}, {
|
|
106
|
-
name: 'arrowPosition',
|
|
107
|
-
title: {
|
|
108
|
-
label: '箭头位置',
|
|
109
|
-
tip: "arrowPosition|导航箭头位置 可选值: 'inner', 'outer'"
|
|
110
|
-
},
|
|
111
|
-
propType: {
|
|
112
|
-
type: 'oneOf',
|
|
113
|
-
value: ['inner', 'outer']
|
|
114
|
-
},
|
|
115
|
-
description: "导航箭头位置 可选值: 'inner', 'outer'",
|
|
116
|
-
defaultValue: 'inner'
|
|
117
|
-
}, {
|
|
118
|
-
name: 'arrowDirection',
|
|
119
|
-
title: {
|
|
120
|
-
label: '箭头方向',
|
|
121
|
-
tip: "arrowDirection|导航箭头的方向 可选值: 'hoz', 'ver'"
|
|
122
|
-
},
|
|
123
|
-
propType: {
|
|
124
|
-
type: 'oneOf',
|
|
125
|
-
value: ['hoz', 'ver']
|
|
126
|
-
},
|
|
127
|
-
description: "导航箭头的方向 可选值: 'hoz', 'ver'",
|
|
128
|
-
defaultValue: 'hoz'
|
|
129
|
-
}, {
|
|
130
|
-
name: 'autoplay',
|
|
131
|
-
title: {
|
|
132
|
-
label: '自动播放',
|
|
133
|
-
tip: 'autoplay'
|
|
134
|
-
},
|
|
135
|
-
propType: 'bool',
|
|
136
|
-
description: '是否自动播放',
|
|
137
|
-
defaultValue: false
|
|
138
|
-
}, {
|
|
139
|
-
name: 'autoplaySpeed',
|
|
140
|
-
title: {
|
|
141
|
-
label: '自动播放的速度',
|
|
142
|
-
tip: 'autoplaySpeed, 默认 3000 毫秒'
|
|
143
|
-
},
|
|
144
|
-
propType: 'number',
|
|
145
|
-
description: '自动播放的速度',
|
|
146
|
-
defaultValue: 3000
|
|
147
|
-
}, {
|
|
148
|
-
name: 'nextArrow',
|
|
149
|
-
propType: 'node',
|
|
150
|
-
description: '向后箭头',
|
|
151
|
-
defaultValue: null
|
|
152
|
-
}, {
|
|
153
|
-
name: 'prevArrow',
|
|
154
|
-
propType: 'node',
|
|
155
|
-
description: '向前箭头',
|
|
156
|
-
defaultValue: null
|
|
157
|
-
}, {
|
|
158
|
-
name: 'centerMode',
|
|
159
|
-
title: {
|
|
160
|
-
label: '居中模式',
|
|
161
|
-
tip: 'centerMode'
|
|
162
|
-
},
|
|
163
|
-
propType: 'bool',
|
|
164
|
-
description: '是否启用居中模式',
|
|
165
|
-
defaultValue: false
|
|
166
|
-
}, {
|
|
167
|
-
name: 'dots',
|
|
168
|
-
title: {
|
|
169
|
-
label: '导航锚点',
|
|
170
|
-
tip: 'dots|是否显示导航锚点'
|
|
171
|
-
},
|
|
172
|
-
propType: 'bool',
|
|
173
|
-
description: '是否显示导航锚点',
|
|
174
|
-
defaultValue: true
|
|
175
|
-
}, {
|
|
176
|
-
name: 'dotsDirection',
|
|
177
|
-
title: {
|
|
178
|
-
label: '导航锚点位置',
|
|
179
|
-
tip: 'dotsDirection'
|
|
180
|
-
},
|
|
181
|
-
propType: {
|
|
182
|
-
type: 'oneOf',
|
|
183
|
-
value: ['hoz', 'ver']
|
|
184
|
-
},
|
|
185
|
-
description: '导航锚点位置',
|
|
186
|
-
defaultValue: 'hoz'
|
|
187
|
-
}, {
|
|
188
|
-
name: 'draggable',
|
|
189
|
-
title: {
|
|
190
|
-
label: '可拖拽',
|
|
191
|
-
tip: 'draggable'
|
|
192
|
-
},
|
|
193
|
-
propType: 'bool',
|
|
194
|
-
description: '是否可拖拽',
|
|
195
|
-
defaultValue: true
|
|
196
|
-
}, {
|
|
197
|
-
name: 'infinite',
|
|
198
|
-
title: {
|
|
199
|
-
label: '无穷循环',
|
|
200
|
-
tip: 'infinite'
|
|
201
|
-
},
|
|
202
|
-
propType: 'bool',
|
|
203
|
-
description: '是否使用无穷循环模式',
|
|
204
|
-
defaultValue: true
|
|
205
|
-
}, {
|
|
206
|
-
name: 'defaultActiveIndex',
|
|
207
|
-
title: {
|
|
208
|
-
label: '初始轮播图',
|
|
209
|
-
tip: 'defaultActiveIndex|初始被激活的轮播图'
|
|
210
|
-
},
|
|
211
|
-
propType: 'number',
|
|
212
|
-
description: '初始被激活的轮播图',
|
|
213
|
-
defaultValue: 0
|
|
214
|
-
}, {
|
|
215
|
-
name: 'lazyLoad',
|
|
216
|
-
title: {
|
|
217
|
-
label: '懒加载',
|
|
218
|
-
tip: 'lazyLoad|是否启用懒加载'
|
|
219
|
-
},
|
|
220
|
-
propType: 'bool',
|
|
221
|
-
description: '是否启用懒加载',
|
|
222
|
-
defaultValue: false
|
|
223
|
-
}, {
|
|
224
|
-
name: 'slideDirection',
|
|
225
|
-
title: {
|
|
226
|
-
label: '轮播方向',
|
|
227
|
-
tip: 'slideDirection'
|
|
228
|
-
},
|
|
229
|
-
propType: {
|
|
230
|
-
type: 'oneOf',
|
|
231
|
-
value: ['hoz', 'ver']
|
|
232
|
-
},
|
|
233
|
-
description: '轮播方向',
|
|
234
|
-
defaultValue: 'hoz'
|
|
235
|
-
}, {
|
|
236
|
-
name: 'triggerType',
|
|
237
|
-
title: {
|
|
238
|
-
label: '触发方式',
|
|
239
|
-
tip: 'triggerType|锚点导航触发方式'
|
|
240
|
-
},
|
|
241
|
-
propType: {
|
|
242
|
-
type: 'oneOf',
|
|
243
|
-
value: ['click', 'hover']
|
|
244
|
-
},
|
|
245
|
-
description: '锚点导航触发方式',
|
|
246
|
-
defaultValue: 'click'
|
|
247
|
-
}, {
|
|
248
|
-
name: 'onChange',
|
|
249
|
-
propType: 'func',
|
|
250
|
-
description: '轮播切换的回调函数\n@param {Number} index 幻灯片的索引'
|
|
251
|
-
}, {
|
|
252
|
-
name: 'onBeforeChange',
|
|
253
|
-
propType: 'func'
|
|
254
|
-
}, {
|
|
255
|
-
name: 'style',
|
|
256
|
-
propType: 'object',
|
|
257
|
-
description: '自定义传入的class',
|
|
258
|
-
defaultValue: null
|
|
259
|
-
}, {
|
|
260
|
-
name: 'picUrls',
|
|
261
|
-
propType: 'array',
|
|
262
|
-
description: '图片路径'
|
|
263
|
-
}, {
|
|
264
|
-
name: 'focusOnSelect',
|
|
265
|
-
title: {
|
|
266
|
-
label: '自动居中',
|
|
267
|
-
tip: 'focusOnSelect|多图轮播时,点击选中后自动居中'
|
|
268
|
-
},
|
|
269
|
-
propType: 'bool',
|
|
270
|
-
description: '多图轮播时,点击选中后自动居中',
|
|
271
|
-
defaultValue: false
|
|
272
|
-
}],
|
|
273
|
-
configure: {
|
|
274
|
-
component: {
|
|
275
|
-
isContainer: true
|
|
276
|
-
},
|
|
277
|
-
props: {
|
|
278
|
-
isExtends: true,
|
|
279
|
-
override: [{
|
|
280
|
-
name: 'rtl',
|
|
281
|
-
condition: function condition() {
|
|
282
|
-
return false;
|
|
283
|
-
}
|
|
284
|
-
}, {
|
|
285
|
-
name: 'prefix',
|
|
286
|
-
condition: function condition() {
|
|
287
|
-
return false;
|
|
288
|
-
}
|
|
289
|
-
}, {
|
|
290
|
-
name: 'picUrls',
|
|
291
|
-
setter: 'SetterFormVariable'
|
|
292
|
-
}]
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
icon: '',
|
|
296
|
-
category: '信息展示',
|
|
297
|
-
snippets: snippets
|
|
298
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
screenshot: string;
|
|
4
|
-
schema: {
|
|
5
|
-
componentName: string;
|
|
6
|
-
props: {
|
|
7
|
-
prefix: string;
|
|
8
|
-
animation: string;
|
|
9
|
-
arrows: boolean;
|
|
10
|
-
arrowSize: string;
|
|
11
|
-
arrowPosition: string;
|
|
12
|
-
arrowDirection: string;
|
|
13
|
-
autoplaySpeed: number;
|
|
14
|
-
dots: boolean;
|
|
15
|
-
dotsDirection: string;
|
|
16
|
-
draggable: boolean;
|
|
17
|
-
infinite: boolean;
|
|
18
|
-
slide: string;
|
|
19
|
-
slideDirection: string;
|
|
20
|
-
slidesToShow: number;
|
|
21
|
-
slidesToScroll: number;
|
|
22
|
-
speed: number;
|
|
23
|
-
triggerType: string;
|
|
24
|
-
centerPadding: string;
|
|
25
|
-
cssEase: string;
|
|
26
|
-
edgeFriction: number;
|
|
27
|
-
swipe: boolean;
|
|
28
|
-
touchMove: boolean;
|
|
29
|
-
touchThreshold: number;
|
|
30
|
-
useCSS: boolean;
|
|
31
|
-
waitForAnimate: boolean;
|
|
32
|
-
picUrls: string[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
}[];
|
|
36
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export default [{
|
|
2
|
-
title: '图片轮播',
|
|
3
|
-
screenshot: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_slider.png',
|
|
4
|
-
schema: {
|
|
5
|
-
componentName: 'DCSlider',
|
|
6
|
-
props: {
|
|
7
|
-
prefix: 'next-',
|
|
8
|
-
animation: 'slide',
|
|
9
|
-
arrows: true,
|
|
10
|
-
arrowSize: 'medium',
|
|
11
|
-
arrowPosition: 'inner',
|
|
12
|
-
arrowDirection: 'hoz',
|
|
13
|
-
autoplaySpeed: 3000,
|
|
14
|
-
dots: true,
|
|
15
|
-
dotsDirection: 'hoz',
|
|
16
|
-
draggable: true,
|
|
17
|
-
infinite: true,
|
|
18
|
-
slide: 'div',
|
|
19
|
-
slideDirection: 'hoz',
|
|
20
|
-
slidesToShow: 1,
|
|
21
|
-
slidesToScroll: 1,
|
|
22
|
-
speed: 600,
|
|
23
|
-
triggerType: 'click',
|
|
24
|
-
centerPadding: '50px',
|
|
25
|
-
cssEase: 'ease',
|
|
26
|
-
edgeFriction: 0.35,
|
|
27
|
-
swipe: true,
|
|
28
|
-
touchMove: true,
|
|
29
|
-
touchThreshold: 5,
|
|
30
|
-
useCSS: true,
|
|
31
|
-
waitForAnimate: true,
|
|
32
|
-
// 轮播路径
|
|
33
|
-
picUrls: ['https://img.alicdn.com/tps/TB1bewbNVXXXXc5XXXXXXXXXXXX-1000-300.png', 'https://img.alicdn.com/tps/TB1xuUcNVXXXXcRXXXXXXXXXXXX-1000-300.jpg', 'https://img.alicdn.com/tps/TB1ikP.NVXXXXaYXpXXXXXXXXXX-1000-300.jpg', 'https://img.alicdn.com/tps/TB1s1_JNVXXXXbhaXXXXXXXXXXX-1000-300.jpg']
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}];
|
package/lowcode_es/meta.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import DCSliderMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/d-c-slider/meta';
|
|
3
|
-
import NavigationMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/navigation/meta';
|
|
4
|
-
import TeletextListMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/teletext-list/meta';
|
|
5
|
-
import Title1Meta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/title1/meta';
|
|
6
|
-
import Title2Meta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/title2/meta';
|
|
7
|
-
var componentCategorySort = {};
|
|
8
|
-
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
9
|
-
componentCategorySort[item] = ++index;
|
|
10
|
-
});
|
|
11
|
-
function generateComponentList(components) {
|
|
12
|
-
var componentList = [{
|
|
13
|
-
title: '常用',
|
|
14
|
-
icon: '',
|
|
15
|
-
children: []
|
|
16
|
-
}, {
|
|
17
|
-
title: '容器',
|
|
18
|
-
icon: '',
|
|
19
|
-
children: []
|
|
20
|
-
}, {
|
|
21
|
-
title: '导航',
|
|
22
|
-
icon: '',
|
|
23
|
-
children: []
|
|
24
|
-
}, {
|
|
25
|
-
title: '内容',
|
|
26
|
-
icon: '',
|
|
27
|
-
children: []
|
|
28
|
-
}, {
|
|
29
|
-
title: 'Feedback 反馈',
|
|
30
|
-
icon: '',
|
|
31
|
-
children: []
|
|
32
|
-
}];
|
|
33
|
-
var groupMap = {
|
|
34
|
-
原子组件: true
|
|
35
|
-
};
|
|
36
|
-
var compGroup = {};
|
|
37
|
-
components.forEach(function (comp) {
|
|
38
|
-
var category = comp.category || '其他';
|
|
39
|
-
if (comp.group && !compGroup[comp.componentName]) {
|
|
40
|
-
compGroup[comp.componentName] = comp.group;
|
|
41
|
-
}
|
|
42
|
-
if (comp.group && !groupMap[comp.group]) {
|
|
43
|
-
groupMap[comp.group] = true;
|
|
44
|
-
}
|
|
45
|
-
var target = componentList.find(function (item) {
|
|
46
|
-
return item.title === category;
|
|
47
|
-
});
|
|
48
|
-
if (!target) {
|
|
49
|
-
target = {
|
|
50
|
-
title: category,
|
|
51
|
-
icon: '',
|
|
52
|
-
children: []
|
|
53
|
-
};
|
|
54
|
-
componentList.push(target);
|
|
55
|
-
}
|
|
56
|
-
if (comp.snippets && comp.snippets.length) {
|
|
57
|
-
target.children.push({
|
|
58
|
-
componentName: comp.componentName,
|
|
59
|
-
title: comp.title || comp.componentName,
|
|
60
|
-
sort: {
|
|
61
|
-
category: target.title,
|
|
62
|
-
group: compGroup[comp.componentName] || '原子组件',
|
|
63
|
-
priority: componentCategorySort[target.title] || 0
|
|
64
|
-
},
|
|
65
|
-
icon: '',
|
|
66
|
-
"package": comp.npm.pkg,
|
|
67
|
-
snippets: comp.snippets || []
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
return componentList;
|
|
72
|
-
}
|
|
73
|
-
function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
74
|
-
if (packageName === void 0) {
|
|
75
|
-
packageName = '@dckj-npm/dc-material';
|
|
76
|
-
}
|
|
77
|
-
if (version === void 0) {
|
|
78
|
-
version = '0.1.7';
|
|
79
|
-
}
|
|
80
|
-
if (basicLibraryVersion === void 0) {
|
|
81
|
-
basicLibraryVersion = {
|
|
82
|
-
"@alifd/next": "1.25.23",
|
|
83
|
-
"@alifd/meet": "2.6.3",
|
|
84
|
-
"antd": "4.17.3"
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
if (!meta || !version) {
|
|
88
|
-
return meta;
|
|
89
|
-
}
|
|
90
|
-
var npm = meta.npm;
|
|
91
|
-
if (!npm) {
|
|
92
|
-
return meta;
|
|
93
|
-
}
|
|
94
|
-
if (typeof basicLibraryVersion === 'object' && basicLibraryVersion[npm["package"]]) {
|
|
95
|
-
meta.npm = _extends({}, npm, {
|
|
96
|
-
version: basicLibraryVersion[npm["package"]]
|
|
97
|
-
});
|
|
98
|
-
} else if (npm["package"] === packageName) {
|
|
99
|
-
meta.npm = _extends({}, npm, {
|
|
100
|
-
version: version
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
return meta;
|
|
104
|
-
}
|
|
105
|
-
var componentMetas = [DCSliderMeta, NavigationMeta, TeletextListMeta, Title1Meta, Title2Meta];
|
|
106
|
-
var components = [];
|
|
107
|
-
var npmInfo = {};
|
|
108
|
-
componentMetas.forEach(function (meta) {
|
|
109
|
-
if (Array.isArray(meta)) {
|
|
110
|
-
components.push.apply(components, meta.map(function (item) {
|
|
111
|
-
if (!item.npm) {
|
|
112
|
-
var componentName = item.componentName;
|
|
113
|
-
var names = componentName.split('.');
|
|
114
|
-
var exportName = names[0],
|
|
115
|
-
subName = names[1];
|
|
116
|
-
item.npm = {
|
|
117
|
-
exportName: exportName,
|
|
118
|
-
main: '',
|
|
119
|
-
destructuring: true,
|
|
120
|
-
subName: names.length > 1 ? componentName.slice(componentName.indexOf('.') + 1) : subName
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
item.npm = _extends({}, npmInfo, item.npm || {});
|
|
124
|
-
return fillRealVersion(item);
|
|
125
|
-
}));
|
|
126
|
-
} else if (meta.components) {
|
|
127
|
-
components.push.apply(components, meta.components.map(function (item) {
|
|
128
|
-
if (!item.npm) {
|
|
129
|
-
var componentName = item.componentName;
|
|
130
|
-
var names = componentName.split('.');
|
|
131
|
-
var exportName = names[0],
|
|
132
|
-
subName = names[1];
|
|
133
|
-
item.npm = {
|
|
134
|
-
exportName: exportName,
|
|
135
|
-
main: '',
|
|
136
|
-
destructuring: true,
|
|
137
|
-
subName: names.length > 1 ? componentName.slice(componentName.indexOf('.') + 1) : subName
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
item.npm = _extends({}, npmInfo, item.npm || {});
|
|
141
|
-
return fillRealVersion(item);
|
|
142
|
-
}));
|
|
143
|
-
} else {
|
|
144
|
-
if (!meta.npm) {
|
|
145
|
-
var componentName = meta.componentName;
|
|
146
|
-
var names = componentName.split('.');
|
|
147
|
-
var exportName = names[0],
|
|
148
|
-
subName = names[1];
|
|
149
|
-
meta.npm = {
|
|
150
|
-
exportName: exportName,
|
|
151
|
-
main: '',
|
|
152
|
-
destructuring: true,
|
|
153
|
-
subName: names.length > 1 ? componentName.slice(componentName.indexOf('.') + 1) : subName
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
meta.npm = _extends({}, npmInfo, meta.npm || {});
|
|
157
|
-
components.push(fillRealVersion(meta));
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
var componentList = generateComponentList(components);
|
|
161
|
-
export { components, componentList };
|
|
162
|
-
var execCompile = !!true;
|
|
163
|
-
if (!execCompile) {
|
|
164
|
-
window.DckjNpmDcMaterialMeta = {
|
|
165
|
-
components: components,
|
|
166
|
-
componentList: componentList
|
|
167
|
-
};
|
|
168
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|