@byteluck-fe/model-driven-controls 6.2.0-cyj.2 → 6.2.0-cyj.4
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.
|
@@ -121,6 +121,13 @@ _define_property(LinkControl, "setting", [
|
|
|
121
121
|
key: 'data-bind',
|
|
122
122
|
visible: true
|
|
123
123
|
},
|
|
124
|
+
{
|
|
125
|
+
key: 'caption',
|
|
126
|
+
showItems: [
|
|
127
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
128
|
+
],
|
|
129
|
+
visible: false
|
|
130
|
+
},
|
|
124
131
|
{
|
|
125
132
|
key: 'content',
|
|
126
133
|
visible: true
|
|
@@ -73,10 +73,11 @@ var LinkProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
73
73
|
var _ref, _ref1, _ref2;
|
|
74
74
|
_this = _call_super(this, LinkProperty, [
|
|
75
75
|
props
|
|
76
|
-
]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0);
|
|
76
|
+
]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0), _define_property(_this, "isHideCaption", void 0);
|
|
77
77
|
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
|
|
78
78
|
_this.url = (_ref1 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
79
79
|
_this.openMode = (_ref2 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref2 !== void 0 ? _ref2 : 'new';
|
|
80
|
+
_this.isHideCaption = true;
|
|
80
81
|
return _this;
|
|
81
82
|
}
|
|
82
83
|
return LinkProperty;
|