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