Browse Source

fix: BI.SingleSelectRadioItem 内的radio也要传递once属性

es6
zsmj1994 5 years ago
parent
commit
2b901b1aad
  1. 17
      dist/2.0/fineui.ie.js
  2. 2
      dist/2.0/fineui.ie.js.map
  3. 38
      dist/2.0/fineui.ie.min.js
  4. 2
      dist/2.0/fineui.ie.min.js.map
  5. 17
      dist/2.0/fineui.js
  6. 2
      dist/2.0/fineui.js.map
  7. 60
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 11
      dist/base.js
  10. 2
      dist/base.js.map
  11. 17
      dist/bundle.ie.js
  12. 2
      dist/bundle.ie.js.map
  13. 38
      dist/bundle.ie.min.js
  14. 2
      dist/bundle.ie.min.js.map
  15. 17
      dist/bundle.js
  16. 2
      dist/bundle.js.map
  17. 60
      dist/bundle.min.js
  18. 2
      dist/bundle.min.js.map
  19. 3
      dist/case.js
  20. 2
      dist/case.js.map
  21. 17
      dist/fineui.ie.js
  22. 2
      dist/fineui.ie.js.map
  23. 64
      dist/fineui.ie.min.js
  24. 2
      dist/fineui.ie.min.js.map
  25. 17
      dist/fineui.js
  26. 2
      dist/fineui.js.map
  27. 60
      dist/fineui.min.js
  28. 2
      dist/fineui.min.js.map
  29. 17
      dist/fineui_without_jquery_polyfill.js
  30. 2
      dist/fineui_without_jquery_polyfill.js.map
  31. 2
      dist/utils.min.js
  32. 3
      dist/widget.js
  33. 2
      dist/widget.js.map
  34. 3
      src/case/button/item.singleselect.radio.js

17
dist/2.0/fineui.ie.js vendored

@ -42930,7 +42930,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -42963,6 +42963,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -43024,7 +43031,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {
@ -52528,7 +52535,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",
@ -67181,8 +67189,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/2.0/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

17
dist/2.0/fineui.js vendored

@ -43333,7 +43333,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -43366,6 +43366,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -43427,7 +43434,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {
@ -52931,7 +52938,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",
@ -67584,8 +67592,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

60
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

11
dist/base.js vendored

@ -4937,7 +4937,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -4970,6 +4970,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -5031,7 +5038,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {

2
dist/base.js.map vendored

File diff suppressed because one or more lines are too long

17
dist/bundle.ie.js vendored

@ -42930,7 +42930,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -42963,6 +42963,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -43024,7 +43031,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {
@ -52528,7 +52535,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",
@ -67181,8 +67189,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/bundle.ie.js.map vendored

File diff suppressed because one or more lines are too long

38
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

17
dist/bundle.js vendored

@ -43333,7 +43333,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -43366,6 +43366,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -43427,7 +43434,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {
@ -52931,7 +52938,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",
@ -67584,8 +67592,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/bundle.js.map vendored

File diff suppressed because one or more lines are too long

60
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js.map vendored

File diff suppressed because one or more lines are too long

3
dist/case.js vendored

@ -360,7 +360,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",

2
dist/case.js.map vendored

File diff suppressed because one or more lines are too long

17
dist/fineui.ie.js vendored

@ -43177,7 +43177,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -43210,6 +43210,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -43271,7 +43278,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {
@ -52775,7 +52782,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",
@ -67428,8 +67436,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

64
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

17
dist/fineui.js vendored

@ -43580,7 +43580,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -43613,6 +43613,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -43674,7 +43681,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {
@ -53178,7 +53185,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",
@ -67831,8 +67839,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

60
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

17
dist/fineui_without_jquery_polyfill.js vendored

@ -30676,7 +30676,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
_search: function () {
var self = this, o = this.options, keyword = this.editor.getValue();
var self = this, o = this.options, keyword = this._getLastSearchKeyword();
if (keyword === "" || this._stop) {
return;
}
@ -30709,6 +30709,13 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_getLastSearchKeyword: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
}
},
setAdapter: function (adapter) {
this.options.adapter = adapter;
BI.Maskers.remove(this.getName());
@ -30770,7 +30777,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this._getLastSearchKeyword();
},
getKeywords: function () {
@ -37289,7 +37296,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",
@ -50111,8 +50119,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/widget.js vendored

@ -5190,8 +5190,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
getValue: function () {
if (this.isValid()) {
var res = this.editor.getValue().match(/[\S]+/g);
return BI.isNull(res) ? "" : res[res.length - 1];
return this.editor.getValue();
}
},

2
dist/widget.js.map vendored

File diff suppressed because one or more lines are too long

3
src/case/button/item.singleselect.radio.js

@ -18,7 +18,8 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
BI.SingleSelectRadioItem.superclass._init.apply(this, arguments);
var self = this, o = this.options;
this.radio = BI.createWidget({
type: "bi.radio"
type: "bi.radio",
once: o.once
});
this.text = BI.createWidget({
type: "bi.label",

Loading…
Cancel
Save