@dckj-npm/dc-material 0.1.160 → 0.1.162

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.
@@ -292,7 +292,7 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
292
292
  component: {
293
293
  isContainer: true,
294
294
  nestingRule: {
295
- childWhitelist: ['Title1', 'NextText'],
295
+ childWhitelist: ['TeletextListItem'],
296
296
  },
297
297
  disableBehaviors: ['copy'],
298
298
  },
@@ -0,0 +1,222 @@
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
2
+
3
+ const TeletextListItemMeta: IPublicTypeComponentMetadata = {
4
+ componentName: 'TeletextListItem',
5
+ title: 'TeletextListItem',
6
+ docUrl: '',
7
+ screenshot: '',
8
+ devMode: 'proCode',
9
+ npm: {
10
+ package: '@dckj-npm/dc-material',
11
+ version: '0.1.160',
12
+ exportName: 'TeletextListItem',
13
+ main: 'src\\index.tsx',
14
+ destructuring: true,
15
+ subName: '',
16
+ },
17
+ configure: {
18
+ props: [
19
+ {
20
+ title: {
21
+ label: {
22
+ type: 'i18n',
23
+ 'en-US': 'onClick',
24
+ 'zh-CN': '点击事件',
25
+ },
26
+ tip: 'onClick | 点击事件',
27
+ },
28
+ name: 'onClick',
29
+ description: '点击事件',
30
+ setter: {
31
+ componentName: 'FunctionSetter',
32
+ },
33
+ },
34
+ {
35
+ title: {
36
+ label: {
37
+ type: 'i18n',
38
+ 'en-US': 'title',
39
+ 'zh-CN': '标题',
40
+ },
41
+ tip: 'title | 标题',
42
+ },
43
+ name: 'title',
44
+ description: '标题',
45
+ setter: {
46
+ componentName: 'StringSetter',
47
+ isRequired: false,
48
+ initialValue: '',
49
+ },
50
+ },
51
+ {
52
+ title: {
53
+ label: {
54
+ type: 'i18n',
55
+ 'en-US': 'image',
56
+ 'zh-CN': '图片地址',
57
+ },
58
+ tip: 'image | 图片地址',
59
+ },
60
+ name: 'image',
61
+ description: '图片地址',
62
+ setter: {
63
+ componentName: 'ArraySetter',
64
+ props: {
65
+ itemSetter: {
66
+ componentName: 'StringSetter',
67
+ isRequired: false,
68
+ initialValue: '',
69
+ },
70
+ },
71
+ initialValue: [],
72
+ },
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
+ {
90
+ label: 'left',
91
+ value: 'left',
92
+ },
93
+ {
94
+ label: 'right',
95
+ value: 'right',
96
+ },
97
+ {
98
+ label: 'none',
99
+ value: 'none',
100
+ },
101
+ ],
102
+ options: [
103
+ {
104
+ label: 'left',
105
+ value: 'left',
106
+ },
107
+ {
108
+ label: 'right',
109
+ value: 'right',
110
+ },
111
+ {
112
+ label: 'none',
113
+ value: 'none',
114
+ },
115
+ ],
116
+ },
117
+ initialValue: 'left',
118
+ },
119
+ },
120
+ {
121
+ title: {
122
+ label: {
123
+ type: 'i18n',
124
+ 'en-US': 'description',
125
+ 'zh-CN': '说明',
126
+ },
127
+ tip: 'description | 说明',
128
+ },
129
+ name: 'description',
130
+ description: '说明',
131
+ setter: {
132
+ componentName: 'StringSetter',
133
+ isRequired: false,
134
+ initialValue: '',
135
+ },
136
+ },
137
+ {
138
+ title: {
139
+ label: {
140
+ type: 'i18n',
141
+ 'en-US': 'tags',
142
+ 'zh-CN': '标签列表',
143
+ },
144
+ tip: 'tags | 标签列表',
145
+ },
146
+ name: 'tags',
147
+ description: '标签列表',
148
+ setter: {
149
+ componentName: 'StringSetter',
150
+ isRequired: false,
151
+ initialValue: '',
152
+ },
153
+ },
154
+ ],
155
+ supports: {
156
+ style: true,
157
+ },
158
+ component: {
159
+ isContainer: true,
160
+ nestingRule: {
161
+ childWhitelist: [''],
162
+ },
163
+ },
164
+ },
165
+ }
166
+ const snippets: IPublicTypeSnippet[] = [
167
+ {
168
+ title: 'TeletextListItem',
169
+ screenshot: '',
170
+ schema: {
171
+ componentName: 'TeletextListItem',
172
+ props: {},
173
+ children: [
174
+ {
175
+ componentName: 'Title1',
176
+ props: {
177
+ type: 'h5',
178
+ children: '列表标题',
179
+ key: 'box-title',
180
+ },
181
+ },
182
+ {
183
+ componentName: 'Image',
184
+ props: {
185
+ src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
186
+ key: 'image',
187
+ },
188
+ },
189
+ {
190
+ componentName: 'NextText',
191
+ props: {
192
+ type: 'h5',
193
+ children: '标题标题',
194
+ key: 'title',
195
+ },
196
+ },
197
+ {
198
+ componentName: 'NextText',
199
+ props: {
200
+ type: 'inherit',
201
+ children:
202
+ '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
203
+ key: 'content',
204
+ },
205
+ },
206
+ {
207
+ componentName: 'TagC',
208
+ props: {
209
+ name: '报名火热',
210
+ color: 'orange',
211
+ key: 'teletext-tag-c',
212
+ },
213
+ },
214
+ ],
215
+ },
216
+ },
217
+ ]
218
+
219
+ export default {
220
+ ...TeletextListItemMeta,
221
+ snippets,
222
+ }
@@ -24,6 +24,7 @@ import TabContainerItemMeta from 'D:/project/company2/lowcode-material/lowcode/t
24
24
  import TabContainerMeta from 'D:/project/company2/lowcode-material/lowcode/tab-container/meta';
