@byteluck-fe/model-driven-controls 7.0.0-props.64 → 7.0.0-props.66

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.
Files changed (47) hide show
  1. package/dist/esm/baseControls/Iframe/designer.js +2 -1
  2. package/dist/esm/baseControls/Text/designer.js +2 -1
  3. package/dist/esm/baseControls/Text/property.js +12 -10
  4. package/dist/esm/baseControls/Text/schema.json +17 -0
  5. package/dist/esm/formControls/Address/designer.js +2 -1
  6. package/dist/esm/formControls/Amount/designer.js +2 -1
  7. package/dist/esm/formControls/Attachment/designer.js +2 -1
  8. package/dist/esm/formControls/AutoNumber/designer.js +2 -1
  9. package/dist/esm/formControls/Calc/designer.js +2 -1
  10. package/dist/esm/formControls/Cascader/designer.js +2 -1
  11. package/dist/esm/formControls/Checkbox/designer.js +2 -1
  12. package/dist/esm/formControls/Counter/designer.js +2 -1
  13. package/dist/esm/formControls/DatePicker/designer.js +2 -1
  14. package/dist/esm/formControls/DateRange/designer.js +2 -1
  15. package/dist/esm/formControls/Department/designer.js +2 -1
  16. package/dist/esm/formControls/Department2/designer.js +2 -1
  17. package/dist/esm/formControls/ElectronicSignature/designer.js +2 -1
  18. package/dist/esm/formControls/Employee/designer.js +2 -1
  19. package/dist/esm/formControls/Employee2/designer.js +2 -1
  20. package/dist/esm/formControls/Image/designer.js +2 -1
  21. package/dist/esm/formControls/Input/designer.js +2 -1
  22. package/dist/esm/formControls/Number/designer.js +2 -1
  23. package/dist/esm/formControls/OrganizationSelection/designer.js +2 -1
  24. package/dist/esm/formControls/Radio/designer.js +2 -1
  25. package/dist/esm/formControls/RichText/designer.js +2 -1
  26. package/dist/esm/formControls/Score/designer.js +2 -1
  27. package/dist/esm/formControls/SearchDateRange/designer.js +2 -1
  28. package/dist/esm/formControls/SearchInput/designer.js +2 -1
  29. package/dist/esm/formControls/SearchNumberRange/designer.js +2 -1
  30. package/dist/esm/formControls/Select/designer.js +2 -1
  31. package/dist/esm/formControls/SelectMultiple/designer.js +2 -1
  32. package/dist/esm/formControls/SelectRelation/designer.js +2 -1
  33. package/dist/esm/formControls/Slider/designer.js +2 -1
  34. package/dist/esm/formControls/Tag/designer.js +1 -0
  35. package/dist/esm/formControls/Textarea/designer.js +2 -1
  36. package/dist/esm/formControls/TimePicker/designer.js +2 -1
  37. package/dist/esm/formControls/TimeRange/designer.js +2 -1
  38. package/dist/esm/formControls/Tree/designer.js +2 -1
  39. package/dist/esm/formControls/VueFormItem/designer.js +2 -1
  40. package/dist/esm/formControls/WPS/designer.js +2 -1
  41. package/dist/esm/layoutControls/BlankContainer/designer.js +2 -1
  42. package/dist/esm/layoutControls/BlankContainer/property.js +10 -5
  43. package/dist/esm/layoutControls/BlankContainer/schema.json +32 -0
  44. package/dist/index.umd.js +1 -1
  45. package/dist/types/baseControls/Text/property.d.ts +8 -0
  46. package/dist/types/layoutControls/BlankContainer/property.d.ts +29 -0
  47. package/package.json +4 -4
