@dckj-npm/dc-material 0.1.203 → 0.1.205
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 +3 -1
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.js +4 -2
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.js +4 -2
- package/package.json +2 -2
|
@@ -158,6 +158,7 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
158
158
|
// const b = target?.getPropValue('dataListBind')
|
|
159
159
|
// const c = target?.getDefaultValue()
|
|
160
160
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
161
|
+
|
|
161
162
|
console.log('dataList getValue', target, value)
|
|
162
163
|
},
|
|
163
164
|
setValue: (target, value) => {
|
|
@@ -356,7 +357,8 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
356
357
|
// const b = target?.getPropValue('dataListBind')
|
|
357
358
|
// const c = target?.getDefaultValue()
|
|
358
359
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
359
|
-
|
|
360
|
+
const setter = target.setter.props.attributes
|
|
361
|
+
console.log('SettingField', setter)
|
|
360
362
|
|
|
361
363
|
// 设置新的数据源绑定配置
|
|
362
364
|
// target.getProps().setPropValue('数据源绑定', dataSourceConfig)
|
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.205';
|
|
103
103
|
}
|
|
104
104
|
if (basicLibraryVersion === void 0) {
|
|
105
105
|
basicLibraryVersion = {
|
|
@@ -134,6 +134,7 @@ var TeletextListMeta = {
|
|
|
134
134
|
// const b = target?.getPropValue('dataListBind')
|
|
135
135
|
// const c = target?.getDefaultValue()
|
|
136
136
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
137
|
+
|
|
137
138
|
console.log('dataList getValue', target, value);
|
|
138
139
|
},
|
|
139
140
|
setValue: function setValue(target, value) {
|
|
@@ -280,7 +281,7 @@ var TeletextListMeta = {
|
|
|
280
281
|
setValue: function setValue(target, value) {
|
|
281
282
|
var _target$node, _schema$children, _schema$children$filt;
|
|
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;
|
|
285
286
|
var currentLength = (schema === null || schema === void 0 ? void 0 : (_schema$children = schema.children) === null || _schema$children === void 0 ? void 0 : (_schema$children$filt = _schema$children.filter(function (child) {
|
|
286
287
|
var _child$props$key;
|
|
@@ -310,7 +311,8 @@ var TeletextListMeta = {
|
|
|
310
311
|
// const b = target?.getPropValue('dataListBind')
|
|
311
312
|
// const c = target?.getDefaultValue()
|
|
312
313
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
313
|
-
|
|
314
|
+
var setter = target.setter.props.attributes;
|
|
315
|
+
console.log('SettingField', setter);
|
|
314
316
|
|
|
315
317
|
// 设置新的数据源绑定配置
|
|
316
318
|
// target.getProps().setPropValue('数据源绑定', dataSourceConfig)
|
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.205';
|
|
108
108
|
}
|
|
109
109
|
if (basicLibraryVersion === void 0) {
|
|
110
110
|
basicLibraryVersion = {
|
|
@@ -139,6 +139,7 @@ var TeletextListMeta = {
|
|
|
139
139
|
// const b = target?.getPropValue('dataListBind')
|
|
140
140
|
// const c = target?.getDefaultValue()
|
|
141
141
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
142
|
+
|
|
142
143
|
console.log('dataList getValue', target, value);
|
|
143
144
|
},
|
|
144
145
|
setValue: function setValue(target, value) {
|
|
@@ -285,7 +286,7 @@ var TeletextListMeta = {
|
|
|
285
286
|
setValue: function setValue(target, value) {
|
|
286
287
|
var _target$node, _schema$children, _schema$children$filt;
|
|
287
288
|
target.getProps().setPropValue('textLines', value);
|
|
288
|
-
|
|
289
|
+
// 获取组件schema
|
|
289
290
|
var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
|
|
290
291
|
var currentLength = (schema === null || schema === void 0 ? void 0 : (_schema$children = schema.children) === null || _schema$children === void 0 ? void 0 : (_schema$children$filt = _schema$children.filter(function (child) {
|
|
291
292
|
var _child$props$key;
|
|
@@ -315,7 +316,8 @@ var TeletextListMeta = {
|
|
|
315
316
|
// const b = target?.getPropValue('dataListBind')
|
|
316
317
|
// const c = target?.getDefaultValue()
|
|
317
318
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
318
|
-
|
|
319
|
+
var setter = target.setter.props.attributes;
|
|
320
|
+
console.log('SettingField', setter);
|
|
319
321
|
|
|
320
322
|
// 设置新的数据源绑定配置
|
|
321
323
|
// 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.
|
|
3
|
+
"version": "0.1.205",
|
|
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.205/build/lowcode/assets-prod.json"
|
|
110
110
|
},
|
|
111
111
|
"lcMeta": {
|
|
112
112
|
"type": "component"
|