@dckj-npm/dc-material 0.1.1 → 0.1.4

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 (122) hide show
  1. package/build/index.js +19 -12
  2. package/dist/BizComps.css +1 -1
  3. package/dist/BizComps.js +5 -5
  4. package/dist/BizComps.js.map +1 -1
  5. package/es/assets/icon/navigation/index-selected.png +0 -0
  6. package/es/assets/icon/navigation/index.png +0 -0
  7. package/es/assets/icon/navigation/message-selected.png +0 -0
  8. package/es/assets/icon/navigation/message.png +0 -0
  9. package/es/assets/icon/navigation/mine-selected.png +0 -0
  10. package/es/assets/icon/navigation/mine.png +0 -0
  11. package/es/components/bottom-navigation/bottom-navigation.d.ts +13 -13
  12. package/es/components/bottom-navigation/bottom-navigation.js +5 -3
  13. package/es/components/bottom-navigation/index.d.ts +3 -3
  14. package/es/components/colorful-button/colorful-button.d.ts +12 -12
  15. package/es/components/colorful-button/index.d.ts +3 -3
  16. package/es/components/colorful-input/colorful-input.d.ts +8 -8
  17. package/es/components/colorful-input/index.d.ts +3 -3
  18. package/es/components/dc-slider/index.d.ts +3 -3
  19. package/es/components/dc-slider/slider.d.ts +32 -32
  20. package/es/components/dc-slider/slider.js +1 -1
  21. package/es/components/position/index.d.ts +3 -0
  22. package/es/components/position/index.js +2 -0
  23. package/es/components/position/index.scss +16 -0
  24. package/es/components/position/position.d.ts +13 -0
  25. package/es/components/position/position.js +39 -0
  26. package/es/components/teletext-list/index.d.ts +6 -6
  27. package/es/components/teletext-list/index.js +2 -2
  28. package/es/components/teletext-list/index.scss +16 -114
  29. package/es/components/teletext-list/teletext-list-item.d.ts +42 -0
  30. package/es/components/teletext-list/teletext-list-item.js +50 -0
  31. package/es/components/teletext-list/teletext-list-item.scss +74 -0
  32. package/es/components/teletext-list/teletext-list.d.ts +53 -48
  33. package/es/components/teletext-list/teletext-list.js +13 -33
  34. package/es/components/title/index.d.ts +8 -8
  35. package/es/components/title/index.js +2 -2
  36. package/es/components/title/title-1.d.ts +10 -10
  37. package/es/components/title/title-1.scss +26 -26
  38. package/es/components/title/title-2.d.ts +18 -18
  39. package/es/components/title/title-2.js +1 -1
  40. package/es/components/title/title-2.scss +22 -22
  41. package/es/index.d.ts +12 -12
  42. package/es/index.scss +3 -3
  43. package/es/variables.d.ts +2 -2
  44. package/lib/assets/icon/navigation/index-selected.png +0 -0
  45. package/lib/assets/icon/navigation/index.png +0 -0
  46. package/lib/assets/icon/navigation/message-selected.png +0 -0
  47. package/lib/assets/icon/navigation/message.png +0 -0
  48. package/lib/assets/icon/navigation/mine-selected.png +0 -0
  49. package/lib/assets/icon/navigation/mine.png +0 -0
  50. package/lib/components/bottom-navigation/bottom-navigation.d.ts +13 -13
  51. package/lib/components/bottom-navigation/bottom-navigation.js +5 -3
  52. package/lib/components/bottom-navigation/index.d.ts +3 -3
  53. package/lib/components/colorful-button/colorful-button.d.ts +12 -12
  54. package/lib/components/colorful-button/index.d.ts +3 -3
  55. package/lib/components/colorful-input/colorful-input.d.ts +8 -8
  56. package/lib/components/colorful-input/index.d.ts +3 -3
  57. package/lib/components/dc-slider/index.d.ts +3 -3
  58. package/lib/components/dc-slider/slider.d.ts +32 -32
  59. package/lib/components/dc-slider/slider.js +1 -1
  60. package/lib/components/position/index.d.ts +3 -0
  61. package/lib/components/position/index.js +7 -0
  62. package/lib/components/position/index.scss +16 -0
  63. package/lib/components/position/position.d.ts +13 -0
  64. package/lib/components/position/position.js +46 -0
  65. package/lib/components/teletext-list/index.d.ts +6 -6
  66. package/lib/components/teletext-list/index.js +2 -2
  67. package/lib/components/teletext-list/index.scss +16 -114
  68. package/lib/components/teletext-list/teletext-list-item.d.ts +42 -0
  69. package/lib/components/teletext-list/teletext-list-item.js +54 -0
  70. package/lib/components/teletext-list/teletext-list-item.scss +74 -0
  71. package/lib/components/teletext-list/teletext-list.d.ts +53 -48
  72. package/lib/components/teletext-list/teletext-list.js +13 -33
  73. package/lib/components/title/index.d.ts +8 -8
  74. package/lib/components/title/title-1.d.ts +10 -10
  75. package/lib/components/title/title-1.scss +26 -26
  76. package/lib/components/title/title-2.d.ts +18 -18
  77. package/lib/components/title/title-2.js +1 -1
  78. package/lib/components/title/title-2.scss +22 -22
  79. package/lib/index.d.ts +12 -12
  80. package/lib/index.scss +3 -3
  81. package/lib/variables.d.ts +2 -2
  82. package/lowcode/d-c-slider/meta.ts +1 -1
  83. package/lowcode/d-c-slider/snippets.ts +42 -42
  84. package/lowcode/navigation/meta.ts +45 -11
  85. package/lowcode/teletext-list/meta.ts +300 -292
  86. package/lowcode/title1/meta.ts +59 -58
  87. package/lowcode/title2/meta.ts +93 -92
  88. package/lowcode_es/d-c-slider/meta.d.ts +140 -140
  89. package/lowcode_es/d-c-slider/snippets.d.ts +36 -36
  90. package/lowcode_es/meta.js +6 -6
  91. package/lowcode_es/navigation/meta.d.ts +22 -22
  92. package/lowcode_es/navigation/meta.js +38 -8
  93. package/lowcode_es/teletext-list/meta.d.ts +22 -22
  94. package/lowcode_es/title1/meta.d.ts +22 -22
  95. package/lowcode_es/title2/meta.d.ts +22 -22
  96. package/lowcode_es/title2/meta.js +2 -2
  97. package/lowcode_es/view.js +3 -3
  98. package/lowcode_lib/d-c-slider/meta.d.ts +140 -140
  99. package/lowcode_lib/d-c-slider/snippets.d.ts +36 -36
  100. package/lowcode_lib/meta.js +6 -6
  101. package/lowcode_lib/navigation/meta.d.ts +22 -22
  102. package/lowcode_lib/navigation/meta.js +38 -8
  103. package/lowcode_lib/teletext-list/meta.d.ts +22 -22
  104. package/lowcode_lib/title1/meta.d.ts +22 -22
  105. package/lowcode_lib/title2/meta.d.ts +22 -22
  106. package/lowcode_lib/title2/meta.js +2 -2
  107. package/lowcode_lib/view.js +2 -2
  108. package/package.json +6 -6
  109. package/build/lowcode/assets-daily.json +0 -67
  110. package/build/lowcode/assets-dev.json +0 -67
  111. package/build/lowcode/assets-prod.json +0 -67
  112. package/build/lowcode/designer.html +0 -302
  113. package/build/lowcode/index.html +0 -304
  114. package/build/lowcode/index.js +0 -1
  115. package/build/lowcode/meta.js +0 -1
  116. package/build/lowcode/preview.css +0 -1
  117. package/build/lowcode/preview.html +0 -33
  118. package/build/lowcode/preview.js +0 -308
  119. package/build/lowcode/render/default/view.css +0 -1
  120. package/build/lowcode/render/default/view.js +0 -295
  121. package/build/lowcode/view.css +0 -1
  122. package/build/lowcode/view.js +0 -295
