@dckj-npm/dc-material 0.1.11 → 0.1.12

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 (254) hide show
  1. package/README.md +17 -17
  2. package/lowcode/d-c-slider/meta.ts +1 -15
  3. package/lowcode/position/meta.ts +211 -211
  4. package/lowcode/search-bar/meta.ts +4 -4
  5. package/lowcode/tag-c/meta.ts +75 -75
  6. package/package.json +110 -110
  7. package/build/index.css +0 -2
  8. package/build/index.html +0 -1
  9. package/build/index.js +0 -60
  10. package/build/lowcode/assets-daily.json +0 -67
  11. package/build/lowcode/assets-dev.json +0 -67
  12. package/build/lowcode/assets-prod.json +0 -67
  13. package/build/lowcode/designer.html +0 -302
  14. package/build/lowcode/index.html +0 -304
  15. package/build/lowcode/index.js +0 -1
  16. package/build/lowcode/meta.js +0 -1
  17. package/build/lowcode/preview.css +0 -1
  18. package/build/lowcode/preview.html +0 -33
  19. package/build/lowcode/preview.js +0 -308
  20. package/build/lowcode/render/default/view.css +0 -1
  21. package/build/lowcode/render/default/view.js +0 -295
  22. package/build/lowcode/view.css +0 -1
  23. package/build/lowcode/view.js +0 -295
  24. package/dist/BizComps.css +0 -1
  25. package/dist/BizComps.js +0 -7
  26. package/dist/BizComps.js.map +0 -1
  27. package/es/assets/icon/navigation/index-selected.png +0 -0
  28. package/es/assets/icon/navigation/index.png +0 -0
  29. package/es/assets/icon/navigation/message-selected.png +0 -0
  30. package/es/assets/icon/navigation/message.png +0 -0
  31. package/es/assets/icon/navigation/mine-selected.png +0 -0
  32. package/es/assets/icon/navigation/mine.png +0 -0
  33. package/es/assets/icon/position/arror.png +0 -0
  34. package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -13
  35. package/es/components/bottom-navigation/bottom-navigation.js +0 -39
  36. package/es/components/bottom-navigation/index.d.ts +0 -3
  37. package/es/components/bottom-navigation/index.js +0 -2
  38. package/es/components/bottom-navigation/index.scss +0 -19
  39. package/es/components/colorful-button/colorful-button.d.ts +0 -12
  40. package/es/components/colorful-button/colorful-button.js +0 -25
  41. package/es/components/colorful-button/index.d.ts +0 -3
  42. package/es/components/colorful-button/index.js +0 -2
  43. package/es/components/colorful-button/index.scss +0 -5
  44. package/es/components/colorful-input/colorful-input.d.ts +0 -8
  45. package/es/components/colorful-input/colorful-input.js +0 -19
  46. package/es/components/colorful-input/index.d.ts +0 -3
  47. package/es/components/colorful-input/index.js +0 -2
  48. package/es/components/colorful-input/index.scss +0 -5
  49. package/es/components/dc-slider/index.d.ts +0 -3
  50. package/es/components/dc-slider/index.js +0 -2
  51. package/es/components/dc-slider/index.scss +0 -8
  52. package/es/components/dc-slider/slider.d.ts +0 -32
  53. package/es/components/dc-slider/slider.js +0 -14
  54. package/es/components/grid-nav/grid-nav.d.ts +0 -13
  55. package/es/components/grid-nav/grid-nav.js +0 -91
  56. package/es/components/grid-nav/index.d.ts +0 -3
  57. package/es/components/grid-nav/index.js +0 -2
  58. package/es/components/grid-nav/index.scss +0 -36
  59. package/es/components/menu-list/index.d.ts +0 -6
  60. package/es/components/menu-list/index.js +0 -6
  61. package/es/components/menu-list/index.scss +0 -16
  62. package/es/components/menu-list/menu-list-item.d.ts +0 -5
  63. package/es/components/menu-list/menu-list-item.js +0 -32
  64. package/es/components/menu-list/menu-list-item.scss +0 -49
  65. package/es/components/menu-list/menu-list.d.ts +0 -5
  66. package/es/components/menu-list/menu-list.js +0 -25
  67. package/es/components/menu-list/types.d.ts +0 -23
  68. package/es/components/menu-list/types.js +0 -1
  69. package/es/components/position/entity.d.ts +0 -5
  70. package/es/components/position/entity.js +0 -1
  71. package/es/components/position/index.d.ts +0 -3
  72. package/es/components/position/index.js +0 -2
  73. package/es/components/position/index.scss +0 -21
  74. package/es/components/position/position-left.d.ts +0 -9
  75. package/es/components/position/position-left.js +0 -28
  76. package/es/components/position/position-list.d.ts +0 -12
  77. package/es/components/position/position-list.js +0 -30
  78. package/es/components/position/position.d.ts +0 -8
  79. package/es/components/position/position.js +0 -47
  80. package/es/components/search-bar/index.d.ts +0 -3
  81. package/es/components/search-bar/index.js +0 -2
  82. package/es/components/search-bar/index.scss +0 -3
  83. package/es/components/search-bar/search-bar.d.ts +0 -7
  84. package/es/components/search-bar/search-bar.js +0 -21
  85. package/es/components/tag/index.d.ts +0 -6
  86. package/es/components/tag/index.js +0 -5
  87. package/es/components/tag/index.scss +0 -17
  88. package/es/components/tag/tag.d.ts +0 -14
  89. package/es/components/tag/tag.js +0 -14
  90. package/es/components/teletext-list/index.d.ts +0 -6
  91. package/es/components/teletext-list/index.js +0 -6
  92. package/es/components/teletext-list/index.scss +0 -16
  93. package/es/components/teletext-list/teletext-list-item.d.ts +0 -42
  94. package/es/components/teletext-list/teletext-list-item.js +0 -35
  95. package/es/components/teletext-list/teletext-list-item.scss +0 -74
  96. package/es/components/teletext-list/teletext-list.d.ts +0 -57
  97. package/es/components/teletext-list/teletext-list.js +0 -75
  98. package/es/components/title/index.d.ts +0 -8
  99. package/es/components/title/index.js +0 -7
  100. package/es/components/title/title-1.d.ts +0 -10
  101. package/es/components/title/title-1.js +0 -16
  102. package/es/components/title/title-1.scss +0 -25
  103. package/es/components/title/title-2.d.ts +0 -18
  104. package/es/components/title/title-2.js +0 -31
  105. package/es/components/title/title-2.scss +0 -22
  106. package/es/index.d.ts +0 -22
  107. package/es/index.js +0 -12
  108. package/es/index.scss +0 -5
  109. package/es/style.js +0 -4
  110. package/es/utils/children-node-handle.d.ts +0 -6
  111. package/es/utils/children-node-handle.js +0 -23
  112. package/es/utils/component-wrapper.d.ts +0 -9
  113. package/es/utils/component-wrapper.js +0 -38
  114. package/es/variables.d.ts +0 -2
  115. package/es/variables.js +0 -2
  116. package/es/variables.scss +0 -3
  117. package/lib/assets/icon/navigation/index-selected.png +0 -0
  118. package/lib/assets/icon/navigation/index.png +0 -0
  119. package/lib/assets/icon/navigation/message-selected.png +0 -0
  120. package/lib/assets/icon/navigation/message.png +0 -0
  121. package/lib/assets/icon/navigation/mine-selected.png +0 -0
  122. package/lib/assets/icon/navigation/mine.png +0 -0
  123. package/lib/assets/icon/position/arror.png +0 -0
  124. package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -13
  125. package/lib/components/bottom-navigation/bottom-navigation.js +0 -46
  126. package/lib/components/bottom-navigation/index.d.ts +0 -3
  127. package/lib/components/bottom-navigation/index.js +0 -7
  128. package/lib/components/bottom-navigation/index.scss +0 -19
  129. package/lib/components/colorful-button/colorful-button.d.ts +0 -12
  130. package/lib/components/colorful-button/colorful-button.js +0 -32
  131. package/lib/components/colorful-button/index.d.ts +0 -3
  132. package/lib/components/colorful-button/index.js +0 -7
  133. package/lib/components/colorful-button/index.scss +0 -5
  134. package/lib/components/colorful-input/colorful-input.d.ts +0 -8
  135. package/lib/components/colorful-input/colorful-input.js +0 -26
  136. package/lib/components/colorful-input/index.d.ts +0 -3
  137. package/lib/components/colorful-input/index.js +0 -7
  138. package/lib/components/colorful-input/index.scss +0 -5
  139. package/lib/components/dc-slider/index.d.ts +0 -3
  140. package/lib/components/dc-slider/index.js +0 -7
  141. package/lib/components/dc-slider/index.scss +0 -8
  142. package/lib/components/dc-slider/slider.d.ts +0 -32
  143. package/lib/components/dc-slider/slider.js +0 -21
  144. package/lib/components/grid-nav/grid-nav.d.ts +0 -13
  145. package/lib/components/grid-nav/grid-nav.js +0 -98
  146. package/lib/components/grid-nav/index.d.ts +0 -3
  147. package/lib/components/grid-nav/index.js +0 -7
  148. package/lib/components/grid-nav/index.scss +0 -36
  149. package/lib/components/menu-list/index.d.ts +0 -6
  150. package/lib/components/menu-list/index.js +0 -10
  151. package/lib/components/menu-list/index.scss +0 -16
  152. package/lib/components/menu-list/menu-list-item.d.ts +0 -5
  153. package/lib/components/menu-list/menu-list-item.js +0 -37
  154. package/lib/components/menu-list/menu-list-item.scss +0 -49
  155. package/lib/components/menu-list/menu-list.d.ts +0 -5
  156. package/lib/components/menu-list/menu-list.js +0 -30
  157. package/lib/components/menu-list/types.d.ts +0 -23
  158. package/lib/components/menu-list/types.js +0 -3
  159. package/lib/components/position/entity.d.ts +0 -5
  160. package/lib/components/position/entity.js +0 -3
  161. package/lib/components/position/index.d.ts +0 -3
  162. package/lib/components/position/index.js +0 -7
  163. package/lib/components/position/index.scss +0 -21
  164. package/lib/components/position/position-left.d.ts +0 -9
  165. package/lib/components/position/position-left.js +0 -35
  166. package/lib/components/position/position-list.d.ts +0 -12
  167. package/lib/components/position/position-list.js +0 -36
  168. package/lib/components/position/position.d.ts +0 -8
  169. package/lib/components/position/position.js +0 -54
  170. package/lib/components/search-bar/index.d.ts +0 -3
  171. package/lib/components/search-bar/index.js +0 -7
  172. package/lib/components/search-bar/index.scss +0 -3
  173. package/lib/components/search-bar/search-bar.d.ts +0 -7
  174. package/lib/components/search-bar/search-bar.js +0 -28
  175. package/lib/components/tag/index.d.ts +0 -6
  176. package/lib/components/tag/index.js +0 -10
  177. package/lib/components/tag/index.scss +0 -17
  178. package/lib/components/tag/tag.d.ts +0 -14
  179. package/lib/components/tag/tag.js +0 -21
  180. package/lib/components/teletext-list/index.d.ts +0 -6
  181. package/lib/components/teletext-list/index.js +0 -10
  182. package/lib/components/teletext-list/index.scss +0 -16
  183. package/lib/components/teletext-list/teletext-list-item.d.ts +0 -42
  184. package/lib/components/teletext-list/teletext-list-item.js +0 -39
  185. package/lib/components/teletext-list/teletext-list-item.scss +0 -74
  186. package/lib/components/teletext-list/teletext-list.d.ts +0 -57
  187. package/lib/components/teletext-list/teletext-list.js +0 -79
  188. package/lib/components/title/index.d.ts +0 -8
  189. package/lib/components/title/index.js +0 -8
  190. package/lib/components/title/title-1.d.ts +0 -10
  191. package/lib/components/title/title-1.js +0 -21
  192. package/lib/components/title/title-1.scss +0 -25
  193. package/lib/components/title/title-2.d.ts +0 -18
  194. package/lib/components/title/title-2.js +0 -36
  195. package/lib/components/title/title-2.scss +0 -22
  196. package/lib/index.d.ts +0 -22
  197. package/lib/index.js +0 -25
  198. package/lib/index.scss +0 -5
  199. package/lib/style.js +0 -4
  200. package/lib/utils/children-node-handle.d.ts +0 -6
  201. package/lib/utils/children-node-handle.js +0 -28
  202. package/lib/utils/component-wrapper.d.ts +0 -9
  203. package/lib/utils/component-wrapper.js +0 -45
  204. package/lib/variables.d.ts +0 -2
  205. package/lib/variables.js +0 -5
  206. package/lib/variables.scss +0 -3
  207. package/lowcode_es/d-c-slider/meta.d.ts +0 -152
  208. package/lowcode_es/d-c-slider/meta.js +0 -313
  209. package/lowcode_es/d-c-slider/snippets.d.ts +0 -36
  210. package/lowcode_es/d-c-slider/snippets.js +0 -36
  211. package/lowcode_es/grid-nav/meta.d.ts +0 -22
  212. package/lowcode_es/grid-nav/meta.js +0 -152
  213. package/lowcode_es/menu-list/meta.d.ts +0 -22
  214. package/lowcode_es/menu-list/meta.js +0 -128
  215. package/lowcode_es/meta.js +0 -173
  216. package/lowcode_es/navigation/meta.d.ts +0 -22
  217. package/lowcode_es/navigation/meta.js +0 -136
  218. package/lowcode_es/position/meta.d.ts +0 -22
  219. package/lowcode_es/position/meta.js +0 -190
  220. package/lowcode_es/search-bar/meta.d.ts +0 -22
  221. package/lowcode_es/search-bar/meta.js +0 -46
  222. package/lowcode_es/tag-c/meta.d.ts +0 -22
  223. package/lowcode_es/tag-c/meta.js +0 -66
  224. package/lowcode_es/teletext-list/meta.d.ts +0 -22
  225. package/lowcode_es/teletext-list/meta.js +0 -294
  226. package/lowcode_es/title1/meta.d.ts +0 -22
  227. package/lowcode_es/title1/meta.js +0 -51
  228. package/lowcode_es/title2/meta.d.ts +0 -22
  229. package/lowcode_es/title2/meta.js +0 -83
  230. package/lowcode_es/view.js +0 -18
  231. package/lowcode_lib/d-c-slider/meta.d.ts +0 -152
  232. package/lowcode_lib/d-c-slider/meta.js +0 -318
  233. package/lowcode_lib/d-c-slider/snippets.d.ts +0 -36
  234. package/lowcode_lib/d-c-slider/snippets.js +0 -40
  235. package/lowcode_lib/grid-nav/meta.d.ts +0 -22
  236. package/lowcode_lib/grid-nav/meta.js +0 -157
  237. package/lowcode_lib/menu-list/meta.d.ts +0 -22
  238. package/lowcode_lib/menu-list/meta.js +0 -133
  239. package/lowcode_lib/meta.js +0 -177
  240. package/lowcode_lib/navigation/meta.d.ts +0 -22
  241. package/lowcode_lib/navigation/meta.js +0 -141
  242. package/lowcode_lib/position/meta.d.ts +0 -22
  243. package/lowcode_lib/position/meta.js +0 -195
  244. package/lowcode_lib/search-bar/meta.d.ts +0 -22
  245. package/lowcode_lib/search-bar/meta.js +0 -51
  246. package/lowcode_lib/tag-c/meta.d.ts +0 -22
  247. package/lowcode_lib/tag-c/meta.js +0 -71
  248. package/lowcode_lib/teletext-list/meta.d.ts +0 -22
  249. package/lowcode_lib/teletext-list/meta.js +0 -299
  250. package/lowcode_lib/title1/meta.d.ts +0 -22
  251. package/lowcode_lib/title1/meta.js +0 -56
  252. package/lowcode_lib/title2/meta.d.ts +0 -22
  253. package/lowcode_lib/title2/meta.js +0 -88
  254. package/lowcode_lib/view.js +0 -29
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # dc-material
2
-
3
- 一个面向 PC 的业务组件库
4
-
5
- ## 调试
6
- 启动调试
7
-
8
- ```
9
- npm run lowcode:dev # 打开开发环境,运行所有组件
10
- ```
11
-
12
- 构建
13
-
14
- ```
15
- npm run lowcode:build
16
- ```
17
-
1
+ # dc-material
2
+
3
+ 一个面向 PC 的业务组件库
4
+
5
+ ## 调试
6
+ 启动调试
7
+
8
+ ```
9
+ npm run lowcode:dev # 打开开发环境,运行所有组件
10
+ ```
11
+
12
+ 构建
13
+
14
+ ```
15
+ npm run lowcode:build
16
+ ```
17
+
@@ -320,21 +320,7 @@ export default {
320
320
  },
