Browse Source

搜索后选值显示的是已选择

es6
windy 5 years ago
parent
commit
173293e312
  1. 6
      dist/2.0/fineui.ie.js
  2. 6
      dist/2.0/fineui.js
  3. 6
      dist/bundle.ie.js
  4. 6
      dist/bundle.js
  5. 2
      dist/demo.js
  6. 6
      dist/fineui.ie.js
  7. 6
      dist/fineui.js
  8. 6
      dist/fineui_without_jquery_polyfill.js
  9. 6
      dist/widget.js
  10. 2
      src/widget/multitree/multi.tree.combo.js
  11. 2
      src/widget/multitree/multi.tree.insert.combo.js
  12. 2
      src/widget/multitree/multi.tree.list.combo.js

6
dist/2.0/fineui.ie.js vendored

@ -75782,7 +75782,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -76085,7 +76085,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -76401,7 +76401,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

6
dist/2.0/fineui.js vendored

@ -76186,7 +76186,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -76489,7 +76489,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -76805,7 +76805,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

6
dist/bundle.ie.js vendored

@ -75782,7 +75782,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -76085,7 +76085,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -76401,7 +76401,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

6
dist/bundle.js vendored

@ -76186,7 +76186,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -76489,7 +76489,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -76805,7 +76805,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

2
dist/demo.js vendored

@ -3308,7 +3308,7 @@ BI.shortcut("demo.center", Demo.Center);Demo.TreeValueChooser = BI.inherit(BI.Wi
render: function () { render: function () {
var widget = BI.createWidget({ var widget = BI.createWidget({
type: "bi.tree_value_chooser_combo", type: "bi.list_tree_value_chooser_insert_combo",
width: 300, width: 300,
// items: BI.deepClone(Demo.CONSTANTS.TREEITEMS), // items: BI.deepClone(Demo.CONSTANTS.TREEITEMS),
itemsCreator: function (op, callback) { itemsCreator: function (op, callback) {

6
dist/fineui.ie.js vendored

@ -76027,7 +76027,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -76330,7 +76330,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -76646,7 +76646,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

6
dist/fineui.js vendored

@ -76431,7 +76431,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -76734,7 +76734,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -77050,7 +77050,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

6
dist/fineui_without_jquery_polyfill.js vendored

@ -58733,7 +58733,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -59036,7 +59036,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -59352,7 +59352,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

6
dist/widget.js vendored

@ -13847,7 +13847,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });
@ -14150,7 +14150,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });
@ -14466,7 +14466,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

2
src/widget/multitree/multi.tree.combo.js

@ -189,7 +189,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM);
}); });

2
src/widget/multitree/multi.tree.insert.combo.js

@ -206,7 +206,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

2
src/widget/multitree/multi.tree.list.combo.js

@ -214,7 +214,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? this.getValue() : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(val);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
}); });

Loading…
Cancel
Save