@abp/ng.account 5.0.0-rc.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 (73) hide show
  1. package/abp-ng.account.d.ts +5 -5
  2. package/bundles/abp-ng.account-config.umd.js +78 -78
  3. package/bundles/abp-ng.account.umd.js +893 -893
  4. package/bundles/abp-ng.account.umd.js.map +1 -1
  5. package/config/abp-ng.account-config.d.ts +5 -5
  6. package/config/account-config.module.d.ts +8 -8
  7. package/config/enums/index.d.ts +1 -1
  8. package/config/enums/route-names.d.ts +8 -8
  9. package/config/providers/index.d.ts +1 -1
  10. package/config/providers/route.provider.d.ts +8 -8
  11. package/config/public-api.d.ts +3 -3
  12. package/config/utils/factories.d.ts +2 -2
  13. package/esm2015/abp-ng.account.js +4 -4
  14. package/esm2015/config/abp-ng.account-config.js +4 -4
  15. package/esm2015/config/account-config.module.js +26 -26
  16. package/esm2015/config/enums/index.js +1 -1
  17. package/esm2015/config/enums/route-names.js +1 -1
  18. package/esm2015/config/providers/index.js +1 -1
  19. package/esm2015/config/providers/route.provider.js +49 -49
  20. package/esm2015/config/public-api.js +3 -3
  21. package/esm2015/config/utils/factories.js +10 -10
  22. package/esm2015/lib/account-routing.module.js +89 -89
  23. package/esm2015/lib/account.module.js +84 -84
  24. package/esm2015/lib/components/change-password/change-password.component.js +89 -89
  25. package/esm2015/lib/components/forgot-password/forgot-password.component.js +45 -45
  26. package/esm2015/lib/components/index.js +7 -7
  27. package/esm2015/lib/components/login/login.component.js +67 -67
  28. package/esm2015/lib/components/manage-profile/manage-profile.component.js +45 -45
  29. package/esm2015/lib/components/personal-settings/personal-settings.component.js +58 -58
  30. package/esm2015/lib/components/register/register.component.js +86 -86
  31. package/esm2015/lib/components/reset-password/reset-password.component.js +70 -70
  32. package/esm2015/lib/enums/components.js +1 -1
  33. package/esm2015/lib/enums/index.js +1 -1
  34. package/esm2015/lib/guards/authentication-flow.guard.js +20 -20
  35. package/esm2015/lib/guards/index.js +1 -1
  36. package/esm2015/lib/models/account.js +2 -2
  37. package/esm2015/lib/models/config-options.js +1 -1
  38. package/esm2015/lib/models/index.js +2 -2
  39. package/esm2015/lib/services/index.js +1 -1
  40. package/esm2015/lib/services/manage-profile.state.service.js +26 -26
  41. package/esm2015/lib/tokens/config-options.token.js +2 -2
  42. package/esm2015/lib/tokens/index.js +1 -1
  43. package/esm2015/lib/utils/auth-utils.js +7 -7
  44. package/esm2015/lib/utils/factory-utils.js +3 -3
  45. package/esm2015/public-api.js +7 -7
  46. package/fesm2015/abp-ng.account-config.js +75 -75
  47. package/fesm2015/abp-ng.account.js +542 -542
  48. package/fesm2015/abp-ng.account.js.map +1 -1
  49. package/lib/account-routing.module.d.ts +7 -7
  50. package/lib/account.module.d.ts +22 -22
  51. package/lib/components/change-password/change-password.component.d.ts +24 -24
  52. package/lib/components/forgot-password/forgot-password.component.d.ts +14 -14
  53. package/lib/components/index.d.ts +7 -7
  54. package/lib/components/login/login.component.d.ts +24 -24
  55. package/lib/components/manage-profile/manage-profile.component.d.ts +18 -18
  56. package/lib/components/personal-settings/personal-settings.component.d.ts +21 -21
  57. package/lib/components/register/register.component.d.ts +26 -26
  58. package/lib/components/reset-password/reset-password.component.d.ts +22 -22
  59. package/lib/enums/components.d.ts +11 -11
  60. package/lib/enums/index.d.ts +1 -1
  61. package/lib/guards/authentication-flow.guard.d.ts +10 -10
  62. package/lib/guards/index.d.ts +1 -1
  63. package/lib/models/account.d.ts +14 -14
  64. package/lib/models/config-options.d.ts +3 -3
  65. package/lib/models/index.d.ts +2 -2
  66. package/lib/services/index.d.ts +1 -1
  67. package/lib/services/manage-profile.state.service.d.ts +29 -29
  68. package/lib/tokens/config-options.token.d.ts +3 -3
  69. package/lib/tokens/index.d.ts +1 -1
  70. package/lib/utils/auth-utils.d.ts +2 -2
  71. package/lib/utils/factory-utils.d.ts +4 -4
  72. package/package.json +4 -4
  73. package/public-api.d.ts +7 -7
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@abp/ng.account" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@abp/ng.account" />
5
+ export * from './public-api';
@@ -24,90 +24,90 @@
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
 
