Browse Source

Pull request #1379: 无JIRA 复选下拉树和下拉列表添加showView和hideVIew方法

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '2f3c1f2e6fa40fc88b5da175f1ebd8d70b030a5c':
  update
  无JIRA 复选下拉树和下拉列表添加showView和hideVIew方法
es6
windy 5 years ago
parent
commit
e9515e7015
  1. 1
      changelog.md
  2. 8
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  3. 8
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  4. 8
      src/component/treevaluechooser/combo.treevaluechooser.js
  5. 8
      src/widget/multiselect/multiselect.combo.js
  6. 8
      src/widget/multiselect/multiselect.combo.nobar.js
  7. 8
      src/widget/multiselect/multiselect.insert.combo.js
  8. 8
      src/widget/multiselect/multiselect.insert.combo.nobar.js
  9. 8
      src/widget/multitree/multi.tree.combo.js
  10. 8
      src/widget/multitree/multi.tree.insert.combo.js
  11. 8
      src/widget/multitree/multi.tree.list.combo.js

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志
2.0(2020-07)
- 复选下拉树和下拉列表添加showView和hideVIew方法
- number_editor支持自动检测数值与范围是否合法
- 修复了颜色选择器设置值为null的时候,trigger和popup表现不一致的问题

8
src/component/treevaluechooser/combo.listtreevaluechooser.js

@ -76,6 +76,14 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
});
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.combo.setValue(v);
},

8
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -75,6 +75,14 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
});
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.combo.setValue(v);
},

8
src/component/treevaluechooser/combo.treevaluechooser.js

@ -75,6 +75,14 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
});
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.combo.setValue(v);
},

8
src/widget/multiselect/multiselect.combo.js

@ -425,6 +425,14 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = v || {};
this._assertValue(this.storeValue);

8
src/widget/multiselect/multiselect.combo.nobar.js

@ -418,6 +418,14 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = {
type: BI.Selection.Multi,

8
src/widget/multiselect/multiselect.insert.combo.js

@ -443,6 +443,14 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = v || {};
this._assertValue(this.storeValue);

8
src/widget/multiselect/multiselect.insert.combo.nobar.js

@ -438,6 +438,14 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
this.combo.populate.apply(this.combo, arguments);
},
showView:function (){
this.combo.showView();
},
hideView:function (){
this.combo.hideView();
},
setValue: function (v) {
this.storeValue = {
type: BI.Selection.Multi,

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

@ -311,6 +311,14 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.storeValue.value = v || {};
this.combo.setValue({

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

@ -326,6 +326,14 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.storeValue.value = v || {};
this.combo.setValue({

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

@ -350,6 +350,14 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
showView: function () {
this.combo.showView();
},
hideView: function () {
this.combo.hideView();
},
setValue: function (v) {
this.storeValue.value = v || [];
this.combo.setValue({

Loading…
Cancel
Save