@dckj-npm/dc-material 0.1.16 → 0.1.18
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/README.md +17 -17
- 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/button2/meta.ts +75 -75
- package/lowcode/grid-nav/meta.ts +3 -3
- package/lowcode/integral-task/meta.ts +211 -211
- 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/position/meta.ts +161 -161
- package/lowcode/swiper/meta.ts +237 -0
- package/lowcode/tab-message/meta.ts +101 -101
- 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 +20 -19
- 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_es/view.js +3 -3
- package/lowcode_lib/grid-nav/meta.js +3 -3
- package/lowcode_lib/message-list/meta.js +19 -6
- package/lowcode_lib/meta.js +20 -19
- 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/lowcode_lib/view.js +2 -2
- package/package.json +4 -3
- package/build/docs/colorful-button.html +0 -48
- package/build/docs/colorful-input.html +0 -48
- package/build/docs/index.html +0 -48
- package/build/docs/umi.172d0fea.js +0 -1
- package/build/docs/umi.2ce6bf4c.css +0 -8
- package/build/docs/~demos/colorful-button-demo.html +0 -47
- package/build/docs/~demos/colorful-input-demo.html +0 -47
- package/build/index.css +0 -2
- package/build/index.html +0 -1
- package/build/index.js +0 -60
- package/dist/BizComps.css +0 -1
- package/dist/BizComps.js +0 -16
- package/dist/BizComps.js.map +0 -1
- package/es/assets/icon/integral-task/icon1.png +0 -0
- package/es/assets/icon/navigation/index-selected.png +0 -0
- package/es/assets/icon/navigation/index.png +0 -0
- package/es/assets/icon/navigation/message-selected.png +0 -0
- package/es/assets/icon/navigation/message.png +0 -0
- package/es/assets/icon/navigation/mine-selected.png +0 -0
- package/es/assets/icon/navigation/mine.png +0 -0
- package/es/assets/icon/notice-bar/notice.png +0 -0
- package/es/assets/icon/position/arror.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -13
- package/es/components/bottom-navigation/bottom-navigation.js +0 -39
- package/es/components/bottom-navigation/index.d.ts +0 -3
- package/es/components/bottom-navigation/index.js +0 -2
- package/es/components/bottom-navigation/index.scss +0 -20
- package/es/components/button/button.d.ts +0 -14
- package/es/components/button/button.js +0 -14
- package/es/components/button/index.d.ts +0 -6
- package/es/components/button/index.js +0 -5
- package/es/components/button/index.scss +0 -16
- package/es/components/colorful-button/colorful-button.d.ts +0 -12
- package/es/components/colorful-button/colorful-button.js +0 -25
- package/es/components/colorful-button/index.d.ts +0 -3
- package/es/components/colorful-button/index.js +0 -2
- package/es/components/colorful-button/index.scss +0 -5
- package/es/components/colorful-input/colorful-input.d.ts +0 -8
- package/es/components/colorful-input/colorful-input.js +0 -19
- package/es/components/colorful-input/index.d.ts +0 -3
- package/es/components/colorful-input/index.js +0 -2
- package/es/components/colorful-input/index.scss +0 -5
- package/es/components/dc-slider/index.d.ts +0 -3
- package/es/components/dc-slider/index.js +0 -2
- package/es/components/dc-slider/index.scss +0 -8
- package/es/components/dc-slider/slider.d.ts +0 -33
- package/es/components/dc-slider/slider.js +0 -10
- package/es/components/grid-nav/grid-nav.d.ts +0 -13
- package/es/components/grid-nav/grid-nav.js +0 -91
- package/es/components/grid-nav/index.d.ts +0 -3
- package/es/components/grid-nav/index.js +0 -2
- package/es/components/grid-nav/index.scss +0 -36
- package/es/components/integral-task/index.d.ts +0 -6
- package/es/components/integral-task/index.js +0 -5
- package/es/components/integral-task/index.scss +0 -35
- package/es/components/integral-task/integral-task.d.ts +0 -40
- package/es/components/integral-task/integral-task.js +0 -53
- package/es/components/menu-list/index.d.ts +0 -6
- package/es/components/menu-list/index.js +0 -6
- package/es/components/menu-list/index.scss +0 -16
- package/es/components/menu-list/menu-list-item.d.ts +0 -5
- package/es/components/menu-list/menu-list-item.js +0 -32
- package/es/components/menu-list/menu-list-item.scss +0 -49
- package/es/components/menu-list/menu-list.d.ts +0 -5
- package/es/components/menu-list/menu-list.js +0 -25
- package/es/components/menu-list/types.d.ts +0 -23
- package/es/components/menu-list/types.js +0 -1
- package/es/components/message-list/index.d.ts +0 -6
- package/es/components/message-list/index.js +0 -6
- package/es/components/message-list/index.scss +0 -17
- package/es/components/message-list/message-list-item.d.ts +0 -29
- package/es/components/message-list/message-list-item.js +0 -38
- package/es/components/message-list/message-list-item.scss +0 -49
- package/es/components/message-list/message-list.d.ts +0 -28
- package/es/components/message-list/message-list.js +0 -47
- package/es/components/notice-bar/index.d.ts +0 -3
- package/es/components/notice-bar/index.js +0 -2
- package/es/components/notice-bar/index.scss +0 -26
- package/es/components/notice-bar/notice-bar-item.d.ts +0 -31
- package/es/components/notice-bar/notice-bar-item.js +0 -31
- package/es/components/notice-bar/notice-bar-item.scss +0 -23
- package/es/components/notice-bar/notice-bar.d.ts +0 -46
- package/es/components/notice-bar/notice-bar.js +0 -48
- package/es/components/position/entity.d.ts +0 -5
- package/es/components/position/entity.js +0 -1
- package/es/components/position/index.d.ts +0 -3
- package/es/components/position/index.js +0 -2
- package/es/components/position/index.scss +0 -21
- package/es/components/position/position-left.d.ts +0 -9
- package/es/components/position/position-left.js +0 -28
- package/es/components/position/position-list.d.ts +0 -12
- package/es/components/position/position-list.js +0 -30
- package/es/components/position/position.d.ts +0 -8
- package/es/components/position/position.js +0 -48
- package/es/components/search-bar/index.d.ts +0 -3
- package/es/components/search-bar/index.js +0 -2
- package/es/components/search-bar/index.scss +0 -6
- package/es/components/search-bar/search-bar.d.ts +0 -7
- package/es/components/search-bar/search-bar.js +0 -21
- package/es/components/tab/index.d.ts +0 -6
- package/es/components/tab/index.js +0 -5
- package/es/components/tab/index.scss +0 -21
- package/es/components/tab/tab.d.ts +0 -23
- package/es/components/tab/tab.js +0 -46
- package/es/components/tab-container/index.d.ts +0 -3
- package/es/components/tab-container/index.js +0 -2
- package/es/components/tab-container/index.scss +0 -17
- package/es/components/tab-container/tab-container.d.ts +0 -9
- package/es/components/tab-container/tab-container.js +0 -14
- package/es/components/tab-container-item/index.d.ts +0 -3
- package/es/components/tab-container-item/index.js +0 -2
- package/es/components/tab-container-item/index.scss +0 -0
- package/es/components/tab-container-item/tab-container-item.d.ts +0 -9
- package/es/components/tab-container-item/tab-container-item.js +0 -14
- package/es/components/tag/index.d.ts +0 -6
- package/es/components/tag/index.js +0 -5
- package/es/components/tag/index.scss +0 -16
- package/es/components/tag/tag.d.ts +0 -14
- package/es/components/tag/tag.js +0 -14
- package/es/components/teletext-list/index.d.ts +0 -6
- package/es/components/teletext-list/index.js +0 -6
- package/es/components/teletext-list/index.scss +0 -17
- package/es/components/teletext-list/teletext-list-item.d.ts +0 -42
- package/es/components/teletext-list/teletext-list-item.js +0 -48
- package/es/components/teletext-list/teletext-list-item.scss +0 -74
- package/es/components/teletext-list/teletext-list.d.ts +0 -61
- package/es/components/teletext-list/teletext-list.js +0 -38
- package/es/components/title/index.d.ts +0 -8
- package/es/components/title/index.js +0 -7
- package/es/components/title/title-1.d.ts +0 -10
- package/es/components/title/title-1.js +0 -16
- package/es/components/title/title-1.scss +0 -25
- package/es/components/title/title-2.d.ts +0 -18
- package/es/components/title/title-2.js +0 -31
- package/es/components/title/title-2.scss +0 -22
- package/es/index.d.ts +0 -36
- package/es/index.js +0 -66
- package/es/index.scss +0 -6
- package/es/style.js +0 -5
- package/es/utils/children-node-handle.d.ts +0 -9
- package/es/utils/children-node-handle.js +0 -27
- package/es/utils/component-wrapper.d.ts +0 -9
- package/es/utils/component-wrapper.js +0 -38
- package/es/variables.d.ts +0 -2
- package/es/variables.js +0 -2
- package/es/variables.scss +0 -3
- package/lib/assets/icon/integral-task/icon1.png +0 -0
- package/lib/assets/icon/navigation/index-selected.png +0 -0
- package/lib/assets/icon/navigation/index.png +0 -0
- package/lib/assets/icon/navigation/message-selected.png +0 -0
- package/lib/assets/icon/navigation/message.png +0 -0
- package/lib/assets/icon/navigation/mine-selected.png +0 -0
- package/lib/assets/icon/navigation/mine.png +0 -0
- package/lib/assets/icon/notice-bar/notice.png +0 -0
- package/lib/assets/icon/position/arror.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -13
- package/lib/components/bottom-navigation/bottom-navigation.js +0 -46
- package/lib/components/bottom-navigation/index.d.ts +0 -3
- package/lib/components/bottom-navigation/index.js +0 -7
- package/lib/components/bottom-navigation/index.scss +0 -20
- package/lib/components/button/button.d.ts +0 -14
- package/lib/components/button/button.js +0 -21
- package/lib/components/button/index.d.ts +0 -6
- package/lib/components/button/index.js +0 -10
- package/lib/components/button/index.scss +0 -16
- package/lib/components/colorful-button/colorful-button.d.ts +0 -12
- package/lib/components/colorful-button/colorful-button.js +0 -32
- package/lib/components/colorful-button/index.d.ts +0 -3
- package/lib/components/colorful-button/index.js +0 -7
- package/lib/components/colorful-button/index.scss +0 -5
- package/lib/components/colorful-input/colorful-input.d.ts +0 -8
- package/lib/components/colorful-input/colorful-input.js +0 -26
- package/lib/components/colorful-input/index.d.ts +0 -3
- package/lib/components/colorful-input/index.js +0 -7
- package/lib/components/colorful-input/index.scss +0 -5
- package/lib/components/dc-slider/index.d.ts +0 -3
- package/lib/components/dc-slider/index.js +0 -7
- package/lib/components/dc-slider/index.scss +0 -8
- package/lib/components/dc-slider/slider.d.ts +0 -33
- package/lib/components/dc-slider/slider.js +0 -17
- package/lib/components/grid-nav/grid-nav.d.ts +0 -13
- package/lib/components/grid-nav/grid-nav.js +0 -98
- package/lib/components/grid-nav/index.d.ts +0 -3
- package/lib/components/grid-nav/index.js +0 -7
- package/lib/components/grid-nav/index.scss +0 -36
- package/lib/components/integral-task/index.d.ts +0 -6
- package/lib/components/integral-task/index.js +0 -10
- package/lib/components/integral-task/index.scss +0 -35
- package/lib/components/integral-task/integral-task.d.ts +0 -40
- package/lib/components/integral-task/integral-task.js +0 -60
- package/lib/components/menu-list/index.d.ts +0 -6
- package/lib/components/menu-list/index.js +0 -10
- package/lib/components/menu-list/index.scss +0 -16
- package/lib/components/menu-list/menu-list-item.d.ts +0 -5
- package/lib/components/menu-list/menu-list-item.js +0 -37
- package/lib/components/menu-list/menu-list-item.scss +0 -49
- package/lib/components/menu-list/menu-list.d.ts +0 -5
- package/lib/components/menu-list/menu-list.js +0 -30
- package/lib/components/menu-list/types.d.ts +0 -23
- package/lib/components/menu-list/types.js +0 -3
- package/lib/components/message-list/index.d.ts +0 -6
- package/lib/components/message-list/index.js +0 -10
- package/lib/components/message-list/index.scss +0 -17
- package/lib/components/message-list/message-list-item.d.ts +0 -29
- package/lib/components/message-list/message-list-item.js +0 -42
- package/lib/components/message-list/message-list-item.scss +0 -49
- package/lib/components/message-list/message-list.d.ts +0 -28
- package/lib/components/message-list/message-list.js +0 -52
- package/lib/components/notice-bar/index.d.ts +0 -3
- package/lib/components/notice-bar/index.js +0 -7
- package/lib/components/notice-bar/index.scss +0 -26
- package/lib/components/notice-bar/notice-bar-item.d.ts +0 -31
- package/lib/components/notice-bar/notice-bar-item.js +0 -36
- package/lib/components/notice-bar/notice-bar-item.scss +0 -23
- package/lib/components/notice-bar/notice-bar.d.ts +0 -46
- package/lib/components/notice-bar/notice-bar.js +0 -53
- package/lib/components/position/entity.d.ts +0 -5
- package/lib/components/position/entity.js +0 -3
- package/lib/components/position/index.d.ts +0 -3
- package/lib/components/position/index.js +0 -7
- package/lib/components/position/index.scss +0 -21
- package/lib/components/position/position-left.d.ts +0 -9
- package/lib/components/position/position-left.js +0 -35
- package/lib/components/position/position-list.d.ts +0 -12
- package/lib/components/position/position-list.js +0 -36
- package/lib/components/position/position.d.ts +0 -8
- package/lib/components/position/position.js +0 -55
- package/lib/components/search-bar/index.d.ts +0 -3
- package/lib/components/search-bar/index.js +0 -7
- package/lib/components/search-bar/index.scss +0 -6
- package/lib/components/search-bar/search-bar.d.ts +0 -7
- package/lib/components/search-bar/search-bar.js +0 -28
- package/lib/components/tab/index.d.ts +0 -6
- package/lib/components/tab/index.js +0 -10
- package/lib/components/tab/index.scss +0 -21
- package/lib/components/tab/tab.d.ts +0 -23
- package/lib/components/tab/tab.js +0 -53
- package/lib/components/tab-container/index.d.ts +0 -3
- package/lib/components/tab-container/index.js +0 -6
- package/lib/components/tab-container/index.scss +0 -17
- package/lib/components/tab-container/tab-container.d.ts +0 -9
- package/lib/components/tab-container/tab-container.js +0 -19
- package/lib/components/tab-container-item/index.d.ts +0 -3
- package/lib/components/tab-container-item/index.js +0 -6
- package/lib/components/tab-container-item/index.scss +0 -0
- package/lib/components/tab-container-item/tab-container-item.d.ts +0 -9
- package/lib/components/tab-container-item/tab-container-item.js +0 -19
- package/lib/components/tag/index.d.ts +0 -6
- package/lib/components/tag/index.js +0 -10
- package/lib/components/tag/index.scss +0 -16
- package/lib/components/tag/tag.d.ts +0 -14
- package/lib/components/tag/tag.js +0 -21
- package/lib/components/teletext-list/index.d.ts +0 -6
- package/lib/components/teletext-list/index.js +0 -6
- package/lib/components/teletext-list/index.scss +0 -17
- package/lib/components/teletext-list/teletext-list-item.d.ts +0 -42
- package/lib/components/teletext-list/teletext-list-item.js +0 -52
- package/lib/components/teletext-list/teletext-list-item.scss +0 -74
- package/lib/components/teletext-list/teletext-list.d.ts +0 -61
- package/lib/components/teletext-list/teletext-list.js +0 -42
- package/lib/components/title/index.d.ts +0 -8
- package/lib/components/title/index.js +0 -8
- package/lib/components/title/title-1.d.ts +0 -10
- package/lib/components/title/title-1.js +0 -21
- package/lib/components/title/title-1.scss +0 -25
- package/lib/components/title/title-2.d.ts +0 -18
- package/lib/components/title/title-2.js +0 -36
- package/lib/components/title/title-2.scss +0 -22
- package/lib/index.d.ts +0 -36
- package/lib/index.js +0 -73
- package/lib/index.scss +0 -6
- package/lib/style.js +0 -5
- package/lib/utils/children-node-handle.d.ts +0 -9
- package/lib/utils/children-node-handle.js +0 -32
- package/lib/utils/component-wrapper.d.ts +0 -9
- package/lib/utils/component-wrapper.js +0 -45
- package/lib/variables.d.ts +0 -2
- package/lib/variables.js +0 -5
- package/lib/variables.scss +0 -3
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
-
|
|
4
|
-
const TabMessageMeta: IPublicTypeComponentMetadata = {
|
|
5
|
-
"componentName": "TabMessage",
|
|
6
|
-
"title": "消息列表tab",
|
|
7
|
-
"docUrl": "",
|
|
8
|
-
"screenshot": "",
|
|
9
|
-
"devMode": "proCode",
|
|
10
|
-
"npm": {
|
|
11
|
-
"package": "@dckj-npm/dc-material",
|
|
12
|
-
"version": "0.1.13",
|
|
13
|
-
"exportName": "TabMessage",
|
|
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": "selectedBGColor",
|
|
25
|
-
"zh-CN": "选中背景颜色"
|
|
26
|
-
},
|
|
27
|
-
"tip": "选中背景颜色"
|
|
28
|
-
},
|
|
29
|
-
"name": "selectedBGColor",
|
|
30
|
-
"description": "选中背景颜色",
|
|
31
|
-
"setter": {
|
|
32
|
-
"componentName": "ColorSetter",
|
|
33
|
-
"isRequired": true,
|
|
34
|
-
"initialValue": ""
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"title": {
|
|
39
|
-
"label": {
|
|
40
|
-
"type": "i18n",
|
|
41
|
-
"en-US": "selectedFontColor",
|
|
42
|
-
"zh-CN": "选中字体颜色"
|
|
43
|
-
},
|
|
44
|
-
"tip": "selectedFontColor | 选中字体颜色"
|
|
45
|
-
},
|
|
46
|
-
"name": "selectedFontColor",
|
|
47
|
-
"description": "选中字体颜色",
|
|
48
|
-
"setter": {
|
|
49
|
-
"componentName": "ColorSetter",
|
|
50
|
-
"isRequired": true,
|
|
51
|
-
"initialValue": ""
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"title": {
|
|
56
|
-
"label": {
|
|
57
|
-
"type": "i18n",
|
|
58
|
-
"en-US": "size",
|
|
59
|
-
"zh-CN": "尺寸 small |"
|
|
60
|
-
},
|
|
61
|
-
"tip": "尺寸 small | large"
|
|
62
|
-
},
|
|
63
|
-
"name": "size",
|
|
64
|
-
"description": "尺寸 small | default | large",
|
|
65
|
-
"setter": {
|
|
66
|
-
"componentName": "SelectSetter",
|
|
67
|
-
"initialValue": "small",
|
|
68
|
-
"props": {
|
|
69
|
-
"defaultValue": "small",
|
|
70
|
-
"options": [{
|
|
71
|
-
"title": "大",
|
|
72
|
-
"value": "large"
|
|
73
|
-
}, {
|
|
74
|
-
"title": "小",
|
|
75
|
-
"value": "small"
|
|
76
|
-
}]
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"supports": {
|
|
82
|
-
"style": true
|
|
83
|
-
},
|
|
84
|
-
"component": {}
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
const snippets: IPublicTypeSnippet[] = [
|
|
88
|
-
{
|
|
89
|
-
"title": "消息tab",
|
|
90
|
-
"screenshot": "",
|
|
91
|
-
"schema": {
|
|
92
|
-
"componentName": "TabMessage",
|
|
93
|
-
"props": {}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
];
|
|
97
|
-
|
|
98
|
-
export default {
|
|
99
|
-
...TabMessageMeta,
|
|
100
|
-
snippets
|
|
101
|
-
};
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const TabMessageMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "TabMessage",
|
|
6
|
+
"title": "消息列表tab",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "@dckj-npm/dc-material",
|
|
12
|
+
"version": "0.1.13",
|
|
13
|
+
"exportName": "TabMessage",
|
|
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": "selectedBGColor",
|
|
25
|
+
"zh-CN": "选中背景颜色"
|
|
26
|
+
},
|
|
27
|
+
"tip": "选中背景颜色"
|
|
28
|
+
},
|
|
29
|
+
"name": "selectedBGColor",
|
|
30
|
+
"description": "选中背景颜色",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "ColorSetter",
|
|
33
|
+
"isRequired": true,
|
|
34
|
+
"initialValue": ""
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": {
|
|
39
|
+
"label": {
|
|
40
|
+
"type": "i18n",
|
|
41
|
+
"en-US": "selectedFontColor",
|
|
42
|
+
"zh-CN": "选中字体颜色"
|
|
43
|
+
},
|
|
44
|
+
"tip": "selectedFontColor | 选中字体颜色"
|
|
45
|
+
},
|
|
46
|
+
"name": "selectedFontColor",
|
|
47
|
+
"description": "选中字体颜色",
|
|
48
|
+
"setter": {
|
|
49
|
+
"componentName": "ColorSetter",
|
|
50
|
+
"isRequired": true,
|
|
51
|
+
"initialValue": ""
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"title": {
|
|
56
|
+
"label": {
|
|
57
|
+
"type": "i18n",
|
|
58
|
+
"en-US": "size",
|
|
59
|
+
"zh-CN": "尺寸 small |"
|
|
60
|
+
},
|
|
61
|
+
"tip": "尺寸 small | large"
|
|
62
|
+
},
|
|
63
|
+
"name": "size",
|
|
64
|
+
"description": "尺寸 small | default | large",
|
|
65
|
+
"setter": {
|
|
66
|
+
"componentName": "SelectSetter",
|
|
67
|
+
"initialValue": "small",
|
|
68
|
+
"props": {
|
|
69
|
+
"defaultValue": "small",
|
|
70
|
+
"options": [{
|
|
71
|
+
"title": "大",
|
|
72
|
+
"value": "large"
|
|
73
|
+
}, {
|
|
74
|
+
"title": "小",
|
|
75
|
+
"value": "small"
|
|
76
|
+
}]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"supports": {
|
|
82
|
+
"style": true
|
|
83
|
+
},
|
|
84
|
+
"component": {}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
88
|
+
{
|
|
89
|
+
"title": "消息tab",
|
|
90
|
+
"screenshot": "",
|
|
91
|
+
"schema": {
|
|
92
|
+
"componentName": "TabMessage",
|
|
93
|
+
"props": {}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
];
|
|
97
|
+
|
|
98
|
+
export default {
|
|
99
|
+
...TabMessageMeta,
|
|
100
|
+
snippets
|
|
101
|
+
};
|
|
@@ -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
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import Button2Meta from '
|
|
3
|
-
import DCSliderMeta from '
|
|
4
|
-
import GridNavMeta from '
|
|
5
|
-
import IntegralTaskMeta from '
|
|
6
|
-
import MenuListMeta from '
|
|
7
|
-
import MessageListMeta from '
|
|
8
|
-
import NavigationMeta from '
|
|
9
|
-
import NoticeBarMeta from '
|
|
10
|
-
import PositionMeta from '
|
|
11
|
-
import SearchBarMeta from '
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
2
|
+
import Button2Meta from 'D:/project/company2/lowcode-material/lowcode/button2/meta';
|
|
3
|
+
import DCSliderMeta from 'D:/project/company2/lowcode-material/lowcode/d-c-slider/meta';
|
|
4
|
+
import GridNavMeta from 'D:/project/company2/lowcode-material/lowcode/grid-nav/meta';
|
|
5
|
+
import IntegralTaskMeta from 'D:/project/company2/lowcode-material/lowcode/integral-task/meta';
|
|
6
|
+
import MenuListMeta from 'D:/project/company2/lowcode-material/lowcode/menu-list/meta';
|
|
7
|
+
import MessageListMeta from 'D:/project/company2/lowcode-material/lowcode/message-list/meta';
|
|
8
|
+
import NavigationMeta from 'D:/project/company2/lowcode-material/lowcode/navigation/meta';
|
|
9
|
+
import NoticeBarMeta from 'D:/project/company2/lowcode-material/lowcode/notice-bar/meta';
|
|
10
|
+
import PositionMeta from 'D:/project/company2/lowcode-material/lowcode/position/meta';
|
|
11
|
+
import SearchBarMeta from 'D:/project/company2/lowcode-material/lowcode/search-bar/meta';
|
|
12
|
+
import SwiperMeta from 'D:/project/company2/lowcode-material/lowcode/swiper/meta';
|
|
13
|
+
import TabContainerItemMeta from 'D:/project/company2/lowcode-material/lowcode/tab-container-item/meta';
|
|
14
|
+
import TabContainerMeta from 'D:/project/company2/lowcode-material/lowcode/tab-container/meta';
|
|
15
|
+
import TabMessageMeta from 'D:/project/company2/lowcode-material/lowcode/tab-message/meta';
|
|
16
|
+
import TagCMeta from 'D:/project/company2/lowcode-material/lowcode/tag-c/meta';
|
|
17
|
+
import TeletextListMeta from 'D:/project/company2/lowcode-material/lowcode/teletext-list/meta';
|
|
18
|
+
import Title1Meta from 'D:/project/company2/lowcode-material/lowcode/title1/meta';
|
|
19
|
+
import Title2Meta from 'D:/project/company2/lowcode-material/lowcode/title2/meta';
|
|
19
20
|
var componentCategorySort = {};
|
|
20
21
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
21
22
|
componentCategorySort[item] = ++index;
|
|
@@ -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.18';
|
|
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;
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var SwiperMeta = {
|
|
3
|
+
group: '低代码组件',
|
|
4
|
+
category: '信息展示',
|
|
5
|
+
"componentName": "Swiper",
|
|
6
|
+
title: '图片轮播',
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "@dckj-npm/dc-material",
|
|
12
|
+
"version": "0.1.16",
|
|
13
|
+
"exportName": "Swiper",
|
|
14
|
+
"main": "src\\index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [{
|
|
20
|
+
"title": "初始索引",
|
|
21
|
+
"name": "initialSlide",
|
|
22
|
+
"description": "设定初始化时slide的索引",
|
|
23
|
+
"setter": {
|
|
24
|
+
"componentName": "NumberSetter",
|
|
25
|
+
"isRequired": false,
|
|
26
|
+
"initialValue": 0
|
|
27
|
+
}
|
|
28
|
+
}, {
|
|
29
|
+
"title": {
|
|
30
|
+
"label": {
|
|
31
|
+
"type": "i18n",
|
|
32
|
+
"en-US": "direction",
|
|
33
|
+
"zh-CN": "方向"
|
|
34
|
+
},
|
|
35
|
+
"tip": "direction | 轮播方向"
|
|
36
|
+
},
|
|
37
|
+
"name": "direction",
|
|
38
|
+
"setter": {
|
|
39
|
+
"componentName": "RadioGroupSetter",
|
|
40
|
+
"props": {
|
|
41
|
+
"dataSource": [{
|
|
42
|
+
"label": "vertical",
|
|
43
|
+
"value": "vertical"
|
|
44
|
+
}, {
|
|
45
|
+
"label": "horizontal",
|
|
46
|
+
"value": "horizontal"
|
|
47
|
+
}],
|
|
48
|
+
"options": [{
|
|
49
|
+
"label": "vertical",
|
|
50
|
+
"value": "vertical"
|
|
51
|
+
}, {
|
|
52
|
+
"label": "horizontal",
|
|
53
|
+
"value": "horizontal"
|
|
54
|
+
}]
|
|
55
|
+
},
|
|
56
|
+
"initialValue": "vertical"
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
59
|
+
"title": {
|
|
60
|
+
"label": {
|
|
61
|
+
"type": "i18n",
|
|
62
|
+
"en-US": "speed",
|
|
63
|
+
"zh-CN": "切换速度"
|
|
64
|
+
},
|
|
65
|
+
"tip": "speed | 切换速度,单位ms"
|
|
66
|
+
},
|
|
67
|
+
"name": "speed",
|
|
68
|
+
"description": "切换速度,单位ms",
|
|
69
|
+
"setter": {
|
|
70
|
+
"componentName": "NumberSetter",
|
|
71
|
+
"isRequired": false,
|
|
72
|
+
"initialValue": 0
|
|
73
|
+
}
|
|
74
|
+
}, {
|
|
75
|
+
"title": {
|
|
76
|
+
"label": {
|
|
77
|
+
"type": "i18n",
|
|
78
|
+
"en-US": "slidesPerView",
|
|
79
|
+
"zh-CN": "展示数量"
|
|
80
|
+
},
|
|
81
|
+
"tip": "同时展示图片数量"
|
|
82
|
+
},
|
|
83
|
+
"name": "slidesPerView",
|
|
84
|
+
"description": "展示数量",
|
|
85
|
+
"setter": {
|
|
86
|
+
"componentName": "NumberSetter",
|
|
87
|
+
"isRequired": true,
|
|
88
|
+
"initialValue": 0
|
|
89
|
+
}
|
|
90
|
+
}, {
|
|
91
|
+
"title": {
|
|
92
|
+
"label": {
|
|
93
|
+
"type": "i18n",
|
|
94
|
+
"en-US": "height",
|
|
95
|
+
"zh-CN": "高度"
|
|
96
|
+
},
|
|
97
|
+
"tip": "height | 高度"
|
|
98
|
+
},
|
|
99
|
+
"name": "height",
|
|
100
|
+
"description": "高度",
|
|
101
|
+
"setter": {
|
|
102
|
+
"componentName": "NumberSetter",
|
|
103
|
+
"isRequired": true
|
|
104
|
+
}
|
|
105
|
+
}, {
|
|
106
|
+
"title": {
|
|
107
|
+
"label": {
|
|
108
|
+
"type": "i18n",
|
|
109
|
+
"en-US": "autoHeight",
|
|
110
|
+
"zh-CN": "自动高度"
|
|
111
|
+
},
|
|
112
|
+
"tip": "autoHeight | 自动高度"
|
|
113
|
+
},
|
|
114
|
+
"name": "autoHeight",
|
|
115
|
+
"description": "自动高度",
|
|
116
|
+
"setter": {
|
|
117
|
+
"componentName": "BoolSetter",
|
|
118
|
+
"isRequired": true,
|
|
119
|
+
"initialValue": false
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
122
|
+
"title": {
|
|
123
|
+
"label": {
|
|
124
|
+
"type": "i18n",
|
|
125
|
+
"en-US": "autoplay",
|
|
126
|
+
"zh-CN": "自动播放"
|
|
127
|
+
},
|
|
128
|
+
"tip": "autoplay | 自动播放"
|
|
129
|
+
},
|
|
130
|
+
"name": "autoplay",
|
|
131
|
+
"description": "自动播放",
|
|
132
|
+
"setter": {
|
|
133
|
+
"componentName": "BoolSetter",
|
|
134
|
+
"isRequired": true,
|
|
135
|
+
"initialValue": false
|
|
136
|
+
}
|
|
137
|
+
}, {
|
|
138
|
+
"title": {
|
|
139
|
+
"label": {
|
|
140
|
+
"type": "i18n",
|
|
141
|
+
"en-US": "loop",
|
|
142
|
+
"zh-CN": "循环播放"
|
|
143
|
+
},
|
|
144
|
+
"tip": "loop | 循环播放"
|
|
145
|
+
},
|
|
146
|
+
"name": "loop",
|
|
147
|
+
"description": "循环播放",
|
|
148
|
+
"setter": {
|
|
149
|
+
"componentName": "BoolSetter",
|
|
150
|
+
"isRequired": true,
|
|
151
|
+
"initialValue": false
|
|
152
|
+
}
|
|
153
|
+
}, {
|
|
154
|
+
"title": {
|
|
155
|
+
"label": {
|
|
156
|
+
"type": "i18n",
|
|
157
|
+
"en-US": "spaceBetween",
|
|
158
|
+
"zh-CN": "图片间距"
|
|
159
|
+
},
|
|
160
|
+
"tip": "spaceBetween | 图片间距"
|
|
161
|
+
},
|
|
162
|
+
"name": "spaceBetween",
|
|
163
|
+
"description": "图片间距",
|
|
164
|
+
"setter": {
|
|
165
|
+
"componentName": "NumberSetter",
|
|
166
|
+
"isRequired": true,
|
|
167
|
+
"initialValue": 0
|
|
168
|
+
}
|
|
169
|
+
}, {
|
|
170
|
+
name: 'picUrls',
|
|
171
|
+
title: '数据源绑定',
|
|
172
|
+
setter: {
|
|
173
|
+
componentName: 'SetterFormVariable',
|
|
174
|
+
props: {
|
|
175
|
+
attributes: [{
|
|
176
|
+
label: '图标链接',
|
|
177
|
+
value: 'picUrls'
|
|
178
|
+
}]
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}],
|
|
182
|
+
"supports": {
|
|
183
|
+
"style": true
|
|
184
|
+
},
|
|
185
|
+
"component": {}
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
var snippets = [{
|
|
189
|
+
"title": "图片轮播",
|
|
190
|
+
"screenshot": "",
|
|
191
|
+
"schema": {
|
|
192
|
+
"componentName": "Swiper",
|
|
193
|
+
"props": {
|
|
194
|
+
spaceBetween: 0,
|
|
195
|
+
loop: true,
|
|
196
|
+
autoplay: true,
|
|
197
|
+
speed: 200,
|
|
198
|
+
slidesPerView: 1,
|
|
199
|
+
initialSlide: 1,
|
|
200
|
+
direction: 'horizontal',
|
|
201
|
+
autoHeight: false,
|
|
202
|
+
// 轮播路径
|
|
203
|
+
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']
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}];
|
|
207
|
+
export default _extends({}, SwiperMeta, {
|
|
208
|
+
snippets: snippets
|
|
209
|
+
});
|