@byteluck-fe/model-driven-controls 6.2.0-1-beta.13 → 6.2.0-1-beta.15
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/dist/esm/baseControls/Text/property.js +3 -1
- package/dist/esm/formControls/DisplayText/designer.js +0 -8
- package/dist/esm/formControls/DisplayText/property.js +6 -8
- package/dist/esm/layoutControls/TableLayout/designer.js +4 -0
- package/dist/esm/layoutControls/TableLayout/property.js +4 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Text/property.d.ts +1 -0
- package/dist/types/formControls/DisplayText/property.d.ts +1 -2
- package/dist/types/layoutControls/TableLayout/property.d.ts +1 -0
- package/package.json +2 -2
|
@@ -85,7 +85,7 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
85
85
|
* ai 显示内容搜索 false | true
|
|
86
86
|
* @defaultValue false
|
|
87
87
|
* @public
|
|
88
|
-
*/ _define_property(_this, "aiContentSearch", void 0);
|
|
88
|
+
*/ _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "isLabel", void 0);
|
|
89
89
|
var _props_fontSize;
|
|
90
90
|
// this.dataBind = new DataBind(props?.dataBind)
|
|
91
91
|
_this.fontSize = (_props_fontSize = props === null || props === void 0 ? void 0 : props.fontSize) !== null && _props_fontSize !== void 0 ? _props_fontSize : '14px';
|
|
@@ -101,6 +101,8 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
101
101
|
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
102
102
|
var _props_aiContentSearch;
|
|
103
103
|
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
104
|
+
var _props_isLabel;
|
|
105
|
+
_this.isLabel = (_props_isLabel = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _props_isLabel !== void 0 ? _props_isLabel : false;
|
|
104
106
|
return _this;
|
|
105
107
|
}
|
|
106
108
|
return TextProperty;
|
|
@@ -130,10 +130,6 @@ _define_property(DisplayTextControl, "setting", [
|
|
|
130
130
|
key: 'content',
|
|
131
131
|
visible: true
|
|
132
132
|
},
|
|
133
|
-
{
|
|
134
|
-
key: 'text-font-size',
|
|
135
|
-
visible: true
|
|
136
|
-
},
|
|
137
133
|
{
|
|
138
134
|
key: 'common-setting',
|
|
139
135
|
visible: true,
|
|
@@ -154,10 +150,6 @@ _define_property(DisplayTextControl, "setting", [
|
|
|
154
150
|
key: 'ai-content-search',
|
|
155
151
|
visible: true
|
|
156
152
|
},
|
|
157
|
-
{
|
|
158
|
-
key: 'text-color',
|
|
159
|
-
visible: true
|
|
160
|
-
},
|
|
161
153
|
{
|
|
162
154
|
key: 'text-align',
|
|
163
155
|
visible: true
|
|
@@ -81,26 +81,24 @@ var DisplayTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
81
81
|
_this = _call_super(this, DisplayTextProperty, [
|
|
82
82
|
props
|
|
83
83
|
]), // public dataBind: DataBind
|
|
84
|
-
_define_property(_this, "content", void 0), _define_property(_this, "
|
|
84
|
+
_define_property(_this, "content", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), /**
|
|
85
85
|
* ai 显示内容搜索 false | true
|
|
86
86
|
* @defaultValue false
|
|
87
87
|
* @public
|
|
88
|
-
*/ _define_property(_this, "aiContentSearch", void 0);
|
|
89
|
-
var _props_fontSize;
|
|
90
|
-
// this.dataBind = new DataBind(props?.dataBind)
|
|
91
|
-
_this.fontSize = (_props_fontSize = props === null || props === void 0 ? void 0 : props.fontSize) !== null && _props_fontSize !== void 0 ? _props_fontSize : '14px';
|
|
92
|
-
var _props_color;
|
|
93
|
-
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '#646A73';
|
|
88
|
+
*/ _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "isLabel", void 0);
|
|
94
89
|
var _props_icon;
|
|
90
|
+
// this.dataBind = new DataBind(props?.dataBind)
|
|
95
91
|
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'page-hint';
|
|
96
92
|
var _props_showState;
|
|
97
93
|
_this.showState = (_props_showState = props === null || props === void 0 ? void 0 : props.showState) !== null && _props_showState !== void 0 ? _props_showState : 'text';
|
|
98
94
|
var _props_content;
|
|
99
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.
|
|
95
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.displayText', null, '展示文字');
|
|
100
96
|
var _props_align;
|
|
101
97
|
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
102
98
|
var _props_aiContentSearch;
|
|
103
99
|
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
100
|
+
var _props_isLabel;
|
|
101
|
+
_this.isLabel = (_props_isLabel = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _props_isLabel !== void 0 ? _props_isLabel : false;
|
|
104
102
|
return _this;
|
|
105
103
|
}
|
|
106
104
|
return DisplayTextProperty;
|
|
@@ -85,7 +85,8 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
85
85
|
), _define_property(_this, "colWidthType", void 0 //列宽分配, average 平均分配,custom为自定义分配
|
|
86
86
|
), _define_property(_this, "colWidth", void 0 //列宽分配以冒号分割, 12:12为自定义分配
|
|
87
87
|
), _define_property(_this, "labelWidth", void 0 // label宽度
|
|
88
|
-
), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "border", void 0), _define_property(_this, "background", void 0), _define_property(_this, "borderRadius", void 0)
|
|
88
|
+
), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "border", void 0), _define_property(_this, "background", void 0), _define_property(_this, "borderRadius", void 0), _define_property(_this, "align", void 0 //内容对齐方式
|
|
89
|
+
);
|
|
89
90
|
var _props_rowCount;
|
|
90
91
|
_this.rowCount = (_props_rowCount = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _props_rowCount !== void 0 ? _props_rowCount : 2;
|
|
91
92
|
var _props_colCount;
|
|
@@ -98,6 +99,8 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
98
99
|
_this.colWidth = (_props_colWidth = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _props_colWidth !== void 0 ? _props_colWidth : '12:12';
|
|
99
100
|
var _props_labelWidth;
|
|
100
101
|
_this.labelWidth = (_props_labelWidth = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _props_labelWidth !== void 0 ? _props_labelWidth : '';
|
|
102
|
+
var _props_align;
|
|
103
|
+
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
101
104
|
var _props_padding;
|
|
102
105
|
_this.padding = (_props_padding = props === null || props === void 0 ? void 0 : props.padding) !== null && _props_padding !== void 0 ? _props_padding : {
|
|
103
106
|
paddingTop: 0,
|