|
|
@ -17,6 +17,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
valueFormatter: BI.emptyFn, |
|
|
|
valueFormatter: BI.emptyFn, |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
|
|
|
|
itemHeight: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, |
|
|
|
onLoaded: BI.emptyFn |
|
|
|
onLoaded: BI.emptyFn |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -34,6 +35,12 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.select_list", |
|
|
|
type: "bi.select_list", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
logic: opts.logic, |
|
|
|
logic: opts.logic, |
|
|
|
|
|
|
|
toolbar: { |
|
|
|
|
|
|
|
type: "bi.multi_select_bar", |
|
|
|
|
|
|
|
cls: "bi-list-item-active", |
|
|
|
|
|
|
|
height: this.options.itemHeight, |
|
|
|
|
|
|
|
iconWrapperWidth: 36 |
|
|
|
|
|
|
|
}, |
|
|
|
el: BI.extend({ |
|
|
|
el: BI.extend({ |
|
|
|
onLoaded: opts.onLoaded, |
|
|
|
onLoaded: opts.onLoaded, |
|
|
|
el: { |
|
|
|
el: { |
|
|
@ -112,7 +119,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.multi_select_item", |
|
|
|
type: "bi.multi_select_item", |
|
|
|
logic: this.options.logic, |
|
|
|
logic: this.options.logic, |
|
|
|
cls: "bi-list-item-active", |
|
|
|
cls: "bi-list-item-active", |
|
|
|
height: 24, |
|
|
|
height: this.options.itemHeight, |
|
|
|
selected: this.isAllSelected(), |
|
|
|
selected: this.isAllSelected(), |
|
|
|
iconWrapperWidth: 36 |
|
|
|
iconWrapperWidth: 36 |
|
|
|
}); |
|
|
|
}); |
|
|
|