@byteluck-fe/model-driven-controls 6.2.0-1-beta.1 → 6.2.0-1-beta.2
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.
|
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import TableLayoutControlProperty from './property';
|
|
89
|
+
import { DesignerRowControl } from '../Row';
|
|
89
90
|
var TableLayoutControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(TableLayoutControl, DesignerLayoutControl);
|
|
@@ -96,6 +97,11 @@ var TableLayoutControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
96
97
|
props
|
|
97
98
|
]), _define_property(_this, "props", void 0);
|
|
98
99
|
_this.props = new TableLayoutControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
100
|
+
var _props_children;
|
|
101
|
+
_this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
|
|
102
|
+
new DesignerRowControl(),
|
|
103
|
+
new DesignerRowControl()
|
|
104
|
+
];
|
|
99
105
|
return _this;
|
|
100
106
|
}
|
|
101
107
|
_create_class(TableLayoutControl, null, [
|
|
@@ -108,7 +114,7 @@ var TableLayoutControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
108
114
|
{
|
|
109
115
|
key: "controlIcon",
|
|
110
116
|
get: function get() {
|
|
111
|
-
return '
|
|
117
|
+
return 'iconliebiaoxuanze';
|
|
112
118
|
}
|
|
113
119
|
},
|
|
114
120
|
{
|
|
@@ -144,4 +150,4 @@ _define_property(TableLayoutControl, "setting", [
|
|
|
144
150
|
}
|
|
145
151
|
]);
|
|
146
152
|
export default TableLayoutControl;
|
|
147
|
-
export { TableLayoutControl as
|
|
153
|
+
export { TableLayoutControl as DesignerTableLayoutControl };
|