|
|
@ -27001,7 +27001,6 @@ BI.LayerController = BI.inherit(BI.Controller, { |
|
|
|
BI.LayerController.superclass._init.apply(this, arguments); |
|
|
|
BI.LayerController.superclass._init.apply(this, arguments); |
|
|
|
this.layerManager = {}; |
|
|
|
this.layerManager = {}; |
|
|
|
this.layouts = {}; |
|
|
|
this.layouts = {}; |
|
|
|
this.zindex = BI.zIndex_layer; |
|
|
|
|
|
|
|
BI.Resizers.add("layerController" + BI.uniqueId(), BI.bind(this._resize, this)); |
|
|
|
BI.Resizers.add("layerController" + BI.uniqueId(), BI.bind(this._resize, this)); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -27101,7 +27100,7 @@ BI.LayerController = BI.inherit(BI.Controller, { |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
this._getLayout(name).visible(); |
|
|
|
this._getLayout(name).visible(); |
|
|
|
this._getLayout(name).element.css("z-index", this.zindex++).show(0, callback).trigger("__resize__"); |
|
|
|
this._getLayout(name).element.css("z-index", BI.zIndex_layer++).show(0, callback).trigger("__resize__"); |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -27116,7 +27115,7 @@ BI.LayerController = BI.inherit(BI.Controller, { |
|
|
|
layout.setVisible(false); |
|
|
|
layout.setVisible(false); |
|
|
|
this.layerManager[name] = layer; |
|
|
|
this.layerManager[name] = layer; |
|
|
|
this.layouts[name] = layout; |
|
|
|
this.layouts[name] = layout; |
|
|
|
layout.element.css("z-index", this.zindex++); |
|
|
|
layout.element.css("z-index", BI.zIndex_layer++); |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -27155,7 +27154,6 @@ BI.MaskersController = BI.inherit(BI.LayerController, { |
|
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
|
BI.MaskersController.superclass._init.apply(this, arguments); |
|
|
|
BI.MaskersController.superclass._init.apply(this, arguments); |
|
|
|
this.zindex = BI.zIndex_masker; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
});/** |
|
|
|
});/** |
|
|
|
* guy |
|
|
|
* guy |
|
|
@ -27178,7 +27176,6 @@ BI.PopoverController = BI.inherit(BI.Controller, { |
|
|
|
this.floatLayer = {}; |
|
|
|
this.floatLayer = {}; |
|
|
|
this.floatContainer = {}; |
|
|
|
this.floatContainer = {}; |
|
|
|
this.floatOpened = {}; |
|
|
|
this.floatOpened = {}; |
|
|
|
this.zindex = BI.zIndex_popover; |
|
|
|
|
|
|
|
this.zindexMap = {}; |
|
|
|
this.zindexMap = {}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -27244,11 +27241,11 @@ BI.PopoverController = BI.inherit(BI.Controller, { |
|
|
|
if (!this.floatOpened[name]) { |
|
|
|
if (!this.floatOpened[name]) { |
|
|
|
this.floatOpened[name] = true; |
|
|
|
this.floatOpened[name] = true; |
|
|
|
var container = this.floatContainer[name]; |
|
|
|
var container = this.floatContainer[name]; |
|
|
|
container.element.css("zIndex", this.zindex++); |
|
|
|
container.element.css("zIndex", BI.zIndex_layer++); |
|
|
|
this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]); |
|
|
|
this.modal && container.element.__hasZIndexMask__(this.zindexMap[name]) && container.element.__releaseZIndexMask__(this.zindexMap[name]); |
|
|
|
this.zindexMap[name] = this.zindex; |
|
|
|
this.zindexMap[name] = BI.zIndex_layer; |
|
|
|
this.modal && container.element.__buildZIndexMask__(this.zindex++); |
|
|
|
this.modal && container.element.__buildZIndexMask__(BI.zIndex_layer++); |
|
|
|
this.get(name).setZindex(this.zindex++); |
|
|
|
this.get(name).setZindex(BI.zIndex_layer++); |
|
|
|
this.floatContainer[name].visible(); |
|
|
|
this.floatContainer[name].visible(); |
|
|
|
var popover = this.get(name); |
|
|
|
var popover = this.get(name); |
|
|
|
popover.show && popover.show(); |
|
|
|
popover.show && popover.show(); |
|
|
@ -36257,7 +36254,9 @@ BI.Single = BI.inherit(BI.Widget, { |
|
|
|
warningTitle: null, |
|
|
|
warningTitle: null, |
|
|
|
tipType: null, // success或warning
|
|
|
|
tipType: null, // success或warning
|
|
|
|
value: null, |
|
|
|
value: null, |
|
|
|
belowMouse: false // title是否跟随鼠标,
|
|
|
|
belowMouse: false, // title是否跟随鼠标,
|
|
|
|
|
|
|
|
// 之所以默认为body,是因为transform的效果影响
|
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -36291,7 +36290,8 @@ BI.Single = BI.inherit(BI.Widget, { |
|
|
|
if (BI.isKey(o.title) || BI.isKey(o.warningTitle) |
|
|
|
if (BI.isKey(o.title) || BI.isKey(o.warningTitle) |
|
|
|
|| BI.isFunction(o.title) || BI.isFunction(o.warningTitle)) { |
|
|
|
|| BI.isFunction(o.title) || BI.isFunction(o.warningTitle)) { |
|
|
|
this.enableHover({ |
|
|
|
this.enableHover({ |
|
|
|
belowMouse: o.belowMouse |
|
|
|
belowMouse: o.belowMouse, |
|
|
|
|
|
|
|
container: o.container |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -36399,6 +36399,11 @@ BI.Single = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|
return this.options.value; |
|
|
|
return this.options.value; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_unMount: function () { |
|
|
|
|
|
|
|
BI.Single.superclass._unMount.apply(this, arguments); |
|
|
|
|
|
|
|
BI.Tooltips.remove(this.getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
});/** |
|
|
|
});/** |
|
|
|
* guy 表示一行数据,通过position来定位位置的数据 |
|
|
|
* guy 表示一行数据,通过position来定位位置的数据 |
|
|
@ -37000,7 +37005,7 @@ BI.Tip = BI.inherit(BI.Single, { |
|
|
|
var conf = BI.Link.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.Link.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: (conf.baseCls || "") + " bi-tip", |
|
|
|
baseCls: (conf.baseCls || "") + " bi-tip", |
|
|
|
zIndex: BI.zIndex_tip |
|
|
|
zIndex: BI.zIndex_layer++ |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -38935,7 +38940,7 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
trigger: "click", |
|
|
|
trigger: "click", |
|
|
|
toggle: true, |
|
|
|
toggle: true, |
|
|
|
direction: "bottom", // top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
|
|
|
direction: "bottom", // top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
|
|
|
container: null, // popupview放置的容器,默认为this.element
|
|
|
|
container: "body", // popupview放置的容器,默认为body
|
|
|
|
isDefaultInit: false, |
|
|
|
isDefaultInit: false, |
|
|
|
destroyWhenHide: false, |
|
|
|
destroyWhenHide: false, |
|
|
|
isNeedAdjustHeight: true, // 是否需要高度调整
|
|
|
|
isNeedAdjustHeight: true, // 是否需要高度调整
|
|
|
@ -39393,6 +39398,12 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
.unbind("mouseleave." + this.getName()); |
|
|
|
.unbind("mouseleave." + this.getName()); |
|
|
|
BI.Resizers.remove(this.getName()); |
|
|
|
BI.Resizers.remove(this.getName()); |
|
|
|
BI.Combo.superclass.destroy.apply(this, arguments); |
|
|
|
BI.Combo.superclass.destroy.apply(this, arguments); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
destroyed: function () { |
|
|
|
|
|
|
|
this.popupView && this.popupView.destroy(); |
|
|
|
|
|
|
|
this.popupView = null; |
|
|
|
|
|
|
|
this._rendered = false; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE"; |
|
|
|
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE"; |
|
|
@ -39707,7 +39718,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
el: {type: "bi.text_button", text: "", value: ""}, |
|
|
|
el: {type: "bi.text_button", text: "", value: ""}, |
|
|
|
children: [], |
|
|
|
children: [], |
|
|
|
|
|
|
|
container: null, |
|
|
|
popup: { |
|
|
|
popup: { |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.button_tree", |
|
|
|
type: "bi.button_tree", |
|
|
@ -39751,6 +39762,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, { |
|
|
|
this.combo = BI.createWidget({ |
|
|
|
this.combo = BI.createWidget({ |
|
|
|
type: "bi.combo", |
|
|
|
type: "bi.combo", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
|
|
|
|
container: o.container, |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
trigger: o.trigger, |
|
|
|
trigger: o.trigger, |
|
|
|
direction: o.direction, |
|
|
|
direction: o.direction, |
|
|
@ -50767,7 +50779,7 @@ $.extend(BI, { |
|
|
|
_show: function (hasCancel, title, message, callback) { |
|
|
|
_show: function (hasCancel, title, message, callback) { |
|
|
|
$mask = $("<div class=\"bi-z-index-mask\">").css({ |
|
|
|
$mask = $("<div class=\"bi-z-index-mask\">").css({ |
|
|
|
position: "absolute", |
|
|
|
position: "absolute", |
|
|
|
zIndex: BI.zIndex_tip - 2, |
|
|
|
zIndex: BI.zIndex_layer++, |
|
|
|
top: 0, |
|
|
|
top: 0, |
|
|
|
left: 0, |
|
|
|
left: 0, |
|
|
|
right: 0, |
|
|
|
right: 0, |
|
|
@ -50776,7 +50788,7 @@ $.extend(BI, { |
|
|
|
}).appendTo("body"); |
|
|
|
}).appendTo("body"); |
|
|
|
$pop = $("<div class=\"bi-message-depend\">").css({ |
|
|
|
$pop = $("<div class=\"bi-message-depend\">").css({ |
|
|
|
position: "absolute", |
|
|
|
position: "absolute", |
|
|
|
zIndex: BI.zIndex_tip - 1, |
|
|
|
zIndex: BI.zIndex_layer++, |
|
|
|
top: 0, |
|
|
|
top: 0, |
|
|
|
left: 0, |
|
|
|
left: 0, |
|
|
|
right: 0, |
|
|
|
right: 0, |
|
|
@ -51544,7 +51556,7 @@ BI.PopupView = BI.inherit(BI.Widget, { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
}; |
|
|
|
}; |
|
|
|
this.element.css({ |
|
|
|
this.element.css({ |
|
|
|
"z-index": BI.zIndex_popup, |
|
|
|
"z-index": BI.zIndex_layer++, |
|
|
|
"min-width": o.minWidth + "px", |
|
|
|
"min-width": o.minWidth + "px", |
|
|
|
"max-width": o.maxWidth + "px" |
|
|
|
"max-width": o.maxWidth + "px" |
|
|
|
}).bind({click: fn}); |
|
|
|
}).bind({click: fn}); |
|
|
@ -54429,7 +54441,8 @@ BI.Editor = BI.inherit(BI.Single, { |
|
|
|
} |
|
|
|
} |
|
|
|
if (!this.disabledError && BI.isKey(errorText)) { |
|
|
|
if (!this.disabledError && BI.isKey(errorText)) { |
|
|
|
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, { |
|
|
|
BI.Bubbles[b ? "show" : "hide"](this.getName(), errorText, this, { |
|
|
|
adjustYOffset: 2 |
|
|
|
adjustYOffset: 2, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
this._checkToolTip(); |
|
|
|
this._checkToolTip(); |
|
|
|
return BI.Bubbles.get(this.getName()); |
|
|
|
return BI.Bubbles.get(this.getName()); |
|
|
@ -54502,6 +54515,10 @@ BI.Editor = BI.inherit(BI.Single, { |
|
|
|
|
|
|
|
|
|
|
|
isValid: function () { |
|
|
|
isValid: function () { |
|
|
|
return this.editor.isValid(); |
|
|
|
return this.editor.isValid(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
destroyed: function () { |
|
|
|
|
|
|
|
BI.Bubbles.remove(this.getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.Editor.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.Editor.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
@ -76477,6 +76494,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
this.more = BI.createWidget({ |
|
|
|
this.more = BI.createWidget({ |
|
|
|
type: "bi.combo", |
|
|
|
type: "bi.combo", |
|
|
|
|
|
|
|
container: null, |
|
|
|
direction: "right,top", |
|
|
|
direction: "right,top", |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
el: { |
|
|
|
el: { |
|
|
@ -79371,6 +79389,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.textIconCombo = BI.createWidget({ |
|
|
|
this.textIconCombo = BI.createWidget({ |
|
|
|
type: "bi.combo", |
|
|
|
type: "bi.combo", |
|
|
|
|
|
|
|
container: o.container, |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
adjustLength: 2, |
|
|
|
adjustLength: 2, |
|
|
|
el: this.trigger, |
|
|
|
el: this.trigger, |
|
|
@ -83496,7 +83515,7 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/** |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|
v = v || ( isIE11Below() ? "" : "<br>"); |
|
|
|
v = v || ( isIE11Below() ? "" : "<br>"); |
|
|
|
v = ($(v)[0] && $(v)[0].nodeName === "P") ? v : "<p>" + v + "</p>"; |
|
|
|
v = v.startWith("<p") ? v : "<p>" + v + "</p>"; |
|
|
|
this.instance.setContent(v); |
|
|
|
this.instance.setContent(v); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -88438,7 +88457,8 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend( BI.MonthDateCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseCls: "bi-month-combo", |
|
|
|
baseCls: "bi-month-combo", |
|
|
|
height: 24 |
|
|
|
height: 24, |
|
|
|
|
|
|
|
container: null |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
@ -88462,6 +88482,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { |
|
|
|
this.combo = BI.createWidget({ |
|
|
|
this.combo = BI.createWidget({ |
|
|
|
type: "bi.combo", |
|
|
|
type: "bi.combo", |
|
|
|
offsetStyle: "center", |
|
|
|
offsetStyle: "center", |
|
|
|
|
|
|
|
container: null, |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
@ -88506,7 +88527,8 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { |
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
max: "2099-12-31", // 最大日期
|
|
|
|
max: "2099-12-31", // 最大日期
|
|
|
|
behaviors: {}, |
|
|
|
behaviors: {}, |
|
|
|
height: 24 |
|
|
|
height: 24, |
|
|
|
|
|
|
|
container: null |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
@ -88535,6 +88557,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { |
|
|
|
type: "bi.combo", |
|
|
|
type: "bi.combo", |
|
|
|
offsetStyle: "center", |
|
|
|
offsetStyle: "center", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
|
|
|
|
container: o.container, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
el: this.trigger, |
|
|
|
el: this.trigger, |
|
|
@ -91085,6 +91108,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.text_value_combo", |
|
|
|
type: "bi.text_value_combo", |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
items: comboItems, |
|
|
|
items: comboItems, |
|
|
|
|
|
|
|
container: null, |
|
|
|
value: positionValue || BI.DynamicDateCard.OFFSET.CURRENT, |
|
|
|
value: positionValue || BI.DynamicDateCard.OFFSET.CURRENT, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: "EVENT_CHANGE", |
|
|
|
eventName: "EVENT_CHANGE", |
|
|
@ -91099,6 +91123,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, { |
|
|
|
items.push({ |
|
|
|
items.push({ |
|
|
|
type: "bi.text_value_combo", |
|
|
|
type: "bi.text_value_combo", |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
|
|
|
|
container: null, |
|
|
|
items: this._getText(BI.last(values).dateType), |
|
|
|
items: this._getText(BI.last(values).dateType), |
|
|
|
value: positionValue || BI.DynamicDateCard.OFFSET.CURRENT, |
|
|
|
value: positionValue || BI.DynamicDateCard.OFFSET.CURRENT, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -91603,6 +91628,7 @@ BI.extend(BI.DynamicDateCombo, { |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.offsetCombo = this; |
|
|
|
self.offsetCombo = this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
container: null, |
|
|
|
value: o.offset, |
|
|
|
value: o.offset, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.TextValueCombo.EVENT_CHANGE, |
|
|
|
eventName: BI.TextValueCombo.EVENT_CHANGE, |
|
|
@ -95401,7 +95427,8 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, { |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.vertical", |
|
|
|
type: "bi.vertical", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
items: [this.popup] |
|
|
|
items: [this.popup], |
|
|
|
|
|
|
|
vgap: 5 |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
@ -95427,7 +95454,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, { |
|
|
|
item.el.height = self.constants.height; |
|
|
|
item.el.height = self.constants.height; |
|
|
|
item.el.iconCls2 = self.constants.nextIcon; |
|
|
|
item.el.iconCls2 = self.constants.nextIcon; |
|
|
|
item.popup = { |
|
|
|
item.popup = { |
|
|
|
lgap: 4, |
|
|
|
lgap: 1, |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.button_tree", |
|
|
|
type: "bi.button_tree", |
|
|
|
chooseType: 0, |
|
|
|
chooseType: 0, |
|
|
@ -95435,7 +95462,8 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, { |
|
|
|
type: "bi.vertical" |
|
|
|
type: "bi.vertical" |
|
|
|
}] |
|
|
|
}] |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
innerVGap: 5 |
|
|
|
}; |
|
|
|
}; |
|
|
|
item.el.childValues = []; |
|
|
|
item.el.childValues = []; |
|
|
|
BI.each(item.children, function (i, child) { |
|
|
|
BI.each(item.children, function (i, child) { |
|
|
@ -102638,19 +102666,22 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
case c.typeError: |
|
|
|
case c.typeError: |
|
|
|
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, { |
|
|
|
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case c.numberError: |
|
|
|
case c.numberError: |
|
|
|
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, { |
|
|
|
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case c.signalError: |
|
|
|
case c.signalError: |
|
|
|
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, { |
|
|
|
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default : |
|
|
|
default : |
|
|
@ -102687,7 +102718,8 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
self._checkValidation(); |
|
|
|
self._checkValidation(); |
|
|
|
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, { |
|
|
|
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
self.fireEvent(BI.NumberInterval.EVENT_ERROR); |
|
|
|
self.fireEvent(BI.NumberInterval.EVENT_ERROR); |
|
|
|
}); |
|
|
|
}); |
|
|
@ -102701,14 +102733,16 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
case c.numberError: |
|
|
|
case c.numberError: |
|
|
|
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, { |
|
|
|
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
self.fireEvent(BI.NumberInterval.EVENT_ERROR); |
|
|
|
self.fireEvent(BI.NumberInterval.EVENT_ERROR); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case c.signalError: |
|
|
|
case c.signalError: |
|
|
|
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, { |
|
|
|
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
self.fireEvent(BI.NumberInterval.EVENT_ERROR); |
|
|
|
self.fireEvent(BI.NumberInterval.EVENT_ERROR); |
|
|
|
break; |
|
|
|
break; |
|
|
@ -102726,19 +102760,22 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
case c.typeError: |
|
|
|
case c.typeError: |
|
|
|
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, { |
|
|
|
BI.Bubbles.show(c.typeError, BI.i18nText("BI-Numerical_Interval_Input_Data"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case c.numberError: |
|
|
|
case c.numberError: |
|
|
|
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, { |
|
|
|
BI.Bubbles.show(c.numberError, BI.i18nText("BI-Numerical_Interval_Number_Value"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case c.signalError: |
|
|
|
case c.signalError: |
|
|
|
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, { |
|
|
|
BI.Bubbles.show(c.signalError, BI.i18nText("BI-Numerical_Interval_Signal_Value"), self, { |
|
|
|
offsetStyle: "left", |
|
|
|
offsetStyle: "left", |
|
|
|
adjustYOffset: c.adjustYOffset |
|
|
|
adjustYOffset: c.adjustYOffset, |
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default : |
|
|
|
default : |
|
|
@ -102869,6 +102906,13 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
value.closeMax = true; |
|
|
|
value.closeMax = true; |
|
|
|
} |
|
|
|
} |
|
|
|
return value; |
|
|
|
return value; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
destroyed: function () { |
|
|
|
|
|
|
|
var c = this.constants; |
|
|
|
|
|
|
|
BI.Bubbles.remove(c.typeError); |
|
|
|
|
|
|
|
BI.Bubbles.remove(c.numberError); |
|
|
|
|
|
|
|
BI.Bubbles.remove(c.signalError); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.NumberInterval.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.NumberInterval.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
@ -104124,7 +104168,6 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { |
|
|
|
return BI.extend(BI.SearchMultiTextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend(BI.SearchMultiTextValueCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseCls: "bi-multi-select-combo bi-search-multi-text-value-combo", |
|
|
|
baseCls: "bi-multi-select-combo bi-search-multi-text-value-combo", |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
numOfPage: 10, |
|
|
|
|
|
|
|
items: [] |
|
|
|
items: [] |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -104492,14 +104535,14 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { |
|
|
|
|
|
|
|
|
|
|
|
_getItemsByTimes: function (items, times) { |
|
|
|
_getItemsByTimes: function (items, times) { |
|
|
|
var res = []; |
|
|
|
var res = []; |
|
|
|
for (var i = (times - 1) * this.options.numOfPage; items[i] && i < times * this.options.numOfPage; i++) { |
|
|
|
for (var i = (times - 1) * 100; items[i] && i < times * 100; i++) { |
|
|
|
res.push(items[i]); |
|
|
|
res.push(items[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
return res; |
|
|
|
return res; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_hasNextByTimes: function (items, times) { |
|
|
|
_hasNextByTimes: function (items, times) { |
|
|
|
return times * this.options.numOfPage < items.length; |
|
|
|
return times * 100 < items.length; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_itemsCreator: function (options, callback) { |
|
|
|
_itemsCreator: function (options, callback) { |
|
|
|