@dckj-npm/dc-material 0.1.191 → 0.1.192
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 +6 -4
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.js +5 -3
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.js +5 -3
- package/package.json +2 -2
|
@@ -325,7 +325,9 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
325
325
|
extraProps: {
|
|
326
326
|
setValue(target, value) {
|
|
327
327
|
target.getProps().setPropValue('textLines', value)
|
|
328
|
-
|
|
328
|
+
const schema = target?.node?.schema
|
|
329
|
+
|
|
330
|
+
console.log('文字行数', target, value, schema)
|
|
329
331
|
},
|
|
330
332
|
},
|
|
331
333
|
},
|
|
@@ -584,8 +586,8 @@ const getSnippets = (textLines = 2): IPublicTypeSnippet[] => [
|
|
|
584
586
|
export default {
|
|
585
587
|
...TeletextListMeta,
|
|
586
588
|
snippets: getSnippets(
|
|
587
|
-
(TeletextListMeta.configure as IPublicTypeConfigure).props
|
|
588
|
-
(prop) => prop.name === 'textLines'
|
|
589
|
-
|
|
589
|
+
(TeletextListMeta.configure as IPublicTypeConfigure).props
|
|
590
|
+
?.find((prop) => prop.name === 'textLines')
|
|
591
|
+
?.setter?.getValue?.() || 2,
|
|
590
592
|
),
|
|
591
593
|
}
|
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.192';
|
|
103
103
|
}
|
|
104
104
|
if (basicLibraryVersion === void 0) {
|
|
105
105
|
basicLibraryVersion = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
var _props, _props$find, _props$find$setter;
|
|
2
|
+
var _props, _props$find, _props$find$setter, _props$find$setter$ge;
|
|
3
3
|
var TeletextListMeta = {
|
|
4
4
|
group: '低代码组件',
|
|
5
5
|
componentName: 'TeletextList',
|
|
@@ -284,8 +284,10 @@ var TeletextListMeta = {
|
|
|
284
284
|
},
|
|
285
285
|
extraProps: {
|
|
286
286
|
setValue: function setValue(target, value) {
|
|
287
|
+
var _target$node;
|
|
287
288
|
target.getProps().setPropValue('textLines', value);
|
|
288
|
-
|
|
289
|
+
var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
|
|
290
|
+
console.log('文字行数', target, value, schema);
|
|
289
291
|
}
|
|
290
292
|
}
|
|
291
293
|
}, {
|
|
@@ -507,5 +509,5 @@ var getSnippets = function getSnippets(textLines) {
|
|
|
507
509
|
export default _extends({}, TeletextListMeta, {
|
|
508
510
|
snippets: getSnippets(((_props = TeletextListMeta.configure.props) === null || _props === void 0 ? void 0 : (_props$find = _props.find(function (prop) {
|
|
509
511
|
return prop.name === 'textLines';
|
|
510
|
-
})) === null || _props$find === void 0 ? void 0 : (_props$find$setter = _props$find.setter) === null || _props$find$setter === void 0 ? void 0 : _props$find$setter.
|
|
512
|
+
})) === null || _props$find === void 0 ? void 0 : (_props$find$setter = _props$find.setter) === null || _props$find$setter === void 0 ? void 0 : (_props$find$setter$ge = _props$find$setter.getValue) === null || _props$find$setter$ge === void 0 ? void 0 : _props$find$setter$ge.call(_props$find$setter)) || 2)
|
|
511
513
|
});
|
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.192';
|
|
108
108
|
}
|
|
109
109
|
if (basicLibraryVersion === void 0) {
|
|
110
110
|
basicLibraryVersion = {
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
-
var _props, _props$find, _props$find$setter;
|
|
7
|
+
var _props, _props$find, _props$find$setter, _props$find$setter$ge;
|
|
8
8
|
var TeletextListMeta = {
|
|
9
9
|
group: '低代码组件',
|
|
10
10
|
componentName: 'TeletextList',
|
|
@@ -289,8 +289,10 @@ var TeletextListMeta = {
|
|
|
289
289
|
},
|
|
290
290
|
extraProps: {
|
|
291
291
|
setValue: function setValue(target, value) {
|
|
292
|
+
var _target$node;
|
|
292
293
|
target.getProps().setPropValue('textLines', value);
|
|
293
|
-
|
|
294
|
+
var schema = target === null || target === void 0 ? void 0 : (_target$node = target.node) === null || _target$node === void 0 ? void 0 : _target$node.schema;
|
|
295
|
+
console.log('文字行数', target, value, schema);
|
|
294
296
|
}
|
|
295
297
|
}
|
|
296
298
|
}, {
|
|
@@ -512,5 +514,5 @@ var getSnippets = function getSnippets(textLines) {
|
|
|
512
514
|
var _default = exports["default"] = (0, _extends2["default"])({}, TeletextListMeta, {
|
|
513
515
|
snippets: getSnippets(((_props = TeletextListMeta.configure.props) === null || _props === void 0 ? void 0 : (_props$find = _props.find(function (prop) {
|
|
514
516
|
return prop.name === 'textLines';
|
|
515
|
-
})) === null || _props$find === void 0 ? void 0 : (_props$find$setter = _props$find.setter) === null || _props$find$setter === void 0 ? void 0 : _props$find$setter.
|
|
517
|
+
})) === null || _props$find === void 0 ? void 0 : (_props$find$setter = _props$find.setter) === null || _props$find$setter === void 0 ? void 0 : (_props$find$setter$ge = _props$find$setter.getValue) === null || _props$find$setter$ge === void 0 ? void 0 : _props$find$setter$ge.call(_props$find$setter)) || 2)
|
|
516
518
|
});
|
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.192",
|
|
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.192/build/lowcode/assets-prod.json"
|
|
110
110
|
},
|
|
111
111
|
"lcMeta": {
|
|
112
112
|
"type": "component"
|