@dckj-npm/dc-material 0.1.207 → 0.1.208
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 +24 -0
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.js +21 -2
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.js +21 -2
- package/package.json +3 -3
|
@@ -159,6 +159,30 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
159
159
|
// const c = target?.getDefaultValue()
|
|
160
160
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
161
161
|
const setter = target.setter.props.attributes
|
|
162
|
+
target.setter.props.attributes = [
|
|
163
|
+
{
|
|
164
|
+
label: '图文数据',
|
|
165
|
+
value: 'dataList',
|
|
166
|
+
children: [
|
|
167
|
+
{
|
|
168
|
+
label: '图片链接',
|
|
169
|
+
value: 'image',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
label: '标题',
|
|
173
|
+
value: 'title',
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
label: '说明',
|
|
177
|
+
value: 'description',
|
|
178
|
+
},
|
|
179
|
+
...Array.from({ length: textLines }).map((_, index) => ({
|
|
180
|
+
label: `文本${index + 1}`,
|
|
181
|
+
value: `text${index + 1}`,
|
|
182
|
+
})),
|
|
183
|
+
],
|
|
184
|
+
},
|
|
185
|
+
]
|
|
162
186
|
console.log('dataList getValue', target, value, setter)
|
|
163
187
|
},
|
|
164
188
|
setValue: (target, value) => {
|
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.208';
|
|
103
103
|
}
|
|
104
104
|
if (basicLibraryVersion === void 0) {
|
|
105
105
|
basicLibraryVersion = {
|
|
@@ -135,6 +135,27 @@ var TeletextListMeta = {
|
|
|
135
135
|
// const c = target?.getDefaultValue()
|
|
136
136
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
137
137
|
var setter = target.setter.props.attributes;
|
|
138
|
+
target.setter.props.attributes = [{
|
|
139
|
+
label: '图文数据',
|
|
140
|
+
value: 'dataList',
|
|
141
|
+
children: [{
|
|
142
|
+
label: '图片链接',
|
|
143
|
+
value: 'image'
|
|
144
|
+
}, {
|
|
145
|
+
label: '标题',
|
|
146
|
+
value: 'title'
|
|
147
|
+
}, {
|
|
148
|
+
label: '说明',
|
|
149
|
+
value: 'description'
|
|
150
|
+
}].concat(Array.from({
|
|
151
|
+
length: textLines
|
|
152
|
+
}).map(function (_, index) {
|
|
153
|
+
return {
|
|
154
|
+
label: "\u6587\u672C" + (index + 1),
|
|
155
|
+
value: "text" + (index + 1)
|
|
156
|
+
};
|
|
157
|
+
}))
|
|
158
|
+
}];
|
|
138
159
|
console.log('dataList getValue', target, value, setter);
|
|
139
160
|
},
|
|
140
161
|
setValue: function setValue(target, value) {
|
|
@@ -311,8 +332,6 @@ var TeletextListMeta = {
|
|
|
311
332
|
// const b = target?.getPropValue('dataListBind')
|
|
312
333
|
// const c = target?.getDefaultValue()
|
|
313
334
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
314
|
-
var setter = target.setter.props.attributes;
|
|
315
|
-
console.log('SettingField', setter);
|
|
316
335
|
|
|
317
336
|
// 设置新的数据源绑定配置
|
|
318
337
|
// 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.208';
|
|
108
108
|
}
|
|
109
109
|
if (basicLibraryVersion === void 0) {
|
|
110
110
|
basicLibraryVersion = {
|
|
@@ -140,6 +140,27 @@ var TeletextListMeta = {
|
|
|
140
140
|
// const c = target?.getDefaultValue()
|
|
141
141
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
142
142
|
var setter = target.setter.props.attributes;
|
|
143
|
+
target.setter.props.attributes = [{
|
|
144
|
+
label: '图文数据',
|
|
145
|
+
value: 'dataList',
|
|
146
|
+
children: [{
|
|
147
|
+
label: '图片链接',
|
|
148
|
+
value: 'image'
|
|
149
|
+
}, {
|
|
150
|
+
label: '标题',
|
|
151
|
+
value: 'title'
|
|
152
|
+
}, {
|
|
153
|
+
label: '说明',
|
|
154
|
+
value: 'description'
|
|
155
|
+
}].concat(Array.from({
|
|
156
|
+
length: textLines
|
|
157
|
+
}).map(function (_, index) {
|
|
158
|
+
return {
|
|
159
|
+
label: "\u6587\u672C" + (index + 1),
|
|
160
|
+
value: "text" + (index + 1)
|
|
161
|
+
};
|
|
162
|
+
}))
|
|
163
|
+
}];
|
|
143
164
|
console.log('dataList getValue', target, value, setter);
|
|
144
165
|
},
|
|
145
166
|
setValue: function setValue(target, value) {
|
|
@@ -316,8 +337,6 @@ var TeletextListMeta = {
|
|
|
316
337
|
// const b = target?.getPropValue('dataListBind')
|
|
317
338
|
// const c = target?.getDefaultValue()
|
|
318
339
|
// const d = target?.getExtraPropValue('dataListBind')
|
|
319
|
-
var setter = target.setter.props.attributes;
|
|
320
|
-
console.log('SettingField', setter);
|
|
321
340
|
|
|
322
341
|
// 设置新的数据源绑定配置
|
|
323
342
|
// 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.208",
|
|
4
4
|
"description": "dc低代码物料",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -106,10 +106,10 @@
|
|
|
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.208/build/lowcode/assets-prod.json"
|
|
110
110
|
},
|
|
111
111
|
"lcMeta": {
|
|
112
112
|
"type": "component"
|
|
113
113
|
},
|
|
114
114
|
"homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.148/build/index.html"
|
|
115
|
-
}
|
|
115
|
+
}
|