@@ -133,7 +133,8 @@ _define_property(IframeControl, "setting", [
133
133
  visible: true,
134
134
  name: 'width',
135
135
  label: '宽',
136
- min: 1
136
+ min: 1,
137
+ tip: '宽度设置在移动端不生效, 移动端默认宽度为100%'
137
138
  },
138
139
  {
139
140
  key: 'common-input-number',
@@ -138,7 +138,8 @@ _define_property(TextControl, "setting", [
138
138
  showItems: [
139
139
  COMMON_SETTING_TYPE.CAPTION_SIZE,
140
140
  COMMON_SETTING_TYPE.CAPTION_COLOR,
141
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
141
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
142
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
142
143
  ],
143
144
  visible: true
144
145
  },
@@ -75,38 +75,40 @@ function _is_native_reflect_construct() {
75
75
  * description: 文本说明组件。用于展示说明文字、图文信息或图片内容。支持内容、图标、对齐方式、展示形态、标题样式、AI 内容搜索、标签化展示、关闭配置和背景配置,适合提示说明与信息展示场景。
76
76
  */ import { getLocaleText } from '@byteluck-fe/locale-message';
77
77
  import { Property } from '@byteluck-fe/model-driven-core';
78
+ import { FONT_WEIGHT } from '../../framework';
78
79
  var TextProperty = /*#__PURE__*/ function(Property) {
79
80
  "use strict";
80
81
  _inherits(TextProperty, Property);
81
82
  function TextProperty(props) {
82
83
  _class_call_check(this, TextProperty);
83
84
  var _this;
84
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
85
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
85
86
  _this = _call_super(this, TextProperty, [
86
87
  props
87
88
  ]), // public dataBind: DataBind
88
89
  _define_property(_this, "content", void 0), // public fontSize: string
89
90
  // public color: string
90
- _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "isLabel", void 0), _define_property(_this, "close", void 0), _define_property(_this, "background", void 0);
91
+ _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "isLabel", void 0), _define_property(_this, "close", void 0), _define_property(_this, "background", void 0);
91
92
  // this.dataBind = new DataBind(props?.dataBind)
92
93
  // this.fontSize = props?.fontSize ?? '14px'
93
94
  // this.color = props?.color ?? '#646A73'
94
95
  _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
95
96
  _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
96
97
  _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
97
- _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'page-hint';
98
- _this.showState = (_ref1 = props === null || props === void 0 ? void 0 : props.showState) !== null && _ref1 !== void 0 ? _ref1 : 'text';
99
- _this.content = (_ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref2 !== void 0 ? _ref2 : getLocaleText('CMD.text', null, '说明文字');
100
- _this.align = (_ref3 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref3 !== void 0 ? _ref3 : '';
101
- _this.aiContentSearch = (_ref4 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref4 !== void 0 ? _ref4 : false;
102
- _this.isLabel = (_ref5 = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _ref5 !== void 0 ? _ref5 : false;
103
- _this.background = (_ref6 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref6 !== void 0 ? _ref6 : {
98
+ _this.captionFontWeight = (_ref = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref !== void 0 ? _ref : FONT_WEIGHT.NORMAL;
99
+ _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : 'page-hint';
100
+ _this.showState = (_ref2 = props === null || props === void 0 ? void 0 : props.showState) !== null && _ref2 !== void 0 ? _ref2 : 'text';
101
+ _this.content = (_ref3 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.text', null, '说明文字');
102
+ _this.align = (_ref4 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref4 !== void 0 ? _ref4 : '';
103
+ _this.aiContentSearch = (_ref5 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref5 !== void 0 ? _ref5 : false;
104
+ _this.isLabel = (_ref6 = props === null || props === void 0 ? void 0 : props.isLabel) !== null && _ref6 !== void 0 ? _ref6 : false;
105
+ _this.background = (_ref7 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref7 !== void 0 ? _ref7 : {
104
106
  type: 'backgroundColor',
105
107
  backgroundColor: '',
106
108
  backgroundImage: '',
107
109
  placementMode: 'contain'
108
110
  };
109
- _this.close = (_ref7 = props === null || props === void 0 ? void 0 : props.close) !== null && _ref7 !== void 0 ? _ref7 : {
111
+ _this.close = (_ref8 = props === null || props === void 0 ? void 0 : props.close) !== null && _ref8 !== void 0 ? _ref8 : {
110
112
  show: false,
111
113
  text: getLocaleText('CMD.closeText', null, '关闭')
112
114
  };
@@ -71,6 +71,23 @@
71
71
  "description": "标题斜体",
72
72
  "default": false
73
73
  },
74
+ "captionFontWeight": {
75
+ "type": "string",
76
+ "enum": [
77
+ "normal",
78
+ "bold",
79
+ "lighter",
80
+ "bolder"
81
+ ],
82
+ "description": "标题字重;",
83
+ "default": "normal",
84
+ "enumDescription": [
85
+ "常规",
86
+ "粗体",
87
+ "更细",
88
+ "更粗"
89
+ ]
90
+ },
74
91
  "aiContentSearch": {
75
92
  "type": "boolean",
76
93
  "description": "是否开启 AI 内容搜索",
@@ -141,7 +141,8 @@ _define_property(AddressControl, "setting", [
141
141
  showItems: [
142
142
  COMMON_SETTING_TYPE.CAPTION_SIZE,
143
143
  COMMON_SETTING_TYPE.CAPTION_COLOR,
144
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
144
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
145
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
145
146
  ],
146
147
  visible: true
147
148
  },
@@ -183,7 +183,8 @@ _define_property(AmountControl, "setting", [
183
183
  showItems: [
184
184
  COMMON_SETTING_TYPE.CAPTION_SIZE,
185
185
  COMMON_SETTING_TYPE.CAPTION_COLOR,
186
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
186
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
187
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
187
188
  ],
188
189
  visible: true
189
190
  },
@@ -145,7 +145,8 @@ _define_property(AttachmentControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -144,7 +144,8 @@ _define_property(AutoNumberControl, "setting", [
144
144
  showItems: [
145
145
  COMMON_SETTING_TYPE.CAPTION_SIZE,
146
146
  COMMON_SETTING_TYPE.CAPTION_COLOR,
147
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
147
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
148
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
148
149
  ],
149
150
  visible: true
150
151
  },
@@ -180,7 +180,8 @@ _define_property(CalcControl, "setting", [
180
180
  showItems: [
181
181
  COMMON_SETTING_TYPE.CAPTION_SIZE,
182
182
  COMMON_SETTING_TYPE.CAPTION_COLOR,
183
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
183
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
184
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
184
185
  ],
185
186
  visible: true
186
187
  },
@@ -210,7 +210,8 @@ _define_property(CascaderControl, "setting", [
210
210
  showItems: [
211
211
  COMMON_SETTING_TYPE.CAPTION_SIZE,
212
212
  COMMON_SETTING_TYPE.CAPTION_COLOR,
213
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
213
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
214
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
214
215
  ],
215
216
  visible: true
216
217
  },
@@ -149,7 +149,8 @@ _define_property(CheckboxControl, "setting", [
149
149
  showItems: [
150
150
  COMMON_SETTING_TYPE.CAPTION_SIZE,
151
151
  COMMON_SETTING_TYPE.CAPTION_COLOR,
152
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
152
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
153
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
153
154
  ],
154
155
  visible: true
155
156
  },
@@ -147,7 +147,8 @@ _define_property(CounterControl, "setting", [
147
147
  showItems: [
148
148
  COMMON_SETTING_TYPE.CAPTION_SIZE,
149
149
  COMMON_SETTING_TYPE.CAPTION_COLOR,
150
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
150
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
151
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
151
152
  ],
152
153
  visible: true
153
154
  },
@@ -181,7 +181,8 @@ _define_property(DatePickerControl, "setting", [
181
181
  showItems: [
182
182
  COMMON_SETTING_TYPE.CAPTION_SIZE,
183
183
  COMMON_SETTING_TYPE.CAPTION_COLOR,
184
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
184
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
185
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
185
186
  ],
186
187
  visible: true
187
188
  },
@@ -177,7 +177,8 @@ _define_property(DateRangeControl, "setting", [
177
177
  showItems: [
178
178
  COMMON_SETTING_TYPE.CAPTION_SIZE,
179
179
  COMMON_SETTING_TYPE.CAPTION_COLOR,
180
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
180
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
181
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
181
182
  ],
182
183
  visible: true
183
184
  },
@@ -174,7 +174,8 @@ _define_property(DepartmentControl, "setting", [
174
174
  showItems: [
175
175
  COMMON_SETTING_TYPE.CAPTION_SIZE,
176
176
  COMMON_SETTING_TYPE.CAPTION_COLOR,
177
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
177
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
178
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
178
179
  ],
179
180
  visible: true
180
181
  },
@@ -188,7 +188,8 @@ _define_property(Department2Control, "setting", [
188
188
  showItems: [
189
189
  COMMON_SETTING_TYPE.CAPTION_SIZE,
190
190
  COMMON_SETTING_TYPE.CAPTION_COLOR,
191
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
191
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
192
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
192
193
  ],
193
194
  visible: true
194
195
  },
@@ -145,7 +145,8 @@ _define_property(ElectronicSignatureControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -141,7 +141,8 @@ _define_property(EmployeeControl, "setting", [
141
141
  showItems: [
142
142
  COMMON_SETTING_TYPE.CAPTION_SIZE,
143
143
  COMMON_SETTING_TYPE.CAPTION_COLOR,
144
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
144
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
145
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
145
146
  ],
146
147
  visible: true
147
148
  },
@@ -159,7 +159,8 @@ _define_property(Employee2Control, "setting", [
159
159
  showItems: [
160
160
  COMMON_SETTING_TYPE.CAPTION_SIZE,
161
161
  COMMON_SETTING_TYPE.CAPTION_COLOR,
162
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
162
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
163
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
163
164
  ],
164
165
  visible: true
165
166
  },
@@ -148,7 +148,8 @@ _define_property(ImageControl, "setting", [
148
148
  showItems: [
149
149
  COMMON_SETTING_TYPE.CAPTION_SIZE,
150
150
  COMMON_SETTING_TYPE.CAPTION_COLOR,
151
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
151
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
152
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
152
153
  ],
153
154
  visible: true
154
155
  },
@@ -174,7 +174,8 @@ _define_property(InputControl, "setting", [
174
174
  showItems: [
175
175
  COMMON_SETTING_TYPE.CAPTION_SIZE,
176
176
  COMMON_SETTING_TYPE.CAPTION_COLOR,
177
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
177
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
178
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
178
179
  ],
179
180
  visible: true
180
181
  },
@@ -214,7 +214,8 @@ _define_property(NumberControl, "setting", [
214
214
  showItems: [
215
215
  COMMON_SETTING_TYPE.CAPTION_SIZE,
216
216
  COMMON_SETTING_TYPE.CAPTION_COLOR,
217
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
217
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
218
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
218
219
  ],
219
220
  visible: true
220
221
  },
@@ -193,7 +193,8 @@ _define_property(OrganizationSelectionControl, "setting", [
193
193
  showItems: [
194
194
  COMMON_SETTING_TYPE.CAPTION_SIZE,
195
195
  COMMON_SETTING_TYPE.CAPTION_COLOR,
196
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
196
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
197
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
197
198
  ],
198
199
  visible: true
199
200
  },
@@ -149,7 +149,8 @@ _define_property(RadioControl, "setting", [
149
149
  showItems: [
150
150
  COMMON_SETTING_TYPE.CAPTION_SIZE,
151
151
  COMMON_SETTING_TYPE.CAPTION_COLOR,
152
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
152
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
153
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
153
154
  ],
154
155
  visible: true
155
156
  },
@@ -173,7 +173,8 @@ _define_property(RichTextControl, "setting", [
173
173
  showItems: [
174
174
  COMMON_SETTING_TYPE.CAPTION_SIZE,
175
175
  COMMON_SETTING_TYPE.CAPTION_COLOR,
176
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
176
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
177
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
177
178
  ],
178
179
  visible: true
179
180
  },
@@ -214,7 +214,8 @@ _define_property(ScoreControl, "setting", [
214
214
  showItems: [
215
215
  COMMON_SETTING_TYPE.CAPTION_SIZE,
216
216
  COMMON_SETTING_TYPE.CAPTION_COLOR,
217
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
217
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
218
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
218
219
  ],
219
220
  visible: true
220
221
  },
@@ -145,7 +145,8 @@ _define_property(SearchDateRangeControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -138,7 +138,8 @@ _define_property(SearchInputControl, "setting", [
138
138
  showItems: [
139
139
  COMMON_SETTING_TYPE.CAPTION_SIZE,
140
140
  COMMON_SETTING_TYPE.CAPTION_COLOR,
141
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
141
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
142
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
142
143
  ],
143
144
  visible: true
144
145
  },
@@ -145,7 +145,8 @@ _define_property(SearchNumberRangeControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -145,7 +145,8 @@ _define_property(SelectControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -145,7 +145,8 @@ _define_property(SelectMultipleControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -180,7 +180,8 @@ _define_property(SelectRelationControl, "setting", [
180
180
  showItems: [
181
181
  COMMON_SETTING_TYPE.CAPTION_SIZE,
182
182
  COMMON_SETTING_TYPE.CAPTION_COLOR,
183
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
183
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
184
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
184
185
  ],
185
186
  visible: true
186
187
  },
@@ -145,7 +145,8 @@ _define_property(SliderControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -233,6 +233,7 @@ _define_property(TagControl, "setting", [
233
233
  COMMON_SETTING_TYPE.CAPTION_SIZE,
234
234
  COMMON_SETTING_TYPE.CAPTION_COLOR,
235
235
  COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
236
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT,
236
237
  COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
237
238
  ],
238
239
  visible: true
@@ -151,7 +151,8 @@ _define_property(TextareaControl, "setting", [
151
151
  showItems: [
152
152
  COMMON_SETTING_TYPE.CAPTION_SIZE,
153
153
  COMMON_SETTING_TYPE.CAPTION_COLOR,
154
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
154
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
155
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
155
156
  ],
156
157
  visible: true
157
158
  },
@@ -145,7 +145,8 @@ _define_property(TimePickerControl, "setting", [
145
145
  showItems: [
146
146
  COMMON_SETTING_TYPE.CAPTION_SIZE,
147
147
  COMMON_SETTING_TYPE.CAPTION_COLOR,
148
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
148
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
149
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
150
  ],
150
151
  visible: true
151
152
  },
@@ -141,7 +141,8 @@ _define_property(TimeRangeControl, "setting", [
141
141
  showItems: [
142
142
  COMMON_SETTING_TYPE.CAPTION_SIZE,
143
143
  COMMON_SETTING_TYPE.CAPTION_COLOR,
144
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
144
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
145
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
145
146
  ],
146
147
  visible: true
147
148
  },
@@ -163,7 +163,8 @@ _define_property(TreeControl, "setting", [
163
163
  showItems: [
164
164
  COMMON_SETTING_TYPE.CAPTION_SIZE,
165
165
  COMMON_SETTING_TYPE.CAPTION_COLOR,
166
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
166
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
167
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
167
168
  ],
168
169
  visible: true
169
170
  },
@@ -146,7 +146,8 @@ _define_property(VueFormItemControl, "setting", [
146
146
  showItems: [
147
147
  COMMON_SETTING_TYPE.CAPTION_SIZE,
148
148
  COMMON_SETTING_TYPE.CAPTION_COLOR,
149
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
149
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
150
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
150
151
  ],
151
152
  visible: true
152
153
  },
@@ -152,7 +152,8 @@ _define_property(WPSControl, "setting", [
152
152
  showItems: [
153
153
  COMMON_SETTING_TYPE.CAPTION_SIZE,
154
154
  COMMON_SETTING_TYPE.CAPTION_COLOR,
155
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
155
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
156
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
156
157
  ],
157
158
  visible: true
158
159
  },
@@ -135,7 +135,8 @@ _define_property(BlankContainerControl, "setting", [
135
135
  showItems: [
136
136
  COMMON_SETTING_TYPE.CAPTION_SIZE,
137
137
  COMMON_SETTING_TYPE.CAPTION_COLOR,
138
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
138
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
139
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
139
140
  ],
140
141
  visible: true
141
142
  },
@@ -74,6 +74,7 @@ function _is_native_reflect_construct() {
74
74
  })();
75
75
  }
76
76
  import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
+ import { FONT_WEIGHT } from '../../framework';
77
78
  var BlankContainerPropertyRules = /*#__PURE__*/ function(_LayoutControlProperty_Rules) {
78
79
  "use strict";
79
80
  _inherits(BlankContainerPropertyRules, _LayoutControlProperty_Rules);
@@ -95,14 +96,18 @@ var BlankContainerProperty = /*#__PURE__*/ function(LayoutControlProperty) {
95
96
  function BlankContainerProperty(props) {
96
97
  _class_call_check(this, BlankContainerProperty);
97
98
  var _this;
98
- var _ref, _ref1, _ref2, _ref3;
99
+ var _ref, _ref1, _ref2, _ref3, _ref4;
99
100
  _this = _call_super(this, BlankContainerProperty, [
100
101
  props
101
- ]), _define_property(_this, "caption", void 0), _define_property(_this, "position", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "showShadow", void 0);
102
+ ]), _define_property(_this, "caption", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "position", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "showShadow", void 0);
102
103
  _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '空白容器';
103
- _this.position = (_ref1 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref1 !== void 0 ? _ref1 : 'left';
104
- _this.backgroundColor = (_ref2 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref2 !== void 0 ? _ref2 : '';
105
- _this.showShadow = (_ref3 = props === null || props === void 0 ? void 0 : props.showShadow) !== null && _ref3 !== void 0 ? _ref3 : false;
104
+ _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
105
+ _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
106
+ _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
107
+ _this.captionFontWeight = (_ref1 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref1 !== void 0 ? _ref1 : FONT_WEIGHT.NORMAL;
108
+ _this.position = (_ref2 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref2 !== void 0 ? _ref2 : 'left';
109
+ _this.backgroundColor = (_ref3 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref3 !== void 0 ? _ref3 : '#ffffff';
110
+ _this.showShadow = (_ref4 = props === null || props === void 0 ? void 0 : props.showShadow) !== null && _ref4 !== void 0 ? _ref4 : false;
106
111
  return _this;
107
112
  }
108
113
  return BlankContainerProperty;
@@ -26,6 +26,38 @@
26
26
  "readonly"
27
27
  ]
28
28
  },
29
+ "captionSize": {
30
+ "type": "string",
31
+ "description": "标题大小",
32
+ "default": ""
33
+ },
34
+ "captionColor": {
35
+ "type": "string",
36
+ "description": "标题颜色",
37
+ "default": ""
38
+ },
39
+ "isCaptionItalic": {
40
+ "type": "boolean",
41
+ "description": "标题斜体",
42
+ "default": false
43
+ },
44
+ "captionFontWeight": {
45
+ "type": "string",
46
+ "enum": [
47
+ "normal",
48
+ "bold",
49
+ "lighter",
50
+ "bolder"
51
+ ],
52
+ "description": "标题字重;",
53
+ "default": "normal",
54
+ "enumDescription": [
55
+ "常规",
56
+ "粗体",
57
+ "更细",
58
+ "更粗"
59
+ ]
60
+ },
29
61
  "position": {
30
62
  "type": "string",
31
63
  "enum": [