|
|
@ -16,7 +16,8 @@ import { |
|
|
|
isFunction, |
|
|
|
isFunction, |
|
|
|
makeObject, |
|
|
|
makeObject, |
|
|
|
isArray, |
|
|
|
isArray, |
|
|
|
each |
|
|
|
each, |
|
|
|
|
|
|
|
Element |
|
|
|
} from "@/core"; |
|
|
|
} from "@/core"; |
|
|
|
|
|
|
|
|
|
|
|
@shortcut() |
|
|
|
@shortcut() |
|
|
@ -117,7 +118,7 @@ export class MultiSelectInnerLoader extends Widget { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
Widget.registerRenderEngine(Element.renderEngine); |
|
|
|
this.cachGroup = createWidget(o.el, { |
|
|
|
this.cachGroup = createWidget(o.el, { |
|
|
|
type: ButtonGroup.xtype, |
|
|
|
type: ButtonGroup.xtype, |
|
|
|
root: true, |
|
|
|
root: true, |
|
|
@ -192,7 +193,7 @@ export class MultiSelectInnerLoader extends Widget { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
Widget.registerRenderEngine(Element.renderEngine); |
|
|
|
this.cachGroup.addItems(...arguments); |
|
|
|
this.cachGroup.addItems(...arguments); |
|
|
|
Widget.registerRenderEngine(renderEngine); |
|
|
|
Widget.registerRenderEngine(renderEngine); |
|
|
|
this.button_group.addItems(...arguments); |
|
|
|
this.button_group.addItems(...arguments); |
|
|
@ -238,7 +239,7 @@ export class MultiSelectInnerLoader extends Widget { |
|
|
|
this.cachItems = items.slice(firstItemsCount); |
|
|
|
this.cachItems = items.slice(firstItemsCount); |
|
|
|
} |
|
|
|
} |
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
Widget.registerRenderEngine(Element.renderEngine); |
|
|
|
this.cachGroup.populate.call(this.cachGroup, items, keyword); |
|
|
|
this.cachGroup.populate.call(this.cachGroup, items, keyword); |
|
|
|
Widget.registerRenderEngine(renderEngine); |
|
|
|
Widget.registerRenderEngine(renderEngine); |
|
|
|
this.button_group.populate.call(this.button_group, items.slice(0, firstItemsCount), keyword); |
|
|
|
this.button_group.populate.call(this.button_group, items.slice(0, firstItemsCount), keyword); |
|
|
|