@dckj-npm/dc-material 0.1.11 → 0.1.13

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 (212) hide show
  1. package/README.md +17 -17
  2. package/build/lowcode/assets-daily.json +11 -11
  3. package/build/lowcode/assets-dev.json +2 -2
  4. package/build/lowcode/assets-prod.json +11 -11
  5. package/build/lowcode/index.js +1 -1
  6. package/build/lowcode/meta.js +1 -1
  7. package/build/lowcode/preview.js +1 -1
  8. package/build/lowcode/render/default/view.css +1 -1
  9. package/build/lowcode/render/default/view.js +2 -2
  10. package/build/lowcode/view.css +1 -1
  11. package/build/lowcode/view.js +1 -1
  12. package/lowcode/d-c-slider/meta.ts +1 -15
  13. package/lowcode/position/meta.ts +211 -211
  14. package/lowcode/search-bar/meta.ts +4 -4
  15. package/lowcode/tag-c/meta.ts +75 -75
  16. package/lowcode_es/d-c-slider/meta.d.ts +1 -13
  17. package/lowcode_es/d-c-slider/meta.js +1 -16
  18. package/lowcode_es/meta.js +11 -11
  19. package/lowcode_es/search-bar/meta.js +4 -4
  20. package/lowcode_es/view.js +3 -3
  21. package/lowcode_lib/d-c-slider/meta.d.ts +1 -13
  22. package/lowcode_lib/d-c-slider/meta.js +1 -16
  23. package/lowcode_lib/meta.js +11 -11
  24. package/lowcode_lib/search-bar/meta.js +4 -4
  25. package/lowcode_lib/view.js +2 -2
  26. package/package.json +3 -3
  27. package/build/index.css +0 -2
  28. package/build/index.html +0 -1
  29. package/build/index.js +0 -60
  30. package/dist/BizComps.css +0 -1
  31. package/dist/BizComps.js +0 -7
  32. package/dist/BizComps.js.map +0 -1
  33. package/es/assets/icon/navigation/index-selected.png +0 -0
  34. package/es/assets/icon/navigation/index.png +0 -0
  35. package/es/assets/icon/navigation/message-selected.png +0 -0
  36. package/es/assets/icon/navigation/message.png +0 -0
  37. package/es/assets/icon/navigation/mine-selected.png +0 -0
  38. package/es/assets/icon/navigation/mine.png +0 -0
  39. package/es/assets/icon/position/arror.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 -19
  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/grid-nav/grid-nav.d.ts +0 -13
  61. package/es/components/grid-nav/grid-nav.js +0 -91
  62. package/es/components/grid-nav/index.d.ts +0 -3
  63. package/es/components/grid-nav/index.js +0 -2
  64. package/es/components/grid-nav/index.scss +0 -36
  65. package/es/components/menu-list/index.d.ts +0 -6
  66. package/es/components/menu-list/index.js +0 -6
  67. package/es/components/menu-list/index.scss +0 -16
  68. package/es/components/menu-list/menu-list-item.d.ts +0 -5
  69. package/es/components/menu-list/menu-list-item.js +0 -32
  70. package/es/components/menu-list/menu-list-item.scss +0 -49
  71. package/es/components/menu-list/menu-list.d.ts +0 -5
  72. package/es/components/menu-list/menu-list.js +0 -25
  73. package/es/components/menu-list/types.d.ts +0 -23
  74. package/es/components/menu-list/types.js +0 -1
  75. package/es/components/position/entity.d.ts +0 -5
  76. package/es/components/position/entity.js +0 -1
  77. package/es/components/position/index.d.ts +0 -3
  78. package/es/components/position/index.js +0 -2
  79. package/es/components/position/index.scss +0 -21
  80. package/es/components/position/position-left.d.ts +0 -9
  81. package/es/components/position/position-left.js +0 -28
  82. package/es/components/position/position-list.d.ts +0 -12
  83. package/es/components/position/position-list.js +0 -30
  84. package/es/components/position/position.d.ts +0 -8
  85. package/es/components/position/position.js +0 -47
  86. package/es/components/search-bar/index.d.ts +0 -3
  87. package/es/components/search-bar/index.js +0 -2
  88. package/es/components/search-bar/index.scss +0 -3
  89. package/es/components/search-bar/search-bar.d.ts +0 -7
  90. package/es/components/search-bar/search-bar.js +0 -21
  91. package/es/components/tag/index.d.ts +0 -6
  92. package/es/components/tag/index.js +0 -5
  93. package/es/components/tag/index.scss +0 -17
  94. package/es/components/tag/tag.d.ts +0 -14
  95. package/es/components/tag/tag.js +0 -14
  96. package/es/components/teletext-list/index.d.ts +0 -6
  97. package/es/components/teletext-list/index.js +0 -6
  98. package/es/components/teletext-list/index.scss +0 -16
  99. package/es/components/teletext-list/teletext-list-item.d.ts +0 -42
  100. package/es/components/teletext-list/teletext-list-item.js +0 -35
  101. package/es/components/teletext-list/teletext-list-item.scss +0 -74
  102. package/es/components/teletext-list/teletext-list.d.ts +0 -57
  103. package/es/components/teletext-list/teletext-list.js +0 -75
  104. package/es/components/title/index.d.ts +0 -8
  105. package/es/components/title/index.js +0 -7
  106. package/es/components/title/title-1.d.ts +0 -10
  107. package/es/components/title/title-1.js +0 -16
  108. package/es/components/title/title-1.scss +0 -25
  109. package/es/components/title/title-2.d.ts +0 -18
  110. package/es/components/title/title-2.js +0 -31
  111. package/es/components/title/title-2.scss +0 -22
  112. package/es/index.d.ts +0 -22
  113. package/es/index.js +0 -12
  114. package/es/index.scss +0 -5
  115. package/es/style.js +0 -4
  116. package/es/utils/children-node-handle.d.ts +0 -6
  117. package/es/utils/children-node-handle.js +0 -23
  118. package/es/utils/component-wrapper.d.ts +0 -9
  119. package/es/utils/component-wrapper.js +0 -38
  120. package/es/variables.d.ts +0 -2
  121. package/es/variables.js +0 -2
  122. package/es/variables.scss +0 -3
  123. package/lib/assets/icon/navigation/index-selected.png +0 -0
  124. package/lib/assets/icon/navigation/index.png +0 -0
  125. package/lib/assets/icon/navigation/message-selected.png +0 -0
  126. package/lib/assets/icon/navigation/message.png +0 -0
  127. package/lib/assets/icon/navigation/mine-selected.png +0 -0
  128. package/lib/assets/icon/navigation/mine.png +0 -0
  129. package/lib/assets/icon/position/arror.png +0 -0
  130. package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -13
  131. package/lib/components/bottom-navigation/bottom-navigation.js +0 -46
  132. package/lib/components/bottom-navigation/index.d.ts +0 -3
  133. package/lib/components/bottom-navigation/index.js +0 -7
  134. package/lib/components/bottom-navigation/index.scss +0 -19
  135. package/lib/components/colorful-button/colorful-button.d.ts +0 -12
  136. package/lib/components/colorful-button/colorful-button.js +0 -32
  137. package/lib/components/colorful-button/index.d.ts +0 -3
  138. package/lib/components/colorful-button/index.js +0 -7
  139. package/lib/components/colorful-button/index.scss +0 -5
  140. package/lib/components/colorful-input/colorful-input.d.ts +0 -8
  141. package/lib/components/colorful-input/colorful-input.js +0 -26
  142. package/lib/components/colorful-input/index.d.ts +0 -3
  143. package/lib/components/colorful-input/index.js +0 -7
  144. package/lib/components/colorful-input/index.scss +0 -5
  145. package/lib/components/dc-slider/index.d.ts +0 -3
  146. package/lib/components/dc-slider/index.js +0 -7
  147. package/lib/components/dc-slider/index.scss +0 -8
  148. package/lib/components/dc-slider/slider.d.ts +0 -32
  149. package/lib/components/dc-slider/slider.js +0 -21
  150. package/lib/components/grid-nav/grid-nav.d.ts +0 -13
  151. package/lib/components/grid-nav/grid-nav.js +0 -98
  152. package/lib/components/grid-nav/index.d.ts +0 -3
  153. package/lib/components/grid-nav/index.js +0 -7
  154. package/lib/components/grid-nav/index.scss +0 -36
  155. package/lib/components/menu-list/index.d.ts +0 -6
  156. package/lib/components/menu-list/index.js +0 -10
  157. package/lib/components/menu-list/index.scss +0 -16
  158. package/lib/components/menu-list/menu-list-item.d.ts +0 -5
  159. package/lib/components/menu-list/menu-list-item.js +0 -37
  160. package/lib/components/menu-list/menu-list-item.scss +0 -49
  161. package/lib/components/menu-list/menu-list.d.ts +0 -5
  162. package/lib/components/menu-list/menu-list.js +0 -30
  163. package/lib/components/menu-list/types.d.ts +0 -23
  164. package/lib/components/menu-list/types.js +0 -3
  165. package/lib/components/position/entity.d.ts +0 -5
  166. package/lib/components/position/entity.js +0 -3
  167. package/lib/components/position/index.d.ts +0 -3
  168. package/lib/components/position/index.js +0 -7
  169. package/lib/components/position/index.scss +0 -21
  170. package/lib/components/position/position-left.d.ts +0 -9
  171. package/lib/components/position/position-left.js +0 -35
  172. package/lib/components/position/position-list.d.ts +0 -12
  173. package/lib/components/position/position-list.js +0 -36
  174. package/lib/components/position/position.d.ts +0 -8
  175. package/lib/components/position/position.js +0 -54
  176. package/lib/components/search-bar/index.d.ts +0 -3
  177. package/lib/components/search-bar/index.js +0 -7
  178. package/lib/components/search-bar/index.scss +0 -3
  179. package/lib/components/search-bar/search-bar.d.ts +0 -7
  180. package/lib/components/search-bar/search-bar.js +0 -28
  181. package/lib/components/tag/index.d.ts +0 -6
  182. package/lib/components/tag/index.js +0 -10
  183. package/lib/components/tag/index.scss +0 -17
  184. package/lib/components/tag/tag.d.ts +0 -14
  185. package/lib/components/tag/tag.js +0 -21
  186. package/lib/components/teletext-list/index.d.ts +0 -6
  187. package/lib/components/teletext-list/index.js +0 -10
  188. package/lib/components/teletext-list/index.scss +0 -16
  189. package/lib/components/teletext-list/teletext-list-item.d.ts +0 -42
  190. package/lib/components/teletext-list/teletext-list-item.js +0 -39
  191. package/lib/components/teletext-list/teletext-list-item.scss +0 -74
  192. package/lib/components/teletext-list/teletext-list.d.ts +0 -57
  193. package/lib/components/teletext-list/teletext-list.js +0 -79
  194. package/lib/components/title/index.d.ts +0 -8
  195. package/lib/components/title/index.js +0 -8
  196. package/lib/components/title/title-1.d.ts +0 -10
  197. package/lib/components/title/title-1.js +0 -21
  198. package/lib/components/title/title-1.scss +0 -25
  199. package/lib/components/title/title-2.d.ts +0 -18
  200. package/lib/components/title/title-2.js +0 -36
  201. package/lib/components/title/title-2.scss +0 -22
  202. package/lib/index.d.ts +0 -22
  203. package/lib/index.js +0 -25
  204. package/lib/index.scss +0 -5
  205. package/lib/style.js +0 -4
  206. package/lib/utils/children-node-handle.d.ts +0 -6
  207. package/lib/utils/children-node-handle.js +0 -28
  208. package/lib/utils/component-wrapper.d.ts +0 -9
  209. package/lib/utils/component-wrapper.js +0 -45
  210. package/lib/variables.d.ts +0 -2
  211. package/lib/variables.js +0 -5
  212. package/lib/variables.scss +0 -3
@@ -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
+ };
@@ -94,19 +94,7 @@ declare const _default: {
94
94
  setter?: undefined;
95
95
  } | {
96
96
  name: string;
97
- setter: {
98
- componentName: string;
99
- props: {
100
- attributes: {
101
- label: string;
102
- value: string;
103
- children: {
104
- label: string;
105
- value: string;
106
- }[];
107
- }[];
108
- };
109
- };
97
+ setter: string;
110
98
  condition?: undefined;
111
99
  })[];
112
100
  };
@@ -288,22 +288,7 @@ export default {
288
288
  }
289
289
  }, {
290
290
  name: 'picUrls',
291
- setter: {
292
- componentName: 'SetterFormVariable',
293
- props: {
294
- attributes: [{
295
- label: '图标链接',
296
- value: 'picUrls',
297
- children: [{
298
- label: '图片链接',
299
- value: 'picUrls'
300
- }, {
301
- label: '图片链接2',
302
- value: 'picUrls2'
303
- }]
304
- }]
305
- }
306
- }
291
+ setter: 'SetterFormVariable'
307
292
  }]
308
293
  }
309
294
  },