@dckj-npm/dc-material 0.1.200 → 0.1.201
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.
- package/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/lowcode/teletext-list/meta.ts +11 -3
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.js +12 -4
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.js +12 -4
- package/package.json +2 -2
|
@@ -154,7 +154,11 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
154
154
|
extraProps: {
|
|
155
155
|
getValue(target, value) {
|
|
156
156
|
const textLines = target.getProps().getPropValue('textLines')
|
|
157
|
-
|
|
157
|
+
const a = target?.getValue()
|
|
158
|
+
const b = target?.getPropValue('dataListBind')
|
|
159
|
+
const c = target?.getDefaultValue()
|
|
160
|
+
const d = target?.getExtraPropValue('dataListBind')
|
|
161
|
+
console.log('dataList getValue', target, value, a, b, c, d)
|
|
158
162
|
},
|
|
159
163
|
setValue: (target, value) => {
|
|
160
164
|
console.log('dataList setValue', target, value)
|
|
@@ -348,11 +352,15 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
348
352
|
),
|
|
349
353
|
)
|
|
350
354
|
}
|
|
351
|
-
const
|
|
355
|
+
const a = target?.getValue()
|
|
356
|
+
const b = target?.getPropValue('dataListBind')
|
|
357
|
+
const c = target?.getDefaultValue()
|
|
358
|
+
const d = target?.getExtraPropValue('dataListBind')
|
|
359
|
+
console.log('SettingField', a, b, c, d)
|
|
352
360
|
|
|
353
361
|
// 设置新的数据源绑定配置
|
|
354
362
|
// target.getProps().setPropValue('数据源绑定', dataSourceConfig)
|
|
355
|
-
console.log('文字行数', target, value, schema
|
|
363
|
+
console.log('文字行数', target, value, schema)
|
|
356
364
|
},
|
|
357
365
|
},
|
|
358
366
|
},
|
package/lowcode_es/meta.js
CHANGED
|
@@ -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.
|
|
102
|
+
version = '0.1.201';
|
|
103
103
|
}
|
|
104
104
|
if (basicLibraryVersion === void 0) {
|
|
105
105
|
basicLibraryVersion = {
|
|
@@ -130,7 +130,11 @@ var TeletextListMeta = {
|
|
|
130
130
|
extraProps: {
|
|
131
131
|
getValue: function getValue(target, value) {
|
|
132
132
|
var textLines = target.getProps().getPropValue('textLines');
|
|
133
|
-
|
|
133
|
+
var a = target === null || target === void 0 ? void 0 : target.getValue();
|
|
134
|
+
var b = target === null || target === void 0 ? void 0 : target.getPropValue('dataListBind');
|
|
135
|
+
var c = target === null || target === void 0 ? void 0 : target.getDefaultValue();
|
|
136
|
+
var d = target === null || target === void 0 ? void 0 : target.getExtraPropValue('dataListBind');
|
|
137
|
+
console.log('dataList getValue', target, value, a, b, c, d);
|
|
134
138
|
},
|
|
135
139
|
setValue: function setValue(target, value) {
|
|
136
140
|
console.log('dataList setValue', target, value);
|
|
@@ -274,7 +278,7 @@ var TeletextListMeta = {
|
|
|
274
278
|
},
|
|
275
279
|
extraProps: {
|
|
276
280
|
setValue: function setValue(target, value) {
|
|
277
|
-
var _target$node, _schema$children, _schema$children$filt
|
|
281
|
+
var _target$node, _schema$children, _schema$children$filt;
|
|
278
282
|
target.getProps().setPropValue('textLines', value);
|
|
279
283
|
//获取组件schema
|
|
280
284
|
var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
|
|
@@ -302,11 +306,15 @@ var TeletextListMeta = {
|
|
|
302
306
|
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);
|
|
303
307
|
});
|
|
304
308
|
}
|
|
305
|
-
var
|
|
309
|
+
var a = target === null || target === void 0 ? void 0 : target.getValue();
|
|
310
|
+
var b = target === null || target === void 0 ? void 0 : target.getPropValue('dataListBind');
|
|
311
|
+
var c = target === null || target === void 0 ? void 0 : target.getDefaultValue();
|
|
312
|
+
var d = target === null || target === void 0 ? void 0 : target.getExtraPropValue('dataListBind');
|
|
313
|
+
console.log('SettingField', a, b, c, d);
|
|
306
314
|
|
|
307
315
|
// 设置新的数据源绑定配置
|
|
308
316
|
// target.getProps().setPropValue('数据源绑定', dataSourceConfig)
|
|
309
|
-
console.log('文字行数', target, value, schema
|
|
317
|
+
console.log('文字行数', target, value, schema);
|
|
310
318
|
}
|
|
311
319
|
}
|
|
312
320
|
}, {
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -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.
|
|
107
|
+
version = '0.1.201';
|
|
108
108
|
}
|
|
109
109
|
if (basicLibraryVersion === void 0) {
|
|
110
110
|
basicLibraryVersion = {
|
|
@@ -135,7 +135,11 @@ var TeletextListMeta = {
|
|
|
135
135
|
extraProps: {
|
|
136
136
|
getValue: function getValue(target, value) {
|
|
137
137
|
var textLines = target.getProps().getPropValue('textLines');
|
|
138
|
-
|
|
138
|
+
var a = target === null || target === void 0 ? void 0 : target.getValue();
|
|
139
|
+
var b = target === null || target === void 0 ? void 0 : target.getPropValue('dataListBind');
|
|
140
|
+
var c = target === null || target === void 0 ? void 0 : target.getDefaultValue();
|
|
141
|
+
var d = target === null || target === void 0 ? void 0 : target.getExtraPropValue('dataListBind');
|
|
142
|
+
console.log('dataList getValue', target, value, a, b, c, d);
|
|
139
143
|
},
|
|
140
144
|
setValue: function setValue(target, value) {
|
|
141
145
|
console.log('dataList setValue', target, value);
|
|
@@ -279,7 +283,7 @@ var TeletextListMeta = {
|
|
|
279
283
|
},
|
|
280
284
|
extraProps: {
|
|
281
285
|
setValue: function setValue(target, value) {
|
|
282
|
-
var _target$node, _schema$children, _schema$children$filt
|
|
286
|
+
var _target$node, _schema$children, _schema$children$filt;
|
|
283
287
|
target.getProps().setPropValue('textLines', value);
|
|
284
288
|
//获取组件schema
|
|
285
289
|
var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
|
|
@@ -307,11 +311,15 @@ var TeletextListMeta = {
|
|
|
307
311
|
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);
|
|
308
312
|
});
|
|
309
313
|
}
|
|
310
|
-
var
|
|
314
|
+
var a = target === null || target === void 0 ? void 0 : target.getValue();
|
|
315
|
+
var b = target === null || target === void 0 ? void 0 : target.getPropValue('dataListBind');
|
|
316
|
+
var c = target === null || target === void 0 ? void 0 : target.getDefaultValue();
|
|
317
|
+
var d = target === null || target === void 0 ? void 0 : target.getExtraPropValue('dataListBind');
|
|
318
|
+
console.log('SettingField', a, b, c, d);
|
|
311
319
|
|
|
312
320
|
// 设置新的数据源绑定配置
|
|
313
321
|
// target.getProps().setPropValue('数据源绑定', dataSourceConfig)
|
|
314
|
-
console.log('文字行数', target, value, schema
|
|
322
|
+
console.log('文字行数', target, value, schema);
|
|
315
323
|
}
|
|
316
324
|
}
|
|
317
325
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dckj-npm/dc-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.201",
|
|
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.
|
|
109
|
+
"materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.201/build/lowcode/assets-prod.json"
|
|
110
110
|
},
|
|
111
111
|
"lcMeta": {
|
|
112
112
|
"type": "component"
|