@dckj-npm/dc-material 0.1.126 → 0.1.128
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 +1 -1
- package/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +6 -6
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +6 -6
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +2 -2
- package/dist/BizComps.js.map +1 -1
- package/es/components/message-list/message-list-item.scss +1 -1
- package/es/components/notice-bar/index.scss +6 -6
- package/es/components/stream-list/index.d.ts +6 -0
- package/es/components/stream-list/index.js +6 -0
- package/es/components/stream-list/index.scss +26 -0
- package/es/components/stream-list/stream-list.d.ts +54 -0
- package/es/components/stream-list/stream-list.js +159 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +4 -0
- package/lib/components/message-list/message-list-item.scss +1 -1
- package/lib/components/notice-bar/index.scss +6 -6
- package/lib/components/stream-list/index.d.ts +6 -0
- package/lib/components/stream-list/index.js +6 -0
- package/lib/components/stream-list/index.scss +26 -0
- package/lib/components/stream-list/stream-list.d.ts +54 -0
- package/lib/components/stream-list/stream-list.js +166 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +5 -1
- package/lowcode/button2/meta.ts +59 -58
- package/lowcode/custom-radio-group/meta.ts +3 -1
- package/lowcode/custom-radio-group-item/meta.ts +185 -184
- package/lowcode/d-c-slider/meta.design.ts +3 -2
- package/lowcode/d-c-slider/meta.ts +16 -15
- package/lowcode/goods-card-list/meta.ts +3 -1
- package/lowcode/goods-card-list-common/meta.ts +3 -1
- package/lowcode/grid-nav/meta.ts +144 -129
- package/lowcode/integral-task/meta.ts +141 -140
- package/lowcode/menu-list/meta.ts +114 -107
- package/lowcode/message-list/meta.ts +105 -98
- package/lowcode/navigation/meta.ts +139 -127
- package/lowcode/notice-bar/meta.ts +6 -4
- package/lowcode/position/meta.ts +111 -110
- package/lowcode/rich-text/meta.ts +49 -50
- package/lowcode/search-bar/meta.ts +38 -35
- package/lowcode/stream-list/meta.ts +209 -0
- package/lowcode/swiper/meta.ts +102 -1
- package/lowcode/tab-container/meta.ts +45 -44
- package/lowcode/tab-message/meta.ts +84 -80
- package/lowcode/tag-c/meta.ts +59 -58
- package/lowcode/teletext-list/meta.ts +11 -17
- package/lowcode/title1/meta.ts +47 -46
- package/lowcode/title2/meta.ts +73 -72
- package/lowcode_es/button2/meta.js +48 -46
- package/lowcode_es/custom-radio-group/meta.js +3 -1
- package/lowcode_es/custom-radio-group-item/meta.js +152 -150
- package/lowcode_es/d-c-slider/meta.d.ts +3 -1
- package/lowcode_es/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_es/d-c-slider/meta.design.js +2 -1
- package/lowcode_es/d-c-slider/meta.js +8 -7
- package/lowcode_es/goods-card-list/meta.js +3 -1
- package/lowcode_es/goods-card-list-common/meta.js +3 -1
- package/lowcode_es/grid-nav/meta.js +109 -108
- package/lowcode_es/integral-task/meta.js +101 -99
- package/lowcode_es/menu-list/meta.js +79 -77
- package/lowcode_es/message-list/meta.js +65 -63
- package/lowcode_es/meta.js +3 -2
- package/lowcode_es/navigation/meta.js +98 -96
- package/lowcode_es/notice-bar/meta.js +3 -1
- package/lowcode_es/position/meta.js +77 -75
- package/lowcode_es/rich-text/meta.js +34 -32
- package/lowcode_es/search-bar/meta.js +23 -21
- package/lowcode_es/stream-list/meta.d.ts +22 -0
- package/lowcode_es/stream-list/meta.js +196 -0
- package/lowcode_es/swiper/meta.js +91 -1
- package/lowcode_es/tab-container/meta.d.ts +1 -1
- package/lowcode_es/tab-container/meta.js +27 -26
- package/lowcode_es/tab-message/meta.js +66 -64
- package/lowcode_es/tag-c/meta.js +48 -46
- package/lowcode_es/teletext-list/meta.js +4 -9
- package/lowcode_es/title1/meta.js +37 -35
- package/lowcode_es/title2/meta.js +61 -59
- package/lowcode_lib/button2/meta.js +48 -46
- package/lowcode_lib/custom-radio-group/meta.js +3 -1
- package/lowcode_lib/custom-radio-group-item/meta.js +152 -150
- package/lowcode_lib/d-c-slider/meta.d.ts +3 -1
- package/lowcode_lib/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_lib/d-c-slider/meta.design.js +2 -1
- package/lowcode_lib/d-c-slider/meta.js +8 -7
- package/lowcode_lib/goods-card-list/meta.js +3 -1
- package/lowcode_lib/goods-card-list-common/meta.js +3 -1
- package/lowcode_lib/grid-nav/meta.js +109 -108
- package/lowcode_lib/integral-task/meta.js +101 -99
- package/lowcode_lib/menu-list/meta.js +79 -77
- package/lowcode_lib/message-list/meta.js +65 -63
- package/lowcode_lib/meta.js +11 -10
- package/lowcode_lib/navigation/meta.js +98 -96
- package/lowcode_lib/notice-bar/meta.js +3 -1
- package/lowcode_lib/position/meta.js +77 -75
- package/lowcode_lib/rich-text/meta.js +34 -32
- package/lowcode_lib/search-bar/meta.js +23 -21
- package/lowcode_lib/stream-list/meta.d.ts +22 -0
- package/lowcode_lib/stream-list/meta.js +201 -0
- package/lowcode_lib/swiper/meta.js +91 -1
- package/lowcode_lib/tab-container/meta.d.ts +1 -1
- package/lowcode_lib/tab-container/meta.js +27 -26
- package/lowcode_lib/tab-message/meta.js +66 -64
- package/lowcode_lib/tag-c/meta.js +48 -46
- package/lowcode_lib/teletext-list/meta.js +4 -9
- package/lowcode_lib/title1/meta.js +37 -35
- package/lowcode_lib/title2/meta.js +61 -59
- package/package.json +3 -3
package/lowcode/grid-nav/meta.ts
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
3
2
|
|
|
4
3
|
const GridNavMeta: IPublicTypeComponentMetadata = {
|
|
5
4
|
group: '低代码组件',
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
componentName: 'GridNav',
|
|
6
|
+
title: '宫格导航',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@dckj-npm/dc-material',
|
|
12
|
+
version: '0.1.0',
|
|
13
|
+
exportName: 'GridNav',
|
|
14
|
+
main: 'src\\index.tsx',
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: '',
|
|
18
17
|
},
|
|
19
|
-
|
|
18
|
+
configure: {
|
|
20
19
|
component: {
|
|
21
20
|
isContainer: true,
|
|
21
|
+
disableBehaviors: ['copy'],
|
|
22
22
|
},
|
|
23
|
-
|
|
23
|
+
props: [
|
|
24
24
|
{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
title: '数据源配置',
|
|
26
|
+
name: 'dataSourceSetting',
|
|
27
|
+
setter: {
|
|
28
|
+
componentName: 'ArraySetter',
|
|
29
|
+
props: {
|
|
30
|
+
itemSetter: {
|
|
31
|
+
componentName: 'ObjectSetter',
|
|
32
|
+
props: {
|
|
33
|
+
config: {
|
|
34
|
+
items: [
|
|
35
35
|
{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
36
|
+
title: '跳转链接',
|
|
37
|
+
name: 'link',
|
|
38
|
+
setter: {
|
|
39
|
+
componentName: 'StringSetter',
|
|
40
|
+
isRequired: true,
|
|
41
|
+
initialValue: '',
|
|
42
|
+
},
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
45
|
+
title: '图标链接',
|
|
46
|
+
name: 'icon',
|
|
47
|
+
setter: {
|
|
48
|
+
componentName: 'StringSetter',
|
|
49
|
+
isRequired: true,
|
|
50
|
+
initialValue: '',
|
|
51
|
+
},
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
}
|
|
54
|
+
title: '标题',
|
|
55
|
+
name: 'title',
|
|
56
|
+
setter: {
|
|
57
|
+
componentName: 'StringSetter',
|
|
58
|
+
isRequired: true,
|
|
59
|
+
initialValue: '',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
62
|
],
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
63
|
+
extraSetter: {
|
|
64
|
+
componentName: 'MixedSetter',
|
|
65
|
+
isRequired: false,
|
|
66
|
+
props: {},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
71
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
72
|
+
isRequired: true,
|
|
73
|
+
initialValue: [],
|
|
74
|
+
},
|
|
75
75
|
},
|
|
76
76
|
// {
|
|
77
77
|
// name: 'dataSourceSetting',
|
|
@@ -90,67 +90,67 @@ const GridNavMeta: IPublicTypeComponentMetadata = {
|
|
|
90
90
|
// }
|
|
91
91
|
// },
|
|
92
92
|
{
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
93
|
+
title: '每行列数',
|
|
94
|
+
name: 'columns',
|
|
95
|
+
setter: {
|
|
96
|
+
componentName: 'NumberSetter',
|
|
97
|
+
isRequired: true,
|
|
98
|
+
initialValue: 4,
|
|
99
|
+
},
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
102
|
+
title: 'icon尺寸',
|
|
103
|
+
name: 'iconSize',
|
|
104
|
+
defaultValue: 'medium',
|
|
105
|
+
initialValue: 'medium',
|
|
106
|
+
setter: {
|
|
107
|
+
componentName: 'SelectSetter',
|
|
108
|
+
initialValue: 'medium',
|
|
109
|
+
props: {
|
|
110
|
+
defaultValue: 'medium',
|
|
111
|
+
options: [
|
|
112
112
|
{
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
title: '大',
|
|
114
|
+
value: 'large',
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
title: '中',
|
|
118
|
+
value: 'medium',
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
title: '小',
|
|
122
|
+
value: 'small',
|
|
123
123
|
},
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
}
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
129
|
+
title: '字重',
|
|
130
|
+
name: 'fontWeight',
|
|
131
|
+
defaultValue: 'normal',
|
|
132
|
+
initialValue: 'normal',
|
|
133
|
+
setter: {
|
|
134
|
+
componentName: 'SelectSetter',
|
|
135
|
+
initialValue: 'normal',
|
|
136
|
+
props: {
|
|
137
|
+
defaultValue: 'normal',
|
|
138
|
+
options: [
|
|
139
139
|
{
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
title: '细',
|
|
141
|
+
value: '100',
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
title: '正常',
|
|
145
|
+
value: 'normal',
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
title: '粗',
|
|
149
|
+
value: 'bold',
|
|
150
150
|
},
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
}
|
|
151
|
+
],
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
name: 'fontSize',
|
|
@@ -164,7 +164,7 @@ const GridNavMeta: IPublicTypeComponentMetadata = {
|
|
|
164
164
|
propType: 'string',
|
|
165
165
|
setter: 'ColorSetter',
|
|
166
166
|
defaultValue: '#222',
|
|
167
|
-
initialValue: '#222'
|
|
167
|
+
initialValue: '#222',
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
name: 'lineHeight',
|
|
@@ -178,35 +178,50 @@ const GridNavMeta: IPublicTypeComponentMetadata = {
|
|
|
178
178
|
defaultValue: 1,
|
|
179
179
|
setter: 'NumberSetter',
|
|
180
180
|
},
|
|
181
|
-
|
|
182
181
|
],
|
|
183
182
|
supports: {
|
|
184
|
-
style: true
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
183
|
+
style: true,
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
}
|
|
188
187
|
const snippets: IPublicTypeSnippet[] = [
|
|
189
188
|
{
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
{
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
189
|
+
title: '宫格导航',
|
|
190
|
+
screenshot: '',
|
|
191
|
+
schema: {
|
|
192
|
+
componentName: 'GridNav',
|
|
193
|
+
props: {
|
|
194
|
+
columns: 4,
|
|
195
|
+
dataSourceSetting: [
|
|
196
|
+
{
|
|
197
|
+
title: '导航项',
|
|
198
|
+
icon: 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
|
|
199
|
+
link: '#',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
title: '导航项',
|
|
203
|
+
icon: 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
|
|
204
|
+
link: '#',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
title: '导航项',
|
|
208
|
+
icon: 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
|
|
209
|
+
link: '#',
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
title: '导航项',
|
|
213
|
+
icon: 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
|
|
214
|
+
link: '#',
|
|
215
|
+
},
|
|
201
216
|
],
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
]
|
|
217
|
+
iconSize: 'medium',
|
|
218
|
+
fontWeight: 'normal',
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
]
|
|
208
223
|
|
|
209
224
|
export default {
|
|
210
225
|
...GridNavMeta,
|
|
211
|
-
snippets
|
|
212
|
-
}
|
|
226
|
+
snippets,
|
|
227
|
+
}
|