@dckj-npm/dc-material 0.1.12 → 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 (63) hide show
  1. package/build/lowcode/assets-daily.json +67 -0
  2. package/build/lowcode/assets-dev.json +67 -0
  3. package/build/lowcode/assets-prod.json +67 -0
  4. package/build/lowcode/designer.html +302 -0
  5. package/build/lowcode/index.html +304 -0
  6. package/build/lowcode/index.js +1 -0
  7. package/build/lowcode/meta.js +1 -0
  8. package/build/lowcode/preview.css +1 -0
  9. package/build/lowcode/preview.html +33 -0
  10. package/build/lowcode/preview.js +308 -0
  11. package/build/lowcode/render/default/view.css +1 -0
  12. package/build/lowcode/render/default/view.js +295 -0
  13. package/build/lowcode/view.css +1 -0
  14. package/build/lowcode/view.js +295 -0
  15. package/lowcode_es/d-c-slider/meta.d.ts +140 -0
  16. package/lowcode_es/d-c-slider/meta.js +298 -0
  17. package/lowcode_es/d-c-slider/snippets.d.ts +36 -0
  18. package/lowcode_es/d-c-slider/snippets.js +36 -0
  19. package/lowcode_es/grid-nav/meta.d.ts +22 -0
  20. package/lowcode_es/grid-nav/meta.js +152 -0
  21. package/lowcode_es/menu-list/meta.d.ts +22 -0
  22. package/lowcode_es/menu-list/meta.js +128 -0
  23. package/lowcode_es/meta.js +173 -0
  24. package/lowcode_es/navigation/meta.d.ts +22 -0
  25. package/lowcode_es/navigation/meta.js +136 -0
  26. package/lowcode_es/position/meta.d.ts +22 -0
  27. package/lowcode_es/position/meta.js +190 -0
  28. package/lowcode_es/search-bar/meta.d.ts +22 -0
  29. package/lowcode_es/search-bar/meta.js +46 -0
  30. package/lowcode_es/tag-c/meta.d.ts +22 -0
  31. package/lowcode_es/tag-c/meta.js +66 -0
  32. package/lowcode_es/teletext-list/meta.d.ts +22 -0
  33. package/lowcode_es/teletext-list/meta.js +294 -0
  34. package/lowcode_es/title1/meta.d.ts +22 -0
  35. package/lowcode_es/title1/meta.js +51 -0
  36. package/lowcode_es/title2/meta.d.ts +22 -0
  37. package/lowcode_es/title2/meta.js +83 -0
  38. package/lowcode_es/view.js +18 -0
  39. package/lowcode_lib/d-c-slider/meta.d.ts +140 -0
  40. package/lowcode_lib/d-c-slider/meta.js +303 -0
  41. package/lowcode_lib/d-c-slider/snippets.d.ts +36 -0
  42. package/lowcode_lib/d-c-slider/snippets.js +40 -0
  43. package/lowcode_lib/grid-nav/meta.d.ts +22 -0
  44. package/lowcode_lib/grid-nav/meta.js +157 -0
  45. package/lowcode_lib/menu-list/meta.d.ts +22 -0
  46. package/lowcode_lib/menu-list/meta.js +133 -0
  47. package/lowcode_lib/meta.js +177 -0
  48. package/lowcode_lib/navigation/meta.d.ts +22 -0
  49. package/lowcode_lib/navigation/meta.js +141 -0
  50. package/lowcode_lib/position/meta.d.ts +22 -0
  51. package/lowcode_lib/position/meta.js +195 -0
  52. package/lowcode_lib/search-bar/meta.d.ts +22 -0
  53. package/lowcode_lib/search-bar/meta.js +51 -0
  54. package/lowcode_lib/tag-c/meta.d.ts +22 -0
  55. package/lowcode_lib/tag-c/meta.js +71 -0
  56. package/lowcode_lib/teletext-list/meta.d.ts +22 -0
  57. package/lowcode_lib/teletext-list/meta.js +299 -0
  58. package/lowcode_lib/title1/meta.d.ts +22 -0
  59. package/lowcode_lib/title1/meta.js +56 -0
  60. package/lowcode_lib/title2/meta.d.ts +22 -0
  61. package/lowcode_lib/title2/meta.js +88 -0
  62. package/lowcode_lib/view.js +29 -0
  63. package/package.json +110 -110
