@dckj-npm/dc-material 0.1.199 → 0.1.200

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.
@@ -133,7 +133,8 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
133
133
  },
134
134
  },
135
135
  {
136
- name: '数据源绑定',
136
+ title: '数据源绑定',
137
+ name: 'dataListBind',
137
138
  setter: {
138
139
  componentName: 'SetterFormVariable',
139
140
  props: {
@@ -347,7 +348,7 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
347
348
  ),
348
349
  )
349
350
  }
350
- const setter = target?.node?.getProp('数据源绑定')?.setter
351
+ const setter = target?.node?.getProp('dataListBind')
351
352
 
352
353
  // 设置新的数据源绑定配置
353
354
  // target.getProps().setPropValue('数据源绑定', dataSourceConfig)
@@ -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.199';
102
+ version = '0.1.200';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
@@ -106,7 +106,8 @@ var TeletextListMeta = {
106
106
  }
107
107
  }
108
108
  }, {
109
- name: '数据源绑定',
109
+ title: '数据源绑定',
110
+ name: 'dataListBind',
110
111
  setter: {
111
112
  componentName: 'SetterFormVariable',
112
113
  props: {
@@ -273,7 +274,7 @@ var TeletextListMeta = {
273
274
  },
274
275
  extraProps: {
275
276
  setValue: function setValue(target, value) {
276
- var _target$node, _schema$children, _schema$children$filt, _target$node2, _target$node2$getProp;
277
+ var _target$node, _schema$children, _schema$children$filt, _target$node2;
277
278
  target.getProps().setPropValue('textLines', value);
278
279
  //获取组件schema
279
280
  var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
@@ -301,7 +302,7 @@ var TeletextListMeta = {
301
302
  return !(child.componentName === 'NextText' && (_child$props$key2 = child.props.key) !== null && _child$props$key2 !== void 0 && _child$props$key2.startsWith('text-') && parseInt(child.props.key.split('-')[1]) > value);
302
303
  });
303
304
  }
304
- var setter = target === null || target === void 0 ? void 0 : (_target$node2 = target.node) === null || _target$node2 === void 0 ? void 0 : (_target$node2$getProp = _target$node2.getProp('数据源绑定')) === null || _target$node2$getProp === void 0 ? void 0 : _target$node2$getProp.setter;
305
+ var setter = target === null || target === void 0 ? void 0 : (_target$node2 = target.node) === null || _target$node2 === void 0 ? void 0 : _target$node2.getProp('dataListBind');
305
306
 
306
307
  // 设置新的数据源绑定配置
307
308
  // target.getProps().setPropValue('数据源绑定', dataSourceConfig)
@@ -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.199';
107
+ version = '0.1.200';
108
108
  }
109
109
  if (basicLibraryVersion === void 0) {
110
110
  basicLibraryVersion = {
@@ -111,7 +111,8 @@ var TeletextListMeta = {
111
111
  }
112
112
  }
113
113
  }, {
114
- name: '数据源绑定',
114
+ title: '数据源绑定',
115
+ name: 'dataListBind',
115
116
  setter: {
116
117
  componentName: 'SetterFormVariable',
117
118
  props: {
@@ -278,7 +279,7 @@ var TeletextListMeta = {
278
279
  },
279
280
  extraProps: {
280
281
  setValue: function setValue(target, value) {
281
- var _target$node, _schema$children, _schema$children$filt, _target$node2, _target$node2$getProp;
282
+ var _target$node, _schema$children, _schema$children$filt, _target$node2;
282
283
  target.getProps().setPropValue('textLines', value);
283
284
  //获取组件schema
284
285
  var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
@@ -306,7 +307,7 @@ var TeletextListMeta = {
306
307
  return !(child.componentName === 'NextText' && (_child$props$key2 = child.props.key) !== null && _child$props$key2 !== void 0 && _child$props$key2.startsWith('text-') && parseInt(child.props.key.split('-')[1]) > value);
307
308
  });
308
309
  }
309
- var setter = target === null || target === void 0 ? void 0 : (_target$node2 = target.node) === null || _target$node2 === void 0 ? void 0 : (_target$node2$getProp = _target$node2.getProp('数据源绑定')) === null || _target$node2$getProp === void 0 ? void 0 : _target$node2$getProp.setter;
310
+ var setter = target === null || target === void 0 ? void 0 : (_target$node2 = target.node) === null || _target$node2 === void 0 ? void 0 : _target$node2.getProp('dataListBind');
310
311
 
311
312
  // 设置新的数据源绑定配置
312
313
  // target.getProps().setPropValue('数据源绑定', dataSourceConfig)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.199",
3
+ "version": "0.1.200",
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.199/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.200/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"