|
|
|
@ -59628,6 +59628,10 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
|
|
|
|
|
el: this.popup, |
|
|
|
|
width: this.constants.popupWidth, |
|
|
|
|
stopPropagation: false |
|
|
|
|
}, |
|
|
|
|
// DEC-4250 和复选下拉一样,点击不收起
|
|
|
|
|
hideChecker: function (e) { |
|
|
|
|
return triggerBtn.element.find(e.target).length === 0; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
|
|
|
@ -59641,9 +59645,9 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
|
|
|
|
|
width: 24, |
|
|
|
|
height: 24 |
|
|
|
|
}); |
|
|
|
|
triggerBtn.on(BI.TriggerIconButton.EVENT_CHANGE, function () { |
|
|
|
|
triggerBtn.on(BI.IconButton.EVENT_CHANGE, function () { |
|
|
|
|
if (self.combo.isViewVisible()) { |
|
|
|
|
self.combo.hideView(); |
|
|
|
|
// self.combo.hideView();
|
|
|
|
|
} else { |
|
|
|
|
self.combo.showView(); |
|
|
|
|
} |
|
|
|
@ -61577,6 +61581,10 @@ BI.extend(BI.DynamicDateCard, {
|
|
|
|
|
}, |
|
|
|
|
stopPropagation: false |
|
|
|
|
}, |
|
|
|
|
// DEC-4250 和复选下拉一样,点击triggerBtn不默认收起
|
|
|
|
|
hideChecker: function (e) { |
|
|
|
|
return self.triggerBtn.element.find(e.target).length === 0; |
|
|
|
|
}, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW, |
|
|
|
|
action: function () { |
|
|
|
@ -61599,12 +61607,15 @@ BI.extend(BI.DynamicDateCard, {
|
|
|
|
|
eventName: BI.IconButton.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
|
if (self.combo.isViewVisible()) { |
|
|
|
|
self.combo.hideView(); |
|
|
|
|
// self.combo.hideView();
|
|
|
|
|
} else { |
|
|
|
|
self.combo.showView(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}] |
|
|
|
|
}], |
|
|
|
|
ref: function () { |
|
|
|
|
self.triggerBtn = this; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
top: 0, |
|
|
|
|
right: 0 |
|
|
|
@ -62474,7 +62485,11 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.popup.setValue(self.storeValue); |
|
|
|
|
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW); |
|
|
|
|
} |
|
|
|
|
}] |
|
|
|
|
}], |
|
|
|
|
// DEC-4250 和复选下拉一样,点击不收起
|
|
|
|
|
hideChecker: function (e) { |
|
|
|
|
return self.triggerBtn.element.find(e.target).length === 0; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
top: 0, |
|
|
|
|
left: 0, |
|
|
|
@ -62490,12 +62505,15 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
|
|
|
|
|
eventName: BI.IconButton.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
|
if (self.combo.isViewVisible()) { |
|
|
|
|
self.combo.hideView(); |
|
|
|
|
// self.combo.hideView();
|
|
|
|
|
} else { |
|
|
|
|
self.combo.showView(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}] |
|
|
|
|
}], |
|
|
|
|
ref: function () { |
|
|
|
|
self.triggerBtn = this; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
top: 0, |
|
|
|
|
right: 0 |
|
|
|
@ -71899,7 +71917,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
|
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
|
}, |
|
|
|
|
cls: "number-interval-small-editor bi-border-top bi-border-bottom bi-border-left" |
|
|
|
|
cls: "number-interval-small-editor bi-border" |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.smallTip = BI.createWidget({ |
|
|
|
@ -71936,7 +71954,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
|
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
|
}, |
|
|
|
|
cls: "number-interval-big-editor bi-border-top bi-border-bottom bi-border-right" |
|
|
|
|
cls: "number-interval-big-editor bi-border" |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.bigTip = BI.createWidget({ |
|
|
|
@ -71972,7 +71990,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
|
|
|
|
|
// });
|
|
|
|
|
this.smallCombo = BI.createWidget({ |
|
|
|
|
type: "bi.icon_combo", |
|
|
|
|
cls: "number-interval-small-combo bi-border", |
|
|
|
|
cls: "number-interval-small-combo bi-border-top bi-border-bottom bi-border-right", |
|
|
|
|
height: o.height - 2, |
|
|
|
|
items: [{ |
|
|
|
|
text: "(" + BI.i18nText("BI-Less_Than") + ")", |
|
|
|
@ -71991,7 +72009,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
|
|
|
|
|
} |
|
|
|
|
this.bigCombo = BI.createWidget({ |
|
|
|
|
type: "bi.icon_combo", |
|
|
|
|
cls: "number-interval-big-combo bi-border", |
|
|
|
|
cls: "number-interval-big-combo bi-border-top bi-border-bottom bi-border-left", |
|
|
|
|
height: o.height - 2, |
|
|
|
|
items: [{ |
|
|
|
|
text: "(" + BI.i18nText("BI-Less_Than") + ")", |
|
|
|
@ -72023,7 +72041,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
|
|
|
|
|
el: self.smallEditor |
|
|
|
|
}, { |
|
|
|
|
el: self.smallCombo, |
|
|
|
|
width: c.width - c.border * 2 |
|
|
|
|
width: c.width - c.border |
|
|
|
|
}] |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
@ -72031,7 +72049,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
|
|
|
|
|
type: "bi.htape", |
|
|
|
|
items: [{ |
|
|
|
|
el: self.bigCombo, |
|
|
|
|
width: c.width - c.border * 2 |
|
|
|
|
width: c.width - c.border |
|
|
|
|
}, { |
|
|
|
|
el: self.bigEditor, |
|
|
|
|
// BI-23883 间距考虑边框
|
|
|
|
|