guy 7 years ago
parent
commit
a359e3f05e
  1. 2
      dist/_fineui.min.js
  2. 9
      dist/bundle.js
  3. 4
      dist/bundle.min.js
  4. 9
      dist/fineui.js
  5. 2
      dist/fineui.min.js
  6. 9
      dist/widget.js
  7. 9
      src/component/valuechooser/pane.valuechooser.js

2
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/bundle.js vendored

@ -111783,9 +111783,6 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
_init: function () {
BI.ValueChooserPane.superclass._init.apply(this, arguments);
var self = this, o = this.options;
if (BI.isNotNull(o.items)) {
this.items = o.items;
}
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
@ -111796,6 +111793,10 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () {
self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE);
});
if (BI.isNotNull(o.items)) {
this.items = o.items;
this.list.populate();
}
},
setValue: function (v) {
@ -111812,7 +111813,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
items && (this.items = items);
this.list.populate.apply(this.list, arguments);
}
});

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/fineui.js vendored

@ -112026,9 +112026,6 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
_init: function () {
BI.ValueChooserPane.superclass._init.apply(this, arguments);
var self = this, o = this.options;
if (BI.isNotNull(o.items)) {
this.items = o.items;
}
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
@ -112039,6 +112036,10 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () {
self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE);
});
if (BI.isNotNull(o.items)) {
this.items = o.items;
this.list.populate();
}
},
setValue: function (v) {
@ -112055,7 +112056,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
items && (this.items = items);
this.list.populate.apply(this.list, arguments);
}
});

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/widget.js vendored

@ -24223,9 +24223,6 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
_init: function () {
BI.ValueChooserPane.superclass._init.apply(this, arguments);
var self = this, o = this.options;
if (BI.isNotNull(o.items)) {
this.items = o.items;
}
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
@ -24236,6 +24233,10 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () {
self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE);
});
if (BI.isNotNull(o.items)) {
this.items = o.items;
this.list.populate();
}
},
setValue: function (v) {
@ -24252,7 +24253,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
items && (this.items = items);
this.list.populate.apply(this.list, arguments);
}
});

9
src/component/valuechooser/pane.valuechooser.js

@ -20,9 +20,6 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
_init: function () {
BI.ValueChooserPane.superclass._init.apply(this, arguments);
var self = this, o = this.options;
if (BI.isNotNull(o.items)) {
this.items = o.items;
}
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
@ -33,6 +30,10 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list.on(BI.MultiSelectList.EVENT_CHANGE, function () {
self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE);
});
if (BI.isNotNull(o.items)) {
this.items = o.items;
this.list.populate();
}
},
setValue: function (v) {
@ -49,7 +50,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
items && (this.items = items);
this.list.populate.apply(this.list, arguments);
}
});

Loading…
Cancel
Save