@dckj-npm/dc-material 0.1.8 → 0.1.9

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 (183) hide show
  1. package/README.md +17 -17
  2. package/lowcode/d-c-slider/meta.ts +331 -331
  3. package/lowcode/d-c-slider/snippets.ts +42 -42
  4. package/lowcode/grid-nav/meta.ts +160 -0
  5. package/lowcode/menu-list/meta.ts +147 -147
  6. package/lowcode/navigation/meta.ts +152 -151
  7. package/lowcode/position/meta.ts +211 -0
  8. package/lowcode/search-bar/meta.ts +54 -0
  9. package/lowcode/tag-c/meta.ts +75 -0
  10. package/lowcode/teletext-list/meta.ts +342 -300
  11. package/lowcode/title1/meta.ts +59 -59
  12. package/lowcode/title2/meta.ts +93 -93
  13. package/package.json +110 -110
  14. package/build/index.css +0 -2
  15. package/build/index.html +0 -1
  16. package/build/index.js +0 -53
  17. package/build/lowcode/assets-daily.json +0 -67
  18. package/build/lowcode/assets-dev.json +0 -67
  19. package/build/lowcode/assets-prod.json +0 -67
  20. package/build/lowcode/designer.html +0 -302
  21. package/build/lowcode/index.html +0 -304
  22. package/build/lowcode/index.js +0 -1
  23. package/build/lowcode/meta.js +0 -1
  24. package/build/lowcode/preview.css +0 -1
  25. package/build/lowcode/preview.html +0 -33
  26. package/build/lowcode/preview.js +0 -308
  27. package/build/lowcode/render/default/view.css +0 -1
  28. package/build/lowcode/render/default/view.js +0 -295
  29. package/build/lowcode/view.css +0 -1
  30. package/build/lowcode/view.js +0 -295
  31. package/dist/BizComps.css +0 -1
  32. package/dist/BizComps.js +0 -7
  33. package/dist/BizComps.js.map +0 -1
  34. package/es/assets/icon/navigation/index-selected.png +0 -0
  35. package/es/assets/icon/navigation/index.png +0 -0
  36. package/es/assets/icon/navigation/message-selected.png +0 -0
  37. package/es/assets/icon/navigation/message.png +0 -0
  38. package/es/assets/icon/navigation/mine-selected.png +0 -0
  39. package/es/assets/icon/navigation/mine.png +0 -0
  40. package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -13
  41. package/es/components/bottom-navigation/bottom-navigation.js +0 -39
  42. package/es/components/bottom-navigation/index.d.ts +0 -3
  43. package/es/components/bottom-navigation/index.js +0 -2
  44. package/es/components/bottom-navigation/index.scss +0 -16
  45. package/es/components/colorful-button/colorful-button.d.ts +0 -12
  46. package/es/components/colorful-button/colorful-button.js +0 -25
  47. package/es/components/colorful-button/index.d.ts +0 -3
  48. package/es/components/colorful-button/index.js +0 -2
  49. package/es/components/colorful-button/index.scss +0 -5
  50. package/es/components/colorful-input/colorful-input.d.ts +0 -8
  51. package/es/components/colorful-input/colorful-input.js +0 -19
  52. package/es/components/colorful-input/index.d.ts +0 -3
  53. package/es/components/colorful-input/index.js +0 -2
  54. package/es/components/colorful-input/index.scss +0 -5
  55. package/es/components/dc-slider/index.d.ts +0 -3
  56. package/es/components/dc-slider/index.js +0 -2
  57. package/es/components/dc-slider/index.scss +0 -8
  58. package/es/components/dc-slider/slider.d.ts +0 -32
  59. package/es/components/dc-slider/slider.js +0 -14
  60. package/es/components/menu-list/index.d.ts +0 -6
  61. package/es/components/menu-list/index.js +0 -6
  62. package/es/components/menu-list/index.scss +0 -16
  63. package/es/components/menu-list/menu-list-item.d.ts +0 -5
  64. package/es/components/menu-list/menu-list-item.js +0 -32
  65. package/es/components/menu-list/menu-list-item.scss +0 -49
  66. package/es/components/menu-list/menu-list.d.ts +0 -5
  67. package/es/components/menu-list/menu-list.js +0 -25
  68. package/es/components/menu-list/types.d.ts +0 -23
  69. package/es/components/menu-list/types.js +0 -1
  70. package/es/components/teletext-list/index.d.ts +0 -6
  71. package/es/components/teletext-list/index.js +0 -6
  72. package/es/components/teletext-list/index.scss +0 -16
  73. package/es/components/teletext-list/teletext-list-item.d.ts +0 -42
  74. package/es/components/teletext-list/teletext-list-item.js +0 -50
  75. package/es/components/teletext-list/teletext-list-item.scss +0 -74
  76. package/es/components/teletext-list/teletext-list.d.ts +0 -53
  77. package/es/components/teletext-list/teletext-list.js +0 -73
  78. package/es/components/title/index.d.ts +0 -8
  79. package/es/components/title/index.js +0 -7
  80. package/es/components/title/title-1.d.ts +0 -10
  81. package/es/components/title/title-1.js +0 -16
  82. package/es/components/title/title-1.scss +0 -26
  83. package/es/components/title/title-2.d.ts +0 -18
  84. package/es/components/title/title-2.js +0 -31
  85. package/es/components/title/title-2.scss +0 -22
  86. package/es/index.d.ts +0 -14
  87. package/es/index.js +0 -8
  88. package/es/index.scss +0 -3
  89. package/es/style.js +0 -3
  90. package/es/variables.d.ts +0 -2
  91. package/es/variables.js +0 -2
  92. package/es/variables.scss +0 -3
  93. package/lib/assets/icon/navigation/index-selected.png +0 -0
  94. package/lib/assets/icon/navigation/index.png +0 -0
  95. package/lib/assets/icon/navigation/message-selected.png +0 -0
  96. package/lib/assets/icon/navigation/message.png +0 -0
  97. package/lib/assets/icon/navigation/mine-selected.png +0 -0
  98. package/lib/assets/icon/navigation/mine.png +0 -0
  99. package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -13
  100. package/lib/components/bottom-navigation/bottom-navigation.js +0 -46
  101. package/lib/components/bottom-navigation/index.d.ts +0 -3
  102. package/lib/components/bottom-navigation/index.js +0 -7
  103. package/lib/components/bottom-navigation/index.scss +0 -16
  104. package/lib/components/colorful-button/colorful-button.d.ts +0 -12
  105. package/lib/components/colorful-button/colorful-button.js +0 -32
  106. package/lib/components/colorful-button/index.d.ts +0 -3
  107. package/lib/components/colorful-button/index.js +0 -7
  108. package/lib/components/colorful-button/index.scss +0 -5
  109. package/lib/components/colorful-input/colorful-input.d.ts +0 -8
  110. package/lib/components/colorful-input/colorful-input.js +0 -26
  111. package/lib/components/colorful-input/index.d.ts +0 -3
  112. package/lib/components/colorful-input/index.js +0 -7
  113. package/lib/components/colorful-input/index.scss +0 -5
  114. package/lib/components/dc-slider/index.d.ts +0 -3
  115. package/lib/components/dc-slider/index.js +0 -7
  116. package/lib/components/dc-slider/index.scss +0 -8
  117. package/lib/components/dc-slider/slider.d.ts +0 -32
  118. package/lib/components/dc-slider/slider.js +0 -21
  119. package/lib/components/menu-list/index.d.ts +0 -6
  120. package/lib/components/menu-list/index.js +0 -10
  121. package/lib/components/menu-list/index.scss +0 -16
  122. package/lib/components/menu-list/menu-list-item.d.ts +0 -5
  123. package/lib/components/menu-list/menu-list-item.js +0 -37
  124. package/lib/components/menu-list/menu-list-item.scss +0 -49
  125. package/lib/components/menu-list/menu-list.d.ts +0 -5
  126. package/lib/components/menu-list/menu-list.js +0 -30
  127. package/lib/components/menu-list/types.d.ts +0 -23
  128. package/lib/components/menu-list/types.js +0 -3
  129. package/lib/components/teletext-list/index.d.ts +0 -6
  130. package/lib/components/teletext-list/index.js +0 -10
  131. package/lib/components/teletext-list/index.scss +0 -16
  132. package/lib/components/teletext-list/teletext-list-item.d.ts +0 -42
  133. package/lib/components/teletext-list/teletext-list-item.js +0 -54
  134. package/lib/components/teletext-list/teletext-list-item.scss +0 -74
  135. package/lib/components/teletext-list/teletext-list.d.ts +0 -53
  136. package/lib/components/teletext-list/teletext-list.js +0 -77
  137. package/lib/components/title/index.d.ts +0 -8
  138. package/lib/components/title/index.js +0 -8
  139. package/lib/components/title/title-1.d.ts +0 -10
  140. package/lib/components/title/title-1.js +0 -21
  141. package/lib/components/title/title-1.scss +0 -26
  142. package/lib/components/title/title-2.d.ts +0 -18
  143. package/lib/components/title/title-2.js +0 -36
  144. package/lib/components/title/title-2.scss +0 -22
  145. package/lib/index.d.ts +0 -14
  146. package/lib/index.js +0 -17
  147. package/lib/index.scss +0 -3
  148. package/lib/style.js +0 -3
  149. package/lib/variables.d.ts +0 -2
  150. package/lib/variables.js +0 -5
  151. package/lib/variables.scss +0 -3
  152. package/lowcode_es/d-c-slider/meta.d.ts +0 -140
  153. package/lowcode_es/d-c-slider/meta.js +0 -298
  154. package/lowcode_es/d-c-slider/snippets.d.ts +0 -36
  155. package/lowcode_es/d-c-slider/snippets.js +0 -36
  156. package/lowcode_es/menu-list/meta.d.ts +0 -22
  157. package/lowcode_es/menu-list/meta.js +0 -128
  158. package/lowcode_es/meta.js +0 -169
  159. package/lowcode_es/navigation/meta.d.ts +0 -22
  160. package/lowcode_es/navigation/meta.js +0 -135
  161. package/lowcode_es/teletext-list/meta.d.ts +0 -22
  162. package/lowcode_es/teletext-list/meta.js +0 -259
  163. package/lowcode_es/title1/meta.d.ts +0 -22
  164. package/lowcode_es/title1/meta.js +0 -51
  165. package/lowcode_es/title2/meta.d.ts +0 -22
  166. package/lowcode_es/title2/meta.js +0 -83
  167. package/lowcode_es/view.js +0 -18
  168. package/lowcode_lib/d-c-slider/meta.d.ts +0 -140
  169. package/lowcode_lib/d-c-slider/meta.js +0 -303
  170. package/lowcode_lib/d-c-slider/snippets.d.ts +0 -36
  171. package/lowcode_lib/d-c-slider/snippets.js +0 -40
  172. package/lowcode_lib/menu-list/meta.d.ts +0 -22
  173. package/lowcode_lib/menu-list/meta.js +0 -133
  174. package/lowcode_lib/meta.js +0 -173
  175. package/lowcode_lib/navigation/meta.d.ts +0 -22
  176. package/lowcode_lib/navigation/meta.js +0 -140
  177. package/lowcode_lib/teletext-list/meta.d.ts +0 -22
  178. package/lowcode_lib/teletext-list/meta.js +0 -264
  179. package/lowcode_lib/title1/meta.d.ts +0 -22
  180. package/lowcode_lib/title1/meta.js +0 -56
  181. package/lowcode_lib/title2/meta.d.ts +0 -22
  182. package/lowcode_lib/title2/meta.js +0 -88
  183. package/lowcode_lib/view.js +0 -29
@@ -1,300 +1,342 @@
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.8",
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
- };
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.8",
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
+ children: [
294
+ {
295
+ componentName: 'Title1',
296
+ props: {
297
+ type: 'h5',
298
+ children: '列表标题',
299
+ key: 'box-title'
300
+ },
301
+ },
302
+ {
303
+ componentName: 'Image',
304
+ props: {
305
+ src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
306
+ key: 'image'
307
+ },
308
+ },
309
+ {
310
+ componentName: 'NextText',
311
+ props: {
312
+ type: 'h5',
313
+ children: '标题标题',
314
+ key: 'title'
315
+ },
316
+ },
317
+ {
318
+ componentName: 'NextText',
319
+ props: {
320
+ type: 'inherit',
321
+ children:
322
+ '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
323
+ key: 'content'
324
+ },
325
+ },
326
+ {
327
+ componentName: 'TagC',
328
+ props: {
329
+ name: '报名火热',
330
+ color: 'orange',
331
+ key: 'teletext-tagc-1'
332
+ },
333
+ }
334
+ ]
335
+ }
336
+ }
337
+ ];
338
+
339
+ export default {
340
+ ...TeletextListMeta,
341
+ snippets
342
+ };