@dckj-npm/dc-material 0.1.216 → 0.1.217

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.
@@ -321,6 +321,7 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
321
321
  (child) =>
322
322
  child.componentName === 'NextText' && child.props.key?.startsWith('text-'),
323
323
  )?.length || 0
324
+
324
325
  if (value > currentLength) {
325
326
  // 需要添加新的文本组件
326
327
  for (let i = currentLength + 1; i <= value; i++) {
@@ -344,7 +345,6 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
344
345
  ),
345
346
  )
346
347
  }
347
- target.node?.children?.importSchema()
348
348
 
349
349
  // 更新数据源绑定的配置
350
350
  const dataListBindProp = target.parent.items.find(
@@ -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.216';
102
+ version = '0.1.217';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
@@ -270,7 +270,7 @@ var TeletextListMeta = {
270
270
  },
271
271
  extraProps: {
272
272
  setValue: function setValue(target, value) {
273
- var _target$node, _schema$children, _schema$children$filt, _target$node2, _target$node2$childre, _target$parent$node;
273
+ var _target$node, _schema$children, _schema$children$filt, _target$parent$node;
274
274
  target.getProps().setPropValue('textLines', value);
275
275
  // 获取组件schema
276
276
  var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
@@ -298,7 +298,6 @@ var TeletextListMeta = {
298
298
  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);
299
299
  });
300
300
  }
301
- (_target$node2 = target.node) === null || _target$node2 === void 0 ? void 0 : (_target$node2$childre = _target$node2.children) === null || _target$node2$childre === void 0 ? void 0 : _target$node2$childre.importSchema();
302
301
 
303
302
  // 更新数据源绑定的配置
304
303
  var dataListBindProp = target.parent.items.find(function (item) {
@@ -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.216';
107
+ version = '0.1.217';
108
108
  }
109
109
  if (basicLibraryVersion === void 0) {
110
110
  basicLibraryVersion = {
@@ -275,7 +275,7 @@ var TeletextListMeta = {
275
275
  },
276
276
  extraProps: {
277
277
  setValue: function setValue(target, value) {
278
- var _target$node, _schema$children, _schema$children$filt, _target$node2, _target$node2$childre, _target$parent$node;
278
+ var _target$node, _schema$children, _schema$children$filt, _target$parent$node;
279
279
  target.getProps().setPropValue('textLines', value);
280
280
  // 获取组件schema
281
281
  var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
@@ -303,7 +303,6 @@ var TeletextListMeta = {
303
303
  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);
304
304
  });
305
305
  }
306
- (_target$node2 = target.node) === null || _target$node2 === void 0 ? void 0 : (_target$node2$childre = _target$node2.children) === null || _target$node2$childre === void 0 ? void 0 : _target$node2$childre.importSchema();
307
306
 
308
307
  // 更新数据源绑定的配置
309
308
  var dataListBindProp = target.parent.items.find(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.216",
3
+ "version": "0.1.217",
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.216/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.217/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"