@@ -0,0 +1,140 @@
1
+ declare const _default: {
2
+ group: string;
3
+ componentName: string;
4
+ title: string;
5
+ docUrl: string;
6
+ screenshot: string;
7
+ npm: {
8
+ package: string;
9
+ version: string;
10
+ exportName: string;
11
+ main: string;
12
+ destructuring: boolean;
13
+ subName: string;
14
+ };
15
+ props: ({
16
+ name: string;
17
+ propType: string;
18
+ defaultValue: string;
19
+ description?: undefined;
20
+ title?: undefined;
21
+ } | {
22
+ name: string;
23
+ propType: string;
24
+ defaultValue: boolean;
25
+ description?: undefined;
26
+ title?: undefined;
27
+ } | {
28
+ name: string;
29
+ propType: string;
30
+ description: string;
31
+ defaultValue?: undefined;
32
+ title?: undefined;
33
+ } | {
34
+ name: string;
35
+ title: {
36
+ label: string;
37
+ tip: string;
38
+ };
39
+ propType: string;
40
+ description: string;
41
+ defaultValue: number;
42
+ } | {
43
+ name: string;
44
+ title: {
45
+ label: string;
46
+ tip: string;
47
+ };
48
+ propType: string;
49
+ description: string;
50
+ defaultValue?: undefined;
51
+ } | {
52
+ name: string;
53
+ title: {
54
+ label: string;
55
+ tip: string;
56
+ };
57
+ propType: string;
58
+ description: string;
59
+ defaultValue: boolean;
60
+ } | {
61
+ name: string;
62
+ title: {
63
+ label: string;
64
+ tip: string;
65
+ };
66
+ propType: {
67
+ type: string;
68
+ value: string[];
69
+ };
70
+ description: string;
71
+ defaultValue: string;
72
+ } | {
73
+ name: string;
74
+ propType: string;
75
+ description: string;
76
+ defaultValue: any;
77
+ title?: undefined;
78
+ } | {
79
+ name: string;
80
+ propType: string;
81
+ defaultValue?: undefined;
82
+ description?: undefined;
83
+ title?: undefined;
84
+ })[];
85
+ configure: {
86
+ component: {
87
+ isContainer: boolean;
88
+ };
89
+ props: {
90
+ isExtends: boolean;
91
+ override: ({
92
+ name: string;
93
+ condition: () => boolean;
94
+ setter?: undefined;
95
+ } | {
96
+ name: string;
97
+ setter: string;
98
+ condition?: undefined;
99
+ })[];
100
+ };
101
+ };
102
+ icon: string;
103
+ category: string;
104
+ snippets: {
105
+ title: string;
106
+ screenshot: string;
107
+ schema: {
108
+ componentName: string;
109
+ props: {
110
+ prefix: string;
111
+ animation: string;
112
+ arrows: boolean;
113
+ arrowSize: string;
114
+ arrowPosition: string;
115
+ arrowDirection: string;
116
+ autoplaySpeed: number;
117
+ dots: boolean;
118
+ dotsDirection: string;
119
+ draggable: boolean;
120
+ infinite: boolean;
121
+ slide: string;
122
+ slideDirection: string;
123
+ slidesToShow: number;
124
+ slidesToScroll: number;
125
+ speed: number;
126
+ triggerType: string;
127
+ centerPadding: string;
128
+ cssEase: string;
129
+ edgeFriction: number;
130
+ swipe: boolean;
131
+ touchMove: boolean;
132
+ touchThreshold: number;
133
+ useCSS: boolean;
134
+ waitForAnimate: boolean;
135
+ picUrls: string[];
136
+ };
137
+ };
138
+ }[];
139
+ };
140
+ export default _default;
@@ -0,0 +1,303 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var _snippets = _interopRequireDefault(require("./snippets"));
7
+ var _default = exports["default"] = {
8
+ group: '低代码组件',
9
+ componentName: 'DCSlider',
10
+ title: '图片轮播',
11
+ docUrl: '',
12
+ screenshot: '',
13
+ "npm": {
14
+ "package": "@dckj-npm/dc-material",
15
+ "version": "0.1.8",
16
+ "exportName": "DCSlider",
17
+ "main": "src\\index.tsx",
18
+ "destructuring": true,
19
+ "subName": ""
20
+ },
21
+ props: [{
22
+ name: 'prefix',
23
+ propType: 'string',
24
+ defaultValue: 'next-'
25
+ }, {
26
+ name: 'rtl',
27
+ propType: 'bool',
28
+ defaultValue: false
29
+ }, {
30
+ name: 'className',
31
+ propType: 'any',
32
+ description: '自定义传入的样式'
33
+ }, {
34
+ name: 'slidesToShow',
35
+ title: {
36
+ label: '图片数量',
37
+ tip: 'slidesToShow|同时展示的图片数量'
38
+ },
39
+ propType: 'number',
40
+ description: '同时展示的图片数量',
41
+ defaultValue: 1
42
+ }, {
43
+ name: 'slidesToScroll',
44
+ title: {
45
+ label: '同时滑动的图片数量',
46
+ tip: 'slidesToScroll'
47
+ },
48
+ propType: 'number',
49
+ description: '同时滑动的图片数量',
50
+ defaultValue: 1
51
+ }, {
52
+ name: 'speed',
53
+ title: {
54
+ label: '轮播速度',
55
+ tip: 'speed'
56
+ },
57
+ propType: 'number',
58
+ description: '轮播速度',
59
+ defaultValue: 600
60
+ }, {
61
+ name: 'activeIndex',
62
+ title: {
63
+ label: '指定轮播图',
64
+ tip: 'activeIndex|跳转到指定的轮播图(受控)'
65
+ },
66
+ propType: 'number',
67
+ description: '跳转到指定的轮播图(受控)'
68
+ }, {
69
+ name: 'adaptiveHeight',
70
+ title: {
71
+ label: '自适应高度',
72
+ tip: 'adaptiveHeight'
73
+ },
74
+ propType: 'bool',
75
+ description: '是否使用自适应高度',
76
+ defaultValue: true
77
+ }, {
78
+ name: 'animation',
79
+ title: {
80
+ label: '动效类型',
81
+ tip: 'animation'
82
+ },
83
+ propType: {
84
+ type: 'oneOfType',
85
+ value: ['string', 'bool']
86
+ },
87
+ description: "动效类型,默认是'slide'",
88
+ defaultValue: 'slide'
89
+ }, {
90
+ name: 'arrows',
91
+ title: {
92
+ label: '箭头',
93
+ tip: 'arrows|是否显示箭头'
94
+ },
95
+ propType: 'bool',
96
+ description: '是否显示箭头',
97
+ defaultValue: true
98
+ }, {
99
+ name: 'arrowSize',
100
+ title: {
101
+ label: '箭头大小',
102
+ tip: "arrowSize|导航箭头大小 可选值: 'medium', 'large'"
103
+ },
104
+ propType: {
105
+ type: 'oneOf',
106
+ value: ['medium', 'large']
107
+ },
108
+ description: "导航箭头大小 可选值: 'medium', 'large'",
109
+ defaultValue: 'medium'
110
+ }, {
111
+ name: 'arrowPosition',
112
+ title: {
113
+ label: '箭头位置',
114
+ tip: "arrowPosition|导航箭头位置 可选值: 'inner', 'outer'"
115
+ },
116
+ propType: {
117
+ type: 'oneOf',
118
+ value: ['inner', 'outer']
119
+ },
120
+ description: "导航箭头位置 可选值: 'inner', 'outer'",
121
+ defaultValue: 'inner'
122
+ }, {
123
+ name: 'arrowDirection',
124
+ title: {
125
+ label: '箭头方向',
126
+ tip: "arrowDirection|导航箭头的方向 可选值: 'hoz', 'ver'"
127
+ },
128
+ propType: {
129
+ type: 'oneOf',
130
+ value: ['hoz', 'ver']
131
+ },
132
+ description: "导航箭头的方向 可选值: 'hoz', 'ver'",
133
+ defaultValue: 'hoz'
134
+ }, {
135
+ name: 'autoplay',
136
+ title: {
137
+ label: '自动播放',
138
+ tip: 'autoplay'
139
+ },
140
+ propType: 'bool',
141
+ description: '是否自动播放',
142
+ defaultValue: false
143
+ }, {
144
+ name: 'autoplaySpeed',
145
+ title: {
146
+ label: '自动播放的速度',
147
+ tip: 'autoplaySpeed, 默认 3000 毫秒'
148
+ },
149
+ propType: 'number',
150
+ description: '自动播放的速度',
151
+ defaultValue: 3000
152
+ }, {
153
+ name: 'nextArrow',
154
+ propType: 'node',
155
+ description: '向后箭头',
156
+ defaultValue: null
157
+ }, {
158
+ name: 'prevArrow',
159
+ propType: 'node',
160
+ description: '向前箭头',
161
+ defaultValue: null
162
+ }, {
163
+ name: 'centerMode',
164
+ title: {
165
+ label: '居中模式',
166
+ tip: 'centerMode'
167
+ },
168
+ propType: 'bool',
169
+ description: '是否启用居中模式',
170
+ defaultValue: false
171
+ }, {
172
+ name: 'dots',
173
+ title: {
174
+ label: '导航锚点',
175
+ tip: 'dots|是否显示导航锚点'
176
+ },
177
+ propType: 'bool',
178
+ description: '是否显示导航锚点',
179
+ defaultValue: true
180
+ }, {
181
+ name: 'dotsDirection',
182
+ title: {
183
+ label: '导航锚点位置',
184
+ tip: 'dotsDirection'
185
+ },
186
+ propType: {
187
+ type: 'oneOf',
188
+ value: ['hoz', 'ver']
189
+ },
190
+ description: '导航锚点位置',
191
+ defaultValue: 'hoz'
192
+ }, {
193
+ name: 'draggable',
194
+ title: {
195
+ label: '可拖拽',
196
+ tip: 'draggable'
197
+ },
198
+ propType: 'bool',
199
+ description: '是否可拖拽',
200
+ defaultValue: true
201
+ }, {
202
+ name: 'infinite',
203
+ title: {
204
+ label: '无穷循环',
205
+ tip: 'infinite'
206
+ },
207
+ propType: 'bool',
208
+ description: '是否使用无穷循环模式',
209
+ defaultValue: true
210
+ }, {
211
+ name: 'defaultActiveIndex',
212
+ title: {
213
+ label: '初始轮播图',
214
+ tip: 'defaultActiveIndex|初始被激活的轮播图'
215
+ },
216
+ propType: 'number',
217
+ description: '初始被激活的轮播图',
218
+ defaultValue: 0
219
+ }, {
220
+ name: 'lazyLoad',
221
+ title: {
222
+ label: '懒加载',
223
+ tip: 'lazyLoad|是否启用懒加载'
224
+ },
225
+ propType: 'bool',
226
+ description: '是否启用懒加载',
227
+ defaultValue: false
228
+ }, {
229
+ name: 'slideDirection',
230
+ title: {
231
+ label: '轮播方向',
232
+ tip: 'slideDirection'
233
+ },
234
+ propType: {
235
+ type: 'oneOf',
236
+ value: ['hoz', 'ver']
237
+ },
238
+ description: '轮播方向',
239
+ defaultValue: 'hoz'
240
+ }, {
241
+ name: 'triggerType',
242
+ title: {
243
+ label: '触发方式',
244
+ tip: 'triggerType|锚点导航触发方式'
245
+ },
246
+ propType: {
247
+ type: 'oneOf',
248
+ value: ['click', 'hover']
249
+ },
250
+ description: '锚点导航触发方式',
251
+ defaultValue: 'click'
252
+ }, {
253
+ name: 'onChange',
254
+ propType: 'func',
255
+ description: '轮播切换的回调函数\n@param {Number} index 幻灯片的索引'
256
+ }, {
257
+ name: 'onBeforeChange',
258
+ propType: 'func'
259
+ }, {
260
+ name: 'style',
261
+ propType: 'object',
262
+ description: '自定义传入的class',
263
+ defaultValue: null
264
+ }, {
265
+ name: 'picUrls',
266
+ propType: 'array',
267
+ description: '图片路径'
268
+ }, {
269
+ name: 'focusOnSelect',
270
+ title: {
271
+ label: '自动居中',
272
+ tip: 'focusOnSelect|多图轮播时,点击选中后自动居中'
273
+ },
274
+ propType: 'bool',
275
+ description: '多图轮播时,点击选中后自动居中',
276
+ defaultValue: false
277
+ }],
278
+ configure: {
279
+ component: {
280
+ isContainer: true
281
+ },
282
+ props: {
283
+ isExtends: true,
284
+ override: [{
285
+ name: 'rtl',
286
+ condition: function condition() {
287
+ return false;
288
+ }
289
+ }, {
290
+ name: 'prefix',
291
+ condition: function condition() {
292
+ return false;
293
+ }
294
+ }, {
295
+ name: 'picUrls',
296
+ setter: 'SetterFormVariable'
297
+ }]
298
+ }
299
+ },
300
+ icon: '',
301
+ category: '信息展示',
302
+ snippets: _snippets["default"]
303
+ };
@@ -0,0 +1,36 @@
1
+ declare const _default: {
2
+ title: string;
3
+ screenshot: string;
4
+ schema: {
5
+ componentName: string;
6
+ props: {
7
+ prefix: string;
8
+ animation: string;
9
+ arrows: boolean;
10
+ arrowSize: string;
11
+ arrowPosition: string;
12
+ arrowDirection: string;
13
+ autoplaySpeed: number;
14
+ dots: boolean;
15
+ dotsDirection: string;
16
+ draggable: boolean;
17
+ infinite: boolean;
18
+ slide: string;
19
+ slideDirection: string;
20
+ slidesToShow: number;
21
+ slidesToScroll: number;
22
+ speed: number;
23
+ triggerType: string;
24
+ centerPadding: string;
25
+ cssEase: string;
26
+ edgeFriction: number;
27
+ swipe: boolean;
28
+ touchMove: boolean;
29
+ touchThreshold: number;
30
+ useCSS: boolean;
31
+ waitForAnimate: boolean;
32
+ picUrls: string[];
33
+ };
34
+ };
35
+ }[];
36
+ export default _default;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports["default"] = void 0;
5
+ var _default = exports["default"] = [{
6
+ title: '图片轮播',
7
+ screenshot: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_slider.png',
8
+ schema: {
9
+ componentName: 'DCSlider',
10
+ props: {
11
+ prefix: 'next-',
12
+ animation: 'slide',
13
+ arrows: true,
14
+ arrowSize: 'medium',
15
+ arrowPosition: 'inner',
16
+ arrowDirection: 'hoz',
17
+ autoplaySpeed: 3000,
18
+ dots: true,
19
+ dotsDirection: 'hoz',
20
+ draggable: true,
21
+ infinite: true,
22
+ slide: 'div',
23
+ slideDirection: 'hoz',
24
+ slidesToShow: 1,
25
+ slidesToScroll: 1,
26
+ speed: 600,
27
+ triggerType: 'click',
28
+ centerPadding: '50px',
29
+ cssEase: 'ease',
30
+ edgeFriction: 0.35,
31
+ swipe: true,
32
+ touchMove: true,
33
+ touchThreshold: 5,
34
+ useCSS: true,
35
+ waitForAnimate: true,
36
+ // 轮播路径
37
+ picUrls: ['https://img.alicdn.com/tps/TB1bewbNVXXXXc5XXXXXXXXXXXX-1000-300.png', 'https://img.alicdn.com/tps/TB1xuUcNVXXXXcRXXXXXXXXXXXX-1000-300.jpg', 'https://img.alicdn.com/tps/TB1ikP.NVXXXXaYXpXXXXXXXXXX-1000-300.jpg', 'https://img.alicdn.com/tps/TB1s1_JNVXXXXbhaXXXXXXXXXXX-1000-300.jpg']
38
+ }
39
+ }
40
+ }];
@@ -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,157 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
+ var GridNavMeta = {
8
+ group: '低代码组件',
9
+ "componentName": "GridNav",
10
+ "title": "宫格导航",
11
+ "docUrl": "",
12
+ "screenshot": "",
13
+ "devMode": "proCode",
14
+ "npm": {
15
+ "package": "@dckj-npm/dc-material",
16
+ "version": "0.1.0",
17
+ "exportName": "GridNav",
18
+ "main": "src\\index.tsx",
19
+ "destructuring": true,
20
+ "subName": ""
21
+ },
22
+ "configure": {
23
+ component: {
24
+ isContainer: true
25
+ },
26
+ "props": [{
27
+ name: 'dataSourceSetting',
28
+ title: '数据源配置',
29
+ setter: {
30
+ componentName: 'SetterFormVariable',
31
+ props: {
32
+ attributes: [
33
+ // { label: '导航项', value: 'items' }
34
+ {
35
+ label: '标题',
36
+ value: 'title'
37
+ }, {
38
+ label: '图标链接',
39
+ value: 'icon'
40
+ }, {
41
+ label: '跳转链接',
42
+ value: 'link'
43
+ }]
44
+ }
45
+ }
46
+ }, {
47
+ "title": "每行列数",
48
+ "name": "columns",
49
+ "setter": {
50
+ "componentName": "NumberSetter",
51
+ "isRequired": true,
52
+ "initialValue": 4
53
+ }
54
+ }, {
55
+ "title": "icon尺寸",
56
+ "name": "iconSize",
57
+ "defaultValue": "medium",
58
+ "initialValue": "medium",
59
+ "setter": {
60
+ "componentName": "SelectSetter",
61
+ "initialValue": "medium",
62
+ "props": {
63
+ "defaultValue": "medium",
64
+ "options": [{
65
+ "title": "大",
66
+ "value": "large"
67
+ }, {
68
+ "title": "中",
69
+ "value": "medium"
70
+ }, {
71
+ "title": "小",
72
+ "value": "small"
73
+ }]
74
+ }
75
+ }
76
+ }, {
77
+ "title": "字重",
78
+ "name": "fontWeight",
79
+ "defaultValue": "normal",
80
+ "initialValue": "normal",
81
+ "setter": {
82
+ "componentName": "SelectSetter",
83
+ "initialValue": "normal",
84
+ "props": {
85
+ "defaultValue": "normal",
86
+ "options": [{
87
+ "title": "细",
88
+ "value": "100"
89
+ }, {
90
+ "title": "正常",
91
+ "value": "normal"
92
+ }, {
93
+ "title": "粗",
94
+ "value": "bold"
95
+ }]
96
+ }
97
+ }
98
+ }, {
99
+ name: 'fontSize',
100
+ title: '字号',
101
+ defaultValue: 14,
102
+ setter: 'NumberSetter'
103
+ }, {
104
+ name: 'fontColor',
105
+ title: '字体颜色',
106
+ propType: 'string',
107
+ setter: 'ColorSetter',
108
+ defaultValue: '#333',
109
+ initialValue: '#333'
110
+ }, {
111
+ name: 'lineHeight',
112
+ title: '行高',
113
+ defaultValue: 'auto',
114
+ setter: 'StringSetter'
115
+ }, {
116
+ name: 'lineNum',
117
+ title: '行数',
118
+ defaultValue: 1,
119
+ setter: 'NumberSetter'
120
+ }],
121
+ supports: {
122
+ style: true
123
+ }
124
+ }
125
+ };
126
+ var snippets = [{
127
+ "title": "宫格导航",
128
+ "screenshot": "",
129
+ "schema": {
130
+ "componentName": "GridNav",
131
+ "props": {
132
+ "columns": 4,
133
+ "dataSourceSetting": [{
134
+ "title": '导航项',
135
+ "icon": 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
136
+ "link": '#'
137
+ }, {
138
+ "title": '导航项',
139
+ "icon": 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
140
+ "link": '#'
141
+ }, {
142
+ "title": '导航项',
143
+ "icon": 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
144
+ "link": '#'
145
+ }, {
146
+ "title": '导航项',
147
+ "icon": 'https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png',
148
+ "link": '#'
149
+ }],
150
+ "iconSize": "medium",
151
+ "fontWeight": "normal"
152
+ }
153
+ }
154
+ }];
155
+ var _default = exports["default"] = (0, _extends2["default"])({}, GridNavMeta, {
156
+ snippets: snippets
157
+ });