@byteluck-fe/model-driven-controls 6.2.0-1-beta.14 → 6.2.0-1-beta.16

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.
@@ -126,10 +126,6 @@ _define_property(TextControl, "setting", [
126
126
  key: 'content',
127
127
  visible: true
128
128
  },
129
- {
130
- key: 'text-font-size',
131
- visible: true
132
- },
133
129
  {
134
130
  key: 'common-setting',
135
131
  visible: true,
@@ -138,11 +134,16 @@ _define_property(TextControl, "setting", [
138
134
  ]
139
135
  },
140
136
  {
141
- key: 'ai-content-search',
137
+ key: 'caption-style',
138
+ showItems: [
139
+ COMMON_SETTING_TYPE.CAPTION_SIZE,
140
+ COMMON_SETTING_TYPE.CAPTION_COLOR,
141
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
142
+ ],
142
143
  visible: true
143
144
  },
144
145
  {
145
- key: 'text-color',
146
+ key: 'ai-content-search',
146
147
  visible: true
147
148
  },
148
149
  {
@@ -81,16 +81,31 @@ 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
84
+ _define_property(_this, "content", void 0), // public fontSize: string
85
+ // public color: string
86
+ _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), /**
87
+ * 标题大小
88
+ * @defaultValue ''
89
+ * @public
90
+ */ _define_property(_this, "captionSize", void 0), /**
91
+ * 标题颜色
92
+ * @defaultValue ''
93
+ * @public
94
+ */ _define_property(_this, "captionColor", void 0), /**
95
+ * 标题斜体
96
+ * @defaultValue false
97
+ * @public
98
+ */ _define_property(_this, "isCaptionItalic", void 0), /**
99
+ * ai 显示内容搜索 false | true
100
+ * @defaultValue false
101
+ * @public
88
102
  */ _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "isLabel", void 0);
89
- var _props_fontSize;
90
103
  // 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';
104
+ // this.fontSize = props?.fontSize ?? '14px'
105
+ // this.color = props?.color ?? '#646A73'
106
+ _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
107
+ _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
108
+ _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
94
109
  var _props_icon;
95
110
  _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'page-hint';
96
111
  var _props_showState;
@@ -6,7 +6,6 @@ export { default as DatePicker } from './DatePicker';
6
6
  export { default as DateRange } from './DateRange';
7
7
  export { default as Textarea } from './Textarea';
8
8
  export { default as RichText } from './RichText';
9
- export { default as DisplayText } from './DisplayText';
10
9
  export { default as Select } from './Select';
11
10
  export { default as SelectMultiple } from './SelectMultiple';
12
11
  export { default as Employee } from './Employee';
@@ -150,6 +150,10 @@ _define_property(TableLayoutControl, "setting", [
150
150
  key: 'dynamic-border',
151
151
  visible: true
152
152
  },
153
+ {
154
+ key: 'inner-border',
155
+ visible: true
156
+ },
153
157
  {
154
158
  key: 'dynamic-border-radius',
155
159
  visible: true
@@ -86,6 +86,7 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
86
86
  ), _define_property(_this, "colWidth", void 0 //列宽分配以冒号分割, 12:12为自定义分配
87
87
  ), _define_property(_this, "labelWidth", void 0 // label宽度
88
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
+ ), _define_property(_this, "innerBorder", void 0 //表格内边框
89
90
  );
90
91
  var _props_rowCount;
91
92
  _this.rowCount = (_props_rowCount = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _props_rowCount !== void 0 ? _props_rowCount : 2;
@@ -122,7 +123,7 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
122
123
  borderLeft: false,
123
124
  borderRight: false,
124
125
  borderWidth: 1,
125
- borderColor: '#e8eaed',
126
+ borderColor: '',
126
127
  borderType: 'solid'
127
128
  };
128
129
  var _props_borderRadius;
@@ -139,6 +140,12 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
139
140
  backgroundImage: '',
140
141
  placementMode: 'contain'
141
142
  };
143
+ var _props_innerBorder;
144
+ _this.innerBorder = (_props_innerBorder = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _props_innerBorder !== void 0 ? _props_innerBorder : {
145
+ borderWidth: 1,
146
+ borderColor: '',
147
+ borderType: 'solid'
148
+ };
142
149
  return _this;
143
150
  }
144
151
  return TableLayoutControlProperty;
@@ -144,6 +144,10 @@ _define_property(TableLayoutColControl, "setting", [
144
144
  {
145
145
  key: 'flex-config',
146
146
  visible: true
147
+ },
148
+ {
149
+ key: 'dynamic-background',
150
+ visible: true
147
151
  }
148
152
  ]);
149
153
  export default TableLayoutColControl;
@@ -86,7 +86,7 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
86
86
  _define_property(_this, "layout", void 0), //主轴方向
87
87
  _define_property(_this, "flexDirection", void 0), // 侧轴对齐方式
88
88
  _define_property(_this, "alignItems", void 0), // 主轴对齐方式
89
- _define_property(_this, "justifyContent", void 0);
89
+ _define_property(_this, "justifyContent", void 0), _define_property(_this, "background", void 0);
90
90
  var _props_span;
91
91
  _this.span = (_props_span = props === null || props === void 0 ? void 0 : props.span) !== null && _props_span !== void 0 ? _props_span : BASE_SPAN;
92
92
  var _props_offset;
@@ -103,6 +103,13 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
103
103
  _this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
104
104
  var _props_justifyContent;
105
105
  _this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
106
+ var _props_background;
107
+ _this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
108
+ type: 'backgroundColor',
109
+ backgroundColor: 'transparent',
110
+ backgroundImage: '',
111
+ placementMode: 'contain'
112
+ };
106
113
  return _this;
107
114
  }
108
115
  return TableLayoutColControlProperty;