ngx-gravatar
Advanced tools
Comparing version 10.0.0 to 11.0.0
@@ -43,3 +43,3 @@ (function (global, factory) { | ||
rating: exports.RATING.g, | ||
ratio: 2 | ||
ratio: 2, | ||
}; | ||
@@ -63,2 +63,3 @@ | ||
* Generate gravatar url | ||
* | ||
* @param email is a string. If email is not a string, email will be set to empty string "" by default | ||
@@ -96,3 +97,3 @@ * @param md5Hash is a string. If value is given it will take precedence over email. | ||
{ type: i0.Injectable, args: [{ | ||
providedIn: 'root' | ||
providedIn: 'root', | ||
},] } | ||
@@ -104,2 +105,3 @@ ]; | ||
/* eslint-disable @angular-eslint/directive-selector */ | ||
var NgxGravatarDirective = /** @class */ (function () { | ||
@@ -136,7 +138,15 @@ function NgxGravatarDirective(elementRef, renderer, gravatarService) { | ||
this.size = this.computeSize(); | ||
this.ratio = this.ratio === undefined ? this.defaultConfig.ratio : this.ratio; | ||
this.ratio = | ||
this.ratio === undefined ? this.defaultConfig.ratio : this.ratio; | ||
this.requestedSize = this.size * this.ratio; | ||
this.round = this.round === undefined ? this.defaultConfig.round : this.round; | ||
this.cornerRadius = this.cornerRadius === undefined ? this.defaultConfig.cornerRadius : this.cornerRadius; | ||
this.preferGravatar = this.preferGravatar === undefined ? this.defaultConfig.preferGravatar : this.preferGravatar; | ||
this.round = | ||
this.round === undefined ? this.defaultConfig.round : this.round; | ||
this.cornerRadius = | ||
this.cornerRadius === undefined | ||
? this.defaultConfig.cornerRadius | ||
: this.cornerRadius; | ||
this.preferGravatar = | ||
this.preferGravatar === undefined | ||
? this.defaultConfig.preferGravatar | ||
: this.preferGravatar; | ||
}; | ||
@@ -171,2 +181,3 @@ /** | ||
* Compute the size of the avatar | ||
* | ||
* @return size | ||
@@ -192,2 +203,3 @@ */ | ||
* Compute style object | ||
* | ||
* @return style object | ||
@@ -199,7 +211,17 @@ */ | ||
height: this.size + 'px', | ||
borderRadius: this.round ? this.defaultConfig.borderRadius : this.cornerRadius + 'px', | ||
borderStyle: this.defaultConfig.hasBorder || this.borderColor || this.borderWidth ? this.defaultConfig.borderStyle : 'none', | ||
borderColor: this.borderColor ? this.borderColor : this.defaultConfig.borderColor, | ||
borderWidth: this.borderWidth ? this.borderWidth + 'px' : this.defaultConfig.borderWidth + 'px', | ||
backgroundColor: this.backgroundColor ? this.backgroundColor : this.defaultConfig.backgroundColor | ||
borderRadius: this.round | ||
? this.defaultConfig.borderRadius | ||
: this.cornerRadius + 'px', | ||
borderStyle: this.defaultConfig.hasBorder || this.borderColor || this.borderWidth | ||
? this.defaultConfig.borderStyle | ||
: 'none', | ||
borderColor: this.borderColor | ||
? this.borderColor | ||
: this.defaultConfig.borderColor, | ||
borderWidth: this.borderWidth | ||
? this.borderWidth + 'px' | ||
: this.defaultConfig.borderWidth + 'px', | ||
backgroundColor: this.backgroundColor | ||
? this.backgroundColor | ||
: this.defaultConfig.backgroundColor, | ||
}; | ||
@@ -210,2 +232,3 @@ return Object.assign(Object.assign({}, style), this.style); | ||
* Set style for the avatar | ||
* | ||
* @param styles style object | ||
@@ -223,3 +246,3 @@ */ | ||
{ type: i0.Directive, args: [{ | ||
selector: '[ngx-gravatar], [ngxGravatar]' | ||
selector: '[ngx-gravatar], [ngxGravatar]', | ||
},] } | ||
@@ -258,5 +281,5 @@ ]; | ||
provide: GRAVATAR_CONFIG_TOKEN, | ||
useValue: gravatarConfig | ||
} | ||
] | ||
useValue: gravatarConfig, | ||
}, | ||
], | ||
}; | ||
@@ -269,3 +292,3 @@ }; | ||
declarations: [NgxGravatarDirective], | ||
exports: [NgxGravatarDirective] | ||
exports: [NgxGravatarDirective], | ||
},] } | ||
@@ -272,0 +295,0 @@ ]; |
@@ -0,67 +1,91 @@ | ||
# v11.0.0 | ||
- Upgrade to Angular 11 | ||
# v10.0.0 | ||
* Upgrade to Angular 10 | ||
- Upgrade to Angular 10 | ||
# v9.1.0 | ||
* Suppress the deep import warning message | ||
- Suppress the deep import warning message | ||
# v9.0.0 - 9.0.1 | ||
* Upgrade to Angular 9 | ||
- Upgrade to Angular 9 | ||
# v8.1.0 | ||
* BugFix: Electron issue [#9](https://github.com/t-ho/ngx-gravatar/issues/9) | ||
* Export NgxGravatarService | ||
- BugFix: Electron issue [#9](https://github.com/t-ho/ngx-gravatar/issues/9) | ||
- Export NgxGravatarService | ||
# v8.0.0 | ||
* Support Angular 8 | ||
- Support Angular 8 | ||
# v7.2.2 | ||
* BugFix: Gravatar is requested infinitely [#7](https://github.com/t-ho/ngx-gravatar/issues/7) | ||
- BugFix: Gravatar is requested infinitely [#7](https://github.com/t-ho/ngx-gravatar/issues/7) | ||
# v7.2.1 | ||
* Update dependencies | ||
- Update dependencies | ||
# v7.2.0 | ||
* Support hashed email as input parameter [#6](https://github.com/t-ho/ngx-gravatar/pull/6) | ||
- Support hashed email as input parameter [#6](https://github.com/t-ho/ngx-gravatar/pull/6) | ||
# v7.1.0 | ||
* Support `mp` (mystery-person) | ||
- Support `mp` (mystery-person) | ||
# v5.0.0 -> v7.0.0 | ||
* Increase the version to follow Angular version | ||
- Increase the version to follow Angular version | ||
# v4.0.0 | ||
* Update dependencies and README | ||
- Update dependencies and README | ||
# v3.0.5 | ||
* Remove lodash-es lib - [bundlephobia](https://bundlephobia.com/result?p=ngx-gravatar@3.0.5) | ||
- Remove lodash-es lib - [bundlephobia](https://bundlephobia.com/result?p=ngx-gravatar@3.0.5) | ||
# v3.0.4 | ||
* Cherry-pick lodash methods to reduce the bundle size [bundlephobia](https://bundlephobia.com/result?p=ngx-gravatar@3.0.4) | ||
- Cherry-pick lodash methods to reduce the bundle size [bundlephobia](https://bundlephobia.com/result?p=ngx-gravatar@3.0.4) | ||
# v3.0.3 | ||
* Support hi-res screens [#1](https://github.com/t-ho/ngx-gravatar/issues/1) | ||
- Support hi-res screens [#1](https://github.com/t-ho/ngx-gravatar/issues/1) | ||
# v3.0.0 | ||
* Upgrade to Angular 6 | ||
* BreakingChange: `GravatarDefaultConfig` => `GravatarConfig` | ||
* BreakingChange: `FALLBACK_TYPES` => `FALLBACK` | ||
* BreakingChange: `RATING_TYPES` => `RATING` | ||
* BreakingChange: Rating types are now case sensitive | ||
- Upgrade to Angular 6 | ||
- BreakingChange: `GravatarDefaultConfig` => `GravatarConfig` | ||
- BreakingChange: `FALLBACK_TYPES` => `FALLBACK` | ||
- BreakingChange: `RATING_TYPES` => `RATING` | ||
- BreakingChange: Rating types are now case sensitive | ||
# v2.1.3 | ||
* BugFix: Avatar is fetched twice when initializing | ||
- BugFix: Avatar is fetched twice when initializing | ||
# v2.1.1 | ||
* Support camelCase selector `ngxGravatar` | ||
- Support camelCase selector `ngxGravatar` | ||
# v2.1.0 | ||
* Be able to set `backgroundColor` locally and globally | ||
* Be able to set Gravatar `rating` (`g`, `pg`, `r`, `x`) | ||
* BugFix: `ngx-gravatar` tried to load the invalid Gravatar over and over again, spamming the console when invalid Gravata fallback type is passed to `forRoot()` method. | ||
* Remove `@type/lodash` package from dependencies | ||
- Be able to set `backgroundColor` locally and globally | ||
- Be able to set Gravatar `rating` (`g`, `pg`, `r`, `x`) | ||
- BugFix: `ngx-gravatar` tried to load the invalid Gravatar over and over again, spamming the console when invalid Gravata fallback type is passed to `forRoot()` method. | ||
- Remove `@type/lodash` package from dependencies | ||
# v2.0.1 | ||
* Lint and following Angular style guide | ||
- Lint and following Angular style guide | ||
# v2.0.0 | ||
* Gravatar directive for Angular 4 and above | ||
- Gravatar directive for Angular 4 and above |
export {}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhdmF0YXItY29uZmlnLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9yb2J5bnR1Y2tlci1wZWNrL3dzL25neC1ncmF2YXRhci9wcm9qZWN0cy9uZ3gtZ3JhdmF0YXIvc3JjLyIsInNvdXJjZXMiOlsibGliL2dyYXZhdGFyLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRmFsbGJhY2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Ghhc0JvcmRlcj86IGJvb2xlYW47XG4gIGJvcmRlckNvbG9yPzogc3RyaW5nO1xuICBib3JkZXJSYWRpdXM/OiBzdHJpbmc7XG4gIGJvcmRlclN0eWxlPzogc3RyaW5nO1xuICBib3JkZXJXaWR0aD86IG51bWJlcjtcbiAgcm91bmQ/OiBib29sZWFuO1xuICBiYWNrZ3JvdW5kQ29sb3I/OiBzdHJpbmc7XG4gIHJhdGluZz86IFJhdGluZ1R5cGU7XG4gIHJhdGlvPzogbnVtYmVyO1xufVxuIl19 |
@@ -6,2 +6,2 @@ import { InjectionToken } from '@angular/core'; | ||
export const GRAVATAR_CONFIG_TOKEN = new InjectionToken('gravatarCustom.config'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhdmF0YXItY29uZmlnLnRva2VuLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9yb2J5bnR1Y2tlci1wZWNrL3dzL25neC1ncmF2YXRhci9wcm9qZWN0cy9uZ3gtZ3JhdmF0YXIvc3JjLyIsInNvdXJjZXMiOlsibGliL2dyYXZhdGFyLWNvbmZpZy50b2tlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRy9DOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQUcsSUFBSSxjQUFjLENBQWlCLHVCQUF1QixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgR3JhdmF0YXJDb25maWcgfSBmcm9tICcuL2dyYXZhdGFyLWNvbmZpZyc7XG5cbi8qKlxuICogSW5qZWN0aW9uIHRva2VuIGZvciBncmF2YXRhciBjb25maWd1cmF0aW9uXG4gKi9cbmV4cG9ydCBjb25zdCBHUkFWQVRBUl9DT05GSUdfVE9LRU4gPSBuZXcgSW5qZWN0aW9uVG9rZW48R3JhdmF0YXJDb25maWc+KCdncmF2YXRhckN1c3RvbS5jb25maWcnKTtcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhdmF0YXItY29uZmlnLnRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWdyYXZhdGFyL3NyYy9saWIvZ3JhdmF0YXItY29uZmlnLnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0M7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRyxJQUFJLGNBQWMsQ0FDckQsdUJBQXVCLENBQ3hCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgR3JhdmF0YXJDb25maWcgfSBmcm9tICcuL2dyYXZhdGFyLWNvbmZpZyc7XG5cbi8qKlxuICogSW5qZWN0aW9uIHRva2VuIGZvciBncmF2YXRhciBjb25maWd1cmF0aW9uXG4gKi9cbmV4cG9ydCBjb25zdCBHUkFWQVRBUl9DT05GSUdfVE9LRU4gPSBuZXcgSW5qZWN0aW9uVG9rZW48R3JhdmF0YXJDb25maWc+KFxuICAnZ3JhdmF0YXJDdXN0b20uY29uZmlnJ1xuKTtcbiJdfQ== |
@@ -11,5 +11,5 @@ import { NgModule } from '@angular/core'; | ||
provide: GRAVATAR_CONFIG_TOKEN, | ||
useValue: gravatarConfig | ||
} | ||
] | ||
useValue: gravatarConfig, | ||
}, | ||
], | ||
}; | ||
@@ -21,5 +21,5 @@ } | ||
declarations: [NgxGravatarDirective], | ||
exports: [NgxGravatarDirective] | ||
exports: [NgxGravatarDirective], | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhdmF0YXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9yb2J5bnR1Y2tlci1wZWNrL3dzL25neC1ncmF2YXRhci9wcm9qZWN0cy9uZ3gtZ3JhdmF0YXIvc3JjLyIsInNvdXJjZXMiOlsibGliL2dyYXZhdGFyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUF1QixNQUFNLGVBQWUsQ0FBQztBQUc5RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQU1oRSxNQUFNLE9BQU8sY0FBYztJQUN6QixNQUFNLENBQUMsT0FBTyxDQUFDLGNBQThCO1FBQzNDLE9BQU87WUFDTCxRQUFRLEVBQUUsY0FBYztZQUN4QixTQUFTLEVBQUU7Z0JBQ1Q7b0JBQ0UsT0FBTyxFQUFFLHFCQUFxQjtvQkFDOUIsUUFBUSxFQUFFLGNBQWM7aUJBQ3pCO2FBQ0Y7U0FDRixDQUFDO0lBQ0osQ0FBQzs7O1lBZkYsUUFBUSxTQUFDO2dCQUNSLFlBQVksRUFBRSxDQUFDLG9CQUFvQixDQUFDO2dCQUNwQyxPQUFPLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQzthQUNoQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlLCBNb2R1bGVXaXRoUHJvdmlkZXJzIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IEdyYXZhdGFyQ29uZmlnIH0gZnJvbSAnLi9ncmF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VsZVdpdGhQcm92aWRlcnM8R3JhdmF0YXJNb2R1bGU+IHtcbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IEdyYXZhdGFyTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBHUkFWQVRBUl9DT05GSUdfVE9LRU4sXG4gICAgICAgICAgdXNlVmFsdWU6IGdyYXZhdGFyQ29uZmlnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICB9O1xuICB9XG59XG4iXX0= |
@@ -15,4 +15,4 @@ import { FALLBACK, RATING } from './ngx-gravatar.enums'; | ||
rating: RATING.g, | ||
ratio: 2 | ||
ratio: 2, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLmNvbnN0YW50cy5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvcm9ieW50dWNrZXItcGVjay93cy9uZ3gtZ3JhdmF0YXIvcHJvamVjdHMvbmd4LWdyYXZhdGFyL3NyYy8iLCJzb3VyY2VzIjpbImxpYi9uZ3gtZ3JhdmF0YXIuY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFFeEQsTUFBTSxDQUFDLE1BQU0sY0FBYyxHQUFtQjtJQUM1QyxRQUFRLEVBQUUsUUFBUSxDQUFDLEtBQUs7SUFDeEIsSUFBSSxFQUFFLEVBQUU7SUFDUixZQUFZLEVBQUUsQ0FBQztJQUNmLGNBQWMsRUFBRSxLQUFLO0lBQ3JCLFNBQVMsRUFBRSxLQUFLO0lBQ2hCLFdBQVcsRUFBRSxTQUFTO0lBQ3RCLFlBQVksRUFBRSxLQUFLO0lBQ25CLFdBQVcsRUFBRSxPQUFPO0lBQ3BCLFdBQVcsRUFBR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ogUkFUSU5HLmcsXG4gIHJhdGlvOiAyLFxufTtcbiJdfQ== |
@@ -1,2 +0,3 @@ | ||
import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; | ||
/* eslint-disable @angular-eslint/directive-selector */ | ||
import { Directive, ElementRef, Input, Renderer2, } from '@angular/core'; | ||
import { NgxGravatarService } from './ngx-gravatar.service'; | ||
@@ -12,3 +13,3 @@ export class NgxGravatarDirective { | ||
// Listen for error when fetching custom src | ||
this.renderer.listen(this.elementRef.nativeElement, 'error', event => { | ||
this.renderer.listen(this.elementRef.nativeElement, 'error', (event) => { | ||
if (!this.isGravatarUsed) { | ||
@@ -34,7 +35,15 @@ this.initializeAvatar(true); // Force using gravatar | ||
this.size = this.computeSize(); | ||
this.ratio = this.ratio === undefined ? this.defaultConfig.ratio : this.ratio; | ||
this.ratio = | ||
this.ratio === undefined ? this.defaultConfig.ratio : this.ratio; | ||
this.requestedSize = this.size * this.ratio; | ||
this.round = this.round === undefined ? this.defaultConfig.round : this.round; | ||
this.cornerRadius = this.cornerRadius === undefined ? this.defaultConfig.cornerRadius : this.cornerRadius; | ||
this.preferGravatar = this.preferGravatar === undefined ? this.defaultConfig.preferGravatar : this.preferGravatar; | ||
this.round = | ||
this.round === undefined ? this.defaultConfig.round : this.round; | ||
this.cornerRadius = | ||
this.cornerRadius === undefined | ||
? this.defaultConfig.cornerRadius | ||
: this.cornerRadius; | ||
this.preferGravatar = | ||
this.preferGravatar === undefined | ||
? this.defaultConfig.preferGravatar | ||
: this.preferGravatar; | ||
} | ||
@@ -69,2 +78,3 @@ /** | ||
* Compute the size of the avatar | ||
* | ||
* @return size | ||
@@ -90,2 +100,3 @@ */ | ||
* Compute style object | ||
* | ||
* @return style object | ||
@@ -97,7 +108,17 @@ */ | ||
height: this.size + 'px', | ||
borderRadius: this.round ? this.defaultConfig.borderRadius : this.cornerRadius + 'px', | ||
borderStyle: this.defaultConfig.hasBorder || this.borderColor || this.borderWidth ? this.defaultConfig.borderStyle : 'none', | ||
borderColor: this.borderColor ? this.borderColor : this.defaultConfig.borderColor, | ||
borderWidth: this.borderWidth ? this.borderWidth + 'px' : this.defaultConfig.borderWidth + 'px', | ||
backgroundColor: this.backgroundColor ? this.backgroundColor : this.defaultConfig.backgroundColor | ||
borderRadius: this.round | ||
? this.defaultConfig.borderRadius | ||
: this.cornerRadius + 'px', | ||
borderStyle: this.defaultConfig.hasBorder || this.borderColor || this.borderWidth | ||
? this.defaultConfig.borderStyle | ||
: 'none', | ||
borderColor: this.borderColor | ||
? this.borderColor | ||
: this.defaultConfig.borderColor, | ||
borderWidth: this.borderWidth | ||
? this.borderWidth + 'px' | ||
: this.defaultConfig.borderWidth + 'px', | ||
backgroundColor: this.backgroundColor | ||
? this.backgroundColor | ||
: this.defaultConfig.backgroundColor, | ||
}; | ||
@@ -108,6 +129,7 @@ return Object.assign(Object.assign({}, style), this.style); | ||
* Set style for the avatar | ||
* | ||
* @param styles style object | ||
*/ | ||
setStyle(styles) { | ||
Object.keys(styles).forEach(key => { | ||
Object.keys(styles).forEach((key) => { | ||
this.renderer.setStyle(this.elementRef.nativeElement, key, styles[key]); | ||
@@ -119,3 +141,3 @@ }); | ||
{ type: Directive, args: [{ | ||
selector: '[ngx-gravatar], [ngxGravatar]' | ||
selector: '[ngx-gravatar], [ngxGravatar]', | ||
},] } | ||
@@ -144,2 +166,2 @@ ]; | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvcm9ieW50dWNrZXItcGVjay93cy9uZ3gtZ3JhdmF0YXIvcHJvamVjdHMvbmd4LWdyYXZhdGFyL3NyYy8iLCJzb3VyY2VzIjpbImxpYi9uZ3gtZ3JhdmF0YXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEV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Zy5ib3JkZXJXaWR0aCArICdweCcsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6IHRoaXMuYmFja2dyb3VuZENvbG9yXG4gICAgICAgID8gdGhpcy5iYWNrZ3JvdW5kQ29sb3JcbiAgICAgICAgOiB0aGlzLmRlZmF1bHRDb25maWcuYmFja2dyb3VuZENvbG9yLFxuICAgIH07XG4gICAgcmV0dXJuIHsgLi4uc3R5bGUsIC4uLnRoaXMuc3R5bGUgfTtcbiAgfVxuXG4gIC8qKlxuICAgKiBTZXQgc3R5bGUgZm9yIHRoZSBhdmF0YXJcbiAgICpcbiAgICogQHBhcmFtIHN0eWxlcyBzdHlsZSBvYmplY3RcbiAgICovXG4gIHByaXZhdGUgc2V0U3R5bGUoc3R5bGVzOiBhbnkpIHtcbiAgICBPYmplY3Qua2V5cyhzdHlsZXMpLmZvckVhY2goKGtleSkgPT4ge1xuICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwga2V5LCBzdHlsZXNba2V5XSk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -20,2 +20,2 @@ // Visit https://en.gravatar.com/site/implement/images for more information | ||
})(RATING || (RATING = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLmVudW1zLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9yb2J5bnR1Y2tlci1wZWNrL3dzL25neC1ncmF2YXRhci9wcm9qZWN0cy9uZ3gtZ3JhdmF0YXIvc3JjLyIsInNvdXJjZXMiOlsibGliL25neC1ncmF2YXRhci5lbnVtcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwyRUFBMkU7QUFDM0UsTUFBTSxDQUFOLElBQVksUUFTWDtBQVRELFdBQVksUUFBUTtJQUNsQiwyQkFBZSxDQUFBO0lBQ2YsbUNBQXVCLENBQUE7S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dGFyIG9mZmljaWFsIHNpdGUgZm9yIG1vcmUgZGV0YWlsc1xuICBtcCA9ICdtcCcsXG4gIG1vbnN0ZXJpZCA9ICdtb25zdGVyaWQnLFxuICByZXRybyA9ICdyZXRybycsXG4gIHJvYm9oYXNoID0gJ3JvYm9oYXNoJyxcbiAgd2F2YXRhciA9ICd3YXZhdGFyJyxcbn1cblxuZXhwb3J0IGVudW0gUkFUSU5HIHtcbiAgZyA9ICdnJyxcbiAgcGcgPSAncGcnLFxuICByID0gJ3InLFxuICB4ID0gJ3gnLFxufVxuXG5leHBvcnQgdHlwZSBGYWxsYmFja1R5cGUgPSBrZXlvZiB0eXBlb2YgRkFMTEJBQ0s7XG5cbmV4cG9ydCB0eXBlIFJhdGluZ1R5cGUgPSBrZXlvZiB0eXBlb2YgUkFUSU5HO1xuIl19 |
@@ -23,2 +23,3 @@ import { Inject, Injectable, Optional } from '@angular/core'; | ||
* Generate gravatar url | ||
* | ||
* @param email is a string. If email is not a string, email will be set to empty string "" by default | ||
@@ -52,3 +53,3 @@ * @param md5Hash is a string. If value is given it will take precedence over email. | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root' | ||
providedIn: 'root', | ||
},] } | ||
@@ -59,2 +60,2 @@ ]; | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL3JvYnludHVja2VyLXBlY2svd3Mvbmd4LWdyYXZhdGFyL3Byb2plY3RzL25neC1ncmF2YXRhci9zcmMvIiwic291cmNlcyI6WyJsaWIvbmd4LWdyYXZhdGFyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQWtCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RSxPQUFPLEVBQUUsR0FBRyxFQUFF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ZmFsbGJhY2tcbiAgKSB7XG4gICAgbGV0IGVtYWlsSGFzaDogc3RyaW5nIHwgSW50MzJBcnJheTtcbiAgICBpZiAobWQ1SGFzaCkge1xuICAgICAgZW1haWxIYXNoID0gbWQ1SGFzaDtcbiAgICB9IGVsc2Uge1xuICAgICAgdHJ5IHtcbiAgICAgICAgZW1haWwgPSBlbWFpbC50cmltKCkudG9Mb3dlckNhc2UoKTtcbiAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgY29uc29sZS5lcnJvcihcbiAgICAgICAgICBgW25neC1ncmF2YXRhcl0gLSBFbWFpbCAoJHtlbWFpbH0pIGlzIG5vdCBhIHN0cmluZy4gRW1wdHkgc3RyaW5nIGlzIHVzZWQgYXMgYSBkZWZhdWx0IGVtYWlsLmBcbiAgICAgICAgKTtcbiAgICAgICAgZW1haWwgPSAnJztcbiAgICAgIH1cbiAgICAgIGVtYWlsSGFzaCA9IE1kNS5oYXNoU3RyKGVtYWlsKTtcbiAgICB9XG4gICAgcmV0dXJuIGBodHRwczovL3d3dy5ncmF2YXRhci5jb20vYXZhdGFyLyR7ZW1haWxIYXNofT9zPSR7c2l6ZX0mcj0ke3JhdGluZ30mZD0ke2ZhbGxiYWNrfWA7XG4gIH1cbn1cbiJdfQ== |
@@ -7,2 +7,2 @@ /** | ||
export { NgxGravatarDirective as ɵa } from './lib/ngx-gravatar.directive'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9yb2J5bnR1Y2tlci1wZWNrL3dzL25neC1ncmF2YXRhci9wcm9qZWN0cy9uZ3gtZ3JhdmF0YXIvc3JjLyIsInNvdXJjZXMiOlsibmd4LWdyYXZhdGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQU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lbnVtcyc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1ncmF2YXRhci9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV2RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtZ3JhdmF0YXJcbiAqL1xuXG5leHBvcnQgeyBHcmF2YXRhck1vZHVsZSB9IGZyb20gJy4vbGliL2dyYXZhdGFyLm1vZHVsZSc7XG5leHBvcnQgeyBHcmF2YXRhckNvbmZpZyB9IGZyb20gJy4vbGliL2dyYXZhdGFyLWNvbmZpZyc7XG5leHBvcnQgeyBOZ3hHcmF2YXRhclNlcnZpY2UgfSBmcm9tICcuL2xpYi9uZ3gtZ3JhdmF0YXIuc2VydmljZSc7XG5leHBvcnQgeyBGQUxMQkFDSywgUkFUSU5HIH0gZnJvbSAnLi9saWIvbmd4LWdyYXZhdGFyLmVudW1zJztcbiJdfQ== |
@@ -42,3 +42,3 @@ import { InjectionToken, ɵɵdefineInjectable, ɵɵinject, Injectable, Optional, Inject, Directive, ElementRef, Renderer2, Input, NgModule } from '@angular/core'; | ||
rating: RATING.g, | ||
ratio: 2 | ||
ratio: 2, | ||
}; | ||
@@ -62,2 +62,3 @@ | ||
* Generate gravatar url | ||
* | ||
* @param email is a string. If email is not a string, email will be set to empty string "" by default | ||
@@ -91,3 +92,3 @@ * @param md5Hash is a string. If value is given it will take precedence over email. | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root' | ||
providedIn: 'root', | ||
},] } | ||
@@ -99,2 +100,3 @@ ]; | ||
/* eslint-disable @angular-eslint/directive-selector */ | ||
class NgxGravatarDirective { | ||
@@ -109,3 +111,3 @@ constructor(elementRef, renderer, gravatarService) { | ||
// Listen for error when fetching custom src | ||
this.renderer.listen(this.elementRef.nativeElement, 'error', event => { | ||
this.renderer.listen(this.elementRef.nativeElement, 'error', (event) => { | ||
if (!this.isGravatarUsed) { | ||
@@ -131,7 +133,15 @@ this.initializeAvatar(true); // Force using gravatar | ||
this.size = this.computeSize(); | ||
this.ratio = this.ratio === undefined ? this.defaultConfig.ratio : this.ratio; | ||
this.ratio = | ||
this.ratio === undefined ? this.defaultConfig.ratio : this.ratio; | ||
this.requestedSize = this.size * this.ratio; | ||
this.round = this.round === undefined ? this.defaultConfig.round : this.round; | ||
this.cornerRadius = this.cornerRadius === undefined ? this.defaultConfig.cornerRadius : this.cornerRadius; | ||
this.preferGravatar = this.preferGravatar === undefined ? this.defaultConfig.preferGravatar : this.preferGravatar; | ||
this.round = | ||
this.round === undefined ? this.defaultConfig.round : this.round; | ||
this.cornerRadius = | ||
this.cornerRadius === undefined | ||
? this.defaultConfig.cornerRadius | ||
: this.cornerRadius; | ||
this.preferGravatar = | ||
this.preferGravatar === undefined | ||
? this.defaultConfig.preferGravatar | ||
: this.preferGravatar; | ||
} | ||
@@ -166,2 +176,3 @@ /** | ||
* Compute the size of the avatar | ||
* | ||
* @return size | ||
@@ -187,2 +198,3 @@ */ | ||
* Compute style object | ||
* | ||
* @return style object | ||
@@ -194,7 +206,17 @@ */ | ||
height: this.size + 'px', | ||
borderRadius: this.round ? this.defaultConfig.borderRadius : this.cornerRadius + 'px', | ||
borderStyle: this.defaultConfig.hasBorder || this.borderColor || this.borderWidth ? this.defaultConfig.borderStyle : 'none', | ||
borderColor: this.borderColor ? this.borderColor : this.defaultConfig.borderColor, | ||
borderWidth: this.borderWidth ? this.borderWidth + 'px' : this.defaultConfig.borderWidth + 'px', | ||
backgroundColor: this.backgroundColor ? this.backgroundColor : this.defaultConfig.backgroundColor | ||
borderRadius: this.round | ||
? this.defaultConfig.borderRadius | ||
: this.cornerRadius + 'px', | ||
borderStyle: this.defaultConfig.hasBorder || this.borderColor || this.borderWidth | ||
? this.defaultConfig.borderStyle | ||
: 'none', | ||
borderColor: this.borderColor | ||
? this.borderColor | ||
: this.defaultConfig.borderColor, | ||
borderWidth: this.borderWidth | ||
? this.borderWidth + 'px' | ||
: this.defaultConfig.borderWidth + 'px', | ||
backgroundColor: this.backgroundColor | ||
? this.backgroundColor | ||
: this.defaultConfig.backgroundColor, | ||
}; | ||
@@ -205,6 +227,7 @@ return Object.assign(Object.assign({}, style), this.style); | ||
* Set style for the avatar | ||
* | ||
* @param styles style object | ||
*/ | ||
setStyle(styles) { | ||
Object.keys(styles).forEach(key => { | ||
Object.keys(styles).forEach((key) => { | ||
this.renderer.setStyle(this.elementRef.nativeElement, key, styles[key]); | ||
@@ -216,3 +239,3 @@ }); | ||
{ type: Directive, args: [{ | ||
selector: '[ngx-gravatar], [ngxGravatar]' | ||
selector: '[ngx-gravatar], [ngxGravatar]', | ||
},] } | ||
@@ -249,5 +272,5 @@ ]; | ||
provide: GRAVATAR_CONFIG_TOKEN, | ||
useValue: gravatarConfig | ||
} | ||
] | ||
useValue: gravatarConfig, | ||
}, | ||
], | ||
}; | ||
@@ -259,3 +282,3 @@ } | ||
declarations: [NgxGravatarDirective], | ||
exports: [NgxGravatarDirective] | ||
exports: [NgxGravatarDirective], | ||
},] } | ||
@@ -262,0 +285,0 @@ ]; |
@@ -41,2 +41,3 @@ import { ElementRef, OnChanges, OnInit, Renderer2 } from '@angular/core'; | ||
* Compute the size of the avatar | ||
* | ||
* @return size | ||
@@ -47,2 +48,3 @@ */ | ||
* Compute style object | ||
* | ||
* @return style object | ||
@@ -53,2 +55,3 @@ */ | ||
* Set style for the avatar | ||
* | ||
* @param styles style object | ||
@@ -55,0 +58,0 @@ */ |
@@ -12,2 +12,3 @@ import { GravatarConfig } from './gravatar-config'; | ||
* Generate gravatar url | ||
* | ||
* @param email is a string. If email is not a string, email will be set to empty string "" by default | ||
@@ -14,0 +15,0 @@ * @param md5Hash is a string. If value is given it will take precedence over email. |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"GravatarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["gravatarConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"GravatarModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵb"},"useValue":{"__symbolic":"reference","name":"gravatarConfig"}}]}}}},"GravatarConfig":{"__symbolic":"interface"},"NgxGravatarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":12,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":12,"character":27},"arguments":[{"__symbolic":"reference","name":"ɵb"}]}]],"parameters":[{"__symbolic":"reference","name":"GravatarConfig"}]}],"getDefaultConfig":[{"__symbolic":"method"}],"generateGravatarUrl":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FALLBACK":{"blank":"blank","identicon":"identicon","mm":"mm","mp":"mp","monsterid":"monsterid","retro":"retro","robohash":"robohash","wavatar":"wavatar"},"RATING":{"g":"g","pg":"pg","r":"r","x":"x"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[ngx-gravatar], [ngxGravatar]"}]}],"members":{"src":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"email":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"md5Hash":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"rating":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"round":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"cornerRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"preferGravatar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"ratio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":34},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":28,"character":64},{"__symbolic":"reference","name":"NgxGravatarService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"setDefaultValues":[{"__symbolic":"method"}],"initializeAvatar":[{"__symbolic":"method"}],"computeSize":[{"__symbolic":"method"}],"avatarStyle":[{"__symbolic":"method"}],"setStyle":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":41},"arguments":["gravatarCustom.config"]}},"origins":{"GravatarModule":"./lib/gravatar.module","GravatarConfig":"./lib/gravatar-config","NgxGravatarService":"./lib/ngx-gravatar.service","FALLBACK":"./lib/ngx-gravatar.enums","RATING":"./lib/ngx-gravatar.enums","ɵa":"./lib/ngx-gravatar.directive","ɵb":"./lib/gravatar-config.token"},"importAs":"ngx-gravatar"} | ||
{"__symbolic":"module","version":4,"metadata":{"GravatarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["gravatarConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"GravatarModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵb"},"useValue":{"__symbolic":"reference","name":"gravatarConfig"}}]}}}},"GravatarConfig":{"__symbolic":"interface"},"NgxGravatarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":13,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":14,"character":5},"arguments":[{"__symbolic":"reference","name":"ɵb"}]}]],"parameters":[{"__symbolic":"reference","name":"GravatarConfig"}]}],"getDefaultConfig":[{"__symbolic":"method"}],"generateGravatarUrl":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FALLBACK":{"blank":"blank","identicon":"identicon","mm":"mm","mp":"mp","monsterid":"monsterid","retro":"retro","robohash":"robohash","wavatar":"wavatar"},"RATING":{"g":"g","pg":"pg","r":"r","x":"x"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":12,"character":1},"arguments":[{"selector":"[ngx-gravatar], [ngxGravatar]"}]}],"members":{"src":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"email":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"md5Hash":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"rating":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"round":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"cornerRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"preferGravatar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"ratio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":37,"character":24},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":38,"character":22},{"__symbolic":"reference","name":"NgxGravatarService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"setDefaultValues":[{"__symbolic":"method"}],"initializeAvatar":[{"__symbolic":"method"}],"computeSize":[{"__symbolic":"method"}],"avatarStyle":[{"__symbolic":"method"}],"setStyle":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":41},"arguments":["gravatarCustom.config"]}},"origins":{"GravatarModule":"./lib/gravatar.module","GravatarConfig":"./lib/gravatar-config","NgxGravatarService":"./lib/ngx-gravatar.service","FALLBACK":"./lib/ngx-gravatar.enums","RATING":"./lib/ngx-gravatar.enums","ɵa":"./lib/ngx-gravatar.directive","ɵb":"./lib/gravatar-config.token"},"importAs":"ngx-gravatar"} |
{ | ||
"name": "ngx-gravatar", | ||
"description": "A customizable Gravatar for Angular applications.", | ||
"version": "10.0.0", | ||
"version": "11.0.0", | ||
"repository": { | ||
@@ -14,4 +14,4 @@ "type": "git", | ||
"peerDependencies": { | ||
"@angular/core": ">=10.0.0", | ||
"@angular/common": ">=10.0.0" | ||
"@angular/core": ">=11.0.0", | ||
"@angular/common": ">=11.0.0" | ||
}, | ||
@@ -43,2 +43,2 @@ "dependencies": { | ||
"sideEffects": false | ||
} | ||
} |
@@ -41,10 +41,11 @@ [![npm version](https://img.shields.io/npm/v/ngx-gravatar)](https://www.npmjs.com/package/ngx-gravatar) | ||
| Angular | Installation command | | ||
| ------------- | --------------------------------- | | ||
| Angular 10 | `npm i --save ngx-gravatar` | | ||
| Angular 9 | `npm i --save ngx-gravatar@9.1.0` | | ||
| Angular 8 | `npm i --save ngx-gravatar@8.1.0` | | ||
| Angular 6 & 7 | `npm i --save ngx-gravatar@7.2.2` | | ||
| Angular 4 & 5 | `npm i --save ngx-gravatar@3.0.5` | | ||
| Angular | Installation command | | ||
| ------------- | ---------------------------------- | | ||
| Angular 11 | `npm i --save ngx-gravatar` | | ||
| Angular 10 | `npm i --save ngx-gravatar@10.0.0` | | ||
| Angular 9 | `npm i --save ngx-gravatar@9.1.0` | | ||
| Angular 8 | `npm i --save ngx-gravatar@8.1.0` | | ||
| Angular 6 & 7 | `npm i --save ngx-gravatar@7.2.2` | | ||
| Angular 4 & 5 | `npm i --save ngx-gravatar@3.0.5` | | ||
## See full documentation [here](https://tdev.app/ngx-gravatar) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
122804
1012
51
0