@dckj-npm/dc-material 0.1.159 → 0.1.161

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.
@@ -0,0 +1,200 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
+ var TeletextListItemMeta = {
8
+ componentName: 'TeletextListItem',
9
+ title: 'TeletextListItem',
10
+ docUrl: '',
11
+ screenshot: '',
12
+ devMode: 'proCode',
13
+ npm: {
14
+ "package": '@dckj-npm/dc-material',
15
+ version: '0.1.160',
16
+ exportName: 'TeletextListItem',
17
+ main: 'src\\index.tsx',
18
+ destructuring: true,
19
+ subName: ''
20
+ },
21
+ configure: {
22
+ props: [{
23
+ title: {
24
+ label: {
25
+ type: 'i18n',
26
+ 'en-US': 'onClick',
27
+ 'zh-CN': '点击事件'
28
+ },
29
+ tip: 'onClick | 点击事件'
30
+ },
31
+ name: 'onClick',
32
+ description: '点击事件',
33
+ setter: {
34
+ componentName: 'FunctionSetter'
35
+ }
36
+ }, {
37
+ title: {
38
+ label: {
39
+ type: 'i18n',
40
+ 'en-US': 'title',
41
+ 'zh-CN': '标题'
42
+ },
43
+ tip: 'title | 标题'
44
+ },
45
+ name: 'title',
46
+ description: '标题',
47
+ setter: {
48
+ componentName: 'StringSetter',
49
+ isRequired: false,
50
+ initialValue: ''
51
+ }
52
+ }, {
53
+ title: {
54
+ label: {
55
+ type: 'i18n',
56
+ 'en-US': 'image',
57
+ 'zh-CN': '图片地址'
58
+ },
59
+ tip: 'image | 图片地址'
60
+ },
61
+ name: 'image',
62
+ description: '图片地址',
63
+ setter: {
64
+ componentName: 'ArraySetter',
65
+ props: {
66
+ itemSetter: {
67
+ componentName: 'StringSetter',
68
+ isRequired: false,
69
+ initialValue: ''
70
+ }
71
+ },
72
+ initialValue: []
73
+ }
74
+ }, {
75
+ title: {
76
+ label: {
77
+ type: 'i18n',
78
+ 'en-US': 'imagePlacement',
79
+ 'zh-CN': '图片位置'
80
+ },
81
+ tip: 'imagePlacement | 图片位置'
82
+ },
83
+ name: 'imagePlacement',
84
+ description: '图片位置',
85
+ setter: {
86
+ componentName: 'RadioGroupSetter',
87
+ props: {
88
+ dataSource: [{
89
+ label: 'left',
90
+ value: 'left'
91
+ }, {
92
+ label: 'right',
93
+ value: 'right'
94
+ }, {
95
+ label: 'none',
96
+ value: 'none'
97
+ }],
98
+ options: [{
99
+ label: 'left',
100
+ value: 'left'
101
+ }, {
102
+ label: 'right',
103
+ value: 'right'
104
+ }, {
105
+ label: 'none',
106
+ value: 'none'
107
+ }]
108
+ },
109
+ initialValue: 'left'
110
+ }
111
+ }, {
112
+ title: {
113
+ label: {
114
+ type: 'i18n',
115
+ 'en-US': 'description',
116
+ 'zh-CN': '说明'
117
+ },
118
+ tip: 'description | 说明'
119
+ },
120
+ name: 'description',
121
+ description: '说明',
122
+ setter: {
123
+ componentName: 'StringSetter',
124
+ isRequired: false,
125
+ initialValue: ''
126
+ }
127
+ }, {
128
+ title: {
129
+ label: {
130
+ type: 'i18n',
131
+ 'en-US': 'tags',
132
+ 'zh-CN': '标签列表'
133
+ },
134
+ tip: 'tags | 标签列表'
135
+ },
136
+ name: 'tags',
137
+ description: '标签列表',
138
+ setter: {
139
+ componentName: 'StringSetter',
140
+ isRequired: false,
141
+ initialValue: ''
142
+ }
143
+ }],
144
+ supports: {
145
+ style: true
146
+ },
147
+ component: {
148
+ isContainer: true,
149
+ nestingRule: {
150
+ childWhitelist: ['']
151
+ }
152
+ }
153
+ }
154
+ };
155
+ var snippets = [{
156
+ title: 'TeletextListItem',
157
+ screenshot: '',
158
+ schema: {
159
+ componentName: 'TeletextListItem',
160
+ props: {},
161
+ children: [{
162
+ componentName: 'Title1',
163
+ props: {
164
+ type: 'h5',
165
+ children: '列表标题',
166
+ key: 'box-title'
167
+ }
168
+ }, {
169
+ componentName: 'Image',
170
+ props: {
171
+ src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
172
+ key: 'image'
173
+ }
174
+ }, {
175
+ componentName: 'NextText',
176
+ props: {
177
+ type: 'h5',
178
+ children: '标题标题',
179
+ key: 'title'
180
+ }
181
+ }, {
182
+ componentName: 'NextText',
183
+ props: {
184
+ type: 'inherit',
185
+ children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
186
+ key: 'content'
187
+ }
188
+ }, {
189
+ componentName: 'TagC',
190
+ props: {
191
+ name: '报名火热',
192
+ color: 'orange',
193
+ key: 'teletext-tag-c'
194
+ }
195
+ }]
196
+ }
197
+ }];
198
+ var _default = exports["default"] = (0, _extends2["default"])({}, TeletextListItemMeta, {
199
+ snippets: snippets
200
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.159",
3
+ "version": "0.1.161",
4
4
  "description": "dc低代码物料",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -106,7 +106,7 @@
106
106
  },
107
107
  "componentConfig": {
108
108
  "isComponentLibrary": true,
109
- "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.159/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.161/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"