|
|
|
@ -18631,7 +18631,7 @@ _.extend(BI, {
|
|
|
|
|
providers[type] = new providerInjection[type](); |
|
|
|
|
} |
|
|
|
|
if (!providerInstance[type]) { |
|
|
|
|
providerInstance[type] = new providers[type].$get()(config); |
|
|
|
|
providerInstance[type] = new (providers[type].$get())(config); |
|
|
|
|
} |
|
|
|
|
return providerInstance[type]; |
|
|
|
|
} |
|
|
|
@ -53805,6 +53805,11 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
|
|
|
|
|
layouts: [{ |
|
|
|
|
type: "bi.vertical" |
|
|
|
|
}], |
|
|
|
|
behaviors: { |
|
|
|
|
redmark: function () { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
value: o.value |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -53823,7 +53828,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
|
populate: function (items, keyword) { |
|
|
|
|
BI.IconTextValueComboPopup.superclass.populate.apply(this, arguments); |
|
|
|
|
var o = this.options; |
|
|
|
|
items = BI.createItems(items, { |
|
|
|
@ -53833,7 +53838,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
|
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
|
iconWidth: o.iconWidth |
|
|
|
|
}); |
|
|
|
|
this.popup.populate(items); |
|
|
|
|
this.popup.populate(items, keyword); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
@ -53846,7 +53851,8 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
BI.IconTextValueComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
BI.shortcut("bi.icon_text_value_combo_popup", BI.IconTextValueComboPopup);/** |
|
|
|
|
BI.shortcut("bi.icon_text_value_combo_popup", BI.IconTextValueComboPopup); |
|
|
|
|
/** |
|
|
|
|
* Created by Windy on 2018/2/2. |
|
|
|
|
*/ |
|
|
|
|
BI.SearchTextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
@ -81478,6 +81484,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
|
|
|
|
|
} else { |
|
|
|
|
call(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function call() { |
|
|
|
|
switch (options.type) { |
|
|
|
|
case BI.TreeView.REQ_TYPE_INIT_DATA: |
|
|
|
@ -81706,7 +81713,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
function isSearchValueInParent(parentValues) { |
|
|
|
|
for (var i = 0, len = parentValues.length; i < len; i++) { |
|
|
|
|
if (self._isMatch(parentValues.slice(0, parentValues.length - 1), parentValues[i], keyword)) { |
|
|
|
|
if (self._isMatch(parentValues.slice(0, parentValues.length - 1 - i), parentValues[i], keyword)) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|