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