@@ -1,292 +1,300 @@
1
- import {IPublicTypeComponentMetadata, IPublicTypeSnippet} from '@alilc/lowcode-types';
2
-
3
- const TeletextListMeta: IPublicTypeComponentMetadata = {
4
- "componentName": "TeletextList",
5
- "title": "图文列表",
6
- "docUrl": "",
7
- "screenshot": "",
8
- "devMode": "proCode",
9
- "npm": {
10
- "package": "@dckj-npm/dc-material",
11
- "version": "0.1.0",
12
- "exportName": "TeletextList",
13
- "main": "src/index.tsx",
14
- "destructuring": true,
15
- "subName": ""
16
- },
17
- "configure": {
18
- "props": [
19
- {
20
- "title": {
21
- "label": {
22
- "type": "i18n",
23
- "en-US": "title",
24
- "zh-CN": "标题"
25
- },
26
- "tip": "title | 标题"
27
- },
28
- "name": "title",
29
- "description": "标题",
30
- "setter": {
31
- "componentName": "StringSetter",
32
- "isRequired": false,
33
- "initialValue": "图文列表标题"
34
- }
35
- },
36
- {
37
- "title": {
38
- "label": {
39
- "type": "i18n",
40
- "en-US": "dataList",
41
- "zh-CN": "数据"
42
- },
43
- "tip": "dataList | 数据"
44
- },
45
- "name": "dataList",
46
- "description": "数据",
47
- "setter": {
48
- "componentName": "ArraySetter",
49
- "props": {
50
- "itemSetter": {
51
- "componentName": "ObjectSetter",
52
- "props": {
53
- "config": {
54
- "items": [
55
- {
56
- "title": {
57
- "label": {
58
- "type": "i18n",
59
- "en-US": "title",
60
- "zh-CN": "标题"
61
- }
62
- },
63
- "name": "title",
64
- "description": "标题",
65
- "setter": {
66
- "componentName": "StringSetter",
67
- "isRequired": false,
68
- "initialValue": ""
69
- }
70
- },
71
- {
72
- "title": {
73
- "label": {
74
- "type": "i18n",
75
- "en-US": "image",
76
- "zh-CN": "图片地址"
77
- }
78
- },
79
- "name": "image",
80
- "description": "图片地址",
81
- "setter": {
82
- "componentName": "StringSetter",
83
- "isRequired": false,
84
- "initialValue": ""
85
- }
86
- },
87
- {
88
- "title": {
89
- "label": {
90
- "type": "i18n",
91
- "en-US": "imagePlacement",
92
- "zh-CN": "图片位置"
93
- }
94
- },
95
- "name": "imagePlacement",
96
- "description": "图片位置",
97
- "setter": {
98
- "componentName": "RadioGroupSetter",
99
- "props": {
100
- "dataSource": [
101
- {
102
- "label": "left",
103
- "value": "left"
104
- },
105
- {
106
- "label": "right",
107
- "value": "right"
108
- },
109
- {
110
- "label": "none",
111
- "value": "none"
112
- }
113
- ],
114
- "options": [
115
- {
116
- "label": "left",
117
- "value": "left"
118
- },
119
- {
120
- "label": "right",
121
- "value": "right"
122
- },
123
- {
124
- "label": "none",
125
- "value": "none"
126
- }
127
- ]
128
- },
129
- "initialValue": "left"
130
- }
131
- },
132
- {
133
- "title": {
134
- "label": {
135
- "type": "i18n",
136
- "en-US": "description",
137
- "zh-CN": "描述"
138
- }
139
- },
140
- "name": "description",
141
- "description": "描述",
142
- "setter": {
143
- "componentName": "StringSetter",
144
- "isRequired": false,
145
- "initialValue": ""
146
- }
147
- },
148
- {
149
- "title": {
150
- "label": {
151
- "type": "i18n",
152
- "en-US": "tags",
153
- "zh-CN": "标签列表"
154
- }
155
- },
156
- "name": "tags",
157
- "description": "标签列表",
158
- "setter": {
159
- "componentName": "ArraySetter",
160
- "props": {
161
- "itemSetter": {
162
- "componentName": "ObjectSetter",
163
- "props": {
164
- "config": {
165
- "items": [
166
- {
167
- "title": {
168
- "label": {
169
- "type": "i18n",
170
- "en-US": "name",
171
- "zh-CN": "标签名称"
172
- }
173
- },
174
- "name": "name",
175
- "description": "标签名称",
176
- "setter": {
177
- "componentName": "StringSetter",
178
- "isRequired": true,
179
- "initialValue": ""
180
- }
181
- },
182
- {
183
- "title": {
184
- "label": {
185
- "type": "i18n",
186
- "en-US": "color",
187
- "zh-CN": "标签颜色"
188
- }
189
- },
190
- "name": "color",
191
- "description": "标签颜色",
192
- "setter": {
193
- "componentName": "StringSetter",
194
- "isRequired": true,
195
- "initialValue": ""
196
- }
197
- }
198
- ],
199
- "extraSetter": {
200
- "componentName": "MixedSetter",
201
- "isRequired": false,
202
- "props": {}
203
- }
204
- }
205
- }
206
- }
207
- },
208
- "initialValue": []
209
- }
210
- }
211
- ],
212
- "extraSetter": {
213
- "componentName": "MixedSetter",
214
- "isRequired": false,
215
- "props": {}
216
- }
217
- }
218
- }
219
- }
220
- },
221
- "initialValue": [
222
- {
223
- "image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
224
- "imagePlacement": "left",
225
- "title": "标题名称",
226
- "description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
227
- "tags": [
228
- {
229
- "name": "报名火热",
230
- "color": "orange"
231
- },
232
- {
233
- "name": "人数众多",
234
- "color": "blue"
235
- }
236
- ]
237
- },
238
- {
239
- "image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
240
- "imagePlacement": "right",
241
- "title": "标题名称",
242
- "description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
243
- "tags": [
244
- {
245
- "name": "报名火热",
246
- "color": "orange"
247
- },
248
- {
249
- "name": "人数众多",
250
- "color": "blue"
251
- }
252
- ]
253
- },
254
- {
255
- "title": "标题名称",
256
- "description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
257
- "tags": [
258
- {
259
- "name": "报名火热",
260
- "color": "orange"
261
- },
262
- {
263
- "name": "人数众多",
264
- "color": "blue"
265
- }
266
- ]
267
- }
268
- ]
269
- }
270
- }
271
- ],
272
- "supports": {
273
- "style": true
274
- },
275
- "component": {}
276
- }
277
- };
278
- const snippets: IPublicTypeSnippet[] = [
279
- {
280
- "title": "图文列表",
281
- "screenshot": "",
282
- "schema": {
283
- "componentName": "TeletextList",
284
- "props": {}
285
- }
286
- }
287
- ];
288
-
289
- export default {
290
- ...TeletextListMeta,
291
- snippets
292
- };
1
+ import {IPublicTypeComponentMetadata, IPublicTypeSnippet} from '@alilc/lowcode-types';
2
+
3
+ const TeletextListMeta: IPublicTypeComponentMetadata = {
4
+ "group": "低代码组件",
5
+ "componentName": "TeletextList",
6
+ "title": "图文列表",
7
+ "docUrl": "",
8
+ "screenshot": "",
9
+ "devMode": "proCode",
10
+ "npm": {
11
+ "package": "@dckj-npm/dc-material",
12
+ "version": "0.1.0",
13
+ "exportName": "TeletextList",
14
+ "main": "src/index.tsx",
15
+ "destructuring": true,
16
+ "subName": ""
17
+ },
18
+ "configure": {
19
+ "props": [
20
+ {
21
+ "title": {
22
+ "label": {
23
+ "type": "i18n",
24
+ "en-US": "title",
25
+ "zh-CN": "标题"
26
+ },
27
+ "tip": "title | 标题"
28
+ },
29
+ "name": "title",
30
+ "description": "标题",
31
+ "setter": {
32
+ "componentName": "StringSetter",
33
+ "isRequired": false,
34
+ "initialValue": "图文列表标题"
35
+ }
36
+ },
37
+ {
38
+ "title": {
39
+ "label": {
40
+ "type": "i18n",
41
+ "en-US": "dataList",
42
+ "zh-CN": "数据"
43
+ },
44
+ "tip": "dataList | 数据"
45
+ },
46
+ "name": "dataList",
47
+ "description": "数据",
48
+ "setter": {
49
+ "componentName": "ArraySetter",
50
+ "props": {
51
+ "itemSetter": {
52
+ "componentName": "ObjectSetter",
53
+ "props": {
54
+ "config": {
55
+ "items": [
56
+ {
57
+ "title": {
58
+ "label": {
59
+ "type": "i18n",
60
+ "en-US": "title",
61
+ "zh-CN": "标题"
62
+ }
63
+ },
64
+ "name": "title",
65
+ "description": "标题",
66
+ "setter": {
67
+ "componentName": "StringSetter",
68
+ "isRequired": false,
69
+ "initialValue": ""
70
+ }
71
+ },
72
+ {
73
+ "title": {
74
+ "label": {
75
+ "type": "i18n",
76
+ "en-US": "image",
77
+ "zh-CN": "图片地址"
78
+ }
79
+ },
80
+ "name": "image",
81
+ "description": "图片地址",
82
+ "setter": {
83
+ "componentName": "CustomImageSetter",
84
+ "isRequired": false,
85
+ "initialValue": ""
86
+ }
87
+ },
88
+ {
89
+ "title": {
90
+ "label": {
91
+ "type": "i18n",
92
+ "en-US": "imagePlacement",
93
+ "zh-CN": "图片位置"
94
+ }
95
+ },
96
+ "name": "imagePlacement",
97
+ "description": "图片位置",
98
+ "setter": {
99
+ "componentName": "RadioGroupSetter",
100
+ "props": {
101
+ "dataSource": [
102
+ {
103
+ "label": "left",
104
+ "value": "left"
105
+ },
106
+ {
107
+ "label": "right",
108
+ "value": "right"
109
+ },
110
+ {
111
+ "label": "none",
112
+ "value": "none"
113
+ }
114
+ ],
115
+ "options": [
116
+ {
117
+ "label": "left",
118
+ "value": "left"
119
+ },
120
+ {
121
+ "label": "right",
122
+ "value": "right"
123
+ },
124
+ {
125
+ "label": "none",
126
+ "value": "none"
127
+ }
128
+ ]
129
+ },
130
+ "initialValue": "left"
131
+ }
132
+ },
133
+ {
134
+ "title": {
135
+ "label": {
136
+ "type": "i18n",
137
+ "en-US": "description",
138
+ "zh-CN": "描述"
139
+ }
140
+ },
141
+ "name": "description",
142
+ "description": "描述",
143
+ "setter": {
144
+ "componentName": "StringSetter",
145
+ "isRequired": false,
146
+ "initialValue": ""
147
+ }
148
+ },
149
+ {
150
+ "title": {
151
+ "label": {
152
+ "type": "i18n",
153
+ "en-US": "tags",
154
+ "zh-CN": "标签列表"
155
+ }
156
+ },
157
+ "name": "tags",
158
+ "description": "标签列表",
159
+ "setter": {
160
+ "componentName": "ArraySetter",
161
+ "props": {
162
+ "itemSetter": {
163
+ "componentName": "ObjectSetter",
164
+ "props": {
165
+ "config": {
166
+ "items": [
167
+ {
168
+ "title": {
169
+ "label": {
170
+ "type": "i18n",
171
+ "en-US": "name",
172
+ "zh-CN": "标签名称"
173
+ }
174
+ },
175
+ "name": "name",
176
+ "description": "标签名称",
177
+ "setter": {
178
+ "componentName": "StringSetter",
179
+ "isRequired": true,
180
+ "initialValue": ""
181
+ }
182
+ },
183
+ {
184
+ "title": {
185
+ "label": {
186
+ "type": "i18n",
187
+ "en-US": "color",
188
+ "zh-CN": "标签颜色"
189
+ }
190
+ },
191
+ "name": "color",
192
+ "description": "标签颜色",
193
+ "setter": {
194
+ "componentName": "StringSetter",
195
+ "isRequired": true,
196
+ "initialValue": ""
197
+ }
198
+ }
199
+ ],
200
+ "extraSetter": {
201
+ "componentName": "MixedSetter",
202
+ "isRequired": false,
203
+ "props": {}
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "initialValue": []
210
+ }
211
+ }
212
+ ],
213
+ "extraSetter": {
214
+ "componentName": "MixedSetter",
215
+ "isRequired": false,
216
+ "props": {}
217
+ }
218
+ }
219
+ }
220
+ }
221
+ },
222
+ "initialValue": [
223
+ {
224
+ "image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
225
+ "imagePlacement": "left",
226
+ "title": "标题名称",
227
+ "description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
228
+ "tags": [
229
+ {
230
+ "name": "报名火热",
231
+ "color": "orange"
232
+ },
233
+ {
234
+ "name": "人数众多",
235
+ "color": "blue"
236
+ }
237
+ ]
238
+ },
239
+ {
240
+ "image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
241
+ "imagePlacement": "right",
242
+ "title": "标题名称",
243
+ "description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
244
+ "tags": [
245
+ {
246
+ "name": "报名火热",
247
+ "color": "orange"
248
+ },
249
+ {
250
+ "name": "人数众多",
251
+ "color": "blue"
252
+ }
253
+ ]
254
+ },
255
+ {
256
+ "title": "标题名称",
257
+ "description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
258
+ "tags": [
259
+ {
260
+ "name": "报名火热",
261
+ "color": "orange"
262
+ },
263
+ {
264
+ "name": "人数众多",
265
+ "color": "blue"
266
+ }
267
+ ]
268
+ }
269
+ ]
270
+ }
271
+ }
272
+ ],
273
+ "supports": {
274
+ "style": true,
275
+ "events": [
276
+ {
277
+ "name": "onClick",
278
+ "template":
279
+ "onClick(key,${extParams}){\n// 点击项目的事件\nconsole.log('onClick', key);}",
280
+ },
281
+ ],
282
+ },
283
+ "component": {}
284
+ }
285
+ };
286
+ const snippets: IPublicTypeSnippet[] = [
287
+ {
288
+ "title": "图文列表",
289
+ "screenshot": "",
290
+ "schema": {
291
+ "componentName": "TeletextList",
292
+ "props": {}
293
+ }
294
+ }
295
+ ];
296
+
297
+ export default {
298
+ ...TeletextListMeta,
299
+ snippets
300
+ };