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

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.
@@ -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',
@@ -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 : '';
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": [