321
321
  {
322
322
  name: 'picUrls',
323
- setter: {
324
- componentName: 'SetterFormVariable',
325
- props: {
326
- attributes: [
327
- {
328
- label: '图标链接',
329
- value: 'picUrls',
330
- children: [
331
- { label: '图片链接', value: 'picUrls' },
332
- { label: '图片链接2', value: 'picUrls2' }
333
- ]
334
- }
335
- ]
336
- }
337
- }
323
+ setter: 'SetterFormVariable'
338
324
  }
339
325
  ],
340
326
  },
@@ -1,211 +1,211 @@
1
-
2
- import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
3
-
4
- const PositionMeta: IPublicTypeComponentMetadata = {
5
- group: '低代码组件',
6
- "componentName": "Position",
7
- "title": "Position",
8
- "docUrl": "",
9
- "screenshot": "",
10
- "devMode": "proCode",
11
- "npm": {
12
- "package": "@dckj-npm/dc-material",
13
- "version": "0.1.7",
14
- "exportName": "Position",
15
- "main": "src\\index.tsx",
16
- "destructuring": true,
17
- "subName": ""
18
- },
19
- "configure": {
20
- "props": [
21
- {
22
- "title": {
23
- "label": {
24
- "type": "i18n",
25
- "en-US": "itemArray",
26
- "zh-CN": "选择项"
27
- }
28
- },
29
- "name": "itemArray",
30
- "setter": {
31
- "componentName": "ArraySetter",
32
- "props": {
33
- "itemSetter": {
34
- "componentName": "ObjectSetter",
35
- "props": {
36
- "config": {
37
- "items": [
38
- {
39
- "title": {
40
- "label": {
41
- "type": "i18n",
42
- "en-US": "lat",
43
- "zh-CN": "lat"
44
- }
45
- },
46
- "name": "lat",
47
- "setter": {
48
- "componentName": "StringSetter",
49
- "isRequired": true,
50
- "initialValue": ""
51
- }
52
- },
53
- {
54
- "title": {
55
- "label": {
56
- "type": "i18n",
57
- "en-US": "lng",
58
- "zh-CN": "lng"
59
- }
60
- },
61
- "name": "lng",
62
- "setter": {
63
- "componentName": "StringSetter",
64
- "isRequired": true,
65
- "initialValue": ""
66
- }
67
- },
68
- {
69
- "title": {
70
- "label": {
71
- "type": "i18n",
72
- "en-US": "address",
73
- "zh-CN": "address"
74
- }
75
- },
76
- "name": "address",
77
- "setter": {
78
- "componentName": "StringSetter",
79
- "isRequired": true,
80
- "initialValue": ""
81
- }
82
- }
83
- ],
84
- "extraSetter": {
85
- "componentName": "MixedSetter",
86
- "isRequired": false,
87
- "props": {}
88
- }
89
- }
90
- }
91
- }
92
- },
93
- "isRequired": true,
94
- "initialValue": []
95
- }
96
- },
97
- {
98
- "title": {
99
- "label": {
100
- "type": "i18n",
101
- "en-US": "defaultLocation",
102
- "zh-CN": "默认地址"
103
- }
104
- },
105
- "name": "defaultLocation",
106
- "setter": {
107
- "componentName": "ObjectSetter",
108
- "props": {
109
- "config": {
110
- "items": [
111
- {
112
- "title": {
113
- "label": {
114
- "type": "i18n",
115
- "en-US": "lat",
116
- "zh-CN": "lat"
117
- }
118
- },
119
- "name": "lat",
120
- "setter": {
121
- "componentName": "StringSetter",
122
- "isRequired": true,
123
- "initialValue": ""
124
- }
125
- },
126
- {
127
- "title": {
128
- "label": {
129
- "type": "i18n",
130
- "en-US": "lng",
131
- "zh-CN": "lng"
132
- }
133
- },
134
- "name": "lng",
135
- "setter": {
136
- "componentName": "StringSetter",
137
- "isRequired": true,
138
- "initialValue": ""
139
- }
140
- },
141
- {
142
- "title": {
143
- "label": {
144
- "type": "i18n",
145
- "en-US": "address",
146
- "zh-CN": "address"
147
- }
148
- },
149
- "name": "address",
150
- "setter": {
151
- "componentName": "StringSetter",
152
- "isRequired": true,
153
- "initialValue": ""
154
- }
155
- }
156
- ],
157
- "extraSetter": {
158
- "componentName": "MixedSetter",
159
- "isRequired": false,
160
- "props": {}
161
- }
162
- }
163
- },
164
- "isRequired": true
165
- }
166
- }
167
- ],
168
- "supports": {
169
- "style": true
170
- },
171
- "component": {}
172
- }
173
- };
174
- const snippets: IPublicTypeSnippet[] = [
175
- {
176
- "title": "定位",
177
- "screenshot": "",
178
- "schema": {
179
- "componentName": "Position",
180
- "props": {
181
- defaultLocation: {
182
- lng: '123',
183
- lat: '123',
184
- address: '嘉兴市'
185
- },
186
- itemArray: [
187
- {
188
- lng: '123',
189
- lat: '123',
190
- address: '嘉兴市'
191
- },
192
- {
193
- lng: '123',
194
- lat: '123',
195
- address: '杭州市'
196
- },
197
- {
198
- lng: '123',
199
- lat: '123',
200
- address: '上海市'
201
- }
202
- ]
203
- }
204
- }
205
- }
206
- ];
207
-
208
- export default {
209
- ...PositionMeta,
210
- snippets
211
- };
1
+
2
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
3
+
4
+ const PositionMeta: IPublicTypeComponentMetadata = {
5
+ group: '低代码组件',
6
+ "componentName": "Position",
7
+ "title": "Position",
8
+ "docUrl": "",
9
+ "screenshot": "",
10
+ "devMode": "proCode",
11
+ "npm": {
12
+ "package": "@dckj-npm/dc-material",
13
+ "version": "0.1.7",
14
+ "exportName": "Position",
15
+ "main": "src\\index.tsx",
16
+ "destructuring": true,
17
+ "subName": ""
18
+ },
19
+ "configure": {
20
+ "props": [
21
+ {
22
+ "title": {
23
+ "label": {
24
+ "type": "i18n",
25
+ "en-US": "itemArray",
26
+ "zh-CN": "选择项"
27
+ }
28
+ },
29
+ "name": "itemArray",
30
+ "setter": {
31
+ "componentName": "ArraySetter",
32
+ "props": {
33
+ "itemSetter": {
34
+ "componentName": "ObjectSetter",
35
+ "props": {
36
+ "config": {
37
+ "items": [
38
+ {
39
+ "title": {
40
+ "label": {
41
+ "type": "i18n",
42
+ "en-US": "lat",
43
+ "zh-CN": "lat"
44
+ }
45
+ },
46
+ "name": "lat",
47
+ "setter": {
48
+ "componentName": "StringSetter",
49
+ "isRequired": true,
50
+ "initialValue": ""
51
+ }
52
+ },
53
+ {
54
+ "title": {
55
+ "label": {
56
+ "type": "i18n",
57
+ "en-US": "lng",
58
+ "zh-CN": "lng"
59
+ }
60
+ },
61
+ "name": "lng",
62
+ "setter": {
63
+ "componentName": "StringSetter",
64
+ "isRequired": true,
65
+ "initialValue": ""
66
+ }
67
+ },
68
+ {
69
+ "title": {
70
+ "label": {
71
+ "type": "i18n",
72
+ "en-US": "address",
73
+ "zh-CN": "address"
74
+ }
75
+ },
76
+ "name": "address",
77
+ "setter": {
78
+ "componentName": "StringSetter",
79
+ "isRequired": true,
80
+ "initialValue": ""
81
+ }
82
+ }
83
+ ],
84
+ "extraSetter": {
85
+ "componentName": "MixedSetter",
86
+ "isRequired": false,
87
+ "props": {}
88
+ }
89
+ }
90
+ }
91
+ }
92
+ },
93
+ "isRequired": true,
94
+ "initialValue": []
95
+ }
96
+ },
97
+ {
98
+ "title": {
99
+ "label": {
100
+ "type": "i18n",
101
+ "en-US": "defaultLocation",
102
+ "zh-CN": "默认地址"
103
+ }
104
+ },
105
+ "name": "defaultLocation",
106
+ "setter": {
107
+ "componentName": "ObjectSetter",
108
+ "props": {
109
+ "config": {
110
+ "items": [
111
+ {
112
+ "title": {
113
+ "label": {
114
+ "type": "i18n",
115
+ "en-US": "lat",
116
+ "zh-CN": "lat"
117
+ }
118
+ },
119
+ "name": "lat",
120
+ "setter": {
121
+ "componentName": "StringSetter",
122
+ "isRequired": true,
123
+ "initialValue": ""
124
+ }
125
+ },
126
+ {
127
+ "title": {
128
+ "label": {
129
+ "type": "i18n",
130
+ "en-US": "lng",
131
+ "zh-CN": "lng"
132
+ }
133
+ },
134
+ "name": "lng",
135
+ "setter": {
136
+ "componentName": "StringSetter",
137
+ "isRequired": true,
138
+ "initialValue": ""
139
+ }
140
+ },
141
+ {
142
+ "title": {
143
+ "label": {
144
+ "type": "i18n",
145
+ "en-US": "address",
146
+ "zh-CN": "address"
147
+ }
148
+ },
149
+ "name": "address",
150
+ "setter": {
151
+ "componentName": "StringSetter",
152
+ "isRequired": true,
153
+ "initialValue": ""
154
+ }
155
+ }
156
+ ],
157
+ "extraSetter": {
158
+ "componentName": "MixedSetter",
159
+ "isRequired": false,
160
+ "props": {}
161
+ }
162
+ }
163
+ },
164
+ "isRequired": true
165
+ }
166
+ }
167
+ ],
168
+ "supports": {
169
+ "style": true
170
+ },
171
+ "component": {}
172
+ }
173
+ };
174
+ const snippets: IPublicTypeSnippet[] = [
175
+ {
176
+ "title": "定位",
177
+ "screenshot": "",
178
+ "schema": {
179
+ "componentName": "Position",
180
+ "props": {
181
+ defaultLocation: {
182
+ lng: '123',
183
+ lat: '123',
184
+ address: '嘉兴市'
185
+ },
186
+ itemArray: [
187
+ {
188
+ lng: '123',
189
+ lat: '123',
190
+ address: '嘉兴市'
191
+ },
192
+ {
193
+ lng: '123',
194
+ lat: '123',
195
+ address: '杭州市'
196
+ },
197
+ {
198
+ lng: '123',
199
+ lat: '123',
200
+ address: '上海市'
201
+ }
202
+ ]
203
+ }
204
+ }
205
+ }
206
+ ];
207
+
208
+ export default {
209
+ ...PositionMeta,
210
+ snippets
211
+ };
@@ -20,17 +20,17 @@ const SearchBarMeta: IPublicTypeComponentMetadata = {
20
20
  supports: {
21
21
  style: true,
22
22
  events: [{
23
- name: 'onSearch',
24
- template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(pathId) \n}"
23
+ name: 'onClick',
24
+ // template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
25
25
  }],
26
26
  },