25
25
  import TabMessageMeta from 'D:/project/company2/lowcode-material/lowcode/tab-message/meta';
26
26
  import TagCMeta from 'D:/project/company2/lowcode-material/lowcode/tag-c/meta';
27
+ import TeletextListItemMeta from 'D:/project/company2/lowcode-material/lowcode/teletext-list-item/meta';
27
28
  import TeletextListMeta from 'D:/project/company2/lowcode-material/lowcode/teletext-list/meta';
28
29
  import Title1Meta from 'D:/project/company2/lowcode-material/lowcode/title1/meta';
29
30
  import Title2Meta from 'D:/project/company2/lowcode-material/lowcode/title2/meta';
@@ -99,7 +100,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
99
100
  packageName = '@dckj-npm/dc-material';
100
101
  }
101
102
  if (version === void 0) {
102
- version = '0.1.160';
103
+ version = '0.1.162';
103
104
  }
104
105
  if (basicLibraryVersion === void 0) {
105
106
  basicLibraryVersion = {
@@ -126,7 +127,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
126
127
  }
127
128
  return meta;
128
129
  }
129
- var componentMetas = [AddressListMeta, Button2Meta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, FormMeta, GoodsCardListCommonMeta, GoodsCardListMeta, GridNavMeta, IntegralTaskMeta, MemberCardMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, RichTextMeta, SearchBarMeta, ShoppingCartMeta, StreamListMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, Title1Meta, Title2Meta, UserCardMeta];
130
+ var componentMetas = [AddressListMeta, Button2Meta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, FormMeta, GoodsCardListCommonMeta, GoodsCardListMeta, GridNavMeta, IntegralTaskMeta, MemberCardMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, RichTextMeta, SearchBarMeta, ShoppingCartMeta, StreamListMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListItemMeta, TeletextListMeta, Title1Meta, Title2Meta, UserCardMeta];
130
131
  var components = [];
131
132
  var npmInfo = {};
