|
|
@ -1,11 +1,14 @@ |
|
|
|
BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
baseCls: "bi-date-time-select" |
|
|
|
baseCls: "bi-date-time-select", |
|
|
|
|
|
|
|
height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
render: function () { |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
|
|
|
|
var o = this.options; |
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
|
type: "bi.center_adapt", |
|
|
|
type: "bi.center_adapt", |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
@ -41,7 +44,7 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
|
width: 60, |
|
|
|
width: 60, |
|
|
|
height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT |
|
|
|
height: o.height, |
|
|
|
} |
|
|
|
} |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
@ -77,7 +80,7 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
|
width: 60, |
|
|
|
width: 60, |
|
|
|
height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT |
|
|
|
height: o.height, |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
text: ":", |
|
|
|
text: ":", |
|
|
@ -106,7 +109,7 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
|
width: 60, |
|
|
|
width: 60, |
|
|
|
height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT |
|
|
|
height: o.height, |
|
|
|
}] |
|
|
|
}] |
|
|
|
}] |
|
|
|
}] |
|
|
|
}; |
|
|
|
}; |
|
|
|