Browse Source

BI-31270

es6
iapyang 6 years ago
parent
commit
638542615f
  1. 29
      dist/bundle.js
  2. 58
      dist/bundle.min.js
  3. 29
      dist/fineui.js
  4. 58
      dist/fineui.min.js
  5. 29
      dist/fineui_without_jquery_polyfill.js
  6. 29
      dist/fix/fix.js
  7. 2
      dist/utils.min.js

29
dist/bundle.js vendored

@ -34946,6 +34946,16 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return watchers;
}
var mixinInjection = {};
function getMixins(type) {
return mixinInjection[type];
}
function mixin(xtype, cls) {
mixinInjection[xtype] = _.cloneDeep(cls);
}
var computedWatcherOptions = { lazy: true };
function initState(vm, state) {
@ -35050,6 +35060,22 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
}
function initMixins(vm, mixins) {
mixins = mixins || [];
_.each(mixins.reverse(), function (mixinType) {
var mixin$$1 = getMixins(mixinType);
for (var key in mixin$$1) {
if (typeof mixin$$1[key] !== "function") continue;
if (_.has(vm, key)) continue;
vm[key] = _.bind(mixin$$1[key], vm.$$model ? vm.model : vm);
}
});
}
function defineProps(vm, keys) {
var props = {};
// if (typeof Proxy === 'function') {
@ -35177,6 +35203,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var watch$$1 = this.watch;
var actions = this.actions;
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []);
var mixins = this.mixins;
defineProps(this, keys);
childContext && defineContext(this, childContext);
this.$$model && (this.model.__ob__ = this.$$model.__ob__);
@ -35185,6 +35212,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
initComputed(this, computed);
initWatch(this, watch$$1);
initMethods(this, actions);
initMixins(this, mixins);
this.created && this.created();
if (this.$$model) {
return this.model;
@ -35241,6 +35269,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
exports.define = define;
exports.version = version;
exports.$$skipArray = $$skipArray;
exports.mixin = mixin;
exports.Model = Model;
exports.observerState = observerState;
exports.Observer = Observer;

58
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

29
dist/fineui.js vendored

@ -35187,6 +35187,16 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return watchers;
}
var mixinInjection = {};
function getMixins(type) {
return mixinInjection[type];
}
function mixin(xtype, cls) {
mixinInjection[xtype] = _.cloneDeep(cls);
}
var computedWatcherOptions = { lazy: true };
function initState(vm, state) {
@ -35291,6 +35301,22 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
}
function initMixins(vm, mixins) {
mixins = mixins || [];
_.each(mixins.reverse(), function (mixinType) {
var mixin$$1 = getMixins(mixinType);
for (var key in mixin$$1) {
if (typeof mixin$$1[key] !== "function") continue;
if (_.has(vm, key)) continue;
vm[key] = _.bind(mixin$$1[key], vm.$$model ? vm.model : vm);
}
});
}
function defineProps(vm, keys) {
var props = {};
// if (typeof Proxy === 'function') {
@ -35418,6 +35444,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var watch$$1 = this.watch;
var actions = this.actions;
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []);
var mixins = this.mixins;
defineProps(this, keys);
childContext && defineContext(this, childContext);
this.$$model && (this.model.__ob__ = this.$$model.__ob__);
@ -35426,6 +35453,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
initComputed(this, computed);
initWatch(this, watch$$1);
initMethods(this, actions);
initMixins(this, mixins);
this.created && this.created();
if (this.$$model) {
return this.model;
@ -35482,6 +35510,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
exports.define = define;
exports.version = version;
exports.$$skipArray = $$skipArray;
exports.mixin = mixin;
exports.Model = Model;
exports.observerState = observerState;
exports.Observer = Observer;

58
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

29
dist/fineui_without_jquery_polyfill.js vendored

@ -23979,6 +23979,16 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return watchers;
}
var mixinInjection = {};
function getMixins(type) {
return mixinInjection[type];
}
function mixin(xtype, cls) {
mixinInjection[xtype] = _.cloneDeep(cls);
}
var computedWatcherOptions = { lazy: true };
function initState(vm, state) {
@ -24083,6 +24093,22 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
}
function initMixins(vm, mixins) {
mixins = mixins || [];
_.each(mixins.reverse(), function (mixinType) {
var mixin$$1 = getMixins(mixinType);
for (var key in mixin$$1) {
if (typeof mixin$$1[key] !== "function") continue;
if (_.has(vm, key)) continue;
vm[key] = _.bind(mixin$$1[key], vm.$$model ? vm.model : vm);
}
});
}
function defineProps(vm, keys) {
var props = {};
// if (typeof Proxy === 'function') {
@ -24210,6 +24236,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var watch$$1 = this.watch;
var actions = this.actions;
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []);
var mixins = this.mixins;
defineProps(this, keys);
childContext && defineContext(this, childContext);
this.$$model && (this.model.__ob__ = this.$$model.__ob__);
@ -24218,6 +24245,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
initComputed(this, computed);
initWatch(this, watch$$1);
initMethods(this, actions);
initMixins(this, mixins);
this.created && this.created();
if (this.$$model) {
return this.model;
@ -24274,6 +24302,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
exports.define = define;
exports.version = version;
exports.$$skipArray = $$skipArray;
exports.mixin = mixin;
exports.Model = Model;
exports.observerState = observerState;
exports.Observer = Observer;

29
dist/fix/fix.js vendored

@ -1069,6 +1069,16 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return watchers;
}
var mixinInjection = {};
function getMixins(type) {
return mixinInjection[type];
}
function mixin(xtype, cls) {
mixinInjection[xtype] = _.cloneDeep(cls);
}
var computedWatcherOptions = { lazy: true };
function initState(vm, state) {
@ -1173,6 +1183,22 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
}
function initMixins(vm, mixins) {
mixins = mixins || [];
_.each(mixins.reverse(), function (mixinType) {
var mixin$$1 = getMixins(mixinType);
for (var key in mixin$$1) {
if (typeof mixin$$1[key] !== "function") continue;
if (_.has(vm, key)) continue;
vm[key] = _.bind(mixin$$1[key], vm.$$model ? vm.model : vm);
}
});
}
function defineProps(vm, keys) {
var props = {};
// if (typeof Proxy === 'function') {
@ -1300,6 +1326,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var watch$$1 = this.watch;
var actions = this.actions;
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []);
var mixins = this.mixins;
defineProps(this, keys);
childContext && defineContext(this, childContext);
this.$$model && (this.model.__ob__ = this.$$model.__ob__);
@ -1308,6 +1335,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
initComputed(this, computed);
initWatch(this, watch$$1);
initMethods(this, actions);
initMixins(this, mixins);
this.created && this.created();
if (this.$$model) {
return this.model;
@ -1364,6 +1392,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
exports.define = define;
exports.version = version;
exports.$$skipArray = $$skipArray;
exports.mixin = mixin;
exports.Model = Model;
exports.observerState = observerState;
exports.Observer = Observer;

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save