132
133
  componentMetas.forEach(function (meta) {
@@ -261,7 +261,7 @@ var TeletextListMeta = {
261
261
  component: {
262
262
  isContainer: true,
263
263
  nestingRule: {
264
- childWhitelist: ['Title1', 'NextText']
264
+ childWhitelist: ['TeletextListItem']
265
265
  },
266
266
  disableBehaviors: ['copy']
267
267
  }
@@ -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,195 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ var TeletextListItemMeta = {
3
+ componentName: 'TeletextListItem',
4
+ title: 'TeletextListItem',
5
+ docUrl: '',
6
+ screenshot: '',
7
+ devMode: 'proCode',
8
+ npm: {
9
+ "package": '@dckj-npm/dc-material',
10
+ version: '0.1.160',
11
+ exportName: 'TeletextListItem',
12
+ main: 'src\\index.tsx',
13
+ destructuring: true,
14
+ subName: ''
15
+ },
16
+ configure: {
17
+ props: [{
18
+ title: {
19
+ label: {
20
+ type: 'i18n',
21
+ 'en-US': 'onClick',
22
+ 'zh-CN': '点击事件'
23
+ },
24
+ tip: 'onClick | 点击事件'
25
+ },
26
+ name: 'onClick',
27
+ description: '点击事件',
28
+ setter: {
29
+ componentName: 'FunctionSetter'
30
+ }
31
+ }, {
32
+ title: {
33
+ label: {
34
+ type: 'i18n',
35
+ 'en-US': 'title',
36
+ 'zh-CN': '标题'
37
+ },
38
+ tip: 'title | 标题'
39
+ },
40
+ name: 'title',
41
+ description: '标题',
42
+ setter: {
43
+ componentName: 'StringSetter',
44
+ isRequired: false,
45
+ initialValue: ''
46
+ }
47
+ }, {
48
+ title: {
49
+ label: {
50
+ type: 'i18n',
51
+ 'en-US': 'image',
52
+ 'zh-CN': '图片地址'
53
+ },
54
+ tip: 'image | 图片地址'
55
+ },
56
+ name: 'image',
57
+ description: '图片地址',
58
+ setter: {
59
+ componentName: 'ArraySetter',
60
+ props: {
61
+ itemSetter: {
62
+ componentName: 'StringSetter',
63
+ isRequired: false,
64
+ initialValue: ''
65
+ }
66
+ },
67
+ initialValue: []
68
+ }
69
+ }, {
70
+ title: {
71
+ label: {
72
+ type: 'i18n',
73
+ 'en-US': 'imagePlacement',
74
+ 'zh-CN': '图片位置'
75
+ },
76
+ tip: 'imagePlacement | 图片位置'
77
+ },
78
+ name: 'imagePlacement',
79
+ description: '图片位置',
80
+ setter: {
81
+ componentName: 'RadioGroupSetter',
82
+ props: {
83
+ dataSource: [{
84
+ label: 'left',
85
+ value: 'left'
86
+ }, {
87
+ label: 'right',
88
+ value: 'right'
89
+ }, {
90
+ label: 'none',
91
+ value: 'none'
92
+ }],
93
+ options: [{
94
+ label: 'left',
95
+ value: 'left'
96
+ }, {
97
+ label: 'right',
98
+ value: 'right'
99
+ }, {
100
+ label: 'none',
101
+ value: 'none'
102
+ }]
103
+ },
104
+ initialValue: 'left'
105
+ }
106
+ }, {
107
+ title: {
108
+ label: {
109
+ type: 'i18n',
110
+ 'en-US': 'description',
111
+ 'zh-CN': '说明'
112
+ },
113
+ tip: 'description | 说明'
114
+ },
115
+ name: 'description',
116
+ description: '说明',
117
+ setter: {
118
+ componentName: 'StringSetter',
119
+ isRequired: false,
120
+ initialValue: ''
121
+ }
122
+ }, {
123
+ title: {
124
+ label: {
125
+ type: 'i18n',
126
+ 'en-US': 'tags',
127
+ 'zh-CN': '标签列表'
128
+ },
129
+ tip: 'tags | 标签列表'
130
+ },
131
+ name: 'tags',
132
+ description: '标签列表',
133
+ setter: {
134
+ componentName: 'StringSetter',
135
+ isRequired: false,
136
+ initialValue: ''
137
+ }
138
+ }],
139
+ supports: {
140
+ style: true
141
+ },
142
+ component: {
143
+ isContainer: true,
144
+ nestingRule: {
145
+ childWhitelist: ['']
146
+ }
147
+ }
148
+ }
149
+ };
150
+ var snippets = [{
151
+ title: 'TeletextListItem',
152
+ screenshot: '',
153
+ schema: {
154
+ componentName: 'TeletextListItem',
155
+ props: {},
156
+ children: [{
157
+ componentName: 'Title1',
158
+ props: {
159
+ type: 'h5',
160
+ children: '列表标题',
161
+ key: 'box-title'
162
+ }
163
+ }, {
164
+ componentName: 'Image',
165
+ props: {
166
+ src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
167
+ key: 'image'
168
+ }
169
+ }, {
170
+ componentName: 'NextText',
171
+ props: {
172
+ type: 'h5',
173
+ children: '标题标题',
174
+ key: 'title'
175
+ }
176
+ }, {
177
+ componentName: 'NextText',
178
+ props: {
179
+ type: 'inherit',
180
+ children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
181
+ key: 'content'
182
+ }
183
+ }, {
184
+ componentName: 'TagC',
185
+ props: {
186
+ name: '报名火热',
187
+ color: 'orange',
188
+ key: 'teletext-tag-c'
189
+ }
190
+ }]
191
+ }
192
+ }];
193
+ export default _extends({}, TeletextListItemMeta, {
194
+ snippets: snippets
195
+ });
@@ -29,10 +29,11 @@ var _meta22 = _interopRequireDefault(require("D:/project/company2/lowcode-materi
29
29
  var _meta23 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/tab-container/meta"));
30
30
  var _meta24 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/tab-message/meta"));
31
31
  var _meta25 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/tag-c/meta"));
32
- var _meta26 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/teletext-list/meta"));
33
- var _meta27 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/title1/meta"));
34
- var _meta28 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/title2/meta"));
35
- var _meta29 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/user-card/meta"));
32
+ var _meta26 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/teletext-list-item/meta"));
33
+ var _meta27 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/teletext-list/meta"));
34
+ var _meta28 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/title1/meta"));
35
+ var _meta29 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/title2/meta"));
36
+ var _meta30 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/user-card/meta"));
36
37
  var componentCategorySort = {};
37
38
  ["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
38
39
  componentCategorySort[item] = ++index;
@@ -104,7 +105,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
104
105
  packageName = '@dckj-npm/dc-material';
105
106
  }
106
107
  if (version === void 0) {
107
- version = '0.1.160';
108
+ version = '0.1.162';
108
109
  }
109
110
  if (basicLibraryVersion === void 0) {
110
111
  basicLibraryVersion = {
@@ -131,7 +132,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
131
132
  }
132
133
  return meta;
133
134
  }
134
- var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"], _meta6["default"], _meta7["default"], _meta8["default"], _meta9["default"], _meta10["default"], _meta11["default"], _meta12["default"], _meta13["default"], _meta14["default"], _meta15["default"], _meta16["default"], _meta17["default"], _meta18["default"], _meta19["default"], _meta20["default"], _meta21["default"], _meta22["default"], _meta23["default"], _meta24["default"], _meta25["default"], _meta26["default"], _meta27["default"], _meta28["default"], _meta29["default"]];
135
+ var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"], _meta6["default"], _meta7["default"], _meta8["default"], _meta9["default"], _meta10["default"], _meta11["default"], _meta12["default"], _meta13["default"], _meta14["default"], _meta15["default"], _meta16["default"], _meta17["default"], _meta18["default"], _meta19["default"], _meta20["default"], _meta21["default"], _meta22["default"], _meta23["default"], _meta24["default"], _meta25["default"], _meta26["default"], _meta27["default"], _meta28["default"], _meta29["default"], _meta30["default"]];
135
136
  var components = exports.components = [];
136
137
  var npmInfo = {};
137
138
  componentMetas.forEach(function (meta) {
@@ -266,7 +266,7 @@ var TeletextListMeta = {
266
266
  component: {
267
267
  isContainer: true,
268
268
  nestingRule: {
269
- childWhitelist: ['Title1', 'NextText']
269
+ childWhitelist: ['TeletextListItem']
270
270
  },
271
271
  disableBehaviors: ['copy']
272
272
  }
@@ -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;