|
|
|
@ -52344,6 +52344,7 @@ BI.IconButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
items: [this.icon] |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
this.element.css("lineHeight", "1"); |
|
|
|
|
BI.createWidget({ |
|
|
|
|
element: this, |
|
|
|
|
type: "bi.center_adapt", |
|
|
|
@ -91398,6 +91399,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.DynamicDateTrigger.superclass._init.apply(this, arguments); |
|
|
|
|
var self = this, o = this.options, c = this._const; |
|
|
|
|
this.storeTriggerValue = ""; |
|
|
|
|
this.editor = BI.createWidget({ |
|
|
|
|
type: "bi.sign_editor", |
|
|
|
|
height: o.height, |
|
|
|
@ -91447,6 +91449,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
|
|
|
|
|
self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { |
|
|
|
|
self.storeTriggerValue = self.getKey(); |
|
|
|
|
self.fireEvent(BI.DynamicDateTrigger.EVENT_FOCUS); |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.SignEditor.EVENT_STOP, function () { |
|
|
|
@ -91464,7 +91467,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger
|
|
|
|
|
self.editor.setState(value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (BI.isNotEmptyString(value)) { |
|
|
|
|
if (BI.isNotEmptyString(value) && !BI.isEqual(self.storeTriggerValue, self.getKey())) { |
|
|
|
|
var date = value.split("-"); |
|
|
|
|
self.storeValue = { |
|
|
|
|
type: BI.DynamicDateCombo.Static, |
|
|
|
@ -92379,6 +92382,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.DynamicDateTimeTrigger.superclass._init.apply(this, arguments); |
|
|
|
|
var self = this, o = this.options, c = this._const; |
|
|
|
|
this.storeTriggerValue = ""; |
|
|
|
|
this.editor = BI.createWidget({ |
|
|
|
|
type: "bi.sign_editor", |
|
|
|
|
height: o.height, |
|
|
|
@ -92428,6 +92432,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
|
|
|
|
|
self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { |
|
|
|
|
self.storeTriggerValue = self.getKey(); |
|
|
|
|
self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_FOCUS); |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.SignEditor.EVENT_STOP, function () { |
|
|
|
@ -92445,7 +92450,7 @@ BI.extend(BI.DynamicDateTimeSelect, {
|
|
|
|
|
self.editor.setState(value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (BI.isNotEmptyString(value)) { |
|
|
|
|
if (BI.isNotEmptyString(value) && !BI.isEqual(self.storeTriggerValue, self.getKey())) { |
|
|
|
|
var date = value.split(/-|\s|:/); |
|
|
|
|
self.storeValue = { |
|
|
|
|
type: BI.DynamicDateCombo.Static, |
|
|
|
@ -98724,6 +98729,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
return BI.createItems(items, { |
|
|
|
|
type: "bi.multi_select_item", |
|
|
|
|
logic: this.options.logic, |
|
|
|
|
cls: "bi-list-item-active", |
|
|
|
|
height: 24, |
|
|
|
|
selected: this.isAllSelected() |
|
|
|
|
}); |
|
|
|
@ -99551,7 +99557,7 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, {
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.MultiSelectCheckSelectedButton.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-multi-select-check-selected-button bi-high-light", |
|
|
|
|
baseCls: "bi-multi-select-check-selected-button", |
|
|
|
|
itemsCreator: BI.emptyFn |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -99565,7 +99571,8 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, {
|
|
|
|
|
hgap: 4, |
|
|
|
|
text: "0", |
|
|
|
|
textAlign: "center", |
|
|
|
|
textHeight: 15 |
|
|
|
|
textHeight: 16, |
|
|
|
|
cls: "bi-high-light-background count-tip" |
|
|
|
|
}); |
|
|
|
|
this.numberCounter.on(BI.Controller.EVENT_CHANGE, function () { |
|
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
|
|
|
|