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