@byteluck-fe/model-driven-controls 7.0.0-props.13 → 7.0.0-props.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.
@@ -126,6 +126,10 @@ _define_property(DividerControl, "setting", [
126
126
  key: 'line-style',
127
127
  visible: true
128
128
  },
129
+ {
130
+ key: 'color',
131
+ visible: true
132
+ },
129
133
  {
130
134
  key: 'caption-style',
131
135
  showItems: [
@@ -161,6 +165,27 @@ _define_property(DividerControl, "setting", [
161
165
  }
162
166
  ]
163
167
  },
168
+ {
169
+ key: 'common-button-radio',
170
+ visible: true,
171
+ name: 'verticalPosition',
172
+ label: '文字垂直位置',
173
+ default: 'middle',
174
+ options: [
175
+ {
176
+ value: 'top',
177
+ label: '线上'
178
+ },
179
+ {
180
+ value: 'middle',
181
+ label: '线中'
182
+ },
183
+ {
184
+ value: 'bottom',
185
+ label: '线下'
186
+ }
187
+ ]
188
+ },
164
189
  // { key: 'color', visible: true },
165
190
  {
166
191
  key: 'common-setting',
@@ -79,10 +79,10 @@ var DividerProperty = /*#__PURE__*/ function(Property) {
79
79
  function DividerProperty(props) {
80
80
  _class_call_check(this, DividerProperty);
81
81
  var _this;
82
- var _ref, _ref1, _ref2, _ref3, _ref4;
82
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
83
83
  _this = _call_super(this, DividerProperty, [
84
84
  props
85
- ]), _define_property(_this, "color", void 0), _define_property(_this, "lineStyle", void 0), _define_property(_this, "content", void 0), _define_property(_this, "position", 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);
85
+ ]), _define_property(_this, "color", void 0), _define_property(_this, "lineStyle", void 0), _define_property(_this, "content", void 0), _define_property(_this, "position", 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, "verticalPosition", void 0);
86
86
  _this.color = (_ref = props === null || props === void 0 ? void 0 : props.color) !== null && _ref !== void 0 ? _ref : '#000';
87
87
  _this.lineStyle = (_ref1 = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _ref1 !== void 0 ? _ref1 : LINE_STYLE.SOLID;
88
88
  _this.content = (_ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref2 !== void 0 ? _ref2 : '';
@@ -91,6 +91,7 @@ var DividerProperty = /*#__PURE__*/ function(Property) {
91
91
  _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
92
92
  _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
93
93
  _this.captionFontWeight = (_ref4 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref4 !== void 0 ? _ref4 : FONT_WEIGHT.NORMAL;
94
+ _this.verticalPosition = (_ref5 = props === null || props === void 0 ? void 0 : props.verticalPosition) !== null && _ref5 !== void 0 ? _ref5 : 'middle';
94
95
  return _this;
95
96
  }
96
97
  return DividerProperty;