@dckj-npm/dc-material 0.1.164 → 0.1.166

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.
@@ -274,7 +274,7 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
274
274
  isRequired: false,
275
275
  initialValue: '',
276
276
  },
277
- },
277
+ }
278
278
  ],
279
279
  supports: {
280
280
  style: true,
@@ -286,18 +286,14 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
286
286
  {
287
287
  name: 'handleMoreClick',
288
288
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}",
289
- },
289
+ }
290
290
  ],
291
291
  },
292
- component: {
293
- isContainer: true,
294
- nestingRule: {
295
- childWhitelist: ['TeletextListItem'],
296
- },
292
+ "component": {
297
293
  disableBehaviors: ['copy'],
298
- },
299
- },
300
- }
294
+ }
295
+ }
296
+ };
301
297
  const snippets: IPublicTypeSnippet[] = [
302
298
  {
303
299
  title: '图文列表',
@@ -307,24 +303,49 @@ const snippets: IPublicTypeSnippet[] = [
307
303
  props: {},
308
304
  children: [
309
305
  {
310
- componentName: 'TeletextListItem',
306
+ componentName: 'Title1',
311
307
  props: {
312
- children: '图文列表子项',
313
- key: 'teletext-list-item',
308
+ type: 'h5',
309
+ children: '列表标题',
310
+ key: 'box-title',
314
311
  },
315
312
  },
316
313
  {
317
- componentName: 'Title1',
314
+ componentName: 'Image',
315
+ props: {
316
+ src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
317
+ key: 'image',
318
+ },
319
+ },
320
+ {
321
+ componentName: 'NextText',
318
322
  props: {
319
323
  type: 'h5',
320
- children: '列表标题',
321
- key: 'box-title',
324
+ children: '标题标题',
325
+ key: 'title',
322
326
  },
323
327
  },
324
- ],
325
- },
326
- },
327
- ]
328
+ {
329
+ componentName: 'NextText',
330
+ props: {
331
+ type: 'inherit',
332
+ children:
333
+ '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
334
+ key: 'content',
335
+ },
336
+ },
337
+ {
338
+ componentName: 'TagC',
339
+ props: {
340
+ name: '报名火热',
341
+ color: 'orange',
342
+ key: 'teletext-tag-c'
343
+ },
344
+ }
345
+ ]
346
+ }
347
+ }
348
+ ];
328
349
 
329
350
  export default {
330
351
  ...TeletextListMeta,
@@ -24,7 +24,6 @@ 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';
28
27
  import TeletextListMeta from 'D:/project/company2/lowcode-material/lowcode/teletext-list/meta';
29
28
  import Title1Meta from 'D:/project/company2/lowcode-material/lowcode/title1/meta';
30
29
  import Title2Meta from 'D:/project/company2/lowcode-material/lowcode/title2/meta';
@@ -100,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
100
99
  packageName = '@dckj-npm/dc-material';
101
100
  }
102
101
  if (version === void 0) {
103
- version = '0.1.164';
102
+ version = '0.1.166';
104
103
  }
105
104
  if (basicLibraryVersion === void 0) {
106
105
  basicLibraryVersion = {
@@ -127,7 +126,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
127
126
  }
128
127
  return meta;
129
128
  }
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];
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];
131
130
  var components = [];
132
131
  var npmInfo = {};
133
132
  componentMetas.forEach(function (meta) {
@@ -258,11 +258,7 @@ var TeletextListMeta = {
258
258
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}"
259
259
  }]
260
260
  },
261
- component: {
262
- isContainer: true,
263
- nestingRule: {
264
- childWhitelist: ['TeletextListItem']
265
- },
261
+ "component": {
266
262
  disableBehaviors: ['copy']
267
263
  }
268
264
  }
@@ -274,18 +270,39 @@ var snippets = [{
274
270
  componentName: 'TeletextList',
275
271
  props: {},
276
272
  children: [{
277
- componentName: 'TeletextListItem',
278
- props: {
279
- children: '图文列表子项',
280
- key: 'teletext-list-item'
281
- }
282
- }, {
283
273
  componentName: 'Title1',
284
274
  props: {
285
275
  type: 'h5',
286
276
  children: '列表标题',
287
277
  key: 'box-title'
288
278
  }
279
+ }, {
280
+ componentName: 'Image',
281
+ props: {
282
+ src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
283
+ key: 'image'
284
+ }
285
+ }, {
286
+ componentName: 'NextText',
287
+ props: {
288
+ type: 'h5',
289
+ children: '标题标题',
290
+ key: 'title'
291
+ }
292
+ }, {
293
+ componentName: 'NextText',
294
+ props: {
295
+ type: 'inherit',
296
+ children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
297
+ key: 'content'
298
+ }
299
+ }, {
300
+ componentName: 'TagC',
301
+ props: {
302
+ name: '报名火热',
303
+ color: 'orange',
304
+ key: 'teletext-tag-c'
305
+ }
289
306
  }]
290
307
  }
291
308
  }];
@@ -29,11 +29,10 @@ 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-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"));
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"));
37
36
  var componentCategorySort = {};
38
37
  ["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
39
38
  componentCategorySort[item] = ++index;
@@ -105,7 +104,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
105
104
  packageName = '@dckj-npm/dc-material';
106
105
  }
107
106
  if (version === void 0) {
108
- version = '0.1.164';
107
+ version = '0.1.166';
109
108
  }
110
109
  if (basicLibraryVersion === void 0) {
111
110
  basicLibraryVersion = {
@@ -132,7 +131,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
132
131
  }
133
132
  return meta;
134
133
  }
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"]];
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"]];
136
135
  var components = exports.components = [];
137
136
  var npmInfo = {};
138
137
  componentMetas.forEach(function (meta) {
@@ -263,11 +263,7 @@ var TeletextListMeta = {
263
263
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}"
264
264
  }]
265
265
  },
266
- component: {
267
- isContainer: true,
268
- nestingRule: {
269
- childWhitelist: ['TeletextListItem']
270
- },
266
+ "component": {
271
267
  disableBehaviors: ['copy']
272
268
  }
273
269
  }
@@ -279,18 +275,39 @@ var snippets = [{
279
275
  componentName: 'TeletextList',
280
276
  props: {},
281
277
  children: [{
282
- componentName: 'TeletextListItem',
283
- props: {
284
- children: '图文列表子项',
285
- key: 'teletext-list-item'
286
- }
287
- }, {
288
278
  componentName: 'Title1',
289
279
  props: {
290
280
  type: 'h5',
291
281
  children: '列表标题',
292
282
  key: 'box-title'
293
283
  }
284
+ }, {
285
+ componentName: 'Image',
286
+ props: {
287
+ src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
288
+ key: 'image'
289
+ }
290
+ }, {
291
+ componentName: 'NextText',
292
+ props: {
293
+ type: 'h5',
294
+ children: '标题标题',
295
+ key: 'title'
296
+ }
297
+ }, {
298
+ componentName: 'NextText',
299
+ props: {
300
+ type: 'inherit',
301
+ children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
302
+ key: 'content'
303
+ }
304
+ }, {
305
+ componentName: 'TagC',
306
+ props: {
307
+ name: '报名火热',
308
+ color: 'orange',
309
+ key: 'teletext-tag-c'
310
+ }
294
311
  }]
295
312
  }
296
313
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.164",
3
+ "version": "0.1.166",
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.164/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.166/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"
@@ -1,222 +0,0 @@
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
- }
@@ -1,22 +0,0 @@
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;