@abp/ng.account 5.0.1 → 5.0.2

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.
Files changed (76) hide show
  1. package/README.md +3 -3
  2. package/abp-ng.account.d.ts +5 -5
  3. package/bundles/abp-ng.account-config.umd.js +78 -78
  4. package/bundles/abp-ng.account-config.umd.js.map +1 -1
  5. package/bundles/abp-ng.account.umd.js +893 -893
  6. package/bundles/abp-ng.account.umd.js.map +1 -1
  7. package/config/abp-ng.account-config.d.ts +5 -5
  8. package/config/account-config.module.d.ts +8 -8
  9. package/config/enums/index.d.ts +1 -1
  10. package/config/enums/route-names.d.ts +8 -8
  11. package/config/providers/index.d.ts +1 -1
  12. package/config/providers/route.provider.d.ts +8 -8
  13. package/config/public-api.d.ts +3 -3
  14. package/config/utils/factories.d.ts +2 -2
  15. package/esm2015/abp-ng.account.js +4 -4
  16. package/esm2015/config/abp-ng.account-config.js +4 -4
  17. package/esm2015/config/account-config.module.js +27 -27
  18. package/esm2015/config/enums/index.js +2 -2
  19. package/esm2015/config/enums/route-names.js +2 -2
  20. package/esm2015/config/providers/index.js +2 -2
  21. package/esm2015/config/providers/route.provider.js +50 -50
  22. package/esm2015/config/public-api.js +4 -4
  23. package/esm2015/config/utils/factories.js +11 -11
  24. package/esm2015/lib/account-routing.module.js +89 -89
  25. package/esm2015/lib/account.module.js +85 -85
  26. package/esm2015/lib/components/change-password/change-password.component.js +90 -90
  27. package/esm2015/lib/components/forgot-password/forgot-password.component.js +46 -46
  28. package/esm2015/lib/components/index.js +8 -8
  29. package/esm2015/lib/components/login/login.component.js +68 -68
  30. package/esm2015/lib/components/manage-profile/manage-profile.component.js +50 -50
  31. package/esm2015/lib/components/personal-settings/personal-settings.component.js +59 -59
  32. package/esm2015/lib/components/register/register.component.js +87 -87
  33. package/esm2015/lib/components/reset-password/reset-password.component.js +71 -71
  34. package/esm2015/lib/enums/components.js +2 -2
  35. package/esm2015/lib/enums/index.js +2 -2
  36. package/esm2015/lib/guards/authentication-flow.guard.js +21 -21
  37. package/esm2015/lib/guards/index.js +2 -2
  38. package/esm2015/lib/models/account.js +3 -3
  39. package/esm2015/lib/models/config-options.js +2 -2
  40. package/esm2015/lib/models/index.js +3 -3
  41. package/esm2015/lib/services/index.js +2 -2
  42. package/esm2015/lib/services/manage-profile.state.service.js +27 -27
  43. package/esm2015/lib/tokens/config-options.token.js +3 -3
  44. package/esm2015/lib/tokens/index.js +2 -2
  45. package/esm2015/lib/utils/auth-utils.js +8 -8
  46. package/esm2015/lib/utils/factory-utils.js +4 -4
  47. package/esm2015/public-api.js +8 -8
  48. package/fesm2015/abp-ng.account-config.js +75 -75
  49. package/fesm2015/abp-ng.account-config.js.map +1 -1
  50. package/fesm2015/abp-ng.account.js +545 -545
  51. package/fesm2015/abp-ng.account.js.map +1 -1
  52. package/lib/account-routing.module.d.ts +7 -7
  53. package/lib/account.module.d.ts +22 -22
  54. package/lib/components/change-password/change-password.component.d.ts +24 -24
  55. package/lib/components/forgot-password/forgot-password.component.d.ts +14 -14
  56. package/lib/components/index.d.ts +7 -7
  57. package/lib/components/login/login.component.d.ts +24 -24
  58. package/lib/components/manage-profile/manage-profile.component.d.ts +18 -18
  59. package/lib/components/personal-settings/personal-settings.component.d.ts +21 -21
  60. package/lib/components/register/register.component.d.ts +26 -26
  61. package/lib/components/reset-password/reset-password.component.d.ts +22 -22
  62. package/lib/enums/components.d.ts +11 -11
  63. package/lib/enums/index.d.ts +1 -1
  64. package/lib/guards/authentication-flow.guard.d.ts +10 -10
  65. package/lib/guards/index.d.ts +1 -1
  66. package/lib/models/account.d.ts +14 -14
  67. package/lib/models/config-options.d.ts +3 -3
  68. package/lib/models/index.d.ts +2 -2
  69. package/lib/services/index.d.ts +1 -1
  70. package/lib/services/manage-profile.state.service.d.ts +29 -29
  71. package/lib/tokens/config-options.token.d.ts +3 -3
  72. package/lib/tokens/index.d.ts +1 -1
  73. package/lib/utils/auth-utils.d.ts +2 -2
  74. package/lib/utils/factory-utils.d.ts +4 -4
  75. package/package.json +4 -4
  76. package/public-api.d.ts +7 -7
