update typescript and remove reflect-metadata lib

This commit is contained in:
pengfei.zhou
2020-05-16 18:58:32 +08:00
committed by osborn
parent 4d80048d60
commit 0633c1c19d
30 changed files with 3593 additions and 3384 deletions

View File

@@ -222,7 +222,7 @@ var View = /** @class */ (function () {
set: function (v) {
this.x = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(View.prototype, "right", {
@@ -232,7 +232,7 @@ var View = /** @class */ (function () {
set: function (v) {
this.x = v - this.width;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(View.prototype, "top", {
@@ -242,7 +242,7 @@ var View = /** @class */ (function () {
set: function (v) {
this.y = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(View.prototype, "bottom", {
@@ -252,7 +252,7 @@ var View = /** @class */ (function () {
set: function (v) {
this.y = v - this.height;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(View.prototype, "centerX", {
@@ -262,7 +262,7 @@ var View = /** @class */ (function () {
set: function (v) {
this.x = v - this.width / 2;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(View.prototype, "centerY", {
@@ -272,7 +272,7 @@ var View = /** @class */ (function () {
set: function (v) {
this.y = v - this.height / 2;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(View.prototype, "dirtyProps", {
@@ -280,7 +280,7 @@ var View = /** @class */ (function () {
get: function () {
return this.__dirty_props__;
},
enumerable: true,
enumerable: false,
configurable: true
});
View.prototype.onPropertyChanged = function (propKey, oldV, newV) {
@@ -1396,7 +1396,7 @@ var ScaleAnimation = /** @class */ (function (_super) {
set: function (v) {
this.scaleXChangeable.fromValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(ScaleAnimation.prototype, "toScaleX", {
@@ -1406,7 +1406,7 @@ var ScaleAnimation = /** @class */ (function (_super) {
set: function (v) {
this.scaleXChangeable.toValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(ScaleAnimation.prototype, "fromScaleY", {
@@ -1416,7 +1416,7 @@ var ScaleAnimation = /** @class */ (function (_super) {
set: function (v) {
this.scaleYChangeable.fromValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(ScaleAnimation.prototype, "toScaleY", {
@@ -1426,7 +1426,7 @@ var ScaleAnimation = /** @class */ (function (_super) {
set: function (v) {
this.scaleYChangeable.toValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
return ScaleAnimation;
@@ -1456,7 +1456,7 @@ var TranslationAnimation = /** @class */ (function (_super) {
set: function (v) {
this.translationXChangeable.fromValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(TranslationAnimation.prototype, "toTranslationX", {
@@ -1466,7 +1466,7 @@ var TranslationAnimation = /** @class */ (function (_super) {
set: function (v) {
this.translationXChangeable.toValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(TranslationAnimation.prototype, "fromTranslationY", {
@@ -1476,7 +1476,7 @@ var TranslationAnimation = /** @class */ (function (_super) {
set: function (v) {
this.translationYChangeable.fromValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(TranslationAnimation.prototype, "toTranslationY", {
@@ -1486,7 +1486,7 @@ var TranslationAnimation = /** @class */ (function (_super) {
set: function (v) {
this.translationYChangeable.toValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
return TranslationAnimation;
@@ -1510,7 +1510,7 @@ var RotationAnimation = /** @class */ (function (_super) {
set: function (v) {
this.rotationChaneable.fromValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
Object.defineProperty(RotationAnimation.prototype, "toRotation", {
@@ -1520,7 +1520,7 @@ var RotationAnimation = /** @class */ (function (_super) {
set: function (v) {
this.rotationChaneable.toValue = v;
},
enumerable: true,
enumerable: false,
configurable: true
});
return RotationAnimation;
@@ -1541,7 +1541,7 @@ var AnimationSet = /** @class */ (function () {
this._duration = v;
this.animations.forEach(function (e) { return e.duration = v; });
},
enumerable: true,
enumerable: false,
configurable: true
});
AnimationSet.prototype.toModel = function () {
@@ -1927,8 +1927,7 @@ var List = /** @class */ (function (_super) {
}
};
List.prototype.scrollToItem = function (context, index, config) {
var _a;
var animated = (_a = config) === null || _a === void 0 ? void 0 : _a.animated;
var animated = config === null || config === void 0 ? void 0 : config.animated;
return this.nativeChannel(context, 'scrollToItem')({ index: index, animated: animated, });
};
List.prototype.reset = function () {

File diff suppressed because it is too large Load Diff

View File

@@ -1705,7 +1705,7 @@ var doric = (function (exports) {
(module.exports = function (key, value) {
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.6.4',
version: '3.6.5',
mode: 'global',
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
});
@@ -6489,7 +6489,13 @@ var doric = (function (exports) {
defer = functionBindContext(port.postMessage, port, 1);
// Browsers with postMessage, skip WebWorkers
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
} else if (global_1.addEventListener && typeof postMessage == 'function' && !global_1.importScripts && !fails(post)) {
} else if (
global_1.addEventListener &&
typeof postMessage == 'function' &&
!global_1.importScripts &&
!fails(post) &&
location.protocol !== 'file:'
) {
defer = post;
global_1.addEventListener('message', listener, false);
// IE8-
@@ -9861,7 +9867,7 @@ var doric = (function (exports) {
var INVALID_PORT = 'Invalid port';
var ALPHA = /[A-Za-z]/;
var ALPHANUMERIC = /[\d+\-.A-Za-z]/;
var ALPHANUMERIC = /[\d+-.A-Za-z]/;
var DIGIT = /\d/;
var HEX_START = /^(0x|0X)/;
var OCT = /^[0-7]+$/;
@@ -11672,8 +11678,8 @@ var doric = (function (exports) {
if (cleanup != null) { subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function'
? function () { subscription.unsubscribe(); }
: aFunction$1(cleanup); }
} catch (error) {
subscriptionObserver.error(error);
} catch (error$1) {
subscriptionObserver.error(error$1);
return;
} if (subscriptionClosed(subscriptionState)) { cleanupSubscription(subscriptionState); }
};
@@ -13173,7 +13179,7 @@ var doric = (function (exports) {
// some Chrome versions have non-configurable methods on DOMTokenList
if (CollectionPrototype$1[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) { try {
createNonEnumerableProperty(CollectionPrototype$1, METHOD_NAME, es_array_iterator[METHOD_NAME]);
} catch (error) {
} catch (error$1) {
CollectionPrototype$1[METHOD_NAME] = es_array_iterator[METHOD_NAME];
} }
} }

File diff suppressed because it is too large Load Diff