Browse Source

Merge pull request #366 in FUI/fineui from ~WINDY/fui:master to master

* commit 'a81b830aa5eaf4525aa081e0fefb5eefa1dbc297':
  update
  update
es6
guy 7 years ago
parent
commit
a59aea3229
  1. 14
      dist/_fineui.min.js
  2. 14
      dist/bundle.js
  3. 16
      dist/bundle.min.js
  4. 14
      dist/fineui.min.js
  5. 14
      dist/widget.js
  6. 8
      src/widget/multiselectlist/multiselectlist.insert.js
  7. 6
      src/widget/singleselect/singleselectlist.insert.js

14
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/bundle.js vendored

@ -98699,7 +98699,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
BI.MultiSelectInsertList.superclass._init.apply(this, arguments); BI.MultiSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = {}; this.storeValue = o.value || {};
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -98715,7 +98715,8 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
dynamic: false dynamic: false
}, },
// onLoaded: o.onLoaded, // onLoaded: o.onLoaded,
el: {} el: {},
value: o.value
}); });
this.adapter.on(BI.MultiSelectLoader.EVENT_CHANGE, function () { this.adapter.on(BI.MultiSelectLoader.EVENT_CHANGE, function () {
self.storeValue = this.getValue(); self.storeValue = this.getValue();
@ -98832,7 +98833,8 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
}); });
} }
} }
}] }],
value: o.value
}); });
BI.createWidget({ BI.createWidget({
@ -104430,7 +104432,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
BI.SingleSelectInsertList.superclass._init.apply(this, arguments); BI.SingleSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = {}; this.storeValue = o.value || {};
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -104446,7 +104448,8 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
dynamic: false dynamic: false
}, },
// onLoaded: o.onLoaded, // onLoaded: o.onLoaded,
el: {} el: {},
value: o.value
}); });
this.adapter.on(BI.SingleSelectLoader.EVENT_CHANGE, function () { this.adapter.on(BI.SingleSelectLoader.EVENT_CHANGE, function () {
self.storeValue = this.getValue(); self.storeValue = this.getValue();
@ -104480,6 +104483,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
popup: this.searcherPane, popup: this.searcherPane,
height: 200, height: 200,
masker: false, masker: false,
value: o.value,
listeners: [{ listeners: [{
eventName: BI.Searcher.EVENT_START, eventName: BI.Searcher.EVENT_START,
action: function () { action: function () {

16
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/widget.js vendored

@ -11543,7 +11543,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
BI.MultiSelectInsertList.superclass._init.apply(this, arguments); BI.MultiSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = {}; this.storeValue = o.value || {};
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -11559,7 +11559,8 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
dynamic: false dynamic: false
}, },
// onLoaded: o.onLoaded, // onLoaded: o.onLoaded,
el: {} el: {},
value: o.value
}); });
this.adapter.on(BI.MultiSelectLoader.EVENT_CHANGE, function () { this.adapter.on(BI.MultiSelectLoader.EVENT_CHANGE, function () {
self.storeValue = this.getValue(); self.storeValue = this.getValue();
@ -11676,7 +11677,8 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
}); });
} }
} }
}] }],
value: o.value
}); });
BI.createWidget({ BI.createWidget({
@ -17274,7 +17276,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
BI.SingleSelectInsertList.superclass._init.apply(this, arguments); BI.SingleSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = {}; this.storeValue = o.value || {};
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -17290,7 +17292,8 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
dynamic: false dynamic: false
}, },
// onLoaded: o.onLoaded, // onLoaded: o.onLoaded,
el: {} el: {},
value: o.value
}); });
this.adapter.on(BI.SingleSelectLoader.EVENT_CHANGE, function () { this.adapter.on(BI.SingleSelectLoader.EVENT_CHANGE, function () {
self.storeValue = this.getValue(); self.storeValue = this.getValue();
@ -17324,6 +17327,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
popup: this.searcherPane, popup: this.searcherPane,
height: 200, height: 200,
masker: false, masker: false,
value: o.value,
listeners: [{ listeners: [{
eventName: BI.Searcher.EVENT_START, eventName: BI.Searcher.EVENT_START,
action: function () { action: function () {

8
src/widget/multiselectlist/multiselectlist.insert.js

@ -13,7 +13,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
BI.MultiSelectInsertList.superclass._init.apply(this, arguments); BI.MultiSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = {}; this.storeValue = o.value || {};
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -29,7 +29,8 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
dynamic: false dynamic: false
}, },
// onLoaded: o.onLoaded, // onLoaded: o.onLoaded,
el: {} el: {},
value: o.value
}); });
this.adapter.on(BI.MultiSelectLoader.EVENT_CHANGE, function () { this.adapter.on(BI.MultiSelectLoader.EVENT_CHANGE, function () {
self.storeValue = this.getValue(); self.storeValue = this.getValue();
@ -146,7 +147,8 @@ BI.MultiSelectInsertList = BI.inherit(BI.Widget, {
}); });
} }
} }
}] }],
value: o.value
}); });
BI.createWidget({ BI.createWidget({

6
src/widget/singleselect/singleselectlist.insert.js

@ -15,7 +15,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
BI.SingleSelectInsertList.superclass._init.apply(this, arguments); BI.SingleSelectInsertList.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
this.storeValue = {}; this.storeValue = o.value || {};
var assertShowValue = function () { var assertShowValue = function () {
BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue); BI.isKey(self._startValue) && self.storeValue.value[self.storeValue.type === BI.Selection.All ? "remove" : "pushDistinct"](self._startValue);
@ -31,7 +31,8 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
dynamic: false dynamic: false
}, },
// onLoaded: o.onLoaded, // onLoaded: o.onLoaded,
el: {} el: {},
value: o.value
}); });
this.adapter.on(BI.SingleSelectLoader.EVENT_CHANGE, function () { this.adapter.on(BI.SingleSelectLoader.EVENT_CHANGE, function () {
self.storeValue = this.getValue(); self.storeValue = this.getValue();
@ -65,6 +66,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
popup: this.searcherPane, popup: this.searcherPane,
height: 200, height: 200,
masker: false, masker: false,
value: o.value,
listeners: [{ listeners: [{
eventName: BI.Searcher.EVENT_START, eventName: BI.Searcher.EVENT_START,
action: function () { action: function () {

Loading…
Cancel
Save