@dckj-npm/dc-material 0.1.152 → 0.1.153

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.
@@ -34,24 +34,24 @@ var snippets = [{
34
34
  componentName: 'AddressList',
35
35
  props: {},
36
36
  children: [{
37
- componentName: 'Title1',
37
+ componentName: 'NextText',
38
38
  props: {
39
- type: 'h5',
40
- children: '标题1',
39
+ type: 'inherit',
40
+ children: '我的地址是xx市xx区xxxxxx203',
41
41
  key: 'address'
42
42
  }
43
43
  }, {
44
- componentName: 'Title1',
44
+ componentName: 'NextText',
45
45
  props: {
46
46
  type: 'h5',
47
47
  children: '标题2',
48
- key: 'name'
48
+ key: 'title'
49
49
  }
50
50
  }, {
51
- componentName: 'Title1',
51
+ componentName: 'NextText',
52
52
  props: {
53
53
  type: 'h5',
54
- children: '标题3',
54
+ children: '13819025571',
55
55
  key: 'phone'
56
56
  }
57
57
  }]
@@ -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.150';
102
+ version = '0.1.153';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
@@ -15,6 +15,38 @@ var ShoppingCartMeta = {
15
15
  },
16
16
  "configure": {
17
17
  "props": [{
18
+ name: '数据源绑定',
19
+ setter: {
20
+ componentName: 'SetterFormVariable',
21
+ props: {
22
+ attributes: [{
23
+ label: '列表数据',
24
+ value: 'dataList',
25
+ children: [{
26
+ label: '唯一标识',
27
+ value: 'key'
28
+ }, {
29
+ label: '封面图片',
30
+ value: 'imgUrl'
31
+ }, {
32
+ label: '商品名称',
33
+ value: 'productName'
34
+ }, {
35
+ label: '价格',
36
+ value: 'productPrice'
37
+ }, {
38
+ label: '促销价格',
39
+ value: 'productPromotionPrice',
40
+ isRequire: false,
41
+ notes: '商品信息的促销价格,只有存在的情况下才会展示该信息'
42
+ }, {
43
+ label: '数量',
44
+ value: 'amount'
45
+ }]
46
+ }]
47
+ }
48
+ }
49
+ }, {
18
50
  "title": {
19
51
  "label": {
20
52
  "type": "i18n",
@@ -39,24 +39,24 @@ var snippets = [{
39
39
  componentName: 'AddressList',
40
40
  props: {},
41
41
  children: [{
42
- componentName: 'Title1',
42
+ componentName: 'NextText',
43
43
  props: {
44
- type: 'h5',
45
- children: '标题1',
44
+ type: 'inherit',
45
+ children: '我的地址是xx市xx区xxxxxx203',
46
46
  key: 'address'
47
47
  }
48
48
  }, {
49
- componentName: 'Title1',
49
+ componentName: 'NextText',
50
50
  props: {
51
51
  type: 'h5',
52
52
  children: '标题2',
53
- key: 'name'
53
+ key: 'title'
54
54
  }
55
55
  }, {
56
- componentName: 'Title1',
56
+ componentName: 'NextText',
57
57
  props: {
58
58
  type: 'h5',
59
- children: '标题3',
59
+ children: '13819025571',
60
60
  key: 'phone'
61
61
  }
62
62
  }]
@@ -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.150';
107
+ version = '0.1.153';
108
108
  }
109
109
  if (basicLibraryVersion === void 0) {
110
110
  basicLibraryVersion = {
@@ -20,6 +20,38 @@ var ShoppingCartMeta = {
20
20
  },
21
21
  "configure": {
22
22
  "props": [{
23
+ name: '数据源绑定',
24
+ setter: {
25
+ componentName: 'SetterFormVariable',
26
+ props: {
27
+ attributes: [{
28
+ label: '列表数据',
29
+ value: 'dataList',
30
+ children: [{
31
+ label: '唯一标识',
32
+ value: 'key'
33
+ }, {
34
+ label: '封面图片',
35
+ value: 'imgUrl'
36
+ }, {
37
+ label: '商品名称',
38
+ value: 'productName'
39
+ }, {
40
+ label: '价格',
41
+ value: 'productPrice'
42
+ }, {
43
+ label: '促销价格',
44
+ value: 'productPromotionPrice',
45
+ isRequire: false,
46
+ notes: '商品信息的促销价格,只有存在的情况下才会展示该信息'
47
+ }, {
48
+ label: '数量',
49
+ value: 'amount'
50
+ }]
51
+ }]
52
+ }
53
+ }
54
+ }, {
23
55
  "title": {
24
56
  "label": {
25
57
  "type": "i18n",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.152",
3
+ "version": "0.1.153",
4
4
  "description": "dc低代码物料",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -106,10 +106,10 @@
106
106
  },
107
107
  "componentConfig": {
108
108
  "isComponentLibrary": true,
109
- "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.150/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.153/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"
113
113
  },
114
114
  "homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.148/build/index.html"
115
- }
115
+ }