Aw5739 Prepare migration to v15: Use suported version of ngx-avatar
This commit is contained in:
parent
b1922cdb10
commit
681d372ef3
34
package-lock.json
generated
34
package-lock.json
generated
@ -36,7 +36,7 @@
|
|||||||
"https-browserify": "^1.0.0",
|
"https-browserify": "^1.0.0",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"ngrx-store-localstorage": "^14",
|
"ngrx-store-localstorage": "^14",
|
||||||
"ngx-avatar": "^4.1.0",
|
"ngx-avatars": "1.4.0",
|
||||||
"ngx-clipboard": "^14.0.1",
|
"ngx-clipboard": "^14.0.1",
|
||||||
"ngx-image-cropper": "^3.3.5",
|
"ngx-image-cropper": "^3.3.5",
|
||||||
"ngx-openlayers": "file:dist/ngx-openlayers",
|
"ngx-openlayers": "file:dist/ngx-openlayers",
|
||||||
@ -86,7 +86,7 @@
|
|||||||
},
|
},
|
||||||
"dist/common": {
|
"dist/common": {
|
||||||
"name": "@farmmaps/common",
|
"name": "@farmmaps/common",
|
||||||
"version": "4.2.0-prerelease.2420",
|
"version": "2.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.3.0"
|
"tslib": "^2.3.0"
|
||||||
},
|
},
|
||||||
@ -102,7 +102,7 @@
|
|||||||
"angular-oauth2-oidc": ">=13.0.0",
|
"angular-oauth2-oidc": ">=13.0.0",
|
||||||
"bootstrap": ">=4.4.1",
|
"bootstrap": ">=4.4.1",
|
||||||
"moment": ">=2.27.0",
|
"moment": ">=2.27.0",
|
||||||
"ngx-avatar": ">=4.1.0",
|
"ngx-avatars": ">=1..0",
|
||||||
"ngx-clipboard": ">=14.0.1",
|
"ngx-clipboard": ">=14.0.1",
|
||||||
"ngx-image-cropper": ">=3.3.5",
|
"ngx-image-cropper": ">=3.3.5",
|
||||||
"ngx-uploadx": ">=5.1.0",
|
"ngx-uploadx": ">=5.1.0",
|
||||||
@ -11968,17 +11968,17 @@
|
|||||||
"@ngrx/store": "^14.0.0"
|
"@ngrx/store": "^14.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ngx-avatar": {
|
"node_modules/ngx-avatars": {
|
||||||
"version": "4.1.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/ngx-avatar/-/ngx-avatar-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/ngx-avatars/-/ngx-avatars-1.4.0.tgz",
|
||||||
"integrity": "sha512-0cIaCYOeY7tNsr9Zdg7SmgVG3Yka5mQDvYboybjP4yF47o2XO/rvkRaY98N5wtRF8FL9+OzLXfHbrvYGDGEomQ==",
|
"integrity": "sha512-v4MT5BoNybpTNwmLO7RPJT2uDHMvE+aOfZH3AEOefq+p8yOjapTCHQm4bfE1YXg8paQpns6+nu14LqGcK4FDPA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ts-md5": "^1.2.4",
|
"ts-md5": "^1.2.11",
|
||||||
"tslib": "^2.0.0"
|
"tslib": "^2.4.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/common": "^11.1.0",
|
"@angular/common": "^14.0.0",
|
||||||
"@angular/core": "^11.1.0"
|
"@angular/core": "^14.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ngx-clipboard": {
|
"node_modules/ngx-clipboard": {
|
||||||
@ -25895,13 +25895,13 @@
|
|||||||
"tslib": "^2.3.0"
|
"tslib": "^2.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ngx-avatar": {
|
"ngx-avatars": {
|
||||||
"version": "4.1.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/ngx-avatar/-/ngx-avatar-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/ngx-avatars/-/ngx-avatars-1.4.0.tgz",
|
||||||
"integrity": "sha512-0cIaCYOeY7tNsr9Zdg7SmgVG3Yka5mQDvYboybjP4yF47o2XO/rvkRaY98N5wtRF8FL9+OzLXfHbrvYGDGEomQ==",
|
"integrity": "sha512-v4MT5BoNybpTNwmLO7RPJT2uDHMvE+aOfZH3AEOefq+p8yOjapTCHQm4bfE1YXg8paQpns6+nu14LqGcK4FDPA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"ts-md5": "^1.2.4",
|
"ts-md5": "^1.2.11",
|
||||||
"tslib": "^2.0.0"
|
"tslib": "^2.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ngx-clipboard": {
|
"ngx-clipboard": {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"https-browserify": "^1.0.0",
|
"https-browserify": "^1.0.0",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"ngrx-store-localstorage": "^14",
|
"ngrx-store-localstorage": "^14",
|
||||||
"ngx-avatar": "^4.1.0",
|
"ngx-avatars": "1.4.0",
|
||||||
"ngx-clipboard": "^14.0.1",
|
"ngx-clipboard": "^14.0.1",
|
||||||
"ngx-image-cropper": "^3.3.5",
|
"ngx-image-cropper": "^3.3.5",
|
||||||
"ngx-uploadx": "^5.2.0",
|
"ngx-uploadx": "^5.2.0",
|
||||||
|
2
projects/common/package-lock.json
generated
2
projects/common/package-lock.json
generated
@ -19,7 +19,7 @@
|
|||||||
"angular-oauth2-oidc": ">=13.0.0",
|
"angular-oauth2-oidc": ">=13.0.0",
|
||||||
"bootstrap": ">=4.4.1",
|
"bootstrap": ">=4.4.1",
|
||||||
"moment": ">=2.27.0",
|
"moment": ">=2.27.0",
|
||||||
"ngx-avatar": ">=4.1.0",
|
"ngx-avatars": ">=1.5.0",
|
||||||
"ngx-clipboard": ">=14.0.1",
|
"ngx-clipboard": ">=14.0.1",
|
||||||
"ngx-image-cropper": ">=3.3.5",
|
"ngx-image-cropper": ">=3.3.5",
|
||||||
"ngx-uploadx": ">=5.1.0",
|
"ngx-uploadx": ">=5.1.0",
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"ngx-uploadx": ">=5.1.0",
|
"ngx-uploadx": ">=5.1.0",
|
||||||
"angular-oauth2-oidc": ">=13.0.0",
|
"angular-oauth2-oidc": ">=13.0.0",
|
||||||
"moment": ">=2.27.0",
|
"moment": ">=2.27.0",
|
||||||
"ngx-avatar": ">=4.1.0",
|
"ngx-avatars": "1.4.0",
|
||||||
"ngx-image-cropper": ">=3.3.5",
|
"ngx-image-cropper": ">=3.3.5",
|
||||||
"ngx-clipboard": ">=14.0.1"
|
"ngx-clipboard": ">=14.0.1"
|
||||||
}
|
}
|
||||||
|
@ -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 { EditImageModalComponent } from './components/edit-image-modal/edit-image-modal.component';
|
||||||
import { AvatarComponent } from './components/avatar/avatar.component';
|
import { AvatarComponent } from './components/avatar/avatar.component';
|
||||||
import { ItemLinkComponent } from './components/item-link/item-link.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';
|
import { ImageCropperModule } from 'ngx-image-cropper';
|
||||||
|
|
||||||
export const FM_COMMON_STARTPAGE = new InjectionToken<string>('fm-common-startpage');
|
export const FM_COMMON_STARTPAGE = new InjectionToken<string>('fm-common-startpage');
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<span class="avatar-container" [title]="name">
|
<span class="avatar-container" [title]="name">
|
||||||
<ngx-avatar
|
<ngx-avatars
|
||||||
class="farmmaps-avatar"
|
class="farmmaps-avatar"
|
||||||
[src]="src"
|
[src]="src"
|
||||||
[name]="name"
|
[name]="name"
|
||||||
[size]="size"
|
[size]="size"
|
||||||
[round]='true'
|
[round]='true'
|
||||||
>
|
>
|
||||||
</ngx-avatar>
|
</ngx-avatars>
|
||||||
</span>
|
</span>
|
Loading…
Reference in New Issue
Block a user