|
|
@ -17706,7 +17706,7 @@ BI.shortcut("bi.text_node", BI.TextNode);/** |
|
|
|
BI.CodeEditor = BI.inherit(BI.Single, { |
|
|
|
BI.CodeEditor = BI.inherit(BI.Single, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
return $.extend(BI.CodeEditor.superclass._defaultConfig.apply(), { |
|
|
|
return $.extend(BI.CodeEditor.superclass._defaultConfig.apply(), { |
|
|
|
baseCls: 'bi-code-editor', |
|
|
|
baseCls: 'bi-code-editor bi-card', |
|
|
|
value: '', |
|
|
|
value: '', |
|
|
|
watermark: "" |
|
|
|
watermark: "" |
|
|
|
}); |
|
|
|
}); |
|
|
@ -17837,6 +17837,15 @@ BI.CodeEditor = BI.inherit(BI.Single, { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setStyle: function (style) { |
|
|
|
|
|
|
|
this.style = style; |
|
|
|
|
|
|
|
this.element.css(style); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getStyle: function () { |
|
|
|
|
|
|
|
return this.style; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
refresh: function () { |
|
|
|
refresh: function () { |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
BI.nextTick(function () { |
|
|
|
BI.nextTick(function () { |
|
|
|