Aw5739 Prepare migration to v15: Use suported version of ngx-avatar

This commit is contained in:
Peter (extern) 2024-01-08 12:05:38 +01:00
parent b1922cdb10
commit 681d372ef3
6 changed files with 23 additions and 23 deletions

34
package-lock.json generated
View File

@ -36,7 +36,7 @@
"https-browserify": "^1.0.0",
"moment": "^2.29.4",
"ngrx-store-localstorage": "^14",
"ngx-avatar": "^4.1.0",
"ngx-avatars": "1.4.0",
"ngx-clipboard": "^14.0.1",
"ngx-image-cropper": "^3.3.5",
"ngx-openlayers": "file:dist/ngx-openlayers",
@ -86,7 +86,7 @@
},
"dist/common": {
"name": "@farmmaps/common",
"version": "4.2.0-prerelease.2420",
"version": "2.0.0",
"dependencies": {
"tslib": "^2.3.0"
},
@ -102,7 +102,7 @@
"angular-oauth2-oidc": ">=13.0.0",
"bootstrap": ">=4.4.1",
"moment": ">=2.27.0",
"ngx-avatar": ">=4.1.0",
"ngx-avatars": ">=1..0",
"ngx-clipboard": ">=14.0.1",
"ngx-image-cropper": ">=3.3.5",
"ngx-uploadx": ">=5.1.0",
@ -11968,17 +11968,17 @@
"@ngrx/store": "^14.0.0"
}
},
"node_modules/ngx-avatar": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/ngx-avatar/-/ngx-avatar-4.1.0.tgz",
"integrity": "sha512-0cIaCYOeY7tNsr9Zdg7SmgVG3Yka5mQDvYboybjP4yF47o2XO/rvkRaY98N5wtRF8FL9+OzLXfHbrvYGDGEomQ==",
"node_modules/ngx-avatars": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/ngx-avatars/-/ngx-avatars-1.4.0.tgz",
"integrity": "sha512-v4MT5BoNybpTNwmLO7RPJT2uDHMvE+aOfZH3AEOefq+p8yOjapTCHQm4bfE1YXg8paQpns6+nu14LqGcK4FDPA==",
"dependencies": {
"ts-md5": "^1.2.4",
"tslib": "^2.0.0"
"ts-md5": "^1.2.11",
"tslib": "^2.4.0"
},
"peerDependencies": {
"@angular/common": "^11.1.0",
"@angular/core": "^11.1.0"
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0"
}
},
"node_modules/ngx-clipboard": {
@ -25895,13 +25895,13 @@
"tslib": "^2.3.0"
}
},
"ngx-avatar": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/ngx-avatar/-/ngx-avatar-4.1.0.tgz",
"integrity": "sha512-0cIaCYOeY7tNsr9Zdg7SmgVG3Yka5mQDvYboybjP4yF47o2XO/rvkRaY98N5wtRF8FL9+OzLXfHbrvYGDGEomQ==",
"ngx-avatars": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/ngx-avatars/-/ngx-avatars-1.4.0.tgz",
"integrity": "sha512-v4MT5BoNybpTNwmLO7RPJT2uDHMvE+aOfZH3AEOefq+p8yOjapTCHQm4bfE1YXg8paQpns6+nu14LqGcK4FDPA==",
"requires": {
"ts-md5": "^1.2.4",
"tslib": "^2.0.0"
"ts-md5": "^1.2.11",
"tslib": "^2.4.0"
}
},
"ngx-clipboard": {

View File

@ -40,7 +40,7 @@
"https-browserify": "^1.0.0",
"moment": "^2.29.4",
"ngrx-store-localstorage": "^14",
"ngx-avatar": "^4.1.0",
"ngx-avatars": "1.4.0",
"ngx-clipboard": "^14.0.1",
"ngx-image-cropper": "^3.3.5",
"ngx-uploadx": "^5.2.0",

View File

@ -19,7 +19,7 @@
"angular-oauth2-oidc": ">=13.0.0",
"bootstrap": ">=4.4.1",
"moment": ">=2.27.0",
"ngx-avatar": ">=4.1.0",
"ngx-avatars": ">=1.5.0",
"ngx-clipboard": ">=14.0.1",
"ngx-image-cropper": ">=3.3.5",
"ngx-uploadx": ">=5.1.0",

View File

@ -18,7 +18,7 @@
"ngx-uploadx": ">=5.1.0",
"angular-oauth2-oidc": ">=13.0.0",
"moment": ">=2.27.0",
"ngx-avatar": ">=4.1.0",
"ngx-avatars": "1.4.0",
"ngx-image-cropper": ">=3.3.5",
"ngx-clipboard": ">=14.0.1"
}

View File

@ -68,7 +68,7 @@ import { BackButtonComponent } from './components/back-button/back-button.compon
import { EditImageModalComponent } from './components/edit-image-modal/edit-image-modal.component';
import { AvatarComponent } from './components/avatar/avatar.component';
import { ItemLinkComponent } from './components/item-link/item-link.component';
import { AvatarModule } from 'ngx-avatar';
import { AvatarModule } from 'ngx-avatars';
import { ImageCropperModule } from 'ngx-image-cropper';
export const FM_COMMON_STARTPAGE = new InjectionToken<string>('fm-common-startpage');

View File

@ -1,10 +1,10 @@
<span class="avatar-container" [title]="name">
<ngx-avatar
<ngx-avatars
class="farmmaps-avatar"
[src]="src"
[name]="name"
[size]="size"
[round]='true'
>
</ngx-avatar>
</ngx-avatars>
</span>