@dckj-npm/dc-material 0.1.196 → 0.1.197
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 +2 -10
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.js +2 -13
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.js +2 -13
- package/package.json +2 -2
|
@@ -153,18 +153,10 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
153
153
|
extraProps: {
|
|
154
154
|
getValue(target, value) {
|
|
155
155
|
const textLines = target.getProps().getPropValue('textLines')
|
|
156
|
-
console.log('dataList', target, value)
|
|
157
|
-
return [
|
|
158
|
-
{ label: '图片链接', value: 'image' },
|
|
159
|
-
// 根据实际的 textLines 动态生成文本字段
|
|
160
|
-
...Array.from({ length: textLines }).map((_, index) => ({
|
|
161
|
-
label: `文本${index + 1}`,
|
|
162
|
-
value: `text${index + 1}`,
|
|
163
|
-
})),
|
|
164
|
-
]
|
|
156
|
+
console.log('dataList getValue', target, value)
|
|
165
157
|
},
|
|
166
158
|
setValue: (target, value) => {
|
|
167
|
-
console.log('dataList', target, value)
|
|
159
|
+
console.log('dataList setValue', target, value)
|
|
168
160
|
},
|
|
169
161
|
},
|
|
170
162
|
},
|
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.197';
|
|
103
103
|
}
|
|
104
104
|
if (basicLibraryVersion === void 0) {
|
|
105
105
|
basicLibraryVersion = {
|
|
@@ -129,21 +129,10 @@ var TeletextListMeta = {
|
|
|
129
129
|
extraProps: {
|
|
130
130
|
getValue: function getValue(target, value) {
|
|
131
131
|
var textLines = target.getProps().getPropValue('textLines');
|
|
132
|
-
console.log('dataList', target, value);
|
|
133
|
-
return [{
|
|
134
|
-
label: '图片链接',
|
|
135
|
-
value: 'image'
|
|
136
|
-
}].concat(Array.from({
|
|
137
|
-
length: textLines
|
|
138
|
-
}).map(function (_, index) {
|
|
139
|
-
return {
|
|
140
|
-
label: "\u6587\u672C" + (index + 1),
|
|
141
|
-
value: "text" + (index + 1)
|
|
142
|
-
};
|
|
143
|
-
}));
|
|
132
|
+
console.log('dataList getValue', target, value);
|
|
144
133
|
},
|
|
145
134
|
setValue: function setValue(target, value) {
|
|
146
|
-
console.log('dataList', target, value);
|
|
135
|
+
console.log('dataList setValue', target, value);
|
|
147
136
|
}
|
|
148
137
|
}
|
|
149
138
|
}, {
|
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.197';
|
|
108
108
|
}
|
|
109
109
|
if (basicLibraryVersion === void 0) {
|
|
110
110
|
basicLibraryVersion = {
|
|
@@ -134,21 +134,10 @@ var TeletextListMeta = {
|
|
|
134
134
|
extraProps: {
|
|
135
135
|
getValue: function getValue(target, value) {
|
|
136
136
|
var textLines = target.getProps().getPropValue('textLines');
|
|
137
|
-
console.log('dataList', target, value);
|
|
138
|
-
return [{
|
|
139
|
-
label: '图片链接',
|
|
140
|
-
value: 'image'
|
|
141
|
-
}].concat(Array.from({
|
|
142
|
-
length: textLines
|
|
143
|
-
}).map(function (_, index) {
|
|
144
|
-
return {
|
|
145
|
-
label: "\u6587\u672C" + (index + 1),
|
|
146
|
-
value: "text" + (index + 1)
|
|
147
|
-
};
|
|
148
|
-
}));
|
|
137
|
+
console.log('dataList getValue', target, value);
|
|
149
138
|
},
|
|
150
139
|
setValue: function setValue(target, value) {
|
|
151
|
-
console.log('dataList', target, value);
|
|
140
|
+
console.log('dataList setValue', target, value);
|
|
152
141
|
}
|
|
153
142
|
}
|
|
154
143
|
}, {
|
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.197",
|
|
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.197/build/lowcode/assets-prod.json"
|
|
110
110
|
},
|
|
111
111
|
"lcMeta": {
|
|
112
112
|
"type": "component"
|