Browse Source

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

es6
windy 6 years ago
parent
commit
9c813c584c
  1. 2
      dist/2.0/fineui.css
  2. 9
      dist/2.0/fineui.ie.js
  3. 8
      dist/2.0/fineui.ie.min.js
  4. 9
      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. 9
      dist/bundle.ie.js
  11. 8
      dist/bundle.ie.min.js
  12. 9
      dist/bundle.js
  13. 2
      dist/bundle.min.css
  14. 8
      dist/bundle.min.js
  15. 1
      dist/case.js
  16. 4
      dist/core.js
  17. 2
      dist/fineui.css
  18. 9
      dist/fineui.ie.js
  19. 8
      dist/fineui.ie.min.js
  20. 9
      dist/fineui.js
  21. 2
      dist/fineui.min.css
  22. 8
      dist/fineui.min.js
  23. 9
      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. 4
      src/core/shortcut.js
  28. 2
      src/css/base/single/input/checkbox.css
  29. 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; position: absolute;
display: table; display: table;
top: 50%; top: 50%;
left: 22%; left: 20%;
border: 2px solid transparent; border: 2px solid transparent;
border-top: 0; border-top: 0;
border-left: 0; border-left: 0;

9
dist/2.0/fineui.ie.js vendored

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

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

File diff suppressed because one or more lines are too long

9
dist/2.0/fineui.js vendored

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

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; position: absolute;
display: table; display: table;
top: 50%; top: 50%;
left: 22%; left: 20%;
border: 2px solid transparent; border: 2px solid transparent;
border-top: 0; border-top: 0;
border-left: 0; border-left: 0;

4
dist/base.js vendored

@ -9351,8 +9351,8 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-border", cls: "checkbox-context bi-border",
width: o.iconWidth, width: o.iconWidth - 2,
height: o.iconHeight 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; position: absolute;
display: table; display: table;
top: 50%; top: 50%;
left: 22%; left: 20%;
border: 2px solid transparent; border: 2px solid transparent;
border-top: 0; border-top: 0;
border-left: 0; border-left: 0;

9
dist/bundle.ie.js vendored

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

8
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/bundle.js vendored

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

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

1
dist/case.js vendored

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

4
dist/core.js vendored

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

2
dist/fineui.css vendored

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

9
dist/fineui.ie.js vendored

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

8
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/fineui.js vendored

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

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

9
dist/fineui_without_jquery_polyfill.js vendored

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

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; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-border", cls: "checkbox-context bi-border",
width: o.iconWidth, width: o.iconWidth - 2,
height: o.iconHeight height: o.iconHeight - 2
}] }]
}; };
}, },

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

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

4
src/core/shortcut.js

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

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

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

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

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

Loading…
Cancel
Save