@dckj-npm/dc-material 0.1.26 → 0.1.28

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 (52) hide show
  1. package/build/docs/colorful-button.html +48 -0
  2. package/build/docs/colorful-input.html +48 -0
  3. package/build/docs/index.html +48 -0
  4. package/build/docs/umi.1db9e2cc.css +8 -0
  5. package/build/docs/umi.c18d41ab.js +1 -0
  6. package/build/docs/~demos/colorful-button-demo.html +47 -0
  7. package/build/docs/~demos/colorful-input-demo.html +47 -0
  8. package/build/lowcode/assets-daily.json +13 -13
  9. package/build/lowcode/assets-dev.json +2 -2
  10. package/build/lowcode/assets-prod.json +13 -13
  11. package/build/lowcode/index.js +1 -1
  12. package/build/lowcode/meta.design.js +1 -1
  13. package/build/lowcode/meta.js +1 -1
  14. package/build/lowcode/preview.js +5 -5
  15. package/build/lowcode/render/default/view.css +1 -1
  16. package/build/lowcode/render/default/view.js +6 -6
  17. package/build/lowcode/view.css +1 -1
  18. package/build/lowcode/view.js +6 -6
  19. package/dist/BizComps.css +1 -1
  20. package/dist/BizComps.js +2 -2
  21. package/dist/BizComps.js.map +1 -1
  22. package/es/components/radio-group/index.d.ts +8 -0
  23. package/es/components/radio-group/index.js +7 -0
  24. package/es/components/radio-group/index.scss +40 -0
  25. package/es/components/radio-group/radio-group-item.d.ts +48 -0
  26. package/es/components/radio-group/radio-group-item.js +74 -0
  27. package/es/components/radio-group/radio-group.d.ts +52 -0
  28. package/es/components/radio-group/radio-group.js +65 -0
  29. package/es/index.d.ts +2 -0
  30. package/es/index.js +4 -0
  31. package/lib/components/radio-group/index.d.ts +8 -0
  32. package/lib/components/radio-group/index.js +8 -0
  33. package/lib/components/radio-group/index.scss +40 -0
  34. package/lib/components/radio-group/radio-group-item.d.ts +48 -0
  35. package/lib/components/radio-group/radio-group-item.js +79 -0
  36. package/lib/components/radio-group/radio-group.d.ts +52 -0
  37. package/lib/components/radio-group/radio-group.js +72 -0
  38. package/lib/index.d.ts +2 -0
  39. package/lib/index.js +6 -1
  40. package/lowcode/custom-radio-group/meta.ts +293 -0
  41. package/lowcode/custom-radio-group-item/meta.ts +229 -0
  42. package/lowcode_es/custom-radio-group/meta.d.ts +22 -0
  43. package/lowcode_es/custom-radio-group/meta.js +274 -0
  44. package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -0
  45. package/lowcode_es/custom-radio-group-item/meta.js +205 -0
  46. package/lowcode_es/meta.js +4 -2
  47. package/lowcode_lib/custom-radio-group/meta.d.ts +22 -0
  48. package/lowcode_lib/custom-radio-group/meta.js +279 -0
  49. package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -0
  50. package/lowcode_lib/custom-radio-group-item/meta.js +210 -0
  51. package/lowcode_lib/meta.js +21 -19
  52. package/package.json +3 -3
