Browse Source

BI-24466

es6
guy 7 years ago
parent
commit
11cd7635cc
  1. 18
      dist/_fineui.min.js
  2. 4
      dist/bundle.js
  3. 18
      dist/bundle.min.js
  4. 4
      dist/fineui.js
  5. 18
      dist/fineui.min.js
  6. 4
      dist/widget.js
  7. 4
      src/widget/multiselect/trigger/searcher.multiselect.js

18
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/bundle.js vendored

@ -99774,7 +99774,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var keywords = this.getKeywords(); var keywords = this.getKeywords();
self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords); self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords);
}); });
if(BI.isNotNull(o.value)){ if (BI.isNotNull(o.value)) {
this.setState(o.value); this.setState(o.value);
} }
}, },
@ -99830,6 +99830,8 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
} else { } else {
if (ob.value.length === 0) { if (ob.value.length === 0) {
this.editor.setState(BI.Selection.None); this.editor.setState(BI.Selection.None);
} else if (BI.size(ob.assist) === 0) {
this.editor.setState(BI.Selection.All);
} else if (BI.size(ob.value) <= 20) { } else if (BI.size(ob.value) <= 20) {
var state = ""; var state = "";
BI.each(ob.value, function (i, v) { BI.each(ob.value, function (i, v) {

18
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.js vendored

@ -100017,7 +100017,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var keywords = this.getKeywords(); var keywords = this.getKeywords();
self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords); self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords);
}); });
if(BI.isNotNull(o.value)){ if (BI.isNotNull(o.value)) {
this.setState(o.value); this.setState(o.value);
} }
}, },
@ -100073,6 +100073,8 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
} else { } else {
if (ob.value.length === 0) { if (ob.value.length === 0) {
this.editor.setState(BI.Selection.None); this.editor.setState(BI.Selection.None);
} else if (BI.size(ob.assist) === 0) {
this.editor.setState(BI.Selection.All);
} else if (BI.size(ob.value) <= 20) { } else if (BI.size(ob.value) <= 20) {
var state = ""; var state = "";
BI.each(ob.value, function (i, v) { BI.each(ob.value, function (i, v) {

18
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/widget.js vendored

@ -12150,7 +12150,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var keywords = this.getKeywords(); var keywords = this.getKeywords();
self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords); self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords);
}); });
if(BI.isNotNull(o.value)){ if (BI.isNotNull(o.value)) {
this.setState(o.value); this.setState(o.value);
} }
}, },
@ -12206,6 +12206,8 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
} else { } else {
if (ob.value.length === 0) { if (ob.value.length === 0) {
this.editor.setState(BI.Selection.None); this.editor.setState(BI.Selection.None);
} else if (BI.size(ob.assist) === 0) {
this.editor.setState(BI.Selection.All);
} else if (BI.size(ob.value) <= 20) { } else if (BI.size(ob.value) <= 20) {
var state = ""; var state = "";
BI.each(ob.value, function (i, v) { BI.each(ob.value, function (i, v) {

4
src/widget/multiselect/trigger/searcher.multiselect.js

@ -76,7 +76,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
var keywords = this.getKeywords(); var keywords = this.getKeywords();
self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords); self.fireEvent(BI.MultiSelectSearcher.EVENT_SEARCHING, keywords);
}); });
if(BI.isNotNull(o.value)){ if (BI.isNotNull(o.value)) {
this.setState(o.value); this.setState(o.value);
} }
}, },
@ -132,6 +132,8 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
} else { } else {
if (ob.value.length === 0) { if (ob.value.length === 0) {
this.editor.setState(BI.Selection.None); this.editor.setState(BI.Selection.None);
} else if (BI.size(ob.assist) === 0) {
this.editor.setState(BI.Selection.All);
} else if (BI.size(ob.value) <= 20) { } else if (BI.size(ob.value) <= 20) {
var state = ""; var state = "";
BI.each(ob.value, function (i, v) { BI.each(ob.value, function (i, v) {

Loading…
Cancel
Save