@dckj-npm/dc-material 0.1.308 → 0.1.310

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.
@@ -38,6 +38,38 @@ const SearchBarMeta: IPublicTypeComponentMetadata = {
38
38
  description: '搜索框绑定跳转',
39
39
  defaultValue: '请输入',
40
40
  },
41
+ {
42
+ name: 'searchText',
43
+ title: '搜索按钮文字',
44
+ setter: 'StringSetter',
45
+ supportVariable: true,
46
+ description: '搜索按钮文字',
47
+ defaultValue: '搜索',
48
+ },
49
+ {
50
+ name: 'placeholder',
51
+ title: 'placeholder',
52
+ setter: 'StringSetter',
53
+ supportVariable: true,
54
+ description: 'placeholder',
55
+ defaultValue: '请输入',
56
+ },
57
+ {
58
+ name: 'autofocus',
59
+ title: '自动聚焦',
60
+ setter: 'BooleanSetter',
61
+ supportVariable: true,
62
+ description: '自动聚焦',
63
+ defaultValue: false,
64
+ },
65
+ {
66
+ name: 'searchValue',
67
+ title: '搜索值',
68
+ setter: 'StringSetter',
69
+ supportVariable: true,
70
+ description: '搜索值',
71
+ defaultValue: '',
72
+ },
41
73
  ],
42
74
  component: {
43
75
  disableBehaviors: ['copy'],
@@ -51,6 +83,16 @@ const snippets: IPublicTypeSnippet[] = [
51
83
  schema: {
52
84
  componentName: 'SearchBar',
53
85
  props: {},
86
+ children: [
87
+ {
88
+ componentName: 'Image',
89
+ props: {
90
+ imgSrc:
91
+ 'https://img.alicdn.com/imgextra/i1/O1CN011UyX4n1J6zZksYXZS_!!6000000007158-55-tps-100-100.svg',
92
+ key: 'img-right',
93
+ },
94
+ },
95
+ ],
54
96
  },
55
97
  },
56
98
  ]
@@ -109,7 +109,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
109
109
  packageName = '@dckj-npm/dc-material';
110
110
  }
111
111
  if (version === void 0) {
112
- version = '0.1.308';
112
+ version = '0.1.310';
113
113
  }
114
114
  if (basicLibraryVersion === void 0) {
115
115
  basicLibraryVersion = {
@@ -32,6 +32,34 @@ var SearchBarMeta = {
32
32
  supportVariable: true,
33
33
  description: '搜索框绑定跳转',
34
34
  defaultValue: '请输入'
35
+ }, {
36
+ name: 'searchText',
37
+ title: '搜索按钮文字',
38
+ setter: 'StringSetter',
39
+ supportVariable: true,
40
+ description: '搜索按钮文字',
41
+ defaultValue: '搜索'
42
+ }, {
43
+ name: 'placeholder',
44
+ title: 'placeholder',
45
+ setter: 'StringSetter',
46
+ supportVariable: true,
47
+ description: 'placeholder',
48
+ defaultValue: '请输入'
49
+ }, {
50
+ name: 'autofocus',
51
+ title: '自动聚焦',
52
+ setter: 'BooleanSetter',
53
+ supportVariable: true,
54
+ description: '自动聚焦',
55
+ defaultValue: false
56
+ }, {
57
+ name: 'searchValue',
58
+ title: '搜索值',
59
+ setter: 'StringSetter',
60
+ supportVariable: true,
61
+ description: '搜索值',
62
+ defaultValue: ''
35
63
  }],
36
64
  component: {
37
65
  disableBehaviors: ['copy']
@@ -43,7 +71,14 @@ var snippets = [{
43
71
  screenshot: '',
44
72
  schema: {
45
73
  componentName: 'SearchBar',
46
- props: {}
74
+ props: {},
75
+ children: [{
76
+ componentName: 'Image',
77
+ props: {
78
+ imgSrc: 'https://img.alicdn.com/imgextra/i1/O1CN011UyX4n1J6zZksYXZS_!!6000000007158-55-tps-100-100.svg',
79
+ key: 'img-right'
80
+ }
81
+ }]
47
82
  }
48
83
  }];
49
84
  export default _extends({}, SearchBarMeta, {
@@ -114,7 +114,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
114
114
  packageName = '@dckj-npm/dc-material';
115
115
  }
116
116
  if (version === void 0) {
117
- version = '0.1.308';
117
+ version = '0.1.310';
118
118
  }
119
119
  if (basicLibraryVersion === void 0) {
120
120
  basicLibraryVersion = {
@@ -37,6 +37,34 @@ var SearchBarMeta = {
37
37
  supportVariable: true,
38
38
  description: '搜索框绑定跳转',
39
39
  defaultValue: '请输入'
40
+ }, {
41
+ name: 'searchText',
42
+ title: '搜索按钮文字',
43
+ setter: 'StringSetter',
44
+ supportVariable: true,
45
+ description: '搜索按钮文字',
46
+ defaultValue: '搜索'
47
+ }, {
48
+ name: 'placeholder',
49
+ title: 'placeholder',
50
+ setter: 'StringSetter',
51
+ supportVariable: true,
52
+ description: 'placeholder',
53
+ defaultValue: '请输入'
54
+ }, {
55
+ name: 'autofocus',
56
+ title: '自动聚焦',
57
+ setter: 'BooleanSetter',
58
+ supportVariable: true,
59
+ description: '自动聚焦',
60
+ defaultValue: false
61
+ }, {
62
+ name: 'searchValue',
63
+ title: '搜索值',
64
+ setter: 'StringSetter',
65
+ supportVariable: true,
66
+ description: '搜索值',
67
+ defaultValue: ''
40
68
  }],
41
69
  component: {
42
70
  disableBehaviors: ['copy']
@@ -48,7 +76,14 @@ var snippets = [{
48
76
  screenshot: '',
49
77
  schema: {
50
78
  componentName: 'SearchBar',
51
- props: {}
79
+ props: {},
80
+ children: [{
81
+ componentName: 'Image',
82
+ props: {
83
+ imgSrc: 'https://img.alicdn.com/imgextra/i1/O1CN011UyX4n1J6zZksYXZS_!!6000000007158-55-tps-100-100.svg',
84
+ key: 'img-right'
85
+ }
86
+ }]
52
87
  }
53
88
  }];
54
89
  var _default = exports["default"] = (0, _extends2["default"])({}, SearchBarMeta, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.308",
3
+ "version": "0.1.310",
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.308/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.310/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"