@@ -0,0 +1,274 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
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": ""
16
+ },
17
+ "configure": {
18
+ "props": [{
19
+ "title": {
20
+ "label": {
21
+ "type": "i18n",
22
+ "en-US": "options",
23
+ "zh-CN": "选项"
24
+ },
25
+ "tip": "options | 选项"
26
+ },
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"
42
+ }
43
+ },
44
+ "name": "label",
45
+ "setter": {
46
+ "componentName": "StringSetter",
47
+ "isRequired": true,
48
+ "initialValue": ""
49
+ }
50
+ }, {
51
+ "title": {
52
+ "label": {
53
+ "type": "i18n",
54
+ "en-US": "value",
55
+ "zh-CN": "value"
56
+ }
57
+ },
58
+ "name": "value",
59
+ "setter": {
60
+ "componentName": "StringSetter",
61
+ "isRequired": true,
62
+ "initialValue": ""
63
+ }
64
+ }],
65
+ "extraSetter": {
66
+ "componentName": "MixedSetter",
67
+ "isRequired": false,
68
+ "props": {}
69
+ }
70
+ }
71
+ }
72
+ }
73
+ },
74
+ "isRequired": true,
75
+ "initialValue": [{
76
+ label: '标签',
77
+ value: '1'
78
+ }, {
79
+ label: '标签',
80
+ value: '2'
81
+ }, {
82
+ label: '标签',
83
+ value: '3'
84
+ }, {
85
+ label: '标签',
86
+ value: '4'
87
+ }, {
88
+ label: '标签',
89
+ value: '5'
90
+ }]
91
+ }
92
+ }, {
93
+ "title": {
94
+ "label": {
95
+ "type": "i18n",
96
+ "en-US": "defaultValue",
97
+ "zh-CN": "默认值"
98
+ },
99
+ "tip": "defaultValue | 默认值"
100
+ },
101
+ "name": "defaultValue",
102
+ "description": "默认值",
103
+ "setter": {
104
+ "componentName": "StringSetter",
105
+ "isRequired": false,
106
+ "initialValue": ""
107
+ }
108
+ }, {
109
+ "title": {
110
+ "label": {
111
+ "type": "i18n",
112
+ "en-US": "isWrap",
113
+ "zh-CN": "是否换行"
114
+ },
115
+ "tip": "isWrap | 是否换行"
116
+ },
117
+ "name": "isWrap",
118
+ "description": "是否换行",
119
+ "setter": {
120
+ "componentName": "BoolSetter",
121
+ "isRequired": false,
122
+ "initialValue": true
123
+ }
124
+ }, {
125
+ "title": {
126
+ "label": {
127
+ "type": "i18n",
128
+ "en-US": "selectColor",
129
+ "zh-CN": "选中颜色"
130
+ },
131
+ "tip": "selectColor | 选中颜色"
132
+ },
133
+ "name": "selectColor",
134
+ "description": "选中颜色",
135
+ "setter": {
136
+ "componentName": "ColorSetter",
137
+ "isRequired": false,
138
+ "initialValue": "#F5743F"
139
+ }
140
+ }, {
141
+ "title": {
142
+ "label": {
143
+ "type": "i18n",
144
+ "en-US": "selectTextColor",
145
+ "zh-CN": "选中的文字颜色"
146
+ },
147
+ "tip": "selectTextColor | 选中的文字颜色"
148
+ },
149
+ "name": "selectTextColor",
150
+ "description": "选中的文字颜色",
151
+ "setter": {
152
+ "componentName": "ColorSetter",
153
+ "isRequired": false,
154
+ "initialValue": "#FFFFFF"
155
+ }
156
+ }, {
157
+ "title": {
158
+ "label": {
159
+ "type": "i18n",
160
+ "en-US": "unSelectColor",
161
+ "zh-CN": "未选中颜色"
162
+ },
163
+ "tip": "unSelectColor | 未选中颜色"
164
+ },
165
+ "name": "unSelectColor",
166
+ "description": "未选中颜色",
167
+ "setter": {
168
+ "componentName": "ColorSetter",
169
+ "isRequired": false,
170
+ "initialValue": "#F0F0F0"
171
+ }
172
+ }, {
173
+ "title": {
174
+ "label": {
175
+ "type": "i18n",
176
+ "en-US": "unSelectTextColor",
177
+ "zh-CN": "未选中的文字颜色"
178
+ },
179
+ "tip": "unSelectTextColor | 未选中的文字颜色"
180
+ },
181
+ "name": "unSelectTextColor",
182
+ "description": "未选中的文字颜色",
183
+ "setter": {
184
+ "componentName": "ColorSetter",
185
+ "isRequired": false,
186
+ "initialValue": "#666666"
187
+ }
188
+ }, {
189
+ "title": {
190
+ "label": {
191
+ "type": "i18n",
192
+ "en-US": "onChange",
193
+ "zh-CN": "改变事件"
194
+ },
195
+ "tip": "onChange | 改变事件"
196
+ },
197
+ "name": "onChange",
198
+ "description": "改变事件",
199
+ "setter": {
200
+ "componentName": "FunctionSetter"
201
+ }
202
+ }, {
203
+ "title": {
204
+ "label": {
205
+ "type": "i18n",
206
+ "en-US": "type",
207
+ "zh-CN": "类型"
208
+ },
209
+ "tip": "type | 类型"
210
+ },
211
+ "name": "type",
212
+ "description": "类型",
213
+ "setter": {
214
+ "componentName": "RadioGroupSetter",
215
+ "props": {
216
+ "dataSource": [{
217
+ "label": "text",
218
+ "value": "text"
219
+ }, {
220
+ "label": "button",
221
+ "value": "button"
222
+ }],
223
+ "options": [{
224
+ "label": "text",
225
+ "value": "text"
226
+ }, {
227
+ "label": "button",
228
+ "value": "button"
229
+ }]
230
+ },
231
+ "initialValue": "button"
232
+ }
233
+ }, {
234
+ "title": {
235
+ "label": {
236
+ "type": "i18n",
237
+ "en-US": "name",
238
+ "zh-CN": "名称"
239
+ },
240
+ "tip": "name | 名称"
241
+ },
242
+ "name": "name",
243
+ "description": "名称",
244
+ "setter": {
245
+ "componentName": "StringSetter",
246
+ "isRequired": false,
247
+ "initialValue": ""
248
+ }
249
+ }],
250
+ "supports": {
251
+ "style": true
252
+ },
253
+ "component": {}
254
+ }
255
+ };
256
+ var snippets = [{
257
+ "title": "单选组",
258
+ "screenshot": "",
259
+ "schema": {
260
+ "componentName": "CustomRadioGroup",
261
+ "props": {},
262
+ children: [{
263
+ componentName: 'CustomRadioGroupItem',
264
+ props: {
265
+ name: '报名火热',
266
+ color: 'orange',
267
+ key: 'custom-radio-group-item'
268
+ }
269
+ }]
270
+ }
271
+ }];
272
+ export default _extends({}, CustomRadioGroupMeta, {
273
+ snippets: snippets
274
+ });
@@ -0,0 +1,23 @@
1
+ import { IPublicTypeSnippet } from '@alilc/lowcode-types';
2
+ declare const _default: {
3
+ [x: string]: any;
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
+ snippets?: IPublicTypeSnippet[];
19
+ group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
20
+ category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
21
+ priority?: number;
22
+ };
23
+ export default _default;
@@ -0,0 +1,205 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ var CustomRadioGroupItemMeta = {
3
+ "group": "低代码组件",
4
+ "componentName": "CustomRadioGroupItem",
5
+ "title": "单选组项",
6
+ "docUrl": "",
7
+ "screenshot": "",
8
+ "devMode": "proCode",
9
+ "npm": {
10
+ "package": "@dckj-npm/dc-material",
11
+ "version": "0.1.27",
12
+ "exportName": "CustomRadioGroupItem",
13
+ "main": "src/index.tsx",
14
+ "destructuring": true,
15
+ "subName": ""
16
+ },
17
+ "configure": {
18
+ "props": [{
19
+ "title": {
20
+ "label": {
21
+ "type": "i18n",
22
+ "en-US": "label",
23
+ "zh-CN": "选项"
24
+ },
25
+ "tip": "label | 选项"
26
+ },
27
+ "name": "label",
28
+ "description": "选项",
29
+ "setter": {
30
+ "componentName": "StringSetter",
31
+ "isRequired": true,
32
+ "initialValue": "标签"
33
+ }
34
+ }, {
35
+ "title": {
36
+ "label": {
37
+ "type": "i18n",
38
+ "en-US": "value",
39
+ "zh-CN": "值"
40
+ }
41
+ },
42
+ "name": "value",
43
+ "setter": {
44
+ "componentName": "StringSetter",
45
+ "isRequired": true,
46
+ "initialValue": "value"
47
+ }
48
+ }, {
49
+ "title": {
50
+ "label": {
51
+ "type": "i18n",
52
+ "en-US": "checked",
53
+ "zh-CN": "是否选中"
54
+ },
55
+ "tip": "checked | 是否选中"
56
+ },
57
+ "name": "checked",
58
+ "description": "是否选中",
59
+ "setter": {
60
+ "componentName": "BoolSetter",
61
+ "isRequired": true,
62
+ "initialValue": false
63
+ }
64
+ }, {
65
+ "title": {
66
+ "label": {
67
+ "type": "i18n",
68
+ "en-US": "selectColor",
69
+ "zh-CN": "选中颜色"
70
+ },
71
+ "tip": "selectColor | 选中颜色"
72
+ },
73
+ "name": "selectColor",
74
+ "description": "选中颜色",
75
+ "setter": {
76
+ "componentName": "ColorSetter",
77
+ "isRequired": false,
78
+ "initialValue": "#F5743F"
79
+ }
80
+ }, {
81
+ "title": {
82
+ "label": {
83
+ "type": "i18n",
84
+ "en-US": "selectTextColor",
85
+ "zh-CN": "选中的文字颜色"
86
+ },
87
+ "tip": "selectTextColor | 选中的文字颜色"
88
+ },
89
+ "name": "selectTextColor",
90
+ "description": "选中的文字颜色",
91
+ "setter": {
92
+ "componentName": "ColorSetter",
93
+ "isRequired": false,
94
+ "initialValue": "#FFFFFF"
95
+ }
96
+ }, {
97
+ "title": {
98
+ "label": {
99
+ "type": "i18n",
100
+ "en-US": "unSelectColor",
101
+ "zh-CN": "未选中颜色"
102
+ },
103
+ "tip": "unSelectColor | 未选中颜色"
104
+ },
105
+ "name": "unSelectColor",
106
+ "description": "未选中颜色",
107
+ "setter": {
108
+ "componentName": "ColorSetter",
109
+ "isRequired": false,
110
+ "initialValue": "#F0F0F0"
111
+ }
112
+ }, {
113
+ "title": {
114
+ "label": {
115
+ "type": "i18n",
116
+ "en-US": "unSelectTextColor",
117
+ "zh-CN": "未选中的文字颜色"
118
+ },
119
+ "tip": "unSelectTextColor | 未选中的文字颜色"
120
+ },
121
+ "name": "unSelectTextColor",
122
+ "description": "未选中的文字颜色",
123
+ "setter": {
124
+ "componentName": "ColorSetter",
125
+ "isRequired": false,
126
+ "initialValue": "#666666"
127
+ }
128
+ }, {
129
+ "title": {
130
+ "label": {
131
+ "type": "i18n",
132
+ "en-US": "type",
133
+ "zh-CN": "类型"
134
+ },
135
+ "tip": "type | 类型"
136
+ },
137
+ "name": "type",
138
+ "description": "类型",
139
+ "setter": {
140
+ "componentName": "RadioGroupSetter",
141
+ "props": {
142
+ "dataSource": [{
143
+ "label": "text",
144
+ "value": "text"
145
+ }, {
146
+ "label": "button",
147
+ "value": "button"
148
+ }],
149
+ "options": [{
150
+ "label": "text",
151
+ "value": "text"
152
+ }, {
153
+ "label": "button",
154
+ "value": "button"
155
+ }]
156
+ },
157
+ "initialValue": "button"
158
+ }
159
+ }, {
160
+ "title": {
161
+ "label": {
162
+ "type": "i18n",
163
+ "en-US": "name",
164
+ "zh-CN": "名称"
165
+ },
166
+ "tip": "name | 名称"
167
+ },
168
+ "name": "name",
169
+ "description": "名称",
170
+ "setter": {
171
+ "componentName": "StringSetter",
172
+ "isRequired": true,
173
+ "initialValue": ""
174
+ }
175
+ }, {
176
+ "title": {
177
+ "label": {
178
+ "type": "i18n",
179
+ "en-US": "onChange",
180
+ "zh-CN": "改变事件"
181
+ },
182
+ "tip": "onChange | 改变事件"
183
+ },
184
+ "name": "onChange",
185
+ "description": "改变事件",
186
+ "setter": {
187
+ "componentName": "FunctionSetter",
188
+ "isRequired": true
189
+ }
190
+ }],
191
+ "supports": {
192
+ "style": true
193
+ },
194
+ "component": {}
195
+ }
196
+ };
197
+ var snippets = [{
198
+ "title": "单选组项",
199
+ "screenshot": "",
200
+ "schema": {
201
+ "componentName": "CustomRadioGroupItem",
202
+ "props": {}
203
+ }
204
+ }];
205
+ export default _extends({}, CustomRadioGroupItemMeta);
@@ -1,5 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import Button2Meta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/button2/meta';
3
+ import CustomRadioGroupItemMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/custom-radio-group-item/meta';
4
+ import CustomRadioGroupMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/custom-radio-group/meta';
3
5
  import DCSliderMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/d-c-slider/meta';
4
6
  import GridNavMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/grid-nav/meta';
5
7
  import IntegralTaskMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/integral-task/meta';
@@ -88,7 +90,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
88
90
  packageName = '@dckj-npm/dc-material';
89
91
  }
90
92
  if (version === void 0) {
91
- version = '0.1.26';
93
+ version = '0.1.28';
92
94
  }
93
95
  if (basicLibraryVersion === void 0) {
94
96
  basicLibraryVersion = {
@@ -115,7 +117,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
115
117
  }
116
118
  return meta;
117
119
  }
118
- var componentMetas = [Button2Meta, DCSliderMeta, GridNavMeta, IntegralTaskMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, SearchBarMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, Title1Meta, Title2Meta];
120
+ var componentMetas = [Button2Meta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, GridNavMeta, IntegralTaskMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, SearchBarMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, Title1Meta, Title2Meta];
119
121
  var components = [];
120
122
  var npmInfo = {};
121
123
  componentMetas.forEach(function (meta) {
@@ -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;