@dckj-npm/dc-material 0.1.30 → 0.1.32
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 +7 -7
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +2 -2
- package/dist/BizComps.js.map +1 -1
- package/es/components/carousel/carousel.scss +1 -1
- package/es/components/goods-card-list/goods-card-list.js +19 -2
- package/es/components/goods-card-list/goods-card-list.scss +25 -6
- package/es/components/goods-card-list/types.d.ts +4 -0
- package/es/components/radio-group/radio-group.js +16 -3
- package/es/components/tab-container/tab-container.js +0 -1
- package/lib/components/carousel/carousel.scss +1 -1
- package/lib/components/goods-card-list/goods-card-list.js +19 -2
- package/lib/components/goods-card-list/goods-card-list.scss +25 -6
- package/lib/components/goods-card-list/types.d.ts +4 -0
- package/lib/components/radio-group/radio-group.js +16 -3
- package/lib/components/tab-container/tab-container.js +0 -1
- package/lowcode/custom-radio-group/meta.ts +235 -218
- package/lowcode/goods-card-list/meta.ts +6 -0
- package/lowcode_es/custom-radio-group/meta.js +201 -181
- package/lowcode_es/goods-card-list/meta.js +5 -0
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/custom-radio-group/meta.js +201 -181
- package/lowcode_lib/goods-card-list/meta.js +5 -0
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
- package/build/docs/404.html +0 -47
- package/build/docs/_demos/:uuid +0 -47
- 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.19a78b0f.js +0 -1
- package/build/docs/umi.5357b0f6.css +0 -8
- package/build/docs/~demos/:uuid.html +0 -47
- package/build/docs/~demos/colorful-button-demo.html +0 -47
- package/build/docs/~demos/colorful-input-demo.html +0 -47
|
@@ -1,78 +1,98 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
var CustomRadioGroupMeta = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"package":
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
group: '低代码组件',
|
|
4
|
+
componentName: 'CustomRadioGroup',
|
|
5
|
+
title: '单选组',
|
|
6
|
+
docUrl: '',
|
|
7
|
+
screenshot: '',
|
|
8
|
+
devMode: 'proCode',
|
|
9
|
+
npm: {
|
|
10
|
+
"package": '@dckj-npm/dc-material',
|
|
11
|
+
version: '0.1.27',
|
|
12
|
+
exportName: 'CustomRadioGroup',
|
|
13
|
+
main: 'src/index.tsx',
|
|
14
|
+
destructuring: true,
|
|
15
|
+
subName: ''
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
configure: {
|
|
18
|
+
props: [{
|
|
19
|
+
name: '数据源绑定',
|
|
20
|
+
setter: {
|
|
21
|
+
componentName: 'SetterFormVariable',
|
|
22
|
+
props: {
|
|
23
|
+
attributes: [{
|
|
24
|
+
label: '选项',
|
|
25
|
+
value: 'options',
|
|
26
|
+
children: [{
|
|
27
|
+
label: '值',
|
|
28
|
+
isRequire: true,
|
|
29
|
+
value: 'value'
|
|
30
|
+
}, {
|
|
31
|
+
label: '名称',
|
|
32
|
+
isRequire: true,
|
|
33
|
+
value: 'label'
|
|
34
|
+
}]
|
|
35
|
+
}]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
title: {
|
|
40
|
+
label: {
|
|
41
|
+
type: 'i18n',
|
|
42
|
+
'en-US': 'options',
|
|
43
|
+
'zh-CN': '选项'
|
|
24
44
|
},
|
|
25
|
-
|
|
45
|
+
tip: 'options | 选项'
|
|
26
46
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
47
|
+
name: 'options',
|
|
48
|
+
description: '选项',
|
|
49
|
+
setter: {
|
|
50
|
+
componentName: 'ArraySetter',
|
|
51
|
+
props: {
|
|
52
|
+
itemSetter: {
|
|
53
|
+
componentName: 'ObjectSetter',
|
|
54
|
+
props: {
|
|
55
|
+
config: {
|
|
56
|
+
items: [{
|
|
57
|
+
title: {
|
|
58
|
+
label: {
|
|
59
|
+
type: 'i18n',
|
|
60
|
+
'en-US': 'label',
|
|
61
|
+
'zh-CN': 'label'
|
|
42
62
|
}
|
|
43
63
|
},
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
64
|
+
name: 'label',
|
|
65
|
+
setter: {
|
|
66
|
+
componentName: 'StringSetter',
|
|
67
|
+
isRequired: true,
|
|
68
|
+
initialValue: ''
|
|
49
69
|
}
|
|
50
70
|
}, {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
71
|
+
title: {
|
|
72
|
+
label: {
|
|
73
|
+
type: 'i18n',
|
|
74
|
+
'en-US': 'value',
|
|
75
|
+
'zh-CN': 'value'
|
|
56
76
|
}
|
|
57
77
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
78
|
+
name: 'value',
|
|
79
|
+
setter: {
|
|
80
|
+
componentName: 'StringSetter',
|
|
81
|
+
isRequired: true,
|
|
82
|
+
initialValue: ''
|
|
63
83
|
}
|
|
64
84
|
}],
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
85
|
+
extraSetter: {
|
|
86
|
+
componentName: 'MixedSetter',
|
|
87
|
+
isRequired: false,
|
|
88
|
+
props: {}
|
|
69
89
|
}
|
|
70
90
|
}
|
|
71
91
|
}
|
|
72
92
|
}
|
|
73
93
|
},
|
|
74
|
-
|
|
75
|
-
|
|
94
|
+
isRequired: true,
|
|
95
|
+
initialValue: [{
|
|
76
96
|
label: '标签',
|
|
77
97
|
value: '1'
|
|
78
98
|
}, {
|
|
@@ -90,175 +110,175 @@ var CustomRadioGroupMeta = {
|
|
|
90
110
|
}]
|
|
91
111
|
}
|
|
92
112
|
}, {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
113
|
+
title: {
|
|
114
|
+
label: {
|
|
115
|
+
type: 'i18n',
|
|
116
|
+
'en-US': 'defaultValue',
|
|
117
|
+
'zh-CN': '默认值'
|
|
98
118
|
},
|
|
99
|
-
|
|
119
|
+
tip: 'defaultValue | 默认值'
|
|
100
120
|
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
121
|
+
name: 'defaultValue',
|
|
122
|
+
description: '默认值',
|
|
123
|
+
setter: {
|
|
124
|
+
componentName: 'StringSetter',
|
|
125
|
+
isRequired: false,
|
|
126
|
+
initialValue: ''
|
|
107
127
|
}
|
|
108
128
|
}, {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
129
|
+
title: {
|
|
130
|
+
label: {
|
|
131
|
+
type: 'i18n',
|
|
132
|
+
'en-US': 'isWrap',
|
|
133
|
+
'zh-CN': '是否换行'
|
|
114
134
|
},
|
|
115
|
-
|
|
135
|
+
tip: 'isWrap | 是否换行'
|
|
116
136
|
},
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
137
|
+
name: 'isWrap',
|
|
138
|
+
description: '是否换行',
|
|
139
|
+
setter: {
|
|
140
|
+
componentName: 'BoolSetter',
|
|
141
|
+
isRequired: false,
|
|
142
|
+
initialValue: true
|
|
123
143
|
}
|
|
124
144
|
}, {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
145
|
+
title: {
|
|
146
|
+
label: {
|
|
147
|
+
type: 'i18n',
|
|
148
|
+
'en-US': 'selectColor',
|
|
149
|
+
'zh-CN': '选中颜色'
|
|
130
150
|
},
|
|
131
|
-
|
|
151
|
+
tip: 'selectColor | 选中颜色'
|
|
132
152
|
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
153
|
+
name: 'selectColor',
|
|
154
|
+
description: '选中颜色',
|
|
155
|
+
setter: {
|
|
156
|
+
componentName: 'ColorSetter',
|
|
157
|
+
isRequired: false,
|
|
158
|
+
initialValue: '#F5743F'
|
|
139
159
|
}
|
|
140
160
|
}, {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
161
|
+
title: {
|
|
162
|
+
label: {
|
|
163
|
+
type: 'i18n',
|
|
164
|
+
'en-US': 'selectTextColor',
|
|
165
|
+
'zh-CN': '选中的文字颜色'
|
|
146
166
|
},
|
|
147
|
-
|
|
167
|
+
tip: 'selectTextColor | 选中的文字颜色'
|
|
148
168
|
},
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
169
|
+
name: 'selectTextColor',
|
|
170
|
+
description: '选中的文字颜色',
|
|
171
|
+
setter: {
|
|
172
|
+
componentName: 'ColorSetter',
|
|
173
|
+
isRequired: false,
|
|
174
|
+
initialValue: '#FFFFFF'
|
|
155
175
|
}
|
|
156
176
|
}, {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
177
|
+
title: {
|
|
178
|
+
label: {
|
|
179
|
+
type: 'i18n',
|
|
180
|
+
'en-US': 'unSelectColor',
|
|
181
|
+
'zh-CN': '未选中颜色'
|
|
162
182
|
},
|
|
163
|
-
|
|
183
|
+
tip: 'unSelectColor | 未选中颜色'
|
|
164
184
|
},
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
185
|
+
name: 'unSelectColor',
|
|
186
|
+
description: '未选中颜色',
|
|
187
|
+
setter: {
|
|
188
|
+
componentName: 'ColorSetter',
|
|
189
|
+
isRequired: false,
|
|
190
|
+
initialValue: '#F0F0F0'
|
|
171
191
|
}
|
|
172
192
|
}, {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
193
|
+
title: {
|
|
194
|
+
label: {
|
|
195
|
+
type: 'i18n',
|
|
196
|
+
'en-US': 'unSelectTextColor',
|
|
197
|
+
'zh-CN': '未选中的文字颜色'
|
|
178
198
|
},
|
|
179
|
-
|
|
199
|
+
tip: 'unSelectTextColor | 未选中的文字颜色'
|
|
180
200
|
},
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
201
|
+
name: 'unSelectTextColor',
|
|
202
|
+
description: '未选中的文字颜色',
|
|
203
|
+
setter: {
|
|
204
|
+
componentName: 'ColorSetter',
|
|
205
|
+
isRequired: false,
|
|
206
|
+
initialValue: '#666666'
|
|
187
207
|
}
|
|
188
208
|
}, {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
209
|
+
title: {
|
|
210
|
+
label: {
|
|
211
|
+
type: 'i18n',
|
|
212
|
+
'en-US': 'onChange',
|
|
213
|
+
'zh-CN': '改变事件'
|
|
194
214
|
},
|
|
195
|
-
|
|
215
|
+
tip: 'onChange | 改变事件'
|
|
196
216
|
},
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
217
|
+
name: 'onChange',
|
|
218
|
+
description: '改变事件',
|
|
219
|
+
setter: {
|
|
220
|
+
componentName: 'FunctionSetter'
|
|
201
221
|
}
|
|
202
222
|
}, {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
223
|
+
title: {
|
|
224
|
+
label: {
|
|
225
|
+
type: 'i18n',
|
|
226
|
+
'en-US': 'type',
|
|
227
|
+
'zh-CN': '类型'
|
|
208
228
|
},
|
|
209
|
-
|
|
229
|
+
tip: 'type | 类型'
|
|
210
230
|
},
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
231
|
+
name: 'type',
|
|
232
|
+
description: '类型',
|
|
233
|
+
setter: {
|
|
234
|
+
componentName: 'RadioGroupSetter',
|
|
235
|
+
props: {
|
|
236
|
+
dataSource: [{
|
|
237
|
+
label: 'text',
|
|
238
|
+
value: 'text'
|
|
219
239
|
}, {
|
|
220
|
-
|
|
221
|
-
|
|
240
|
+
label: 'button',
|
|
241
|
+
value: 'button'
|
|
222
242
|
}],
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
243
|
+
options: [{
|
|
244
|
+
label: 'text',
|
|
245
|
+
value: 'text'
|
|
226
246
|
}, {
|
|
227
|
-
|
|
228
|
-
|
|
247
|
+
label: 'button',
|
|
248
|
+
value: 'button'
|
|
229
249
|
}]
|
|
230
250
|
},
|
|
231
|
-
|
|
251
|
+
initialValue: 'button'
|
|
232
252
|
}
|
|
233
253
|
}, {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
254
|
+
title: {
|
|
255
|
+
label: {
|
|
256
|
+
type: 'i18n',
|
|
257
|
+
'en-US': 'name',
|
|
258
|
+
'zh-CN': '名称'
|
|
239
259
|
},
|
|
240
|
-
|
|
260
|
+
tip: 'name | 名称'
|
|
241
261
|
},
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
262
|
+
name: 'name',
|
|
263
|
+
description: '名称',
|
|
264
|
+
setter: {
|
|
265
|
+
componentName: 'StringSetter',
|
|
266
|
+
isRequired: false,
|
|
267
|
+
initialValue: ''
|
|
248
268
|
}
|
|
249
269
|
}],
|
|
250
|
-
|
|
251
|
-
|
|
270
|
+
supports: {
|
|
271
|
+
style: true
|
|
252
272
|
},
|
|
253
|
-
|
|
273
|
+
component: {}
|
|
254
274
|
}
|
|
255
275
|
};
|
|
256
276
|
var snippets = [{
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
277
|
+
title: '单选组',
|
|
278
|
+
screenshot: '',
|
|
279
|
+
schema: {
|
|
280
|
+
componentName: 'CustomRadioGroup',
|
|
281
|
+
props: {},
|
|
262
282
|
children: [{
|
|
263
283
|
componentName: 'CustomRadioGroupItem',
|
|
264
284
|
props: {
|
package/lowcode_es/meta.js
CHANGED
|
@@ -91,7 +91,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
91
91
|
packageName = '@dckj-npm/dc-material';
|
|
92
92
|
}
|
|
93
93
|
if (version === void 0) {
|
|
94
|
-
version = '0.1.
|
|
94
|
+
version = '0.1.32';
|
|
95
95
|
}
|
|
96
96
|
if (basicLibraryVersion === void 0) {
|
|
97
97
|
basicLibraryVersion = {
|