Browse Source

BI-41691 refactor: checkbox默认宽高和Event报错

es6
windy 6 years ago
parent
commit
9c813c584c
  1. 2
      dist/2.0/fineui.css
  2. 11
      dist/2.0/fineui.ie.js
  3. 8
      dist/2.0/fineui.ie.min.js
  4. 11
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.min.css
  6. 8
      dist/2.0/fineui.min.js
  7. 2
      dist/base.css
  8. 4
      dist/base.js
  9. 2
      dist/bundle.css
  10. 11
      dist/bundle.ie.js
  11. 8
      dist/bundle.ie.min.js
  12. 11
      dist/bundle.js
  13. 2
      dist/bundle.min.css
  14. 8
      dist/bundle.min.js
  15. 3
      dist/case.js
  16. 4
      dist/core.js
  17. 2
      dist/fineui.css
  18. 11
      dist/fineui.ie.js
  19. 8
      dist/fineui.ie.min.js
  20. 11
      dist/fineui.js
  21. 2
      dist/fineui.min.css
  22. 8
      dist/fineui.min.js
  23. 11
      dist/fineui_without_jquery_polyfill.js
  24. 2
      dist/utils.min.js
  25. 4
      src/base/single/input/checkbox/checkbox.js
  26. 1
      src/case/editor/editor.sign.js
  27. 2
      src/case/editor/editor.state.js
  28. 4
      src/core/shortcut.js
  29. 2
      src/css/base/single/input/checkbox.css
  30. 2
      src/less/base/single/input/checkbox.less

2
dist/2.0/fineui.css vendored

@ -3542,7 +3542,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
position: absolute;
display: table;
top: 50%;
left: 22%;
left: 20%;
border: 2px solid transparent;
border-top: 0;
border-left: 0;

11
dist/2.0/fineui.ie.js vendored

@ -12270,7 +12270,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12282,7 +12282,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -44738,8 +44738,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},
@ -55743,6 +55743,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -56009,7 +56010,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

8
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/2.0/fineui.js vendored

@ -12270,7 +12270,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12282,7 +12282,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -45142,8 +45142,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},
@ -56147,6 +56147,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -56413,7 +56414,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

8
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/base.css vendored

@ -1386,7 +1386,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
position: absolute;
display: table;
top: 50%;
left: 22%;
left: 20%;
border: 2px solid transparent;
border-top: 0;
border-left: 0;

4
dist/base.js vendored

@ -9351,8 +9351,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},

2
dist/bundle.css vendored

@ -3542,7 +3542,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
position: absolute;
display: table;
top: 50%;
left: 22%;
left: 20%;
border: 2px solid transparent;
border-top: 0;
border-left: 0;

11
dist/bundle.ie.js vendored

@ -12270,7 +12270,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12282,7 +12282,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -44738,8 +44738,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},
@ -55743,6 +55743,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -56009,7 +56010,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

8
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/bundle.js vendored

@ -12270,7 +12270,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12282,7 +12282,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -45142,8 +45142,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},
@ -56147,6 +56147,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -56413,7 +56414,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/case.js vendored

@ -6092,6 +6092,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -6358,7 +6359,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

4
dist/core.js vendored

@ -12270,7 +12270,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12282,7 +12282,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;

2
dist/fineui.css vendored

@ -3542,7 +3542,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
position: absolute;
display: table;
top: 50%;
left: 22%;
left: 20%;
border: 2px solid transparent;
border-top: 0;
border-left: 0;

11
dist/fineui.ie.js vendored

@ -12515,7 +12515,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12527,7 +12527,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -44983,8 +44983,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},
@ -55988,6 +55988,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -56254,7 +56255,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

8
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/fineui.js vendored

@ -12515,7 +12515,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12527,7 +12527,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -45387,8 +45387,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},
@ -56392,6 +56392,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -56658,7 +56659,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

8
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/fineui_without_jquery_polyfill.js vendored

@ -12270,7 +12270,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -12282,7 +12282,7 @@ if (!_global.BI) {
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -32918,8 +32918,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},
@ -39426,6 +39426,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -39692,7 +39693,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

4
src/base/single/input/checkbox/checkbox.js

@ -25,8 +25,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref;
},
cls: "checkbox-context bi-border",
width: o.iconWidth,
height: o.iconHeight
width: o.iconWidth - 2,
height: o.iconHeight - 2
}]
};
},

1
src/case/editor/editor.sign.js

@ -134,6 +134,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
this.text.doRedMark(o.keyword);
},
_checkText: function () {

2
src/case/editor/editor.state.js

@ -142,7 +142,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
items: [this.editor]
});
this._showHint();
if(BI.isNotNull(o.text)){
if (BI.isNotNull(o.text)) {
this.setState(o.text);
}
},

4
src/core/shortcut.js

@ -43,7 +43,7 @@
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;
@ -55,7 +55,7 @@
w = BI.Plugin.getWidget(el.type, el);
if (w.type === el.type) {
var component = createWidget(w);
component.on(BI.Event.MOUNT, function () {
component.on(BI.Events.MOUNT, function () {
BI.Plugin.getObject(el.type, component);
});
return component;

2
src/css/base/single/input/checkbox.css

@ -7,7 +7,7 @@
position: absolute;
display: table;
top: 50%;
left: 22%;
left: 20%;
border: 2px solid transparent;
border-top: 0;
border-left: 0;

2
src/less/base/single/input/checkbox.less

@ -7,7 +7,7 @@
position: absolute;
display: table;
top: 50%;
left: 22%;
left: 20%;
border: 2px solid transparent;
border-top: 0;
border-left: 0;

Loading…
Cancel
Save