@dckj-npm/dc-material 0.1.6 → 0.1.8
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/build/index.js +12 -19
- package/build/lowcode/assets-daily.json +67 -0
- package/build/lowcode/assets-dev.json +67 -0
- package/build/lowcode/assets-prod.json +67 -0
- package/build/lowcode/designer.html +302 -0
- package/build/lowcode/index.html +304 -0
- package/build/lowcode/index.js +1 -0
- package/build/lowcode/meta.js +1 -0
- package/build/lowcode/preview.css +1 -0
- package/build/lowcode/preview.html +33 -0
- package/build/lowcode/preview.js +308 -0
- package/build/lowcode/render/default/view.css +1 -0
- package/build/lowcode/render/default/view.js +295 -0
- package/build/lowcode/view.css +1 -0
- package/build/lowcode/view.js +295 -0
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +5 -5
- package/dist/BizComps.js.map +1 -1
- package/es/components/bottom-navigation/bottom-navigation.d.ts +13 -13
- package/es/components/bottom-navigation/index.d.ts +3 -3
- package/es/components/colorful-button/colorful-button.d.ts +12 -12
- package/es/components/colorful-button/index.d.ts +3 -3
- package/es/components/colorful-input/colorful-input.d.ts +8 -8
- package/es/components/colorful-input/index.d.ts +3 -3
- package/es/components/dc-slider/index.d.ts +3 -3
- package/es/components/dc-slider/slider.d.ts +32 -32
- package/es/components/menu-list/index.d.ts +6 -0
- package/es/components/menu-list/index.js +6 -0
- package/es/components/menu-list/index.scss +16 -0
- package/es/components/menu-list/menu-list-item.d.ts +5 -0
- package/es/components/menu-list/menu-list-item.js +32 -0
- package/es/components/menu-list/menu-list-item.scss +49 -0
- package/es/components/menu-list/menu-list.d.ts +5 -0
- package/es/components/menu-list/menu-list.js +25 -0
- package/es/components/menu-list/types.d.ts +23 -0
- package/es/components/menu-list/types.js +1 -0
- package/es/components/teletext-list/index.d.ts +6 -6
- package/es/components/teletext-list/index.js +2 -2
- package/es/components/teletext-list/index.scss +16 -16
- package/es/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/es/components/teletext-list/teletext-list-item.js +2 -2
- package/es/components/teletext-list/teletext-list-item.scss +74 -74
- package/es/components/teletext-list/teletext-list.d.ts +53 -53
- package/es/components/teletext-list/teletext-list.js +2 -2
- package/es/components/title/index.d.ts +8 -8
- package/es/components/title/index.js +2 -2
- package/es/components/title/title-1.d.ts +10 -10
- package/es/components/title/title-1.scss +26 -26
- package/es/components/title/title-2.d.ts +18 -18
- package/es/components/title/title-2.scss +22 -22
- package/es/index.d.ts +14 -12
- package/es/index.js +1 -0
- package/es/index.scss +3 -3
- package/es/variables.d.ts +2 -2
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +13 -13
- package/lib/components/bottom-navigation/index.d.ts +3 -3
- package/lib/components/colorful-button/colorful-button.d.ts +12 -12
- package/lib/components/colorful-button/index.d.ts +3 -3
- package/lib/components/colorful-input/colorful-input.d.ts +8 -8
- package/lib/components/colorful-input/index.d.ts +3 -3
- package/lib/components/dc-slider/index.d.ts +3 -3
- package/lib/components/dc-slider/slider.d.ts +32 -32
- package/lib/components/menu-list/index.d.ts +6 -0
- package/lib/components/{position → menu-list}/index.js +5 -2
- package/lib/components/menu-list/index.scss +16 -0
- package/lib/components/menu-list/menu-list-item.d.ts +5 -0
- package/lib/components/menu-list/menu-list-item.js +37 -0
- package/lib/components/menu-list/menu-list-item.scss +49 -0
- package/lib/components/menu-list/menu-list.d.ts +5 -0
- package/lib/components/menu-list/menu-list.js +30 -0
- package/lib/components/menu-list/types.d.ts +23 -0
- package/lib/components/menu-list/types.js +3 -0
- package/lib/components/teletext-list/index.d.ts +6 -6
- package/lib/components/teletext-list/index.js +2 -2
- package/lib/components/teletext-list/index.scss +16 -16
- package/lib/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/lib/components/teletext-list/teletext-list-item.js +2 -2
- package/lib/components/teletext-list/teletext-list-item.scss +74 -74
- package/lib/components/teletext-list/teletext-list.d.ts +53 -53
- package/lib/components/teletext-list/teletext-list.js +2 -2
- package/lib/components/title/index.d.ts +8 -8
- package/lib/components/title/title-1.d.ts +10 -10
- package/lib/components/title/title-1.scss +26 -26
- package/lib/components/title/title-2.d.ts +18 -18
- package/lib/components/title/title-2.scss +22 -22
- package/lib/index.d.ts +14 -12
- package/lib/index.js +3 -1
- package/lib/index.scss +3 -3
- package/lib/variables.d.ts +2 -2
- package/lowcode/d-c-slider/meta.ts +1 -1
- package/lowcode/d-c-slider/snippets.ts +42 -42
- package/lowcode/menu-list/meta.ts +147 -0
- package/lowcode/navigation/meta.ts +1 -1
- package/lowcode/teletext-list/meta.ts +300 -300
- package/lowcode/title1/meta.ts +59 -59
- package/lowcode/title2/meta.ts +93 -93
- package/lowcode_es/d-c-slider/meta.d.ts +140 -140
- package/lowcode_es/d-c-slider/meta.js +1 -1
- package/lowcode_es/d-c-slider/snippets.d.ts +36 -36
- package/lowcode_es/menu-list/meta.d.ts +22 -0
- package/lowcode_es/menu-list/meta.js +128 -0
- package/lowcode_es/meta.js +8 -7
- package/lowcode_es/navigation/meta.d.ts +22 -22
- package/lowcode_es/navigation/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.d.ts +22 -22
- package/lowcode_es/teletext-list/meta.js +8 -3
- package/lowcode_es/title1/meta.d.ts +22 -22
- package/lowcode_es/title1/meta.js +2 -1
- package/lowcode_es/title2/meta.d.ts +22 -22
- package/lowcode_es/title2/meta.js +2 -1
- package/lowcode_es/view.js +3 -3
- package/lowcode_lib/d-c-slider/meta.d.ts +140 -140
- package/lowcode_lib/d-c-slider/meta.js +1 -1
- package/lowcode_lib/d-c-slider/snippets.d.ts +36 -36
- package/lowcode_lib/menu-list/meta.d.ts +22 -0
- package/lowcode_lib/menu-list/meta.js +133 -0
- package/lowcode_lib/meta.js +8 -7
- package/lowcode_lib/navigation/meta.d.ts +22 -22
- package/lowcode_lib/navigation/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.d.ts +22 -22
- package/lowcode_lib/teletext-list/meta.js +8 -3
- package/lowcode_lib/title1/meta.d.ts +22 -22
- package/lowcode_lib/title1/meta.js +2 -1
- package/lowcode_lib/title2/meta.d.ts +22 -22
- package/lowcode_lib/title2/meta.js +2 -1
- package/lowcode_lib/view.js +2 -2
- package/package.json +4 -4
- 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/lib/components/position/index.d.ts +0 -3
- 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
|
@@ -1,140 +1,140 @@
|
|
|
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
|
+
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,36 +1,36 @@
|
|
|
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
|
+
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;
|
|
@@ -0,0 +1,22 @@
|
|
|
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;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var MenuListMeta = {
|
|
8
|
+
"group": "低代码组件",
|
|
9
|
+
"componentName": "MenuList",
|
|
10
|
+
"title": "列表菜单组件",
|
|
11
|
+
"docUrl": "",
|
|
12
|
+
"screenshot": "",
|
|
13
|
+
"devMode": "proCode",
|
|
14
|
+
"npm": {
|
|
15
|
+
"package": "@dckj-npm/dc-material",
|
|
16
|
+
"version": "0.1.8",
|
|
17
|
+
"exportName": "MenuList",
|
|
18
|
+
"main": "src/index.tsx",
|
|
19
|
+
"destructuring": true,
|
|
20
|
+
"subName": ""
|
|
21
|
+
},
|
|
22
|
+
"configure": {
|
|
23
|
+
"props": [{
|
|
24
|
+
"title": {
|
|
25
|
+
"label": {
|
|
26
|
+
"type": "i18n",
|
|
27
|
+
"en-US": "dataList",
|
|
28
|
+
"zh-CN": "数据"
|
|
29
|
+
},
|
|
30
|
+
"tip": "dataList | 数据"
|
|
31
|
+
},
|
|
32
|
+
"name": "dataList",
|
|
33
|
+
"description": "数据",
|
|
34
|
+
"setter": {
|
|
35
|
+
"componentName": "ArraySetter",
|
|
36
|
+
"props": {
|
|
37
|
+
"itemSetter": {
|
|
38
|
+
"componentName": "ObjectSetter",
|
|
39
|
+
"props": {
|
|
40
|
+
"config": {
|
|
41
|
+
"items": [{
|
|
42
|
+
"title": {
|
|
43
|
+
"label": {
|
|
44
|
+
"type": "i18n",
|
|
45
|
+
"en-US": "title",
|
|
46
|
+
"zh-CN": "title"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"name": "title",
|
|
50
|
+
"description": "菜单名称",
|
|
51
|
+
"setter": {
|
|
52
|
+
"componentName": "StringSetter",
|
|
53
|
+
"isRequired": true,
|
|
54
|
+
"initialValue": ""
|
|
55
|
+
}
|
|
56
|
+
}, {
|
|
57
|
+
"title": {
|
|
58
|
+
"label": {
|
|
59
|
+
"type": "i18n",
|
|
60
|
+
"en-US": "iconUrl",
|
|
61
|
+
"zh-CN": "iconUrl"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"name": "iconUrl",
|
|
65
|
+
"description": "菜单图标",
|
|
66
|
+
"setter": {
|
|
67
|
+
"componentName": "CustomImageSetter",
|
|
68
|
+
"isRequired": false,
|
|
69
|
+
"initialValue": ""
|
|
70
|
+
}
|
|
71
|
+
}, {
|
|
72
|
+
"title": {
|
|
73
|
+
"label": {
|
|
74
|
+
"type": "i18n",
|
|
75
|
+
"en-US": "click",
|
|
76
|
+
"zh-CN": "点击事件"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"name": "handleClick",
|
|
80
|
+
"description": "菜单点击事件",
|
|
81
|
+
"setter": {
|
|
82
|
+
"componentName": "FunctionSetter",
|
|
83
|
+
"isRequired": false,
|
|
84
|
+
"initialValue": ""
|
|
85
|
+
}
|
|
86
|
+
}],
|
|
87
|
+
"extraSetter": {
|
|
88
|
+
"componentName": "MixedSetter",
|
|
89
|
+
"isRequired": false,
|
|
90
|
+
"props": {}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"initialValue": [{
|
|
97
|
+
title: '我的名片',
|
|
98
|
+
iconUrl: 'http://122.225.55.70:18084/files/upload/2024/09/12/139d14911a124bfc956a7f725e9470e1.png'
|
|
99
|
+
}, {
|
|
100
|
+
title: '邀请人名片',
|
|
101
|
+
iconUrl: 'http://122.225.55.70:18084/files/upload/2024/09/12/50cdc578b82f48a2af504b283fd3c8e5.png'
|
|
102
|
+
}, {
|
|
103
|
+
title: '在线留言',
|
|
104
|
+
iconUrl: 'http://122.225.55.70:18084/files/upload/2024/09/12/204802207fff4aaca5b002adebfa4b94.png'
|
|
105
|
+
}, {
|
|
106
|
+
title: '联系我们',
|
|
107
|
+
iconUrl: 'http://122.225.55.70:18084/files/upload/2024/09/12/70a8c6d97c084484a1e19bb7ff1489d3.png'
|
|
108
|
+
}, {
|
|
109
|
+
title: '帮助中心',
|
|
110
|
+
iconUrl: 'http://122.225.55.70:18084/files/upload/2024/09/12/02b52f9fe2294cd68b5a1f09a229194f.png'
|
|
111
|
+
}, {
|
|
112
|
+
title: '退出登录',
|
|
113
|
+
iconUrl: 'http://122.225.55.70:18084/files/upload/2024/09/12/15ac6db27c84409fbacb2ee7826c31ab.png'
|
|
114
|
+
}]
|
|
115
|
+
}
|
|
116
|
+
}],
|
|
117
|
+
"supports": {
|
|
118
|
+
"style": true
|
|
119
|
+
},
|
|
120
|
+
"component": {}
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
var snippets = [{
|
|
124
|
+
"title": "列表菜单组件",
|
|
125
|
+
"screenshot": "",
|
|
126
|
+
"schema": {
|
|
127
|
+
"componentName": "MenuList",
|
|
128
|
+
"props": {}
|
|
129
|
+
}
|
|
130
|
+
}];
|
|
131
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, MenuListMeta, {
|
|
132
|
+
snippets: snippets
|
|
133
|
+
});
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -4,11 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.components = exports.componentList = void 0;
|
|
6
6
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
-
var _meta = _interopRequireDefault(require("
|
|
8
|
-
var _meta2 = _interopRequireDefault(require("
|
|
9
|
-
var _meta3 = _interopRequireDefault(require("
|
|
10
|
-
var _meta4 = _interopRequireDefault(require("
|
|
11
|
-
var _meta5 = _interopRequireDefault(require("
|
|
7
|
+
var _meta = _interopRequireDefault(require("./d-c-slider/meta"));
|
|
8
|
+
var _meta2 = _interopRequireDefault(require("./menu-list/meta"));
|
|
9
|
+
var _meta3 = _interopRequireDefault(require("./navigation/meta"));
|
|
10
|
+
var _meta4 = _interopRequireDefault(require("./teletext-list/meta"));
|
|
11
|
+
var _meta5 = _interopRequireDefault(require("./title1/meta"));
|
|
12
|
+
var _meta6 = _interopRequireDefault(require("./title2/meta"));
|
|
12
13
|
var componentCategorySort = {};
|
|
13
14
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
14
15
|
componentCategorySort[item] = ++index;
|
|
@@ -80,7 +81,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
80
81
|
packageName = '@dckj-npm/dc-material';
|
|
81
82
|
}
|
|
82
83
|
if (version === void 0) {
|
|
83
|
-
version = '0.1.
|
|
84
|
+
version = '0.1.8';
|
|
84
85
|
}
|
|
85
86
|
if (basicLibraryVersion === void 0) {
|
|
86
87
|
basicLibraryVersion = {
|
|
@@ -107,7 +108,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
107
108
|
}
|
|
108
109
|
return meta;
|
|
109
110
|
}
|
|
110
|
-
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"]];
|
|
111
|
+
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"], _meta6["default"]];
|
|
111
112
|
var components = exports.components = [];
|
|
112
113
|
var npmInfo = {};
|
|
113
114
|
componentMetas.forEach(function (meta) {
|
|
@@ -1,22 +1,22 @@
|
|
|
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;
|
|
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;
|
|
@@ -1,22 +1,22 @@
|
|
|
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;
|
|
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;
|