|
|
@ -58,8 +58,6 @@ BI.Popover = BI.inherit(BI.Widget, { |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.dragger = _ref; |
|
|
|
self.dragger = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
items: [{ |
|
|
|
|
|
|
|
type: "bi.absolute", |
|
|
|
|
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
el: BI.isPlainObject(o.header) ? BI.extend({}, o.header, { |
|
|
|
el: BI.isPlainObject(o.header) ? BI.extend({}, o.header, { |
|
|
|
extraCls: "bi-font-bold", |
|
|
|
extraCls: "bi-font-bold", |
|
|
@ -71,24 +69,19 @@ BI.Popover = BI.inherit(BI.Widget, { |
|
|
|
title: o.header, |
|
|
|
title: o.header, |
|
|
|
textAlign: "left", |
|
|
|
textAlign: "left", |
|
|
|
}, |
|
|
|
}, |
|
|
|
left: 20, |
|
|
|
lgap: 20, |
|
|
|
top: 0, |
|
|
|
rgap: o.closable ? 0 : 20 |
|
|
|
right: 0, |
|
|
|
}, o.closable ? { |
|
|
|
bottom: 0, |
|
|
|
el: { |
|
|
|
}], |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: o.closable ? { |
|
|
|
|
|
|
|
type: "bi.icon_button", |
|
|
|
type: "bi.icon_button", |
|
|
|
cls: "bi-message-close close-font", |
|
|
|
cls: "bi-message-close close-font", |
|
|
|
height: o.headerHeight, |
|
|
|
height: o.headerHeight, |
|
|
|
handler: function () { |
|
|
|
handler: function () { |
|
|
|
self.close(); |
|
|
|
self.close(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
} : { |
|
|
|
|
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
width: 56, |
|
|
|
width: 56, |
|
|
|
}], |
|
|
|
}: null], |
|
|
|
height: o.headerHeight, |
|
|
|
height: o.headerHeight, |
|
|
|
}, |
|
|
|
}, |
|
|
|
height: o.headerHeight, |
|
|
|
height: o.headerHeight, |
|
|
|