Browse Source

Merge pull request #778 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit 'e4ec3d519bbf9f4ac7b909ac2790cf5d8911162f':
  update
  update
  DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
es6
windy 6 years ago
parent
commit
4728e155bd
  1. 27
      dist/base.js
  2. 27
      dist/bundle.ie.js
  3. 57
      dist/bundle.ie.min.js
  4. 27
      dist/bundle.js
  5. 18
      dist/bundle.min.js
  6. 25
      dist/demo.js
  7. 27
      dist/fineui.ie.js
  8. 56
      dist/fineui.ie.min.js
  9. 27
      dist/fineui.js
  10. 18
      dist/fineui.min.js
  11. 27
      dist/fineui_without_jquery_polyfill.js
  12. 2
      dist/utils.min.js
  13. 27
      src/base/single/single.js

27
dist/base.js vendored

@ -401,14 +401,14 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
_clearTimeOut: function() {
_clearTimeOut: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
this.showTimeout = null;
}
if (BI.isNotNull(this.hideTimeout)) {
clearTimeout(this.hideTimeout);
this.showTimeout = null;
this.hideTimeout = null;
}
},
@ -420,11 +420,15 @@ BI.Single = BI.inherit(BI.Widget, {
self._e = e;
if (self.getTipType() === "warning" || (BI.isKey(self.getWarningTitle()) && !self.isEnabled())) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 200);
} else if (self.getTipType() === "success" || self.isEnabled()) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 500);
}
});
@ -436,16 +440,21 @@ BI.Single = BI.inherit(BI.Widget, {
}
if(BI.isNull(self.hideTimeout)) {
self.hideTimeout = BI.delay(function () {
self._hideTooltip();
if (BI.isNotNull(self.hideTimeout)) {
self._hideTooltip();
}
}, 500);
}
self.showTimeout = BI.delay(function () {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
// DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
if (BI.isNotNull(self.showTimeout)) {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
}
self._showToolTip(self._e || e, opt);
}
self._showToolTip(self._e || e, opt);
}, 500);

27
dist/bundle.ie.js vendored

@ -35487,14 +35487,14 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
_clearTimeOut: function() {
_clearTimeOut: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
this.showTimeout = null;
}
if (BI.isNotNull(this.hideTimeout)) {
clearTimeout(this.hideTimeout);
this.showTimeout = null;
this.hideTimeout = null;
}
},
@ -35506,11 +35506,15 @@ BI.Single = BI.inherit(BI.Widget, {
self._e = e;
if (self.getTipType() === "warning" || (BI.isKey(self.getWarningTitle()) && !self.isEnabled())) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 200);
} else if (self.getTipType() === "success" || self.isEnabled()) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 500);
}
});
@ -35522,16 +35526,21 @@ BI.Single = BI.inherit(BI.Widget, {
}
if(BI.isNull(self.hideTimeout)) {
self.hideTimeout = BI.delay(function () {
self._hideTooltip();
if (BI.isNotNull(self.hideTimeout)) {
self._hideTooltip();
}
}, 500);
}
self.showTimeout = BI.delay(function () {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
// DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
if (BI.isNotNull(self.showTimeout)) {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
}
self._showToolTip(self._e || e, opt);
}
self._showToolTip(self._e || e, opt);
}, 500);

57
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

27
dist/bundle.js vendored

@ -35891,14 +35891,14 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
_clearTimeOut: function() {
_clearTimeOut: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
this.showTimeout = null;
}
if (BI.isNotNull(this.hideTimeout)) {
clearTimeout(this.hideTimeout);
this.showTimeout = null;
this.hideTimeout = null;
}
},
@ -35910,11 +35910,15 @@ BI.Single = BI.inherit(BI.Widget, {
self._e = e;
if (self.getTipType() === "warning" || (BI.isKey(self.getWarningTitle()) && !self.isEnabled())) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 200);
} else if (self.getTipType() === "success" || self.isEnabled()) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 500);
}
});
@ -35926,16 +35930,21 @@ BI.Single = BI.inherit(BI.Widget, {
}
if(BI.isNull(self.hideTimeout)) {
self.hideTimeout = BI.delay(function () {
self._hideTooltip();
if (BI.isNotNull(self.hideTimeout)) {
self._hideTooltip();
}
}, 500);
}
self.showTimeout = BI.delay(function () {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
// DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
if (BI.isNotNull(self.showTimeout)) {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
}
self._showToolTip(self._e || e, opt);
}
self._showToolTip(self._e || e, opt);
}, 500);

18
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/demo.js vendored

