Comparing version 2.1.2 to 2.1.3
{ | ||
"name": "@uxf/core", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "UXF Core", | ||
@@ -5,0 +5,0 @@ "author": "Petr Vejvoda <vejvoda@uxf.cz>", |
@@ -32,3 +32,3 @@ "use strict"; | ||
var resizerImageUrl = function (src, width, height, props) { | ||
var _a = props.fit, fit = _a === void 0 ? "cover" : _a, _b = props.position, position = _b === void 0 ? "center" : _b, toFormat = props.toFormat, trim = props.trim, _c = props.background, background = _c === void 0 ? "FFF" : _c; | ||
var _a = props.fit, fit = _a === void 0 ? "cover" : _a, _b = props.position, position = _b === void 0 ? "center" : _b, _c = props.toFormat, toFormat = _c === void 0 ? src === null || src === void 0 ? void 0 : src.extension : _c, _d = props.trim, trim = _d === void 0 ? "not-trim" : _d, _e = props.background, background = _e === void 0 ? "FFF" : _e; | ||
if (!src) { | ||
@@ -50,2 +50,2 @@ return null; | ||
exports.resizerImageUrl = resizerImageUrl; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXplci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlscy9yZXNpemVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQU1BLElBQU0sU0FBUyxHQUFHO0lBQ2QsS0FBSyxFQUFFLElBQUk7SUFDWCxJQUFJLEVBQUUsR0FBRztJQUNULE9BQU8sRUFBRSxJQUFJO0lBQ2IsTUFBTSxFQUFFLElBQUk7SUFDWixPQUFPLEVBQUUsS0FBSztDQUNqQixDQUFDO0FBRUYsSUFBTSxjQUFjLEdBQUc7SUFDbkIsU0FBUyxFQUFFLEdBQUc7SUFDZCxNQUFNLEVBQUUsR0FBRztJQUNYLE1BQU0sRUFBRSxHQUFHO0lBQ1gsTUFBTSxFQUFFLEdBQUc7SUFDWCxPQUFPLEVBQUUsR0FBRztJQUNaLElBQUksRUFBRSxHQU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UksQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJO1FBQzdDLFVBQUcsR0FBRyxDQUFDLFNBQVMsY0FBSSxRQUFRLENBQUU7S0FDakMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7SUFFWixPQUFPLHFCQUFjLEdBQUcsQ0FBQyxTQUFTLGNBQUksR0FBRyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLGNBQUksR0FBRyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLGNBQUksUUFBUSxDQUFFLENBQUM7QUFDakcsQ0FBQyxDQUFDO0FBOUJXLFFBQUEsZUFBZSxtQkE4QjFCIn0= |
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
144341
1751