|
|
@ -85543,6 +85543,22 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
invisible: isSelect || !isHalfSelect |
|
|
|
invisible: isSelect || !isHalfSelect |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
|
|
|
stopPropagation: true, |
|
|
|
|
|
|
|
textAlign: "left", |
|
|
|
|
|
|
|
whiteSpace: "nowrap", |
|
|
|
|
|
|
|
textHeight: o.height, |
|
|
|
|
|
|
|
height: o.height, |
|
|
|
|
|
|
|
hgap: o.hgap, |
|
|
|
|
|
|
|
text: o.text, |
|
|
|
|
|
|
|
keyword: o.keyword, |
|
|
|
|
|
|
|
value: o.value, |
|
|
|
|
|
|
|
py: o.py, |
|
|
|
|
|
|
|
handler: function () { |
|
|
|
|
|
|
|
self.beforeClick(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self); |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self); |
|
|
|
}); |
|
|
|
}); |
|
|
@ -85552,23 +85568,17 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { |
|
|
|
this.half.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
this.half.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self); |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
this.text.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
|
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self); |
|
|
|
|
|
|
|
}); |
|
|
|
this.half.on(BI.HalfIconButton.EVENT_CHANGE, function () { |
|
|
|
this.half.on(BI.HalfIconButton.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.MultiSelectBar.EVENT_CHANGE, self.isSelected(), self); |
|
|
|
self.fireEvent(BI.MultiSelectBar.EVENT_CHANGE, self.isSelected(), self); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.checkbox.on(BI.Checkbox.EVENT_CHANGE, function () { |
|
|
|
this.checkbox.on(BI.Checkbox.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.MultiSelectBar.EVENT_CHANGE, self.isSelected(), self); |
|
|
|
self.fireEvent(BI.MultiSelectBar.EVENT_CHANGE, self.isSelected(), self); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.text = BI.createWidget({ |
|
|
|
this.text.on(BI.TextButton.EVENT_CHANGE, function () { |
|
|
|
type: "bi.label", |
|
|
|
self.fireEvent(BI.MultiSelectBar.EVENT_CHANGE, self.isSelected(), self); |
|
|
|
textAlign: "left", |
|
|
|
|
|
|
|
whiteSpace: "nowrap", |
|
|
|
|
|
|
|
textHeight: o.height, |
|
|
|
|
|
|
|
height: o.height, |
|
|
|
|
|
|
|
hgap: o.hgap, |
|
|
|
|
|
|
|
text: o.text, |
|
|
|
|
|
|
|
keyword: o.keyword, |
|
|
|
|
|
|
|
value: o.value, |
|
|
|
|
|
|
|
py: o.py |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.htape", |
|
|
|
type: "bi.htape", |
|
|
|