@byteluck-fe/model-driven-controls 6.2.0-1-beta.12 → 6.2.0-1-beta.14
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 +7 -5
- package/dist/esm/formControls/DisplayText/designer.js +1 -1
- package/dist/esm/formControls/DisplayText/property.js +7 -5
- 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 -0
- package/dist/types/layoutControls/TableLayout/property.d.ts +1 -0
- package/package.json +5 -5
|
@@ -81,11 +81,11 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
81
81
|
_this = _call_super(this, TextProperty, [
|
|
82
82
|
props
|
|
83
83
|
]), // public dataBind: DataBind
|
|
84
|
-
_define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), /**
|
|
85
|
-
* ai 显示内容搜索 false | true
|
|
86
|
-
* @defaultValue false
|
|
87
|
-
* @public
|
|
88
|
-
*/ _define_property(_this, "aiContentSearch", void 0);
|
|
84
|
+
_define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), /**
|
|
85
|
+
* ai 显示内容搜索 false | true
|
|
86
|
+
* @defaultValue false
|
|
87
|
+
* @public
|
|
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;
|
|
@@ -103,7 +103,7 @@ var DisplayTextControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return getLocaleText('CMD.
|
|
106
|
+
return getLocaleText('CMD.diplayText', null, '展示文本');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -81,11 +81,11 @@ 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, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), /**
|
|
85
|
-
* ai 显示内容搜索 false | true
|
|
86
|
-
* @defaultValue false
|
|
87
|
-
* @public
|
|
88
|
-
*/ _define_property(_this, "aiContentSearch", void 0);
|
|
84
|
+
_define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), /**
|
|
85
|
+
* ai 显示内容搜索 false | true
|
|
86
|
+
* @defaultValue false
|
|
87
|
+
* @public
|
|
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 DisplayTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
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 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,
|