|
|
|
@ -51379,7 +51379,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
|
|
|
|
|
BI.PopupView.superclass._init.apply(this, arguments); |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
var fn = function (e) { |
|
|
|
|
e.stopEvent(); |
|
|
|
|
e.stopPropagation(); |
|
|
|
|
}, stop = function (e) { |
|
|
|
|
e.stopEvent(); |
|
|
|
|
return false; |
|
|
|
@ -108546,44 +108546,12 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
|
|
|
|
|
el: { |
|
|
|
|
type: "bi.text_button", |
|
|
|
|
cls: "slider-button", |
|
|
|
|
height: this.constants.NORMAL_SIZE, |
|
|
|
|
width: this.constants.NORMAL_SIZE, |
|
|
|
|
ref: function () { |
|
|
|
|
self.slider = this; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
top: this.constants.NORMAL_OFFSET, |
|
|
|
|
left: -8 |
|
|
|
|
}], |
|
|
|
|
width: 0, |
|
|
|
|
height: this.constants.NORMAL_SIZE |
|
|
|
|
} |
|
|
|
|
}] |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
mounted: function () { |
|
|
|
|
var self = this; |
|
|
|
|
this.slider.element.hover(function () { |
|
|
|
|
self._enlarge(); |
|
|
|
|
}, function () { |
|
|
|
|
self._normalize(); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_enlarge: function () { |
|
|
|
|
this.slider.setWidth(this.constants.LARGE_SIZE); |
|
|
|
|
this.slider.setHeight(this.constants.LARGE_SIZE); |
|
|
|
|
this.wrapper.attr("items")[0].top = this.constants.LARGE_OFFSET; |
|
|
|
|
this.wrapper.attr("items")[0].left = -10; |
|
|
|
|
this.wrapper.resize(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_normalize: function () { |
|
|
|
|
this.slider.setWidth(this.constants.NORMAL_SIZE); |
|
|
|
|
this.slider.setHeight(this.constants.NORMAL_SIZE); |
|
|
|
|
this.wrapper.attr("items")[0].top = this.constants.NORMAL_OFFSET; |
|
|
|
|
this.wrapper.attr("items")[0].left = -8; |
|
|
|
|
this.wrapper.resize(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
BI.shortcut("bi.single_slider_button", BI.SliderIconButton);/** |
|
|
|
|