@dckj-npm/dc-material 0.1.158 → 0.1.160

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.
@@ -19,7 +19,7 @@ const AddressListMeta: IPublicTypeComponentMetadata = {
19
19
  component: {
20
20
  isContainer: true,
21
21
  nestingRule: {
22
- childWhitelist: ['Title1'],
22
+ childWhitelist: ['NextText', 'AddressListItem'],
23
23
  },
24
24
  },
25
25
  props: [],
@@ -35,6 +35,32 @@ const snippets: IPublicTypeSnippet[] = [
35
35
  schema: {
36
36
  componentName: 'AddressList',
37
37
  props: {},
38
+ children: [
39
+ {
40
+ componentName: 'NextText',
41
+ props: {
42
+ type: 'inherit',
43
+ children: '我的地址是xx市xx区xxxxxx203',
44
+ key: 'address',
45
+ },
46
+ },
47
+ {
48
+ componentName: 'NextText',
49
+ props: {
50
+ type: 'h5',
51
+ children: '标题2',
52
+ key: 'title',
53
+ },
54
+ },
55
+ {
56
+ componentName: 'NextText',
57
+ props: {
58
+ type: 'h5',
59
+ children: '13819025571',
60
+ key: 'phone',
61
+ },
62
+ },
63
+ ],
38
64
  },
39
65
  },
40
66
  ]
@@ -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,14 +286,18 @@ 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": {
292
+ component: {
293
+ isContainer: true,
294
+ nestingRule: {
295
+ childWhitelist: ['Title1', 'NextText'],
296
+ },
293
297
  disableBehaviors: ['copy'],
294
- }
295
- }
296
- };
298
+ },
299
+ },
300
+ }
297
301
  const snippets: IPublicTypeSnippet[] = [
298
302
  {
299
303
  title: '图文列表',
@@ -339,13 +343,13 @@ const snippets: IPublicTypeSnippet[] = [
339
343
  props: {
340
344
  name: '报名火热',
341
345
  color: 'orange',
342
- key: 'teletext-tag-c'
346
+ key: 'teletext-tag-c',
343
347
  },
344
- }
345
- ]
346
- }
347
- }
348
- ];
348
+ },
349
+ ],
350
+ },
351
+ },
352
+ ]
349
353
 
350
354
  export default {
351
355
  ...TeletextListMeta,
@@ -18,7 +18,7 @@ var AddressListMeta = {
18
18
  component: {
19
19
  isContainer: true,
20
20
  nestingRule: {
21
- childWhitelist: ['Title1']
21
+ childWhitelist: ['NextText', 'AddressListItem']
22
22
  }
23
23
  },
24
24
  props: [],
@@ -32,7 +32,29 @@ var snippets = [{
32
32
  screenshot: '',
33
33
  schema: {
34
34
  componentName: 'AddressList',
35
- props: {}
35
+ props: {},
36
+ children: [{
37
+ componentName: 'NextText',
38
+ props: {
39
+ type: 'inherit',
40
+ children: '我的地址是xx市xx区xxxxxx203',
41
+ key: 'address'
42
+ }
43
+ }, {
44
+ componentName: 'NextText',
45
+ props: {
46
+ type: 'h5',
47
+ children: '标题2',
48
+ key: 'title'
49
+ }
50
+ }, {
51
+ componentName: 'NextText',
52
+ props: {
53
+ type: 'h5',
54
+ children: '13819025571',
55
+ key: 'phone'
56
+ }
57
+ }]
36
58
  }
37
59
  }];
38
60
  export default _extends({}, AddressListMeta, {
@@ -99,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
99
99
  packageName = '@dckj-npm/dc-material';
100
100
  }
101
101
  if (version === void 0) {
102
- version = '0.1.158';
102
+ version = '0.1.160';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
@@ -258,7 +258,11 @@ var TeletextListMeta = {
258
258
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}"
259
259
  }]
260
260
  },
261
- "component": {
261
+ component: {
262
+ isContainer: true,
263
+ nestingRule: {
264
+ childWhitelist: ['Title1', 'NextText']
265
+ },
262
266
  disableBehaviors: ['copy']
263
267
  }
264
268
  }
@@ -23,7 +23,7 @@ var AddressListMeta = {
23
23
  component: {
24
24
  isContainer: true,
25
25
  nestingRule: {
26
- childWhitelist: ['Title1']
26
+ childWhitelist: ['NextText', 'AddressListItem']
27
27
  }
28
28
  },
29
29
  props: [],
@@ -37,7 +37,29 @@ var snippets = [{
37
37
  screenshot: '',
38
38
  schema: {
39
39
  componentName: 'AddressList',
40
- props: {}
40
+ props: {},
41
+ children: [{
42
+ componentName: 'NextText',
43
+ props: {
44
+ type: 'inherit',
45
+ children: '我的地址是xx市xx区xxxxxx203',
46
+ key: 'address'
47
+ }
48
+ }, {
49
+ componentName: 'NextText',
50
+ props: {
51
+ type: 'h5',
52
+ children: '标题2',
53
+ key: 'title'
54
+ }
55
+ }, {
56
+ componentName: 'NextText',
57
+ props: {
58
+ type: 'h5',
59
+ children: '13819025571',
60
+ key: 'phone'
61
+ }
62
+ }]
41
63
  }
42
64
  }];
43
65
  var _default = exports["default"] = (0, _extends2["default"])({}, AddressListMeta, {
@@ -104,7 +104,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
104
104
  packageName = '@dckj-npm/dc-material';
105
105
  }
106
106
  if (version === void 0) {
107
- version = '0.1.158';
107
+ version = '0.1.160';
108
108
  }
109
109
  if (basicLibraryVersion === void 0) {
110
110
  basicLibraryVersion = {
@@ -263,7 +263,11 @@ var TeletextListMeta = {
263
263
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}"
264
264
  }]
265
265
  },
266
- "component": {
266
+ component: {
267
+ isContainer: true,
268
+ nestingRule: {
269
+ childWhitelist: ['Title1', 'NextText']
270
+ },
267
271
  disableBehaviors: ['copy']
268
272
  }
269
273
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.158",
3
+ "version": "0.1.160",
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.158/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.160/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"