@dckj-npm/dc-material 0.1.348 → 0.1.350

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.
@@ -22,7 +22,29 @@ const AddressListMeta: IPublicTypeComponentMetadata = {
22
22
  childWhitelist: ['NextText', 'AddressListItem'],
23
23
  },
24
24
  },
25
- props: [],
25
+ props: [
26
+ {
27
+ title: '数据源绑定',
28
+ name: 'dataListBind',
29
+ setter: {
30
+ componentName: 'SetterFormVariable',
31
+ props: {
32
+ attributes: [
33
+ {
34
+ label: '图文数据',
35
+ value: 'dataList',
36
+ children: [
37
+ { label: '姓名', value: 'name' },
38
+ { label: '电话', value: 'phone' },
39
+ { label: '地址', value: 'address' },
40
+ { label: '标签', value: 'tag' },
41
+ ],
42
+ },
43
+ ],
44
+ },
45
+ },
46
+ },
47
+ ],
26
48
  supports: {
27
49
  style: true,
28
50
  },
@@ -48,8 +70,8 @@ const snippets: IPublicTypeSnippet[] = [
48
70
  componentName: 'NextText',
49
71
  props: {
50
72
  type: 'h5',
51
- children: '标题2',
52
- key: 'title',
73
+ children: '张三',
74
+ key: 'name',
53
75
  },
54
76
  },
55
77
  {
@@ -60,6 +82,14 @@ const snippets: IPublicTypeSnippet[] = [
60
82
  key: 'phone',
61
83
  },
62
84
  },
85
+ {
86
+ componentName: 'NextText',
87
+ props: {
88
+ type: 'h5',
89
+ children: 'Home',
90
+ key: 'tag',
91
+ },
92
+ },
63
93
  ],
64
94
  },
65
95
  },
@@ -21,7 +21,32 @@ var AddressListMeta = {
21
21
  childWhitelist: ['NextText', 'AddressListItem']
22
22
  }
23
23
  },
24
- props: [],
24
+ props: [{
25
+ title: '数据源绑定',
26
+ name: 'dataListBind',
27
+ setter: {
28
+ componentName: 'SetterFormVariable',
29
+ props: {
30
+ attributes: [{
31
+ label: '图文数据',
32
+ value: 'dataList',
33
+ children: [{
34
+ label: '姓名',
35
+ value: 'name'
36
+ }, {
37
+ label: '电话',
38
+ value: 'phone'
39
+ }, {
40
+ label: '地址',
41
+ value: 'address'
42
+ }, {
43
+ label: '标签',
44
+ value: 'tag'
45
+ }]
46
+ }]
47
+ }
48
+ }
49
+ }],
25
50
  supports: {
26
51
  style: true
27
52
  }
@@ -44,8 +69,8 @@ var snippets = [{
44
69
  componentName: 'NextText',
45
70
  props: {
46
71
  type: 'h5',
47
- children: '标题2',
48
- key: 'title'
72
+ children: '张三',
73
+ key: 'name'
49
74
  }
50
75
  }, {
51
76
  componentName: 'NextText',
@@ -54,6 +79,13 @@ var snippets = [{
54
79
  children: '13819025571',
55
80
  key: 'phone'
56
81
  }
82
+ }, {
83
+ componentName: 'NextText',
84
+ props: {
85
+ type: 'h5',
86
+ children: 'Home',
87
+ key: 'tag'
88
+ }
57
89
  }]
58
90
  }
59
91
  }];
@@ -112,7 +112,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
112
112
  packageName = '@dckj-npm/dc-material';
113
113
  }
114
114
  if (version === void 0) {
115
- version = '0.1.348';
115
+ version = '0.1.350';
116
116
  }
117
117
  if (basicLibraryVersion === void 0) {
118
118
  basicLibraryVersion = {
@@ -26,7 +26,32 @@ var AddressListMeta = {
26
26
  childWhitelist: ['NextText', 'AddressListItem']
27
27
  }
28
28
  },
29
- props: [],
29
+ props: [{
30
+ title: '数据源绑定',
31
+ name: 'dataListBind',
32
+ setter: {
33
+ componentName: 'SetterFormVariable',
34
+ props: {
35
+ attributes: [{
36
+ label: '图文数据',
37
+ value: 'dataList',
38
+ children: [{
39
+ label: '姓名',
40
+ value: 'name'
41
+ }, {
42
+ label: '电话',
43
+ value: 'phone'
44
+ }, {
45
+ label: '地址',
46
+ value: 'address'
47
+ }, {
48
+ label: '标签',
49
+ value: 'tag'
50
+ }]
51
+ }]
52
+ }
53
+ }
54
+ }],
30
55
  supports: {
31
56
  style: true
32
57
  }
@@ -49,8 +74,8 @@ var snippets = [{
49
74
  componentName: 'NextText',
50
75
  props: {
51
76
  type: 'h5',
52
- children: '标题2',
53
- key: 'title'
77
+ children: '张三',
78
+ key: 'name'
54
79
  }
55
80
  }, {
56
81
  componentName: 'NextText',
@@ -59,6 +84,13 @@ var snippets = [{
59
84
  children: '13819025571',
60
85
  key: 'phone'
61
86
  }
87
+ }, {
88
+ componentName: 'NextText',
89
+ props: {
90
+ type: 'h5',
91
+ children: 'Home',
92
+ key: 'tag'
93
+ }
62
94
  }]
63
95
  }
64
96
  }];
@@ -117,7 +117,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
117
117
  packageName = '@dckj-npm/dc-material';
118
118
  }
119
119
  if (version === void 0) {
120
- version = '0.1.348';
120
+ version = '0.1.350';
121
121
  }
122
122
  if (basicLibraryVersion === void 0) {
123
123
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.348",
3
+ "version": "0.1.350",
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.348/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.350/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"