@dckj-npm/dc-material 0.1.39 → 0.1.40
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/index.js +8 -8
- 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 +6 -6
- package/build/lowcode/render/default/view.js +6 -6
- package/build/lowcode/view.js +6 -6
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +4 -4
- package/dist/BizComps.js.map +1 -1
- package/es/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/es/components/bottom-navigation/index.d.ts +3 -3
- package/es/components/bottom-navigation/index.scss +24 -24
- package/es/components/button/button.d.ts +14 -14
- package/es/components/button/index.d.ts +6 -6
- package/es/components/button/index.js +2 -2
- package/es/components/button/index.scss +16 -16
- package/es/components/carousel/carousel.d.ts +14 -14
- package/es/components/carousel/carousel.scss +32 -32
- package/es/components/colorful-button/colorful-button.d.ts +12 -12
- package/es/components/colorful-button/index.d.ts +3 -3
- package/es/components/colorful-button/index.scss +5 -5
- package/es/components/colorful-input/colorful-input.d.ts +8 -8
- package/es/components/colorful-input/index.d.ts +3 -3
- package/es/components/colorful-input/index.scss +5 -5
- package/es/components/goods-card-list/goods-card-list.d.ts +5 -5
- package/es/components/goods-card-list/goods-card-list.scss +112 -112
- package/es/components/goods-card-list/index.d.ts +3 -3
- package/es/components/goods-card-list/types.d.ts +45 -45
- package/es/components/grid-nav/grid-nav.d.ts +13 -13
- package/es/components/grid-nav/index.d.ts +3 -3
- package/es/components/grid-nav/index.scss +41 -37
- package/es/components/integral-task/index.d.ts +6 -6
- package/es/components/integral-task/index.js +2 -2
- package/es/components/integral-task/index.scss +35 -35
- package/es/components/integral-task/integral-task.d.ts +40 -40
- package/es/components/menu-list/index.d.ts +6 -6
- package/es/components/menu-list/index.js +2 -2
- package/es/components/menu-list/index.scss +16 -16
- package/es/components/menu-list/menu-list-item.d.ts +5 -5
- package/es/components/menu-list/menu-list-item.scss +49 -49
- package/es/components/menu-list/menu-list.d.ts +5 -5
- package/es/components/menu-list/types.d.ts +23 -23
- package/es/components/message-list/index.d.ts +6 -6
- package/es/components/message-list/index.js +2 -2
- package/es/components/message-list/index.scss +22 -22
- package/es/components/message-list/message-list-item.d.ts +29 -29
- package/es/components/message-list/message-list-item.js +2 -2
- package/es/components/message-list/message-list-item.scss +50 -50
- package/es/components/message-list/message-list.d.ts +32 -32
- package/es/components/notice-bar/index.d.ts +3 -3
- package/es/components/notice-bar/index.scss +29 -29
- package/es/components/notice-bar/notice-bar-item.d.ts +18 -18
- package/es/components/notice-bar/notice-bar-item.scss +26 -26
- package/es/components/notice-bar/notice-bar.d.ts +37 -37
- package/es/components/position/entity.d.ts +5 -5
- package/es/components/position/index.d.ts +3 -3
- package/es/components/position/index.scss +27 -27
- package/es/components/position/position-left.d.ts +9 -9
- package/es/components/position/position-list.d.ts +12 -12
- package/es/components/position/position.d.ts +8 -8
- package/es/components/radio-group/index.d.ts +8 -8
- package/es/components/radio-group/index.js +2 -2
- package/es/components/radio-group/index.scss +40 -40
- package/es/components/radio-group/radio-group-item.d.ts +48 -48
- package/es/components/radio-group/radio-group.d.ts +52 -52
- package/es/components/rich-text/index.d.ts +6 -0
- package/es/components/rich-text/index.js +6 -0
- package/es/components/rich-text/index.scss +8 -0
- package/es/components/rich-text/rich-text.d.ts +14 -0
- package/es/components/rich-text/rich-text.js +28 -0
- package/es/components/search-bar/index.d.ts +3 -3
- package/es/components/search-bar/index.scss +13 -13
- package/es/components/search-bar/search-bar.d.ts +7 -7
- package/es/components/swiper/index.d.ts +3 -3
- package/es/components/swiper/index.scss +12 -12
- package/es/components/swiper/swiper.d.ts +47 -47
- package/es/components/tab/index.d.ts +6 -6
- package/es/components/tab/index.js +2 -2
- package/es/components/tab/index.scss +23 -23
- package/es/components/tab/tab.d.ts +23 -23
- package/es/components/tab-container/index.d.ts +3 -3
- package/es/components/tab-container/index.scss +47 -47
- package/es/components/tab-container/tab-container.d.ts +10 -10
- package/es/components/tab-container-item/index.d.ts +3 -3
- package/es/components/tab-container-item/tab-container-item.d.ts +11 -9
- package/es/components/tab-container-item/tab-container-item.js +7 -2
- package/es/components/tag/index.d.ts +6 -6
- package/es/components/tag/index.js +2 -2
- package/es/components/tag/index.scss +24 -24
- package/es/components/tag/tag.d.ts +14 -14
- package/es/components/teletext-list/index.d.ts +6 -6
- package/es/components/teletext-list/index.js +2 -2
- package/es/components/teletext-list/index.scss +19 -19
- package/es/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/es/components/teletext-list/teletext-list-item.js +8 -4
- package/es/components/teletext-list/teletext-list-item.scss +55 -55
- package/es/components/teletext-list/teletext-list.d.ts +61 -61
- package/es/components/teletext-list/teletext-list.js +2 -2
- package/es/components/title/index.d.ts +8 -8
- package/es/components/title/index.js +2 -2
- package/es/components/title/title-1.d.ts +10 -10
- package/es/components/title/title-1.scss +25 -25
- package/es/components/title/title-2.d.ts +18 -18
- package/es/components/title/title-2.scss +22 -22
- package/es/index.d.ts +42 -40
- package/es/index.js +4 -0
- package/es/index.scss +5 -5
- package/es/utils/children-node-handle.d.ts +9 -9
- package/es/utils/children-node-handle.js +7 -7
- package/es/utils/component-wrapper.d.ts +9 -9
- package/es/utils/debounce.d.ts +1 -1
- package/es/variables.d.ts +2 -2
- package/es/variables.scss +3 -3
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/lib/components/bottom-navigation/index.d.ts +3 -3
- package/lib/components/bottom-navigation/index.scss +24 -24
- package/lib/components/button/button.d.ts +14 -14
- package/lib/components/button/index.d.ts +6 -6
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/index.scss +16 -16
- package/lib/components/carousel/carousel.d.ts +14 -14
- package/lib/components/carousel/carousel.scss +32 -32
- package/lib/components/colorful-button/colorful-button.d.ts +12 -12
- package/lib/components/colorful-button/index.d.ts +3 -3
- package/lib/components/colorful-button/index.scss +5 -5
- package/lib/components/colorful-input/colorful-input.d.ts +8 -8
- package/lib/components/colorful-input/index.d.ts +3 -3
- package/lib/components/colorful-input/index.scss +5 -5
- package/lib/components/goods-card-list/goods-card-list.d.ts +5 -5
- package/lib/components/goods-card-list/goods-card-list.scss +112 -112
- package/lib/components/goods-card-list/index.d.ts +3 -3
- package/lib/components/goods-card-list/types.d.ts +45 -45
- package/lib/components/grid-nav/grid-nav.d.ts +13 -13
- package/lib/components/grid-nav/index.d.ts +3 -3
- package/lib/components/grid-nav/index.scss +41 -37
- package/lib/components/integral-task/index.d.ts +6 -6
- package/lib/components/integral-task/index.js +2 -2
- package/lib/components/integral-task/index.scss +35 -35
- package/lib/components/integral-task/integral-task.d.ts +40 -40
- package/lib/components/menu-list/index.d.ts +6 -6
- package/lib/components/menu-list/index.js +2 -2
- package/lib/components/menu-list/index.scss +16 -16
- package/lib/components/menu-list/menu-list-item.d.ts +5 -5
- package/lib/components/menu-list/menu-list-item.scss +49 -49
- package/lib/components/menu-list/menu-list.d.ts +5 -5
- package/lib/components/menu-list/types.d.ts +23 -23
- package/lib/components/message-list/index.d.ts +6 -6
- package/lib/components/message-list/index.js +2 -2
- package/lib/components/message-list/index.scss +22 -22
- package/lib/components/message-list/message-list-item.d.ts +29 -29
- package/lib/components/message-list/message-list-item.js +2 -2
- package/lib/components/message-list/message-list-item.scss +50 -50
- package/lib/components/message-list/message-list.d.ts +32 -32
- package/lib/components/notice-bar/index.d.ts +3 -3
- package/lib/components/notice-bar/index.scss +29 -29
- package/lib/components/notice-bar/notice-bar-item.d.ts +18 -18
- package/lib/components/notice-bar/notice-bar-item.scss +26 -26
- package/lib/components/notice-bar/notice-bar.d.ts +37 -37
- package/lib/components/position/entity.d.ts +5 -5
- package/lib/components/position/index.d.ts +3 -3
- package/lib/components/position/index.scss +27 -27
- package/lib/components/position/position-left.d.ts +9 -9
- package/lib/components/position/position-list.d.ts +12 -12
- package/lib/components/position/position.d.ts +8 -8
- package/lib/components/radio-group/index.d.ts +8 -8
- package/lib/components/radio-group/index.scss +40 -40
- package/lib/components/radio-group/radio-group-item.d.ts +48 -48
- package/lib/components/radio-group/radio-group.d.ts +52 -52
- package/lib/components/rich-text/index.d.ts +6 -0
- package/lib/components/rich-text/index.js +6 -0
- package/lib/components/rich-text/index.scss +8 -0
- package/lib/components/rich-text/rich-text.d.ts +14 -0
- package/lib/components/rich-text/rich-text.js +33 -0
- package/lib/components/search-bar/index.d.ts +3 -3
- package/lib/components/search-bar/index.scss +13 -13
- package/lib/components/search-bar/search-bar.d.ts +7 -7
- package/lib/components/swiper/index.d.ts +3 -3
- package/lib/components/swiper/index.scss +12 -12
- package/lib/components/swiper/swiper.d.ts +47 -47
- package/lib/components/tab/index.d.ts +6 -6
- package/lib/components/tab/index.js +2 -2
- package/lib/components/tab/index.scss +23 -23
- package/lib/components/tab/tab.d.ts +23 -23
- package/lib/components/tab-container/index.d.ts +3 -3
- package/lib/components/tab-container/index.scss +47 -47
- package/lib/components/tab-container/tab-container.d.ts +10 -10
- package/lib/components/tab-container-item/index.d.ts +3 -3
- package/lib/components/tab-container-item/tab-container-item.d.ts +11 -9
- package/lib/components/tab-container-item/tab-container-item.js +7 -2
- package/lib/components/tag/index.d.ts +6 -6
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/index.scss +24 -24
- package/lib/components/tag/tag.d.ts +14 -14
- package/lib/components/teletext-list/index.d.ts +6 -6
- package/lib/components/teletext-list/index.scss +19 -19
- package/lib/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/lib/components/teletext-list/teletext-list-item.js +8 -4
- package/lib/components/teletext-list/teletext-list-item.scss +55 -55
- package/lib/components/teletext-list/teletext-list.d.ts +61 -61
- package/lib/components/teletext-list/teletext-list.js +2 -2
- package/lib/components/title/index.d.ts +8 -8
- package/lib/components/title/title-1.d.ts +10 -10
- package/lib/components/title/title-1.scss +25 -25
- package/lib/components/title/title-2.d.ts +18 -18
- package/lib/components/title/title-2.scss +22 -22
- package/lib/index.d.ts +42 -40
- package/lib/index.js +5 -1
- package/lib/index.scss +5 -5
- package/lib/utils/children-node-handle.d.ts +9 -9
- package/lib/utils/children-node-handle.js +7 -7
- package/lib/utils/component-wrapper.d.ts +9 -9
- package/lib/utils/debounce.d.ts +1 -1
- package/lib/variables.d.ts +2 -2
- package/lib/variables.scss +3 -3
- package/lowcode/button2/meta.ts +75 -75
- package/lowcode/custom-radio-group/meta.ts +310 -310
- package/lowcode/custom-radio-group-item/meta.ts +229 -229
- package/lowcode/d-c-slider/meta.design.ts +173 -173
- package/lowcode/d-c-slider/meta.ts +342 -342
- package/lowcode/d-c-slider/snippets.ts +68 -68
- package/lowcode/goods-card-list/meta.ts +268 -268
- package/lowcode/grid-nav/meta.ts +212 -212
- package/lowcode/integral-task/meta.ts +211 -211
- package/lowcode/menu-list/meta.ts +147 -147
- package/lowcode/message-list/meta.ts +202 -202
- package/lowcode/navigation/meta.ts +165 -165
- package/lowcode/notice-bar/meta.ts +229 -229
- package/lowcode/position/meta.ts +161 -161
- package/lowcode/search-bar/meta.ts +54 -54
- package/lowcode/swiper/meta.ts +237 -237
- package/lowcode/tab-container/meta.ts +70 -70
- package/lowcode/tab-container/props.ts +194 -194
- package/lowcode/tab-container-item/meta.ts +195 -195
- package/lowcode/tab-message/meta.ts +101 -101
- package/lowcode/tag-c/meta.ts +75 -75
- package/lowcode/teletext-list/meta.ts +329 -329
- package/lowcode/title1/meta.ts +59 -59
- package/lowcode/title2/meta.ts +93 -93
- package/lowcode_es/button2/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_es/d-c-slider/meta.d.ts +148 -148
- package/lowcode_es/d-c-slider/meta.design.d.ts +100 -100
- package/lowcode_es/d-c-slider/snippets.d.ts +36 -36
- package/lowcode_es/goods-card-list/meta.d.ts +22 -22
- package/lowcode_es/grid-nav/meta.d.ts +22 -22
- package/lowcode_es/integral-task/meta.d.ts +22 -22
- package/lowcode_es/menu-list/meta.d.ts +22 -22
- package/lowcode_es/message-list/meta.d.ts +22 -22
- package/lowcode_es/meta.js +23 -23
- package/lowcode_es/navigation/meta.d.ts +22 -22
- package/lowcode_es/notice-bar/meta.d.ts +22 -22
- package/lowcode_es/position/meta.d.ts +22 -22
- package/lowcode_es/rich-text/meta.d.ts +22 -22
- package/lowcode_es/search-bar/meta.d.ts +22 -22
- package/lowcode_es/swiper/meta.d.ts +22 -22
- package/lowcode_es/tab-container/meta.d.ts +22 -22
- package/lowcode_es/tab-container/meta.js +4 -4
- package/lowcode_es/tab-container/props.d.ts +90 -90
- package/lowcode_es/tab-container/props.js +12 -12
- package/lowcode_es/tab-container-item/meta.d.ts +22 -22
- package/lowcode_es/tab-container-item/meta.js +1 -1
- package/lowcode_es/tab-message/meta.d.ts +22 -22
- package/lowcode_es/tag-c/meta.d.ts +22 -22
- package/lowcode_es/teletext-list/meta.d.ts +22 -22
- package/lowcode_es/teletext-list/meta.js +1 -1
- package/lowcode_es/title1/meta.d.ts +22 -22
- package/lowcode_es/title2/meta.d.ts +22 -22
- package/lowcode_es/view.js +3 -3
- package/lowcode_lib/button2/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_lib/d-c-slider/meta.d.ts +148 -148
- package/lowcode_lib/d-c-slider/meta.design.d.ts +100 -100
- package/lowcode_lib/d-c-slider/snippets.d.ts +36 -36
- package/lowcode_lib/goods-card-list/meta.d.ts +22 -22
- package/lowcode_lib/grid-nav/meta.d.ts +22 -22
- package/lowcode_lib/integral-task/meta.d.ts +22 -22
- package/lowcode_lib/menu-list/meta.d.ts +22 -22
- package/lowcode_lib/message-list/meta.d.ts +22 -22
- package/lowcode_lib/meta.js +23 -23
- package/lowcode_lib/navigation/meta.d.ts +22 -22
- package/lowcode_lib/notice-bar/meta.d.ts +22 -22
- package/lowcode_lib/position/meta.d.ts +22 -22
- package/lowcode_lib/rich-text/meta.d.ts +22 -22
- package/lowcode_lib/search-bar/meta.d.ts +22 -22
- package/lowcode_lib/swiper/meta.d.ts +22 -22
- package/lowcode_lib/tab-container/meta.d.ts +22 -22
- package/lowcode_lib/tab-container/meta.js +4 -4
- package/lowcode_lib/tab-container/props.d.ts +90 -90
- package/lowcode_lib/tab-container/props.js +12 -12
- package/lowcode_lib/tab-container-item/meta.d.ts +22 -22
- package/lowcode_lib/tab-container-item/meta.js +1 -1
- package/lowcode_lib/tab-message/meta.d.ts +22 -22
- package/lowcode_lib/tag-c/meta.d.ts +22 -22
- package/lowcode_lib/teletext-list/meta.d.ts +22 -22
- package/lowcode_lib/teletext-list/meta.js +1 -1
- package/lowcode_lib/title1/meta.d.ts +22 -22
- package/lowcode_lib/title2/meta.d.ts +22 -22
- package/lowcode_lib/view.js +2 -2
- package/package.json +4 -4
|
@@ -1,329 +1,329 @@
|
|
|
1
|
-
import {IPublicTypeComponentMetadata, IPublicTypeSnippet} from '@alilc/lowcode-types';
|
|
2
|
-
|
|
3
|
-
const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
4
|
-
"group": "低代码组件",
|
|
5
|
-
"componentName": "TeletextList",
|
|
6
|
-
"title": "图文列表",
|
|
7
|
-
"docUrl": "",
|
|
8
|
-
"screenshot": "",
|
|
9
|
-
"devMode": "proCode",
|
|
10
|
-
"npm": {
|
|
11
|
-
"package": "@dckj-npm/dc-material",
|
|
12
|
-
"version": "0.1.8",
|
|
13
|
-
"exportName": "TeletextList",
|
|
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": "imagePlacement",
|
|
25
|
-
"zh-CN": "图片位置"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"name": "imagePlacement",
|
|
29
|
-
"description": "图片位置",
|
|
30
|
-
"setter": {
|
|
31
|
-
"componentName": "RadioGroupSetter",
|
|
32
|
-
"props": {
|
|
33
|
-
"dataSource": [
|
|
34
|
-
{
|
|
35
|
-
"label": "left",
|
|
36
|
-
"value": "left"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"label": "right",
|
|
40
|
-
"value": "right"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"label": "none",
|
|
44
|
-
"value": "none"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"options": [
|
|
48
|
-
{
|
|
49
|
-
"label": "left",
|
|
50
|
-
"value": "left"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"label": "right",
|
|
54
|
-
"value": "right"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"label": "none",
|
|
58
|
-
"value": "none"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"initialValue": "left"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: '数据源绑定',
|
|
67
|
-
setter: {
|
|
68
|
-
componentName: 'SetterFormVariable',
|
|
69
|
-
props: {
|
|
70
|
-
attributes: [
|
|
71
|
-
{
|
|
72
|
-
label: '图文数据',
|
|
73
|
-
value: 'dataList',
|
|
74
|
-
children: [
|
|
75
|
-
{label: '图片链接', value: 'image'},
|
|
76
|
-
{label: '标题', value: 'title'},
|
|
77
|
-
{label: '说明', value: 'description'},
|
|
78
|
-
{label: '标签', value: 'tags'}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"title": {
|
|
87
|
-
"label": {
|
|
88
|
-
"type": "i18n",
|
|
89
|
-
"en-US": "dataList",
|
|
90
|
-
"zh-CN": "数据"
|
|
91
|
-
},
|
|
92
|
-
"tip": "dataList | 数据"
|
|
93
|
-
},
|
|
94
|
-
"name": "dataList",
|
|
95
|
-
"description": "数据",
|
|
96
|
-
"setter": {
|
|
97
|
-
"componentName": "ArraySetter",
|
|
98
|
-
"props": {
|
|
99
|
-
"itemSetter": {
|
|
100
|
-
"componentName": "ObjectSetter",
|
|
101
|
-
"props": {
|
|
102
|
-
"config": {
|
|
103
|
-
"items": [
|
|
104
|
-
{
|
|
105
|
-
"title": {
|
|
106
|
-
"label": {
|
|
107
|
-
"type": "i18n",
|
|
108
|
-
"en-US": "title",
|
|
109
|
-
"zh-CN": "标题"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"name": "title",
|
|
113
|
-
"description": "标题",
|
|
114
|
-
"setter": {
|
|
115
|
-
"componentName": "StringSetter",
|
|
116
|
-
"isRequired": false,
|
|
117
|
-
"initialValue": ""
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"title": {
|
|
122
|
-
"label": {
|
|
123
|
-
"type": "i18n",
|
|
124
|
-
"en-US": "image",
|
|
125
|
-
"zh-CN": "图片地址"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"name": "image",
|
|
129
|
-
"description": "图片地址",
|
|
130
|
-
"setter": {
|
|
131
|
-
"componentName": "CustomImageSetter",
|
|
132
|
-
"isRequired": false,
|
|
133
|
-
"initialValue": ""
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"title": {
|
|
138
|
-
"label": {
|
|
139
|
-
"type": "i18n",
|
|
140
|
-
"en-US": "description",
|
|
141
|
-
"zh-CN": "描述"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"name": "description",
|
|
145
|
-
"description": "描述",
|
|
146
|
-
"setter": {
|
|
147
|
-
"componentName": "StringSetter",
|
|
148
|
-
"isRequired": false,
|
|
149
|
-
"initialValue": ""
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"title": {
|
|
154
|
-
"label": {
|
|
155
|
-
"type": "i18n",
|
|
156
|
-
"en-US": "tags",
|
|
157
|
-
"zh-CN": "标签列表"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"name": "tags",
|
|
161
|
-
"description": "标签列表",
|
|
162
|
-
"setter": {
|
|
163
|
-
"componentName": "ArraySetter",
|
|
164
|
-
"props": {
|
|
165
|
-
"itemSetter": {
|
|
166
|
-
"componentName": "ObjectSetter",
|
|
167
|
-
"props": {
|
|
168
|
-
"config": {
|
|
169
|
-
"items": [
|
|
170
|
-
{
|
|
171
|
-
"title": {
|
|
172
|
-
"label": {
|
|
173
|
-
"type": "i18n",
|
|
174
|
-
"en-US": "name",
|
|
175
|
-
"zh-CN": "标签名称"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"name": "name",
|
|
179
|
-
"description": "标签名称",
|
|
180
|
-
"setter": {
|
|
181
|
-
"componentName": "StringSetter",
|
|
182
|
-
"isRequired": true,
|
|
183
|
-
"initialValue": ""
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"title": {
|
|
188
|
-
"label": {
|
|
189
|
-
"type": "i18n",
|
|
190
|
-
"en-US": "color",
|
|
191
|
-
"zh-CN": "标签颜色"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"name": "color",
|
|
195
|
-
"description": "标签颜色",
|
|
196
|
-
"setter": {
|
|
197
|
-
"componentName": "StringSetter",
|
|
198
|
-
"isRequired": true,
|
|
199
|
-
"initialValue": ""
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"extraSetter": {
|
|
204
|
-
"componentName": "MixedSetter",
|
|
205
|
-
"isRequired": false,
|
|
206
|
-
"props": {}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"initialValue": []
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"extraSetter": {
|
|
217
|
-
"componentName": "MixedSetter",
|
|
218
|
-
"isRequired": false,
|
|
219
|
-
"props": {}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"initialValue": [
|
|
226
|
-
{
|
|
227
|
-
"image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
|
|
228
|
-
"title": "标题名称",
|
|
229
|
-
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
230
|
-
"tags": [
|
|
231
|
-
{
|
|
232
|
-
"name": "报名火热",
|
|
233
|
-
"color": "orange"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"name": "人数众多",
|
|
237
|
-
"color": "blue"
|
|
238
|
-
}
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
|
|
243
|
-
"title": "标题名称",
|
|
244
|
-
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
245
|
-
"tags": [
|
|
246
|
-
{
|
|
247
|
-
"name": "报名火热",
|
|
248
|
-
"color": "orange"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "人数众多",
|
|
252
|
-
"color": "blue"
|
|
253
|
-
}
|
|
254
|
-
]
|
|
255
|
-
}
|
|
256
|
-
]
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
],
|
|
260
|
-
"supports": {
|
|
261
|
-
"style": true,
|
|
262
|
-
"events": [
|
|
263
|
-
{
|
|
264
|
-
"name": "onClick",
|
|
265
|
-
"template":
|
|
266
|
-
"onClick(key,${extParams}){\n// 点击项目的事件\nconsole.log('onClick', key);}",
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
},
|
|
270
|
-
"component": {}
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
const snippets: IPublicTypeSnippet[] = [
|
|
274
|
-
{
|
|
275
|
-
"title": "图文列表",
|
|
276
|
-
"screenshot": "",
|
|
277
|
-
"schema": {
|
|
278
|
-
"componentName": "TeletextList",
|
|
279
|
-
"props": {},
|
|
280
|
-
children: [
|
|
281
|
-
{
|
|
282
|
-
componentName: 'Title1',
|
|
283
|
-
props: {
|
|
284
|
-
type: 'h5',
|
|
285
|
-
children: '列表标题',
|
|
286
|
-
key: 'box-title'
|
|
287
|
-
},
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
componentName: 'Image',
|
|
291
|
-
props: {
|
|
292
|
-
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
293
|
-
key: 'image'
|
|
294
|
-
},
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
componentName: 'NextText',
|
|
298
|
-
props: {
|
|
299
|
-
type: 'h5',
|
|
300
|
-
children: '标题标题',
|
|
301
|
-
key: 'title'
|
|
302
|
-
},
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
componentName: 'NextText',
|
|
306
|
-
props: {
|
|
307
|
-
type: 'inherit',
|
|
308
|
-
children:
|
|
309
|
-
'基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
310
|
-
key: 'content'
|
|
311
|
-
},
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
componentName: 'TagC',
|
|
315
|
-
props: {
|
|
316
|
-
name: '报名火热',
|
|
317
|
-
color: 'orange',
|
|
318
|
-
key: 'teletext-
|
|
319
|
-
},
|
|
320
|
-
}
|
|
321
|
-
]
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
];
|
|
325
|
-
|
|
326
|
-
export default {
|
|
327
|
-
...TeletextListMeta,
|
|
328
|
-
snippets
|
|
329
|
-
};
|
|
1
|
+
import {IPublicTypeComponentMetadata, IPublicTypeSnippet} from '@alilc/lowcode-types';
|
|
2
|
+
|
|
3
|
+
const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
4
|
+
"group": "低代码组件",
|
|
5
|
+
"componentName": "TeletextList",
|
|
6
|
+
"title": "图文列表",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "@dckj-npm/dc-material",
|
|
12
|
+
"version": "0.1.8",
|
|
13
|
+
"exportName": "TeletextList",
|
|
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": "imagePlacement",
|
|
25
|
+
"zh-CN": "图片位置"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"name": "imagePlacement",
|
|
29
|
+
"description": "图片位置",
|
|
30
|
+
"setter": {
|
|
31
|
+
"componentName": "RadioGroupSetter",
|
|
32
|
+
"props": {
|
|
33
|
+
"dataSource": [
|
|
34
|
+
{
|
|
35
|
+
"label": "left",
|
|
36
|
+
"value": "left"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"label": "right",
|
|
40
|
+
"value": "right"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"label": "none",
|
|
44
|
+
"value": "none"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"options": [
|
|
48
|
+
{
|
|
49
|
+
"label": "left",
|
|
50
|
+
"value": "left"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"label": "right",
|
|
54
|
+
"value": "right"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"label": "none",
|
|
58
|
+
"value": "none"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"initialValue": "left"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: '数据源绑定',
|
|
67
|
+
setter: {
|
|
68
|
+
componentName: 'SetterFormVariable',
|
|
69
|
+
props: {
|
|
70
|
+
attributes: [
|
|
71
|
+
{
|
|
72
|
+
label: '图文数据',
|
|
73
|
+
value: 'dataList',
|
|
74
|
+
children: [
|
|
75
|
+
{label: '图片链接', value: 'image'},
|
|
76
|
+
{label: '标题', value: 'title'},
|
|
77
|
+
{label: '说明', value: 'description'},
|
|
78
|
+
{label: '标签', value: 'tags'}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"title": {
|
|
87
|
+
"label": {
|
|
88
|
+
"type": "i18n",
|
|
89
|
+
"en-US": "dataList",
|
|
90
|
+
"zh-CN": "数据"
|
|
91
|
+
},
|
|
92
|
+
"tip": "dataList | 数据"
|
|
93
|
+
},
|
|
94
|
+
"name": "dataList",
|
|
95
|
+
"description": "数据",
|
|
96
|
+
"setter": {
|
|
97
|
+
"componentName": "ArraySetter",
|
|
98
|
+
"props": {
|
|
99
|
+
"itemSetter": {
|
|
100
|
+
"componentName": "ObjectSetter",
|
|
101
|
+
"props": {
|
|
102
|
+
"config": {
|
|
103
|
+
"items": [
|
|
104
|
+
{
|
|
105
|
+
"title": {
|
|
106
|
+
"label": {
|
|
107
|
+
"type": "i18n",
|
|
108
|
+
"en-US": "title",
|
|
109
|
+
"zh-CN": "标题"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"name": "title",
|
|
113
|
+
"description": "标题",
|
|
114
|
+
"setter": {
|
|
115
|
+
"componentName": "StringSetter",
|
|
116
|
+
"isRequired": false,
|
|
117
|
+
"initialValue": ""
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"title": {
|
|
122
|
+
"label": {
|
|
123
|
+
"type": "i18n",
|
|
124
|
+
"en-US": "image",
|
|
125
|
+
"zh-CN": "图片地址"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"name": "image",
|
|
129
|
+
"description": "图片地址",
|
|
130
|
+
"setter": {
|
|
131
|
+
"componentName": "CustomImageSetter",
|
|
132
|
+
"isRequired": false,
|
|
133
|
+
"initialValue": ""
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"title": {
|
|
138
|
+
"label": {
|
|
139
|
+
"type": "i18n",
|
|
140
|
+
"en-US": "description",
|
|
141
|
+
"zh-CN": "描述"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"name": "description",
|
|
145
|
+
"description": "描述",
|
|
146
|
+
"setter": {
|
|
147
|
+
"componentName": "StringSetter",
|
|
148
|
+
"isRequired": false,
|
|
149
|
+
"initialValue": ""
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"title": {
|
|
154
|
+
"label": {
|
|
155
|
+
"type": "i18n",
|
|
156
|
+
"en-US": "tags",
|
|
157
|
+
"zh-CN": "标签列表"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"name": "tags",
|
|
161
|
+
"description": "标签列表",
|
|
162
|
+
"setter": {
|
|
163
|
+
"componentName": "ArraySetter",
|
|
164
|
+
"props": {
|
|
165
|
+
"itemSetter": {
|
|
166
|
+
"componentName": "ObjectSetter",
|
|
167
|
+
"props": {
|
|
168
|
+
"config": {
|
|
169
|
+
"items": [
|
|
170
|
+
{
|
|
171
|
+
"title": {
|
|
172
|
+
"label": {
|
|
173
|
+
"type": "i18n",
|
|
174
|
+
"en-US": "name",
|
|
175
|
+
"zh-CN": "标签名称"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"name": "name",
|
|
179
|
+
"description": "标签名称",
|
|
180
|
+
"setter": {
|
|
181
|
+
"componentName": "StringSetter",
|
|
182
|
+
"isRequired": true,
|
|
183
|
+
"initialValue": ""
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"title": {
|
|
188
|
+
"label": {
|
|
189
|
+
"type": "i18n",
|
|
190
|
+
"en-US": "color",
|
|
191
|
+
"zh-CN": "标签颜色"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"name": "color",
|
|
195
|
+
"description": "标签颜色",
|
|
196
|
+
"setter": {
|
|
197
|
+
"componentName": "StringSetter",
|
|
198
|
+
"isRequired": true,
|
|
199
|
+
"initialValue": ""
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"extraSetter": {
|
|
204
|
+
"componentName": "MixedSetter",
|
|
205
|
+
"isRequired": false,
|
|
206
|
+
"props": {}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"initialValue": []
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"extraSetter": {
|
|
217
|
+
"componentName": "MixedSetter",
|
|
218
|
+
"isRequired": false,
|
|
219
|
+
"props": {}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"initialValue": [
|
|
226
|
+
{
|
|
227
|
+
"image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
|
|
228
|
+
"title": "标题名称",
|
|
229
|
+
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
230
|
+
"tags": [
|
|
231
|
+
{
|
|
232
|
+
"name": "报名火热",
|
|
233
|
+
"color": "orange"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "人数众多",
|
|
237
|
+
"color": "blue"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
|
|
243
|
+
"title": "标题名称",
|
|
244
|
+
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
245
|
+
"tags": [
|
|
246
|
+
{
|
|
247
|
+
"name": "报名火热",
|
|
248
|
+
"color": "orange"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "人数众多",
|
|
252
|
+
"color": "blue"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"supports": {
|
|
261
|
+
"style": true,
|
|
262
|
+
"events": [
|
|
263
|
+
{
|
|
264
|
+
"name": "onClick",
|
|
265
|
+
"template":
|
|
266
|
+
"onClick(key,${extParams}){\n// 点击项目的事件\nconsole.log('onClick', key);}",
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
},
|
|
270
|
+
"component": {}
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
274
|
+
{
|
|
275
|
+
"title": "图文列表",
|
|
276
|
+
"screenshot": "",
|
|
277
|
+
"schema": {
|
|
278
|
+
"componentName": "TeletextList",
|
|
279
|
+
"props": {},
|
|
280
|
+
children: [
|
|
281
|
+
{
|
|
282
|
+
componentName: 'Title1',
|
|
283
|
+
props: {
|
|
284
|
+
type: 'h5',
|
|
285
|
+
children: '列表标题',
|
|
286
|
+
key: 'box-title'
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
componentName: 'Image',
|
|
291
|
+
props: {
|
|
292
|
+
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
293
|
+
key: 'image'
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
componentName: 'NextText',
|
|
298
|
+
props: {
|
|
299
|
+
type: 'h5',
|
|
300
|
+
children: '标题标题',
|
|
301
|
+
key: 'title'
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
componentName: 'NextText',
|
|
306
|
+
props: {
|
|
307
|
+
type: 'inherit',
|
|
308
|
+
children:
|
|
309
|
+
'基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
310
|
+
key: 'content'
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
componentName: 'TagC',
|
|
315
|
+
props: {
|
|
316
|
+
name: '报名火热',
|
|
317
|
+
color: 'orange',
|
|
318
|
+
key: 'teletext-tag-c'
|
|
319
|
+
},
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
];
|
|
325
|
+
|
|
326
|
+
export default {
|
|
327
|
+
...TeletextListMeta,
|
|
328
|
+
snippets
|
|
329
|
+
};
|