|
|
|
@ -19,63 +19,32 @@
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
height: o.height, |
|
|
|
|
type: "bi.horizontal_fill", |
|
|
|
|
columnSize: ["fill", "", "fill"], |
|
|
|
|
items: [{ |
|
|
|
|
el: BI.extend({ |
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.left = _ref; |
|
|
|
|
} |
|
|
|
|
}, this._createCombo(o.value.start, o.watermark?.start)) |
|
|
|
|
}, { |
|
|
|
|
el: { |
|
|
|
|
type: "bi.horizontal_auto", |
|
|
|
|
items: [{ |
|
|
|
|
type: "bi.label", |
|
|
|
|
height: o.height, |
|
|
|
|
width: this.constants.width, |
|
|
|
|
hgap: 5, |
|
|
|
|
text: "-", |
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.label = _ref; |
|
|
|
|
} |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
top: 0, |
|
|
|
|
left: 0, |
|
|
|
|
right: 0, |
|
|
|
|
bottom: 0 |
|
|
|
|
}, { |
|
|
|
|
el: { |
|
|
|
|
type: "bi.center", |
|
|
|
|
height: o.height, |
|
|
|
|
hgap: this.constants.hgap, |
|
|
|
|
items: [{ |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
items: [{ |
|
|
|
|
el: BI.extend({ |
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.left = _ref; |
|
|
|
|
} |
|
|
|
|
}, this._createCombo(o.value.start, o.watermark?.start)), |
|
|
|
|
left: this.constants.offset, |
|
|
|
|
right: 0, |
|
|
|
|
top: 0, |
|
|
|
|
bottom: 0, |
|
|
|
|
}] |
|
|
|
|
}, { |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
items: [{ |
|
|
|
|
el: BI.extend({ |
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.right = _ref; |
|
|
|
|
} |
|
|
|
|
}, this._createCombo(o.value.end, o.watermark?.end)), |
|
|
|
|
left: 0, |
|
|
|
|
right: this.constants.offset, |
|
|
|
|
top: 0, |
|
|
|
|
bottom: 0, |
|
|
|
|
}] |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
top: 0, |
|
|
|
|
left: 0, |
|
|
|
|
right: 0, |
|
|
|
|
bottom: 0 |
|
|
|
|
}, this._createCombo(o.value.end, o.watermark?.end)) |
|
|
|
|
}] |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|