27
27
  "props": [
28
28
  {
29
29
  name: 'defaultValue',
30
- title: '默认值',
30
+ title: '绑定跳转',
31
31
  setter: 'StringSetter',
32
32
  supportVariable: true,
33
- description: '搜索框默认值',
33
+ description: '搜索框绑定跳转',
34
34
  defaultValue: '请输入'
35
35
  },
36
36
  ],
@@ -1,75 +1,75 @@
1
-
2
- import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
3
-
4
- const TagCMeta: IPublicTypeComponentMetadata = {
5
- "componentName": "TagC",
6
- "title": "TagC",
7
- "docUrl": "",
8
- "screenshot": "",
9
- "devMode": "proCode",
10
- "npm": {
11
- "package": "@dckj-npm/dc-material",
12
- "version": "0.1.8",
13
- "exportName": "TagC",
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": "name",
25
- "zh-CN": "标签名称"
26
- },
27
- "tip": "name | 标签名称"
28
- },
29
- "name": "name",
30
- "description": "标签名称",
31
- "setter": {
32
- "componentName": "StringSetter",
33
- "isRequired": true,
34
- "initialValue": ""
35
- }
36
- },
37
- {
38
- "title": {
39
- "label": {
40
- "type": "i18n",
41
- "en-US": "color",
42
- "zh-CN": "标签颜色"
43
- },
44
- "tip": "color | 标签颜色"
45
- },
46
- "name": "color",
47
- "description": "标签颜色",
48
- "setter": {
49
- "componentName": "StringSetter",
50
- "isRequired": true,
51
- "initialValue": ""
52
- }
53
- }
54
- ],
55
- "supports": {
56
- "style": true
57
- },
58
- "component": {}
59
- }
60
- };
61
- const snippets: IPublicTypeSnippet[] = [
62
- {
63
- "title": "TagC",
64
- "screenshot": "",
65
- "schema": {
66
- "componentName": "TagC",
67
- "props": {}
68
- }
69
- }
70
- ];
71
-
72
- export default {
73
- ...TagCMeta,
74
- snippets
75
- };
1
+
2
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
3
+
4
+ const TagCMeta: IPublicTypeComponentMetadata = {
5
+ "componentName": "TagC",
6
+ "title": "TagC",
7
+ "docUrl": "",
8
+ "screenshot": "",
9
+ "devMode": "proCode",
10
+ "npm": {
11
+ "package": "@dckj-npm/dc-material",
12
+ "version": "0.1.8",
13
+ "exportName": "TagC",
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": "name",
25
+ "zh-CN": "标签名称"
26
+ },
27
+ "tip": "name | 标签名称"
28
+ },
29
+ "name": "name",
30
+ "description": "标签名称",
31
+ "setter": {
32
+ "componentName": "StringSetter",
33
+ "isRequired": true,
34
+ "initialValue": ""
35
+ }
36
+ },
37
+ {
38
+ "title": {
39
+ "label": {
40
+ "type": "i18n",
41
+ "en-US": "color",
42
+ "zh-CN": "标签颜色"
43
+ },
44
+ "tip": "color | 标签颜色"
45
+ },
46
+ "name": "color",
47
+ "description": "标签颜色",
48
+ "setter": {
49
+ "componentName": "StringSetter",
50
+ "isRequired": true,
51
+ "initialValue": ""
52
+ }
53
+ }
54
+ ],
55
+ "supports": {
56
+ "style": true
57
+ },
58
+ "component": {}
59
+ }
60
+ };
61
+ const snippets: IPublicTypeSnippet[] = [
62
+ {
63
+ "title": "TagC",
64
+ "screenshot": "",
65
+ "schema": {
66
+ "componentName": "TagC",
67
+ "props": {}
68
+ }
69
+ }
70
+ ];
71
+
72
+ export default {
73
+ ...TagCMeta,
74
+ snippets
75
+ };