|
|
|
@ -19,7 +19,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
if (o.itemsCreator === BI.emptyFn) { |
|
|
|
|
this._initData(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
type: "bi.horizontal_fill", |
|
|
|
|
items: [ |
|
|
|
@ -103,7 +103,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
}, |
|
|
|
|
width: "fill", |
|
|
|
|
rgap: 24 |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
@ -181,15 +181,11 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
return o.valueFormatter(v); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (o.itemsCreator === BI.emptyFn) { |
|
|
|
|
var result = BI.find(o.items, function (i, item) { |
|
|
|
|
return item.value === v; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return BI.isNotNull(result) ? result.text : o.text; |
|
|
|
|
} |
|
|
|
|
var result = BI.find(o.items, function (i, item) { |
|
|
|
|
return item.value === v; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return v; |
|
|
|
|
return BI.isNotNull(result) ? result.text : (o.text ?? v); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_getShowText: function () { |
|
|
|
|