@posiwise/user-module 0.0.151 → 0.0.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1866,7 +1866,12 @@ class UserSubscriptionListComponent extends AppBaseComponent {
1866
1866
  });
1867
1867
  }
1868
1868
  showModalForAccountDeletion() {
1869
- this.confirmDialog.confirmDelete().then(ok => {
1869
+ this.confirmDialog
1870
+ .confirmDelete({
1871
+ textKey: 'Common.Confirm.Delete.TextSimple',
1872
+ textParams: { entityType: 'account' }
1873
+ })
1874
+ .then(ok => {
1870
1875
  if (ok) {
1871
1876
  this.passwordValidationModalForAccountDelete.open();
1872
1877
  }
@@ -2995,6 +3000,18 @@ class EditSocialLinksComponent extends AppBaseComponent {
2995
3000
  this.links = {};
2996
3001
  this.saveEvent = new EventEmitter();
2997
3002
  this.buttonBusy = false;
3003
+ this.socialNetworks = [
3004
+ { key: 'linkedin', labelKey: 'User.Profile.SocialLinks.Label.LinkedIn', icon: 'linkedin', placeholder: 'https://linkedin.com/in/nickname' },
3005
+ { key: 'twitter', labelKey: 'User.Profile.SocialLinks.Label.Twitter', icon: 'twitter', placeholder: 'https://twitter.com/nickname' },
3006
+ { key: 'facebook', labelKey: 'User.Profile.SocialLinks.Label.Facebook', icon: 'facebook', placeholder: 'https://www.facebook.com/nickname' },
3007
+ { key: 'youtube', labelKey: 'User.Profile.SocialLinks.Label.YouTube', icon: 'youtube', placeholder: 'https://www.youtube.com/nickname' },
3008
+ { key: 'instagram', labelKey: 'User.Profile.SocialLinks.Label.Instagram', icon: 'instagram', placeholder: 'https://www.instagram.com/nickname' },
3009
+ { key: 'skype', labelKey: 'User.Profile.SocialLinks.Label.Skype', icon: 'skype', placeholder: 'https://www.skype.com/nickname' },
3010
+ { key: 'github', labelKey: 'User.Profile.SocialLinks.Label.Github', icon: 'github', placeholder: 'https://github.com/nickname' },
3011
+ { key: 'gitlab', labelKey: 'User.Profile.SocialLinks.Label.Gitlab', icon: 'gitlab', placeholder: 'https://gitlab.com/nickname' },
3012
+ { key: 'bitbucket', labelKey: 'User.Profile.SocialLinks.Label.Bitbucket', icon: 'bitbucket', placeholder: 'https://bitbucket.org/nickname' },
3013
+ { key: 'stackoverflow', labelKey: 'User.Profile.SocialLinks.Label.Stackoverflow', icon: 'stackoverflow', placeholder: 'http://stackoverflow.com/users/nickname' }
3014
+ ];
2998
3015
  this.form = this.fb.group({
2999
3016
  user_id: 0,
3000
3017
  youtube: ['', this.urlValidator('youtube')],