@aurigma/design-atoms-model
Advanced tools
Comparing version 7.0.4 to 7.0.5
@@ -127,3 +127,3 @@ import { PointF } from "./PointF"; | ||
throw new ArgumentException("object cannot be null"); | ||
if (!_.isNumber(object[key1]) || !_.isNumber(object[key1])) | ||
if (!_.isNumber(object[key1]) || !_.isNumber(object[key2])) | ||
throw new ArgumentException("object members by given keys nust be a numbers!"); | ||
@@ -130,0 +130,0 @@ var resultPoint = this.transformPoint(new PointF(object[key1], object[key2])); |
@@ -277,3 +277,3 @@ import { RectangleF } from "./RectangleF"; | ||
result.center = newCenter; | ||
var widthSign = (Math.sign(a.width) === -1 || Math.sign(a.width) === -1) ? -1 : 1; | ||
var widthSign = (Math.sign(a.width) === -1 || Math.sign(b.width) === -1) ? -1 : 1; | ||
var heightSign = (Math.sign(a.height) === -1 || Math.sign(b.height) === -1) ? -1 : 1; | ||
@@ -280,0 +280,0 @@ result.width = bounds.width * widthSign; |
{ | ||
"version": "7.0.4", | ||
"version": "7.0.5", | ||
"name": "@aurigma/design-atoms-model", | ||
@@ -4,0 +4,0 @@ "license": "SEE LICENSE IN License.md", |
@@ -89,3 +89,3 @@ import { SizeF } from "../../Math/index"; | ||
var floatValue_1 = parseFloat(numberString); | ||
if (floatValue_1 !== NaN) { | ||
if (!isNaN(floatValue_1)) { | ||
return { value: floatValue_1, measureType: MeasureKind.Percent }; | ||
@@ -97,3 +97,3 @@ } | ||
var floatValue_2 = parseFloat(numberString); | ||
if (floatValue_2 !== NaN) { | ||
if (!isNaN(floatValue_2)) { | ||
return { value: floatValue_2, measureType: MeasureKind.Pixel }; | ||
@@ -100,0 +100,0 @@ } |
/** @hidden */ | ||
/** Don't include in docs */ | ||
export declare const MODELVERSION = "7.0.4"; | ||
export declare const MODELVERSION = "7.0.5"; |
/** @hidden */ | ||
/** Don't include in docs */ | ||
export var MODELVERSION = "7.0.4"; | ||
export var MODELVERSION = "7.0.5"; | ||
//# sourceMappingURL=Version.js.map |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1310021