Browse Source

Merge pull request #560 in VISUAL/fineui from ~FAY/fineui:master to master

* commit '0cc7185697a2bb2318085779238ba5398076d4fc':
  update
  Revert "update"
  Revert "update"
  update
  update
  update
es6
guy 6 years ago
parent
commit
a9c218f734
  1. 48
      dist/_fineui.min.js
  2. 14
      dist/bundle.js
  3. 80
      dist/bundle.min.js
  4. 8
      dist/core.js
  5. 14
      dist/fineui.js
  6. 48
      dist/fineui.min.js
  7. 6
      dist/widget.js
  8. 2
      src/widget/multiselect/multiselect.insert.trigger.js
  9. 2
      src/widget/multiselect/multiselect.trigger.js
  10. 2
      src/widget/searchmultitextvaluecombo/multitextvalue.combo.trigger.search.js

48
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/bundle.js vendored

@ -28046,9 +28046,11 @@ BI.extend(jQuery.fn, {
},
__isMouseInBounds__: function (e) {
var offset2Body = this.offset();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + this.outerWidth()
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + this.outerHeight());
var offset2Body = this.get(0).getBoundingClientRect ? this.get(0).getBoundingClientRect() : this.offset();
var width = offset2Body.width || this.outerWidth();
var height = offset2Body.height || this.outerHeight();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + width
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + height);
},
__hasZIndexMask__: function (zindex) {
@ -98652,7 +98654,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});
@ -99341,7 +99343,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});
@ -104884,7 +104886,7 @@ BI.SearchMultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});

80
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/core.js vendored

@ -28046,9 +28046,11 @@ BI.extend(jQuery.fn, {
},
__isMouseInBounds__: function (e) {
var offset2Body = this.offset();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + this.outerWidth()
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + this.outerHeight());
var offset2Body = this.get(0).getBoundingClientRect ? this.get(0).getBoundingClientRect() : this.offset();
var width = offset2Body.width || this.outerWidth();
var height = offset2Body.height || this.outerHeight();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + width
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + height);
},
__hasZIndexMask__: function (zindex) {

14
dist/fineui.js vendored

@ -28267,9 +28267,11 @@ BI.extend(jQuery.fn, {
},
__isMouseInBounds__: function (e) {
var offset2Body = this.offset();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + this.outerWidth()
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + this.outerHeight());
var offset2Body = this.get(0).getBoundingClientRect ? this.get(0).getBoundingClientRect() : this.offset();
var width = offset2Body.width || this.outerWidth();
var height = offset2Body.height || this.outerHeight();
return !(e.pageX < offset2Body.left || e.pageX > offset2Body.left + width
|| e.pageY < offset2Body.top || e.pageY > offset2Body.top + height);
},
__hasZIndexMask__: function (zindex) {
@ -98873,7 +98875,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});
@ -99562,7 +99564,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});
@ -105105,7 +105107,7 @@ BI.SearchMultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});

48
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/widget.js vendored

@ -10472,7 +10472,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});
@ -11161,7 +11161,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});
@ -16704,7 +16704,7 @@ BI.SearchMultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});

2
src/widget/multiselect/multiselect.insert.trigger.js

@ -110,7 +110,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});

2
src/widget/multiselect/multiselect.trigger.js

@ -107,7 +107,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});

2
src/widget/searchmultitextvaluecombo/multitextvalue.combo.trigger.search.js

@ -101,7 +101,7 @@ BI.SearchMultiSelectTrigger = BI.inherit(BI.Trigger, {
});
this.element.click(function (e) {
if (self.element.__isMouseInBounds__(e) && !self.numberCounter.element.__isMouseInBounds__(e)) {
if (self.element.find(e.target).length > 0) {
self.numberCounter.hideView();
}
});

Loading…
Cancel
Save