@dckj-npm/dc-material 0.1.10 → 0.1.11

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