|
|
|
@ -83174,11 +83174,6 @@ BI.RichEditorTextToolbar = BI.inherit(BI.Widget, {
|
|
|
|
|
editor: o.editor |
|
|
|
|
}); |
|
|
|
|
})); |
|
|
|
|
this.element.mousedown(function (e) { |
|
|
|
|
BI.each(buttons, function (i, btn) { |
|
|
|
|
btn.hideIf(e); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
BI.createWidget({ |
|
|
|
|
type: "bi.left", |
|
|
|
|
element: this, |
|
|
|
@ -83300,6 +83295,10 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
|
|
|
|
|
return this.instance.getContent(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getContentHeight: function () { |
|
|
|
|
return this.instance.getContentHeight(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getInstance: function () { |
|
|
|
|
return this.instance; |
|
|
|
|
}, |
|
|
|
@ -83509,6 +83508,10 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
|
|
|
|
|
return this.content; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getContentHeight: function () { |
|
|
|
|
return this.elm.element.height(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setContent: function (e) { |
|
|
|
|
this.content = e; |
|
|
|
|
this.ne.fireEvent("set"); |
|
|
|
@ -84274,6 +84277,10 @@ BI.RichEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
|
return this.editor.getValue(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getContentHeight: function () { |
|
|
|
|
return this.editor.getContentHeight(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
BI.RichEditor.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; |
|
|
|
@ -112844,6 +112851,9 @@ BI.shortcut("bi.all_value_chooser_pane", BI.AllValueChooserPane);BI.AbstractTree
|
|
|
|
|
|
|
|
|
|
_isMatch: function (parentValues, value, keyword) { |
|
|
|
|
var node = this._getTreeNode(parentValues, value); |
|
|
|
|
if (!node) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
var find = BI.Func.getSearchResult([node.text || node.value], keyword); |
|
|
|
|
return find.find.length > 0 || find.match.length > 0; |
|
|
|
|
}, |
|
|
|
|