@@ -1,26 +1,26 @@
1
- import { AccountService } from '@abp/ng.account.core/proxy';
2
- import { AuthService, ConfigStateService } from '@abp/ng.core';
3
- import { ToasterService } from '@abp/ng.theme.shared';
4
- import { Injector, OnInit } from '@angular/core';
5
- import { FormBuilder, FormGroup } from '@angular/forms';
6
- import { eAccountComponents } from '../../enums/components';
7
- import * as i0 from "@angular/core";
8
- export declare class RegisterComponent implements OnInit {
9
- protected fb: FormBuilder;
10
- protected accountService: AccountService;
11
- protected configState: ConfigStateService;
12
- protected toasterService: ToasterService;
13
- protected authService: AuthService;
14
- protected injector: Injector;
15
- form: FormGroup;
16
- inProgress: boolean;
17
- isSelfRegistrationEnabled: boolean;
18
- authWrapperKey: eAccountComponents;
19
- constructor(fb: FormBuilder, accountService: AccountService, configState: ConfigStateService, toasterService: ToasterService, authService: AuthService, injector: Injector);
20
- ngOnInit(): void;
21
- protected init(): void;
22
- protected buildForm(): void;
23
- onSubmit(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<RegisterComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<RegisterComponent, "abp-register", never, {}, {}, never, never>;
26
- }
1
+ import { AccountService } from '@abp/ng.account.core/proxy';
2
+ import { AuthService, ConfigStateService } from '@abp/ng.core';
3
+ import { ToasterService } from '@abp/ng.theme.shared';
4
+ import { Injector, OnInit } from '@angular/core';
5
+ import { FormBuilder, FormGroup } from '@angular/forms';
6
+ import { eAccountComponents } from '../../enums/components';
7
+ import * as i0 from "@angular/core";
8
+ export declare class RegisterComponent implements OnInit {
9
+ protected fb: FormBuilder;
10
+ protected accountService: AccountService;
11
+ protected configState: ConfigStateService;
12
+ protected toasterService: ToasterService;
13
+ protected authService: AuthService;
14
+ protected injector: Injector;
15
+ form: FormGroup;
16
+ inProgress: boolean;
17
+ isSelfRegistrationEnabled: boolean;
18
+ authWrapperKey: eAccountComponents;
19
+ constructor(fb: FormBuilder, accountService: AccountService, configState: ConfigStateService, toasterService: ToasterService, authService: AuthService, injector: Injector);
20
+ ngOnInit(): void;
21
+ protected init(): void;
22
+ protected buildForm(): void;
23
+ onSubmit(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegisterComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<RegisterComponent, "abp-register", never, {}, {}, never, never>;
26
+ }
@@ -1,22 +1,22 @@
1
- import { AccountService } from '@abp/ng.account.core/proxy';
2
- import { Injector, OnInit } from '@angular/core';
3
- import { FormBuilder, FormGroup } from '@angular/forms';
4
- import { ActivatedRoute, Router } from '@angular/router';
5
- import { Validation } from '@ngx-validate/core';
6
- import * as i0 from "@angular/core";
7
- export declare class ResetPasswordComponent implements OnInit {
8
- private fb;
9
- private accountService;
10
- private route;
11
- private router;
12
- private injector;
13
- form: FormGroup;
14
- inProgress: boolean;
15
- isPasswordReset: boolean;
16
- mapErrorsFn: Validation.MapErrorsFn;
17
- constructor(fb: FormBuilder, accountService: AccountService, route: ActivatedRoute, router: Router, injector: Injector);
18
- ngOnInit(): void;
19
- onSubmit(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "abp-reset-password", never, {}, {}, never, never>;
22
- }
1
+ import { AccountService } from '@abp/ng.account.core/proxy';
2
+ import { Injector, OnInit } from '@angular/core';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { Validation } from '@ngx-validate/core';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ResetPasswordComponent implements OnInit {
8
+ private fb;
9
+ private accountService;
10
+ private route;
11
+ private router;
12
+ private injector;
13
+ form: FormGroup;
14
+ inProgress: boolean;
15
+ isPasswordReset: boolean;
16
+ mapErrorsFn: Validation.MapErrorsFn;
17
+ constructor(fb: FormBuilder, accountService: AccountService, route: ActivatedRoute, router: Router, injector: Injector);
18
+ ngOnInit(): void;
19
+ onSubmit(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "abp-reset-password", never, {}, {}, never, never>;
22
+ }
@@ -1,11 +1,11 @@
1
- export declare const enum eAccountComponents {
2
- Login = "Account.LoginComponent",
3
- Register = "Account.RegisterComponent",
4
- ForgotPassword = "Account.ForgotPasswordComponent",
5
- ResetPassword = "Account.ResetPasswordComponent",
6
- ManageProfile = "Account.ManageProfileComponent",
7
- TenantBox = "Account.TenantBoxComponent",
8
- AuthWrapper = "Account.AuthWrapperComponent",
9
- ChangePassword = "Account.ChangePasswordComponent",
10
- PersonalSettings = "Account.PersonalSettingsComponent"
11
- }
1
+ export declare const enum eAccountComponents {
2
+ Login = "Account.LoginComponent",
3
+ Register = "Account.RegisterComponent",
4
+ ForgotPassword = "Account.ForgotPasswordComponent",
5
+ ResetPassword = "Account.ResetPasswordComponent",
6
+ ManageProfile = "Account.ManageProfileComponent",
7
+ TenantBox = "Account.TenantBoxComponent",
8
+ AuthWrapper = "Account.AuthWrapperComponent",
9
+ ChangePassword = "Account.ChangePasswordComponent",
10
+ PersonalSettings = "Account.PersonalSettingsComponent"
11
+ }
@@ -1 +1 @@
1
- export * from './components';
1
+ export * from './components';
@@ -1,10 +1,10 @@
1
- import { AuthService } from '@abp/ng.core';
2
- import { CanActivate } from '@angular/router';
3
- import * as i0 from "@angular/core";
4
- export declare class AuthenticationFlowGuard implements CanActivate {
5
- private authService;
6
- constructor(authService: AuthService);
7
- canActivate(): boolean;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationFlowGuard, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationFlowGuard>;
10
- }
1
+ import { AuthService } from '@abp/ng.core';
2
+ import { CanActivate } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AuthenticationFlowGuard implements CanActivate {
5
+ private authService;
6
+ constructor(authService: AuthService);
7
+ canActivate(): boolean;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationFlowGuard, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationFlowGuard>;
10
+ }
@@ -1 +1 @@
1
- export * from './authentication-flow.guard';
1
+ export * from './authentication-flow.guard';
@@ -1,14 +1,14 @@
1
- export declare namespace Account {
2
- interface TenantBoxComponentInputs {
3
- }
4
- interface TenantBoxComponentOutputs {
5
- }
6
- interface PersonalSettingsComponentInputs {
7
- }
8
- interface PersonalSettingsComponentOutputs {
9
- }
10
- interface ChangePasswordComponentInputs {
11
- }
12
- interface ChangePasswordComponentOutputs {
13
- }
14
- }
1
+ export declare namespace Account {
2
+ interface TenantBoxComponentInputs {
3
+ }
4
+ interface TenantBoxComponentOutputs {
5
+ }
6
+ interface PersonalSettingsComponentInputs {
7
+ }
8
+ interface PersonalSettingsComponentOutputs {
9
+ }
10
+ interface ChangePasswordComponentInputs {
11
+ }
12
+ interface ChangePasswordComponentOutputs {
13
+ }
14
+ }
@@ -1,3 +1,3 @@
1
- export interface AccountConfigOptions {
2
- redirectUrl?: string;
3
- }
1
+ export interface AccountConfigOptions {
2
+ redirectUrl?: string;
3
+ }
@@ -1,2 +1,2 @@
1
- export * from './account';
2
- export * from './config-options';
1
+ export * from './account';
2
+ export * from './config-options';
@@ -1 +1 @@
1
- export * from './manage-profile.state.service';
1
+ export * from './manage-profile.state.service';
@@ -1,29 +1,29 @@
1
- import { ProfileDto } from '@abp/ng.account.core/proxy';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export interface ManageProfileState {
5
- profile: ProfileDto;
6
- }
7
- export declare class ManageProfileStateService {
8
- private readonly store;
9
- get createOnUpdateStream(): <Slice>(selector: (state: {
10
- profile?: {
11
- userName?: string;
12
- email?: string;
13
- name?: string;
14
- surname?: string;
15
- phoneNumber?: string;
16
- isExternal?: boolean;
17
- hasPassword?: boolean;
18
- concurrencyStamp?: string;
19
- extraProperties?: {
20
- [x: string]: any;
21
- };
22
- };
23
- }) => Slice, filterFn?: (x: Slice) => boolean) => Observable<Slice>;
24
- getProfile$(): Observable<ProfileDto>;
25
- getProfile(): ProfileDto;
26
- setProfile(profile: ProfileDto): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<ManageProfileStateService, never>;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<ManageProfileStateService>;
29
- }
1
+ import { ProfileDto } from '@abp/ng.account.core/proxy';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export interface ManageProfileState {
5
+ profile: ProfileDto;
6
+ }
7
+ export declare class ManageProfileStateService {
8
+ private readonly store;
9
+ get createOnUpdateStream(): <Slice>(selector: (state: {
10
+ profile?: {
11
+ userName?: string;
12
+ email?: string;
13
+ name?: string;
14
+ surname?: string;
15
+ phoneNumber?: string;
16
+ isExternal?: boolean;
17
+ hasPassword?: boolean;
18
+ concurrencyStamp?: string;
19
+ extraProperties?: {
20
+ [x: string]: any;
21
+ };
22
+ };
23
+ }) => Slice, filterFn?: (x: Slice) => boolean) => Observable<Slice>;
24
+ getProfile$(): Observable<ProfileDto>;
25
+ getProfile(): ProfileDto;
26
+ setProfile(profile: ProfileDto): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ManageProfileStateService, never>;
28
+ static ɵprov: i0.ɵɵInjectableDeclaration<ManageProfileStateService>;
29
+ }
@@ -1,3 +1,3 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { AccountConfigOptions } from '../models/config-options';
3
- export declare const ACCOUNT_CONFIG_OPTIONS: InjectionToken<AccountConfigOptions>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import { AccountConfigOptions } from '../models/config-options';
3
+ export declare const ACCOUNT_CONFIG_OPTIONS: InjectionToken<AccountConfigOptions>;
@@ -1 +1 @@
1
- export * from './config-options.token';
1
+ export * from './config-options.token';
@@ -1,2 +1,2 @@
1
- import { Injector } from '@angular/core';
2
- export declare function getRedirectUrl(injector: Injector): any;
1
+ import { Injector } from '@angular/core';
2
+ export declare function getRedirectUrl(injector: Injector): any;
@@ -1,4 +1,4 @@
1
- import { AccountConfigOptions } from '../models/config-options';
2
- export declare function accountConfigOptionsFactory(options: AccountConfigOptions): {
3
- redirectUrl: string;
4
- };
1
+ import { AccountConfigOptions } from '../models/config-options';
2
+ export declare function accountConfigOptionsFactory(options: AccountConfigOptions): {
3
+ redirectUrl: string;
4
+ };
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@abp/ng.account",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.account.core": "~5.0.1",
11
- "@abp/ng.theme.shared": "~5.0.1",
10
+ "@abp/ng.account.core": "~5.0.2",
11
+ "@abp/ng.theme.shared": "~5.0.2",
12
12
  "tslib": "^2.0.0"
13
13
  },
14
14
  "publishConfig": {
@@ -22,6 +22,6 @@
22
22
  "typings": "abp-ng.account.d.ts",
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
- "@abp/ng.core": "5.0.1"
25
+ "@abp/ng.core": "5.0.2"
26
26
  }
27
27
  }
package/public-api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export * from './lib/account.module';
2
- export * from './lib/components';
3
- export * from './lib/enums';
4
- export * from './lib/guards';
5
- export * from './lib/models';
6
- export * from './lib/services';
7
- export * from './lib/tokens';
1
+ export * from './lib/account.module';
2
+ export * from './lib/components';
3
+ export * from './lib/enums';
4
+ export * from './lib/guards';
5
+ export * from './lib/models';
6
+ export * from './lib/services';
7
+ export * from './lib/tokens';