27
- var ACCOUNT_ROUTE_PROVIDERS = [
28
- { provide: i0.APP_INITIALIZER, useFactory: configureRoutes, deps: [ng_core.RoutesService], multi: true },
29
- ];
30
- function configureRoutes(routes) {
31
- return function () {
32
- routes.add([
33
- {
34
- path: undefined,
35
- name: "AbpAccount::Menu:Account" /* Account */,
36
- invisible: true,
37
- layout: "account" /* account */,
38
- order: 1,
39
- },
40
- {
41
- path: '/account/login',
42
- name: "AbpAccount::Login" /* Login */,
43
- parentName: "AbpAccount::Menu:Account" /* Account */,
44
- order: 1,
45
- },
46
- {
47
- path: '/account/register',
48
- name: "AbpAccount::Register" /* Register */,
49
- parentName: "AbpAccount::Menu:Account" /* Account */,
50
- order: 2,
51
- },
52
- {
53
- path: '/account/manage',
54
- name: "AbpAccount::MyAccount" /* ManageProfile */,
55
- parentName: "AbpAccount::Menu:Account" /* Account */,
56
- layout: "application" /* application */,
57
- order: 3,
58
- },
59
- {
60
- path: '/account/forgot-password',
61
- parentName: "AbpAccount::Menu:Account" /* Account */,
62
- name: "AbpAccount::ForgotPassword" /* ForgotPassword */,
63
- invisible: true,
64
- },
65
- {
66
- path: '/account/reset-password',
67
- parentName: "AbpAccount::Menu:Account" /* Account */,
68
- name: "AbpAccount::ResetPassword" /* ResetPassword */,
69
- invisible: true,
70
- },
71
- ]);
72
- };
27
+ var ACCOUNT_ROUTE_PROVIDERS = [
28
+ { provide: i0.APP_INITIALIZER, useFactory: configureRoutes, deps: [ng_core.RoutesService], multi: true },
29
+ ];
30
+ function configureRoutes(routes) {
31
+ return function () {
32
+ routes.add([
33
+ {
34
+ path: undefined,
35
+ name: "AbpAccount::Menu:Account" /* Account */,
36
+ invisible: true,
37
+ layout: "account" /* account */,
38
+ order: 1,
39
+ },
40
+ {
41
+ path: '/account/login',
42
+ name: "AbpAccount::Login" /* Login */,
43
+ parentName: "AbpAccount::Menu:Account" /* Account */,
44
+ order: 1,
45
+ },
46
+ {
47
+ path: '/account/register',
48
+ name: "AbpAccount::Register" /* Register */,
49
+ parentName: "AbpAccount::Menu:Account" /* Account */,
50
+ order: 2,
51
+ },
52
+ {
53
+ path: '/account/manage',
54
+ name: "AbpAccount::MyAccount" /* ManageProfile */,
55
+ parentName: "AbpAccount::Menu:Account" /* Account */,
56
+ layout: "application" /* application */,
57
+ order: 3,
58
+ },
59
+ {
60
+ path: '/account/forgot-password',
61
+ parentName: "AbpAccount::Menu:Account" /* Account */,
62
+ name: "AbpAccount::ForgotPassword" /* ForgotPassword */,
63
+ invisible: true,
64
+ },
65
+ {
66
+ path: '/account/reset-password',
67
+ parentName: "AbpAccount::Menu:Account" /* Account */,
68
+ name: "AbpAccount::ResetPassword" /* ResetPassword */,
69
+ invisible: true,
70
+ },
71
+ ]);
72
+ };
73
73
  }
74
74
 
75
- function navigateToManageProfileFactory(injector) {
76
- return function () {
77
- var router$1 = injector.get(router.Router);
78
- var routes = injector.get(ng_core.RoutesService);
79
- var path = routes.find(function (item) { return item.name === "AbpAccount::MyAccount"; } /* ManageProfile */).path;
80
- router$1.navigateByUrl(path);
81
- };
75
+ function navigateToManageProfileFactory(injector) {
76
+ return function () {
77
+ var router$1 = injector.get(router.Router);
78
+ var routes = injector.get(ng_core.RoutesService);
79
+ var path = routes.find(function (item) { return item.name === "AbpAccount::MyAccount"; } /* ManageProfile */).path;
80
+ router$1.navigateByUrl(path);
81
+ };
82
82
  }
83
83
 
84
- var AccountConfigModule = /** @class */ (function () {
85
- function AccountConfigModule() {
86
- }
87
- AccountConfigModule.forRoot = function () {
88
- return {
89
- ngModule: AccountConfigModule,
90
- providers: [
91
- ACCOUNT_ROUTE_PROVIDERS,
92
- {
93
- provide: ng_core.NAVIGATE_TO_MANAGE_PROFILE,
94
- useFactory: navigateToManageProfileFactory,
95
- deps: [i0.Injector],
96
- },
97
- ],
98
- };
99
- };
100
- return AccountConfigModule;
101
- }());
102
- AccountConfigModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
103
- AccountConfigModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule });
104
- AccountConfigModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule });
105
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule, decorators: [{
106
- type: i0.NgModule
84
+ var AccountConfigModule = /** @class */ (function () {
85
+ function AccountConfigModule() {
86
+ }
87
+ AccountConfigModule.forRoot = function () {
88
+ return {
89
+ ngModule: AccountConfigModule,
90
+ providers: [
91
+ ACCOUNT_ROUTE_PROVIDERS,
92
+ {
93
+ provide: ng_core.NAVIGATE_TO_MANAGE_PROFILE,
94
+ useFactory: navigateToManageProfileFactory,
95
+ deps: [i0.Injector],
96
+ },
97
+ ],
98
+ };
99
+ };
100
+ return AccountConfigModule;
101
+ }());
102
+ AccountConfigModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
103
+ AccountConfigModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule });
104
+ AccountConfigModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule });
105
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountConfigModule, decorators: [{
106
+ type: i0.NgModule
107
107
  }] });
108
108
 
109
- /**
110
- * Generated bundle index. Do not edit.
109
+ /**
110
+ * Generated bundle index. Do not edit.
111
111
  */
112
112
 
113
113
  exports.ACCOUNT_ROUTE_PROVIDERS = ACCOUNT_ROUTE_PROVIDERS;