Young 7 years ago
parent
commit
276a623f68
  1. 3
      dist/bundle.js
  2. 3
      dist/case.js
  3. 24
      dist/fineui.js
  4. 3
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js

3
dist/bundle.js vendored

@ -67811,8 +67811,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 30,
value: "", value: ""
el: {}
}); });
}, },

3
dist/case.js vendored

@ -5474,8 +5474,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 30,
value: "", value: ""
el: {}
}); });
}, },

24
dist/fineui.js vendored

@ -27351,11 +27351,11 @@ Data.Source = BISource = {
} }
this._parent = Model.target; this._parent = Model.target;
var state = _.isFunction(this.state) ? this.state() : this.state; var state = _.isFunction(this.state) ? this.state() : this.state;
var computed = _.isFunction(this.computed) ? this.computed() : this.computed; var computed = this.computed;
var context = _.isFunction(this.context) ? this.context() : this.context; var context = this.context;
var childContext = _.isFunction(this.childContext) ? this.childContext() : this.childContext; var childContext = this.childContext;
var watch$$1 = _.isFunction(this.watch) ? this.watch() : this.watch; var watch$$1 = this.watch;
var actions = _.isFunction(this.actions) ? this.actions() : this.actions; var actions = this.actions;
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []); var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []);
defineProps(this, keys); defineProps(this, keys);
childContext && defineContext(this, childContext); childContext && defineContext(this, childContext);
@ -27392,13 +27392,6 @@ Data.Source = BISource = {
return Model; return Model;
}(); }();
Model.prototype.state = {};
Model.prototype.computed = {};
Model.prototype.context = [];
Model.prototype.childContext = [];
Model.prototype.watch = {};
Model.prototype.actions = {};
function toJSON(model) { function toJSON(model) {
var result = void 0; var result = void 0;
if (_.isArray(model)) { if (_.isArray(model)) {
@ -27560,10 +27553,14 @@ Data.Source = BISource = {
var _render = BI.Widget.prototype._render; var _render = BI.Widget.prototype._render;
BI.Widget.prototype._render = function () { BI.Widget.prototype._render = function () {
var needPop = false;
if (window.Fix && this._store) { if (window.Fix && this._store) {
needPop = true;
pushTarget(this.store);
initWatch(this, this.watch); initWatch(this, this.watch);
} }
_render.apply(this, arguments); _render.apply(this, arguments);
needPop && popTarget();
}; };
var unMount = BI.Widget.prototype.__d; var unMount = BI.Widget.prototype.__d;
@ -69540,8 +69537,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 30,
value: "", value: ""
el: {}
}); });
}, },

3
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -7,8 +7,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-icon-text-value-combo", baseClass: "bi-icon-text-value-combo",
height: 30, height: 30,
value: "", value: ""
el: {}
}); });
}, },

Loading…
Cancel
Save