@dckj-npm/dc-material 0.1.16 → 0.1.17
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.
- package/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/lowcode/grid-nav/meta.ts +3 -3
- package/lowcode/message-list/meta.ts +24 -6
- package/lowcode/navigation/meta.ts +23 -2
- package/lowcode/notice-bar/meta.ts +15 -3
- package/lowcode/swiper/meta.ts +237 -0
- package/lowcode/teletext-list/meta.ts +0 -14
- package/lowcode_es/grid-nav/meta.js +3 -3
- package/lowcode_es/message-list/meta.js +19 -6
- package/lowcode_es/meta.js +3 -2
- package/lowcode_es/navigation/meta.js +21 -2
- package/lowcode_es/notice-bar/meta.js +12 -1
- package/lowcode_es/swiper/meta.d.ts +22 -0
- package/lowcode_es/swiper/meta.js +209 -0
- package/lowcode_es/teletext-list/meta.js +0 -10
- package/lowcode_lib/grid-nav/meta.js +3 -3
- package/lowcode_lib/message-list/meta.js +19 -6
- package/lowcode_lib/meta.js +10 -9
- package/lowcode_lib/navigation/meta.js +21 -2
- package/lowcode_lib/notice-bar/meta.js +12 -1
- package/lowcode_lib/swiper/meta.d.ts +22 -0
- package/lowcode_lib/swiper/meta.js +214 -0
- package/lowcode_lib/teletext-list/meta.js +0 -10
- package/package.json +5 -4
package/lowcode/grid-nav/meta.ts
CHANGED
|
@@ -155,7 +155,7 @@ const GridNavMeta: IPublicTypeComponentMetadata = {
|
|
|
155
155
|
{
|
|
156
156
|
name: 'fontSize',
|
|
157
157
|
title: '字号',
|
|
158
|
-
defaultValue:
|
|
158
|
+
defaultValue: 13,
|
|
159
159
|
setter: 'NumberSetter',
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -163,8 +163,8 @@ const GridNavMeta: IPublicTypeComponentMetadata = {
|
|
|
163
163
|
title: '字体颜色',
|
|
164
164
|
propType: 'string',
|
|
165
165
|
setter: 'ColorSetter',
|
|
166
|
-
defaultValue: '#
|
|
167
|
-
initialValue: '#
|
|
166
|
+
defaultValue: '#222',
|
|
167
|
+
initialValue: '#222'
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
name: 'lineHeight',
|
|
@@ -17,6 +17,17 @@ const MessageListMeta: IPublicTypeComponentMetadata = {
|
|
|
17
17
|
},
|
|
18
18
|
"configure": {
|
|
19
19
|
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": "图片",
|
|
22
|
+
"name": "images",
|
|
23
|
+
"description": "图片",
|
|
24
|
+
"setter": {
|
|
25
|
+
"componentName": "ArraySetter",
|
|
26
|
+
"props": {
|
|
27
|
+
"itemSetter": "StringSetter"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
20
31
|
{
|
|
21
32
|
name: '数据源绑定',
|
|
22
33
|
setter: {
|
|
@@ -81,17 +92,24 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
81
92
|
"schema": {
|
|
82
93
|
"componentName": "MessageList",
|
|
83
94
|
"props": {
|
|
95
|
+
images: [
|
|
96
|
+
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087407058161664.png',
|
|
97
|
+
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087477308559360.png'
|
|
98
|
+
],
|
|
84
99
|
dataList: [
|
|
85
100
|
{
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
101
|
+
"title": "权益信息",
|
|
102
|
+
"description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
|
|
89
103
|
"gmtCreate": "2024-05-24 09:24"
|
|
90
104
|
},
|
|
91
105
|
{
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
106
|
+
"title": "审核信息",
|
|
107
|
+
"description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
|
|
108
|
+
"gmtCreate": "2024-05-24 09:24"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"title": "权益信息",
|
|
112
|
+
"description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
|
|
95
113
|
"gmtCreate": "2024-05-24 09:24"
|
|
96
114
|
}
|
|
97
115
|
],
|
|
@@ -4,6 +4,8 @@ import indexIcon from '../../src/assets/icon/navigation/index.png'
|
|
|
4
4
|
import indexIconSelected from '../../src/assets/icon/navigation/index-selected.png'
|
|
5
5
|
import mineIcon from '../../src/assets/icon/navigation/mine.png'
|
|
6
6
|
import mineIconSelected from '../../src/assets/icon/navigation/mine-selected.png'
|
|
7
|
+
import presentIcon from '../../src/assets/icon/navigation/present.png'
|
|
8
|
+
import presentIconSelected from '../../src/assets/icon/navigation/present-selected.png'
|
|
7
9
|
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
8
10
|
|
|
9
11
|
const NavigationMeta: IPublicTypeComponentMetadata = {
|
|
@@ -84,6 +86,15 @@ const NavigationMeta: IPublicTypeComponentMetadata = {
|
|
|
84
86
|
"isRequired": true,
|
|
85
87
|
"initialValue": ""
|
|
86
88
|
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"title": "跳转页面",
|
|
92
|
+
"name": "pageId",
|
|
93
|
+
"setter": {
|
|
94
|
+
"componentName": "StringSetter",
|
|
95
|
+
"isRequired": true,
|
|
96
|
+
"initialValue": ""
|
|
97
|
+
}
|
|
87
98
|
}
|
|
88
99
|
],
|
|
89
100
|
"extraSetter": {
|
|
@@ -111,8 +122,12 @@ const NavigationMeta: IPublicTypeComponentMetadata = {
|
|
|
111
122
|
"setter": "ColorSetter"
|
|
112
123
|
}
|
|
113
124
|
],
|
|
114
|
-
|
|
115
|
-
|
|
125
|
+
supports: {
|
|
126
|
+
style: true,
|
|
127
|
+
events: [{
|
|
128
|
+
name: 'onClick',
|
|
129
|
+
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
130
|
+
}],
|
|
116
131
|
},
|
|
117
132
|
"component": {}
|
|
118
133
|
}
|
|
@@ -124,6 +139,7 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
124
139
|
"schema": {
|
|
125
140
|
"componentName": "Navigation",
|
|
126
141
|
"props": {
|
|
142
|
+
selectedColor: '#EB7244',
|
|
127
143
|
"itemArray": [
|
|
128
144
|
{
|
|
129
145
|
"text": "首页",
|
|
@@ -135,6 +151,11 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
135
151
|
"icon": messageIcon,
|
|
136
152
|
"selectedIcon": messageIconSelected
|
|
137
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"text": "礼品",
|
|
156
|
+
"icon": presentIcon,
|
|
157
|
+
"selectedIcon": presentIconSelected
|
|
158
|
+
},
|
|
138
159
|
{
|
|
139
160
|
"text": "我的",
|
|
140
161
|
"icon": mineIcon,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import noticeIcon from '../../src/assets/icon/notice-bar/notice.png'
|
|
2
2
|
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
3
|
|
|
4
4
|
const NoticeBarMeta: IPublicTypeComponentMetadata = {
|
|
@@ -18,6 +18,16 @@ const NoticeBarMeta: IPublicTypeComponentMetadata = {
|
|
|
18
18
|
},
|
|
19
19
|
"configure": {
|
|
20
20
|
"props": [
|
|
21
|
+
{
|
|
22
|
+
"title": "图标",
|
|
23
|
+
"name": "icon",
|
|
24
|
+
"description": "图标",
|
|
25
|
+
"setter": {
|
|
26
|
+
"componentName": "StringSetter",
|
|
27
|
+
"isRequired": true,
|
|
28
|
+
"initialValue": ""
|
|
29
|
+
}
|
|
30
|
+
},
|
|
21
31
|
{
|
|
22
32
|
name: '数据源绑定',
|
|
23
33
|
setter: {
|
|
@@ -197,7 +207,7 @@ const NoticeBarMeta: IPublicTypeComponentMetadata = {
|
|
|
197
207
|
]
|
|
198
208
|
}
|
|
199
209
|
},
|
|
200
|
-
|
|
210
|
+
|
|
201
211
|
],
|
|
202
212
|
"supports": {
|
|
203
213
|
"style": true,
|
|
@@ -218,7 +228,9 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
218
228
|
"screenshot": "",
|
|
219
229
|
"schema": {
|
|
220
230
|
"componentName": "NoticeBar",
|
|
221
|
-
"props": {
|
|
231
|
+
"props": {
|
|
232
|
+
icon: "https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038129927842566144.png"
|
|
233
|
+
},
|
|
222
234
|
children: [
|
|
223
235
|
{
|
|
224
236
|
componentName: 'Title1',
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const SwiperMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
group: '低代码组件',
|
|
6
|
+
category: '信息展示',
|
|
7
|
+
"componentName": "Swiper",
|
|
8
|
+
title: '图片轮播',
|
|
9
|
+
"docUrl": "",
|
|
10
|
+
"screenshot": "",
|
|
11
|
+
"devMode": "proCode",
|
|
12
|
+
"npm": {
|
|
13
|
+
"package": "@dckj-npm/dc-material",
|
|
14
|
+
"version": "0.1.16",
|
|
15
|
+
"exportName": "Swiper",
|
|
16
|
+
"main": "src\\index.tsx",
|
|
17
|
+
"destructuring": true,
|
|
18
|
+
"subName": ""
|
|
19
|
+
},
|
|
20
|
+
"configure": {
|
|
21
|
+
"props": [
|
|
22
|
+
{
|
|
23
|
+
"title": "初始索引",
|
|
24
|
+
"name": "initialSlide",
|
|
25
|
+
"description": "设定初始化时slide的索引",
|
|
26
|
+
"setter": {
|
|
27
|
+
"componentName": "NumberSetter",
|
|
28
|
+
"isRequired": false,
|
|
29
|
+
"initialValue": 0
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": {
|
|
34
|
+
"label": {
|
|
35
|
+
"type": "i18n",
|
|
36
|
+
"en-US": "direction",
|
|
37
|
+
"zh-CN": "方向"
|
|
38
|
+
},
|
|
39
|
+
"tip": "direction | 轮播方向"
|
|
40
|
+
},
|
|
41
|
+
"name": "direction",
|
|
42
|
+
"setter": {
|
|
43
|
+
"componentName": "RadioGroupSetter",
|
|
44
|
+
"props": {
|
|
45
|
+
"dataSource": [
|
|
46
|
+
{
|
|
47
|
+
"label": "vertical",
|
|
48
|
+
"value": "vertical"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"label": "horizontal",
|
|
52
|
+
"value": "horizontal"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"options": [
|
|
56
|
+
{
|
|
57
|
+
"label": "vertical",
|
|
58
|
+
"value": "vertical"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"label": "horizontal",
|
|
62
|
+
"value": "horizontal"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"initialValue": "vertical"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"title": {
|
|
71
|
+
"label": {
|
|
72
|
+
"type": "i18n",
|
|
73
|
+
"en-US": "speed",
|
|
74
|
+
"zh-CN": "切换速度"
|
|
75
|
+
},
|
|
76
|
+
"tip": "speed | 切换速度,单位ms"
|
|
77
|
+
},
|
|
78
|
+
"name": "speed",
|
|
79
|
+
"description": "切换速度,单位ms",
|
|
80
|
+
"setter": {
|
|
81
|
+
"componentName": "NumberSetter",
|
|
82
|
+
"isRequired": false,
|
|
83
|
+
"initialValue": 0
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"title": {
|
|
88
|
+
"label": {
|
|
89
|
+
"type": "i18n",
|
|
90
|
+
"en-US": "slidesPerView",
|
|
91
|
+
"zh-CN": "展示数量"
|
|
92
|
+
},
|
|
93
|
+
"tip": "同时展示图片数量"
|
|
94
|
+
},
|
|
95
|
+
"name": "slidesPerView",
|
|
96
|
+
"description": "展示数量",
|
|
97
|
+
"setter": {
|
|
98
|
+
"componentName": "NumberSetter",
|
|
99
|
+
"isRequired": true,
|
|
100
|
+
"initialValue": 0
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"title": {
|
|
105
|
+
"label": {
|
|
106
|
+
"type": "i18n",
|
|
107
|
+
"en-US": "height",
|
|
108
|
+
"zh-CN": "高度"
|
|
109
|
+
},
|
|
110
|
+
"tip": "height | 高度"
|
|
111
|
+
},
|
|
112
|
+
"name": "height",
|
|
113
|
+
"description": "高度",
|
|
114
|
+
"setter": {
|
|
115
|
+
"componentName": "NumberSetter",
|
|
116
|
+
"isRequired": true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"title": {
|
|
121
|
+
"label": {
|
|
122
|
+
"type": "i18n",
|
|
123
|
+
"en-US": "autoHeight",
|
|
124
|
+
"zh-CN": "自动高度"
|
|
125
|
+
},
|
|
126
|
+
"tip": "autoHeight | 自动高度"
|
|
127
|
+
},
|
|
128
|
+
"name": "autoHeight",
|
|
129
|
+
"description": "自动高度",
|
|
130
|
+
"setter": {
|
|
131
|
+
"componentName": "BoolSetter",
|
|
132
|
+
"isRequired": true,
|
|
133
|
+
"initialValue": false
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"title": {
|
|
138
|
+
"label": {
|
|
139
|
+
"type": "i18n",
|
|
140
|
+
"en-US": "autoplay",
|
|
141
|
+
"zh-CN": "自动播放"
|
|
142
|
+
},
|
|
143
|
+
"tip": "autoplay | 自动播放"
|
|
144
|
+
},
|
|
145
|
+
"name": "autoplay",
|
|
146
|
+
"description": "自动播放",
|
|
147
|
+
"setter": {
|
|
148
|
+
"componentName": "BoolSetter",
|
|
149
|
+
"isRequired": true,
|
|
150
|
+
"initialValue": false
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"title": {
|
|
155
|
+
"label": {
|
|
156
|
+
"type": "i18n",
|
|
157
|
+
"en-US": "loop",
|
|
158
|
+
"zh-CN": "循环播放"
|
|
159
|
+
},
|
|
160
|
+
"tip": "loop | 循环播放"
|
|
161
|
+
},
|
|
162
|
+
"name": "loop",
|
|
163
|
+
"description": "循环播放",
|
|
164
|
+
"setter": {
|
|
165
|
+
"componentName": "BoolSetter",
|
|
166
|
+
"isRequired": true,
|
|
167
|
+
"initialValue": false
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"title": {
|
|
172
|
+
"label": {
|
|
173
|
+
"type": "i18n",
|
|
174
|
+
"en-US": "spaceBetween",
|
|
175
|
+
"zh-CN": "图片间距"
|
|
176
|
+
},
|
|
177
|
+
"tip": "spaceBetween | 图片间距"
|
|
178
|
+
},
|
|
179
|
+
"name": "spaceBetween",
|
|
180
|
+
"description": "图片间距",
|
|
181
|
+
"setter": {
|
|
182
|
+
"componentName": "NumberSetter",
|
|
183
|
+
"isRequired": true,
|
|
184
|
+
"initialValue": 0
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'picUrls',
|
|
189
|
+
title: '数据源绑定',
|
|
190
|
+
setter: {
|
|
191
|
+
componentName: 'SetterFormVariable',
|
|
192
|
+
props: {
|
|
193
|
+
attributes: [
|
|
194
|
+
{
|
|
195
|
+
label: '图标链接',
|
|
196
|
+
value: 'picUrls'
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"supports": {
|
|
204
|
+
"style": true
|
|
205
|
+
},
|
|
206
|
+
"component": {}
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
210
|
+
{
|
|
211
|
+
"title": "图片轮播",
|
|
212
|
+
"screenshot": "",
|
|
213
|
+
"schema": {
|
|
214
|
+
"componentName": "Swiper",
|
|
215
|
+
"props": {
|
|
216
|
+
spaceBetween: 0,
|
|
217
|
+
loop: true,
|
|
218
|
+
autoplay: true,
|
|
219
|
+
speed: 200,
|
|
220
|
+
slidesPerView: 1,
|
|
221
|
+
initialSlide: 1,
|
|
222
|
+
direction: 'horizontal',
|
|
223
|
+
autoHeight: false,
|
|
224
|
+
// 轮播路径
|
|
225
|
+
picUrls: ['https://img.alicdn.com/tps/TB1bewbNVXXXXc5XXXXXXXXXXXX-1000-300.png',
|
|
226
|
+
'https://img.alicdn.com/tps/TB1xuUcNVXXXXcRXXXXXXXXXXXX-1000-300.jpg',
|
|
227
|
+
'https://img.alicdn.com/tps/TB1ikP.NVXXXXaYXpXXXXXXXXXX-1000-300.jpg',
|
|
228
|
+
'https://img.alicdn.com/tps/TB1s1_JNVXXXXbhaXXXXXXXXXXX-1000-300.jpg']
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
];
|
|
233
|
+
|
|
234
|
+
export default {
|
|
235
|
+
...SwiperMeta,
|
|
236
|
+
snippets
|
|
237
|
+
};
|
|
@@ -252,20 +252,6 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
252
252
|
"color": "blue"
|
|
253
253
|
}
|
|
254
254
|
]
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"title": "标题名称",
|
|
258
|
-
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
259
|
-
"tags": [
|
|
260
|
-
{
|
|
261
|
-
"name": "报名火热",
|
|
262
|
-
"color": "orange"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"name": "人数众多",
|
|
266
|
-
"color": "blue"
|
|
267
|
-
}
|
|
268
|
-
]
|
|
269
255
|
}
|
|
270
256
|
]
|
|
271
257
|
}
|
|
@@ -137,15 +137,15 @@ var GridNavMeta = {
|
|
|
137
137
|
}, {
|
|
138
138
|
name: 'fontSize',
|
|
139
139
|
title: '字号',
|
|
140
|
-
defaultValue:
|
|
140
|
+
defaultValue: 13,
|
|
141
141
|
setter: 'NumberSetter'
|
|
142
142
|
}, {
|
|
143
143
|
name: 'fontColor',
|
|
144
144
|
title: '字体颜色',
|
|
145
145
|
propType: 'string',
|
|
146
146
|
setter: 'ColorSetter',
|
|
147
|
-
defaultValue: '#
|
|
148
|
-
initialValue: '#
|
|
147
|
+
defaultValue: '#222',
|
|
148
|
+
initialValue: '#222'
|
|
149
149
|
}, {
|
|
150
150
|
name: 'lineHeight',
|
|
151
151
|
title: '行高',
|
|
@@ -15,6 +15,16 @@ var MessageListMeta = {
|
|
|
15
15
|
},
|
|
16
16
|
"configure": {
|
|
17
17
|
"props": [{
|
|
18
|
+
"title": "图片",
|
|
19
|
+
"name": "images",
|
|
20
|
+
"description": "图片",
|
|
21
|
+
"setter": {
|
|
22
|
+
"componentName": "ArraySetter",
|
|
23
|
+
"props": {
|
|
24
|
+
"itemSetter": "StringSetter"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, {
|
|
18
28
|
name: '数据源绑定',
|
|
19
29
|
setter: {
|
|
20
30
|
componentName: 'SetterFormVariable',
|
|
@@ -76,15 +86,18 @@ var snippets = [{
|
|
|
76
86
|
"schema": {
|
|
77
87
|
"componentName": "MessageList",
|
|
78
88
|
"props": {
|
|
89
|
+
images: ['https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087407058161664.png', 'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087477308559360.png'],
|
|
79
90
|
dataList: [{
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
91
|
+
"title": "权益信息",
|
|
92
|
+
"description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
|
|
83
93
|
"gmtCreate": "2024-05-24 09:24"
|
|
84
94
|
}, {
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
95
|
+
"title": "审核信息",
|
|
96
|
+
"description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
|
|
97
|
+
"gmtCreate": "2024-05-24 09:24"
|
|
98
|
+
}, {
|
|
99
|
+
"title": "权益信息",
|
|
100
|
+
"description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
|
|
88
101
|
"gmtCreate": "2024-05-24 09:24"
|
|
89
102
|
}],
|
|
90
103
|
readDataList: [{
|
package/lowcode_es/meta.js
CHANGED
|
@@ -9,6 +9,7 @@ import NavigationMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowc
|
|
|
9
9
|
import NoticeBarMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/notice-bar/meta';
|
|
10
10
|
import PositionMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/position/meta';
|
|
11
11
|
import SearchBarMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/search-bar/meta';
|
|
12
|
+
import SwiperMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/swiper/meta';
|
|
12
13
|
import TabContainerItemMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/tab-container-item/meta';
|
|
13
14
|
import TabContainerMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/tab-container/meta';
|
|
14
15
|
import TabMessageMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/tab-message/meta';
|
|
@@ -87,7 +88,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
87
88
|
packageName = '@dckj-npm/dc-material';
|
|
88
89
|
}
|
|
89
90
|
if (version === void 0) {
|
|
90
|
-
version = '0.1.
|
|
91
|
+
version = '0.1.17';
|
|
91
92
|
}
|
|
92
93
|
if (basicLibraryVersion === void 0) {
|
|
93
94
|
basicLibraryVersion = {
|
|
@@ -114,7 +115,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
114
115
|
}
|
|
115
116
|
return meta;
|
|
116
117
|
}
|
|
117
|
-
var componentMetas = [Button2Meta, DCSliderMeta, GridNavMeta, IntegralTaskMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, SearchBarMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, Title1Meta, Title2Meta];
|
|
118
|
+
var componentMetas = [Button2Meta, DCSliderMeta, GridNavMeta, IntegralTaskMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, SearchBarMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, Title1Meta, Title2Meta];
|
|
118
119
|
var components = [];
|
|
119
120
|
var npmInfo = {};
|
|
120
121
|
componentMetas.forEach(function (meta) {
|
|
@@ -5,6 +5,8 @@ import indexIcon from "../../src/assets/icon/navigation/index.png";
|
|
|
5
5
|
import indexIconSelected from "../../src/assets/icon/navigation/index-selected.png";
|
|
6
6
|
import mineIcon from "../../src/assets/icon/navigation/mine.png";
|
|
7
7
|
import mineIconSelected from "../../src/assets/icon/navigation/mine-selected.png";
|
|
8
|
+
import presentIcon from "../../src/assets/icon/navigation/present.png";
|
|
9
|
+
import presentIconSelected from "../../src/assets/icon/navigation/present-selected.png";
|
|
8
10
|
var NavigationMeta = {
|
|
9
11
|
group: '低代码组件',
|
|
10
12
|
"componentName": "Navigation",
|
|
@@ -79,6 +81,14 @@ var NavigationMeta = {
|
|
|
79
81
|
"isRequired": true,
|
|
80
82
|
"initialValue": ""
|
|
81
83
|
}
|
|
84
|
+
}, {
|
|
85
|
+
"title": "跳转页面",
|
|
86
|
+
"name": "pageId",
|
|
87
|
+
"setter": {
|
|
88
|
+
"componentName": "StringSetter",
|
|
89
|
+
"isRequired": true,
|
|
90
|
+
"initialValue": ""
|
|
91
|
+
}
|
|
82
92
|
}],
|
|
83
93
|
"extraSetter": {
|
|
84
94
|
"componentName": "MixedSetter",
|
|
@@ -103,8 +113,12 @@ var NavigationMeta = {
|
|
|
103
113
|
"name": "selectedColor",
|
|
104
114
|
"setter": "ColorSetter"
|
|
105
115
|
}],
|
|
106
|
-
|
|
107
|
-
|
|
116
|
+
supports: {
|
|
117
|
+
style: true,
|
|
118
|
+
events: [{
|
|
119
|
+
name: 'onClick'
|
|
120
|
+
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
121
|
+
}]
|
|
108
122
|
},
|
|
109
123
|
"component": {}
|
|
110
124
|
}
|
|
@@ -115,6 +129,7 @@ var snippets = [{
|
|
|
115
129
|
"schema": {
|
|
116
130
|
"componentName": "Navigation",
|
|
117
131
|
"props": {
|
|
132
|
+
selectedColor: '#EB7244',
|
|
118
133
|
"itemArray": [{
|
|
119
134
|
"text": "首页",
|
|
120
135
|
"icon": indexIcon,
|
|
@@ -123,6 +138,10 @@ var snippets = [{
|
|
|
123
138
|
"text": "消息",
|
|
124
139
|
"icon": messageIcon,
|
|
125
140
|
"selectedIcon": messageIconSelected
|
|
141
|
+
}, {
|
|
142
|
+
"text": "礼品",
|
|
143
|
+
"icon": presentIcon,
|
|
144
|
+
"selectedIcon": presentIconSelected
|
|
126
145
|
}, {
|
|
127
146
|
"text": "我的",
|
|
128
147
|
"icon": mineIcon,
|
|
@@ -16,6 +16,15 @@ var NoticeBarMeta = {
|
|
|
16
16
|
},
|
|
17
17
|
"configure": {
|
|
18
18
|
"props": [{
|
|
19
|
+
"title": "图标",
|
|
20
|
+
"name": "icon",
|
|
21
|
+
"description": "图标",
|
|
22
|
+
"setter": {
|
|
23
|
+
"componentName": "StringSetter",
|
|
24
|
+
"isRequired": true,
|
|
25
|
+
"initialValue": ""
|
|
26
|
+
}
|
|
27
|
+
}, {
|
|
19
28
|
name: '数据源绑定',
|
|
20
29
|
setter: {
|
|
21
30
|
componentName: 'SetterFormVariable',
|
|
@@ -201,7 +210,9 @@ var snippets = [{
|
|
|
201
210
|
"screenshot": "",
|
|
202
211
|
"schema": {
|
|
203
212
|
"componentName": "NoticeBar",
|
|
204
|
-
"props": {
|
|
213
|
+
"props": {
|
|
214
|
+
icon: "https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038129927842566144.png"
|
|
215
|
+
},
|
|
205
216
|
children: [{
|
|
206
217
|
componentName: 'Title1',
|
|
207
218
|
props: {
|
|
@@ -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;
|