@ -6126,7 +6126,30 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, {
};
}
});
BI.shortcut("demo.htape", Demo.HtapeLayout);/**
BI.shortcut("demo.htape", Demo.HtapeLayout);Demo.InlineVerticalLayout = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-absolute"
},
render: function () {
return {
type: "bi.inline_vertical_adapt",
items: [{
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 200
}, {
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 100
}]
};
}
});
BI.shortcut("demo.inline_vertical", Demo.InlineVerticalLayout);/**
* Created by User on 2017/3/22.
*/
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, {

27
dist/fineui.ie.js vendored

@ -35729,14 +35729,14 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
_clearTimeOut: function() {
_clearTimeOut: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
this.showTimeout = null;
}
if (BI.isNotNull(this.hideTimeout)) {
clearTimeout(this.hideTimeout);
this.showTimeout = null;
this.hideTimeout = null;
}
},
@ -35748,11 +35748,15 @@ BI.Single = BI.inherit(BI.Widget, {
self._e = e;
if (self.getTipType() === "warning" || (BI.isKey(self.getWarningTitle()) && !self.isEnabled())) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 200);
} else if (self.getTipType() === "success" || self.isEnabled()) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 500);
}
});
@ -35764,16 +35768,21 @@ BI.Single = BI.inherit(BI.Widget, {
}
if(BI.isNull(self.hideTimeout)) {
self.hideTimeout = BI.delay(function () {
self._hideTooltip();
if (BI.isNotNull(self.hideTimeout)) {
self._hideTooltip();
}
}, 500);
}
self.showTimeout = BI.delay(function () {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
// DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
if (BI.isNotNull(self.showTimeout)) {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
}
self._showToolTip(self._e || e, opt);
}
self._showToolTip(self._e || e, opt);
}, 500);

56
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

27
dist/fineui.js vendored

@ -36133,14 +36133,14 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
_clearTimeOut: function() {
_clearTimeOut: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
this.showTimeout = null;
}
if (BI.isNotNull(this.hideTimeout)) {
clearTimeout(this.hideTimeout);
this.showTimeout = null;
this.hideTimeout = null;
}
},
@ -36152,11 +36152,15 @@ BI.Single = BI.inherit(BI.Widget, {
self._e = e;
if (self.getTipType() === "warning" || (BI.isKey(self.getWarningTitle()) && !self.isEnabled())) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 200);
} else if (self.getTipType() === "success" || self.isEnabled()) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 500);
}
});
@ -36168,16 +36172,21 @@ BI.Single = BI.inherit(BI.Widget, {
}
if(BI.isNull(self.hideTimeout)) {
self.hideTimeout = BI.delay(function () {
self._hideTooltip();
if (BI.isNotNull(self.hideTimeout)) {
self._hideTooltip();
}
}, 500);
}
self.showTimeout = BI.delay(function () {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
// DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
if (BI.isNotNull(self.showTimeout)) {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
}
self._showToolTip(self._e || e, opt);
}
self._showToolTip(self._e || e, opt);
}, 500);

18
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

27
dist/fineui_without_jquery_polyfill.js vendored

@ -24643,14 +24643,14 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
_clearTimeOut: function() {
_clearTimeOut: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
this.showTimeout = null;
}
if (BI.isNotNull(this.hideTimeout)) {
clearTimeout(this.hideTimeout);
this.showTimeout = null;
this.hideTimeout = null;
}
},
@ -24662,11 +24662,15 @@ BI.Single = BI.inherit(BI.Widget, {
self._e = e;
if (self.getTipType() === "warning" || (BI.isKey(self.getWarningTitle()) && !self.isEnabled())) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 200);
} else if (self.getTipType() === "success" || self.isEnabled()) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 500);
}
});
@ -24678,16 +24682,21 @@ BI.Single = BI.inherit(BI.Widget, {
}
if(BI.isNull(self.hideTimeout)) {
self.hideTimeout = BI.delay(function () {
self._hideTooltip();
if (BI.isNotNull(self.hideTimeout)) {
self._hideTooltip();
}
}, 500);
}
self.showTimeout = BI.delay(function () {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
// DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
if (BI.isNotNull(self.showTimeout)) {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
}
self._showToolTip(self._e || e, opt);
}
self._showToolTip(self._e || e, opt);
}, 500);

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

27
src/base/single/single.js

@ -59,14 +59,14 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
_clearTimeOut: function() {
_clearTimeOut: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
this.showTimeout = null;
}
if (BI.isNotNull(this.hideTimeout)) {
clearTimeout(this.hideTimeout);
this.showTimeout = null;
this.hideTimeout = null;
}
},
@ -78,11 +78,15 @@ BI.Single = BI.inherit(BI.Widget, {
self._e = e;
if (self.getTipType() === "warning" || (BI.isKey(self.getWarningTitle()) && !self.isEnabled())) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 200);
} else if (self.getTipType() === "success" || self.isEnabled()) {
self.showTimeout = BI.delay(function () {
self._showToolTip(self._e || e, opt);
if (BI.isNotNull(self.showTimeout)) {
self._showToolTip(self._e || e, opt);
}
}, 500);
}
});
@ -94,16 +98,21 @@ BI.Single = BI.inherit(BI.Widget, {
}
if(BI.isNull(self.hideTimeout)) {
self.hideTimeout = BI.delay(function () {
self._hideTooltip();
if (BI.isNotNull(self.hideTimeout)) {
self._hideTooltip();
}
}, 500);
}
self.showTimeout = BI.delay(function () {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
// DEC-5321 IE下如果回调已经进入事件队列,clearTimeout将不会起作用
if (BI.isNotNull(self.showTimeout)) {
if (BI.isNotNull(self.hideTimeout)) {
clearTimeout(self.hideTimeout);
self.hideTimeout = null;
}
self._showToolTip(self._e || e, opt);
}
self._showToolTip(self._e || e, opt);
}, 500);

Loading…
Cancel
Save